@layers-app/shared 0.3.8 → 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.
Files changed (200) hide show
  1. package/dist/components/AnimatedFigurePage/AnimatedFigurePage.module.css.js +10 -10
  2. package/dist/components/AnimatedFigurePage/useParallax.d.ts +2 -2
  3. package/dist/components/AppContainer/AppContainer.module.css.js +1 -1
  4. package/dist/components/AppContainer/components/AppSidebarButton.d.ts +1 -4
  5. package/dist/components/AppContainer/components/AppSidebarButton.d.ts.map +1 -1
  6. package/dist/components/AppContainer/components/AppSidebarButton.js +15 -22
  7. package/dist/components/AppContainer/components/AppsSidebar/AppsSection.d.ts.map +1 -1
  8. package/dist/components/AppContainer/components/AppsSidebar/AppsSection.js +21 -22
  9. package/dist/components/AppContainer/components/AppsSidebar/UserSection.d.ts.map +1 -1
  10. package/dist/components/AppContainer/components/AppsSidebar/UserSection.js +91 -48
  11. package/dist/components/AppContainer/components/menus/HelpMenu/HelpMenu.module.css.js +1 -1
  12. package/dist/components/AppShell/AppShell.module.css.js +5 -5
  13. package/dist/components/AttachmentsGalleryModal/components/GallerySlide.d.ts +1 -3
  14. package/dist/components/AttachmentsGalleryModal/components/GallerySlide.d.ts.map +1 -1
  15. package/dist/components/AttachmentsGalleryModal/components/GallerySlide.js +63 -89
  16. package/dist/components/AttachmentsGalleryModal/components/ShakePlayer/ShakaPlayer.d.ts +1 -1
  17. package/dist/components/AttachmentsGalleryModal/components/ShakePlayer/ShakaPlayer.d.ts.map +1 -1
  18. package/dist/components/AttachmentsGalleryModal/components/ShakePlayer/ShakaPlayer.js +26 -35
  19. package/dist/components/AttachmentsGalleryModal/components/ShakePlayer/ShakaPlayer.module.css.js +4 -4
  20. package/dist/components/AttachmentsGalleryModal/components/ShakePlayer/useShakePlayer.d.ts +1 -1
  21. package/dist/components/AttachmentsGalleryModal/components/ShakePlayer/useShakePlayer.d.ts.map +1 -1
  22. package/dist/components/AttachmentsGalleryModal/components/ShakePlayer/useShakePlayer.js +36 -43
  23. package/dist/components/AttachmentsGalleryModal/hooks/useGetPreviewUrl.d.ts +0 -4
  24. package/dist/components/AttachmentsGalleryModal/hooks/useGetPreviewUrl.d.ts.map +1 -1
  25. package/dist/components/AttachmentsGalleryModal/hooks/useGetPreviewUrl.js +20 -59
  26. package/dist/components/AttachmentsGalleryModal/styles.module.css.js +18 -28
  27. package/dist/components/AttachmentsPreview/AttachmentsPreview.d.ts.map +1 -1
  28. package/dist/components/AttachmentsPreview/AttachmentsPreview.js +18 -22
  29. package/dist/components/AttachmentsPreview/AttachmentsPreview.module.css.js +1 -1
  30. package/dist/components/BouncingLogo/BouncingLogo.module.css.js +8 -8
  31. package/dist/components/CollapsibleContainer/CollapsibleContainer.module.css.js +1 -1
  32. package/dist/components/ColorPicker/ColorPicker.d.ts +21 -19
  33. package/dist/components/ColorPicker/ColorPicker.d.ts.map +1 -1
  34. package/dist/components/ColorPicker/ColorPicker.js +144 -136
  35. package/dist/components/ColorPicker/ColorPicker.module.css.js +31 -0
  36. package/dist/components/ColorPicker/ColorPickerList.d.ts +6 -0
  37. package/dist/components/ColorPicker/ColorPickerList.d.ts.map +1 -0
  38. package/dist/components/ColorPicker/ColorPickerList.js +134 -0
  39. package/dist/components/ColorPicker/ColorPickerToolbar.d.ts +13 -0
  40. package/dist/components/ColorPicker/ColorPickerToolbar.d.ts.map +1 -0
  41. package/dist/components/ColorPicker/ColorPickerToolbar.js +149 -0
  42. package/dist/components/ColorPicker/icons.d.ts +11 -0
  43. package/dist/components/ColorPicker/icons.d.ts.map +1 -0
  44. package/dist/components/ColorPicker/icons.js +71 -0
  45. package/dist/components/ColorPicker/types.d.ts +49 -0
  46. package/dist/components/ColorPicker/types.d.ts.map +1 -0
  47. package/dist/components/ColorPicker/types.js +10 -0
  48. package/dist/components/ColorPicker/useRecentColors.d.ts +13 -0
  49. package/dist/components/ColorPicker/useRecentColors.d.ts.map +1 -0
  50. package/dist/components/ColorPicker/useRecentColors.js +39 -0
  51. package/dist/components/CommentComposer/CommentComposer.module.css.js +4 -4
  52. package/dist/components/CommentComposer/CommentEditorHotkeys.d.ts.map +1 -1
  53. package/dist/components/CommentComposer/CommentEditorHotkeys.js +4 -3
  54. package/dist/components/CommentComposer/index.js +1 -1
  55. package/dist/components/CommentComposer/useVirtualAnchor.d.ts +1 -1
  56. package/dist/components/CommentComposer/useVirtualAnchor.d.ts.map +1 -1
  57. package/dist/components/CommunitiesDialog/styles.module.css.js +1 -1
  58. package/dist/components/Copyright/Copyright.module.css.js +1 -1
  59. package/dist/components/CustomKBD/CustomKBD.module.css.js +1 -1
  60. package/dist/components/EmojiPicker/EmojiPanel.d.ts.map +1 -1
  61. package/dist/components/EmojiPicker/EmojiPanel.js +22 -22
  62. package/dist/components/EmojiPicker/EmojiPicker.d.ts +1 -0
  63. package/dist/components/EmojiPicker/EmojiPicker.d.ts.map +1 -1
  64. package/dist/components/EmojiPicker/EmojiPicker.js +1 -0
  65. package/dist/components/EmojiPicker/EmojiPicker.module.css.js +8 -8
  66. package/dist/components/EmojiPicker/IconsPanel.js +13 -13
  67. package/dist/components/EntityIcon.d.ts.map +1 -1
  68. package/dist/components/EntityIcon.js +33 -43
  69. package/dist/components/EntityTitle/EntityTitle.module.css.js +1 -1
  70. package/dist/components/ErrorPage/components/Error404.d.ts.map +1 -1
  71. package/dist/components/FeatureProgress/FeatureProgress.module.css.js +49 -49
  72. package/dist/components/FilePicker/FilePicker.d.ts +4 -2
  73. package/dist/components/FilePicker/FilePicker.d.ts.map +1 -1
  74. package/dist/components/FilePicker/FilePicker.js +241 -226
  75. package/dist/components/FilePicker/FilePicker.module.css.js +14 -12
  76. package/dist/components/FilePicker/FilePickerGallery.d.ts.map +1 -1
  77. package/dist/components/FilePicker/FilePickerGallery.js +60 -34
  78. package/dist/components/FilePicker/FilePickerGiphy.d.ts.map +1 -1
  79. package/dist/components/FilePicker/FilePickerGiphy.js +38 -39
  80. package/dist/components/FilePicker/FilePickerLink.d.ts.map +1 -1
  81. package/dist/components/FilePicker/FilePickerLink.js +29 -26
  82. package/dist/components/FilePicker/FilePickerUnsplash.d.ts.map +1 -1
  83. package/dist/components/FilePicker/FilePickerUnsplash.js +42 -43
  84. package/dist/components/FilePicker/FilePickerUpload.d.ts.map +1 -1
  85. package/dist/components/FilePicker/FilePickerUpload.js +51 -35
  86. package/dist/components/FilePicker/coverCollections.d.ts +4 -0
  87. package/dist/components/FilePicker/coverCollections.d.ts.map +1 -0
  88. package/dist/components/FilePicker/coverCollections.js +164 -0
  89. package/dist/components/FilePicker/index.d.ts +1 -0
  90. package/dist/components/FilePicker/index.d.ts.map +1 -1
  91. package/dist/components/FormViewer/FormViewer.module.css.js +20 -20
  92. package/dist/components/FormViewer/components/fields/DragOptions/DragOptions.module.css.js +1 -1
  93. package/dist/components/FormViewer/components/fields/DropdownField/DropdownField.module.css.js +1 -1
  94. package/dist/components/FormViewer/components/fields/EditableContent/EditableContent.module.css.js +1 -1
  95. package/dist/components/FormViewer/components/fields/SelectableCard/SelectableCard.module.css.js +8 -8
  96. package/dist/components/FormViewer/components/fields/UploadField/UploadFile/UploadFile.module.css.js +4 -4
  97. package/dist/components/FormViewer/helpers/conditions.d.ts +38 -38
  98. package/dist/components/FormViewer/helpers/helpers.d.ts +38 -38
  99. package/dist/components/FormViewer/helpers/steps.d.ts +38 -38
  100. package/dist/components/FormViewer/hooks/useActiveControl.d.ts +19 -19
  101. package/dist/components/FormViewer/hooks/useActiveStep.d.ts +38 -38
  102. package/dist/components/FormViewer/hooks/useFormGlobalTheme.d.ts +0 -6
  103. package/dist/components/FormViewer/hooks/useFormGlobalTheme.d.ts.map +1 -1
  104. package/dist/components/FormViewer/hooks/useFormGlobalTheme.js +3 -4
  105. package/dist/components/FormViewer/hooks/useFormMobile.d.ts +1 -1
  106. package/dist/components/FormViewer/hooks/useFormMobile.d.ts.map +1 -1
  107. package/dist/components/FormViewer/store/formStore.d.ts +248 -248
  108. package/dist/components/FormViewer/store/formStore.d.ts.map +1 -1
  109. package/dist/components/FormViewer/store/formStoreApi.d.ts +124 -124
  110. package/dist/components/FormViewer/store/selectors.d.ts +11655 -11655
  111. package/dist/components/FormViewer/types/form.d.ts +1 -1
  112. package/dist/components/FormViewer/types/form.d.ts.map +1 -1
  113. package/dist/components/FormViewer/types/schemes.d.ts +6358 -381
  114. package/dist/components/FormViewer/types/schemes.d.ts.map +1 -1
  115. package/dist/components/FormViewer/types/schemes.js +1 -1
  116. package/dist/components/GroupAvatar/index.d.ts +1 -3
  117. package/dist/components/GroupAvatar/index.d.ts.map +1 -1
  118. package/dist/components/GroupAvatar/index.js +21 -24
  119. package/dist/components/ImageCropper/ImageCropper.module.css.js +38 -38
  120. package/dist/components/IntegrationFlowAnimation/IntegrationFlowAnimation.module.css.js +11 -11
  121. package/dist/components/LanguagePicker/LanguagePicker.module.css.js +1 -1
  122. package/dist/components/Loaders/styles.module.css.js +6 -6
  123. package/dist/components/MediaLibrary/MediaLibrary.module.css.js +2 -2
  124. package/dist/components/MediaLibrary/MediaLibraryRow.js +7 -7
  125. package/dist/components/NavMenu/NavMenu.d.ts +1 -3
  126. package/dist/components/NavMenu/NavMenu.d.ts.map +1 -1
  127. package/dist/components/NavMenu/NavMenu.module.css.js +12 -12
  128. package/dist/components/NavMenu/components/DnDProvider.d.ts +1 -1
  129. package/dist/components/NavMenu/components/DnDProvider.d.ts.map +1 -1
  130. package/dist/components/NavMenu/components/NavMenuActionIcon.d.ts +1 -7
  131. package/dist/components/NavMenu/components/NavMenuActionIcon.d.ts.map +1 -1
  132. package/dist/components/NavMenu/components/NavMenuActionIcon.js +23 -21
  133. package/dist/components/NavbarResizer/NavbarResizer.module.css.js +2 -2
  134. package/dist/components/NewColorPicker/components/Target.d.ts +1 -3
  135. package/dist/components/NewColorPicker/components/Target.d.ts.map +1 -1
  136. package/dist/components/NewColorPicker/components/Target.js +43 -48
  137. package/dist/components/NotPublicPanel/NotPublicPanel.module.css.js +11 -11
  138. package/dist/components/Notification/Notification.js +1 -3
  139. package/dist/components/Notification/Notification.module.css.js +1 -1
  140. package/dist/components/Notification/NotificationCard.d.ts +1 -3
  141. package/dist/components/Notification/NotificationCard.d.ts.map +1 -1
  142. package/dist/components/Notification/NotificationCard.js +86 -87
  143. package/dist/components/OnBoarding/steps/DifferentLayouts/styles.module.css.js +3 -3
  144. package/dist/components/OnBoarding/steps/styles.module.css.js +9 -9
  145. package/dist/components/OnBoarding/styles.module.css.js +7 -7
  146. package/dist/components/OnboardingTour/OnboardingTourWrapper.d.ts +1 -1
  147. package/dist/components/OnboardingTour/OnboardingTourWrapper.d.ts.map +1 -1
  148. package/dist/components/OnboardingTour/OnboardingTourWrapper.js +74 -70
  149. package/dist/components/ProjectIcon/ProjectIcon.d.ts +12 -7
  150. package/dist/components/ProjectIcon/ProjectIcon.d.ts.map +1 -1
  151. package/dist/components/ProjectIcon/ProjectIcon.js +60 -58
  152. package/dist/components/SearchFilters/SearchFilters.module.css.js +1 -1
  153. package/dist/components/SettingsSection/styles.module.css.js +1 -1
  154. package/dist/components/StorageUsageProgress/StorageUsageProgress.module.css.js +1 -1
  155. package/dist/components/TreeIndent/TreeIndent.module.css.js +4 -4
  156. package/dist/components/UserAvatar/index.d.ts +1 -2
  157. package/dist/components/UserAvatar/index.d.ts.map +1 -1
  158. package/dist/components/UserAvatar/index.js +35 -38
  159. package/dist/components/WorkspaceAvatar/WorkspaceAvatar.d.ts +3 -3
  160. package/dist/components/WorkspaceAvatar/WorkspaceAvatar.d.ts.map +1 -1
  161. package/dist/components/WorkspaceAvatar/WorkspaceAvatar.js +18 -19
  162. package/dist/components/WorkspaceMenu/WorkspaceItem.js +17 -17
  163. package/dist/components/WorkspaceMenu/WorkspaceMenu.js +7 -7
  164. package/dist/components/table/FrontTable.d.ts.map +1 -1
  165. package/dist/components/table/hooks/useColumnsResizing.d.ts.map +1 -1
  166. package/dist/config/brand.js +8 -8
  167. package/dist/config/envConfig.d.ts +0 -8
  168. package/dist/config/envConfig.d.ts.map +1 -1
  169. package/dist/config/envConfig.js +13 -21
  170. package/dist/helpers/getFileIcons.d.ts.map +1 -1
  171. package/dist/helpers/getFileIcons.js +45 -63
  172. package/dist/helpers/getFileType.d.ts +1 -1
  173. package/dist/helpers/getFileType.d.ts.map +1 -1
  174. package/dist/helpers/getFileType.js +8 -29
  175. package/dist/helpers/getPartOfTheDay.d.ts +1 -1
  176. package/dist/helpers/platform.d.ts +1 -1
  177. package/dist/helpers/platform.d.ts.map +1 -1
  178. package/dist/helpers/platform.js +4 -5
  179. package/dist/helpers/showFeatureFeedback.module.css.js +4 -4
  180. package/dist/helpers/showNotifications.d.ts.map +1 -1
  181. package/dist/helpers/showNotifications.js +29 -30
  182. package/dist/helpers/showNotifications.module.css.js +1 -1
  183. package/dist/hooks/useOutsideClick.d.ts +1 -1
  184. package/dist/hooks/useOutsideClick.d.ts.map +1 -1
  185. package/dist/index.css +1 -1
  186. package/dist/index.d.ts +6 -1
  187. package/dist/index.d.ts.map +1 -1
  188. package/dist/index.js +509 -498
  189. package/dist/lang/locales/ui_en.json.js +20 -18
  190. package/dist/lang/locales/ui_es.json.js +14 -12
  191. package/dist/lang/locales/ui_ru.json.js +15 -13
  192. package/dist/node_modules/countries-and-timezones/esm/index.js +4011 -281
  193. package/docs/README.md +499 -499
  194. package/package.json +75 -75
  195. package/dist/components/AttachmentsGalleryModal/components/UnsupportedSection.d.ts +0 -6
  196. package/dist/components/AttachmentsGalleryModal/components/UnsupportedSection.d.ts.map +0 -1
  197. package/dist/components/AttachmentsGalleryModal/components/UnsupportedSection.js +0 -16
  198. package/dist/helpers/offlineSuppression.d.ts +0 -3
  199. package/dist/helpers/offlineSuppression.d.ts.map +0 -1
  200. package/dist/helpers/offlineSuppression.js +0 -8
@@ -37,11 +37,11 @@ export declare const sortSteps: (steps: StepData[]) => {
37
37
  max?: number | undefined;
38
38
  } | {
39
39
  id: string;
40
- controlType: "multipleChoice";
41
40
  options: {
42
- label: string;
43
41
  id: string;
42
+ label: string;
44
43
  }[];
44
+ controlType: "multipleChoice";
45
45
  title?: string | undefined;
46
46
  description?: string | undefined;
47
47
  icon?: string | undefined;
@@ -58,16 +58,16 @@ export declare const sortSteps: (steps: StepData[]) => {
58
58
  description?: string | undefined;
59
59
  icon?: string | undefined;
60
60
  required?: boolean | undefined;
61
+ variableName?: string | undefined;
61
62
  min?: number | undefined;
62
63
  max?: number | undefined;
63
- variableName?: string | undefined;
64
64
  } | {
65
65
  id: string;
66
- controlType: "dropdown";
67
66
  options: {
68
- label: string;
69
67
  id: string;
68
+ label: string;
70
69
  }[];
70
+ controlType: "dropdown";
71
71
  title?: string | undefined;
72
72
  description?: string | undefined;
73
73
  icon?: string | undefined;
@@ -76,25 +76,25 @@ export declare const sortSteps: (steps: StepData[]) => {
76
76
  variableName?: string | undefined;
77
77
  } | {
78
78
  id: string;
79
- controlType: "choice";
80
79
  options: {
81
- label: string;
82
80
  id: string;
81
+ label: string;
83
82
  }[];
83
+ controlType: "choice";
84
84
  title?: string | undefined;
85
85
  description?: string | undefined;
86
86
  required?: boolean | undefined;
87
- showInput?: boolean | undefined;
88
87
  variableName?: string | undefined;
88
+ showInput?: boolean | undefined;
89
89
  otherOption?: boolean | undefined;
90
90
  } | {
91
91
  id: string;
92
- controlType: "pictureChoice";
93
92
  options: {
94
- label: string;
95
93
  id: string;
94
+ label: string;
96
95
  image?: string | undefined;
97
96
  }[];
97
+ controlType: "pictureChoice";
98
98
  title?: string | undefined;
99
99
  description?: string | undefined;
100
100
  icon?: string | undefined;
@@ -107,13 +107,13 @@ export declare const sortSteps: (steps: StepData[]) => {
107
107
  title?: string | undefined;
108
108
  description?: string | undefined;
109
109
  icon?: string | undefined;
110
+ required?: boolean | undefined;
111
+ variableName?: string | undefined;
110
112
  multiple?: boolean | undefined;
111
113
  maxFiles?: number | undefined;
112
114
  minFiles?: number | undefined;
113
115
  accept?: string[] | undefined;
114
116
  maxSize?: number | undefined;
115
- required?: boolean | undefined;
116
- variableName?: string | undefined;
117
117
  } | {
118
118
  id: string;
119
119
  controlType: "location";
@@ -147,10 +147,10 @@ export declare const sortSteps: (steps: StepData[]) => {
147
147
  title?: string | undefined;
148
148
  description?: string | undefined;
149
149
  icon?: string | undefined;
150
- yesLabel?: string | undefined;
151
- noLabel?: string | undefined;
152
150
  required?: boolean | undefined;
153
151
  variableName?: string | undefined;
152
+ yesLabel?: string | undefined;
153
+ noLabel?: string | undefined;
154
154
  } | {
155
155
  id: string;
156
156
  controlType: "longText";
@@ -169,9 +169,9 @@ export declare const sortSteps: (steps: StepData[]) => {
169
169
  description?: string | undefined;
170
170
  icon?: string | undefined;
171
171
  required?: boolean | undefined;
172
+ label?: string | undefined;
172
173
  showButton?: boolean | undefined;
173
174
  buttonIcon?: string | undefined;
174
- label?: string | undefined;
175
175
  showIconButton?: boolean | undefined;
176
176
  } | {
177
177
  id: string;
@@ -179,25 +179,25 @@ export declare const sortSteps: (steps: StepData[]) => {
179
179
  title?: string | undefined;
180
180
  description?: string | undefined;
181
181
  required?: boolean | undefined;
182
+ label?: string | undefined;
182
183
  showButton?: boolean | undefined;
183
184
  buttonIcon?: string | undefined;
184
185
  link?: string | undefined;
185
- label?: string | undefined;
186
186
  } | {
187
187
  id: string;
188
188
  controlType: "button";
189
189
  title?: string | undefined;
190
190
  description?: string | undefined;
191
+ required?: boolean | undefined;
191
192
  label?: string | undefined;
192
- link?: string | undefined;
193
- showIconButton?: boolean | undefined;
194
193
  buttonIcon?: string | undefined;
194
+ showIconButton?: boolean | undefined;
195
+ link?: string | undefined;
195
196
  alignButton?: "start" | "center" | "end" | undefined;
196
197
  buttons?: any[] | undefined;
197
198
  orientation?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
198
199
  width?: number | undefined;
199
200
  enableTooltip?: boolean | undefined;
200
- required?: boolean | undefined;
201
201
  fullWidthMobile?: boolean | undefined;
202
202
  } | {
203
203
  id: string;
@@ -214,9 +214,9 @@ export declare const sortSteps: (steps: StepData[]) => {
214
214
  autoSubmit?: boolean | undefined;
215
215
  confirmLabel?: string | undefined;
216
216
  media?: {
217
+ image?: string | undefined;
217
218
  layout?: "content" | "left" | "right" | "top" | "bottom" | "fullLeft" | "fullRight" | "fullTop" | "fullBottom" | "background" | undefined;
218
219
  brightness?: number | undefined;
219
- image?: string | undefined;
220
220
  video?: string | undefined;
221
221
  videoThumb?: string | undefined;
222
222
  color?: string | undefined;
@@ -224,52 +224,52 @@ export declare const sortSteps: (steps: StepData[]) => {
224
224
  blur?: number | undefined;
225
225
  } | undefined;
226
226
  conditions?: {
227
+ trigger: string;
227
228
  controlId: string;
228
229
  operator: string;
229
- trigger: string;
230
230
  compareValue?: string | undefined;
231
231
  }[] | undefined;
232
232
  theme?: {
233
- size?: "sm" | "md" | "lg" | undefined;
234
- align?: "start" | "center" | "end" | undefined;
235
- listStyle?: string | undefined;
236
- borderRadius?: "sm" | "md" | "lg" | undefined;
237
- primaryColor?: string | undefined;
238
233
  title?: {
234
+ color?: string | undefined;
239
235
  fontSize?: number | undefined;
240
236
  fontWeight?: number | undefined;
241
237
  fontFamily?: string | undefined;
242
- color?: string | undefined;
243
238
  } | undefined;
244
239
  description?: {
240
+ color?: string | undefined;
245
241
  fontSize?: number | undefined;
246
242
  fontWeight?: number | undefined;
247
243
  fontFamily?: string | undefined;
244
+ } | undefined;
245
+ background?: {
246
+ image?: string | undefined;
247
+ brightness?: number | undefined;
248
248
  color?: string | undefined;
249
+ blur?: number | undefined;
250
+ opacity?: number | undefined;
251
+ fit?: string | undefined;
252
+ blendMode?: string | undefined;
249
253
  } | undefined;
254
+ size?: "sm" | "md" | "lg" | undefined;
255
+ align?: "start" | "center" | "end" | undefined;
256
+ listStyle?: string | undefined;
257
+ borderRadius?: "sm" | "md" | "lg" | undefined;
258
+ primaryColor?: string | undefined;
250
259
  font?: {
260
+ color?: string | undefined;
251
261
  fontSize?: number | undefined;
252
262
  fontWeight?: number | undefined;
253
263
  fontFamily?: string | undefined;
254
- color?: string | undefined;
255
264
  } | undefined;
256
265
  container?: {
257
266
  color?: string | undefined;
258
- opacity?: number | undefined;
259
267
  blur?: number | undefined;
268
+ opacity?: number | undefined;
260
269
  backgroundImage?: string | undefined;
261
270
  shadowSize?: number | undefined;
262
271
  shadowColor?: string | undefined;
263
272
  } | undefined;
264
- background?: {
265
- color?: string | undefined;
266
- image?: string | undefined;
267
- blur?: number | undefined;
268
- brightness?: number | undefined;
269
- opacity?: number | undefined;
270
- fit?: string | undefined;
271
- blendMode?: string | undefined;
272
- } | undefined;
273
273
  input?: {
274
274
  backgroundColor?: string | undefined;
275
275
  borderColor?: string | undefined;
@@ -37,11 +37,11 @@ export declare const getFirstStep: (steps: StepData[]) => {
37
37
  max?: number | undefined;
38
38
  } | {
39
39
  id: string;
40
- controlType: "multipleChoice";
41
40
  options: {
42
- label: string;
43
41
  id: string;
42
+ label: string;
44
43
  }[];
44
+ controlType: "multipleChoice";
45
45
  title?: string | undefined;
46
46
  description?: string | undefined;
47
47
  icon?: string | undefined;
@@ -58,16 +58,16 @@ export declare const getFirstStep: (steps: StepData[]) => {
58
58
  description?: string | undefined;
59
59
  icon?: string | undefined;
60
60
  required?: boolean | undefined;
61
+ variableName?: string | undefined;
61
62
  min?: number | undefined;
62
63
  max?: number | undefined;
63
- variableName?: string | undefined;
64
64
  } | {
65
65
  id: string;
66
- controlType: "dropdown";
67
66
  options: {
68
- label: string;
69
67
  id: string;
68
+ label: string;
70
69
  }[];
70
+ controlType: "dropdown";
71
71
  title?: string | undefined;
72
72
  description?: string | undefined;
73
73
  icon?: string | undefined;
@@ -76,25 +76,25 @@ export declare const getFirstStep: (steps: StepData[]) => {
76
76
  variableName?: string | undefined;
77
77
  } | {
78
78
  id: string;
79
- controlType: "choice";
80
79
  options: {
81
- label: string;
82
80
  id: string;
81
+ label: string;
83
82
  }[];
83
+ controlType: "choice";
84
84
  title?: string | undefined;
85
85
  description?: string | undefined;
86
86
  required?: boolean | undefined;
87
- showInput?: boolean | undefined;
88
87
  variableName?: string | undefined;
88
+ showInput?: boolean | undefined;
89
89
  otherOption?: boolean | undefined;
90
90
  } | {
91
91
  id: string;
92
- controlType: "pictureChoice";
93
92
  options: {
94
- label: string;
95
93
  id: string;
94
+ label: string;
96
95
  image?: string | undefined;
97
96
  }[];
97
+ controlType: "pictureChoice";
98
98
  title?: string | undefined;
99
99
  description?: string | undefined;
100
100
  icon?: string | undefined;
@@ -107,13 +107,13 @@ export declare const getFirstStep: (steps: StepData[]) => {
107
107
  title?: string | undefined;
108
108
  description?: string | undefined;
109
109
  icon?: string | undefined;
110
+ required?: boolean | undefined;
111
+ variableName?: string | undefined;
110
112
  multiple?: boolean | undefined;
111
113
  maxFiles?: number | undefined;
112
114
  minFiles?: number | undefined;
113
115
  accept?: string[] | undefined;
114
116
  maxSize?: number | undefined;
115
- required?: boolean | undefined;
116
- variableName?: string | undefined;
117
117
  } | {
118
118
  id: string;
119
119
  controlType: "location";
@@ -147,10 +147,10 @@ export declare const getFirstStep: (steps: StepData[]) => {
147
147
  title?: string | undefined;
148
148
  description?: string | undefined;
149
149
  icon?: string | undefined;
150
- yesLabel?: string | undefined;
151
- noLabel?: string | undefined;
152
150
  required?: boolean | undefined;
153
151
  variableName?: string | undefined;
152
+ yesLabel?: string | undefined;
153
+ noLabel?: string | undefined;
154
154
  } | {
155
155
  id: string;
156
156
  controlType: "longText";
@@ -169,9 +169,9 @@ export declare const getFirstStep: (steps: StepData[]) => {
169
169
  description?: string | undefined;
170
170
  icon?: string | undefined;
171
171
  required?: boolean | undefined;
172
+ label?: string | undefined;
172
173
  showButton?: boolean | undefined;
173
174
  buttonIcon?: string | undefined;
174
- label?: string | undefined;
175
175
  showIconButton?: boolean | undefined;
176
176
  } | {
177
177
  id: string;
@@ -179,25 +179,25 @@ export declare const getFirstStep: (steps: StepData[]) => {
179
179
  title?: string | undefined;
180
180
  description?: string | undefined;
181
181
  required?: boolean | undefined;
182
+ label?: string | undefined;
182
183
  showButton?: boolean | undefined;
183
184
  buttonIcon?: string | undefined;
184
185
  link?: string | undefined;
185
- label?: string | undefined;
186
186
  } | {
187
187
  id: string;
188
188
  controlType: "button";
189
189
  title?: string | undefined;
190
190
  description?: string | undefined;
191
+ required?: boolean | undefined;
191
192
  label?: string | undefined;
192
- link?: string | undefined;
193
- showIconButton?: boolean | undefined;
194
193
  buttonIcon?: string | undefined;
194
+ showIconButton?: boolean | undefined;
195
+ link?: string | undefined;
195
196
  alignButton?: "start" | "center" | "end" | undefined;
196
197
  buttons?: any[] | undefined;
197
198
  orientation?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
198
199
  width?: number | undefined;
199
200
  enableTooltip?: boolean | undefined;
200
- required?: boolean | undefined;
201
201
  fullWidthMobile?: boolean | undefined;
202
202
  } | {
203
203
  id: string;
@@ -214,9 +214,9 @@ export declare const getFirstStep: (steps: StepData[]) => {
214
214
  autoSubmit?: boolean | undefined;
215
215
  confirmLabel?: string | undefined;
216
216
  media?: {
217
+ image?: string | undefined;
217
218
  layout?: "content" | "left" | "right" | "top" | "bottom" | "fullLeft" | "fullRight" | "fullTop" | "fullBottom" | "background" | undefined;
218
219
  brightness?: number | undefined;
219
- image?: string | undefined;
220
220
  video?: string | undefined;
221
221
  videoThumb?: string | undefined;
222
222
  color?: string | undefined;
@@ -224,52 +224,52 @@ export declare const getFirstStep: (steps: StepData[]) => {
224
224
  blur?: number | undefined;
225
225
  } | undefined;
226
226
  conditions?: {
227
+ trigger: string;
227
228
  controlId: string;
228
229
  operator: string;
229
- trigger: string;
230
230
  compareValue?: string | undefined;
231
231
  }[] | undefined;
232
232
  theme?: {
233
- size?: "sm" | "md" | "lg" | undefined;
234
- align?: "start" | "center" | "end" | undefined;
235
- listStyle?: string | undefined;
236
- borderRadius?: "sm" | "md" | "lg" | undefined;
237
- primaryColor?: string | undefined;
238
233
  title?: {
234
+ color?: string | undefined;
239
235
  fontSize?: number | undefined;
240
236
  fontWeight?: number | undefined;
241
237
  fontFamily?: string | undefined;
242
- color?: string | undefined;
243
238
  } | undefined;
244
239
  description?: {
240
+ color?: string | undefined;
245
241
  fontSize?: number | undefined;
246
242
  fontWeight?: number | undefined;
247
243
  fontFamily?: string | undefined;
244
+ } | undefined;
245
+ background?: {
246
+ image?: string | undefined;
247
+ brightness?: number | undefined;
248
248
  color?: string | undefined;
249
+ blur?: number | undefined;
250
+ opacity?: number | undefined;
251
+ fit?: string | undefined;
252
+ blendMode?: string | undefined;
249
253
  } | undefined;
254
+ size?: "sm" | "md" | "lg" | undefined;
255
+ align?: "start" | "center" | "end" | undefined;
256
+ listStyle?: string | undefined;
257
+ borderRadius?: "sm" | "md" | "lg" | undefined;
258
+ primaryColor?: string | undefined;
250
259
  font?: {
260
+ color?: string | undefined;
251
261
  fontSize?: number | undefined;
252
262
  fontWeight?: number | undefined;
253
263
  fontFamily?: string | undefined;
254
- color?: string | undefined;
255
264
  } | undefined;
256
265
  container?: {
257
266
  color?: string | undefined;
258
- opacity?: number | undefined;
259
267
  blur?: number | undefined;
268
+ opacity?: number | undefined;
260
269
  backgroundImage?: string | undefined;
261
270
  shadowSize?: number | undefined;
262
271
  shadowColor?: string | undefined;
263
272
  } | undefined;
264
- background?: {
265
- color?: string | undefined;
266
- image?: string | undefined;
267
- blur?: number | undefined;
268
- brightness?: number | undefined;
269
- opacity?: number | undefined;
270
- fit?: string | undefined;
271
- blendMode?: string | undefined;
272
- } | undefined;
273
273
  input?: {
274
274
  backgroundColor?: string | undefined;
275
275
  borderColor?: string | undefined;
@@ -33,11 +33,11 @@ export declare const useActiveControl: () => {
33
33
  max?: number | undefined;
34
34
  } | {
35
35
  id: string;
36
- controlType: "multipleChoice";
37
36
  options: {
38
- label: string;
39
37
  id: string;
38
+ label: string;
40
39
  }[];
40
+ controlType: "multipleChoice";
41
41
  title?: string | undefined;
42
42
  description?: string | undefined;
43
43
  icon?: string | undefined;
@@ -54,16 +54,16 @@ export declare const useActiveControl: () => {
54
54
  description?: string | undefined;
55
55
  icon?: string | undefined;
56
56
  required?: boolean | undefined;
57
+ variableName?: string | undefined;
57
58
  min?: number | undefined;
58
59
  max?: number | undefined;
59
- variableName?: string | undefined;
60
60
  } | {
61
61
  id: string;
62
- controlType: "dropdown";
63
62
  options: {
64
- label: string;
65
63
  id: string;
64
+ label: string;
66
65
  }[];
66
+ controlType: "dropdown";
67
67
  title?: string | undefined;
68
68
  description?: string | undefined;
69
69
  icon?: string | undefined;
@@ -72,25 +72,25 @@ export declare const useActiveControl: () => {
72
72
  variableName?: string | undefined;
73
73
  } | {
74
74
  id: string;
75
- controlType: "choice";
76
75
  options: {
77
- label: string;
78
76
  id: string;
77
+ label: string;
79
78
  }[];
79
+ controlType: "choice";
80
80
  title?: string | undefined;
81
81
  description?: string | undefined;
82
82
  required?: boolean | undefined;
83
- showInput?: boolean | undefined;
84
83
  variableName?: string | undefined;
84
+ showInput?: boolean | undefined;
85
85
  otherOption?: boolean | undefined;
86
86
  } | {
87
87
  id: string;
88
- controlType: "pictureChoice";
89
88
  options: {
90
- label: string;
91
89
  id: string;
90
+ label: string;
92
91
  image?: string | undefined;
93
92
  }[];
93
+ controlType: "pictureChoice";
94
94
  title?: string | undefined;
95
95
  description?: string | undefined;
96
96
  icon?: string | undefined;
@@ -103,13 +103,13 @@ export declare const useActiveControl: () => {
103
103
  title?: string | undefined;
104
104
  description?: string | undefined;
105
105
  icon?: string | undefined;
106
+ required?: boolean | undefined;
107
+ variableName?: string | undefined;
106
108
  multiple?: boolean | undefined;
107
109
  maxFiles?: number | undefined;
108
110
  minFiles?: number | undefined;
109
111
  accept?: string[] | undefined;
110
112
  maxSize?: number | undefined;
111
- required?: boolean | undefined;
112
- variableName?: string | undefined;
113
113
  } | {
114
114
  id: string;
115
115
  controlType: "location";
@@ -143,10 +143,10 @@ export declare const useActiveControl: () => {
143
143
  title?: string | undefined;
144
144
  description?: string | undefined;
145
145
  icon?: string | undefined;
146
- yesLabel?: string | undefined;
147
- noLabel?: string | undefined;
148
146
  required?: boolean | undefined;
149
147
  variableName?: string | undefined;
148
+ yesLabel?: string | undefined;
149
+ noLabel?: string | undefined;
150
150
  } | {
151
151
  id: string;
152
152
  controlType: "longText";
@@ -165,9 +165,9 @@ export declare const useActiveControl: () => {
165
165
  description?: string | undefined;
166
166
  icon?: string | undefined;
167
167
  required?: boolean | undefined;
168
+ label?: string | undefined;
168
169
  showButton?: boolean | undefined;
169
170
  buttonIcon?: string | undefined;
170
- label?: string | undefined;
171
171
  showIconButton?: boolean | undefined;
172
172
  } | {
173
173
  id: string;
@@ -175,25 +175,25 @@ export declare const useActiveControl: () => {
175
175
  title?: string | undefined;
176
176
  description?: string | undefined;
177
177
  required?: boolean | undefined;
178
+ label?: string | undefined;
178
179
  showButton?: boolean | undefined;
179
180
  buttonIcon?: string | undefined;
180
181
  link?: string | undefined;
181
- label?: string | undefined;
182
182
  } | {
183
183
  id: string;
184
184
  controlType: "button";
185
185
  title?: string | undefined;
186
186
  description?: string | undefined;
187
+ required?: boolean | undefined;
187
188
  label?: string | undefined;
188
- link?: string | undefined;
189
- showIconButton?: boolean | undefined;
190
189
  buttonIcon?: string | undefined;
190
+ showIconButton?: boolean | undefined;
191
+ link?: string | undefined;
191
192
  alignButton?: "start" | "center" | "end" | undefined;
192
193
  buttons?: any[] | undefined;
193
194
  orientation?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
194
195
  width?: number | undefined;
195
196
  enableTooltip?: boolean | undefined;
196
- required?: boolean | undefined;
197
197
  fullWidthMobile?: boolean | undefined;
198
198
  } | {
199
199
  id: string;