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