@fangzhongya/icons 0.0.19 → 0.0.21

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 CHANGED
@@ -2,65 +2,65 @@
2
2
 
3
3
  // packages/async.ts
4
4
  var _vue = require('vue');
5
- var IconBar = _vue.defineAsyncComponent.call(void 0, async () => await Promise.resolve().then(() => _interopRequireWildcard(require("./vue/bar.cjs"))));
6
5
  var IconBelow = _vue.defineAsyncComponent.call(void 0, async () => await Promise.resolve().then(() => _interopRequireWildcard(require("./vue/below.cjs"))));
7
6
  var IconBicycle = _vue.defineAsyncComponent.call(void 0, async () => await Promise.resolve().then(() => _interopRequireWildcard(require("./vue/bicycle.cjs"))));
8
- var IconBottom = _vue.defineAsyncComponent.call(void 0, async () => await Promise.resolve().then(() => _interopRequireWildcard(require("./vue/bottom.cjs"))));
7
+ var IconBar = _vue.defineAsyncComponent.call(void 0, async () => await Promise.resolve().then(() => _interopRequireWildcard(require("./vue/bar.cjs"))));
9
8
  var IconBottomLeft = _vue.defineAsyncComponent.call(void 0, async () => await Promise.resolve().then(() => _interopRequireWildcard(require("./vue/bottom-left.cjs"))));
10
9
  var IconBottomRight = _vue.defineAsyncComponent.call(void 0, async () => await Promise.resolve().then(() => _interopRequireWildcard(require("./vue/bottom-right.cjs"))));
10
+ var IconBottom = _vue.defineAsyncComponent.call(void 0, async () => await Promise.resolve().then(() => _interopRequireWildcard(require("./vue/bottom.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
- var IconCrl = _vue.defineAsyncComponent.call(void 0, async () => await Promise.resolve().then(() => _interopRequireWildcard(require("./vue/crl.cjs"))));
15
14
  var IconClose = _vue.defineAsyncComponent.call(void 0, async () => await Promise.resolve().then(() => _interopRequireWildcard(require("./vue/close.cjs"))));
15
+ var IconCrl = _vue.defineAsyncComponent.call(void 0, async () => await Promise.resolve().then(() => _interopRequireWildcard(require("./vue/crl.cjs"))));
16
16
  var IconDelete = _vue.defineAsyncComponent.call(void 0, async () => await Promise.resolve().then(() => _interopRequireWildcard(require("./vue/delete.cjs"))));
17
17
  var IconDown = _vue.defineAsyncComponent.call(void 0, async () => await Promise.resolve().then(() => _interopRequireWildcard(require("./vue/down.cjs"))));
18
- var IconDocument = _vue.defineAsyncComponent.call(void 0, async () => await Promise.resolve().then(() => _interopRequireWildcard(require("./vue/document.cjs"))));
19
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 IconFrame = _vue.defineAsyncComponent.call(void 0, async () => await Promise.resolve().then(() => _interopRequireWildcard(require("./vue/frame.cjs"))));
20
21
  var IconEdit = _vue.defineAsyncComponent.call(void 0, async () => await Promise.resolve().then(() => _interopRequireWildcard(require("./vue/edit.cjs"))));
21
22
  var IconEnter = _vue.defineAsyncComponent.call(void 0, async () => await Promise.resolve().then(() => _interopRequireWildcard(require("./vue/enter.cjs"))));
22
- var IconFrame = _vue.defineAsyncComponent.call(void 0, async () => await Promise.resolve().then(() => _interopRequireWildcard(require("./vue/frame.cjs"))));
23
23
  var IconLeft = _vue.defineAsyncComponent.call(void 0, async () => await Promise.resolve().then(() => _interopRequireWildcard(require("./vue/left.cjs"))));
24
- var IconPause = _vue.defineAsyncComponent.call(void 0, async () => await Promise.resolve().then(() => _interopRequireWildcard(require("./vue/pause.cjs"))));
25
24
  var IconMute = _vue.defineAsyncComponent.call(void 0, async () => await Promise.resolve().then(() => _interopRequireWildcard(require("./vue/mute.cjs"))));
26
- var IconPlay = _vue.defineAsyncComponent.call(void 0, async () => await Promise.resolve().then(() => _interopRequireWildcard(require("./vue/play.cjs"))));
25
+ var IconPause = _vue.defineAsyncComponent.call(void 0, async () => await Promise.resolve().then(() => _interopRequireWildcard(require("./vue/pause.cjs"))));
27
26
  var IconPlus = _vue.defineAsyncComponent.call(void 0, async () => await Promise.resolve().then(() => _interopRequireWildcard(require("./vue/plus.cjs"))));
27
+ var IconPlay = _vue.defineAsyncComponent.call(void 0, async () => await Promise.resolve().then(() => _interopRequireWildcard(require("./vue/play.cjs"))));
28
28
  var IconRetreat = _vue.defineAsyncComponent.call(void 0, async () => await Promise.resolve().then(() => _interopRequireWildcard(require("./vue/retreat.cjs"))));
29
29
  var IconRight = _vue.defineAsyncComponent.call(void 0, async () => await Promise.resolve().then(() => _interopRequireWildcard(require("./vue/right.cjs"))));
30
- var IconUp = _vue.defineAsyncComponent.call(void 0, async () => await Promise.resolve().then(() => _interopRequireWildcard(require("./vue/up.cjs"))));
31
- var IconSound = _vue.defineAsyncComponent.call(void 0, async () => await Promise.resolve().then(() => _interopRequireWildcard(require("./vue/sound.cjs"))));
32
30
  var IconStar = _vue.defineAsyncComponent.call(void 0, async () => await Promise.resolve().then(() => _interopRequireWildcard(require("./vue/star.cjs"))));
31
+ var IconSound = _vue.defineAsyncComponent.call(void 0, async () => await Promise.resolve().then(() => _interopRequireWildcard(require("./vue/sound.cjs"))));
33
32
  var IconViews = _vue.defineAsyncComponent.call(void 0, async () => await Promise.resolve().then(() => _interopRequireWildcard(require("./vue/views.cjs"))));
33
+ var IconUp = _vue.defineAsyncComponent.call(void 0, async () => await Promise.resolve().then(() => _interopRequireWildcard(require("./vue/up.cjs"))));
34
34
  var async_default = {
35
- "bar": IconBar,
36
35
  "below": IconBelow,
37
36
  "bicycle": IconBicycle,
38
- "bottom": IconBottom,
37
+ "bar": IconBar,
39
38
  "bottom-left": IconBottomLeft,
40
39
  "bottom-right": IconBottomRight,
40
+ "bottom": IconBottom,
41
41
  "cascader-field": IconCascaderField,
42
42
  "catalogue": IconCatalogue,
43
43
  "clear": IconClear,
44
- "crl": IconCrl,
45
44
  "close": IconClose,
45
+ "crl": IconCrl,
46
46
  "delete": IconDelete,
47
47
  "down": IconDown,
48
- "document": IconDocument,
49
48
  "download": IconDownload,
49
+ "document": IconDocument,
50
+ "frame": IconFrame,
50
51
  "edit": IconEdit,
51
52
  "enter": IconEnter,
52
- "frame": IconFrame,
53
53
  "left": IconLeft,
54
- "pause": IconPause,
55
54
  "mute": IconMute,
56
- "play": IconPlay,
55
+ "pause": IconPause,
57
56
  "plus": IconPlus,
57
+ "play": IconPlay,
58
58
  "retreat": IconRetreat,
59
59
  "right": IconRight,
60
- "up": IconUp,
61
- "sound": IconSound,
62
60
  "star": IconStar,
63
- "views": IconViews
61
+ "sound": IconSound,
62
+ "views": IconViews,
63
+ "up": IconUp
64
64
  };
65
65
 
66
66
 
package/dist/async.d.cts CHANGED
@@ -1,16 +1,13 @@
1
1
  import * as vue from 'vue';
2
2
 
3
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
4
  below: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
8
5
  [key: string]: any;
9
6
  }>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
10
7
  bicycle: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
11
8
  [key: string]: any;
12
9
  }>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
13
- bottom: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
10
+ bar: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
14
11
  [key: string]: any;
15
12
  }>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
16
13
  'bottom-left': vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
@@ -19,6 +16,9 @@ declare const _default: {
19
16
  'bottom-right': 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
+ bottom: 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>;
@@ -28,10 +28,10 @@ declare const _default: {
28
28
  clear: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
29
29
  [key: string]: any;
30
30
  }>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
31
- crl: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
31
+ close: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
32
32
  [key: string]: any;
33
33
  }>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
34
- close: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
34
+ crl: 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
37
  delete: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
@@ -40,10 +40,13 @@ declare const _default: {
40
40
  down: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
41
41
  [key: string]: any;
42
42
  }>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
43
+ download: 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>;
43
46
  document: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
44
47
  [key: string]: any;
45
48
  }>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
46
- download: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
49
+ frame: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
47
50
  [key: string]: any;
48
51
  }>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
49
52
  edit: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
@@ -52,40 +55,37 @@ declare const _default: {
52
55
  enter: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
53
56
  [key: string]: any;
54
57
  }>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
55
- frame: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
58
+ left: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
56
59
  [key: string]: any;
57
60
  }>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
58
- left: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
61
+ mute: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
59
62
  [key: string]: any;
60
63
  }>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
61
64
  pause: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
62
65
  [key: string]: any;
63
66
  }>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
64
- mute: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
67
+ plus: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
65
68
  [key: string]: any;
66
69
  }>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
67
70
  play: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
68
71
  [key: string]: any;
69
72
  }>, {}, {}, {}, 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
73
  retreat: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
74
74
  [key: string]: any;
75
75
  }>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
76
76
  right: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
77
77
  [key: string]: any;
78
78
  }>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
79
- up: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
79
+ star: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
80
80
  [key: string]: any;
81
81
  }>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
82
82
  sound: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
83
83
  [key: string]: any;
84
84
  }>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
85
- star: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
85
+ views: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
86
86
  [key: string]: any;
87
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, {
88
+ up: 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
@@ -1,16 +1,13 @@
1
1
  import * as vue from 'vue';
2
2
 
3
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
4
  below: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
8
5
  [key: string]: any;
9
6
  }>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
10
7
  bicycle: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
11
8
  [key: string]: any;
12
9
  }>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
13
- bottom: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
10
+ bar: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
14
11
  [key: string]: any;
15
12
  }>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
16
13
  'bottom-left': vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
@@ -19,6 +16,9 @@ declare const _default: {
19
16
  'bottom-right': 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
+ bottom: 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>;
@@ -28,10 +28,10 @@ declare const _default: {
28
28
  clear: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
29
29
  [key: string]: any;
30
30
  }>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
31
- crl: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
31
+ close: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
32
32
  [key: string]: any;
33
33
  }>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
34
- close: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
34
+ crl: 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
37
  delete: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
@@ -40,10 +40,13 @@ declare const _default: {
40
40
  down: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
41
41
  [key: string]: any;
42
42
  }>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
43
+ download: 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>;
43
46
  document: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
44
47
  [key: string]: any;
45
48
  }>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
46
- download: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
49
+ frame: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
47
50
  [key: string]: any;
48
51
  }>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
49
52
  edit: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
@@ -52,40 +55,37 @@ declare const _default: {
52
55
  enter: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
53
56
  [key: string]: any;
54
57
  }>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
55
- frame: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
58
+ left: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
56
59
  [key: string]: any;
57
60
  }>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
58
- left: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
61
+ mute: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
59
62
  [key: string]: any;
60
63
  }>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
61
64
  pause: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
62
65
  [key: string]: any;
63
66
  }>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
64
- mute: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
67
+ plus: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
65
68
  [key: string]: any;
66
69
  }>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
67
70
  play: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
68
71
  [key: string]: any;
69
72
  }>, {}, {}, {}, 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
73
  retreat: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
74
74
  [key: string]: any;
75
75
  }>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
76
76
  right: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
77
77
  [key: string]: any;
78
78
  }>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
79
- up: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
79
+ star: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
80
80
  [key: string]: any;
81
81
  }>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
82
82
  sound: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
83
83
  [key: string]: any;
84
84
  }>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
85
- star: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
85
+ views: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
86
86
  [key: string]: any;
87
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, {
88
+ up: 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
@@ -2,65 +2,65 @@ import "./chunk-MLKGABMK.js";
2
2
 
3
3
  // packages/async.ts
4
4
  import { defineAsyncComponent } from "vue";
5
- var IconBar = defineAsyncComponent(async () => await import("./vue/bar.js"));
6
5
  var IconBelow = defineAsyncComponent(async () => await import("./vue/below.js"));
7
6
  var IconBicycle = defineAsyncComponent(async () => await import("./vue/bicycle.js"));
8
- var IconBottom = defineAsyncComponent(async () => await import("./vue/bottom.js"));
7
+ var IconBar = defineAsyncComponent(async () => await import("./vue/bar.js"));
9
8
  var IconBottomLeft = defineAsyncComponent(async () => await import("./vue/bottom-left.js"));
10
9
  var IconBottomRight = defineAsyncComponent(async () => await import("./vue/bottom-right.js"));
10
+ var IconBottom = defineAsyncComponent(async () => await import("./vue/bottom.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
- var IconCrl = defineAsyncComponent(async () => await import("./vue/crl.js"));
15
14
  var IconClose = defineAsyncComponent(async () => await import("./vue/close.js"));
15
+ var IconCrl = defineAsyncComponent(async () => await import("./vue/crl.js"));
16
16
  var IconDelete = defineAsyncComponent(async () => await import("./vue/delete.js"));
17
17
  var IconDown = defineAsyncComponent(async () => await import("./vue/down.js"));
18
- var IconDocument = defineAsyncComponent(async () => await import("./vue/document.js"));
19
18
  var IconDownload = defineAsyncComponent(async () => await import("./vue/download.js"));
19
+ var IconDocument = defineAsyncComponent(async () => await import("./vue/document.js"));
20
+ var IconFrame = defineAsyncComponent(async () => await import("./vue/frame.js"));
20
21
  var IconEdit = defineAsyncComponent(async () => await import("./vue/edit.js"));
21
22
  var IconEnter = defineAsyncComponent(async () => await import("./vue/enter.js"));
22
- var IconFrame = defineAsyncComponent(async () => await import("./vue/frame.js"));
23
23
  var IconLeft = defineAsyncComponent(async () => await import("./vue/left.js"));
24
- var IconPause = defineAsyncComponent(async () => await import("./vue/pause.js"));
25
24
  var IconMute = defineAsyncComponent(async () => await import("./vue/mute.js"));
26
- var IconPlay = defineAsyncComponent(async () => await import("./vue/play.js"));
25
+ var IconPause = defineAsyncComponent(async () => await import("./vue/pause.js"));
27
26
  var IconPlus = defineAsyncComponent(async () => await import("./vue/plus.js"));
27
+ var IconPlay = defineAsyncComponent(async () => await import("./vue/play.js"));
28
28
  var IconRetreat = defineAsyncComponent(async () => await import("./vue/retreat.js"));
29
29
  var IconRight = defineAsyncComponent(async () => await import("./vue/right.js"));
30
- var IconUp = defineAsyncComponent(async () => await import("./vue/up.js"));
31
- var IconSound = defineAsyncComponent(async () => await import("./vue/sound.js"));
32
30
  var IconStar = defineAsyncComponent(async () => await import("./vue/star.js"));
31
+ var IconSound = defineAsyncComponent(async () => await import("./vue/sound.js"));
33
32
  var IconViews = defineAsyncComponent(async () => await import("./vue/views.js"));
33
+ var IconUp = defineAsyncComponent(async () => await import("./vue/up.js"));
34
34
  var async_default = {
35
- "bar": IconBar,
36
35
  "below": IconBelow,
37
36
  "bicycle": IconBicycle,
38
- "bottom": IconBottom,
37
+ "bar": IconBar,
39
38
  "bottom-left": IconBottomLeft,
40
39
  "bottom-right": IconBottomRight,
40
+ "bottom": IconBottom,
41
41
  "cascader-field": IconCascaderField,
42
42
  "catalogue": IconCatalogue,
43
43
  "clear": IconClear,
44
- "crl": IconCrl,
45
44
  "close": IconClose,
45
+ "crl": IconCrl,
46
46
  "delete": IconDelete,
47
47
  "down": IconDown,
48
- "document": IconDocument,
49
48
  "download": IconDownload,
49
+ "document": IconDocument,
50
+ "frame": IconFrame,
50
51
  "edit": IconEdit,
51
52
  "enter": IconEnter,
52
- "frame": IconFrame,
53
53
  "left": IconLeft,
54
- "pause": IconPause,
55
54
  "mute": IconMute,
56
- "play": IconPlay,
55
+ "pause": IconPause,
57
56
  "plus": IconPlus,
57
+ "play": IconPlay,
58
58
  "retreat": IconRetreat,
59
59
  "right": IconRight,
60
- "up": IconUp,
61
- "sound": IconSound,
62
60
  "star": IconStar,
63
- "views": IconViews
61
+ "sound": IconSound,
62
+ "views": IconViews,
63
+ "up": IconUp
64
64
  };
65
65
  export {
66
66
  async_default as default
@@ -2,7 +2,7 @@
2
2
  var index_default = {
3
3
  prefix: "fang-icons",
4
4
  info: {},
5
- lastModified: 1767838025442,
5
+ lastModified: 1767839124840,
6
6
  icons: {
7
7
  bar: {
8
8
  body: '<path d="M128 544h768a32 32 0 1 0 0-64H128a32 32 0 0 0 0 64z"></path>'
@@ -2,7 +2,7 @@
2
2
  var index_default = {
3
3
  prefix: "fang-icons",
4
4
  info: {},
5
- lastModified: 1767838025442,
5
+ lastModified: 1767839124840,
6
6
  icons: {
7
7
  bar: {
8
8
  body: '<path d="M128 544h768a32 32 0 1 0 0-64H128a32 32 0 0 0 0 64z"></path>'
@@ -5,7 +5,7 @@ var reg1 = /<path([^>]*)>((.|\n|\r|\t)*)<\/path>/g;
5
5
  var reg2 = /<g([^>]*)>((.|\n|\r|\t)*)<\/g>/g;
6
6
  var prefix = "icon-";
7
7
  var className = "icon";
8
- var directory = "./_fangsvg";
8
+ var directory = "/svg";
9
9
  var setPrefix = (name) => {
10
10
  if (name.startsWith(prefix)) {
11
11
  return name;
@@ -196,18 +196,6 @@ var icon_default = defineComponent({
196
196
  );
197
197
  } else if (!outputName.value) {
198
198
  return void 0;
199
- } else if (outputType.value === "svg") {
200
- if (typeof outputName.value == "string") {
201
- return h(resolveComponent(outputName.value), {
202
- class: [props.iconClass],
203
- style: contStyle
204
- });
205
- } else {
206
- return h(outputName.value, {
207
- class: [props.iconClass],
208
- style: contStyle
209
- });
210
- }
211
199
  } else if (outputType.value === "pub") {
212
200
  const src = props.directory + "/" + outputName.value + ".svg";
213
201
  return h("img", {
@@ -258,10 +246,21 @@ var icon_default = defineComponent({
258
246
  );
259
247
  } else {
260
248
  if (typeof outputName.value == "string") {
261
- return h(resolveComponent(outputName.value), {
262
- class: [props.iconClass],
263
- style: contStyle
264
- });
249
+ const v = resolveComponent(outputName.value);
250
+ if (v) {
251
+ return h(resolveComponent(outputName.value), {
252
+ class: [props.iconClass],
253
+ style: contStyle
254
+ });
255
+ } else {
256
+ return h("i", {
257
+ class: [
258
+ props.iconClass,
259
+ setPrefix(outputName.value)
260
+ ],
261
+ style: contStyle
262
+ });
263
+ }
265
264
  } else {
266
265
  return h(outputName.value, {
267
266
  class: [props.iconClass],
@@ -5,7 +5,7 @@ var reg1 = /<path([^>]*)>((.|\n|\r|\t)*)<\/path>/g;
5
5
  var reg2 = /<g([^>]*)>((.|\n|\r|\t)*)<\/g>/g;
6
6
  var prefix = "icon-";
7
7
  var className = "icon";
8
- var directory = "./_fangsvg";
8
+ var directory = "/svg";
9
9
  var setPrefix = (name) => {
10
10
  if (name.startsWith(prefix)) {
11
11
  return name;
@@ -196,18 +196,6 @@ var icon_default = _vue.defineComponent.call(void 0, {
196
196
  );
197
197
  } else if (!outputName.value) {
198
198
  return void 0;
199
- } else if (outputType.value === "svg") {
200
- if (typeof outputName.value == "string") {
201
- return _vue.h.call(void 0, _vue.resolveComponent.call(void 0, outputName.value), {
202
- class: [props.iconClass],
203
- style: contStyle
204
- });
205
- } else {
206
- return _vue.h.call(void 0, outputName.value, {
207
- class: [props.iconClass],
208
- style: contStyle
209
- });
210
- }
211
199
  } else if (outputType.value === "pub") {
212
200
  const src = props.directory + "/" + outputName.value + ".svg";
213
201
  return _vue.h.call(void 0, "img", {
@@ -258,10 +246,21 @@ var icon_default = _vue.defineComponent.call(void 0, {
258
246
  );
259
247
  } else {
260
248
  if (typeof outputName.value == "string") {
261
- return _vue.h.call(void 0, _vue.resolveComponent.call(void 0, outputName.value), {
262
- class: [props.iconClass],
263
- style: contStyle
264
- });
249
+ const v = _vue.resolveComponent.call(void 0, outputName.value);
250
+ if (v) {
251
+ return _vue.h.call(void 0, _vue.resolveComponent.call(void 0, outputName.value), {
252
+ class: [props.iconClass],
253
+ style: contStyle
254
+ });
255
+ } else {
256
+ return _vue.h.call(void 0, "i", {
257
+ class: [
258
+ props.iconClass,
259
+ setPrefix(outputName.value)
260
+ ],
261
+ style: contStyle
262
+ });
263
+ }
265
264
  } else {
266
265
  return _vue.h.call(void 0, outputName.value, {
267
266
  class: [props.iconClass],
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkFCWKSIH4cjs = require('../chunk-FCWKSIH4.cjs');
3
+ var _chunkTZA4B6RTcjs = require('../chunk-TZA4B6RT.cjs');
4
4
  require('../chunk-75ZPJI57.cjs');
5
5
 
6
6
 
7
- exports.default = _chunkFCWKSIH4cjs.icon_default;
7
+ exports.default = _chunkTZA4B6RTcjs.icon_default;
@@ -1,7 +1,7 @@
1
1
  import * as vue from 'vue';
2
2
 
3
3
  type Flip = 'horizontal' | 'vertical' | 'both' | '';
4
- type IconType = 'css' | 'id' | 'img' | 'font' | 'str' | 'com' | 'pub' | 'svg';
4
+ type IconType = 'css' | 'id' | 'img' | 'font' | 'str' | 'com' | 'pub';
5
5
  declare const _default: vue.DefineComponent<vue.ExtractPropTypes<{
6
6
  /**
7
7
  * @props { String, Object } name= ( )
@@ -1,7 +1,7 @@
1
1
  import * as vue from 'vue';
2
2
 
3
3
  type Flip = 'horizontal' | 'vertical' | 'both' | '';
4
- type IconType = 'css' | 'id' | 'img' | 'font' | 'str' | 'com' | 'pub' | 'svg';
4
+ type IconType = 'css' | 'id' | 'img' | 'font' | 'str' | 'com' | 'pub';
5
5
  declare const _default: vue.DefineComponent<vue.ExtractPropTypes<{
6
6
  /**
7
7
  * @props { String, Object } name= ( )
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  icon_default
3
- } from "../chunk-PSUUCIWL.js";
3
+ } from "../chunk-TOMRI4OW.js";
4
4
  import "../chunk-MLKGABMK.js";
5
5
  export {
6
6
  icon_default as default
package/dist/index.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "prefix": "fang-icons",
3
3
  "info": {},
4
- "lastModified": 1767838025442,
4
+ "lastModified": 1767839124840,
5
5
  "icons": {
6
6
  "bar": {
7
7
  "body": "<path d=\"M128 544h768a32 32 0 1 0 0-64H128a32 32 0 0 0 0 64z\"></path>"
package/dist/json.cjs CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkFUQJ62LScjs = require('./chunk-FUQJ62LS.cjs');
3
+ var _chunkRJKEVX43cjs = require('./chunk-RJKEVX43.cjs');
4
4
  require('./chunk-75ZPJI57.cjs');
5
5
 
6
6
 
7
- exports.default = _chunkFUQJ62LScjs.json_default;
7
+ exports.default = _chunkRJKEVX43cjs.json_default;
package/dist/json.d.cts CHANGED
@@ -1,7 +1,7 @@
1
1
  var prefix = "fang-icons";
2
2
  var info = {
3
3
  };
4
- var lastModified = 1767838025442;
4
+ var lastModified = 1767839124840;
5
5
  var icons = {
6
6
  bar: {
7
7
  body: "<path d=\"M128 544h768a32 32 0 1 0 0-64H128a32 32 0 0 0 0 64z\"></path>"
package/dist/json.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  var prefix = "fang-icons";
2
2
  var info = {
3
3
  };
4
- var lastModified = 1767838025442;
4
+ var lastModified = 1767839124840;
5
5
  var icons = {
6
6
  bar: {
7
7
  body: "<path d=\"M128 544h768a32 32 0 1 0 0-64H128a32 32 0 0 0 0 64z\"></path>"
package/dist/json.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  json_default
3
- } from "./chunk-KYF4DBGF.js";
3
+ } from "./chunk-CTBX6TCW.js";
4
4
  import "./chunk-MLKGABMK.js";
5
5
  export {
6
6
  json_default as default
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkFCWKSIH4cjs = require('../chunk-FCWKSIH4.cjs');
3
+ var _chunkTZA4B6RTcjs = require('../chunk-TZA4B6RT.cjs');
4
4
 
5
5
 
6
6
  var _chunkEEMF44IHcjs = require('../chunk-EEMF44IH.cjs');
@@ -107,7 +107,7 @@ var picker_default = _vue.defineComponent.call(void 0, {
107
107
  }
108
108
  },
109
109
  [
110
- _vue.h.call(void 0, _chunkFCWKSIH4cjs.icon_default, {
110
+ _vue.h.call(void 0, _chunkTZA4B6RTcjs.icon_default, {
111
111
  type: props.type,
112
112
  size: props.size,
113
113
  name: props.modelValue,
@@ -189,7 +189,7 @@ var picker_default = _vue.defineComponent.call(void 0, {
189
189
  },
190
190
  name.value
191
191
  ),
192
- _vue.h.call(void 0, _chunkFCWKSIH4cjs.icon_default, {
192
+ _vue.h.call(void 0, _chunkTZA4B6RTcjs.icon_default, {
193
193
  type: props.type,
194
194
  size: props.size,
195
195
  name: name.value,
@@ -241,7 +241,7 @@ var picker_default = _vue.defineComponent.call(void 0, {
241
241
  }
242
242
  },
243
243
  [
244
- _vue.h.call(void 0, _chunkFCWKSIH4cjs.icon_default, {
244
+ _vue.h.call(void 0, _chunkTZA4B6RTcjs.icon_default, {
245
245
  style: {
246
246
  margin: "5px",
247
247
  marginBottom: 0,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  icon_default
3
- } from "../chunk-PSUUCIWL.js";
3
+ } from "../chunk-TOMRI4OW.js";
4
4
  import {
5
5
  dialog_default
6
6
  } from "../chunk-I5KQLZMG.js";
@@ -8,17 +8,18 @@ var _chunkOSHAEKZLcjs = require('../chunk-OSHAEKZL.cjs');
8
8
  require('../chunk-IIVF4KK5.cjs');
9
9
 
10
10
 
11
- var _chunkFUQJ62LScjs = require('../chunk-FUQJ62LS.cjs');
11
+ var _chunkRJKEVX43cjs = require('../chunk-RJKEVX43.cjs');
12
12
  require('../chunk-75ZPJI57.cjs');
13
13
 
14
14
  // packages/vite/index.ts
15
15
  var _path = require('path');
16
+ var runType = "svg";
16
17
  var virtualModuleId = "virtual:fang-icon";
17
18
  function simpleFangIcon(options = {}) {
18
19
  const {
19
20
  name = "FangIcon",
20
- type = "svg",
21
- directory = "./svg",
21
+ type = runType,
22
+ directory = "/svg",
22
23
  dynamic = true,
23
24
  virtual = false,
24
25
  replaced = true,
@@ -39,8 +40,8 @@ function simpleFangIcon(options = {}) {
39
40
  const plugin = {
40
41
  name: "simple-fang-icon"
41
42
  };
43
+ const resolvedVirtualModuleId = "\0" + virtualModuleId;
42
44
  if (virtual) {
43
- const resolvedVirtualModuleId = "\0" + virtualModuleId;
44
45
  const pub = `
45
46
  import { defineComponent, h,} from 'vue'
46
47
  import FangIcon from '@fangzhongya/icons/icon/index'
@@ -101,8 +102,8 @@ function simpleFangIcon(options = {}) {
101
102
  setup(props, { attrs, slots}) {
102
103
  const iconName = computed(() => {
103
104
  const name = props.name;
104
- if (typeof name === 'string' && (props.type === 'svg' ||
105
- (!props.type && props.default === 'svg'))) {
105
+ if (typeof name === 'string' && (props.type === '${runType}' ||
106
+ (!props.type && props.default === '${runType}'))) {
106
107
  const icon = icons[name];
107
108
  if(icon){
108
109
  return icon;
@@ -127,7 +128,7 @@ function simpleFangIcon(options = {}) {
127
128
  };
128
129
 
129
130
  export default component;`;
130
- const text = type === "svg" ? svg : pub;
131
+ const text = type === runType ? svg : pub;
131
132
  plugin.resolveId = function(id) {
132
133
  if (id === virtualModuleId) {
133
134
  return resolvedVirtualModuleId;
@@ -140,6 +141,20 @@ function simpleFangIcon(options = {}) {
140
141
  }
141
142
  return null;
142
143
  };
144
+ } else {
145
+ plugin.resolveId = function(id) {
146
+ if (id === virtualModuleId) {
147
+ return resolvedVirtualModuleId;
148
+ }
149
+ return void 0;
150
+ };
151
+ plugin.load = function(id) {
152
+ if (id === resolvedVirtualModuleId) {
153
+ return `export const install = () => {};
154
+ export default {};`;
155
+ }
156
+ return null;
157
+ };
143
158
  }
144
159
  if (replaced) {
145
160
  const targetComponents = Array.isArray(name) ? name : [name];
@@ -295,8 +310,8 @@ function findComponents(code, name) {
295
310
  return components;
296
311
  }
297
312
  function getText(iconName, match) {
298
- const svg = _chunkOSHAEKZLcjs.getIconifySVG.call(void 0, _chunkFUQJ62LScjs.json_default, iconName, 'v-bind="scope"');
299
- const s = match.fullMatch.replace(`name="${iconName}"`, "").replace(`name='${iconName}'`, "").replace(`</${match.componentName}>`, "");
313
+ const svg = _chunkOSHAEKZLcjs.getIconifySVG.call(void 0, _chunkRJKEVX43cjs.json_default, iconName, 'v-bind="scope"');
314
+ const s = match.fullMatch.replace(`name="${iconName}"`, "").replace(`</${match.componentName}>`, "");
300
315
  const text = `${s}<template #default="scope">${svg}</template></${match.componentName}>`;
301
316
  return { text, imptext: "" };
302
317
  }
@@ -304,7 +319,10 @@ function getImportName(iconName) {
304
319
  return _chunkOSHAEKZLcjs.lineToLargeHump.call(void 0, "fang-icon-" + iconName);
305
320
  }
306
321
  function getVue(iconName, match) {
307
- const text = match.fullMatch.replace(`name="${iconName}"`, `:name="${getImportName(iconName)}"`).replace(`name='${iconName}'`, `:name='${getImportName(iconName)}'`);
322
+ const text = match.fullMatch.replace(
323
+ `name="${iconName}"`,
324
+ `:name="${getImportName(iconName)}"`
325
+ );
308
326
  return {
309
327
  text,
310
328
  imptext: `import ${getImportName(
@@ -318,11 +336,11 @@ function replaceComponent(match, type, dynamic, customReplacement) {
318
336
  if (customReplacement) {
319
337
  return customReplacement(iconName, attributes);
320
338
  }
321
- let svgContent = _chunkFUQJ62LScjs.json_default.icons[iconName];
339
+ let svgContent = _chunkRJKEVX43cjs.json_default.icons[iconName];
322
340
  if (!svgContent) {
323
341
  return { text: match.fullMatch, imptext: "" };
324
342
  }
325
- if (!attributes.type && type == "svg" || attributes.type === "svg") {
343
+ if (!attributes.type && type == runType || attributes.type === runType) {
326
344
  if (dynamic) {
327
345
  return getVue(iconName, match);
328
346
  } else {
@@ -8,17 +8,18 @@ import {
8
8
  import "../chunk-MOHILOKE.js";
9
9
  import {
10
10
  json_default
11
- } from "../chunk-KYF4DBGF.js";
11
+ } from "../chunk-CTBX6TCW.js";
12
12
  import "../chunk-MLKGABMK.js";
13
13
 
14
14
  // packages/vite/index.ts
15
15
  import { join } from "path";
16
+ var runType = "svg";
16
17
  var virtualModuleId = "virtual:fang-icon";
17
18
  function simpleFangIcon(options = {}) {
18
19
  const {
19
20
  name = "FangIcon",
20
- type = "svg",
21
- directory = "./svg",
21
+ type = runType,
22
+ directory = "/svg",
22
23
  dynamic = true,
23
24
  virtual = false,
24
25
  replaced = true,
@@ -39,8 +40,8 @@ function simpleFangIcon(options = {}) {
39
40
  const plugin = {
40
41
  name: "simple-fang-icon"
41
42
  };
43
+ const resolvedVirtualModuleId = "\0" + virtualModuleId;
42
44
  if (virtual) {
43
- const resolvedVirtualModuleId = "\0" + virtualModuleId;
44
45
  const pub = `
45
46
  import { defineComponent, h,} from 'vue'
46
47
  import FangIcon from '@fangzhongya/icons/icon/index'
@@ -101,8 +102,8 @@ function simpleFangIcon(options = {}) {
101
102
  setup(props, { attrs, slots}) {
102
103
  const iconName = computed(() => {
103
104
  const name = props.name;
104
- if (typeof name === 'string' && (props.type === 'svg' ||
105
- (!props.type && props.default === 'svg'))) {
105
+ if (typeof name === 'string' && (props.type === '${runType}' ||
106
+ (!props.type && props.default === '${runType}'))) {
106
107
  const icon = icons[name];
107
108
  if(icon){
108
109
  return icon;
@@ -127,7 +128,7 @@ function simpleFangIcon(options = {}) {
127
128
  };
128
129
 
129
130
  export default component;`;
130
- const text = type === "svg" ? svg : pub;
131
+ const text = type === runType ? svg : pub;
131
132
  plugin.resolveId = function(id) {
132
133
  if (id === virtualModuleId) {
133
134
  return resolvedVirtualModuleId;
@@ -140,6 +141,20 @@ function simpleFangIcon(options = {}) {
140
141
  }
141
142
  return null;
142
143
  };
144
+ } else {
145
+ plugin.resolveId = function(id) {
146
+ if (id === virtualModuleId) {
147
+ return resolvedVirtualModuleId;
148
+ }
149
+ return void 0;
150
+ };
151
+ plugin.load = function(id) {
152
+ if (id === resolvedVirtualModuleId) {
153
+ return `export const install = () => {};
154
+ export default {};`;
155
+ }
156
+ return null;
157
+ };
143
158
  }
144
159
  if (replaced) {
145
160
  const targetComponents = Array.isArray(name) ? name : [name];
@@ -296,7 +311,7 @@ function findComponents(code, name) {
296
311
  }
297
312
  function getText(iconName, match) {
298
313
  const svg = getIconifySVG(json_default, iconName, 'v-bind="scope"');
299
- const s = match.fullMatch.replace(`name="${iconName}"`, "").replace(`name='${iconName}'`, "").replace(`</${match.componentName}>`, "");
314
+ const s = match.fullMatch.replace(`name="${iconName}"`, "").replace(`</${match.componentName}>`, "");
300
315
  const text = `${s}<template #default="scope">${svg}</template></${match.componentName}>`;
301
316
  return { text, imptext: "" };
302
317
  }
@@ -304,7 +319,10 @@ function getImportName(iconName) {
304
319
  return lineToLargeHump("fang-icon-" + iconName);
305
320
  }
306
321
  function getVue(iconName, match) {
307
- const text = match.fullMatch.replace(`name="${iconName}"`, `:name="${getImportName(iconName)}"`).replace(`name='${iconName}'`, `:name='${getImportName(iconName)}'`);
322
+ const text = match.fullMatch.replace(
323
+ `name="${iconName}"`,
324
+ `:name="${getImportName(iconName)}"`
325
+ );
308
326
  return {
309
327
  text,
310
328
  imptext: `import ${getImportName(
@@ -322,7 +340,7 @@ function replaceComponent(match, type, dynamic, customReplacement) {
322
340
  if (!svgContent) {
323
341
  return { text: match.fullMatch, imptext: "" };
324
342
  }
325
- if (!attributes.type && type == "svg" || attributes.type === "svg") {
343
+ if (!attributes.type && type == runType || attributes.type === runType) {
326
344
  if (dynamic) {
327
345
  return getVue(iconName, match);
328
346
  } else {
@@ -5,7 +5,7 @@ var _chunkOSHAEKZLcjs = require('../chunk-OSHAEKZL.cjs');
5
5
  require('../chunk-IIVF4KK5.cjs');
6
6
 
7
7
 
8
- var _chunkFUQJ62LScjs = require('../chunk-FUQJ62LS.cjs');
8
+ var _chunkRJKEVX43cjs = require('../chunk-RJKEVX43.cjs');
9
9
  require('../chunk-75ZPJI57.cjs');
10
10
 
11
11
  // packages/vite/index2.ts
@@ -96,7 +96,7 @@ function findComponents(code, name) {
96
96
  return components;
97
97
  }
98
98
  function getText(iconName, match) {
99
- const svg = _chunkOSHAEKZLcjs.getIconifySVG.call(void 0, _chunkFUQJ62LScjs.json_default, iconName, 'v-bind="scope"');
99
+ const svg = _chunkOSHAEKZLcjs.getIconifySVG.call(void 0, _chunkRJKEVX43cjs.json_default, iconName, 'v-bind="scope"');
100
100
  const s = match.fullMatch.replace(`name="${iconName}"`, "").replace(`name='${iconName}'`, "").replace(`</${match.componentName}>`, "");
101
101
  const text = `${s}<template #default="scope">${svg}</template></${match.componentName}>`;
102
102
  return { text, imptext: "" };
@@ -119,7 +119,7 @@ function replaceComponent(match, type, dynamic, customReplacement) {
119
119
  if (customReplacement) {
120
120
  return customReplacement(iconName, attributes);
121
121
  }
122
- let svgContent = _chunkFUQJ62LScjs.json_default.icons[iconName];
122
+ let svgContent = _chunkRJKEVX43cjs.json_default.icons[iconName];
123
123
  if (!svgContent) {
124
124
  return { text: match.fullMatch, imptext: "" };
125
125
  }
@@ -5,7 +5,7 @@ import {
5
5
  import "../chunk-MOHILOKE.js";
6
6
  import {
7
7
  json_default
8
- } from "../chunk-KYF4DBGF.js";
8
+ } from "../chunk-CTBX6TCW.js";
9
9
  import "../chunk-MLKGABMK.js";
10
10
 
11
11
  // packages/vite/index2.ts
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@fangzhongya/icons",
3
3
  "private": false,
4
4
  "type": "module",
5
- "version": "0.0.19",
5
+ "version": "0.0.21",
6
6
  "description ": "个人图标库",
7
7
  "author": "fangzhongya ",
8
8
  "license": "MIT",