builder-settings-types 0.0.451 → 0.0.453
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/base/settings.d.ts +9 -1
- package/dist/builder-settings-types.cjs.js +130 -130
- package/dist/builder-settings-types.es.js +6892 -6846
- package/dist/groups/shadowSettingsSet.d.ts +25 -0
- package/dist/index.d.ts +1 -0
- package/dist/services/ExcelRulesService.d.ts +3 -3
- package/package.json +1 -1
package/dist/base/settings.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ export interface SettingProps<T> {
|
|
|
12
12
|
description?: string;
|
|
13
13
|
}
|
|
14
14
|
export type Primitive = string | number | boolean | symbol | bigint | null | undefined;
|
|
15
|
-
export type InputTypes =
|
|
15
|
+
export type InputTypes = 'number' | 'text' | 'select' | 'color' | 'date' | 'button';
|
|
16
16
|
export type InputProps = {
|
|
17
17
|
iconClassName?: string;
|
|
18
18
|
labelClassName?: string;
|
|
@@ -25,6 +25,10 @@ export type InputProps = {
|
|
|
25
25
|
wrapperClassName?: string;
|
|
26
26
|
placeholder?: string;
|
|
27
27
|
};
|
|
28
|
+
export type FontItem = {
|
|
29
|
+
fontName: string;
|
|
30
|
+
fontUrl: string;
|
|
31
|
+
};
|
|
28
32
|
export declare abstract class Setting<T, P extends SettingProps<T>> implements IDrawable, IChangable<T> {
|
|
29
33
|
protected props: P;
|
|
30
34
|
static DefaultUploadUrl: string;
|
|
@@ -33,7 +37,11 @@ export declare abstract class Setting<T, P extends SettingProps<T>> implements I
|
|
|
33
37
|
private static currentLanguageExplicitlySet;
|
|
34
38
|
private static languageChangeCallbacks;
|
|
35
39
|
static GlobalVariables: any;
|
|
40
|
+
static Fonts: FontItem[];
|
|
41
|
+
static authToken: string;
|
|
36
42
|
static SetUploadUrl(url: string): void;
|
|
43
|
+
static setAuthorizationToken(token: string): void;
|
|
44
|
+
static LoadFonts(fontsStorageUrl: string): Promise<FontItem[]>;
|
|
37
45
|
static SetDefaultLanguage(lng: string): void;
|
|
38
46
|
static CurrentLanguage(lang?: string): string;
|
|
39
47
|
static HasExplicitCurrentLanguage(): boolean;
|