@fangzhongya/icons 0.0.41 → 0.0.43
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 +49 -38
- package/dist/async.d.cts +41 -37
- package/dist/async.d.ts +41 -37
- package/dist/async.js +48 -37
- package/dist/{chunk-ELXUWWAP.js → chunk-66OLJGLO.js} +4 -24
- package/dist/chunk-E3I6537N.js +25 -0
- package/dist/{chunk-CI34F6NY.cjs → chunk-P6MHG3T4.cjs} +1 -1
- package/dist/{chunk-FNAXZFHU.cjs → chunk-U4CNUH3A.cjs} +5 -25
- package/dist/{chunk-CPRWE5AH.js → chunk-V4DSLPBG.js} +1 -1
- package/dist/chunk-YW7CKAOG.cjs +25 -0
- package/dist/icon/index.cjs +4 -3
- package/dist/icon/index.js +3 -2
- package/dist/iconify.cjs +1 -1
- package/dist/iconify.js +1 -1
- 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/name.cjs +11 -5
- package/dist/name.js +11 -5
- package/dist/picker/index.cjs +4 -3
- package/dist/picker/index.d.cts +1 -1
- package/dist/picker/index.d.ts +1 -1
- package/dist/picker/index.js +3 -2
- package/dist/vite/index.cjs +7 -6
- package/dist/vite/index.js +5 -4
- package/package.json +1 -1
package/dist/async.cjs
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }
|
|
2
|
+
|
|
3
|
+
var _chunkIIVF4KK5cjs = require('./chunk-IIVF4KK5.cjs');
|
|
4
|
+
require('./chunk-75ZPJI57.cjs');
|
|
2
5
|
|
|
3
6
|
// packages/async.ts
|
|
4
7
|
var _vue = require('vue');
|
|
@@ -37,43 +40,51 @@ var IconSubForm = _vue.defineAsyncComponent.call(void 0, async () => await Promi
|
|
|
37
40
|
var IconTab = _vue.defineAsyncComponent.call(void 0, async () => await Promise.resolve().then(() => _interopRequireWildcard(require("./vue/tab.cjs"))));
|
|
38
41
|
var IconUp = _vue.defineAsyncComponent.call(void 0, async () => await Promise.resolve().then(() => _interopRequireWildcard(require("./vue/up.cjs"))));
|
|
39
42
|
var IconViews = _vue.defineAsyncComponent.call(void 0, async () => await Promise.resolve().then(() => _interopRequireWildcard(require("./vue/views.cjs"))));
|
|
40
|
-
var
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
"
|
|
75
|
-
"
|
|
43
|
+
var icons = {
|
|
44
|
+
"Bar": IconBar,
|
|
45
|
+
"Below": IconBelow,
|
|
46
|
+
"Bicycle": IconBicycle,
|
|
47
|
+
"Bottom": IconBottom,
|
|
48
|
+
"BottomLeft": IconBottomLeft,
|
|
49
|
+
"BottomRight": IconBottomRight,
|
|
50
|
+
"CascaderField": IconCascaderField,
|
|
51
|
+
"Catalogue": IconCatalogue,
|
|
52
|
+
"Clear": IconClear,
|
|
53
|
+
"Close": IconClose,
|
|
54
|
+
"Crl": IconCrl,
|
|
55
|
+
"Delete": IconDelete,
|
|
56
|
+
"Document": IconDocument,
|
|
57
|
+
"Down": IconDown,
|
|
58
|
+
"Download": IconDownload,
|
|
59
|
+
"Edit": IconEdit,
|
|
60
|
+
"Enter": IconEnter,
|
|
61
|
+
"Frame": IconFrame,
|
|
62
|
+
"Grid": IconGrid,
|
|
63
|
+
"Hidd": IconHidd,
|
|
64
|
+
"Left": IconLeft,
|
|
65
|
+
"Lock": IconLock,
|
|
66
|
+
"Mute": IconMute,
|
|
67
|
+
"NodeTree": IconNodeTree,
|
|
68
|
+
"Pause": IconPause,
|
|
69
|
+
"Play": IconPlay,
|
|
70
|
+
"Plus": IconPlus,
|
|
71
|
+
"Retreat": IconRetreat,
|
|
72
|
+
"Right": IconRight,
|
|
73
|
+
"Sound": IconSound,
|
|
74
|
+
"Star": IconStar,
|
|
75
|
+
"SubForm": IconSubForm,
|
|
76
|
+
"Tab": IconTab,
|
|
77
|
+
"Up": IconUp,
|
|
78
|
+
"Views": IconViews
|
|
79
|
+
};
|
|
80
|
+
var async_default = (app, options = {}) => {
|
|
81
|
+
var _a;
|
|
82
|
+
const { prefix = _chunkIIVF4KK5cjs.defaultPrefix } = options || {};
|
|
83
|
+
for (const [key, component] of Object.entries(icons)) {
|
|
84
|
+
(_a = app.component) == null ? void 0 : _a.call(app, prefix + key, component);
|
|
85
|
+
}
|
|
76
86
|
};
|
|
77
87
|
|
|
78
88
|
|
|
79
|
-
|
|
89
|
+
|
|
90
|
+
exports.default = async_default; exports.icons = icons;
|
package/dist/async.d.cts
CHANGED
|
@@ -1,111 +1,115 @@
|
|
|
1
1
|
import * as vue from 'vue';
|
|
2
|
+
import { App } from 'vue';
|
|
3
|
+
import { InstallOptions } from './config.cjs';
|
|
2
4
|
|
|
3
|
-
declare const
|
|
4
|
-
|
|
5
|
+
declare const icons: {
|
|
6
|
+
Bar: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
5
7
|
[key: string]: any;
|
|
6
8
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
7
|
-
|
|
9
|
+
Below: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
8
10
|
[key: string]: any;
|
|
9
11
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
10
|
-
|
|
12
|
+
Bicycle: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
11
13
|
[key: string]: any;
|
|
12
14
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
13
|
-
|
|
15
|
+
Bottom: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
14
16
|
[key: string]: any;
|
|
15
17
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
16
|
-
|
|
18
|
+
BottomLeft: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
17
19
|
[key: string]: any;
|
|
18
20
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
19
|
-
|
|
21
|
+
BottomRight: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
20
22
|
[key: string]: any;
|
|
21
23
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
22
|
-
|
|
24
|
+
CascaderField: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
23
25
|
[key: string]: any;
|
|
24
26
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
25
|
-
|
|
27
|
+
Catalogue: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
26
28
|
[key: string]: any;
|
|
27
29
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
28
|
-
|
|
30
|
+
Clear: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
29
31
|
[key: string]: any;
|
|
30
32
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
31
|
-
|
|
33
|
+
Close: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
32
34
|
[key: string]: any;
|
|
33
35
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
34
|
-
|
|
36
|
+
Crl: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
35
37
|
[key: string]: any;
|
|
36
38
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
37
|
-
|
|
39
|
+
Delete: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
38
40
|
[key: string]: any;
|
|
39
41
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
40
|
-
|
|
42
|
+
Document: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
41
43
|
[key: string]: any;
|
|
42
44
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
43
|
-
|
|
45
|
+
Down: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
44
46
|
[key: string]: any;
|
|
45
47
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
46
|
-
|
|
48
|
+
Download: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
47
49
|
[key: string]: any;
|
|
48
50
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
49
|
-
|
|
51
|
+
Edit: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
50
52
|
[key: string]: any;
|
|
51
53
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
52
|
-
|
|
54
|
+
Enter: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
53
55
|
[key: string]: any;
|
|
54
56
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
55
|
-
|
|
57
|
+
Frame: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
56
58
|
[key: string]: any;
|
|
57
59
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
58
|
-
|
|
60
|
+
Grid: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
59
61
|
[key: string]: any;
|
|
60
62
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
61
|
-
|
|
63
|
+
Hidd: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
62
64
|
[key: string]: any;
|
|
63
65
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
64
|
-
|
|
66
|
+
Left: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
65
67
|
[key: string]: any;
|
|
66
68
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
67
|
-
|
|
69
|
+
Lock: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
68
70
|
[key: string]: any;
|
|
69
71
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
70
|
-
|
|
72
|
+
Mute: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
71
73
|
[key: string]: any;
|
|
72
74
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
73
|
-
|
|
75
|
+
NodeTree: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
74
76
|
[key: string]: any;
|
|
75
77
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
76
|
-
|
|
78
|
+
Pause: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
77
79
|
[key: string]: any;
|
|
78
80
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
79
|
-
|
|
81
|
+
Play: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
80
82
|
[key: string]: any;
|
|
81
83
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
82
|
-
|
|
84
|
+
Plus: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
83
85
|
[key: string]: any;
|
|
84
86
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
85
|
-
|
|
87
|
+
Retreat: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
86
88
|
[key: string]: any;
|
|
87
89
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
88
|
-
|
|
90
|
+
Right: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
89
91
|
[key: string]: any;
|
|
90
92
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
91
|
-
|
|
93
|
+
Sound: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
92
94
|
[key: string]: any;
|
|
93
95
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
94
|
-
|
|
96
|
+
Star: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
95
97
|
[key: string]: any;
|
|
96
98
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
97
|
-
|
|
99
|
+
SubForm: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
98
100
|
[key: string]: any;
|
|
99
101
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
100
|
-
|
|
102
|
+
Tab: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
101
103
|
[key: string]: any;
|
|
102
104
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
103
|
-
|
|
105
|
+
Up: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
104
106
|
[key: string]: any;
|
|
105
107
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
106
|
-
|
|
108
|
+
Views: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
107
109
|
[key: string]: any;
|
|
108
110
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
109
111
|
};
|
|
110
112
|
|
|
111
|
-
|
|
113
|
+
declare const _default: (app: App, options?: InstallOptions) => void;
|
|
114
|
+
|
|
115
|
+
export { _default as default, icons };
|
package/dist/async.d.ts
CHANGED
|
@@ -1,111 +1,115 @@
|
|
|
1
1
|
import * as vue from 'vue';
|
|
2
|
+
import { App } from 'vue';
|
|
3
|
+
import { InstallOptions } from './config.js';
|
|
2
4
|
|
|
3
|
-
declare const
|
|
4
|
-
|
|
5
|
+
declare const icons: {
|
|
6
|
+
Bar: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
5
7
|
[key: string]: any;
|
|
6
8
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
7
|
-
|
|
9
|
+
Below: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
8
10
|
[key: string]: any;
|
|
9
11
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
10
|
-
|
|
12
|
+
Bicycle: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
11
13
|
[key: string]: any;
|
|
12
14
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
13
|
-
|
|
15
|
+
Bottom: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
14
16
|
[key: string]: any;
|
|
15
17
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
16
|
-
|
|
18
|
+
BottomLeft: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
17
19
|
[key: string]: any;
|
|
18
20
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
19
|
-
|
|
21
|
+
BottomRight: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
20
22
|
[key: string]: any;
|
|
21
23
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
22
|
-
|
|
24
|
+
CascaderField: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
23
25
|
[key: string]: any;
|
|
24
26
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
25
|
-
|
|
27
|
+
Catalogue: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
26
28
|
[key: string]: any;
|
|
27
29
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
28
|
-
|
|
30
|
+
Clear: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
29
31
|
[key: string]: any;
|
|
30
32
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
31
|
-
|
|
33
|
+
Close: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
32
34
|
[key: string]: any;
|
|
33
35
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
34
|
-
|
|
36
|
+
Crl: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
35
37
|
[key: string]: any;
|
|
36
38
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
37
|
-
|
|
39
|
+
Delete: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
38
40
|
[key: string]: any;
|
|
39
41
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
40
|
-
|
|
42
|
+
Document: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
41
43
|
[key: string]: any;
|
|
42
44
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
43
|
-
|
|
45
|
+
Down: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
44
46
|
[key: string]: any;
|
|
45
47
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
46
|
-
|
|
48
|
+
Download: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
47
49
|
[key: string]: any;
|
|
48
50
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
49
|
-
|
|
51
|
+
Edit: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
50
52
|
[key: string]: any;
|
|
51
53
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
52
|
-
|
|
54
|
+
Enter: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
53
55
|
[key: string]: any;
|
|
54
56
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
55
|
-
|
|
57
|
+
Frame: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
56
58
|
[key: string]: any;
|
|
57
59
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
58
|
-
|
|
60
|
+
Grid: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
59
61
|
[key: string]: any;
|
|
60
62
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
61
|
-
|
|
63
|
+
Hidd: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
62
64
|
[key: string]: any;
|
|
63
65
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
64
|
-
|
|
66
|
+
Left: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
65
67
|
[key: string]: any;
|
|
66
68
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
67
|
-
|
|
69
|
+
Lock: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
68
70
|
[key: string]: any;
|
|
69
71
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
70
|
-
|
|
72
|
+
Mute: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
71
73
|
[key: string]: any;
|
|
72
74
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
73
|
-
|
|
75
|
+
NodeTree: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
74
76
|
[key: string]: any;
|
|
75
77
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
76
|
-
|
|
78
|
+
Pause: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
77
79
|
[key: string]: any;
|
|
78
80
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
79
|
-
|
|
81
|
+
Play: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
80
82
|
[key: string]: any;
|
|
81
83
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
82
|
-
|
|
84
|
+
Plus: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
83
85
|
[key: string]: any;
|
|
84
86
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
85
|
-
|
|
87
|
+
Retreat: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
86
88
|
[key: string]: any;
|
|
87
89
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
88
|
-
|
|
90
|
+
Right: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
89
91
|
[key: string]: any;
|
|
90
92
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
91
|
-
|
|
93
|
+
Sound: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
92
94
|
[key: string]: any;
|
|
93
95
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
94
|
-
|
|
96
|
+
Star: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
95
97
|
[key: string]: any;
|
|
96
98
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
97
|
-
|
|
99
|
+
SubForm: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
98
100
|
[key: string]: any;
|
|
99
101
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
100
|
-
|
|
102
|
+
Tab: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
101
103
|
[key: string]: any;
|
|
102
104
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
103
|
-
|
|
105
|
+
Up: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
104
106
|
[key: string]: any;
|
|
105
107
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
106
|
-
|
|
108
|
+
Views: vue.DefineComponent<{}, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
107
109
|
[key: string]: any;
|
|
108
110
|
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
109
111
|
};
|
|
110
112
|
|
|
111
|
-
|
|
113
|
+
declare const _default: (app: App, options?: InstallOptions) => void;
|
|
114
|
+
|
|
115
|
+
export { _default as default, icons };
|
package/dist/async.js
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
defaultPrefix
|
|
3
|
+
} from "./chunk-MOHILOKE.js";
|
|
1
4
|
import "./chunk-MLKGABMK.js";
|
|
2
5
|
|
|
3
6
|
// packages/async.ts
|
|
@@ -37,43 +40,51 @@ var IconSubForm = defineAsyncComponent(async () => await import("./vue/sub-form.
|
|
|
37
40
|
var IconTab = defineAsyncComponent(async () => await import("./vue/tab.js"));
|
|
38
41
|
var IconUp = defineAsyncComponent(async () => await import("./vue/up.js"));
|
|
39
42
|
var IconViews = defineAsyncComponent(async () => await import("./vue/views.js"));
|
|
40
|
-
var
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
"
|
|
75
|
-
"
|
|
43
|
+
var icons = {
|
|
44
|
+
"Bar": IconBar,
|
|
45
|
+
"Below": IconBelow,
|
|
46
|
+
"Bicycle": IconBicycle,
|
|
47
|
+
"Bottom": IconBottom,
|
|
48
|
+
"BottomLeft": IconBottomLeft,
|
|
49
|
+
"BottomRight": IconBottomRight,
|
|
50
|
+
"CascaderField": IconCascaderField,
|
|
51
|
+
"Catalogue": IconCatalogue,
|
|
52
|
+
"Clear": IconClear,
|
|
53
|
+
"Close": IconClose,
|
|
54
|
+
"Crl": IconCrl,
|
|
55
|
+
"Delete": IconDelete,
|
|
56
|
+
"Document": IconDocument,
|
|
57
|
+
"Down": IconDown,
|
|
58
|
+
"Download": IconDownload,
|
|
59
|
+
"Edit": IconEdit,
|
|
60
|
+
"Enter": IconEnter,
|
|
61
|
+
"Frame": IconFrame,
|
|
62
|
+
"Grid": IconGrid,
|
|
63
|
+
"Hidd": IconHidd,
|
|
64
|
+
"Left": IconLeft,
|
|
65
|
+
"Lock": IconLock,
|
|
66
|
+
"Mute": IconMute,
|
|
67
|
+
"NodeTree": IconNodeTree,
|
|
68
|
+
"Pause": IconPause,
|
|
69
|
+
"Play": IconPlay,
|
|
70
|
+
"Plus": IconPlus,
|
|
71
|
+
"Retreat": IconRetreat,
|
|
72
|
+
"Right": IconRight,
|
|
73
|
+
"Sound": IconSound,
|
|
74
|
+
"Star": IconStar,
|
|
75
|
+
"SubForm": IconSubForm,
|
|
76
|
+
"Tab": IconTab,
|
|
77
|
+
"Up": IconUp,
|
|
78
|
+
"Views": IconViews
|
|
79
|
+
};
|
|
80
|
+
var async_default = (app, options = {}) => {
|
|
81
|
+
var _a;
|
|
82
|
+
const { prefix = defaultPrefix } = options || {};
|
|
83
|
+
for (const [key, component] of Object.entries(icons)) {
|
|
84
|
+
(_a = app.component) == null ? void 0 : _a.call(app, prefix + key, component);
|
|
85
|
+
}
|
|
76
86
|
};
|
|
77
87
|
export {
|
|
78
|
-
async_default as default
|
|
88
|
+
async_default as default,
|
|
89
|
+
icons
|
|
79
90
|
};
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
humpToLine
|
|
3
|
+
} from "./chunk-E3I6537N.js";
|
|
1
4
|
import {
|
|
2
5
|
defaultPrefix
|
|
3
6
|
} from "./chunk-MOHILOKE.js";
|
|
@@ -7,30 +10,6 @@ import {
|
|
|
7
10
|
|
|
8
11
|
// packages/icon/index.ts
|
|
9
12
|
import { h, defineComponent, resolveComponent, computed } from "vue";
|
|
10
|
-
|
|
11
|
-
// node_modules/.pnpm/@fangzhongya+utils@0.0.73/node_modules/@fangzhongya/utils/dist/chunk-J7CICTHH.js
|
|
12
|
-
function humpToLine(name2) {
|
|
13
|
-
const reg3 = /(([A-Z])([^A-Z]*))/g;
|
|
14
|
-
let result;
|
|
15
|
-
const arr = [];
|
|
16
|
-
let i = 0;
|
|
17
|
-
while ((result = reg3.exec(name2)) !== null) {
|
|
18
|
-
if (i == 0 && result.index != 0) {
|
|
19
|
-
arr.push(name2.substring(0, result.index));
|
|
20
|
-
}
|
|
21
|
-
i++;
|
|
22
|
-
arr.push(result[1].toLowerCase());
|
|
23
|
-
}
|
|
24
|
-
if (arr.length == 0) {
|
|
25
|
-
return name2;
|
|
26
|
-
} else {
|
|
27
|
-
let a = arr.join("-");
|
|
28
|
-
a = a.replace(/[-]{2,}/g, "-");
|
|
29
|
-
return a;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
// packages/icon/index.ts
|
|
34
13
|
var reg = /<svg([^>]*)>((.|\n|\r|\t)*)<\/svg>/g;
|
|
35
14
|
var reg1 = /<path([^>]*)>((.|\n|\r|\t)*)<\/path>/g;
|
|
36
15
|
var reg2 = /<g([^>]*)>((.|\n|\r|\t)*)<\/g>/g;
|
|
@@ -148,6 +127,7 @@ var component = defineComponent({
|
|
|
148
127
|
}
|
|
149
128
|
});
|
|
150
129
|
const setPrefix = (name2) => {
|
|
130
|
+
name2 = humpToLine(name2);
|
|
151
131
|
if (name2.startsWith(props.prefix)) {
|
|
152
132
|
return name2;
|
|
153
133
|
} else {
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
// node_modules/.pnpm/@fangzhongya+utils@0.0.73/node_modules/@fangzhongya/utils/dist/chunk-J7CICTHH.js
|
|
2
|
+
function humpToLine(name) {
|
|
3
|
+
const reg = /(([A-Z])([^A-Z]*))/g;
|
|
4
|
+
let result;
|
|
5
|
+
const arr = [];
|
|
6
|
+
let i = 0;
|
|
7
|
+
while ((result = reg.exec(name)) !== null) {
|
|
8
|
+
if (i == 0 && result.index != 0) {
|
|
9
|
+
arr.push(name.substring(0, result.index));
|
|
10
|
+
}
|
|
11
|
+
i++;
|
|
12
|
+
arr.push(result[1].toLowerCase());
|
|
13
|
+
}
|
|
14
|
+
if (arr.length == 0) {
|
|
15
|
+
return name;
|
|
16
|
+
} else {
|
|
17
|
+
let a = arr.join("-");
|
|
18
|
+
a = a.replace(/[-]{2,}/g, "-");
|
|
19
|
+
return a;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export {
|
|
24
|
+
humpToLine
|
|
25
|
+
};
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
+
var _chunkYW7CKAOGcjs = require('./chunk-YW7CKAOG.cjs');
|
|
4
|
+
|
|
5
|
+
|
|
3
6
|
var _chunkIIVF4KK5cjs = require('./chunk-IIVF4KK5.cjs');
|
|
4
7
|
|
|
5
8
|
|
|
@@ -7,34 +10,10 @@ var _chunkXHXN5JNRcjs = require('./chunk-XHXN5JNR.cjs');
|
|
|
7
10
|
|
|
8
11
|
// packages/icon/index.ts
|
|
9
12
|
var _vue = require('vue');
|
|
10
|
-
|
|
11
|
-
// node_modules/.pnpm/@fangzhongya+utils@0.0.73/node_modules/@fangzhongya/utils/dist/chunk-J7CICTHH.js
|
|
12
|
-
function humpToLine(name2) {
|
|
13
|
-
const reg3 = /(([A-Z])([^A-Z]*))/g;
|
|
14
|
-
let result;
|
|
15
|
-
const arr = [];
|
|
16
|
-
let i = 0;
|
|
17
|
-
while ((result = reg3.exec(name2)) !== null) {
|
|
18
|
-
if (i == 0 && result.index != 0) {
|
|
19
|
-
arr.push(name2.substring(0, result.index));
|
|
20
|
-
}
|
|
21
|
-
i++;
|
|
22
|
-
arr.push(result[1].toLowerCase());
|
|
23
|
-
}
|
|
24
|
-
if (arr.length == 0) {
|
|
25
|
-
return name2;
|
|
26
|
-
} else {
|
|
27
|
-
let a = arr.join("-");
|
|
28
|
-
a = a.replace(/[-]{2,}/g, "-");
|
|
29
|
-
return a;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
// packages/icon/index.ts
|
|
34
13
|
var reg = /<svg([^>]*)>((.|\n|\r|\t)*)<\/svg>/g;
|
|
35
14
|
var reg1 = /<path([^>]*)>((.|\n|\r|\t)*)<\/path>/g;
|
|
36
15
|
var reg2 = /<g([^>]*)>((.|\n|\r|\t)*)<\/g>/g;
|
|
37
|
-
var prefix = humpToLine(_chunkIIVF4KK5cjs.defaultPrefix) + "-";
|
|
16
|
+
var prefix = _chunkYW7CKAOGcjs.humpToLine.call(void 0, _chunkIIVF4KK5cjs.defaultPrefix) + "-";
|
|
38
17
|
var className = "icon";
|
|
39
18
|
var directory = "/svg";
|
|
40
19
|
var isImg = (name2) => {
|
|
@@ -148,6 +127,7 @@ var component = _vue.defineComponent.call(void 0, {
|
|
|
148
127
|
}
|
|
149
128
|
});
|
|
150
129
|
const setPrefix = (name2) => {
|
|
130
|
+
name2 = _chunkYW7CKAOGcjs.humpToLine.call(void 0, name2);
|
|
151
131
|
if (name2.startsWith(props.prefix)) {
|
|
152
132
|
return name2;
|
|
153
133
|
} else {
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});// node_modules/.pnpm/@fangzhongya+utils@0.0.73/node_modules/@fangzhongya/utils/dist/chunk-J7CICTHH.js
|
|
2
|
+
function humpToLine(name) {
|
|
3
|
+
const reg = /(([A-Z])([^A-Z]*))/g;
|
|
4
|
+
let result;
|
|
5
|
+
const arr = [];
|
|
6
|
+
let i = 0;
|
|
7
|
+
while ((result = reg.exec(name)) !== null) {
|
|
8
|
+
if (i == 0 && result.index != 0) {
|
|
9
|
+
arr.push(name.substring(0, result.index));
|
|
10
|
+
}
|
|
11
|
+
i++;
|
|
12
|
+
arr.push(result[1].toLowerCase());
|
|
13
|
+
}
|
|
14
|
+
if (arr.length == 0) {
|
|
15
|
+
return name;
|
|
16
|
+
} else {
|
|
17
|
+
let a = arr.join("-");
|
|
18
|
+
a = a.replace(/[-]{2,}/g, "-");
|
|
19
|
+
return a;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
exports.humpToLine = humpToLine;
|
package/dist/icon/index.cjs
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('../chunk-
|
|
4
|
+
var _chunkU4CNUH3Acjs = require('../chunk-U4CNUH3A.cjs');
|
|
5
|
+
require('../chunk-YW7CKAOG.cjs');
|
|
6
6
|
require('../chunk-3376ZTRC.cjs');
|
|
7
|
+
require('../chunk-IIVF4KK5.cjs');
|
|
7
8
|
require('../chunk-XHXN5JNR.cjs');
|
|
8
9
|
require('../chunk-75ZPJI57.cjs');
|
|
9
10
|
|
|
10
11
|
|
|
11
12
|
|
|
12
|
-
exports.Icon =
|
|
13
|
+
exports.Icon = _chunkU4CNUH3Acjs.Icon; exports.default = _chunkU4CNUH3Acjs.icon_default;
|
package/dist/icon/index.js
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Icon,
|
|
3
3
|
icon_default
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-66OLJGLO.js";
|
|
5
|
+
import "../chunk-E3I6537N.js";
|
|
6
6
|
import "../chunk-BYXBJQAS.js";
|
|
7
|
+
import "../chunk-MOHILOKE.js";
|
|
7
8
|
import "../chunk-DSTHXXIG.js";
|
|
8
9
|
import "../chunk-MLKGABMK.js";
|
|
9
10
|
export {
|
package/dist/iconify.cjs
CHANGED
package/dist/iconify.js
CHANGED
package/dist/index.json
CHANGED
package/dist/json.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkP6MHG3T4cjs = require('./chunk-P6MHG3T4.cjs');
|
|
4
4
|
require('./chunk-75ZPJI57.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
exports.default =
|
|
7
|
+
exports.default = _chunkP6MHG3T4cjs.json_default;
|
package/dist/json.d.cts
CHANGED
package/dist/json.d.ts
CHANGED
package/dist/json.js
CHANGED
package/dist/name.cjs
CHANGED
|
@@ -1,19 +1,25 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
var _chunkBXEIRESQcjs = require('./chunk-BXEIRESQ.cjs');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
var _chunkYW7CKAOGcjs = require('./chunk-YW7CKAOG.cjs');
|
|
4
7
|
require('./chunk-3376ZTRC.cjs');
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
var _chunkIIVF4KK5cjs = require('./chunk-IIVF4KK5.cjs');
|
|
5
11
|
require('./chunk-75ZPJI57.cjs');
|
|
6
12
|
|
|
7
13
|
// packages/name.ts
|
|
8
14
|
var names = ["bar", "below", "bicycle", "bottom", "bottom-left", "bottom-right", "cascader-field", "catalogue", "clear", "close", "crl", "delete", "document", "down", "download", "edit", "enter", "frame", "grid", "hidd", "left", "lock", "mute", "node-tree", "pause", "play", "plus", "retreat", "right", "sound", "star", "sub-form", "tab", "up", "views"];
|
|
9
|
-
var suffix = "icon";
|
|
10
15
|
function getName(name) {
|
|
11
|
-
const
|
|
16
|
+
const upper = _chunkBXEIRESQcjs.lineToLargeHump.call(void 0, name);
|
|
17
|
+
const iconupper = _chunkIIVF4KK5cjs.defaultPrefix + upper;
|
|
12
18
|
return {
|
|
13
19
|
name,
|
|
14
|
-
icon:
|
|
15
|
-
upper
|
|
16
|
-
iconupper
|
|
20
|
+
icon: _chunkYW7CKAOGcjs.humpToLine.call(void 0, iconupper),
|
|
21
|
+
upper,
|
|
22
|
+
iconupper
|
|
17
23
|
};
|
|
18
24
|
}
|
|
19
25
|
function getNames() {
|
package/dist/name.js
CHANGED
|
@@ -1,19 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lineToLargeHump
|
|
3
3
|
} from "./chunk-J4G2OFZ4.js";
|
|
4
|
+
import {
|
|
5
|
+
humpToLine
|
|
6
|
+
} from "./chunk-E3I6537N.js";
|
|
4
7
|
import "./chunk-BYXBJQAS.js";
|
|
8
|
+
import {
|
|
9
|
+
defaultPrefix
|
|
10
|
+
} from "./chunk-MOHILOKE.js";
|
|
5
11
|
import "./chunk-MLKGABMK.js";
|
|
6
12
|
|
|
7
13
|
// packages/name.ts
|
|
8
14
|
var names = ["bar", "below", "bicycle", "bottom", "bottom-left", "bottom-right", "cascader-field", "catalogue", "clear", "close", "crl", "delete", "document", "down", "download", "edit", "enter", "frame", "grid", "hidd", "left", "lock", "mute", "node-tree", "pause", "play", "plus", "retreat", "right", "sound", "star", "sub-form", "tab", "up", "views"];
|
|
9
|
-
var suffix = "icon";
|
|
10
15
|
function getName(name) {
|
|
11
|
-
const
|
|
16
|
+
const upper = lineToLargeHump(name);
|
|
17
|
+
const iconupper = defaultPrefix + upper;
|
|
12
18
|
return {
|
|
13
19
|
name,
|
|
14
|
-
icon:
|
|
15
|
-
upper
|
|
16
|
-
iconupper
|
|
20
|
+
icon: humpToLine(iconupper),
|
|
21
|
+
upper,
|
|
22
|
+
iconupper
|
|
17
23
|
};
|
|
18
24
|
}
|
|
19
25
|
function getNames() {
|
package/dist/picker/index.cjs
CHANGED
|
@@ -3,9 +3,10 @@
|
|
|
3
3
|
var _chunkEEMF44IHcjs = require('../chunk-EEMF44IH.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
7
|
-
require('../chunk-
|
|
6
|
+
var _chunkU4CNUH3Acjs = require('../chunk-U4CNUH3A.cjs');
|
|
7
|
+
require('../chunk-YW7CKAOG.cjs');
|
|
8
8
|
require('../chunk-3376ZTRC.cjs');
|
|
9
|
+
require('../chunk-IIVF4KK5.cjs');
|
|
9
10
|
|
|
10
11
|
|
|
11
12
|
var _chunkXHXN5JNRcjs = require('../chunk-XHXN5JNR.cjs');
|
|
@@ -80,7 +81,7 @@ var component = _vue.defineComponent.call(void 0, {
|
|
|
80
81
|
return props.icon;
|
|
81
82
|
}
|
|
82
83
|
} else {
|
|
83
|
-
return
|
|
84
|
+
return _chunkU4CNUH3Acjs.icon_default;
|
|
84
85
|
}
|
|
85
86
|
});
|
|
86
87
|
const dialogVue = _vue.computed.call(void 0, () => {
|
package/dist/picker/index.d.cts
CHANGED
|
@@ -115,8 +115,8 @@ declare const Picker: SFCWithInstall<vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
115
115
|
}>> & Readonly<{
|
|
116
116
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
117
117
|
}>, {
|
|
118
|
-
size: string | number;
|
|
119
118
|
clearable: boolean;
|
|
119
|
+
size: string | number;
|
|
120
120
|
icons: string[];
|
|
121
121
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>>;
|
|
122
122
|
|
package/dist/picker/index.d.ts
CHANGED
|
@@ -115,8 +115,8 @@ declare const Picker: SFCWithInstall<vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
115
115
|
}>> & Readonly<{
|
|
116
116
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
117
117
|
}>, {
|
|
118
|
-
size: string | number;
|
|
119
118
|
clearable: boolean;
|
|
119
|
+
size: string | number;
|
|
120
120
|
icons: string[];
|
|
121
121
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>>;
|
|
122
122
|
|
package/dist/picker/index.js
CHANGED
|
@@ -3,9 +3,10 @@ import {
|
|
|
3
3
|
} from "../chunk-I5KQLZMG.js";
|
|
4
4
|
import {
|
|
5
5
|
icon_default
|
|
6
|
-
} from "../chunk-
|
|
7
|
-
import "../chunk-
|
|
6
|
+
} from "../chunk-66OLJGLO.js";
|
|
7
|
+
import "../chunk-E3I6537N.js";
|
|
8
8
|
import "../chunk-BYXBJQAS.js";
|
|
9
|
+
import "../chunk-MOHILOKE.js";
|
|
9
10
|
import {
|
|
10
11
|
withInstall
|
|
11
12
|
} from "../chunk-DSTHXXIG.js";
|
package/dist/vite/index.cjs
CHANGED
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
var _chunkYJVFENGGcjs = require('../chunk-YJVFENGG.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkP6MHG3T4cjs = require('../chunk-P6MHG3T4.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
var _chunkBXEIRESQcjs = require('../chunk-BXEIRESQ.cjs');
|
|
10
|
-
require('../chunk-IIVF4KK5.cjs');
|
|
11
10
|
require('../chunk-3376ZTRC.cjs');
|
|
11
|
+
require('../chunk-IIVF4KK5.cjs');
|
|
12
12
|
require('../chunk-75ZPJI57.cjs');
|
|
13
13
|
|
|
14
14
|
// node_modules/.pnpm/@fangzhongya+create@0.2.50/node_modules/@fangzhongya/create/dist/chunk-ER44O4IJ.js
|
|
@@ -986,7 +986,8 @@ function simpleFangIcon(options = {}) {
|
|
|
986
986
|
const svg = `
|
|
987
987
|
import { defineComponent, h, computed} from 'vue'
|
|
988
988
|
import FangIcon from '@fangzhongya/icons/icon/index'
|
|
989
|
-
import
|
|
989
|
+
import { icons } from '@fangzhongya/icons/async'
|
|
990
|
+
import { lineToLargeHump } from '@fangzhongya/utils/name/lineToLargeHump';
|
|
990
991
|
const component = defineComponent({
|
|
991
992
|
name: '${name}',
|
|
992
993
|
props: {
|
|
@@ -1010,7 +1011,7 @@ function simpleFangIcon(options = {}) {
|
|
|
1010
1011
|
const name = props.name;
|
|
1011
1012
|
if (typeof name === 'string' && (props.type === '${runType}' ||
|
|
1012
1013
|
(!props.type && props.default === '${runType}'))) {
|
|
1013
|
-
const icon =
|
|
1014
|
+
const icon = icons[lineToLargeHump(name)];
|
|
1014
1015
|
if(icon) return icon;
|
|
1015
1016
|
}
|
|
1016
1017
|
return name;
|
|
@@ -1222,7 +1223,7 @@ function findComponents(code, name) {
|
|
|
1222
1223
|
return components;
|
|
1223
1224
|
}
|
|
1224
1225
|
function getText(iconName, match) {
|
|
1225
|
-
const svg = _chunkYJVFENGGcjs.getIconifySVG.call(void 0,
|
|
1226
|
+
const svg = _chunkYJVFENGGcjs.getIconifySVG.call(void 0, _chunkP6MHG3T4cjs.json_default, iconName);
|
|
1226
1227
|
const s = match.fullMatch.replace(`name="${iconName}"`, "").replace(`</${match.componentName}>`, "");
|
|
1227
1228
|
const text = `${s}${svg}</${match.componentName}>`;
|
|
1228
1229
|
return { text, imptext: "" };
|
|
@@ -1248,7 +1249,7 @@ function replaceComponent(match, type, dynamic, customReplacement) {
|
|
|
1248
1249
|
if (customReplacement) {
|
|
1249
1250
|
return customReplacement(iconName, attributes);
|
|
1250
1251
|
}
|
|
1251
|
-
let svgContent =
|
|
1252
|
+
let svgContent = _chunkP6MHG3T4cjs.json_default.icons[iconName];
|
|
1252
1253
|
if (!svgContent) {
|
|
1253
1254
|
return { text: match.fullMatch, imptext: "" };
|
|
1254
1255
|
}
|
package/dist/vite/index.js
CHANGED
|
@@ -3,12 +3,12 @@ import {
|
|
|
3
3
|
} from "../chunk-YGLV5TML.js";
|
|
4
4
|
import {
|
|
5
5
|
json_default
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-V4DSLPBG.js";
|
|
7
7
|
import {
|
|
8
8
|
lineToLargeHump
|
|
9
9
|
} from "../chunk-J4G2OFZ4.js";
|
|
10
|
-
import "../chunk-MOHILOKE.js";
|
|
11
10
|
import "../chunk-BYXBJQAS.js";
|
|
11
|
+
import "../chunk-MOHILOKE.js";
|
|
12
12
|
import "../chunk-MLKGABMK.js";
|
|
13
13
|
|
|
14
14
|
// node_modules/.pnpm/@fangzhongya+create@0.2.50/node_modules/@fangzhongya/create/dist/chunk-ER44O4IJ.js
|
|
@@ -986,7 +986,8 @@ function simpleFangIcon(options = {}) {
|
|
|
986
986
|
const svg = `
|
|
987
987
|
import { defineComponent, h, computed} from 'vue'
|
|
988
988
|
import FangIcon from '@fangzhongya/icons/icon/index'
|
|
989
|
-
import
|
|
989
|
+
import { icons } from '@fangzhongya/icons/async'
|
|
990
|
+
import { lineToLargeHump } from '@fangzhongya/utils/name/lineToLargeHump';
|
|
990
991
|
const component = defineComponent({
|
|
991
992
|
name: '${name}',
|
|
992
993
|
props: {
|
|
@@ -1010,7 +1011,7 @@ function simpleFangIcon(options = {}) {
|
|
|
1010
1011
|
const name = props.name;
|
|
1011
1012
|
if (typeof name === 'string' && (props.type === '${runType}' ||
|
|
1012
1013
|
(!props.type && props.default === '${runType}'))) {
|
|
1013
|
-
const icon =
|
|
1014
|
+
const icon = icons[lineToLargeHump(name)];
|
|
1014
1015
|
if(icon) return icon;
|
|
1015
1016
|
}
|
|
1016
1017
|
return name;
|