@layers-app/shared 0.3.9 → 0.4.0
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/components/AnimatedFigurePage/AnimatedFigurePage.module.css.js +10 -10
- package/dist/components/AnimatedFigurePage/useParallax.d.ts +2 -2
- package/dist/components/AppContainer/AppContainer.module.css.js +1 -1
- package/dist/components/AppContainer/components/AppSidebarButton.d.ts +1 -4
- package/dist/components/AppContainer/components/AppSidebarButton.d.ts.map +1 -1
- package/dist/components/AppContainer/components/AppSidebarButton.js +15 -22
- package/dist/components/AppContainer/components/AppsSidebar/AppsSection.d.ts.map +1 -1
- package/dist/components/AppContainer/components/AppsSidebar/AppsSection.js +21 -22
- package/dist/components/AppContainer/components/AppsSidebar/UserSection.d.ts.map +1 -1
- package/dist/components/AppContainer/components/AppsSidebar/UserSection.js +91 -48
- package/dist/components/AppContainer/components/menus/HelpMenu/HelpMenu.module.css.js +1 -1
- package/dist/components/AppShell/AppShell.module.css.js +5 -5
- package/dist/components/AttachmentsGalleryModal/components/GallerySlide.d.ts +1 -3
- package/dist/components/AttachmentsGalleryModal/components/GallerySlide.d.ts.map +1 -1
- package/dist/components/AttachmentsGalleryModal/components/GallerySlide.js +63 -89
- package/dist/components/AttachmentsGalleryModal/components/ShakePlayer/ShakaPlayer.d.ts +1 -1
- package/dist/components/AttachmentsGalleryModal/components/ShakePlayer/ShakaPlayer.d.ts.map +1 -1
- package/dist/components/AttachmentsGalleryModal/components/ShakePlayer/ShakaPlayer.js +26 -35
- package/dist/components/AttachmentsGalleryModal/components/ShakePlayer/ShakaPlayer.module.css.js +4 -4
- package/dist/components/AttachmentsGalleryModal/components/ShakePlayer/useShakePlayer.d.ts +1 -1
- package/dist/components/AttachmentsGalleryModal/components/ShakePlayer/useShakePlayer.d.ts.map +1 -1
- package/dist/components/AttachmentsGalleryModal/components/ShakePlayer/useShakePlayer.js +36 -43
- package/dist/components/AttachmentsGalleryModal/hooks/useGetPreviewUrl.d.ts +0 -4
- package/dist/components/AttachmentsGalleryModal/hooks/useGetPreviewUrl.d.ts.map +1 -1
- package/dist/components/AttachmentsGalleryModal/hooks/useGetPreviewUrl.js +20 -59
- package/dist/components/AttachmentsGalleryModal/styles.module.css.js +18 -28
- package/dist/components/AttachmentsPreview/AttachmentsPreview.d.ts.map +1 -1
- package/dist/components/AttachmentsPreview/AttachmentsPreview.js +18 -22
- package/dist/components/AttachmentsPreview/AttachmentsPreview.module.css.js +1 -1
- package/dist/components/BouncingLogo/BouncingLogo.module.css.js +8 -8
- package/dist/components/CollapsibleContainer/CollapsibleContainer.module.css.js +1 -1
- package/dist/components/ColorPicker/ColorPicker.d.ts +18 -23
- package/dist/components/ColorPicker/ColorPicker.d.ts.map +1 -1
- package/dist/components/ColorPicker/ColorPicker.js +139 -145
- package/dist/components/ColorPicker/ColorPicker.module.css.js +8 -8
- package/dist/components/ColorPicker/ColorPickerToolbar.d.ts.map +1 -1
- package/dist/components/ColorPicker/ColorPickerToolbar.js +88 -71
- package/dist/components/ColorPicker/icons.js +4 -4
- package/dist/components/CommentComposer/CommentComposer.module.css.js +4 -4
- package/dist/components/CommentComposer/CommentEditorHotkeys.d.ts.map +1 -1
- package/dist/components/CommentComposer/CommentEditorHotkeys.js +4 -3
- package/dist/components/CommentComposer/index.js +1 -1
- package/dist/components/CommentComposer/useVirtualAnchor.d.ts +1 -1
- package/dist/components/CommentComposer/useVirtualAnchor.d.ts.map +1 -1
- package/dist/components/CommunitiesDialog/styles.module.css.js +1 -1
- package/dist/components/Copyright/Copyright.module.css.js +1 -1
- package/dist/components/CustomKBD/CustomKBD.module.css.js +1 -1
- package/dist/components/EmojiPicker/EmojiPanel.d.ts.map +1 -1
- package/dist/components/EmojiPicker/EmojiPanel.js +22 -22
- package/dist/components/EmojiPicker/EmojiPicker.d.ts +1 -1
- package/dist/components/EmojiPicker/EmojiPicker.d.ts.map +1 -1
- package/dist/components/EmojiPicker/EmojiPicker.js +1 -0
- package/dist/components/EmojiPicker/EmojiPicker.module.css.js +8 -8
- package/dist/components/EmojiPicker/IconsPanel.js +13 -13
- package/dist/components/EntityIcon.d.ts.map +1 -1
- package/dist/components/EntityIcon.js +33 -43
- package/dist/components/EntityTitle/EntityTitle.module.css.js +1 -1
- package/dist/components/ErrorPage/components/Error404.d.ts.map +1 -1
- package/dist/components/FeatureProgress/FeatureProgress.module.css.js +49 -49
- package/dist/components/FilePicker/FilePicker.d.ts +4 -2
- package/dist/components/FilePicker/FilePicker.d.ts.map +1 -1
- package/dist/components/FilePicker/FilePicker.js +241 -226
- package/dist/components/FilePicker/FilePicker.module.css.js +14 -12
- package/dist/components/FilePicker/FilePickerGallery.d.ts.map +1 -1
- package/dist/components/FilePicker/FilePickerGallery.js +60 -34
- package/dist/components/FilePicker/FilePickerGiphy.d.ts.map +1 -1
- package/dist/components/FilePicker/FilePickerGiphy.js +38 -39
- package/dist/components/FilePicker/FilePickerLink.d.ts.map +1 -1
- package/dist/components/FilePicker/FilePickerLink.js +29 -26
- package/dist/components/FilePicker/FilePickerUnsplash.d.ts.map +1 -1
- package/dist/components/FilePicker/FilePickerUnsplash.js +42 -43
- package/dist/components/FilePicker/FilePickerUpload.d.ts.map +1 -1
- package/dist/components/FilePicker/FilePickerUpload.js +51 -35
- package/dist/components/FilePicker/coverCollections.d.ts +4 -0
- package/dist/components/FilePicker/coverCollections.d.ts.map +1 -0
- package/dist/components/FilePicker/coverCollections.js +164 -0
- package/dist/components/FilePicker/index.d.ts +1 -0
- package/dist/components/FilePicker/index.d.ts.map +1 -1
- package/dist/components/FormViewer/FormViewer.module.css.js +20 -20
- package/dist/components/FormViewer/components/fields/DragOptions/DragOptions.module.css.js +1 -1
- package/dist/components/FormViewer/components/fields/DropdownField/DropdownField.module.css.js +1 -1
- package/dist/components/FormViewer/components/fields/EditableContent/EditableContent.module.css.js +1 -1
- package/dist/components/FormViewer/components/fields/SelectableCard/SelectableCard.module.css.js +8 -8
- package/dist/components/FormViewer/components/fields/UploadField/UploadFile/UploadFile.module.css.js +4 -4
- package/dist/components/FormViewer/helpers/conditions.d.ts +38 -38
- package/dist/components/FormViewer/helpers/helpers.d.ts +38 -38
- package/dist/components/FormViewer/helpers/steps.d.ts +38 -38
- package/dist/components/FormViewer/hooks/useActiveControl.d.ts +19 -19
- package/dist/components/FormViewer/hooks/useActiveStep.d.ts +38 -38
- package/dist/components/FormViewer/hooks/useFormGlobalTheme.d.ts +0 -6
- package/dist/components/FormViewer/hooks/useFormGlobalTheme.d.ts.map +1 -1
- package/dist/components/FormViewer/hooks/useFormGlobalTheme.js +3 -4
- package/dist/components/FormViewer/hooks/useFormMobile.d.ts +1 -1
- package/dist/components/FormViewer/hooks/useFormMobile.d.ts.map +1 -1
- package/dist/components/FormViewer/store/formStore.d.ts +248 -248
- package/dist/components/FormViewer/store/formStore.d.ts.map +1 -1
- package/dist/components/FormViewer/store/formStoreApi.d.ts +124 -124
- package/dist/components/FormViewer/store/selectors.d.ts +11655 -11655
- package/dist/components/FormViewer/types/form.d.ts +1 -1
- package/dist/components/FormViewer/types/form.d.ts.map +1 -1
- package/dist/components/FormViewer/types/schemes.d.ts +6358 -381
- package/dist/components/FormViewer/types/schemes.d.ts.map +1 -1
- package/dist/components/FormViewer/types/schemes.js +1 -1
- package/dist/components/GroupAvatar/index.d.ts +1 -3
- package/dist/components/GroupAvatar/index.d.ts.map +1 -1
- package/dist/components/GroupAvatar/index.js +21 -24
- package/dist/components/ImageCropper/ImageCropper.module.css.js +38 -38
- package/dist/components/IntegrationFlowAnimation/IntegrationFlowAnimation.module.css.js +11 -11
- package/dist/components/LanguagePicker/LanguagePicker.module.css.js +1 -1
- package/dist/components/Loaders/styles.module.css.js +6 -6
- package/dist/components/MediaLibrary/MediaLibrary.module.css.js +2 -2
- package/dist/components/MediaLibrary/MediaLibraryRow.js +7 -7
- package/dist/components/NavMenu/NavMenu.d.ts +1 -3
- package/dist/components/NavMenu/NavMenu.d.ts.map +1 -1
- package/dist/components/NavMenu/NavMenu.module.css.js +12 -12
- package/dist/components/NavMenu/components/DnDProvider.d.ts +1 -1
- package/dist/components/NavMenu/components/DnDProvider.d.ts.map +1 -1
- package/dist/components/NavMenu/components/NavMenuActionIcon.d.ts +1 -7
- package/dist/components/NavMenu/components/NavMenuActionIcon.d.ts.map +1 -1
- package/dist/components/NavMenu/components/NavMenuActionIcon.js +23 -21
- package/dist/components/NavbarResizer/NavbarResizer.module.css.js +2 -2
- package/dist/components/NewColorPicker/components/Target.d.ts +1 -3
- package/dist/components/NewColorPicker/components/Target.d.ts.map +1 -1
- package/dist/components/NewColorPicker/components/Target.js +43 -48
- package/dist/components/NotPublicPanel/NotPublicPanel.module.css.js +11 -11
- package/dist/components/Notification/Notification.js +1 -3
- package/dist/components/Notification/Notification.module.css.js +1 -1
- package/dist/components/Notification/NotificationCard.d.ts +1 -3
- package/dist/components/Notification/NotificationCard.d.ts.map +1 -1
- package/dist/components/Notification/NotificationCard.js +86 -87
- package/dist/components/OnBoarding/steps/DifferentLayouts/styles.module.css.js +3 -3
- package/dist/components/OnBoarding/steps/styles.module.css.js +9 -9
- package/dist/components/OnBoarding/styles.module.css.js +7 -7
- package/dist/components/OnboardingTour/OnboardingTourWrapper.d.ts +1 -1
- package/dist/components/OnboardingTour/OnboardingTourWrapper.d.ts.map +1 -1
- package/dist/components/OnboardingTour/OnboardingTourWrapper.js +74 -70
- package/dist/components/ProjectIcon/ProjectIcon.d.ts +12 -7
- package/dist/components/ProjectIcon/ProjectIcon.d.ts.map +1 -1
- package/dist/components/ProjectIcon/ProjectIcon.js +60 -58
- package/dist/components/SearchFilters/SearchFilters.module.css.js +1 -1
- package/dist/components/SettingsSection/styles.module.css.js +1 -1
- package/dist/components/StorageUsageProgress/StorageUsageProgress.module.css.js +1 -1
- package/dist/components/TreeIndent/TreeIndent.module.css.js +4 -4
- package/dist/components/UserAvatar/index.d.ts +1 -2
- package/dist/components/UserAvatar/index.d.ts.map +1 -1
- package/dist/components/UserAvatar/index.js +35 -38
- package/dist/components/WorkspaceAvatar/WorkspaceAvatar.d.ts +3 -3
- package/dist/components/WorkspaceAvatar/WorkspaceAvatar.d.ts.map +1 -1
- package/dist/components/WorkspaceAvatar/WorkspaceAvatar.js +18 -19
- package/dist/components/WorkspaceMenu/WorkspaceItem.js +17 -17
- package/dist/components/WorkspaceMenu/WorkspaceMenu.js +7 -7
- package/dist/components/table/FrontTable.d.ts.map +1 -1
- package/dist/components/table/hooks/useColumnsResizing.d.ts.map +1 -1
- package/dist/config/envConfig.d.ts +0 -8
- package/dist/config/envConfig.d.ts.map +1 -1
- package/dist/config/envConfig.js +13 -21
- package/dist/helpers/getFileIcons.d.ts.map +1 -1
- package/dist/helpers/getFileIcons.js +45 -63
- package/dist/helpers/getFileType.d.ts +1 -1
- package/dist/helpers/getFileType.d.ts.map +1 -1
- package/dist/helpers/getFileType.js +8 -29
- package/dist/helpers/getPartOfTheDay.d.ts +1 -1
- package/dist/helpers/platform.d.ts +1 -1
- package/dist/helpers/platform.d.ts.map +1 -1
- package/dist/helpers/platform.js +4 -5
- package/dist/helpers/showFeatureFeedback.module.css.js +4 -4
- package/dist/helpers/showNotifications.d.ts.map +1 -1
- package/dist/helpers/showNotifications.js +29 -30
- package/dist/helpers/showNotifications.module.css.js +1 -1
- package/dist/hooks/useOutsideClick.d.ts +1 -1
- package/dist/hooks/useOutsideClick.d.ts.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +1 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +465 -467
- package/dist/lang/locales/ui_en.json.js +20 -18
- package/dist/lang/locales/ui_es.json.js +14 -12
- package/dist/lang/locales/ui_ru.json.js +15 -13
- package/dist/node_modules/countries-and-timezones/esm/index.js +4011 -281
- package/docs/README.md +499 -499
- package/package.json +75 -75
- package/dist/components/AttachmentsGalleryModal/components/UnsupportedSection.d.ts +0 -6
- package/dist/components/AttachmentsGalleryModal/components/UnsupportedSection.d.ts.map +0 -1
- package/dist/components/AttachmentsGalleryModal/components/UnsupportedSection.js +0 -16
- package/dist/components/TextColorIcon.d.ts +0 -8
- package/dist/components/TextColorIcon.d.ts.map +0 -1
- package/dist/components/TextColorIcon.js +0 -60
- package/dist/helpers/offlineSuppression.d.ts +0 -3
- package/dist/helpers/offlineSuppression.d.ts.map +0 -1
- package/dist/helpers/offlineSuppression.js +0 -8
|
@@ -56,6 +56,53 @@ export declare const createFormStore: () => {
|
|
|
56
56
|
setFormLayout: (layout: import("..").FormLayout) => void;
|
|
57
57
|
scrollToControl: (controlId: string) => void;
|
|
58
58
|
getConfig: () => Required<{
|
|
59
|
+
theme?: {
|
|
60
|
+
title?: {
|
|
61
|
+
color?: string | undefined;
|
|
62
|
+
fontSize?: number | undefined;
|
|
63
|
+
fontWeight?: number | undefined;
|
|
64
|
+
fontFamily?: string | undefined;
|
|
65
|
+
} | undefined;
|
|
66
|
+
description?: {
|
|
67
|
+
color?: string | undefined;
|
|
68
|
+
fontSize?: number | undefined;
|
|
69
|
+
fontWeight?: number | undefined;
|
|
70
|
+
fontFamily?: string | undefined;
|
|
71
|
+
} | undefined;
|
|
72
|
+
background?: {
|
|
73
|
+
image?: string | undefined;
|
|
74
|
+
brightness?: number | undefined;
|
|
75
|
+
color?: string | undefined;
|
|
76
|
+
blur?: number | undefined;
|
|
77
|
+
opacity?: number | undefined;
|
|
78
|
+
fit?: string | undefined;
|
|
79
|
+
blendMode?: string | undefined;
|
|
80
|
+
} | undefined;
|
|
81
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
82
|
+
align?: "start" | "center" | "end" | undefined;
|
|
83
|
+
listStyle?: string | undefined;
|
|
84
|
+
borderRadius?: "sm" | "md" | "lg" | undefined;
|
|
85
|
+
primaryColor?: string | undefined;
|
|
86
|
+
font?: {
|
|
87
|
+
color?: string | undefined;
|
|
88
|
+
fontSize?: number | undefined;
|
|
89
|
+
fontWeight?: number | undefined;
|
|
90
|
+
fontFamily?: string | undefined;
|
|
91
|
+
} | undefined;
|
|
92
|
+
container?: {
|
|
93
|
+
color?: string | undefined;
|
|
94
|
+
blur?: number | undefined;
|
|
95
|
+
opacity?: number | undefined;
|
|
96
|
+
backgroundImage?: string | undefined;
|
|
97
|
+
shadowSize?: number | undefined;
|
|
98
|
+
shadowColor?: string | undefined;
|
|
99
|
+
} | undefined;
|
|
100
|
+
input?: {
|
|
101
|
+
backgroundColor?: string | undefined;
|
|
102
|
+
borderColor?: string | undefined;
|
|
103
|
+
} | undefined;
|
|
104
|
+
customCSS?: string | undefined;
|
|
105
|
+
} | undefined;
|
|
59
106
|
steps?: {
|
|
60
107
|
id: string;
|
|
61
108
|
controls: ({
|
|
@@ -93,11 +140,11 @@ export declare const createFormStore: () => {
|
|
|
93
140
|
max?: number | undefined;
|
|
94
141
|
} | {
|
|
95
142
|
id: string;
|
|
96
|
-
controlType: "multipleChoice";
|
|
97
143
|
options: {
|
|
98
|
-
label: string;
|
|
99
144
|
id: string;
|
|
145
|
+
label: string;
|
|
100
146
|
}[];
|
|
147
|
+
controlType: "multipleChoice";
|
|
101
148
|
title?: string | undefined;
|
|
102
149
|
description?: string | undefined;
|
|
103
150
|
icon?: string | undefined;
|
|
@@ -114,16 +161,16 @@ export declare const createFormStore: () => {
|
|
|
114
161
|
description?: string | undefined;
|
|
115
162
|
icon?: string | undefined;
|
|
116
163
|
required?: boolean | undefined;
|
|
164
|
+
variableName?: string | undefined;
|
|
117
165
|
min?: number | undefined;
|
|
118
166
|
max?: number | undefined;
|
|
119
|
-
variableName?: string | undefined;
|
|
120
167
|
} | {
|
|
121
168
|
id: string;
|
|
122
|
-
controlType: "dropdown";
|
|
123
169
|
options: {
|
|
124
|
-
label: string;
|
|
125
170
|
id: string;
|
|
171
|
+
label: string;
|
|
126
172
|
}[];
|
|
173
|
+
controlType: "dropdown";
|
|
127
174
|
title?: string | undefined;
|
|
128
175
|
description?: string | undefined;
|
|
129
176
|
icon?: string | undefined;
|
|
@@ -132,25 +179,25 @@ export declare const createFormStore: () => {
|
|
|
132
179
|
variableName?: string | undefined;
|
|
133
180
|
} | {
|
|
134
181
|
id: string;
|
|
135
|
-
controlType: "choice";
|
|
136
182
|
options: {
|
|
137
|
-
label: string;
|
|
138
183
|
id: string;
|
|
184
|
+
label: string;
|
|
139
185
|
}[];
|
|
186
|
+
controlType: "choice";
|
|
140
187
|
title?: string | undefined;
|
|
141
188
|
description?: string | undefined;
|
|
142
189
|
required?: boolean | undefined;
|
|
143
|
-
showInput?: boolean | undefined;
|
|
144
190
|
variableName?: string | undefined;
|
|
191
|
+
showInput?: boolean | undefined;
|
|
145
192
|
otherOption?: boolean | undefined;
|
|
146
193
|
} | {
|
|
147
194
|
id: string;
|
|
148
|
-
controlType: "pictureChoice";
|
|
149
195
|
options: {
|
|
150
|
-
label: string;
|
|
151
196
|
id: string;
|
|
197
|
+
label: string;
|
|
152
198
|
image?: string | undefined;
|
|
153
199
|
}[];
|
|
200
|
+
controlType: "pictureChoice";
|
|
154
201
|
title?: string | undefined;
|
|
155
202
|
description?: string | undefined;
|
|
156
203
|
icon?: string | undefined;
|
|
@@ -163,13 +210,13 @@ export declare const createFormStore: () => {
|
|
|
163
210
|
title?: string | undefined;
|
|
164
211
|
description?: string | undefined;
|
|
165
212
|
icon?: string | undefined;
|
|
213
|
+
required?: boolean | undefined;
|
|
214
|
+
variableName?: string | undefined;
|
|
166
215
|
multiple?: boolean | undefined;
|
|
167
216
|
maxFiles?: number | undefined;
|
|
168
217
|
minFiles?: number | undefined;
|
|
169
218
|
accept?: string[] | undefined;
|
|
170
219
|
maxSize?: number | undefined;
|
|
171
|
-
required?: boolean | undefined;
|
|
172
|
-
variableName?: string | undefined;
|
|
173
220
|
} | {
|
|
174
221
|
id: string;
|
|
175
222
|
controlType: "location";
|
|
@@ -203,10 +250,10 @@ export declare const createFormStore: () => {
|
|
|
203
250
|
title?: string | undefined;
|
|
204
251
|
description?: string | undefined;
|
|
205
252
|
icon?: string | undefined;
|
|
206
|
-
yesLabel?: string | undefined;
|
|
207
|
-
noLabel?: string | undefined;
|
|
208
253
|
required?: boolean | undefined;
|
|
209
254
|
variableName?: string | undefined;
|
|
255
|
+
yesLabel?: string | undefined;
|
|
256
|
+
noLabel?: string | undefined;
|
|
210
257
|
} | {
|
|
211
258
|
id: string;
|
|
212
259
|
controlType: "longText";
|
|
@@ -225,9 +272,9 @@ export declare const createFormStore: () => {
|
|
|
225
272
|
description?: string | undefined;
|
|
226
273
|
icon?: string | undefined;
|
|
227
274
|
required?: boolean | undefined;
|
|
275
|
+
label?: string | undefined;
|
|
228
276
|
showButton?: boolean | undefined;
|
|
229
277
|
buttonIcon?: string | undefined;
|
|
230
|
-
label?: string | undefined;
|
|
231
278
|
showIconButton?: boolean | undefined;
|
|
232
279
|
} | {
|
|
233
280
|
id: string;
|
|
@@ -235,25 +282,25 @@ export declare const createFormStore: () => {
|
|
|
235
282
|
title?: string | undefined;
|
|
236
283
|
description?: string | undefined;
|
|
237
284
|
required?: boolean | undefined;
|
|
285
|
+
label?: string | undefined;
|
|
238
286
|
showButton?: boolean | undefined;
|
|
239
287
|
buttonIcon?: string | undefined;
|
|
240
288
|
link?: string | undefined;
|
|
241
|
-
label?: string | undefined;
|
|
242
289
|
} | {
|
|
243
290
|
id: string;
|
|
244
291
|
controlType: "button";
|
|
245
292
|
title?: string | undefined;
|
|
246
293
|
description?: string | undefined;
|
|
294
|
+
required?: boolean | undefined;
|
|
247
295
|
label?: string | undefined;
|
|
248
|
-
link?: string | undefined;
|
|
249
|
-
showIconButton?: boolean | undefined;
|
|
250
296
|
buttonIcon?: string | undefined;
|
|
297
|
+
showIconButton?: boolean | undefined;
|
|
298
|
+
link?: string | undefined;
|
|
251
299
|
alignButton?: "start" | "center" | "end" | undefined;
|
|
252
300
|
buttons?: any[] | undefined;
|
|
253
301
|
orientation?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
|
|
254
302
|
width?: number | undefined;
|
|
255
303
|
enableTooltip?: boolean | undefined;
|
|
256
|
-
required?: boolean | undefined;
|
|
257
304
|
fullWidthMobile?: boolean | undefined;
|
|
258
305
|
} | {
|
|
259
306
|
id: string;
|
|
@@ -270,9 +317,9 @@ export declare const createFormStore: () => {
|
|
|
270
317
|
autoSubmit?: boolean | undefined;
|
|
271
318
|
confirmLabel?: string | undefined;
|
|
272
319
|
media?: {
|
|
320
|
+
image?: string | undefined;
|
|
273
321
|
layout?: "content" | "left" | "right" | "top" | "bottom" | "fullLeft" | "fullRight" | "fullTop" | "fullBottom" | "background" | undefined;
|
|
274
322
|
brightness?: number | undefined;
|
|
275
|
-
image?: string | undefined;
|
|
276
323
|
video?: string | undefined;
|
|
277
324
|
videoThumb?: string | undefined;
|
|
278
325
|
color?: string | undefined;
|
|
@@ -280,52 +327,52 @@ export declare const createFormStore: () => {
|
|
|
280
327
|
blur?: number | undefined;
|
|
281
328
|
} | undefined;
|
|
282
329
|
conditions?: {
|
|
330
|
+
trigger: string;
|
|
283
331
|
controlId: string;
|
|
284
332
|
operator: string;
|
|
285
|
-
trigger: string;
|
|
286
333
|
compareValue?: string | undefined;
|
|
287
334
|
}[] | undefined;
|
|
288
335
|
theme?: {
|
|
289
|
-
size?: "sm" | "md" | "lg" | undefined;
|
|
290
|
-
align?: "start" | "center" | "end" | undefined;
|
|
291
|
-
listStyle?: string | undefined;
|
|
292
|
-
borderRadius?: "sm" | "md" | "lg" | undefined;
|
|
293
|
-
primaryColor?: string | undefined;
|
|
294
336
|
title?: {
|
|
337
|
+
color?: string | undefined;
|
|
295
338
|
fontSize?: number | undefined;
|
|
296
339
|
fontWeight?: number | undefined;
|
|
297
340
|
fontFamily?: string | undefined;
|
|
298
|
-
color?: string | undefined;
|
|
299
341
|
} | undefined;
|
|
300
342
|
description?: {
|
|
343
|
+
color?: string | undefined;
|
|
301
344
|
fontSize?: number | undefined;
|
|
302
345
|
fontWeight?: number | undefined;
|
|
303
346
|
fontFamily?: string | undefined;
|
|
347
|
+
} | undefined;
|
|
348
|
+
background?: {
|
|
349
|
+
image?: string | undefined;
|
|
350
|
+
brightness?: number | undefined;
|
|
304
351
|
color?: string | undefined;
|
|
352
|
+
blur?: number | undefined;
|
|
353
|
+
opacity?: number | undefined;
|
|
354
|
+
fit?: string | undefined;
|
|
355
|
+
blendMode?: string | undefined;
|
|
305
356
|
} | undefined;
|
|
357
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
358
|
+
align?: "start" | "center" | "end" | undefined;
|
|
359
|
+
listStyle?: string | undefined;
|
|
360
|
+
borderRadius?: "sm" | "md" | "lg" | undefined;
|
|
361
|
+
primaryColor?: string | undefined;
|
|
306
362
|
font?: {
|
|
363
|
+
color?: string | undefined;
|
|
307
364
|
fontSize?: number | undefined;
|
|
308
365
|
fontWeight?: number | undefined;
|
|
309
366
|
fontFamily?: string | undefined;
|
|
310
|
-
color?: string | undefined;
|
|
311
367
|
} | undefined;
|
|
312
368
|
container?: {
|
|
313
369
|
color?: string | undefined;
|
|
314
|
-
opacity?: number | undefined;
|
|
315
370
|
blur?: number | undefined;
|
|
371
|
+
opacity?: number | undefined;
|
|
316
372
|
backgroundImage?: string | undefined;
|
|
317
373
|
shadowSize?: number | undefined;
|
|
318
374
|
shadowColor?: string | undefined;
|
|
319
375
|
} | undefined;
|
|
320
|
-
background?: {
|
|
321
|
-
color?: string | undefined;
|
|
322
|
-
image?: string | undefined;
|
|
323
|
-
blur?: number | undefined;
|
|
324
|
-
brightness?: number | undefined;
|
|
325
|
-
opacity?: number | undefined;
|
|
326
|
-
fit?: string | undefined;
|
|
327
|
-
blendMode?: string | undefined;
|
|
328
|
-
} | undefined;
|
|
329
376
|
input?: {
|
|
330
377
|
backgroundColor?: string | undefined;
|
|
331
378
|
borderColor?: string | undefined;
|
|
@@ -374,11 +421,11 @@ export declare const createFormStore: () => {
|
|
|
374
421
|
max?: number | undefined;
|
|
375
422
|
} | {
|
|
376
423
|
id: string;
|
|
377
|
-
controlType: "multipleChoice";
|
|
378
424
|
options: {
|
|
379
|
-
label: string;
|
|
380
425
|
id: string;
|
|
426
|
+
label: string;
|
|
381
427
|
}[];
|
|
428
|
+
controlType: "multipleChoice";
|
|
382
429
|
title?: string | undefined;
|
|
383
430
|
description?: string | undefined;
|
|
384
431
|
icon?: string | undefined;
|
|
@@ -395,16 +442,16 @@ export declare const createFormStore: () => {
|
|
|
395
442
|
description?: string | undefined;
|
|
396
443
|
icon?: string | undefined;
|
|
397
444
|
required?: boolean | undefined;
|
|
445
|
+
variableName?: string | undefined;
|
|
398
446
|
min?: number | undefined;
|
|
399
447
|
max?: number | undefined;
|
|
400
|
-
variableName?: string | undefined;
|
|
401
448
|
} | {
|
|
402
449
|
id: string;
|
|
403
|
-
controlType: "dropdown";
|
|
404
450
|
options: {
|
|
405
|
-
label: string;
|
|
406
451
|
id: string;
|
|
452
|
+
label: string;
|
|
407
453
|
}[];
|
|
454
|
+
controlType: "dropdown";
|
|
408
455
|
title?: string | undefined;
|
|
409
456
|
description?: string | undefined;
|
|
410
457
|
icon?: string | undefined;
|
|
@@ -413,25 +460,25 @@ export declare const createFormStore: () => {
|
|
|
413
460
|
variableName?: string | undefined;
|
|
414
461
|
} | {
|
|
415
462
|
id: string;
|
|
416
|
-
controlType: "choice";
|
|
417
463
|
options: {
|
|
418
|
-
label: string;
|
|
419
464
|
id: string;
|
|
465
|
+
label: string;
|
|
420
466
|
}[];
|
|
467
|
+
controlType: "choice";
|
|
421
468
|
title?: string | undefined;
|
|
422
469
|
description?: string | undefined;
|
|
423
470
|
required?: boolean | undefined;
|
|
424
|
-
showInput?: boolean | undefined;
|
|
425
471
|
variableName?: string | undefined;
|
|
472
|
+
showInput?: boolean | undefined;
|
|
426
473
|
otherOption?: boolean | undefined;
|
|
427
474
|
} | {
|
|
428
475
|
id: string;
|
|
429
|
-
controlType: "pictureChoice";
|
|
430
476
|
options: {
|
|
431
|
-
label: string;
|
|
432
477
|
id: string;
|
|
478
|
+
label: string;
|
|
433
479
|
image?: string | undefined;
|
|
434
480
|
}[];
|
|
481
|
+
controlType: "pictureChoice";
|
|
435
482
|
title?: string | undefined;
|
|
436
483
|
description?: string | undefined;
|
|
437
484
|
icon?: string | undefined;
|
|
@@ -444,13 +491,13 @@ export declare const createFormStore: () => {
|
|
|
444
491
|
title?: string | undefined;
|
|
445
492
|
description?: string | undefined;
|
|
446
493
|
icon?: string | undefined;
|
|
494
|
+
required?: boolean | undefined;
|
|
495
|
+
variableName?: string | undefined;
|
|
447
496
|
multiple?: boolean | undefined;
|
|
448
497
|
maxFiles?: number | undefined;
|
|
449
498
|
minFiles?: number | undefined;
|
|
450
499
|
accept?: string[] | undefined;
|
|
451
500
|
maxSize?: number | undefined;
|
|
452
|
-
required?: boolean | undefined;
|
|
453
|
-
variableName?: string | undefined;
|
|
454
501
|
} | {
|
|
455
502
|
id: string;
|
|
456
503
|
controlType: "location";
|
|
@@ -484,10 +531,10 @@ export declare const createFormStore: () => {
|
|
|
484
531
|
title?: string | undefined;
|
|
485
532
|
description?: string | undefined;
|
|
486
533
|
icon?: string | undefined;
|
|
487
|
-
yesLabel?: string | undefined;
|
|
488
|
-
noLabel?: string | undefined;
|
|
489
534
|
required?: boolean | undefined;
|
|
490
535
|
variableName?: string | undefined;
|
|
536
|
+
yesLabel?: string | undefined;
|
|
537
|
+
noLabel?: string | undefined;
|
|
491
538
|
} | {
|
|
492
539
|
id: string;
|
|
493
540
|
controlType: "longText";
|
|
@@ -506,9 +553,9 @@ export declare const createFormStore: () => {
|
|
|
506
553
|
description?: string | undefined;
|
|
507
554
|
icon?: string | undefined;
|
|
508
555
|
required?: boolean | undefined;
|
|
556
|
+
label?: string | undefined;
|
|
509
557
|
showButton?: boolean | undefined;
|
|
510
558
|
buttonIcon?: string | undefined;
|
|
511
|
-
label?: string | undefined;
|
|
512
559
|
showIconButton?: boolean | undefined;
|
|
513
560
|
} | {
|
|
514
561
|
id: string;
|
|
@@ -516,25 +563,25 @@ export declare const createFormStore: () => {
|
|
|
516
563
|
title?: string | undefined;
|
|
517
564
|
description?: string | undefined;
|
|
518
565
|
required?: boolean | undefined;
|
|
566
|
+
label?: string | undefined;
|
|
519
567
|
showButton?: boolean | undefined;
|
|
520
568
|
buttonIcon?: string | undefined;
|
|
521
569
|
link?: string | undefined;
|
|
522
|
-
label?: string | undefined;
|
|
523
570
|
} | {
|
|
524
571
|
id: string;
|
|
525
572
|
controlType: "button";
|
|
526
573
|
title?: string | undefined;
|
|
527
574
|
description?: string | undefined;
|
|
575
|
+
required?: boolean | undefined;
|
|
528
576
|
label?: string | undefined;
|
|
529
|
-
link?: string | undefined;
|
|
530
|
-
showIconButton?: boolean | undefined;
|
|
531
577
|
buttonIcon?: string | undefined;
|
|
578
|
+
showIconButton?: boolean | undefined;
|
|
579
|
+
link?: string | undefined;
|
|
532
580
|
alignButton?: "start" | "center" | "end" | undefined;
|
|
533
581
|
buttons?: any[] | undefined;
|
|
534
582
|
orientation?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
|
|
535
583
|
width?: number | undefined;
|
|
536
584
|
enableTooltip?: boolean | undefined;
|
|
537
|
-
required?: boolean | undefined;
|
|
538
585
|
fullWidthMobile?: boolean | undefined;
|
|
539
586
|
} | {
|
|
540
587
|
id: string;
|
|
@@ -551,9 +598,9 @@ export declare const createFormStore: () => {
|
|
|
551
598
|
autoSubmit?: boolean | undefined;
|
|
552
599
|
confirmLabel?: string | undefined;
|
|
553
600
|
media?: {
|
|
601
|
+
image?: string | undefined;
|
|
554
602
|
layout?: "content" | "left" | "right" | "top" | "bottom" | "fullLeft" | "fullRight" | "fullTop" | "fullBottom" | "background" | undefined;
|
|
555
603
|
brightness?: number | undefined;
|
|
556
|
-
image?: string | undefined;
|
|
557
604
|
video?: string | undefined;
|
|
558
605
|
videoThumb?: string | undefined;
|
|
559
606
|
color?: string | undefined;
|
|
@@ -561,52 +608,52 @@ export declare const createFormStore: () => {
|
|
|
561
608
|
blur?: number | undefined;
|
|
562
609
|
} | undefined;
|
|
563
610
|
conditions?: {
|
|
611
|
+
trigger: string;
|
|
564
612
|
controlId: string;
|
|
565
613
|
operator: string;
|
|
566
|
-
trigger: string;
|
|
567
614
|
compareValue?: string | undefined;
|
|
568
615
|
}[] | undefined;
|
|
569
616
|
theme?: {
|
|
570
|
-
size?: "sm" | "md" | "lg" | undefined;
|
|
571
|
-
align?: "start" | "center" | "end" | undefined;
|
|
572
|
-
listStyle?: string | undefined;
|
|
573
|
-
borderRadius?: "sm" | "md" | "lg" | undefined;
|
|
574
|
-
primaryColor?: string | undefined;
|
|
575
617
|
title?: {
|
|
618
|
+
color?: string | undefined;
|
|
576
619
|
fontSize?: number | undefined;
|
|
577
620
|
fontWeight?: number | undefined;
|
|
578
621
|
fontFamily?: string | undefined;
|
|
579
|
-
color?: string | undefined;
|
|
580
622
|
} | undefined;
|
|
581
623
|
description?: {
|
|
624
|
+
color?: string | undefined;
|
|
582
625
|
fontSize?: number | undefined;
|
|
583
626
|
fontWeight?: number | undefined;
|
|
584
627
|
fontFamily?: string | undefined;
|
|
628
|
+
} | undefined;
|
|
629
|
+
background?: {
|
|
630
|
+
image?: string | undefined;
|
|
631
|
+
brightness?: number | undefined;
|
|
585
632
|
color?: string | undefined;
|
|
633
|
+
blur?: number | undefined;
|
|
634
|
+
opacity?: number | undefined;
|
|
635
|
+
fit?: string | undefined;
|
|
636
|
+
blendMode?: string | undefined;
|
|
586
637
|
} | undefined;
|
|
638
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
639
|
+
align?: "start" | "center" | "end" | undefined;
|
|
640
|
+
listStyle?: string | undefined;
|
|
641
|
+
borderRadius?: "sm" | "md" | "lg" | undefined;
|
|
642
|
+
primaryColor?: string | undefined;
|
|
587
643
|
font?: {
|
|
644
|
+
color?: string | undefined;
|
|
588
645
|
fontSize?: number | undefined;
|
|
589
646
|
fontWeight?: number | undefined;
|
|
590
647
|
fontFamily?: string | undefined;
|
|
591
|
-
color?: string | undefined;
|
|
592
648
|
} | undefined;
|
|
593
649
|
container?: {
|
|
594
650
|
color?: string | undefined;
|
|
595
|
-
opacity?: number | undefined;
|
|
596
651
|
blur?: number | undefined;
|
|
652
|
+
opacity?: number | undefined;
|
|
597
653
|
backgroundImage?: string | undefined;
|
|
598
654
|
shadowSize?: number | undefined;
|
|
599
655
|
shadowColor?: string | undefined;
|
|
600
656
|
} | undefined;
|
|
601
|
-
background?: {
|
|
602
|
-
color?: string | undefined;
|
|
603
|
-
image?: string | undefined;
|
|
604
|
-
blur?: number | undefined;
|
|
605
|
-
brightness?: number | undefined;
|
|
606
|
-
opacity?: number | undefined;
|
|
607
|
-
fit?: string | undefined;
|
|
608
|
-
blendMode?: string | undefined;
|
|
609
|
-
} | undefined;
|
|
610
657
|
input?: {
|
|
611
658
|
backgroundColor?: string | undefined;
|
|
612
659
|
borderColor?: string | undefined;
|
|
@@ -618,57 +665,10 @@ export declare const createFormStore: () => {
|
|
|
618
665
|
y: number;
|
|
619
666
|
} | undefined;
|
|
620
667
|
} | undefined;
|
|
621
|
-
theme?: {
|
|
622
|
-
size?: "sm" | "md" | "lg" | undefined;
|
|
623
|
-
align?: "start" | "center" | "end" | undefined;
|
|
624
|
-
listStyle?: string | undefined;
|
|
625
|
-
borderRadius?: "sm" | "md" | "lg" | undefined;
|
|
626
|
-
primaryColor?: string | undefined;
|
|
627
|
-
title?: {
|
|
628
|
-
fontSize?: number | undefined;
|
|
629
|
-
fontWeight?: number | undefined;
|
|
630
|
-
fontFamily?: string | undefined;
|
|
631
|
-
color?: string | undefined;
|
|
632
|
-
} | undefined;
|
|
633
|
-
description?: {
|
|
634
|
-
fontSize?: number | undefined;
|
|
635
|
-
fontWeight?: number | undefined;
|
|
636
|
-
fontFamily?: string | undefined;
|
|
637
|
-
color?: string | undefined;
|
|
638
|
-
} | undefined;
|
|
639
|
-
font?: {
|
|
640
|
-
fontSize?: number | undefined;
|
|
641
|
-
fontWeight?: number | undefined;
|
|
642
|
-
fontFamily?: string | undefined;
|
|
643
|
-
color?: string | undefined;
|
|
644
|
-
} | undefined;
|
|
645
|
-
container?: {
|
|
646
|
-
color?: string | undefined;
|
|
647
|
-
opacity?: number | undefined;
|
|
648
|
-
blur?: number | undefined;
|
|
649
|
-
backgroundImage?: string | undefined;
|
|
650
|
-
shadowSize?: number | undefined;
|
|
651
|
-
shadowColor?: string | undefined;
|
|
652
|
-
} | undefined;
|
|
653
|
-
background?: {
|
|
654
|
-
color?: string | undefined;
|
|
655
|
-
image?: string | undefined;
|
|
656
|
-
blur?: number | undefined;
|
|
657
|
-
brightness?: number | undefined;
|
|
658
|
-
opacity?: number | undefined;
|
|
659
|
-
fit?: string | undefined;
|
|
660
|
-
blendMode?: string | undefined;
|
|
661
|
-
} | undefined;
|
|
662
|
-
input?: {
|
|
663
|
-
backgroundColor?: string | undefined;
|
|
664
|
-
borderColor?: string | undefined;
|
|
665
|
-
} | undefined;
|
|
666
|
-
customCSS?: string | undefined;
|
|
667
|
-
} | undefined;
|
|
668
668
|
settings?: {
|
|
669
|
+
layout: "slides" | "list";
|
|
669
670
|
slideAnimation: "vertical" | "horizontal" | "none";
|
|
670
671
|
freeNav: boolean;
|
|
671
|
-
layout: "slides" | "list";
|
|
672
672
|
enterIndicator?: any;
|
|
673
673
|
progressBar?: boolean | undefined;
|
|
674
674
|
copyright?: boolean | undefined;
|
|
@@ -734,6 +734,53 @@ export declare const useFormViewerStore: () => {
|
|
|
734
734
|
setFormLayout: (layout: import("..").FormLayout) => void;
|
|
735
735
|
scrollToControl: (controlId: string) => void;
|
|
736
736
|
getConfig: () => Required<{
|
|
737
|
+
theme?: {
|
|
738
|
+
title?: {
|
|
739
|
+
color?: string | undefined;
|
|
740
|
+
fontSize?: number | undefined;
|
|
741
|
+
fontWeight?: number | undefined;
|
|
742
|
+
fontFamily?: string | undefined;
|
|
743
|
+
} | undefined;
|
|
744
|
+
description?: {
|
|
745
|
+
color?: string | undefined;
|
|
746
|
+
fontSize?: number | undefined;
|
|
747
|
+
fontWeight?: number | undefined;
|
|
748
|
+
fontFamily?: string | undefined;
|
|
749
|
+
} | undefined;
|
|
750
|
+
background?: {
|
|
751
|
+
image?: string | undefined;
|
|
752
|
+
brightness?: number | undefined;
|
|
753
|
+
color?: string | undefined;
|
|
754
|
+
blur?: number | undefined;
|
|
755
|
+
opacity?: number | undefined;
|
|
756
|
+
fit?: string | undefined;
|
|
757
|
+
blendMode?: string | undefined;
|
|
758
|
+
} | undefined;
|
|
759
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
760
|
+
align?: "start" | "center" | "end" | undefined;
|
|
761
|
+
listStyle?: string | undefined;
|
|
762
|
+
borderRadius?: "sm" | "md" | "lg" | undefined;
|
|
763
|
+
primaryColor?: string | undefined;
|
|
764
|
+
font?: {
|
|
765
|
+
color?: string | undefined;
|
|
766
|
+
fontSize?: number | undefined;
|
|
767
|
+
fontWeight?: number | undefined;
|
|
768
|
+
fontFamily?: string | undefined;
|
|
769
|
+
} | undefined;
|
|
770
|
+
container?: {
|
|
771
|
+
color?: string | undefined;
|
|
772
|
+
blur?: number | undefined;
|
|
773
|
+
opacity?: number | undefined;
|
|
774
|
+
backgroundImage?: string | undefined;
|
|
775
|
+
shadowSize?: number | undefined;
|
|
776
|
+
shadowColor?: string | undefined;
|
|
777
|
+
} | undefined;
|
|
778
|
+
input?: {
|
|
779
|
+
backgroundColor?: string | undefined;
|
|
780
|
+
borderColor?: string | undefined;
|
|
781
|
+
} | undefined;
|
|
782
|
+
customCSS?: string | undefined;
|
|
783
|
+
} | undefined;
|
|
737
784
|
steps?: {
|
|
738
785
|
id: string;
|
|
739
786
|
controls: ({
|
|
@@ -771,11 +818,11 @@ export declare const useFormViewerStore: () => {
|
|
|
771
818
|
max?: number | undefined;
|
|
772
819
|
} | {
|
|
773
820
|
id: string;
|
|
774
|
-
controlType: "multipleChoice";
|
|
775
821
|
options: {
|
|
776
|
-
label: string;
|
|
777
822
|
id: string;
|
|
823
|
+
label: string;
|
|
778
824
|
}[];
|
|
825
|
+
controlType: "multipleChoice";
|
|
779
826
|
title?: string | undefined;
|
|
780
827
|
description?: string | undefined;
|
|
781
828
|
icon?: string | undefined;
|
|
@@ -792,16 +839,16 @@ export declare const useFormViewerStore: () => {
|
|
|
792
839
|
description?: string | undefined;
|
|
793
840
|
icon?: string | undefined;
|
|
794
841
|
required?: boolean | undefined;
|
|
842
|
+
variableName?: string | undefined;
|
|
795
843
|
min?: number | undefined;
|
|
796
844
|
max?: number | undefined;
|
|
797
|
-
variableName?: string | undefined;
|
|
798
845
|
} | {
|
|
799
846
|
id: string;
|
|
800
|
-
controlType: "dropdown";
|
|
801
847
|
options: {
|
|
802
|
-
label: string;
|
|
803
848
|
id: string;
|
|
849
|
+
label: string;
|
|
804
850
|
}[];
|
|
851
|
+
controlType: "dropdown";
|
|
805
852
|
title?: string | undefined;
|
|
806
853
|
description?: string | undefined;
|
|
807
854
|
icon?: string | undefined;
|
|
@@ -810,25 +857,25 @@ export declare const useFormViewerStore: () => {
|
|
|
810
857
|
variableName?: string | undefined;
|
|
811
858
|
} | {
|
|
812
859
|
id: string;
|
|
813
|
-
controlType: "choice";
|
|
814
860
|
options: {
|
|
815
|
-
label: string;
|
|
816
861
|
id: string;
|
|
862
|
+
label: string;
|
|
817
863
|
}[];
|
|
864
|
+
controlType: "choice";
|
|
818
865
|
title?: string | undefined;
|
|
819
866
|
description?: string | undefined;
|
|
820
867
|
required?: boolean | undefined;
|
|
821
|
-
showInput?: boolean | undefined;
|
|
822
868
|
variableName?: string | undefined;
|
|
869
|
+
showInput?: boolean | undefined;
|
|
823
870
|
otherOption?: boolean | undefined;
|
|
824
871
|
} | {
|
|
825
872
|
id: string;
|
|
826
|
-
controlType: "pictureChoice";
|
|
827
873
|
options: {
|
|
828
|
-
label: string;
|
|
829
874
|
id: string;
|
|
875
|
+
label: string;
|
|
830
876
|
image?: string | undefined;
|
|
831
877
|
}[];
|
|
878
|
+
controlType: "pictureChoice";
|
|
832
879
|
title?: string | undefined;
|
|
833
880
|
description?: string | undefined;
|
|
834
881
|
icon?: string | undefined;
|
|
@@ -841,13 +888,13 @@ export declare const useFormViewerStore: () => {
|
|
|
841
888
|
title?: string | undefined;
|
|
842
889
|
description?: string | undefined;
|
|
843
890
|
icon?: string | undefined;
|
|
891
|
+
required?: boolean | undefined;
|
|
892
|
+
variableName?: string | undefined;
|
|
844
893
|
multiple?: boolean | undefined;
|
|
845
894
|
maxFiles?: number | undefined;
|
|
846
895
|
minFiles?: number | undefined;
|
|
847
896
|
accept?: string[] | undefined;
|
|
848
897
|
maxSize?: number | undefined;
|
|
849
|
-
required?: boolean | undefined;
|
|
850
|
-
variableName?: string | undefined;
|
|
851
898
|
} | {
|
|
852
899
|
id: string;
|
|
853
900
|
controlType: "location";
|
|
@@ -881,10 +928,10 @@ export declare const useFormViewerStore: () => {
|
|
|
881
928
|
title?: string | undefined;
|
|
882
929
|
description?: string | undefined;
|
|
883
930
|
icon?: string | undefined;
|
|
884
|
-
yesLabel?: string | undefined;
|
|
885
|
-
noLabel?: string | undefined;
|
|
886
931
|
required?: boolean | undefined;
|
|
887
932
|
variableName?: string | undefined;
|
|
933
|
+
yesLabel?: string | undefined;
|
|
934
|
+
noLabel?: string | undefined;
|
|
888
935
|
} | {
|
|
889
936
|
id: string;
|
|
890
937
|
controlType: "longText";
|
|
@@ -903,9 +950,9 @@ export declare const useFormViewerStore: () => {
|
|
|
903
950
|
description?: string | undefined;
|
|
904
951
|
icon?: string | undefined;
|
|
905
952
|
required?: boolean | undefined;
|
|
953
|
+
label?: string | undefined;
|
|
906
954
|
showButton?: boolean | undefined;
|
|
907
955
|
buttonIcon?: string | undefined;
|
|
908
|
-
label?: string | undefined;
|
|
909
956
|
showIconButton?: boolean | undefined;
|
|
910
957
|
} | {
|
|
911
958
|
id: string;
|
|
@@ -913,25 +960,25 @@ export declare const useFormViewerStore: () => {
|
|
|
913
960
|
title?: string | undefined;
|
|
914
961
|
description?: string | undefined;
|
|
915
962
|
required?: boolean | undefined;
|
|
963
|
+
label?: string | undefined;
|
|
916
964
|
showButton?: boolean | undefined;
|
|
917
965
|
buttonIcon?: string | undefined;
|
|
918
966
|
link?: string | undefined;
|
|
919
|
-
label?: string | undefined;
|
|
920
967
|
} | {
|
|
921
968
|
id: string;
|
|
922
969
|
controlType: "button";
|
|
923
970
|
title?: string | undefined;
|
|
924
971
|
description?: string | undefined;
|
|
972
|
+
required?: boolean | undefined;
|
|
925
973
|
label?: string | undefined;
|
|
926
|
-
link?: string | undefined;
|
|
927
|
-
showIconButton?: boolean | undefined;
|
|
928
974
|
buttonIcon?: string | undefined;
|
|
975
|
+
showIconButton?: boolean | undefined;
|
|
976
|
+
link?: string | undefined;
|
|
929
977
|
alignButton?: "start" | "center" | "end" | undefined;
|
|
930
978
|
buttons?: any[] | undefined;
|
|
931
979
|
orientation?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
|
|
932
980
|
width?: number | undefined;
|
|
933
981
|
enableTooltip?: boolean | undefined;
|
|
934
|
-
required?: boolean | undefined;
|
|
935
982
|
fullWidthMobile?: boolean | undefined;
|
|
936
983
|
} | {
|
|
937
984
|
id: string;
|
|
@@ -948,9 +995,9 @@ export declare const useFormViewerStore: () => {
|
|
|
948
995
|
autoSubmit?: boolean | undefined;
|
|
949
996
|
confirmLabel?: string | undefined;
|
|
950
997
|
media?: {
|
|
998
|
+
image?: string | undefined;
|
|
951
999
|
layout?: "content" | "left" | "right" | "top" | "bottom" | "fullLeft" | "fullRight" | "fullTop" | "fullBottom" | "background" | undefined;
|
|
952
1000
|
brightness?: number | undefined;
|
|
953
|
-
image?: string | undefined;
|
|
954
1001
|
video?: string | undefined;
|
|
955
1002
|
videoThumb?: string | undefined;
|
|
956
1003
|
color?: string | undefined;
|
|
@@ -958,52 +1005,52 @@ export declare const useFormViewerStore: () => {
|
|
|
958
1005
|
blur?: number | undefined;
|
|
959
1006
|
} | undefined;
|
|
960
1007
|
conditions?: {
|
|
1008
|
+
trigger: string;
|
|
961
1009
|
controlId: string;
|
|
962
1010
|
operator: string;
|
|
963
|
-
trigger: string;
|
|
964
1011
|
compareValue?: string | undefined;
|
|
965
1012
|
}[] | undefined;
|
|
966
1013
|
theme?: {
|
|
967
|
-
size?: "sm" | "md" | "lg" | undefined;
|
|
968
|
-
align?: "start" | "center" | "end" | undefined;
|
|
969
|
-
listStyle?: string | undefined;
|
|
970
|
-
borderRadius?: "sm" | "md" | "lg" | undefined;
|
|
971
|
-
primaryColor?: string | undefined;
|
|
972
1014
|
title?: {
|
|
1015
|
+
color?: string | undefined;
|
|
973
1016
|
fontSize?: number | undefined;
|
|
974
1017
|
fontWeight?: number | undefined;
|
|
975
1018
|
fontFamily?: string | undefined;
|
|
976
|
-
color?: string | undefined;
|
|
977
1019
|
} | undefined;
|
|
978
1020
|
description?: {
|
|
1021
|
+
color?: string | undefined;
|
|
979
1022
|
fontSize?: number | undefined;
|
|
980
1023
|
fontWeight?: number | undefined;
|
|
981
1024
|
fontFamily?: string | undefined;
|
|
1025
|
+
} | undefined;
|
|
1026
|
+
background?: {
|
|
1027
|
+
image?: string | undefined;
|
|
1028
|
+
brightness?: number | undefined;
|
|
982
1029
|
color?: string | undefined;
|
|
1030
|
+
blur?: number | undefined;
|
|
1031
|
+
opacity?: number | undefined;
|
|
1032
|
+
fit?: string | undefined;
|
|
1033
|
+
blendMode?: string | undefined;
|
|
983
1034
|
} | undefined;
|
|
1035
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
1036
|
+
align?: "start" | "center" | "end" | undefined;
|
|
1037
|
+
listStyle?: string | undefined;
|
|
1038
|
+
borderRadius?: "sm" | "md" | "lg" | undefined;
|
|
1039
|
+
primaryColor?: string | undefined;
|
|
984
1040
|
font?: {
|
|
1041
|
+
color?: string | undefined;
|
|
985
1042
|
fontSize?: number | undefined;
|
|
986
1043
|
fontWeight?: number | undefined;
|
|
987
1044
|
fontFamily?: string | undefined;
|
|
988
|
-
color?: string | undefined;
|
|
989
1045
|
} | undefined;
|
|
990
1046
|
container?: {
|
|
991
1047
|
color?: string | undefined;
|
|
992
|
-
opacity?: number | undefined;
|
|
993
1048
|
blur?: number | undefined;
|
|
1049
|
+
opacity?: number | undefined;
|
|
994
1050
|
backgroundImage?: string | undefined;
|
|
995
1051
|
shadowSize?: number | undefined;
|
|
996
1052
|
shadowColor?: string | undefined;
|
|
997
1053
|
} | undefined;
|
|
998
|
-
background?: {
|
|
999
|
-
color?: string | undefined;
|
|
1000
|
-
image?: string | undefined;
|
|
1001
|
-
blur?: number | undefined;
|
|
1002
|
-
brightness?: number | undefined;
|
|
1003
|
-
opacity?: number | undefined;
|
|
1004
|
-
fit?: string | undefined;
|
|
1005
|
-
blendMode?: string | undefined;
|
|
1006
|
-
} | undefined;
|
|
1007
1054
|
input?: {
|
|
1008
1055
|
backgroundColor?: string | undefined;
|
|
1009
1056
|
borderColor?: string | undefined;
|
|
@@ -1052,11 +1099,11 @@ export declare const useFormViewerStore: () => {
|
|
|
1052
1099
|
max?: number | undefined;
|
|
1053
1100
|
} | {
|
|
1054
1101
|
id: string;
|
|
1055
|
-
controlType: "multipleChoice";
|
|
1056
1102
|
options: {
|
|
1057
|
-
label: string;
|
|
1058
1103
|
id: string;
|
|
1104
|
+
label: string;
|
|
1059
1105
|
}[];
|
|
1106
|
+
controlType: "multipleChoice";
|
|
1060
1107
|
title?: string | undefined;
|
|
1061
1108
|
description?: string | undefined;
|
|
1062
1109
|
icon?: string | undefined;
|
|
@@ -1073,16 +1120,16 @@ export declare const useFormViewerStore: () => {
|
|
|
1073
1120
|
description?: string | undefined;
|
|
1074
1121
|
icon?: string | undefined;
|
|
1075
1122
|
required?: boolean | undefined;
|
|
1123
|
+
variableName?: string | undefined;
|
|
1076
1124
|
min?: number | undefined;
|
|
1077
1125
|
max?: number | undefined;
|
|
1078
|
-
variableName?: string | undefined;
|
|
1079
1126
|
} | {
|
|
1080
1127
|
id: string;
|
|
1081
|
-
controlType: "dropdown";
|
|
1082
1128
|
options: {
|
|
1083
|
-
label: string;
|
|
1084
1129
|
id: string;
|
|
1130
|
+
label: string;
|
|
1085
1131
|
}[];
|
|
1132
|
+
controlType: "dropdown";
|
|
1086
1133
|
title?: string | undefined;
|
|
1087
1134
|
description?: string | undefined;
|
|
1088
1135
|
icon?: string | undefined;
|
|
@@ -1091,25 +1138,25 @@ export declare const useFormViewerStore: () => {
|
|
|
1091
1138
|
variableName?: string | undefined;
|
|
1092
1139
|
} | {
|
|
1093
1140
|
id: string;
|
|
1094
|
-
controlType: "choice";
|
|
1095
1141
|
options: {
|
|
1096
|
-
label: string;
|
|
1097
1142
|
id: string;
|
|
1143
|
+
label: string;
|
|
1098
1144
|
}[];
|
|
1145
|
+
controlType: "choice";
|
|
1099
1146
|
title?: string | undefined;
|
|
1100
1147
|
description?: string | undefined;
|
|
1101
1148
|
required?: boolean | undefined;
|
|
1102
|
-
showInput?: boolean | undefined;
|
|
1103
1149
|
variableName?: string | undefined;
|
|
1150
|
+
showInput?: boolean | undefined;
|
|
1104
1151
|
otherOption?: boolean | undefined;
|
|
1105
1152
|
} | {
|
|
1106
1153
|
id: string;
|
|
1107
|
-
controlType: "pictureChoice";
|
|
1108
1154
|
options: {
|
|
1109
|
-
label: string;
|
|
1110
1155
|
id: string;
|
|
1156
|
+
label: string;
|
|
1111
1157
|
image?: string | undefined;
|
|
1112
1158
|
}[];
|
|
1159
|
+
controlType: "pictureChoice";
|
|
1113
1160
|
title?: string | undefined;
|
|
1114
1161
|
description?: string | undefined;
|
|
1115
1162
|
icon?: string | undefined;
|
|
@@ -1122,13 +1169,13 @@ export declare const useFormViewerStore: () => {
|
|
|
1122
1169
|
title?: string | undefined;
|
|
1123
1170
|
description?: string | undefined;
|
|
1124
1171
|
icon?: string | undefined;
|
|
1172
|
+
required?: boolean | undefined;
|
|
1173
|
+
variableName?: string | undefined;
|
|
1125
1174
|
multiple?: boolean | undefined;
|
|
1126
1175
|
maxFiles?: number | undefined;
|
|
1127
1176
|
minFiles?: number | undefined;
|
|
1128
1177
|
accept?: string[] | undefined;
|
|
1129
1178
|
maxSize?: number | undefined;
|
|
1130
|
-
required?: boolean | undefined;
|
|
1131
|
-
variableName?: string | undefined;
|
|
1132
1179
|
} | {
|
|
1133
1180
|
id: string;
|
|
1134
1181
|
controlType: "location";
|
|
@@ -1162,10 +1209,10 @@ export declare const useFormViewerStore: () => {
|
|
|
1162
1209
|
title?: string | undefined;
|
|
1163
1210
|
description?: string | undefined;
|
|
1164
1211
|
icon?: string | undefined;
|
|
1165
|
-
yesLabel?: string | undefined;
|
|
1166
|
-
noLabel?: string | undefined;
|
|
1167
1212
|
required?: boolean | undefined;
|
|
1168
1213
|
variableName?: string | undefined;
|
|
1214
|
+
yesLabel?: string | undefined;
|
|
1215
|
+
noLabel?: string | undefined;
|
|
1169
1216
|
} | {
|
|
1170
1217
|
id: string;
|
|
1171
1218
|
controlType: "longText";
|
|
@@ -1184,9 +1231,9 @@ export declare const useFormViewerStore: () => {
|
|
|
1184
1231
|
description?: string | undefined;
|
|
1185
1232
|
icon?: string | undefined;
|
|
1186
1233
|
required?: boolean | undefined;
|
|
1234
|
+
label?: string | undefined;
|
|
1187
1235
|
showButton?: boolean | undefined;
|
|
1188
1236
|
buttonIcon?: string | undefined;
|
|
1189
|
-
label?: string | undefined;
|
|
1190
1237
|
showIconButton?: boolean | undefined;
|
|
1191
1238
|
} | {
|
|
1192
1239
|
id: string;
|
|
@@ -1194,25 +1241,25 @@ export declare const useFormViewerStore: () => {
|
|
|
1194
1241
|
title?: string | undefined;
|
|
1195
1242
|
description?: string | undefined;
|
|
1196
1243
|
required?: boolean | undefined;
|
|
1244
|
+
label?: string | undefined;
|
|
1197
1245
|
showButton?: boolean | undefined;
|
|
1198
1246
|
buttonIcon?: string | undefined;
|
|
1199
1247
|
link?: string | undefined;
|
|
1200
|
-
label?: string | undefined;
|
|
1201
1248
|
} | {
|
|
1202
1249
|
id: string;
|
|
1203
1250
|
controlType: "button";
|
|
1204
1251
|
title?: string | undefined;
|
|
1205
1252
|
description?: string | undefined;
|
|
1253
|
+
required?: boolean | undefined;
|
|
1206
1254
|
label?: string | undefined;
|
|
1207
|
-
link?: string | undefined;
|
|
1208
|
-
showIconButton?: boolean | undefined;
|
|
1209
1255
|
buttonIcon?: string | undefined;
|
|
1256
|
+
showIconButton?: boolean | undefined;
|
|
1257
|
+
link?: string | undefined;
|
|
1210
1258
|
alignButton?: "start" | "center" | "end" | undefined;
|
|
1211
1259
|
buttons?: any[] | undefined;
|
|
1212
1260
|
orientation?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
|
|
1213
1261
|
width?: number | undefined;
|
|
1214
1262
|
enableTooltip?: boolean | undefined;
|
|
1215
|
-
required?: boolean | undefined;
|
|
1216
1263
|
fullWidthMobile?: boolean | undefined;
|
|
1217
1264
|
} | {
|
|
1218
1265
|
id: string;
|
|
@@ -1229,9 +1276,9 @@ export declare const useFormViewerStore: () => {
|
|
|
1229
1276
|
autoSubmit?: boolean | undefined;
|
|
1230
1277
|
confirmLabel?: string | undefined;
|
|
1231
1278
|
media?: {
|
|
1279
|
+
image?: string | undefined;
|
|
1232
1280
|
layout?: "content" | "left" | "right" | "top" | "bottom" | "fullLeft" | "fullRight" | "fullTop" | "fullBottom" | "background" | undefined;
|
|
1233
1281
|
brightness?: number | undefined;
|
|
1234
|
-
image?: string | undefined;
|
|
1235
1282
|
video?: string | undefined;
|
|
1236
1283
|
videoThumb?: string | undefined;
|
|
1237
1284
|
color?: string | undefined;
|
|
@@ -1239,52 +1286,52 @@ export declare const useFormViewerStore: () => {
|
|
|
1239
1286
|
blur?: number | undefined;
|
|
1240
1287
|
} | undefined;
|
|
1241
1288
|
conditions?: {
|
|
1289
|
+
trigger: string;
|
|
1242
1290
|
controlId: string;
|
|
1243
1291
|
operator: string;
|
|
1244
|
-
trigger: string;
|
|
1245
1292
|
compareValue?: string | undefined;
|
|
1246
1293
|
}[] | undefined;
|
|
1247
1294
|
theme?: {
|
|
1248
|
-
size?: "sm" | "md" | "lg" | undefined;
|
|
1249
|
-
align?: "start" | "center" | "end" | undefined;
|
|
1250
|
-
listStyle?: string | undefined;
|
|
1251
|
-
borderRadius?: "sm" | "md" | "lg" | undefined;
|
|
1252
|
-
primaryColor?: string | undefined;
|
|
1253
1295
|
title?: {
|
|
1296
|
+
color?: string | undefined;
|
|
1254
1297
|
fontSize?: number | undefined;
|
|
1255
1298
|
fontWeight?: number | undefined;
|
|
1256
1299
|
fontFamily?: string | undefined;
|
|
1257
|
-
color?: string | undefined;
|
|
1258
1300
|
} | undefined;
|
|
1259
1301
|
description?: {
|
|
1302
|
+
color?: string | undefined;
|
|
1260
1303
|
fontSize?: number | undefined;
|
|
1261
1304
|
fontWeight?: number | undefined;
|
|
1262
1305
|
fontFamily?: string | undefined;
|
|
1306
|
+
} | undefined;
|
|
1307
|
+
background?: {
|
|
1308
|
+
image?: string | undefined;
|
|
1309
|
+
brightness?: number | undefined;
|
|
1263
1310
|
color?: string | undefined;
|
|
1311
|
+
blur?: number | undefined;
|
|
1312
|
+
opacity?: number | undefined;
|
|
1313
|
+
fit?: string | undefined;
|
|
1314
|
+
blendMode?: string | undefined;
|
|
1264
1315
|
} | undefined;
|
|
1316
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
1317
|
+
align?: "start" | "center" | "end" | undefined;
|
|
1318
|
+
listStyle?: string | undefined;
|
|
1319
|
+
borderRadius?: "sm" | "md" | "lg" | undefined;
|
|
1320
|
+
primaryColor?: string | undefined;
|
|
1265
1321
|
font?: {
|
|
1322
|
+
color?: string | undefined;
|
|
1266
1323
|
fontSize?: number | undefined;
|
|
1267
1324
|
fontWeight?: number | undefined;
|
|
1268
1325
|
fontFamily?: string | undefined;
|
|
1269
|
-
color?: string | undefined;
|
|
1270
1326
|
} | undefined;
|
|
1271
1327
|
container?: {
|
|
1272
1328
|
color?: string | undefined;
|
|
1273
|
-
opacity?: number | undefined;
|
|
1274
1329
|
blur?: number | undefined;
|
|
1330
|
+
opacity?: number | undefined;
|
|
1275
1331
|
backgroundImage?: string | undefined;
|
|
1276
1332
|
shadowSize?: number | undefined;
|
|
1277
1333
|
shadowColor?: string | undefined;
|
|
1278
1334
|
} | undefined;
|
|
1279
|
-
background?: {
|
|
1280
|
-
color?: string | undefined;
|
|
1281
|
-
image?: string | undefined;
|
|
1282
|
-
blur?: number | undefined;
|
|
1283
|
-
brightness?: number | undefined;
|
|
1284
|
-
opacity?: number | undefined;
|
|
1285
|
-
fit?: string | undefined;
|
|
1286
|
-
blendMode?: string | undefined;
|
|
1287
|
-
} | undefined;
|
|
1288
1335
|
input?: {
|
|
1289
1336
|
backgroundColor?: string | undefined;
|
|
1290
1337
|
borderColor?: string | undefined;
|
|
@@ -1296,57 +1343,10 @@ export declare const useFormViewerStore: () => {
|
|
|
1296
1343
|
y: number;
|
|
1297
1344
|
} | undefined;
|
|
1298
1345
|
} | undefined;
|
|
1299
|
-
theme?: {
|
|
1300
|
-
size?: "sm" | "md" | "lg" | undefined;
|
|
1301
|
-
align?: "start" | "center" | "end" | undefined;
|
|
1302
|
-
listStyle?: string | undefined;
|
|
1303
|
-
borderRadius?: "sm" | "md" | "lg" | undefined;
|
|
1304
|
-
primaryColor?: string | undefined;
|
|
1305
|
-
title?: {
|
|
1306
|
-
fontSize?: number | undefined;
|
|
1307
|
-
fontWeight?: number | undefined;
|
|
1308
|
-
fontFamily?: string | undefined;
|
|
1309
|
-
color?: string | undefined;
|
|
1310
|
-
} | undefined;
|
|
1311
|
-
description?: {
|
|
1312
|
-
fontSize?: number | undefined;
|
|
1313
|
-
fontWeight?: number | undefined;
|
|
1314
|
-
fontFamily?: string | undefined;
|
|
1315
|
-
color?: string | undefined;
|
|
1316
|
-
} | undefined;
|
|
1317
|
-
font?: {
|
|
1318
|
-
fontSize?: number | undefined;
|
|
1319
|
-
fontWeight?: number | undefined;
|
|
1320
|
-
fontFamily?: string | undefined;
|
|
1321
|
-
color?: string | undefined;
|
|
1322
|
-
} | undefined;
|
|
1323
|
-
container?: {
|
|
1324
|
-
color?: string | undefined;
|
|
1325
|
-
opacity?: number | undefined;
|
|
1326
|
-
blur?: number | undefined;
|
|
1327
|
-
backgroundImage?: string | undefined;
|
|
1328
|
-
shadowSize?: number | undefined;
|
|
1329
|
-
shadowColor?: string | undefined;
|
|
1330
|
-
} | undefined;
|
|
1331
|
-
background?: {
|
|
1332
|
-
color?: string | undefined;
|
|
1333
|
-
image?: string | undefined;
|
|
1334
|
-
blur?: number | undefined;
|
|
1335
|
-
brightness?: number | undefined;
|
|
1336
|
-
opacity?: number | undefined;
|
|
1337
|
-
fit?: string | undefined;
|
|
1338
|
-
blendMode?: string | undefined;
|
|
1339
|
-
} | undefined;
|
|
1340
|
-
input?: {
|
|
1341
|
-
backgroundColor?: string | undefined;
|
|
1342
|
-
borderColor?: string | undefined;
|
|
1343
|
-
} | undefined;
|
|
1344
|
-
customCSS?: string | undefined;
|
|
1345
|
-
} | undefined;
|
|
1346
1346
|
settings?: {
|
|
1347
|
+
layout: "slides" | "list";
|
|
1347
1348
|
slideAnimation: "vertical" | "horizontal" | "none";
|
|
1348
1349
|
freeNav: boolean;
|
|
1349
|
-
layout: "slides" | "list";
|
|
1350
1350
|
enterIndicator?: any;
|
|
1351
1351
|
progressBar?: boolean | undefined;
|
|
1352
1352
|
copyright?: boolean | undefined;
|