@fangzhongya/icons 0.0.30 → 0.0.32
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/{chunk-AVF7TFLU.cjs → chunk-6HCIF5VP.cjs} +1 -1
- package/dist/chunk-BXEIRESQ.cjs +17 -0
- package/dist/{chunk-T6CBSQ63.js → chunk-I2Y4XRQV.js} +1 -1
- package/dist/chunk-J4G2OFZ4.js +17 -0
- package/dist/{chunk-7QX4NRMQ.js → chunk-YGLV5TML.js} +3 -17
- package/dist/{chunk-6CU3NPDG.cjs → chunk-YJVFENGG.cjs} +7 -21
- package/dist/icon/index.cjs +1 -1
- package/dist/icon/index.js +1 -1
- package/dist/iconify.cjs +4 -3
- package/dist/iconify.js +3 -2
- package/dist/index.cjs +9 -9
- package/dist/index.js +9 -9
- 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 +26 -0
- package/dist/name.d.cts +15 -0
- package/dist/name.d.ts +15 -0
- package/dist/name.js +26 -0
- package/dist/picker/index.cjs +1 -1
- package/dist/picker/index.js +1 -1
- package/dist/vite/index.cjs +11 -11
- package/dist/vite/index.js +10 -10
- package/dist/vue/index.cjs +8 -8
- package/dist/vue/index.js +9 -9
- package/package.json +3 -2
- package/dist/{chunk-3YRVWHZK.js → chunk-2ZRGTB6O.js} +8 -8
- package/dist/{chunk-BWFROGEZ.cjs → chunk-52HGQO7A.cjs} +7 -7
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});// node_modules/.pnpm/@fangzhongya+utils@0.0.73/node_modules/@fangzhongya/utils/dist/chunk-EWJJKQIO.js
|
|
2
|
+
function firstUpper(str) {
|
|
3
|
+
return str.slice(0, 1).toUpperCase() + str.slice(1);
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
// node_modules/.pnpm/@fangzhongya+utils@0.0.73/node_modules/@fangzhongya/utils/dist/chunk-XCDKXZFR.js
|
|
7
|
+
function lineToLargeHump(name) {
|
|
8
|
+
let arr = name.split("-");
|
|
9
|
+
arr = arr.map((vs) => {
|
|
10
|
+
return firstUpper(vs);
|
|
11
|
+
});
|
|
12
|
+
return arr.join("");
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
exports.lineToLargeHump = lineToLargeHump;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// node_modules/.pnpm/@fangzhongya+utils@0.0.73/node_modules/@fangzhongya/utils/dist/chunk-EWJJKQIO.js
|
|
2
|
+
function firstUpper(str) {
|
|
3
|
+
return str.slice(0, 1).toUpperCase() + str.slice(1);
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
// node_modules/.pnpm/@fangzhongya+utils@0.0.73/node_modules/@fangzhongya/utils/dist/chunk-XCDKXZFR.js
|
|
7
|
+
function lineToLargeHump(name) {
|
|
8
|
+
let arr = name.split("-");
|
|
9
|
+
arr = arr.map((vs) => {
|
|
10
|
+
return firstUpper(vs);
|
|
11
|
+
});
|
|
12
|
+
return arr.join("");
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export {
|
|
16
|
+
lineToLargeHump
|
|
17
|
+
};
|
|
@@ -1,25 +1,12 @@
|
|
|
1
|
+
import {
|
|
2
|
+
lineToLargeHump
|
|
3
|
+
} from "./chunk-J4G2OFZ4.js";
|
|
1
4
|
import {
|
|
2
5
|
defaultPrefix
|
|
3
6
|
} from "./chunk-MOHILOKE.js";
|
|
4
7
|
|
|
5
8
|
// packages/iconify.ts
|
|
6
9
|
import { defineComponent, h } from "vue";
|
|
7
|
-
|
|
8
|
-
// node_modules/.pnpm/@fangzhongya+utils@0.0.73/node_modules/@fangzhongya/utils/dist/chunk-EWJJKQIO.js
|
|
9
|
-
function firstUpper(str) {
|
|
10
|
-
return str.slice(0, 1).toUpperCase() + str.slice(1);
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
// node_modules/.pnpm/@fangzhongya+utils@0.0.73/node_modules/@fangzhongya/utils/dist/chunk-XCDKXZFR.js
|
|
14
|
-
function lineToLargeHump(name) {
|
|
15
|
-
let arr = name.split("-");
|
|
16
|
-
arr = arr.map((vs) => {
|
|
17
|
-
return firstUpper(vs);
|
|
18
|
-
});
|
|
19
|
-
return arr.join("");
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
// packages/iconify.ts
|
|
23
10
|
var xmlns = "http://www.w3.org/2000/svg";
|
|
24
11
|
function getViewBox(obj) {
|
|
25
12
|
const viewBox = [
|
|
@@ -117,7 +104,6 @@ function getIconifySVG(obj, name, str = "") {
|
|
|
117
104
|
}
|
|
118
105
|
|
|
119
106
|
export {
|
|
120
|
-
lineToLargeHump,
|
|
121
107
|
getViewBox,
|
|
122
108
|
iconify,
|
|
123
109
|
iconifySVG,
|
|
@@ -1,25 +1,12 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkBXEIRESQcjs = require('./chunk-BXEIRESQ.cjs');
|
|
4
4
|
|
|
5
|
-
// packages/iconify.ts
|
|
6
|
-
var _vue = require('vue');
|
|
7
|
-
|
|
8
|
-
// node_modules/.pnpm/@fangzhongya+utils@0.0.73/node_modules/@fangzhongya/utils/dist/chunk-EWJJKQIO.js
|
|
9
|
-
function firstUpper(str) {
|
|
10
|
-
return str.slice(0, 1).toUpperCase() + str.slice(1);
|
|
11
|
-
}
|
|
12
5
|
|
|
13
|
-
|
|
14
|
-
function lineToLargeHump(name) {
|
|
15
|
-
let arr = name.split("-");
|
|
16
|
-
arr = arr.map((vs) => {
|
|
17
|
-
return firstUpper(vs);
|
|
18
|
-
});
|
|
19
|
-
return arr.join("");
|
|
20
|
-
}
|
|
6
|
+
var _chunkIIVF4KK5cjs = require('./chunk-IIVF4KK5.cjs');
|
|
21
7
|
|
|
22
8
|
// packages/iconify.ts
|
|
9
|
+
var _vue = require('vue');
|
|
23
10
|
var xmlns = "http://www.w3.org/2000/svg";
|
|
24
11
|
function getViewBox(obj) {
|
|
25
12
|
const viewBox = [
|
|
@@ -34,7 +21,7 @@ function createSVG(obj) {
|
|
|
34
21
|
const viewBox = getViewBox(obj);
|
|
35
22
|
const name = "icon-" + obj.name;
|
|
36
23
|
return _vue.defineComponent.call(void 0, {
|
|
37
|
-
name: lineToLargeHump(name),
|
|
24
|
+
name: _chunkBXEIRESQcjs.lineToLargeHump.call(void 0, name),
|
|
38
25
|
props: {},
|
|
39
26
|
render() {
|
|
40
27
|
return _vue.h.call(void 0, "svg", {
|
|
@@ -60,7 +47,7 @@ var iconify = (app, ify, { prefix = _chunkIIVF4KK5cjs.defaultPrefix } = {}) => {
|
|
|
60
47
|
const icons = ify.icons;
|
|
61
48
|
for (const key of Object.keys(icons)) {
|
|
62
49
|
app.component(
|
|
63
|
-
prefix + lineToLargeHump(key),
|
|
50
|
+
prefix + _chunkBXEIRESQcjs.lineToLargeHump.call(void 0, key),
|
|
64
51
|
createSVG({
|
|
65
52
|
...obj,
|
|
66
53
|
name: key,
|
|
@@ -72,7 +59,7 @@ var iconify = (app, ify, { prefix = _chunkIIVF4KK5cjs.defaultPrefix } = {}) => {
|
|
|
72
59
|
for (const key of Object.keys(aliases)) {
|
|
73
60
|
const a = aliases[key];
|
|
74
61
|
app.component(
|
|
75
|
-
prefix + lineToLargeHump(key),
|
|
62
|
+
prefix + _chunkBXEIRESQcjs.lineToLargeHump.call(void 0, key),
|
|
76
63
|
createSVG({
|
|
77
64
|
...obj,
|
|
78
65
|
name: key,
|
|
@@ -121,5 +108,4 @@ function getIconifySVG(obj, name, str = "") {
|
|
|
121
108
|
|
|
122
109
|
|
|
123
110
|
|
|
124
|
-
|
|
125
|
-
exports.lineToLargeHump = lineToLargeHump; exports.getViewBox = getViewBox; exports.iconify = iconify; exports.iconifySVG = iconifySVG; exports.getIconifySVG = getIconifySVG;
|
|
111
|
+
exports.getViewBox = getViewBox; exports.iconify = iconify; exports.iconifySVG = iconifySVG; exports.getIconifySVG = getIconifySVG;
|
package/dist/icon/index.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
var _chunkPUWPNLDYcjs = require('../chunk-PUWPNLDY.cjs');
|
|
4
|
-
require('../chunk-3376ZTRC.cjs');
|
|
5
4
|
require('../chunk-IIVF4KK5.cjs');
|
|
5
|
+
require('../chunk-3376ZTRC.cjs');
|
|
6
6
|
require('../chunk-75ZPJI57.cjs');
|
|
7
7
|
|
|
8
8
|
|
package/dist/icon/index.js
CHANGED
package/dist/iconify.cjs
CHANGED
|
@@ -3,13 +3,14 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
7
|
-
require('./chunk-
|
|
6
|
+
var _chunkYJVFENGGcjs = require('./chunk-YJVFENGG.cjs');
|
|
7
|
+
require('./chunk-BXEIRESQ.cjs');
|
|
8
8
|
require('./chunk-IIVF4KK5.cjs');
|
|
9
|
+
require('./chunk-3376ZTRC.cjs');
|
|
9
10
|
require('./chunk-75ZPJI57.cjs');
|
|
10
11
|
|
|
11
12
|
|
|
12
13
|
|
|
13
14
|
|
|
14
15
|
|
|
15
|
-
exports.getIconifySVG =
|
|
16
|
+
exports.getIconifySVG = _chunkYJVFENGGcjs.getIconifySVG; exports.getViewBox = _chunkYJVFENGGcjs.getViewBox; exports.iconify = _chunkYJVFENGGcjs.iconify; exports.iconifySVG = _chunkYJVFENGGcjs.iconifySVG;
|
package/dist/iconify.js
CHANGED
|
@@ -3,9 +3,10 @@ import {
|
|
|
3
3
|
getViewBox,
|
|
4
4
|
iconify,
|
|
5
5
|
iconifySVG
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-YGLV5TML.js";
|
|
7
|
+
import "./chunk-J4G2OFZ4.js";
|
|
8
8
|
import "./chunk-MOHILOKE.js";
|
|
9
|
+
import "./chunk-BYXBJQAS.js";
|
|
9
10
|
import "./chunk-MLKGABMK.js";
|
|
10
11
|
export {
|
|
11
12
|
getIconifySVG,
|
package/dist/index.cjs
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunk52HGQO7Acjs = require('./chunk-52HGQO7A.cjs');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
var _chunkI3A3AEAAcjs = require('./chunk-I3A3AEAA.cjs');
|
|
4
7
|
|
|
5
8
|
|
|
6
9
|
var _chunkWOAJW7OBcjs = require('./chunk-WOAJW7OB.cjs');
|
|
@@ -24,6 +27,9 @@ var _chunk53VWOQDNcjs = require('./chunk-53VWOQDN.cjs');
|
|
|
24
27
|
var _chunkESPY25SVcjs = require('./chunk-ESPY25SV.cjs');
|
|
25
28
|
|
|
26
29
|
|
|
30
|
+
var _chunkDOKVIYQPcjs = require('./chunk-DOKVIYQP.cjs');
|
|
31
|
+
|
|
32
|
+
|
|
27
33
|
var _chunkIPHYXYU4cjs = require('./chunk-IPHYXYU4.cjs');
|
|
28
34
|
|
|
29
35
|
|
|
@@ -42,7 +48,7 @@ var _chunkAQDYWFIEcjs = require('./chunk-AQDYWFIE.cjs');
|
|
|
42
48
|
var _chunkIBTK77R3cjs = require('./chunk-IBTK77R3.cjs');
|
|
43
49
|
|
|
44
50
|
|
|
45
|
-
var
|
|
51
|
+
var _chunk2TQQMTHZcjs = require('./chunk-2TQQMTHZ.cjs');
|
|
46
52
|
|
|
47
53
|
|
|
48
54
|
var _chunkKDGKC2ADcjs = require('./chunk-KDGKC2AD.cjs');
|
|
@@ -66,9 +72,6 @@ var _chunkRHPG3BCQcjs = require('./chunk-RHPG3BCQ.cjs');
|
|
|
66
72
|
var _chunkL7KCN6DVcjs = require('./chunk-L7KCN6DV.cjs');
|
|
67
73
|
|
|
68
74
|
|
|
69
|
-
var _chunkDOKVIYQPcjs = require('./chunk-DOKVIYQP.cjs');
|
|
70
|
-
|
|
71
|
-
|
|
72
75
|
var _chunkH4PA2G3Ncjs = require('./chunk-H4PA2G3N.cjs');
|
|
73
76
|
|
|
74
77
|
|
|
@@ -87,9 +90,6 @@ var _chunkS7LOBBW2cjs = require('./chunk-S7LOBBW2.cjs');
|
|
|
87
90
|
var _chunk76TLDMR4cjs = require('./chunk-76TLDMR4.cjs');
|
|
88
91
|
|
|
89
92
|
|
|
90
|
-
var _chunk2TQQMTHZcjs = require('./chunk-2TQQMTHZ.cjs');
|
|
91
|
-
|
|
92
|
-
|
|
93
93
|
var _chunkIIVF4KK5cjs = require('./chunk-IIVF4KK5.cjs');
|
|
94
94
|
require('./chunk-75ZPJI57.cjs');
|
|
95
95
|
|
|
@@ -97,7 +97,7 @@ require('./chunk-75ZPJI57.cjs');
|
|
|
97
97
|
var index_default = (app, options = {}) => {
|
|
98
98
|
var _a;
|
|
99
99
|
const { prefix = _chunkIIVF4KK5cjs.defaultPrefix } = options || {};
|
|
100
|
-
for (const [key, component] of Object.entries(
|
|
100
|
+
for (const [key, component] of Object.entries(_chunk52HGQO7Acjs.vue_exports)) {
|
|
101
101
|
(_a = app.component) == null ? void 0 : _a.call(app, prefix + key, component);
|
|
102
102
|
}
|
|
103
103
|
};
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
vue_exports
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-2ZRGTB6O.js";
|
|
4
|
+
import {
|
|
5
|
+
play_default
|
|
6
|
+
} from "./chunk-T7E6HY2F.js";
|
|
4
7
|
import {
|
|
5
8
|
plus_default
|
|
6
9
|
} from "./chunk-7IBXEWY5.js";
|
|
@@ -22,6 +25,9 @@ import {
|
|
|
22
25
|
import {
|
|
23
26
|
views_default
|
|
24
27
|
} from "./chunk-3AMDUJDV.js";
|
|
28
|
+
import {
|
|
29
|
+
download_default
|
|
30
|
+
} from "./chunk-5PXZNWE4.js";
|
|
25
31
|
import {
|
|
26
32
|
edit_default
|
|
27
33
|
} from "./chunk-BEQYH4ZH.js";
|
|
@@ -41,8 +47,8 @@ import {
|
|
|
41
47
|
pause_default
|
|
42
48
|
} from "./chunk-2D4VSAJ2.js";
|
|
43
49
|
import {
|
|
44
|
-
|
|
45
|
-
} from "./chunk-
|
|
50
|
+
cascader_field_default
|
|
51
|
+
} from "./chunk-VQ54VGY3.js";
|
|
46
52
|
import {
|
|
47
53
|
catalogue_default
|
|
48
54
|
} from "./chunk-BMEJLYYZ.js";
|
|
@@ -64,9 +70,6 @@ import {
|
|
|
64
70
|
import {
|
|
65
71
|
down_default
|
|
66
72
|
} from "./chunk-LBBA76TA.js";
|
|
67
|
-
import {
|
|
68
|
-
download_default
|
|
69
|
-
} from "./chunk-5PXZNWE4.js";
|
|
70
73
|
import {
|
|
71
74
|
bar_default
|
|
72
75
|
} from "./chunk-NEHQ24EP.js";
|
|
@@ -85,9 +88,6 @@ import {
|
|
|
85
88
|
import {
|
|
86
89
|
bottom_default
|
|
87
90
|
} from "./chunk-JJXGNEQB.js";
|
|
88
|
-
import {
|
|
89
|
-
cascader_field_default
|
|
90
|
-
} from "./chunk-VQ54VGY3.js";
|
|
91
91
|
import {
|
|
92
92
|
defaultPrefix
|
|
93
93
|
} from "./chunk-MOHILOKE.js";
|
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 _chunk6HCIF5VPcjs = require('./chunk-6HCIF5VP.cjs');
|
|
4
4
|
require('./chunk-75ZPJI57.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
exports.default =
|
|
7
|
+
exports.default = _chunk6HCIF5VPcjs.json_default;
|
package/dist/json.d.cts
CHANGED
package/dist/json.d.ts
CHANGED
package/dist/json.js
CHANGED
package/dist/name.cjs
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
var _chunkBXEIRESQcjs = require('./chunk-BXEIRESQ.cjs');
|
|
4
|
+
require('./chunk-3376ZTRC.cjs');
|
|
5
|
+
require('./chunk-75ZPJI57.cjs');
|
|
6
|
+
|
|
7
|
+
// packages/name.ts
|
|
8
|
+
var names = ["bar", "below", "bicycle", "bottom", "bottom-left", "bottom-right", "cascader-field", "catalogue", "clear", "close", "crl", "delete", "document", "down", "download", "edit", "enter", "frame", "left", "mute", "pause", "play", "plus", "retreat", "right", "sound", "star", "up", "views"];
|
|
9
|
+
var suffix = "icon";
|
|
10
|
+
function getName(name) {
|
|
11
|
+
const i = suffix + "-" + name;
|
|
12
|
+
return {
|
|
13
|
+
name,
|
|
14
|
+
icon: i,
|
|
15
|
+
upper: _chunkBXEIRESQcjs.lineToLargeHump.call(void 0, name),
|
|
16
|
+
iconupper: _chunkBXEIRESQcjs.lineToLargeHump.call(void 0, i)
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
function getNames() {
|
|
20
|
+
return names.map(getName);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
exports.getName = getName; exports.getNames = getNames; exports.names = names;
|
package/dist/name.d.cts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare const names: string[];
|
|
2
|
+
declare function getName(name: string): {
|
|
3
|
+
name: string;
|
|
4
|
+
icon: string;
|
|
5
|
+
upper: string;
|
|
6
|
+
iconupper: string;
|
|
7
|
+
};
|
|
8
|
+
declare function getNames(): {
|
|
9
|
+
name: string;
|
|
10
|
+
icon: string;
|
|
11
|
+
upper: string;
|
|
12
|
+
iconupper: string;
|
|
13
|
+
}[];
|
|
14
|
+
|
|
15
|
+
export { getName, getNames, names };
|
package/dist/name.d.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare const names: string[];
|
|
2
|
+
declare function getName(name: string): {
|
|
3
|
+
name: string;
|
|
4
|
+
icon: string;
|
|
5
|
+
upper: string;
|
|
6
|
+
iconupper: string;
|
|
7
|
+
};
|
|
8
|
+
declare function getNames(): {
|
|
9
|
+
name: string;
|
|
10
|
+
icon: string;
|
|
11
|
+
upper: string;
|
|
12
|
+
iconupper: string;
|
|
13
|
+
}[];
|
|
14
|
+
|
|
15
|
+
export { getName, getNames, names };
|
package/dist/name.js
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import {
|
|
2
|
+
lineToLargeHump
|
|
3
|
+
} from "./chunk-J4G2OFZ4.js";
|
|
4
|
+
import "./chunk-BYXBJQAS.js";
|
|
5
|
+
import "./chunk-MLKGABMK.js";
|
|
6
|
+
|
|
7
|
+
// packages/name.ts
|
|
8
|
+
var names = ["bar", "below", "bicycle", "bottom", "bottom-left", "bottom-right", "cascader-field", "catalogue", "clear", "close", "crl", "delete", "document", "down", "download", "edit", "enter", "frame", "left", "mute", "pause", "play", "plus", "retreat", "right", "sound", "star", "up", "views"];
|
|
9
|
+
var suffix = "icon";
|
|
10
|
+
function getName(name) {
|
|
11
|
+
const i = suffix + "-" + name;
|
|
12
|
+
return {
|
|
13
|
+
name,
|
|
14
|
+
icon: i,
|
|
15
|
+
upper: lineToLargeHump(name),
|
|
16
|
+
iconupper: lineToLargeHump(i)
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
function getNames() {
|
|
20
|
+
return names.map(getName);
|
|
21
|
+
}
|
|
22
|
+
export {
|
|
23
|
+
getName,
|
|
24
|
+
getNames,
|
|
25
|
+
names
|
|
26
|
+
};
|
package/dist/picker/index.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
var _chunkPUWPNLDYcjs = require('../chunk-PUWPNLDY.cjs');
|
|
4
|
-
require('../chunk-3376ZTRC.cjs');
|
|
5
4
|
require('../chunk-IIVF4KK5.cjs');
|
|
5
|
+
require('../chunk-3376ZTRC.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
var _chunkEEMF44IHcjs = require('../chunk-EEMF44IH.cjs');
|
package/dist/picker/index.js
CHANGED
package/dist/vite/index.cjs
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
+
var _chunkYJVFENGGcjs = require('../chunk-YJVFENGG.cjs');
|
|
3
4
|
|
|
4
|
-
var _chunk6CU3NPDGcjs = require('../chunk-6CU3NPDG.cjs');
|
|
5
5
|
|
|
6
|
+
var _chunk6HCIF5VPcjs = require('../chunk-6HCIF5VP.cjs');
|
|
6
7
|
|
|
7
|
-
|
|
8
|
-
require('../chunk-
|
|
8
|
+
|
|
9
|
+
var _chunkBXEIRESQcjs = require('../chunk-BXEIRESQ.cjs');
|
|
9
10
|
require('../chunk-IIVF4KK5.cjs');
|
|
11
|
+
require('../chunk-3376ZTRC.cjs');
|
|
10
12
|
require('../chunk-75ZPJI57.cjs');
|
|
11
13
|
|
|
12
14
|
// node_modules/.pnpm/@fangzhongya+create@0.2.50/node_modules/@fangzhongya/create/dist/chunk-ER44O4IJ.js
|
|
@@ -984,7 +986,7 @@ function simpleFangIcon(options = {}) {
|
|
|
984
986
|
const svg = `
|
|
985
987
|
import { defineComponent, h, computed} from 'vue'
|
|
986
988
|
import FangIcon from '@fangzhongya/icons/icon/index'
|
|
987
|
-
import
|
|
989
|
+
import FangVueIcons from '@fangzhongya/icons/async'
|
|
988
990
|
const component = defineComponent({
|
|
989
991
|
name: '${name}',
|
|
990
992
|
props: {
|
|
@@ -1008,10 +1010,8 @@ function simpleFangIcon(options = {}) {
|
|
|
1008
1010
|
const name = props.name;
|
|
1009
1011
|
if (typeof name === 'string' && (props.type === '${runType}' ||
|
|
1010
1012
|
(!props.type && props.default === '${runType}'))) {
|
|
1011
|
-
const icon =
|
|
1012
|
-
if(icon)
|
|
1013
|
-
return icon;
|
|
1014
|
-
}
|
|
1013
|
+
const icon = FangVueIcons[name];
|
|
1014
|
+
if(icon) return icon;
|
|
1015
1015
|
}
|
|
1016
1016
|
return name;
|
|
1017
1017
|
});
|
|
@@ -1222,13 +1222,13 @@ function findComponents(code, name) {
|
|
|
1222
1222
|
return components;
|
|
1223
1223
|
}
|
|
1224
1224
|
function getText(iconName, match) {
|
|
1225
|
-
const svg =
|
|
1225
|
+
const svg = _chunkYJVFENGGcjs.getIconifySVG.call(void 0, _chunk6HCIF5VPcjs.json_default, iconName, 'v-bind="scope"');
|
|
1226
1226
|
const s = match.fullMatch.replace(`name="${iconName}"`, "").replace(`</${match.componentName}>`, "");
|
|
1227
1227
|
const text = `${s}<template #default="scope">${svg}</template></${match.componentName}>`;
|
|
1228
1228
|
return { text, imptext: "" };
|
|
1229
1229
|
}
|
|
1230
1230
|
function getImportName(iconName) {
|
|
1231
|
-
return
|
|
1231
|
+
return _chunkBXEIRESQcjs.lineToLargeHump.call(void 0, "fang-icon-" + iconName);
|
|
1232
1232
|
}
|
|
1233
1233
|
function getVue(iconName, match) {
|
|
1234
1234
|
const text = match.fullMatch.replace(
|
|
@@ -1248,7 +1248,7 @@ function replaceComponent(match, type, dynamic, customReplacement) {
|
|
|
1248
1248
|
if (customReplacement) {
|
|
1249
1249
|
return customReplacement(iconName, attributes);
|
|
1250
1250
|
}
|
|
1251
|
-
let svgContent =
|
|
1251
|
+
let svgContent = _chunk6HCIF5VPcjs.json_default.icons[iconName];
|
|
1252
1252
|
if (!svgContent) {
|
|
1253
1253
|
return { text: match.fullMatch, imptext: "" };
|
|
1254
1254
|
}
|
package/dist/vite/index.js
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
|
-
getIconifySVG
|
|
3
|
-
|
|
4
|
-
} from "../chunk-7QX4NRMQ.js";
|
|
2
|
+
getIconifySVG
|
|
3
|
+
} from "../chunk-YGLV5TML.js";
|
|
5
4
|
import {
|
|
6
5
|
json_default
|
|
7
|
-
} from "../chunk-
|
|
8
|
-
import
|
|
6
|
+
} from "../chunk-I2Y4XRQV.js";
|
|
7
|
+
import {
|
|
8
|
+
lineToLargeHump
|
|
9
|
+
} from "../chunk-J4G2OFZ4.js";
|
|
9
10
|
import "../chunk-MOHILOKE.js";
|
|
11
|
+
import "../chunk-BYXBJQAS.js";
|
|
10
12
|
import "../chunk-MLKGABMK.js";
|
|
11
13
|
|
|
12
14
|
// node_modules/.pnpm/@fangzhongya+create@0.2.50/node_modules/@fangzhongya/create/dist/chunk-ER44O4IJ.js
|
|
@@ -984,7 +986,7 @@ function simpleFangIcon(options = {}) {
|
|
|
984
986
|
const svg = `
|
|
985
987
|
import { defineComponent, h, computed} from 'vue'
|
|
986
988
|
import FangIcon from '@fangzhongya/icons/icon/index'
|
|
987
|
-
import
|
|
989
|
+
import FangVueIcons from '@fangzhongya/icons/async'
|
|
988
990
|
const component = defineComponent({
|
|
989
991
|
name: '${name}',
|
|
990
992
|
props: {
|
|
@@ -1008,10 +1010,8 @@ function simpleFangIcon(options = {}) {
|
|
|
1008
1010
|
const name = props.name;
|
|
1009
1011
|
if (typeof name === 'string' && (props.type === '${runType}' ||
|
|
1010
1012
|
(!props.type && props.default === '${runType}'))) {
|
|
1011
|
-
const icon =
|
|
1012
|
-
if(icon)
|
|
1013
|
-
return icon;
|
|
1014
|
-
}
|
|
1013
|
+
const icon = FangVueIcons[name];
|
|
1014
|
+
if(icon) return icon;
|
|
1015
1015
|
}
|
|
1016
1016
|
return name;
|
|
1017
1017
|
});
|
package/dist/vue/index.cjs
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-52HGQO7A.cjs');
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
var _chunkI3A3AEAAcjs = require('../chunk-I3A3AEAA.cjs');
|
|
2
5
|
|
|
3
6
|
|
|
4
7
|
var _chunkWOAJW7OBcjs = require('../chunk-WOAJW7OB.cjs');
|
|
@@ -22,6 +25,9 @@ var _chunk53VWOQDNcjs = require('../chunk-53VWOQDN.cjs');
|
|
|
22
25
|
var _chunkESPY25SVcjs = require('../chunk-ESPY25SV.cjs');
|
|
23
26
|
|
|
24
27
|
|
|
28
|
+
var _chunkDOKVIYQPcjs = require('../chunk-DOKVIYQP.cjs');
|
|
29
|
+
|
|
30
|
+
|
|
25
31
|
var _chunkIPHYXYU4cjs = require('../chunk-IPHYXYU4.cjs');
|
|
26
32
|
|
|
27
33
|
|
|
@@ -40,7 +46,7 @@ var _chunkAQDYWFIEcjs = require('../chunk-AQDYWFIE.cjs');
|
|
|
40
46
|
var _chunkIBTK77R3cjs = require('../chunk-IBTK77R3.cjs');
|
|
41
47
|
|
|
42
48
|
|
|
43
|
-
var
|
|
49
|
+
var _chunk2TQQMTHZcjs = require('../chunk-2TQQMTHZ.cjs');
|
|
44
50
|
|
|
45
51
|
|
|
46
52
|
var _chunkKDGKC2ADcjs = require('../chunk-KDGKC2AD.cjs');
|
|
@@ -64,9 +70,6 @@ var _chunkRHPG3BCQcjs = require('../chunk-RHPG3BCQ.cjs');
|
|
|
64
70
|
var _chunkL7KCN6DVcjs = require('../chunk-L7KCN6DV.cjs');
|
|
65
71
|
|
|
66
72
|
|
|
67
|
-
var _chunkDOKVIYQPcjs = require('../chunk-DOKVIYQP.cjs');
|
|
68
|
-
|
|
69
|
-
|
|
70
73
|
var _chunkH4PA2G3Ncjs = require('../chunk-H4PA2G3N.cjs');
|
|
71
74
|
|
|
72
75
|
|
|
@@ -83,9 +86,6 @@ var _chunkS7LOBBW2cjs = require('../chunk-S7LOBBW2.cjs');
|
|
|
83
86
|
|
|
84
87
|
|
|
85
88
|
var _chunk76TLDMR4cjs = require('../chunk-76TLDMR4.cjs');
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
var _chunk2TQQMTHZcjs = require('../chunk-2TQQMTHZ.cjs');
|
|
89
89
|
require('../chunk-75ZPJI57.cjs');
|
|
90
90
|
|
|
91
91
|
|
package/dist/vue/index.js
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
import "../chunk-
|
|
1
|
+
import "../chunk-2ZRGTB6O.js";
|
|
2
|
+
import {
|
|
3
|
+
play_default
|
|
4
|
+
} from "../chunk-T7E6HY2F.js";
|
|
2
5
|
import {
|
|
3
6
|
plus_default
|
|
4
7
|
} from "../chunk-7IBXEWY5.js";
|
|
@@ -20,6 +23,9 @@ import {
|
|
|
20
23
|
import {
|
|
21
24
|
views_default
|
|
22
25
|
} from "../chunk-3AMDUJDV.js";
|
|
26
|
+
import {
|
|
27
|
+
download_default
|
|
28
|
+
} from "../chunk-5PXZNWE4.js";
|
|
23
29
|
import {
|
|
24
30
|
edit_default
|
|
25
31
|
} from "../chunk-BEQYH4ZH.js";
|
|
@@ -39,8 +45,8 @@ import {
|
|
|
39
45
|
pause_default
|
|
40
46
|
} from "../chunk-2D4VSAJ2.js";
|
|
41
47
|
import {
|
|
42
|
-
|
|
43
|
-
} from "../chunk-
|
|
48
|
+
cascader_field_default
|
|
49
|
+
} from "../chunk-VQ54VGY3.js";
|
|
44
50
|
import {
|
|
45
51
|
catalogue_default
|
|
46
52
|
} from "../chunk-BMEJLYYZ.js";
|
|
@@ -62,9 +68,6 @@ import {
|
|
|
62
68
|
import {
|
|
63
69
|
down_default
|
|
64
70
|
} from "../chunk-LBBA76TA.js";
|
|
65
|
-
import {
|
|
66
|
-
download_default
|
|
67
|
-
} from "../chunk-5PXZNWE4.js";
|
|
68
71
|
import {
|
|
69
72
|
bar_default
|
|
70
73
|
} from "../chunk-NEHQ24EP.js";
|
|
@@ -83,9 +86,6 @@ import {
|
|
|
83
86
|
import {
|
|
84
87
|
bottom_default
|
|
85
88
|
} from "../chunk-JJXGNEQB.js";
|
|
86
|
-
import {
|
|
87
|
-
cascader_field_default
|
|
88
|
-
} from "../chunk-VQ54VGY3.js";
|
|
89
89
|
import "../chunk-MLKGABMK.js";
|
|
90
90
|
export {
|
|
91
91
|
bar_default as Bar,
|
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.
|
|
5
|
+
"version": "0.0.32",
|
|
6
6
|
"description ": "个人图标库",
|
|
7
7
|
"author": "fangzhongya ",
|
|
8
8
|
"license": "MIT",
|
|
@@ -73,8 +73,9 @@
|
|
|
73
73
|
"dev:f": "node --loader ts-node/esm node/fang.ts",
|
|
74
74
|
"dev:v": "node --loader ts-node/esm node/version.ts",
|
|
75
75
|
"dev:c": "node --loader ts-node/esm node/compons.ts",
|
|
76
|
+
"dev:n": "node --loader ts-node/esm node/name.ts",
|
|
76
77
|
"pub": "pnpm publish --access public --no-git-checks",
|
|
77
|
-
"build:all": "pnpm dev:i &
|
|
78
|
+
"build:all": "pnpm dev:i & pnpm dev:c & pnpm dev:n & pnpm build & pnpm dev:b",
|
|
78
79
|
"all": "pnpm build:all & pnpm dev:v & pnpm pub",
|
|
79
80
|
"preview": "vite preview"
|
|
80
81
|
}
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
play_default
|
|
3
|
+
} from "./chunk-T7E6HY2F.js";
|
|
1
4
|
import {
|
|
2
5
|
plus_default
|
|
3
6
|
} from "./chunk-7IBXEWY5.js";
|
|
@@ -19,6 +22,9 @@ import {
|
|
|
19
22
|
import {
|
|
20
23
|
views_default
|
|
21
24
|
} from "./chunk-3AMDUJDV.js";
|
|
25
|
+
import {
|
|
26
|
+
download_default
|
|
27
|
+
} from "./chunk-5PXZNWE4.js";
|
|
22
28
|
import {
|
|
23
29
|
edit_default
|
|
24
30
|
} from "./chunk-BEQYH4ZH.js";
|
|
@@ -38,8 +44,8 @@ import {
|
|
|
38
44
|
pause_default
|
|
39
45
|
} from "./chunk-2D4VSAJ2.js";
|
|
40
46
|
import {
|
|
41
|
-
|
|
42
|
-
} from "./chunk-
|
|
47
|
+
cascader_field_default
|
|
48
|
+
} from "./chunk-VQ54VGY3.js";
|
|
43
49
|
import {
|
|
44
50
|
catalogue_default
|
|
45
51
|
} from "./chunk-BMEJLYYZ.js";
|
|
@@ -61,9 +67,6 @@ import {
|
|
|
61
67
|
import {
|
|
62
68
|
down_default
|
|
63
69
|
} from "./chunk-LBBA76TA.js";
|
|
64
|
-
import {
|
|
65
|
-
download_default
|
|
66
|
-
} from "./chunk-5PXZNWE4.js";
|
|
67
70
|
import {
|
|
68
71
|
bar_default
|
|
69
72
|
} from "./chunk-NEHQ24EP.js";
|
|
@@ -82,9 +85,6 @@ import {
|
|
|
82
85
|
import {
|
|
83
86
|
bottom_default
|
|
84
87
|
} from "./chunk-JJXGNEQB.js";
|
|
85
|
-
import {
|
|
86
|
-
cascader_field_default
|
|
87
|
-
} from "./chunk-VQ54VGY3.js";
|
|
88
88
|
import {
|
|
89
89
|
__export
|
|
90
90
|
} from "./chunk-MLKGABMK.js";
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
+
var _chunkI3A3AEAAcjs = require('./chunk-I3A3AEAA.cjs');
|
|
4
|
+
|
|
5
|
+
|
|
3
6
|
var _chunkWOAJW7OBcjs = require('./chunk-WOAJW7OB.cjs');
|
|
4
7
|
|
|
5
8
|
|
|
@@ -21,6 +24,9 @@ var _chunk53VWOQDNcjs = require('./chunk-53VWOQDN.cjs');
|
|
|
21
24
|
var _chunkESPY25SVcjs = require('./chunk-ESPY25SV.cjs');
|
|
22
25
|
|
|
23
26
|
|
|
27
|
+
var _chunkDOKVIYQPcjs = require('./chunk-DOKVIYQP.cjs');
|
|
28
|
+
|
|
29
|
+
|
|
24
30
|
var _chunkIPHYXYU4cjs = require('./chunk-IPHYXYU4.cjs');
|
|
25
31
|
|
|
26
32
|
|
|
@@ -39,7 +45,7 @@ var _chunkAQDYWFIEcjs = require('./chunk-AQDYWFIE.cjs');
|
|
|
39
45
|
var _chunkIBTK77R3cjs = require('./chunk-IBTK77R3.cjs');
|
|
40
46
|
|
|
41
47
|
|
|
42
|
-
var
|
|
48
|
+
var _chunk2TQQMTHZcjs = require('./chunk-2TQQMTHZ.cjs');
|
|
43
49
|
|
|
44
50
|
|
|
45
51
|
var _chunkKDGKC2ADcjs = require('./chunk-KDGKC2AD.cjs');
|
|
@@ -63,9 +69,6 @@ var _chunkRHPG3BCQcjs = require('./chunk-RHPG3BCQ.cjs');
|
|
|
63
69
|
var _chunkL7KCN6DVcjs = require('./chunk-L7KCN6DV.cjs');
|
|
64
70
|
|
|
65
71
|
|
|
66
|
-
var _chunkDOKVIYQPcjs = require('./chunk-DOKVIYQP.cjs');
|
|
67
|
-
|
|
68
|
-
|
|
69
72
|
var _chunkH4PA2G3Ncjs = require('./chunk-H4PA2G3N.cjs');
|
|
70
73
|
|
|
71
74
|
|
|
@@ -84,9 +87,6 @@ var _chunkS7LOBBW2cjs = require('./chunk-S7LOBBW2.cjs');
|
|
|
84
87
|
var _chunk76TLDMR4cjs = require('./chunk-76TLDMR4.cjs');
|
|
85
88
|
|
|
86
89
|
|
|
87
|
-
var _chunk2TQQMTHZcjs = require('./chunk-2TQQMTHZ.cjs');
|
|
88
|
-
|
|
89
|
-
|
|
90
90
|
var _chunk75ZPJI57cjs = require('./chunk-75ZPJI57.cjs');
|
|
91
91
|
|
|
92
92
|
// packages/vue/index.ts
|