mirror of
https://github.com/flarum/core.git
synced 2025-08-04 23:47:32 +02:00
Bundled output for commit 1e595e752a
Includes transpiled JS/TS, and Typescript declaration files (typings). [skip ci]
This commit is contained in:
@@ -39,6 +39,7 @@ export interface HTMLInputSettingsComponentOptions extends CommonSettingsItemOpt
|
|||||||
}
|
}
|
||||||
declare const BooleanSettingTypes: readonly ["bool", "checkbox", "switch", "boolean"];
|
declare const BooleanSettingTypes: readonly ["bool", "checkbox", "switch", "boolean"];
|
||||||
declare const SelectSettingTypes: readonly ["select", "dropdown", "selectdropdown"];
|
declare const SelectSettingTypes: readonly ["select", "dropdown", "selectdropdown"];
|
||||||
|
declare const TextareaSettingTypes: readonly ["textarea"];
|
||||||
/**
|
/**
|
||||||
* Valid options for the setting component builder to generate a Switch.
|
* Valid options for the setting component builder to generate a Switch.
|
||||||
*/
|
*/
|
||||||
@@ -58,10 +59,16 @@ export interface SelectSettingComponentOptions extends CommonSettingsItemOptions
|
|||||||
};
|
};
|
||||||
default: string;
|
default: string;
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* Valid options for the setting component builder to generate a Textarea.
|
||||||
|
*/
|
||||||
|
export interface TextareaSettingComponentOptions extends CommonSettingsItemOptions {
|
||||||
|
type: typeof TextareaSettingTypes[number];
|
||||||
|
}
|
||||||
/**
|
/**
|
||||||
* All valid options for the setting component builder.
|
* All valid options for the setting component builder.
|
||||||
*/
|
*/
|
||||||
export declare type SettingsComponentOptions = HTMLInputSettingsComponentOptions | SwitchSettingComponentOptions | SelectSettingComponentOptions;
|
export declare type SettingsComponentOptions = HTMLInputSettingsComponentOptions | SwitchSettingComponentOptions | SelectSettingComponentOptions | TextareaSettingComponentOptions;
|
||||||
/**
|
/**
|
||||||
* Valid attrs that can be returned by the `headerInfo` function
|
* Valid attrs that can be returned by the `headerInfo` function
|
||||||
*/
|
*/
|
||||||
|
6
js/dist/admin.js
generated
vendored
6
js/dist/admin.js
generated
vendored
File diff suppressed because one or more lines are too long
2
js/dist/admin.js.map
generated
vendored
2
js/dist/admin.js.map
generated
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user