@next-bricks/form 0.9.0 → 0.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/types.json +3154 -804
  2. package/package.json +3 -3
package/dist/types.json CHANGED
@@ -1,920 +1,3270 @@
1
1
  {
2
- "form.general-form-item": [
3
- {
4
- "name": "Layout",
5
- "type": "typeAlias",
6
- "annotation": {
7
- "type": "union",
8
- "types": [
9
- {
10
- "type": "literal",
11
- "value": "horizontal"
12
- },
13
- {
14
- "type": "literal",
15
- "value": "vertical"
16
- },
17
- {
18
- "type": "literal",
19
- "value": "inline"
2
+ "form.general-form-item": {
3
+ "properties": [
4
+ {
5
+ "name": "formElement",
6
+ "types": {
7
+ "type": "union",
8
+ "types": [
9
+ {
10
+ "type": "reference",
11
+ "typeName": "Form"
12
+ }
13
+ ]
14
+ }
15
+ },
16
+ {
17
+ "name": "curElement",
18
+ "types": {
19
+ "type": "reference",
20
+ "typeName": "HTMLElement"
21
+ }
22
+ },
23
+ {
24
+ "name": "name",
25
+ "types": {
26
+ "type": "union",
27
+ "types": [
28
+ {
29
+ "type": "keyword",
30
+ "value": "string"
31
+ }
32
+ ]
33
+ }
34
+ },
35
+ {
36
+ "name": "label",
37
+ "types": {
38
+ "type": "union",
39
+ "types": [
40
+ {
41
+ "type": "keyword",
42
+ "value": "string"
43
+ }
44
+ ]
45
+ }
46
+ },
47
+ {
48
+ "name": "pattern",
49
+ "types": {
50
+ "type": "union",
51
+ "types": [
52
+ {
53
+ "type": "keyword",
54
+ "value": "string"
55
+ }
56
+ ]
57
+ }
58
+ },
59
+ {
60
+ "name": "message",
61
+ "types": {
62
+ "type": "union",
63
+ "types": [
64
+ {
65
+ "type": "reference",
66
+ "typeName": "Record",
67
+ "typeParameters": [
68
+ {
69
+ "type": "keyword",
70
+ "value": "string"
71
+ },
72
+ {
73
+ "type": "keyword",
74
+ "value": "string"
75
+ }
76
+ ]
77
+ }
78
+ ]
79
+ }
80
+ },
81
+ {
82
+ "name": "max",
83
+ "types": {
84
+ "type": "union",
85
+ "types": [
86
+ {
87
+ "type": "keyword",
88
+ "value": "number"
89
+ }
90
+ ]
91
+ }
92
+ },
93
+ {
94
+ "name": "min",
95
+ "types": {
96
+ "type": "union",
97
+ "types": [
98
+ {
99
+ "type": "keyword",
100
+ "value": "number"
101
+ }
102
+ ]
103
+ }
104
+ },
105
+ {
106
+ "name": "required",
107
+ "types": {
108
+ "type": "union",
109
+ "types": [
110
+ {
111
+ "type": "keyword",
112
+ "value": "boolean"
113
+ }
114
+ ]
115
+ }
116
+ },
117
+ {
118
+ "name": "value",
119
+ "types": {
120
+ "type": "union",
121
+ "types": [
122
+ {
123
+ "type": "keyword",
124
+ "value": "string"
125
+ }
126
+ ]
127
+ }
128
+ },
129
+ {
130
+ "name": "labelCol",
131
+ "types": {
132
+ "type": "union",
133
+ "types": [
134
+ {
135
+ "type": "keyword",
136
+ "value": "string"
137
+ }
138
+ ]
139
+ }
140
+ },
141
+ {
142
+ "name": "wrapperCol",
143
+ "types": {
144
+ "type": "union",
145
+ "types": [
146
+ {
147
+ "type": "keyword",
148
+ "value": "string"
149
+ }
150
+ ]
151
+ }
152
+ },
153
+ {
154
+ "name": "valuePropsName",
155
+ "types": {
156
+ "type": "union",
157
+ "types": [
158
+ {
159
+ "type": "keyword",
160
+ "value": "string"
161
+ }
162
+ ]
163
+ }
164
+ },
165
+ {
166
+ "name": "layout",
167
+ "types": {
168
+ "type": "reference",
169
+ "typeName": "Layout"
170
+ }
171
+ },
172
+ {
173
+ "name": "size",
174
+ "types": {
175
+ "type": "union",
176
+ "types": [
177
+ {
178
+ "type": "reference",
179
+ "typeName": "ComponentSize"
180
+ }
181
+ ]
182
+ }
183
+ },
184
+ {
185
+ "name": "trim"
186
+ },
187
+ {
188
+ "name": "trigger",
189
+ "types": {
190
+ "type": "keyword",
191
+ "value": "string"
192
+ }
193
+ },
194
+ {
195
+ "name": "validator",
196
+ "types": {
197
+ "type": "union",
198
+ "types": [
199
+ null
200
+ ]
201
+ }
202
+ },
203
+ {
204
+ "name": "needValidate",
205
+ "types": {
206
+ "type": "union",
207
+ "types": [
208
+ {
209
+ "type": "keyword",
210
+ "value": "boolean"
211
+ }
212
+ ]
213
+ }
214
+ }
215
+ ],
216
+ "types": [
217
+ {
218
+ "name": "Layout",
219
+ "type": "typeAlias",
220
+ "annotation": {
221
+ "type": "union",
222
+ "types": [
223
+ {
224
+ "type": "literal",
225
+ "value": "horizontal"
226
+ },
227
+ {
228
+ "type": "literal",
229
+ "value": "vertical"
230
+ },
231
+ {
232
+ "type": "literal",
233
+ "value": "inline"
234
+ }
235
+ ]
236
+ }
237
+ },
238
+ {
239
+ "name": "ComponentSize",
240
+ "type": "typeAlias",
241
+ "annotation": {
242
+ "type": "union",
243
+ "types": [
244
+ {
245
+ "type": "literal",
246
+ "value": "large"
247
+ },
248
+ {
249
+ "type": "literal",
250
+ "value": "medium"
251
+ },
252
+ {
253
+ "type": "literal",
254
+ "value": "small"
255
+ },
256
+ {
257
+ "type": "literal",
258
+ "value": "xs"
259
+ }
260
+ ]
261
+ }
262
+ }
263
+ ]
264
+ },
265
+ "form.submit-buttons": {
266
+ "properties": [
267
+ {
268
+ "name": "submitText",
269
+ "types": {
270
+ "type": "keyword",
271
+ "value": "string"
272
+ }
273
+ },
274
+ {
275
+ "name": "cancelText",
276
+ "types": {
277
+ "type": "union",
278
+ "types": [
279
+ {
280
+ "type": "keyword",
281
+ "value": "string"
282
+ }
283
+ ]
284
+ }
285
+ },
286
+ {
287
+ "name": "disableAfterClick",
288
+ "types": {
289
+ "type": "union",
290
+ "types": [
291
+ {
292
+ "type": "keyword",
293
+ "value": "boolean"
294
+ }
295
+ ]
296
+ }
297
+ },
298
+ {
299
+ "name": "submitDisabled",
300
+ "types": {
301
+ "type": "union",
302
+ "types": [
303
+ {
304
+ "type": "keyword",
305
+ "value": "boolean"
306
+ }
307
+ ]
308
+ }
309
+ },
310
+ {
311
+ "name": "submitType",
312
+ "types": {
313
+ "type": "union",
314
+ "types": [
315
+ {
316
+ "type": "reference",
317
+ "typeName": "ButtonType"
318
+ }
319
+ ]
320
+ }
321
+ },
322
+ {
323
+ "name": "cancelType",
324
+ "types": {
325
+ "type": "union",
326
+ "types": [
327
+ {
328
+ "type": "reference",
329
+ "typeName": "ButtonType"
330
+ }
331
+ ]
332
+ }
333
+ }
334
+ ],
335
+ "events": [
336
+ {
337
+ "name": "submit"
338
+ },
339
+ {
340
+ "name": "cancel"
341
+ }
342
+ ],
343
+ "types": [
344
+ {
345
+ "name": "ButtonType",
346
+ "type": "typeAlias",
347
+ "annotation": {
348
+ "type": "union",
349
+ "types": [
350
+ {
351
+ "type": "literal",
352
+ "value": "primary"
353
+ },
354
+ {
355
+ "type": "literal",
356
+ "value": "default"
357
+ },
358
+ {
359
+ "type": "literal",
360
+ "value": "dashed"
361
+ },
362
+ {
363
+ "type": "literal",
364
+ "value": "ghost"
365
+ },
366
+ {
367
+ "type": "literal",
368
+ "value": "link"
369
+ },
370
+ {
371
+ "type": "literal",
372
+ "value": "text"
373
+ }
374
+ ]
375
+ }
376
+ }
377
+ ]
378
+ },
379
+ "form.dynamic-form-item": {
380
+ "properties": [
381
+ {
382
+ "name": "name",
383
+ "types": {
384
+ "type": "union",
385
+ "types": [
386
+ {
387
+ "type": "keyword",
388
+ "value": "string"
389
+ }
390
+ ]
391
+ }
392
+ },
393
+ {
394
+ "name": "label",
395
+ "types": {
396
+ "type": "union",
397
+ "types": [
398
+ {
399
+ "type": "keyword",
400
+ "value": "string"
401
+ }
402
+ ]
403
+ }
404
+ },
405
+ {
406
+ "name": "required",
407
+ "types": {
408
+ "type": "union",
409
+ "types": [
410
+ {
411
+ "type": "keyword",
412
+ "value": "boolean"
413
+ }
414
+ ]
415
+ }
416
+ },
417
+ {
418
+ "name": "value",
419
+ "types": {
420
+ "type": "union",
421
+ "types": [
422
+ {
423
+ "type": "array",
424
+ "elementType": {
425
+ "type": "reference",
426
+ "typeName": "DynamicFormValuesItem"
427
+ }
428
+ }
429
+ ]
430
+ }
431
+ },
432
+ {
433
+ "name": "useBrick",
434
+ "types": {
435
+ "type": "union",
436
+ "types": [
437
+ {
438
+ "type": "reference",
439
+ "typeName": "UseBrickConf"
440
+ }
441
+ ]
442
+ }
443
+ }
444
+ ],
445
+ "events": [
446
+ {
447
+ "name": "change",
448
+ "types": {
449
+ "type": "array",
450
+ "elementType": {
451
+ "type": "reference",
452
+ "typeName": "DynamicFormValuesItem"
20
453
  }
21
- ]
454
+ }
455
+ }
456
+ ],
457
+ "types": [
458
+ {
459
+ "name": "DynamicFormValuesItem",
460
+ "type": "typeAlias",
461
+ "annotation": {
462
+ "type": "reference",
463
+ "typeName": "Record",
464
+ "typeParameters": [
465
+ {
466
+ "type": "keyword",
467
+ "value": "string"
468
+ },
469
+ {
470
+ "type": "keyword",
471
+ "value": "any"
472
+ }
473
+ ]
474
+ }
475
+ }
476
+ ]
477
+ },
478
+ "form.general-search": {
479
+ "properties": [
480
+ {
481
+ "name": "value",
482
+ "types": {
483
+ "type": "keyword",
484
+ "value": "string"
485
+ }
486
+ },
487
+ {
488
+ "name": "placeholder",
489
+ "types": {
490
+ "type": "union",
491
+ "types": [
492
+ {
493
+ "type": "keyword",
494
+ "value": "string"
495
+ }
496
+ ]
497
+ }
498
+ },
499
+ {
500
+ "name": "autoFocus",
501
+ "types": {
502
+ "type": "union",
503
+ "types": [
504
+ {
505
+ "type": "keyword",
506
+ "value": "boolean"
507
+ }
508
+ ]
509
+ }
510
+ },
511
+ {
512
+ "name": "clearable",
513
+ "types": {
514
+ "type": "union",
515
+ "types": [
516
+ {
517
+ "type": "keyword",
518
+ "value": "boolean"
519
+ }
520
+ ]
521
+ }
522
+ },
523
+ {
524
+ "name": "trim",
525
+ "types": {
526
+ "type": "union",
527
+ "types": [
528
+ {
529
+ "type": "keyword",
530
+ "value": "boolean"
531
+ }
532
+ ]
533
+ }
534
+ },
535
+ {
536
+ "name": "debounceTime",
537
+ "types": {
538
+ "type": "keyword",
539
+ "value": "number"
540
+ }
541
+ }
542
+ ],
543
+ "events": [
544
+ {
545
+ "name": "blur",
546
+ "types": {
547
+ "type": "keyword",
548
+ "value": "string"
549
+ }
550
+ },
551
+ {
552
+ "name": "change",
553
+ "types": {
554
+ "type": "keyword",
555
+ "value": "string"
556
+ }
557
+ },
558
+ {
559
+ "name": "search",
560
+ "types": {
561
+ "type": "keyword",
562
+ "value": "string"
563
+ }
564
+ }
565
+ ]
566
+ },
567
+ "form.general-switch": {
568
+ "properties": [
569
+ {
570
+ "name": "name",
571
+ "types": {
572
+ "type": "union",
573
+ "types": [
574
+ {
575
+ "type": "keyword",
576
+ "value": "string"
577
+ }
578
+ ]
579
+ }
580
+ },
581
+ {
582
+ "name": "label",
583
+ "types": {
584
+ "type": "union",
585
+ "types": [
586
+ {
587
+ "type": "keyword",
588
+ "value": "string"
589
+ }
590
+ ]
591
+ }
592
+ },
593
+ {
594
+ "name": "value",
595
+ "types": {
596
+ "type": "union",
597
+ "types": [
598
+ {
599
+ "type": "keyword",
600
+ "value": "boolean"
601
+ }
602
+ ]
603
+ }
604
+ },
605
+ {
606
+ "name": "disabled",
607
+ "types": {
608
+ "type": "union",
609
+ "types": [
610
+ {
611
+ "type": "keyword",
612
+ "value": "boolean"
613
+ }
614
+ ]
615
+ }
616
+ },
617
+ {
618
+ "name": "size",
619
+ "types": {
620
+ "type": "union",
621
+ "types": [
622
+ {
623
+ "type": "reference",
624
+ "typeName": "ComponentSize"
625
+ }
626
+ ]
627
+ }
628
+ },
629
+ {
630
+ "name": "checkedText",
631
+ "types": {
632
+ "type": "union",
633
+ "types": [
634
+ {
635
+ "type": "keyword",
636
+ "value": "string"
637
+ }
638
+ ]
639
+ }
640
+ },
641
+ {
642
+ "name": "unCheckedText",
643
+ "types": {
644
+ "type": "union",
645
+ "types": [
646
+ {
647
+ "type": "keyword",
648
+ "value": "string"
649
+ }
650
+ ]
651
+ }
652
+ },
653
+ {
654
+ "name": "checkedIcon",
655
+ "types": {
656
+ "type": "union",
657
+ "types": [
658
+ {
659
+ "type": "reference",
660
+ "typeName": "GeneralIconProps"
661
+ }
662
+ ]
663
+ }
664
+ },
665
+ {
666
+ "name": "unCheckedIcon",
667
+ "types": {
668
+ "type": "union",
669
+ "types": [
670
+ {
671
+ "type": "reference",
672
+ "typeName": "GeneralIconProps"
673
+ }
674
+ ]
675
+ }
676
+ }
677
+ ],
678
+ "events": [
679
+ {
680
+ "name": "switch",
681
+ "types": {
682
+ "type": "keyword",
683
+ "value": "boolean"
684
+ }
685
+ }
686
+ ],
687
+ "types": [
688
+ {
689
+ "name": "ComponentSize",
690
+ "type": "typeAlias",
691
+ "annotation": {
692
+ "type": "union",
693
+ "types": [
694
+ {
695
+ "type": "literal",
696
+ "value": "large"
697
+ },
698
+ {
699
+ "type": "literal",
700
+ "value": "medium"
701
+ },
702
+ {
703
+ "type": "literal",
704
+ "value": "small"
705
+ },
706
+ {
707
+ "type": "literal",
708
+ "value": "xs"
709
+ }
710
+ ]
711
+ }
712
+ }
713
+ ]
714
+ },
715
+ "form.general-form": {
716
+ "properties": [
717
+ {
718
+ "name": "layout",
719
+ "types": {
720
+ "type": "union",
721
+ "types": [
722
+ {
723
+ "type": "reference",
724
+ "typeName": "Layout"
725
+ }
726
+ ]
727
+ }
728
+ },
729
+ {
730
+ "name": "size",
731
+ "types": {
732
+ "type": "union",
733
+ "types": [
734
+ {
735
+ "type": "reference",
736
+ "typeName": "ComponentSize"
737
+ }
738
+ ]
739
+ }
740
+ }
741
+ ],
742
+ "events": [
743
+ {
744
+ "name": "values.change",
745
+ "types": {
746
+ "type": "reference",
747
+ "typeName": "Record",
748
+ "typeParameters": [
749
+ {
750
+ "type": "keyword",
751
+ "value": "string"
752
+ },
753
+ {
754
+ "type": "keyword",
755
+ "value": "any"
756
+ }
757
+ ]
758
+ }
759
+ },
760
+ {
761
+ "name": "validate.success",
762
+ "types": {
763
+ "type": "reference",
764
+ "typeName": "Record",
765
+ "typeParameters": [
766
+ {
767
+ "type": "keyword",
768
+ "value": "string"
769
+ },
770
+ {
771
+ "type": "keyword",
772
+ "value": "any"
773
+ }
774
+ ]
775
+ }
776
+ },
777
+ {
778
+ "name": "validate.error",
779
+ "types": {
780
+ "type": "array",
781
+ "elementType": {
782
+ "type": "reference",
783
+ "typeName": "MessageBody"
784
+ }
785
+ }
786
+ }
787
+ ],
788
+ "methods": [
789
+ {
790
+ "name": "validate",
791
+ "types": {
792
+ "type": "union",
793
+ "types": [
794
+ {
795
+ "type": "keyword",
796
+ "value": "boolean"
797
+ },
798
+ {
799
+ "type": "reference",
800
+ "typeName": "Record",
801
+ "typeParameters": [
802
+ {
803
+ "type": "keyword",
804
+ "value": "string"
805
+ },
806
+ {
807
+ "type": "keyword",
808
+ "value": "any"
809
+ }
810
+ ]
811
+ }
812
+ ]
813
+ }
814
+ }
815
+ ],
816
+ "types": [
817
+ {
818
+ "name": "Layout",
819
+ "type": "typeAlias",
820
+ "annotation": {
821
+ "type": "union",
822
+ "types": [
823
+ {
824
+ "type": "literal",
825
+ "value": "horizontal"
826
+ },
827
+ {
828
+ "type": "literal",
829
+ "value": "vertical"
830
+ },
831
+ {
832
+ "type": "literal",
833
+ "value": "inline"
834
+ }
835
+ ]
836
+ }
837
+ },
838
+ {
839
+ "name": "ComponentSize",
840
+ "type": "typeAlias",
841
+ "annotation": {
842
+ "type": "union",
843
+ "types": [
844
+ {
845
+ "type": "literal",
846
+ "value": "large"
847
+ },
848
+ {
849
+ "type": "literal",
850
+ "value": "medium"
851
+ },
852
+ {
853
+ "type": "literal",
854
+ "value": "small"
855
+ },
856
+ {
857
+ "type": "literal",
858
+ "value": "xs"
859
+ }
860
+ ]
861
+ }
862
+ }
863
+ ]
864
+ },
865
+ "form.general-select": {
866
+ "properties": [
867
+ {
868
+ "name": "name",
869
+ "types": {
870
+ "type": "union",
871
+ "types": [
872
+ {
873
+ "type": "keyword",
874
+ "value": "string"
875
+ }
876
+ ]
877
+ }
878
+ },
879
+ {
880
+ "name": "placeholder",
881
+ "types": {
882
+ "type": "union",
883
+ "types": [
884
+ {
885
+ "type": "keyword",
886
+ "value": "string"
887
+ }
888
+ ]
889
+ }
890
+ },
891
+ {
892
+ "name": "label",
893
+ "types": {
894
+ "type": "union",
895
+ "types": [
896
+ {
897
+ "type": "keyword",
898
+ "value": "string"
899
+ }
900
+ ]
901
+ }
902
+ },
903
+ {
904
+ "name": "options",
905
+ "types": {
906
+ "type": "union",
907
+ "types": [
908
+ {
909
+ "type": "array",
910
+ "elementType": {
911
+ "type": "reference",
912
+ "typeName": "GeneralComplexOption"
913
+ }
914
+ }
915
+ ]
916
+ }
917
+ },
918
+ {
919
+ "name": "value",
920
+ "types": {
921
+ "type": "union",
922
+ "types": [
923
+ {
924
+ "type": "keyword",
925
+ "value": "any"
926
+ }
927
+ ]
928
+ }
929
+ },
930
+ {
931
+ "name": "required",
932
+ "types": {
933
+ "type": "union",
934
+ "types": [
935
+ {
936
+ "type": "keyword",
937
+ "value": "boolean"
938
+ }
939
+ ]
940
+ }
941
+ },
942
+ {
943
+ "name": "message",
944
+ "types": {
945
+ "type": "union",
946
+ "types": [
947
+ {
948
+ "type": "reference",
949
+ "typeName": "Record",
950
+ "typeParameters": [
951
+ {
952
+ "type": "keyword",
953
+ "value": "string"
954
+ },
955
+ {
956
+ "type": "keyword",
957
+ "value": "string"
958
+ }
959
+ ]
960
+ }
961
+ ]
962
+ }
963
+ },
964
+ {
965
+ "name": "disabled",
966
+ "types": {
967
+ "type": "union",
968
+ "types": [
969
+ {
970
+ "type": "keyword",
971
+ "value": "boolean"
972
+ }
973
+ ]
974
+ }
975
+ },
976
+ {
977
+ "name": "multiple",
978
+ "types": {
979
+ "type": "union",
980
+ "types": [
981
+ {
982
+ "type": "keyword",
983
+ "value": "boolean"
984
+ }
985
+ ]
986
+ }
987
+ },
988
+ {
989
+ "name": "clearable",
990
+ "types": {
991
+ "type": "union",
992
+ "types": [
993
+ {
994
+ "type": "keyword",
995
+ "value": "boolean"
996
+ }
997
+ ]
998
+ }
999
+ },
1000
+ {
1001
+ "name": "inputStyle",
1002
+ "types": {
1003
+ "type": "union",
1004
+ "types": [
1005
+ {
1006
+ "type": "reference",
1007
+ "qualified": {
1008
+ "type": "qualifiedName",
1009
+ "left": {
1010
+ "type": "identifier",
1011
+ "value": "React"
1012
+ },
1013
+ "right": {
1014
+ "type": "identifier",
1015
+ "value": "CSSProperties"
1016
+ }
1017
+ }
1018
+ }
1019
+ ]
1020
+ }
1021
+ }
1022
+ ],
1023
+ "events": [
1024
+ {
1025
+ "name": "change",
1026
+ "types": {
1027
+ "type": "typeLiteral",
1028
+ "members": [
1029
+ {
1030
+ "type": "propertySignature",
1031
+ "name": "value",
1032
+ "property": {
1033
+ "type": "union",
1034
+ "types": [
1035
+ {
1036
+ "type": "keyword",
1037
+ "value": "string"
1038
+ },
1039
+ {
1040
+ "type": "array",
1041
+ "elementType": {
1042
+ "type": "keyword",
1043
+ "value": "string"
1044
+ }
1045
+ }
1046
+ ]
1047
+ }
1048
+ },
1049
+ {
1050
+ "type": "propertySignature",
1051
+ "name": "options",
1052
+ "property": {
1053
+ "type": "array",
1054
+ "elementType": {
1055
+ "type": "reference",
1056
+ "typeName": "GeneralComplexOption"
1057
+ }
1058
+ }
1059
+ }
1060
+ ]
1061
+ }
1062
+ },
1063
+ {
1064
+ "name": "options.change",
1065
+ "types": {
1066
+ "type": "typeLiteral",
1067
+ "members": [
1068
+ {
1069
+ "type": "propertySignature",
1070
+ "name": "options",
1071
+ "property": {
1072
+ "type": "typeLiteral",
1073
+ "members": [
1074
+ {
1075
+ "type": "propertySignature",
1076
+ "name": "label",
1077
+ "property": {
1078
+ "type": "keyword",
1079
+ "value": "string"
1080
+ }
1081
+ },
1082
+ {
1083
+ "type": "propertySignature",
1084
+ "name": "value",
1085
+ "property": {
1086
+ "type": "keyword",
1087
+ "value": "any"
1088
+ }
1089
+ },
1090
+ {
1091
+ "type": "indexSignature",
1092
+ "parameters": {
1093
+ "name": "key",
1094
+ "type": "keyword",
1095
+ "value": "string"
1096
+ },
1097
+ "property": {
1098
+ "type": "keyword",
1099
+ "value": "any"
1100
+ }
1101
+ }
1102
+ ]
1103
+ }
1104
+ },
1105
+ {
1106
+ "type": "propertySignature",
1107
+ "name": "name",
1108
+ "property": {
1109
+ "type": "keyword",
1110
+ "value": "string"
1111
+ }
1112
+ }
1113
+ ]
1114
+ }
22
1115
  }
23
- },
24
- {
25
- "name": "ComponentSize",
26
- "type": "typeAlias",
27
- "annotation": {
28
- "type": "union",
29
- "types": [
30
- {
31
- "type": "literal",
32
- "value": "large"
33
- },
1116
+ ],
1117
+ "types": [
1118
+ {
1119
+ "name": "GeneralComplexOption",
1120
+ "type": "interface",
1121
+ "typeParameters": {
1122
+ "type": "typeParameterDeclaration",
1123
+ "params": [
1124
+ {
1125
+ "type": "typeParameter",
1126
+ "value": "T",
1127
+ "default": {
1128
+ "type": "union",
1129
+ "types": [
1130
+ {
1131
+ "type": "keyword",
1132
+ "value": "string"
1133
+ },
1134
+ {
1135
+ "type": "keyword",
1136
+ "value": "number"
1137
+ },
1138
+ {
1139
+ "type": "keyword",
1140
+ "value": "boolean"
1141
+ }
1142
+ ]
1143
+ }
1144
+ }
1145
+ ]
1146
+ },
1147
+ "annotation": [
34
1148
  {
35
- "type": "literal",
36
- "value": "medium"
1149
+ "type": "propertySignature",
1150
+ "name": "label",
1151
+ "property": {
1152
+ "type": "keyword",
1153
+ "value": "string"
1154
+ }
37
1155
  },
38
1156
  {
39
- "type": "literal",
40
- "value": "small"
1157
+ "type": "propertySignature",
1158
+ "name": "value",
1159
+ "property": {
1160
+ "type": "reference",
1161
+ "typeName": "T"
1162
+ }
41
1163
  },
42
1164
  {
43
- "type": "literal",
44
- "value": "xs"
1165
+ "type": "indexSignature",
1166
+ "parameters": {
1167
+ "name": "key",
1168
+ "type": "keyword",
1169
+ "value": "string"
1170
+ },
1171
+ "property": {
1172
+ "type": "keyword",
1173
+ "value": "any"
1174
+ }
45
1175
  }
46
1176
  ]
47
1177
  }
48
- }
49
- ],
50
- "form.submit-buttons": [
51
- {
52
- "name": "ButtonType",
53
- "type": "typeAlias",
54
- "annotation": {
55
- "type": "union",
56
- "types": [
57
- {
58
- "type": "literal",
59
- "value": "primary"
60
- },
61
- {
62
- "type": "literal",
63
- "value": "default"
64
- },
65
- {
66
- "type": "literal",
67
- "value": "dashed"
68
- },
69
- {
70
- "type": "literal",
71
- "value": "ghost"
72
- },
73
- {
74
- "type": "literal",
75
- "value": "link"
76
- },
77
- {
78
- "type": "literal",
79
- "value": "text"
1178
+ ]
1179
+ },
1180
+ "form.general-checkbox": {
1181
+ "properties": [
1182
+ {
1183
+ "name": "name",
1184
+ "types": {
1185
+ "type": "union",
1186
+ "types": [
1187
+ {
1188
+ "type": "keyword",
1189
+ "value": "string"
1190
+ }
1191
+ ]
1192
+ }
1193
+ },
1194
+ {
1195
+ "name": "label",
1196
+ "types": {
1197
+ "type": "union",
1198
+ "types": [
1199
+ {
1200
+ "type": "keyword",
1201
+ "value": "string"
1202
+ }
1203
+ ]
1204
+ }
1205
+ },
1206
+ {
1207
+ "name": "value",
1208
+ "types": {
1209
+ "type": "union",
1210
+ "types": [
1211
+ {
1212
+ "type": "array",
1213
+ "elementType": {
1214
+ "type": "reference",
1215
+ "typeName": "CheckboxValueType"
1216
+ }
1217
+ }
1218
+ ]
1219
+ }
1220
+ },
1221
+ {
1222
+ "name": "options",
1223
+ "types": {
1224
+ "type": "array",
1225
+ "elementType": {
1226
+ "type": "reference",
1227
+ "typeName": "CheckboxOptionType"
80
1228
  }
81
- ]
1229
+ }
1230
+ },
1231
+ {
1232
+ "name": "type",
1233
+ "types": {
1234
+ "type": "reference",
1235
+ "typeName": "CheckboxType"
1236
+ }
1237
+ },
1238
+ {
1239
+ "name": "disabled",
1240
+ "types": {
1241
+ "type": "union",
1242
+ "types": [
1243
+ {
1244
+ "type": "keyword",
1245
+ "value": "boolean"
1246
+ }
1247
+ ]
1248
+ }
1249
+ },
1250
+ {
1251
+ "name": "isCustom",
1252
+ "types": {
1253
+ "type": "keyword",
1254
+ "value": "boolean"
1255
+ }
1256
+ },
1257
+ {
1258
+ "name": "required",
1259
+ "types": {
1260
+ "type": "union",
1261
+ "types": [
1262
+ {
1263
+ "type": "keyword",
1264
+ "value": "boolean"
1265
+ }
1266
+ ]
1267
+ }
1268
+ },
1269
+ {
1270
+ "name": "message",
1271
+ "types": {
1272
+ "type": "union",
1273
+ "types": [
1274
+ {
1275
+ "type": "reference",
1276
+ "typeName": "Record",
1277
+ "typeParameters": [
1278
+ {
1279
+ "type": "keyword",
1280
+ "value": "string"
1281
+ },
1282
+ {
1283
+ "type": "keyword",
1284
+ "value": "string"
1285
+ }
1286
+ ]
1287
+ }
1288
+ ]
1289
+ }
82
1290
  }
83
- }
84
- ],
85
- "form.dynamic-form-item": [
86
- {
87
- "name": "DynamicFormValuesItem",
88
- "type": "typeAlias",
89
- "annotation": {
90
- "type": "reference",
91
- "typeName": "Record",
92
- "typeParameters": [
93
- {
94
- "type": "keyword",
95
- "value": "string"
96
- },
97
- {
98
- "type": "keyword",
99
- "value": "any"
1291
+ ],
1292
+ "events": [
1293
+ {
1294
+ "name": "change",
1295
+ "types": {
1296
+ "type": "array",
1297
+ "elementType": {
1298
+ "type": "reference",
1299
+ "typeName": "CheckboxOptionType"
100
1300
  }
101
- ]
1301
+ }
1302
+ },
1303
+ {
1304
+ "name": "options.change",
1305
+ "types": {
1306
+ "type": "typeLiteral",
1307
+ "members": [
1308
+ {
1309
+ "type": "propertySignature",
1310
+ "name": "options",
1311
+ "property": {
1312
+ "type": "array",
1313
+ "elementType": {
1314
+ "type": "reference",
1315
+ "typeName": "CheckboxOptionType"
1316
+ }
1317
+ }
1318
+ },
1319
+ {
1320
+ "type": "propertySignature",
1321
+ "name": "name",
1322
+ "property": {
1323
+ "type": "keyword",
1324
+ "value": "string"
1325
+ }
1326
+ }
1327
+ ]
1328
+ }
102
1329
  }
103
- }
104
- ],
105
- "form.general-switch": [
106
- {
107
- "name": "ComponentSize",
108
- "type": "typeAlias",
109
- "annotation": {
110
- "type": "union",
111
- "types": [
112
- {
113
- "type": "literal",
114
- "value": "large"
1330
+ ],
1331
+ "types": [
1332
+ {
1333
+ "name": "CheckboxValueType",
1334
+ "type": "typeAlias",
1335
+ "annotation": {
1336
+ "type": "union",
1337
+ "types": [
1338
+ {
1339
+ "type": "keyword",
1340
+ "value": "string"
1341
+ },
1342
+ {
1343
+ "type": "keyword",
1344
+ "value": "number"
1345
+ },
1346
+ {
1347
+ "type": "keyword",
1348
+ "value": "boolean"
1349
+ }
1350
+ ]
1351
+ }
1352
+ },
1353
+ {
1354
+ "name": "CheckboxOptionType",
1355
+ "type": "interface",
1356
+ "annotation": [
1357
+ {
1358
+ "type": "propertySignature",
1359
+ "name": "label",
1360
+ "property": {
1361
+ "type": "reference",
1362
+ "qualified": {
1363
+ "type": "qualifiedName",
1364
+ "left": {
1365
+ "type": "identifier",
1366
+ "value": "React"
1367
+ },
1368
+ "right": {
1369
+ "type": "identifier",
1370
+ "value": "ReactNode"
1371
+ }
1372
+ }
1373
+ }
115
1374
  },
116
1375
  {
117
- "type": "literal",
118
- "value": "medium"
1376
+ "type": "propertySignature",
1377
+ "name": "value",
1378
+ "property": {
1379
+ "type": "keyword",
1380
+ "value": "any"
1381
+ }
119
1382
  },
120
1383
  {
121
- "type": "literal",
122
- "value": "small"
1384
+ "type": "propertySignature",
1385
+ "name": "style",
1386
+ "property": {
1387
+ "type": "reference",
1388
+ "qualified": {
1389
+ "type": "qualifiedName",
1390
+ "left": {
1391
+ "type": "identifier",
1392
+ "value": "React"
1393
+ },
1394
+ "right": {
1395
+ "type": "identifier",
1396
+ "value": "CSSProperties"
1397
+ }
1398
+ }
1399
+ }
123
1400
  },
124
1401
  {
125
- "type": "literal",
126
- "value": "xs"
127
- }
128
- ]
129
- }
130
- }
131
- ],
132
- "form.general-form": [
133
- {
134
- "name": "Layout",
135
- "type": "typeAlias",
136
- "annotation": {
137
- "type": "union",
138
- "types": [
139
- {
140
- "type": "literal",
141
- "value": "horizontal"
1402
+ "type": "propertySignature",
1403
+ "name": "disabled",
1404
+ "property": {
1405
+ "type": "keyword",
1406
+ "value": "boolean"
1407
+ }
142
1408
  },
143
1409
  {
144
- "type": "literal",
145
- "value": "vertical"
1410
+ "type": "propertySignature",
1411
+ "name": "checkboxColor",
1412
+ "property": {
1413
+ "type": "keyword",
1414
+ "value": "string"
1415
+ }
146
1416
  },
147
1417
  {
148
- "type": "literal",
149
- "value": "inline"
1418
+ "type": "indexSignature",
1419
+ "parameters": {
1420
+ "name": "propName",
1421
+ "type": "keyword",
1422
+ "value": "string"
1423
+ },
1424
+ "property": {
1425
+ "type": "keyword",
1426
+ "value": "any"
1427
+ }
150
1428
  }
151
1429
  ]
1430
+ },
1431
+ {
1432
+ "name": "CheckboxType",
1433
+ "type": "typeAlias",
1434
+ "annotation": {
1435
+ "type": "union",
1436
+ "types": [
1437
+ {
1438
+ "type": "literal",
1439
+ "value": "default"
1440
+ },
1441
+ {
1442
+ "type": "literal",
1443
+ "value": "icon"
1444
+ }
1445
+ ]
1446
+ }
152
1447
  }
153
- },
154
- {
155
- "name": "ComponentSize",
156
- "type": "typeAlias",
157
- "annotation": {
158
- "type": "union",
159
- "types": [
160
- {
161
- "type": "literal",
162
- "value": "large"
163
- },
164
- {
165
- "type": "literal",
166
- "value": "medium"
167
- },
168
- {
169
- "type": "literal",
170
- "value": "small"
171
- },
172
- {
173
- "type": "literal",
174
- "value": "xs"
175
- }
176
- ]
1448
+ ]
1449
+ },
1450
+ "form.general-input": {
1451
+ "properties": [
1452
+ {
1453
+ "name": "name",
1454
+ "types": {
1455
+ "type": "union",
1456
+ "types": [
1457
+ {
1458
+ "type": "keyword",
1459
+ "value": "string"
1460
+ }
1461
+ ]
1462
+ }
1463
+ },
1464
+ {
1465
+ "name": "label",
1466
+ "types": {
1467
+ "type": "union",
1468
+ "types": [
1469
+ {
1470
+ "type": "keyword",
1471
+ "value": "string"
1472
+ }
1473
+ ]
1474
+ }
1475
+ },
1476
+ {
1477
+ "name": "value",
1478
+ "types": {
1479
+ "type": "union",
1480
+ "types": [
1481
+ {
1482
+ "type": "keyword",
1483
+ "value": "string"
1484
+ }
1485
+ ]
1486
+ }
1487
+ },
1488
+ {
1489
+ "name": "placeholder",
1490
+ "types": {
1491
+ "type": "union",
1492
+ "types": [
1493
+ {
1494
+ "type": "keyword",
1495
+ "value": "string"
1496
+ }
1497
+ ]
1498
+ }
1499
+ },
1500
+ {
1501
+ "name": "disabled",
1502
+ "types": {
1503
+ "type": "union",
1504
+ "types": [
1505
+ {
1506
+ "type": "keyword",
1507
+ "value": "boolean"
1508
+ }
1509
+ ]
1510
+ }
1511
+ },
1512
+ {
1513
+ "name": "clearable",
1514
+ "types": {
1515
+ "type": "union",
1516
+ "types": [
1517
+ {
1518
+ "type": "keyword",
1519
+ "value": "boolean"
1520
+ }
1521
+ ]
1522
+ }
1523
+ },
1524
+ {
1525
+ "name": "type",
1526
+ "types": {
1527
+ "type": "union",
1528
+ "types": [
1529
+ {
1530
+ "type": "reference",
1531
+ "typeName": "InputType"
1532
+ }
1533
+ ]
1534
+ }
1535
+ },
1536
+ {
1537
+ "name": "size",
1538
+ "types": {
1539
+ "type": "union",
1540
+ "types": [
1541
+ {
1542
+ "type": "reference",
1543
+ "typeName": "ComponentSize"
1544
+ }
1545
+ ]
1546
+ }
1547
+ },
1548
+ {
1549
+ "name": "minLength",
1550
+ "types": {
1551
+ "type": "union",
1552
+ "types": [
1553
+ {
1554
+ "type": "keyword",
1555
+ "value": "number"
1556
+ }
1557
+ ]
1558
+ }
1559
+ },
1560
+ {
1561
+ "name": "maxLength",
1562
+ "types": {
1563
+ "type": "union",
1564
+ "types": [
1565
+ {
1566
+ "type": "keyword",
1567
+ "value": "number"
1568
+ }
1569
+ ]
1570
+ }
1571
+ },
1572
+ {
1573
+ "name": "required",
1574
+ "types": {
1575
+ "type": "union",
1576
+ "types": [
1577
+ {
1578
+ "type": "keyword",
1579
+ "value": "boolean"
1580
+ }
1581
+ ]
1582
+ }
1583
+ },
1584
+ {
1585
+ "name": "pattern",
1586
+ "types": {
1587
+ "type": "union",
1588
+ "types": [
1589
+ {
1590
+ "type": "keyword",
1591
+ "value": "string"
1592
+ }
1593
+ ]
1594
+ }
1595
+ },
1596
+ {
1597
+ "name": "max",
1598
+ "types": {
1599
+ "type": "union",
1600
+ "types": [
1601
+ {
1602
+ "type": "keyword",
1603
+ "value": "number"
1604
+ }
1605
+ ]
1606
+ }
1607
+ },
1608
+ {
1609
+ "name": "min",
1610
+ "types": {
1611
+ "type": "union",
1612
+ "types": [
1613
+ {
1614
+ "type": "keyword",
1615
+ "value": "number"
1616
+ }
1617
+ ]
1618
+ }
1619
+ },
1620
+ {
1621
+ "name": "message",
1622
+ "types": {
1623
+ "type": "union",
1624
+ "types": [
1625
+ {
1626
+ "type": "reference",
1627
+ "typeName": "Record",
1628
+ "typeParameters": [
1629
+ {
1630
+ "type": "keyword",
1631
+ "value": "string"
1632
+ },
1633
+ {
1634
+ "type": "keyword",
1635
+ "value": "string"
1636
+ }
1637
+ ]
1638
+ }
1639
+ ]
1640
+ }
1641
+ },
1642
+ {
1643
+ "name": "inputStyle",
1644
+ "types": {
1645
+ "type": "union",
1646
+ "types": [
1647
+ {
1648
+ "type": "reference",
1649
+ "qualified": {
1650
+ "type": "qualifiedName",
1651
+ "left": {
1652
+ "type": "identifier",
1653
+ "value": "React"
1654
+ },
1655
+ "right": {
1656
+ "type": "identifier",
1657
+ "value": "CSSProperties"
1658
+ }
1659
+ }
1660
+ }
1661
+ ]
1662
+ }
177
1663
  }
178
- }
179
- ],
180
- "form.general-select": [
181
- {
182
- "name": "GeneralComplexOption",
183
- "type": "interface",
184
- "typeParameters": {
185
- "type": "typeParameterDeclaration",
186
- "params": [
187
- {
188
- "type": "typeParameter",
189
- "value": "T",
190
- "default": {
191
- "type": "union",
192
- "types": [
1664
+ ],
1665
+ "events": [
1666
+ {
1667
+ "name": "change",
1668
+ "types": {
1669
+ "type": "keyword",
1670
+ "value": "string"
1671
+ }
1672
+ }
1673
+ ],
1674
+ "types": [
1675
+ {
1676
+ "name": "InputType",
1677
+ "type": "typeAlias",
1678
+ "annotation": {
1679
+ "type": "union",
1680
+ "types": [
1681
+ {
1682
+ "type": "literal",
1683
+ "value": "button"
1684
+ },
1685
+ {
1686
+ "type": "literal",
1687
+ "value": "checkbox"
1688
+ },
1689
+ {
1690
+ "type": "literal",
1691
+ "value": "color"
1692
+ },
1693
+ {
1694
+ "type": "literal",
1695
+ "value": "date"
1696
+ },
1697
+ {
1698
+ "type": "literal",
1699
+ "value": "datetime-local"
1700
+ },
1701
+ {
1702
+ "type": "literal",
1703
+ "value": "email"
1704
+ },
1705
+ {
1706
+ "type": "literal",
1707
+ "value": "file"
1708
+ },
1709
+ {
1710
+ "type": "literal",
1711
+ "value": "hidden"
1712
+ },
1713
+ {
1714
+ "type": "literal",
1715
+ "value": "image"
1716
+ },
1717
+ {
1718
+ "type": "literal",
1719
+ "value": "month"
1720
+ },
1721
+ {
1722
+ "type": "literal",
1723
+ "value": "number"
1724
+ },
1725
+ {
1726
+ "type": "literal",
1727
+ "value": "password"
1728
+ },
1729
+ {
1730
+ "type": "literal",
1731
+ "value": "radio"
1732
+ },
1733
+ {
1734
+ "type": "literal",
1735
+ "value": "range"
1736
+ },
1737
+ {
1738
+ "type": "literal",
1739
+ "value": "reset"
1740
+ },
1741
+ {
1742
+ "type": "literal",
1743
+ "value": "search"
1744
+ },
1745
+ {
1746
+ "type": "literal",
1747
+ "value": "submit"
1748
+ },
1749
+ {
1750
+ "type": "literal",
1751
+ "value": "tel"
1752
+ },
1753
+ {
1754
+ "type": "literal",
1755
+ "value": "text"
1756
+ },
1757
+ {
1758
+ "type": "literal",
1759
+ "value": "time"
1760
+ },
1761
+ {
1762
+ "type": "literal",
1763
+ "value": "url"
1764
+ },
1765
+ {
1766
+ "type": "literal",
1767
+ "value": "week"
1768
+ }
1769
+ ]
1770
+ }
1771
+ },
1772
+ {
1773
+ "name": "ComponentSize",
1774
+ "type": "typeAlias",
1775
+ "annotation": {
1776
+ "type": "union",
1777
+ "types": [
1778
+ {
1779
+ "type": "literal",
1780
+ "value": "large"
1781
+ },
1782
+ {
1783
+ "type": "literal",
1784
+ "value": "medium"
1785
+ },
1786
+ {
1787
+ "type": "literal",
1788
+ "value": "small"
1789
+ },
1790
+ {
1791
+ "type": "literal",
1792
+ "value": "xs"
1793
+ }
1794
+ ]
1795
+ }
1796
+ }
1797
+ ]
1798
+ },
1799
+ "form.general-textarea": {
1800
+ "properties": [
1801
+ {
1802
+ "name": "name",
1803
+ "types": {
1804
+ "type": "union",
1805
+ "types": [
1806
+ {
1807
+ "type": "keyword",
1808
+ "value": "string"
1809
+ }
1810
+ ]
1811
+ }
1812
+ },
1813
+ {
1814
+ "name": "label",
1815
+ "types": {
1816
+ "type": "union",
1817
+ "types": [
1818
+ {
1819
+ "type": "keyword",
1820
+ "value": "string"
1821
+ }
1822
+ ]
1823
+ }
1824
+ },
1825
+ {
1826
+ "name": "value",
1827
+ "types": {
1828
+ "type": "union",
1829
+ "types": [
1830
+ {
1831
+ "type": "keyword",
1832
+ "value": "string"
1833
+ }
1834
+ ]
1835
+ }
1836
+ },
1837
+ {
1838
+ "name": "placeholder",
1839
+ "types": {
1840
+ "type": "union",
1841
+ "types": [
1842
+ {
1843
+ "type": "keyword",
1844
+ "value": "string"
1845
+ }
1846
+ ]
1847
+ }
1848
+ },
1849
+ {
1850
+ "name": "disabled",
1851
+ "types": {
1852
+ "type": "union",
1853
+ "types": [
1854
+ {
1855
+ "type": "keyword",
1856
+ "value": "boolean"
1857
+ }
1858
+ ]
1859
+ }
1860
+ },
1861
+ {
1862
+ "name": "minLength",
1863
+ "types": {
1864
+ "type": "union",
1865
+ "types": [
1866
+ {
1867
+ "type": "keyword",
1868
+ "value": "number"
1869
+ }
1870
+ ]
1871
+ }
1872
+ },
1873
+ {
1874
+ "name": "maxLength",
1875
+ "types": {
1876
+ "type": "union",
1877
+ "types": [
1878
+ {
1879
+ "type": "keyword",
1880
+ "value": "number"
1881
+ }
1882
+ ]
1883
+ }
1884
+ },
1885
+ {
1886
+ "name": "autoSize",
1887
+ "types": {
1888
+ "type": "union",
1889
+ "types": [
1890
+ {
1891
+ "type": "reference",
1892
+ "typeName": "AutoSize"
1893
+ }
1894
+ ]
1895
+ }
1896
+ },
1897
+ {
1898
+ "name": "required",
1899
+ "types": {
1900
+ "type": "union",
1901
+ "types": [
1902
+ {
1903
+ "type": "keyword",
1904
+ "value": "boolean"
1905
+ }
1906
+ ]
1907
+ }
1908
+ },
1909
+ {
1910
+ "name": "max",
1911
+ "types": {
1912
+ "type": "union",
1913
+ "types": [
1914
+ {
1915
+ "type": "keyword",
1916
+ "value": "number"
1917
+ }
1918
+ ]
1919
+ }
1920
+ },
1921
+ {
1922
+ "name": "min",
1923
+ "types": {
1924
+ "type": "union",
1925
+ "types": [
1926
+ {
1927
+ "type": "keyword",
1928
+ "value": "number"
1929
+ }
1930
+ ]
1931
+ }
1932
+ },
1933
+ {
1934
+ "name": "message",
1935
+ "types": {
1936
+ "type": "union",
1937
+ "types": [
1938
+ {
1939
+ "type": "reference",
1940
+ "typeName": "Record",
1941
+ "typeParameters": [
1942
+ {
1943
+ "type": "keyword",
1944
+ "value": "string"
1945
+ },
1946
+ {
1947
+ "type": "keyword",
1948
+ "value": "string"
1949
+ }
1950
+ ]
1951
+ }
1952
+ ]
1953
+ }
1954
+ },
1955
+ {
1956
+ "name": "textareaStyle",
1957
+ "types": {
1958
+ "type": "union",
1959
+ "types": [
1960
+ {
1961
+ "type": "reference",
1962
+ "qualified": {
1963
+ "type": "qualifiedName",
1964
+ "left": {
1965
+ "type": "identifier",
1966
+ "value": "React"
1967
+ },
1968
+ "right": {
1969
+ "type": "identifier",
1970
+ "value": "CSSProperties"
1971
+ }
1972
+ }
1973
+ }
1974
+ ]
1975
+ }
1976
+ }
1977
+ ],
1978
+ "events": [
1979
+ {
1980
+ "name": "change",
1981
+ "types": {
1982
+ "type": "keyword",
1983
+ "value": "string"
1984
+ }
1985
+ }
1986
+ ],
1987
+ "types": [
1988
+ {
1989
+ "name": "AutoSize",
1990
+ "type": "typeAlias",
1991
+ "annotation": {
1992
+ "type": "union",
1993
+ "types": [
1994
+ {
1995
+ "type": "keyword",
1996
+ "value": "boolean"
1997
+ },
1998
+ {
1999
+ "type": "typeLiteral",
2000
+ "members": [
2001
+ {
2002
+ "type": "propertySignature",
2003
+ "name": "minRows",
2004
+ "property": {
2005
+ "type": "keyword",
2006
+ "value": "number"
2007
+ }
2008
+ },
2009
+ {
2010
+ "type": "propertySignature",
2011
+ "name": "maxRows",
2012
+ "property": {
2013
+ "type": "keyword",
2014
+ "value": "number"
2015
+ }
2016
+ }
2017
+ ]
2018
+ }
2019
+ ]
2020
+ }
2021
+ }
2022
+ ]
2023
+ },
2024
+ "form.icon-select": {
2025
+ "properties": [
2026
+ {
2027
+ "name": "name",
2028
+ "types": {
2029
+ "type": "union",
2030
+ "types": [
2031
+ {
2032
+ "type": "keyword",
2033
+ "value": "string"
2034
+ }
2035
+ ]
2036
+ }
2037
+ },
2038
+ {
2039
+ "name": "label",
2040
+ "types": {
2041
+ "type": "union",
2042
+ "types": [
2043
+ {
2044
+ "type": "keyword",
2045
+ "value": "string"
2046
+ }
2047
+ ]
2048
+ }
2049
+ },
2050
+ {
2051
+ "name": "value",
2052
+ "types": {
2053
+ "type": "union",
2054
+ "types": [
2055
+ {
2056
+ "type": "reference",
2057
+ "typeName": "Icon"
2058
+ }
2059
+ ]
2060
+ }
2061
+ },
2062
+ {
2063
+ "name": "disabled",
2064
+ "types": {
2065
+ "type": "union",
2066
+ "types": [
2067
+ {
2068
+ "type": "keyword",
2069
+ "value": "boolean"
2070
+ }
2071
+ ]
2072
+ }
2073
+ },
2074
+ {
2075
+ "name": "required",
2076
+ "types": {
2077
+ "type": "union",
2078
+ "types": [
2079
+ {
2080
+ "type": "keyword",
2081
+ "value": "boolean"
2082
+ }
2083
+ ]
2084
+ }
2085
+ },
2086
+ {
2087
+ "name": "message",
2088
+ "types": {
2089
+ "type": "union",
2090
+ "types": [
2091
+ {
2092
+ "type": "reference",
2093
+ "typeName": "Record",
2094
+ "typeParameters": [
193
2095
  {
194
2096
  "type": "keyword",
195
2097
  "value": "string"
196
2098
  },
197
2099
  {
198
2100
  "type": "keyword",
199
- "value": "number"
2101
+ "value": "string"
2102
+ }
2103
+ ]
2104
+ }
2105
+ ]
2106
+ }
2107
+ }
2108
+ ],
2109
+ "events": [
2110
+ {
2111
+ "name": "change",
2112
+ "types": {
2113
+ "type": "union",
2114
+ "types": [
2115
+ {
2116
+ "type": "reference",
2117
+ "typeName": "Icon"
2118
+ },
2119
+ {
2120
+ "type": "keyword",
2121
+ "value": "undefined"
2122
+ }
2123
+ ]
2124
+ }
2125
+ }
2126
+ ],
2127
+ "types": [
2128
+ {
2129
+ "name": "Icon",
2130
+ "type": "typeAlias",
2131
+ "annotation": {
2132
+ "type": "intersection",
2133
+ "types": [
2134
+ {
2135
+ "type": "reference",
2136
+ "typeName": "GeneralIconProps"
2137
+ },
2138
+ {
2139
+ "type": "typeLiteral",
2140
+ "members": [
2141
+ {
2142
+ "type": "propertySignature",
2143
+ "name": "color",
2144
+ "property": {
2145
+ "type": "keyword",
2146
+ "value": "string"
2147
+ }
2148
+ }
2149
+ ]
2150
+ }
2151
+ ]
2152
+ }
2153
+ }
2154
+ ]
2155
+ },
2156
+ "form.general-radio": {
2157
+ "properties": [
2158
+ {
2159
+ "name": "name",
2160
+ "types": {
2161
+ "type": "union",
2162
+ "types": [
2163
+ {
2164
+ "type": "keyword",
2165
+ "value": "string"
2166
+ }
2167
+ ]
2168
+ }
2169
+ },
2170
+ {
2171
+ "name": "label",
2172
+ "types": {
2173
+ "type": "union",
2174
+ "types": [
2175
+ {
2176
+ "type": "keyword",
2177
+ "value": "string"
2178
+ }
2179
+ ]
2180
+ }
2181
+ },
2182
+ {
2183
+ "name": "options",
2184
+ "types": {
2185
+ "type": "union",
2186
+ "types": [
2187
+ {
2188
+ "type": "array",
2189
+ "elementType": {
2190
+ "type": "reference",
2191
+ "typeName": "GeneralOption"
2192
+ }
2193
+ }
2194
+ ]
2195
+ }
2196
+ },
2197
+ {
2198
+ "name": "value",
2199
+ "types": {
2200
+ "type": "union",
2201
+ "types": [
2202
+ {
2203
+ "type": "keyword",
2204
+ "value": "any"
2205
+ }
2206
+ ]
2207
+ }
2208
+ },
2209
+ {
2210
+ "name": "required",
2211
+ "types": {
2212
+ "type": "union",
2213
+ "types": [
2214
+ {
2215
+ "type": "keyword",
2216
+ "value": "boolean"
2217
+ }
2218
+ ]
2219
+ }
2220
+ },
2221
+ {
2222
+ "name": "message",
2223
+ "types": {
2224
+ "type": "union",
2225
+ "types": [
2226
+ {
2227
+ "type": "reference",
2228
+ "typeName": "Record",
2229
+ "typeParameters": [
2230
+ {
2231
+ "type": "keyword",
2232
+ "value": "string"
200
2233
  },
201
2234
  {
202
2235
  "type": "keyword",
203
- "value": "boolean"
2236
+ "value": "string"
204
2237
  }
205
2238
  ]
206
2239
  }
207
- }
208
- ]
2240
+ ]
2241
+ }
209
2242
  },
210
- "annotation": [
211
- {
212
- "type": "propertySignature",
213
- "name": "label",
214
- "property": {
215
- "type": "keyword",
216
- "value": "string"
217
- }
218
- },
219
- {
220
- "type": "propertySignature",
221
- "name": "value",
222
- "property": {
223
- "type": "reference",
224
- "typeName": "T"
225
- }
226
- },
227
- {
228
- "type": "indexSignature",
229
- "parameters": {
230
- "name": "key",
231
- "type": "keyword",
232
- "value": "string"
233
- },
234
- "property": {
235
- "type": "keyword",
236
- "value": "any"
237
- }
2243
+ {
2244
+ "name": "disabled",
2245
+ "types": {
2246
+ "type": "union",
2247
+ "types": [
2248
+ {
2249
+ "type": "keyword",
2250
+ "value": "boolean"
2251
+ }
2252
+ ]
2253
+ }
2254
+ },
2255
+ {
2256
+ "name": "type",
2257
+ "types": {
2258
+ "type": "union",
2259
+ "types": [
2260
+ {
2261
+ "type": "reference",
2262
+ "typeName": "RadioType"
2263
+ }
2264
+ ]
2265
+ }
2266
+ },
2267
+ {
2268
+ "name": "ui",
2269
+ "types": {
2270
+ "type": "union",
2271
+ "types": [
2272
+ {
2273
+ "type": "reference",
2274
+ "typeName": "UIType"
2275
+ }
2276
+ ]
2277
+ }
2278
+ },
2279
+ {
2280
+ "name": "size",
2281
+ "types": {
2282
+ "type": "union",
2283
+ "types": [
2284
+ {
2285
+ "type": "reference",
2286
+ "typeName": "ComponentSize"
2287
+ }
2288
+ ]
2289
+ }
2290
+ },
2291
+ {
2292
+ "name": "customStyle",
2293
+ "types": {
2294
+ "type": "union",
2295
+ "types": [
2296
+ {
2297
+ "type": "reference",
2298
+ "qualified": {
2299
+ "type": "qualifiedName",
2300
+ "left": {
2301
+ "type": "identifier",
2302
+ "value": "React"
2303
+ },
2304
+ "right": {
2305
+ "type": "identifier",
2306
+ "value": "CSSProperties"
2307
+ }
2308
+ }
2309
+ }
2310
+ ]
2311
+ }
2312
+ },
2313
+ {
2314
+ "name": "useBrick",
2315
+ "types": {
2316
+ "type": "union",
2317
+ "types": [
2318
+ {
2319
+ "type": "reference",
2320
+ "typeName": "UseSingleBrickConf"
2321
+ }
2322
+ ]
238
2323
  }
239
- ]
240
- }
241
- ],
242
- "form.general-checkbox": [
243
- {
244
- "name": "CheckboxValueType",
245
- "type": "typeAlias",
246
- "annotation": {
247
- "type": "union",
248
- "types": [
249
- {
250
- "type": "keyword",
251
- "value": "string"
252
- },
253
- {
254
- "type": "keyword",
255
- "value": "number"
256
- },
257
- {
258
- "type": "keyword",
259
- "value": "boolean"
260
- }
261
- ]
262
2324
  }
263
- },
264
- {
265
- "name": "CheckboxOptionType",
266
- "type": "interface",
267
- "annotation": [
268
- {
269
- "type": "propertySignature",
270
- "name": "label",
271
- "property": {
272
- "type": "reference",
273
- "qualified": {
274
- "type": "qualifiedName",
275
- "left": {
276
- "type": "identifier",
277
- "value": "React"
2325
+ ],
2326
+ "events": [
2327
+ {
2328
+ "name": "change",
2329
+ "types": {
2330
+ "type": "typeLiteral",
2331
+ "members": [
2332
+ {
2333
+ "type": "propertySignature",
2334
+ "name": "label",
2335
+ "property": {
2336
+ "type": "keyword",
2337
+ "value": "string"
2338
+ }
2339
+ },
2340
+ {
2341
+ "type": "propertySignature",
2342
+ "name": "value",
2343
+ "property": {
2344
+ "type": "keyword",
2345
+ "value": "any"
2346
+ }
2347
+ },
2348
+ {
2349
+ "type": "indexSignature",
2350
+ "parameters": {
2351
+ "name": "key",
2352
+ "type": "keyword",
2353
+ "value": "string"
278
2354
  },
279
- "right": {
280
- "type": "identifier",
281
- "value": "ReactNode"
2355
+ "property": {
2356
+ "type": "keyword",
2357
+ "value": "any"
282
2358
  }
283
2359
  }
284
- }
285
- },
286
- {
287
- "type": "propertySignature",
288
- "name": "value",
289
- "property": {
290
- "type": "keyword",
291
- "value": "any"
292
- }
293
- },
294
- {
295
- "type": "propertySignature",
296
- "name": "style",
297
- "property": {
298
- "type": "reference",
299
- "qualified": {
300
- "type": "qualifiedName",
301
- "left": {
302
- "type": "identifier",
303
- "value": "React"
304
- },
305
- "right": {
306
- "type": "identifier",
307
- "value": "CSSProperties"
2360
+ ]
2361
+ }
2362
+ },
2363
+ {
2364
+ "name": "options.change",
2365
+ "types": {
2366
+ "type": "typeLiteral",
2367
+ "members": [
2368
+ {
2369
+ "type": "propertySignature",
2370
+ "name": "options",
2371
+ "property": {
2372
+ "type": "typeLiteral",
2373
+ "members": [
2374
+ {
2375
+ "type": "propertySignature",
2376
+ "name": "label",
2377
+ "property": {
2378
+ "type": "keyword",
2379
+ "value": "string"
2380
+ }
2381
+ },
2382
+ {
2383
+ "type": "propertySignature",
2384
+ "name": "value",
2385
+ "property": {
2386
+ "type": "keyword",
2387
+ "value": "any"
2388
+ }
2389
+ },
2390
+ {
2391
+ "type": "indexSignature",
2392
+ "parameters": {
2393
+ "name": "key",
2394
+ "type": "keyword",
2395
+ "value": "string"
2396
+ },
2397
+ "property": {
2398
+ "type": "keyword",
2399
+ "value": "any"
2400
+ }
2401
+ }
2402
+ ]
2403
+ }
2404
+ },
2405
+ {
2406
+ "type": "propertySignature",
2407
+ "name": "name",
2408
+ "property": {
2409
+ "type": "keyword",
2410
+ "value": "string"
308
2411
  }
309
2412
  }
310
- }
311
- },
312
- {
313
- "type": "propertySignature",
314
- "name": "disabled",
315
- "property": {
316
- "type": "keyword",
317
- "value": "boolean"
318
- }
319
- },
320
- {
321
- "type": "propertySignature",
322
- "name": "checkboxColor",
323
- "property": {
324
- "type": "keyword",
325
- "value": "string"
326
- }
327
- },
328
- {
329
- "type": "indexSignature",
330
- "parameters": {
331
- "name": "propName",
332
- "type": "keyword",
333
- "value": "string"
334
- },
335
- "property": {
336
- "type": "keyword",
337
- "value": "any"
338
- }
2413
+ ]
339
2414
  }
340
- ]
341
- },
342
- {
343
- "name": "CheckboxType",
344
- "type": "typeAlias",
345
- "annotation": {
346
- "type": "union",
347
- "types": [
348
- {
349
- "type": "literal",
350
- "value": "default"
351
- },
352
- {
353
- "type": "literal",
354
- "value": "icon"
355
- }
356
- ]
357
- }
358
- }
359
- ],
360
- "form.general-input": [
361
- {
362
- "name": "InputType",
363
- "type": "typeAlias",
364
- "annotation": {
365
- "type": "union",
366
- "types": [
367
- {
368
- "type": "literal",
369
- "value": "button"
370
- },
371
- {
372
- "type": "literal",
373
- "value": "checkbox"
374
- },
375
- {
376
- "type": "literal",
377
- "value": "color"
378
- },
379
- {
380
- "type": "literal",
381
- "value": "date"
382
- },
383
- {
384
- "type": "literal",
385
- "value": "datetime-local"
386
- },
387
- {
388
- "type": "literal",
389
- "value": "email"
390
- },
391
- {
392
- "type": "literal",
393
- "value": "file"
394
- },
395
- {
396
- "type": "literal",
397
- "value": "hidden"
398
- },
399
- {
400
- "type": "literal",
401
- "value": "image"
402
- },
403
- {
404
- "type": "literal",
405
- "value": "month"
406
- },
407
- {
408
- "type": "literal",
409
- "value": "number"
410
- },
411
- {
412
- "type": "literal",
413
- "value": "password"
414
- },
415
- {
416
- "type": "literal",
417
- "value": "radio"
418
- },
419
- {
420
- "type": "literal",
421
- "value": "range"
422
- },
423
- {
424
- "type": "literal",
425
- "value": "reset"
426
- },
427
- {
428
- "type": "literal",
429
- "value": "search"
430
- },
431
- {
432
- "type": "literal",
433
- "value": "submit"
434
- },
435
- {
436
- "type": "literal",
437
- "value": "tel"
438
- },
439
- {
440
- "type": "literal",
441
- "value": "text"
442
- },
443
- {
444
- "type": "literal",
445
- "value": "time"
446
- },
447
- {
448
- "type": "literal",
449
- "value": "url"
450
- },
451
- {
452
- "type": "literal",
453
- "value": "week"
454
- }
455
- ]
456
2415
  }
457
- },
458
- {
459
- "name": "ComponentSize",
460
- "type": "typeAlias",
461
- "annotation": {
462
- "type": "union",
463
- "types": [
464
- {
465
- "type": "literal",
466
- "value": "large"
467
- },
2416
+ ],
2417
+ "types": [
2418
+ {
2419
+ "name": "GeneralOption",
2420
+ "type": "typeAlias",
2421
+ "annotation": {
2422
+ "type": "union",
2423
+ "types": [
2424
+ {
2425
+ "type": "keyword",
2426
+ "value": "string"
2427
+ },
2428
+ {
2429
+ "type": "keyword",
2430
+ "value": "number"
2431
+ },
2432
+ {
2433
+ "type": "keyword",
2434
+ "value": "boolean"
2435
+ },
2436
+ {
2437
+ "type": "reference",
2438
+ "typeName": "GeneralComplexOption"
2439
+ },
2440
+ {
2441
+ "type": "reference",
2442
+ "typeName": "Record",
2443
+ "typeParameters": [
2444
+ {
2445
+ "type": "keyword",
2446
+ "value": "string"
2447
+ },
2448
+ {
2449
+ "type": "keyword",
2450
+ "value": "any"
2451
+ }
2452
+ ]
2453
+ }
2454
+ ]
2455
+ }
2456
+ },
2457
+ {
2458
+ "name": "GeneralComplexOption",
2459
+ "type": "interface",
2460
+ "typeParameters": {
2461
+ "type": "typeParameterDeclaration",
2462
+ "params": [
2463
+ {
2464
+ "type": "typeParameter",
2465
+ "value": "T",
2466
+ "default": {
2467
+ "type": "union",
2468
+ "types": [
2469
+ {
2470
+ "type": "keyword",
2471
+ "value": "string"
2472
+ },
2473
+ {
2474
+ "type": "keyword",
2475
+ "value": "number"
2476
+ },
2477
+ {
2478
+ "type": "keyword",
2479
+ "value": "boolean"
2480
+ }
2481
+ ]
2482
+ }
2483
+ }
2484
+ ]
2485
+ },
2486
+ "annotation": [
468
2487
  {
469
- "type": "literal",
470
- "value": "medium"
2488
+ "type": "propertySignature",
2489
+ "name": "label",
2490
+ "property": {
2491
+ "type": "keyword",
2492
+ "value": "string"
2493
+ }
471
2494
  },
472
2495
  {
473
- "type": "literal",
474
- "value": "small"
2496
+ "type": "propertySignature",
2497
+ "name": "value",
2498
+ "property": {
2499
+ "type": "reference",
2500
+ "typeName": "T"
2501
+ }
475
2502
  },
476
2503
  {
477
- "type": "literal",
478
- "value": "xs"
2504
+ "type": "indexSignature",
2505
+ "parameters": {
2506
+ "name": "key",
2507
+ "type": "keyword",
2508
+ "value": "string"
2509
+ },
2510
+ "property": {
2511
+ "type": "keyword",
2512
+ "value": "any"
2513
+ }
479
2514
  }
480
2515
  ]
2516
+ },
2517
+ {
2518
+ "name": "RadioType",
2519
+ "type": "typeAlias",
2520
+ "annotation": {
2521
+ "type": "union",
2522
+ "types": [
2523
+ {
2524
+ "type": "literal",
2525
+ "value": "button"
2526
+ },
2527
+ {
2528
+ "type": "literal",
2529
+ "value": "default"
2530
+ },
2531
+ {
2532
+ "type": "literal",
2533
+ "value": "icon"
2534
+ },
2535
+ {
2536
+ "type": "literal",
2537
+ "value": "icon-circle"
2538
+ },
2539
+ {
2540
+ "type": "literal",
2541
+ "value": "icon-square"
2542
+ },
2543
+ {
2544
+ "type": "literal",
2545
+ "value": "custom"
2546
+ }
2547
+ ]
2548
+ }
2549
+ },
2550
+ {
2551
+ "name": "UIType",
2552
+ "type": "typeAlias",
2553
+ "annotation": {
2554
+ "type": "union",
2555
+ "types": [
2556
+ {
2557
+ "type": "literal",
2558
+ "value": "default"
2559
+ },
2560
+ {
2561
+ "type": "literal",
2562
+ "value": "dashboard"
2563
+ }
2564
+ ]
2565
+ }
2566
+ },
2567
+ {
2568
+ "name": "ComponentSize",
2569
+ "type": "typeAlias",
2570
+ "annotation": {
2571
+ "type": "union",
2572
+ "types": [
2573
+ {
2574
+ "type": "literal",
2575
+ "value": "large"
2576
+ },
2577
+ {
2578
+ "type": "literal",
2579
+ "value": "medium"
2580
+ },
2581
+ {
2582
+ "type": "literal",
2583
+ "value": "small"
2584
+ },
2585
+ {
2586
+ "type": "literal",
2587
+ "value": "xs"
2588
+ }
2589
+ ]
2590
+ }
481
2591
  }
482
- }
483
- ],
484
- "form.general-textarea": [
485
- {
486
- "name": "AutoSize",
487
- "type": "typeAlias",
488
- "annotation": {
489
- "type": "union",
490
- "types": [
491
- {
492
- "type": "keyword",
493
- "value": "boolean"
494
- },
495
- {
496
- "type": "typeLiteral",
497
- "members": [
498
- {
499
- "type": "propertySignature",
500
- "name": "minRows",
501
- "property": {
2592
+ ]
2593
+ },
2594
+ "form.upload-image": {
2595
+ "properties": [
2596
+ {
2597
+ "name": "name",
2598
+ "types": {
2599
+ "type": "union",
2600
+ "types": [
2601
+ {
2602
+ "type": "keyword",
2603
+ "value": "string"
2604
+ }
2605
+ ]
2606
+ }
2607
+ },
2608
+ {
2609
+ "name": "label",
2610
+ "types": {
2611
+ "type": "union",
2612
+ "types": [
2613
+ {
2614
+ "type": "keyword",
2615
+ "value": "string"
2616
+ }
2617
+ ]
2618
+ }
2619
+ },
2620
+ {
2621
+ "name": "value",
2622
+ "types": {
2623
+ "type": "union",
2624
+ "types": [
2625
+ {
2626
+ "type": "array",
2627
+ "elementType": {
2628
+ "type": "reference",
2629
+ "typeName": "FileData"
2630
+ }
2631
+ }
2632
+ ]
2633
+ }
2634
+ },
2635
+ {
2636
+ "name": "bucketName",
2637
+ "types": {
2638
+ "type": "keyword",
2639
+ "value": "string"
2640
+ }
2641
+ },
2642
+ {
2643
+ "name": "multiple",
2644
+ "types": {
2645
+ "type": "union",
2646
+ "types": [
2647
+ {
2648
+ "type": "keyword",
2649
+ "value": "boolean"
2650
+ }
2651
+ ]
2652
+ }
2653
+ },
2654
+ {
2655
+ "name": "required",
2656
+ "types": {
2657
+ "type": "union",
2658
+ "types": [
2659
+ {
2660
+ "type": "keyword",
2661
+ "value": "boolean"
2662
+ }
2663
+ ]
2664
+ }
2665
+ },
2666
+ {
2667
+ "name": "message",
2668
+ "types": {
2669
+ "type": "union",
2670
+ "types": [
2671
+ {
2672
+ "type": "reference",
2673
+ "typeName": "Record",
2674
+ "typeParameters": [
2675
+ {
502
2676
  "type": "keyword",
503
- "value": "number"
504
- }
505
- },
506
- {
507
- "type": "propertySignature",
508
- "name": "maxRows",
509
- "property": {
2677
+ "value": "string"
2678
+ },
2679
+ {
510
2680
  "type": "keyword",
511
- "value": "number"
2681
+ "value": "string"
512
2682
  }
513
- }
514
- ]
515
- }
516
- ]
2683
+ ]
2684
+ }
2685
+ ]
2686
+ }
517
2687
  }
518
- }
519
- ],
520
- "form.icon-select": [
521
- {
522
- "name": "Icon",
523
- "type": "typeAlias",
524
- "annotation": {
525
- "type": "intersection",
526
- "types": [
527
- {
2688
+ ],
2689
+ "events": [
2690
+ {
2691
+ "name": "change",
2692
+ "types": {
2693
+ "type": "array",
2694
+ "elementType": {
528
2695
  "type": "reference",
529
- "typeName": "GeneralIconProps"
530
- },
531
- {
532
- "type": "typeLiteral",
533
- "members": [
534
- {
535
- "type": "propertySignature",
536
- "name": "color",
537
- "property": {
538
- "type": "keyword",
539
- "value": "string"
540
- }
541
- }
542
- ]
2696
+ "typeName": "FileData"
543
2697
  }
544
- ]
2698
+ }
545
2699
  }
546
- }
547
- ],
548
- "form.general-radio": [
549
- {
550
- "name": "GeneralOption",
551
- "type": "typeAlias",
552
- "annotation": {
553
- "type": "union",
554
- "types": [
2700
+ ],
2701
+ "types": [
2702
+ {
2703
+ "name": "FileData",
2704
+ "type": "interface",
2705
+ "annotation": [
2706
+ {
2707
+ "type": "propertySignature",
2708
+ "name": "uid",
2709
+ "property": {
2710
+ "type": "keyword",
2711
+ "value": "string"
2712
+ }
2713
+ },
555
2714
  {
556
- "type": "keyword",
557
- "value": "string"
2715
+ "type": "propertySignature",
2716
+ "name": "file",
2717
+ "property": {
2718
+ "type": "intersection",
2719
+ "types": [
2720
+ {
2721
+ "type": "reference",
2722
+ "typeName": "File"
2723
+ },
2724
+ {
2725
+ "type": "typeLiteral",
2726
+ "members": [
2727
+ {
2728
+ "type": "propertySignature",
2729
+ "name": "uid",
2730
+ "property": {
2731
+ "type": "keyword",
2732
+ "value": "string"
2733
+ }
2734
+ }
2735
+ ]
2736
+ }
2737
+ ]
2738
+ }
558
2739
  },
559
2740
  {
560
- "type": "keyword",
561
- "value": "number"
2741
+ "type": "propertySignature",
2742
+ "name": "response",
2743
+ "property": {
2744
+ "type": "keyword",
2745
+ "value": "any"
2746
+ }
562
2747
  },
563
2748
  {
564
- "type": "keyword",
565
- "value": "boolean"
2749
+ "type": "propertySignature",
2750
+ "name": "userData",
2751
+ "property": {
2752
+ "type": "keyword",
2753
+ "value": "any"
2754
+ }
566
2755
  },
567
2756
  {
568
- "type": "reference",
569
- "typeName": "GeneralComplexOption"
2757
+ "type": "propertySignature",
2758
+ "name": "status",
2759
+ "property": {
2760
+ "type": "reference",
2761
+ "typeName": "UploadStatus"
2762
+ }
570
2763
  },
571
2764
  {
572
- "type": "reference",
573
- "typeName": "Record",
574
- "typeParameters": [
575
- {
576
- "type": "keyword",
577
- "value": "string"
578
- },
579
- {
580
- "type": "keyword",
581
- "value": "any"
2765
+ "type": "propertySignature",
2766
+ "name": "errors",
2767
+ "property": {
2768
+ "type": "array",
2769
+ "elementType": {
2770
+ "type": "reference",
2771
+ "typeName": "Error"
582
2772
  }
583
- ]
2773
+ }
2774
+ },
2775
+ {
2776
+ "type": "propertySignature",
2777
+ "name": "symbolForAbortController",
2778
+ "property": {
2779
+ "type": "reference",
2780
+ "typeName": "AbortController"
2781
+ }
584
2782
  }
585
2783
  ]
2784
+ },
2785
+ {
2786
+ "name": "UploadStatus",
2787
+ "type": "typeAlias",
2788
+ "annotation": {
2789
+ "type": "union",
2790
+ "types": [
2791
+ {
2792
+ "type": "literal",
2793
+ "value": "uploading"
2794
+ },
2795
+ {
2796
+ "type": "literal",
2797
+ "value": "done"
2798
+ },
2799
+ {
2800
+ "type": "literal",
2801
+ "value": "error"
2802
+ }
2803
+ ]
2804
+ }
586
2805
  }
587
- },
588
- {
589
- "name": "GeneralComplexOption",
590
- "type": "interface",
591
- "typeParameters": {
592
- "type": "typeParameterDeclaration",
593
- "params": [
594
- {
595
- "type": "typeParameter",
596
- "value": "T",
597
- "default": {
598
- "type": "union",
599
- "types": [
2806
+ ]
2807
+ },
2808
+ "form.code-editor": {
2809
+ "properties": [
2810
+ {
2811
+ "name": "name",
2812
+ "types": {
2813
+ "type": "union",
2814
+ "types": [
2815
+ {
2816
+ "type": "keyword",
2817
+ "value": "string"
2818
+ }
2819
+ ]
2820
+ }
2821
+ },
2822
+ {
2823
+ "name": "label",
2824
+ "types": {
2825
+ "type": "union",
2826
+ "types": [
2827
+ {
2828
+ "type": "keyword",
2829
+ "value": "string"
2830
+ }
2831
+ ]
2832
+ }
2833
+ },
2834
+ {
2835
+ "name": "value"
2836
+ },
2837
+ {
2838
+ "name": "placeholder",
2839
+ "types": {
2840
+ "type": "union",
2841
+ "types": [
2842
+ {
2843
+ "type": "keyword",
2844
+ "value": "string"
2845
+ }
2846
+ ]
2847
+ }
2848
+ },
2849
+ {
2850
+ "name": "theme",
2851
+ "types": {
2852
+ "type": "union",
2853
+ "types": [
2854
+ {
2855
+ "type": "keyword",
2856
+ "value": "string"
2857
+ }
2858
+ ]
2859
+ }
2860
+ },
2861
+ {
2862
+ "name": "mode",
2863
+ "types": {
2864
+ "type": "keyword",
2865
+ "value": "string"
2866
+ }
2867
+ },
2868
+ {
2869
+ "name": "required",
2870
+ "types": {
2871
+ "type": "union",
2872
+ "types": [
2873
+ {
2874
+ "type": "keyword",
2875
+ "value": "boolean"
2876
+ }
2877
+ ]
2878
+ }
2879
+ },
2880
+ {
2881
+ "name": "readOnly",
2882
+ "types": {
2883
+ "type": "union",
2884
+ "types": [
2885
+ {
2886
+ "type": "keyword",
2887
+ "value": "boolean"
2888
+ }
2889
+ ]
2890
+ }
2891
+ },
2892
+ {
2893
+ "name": "showLineNumbers"
2894
+ },
2895
+ {
2896
+ "name": "maxLines",
2897
+ "types": {
2898
+ "type": "union",
2899
+ "types": [
2900
+ {
2901
+ "type": "keyword",
2902
+ "value": "number"
2903
+ },
2904
+ {
2905
+ "type": "literal",
2906
+ "value": "Infinity"
2907
+ }
2908
+ ]
2909
+ }
2910
+ },
2911
+ {
2912
+ "name": "minLines"
2913
+ },
2914
+ {
2915
+ "name": "tabSize"
2916
+ },
2917
+ {
2918
+ "name": "printMargin",
2919
+ "types": {
2920
+ "type": "union",
2921
+ "types": [
2922
+ {
2923
+ "type": "keyword",
2924
+ "value": "boolean"
2925
+ }
2926
+ ]
2927
+ }
2928
+ },
2929
+ {
2930
+ "name": "highlightActiveLine"
2931
+ },
2932
+ {
2933
+ "name": "showExportButton",
2934
+ "types": {
2935
+ "type": "union",
2936
+ "types": [
2937
+ {
2938
+ "type": "keyword",
2939
+ "value": "boolean"
2940
+ }
2941
+ ]
2942
+ }
2943
+ },
2944
+ {
2945
+ "name": "showCopyButton"
2946
+ },
2947
+ {
2948
+ "name": "showExpandButton",
2949
+ "types": {
2950
+ "type": "union",
2951
+ "types": [
2952
+ {
2953
+ "type": "keyword",
2954
+ "value": "boolean"
2955
+ }
2956
+ ]
2957
+ }
2958
+ },
2959
+ {
2960
+ "name": "exportFileName",
2961
+ "types": {
2962
+ "type": "union",
2963
+ "types": [
2964
+ {
2965
+ "type": "keyword",
2966
+ "value": "string"
2967
+ }
2968
+ ]
2969
+ }
2970
+ },
2971
+ {
2972
+ "name": "jsonSchema",
2973
+ "types": {
2974
+ "type": "union",
2975
+ "types": [
2976
+ {
2977
+ "type": "reference",
2978
+ "typeName": "Record",
2979
+ "typeParameters": [
600
2980
  {
601
2981
  "type": "keyword",
602
2982
  "value": "string"
603
2983
  },
604
2984
  {
605
2985
  "type": "keyword",
606
- "value": "number"
607
- },
608
- {
609
- "type": "keyword",
610
- "value": "boolean"
2986
+ "value": "any"
611
2987
  }
612
2988
  ]
613
2989
  }
614
- }
615
- ]
2990
+ ]
2991
+ }
616
2992
  },
617
- "annotation": [
618
- {
619
- "type": "propertySignature",
620
- "name": "label",
621
- "property": {
622
- "type": "keyword",
623
- "value": "string"
624
- }
625
- },
626
- {
627
- "type": "propertySignature",
628
- "name": "value",
629
- "property": {
630
- "type": "reference",
631
- "typeName": "T"
632
- }
633
- },
634
- {
635
- "type": "indexSignature",
636
- "parameters": {
637
- "name": "key",
638
- "type": "keyword",
639
- "value": "string"
640
- },
641
- "property": {
642
- "type": "keyword",
643
- "value": "any"
644
- }
2993
+ {
2994
+ "name": "validateJsonSchemaMode",
2995
+ "types": {
2996
+ "type": "union",
2997
+ "types": [
2998
+ {
2999
+ "type": "literal",
3000
+ "value": "warning"
3001
+ },
3002
+ {
3003
+ "type": "literal",
3004
+ "value": "error"
3005
+ }
3006
+ ]
645
3007
  }
646
- ]
647
- },
648
- {
649
- "name": "RadioType",
650
- "type": "typeAlias",
651
- "annotation": {
652
- "type": "union",
653
- "types": [
654
- {
655
- "type": "literal",
656
- "value": "button"
657
- },
658
- {
659
- "type": "literal",
660
- "value": "default"
661
- },
662
- {
663
- "type": "literal",
664
- "value": "icon"
665
- },
666
- {
667
- "type": "literal",
668
- "value": "icon-circle"
669
- },
670
- {
671
- "type": "literal",
672
- "value": "icon-square"
673
- },
674
- {
675
- "type": "literal",
676
- "value": "custom"
677
- }
678
- ]
679
- }
680
- },
681
- {
682
- "name": "UIType",
683
- "type": "typeAlias",
684
- "annotation": {
685
- "type": "union",
686
- "types": [
687
- {
688
- "type": "literal",
689
- "value": "default"
690
- },
691
- {
692
- "type": "literal",
693
- "value": "dashboard"
694
- }
695
- ]
696
- }
697
- },
698
- {
699
- "name": "ComponentSize",
700
- "type": "typeAlias",
701
- "annotation": {
702
- "type": "union",
703
- "types": [
704
- {
705
- "type": "literal",
706
- "value": "large"
707
- },
708
- {
709
- "type": "literal",
710
- "value": "medium"
711
- },
712
- {
713
- "type": "literal",
714
- "value": "small"
715
- },
716
- {
717
- "type": "literal",
718
- "value": "xs"
719
- }
720
- ]
721
- }
722
- }
723
- ],
724
- "form.upload-image": [
725
- {
726
- "name": "FileData",
727
- "type": "interface",
728
- "annotation": [
729
- {
730
- "type": "propertySignature",
731
- "name": "uid",
732
- "property": {
733
- "type": "keyword",
734
- "value": "string"
735
- }
736
- },
737
- {
738
- "type": "propertySignature",
739
- "name": "file",
740
- "property": {
741
- "type": "intersection",
742
- "types": [
743
- {
744
- "type": "reference",
745
- "typeName": "File"
746
- },
747
- {
3008
+ },
3009
+ {
3010
+ "name": "schemaRef",
3011
+ "types": {
3012
+ "type": "union",
3013
+ "types": [
3014
+ {
3015
+ "type": "keyword",
3016
+ "value": "string"
3017
+ }
3018
+ ]
3019
+ }
3020
+ },
3021
+ {
3022
+ "name": "enableLiveAutocompletion",
3023
+ "types": {
3024
+ "type": "union",
3025
+ "types": [
3026
+ {
3027
+ "type": "keyword",
3028
+ "value": "boolean"
3029
+ }
3030
+ ]
3031
+ }
3032
+ },
3033
+ {
3034
+ "name": "customCompleters",
3035
+ "types": {
3036
+ "type": "union",
3037
+ "types": [
3038
+ {
3039
+ "type": "array",
3040
+ "elementType": {
3041
+ "type": "keyword",
3042
+ "value": "string"
3043
+ }
3044
+ },
3045
+ {
3046
+ "type": "array",
3047
+ "elementType": {
748
3048
  "type": "typeLiteral",
749
3049
  "members": [
750
3050
  {
751
3051
  "type": "propertySignature",
752
- "name": "uid",
3052
+ "name": "caption",
3053
+ "property": {
3054
+ "type": "keyword",
3055
+ "value": "string"
3056
+ }
3057
+ },
3058
+ {
3059
+ "type": "propertySignature",
3060
+ "name": "value",
3061
+ "property": {
3062
+ "type": "keyword",
3063
+ "value": "string"
3064
+ }
3065
+ },
3066
+ {
3067
+ "type": "propertySignature",
3068
+ "name": "meta",
753
3069
  "property": {
754
3070
  "type": "keyword",
755
3071
  "value": "string"
756
3072
  }
3073
+ },
3074
+ {
3075
+ "type": "propertySignature",
3076
+ "name": "score",
3077
+ "property": {
3078
+ "type": "keyword",
3079
+ "value": "number"
3080
+ }
757
3081
  }
758
3082
  ]
759
3083
  }
760
- ]
761
- }
762
- },
763
- {
764
- "type": "propertySignature",
765
- "name": "response",
766
- "property": {
767
- "type": "keyword",
768
- "value": "any"
769
- }
770
- },
771
- {
772
- "type": "propertySignature",
773
- "name": "userData",
774
- "property": {
775
- "type": "keyword",
776
- "value": "any"
777
- }
778
- },
779
- {
780
- "type": "propertySignature",
781
- "name": "status",
782
- "property": {
783
- "type": "reference",
784
- "typeName": "UploadStatus"
785
- }
786
- },
787
- {
788
- "type": "propertySignature",
789
- "name": "errors",
790
- "property": {
791
- "type": "array",
792
- "elementType": {
793
- "type": "reference",
794
- "typeName": "Error"
795
3084
  }
796
- }
797
- },
798
- {
799
- "type": "propertySignature",
800
- "name": "symbolForAbortController",
801
- "property": {
802
- "type": "reference",
803
- "typeName": "AbortController"
804
- }
3085
+ ]
3086
+ }
3087
+ },
3088
+ {
3089
+ "name": "loadYamlInJsonMode"
3090
+ },
3091
+ {
3092
+ "name": "highlightTokens",
3093
+ "types": {
3094
+ "type": "union",
3095
+ "types": [
3096
+ {
3097
+ "type": "array",
3098
+ "elementType": {
3099
+ "type": "reference",
3100
+ "typeName": "HighlightTokenSettings"
3101
+ }
3102
+ }
3103
+ ]
805
3104
  }
806
- ]
807
- },
808
- {
809
- "name": "UploadStatus",
810
- "type": "typeAlias",
811
- "annotation": {
812
- "type": "union",
813
- "types": [
814
- {
815
- "type": "literal",
816
- "value": "uploading"
817
- },
818
- {
819
- "type": "literal",
820
- "value": "done"
821
- },
822
- {
823
- "type": "literal",
824
- "value": "error"
825
- }
826
- ]
827
3105
  }
828
- }
829
- ],
830
- "form.code-editor": [
831
- {
832
- "name": "HighlightTokenSettings",
833
- "type": "interface",
834
- "annotation": [
835
- {
836
- "type": "propertySignature",
837
- "name": "type",
838
- "property": {
839
- "type": "reference",
840
- "typeName": "HighlightTokenType"
841
- }
842
- },
843
- {
844
- "type": "propertySignature",
845
- "name": "clickable",
846
- "property": {
847
- "type": "keyword",
848
- "value": "boolean"
849
- }
850
- },
851
- {
852
- "type": "propertySignature",
853
- "name": "level",
854
- "property": {
855
- "type": "union",
856
- "types": [
857
- {
858
- "type": "literal",
859
- "value": "default"
860
- },
861
- {
862
- "type": "literal",
863
- "value": "warn"
864
- },
865
- {
866
- "type": "literal",
867
- "value": "error"
3106
+ ],
3107
+ "events": [
3108
+ {
3109
+ "name": "code.change",
3110
+ "types": {
3111
+ "type": "keyword",
3112
+ "value": "string"
3113
+ }
3114
+ },
3115
+ {
3116
+ "name": "editor.blur",
3117
+ "types": {
3118
+ "type": "keyword",
3119
+ "value": "string"
3120
+ }
3121
+ },
3122
+ {
3123
+ "name": "error.change",
3124
+ "types": {
3125
+ "type": "reference",
3126
+ "typeName": "Error"
3127
+ }
3128
+ },
3129
+ {
3130
+ "name": "highlightToken.click",
3131
+ "types": {
3132
+ "type": "typeLiteral",
3133
+ "members": [
3134
+ {
3135
+ "type": "propertySignature",
3136
+ "name": "type",
3137
+ "property": {
3138
+ "type": "keyword",
3139
+ "value": "string"
868
3140
  }
869
- ]
870
- }
3141
+ },
3142
+ {
3143
+ "type": "propertySignature",
3144
+ "name": "value",
3145
+ "property": {
3146
+ "type": "keyword",
3147
+ "value": "string"
3148
+ }
3149
+ }
3150
+ ]
871
3151
  }
872
- ]
873
- },
874
- {
875
- "name": "HighlightTokenType",
876
- "type": "typeAlias",
877
- "annotation": {
878
- "type": "union",
879
- "types": [
880
- {
881
- "type": "literal",
882
- "value": "storyboard-function"
883
- },
884
- {
885
- "type": "literal",
886
- "value": "storyboard-context"
887
- },
888
- {
889
- "type": "literal",
890
- "value": "storyboard-context-action"
891
- },
892
- {
893
- "type": "literal",
894
- "value": "storyboard-state"
895
- },
896
- {
897
- "type": "literal",
898
- "value": "storyboard-state-action"
899
- },
900
- {
901
- "type": "literal",
902
- "value": "storyboard-tpl-var"
3152
+ }
3153
+ ],
3154
+ "types": [
3155
+ {
3156
+ "name": "HighlightTokenSettings",
3157
+ "type": "interface",
3158
+ "annotation": [
3159
+ {
3160
+ "type": "propertySignature",
3161
+ "name": "type",
3162
+ "property": {
3163
+ "type": "reference",
3164
+ "typeName": "HighlightTokenType"
3165
+ }
903
3166
  },
904
3167
  {
905
- "type": "literal",
906
- "value": "storyboard-tag-name-as-target"
3168
+ "type": "propertySignature",
3169
+ "name": "clickable",
3170
+ "property": {
3171
+ "type": "keyword",
3172
+ "value": "boolean"
3173
+ }
907
3174
  },
908
3175
  {
909
- "type": "literal",
910
- "value": "storyboard-route-var"
3176
+ "type": "propertySignature",
3177
+ "name": "level",
3178
+ "property": {
3179
+ "type": "union",
3180
+ "types": [
3181
+ {
3182
+ "type": "literal",
3183
+ "value": "default"
3184
+ },
3185
+ {
3186
+ "type": "literal",
3187
+ "value": "warn"
3188
+ },
3189
+ {
3190
+ "type": "literal",
3191
+ "value": "error"
3192
+ }
3193
+ ]
3194
+ }
3195
+ }
3196
+ ]
3197
+ },
3198
+ {
3199
+ "name": "HighlightTokenType",
3200
+ "type": "typeAlias",
3201
+ "annotation": {
3202
+ "type": "union",
3203
+ "types": [
3204
+ {
3205
+ "type": "literal",
3206
+ "value": "storyboard-function"
3207
+ },
3208
+ {
3209
+ "type": "literal",
3210
+ "value": "storyboard-context"
3211
+ },
3212
+ {
3213
+ "type": "literal",
3214
+ "value": "storyboard-context-action"
3215
+ },
3216
+ {
3217
+ "type": "literal",
3218
+ "value": "storyboard-state"
3219
+ },
3220
+ {
3221
+ "type": "literal",
3222
+ "value": "storyboard-state-action"
3223
+ },
3224
+ {
3225
+ "type": "literal",
3226
+ "value": "storyboard-tpl-var"
3227
+ },
3228
+ {
3229
+ "type": "literal",
3230
+ "value": "storyboard-tag-name-as-target"
3231
+ },
3232
+ {
3233
+ "type": "literal",
3234
+ "value": "storyboard-route-var"
3235
+ },
3236
+ {
3237
+ "type": "literal",
3238
+ "value": "dashboard-DS"
3239
+ }
3240
+ ]
3241
+ }
3242
+ },
3243
+ {
3244
+ "name": "Error",
3245
+ "type": "interface",
3246
+ "annotation": [
3247
+ {
3248
+ "type": "propertySignature",
3249
+ "name": "err",
3250
+ "property": {
3251
+ "type": "array",
3252
+ "elementType": {
3253
+ "type": "reference",
3254
+ "typeName": "Annotation"
3255
+ }
3256
+ }
911
3257
  },
912
3258
  {
913
- "type": "literal",
914
- "value": "dashboard-DS"
3259
+ "type": "propertySignature",
3260
+ "name": "hasError",
3261
+ "property": {
3262
+ "type": "keyword",
3263
+ "value": "boolean"
3264
+ }
915
3265
  }
916
3266
  ]
917
3267
  }
918
- }
919
- ]
3268
+ ]
3269
+ }
920
3270
  }