@fangzhongya/icons 0.0.23 → 0.0.24
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.cjs +19 -19
- package/dist/async.d.cts +17 -17
- package/dist/async.d.ts +17 -17
- package/dist/async.js +19 -19
- package/dist/chunk-3376ZTRC.cjs +1 -0
- package/dist/{chunk-TOMRI4OW.js → chunk-5JGXNE36.js} +80 -35
- package/dist/chunk-BYXBJQAS.js +0 -0
- package/dist/{chunk-GNA6VBQ3.js → chunk-KI2ZVBGS.js} +1 -1
- package/dist/{chunk-WOUQJUZG.cjs → chunk-MPD6UWMU.cjs} +1 -1
- package/dist/{chunk-TZA4B6RT.cjs → chunk-Q4QUAF3W.cjs} +81 -36
- package/dist/{chunk-HSJ3RNOH.js → chunk-SDYAFYDS.js} +12 -11
- package/dist/{chunk-OSHAEKZL.cjs → chunk-TKPAHR5G.cjs} +13 -12
- package/dist/icon/index.cjs +4 -2
- package/dist/icon/index.d.cts +11 -2
- package/dist/icon/index.d.ts +11 -2
- package/dist/icon/index.js +3 -1
- package/dist/iconify.cjs +5 -2
- package/dist/iconify.d.cts +12 -1
- package/dist/iconify.d.ts +12 -1
- package/dist/iconify.js +4 -1
- package/dist/index.cjs +4 -2
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +4 -2
- package/dist/index.json +1 -1
- package/dist/json.cjs +2 -2
- package/dist/json.d.cts +1 -1
- package/dist/json.d.ts +1 -1
- package/dist/json.js +1 -1
- package/dist/picker/index.cjs +9 -18
- package/dist/picker/index.d.cts +0 -19
- package/dist/picker/index.d.ts +0 -19
- package/dist/picker/index.js +6 -15
- package/dist/vite/index.cjs +8 -7
- package/dist/vite/index.js +5 -4
- package/package.json +1 -1
package/dist/async.cjs
CHANGED
|
@@ -5,62 +5,62 @@ var _vue = require('vue');
|
|
|
5
5
|
var IconBar = _vue.defineAsyncComponent.call(void 0, async () => await Promise.resolve().then(() => _interopRequireWildcard(require("./vue/bar.cjs"))));
|
|
6
6
|
var IconBelow = _vue.defineAsyncComponent.call(void 0, async () => await Promise.resolve().then(() => _interopRequireWildcard(require("./vue/below.cjs"))));
|
|
7
7
|
var IconBottomLeft = _vue.defineAsyncComponent.call(void 0, async () => await Promise.resolve().then(() => _interopRequireWildcard(require("./vue/bottom-left.cjs"))));
|
|
8
|
-
var IconBicycle = _vue.defineAsyncComponent.call(void 0, async () => await Promise.resolve().then(() => _interopRequireWildcard(require("./vue/bicycle.cjs"))));
|
|
9
8
|
var IconBottomRight = _vue.defineAsyncComponent.call(void 0, async () => await Promise.resolve().then(() => _interopRequireWildcard(require("./vue/bottom-right.cjs"))));
|
|
10
9
|
var IconBottom = _vue.defineAsyncComponent.call(void 0, async () => await Promise.resolve().then(() => _interopRequireWildcard(require("./vue/bottom.cjs"))));
|
|
10
|
+
var IconBicycle = _vue.defineAsyncComponent.call(void 0, async () => await Promise.resolve().then(() => _interopRequireWildcard(require("./vue/bicycle.cjs"))));
|
|
11
11
|
var IconCascaderField = _vue.defineAsyncComponent.call(void 0, async () => await Promise.resolve().then(() => _interopRequireWildcard(require("./vue/cascader-field.cjs"))));
|
|
12
12
|
var IconCatalogue = _vue.defineAsyncComponent.call(void 0, async () => await Promise.resolve().then(() => _interopRequireWildcard(require("./vue/catalogue.cjs"))));
|
|
13
13
|
var IconClear = _vue.defineAsyncComponent.call(void 0, async () => await Promise.resolve().then(() => _interopRequireWildcard(require("./vue/clear.cjs"))));
|
|
14
14
|
var IconClose = _vue.defineAsyncComponent.call(void 0, async () => await Promise.resolve().then(() => _interopRequireWildcard(require("./vue/close.cjs"))));
|
|
15
15
|
var IconDelete = _vue.defineAsyncComponent.call(void 0, async () => await Promise.resolve().then(() => _interopRequireWildcard(require("./vue/delete.cjs"))));
|
|
16
|
-
var IconDocument = _vue.defineAsyncComponent.call(void 0, async () => await Promise.resolve().then(() => _interopRequireWildcard(require("./vue/document.cjs"))));
|
|
17
16
|
var IconCrl = _vue.defineAsyncComponent.call(void 0, async () => await Promise.resolve().then(() => _interopRequireWildcard(require("./vue/crl.cjs"))));
|
|
18
17
|
var IconDown = _vue.defineAsyncComponent.call(void 0, async () => await Promise.resolve().then(() => _interopRequireWildcard(require("./vue/down.cjs"))));
|
|
19
|
-
var IconEdit = _vue.defineAsyncComponent.call(void 0, async () => await Promise.resolve().then(() => _interopRequireWildcard(require("./vue/edit.cjs"))));
|
|
20
18
|
var IconDownload = _vue.defineAsyncComponent.call(void 0, async () => await Promise.resolve().then(() => _interopRequireWildcard(require("./vue/download.cjs"))));
|
|
19
|
+
var IconDocument = _vue.defineAsyncComponent.call(void 0, async () => await Promise.resolve().then(() => _interopRequireWildcard(require("./vue/document.cjs"))));
|
|
20
|
+
var IconEdit = _vue.defineAsyncComponent.call(void 0, async () => await Promise.resolve().then(() => _interopRequireWildcard(require("./vue/edit.cjs"))));
|
|
21
21
|
var IconEnter = _vue.defineAsyncComponent.call(void 0, async () => await Promise.resolve().then(() => _interopRequireWildcard(require("./vue/enter.cjs"))));
|
|
22
|
-
var IconLeft = _vue.defineAsyncComponent.call(void 0, async () => await Promise.resolve().then(() => _interopRequireWildcard(require("./vue/left.cjs"))));
|
|
23
|
-
var IconMute = _vue.defineAsyncComponent.call(void 0, async () => await Promise.resolve().then(() => _interopRequireWildcard(require("./vue/mute.cjs"))));
|
|
24
22
|
var IconFrame = _vue.defineAsyncComponent.call(void 0, async () => await Promise.resolve().then(() => _interopRequireWildcard(require("./vue/frame.cjs"))));
|
|
23
|
+
var IconLeft = _vue.defineAsyncComponent.call(void 0, async () => await Promise.resolve().then(() => _interopRequireWildcard(require("./vue/left.cjs"))));
|
|
25
24
|
var IconPause = _vue.defineAsyncComponent.call(void 0, async () => await Promise.resolve().then(() => _interopRequireWildcard(require("./vue/pause.cjs"))));
|
|
26
|
-
var
|
|
25
|
+
var IconMute = _vue.defineAsyncComponent.call(void 0, async () => await Promise.resolve().then(() => _interopRequireWildcard(require("./vue/mute.cjs"))));
|
|
27
26
|
var IconPlus = _vue.defineAsyncComponent.call(void 0, async () => await Promise.resolve().then(() => _interopRequireWildcard(require("./vue/plus.cjs"))));
|
|
28
|
-
var
|
|
27
|
+
var IconPlay = _vue.defineAsyncComponent.call(void 0, async () => await Promise.resolve().then(() => _interopRequireWildcard(require("./vue/play.cjs"))));
|
|
29
28
|
var IconRetreat = _vue.defineAsyncComponent.call(void 0, async () => await Promise.resolve().then(() => _interopRequireWildcard(require("./vue/retreat.cjs"))));
|
|
30
|
-
var
|
|
29
|
+
var IconRight = _vue.defineAsyncComponent.call(void 0, async () => await Promise.resolve().then(() => _interopRequireWildcard(require("./vue/right.cjs"))));
|
|
31
30
|
var IconStar = _vue.defineAsyncComponent.call(void 0, async () => await Promise.resolve().then(() => _interopRequireWildcard(require("./vue/star.cjs"))));
|
|
32
|
-
var IconViews = _vue.defineAsyncComponent.call(void 0, async () => await Promise.resolve().then(() => _interopRequireWildcard(require("./vue/views.cjs"))));
|
|
33
31
|
var IconUp = _vue.defineAsyncComponent.call(void 0, async () => await Promise.resolve().then(() => _interopRequireWildcard(require("./vue/up.cjs"))));
|
|
32
|
+
var IconSound = _vue.defineAsyncComponent.call(void 0, async () => await Promise.resolve().then(() => _interopRequireWildcard(require("./vue/sound.cjs"))));
|
|
33
|
+
var IconViews = _vue.defineAsyncComponent.call(void 0, async () => await Promise.resolve().then(() => _interopRequireWildcard(require("./vue/views.cjs"))));
|
|
34
34
|
var async_default = {
|
|
35
35
|
"bar": IconBar,
|
|
36
36
|
"below": IconBelow,
|
|
37
37
|
"bottom-left": IconBottomLeft,
|
|
38
|
-
"bicycle": IconBicycle,
|
|
39
38
|
"bottom-right": IconBottomRight,
|
|
40
39
|
"bottom": IconBottom,
|
|
40
|
+
"bicycle": IconBicycle,
|
|
41
41
|
"cascader-field": IconCascaderField,
|
|
42
42
|
"catalogue": IconCatalogue,
|
|
43
43
|
"clear": IconClear,
|
|
44
44
|
"close": IconClose,
|
|
45
45
|
"delete": IconDelete,
|
|
46
|
-
"document": IconDocument,
|
|
47
46
|
"crl": IconCrl,
|
|
48
47
|
"down": IconDown,
|
|
49
|
-
"edit": IconEdit,
|
|
50
48
|
"download": IconDownload,
|
|
49
|
+
"document": IconDocument,
|
|
50
|
+
"edit": IconEdit,
|
|
51
51
|
"enter": IconEnter,
|
|
52
|
-
"left": IconLeft,
|
|
53
|
-
"mute": IconMute,
|
|
54
52
|
"frame": IconFrame,
|
|
53
|
+
"left": IconLeft,
|
|
55
54
|
"pause": IconPause,
|
|
56
|
-
"
|
|
55
|
+
"mute": IconMute,
|
|
57
56
|
"plus": IconPlus,
|
|
58
|
-
"
|
|
57
|
+
"play": IconPlay,
|
|
59
58
|
"retreat": IconRetreat,
|
|
60
|
-
"
|
|
59
|
+
"right": IconRight,
|
|
61
60
|
"star": IconStar,
|
|
62
|
-
"
|
|
63
|
-
"
|
|
61
|
+
"up": IconUp,
|
|
62
|
+
"sound": IconSound,
|
|
63
|
+
"views": IconViews
|
|
64
64
|
};
|
|
65
65
|
|
|
66
66
|
|
package/dist/async.d.cts
CHANGED
|
@@ -10,15 +10,15 @@ declare const _default: {
|
|
|
10
10
|
'bottom-left': vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
11
11
|
[key: string]: any;
|
|
12
12
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
13
|
-
bicycle: 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
13
|
'bottom-right': vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
17
14
|
[key: string]: any;
|
|
18
15
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
19
16
|
bottom: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
20
17
|
[key: string]: any;
|
|
21
18
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
19
|
+
bicycle: 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
22
|
'cascader-field': vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
23
23
|
[key: string]: any;
|
|
24
24
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
@@ -34,58 +34,58 @@ declare const _default: {
|
|
|
34
34
|
delete: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
35
35
|
[key: string]: any;
|
|
36
36
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
37
|
-
document: 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
37
|
crl: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
41
38
|
[key: string]: any;
|
|
42
39
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
43
40
|
down: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
44
41
|
[key: string]: any;
|
|
45
42
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
46
|
-
edit: 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
43
|
download: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
50
44
|
[key: string]: any;
|
|
51
45
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
52
|
-
|
|
46
|
+
document: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
53
47
|
[key: string]: any;
|
|
54
48
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
55
|
-
|
|
49
|
+
edit: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
56
50
|
[key: string]: any;
|
|
57
51
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
58
|
-
|
|
52
|
+
enter: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
59
53
|
[key: string]: any;
|
|
60
54
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
61
55
|
frame: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
62
56
|
[key: string]: any;
|
|
63
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>;
|
|
64
61
|
pause: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
65
62
|
[key: string]: any;
|
|
66
63
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
67
|
-
|
|
64
|
+
mute: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
68
65
|
[key: string]: any;
|
|
69
66
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
70
67
|
plus: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
71
68
|
[key: string]: any;
|
|
72
69
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
73
|
-
|
|
70
|
+
play: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
74
71
|
[key: string]: any;
|
|
75
72
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
76
73
|
retreat: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
77
74
|
[key: string]: any;
|
|
78
75
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
79
|
-
|
|
76
|
+
right: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
80
77
|
[key: string]: any;
|
|
81
78
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
82
79
|
star: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
83
80
|
[key: string]: any;
|
|
84
81
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
85
|
-
|
|
82
|
+
up: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
86
83
|
[key: string]: any;
|
|
87
84
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
88
|
-
|
|
85
|
+
sound: 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
89
|
[key: string]: any;
|
|
90
90
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
91
91
|
};
|
package/dist/async.d.ts
CHANGED
|
@@ -10,15 +10,15 @@ declare const _default: {
|
|
|
10
10
|
'bottom-left': vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
11
11
|
[key: string]: any;
|
|
12
12
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
13
|
-
bicycle: 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
13
|
'bottom-right': vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
17
14
|
[key: string]: any;
|
|
18
15
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
19
16
|
bottom: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
20
17
|
[key: string]: any;
|
|
21
18
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
19
|
+
bicycle: 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
22
|
'cascader-field': vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
23
23
|
[key: string]: any;
|
|
24
24
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
@@ -34,58 +34,58 @@ declare const _default: {
|
|
|
34
34
|
delete: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
35
35
|
[key: string]: any;
|
|
36
36
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
37
|
-
document: 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
37
|
crl: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
41
38
|
[key: string]: any;
|
|
42
39
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
43
40
|
down: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
44
41
|
[key: string]: any;
|
|
45
42
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
46
|
-
edit: 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
43
|
download: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
50
44
|
[key: string]: any;
|
|
51
45
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
52
|
-
|
|
46
|
+
document: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
53
47
|
[key: string]: any;
|
|
54
48
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
55
|
-
|
|
49
|
+
edit: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
56
50
|
[key: string]: any;
|
|
57
51
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
58
|
-
|
|
52
|
+
enter: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
59
53
|
[key: string]: any;
|
|
60
54
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
61
55
|
frame: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
62
56
|
[key: string]: any;
|
|
63
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>;
|
|
64
61
|
pause: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
65
62
|
[key: string]: any;
|
|
66
63
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
67
|
-
|
|
64
|
+
mute: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
68
65
|
[key: string]: any;
|
|
69
66
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
70
67
|
plus: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
71
68
|
[key: string]: any;
|
|
72
69
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
73
|
-
|
|
70
|
+
play: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
74
71
|
[key: string]: any;
|
|
75
72
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
76
73
|
retreat: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
77
74
|
[key: string]: any;
|
|
78
75
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
79
|
-
|
|
76
|
+
right: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
80
77
|
[key: string]: any;
|
|
81
78
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
82
79
|
star: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
83
80
|
[key: string]: any;
|
|
84
81
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
85
|
-
|
|
82
|
+
up: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
86
83
|
[key: string]: any;
|
|
87
84
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
88
|
-
|
|
85
|
+
sound: 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
89
|
[key: string]: any;
|
|
90
90
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
91
91
|
};
|
package/dist/async.js
CHANGED
|
@@ -5,62 +5,62 @@ import { defineAsyncComponent } from "vue";
|
|
|
5
5
|
var IconBar = defineAsyncComponent(async () => await import("./vue/bar.js"));
|
|
6
6
|
var IconBelow = defineAsyncComponent(async () => await import("./vue/below.js"));
|
|
7
7
|
var IconBottomLeft = defineAsyncComponent(async () => await import("./vue/bottom-left.js"));
|
|
8
|
-
var IconBicycle = defineAsyncComponent(async () => await import("./vue/bicycle.js"));
|
|
9
8
|
var IconBottomRight = defineAsyncComponent(async () => await import("./vue/bottom-right.js"));
|
|
10
9
|
var IconBottom = defineAsyncComponent(async () => await import("./vue/bottom.js"));
|
|
10
|
+
var IconBicycle = defineAsyncComponent(async () => await import("./vue/bicycle.js"));
|
|
11
11
|
var IconCascaderField = defineAsyncComponent(async () => await import("./vue/cascader-field.js"));
|
|
12
12
|
var IconCatalogue = defineAsyncComponent(async () => await import("./vue/catalogue.js"));
|
|
13
13
|
var IconClear = defineAsyncComponent(async () => await import("./vue/clear.js"));
|
|
14
14
|
var IconClose = defineAsyncComponent(async () => await import("./vue/close.js"));
|
|
15
15
|
var IconDelete = defineAsyncComponent(async () => await import("./vue/delete.js"));
|
|
16
|
-
var IconDocument = defineAsyncComponent(async () => await import("./vue/document.js"));
|
|
17
16
|
var IconCrl = defineAsyncComponent(async () => await import("./vue/crl.js"));
|
|
18
17
|
var IconDown = defineAsyncComponent(async () => await import("./vue/down.js"));
|
|
19
|
-
var IconEdit = defineAsyncComponent(async () => await import("./vue/edit.js"));
|
|
20
18
|
var IconDownload = defineAsyncComponent(async () => await import("./vue/download.js"));
|
|
19
|
+
var IconDocument = defineAsyncComponent(async () => await import("./vue/document.js"));
|
|
20
|
+
var IconEdit = defineAsyncComponent(async () => await import("./vue/edit.js"));
|
|
21
21
|
var IconEnter = defineAsyncComponent(async () => await import("./vue/enter.js"));
|
|
22
|
-
var IconLeft = defineAsyncComponent(async () => await import("./vue/left.js"));
|
|
23
|
-
var IconMute = defineAsyncComponent(async () => await import("./vue/mute.js"));
|
|
24
22
|
var IconFrame = defineAsyncComponent(async () => await import("./vue/frame.js"));
|
|
23
|
+
var IconLeft = defineAsyncComponent(async () => await import("./vue/left.js"));
|
|
25
24
|
var IconPause = defineAsyncComponent(async () => await import("./vue/pause.js"));
|
|
26
|
-
var
|
|
25
|
+
var IconMute = defineAsyncComponent(async () => await import("./vue/mute.js"));
|
|
27
26
|
var IconPlus = defineAsyncComponent(async () => await import("./vue/plus.js"));
|
|
28
|
-
var
|
|
27
|
+
var IconPlay = defineAsyncComponent(async () => await import("./vue/play.js"));
|
|
29
28
|
var IconRetreat = defineAsyncComponent(async () => await import("./vue/retreat.js"));
|
|
30
|
-
var
|
|
29
|
+
var IconRight = defineAsyncComponent(async () => await import("./vue/right.js"));
|
|
31
30
|
var IconStar = defineAsyncComponent(async () => await import("./vue/star.js"));
|
|
32
|
-
var IconViews = defineAsyncComponent(async () => await import("./vue/views.js"));
|
|
33
31
|
var IconUp = defineAsyncComponent(async () => await import("./vue/up.js"));
|
|
32
|
+
var IconSound = defineAsyncComponent(async () => await import("./vue/sound.js"));
|
|
33
|
+
var IconViews = defineAsyncComponent(async () => await import("./vue/views.js"));
|
|
34
34
|
var async_default = {
|
|
35
35
|
"bar": IconBar,
|
|
36
36
|
"below": IconBelow,
|
|
37
37
|
"bottom-left": IconBottomLeft,
|
|
38
|
-
"bicycle": IconBicycle,
|
|
39
38
|
"bottom-right": IconBottomRight,
|
|
40
39
|
"bottom": IconBottom,
|
|
40
|
+
"bicycle": IconBicycle,
|
|
41
41
|
"cascader-field": IconCascaderField,
|
|
42
42
|
"catalogue": IconCatalogue,
|
|
43
43
|
"clear": IconClear,
|
|
44
44
|
"close": IconClose,
|
|
45
45
|
"delete": IconDelete,
|
|
46
|
-
"document": IconDocument,
|
|
47
46
|
"crl": IconCrl,
|
|
48
47
|
"down": IconDown,
|
|
49
|
-
"edit": IconEdit,
|
|
50
48
|
"download": IconDownload,
|
|
49
|
+
"document": IconDocument,
|
|
50
|
+
"edit": IconEdit,
|
|
51
51
|
"enter": IconEnter,
|
|
52
|
-
"left": IconLeft,
|
|
53
|
-
"mute": IconMute,
|
|
54
52
|
"frame": IconFrame,
|
|
53
|
+
"left": IconLeft,
|
|
55
54
|
"pause": IconPause,
|
|
56
|
-
"
|
|
55
|
+
"mute": IconMute,
|
|
57
56
|
"plus": IconPlus,
|
|
58
|
-
"
|
|
57
|
+
"play": IconPlay,
|
|
59
58
|
"retreat": IconRetreat,
|
|
60
|
-
"
|
|
59
|
+
"right": IconRight,
|
|
61
60
|
"star": IconStar,
|
|
62
|
-
"
|
|
63
|
-
"
|
|
61
|
+
"up": IconUp,
|
|
62
|
+
"sound": IconSound,
|
|
63
|
+
"views": IconViews
|
|
64
64
|
};
|
|
65
65
|
export {
|
|
66
66
|
async_default as default
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -1,18 +1,39 @@
|
|
|
1
|
+
import {
|
|
2
|
+
defaultPrefix
|
|
3
|
+
} from "./chunk-MOHILOKE.js";
|
|
4
|
+
|
|
1
5
|
// packages/icon/index.ts
|
|
2
6
|
import { h, defineComponent, resolveComponent, computed, Fragment } from "vue";
|
|
7
|
+
|
|
8
|
+
// node_modules/.pnpm/@fangzhongya+utils@0.0.72/node_modules/@fangzhongya/utils/dist/chunk-J7CICTHH.js
|
|
9
|
+
function humpToLine(name) {
|
|
10
|
+
const reg3 = /(([A-Z])([^A-Z]*))/g;
|
|
11
|
+
let result;
|
|
12
|
+
const arr = [];
|
|
13
|
+
let i = 0;
|
|
14
|
+
while ((result = reg3.exec(name)) !== null) {
|
|
15
|
+
if (i == 0 && result.index != 0) {
|
|
16
|
+
arr.push(name.substring(0, result.index));
|
|
17
|
+
}
|
|
18
|
+
i++;
|
|
19
|
+
arr.push(result[1].toLowerCase());
|
|
20
|
+
}
|
|
21
|
+
if (arr.length == 0) {
|
|
22
|
+
return name;
|
|
23
|
+
} else {
|
|
24
|
+
let a = arr.join("-");
|
|
25
|
+
a = a.replace(/[-]{2,}/g, "-");
|
|
26
|
+
return a;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
// packages/icon/index.ts
|
|
3
31
|
var reg = /<svg([^>]*)>((.|\n|\r|\t)*)<\/svg>/g;
|
|
4
32
|
var reg1 = /<path([^>]*)>((.|\n|\r|\t)*)<\/path>/g;
|
|
5
33
|
var reg2 = /<g([^>]*)>((.|\n|\r|\t)*)<\/g>/g;
|
|
6
|
-
var prefix = "
|
|
34
|
+
var prefix = humpToLine(defaultPrefix) + "-";
|
|
7
35
|
var className = "icon";
|
|
8
36
|
var directory = "/svg";
|
|
9
|
-
var setPrefix = (name) => {
|
|
10
|
-
if (name.startsWith(prefix)) {
|
|
11
|
-
return name;
|
|
12
|
-
} else {
|
|
13
|
-
return prefix + name;
|
|
14
|
-
}
|
|
15
|
-
};
|
|
16
37
|
var isImg = (name) => {
|
|
17
38
|
if (name) {
|
|
18
39
|
if (name.startsWith("data:") || name.startsWith("/") || name.startsWith("./") || name.startsWith("../") || name.includes("://")) {
|
|
@@ -31,6 +52,19 @@ var contStyle = {
|
|
|
31
52
|
width: "inherit",
|
|
32
53
|
height: "inherit"
|
|
33
54
|
};
|
|
55
|
+
var svgStyle = {
|
|
56
|
+
"--color": "inherit",
|
|
57
|
+
height: "1em",
|
|
58
|
+
width: "1em",
|
|
59
|
+
"line-height": "1em",
|
|
60
|
+
display: "inline-flex",
|
|
61
|
+
"justify-content": "center",
|
|
62
|
+
"align-items": "center",
|
|
63
|
+
position: "relative",
|
|
64
|
+
fill: "currentColor",
|
|
65
|
+
color: "var(--color)",
|
|
66
|
+
"font-size": "inherit"
|
|
67
|
+
};
|
|
34
68
|
var icon_default = defineComponent({
|
|
35
69
|
name: "Icon",
|
|
36
70
|
props: {
|
|
@@ -94,6 +128,10 @@ var icon_default = defineComponent({
|
|
|
94
128
|
directory: {
|
|
95
129
|
type: String,
|
|
96
130
|
default: directory
|
|
131
|
+
},
|
|
132
|
+
prefix: {
|
|
133
|
+
type: String,
|
|
134
|
+
default: prefix
|
|
97
135
|
}
|
|
98
136
|
},
|
|
99
137
|
setup(props, { slots }) {
|
|
@@ -103,15 +141,22 @@ var icon_default = defineComponent({
|
|
|
103
141
|
} else {
|
|
104
142
|
const name = props.name || "";
|
|
105
143
|
if (typeof name == "object") {
|
|
106
|
-
return "
|
|
144
|
+
return "vue";
|
|
107
145
|
} else if (reg.test(name) || reg1.test(name) || reg2.test(name)) {
|
|
108
|
-
return "
|
|
146
|
+
return "svg";
|
|
109
147
|
} else if (isImg(name)) {
|
|
110
148
|
return "img";
|
|
111
149
|
}
|
|
112
150
|
return props.default;
|
|
113
151
|
}
|
|
114
152
|
});
|
|
153
|
+
const setPrefix = (name) => {
|
|
154
|
+
if (name.startsWith(props.prefix)) {
|
|
155
|
+
return name;
|
|
156
|
+
} else {
|
|
157
|
+
return props.prefix + name;
|
|
158
|
+
}
|
|
159
|
+
};
|
|
115
160
|
const transformStyle = computed(() => {
|
|
116
161
|
const style = [];
|
|
117
162
|
if (props.flip !== "") {
|
|
@@ -131,17 +176,7 @@ var icon_default = defineComponent({
|
|
|
131
176
|
style.push(`rotate(${props.rotate % 360}deg)`);
|
|
132
177
|
}
|
|
133
178
|
const styleObj = {
|
|
134
|
-
|
|
135
|
-
height: "1em",
|
|
136
|
-
width: "1em",
|
|
137
|
-
"line-height": "1em",
|
|
138
|
-
display: "inline-flex",
|
|
139
|
-
"justify-content": "center",
|
|
140
|
-
"align-items": "center",
|
|
141
|
-
position: "relative",
|
|
142
|
-
fill: "currentColor",
|
|
143
|
-
color: "var(--color)",
|
|
144
|
-
"font-size": "inherit"
|
|
179
|
+
...svgStyle
|
|
145
180
|
};
|
|
146
181
|
styleObj.transform = style.join(" ");
|
|
147
182
|
if (props.color) {
|
|
@@ -162,7 +197,7 @@ var icon_default = defineComponent({
|
|
|
162
197
|
const name = props.name;
|
|
163
198
|
if (typeof name == "string") {
|
|
164
199
|
switch (outputType.value) {
|
|
165
|
-
case "
|
|
200
|
+
case "svg":
|
|
166
201
|
const rs = reg.exec(name);
|
|
167
202
|
const rs1 = reg1.exec(name) || reg2.exec(name);
|
|
168
203
|
if (rs && rs.length > 0) {
|
|
@@ -185,7 +220,7 @@ var icon_default = defineComponent({
|
|
|
185
220
|
return name;
|
|
186
221
|
});
|
|
187
222
|
const arr = computed(() => {
|
|
188
|
-
var _a, _b, _c;
|
|
223
|
+
var _a, _b, _c, _d, _e;
|
|
189
224
|
if (slots.default) {
|
|
190
225
|
return h(
|
|
191
226
|
Fragment,
|
|
@@ -215,7 +250,7 @@ var icon_default = defineComponent({
|
|
|
215
250
|
alt: "svg",
|
|
216
251
|
src: outputName.value
|
|
217
252
|
});
|
|
218
|
-
} else if (outputType.value === "
|
|
253
|
+
} else if (outputType.value === "svg") {
|
|
219
254
|
let v;
|
|
220
255
|
let viewBox;
|
|
221
256
|
if (typeof outputName.value === "string") {
|
|
@@ -223,7 +258,7 @@ var icon_default = defineComponent({
|
|
|
223
258
|
viewBox = "0 0 1024 1024";
|
|
224
259
|
} else {
|
|
225
260
|
v = (_a = outputName.value) == null ? void 0 : _a.body;
|
|
226
|
-
viewBox =
|
|
261
|
+
viewBox = `${((_b = outputName.value) == null ? void 0 : _b.left) || 0} ${((_c = outputName.value) == null ? void 0 : _c.top) || 0} ${((_d = outputName.value) == null ? void 0 : _d.width) || 1024} ${((_e = outputName.value) == null ? void 0 : _e.height) || 1024}`;
|
|
227
262
|
}
|
|
228
263
|
return h("svg", {
|
|
229
264
|
class: [props.iconClass],
|
|
@@ -244,20 +279,30 @@ var icon_default = defineComponent({
|
|
|
244
279
|
"xlink:href": "#" + outputName.value
|
|
245
280
|
})
|
|
246
281
|
);
|
|
282
|
+
} else if (outputType.value === "vue") {
|
|
283
|
+
if (typeof outputName.value == "string") {
|
|
284
|
+
return h(resolveComponent(outputName.value), {
|
|
285
|
+
class: [props.iconClass],
|
|
286
|
+
style: contStyle
|
|
287
|
+
});
|
|
288
|
+
} else {
|
|
289
|
+
return h(outputName.value, {
|
|
290
|
+
class: [props.iconClass],
|
|
291
|
+
style: contStyle
|
|
292
|
+
});
|
|
293
|
+
}
|
|
247
294
|
} else {
|
|
248
295
|
if (typeof outputName.value == "string") {
|
|
249
|
-
const
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
296
|
+
const m = setPrefix(outputName.value);
|
|
297
|
+
const v = resolveComponent(m);
|
|
298
|
+
if (typeof v == "string") {
|
|
299
|
+
return h("i", {
|
|
300
|
+
class: [props.iconClass, m],
|
|
253
301
|
style: contStyle
|
|
254
302
|
});
|
|
255
303
|
} else {
|
|
256
|
-
return h(
|
|
257
|
-
class: [
|
|
258
|
-
props.iconClass,
|
|
259
|
-
setPrefix(outputName.value)
|
|
260
|
-
],
|
|
304
|
+
return h(v, {
|
|
305
|
+
class: [props.iconClass],
|
|
261
306
|
style: contStyle
|
|
262
307
|
});
|
|
263
308
|
}
|
|
@@ -270,7 +315,7 @@ var icon_default = defineComponent({
|
|
|
270
315
|
}
|
|
271
316
|
});
|
|
272
317
|
return () => h(
|
|
273
|
-
"
|
|
318
|
+
"span",
|
|
274
319
|
{
|
|
275
320
|
class: [className],
|
|
276
321
|
style: transformStyle.value
|
|
File without changes
|