@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,288 @@
1
+ export var Container = {
2
+ type: 'Container',
3
+ variable: {
4
+ textColor: {
5
+ type: 'color',
6
+ label: '标题文本颜色',
7
+ groupsName: '文字',
8
+ desc: '对卡片标题、折叠面板标题、表格头部标题生效'
9
+ },
10
+ lineHeight: {
11
+ type: 'px',
12
+ label: '标题文本行高',
13
+ groupsName: '文字',
14
+ desc: '对卡片标题、折叠面板标题、表格头部标题生效'
15
+ },
16
+ fontSize: {
17
+ type: 'px',
18
+ label: '标题文本尺寸',
19
+ groupsName: '文字',
20
+ desc: '对卡片标题、折叠面板标题、表格头部标题生效'
21
+ },
22
+ fontWeight: {
23
+ type: 'select',
24
+ label: '标题文本字重',
25
+ groupsName: '文字',
26
+ desc: '对卡片标题、折叠面板标题、表格头部标题生效',
27
+ options: [{
28
+ title: '100',
29
+ value: '100'
30
+ }, {
31
+ title: '200',
32
+ value: '200'
33
+ }, {
34
+ title: '300',
35
+ value: '300'
36
+ }, {
37
+ title: '400',
38
+ value: '400'
39
+ }, {
40
+ title: '500',
41
+ value: '500'
42
+ }]
43
+ }
44
+ // borderColor: {
45
+ // type: 'color',
46
+ // label: '边框颜色',
47
+ // groupsName: '边框',
48
+ // desc: '对布局容器、表单容器、普通容器、卡片、折叠面板、标签页和表格均生效',
49
+ // },
50
+ // borderRadius: {
51
+ // type: 'px',
52
+ // label: '边框圆角',
53
+ // groupsName: '边框',
54
+ // desc: '对布局容器、表单容器、普通容器、卡片、折叠面板、标签页和表格均生效',
55
+ // },
56
+ },
57
+
58
+ groupsName: '容器',
59
+ icon: 'icon-ico-comp-wrap',
60
+ desc: '配置对卡片标题、折叠面板标题、表格头部标题生效',
61
+ // desc: '边框配置对布局容器、表单容器、普通容器、卡片、折叠面板、标签页和表格均生效;文字配置对卡片标题、折叠面板标题、表格头部标题生效',
62
+ title: '容器',
63
+ defaultValue: [{
64
+ textColor: '#0085D0',
65
+ lineHeight: '150%',
66
+ fontSize: '16px',
67
+ fontWeight: '500'
68
+ // borderColor: '#E8E8E8',
69
+ // borderRadius: '8px',
70
+ }],
71
+
72
+ // TODO:布局容器、普通容器
73
+ tpl: "\n .ued-card .ued-card-title {\n color: textColor;\n line-height: lineHeight;\n font-size: fontSize;\n font-weight: fontWeight;\n }\n .ued-collapse-wrap .pcfactory-collapse.pcfactory-collapse-icon-position-right > .pcfactory-collapse-item > .pcfactory-collapse-header .ued-collapse-panel-header {\n color: textColor;\n line-height: lineHeight;\n font-size: fontSize;\n font-weight: fontWeight;\n }\n .ued-table-filters .table-head-default{\n color: textColor;\n line-height: lineHeight;\n font-size: fontSize;\n font-weight: fontWeight;\n padding: 12px 0 0 20px;\n }\n .ued-table-filters .table-head-middle{\n color: textColor;\n line-height: lineHeight;\n font-size: fontSize;\n font-weight: fontWeight;\n padding: 12px 0 0 20px;\n }\n .ued-table-wrap .table-head-default{\n color: textColor;\n line-height: lineHeight;\n font-size: fontSize;\n font-weight: fontWeight;\n padding: 12px 0 0 20px;\n }\n .ued-table-wrap .table-head-middle .title{\n color: textColor;\n line-height: lineHeight;\n font-size: fontSize;\n font-weight: fontWeight;\n padding: 12px 0 0 20px;\n }\n .ued-table-wrap .table-head .title{\n color: textColor;\n line-height: lineHeight;\n font-size: fontSize;\n font-weight: fontWeight;\n }",
74
+ components: [{
75
+ id: 'Card_872926',
76
+ label: '卡片',
77
+ compName: 'Card',
78
+ type: 'Card',
79
+ compType: 0,
80
+ compLib: '$component',
81
+ props: {
82
+ name: '卡片',
83
+ basicStatus: 1,
84
+ cardIconType: 'middle',
85
+ extendNum: 3,
86
+ title: '标题',
87
+ bordered: true,
88
+ size: 'default',
89
+ hasHeader: true,
90
+ hasIcon: true,
91
+ headerColor: '#ffffff'
92
+ },
93
+ style: {
94
+ padding: '20px 20px 20px 20px',
95
+ overflowY: 'visible',
96
+ margin: '0 0 16px 0'
97
+ },
98
+ isContainer: true,
99
+ isBusiObjContainer: false,
100
+ cmdgroup: ['basic'],
101
+ platform: 'pc',
102
+ icon: 'Card',
103
+ description: '',
104
+ image: '',
105
+ groupsName: '容器',
106
+ engineApi: ['sandBoxSafeRun', 'service.downloadFileByFileCode'],
107
+ setEvents: [],
108
+ isLabelDropBoxChild: false,
109
+ components: [],
110
+ path: ['998509', 'View_998509_1']
111
+ }, {
112
+ id: 'Collapse_0069244',
113
+ label: '折叠面板',
114
+ compName: 'Collapse',
115
+ type: 'Collapse',
116
+ compType: 0,
117
+ compLib: 'antd',
118
+ props: {
119
+ name: '折叠面板',
120
+ basicStatus: 1,
121
+ defaultActiveKey: ['1'],
122
+ expandIconPosition: 'right',
123
+ size: 'default',
124
+ bordered: true,
125
+ hasIcon: true,
126
+ cardIconType: 'middle',
127
+ collapseType: ''
128
+ },
129
+ style: {
130
+ width: '100%',
131
+ margin: '0 0 16px 0',
132
+ padding: '20px 20px 20px 20px'
133
+ },
134
+ isContainer: true,
135
+ isBusiObjContainer: false,
136
+ cmdgroup: ['basic'],
137
+ platform: 'pc',
138
+ icon: 'Collapse',
139
+ description: '',
140
+ image: '',
141
+ groupsName: '容器',
142
+ setEvents: [],
143
+ isLabelDropBoxChild: false,
144
+ components: [{
145
+ id: 'CollapsePanel_4883644',
146
+ label: '折叠子面板',
147
+ compName: 'CollapsePanel',
148
+ type: 'CollapsePanel',
149
+ compType: 0,
150
+ compLib: 'comm',
151
+ props: {
152
+ name: '折叠子面板',
153
+ basicStatus: 1,
154
+ header: '标题1',
155
+ key: '1'
156
+ },
157
+ style: {
158
+ minHeight: 40
159
+ },
160
+ isContainer: true,
161
+ isBusiObjContainer: false,
162
+ cmdgroup: ['basic'],
163
+ platform: 'pc',
164
+ icon: 'CollapsePanel',
165
+ description: '',
166
+ image: '',
167
+ groupsName: '容器',
168
+ engineApi: ['service.downloadFileByFileCode'],
169
+ setEvents: [],
170
+ isLabelDropBoxChild: false,
171
+ components: [],
172
+ path: ['998509', 'View_998509_1', 'Collapse_0069244']
173
+ }, {
174
+ id: 'CollapsePanel_519634',
175
+ label: '折叠子面板',
176
+ compName: 'CollapsePanel',
177
+ type: 'CollapsePanel',
178
+ compType: 0,
179
+ compLib: 'comm',
180
+ props: {
181
+ name: '折叠子面板',
182
+ basicStatus: 1,
183
+ header: '标题2',
184
+ key: '2'
185
+ },
186
+ style: {
187
+ minHeight: 40
188
+ },
189
+ isContainer: true,
190
+ isBusiObjContainer: false,
191
+ cmdgroup: ['basic'],
192
+ platform: 'pc',
193
+ icon: 'CollapsePanel',
194
+ description: '',
195
+ image: '',
196
+ groupsName: '容器',
197
+ engineApi: ['service.downloadFileByFileCode'],
198
+ setEvents: [],
199
+ isLabelDropBoxChild: false,
200
+ components: [],
201
+ path: ['998509', 'View_998509_1', 'Collapse_0069244']
202
+ }],
203
+ path: ['998509', 'View_998509_1']
204
+ }, {
205
+ id: 'Table_5146607',
206
+ label: '表格',
207
+ compName: 'Table',
208
+ type: 'Table',
209
+ compType: 3,
210
+ compLib: 'comm',
211
+ props: {
212
+ name: '表格',
213
+ basicStatus: 1,
214
+ isFlexColumn: false,
215
+ extendNum: 3,
216
+ adjustModel: 'auto',
217
+ pageSize: 10,
218
+ current: 1,
219
+ tableTitle: '表格名称',
220
+ headBtnNum: 3,
221
+ columns: [{
222
+ title: '第一列',
223
+ dataIndex: 'column1',
224
+ key: 'column1',
225
+ lineNum: 1,
226
+ titleLineNum: 1
227
+ }, {
228
+ title: '第二列',
229
+ dataIndex: 'column2',
230
+ key: 'column2',
231
+ lineNum: 1,
232
+ titleLineNum: 1
233
+ }, {
234
+ title: '第三列',
235
+ dataIndex: 'column3',
236
+ key: 'column3',
237
+ lineNum: 1,
238
+ titleLineNum: 1
239
+ }, {
240
+ title: '第四列',
241
+ dataIndex: 'column4',
242
+ key: 'column4',
243
+ lineNum: 1,
244
+ titleLineNum: 1
245
+ }, {
246
+ title: '第五列',
247
+ dataIndex: 'column5',
248
+ key: 'column5',
249
+ lineNum: 1,
250
+ titleLineNum: 1
251
+ }],
252
+ page: false,
253
+ rowKeyType: 'specified',
254
+ editMode: 'single',
255
+ bordered: 'segmentation',
256
+ size: 'middle',
257
+ fixedAction: false,
258
+ rowSelection: false,
259
+ showHead: true,
260
+ showTotal: false,
261
+ showSizeChanger: false,
262
+ showQuickJumper: false,
263
+ pageSizeOptions: '[5,10,20]',
264
+ showCustom: {
265
+ hasCustom: false,
266
+ customTitle: '自定义列',
267
+ iconPosition: 'left',
268
+ customStyle: 'default'
269
+ },
270
+ customNum: 3,
271
+ rowKey: '11'
272
+ },
273
+ style: {},
274
+ isContainer: false,
275
+ isBusiObjContainer: false,
276
+ cmdgroup: ['basic'],
277
+ platform: 'pc',
278
+ icon: 'Table',
279
+ description: '',
280
+ image: '',
281
+ groupsName: '数据展示',
282
+ engineApi: ['sandBoxSafeRun', 'renderer', 'historyPush', 'historyReplace', 'batchDownloadFileByIds', 'getAppFileUrlById', 'BannerModal', 'previewFile', 'service.getPageVersionById', 'openModal', 'renderPopover'],
283
+ setEvents: [],
284
+ isLabelDropBoxChild: false,
285
+ components: [],
286
+ path: ['998509', 'View_998509_1']
287
+ }]
288
+ };
@@ -0,0 +1,163 @@
1
+ export declare const DatePicker: {
2
+ type: string;
3
+ variable: {
4
+ labelTextColor: {
5
+ type: string;
6
+ label: string;
7
+ groupsName: string;
8
+ desc: string;
9
+ canEdit: boolean;
10
+ extendsKey: string;
11
+ };
12
+ labelLineHeight: {
13
+ type: string;
14
+ label: string;
15
+ groupsName: string;
16
+ desc: string;
17
+ canEdit: boolean;
18
+ extendsKey: string;
19
+ };
20
+ labelFontSize: {
21
+ type: string;
22
+ label: string;
23
+ groupsName: string;
24
+ desc: string;
25
+ canEdit: boolean;
26
+ extendsKey: string;
27
+ };
28
+ textColor: {
29
+ type: string;
30
+ label: string;
31
+ groupsName: string;
32
+ desc: string;
33
+ canEdit: boolean;
34
+ extendsKey: string;
35
+ };
36
+ fontSize: {
37
+ type: string;
38
+ label: string;
39
+ groupsName: string;
40
+ desc: string;
41
+ canEdit: boolean;
42
+ extendsKey: string;
43
+ };
44
+ itemBorderColor: {
45
+ type: string;
46
+ label: string;
47
+ groupsName: string;
48
+ desc: string;
49
+ canEdit: boolean;
50
+ extendsKey: string;
51
+ };
52
+ itemBorderRadius: {
53
+ type: string;
54
+ label: string;
55
+ groupsName: string;
56
+ desc: string;
57
+ canEdit: boolean;
58
+ extendsKey: string;
59
+ };
60
+ iconFontSize: {
61
+ type: string;
62
+ label: string;
63
+ groupsName: string;
64
+ };
65
+ iconColor: {
66
+ type: string;
67
+ label: string;
68
+ groupsName: string;
69
+ };
70
+ };
71
+ groupsName: string;
72
+ icon: string;
73
+ title: string;
74
+ defaultValue: {
75
+ iconFontSize: string;
76
+ iconColor: string;
77
+ }[];
78
+ tpl: string;
79
+ components: {
80
+ id: string;
81
+ label: string;
82
+ compName: string;
83
+ type: string;
84
+ compType: number;
85
+ compLib: string;
86
+ props: {
87
+ name: string;
88
+ colSpan: number;
89
+ labelCol: number;
90
+ wrapperCol: number;
91
+ layout: string;
92
+ colon: boolean;
93
+ labelAlign: string;
94
+ basicStatus: number;
95
+ colSpace: number;
96
+ rowSpace: number;
97
+ formCode: string;
98
+ };
99
+ style: {
100
+ padding: string;
101
+ };
102
+ isContainer: boolean;
103
+ isBusiObjContainer: boolean;
104
+ cmdgroup: string[];
105
+ platform: string;
106
+ icon: string;
107
+ description: string;
108
+ image: string;
109
+ groupsName: string;
110
+ engineApi: string[];
111
+ setEvents: never[];
112
+ isLabelDropBoxChild: boolean;
113
+ components: {
114
+ id: string;
115
+ label: string;
116
+ compName: string;
117
+ type: string;
118
+ compType: number;
119
+ compLib: string;
120
+ props: {
121
+ name: string;
122
+ timeMode: string;
123
+ basicStatus: number;
124
+ size: string;
125
+ labelCol: number;
126
+ wrapperCol: number;
127
+ titleTip: string;
128
+ tipSize: string;
129
+ tipWidth: string;
130
+ tipHeight: string;
131
+ required: boolean;
132
+ limitRange: string;
133
+ startTime: string;
134
+ endTime: string;
135
+ format: string;
136
+ placeholder: string;
137
+ pickerType: string;
138
+ customTip: string;
139
+ allowClear: boolean;
140
+ formItemIndex: number;
141
+ fieldName: string;
142
+ };
143
+ style: {};
144
+ isContainer: boolean;
145
+ isBusiObjContainer: boolean;
146
+ cmdgroup: string[];
147
+ platform: string;
148
+ fieldProps: {
149
+ trigger: string;
150
+ valuePropName: string;
151
+ };
152
+ icon: string;
153
+ description: string;
154
+ image: string;
155
+ groupsName: string;
156
+ setEvents: never[];
157
+ isLabelDropBoxChild: boolean;
158
+ components: never[];
159
+ path: string[];
160
+ }[];
161
+ path: string[];
162
+ }[];
163
+ };
@@ -0,0 +1,163 @@
1
+ export var DatePicker = {
2
+ type: 'DatePicker',
3
+ variable: {
4
+ labelTextColor: {
5
+ type: 'color',
6
+ label: '标签文本颜色',
7
+ groupsName: '文字',
8
+ desc: '继承自表单,此处不可编辑',
9
+ canEdit: false,
10
+ extendsKey: 'Form'
11
+ },
12
+ labelLineHeight: {
13
+ type: 'px',
14
+ label: '标签文本行高',
15
+ groupsName: '文字',
16
+ desc: '继承自表单,此处不可编辑',
17
+ canEdit: false,
18
+ extendsKey: 'Form'
19
+ },
20
+ labelFontSize: {
21
+ type: 'px',
22
+ label: '标签文本尺寸',
23
+ groupsName: '文字',
24
+ desc: '继承自表单,此处不可编辑',
25
+ canEdit: false,
26
+ extendsKey: 'Form'
27
+ },
28
+ textColor: {
29
+ type: 'color',
30
+ label: '文本颜色',
31
+ groupsName: '文字',
32
+ desc: '继承自表单,此处不可编辑',
33
+ canEdit: false,
34
+ extendsKey: 'Form'
35
+ },
36
+ fontSize: {
37
+ type: 'px',
38
+ label: '文本尺寸',
39
+ groupsName: '文字',
40
+ desc: '继承自表单,此处不可编辑',
41
+ canEdit: false,
42
+ extendsKey: 'Form'
43
+ },
44
+ itemBorderColor: {
45
+ type: 'color',
46
+ label: '边框颜色',
47
+ groupsName: '边框',
48
+ desc: '继承自表单,此处不可编辑',
49
+ canEdit: false,
50
+ extendsKey: 'Form'
51
+ },
52
+ itemBorderRadius: {
53
+ type: 'px',
54
+ label: '边框圆角',
55
+ groupsName: '边框',
56
+ desc: '继承自表单,此处不可编辑',
57
+ canEdit: false,
58
+ extendsKey: 'Form'
59
+ },
60
+ iconFontSize: {
61
+ type: 'px',
62
+ label: '日期图标尺寸',
63
+ groupsName: '文字'
64
+ },
65
+ iconColor: {
66
+ type: 'color',
67
+ label: '日期图标颜色',
68
+ groupsName: '文字'
69
+ }
70
+ },
71
+ groupsName: '数据录入',
72
+ icon: 'icon-ico-comp-datepicker',
73
+ title: '日期选择 ',
74
+ defaultValue: [{
75
+ iconFontSize: '14px',
76
+ iconColor: '#0085D0'
77
+ }],
78
+ tpl: ".ued-datePicker-wrap .pcfactory-picker-suffix{\n color: iconColor;\n width: iconFontSize;\n height: iconFontSize;\n .anticon>svg{\n width: iconFontSize;\n height: iconFontSize;\n }\n }\n .ued-datePicker-wrap .pcfactory-picker-clear{\n color: iconColor;\n width: iconFontSize;\n height: iconFontSize;\n .anticon>svg{\n width: iconFontSize;\n height: iconFontSize;\n }\n }",
79
+ components: [{
80
+ id: 'Form_180373',
81
+ label: '表单',
82
+ compName: 'Form',
83
+ type: 'Form',
84
+ compType: 0,
85
+ compLib: 'comm',
86
+ props: {
87
+ name: '表单',
88
+ colSpan: 12,
89
+ labelCol: 8,
90
+ wrapperCol: 16,
91
+ layout: 'vertical',
92
+ colon: true,
93
+ labelAlign: 'right',
94
+ basicStatus: 1,
95
+ colSpace: 16,
96
+ rowSpace: 16,
97
+ formCode: 'Code_Form_180373'
98
+ },
99
+ style: {
100
+ padding: '0px 0px 0px 0px'
101
+ },
102
+ isContainer: true,
103
+ isBusiObjContainer: true,
104
+ cmdgroup: ['basic'],
105
+ platform: 'pc',
106
+ icon: 'Form',
107
+ description: '',
108
+ image: '',
109
+ groupsName: '容器',
110
+ engineApi: ['service.downloadFileByFileCode', 'getVisible', 'stateListener'],
111
+ setEvents: [],
112
+ isLabelDropBoxChild: false,
113
+ components: [{
114
+ id: 'DatePicker_917298',
115
+ label: '日期选择',
116
+ compName: 'DatePicker',
117
+ type: 'DatePicker',
118
+ compType: 2,
119
+ compLib: 'comm',
120
+ props: {
121
+ name: '日期选择',
122
+ timeMode: 'date',
123
+ basicStatus: 1,
124
+ size: 'default',
125
+ labelCol: 8,
126
+ wrapperCol: 16,
127
+ titleTip: 'notext',
128
+ tipSize: 'default',
129
+ tipWidth: '240px',
130
+ tipHeight: 'auto',
131
+ required: false,
132
+ limitRange: 'no',
133
+ startTime: '',
134
+ endTime: '',
135
+ format: 'YYYY-MM-DD',
136
+ placeholder: '请选择日期',
137
+ pickerType: 'DatePicker',
138
+ customTip: '',
139
+ allowClear: true,
140
+ formItemIndex: 13,
141
+ fieldName: 'grd'
142
+ },
143
+ style: {},
144
+ isContainer: false,
145
+ isBusiObjContainer: false,
146
+ cmdgroup: ['basic'],
147
+ platform: 'pc',
148
+ fieldProps: {
149
+ trigger: 'onChange',
150
+ valuePropName: 'value'
151
+ },
152
+ icon: 'DatePicker',
153
+ description: '',
154
+ image: '',
155
+ groupsName: '数据录入',
156
+ setEvents: [],
157
+ isLabelDropBoxChild: false,
158
+ components: [],
159
+ path: ['998509', 'Form_180373']
160
+ }],
161
+ path: ['998509']
162
+ }]
163
+ };
@@ -0,0 +1,97 @@
1
+ export declare const Description: {
2
+ type: string;
3
+ variable: {
4
+ borderColor: {
5
+ type: string;
6
+ label: string;
7
+ groupsName: string;
8
+ };
9
+ borderWidth: {
10
+ type: string;
11
+ label: string;
12
+ groupsName: string;
13
+ };
14
+ backgroundColor: {
15
+ type: string;
16
+ label: string;
17
+ groupsName: string;
18
+ };
19
+ bodyBgColor: {
20
+ type: string;
21
+ label: string;
22
+ groupsName: string;
23
+ };
24
+ textColor: {
25
+ type: string;
26
+ label: string;
27
+ groupsName: string;
28
+ };
29
+ bodyTextColor: {
30
+ type: string;
31
+ label: string;
32
+ groupsName: string;
33
+ };
34
+ paddingValue: {
35
+ type: string;
36
+ label: string;
37
+ groupsName: string;
38
+ };
39
+ bodyPaddingValue: {
40
+ type: string;
41
+ label: string;
42
+ groupsName: string;
43
+ };
44
+ };
45
+ groupsName: string;
46
+ icon: string;
47
+ title: string;
48
+ defaultValue: {
49
+ borderColor: string;
50
+ borderWidth: string;
51
+ paddingValue: string;
52
+ bodyPaddingValue: string;
53
+ backgroundColor: string;
54
+ bodyBgColor: string;
55
+ textColor: string;
56
+ bodyTextColor: string;
57
+ }[];
58
+ tpl: string;
59
+ components: {
60
+ id: string;
61
+ label: string;
62
+ compName: string;
63
+ type: string;
64
+ compType: number;
65
+ compLib: string;
66
+ props: {
67
+ name: string;
68
+ layout: string;
69
+ basicStatus: number;
70
+ dataSource: string;
71
+ columns: {
72
+ label: string;
73
+ dataIndex: string;
74
+ key: string;
75
+ }[];
76
+ bordered: boolean;
77
+ labelSize: string;
78
+ colSpan: number;
79
+ colon: boolean;
80
+ labelAlign: string;
81
+ };
82
+ style: {};
83
+ isContainer: boolean;
84
+ isBusiObjContainer: boolean;
85
+ cmdgroup: string[];
86
+ platform: string;
87
+ icon: string;
88
+ description: string;
89
+ image: string;
90
+ groupsName: string;
91
+ engineApi: string[];
92
+ setEvents: never[];
93
+ isLabelDropBoxChild: boolean;
94
+ components: never[];
95
+ path: string[];
96
+ }[];
97
+ };