@fangzhongya/icons 0.0.51 → 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 +28 -27
- 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-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-CMFLQOET.js +0 -152
- 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-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-TMPQ7LLO.cjs +0 -152
- 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/async.cjs
CHANGED
|
@@ -1,108 +1,59 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
var icons = {
|
|
53
|
-
"Bar": IconBar,
|
|
54
|
-
"Below": IconBelow,
|
|
55
|
-
"Bicycle": IconBicycle,
|
|
56
|
-
"Bottom": IconBottom,
|
|
57
|
-
"BottomLeft": IconBottomLeft,
|
|
58
|
-
"BottomRight": IconBottomRight,
|
|
59
|
-
"CascaderField": IconCascaderField,
|
|
60
|
-
"Catalogue": IconCatalogue,
|
|
61
|
-
"Clear": IconClear,
|
|
62
|
-
"Close": IconClose,
|
|
63
|
-
"Crl": IconCrl,
|
|
64
|
-
"Delete": IconDelete,
|
|
65
|
-
"Document": IconDocument,
|
|
66
|
-
"Down": IconDown,
|
|
67
|
-
"Download": IconDownload,
|
|
68
|
-
"Edit": IconEdit,
|
|
69
|
-
"Enter": IconEnter,
|
|
70
|
-
"Folder": IconFolder,
|
|
71
|
-
"Frame": IconFrame,
|
|
72
|
-
"Grid": IconGrid,
|
|
73
|
-
"Hidd": IconHidd,
|
|
74
|
-
"Home": IconHome,
|
|
75
|
-
"Left": IconLeft,
|
|
76
|
-
"Lock": IconLock,
|
|
77
|
-
"Login": IconLogin,
|
|
78
|
-
"Logink": IconLogink,
|
|
79
|
-
"More": IconMore,
|
|
80
|
-
"Mr": IconMr,
|
|
81
|
-
"Mute": IconMute,
|
|
82
|
-
"NodeTree": IconNodeTree,
|
|
83
|
-
"Page": IconPage,
|
|
84
|
-
"Pause": IconPause,
|
|
85
|
-
"Play": IconPlay,
|
|
86
|
-
"Plus": IconPlus,
|
|
87
|
-
"Qx": IconQx,
|
|
88
|
-
"Retreat": IconRetreat,
|
|
89
|
-
"Right": IconRight,
|
|
90
|
-
"Set": IconSet,
|
|
91
|
-
"Sound": IconSound,
|
|
92
|
-
"Star": IconStar,
|
|
93
|
-
"SubForm": IconSubForm,
|
|
94
|
-
"Tab": IconTab,
|
|
95
|
-
"Up": IconUp,
|
|
96
|
-
"Views": IconViews
|
|
1
|
+
Object.defineProperties(exports, {
|
|
2
|
+
__esModule: { value: true },
|
|
3
|
+
[Symbol.toStringTag]: { value: "Module" }
|
|
4
|
+
});
|
|
5
|
+
const require_config = require("./config.cjs");
|
|
6
|
+
let vue = require("vue");
|
|
7
|
+
const icons = {
|
|
8
|
+
"Bar": (0, vue.defineAsyncComponent)(async () => await Promise.resolve().then(() => require("./vue/bar.cjs"))),
|
|
9
|
+
"Below": (0, vue.defineAsyncComponent)(async () => await Promise.resolve().then(() => require("./vue/below.cjs"))),
|
|
10
|
+
"Bicycle": (0, vue.defineAsyncComponent)(async () => await Promise.resolve().then(() => require("./vue/bicycle.cjs"))),
|
|
11
|
+
"Bottom": (0, vue.defineAsyncComponent)(async () => await Promise.resolve().then(() => require("./vue/bottom.cjs"))),
|
|
12
|
+
"BottomLeft": (0, vue.defineAsyncComponent)(async () => await Promise.resolve().then(() => require("./vue/bottom-left.cjs"))),
|
|
13
|
+
"BottomRight": (0, vue.defineAsyncComponent)(async () => await Promise.resolve().then(() => require("./vue/bottom-right.cjs"))),
|
|
14
|
+
"CascaderField": (0, vue.defineAsyncComponent)(async () => await Promise.resolve().then(() => require("./vue/cascader-field.cjs"))),
|
|
15
|
+
"Catalogue": (0, vue.defineAsyncComponent)(async () => await Promise.resolve().then(() => require("./vue/catalogue.cjs"))),
|
|
16
|
+
"Clear": (0, vue.defineAsyncComponent)(async () => await Promise.resolve().then(() => require("./vue/clear.cjs"))),
|
|
17
|
+
"Close": (0, vue.defineAsyncComponent)(async () => await Promise.resolve().then(() => require("./vue/close.cjs"))),
|
|
18
|
+
"Crl": (0, vue.defineAsyncComponent)(async () => await Promise.resolve().then(() => require("./vue/crl.cjs"))),
|
|
19
|
+
"Delete": (0, vue.defineAsyncComponent)(async () => await Promise.resolve().then(() => require("./vue/delete.cjs"))),
|
|
20
|
+
"Document": (0, vue.defineAsyncComponent)(async () => await Promise.resolve().then(() => require("./vue/document.cjs"))),
|
|
21
|
+
"Down": (0, vue.defineAsyncComponent)(async () => await Promise.resolve().then(() => require("./vue/down.cjs"))),
|
|
22
|
+
"Download": (0, vue.defineAsyncComponent)(async () => await Promise.resolve().then(() => require("./vue/download.cjs"))),
|
|
23
|
+
"Edit": (0, vue.defineAsyncComponent)(async () => await Promise.resolve().then(() => require("./vue/edit.cjs"))),
|
|
24
|
+
"Enter": (0, vue.defineAsyncComponent)(async () => await Promise.resolve().then(() => require("./vue/enter.cjs"))),
|
|
25
|
+
"Folder": (0, vue.defineAsyncComponent)(async () => await Promise.resolve().then(() => require("./vue/folder.cjs"))),
|
|
26
|
+
"Frame": (0, vue.defineAsyncComponent)(async () => await Promise.resolve().then(() => require("./vue/frame.cjs"))),
|
|
27
|
+
"Grid": (0, vue.defineAsyncComponent)(async () => await Promise.resolve().then(() => require("./vue/grid.cjs"))),
|
|
28
|
+
"Hidd": (0, vue.defineAsyncComponent)(async () => await Promise.resolve().then(() => require("./vue/hidd.cjs"))),
|
|
29
|
+
"Home": (0, vue.defineAsyncComponent)(async () => await Promise.resolve().then(() => require("./vue/home.cjs"))),
|
|
30
|
+
"Left": (0, vue.defineAsyncComponent)(async () => await Promise.resolve().then(() => require("./vue/left.cjs"))),
|
|
31
|
+
"Lock": (0, vue.defineAsyncComponent)(async () => await Promise.resolve().then(() => require("./vue/lock.cjs"))),
|
|
32
|
+
"Login": (0, vue.defineAsyncComponent)(async () => await Promise.resolve().then(() => require("./vue/login.cjs"))),
|
|
33
|
+
"Logink": (0, vue.defineAsyncComponent)(async () => await Promise.resolve().then(() => require("./vue/logink.cjs"))),
|
|
34
|
+
"More": (0, vue.defineAsyncComponent)(async () => await Promise.resolve().then(() => require("./vue/more.cjs"))),
|
|
35
|
+
"Mr": (0, vue.defineAsyncComponent)(async () => await Promise.resolve().then(() => require("./vue/mr.cjs"))),
|
|
36
|
+
"Mute": (0, vue.defineAsyncComponent)(async () => await Promise.resolve().then(() => require("./vue/mute.cjs"))),
|
|
37
|
+
"NodeTree": (0, vue.defineAsyncComponent)(async () => await Promise.resolve().then(() => require("./vue/node-tree.cjs"))),
|
|
38
|
+
"Page": (0, vue.defineAsyncComponent)(async () => await Promise.resolve().then(() => require("./vue/page.cjs"))),
|
|
39
|
+
"Pause": (0, vue.defineAsyncComponent)(async () => await Promise.resolve().then(() => require("./vue/pause.cjs"))),
|
|
40
|
+
"Play": (0, vue.defineAsyncComponent)(async () => await Promise.resolve().then(() => require("./vue/play.cjs"))),
|
|
41
|
+
"Plus": (0, vue.defineAsyncComponent)(async () => await Promise.resolve().then(() => require("./vue/plus.cjs"))),
|
|
42
|
+
"Qx": (0, vue.defineAsyncComponent)(async () => await Promise.resolve().then(() => require("./vue/qx.cjs"))),
|
|
43
|
+
"Retreat": (0, vue.defineAsyncComponent)(async () => await Promise.resolve().then(() => require("./vue/retreat.cjs"))),
|
|
44
|
+
"Right": (0, vue.defineAsyncComponent)(async () => await Promise.resolve().then(() => require("./vue/right.cjs"))),
|
|
45
|
+
"Set": (0, vue.defineAsyncComponent)(async () => await Promise.resolve().then(() => require("./vue/set.cjs"))),
|
|
46
|
+
"Sound": (0, vue.defineAsyncComponent)(async () => await Promise.resolve().then(() => require("./vue/sound.cjs"))),
|
|
47
|
+
"Star": (0, vue.defineAsyncComponent)(async () => await Promise.resolve().then(() => require("./vue/star.cjs"))),
|
|
48
|
+
"SubForm": (0, vue.defineAsyncComponent)(async () => await Promise.resolve().then(() => require("./vue/sub-form.cjs"))),
|
|
49
|
+
"Tab": (0, vue.defineAsyncComponent)(async () => await Promise.resolve().then(() => require("./vue/tab.cjs"))),
|
|
50
|
+
"Up": (0, vue.defineAsyncComponent)(async () => await Promise.resolve().then(() => require("./vue/up.cjs"))),
|
|
51
|
+
"Views": (0, vue.defineAsyncComponent)(async () => await Promise.resolve().then(() => require("./vue/views.cjs")))
|
|
97
52
|
};
|
|
98
53
|
var async_default = (app, options = {}) => {
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
for (const [key, component] of Object.entries(icons)) {
|
|
102
|
-
(_a = app.component) == null ? void 0 : _a.call(app, prefix + key, component);
|
|
103
|
-
}
|
|
54
|
+
const { prefix = require_config.defaultPrefix } = options || {};
|
|
55
|
+
for (const [key, component] of Object.entries(icons)) app.component?.(prefix + key, component);
|
|
104
56
|
};
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
exports.default = async_default; exports.icons = icons;
|
|
57
|
+
//#endregion
|
|
58
|
+
exports.default = async_default;
|
|
59
|
+
exports.icons = icons;
|
package/dist/async.js
CHANGED
|
@@ -1,108 +1,54 @@
|
|
|
1
|
-
import {
|
|
2
|
-
defaultPrefix
|
|
3
|
-
} from "./chunk-MOHILOKE.js";
|
|
4
|
-
import "./chunk-MLKGABMK.js";
|
|
5
|
-
|
|
6
|
-
// packages/async.ts
|
|
1
|
+
import { defaultPrefix } from "./config.js";
|
|
7
2
|
import { defineAsyncComponent } from "vue";
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
"Bar": IconBar,
|
|
54
|
-
"Below": IconBelow,
|
|
55
|
-
"Bicycle": IconBicycle,
|
|
56
|
-
"Bottom": IconBottom,
|
|
57
|
-
"BottomLeft": IconBottomLeft,
|
|
58
|
-
"BottomRight": IconBottomRight,
|
|
59
|
-
"CascaderField": IconCascaderField,
|
|
60
|
-
"Catalogue": IconCatalogue,
|
|
61
|
-
"Clear": IconClear,
|
|
62
|
-
"Close": IconClose,
|
|
63
|
-
"Crl": IconCrl,
|
|
64
|
-
"Delete": IconDelete,
|
|
65
|
-
"Document": IconDocument,
|
|
66
|
-
"Down": IconDown,
|
|
67
|
-
"Download": IconDownload,
|
|
68
|
-
"Edit": IconEdit,
|
|
69
|
-
"Enter": IconEnter,
|
|
70
|
-
"Folder": IconFolder,
|
|
71
|
-
"Frame": IconFrame,
|
|
72
|
-
"Grid": IconGrid,
|
|
73
|
-
"Hidd": IconHidd,
|
|
74
|
-
"Home": IconHome,
|
|
75
|
-
"Left": IconLeft,
|
|
76
|
-
"Lock": IconLock,
|
|
77
|
-
"Login": IconLogin,
|
|
78
|
-
"Logink": IconLogink,
|
|
79
|
-
"More": IconMore,
|
|
80
|
-
"Mr": IconMr,
|
|
81
|
-
"Mute": IconMute,
|
|
82
|
-
"NodeTree": IconNodeTree,
|
|
83
|
-
"Page": IconPage,
|
|
84
|
-
"Pause": IconPause,
|
|
85
|
-
"Play": IconPlay,
|
|
86
|
-
"Plus": IconPlus,
|
|
87
|
-
"Qx": IconQx,
|
|
88
|
-
"Retreat": IconRetreat,
|
|
89
|
-
"Right": IconRight,
|
|
90
|
-
"Set": IconSet,
|
|
91
|
-
"Sound": IconSound,
|
|
92
|
-
"Star": IconStar,
|
|
93
|
-
"SubForm": IconSubForm,
|
|
94
|
-
"Tab": IconTab,
|
|
95
|
-
"Up": IconUp,
|
|
96
|
-
"Views": IconViews
|
|
3
|
+
const icons = {
|
|
4
|
+
"Bar": defineAsyncComponent(async () => await import("./vue/bar.js")),
|
|
5
|
+
"Below": defineAsyncComponent(async () => await import("./vue/below.js")),
|
|
6
|
+
"Bicycle": defineAsyncComponent(async () => await import("./vue/bicycle.js")),
|
|
7
|
+
"Bottom": defineAsyncComponent(async () => await import("./vue/bottom.js")),
|
|
8
|
+
"BottomLeft": defineAsyncComponent(async () => await import("./vue/bottom-left.js")),
|
|
9
|
+
"BottomRight": defineAsyncComponent(async () => await import("./vue/bottom-right.js")),
|
|
10
|
+
"CascaderField": defineAsyncComponent(async () => await import("./vue/cascader-field.js")),
|
|
11
|
+
"Catalogue": defineAsyncComponent(async () => await import("./vue/catalogue.js")),
|
|
12
|
+
"Clear": defineAsyncComponent(async () => await import("./vue/clear.js")),
|
|
13
|
+
"Close": defineAsyncComponent(async () => await import("./vue/close.js")),
|
|
14
|
+
"Crl": defineAsyncComponent(async () => await import("./vue/crl.js")),
|
|
15
|
+
"Delete": defineAsyncComponent(async () => await import("./vue/delete.js")),
|
|
16
|
+
"Document": defineAsyncComponent(async () => await import("./vue/document.js")),
|
|
17
|
+
"Down": defineAsyncComponent(async () => await import("./vue/down.js")),
|
|
18
|
+
"Download": defineAsyncComponent(async () => await import("./vue/download.js")),
|
|
19
|
+
"Edit": defineAsyncComponent(async () => await import("./vue/edit.js")),
|
|
20
|
+
"Enter": defineAsyncComponent(async () => await import("./vue/enter.js")),
|
|
21
|
+
"Folder": defineAsyncComponent(async () => await import("./vue/folder.js")),
|
|
22
|
+
"Frame": defineAsyncComponent(async () => await import("./vue/frame.js")),
|
|
23
|
+
"Grid": defineAsyncComponent(async () => await import("./vue/grid.js")),
|
|
24
|
+
"Hidd": defineAsyncComponent(async () => await import("./vue/hidd.js")),
|
|
25
|
+
"Home": defineAsyncComponent(async () => await import("./vue/home.js")),
|
|
26
|
+
"Left": defineAsyncComponent(async () => await import("./vue/left.js")),
|
|
27
|
+
"Lock": defineAsyncComponent(async () => await import("./vue/lock.js")),
|
|
28
|
+
"Login": defineAsyncComponent(async () => await import("./vue/login.js")),
|
|
29
|
+
"Logink": defineAsyncComponent(async () => await import("./vue/logink.js")),
|
|
30
|
+
"More": defineAsyncComponent(async () => await import("./vue/more.js")),
|
|
31
|
+
"Mr": defineAsyncComponent(async () => await import("./vue/mr.js")),
|
|
32
|
+
"Mute": defineAsyncComponent(async () => await import("./vue/mute.js")),
|
|
33
|
+
"NodeTree": defineAsyncComponent(async () => await import("./vue/node-tree.js")),
|
|
34
|
+
"Page": defineAsyncComponent(async () => await import("./vue/page.js")),
|
|
35
|
+
"Pause": defineAsyncComponent(async () => await import("./vue/pause.js")),
|
|
36
|
+
"Play": defineAsyncComponent(async () => await import("./vue/play.js")),
|
|
37
|
+
"Plus": defineAsyncComponent(async () => await import("./vue/plus.js")),
|
|
38
|
+
"Qx": defineAsyncComponent(async () => await import("./vue/qx.js")),
|
|
39
|
+
"Retreat": defineAsyncComponent(async () => await import("./vue/retreat.js")),
|
|
40
|
+
"Right": defineAsyncComponent(async () => await import("./vue/right.js")),
|
|
41
|
+
"Set": defineAsyncComponent(async () => await import("./vue/set.js")),
|
|
42
|
+
"Sound": defineAsyncComponent(async () => await import("./vue/sound.js")),
|
|
43
|
+
"Star": defineAsyncComponent(async () => await import("./vue/star.js")),
|
|
44
|
+
"SubForm": defineAsyncComponent(async () => await import("./vue/sub-form.js")),
|
|
45
|
+
"Tab": defineAsyncComponent(async () => await import("./vue/tab.js")),
|
|
46
|
+
"Up": defineAsyncComponent(async () => await import("./vue/up.js")),
|
|
47
|
+
"Views": defineAsyncComponent(async () => await import("./vue/views.js"))
|
|
97
48
|
};
|
|
98
49
|
var async_default = (app, options = {}) => {
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
for (const [key, component] of Object.entries(icons)) {
|
|
102
|
-
(_a = app.component) == null ? void 0 : _a.call(app, prefix + key, component);
|
|
103
|
-
}
|
|
104
|
-
};
|
|
105
|
-
export {
|
|
106
|
-
async_default as default,
|
|
107
|
-
icons
|
|
50
|
+
const { prefix = defaultPrefix } = options || {};
|
|
51
|
+
for (const [key, component] of Object.entries(icons)) app.component?.(prefix + key, component);
|
|
108
52
|
};
|
|
53
|
+
//#endregion
|
|
54
|
+
export { async_default as default, icons };
|
package/dist/components.cjs
CHANGED
|
@@ -1,68 +1,50 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
require('./chunk-IIVF4KK5.cjs');
|
|
10
|
-
require('./chunk-75ZPJI57.cjs');
|
|
11
|
-
|
|
12
|
-
// packages/components.ts
|
|
13
|
-
var config = {
|
|
14
|
-
prefix: "icon",
|
|
15
|
-
icon: "fang-icon",
|
|
16
|
-
name: "@fangzhongya/icons"
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_humpToLine = require("./humpToLine-gLzuzWOm.cjs");
|
|
3
|
+
const require_name = require("./name.cjs");
|
|
4
|
+
//#region packages/components.ts
|
|
5
|
+
const config = {
|
|
6
|
+
prefix: "icon",
|
|
7
|
+
icon: "fang-icon",
|
|
8
|
+
name: "@fangzhongya/icons"
|
|
17
9
|
};
|
|
18
10
|
function namefilter(c, name) {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
return vm.replace(reg1, p);
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
return vm;
|
|
11
|
+
const { icon = config.icon } = c;
|
|
12
|
+
let vm = require_humpToLine.humpToLine(name);
|
|
13
|
+
if (vm === icon) return vm;
|
|
14
|
+
const p = config.prefix ? config.prefix + "-" : "";
|
|
15
|
+
if (c.alias) {
|
|
16
|
+
const reg1 = new RegExp("^" + c.alias + "-" + p);
|
|
17
|
+
if (reg1.test(vm)) return vm.replace(reg1, p);
|
|
18
|
+
}
|
|
19
|
+
return vm;
|
|
32
20
|
}
|
|
33
21
|
function getFrom(mc, c) {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
};
|
|
47
|
-
} else {
|
|
48
|
-
return;
|
|
49
|
-
}
|
|
22
|
+
const { icon = config.icon } = c;
|
|
23
|
+
if (mc === icon) return {
|
|
24
|
+
name: "default",
|
|
25
|
+
from: `${config.name}/icon/index`
|
|
26
|
+
};
|
|
27
|
+
const p = config.prefix ? config.prefix + "-" : "";
|
|
28
|
+
const filename = p ? mc.replace(new RegExp("^" + p), "") : mc;
|
|
29
|
+
if (require_name.names.includes(filename)) return {
|
|
30
|
+
name: "default",
|
|
31
|
+
from: `${config.name}/vue/${filename}`
|
|
32
|
+
};
|
|
33
|
+
else return;
|
|
50
34
|
}
|
|
35
|
+
/**
|
|
36
|
+
* 自动按需匹配注册
|
|
37
|
+
* @returns
|
|
38
|
+
*/
|
|
51
39
|
function FangIconsResolver(conf = {}) {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
return;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
];
|
|
40
|
+
return [{
|
|
41
|
+
type: "component",
|
|
42
|
+
resolve: (name) => {
|
|
43
|
+
let mc = namefilter(conf, name);
|
|
44
|
+
if (mc) return getFrom(mc, conf);
|
|
45
|
+
else return;
|
|
46
|
+
}
|
|
47
|
+
}];
|
|
65
48
|
}
|
|
66
|
-
|
|
67
|
-
|
|
49
|
+
//#endregion
|
|
68
50
|
exports.FangIconsResolver = FangIconsResolver;
|
package/dist/components.js
CHANGED
|
@@ -1,68 +1,49 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
import "./chunk-BYXBJQAS.js";
|
|
9
|
-
import "./chunk-MOHILOKE.js";
|
|
10
|
-
import "./chunk-MLKGABMK.js";
|
|
11
|
-
|
|
12
|
-
// packages/components.ts
|
|
13
|
-
var config = {
|
|
14
|
-
prefix: "icon",
|
|
15
|
-
icon: "fang-icon",
|
|
16
|
-
name: "@fangzhongya/icons"
|
|
1
|
+
import { t as humpToLine } from "./humpToLine-Czhat99x.js";
|
|
2
|
+
import { names } from "./name.js";
|
|
3
|
+
//#region packages/components.ts
|
|
4
|
+
const config = {
|
|
5
|
+
prefix: "icon",
|
|
6
|
+
icon: "fang-icon",
|
|
7
|
+
name: "@fangzhongya/icons"
|
|
17
8
|
};
|
|
18
9
|
function namefilter(c, name) {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
return vm.replace(reg1, p);
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
return vm;
|
|
10
|
+
const { icon = config.icon } = c;
|
|
11
|
+
let vm = humpToLine(name);
|
|
12
|
+
if (vm === icon) return vm;
|
|
13
|
+
const p = config.prefix ? config.prefix + "-" : "";
|
|
14
|
+
if (c.alias) {
|
|
15
|
+
const reg1 = new RegExp("^" + c.alias + "-" + p);
|
|
16
|
+
if (reg1.test(vm)) return vm.replace(reg1, p);
|
|
17
|
+
}
|
|
18
|
+
return vm;
|
|
32
19
|
}
|
|
33
20
|
function getFrom(mc, c) {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
};
|
|
47
|
-
} else {
|
|
48
|
-
return;
|
|
49
|
-
}
|
|
21
|
+
const { icon = config.icon } = c;
|
|
22
|
+
if (mc === icon) return {
|
|
23
|
+
name: "default",
|
|
24
|
+
from: `${config.name}/icon/index`
|
|
25
|
+
};
|
|
26
|
+
const p = config.prefix ? config.prefix + "-" : "";
|
|
27
|
+
const filename = p ? mc.replace(new RegExp("^" + p), "") : mc;
|
|
28
|
+
if (names.includes(filename)) return {
|
|
29
|
+
name: "default",
|
|
30
|
+
from: `${config.name}/vue/${filename}`
|
|
31
|
+
};
|
|
32
|
+
else return;
|
|
50
33
|
}
|
|
34
|
+
/**
|
|
35
|
+
* 自动按需匹配注册
|
|
36
|
+
* @returns
|
|
37
|
+
*/
|
|
51
38
|
function FangIconsResolver(conf = {}) {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
return;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
];
|
|
39
|
+
return [{
|
|
40
|
+
type: "component",
|
|
41
|
+
resolve: (name) => {
|
|
42
|
+
let mc = namefilter(conf, name);
|
|
43
|
+
if (mc) return getFrom(mc, conf);
|
|
44
|
+
else return;
|
|
45
|
+
}
|
|
46
|
+
}];
|
|
65
47
|
}
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
};
|
|
48
|
+
//#endregion
|
|
49
|
+
export { FangIconsResolver };
|
package/dist/config.cjs
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
exports.defaultPrefix = _chunkIIVF4KK5cjs.defaultPrefix;
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
//#region packages/config.ts
|
|
3
|
+
const defaultPrefix = "Icon";
|
|
4
|
+
//#endregion
|
|
5
|
+
exports.defaultPrefix = defaultPrefix;
|
package/dist/config.js
CHANGED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
//#region node_modules/.pnpm/@fangzhongya+utils@0.0.82/node_modules/@fangzhongya/utils/dist/name/humpToLine.js
|
|
2
|
+
/**
|
|
3
|
+
* 驼峰命名转 - 方式
|
|
4
|
+
* @param { string } name 要转换的字符串
|
|
5
|
+
* @returns { string } 转换后字符串
|
|
6
|
+
*/
|
|
7
|
+
function humpToLine(name) {
|
|
8
|
+
const reg = /(([A-Z])([^A-Z]*))/g;
|
|
9
|
+
let result;
|
|
10
|
+
const arr = [];
|
|
11
|
+
let i = 0;
|
|
12
|
+
while ((result = reg.exec(name)) !== null) {
|
|
13
|
+
if (i == 0 && result.index != 0) arr.push(name.substring(0, result.index));
|
|
14
|
+
i++;
|
|
15
|
+
arr.push(result[1].toLowerCase());
|
|
16
|
+
}
|
|
17
|
+
if (arr.length == 0) return name;
|
|
18
|
+
else {
|
|
19
|
+
let a = arr.join("-");
|
|
20
|
+
a = a.replace(/[-]{2,}/g, "-");
|
|
21
|
+
return a;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
//#endregion
|
|
25
|
+
export { humpToLine as t };
|