@fangzhongya/icons 0.0.52 → 0.0.53

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.
Files changed (210) hide show
  1. package/dist/async.d.cts +141 -0
  2. package/dist/async.d.ts +141 -0
  3. package/dist/bar-Bdt8mHeX.d.cts +6 -0
  4. package/dist/bar-Bdt8mHeX.d.ts +6 -0
  5. package/dist/below-wz4oeZsn.d.cts +6 -0
  6. package/dist/below-wz4oeZsn.d.ts +6 -0
  7. package/dist/bicycle-CN0_HvvC.d.cts +6 -0
  8. package/dist/bicycle-CN0_HvvC.d.ts +6 -0
  9. package/dist/bottom-B1ZV5b3V.d.cts +6 -0
  10. package/dist/bottom-B1ZV5b3V.d.ts +6 -0
  11. package/dist/bottom-left-BJK1wKOY.d.cts +6 -0
  12. package/dist/bottom-left-BJK1wKOY.d.ts +6 -0
  13. package/dist/bottom-right-BIdY9kfC.d.cts +6 -0
  14. package/dist/bottom-right-BIdY9kfC.d.ts +6 -0
  15. package/dist/cascader-field-CsBrpWaF.d.cts +6 -0
  16. package/dist/cascader-field-CsBrpWaF.d.ts +6 -0
  17. package/dist/catalogue-BCzpsdvU.d.cts +6 -0
  18. package/dist/catalogue-BCzpsdvU.d.ts +6 -0
  19. package/dist/clear-oUzG_17m.d.cts +6 -0
  20. package/dist/clear-oUzG_17m.d.ts +6 -0
  21. package/dist/close-DacH-Yom.d.cts +6 -0
  22. package/dist/close-DacH-Yom.d.ts +6 -0
  23. package/dist/components.d.cts +17 -0
  24. package/dist/components.d.ts +17 -0
  25. package/dist/config.d.cts +7 -0
  26. package/dist/config.d.ts +7 -0
  27. package/dist/crl-D829G0Kg.d.cts +6 -0
  28. package/dist/crl-D829G0Kg.d.ts +6 -0
  29. package/dist/delete-DCpOpoIQ.d.cts +6 -0
  30. package/dist/delete-DCpOpoIQ.d.ts +6 -0
  31. package/dist/document-zA-gYr3_.d.cts +6 -0
  32. package/dist/document-zA-gYr3_.d.ts +6 -0
  33. package/dist/down-DvZPmg2j.d.cts +6 -0
  34. package/dist/down-DvZPmg2j.d.ts +6 -0
  35. package/dist/download-BexHrQaN.d.cts +6 -0
  36. package/dist/download-BexHrQaN.d.ts +6 -0
  37. package/dist/edit-BH1qI1T0.d.cts +6 -0
  38. package/dist/edit-BH1qI1T0.d.ts +6 -0
  39. package/dist/enter-CIcilzWB.d.cts +6 -0
  40. package/dist/enter-CIcilzWB.d.ts +6 -0
  41. package/dist/folder-C3uzsLbr.d.cts +6 -0
  42. package/dist/folder-C3uzsLbr.d.ts +6 -0
  43. package/dist/frame-Bes_-5hL.d.cts +6 -0
  44. package/dist/frame-Bes_-5hL.d.ts +6 -0
  45. package/dist/grid-CnMS6YGI.d.cts +6 -0
  46. package/dist/grid-CnMS6YGI.d.ts +6 -0
  47. package/dist/hidd-wcrKjFhA.d.cts +6 -0
  48. package/dist/hidd-wcrKjFhA.d.ts +6 -0
  49. package/dist/home-BVQRBHRU.d.cts +6 -0
  50. package/dist/home-BVQRBHRU.d.ts +6 -0
  51. package/dist/icon/index.d.cts +136 -0
  52. package/dist/icon/index.d.ts +136 -0
  53. package/dist/iconify.d.cts +55 -0
  54. package/dist/iconify.d.ts +55 -0
  55. package/dist/index.d.cts +51 -0
  56. package/dist/index.d.ts +51 -0
  57. package/dist/index.json +1 -1
  58. package/dist/{json-BpszFHNs.js → json-BKPP5Mlr.js} +3 -3
  59. package/dist/{json-C96CKb6M.cjs → json-IGrD8_vM.cjs} +4 -4
  60. package/dist/json.cjs +2 -2
  61. package/dist/json.d.cts +3 -0
  62. package/dist/json.d.ts +4 -0
  63. package/dist/json.js +2 -2
  64. package/dist/left-B3721MJJ.d.cts +6 -0
  65. package/dist/left-B3721MJJ.d.ts +6 -0
  66. package/dist/lock-mgSuNhGG.d.cts +6 -0
  67. package/dist/lock-mgSuNhGG.d.ts +6 -0
  68. package/dist/login-mcwpzqMp.d.cts +6 -0
  69. package/dist/login-mcwpzqMp.d.ts +6 -0
  70. package/dist/logink-DWeD4iVq.d.cts +6 -0
  71. package/dist/logink-DWeD4iVq.d.ts +6 -0
  72. package/dist/more-DlwRPOL-.d.cts +6 -0
  73. package/dist/more-DlwRPOL-.d.ts +6 -0
  74. package/dist/mr-CFIvZkwU.d.cts +6 -0
  75. package/dist/mr-CFIvZkwU.d.ts +6 -0
  76. package/dist/mute-T1_LFQM9.d.cts +6 -0
  77. package/dist/mute-T1_LFQM9.d.ts +6 -0
  78. package/dist/name.d.cts +16 -0
  79. package/dist/name.d.ts +16 -0
  80. package/dist/node-tree-0GAabW8w.d.cts +6 -0
  81. package/dist/node-tree-0GAabW8w.d.ts +6 -0
  82. package/dist/page-xROWQBtB.d.cts +6 -0
  83. package/dist/page-xROWQBtB.d.ts +6 -0
  84. package/dist/pause-cLPubYio.d.cts +6 -0
  85. package/dist/pause-cLPubYio.d.ts +6 -0
  86. package/dist/picker/dialog.d.cts +17 -0
  87. package/dist/picker/dialog.d.ts +18 -0
  88. package/dist/picker/index.d.cts +119 -0
  89. package/dist/picker/index.d.ts +119 -0
  90. package/dist/play-CDhVCRhH.d.cts +6 -0
  91. package/dist/play-CDhVCRhH.d.ts +6 -0
  92. package/dist/plus-zzG8Eoct.d.cts +6 -0
  93. package/dist/plus-zzG8Eoct.d.ts +6 -0
  94. package/dist/qx-Dasb5PIo.d.cts +6 -0
  95. package/dist/qx-Dasb5PIo.d.ts +6 -0
  96. package/dist/retreat-DaQj66uq.d.cts +6 -0
  97. package/dist/retreat-DaQj66uq.d.ts +6 -0
  98. package/dist/right-Cq_Ie_pK.d.cts +6 -0
  99. package/dist/right-Cq_Ie_pK.d.ts +6 -0
  100. package/dist/set-BAt1SOIT.d.cts +6 -0
  101. package/dist/set-BAt1SOIT.d.ts +6 -0
  102. package/dist/sound-C9qtuv2l.d.cts +6 -0
  103. package/dist/sound-C9qtuv2l.d.ts +6 -0
  104. package/dist/star-C0cNKyLP.d.cts +6 -0
  105. package/dist/star-C0cNKyLP.d.ts +6 -0
  106. package/dist/sub-form-Do-YgMUe.d.cts +6 -0
  107. package/dist/sub-form-Do-YgMUe.d.ts +6 -0
  108. package/dist/tab-5cOn6QJy.d.cts +6 -0
  109. package/dist/tab-5cOn6QJy.d.ts +6 -0
  110. package/dist/up-TMH4QSNk.d.cts +6 -0
  111. package/dist/up-TMH4QSNk.d.ts +6 -0
  112. package/dist/util.d.cts +7 -0
  113. package/dist/util.d.ts +7 -0
  114. package/dist/views-DoiacMc0.d.cts +6 -0
  115. package/dist/views-DoiacMc0.d.ts +6 -0
  116. package/dist/vite/index.cjs +3 -3
  117. package/dist/vite/index.d.cts +57 -0
  118. package/dist/vite/index.d.ts +57 -0
  119. package/dist/vite/index.js +3 -3
  120. package/dist/vue/bar.d.cts +2 -0
  121. package/dist/vue/bar.d.ts +2 -0
  122. package/dist/vue/below.d.cts +2 -0
  123. package/dist/vue/below.d.ts +2 -0
  124. package/dist/vue/bicycle.d.cts +2 -0
  125. package/dist/vue/bicycle.d.ts +2 -0
  126. package/dist/vue/bottom-left.d.cts +2 -0
  127. package/dist/vue/bottom-left.d.ts +2 -0
  128. package/dist/vue/bottom-right.d.cts +2 -0
  129. package/dist/vue/bottom-right.d.ts +2 -0
  130. package/dist/vue/bottom.d.cts +2 -0
  131. package/dist/vue/bottom.d.ts +2 -0
  132. package/dist/vue/cascader-field.d.cts +2 -0
  133. package/dist/vue/cascader-field.d.ts +2 -0
  134. package/dist/vue/catalogue.d.cts +2 -0
  135. package/dist/vue/catalogue.d.ts +2 -0
  136. package/dist/vue/clear.d.cts +2 -0
  137. package/dist/vue/clear.d.ts +2 -0
  138. package/dist/vue/close.d.cts +2 -0
  139. package/dist/vue/close.d.ts +2 -0
  140. package/dist/vue/crl.d.cts +2 -0
  141. package/dist/vue/crl.d.ts +2 -0
  142. package/dist/vue/delete.d.cts +2 -0
  143. package/dist/vue/delete.d.ts +2 -0
  144. package/dist/vue/document.d.cts +2 -0
  145. package/dist/vue/document.d.ts +2 -0
  146. package/dist/vue/down.d.cts +2 -0
  147. package/dist/vue/down.d.ts +2 -0
  148. package/dist/vue/download.d.cts +2 -0
  149. package/dist/vue/download.d.ts +2 -0
  150. package/dist/vue/edit.d.cts +2 -0
  151. package/dist/vue/edit.d.ts +2 -0
  152. package/dist/vue/enter.d.cts +2 -0
  153. package/dist/vue/enter.d.ts +2 -0
  154. package/dist/vue/folder.d.cts +2 -0
  155. package/dist/vue/folder.d.ts +2 -0
  156. package/dist/vue/frame.d.cts +2 -0
  157. package/dist/vue/frame.d.ts +2 -0
  158. package/dist/vue/grid.d.cts +2 -0
  159. package/dist/vue/grid.d.ts +2 -0
  160. package/dist/vue/hidd.d.cts +2 -0
  161. package/dist/vue/hidd.d.ts +2 -0
  162. package/dist/vue/home.d.cts +2 -0
  163. package/dist/vue/home.d.ts +2 -0
  164. package/dist/vue/index.d.cts +45 -0
  165. package/dist/vue/index.d.ts +45 -0
  166. package/dist/vue/left.d.cts +2 -0
  167. package/dist/vue/left.d.ts +2 -0
  168. package/dist/vue/lock.d.cts +2 -0
  169. package/dist/vue/lock.d.ts +2 -0
  170. package/dist/vue/login.d.cts +2 -0
  171. package/dist/vue/login.d.ts +2 -0
  172. package/dist/vue/logink.d.cts +2 -0
  173. package/dist/vue/logink.d.ts +2 -0
  174. package/dist/vue/more.d.cts +2 -0
  175. package/dist/vue/more.d.ts +2 -0
  176. package/dist/vue/mr.d.cts +2 -0
  177. package/dist/vue/mr.d.ts +2 -0
  178. package/dist/vue/mute.d.cts +2 -0
  179. package/dist/vue/mute.d.ts +2 -0
  180. package/dist/vue/node-tree.d.cts +2 -0
  181. package/dist/vue/node-tree.d.ts +2 -0
  182. package/dist/vue/page.d.cts +2 -0
  183. package/dist/vue/page.d.ts +2 -0
  184. package/dist/vue/pause.d.cts +2 -0
  185. package/dist/vue/pause.d.ts +2 -0
  186. package/dist/vue/play.d.cts +2 -0
  187. package/dist/vue/play.d.ts +2 -0
  188. package/dist/vue/plus.d.cts +2 -0
  189. package/dist/vue/plus.d.ts +2 -0
  190. package/dist/vue/qx.d.cts +2 -0
  191. package/dist/vue/qx.d.ts +2 -0
  192. package/dist/vue/retreat.d.cts +2 -0
  193. package/dist/vue/retreat.d.ts +2 -0
  194. package/dist/vue/right.d.cts +2 -0
  195. package/dist/vue/right.d.ts +2 -0
  196. package/dist/vue/set.d.cts +2 -0
  197. package/dist/vue/set.d.ts +2 -0
  198. package/dist/vue/sound.d.cts +2 -0
  199. package/dist/vue/sound.d.ts +2 -0
  200. package/dist/vue/star.d.cts +2 -0
  201. package/dist/vue/star.d.ts +2 -0
  202. package/dist/vue/sub-form.d.cts +2 -0
  203. package/dist/vue/sub-form.d.ts +2 -0
  204. package/dist/vue/tab.d.cts +2 -0
  205. package/dist/vue/tab.d.ts +2 -0
  206. package/dist/vue/up.d.cts +2 -0
  207. package/dist/vue/up.d.ts +2 -0
  208. package/dist/vue/views.d.cts +2 -0
  209. package/dist/vue/views.d.ts +2 -0
  210. package/package.json +1 -1
@@ -0,0 +1,6 @@
1
+ //#region packages/vue/sound.d.ts
2
+ declare const _default: import("vue").DefineComponent<{}, () => globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
3
+ [key: string]: any;
4
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
5
+ //#endregion
6
+ export { _default as t };
@@ -0,0 +1,6 @@
1
+ //#region packages/vue/star.d.ts
2
+ declare const _default: import("vue").DefineComponent<{}, () => globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
3
+ [key: string]: any;
4
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
5
+ //#endregion
6
+ export { _default as t };
@@ -0,0 +1,6 @@
1
+ //#region packages/vue/star.d.ts
2
+ declare const _default: import("vue").DefineComponent<{}, () => globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
3
+ [key: string]: any;
4
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
5
+ //#endregion
6
+ export { _default as t };
@@ -0,0 +1,6 @@
1
+ //#region packages/vue/sub-form.d.ts
2
+ declare const _default: import("vue").DefineComponent<{}, () => globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
3
+ [key: string]: any;
4
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
5
+ //#endregion
6
+ export { _default as t };
@@ -0,0 +1,6 @@
1
+ //#region packages/vue/sub-form.d.ts
2
+ declare const _default: import("vue").DefineComponent<{}, () => globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
3
+ [key: string]: any;
4
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
5
+ //#endregion
6
+ export { _default as t };
@@ -0,0 +1,6 @@
1
+ //#region packages/vue/tab.d.ts
2
+ declare const _default: import("vue").DefineComponent<{}, () => globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
3
+ [key: string]: any;
4
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
5
+ //#endregion
6
+ export { _default as t };
@@ -0,0 +1,6 @@
1
+ //#region packages/vue/tab.d.ts
2
+ declare const _default: import("vue").DefineComponent<{}, () => globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
3
+ [key: string]: any;
4
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
5
+ //#endregion
6
+ export { _default as t };
@@ -0,0 +1,6 @@
1
+ //#region packages/vue/up.d.ts
2
+ declare const _default: import("vue").DefineComponent<{}, () => globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
3
+ [key: string]: any;
4
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
5
+ //#endregion
6
+ export { _default as t };
@@ -0,0 +1,6 @@
1
+ //#region packages/vue/up.d.ts
2
+ declare const _default: import("vue").DefineComponent<{}, () => globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
3
+ [key: string]: any;
4
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
5
+ //#endregion
6
+ export { _default as t };
@@ -0,0 +1,7 @@
1
+ import { Component, Plugin } from "vue";
2
+
3
+ //#region packages/util.d.ts
4
+ type SFCWithInstall<T> = T & Plugin;
5
+ declare function withInstall<T extends Component>(component: T, name?: string): SFCWithInstall<T>;
6
+ //#endregion
7
+ export { SFCWithInstall, withInstall };
package/dist/util.d.ts ADDED
@@ -0,0 +1,7 @@
1
+ import { Component, Plugin } from "vue";
2
+
3
+ //#region packages/util.d.ts
4
+ type SFCWithInstall<T> = T & Plugin;
5
+ declare function withInstall<T extends Component>(component: T, name?: string): SFCWithInstall<T>;
6
+ //#endregion
7
+ export { SFCWithInstall, withInstall };
@@ -0,0 +1,6 @@
1
+ //#region packages/vue/views.d.ts
2
+ declare const _default: import("vue").DefineComponent<{}, () => globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
3
+ [key: string]: any;
4
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
5
+ //#endregion
6
+ export { _default as t };
@@ -0,0 +1,6 @@
1
+ //#region packages/vue/views.d.ts
2
+ declare const _default: import("vue").DefineComponent<{}, () => globalThis.VNode<import("vue").RendererNode, import("vue").RendererElement, {
3
+ [key: string]: any;
4
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
5
+ //#endregion
6
+ export { _default as t };
@@ -1,7 +1,7 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_lineToLargeHump = require("../lineToLargeHump-BajF216g.cjs");
3
3
  const require_iconify = require("../iconify.cjs");
4
- const require_json = require("../json-C96CKb6M.cjs");
4
+ const require_json = require("../json-IGrD8_vM.cjs");
5
5
  let node_path = require("node:path");
6
6
  let node_fs = require("node:fs");
7
7
  let path = require("path");
@@ -944,7 +944,7 @@ function findComponents(code, name) {
944
944
  return components;
945
945
  }
946
946
  function getText(iconName, match, name) {
947
- const svg = require_iconify.getIconifySVG(require_json.json_default, name);
947
+ const svg = require_iconify.getIconifySVG(require_json.jsons, name);
948
948
  return {
949
949
  text: `${match.fullMatch.replace(`name="${iconName}"`, "").replace(`</${match.componentName}>`, "")}${svg}</${match.componentName}>`,
950
950
  imptext: ""
@@ -967,7 +967,7 @@ function replaceComponent(match, type, dynamic, customReplacement, alias) {
967
967
  if (alias) {
968
968
  if (iconName && iconName.startsWith(alias + "-")) name = iconName.substring(alias.length + 1);
969
969
  }
970
- if (!(require_json.json_default.icons[iconName] || require_json.json_default.icons[name])) return {
970
+ if (!(require_json.jsons.icons[iconName] || require_json.jsons.icons[name])) return {
971
971
  text: match.fullMatch,
972
972
  imptext: ""
973
973
  };
@@ -0,0 +1,57 @@
1
+ import { Plugin } from "vite";
2
+
3
+ //#region packages/vite/index.d.ts
4
+ type IconReplacement = (iconName: string, attributes: ComponentAttributes, alias?: string) => {
5
+ text: string;
6
+ imptext: string;
7
+ };
8
+ interface PluginOptions {
9
+ /**
10
+ * 组件名称
11
+ */
12
+ name?: string;
13
+ /**
14
+ * 图标默认类型
15
+ */
16
+ type?: string;
17
+ /**
18
+ * 图标目录
19
+ */
20
+ directory?: string;
21
+ customReplacement?: IconReplacement;
22
+ /**
23
+ * 是否创建虚拟组件
24
+ */
25
+ virtual?: boolean;
26
+ /**
27
+ * 是否替换组件
28
+ */
29
+ replaced?: boolean;
30
+ /**
31
+ * 是否加载图片到本地public'
32
+ */
33
+ mobile?: boolean;
34
+ /**
35
+ * 是否动态更新
36
+ */
37
+ dynamic?: boolean;
38
+ /**
39
+ * 别名
40
+ */
41
+ alias?: string;
42
+ }
43
+ interface ComponentAttributes {
44
+ name: string;
45
+ [key: string]: string | boolean | number;
46
+ }
47
+ interface ComponentMatchInfo {
48
+ componentName: string;
49
+ fullMatch: string;
50
+ start: number;
51
+ end: number;
52
+ attributes: ComponentAttributes;
53
+ isSelfClosing: boolean;
54
+ }
55
+ declare function simpleFangIcon(options?: PluginOptions): Plugin;
56
+ //#endregion
57
+ export { ComponentAttributes, ComponentMatchInfo, IconReplacement, PluginOptions, simpleFangIcon };
@@ -0,0 +1,57 @@
1
+ import { Plugin } from "vite";
2
+
3
+ //#region packages/vite/index.d.ts
4
+ type IconReplacement = (iconName: string, attributes: ComponentAttributes, alias?: string) => {
5
+ text: string;
6
+ imptext: string;
7
+ };
8
+ interface PluginOptions {
9
+ /**
10
+ * 组件名称
11
+ */
12
+ name?: string;
13
+ /**
14
+ * 图标默认类型
15
+ */
16
+ type?: string;
17
+ /**
18
+ * 图标目录
19
+ */
20
+ directory?: string;
21
+ customReplacement?: IconReplacement;
22
+ /**
23
+ * 是否创建虚拟组件
24
+ */
25
+ virtual?: boolean;
26
+ /**
27
+ * 是否替换组件
28
+ */
29
+ replaced?: boolean;
30
+ /**
31
+ * 是否加载图片到本地public'
32
+ */
33
+ mobile?: boolean;
34
+ /**
35
+ * 是否动态更新
36
+ */
37
+ dynamic?: boolean;
38
+ /**
39
+ * 别名
40
+ */
41
+ alias?: string;
42
+ }
43
+ interface ComponentAttributes {
44
+ name: string;
45
+ [key: string]: string | boolean | number;
46
+ }
47
+ interface ComponentMatchInfo {
48
+ componentName: string;
49
+ fullMatch: string;
50
+ start: number;
51
+ end: number;
52
+ attributes: ComponentAttributes;
53
+ isSelfClosing: boolean;
54
+ }
55
+ declare function simpleFangIcon(options?: PluginOptions): Plugin;
56
+ //#endregion
57
+ export { ComponentAttributes, ComponentMatchInfo, IconReplacement, PluginOptions, simpleFangIcon };
@@ -1,6 +1,6 @@
1
1
  import { t as lineToLargeHump } from "../lineToLargeHump-CHL4-tNE.js";
2
2
  import { getIconifySVG } from "../iconify.js";
3
- import { t as json_default } from "../json-BpszFHNs.js";
3
+ import { t as jsons } from "../json-BKPP5Mlr.js";
4
4
  import { join, resolve } from "node:path";
5
5
  import { access, constants, createReadStream, mkdir, open, readFile, readdir, stat, write, writeFile } from "node:fs";
6
6
  import { join as join$1 } from "path";
@@ -943,7 +943,7 @@ function findComponents(code, name) {
943
943
  return components;
944
944
  }
945
945
  function getText(iconName, match, name) {
946
- const svg = getIconifySVG(json_default, name);
946
+ const svg = getIconifySVG(jsons, name);
947
947
  return {
948
948
  text: `${match.fullMatch.replace(`name="${iconName}"`, "").replace(`</${match.componentName}>`, "")}${svg}</${match.componentName}>`,
949
949
  imptext: ""
@@ -966,7 +966,7 @@ function replaceComponent(match, type, dynamic, customReplacement, alias) {
966
966
  if (alias) {
967
967
  if (iconName && iconName.startsWith(alias + "-")) name = iconName.substring(alias.length + 1);
968
968
  }
969
- if (!(json_default.icons[iconName] || json_default.icons[name])) return {
969
+ if (!(jsons.icons[iconName] || jsons.icons[name])) return {
970
970
  text: match.fullMatch,
971
971
  imptext: ""
972
972
  };
@@ -0,0 +1,2 @@
1
+ import { t as _default } from "../bar-Bdt8mHeX.cjs";
2
+ export = _default;
@@ -0,0 +1,2 @@
1
+ import { t as _default } from "../bar-Bdt8mHeX.js";
2
+ export { _default as default };
@@ -0,0 +1,2 @@
1
+ import { t as _default } from "../below-wz4oeZsn.cjs";
2
+ export = _default;
@@ -0,0 +1,2 @@
1
+ import { t as _default } from "../below-wz4oeZsn.js";
2
+ export { _default as default };
@@ -0,0 +1,2 @@
1
+ import { t as _default } from "../bicycle-CN0_HvvC.cjs";
2
+ export = _default;
@@ -0,0 +1,2 @@
1
+ import { t as _default } from "../bicycle-CN0_HvvC.js";
2
+ export { _default as default };
@@ -0,0 +1,2 @@
1
+ import { t as _default } from "../bottom-left-BJK1wKOY.cjs";
2
+ export = _default;
@@ -0,0 +1,2 @@
1
+ import { t as _default } from "../bottom-left-BJK1wKOY.js";
2
+ export { _default as default };
@@ -0,0 +1,2 @@
1
+ import { t as _default } from "../bottom-right-BIdY9kfC.cjs";
2
+ export = _default;
@@ -0,0 +1,2 @@
1
+ import { t as _default } from "../bottom-right-BIdY9kfC.js";
2
+ export { _default as default };
@@ -0,0 +1,2 @@
1
+ import { t as _default } from "../bottom-B1ZV5b3V.cjs";
2
+ export = _default;
@@ -0,0 +1,2 @@
1
+ import { t as _default } from "../bottom-B1ZV5b3V.js";
2
+ export { _default as default };
@@ -0,0 +1,2 @@
1
+ import { t as _default } from "../cascader-field-CsBrpWaF.cjs";
2
+ export = _default;
@@ -0,0 +1,2 @@
1
+ import { t as _default } from "../cascader-field-CsBrpWaF.js";
2
+ export { _default as default };
@@ -0,0 +1,2 @@
1
+ import { t as _default } from "../catalogue-BCzpsdvU.cjs";
2
+ export = _default;
@@ -0,0 +1,2 @@
1
+ import { t as _default } from "../catalogue-BCzpsdvU.js";
2
+ export { _default as default };
@@ -0,0 +1,2 @@
1
+ import { t as _default } from "../clear-oUzG_17m.cjs";
2
+ export = _default;
@@ -0,0 +1,2 @@
1
+ import { t as _default } from "../clear-oUzG_17m.js";
2
+ export { _default as default };
@@ -0,0 +1,2 @@
1
+ import { t as _default } from "../close-DacH-Yom.cjs";
2
+ export = _default;
@@ -0,0 +1,2 @@
1
+ import { t as _default } from "../close-DacH-Yom.js";
2
+ export { _default as default };
@@ -0,0 +1,2 @@
1
+ import { t as _default } from "../crl-D829G0Kg.cjs";
2
+ export = _default;
@@ -0,0 +1,2 @@
1
+ import { t as _default } from "../crl-D829G0Kg.js";
2
+ export { _default as default };
@@ -0,0 +1,2 @@
1
+ import { t as _default } from "../delete-DCpOpoIQ.cjs";
2
+ export = _default;
@@ -0,0 +1,2 @@
1
+ import { t as _default } from "../delete-DCpOpoIQ.js";
2
+ export { _default as default };
@@ -0,0 +1,2 @@
1
+ import { t as _default } from "../document-zA-gYr3_.cjs";
2
+ export = _default;
@@ -0,0 +1,2 @@
1
+ import { t as _default } from "../document-zA-gYr3_.js";
2
+ export { _default as default };
@@ -0,0 +1,2 @@
1
+ import { t as _default } from "../down-DvZPmg2j.cjs";
2
+ export = _default;
@@ -0,0 +1,2 @@
1
+ import { t as _default } from "../down-DvZPmg2j.js";
2
+ export { _default as default };
@@ -0,0 +1,2 @@
1
+ import { t as _default } from "../download-BexHrQaN.cjs";
2
+ export = _default;
@@ -0,0 +1,2 @@
1
+ import { t as _default } from "../download-BexHrQaN.js";
2
+ export { _default as default };
@@ -0,0 +1,2 @@
1
+ import { t as _default } from "../edit-BH1qI1T0.cjs";
2
+ export = _default;
@@ -0,0 +1,2 @@
1
+ import { t as _default } from "../edit-BH1qI1T0.js";
2
+ export { _default as default };
@@ -0,0 +1,2 @@
1
+ import { t as _default } from "../enter-CIcilzWB.cjs";
2
+ export = _default;
@@ -0,0 +1,2 @@
1
+ import { t as _default } from "../enter-CIcilzWB.js";
2
+ export { _default as default };
@@ -0,0 +1,2 @@
1
+ import { t as _default } from "../folder-C3uzsLbr.cjs";
2
+ export = _default;
@@ -0,0 +1,2 @@
1
+ import { t as _default } from "../folder-C3uzsLbr.js";
2
+ export { _default as default };
@@ -0,0 +1,2 @@
1
+ import { t as _default } from "../frame-Bes_-5hL.cjs";
2
+ export = _default;
@@ -0,0 +1,2 @@
1
+ import { t as _default } from "../frame-Bes_-5hL.js";
2
+ export { _default as default };
@@ -0,0 +1,2 @@
1
+ import { t as _default } from "../grid-CnMS6YGI.cjs";
2
+ export = _default;
@@ -0,0 +1,2 @@
1
+ import { t as _default } from "../grid-CnMS6YGI.js";
2
+ export { _default as default };
@@ -0,0 +1,2 @@
1
+ import { t as _default } from "../hidd-wcrKjFhA.cjs";
2
+ export = _default;
@@ -0,0 +1,2 @@
1
+ import { t as _default } from "../hidd-wcrKjFhA.js";
2
+ export { _default as default };
@@ -0,0 +1,2 @@
1
+ import { t as _default } from "../home-BVQRBHRU.cjs";
2
+ export = _default;
@@ -0,0 +1,2 @@
1
+ import { t as _default } from "../home-BVQRBHRU.js";
2
+ export { _default as default };
@@ -0,0 +1,45 @@
1
+ import { t as _default } from "../bar-Bdt8mHeX.cjs";
2
+ import { t as _default$1 } from "../below-wz4oeZsn.cjs";
3
+ import { t as _default$2 } from "../bicycle-CN0_HvvC.cjs";
4
+ import { t as _default$3 } from "../bottom-B1ZV5b3V.cjs";
5
+ import { t as _default$4 } from "../bottom-left-BJK1wKOY.cjs";
6
+ import { t as _default$5 } from "../bottom-right-BIdY9kfC.cjs";
7
+ import { t as _default$6 } from "../cascader-field-CsBrpWaF.cjs";
8
+ import { t as _default$7 } from "../catalogue-BCzpsdvU.cjs";
9
+ import { t as _default$8 } from "../clear-oUzG_17m.cjs";
10
+ import { t as _default$9 } from "../close-DacH-Yom.cjs";
11
+ import { t as _default$10 } from "../crl-D829G0Kg.cjs";
12
+ import { t as _default$11 } from "../delete-DCpOpoIQ.cjs";
13
+ import { t as _default$12 } from "../document-zA-gYr3_.cjs";
14
+ import { t as _default$13 } from "../down-DvZPmg2j.cjs";
15
+ import { t as _default$14 } from "../download-BexHrQaN.cjs";
16
+ import { t as _default$15 } from "../edit-BH1qI1T0.cjs";
17
+ import { t as _default$16 } from "../enter-CIcilzWB.cjs";
18
+ import { t as _default$17 } from "../folder-C3uzsLbr.cjs";
19
+ import { t as _default$18 } from "../frame-Bes_-5hL.cjs";
20
+ import { t as _default$19 } from "../grid-CnMS6YGI.cjs";
21
+ import { t as _default$20 } from "../hidd-wcrKjFhA.cjs";
22
+ import { t as _default$21 } from "../home-BVQRBHRU.cjs";
23
+ import { t as _default$22 } from "../left-B3721MJJ.cjs";
24
+ import { t as _default$23 } from "../lock-mgSuNhGG.cjs";
25
+ import { t as _default$24 } from "../login-mcwpzqMp.cjs";
26
+ import { t as _default$25 } from "../logink-DWeD4iVq.cjs";
27
+ import { t as _default$26 } from "../more-DlwRPOL-.cjs";
28
+ import { t as _default$27 } from "../mr-CFIvZkwU.cjs";
29
+ import { t as _default$28 } from "../mute-T1_LFQM9.cjs";
30
+ import { t as _default$29 } from "../node-tree-0GAabW8w.cjs";
31
+ import { t as _default$30 } from "../page-xROWQBtB.cjs";
32
+ import { t as _default$31 } from "../pause-cLPubYio.cjs";
33
+ import { t as _default$32 } from "../play-CDhVCRhH.cjs";
34
+ import { t as _default$33 } from "../plus-zzG8Eoct.cjs";
35
+ import { t as _default$34 } from "../qx-Dasb5PIo.cjs";
36
+ import { t as _default$35 } from "../retreat-DaQj66uq.cjs";
37
+ import { t as _default$36 } from "../right-Cq_Ie_pK.cjs";
38
+ import { t as _default$37 } from "../set-BAt1SOIT.cjs";
39
+ import { t as _default$38 } from "../sound-C9qtuv2l.cjs";
40
+ import { t as _default$39 } from "../star-C0cNKyLP.cjs";
41
+ import { t as _default$40 } from "../sub-form-Do-YgMUe.cjs";
42
+ import { t as _default$41 } from "../tab-5cOn6QJy.cjs";
43
+ import { t as _default$42 } from "../up-TMH4QSNk.cjs";
44
+ import { t as _default$43 } from "../views-DoiacMc0.cjs";
45
+ export { _default as Bar, _default$1 as Below, _default$2 as Bicycle, _default$3 as Bottom, _default$4 as BottomLeft, _default$5 as BottomRight, _default$6 as CascaderField, _default$7 as Catalogue, _default$8 as Clear, _default$9 as Close, _default$10 as Crl, _default$11 as Delete, _default$12 as Document, _default$13 as Down, _default$14 as Download, _default$15 as Edit, _default$16 as Enter, _default$17 as Folder, _default$18 as Frame, _default$19 as Grid, _default$20 as Hidd, _default$21 as Home, _default$22 as Left, _default$23 as Lock, _default$24 as Login, _default$25 as Logink, _default$26 as More, _default$27 as Mr, _default$28 as Mute, _default$29 as NodeTree, _default$30 as Page, _default$31 as Pause, _default$32 as Play, _default$33 as Plus, _default$34 as Qx, _default$35 as Retreat, _default$36 as Right, _default$37 as Set, _default$38 as Sound, _default$39 as Star, _default$40 as SubForm, _default$41 as Tab, _default$42 as Up, _default$43 as Views };
@@ -0,0 +1,45 @@
1
+ import { t as _default } from "../bar-Bdt8mHeX.js";
2
+ import { t as _default$1 } from "../below-wz4oeZsn.js";
3
+ import { t as _default$2 } from "../bicycle-CN0_HvvC.js";
4
+ import { t as _default$3 } from "../bottom-B1ZV5b3V.js";
5
+ import { t as _default$4 } from "../bottom-left-BJK1wKOY.js";
6
+ import { t as _default$5 } from "../bottom-right-BIdY9kfC.js";
7
+ import { t as _default$6 } from "../cascader-field-CsBrpWaF.js";
8
+ import { t as _default$7 } from "../catalogue-BCzpsdvU.js";
9
+ import { t as _default$8 } from "../clear-oUzG_17m.js";
10
+ import { t as _default$9 } from "../close-DacH-Yom.js";
11
+ import { t as _default$10 } from "../crl-D829G0Kg.js";
12
+ import { t as _default$11 } from "../delete-DCpOpoIQ.js";
13
+ import { t as _default$12 } from "../document-zA-gYr3_.js";
14
+ import { t as _default$13 } from "../down-DvZPmg2j.js";
15
+ import { t as _default$14 } from "../download-BexHrQaN.js";
16
+ import { t as _default$15 } from "../edit-BH1qI1T0.js";
17
+ import { t as _default$16 } from "../enter-CIcilzWB.js";
18
+ import { t as _default$17 } from "../folder-C3uzsLbr.js";
19
+ import { t as _default$18 } from "../frame-Bes_-5hL.js";
20
+ import { t as _default$19 } from "../grid-CnMS6YGI.js";
21
+ import { t as _default$20 } from "../hidd-wcrKjFhA.js";
22
+ import { t as _default$21 } from "../home-BVQRBHRU.js";
23
+ import { t as _default$22 } from "../left-B3721MJJ.js";
24
+ import { t as _default$23 } from "../lock-mgSuNhGG.js";
25
+ import { t as _default$24 } from "../login-mcwpzqMp.js";
26
+ import { t as _default$25 } from "../logink-DWeD4iVq.js";
27
+ import { t as _default$26 } from "../more-DlwRPOL-.js";
28
+ import { t as _default$27 } from "../mr-CFIvZkwU.js";
29
+ import { t as _default$28 } from "../mute-T1_LFQM9.js";
30
+ import { t as _default$29 } from "../node-tree-0GAabW8w.js";
31
+ import { t as _default$30 } from "../page-xROWQBtB.js";
32
+ import { t as _default$31 } from "../pause-cLPubYio.js";
33
+ import { t as _default$32 } from "../play-CDhVCRhH.js";
34
+ import { t as _default$33 } from "../plus-zzG8Eoct.js";
35
+ import { t as _default$34 } from "../qx-Dasb5PIo.js";
36
+ import { t as _default$35 } from "../retreat-DaQj66uq.js";
37
+ import { t as _default$36 } from "../right-Cq_Ie_pK.js";
38
+ import { t as _default$37 } from "../set-BAt1SOIT.js";
39
+ import { t as _default$38 } from "../sound-C9qtuv2l.js";
40
+ import { t as _default$39 } from "../star-C0cNKyLP.js";
41
+ import { t as _default$40 } from "../sub-form-Do-YgMUe.js";
42
+ import { t as _default$41 } from "../tab-5cOn6QJy.js";
43
+ import { t as _default$42 } from "../up-TMH4QSNk.js";
44
+ import { t as _default$43 } from "../views-DoiacMc0.js";
45
+ export { _default as Bar, _default$1 as Below, _default$2 as Bicycle, _default$3 as Bottom, _default$4 as BottomLeft, _default$5 as BottomRight, _default$6 as CascaderField, _default$7 as Catalogue, _default$8 as Clear, _default$9 as Close, _default$10 as Crl, _default$11 as Delete, _default$12 as Document, _default$13 as Down, _default$14 as Download, _default$15 as Edit, _default$16 as Enter, _default$17 as Folder, _default$18 as Frame, _default$19 as Grid, _default$20 as Hidd, _default$21 as Home, _default$22 as Left, _default$23 as Lock, _default$24 as Login, _default$25 as Logink, _default$26 as More, _default$27 as Mr, _default$28 as Mute, _default$29 as NodeTree, _default$30 as Page, _default$31 as Pause, _default$32 as Play, _default$33 as Plus, _default$34 as Qx, _default$35 as Retreat, _default$36 as Right, _default$37 as Set, _default$38 as Sound, _default$39 as Star, _default$40 as SubForm, _default$41 as Tab, _default$42 as Up, _default$43 as Views };
@@ -0,0 +1,2 @@
1
+ import { t as _default } from "../left-B3721MJJ.cjs";
2
+ export = _default;
@@ -0,0 +1,2 @@
1
+ import { t as _default } from "../left-B3721MJJ.js";
2
+ export { _default as default };
@@ -0,0 +1,2 @@
1
+ import { t as _default } from "../lock-mgSuNhGG.cjs";
2
+ export = _default;
@@ -0,0 +1,2 @@
1
+ import { t as _default } from "../lock-mgSuNhGG.js";
2
+ export { _default as default };
@@ -0,0 +1,2 @@
1
+ import { t as _default } from "../login-mcwpzqMp.cjs";
2
+ export = _default;
@@ -0,0 +1,2 @@
1
+ import { t as _default } from "../login-mcwpzqMp.js";
2
+ export { _default as default };
@@ -0,0 +1,2 @@
1
+ import { t as _default } from "../logink-DWeD4iVq.cjs";
2
+ export = _default;
@@ -0,0 +1,2 @@
1
+ import { t as _default } from "../logink-DWeD4iVq.js";
2
+ export { _default as default };
@@ -0,0 +1,2 @@
1
+ import { t as _default } from "../more-DlwRPOL-.cjs";
2
+ export = _default;
@@ -0,0 +1,2 @@
1
+ import { t as _default } from "../more-DlwRPOL-.js";
2
+ export { _default as default };
@@ -0,0 +1,2 @@
1
+ import { t as _default } from "../mr-CFIvZkwU.cjs";
2
+ export = _default;
@@ -0,0 +1,2 @@
1
+ import { t as _default } from "../mr-CFIvZkwU.js";
2
+ export { _default as default };
@@ -0,0 +1,2 @@
1
+ import { t as _default } from "../mute-T1_LFQM9.cjs";
2
+ export = _default;
@@ -0,0 +1,2 @@
1
+ import { t as _default } from "../mute-T1_LFQM9.js";
2
+ export { _default as default };