@lingxiteam/theme-utils 0.5.3 → 0.5.5

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