@byteluck-fe/model-driven-controls 7.0.0-props.36 → 7.0.0-props.38

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,1001 @@
1
+ {
2
+ "name": "rok_tag",
3
+ "description": "标签组件,参考 ant-design-vue 标签能力。支持标签/文本两种展示形式、样式主题、尺寸、字体风格和对齐方式配置,适合状态展示与轻量信息标记场景。",
4
+ "parameters": {
5
+ "type": "object",
6
+ "properties": {
7
+ "isHide": {
8
+ "type": "boolean",
9
+ "description": "是否隐藏",
10
+ "default": false
11
+ },
12
+ "caption": {
13
+ "type": "string",
14
+ "description": "标题",
15
+ "default": ""
16
+ },
17
+ "defaultState": {
18
+ "type": "string",
19
+ "enum": [
20
+ "default",
21
+ "readonly"
22
+ ],
23
+ "description": "默认状态",
24
+ "default": "default",
25
+ "enumDescription": [
26
+ "default",
27
+ "readonly"
28
+ ]
29
+ },
30
+ "captionSize": {
31
+ "type": "string",
32
+ "description": "标题大小",
33
+ "default": ""
34
+ },
35
+ "captionColor": {
36
+ "type": "string",
37
+ "description": "标题颜色",
38
+ "default": ""
39
+ },
40
+ "isCaptionItalic": {
41
+ "type": "boolean",
42
+ "description": "标题斜体",
43
+ "default": false
44
+ },
45
+ "isHideCaption": {
46
+ "type": "boolean",
47
+ "description": "隐藏标题",
48
+ "default": false
49
+ },
50
+ "isShowCaptionTip": {
51
+ "type": "boolean",
52
+ "description": "显示气泡提示",
53
+ "default": false
54
+ },
55
+ "captionTip": {
56
+ "type": "string",
57
+ "description": "气泡提示语",
58
+ "default": ""
59
+ },
60
+ "labelPosition": {
61
+ "type": "string",
62
+ "enum": [
63
+ "top",
64
+ "left"
65
+ ],
66
+ "description": "标题布局",
67
+ "default": "",
68
+ "enumDescription": [
69
+ "top",
70
+ "left"
71
+ ]
72
+ },
73
+ "dataBind": {
74
+ "anyOf": [
75
+ {
76
+ "type": "object",
77
+ "properties": {
78
+ "dataCode": {
79
+ "type": "string",
80
+ "description": "数据模型编码",
81
+ "default": ""
82
+ },
83
+ "fieldCode": {
84
+ "type": "string",
85
+ "description": "字段编码",
86
+ "default": ""
87
+ },
88
+ "fieldType": {
89
+ "type": "string",
90
+ "description": "字段类型",
91
+ "default": ""
92
+ },
93
+ "aliasCode": {
94
+ "type": "string",
95
+ "description": "表别名"
96
+ }
97
+ }
98
+ },
99
+ {
100
+ "type": "object",
101
+ "additionalProperties": {
102
+ "type": "object",
103
+ "properties": {
104
+ "dataCode": {
105
+ "type": "string",
106
+ "description": "数据模型编码",
107
+ "default": ""
108
+ },
109
+ "fieldCode": {
110
+ "type": "string",
111
+ "description": "字段编码",
112
+ "default": ""
113
+ },
114
+ "fieldType": {
115
+ "type": "string",
116
+ "description": "字段类型",
117
+ "default": ""
118
+ },
119
+ "aliasCode": {
120
+ "type": "string",
121
+ "description": "表别名"
122
+ }
123
+ }
124
+ }
125
+ }
126
+ ],
127
+ "description": "绑定数据项"
128
+ },
129
+ "defaultValue": {
130
+ "type": "array",
131
+ "items": {
132
+ "type": "string"
133
+ },
134
+ "description": "默认值",
135
+ "default": []
136
+ },
137
+ "placeholder": {
138
+ "type": "string",
139
+ "description": "提示文字",
140
+ "default": ""
141
+ },
142
+ "required": {
143
+ "type": "boolean",
144
+ "description": "必填",
145
+ "default": false
146
+ },
147
+ "requiredMessage": {
148
+ "type": "string",
149
+ "description": "必填提示文案",
150
+ "default": ""
151
+ },
152
+ "displayType": {
153
+ "type": "string",
154
+ "enum": [
155
+ "tag",
156
+ "text"
157
+ ],
158
+ "description": "展示形式;",
159
+ "default": "tag",
160
+ "enumDescription": [
161
+ "标签",
162
+ "文本"
163
+ ]
164
+ },
165
+ "tagStyle": {
166
+ "type": "string",
167
+ "enum": [
168
+ "default",
169
+ "success",
170
+ "processing",
171
+ "error",
172
+ "warning"
173
+ ],
174
+ "description": "标签样式;",
175
+ "default": "default",
176
+ "enumDescription": [
177
+ "默认",
178
+ "成功",
179
+ "处理中",
180
+ "错误",
181
+ "警告"
182
+ ]
183
+ },
184
+ "size": {
185
+ "type": "string",
186
+ "enum": [
187
+ "large",
188
+ "middle",
189
+ "small"
190
+ ],
191
+ "description": "标签尺寸;",
192
+ "default": "middle",
193
+ "enumDescription": [
194
+ "大",
195
+ "中",
196
+ "小"
197
+ ]
198
+ },
199
+ "align": {
200
+ "type": "string",
201
+ "enum": [
202
+ "left",
203
+ "center",
204
+ "right"
205
+ ],
206
+ "description": "位置;",
207
+ "default": "left",
208
+ "enumDescription": [
209
+ "居左",
210
+ "居中",
211
+ "居右"
212
+ ]
213
+ },
214
+ "optionConfig": {
215
+ "type": "string",
216
+ "enum": [
217
+ "custom",
218
+ "datasource"
219
+ ],
220
+ "description": "选项配置方式;",
221
+ "default": "custom",
222
+ "enumDescription": [
223
+ "自定义",
224
+ "数据源"
225
+ ]
226
+ },
227
+ "datasourceBind": {
228
+ "type": "object",
229
+ "properties": {
230
+ "dataCode": {
231
+ "type": "string",
232
+ "description": "绑定数据源id",
233
+ "default": ""
234
+ },
235
+ "valueFieldCode": {
236
+ "type": "string",
237
+ "description": "存储值",
238
+ "default": ""
239
+ },
240
+ "displayBoList": {
241
+ "type": "array",
242
+ "items": {
243
+ "type": "object",
244
+ "properties": {
245
+ "type": {
246
+ "type": "string",
247
+ "enum": [
248
+ "FIELD",
249
+ "MOSAICS"
250
+ ],
251
+ "description": "显示项类型:字段 | 符号",
252
+ "default": "FIELD",
253
+ "enumDescription": [
254
+ "FIELD",
255
+ "MOSAICS"
256
+ ]
257
+ },
258
+ "value": {
259
+ "type": "string",
260
+ "description": "值"
261
+ },
262
+ "fieldType": {
263
+ "type": "string",
264
+ "description": "字段数据类型"
265
+ }
266
+ }
267
+ },
268
+ "description": "显示值",
269
+ "default": []
270
+ },
271
+ "keywordMapping": {
272
+ "type": "string",
273
+ "description": "查询关键字参数映射",
274
+ "default": ""
275
+ },
276
+ "svcCode": {
277
+ "type": "string",
278
+ "description": "绑定服务",
279
+ "default": ""
280
+ },
281
+ "appId": {
282
+ "type": "string",
283
+ "description": "应用Id",
284
+ "default": ""
285
+ },
286
+ "filters": {
287
+ "type": "array",
288
+ "items": {
289
+ "anyOf": [
290
+ {
291
+ "type": "object",
292
+ "properties": {
293
+ "id": {
294
+ "type": "string",
295
+ "description": "唯一编号",
296
+ "default": ""
297
+ },
298
+ "ruleId": {
299
+ "type": "integer",
300
+ "description": "规则编号",
301
+ "default": "Timestamp"
302
+ },
303
+ "type": {
304
+ "type": "string",
305
+ "description": "类型",
306
+ "default": "condition"
307
+ },
308
+ "symbol": {
309
+ "type": "string",
310
+ "description": "符号"
311
+ },
312
+ "checked": {
313
+ "type": "boolean"
314
+ },
315
+ "describe": {
316
+ "type": "string"
317
+ },
318
+ "leftVariableBo": {
319
+ "type": "object",
320
+ "properties": {
321
+ "type": {
322
+ "type": "string",
323
+ "enum": [
324
+ "varchar",
325
+ "text",
326
+ "array",
327
+ "location",
328
+ "decimal",
329
+ "decimal_range",
330
+ "timestamp",
331
+ "people",
332
+ "department",
333
+ "money",
334
+ "timescope",
335
+ "file",
336
+ "image",
337
+ "auto_number",
338
+ "calc",
339
+ "list",
340
+ "json",
341
+ "ANY"
342
+ ],
343
+ "description": "",
344
+ "enumDescription": [
345
+ "varchar",
346
+ "text",
347
+ "array",
348
+ "location",
349
+ "decimal",
350
+ "decimal_range",
351
+ "timestamp",
352
+ "people",
353
+ "department",
354
+ "money",
355
+ "timescope",
356
+ "file",
357
+ "image",
358
+ "auto_number",
359
+ "calc",
360
+ "list",
361
+ "json",
362
+ "ANY"
363
+ ]
364
+ },
365
+ "value": {
366
+ "type": "string"
367
+ },
368
+ "dataCode": {
369
+ "type": "string"
370
+ }
371
+ },
372
+ "description": "左值"
373
+ },
374
+ "rightVariableBo": {
375
+ "type": "object",
376
+ "properties": {
377
+ "type": {
378
+ "type": "string",
379
+ "enum": [
380
+ "custom",
381
+ "form",
382
+ "system",
383
+ "gv"
384
+ ],
385
+ "description": "",
386
+ "enumDescription": [
387
+ "custom",
388
+ "form",
389
+ "system",
390
+ "gv"
391
+ ]
392
+ },
393
+ "value": {
394
+ "type": "array",
395
+ "items": {
396
+ "type": "string"
397
+ }
398
+ },
399
+ "displayBos": {
400
+ "type": "array",
401
+ "items": {
402
+ "type": "object",
403
+ "additionalProperties": {}
404
+ }
405
+ }
406
+ },
407
+ "description": "右值"
408
+ }
409
+ }
410
+ },
411
+ {
412
+ "type": "object",
413
+ "properties": {
414
+ "id": {
415
+ "type": "string",
416
+ "description": "编号",
417
+ "default": ""
418
+ },
419
+ "ruleId": {
420
+ "type": "integer",
421
+ "description": "规则编号",
422
+ "default": "Timestamp"
423
+ },
424
+ "type": {
425
+ "type": "string",
426
+ "description": "类型:连接符条件",
427
+ "default": "conditions"
428
+ },
429
+ "level": {
430
+ "type": "integer",
431
+ "description": "深度",
432
+ "default": 0
433
+ },
434
+ "value": {
435
+ "type": "string",
436
+ "enum": [
437
+ "and",
438
+ "or"
439
+ ],
440
+ "description": "连接符值",
441
+ "default": "and",
442
+ "enumDescription": [
443
+ "and",
444
+ "or"
445
+ ]
446
+ },
447
+ "children": {
448
+ "type": "array",
449
+ "items": {
450
+ "anyOf": [
451
+ {
452
+ "type": "object",
453
+ "properties": {
454
+ "id": {
455
+ "type": "string",
456
+ "description": "唯一编号",
457
+ "default": ""
458
+ },
459
+ "ruleId": {
460
+ "type": "integer",
461
+ "description": "规则编号",
462
+ "default": "Timestamp"
463
+ },
464
+ "type": {
465
+ "type": "string",
466
+ "description": "类型",
467
+ "default": "condition"
468
+ },
469
+ "symbol": {
470
+ "type": "string",
471
+ "description": "符号"
472
+ },
473
+ "checked": {
474
+ "type": "boolean"
475
+ },
476
+ "describe": {
477
+ "type": "string"
478
+ },
479
+ "leftVariableBo": {
480
+ "type": "object",
481
+ "properties": {
482
+ "type": {
483
+ "type": "string",
484
+ "enum": [
485
+ "varchar",
486
+ "text",
487
+ "array",
488
+ "location",
489
+ "decimal",
490
+ "decimal_range",
491
+ "timestamp",
492
+ "people",
493
+ "department",
494
+ "money",
495
+ "timescope",
496
+ "file",
497
+ "image",
498
+ "auto_number",
499
+ "calc",
500
+ "list",
501
+ "json",
502
+ "ANY"
503
+ ],
504
+ "description": "",
505
+ "enumDescription": [
506
+ "varchar",
507
+ "text",
508
+ "array",
509
+ "location",
510
+ "decimal",
511
+ "decimal_range",
512
+ "timestamp",
513
+ "people",
514
+ "department",
515
+ "money",
516
+ "timescope",
517
+ "file",
518
+ "image",
519
+ "auto_number",
520
+ "calc",
521
+ "list",
522
+ "json",
523
+ "ANY"
524
+ ]
525
+ },
526
+ "value": {
527
+ "type": "string"
528
+ },
529
+ "dataCode": {
530
+ "type": "string"
531
+ }
532
+ },
533
+ "description": "左值"
534
+ },
535
+ "rightVariableBo": {
536
+ "type": "object",
537
+ "properties": {
538
+ "type": {
539
+ "type": "string",
540
+ "enum": [
541
+ "custom",
542
+ "form",
543
+ "system",
544
+ "gv"
545
+ ],
546
+ "description": "",
547
+ "enumDescription": [
548
+ "custom",
549
+ "form",
550
+ "system",
551
+ "gv"
552
+ ]
553
+ },
554
+ "value": {
555
+ "type": "array",
556
+ "items": {
557
+ "type": "string"
558
+ }
559
+ },
560
+ "displayBos": {
561
+ "type": "array",
562
+ "items": {
563
+ "type": "object",
564
+ "additionalProperties": {}
565
+ }
566
+ }
567
+ },
568
+ "description": "右值"
569
+ }
570
+ }
571
+ },
572
+ {
573
+ "type": "object"
574
+ }
575
+ ]
576
+ },
577
+ "description": "包含子项",
578
+ "default": []
579
+ }
580
+ }
581
+ }
582
+ ]
583
+ },
584
+ "description": "过滤条件",
585
+ "default": []
586
+ },
587
+ "viewFilters": {
588
+ "type": "array",
589
+ "items": {
590
+ "anyOf": [
591
+ {
592
+ "type": "object",
593
+ "properties": {
594
+ "id": {
595
+ "type": "string",
596
+ "description": "唯一编号",
597
+ "default": ""
598
+ },
599
+ "ruleId": {
600
+ "type": "integer",
601
+ "description": "规则编号",
602
+ "default": "Timestamp"
603
+ },
604
+ "type": {
605
+ "type": "string",
606
+ "description": "类型",
607
+ "default": "condition"
608
+ },
609
+ "symbol": {
610
+ "type": "string",
611
+ "description": "符号"
612
+ },
613
+ "checked": {
614
+ "type": "boolean"
615
+ },
616
+ "describe": {
617
+ "type": "string"
618
+ },
619
+ "leftVariableBo": {
620
+ "type": "object",
621
+ "properties": {
622
+ "type": {
623
+ "type": "string",
624
+ "enum": [
625
+ "varchar",
626
+ "text",
627
+ "array",
628
+ "location",
629
+ "decimal",
630
+ "decimal_range",
631
+ "timestamp",
632
+ "people",
633
+ "department",
634
+ "money",
635
+ "timescope",
636
+ "file",
637
+ "image",
638
+ "auto_number",
639
+ "calc",
640
+ "list",
641
+ "json",
642
+ "ANY"
643
+ ],
644
+ "description": "",
645
+ "enumDescription": [
646
+ "varchar",
647
+ "text",
648
+ "array",
649
+ "location",
650
+ "decimal",
651
+ "decimal_range",
652
+ "timestamp",
653
+ "people",
654
+ "department",
655
+ "money",
656
+ "timescope",
657
+ "file",
658
+ "image",
659
+ "auto_number",
660
+ "calc",
661
+ "list",
662
+ "json",
663
+ "ANY"
664
+ ]
665
+ },
666
+ "value": {
667
+ "type": "string"
668
+ },
669
+ "dataCode": {
670
+ "type": "string"
671
+ }
672
+ },
673
+ "description": "左值"
674
+ },
675
+ "rightVariableBo": {
676
+ "type": "object",
677
+ "properties": {
678
+ "type": {
679
+ "type": "string",
680
+ "enum": [
681
+ "custom",
682
+ "form",
683
+ "system",
684
+ "gv"
685
+ ],
686
+ "description": "",
687
+ "enumDescription": [
688
+ "custom",
689
+ "form",
690
+ "system",
691
+ "gv"
692
+ ]
693
+ },
694
+ "value": {
695
+ "type": "array",
696
+ "items": {
697
+ "type": "string"
698
+ }
699
+ },
700
+ "displayBos": {
701
+ "type": "array",
702
+ "items": {
703
+ "type": "object",
704
+ "additionalProperties": {}
705
+ }
706
+ }
707
+ },
708
+ "description": "右值"
709
+ }
710
+ }
711
+ },
712
+ {
713
+ "type": "object",
714
+ "properties": {
715
+ "id": {
716
+ "type": "string",
717
+ "description": "编号",
718
+ "default": ""
719
+ },
720
+ "ruleId": {
721
+ "type": "integer",
722
+ "description": "规则编号",
723
+ "default": "Timestamp"
724
+ },
725
+ "type": {
726
+ "type": "string",
727
+ "description": "类型:连接符条件",
728
+ "default": "conditions"
729
+ },
730
+ "level": {
731
+ "type": "integer",
732
+ "description": "深度",
733
+ "default": 0
734
+ },
735
+ "value": {
736
+ "type": "string",
737
+ "enum": [
738
+ "and",
739
+ "or"
740
+ ],
741
+ "description": "连接符值",
742
+ "default": "and",
743
+ "enumDescription": [
744
+ "and",
745
+ "or"
746
+ ]
747
+ },
748
+ "children": {
749
+ "type": "array",
750
+ "items": {
751
+ "anyOf": [
752
+ {
753
+ "type": "object",
754
+ "properties": {
755
+ "id": {
756
+ "type": "string",
757
+ "description": "唯一编号",
758
+ "default": ""
759
+ },
760
+ "ruleId": {
761
+ "type": "integer",
762
+ "description": "规则编号",
763
+ "default": "Timestamp"
764
+ },
765
+ "type": {
766
+ "type": "string",
767
+ "description": "类型",
768
+ "default": "condition"
769
+ },
770
+ "symbol": {
771
+ "type": "string",
772
+ "description": "符号"
773
+ },
774
+ "checked": {
775
+ "type": "boolean"
776
+ },
777
+ "describe": {
778
+ "type": "string"
779
+ },
780
+ "leftVariableBo": {
781
+ "type": "object",
782
+ "properties": {
783
+ "type": {
784
+ "type": "string",
785
+ "enum": [
786
+ "varchar",
787
+ "text",
788
+ "array",
789
+ "location",
790
+ "decimal",
791
+ "decimal_range",
792
+ "timestamp",
793
+ "people",
794
+ "department",
795
+ "money",
796
+ "timescope",
797
+ "file",
798
+ "image",
799
+ "auto_number",
800
+ "calc",
801
+ "list",
802
+ "json",
803
+ "ANY"
804
+ ],
805
+ "description": "",
806
+ "enumDescription": [
807
+ "varchar",
808
+ "text",
809
+ "array",
810
+ "location",
811
+ "decimal",
812
+ "decimal_range",
813
+ "timestamp",
814
+ "people",
815
+ "department",
816
+ "money",
817
+ "timescope",
818
+ "file",
819
+ "image",
820
+ "auto_number",
821
+ "calc",
822
+ "list",
823
+ "json",
824
+ "ANY"
825
+ ]
826
+ },
827
+ "value": {
828
+ "type": "string"
829
+ },
830
+ "dataCode": {
831
+ "type": "string"
832
+ }
833
+ },
834
+ "description": "左值"
835
+ },
836
+ "rightVariableBo": {
837
+ "type": "object",
838
+ "properties": {
839
+ "type": {
840
+ "type": "string",
841
+ "enum": [
842
+ "custom",
843
+ "form",
844
+ "system",
845
+ "gv"
846
+ ],
847
+ "description": "",
848
+ "enumDescription": [
849
+ "custom",
850
+ "form",
851
+ "system",
852
+ "gv"
853
+ ]
854
+ },
855
+ "value": {
856
+ "type": "array",
857
+ "items": {
858
+ "type": "string"
859
+ }
860
+ },
861
+ "displayBos": {
862
+ "type": "array",
863
+ "items": {
864
+ "type": "object",
865
+ "additionalProperties": {}
866
+ }
867
+ }
868
+ },
869
+ "description": "右值"
870
+ }
871
+ }
872
+ },
873
+ {
874
+ "type": "object"
875
+ }
876
+ ]
877
+ },
878
+ "description": "包含子项",
879
+ "default": []
880
+ }
881
+ }
882
+ }
883
+ ]
884
+ },
885
+ "description": "过滤条件-查看过滤",
886
+ "default": []
887
+ },
888
+ "isOpenViewFilters": {
889
+ "type": "integer",
890
+ "description": "是否开启查看过滤",
891
+ "default": "0:未开启;1:开启"
892
+ },
893
+ "orders": {
894
+ "type": "array",
895
+ "items": {
896
+ "type": "object",
897
+ "properties": {
898
+ "columnName": {
899
+ "type": "string",
900
+ "description": "列名",
901
+ "default": ""
902
+ },
903
+ "desc": {
904
+ "type": "boolean",
905
+ "description": "倒序",
906
+ "default": false
907
+ }
908
+ }
909
+ },
910
+ "description": "排序",
911
+ "default": []
912
+ },
913
+ "showOrder": {
914
+ "type": "boolean",
915
+ "description": "显示排序",
916
+ "default": true
917
+ },
918
+ "assignDepartment": {
919
+ "type": "object",
920
+ "properties": {
921
+ "type": {
922
+ "type": "string",
923
+ "enum": [
924
+ "custom",
925
+ "form",
926
+ "system",
927
+ "gv"
928
+ ],
929
+ "description": "",
930
+ "enumDescription": [
931
+ "custom",
932
+ "form",
933
+ "system",
934
+ "gv"
935
+ ]
936
+ },
937
+ "value": {
938
+ "type": "array",
939
+ "items": {
940
+ "type": "string"
941
+ }
942
+ },
943
+ "displayBos": {
944
+ "type": "array",
945
+ "items": {
946
+ "type": "object",
947
+ "additionalProperties": {}
948
+ }
949
+ }
950
+ },
951
+ "description": "部门或者人员指定部门配置",
952
+ "default": {}
953
+ },
954
+ "openAssignDepartment": {
955
+ "type": "boolean",
956
+ "description": "部门或者人员指定部门配置是否开启",
957
+ "default": {}
958
+ }
959
+ },
960
+ "description": "数据源绑定",
961
+ "default": "new DataSourceBind()"
962
+ },
963
+ "multistageFilling": {
964
+ "type": "array",
965
+ "items": {
966
+ "type": "object",
967
+ "properties": {
968
+ "controlId": {
969
+ "type": "string",
970
+ "description": "控件ID",
971
+ "default": ""
972
+ },
973
+ "fieldCode": {
974
+ "type": "string",
975
+ "description": "字段",
976
+ "default": ""
977
+ },
978
+ "fieldType": {
979
+ "type": "string",
980
+ "description": "字段类型。事件在填充时,需要根据数据类型进行判断处理动作。",
981
+ "default": ""
982
+ },
983
+ "propName": {
984
+ "type": "string",
985
+ "description": "属性名称。如果是ObjectDataBind的控件,可以指定填充到哪个数据项。",
986
+ "default": ""
987
+ }
988
+ }
989
+ },
990
+ "description": "多级填充",
991
+ "default": []
992
+ },
993
+ "openMultistageFilling": {
994
+ "type": "boolean",
995
+ "description": "是否开启填充",
996
+ "default": false
997
+ }
998
+ },
999
+ "required": []
1000
+ }
1001
+ }