sun-form-v3 1.0.64 → 1.0.66

Sign up to get free protection for your applications and to get access to all the features.
Files changed (158) hide show
  1. package/package.json +8 -5
  2. package/src/App.vue +9 -0
  3. package/src/assets/font/YouSheBiaoTiHei-2.ttf +0 -0
  4. package/src/assets/font/demo.css +539 -0
  5. package/src/assets/font/demo_index.html +1200 -0
  6. package/src/assets/font/iconfont.css +191 -0
  7. package/src/assets/font/iconfont.js +1 -0
  8. package/src/assets/font/iconfont.json +317 -0
  9. package/src/assets/font/iconfont.ttf +0 -0
  10. package/src/assets/font/iconfont.woff +0 -0
  11. package/src/assets/font/iconfont.woff2 +0 -0
  12. package/src/assets/img/bg_footer.png +0 -0
  13. package/src/assets/img/bg_title.png +0 -0
  14. package/src/assets/img/file.png +0 -0
  15. package/src/assets/img/logo.png +0 -0
  16. package/src/assets/img/logo2.png +0 -0
  17. package/src/assets/img/logo22.png +0 -0
  18. package/src/assets/img/logo23.png +0 -0
  19. package/src/assets/img/logo3.png +0 -0
  20. package/src/assets/img//347/237/251/345/275/242@2x.png +0 -0
  21. package/src/assets/logo.svg +1 -0
  22. package/src/assets/styles/element/index.scss +15 -0
  23. package/src/assets/styles/index.css +3 -0
  24. package/src/components/a.js +14 -0
  25. package/src/components/aDesigner/config.vue +127 -0
  26. package/src/components/aDesigner/design.vue +21 -0
  27. package/src/components/aDesigner/designer.js +342 -0
  28. package/src/components/aDesigner/http.js +292 -0
  29. package/src/components/aDesigner/index.vue +144 -0
  30. package/src/components/aDesigner/panel.vue +144 -0
  31. package/src/components/aDesigner/show.vue +24 -0
  32. package/src/components/widgetCommonComps/commonApiConfig/index.vue +194 -0
  33. package/src/components/widgetCommonComps/commonCard/index.vue +36 -0
  34. package/src/components/widgetCommonComps/commonCodeEditor/editor.vue +219 -0
  35. package/src/components/widgetCommonComps/commonCodeEditor/modalEditor.vue +68 -0
  36. package/src/components/widgetCommonComps/commonCollapseCard/index.vue +10 -0
  37. package/src/components/widgetCommonComps/commonContainer/index.vue +95 -0
  38. package/src/components/widgetCommonComps/commonJsonInput/index.vue +59 -0
  39. package/src/components/widgetCommonComps/commonLabelContainer/index.vue +39 -0
  40. package/src/components/widgetCommonComps/commonSidetree/index.vue +61 -0
  41. package/src/components/widgetCommonComps/commonTypeInput/index.vue +75 -0
  42. package/src/components/widgetCommonComps/commonWidgetLabelContainer/index.vue +55 -0
  43. package/src/components/widgetCommonComps/index copy.js +17 -0
  44. package/src/components/widgetCommonComps/index.js +17 -0
  45. package/src/components/widgetConfigComps/config-input/index.vue +60 -0
  46. package/src/components/widgetConfigComps/index copy.js +13 -0
  47. package/src/components/widgetConfigComps/index.js +17 -0
  48. package/src/components/widgetShowComps/index.js +29 -0
  49. package/src/components/widgetShowComps/widget-form/index.vue +43 -0
  50. package/src/components/widgetShowComps/widget-homepage/index.vue +41 -0
  51. package/src/components/widgetShowComps/widget-input/index.vue +85 -0
  52. package/src/components/widgetShowComps/widget-select/index.vue +31 -0
  53. package/src/designer.js +342 -0
  54. package/src/http.js +292 -0
  55. package/src/index.js +24 -0
  56. package/src/index2.js +23 -0
  57. package/src/main.js +19 -0
  58. package/src/remark.js +708 -0
  59. package/src/testBtn.vue +11 -0
  60. package/src/testInput.vue +12 -0
  61. package/src/util/jsformat.js +568 -0
  62. package/src/widgetConfig.js +1112 -0
  63. package/dist/abap-DfvySaIJ.js +0 -1404
  64. package/dist/apex-B__0irD3.js +0 -332
  65. package/dist/assets/css.worker-OK053IOu.js +0 -84
  66. package/dist/assets/editor.worker-D9iUZyMP.js +0 -11
  67. package/dist/assets/html.worker-CL40hqKM.js +0 -458
  68. package/dist/assets/json.worker-6f9bhSHY.js +0 -42
  69. package/dist/assets/ts.worker-B6g3wjaE.js +0 -37021
  70. package/dist/azcli-CDMGhRmx.js +0 -74
  71. package/dist/bat-0Mk8aqzx.js +0 -106
  72. package/dist/bicep-BBi_I06Z.js +0 -108
  73. package/dist/cameligo-D0G_Zm6X.js +0 -180
  74. package/dist/clojure-o2ZKLeMp.js +0 -767
  75. package/dist/coffee-DOQff5VC.js +0 -238
  76. package/dist/cpp-CQGJnWhD.js +0 -395
  77. package/dist/csharp-C1jLsHl8.js +0 -332
  78. package/dist/csp-C_ttMQaW.js +0 -59
  79. package/dist/css-BC202kVV.js +0 -193
  80. package/dist/cssMode-BJ__hlmh.js +0 -1541
  81. package/dist/cypher-DwtEH7Fi.js +0 -269
  82. package/dist/dart-D9XknsP2.js +0 -287
  83. package/dist/dockerfile-DgsNjqqa.js +0 -136
  84. package/dist/ecl-BAMCHBl6.js +0 -462
  85. package/dist/elixir-CegIttP8.js +0 -575
  86. package/dist/favicon.ico +0 -0
  87. package/dist/flow9-9608t7UV.js +0 -148
  88. package/dist/freemarker2-CoLsQjW7.js +0 -995
  89. package/dist/fsharp-CCtt9-1_.js +0 -223
  90. package/dist/go-CGUIPbct.js +0 -224
  91. package/dist/graphql-BNRIFFIn.js +0 -157
  92. package/dist/handlebars-BX8CH7kP.js +0 -425
  93. package/dist/hcl-C__KLIXe.js +0 -189
  94. package/dist/html-CzRNAVFz.js +0 -314
  95. package/dist/htmlMode-D1rYdg3M.js +0 -1551
  96. package/dist/index-DmlyKQU2.js +0 -150
  97. package/dist/index2-CFFJfReU.js +0 -123480
  98. package/dist/ini-CeKYn_zA.js +0 -77
  99. package/dist/java-Dm24deQl.js +0 -238
  100. package/dist/javascript-D8qja2YK.js +0 -76
  101. package/dist/jsonMode-Ba3FSlH9.js +0 -1957
  102. package/dist/julia-BImNW7VE.js +0 -517
  103. package/dist/kotlin-BfE79GEb.js +0 -259
  104. package/dist/less-DglNOcaC.js +0 -168
  105. package/dist/lexon-BA0dRz9Q.js +0 -163
  106. package/dist/liquid-Dk9PEfYJ.js +0 -246
  107. package/dist/lua-DMkWzJcm.js +0 -168
  108. package/dist/m3-sA-5shO8.js +0 -216
  109. package/dist/markdown-OYRB1igA.js +0 -235
  110. package/dist/mdx-BYQIXNzg.js +0 -171
  111. package/dist/mips-rRzkJ_7G.js +0 -204
  112. package/dist/msdax-DoVJdUhd.js +0 -381
  113. package/dist/mysql-Ty44IHXo.js +0 -884
  114. package/dist/objective-c-VUfyhYrA.js +0 -189
  115. package/dist/pascal-DkASiYyw.js +0 -257
  116. package/dist/pascaligo-p-ELPlVO.js +0 -170
  117. package/dist/perl-Cjl1FxLZ.js +0 -632
  118. package/dist/pgsql-DjVenF7s.js +0 -857
  119. package/dist/php-CwvGzZOO.js +0 -506
  120. package/dist/pla-Br1iaBIV.js +0 -143
  121. package/dist/postiats-BaeP8zZY.js +0 -913
  122. package/dist/powerquery-CLCshuo8.js +0 -896
  123. package/dist/powershell-CZV50w5N.js +0 -245
  124. package/dist/protobuf-MV3XTewJ.js +0 -426
  125. package/dist/pug-DkDg4c4l.js +0 -408
  126. package/dist/python-nr__0oHi.js +0 -282
  127. package/dist/qsharp-BAtiKA97.js +0 -291
  128. package/dist/r-8ocrd-h-.js +0 -249
  129. package/dist/razor-BhxZaYa0.js +0 -556
  130. package/dist/redis-9sZiddxc.js +0 -308
  131. package/dist/redshift-DQfTOGC0.js +0 -815
  132. package/dist/restructuredtext-DXU-vkgr.js +0 -180
  133. package/dist/ruby-DotfqwMf.js +0 -517
  134. package/dist/rust-BIauJ5KN.js +0 -349
  135. package/dist/sb-CmWMvDEV.js +0 -121
  136. package/dist/scala-C81brEbk.js +0 -376
  137. package/dist/scheme-D0pcFz2x.js +0 -114
  138. package/dist/scss-BOdN2fGG.js +0 -268
  139. package/dist/shell-6E09eAkU.js +0 -227
  140. package/dist/solidity-CWStzA1K.js +0 -1373
  141. package/dist/sophia-76Sb6CWe.js +0 -205
  142. package/dist/sparql-BmZTkOWT.js +0 -207
  143. package/dist/sql-Cs9TBAW5.js +0 -859
  144. package/dist/st-B-rqE1Bu.js +0 -422
  145. package/dist/style.css +0 -1
  146. package/dist/sun-form-v3.es.js +0 -4
  147. package/dist/sun-form-v3.umd.js +0 -1908
  148. package/dist/swift-Btsj6YxQ.js +0 -318
  149. package/dist/systemverilog-B3RHBRa2.js +0 -582
  150. package/dist/tcl-Dpj776pn.js +0 -238
  151. package/dist/tsMode-B5V7dylO.js +0 -886
  152. package/dist/twig-Bb9JmBsE.js +0 -398
  153. package/dist/typescript-Cvb4NK72.js +0 -349
  154. package/dist/typespec-CDWeg3SU.js +0 -123
  155. package/dist/vb-DEXnYwEI.js +0 -378
  156. package/dist/wgsl-D602c1lx.js +0 -445
  157. package/dist/xml-D833w0Hk.js +0 -101
  158. package/dist/yaml-BEai5aLa.js +0 -212
@@ -0,0 +1,1112 @@
1
+ export default {
2
+ homepage: {
3
+ isContainer: true,
4
+ displayName: "页面",
5
+ widgetList: [],
6
+ type: "homepage",
7
+ id: 'homepage',
8
+ chosenId: "homepage",
9
+ props: {
10
+ label: "",
11
+ width: 24,
12
+ remark: "",
13
+ onCreated: null,
14
+ onMounted: null,
15
+ }
16
+ },
17
+ form: {
18
+ isContainer: true,
19
+ displayName: "表单",
20
+ isForm: false,
21
+ canAddDataTableQuery: false,
22
+ canAddDataTableList: false,
23
+ widgetList: [],
24
+ props: {
25
+ hasLabel: false,
26
+ label: "",
27
+ width: 24,
28
+ remark: "",
29
+ hideButton: false,
30
+ formType: "Create", //表单类型 Create,Update,Detail
31
+ apiSetCreate: {
32
+ method: "post",
33
+ apiurl: "",
34
+ params: [],
35
+ headers: [],
36
+ contentType: "JSON",
37
+ paramsFormat: "",
38
+ headersFormat: "",
39
+ successFormat: "",
40
+ errorFormat: "",
41
+ },
42
+ apiSetUpdate: {
43
+ method: "post",
44
+ apiurl: "",
45
+ params: [],
46
+ headers: [],
47
+ contentType: "JSON",
48
+ paramsFormat: "",
49
+ headersFormat: "",
50
+ successFormat: "",
51
+ errorFormat: "",
52
+ },
53
+ apiSetDetail: {
54
+ method: "post",
55
+ apiurl: "",
56
+ params: [],
57
+ headers: [],
58
+ contentType: "JSON",
59
+ paramsFormat: "",
60
+ headersFormat: "",
61
+ successFormat: "",
62
+ errorFormat: "",
63
+ },
64
+ onCreated: null,
65
+ onMounted: null,
66
+ }
67
+ },
68
+ div: {
69
+ isContainer: true,
70
+ displayName: "普通容器",
71
+ isForm: false,
72
+ canAddDataTableQuery: false,
73
+ canAddDataTableList: false,
74
+ widgetList: [],
75
+ props: {
76
+ hasLabel: false,
77
+ label: "",
78
+ remark: "",
79
+ value: "",
80
+ divWidth: "100%",
81
+ divHeight: "200px",
82
+ hide: false,
83
+ style: [],
84
+ onCreated: null,
85
+ onMounted: null,
86
+ }
87
+ },
88
+ modal: {
89
+ isContainer: true,
90
+ displayName: "弹窗",
91
+ isForm: false,
92
+ widgetList: [],
93
+ canAddDataTableQuery: false,
94
+ canAddDataTableList: false,
95
+ props: {
96
+ hasLabel: false,
97
+ title: "弹窗",
98
+ show: false,
99
+ remark: "",
100
+ modalWidth: "80%",
101
+ modalHeight: "80%",
102
+ hideConfirm: false,
103
+ hideCancel: false,
104
+
105
+ label: "",
106
+ hasFooter: true,
107
+ list: [],
108
+
109
+ onCreated: null,
110
+ onMounted: null,
111
+ onHide: null,
112
+ onShow: null,
113
+ onConfirm: null,
114
+ onButtonClick: null,
115
+ }
116
+ },
117
+ tabs: {
118
+ isContainer: true,
119
+ displayName: "标签页",
120
+ isForm: false,
121
+ canAddDataTableQuery: false,
122
+ canAddDataTableList: false,
123
+ widgetList: [],
124
+ props: {
125
+ hasLabel: false,
126
+ label: "标签页",
127
+ width: 24,
128
+ type: "border-card",
129
+ remark: "",
130
+ activeName: null,
131
+ loadType: "loadOnce",
132
+ tabs: [{
133
+ label: "标签页1",
134
+ value: "tab1",
135
+ widgetList: []
136
+ }, {
137
+ label: "标签页2",
138
+ value: "tab2",
139
+ widgetList: []
140
+ }, {
141
+ label: "标签页3",
142
+ value: "tab3",
143
+ widgetList: []
144
+ }],
145
+ onCreated: null,
146
+ onMounted: null,
147
+ onChange: null,
148
+ }
149
+ },
150
+ input: {
151
+ isContainer: false,
152
+ displayName: "输入框",
153
+ isForm: true,
154
+ canAddDataTableQuery: true,
155
+ canAddDataTableList: true,
156
+ props: {
157
+ hasLabel: true,
158
+ size: "default",
159
+ remark: "",
160
+ required: false,
161
+ readonly: false,
162
+ disabled: false,
163
+ isDetail: false,
164
+ hide: false,
165
+ placeholder: "请输入",
166
+ prependText:"",
167
+ appendText: '',
168
+ labelPosition: "left",
169
+ value: null,
170
+ zdname: null,
171
+ label: "输入框",
172
+ labelAlign: "right",
173
+ labelWidth: "120px",
174
+ width: 24,
175
+ type: "text",
176
+ isTrim: false,
177
+ maxlength: null,
178
+
179
+ onCreated: null,
180
+ onMounted: null,
181
+ onInput: null,
182
+ onChange: null,
183
+ onFocus: null,
184
+ onBlur: null,
185
+ onHandle: null,
186
+ }
187
+ },
188
+ select: {
189
+ isContainer: false,
190
+ displayName: "下拉框",
191
+ isForm: true,
192
+ canAddDataTableQuery: true,
193
+ canAddDataTableList: true,
194
+ props: {
195
+ size: "medium",
196
+ hasLabel: true,
197
+ required: false,
198
+ disabled: false,
199
+ hide: false,
200
+ labelPosition: "left",
201
+ placeholder: "请选择",
202
+ remark: "",
203
+ value: null,
204
+ zdname: null,
205
+ label: "",
206
+ isDetail: false,
207
+ labelAlign: "right",
208
+ labelWidth: "120px",
209
+ clearable: true,
210
+ width: 24,
211
+ apiSet: {
212
+ method: "post",
213
+ apiurl: "",
214
+ params: [],
215
+ headers: [],
216
+ contentType: "JSON",
217
+ paramsFormat: "",
218
+ headersFormat: "",
219
+ successFormat: "",
220
+ errorFormat: "",
221
+ },
222
+ list: [{
223
+ label: "选项1",
224
+ value: "1"
225
+ },
226
+ {
227
+ label: "选项2",
228
+ value: "2"
229
+ },
230
+ {
231
+ label: "选项3",
232
+ value: "3"
233
+ }
234
+ ],
235
+ onCreated: null,
236
+ onMounted: null,
237
+ onChange: null,
238
+ onFocus: null,
239
+ onBlur: null,
240
+ }
241
+ },
242
+ selects: {
243
+ isContainer: false,
244
+ displayName: "下拉多选框",
245
+ isForm: true,
246
+ canAddDataTableQuery: true,
247
+ canAddDataTableList: true,
248
+ props: {
249
+ size: "medium",
250
+ required: false,
251
+ hasLabel: true,
252
+ disabled: false,
253
+ remark: "",
254
+ hide: false,
255
+ labelPosition: "left",
256
+ placeholder: "请选择",
257
+ value: null,
258
+ isDetail: false,
259
+ multipleLimit: 0,
260
+ collapseTags: false,
261
+ zdname: null,
262
+ label: "",
263
+ labelAlign: "right",
264
+ clearable: true,
265
+ labelWidth: "120px",
266
+ width: 24,
267
+ apiSet: {
268
+ method: "get",
269
+ apiurl: "",
270
+ params: [],
271
+ contentType: "JSON",
272
+ dataFormat: "",
273
+ labelField: "",
274
+ valueField: "",
275
+ beforeSend: "",
276
+ },
277
+ list: [{
278
+ label: "选项1",
279
+ value: "1"
280
+ },
281
+ {
282
+ label: "选项2",
283
+ value: "2"
284
+ },
285
+ {
286
+ label: "选项3",
287
+ value: "3"
288
+ }
289
+ ],
290
+ onCreated: null,
291
+ onMounted: null,
292
+ onChange: null,
293
+ onFocus: null,
294
+ onBlur: null,
295
+ }
296
+ },
297
+ radio: {
298
+ isContainer: false,
299
+ displayName: "单选框",
300
+ isForm: true,
301
+ canAddDataTableQuery: true,
302
+ canAddDataTableList: true,
303
+ props: {
304
+ hasLabel: true,
305
+ required: false,
306
+ disabled: false,
307
+ hide: false,
308
+ remark: "",
309
+ labelPosition: "left",
310
+ isButton: false,
311
+ isDetail: false,
312
+ isBlock: false,
313
+ value: null,
314
+ zdname: null,
315
+ label: "",
316
+ labelAlign: "right",
317
+ labelWidth: "120px",
318
+ width: 24,
319
+ apiSet: {
320
+ method: "get",
321
+ apiurl: "",
322
+ params: [],
323
+ contentType: "JSON",
324
+ dataFormat: "",
325
+ labelField: "",
326
+ valueField: "",
327
+ beforeSend: "",
328
+ },
329
+ list: [{
330
+ label: "选项1",
331
+ value: "1"
332
+ },
333
+ {
334
+ label: "选项2",
335
+ value: "2"
336
+ },
337
+ {
338
+ label: "选项3",
339
+ value: "3"
340
+ }
341
+ ],
342
+ onCreated: null,
343
+ onMounted: null,
344
+ onChange: null,
345
+ }
346
+ },
347
+ checkbox: {
348
+ isContainer: false,
349
+ displayName: "多选框",
350
+ isForm: true,
351
+ canAddDataTableQuery: true,
352
+ canAddDataTableList: true,
353
+ props: {
354
+ hasLabel: true,
355
+ size: "medium",
356
+ required: false,
357
+ disabled: false,
358
+ hide: false,
359
+ remark: "",
360
+ isDetail: false,
361
+ labelPosition: "left",
362
+ isButton: false,
363
+ isBlock: false,
364
+ value: "",
365
+ zdname: null,
366
+ label: "",
367
+ labelAlign: "right",
368
+ labelWidth: "120px",
369
+ width: 24,
370
+ apiSet: {
371
+ method: "get",
372
+ apiurl: "",
373
+ params: [],
374
+ contentType: "JSON",
375
+ dataFormat: "",
376
+ labelField: "",
377
+ valueField: "",
378
+ beforeSend: "",
379
+ },
380
+ list: [{
381
+ label: "选项1",
382
+ value: "1"
383
+ },
384
+ {
385
+ label: "选项2",
386
+ value: "2"
387
+ },
388
+ {
389
+ label: "选项3",
390
+ value: "3"
391
+ }
392
+ ],
393
+ onCreated: null,
394
+ onMounted: null,
395
+ onChange: null,
396
+ }
397
+ },
398
+ date: {
399
+ isContainer: false,
400
+ displayName: "日期",
401
+ isForm: true,
402
+ canAddDataTableQuery: true,
403
+ canAddDataTableList: true,
404
+ props: {
405
+ size: "medium",
406
+ required: false,
407
+ hasLabel: true,
408
+ disabled: false,
409
+ remark: "",
410
+ hide: false,
411
+ labelPosition: "left",
412
+ placeholder: "请选择",
413
+ isDetail: false,
414
+ value: null,
415
+ type: "date",
416
+ format: "yyyy-MM-dd",
417
+ valueFormat: "yyyy-MM-dd",
418
+ defaultNow: false,
419
+ zdname: null,
420
+ label: "",
421
+ labelAlign: "right",
422
+ labelWidth: "120px",
423
+ width: 24,
424
+
425
+ onCreated: null,
426
+ onMounted: null,
427
+ onChange: null,
428
+ onFocus: null,
429
+ onBlur: null,
430
+ }
431
+ },
432
+ textarea: {
433
+ isContainer: false,
434
+ displayName: "文本域",
435
+ isForm: true,
436
+ canAddDataTableQuery: false,
437
+ canAddDataTableList: true,
438
+ props: {
439
+ hasLabel: true,
440
+ size: "medium",
441
+ required: false,
442
+ readonly: false,
443
+ disabled: false,
444
+ hide: false,
445
+ isDetail: false,
446
+ placeholder: "请输入",
447
+ labelPosition: "left",
448
+ rows: 3,
449
+ remark: "",
450
+ value: null,
451
+ zdname: null,
452
+ label: "",
453
+ labelAlign: "right",
454
+ labelWidth: "120px",
455
+ width: 24,
456
+ maxlength: null,
457
+ minlength: null,
458
+
459
+ onCreated: null,
460
+ onMounted: null,
461
+ onInput: null,
462
+ onChange: null,
463
+ onFocus: null,
464
+ onBlur: null,
465
+ }
466
+ },
467
+ switch: {
468
+ isContainer: false,
469
+ displayName: "开关",
470
+ isForm: true,
471
+ canAddDataTableQuery: true,
472
+ canAddDataTableList: true,
473
+ props: {
474
+ required: false,
475
+ isDetail: false,
476
+ hasLabel: true,
477
+ disabled: false,
478
+ hide: false,
479
+ labelPosition: "left",
480
+ remark: "",
481
+ value: false,
482
+ zdname: null,
483
+ label: "",
484
+ labelAlign: "right",
485
+ labelWidth: "120px",
486
+ activeText: "开",
487
+ inactiveText: "关",
488
+
489
+ onCreated: null,
490
+ onMounted: null,
491
+ onChange: null,
492
+ }
493
+ },
494
+ daterange: {
495
+ isContainer: false,
496
+ displayName: "日期区间",
497
+ isForm: true,
498
+ canAddDataTableQuery: true,
499
+ canAddDataTableList: true,
500
+ props: {
501
+ size: "medium",
502
+ hasLabel: true,
503
+ required: false,
504
+ disabled: false,
505
+ hide: false,
506
+ labelPosition: "left",
507
+ placeholder: "请选择",
508
+ remark: "",
509
+ value: null,
510
+ isDetail: false,
511
+ type: "daterange",
512
+ rangeSeparator: " / ",
513
+ format: "yyyy-MM-dd",
514
+ valueFormat: "yyyy-MM-dd",
515
+ zdname: null,
516
+ label: "",
517
+ labelAlign: "right",
518
+ labelWidth: "120px",
519
+ width: 24,
520
+
521
+ onCreated: null,
522
+ onMounted: null,
523
+ onChange: null,
524
+ onFocus: null,
525
+ onBlur: null,
526
+ }
527
+ },
528
+ time: {
529
+ isContainer: false,
530
+ displayName: "时间",
531
+ isForm: true,
532
+ canAddDataTableQuery: true,
533
+ canAddDataTableList: true,
534
+ props: {
535
+ size: "medium",
536
+ hasLabel: true,
537
+ required: false,
538
+ disabled: false,
539
+ hide: false,
540
+ remark: "",
541
+ labelPosition: "left",
542
+ isDetail: false,
543
+ placeholder: "请选择",
544
+ value: null,
545
+ format: "HH:mm:ss",
546
+ valueFormat: "HH:mm:ss",
547
+ zdname: null,
548
+ label: "",
549
+ labelAlign: "right",
550
+ labelWidth: "120px",
551
+ width: 24,
552
+
553
+ onCreated: null,
554
+ onMounted: null,
555
+ onChange: null,
556
+ onFocus: null,
557
+ onBlur: null,
558
+ }
559
+ },
560
+ timerange: {
561
+ isContainer: false,
562
+ displayName: "时间区间",
563
+ isForm: true,
564
+ canAddDataTableQuery: true,
565
+ canAddDataTableList: true,
566
+ props: {
567
+ hasLabel: true,
568
+ size: "medium",
569
+ required: false,
570
+ disabled: false,
571
+ hide: false,
572
+ labelPosition: "left",
573
+ remark: "",
574
+ placeholder: "请选择",
575
+ value: null,
576
+ rangeSeparator: " / ",
577
+ isDetail: false,
578
+ format: "HH:mm:ss",
579
+ valueFormat: "HH:mm:ss",
580
+ zdname: null,
581
+ label: "",
582
+ labelAlign: "right",
583
+ labelWidth: "120px",
584
+ width: 24,
585
+
586
+ onCreated: null,
587
+ onMounted: null,
588
+ onChange: null,
589
+ onFocus: null,
590
+ onBlur: null,
591
+ }
592
+ },
593
+ rate: {
594
+ isContainer: false,
595
+ displayName: "评分",
596
+ isForm: true,
597
+ canAddDataTableQuery: true,
598
+ canAddDataTableList: true,
599
+ props: {
600
+ required: false,
601
+ hasLabel: true,
602
+ disabled: false,
603
+ isDetail: false,
604
+ hide: false,
605
+ labelPosition: "left",
606
+ value: 5,
607
+ zdname: null,
608
+ remark: "",
609
+ label: "",
610
+ labelAlign: "right",
611
+ labelWidth: "120px",
612
+ width: 24,
613
+ max: 5,
614
+ allowHalf: false,
615
+ showScore: false,
616
+
617
+
618
+ onCreated: null,
619
+ onMounted: null,
620
+ onChange: null,
621
+ }
622
+ },
623
+ file: {
624
+ isContainer: false,
625
+ displayName: "文件上传",
626
+ isForm: true,
627
+ canAddDataTableQuery: false,
628
+ canAddDataTableList: true,
629
+ widgetList: [],
630
+ props: {
631
+ size: "medium",
632
+ hasLabel: false,
633
+ required: false,
634
+ disabled: false,
635
+ isDetail: false,
636
+ hideFileName: false,
637
+ hidePreview: false,
638
+ hide: false,
639
+ placeholder: "请上传文件",
640
+ labelPosition: "left",
641
+ remark: "",
642
+ value: null,
643
+ zdname: null,
644
+ label: "",
645
+ labelAlign: "right",
646
+ labelWidth: "120px",
647
+ width: 24,
648
+ fileField: "file", //文件上传字段
649
+ fileIdField: "id", //文件ID字段
650
+ fileNameField: "fileName", //文件名称字段
651
+ fileUrlField: "", //文件URL字段
652
+ fileSaveType: 'name,id',
653
+ fileDownType: 'blob', //文件下载方式
654
+ fileGetUrl: "", //文件获取地址
655
+ fileDownUrl: "", //文件下载地址
656
+ accept: "", //文件后缀类型,逗号隔开
657
+ limit: 100, //限制文件个数
658
+ fileSize: 10, //限制文件大小mb
659
+ readonly: false, //是否只能查看
660
+ multiple: true, //是否支持多个上传
661
+ hideTable: false, //是否隐藏表格
662
+ apiSet: {
663
+ method: "post",
664
+ apiurl: "",
665
+ params: [],
666
+ contentType: "FormData",
667
+ dataFormat: "",
668
+ beforeSend: "",
669
+ },
670
+ onCreated: null,
671
+ onMounted: null,
672
+ onNameFormat: null,
673
+ }
674
+ },
675
+ location: {
676
+ isContainer: false,
677
+ displayName: "位置选择器",
678
+ isForm: true,
679
+ canAddDataTableQuery: true,
680
+ canAddDataTableList: true,
681
+ props: {
682
+ size: "medium",
683
+ required: false,
684
+ remark: "",
685
+ hasLabel: true,
686
+ readonly: false,
687
+ disabled: false,
688
+ isDetail: false,
689
+ hide: false,
690
+ labelPosition: "left",
691
+ value: null,
692
+ zdname: null,
693
+ label: "",
694
+ labelAlign: "right",
695
+ labelWidth: "120px",
696
+ width: 24,
697
+ city: "北京市",
698
+
699
+ onCreated: null,
700
+ onMounted: null,
701
+ onInput: null,
702
+ onChange: null,
703
+ onFocus: null,
704
+ onBlur: null,
705
+ onHandle: null,
706
+ }
707
+ },
708
+ service: {
709
+ isContainer: false,
710
+ displayName: "服务",
711
+ isForm: false,
712
+ canAddDataTableQuery: false,
713
+ canAddDataTableList: false,
714
+ widgetList: [],
715
+ props: {
716
+ label: "",
717
+ remark: "",
718
+ hasLabel: false,
719
+ width: 24,
720
+ serviceJson: ``,
721
+ apiSet: {
722
+ method: "get",
723
+ apiurl: "",
724
+ params: [],
725
+ contentType: "JSON",
726
+ dataFormat: "",
727
+ beforeSend: "",
728
+ },
729
+ onCreated: null,
730
+ onMounted: null,
731
+ }
732
+ },
733
+ iframe: {
734
+ isContainer: false,
735
+ displayName: "iframe",
736
+ isForm: false,
737
+ canAddDataTableQuery: false,
738
+ canAddDataTableList: false,
739
+ widgetList: [],
740
+ props: {
741
+ label: "iframe",
742
+ hasLabel: false,
743
+ width: 24,
744
+ remark: "",
745
+ height: '50vh',
746
+ src: "",
747
+ onCreated: null,
748
+ onMounted: null,
749
+ }
750
+ },
751
+ editor: {
752
+ isContainer: false,
753
+ displayName: "富文本编辑器",
754
+ isForm: true,
755
+ canAddDataTableQuery: true,
756
+ canAddDataTableList: true,
757
+ props: {
758
+ hasLabel: true,
759
+ required: false,
760
+ readonly: false,
761
+ isDetail: false,
762
+ remark: "",
763
+ hide: false,
764
+ labelPosition: "left",
765
+ value: null,
766
+ zdname: null,
767
+ label: "",
768
+ labelAlign: "right",
769
+ labelWidth: "120px",
770
+ width: 24,
771
+ fileField: "file", //文件上传字段
772
+ fileUrlField: "", //文件URL字段
773
+ apiSet: {
774
+ method: "post",
775
+ apiurl: "",
776
+ params: [],
777
+ contentType: "FormData",
778
+ dataFormat: "",
779
+ beforeSend: "",
780
+ },
781
+ onCreated: null,
782
+ onMounted: null,
783
+ onChange: null,
784
+ }
785
+ },
786
+ codeEditor: {
787
+ isContainer: false,
788
+ displayName: "代码编辑器",
789
+ isForm: true,
790
+ canAddDataTableQuery: false,
791
+ canAddDataTableList: false,
792
+ props: {
793
+ height: "200px",
794
+ value: null,
795
+ hasLabel: true,
796
+ lang: "javascript",
797
+ remark: "",
798
+ isDetail: false,
799
+ required: false,
800
+ readonly: false,
801
+ hide: false,
802
+ labelPosition: "left",
803
+ zdname: null,
804
+ label: "",
805
+ labelAlign: "right",
806
+ labelWidth: "120px",
807
+ width: 24,
808
+
809
+ onCreated: null,
810
+ onMounted: null,
811
+ }
812
+ },
813
+ button: {
814
+ isContainer: false,
815
+ displayName: "按钮",
816
+ isForm: true,
817
+ canAddDataTableQuery: false,
818
+ canAddDataTableList: true,
819
+ props: {
820
+ type: "primary",
821
+ hasLabel: false,
822
+ size: "medium",
823
+ icon: "",
824
+ remark: "",
825
+ disabled: false,
826
+ hide: false,
827
+ isPlain: false,
828
+ isRound: false,
829
+ buttonText: "按钮",
830
+ labelPosition: "left",
831
+ // value: null,
832
+ // zdname: null,
833
+ label: "",
834
+ labelAlign: "right",
835
+ labelWidth: "120px",
836
+ width: 24,
837
+
838
+ onCreated: null,
839
+ onMounted: null,
840
+ onClick: null,
841
+ }
842
+ },
843
+ divider: {
844
+ isContainer: false,
845
+ displayName: "分割线",
846
+ isForm: false,
847
+ canAddDataTableQuery: false,
848
+ canAddDataTableList: false,
849
+ props: {
850
+ hasLabel: false,
851
+ value: null,
852
+ remark: "",
853
+ width: 24,
854
+
855
+ onCreated: null,
856
+ onMounted: null,
857
+ }
858
+ },
859
+ title: {
860
+ isContainer: false,
861
+ displayName: "标题",
862
+ isForm: false,
863
+ canAddDataTableQuery: false,
864
+ canAddDataTableList: false,
865
+ props: {
866
+ hasLabel: false,
867
+ value: "标题",
868
+ remark: "",
869
+ width: 24,
870
+
871
+ onCreated: null,
872
+ onMounted: null,
873
+ }
874
+ },
875
+ html: {
876
+ isContainer: false,
877
+ displayName: "html",
878
+ isForm: false,
879
+ canAddDataTableQuery: false,
880
+ canAddDataTableList: false,
881
+ props: {
882
+ hasLabel: false,
883
+ value: null,
884
+ remark: "",
885
+ width: 24,
886
+
887
+ onCreated: null,
888
+ onMounted: null,
889
+ }
890
+ },
891
+
892
+ alert: {
893
+ isContainer: false,
894
+ displayName: "警告",
895
+ isForm: false,
896
+ canAddDataTableQuery: false,
897
+ canAddDataTableList: false,
898
+ props: {
899
+ value: "提示",
900
+ hasLabel: false,
901
+ remark: "",
902
+ type: "info", //success/warning/info/error
903
+ description: "",
904
+ closable: false,
905
+ center: false,
906
+ closeText: "",
907
+ showIcon: true,
908
+ width: 24,
909
+ hide: false,
910
+ effect: "light", //dark/light
911
+
912
+ onCreated: null,
913
+ onMounted: null,
914
+ }
915
+ },
916
+ image: {
917
+ isContainer: false,
918
+ displayName: "图片",
919
+ isForm: false,
920
+ canAddDataTableQuery: false,
921
+ canAddDataTableList: true,
922
+ props: {
923
+ hasLabel: false,
924
+ value: null,
925
+ hide: false,
926
+ width: 24,
927
+ fit: null, //fill / contain / cover / none / scale-down
928
+ alt: "",
929
+ canPreview: false, //是否可以预览
930
+ imgWidth: "100px", //图片宽度
931
+ imgHeight: "100px", //图片高度
932
+
933
+ onCreated: null,
934
+ onMounted: null,
935
+ onFormat: null,
936
+ }
937
+ },
938
+ datatable: {
939
+ isContainer: false,
940
+ displayName: "数据表格",
941
+ isForm: true,
942
+ widgetList: [],
943
+ canAddDataTableQuery: false,
944
+ canAddDataTableList: true,
945
+ props: {
946
+ zdname: null,
947
+ hasLabel: false,
948
+ label: "",
949
+ labelAlign: "right",
950
+ labelWidth: "120px",
951
+ isDetail: false,
952
+ width: 24,
953
+ remark: "",
954
+ height: "80vh",
955
+ required: false,
956
+ hide: false,
957
+ value: [],
958
+ apiSet: {
959
+ method: "get",
960
+ apiurl: "",
961
+ params: [],
962
+ contentType: "JSON",
963
+ dataFormat: "",
964
+ beforeSend: "",
965
+ },
966
+ tableConfig: {
967
+ baseInfo: {
968
+ rows: "datas",
969
+ count: "totalCount",
970
+ page: "pageindex",
971
+ limit: "pagesize",
972
+ count: "totalCount",
973
+ pageDefault: 20,
974
+ pageDefaultIndex: 1,
975
+ oprateWidth: null,
976
+ singleselect: false,
977
+ align: "center",
978
+ hasPage: true,
979
+ showOverFlow: true,
980
+ initLoadData: true,
981
+ hideHandleBtn: false,
982
+ isStripe: true,
983
+ normalTable: false,
984
+ hideEditButton: false, //隐藏编辑按钮
985
+ formTableMode: "table", //table/tab,
986
+ treeMode: false, //是否树形表格
987
+ treeTransform: false, //false为树形结构,true为扁平结构
988
+ treeRowField: "id", //树形结构的字段
989
+ treeParentField: "pid", //树形父级结构的字段
990
+ treeChildrenField: "children",
991
+ treeLazySign: "hasChild", //树形懒加载有子集标识
992
+ treeExpandAll: false,
993
+ treeAccordion: false,
994
+ isLazy: false,
995
+ isLine: false,
996
+ isHideChoose: false,
997
+ },
998
+ buttonList: [],
999
+ queryList: [],
1000
+ tableList: [],
1001
+ },
1002
+ onCreated: null,
1003
+ onMounted: null,
1004
+ onDataLoad: null,
1005
+ onRowsChange: null,
1006
+ onChildLoad: null
1007
+ }
1008
+ },
1009
+ transfer: {
1010
+ isContainer: false,
1011
+ displayName: "穿梭框",
1012
+ isForm: true,
1013
+ canAddDataTableQuery: true,
1014
+ canAddDataTableList: true,
1015
+ props: {
1016
+ hasLabel: true,
1017
+ size: "medium",
1018
+ required: false,
1019
+ readonly: false,
1020
+ remark: "",
1021
+ disabled: false,
1022
+ isDetail: false,
1023
+ hide: false,
1024
+ labelPosition: "left",
1025
+ value: [],
1026
+ zdname: null,
1027
+ label: "",
1028
+ labelAlign: "right",
1029
+ labelWidth: "120px",
1030
+ width: 24,
1031
+ propsKey: "key",
1032
+ propsLabel: "label",
1033
+ valueType: "keyArr", //keyArr,jsonArr
1034
+ apiSet: {
1035
+ method: "get",
1036
+ apiurl: "",
1037
+ params: [],
1038
+ contentType: "JSON",
1039
+ dataFormat: "",
1040
+ beforeSend: "",
1041
+ },
1042
+ list: [],
1043
+ onCreated: null,
1044
+ onMounted: null,
1045
+ // onChange: null,
1046
+ }
1047
+ },
1048
+ checkCode: {
1049
+ isContainer: false,
1050
+ displayName: "手机验证码",
1051
+ isForm: true,
1052
+ canAddDataTableQuery: true,
1053
+ canAddDataTableList: true,
1054
+ props: {
1055
+ size: "medium",
1056
+ remark: "",
1057
+ hasLabel: true,
1058
+ required: false,
1059
+ isDetail: false,
1060
+ hide: false,
1061
+ placeholder: "请输入手机验证码",
1062
+ labelPosition: "left",
1063
+ value: null,
1064
+ zdname: null,
1065
+ label: "",
1066
+ labelAlign: "right",
1067
+ labelWidth: "120px",
1068
+ width: 24,
1069
+ type: "number",
1070
+ timeSec: 60,
1071
+ beforeHttpSend: "",
1072
+ apiSet: {
1073
+ method: "get",
1074
+ apiurl: "",
1075
+ params: [],
1076
+ contentType: "JSON",
1077
+ dataFormat: "",
1078
+ labelField: "",
1079
+ valueField: "",
1080
+ beforeSend: "",
1081
+ },
1082
+
1083
+ onCreated: null,
1084
+ onMounted: null,
1085
+ onInput: null,
1086
+ onChange: null,
1087
+ onFocus: null,
1088
+ onBlur: null,
1089
+ }
1090
+ },
1091
+ datatableitem: {
1092
+ isContainer: false,
1093
+ displayName: "数据表格表头",
1094
+ isForm: true,
1095
+ widgetList: [],
1096
+ canAddDataTableQuery: false,
1097
+ canAddDataTableList: true,
1098
+ addToPanel: false,
1099
+ props: {
1100
+ hasLabel: false,
1101
+ zdname: null,
1102
+ value: null,
1103
+ remark: "",
1104
+ label: "",
1105
+ tableitemWidth: null,
1106
+ onCreated: null,
1107
+ onMounted: null,
1108
+ onFormat: null,
1109
+ hide: false,
1110
+ }
1111
+ },
1112
+ }