@fangzhongya/icons 0.0.1-1 → 0.0.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/README.md +1 -14
- package/dist/chunk-2D4VSAJ2.js +13 -0
- package/dist/chunk-2TQQMTHZ.cjs +13 -0
- package/dist/chunk-32F77IBU.cjs +13 -0
- package/dist/chunk-3AMDUJDV.js +13 -0
- package/dist/chunk-3TRFZFYF.js +13 -0
- package/dist/chunk-53VWOQDN.cjs +13 -0
- package/dist/chunk-5PXZNWE4.js +13 -0
- package/dist/chunk-5QUGHNG3.cjs +13 -0
- package/dist/chunk-75ZPJI57.cjs +9 -0
- package/dist/chunk-76TLDMR4.cjs +13 -0
- package/dist/chunk-7IBXEWY5.js +13 -0
- package/dist/chunk-AQDYWFIE.cjs +13 -0
- package/dist/chunk-BEQYH4ZH.js +13 -0
- package/dist/chunk-BMEJLYYZ.js +13 -0
- package/dist/chunk-DOKVIYQP.cjs +13 -0
- package/dist/chunk-EEMF44IH.cjs +58 -0
- package/dist/chunk-EODYYDJS.js +13 -0
- package/dist/chunk-ESPY25SV.cjs +13 -0
- package/dist/chunk-FEFTZ7TT.cjs +13 -0
- package/dist/chunk-FZTWDRFN.js +13 -0
- package/dist/chunk-H4PA2G3N.cjs +13 -0
- package/dist/chunk-HOVIIPWX.js +280 -0
- package/dist/chunk-I3A3AEAA.cjs +13 -0
- package/dist/chunk-I3U5MBNO.cjs +13 -0
- package/dist/chunk-I5KQLZMG.js +58 -0
- package/dist/chunk-IBTK77R3.cjs +13 -0
- package/dist/chunk-IIVF4KK5.cjs +6 -0
- package/dist/chunk-IPHYXYU4.cjs +13 -0
- package/dist/chunk-JJXGNEQB.js +13 -0
- package/dist/chunk-JT3V6FP7.js +13 -0
- package/dist/chunk-KDGKC2AD.cjs +13 -0
- package/dist/chunk-KZJIE3RV.cjs +13 -0
- package/dist/chunk-L7KCN6DV.cjs +13 -0
- package/dist/chunk-LBBA76TA.js +13 -0
- package/dist/chunk-LI54LRUK.cjs +13 -0
- package/dist/chunk-LLVO2B4L.js +13 -0
- package/dist/chunk-MLKGABMK.js +9 -0
- package/dist/chunk-MOHILOKE.js +6 -0
- package/dist/chunk-NEHQ24EP.js +13 -0
- package/dist/chunk-NESEKAGU.cjs +13 -0
- package/dist/chunk-NS5Q6ZYS.js +13 -0
- package/dist/chunk-OIX6AEOH.js +13 -0
- package/dist/chunk-PM3NSGHO.js +13 -0
- package/dist/chunk-Q7LKAKNO.js +13 -0
- package/dist/chunk-RENPHZI7.cjs +13 -0
- package/dist/chunk-RHPG3BCQ.cjs +13 -0
- package/dist/chunk-S2UC3QOV.cjs +280 -0
- package/dist/chunk-S7LOBBW2.cjs +13 -0
- package/dist/chunk-T7E6HY2F.js +13 -0
- package/dist/chunk-TCP7WBEZ.cjs +13 -0
- package/dist/chunk-TT42MDI2.cjs +13 -0
- package/dist/chunk-VDTZORF6.cjs +13 -0
- package/dist/chunk-VO6GNJ4O.js +13 -0
- package/dist/chunk-VQ54VGY3.js +13 -0
- package/dist/chunk-VRWNZZCS.js +13 -0
- package/dist/chunk-W2BM2RWL.js +128 -0
- package/dist/chunk-W3IE4UWT.cjs +13 -0
- package/dist/chunk-WLDTS6EO.js +13 -0
- package/dist/chunk-WOAJW7OB.cjs +13 -0
- package/dist/chunk-XUPJ3XJL.js +13 -0
- package/dist/chunk-Y2W7MENX.cjs +13 -0
- package/dist/chunk-YBGWOI5B.cjs +13 -0
- package/dist/chunk-YJLFP6SE.js +13 -0
- package/dist/chunk-YSDDIRK3.js +13 -0
- package/dist/chunk-YSGDONBO.cjs +128 -0
- package/dist/chunk-YUYOWQ5M.js +13 -0
- package/dist/chunk-YYG5XGJC.js +13 -0
- package/dist/chunk-Z7LHYEQW.js +13 -0
- package/dist/config.cjs +7 -0
- package/dist/config.d.cts +6 -0
- package/dist/config.d.ts +6 -0
- package/dist/config.js +7 -0
- package/dist/icon/index.cjs +7 -0
- package/dist/icon/index.d.cts +139 -0
- package/dist/icon/index.d.ts +139 -0
- package/dist/icon/index.js +7 -0
- package/dist/iconify.cjs +99 -0
- package/dist/iconify.d.cts +41 -0
- package/dist/iconify.d.ts +41 -0
- package/dist/iconify.js +99 -0
- package/dist/index.cjs +130 -15
- package/dist/index.css +230 -0
- package/dist/index.d.cts +35 -0
- package/dist/index.d.ts +34 -8
- package/dist/index.js +128 -13
- package/dist/index.json +99 -0
- package/dist/picker/dialog.cjs +7 -0
- package/dist/picker/dialog.d.cts +19 -0
- package/dist/picker/dialog.d.ts +19 -0
- package/dist/picker/dialog.js +7 -0
- package/dist/picker/index.cjs +280 -0
- package/dist/picker/index.d.cts +117 -0
- package/dist/picker/index.d.ts +117 -0
- package/dist/picker/index.js +280 -0
- package/dist/svg/bar.svg +1 -0
- package/dist/svg/below.svg +1 -0
- package/dist/svg/bicycle.svg +1 -0
- package/dist/svg/bottom-left.svg +1 -0
- package/dist/svg/bottom-right.svg +1 -0
- package/dist/svg/bottom.svg +1 -0
- package/dist/svg/cascader-field.svg +1 -0
- package/dist/svg/catalogue.svg +1 -0
- package/dist/svg/clear.svg +1 -0
- package/dist/svg/close.svg +1 -0
- package/dist/svg/crl.svg +1 -0
- package/dist/svg/delete.svg +1 -0
- package/dist/svg/document.svg +1 -0
- package/dist/svg/down.svg +1 -0
- package/dist/svg/download.svg +1 -0
- package/dist/svg/edit.svg +1 -0
- package/dist/svg/enter.svg +1 -0
- package/dist/svg/frame.svg +1 -0
- package/dist/svg/left.svg +1 -0
- package/dist/svg/mute.svg +1 -0
- package/dist/svg/pause.svg +1 -0
- package/dist/svg/play.svg +1 -0
- package/dist/svg/plus.svg +1 -0
- package/dist/svg/retreat.svg +1 -0
- package/dist/svg/right.svg +1 -0
- package/dist/svg/sound.svg +1 -0
- package/dist/svg/star.svg +1 -0
- package/dist/svg/up.svg +1 -0
- package/dist/svg/views.svg +1 -0
- package/dist/vite/index.cjs +80 -0
- package/dist/vite/index.d.cts +9 -0
- package/dist/vite/index.d.ts +9 -0
- package/dist/vite/index.js +80 -0
- package/dist/vue/bar.cjs +7 -0
- package/dist/vue/bar.d.cts +7 -0
- package/dist/vue/bar.d.ts +7 -0
- package/dist/vue/bar.js +7 -0
- package/dist/vue/below.cjs +7 -0
- package/dist/vue/below.d.cts +7 -0
- package/dist/vue/below.d.ts +7 -0
- package/dist/vue/below.js +7 -0
- package/dist/vue/bicycle.cjs +7 -0
- package/dist/vue/bicycle.d.cts +7 -0
- package/dist/vue/bicycle.d.ts +7 -3
- package/dist/vue/bicycle.js +7 -0
- package/dist/vue/bottom-left.cjs +7 -0
- package/dist/vue/bottom-left.d.cts +7 -0
- package/dist/vue/bottom-left.d.ts +7 -3
- package/dist/vue/bottom-left.js +7 -0
- package/dist/vue/bottom-right.cjs +7 -0
- package/dist/vue/bottom-right.d.cts +7 -0
- package/dist/vue/bottom-right.d.ts +7 -3
- package/dist/vue/bottom-right.js +7 -0
- package/dist/vue/bottom.cjs +7 -0
- package/dist/vue/bottom.d.cts +7 -0
- package/dist/vue/bottom.d.ts +7 -3
- package/dist/vue/bottom.js +7 -0
- package/dist/vue/cascader-field.cjs +7 -0
- package/dist/vue/cascader-field.d.cts +7 -0
- package/dist/vue/cascader-field.d.ts +7 -0
- package/dist/vue/cascader-field.js +7 -0
- package/dist/vue/catalogue.cjs +7 -0
- package/dist/vue/catalogue.d.cts +7 -0
- package/dist/vue/catalogue.d.ts +7 -0
- package/dist/vue/catalogue.js +7 -0
- package/dist/vue/clear.cjs +7 -0
- package/dist/vue/clear.d.cts +7 -0
- package/dist/vue/clear.d.ts +7 -0
- package/dist/vue/clear.js +7 -0
- package/dist/vue/close.cjs +7 -0
- package/dist/vue/close.d.cts +7 -0
- package/dist/vue/close.d.ts +7 -0
- package/dist/vue/close.js +7 -0
- package/dist/vue/crl.cjs +7 -0
- package/dist/vue/crl.d.cts +7 -0
- package/dist/vue/crl.d.ts +7 -0
- package/dist/vue/crl.js +7 -0
- package/dist/vue/delete.cjs +7 -0
- package/dist/vue/delete.d.cts +7 -0
- package/dist/vue/delete.d.ts +7 -0
- package/dist/vue/delete.js +7 -0
- package/dist/vue/document.cjs +7 -0
- package/dist/vue/document.d.cts +7 -0
- package/dist/vue/document.d.ts +7 -0
- package/dist/vue/document.js +7 -0
- package/dist/vue/down.cjs +7 -0
- package/dist/vue/down.d.cts +7 -0
- package/dist/vue/down.d.ts +7 -0
- package/dist/vue/down.js +7 -0
- package/dist/vue/download.cjs +7 -0
- package/dist/vue/download.d.cts +7 -0
- package/dist/vue/download.d.ts +7 -0
- package/dist/vue/download.js +7 -0
- package/dist/vue/edit.cjs +7 -0
- package/dist/vue/edit.d.cts +7 -0
- package/dist/vue/edit.d.ts +7 -0
- package/dist/vue/edit.js +7 -0
- package/dist/vue/enter.cjs +7 -0
- package/dist/vue/enter.d.cts +7 -0
- package/dist/vue/enter.d.ts +7 -0
- package/dist/vue/enter.js +7 -0
- package/dist/vue/frame.cjs +7 -0
- package/dist/vue/frame.d.cts +7 -0
- package/dist/vue/frame.d.ts +7 -0
- package/dist/vue/frame.js +7 -0
- package/dist/vue/index.cjs +120 -10
- package/dist/vue/index.d.cts +30 -0
- package/dist/vue/index.d.ts +30 -4
- package/dist/vue/index.js +118 -8
- package/dist/vue/left.cjs +7 -0
- package/dist/vue/left.d.cts +7 -0
- package/dist/vue/left.d.ts +7 -0
- package/dist/vue/left.js +7 -0
- package/dist/vue/mute.cjs +7 -0
- package/dist/vue/mute.d.cts +7 -0
- package/dist/vue/mute.d.ts +7 -0
- package/dist/vue/mute.js +7 -0
- package/dist/vue/pause.cjs +7 -0
- package/dist/vue/pause.d.cts +7 -0
- package/dist/vue/pause.d.ts +7 -0
- package/dist/vue/pause.js +7 -0
- package/dist/vue/play.cjs +7 -0
- package/dist/vue/play.d.cts +7 -0
- package/dist/vue/play.d.ts +7 -0
- package/dist/vue/play.js +7 -0
- package/dist/vue/plus.cjs +7 -0
- package/dist/vue/plus.d.cts +7 -0
- package/dist/vue/plus.d.ts +7 -0
- package/dist/vue/plus.js +7 -0
- package/dist/vue/retreat.cjs +7 -0
- package/dist/vue/retreat.d.cts +7 -0
- package/dist/vue/retreat.d.ts +7 -0
- package/dist/vue/retreat.js +7 -0
- package/dist/vue/right.cjs +7 -0
- package/dist/vue/right.d.cts +7 -0
- package/dist/vue/right.d.ts +7 -0
- package/dist/vue/right.js +7 -0
- package/dist/vue/sound.cjs +7 -0
- package/dist/vue/sound.d.cts +7 -0
- package/dist/vue/sound.d.ts +7 -0
- package/dist/vue/sound.js +7 -0
- package/dist/vue/star.cjs +7 -0
- package/dist/vue/star.d.cts +7 -0
- package/dist/vue/star.d.ts +7 -0
- package/dist/vue/star.js +7 -0
- package/dist/vue/up.cjs +7 -0
- package/dist/vue/up.d.cts +7 -0
- package/dist/vue/up.d.ts +7 -0
- package/dist/vue/up.js +7 -0
- package/dist/vue/views.cjs +7 -0
- package/dist/vue/views.d.cts +7 -0
- package/dist/vue/views.d.ts +7 -0
- package/dist/vue/views.js +7 -0
- package/package.json +63 -23
- package/dist/_virtual/_plugin-vue_export-helper.cjs +0 -9
- package/dist/_virtual/_plugin-vue_export-helper.js +0 -10
- package/dist/vue/bicycle.vue.cjs +0 -17
- package/dist/vue/bicycle.vue.js +0 -18
- package/dist/vue/bicycle.vue2.cjs +0 -5
- package/dist/vue/bicycle.vue2.js +0 -6
- package/dist/vue/bottom-left.vue.cjs +0 -25
- package/dist/vue/bottom-left.vue.js +0 -26
- package/dist/vue/bottom-left.vue2.cjs +0 -5
- package/dist/vue/bottom-left.vue2.js +0 -6
- package/dist/vue/bottom-right.vue.cjs +0 -25
- package/dist/vue/bottom-right.vue.js +0 -26
- package/dist/vue/bottom-right.vue2.cjs +0 -5
- package/dist/vue/bottom-right.vue2.js +0 -6
- package/dist/vue/bottom.vue.cjs +0 -20
- package/dist/vue/bottom.vue.js +0 -21
- package/dist/vue/bottom.vue2.cjs +0 -5
- package/dist/vue/bottom.vue2.js +0 -6
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
var _chunkKZJIE3RVcjs = require('./chunk-KZJIE3RV.cjs');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
var _chunkTT42MDI2cjs = require('./chunk-TT42MDI2.cjs');
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
var _chunkYBGWOI5Bcjs = require('./chunk-YBGWOI5B.cjs');
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
var _chunk53VWOQDNcjs = require('./chunk-53VWOQDN.cjs');
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
var _chunkESPY25SVcjs = require('./chunk-ESPY25SV.cjs');
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
var _chunk5QUGHNG3cjs = require('./chunk-5QUGHNG3.cjs');
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
var _chunkFEFTZ7TTcjs = require('./chunk-FEFTZ7TT.cjs');
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
var _chunkAQDYWFIEcjs = require('./chunk-AQDYWFIE.cjs');
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
var _chunkIBTK77R3cjs = require('./chunk-IBTK77R3.cjs');
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
var _chunkI3A3AEAAcjs = require('./chunk-I3A3AEAA.cjs');
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
var _chunkWOAJW7OBcjs = require('./chunk-WOAJW7OB.cjs');
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
var _chunkY2W7MENXcjs = require('./chunk-Y2W7MENX.cjs');
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
var _chunkW3IE4UWTcjs = require('./chunk-W3IE4UWT.cjs');
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
var _chunkI3U5MBNOcjs = require('./chunk-I3U5MBNO.cjs');
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
var _chunkTCP7WBEZcjs = require('./chunk-TCP7WBEZ.cjs');
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
var _chunkRHPG3BCQcjs = require('./chunk-RHPG3BCQ.cjs');
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
var _chunkL7KCN6DVcjs = require('./chunk-L7KCN6DV.cjs');
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
var _chunkDOKVIYQPcjs = require('./chunk-DOKVIYQP.cjs');
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
var _chunkIPHYXYU4cjs = require('./chunk-IPHYXYU4.cjs');
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
var _chunk32F77IBUcjs = require('./chunk-32F77IBU.cjs');
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
var _chunkLI54LRUKcjs = require('./chunk-LI54LRUK.cjs');
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
var _chunkNESEKAGUcjs = require('./chunk-NESEKAGU.cjs');
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
var _chunkRENPHZI7cjs = require('./chunk-RENPHZI7.cjs');
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
var _chunkS7LOBBW2cjs = require('./chunk-S7LOBBW2.cjs');
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
var _chunk76TLDMR4cjs = require('./chunk-76TLDMR4.cjs');
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
var _chunk2TQQMTHZcjs = require('./chunk-2TQQMTHZ.cjs');
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
var _chunkKDGKC2ADcjs = require('./chunk-KDGKC2AD.cjs');
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
var _chunkVDTZORF6cjs = require('./chunk-VDTZORF6.cjs');
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
var _chunkH4PA2G3Ncjs = require('./chunk-H4PA2G3N.cjs');
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
var _chunk75ZPJI57cjs = require('./chunk-75ZPJI57.cjs');
|
|
91
|
+
|
|
92
|
+
// packages/vue/index.ts
|
|
93
|
+
var vue_exports = {};
|
|
94
|
+
_chunk75ZPJI57cjs.__export.call(void 0, vue_exports, {
|
|
95
|
+
Bar: () => _chunkH4PA2G3Ncjs.bar_default,
|
|
96
|
+
Below: () => _chunkLI54LRUKcjs.below_default,
|
|
97
|
+
Bicycle: () => _chunkNESEKAGUcjs.bicycle_default,
|
|
98
|
+
Bottom: () => _chunk76TLDMR4cjs.bottom_default,
|
|
99
|
+
BottomLeft: () => _chunkRENPHZI7cjs.bottom_left_default,
|
|
100
|
+
BottomRight: () => _chunkS7LOBBW2cjs.bottom_right_default,
|
|
101
|
+
CascaderField: () => _chunk2TQQMTHZcjs.cascader_field_default,
|
|
102
|
+
Catalogue: () => _chunkKDGKC2ADcjs.catalogue_default,
|
|
103
|
+
Clear: () => _chunkVDTZORF6cjs.clear_default,
|
|
104
|
+
Close: () => _chunkW3IE4UWTcjs.close_default,
|
|
105
|
+
Crl: () => _chunkI3U5MBNOcjs.crl_default,
|
|
106
|
+
Delete: () => _chunkTCP7WBEZcjs.delete_default,
|
|
107
|
+
Document: () => _chunkRHPG3BCQcjs.document_default,
|
|
108
|
+
Down: () => _chunkL7KCN6DVcjs.down_default,
|
|
109
|
+
Download: () => _chunkDOKVIYQPcjs.download_default,
|
|
110
|
+
Edit: () => _chunkIPHYXYU4cjs.edit_default,
|
|
111
|
+
Enter: () => _chunk32F77IBUcjs.enter_default,
|
|
112
|
+
Frame: () => _chunk5QUGHNG3cjs.frame_default,
|
|
113
|
+
Left: () => _chunkFEFTZ7TTcjs.left_default,
|
|
114
|
+
Mute: () => _chunkAQDYWFIEcjs.mute_default,
|
|
115
|
+
Pause: () => _chunkIBTK77R3cjs.pause_default,
|
|
116
|
+
Play: () => _chunkI3A3AEAAcjs.play_default,
|
|
117
|
+
Plus: () => _chunkWOAJW7OBcjs.plus_default,
|
|
118
|
+
Retreat: () => _chunkY2W7MENXcjs.retreat_default,
|
|
119
|
+
Right: () => _chunkKZJIE3RVcjs.right_default,
|
|
120
|
+
Sound: () => _chunkTT42MDI2cjs.sound_default,
|
|
121
|
+
Star: () => _chunkYBGWOI5Bcjs.star_default,
|
|
122
|
+
Up: () => _chunk53VWOQDNcjs.up_default,
|
|
123
|
+
Views: () => _chunkESPY25SVcjs.views_default
|
|
124
|
+
});
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
exports.vue_exports = vue_exports;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// packages/vue/crl.ts
|
|
2
|
+
import { h, defineComponent } from "vue";
|
|
3
|
+
var svg = '<metadata><?xpacket begin="\uFEFF" id="W5M0MpCehiHzreSzNTczkc9d"?><x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP Core 5.6-c138 79.159824, 2016/09/14-01:09:01 "><rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description rdf:about=""/></rdf:RDF></x:xmpmeta><?xpacket end="w"?></metadata><defs><style> .cls-1 { fill: #fff; stroke: #267afb; stroke-width: 1px; } .cls-2 { fill: #267afb; fill-rule: evenodd; } </style></defs><circle id="\u692D\u5706_1_\u62F7\u8D1D_7" data-name="\u692D\u5706 1 \u62F7\u8D1D 7" class="cls-1" cx="10.5" cy="10.5" r="10"/><path id="\u5F62\u72B6_515_\u62F7\u8D1D" data-name="\u5F62\u72B6 515 \u62F7\u8D1D" class="cls-2" d="M681.525,266.235a0.267,0.267,0,0,1,.265-0.264h1.193a0.267,0.267,0,0,1,.265.264v5.937a0.268,0.268,0,0,1-.265.264H681.79a0.268,0.268,0,0,1-.265-0.264v-5.937m-0.531,0v5.937a0.8,0.8,0,0,0,.8.792h1.193a0.8,0.8,0,0,0,.8-0.792v-5.937a0.8,0.8,0,0,0-.8-0.792H681.79A0.8,0.8,0,0,0,680.994,266.235Zm4.641-3.431a0.269,0.269,0,0,1,.265-0.264h1.194a0.268,0.268,0,0,1,.265.264v5.938a0.268,0.268,0,0,1-.265.264H685.9a0.269,0.269,0,0,1-.265-0.264V262.8m-0.53,0v5.938a0.8,0.8,0,0,0,.795.791h1.194a0.8,0.8,0,0,0,.795-0.791V262.8a0.8,0.8,0,0,0-.795-0.792H685.9A0.8,0.8,0,0,0,685.105,262.8Zm4.641,3.431a0.267,0.267,0,0,1,.265-0.264H691.2a0.268,0.268,0,0,1,.266.264v5.937a0.269,0.269,0,0,1-.266.264h-1.193a0.268,0.268,0,0,1-.265-0.264v-5.937m-0.531,0v5.937a0.8,0.8,0,0,0,.8.792H691.2a0.8,0.8,0,0,0,.8-0.792v-5.937a0.8,0.8,0,0,0-.8-0.792h-1.193A0.8,0.8,0,0,0,689.215,266.235ZM686.5,272.35l-0.941-.936a0.264,0.264,0,0,0-.375.373L686.3,272.9a0.131,0.131,0,0,0,.011.012,0.268,0.268,0,0,0,.378,0,0.127,0.127,0,0,0,.01-0.012l1.117-1.111a0.264,0.264,0,0,0-.375-0.373Z" transform="translate(-675.5 -256.5)"/>';
|
|
4
|
+
var crl_default = defineComponent({
|
|
5
|
+
name: "Crl",
|
|
6
|
+
setup() {
|
|
7
|
+
return () => h("svg", { viewBox: "0 0 21 21", xmlns: "http://www.w3.org/2000/svg", innerHTML: svg });
|
|
8
|
+
}
|
|
9
|
+
});
|
|
10
|
+
|
|
11
|
+
export {
|
|
12
|
+
crl_default
|
|
13
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// packages/vue/sound.ts
|
|
2
|
+
import { h, defineComponent } from "vue";
|
|
3
|
+
var svg = '<path d="M572.16 104.96a47.04 47.04 0 0 0-49.92 4.48L181.76 360.96H70.4c-26.24 0-48 21.76-48 48v245.12c0 26.24 21.76 48 48 48h111.36l344.32 203.52c7.68 4.48 16 6.4 24.32 6.4s16.64-1.92 23.68-6.4c14.72-8.32 24.32-24.32 24.32-41.6V147.84a48.64 48.64 0 0 0-26.24-42.88zM502.4 780.16L230.4 619.52l-11.52-6.4a47.744 47.744 0 0 0-24.32-6.4H118.4V456.96h78.72c10.24 0 20.48-3.2 28.8-9.6l276.48-204.8v537.6zM760.32 338.56c-18.56-18.56-49.28-18.56-67.84 0s-18.56 49.28 0 67.84c51.84 51.84 51.84 136.32 0 188.16-18.56 18.56-18.56 49.28 0 67.84 9.6 9.6 21.76 14.08 33.92 14.08s24.32-4.48 33.92-14.08c88.96-88.96 88.96-234.24 0-323.84z"></path><path d="M888.32 210.56c-18.56-18.56-49.28-18.56-67.84 0s-18.56 49.28 0 67.84a314.816 314.816 0 0 1 0 444.16c-18.56 18.56-18.56 49.28 0 67.84 9.6 9.6 21.76 14.08 33.92 14.08s24.32-4.48 33.92-14.08a410.24 410.24 0 0 0 0-579.84z"></path>';
|
|
4
|
+
var sound_default = defineComponent({
|
|
5
|
+
name: "Sound",
|
|
6
|
+
setup() {
|
|
7
|
+
return () => h("svg", { viewBox: "0 0 1024 1024", xmlns: "http://www.w3.org/2000/svg", innerHTML: svg });
|
|
8
|
+
}
|
|
9
|
+
});
|
|
10
|
+
|
|
11
|
+
export {
|
|
12
|
+
sound_default
|
|
13
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// packages/vue/clear.ts
|
|
2
|
+
import { h, defineComponent } from "vue";
|
|
3
|
+
var svg = '<path d="m466.752 512-90.496-90.496a32 32 0 0 1 45.248-45.248L512 466.752l90.496-90.496a32 32 0 1 1 45.248 45.248L557.248 512l90.496 90.496a32 32 0 1 1-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 0 1-45.248-45.248L466.752 512z"></path><path d="M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768zm0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896z"></path>';
|
|
4
|
+
var clear_default = defineComponent({
|
|
5
|
+
name: "Clear",
|
|
6
|
+
setup() {
|
|
7
|
+
return () => h("svg", { viewBox: "0 0 1024 1024", xmlns: "http://www.w3.org/2000/svg", innerHTML: svg });
|
|
8
|
+
}
|
|
9
|
+
});
|
|
10
|
+
|
|
11
|
+
export {
|
|
12
|
+
clear_default
|
|
13
|
+
};
|
package/dist/config.cjs
ADDED
package/dist/config.d.ts
ADDED
package/dist/config.js
ADDED
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
import * as vue from 'vue';
|
|
2
|
+
|
|
3
|
+
type Flip = 'horizontal' | 'vertical' | 'both' | '';
|
|
4
|
+
type IconType = 'css' | 'id' | 'img' | 'font' | 'str' | 'com' | 'pub' | 'svg';
|
|
5
|
+
declare const _default: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
6
|
+
/**
|
|
7
|
+
* @props { String, Object } name= ( )
|
|
8
|
+
* 图标名称
|
|
9
|
+
*/
|
|
10
|
+
name: {
|
|
11
|
+
type: (StringConstructor | ObjectConstructor)[];
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* @props { String} iconClass= ( )
|
|
16
|
+
* 图标样式名称
|
|
17
|
+
*/
|
|
18
|
+
iconClass: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
};
|
|
21
|
+
color: {
|
|
22
|
+
type: StringConstructor;
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* @props { String} type= ( 'css' | 'id' | 'img' | 'font' | 'str' | 'com' )
|
|
26
|
+
* 图标类型
|
|
27
|
+
*/
|
|
28
|
+
type: {
|
|
29
|
+
type: () => IconType;
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* @props { String, Number } size= ( )
|
|
33
|
+
* 图标大小
|
|
34
|
+
*/
|
|
35
|
+
size: {
|
|
36
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
*/
|
|
40
|
+
runtime: {
|
|
41
|
+
type: BooleanConstructor;
|
|
42
|
+
default: boolean;
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* @props { String } flip='' ( 'horizontal' | 'vertical' | 'both' | '' )
|
|
46
|
+
* 图标方向
|
|
47
|
+
*/
|
|
48
|
+
flip: {
|
|
49
|
+
type: () => Flip;
|
|
50
|
+
default: string;
|
|
51
|
+
};
|
|
52
|
+
/**
|
|
53
|
+
* @props { Number } rotate=0
|
|
54
|
+
* 图标旋转角度
|
|
55
|
+
*/
|
|
56
|
+
rotate: {
|
|
57
|
+
type: NumberConstructor;
|
|
58
|
+
default: number;
|
|
59
|
+
};
|
|
60
|
+
default: {
|
|
61
|
+
type: StringConstructor;
|
|
62
|
+
};
|
|
63
|
+
directory: {
|
|
64
|
+
type: StringConstructor;
|
|
65
|
+
default: string;
|
|
66
|
+
};
|
|
67
|
+
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
68
|
+
[key: string]: any;
|
|
69
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
70
|
+
/**
|
|
71
|
+
* @props { String, Object } name= ( )
|
|
72
|
+
* 图标名称
|
|
73
|
+
*/
|
|
74
|
+
name: {
|
|
75
|
+
type: (StringConstructor | ObjectConstructor)[];
|
|
76
|
+
default: string;
|
|
77
|
+
};
|
|
78
|
+
/**
|
|
79
|
+
* @props { String} iconClass= ( )
|
|
80
|
+
* 图标样式名称
|
|
81
|
+
*/
|
|
82
|
+
iconClass: {
|
|
83
|
+
type: StringConstructor;
|
|
84
|
+
};
|
|
85
|
+
color: {
|
|
86
|
+
type: StringConstructor;
|
|
87
|
+
};
|
|
88
|
+
/**
|
|
89
|
+
* @props { String} type= ( 'css' | 'id' | 'img' | 'font' | 'str' | 'com' )
|
|
90
|
+
* 图标类型
|
|
91
|
+
*/
|
|
92
|
+
type: {
|
|
93
|
+
type: () => IconType;
|
|
94
|
+
};
|
|
95
|
+
/**
|
|
96
|
+
* @props { String, Number } size= ( )
|
|
97
|
+
* 图标大小
|
|
98
|
+
*/
|
|
99
|
+
size: {
|
|
100
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
101
|
+
};
|
|
102
|
+
/**
|
|
103
|
+
*/
|
|
104
|
+
runtime: {
|
|
105
|
+
type: BooleanConstructor;
|
|
106
|
+
default: boolean;
|
|
107
|
+
};
|
|
108
|
+
/**
|
|
109
|
+
* @props { String } flip='' ( 'horizontal' | 'vertical' | 'both' | '' )
|
|
110
|
+
* 图标方向
|
|
111
|
+
*/
|
|
112
|
+
flip: {
|
|
113
|
+
type: () => Flip;
|
|
114
|
+
default: string;
|
|
115
|
+
};
|
|
116
|
+
/**
|
|
117
|
+
* @props { Number } rotate=0
|
|
118
|
+
* 图标旋转角度
|
|
119
|
+
*/
|
|
120
|
+
rotate: {
|
|
121
|
+
type: NumberConstructor;
|
|
122
|
+
default: number;
|
|
123
|
+
};
|
|
124
|
+
default: {
|
|
125
|
+
type: StringConstructor;
|
|
126
|
+
};
|
|
127
|
+
directory: {
|
|
128
|
+
type: StringConstructor;
|
|
129
|
+
default: string;
|
|
130
|
+
};
|
|
131
|
+
}>> & Readonly<{}>, {
|
|
132
|
+
name: string | Record<string, any>;
|
|
133
|
+
runtime: boolean;
|
|
134
|
+
flip: Flip;
|
|
135
|
+
rotate: number;
|
|
136
|
+
directory: string;
|
|
137
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
138
|
+
|
|
139
|
+
export { type IconType, _default as default };
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
import * as vue from 'vue';
|
|
2
|
+
|
|
3
|
+
type Flip = 'horizontal' | 'vertical' | 'both' | '';
|
|
4
|
+
type IconType = 'css' | 'id' | 'img' | 'font' | 'str' | 'com' | 'pub' | 'svg';
|
|
5
|
+
declare const _default: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
6
|
+
/**
|
|
7
|
+
* @props { String, Object } name= ( )
|
|
8
|
+
* 图标名称
|
|
9
|
+
*/
|
|
10
|
+
name: {
|
|
11
|
+
type: (StringConstructor | ObjectConstructor)[];
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* @props { String} iconClass= ( )
|
|
16
|
+
* 图标样式名称
|
|
17
|
+
*/
|
|
18
|
+
iconClass: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
};
|
|
21
|
+
color: {
|
|
22
|
+
type: StringConstructor;
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* @props { String} type= ( 'css' | 'id' | 'img' | 'font' | 'str' | 'com' )
|
|
26
|
+
* 图标类型
|
|
27
|
+
*/
|
|
28
|
+
type: {
|
|
29
|
+
type: () => IconType;
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* @props { String, Number } size= ( )
|
|
33
|
+
* 图标大小
|
|
34
|
+
*/
|
|
35
|
+
size: {
|
|
36
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
*/
|
|
40
|
+
runtime: {
|
|
41
|
+
type: BooleanConstructor;
|
|
42
|
+
default: boolean;
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* @props { String } flip='' ( 'horizontal' | 'vertical' | 'both' | '' )
|
|
46
|
+
* 图标方向
|
|
47
|
+
*/
|
|
48
|
+
flip: {
|
|
49
|
+
type: () => Flip;
|
|
50
|
+
default: string;
|
|
51
|
+
};
|
|
52
|
+
/**
|
|
53
|
+
* @props { Number } rotate=0
|
|
54
|
+
* 图标旋转角度
|
|
55
|
+
*/
|
|
56
|
+
rotate: {
|
|
57
|
+
type: NumberConstructor;
|
|
58
|
+
default: number;
|
|
59
|
+
};
|
|
60
|
+
default: {
|
|
61
|
+
type: StringConstructor;
|
|
62
|
+
};
|
|
63
|
+
directory: {
|
|
64
|
+
type: StringConstructor;
|
|
65
|
+
default: string;
|
|
66
|
+
};
|
|
67
|
+
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
68
|
+
[key: string]: any;
|
|
69
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
70
|
+
/**
|
|
71
|
+
* @props { String, Object } name= ( )
|
|
72
|
+
* 图标名称
|
|
73
|
+
*/
|
|
74
|
+
name: {
|
|
75
|
+
type: (StringConstructor | ObjectConstructor)[];
|
|
76
|
+
default: string;
|
|
77
|
+
};
|
|
78
|
+
/**
|
|
79
|
+
* @props { String} iconClass= ( )
|
|
80
|
+
* 图标样式名称
|
|
81
|
+
*/
|
|
82
|
+
iconClass: {
|
|
83
|
+
type: StringConstructor;
|
|
84
|
+
};
|
|
85
|
+
color: {
|
|
86
|
+
type: StringConstructor;
|
|
87
|
+
};
|
|
88
|
+
/**
|
|
89
|
+
* @props { String} type= ( 'css' | 'id' | 'img' | 'font' | 'str' | 'com' )
|
|
90
|
+
* 图标类型
|
|
91
|
+
*/
|
|
92
|
+
type: {
|
|
93
|
+
type: () => IconType;
|
|
94
|
+
};
|
|
95
|
+
/**
|
|
96
|
+
* @props { String, Number } size= ( )
|
|
97
|
+
* 图标大小
|
|
98
|
+
*/
|
|
99
|
+
size: {
|
|
100
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
101
|
+
};
|
|
102
|
+
/**
|
|
103
|
+
*/
|
|
104
|
+
runtime: {
|
|
105
|
+
type: BooleanConstructor;
|
|
106
|
+
default: boolean;
|
|
107
|
+
};
|
|
108
|
+
/**
|
|
109
|
+
* @props { String } flip='' ( 'horizontal' | 'vertical' | 'both' | '' )
|
|
110
|
+
* 图标方向
|
|
111
|
+
*/
|
|
112
|
+
flip: {
|
|
113
|
+
type: () => Flip;
|
|
114
|
+
default: string;
|
|
115
|
+
};
|
|
116
|
+
/**
|
|
117
|
+
* @props { Number } rotate=0
|
|
118
|
+
* 图标旋转角度
|
|
119
|
+
*/
|
|
120
|
+
rotate: {
|
|
121
|
+
type: NumberConstructor;
|
|
122
|
+
default: number;
|
|
123
|
+
};
|
|
124
|
+
default: {
|
|
125
|
+
type: StringConstructor;
|
|
126
|
+
};
|
|
127
|
+
directory: {
|
|
128
|
+
type: StringConstructor;
|
|
129
|
+
default: string;
|
|
130
|
+
};
|
|
131
|
+
}>> & Readonly<{}>, {
|
|
132
|
+
name: string | Record<string, any>;
|
|
133
|
+
runtime: boolean;
|
|
134
|
+
flip: Flip;
|
|
135
|
+
rotate: number;
|
|
136
|
+
directory: string;
|
|
137
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
138
|
+
|
|
139
|
+
export { type IconType, _default as default };
|
package/dist/iconify.cjs
ADDED
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
|
2
|
+
|
|
3
|
+
var _chunkIIVF4KK5cjs = require('./chunk-IIVF4KK5.cjs');
|
|
4
|
+
require('./chunk-75ZPJI57.cjs');
|
|
5
|
+
|
|
6
|
+
// packages/iconify.ts
|
|
7
|
+
var _vue = require('vue');
|
|
8
|
+
|
|
9
|
+
// node_modules/.pnpm/@fangzhongya+utils@0.0.72/node_modules/@fangzhongya/utils/dist/chunk-EWJJKQIO.js
|
|
10
|
+
function firstUpper(str) {
|
|
11
|
+
return str.slice(0, 1).toUpperCase() + str.slice(1);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
// node_modules/.pnpm/@fangzhongya+utils@0.0.72/node_modules/@fangzhongya/utils/dist/chunk-XCDKXZFR.js
|
|
15
|
+
function lineToLargeHump(name) {
|
|
16
|
+
let arr = name.split("-");
|
|
17
|
+
arr = arr.map((vs) => {
|
|
18
|
+
return firstUpper(vs);
|
|
19
|
+
});
|
|
20
|
+
return arr.join("");
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
// packages/iconify.ts
|
|
24
|
+
function createSVG(obj) {
|
|
25
|
+
const viewBox = [
|
|
26
|
+
obj.left || 0,
|
|
27
|
+
obj.top || 0,
|
|
28
|
+
obj.width || 24,
|
|
29
|
+
obj.height || 24
|
|
30
|
+
].join(" ");
|
|
31
|
+
const name = "icon-" + obj.name;
|
|
32
|
+
return _vue.defineComponent.call(void 0, {
|
|
33
|
+
name: lineToLargeHump(name),
|
|
34
|
+
props: {},
|
|
35
|
+
render() {
|
|
36
|
+
return _vue.h.call(void 0, "svg", {
|
|
37
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
38
|
+
"aria-hidden": true,
|
|
39
|
+
id: name,
|
|
40
|
+
ctype: "hcom",
|
|
41
|
+
role: "img",
|
|
42
|
+
class: "iconify iconify-" + obj.prefix,
|
|
43
|
+
viewBox,
|
|
44
|
+
innerHTML: obj.body
|
|
45
|
+
// 直接使用innerHTML
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
var iconify = (app, ify, { prefix = _chunkIIVF4KK5cjs.defaultPrefix } = {}) => {
|
|
51
|
+
const obj = {
|
|
52
|
+
prefix: ify.prefix,
|
|
53
|
+
width: ify.width,
|
|
54
|
+
height: ify.height
|
|
55
|
+
};
|
|
56
|
+
const icons = ify.icons;
|
|
57
|
+
for (const key of Object.keys(icons)) {
|
|
58
|
+
app.component(
|
|
59
|
+
prefix + lineToLargeHump(key),
|
|
60
|
+
createSVG({
|
|
61
|
+
...obj,
|
|
62
|
+
name: key,
|
|
63
|
+
...icons[key]
|
|
64
|
+
})
|
|
65
|
+
);
|
|
66
|
+
}
|
|
67
|
+
const aliases = ify.aliases;
|
|
68
|
+
for (const key of Object.keys(aliases)) {
|
|
69
|
+
const a = aliases[key];
|
|
70
|
+
app.component(
|
|
71
|
+
prefix + lineToLargeHump(key),
|
|
72
|
+
createSVG({
|
|
73
|
+
...obj,
|
|
74
|
+
name: key,
|
|
75
|
+
...icons[a.parent]
|
|
76
|
+
})
|
|
77
|
+
);
|
|
78
|
+
}
|
|
79
|
+
};
|
|
80
|
+
function iconifySVG(obj, name) {
|
|
81
|
+
var _a;
|
|
82
|
+
const icons = obj.icons;
|
|
83
|
+
const aliases = obj.aliases;
|
|
84
|
+
const ap = (_a = aliases[name]) == null ? void 0 : _a.parent;
|
|
85
|
+
const n = _nullishCoalesce(icons[name], () => ( (ap ? icons[ap] : void 0)));
|
|
86
|
+
if (n) {
|
|
87
|
+
return createSVG({
|
|
88
|
+
prefix: obj.prefix,
|
|
89
|
+
name,
|
|
90
|
+
width: obj.width,
|
|
91
|
+
height: obj.height,
|
|
92
|
+
...n
|
|
93
|
+
});
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
exports.iconify = iconify; exports.iconifySVG = iconifySVG;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import * as vue from 'vue';
|
|
2
|
+
import { App } from 'vue';
|
|
3
|
+
import { InstallOptions } from './config.cjs';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* 将图标配置转换为Vue组件并注册到应用中
|
|
7
|
+
* @param app - Vue应用实例,用于注册组件
|
|
8
|
+
* @param ify - 图标配置对象,包含前缀、尺寸和图标数据
|
|
9
|
+
* @param options - 安装选项,可选参数
|
|
10
|
+
* @param options.prefix - 组件名称前缀,默认使用defaultPrefix
|
|
11
|
+
*/
|
|
12
|
+
declare const iconify: (app: App, ify: {
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
}, { prefix }?: InstallOptions) => void;
|
|
15
|
+
type Iconify = {
|
|
16
|
+
prefix: string;
|
|
17
|
+
icons: {
|
|
18
|
+
[key: string]: {
|
|
19
|
+
body: string;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
lastModified: number;
|
|
23
|
+
width: number;
|
|
24
|
+
height: number;
|
|
25
|
+
info: {
|
|
26
|
+
[key: string]: any;
|
|
27
|
+
};
|
|
28
|
+
aliases: {
|
|
29
|
+
[key: string]: {
|
|
30
|
+
parent: string;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* 创建SVG图标组件
|
|
36
|
+
* @param obj - 图标配置对象,包含图标的各项属性
|
|
37
|
+
* @returns 返回一个Vue组件实例,用于渲染SVG图标
|
|
38
|
+
*/
|
|
39
|
+
declare function iconifySVG(obj: Iconify, name: string): vue.DefineComponent<{}, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
40
|
+
|
|
41
|
+
export { iconify, iconifySVG };
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import * as vue from 'vue';
|
|
2
|
+
import { App } from 'vue';
|
|
3
|
+
import { InstallOptions } from './config.js';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* 将图标配置转换为Vue组件并注册到应用中
|
|
7
|
+
* @param app - Vue应用实例,用于注册组件
|
|
8
|
+
* @param ify - 图标配置对象,包含前缀、尺寸和图标数据
|
|
9
|
+
* @param options - 安装选项,可选参数
|
|
10
|
+
* @param options.prefix - 组件名称前缀,默认使用defaultPrefix
|
|
11
|
+
*/
|
|
12
|
+
declare const iconify: (app: App, ify: {
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
}, { prefix }?: InstallOptions) => void;
|
|
15
|
+
type Iconify = {
|
|
16
|
+
prefix: string;
|
|
17
|
+
icons: {
|
|
18
|
+
[key: string]: {
|
|
19
|
+
body: string;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
lastModified: number;
|
|
23
|
+
width: number;
|
|
24
|
+
height: number;
|
|
25
|
+
info: {
|
|
26
|
+
[key: string]: any;
|
|
27
|
+
};
|
|
28
|
+
aliases: {
|
|
29
|
+
[key: string]: {
|
|
30
|
+
parent: string;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* 创建SVG图标组件
|
|
36
|
+
* @param obj - 图标配置对象,包含图标的各项属性
|
|
37
|
+
* @returns 返回一个Vue组件实例,用于渲染SVG图标
|
|
38
|
+
*/
|
|
39
|
+
declare function iconifySVG(obj: Iconify, name: string): vue.DefineComponent<{}, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
40
|
+
|
|
41
|
+
export { iconify, iconifySVG };
|