hy-app 0.6.9 → 0.7.1
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.
- package/attributes.json +1 -1
- package/components/hy-avatar/hy-avatar.vue +12 -5
- package/components/hy-avatar/props.ts +4 -2
- package/components/hy-avatar/typing.d.ts +8 -1
- package/components/hy-calendar/hy-calendar.vue +3 -2
- package/components/hy-calendar/month.vue +25 -5
- package/components/hy-calendar/props.ts +1 -1
- package/components/hy-calendar/typing.d.ts +9 -0
- package/components/hy-cascader/hy-cascader.vue +503 -0
- package/components/hy-cascader/index.scss +84 -0
- package/components/hy-cascader/props.ts +88 -0
- package/components/hy-cascader/typing.d.ts +34 -0
- package/components/hy-check-button/typing.d.ts +12 -7
- package/components/hy-code-input/hy-code-input.vue +33 -11
- package/components/hy-code-input/typing.d.ts +4 -0
- package/components/hy-config-provider/hy-config-provider.vue +58 -53
- package/components/hy-count-down/hy-count-down.vue +8 -8
- package/components/hy-count-down/typing.d.ts +16 -0
- package/components/hy-count-to/hy-count-to.vue +7 -7
- package/components/hy-count-to/typing.d.ts +24 -0
- package/components/hy-datetime-picker/props.ts +1 -1
- package/components/hy-datetime-picker/typing.d.ts +1 -1
- package/components/hy-dropdown/typing.d.ts +5 -0
- package/components/hy-dropdown-item/hy-dropdown-item.vue +1 -1
- package/components/hy-folding-panel/hy-folding-panel.vue +3 -3
- package/components/hy-folding-panel/typing.d.ts +23 -0
- package/components/hy-folding-panel-item/hy-folding-panel-item.vue +2 -2
- package/components/hy-folding-panel-item/typing.d.ts +21 -0
- package/components/hy-form/hy-form.vue +2 -2
- package/components/hy-form/typing.d.ts +37 -0
- package/components/hy-form-item/typing.d.ts +1 -1
- package/components/hy-grid/hy-grid.vue +12 -12
- package/components/hy-grid/index.scss +1 -2
- package/components/hy-grid/props.ts +7 -2
- package/components/hy-grid/typing.d.ts +1 -1
- package/components/hy-icon/typing.d.ts +52 -9
- package/components/hy-keyboard/constants.ts +83 -0
- package/components/hy-keyboard/hy-keyboard.vue +375 -0
- package/components/hy-keyboard/index.scss +73 -0
- package/components/hy-keyboard/key/index.scss +79 -0
- package/components/hy-keyboard/key/index.vue +91 -0
- package/components/hy-keyboard/key/types.ts +1 -0
- package/components/hy-keyboard/props.ts +108 -0
- package/components/hy-keyboard/typing.d.ts +18 -0
- package/components/hy-list/hy-list.vue +15 -13
- package/components/hy-list/props.ts +1 -1
- package/components/hy-modal/typing.d.ts +2 -2
- package/components/hy-notice-bar/hy-column-notice.vue +54 -94
- package/components/hy-notice-bar/hy-notice-bar.vue +128 -96
- package/components/hy-notice-bar/hy-row-notice.vue +89 -121
- package/components/hy-notice-bar/props.ts +86 -85
- package/components/hy-notify/hy-notify.vue +10 -10
- package/components/hy-notify/typing.d.ts +35 -0
- package/components/hy-number-step/hy-number-step.vue +370 -367
- package/components/hy-number-step/index.scss +1 -0
- package/components/hy-number-step/props.ts +1 -1
- package/components/hy-picker/hy-picker.vue +126 -149
- package/components/hy-picker/props.ts +4 -1
- package/components/hy-picker/typing.d.ts +22 -0
- package/components/hy-popover/hy-popover.vue +2 -2
- package/components/hy-popover/typing.d.ts +1 -1
- package/components/hy-popup/hy-popup.vue +1 -1
- package/components/hy-popup/index.scss +1 -0
- package/components/hy-price/hy-price.vue +52 -23
- package/components/hy-price/props.ts +54 -54
- package/components/hy-radio/props.ts +1 -1
- package/components/hy-radio/typing.d.ts +5 -1
- package/components/hy-rolling-num/typing.d.ts +1 -0
- package/components/hy-signature/hy-signature.vue +17 -17
- package/components/hy-signature/typing.d.ts +1 -1
- package/components/hy-skeleton/index.scss +17 -0
- package/components/hy-steps/hy-steps.vue +1 -1
- package/components/hy-submit-bar/typing.d.ts +3 -3
- package/components/hy-swipe-action/hy-swipe-action.vue +34 -15
- package/components/hy-swipe-action/index.scss +0 -1
- package/components/hy-switch/typing.d.ts +4 -0
- package/components/hy-tabbar/props.ts +2 -1
- package/components/hy-tabbar/typing.d.ts +5 -4
- package/components/hy-tabs/hy-tabs.vue +338 -336
- package/components/hy-tabs/index.scss +6 -6
- package/components/hy-tabs/typing.d.ts +41 -33
- package/components/hy-textarea/hy-textarea.vue +2 -2
- package/components/hy-textarea/typing.d.ts +4 -0
- package/components/hy-toast/hy-toast.vue +17 -9
- package/components/hy-toast/index.scss +1 -1
- package/components/hy-toast/typing.d.ts +56 -37
- package/components/hy-tooltip/hy-tooltip.vue +1 -1
- package/components/hy-tooltip/index.scss +1 -0
- package/components/hy-tooltip/props.ts +1 -1
- package/components/hy-upload/hy-upload.vue +16 -1
- package/components/hy-upload/index.scss +149 -144
- package/components/index.ts +6 -0
- package/global.d.ts +2 -0
- package/libs/api/http.ts +122 -119
- package/libs/config/icon.ts +442 -430
- package/libs/css/_function.scss +7 -13
- package/libs/css/iconfont.css +445 -441
- package/libs/css/theme.scss +3 -1
- package/libs/locale/lang/en-US.ts +4 -0
- package/libs/locale/lang/zh-CN.ts +4 -0
- package/libs/typing/index.ts +80 -0
- package/package.json +5 -2
- package/tags.json +1 -1
- package/web-types.json +1 -1
- package/components/hy-folding-panel/hy-folding-panel-group.vue +0 -163
- package/components/hy-qrcode/qrcode.js.bak +0 -1434
package/libs/config/icon.ts
CHANGED
|
@@ -1,430 +1,442 @@
|
|
|
1
|
-
export const IconConfig = {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
1
|
+
export const IconConfig = {
|
|
2
|
+
/**
|
|
3
|
+
* 加载动画
|
|
4
|
+
* */
|
|
5
|
+
LOADING: 'loading',
|
|
6
|
+
/**
|
|
7
|
+
* 关闭
|
|
8
|
+
* */
|
|
9
|
+
CLOSE: 'close',
|
|
10
|
+
/**
|
|
11
|
+
* 空星
|
|
12
|
+
* */
|
|
13
|
+
STAR: 'collect',
|
|
14
|
+
/**
|
|
15
|
+
* 实星
|
|
16
|
+
* */
|
|
17
|
+
STAR_FILL: 'collect-fill',
|
|
18
|
+
/**
|
|
19
|
+
* 微笑
|
|
20
|
+
* */
|
|
21
|
+
SMILE: 'smile',
|
|
22
|
+
/**
|
|
23
|
+
* 微笑-实心
|
|
24
|
+
* */
|
|
25
|
+
SMILE_FILL: 'smile-fill',
|
|
26
|
+
/**
|
|
27
|
+
* 难过-实心
|
|
28
|
+
* */
|
|
29
|
+
CRY_FILL: 'cry-fill',
|
|
30
|
+
/**
|
|
31
|
+
* 打勾,勾选
|
|
32
|
+
* */
|
|
33
|
+
CHECK_MASK: 'check-mask',
|
|
34
|
+
/**
|
|
35
|
+
* 编辑
|
|
36
|
+
* */
|
|
37
|
+
EDIT: 'edit',
|
|
38
|
+
/**
|
|
39
|
+
* 商城
|
|
40
|
+
* */
|
|
41
|
+
SHOP: 'shop',
|
|
42
|
+
/**
|
|
43
|
+
* 实心锁
|
|
44
|
+
* */
|
|
45
|
+
LOCK_FILL: 'lock-fill',
|
|
46
|
+
/**
|
|
47
|
+
* 打开实心锁
|
|
48
|
+
* */
|
|
49
|
+
LOCK_OPEN_FILL: 'lock-open-fill',
|
|
50
|
+
/**
|
|
51
|
+
* 空心锁
|
|
52
|
+
* */
|
|
53
|
+
LOCK: 'lock',
|
|
54
|
+
/**
|
|
55
|
+
* 地点
|
|
56
|
+
* */
|
|
57
|
+
MAP: 'map',
|
|
58
|
+
/**
|
|
59
|
+
* 地点-实心
|
|
60
|
+
* */
|
|
61
|
+
MAP_FILL: 'map-fill',
|
|
62
|
+
/**
|
|
63
|
+
* 购物车
|
|
64
|
+
* */
|
|
65
|
+
SHOPPING_CART: 'shopping-cart',
|
|
66
|
+
/**
|
|
67
|
+
* 购物车-实心
|
|
68
|
+
* */
|
|
69
|
+
SHOPPING_CART_FILL: 'shopping-cart-fill',
|
|
70
|
+
/**
|
|
71
|
+
* 添加购物车
|
|
72
|
+
* */
|
|
73
|
+
SHOPPING_CART_ADD: 'shopping-cart-add',
|
|
74
|
+
/**
|
|
75
|
+
* 购物袋
|
|
76
|
+
* */
|
|
77
|
+
SHOPPING_BAG: 'shopping-bag',
|
|
78
|
+
/**
|
|
79
|
+
* 刷新
|
|
80
|
+
* */
|
|
81
|
+
REFRESH: 'refresh',
|
|
82
|
+
/**
|
|
83
|
+
* 任务
|
|
84
|
+
* */
|
|
85
|
+
TASK: 'task',
|
|
86
|
+
/**
|
|
87
|
+
* 标签
|
|
88
|
+
* */
|
|
89
|
+
TAG: 'tag',
|
|
90
|
+
/**
|
|
91
|
+
* 左
|
|
92
|
+
* */
|
|
93
|
+
LEFT: 'left',
|
|
94
|
+
/**
|
|
95
|
+
* 右
|
|
96
|
+
* */
|
|
97
|
+
RIGHT: 'right',
|
|
98
|
+
/**
|
|
99
|
+
* 上
|
|
100
|
+
* */
|
|
101
|
+
UP: 'up',
|
|
102
|
+
/**
|
|
103
|
+
* 下
|
|
104
|
+
* */
|
|
105
|
+
DOWN: 'down',
|
|
106
|
+
/**
|
|
107
|
+
* 向上-实心
|
|
108
|
+
* */
|
|
109
|
+
ARROW_UP_FILL: 'arrow-up-fill',
|
|
110
|
+
/**
|
|
111
|
+
* 向下-实心
|
|
112
|
+
* */
|
|
113
|
+
ARROW_DOWN_FILL: 'arrow-down-fill',
|
|
114
|
+
/**
|
|
115
|
+
* 向左-实心
|
|
116
|
+
* */
|
|
117
|
+
ARROW_LEFT_FILL: 'arrow-left-fill',
|
|
118
|
+
/**
|
|
119
|
+
* 向右-实心
|
|
120
|
+
* */
|
|
121
|
+
ARROW_RIGHT_FILL: 'arrow-right-fill',
|
|
122
|
+
/**
|
|
123
|
+
* 向左双箭头
|
|
124
|
+
* */
|
|
125
|
+
ARROW_DOUBLE_LEFT: 'arrow-double-left',
|
|
126
|
+
/**
|
|
127
|
+
* 向右双箭头
|
|
128
|
+
* */
|
|
129
|
+
ARROW_DOUBLE_RIGHT: 'arrow-double-right',
|
|
130
|
+
/**
|
|
131
|
+
* 箭头向左
|
|
132
|
+
* */
|
|
133
|
+
ARROW_LEFTWARD: 'arrow-leftward',
|
|
134
|
+
/**
|
|
135
|
+
* 箭头向右
|
|
136
|
+
* */
|
|
137
|
+
ARROW_RIGHTWARD: 'arrow-rightward',
|
|
138
|
+
/**
|
|
139
|
+
* 历史
|
|
140
|
+
* */
|
|
141
|
+
HISTORY: 'history',
|
|
142
|
+
/**
|
|
143
|
+
* 时间
|
|
144
|
+
* */
|
|
145
|
+
TIME: 'time',
|
|
146
|
+
/**
|
|
147
|
+
* 网络
|
|
148
|
+
* */
|
|
149
|
+
NETWORK: 'network',
|
|
150
|
+
/**
|
|
151
|
+
* 列表
|
|
152
|
+
* */
|
|
153
|
+
LIST_DOT: 'list-dot',
|
|
154
|
+
/**
|
|
155
|
+
* 菜单
|
|
156
|
+
* */
|
|
157
|
+
MENU: 'menu',
|
|
158
|
+
/**
|
|
159
|
+
* 搜索
|
|
160
|
+
* */
|
|
161
|
+
SEARCH: 'search',
|
|
162
|
+
/**
|
|
163
|
+
* 加
|
|
164
|
+
* */
|
|
165
|
+
PLUS: 'plus',
|
|
166
|
+
/**
|
|
167
|
+
* 减
|
|
168
|
+
* */
|
|
169
|
+
MINUS: 'minus',
|
|
170
|
+
/**
|
|
171
|
+
* 提醒
|
|
172
|
+
* */
|
|
173
|
+
REMIND: 'remind',
|
|
174
|
+
/**
|
|
175
|
+
* 提醒-实心
|
|
176
|
+
* */
|
|
177
|
+
REMIND_FILL: 'remind-fill',
|
|
178
|
+
/**
|
|
179
|
+
* 警告
|
|
180
|
+
* */
|
|
181
|
+
WARNING: 'warning',
|
|
182
|
+
/**
|
|
183
|
+
* 警告-实心
|
|
184
|
+
* */
|
|
185
|
+
WARNING_FILL: 'warning-fill',
|
|
186
|
+
/**
|
|
187
|
+
* 删除
|
|
188
|
+
* */
|
|
189
|
+
DELETE: 'delete',
|
|
190
|
+
/**
|
|
191
|
+
* 删除-实心
|
|
192
|
+
* */
|
|
193
|
+
DELETE_FILL: 'delete-fill',
|
|
194
|
+
/**
|
|
195
|
+
* 筛选
|
|
196
|
+
* */
|
|
197
|
+
SCREEN: 'screen',
|
|
198
|
+
/**
|
|
199
|
+
* 分类
|
|
200
|
+
* */
|
|
201
|
+
CLASS: 'class',
|
|
202
|
+
/**
|
|
203
|
+
* 应用
|
|
204
|
+
* */
|
|
205
|
+
CLASS_FILL: 'class-fill',
|
|
206
|
+
/**
|
|
207
|
+
* 首页
|
|
208
|
+
* */
|
|
209
|
+
HOME: 'home',
|
|
210
|
+
/**
|
|
211
|
+
* 首页-实心
|
|
212
|
+
* */
|
|
213
|
+
HOME_FILL: 'home-fill',
|
|
214
|
+
/**
|
|
215
|
+
* 我的
|
|
216
|
+
* */
|
|
217
|
+
MINE: 'mine',
|
|
218
|
+
/**
|
|
219
|
+
* 我的-实心
|
|
220
|
+
* */
|
|
221
|
+
MINE_FILL: 'mine-fill',
|
|
222
|
+
/**
|
|
223
|
+
* 设置
|
|
224
|
+
* */
|
|
225
|
+
SETTING: 'setting',
|
|
226
|
+
/**
|
|
227
|
+
* 设置-实心
|
|
228
|
+
* */
|
|
229
|
+
SETTING_FILL: 'setting-fill',
|
|
230
|
+
/**
|
|
231
|
+
* 关闭-圈
|
|
232
|
+
* */
|
|
233
|
+
CLOSE_CIRCLE: 'close-circle',
|
|
234
|
+
/**
|
|
235
|
+
* 关闭-圈-实心
|
|
236
|
+
* */
|
|
237
|
+
CLOSE_CIRCLE_FILL: 'close-circle-fill',
|
|
238
|
+
/**
|
|
239
|
+
* 感叹号
|
|
240
|
+
* */
|
|
241
|
+
NOTICE: 'notice',
|
|
242
|
+
/**
|
|
243
|
+
* 注意
|
|
244
|
+
* */
|
|
245
|
+
NOTICE_CIRCLE: 'notice-circle',
|
|
246
|
+
/**
|
|
247
|
+
* 注意-实心
|
|
248
|
+
* */
|
|
249
|
+
NOTICE_FILL: 'notice-fill',
|
|
250
|
+
/**
|
|
251
|
+
* 成功
|
|
252
|
+
* */
|
|
253
|
+
SUCCESS: 'success',
|
|
254
|
+
/**
|
|
255
|
+
* 成功-实心
|
|
256
|
+
* */
|
|
257
|
+
SUCCESS_FILL: 'success-fill',
|
|
258
|
+
/**
|
|
259
|
+
* 疑问
|
|
260
|
+
* */
|
|
261
|
+
QUERY: 'query',
|
|
262
|
+
/**
|
|
263
|
+
* 帮助
|
|
264
|
+
* */
|
|
265
|
+
HELP_CIRCLE: 'help-circle',
|
|
266
|
+
/**
|
|
267
|
+
* 帮助-实心
|
|
268
|
+
* */
|
|
269
|
+
HELP_FILL: 'help-fill',
|
|
270
|
+
/**
|
|
271
|
+
* 上传
|
|
272
|
+
* */
|
|
273
|
+
UPLOAD: 'upload',
|
|
274
|
+
/**
|
|
275
|
+
* 转换
|
|
276
|
+
* */
|
|
277
|
+
SWITCH: 'switch',
|
|
278
|
+
/**
|
|
279
|
+
* 下载
|
|
280
|
+
* */
|
|
281
|
+
DOWNLOAD: 'download',
|
|
282
|
+
/**
|
|
283
|
+
* 保护
|
|
284
|
+
* */
|
|
285
|
+
SECURITY: 'security',
|
|
286
|
+
/**
|
|
287
|
+
* 扫码
|
|
288
|
+
* */
|
|
289
|
+
SCAN: 'scan',
|
|
290
|
+
/**
|
|
291
|
+
* 保存
|
|
292
|
+
* */
|
|
293
|
+
SAVE: 'save',
|
|
294
|
+
/**
|
|
295
|
+
* 图片
|
|
296
|
+
* */
|
|
297
|
+
PHOTO: 'picture',
|
|
298
|
+
/**
|
|
299
|
+
* 图片-实体
|
|
300
|
+
* */
|
|
301
|
+
PHOTO_FILL: 'picture-fill',
|
|
302
|
+
/**
|
|
303
|
+
* pdf
|
|
304
|
+
* */
|
|
305
|
+
PDF: 'pdf',
|
|
306
|
+
/**
|
|
307
|
+
* 导航
|
|
308
|
+
* */
|
|
309
|
+
NAVIGATION: 'navigation',
|
|
310
|
+
/**
|
|
311
|
+
* 打印
|
|
312
|
+
* */
|
|
313
|
+
PRINT: 'print',
|
|
314
|
+
/**
|
|
315
|
+
* layers
|
|
316
|
+
* */
|
|
317
|
+
LAYERS: 'layers',
|
|
318
|
+
/**
|
|
319
|
+
* 链接
|
|
320
|
+
* */
|
|
321
|
+
LINK: 'link',
|
|
322
|
+
/**
|
|
323
|
+
* 导出
|
|
324
|
+
* */
|
|
325
|
+
EXPORT: 'export',
|
|
326
|
+
/**
|
|
327
|
+
* 省略号
|
|
328
|
+
* */
|
|
329
|
+
ELLIPSIS: 'ellipsis',
|
|
330
|
+
/**
|
|
331
|
+
* 客服
|
|
332
|
+
* */
|
|
333
|
+
CUSTOMER_SERVICE: 'customer-service',
|
|
334
|
+
/**
|
|
335
|
+
* 信息
|
|
336
|
+
* */
|
|
337
|
+
COMMENT: 'comment',
|
|
338
|
+
/**
|
|
339
|
+
* 附件
|
|
340
|
+
* */
|
|
341
|
+
ATTACHMENT: 'attachment',
|
|
342
|
+
/**
|
|
343
|
+
* 相机
|
|
344
|
+
* */
|
|
345
|
+
CAMERA: 'camera',
|
|
346
|
+
/**
|
|
347
|
+
* 眼睛
|
|
348
|
+
* */
|
|
349
|
+
EYE: 'eye',
|
|
350
|
+
/**
|
|
351
|
+
* 眼睛-关闭
|
|
352
|
+
* */
|
|
353
|
+
EYE_CLOSE: 'eye-close',
|
|
354
|
+
/**
|
|
355
|
+
* 密码隐藏
|
|
356
|
+
* */
|
|
357
|
+
HIDE: 'hide',
|
|
358
|
+
/**
|
|
359
|
+
* 日历
|
|
360
|
+
* */
|
|
361
|
+
CALENDAR: 'calendar',
|
|
362
|
+
/**
|
|
363
|
+
* 复制
|
|
364
|
+
* */
|
|
365
|
+
COPY: 'copy',
|
|
366
|
+
/**
|
|
367
|
+
* 订单
|
|
368
|
+
* */
|
|
369
|
+
ORDER: 'order',
|
|
370
|
+
/**
|
|
371
|
+
* 消息
|
|
372
|
+
* */
|
|
373
|
+
MESSAGE: 'message',
|
|
374
|
+
/**
|
|
375
|
+
* 消息-实心
|
|
376
|
+
* */
|
|
377
|
+
MESSAGE_FILL: 'message-fill',
|
|
378
|
+
/**
|
|
379
|
+
* 通知
|
|
380
|
+
* */
|
|
381
|
+
NOTIFICATION_FILL: 'systemprompt_fill',
|
|
382
|
+
/**
|
|
383
|
+
* 发送
|
|
384
|
+
* */
|
|
385
|
+
SEND: 'send',
|
|
386
|
+
/**
|
|
387
|
+
* 分享
|
|
388
|
+
* */
|
|
389
|
+
SHARE: 'share',
|
|
390
|
+
/**
|
|
391
|
+
* 分享-实心
|
|
392
|
+
* */
|
|
393
|
+
SHARE_FILL: 'share-fill',
|
|
394
|
+
/**
|
|
395
|
+
* 打出电话
|
|
396
|
+
* */
|
|
397
|
+
TELEPHONE_OUT: 'telephone-out',
|
|
398
|
+
/**
|
|
399
|
+
* 电话
|
|
400
|
+
* */
|
|
401
|
+
TELEPHONE: 'telephone',
|
|
402
|
+
/**
|
|
403
|
+
* 电话-实心
|
|
404
|
+
* */
|
|
405
|
+
TELEPHONE_FILL: 'telephone-fill',
|
|
406
|
+
/**
|
|
407
|
+
* 话筒
|
|
408
|
+
* */
|
|
409
|
+
MIC: 'mic',
|
|
410
|
+
/**
|
|
411
|
+
* 话筒
|
|
412
|
+
* */
|
|
413
|
+
PIE_CHART: 'pie-chart',
|
|
414
|
+
/**
|
|
415
|
+
* 话筒
|
|
416
|
+
* */
|
|
417
|
+
BAR_CHART: 'bar-chart',
|
|
418
|
+
/**
|
|
419
|
+
* 话筒
|
|
420
|
+
* */
|
|
421
|
+
CLEAR: 'clear'
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
/**
|
|
425
|
+
* 不同主题对应不同的图标
|
|
426
|
+
* */
|
|
427
|
+
export const iconName = (type: string) => {
|
|
428
|
+
switch (type) {
|
|
429
|
+
case 'success':
|
|
430
|
+
return IconConfig.CHECK_MASK
|
|
431
|
+
case 'error':
|
|
432
|
+
return IconConfig.CLOSE
|
|
433
|
+
case 'warning':
|
|
434
|
+
return IconConfig.NOTICE
|
|
435
|
+
case 'info':
|
|
436
|
+
return IconConfig.QUERY
|
|
437
|
+
case 'primary':
|
|
438
|
+
return IconConfig.MESSAGE_FILL
|
|
439
|
+
default:
|
|
440
|
+
return IconConfig.CLOSE
|
|
441
|
+
}
|
|
442
|
+
}
|