erupt-sdk 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,2137 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://erupt.xyz/schema/erupt-annotations.schema.json",
4
+ "title": "erupt annotation JSON",
5
+ "description": "JSON emitted for erupt annotations in a build model. Generated by erupt-test NodeSchemaTest.",
6
+ "x-erupt-roots": [
7
+ "Erupt",
8
+ "EruptField"
9
+ ],
10
+ "$defs": {
11
+ "AttachmentType": {
12
+ "type": "object",
13
+ "properties": {
14
+ "fileSeparator": {
15
+ "type": "string",
16
+ "default": "|"
17
+ },
18
+ "fileTypes": {
19
+ "type": "array",
20
+ "items": {
21
+ "type": "string"
22
+ },
23
+ "default": []
24
+ },
25
+ "imageType": {
26
+ "$ref": "#/$defs/AttachmentTypeImageType"
27
+ },
28
+ "maxLimit": {
29
+ "type": "integer",
30
+ "default": 1
31
+ },
32
+ "path": {
33
+ "type": "string",
34
+ "default": ""
35
+ },
36
+ "size": {
37
+ "type": "integer",
38
+ "default": -1
39
+ },
40
+ "type": {
41
+ "$ref": "#/$defs/AttachmentTypeType",
42
+ "default": "BASE"
43
+ }
44
+ },
45
+ "required": [
46
+ "fileSeparator",
47
+ "fileTypes",
48
+ "imageType",
49
+ "maxLimit",
50
+ "path",
51
+ "size",
52
+ "type"
53
+ ],
54
+ "additionalProperties": false
55
+ },
56
+ "AttachmentTypeImageType": {
57
+ "type": "object",
58
+ "properties": {
59
+ "maxHeight": {
60
+ "type": "integer",
61
+ "default": 2147483647
62
+ },
63
+ "maxWidth": {
64
+ "type": "integer",
65
+ "default": 2147483647
66
+ },
67
+ "minHeight": {
68
+ "type": "integer",
69
+ "default": 0
70
+ },
71
+ "minWidth": {
72
+ "type": "integer",
73
+ "default": 0
74
+ }
75
+ },
76
+ "required": [
77
+ "maxHeight",
78
+ "maxWidth",
79
+ "minHeight",
80
+ "minWidth"
81
+ ],
82
+ "additionalProperties": false
83
+ },
84
+ "AttachmentTypeType": {
85
+ "type": "string",
86
+ "enum": [
87
+ "BASE",
88
+ "IMAGE"
89
+ ]
90
+ },
91
+ "AutoCompleteType": {
92
+ "type": "object",
93
+ "properties": {
94
+ "triggerLength": {
95
+ "type": "integer",
96
+ "default": 1
97
+ }
98
+ },
99
+ "required": [
100
+ "triggerLength"
101
+ ],
102
+ "additionalProperties": false
103
+ },
104
+ "BoardView": {
105
+ "type": "object",
106
+ "properties": {
107
+ "groupField": {
108
+ "type": "string"
109
+ },
110
+ "sumField": {
111
+ "type": "string",
112
+ "default": ""
113
+ },
114
+ "swimlaneField": {
115
+ "type": "string",
116
+ "default": ""
117
+ },
118
+ "wipLimit": {
119
+ "type": "integer",
120
+ "default": 0
121
+ }
122
+ },
123
+ "required": [
124
+ "groupField",
125
+ "sumField",
126
+ "swimlaneField",
127
+ "wipLimit"
128
+ ],
129
+ "additionalProperties": false
130
+ },
131
+ "BoolType": {
132
+ "type": "object",
133
+ "properties": {
134
+ "falseText": {
135
+ "type": "string",
136
+ "default": "N"
137
+ },
138
+ "trueText": {
139
+ "type": "string",
140
+ "default": "Y"
141
+ },
142
+ "type": {
143
+ "$ref": "#/$defs/BoolTypeType",
144
+ "default": "AUTO"
145
+ }
146
+ },
147
+ "required": [
148
+ "falseText",
149
+ "trueText",
150
+ "type"
151
+ ],
152
+ "additionalProperties": false
153
+ },
154
+ "BoolTypeType": {
155
+ "type": "string",
156
+ "enum": [
157
+ "AUTO",
158
+ "RADIO",
159
+ "SWITCH"
160
+ ]
161
+ },
162
+ "ButtonType": {
163
+ "type": "object",
164
+ "properties": {
165
+ "confirm": {
166
+ "type": "string",
167
+ "default": ""
168
+ },
169
+ "danger": {
170
+ "type": "boolean",
171
+ "default": false
172
+ },
173
+ "fullSpan": {
174
+ "type": "boolean",
175
+ "default": false
176
+ },
177
+ "icon": {
178
+ "type": "string",
179
+ "default": ""
180
+ },
181
+ "style": {
182
+ "type": "string",
183
+ "default": "default"
184
+ }
185
+ },
186
+ "required": [
187
+ "confirm",
188
+ "danger",
189
+ "fullSpan",
190
+ "icon",
191
+ "style"
192
+ ],
193
+ "additionalProperties": false
194
+ },
195
+ "CalendarView": {
196
+ "type": "object",
197
+ "properties": {
198
+ "colorField": {
199
+ "type": "string",
200
+ "default": ""
201
+ },
202
+ "dateField": {
203
+ "type": "string"
204
+ },
205
+ "endDateField": {
206
+ "type": "string",
207
+ "default": ""
208
+ },
209
+ "mode": {
210
+ "$ref": "#/$defs/CalendarViewMode",
211
+ "default": "MONTH"
212
+ }
213
+ },
214
+ "required": [
215
+ "colorField",
216
+ "dateField",
217
+ "endDateField",
218
+ "mode"
219
+ ],
220
+ "additionalProperties": false
221
+ },
222
+ "CalendarViewMode": {
223
+ "type": "string",
224
+ "enum": [
225
+ "MONTH",
226
+ "WEEK",
227
+ "YEAR"
228
+ ]
229
+ },
230
+ "CalloutType": {
231
+ "type": "object",
232
+ "properties": {
233
+ "style": {
234
+ "$ref": "#/$defs/CalloutTypeStyle",
235
+ "default": "CARD"
236
+ },
237
+ "value": {
238
+ "type": "string",
239
+ "default": ""
240
+ }
241
+ },
242
+ "required": [
243
+ "style",
244
+ "value"
245
+ ],
246
+ "additionalProperties": false
247
+ },
248
+ "CalloutTypeStyle": {
249
+ "type": "string",
250
+ "enum": [
251
+ "CARD",
252
+ "INFO",
253
+ "SUCCESS",
254
+ "WARNING",
255
+ "ERROR"
256
+ ]
257
+ },
258
+ "CardView": {
259
+ "type": "object",
260
+ "properties": {
261
+ "coverEffect": {
262
+ "$ref": "#/$defs/CardViewCoverEffect",
263
+ "default": "CLIP"
264
+ },
265
+ "coverField": {
266
+ "type": "string",
267
+ "default": ""
268
+ }
269
+ },
270
+ "required": [
271
+ "coverEffect",
272
+ "coverField"
273
+ ],
274
+ "additionalProperties": false
275
+ },
276
+ "CardViewCoverEffect": {
277
+ "type": "string",
278
+ "enum": [
279
+ "FIT",
280
+ "CLIP"
281
+ ]
282
+ },
283
+ "ChoiceType": {
284
+ "type": "object",
285
+ "properties": {
286
+ "dependField": {
287
+ "type": "string",
288
+ "default": ""
289
+ },
290
+ "fetchHandler": {
291
+ "type": "array",
292
+ "items": {
293
+ "type": "string"
294
+ },
295
+ "default": []
296
+ },
297
+ "type": {
298
+ "$ref": "#/$defs/ChoiceTypeType",
299
+ "default": "SELECT"
300
+ },
301
+ "validate": {
302
+ "type": "boolean",
303
+ "default": true
304
+ }
305
+ },
306
+ "required": [
307
+ "dependField",
308
+ "fetchHandler",
309
+ "type",
310
+ "validate"
311
+ ],
312
+ "additionalProperties": false
313
+ },
314
+ "ChoiceTypeType": {
315
+ "type": "string",
316
+ "enum": [
317
+ "SELECT",
318
+ "RADIO"
319
+ ]
320
+ },
321
+ "CodeEditorType": {
322
+ "type": "object",
323
+ "properties": {
324
+ "height": {
325
+ "type": "integer",
326
+ "default": 300
327
+ },
328
+ "hintHandler": {
329
+ "type": "array",
330
+ "items": {
331
+ "type": "string"
332
+ },
333
+ "default": []
334
+ },
335
+ "hints": {
336
+ "type": "array",
337
+ "items": {
338
+ "type": "string"
339
+ },
340
+ "default": []
341
+ },
342
+ "language": {
343
+ "type": "string"
344
+ }
345
+ },
346
+ "required": [
347
+ "height",
348
+ "hintHandler",
349
+ "hints",
350
+ "language"
351
+ ],
352
+ "additionalProperties": false
353
+ },
354
+ "ColorType": {
355
+ "type": "object",
356
+ "properties": {
357
+ "alpha": {
358
+ "type": "boolean",
359
+ "default": false
360
+ },
361
+ "presets": {
362
+ "type": "array",
363
+ "items": {
364
+ "type": "string"
365
+ },
366
+ "default": []
367
+ },
368
+ "showText": {
369
+ "type": "boolean",
370
+ "default": true
371
+ }
372
+ },
373
+ "required": [
374
+ "alpha",
375
+ "presets",
376
+ "showText"
377
+ ],
378
+ "additionalProperties": false
379
+ },
380
+ "CubeChart": {
381
+ "type": "object",
382
+ "properties": {
383
+ "series": {
384
+ "type": "string",
385
+ "default": ""
386
+ },
387
+ "span": {
388
+ "type": "integer",
389
+ "default": 1
390
+ },
391
+ "title": {
392
+ "type": "string",
393
+ "default": ""
394
+ },
395
+ "type": {
396
+ "$ref": "#/$defs/CubeChartType"
397
+ },
398
+ "ui": {
399
+ "type": "object",
400
+ "additionalProperties": {
401
+ "$ref": "#/$defs/KV"
402
+ },
403
+ "x-erupt-map-key": "key"
404
+ },
405
+ "x": {
406
+ "type": "array",
407
+ "items": {
408
+ "type": "string"
409
+ },
410
+ "default": []
411
+ },
412
+ "y": {
413
+ "type": "array",
414
+ "items": {
415
+ "type": "string"
416
+ },
417
+ "default": []
418
+ }
419
+ },
420
+ "required": [
421
+ "series",
422
+ "span",
423
+ "title",
424
+ "type",
425
+ "x",
426
+ "y"
427
+ ],
428
+ "additionalProperties": false
429
+ },
430
+ "CubeChartType": {
431
+ "type": "string",
432
+ "enum": [
433
+ "LINE",
434
+ "AREA",
435
+ "BAR",
436
+ "COLUMN",
437
+ "PIE",
438
+ "SCATTER",
439
+ "RADAR",
440
+ "FUNNEL",
441
+ "DUAL_AXES",
442
+ "GAUGE",
443
+ "WATERFALL",
444
+ "WORD_CLOUD",
445
+ "ROSE",
446
+ "RADIAL_BAR",
447
+ "SANKEY",
448
+ "CHORD",
449
+ "MAP",
450
+ "BUBBLE",
451
+ "TREEMAP",
452
+ "HEATMAP",
453
+ "TINY_LINE",
454
+ "TINY_AREA",
455
+ "TINY_COLUMN",
456
+ "PROGRESS",
457
+ "RING_PROGRESS",
458
+ "TABLE",
459
+ "PIVOT_TABLE",
460
+ "KPI"
461
+ ]
462
+ },
463
+ "CubeView": {
464
+ "type": "object",
465
+ "properties": {
466
+ "charts": {
467
+ "type": "array",
468
+ "items": {
469
+ "$ref": "#/$defs/CubeChart"
470
+ }
471
+ },
472
+ "columns": {
473
+ "type": "integer",
474
+ "default": 2
475
+ },
476
+ "cube": {
477
+ "type": "string",
478
+ "default": "Void"
479
+ },
480
+ "explore": {
481
+ "type": "string",
482
+ "default": "overview"
483
+ },
484
+ "height": {
485
+ "type": "integer",
486
+ "default": 320
487
+ },
488
+ "linkSearch": {
489
+ "type": "boolean",
490
+ "default": true
491
+ },
492
+ "searchMapping": {
493
+ "type": "object",
494
+ "additionalProperties": {
495
+ "$ref": "#/$defs/KV"
496
+ },
497
+ "x-erupt-map-key": "key"
498
+ }
499
+ },
500
+ "required": [
501
+ "charts",
502
+ "columns",
503
+ "cube",
504
+ "explore",
505
+ "height",
506
+ "linkSearch"
507
+ ],
508
+ "additionalProperties": false
509
+ },
510
+ "DateType": {
511
+ "type": "object",
512
+ "properties": {
513
+ "max": {
514
+ "type": "string",
515
+ "default": ""
516
+ },
517
+ "min": {
518
+ "type": "string",
519
+ "default": ""
520
+ },
521
+ "pickerMode": {
522
+ "$ref": "#/$defs/DateTypePickerMode",
523
+ "default": "ALL"
524
+ },
525
+ "type": {
526
+ "$ref": "#/$defs/DateTypeType",
527
+ "default": "AUTO"
528
+ }
529
+ },
530
+ "required": [
531
+ "max",
532
+ "min",
533
+ "pickerMode",
534
+ "type"
535
+ ],
536
+ "additionalProperties": false
537
+ },
538
+ "DateTypePickerMode": {
539
+ "type": "string",
540
+ "enum": [
541
+ "ALL",
542
+ "FUTURE",
543
+ "HISTORY"
544
+ ]
545
+ },
546
+ "DateTypeType": {
547
+ "type": "string",
548
+ "enum": [
549
+ "AUTO",
550
+ "DATE",
551
+ "TIME",
552
+ "DATE_TIME",
553
+ "MONTH",
554
+ "WEEK",
555
+ "QUARTER",
556
+ "YEAR"
557
+ ]
558
+ },
559
+ "DragSort": {
560
+ "type": "object",
561
+ "properties": {
562
+ "field": {
563
+ "type": "string"
564
+ }
565
+ },
566
+ "required": [
567
+ "field"
568
+ ],
569
+ "additionalProperties": false
570
+ },
571
+ "Drill": {
572
+ "type": "object",
573
+ "properties": {
574
+ "code": {
575
+ "type": "string",
576
+ "default": ""
577
+ },
578
+ "fold": {
579
+ "type": "boolean",
580
+ "default": false
581
+ },
582
+ "icon": {
583
+ "type": "string",
584
+ "default": "fa fa-sitemap"
585
+ },
586
+ "link": {
587
+ "$ref": "#/$defs/Link"
588
+ },
589
+ "title": {
590
+ "type": "string"
591
+ }
592
+ },
593
+ "required": [
594
+ "code",
595
+ "fold",
596
+ "icon",
597
+ "link",
598
+ "title"
599
+ ],
600
+ "additionalProperties": false
601
+ },
602
+ "Dynamic": {
603
+ "type": "object",
604
+ "properties": {
605
+ "condition": {
606
+ "type": "string"
607
+ },
608
+ "dependField": {
609
+ "type": "string"
610
+ },
611
+ "match": {
612
+ "$ref": "#/$defs/DynamicCtrl",
613
+ "default": "SHOW"
614
+ },
615
+ "noMatch": {
616
+ "$ref": "#/$defs/DynamicCtrl",
617
+ "default": "HIDE"
618
+ }
619
+ },
620
+ "required": [
621
+ "condition",
622
+ "dependField",
623
+ "match",
624
+ "noMatch"
625
+ ],
626
+ "additionalProperties": false
627
+ },
628
+ "DynamicCtrl": {
629
+ "type": "string",
630
+ "enum": [
631
+ "SHOW",
632
+ "HIDE",
633
+ "NOTNULL",
634
+ "READONLY"
635
+ ]
636
+ },
637
+ "Edit": {
638
+ "type": "object",
639
+ "properties": {
640
+ "ai": {
641
+ "type": "boolean",
642
+ "x-erupt-match": "#item.type().toString()=='AUTO' || #item.type().toString()=='INPUT' || #item.type().toString()=='TEXTAREA' || #item.type().toString()=='HTML_EDITOR' || #item.type().toString()=='CODE_EDITOR' || #item.type().toString()=='MARKDOWN'",
643
+ "default": true
644
+ },
645
+ "attachmentType": {
646
+ "$ref": "#/$defs/AttachmentType",
647
+ "x-erupt-match": "#item.type().toString()=='ATTACHMENT'"
648
+ },
649
+ "autoCompleteType": {
650
+ "$ref": "#/$defs/AutoCompleteType",
651
+ "x-erupt-match": "#item.type().toString()=='AUTO_COMPLETE'"
652
+ },
653
+ "boolType": {
654
+ "$ref": "#/$defs/BoolType",
655
+ "x-erupt-match": "#item.type().toString()=='BOOLEAN'"
656
+ },
657
+ "buttonType": {
658
+ "$ref": "#/$defs/ButtonType",
659
+ "x-erupt-match": "#item.type().toString()=='BUTTON'"
660
+ },
661
+ "calloutType": {
662
+ "$ref": "#/$defs/CalloutType",
663
+ "x-erupt-match": "#item.type().toString()=='CALLOUT'"
664
+ },
665
+ "cellEdit": {
666
+ "type": "boolean",
667
+ "default": true
668
+ },
669
+ "choiceType": {
670
+ "$ref": "#/$defs/ChoiceType",
671
+ "x-erupt-match": "#item.type().toString()=='CHOICE'"
672
+ },
673
+ "codeEditType": {
674
+ "$ref": "#/$defs/CodeEditorType",
675
+ "x-erupt-match": "#item.type().toString()=='CODE_EDITOR'"
676
+ },
677
+ "colorType": {
678
+ "$ref": "#/$defs/ColorType",
679
+ "x-erupt-match": "#item.type().toString()=='COLOR'"
680
+ },
681
+ "dateType": {
682
+ "$ref": "#/$defs/DateType",
683
+ "x-erupt-match": "#item.type().toString()=='DATE'"
684
+ },
685
+ "desc": {
686
+ "type": "string",
687
+ "default": ""
688
+ },
689
+ "dynamic": {
690
+ "$ref": "#/$defs/Dynamic",
691
+ "x-erupt-match": "#value.condition() != ''"
692
+ },
693
+ "groupType": {
694
+ "$ref": "#/$defs/GroupType",
695
+ "x-erupt-match": "#item.type().toString()=='GROUP'"
696
+ },
697
+ "htmlEditorType": {
698
+ "$ref": "#/$defs/HtmlEditorType",
699
+ "x-erupt-match": "#item.type().toString()=='HTML_EDITOR'"
700
+ },
701
+ "inputType": {
702
+ "$ref": "#/$defs/InputType",
703
+ "x-erupt-match": "#item.type().toString()=='INPUT'"
704
+ },
705
+ "keyValueType": {
706
+ "$ref": "#/$defs/KeyValueType",
707
+ "x-erupt-match": "#item.type().toString()=='KEY_VALUE'"
708
+ },
709
+ "multiChoiceType": {
710
+ "$ref": "#/$defs/MultiChoiceType",
711
+ "x-erupt-match": "#item.type().toString()=='MULTI_CHOICE'"
712
+ },
713
+ "notNull": {
714
+ "type": "boolean",
715
+ "default": false
716
+ },
717
+ "numberType": {
718
+ "$ref": "#/$defs/NumberType",
719
+ "x-erupt-match": "#item.type().toString()=='NUMBER'"
720
+ },
721
+ "onchange": {
722
+ "type": "string",
723
+ "default": "OnChange"
724
+ },
725
+ "placeHolder": {
726
+ "type": "string",
727
+ "default": ""
728
+ },
729
+ "rateType": {
730
+ "$ref": "#/$defs/RateType",
731
+ "x-erupt-match": "#item.type().toString()=='RATE'"
732
+ },
733
+ "readOnly": {
734
+ "$ref": "#/$defs/Readonly"
735
+ },
736
+ "referenceTableType": {
737
+ "$ref": "#/$defs/ReferenceTableType",
738
+ "x-erupt-match": "#item.type().toString()=='REFERENCE_TABLE' || #item.type().toString()=='TAB_TABLE_REFER'"
739
+ },
740
+ "referenceTreeType": {
741
+ "$ref": "#/$defs/ReferenceTreeType",
742
+ "x-erupt-match": "#item.type().toString()=='REFERENCE_TREE'"
743
+ },
744
+ "search": {
745
+ "$ref": "#/$defs/Search"
746
+ },
747
+ "show": {
748
+ "type": "boolean",
749
+ "default": true
750
+ },
751
+ "sliderType": {
752
+ "$ref": "#/$defs/SliderType",
753
+ "x-erupt-match": "#item.type().toString()=='SLIDER'"
754
+ },
755
+ "tagsType": {
756
+ "$ref": "#/$defs/TagsType",
757
+ "x-erupt-match": "#item.type().toString()=='TAGS'"
758
+ },
759
+ "textareaType": {
760
+ "$ref": "#/$defs/TextareaType",
761
+ "x-erupt-match": "#item.type().toString()=='TEXTAREA'"
762
+ },
763
+ "title": {
764
+ "type": "string"
765
+ },
766
+ "type": {
767
+ "$ref": "#/$defs/EditType",
768
+ "default": "AUTO"
769
+ }
770
+ },
771
+ "required": [
772
+ "cellEdit",
773
+ "desc",
774
+ "notNull",
775
+ "onchange",
776
+ "placeHolder",
777
+ "readOnly",
778
+ "search",
779
+ "show",
780
+ "title",
781
+ "type"
782
+ ],
783
+ "additionalProperties": false
784
+ },
785
+ "EditType": {
786
+ "type": "string",
787
+ "enum": [
788
+ "AUTO",
789
+ "INPUT",
790
+ "PASSWORD",
791
+ "NUMBER",
792
+ "SLIDER",
793
+ "COLOR",
794
+ "ICON",
795
+ "KEY_VALUE",
796
+ "RATE",
797
+ "DATE",
798
+ "BOOLEAN",
799
+ "CHOICE",
800
+ "MULTI_CHOICE",
801
+ "TAGS",
802
+ "AUTO_COMPLETE",
803
+ "TEXTAREA",
804
+ "HTML_EDITOR",
805
+ "CODE_EDITOR",
806
+ "MARKDOWN",
807
+ "ATTACHMENT",
808
+ "MAP",
809
+ "TPL",
810
+ "DIVIDE",
811
+ "GROUP",
812
+ "CALLOUT",
813
+ "BUTTON",
814
+ "HIDDEN",
815
+ "EMPTY",
816
+ "SIGNATURE",
817
+ "REFERENCE_TREE",
818
+ "REFERENCE_TABLE",
819
+ "CHECKBOX",
820
+ "TRANSFER",
821
+ "TAB_TREE",
822
+ "TAB_TABLE_REFER",
823
+ "TAB_TABLE_ADD",
824
+ "MULTI_FORM",
825
+ "COMBINE"
826
+ ]
827
+ },
828
+ "Erupt": {
829
+ "type": "object",
830
+ "properties": {
831
+ "dataProxyParams": {
832
+ "type": "array",
833
+ "items": {
834
+ "type": "string"
835
+ },
836
+ "default": []
837
+ },
838
+ "desc": {
839
+ "type": "string",
840
+ "default": ""
841
+ },
842
+ "dragSort": {
843
+ "$ref": "#/$defs/DragSort",
844
+ "x-erupt-match": "#value.field() != ''"
845
+ },
846
+ "drills": {
847
+ "type": "array",
848
+ "items": {
849
+ "$ref": "#/$defs/Drill"
850
+ },
851
+ "default": []
852
+ },
853
+ "extra": {
854
+ "type": "object",
855
+ "description": "UI annotations on the class, keyed by simple name"
856
+ },
857
+ "layout": {
858
+ "$ref": "#/$defs/Layout"
859
+ },
860
+ "linkTree": {
861
+ "$ref": "#/$defs/LinkTree",
862
+ "x-erupt-match": "#value.field() != ''"
863
+ },
864
+ "param": {
865
+ "type": "object",
866
+ "additionalProperties": {
867
+ "$ref": "#/$defs/KV"
868
+ },
869
+ "x-erupt-map-key": "key"
870
+ },
871
+ "primaryKeyCol": {
872
+ "type": "string",
873
+ "default": "id"
874
+ },
875
+ "rowOperation": {
876
+ "type": "array",
877
+ "items": {
878
+ "$ref": "#/$defs/RowOperation"
879
+ },
880
+ "default": []
881
+ },
882
+ "tree": {
883
+ "$ref": "#/$defs/Tree"
884
+ },
885
+ "vis": {
886
+ "type": "array",
887
+ "items": {
888
+ "$ref": "#/$defs/Vis"
889
+ },
890
+ "default": []
891
+ },
892
+ "visRawTable": {
893
+ "type": "boolean",
894
+ "default": true
895
+ }
896
+ },
897
+ "required": [
898
+ "dataProxyParams",
899
+ "desc",
900
+ "drills",
901
+ "extra",
902
+ "layout",
903
+ "primaryKeyCol",
904
+ "rowOperation",
905
+ "tree",
906
+ "vis",
907
+ "visRawTable"
908
+ ],
909
+ "additionalProperties": false
910
+ },
911
+ "EruptField": {
912
+ "type": "object",
913
+ "properties": {
914
+ "edit": {
915
+ "$ref": "#/$defs/Edit"
916
+ },
917
+ "params": {
918
+ "type": "object",
919
+ "additionalProperties": {
920
+ "$ref": "#/$defs/KV"
921
+ },
922
+ "x-erupt-map-key": "key"
923
+ },
924
+ "views": {
925
+ "type": "array",
926
+ "items": {
927
+ "$ref": "#/$defs/View"
928
+ },
929
+ "default": []
930
+ }
931
+ },
932
+ "required": [
933
+ "edit",
934
+ "views"
935
+ ],
936
+ "additionalProperties": false
937
+ },
938
+ "Expr": {
939
+ "type": "object",
940
+ "properties": {
941
+ "value": {
942
+ "type": "string",
943
+ "default": ""
944
+ }
945
+ },
946
+ "required": [
947
+ "value"
948
+ ],
949
+ "additionalProperties": false
950
+ },
951
+ "GanttView": {
952
+ "type": "object",
953
+ "properties": {
954
+ "colorField": {
955
+ "type": "string",
956
+ "default": ""
957
+ },
958
+ "dependencyField": {
959
+ "type": "string",
960
+ "default": ""
961
+ },
962
+ "endDateField": {
963
+ "type": "string"
964
+ },
965
+ "groupField": {
966
+ "type": "string",
967
+ "default": ""
968
+ },
969
+ "milestoneField": {
970
+ "type": "string",
971
+ "default": ""
972
+ },
973
+ "pidField": {
974
+ "type": "string",
975
+ "default": ""
976
+ },
977
+ "progressField": {
978
+ "type": "string",
979
+ "default": ""
980
+ },
981
+ "startDateField": {
982
+ "type": "string"
983
+ }
984
+ },
985
+ "required": [
986
+ "colorField",
987
+ "dependencyField",
988
+ "endDateField",
989
+ "groupField",
990
+ "milestoneField",
991
+ "pidField",
992
+ "progressField",
993
+ "startDateField"
994
+ ],
995
+ "additionalProperties": false
996
+ },
997
+ "GroupType": {
998
+ "type": "object",
999
+ "properties": {
1000
+ "collapsed": {
1001
+ "type": "boolean",
1002
+ "default": false
1003
+ },
1004
+ "fields": {
1005
+ "type": "array",
1006
+ "items": {
1007
+ "type": "string"
1008
+ }
1009
+ }
1010
+ },
1011
+ "required": [
1012
+ "collapsed",
1013
+ "fields"
1014
+ ],
1015
+ "additionalProperties": false
1016
+ },
1017
+ "HtmlEditorType": {
1018
+ "type": "object",
1019
+ "properties": {
1020
+ "path": {
1021
+ "type": "string",
1022
+ "default": ""
1023
+ },
1024
+ "value": {
1025
+ "$ref": "#/$defs/HtmlEditorTypeType"
1026
+ }
1027
+ },
1028
+ "required": [
1029
+ "path",
1030
+ "value"
1031
+ ],
1032
+ "additionalProperties": false
1033
+ },
1034
+ "HtmlEditorTypeType": {
1035
+ "type": "string",
1036
+ "enum": [
1037
+ "CKEDITOR",
1038
+ "UEDITOR"
1039
+ ]
1040
+ },
1041
+ "InputType": {
1042
+ "type": "object",
1043
+ "properties": {
1044
+ "fullSpan": {
1045
+ "type": "boolean",
1046
+ "default": false
1047
+ },
1048
+ "length": {
1049
+ "type": "integer",
1050
+ "default": 255
1051
+ },
1052
+ "prefix": {
1053
+ "type": "array",
1054
+ "items": {
1055
+ "$ref": "#/$defs/VL"
1056
+ },
1057
+ "default": []
1058
+ },
1059
+ "regex": {
1060
+ "type": "string",
1061
+ "default": ""
1062
+ },
1063
+ "suffix": {
1064
+ "type": "array",
1065
+ "items": {
1066
+ "$ref": "#/$defs/VL"
1067
+ },
1068
+ "default": []
1069
+ },
1070
+ "type": {
1071
+ "type": "string",
1072
+ "default": "text"
1073
+ }
1074
+ },
1075
+ "required": [
1076
+ "fullSpan",
1077
+ "length",
1078
+ "prefix",
1079
+ "regex",
1080
+ "suffix",
1081
+ "type"
1082
+ ],
1083
+ "additionalProperties": false
1084
+ },
1085
+ "KV": {
1086
+ "type": "object",
1087
+ "properties": {
1088
+ "desc": {
1089
+ "type": "string",
1090
+ "default": ""
1091
+ },
1092
+ "key": {
1093
+ "type": "string"
1094
+ },
1095
+ "value": {
1096
+ "type": "string"
1097
+ }
1098
+ },
1099
+ "required": [
1100
+ "desc",
1101
+ "key",
1102
+ "value"
1103
+ ],
1104
+ "additionalProperties": false
1105
+ },
1106
+ "KeyValueType": {
1107
+ "type": "object",
1108
+ "properties": {
1109
+ "keyPlaceholder": {
1110
+ "type": "string",
1111
+ "default": ""
1112
+ },
1113
+ "keys": {
1114
+ "type": "array",
1115
+ "items": {
1116
+ "type": "string"
1117
+ },
1118
+ "default": []
1119
+ },
1120
+ "max": {
1121
+ "type": "integer",
1122
+ "default": 0
1123
+ },
1124
+ "valuePlaceholder": {
1125
+ "type": "string",
1126
+ "default": ""
1127
+ }
1128
+ },
1129
+ "required": [
1130
+ "keyPlaceholder",
1131
+ "keys",
1132
+ "max",
1133
+ "valuePlaceholder"
1134
+ ],
1135
+ "additionalProperties": false
1136
+ },
1137
+ "Layout": {
1138
+ "type": "object",
1139
+ "properties": {
1140
+ "collapseActionButton": {
1141
+ "type": "boolean",
1142
+ "default": false
1143
+ },
1144
+ "formSize": {
1145
+ "$ref": "#/$defs/LayoutFormSize",
1146
+ "default": "DEFAULT"
1147
+ },
1148
+ "formSteps": {
1149
+ "type": "boolean",
1150
+ "default": false
1151
+ },
1152
+ "pageSize": {
1153
+ "type": "integer",
1154
+ "default": 10
1155
+ },
1156
+ "pageSizes": {
1157
+ "type": "array",
1158
+ "items": {
1159
+ "type": "integer"
1160
+ },
1161
+ "default": [
1162
+ 10,
1163
+ 20,
1164
+ 30,
1165
+ 50,
1166
+ 100,
1167
+ 300,
1168
+ 500
1169
+ ]
1170
+ },
1171
+ "pagingType": {
1172
+ "$ref": "#/$defs/LayoutPagingType",
1173
+ "default": "BACKEND"
1174
+ },
1175
+ "refreshTime": {
1176
+ "type": "integer",
1177
+ "default": -1
1178
+ },
1179
+ "tableLeftFixed": {
1180
+ "type": "integer",
1181
+ "default": 0
1182
+ },
1183
+ "tableOperatorWidth": {
1184
+ "type": "string",
1185
+ "default": ""
1186
+ },
1187
+ "tableRightFixed": {
1188
+ "type": "integer",
1189
+ "default": 0
1190
+ },
1191
+ "tableTruncate": {
1192
+ "type": "boolean",
1193
+ "default": true
1194
+ },
1195
+ "tableWidth": {
1196
+ "type": "string",
1197
+ "default": ""
1198
+ }
1199
+ },
1200
+ "required": [
1201
+ "collapseActionButton",
1202
+ "formSize",
1203
+ "formSteps",
1204
+ "pageSize",
1205
+ "pageSizes",
1206
+ "pagingType",
1207
+ "refreshTime",
1208
+ "tableLeftFixed",
1209
+ "tableOperatorWidth",
1210
+ "tableRightFixed",
1211
+ "tableTruncate",
1212
+ "tableWidth"
1213
+ ],
1214
+ "additionalProperties": false
1215
+ },
1216
+ "LayoutFormSize": {
1217
+ "type": "string",
1218
+ "enum": [
1219
+ "DEFAULT",
1220
+ "FULL_LINE"
1221
+ ]
1222
+ },
1223
+ "LayoutPagingType": {
1224
+ "type": "string",
1225
+ "enum": [
1226
+ "BACKEND",
1227
+ "FRONT",
1228
+ "NONE"
1229
+ ]
1230
+ },
1231
+ "Link": {
1232
+ "type": "object",
1233
+ "properties": {
1234
+ "linkCondition": {
1235
+ "type": "string",
1236
+ "default": ""
1237
+ },
1238
+ "linkErupt": {
1239
+ "type": "string"
1240
+ }
1241
+ },
1242
+ "required": [
1243
+ "linkCondition",
1244
+ "linkErupt"
1245
+ ],
1246
+ "additionalProperties": false
1247
+ },
1248
+ "LinkTree": {
1249
+ "type": "object",
1250
+ "properties": {
1251
+ "dependNode": {
1252
+ "type": "boolean",
1253
+ "default": false
1254
+ },
1255
+ "field": {
1256
+ "type": "string"
1257
+ }
1258
+ },
1259
+ "required": [
1260
+ "dependNode",
1261
+ "field"
1262
+ ],
1263
+ "additionalProperties": false
1264
+ },
1265
+ "MapView": {
1266
+ "type": "object",
1267
+ "properties": {
1268
+ "cluster": {
1269
+ "type": "boolean",
1270
+ "default": true
1271
+ },
1272
+ "colorField": {
1273
+ "type": "string",
1274
+ "default": ""
1275
+ },
1276
+ "latField": {
1277
+ "type": "string",
1278
+ "default": ""
1279
+ },
1280
+ "lngField": {
1281
+ "type": "string",
1282
+ "default": ""
1283
+ },
1284
+ "locationField": {
1285
+ "type": "string",
1286
+ "default": ""
1287
+ }
1288
+ },
1289
+ "required": [
1290
+ "cluster",
1291
+ "colorField",
1292
+ "latField",
1293
+ "lngField",
1294
+ "locationField"
1295
+ ],
1296
+ "additionalProperties": false
1297
+ },
1298
+ "MultiChoiceType": {
1299
+ "type": "object",
1300
+ "properties": {
1301
+ "dependField": {
1302
+ "type": "string",
1303
+ "default": ""
1304
+ },
1305
+ "fetchHandler": {
1306
+ "type": "array",
1307
+ "items": {
1308
+ "type": "string"
1309
+ },
1310
+ "default": []
1311
+ },
1312
+ "type": {
1313
+ "$ref": "#/$defs/MultiChoiceTypeType",
1314
+ "default": "CHECKBOX"
1315
+ },
1316
+ "validate": {
1317
+ "type": "boolean",
1318
+ "default": true
1319
+ }
1320
+ },
1321
+ "required": [
1322
+ "dependField",
1323
+ "fetchHandler",
1324
+ "type",
1325
+ "validate"
1326
+ ],
1327
+ "additionalProperties": false
1328
+ },
1329
+ "MultiChoiceTypeType": {
1330
+ "type": "string",
1331
+ "enum": [
1332
+ "SELECT",
1333
+ "CHECKBOX",
1334
+ "TRANSFER"
1335
+ ]
1336
+ },
1337
+ "NumberType": {
1338
+ "type": "object",
1339
+ "properties": {
1340
+ "max": {
1341
+ "type": "integer",
1342
+ "default": 2147483647
1343
+ },
1344
+ "min": {
1345
+ "type": "integer",
1346
+ "default": -2147483647
1347
+ },
1348
+ "precision": {
1349
+ "type": "integer",
1350
+ "default": -1
1351
+ },
1352
+ "prefix": {
1353
+ "type": "string",
1354
+ "default": ""
1355
+ },
1356
+ "step": {
1357
+ "type": "number",
1358
+ "default": 1.0
1359
+ },
1360
+ "suffix": {
1361
+ "type": "string",
1362
+ "default": ""
1363
+ },
1364
+ "thousandsSeparator": {
1365
+ "type": "boolean",
1366
+ "default": false
1367
+ }
1368
+ },
1369
+ "required": [
1370
+ "max",
1371
+ "min",
1372
+ "precision",
1373
+ "prefix",
1374
+ "step",
1375
+ "suffix",
1376
+ "thousandsSeparator"
1377
+ ],
1378
+ "additionalProperties": false
1379
+ },
1380
+ "OpenWay": {
1381
+ "type": "string",
1382
+ "enum": [
1383
+ "DRAWER",
1384
+ "MODAL",
1385
+ "ROUTER"
1386
+ ]
1387
+ },
1388
+ "PageEmbedType": {
1389
+ "type": "string",
1390
+ "enum": [
1391
+ "IFRAME",
1392
+ "MICRO_FRONTEND"
1393
+ ]
1394
+ },
1395
+ "Placement": {
1396
+ "type": "string",
1397
+ "enum": [
1398
+ "TOP",
1399
+ "BOTTOM",
1400
+ "LEFT",
1401
+ "RIGHT"
1402
+ ]
1403
+ },
1404
+ "QueryExpression": {
1405
+ "type": "string",
1406
+ "enum": [
1407
+ "AUTO",
1408
+ "EQ",
1409
+ "NEQ",
1410
+ "GT",
1411
+ "GTE",
1412
+ "LT",
1413
+ "LTE",
1414
+ "LIKE",
1415
+ "NOT_LIKE",
1416
+ "RANGE",
1417
+ "IN",
1418
+ "NOT_IN",
1419
+ "NULL",
1420
+ "NOT_NULL"
1421
+ ]
1422
+ },
1423
+ "RateType": {
1424
+ "type": "object",
1425
+ "properties": {
1426
+ "allowHalf": {
1427
+ "type": "boolean",
1428
+ "default": false
1429
+ },
1430
+ "character": {
1431
+ "type": "string",
1432
+ "default": ""
1433
+ },
1434
+ "count": {
1435
+ "type": "integer",
1436
+ "default": 5
1437
+ }
1438
+ },
1439
+ "required": [
1440
+ "allowHalf",
1441
+ "character",
1442
+ "count"
1443
+ ],
1444
+ "additionalProperties": false
1445
+ },
1446
+ "Readonly": {
1447
+ "type": "object",
1448
+ "properties": {
1449
+ "add": {
1450
+ "type": "boolean",
1451
+ "default": true
1452
+ },
1453
+ "allowChange": {
1454
+ "type": "boolean",
1455
+ "default": true
1456
+ },
1457
+ "edit": {
1458
+ "type": "boolean",
1459
+ "default": true
1460
+ }
1461
+ },
1462
+ "required": [
1463
+ "add",
1464
+ "allowChange",
1465
+ "edit"
1466
+ ],
1467
+ "additionalProperties": false
1468
+ },
1469
+ "ReferenceTableType": {
1470
+ "type": "object",
1471
+ "properties": {
1472
+ "dependField": {
1473
+ "type": "string",
1474
+ "default": ""
1475
+ },
1476
+ "id": {
1477
+ "type": "string",
1478
+ "default": "id"
1479
+ },
1480
+ "label": {
1481
+ "type": "string",
1482
+ "default": "name"
1483
+ }
1484
+ },
1485
+ "required": [
1486
+ "dependField",
1487
+ "id",
1488
+ "label"
1489
+ ],
1490
+ "additionalProperties": false
1491
+ },
1492
+ "ReferenceTreeType": {
1493
+ "type": "object",
1494
+ "properties": {
1495
+ "dependField": {
1496
+ "type": "string",
1497
+ "default": ""
1498
+ },
1499
+ "expandLevel": {
1500
+ "type": "integer",
1501
+ "default": 999
1502
+ },
1503
+ "id": {
1504
+ "type": "string",
1505
+ "default": "id"
1506
+ },
1507
+ "label": {
1508
+ "type": "string",
1509
+ "default": "name"
1510
+ },
1511
+ "pid": {
1512
+ "type": "string",
1513
+ "default": ""
1514
+ },
1515
+ "rootPid": {
1516
+ "$ref": "#/$defs/Expr"
1517
+ }
1518
+ },
1519
+ "required": [
1520
+ "dependField",
1521
+ "expandLevel",
1522
+ "id",
1523
+ "label",
1524
+ "pid",
1525
+ "rootPid"
1526
+ ],
1527
+ "additionalProperties": false
1528
+ },
1529
+ "RowOperation": {
1530
+ "type": "object",
1531
+ "properties": {
1532
+ "callHint": {
1533
+ "type": "string",
1534
+ "default": "erupt.operation.call_hint"
1535
+ },
1536
+ "code": {
1537
+ "type": "string",
1538
+ "default": ""
1539
+ },
1540
+ "eruptClass": {
1541
+ "type": "string",
1542
+ "default": "void"
1543
+ },
1544
+ "fold": {
1545
+ "type": "boolean",
1546
+ "default": false
1547
+ },
1548
+ "icon": {
1549
+ "type": "string",
1550
+ "default": "fa fa-dot-circle-o"
1551
+ },
1552
+ "ifExpr": {
1553
+ "type": "string",
1554
+ "default": ""
1555
+ },
1556
+ "ifExprBehavior": {
1557
+ "$ref": "#/$defs/RowOperationIfExprBehavior",
1558
+ "default": "DISABLE"
1559
+ },
1560
+ "mode": {
1561
+ "$ref": "#/$defs/RowOperationMode",
1562
+ "default": "MULTI"
1563
+ },
1564
+ "tip": {
1565
+ "type": "string",
1566
+ "default": ""
1567
+ },
1568
+ "title": {
1569
+ "type": "string"
1570
+ },
1571
+ "tpl": {
1572
+ "$ref": "#/$defs/Tpl"
1573
+ },
1574
+ "type": {
1575
+ "$ref": "#/$defs/RowOperationType",
1576
+ "default": "ERUPT"
1577
+ }
1578
+ },
1579
+ "required": [
1580
+ "callHint",
1581
+ "code",
1582
+ "eruptClass",
1583
+ "fold",
1584
+ "icon",
1585
+ "ifExpr",
1586
+ "ifExprBehavior",
1587
+ "mode",
1588
+ "tip",
1589
+ "title",
1590
+ "tpl",
1591
+ "type"
1592
+ ],
1593
+ "additionalProperties": false
1594
+ },
1595
+ "RowOperationIfExprBehavior": {
1596
+ "type": "string",
1597
+ "enum": [
1598
+ "HIDE",
1599
+ "DISABLE"
1600
+ ]
1601
+ },
1602
+ "RowOperationMode": {
1603
+ "type": "string",
1604
+ "enum": [
1605
+ "SINGLE",
1606
+ "MULTI",
1607
+ "MULTI_ONLY",
1608
+ "BUTTON"
1609
+ ]
1610
+ },
1611
+ "RowOperationType": {
1612
+ "type": "string",
1613
+ "enum": [
1614
+ "ERUPT",
1615
+ "TPL"
1616
+ ]
1617
+ },
1618
+ "Search": {
1619
+ "type": "object",
1620
+ "properties": {
1621
+ "lockOperator": {
1622
+ "type": "boolean",
1623
+ "default": false
1624
+ },
1625
+ "notNull": {
1626
+ "type": "boolean",
1627
+ "default": false
1628
+ },
1629
+ "operator": {
1630
+ "$ref": "#/$defs/QueryExpression",
1631
+ "default": "AUTO"
1632
+ },
1633
+ "value": {
1634
+ "type": "boolean",
1635
+ "default": true
1636
+ }
1637
+ },
1638
+ "required": [
1639
+ "lockOperator",
1640
+ "notNull",
1641
+ "operator",
1642
+ "value"
1643
+ ],
1644
+ "additionalProperties": false
1645
+ },
1646
+ "SliderType": {
1647
+ "type": "object",
1648
+ "properties": {
1649
+ "dots": {
1650
+ "type": "boolean",
1651
+ "default": false
1652
+ },
1653
+ "markPoints": {
1654
+ "type": "array",
1655
+ "items": {
1656
+ "type": "number"
1657
+ },
1658
+ "default": []
1659
+ },
1660
+ "max": {
1661
+ "type": "integer"
1662
+ },
1663
+ "min": {
1664
+ "type": "integer",
1665
+ "default": 0
1666
+ },
1667
+ "step": {
1668
+ "type": "number",
1669
+ "default": 1.0
1670
+ }
1671
+ },
1672
+ "required": [
1673
+ "dots",
1674
+ "markPoints",
1675
+ "max",
1676
+ "min",
1677
+ "step"
1678
+ ],
1679
+ "additionalProperties": false
1680
+ },
1681
+ "TableView": {
1682
+ "type": "object",
1683
+ "properties": {
1684
+ "collapsed": {
1685
+ "type": "boolean",
1686
+ "default": false
1687
+ },
1688
+ "groupField": {
1689
+ "type": "string",
1690
+ "default": ""
1691
+ }
1692
+ },
1693
+ "required": [
1694
+ "collapsed",
1695
+ "groupField"
1696
+ ],
1697
+ "additionalProperties": false
1698
+ },
1699
+ "TagsType": {
1700
+ "type": "object",
1701
+ "properties": {
1702
+ "allowExtension": {
1703
+ "type": "boolean",
1704
+ "default": true
1705
+ },
1706
+ "fetchHandler": {
1707
+ "type": "array",
1708
+ "items": {
1709
+ "type": "string"
1710
+ },
1711
+ "default": []
1712
+ },
1713
+ "joinSeparator": {
1714
+ "type": "string",
1715
+ "default": "[]"
1716
+ },
1717
+ "maxTagCount": {
1718
+ "type": "integer",
1719
+ "default": 9999
1720
+ },
1721
+ "tags": {
1722
+ "type": "array",
1723
+ "items": {
1724
+ "type": "string"
1725
+ },
1726
+ "default": []
1727
+ }
1728
+ },
1729
+ "required": [
1730
+ "allowExtension",
1731
+ "fetchHandler",
1732
+ "joinSeparator",
1733
+ "maxTagCount",
1734
+ "tags"
1735
+ ],
1736
+ "additionalProperties": false
1737
+ },
1738
+ "TextareaType": {
1739
+ "type": "object",
1740
+ "properties": {
1741
+ "length": {
1742
+ "type": "integer",
1743
+ "default": 2147483647
1744
+ },
1745
+ "maxRows": {
1746
+ "type": "integer",
1747
+ "default": 20
1748
+ },
1749
+ "mentionFetchHandler": {
1750
+ "type": "array",
1751
+ "items": {
1752
+ "type": "string"
1753
+ },
1754
+ "default": []
1755
+ },
1756
+ "mentionPrefix": {
1757
+ "type": "array",
1758
+ "items": {
1759
+ "type": "string"
1760
+ },
1761
+ "default": []
1762
+ },
1763
+ "minRows": {
1764
+ "type": "integer",
1765
+ "default": 3
1766
+ }
1767
+ },
1768
+ "required": [
1769
+ "length",
1770
+ "maxRows",
1771
+ "mentionFetchHandler",
1772
+ "mentionPrefix",
1773
+ "minRows"
1774
+ ],
1775
+ "additionalProperties": false
1776
+ },
1777
+ "TimelineView": {
1778
+ "type": "object",
1779
+ "properties": {
1780
+ "colorField": {
1781
+ "type": "string",
1782
+ "default": ""
1783
+ },
1784
+ "dateField": {
1785
+ "type": "string"
1786
+ },
1787
+ "descending": {
1788
+ "type": "boolean",
1789
+ "default": true
1790
+ },
1791
+ "mode": {
1792
+ "$ref": "#/$defs/TimelineViewMode",
1793
+ "default": "LEFT"
1794
+ }
1795
+ },
1796
+ "required": [
1797
+ "colorField",
1798
+ "dateField",
1799
+ "descending",
1800
+ "mode"
1801
+ ],
1802
+ "additionalProperties": false
1803
+ },
1804
+ "TimelineViewMode": {
1805
+ "type": "string",
1806
+ "enum": [
1807
+ "LEFT",
1808
+ "ALTERNATE",
1809
+ "RIGHT"
1810
+ ]
1811
+ },
1812
+ "Tpl": {
1813
+ "type": "object",
1814
+ "properties": {
1815
+ "drawerPlacement": {
1816
+ "$ref": "#/$defs/Placement",
1817
+ "default": "RIGHT"
1818
+ },
1819
+ "embedType": {
1820
+ "$ref": "#/$defs/PageEmbedType",
1821
+ "default": "IFRAME"
1822
+ },
1823
+ "enable": {
1824
+ "type": "boolean",
1825
+ "default": true
1826
+ },
1827
+ "height": {
1828
+ "type": "string",
1829
+ "default": ""
1830
+ },
1831
+ "openWay": {
1832
+ "$ref": "#/$defs/OpenWay",
1833
+ "default": "MODAL"
1834
+ },
1835
+ "path": {
1836
+ "type": "string"
1837
+ },
1838
+ "width": {
1839
+ "type": "string",
1840
+ "default": ""
1841
+ }
1842
+ },
1843
+ "required": [
1844
+ "drawerPlacement",
1845
+ "embedType",
1846
+ "enable",
1847
+ "height",
1848
+ "openWay",
1849
+ "path",
1850
+ "width"
1851
+ ],
1852
+ "additionalProperties": false
1853
+ },
1854
+ "Tree": {
1855
+ "type": "object",
1856
+ "properties": {
1857
+ "expandLevel": {
1858
+ "type": "integer",
1859
+ "default": 999
1860
+ },
1861
+ "id": {
1862
+ "type": "string",
1863
+ "default": "id"
1864
+ },
1865
+ "label": {
1866
+ "type": "string",
1867
+ "default": "name"
1868
+ },
1869
+ "maxLevel": {
1870
+ "type": "integer",
1871
+ "default": 0
1872
+ },
1873
+ "pid": {
1874
+ "type": "string",
1875
+ "default": ""
1876
+ }
1877
+ },
1878
+ "required": [
1879
+ "expandLevel",
1880
+ "id",
1881
+ "label",
1882
+ "maxLevel",
1883
+ "pid"
1884
+ ],
1885
+ "additionalProperties": false
1886
+ },
1887
+ "VL": {
1888
+ "type": "object",
1889
+ "properties": {
1890
+ "color": {
1891
+ "type": "string",
1892
+ "default": ""
1893
+ },
1894
+ "desc": {
1895
+ "type": "string",
1896
+ "default": ""
1897
+ },
1898
+ "disable": {
1899
+ "type": "boolean",
1900
+ "default": false
1901
+ },
1902
+ "extra": {
1903
+ "type": "string",
1904
+ "default": ""
1905
+ },
1906
+ "label": {
1907
+ "type": "string"
1908
+ },
1909
+ "value": {
1910
+ "type": "string"
1911
+ }
1912
+ },
1913
+ "required": [
1914
+ "color",
1915
+ "desc",
1916
+ "disable",
1917
+ "extra",
1918
+ "label",
1919
+ "value"
1920
+ ],
1921
+ "additionalProperties": false
1922
+ },
1923
+ "View": {
1924
+ "type": "object",
1925
+ "properties": {
1926
+ "className": {
1927
+ "type": "string",
1928
+ "default": ""
1929
+ },
1930
+ "column": {
1931
+ "type": "string",
1932
+ "default": ""
1933
+ },
1934
+ "desc": {
1935
+ "type": "string",
1936
+ "default": ""
1937
+ },
1938
+ "export": {
1939
+ "type": "boolean",
1940
+ "default": true
1941
+ },
1942
+ "group": {
1943
+ "type": "string",
1944
+ "default": ""
1945
+ },
1946
+ "show": {
1947
+ "type": "boolean",
1948
+ "default": true
1949
+ },
1950
+ "sortable": {
1951
+ "type": "boolean",
1952
+ "default": false
1953
+ },
1954
+ "statistic": {
1955
+ "$ref": "#/$defs/ViewStatistic",
1956
+ "default": "NONE"
1957
+ },
1958
+ "template": {
1959
+ "type": "string",
1960
+ "default": ""
1961
+ },
1962
+ "title": {
1963
+ "type": "string"
1964
+ },
1965
+ "tpl": {
1966
+ "$ref": "#/$defs/Tpl"
1967
+ },
1968
+ "type": {
1969
+ "$ref": "#/$defs/ViewType",
1970
+ "default": "AUTO"
1971
+ },
1972
+ "width": {
1973
+ "type": "string",
1974
+ "default": ""
1975
+ }
1976
+ },
1977
+ "required": [
1978
+ "className",
1979
+ "column",
1980
+ "desc",
1981
+ "export",
1982
+ "group",
1983
+ "show",
1984
+ "sortable",
1985
+ "statistic",
1986
+ "template",
1987
+ "title",
1988
+ "tpl",
1989
+ "type",
1990
+ "width"
1991
+ ],
1992
+ "additionalProperties": false
1993
+ },
1994
+ "ViewStatistic": {
1995
+ "type": "string",
1996
+ "enum": [
1997
+ "NONE",
1998
+ "COUNT",
1999
+ "DISTINCT_COUNT",
2000
+ "SUM",
2001
+ "AVG",
2002
+ "MAX",
2003
+ "MIN"
2004
+ ]
2005
+ },
2006
+ "ViewType": {
2007
+ "type": "string",
2008
+ "enum": [
2009
+ "AUTO",
2010
+ "TEXT",
2011
+ "COLOR",
2012
+ "ICON",
2013
+ "KEY_VALUE",
2014
+ "SAFE_TEXT",
2015
+ "IMAGE",
2016
+ "AVATAR",
2017
+ "IMAGE_BASE64",
2018
+ "SWF",
2019
+ "HTML",
2020
+ "MOBILE_HTML",
2021
+ "QR_CODE",
2022
+ "LINK",
2023
+ "LINK_DIALOG",
2024
+ "DOWNLOAD",
2025
+ "ATTACHMENT",
2026
+ "ATTACHMENT_DIALOG",
2027
+ "DATE",
2028
+ "DATE_TIME",
2029
+ "BOOLEAN",
2030
+ "NUMBER",
2031
+ "PROGRESS",
2032
+ "MAP",
2033
+ "CODE",
2034
+ "TAB_VIEW",
2035
+ "MARKDOWN",
2036
+ "PASSWORD"
2037
+ ]
2038
+ },
2039
+ "Vis": {
2040
+ "type": "object",
2041
+ "properties": {
2042
+ "boardView": {
2043
+ "$ref": "#/$defs/BoardView",
2044
+ "x-erupt-match": "#item.type().toString() == 'BOARD'"
2045
+ },
2046
+ "calendarView": {
2047
+ "$ref": "#/$defs/CalendarView",
2048
+ "x-erupt-match": "#item.type().toString() == 'CALENDAR'"
2049
+ },
2050
+ "cardView": {
2051
+ "$ref": "#/$defs/CardView",
2052
+ "x-erupt-match": "#item.type().toString() == 'CARD'"
2053
+ },
2054
+ "code": {
2055
+ "type": "string",
2056
+ "default": ""
2057
+ },
2058
+ "cubeView": {
2059
+ "$ref": "#/$defs/CubeView",
2060
+ "x-erupt-match": "#item.type().toString() == 'CUBE'"
2061
+ },
2062
+ "desc": {
2063
+ "type": "string",
2064
+ "default": ""
2065
+ },
2066
+ "fieldVisibility": {
2067
+ "$ref": "#/$defs/VisFieldVisibility",
2068
+ "default": "EXCLUDE"
2069
+ },
2070
+ "fields": {
2071
+ "type": "array",
2072
+ "items": {
2073
+ "type": "string"
2074
+ },
2075
+ "default": []
2076
+ },
2077
+ "ganttView": {
2078
+ "$ref": "#/$defs/GanttView",
2079
+ "x-erupt-match": "#item.type().toString() == 'GANTT'"
2080
+ },
2081
+ "mapView": {
2082
+ "$ref": "#/$defs/MapView",
2083
+ "x-erupt-match": "#item.type().toString() == 'MAP'"
2084
+ },
2085
+ "tableView": {
2086
+ "$ref": "#/$defs/TableView",
2087
+ "x-erupt-match": "#item.type().toString() == 'TABLE'"
2088
+ },
2089
+ "timelineView": {
2090
+ "$ref": "#/$defs/TimelineView",
2091
+ "x-erupt-match": "#item.type().toString() == 'TIMELINE'"
2092
+ },
2093
+ "title": {
2094
+ "type": "string"
2095
+ },
2096
+ "tplView": {
2097
+ "$ref": "#/$defs/Tpl",
2098
+ "x-erupt-match": "#item.type().toString() == 'TPL'"
2099
+ },
2100
+ "type": {
2101
+ "$ref": "#/$defs/VisType",
2102
+ "default": "TABLE"
2103
+ }
2104
+ },
2105
+ "required": [
2106
+ "code",
2107
+ "desc",
2108
+ "fieldVisibility",
2109
+ "fields",
2110
+ "title",
2111
+ "type"
2112
+ ],
2113
+ "additionalProperties": false
2114
+ },
2115
+ "VisFieldVisibility": {
2116
+ "type": "string",
2117
+ "enum": [
2118
+ "INCLUDE",
2119
+ "EXCLUDE"
2120
+ ]
2121
+ },
2122
+ "VisType": {
2123
+ "type": "string",
2124
+ "enum": [
2125
+ "TABLE",
2126
+ "GANTT",
2127
+ "CARD",
2128
+ "BOARD",
2129
+ "CALENDAR",
2130
+ "TIMELINE",
2131
+ "MAP",
2132
+ "CUBE",
2133
+ "TPL"
2134
+ ]
2135
+ }
2136
+ }
2137
+ }