Bundled output for commit a36e400532

Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
This commit is contained in:
flarum-bot 2021-10-30 23:18:37 +00:00
parent a36e400532
commit ca575acfbd
3 changed files with 12 additions and 5 deletions

View File

@ -39,6 +39,7 @@ export interface HTMLInputSettingsComponentOptions extends CommonSettingsItemOpt
}
declare const BooleanSettingTypes: readonly ["bool", "checkbox", "switch", "boolean"];
declare const SelectSettingTypes: readonly ["select", "dropdown", "selectdropdown"];
declare const TextareaSettingTypes: readonly ["textarea"];
/**
* Valid options for the setting component builder to generate a Switch.
*/
@ -58,10 +59,16 @@ export interface SelectSettingComponentOptions extends CommonSettingsItemOptions
};
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.
*/
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
*/

6
framework/core/js/dist/admin.js generated vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long