bt-core-app 2.1.20 → 2.1.22
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/index.d.ts +11 -23
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -59,12 +59,15 @@ declare interface Adjustment {
|
|
|
59
59
|
leadRightDate?: string;
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
export declare interface AForm {
|
|
62
|
+
export declare interface AForm extends AFormBase {
|
|
63
|
+
slides: AFormSlide[];
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
declare interface AFormBase {
|
|
63
67
|
bgColor?: string;
|
|
64
68
|
bgSrc?: string;
|
|
65
69
|
ctlColor?: string;
|
|
66
70
|
logoSrc?: string;
|
|
67
|
-
slides: AFormSlide[];
|
|
68
71
|
textColor?: string;
|
|
69
72
|
theme?: 'light' | 'dark';
|
|
70
73
|
title?: string;
|
|
@@ -100,8 +103,11 @@ export declare interface AFormRequirements {
|
|
|
100
103
|
props: string[];
|
|
101
104
|
}
|
|
102
105
|
|
|
103
|
-
export declare interface AFormSlide {
|
|
106
|
+
export declare interface AFormSlide extends AFormSlideBase {
|
|
104
107
|
fields: AFormField[];
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
declare interface AFormSlideBase {
|
|
105
111
|
canDelete?: boolean;
|
|
106
112
|
canEdit?: boolean;
|
|
107
113
|
name: string;
|
|
@@ -600,29 +606,11 @@ export declare function createAField(fieldType: FieldType, furtherProps?: AFormF
|
|
|
600
606
|
icon?: string | undefined;
|
|
601
607
|
};
|
|
602
608
|
|
|
603
|
-
export declare function createAForm(slides: AFormSlide[], furtherProps?:
|
|
604
|
-
slides: AFormSlide[];
|
|
605
|
-
bgColor?: string | undefined;
|
|
606
|
-
bgSrc?: string | undefined;
|
|
607
|
-
ctlColor?: string | undefined;
|
|
608
|
-
logoSrc?: string | undefined;
|
|
609
|
-
textColor?: string | undefined;
|
|
610
|
-
theme?: "dark" | "light" | undefined;
|
|
611
|
-
title?: string | undefined;
|
|
612
|
-
useBgSrc?: boolean | undefined;
|
|
613
|
-
useLogoSrc?: boolean | undefined;
|
|
614
|
-
variant?: AFormVariant | undefined;
|
|
615
|
-
version?: number | undefined;
|
|
616
|
-
};
|
|
609
|
+
export declare function createAForm(slides: AFormSlide[], furtherProps?: AFormBase): AForm;
|
|
617
610
|
|
|
618
611
|
export declare function createApi(options?: UseApiOptions): BTApi;
|
|
619
612
|
|
|
620
|
-
export declare function createASlide(fields: AFormField[], furtherProps
|
|
621
|
-
fields: AFormField[];
|
|
622
|
-
canDelete?: boolean | undefined;
|
|
623
|
-
canEdit?: boolean | undefined;
|
|
624
|
-
name?: string | undefined;
|
|
625
|
-
};
|
|
613
|
+
export declare function createASlide(fields: AFormField[], furtherProps: AFormSlideBase): AFormSlide;
|
|
626
614
|
|
|
627
615
|
export declare function createAssistant(options?: CreateAssistantOptions): BTAssistant;
|
|
628
616
|
|
package/package.json
CHANGED