@openg2p/registry-widgets 0.1.0 → 0.1.2

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 (54) hide show
  1. package/dist/components/PanelRenderer.d.ts +3 -3
  2. package/dist/components/PanelRenderer.d.ts.map +1 -1
  3. package/dist/components/SectionBuilder/JSONEditorPanel.d.ts +15 -0
  4. package/dist/components/SectionBuilder/JSONEditorPanel.d.ts.map +1 -0
  5. package/dist/components/SectionBuilder/PropertyEditor.d.ts +15 -0
  6. package/dist/components/SectionBuilder/PropertyEditor.d.ts.map +1 -0
  7. package/dist/components/SectionBuilder/SectionBuilder.d.ts +13 -0
  8. package/dist/components/SectionBuilder/SectionBuilder.d.ts.map +1 -0
  9. package/dist/components/SectionBuilder/SectionTree.d.ts +26 -0
  10. package/dist/components/SectionBuilder/SectionTree.d.ts.map +1 -0
  11. package/dist/components/SectionBuilder/VisualBuilderPanel.d.ts +22 -0
  12. package/dist/components/SectionBuilder/VisualBuilderPanel.d.ts.map +1 -0
  13. package/dist/components/SectionBuilder/index.d.ts +9 -0
  14. package/dist/components/SectionBuilder/index.d.ts.map +1 -0
  15. package/dist/components/SectionBuilder/schemas.d.ts +1947 -0
  16. package/dist/components/SectionBuilder/schemas.d.ts.map +1 -0
  17. package/dist/components/SectionRenderer.d.ts +5 -5
  18. package/dist/components/SectionRenderer.d.ts.map +1 -1
  19. package/dist/components/SectionsContainer.d.ts +4 -3
  20. package/dist/components/SectionsContainer.d.ts.map +1 -1
  21. package/dist/components/WidgetProvider.d.ts +4 -4
  22. package/dist/components/WidgetProvider.d.ts.map +1 -1
  23. package/dist/components/WidgetRenderer.d.ts +1 -1
  24. package/dist/components/WidgetRenderer.d.ts.map +1 -1
  25. package/dist/events/WidgetEventBus.d.ts +43 -0
  26. package/dist/events/WidgetEventBus.d.ts.map +1 -0
  27. package/dist/events/types.d.ts +27 -0
  28. package/dist/events/types.d.ts.map +1 -0
  29. package/dist/hooks/useBaseWidget.d.ts +2 -2
  30. package/dist/hooks/useBaseWidget.d.ts.map +1 -1
  31. package/dist/hooks/useGeoWidgetCascade.d.ts +12 -0
  32. package/dist/hooks/useGeoWidgetCascade.d.ts.map +1 -0
  33. package/dist/hooks/useWidgetCascade.d.ts +12 -0
  34. package/dist/hooks/useWidgetCascade.d.ts.map +1 -0
  35. package/dist/hooks/useWidgetEventBus.d.ts +9 -0
  36. package/dist/hooks/useWidgetEventBus.d.ts.map +1 -0
  37. package/dist/index.d.ts +253 -20
  38. package/dist/index.d.ts.map +1 -1
  39. package/dist/index.esm.js +3154 -336
  40. package/dist/index.esm.js.map +1 -1
  41. package/dist/index.js +3162 -334
  42. package/dist/index.js.map +1 -1
  43. package/dist/store/widgetSlice.d.ts.map +1 -1
  44. package/dist/types/index.d.ts +38 -3
  45. package/dist/types/index.d.ts.map +1 -1
  46. package/dist/utils/dataSource.d.ts +3 -2
  47. package/dist/utils/dataSource.d.ts.map +1 -1
  48. package/dist/utils/geoHierarchy.d.ts +53 -0
  49. package/dist/utils/geoHierarchy.d.ts.map +1 -0
  50. package/dist/utils/schemaNamespace.d.ts +12 -0
  51. package/dist/utils/schemaNamespace.d.ts.map +1 -0
  52. package/dist/widgets/SelectWidget.d.ts.map +1 -1
  53. package/dist/widgets/TableWidget.d.ts.map +1 -1
  54. package/package.json +20 -12
@@ -0,0 +1,1947 @@
1
+ /**
2
+ * JSON Schema definitions for Section Builder validation
3
+ * These schemas are used by json-edit-react to provide validation and constraints
4
+ */
5
+ export declare const WIDGET_TYPES: readonly ["text", "textarea", "number", "boolean", "date", "datetime", "select", "radio", "checkbox", "file", "simple-table", "table", "array-widget", "iterable-accordion", "phone", "currency", "display", "profile"];
6
+ export declare const ORIENTATIONS: readonly ["horizontal", "vertical"];
7
+ export declare const CONDITION_OPERATORS: readonly ["equals", "notEquals", "notEmpty", "empty", "greaterThan", "lessThan", "contains", "notContains"];
8
+ export declare const DATA_SOURCE_TYPES: readonly ["static", "api", "schema"];
9
+ export declare const VALIDATION_TYPES: readonly ["email", "phone", "url"];
10
+ export declare const CHARACTER_TYPES: readonly ["any", "alphabetic", "alphanumeric", "numeric", "numeric-decimal", "custom"];
11
+ export declare const CASE_CONTROLS: readonly ["none", "lowercase", "uppercase", "capitalize"];
12
+ export declare const NUMERIC_TYPES: readonly ["integer", "decimal"];
13
+ export declare const BOOLEAN_REPRESENTATIONS: readonly ["true-false", "yes-no", "on-off", "custom"];
14
+ export declare const BOOLEAN_CONTROL_TYPES: readonly ["checkbox", "radio", "toggle"];
15
+ /**
16
+ * Panel schema
17
+ */
18
+ export declare const panelSchema: {
19
+ type: "object";
20
+ properties: {
21
+ 'panel-id': {
22
+ type: "string";
23
+ minLength: number;
24
+ description: string;
25
+ };
26
+ 'panel-orientation': {
27
+ type: "string";
28
+ enum: readonly ["horizontal", "vertical"];
29
+ description: string;
30
+ };
31
+ 'panel-column-span': {
32
+ type: "number";
33
+ minimum: number;
34
+ description: string;
35
+ };
36
+ panels: {
37
+ type: "array";
38
+ items: {
39
+ $ref: string;
40
+ };
41
+ description: string;
42
+ };
43
+ widgets: {
44
+ type: "array";
45
+ items: {
46
+ type: "object";
47
+ properties: {
48
+ widget: {
49
+ type: "string";
50
+ enum: readonly ["text", "textarea", "number", "boolean", "date", "datetime", "select", "radio", "checkbox", "file", "simple-table", "table", "array-widget", "iterable-accordion", "phone", "currency", "display", "profile"];
51
+ description: string;
52
+ };
53
+ 'widget-type': {
54
+ type: "string";
55
+ enum: string[];
56
+ description: string;
57
+ };
58
+ 'widget-id': {
59
+ type: "string";
60
+ minLength: number;
61
+ description: string;
62
+ };
63
+ 'widget-label': {
64
+ type: "string";
65
+ description: string;
66
+ };
67
+ 'widget-orientation': {
68
+ type: "string";
69
+ enum: readonly ["horizontal", "vertical"];
70
+ description: string;
71
+ };
72
+ 'widget-data-path': {
73
+ oneOf: ({
74
+ type: "string";
75
+ } | {
76
+ type: "object";
77
+ })[];
78
+ description: string;
79
+ };
80
+ 'widget-data-default': {
81
+ description: string;
82
+ };
83
+ 'widget-required': {
84
+ type: "boolean";
85
+ description: string;
86
+ };
87
+ 'widget-readonly': {
88
+ type: "boolean";
89
+ description: string;
90
+ };
91
+ 'widget-data-validation': {
92
+ type: "object";
93
+ properties: {
94
+ required: {
95
+ type: "boolean";
96
+ };
97
+ validationType: {
98
+ type: "string";
99
+ enum: readonly ["email", "phone", "url"];
100
+ };
101
+ pattern: {
102
+ type: "string";
103
+ };
104
+ patternMessage: {
105
+ type: "string";
106
+ };
107
+ minLength: {
108
+ type: "number";
109
+ minimum: number;
110
+ };
111
+ maxLength: {
112
+ type: "number";
113
+ minimum: number;
114
+ };
115
+ min: {
116
+ type: "number";
117
+ };
118
+ max: {
119
+ type: "number";
120
+ };
121
+ custom: {
122
+ type: "string";
123
+ };
124
+ };
125
+ description: string;
126
+ };
127
+ 'widget-data-format': {
128
+ type: "object";
129
+ properties: {
130
+ dateFormat: {
131
+ type: "string";
132
+ };
133
+ currency: {
134
+ type: "string";
135
+ };
136
+ locale: {
137
+ type: "string";
138
+ };
139
+ decimals: {
140
+ type: "number";
141
+ minimum: number;
142
+ maximum: number;
143
+ };
144
+ pattern: {
145
+ type: "string";
146
+ };
147
+ inputType: {
148
+ type: "string";
149
+ enum: string[];
150
+ };
151
+ characterType: {
152
+ type: "string";
153
+ enum: readonly ["any", "alphabetic", "alphanumeric", "numeric", "numeric-decimal", "custom"];
154
+ };
155
+ customCharset: {
156
+ type: "string";
157
+ };
158
+ caseControl: {
159
+ type: "string";
160
+ enum: readonly ["none", "lowercase", "uppercase", "capitalize"];
161
+ };
162
+ mask: {
163
+ type: "object";
164
+ properties: {
165
+ pattern: {
166
+ type: "string";
167
+ };
168
+ type: {
169
+ type: "string";
170
+ enum: string[];
171
+ };
172
+ placeholder: {
173
+ type: "string";
174
+ };
175
+ };
176
+ };
177
+ showCharCounter: {
178
+ type: "boolean";
179
+ };
180
+ rows: {
181
+ type: "number";
182
+ minimum: number;
183
+ };
184
+ numericType: {
185
+ type: "string";
186
+ enum: readonly ["integer", "decimal"];
187
+ };
188
+ decimalPlaces: {
189
+ type: "number";
190
+ minimum: number;
191
+ maximum: number;
192
+ };
193
+ roundingMode: {
194
+ type: "string";
195
+ enum: string[];
196
+ };
197
+ thousandSeparator: {
198
+ type: "string";
199
+ };
200
+ decimalSeparator: {
201
+ type: "string";
202
+ };
203
+ textAlign: {
204
+ type: "string";
205
+ enum: string[];
206
+ };
207
+ allowSigned: {
208
+ type: "boolean";
209
+ };
210
+ formatOnBlur: {
211
+ type: "boolean";
212
+ };
213
+ booleanRepresentation: {
214
+ type: "string";
215
+ enum: readonly ["true-false", "yes-no", "on-off", "custom"];
216
+ };
217
+ booleanControlType: {
218
+ type: "string";
219
+ enum: readonly ["checkbox", "radio", "toggle"];
220
+ };
221
+ booleanTrueLabel: {
222
+ type: "string";
223
+ };
224
+ booleanFalseLabel: {
225
+ type: "string";
226
+ };
227
+ allowUnset: {
228
+ type: "boolean";
229
+ };
230
+ layout: {
231
+ type: "string";
232
+ enum: string[];
233
+ };
234
+ sortOptions: {
235
+ type: "boolean";
236
+ };
237
+ inputMethod: {
238
+ type: "string";
239
+ enum: string[];
240
+ };
241
+ dateConstraint: {
242
+ type: "string";
243
+ enum: string[];
244
+ };
245
+ dateTimeFormat: {
246
+ type: "string";
247
+ };
248
+ dateTimeConstraint: {
249
+ type: "string";
250
+ enum: string[];
251
+ };
252
+ };
253
+ description: string;
254
+ };
255
+ 'widget-data-source': {
256
+ type: "object";
257
+ oneOf: ({
258
+ type: "object";
259
+ properties: {
260
+ type: {
261
+ type: "string";
262
+ const: string;
263
+ };
264
+ options: {
265
+ type: "array";
266
+ items: {
267
+ type: "object";
268
+ properties: {
269
+ value: {};
270
+ label: {
271
+ type: "string";
272
+ };
273
+ };
274
+ required: string[];
275
+ };
276
+ };
277
+ url?: undefined;
278
+ method?: undefined;
279
+ dependsOn?: undefined;
280
+ valueKey?: undefined;
281
+ labelKey?: undefined;
282
+ headers?: undefined;
283
+ body?: undefined;
284
+ path?: undefined;
285
+ };
286
+ required: string[];
287
+ } | {
288
+ type: "object";
289
+ properties: {
290
+ type: {
291
+ type: "string";
292
+ const: string;
293
+ };
294
+ url: {
295
+ type: "string";
296
+ };
297
+ method: {
298
+ type: "string";
299
+ enum: string[];
300
+ };
301
+ dependsOn: {
302
+ type: "string";
303
+ };
304
+ valueKey: {
305
+ type: "string";
306
+ };
307
+ labelKey: {
308
+ type: "string";
309
+ };
310
+ headers: {
311
+ type: "object";
312
+ };
313
+ body: {
314
+ type: "object";
315
+ };
316
+ options?: undefined;
317
+ path?: undefined;
318
+ };
319
+ required: string[];
320
+ } | {
321
+ type: "object";
322
+ properties: {
323
+ type: {
324
+ type: "string";
325
+ const: string;
326
+ };
327
+ path: {
328
+ type: "string";
329
+ };
330
+ valueKey: {
331
+ type: "string";
332
+ };
333
+ labelKey: {
334
+ type: "string";
335
+ };
336
+ options?: undefined;
337
+ url?: undefined;
338
+ method?: undefined;
339
+ dependsOn?: undefined;
340
+ headers?: undefined;
341
+ body?: undefined;
342
+ };
343
+ required: string[];
344
+ })[];
345
+ description: string;
346
+ };
347
+ 'widget-data-options': {
348
+ type: "object";
349
+ properties: {
350
+ action: {
351
+ type: "string";
352
+ enum: string[];
353
+ };
354
+ condition: {
355
+ type: "object";
356
+ properties: {
357
+ field: {
358
+ type: "string";
359
+ };
360
+ operator: {
361
+ type: "string";
362
+ enum: readonly ["equals", "notEquals", "notEmpty", "empty", "greaterThan", "lessThan", "contains", "notContains"];
363
+ };
364
+ value: {};
365
+ };
366
+ required: string[];
367
+ };
368
+ minDate: {
369
+ type: "string";
370
+ };
371
+ maxDate: {
372
+ type: "string";
373
+ };
374
+ showCalendar: {
375
+ type: "boolean";
376
+ };
377
+ };
378
+ description: string;
379
+ };
380
+ 'widget-data-placeholder': {
381
+ type: "string";
382
+ description: string;
383
+ };
384
+ 'widget-data-helptext': {
385
+ type: "string";
386
+ description: string;
387
+ };
388
+ 'widget-data-tooltip': {
389
+ type: "string";
390
+ description: string;
391
+ };
392
+ 'widget-data-columns': {
393
+ type: "array";
394
+ items: {
395
+ type: "object";
396
+ properties: {
397
+ 'column-key': {
398
+ type: "string";
399
+ };
400
+ 'widget-label': {
401
+ type: "string";
402
+ };
403
+ widget: {
404
+ type: "string";
405
+ };
406
+ 'widget-type': {
407
+ type: "string";
408
+ };
409
+ 'widget-data-path': {
410
+ type: "string";
411
+ };
412
+ 'widget-data-default': {};
413
+ 'widget-data-format': {
414
+ type: "object";
415
+ };
416
+ 'widget-data-validation': {
417
+ type: "object";
418
+ };
419
+ 'widget-data-source': {
420
+ type: "object";
421
+ };
422
+ 'widget-data-placeholder': {
423
+ type: "string";
424
+ };
425
+ 'widget-required': {
426
+ type: "boolean";
427
+ };
428
+ 'widget-readonly': {
429
+ type: "boolean";
430
+ };
431
+ };
432
+ };
433
+ description: string;
434
+ };
435
+ 'widget-data-operations': {
436
+ type: "object";
437
+ properties: {
438
+ add: {
439
+ type: "boolean";
440
+ };
441
+ remove: {
442
+ type: "boolean";
443
+ };
444
+ edit: {
445
+ type: "boolean";
446
+ };
447
+ };
448
+ description: string;
449
+ };
450
+ 'widget-data-add-label': {
451
+ type: "string";
452
+ description: string;
453
+ };
454
+ 'widget-data-collapsed': {
455
+ type: "boolean";
456
+ description: string;
457
+ };
458
+ 'widget-column-span': {
459
+ type: "number";
460
+ minimum: number;
461
+ description: string;
462
+ };
463
+ 'widget-item': {
464
+ type: "object";
465
+ description: string;
466
+ };
467
+ widgets: {
468
+ type: "array";
469
+ items: {
470
+ type: "object";
471
+ };
472
+ description: string;
473
+ };
474
+ _comment: {
475
+ type: "string";
476
+ description: string;
477
+ };
478
+ };
479
+ required: string[];
480
+ };
481
+ description: string;
482
+ };
483
+ };
484
+ required: string[];
485
+ definitions: {
486
+ panel: {
487
+ type: "object";
488
+ properties: {
489
+ 'panel-id': {
490
+ type: "string";
491
+ minLength: number;
492
+ };
493
+ 'panel-orientation': {
494
+ type: "string";
495
+ enum: readonly ["horizontal", "vertical"];
496
+ };
497
+ 'panel-column-span': {
498
+ type: "number";
499
+ minimum: number;
500
+ };
501
+ panels: {
502
+ type: "array";
503
+ items: {
504
+ $ref: string;
505
+ };
506
+ };
507
+ widgets: {
508
+ type: "array";
509
+ items: {
510
+ type: "object";
511
+ properties: {
512
+ widget: {
513
+ type: "string";
514
+ enum: readonly ["text", "textarea", "number", "boolean", "date", "datetime", "select", "radio", "checkbox", "file", "simple-table", "table", "array-widget", "iterable-accordion", "phone", "currency", "display", "profile"];
515
+ description: string;
516
+ };
517
+ 'widget-type': {
518
+ type: "string";
519
+ enum: string[];
520
+ description: string;
521
+ };
522
+ 'widget-id': {
523
+ type: "string";
524
+ minLength: number;
525
+ description: string;
526
+ };
527
+ 'widget-label': {
528
+ type: "string";
529
+ description: string;
530
+ };
531
+ 'widget-orientation': {
532
+ type: "string";
533
+ enum: readonly ["horizontal", "vertical"];
534
+ description: string;
535
+ };
536
+ 'widget-data-path': {
537
+ oneOf: ({
538
+ type: "string";
539
+ } | {
540
+ type: "object";
541
+ })[];
542
+ description: string;
543
+ };
544
+ 'widget-data-default': {
545
+ description: string;
546
+ };
547
+ 'widget-required': {
548
+ type: "boolean";
549
+ description: string;
550
+ };
551
+ 'widget-readonly': {
552
+ type: "boolean";
553
+ description: string;
554
+ };
555
+ 'widget-data-validation': {
556
+ type: "object";
557
+ properties: {
558
+ required: {
559
+ type: "boolean";
560
+ };
561
+ validationType: {
562
+ type: "string";
563
+ enum: readonly ["email", "phone", "url"];
564
+ };
565
+ pattern: {
566
+ type: "string";
567
+ };
568
+ patternMessage: {
569
+ type: "string";
570
+ };
571
+ minLength: {
572
+ type: "number";
573
+ minimum: number;
574
+ };
575
+ maxLength: {
576
+ type: "number";
577
+ minimum: number;
578
+ };
579
+ min: {
580
+ type: "number";
581
+ };
582
+ max: {
583
+ type: "number";
584
+ };
585
+ custom: {
586
+ type: "string";
587
+ };
588
+ };
589
+ description: string;
590
+ };
591
+ 'widget-data-format': {
592
+ type: "object";
593
+ properties: {
594
+ dateFormat: {
595
+ type: "string";
596
+ };
597
+ currency: {
598
+ type: "string";
599
+ };
600
+ locale: {
601
+ type: "string";
602
+ };
603
+ decimals: {
604
+ type: "number";
605
+ minimum: number;
606
+ maximum: number;
607
+ };
608
+ pattern: {
609
+ type: "string";
610
+ };
611
+ inputType: {
612
+ type: "string";
613
+ enum: string[];
614
+ };
615
+ characterType: {
616
+ type: "string";
617
+ enum: readonly ["any", "alphabetic", "alphanumeric", "numeric", "numeric-decimal", "custom"];
618
+ };
619
+ customCharset: {
620
+ type: "string";
621
+ };
622
+ caseControl: {
623
+ type: "string";
624
+ enum: readonly ["none", "lowercase", "uppercase", "capitalize"];
625
+ };
626
+ mask: {
627
+ type: "object";
628
+ properties: {
629
+ pattern: {
630
+ type: "string";
631
+ };
632
+ type: {
633
+ type: "string";
634
+ enum: string[];
635
+ };
636
+ placeholder: {
637
+ type: "string";
638
+ };
639
+ };
640
+ };
641
+ showCharCounter: {
642
+ type: "boolean";
643
+ };
644
+ rows: {
645
+ type: "number";
646
+ minimum: number;
647
+ };
648
+ numericType: {
649
+ type: "string";
650
+ enum: readonly ["integer", "decimal"];
651
+ };
652
+ decimalPlaces: {
653
+ type: "number";
654
+ minimum: number;
655
+ maximum: number;
656
+ };
657
+ roundingMode: {
658
+ type: "string";
659
+ enum: string[];
660
+ };
661
+ thousandSeparator: {
662
+ type: "string";
663
+ };
664
+ decimalSeparator: {
665
+ type: "string";
666
+ };
667
+ textAlign: {
668
+ type: "string";
669
+ enum: string[];
670
+ };
671
+ allowSigned: {
672
+ type: "boolean";
673
+ };
674
+ formatOnBlur: {
675
+ type: "boolean";
676
+ };
677
+ booleanRepresentation: {
678
+ type: "string";
679
+ enum: readonly ["true-false", "yes-no", "on-off", "custom"];
680
+ };
681
+ booleanControlType: {
682
+ type: "string";
683
+ enum: readonly ["checkbox", "radio", "toggle"];
684
+ };
685
+ booleanTrueLabel: {
686
+ type: "string";
687
+ };
688
+ booleanFalseLabel: {
689
+ type: "string";
690
+ };
691
+ allowUnset: {
692
+ type: "boolean";
693
+ };
694
+ layout: {
695
+ type: "string";
696
+ enum: string[];
697
+ };
698
+ sortOptions: {
699
+ type: "boolean";
700
+ };
701
+ inputMethod: {
702
+ type: "string";
703
+ enum: string[];
704
+ };
705
+ dateConstraint: {
706
+ type: "string";
707
+ enum: string[];
708
+ };
709
+ dateTimeFormat: {
710
+ type: "string";
711
+ };
712
+ dateTimeConstraint: {
713
+ type: "string";
714
+ enum: string[];
715
+ };
716
+ };
717
+ description: string;
718
+ };
719
+ 'widget-data-source': {
720
+ type: "object";
721
+ oneOf: ({
722
+ type: "object";
723
+ properties: {
724
+ type: {
725
+ type: "string";
726
+ const: string;
727
+ };
728
+ options: {
729
+ type: "array";
730
+ items: {
731
+ type: "object";
732
+ properties: {
733
+ value: {};
734
+ label: {
735
+ type: "string";
736
+ };
737
+ };
738
+ required: string[];
739
+ };
740
+ };
741
+ url?: undefined;
742
+ method?: undefined;
743
+ dependsOn?: undefined;
744
+ valueKey?: undefined;
745
+ labelKey?: undefined;
746
+ headers?: undefined;
747
+ body?: undefined;
748
+ path?: undefined;
749
+ };
750
+ required: string[];
751
+ } | {
752
+ type: "object";
753
+ properties: {
754
+ type: {
755
+ type: "string";
756
+ const: string;
757
+ };
758
+ url: {
759
+ type: "string";
760
+ };
761
+ method: {
762
+ type: "string";
763
+ enum: string[];
764
+ };
765
+ dependsOn: {
766
+ type: "string";
767
+ };
768
+ valueKey: {
769
+ type: "string";
770
+ };
771
+ labelKey: {
772
+ type: "string";
773
+ };
774
+ headers: {
775
+ type: "object";
776
+ };
777
+ body: {
778
+ type: "object";
779
+ };
780
+ options?: undefined;
781
+ path?: undefined;
782
+ };
783
+ required: string[];
784
+ } | {
785
+ type: "object";
786
+ properties: {
787
+ type: {
788
+ type: "string";
789
+ const: string;
790
+ };
791
+ path: {
792
+ type: "string";
793
+ };
794
+ valueKey: {
795
+ type: "string";
796
+ };
797
+ labelKey: {
798
+ type: "string";
799
+ };
800
+ options?: undefined;
801
+ url?: undefined;
802
+ method?: undefined;
803
+ dependsOn?: undefined;
804
+ headers?: undefined;
805
+ body?: undefined;
806
+ };
807
+ required: string[];
808
+ })[];
809
+ description: string;
810
+ };
811
+ 'widget-data-options': {
812
+ type: "object";
813
+ properties: {
814
+ action: {
815
+ type: "string";
816
+ enum: string[];
817
+ };
818
+ condition: {
819
+ type: "object";
820
+ properties: {
821
+ field: {
822
+ type: "string";
823
+ };
824
+ operator: {
825
+ type: "string";
826
+ enum: readonly ["equals", "notEquals", "notEmpty", "empty", "greaterThan", "lessThan", "contains", "notContains"];
827
+ };
828
+ value: {};
829
+ };
830
+ required: string[];
831
+ };
832
+ minDate: {
833
+ type: "string";
834
+ };
835
+ maxDate: {
836
+ type: "string";
837
+ };
838
+ showCalendar: {
839
+ type: "boolean";
840
+ };
841
+ };
842
+ description: string;
843
+ };
844
+ 'widget-data-placeholder': {
845
+ type: "string";
846
+ description: string;
847
+ };
848
+ 'widget-data-helptext': {
849
+ type: "string";
850
+ description: string;
851
+ };
852
+ 'widget-data-tooltip': {
853
+ type: "string";
854
+ description: string;
855
+ };
856
+ 'widget-data-columns': {
857
+ type: "array";
858
+ items: {
859
+ type: "object";
860
+ properties: {
861
+ 'column-key': {
862
+ type: "string";
863
+ };
864
+ 'widget-label': {
865
+ type: "string";
866
+ };
867
+ widget: {
868
+ type: "string";
869
+ };
870
+ 'widget-type': {
871
+ type: "string";
872
+ };
873
+ 'widget-data-path': {
874
+ type: "string";
875
+ };
876
+ 'widget-data-default': {};
877
+ 'widget-data-format': {
878
+ type: "object";
879
+ };
880
+ 'widget-data-validation': {
881
+ type: "object";
882
+ };
883
+ 'widget-data-source': {
884
+ type: "object";
885
+ };
886
+ 'widget-data-placeholder': {
887
+ type: "string";
888
+ };
889
+ 'widget-required': {
890
+ type: "boolean";
891
+ };
892
+ 'widget-readonly': {
893
+ type: "boolean";
894
+ };
895
+ };
896
+ };
897
+ description: string;
898
+ };
899
+ 'widget-data-operations': {
900
+ type: "object";
901
+ properties: {
902
+ add: {
903
+ type: "boolean";
904
+ };
905
+ remove: {
906
+ type: "boolean";
907
+ };
908
+ edit: {
909
+ type: "boolean";
910
+ };
911
+ };
912
+ description: string;
913
+ };
914
+ 'widget-data-add-label': {
915
+ type: "string";
916
+ description: string;
917
+ };
918
+ 'widget-data-collapsed': {
919
+ type: "boolean";
920
+ description: string;
921
+ };
922
+ 'widget-column-span': {
923
+ type: "number";
924
+ minimum: number;
925
+ description: string;
926
+ };
927
+ 'widget-item': {
928
+ type: "object";
929
+ description: string;
930
+ };
931
+ widgets: {
932
+ type: "array";
933
+ items: {
934
+ type: "object";
935
+ };
936
+ description: string;
937
+ };
938
+ _comment: {
939
+ type: "string";
940
+ description: string;
941
+ };
942
+ };
943
+ required: string[];
944
+ };
945
+ };
946
+ };
947
+ required: string[];
948
+ };
949
+ };
950
+ };
951
+ /**
952
+ * Section schema
953
+ */
954
+ export declare const sectionSchema: {
955
+ type: "object";
956
+ properties: {
957
+ 'section-id': {
958
+ type: "string";
959
+ minLength: number;
960
+ description: string;
961
+ };
962
+ 'section-title': {
963
+ type: "string";
964
+ description: string;
965
+ };
966
+ 'section-editable': {
967
+ type: "boolean";
968
+ description: string;
969
+ };
970
+ 'section-column-span': {
971
+ type: "number";
972
+ minimum: number;
973
+ description: string;
974
+ };
975
+ 'section-supporting-documents': {
976
+ type: "array";
977
+ items: {
978
+ type: "object";
979
+ properties: {
980
+ 'document-data-path': {
981
+ type: "string";
982
+ };
983
+ 'document-type': {
984
+ type: "string";
985
+ };
986
+ 'document-required': {
987
+ type: "boolean";
988
+ };
989
+ 'document-label': {
990
+ type: "string";
991
+ };
992
+ 'document-accept': {
993
+ type: "string";
994
+ };
995
+ 'document-max-size': {
996
+ type: "number";
997
+ };
998
+ };
999
+ required: string[];
1000
+ };
1001
+ description: string;
1002
+ };
1003
+ panels: {
1004
+ type: "array";
1005
+ items: {
1006
+ type: "object";
1007
+ properties: {
1008
+ 'panel-id': {
1009
+ type: "string";
1010
+ minLength: number;
1011
+ description: string;
1012
+ };
1013
+ 'panel-orientation': {
1014
+ type: "string";
1015
+ enum: readonly ["horizontal", "vertical"];
1016
+ description: string;
1017
+ };
1018
+ 'panel-column-span': {
1019
+ type: "number";
1020
+ minimum: number;
1021
+ description: string;
1022
+ };
1023
+ panels: {
1024
+ type: "array";
1025
+ items: {
1026
+ $ref: string;
1027
+ };
1028
+ description: string;
1029
+ };
1030
+ widgets: {
1031
+ type: "array";
1032
+ items: {
1033
+ type: "object";
1034
+ properties: {
1035
+ widget: {
1036
+ type: "string";
1037
+ enum: readonly ["text", "textarea", "number", "boolean", "date", "datetime", "select", "radio", "checkbox", "file", "simple-table", "table", "array-widget", "iterable-accordion", "phone", "currency", "display", "profile"];
1038
+ description: string;
1039
+ };
1040
+ 'widget-type': {
1041
+ type: "string";
1042
+ enum: string[];
1043
+ description: string;
1044
+ };
1045
+ 'widget-id': {
1046
+ type: "string";
1047
+ minLength: number;
1048
+ description: string;
1049
+ };
1050
+ 'widget-label': {
1051
+ type: "string";
1052
+ description: string;
1053
+ };
1054
+ 'widget-orientation': {
1055
+ type: "string";
1056
+ enum: readonly ["horizontal", "vertical"];
1057
+ description: string;
1058
+ };
1059
+ 'widget-data-path': {
1060
+ oneOf: ({
1061
+ type: "string";
1062
+ } | {
1063
+ type: "object";
1064
+ })[];
1065
+ description: string;
1066
+ };
1067
+ 'widget-data-default': {
1068
+ description: string;
1069
+ };
1070
+ 'widget-required': {
1071
+ type: "boolean";
1072
+ description: string;
1073
+ };
1074
+ 'widget-readonly': {
1075
+ type: "boolean";
1076
+ description: string;
1077
+ };
1078
+ 'widget-data-validation': {
1079
+ type: "object";
1080
+ properties: {
1081
+ required: {
1082
+ type: "boolean";
1083
+ };
1084
+ validationType: {
1085
+ type: "string";
1086
+ enum: readonly ["email", "phone", "url"];
1087
+ };
1088
+ pattern: {
1089
+ type: "string";
1090
+ };
1091
+ patternMessage: {
1092
+ type: "string";
1093
+ };
1094
+ minLength: {
1095
+ type: "number";
1096
+ minimum: number;
1097
+ };
1098
+ maxLength: {
1099
+ type: "number";
1100
+ minimum: number;
1101
+ };
1102
+ min: {
1103
+ type: "number";
1104
+ };
1105
+ max: {
1106
+ type: "number";
1107
+ };
1108
+ custom: {
1109
+ type: "string";
1110
+ };
1111
+ };
1112
+ description: string;
1113
+ };
1114
+ 'widget-data-format': {
1115
+ type: "object";
1116
+ properties: {
1117
+ dateFormat: {
1118
+ type: "string";
1119
+ };
1120
+ currency: {
1121
+ type: "string";
1122
+ };
1123
+ locale: {
1124
+ type: "string";
1125
+ };
1126
+ decimals: {
1127
+ type: "number";
1128
+ minimum: number;
1129
+ maximum: number;
1130
+ };
1131
+ pattern: {
1132
+ type: "string";
1133
+ };
1134
+ inputType: {
1135
+ type: "string";
1136
+ enum: string[];
1137
+ };
1138
+ characterType: {
1139
+ type: "string";
1140
+ enum: readonly ["any", "alphabetic", "alphanumeric", "numeric", "numeric-decimal", "custom"];
1141
+ };
1142
+ customCharset: {
1143
+ type: "string";
1144
+ };
1145
+ caseControl: {
1146
+ type: "string";
1147
+ enum: readonly ["none", "lowercase", "uppercase", "capitalize"];
1148
+ };
1149
+ mask: {
1150
+ type: "object";
1151
+ properties: {
1152
+ pattern: {
1153
+ type: "string";
1154
+ };
1155
+ type: {
1156
+ type: "string";
1157
+ enum: string[];
1158
+ };
1159
+ placeholder: {
1160
+ type: "string";
1161
+ };
1162
+ };
1163
+ };
1164
+ showCharCounter: {
1165
+ type: "boolean";
1166
+ };
1167
+ rows: {
1168
+ type: "number";
1169
+ minimum: number;
1170
+ };
1171
+ numericType: {
1172
+ type: "string";
1173
+ enum: readonly ["integer", "decimal"];
1174
+ };
1175
+ decimalPlaces: {
1176
+ type: "number";
1177
+ minimum: number;
1178
+ maximum: number;
1179
+ };
1180
+ roundingMode: {
1181
+ type: "string";
1182
+ enum: string[];
1183
+ };
1184
+ thousandSeparator: {
1185
+ type: "string";
1186
+ };
1187
+ decimalSeparator: {
1188
+ type: "string";
1189
+ };
1190
+ textAlign: {
1191
+ type: "string";
1192
+ enum: string[];
1193
+ };
1194
+ allowSigned: {
1195
+ type: "boolean";
1196
+ };
1197
+ formatOnBlur: {
1198
+ type: "boolean";
1199
+ };
1200
+ booleanRepresentation: {
1201
+ type: "string";
1202
+ enum: readonly ["true-false", "yes-no", "on-off", "custom"];
1203
+ };
1204
+ booleanControlType: {
1205
+ type: "string";
1206
+ enum: readonly ["checkbox", "radio", "toggle"];
1207
+ };
1208
+ booleanTrueLabel: {
1209
+ type: "string";
1210
+ };
1211
+ booleanFalseLabel: {
1212
+ type: "string";
1213
+ };
1214
+ allowUnset: {
1215
+ type: "boolean";
1216
+ };
1217
+ layout: {
1218
+ type: "string";
1219
+ enum: string[];
1220
+ };
1221
+ sortOptions: {
1222
+ type: "boolean";
1223
+ };
1224
+ inputMethod: {
1225
+ type: "string";
1226
+ enum: string[];
1227
+ };
1228
+ dateConstraint: {
1229
+ type: "string";
1230
+ enum: string[];
1231
+ };
1232
+ dateTimeFormat: {
1233
+ type: "string";
1234
+ };
1235
+ dateTimeConstraint: {
1236
+ type: "string";
1237
+ enum: string[];
1238
+ };
1239
+ };
1240
+ description: string;
1241
+ };
1242
+ 'widget-data-source': {
1243
+ type: "object";
1244
+ oneOf: ({
1245
+ type: "object";
1246
+ properties: {
1247
+ type: {
1248
+ type: "string";
1249
+ const: string;
1250
+ };
1251
+ options: {
1252
+ type: "array";
1253
+ items: {
1254
+ type: "object";
1255
+ properties: {
1256
+ value: {};
1257
+ label: {
1258
+ type: "string";
1259
+ };
1260
+ };
1261
+ required: string[];
1262
+ };
1263
+ };
1264
+ url?: undefined;
1265
+ method?: undefined;
1266
+ dependsOn?: undefined;
1267
+ valueKey?: undefined;
1268
+ labelKey?: undefined;
1269
+ headers?: undefined;
1270
+ body?: undefined;
1271
+ path?: undefined;
1272
+ };
1273
+ required: string[];
1274
+ } | {
1275
+ type: "object";
1276
+ properties: {
1277
+ type: {
1278
+ type: "string";
1279
+ const: string;
1280
+ };
1281
+ url: {
1282
+ type: "string";
1283
+ };
1284
+ method: {
1285
+ type: "string";
1286
+ enum: string[];
1287
+ };
1288
+ dependsOn: {
1289
+ type: "string";
1290
+ };
1291
+ valueKey: {
1292
+ type: "string";
1293
+ };
1294
+ labelKey: {
1295
+ type: "string";
1296
+ };
1297
+ headers: {
1298
+ type: "object";
1299
+ };
1300
+ body: {
1301
+ type: "object";
1302
+ };
1303
+ options?: undefined;
1304
+ path?: undefined;
1305
+ };
1306
+ required: string[];
1307
+ } | {
1308
+ type: "object";
1309
+ properties: {
1310
+ type: {
1311
+ type: "string";
1312
+ const: string;
1313
+ };
1314
+ path: {
1315
+ type: "string";
1316
+ };
1317
+ valueKey: {
1318
+ type: "string";
1319
+ };
1320
+ labelKey: {
1321
+ type: "string";
1322
+ };
1323
+ options?: undefined;
1324
+ url?: undefined;
1325
+ method?: undefined;
1326
+ dependsOn?: undefined;
1327
+ headers?: undefined;
1328
+ body?: undefined;
1329
+ };
1330
+ required: string[];
1331
+ })[];
1332
+ description: string;
1333
+ };
1334
+ 'widget-data-options': {
1335
+ type: "object";
1336
+ properties: {
1337
+ action: {
1338
+ type: "string";
1339
+ enum: string[];
1340
+ };
1341
+ condition: {
1342
+ type: "object";
1343
+ properties: {
1344
+ field: {
1345
+ type: "string";
1346
+ };
1347
+ operator: {
1348
+ type: "string";
1349
+ enum: readonly ["equals", "notEquals", "notEmpty", "empty", "greaterThan", "lessThan", "contains", "notContains"];
1350
+ };
1351
+ value: {};
1352
+ };
1353
+ required: string[];
1354
+ };
1355
+ minDate: {
1356
+ type: "string";
1357
+ };
1358
+ maxDate: {
1359
+ type: "string";
1360
+ };
1361
+ showCalendar: {
1362
+ type: "boolean";
1363
+ };
1364
+ };
1365
+ description: string;
1366
+ };
1367
+ 'widget-data-placeholder': {
1368
+ type: "string";
1369
+ description: string;
1370
+ };
1371
+ 'widget-data-helptext': {
1372
+ type: "string";
1373
+ description: string;
1374
+ };
1375
+ 'widget-data-tooltip': {
1376
+ type: "string";
1377
+ description: string;
1378
+ };
1379
+ 'widget-data-columns': {
1380
+ type: "array";
1381
+ items: {
1382
+ type: "object";
1383
+ properties: {
1384
+ 'column-key': {
1385
+ type: "string";
1386
+ };
1387
+ 'widget-label': {
1388
+ type: "string";
1389
+ };
1390
+ widget: {
1391
+ type: "string";
1392
+ };
1393
+ 'widget-type': {
1394
+ type: "string";
1395
+ };
1396
+ 'widget-data-path': {
1397
+ type: "string";
1398
+ };
1399
+ 'widget-data-default': {};
1400
+ 'widget-data-format': {
1401
+ type: "object";
1402
+ };
1403
+ 'widget-data-validation': {
1404
+ type: "object";
1405
+ };
1406
+ 'widget-data-source': {
1407
+ type: "object";
1408
+ };
1409
+ 'widget-data-placeholder': {
1410
+ type: "string";
1411
+ };
1412
+ 'widget-required': {
1413
+ type: "boolean";
1414
+ };
1415
+ 'widget-readonly': {
1416
+ type: "boolean";
1417
+ };
1418
+ };
1419
+ };
1420
+ description: string;
1421
+ };
1422
+ 'widget-data-operations': {
1423
+ type: "object";
1424
+ properties: {
1425
+ add: {
1426
+ type: "boolean";
1427
+ };
1428
+ remove: {
1429
+ type: "boolean";
1430
+ };
1431
+ edit: {
1432
+ type: "boolean";
1433
+ };
1434
+ };
1435
+ description: string;
1436
+ };
1437
+ 'widget-data-add-label': {
1438
+ type: "string";
1439
+ description: string;
1440
+ };
1441
+ 'widget-data-collapsed': {
1442
+ type: "boolean";
1443
+ description: string;
1444
+ };
1445
+ 'widget-column-span': {
1446
+ type: "number";
1447
+ minimum: number;
1448
+ description: string;
1449
+ };
1450
+ 'widget-item': {
1451
+ type: "object";
1452
+ description: string;
1453
+ };
1454
+ widgets: {
1455
+ type: "array";
1456
+ items: {
1457
+ type: "object";
1458
+ };
1459
+ description: string;
1460
+ };
1461
+ _comment: {
1462
+ type: "string";
1463
+ description: string;
1464
+ };
1465
+ };
1466
+ required: string[];
1467
+ };
1468
+ description: string;
1469
+ };
1470
+ };
1471
+ required: string[];
1472
+ definitions: {
1473
+ panel: {
1474
+ type: "object";
1475
+ properties: {
1476
+ 'panel-id': {
1477
+ type: "string";
1478
+ minLength: number;
1479
+ };
1480
+ 'panel-orientation': {
1481
+ type: "string";
1482
+ enum: readonly ["horizontal", "vertical"];
1483
+ };
1484
+ 'panel-column-span': {
1485
+ type: "number";
1486
+ minimum: number;
1487
+ };
1488
+ panels: {
1489
+ type: "array";
1490
+ items: {
1491
+ $ref: string;
1492
+ };
1493
+ };
1494
+ widgets: {
1495
+ type: "array";
1496
+ items: {
1497
+ type: "object";
1498
+ properties: {
1499
+ widget: {
1500
+ type: "string";
1501
+ enum: readonly ["text", "textarea", "number", "boolean", "date", "datetime", "select", "radio", "checkbox", "file", "simple-table", "table", "array-widget", "iterable-accordion", "phone", "currency", "display", "profile"];
1502
+ description: string;
1503
+ };
1504
+ 'widget-type': {
1505
+ type: "string";
1506
+ enum: string[];
1507
+ description: string;
1508
+ };
1509
+ 'widget-id': {
1510
+ type: "string";
1511
+ minLength: number;
1512
+ description: string;
1513
+ };
1514
+ 'widget-label': {
1515
+ type: "string";
1516
+ description: string;
1517
+ };
1518
+ 'widget-orientation': {
1519
+ type: "string";
1520
+ enum: readonly ["horizontal", "vertical"];
1521
+ description: string;
1522
+ };
1523
+ 'widget-data-path': {
1524
+ oneOf: ({
1525
+ type: "string";
1526
+ } | {
1527
+ type: "object";
1528
+ })[];
1529
+ description: string;
1530
+ };
1531
+ 'widget-data-default': {
1532
+ description: string;
1533
+ };
1534
+ 'widget-required': {
1535
+ type: "boolean";
1536
+ description: string;
1537
+ };
1538
+ 'widget-readonly': {
1539
+ type: "boolean";
1540
+ description: string;
1541
+ };
1542
+ 'widget-data-validation': {
1543
+ type: "object";
1544
+ properties: {
1545
+ required: {
1546
+ type: "boolean";
1547
+ };
1548
+ validationType: {
1549
+ type: "string";
1550
+ enum: readonly ["email", "phone", "url"];
1551
+ };
1552
+ pattern: {
1553
+ type: "string";
1554
+ };
1555
+ patternMessage: {
1556
+ type: "string";
1557
+ };
1558
+ minLength: {
1559
+ type: "number";
1560
+ minimum: number;
1561
+ };
1562
+ maxLength: {
1563
+ type: "number";
1564
+ minimum: number;
1565
+ };
1566
+ min: {
1567
+ type: "number";
1568
+ };
1569
+ max: {
1570
+ type: "number";
1571
+ };
1572
+ custom: {
1573
+ type: "string";
1574
+ };
1575
+ };
1576
+ description: string;
1577
+ };
1578
+ 'widget-data-format': {
1579
+ type: "object";
1580
+ properties: {
1581
+ dateFormat: {
1582
+ type: "string";
1583
+ };
1584
+ currency: {
1585
+ type: "string";
1586
+ };
1587
+ locale: {
1588
+ type: "string";
1589
+ };
1590
+ decimals: {
1591
+ type: "number";
1592
+ minimum: number;
1593
+ maximum: number;
1594
+ };
1595
+ pattern: {
1596
+ type: "string";
1597
+ };
1598
+ inputType: {
1599
+ type: "string";
1600
+ enum: string[];
1601
+ };
1602
+ characterType: {
1603
+ type: "string";
1604
+ enum: readonly ["any", "alphabetic", "alphanumeric", "numeric", "numeric-decimal", "custom"];
1605
+ };
1606
+ customCharset: {
1607
+ type: "string";
1608
+ };
1609
+ caseControl: {
1610
+ type: "string";
1611
+ enum: readonly ["none", "lowercase", "uppercase", "capitalize"];
1612
+ };
1613
+ mask: {
1614
+ type: "object";
1615
+ properties: {
1616
+ pattern: {
1617
+ type: "string";
1618
+ };
1619
+ type: {
1620
+ type: "string";
1621
+ enum: string[];
1622
+ };
1623
+ placeholder: {
1624
+ type: "string";
1625
+ };
1626
+ };
1627
+ };
1628
+ showCharCounter: {
1629
+ type: "boolean";
1630
+ };
1631
+ rows: {
1632
+ type: "number";
1633
+ minimum: number;
1634
+ };
1635
+ numericType: {
1636
+ type: "string";
1637
+ enum: readonly ["integer", "decimal"];
1638
+ };
1639
+ decimalPlaces: {
1640
+ type: "number";
1641
+ minimum: number;
1642
+ maximum: number;
1643
+ };
1644
+ roundingMode: {
1645
+ type: "string";
1646
+ enum: string[];
1647
+ };
1648
+ thousandSeparator: {
1649
+ type: "string";
1650
+ };
1651
+ decimalSeparator: {
1652
+ type: "string";
1653
+ };
1654
+ textAlign: {
1655
+ type: "string";
1656
+ enum: string[];
1657
+ };
1658
+ allowSigned: {
1659
+ type: "boolean";
1660
+ };
1661
+ formatOnBlur: {
1662
+ type: "boolean";
1663
+ };
1664
+ booleanRepresentation: {
1665
+ type: "string";
1666
+ enum: readonly ["true-false", "yes-no", "on-off", "custom"];
1667
+ };
1668
+ booleanControlType: {
1669
+ type: "string";
1670
+ enum: readonly ["checkbox", "radio", "toggle"];
1671
+ };
1672
+ booleanTrueLabel: {
1673
+ type: "string";
1674
+ };
1675
+ booleanFalseLabel: {
1676
+ type: "string";
1677
+ };
1678
+ allowUnset: {
1679
+ type: "boolean";
1680
+ };
1681
+ layout: {
1682
+ type: "string";
1683
+ enum: string[];
1684
+ };
1685
+ sortOptions: {
1686
+ type: "boolean";
1687
+ };
1688
+ inputMethod: {
1689
+ type: "string";
1690
+ enum: string[];
1691
+ };
1692
+ dateConstraint: {
1693
+ type: "string";
1694
+ enum: string[];
1695
+ };
1696
+ dateTimeFormat: {
1697
+ type: "string";
1698
+ };
1699
+ dateTimeConstraint: {
1700
+ type: "string";
1701
+ enum: string[];
1702
+ };
1703
+ };
1704
+ description: string;
1705
+ };
1706
+ 'widget-data-source': {
1707
+ type: "object";
1708
+ oneOf: ({
1709
+ type: "object";
1710
+ properties: {
1711
+ type: {
1712
+ type: "string";
1713
+ const: string;
1714
+ };
1715
+ options: {
1716
+ type: "array";
1717
+ items: {
1718
+ type: "object";
1719
+ properties: {
1720
+ value: {};
1721
+ label: {
1722
+ type: "string";
1723
+ };
1724
+ };
1725
+ required: string[];
1726
+ };
1727
+ };
1728
+ url?: undefined;
1729
+ method?: undefined;
1730
+ dependsOn?: undefined;
1731
+ valueKey?: undefined;
1732
+ labelKey?: undefined;
1733
+ headers?: undefined;
1734
+ body?: undefined;
1735
+ path?: undefined;
1736
+ };
1737
+ required: string[];
1738
+ } | {
1739
+ type: "object";
1740
+ properties: {
1741
+ type: {
1742
+ type: "string";
1743
+ const: string;
1744
+ };
1745
+ url: {
1746
+ type: "string";
1747
+ };
1748
+ method: {
1749
+ type: "string";
1750
+ enum: string[];
1751
+ };
1752
+ dependsOn: {
1753
+ type: "string";
1754
+ };
1755
+ valueKey: {
1756
+ type: "string";
1757
+ };
1758
+ labelKey: {
1759
+ type: "string";
1760
+ };
1761
+ headers: {
1762
+ type: "object";
1763
+ };
1764
+ body: {
1765
+ type: "object";
1766
+ };
1767
+ options?: undefined;
1768
+ path?: undefined;
1769
+ };
1770
+ required: string[];
1771
+ } | {
1772
+ type: "object";
1773
+ properties: {
1774
+ type: {
1775
+ type: "string";
1776
+ const: string;
1777
+ };
1778
+ path: {
1779
+ type: "string";
1780
+ };
1781
+ valueKey: {
1782
+ type: "string";
1783
+ };
1784
+ labelKey: {
1785
+ type: "string";
1786
+ };
1787
+ options?: undefined;
1788
+ url?: undefined;
1789
+ method?: undefined;
1790
+ dependsOn?: undefined;
1791
+ headers?: undefined;
1792
+ body?: undefined;
1793
+ };
1794
+ required: string[];
1795
+ })[];
1796
+ description: string;
1797
+ };
1798
+ 'widget-data-options': {
1799
+ type: "object";
1800
+ properties: {
1801
+ action: {
1802
+ type: "string";
1803
+ enum: string[];
1804
+ };
1805
+ condition: {
1806
+ type: "object";
1807
+ properties: {
1808
+ field: {
1809
+ type: "string";
1810
+ };
1811
+ operator: {
1812
+ type: "string";
1813
+ enum: readonly ["equals", "notEquals", "notEmpty", "empty", "greaterThan", "lessThan", "contains", "notContains"];
1814
+ };
1815
+ value: {};
1816
+ };
1817
+ required: string[];
1818
+ };
1819
+ minDate: {
1820
+ type: "string";
1821
+ };
1822
+ maxDate: {
1823
+ type: "string";
1824
+ };
1825
+ showCalendar: {
1826
+ type: "boolean";
1827
+ };
1828
+ };
1829
+ description: string;
1830
+ };
1831
+ 'widget-data-placeholder': {
1832
+ type: "string";
1833
+ description: string;
1834
+ };
1835
+ 'widget-data-helptext': {
1836
+ type: "string";
1837
+ description: string;
1838
+ };
1839
+ 'widget-data-tooltip': {
1840
+ type: "string";
1841
+ description: string;
1842
+ };
1843
+ 'widget-data-columns': {
1844
+ type: "array";
1845
+ items: {
1846
+ type: "object";
1847
+ properties: {
1848
+ 'column-key': {
1849
+ type: "string";
1850
+ };
1851
+ 'widget-label': {
1852
+ type: "string";
1853
+ };
1854
+ widget: {
1855
+ type: "string";
1856
+ };
1857
+ 'widget-type': {
1858
+ type: "string";
1859
+ };
1860
+ 'widget-data-path': {
1861
+ type: "string";
1862
+ };
1863
+ 'widget-data-default': {};
1864
+ 'widget-data-format': {
1865
+ type: "object";
1866
+ };
1867
+ 'widget-data-validation': {
1868
+ type: "object";
1869
+ };
1870
+ 'widget-data-source': {
1871
+ type: "object";
1872
+ };
1873
+ 'widget-data-placeholder': {
1874
+ type: "string";
1875
+ };
1876
+ 'widget-required': {
1877
+ type: "boolean";
1878
+ };
1879
+ 'widget-readonly': {
1880
+ type: "boolean";
1881
+ };
1882
+ };
1883
+ };
1884
+ description: string;
1885
+ };
1886
+ 'widget-data-operations': {
1887
+ type: "object";
1888
+ properties: {
1889
+ add: {
1890
+ type: "boolean";
1891
+ };
1892
+ remove: {
1893
+ type: "boolean";
1894
+ };
1895
+ edit: {
1896
+ type: "boolean";
1897
+ };
1898
+ };
1899
+ description: string;
1900
+ };
1901
+ 'widget-data-add-label': {
1902
+ type: "string";
1903
+ description: string;
1904
+ };
1905
+ 'widget-data-collapsed': {
1906
+ type: "boolean";
1907
+ description: string;
1908
+ };
1909
+ 'widget-column-span': {
1910
+ type: "number";
1911
+ minimum: number;
1912
+ description: string;
1913
+ };
1914
+ 'widget-item': {
1915
+ type: "object";
1916
+ description: string;
1917
+ };
1918
+ widgets: {
1919
+ type: "array";
1920
+ items: {
1921
+ type: "object";
1922
+ };
1923
+ description: string;
1924
+ };
1925
+ _comment: {
1926
+ type: "string";
1927
+ description: string;
1928
+ };
1929
+ };
1930
+ required: string[];
1931
+ };
1932
+ };
1933
+ };
1934
+ required: string[];
1935
+ };
1936
+ };
1937
+ };
1938
+ description: string;
1939
+ };
1940
+ };
1941
+ required: string[];
1942
+ };
1943
+ /**
1944
+ * Get schema for a specific context (section, panel, or widget)
1945
+ */
1946
+ export declare function getSchemaForContext(context: 'section' | 'panel' | 'widget'): any;
1947
+ //# sourceMappingURL=schemas.d.ts.map