@lingxiteam/theme-utils 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (128) hide show
  1. package/README.md +83 -0
  2. package/dist/config/Button.d.ts +101 -0
  3. package/dist/config/Button.js +265 -0
  4. package/dist/config/Card.d.ts +137 -0
  5. package/dist/config/Card.js +149 -0
  6. package/dist/config/Cascader.d.ts +179 -0
  7. package/dist/config/Cascader.js +208 -0
  8. package/dist/config/Checkbox.d.ts +161 -0
  9. package/dist/config/Checkbox.js +161 -0
  10. package/dist/config/CheckboxGroup.d.ts +176 -0
  11. package/dist/config/CheckboxGroup.js +184 -0
  12. package/dist/config/Collapse.d.ts +170 -0
  13. package/dist/config/Collapse.js +308 -0
  14. package/dist/config/Container.d.ts +268 -0
  15. package/dist/config/Container.js +288 -0
  16. package/dist/config/DatePicker.d.ts +163 -0
  17. package/dist/config/DatePicker.js +163 -0
  18. package/dist/config/Description.d.ts +97 -0
  19. package/dist/config/Description.js +117 -0
  20. package/dist/config/Divider.d.ts +61 -0
  21. package/dist/config/Divider.js +61 -0
  22. package/dist/config/Form.d.ts +2700 -0
  23. package/dist/config/Form.js +1214 -0
  24. package/dist/config/Icon.d.ts +51 -0
  25. package/dist/config/Icon.js +51 -0
  26. package/dist/config/Input.d.ts +150 -0
  27. package/dist/config/Input.js +150 -0
  28. package/dist/config/InputNumber.d.ts +145 -0
  29. package/dist/config/InputNumber.js +145 -0
  30. package/dist/config/Link.d.ts +123 -0
  31. package/dist/config/Link.js +115 -0
  32. package/dist/config/MultipleSelect.d.ts +158 -0
  33. package/dist/config/MultipleSelect.js +166 -0
  34. package/dist/config/Radio.d.ts +171 -0
  35. package/dist/config/Radio.js +179 -0
  36. package/dist/config/RangePicker.d.ts +165 -0
  37. package/dist/config/RangePicker.js +165 -0
  38. package/dist/config/Select.d.ts +173 -0
  39. package/dist/config/Select.js +181 -0
  40. package/dist/config/StdUpload.d.ts +204 -0
  41. package/dist/config/StdUpload.js +208 -0
  42. package/dist/config/Switch.d.ts +137 -0
  43. package/dist/config/Switch.js +137 -0
  44. package/dist/config/Table.d.ts +398 -0
  45. package/dist/config/Table.js +527 -0
  46. package/dist/config/Tabs.d.ts +170 -0
  47. package/dist/config/Tabs.js +229 -0
  48. package/dist/config/Tag.d.ts +114 -0
  49. package/dist/config/Tag.js +314 -0
  50. package/dist/config/Text.d.ts +30 -0
  51. package/dist/config/Text.js +30 -0
  52. package/dist/config/TextArea.d.ts +142 -0
  53. package/dist/config/TextArea.js +142 -0
  54. package/dist/config/TimePicker.d.ts +164 -0
  55. package/dist/config/TimePicker.js +164 -0
  56. package/dist/config/Tree.d.ts +131 -0
  57. package/dist/config/Tree.js +175 -0
  58. package/dist/config/TreeSelect.d.ts +180 -0
  59. package/dist/config/TreeSelect.js +196 -0
  60. package/dist/css.d.ts +6 -0
  61. package/dist/css.js +121 -0
  62. package/dist/demo.d.ts +5 -0
  63. package/dist/demo.js +79 -0
  64. package/dist/h5config/Accordion.d.ts +338 -0
  65. package/dist/h5config/Accordion.js +445 -0
  66. package/dist/h5config/Button.d.ts +134 -0
  67. package/dist/h5config/Button.js +245 -0
  68. package/dist/h5config/Card.d.ts +268 -0
  69. package/dist/h5config/Card.js +425 -0
  70. package/dist/h5config/DAddressPicker.d.ts +196 -0
  71. package/dist/h5config/DAddressPicker.js +226 -0
  72. package/dist/h5config/DCheckbox.d.ts +203 -0
  73. package/dist/h5config/DCheckbox.js +237 -0
  74. package/dist/h5config/DForm.d.ts +1607 -0
  75. package/dist/h5config/DForm.js +897 -0
  76. package/dist/h5config/DMultiplePicker.d.ts +197 -0
  77. package/dist/h5config/DMultiplePicker.js +231 -0
  78. package/dist/h5config/DformDate.d.ts +199 -0
  79. package/dist/h5config/DformDate.js +229 -0
  80. package/dist/h5config/DformFile.d.ts +186 -0
  81. package/dist/h5config/DformFile.js +198 -0
  82. package/dist/h5config/DformImagePicker.d.ts +138 -0
  83. package/dist/h5config/DformImagePicker.js +150 -0
  84. package/dist/h5config/DformInput.d.ts +188 -0
  85. package/dist/h5config/DformInput.js +218 -0
  86. package/dist/h5config/DformInputNumber.d.ts +173 -0
  87. package/dist/h5config/DformInputNumber.js +203 -0
  88. package/dist/h5config/DformPicker.d.ts +198 -0
  89. package/dist/h5config/DformPicker.js +232 -0
  90. package/dist/h5config/DformRadio.d.ts +203 -0
  91. package/dist/h5config/DformRadio.js +237 -0
  92. package/dist/h5config/DformRangePicker.d.ts +199 -0
  93. package/dist/h5config/DformRangePicker.js +229 -0
  94. package/dist/h5config/DformSelect.d.ts +208 -0
  95. package/dist/h5config/DformSelect.js +260 -0
  96. package/dist/h5config/DformSwitch.d.ts +146 -0
  97. package/dist/h5config/DformSwitch.js +158 -0
  98. package/dist/h5config/DformTextArea.d.ts +184 -0
  99. package/dist/h5config/DformTextArea.js +214 -0
  100. package/dist/h5config/Divider.d.ts +53 -0
  101. package/dist/h5config/Divider.js +90 -0
  102. package/dist/h5config/FilterItems.d.ts +142 -0
  103. package/dist/h5config/FilterItems.js +181 -0
  104. package/dist/h5config/Grid.d.ts +117 -0
  105. package/dist/h5config/Grid.js +154 -0
  106. package/dist/h5config/Icon.d.ts +54 -0
  107. package/dist/h5config/Icon.js +54 -0
  108. package/dist/h5config/Link.d.ts +47 -0
  109. package/dist/h5config/Link.js +47 -0
  110. package/dist/h5config/LoadMore.d.ts +527 -0
  111. package/dist/h5config/LoadMore.js +940 -0
  112. package/dist/h5config/NoticeBarPlus.d.ts +104 -0
  113. package/dist/h5config/NoticeBarPlus.js +129 -0
  114. package/dist/h5config/SearchView.d.ts +128 -0
  115. package/dist/h5config/SearchView.js +163 -0
  116. package/dist/h5config/StaticTabs.d.ts +133 -0
  117. package/dist/h5config/StaticTabs.js +173 -0
  118. package/dist/h5config/Table.d.ts +182 -0
  119. package/dist/h5config/Table.js +566 -0
  120. package/dist/index.d.ts +4 -0
  121. package/dist/index.js +4 -0
  122. package/dist/lx-mobile.d.ts +9 -0
  123. package/dist/lx-mobile.js +153 -0
  124. package/dist/lx.d.ts +6 -0
  125. package/dist/lx.js +112 -0
  126. package/dist/utils.d.ts +12 -0
  127. package/dist/utils.js +65 -0
  128. package/package.json +38 -0
@@ -0,0 +1,897 @@
1
+ export var DForm = {
2
+ type: 'DForm',
3
+ variable: {
4
+ backgroundColor: {
5
+ type: 'color',
6
+ label: '背景颜色',
7
+ groupsName: '背景颜色'
8
+ },
9
+ labelTextColor: {
10
+ type: 'color',
11
+ label: '标签文本颜色',
12
+ groupsName: '标签',
13
+ desc: '对所有[表单]类型组件生效'
14
+ },
15
+ labelLineHeight: {
16
+ type: 'px',
17
+ label: '标签文本行高',
18
+ groupsName: '标签',
19
+ desc: '对所有[表单]类型组件生效'
20
+ },
21
+ labelFontSize: {
22
+ type: 'px',
23
+ label: '标签文本尺寸',
24
+ groupsName: '标签',
25
+ desc: '对所有[表单]类型组件生效'
26
+ },
27
+ labelFontWeight: {
28
+ type: 'select',
29
+ label: '标签文本字重',
30
+ groupsName: '标签',
31
+ options: [{
32
+ title: '100',
33
+ value: '100'
34
+ }, {
35
+ title: '200',
36
+ value: '200'
37
+ }, {
38
+ title: '300',
39
+ value: '300'
40
+ }, {
41
+ title: '400',
42
+ value: '400'
43
+ }, {
44
+ title: '500',
45
+ value: '500'
46
+ }],
47
+ desc: '对所有[表单]类型组件生效'
48
+ },
49
+ textColor: {
50
+ type: 'color',
51
+ label: '文本颜色',
52
+ groupsName: '组件',
53
+ desc: '对所有[表单]类型组件生效'
54
+ },
55
+ fontSize: {
56
+ type: 'px',
57
+ label: '文本尺寸',
58
+ groupsName: '组件',
59
+ desc: '对所有[表单]类型组件生效'
60
+ },
61
+ lineHeight: {
62
+ type: 'px',
63
+ label: '文本行高',
64
+ groupsName: '组件',
65
+ desc: '对所有[表单]类型组件生效'
66
+ },
67
+ fontWeight: {
68
+ type: 'select',
69
+ label: '文本字重',
70
+ groupsName: '组件',
71
+ options: [{
72
+ title: '100',
73
+ value: '100'
74
+ }, {
75
+ title: '200',
76
+ value: '200'
77
+ }, {
78
+ title: '300',
79
+ value: '300'
80
+ }, {
81
+ title: '400',
82
+ value: '400'
83
+ }, {
84
+ title: '500',
85
+ value: '500'
86
+ }],
87
+ desc: '对所有[表单]类型组件生效'
88
+ },
89
+ iconColor: {
90
+ type: 'color',
91
+ label: '后缀图标颜色',
92
+ groupsName: '图标',
93
+ desc: '对所有[选项类][表单]类型组件生效'
94
+ },
95
+ iconSize: {
96
+ type: 'px',
97
+ label: '后缀图标尺寸',
98
+ groupsName: '图标',
99
+ desc: '对所有[选项类][表单]类型组件生效'
100
+ },
101
+ // itemBorderColor: {
102
+ // type: 'color',
103
+ // label: '组件边框颜色',
104
+ // groupsName: '组件',
105
+ // desc: '对所有[表单]类型组件生效',
106
+ // },
107
+ // itemBorderRadius: {
108
+ // type: 'px',
109
+ // label: '组件边框圆角',
110
+ // groupsName: '组件',
111
+ // desc: '对所有[表单]类型组件生效',
112
+ // },
113
+ paddingValue: {
114
+ type: 'marginInput',
115
+ label: '内边距',
116
+ groupsName: '组件',
117
+ desc: '对所有[表单]类型组件生效'
118
+ },
119
+ headTextAlign: {
120
+ type: 'select',
121
+ label: '文字对齐方式',
122
+ groupsName: '组件',
123
+ desc: '对所有[表单]类型组件生效',
124
+ options: [{
125
+ title: 'left',
126
+ value: 'left'
127
+ }, {
128
+ title: 'center',
129
+ value: 'center'
130
+ }, {
131
+ title: 'right',
132
+ value: 'right'
133
+ }]
134
+ }
135
+ },
136
+ groupsName: '容器',
137
+ icon: 'icon-ico-comp-app-DForm',
138
+ title: '表单',
139
+ defaultValue: [{
140
+ backgroundColor: 'rgba(0,0,0,0)',
141
+ labelTextColor: '#1C242E',
142
+ labelLineHeight: '100%',
143
+ labelFontSize: '16px',
144
+ labelFontWeight: '400',
145
+ textColor: '#1C242E',
146
+ fontSize: '16px',
147
+ lineHeight: '100%',
148
+ fontWeight: '400',
149
+ paddingValue: '0',
150
+ headTextAlign: 'right',
151
+ iconColor: 'rgba(0, 0, 0, 0.45)',
152
+ iconSize: '16px'
153
+ }],
154
+ tpl: "\n .dynamic-form-wrapper{\n background-color: backgroundColor;\n --color: textColor;\n --font-size: fontSize;\n }\n .adm-text-area{\n --color: textColor;\n --font-size: fontSize;\n }\n .lingxiteam-dform-title {\n color: labelTextColor;\n font-size: labelFontSize !important;\n line-height: labelLineHeight;\n font-weight: labelFontWeight;\n text-align: headTextAlign;\n}\n.lingxiteam-dform-input-item-value input{\n color: textColor;\n line-height: lineHeight;\n font-weight: fontWeight;\n padding: paddingValue;\n text-align: headTextAlign;\n font-size: fontSize;\n}\n.lingxiteam-dform-radio-label{\n color: textColor;\n line-height: lineHeight;\n font-weight: fontWeight;\n padding: paddingValue;\n text-align: headTextAlign;\n font-size: fontSize;\n\n}\n.lingxiteam-dform-check-box .lingxiteam-dform-box-content .lingxiteam-dform-box-wrapper .lingxiteam-dform-box-label{\n color: textColor;\n line-height: lineHeight;\n font-weight: fontWeight;\n text-align: headTextAlign;\n font-size: fontSize;\n\n}\n.lingxiteam-dform-text-item-content .lingxiteam-dform-text-item-text{\n color: textColor;\n line-height: lineHeight;\n font-size: fontSize;\n text-align: headTextAlign;\n padding: paddingValue;\n font-weight: fontWeight;\n}\n.lingxiteam-dform-text-item-content .lingxiteam-dform-text-item-date-text{\n color: textColor;\n line-height: lineHeight;\n font-size: fontSize;\n text-align: headTextAlign;\n padding: paddingValue;\n font-weight: fontWeight;\n}\n.lingxiteam-dform-rangdate-h-value{\n color: textColor;\n line-height: lineHeight;\n text-align: headTextAlign;\n font-size: fontSize;\n padding: paddingValue;\n font-weight: fontWeight;\n}\n.lingxiteam-dform-area-group-value-area textarea{\n line-height: lineHeight;\n padding: paddingValue;\n font-weight: fontWeight;\n font-size: fontSize;\n color: textColor;\n text-align: headTextAlign;\n\n}\n.cust-icon{\n width: iconSize;\n height: iconSize;\n}\n.cust-icon svg{\n color: iconColor;\n fill: iconColor;\n width: iconSize;\n height: iconSize;\n}\n.lingxiteam-dform-right-content{\n width: iconSize;\n height: iconSize;\n overflow: hidden;\n}\n.lingxiteam-dform-arrow-horizontal{\n background-image: none;\n width: iconSize;\n height: iconSize;\n position: relative;\n}\n.lingxiteam-dform-arrow-horizontal::before {\n content: \"\";\n position: absolute;\n top: 0;\n left: 0;\n width: iconSize;\n height: iconSize;\nbackground-image: url(\"data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2216%22%20height%3D%2226%22%20viewBox%3D%220%200%2016%2026%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%3Cg%20id%3D%22UI-KIT_%E5%9F%BA%E7%A1%80%E5%85%83%E4%BB%B6%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Cg%20id%3D%229.9%E5%9F%BA%E7%A1%80%E5%85%83%E4%BB%B6%22%20transform%3D%22translate%28-5809.000000%2C%20-8482.000000%29%22%20fill%3D%22%23C7C7CC%22%3E%3Cpolygon%20id%3D%22Disclosure-Indicator%22%20points%3D%225811%208482%205809%208484%205820.5%208495%205809%208506%205811%208508%205825%208495%22%3E%3C%2Fpolygon%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E\");\nbackground-repeat: round;\ntransform: translateX(-100%);\nbackground-size: 100%;\n filter: drop-shadow(iconSize 0 iconColor);\n}",
155
+ components: [{
156
+ id: 'DForm_458695',
157
+ label: '表单',
158
+ compName: 'DForm',
159
+ type: 'DForm',
160
+ compType: 2,
161
+ compLib: '@/components',
162
+ props: {
163
+ name: '表单',
164
+ formCode: 'DForm_458695',
165
+ autoLineFeed: true,
166
+ failScroll: true,
167
+ errorFlag: true,
168
+ hiddenBorder: '0',
169
+ itemHasStar: true
170
+ },
171
+ style: {
172
+ width: 'auto'
173
+ },
174
+ isContainer: true,
175
+ isBusiObjContainer: true,
176
+ cmdgroup: ['basic'],
177
+ platform: 'h5',
178
+ setEvents: [],
179
+ description: '',
180
+ image: '',
181
+ groupsName: '容器',
182
+ icon: 'DForm',
183
+ isLabelDropBoxChild: false,
184
+ components: [{
185
+ id: 'DformTextArea_01195293',
186
+ label: '多行输入',
187
+ compName: 'DformTextArea',
188
+ type: 'DformTextArea',
189
+ compType: 2,
190
+ compLib: '@/components',
191
+ props: {
192
+ name: '多行输入',
193
+ rows: 3,
194
+ dformType: 'DformTextArea',
195
+ title: '多行输入',
196
+ placeholder: '请输入',
197
+ positionType: 'horizontal',
198
+ status: '1',
199
+ fieldProps: 'wdwq'
200
+ },
201
+ style: {
202
+ inputContent: '1'
203
+ },
204
+ isContainer: false,
205
+ isBusiObjContainer: false,
206
+ cmdgroup: ['basic'],
207
+ platform: 'h5',
208
+ setEvents: [],
209
+ description: '',
210
+ image: '',
211
+ groupsName: '表单',
212
+ fieldProps: {
213
+ trigger: 'onChange',
214
+ valuePropName: 'defaultValue'
215
+ },
216
+ engineApi: ['downloadFileByFileCode', 'getMaterialFile'],
217
+ isAppChildForm: true,
218
+ isLabelDropBoxChild: false,
219
+ components: [],
220
+ path: ['769713', 'View_769713_1', 'DForm_458695']
221
+ }, {
222
+ id: 'DCheckbox_28916',
223
+ label: '复选框',
224
+ compName: 'DCheckbox',
225
+ type: 'DCheckbox',
226
+ compType: 2,
227
+ compLib: '@/components',
228
+ props: {
229
+ name: '复选框',
230
+ positionType: 'vertical',
231
+ titleIcon: 'none',
232
+ itemType: 'square',
233
+ chunk: 1,
234
+ canSelectAll: false,
235
+ title: '标题',
236
+ dformType: 'DCheckbox',
237
+ status: '1',
238
+ options: [{
239
+ label: '选项1',
240
+ value: 'options1',
241
+ id: 'options1'
242
+ }, {
243
+ label: '选项2',
244
+ value: 'options2',
245
+ id: 'options2'
246
+ }],
247
+ fieldProps: 'qwe'
248
+ },
249
+ style: {
250
+ lineHeight: '24px'
251
+ },
252
+ isContainer: false,
253
+ isBusiObjContainer: false,
254
+ cmdgroup: ['basic'],
255
+ platform: 'h5',
256
+ fieldProps: {
257
+ trigger: 'onChange',
258
+ valuePropName: 'defaultValue'
259
+ },
260
+ engineApi: ['downloadFileByFileCode', 'getMaterialFile'],
261
+ setEvents: [],
262
+ description: '',
263
+ image: '',
264
+ groupsName: '表单',
265
+ isAppChildForm: true,
266
+ isLabelDropBoxChild: false,
267
+ components: [],
268
+ path: ['769713', 'View_769713_1', 'DForm_458695']
269
+ }, {
270
+ id: 'DformImagePicker_781976',
271
+ label: '上传图片',
272
+ compName: 'DformImagePicker',
273
+ type: 'DformImagePicker',
274
+ compType: 2,
275
+ compLib: '@/components',
276
+ props: {
277
+ name: '上传图片',
278
+ length: 4,
279
+ limitSize: '10MB',
280
+ isFilespreview: true,
281
+ selectable: true,
282
+ disableDelete: true,
283
+ titleIcon: 'none',
284
+ uploadType: 'fileType',
285
+ dformType: 'DformImagePicker',
286
+ title: '上传图片',
287
+ maxLength: 5,
288
+ status: '1',
289
+ capture: 'system',
290
+ fieldProps: 'wed'
291
+ },
292
+ style: {},
293
+ isContainer: false,
294
+ isBusiObjContainer: false,
295
+ cmdgroup: ['basic'],
296
+ platform: 'h5',
297
+ setEvents: [],
298
+ description: '',
299
+ image: '',
300
+ groupsName: '表单',
301
+ fieldProps: {
302
+ trigger: 'onChange',
303
+ valuePropName: 'defaultValue'
304
+ },
305
+ engineApi: ['downloadByFileId', 'downloadFileByFileCode', 'downFieldPrefix', 'http', 'getMaterialFile'],
306
+ isAppChildForm: true,
307
+ isLabelDropBoxChild: false,
308
+ components: [],
309
+ path: ['769713', 'View_769713_1', 'DForm_333712']
310
+ }, {
311
+ id: 'DformFile_7403176',
312
+ label: '上传附件',
313
+ compName: 'DformFile',
314
+ type: 'DformFile',
315
+ compType: 2,
316
+ compLib: '@/components',
317
+ props: {
318
+ name: '上传附件',
319
+ hasTitleIcon: 'none',
320
+ listStyle: 'text',
321
+ isWatermark: false,
322
+ dformType: 'DformFile',
323
+ title: '上传附件',
324
+ placeholder: '请输入',
325
+ positionType: 'vertical',
326
+ status: '1',
327
+ filesDownloaded: false,
328
+ alias: {
329
+ title: 'fileName',
330
+ id: 'fileId'
331
+ },
332
+ deleteBtn: {
333
+ btnText: '删除',
334
+ checked: true,
335
+ icon: {
336
+ type: 'close',
337
+ theme: 'outlined',
338
+ fontAddress: '',
339
+ isIconFont: false,
340
+ iconFileInfo: {}
341
+ }
342
+ },
343
+ downloadBtn: {
344
+ btnText: '下载',
345
+ checked: true,
346
+ icon: {
347
+ type: 'download',
348
+ theme: 'outlined',
349
+ fontAddress: '',
350
+ isIconFont: false,
351
+ iconFileInfo: {}
352
+ }
353
+ },
354
+ previewBtn: {
355
+ btnText: '预览',
356
+ checked: true,
357
+ icon: {
358
+ type: 'eye',
359
+ theme: 'outlined',
360
+ fontAddress: '',
361
+ isIconFont: false,
362
+ iconFileInfo: {}
363
+ }
364
+ },
365
+ numberLimit: 5,
366
+ singleFileMaxSize: '50MB',
367
+ btnIcon: {
368
+ type: 'upload',
369
+ theme: 'outlined',
370
+ fontAddress: '',
371
+ isIconFont: false,
372
+ iconFileInfo: {}
373
+ },
374
+ uploadStyle: 'button',
375
+ uploadBtnStyle: 'text',
376
+ showBtnIcon: false,
377
+ iconPosition: 'left',
378
+ btnText: '上传附件',
379
+ fieldProps: 'dssd'
380
+ },
381
+ style: {},
382
+ isContainer: false,
383
+ isBusiObjContainer: false,
384
+ cmdgroup: ['basic'],
385
+ platform: 'h5',
386
+ fieldProps: {
387
+ trigger: 'onChange',
388
+ valuePropName: 'defaultValue'
389
+ },
390
+ engineApi: ['downloadByFileId', 'downFieldPrefix', 'http', 'BannerModal', 'downloadFileByFileCode', 'getMaterialFile'],
391
+ setEvents: [],
392
+ description: '',
393
+ image: '',
394
+ groupsName: '表单',
395
+ isAppChildForm: true,
396
+ isLabelDropBoxChild: false,
397
+ components: [],
398
+ path: ['769713', 'View_769713_1', 'DForm_7287887']
399
+ }, {
400
+ id: 'DformSelect_016298',
401
+ label: '多列选择',
402
+ compName: 'DformSelect',
403
+ type: 'DformSelect',
404
+ compType: 2,
405
+ compLib: '@/components',
406
+ props: {
407
+ name: '多列选择',
408
+ titleIcon: 'none',
409
+ postfix: '',
410
+ postfixIconPosition: 'before',
411
+ dformType: 'DformSelect',
412
+ data: [],
413
+ title: '多列选择器',
414
+ placeholder: '请选择',
415
+ positionType: 'horizontal',
416
+ status: '1',
417
+ icon: {
418
+ isIconFont: false,
419
+ theme: 'outlined',
420
+ type: 'right'
421
+ },
422
+ fieldProps: 'qwed',
423
+ options: [{
424
+ label: '标题',
425
+ key: '123176',
426
+ $$isParent: true,
427
+ title: '标题',
428
+ children: [{
429
+ label: '标题',
430
+ key: '045079',
431
+ title: '标题',
432
+ value: '045079'
433
+ }, {
434
+ label: '标题',
435
+ key: '9057055',
436
+ title: '标题',
437
+ value: '9057055'
438
+ }],
439
+ value: '123176'
440
+ }, {
441
+ label: '标题',
442
+ key: '638287',
443
+ $$isParent: true,
444
+ title: '标题',
445
+ children: [{
446
+ label: '标题',
447
+ key: '879889',
448
+ title: '标题',
449
+ value: '879889'
450
+ }, {
451
+ label: '标题',
452
+ key: '672462',
453
+ title: '标题',
454
+ value: '672462'
455
+ }],
456
+ value: '638287'
457
+ }]
458
+ },
459
+ style: {
460
+ textAlign: 'right'
461
+ },
462
+ isContainer: false,
463
+ isBusiObjContainer: false,
464
+ cmdgroup: ['basic'],
465
+ platform: 'h5',
466
+ engineApi: ['downloadFileByFileCode', 'getMaterialFile'],
467
+ setEvents: [],
468
+ description: '',
469
+ image: '',
470
+ groupsName: '表单',
471
+ fieldProps: {
472
+ trigger: 'onChange',
473
+ valuePropName: 'defaultValue'
474
+ },
475
+ isAppChildForm: true,
476
+ isLabelDropBoxChild: false,
477
+ components: [],
478
+ path: ['769713', 'View_769713_1', 'DForm_458695']
479
+ }, {
480
+ id: 'DformSwitch_782373',
481
+ label: '滑动开关',
482
+ compName: 'DformSwitch',
483
+ type: 'DformSwitch',
484
+ compType: 2,
485
+ compLib: '@/components',
486
+ props: {
487
+ name: '开关',
488
+ openText: '开启',
489
+ closeText: '关闭',
490
+ openIcon: {
491
+ isIconFont: false,
492
+ theme: 'outlined',
493
+ type: 'check'
494
+ },
495
+ closeIcon: {
496
+ isIconFont: false,
497
+ theme: 'outlined',
498
+ type: 'close'
499
+ },
500
+ dformType: 'DformSwitch',
501
+ title: '开关',
502
+ placeholder: '请选择',
503
+ defaultValue: false,
504
+ status: '1',
505
+ switchType: 'normal',
506
+ fieldProps: 'qweds'
507
+ },
508
+ style: {},
509
+ isContainer: false,
510
+ isBusiObjContainer: false,
511
+ cmdgroup: ['basic'],
512
+ platform: 'h5',
513
+ fieldProps: {
514
+ trigger: 'onChange',
515
+ valuePropName: 'defaultValue'
516
+ },
517
+ engineApi: ['downloadFileByFileCode', 'getMaterialFile'],
518
+ setEvents: [],
519
+ description: '',
520
+ image: '',
521
+ groupsName: '表单',
522
+ isAppChildForm: true,
523
+ isLabelDropBoxChild: false,
524
+ components: [],
525
+ path: ['769713', 'View_769713_1', 'DForm_458695']
526
+ }, {
527
+ id: 'DformRangePicker_245198',
528
+ label: '时间段选择',
529
+ compName: 'DformRangePicker',
530
+ type: 'DformRangePicker',
531
+ compType: 2,
532
+ compLib: '@/components',
533
+ props: {
534
+ name: '时间段选择',
535
+ separatorStr: '~',
536
+ positionType: 'horizontal',
537
+ hasTitleIcon: 'none',
538
+ title: '时间段选择',
539
+ dformType: 'DformRangePicker',
540
+ status: '1',
541
+ selectType: 'multiple',
542
+ optionsLayout: 'horizontal',
543
+ formatter: 'YYYY-MM-DD',
544
+ modeType: 'date',
545
+ inputContent: '1',
546
+ fieldProps: 'asdsa'
547
+ },
548
+ style: {
549
+ inputContent: '1'
550
+ },
551
+ isContainer: false,
552
+ isBusiObjContainer: false,
553
+ cmdgroup: ['basic'],
554
+ platform: 'h5',
555
+ setEvents: [],
556
+ description: '',
557
+ image: '',
558
+ groupsName: '表单',
559
+ fieldProps: {
560
+ trigger: 'onChange',
561
+ valuePropName: 'defaultValue'
562
+ },
563
+ engineApi: ['downloadFileByFileCode', 'getMaterialFile'],
564
+ isAppChildForm: true,
565
+ isLabelDropBoxChild: false,
566
+ components: [],
567
+ path: ['769713', 'View_769713_1', 'DForm_458695']
568
+ }, {
569
+ id: 'DformDate_746611',
570
+ label: '时间选择',
571
+ compName: 'DformDate',
572
+ type: 'DformDate',
573
+ compType: 2,
574
+ compLib: '@/components',
575
+ props: {
576
+ name: '时间选择',
577
+ titleIcon: 'none',
578
+ postfix: '',
579
+ postfixIconPosition: 'before',
580
+ title: '时间选择',
581
+ dformType: 'DformDate',
582
+ positionType: 'horizontal',
583
+ status: '1',
584
+ modeType: 'date',
585
+ chooseType: 'DatePicker',
586
+ replaceName: {
587
+ 年: '-',
588
+ 月: '-',
589
+ 日: ''
590
+ },
591
+ icon: {
592
+ isIconFont: false,
593
+ theme: 'outlined',
594
+ type: 'right'
595
+ },
596
+ formatter: 'YYYY-MM-DD',
597
+ fieldProps: 'asds'
598
+ },
599
+ style: {},
600
+ isContainer: false,
601
+ isBusiObjContainer: false,
602
+ cmdgroup: ['basic'],
603
+ platform: 'h5',
604
+ fieldProps: {
605
+ trigger: 'onChange',
606
+ valuePropName: 'defaultValue'
607
+ },
608
+ engineApi: ['downloadFileByFileCode', 'getMaterialFile'],
609
+ setEvents: [],
610
+ description: '',
611
+ image: '',
612
+ groupsName: '表单',
613
+ isAppChildForm: true,
614
+ isLabelDropBoxChild: false,
615
+ components: [],
616
+ path: ['769713', 'View_769713_1', 'DForm_458695']
617
+ }, {
618
+ id: 'DAddressPicker_941501',
619
+ label: '地址',
620
+ compName: 'DAddressPicker',
621
+ type: 'DAddressPicker',
622
+ compType: 2,
623
+ compLib: '@/components',
624
+ props: {
625
+ name: '地址选择',
626
+ placeholder: '请选择',
627
+ status: '1',
628
+ positionType: 'horizontal',
629
+ titleIcon: 'none',
630
+ postfix: '',
631
+ postfixIconPosition: 'before',
632
+ title: '地址选择',
633
+ dformType: 'DAddressPicker',
634
+ placeholderList: ['请选择省', '请选择市', '请选择区'],
635
+ alias: {
636
+ label: 'title'
637
+ },
638
+ icon: {
639
+ isIconFont: false,
640
+ theme: 'outlined',
641
+ type: 'right'
642
+ },
643
+ fieldProps: 'dassf'
644
+ },
645
+ style: {},
646
+ isContainer: false,
647
+ isBusiObjContainer: false,
648
+ cmdgroup: ['basic'],
649
+ platform: 'h5',
650
+ fieldProps: {
651
+ trigger: 'onChange',
652
+ valuePropName: 'defaultValue'
653
+ },
654
+ engineApi: ['downloadFileByFileCode', 'getMaterialFile', 'service.commonFetch'],
655
+ setEvents: [],
656
+ description: '',
657
+ image: '',
658
+ groupsName: '表单',
659
+ isAppChildForm: true,
660
+ isLabelDropBoxChild: false,
661
+ components: [],
662
+ path: ['769713', 'View_769713_1', 'DForm_458695']
663
+ }, {
664
+ id: 'DMultiplePicker_919181',
665
+ label: '多项选择',
666
+ compName: 'DMultiplePicker',
667
+ type: 'DMultiplePicker',
668
+ compType: 2,
669
+ compLib: '@/components',
670
+ props: {
671
+ name: '多项选择',
672
+ valueType: 'ellipsis',
673
+ titleIcon: 'none',
674
+ postfix: '',
675
+ postfixIconPosition: 'before',
676
+ title: '多项选择',
677
+ dformType: 'DMultiplePicker',
678
+ positionType: 'horizontal',
679
+ status: '1',
680
+ options: [{
681
+ label: '选项1',
682
+ value: 'options1',
683
+ id: 'options1'
684
+ }, {
685
+ label: '选项2',
686
+ value: 'options2',
687
+ id: 'options2'
688
+ }],
689
+ icon: {
690
+ isIconFont: false,
691
+ theme: 'outlined',
692
+ type: 'right'
693
+ },
694
+ fieldProps: 'fecss'
695
+ },
696
+ style: {},
697
+ isContainer: false,
698
+ isBusiObjContainer: false,
699
+ cmdgroup: ['basic'],
700
+ platform: 'h5',
701
+ fieldProps: {
702
+ trigger: 'onChange',
703
+ valuePropName: 'defaultValue'
704
+ },
705
+ engineApi: ['downloadFileByFileCode', 'getMaterialFile'],
706
+ setEvents: [],
707
+ description: '',
708
+ image: '',
709
+ groupsName: '表单',
710
+ isAppChildForm: true,
711
+ isLabelDropBoxChild: false,
712
+ components: [],
713
+ path: ['769713', 'View_769713_1', 'DForm_458695']
714
+ }, {
715
+ id: 'DformPicker_0455286',
716
+ label: '单项选择',
717
+ compName: 'DformPicker',
718
+ type: 'DformPicker',
719
+ compType: 2,
720
+ compLib: '@/components',
721
+ props: {
722
+ name: '单项选择',
723
+ titleIcon: 'none',
724
+ postfix: '',
725
+ postfixIconPosition: 'before',
726
+ filter: 'none',
727
+ title: '单项选择',
728
+ dformType: 'DformPicker',
729
+ positionType: 'horizontal',
730
+ status: '1',
731
+ options: [{
732
+ label: '选项1',
733
+ value: 'options1',
734
+ id: 'options1'
735
+ }, {
736
+ label: '选项2',
737
+ value: 'options2',
738
+ id: 'options2'
739
+ }],
740
+ placeholder: '请选择',
741
+ icon: {
742
+ isIconFont: false,
743
+ theme: 'outlined',
744
+ type: 'right'
745
+ },
746
+ fieldProps: 'gdf'
747
+ },
748
+ style: {},
749
+ isContainer: false,
750
+ isBusiObjContainer: false,
751
+ cmdgroup: ['basic'],
752
+ platform: 'h5',
753
+ fieldProps: {
754
+ trigger: 'onChange',
755
+ valuePropName: 'defaultValue'
756
+ },
757
+ engineApi: ['downloadFileByFileCode', 'getMaterialFile'],
758
+ setEvents: [],
759
+ description: '',
760
+ image: '',
761
+ groupsName: '表单',
762
+ isAppChildForm: true,
763
+ isLabelDropBoxChild: false,
764
+ components: [],
765
+ path: ['769713', 'View_769713_1', 'DForm_458695']
766
+ }, {
767
+ id: 'DformInputNumber_969091',
768
+ label: '数字输入',
769
+ compName: 'DformInputNumber',
770
+ type: 'DformInputNumber',
771
+ compType: 2,
772
+ compLib: '@/components',
773
+ props: {
774
+ name: '数字输入',
775
+ positionType: 'horizontal',
776
+ titleIcon: 'none',
777
+ dformType: 'DformInputNumber',
778
+ title: '数字输入',
779
+ placeholder: '请输入',
780
+ clear: true,
781
+ status: '1',
782
+ inputType: 'text',
783
+ formatting: '',
784
+ fieldProps: 'erfd'
785
+ },
786
+ style: {},
787
+ isContainer: false,
788
+ isBusiObjContainer: false,
789
+ cmdgroup: ['basic'],
790
+ platform: 'h5',
791
+ icon: 'DformInputNumber',
792
+ setEvents: [],
793
+ fieldProps: {
794
+ trigger: 'onChange',
795
+ valuePropName: 'defaultValue'
796
+ },
797
+ engineApi: ['downloadFileByFileCode', 'getMaterialFile'],
798
+ description: '',
799
+ image: '',
800
+ groupsName: '表单',
801
+ isAppChildForm: true,
802
+ isLabelDropBoxChild: false,
803
+ components: [],
804
+ path: ['769713', 'View_769713_1', 'DForm_458695']
805
+ }, {
806
+ id: 'DformRadio_71564',
807
+ label: '单选框',
808
+ compName: 'DformRadio',
809
+ type: 'DformRadio',
810
+ compType: 2,
811
+ compLib: '@/components',
812
+ props: {
813
+ name: '单选框',
814
+ positionType: 'horizontal',
815
+ titleIcon: 'none',
816
+ radioType: 'horizontal',
817
+ radioPosition: 'left',
818
+ selectedType: 'roundDot',
819
+ chunk: 2,
820
+ title: '单选框',
821
+ defaultValue: 'man',
822
+ dformType: 'DformRadio',
823
+ status: '1',
824
+ options: [{
825
+ id: '1',
826
+ label: '男',
827
+ value: 'man'
828
+ }, {
829
+ id: '2',
830
+ label: '女',
831
+ value: 'woman'
832
+ }],
833
+ fieldProps: 'bvfc'
834
+ },
835
+ style: {},
836
+ isContainer: false,
837
+ isBusiObjContainer: false,
838
+ cmdgroup: ['basic'],
839
+ platform: 'h5',
840
+ fieldProps: {
841
+ trigger: 'onChange',
842
+ valuePropName: 'defaultValue'
843
+ },
844
+ engineApi: ['downloadFileByFileCode', 'getMaterialFile'],
845
+ setEvents: [],
846
+ description: '',
847
+ image: '',
848
+ groupsName: '表单',
849
+ isAppChildForm: true,
850
+ isLabelDropBoxChild: false,
851
+ components: [],
852
+ path: ['769713', 'View_769713_1', 'DForm_458695']
853
+ }, {
854
+ id: 'DformInput_618494',
855
+ label: '单行输入',
856
+ compName: 'DformInput',
857
+ type: 'DformInput',
858
+ compType: 2,
859
+ compLib: '@/components',
860
+ props: {
861
+ name: '单行输入',
862
+ postfix: '',
863
+ postfixIconPosition: 'before',
864
+ dformType: 'DformInput',
865
+ title: '标题',
866
+ placeholder: '请输入',
867
+ clear: true,
868
+ positionType: 'horizontal',
869
+ status: '1',
870
+ inputType: 'text',
871
+ fieldProps: 'fddg'
872
+ },
873
+ style: {
874
+ inputContent: '1',
875
+ inputBorderRadius: '4px 4px 4px 4px'
876
+ },
877
+ isContainer: false,
878
+ isBusiObjContainer: false,
879
+ cmdgroup: ['basic'],
880
+ platform: 'h5',
881
+ setEvents: [],
882
+ description: '',
883
+ image: '',
884
+ groupsName: '表单',
885
+ isAppChildForm: true,
886
+ fieldProps: {
887
+ trigger: 'onChange',
888
+ valuePropName: 'defaultValue'
889
+ },
890
+ engineApi: ['downloadFileByFileCode', 'getMaterialFile'],
891
+ isLabelDropBoxChild: false,
892
+ components: [],
893
+ path: ['769713', 'View_769713_1', 'DForm_458695']
894
+ }],
895
+ path: ['769713', 'View_769713_1']
896
+ }]
897
+ };