@layers-app/shared 0.0.39-comments.3 → 0.0.39-comments.5

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 (27) hide show
  1. package/dist/{KanbanLayout-C5JdVttk.js → KanbanLayout-CsVw_K58.js} +1 -1
  2. package/dist/components/AppContainer/AppContainer.d.ts +1 -1
  3. package/dist/components/AppContainer/components/DesktopNavbar.d.ts +1 -1
  4. package/dist/components/AppContainer/components/MenuUserDropdown.d.ts +2 -0
  5. package/dist/components/AppContainer/types.d.ts +4 -1
  6. package/dist/components/CommentComposer/index.d.ts +2 -1
  7. package/dist/components/CommentsPanel/index.d.ts +2 -1
  8. package/dist/components/EmojiPicker/EmojiPicker.d.ts +2 -1
  9. package/dist/components/FormViewer/helpers/conditions.d.ts +6 -0
  10. package/dist/components/FormViewer/helpers/helpers.d.ts +6 -0
  11. package/dist/components/FormViewer/helpers/steps.d.ts +6 -0
  12. package/dist/components/FormViewer/hooks/useActiveControl.d.ts +2 -0
  13. package/dist/components/FormViewer/hooks/useActiveStep.d.ts +6 -0
  14. package/dist/components/FormViewer/store/formStore.d.ts +1278 -33
  15. package/dist/components/FormViewer/store/formStoreApi.d.ts +630 -7
  16. package/dist/components/FormViewer/store/selectors.d.ts +7849 -2468
  17. package/dist/components/FormViewer/types/schemes.d.ts +120 -0
  18. package/dist/components/InviteModal/InviteModal.d.ts +2 -0
  19. package/dist/components/InviteModal/slice.d.ts +13 -0
  20. package/dist/components/WorkspaceAvatar/WorkspaceAvatar.d.ts +1 -0
  21. package/dist/helpers/getFileType.d.ts +2 -1
  22. package/dist/helpers/isAppMode.d.ts +2 -0
  23. package/dist/{index-CM1iBMgt.js → index-DR3WQFkj.js} +1705 -1145
  24. package/dist/index.d.ts +3 -0
  25. package/dist/index.js +59 -52
  26. package/dist/index.umd.cjs +59 -59
  27. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  import { StoreApi, UseBoundStore } from 'zustand';
2
2
  import { Condition, ContainerProperties, Control, FormLayout, ParsedFormConfig, SettingsData, StepData, TextProperties, ThemeData } from '../types/form';
3
- import { FormStoreState, FormViewLayout } from './formStore';
3
+ import { FormStoreState, FormViewLayout, FormViewerProps } from './formStore';
4
4
  export declare const createFormStoreApi: (store: UseBoundStore<StoreApi<FormStoreState>>) => {
5
5
  applyTheme: (theme: ThemeData) => void;
6
6
  setLayout: (layout: FormViewLayout) => void;
@@ -10,7 +10,6 @@ export declare const createFormStoreApi: (store: UseBoundStore<StoreApi<FormStor
10
10
  patchTitleProperties: (v: Partial<TextProperties>) => void;
11
11
  patchDescriptionProperties: (v: Partial<TextProperties>) => void;
12
12
  patchCommonFontProperties: (v: Partial<TextProperties>) => void;
13
- setActiveStep: (v: string | null) => void;
14
13
  setSteps: (steps: StepData[]) => void;
15
14
  addStep: (step: StepData, index?: number) => void;
16
15
  removeStep: (stepId: string) => void;
@@ -24,13 +23,637 @@ export declare const createFormStoreApi: (store: UseBoundStore<StoreApi<FormStor
24
23
  updateCondition: (stepId: string, conditionIndex: number, updatedCondition: Partial<Condition>) => void;
25
24
  removeCondition: (stepId: string, conditionIndex: number) => void;
26
25
  setIsMobile: (isMobile: boolean) => void;
27
- setFormConfig: (config: ParsedFormConfig | null, { silent }?: {
26
+ setConfig: (config: ParsedFormConfig | null, { silent }?: {
28
27
  silent?: boolean;
29
28
  }) => void;
30
- isFormDirty: () => boolean;
31
- switchToNextStep: () => void;
32
- switchToPrevStep: () => void;
33
- setActiveStepId: (stepId: string | null) => void;
29
+ setActiveStepId: (stepId: string) => void;
34
30
  setFormLayout: (layout: FormLayout) => void;
35
31
  scrollToControl: (controlId: string) => void;
32
+ getConfig: () => Required<{
33
+ theme?: {
34
+ input?: {
35
+ backgroundColor?: string | undefined;
36
+ borderColor?: string | undefined;
37
+ } | undefined;
38
+ title?: {
39
+ color?: string | undefined;
40
+ fontSize?: number | undefined;
41
+ fontWeight?: number | undefined;
42
+ fontFamily?: string | undefined;
43
+ } | undefined;
44
+ size?: "sm" | "md" | "lg" | undefined;
45
+ description?: {
46
+ color?: string | undefined;
47
+ fontSize?: number | undefined;
48
+ fontWeight?: number | undefined;
49
+ fontFamily?: string | undefined;
50
+ } | undefined;
51
+ align?: "center" | "end" | "start" | undefined;
52
+ background?: {
53
+ image?: string | undefined;
54
+ color?: string | undefined;
55
+ opacity?: number | undefined;
56
+ blur?: number | undefined;
57
+ brightness?: number | undefined;
58
+ fit?: string | undefined;
59
+ blendMode?: string | undefined;
60
+ } | undefined;
61
+ container?: {
62
+ color?: string | undefined;
63
+ opacity?: number | undefined;
64
+ backgroundImage?: string | undefined;
65
+ blur?: number | undefined;
66
+ shadowSize?: number | undefined;
67
+ shadowColor?: string | undefined;
68
+ } | undefined;
69
+ borderRadius?: "sm" | "md" | "lg" | undefined;
70
+ font?: {
71
+ color?: string | undefined;
72
+ fontSize?: number | undefined;
73
+ fontWeight?: number | undefined;
74
+ fontFamily?: string | undefined;
75
+ } | undefined;
76
+ listStyle?: string | undefined;
77
+ primaryColor?: string | undefined;
78
+ customCSS?: string | undefined;
79
+ } | undefined;
80
+ settings?: {
81
+ layout: "list" | "slides";
82
+ slideAnimation: "none" | "horizontal" | "vertical";
83
+ freeNav: boolean;
84
+ copyright?: boolean | undefined;
85
+ enterIndicator?: any;
86
+ progressBar?: boolean | undefined;
87
+ navArrows?: boolean | undefined;
88
+ questionNumber?: boolean | undefined;
89
+ mainLanguage?: string | undefined;
90
+ recaptcha?: boolean | undefined;
91
+ } | undefined;
92
+ steps?: {
93
+ id: string;
94
+ controls: ({
95
+ id: string;
96
+ controlType: "text";
97
+ title?: string | undefined;
98
+ description?: string | undefined;
99
+ icon?: string | undefined;
100
+ maxLength?: number | undefined;
101
+ minLength?: number | undefined;
102
+ placeholder?: string | undefined;
103
+ required?: boolean | undefined;
104
+ variableName?: string | undefined;
105
+ } | {
106
+ id: string;
107
+ controlType: "longText";
108
+ title?: string | undefined;
109
+ description?: string | undefined;
110
+ icon?: string | undefined;
111
+ maxLength?: number | undefined;
112
+ minLength?: number | undefined;
113
+ placeholder?: string | undefined;
114
+ required?: boolean | undefined;
115
+ variableName?: string | undefined;
116
+ } | {
117
+ id: string;
118
+ controlType: "button";
119
+ label?: string | undefined;
120
+ link?: string | undefined;
121
+ title?: string | undefined;
122
+ description?: string | undefined;
123
+ buttons?: any[] | undefined;
124
+ width?: number | undefined;
125
+ orientation?: "column" | "column-reverse" | "row" | "row-reverse" | undefined;
126
+ required?: boolean | undefined;
127
+ showIconButton?: boolean | undefined;
128
+ buttonIcon?: string | undefined;
129
+ alignButton?: "center" | "end" | "start" | undefined;
130
+ enableTooltip?: boolean | undefined;
131
+ fullWidthMobile?: boolean | undefined;
132
+ } | {
133
+ id: string;
134
+ controlType: "date";
135
+ title?: string | undefined;
136
+ description?: string | undefined;
137
+ icon?: string | undefined;
138
+ placeholder?: string | undefined;
139
+ required?: boolean | undefined;
140
+ minDate?: string | undefined;
141
+ maxDate?: string | undefined;
142
+ variableName?: string | undefined;
143
+ } | {
144
+ id: string;
145
+ controlType: "start";
146
+ label?: string | undefined;
147
+ title?: string | undefined;
148
+ description?: string | undefined;
149
+ icon?: string | undefined;
150
+ required?: boolean | undefined;
151
+ showIconButton?: boolean | undefined;
152
+ buttonIcon?: string | undefined;
153
+ showButton?: boolean | undefined;
154
+ } | {
155
+ id: string;
156
+ controlType: "confirm";
157
+ label?: string | undefined;
158
+ link?: string | undefined;
159
+ title?: string | undefined;
160
+ description?: string | undefined;
161
+ required?: boolean | undefined;
162
+ buttonIcon?: string | undefined;
163
+ showButton?: boolean | undefined;
164
+ } | {
165
+ id: string;
166
+ controlType: "number";
167
+ title?: string | undefined;
168
+ description?: string | undefined;
169
+ icon?: string | undefined;
170
+ max?: number | undefined;
171
+ min?: number | undefined;
172
+ placeholder?: string | undefined;
173
+ required?: boolean | undefined;
174
+ variableName?: string | undefined;
175
+ } | {
176
+ id: string;
177
+ options: {
178
+ label: string;
179
+ id: string;
180
+ }[];
181
+ controlType: "choice";
182
+ title?: string | undefined;
183
+ description?: string | undefined;
184
+ required?: boolean | undefined;
185
+ variableName?: string | undefined;
186
+ showInput?: boolean | undefined;
187
+ otherOption?: boolean | undefined;
188
+ } | {
189
+ id: string;
190
+ options: {
191
+ label: string;
192
+ id: string;
193
+ }[];
194
+ controlType: "multipleChoice";
195
+ title?: string | undefined;
196
+ description?: string | undefined;
197
+ icon?: string | undefined;
198
+ required?: boolean | undefined;
199
+ variableName?: string | undefined;
200
+ showInput?: boolean | undefined;
201
+ otherOption?: boolean | undefined;
202
+ minOptions?: number | undefined;
203
+ maxOptions?: number | undefined;
204
+ } | {
205
+ id: string;
206
+ options: {
207
+ label: string;
208
+ id: string;
209
+ image?: string | undefined;
210
+ }[];
211
+ controlType: "pictureChoice";
212
+ title?: string | undefined;
213
+ description?: string | undefined;
214
+ icon?: string | undefined;
215
+ required?: boolean | undefined;
216
+ variableName?: string | undefined;
217
+ showInput?: boolean | undefined;
218
+ } | {
219
+ id: string;
220
+ options: {
221
+ label: string;
222
+ id: string;
223
+ }[];
224
+ controlType: "dropdown";
225
+ title?: string | undefined;
226
+ description?: string | undefined;
227
+ icon?: string | undefined;
228
+ placeholder?: string | undefined;
229
+ required?: boolean | undefined;
230
+ variableName?: string | undefined;
231
+ } | {
232
+ id: string;
233
+ controlType: "email";
234
+ title?: string | undefined;
235
+ description?: string | undefined;
236
+ icon?: string | undefined;
237
+ placeholder?: string | undefined;
238
+ required?: boolean | undefined;
239
+ variableName?: string | undefined;
240
+ } | {
241
+ id: string;
242
+ controlType: "location";
243
+ title?: string | undefined;
244
+ description?: string | undefined;
245
+ icon?: string | undefined;
246
+ placeholder?: string | undefined;
247
+ required?: boolean | undefined;
248
+ variableName?: string | undefined;
249
+ } | {
250
+ id: string;
251
+ controlType: "phone";
252
+ title?: string | undefined;
253
+ description?: string | undefined;
254
+ icon?: string | undefined;
255
+ placeholder?: string | undefined;
256
+ required?: boolean | undefined;
257
+ variableName?: string | undefined;
258
+ } | {
259
+ id: string;
260
+ controlType: "slider";
261
+ title?: string | undefined;
262
+ description?: string | undefined;
263
+ icon?: string | undefined;
264
+ max?: number | undefined;
265
+ min?: number | undefined;
266
+ required?: boolean | undefined;
267
+ variableName?: string | undefined;
268
+ } | {
269
+ id: string;
270
+ controlType: "upload";
271
+ title?: string | undefined;
272
+ description?: string | undefined;
273
+ icon?: string | undefined;
274
+ multiple?: boolean | undefined;
275
+ accept?: string[] | undefined;
276
+ required?: boolean | undefined;
277
+ maxSize?: number | undefined;
278
+ maxFiles?: number | undefined;
279
+ variableName?: string | undefined;
280
+ minFiles?: number | undefined;
281
+ } | {
282
+ id: string;
283
+ controlType: "yesNo";
284
+ title?: string | undefined;
285
+ description?: string | undefined;
286
+ icon?: string | undefined;
287
+ required?: boolean | undefined;
288
+ variableName?: string | undefined;
289
+ yesLabel?: string | undefined;
290
+ noLabel?: string | undefined;
291
+ } | {
292
+ id: string;
293
+ controlType: "rating";
294
+ title?: string | undefined;
295
+ description?: string | undefined;
296
+ required?: boolean | undefined;
297
+ count?: number | undefined;
298
+ variableName?: string | undefined;
299
+ })[];
300
+ trigger: string;
301
+ position?: {
302
+ x: number;
303
+ y: number;
304
+ } | undefined;
305
+ media?: {
306
+ video?: string | undefined;
307
+ image?: string | undefined;
308
+ color?: string | undefined;
309
+ size?: number | undefined;
310
+ layout?: "content" | "top" | "left" | "bottom" | "right" | "background" | "fullLeft" | "fullRight" | "fullTop" | "fullBottom" | undefined;
311
+ blur?: number | undefined;
312
+ brightness?: number | undefined;
313
+ videoThumb?: string | undefined;
314
+ } | undefined;
315
+ theme?: {
316
+ input?: {
317
+ backgroundColor?: string | undefined;
318
+ borderColor?: string | undefined;
319
+ } | undefined;
320
+ title?: {
321
+ color?: string | undefined;
322
+ fontSize?: number | undefined;
323
+ fontWeight?: number | undefined;
324
+ fontFamily?: string | undefined;
325
+ } | undefined;
326
+ size?: "sm" | "md" | "lg" | undefined;
327
+ description?: {
328
+ color?: string | undefined;
329
+ fontSize?: number | undefined;
330
+ fontWeight?: number | undefined;
331
+ fontFamily?: string | undefined;
332
+ } | undefined;
333
+ align?: "center" | "end" | "start" | undefined;
334
+ background?: {
335
+ image?: string | undefined;
336
+ color?: string | undefined;
337
+ opacity?: number | undefined;
338
+ blur?: number | undefined;
339
+ brightness?: number | undefined;
340
+ fit?: string | undefined;
341
+ blendMode?: string | undefined;
342
+ } | undefined;
343
+ container?: {
344
+ color?: string | undefined;
345
+ opacity?: number | undefined;
346
+ backgroundImage?: string | undefined;
347
+ blur?: number | undefined;
348
+ shadowSize?: number | undefined;
349
+ shadowColor?: string | undefined;
350
+ } | undefined;
351
+ borderRadius?: "sm" | "md" | "lg" | undefined;
352
+ font?: {
353
+ color?: string | undefined;
354
+ fontSize?: number | undefined;
355
+ fontWeight?: number | undefined;
356
+ fontFamily?: string | undefined;
357
+ } | undefined;
358
+ listStyle?: string | undefined;
359
+ primaryColor?: string | undefined;
360
+ customCSS?: string | undefined;
361
+ } | undefined;
362
+ isStart?: boolean | undefined;
363
+ isEnd?: boolean | undefined;
364
+ autoSubmit?: boolean | undefined;
365
+ confirmLabel?: string | undefined;
366
+ conditions?: {
367
+ operator: string;
368
+ trigger: string;
369
+ controlId: string;
370
+ compareValue?: string | undefined;
371
+ }[] | undefined;
372
+ }[] | undefined;
373
+ listStep?: {
374
+ id: string;
375
+ controls: ({
376
+ id: string;
377
+ controlType: "text";
378
+ title?: string | undefined;
379
+ description?: string | undefined;
380
+ icon?: string | undefined;
381
+ maxLength?: number | undefined;
382
+ minLength?: number | undefined;
383
+ placeholder?: string | undefined;
384
+ required?: boolean | undefined;
385
+ variableName?: string | undefined;
386
+ } | {
387
+ id: string;
388
+ controlType: "longText";
389
+ title?: string | undefined;
390
+ description?: string | undefined;
391
+ icon?: string | undefined;
392
+ maxLength?: number | undefined;
393
+ minLength?: number | undefined;
394
+ placeholder?: string | undefined;
395
+ required?: boolean | undefined;
396
+ variableName?: string | undefined;
397
+ } | {
398
+ id: string;
399
+ controlType: "button";
400
+ label?: string | undefined;
401
+ link?: string | undefined;
402
+ title?: string | undefined;
403
+ description?: string | undefined;
404
+ buttons?: any[] | undefined;
405
+ width?: number | undefined;
406
+ orientation?: "column" | "column-reverse" | "row" | "row-reverse" | undefined;
407
+ required?: boolean | undefined;
408
+ showIconButton?: boolean | undefined;
409
+ buttonIcon?: string | undefined;
410
+ alignButton?: "center" | "end" | "start" | undefined;
411
+ enableTooltip?: boolean | undefined;
412
+ fullWidthMobile?: boolean | undefined;
413
+ } | {
414
+ id: string;
415
+ controlType: "date";
416
+ title?: string | undefined;
417
+ description?: string | undefined;
418
+ icon?: string | undefined;
419
+ placeholder?: string | undefined;
420
+ required?: boolean | undefined;
421
+ minDate?: string | undefined;
422
+ maxDate?: string | undefined;
423
+ variableName?: string | undefined;
424
+ } | {
425
+ id: string;
426
+ controlType: "start";
427
+ label?: string | undefined;
428
+ title?: string | undefined;
429
+ description?: string | undefined;
430
+ icon?: string | undefined;
431
+ required?: boolean | undefined;
432
+ showIconButton?: boolean | undefined;
433
+ buttonIcon?: string | undefined;
434
+ showButton?: boolean | undefined;
435
+ } | {
436
+ id: string;
437
+ controlType: "confirm";
438
+ label?: string | undefined;
439
+ link?: string | undefined;
440
+ title?: string | undefined;
441
+ description?: string | undefined;
442
+ required?: boolean | undefined;
443
+ buttonIcon?: string | undefined;
444
+ showButton?: boolean | undefined;
445
+ } | {
446
+ id: string;
447
+ controlType: "number";
448
+ title?: string | undefined;
449
+ description?: string | undefined;
450
+ icon?: string | undefined;
451
+ max?: number | undefined;
452
+ min?: number | undefined;
453
+ placeholder?: string | undefined;
454
+ required?: boolean | undefined;
455
+ variableName?: string | undefined;
456
+ } | {
457
+ id: string;
458
+ options: {
459
+ label: string;
460
+ id: string;
461
+ }[];
462
+ controlType: "choice";
463
+ title?: string | undefined;
464
+ description?: string | undefined;
465
+ required?: boolean | undefined;
466
+ variableName?: string | undefined;
467
+ showInput?: boolean | undefined;
468
+ otherOption?: boolean | undefined;
469
+ } | {
470
+ id: string;
471
+ options: {
472
+ label: string;
473
+ id: string;
474
+ }[];
475
+ controlType: "multipleChoice";
476
+ title?: string | undefined;
477
+ description?: string | undefined;
478
+ icon?: string | undefined;
479
+ required?: boolean | undefined;
480
+ variableName?: string | undefined;
481
+ showInput?: boolean | undefined;
482
+ otherOption?: boolean | undefined;
483
+ minOptions?: number | undefined;
484
+ maxOptions?: number | undefined;
485
+ } | {
486
+ id: string;
487
+ options: {
488
+ label: string;
489
+ id: string;
490
+ image?: string | undefined;
491
+ }[];
492
+ controlType: "pictureChoice";
493
+ title?: string | undefined;
494
+ description?: string | undefined;
495
+ icon?: string | undefined;
496
+ required?: boolean | undefined;
497
+ variableName?: string | undefined;
498
+ showInput?: boolean | undefined;
499
+ } | {
500
+ id: string;
501
+ options: {
502
+ label: string;
503
+ id: string;
504
+ }[];
505
+ controlType: "dropdown";
506
+ title?: string | undefined;
507
+ description?: string | undefined;
508
+ icon?: string | undefined;
509
+ placeholder?: string | undefined;
510
+ required?: boolean | undefined;
511
+ variableName?: string | undefined;
512
+ } | {
513
+ id: string;
514
+ controlType: "email";
515
+ title?: string | undefined;
516
+ description?: string | undefined;
517
+ icon?: string | undefined;
518
+ placeholder?: string | undefined;
519
+ required?: boolean | undefined;
520
+ variableName?: string | undefined;
521
+ } | {
522
+ id: string;
523
+ controlType: "location";
524
+ title?: string | undefined;
525
+ description?: string | undefined;
526
+ icon?: string | undefined;
527
+ placeholder?: string | undefined;
528
+ required?: boolean | undefined;
529
+ variableName?: string | undefined;
530
+ } | {
531
+ id: string;
532
+ controlType: "phone";
533
+ title?: string | undefined;
534
+ description?: string | undefined;
535
+ icon?: string | undefined;
536
+ placeholder?: string | undefined;
537
+ required?: boolean | undefined;
538
+ variableName?: string | undefined;
539
+ } | {
540
+ id: string;
541
+ controlType: "slider";
542
+ title?: string | undefined;
543
+ description?: string | undefined;
544
+ icon?: string | undefined;
545
+ max?: number | undefined;
546
+ min?: number | undefined;
547
+ required?: boolean | undefined;
548
+ variableName?: string | undefined;
549
+ } | {
550
+ id: string;
551
+ controlType: "upload";
552
+ title?: string | undefined;
553
+ description?: string | undefined;
554
+ icon?: string | undefined;
555
+ multiple?: boolean | undefined;
556
+ accept?: string[] | undefined;
557
+ required?: boolean | undefined;
558
+ maxSize?: number | undefined;
559
+ maxFiles?: number | undefined;
560
+ variableName?: string | undefined;
561
+ minFiles?: number | undefined;
562
+ } | {
563
+ id: string;
564
+ controlType: "yesNo";
565
+ title?: string | undefined;
566
+ description?: string | undefined;
567
+ icon?: string | undefined;
568
+ required?: boolean | undefined;
569
+ variableName?: string | undefined;
570
+ yesLabel?: string | undefined;
571
+ noLabel?: string | undefined;
572
+ } | {
573
+ id: string;
574
+ controlType: "rating";
575
+ title?: string | undefined;
576
+ description?: string | undefined;
577
+ required?: boolean | undefined;
578
+ count?: number | undefined;
579
+ variableName?: string | undefined;
580
+ })[];
581
+ trigger: string;
582
+ position?: {
583
+ x: number;
584
+ y: number;
585
+ } | undefined;
586
+ media?: {
587
+ video?: string | undefined;
588
+ image?: string | undefined;
589
+ color?: string | undefined;
590
+ size?: number | undefined;
591
+ layout?: "content" | "top" | "left" | "bottom" | "right" | "background" | "fullLeft" | "fullRight" | "fullTop" | "fullBottom" | undefined;
592
+ blur?: number | undefined;
593
+ brightness?: number | undefined;
594
+ videoThumb?: string | undefined;
595
+ } | undefined;
596
+ theme?: {
597
+ input?: {
598
+ backgroundColor?: string | undefined;
599
+ borderColor?: string | undefined;
600
+ } | undefined;
601
+ title?: {
602
+ color?: string | undefined;
603
+ fontSize?: number | undefined;
604
+ fontWeight?: number | undefined;
605
+ fontFamily?: string | undefined;
606
+ } | undefined;
607
+ size?: "sm" | "md" | "lg" | undefined;
608
+ description?: {
609
+ color?: string | undefined;
610
+ fontSize?: number | undefined;
611
+ fontWeight?: number | undefined;
612
+ fontFamily?: string | undefined;
613
+ } | undefined;
614
+ align?: "center" | "end" | "start" | undefined;
615
+ background?: {
616
+ image?: string | undefined;
617
+ color?: string | undefined;
618
+ opacity?: number | undefined;
619
+ blur?: number | undefined;
620
+ brightness?: number | undefined;
621
+ fit?: string | undefined;
622
+ blendMode?: string | undefined;
623
+ } | undefined;
624
+ container?: {
625
+ color?: string | undefined;
626
+ opacity?: number | undefined;
627
+ backgroundImage?: string | undefined;
628
+ blur?: number | undefined;
629
+ shadowSize?: number | undefined;
630
+ shadowColor?: string | undefined;
631
+ } | undefined;
632
+ borderRadius?: "sm" | "md" | "lg" | undefined;
633
+ font?: {
634
+ color?: string | undefined;
635
+ fontSize?: number | undefined;
636
+ fontWeight?: number | undefined;
637
+ fontFamily?: string | undefined;
638
+ } | undefined;
639
+ listStyle?: string | undefined;
640
+ primaryColor?: string | undefined;
641
+ customCSS?: string | undefined;
642
+ } | undefined;
643
+ isStart?: boolean | undefined;
644
+ isEnd?: boolean | undefined;
645
+ autoSubmit?: boolean | undefined;
646
+ confirmLabel?: string | undefined;
647
+ conditions?: {
648
+ operator: string;
649
+ trigger: string;
650
+ controlId: string;
651
+ compareValue?: string | undefined;
652
+ }[] | undefined;
653
+ } | undefined;
654
+ }>;
655
+ setProps: (props: FormViewerProps) => void;
656
+ forwardActiveStep: (steps?: number) => void;
657
+ backActiveStep: (steps?: number) => void;
658
+ resetActiveStep: () => void;
36
659
  };