@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
package/README.md ADDED
@@ -0,0 +1,83 @@
1
+ # theme-utils
2
+
3
+ antd@4 theme class utils, css utils
4
+
5
+ ```js
6
+ pnpm i theme-utils
7
+
8
+ import {} from 'theme-utils';
9
+ ```
10
+
11
+ 新建场景描述:
12
+
13
+ 1、通过编辑页面 form 得到,theme 的对象 如 { backgroundColor:'red',fontSize:'12px'} 2、根据模版 '.cc{ background-color: backgroundColor; font-size: fontSize;}' 解析 css 3、得到最终 css '.cc{ background-color:red; font-size:12px;bor:123}' 4、将最终 css 提交到服务端
14
+
15
+ 编辑场景描述:
16
+
17
+ 1、从服务端取得 css 2、根据模版将 css 中的对象取出 { backgroundColor:'red',fontSize:'12px'} 3、将对象赋值到编辑页面 form 4、重复新建场景
18
+
19
+ 预览场景描述:
20
+
21
+ 1、每次编辑都会实时的生成 css 2、通过 normalizeCSS(css,'#previewId') 将 css 作用到指定 id dom 下 ' #previewId { .cc{ background-color:red; font-size:12px; }}' 3、通过 insertRules('12312', css, document.getElementById('previewId')); 将 style 挂载到预览 dom 上 4、挂载的样式仅会对预览生效
22
+
23
+ 使用场景描述:
24
+
25
+ 1、通过 insertLink('12312', 'http://xxx.css',true); 在页面上加载所有的生成的 css,将会对所有的场景生效。
26
+
27
+ ## stringifyCss
28
+
29
+ 根据指定模版,将对象的值解析道模版中,生成最终的 css 字符串
30
+
31
+ ```js
32
+ const tpl = '.cc{ background-color: backgroundColor; font-size: fontSize;}';
33
+ const a = { backgroundColor: 'red', fontSize: '12px' };
34
+ const c = stringifyCss(tpl, a);
35
+ console.log(c); // .cc{ background-color:red; font-size:12px;}
36
+ ```
37
+
38
+ ## parseCss
39
+
40
+ 根据指定模版,将值从 css 字符串中解析成对象
41
+
42
+ ```js
43
+ const tpl = '.cc{ background-color: backgroundColor; font-size: fontSize;}';
44
+ const a = '.cc{ background-color:red; font-size:12px;}';
45
+ const c = parseCss(tpl, a);
46
+ console.log(c); // { backgroundColor:'red',fontSize:'12px'}
47
+ ```
48
+
49
+ ## normalizeCSS
50
+
51
+ 编译 css 且支持给 css 提供指定的选择器,如
52
+
53
+ ```js
54
+ const a = '.a{ .b{ font-size:12px; } }';
55
+
56
+ const css = normalizeCSS(a);
57
+
58
+ console.log(css);
59
+
60
+ // output: '.a .b{font-size:12px;}'
61
+
62
+ const css1 = normalizeCSS(a, '.cc');
63
+ console.log(css1);
64
+ // output: '.cc .a .b{font-size:12px;}'
65
+ ```
66
+
67
+ ## insertRules
68
+
69
+ 将 css 挂载到页面上 `insertRules(id: string, rules: string,selector = document.head,);` 指定 id,会覆盖生产的 style 标签
70
+
71
+ ```js
72
+ insertRules('12312', css);
73
+ ```
74
+
75
+ ## insertLink
76
+
77
+ 挂载指定的 css link `insertLink(id: string, href: string, insertBefore = false)`
78
+
79
+ 可选择指定挂在在 body.firstElementChild 还是 head 中
80
+
81
+ ```js
82
+ insertLink('12312', 'http://xxx.css', true);
83
+ ```
@@ -0,0 +1,101 @@
1
+ export declare const Button: {
2
+ type: string;
3
+ variable: {
4
+ textColor: {
5
+ type: string;
6
+ label: string;
7
+ groupsName: string;
8
+ };
9
+ lineHeight: {
10
+ type: string;
11
+ label: string;
12
+ groupsName: string;
13
+ };
14
+ fontSize: {
15
+ type: string;
16
+ label: string;
17
+ groupsName: string;
18
+ };
19
+ backgroundColor: {
20
+ type: string;
21
+ label: string;
22
+ groupsName: string;
23
+ };
24
+ borderColor: {
25
+ type: string;
26
+ label: string;
27
+ groupsName: string;
28
+ };
29
+ borderRadius: {
30
+ type: string;
31
+ label: string;
32
+ groupsName: string;
33
+ };
34
+ paddingValue: {
35
+ type: string;
36
+ label: string;
37
+ groupsName: string;
38
+ };
39
+ marginValue: {
40
+ type: string;
41
+ label: string;
42
+ groupsName: string;
43
+ };
44
+ };
45
+ groupsName: string;
46
+ icon: string;
47
+ title: string;
48
+ defaultValue: {
49
+ textColor: string;
50
+ lineHeight: string;
51
+ fontSize: string;
52
+ backgroundColor: string;
53
+ borderColor: string;
54
+ borderRadius: string;
55
+ paddingValue: string;
56
+ marginValue: 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
+ basicStatus: number;
69
+ classification: string;
70
+ autoProcessFlow: boolean;
71
+ flowProcessResult: string;
72
+ iconPosition: string;
73
+ ghost: boolean;
74
+ block: boolean;
75
+ size: string;
76
+ disabled: boolean;
77
+ type: string;
78
+ btnIcon: string;
79
+ hasIcon: boolean;
80
+ shape: string;
81
+ loading: boolean;
82
+ btnText: string;
83
+ };
84
+ style: {
85
+ textAlign: string;
86
+ };
87
+ isContainer: boolean;
88
+ isBusiObjContainer: boolean;
89
+ cmdgroup: string[];
90
+ platform: string;
91
+ icon: string;
92
+ description: string;
93
+ image: string;
94
+ groupsName: string;
95
+ isInlineBlock: boolean;
96
+ setEvents: never[];
97
+ isLabelDropBoxChild: boolean;
98
+ components: never[];
99
+ path: string[];
100
+ }[];
101
+ };
@@ -0,0 +1,265 @@
1
+ export var Button = {
2
+ type: 'Button',
3
+ variable: {
4
+ textColor: {
5
+ type: 'color',
6
+ label: '文本颜色',
7
+ groupsName: '文字'
8
+ },
9
+ lineHeight: {
10
+ type: 'px',
11
+ label: '文本行高',
12
+ groupsName: '文字'
13
+ },
14
+ fontSize: {
15
+ type: 'px',
16
+ label: '文本尺寸',
17
+ groupsName: '文字'
18
+ },
19
+ backgroundColor: {
20
+ type: 'color',
21
+ label: '背景颜色',
22
+ groupsName: '背景颜色'
23
+ },
24
+ borderColor: {
25
+ type: 'color',
26
+ label: '边框颜色',
27
+ groupsName: '边框'
28
+ },
29
+ borderRadius: {
30
+ type: 'px',
31
+ label: '边框圆角',
32
+ groupsName: '边框'
33
+ },
34
+ paddingValue: {
35
+ type: 'marginInput',
36
+ label: '内边距',
37
+ groupsName: '布局'
38
+ },
39
+ marginValue: {
40
+ type: 'marginInput',
41
+ label: '外边距',
42
+ groupsName: '布局'
43
+ }
44
+ },
45
+ groupsName: '通用',
46
+ icon: 'icon-ico-comp-btn',
47
+ title: '按钮',
48
+ defaultValue: [{
49
+ textColor: '#1c242e',
50
+ lineHeight: '0px',
51
+ fontSize: '14px',
52
+ backgroundColor: '#47e',
53
+ borderColor: '#D8E0EC',
54
+ borderRadius: '8px',
55
+ paddingValue: '4px 24px 4px 24px',
56
+ marginValue: '0px'
57
+ }],
58
+ tpl: "\n.ued-button-wrap.pcfactory-btn {\n line-height: lineHeight;\n font-size: fontSize;\n padding: paddingValue;\n margin: marginValue;\n }\n.ued-button-wrap.pcfactory-btn-primary {\n background-color: backgroundColor;\n border-color: borderColor;\n border-radius: borderRadius;\n }\n.ued-button-wrap.pcfactory-btn-default {\n color: textColor;\n border-color: borderColor;\n border-radius: borderRadius;\n }\n.ued-button-wrap.pcfactory-btn-dashed {\n color: textColor;\n border-color: borderColor;\n border-radius: borderRadius;\n }\n.ued-button-wrap.pcfactory-btn.pcfactory-btn-dashed:hover {\n border-color: backgroundColor;\n color: backgroundColor;\n }\n.ued-button-wrap.pcfactory-btn.pcfactory-btn-default:hover {\n border-color: backgroundColor;\n color: backgroundColor;\n }\n.ued-button-wrap.pcfactory-btn-text {\n color: textColor;\n }\n.ued-button-wrap.pcfactory-btn-link {\n color: backgroundColor;\n }\n ",
59
+ components: [{
60
+ id: 'Button_1229334',
61
+ label: '按钮',
62
+ compName: 'Button',
63
+ type: 'Button',
64
+ compType: 1,
65
+ compLib: 'comm',
66
+ props: {
67
+ name: '按钮',
68
+ basicStatus: 1,
69
+ classification: 'default',
70
+ autoProcessFlow: false,
71
+ flowProcessResult: 'common',
72
+ iconPosition: 'left',
73
+ ghost: false,
74
+ block: false,
75
+ size: 'default',
76
+ disabled: false,
77
+ type: 'primary',
78
+ btnIcon: 'none',
79
+ hasIcon: false,
80
+ shape: 'default',
81
+ loading: false,
82
+ btnText: '按钮'
83
+ },
84
+ style: {
85
+ textAlign: 'center'
86
+ },
87
+ isContainer: false,
88
+ isBusiObjContainer: false,
89
+ cmdgroup: ['basic'],
90
+ platform: 'pc',
91
+ icon: 'Button',
92
+ description: '',
93
+ image: '',
94
+ groupsName: '通用',
95
+ isInlineBlock: true,
96
+ setEvents: [],
97
+ isLabelDropBoxChild: false,
98
+ components: [],
99
+ path: ['761872', 'View_761872_1']
100
+ }, {
101
+ id: 'Button_526504',
102
+ label: '按钮',
103
+ compName: 'Button',
104
+ type: 'Button',
105
+ compType: 1,
106
+ compLib: 'comm',
107
+ props: {
108
+ name: '按钮',
109
+ basicStatus: 1,
110
+ classification: 'default',
111
+ autoProcessFlow: false,
112
+ flowProcessResult: 'common',
113
+ iconPosition: 'left',
114
+ ghost: false,
115
+ block: false,
116
+ size: 'default',
117
+ disabled: false,
118
+ type: 'default',
119
+ btnIcon: 'none',
120
+ hasIcon: false,
121
+ shape: 'default',
122
+ loading: false,
123
+ btnText: '按钮'
124
+ },
125
+ style: {
126
+ textAlign: 'center'
127
+ },
128
+ isContainer: false,
129
+ isBusiObjContainer: false,
130
+ cmdgroup: ['basic'],
131
+ platform: 'pc',
132
+ icon: 'Button',
133
+ description: '',
134
+ image: '',
135
+ groupsName: '通用',
136
+ isInlineBlock: true,
137
+ setEvents: [],
138
+ isLabelDropBoxChild: false,
139
+ components: [],
140
+ path: ['761872', 'View_761872_1']
141
+ }, {
142
+ id: 'Button_2208062',
143
+ label: '按钮',
144
+ compName: 'Button',
145
+ type: 'Button',
146
+ compType: 1,
147
+ compLib: 'comm',
148
+ props: {
149
+ name: '按钮',
150
+ basicStatus: 1,
151
+ classification: 'default',
152
+ autoProcessFlow: false,
153
+ flowProcessResult: 'common',
154
+ iconPosition: 'left',
155
+ ghost: false,
156
+ block: false,
157
+ size: 'default',
158
+ disabled: false,
159
+ type: 'dashed',
160
+ btnIcon: 'none',
161
+ hasIcon: false,
162
+ shape: 'default',
163
+ loading: false,
164
+ btnText: '按钮'
165
+ },
166
+ style: {
167
+ textAlign: 'center'
168
+ },
169
+ isContainer: false,
170
+ isBusiObjContainer: false,
171
+ cmdgroup: ['basic'],
172
+ platform: 'pc',
173
+ icon: 'Button',
174
+ description: '',
175
+ image: '',
176
+ groupsName: '通用',
177
+ isInlineBlock: true,
178
+ setEvents: [],
179
+ isLabelDropBoxChild: false,
180
+ components: [],
181
+ path: ['761872', 'View_761872_1']
182
+ }, {
183
+ id: 'Button_692544',
184
+ label: '按钮',
185
+ compName: 'Button',
186
+ type: 'Button',
187
+ compType: 1,
188
+ compLib: 'comm',
189
+ props: {
190
+ name: '按钮',
191
+ basicStatus: 1,
192
+ classification: 'default',
193
+ autoProcessFlow: false,
194
+ flowProcessResult: 'common',
195
+ iconPosition: 'left',
196
+ ghost: false,
197
+ block: false,
198
+ size: 'default',
199
+ disabled: false,
200
+ type: 'text',
201
+ btnIcon: 'none',
202
+ hasIcon: false,
203
+ shape: 'default',
204
+ loading: false,
205
+ btnText: '按钮'
206
+ },
207
+ style: {
208
+ textAlign: 'center'
209
+ },
210
+ isContainer: false,
211
+ isBusiObjContainer: false,
212
+ cmdgroup: ['basic'],
213
+ platform: 'pc',
214
+ icon: 'Button',
215
+ description: '',
216
+ image: '',
217
+ groupsName: '通用',
218
+ isInlineBlock: true,
219
+ setEvents: [],
220
+ isLabelDropBoxChild: false,
221
+ components: [],
222
+ path: ['761872', 'View_761872_1']
223
+ }, {
224
+ id: 'Button_111416',
225
+ label: '按钮',
226
+ compName: 'Button',
227
+ type: 'Button',
228
+ compType: 1,
229
+ compLib: 'comm',
230
+ props: {
231
+ name: '按钮',
232
+ basicStatus: 1,
233
+ classification: 'default',
234
+ autoProcessFlow: false,
235
+ flowProcessResult: 'common',
236
+ iconPosition: 'left',
237
+ ghost: false,
238
+ block: false,
239
+ size: 'default',
240
+ disabled: false,
241
+ type: 'link',
242
+ btnIcon: 'none',
243
+ hasIcon: false,
244
+ shape: 'default',
245
+ loading: false,
246
+ btnText: '按钮'
247
+ },
248
+ style: {
249
+ textAlign: 'center'
250
+ },
251
+ isContainer: false,
252
+ isBusiObjContainer: false,
253
+ cmdgroup: ['basic'],
254
+ platform: 'pc',
255
+ icon: 'Button',
256
+ description: '',
257
+ image: '',
258
+ groupsName: '通用',
259
+ isInlineBlock: true,
260
+ setEvents: [],
261
+ isLabelDropBoxChild: false,
262
+ components: [],
263
+ path: ['761872', 'View_761872_1']
264
+ }]
265
+ };
@@ -0,0 +1,137 @@
1
+ export declare const Card: {
2
+ type: string;
3
+ variable: {
4
+ textColor: {
5
+ type: string;
6
+ label: string;
7
+ groupsName: string;
8
+ canEdit: boolean;
9
+ extendsKey: string;
10
+ desc: string;
11
+ };
12
+ lineHeight: {
13
+ type: string;
14
+ label: string;
15
+ groupsName: string;
16
+ canEdit: boolean;
17
+ extendsKey: string;
18
+ desc: string;
19
+ };
20
+ fontSize: {
21
+ type: string;
22
+ label: string;
23
+ groupsName: string;
24
+ canEdit: boolean;
25
+ extendsKey: string;
26
+ desc: string;
27
+ };
28
+ fontWeight: {
29
+ type: string;
30
+ label: string;
31
+ groupsName: string;
32
+ canEdit: boolean;
33
+ extendsKey: string;
34
+ desc: string;
35
+ options: {
36
+ title: string;
37
+ value: string;
38
+ }[];
39
+ };
40
+ backgroundColor: {
41
+ type: string;
42
+ label: string;
43
+ groupsName: string;
44
+ };
45
+ titleColor: {
46
+ type: string;
47
+ label: string;
48
+ groupsName: string;
49
+ };
50
+ tagSize: {
51
+ type: string;
52
+ label: string;
53
+ groupsName: string;
54
+ };
55
+ tagMargin: {
56
+ type: string;
57
+ label: string;
58
+ groupsName: string;
59
+ };
60
+ borderColor: {
61
+ type: string;
62
+ label: string;
63
+ groupsName: string;
64
+ };
65
+ borderRadius: {
66
+ type: string;
67
+ label: string;
68
+ groupsName: string;
69
+ };
70
+ bodyColor: {
71
+ type: string;
72
+ label: string;
73
+ groupsName: string;
74
+ };
75
+ lineColor: {
76
+ type: string;
77
+ label: string;
78
+ groupsName: string;
79
+ };
80
+ };
81
+ groupsName: string;
82
+ icon: string;
83
+ title: string;
84
+ defaultValue: {
85
+ fontSize: string;
86
+ backgroundColor: string;
87
+ titleColor: string;
88
+ tagSize: string;
89
+ tagMargin: string;
90
+ borderColor: string;
91
+ borderRadius: string;
92
+ bodyColor: string;
93
+ lineColor: string;
94
+ }[];
95
+ tpl: string;
96
+ components: {
97
+ id: string;
98
+ label: string;
99
+ compName: string;
100
+ type: string;
101
+ compType: number;
102
+ compLib: string;
103
+ props: {
104
+ name: string;
105
+ basicStatus: number;
106
+ cardIconType: string;
107
+ extendNum: number;
108
+ title: string;
109
+ bordered: boolean;
110
+ size: string;
111
+ hasHeader: boolean;
112
+ hasIcon: boolean;
113
+ prefixIcon: {
114
+ prefixIconTheme: string;
115
+ prefixIconType: string;
116
+ };
117
+ };
118
+ style: {
119
+ padding: string;
120
+ overflowY: string;
121
+ margin: string;
122
+ };
123
+ isContainer: boolean;
124
+ isBusiObjContainer: boolean;
125
+ cmdgroup: string[];
126
+ platform: string;
127
+ icon: string;
128
+ description: string;
129
+ image: string;
130
+ groupsName: string;
131
+ engineApi: string[];
132
+ setEvents: never[];
133
+ isLabelDropBoxChild: boolean;
134
+ components: never[];
135
+ path: string[];
136
+ }[];
137
+ };