@fangzhongya/icons 0.0.50 → 0.0.52
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 +56 -105
- package/dist/async.js +50 -104
- package/dist/components.cjs +42 -60
- package/dist/components.js +42 -61
- package/dist/config.cjs +5 -7
- package/dist/config.js +4 -7
- package/dist/humpToLine-Czhat99x.js +25 -0
- package/dist/humpToLine-gLzuzWOm.cjs +30 -0
- package/dist/icon/index.cjs +229 -13
- package/dist/icon/index.js +222 -12
- package/dist/iconify.cjs +102 -16
- package/dist/iconify.js +97 -15
- package/dist/index.cjs +100 -194
- package/dist/index.js +52 -194
- package/dist/index.json +1 -1
- package/dist/json-BpszFHNs.js +62 -0
- package/dist/json-C96CKb6M.cjs +67 -0
- package/dist/json.cjs +2 -7
- package/dist/json.js +2 -7
- package/dist/lineToLargeHump-BajF216g.cjs +30 -0
- package/dist/lineToLargeHump-CHL4-tNE.js +25 -0
- package/dist/name.cjs +68 -15
- package/dist/name.js +65 -15
- package/dist/picker/dialog.cjs +42 -7
- package/dist/picker/dialog.js +42 -7
- package/dist/picker/index.cjs +200 -324
- package/dist/picker/index.js +194 -325
- package/dist/util.cjs +13 -7
- package/dist/util.js +12 -7
- package/dist/vite/index.cjs +848 -1143
- package/dist/vite/index.js +848 -1144
- package/dist/vue/bar.cjs +16 -7
- package/dist/vue/bar.js +16 -7
- package/dist/vue/below.cjs +16 -7
- package/dist/vue/below.js +16 -7
- package/dist/vue/bicycle.cjs +16 -7
- package/dist/vue/bicycle.js +16 -7
- package/dist/vue/bottom-left.cjs +16 -7
- package/dist/vue/bottom-left.js +16 -7
- package/dist/vue/bottom-right.cjs +16 -7
- package/dist/vue/bottom-right.js +16 -7
- package/dist/vue/bottom.cjs +16 -7
- package/dist/vue/bottom.js +16 -7
- package/dist/vue/cascader-field.cjs +16 -7
- package/dist/vue/cascader-field.js +16 -7
- package/dist/vue/catalogue.cjs +16 -7
- package/dist/vue/catalogue.js +16 -7
- package/dist/vue/clear.cjs +16 -7
- package/dist/vue/clear.js +16 -7
- package/dist/vue/close.cjs +16 -7
- package/dist/vue/close.js +16 -7
- package/dist/vue/crl.cjs +16 -7
- package/dist/vue/crl.js +16 -7
- package/dist/vue/delete.cjs +16 -7
- package/dist/vue/delete.js +16 -7
- package/dist/vue/document.cjs +16 -7
- package/dist/vue/document.js +16 -7
- package/dist/vue/down.cjs +16 -7
- package/dist/vue/down.js +16 -7
- package/dist/vue/download.cjs +16 -7
- package/dist/vue/download.js +16 -7
- package/dist/vue/edit.cjs +16 -7
- package/dist/vue/edit.js +16 -7
- package/dist/vue/enter.cjs +16 -7
- package/dist/vue/enter.js +16 -7
- package/dist/vue/folder.cjs +16 -7
- package/dist/vue/folder.js +16 -7
- package/dist/vue/frame.cjs +16 -7
- package/dist/vue/frame.js +16 -7
- package/dist/vue/grid.cjs +16 -7
- package/dist/vue/grid.js +16 -7
- package/dist/vue/hidd.cjs +16 -7
- package/dist/vue/hidd.js +16 -7
- package/dist/vue/home.cjs +16 -7
- package/dist/vue/home.js +16 -7
- package/dist/vue/index.cjs +90 -180
- package/dist/vue/index.js +46 -180
- package/dist/vue/left.cjs +16 -7
- package/dist/vue/left.js +16 -7
- package/dist/vue/lock.cjs +16 -7
- package/dist/vue/lock.js +16 -7
- package/dist/vue/login.cjs +16 -7
- package/dist/vue/login.js +16 -7
- package/dist/vue/logink.cjs +16 -7
- package/dist/vue/logink.js +16 -7
- package/dist/vue/more.cjs +16 -7
- package/dist/vue/more.js +16 -7
- package/dist/vue/mr.cjs +16 -7
- package/dist/vue/mr.js +16 -7
- package/dist/vue/mute.cjs +16 -7
- package/dist/vue/mute.js +16 -7
- package/dist/vue/node-tree.cjs +16 -7
- package/dist/vue/node-tree.js +16 -7
- package/dist/vue/page.cjs +16 -7
- package/dist/vue/page.js +16 -7
- package/dist/vue/pause.cjs +16 -7
- package/dist/vue/pause.js +16 -7
- package/dist/vue/play.cjs +16 -7
- package/dist/vue/play.js +16 -7
- package/dist/vue/plus.cjs +16 -7
- package/dist/vue/plus.js +16 -7
- package/dist/vue/qx.cjs +16 -7
- package/dist/vue/qx.js +16 -7
- package/dist/vue/retreat.cjs +16 -7
- package/dist/vue/retreat.js +16 -7
- package/dist/vue/right.cjs +16 -7
- package/dist/vue/right.js +16 -7
- package/dist/vue/set.cjs +16 -7
- package/dist/vue/set.js +16 -7
- package/dist/vue/sound.cjs +16 -7
- package/dist/vue/sound.js +16 -7
- package/dist/vue/star.cjs +16 -7
- package/dist/vue/star.js +16 -7
- package/dist/vue/sub-form.cjs +16 -7
- package/dist/vue/sub-form.js +16 -7
- package/dist/vue/tab.cjs +16 -7
- package/dist/vue/tab.js +16 -7
- package/dist/vue/up.cjs +16 -7
- package/dist/vue/up.js +16 -7
- package/dist/vue/views.cjs +16 -7
- package/dist/vue/views.js +16 -7
- package/dist/vue-CR8K2hMZ.js +105 -0
- package/dist/vue-XcWpjtqA.cjs +110 -0
- package/package.json +32 -30
- package/dist/async.d.cts +0 -142
- package/dist/async.d.ts +0 -142
- package/dist/chunk-2D4VSAJ2.js +0 -13
- package/dist/chunk-2IK6ZEWL.js +0 -13
- package/dist/chunk-2TQQMTHZ.cjs +0 -13
- package/dist/chunk-32F77IBU.cjs +0 -13
- package/dist/chunk-3376ZTRC.cjs +0 -1
- package/dist/chunk-37O763HE.cjs +0 -152
- package/dist/chunk-37UZO7UL.cjs +0 -31
- package/dist/chunk-3AMDUJDV.js +0 -13
- package/dist/chunk-3AMS6SAI.js +0 -13
- package/dist/chunk-3TRFZFYF.js +0 -13
- package/dist/chunk-3YCLWMP7.cjs +0 -13
- package/dist/chunk-53VWOQDN.cjs +0 -13
- package/dist/chunk-5MQTT7S7.cjs +0 -188
- package/dist/chunk-5PXZNWE4.js +0 -13
- package/dist/chunk-5QUGHNG3.cjs +0 -13
- package/dist/chunk-5XDPKNBI.js +0 -13
- package/dist/chunk-66OLJGLO.js +0 -302
- package/dist/chunk-6BDDZBAQ.js +0 -13
- package/dist/chunk-75ZPJI57.cjs +0 -9
- package/dist/chunk-76TLDMR4.cjs +0 -13
- package/dist/chunk-7IBXEWY5.js +0 -13
- package/dist/chunk-7URGGQWA.js +0 -13
- package/dist/chunk-7ZWO2XCS.cjs +0 -13
- package/dist/chunk-AQDYWFIE.cjs +0 -13
- package/dist/chunk-AUEQIRLO.cjs +0 -13
- package/dist/chunk-BEQYH4ZH.js +0 -13
- package/dist/chunk-BMEJLYYZ.js +0 -13
- package/dist/chunk-BXEIRESQ.cjs +0 -17
- package/dist/chunk-BYXBJQAS.js +0 -0
- package/dist/chunk-D4YPZVLI.js +0 -13
- package/dist/chunk-DMNL42QX.cjs +0 -13
- package/dist/chunk-DOKVIYQP.cjs +0 -13
- package/dist/chunk-DSTHXXIG.js +0 -14
- package/dist/chunk-E3I6537N.js +0 -25
- package/dist/chunk-EEMF44IH.cjs +0 -58
- package/dist/chunk-EODYYDJS.js +0 -13
- package/dist/chunk-ERY3BNIM.js +0 -13
- package/dist/chunk-ESPY25SV.cjs +0 -13
- package/dist/chunk-EZJQO3RD.cjs +0 -13
- package/dist/chunk-FEFTZ7TT.cjs +0 -13
- package/dist/chunk-FZTWDRFN.js +0 -13
- package/dist/chunk-H4PA2G3N.cjs +0 -13
- package/dist/chunk-H7QPKI66.cjs +0 -13
- package/dist/chunk-HLATHB47.js +0 -13
- package/dist/chunk-I3A3AEAA.cjs +0 -13
- package/dist/chunk-I3U5MBNO.cjs +0 -13
- package/dist/chunk-I5KQLZMG.js +0 -58
- package/dist/chunk-IBTK77R3.cjs +0 -13
- package/dist/chunk-IEFCX4Q4.cjs +0 -13
- package/dist/chunk-IG3RZSAO.js +0 -152
- package/dist/chunk-IIVF4KK5.cjs +0 -6
- package/dist/chunk-ILE746VV.js +0 -13
- package/dist/chunk-IPHYXYU4.cjs +0 -13
- package/dist/chunk-J4G2OFZ4.js +0 -17
- package/dist/chunk-JJXGNEQB.js +0 -13
- package/dist/chunk-JT3V6FP7.js +0 -13
- package/dist/chunk-K5OMXRSR.js +0 -13
- package/dist/chunk-KDGKC2AD.cjs +0 -13
- package/dist/chunk-KZJIE3RV.cjs +0 -13
- package/dist/chunk-L7KCN6DV.cjs +0 -13
- package/dist/chunk-LBBA76TA.js +0 -13
- package/dist/chunk-LI54LRUK.cjs +0 -13
- package/dist/chunk-LLVO2B4L.js +0 -13
- package/dist/chunk-LZ5V6B6A.cjs +0 -13
- package/dist/chunk-MI2HCYC4.js +0 -13
- package/dist/chunk-MLKGABMK.js +0 -9
- package/dist/chunk-MOHILOKE.js +0 -6
- package/dist/chunk-NEHQ24EP.js +0 -13
- package/dist/chunk-NESEKAGU.cjs +0 -13
- package/dist/chunk-NS5Q6ZYS.js +0 -13
- package/dist/chunk-OIX6AEOH.js +0 -13
- package/dist/chunk-OPZJWWQC.cjs +0 -13
- package/dist/chunk-PM3NSGHO.js +0 -13
- package/dist/chunk-Q7LKAKNO.js +0 -13
- package/dist/chunk-QTMLVSMQ.js +0 -188
- package/dist/chunk-RENPHZI7.cjs +0 -13
- package/dist/chunk-RHPG3BCQ.cjs +0 -13
- package/dist/chunk-S2QMZA7X.js +0 -13
- package/dist/chunk-S7LOBBW2.cjs +0 -13
- package/dist/chunk-T7E6HY2F.js +0 -13
- package/dist/chunk-TCAPRSWP.cjs +0 -13
- package/dist/chunk-TCP7WBEZ.cjs +0 -13
- package/dist/chunk-TT42MDI2.cjs +0 -13
- package/dist/chunk-TZWDBH6E.js +0 -13
- package/dist/chunk-U4CNUH3A.cjs +0 -302
- package/dist/chunk-UMRBYGCW.cjs +0 -13
- package/dist/chunk-UTRCC2RP.js +0 -13
- package/dist/chunk-UVMBRQNS.cjs +0 -13
- package/dist/chunk-UZWXBTQL.js +0 -31
- package/dist/chunk-VDTZORF6.cjs +0 -13
- package/dist/chunk-VO6GNJ4O.js +0 -13
- package/dist/chunk-VQ54VGY3.js +0 -13
- package/dist/chunk-VRWNZZCS.js +0 -13
- package/dist/chunk-W3IE4UWT.cjs +0 -13
- package/dist/chunk-WE4BXFRS.js +0 -13
- package/dist/chunk-WLDTS6EO.js +0 -13
- package/dist/chunk-WOAJW7OB.cjs +0 -13
- package/dist/chunk-WZX5LXRH.cjs +0 -13
- package/dist/chunk-XHXN5JNR.cjs +0 -14
- package/dist/chunk-XUPJ3XJL.js +0 -13
- package/dist/chunk-XYIWDMXZ.cjs +0 -13
- package/dist/chunk-Y2W7MENX.cjs +0 -13
- package/dist/chunk-YBGWOI5B.cjs +0 -13
- package/dist/chunk-YGLV5TML.js +0 -111
- package/dist/chunk-YJLFP6SE.js +0 -13
- package/dist/chunk-YJVFENGG.cjs +0 -111
- package/dist/chunk-YSDDIRK3.js +0 -13
- package/dist/chunk-YUYOWQ5M.js +0 -13
- package/dist/chunk-YW7CKAOG.cjs +0 -25
- package/dist/chunk-YYG5XGJC.js +0 -13
- package/dist/chunk-Z7LHYEQW.js +0 -13
- package/dist/chunk-ZWJ4O3II.cjs +0 -13
- package/dist/components.d.cts +0 -16
- package/dist/components.d.ts +0 -16
- package/dist/config.d.cts +0 -6
- package/dist/config.d.ts +0 -6
- package/dist/icon/index.d.cts +0 -136
- package/dist/icon/index.d.ts +0 -136
- package/dist/iconify.d.cts +0 -53
- package/dist/iconify.d.ts +0 -53
- package/dist/index.d.cts +0 -50
- package/dist/index.d.ts +0 -50
- package/dist/json.d.cts +0 -155
- package/dist/json.d.ts +0 -155
- package/dist/name.d.cts +0 -15
- package/dist/name.d.ts +0 -15
- package/dist/picker/dialog.d.cts +0 -19
- package/dist/picker/dialog.d.ts +0 -19
- package/dist/picker/index.d.cts +0 -123
- package/dist/picker/index.d.ts +0 -123
- package/dist/util.d.cts +0 -6
- package/dist/util.d.ts +0 -6
- package/dist/vite/index.d.cts +0 -56
- package/dist/vite/index.d.ts +0 -56
- package/dist/vue/bar.d.cts +0 -7
- package/dist/vue/bar.d.ts +0 -7
- package/dist/vue/below.d.cts +0 -7
- package/dist/vue/below.d.ts +0 -7
- package/dist/vue/bicycle.d.cts +0 -7
- package/dist/vue/bicycle.d.ts +0 -7
- package/dist/vue/bottom-left.d.cts +0 -7
- package/dist/vue/bottom-left.d.ts +0 -7
- package/dist/vue/bottom-right.d.cts +0 -7
- package/dist/vue/bottom-right.d.ts +0 -7
- package/dist/vue/bottom.d.cts +0 -7
- package/dist/vue/bottom.d.ts +0 -7
- package/dist/vue/cascader-field.d.cts +0 -7
- package/dist/vue/cascader-field.d.ts +0 -7
- package/dist/vue/catalogue.d.cts +0 -7
- package/dist/vue/catalogue.d.ts +0 -7
- package/dist/vue/clear.d.cts +0 -7
- package/dist/vue/clear.d.ts +0 -7
- package/dist/vue/close.d.cts +0 -7
- package/dist/vue/close.d.ts +0 -7
- package/dist/vue/crl.d.cts +0 -7
- package/dist/vue/crl.d.ts +0 -7
- package/dist/vue/delete.d.cts +0 -7
- package/dist/vue/delete.d.ts +0 -7
- package/dist/vue/document.d.cts +0 -7
- package/dist/vue/document.d.ts +0 -7
- package/dist/vue/down.d.cts +0 -7
- package/dist/vue/down.d.ts +0 -7
- package/dist/vue/download.d.cts +0 -7
- package/dist/vue/download.d.ts +0 -7
- package/dist/vue/edit.d.cts +0 -7
- package/dist/vue/edit.d.ts +0 -7
- package/dist/vue/enter.d.cts +0 -7
- package/dist/vue/enter.d.ts +0 -7
- package/dist/vue/folder.d.cts +0 -7
- package/dist/vue/folder.d.ts +0 -7
- package/dist/vue/frame.d.cts +0 -7
- package/dist/vue/frame.d.ts +0 -7
- package/dist/vue/grid.d.cts +0 -7
- package/dist/vue/grid.d.ts +0 -7
- package/dist/vue/hidd.d.cts +0 -7
- package/dist/vue/hidd.d.ts +0 -7
- package/dist/vue/home.d.cts +0 -7
- package/dist/vue/home.d.ts +0 -7
- package/dist/vue/index.d.cts +0 -45
- package/dist/vue/index.d.ts +0 -45
- package/dist/vue/left.d.cts +0 -7
- package/dist/vue/left.d.ts +0 -7
- package/dist/vue/lock.d.cts +0 -7
- package/dist/vue/lock.d.ts +0 -7
- package/dist/vue/login.d.cts +0 -7
- package/dist/vue/login.d.ts +0 -7
- package/dist/vue/logink.d.cts +0 -7
- package/dist/vue/logink.d.ts +0 -7
- package/dist/vue/more.d.cts +0 -7
- package/dist/vue/more.d.ts +0 -7
- package/dist/vue/mr.d.cts +0 -7
- package/dist/vue/mr.d.ts +0 -7
- package/dist/vue/mute.d.cts +0 -7
- package/dist/vue/mute.d.ts +0 -7
- package/dist/vue/node-tree.d.cts +0 -7
- package/dist/vue/node-tree.d.ts +0 -7
- package/dist/vue/page.d.cts +0 -7
- package/dist/vue/page.d.ts +0 -7
- package/dist/vue/pause.d.cts +0 -7
- package/dist/vue/pause.d.ts +0 -7
- package/dist/vue/play.d.cts +0 -7
- package/dist/vue/play.d.ts +0 -7
- package/dist/vue/plus.d.cts +0 -7
- package/dist/vue/plus.d.ts +0 -7
- package/dist/vue/qx.d.cts +0 -7
- package/dist/vue/qx.d.ts +0 -7
- package/dist/vue/retreat.d.cts +0 -7
- package/dist/vue/retreat.d.ts +0 -7
- package/dist/vue/right.d.cts +0 -7
- package/dist/vue/right.d.ts +0 -7
- package/dist/vue/set.d.cts +0 -7
- package/dist/vue/set.d.ts +0 -7
- package/dist/vue/sound.d.cts +0 -7
- package/dist/vue/sound.d.ts +0 -7
- package/dist/vue/star.d.cts +0 -7
- package/dist/vue/star.d.ts +0 -7
- package/dist/vue/sub-form.d.cts +0 -7
- package/dist/vue/sub-form.d.ts +0 -7
- package/dist/vue/tab.d.cts +0 -7
- package/dist/vue/tab.d.ts +0 -7
- package/dist/vue/up.d.cts +0 -7
- package/dist/vue/up.d.ts +0 -7
- package/dist/vue/views.d.cts +0 -7
- package/dist/vue/views.d.ts +0 -7
package/dist/chunk-YGLV5TML.js
DELETED
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
lineToLargeHump
|
|
3
|
-
} from "./chunk-J4G2OFZ4.js";
|
|
4
|
-
import {
|
|
5
|
-
defaultPrefix
|
|
6
|
-
} from "./chunk-MOHILOKE.js";
|
|
7
|
-
|
|
8
|
-
// packages/iconify.ts
|
|
9
|
-
import { defineComponent, h } from "vue";
|
|
10
|
-
var xmlns = "http://www.w3.org/2000/svg";
|
|
11
|
-
function getViewBox(obj) {
|
|
12
|
-
const viewBox = [
|
|
13
|
-
obj.left || 0,
|
|
14
|
-
obj.top || 0,
|
|
15
|
-
obj.width || 1024,
|
|
16
|
-
obj.height || 1024
|
|
17
|
-
].join(" ");
|
|
18
|
-
return viewBox;
|
|
19
|
-
}
|
|
20
|
-
function createSVG(obj) {
|
|
21
|
-
const viewBox = getViewBox(obj);
|
|
22
|
-
const name = "icon-" + obj.name;
|
|
23
|
-
return defineComponent({
|
|
24
|
-
name: lineToLargeHump(name),
|
|
25
|
-
props: {},
|
|
26
|
-
render() {
|
|
27
|
-
return h("svg", {
|
|
28
|
-
xmlns,
|
|
29
|
-
"aria-hidden": true,
|
|
30
|
-
id: name,
|
|
31
|
-
ctype: "hcom",
|
|
32
|
-
role: "img",
|
|
33
|
-
class: "iconify iconify-" + obj.prefix,
|
|
34
|
-
viewBox,
|
|
35
|
-
innerHTML: obj.body
|
|
36
|
-
// 直接使用innerHTML
|
|
37
|
-
});
|
|
38
|
-
}
|
|
39
|
-
});
|
|
40
|
-
}
|
|
41
|
-
var iconify = (app, ify, { prefix = defaultPrefix } = {}) => {
|
|
42
|
-
const obj = {
|
|
43
|
-
prefix: ify.prefix,
|
|
44
|
-
width: ify.width,
|
|
45
|
-
height: ify.height
|
|
46
|
-
};
|
|
47
|
-
const icons = ify.icons;
|
|
48
|
-
for (const key of Object.keys(icons)) {
|
|
49
|
-
app.component(
|
|
50
|
-
prefix + lineToLargeHump(key),
|
|
51
|
-
createSVG({
|
|
52
|
-
...obj,
|
|
53
|
-
name: key,
|
|
54
|
-
...icons[key]
|
|
55
|
-
})
|
|
56
|
-
);
|
|
57
|
-
}
|
|
58
|
-
const aliases = ify.aliases;
|
|
59
|
-
for (const key of Object.keys(aliases)) {
|
|
60
|
-
const a = aliases[key];
|
|
61
|
-
app.component(
|
|
62
|
-
prefix + lineToLargeHump(key),
|
|
63
|
-
createSVG({
|
|
64
|
-
...obj,
|
|
65
|
-
name: key,
|
|
66
|
-
...icons[a.parent]
|
|
67
|
-
})
|
|
68
|
-
);
|
|
69
|
-
}
|
|
70
|
-
};
|
|
71
|
-
function iconifySVG(obj, name) {
|
|
72
|
-
var _a;
|
|
73
|
-
const icons = obj.icons;
|
|
74
|
-
const aliases = obj.aliases;
|
|
75
|
-
const ap = (_a = aliases[name]) == null ? void 0 : _a.parent;
|
|
76
|
-
const n = icons[name] ?? (ap ? icons[ap] : void 0);
|
|
77
|
-
if (n) {
|
|
78
|
-
return createSVG({
|
|
79
|
-
prefix: obj.prefix,
|
|
80
|
-
name,
|
|
81
|
-
width: obj.width,
|
|
82
|
-
height: obj.height,
|
|
83
|
-
...n
|
|
84
|
-
});
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
function getIconifySVG(obj, name, str = "") {
|
|
88
|
-
var _a;
|
|
89
|
-
const icons = obj.icons;
|
|
90
|
-
const aliases = obj.aliases;
|
|
91
|
-
const ap = (_a = aliases[name]) == null ? void 0 : _a.parent;
|
|
92
|
-
const n = icons[name] ?? (ap ? icons[ap] : void 0);
|
|
93
|
-
if (n) {
|
|
94
|
-
const v = {
|
|
95
|
-
prefix: obj.prefix,
|
|
96
|
-
name,
|
|
97
|
-
width: obj.width,
|
|
98
|
-
height: obj.height,
|
|
99
|
-
...n
|
|
100
|
-
};
|
|
101
|
-
const viewBox = getViewBox(v);
|
|
102
|
-
return `<svg ${str} xmlns="${xmlns}" viewBox="${viewBox}">${n.body}</svg>`;
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
export {
|
|
107
|
-
getViewBox,
|
|
108
|
-
iconify,
|
|
109
|
-
iconifySVG,
|
|
110
|
-
getIconifySVG
|
|
111
|
-
};
|
package/dist/chunk-YJLFP6SE.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
// packages/vue/bottom-right.ts
|
|
2
|
-
import { h, defineComponent } from "vue";
|
|
3
|
-
var svg = '<path d="M352 768a32 32 0 1 0 0 64h448a32 32 0 0 0 32-32V352a32 32 0 0 0-64 0v416H352z"/><path d="M777.344 822.656a32 32 0 0 0 45.312-45.312l-544-544a32 32 0 0 0-45.312 45.312l544 544z"/>';
|
|
4
|
-
var bottom_right_default = defineComponent({
|
|
5
|
-
name: "BottomRight",
|
|
6
|
-
setup() {
|
|
7
|
-
return () => h("svg", { viewBox: "0 0 1024 1024", xmlns: "http://www.w3.org/2000/svg", innerHTML: svg });
|
|
8
|
-
}
|
|
9
|
-
});
|
|
10
|
-
|
|
11
|
-
export {
|
|
12
|
-
bottom_right_default
|
|
13
|
-
};
|
package/dist/chunk-YJVFENGG.cjs
DELETED
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
|
2
|
-
|
|
3
|
-
var _chunkBXEIRESQcjs = require('./chunk-BXEIRESQ.cjs');
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
var _chunkIIVF4KK5cjs = require('./chunk-IIVF4KK5.cjs');
|
|
7
|
-
|
|
8
|
-
// packages/iconify.ts
|
|
9
|
-
var _vue = require('vue');
|
|
10
|
-
var xmlns = "http://www.w3.org/2000/svg";
|
|
11
|
-
function getViewBox(obj) {
|
|
12
|
-
const viewBox = [
|
|
13
|
-
obj.left || 0,
|
|
14
|
-
obj.top || 0,
|
|
15
|
-
obj.width || 1024,
|
|
16
|
-
obj.height || 1024
|
|
17
|
-
].join(" ");
|
|
18
|
-
return viewBox;
|
|
19
|
-
}
|
|
20
|
-
function createSVG(obj) {
|
|
21
|
-
const viewBox = getViewBox(obj);
|
|
22
|
-
const name = "icon-" + obj.name;
|
|
23
|
-
return _vue.defineComponent.call(void 0, {
|
|
24
|
-
name: _chunkBXEIRESQcjs.lineToLargeHump.call(void 0, name),
|
|
25
|
-
props: {},
|
|
26
|
-
render() {
|
|
27
|
-
return _vue.h.call(void 0, "svg", {
|
|
28
|
-
xmlns,
|
|
29
|
-
"aria-hidden": true,
|
|
30
|
-
id: name,
|
|
31
|
-
ctype: "hcom",
|
|
32
|
-
role: "img",
|
|
33
|
-
class: "iconify iconify-" + obj.prefix,
|
|
34
|
-
viewBox,
|
|
35
|
-
innerHTML: obj.body
|
|
36
|
-
// 直接使用innerHTML
|
|
37
|
-
});
|
|
38
|
-
}
|
|
39
|
-
});
|
|
40
|
-
}
|
|
41
|
-
var iconify = (app, ify, { prefix = _chunkIIVF4KK5cjs.defaultPrefix } = {}) => {
|
|
42
|
-
const obj = {
|
|
43
|
-
prefix: ify.prefix,
|
|
44
|
-
width: ify.width,
|
|
45
|
-
height: ify.height
|
|
46
|
-
};
|
|
47
|
-
const icons = ify.icons;
|
|
48
|
-
for (const key of Object.keys(icons)) {
|
|
49
|
-
app.component(
|
|
50
|
-
prefix + _chunkBXEIRESQcjs.lineToLargeHump.call(void 0, key),
|
|
51
|
-
createSVG({
|
|
52
|
-
...obj,
|
|
53
|
-
name: key,
|
|
54
|
-
...icons[key]
|
|
55
|
-
})
|
|
56
|
-
);
|
|
57
|
-
}
|
|
58
|
-
const aliases = ify.aliases;
|
|
59
|
-
for (const key of Object.keys(aliases)) {
|
|
60
|
-
const a = aliases[key];
|
|
61
|
-
app.component(
|
|
62
|
-
prefix + _chunkBXEIRESQcjs.lineToLargeHump.call(void 0, key),
|
|
63
|
-
createSVG({
|
|
64
|
-
...obj,
|
|
65
|
-
name: key,
|
|
66
|
-
...icons[a.parent]
|
|
67
|
-
})
|
|
68
|
-
);
|
|
69
|
-
}
|
|
70
|
-
};
|
|
71
|
-
function iconifySVG(obj, name) {
|
|
72
|
-
var _a;
|
|
73
|
-
const icons = obj.icons;
|
|
74
|
-
const aliases = obj.aliases;
|
|
75
|
-
const ap = (_a = aliases[name]) == null ? void 0 : _a.parent;
|
|
76
|
-
const n = _nullishCoalesce(icons[name], () => ( (ap ? icons[ap] : void 0)));
|
|
77
|
-
if (n) {
|
|
78
|
-
return createSVG({
|
|
79
|
-
prefix: obj.prefix,
|
|
80
|
-
name,
|
|
81
|
-
width: obj.width,
|
|
82
|
-
height: obj.height,
|
|
83
|
-
...n
|
|
84
|
-
});
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
function getIconifySVG(obj, name, str = "") {
|
|
88
|
-
var _a;
|
|
89
|
-
const icons = obj.icons;
|
|
90
|
-
const aliases = obj.aliases;
|
|
91
|
-
const ap = (_a = aliases[name]) == null ? void 0 : _a.parent;
|
|
92
|
-
const n = _nullishCoalesce(icons[name], () => ( (ap ? icons[ap] : void 0)));
|
|
93
|
-
if (n) {
|
|
94
|
-
const v = {
|
|
95
|
-
prefix: obj.prefix,
|
|
96
|
-
name,
|
|
97
|
-
width: obj.width,
|
|
98
|
-
height: obj.height,
|
|
99
|
-
...n
|
|
100
|
-
};
|
|
101
|
-
const viewBox = getViewBox(v);
|
|
102
|
-
return `<svg ${str} xmlns="${xmlns}" viewBox="${viewBox}">${n.body}</svg>`;
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
exports.getViewBox = getViewBox; exports.iconify = iconify; exports.iconifySVG = iconifySVG; exports.getIconifySVG = getIconifySVG;
|
package/dist/chunk-YSDDIRK3.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
// packages/vue/enter.ts
|
|
2
|
-
import { h, defineComponent } from "vue";
|
|
3
|
-
var svg = '<path d="M656.36179153 933.07378604a68.79342673 68.79342673 0 0 1-27.51737036-5.96209735 71.08654065 71.08654065 0 0 1-42.1933016-65.58306674v-256.82879141L226.17356421 915.64611825a67.87618066 67.87618066 0 0 1-73.8382772 12.38281651A71.08654065 71.08654065 0 0 1 110.14198542 861.52862195V161.67016327A71.08654065 71.08654065 0 0 1 152.79390964 96.08709734a67.87618066 67.87618066 0 0 1 73.838278 12.84143913l359.56030848 310.94628772V161.67016327a71.08654065 71.08654065 0 0 1 42.65192505-65.58306592 67.87618066 67.87618066 0 0 1 74.29690063 12.84143912L1107.64666924 457.02327451a72.00378671 72.00378671 0 0 1 0 105.94187704L702.22407574 915.64611825a68.33480328 68.33480328 0 0 1-45.86228422 17.42766779z m-476.96775677-72.00378671l405.88121611-349.47060672-404.50534743-351.76372064v701.69294998z m476.0505107 0l405.88121696-349.47060672-404.50534827-351.76372064v701.69294998z"></path>';
|
|
4
|
-
var enter_default = defineComponent({
|
|
5
|
-
name: "Enter",
|
|
6
|
-
setup() {
|
|
7
|
-
return () => h("svg", { viewBox: "0 0 1024 1024", xmlns: "http://www.w3.org/2000/svg", innerHTML: svg });
|
|
8
|
-
}
|
|
9
|
-
});
|
|
10
|
-
|
|
11
|
-
export {
|
|
12
|
-
enter_default
|
|
13
|
-
};
|
package/dist/chunk-YUYOWQ5M.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
// packages/vue/crl.ts
|
|
2
|
-
import { h, defineComponent } from "vue";
|
|
3
|
-
var svg = '<metadata><?xpacket begin="\uFEFF" id="W5M0MpCehiHzreSzNTczkc9d"?><x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP Core 5.6-c138 79.159824, 2016/09/14-01:09:01 "><rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description rdf:about=""/></rdf:RDF></x:xmpmeta><?xpacket end="w"?></metadata><defs><style> .cls-1 { fill: #fff; stroke: #267afb; stroke-width: 1px; } .cls-2 { fill: #267afb; fill-rule: evenodd; } </style></defs><circle id="\u692D\u5706_1_\u62F7\u8D1D_7" data-name="\u692D\u5706 1 \u62F7\u8D1D 7" class="cls-1" cx="10.5" cy="10.5" r="10"/><path id="\u5F62\u72B6_515_\u62F7\u8D1D" data-name="\u5F62\u72B6 515 \u62F7\u8D1D" class="cls-2" d="M681.525,266.235a0.267,0.267,0,0,1,.265-0.264h1.193a0.267,0.267,0,0,1,.265.264v5.937a0.268,0.268,0,0,1-.265.264H681.79a0.268,0.268,0,0,1-.265-0.264v-5.937m-0.531,0v5.937a0.8,0.8,0,0,0,.8.792h1.193a0.8,0.8,0,0,0,.8-0.792v-5.937a0.8,0.8,0,0,0-.8-0.792H681.79A0.8,0.8,0,0,0,680.994,266.235Zm4.641-3.431a0.269,0.269,0,0,1,.265-0.264h1.194a0.268,0.268,0,0,1,.265.264v5.938a0.268,0.268,0,0,1-.265.264H685.9a0.269,0.269,0,0,1-.265-0.264V262.8m-0.53,0v5.938a0.8,0.8,0,0,0,.795.791h1.194a0.8,0.8,0,0,0,.795-0.791V262.8a0.8,0.8,0,0,0-.795-0.792H685.9A0.8,0.8,0,0,0,685.105,262.8Zm4.641,3.431a0.267,0.267,0,0,1,.265-0.264H691.2a0.268,0.268,0,0,1,.266.264v5.937a0.269,0.269,0,0,1-.266.264h-1.193a0.268,0.268,0,0,1-.265-0.264v-5.937m-0.531,0v5.937a0.8,0.8,0,0,0,.8.792H691.2a0.8,0.8,0,0,0,.8-0.792v-5.937a0.8,0.8,0,0,0-.8-0.792h-1.193A0.8,0.8,0,0,0,689.215,266.235ZM686.5,272.35l-0.941-.936a0.264,0.264,0,0,0-.375.373L686.3,272.9a0.131,0.131,0,0,0,.011.012,0.268,0.268,0,0,0,.378,0,0.127,0.127,0,0,0,.01-0.012l1.117-1.111a0.264,0.264,0,0,0-.375-0.373Z" transform="translate(-675.5 -256.5)"/>';
|
|
4
|
-
var crl_default = defineComponent({
|
|
5
|
-
name: "Crl",
|
|
6
|
-
setup() {
|
|
7
|
-
return () => h("svg", { viewBox: "0 0 21 21", xmlns: "http://www.w3.org/2000/svg", innerHTML: svg });
|
|
8
|
-
}
|
|
9
|
-
});
|
|
10
|
-
|
|
11
|
-
export {
|
|
12
|
-
crl_default
|
|
13
|
-
};
|
package/dist/chunk-YW7CKAOG.cjs
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
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/chunk-YYG5XGJC.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
// packages/vue/sound.ts
|
|
2
|
-
import { h, defineComponent } from "vue";
|
|
3
|
-
var svg = '<path d="M572.16 104.96a47.04 47.04 0 0 0-49.92 4.48L181.76 360.96H70.4c-26.24 0-48 21.76-48 48v245.12c0 26.24 21.76 48 48 48h111.36l344.32 203.52c7.68 4.48 16 6.4 24.32 6.4s16.64-1.92 23.68-6.4c14.72-8.32 24.32-24.32 24.32-41.6V147.84a48.64 48.64 0 0 0-26.24-42.88zM502.4 780.16L230.4 619.52l-11.52-6.4a47.744 47.744 0 0 0-24.32-6.4H118.4V456.96h78.72c10.24 0 20.48-3.2 28.8-9.6l276.48-204.8v537.6zM760.32 338.56c-18.56-18.56-49.28-18.56-67.84 0s-18.56 49.28 0 67.84c51.84 51.84 51.84 136.32 0 188.16-18.56 18.56-18.56 49.28 0 67.84 9.6 9.6 21.76 14.08 33.92 14.08s24.32-4.48 33.92-14.08c88.96-88.96 88.96-234.24 0-323.84z"></path><path d="M888.32 210.56c-18.56-18.56-49.28-18.56-67.84 0s-18.56 49.28 0 67.84a314.816 314.816 0 0 1 0 444.16c-18.56 18.56-18.56 49.28 0 67.84 9.6 9.6 21.76 14.08 33.92 14.08s24.32-4.48 33.92-14.08a410.24 410.24 0 0 0 0-579.84z"></path>';
|
|
4
|
-
var sound_default = defineComponent({
|
|
5
|
-
name: "Sound",
|
|
6
|
-
setup() {
|
|
7
|
-
return () => h("svg", { viewBox: "0 0 1024 1024", xmlns: "http://www.w3.org/2000/svg", innerHTML: svg });
|
|
8
|
-
}
|
|
9
|
-
});
|
|
10
|
-
|
|
11
|
-
export {
|
|
12
|
-
sound_default
|
|
13
|
-
};
|
package/dist/chunk-Z7LHYEQW.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
// packages/vue/clear.ts
|
|
2
|
-
import { h, defineComponent } from "vue";
|
|
3
|
-
var svg = '<path d="m466.752 512-90.496-90.496a32 32 0 0 1 45.248-45.248L512 466.752l90.496-90.496a32 32 0 1 1 45.248 45.248L557.248 512l90.496 90.496a32 32 0 1 1-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 0 1-45.248-45.248L466.752 512z"></path><path d="M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768zm0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896z"></path>';
|
|
4
|
-
var clear_default = defineComponent({
|
|
5
|
-
name: "Clear",
|
|
6
|
-
setup() {
|
|
7
|
-
return () => h("svg", { viewBox: "0 0 1024 1024", xmlns: "http://www.w3.org/2000/svg", innerHTML: svg });
|
|
8
|
-
}
|
|
9
|
-
});
|
|
10
|
-
|
|
11
|
-
export {
|
|
12
|
-
clear_default
|
|
13
|
-
};
|
package/dist/chunk-ZWJ4O3II.cjs
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});// packages/vue/page.ts
|
|
2
|
-
var _vue = require('vue');
|
|
3
|
-
var svg = '<path d="M385.68138313 382.54617325v466.03377778H333.89985186v-466.03377778H178.55525926V330.76464197h673.15990164v51.78153128h-466.03377777zM126.773728 123.63851811h776.72296295v776.72296297H126.773728V123.63851811z m51.78153126 51.78153128v673.15990164h673.15990164V175.42004939H178.55525926z"></path>';
|
|
4
|
-
var page_default = _vue.defineComponent.call(void 0, {
|
|
5
|
-
name: "Page",
|
|
6
|
-
setup() {
|
|
7
|
-
return () => _vue.h.call(void 0, "svg", { viewBox: "0 0 1024 1024", xmlns: "http://www.w3.org/2000/svg", innerHTML: svg });
|
|
8
|
-
}
|
|
9
|
-
});
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
exports.page_default = page_default;
|
package/dist/components.d.cts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { ComponentResolver } from 'unplugin-vue-components';
|
|
2
|
-
|
|
3
|
-
type Config = {
|
|
4
|
-
/**
|
|
5
|
-
* 别名
|
|
6
|
-
*/
|
|
7
|
-
alias?: string;
|
|
8
|
-
icon?: string;
|
|
9
|
-
};
|
|
10
|
-
/**
|
|
11
|
-
* 自动按需匹配注册
|
|
12
|
-
* @returns
|
|
13
|
-
*/
|
|
14
|
-
declare function FangIconsResolver(conf?: Config): ComponentResolver[];
|
|
15
|
-
|
|
16
|
-
export { FangIconsResolver };
|
package/dist/components.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { ComponentResolver } from 'unplugin-vue-components';
|
|
2
|
-
|
|
3
|
-
type Config = {
|
|
4
|
-
/**
|
|
5
|
-
* 别名
|
|
6
|
-
*/
|
|
7
|
-
alias?: string;
|
|
8
|
-
icon?: string;
|
|
9
|
-
};
|
|
10
|
-
/**
|
|
11
|
-
* 自动按需匹配注册
|
|
12
|
-
* @returns
|
|
13
|
-
*/
|
|
14
|
-
declare function FangIconsResolver(conf?: Config): ComponentResolver[];
|
|
15
|
-
|
|
16
|
-
export { FangIconsResolver };
|
package/dist/config.d.cts
DELETED
package/dist/config.d.ts
DELETED
package/dist/icon/index.d.cts
DELETED
|
@@ -1,136 +0,0 @@
|
|
|
1
|
-
import { SFCWithInstall } from '../util.cjs';
|
|
2
|
-
import * as vue from 'vue';
|
|
3
|
-
|
|
4
|
-
type Flip = 'horizontal' | 'vertical' | 'both' | '';
|
|
5
|
-
type IconType = 'css' | 'id' | 'img' | 'font' | 'svg' | 'vue' | 'pub';
|
|
6
|
-
declare const Icon: SFCWithInstall<vue.DefineComponent<vue.ExtractPropTypes<{
|
|
7
|
-
/**
|
|
8
|
-
* @props { String, Object } name= ( )
|
|
9
|
-
* 图标名称
|
|
10
|
-
*/
|
|
11
|
-
name: {
|
|
12
|
-
type: (StringConstructor | ObjectConstructor)[];
|
|
13
|
-
default: string;
|
|
14
|
-
};
|
|
15
|
-
/**
|
|
16
|
-
* @props { String} iconClass= ( )
|
|
17
|
-
* 图标样式名称
|
|
18
|
-
*/
|
|
19
|
-
iconClass: {
|
|
20
|
-
type: StringConstructor;
|
|
21
|
-
};
|
|
22
|
-
color: {
|
|
23
|
-
type: StringConstructor;
|
|
24
|
-
};
|
|
25
|
-
/**
|
|
26
|
-
* @props { String} type= ( 'css' | 'id' | 'img' | 'font' | 'str' | 'com' )
|
|
27
|
-
* 图标类型
|
|
28
|
-
*/
|
|
29
|
-
type: {
|
|
30
|
-
type: () => IconType;
|
|
31
|
-
};
|
|
32
|
-
/**
|
|
33
|
-
* @props { String, Number } size= ( )
|
|
34
|
-
* 图标大小
|
|
35
|
-
*/
|
|
36
|
-
size: {
|
|
37
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
38
|
-
};
|
|
39
|
-
/**
|
|
40
|
-
* @props { String } flip='' ( 'horizontal' | 'vertical' | 'both' | '' )
|
|
41
|
-
* 图标方向
|
|
42
|
-
*/
|
|
43
|
-
flip: {
|
|
44
|
-
type: () => Flip;
|
|
45
|
-
default: string;
|
|
46
|
-
};
|
|
47
|
-
/**
|
|
48
|
-
* @props { Number } rotate=0
|
|
49
|
-
* 图标旋转角度
|
|
50
|
-
*/
|
|
51
|
-
rotate: {
|
|
52
|
-
type: NumberConstructor;
|
|
53
|
-
default: number;
|
|
54
|
-
};
|
|
55
|
-
default: {
|
|
56
|
-
type: StringConstructor;
|
|
57
|
-
};
|
|
58
|
-
directory: {
|
|
59
|
-
type: StringConstructor;
|
|
60
|
-
default: string;
|
|
61
|
-
};
|
|
62
|
-
prefix: {
|
|
63
|
-
type: StringConstructor;
|
|
64
|
-
default: string;
|
|
65
|
-
};
|
|
66
|
-
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
67
|
-
[key: string]: any;
|
|
68
|
-
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
69
|
-
/**
|
|
70
|
-
* @props { String, Object } name= ( )
|
|
71
|
-
* 图标名称
|
|
72
|
-
*/
|
|
73
|
-
name: {
|
|
74
|
-
type: (StringConstructor | ObjectConstructor)[];
|
|
75
|
-
default: string;
|
|
76
|
-
};
|
|
77
|
-
/**
|
|
78
|
-
* @props { String} iconClass= ( )
|
|
79
|
-
* 图标样式名称
|
|
80
|
-
*/
|
|
81
|
-
iconClass: {
|
|
82
|
-
type: StringConstructor;
|
|
83
|
-
};
|
|
84
|
-
color: {
|
|
85
|
-
type: StringConstructor;
|
|
86
|
-
};
|
|
87
|
-
/**
|
|
88
|
-
* @props { String} type= ( 'css' | 'id' | 'img' | 'font' | 'str' | 'com' )
|
|
89
|
-
* 图标类型
|
|
90
|
-
*/
|
|
91
|
-
type: {
|
|
92
|
-
type: () => IconType;
|
|
93
|
-
};
|
|
94
|
-
/**
|
|
95
|
-
* @props { String, Number } size= ( )
|
|
96
|
-
* 图标大小
|
|
97
|
-
*/
|
|
98
|
-
size: {
|
|
99
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
100
|
-
};
|
|
101
|
-
/**
|
|
102
|
-
* @props { String } flip='' ( 'horizontal' | 'vertical' | 'both' | '' )
|
|
103
|
-
* 图标方向
|
|
104
|
-
*/
|
|
105
|
-
flip: {
|
|
106
|
-
type: () => Flip;
|
|
107
|
-
default: string;
|
|
108
|
-
};
|
|
109
|
-
/**
|
|
110
|
-
* @props { Number } rotate=0
|
|
111
|
-
* 图标旋转角度
|
|
112
|
-
*/
|
|
113
|
-
rotate: {
|
|
114
|
-
type: NumberConstructor;
|
|
115
|
-
default: number;
|
|
116
|
-
};
|
|
117
|
-
default: {
|
|
118
|
-
type: StringConstructor;
|
|
119
|
-
};
|
|
120
|
-
directory: {
|
|
121
|
-
type: StringConstructor;
|
|
122
|
-
default: string;
|
|
123
|
-
};
|
|
124
|
-
prefix: {
|
|
125
|
-
type: StringConstructor;
|
|
126
|
-
default: string;
|
|
127
|
-
};
|
|
128
|
-
}>> & Readonly<{}>, {
|
|
129
|
-
name: string | Record<string, any>;
|
|
130
|
-
flip: Flip;
|
|
131
|
-
rotate: number;
|
|
132
|
-
directory: string;
|
|
133
|
-
prefix: string;
|
|
134
|
-
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>>;
|
|
135
|
-
|
|
136
|
-
export { type Flip, Icon, type IconType, Icon as default };
|
package/dist/icon/index.d.ts
DELETED
|
@@ -1,136 +0,0 @@
|
|
|
1
|
-
import { SFCWithInstall } from '../util.js';
|
|
2
|
-
import * as vue from 'vue';
|
|
3
|
-
|
|
4
|
-
type Flip = 'horizontal' | 'vertical' | 'both' | '';
|
|
5
|
-
type IconType = 'css' | 'id' | 'img' | 'font' | 'svg' | 'vue' | 'pub';
|
|
6
|
-
declare const Icon: SFCWithInstall<vue.DefineComponent<vue.ExtractPropTypes<{
|
|
7
|
-
/**
|
|
8
|
-
* @props { String, Object } name= ( )
|
|
9
|
-
* 图标名称
|
|
10
|
-
*/
|
|
11
|
-
name: {
|
|
12
|
-
type: (StringConstructor | ObjectConstructor)[];
|
|
13
|
-
default: string;
|
|
14
|
-
};
|
|
15
|
-
/**
|
|
16
|
-
* @props { String} iconClass= ( )
|
|
17
|
-
* 图标样式名称
|
|
18
|
-
*/
|
|
19
|
-
iconClass: {
|
|
20
|
-
type: StringConstructor;
|
|
21
|
-
};
|
|
22
|
-
color: {
|
|
23
|
-
type: StringConstructor;
|
|
24
|
-
};
|
|
25
|
-
/**
|
|
26
|
-
* @props { String} type= ( 'css' | 'id' | 'img' | 'font' | 'str' | 'com' )
|
|
27
|
-
* 图标类型
|
|
28
|
-
*/
|
|
29
|
-
type: {
|
|
30
|
-
type: () => IconType;
|
|
31
|
-
};
|
|
32
|
-
/**
|
|
33
|
-
* @props { String, Number } size= ( )
|
|
34
|
-
* 图标大小
|
|
35
|
-
*/
|
|
36
|
-
size: {
|
|
37
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
38
|
-
};
|
|
39
|
-
/**
|
|
40
|
-
* @props { String } flip='' ( 'horizontal' | 'vertical' | 'both' | '' )
|
|
41
|
-
* 图标方向
|
|
42
|
-
*/
|
|
43
|
-
flip: {
|
|
44
|
-
type: () => Flip;
|
|
45
|
-
default: string;
|
|
46
|
-
};
|
|
47
|
-
/**
|
|
48
|
-
* @props { Number } rotate=0
|
|
49
|
-
* 图标旋转角度
|
|
50
|
-
*/
|
|
51
|
-
rotate: {
|
|
52
|
-
type: NumberConstructor;
|
|
53
|
-
default: number;
|
|
54
|
-
};
|
|
55
|
-
default: {
|
|
56
|
-
type: StringConstructor;
|
|
57
|
-
};
|
|
58
|
-
directory: {
|
|
59
|
-
type: StringConstructor;
|
|
60
|
-
default: string;
|
|
61
|
-
};
|
|
62
|
-
prefix: {
|
|
63
|
-
type: StringConstructor;
|
|
64
|
-
default: string;
|
|
65
|
-
};
|
|
66
|
-
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
67
|
-
[key: string]: any;
|
|
68
|
-
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
69
|
-
/**
|
|
70
|
-
* @props { String, Object } name= ( )
|
|
71
|
-
* 图标名称
|
|
72
|
-
*/
|
|
73
|
-
name: {
|
|
74
|
-
type: (StringConstructor | ObjectConstructor)[];
|
|
75
|
-
default: string;
|
|
76
|
-
};
|
|
77
|
-
/**
|
|
78
|
-
* @props { String} iconClass= ( )
|
|
79
|
-
* 图标样式名称
|
|
80
|
-
*/
|
|
81
|
-
iconClass: {
|
|
82
|
-
type: StringConstructor;
|
|
83
|
-
};
|
|
84
|
-
color: {
|
|
85
|
-
type: StringConstructor;
|
|
86
|
-
};
|
|
87
|
-
/**
|
|
88
|
-
* @props { String} type= ( 'css' | 'id' | 'img' | 'font' | 'str' | 'com' )
|
|
89
|
-
* 图标类型
|
|
90
|
-
*/
|
|
91
|
-
type: {
|
|
92
|
-
type: () => IconType;
|
|
93
|
-
};
|
|
94
|
-
/**
|
|
95
|
-
* @props { String, Number } size= ( )
|
|
96
|
-
* 图标大小
|
|
97
|
-
*/
|
|
98
|
-
size: {
|
|
99
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
100
|
-
};
|
|
101
|
-
/**
|
|
102
|
-
* @props { String } flip='' ( 'horizontal' | 'vertical' | 'both' | '' )
|
|
103
|
-
* 图标方向
|
|
104
|
-
*/
|
|
105
|
-
flip: {
|
|
106
|
-
type: () => Flip;
|
|
107
|
-
default: string;
|
|
108
|
-
};
|
|
109
|
-
/**
|
|
110
|
-
* @props { Number } rotate=0
|
|
111
|
-
* 图标旋转角度
|
|
112
|
-
*/
|
|
113
|
-
rotate: {
|
|
114
|
-
type: NumberConstructor;
|
|
115
|
-
default: number;
|
|
116
|
-
};
|
|
117
|
-
default: {
|
|
118
|
-
type: StringConstructor;
|
|
119
|
-
};
|
|
120
|
-
directory: {
|
|
121
|
-
type: StringConstructor;
|
|
122
|
-
default: string;
|
|
123
|
-
};
|
|
124
|
-
prefix: {
|
|
125
|
-
type: StringConstructor;
|
|
126
|
-
default: string;
|
|
127
|
-
};
|
|
128
|
-
}>> & Readonly<{}>, {
|
|
129
|
-
name: string | Record<string, any>;
|
|
130
|
-
flip: Flip;
|
|
131
|
-
rotate: number;
|
|
132
|
-
directory: string;
|
|
133
|
-
prefix: string;
|
|
134
|
-
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>>;
|
|
135
|
-
|
|
136
|
-
export { type Flip, Icon, type IconType, Icon as default };
|