@layers-app/shared 0.4.0 → 0.4.1
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/useParallax.d.ts +2 -2
- package/dist/components/AppContainer/AppContainer.d.ts +6 -1
- package/dist/components/AppContainer/AppContainer.d.ts.map +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/ToolbarNewButton.d.ts +7 -2
- package/dist/components/AppContainer/components/ToolbarNewButton.d.ts.map +1 -1
- package/dist/components/AppContainer/components/ToolbarNewButton.js +14 -14
- 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 +96 -64
- package/dist/components/AttachmentsGalleryModal/components/ModalHeader.d.ts.map +1 -1
- package/dist/components/AttachmentsGalleryModal/components/ModalHeader.js +60 -47
- 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/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 +7 -0
- package/dist/components/AttachmentsGalleryModal/components/UnsupportedSection.d.ts.map +1 -0
- package/dist/components/AttachmentsGalleryModal/components/UnsupportedSection.js +17 -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/ColorPicker/ColorPicker.d.ts +12 -11
- package/dist/components/ColorPicker/ColorPicker.d.ts.map +1 -1
- package/dist/components/ColorPicker/ColorPicker.js +1 -1
- package/dist/components/ColorPicker/ColorPickerToolbar.js +11 -11
- package/dist/components/CommentComposer/useVirtualAnchor.d.ts +1 -1
- package/dist/components/CommentComposer/useVirtualAnchor.d.ts.map +1 -1
- package/dist/components/EmojiPicker/EmojiPicker.d.ts +1 -1
- package/dist/components/EmojiPicker/EmojiPicker.d.ts.map +1 -1
- package/dist/components/EntityIcon.d.ts.map +1 -1
- package/dist/components/EntityIcon.js +43 -33
- package/dist/components/FilePicker/FilePicker.d.ts.map +1 -1
- 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/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/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/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/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/Notification/Notification.js +3 -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/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/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/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/showNotifications.d.ts.map +1 -1
- package/dist/helpers/showNotifications.js +30 -29
- 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 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +336 -331
- package/dist/lang/locales/ui_en.json.js +1 -1
- package/dist/lang/locales/ui_es.json.js +1 -1
- package/dist/lang/locales/ui_ru.json.js +1 -1
- package/dist/node_modules/countries-and-timezones/esm/index.js +281 -4011
- package/package.json +13 -13
|
@@ -30,53 +30,6 @@ export declare const createFormStoreApi: (store: UseBoundStore<StoreApi<FormStor
|
|
|
30
30
|
setFormLayout: (layout: FormLayout) => void;
|
|
31
31
|
scrollToControl: (controlId: string) => void;
|
|
32
32
|
getConfig: () => Required<{
|
|
33
|
-
theme?: {
|
|
34
|
-
title?: {
|
|
35
|
-
color?: string | undefined;
|
|
36
|
-
fontSize?: number | undefined;
|
|
37
|
-
fontWeight?: number | undefined;
|
|
38
|
-
fontFamily?: string | undefined;
|
|
39
|
-
} | undefined;
|
|
40
|
-
description?: {
|
|
41
|
-
color?: string | undefined;
|
|
42
|
-
fontSize?: number | undefined;
|
|
43
|
-
fontWeight?: number | undefined;
|
|
44
|
-
fontFamily?: string | undefined;
|
|
45
|
-
} | undefined;
|
|
46
|
-
background?: {
|
|
47
|
-
image?: string | undefined;
|
|
48
|
-
brightness?: number | undefined;
|
|
49
|
-
color?: string | undefined;
|
|
50
|
-
blur?: number | undefined;
|
|
51
|
-
opacity?: number | undefined;
|
|
52
|
-
fit?: string | undefined;
|
|
53
|
-
blendMode?: string | undefined;
|
|
54
|
-
} | undefined;
|
|
55
|
-
size?: "sm" | "md" | "lg" | undefined;
|
|
56
|
-
align?: "start" | "center" | "end" | undefined;
|
|
57
|
-
listStyle?: string | undefined;
|
|
58
|
-
borderRadius?: "sm" | "md" | "lg" | undefined;
|
|
59
|
-
primaryColor?: string | undefined;
|
|
60
|
-
font?: {
|
|
61
|
-
color?: string | undefined;
|
|
62
|
-
fontSize?: number | undefined;
|
|
63
|
-
fontWeight?: number | undefined;
|
|
64
|
-
fontFamily?: string | undefined;
|
|
65
|
-
} | undefined;
|
|
66
|
-
container?: {
|
|
67
|
-
color?: string | undefined;
|
|
68
|
-
blur?: number | undefined;
|
|
69
|
-
opacity?: number | undefined;
|
|
70
|
-
backgroundImage?: string | undefined;
|
|
71
|
-
shadowSize?: number | undefined;
|
|
72
|
-
shadowColor?: string | undefined;
|
|
73
|
-
} | undefined;
|
|
74
|
-
input?: {
|
|
75
|
-
backgroundColor?: string | undefined;
|
|
76
|
-
borderColor?: string | undefined;
|
|
77
|
-
} | undefined;
|
|
78
|
-
customCSS?: string | undefined;
|
|
79
|
-
} | undefined;
|
|
80
33
|
steps?: {
|
|
81
34
|
id: string;
|
|
82
35
|
controls: ({
|
|
@@ -114,11 +67,11 @@ export declare const createFormStoreApi: (store: UseBoundStore<StoreApi<FormStor
|
|
|
114
67
|
max?: number | undefined;
|
|
115
68
|
} | {
|
|
116
69
|
id: string;
|
|
70
|
+
controlType: "multipleChoice";
|
|
117
71
|
options: {
|
|
118
|
-
id: string;
|
|
119
72
|
label: string;
|
|
73
|
+
id: string;
|
|
120
74
|
}[];
|
|
121
|
-
controlType: "multipleChoice";
|
|
122
75
|
title?: string | undefined;
|
|
123
76
|
description?: string | undefined;
|
|
124
77
|
icon?: string | undefined;
|
|
@@ -135,16 +88,16 @@ export declare const createFormStoreApi: (store: UseBoundStore<StoreApi<FormStor
|
|
|
135
88
|
description?: string | undefined;
|
|
136
89
|
icon?: string | undefined;
|
|
137
90
|
required?: boolean | undefined;
|
|
138
|
-
variableName?: string | undefined;
|
|
139
91
|
min?: number | undefined;
|
|
140
92
|
max?: number | undefined;
|
|
93
|
+
variableName?: string | undefined;
|
|
141
94
|
} | {
|
|
142
95
|
id: string;
|
|
96
|
+
controlType: "dropdown";
|
|
143
97
|
options: {
|
|
144
|
-
id: string;
|
|
145
98
|
label: string;
|
|
99
|
+
id: string;
|
|
146
100
|
}[];
|
|
147
|
-
controlType: "dropdown";
|
|
148
101
|
title?: string | undefined;
|
|
149
102
|
description?: string | undefined;
|
|
150
103
|
icon?: string | undefined;
|
|
@@ -153,25 +106,25 @@ export declare const createFormStoreApi: (store: UseBoundStore<StoreApi<FormStor
|
|
|
153
106
|
variableName?: string | undefined;
|
|
154
107
|
} | {
|
|
155
108
|
id: string;
|
|
109
|
+
controlType: "choice";
|
|
156
110
|
options: {
|
|
157
|
-
id: string;
|
|
158
111
|
label: string;
|
|
112
|
+
id: string;
|
|
159
113
|
}[];
|
|
160
|
-
controlType: "choice";
|
|
161
114
|
title?: string | undefined;
|
|
162
115
|
description?: string | undefined;
|
|
163
116
|
required?: boolean | undefined;
|
|
164
|
-
variableName?: string | undefined;
|
|
165
117
|
showInput?: boolean | undefined;
|
|
118
|
+
variableName?: string | undefined;
|
|
166
119
|
otherOption?: boolean | undefined;
|
|
167
120
|
} | {
|
|
168
121
|
id: string;
|
|
122
|
+
controlType: "pictureChoice";
|
|
169
123
|
options: {
|
|
170
|
-
id: string;
|
|
171
124
|
label: string;
|
|
125
|
+
id: string;
|
|
172
126
|
image?: string | undefined;
|
|
173
127
|
}[];
|
|
174
|
-
controlType: "pictureChoice";
|
|
175
128
|
title?: string | undefined;
|
|
176
129
|
description?: string | undefined;
|
|
177
130
|
icon?: string | undefined;
|
|
@@ -184,13 +137,13 @@ export declare const createFormStoreApi: (store: UseBoundStore<StoreApi<FormStor
|
|
|
184
137
|
title?: string | undefined;
|
|
185
138
|
description?: string | undefined;
|
|
186
139
|
icon?: string | undefined;
|
|
187
|
-
required?: boolean | undefined;
|
|
188
|
-
variableName?: string | undefined;
|
|
189
140
|
multiple?: boolean | undefined;
|
|
190
141
|
maxFiles?: number | undefined;
|
|
191
142
|
minFiles?: number | undefined;
|
|
192
143
|
accept?: string[] | undefined;
|
|
193
144
|
maxSize?: number | undefined;
|
|
145
|
+
required?: boolean | undefined;
|
|
146
|
+
variableName?: string | undefined;
|
|
194
147
|
} | {
|
|
195
148
|
id: string;
|
|
196
149
|
controlType: "location";
|
|
@@ -224,10 +177,10 @@ export declare const createFormStoreApi: (store: UseBoundStore<StoreApi<FormStor
|
|
|
224
177
|
title?: string | undefined;
|
|
225
178
|
description?: string | undefined;
|
|
226
179
|
icon?: string | undefined;
|
|
227
|
-
required?: boolean | undefined;
|
|
228
|
-
variableName?: string | undefined;
|
|
229
180
|
yesLabel?: string | undefined;
|
|
230
181
|
noLabel?: string | undefined;
|
|
182
|
+
required?: boolean | undefined;
|
|
183
|
+
variableName?: string | undefined;
|
|
231
184
|
} | {
|
|
232
185
|
id: string;
|
|
233
186
|
controlType: "longText";
|
|
@@ -246,9 +199,9 @@ export declare const createFormStoreApi: (store: UseBoundStore<StoreApi<FormStor
|
|
|
246
199
|
description?: string | undefined;
|
|
247
200
|
icon?: string | undefined;
|
|
248
201
|
required?: boolean | undefined;
|
|
249
|
-
label?: string | undefined;
|
|
250
202
|
showButton?: boolean | undefined;
|
|
251
203
|
buttonIcon?: string | undefined;
|
|
204
|
+
label?: string | undefined;
|
|
252
205
|
showIconButton?: boolean | undefined;
|
|
253
206
|
} | {
|
|
254
207
|
id: string;
|
|
@@ -256,25 +209,25 @@ export declare const createFormStoreApi: (store: UseBoundStore<StoreApi<FormStor
|
|
|
256
209
|
title?: string | undefined;
|
|
257
210
|
description?: string | undefined;
|
|
258
211
|
required?: boolean | undefined;
|
|
259
|
-
label?: string | undefined;
|
|
260
212
|
showButton?: boolean | undefined;
|
|
261
213
|
buttonIcon?: string | undefined;
|
|
262
214
|
link?: string | undefined;
|
|
215
|
+
label?: string | undefined;
|
|
263
216
|
} | {
|
|
264
217
|
id: string;
|
|
265
218
|
controlType: "button";
|
|
266
219
|
title?: string | undefined;
|
|
267
220
|
description?: string | undefined;
|
|
268
|
-
required?: boolean | undefined;
|
|
269
221
|
label?: string | undefined;
|
|
270
|
-
buttonIcon?: string | undefined;
|
|
271
|
-
showIconButton?: boolean | undefined;
|
|
272
222
|
link?: string | undefined;
|
|
223
|
+
showIconButton?: boolean | undefined;
|
|
224
|
+
buttonIcon?: string | undefined;
|
|
273
225
|
alignButton?: "start" | "center" | "end" | undefined;
|
|
274
226
|
buttons?: any[] | undefined;
|
|
275
227
|
orientation?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
|
|
276
228
|
width?: number | undefined;
|
|
277
229
|
enableTooltip?: boolean | undefined;
|
|
230
|
+
required?: boolean | undefined;
|
|
278
231
|
fullWidthMobile?: boolean | undefined;
|
|
279
232
|
} | {
|
|
280
233
|
id: string;
|
|
@@ -291,9 +244,9 @@ export declare const createFormStoreApi: (store: UseBoundStore<StoreApi<FormStor
|
|
|
291
244
|
autoSubmit?: boolean | undefined;
|
|
292
245
|
confirmLabel?: string | undefined;
|
|
293
246
|
media?: {
|
|
294
|
-
image?: string | undefined;
|
|
295
247
|
layout?: "content" | "left" | "right" | "top" | "bottom" | "fullLeft" | "fullRight" | "fullTop" | "fullBottom" | "background" | undefined;
|
|
296
248
|
brightness?: number | undefined;
|
|
249
|
+
image?: string | undefined;
|
|
297
250
|
video?: string | undefined;
|
|
298
251
|
videoThumb?: string | undefined;
|
|
299
252
|
color?: string | undefined;
|
|
@@ -301,52 +254,52 @@ export declare const createFormStoreApi: (store: UseBoundStore<StoreApi<FormStor
|
|
|
301
254
|
blur?: number | undefined;
|
|
302
255
|
} | undefined;
|
|
303
256
|
conditions?: {
|
|
304
|
-
trigger: string;
|
|
305
257
|
controlId: string;
|
|
306
258
|
operator: string;
|
|
259
|
+
trigger: string;
|
|
307
260
|
compareValue?: string | undefined;
|
|
308
261
|
}[] | undefined;
|
|
309
262
|
theme?: {
|
|
263
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
264
|
+
align?: "start" | "center" | "end" | undefined;
|
|
265
|
+
listStyle?: string | undefined;
|
|
266
|
+
borderRadius?: "sm" | "md" | "lg" | undefined;
|
|
267
|
+
primaryColor?: string | undefined;
|
|
310
268
|
title?: {
|
|
311
|
-
color?: string | undefined;
|
|
312
269
|
fontSize?: number | undefined;
|
|
313
270
|
fontWeight?: number | undefined;
|
|
314
271
|
fontFamily?: string | undefined;
|
|
272
|
+
color?: string | undefined;
|
|
315
273
|
} | undefined;
|
|
316
274
|
description?: {
|
|
317
|
-
color?: string | undefined;
|
|
318
275
|
fontSize?: number | undefined;
|
|
319
276
|
fontWeight?: number | undefined;
|
|
320
277
|
fontFamily?: string | undefined;
|
|
321
|
-
} | undefined;
|
|
322
|
-
background?: {
|
|
323
|
-
image?: string | undefined;
|
|
324
|
-
brightness?: number | undefined;
|
|
325
278
|
color?: string | undefined;
|
|
326
|
-
blur?: number | undefined;
|
|
327
|
-
opacity?: number | undefined;
|
|
328
|
-
fit?: string | undefined;
|
|
329
|
-
blendMode?: string | undefined;
|
|
330
279
|
} | undefined;
|
|
331
|
-
size?: "sm" | "md" | "lg" | undefined;
|
|
332
|
-
align?: "start" | "center" | "end" | undefined;
|
|
333
|
-
listStyle?: string | undefined;
|
|
334
|
-
borderRadius?: "sm" | "md" | "lg" | undefined;
|
|
335
|
-
primaryColor?: string | undefined;
|
|
336
280
|
font?: {
|
|
337
|
-
color?: string | undefined;
|
|
338
281
|
fontSize?: number | undefined;
|
|
339
282
|
fontWeight?: number | undefined;
|
|
340
283
|
fontFamily?: string | undefined;
|
|
284
|
+
color?: string | undefined;
|
|
341
285
|
} | undefined;
|
|
342
286
|
container?: {
|
|
343
287
|
color?: string | undefined;
|
|
344
|
-
blur?: number | undefined;
|
|
345
288
|
opacity?: number | undefined;
|
|
289
|
+
blur?: number | undefined;
|
|
346
290
|
backgroundImage?: string | undefined;
|
|
347
291
|
shadowSize?: number | undefined;
|
|
348
292
|
shadowColor?: string | undefined;
|
|
349
293
|
} | undefined;
|
|
294
|
+
background?: {
|
|
295
|
+
color?: string | undefined;
|
|
296
|
+
image?: string | undefined;
|
|
297
|
+
blur?: number | undefined;
|
|
298
|
+
brightness?: number | undefined;
|
|
299
|
+
opacity?: number | undefined;
|
|
300
|
+
fit?: string | undefined;
|
|
301
|
+
blendMode?: string | undefined;
|
|
302
|
+
} | undefined;
|
|
350
303
|
input?: {
|
|
351
304
|
backgroundColor?: string | undefined;
|
|
352
305
|
borderColor?: string | undefined;
|
|
@@ -395,11 +348,11 @@ export declare const createFormStoreApi: (store: UseBoundStore<StoreApi<FormStor
|
|
|
395
348
|
max?: number | undefined;
|
|
396
349
|
} | {
|
|
397
350
|
id: string;
|
|
351
|
+
controlType: "multipleChoice";
|
|
398
352
|
options: {
|
|
399
|
-
id: string;
|
|
400
353
|
label: string;
|
|
354
|
+
id: string;
|
|
401
355
|
}[];
|
|
402
|
-
controlType: "multipleChoice";
|
|
403
356
|
title?: string | undefined;
|
|
404
357
|
description?: string | undefined;
|
|
405
358
|
icon?: string | undefined;
|
|
@@ -416,16 +369,16 @@ export declare const createFormStoreApi: (store: UseBoundStore<StoreApi<FormStor
|
|
|
416
369
|
description?: string | undefined;
|
|
417
370
|
icon?: string | undefined;
|
|
418
371
|
required?: boolean | undefined;
|
|
419
|
-
variableName?: string | undefined;
|
|
420
372
|
min?: number | undefined;
|
|
421
373
|
max?: number | undefined;
|
|
374
|
+
variableName?: string | undefined;
|
|
422
375
|
} | {
|
|
423
376
|
id: string;
|
|
377
|
+
controlType: "dropdown";
|
|
424
378
|
options: {
|
|
425
|
-
id: string;
|
|
426
379
|
label: string;
|
|
380
|
+
id: string;
|
|
427
381
|
}[];
|
|
428
|
-
controlType: "dropdown";
|
|
429
382
|
title?: string | undefined;
|
|
430
383
|
description?: string | undefined;
|
|
431
384
|
icon?: string | undefined;
|
|
@@ -434,25 +387,25 @@ export declare const createFormStoreApi: (store: UseBoundStore<StoreApi<FormStor
|
|
|
434
387
|
variableName?: string | undefined;
|
|
435
388
|
} | {
|
|
436
389
|
id: string;
|
|
390
|
+
controlType: "choice";
|
|
437
391
|
options: {
|
|
438
|
-
id: string;
|
|
439
392
|
label: string;
|
|
393
|
+
id: string;
|
|
440
394
|
}[];
|
|
441
|
-
controlType: "choice";
|
|
442
395
|
title?: string | undefined;
|
|
443
396
|
description?: string | undefined;
|
|
444
397
|
required?: boolean | undefined;
|
|
445
|
-
variableName?: string | undefined;
|
|
446
398
|
showInput?: boolean | undefined;
|
|
399
|
+
variableName?: string | undefined;
|
|
447
400
|
otherOption?: boolean | undefined;
|
|
448
401
|
} | {
|
|
449
402
|
id: string;
|
|
403
|
+
controlType: "pictureChoice";
|
|
450
404
|
options: {
|
|
451
|
-
id: string;
|
|
452
405
|
label: string;
|
|
406
|
+
id: string;
|
|
453
407
|
image?: string | undefined;
|
|
454
408
|
}[];
|
|
455
|
-
controlType: "pictureChoice";
|
|
456
409
|
title?: string | undefined;
|
|
457
410
|
description?: string | undefined;
|
|
458
411
|
icon?: string | undefined;
|
|
@@ -465,13 +418,13 @@ export declare const createFormStoreApi: (store: UseBoundStore<StoreApi<FormStor
|
|
|
465
418
|
title?: string | undefined;
|
|
466
419
|
description?: string | undefined;
|
|
467
420
|
icon?: string | undefined;
|
|
468
|
-
required?: boolean | undefined;
|
|
469
|
-
variableName?: string | undefined;
|
|
470
421
|
multiple?: boolean | undefined;
|
|
471
422
|
maxFiles?: number | undefined;
|
|
472
423
|
minFiles?: number | undefined;
|
|
473
424
|
accept?: string[] | undefined;
|
|
474
425
|
maxSize?: number | undefined;
|
|
426
|
+
required?: boolean | undefined;
|
|
427
|
+
variableName?: string | undefined;
|
|
475
428
|
} | {
|
|
476
429
|
id: string;
|
|
477
430
|
controlType: "location";
|
|
@@ -505,10 +458,10 @@ export declare const createFormStoreApi: (store: UseBoundStore<StoreApi<FormStor
|
|
|
505
458
|
title?: string | undefined;
|
|
506
459
|
description?: string | undefined;
|
|
507
460
|
icon?: string | undefined;
|
|
508
|
-
required?: boolean | undefined;
|
|
509
|
-
variableName?: string | undefined;
|
|
510
461
|
yesLabel?: string | undefined;
|
|
511
462
|
noLabel?: string | undefined;
|
|
463
|
+
required?: boolean | undefined;
|
|
464
|
+
variableName?: string | undefined;
|
|
512
465
|
} | {
|
|
513
466
|
id: string;
|
|
514
467
|
controlType: "longText";
|
|
@@ -527,9 +480,9 @@ export declare const createFormStoreApi: (store: UseBoundStore<StoreApi<FormStor
|
|
|
527
480
|
description?: string | undefined;
|
|
528
481
|
icon?: string | undefined;
|
|
529
482
|
required?: boolean | undefined;
|
|
530
|
-
label?: string | undefined;
|
|
531
483
|
showButton?: boolean | undefined;
|
|
532
484
|
buttonIcon?: string | undefined;
|
|
485
|
+
label?: string | undefined;
|
|
533
486
|
showIconButton?: boolean | undefined;
|
|
534
487
|
} | {
|
|
535
488
|
id: string;
|
|
@@ -537,25 +490,25 @@ export declare const createFormStoreApi: (store: UseBoundStore<StoreApi<FormStor
|
|
|
537
490
|
title?: string | undefined;
|
|
538
491
|
description?: string | undefined;
|
|
539
492
|
required?: boolean | undefined;
|
|
540
|
-
label?: string | undefined;
|
|
541
493
|
showButton?: boolean | undefined;
|
|
542
494
|
buttonIcon?: string | undefined;
|
|
543
495
|
link?: string | undefined;
|
|
496
|
+
label?: string | undefined;
|
|
544
497
|
} | {
|
|
545
498
|
id: string;
|
|
546
499
|
controlType: "button";
|
|
547
500
|
title?: string | undefined;
|
|
548
501
|
description?: string | undefined;
|
|
549
|
-
required?: boolean | undefined;
|
|
550
502
|
label?: string | undefined;
|
|
551
|
-
buttonIcon?: string | undefined;
|
|
552
|
-
showIconButton?: boolean | undefined;
|
|
553
503
|
link?: string | undefined;
|
|
504
|
+
showIconButton?: boolean | undefined;
|
|
505
|
+
buttonIcon?: string | undefined;
|
|
554
506
|
alignButton?: "start" | "center" | "end" | undefined;
|
|
555
507
|
buttons?: any[] | undefined;
|
|
556
508
|
orientation?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
|
|
557
509
|
width?: number | undefined;
|
|
558
510
|
enableTooltip?: boolean | undefined;
|
|
511
|
+
required?: boolean | undefined;
|
|
559
512
|
fullWidthMobile?: boolean | undefined;
|
|
560
513
|
} | {
|
|
561
514
|
id: string;
|
|
@@ -572,9 +525,9 @@ export declare const createFormStoreApi: (store: UseBoundStore<StoreApi<FormStor
|
|
|
572
525
|
autoSubmit?: boolean | undefined;
|
|
573
526
|
confirmLabel?: string | undefined;
|
|
574
527
|
media?: {
|
|
575
|
-
image?: string | undefined;
|
|
576
528
|
layout?: "content" | "left" | "right" | "top" | "bottom" | "fullLeft" | "fullRight" | "fullTop" | "fullBottom" | "background" | undefined;
|
|
577
529
|
brightness?: number | undefined;
|
|
530
|
+
image?: string | undefined;
|
|
578
531
|
video?: string | undefined;
|
|
579
532
|
videoThumb?: string | undefined;
|
|
580
533
|
color?: string | undefined;
|
|
@@ -582,52 +535,52 @@ export declare const createFormStoreApi: (store: UseBoundStore<StoreApi<FormStor
|
|
|
582
535
|
blur?: number | undefined;
|
|
583
536
|
} | undefined;
|
|
584
537
|
conditions?: {
|
|
585
|
-
trigger: string;
|
|
586
538
|
controlId: string;
|
|
587
539
|
operator: string;
|
|
540
|
+
trigger: string;
|
|
588
541
|
compareValue?: string | undefined;
|
|
589
542
|
}[] | undefined;
|
|
590
543
|
theme?: {
|
|
544
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
545
|
+
align?: "start" | "center" | "end" | undefined;
|
|
546
|
+
listStyle?: string | undefined;
|
|
547
|
+
borderRadius?: "sm" | "md" | "lg" | undefined;
|
|
548
|
+
primaryColor?: string | undefined;
|
|
591
549
|
title?: {
|
|
592
|
-
color?: string | undefined;
|
|
593
550
|
fontSize?: number | undefined;
|
|
594
551
|
fontWeight?: number | undefined;
|
|
595
552
|
fontFamily?: string | undefined;
|
|
553
|
+
color?: string | undefined;
|
|
596
554
|
} | undefined;
|
|
597
555
|
description?: {
|
|
598
|
-
color?: string | undefined;
|
|
599
556
|
fontSize?: number | undefined;
|
|
600
557
|
fontWeight?: number | undefined;
|
|
601
558
|
fontFamily?: string | undefined;
|
|
602
|
-
} | undefined;
|
|
603
|
-
background?: {
|
|
604
|
-
image?: string | undefined;
|
|
605
|
-
brightness?: number | undefined;
|
|
606
559
|
color?: string | undefined;
|
|
607
|
-
blur?: number | undefined;
|
|
608
|
-
opacity?: number | undefined;
|
|
609
|
-
fit?: string | undefined;
|
|
610
|
-
blendMode?: string | undefined;
|
|
611
560
|
} | undefined;
|
|
612
|
-
size?: "sm" | "md" | "lg" | undefined;
|
|
613
|
-
align?: "start" | "center" | "end" | undefined;
|
|
614
|
-
listStyle?: string | undefined;
|
|
615
|
-
borderRadius?: "sm" | "md" | "lg" | undefined;
|
|
616
|
-
primaryColor?: string | undefined;
|
|
617
561
|
font?: {
|
|
618
|
-
color?: string | undefined;
|
|
619
562
|
fontSize?: number | undefined;
|
|
620
563
|
fontWeight?: number | undefined;
|
|
621
564
|
fontFamily?: string | undefined;
|
|
565
|
+
color?: string | undefined;
|
|
622
566
|
} | undefined;
|
|
623
567
|
container?: {
|
|
624
568
|
color?: string | undefined;
|
|
625
|
-
blur?: number | undefined;
|
|
626
569
|
opacity?: number | undefined;
|
|
570
|
+
blur?: number | undefined;
|
|
627
571
|
backgroundImage?: string | undefined;
|
|
628
572
|
shadowSize?: number | undefined;
|
|
629
573
|
shadowColor?: string | undefined;
|
|
630
574
|
} | undefined;
|
|
575
|
+
background?: {
|
|
576
|
+
color?: string | undefined;
|
|
577
|
+
image?: string | undefined;
|
|
578
|
+
blur?: number | undefined;
|
|
579
|
+
brightness?: number | undefined;
|
|
580
|
+
opacity?: number | undefined;
|
|
581
|
+
fit?: string | undefined;
|
|
582
|
+
blendMode?: string | undefined;
|
|
583
|
+
} | undefined;
|
|
631
584
|
input?: {
|
|
632
585
|
backgroundColor?: string | undefined;
|
|
633
586
|
borderColor?: string | undefined;
|
|
@@ -639,10 +592,57 @@ export declare const createFormStoreApi: (store: UseBoundStore<StoreApi<FormStor
|
|
|
639
592
|
y: number;
|
|
640
593
|
} | undefined;
|
|
641
594
|
} | undefined;
|
|
595
|
+
theme?: {
|
|
596
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
597
|
+
align?: "start" | "center" | "end" | undefined;
|
|
598
|
+
listStyle?: string | undefined;
|
|
599
|
+
borderRadius?: "sm" | "md" | "lg" | undefined;
|
|
600
|
+
primaryColor?: string | undefined;
|
|
601
|
+
title?: {
|
|
602
|
+
fontSize?: number | undefined;
|
|
603
|
+
fontWeight?: number | undefined;
|
|
604
|
+
fontFamily?: string | undefined;
|
|
605
|
+
color?: string | undefined;
|
|
606
|
+
} | undefined;
|
|
607
|
+
description?: {
|
|
608
|
+
fontSize?: number | undefined;
|
|
609
|
+
fontWeight?: number | undefined;
|
|
610
|
+
fontFamily?: string | undefined;
|
|
611
|
+
color?: string | undefined;
|
|
612
|
+
} | undefined;
|
|
613
|
+
font?: {
|
|
614
|
+
fontSize?: number | undefined;
|
|
615
|
+
fontWeight?: number | undefined;
|
|
616
|
+
fontFamily?: string | undefined;
|
|
617
|
+
color?: string | undefined;
|
|
618
|
+
} | undefined;
|
|
619
|
+
container?: {
|
|
620
|
+
color?: string | undefined;
|
|
621
|
+
opacity?: number | undefined;
|
|
622
|
+
blur?: number | undefined;
|
|
623
|
+
backgroundImage?: string | undefined;
|
|
624
|
+
shadowSize?: number | undefined;
|
|
625
|
+
shadowColor?: string | undefined;
|
|
626
|
+
} | undefined;
|
|
627
|
+
background?: {
|
|
628
|
+
color?: string | undefined;
|
|
629
|
+
image?: string | undefined;
|
|
630
|
+
blur?: number | undefined;
|
|
631
|
+
brightness?: number | undefined;
|
|
632
|
+
opacity?: number | undefined;
|
|
633
|
+
fit?: string | undefined;
|
|
634
|
+
blendMode?: string | undefined;
|
|
635
|
+
} | undefined;
|
|
636
|
+
input?: {
|
|
637
|
+
backgroundColor?: string | undefined;
|
|
638
|
+
borderColor?: string | undefined;
|
|
639
|
+
} | undefined;
|
|
640
|
+
customCSS?: string | undefined;
|
|
641
|
+
} | undefined;
|
|
642
642
|
settings?: {
|
|
643
|
-
layout: "slides" | "list";
|
|
644
643
|
slideAnimation: "vertical" | "horizontal" | "none";
|
|
645
644
|
freeNav: boolean;
|
|
645
|
+
layout: "slides" | "list";
|
|
646
646
|
enterIndicator?: any;
|
|
647
647
|
progressBar?: boolean | undefined;
|
|
648
648
|
copyright?: boolean | undefined;
|