@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,113 @@
1
+ export declare const Button: {
2
+ type: string;
3
+ variable: {
4
+ backgroundColor: {
5
+ type: string;
6
+ label: string;
7
+ groupsName: string;
8
+ followTheme: string;
9
+ };
10
+ textColor: {
11
+ type: string;
12
+ label: string;
13
+ groupsName: string;
14
+ followTheme: string;
15
+ };
16
+ fontSize: {
17
+ type: string;
18
+ label: string;
19
+ groupsName: string;
20
+ desc: string;
21
+ followTheme: string;
22
+ };
23
+ lineHeight: {
24
+ type: string;
25
+ label: string;
26
+ groupsName: string;
27
+ };
28
+ paddingValue: {
29
+ type: string;
30
+ label: string;
31
+ groupsName: string;
32
+ };
33
+ marginValue: {
34
+ type: string;
35
+ label: string;
36
+ groupsName: string;
37
+ };
38
+ borderRadius: {
39
+ type: string;
40
+ label: string;
41
+ groupsName: string;
42
+ followTheme: string;
43
+ };
44
+ borderColor: {
45
+ type: string;
46
+ label: string;
47
+ groupsName: string;
48
+ followTheme: string;
49
+ };
50
+ };
51
+ groupsName: string;
52
+ icon: string;
53
+ title: string;
54
+ defaultValue: {
55
+ textColor: string;
56
+ fontSize: string;
57
+ backgroundColor: string;
58
+ borderColor: string;
59
+ borderRadius: string;
60
+ paddingValue: string;
61
+ marginValue: string;
62
+ }[];
63
+ followThemes: {
64
+ '@primary-color': string[];
65
+ '@font-size-base': string[];
66
+ '@border-radius-base': string[];
67
+ '@border-color-base': string[];
68
+ '@text-color': never[];
69
+ };
70
+ tpl: string;
71
+ components: {
72
+ id: string;
73
+ label: string;
74
+ compName: string;
75
+ type: string;
76
+ compType: number;
77
+ compLib: string;
78
+ props: {
79
+ name: string;
80
+ basicStatus: number;
81
+ classification: string;
82
+ autoProcessFlow: boolean;
83
+ flowProcessResult: string;
84
+ iconPosition: string;
85
+ ghost: boolean;
86
+ block: boolean;
87
+ size: string;
88
+ disabled: boolean;
89
+ type: string;
90
+ btnIcon: string;
91
+ hasIcon: boolean;
92
+ shape: string;
93
+ loading: boolean;
94
+ btnText: string;
95
+ };
96
+ style: {
97
+ textAlign: string;
98
+ };
99
+ isContainer: boolean;
100
+ isBusiObjContainer: boolean;
101
+ cmdgroup: string[];
102
+ platform: string;
103
+ icon: string;
104
+ description: string;
105
+ image: string;
106
+ groupsName: string;
107
+ isInlineBlock: boolean;
108
+ setEvents: never[];
109
+ isLabelDropBoxChild: boolean;
110
+ components: never[];
111
+ path: string[];
112
+ }[];
113
+ };
@@ -0,0 +1,277 @@
1
+ export var Button = {
2
+ type: 'Button',
3
+ variable: {
4
+ backgroundColor: {
5
+ type: 'color',
6
+ label: '填充颜色',
7
+ groupsName: '背景',
8
+ followTheme: '@primary-color'
9
+ },
10
+ textColor: {
11
+ type: 'color',
12
+ label: '文本颜色',
13
+ groupsName: '文字',
14
+ followTheme: '@text-color'
15
+ },
16
+ fontSize: {
17
+ type: 'px',
18
+ label: '文本尺寸',
19
+ groupsName: '文字',
20
+ desc: '按钮高度不会随着文字大小变化,因为按钮有4种大小规格',
21
+ followTheme: '@font-size-base'
22
+ },
23
+ lineHeight: {
24
+ type: 'px',
25
+ label: '文本行高',
26
+ groupsName: '文字'
27
+ },
28
+ paddingValue: {
29
+ type: 'marginInput',
30
+ label: '内边距',
31
+ groupsName: '布局'
32
+ },
33
+ marginValue: {
34
+ type: 'marginInput',
35
+ label: '外边距',
36
+ groupsName: '布局'
37
+ },
38
+ borderRadius: {
39
+ type: 'px',
40
+ label: '圆角',
41
+ groupsName: '边框',
42
+ followTheme: '@border-radius-base'
43
+ },
44
+ borderColor: {
45
+ type: 'color',
46
+ label: '颜色',
47
+ groupsName: '边框',
48
+ followTheme: '@border-color-base'
49
+ }
50
+ },
51
+ groupsName: '通用',
52
+ icon: 'icon-ico-comp-btn',
53
+ title: '按钮',
54
+ defaultValue: [{
55
+ textColor: '#1c242e',
56
+ fontSize: '14px',
57
+ backgroundColor: '#47e',
58
+ borderColor: '#D8E0EC',
59
+ borderRadius: '2px',
60
+ paddingValue: '4px 24px 4px 24px',
61
+ marginValue: '0px'
62
+ }],
63
+ followThemes: {
64
+ '@primary-color': ['backgroundColor'],
65
+ '@font-size-base': ['fontSize'],
66
+ '@border-radius-base': ['borderRadius'],
67
+ '@border-color-base': ['borderColor'],
68
+ '@text-color': []
69
+ },
70
+ 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: backgroundColor;\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 ",
71
+ components: [{
72
+ id: 'Button_1229334',
73
+ label: '按钮',
74
+ compName: 'Button',
75
+ type: 'Button',
76
+ compType: 1,
77
+ compLib: 'comm',
78
+ props: {
79
+ name: '按钮',
80
+ basicStatus: 1,
81
+ classification: 'default',
82
+ autoProcessFlow: false,
83
+ flowProcessResult: 'common',
84
+ iconPosition: 'left',
85
+ ghost: false,
86
+ block: false,
87
+ size: 'default',
88
+ disabled: false,
89
+ type: 'primary',
90
+ btnIcon: 'none',
91
+ hasIcon: false,
92
+ shape: 'default',
93
+ loading: false,
94
+ btnText: '按钮'
95
+ },
96
+ style: {
97
+ textAlign: 'center'
98
+ },
99
+ isContainer: false,
100
+ isBusiObjContainer: false,
101
+ cmdgroup: ['basic'],
102
+ platform: 'pc',
103
+ icon: 'Button',
104
+ description: '',
105
+ image: '',
106
+ groupsName: '通用',
107
+ isInlineBlock: true,
108
+ setEvents: [],
109
+ isLabelDropBoxChild: false,
110
+ components: [],
111
+ path: ['761872', 'View_761872_1']
112
+ }, {
113
+ id: 'Button_526504',
114
+ label: '按钮',
115
+ compName: 'Button',
116
+ type: 'Button',
117
+ compType: 1,
118
+ compLib: 'comm',
119
+ props: {
120
+ name: '按钮',
121
+ basicStatus: 1,
122
+ classification: 'default',
123
+ autoProcessFlow: false,
124
+ flowProcessResult: 'common',
125
+ iconPosition: 'left',
126
+ ghost: false,
127
+ block: false,
128
+ size: 'default',
129
+ disabled: false,
130
+ type: 'default',
131
+ btnIcon: 'none',
132
+ hasIcon: false,
133
+ shape: 'default',
134
+ loading: false,
135
+ btnText: '按钮'
136
+ },
137
+ style: {
138
+ textAlign: 'center'
139
+ },
140
+ isContainer: false,
141
+ isBusiObjContainer: false,
142
+ cmdgroup: ['basic'],
143
+ platform: 'pc',
144
+ icon: 'Button',
145
+ description: '',
146
+ image: '',
147
+ groupsName: '通用',
148
+ isInlineBlock: true,
149
+ setEvents: [],
150
+ isLabelDropBoxChild: false,
151
+ components: [],
152
+ path: ['761872', 'View_761872_1']
153
+ }, {
154
+ id: 'Button_2208062',
155
+ label: '按钮',
156
+ compName: 'Button',
157
+ type: 'Button',
158
+ compType: 1,
159
+ compLib: 'comm',
160
+ props: {
161
+ name: '按钮',
162
+ basicStatus: 1,
163
+ classification: 'default',
164
+ autoProcessFlow: false,
165
+ flowProcessResult: 'common',
166
+ iconPosition: 'left',
167
+ ghost: false,
168
+ block: false,
169
+ size: 'default',
170
+ disabled: false,
171
+ type: 'dashed',
172
+ btnIcon: 'none',
173
+ hasIcon: false,
174
+ shape: 'default',
175
+ loading: false,
176
+ btnText: '按钮'
177
+ },
178
+ style: {
179
+ textAlign: 'center'
180
+ },
181
+ isContainer: false,
182
+ isBusiObjContainer: false,
183
+ cmdgroup: ['basic'],
184
+ platform: 'pc',
185
+ icon: 'Button',
186
+ description: '',
187
+ image: '',
188
+ groupsName: '通用',
189
+ isInlineBlock: true,
190
+ setEvents: [],
191
+ isLabelDropBoxChild: false,
192
+ components: [],
193
+ path: ['761872', 'View_761872_1']
194
+ }, {
195
+ id: 'Button_692544',
196
+ label: '按钮',
197
+ compName: 'Button',
198
+ type: 'Button',
199
+ compType: 1,
200
+ compLib: 'comm',
201
+ props: {
202
+ name: '按钮',
203
+ basicStatus: 1,
204
+ classification: 'default',
205
+ autoProcessFlow: false,
206
+ flowProcessResult: 'common',
207
+ iconPosition: 'left',
208
+ ghost: false,
209
+ block: false,
210
+ size: 'default',
211
+ disabled: false,
212
+ type: 'text',
213
+ btnIcon: 'none',
214
+ hasIcon: false,
215
+ shape: 'default',
216
+ loading: false,
217
+ btnText: '按钮'
218
+ },
219
+ style: {
220
+ textAlign: 'center'
221
+ },
222
+ isContainer: false,
223
+ isBusiObjContainer: false,
224
+ cmdgroup: ['basic'],
225
+ platform: 'pc',
226
+ icon: 'Button',
227
+ description: '',
228
+ image: '',
229
+ groupsName: '通用',
230
+ isInlineBlock: true,
231
+ setEvents: [],
232
+ isLabelDropBoxChild: false,
233
+ components: [],
234
+ path: ['761872', 'View_761872_1']
235
+ }, {
236
+ id: 'Button_111416',
237
+ label: '按钮',
238
+ compName: 'Button',
239
+ type: 'Button',
240
+ compType: 1,
241
+ compLib: 'comm',
242
+ props: {
243
+ name: '按钮',
244
+ basicStatus: 1,
245
+ classification: 'default',
246
+ autoProcessFlow: false,
247
+ flowProcessResult: 'common',
248
+ iconPosition: 'left',
249
+ ghost: false,
250
+ block: false,
251
+ size: 'default',
252
+ disabled: false,
253
+ type: 'link',
254
+ btnIcon: 'none',
255
+ hasIcon: false,
256
+ shape: 'default',
257
+ loading: false,
258
+ btnText: '按钮'
259
+ },
260
+ style: {
261
+ textAlign: 'center'
262
+ },
263
+ isContainer: false,
264
+ isBusiObjContainer: false,
265
+ cmdgroup: ['basic'],
266
+ platform: 'pc',
267
+ icon: 'Button',
268
+ description: '',
269
+ image: '',
270
+ groupsName: '通用',
271
+ isInlineBlock: true,
272
+ setEvents: [],
273
+ isLabelDropBoxChild: false,
274
+ components: [],
275
+ path: ['761872', 'View_761872_1']
276
+ }]
277
+ };
@@ -0,0 +1,144 @@
1
+ export declare const Card: {
2
+ type: string;
3
+ variable: {
4
+ backgroundColor: {
5
+ type: string;
6
+ label: string;
7
+ groupsName: string;
8
+ };
9
+ bodyColor: {
10
+ type: string;
11
+ label: string;
12
+ groupsName: string;
13
+ };
14
+ textColor: {
15
+ type: string;
16
+ label: string;
17
+ groupsName: string;
18
+ canEdit: boolean;
19
+ extendsKey: string;
20
+ desc: string;
21
+ };
22
+ fontSize: {
23
+ type: string;
24
+ label: string;
25
+ groupsName: string;
26
+ canEdit: boolean;
27
+ extendsKey: string;
28
+ desc: string;
29
+ };
30
+ lineHeight: {
31
+ type: string;
32
+ label: string;
33
+ groupsName: string;
34
+ canEdit: boolean;
35
+ extendsKey: string;
36
+ desc: string;
37
+ };
38
+ fontWeight: {
39
+ type: string;
40
+ label: string;
41
+ groupsName: string;
42
+ canEdit: boolean;
43
+ extendsKey: string;
44
+ desc: string;
45
+ options: {
46
+ title: string;
47
+ value: string;
48
+ }[];
49
+ };
50
+ borderRadius: {
51
+ type: string;
52
+ label: string;
53
+ groupsName: string;
54
+ followTheme: string;
55
+ };
56
+ borderColor: {
57
+ type: string;
58
+ label: string;
59
+ groupsName: string;
60
+ followTheme: string;
61
+ };
62
+ titleColor: {
63
+ type: string;
64
+ label: string;
65
+ groupsName: string;
66
+ followTheme: string;
67
+ };
68
+ tagSize: {
69
+ type: string;
70
+ label: string;
71
+ groupsName: string;
72
+ };
73
+ tagMargin: {
74
+ type: string;
75
+ label: string;
76
+ groupsName: string;
77
+ };
78
+ lineColor: {
79
+ type: string;
80
+ label: string;
81
+ groupsName: string;
82
+ };
83
+ };
84
+ groupsName: string;
85
+ icon: string;
86
+ title: string;
87
+ defaultValue: {
88
+ backgroundColor: string;
89
+ titleColor: string;
90
+ tagSize: string;
91
+ tagMargin: string;
92
+ borderColor: string;
93
+ borderRadius: string;
94
+ bodyColor: string;
95
+ lineColor: string;
96
+ }[];
97
+ followThemes: {
98
+ '@primary-color': string[];
99
+ '@border-radius-base': never[];
100
+ '@border-color-base': never[];
101
+ };
102
+ tpl: string;
103
+ components: {
104
+ id: string;
105
+ label: string;
106
+ compName: string;
107
+ type: string;
108
+ compType: number;
109
+ compLib: string;
110
+ props: {
111
+ name: string;
112
+ basicStatus: number;
113
+ cardIconType: string;
114
+ extendNum: number;
115
+ title: string;
116
+ bordered: boolean;
117
+ size: string;
118
+ hasHeader: boolean;
119
+ hasIcon: boolean;
120
+ prefixIcon: {
121
+ prefixIconTheme: string;
122
+ prefixIconType: string;
123
+ };
124
+ };
125
+ style: {
126
+ padding: string;
127
+ overflowY: string;
128
+ margin: string;
129
+ };
130
+ isContainer: boolean;
131
+ isBusiObjContainer: boolean;
132
+ cmdgroup: string[];
133
+ platform: string;
134
+ icon: string;
135
+ description: string;
136
+ image: string;
137
+ groupsName: string;
138
+ engineApi: string[];
139
+ setEvents: never[];
140
+ isLabelDropBoxChild: boolean;
141
+ components: never[];
142
+ path: string[];
143
+ }[];
144
+ };
@@ -0,0 +1,162 @@
1
+ export var Card = {
2
+ type: 'Card',
3
+ variable: {
4
+ backgroundColor: {
5
+ type: 'color',
6
+ label: '头部填充颜色',
7
+ groupsName: '背景'
8
+ },
9
+ bodyColor: {
10
+ type: 'color',
11
+ label: '内容填充颜色',
12
+ groupsName: '背景'
13
+ },
14
+ textColor: {
15
+ type: 'color',
16
+ label: '标题颜色',
17
+ groupsName: '标题',
18
+ canEdit: false,
19
+ extendsKey: 'Container',
20
+ desc: '继承自容器,此处不可编辑'
21
+ },
22
+ fontSize: {
23
+ type: 'px',
24
+ label: '标题尺寸',
25
+ groupsName: '标题',
26
+ canEdit: false,
27
+ extendsKey: 'Container',
28
+ desc: '继承自容器,此处不可编辑'
29
+ },
30
+ lineHeight: {
31
+ type: 'px',
32
+ label: '标题行高',
33
+ groupsName: '标题',
34
+ canEdit: false,
35
+ extendsKey: 'Container',
36
+ desc: '继承自容器,此处不可编辑'
37
+ },
38
+ fontWeight: {
39
+ type: 'select',
40
+ label: '标题字重',
41
+ groupsName: '标题',
42
+ canEdit: false,
43
+ extendsKey: 'Container',
44
+ desc: '继承自容器,此处不可编辑',
45
+ options: [{
46
+ title: '100',
47
+ value: '100'
48
+ }, {
49
+ title: '200',
50
+ value: '200'
51
+ }, {
52
+ title: '300',
53
+ value: '300'
54
+ }, {
55
+ title: '400',
56
+ value: '400'
57
+ }, {
58
+ title: '500',
59
+ value: '500'
60
+ }, {
61
+ title: '600',
62
+ value: '600'
63
+ }, {
64
+ title: '700',
65
+ value: '700'
66
+ }]
67
+ },
68
+ borderRadius: {
69
+ type: 'px',
70
+ label: '圆角',
71
+ groupsName: '边框',
72
+ followTheme: '@border-radius-base'
73
+ },
74
+ borderColor: {
75
+ type: 'color',
76
+ label: '颜色',
77
+ groupsName: '边框',
78
+ followTheme: '@border-color-base'
79
+ },
80
+ titleColor: {
81
+ type: 'color',
82
+ label: '装饰符颜色',
83
+ groupsName: '其他',
84
+ followTheme: '@primary-color'
85
+ },
86
+ tagSize: {
87
+ type: 'px',
88
+ label: '装饰符尺寸',
89
+ groupsName: '其他'
90
+ },
91
+ tagMargin: {
92
+ type: 'marginInput',
93
+ label: '装饰符外边距',
94
+ groupsName: '其他'
95
+ },
96
+ lineColor: {
97
+ type: 'color',
98
+ label: '分割线颜色',
99
+ groupsName: '其他'
100
+ }
101
+ },
102
+ groupsName: '容器',
103
+ icon: 'icon-ico-comp-card',
104
+ title: '卡片',
105
+ defaultValue: [{
106
+ backgroundColor: '#fff',
107
+ titleColor: '#47',
108
+ tagSize: '16px',
109
+ tagMargin: '0 8px 0 0',
110
+ borderColor: '#f0f0f0',
111
+ borderRadius: '2px',
112
+ bodyColor: '#fff',
113
+ lineColor: '#f0f0f0'
114
+ }],
115
+ followThemes: {
116
+ '@primary-color': ['titleColor'],
117
+ '@border-radius-base': [],
118
+ '@border-color-base': []
119
+ },
120
+ tpl: "\n .pcfactory-card{\n border-radius: borderRadius;\n }\n .ued-card.pcfactory-card-bordered .pcfactory-card-head {\n background-color: backgroundColor;\n border-color: lineColor;\n border-top-left-radius: borderRadius;\n border-top-right-radius: borderRadius;\n }\n .ued-card.pcfactory-card-bordered {\n border-color: borderColor;\n }\n .ued-card.pcfactory-card-bordered {\n border-color: borderColor;\n }\n .ued-card .ued-card-title-icon-auto>i {\n color: titleColor;\n margin: tagMargin;\n }\n .ued-card .ued-card-title-icon-auto span{\n color: titleColor;\n margin: tagMargin;\n }\n .ued-card .ued-card-title::before {\n color: titleColor;\n background: titleColor;\n margin: tagMargin;\n }\n .ued-card .ued-card-title-icon-auto>i svg{\n width: tagSize;\n height: tagSize;\n }\n .ued-card .ued-card-title-icon-auto span svg{\n width: tagSize;\n height: tagSize;\n }\n .ued-card .pcfactory-card-body{\n background-color: bodyColor;\n border-bottom-right-radius: borderRadius;\n border-bottom-left-radius: borderRadius;\n }",
121
+ components: [{
122
+ id: 'Card_813627',
123
+ label: '卡片',
124
+ compName: 'Card',
125
+ type: 'Card',
126
+ compType: 0,
127
+ compLib: '$component',
128
+ props: {
129
+ name: '卡片',
130
+ basicStatus: 1,
131
+ cardIconType: 'auto',
132
+ extendNum: 3,
133
+ title: '标题',
134
+ bordered: true,
135
+ size: 'default',
136
+ hasHeader: true,
137
+ hasIcon: true,
138
+ prefixIcon: {
139
+ prefixIconTheme: 'outlined',
140
+ prefixIconType: 'info-circle'
141
+ }
142
+ },
143
+ style: {
144
+ padding: '20px 20px 20px 20px',
145
+ overflowY: 'visible',
146
+ margin: '0 0 16px 0'
147
+ },
148
+ isContainer: true,
149
+ isBusiObjContainer: false,
150
+ cmdgroup: ['basic'],
151
+ platform: 'pc',
152
+ icon: 'Card',
153
+ description: '',
154
+ image: '',
155
+ groupsName: '容器',
156
+ engineApi: ['sandBoxSafeRun', 'service.downloadFileByFileCode'],
157
+ setEvents: [],
158
+ isLabelDropBoxChild: false,
159
+ components: [],
160
+ path: ['998509', 'View_998509_1']
161
+ }]
162
+ };