@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,235 @@
1
+ export declare const Grid: {
2
+ type: string;
3
+ variable: {
4
+ backgroundColor: {
5
+ type: string;
6
+ label: string;
7
+ groupsName: string;
8
+ };
9
+ textColor: {
10
+ type: string;
11
+ label: string;
12
+ groupsName: string;
13
+ followTheme: string;
14
+ };
15
+ fontSize: {
16
+ type: string;
17
+ label: string;
18
+ groupsName: string;
19
+ };
20
+ lineHeight: {
21
+ type: string;
22
+ label: string;
23
+ groupsName: string;
24
+ options: {
25
+ label: string;
26
+ value: string;
27
+ }[];
28
+ };
29
+ fontWeight: {
30
+ type: string;
31
+ label: string;
32
+ groupsName: string;
33
+ options: {
34
+ title: string;
35
+ value: string;
36
+ }[];
37
+ };
38
+ borderRadius: {
39
+ type: string;
40
+ label: string;
41
+ groupsName: string;
42
+ };
43
+ borderColor: {
44
+ type: string;
45
+ label: string;
46
+ groupsName: string;
47
+ followTheme: string;
48
+ };
49
+ lineColor: {
50
+ type: string;
51
+ label: string;
52
+ groupsName: string;
53
+ followTheme: string;
54
+ };
55
+ iconSize: {
56
+ type: string;
57
+ label: string;
58
+ groupsName: string;
59
+ };
60
+ };
61
+ groupsName: string;
62
+ icon: string;
63
+ title: string;
64
+ defaultValue: {
65
+ backgroundColor: string;
66
+ borderColor: string;
67
+ borderRadius: string;
68
+ lineColor: string;
69
+ iconSize: string;
70
+ textColor: string;
71
+ lineHeight: string;
72
+ fontSize: string;
73
+ fontWeight: string;
74
+ }[];
75
+ followThemes: {
76
+ '@border-color-base': never[];
77
+ '@color-text-base': never[];
78
+ };
79
+ tpl: string;
80
+ components: ({
81
+ id: string;
82
+ label: string;
83
+ compName: string;
84
+ type: string;
85
+ compType: number;
86
+ compLib: string;
87
+ props: {
88
+ name: string;
89
+ gridData: {
90
+ icon: string;
91
+ text: string;
92
+ }[];
93
+ hasLine: boolean;
94
+ isCarousel: boolean;
95
+ aliasIcon: string;
96
+ aliasText: string;
97
+ maxRow: number;
98
+ columnNum: number;
99
+ square: boolean;
100
+ carouselMaxRow: number;
101
+ basicStatus?: undefined;
102
+ };
103
+ style: {
104
+ textAlign?: undefined;
105
+ display?: undefined;
106
+ flexDirection?: undefined;
107
+ padding?: undefined;
108
+ width?: undefined;
109
+ backgroundColor?: undefined;
110
+ height?: undefined;
111
+ };
112
+ isContainer: boolean;
113
+ isBusiObjContainer: boolean;
114
+ cmdgroup: string[];
115
+ platform: string;
116
+ engineApi: string[];
117
+ setEvents: {
118
+ dataName: string;
119
+ dataId: string;
120
+ value: string;
121
+ params: {
122
+ title: string;
123
+ name: string;
124
+ value: string;
125
+ }[];
126
+ path: never[];
127
+ children: never[];
128
+ }[];
129
+ description: string;
130
+ image: string;
131
+ groupsName: string;
132
+ icon: string;
133
+ isLabelDropBoxChild: boolean;
134
+ components: never[];
135
+ path: string[];
136
+ } | {
137
+ id: string;
138
+ label: string;
139
+ compName: string;
140
+ type: string;
141
+ compType: number;
142
+ compLib: string;
143
+ props: {
144
+ name: string;
145
+ basicStatus: number;
146
+ gridData?: undefined;
147
+ hasLine?: undefined;
148
+ isCarousel?: undefined;
149
+ aliasIcon?: undefined;
150
+ aliasText?: undefined;
151
+ maxRow?: undefined;
152
+ columnNum?: undefined;
153
+ square?: undefined;
154
+ carouselMaxRow?: undefined;
155
+ };
156
+ style: {
157
+ textAlign: string;
158
+ display: string;
159
+ flexDirection: string;
160
+ padding: string;
161
+ width: string;
162
+ backgroundColor: string;
163
+ height: string;
164
+ };
165
+ isContainer: boolean;
166
+ isBusiObjContainer: boolean;
167
+ cmdgroup: string[];
168
+ platform: string;
169
+ icon: string;
170
+ description: string;
171
+ image: string;
172
+ groupsName: string;
173
+ engineApi: string[];
174
+ setEvents: never[];
175
+ isLabelDropBoxChild: boolean;
176
+ components: never[];
177
+ path: string[];
178
+ } | {
179
+ id: string;
180
+ label: string;
181
+ compName: string;
182
+ type: string;
183
+ compType: number;
184
+ compLib: string;
185
+ props: {
186
+ name: string;
187
+ gridData: {
188
+ icon: string;
189
+ text: string;
190
+ }[];
191
+ hasLine: boolean;
192
+ isCarousel: boolean;
193
+ aliasIcon: string;
194
+ aliasText: string;
195
+ maxRow: number;
196
+ columnNum: number;
197
+ square: boolean;
198
+ carouselMaxRow: number;
199
+ basicStatus?: undefined;
200
+ };
201
+ style: {
202
+ textAlign?: undefined;
203
+ display?: undefined;
204
+ flexDirection?: undefined;
205
+ padding?: undefined;
206
+ width?: undefined;
207
+ backgroundColor?: undefined;
208
+ height?: undefined;
209
+ };
210
+ isContainer: boolean;
211
+ isBusiObjContainer: boolean;
212
+ cmdgroup: string[];
213
+ platform: string;
214
+ setEvents: {
215
+ dataName: string;
216
+ dataId: string;
217
+ value: string;
218
+ params: {
219
+ title: string;
220
+ name: string;
221
+ value: string;
222
+ }[];
223
+ path: never[];
224
+ children: never[];
225
+ }[];
226
+ description: string;
227
+ image: string;
228
+ groupsName: string;
229
+ icon: string;
230
+ isLabelDropBoxChild: boolean;
231
+ components: never[];
232
+ path: string[];
233
+ engineApi?: undefined;
234
+ })[];
235
+ };
@@ -0,0 +1,278 @@
1
+ export var Grid = {
2
+ type: 'Grid',
3
+ variable: {
4
+ backgroundColor: {
5
+ type: 'color',
6
+ label: '填充颜色',
7
+ groupsName: '背景'
8
+ },
9
+ textColor: {
10
+ type: 'color',
11
+ label: '文本颜色',
12
+ groupsName: '文字',
13
+ followTheme: '@color-text-base'
14
+ },
15
+ fontSize: {
16
+ type: 'px',
17
+ label: '文本尺寸',
18
+ groupsName: '文字'
19
+ },
20
+ lineHeight: {
21
+ type: 'px',
22
+ label: '文本行高',
23
+ groupsName: '文字',
24
+ options: [{
25
+ label: 'px',
26
+ value: 'px'
27
+ }, {
28
+ label: '%',
29
+ value: '%'
30
+ }]
31
+ },
32
+ fontWeight: {
33
+ type: 'select',
34
+ label: '文本字重',
35
+ groupsName: '文字',
36
+ options: [{
37
+ title: '100',
38
+ value: '100'
39
+ }, {
40
+ title: '200',
41
+ value: '200'
42
+ }, {
43
+ title: '300',
44
+ value: '300'
45
+ }, {
46
+ title: '400',
47
+ value: '400'
48
+ }, {
49
+ title: '500',
50
+ value: '500'
51
+ }, {
52
+ title: '600',
53
+ value: '600'
54
+ }, {
55
+ title: '700',
56
+ value: '700'
57
+ }]
58
+ },
59
+ borderRadius: {
60
+ type: 'px',
61
+ label: '圆角',
62
+ groupsName: '边框'
63
+ },
64
+ borderColor: {
65
+ type: 'color',
66
+ label: '颜色',
67
+ groupsName: '边框',
68
+ followTheme: '@border-color-base'
69
+ },
70
+ lineColor: {
71
+ type: 'color',
72
+ label: '分割线颜色',
73
+ groupsName: '其他',
74
+ followTheme: '@border-color-base'
75
+ },
76
+ iconSize: {
77
+ type: 'px',
78
+ label: '图标尺寸',
79
+ groupsName: '其他'
80
+ }
81
+ },
82
+ groupsName: '高级',
83
+ icon: 'icon-ico-comp-app-Grid',
84
+ title: '宫格',
85
+ defaultValue: [{
86
+ backgroundColor: '#fff',
87
+ borderColor: '#ddd',
88
+ borderRadius: '0',
89
+ lineColor: '#ddd',
90
+ iconSize: '25px',
91
+ textColor: '#000',
92
+ lineHeight: '100%',
93
+ fontSize: '12px',
94
+ fontWeight: '400'
95
+ }],
96
+ followThemes: {
97
+ '@border-color-base': [],
98
+ '@color-text-base': []
99
+ },
100
+ tpl: ".use-app-grid{\n background-color: backgroundColor;\n border-radius: borderRadius;\n .am-grid {\n border-color: borderColor;\n background-color: backgroundColor;\n border-radius: borderRadius;\n overflow: hidden;\n --adm-font-size-4: fontSize;\n --adm-color-text: textColor;\n --adm-border-color: lineColor;\n }\n .am-grid.am-grid-square .am-grid-item .am-grid-item-inner-content .am-grid-icon{\n width: iconSize;\n }\n .am-grid .am-grid-flex .am-grid-flex-item .am-grid-item-content .am-grid-item-inner-content .am-grid-text{\n line-height: lineHeight;\n font-weight: fontWeight;\n }\n }\n",
101
+ components: [{
102
+ id: 'Grid_842271',
103
+ label: '宫格',
104
+ compName: 'Grid',
105
+ type: 'Grid',
106
+ compType: 3,
107
+ compLib: '@/components',
108
+ props: {
109
+ name: '宫格',
110
+ gridData: [{
111
+ icon: 'https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg',
112
+ text: '整体清洁'
113
+ }, {
114
+ icon: 'https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg',
115
+ text: '汽车清洁'
116
+ }, {
117
+ icon: 'https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg',
118
+ text: '垃圾桶清洁'
119
+ }, {
120
+ icon: 'https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg',
121
+ text: '家庭除螨'
122
+ }, {
123
+ icon: 'https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg',
124
+ text: '干洗衣物'
125
+ }, {
126
+ icon: 'https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg',
127
+ text: '家电清洗'
128
+ }, {
129
+ icon: 'https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg',
130
+ text: '服务清洁'
131
+ }, {
132
+ icon: 'https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg',
133
+ text: '墙壁粉刷'
134
+ }],
135
+ hasLine: true,
136
+ isCarousel: false,
137
+ aliasIcon: 'icon',
138
+ aliasText: 'text',
139
+ maxRow: 0,
140
+ columnNum: 4,
141
+ square: true,
142
+ carouselMaxRow: 2
143
+ },
144
+ style: {},
145
+ isContainer: false,
146
+ isBusiObjContainer: false,
147
+ cmdgroup: ['basic'],
148
+ platform: 'h5',
149
+ engineApi: ['downloadFileByFileCode'],
150
+ setEvents: [{
151
+ dataName: 'event',
152
+ dataId: '74633',
153
+ value: 'onClick',
154
+ params: [{
155
+ title: '数据项',
156
+ name: 'e',
157
+ value: '$e$'
158
+ }, {
159
+ title: '数据索引',
160
+ name: 'index',
161
+ value: '$index$'
162
+ }],
163
+ path: [],
164
+ children: []
165
+ }],
166
+ description: '',
167
+ image: '',
168
+ groupsName: '高级',
169
+ icon: 'Grid',
170
+ isLabelDropBoxChild: false,
171
+ components: [],
172
+ path: ['454426', 'View_454426_1']
173
+ }, {
174
+ id: 'View_519882',
175
+ label: '普通容器',
176
+ compName: 'View',
177
+ type: 'View',
178
+ compType: 0,
179
+ compLib: 'custom',
180
+ props: {
181
+ name: '普通容器1',
182
+ basicStatus: 1
183
+ },
184
+ style: {
185
+ textAlign: 'left',
186
+ display: 'block',
187
+ flexDirection: 'column',
188
+ padding: '0px 0px 0px 0px',
189
+ width: '100%',
190
+ backgroundColor: '#FFFFFF',
191
+ height: '50px'
192
+ },
193
+ isContainer: true,
194
+ isBusiObjContainer: false,
195
+ cmdgroup: ['basic'],
196
+ platform: 'app',
197
+ icon: 'View',
198
+ description: '',
199
+ image: '',
200
+ groupsName: '布局',
201
+ engineApi: ['service.downloadFileByFileCode'],
202
+ setEvents: [],
203
+ isLabelDropBoxChild: false,
204
+ components: [],
205
+ path: ['998509']
206
+ }, {
207
+ id: 'Grid_4314385',
208
+ label: '宫格',
209
+ compName: 'Grid',
210
+ type: 'Grid',
211
+ compType: 3,
212
+ compLib: '@/components',
213
+ props: {
214
+ name: '宫格',
215
+ gridData: [{
216
+ icon: 'https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg',
217
+ text: '整体清洁'
218
+ }, {
219
+ icon: 'https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg',
220
+ text: '汽车清洁'
221
+ }, {
222
+ icon: 'https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg',
223
+ text: '垃圾桶清洁'
224
+ }, {
225
+ icon: 'https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg',
226
+ text: '家庭除螨'
227
+ }, {
228
+ icon: 'https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg',
229
+ text: '干洗衣物'
230
+ }, {
231
+ icon: 'https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg',
232
+ text: '家电清洗'
233
+ }, {
234
+ icon: 'https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg',
235
+ text: '服务清洁'
236
+ }, {
237
+ icon: 'https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg',
238
+ text: '墙壁粉刷'
239
+ }],
240
+ hasLine: true,
241
+ isCarousel: true,
242
+ aliasIcon: 'icon',
243
+ aliasText: 'text',
244
+ maxRow: 0,
245
+ columnNum: 4,
246
+ square: true,
247
+ carouselMaxRow: 1
248
+ },
249
+ style: {},
250
+ isContainer: false,
251
+ isBusiObjContainer: false,
252
+ cmdgroup: ['basic'],
253
+ platform: 'h5',
254
+ setEvents: [{
255
+ dataName: 'event',
256
+ dataId: '150502',
257
+ value: 'onClick',
258
+ params: [{
259
+ title: '数据项',
260
+ name: 'e',
261
+ value: '$e$'
262
+ }, {
263
+ title: '数据索引',
264
+ name: 'index',
265
+ value: '$index$'
266
+ }],
267
+ path: [],
268
+ children: []
269
+ }],
270
+ description: '',
271
+ image: '',
272
+ groupsName: '高级',
273
+ icon: 'Grid',
274
+ isLabelDropBoxChild: false,
275
+ components: [],
276
+ path: ['769713', 'View_769713_1']
277
+ }]
278
+ };
@@ -0,0 +1,54 @@
1
+ export declare const Icon: {
2
+ type: string;
3
+ variable: {
4
+ iconSize: {
5
+ type: string;
6
+ label: string;
7
+ groupsName: string;
8
+ };
9
+ };
10
+ groupsName: string;
11
+ icon: string;
12
+ title: string;
13
+ defaultValue: {
14
+ iconSize: string;
15
+ }[];
16
+ tpl: string;
17
+ components: {
18
+ id: string;
19
+ label: string;
20
+ compName: string;
21
+ type: string;
22
+ compType: number;
23
+ compLib: string;
24
+ props: {
25
+ name: string;
26
+ state: string;
27
+ mode: string;
28
+ icon: {
29
+ type: string;
30
+ theme: string;
31
+ fontAddress: string;
32
+ isIconFont: boolean;
33
+ };
34
+ size: string;
35
+ };
36
+ style: {
37
+ border: string;
38
+ };
39
+ isContainer: boolean;
40
+ isBusiObjContainer: boolean;
41
+ cmdgroup: string[];
42
+ platform: string;
43
+ engineApi: string[];
44
+ isInlineBlock: boolean;
45
+ setEvents: never[];
46
+ description: string;
47
+ image: string;
48
+ groupsName: string;
49
+ icon: string;
50
+ isLabelDropBoxChild: boolean;
51
+ components: never[];
52
+ path: string[];
53
+ }[];
54
+ };
@@ -0,0 +1,54 @@
1
+ export var Icon = {
2
+ type: 'Icon',
3
+ variable: {
4
+ iconSize: {
5
+ type: 'px',
6
+ label: '尺寸',
7
+ groupsName: '文字'
8
+ }
9
+ },
10
+ groupsName: '基础',
11
+ icon: 'icon-ico-comp-app-Icon',
12
+ title: '图标',
13
+ defaultValue: [{
14
+ iconSize: '20px'
15
+ }],
16
+ tpl: ".factory-icon.cust-icon-sm {\n width: iconSize;\n height: iconSize;\n font-size: iconSize;\n }",
17
+ components: [{
18
+ id: 'Icon_7464028',
19
+ label: '图标',
20
+ compName: 'Icon',
21
+ type: 'Icon',
22
+ compType: 1,
23
+ compLib: '@/components',
24
+ props: {
25
+ name: '图标',
26
+ state: '1',
27
+ mode: 'normal',
28
+ icon: {
29
+ type: 'check-circle',
30
+ theme: 'outlined',
31
+ fontAddress: '',
32
+ isIconFont: false
33
+ },
34
+ size: 'sm'
35
+ },
36
+ style: {
37
+ border: '0px'
38
+ },
39
+ isContainer: false,
40
+ isBusiObjContainer: false,
41
+ cmdgroup: ['basic'],
42
+ platform: 'h5',
43
+ engineApi: ['downloadFileByFileCode', 'getMaterialFile'],
44
+ isInlineBlock: true,
45
+ setEvents: [],
46
+ description: '',
47
+ image: '',
48
+ groupsName: '基础',
49
+ icon: 'Icon',
50
+ isLabelDropBoxChild: false,
51
+ components: [],
52
+ path: ['769713', 'View_769713_1']
53
+ }]
54
+ };
@@ -0,0 +1,51 @@
1
+ export declare const ALink: {
2
+ type: string;
3
+ variable: {
4
+ textColor: {
5
+ type: string;
6
+ label: string;
7
+ groupsName: string;
8
+ followTheme: string;
9
+ };
10
+ };
11
+ groupsName: string;
12
+ icon: string;
13
+ title: string;
14
+ defaultValue: {
15
+ textColor: string;
16
+ }[];
17
+ followThemes: {
18
+ '@color-link': string[];
19
+ };
20
+ tpl: string;
21
+ components: {
22
+ id: string;
23
+ label: string;
24
+ compName: string;
25
+ type: string;
26
+ compType: number;
27
+ compLib: string;
28
+ props: {
29
+ name: string;
30
+ href: string;
31
+ children: string;
32
+ target: string;
33
+ };
34
+ style: {
35
+ textAlign: string;
36
+ };
37
+ isContainer: boolean;
38
+ isBusiObjContainer: boolean;
39
+ cmdgroup: string[];
40
+ platform: string;
41
+ description: string;
42
+ isInlineBlock: boolean;
43
+ image: string;
44
+ groupsName: string;
45
+ icon: string;
46
+ setEvents: never[];
47
+ isLabelDropBoxChild: boolean;
48
+ components: never[];
49
+ path: string[];
50
+ }[];
51
+ };