@lingxiteam/theme-utils 0.5.1 → 0.5.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 (190) hide show
  1. package/package.json +1 -1
  2. package/dist/config/Button.d.ts +0 -114
  3. package/dist/config/Button.d.ts.map +0 -1
  4. package/dist/config/Button.js +0 -277
  5. package/dist/config/Card.d.ts +0 -145
  6. package/dist/config/Card.d.ts.map +0 -1
  7. package/dist/config/Card.js +0 -162
  8. package/dist/config/Cascader.d.ts +0 -197
  9. package/dist/config/Cascader.d.ts.map +0 -1
  10. package/dist/config/Cascader.js +0 -225
  11. package/dist/config/Checkbox.d.ts +0 -163
  12. package/dist/config/Checkbox.d.ts.map +0 -1
  13. package/dist/config/Checkbox.js +0 -178
  14. package/dist/config/CheckboxGroup.d.ts +0 -185
  15. package/dist/config/CheckboxGroup.d.ts.map +0 -1
  16. package/dist/config/CheckboxGroup.js +0 -192
  17. package/dist/config/Collapse.d.ts +0 -187
  18. package/dist/config/Collapse.d.ts.map +0 -1
  19. package/dist/config/Collapse.js +0 -330
  20. package/dist/config/Container.d.ts +0 -276
  21. package/dist/config/Container.d.ts.map +0 -1
  22. package/dist/config/Container.js +0 -301
  23. package/dist/config/DatePicker.d.ts +0 -180
  24. package/dist/config/DatePicker.d.ts.map +0 -1
  25. package/dist/config/DatePicker.js +0 -179
  26. package/dist/config/Description.d.ts +0 -107
  27. package/dist/config/Description.d.ts.map +0 -1
  28. package/dist/config/Description.js +0 -126
  29. package/dist/config/Divider.d.ts +0 -62
  30. package/dist/config/Divider.d.ts.map +0 -1
  31. package/dist/config/Divider.js +0 -61
  32. package/dist/config/Form.d.ts +0 -3072
  33. package/dist/config/Form.d.ts.map +0 -1
  34. package/dist/config/Form.js +0 -1358
  35. package/dist/config/Icon.d.ts +0 -56
  36. package/dist/config/Icon.d.ts.map +0 -1
  37. package/dist/config/Icon.js +0 -55
  38. package/dist/config/Input.d.ts +0 -160
  39. package/dist/config/Input.d.ts.map +0 -1
  40. package/dist/config/Input.js +0 -159
  41. package/dist/config/InputNumber.d.ts +0 -155
  42. package/dist/config/InputNumber.d.ts.map +0 -1
  43. package/dist/config/InputNumber.js +0 -154
  44. package/dist/config/Link.d.ts +0 -129
  45. package/dist/config/Link.d.ts.map +0 -1
  46. package/dist/config/Link.js +0 -120
  47. package/dist/config/MultipleSelect.d.ts +0 -168
  48. package/dist/config/MultipleSelect.d.ts.map +0 -1
  49. package/dist/config/MultipleSelect.js +0 -175
  50. package/dist/config/Radio.d.ts +0 -240
  51. package/dist/config/Radio.d.ts.map +0 -1
  52. package/dist/config/Radio.js +0 -261
  53. package/dist/config/RangePicker.d.ts +0 -183
  54. package/dist/config/RangePicker.d.ts.map +0 -1
  55. package/dist/config/RangePicker.js +0 -182
  56. package/dist/config/Select.d.ts +0 -191
  57. package/dist/config/Select.d.ts.map +0 -1
  58. package/dist/config/Select.js +0 -198
  59. package/dist/config/StdUpload.d.ts +0 -198
  60. package/dist/config/StdUpload.d.ts.map +0 -1
  61. package/dist/config/StdUpload.js +0 -211
  62. package/dist/config/Switch.d.ts +0 -142
  63. package/dist/config/Switch.d.ts.map +0 -1
  64. package/dist/config/Switch.js +0 -151
  65. package/dist/config/Table.d.ts +0 -483
  66. package/dist/config/Table.d.ts.map +0 -1
  67. package/dist/config/Table.js +0 -560
  68. package/dist/config/Tabs.d.ts +0 -231
  69. package/dist/config/Tabs.d.ts.map +0 -1
  70. package/dist/config/Tabs.js +0 -970
  71. package/dist/config/Tag.d.ts +0 -174
  72. package/dist/config/Tag.d.ts.map +0 -1
  73. package/dist/config/Tag.js +0 -548
  74. package/dist/config/Text.d.ts +0 -35
  75. package/dist/config/Text.d.ts.map +0 -1
  76. package/dist/config/Text.js +0 -34
  77. package/dist/config/TextArea.d.ts +0 -152
  78. package/dist/config/TextArea.d.ts.map +0 -1
  79. package/dist/config/TextArea.js +0 -151
  80. package/dist/config/TimePicker.d.ts +0 -181
  81. package/dist/config/TimePicker.d.ts.map +0 -1
  82. package/dist/config/TimePicker.js +0 -180
  83. package/dist/config/Tree.d.ts +0 -152
  84. package/dist/config/Tree.d.ts.map +0 -1
  85. package/dist/config/Tree.js +0 -195
  86. package/dist/config/TreeSelect.d.ts +0 -198
  87. package/dist/config/TreeSelect.d.ts.map +0 -1
  88. package/dist/config/TreeSelect.js +0 -213
  89. package/dist/css.d.ts +0 -7
  90. package/dist/css.d.ts.map +0 -1
  91. package/dist/css.js +0 -126
  92. package/dist/demo.d.ts +0 -6
  93. package/dist/demo.d.ts.map +0 -1
  94. package/dist/demo.js +0 -79
  95. package/dist/h5config/Accordion.d.ts +0 -411
  96. package/dist/h5config/Accordion.d.ts.map +0 -1
  97. package/dist/h5config/Accordion.js +0 -548
  98. package/dist/h5config/Button.d.ts +0 -143
  99. package/dist/h5config/Button.d.ts.map +0 -1
  100. package/dist/h5config/Button.js +0 -253
  101. package/dist/h5config/Card.d.ts +0 -276
  102. package/dist/h5config/Card.d.ts.map +0 -1
  103. package/dist/h5config/Card.js +0 -535
  104. package/dist/h5config/DAddressPicker.d.ts +0 -189
  105. package/dist/h5config/DAddressPicker.d.ts.map +0 -1
  106. package/dist/h5config/DAddressPicker.js +0 -230
  107. package/dist/h5config/DCheckbox.d.ts +0 -203
  108. package/dist/h5config/DCheckbox.d.ts.map +0 -1
  109. package/dist/h5config/DCheckbox.js +0 -248
  110. package/dist/h5config/DForm.d.ts +0 -1598
  111. package/dist/h5config/DForm.d.ts.map +0 -1
  112. package/dist/h5config/DForm.js +0 -932
  113. package/dist/h5config/DMultiplePicker.d.ts +0 -190
  114. package/dist/h5config/DMultiplePicker.d.ts.map +0 -1
  115. package/dist/h5config/DMultiplePicker.js +0 -235
  116. package/dist/h5config/DformDate.d.ts +0 -192
  117. package/dist/h5config/DformDate.d.ts.map +0 -1
  118. package/dist/h5config/DformDate.js +0 -233
  119. package/dist/h5config/DformFile.d.ts +0 -278
  120. package/dist/h5config/DformFile.d.ts.map +0 -1
  121. package/dist/h5config/DformFile.js +0 -292
  122. package/dist/h5config/DformImagePicker.d.ts +0 -139
  123. package/dist/h5config/DformImagePicker.d.ts.map +0 -1
  124. package/dist/h5config/DformImagePicker.js +0 -156
  125. package/dist/h5config/DformInput.d.ts +0 -190
  126. package/dist/h5config/DformInput.d.ts.map +0 -1
  127. package/dist/h5config/DformInput.js +0 -231
  128. package/dist/h5config/DformInputNumber.d.ts +0 -174
  129. package/dist/h5config/DformInputNumber.d.ts.map +0 -1
  130. package/dist/h5config/DformInputNumber.js +0 -215
  131. package/dist/h5config/DformPicker.d.ts +0 -191
  132. package/dist/h5config/DformPicker.d.ts.map +0 -1
  133. package/dist/h5config/DformPicker.js +0 -236
  134. package/dist/h5config/DformRadio.d.ts +0 -211
  135. package/dist/h5config/DformRadio.d.ts.map +0 -1
  136. package/dist/h5config/DformRadio.js +0 -256
  137. package/dist/h5config/DformRangePicker.d.ts +0 -196
  138. package/dist/h5config/DformRangePicker.d.ts.map +0 -1
  139. package/dist/h5config/DformRangePicker.js +0 -237
  140. package/dist/h5config/DformSelect.d.ts +0 -199
  141. package/dist/h5config/DformSelect.d.ts.map +0 -1
  142. package/dist/h5config/DformSelect.js +0 -262
  143. package/dist/h5config/DformSwitch.d.ts +0 -146
  144. package/dist/h5config/DformSwitch.d.ts.map +0 -1
  145. package/dist/h5config/DformSwitch.js +0 -163
  146. package/dist/h5config/DformTextArea.d.ts +0 -185
  147. package/dist/h5config/DformTextArea.d.ts.map +0 -1
  148. package/dist/h5config/DformTextArea.js +0 -226
  149. package/dist/h5config/Divider.d.ts +0 -54
  150. package/dist/h5config/Divider.d.ts.map +0 -1
  151. package/dist/h5config/Divider.js +0 -90
  152. package/dist/h5config/FilterItems.d.ts +0 -155
  153. package/dist/h5config/FilterItems.d.ts.map +0 -1
  154. package/dist/h5config/FilterItems.js +0 -204
  155. package/dist/h5config/Grid.d.ts +0 -236
  156. package/dist/h5config/Grid.d.ts.map +0 -1
  157. package/dist/h5config/Grid.js +0 -278
  158. package/dist/h5config/Icon.d.ts +0 -55
  159. package/dist/h5config/Icon.d.ts.map +0 -1
  160. package/dist/h5config/Icon.js +0 -54
  161. package/dist/h5config/Link.d.ts +0 -52
  162. package/dist/h5config/Link.d.ts.map +0 -1
  163. package/dist/h5config/Link.js +0 -51
  164. package/dist/h5config/LoadMore.d.ts +0 -528
  165. package/dist/h5config/LoadMore.d.ts.map +0 -1
  166. package/dist/h5config/LoadMore.js +0 -940
  167. package/dist/h5config/NoticeBarPlus.d.ts +0 -112
  168. package/dist/h5config/NoticeBarPlus.d.ts.map +0 -1
  169. package/dist/h5config/NoticeBarPlus.js +0 -141
  170. package/dist/h5config/SearchView.d.ts +0 -136
  171. package/dist/h5config/SearchView.d.ts.map +0 -1
  172. package/dist/h5config/SearchView.js +0 -177
  173. package/dist/h5config/StaticTabs.d.ts +0 -122
  174. package/dist/h5config/StaticTabs.d.ts.map +0 -1
  175. package/dist/h5config/StaticTabs.js +0 -180
  176. package/dist/h5config/Table.d.ts +0 -198
  177. package/dist/h5config/Table.d.ts.map +0 -1
  178. package/dist/h5config/Table.js +0 -589
  179. package/dist/index.d.ts +0 -5
  180. package/dist/index.d.ts.map +0 -1
  181. package/dist/index.js +0 -4
  182. package/dist/lx-mobile.d.ts +0 -24
  183. package/dist/lx-mobile.d.ts.map +0 -1
  184. package/dist/lx-mobile.js +0 -174
  185. package/dist/lx.d.ts +0 -25
  186. package/dist/lx.d.ts.map +0 -1
  187. package/dist/lx.js +0 -139
  188. package/dist/utils.d.ts +0 -13
  189. package/dist/utils.d.ts.map +0 -1
  190. package/dist/utils.js +0 -67
@@ -1,932 +0,0 @@
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
- };