@fangzhongya/icons 0.0.27 → 0.0.28
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/dist/async.d.cts +93 -0
- package/dist/async.d.ts +93 -0
- package/dist/{chunk-6PIMEBN4.cjs → chunk-6HEYV6HJ.cjs} +1 -1
- package/dist/{chunk-TAGR77OF.js → chunk-TGMIXPQX.js} +1 -1
- package/dist/config.d.cts +6 -0
- package/dist/config.d.ts +6 -0
- package/dist/icon/index.d.cts +135 -0
- package/dist/icon/index.d.ts +135 -0
- package/dist/iconify.d.cts +53 -0
- package/dist/iconify.d.ts +53 -0
- package/dist/index.d.cts +35 -0
- package/dist/index.d.ts +35 -0
- package/dist/index.json +1 -1
- package/dist/json.cjs +2 -2
- package/dist/json.d.cts +110 -0
- package/dist/json.d.ts +110 -0
- package/dist/json.js +1 -1
- package/dist/picker/dialog.d.cts +19 -0
- package/dist/picker/dialog.d.ts +19 -0
- package/dist/picker/index.cjs +2 -2
- package/dist/picker/index.d.cts +111 -0
- package/dist/picker/index.d.ts +111 -0
- package/dist/picker/index.js +2 -2
- package/dist/vite/index.cjs +3 -3
- package/dist/vite/index.d.cts +52 -0
- package/dist/vite/index.d.ts +52 -0
- package/dist/vite/index.js +1 -1
- package/dist/vue/bar.d.cts +7 -0
- package/dist/vue/bar.d.ts +7 -0
- package/dist/vue/below.d.cts +7 -0
- package/dist/vue/below.d.ts +7 -0
- package/dist/vue/bicycle.d.cts +7 -0
- package/dist/vue/bicycle.d.ts +7 -0
- package/dist/vue/bottom-left.d.cts +7 -0
- package/dist/vue/bottom-left.d.ts +7 -0
- package/dist/vue/bottom-right.d.cts +7 -0
- package/dist/vue/bottom-right.d.ts +7 -0
- package/dist/vue/bottom.d.cts +7 -0
- package/dist/vue/bottom.d.ts +7 -0
- package/dist/vue/cascader-field.d.cts +7 -0
- package/dist/vue/cascader-field.d.ts +7 -0
- package/dist/vue/catalogue.d.cts +7 -0
- package/dist/vue/catalogue.d.ts +7 -0
- package/dist/vue/clear.d.cts +7 -0
- package/dist/vue/clear.d.ts +7 -0
- package/dist/vue/close.d.cts +7 -0
- package/dist/vue/close.d.ts +7 -0
- package/dist/vue/crl.d.cts +7 -0
- package/dist/vue/crl.d.ts +7 -0
- package/dist/vue/delete.d.cts +7 -0
- package/dist/vue/delete.d.ts +7 -0
- package/dist/vue/document.d.cts +7 -0
- package/dist/vue/document.d.ts +7 -0
- package/dist/vue/down.d.cts +7 -0
- package/dist/vue/down.d.ts +7 -0
- package/dist/vue/download.d.cts +7 -0
- package/dist/vue/download.d.ts +7 -0
- package/dist/vue/edit.d.cts +7 -0
- package/dist/vue/edit.d.ts +7 -0
- package/dist/vue/enter.d.cts +7 -0
- package/dist/vue/enter.d.ts +7 -0
- package/dist/vue/frame.d.cts +7 -0
- package/dist/vue/frame.d.ts +7 -0
- package/dist/vue/index.d.cts +30 -0
- package/dist/vue/index.d.ts +30 -0
- package/dist/vue/left.d.cts +7 -0
- package/dist/vue/left.d.ts +7 -0
- package/dist/vue/mute.d.cts +7 -0
- package/dist/vue/mute.d.ts +7 -0
- package/dist/vue/pause.d.cts +7 -0
- package/dist/vue/pause.d.ts +7 -0
- package/dist/vue/play.d.cts +7 -0
- package/dist/vue/play.d.ts +7 -0
- package/dist/vue/plus.d.cts +7 -0
- package/dist/vue/plus.d.ts +7 -0
- package/dist/vue/retreat.d.cts +7 -0
- package/dist/vue/retreat.d.ts +7 -0
- package/dist/vue/right.d.cts +7 -0
- package/dist/vue/right.d.ts +7 -0
- package/dist/vue/sound.d.cts +7 -0
- package/dist/vue/sound.d.ts +7 -0
- package/dist/vue/star.d.cts +7 -0
- package/dist/vue/star.d.ts +7 -0
- package/dist/vue/up.d.cts +7 -0
- package/dist/vue/up.d.ts +7 -0
- package/dist/vue/views.d.cts +7 -0
- package/dist/vue/views.d.ts +7 -0
- package/package.json +1 -1
package/dist/async.d.cts
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import * as vue from 'vue';
|
|
2
|
+
|
|
3
|
+
declare const _default: {
|
|
4
|
+
bar: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
5
|
+
[key: string]: any;
|
|
6
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
7
|
+
below: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
8
|
+
[key: string]: any;
|
|
9
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
10
|
+
bicycle: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
11
|
+
[key: string]: any;
|
|
12
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
13
|
+
bottom: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
14
|
+
[key: string]: any;
|
|
15
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
16
|
+
'bottom-left': vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
17
|
+
[key: string]: any;
|
|
18
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
19
|
+
'bottom-right': vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
20
|
+
[key: string]: any;
|
|
21
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
22
|
+
'cascader-field': vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
23
|
+
[key: string]: any;
|
|
24
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
25
|
+
catalogue: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
26
|
+
[key: string]: any;
|
|
27
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
28
|
+
clear: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
29
|
+
[key: string]: any;
|
|
30
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
31
|
+
close: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
32
|
+
[key: string]: any;
|
|
33
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
34
|
+
crl: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
35
|
+
[key: string]: any;
|
|
36
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
37
|
+
delete: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
38
|
+
[key: string]: any;
|
|
39
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
40
|
+
document: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
41
|
+
[key: string]: any;
|
|
42
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
43
|
+
down: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
44
|
+
[key: string]: any;
|
|
45
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
46
|
+
download: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
47
|
+
[key: string]: any;
|
|
48
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
49
|
+
edit: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
50
|
+
[key: string]: any;
|
|
51
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
52
|
+
enter: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
53
|
+
[key: string]: any;
|
|
54
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
55
|
+
frame: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
56
|
+
[key: string]: any;
|
|
57
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
58
|
+
left: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
59
|
+
[key: string]: any;
|
|
60
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
61
|
+
mute: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
62
|
+
[key: string]: any;
|
|
63
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
64
|
+
pause: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
65
|
+
[key: string]: any;
|
|
66
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
67
|
+
play: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
68
|
+
[key: string]: any;
|
|
69
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
70
|
+
plus: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
71
|
+
[key: string]: any;
|
|
72
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
73
|
+
retreat: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
74
|
+
[key: string]: any;
|
|
75
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
76
|
+
right: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
77
|
+
[key: string]: any;
|
|
78
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
79
|
+
sound: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
80
|
+
[key: string]: any;
|
|
81
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
82
|
+
star: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
83
|
+
[key: string]: any;
|
|
84
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
85
|
+
up: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
86
|
+
[key: string]: any;
|
|
87
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
88
|
+
views: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
89
|
+
[key: string]: any;
|
|
90
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
91
|
+
};
|
|
92
|
+
|
|
93
|
+
export { _default as default };
|
package/dist/async.d.ts
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import * as vue from 'vue';
|
|
2
|
+
|
|
3
|
+
declare const _default: {
|
|
4
|
+
bar: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
5
|
+
[key: string]: any;
|
|
6
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
7
|
+
below: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
8
|
+
[key: string]: any;
|
|
9
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
10
|
+
bicycle: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
11
|
+
[key: string]: any;
|
|
12
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
13
|
+
bottom: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
14
|
+
[key: string]: any;
|
|
15
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
16
|
+
'bottom-left': vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
17
|
+
[key: string]: any;
|
|
18
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
19
|
+
'bottom-right': vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
20
|
+
[key: string]: any;
|
|
21
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
22
|
+
'cascader-field': vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
23
|
+
[key: string]: any;
|
|
24
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
25
|
+
catalogue: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
26
|
+
[key: string]: any;
|
|
27
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
28
|
+
clear: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
29
|
+
[key: string]: any;
|
|
30
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
31
|
+
close: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
32
|
+
[key: string]: any;
|
|
33
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
34
|
+
crl: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
35
|
+
[key: string]: any;
|
|
36
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
37
|
+
delete: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
38
|
+
[key: string]: any;
|
|
39
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
40
|
+
document: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
41
|
+
[key: string]: any;
|
|
42
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
43
|
+
down: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
44
|
+
[key: string]: any;
|
|
45
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
46
|
+
download: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
47
|
+
[key: string]: any;
|
|
48
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
49
|
+
edit: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
50
|
+
[key: string]: any;
|
|
51
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
52
|
+
enter: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
53
|
+
[key: string]: any;
|
|
54
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
55
|
+
frame: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
56
|
+
[key: string]: any;
|
|
57
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
58
|
+
left: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
59
|
+
[key: string]: any;
|
|
60
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
61
|
+
mute: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
62
|
+
[key: string]: any;
|
|
63
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
64
|
+
pause: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
65
|
+
[key: string]: any;
|
|
66
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
67
|
+
play: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
68
|
+
[key: string]: any;
|
|
69
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
70
|
+
plus: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
71
|
+
[key: string]: any;
|
|
72
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
73
|
+
retreat: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
74
|
+
[key: string]: any;
|
|
75
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
76
|
+
right: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
77
|
+
[key: string]: any;
|
|
78
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
79
|
+
sound: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
80
|
+
[key: string]: any;
|
|
81
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
82
|
+
star: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
83
|
+
[key: string]: any;
|
|
84
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
85
|
+
up: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
86
|
+
[key: string]: any;
|
|
87
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
88
|
+
views: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
89
|
+
[key: string]: any;
|
|
90
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
91
|
+
};
|
|
92
|
+
|
|
93
|
+
export { _default as default };
|
package/dist/config.d.ts
ADDED
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
import * as vue from 'vue';
|
|
2
|
+
|
|
3
|
+
type Flip = 'horizontal' | 'vertical' | 'both' | '';
|
|
4
|
+
type IconType = 'css' | 'id' | 'img' | 'font' | 'svg' | 'vue' | 'pub';
|
|
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
|
+
* @props { String } flip='' ( 'horizontal' | 'vertical' | 'both' | '' )
|
|
40
|
+
* 图标方向
|
|
41
|
+
*/
|
|
42
|
+
flip: {
|
|
43
|
+
type: () => Flip;
|
|
44
|
+
default: string;
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* @props { Number } rotate=0
|
|
48
|
+
* 图标旋转角度
|
|
49
|
+
*/
|
|
50
|
+
rotate: {
|
|
51
|
+
type: NumberConstructor;
|
|
52
|
+
default: number;
|
|
53
|
+
};
|
|
54
|
+
default: {
|
|
55
|
+
type: StringConstructor;
|
|
56
|
+
};
|
|
57
|
+
directory: {
|
|
58
|
+
type: StringConstructor;
|
|
59
|
+
default: string;
|
|
60
|
+
};
|
|
61
|
+
prefix: {
|
|
62
|
+
type: StringConstructor;
|
|
63
|
+
default: string;
|
|
64
|
+
};
|
|
65
|
+
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
66
|
+
[key: string]: any;
|
|
67
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
68
|
+
/**
|
|
69
|
+
* @props { String, Object } name= ( )
|
|
70
|
+
* 图标名称
|
|
71
|
+
*/
|
|
72
|
+
name: {
|
|
73
|
+
type: (StringConstructor | ObjectConstructor)[];
|
|
74
|
+
default: string;
|
|
75
|
+
};
|
|
76
|
+
/**
|
|
77
|
+
* @props { String} iconClass= ( )
|
|
78
|
+
* 图标样式名称
|
|
79
|
+
*/
|
|
80
|
+
iconClass: {
|
|
81
|
+
type: StringConstructor;
|
|
82
|
+
};
|
|
83
|
+
color: {
|
|
84
|
+
type: StringConstructor;
|
|
85
|
+
};
|
|
86
|
+
/**
|
|
87
|
+
* @props { String} type= ( 'css' | 'id' | 'img' | 'font' | 'str' | 'com' )
|
|
88
|
+
* 图标类型
|
|
89
|
+
*/
|
|
90
|
+
type: {
|
|
91
|
+
type: () => IconType;
|
|
92
|
+
};
|
|
93
|
+
/**
|
|
94
|
+
* @props { String, Number } size= ( )
|
|
95
|
+
* 图标大小
|
|
96
|
+
*/
|
|
97
|
+
size: {
|
|
98
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
99
|
+
};
|
|
100
|
+
/**
|
|
101
|
+
* @props { String } flip='' ( 'horizontal' | 'vertical' | 'both' | '' )
|
|
102
|
+
* 图标方向
|
|
103
|
+
*/
|
|
104
|
+
flip: {
|
|
105
|
+
type: () => Flip;
|
|
106
|
+
default: string;
|
|
107
|
+
};
|
|
108
|
+
/**
|
|
109
|
+
* @props { Number } rotate=0
|
|
110
|
+
* 图标旋转角度
|
|
111
|
+
*/
|
|
112
|
+
rotate: {
|
|
113
|
+
type: NumberConstructor;
|
|
114
|
+
default: number;
|
|
115
|
+
};
|
|
116
|
+
default: {
|
|
117
|
+
type: StringConstructor;
|
|
118
|
+
};
|
|
119
|
+
directory: {
|
|
120
|
+
type: StringConstructor;
|
|
121
|
+
default: string;
|
|
122
|
+
};
|
|
123
|
+
prefix: {
|
|
124
|
+
type: StringConstructor;
|
|
125
|
+
default: string;
|
|
126
|
+
};
|
|
127
|
+
}>> & Readonly<{}>, {
|
|
128
|
+
name: string | Record<string, any>;
|
|
129
|
+
flip: Flip;
|
|
130
|
+
rotate: number;
|
|
131
|
+
directory: string;
|
|
132
|
+
prefix: string;
|
|
133
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
134
|
+
|
|
135
|
+
export { type Flip, type IconType, _default as default };
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
import * as vue from 'vue';
|
|
2
|
+
|
|
3
|
+
type Flip = 'horizontal' | 'vertical' | 'both' | '';
|
|
4
|
+
type IconType = 'css' | 'id' | 'img' | 'font' | 'svg' | 'vue' | 'pub';
|
|
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
|
+
* @props { String } flip='' ( 'horizontal' | 'vertical' | 'both' | '' )
|
|
40
|
+
* 图标方向
|
|
41
|
+
*/
|
|
42
|
+
flip: {
|
|
43
|
+
type: () => Flip;
|
|
44
|
+
default: string;
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* @props { Number } rotate=0
|
|
48
|
+
* 图标旋转角度
|
|
49
|
+
*/
|
|
50
|
+
rotate: {
|
|
51
|
+
type: NumberConstructor;
|
|
52
|
+
default: number;
|
|
53
|
+
};
|
|
54
|
+
default: {
|
|
55
|
+
type: StringConstructor;
|
|
56
|
+
};
|
|
57
|
+
directory: {
|
|
58
|
+
type: StringConstructor;
|
|
59
|
+
default: string;
|
|
60
|
+
};
|
|
61
|
+
prefix: {
|
|
62
|
+
type: StringConstructor;
|
|
63
|
+
default: string;
|
|
64
|
+
};
|
|
65
|
+
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
66
|
+
[key: string]: any;
|
|
67
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
68
|
+
/**
|
|
69
|
+
* @props { String, Object } name= ( )
|
|
70
|
+
* 图标名称
|
|
71
|
+
*/
|
|
72
|
+
name: {
|
|
73
|
+
type: (StringConstructor | ObjectConstructor)[];
|
|
74
|
+
default: string;
|
|
75
|
+
};
|
|
76
|
+
/**
|
|
77
|
+
* @props { String} iconClass= ( )
|
|
78
|
+
* 图标样式名称
|
|
79
|
+
*/
|
|
80
|
+
iconClass: {
|
|
81
|
+
type: StringConstructor;
|
|
82
|
+
};
|
|
83
|
+
color: {
|
|
84
|
+
type: StringConstructor;
|
|
85
|
+
};
|
|
86
|
+
/**
|
|
87
|
+
* @props { String} type= ( 'css' | 'id' | 'img' | 'font' | 'str' | 'com' )
|
|
88
|
+
* 图标类型
|
|
89
|
+
*/
|
|
90
|
+
type: {
|
|
91
|
+
type: () => IconType;
|
|
92
|
+
};
|
|
93
|
+
/**
|
|
94
|
+
* @props { String, Number } size= ( )
|
|
95
|
+
* 图标大小
|
|
96
|
+
*/
|
|
97
|
+
size: {
|
|
98
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
99
|
+
};
|
|
100
|
+
/**
|
|
101
|
+
* @props { String } flip='' ( 'horizontal' | 'vertical' | 'both' | '' )
|
|
102
|
+
* 图标方向
|
|
103
|
+
*/
|
|
104
|
+
flip: {
|
|
105
|
+
type: () => Flip;
|
|
106
|
+
default: string;
|
|
107
|
+
};
|
|
108
|
+
/**
|
|
109
|
+
* @props { Number } rotate=0
|
|
110
|
+
* 图标旋转角度
|
|
111
|
+
*/
|
|
112
|
+
rotate: {
|
|
113
|
+
type: NumberConstructor;
|
|
114
|
+
default: number;
|
|
115
|
+
};
|
|
116
|
+
default: {
|
|
117
|
+
type: StringConstructor;
|
|
118
|
+
};
|
|
119
|
+
directory: {
|
|
120
|
+
type: StringConstructor;
|
|
121
|
+
default: string;
|
|
122
|
+
};
|
|
123
|
+
prefix: {
|
|
124
|
+
type: StringConstructor;
|
|
125
|
+
default: string;
|
|
126
|
+
};
|
|
127
|
+
}>> & Readonly<{}>, {
|
|
128
|
+
name: string | Record<string, any>;
|
|
129
|
+
flip: Flip;
|
|
130
|
+
rotate: number;
|
|
131
|
+
directory: string;
|
|
132
|
+
prefix: string;
|
|
133
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
134
|
+
|
|
135
|
+
export { type Flip, type IconType, _default as default };
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import * as vue from 'vue';
|
|
2
|
+
import { App } from 'vue';
|
|
3
|
+
import { InstallOptions } from './config.cjs';
|
|
4
|
+
|
|
5
|
+
type IconsValueObj = {
|
|
6
|
+
prefix: string;
|
|
7
|
+
name?: string;
|
|
8
|
+
body: string;
|
|
9
|
+
type?: string;
|
|
10
|
+
width?: number;
|
|
11
|
+
height?: number;
|
|
12
|
+
left?: number;
|
|
13
|
+
top?: number;
|
|
14
|
+
};
|
|
15
|
+
declare function getViewBox(obj: IconsValueObj): string;
|
|
16
|
+
/**
|
|
17
|
+
* 将图标配置转换为Vue组件并注册到应用中
|
|
18
|
+
* @param app - Vue应用实例,用于注册组件
|
|
19
|
+
* @param ify - 图标配置对象,包含前缀、尺寸和图标数据
|
|
20
|
+
* @param options - 安装选项,可选参数
|
|
21
|
+
* @param options.prefix - 组件名称前缀,默认使用defaultPrefix
|
|
22
|
+
*/
|
|
23
|
+
declare const iconify: (app: App, ify: {
|
|
24
|
+
[key: string]: any;
|
|
25
|
+
}, { prefix }?: InstallOptions) => void;
|
|
26
|
+
type Iconify = {
|
|
27
|
+
prefix: string;
|
|
28
|
+
icons: {
|
|
29
|
+
[key: string]: {
|
|
30
|
+
body: string;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
lastModified: number;
|
|
34
|
+
width: number;
|
|
35
|
+
height: number;
|
|
36
|
+
info: {
|
|
37
|
+
[key: string]: any;
|
|
38
|
+
};
|
|
39
|
+
aliases: {
|
|
40
|
+
[key: string]: {
|
|
41
|
+
parent: string;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* 创建SVG图标组件
|
|
47
|
+
* @param obj - 图标配置对象,包含图标的各项属性
|
|
48
|
+
* @returns 返回一个Vue组件实例,用于渲染SVG图标
|
|
49
|
+
*/
|
|
50
|
+
declare function iconifySVG(obj: Iconify, name: string): vue.DefineComponent<{}, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
51
|
+
declare function getIconifySVG(obj: Iconify, name: string, str?: string): string;
|
|
52
|
+
|
|
53
|
+
export { getIconifySVG, getViewBox, iconify, iconifySVG };
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import * as vue from 'vue';
|
|
2
|
+
import { App } from 'vue';
|
|
3
|
+
import { InstallOptions } from './config.js';
|
|
4
|
+
|
|
5
|
+
type IconsValueObj = {
|
|
6
|
+
prefix: string;
|
|
7
|
+
name?: string;
|
|
8
|
+
body: string;
|
|
9
|
+
type?: string;
|
|
10
|
+
width?: number;
|
|
11
|
+
height?: number;
|
|
12
|
+
left?: number;
|
|
13
|
+
top?: number;
|
|
14
|
+
};
|
|
15
|
+
declare function getViewBox(obj: IconsValueObj): string;
|
|
16
|
+
/**
|
|
17
|
+
* 将图标配置转换为Vue组件并注册到应用中
|
|
18
|
+
* @param app - Vue应用实例,用于注册组件
|
|
19
|
+
* @param ify - 图标配置对象,包含前缀、尺寸和图标数据
|
|
20
|
+
* @param options - 安装选项,可选参数
|
|
21
|
+
* @param options.prefix - 组件名称前缀,默认使用defaultPrefix
|
|
22
|
+
*/
|
|
23
|
+
declare const iconify: (app: App, ify: {
|
|
24
|
+
[key: string]: any;
|
|
25
|
+
}, { prefix }?: InstallOptions) => void;
|
|
26
|
+
type Iconify = {
|
|
27
|
+
prefix: string;
|
|
28
|
+
icons: {
|
|
29
|
+
[key: string]: {
|
|
30
|
+
body: string;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
lastModified: number;
|
|
34
|
+
width: number;
|
|
35
|
+
height: number;
|
|
36
|
+
info: {
|
|
37
|
+
[key: string]: any;
|
|
38
|
+
};
|
|
39
|
+
aliases: {
|
|
40
|
+
[key: string]: {
|
|
41
|
+
parent: string;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* 创建SVG图标组件
|
|
47
|
+
* @param obj - 图标配置对象,包含图标的各项属性
|
|
48
|
+
* @returns 返回一个Vue组件实例,用于渲染SVG图标
|
|
49
|
+
*/
|
|
50
|
+
declare function iconifySVG(obj: Iconify, name: string): vue.DefineComponent<{}, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
51
|
+
declare function getIconifySVG(obj: Iconify, name: string, str?: string): string;
|
|
52
|
+
|
|
53
|
+
export { getIconifySVG, getViewBox, iconify, iconifySVG };
|
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { App } from 'vue';
|
|
2
|
+
import { InstallOptions } from './config.cjs';
|
|
3
|
+
export { default as Bar } from './vue/bar.cjs';
|
|
4
|
+
export { default as Below } from './vue/below.cjs';
|
|
5
|
+
export { default as Bicycle } from './vue/bicycle.cjs';
|
|
6
|
+
export { default as Bottom } from './vue/bottom.cjs';
|
|
7
|
+
export { default as BottomLeft } from './vue/bottom-left.cjs';
|
|
8
|
+
export { default as BottomRight } from './vue/bottom-right.cjs';
|
|
9
|
+
export { default as CascaderField } from './vue/cascader-field.cjs';
|
|
10
|
+
export { default as Catalogue } from './vue/catalogue.cjs';
|
|
11
|
+
export { default as Clear } from './vue/clear.cjs';
|
|
12
|
+
export { default as Close } from './vue/close.cjs';
|
|
13
|
+
export { default as Crl } from './vue/crl.cjs';
|
|
14
|
+
export { default as Delete } from './vue/delete.cjs';
|
|
15
|
+
export { default as Document } from './vue/document.cjs';
|
|
16
|
+
export { default as Down } from './vue/down.cjs';
|
|
17
|
+
export { default as Download } from './vue/download.cjs';
|
|
18
|
+
export { default as Edit } from './vue/edit.cjs';
|
|
19
|
+
export { default as Enter } from './vue/enter.cjs';
|
|
20
|
+
export { default as Frame } from './vue/frame.cjs';
|
|
21
|
+
export { default as Left } from './vue/left.cjs';
|
|
22
|
+
export { default as Mute } from './vue/mute.cjs';
|
|
23
|
+
export { default as Pause } from './vue/pause.cjs';
|
|
24
|
+
export { default as Play } from './vue/play.cjs';
|
|
25
|
+
export { default as Plus } from './vue/plus.cjs';
|
|
26
|
+
export { default as Retreat } from './vue/retreat.cjs';
|
|
27
|
+
export { default as Right } from './vue/right.cjs';
|
|
28
|
+
export { default as Sound } from './vue/sound.cjs';
|
|
29
|
+
export { default as Star } from './vue/star.cjs';
|
|
30
|
+
export { default as Up } from './vue/up.cjs';
|
|
31
|
+
export { default as Views } from './vue/views.cjs';
|
|
32
|
+
|
|
33
|
+
declare const _default: (app: App, options?: InstallOptions) => void;
|
|
34
|
+
|
|
35
|
+
export { _default as default };
|