mirror of
https://github.com/flarum/core.git
synced 2025-08-05 07:57:46 +02:00
Bundled output for commit 294878291c
Includes transpiled JS/TS, and Typescript declaration files (typings). [skip ci]
This commit is contained in:
6
extensions/flags/js/dist-typings/forum/components/FlagPostModal.d.ts
generated
vendored
6
extensions/flags/js/dist-typings/forum/components/FlagPostModal.d.ts
generated
vendored
@@ -1,15 +1,15 @@
|
|||||||
/// <reference types="flarum/@types/translator-icu-rich" />
|
/// <reference types="flarum/@types/translator-icu-rich" />
|
||||||
export default class FlagPostModal {
|
export default class FlagPostModal extends FormModal<import("flarum/common/components/FormModal").IFormModalAttrs, undefined> {
|
||||||
|
constructor();
|
||||||
oninit(vnode: any): void;
|
oninit(vnode: any): void;
|
||||||
success: boolean | undefined;
|
success: boolean | undefined;
|
||||||
reason: Stream<string> | undefined;
|
reason: Stream<string> | undefined;
|
||||||
reasonDetail: Stream<string> | undefined;
|
reasonDetail: Stream<string> | undefined;
|
||||||
className(): string;
|
|
||||||
title(): import("@askvortsov/rich-icu-message-formatter").NestedStringArray;
|
title(): import("@askvortsov/rich-icu-message-formatter").NestedStringArray;
|
||||||
content(): JSX.Element;
|
content(): JSX.Element;
|
||||||
flagReasons(): ItemList<any>;
|
flagReasons(): ItemList<any>;
|
||||||
onsubmit(e: any): void;
|
onsubmit(e: any): void;
|
||||||
loading: boolean | undefined;
|
|
||||||
}
|
}
|
||||||
|
import FormModal from "flarum/common/components/FormModal";
|
||||||
import Stream from "flarum/common/utils/Stream";
|
import Stream from "flarum/common/utils/Stream";
|
||||||
import ItemList from "flarum/common/utils/ItemList";
|
import ItemList from "flarum/common/utils/ItemList";
|
||||||
|
8
extensions/tags/js/dist-typings/common/components/TagSelectionModal.d.ts
generated
vendored
8
extensions/tags/js/dist-typings/common/components/TagSelectionModal.d.ts
generated
vendored
@@ -57,7 +57,7 @@ export default class TagSelectionModal<CustomAttrs extends ITagSelectionModalAtt
|
|||||||
static initAttrs(attrs: ITagSelectionModalAttrs): void;
|
static initAttrs(attrs: ITagSelectionModalAttrs): void;
|
||||||
oninit(vnode: Mithril.Vnode<CustomAttrs, this>): void;
|
oninit(vnode: Mithril.Vnode<CustomAttrs, this>): void;
|
||||||
className(): string;
|
className(): string;
|
||||||
title(): any;
|
title(): string | undefined;
|
||||||
content(): JSX.Element | JSX.Element[];
|
content(): JSX.Element | JSX.Element[];
|
||||||
/**
|
/**
|
||||||
* Filters the available tags on every state change.
|
* Filters the available tags on every state change.
|
||||||
@@ -93,8 +93,8 @@ export default class TagSelectionModal<CustomAttrs extends ITagSelectionModalAtt
|
|||||||
*/
|
*/
|
||||||
onsubmit(e: SubmitEvent): void;
|
onsubmit(e: SubmitEvent): void;
|
||||||
protected select(e: KeyboardEvent): void;
|
protected select(e: KeyboardEvent): void;
|
||||||
protected selectableItems(): any;
|
protected selectableItems(): JQuery<HTMLElement>;
|
||||||
protected getCurrentNumericIndex(): any;
|
protected getCurrentNumericIndex(): number;
|
||||||
protected getItem(selectedTag: Tag): any;
|
protected getItem(selectedTag: Tag): JQuery<HTMLElement>;
|
||||||
protected setIndex(index: number, scrollToItem: boolean): void;
|
protected setIndex(index: number, scrollToItem: boolean): void;
|
||||||
}
|
}
|
||||||
|
6
framework/core/js/dist-typings/admin/components/AdminPage.d.ts
generated
vendored
6
framework/core/js/dist-typings/admin/components/AdminPage.d.ts
generated
vendored
@@ -48,13 +48,13 @@ declare const ImageUploadSettingType: "image-upload";
|
|||||||
* Valid options for the setting component builder to generate a Switch.
|
* Valid options for the setting component builder to generate a Switch.
|
||||||
*/
|
*/
|
||||||
export interface SwitchSettingComponentOptions extends CommonSettingsItemOptions {
|
export interface SwitchSettingComponentOptions extends CommonSettingsItemOptions {
|
||||||
type: typeof BooleanSettingTypes[number];
|
type: (typeof BooleanSettingTypes)[number];
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Valid options for the setting component builder to generate a Select dropdown.
|
* Valid options for the setting component builder to generate a Select dropdown.
|
||||||
*/
|
*/
|
||||||
export interface SelectSettingComponentOptions extends CommonSettingsItemOptions {
|
export interface SelectSettingComponentOptions extends CommonSettingsItemOptions {
|
||||||
type: typeof SelectSettingTypes[number];
|
type: (typeof SelectSettingTypes)[number];
|
||||||
/**
|
/**
|
||||||
* Map of values to their labels
|
* Map of values to their labels
|
||||||
*/
|
*/
|
||||||
@@ -67,7 +67,7 @@ export interface SelectSettingComponentOptions extends CommonSettingsItemOptions
|
|||||||
* Valid options for the setting component builder to generate a Textarea.
|
* Valid options for the setting component builder to generate a Textarea.
|
||||||
*/
|
*/
|
||||||
export interface TextareaSettingComponentOptions extends CommonSettingsItemOptions {
|
export interface TextareaSettingComponentOptions extends CommonSettingsItemOptions {
|
||||||
type: typeof TextareaSettingTypes[number];
|
type: (typeof TextareaSettingTypes)[number];
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Valid options for the setting component builder to generate a ColorPreviewInput.
|
* Valid options for the setting component builder to generate a ColorPreviewInput.
|
||||||
|
Reference in New Issue
Block a user