@fangzhongya/icons 0.0.51 → 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 (438) hide show
  1. package/dist/async.cjs +56 -105
  2. package/dist/async.d.cts +137 -138
  3. package/dist/async.d.ts +137 -138
  4. package/dist/async.js +50 -104
  5. package/dist/bar-Bdt8mHeX.d.cts +6 -0
  6. package/dist/bar-Bdt8mHeX.d.ts +6 -0
  7. package/dist/below-wz4oeZsn.d.cts +6 -0
  8. package/dist/below-wz4oeZsn.d.ts +6 -0
  9. package/dist/bicycle-CN0_HvvC.d.cts +6 -0
  10. package/dist/bicycle-CN0_HvvC.d.ts +6 -0
  11. package/dist/bottom-B1ZV5b3V.d.cts +6 -0
  12. package/dist/bottom-B1ZV5b3V.d.ts +6 -0
  13. package/dist/bottom-left-BJK1wKOY.d.cts +6 -0
  14. package/dist/bottom-left-BJK1wKOY.d.ts +6 -0
  15. package/dist/bottom-right-BIdY9kfC.d.cts +6 -0
  16. package/dist/bottom-right-BIdY9kfC.d.ts +6 -0
  17. package/dist/cascader-field-CsBrpWaF.d.cts +6 -0
  18. package/dist/cascader-field-CsBrpWaF.d.ts +6 -0
  19. package/dist/catalogue-BCzpsdvU.d.cts +6 -0
  20. package/dist/catalogue-BCzpsdvU.d.ts +6 -0
  21. package/dist/clear-oUzG_17m.d.cts +6 -0
  22. package/dist/clear-oUzG_17m.d.ts +6 -0
  23. package/dist/close-DacH-Yom.d.cts +6 -0
  24. package/dist/close-DacH-Yom.d.ts +6 -0
  25. package/dist/components.cjs +42 -60
  26. package/dist/components.d.cts +9 -8
  27. package/dist/components.d.ts +9 -8
  28. package/dist/components.js +42 -61
  29. package/dist/config.cjs +5 -7
  30. package/dist/config.d.cts +4 -3
  31. package/dist/config.d.ts +4 -3
  32. package/dist/config.js +4 -7
  33. package/dist/crl-D829G0Kg.d.cts +6 -0
  34. package/dist/crl-D829G0Kg.d.ts +6 -0
  35. package/dist/delete-DCpOpoIQ.d.cts +6 -0
  36. package/dist/delete-DCpOpoIQ.d.ts +6 -0
  37. package/dist/document-zA-gYr3_.d.cts +6 -0
  38. package/dist/document-zA-gYr3_.d.ts +6 -0
  39. package/dist/down-DvZPmg2j.d.cts +6 -0
  40. package/dist/down-DvZPmg2j.d.ts +6 -0
  41. package/dist/download-BexHrQaN.d.cts +6 -0
  42. package/dist/download-BexHrQaN.d.ts +6 -0
  43. package/dist/edit-BH1qI1T0.d.cts +6 -0
  44. package/dist/edit-BH1qI1T0.d.ts +6 -0
  45. package/dist/enter-CIcilzWB.d.cts +6 -0
  46. package/dist/enter-CIcilzWB.d.ts +6 -0
  47. package/dist/folder-C3uzsLbr.d.cts +6 -0
  48. package/dist/folder-C3uzsLbr.d.ts +6 -0
  49. package/dist/frame-Bes_-5hL.d.cts +6 -0
  50. package/dist/frame-Bes_-5hL.d.ts +6 -0
  51. package/dist/grid-CnMS6YGI.d.cts +6 -0
  52. package/dist/grid-CnMS6YGI.d.ts +6 -0
  53. package/dist/hidd-wcrKjFhA.d.cts +6 -0
  54. package/dist/hidd-wcrKjFhA.d.ts +6 -0
  55. package/dist/home-BVQRBHRU.d.cts +6 -0
  56. package/dist/home-BVQRBHRU.d.ts +6 -0
  57. package/dist/humpToLine-Czhat99x.js +25 -0
  58. package/dist/humpToLine-gLzuzWOm.cjs +30 -0
  59. package/dist/icon/index.cjs +229 -13
  60. package/dist/icon/index.d.cts +132 -132
  61. package/dist/icon/index.d.ts +132 -132
  62. package/dist/icon/index.js +222 -12
  63. package/dist/iconify.cjs +102 -16
  64. package/dist/iconify.d.cts +34 -32
  65. package/dist/iconify.d.ts +34 -32
  66. package/dist/iconify.js +97 -15
  67. package/dist/index.cjs +100 -194
  68. package/dist/index.d.cts +50 -49
  69. package/dist/index.d.ts +50 -49
  70. package/dist/index.js +52 -194
  71. package/dist/index.json +1 -1
  72. package/dist/json-BKPP5Mlr.js +62 -0
  73. package/dist/json-IGrD8_vM.cjs +67 -0
  74. package/dist/json.cjs +2 -7
  75. package/dist/json.d.cts +3 -155
  76. package/dist/json.d.ts +4 -155
  77. package/dist/json.js +2 -7
  78. package/dist/left-B3721MJJ.d.cts +6 -0
  79. package/dist/left-B3721MJJ.d.ts +6 -0
  80. package/dist/lineToLargeHump-BajF216g.cjs +30 -0
  81. package/dist/lineToLargeHump-CHL4-tNE.js +25 -0
  82. package/dist/lock-mgSuNhGG.d.cts +6 -0
  83. package/dist/lock-mgSuNhGG.d.ts +6 -0
  84. package/dist/login-mcwpzqMp.d.cts +6 -0
  85. package/dist/login-mcwpzqMp.d.ts +6 -0
  86. package/dist/logink-DWeD4iVq.d.cts +6 -0
  87. package/dist/logink-DWeD4iVq.d.ts +6 -0
  88. package/dist/more-DlwRPOL-.d.cts +6 -0
  89. package/dist/more-DlwRPOL-.d.ts +6 -0
  90. package/dist/mr-CFIvZkwU.d.cts +6 -0
  91. package/dist/mr-CFIvZkwU.d.ts +6 -0
  92. package/dist/mute-T1_LFQM9.d.cts +6 -0
  93. package/dist/mute-T1_LFQM9.d.ts +6 -0
  94. package/dist/name.cjs +68 -15
  95. package/dist/name.d.cts +11 -10
  96. package/dist/name.d.ts +11 -10
  97. package/dist/name.js +65 -15
  98. package/dist/node-tree-0GAabW8w.d.cts +6 -0
  99. package/dist/node-tree-0GAabW8w.d.ts +6 -0
  100. package/dist/page-xROWQBtB.d.cts +6 -0
  101. package/dist/page-xROWQBtB.d.ts +6 -0
  102. package/dist/pause-cLPubYio.d.cts +6 -0
  103. package/dist/pause-cLPubYio.d.ts +6 -0
  104. package/dist/picker/dialog.cjs +42 -7
  105. package/dist/picker/dialog.d.cts +15 -17
  106. package/dist/picker/dialog.d.ts +16 -17
  107. package/dist/picker/dialog.js +42 -7
  108. package/dist/picker/index.cjs +200 -324
  109. package/dist/picker/index.d.cts +112 -116
  110. package/dist/picker/index.d.ts +112 -116
  111. package/dist/picker/index.js +194 -325
  112. package/dist/play-CDhVCRhH.d.cts +6 -0
  113. package/dist/play-CDhVCRhH.d.ts +6 -0
  114. package/dist/plus-zzG8Eoct.d.cts +6 -0
  115. package/dist/plus-zzG8Eoct.d.ts +6 -0
  116. package/dist/qx-Dasb5PIo.d.cts +6 -0
  117. package/dist/qx-Dasb5PIo.d.ts +6 -0
  118. package/dist/retreat-DaQj66uq.d.cts +6 -0
  119. package/dist/retreat-DaQj66uq.d.ts +6 -0
  120. package/dist/right-Cq_Ie_pK.d.cts +6 -0
  121. package/dist/right-Cq_Ie_pK.d.ts +6 -0
  122. package/dist/set-BAt1SOIT.d.cts +6 -0
  123. package/dist/set-BAt1SOIT.d.ts +6 -0
  124. package/dist/sound-C9qtuv2l.d.cts +6 -0
  125. package/dist/sound-C9qtuv2l.d.ts +6 -0
  126. package/dist/star-C0cNKyLP.d.cts +6 -0
  127. package/dist/star-C0cNKyLP.d.ts +6 -0
  128. package/dist/sub-form-Do-YgMUe.d.cts +6 -0
  129. package/dist/sub-form-Do-YgMUe.d.ts +6 -0
  130. package/dist/tab-5cOn6QJy.d.cts +6 -0
  131. package/dist/tab-5cOn6QJy.d.ts +6 -0
  132. package/dist/up-TMH4QSNk.d.cts +6 -0
  133. package/dist/up-TMH4QSNk.d.ts +6 -0
  134. package/dist/util.cjs +13 -7
  135. package/dist/util.d.cts +4 -3
  136. package/dist/util.d.ts +4 -3
  137. package/dist/util.js +12 -7
  138. package/dist/views-DoiacMc0.d.cts +6 -0
  139. package/dist/views-DoiacMc0.d.ts +6 -0
  140. package/dist/vite/index.cjs +848 -1143
  141. package/dist/vite/index.d.cts +47 -46
  142. package/dist/vite/index.d.ts +47 -46
  143. package/dist/vite/index.js +848 -1144
  144. package/dist/vue/bar.cjs +16 -7
  145. package/dist/vue/bar.d.cts +2 -7
  146. package/dist/vue/bar.d.ts +2 -7
  147. package/dist/vue/bar.js +16 -7
  148. package/dist/vue/below.cjs +16 -7
  149. package/dist/vue/below.d.cts +2 -7
  150. package/dist/vue/below.d.ts +2 -7
  151. package/dist/vue/below.js +16 -7
  152. package/dist/vue/bicycle.cjs +16 -7
  153. package/dist/vue/bicycle.d.cts +2 -7
  154. package/dist/vue/bicycle.d.ts +2 -7
  155. package/dist/vue/bicycle.js +16 -7
  156. package/dist/vue/bottom-left.cjs +16 -7
  157. package/dist/vue/bottom-left.d.cts +2 -7
  158. package/dist/vue/bottom-left.d.ts +2 -7
  159. package/dist/vue/bottom-left.js +16 -7
  160. package/dist/vue/bottom-right.cjs +16 -7
  161. package/dist/vue/bottom-right.d.cts +2 -7
  162. package/dist/vue/bottom-right.d.ts +2 -7
  163. package/dist/vue/bottom-right.js +16 -7
  164. package/dist/vue/bottom.cjs +16 -7
  165. package/dist/vue/bottom.d.cts +2 -7
  166. package/dist/vue/bottom.d.ts +2 -7
  167. package/dist/vue/bottom.js +16 -7
  168. package/dist/vue/cascader-field.cjs +16 -7
  169. package/dist/vue/cascader-field.d.cts +2 -7
  170. package/dist/vue/cascader-field.d.ts +2 -7
  171. package/dist/vue/cascader-field.js +16 -7
  172. package/dist/vue/catalogue.cjs +16 -7
  173. package/dist/vue/catalogue.d.cts +2 -7
  174. package/dist/vue/catalogue.d.ts +2 -7
  175. package/dist/vue/catalogue.js +16 -7
  176. package/dist/vue/clear.cjs +16 -7
  177. package/dist/vue/clear.d.cts +2 -7
  178. package/dist/vue/clear.d.ts +2 -7
  179. package/dist/vue/clear.js +16 -7
  180. package/dist/vue/close.cjs +16 -7
  181. package/dist/vue/close.d.cts +2 -7
  182. package/dist/vue/close.d.ts +2 -7
  183. package/dist/vue/close.js +16 -7
  184. package/dist/vue/crl.cjs +16 -7
  185. package/dist/vue/crl.d.cts +2 -7
  186. package/dist/vue/crl.d.ts +2 -7
  187. package/dist/vue/crl.js +16 -7
  188. package/dist/vue/delete.cjs +16 -7
  189. package/dist/vue/delete.d.cts +2 -7
  190. package/dist/vue/delete.d.ts +2 -7
  191. package/dist/vue/delete.js +16 -7
  192. package/dist/vue/document.cjs +16 -7
  193. package/dist/vue/document.d.cts +2 -7
  194. package/dist/vue/document.d.ts +2 -7
  195. package/dist/vue/document.js +16 -7
  196. package/dist/vue/down.cjs +16 -7
  197. package/dist/vue/down.d.cts +2 -7
  198. package/dist/vue/down.d.ts +2 -7
  199. package/dist/vue/down.js +16 -7
  200. package/dist/vue/download.cjs +16 -7
  201. package/dist/vue/download.d.cts +2 -7
  202. package/dist/vue/download.d.ts +2 -7
  203. package/dist/vue/download.js +16 -7
  204. package/dist/vue/edit.cjs +16 -7
  205. package/dist/vue/edit.d.cts +2 -7
  206. package/dist/vue/edit.d.ts +2 -7
  207. package/dist/vue/edit.js +16 -7
  208. package/dist/vue/enter.cjs +16 -7
  209. package/dist/vue/enter.d.cts +2 -7
  210. package/dist/vue/enter.d.ts +2 -7
  211. package/dist/vue/enter.js +16 -7
  212. package/dist/vue/folder.cjs +16 -7
  213. package/dist/vue/folder.d.cts +2 -7
  214. package/dist/vue/folder.d.ts +2 -7
  215. package/dist/vue/folder.js +16 -7
  216. package/dist/vue/frame.cjs +16 -7
  217. package/dist/vue/frame.d.cts +2 -7
  218. package/dist/vue/frame.d.ts +2 -7
  219. package/dist/vue/frame.js +16 -7
  220. package/dist/vue/grid.cjs +16 -7
  221. package/dist/vue/grid.d.cts +2 -7
  222. package/dist/vue/grid.d.ts +2 -7
  223. package/dist/vue/grid.js +16 -7
  224. package/dist/vue/hidd.cjs +16 -7
  225. package/dist/vue/hidd.d.cts +2 -7
  226. package/dist/vue/hidd.d.ts +2 -7
  227. package/dist/vue/hidd.js +16 -7
  228. package/dist/vue/home.cjs +16 -7
  229. package/dist/vue/home.d.cts +2 -7
  230. package/dist/vue/home.d.ts +2 -7
  231. package/dist/vue/home.js +16 -7
  232. package/dist/vue/index.cjs +90 -180
  233. package/dist/vue/index.d.cts +45 -45
  234. package/dist/vue/index.d.ts +45 -45
  235. package/dist/vue/index.js +46 -180
  236. package/dist/vue/left.cjs +16 -7
  237. package/dist/vue/left.d.cts +2 -7
  238. package/dist/vue/left.d.ts +2 -7
  239. package/dist/vue/left.js +16 -7
  240. package/dist/vue/lock.cjs +16 -7
  241. package/dist/vue/lock.d.cts +2 -7
  242. package/dist/vue/lock.d.ts +2 -7
  243. package/dist/vue/lock.js +16 -7
  244. package/dist/vue/login.cjs +16 -7
  245. package/dist/vue/login.d.cts +2 -7
  246. package/dist/vue/login.d.ts +2 -7
  247. package/dist/vue/login.js +16 -7
  248. package/dist/vue/logink.cjs +16 -7
  249. package/dist/vue/logink.d.cts +2 -7
  250. package/dist/vue/logink.d.ts +2 -7
  251. package/dist/vue/logink.js +16 -7
  252. package/dist/vue/more.cjs +16 -7
  253. package/dist/vue/more.d.cts +2 -7
  254. package/dist/vue/more.d.ts +2 -7
  255. package/dist/vue/more.js +16 -7
  256. package/dist/vue/mr.cjs +16 -7
  257. package/dist/vue/mr.d.cts +2 -7
  258. package/dist/vue/mr.d.ts +2 -7
  259. package/dist/vue/mr.js +16 -7
  260. package/dist/vue/mute.cjs +16 -7
  261. package/dist/vue/mute.d.cts +2 -7
  262. package/dist/vue/mute.d.ts +2 -7
  263. package/dist/vue/mute.js +16 -7
  264. package/dist/vue/node-tree.cjs +16 -7
  265. package/dist/vue/node-tree.d.cts +2 -7
  266. package/dist/vue/node-tree.d.ts +2 -7
  267. package/dist/vue/node-tree.js +16 -7
  268. package/dist/vue/page.cjs +16 -7
  269. package/dist/vue/page.d.cts +2 -7
  270. package/dist/vue/page.d.ts +2 -7
  271. package/dist/vue/page.js +16 -7
  272. package/dist/vue/pause.cjs +16 -7
  273. package/dist/vue/pause.d.cts +2 -7
  274. package/dist/vue/pause.d.ts +2 -7
  275. package/dist/vue/pause.js +16 -7
  276. package/dist/vue/play.cjs +16 -7
  277. package/dist/vue/play.d.cts +2 -7
  278. package/dist/vue/play.d.ts +2 -7
  279. package/dist/vue/play.js +16 -7
  280. package/dist/vue/plus.cjs +16 -7
  281. package/dist/vue/plus.d.cts +2 -7
  282. package/dist/vue/plus.d.ts +2 -7
  283. package/dist/vue/plus.js +16 -7
  284. package/dist/vue/qx.cjs +16 -7
  285. package/dist/vue/qx.d.cts +2 -7
  286. package/dist/vue/qx.d.ts +2 -7
  287. package/dist/vue/qx.js +16 -7
  288. package/dist/vue/retreat.cjs +16 -7
  289. package/dist/vue/retreat.d.cts +2 -7
  290. package/dist/vue/retreat.d.ts +2 -7
  291. package/dist/vue/retreat.js +16 -7
  292. package/dist/vue/right.cjs +16 -7
  293. package/dist/vue/right.d.cts +2 -7
  294. package/dist/vue/right.d.ts +2 -7
  295. package/dist/vue/right.js +16 -7
  296. package/dist/vue/set.cjs +16 -7
  297. package/dist/vue/set.d.cts +2 -7
  298. package/dist/vue/set.d.ts +2 -7
  299. package/dist/vue/set.js +16 -7
  300. package/dist/vue/sound.cjs +16 -7
  301. package/dist/vue/sound.d.cts +2 -7
  302. package/dist/vue/sound.d.ts +2 -7
  303. package/dist/vue/sound.js +16 -7
  304. package/dist/vue/star.cjs +16 -7
  305. package/dist/vue/star.d.cts +2 -7
  306. package/dist/vue/star.d.ts +2 -7
  307. package/dist/vue/star.js +16 -7
  308. package/dist/vue/sub-form.cjs +16 -7
  309. package/dist/vue/sub-form.d.cts +2 -7
  310. package/dist/vue/sub-form.d.ts +2 -7
  311. package/dist/vue/sub-form.js +16 -7
  312. package/dist/vue/tab.cjs +16 -7
  313. package/dist/vue/tab.d.cts +2 -7
  314. package/dist/vue/tab.d.ts +2 -7
  315. package/dist/vue/tab.js +16 -7
  316. package/dist/vue/up.cjs +16 -7
  317. package/dist/vue/up.d.cts +2 -7
  318. package/dist/vue/up.d.ts +2 -7
  319. package/dist/vue/up.js +16 -7
  320. package/dist/vue/views.cjs +16 -7
  321. package/dist/vue/views.d.cts +2 -7
  322. package/dist/vue/views.d.ts +2 -7
  323. package/dist/vue/views.js +16 -7
  324. package/dist/vue-CR8K2hMZ.js +105 -0
  325. package/dist/vue-XcWpjtqA.cjs +110 -0
  326. package/package.json +28 -27
  327. package/dist/chunk-2D4VSAJ2.js +0 -13
  328. package/dist/chunk-2IK6ZEWL.js +0 -13
  329. package/dist/chunk-2TQQMTHZ.cjs +0 -13
  330. package/dist/chunk-32F77IBU.cjs +0 -13
  331. package/dist/chunk-3376ZTRC.cjs +0 -1
  332. package/dist/chunk-37UZO7UL.cjs +0 -31
  333. package/dist/chunk-3AMDUJDV.js +0 -13
  334. package/dist/chunk-3AMS6SAI.js +0 -13
  335. package/dist/chunk-3TRFZFYF.js +0 -13
  336. package/dist/chunk-3YCLWMP7.cjs +0 -13
  337. package/dist/chunk-53VWOQDN.cjs +0 -13
  338. package/dist/chunk-5MQTT7S7.cjs +0 -188
  339. package/dist/chunk-5PXZNWE4.js +0 -13
  340. package/dist/chunk-5QUGHNG3.cjs +0 -13
  341. package/dist/chunk-5XDPKNBI.js +0 -13
  342. package/dist/chunk-66OLJGLO.js +0 -302
  343. package/dist/chunk-6BDDZBAQ.js +0 -13
  344. package/dist/chunk-75ZPJI57.cjs +0 -9
  345. package/dist/chunk-76TLDMR4.cjs +0 -13
  346. package/dist/chunk-7IBXEWY5.js +0 -13
  347. package/dist/chunk-7URGGQWA.js +0 -13
  348. package/dist/chunk-7ZWO2XCS.cjs +0 -13
  349. package/dist/chunk-AQDYWFIE.cjs +0 -13
  350. package/dist/chunk-AUEQIRLO.cjs +0 -13
  351. package/dist/chunk-BEQYH4ZH.js +0 -13
  352. package/dist/chunk-BMEJLYYZ.js +0 -13
  353. package/dist/chunk-BXEIRESQ.cjs +0 -17
  354. package/dist/chunk-BYXBJQAS.js +0 -0
  355. package/dist/chunk-CMFLQOET.js +0 -152
  356. package/dist/chunk-D4YPZVLI.js +0 -13
  357. package/dist/chunk-DMNL42QX.cjs +0 -13
  358. package/dist/chunk-DOKVIYQP.cjs +0 -13
  359. package/dist/chunk-DSTHXXIG.js +0 -14
  360. package/dist/chunk-E3I6537N.js +0 -25
  361. package/dist/chunk-EEMF44IH.cjs +0 -58
  362. package/dist/chunk-EODYYDJS.js +0 -13
  363. package/dist/chunk-ERY3BNIM.js +0 -13
  364. package/dist/chunk-ESPY25SV.cjs +0 -13
  365. package/dist/chunk-EZJQO3RD.cjs +0 -13
  366. package/dist/chunk-FEFTZ7TT.cjs +0 -13
  367. package/dist/chunk-FZTWDRFN.js +0 -13
  368. package/dist/chunk-H4PA2G3N.cjs +0 -13
  369. package/dist/chunk-H7QPKI66.cjs +0 -13
  370. package/dist/chunk-HLATHB47.js +0 -13
  371. package/dist/chunk-I3A3AEAA.cjs +0 -13
  372. package/dist/chunk-I3U5MBNO.cjs +0 -13
  373. package/dist/chunk-I5KQLZMG.js +0 -58
  374. package/dist/chunk-IBTK77R3.cjs +0 -13
  375. package/dist/chunk-IEFCX4Q4.cjs +0 -13
  376. package/dist/chunk-IIVF4KK5.cjs +0 -6
  377. package/dist/chunk-ILE746VV.js +0 -13
  378. package/dist/chunk-IPHYXYU4.cjs +0 -13
  379. package/dist/chunk-J4G2OFZ4.js +0 -17
  380. package/dist/chunk-JJXGNEQB.js +0 -13
  381. package/dist/chunk-JT3V6FP7.js +0 -13
  382. package/dist/chunk-K5OMXRSR.js +0 -13
  383. package/dist/chunk-KDGKC2AD.cjs +0 -13
  384. package/dist/chunk-KZJIE3RV.cjs +0 -13
  385. package/dist/chunk-L7KCN6DV.cjs +0 -13
  386. package/dist/chunk-LBBA76TA.js +0 -13
  387. package/dist/chunk-LI54LRUK.cjs +0 -13
  388. package/dist/chunk-LLVO2B4L.js +0 -13
  389. package/dist/chunk-LZ5V6B6A.cjs +0 -13
  390. package/dist/chunk-MI2HCYC4.js +0 -13
  391. package/dist/chunk-MLKGABMK.js +0 -9
  392. package/dist/chunk-MOHILOKE.js +0 -6
  393. package/dist/chunk-NEHQ24EP.js +0 -13
  394. package/dist/chunk-NESEKAGU.cjs +0 -13
  395. package/dist/chunk-NS5Q6ZYS.js +0 -13
  396. package/dist/chunk-OIX6AEOH.js +0 -13
  397. package/dist/chunk-OPZJWWQC.cjs +0 -13
  398. package/dist/chunk-PM3NSGHO.js +0 -13
  399. package/dist/chunk-Q7LKAKNO.js +0 -13
  400. package/dist/chunk-QTMLVSMQ.js +0 -188
  401. package/dist/chunk-RENPHZI7.cjs +0 -13
  402. package/dist/chunk-RHPG3BCQ.cjs +0 -13
  403. package/dist/chunk-S2QMZA7X.js +0 -13
  404. package/dist/chunk-S7LOBBW2.cjs +0 -13
  405. package/dist/chunk-T7E6HY2F.js +0 -13
  406. package/dist/chunk-TCAPRSWP.cjs +0 -13
  407. package/dist/chunk-TCP7WBEZ.cjs +0 -13
  408. package/dist/chunk-TMPQ7LLO.cjs +0 -152
  409. package/dist/chunk-TT42MDI2.cjs +0 -13
  410. package/dist/chunk-TZWDBH6E.js +0 -13
  411. package/dist/chunk-U4CNUH3A.cjs +0 -302
  412. package/dist/chunk-UMRBYGCW.cjs +0 -13
  413. package/dist/chunk-UTRCC2RP.js +0 -13
  414. package/dist/chunk-UVMBRQNS.cjs +0 -13
  415. package/dist/chunk-UZWXBTQL.js +0 -31
  416. package/dist/chunk-VDTZORF6.cjs +0 -13
  417. package/dist/chunk-VO6GNJ4O.js +0 -13
  418. package/dist/chunk-VQ54VGY3.js +0 -13
  419. package/dist/chunk-VRWNZZCS.js +0 -13
  420. package/dist/chunk-W3IE4UWT.cjs +0 -13
  421. package/dist/chunk-WE4BXFRS.js +0 -13
  422. package/dist/chunk-WLDTS6EO.js +0 -13
  423. package/dist/chunk-WOAJW7OB.cjs +0 -13
  424. package/dist/chunk-WZX5LXRH.cjs +0 -13
  425. package/dist/chunk-XHXN5JNR.cjs +0 -14
  426. package/dist/chunk-XUPJ3XJL.js +0 -13
  427. package/dist/chunk-XYIWDMXZ.cjs +0 -13
  428. package/dist/chunk-Y2W7MENX.cjs +0 -13
  429. package/dist/chunk-YBGWOI5B.cjs +0 -13
  430. package/dist/chunk-YGLV5TML.js +0 -111
  431. package/dist/chunk-YJLFP6SE.js +0 -13
  432. package/dist/chunk-YJVFENGG.cjs +0 -111
  433. package/dist/chunk-YSDDIRK3.js +0 -13
  434. package/dist/chunk-YUYOWQ5M.js +0 -13
  435. package/dist/chunk-YW7CKAOG.cjs +0 -25
  436. package/dist/chunk-YYG5XGJC.js +0 -13
  437. package/dist/chunk-Z7LHYEQW.js +0 -13
  438. package/dist/chunk-ZWJ4O3II.cjs +0 -13
@@ -1,955 +1,722 @@
1
- import {
2
- getIconifySVG
3
- } from "../chunk-YGLV5TML.js";
4
- import {
5
- json_default
6
- } from "../chunk-CMFLQOET.js";
7
- import {
8
- lineToLargeHump
9
- } from "../chunk-J4G2OFZ4.js";
10
- import "../chunk-BYXBJQAS.js";
11
- import "../chunk-MOHILOKE.js";
12
- import "../chunk-MLKGABMK.js";
13
-
14
- // node_modules/.pnpm/@fangzhongya+create@0.2.50/node_modules/@fangzhongya/create/dist/chunk-ER44O4IJ.js
15
- function getStartSames(str, val) {
16
- let s = "";
17
- const vs = [...val];
18
- let index = 0;
19
- for (; index < vs.length; index++) {
20
- const element = vs[index];
21
- if (element === str.charAt(index)) {
22
- s += element;
23
- } else {
24
- break;
25
- }
26
- }
27
- return [s, str.substring(index), val.substring(index)];
28
- }
29
- function getImportUrl(url, imp) {
30
- const arr = getStartSames(url, imp);
31
- const ts = arr[0];
32
- if (!/[\\|\/]$/.test(ts)) {
33
- const regs = ts.match(/[\\|\/]([^\\|\/]*)$/);
34
- if (regs && regs.length > 0) {
35
- const a = regs[1];
36
- arr[0] = ts.substring(0, regs.index + 1);
37
- arr[1] = a + arr[1];
38
- arr[2] = a + arr[2];
39
- }
40
- }
41
- const l = arr[1].split(/\\|\//).length - 1;
42
- let ds = ["./"];
43
- if (l > 0) {
44
- ds = [];
45
- for (let index = 0; index < l; index++) {
46
- ds.push("../");
47
- }
48
- }
49
- return ds.join("") + arr[2].replace(/\\/g, "/");
50
- }
51
-
52
- // node_modules/.pnpm/@fangzhongya+create@0.2.50/node_modules/@fangzhongya/create/dist/chunk-A7RAGYE3.js
53
- function getImportUrlSuffix(url, imp) {
54
- return getImportUrl(url, imp).replace(/\.([a-z|A-Z][a-z|A-Z|0-9]*)$/, "");
55
- }
56
-
57
- // node_modules/.pnpm/@fangzhongya+create@0.2.50/node_modules/@fangzhongya/create/dist/chunk-36XULS54.js
58
- import {
59
- open,
60
- readdir,
61
- stat,
62
- writeFile,
63
- write,
64
- mkdir,
65
- readFile,
66
- createReadStream,
67
- access,
68
- constants
69
- } from "fs";
70
- import { join } from "path";
1
+ import { t as lineToLargeHump } from "../lineToLargeHump-CHL4-tNE.js";
2
+ import { getIconifySVG } from "../iconify.js";
3
+ import { t as jsons } from "../json-BKPP5Mlr.js";
4
+ import { join, resolve } from "node:path";
5
+ import { access, constants, createReadStream, mkdir, open, readFile, readdir, stat, write, writeFile } from "node:fs";
6
+ import { join as join$1 } from "path";
7
+ //#region node_modules/.pnpm/@fangzhongya+create@0.2.52/node_modules/@fangzhongya/create/dist/common-CbVDCztd.js
71
8
  function getUrlCatalogueObj(str) {
72
- const reg = /(\\|\/)([^\\|\/]+)\.([a-z|A-Z][a-z|A-Z|0-9]*)$/g;
73
- const ml = str.replace(reg, "");
74
- let name = "";
75
- let suffix = "";
76
- let apart = "";
77
- const arr = reg.exec(str);
78
- if (arr) {
79
- apart = arr[1];
80
- name = arr[2];
81
- suffix = arr[3];
82
- }
83
- return {
84
- catalogue: ml,
85
- name,
86
- suffix,
87
- apart
88
- };
9
+ const reg = /(\\|\/)([^\\|\/]+)\.([a-z|A-Z][a-z|A-Z|0-9]*)$/g;
10
+ const ml = str.replace(reg, "");
11
+ let name = "";
12
+ let suffix = "";
13
+ let apart = "";
14
+ const arr = reg.exec(str);
15
+ if (arr) {
16
+ apart = arr[1];
17
+ name = arr[2];
18
+ suffix = arr[3];
19
+ }
20
+ return {
21
+ catalogue: ml,
22
+ name,
23
+ suffix,
24
+ apart
25
+ };
89
26
  }
90
27
  function getNewFileName(url) {
91
- const obj = getUrlCatalogueObj(url);
92
- let wb = obj.name;
93
- if (wb) {
94
- const reg = /([0-9]+)$/g;
95
- const regs = reg.exec(wb);
96
- if (regs && regs.length > 0) {
97
- const sl = Number(regs[1]) + 1;
98
- const reg1 = new RegExp(regs[1] + "$");
99
- wb = wb.replace(reg1, (sl + "").padStart(regs[1].length, "0"));
100
- } else {
101
- wb = wb + "1";
102
- }
103
- return obj.catalogue + obj.apart + wb + "." + obj.suffix;
104
- } else {
105
- return "";
106
- }
28
+ const obj = getUrlCatalogueObj(url);
29
+ let wb = obj.name;
30
+ if (wb) {
31
+ const regs = /([0-9]+)$/g.exec(wb);
32
+ if (regs && regs.length > 0) {
33
+ const sl = Number(regs[1]) + 1;
34
+ const reg1 = new RegExp(regs[1] + "$");
35
+ wb = wb.replace(reg1, (sl + "").padStart(regs[1].length, "0"));
36
+ } else wb = wb + "1";
37
+ return obj.catalogue + obj.apart + wb + "." + obj.suffix;
38
+ } else return "";
107
39
  }
40
+ /**
41
+ * 读取文件内容
42
+ * @param url 文件地址
43
+ * @param type 文件编码
44
+ * @returns
45
+ */
108
46
  function fsReadFile(url, type) {
109
- if (!type || type === true) {
110
- type = "utf-8";
111
- }
112
- return new Promise((resolve3, reject) => {
113
- readFile(url, type, (err, dataStr) => {
114
- if (err) {
115
- console.log("2", err);
116
- reject("");
117
- } else {
118
- resolve3(dataStr);
119
- }
120
- });
121
- });
47
+ if (!type || type === true) type = "utf-8";
48
+ return new Promise((resolve, reject) => {
49
+ readFile(url, type, (err, dataStr) => {
50
+ if (err) {
51
+ console.log("2", err);
52
+ reject("");
53
+ } else resolve(dataStr);
54
+ });
55
+ });
122
56
  }
123
57
  function fsCreateReadStream(url, type) {
124
- if (!type || type === true) {
125
- type = "utf-8";
126
- }
127
- return new Promise((resolve3) => {
128
- const stream = createReadStream(url, {
129
- start: 0,
130
- end: 100,
131
- encoding: type
132
- });
133
- let st = "";
134
- stream.on("data", (data) => {
135
- st += data;
136
- });
137
- stream.on("end", () => {
138
- resolve3(st);
139
- });
140
- stream.on("error", () => {
141
- resolve3("");
142
- });
143
- });
58
+ if (!type || type === true) type = "utf-8";
59
+ return new Promise((resolve) => {
60
+ const stream = createReadStream(url, {
61
+ start: 0,
62
+ end: 100,
63
+ encoding: type
64
+ });
65
+ let st = "";
66
+ stream.on("data", (data) => {
67
+ st += data;
68
+ });
69
+ stream.on("end", () => {
70
+ resolve(st);
71
+ });
72
+ stream.on("error", () => {
73
+ resolve("");
74
+ });
75
+ });
144
76
  }
77
+ /**
78
+ * 判断文件夹是否存在
79
+ * @param reaPath {String} 文件路径
80
+ * @returns {Promise<boolean>}
81
+ */
145
82
  function fsAccess(reaPath) {
146
- return new Promise((resolve3) => {
147
- try {
148
- access(reaPath, constants.F_OK, (err) => {
149
- if (err) {
150
- resolve3(false);
151
- } else {
152
- resolve3(true);
153
- }
154
- });
155
- } catch (e) {
156
- resolve3(false);
157
- }
158
- });
83
+ return new Promise((resolve) => {
84
+ try {
85
+ access(reaPath, constants.F_OK, (err) => {
86
+ if (err) resolve(false);
87
+ else resolve(true);
88
+ });
89
+ } catch (e) {
90
+ resolve(false);
91
+ }
92
+ });
159
93
  }
160
94
  function fsReaddir(filePath) {
161
- return new Promise((resolve3, reject) => {
162
- readdir(filePath, (err, files) => {
163
- if (err) {
164
- reject(err);
165
- } else {
166
- const lg = files.length;
167
- const dirs = [];
168
- const file = [];
169
- if (lg) {
170
- let i = 0;
171
- files.forEach((filename) => {
172
- const filedir = join(filePath, filename);
173
- stat(filedir, (err2, stats) => {
174
- i++;
175
- if (err2) {
176
- console.log("4", err2);
177
- } else {
178
- const isFile = stats.isFile();
179
- const isDir = stats.isDirectory();
180
- if (isFile) {
181
- file.push(filename);
182
- }
183
- if (isDir) {
184
- dirs.push(filename);
185
- }
186
- }
187
- if (i >= lg) {
188
- resolve3({
189
- file,
190
- dirs
191
- });
192
- }
193
- });
194
- });
195
- } else {
196
- resolve3({
197
- file,
198
- dirs
199
- });
200
- }
201
- }
202
- });
203
- });
95
+ return new Promise((resolve, reject) => {
96
+ readdir(filePath, (err, files) => {
97
+ if (err) reject(err);
98
+ else {
99
+ const lg = files.length;
100
+ const dirs = [];
101
+ const file = [];
102
+ if (lg) {
103
+ let i = 0;
104
+ files.forEach((filename) => {
105
+ stat(join(filePath, filename), (err, stats) => {
106
+ i++;
107
+ if (err) console.log("4", err);
108
+ else {
109
+ const isFile = stats.isFile();
110
+ const isDir = stats.isDirectory();
111
+ if (isFile) file.push(filename);
112
+ if (isDir) dirs.push(filename);
113
+ }
114
+ if (i >= lg) resolve({
115
+ file,
116
+ dirs
117
+ });
118
+ });
119
+ });
120
+ } else resolve({
121
+ file,
122
+ dirs
123
+ });
124
+ }
125
+ });
126
+ });
204
127
  }
128
+ /**
129
+ * 异步地打开文件。详见 open(2)。 flags 可以是:
130
+ * 以写入模式打开文件。文件会被创建(如果文件不存在)或截断(如果文件存在)。
131
+ * @param {*} path
132
+ * @param {*} json
133
+ * @param {number} type
134
+ * 0 文件不存在,或者存在都写入数据
135
+ * 1 文件不存在 就不写入数据
136
+ * 2 文件不存在 才写入数据
137
+ * 3 如果文件存在,追加
138
+ * @param {*} callback
139
+ */
205
140
  function fsOpenStream(path, json, type = 0, cover, callback) {
206
- open(path, "wx", async (err, fd) => {
207
- if (err) {
208
- if (err.code === "EEXIST") {
209
- if (type == 1 || type == 0) {
210
- const fwrite = () => {
211
- writeFile(path, json, "utf-8", (err2) => {
212
- if (err2) {
213
- console.log("6", err2);
214
- if (callback) {
215
- callback(path, cover ? 3 : 2, false, type);
216
- }
217
- } else {
218
- if (callback) {
219
- callback(path, cover ? 3 : 2, true, type);
220
- }
221
- }
222
- });
223
- };
224
- if (cover) {
225
- const st = await fsCreateReadStream(path);
226
- if (!st.includes("@config cover=true")) {
227
- fwrite();
228
- } else {
229
- if (callback) callback(path, 3, false, type);
230
- }
231
- } else {
232
- fwrite();
233
- }
234
- } else if (type == 3) {
235
- path = getNewFileName(path);
236
- if (path) {
237
- fsOpenStream(path, json, type, cover, callback);
238
- } else {
239
- if (callback) {
240
- callback(path, 3, false, type);
241
- }
242
- }
243
- } else {
244
- if (callback) {
245
- callback(path, 2, false, type);
246
- }
247
- }
248
- } else {
249
- if (callback) {
250
- callback(path, 0, false, type);
251
- }
252
- }
253
- } else {
254
- if (type != 1) {
255
- write(fd, json, (err2) => {
256
- if (err2) {
257
- console.log("8", err2);
258
- if (callback) {
259
- callback(path, 1, false, type);
260
- }
261
- } else {
262
- if (callback) {
263
- callback(path, 1, true, type);
264
- }
265
- }
266
- });
267
- } else {
268
- if (callback) {
269
- callback(path, 1, false, type);
270
- }
271
- }
272
- }
273
- });
141
+ open(path, "wx", async (err, fd) => {
142
+ if (err) {
143
+ if (err.code === "EEXIST") {
144
+ if (type == 1 || type == 0) {
145
+ const fwrite = () => {
146
+ writeFile(path, json, "utf-8", (err) => {
147
+ if (err) {
148
+ console.log("6", err);
149
+ if (callback) callback(path, cover ? 3 : 2, false, type);
150
+ } else if (callback) callback(path, cover ? 3 : 2, true, type);
151
+ });
152
+ };
153
+ if (cover) {
154
+ if (!(await fsCreateReadStream(path)).includes("@config cover=true")) fwrite();
155
+ else if (callback) callback(path, 3, false, type);
156
+ } else fwrite();
157
+ } else if (type == 3) {
158
+ path = getNewFileName(path);
159
+ if (path) fsOpenStream(path, json, type, cover, callback);
160
+ else if (callback) callback(path, 3, false, type);
161
+ } else if (callback) callback(path, 2, false, type);
162
+ } else if (callback) callback(path, 0, false, type);
163
+ } else if (type != 1) write(fd, json, (err) => {
164
+ if (err) {
165
+ console.log("8", err);
166
+ if (callback) callback(path, 1, false, type);
167
+ } else if (callback) callback(path, 1, true, type);
168
+ });
169
+ else if (callback) callback(path, 1, false, type);
170
+ });
274
171
  }
172
+ /**
173
+ * 判断文件夹是否存在,不存在可以直接创建
174
+ * @param reaPath {String} 文件路径
175
+ * @returns {Promise<boolean>}
176
+ */
275
177
  function fsMkdir(reaPath, callback) {
276
- mkdir(reaPath, { recursive: true }, (err, path) => {
277
- if (err) {
278
- console.log("0", err);
279
- if (callback) {
280
- callback(reaPath, false);
281
- }
282
- } else {
283
- if (callback) {
284
- callback(reaPath, true, path);
285
- }
286
- }
287
- });
178
+ mkdir(reaPath, { recursive: true }, (err, path) => {
179
+ if (err) {
180
+ console.log("0", err);
181
+ if (callback) callback(reaPath, false);
182
+ } else if (callback) callback(reaPath, true, path);
183
+ });
288
184
  }
185
+ /**
186
+ * 当前目录文件地址
187
+ * @param url 文件目录地址
188
+ * @param callback 执行回调方法
189
+ * @returns
190
+ */
289
191
  function writeInit(url, callback, isDirs, isFile, issynch) {
290
- return new Promise(async (resolve3) => {
291
- if (url) {
292
- const data = await fsReaddir(url);
293
- const arr = await writeFileUrl(
294
- url,
295
- data,
296
- callback,
297
- isDirs,
298
- isFile,
299
- issynch
300
- );
301
- resolve3(arr);
302
- } else {
303
- resolve3([]);
304
- }
305
- });
192
+ return new Promise(async (resolve) => {
193
+ if (url) resolve(await writeFileUrl(url, await fsReaddir(url), callback, isDirs, isFile, issynch));
194
+ else resolve([]);
195
+ });
306
196
  }
197
+ /**
198
+ * 读取子目录
199
+ * @param url
200
+ * @param file
201
+ * @param callback
202
+ * @returns
203
+ */
307
204
  function writeFileUrl(url, files, callback, isDirs, isFile, issynch) {
308
- return new Promise(async (resolve3) => {
309
- const arr = [];
310
- const dirs = [];
311
- if (files.dirs.length > 0) {
312
- for (let i = 0; i < files.dirs.length; i++) {
313
- const dir = files.dirs[i];
314
- let is = true;
315
- if (isDirs) {
316
- is = isDirs(url, dir);
317
- }
318
- if (is) {
319
- dirs.push(dir);
320
- const urls = await writeInit(
321
- join(url, dir),
322
- callback,
323
- isDirs,
324
- isFile,
325
- issynch
326
- );
327
- arr.push(...urls);
328
- }
329
- }
330
- }
331
- files.dirs = dirs;
332
- const file = [];
333
- if (files.file.length > 0) {
334
- files.file.forEach((name) => {
335
- let is = true;
336
- if (isFile) {
337
- is = isFile(url, name);
338
- }
339
- if (is) {
340
- file.push(name);
341
- arr.push(join(url, name));
342
- }
343
- });
344
- }
345
- files.file = file;
346
- if (callback) {
347
- if (issynch) {
348
- await callback(url, files, arr);
349
- } else {
350
- callback(url, files, arr);
351
- }
352
- }
353
- resolve3(arr);
354
- });
205
+ return new Promise(async (resolve) => {
206
+ const arr = [];
207
+ const dirs = [];
208
+ if (files.dirs.length > 0) for (let i = 0; i < files.dirs.length; i++) {
209
+ const dir = files.dirs[i];
210
+ let is = true;
211
+ if (isDirs) is = isDirs(url, dir);
212
+ if (is) {
213
+ dirs.push(dir);
214
+ const urls = await writeInit(join(url, dir), callback, isDirs, isFile, issynch);
215
+ arr.push(...urls);
216
+ }
217
+ }
218
+ files.dirs = dirs;
219
+ const file = [];
220
+ if (files.file.length > 0) files.file.forEach((name) => {
221
+ let is = true;
222
+ if (isFile) is = isFile(url, name);
223
+ if (is) {
224
+ file.push(name);
225
+ arr.push(join(url, name));
226
+ }
227
+ });
228
+ files.file = file;
229
+ if (callback) if (issynch) await callback(url, files, arr);
230
+ else callback(url, files, arr);
231
+ resolve(arr);
232
+ });
355
233
  }
356
-
357
- // node_modules/.pnpm/@fangzhongya+create@0.2.50/node_modules/@fangzhongya/create/dist/chunk-55GZI3ZZ.js
358
- import { resolve, join as join2 } from "path";
234
+ //#endregion
235
+ //#region node_modules/.pnpm/@fangzhongya+create@0.2.52/node_modules/@fangzhongya/create/dist/com-CzlVBzld.js
359
236
  function styleLog(msg = "", obj) {
360
- const arr = ["\x1B[0m"];
361
- if (obj == null ? void 0 : obj.revert) {
362
- arr.push("\x1B[4m");
363
- }
364
- if (obj == null ? void 0 : obj.lineThrough) {
365
- arr.push("\x1B[9m");
366
- }
367
- if (obj == null ? void 0 : obj.italic) {
368
- arr.push("\x1B[3m");
369
- }
370
- if (obj == null ? void 0 : obj.bold) {
371
- arr.push("\x1B[1m");
372
- }
373
- if (obj == null ? void 0 : obj.bag) {
374
- arr.push(`\x1B[4${obj == null ? void 0 : obj.bag}m`);
375
- } else {
376
- arr.push("\x1B[40m");
377
- }
378
- if (obj == null ? void 0 : obj.text) {
379
- arr.push(`\x1B[3${obj == null ? void 0 : obj.text}m`);
380
- } else {
381
- arr.push("\x1B[30m");
382
- }
383
- arr.push(msg);
384
- arr.push("\x1B[0m");
385
- return arr.join("");
237
+ const arr = ["\x1B[0m"];
238
+ if (obj?.revert) arr.push("\x1B[4m");
239
+ if (obj?.lineThrough) arr.push("\x1B[9m");
240
+ if (obj?.italic) arr.push("\x1B[3m");
241
+ if (obj?.bold) arr.push("\x1B[1m");
242
+ if (obj?.bag) arr.push(`\x1B[4${obj?.bag}m`);
243
+ else arr.push("\x1B[40m");
244
+ if (obj?.text) arr.push(`\x1B[3${obj?.text}m`);
245
+ else arr.push("\x1B[30m");
246
+ arr.push(msg);
247
+ arr.push("\x1B[0m");
248
+ return arr.join("");
386
249
  }
387
250
  function getSuffix(url) {
388
- const reg = /\.([a-z|A-Z][a-z|A-Z|0-9]*)$/;
389
- const regs = reg.exec(url);
390
- if (regs && regs.length > 0) {
391
- return regs[1];
392
- }
393
- return "";
251
+ const regs = /\.([a-z|A-Z][a-z|A-Z|0-9]*)$/.exec(url);
252
+ if (regs && regs.length > 0) return regs[1];
253
+ return "";
394
254
  }
395
255
  function matchsEnd(key, matchs) {
396
- if (matchs && matchs.length > 0) {
397
- for (const value of matchs) {
398
- if (typeof value == "string") {
399
- if (key.endsWith(value)) {
400
- return true;
401
- }
402
- } else {
403
- if (value.test(key)) {
404
- return true;
405
- }
406
- }
407
- }
408
- return false;
409
- } else {
410
- return true;
411
- }
256
+ if (matchs && matchs.length > 0) {
257
+ for (const value of matchs) if (typeof value == "string") {
258
+ if (key.endsWith(value)) return true;
259
+ } else if (value.test(key)) return true;
260
+ return false;
261
+ } else return true;
412
262
  }
413
263
  function matchsStart(key, matchs) {
414
- if (matchs && matchs.length > 0) {
415
- for (const value of matchs) {
416
- if (typeof value == "string") {
417
- if (key.startsWith(value)) {
418
- return true;
419
- }
420
- } else {
421
- if (value.test(key)) {
422
- return true;
423
- }
424
- }
425
- }
426
- return false;
427
- } else {
428
- return true;
429
- }
264
+ if (matchs && matchs.length > 0) {
265
+ for (const value of matchs) if (typeof value == "string") {
266
+ if (key.startsWith(value)) return true;
267
+ } else if (value.test(key)) return true;
268
+ return false;
269
+ } else return true;
430
270
  }
431
271
  function getUrlCatalogue(str) {
432
- const reg = /((\\|\/)([^\\|\/]+)(\.[a-z|A-Z][a-z|A-Z|0-9]*))?$/g;
433
- return str.replace(reg, "");
272
+ return str.replace(/((\\|\/)([^\\|\/]+)(\.[a-z|A-Z][a-z|A-Z|0-9]*))?$/g, "");
434
273
  }
435
- var defaultSuffixReg = /\\.[a-z|A-Z]+$/;
436
- var defaultConfig = {
437
- name: "com",
438
- /**
439
- * 打包的文件地址
440
- */
441
- dir: "./packages/",
442
- /**
443
- * 文件后缀
444
- */
445
- extensions: ["js", "ts"],
446
- suffixReg: defaultSuffixReg,
447
- fileTongre: false,
448
- /**
449
- * 是否替换文件
450
- */
451
- fileCover: false,
452
- /**
453
- * 判断当前文件100个字节内存在 @config cover=true 就不写入
454
- */
455
- coverConfig: false,
456
- /**
457
- * 写入注释
458
- */
459
- writeNotes: false,
460
- /**
461
- * 读取当前文件,文件的编码类型,默认utf-8
462
- */
463
- read: false,
464
- /**
465
- * 匹配目录数组
466
- * 从头开始匹配
467
- */
468
- matchs: [],
469
- /**
470
- * 匹配文件路径
471
- * 从尾部开始匹配
472
- */
473
- matchexts: [],
474
- forceUpdate: [],
475
- /**
476
- * 不匹配目录数组
477
- * 从头开始匹配
478
- */
479
- nomatchs: [],
480
- /**
481
- * 不匹配文件路径
482
- * 从尾部开始匹配
483
- */
484
- nomatchexts: [],
485
- issort: false,
486
- issynch: false
274
+ const defaultSuffixReg = /\\.[a-z|A-Z]+$/;
275
+ const defaultConfig$2 = {
276
+ name: "com",
277
+ /**
278
+ * 打包的文件地址
279
+ */
280
+ dir: "./packages/",
281
+ /**
282
+ * 文件后缀
283
+ */
284
+ extensions: ["js", "ts"],
285
+ suffixReg: defaultSuffixReg,
286
+ fileTongre: false,
287
+ /**
288
+ * 是否替换文件
289
+ */
290
+ fileCover: false,
291
+ /**
292
+ * 判断当前文件100个字节内存在 @config cover=true 就不写入
293
+ */
294
+ coverConfig: false,
295
+ /**
296
+ * 写入注释
297
+ */
298
+ writeNotes: false,
299
+ /**
300
+ * 读取当前文件,文件的编码类型,默认utf-8
301
+ */
302
+ read: false,
303
+ /**
304
+ * 匹配目录数组
305
+ * 从头开始匹配
306
+ */
307
+ matchs: [],
308
+ /**
309
+ * 匹配文件路径
310
+ * 从尾部开始匹配
311
+ */
312
+ matchexts: [],
313
+ forceUpdate: [],
314
+ /**
315
+ * 不匹配目录数组
316
+ * 从头开始匹配
317
+ */
318
+ nomatchs: [],
319
+ /**
320
+ * 不匹配文件路径
321
+ * 从尾部开始匹配
322
+ */
323
+ nomatchexts: [],
324
+ issort: false,
325
+ issynch: false
487
326
  };
488
327
  function getSuffixReg(ex = []) {
489
- if (ex.length == 0) {
490
- return defaultSuffixReg;
491
- }
492
- return new RegExp(`\\.(${ex.join("|")})$`);
328
+ if (ex.length == 0) return defaultSuffixReg;
329
+ return new RegExp(`\\.(${ex.join("|")})$`);
493
330
  }
331
+ /**
332
+ * 不清楚怎么定义抽象方法
333
+ */
494
334
  var FangCom = class {
495
- _configCallback;
496
- _defaultConfig;
497
- config;
498
- constructor(config, callback) {
499
- this.config = {};
500
- this._configCallback = callback;
501
- this._defaultConfig = defaultConfig;
502
- this.initConfig(config);
503
- }
504
- async runDev(callback, configCallback, config, nosort) {
505
- this.initConfig(config);
506
- const call = configCallback || this._configCallback;
507
- if (call) {
508
- const c = call(this.config);
509
- if (c) {
510
- this.initConfig(c);
511
- }
512
- }
513
- return await this.handle(callback, nosort);
514
- }
515
- /**
516
- * 初始化
517
- * @param config
518
- * @returns
519
- */
520
- initConfig(config) {
521
- if (config) {
522
- this.config = config;
523
- this.setDefaultConfig();
524
- this.config.suffixReg = getSuffixReg(this.config.extensions);
525
- if (!this.config.matchexts || this.config.matchexts.length == 0) {
526
- this.config.matchexts = [this.config.suffixReg];
527
- }
528
- }
529
- return this.config;
530
- }
531
- setDefaultConfig() {
532
- Object.keys(this._defaultConfig).forEach((key) => {
533
- if (typeof this.config[key] == "undefined") {
534
- this.config[key] = this._defaultConfig[key];
535
- }
536
- });
537
- }
538
- getFileName(name) {
539
- if (this.config.suffixReg) {
540
- return name.replace(this.config.suffixReg, "");
541
- } else {
542
- return name.replace(defaultSuffixReg, "");
543
- }
544
- }
545
- /**
546
- * 获取当前位置
547
- * @param dir
548
- * @returns
549
- */
550
- getDirUrl(dir) {
551
- const str = dir || this.config.dir;
552
- if (str) {
553
- return resolve(process.cwd(), str);
554
- } else {
555
- return "";
556
- }
557
- }
558
- isForceUpdate(url) {
559
- if (this.config.forceUpdate && this.config.forceUpdate.length > 0) {
560
- return matchsEnd(url.replace(/\\/g, "/"), this.config.forceUpdate);
561
- } else {
562
- return false;
563
- }
564
- }
565
- isMatchFile(url, name) {
566
- const dirUrl = this.getDirUrl();
567
- const dir = join2(url, name).replace(dirUrl, "").replace(/\\/g, "/");
568
- const is = matchsEnd(dir, this.config.matchexts);
569
- const nomatchexts = this.config.nomatchexts;
570
- if (is && nomatchexts && nomatchexts.length > 0) {
571
- if (matchsEnd(dir, nomatchexts)) {
572
- return false;
573
- } else {
574
- return true;
575
- }
576
- } else {
577
- return is;
578
- }
579
- }
580
- isMatchDir(url, name) {
581
- const dirUrl = this.getDirUrl();
582
- const dir = join2(url, name).replace(dirUrl, "").replace(/\\/g, "/");
583
- const is = matchsStart(dir, this.config.matchs);
584
- const nomatchs = this.config.nomatchs;
585
- if (is && nomatchs && nomatchs.length > 0) {
586
- if (matchsStart(dir, nomatchs)) {
587
- return false;
588
- } else {
589
- return true;
590
- }
591
- } else {
592
- return is;
593
- }
594
- }
595
- /**
596
- * 处理方法
597
- * @param callback
598
- */
599
- handle(callback, nosort) {
600
- return new Promise(async (resolve22) => {
601
- const url = this.getDirUrl();
602
- if (url) {
603
- const rarr = await writeInit(
604
- url,
605
- async (...arr) => {
606
- if (callback) {
607
- await callback(...arr);
608
- }
609
- return await this.writeCallback(...arr, nosort);
610
- },
611
- (...arr) => {
612
- return this.isMatchDir(...arr);
613
- },
614
- (...arr) => {
615
- return this.isMatchFile(...arr);
616
- },
617
- this.config.issynch
618
- );
619
- resolve22(rarr);
620
- } else {
621
- resolve22([]);
622
- }
623
- });
624
- }
625
- getFileNotes(url) {
626
- const suffix = getSuffix(url);
627
- const sz = [
628
- `@config cover=false`,
629
- `cover \u662F\u5426\u8986\u76D6\u5F53\u524D\u6587\u4EF6\uFF0C\u9ED8\u8BA4\u662Ffalse\uFF0C true \u8868\u793A\u4E0D\u8986\u76D6`,
630
- `\u5F53\u524D\u5DF2\u7ECF\u7531@fangzhongya/create\u81EA\u52A8\u751F\u6210`,
631
- `${(/* @__PURE__ */ new Date()).toString()}`
632
- ];
633
- const hy = ["md", "html", "vue"];
634
- if (hy.includes(suffix)) {
635
- const arr = ["<!--"];
636
- sz.forEach((v) => {
637
- arr.push(" - " + v);
638
- });
639
- arr.push("-->");
640
- return arr;
641
- } else {
642
- const arr = ["/**"];
643
- sz.forEach((v) => {
644
- arr.push(" * " + v);
645
- });
646
- arr.push(" */");
647
- return arr;
648
- }
649
- }
650
- /**
651
- * 输出文件,判断目录是否存在
652
- * @param url
653
- * @param sts
654
- */
655
- fileOpen(url, sts, fileUrls, type) {
656
- fsMkdir(getUrlCatalogue(url), (reaPath, is, ml) => {
657
- const logs = this.getLogs();
658
- logs.push(styleLog("dir", {}));
659
- if (is) {
660
- if (ml) {
661
- logs.push(
662
- styleLog("add", {
663
- text: 2,
664
- italic: true
665
- })
666
- );
667
- logs.push(
668
- styleLog(reaPath, {
669
- text: 2,
670
- revert: true
671
- })
672
- );
673
- console.log(logs.join(" "));
674
- }
675
- } else {
676
- logs.push(
677
- styleLog(reaPath, {
678
- text: 1,
679
- revert: true
680
- })
681
- );
682
- console.log(logs.join(" "));
683
- }
684
- this.setOpen(url, sts, type, (kurl, _type, is2, _tn) => {
685
- if (is2 && fileUrls) {
686
- fileUrls.push(kurl);
687
- }
688
- });
689
- });
690
- }
691
- /**
692
- * 输出文件
693
- * @param url
694
- * @param str
695
- * @param callback
696
- */
697
- setOpen(url, str, type, callback) {
698
- let tn = this.config.fileTongre ? 3 : 2;
699
- if (this.config.fileCover) {
700
- tn = 0;
701
- }
702
- if (tn == 2) {
703
- if (this.isForceUpdate(url)) {
704
- tn = 0;
705
- }
706
- }
707
- if (typeof type != "undefined") {
708
- tn = type;
709
- }
710
- if (this.config.writeNotes && !/\.json$/.test(url)) {
711
- str = this.getFileNotes(url).join("\n") + "\n" + str;
712
- }
713
- fsOpenStream(
714
- url,
715
- str,
716
- tn,
717
- this.config.coverConfig,
718
- (kurl, type2, is) => {
719
- if (!(tn == 2 && type2 == 2)) {
720
- const logs = this.getLogs();
721
- logs.push(styleLog("file", {}));
722
- if (type2 == 1) {
723
- logs.push(
724
- styleLog("add", {
725
- text: 2,
726
- italic: true
727
- })
728
- );
729
- } else if (type2 == 2) {
730
- logs.push(
731
- styleLog("update", {
732
- italic: true,
733
- text: 4
734
- })
735
- );
736
- }
737
- if (is) {
738
- logs.push(
739
- styleLog(kurl, {
740
- text: 2,
741
- revert: true
742
- })
743
- );
744
- } else {
745
- logs.push(
746
- styleLog(kurl, {
747
- text: 1,
748
- revert: true
749
- })
750
- );
751
- }
752
- console.log(logs.join(" "));
753
- }
754
- if (callback) {
755
- callback(kurl, type2, is, tn);
756
- }
757
- }
758
- );
759
- }
760
- /**
761
- * 获取日志头
762
- */
763
- getLogs() {
764
- const logs = [];
765
- logs.push(
766
- styleLog("[@fangzhongya/create]", {
767
- text: 3
768
- })
769
- );
770
- logs.push(
771
- styleLog(this._defaultConfig.name, {
772
- text: 4
773
- })
774
- );
775
- return logs;
776
- }
335
+ _configCallback;
336
+ _defaultConfig;
337
+ config;
338
+ constructor(config, callback) {
339
+ this.config = {};
340
+ this._configCallback = callback;
341
+ this._defaultConfig = defaultConfig$2;
342
+ this.initConfig(config);
343
+ }
344
+ async runDev(callback, configCallback, config, nosort) {
345
+ this.initConfig(config);
346
+ const call = configCallback || this._configCallback;
347
+ if (call) {
348
+ const c = call(this.config);
349
+ if (c) this.initConfig(c);
350
+ }
351
+ return await this.handle(callback, nosort);
352
+ }
353
+ /**
354
+ * 初始化
355
+ * @param config
356
+ * @returns
357
+ */
358
+ initConfig(config) {
359
+ if (config) {
360
+ this.config = config;
361
+ this.setDefaultConfig();
362
+ this.config.suffixReg = getSuffixReg(this.config.extensions);
363
+ if (!this.config.matchexts || this.config.matchexts.length == 0) this.config.matchexts = [this.config.suffixReg];
364
+ }
365
+ return this.config;
366
+ }
367
+ setDefaultConfig() {
368
+ Object.keys(this._defaultConfig).forEach((key) => {
369
+ if (typeof this.config[key] == "undefined") this.config[key] = this._defaultConfig[key];
370
+ });
371
+ }
372
+ getFileName(name) {
373
+ if (this.config.suffixReg) return name.replace(this.config.suffixReg, "");
374
+ else return name.replace(defaultSuffixReg, "");
375
+ }
376
+ /**
377
+ * 获取当前位置
378
+ * @param dir
379
+ * @returns
380
+ */
381
+ getDirUrl(dir) {
382
+ const str = dir || this.config.dir;
383
+ if (str) return resolve(process.cwd(), str);
384
+ else return "";
385
+ }
386
+ isForceUpdate(url) {
387
+ if (this.config.forceUpdate && this.config.forceUpdate.length > 0) return matchsEnd(url.replace(/\\/g, "/"), this.config.forceUpdate);
388
+ else return false;
389
+ }
390
+ isMatchFile(url, name) {
391
+ const dirUrl = this.getDirUrl();
392
+ const dir = join(url, name).replace(dirUrl, "").replace(/\\/g, "/");
393
+ const is = matchsEnd(dir, this.config.matchexts);
394
+ const nomatchexts = this.config.nomatchexts;
395
+ if (is && nomatchexts && nomatchexts.length > 0) if (matchsEnd(dir, nomatchexts)) return false;
396
+ else return true;
397
+ else return is;
398
+ }
399
+ isMatchDir(url, name) {
400
+ const dirUrl = this.getDirUrl();
401
+ const dir = join(url, name).replace(dirUrl, "").replace(/\\/g, "/");
402
+ const is = matchsStart(dir, this.config.matchs);
403
+ const nomatchs = this.config.nomatchs;
404
+ if (is && nomatchs && nomatchs.length > 0) if (matchsStart(dir, nomatchs)) return false;
405
+ else return true;
406
+ else return is;
407
+ }
408
+ /**
409
+ * 处理方法
410
+ * @param callback
411
+ */
412
+ handle(callback, nosort) {
413
+ return new Promise(async (resolve) => {
414
+ const url = this.getDirUrl();
415
+ if (url) resolve(await writeInit(url, async (...arr) => {
416
+ if (callback) await callback(...arr);
417
+ return await this.writeCallback(...arr, nosort);
418
+ }, (...arr) => {
419
+ return this.isMatchDir(...arr);
420
+ }, (...arr) => {
421
+ return this.isMatchFile(...arr);
422
+ }, this.config.issynch));
423
+ else resolve([]);
424
+ });
425
+ }
426
+ getFileNotes(url) {
427
+ const suffix = getSuffix(url);
428
+ const sz = [
429
+ `@config cover=false`,
430
+ `cover 是否覆盖当前文件,默认是false, true 表示不覆盖`,
431
+ `当前已经由@fangzhongya/create自动生成`,
432
+ `${(/* @__PURE__ */ new Date()).toString()}`
433
+ ];
434
+ if ([
435
+ "md",
436
+ "html",
437
+ "vue"
438
+ ].includes(suffix)) {
439
+ const arr = ["<!--"];
440
+ sz.forEach((v) => {
441
+ arr.push(" - " + v);
442
+ });
443
+ arr.push("-->");
444
+ return arr;
445
+ } else {
446
+ const arr = ["/**"];
447
+ sz.forEach((v) => {
448
+ arr.push(" * " + v);
449
+ });
450
+ arr.push(" */");
451
+ return arr;
452
+ }
453
+ }
454
+ /**
455
+ * 输出文件,判断目录是否存在
456
+ * @param url
457
+ * @param sts
458
+ */
459
+ fileOpen(url, sts, fileUrls, type) {
460
+ fsMkdir(getUrlCatalogue(url), (reaPath, is, ml) => {
461
+ const logs = this.getLogs();
462
+ logs.push(styleLog("dir", {}));
463
+ if (is) {
464
+ if (ml) {
465
+ logs.push(styleLog("add", {
466
+ text: 2,
467
+ italic: true
468
+ }));
469
+ logs.push(styleLog(reaPath, {
470
+ text: 2,
471
+ revert: true
472
+ }));
473
+ console.log(logs.join(" "));
474
+ }
475
+ } else {
476
+ logs.push(styleLog(reaPath, {
477
+ text: 1,
478
+ revert: true
479
+ }));
480
+ console.log(logs.join(" "));
481
+ }
482
+ this.setOpen(url, sts, type, (kurl, _type, is, _tn) => {
483
+ if (is && fileUrls) fileUrls.push(kurl);
484
+ });
485
+ });
486
+ }
487
+ /**
488
+ * 输出文件
489
+ * @param url
490
+ * @param str
491
+ * @param callback
492
+ */
493
+ setOpen(url, str, type, callback) {
494
+ let tn = this.config.fileTongre ? 3 : 2;
495
+ if (this.config.fileCover) tn = 0;
496
+ if (tn == 2) {
497
+ if (this.isForceUpdate(url)) tn = 0;
498
+ }
499
+ if (typeof type != "undefined") tn = type;
500
+ if (this.config.writeNotes && !/\.json$/.test(url)) str = this.getFileNotes(url).join("\n") + "\n" + str;
501
+ fsOpenStream(url, str, tn, this.config.coverConfig, (kurl, type, is) => {
502
+ if (!(tn == 2 && type == 2)) {
503
+ const logs = this.getLogs();
504
+ logs.push(styleLog("file", {}));
505
+ if (type == 1) logs.push(styleLog("add", {
506
+ text: 2,
507
+ italic: true
508
+ }));
509
+ else if (type == 2) logs.push(styleLog("update", {
510
+ italic: true,
511
+ text: 4
512
+ }));
513
+ if (is) logs.push(styleLog(kurl, {
514
+ text: 2,
515
+ revert: true
516
+ }));
517
+ else logs.push(styleLog(kurl, {
518
+ text: 1,
519
+ revert: true
520
+ }));
521
+ console.log(logs.join(" "));
522
+ }
523
+ if (callback) callback(kurl, type, is, tn);
524
+ });
525
+ }
526
+ /**
527
+ * 获取日志头
528
+ */
529
+ getLogs() {
530
+ const logs = [];
531
+ logs.push(styleLog("[@fangzhongya/create]", { text: 3 }));
532
+ logs.push(styleLog(this._defaultConfig.name, { text: 4 }));
533
+ return logs;
534
+ }
777
535
  };
778
-
779
- // node_modules/.pnpm/@fangzhongya+create@0.2.50/node_modules/@fangzhongya/create/dist/chunk-VZKQWRZ3.js
780
- import { resolve as resolve2, join as join3 } from "path";
781
- var defaultConfig2 = Object.assign({}, defaultConfig, {
782
- name: "file",
783
- /**
784
- * 生成的文件名称
785
- */
786
- gene: void 0,
787
- /**
788
- * 文件生成方法
789
- */
790
- fileSet: void 0
536
+ //#endregion
537
+ //#region node_modules/.pnpm/@fangzhongya+create@0.2.52/node_modules/@fangzhongya/create/dist/chunk-KDOS4NFR-4twmajmu.js
538
+ function getStartSames(str, val) {
539
+ let s = "";
540
+ const vs = [...val];
541
+ let index = 0;
542
+ for (; index < vs.length; index++) {
543
+ const element = vs[index];
544
+ if (element === str.charAt(index)) s += element;
545
+ else break;
546
+ }
547
+ return [
548
+ s,
549
+ str.substring(index),
550
+ val.substring(index)
551
+ ];
552
+ }
553
+ function getImportUrl(url, imp) {
554
+ const arr = getStartSames(url, imp);
555
+ const ts = arr[0];
556
+ if (!/[\\|\/]$/.test(ts)) {
557
+ const regs = ts.match(/[\\|\/]([^\\|\/]*)$/);
558
+ if (regs && regs.length > 0) {
559
+ const a = regs[1];
560
+ arr[0] = ts.substring(0, regs.index + 1);
561
+ arr[1] = a + arr[1];
562
+ arr[2] = a + arr[2];
563
+ }
564
+ }
565
+ const l = arr[1].split(/\\|\//).length - 1;
566
+ let ds = ["./"];
567
+ if (l > 0) {
568
+ ds = [];
569
+ for (let index = 0; index < l; index++) ds.push("../");
570
+ }
571
+ return ds.join("") + arr[2].replace(/\\/g, "/");
572
+ }
573
+ //#endregion
574
+ //#region node_modules/.pnpm/@fangzhongya+create@0.2.52/node_modules/@fangzhongya/create/dist/chunk-NWIJYHAJ-CaD2i2BV.js
575
+ function getImportUrlSuffix(url, imp) {
576
+ return getImportUrl(url, imp).replace(/\.([a-z|A-Z][a-z|A-Z|0-9]*)$/, "");
577
+ }
578
+ //#endregion
579
+ //#region node_modules/.pnpm/@fangzhongya+create@0.2.52/node_modules/@fangzhongya/create/dist/file.js
580
+ const defaultConfig$1 = Object.assign({}, defaultConfig$2, {
581
+ name: "file",
582
+ /**
583
+ * 生成的文件名称
584
+ */
585
+ gene: void 0,
586
+ /**
587
+ * 文件生成方法
588
+ */
589
+ fileSet: void 0
791
590
  });
792
591
  var FangFile = class extends FangCom {
793
- constructor(config, callback) {
794
- super();
795
- this.config = {};
796
- this._configCallback = callback;
797
- this._defaultConfig = defaultConfig2;
798
- this.initConfig(config || this.config);
799
- }
800
- getDefaultGene(name, url, _wj) {
801
- return join3(url, name);
802
- }
803
- getDefaultFileSet(_name, _url, _text, _wjm, _imp, _surl) {
804
- return [];
805
- }
806
- getGeneObj(url, name, outDir) {
807
- return getUrlCatalogueObj(
808
- join3(
809
- resolve2(process.cwd(), outDir),
810
- join3(url, name).replace(this.getDirUrl(), "")
811
- )
812
- );
813
- }
814
- /**
815
- * 获取输出地址方法
816
- * @param gene
817
- * @returns
818
- */
819
- getGene(gene) {
820
- gene = gene || this.config.gene;
821
- if (!gene) {
822
- return (...arr) => {
823
- return this.getDefaultGene(...arr);
824
- };
825
- } else {
826
- return gene;
827
- }
828
- }
829
- fileRead(url, type) {
830
- return new Promise((resolve22) => {
831
- fsAccess(url).then(() => {
832
- resolve22(fsReadFile(url, type));
833
- });
834
- });
835
- }
836
- getFileSet(fileSet) {
837
- fileSet = fileSet || this.config.fileSet;
838
- if (!fileSet) {
839
- return (...arr) => {
840
- return this.getDefaultFileSet(...arr);
841
- };
842
- } else {
843
- return fileSet;
844
- }
845
- }
846
- /**
847
- * 回调方法
848
- * @param url
849
- * @param file
850
- * @param urls
851
- */
852
- async writeCallback(url, readdir2, fileUrls) {
853
- const gene = this.getGene();
854
- const fileSet = this.getFileSet();
855
- const read = this.config.read;
856
- if (readdir2.file) {
857
- for (let i = 0; i < readdir2.file.length; i++) {
858
- const name = readdir2.file[i];
859
- const furl = join3(url, name);
860
- const wjmc = this.getFileName(name);
861
- const gu = gene(name, url, wjmc);
862
- const imp = getImportUrlSuffix(gu, furl);
863
- const arr = [];
864
- if (fileSet) {
865
- let text = "";
866
- if (read) {
867
- text = await fsReadFile(furl, read);
868
- }
869
- arr.push(...fileSet(name, url, text, wjmc, imp, gu));
870
- }
871
- if (arr.length > 0) {
872
- this.fileOpen(gu, arr.join("\n"), fileUrls);
873
- }
874
- }
875
- }
876
- return true;
877
- }
592
+ constructor(config, callback) {
593
+ super();
594
+ this.config = {};
595
+ this._configCallback = callback;
596
+ this._defaultConfig = defaultConfig$1;
597
+ this.initConfig(config || this.config);
598
+ }
599
+ getDefaultGene(name, url, _wj) {
600
+ return join(url, name);
601
+ }
602
+ getDefaultFileSet(_name, _url, _text, _wjm, _imp, _surl) {
603
+ return [];
604
+ }
605
+ getGeneObj(url, name, outDir) {
606
+ return getUrlCatalogueObj(join(resolve(process.cwd(), outDir), join(url, name).replace(this.getDirUrl(), "")));
607
+ }
608
+ /**
609
+ * 获取输出地址方法
610
+ * @param gene
611
+ * @returns
612
+ */
613
+ getGene(gene) {
614
+ gene = gene || this.config.gene;
615
+ if (!gene) return (...arr) => {
616
+ return this.getDefaultGene(...arr);
617
+ };
618
+ else return gene;
619
+ }
620
+ fileRead(url, type) {
621
+ return new Promise((resolve) => {
622
+ fsAccess(url).then(() => {
623
+ resolve(fsReadFile(url, type));
624
+ });
625
+ });
626
+ }
627
+ getFileSet(fileSet) {
628
+ fileSet = fileSet || this.config.fileSet;
629
+ if (!fileSet) return (...arr) => {
630
+ return this.getDefaultFileSet(...arr);
631
+ };
632
+ else return fileSet;
633
+ }
634
+ /**
635
+ * 回调方法
636
+ * @param url
637
+ * @param file
638
+ * @param urls
639
+ */
640
+ async writeCallback(url, readdir, fileUrls) {
641
+ const gene = this.getGene();
642
+ const fileSet = this.getFileSet();
643
+ const read = this.config.read;
644
+ if (readdir.file) for (let i = 0; i < readdir.file.length; i++) {
645
+ const name = readdir.file[i];
646
+ const furl = join(url, name);
647
+ const wjmc = this.getFileName(name);
648
+ const gu = gene(name, url, wjmc);
649
+ const imp = getImportUrlSuffix(gu, furl);
650
+ const arr = [];
651
+ if (fileSet) {
652
+ let text = "";
653
+ if (read) text = await fsReadFile(furl, read);
654
+ arr.push(...fileSet(name, url, text, wjmc, imp, gu));
655
+ }
656
+ if (arr.length > 0) this.fileOpen(gu, arr.join("\n"), fileUrls);
657
+ }
658
+ return true;
659
+ }
878
660
  };
879
-
880
- // node_modules/.pnpm/@fangzhongya+create@0.2.50/node_modules/@fangzhongya/create/dist/chunk-WJXYWEHS.js
881
- import { join as join4 } from "path";
882
- var defaultConfig22 = Object.assign({}, defaultConfig2, {
883
- name: "out",
884
- outDir: "./",
885
- isNeader: true
661
+ //#endregion
662
+ //#region node_modules/.pnpm/@fangzhongya+create@0.2.52/node_modules/@fangzhongya/create/dist/out/index.js
663
+ const defaultConfig = Object.assign({}, defaultConfig$1, {
664
+ name: "out",
665
+ outDir: "./",
666
+ isNeader: true
886
667
  });
887
668
  var FangOut = class extends FangFile {
888
- constructor(config, callback) {
889
- super();
890
- this.config = {};
891
- this._configCallback = callback;
892
- this._defaultConfig = defaultConfig22;
893
- this.initConfig(config || this.config);
894
- }
895
- getFileNeader(name, url) {
896
- return [`/**`, ` * ${join4(url, name).replace(/\\/g, "/")}`, " */"];
897
- }
898
- /**
899
- * 获取输出地址方法
900
- * @param gene
901
- * @returns
902
- */
903
- getDefaultGene(name, url, _wj) {
904
- const obj = this.getGeneObj(url, name, this.config.outDir);
905
- return join4(obj.catalogue, obj.name + "." + obj.suffix);
906
- }
907
- getDefaultFileSet(name, url, text, _wjm, _imp) {
908
- const arr = [text];
909
- if (this.config.isNeader) {
910
- return [...this.getFileNeader(name, url), ...arr];
911
- }
912
- return arr;
913
- }
669
+ constructor(config, callback) {
670
+ super();
671
+ this.config = {};
672
+ this._configCallback = callback;
673
+ this._defaultConfig = defaultConfig;
674
+ this.initConfig(config || this.config);
675
+ }
676
+ getFileNeader(name, url) {
677
+ return [
678
+ `/**`,
679
+ ` * ${join(url, name).replace(/\\/g, "/")}`,
680
+ " */"
681
+ ];
682
+ }
683
+ /**
684
+ * 获取输出地址方法
685
+ * @param gene
686
+ * @returns
687
+ */
688
+ getDefaultGene(name, url, _wj) {
689
+ const obj = this.getGeneObj(url, name, this.config.outDir);
690
+ return join(obj.catalogue, obj.name + "." + obj.suffix);
691
+ }
692
+ getDefaultFileSet(name, url, text, _wjm, _imp) {
693
+ const arr = [text];
694
+ if (this.config.isNeader) return [...this.getFileNeader(name, url), ...arr];
695
+ return arr;
696
+ }
914
697
  };
915
698
  function runDev(config, configCallback, callback) {
916
- const fang = new FangOut(config);
917
- fang.runDev(callback, configCallback);
699
+ new FangOut(config).runDev(callback, configCallback);
918
700
  }
919
-
920
- // packages/vite/index.ts
921
- import { join as join5 } from "path";
922
- var runType = "vue";
923
- var virtualModuleId = "virtual:fang-icon";
701
+ //#endregion
702
+ //#region packages/vite/index.ts
703
+ const runType = "vue";
704
+ const virtualModuleId = "virtual:fang-icon";
924
705
  function simpleFangIcon(options = {}) {
925
- const {
926
- name = "FangIcon",
927
- type = runType,
928
- directory = "/svg",
929
- dynamic = true,
930
- virtual = false,
931
- replaced = true,
932
- alias = "icon",
933
- customReplacement
934
- } = options;
935
- if (options.mobile) {
936
- const outDir = join5("./public/", directory);
937
- runDev({
938
- issort: true,
939
- dir: "./node_modules/@fangzhongya/icons/dist/svg",
940
- outDir,
941
- extensions: ["svg"],
942
- read: true,
943
- fileCover: true,
944
- isNeader: false
945
- });
946
- }
947
- const plugin = {
948
- name: "simple-fang-icon"
949
- };
950
- const resolvedVirtualModuleId = "\0" + virtualModuleId;
951
- if (virtual) {
952
- const pub = `
706
+ const { name = "FangIcon", type = runType, directory = "/svg", dynamic = true, virtual = false, replaced = true, alias = "icon", customReplacement } = options;
707
+ if (options.mobile) runDev({
708
+ issort: true,
709
+ dir: "./node_modules/@fangzhongya/icons/dist/svg",
710
+ outDir: join$1("./public/", directory),
711
+ extensions: ["svg"],
712
+ read: true,
713
+ fileCover: true,
714
+ isNeader: false
715
+ });
716
+ const plugin = { name: "simple-fang-icon" };
717
+ const resolvedVirtualModuleId = "\0virtual:fang-icon";
718
+ if (virtual) {
719
+ const pub = `
953
720
  import { defineComponent, h,} from 'vue'
954
721
  import FangIcon from '@fangzhongya/icons/icon/index'
955
722
  const component = defineComponent({
@@ -978,13 +745,13 @@ function simpleFangIcon(options = {}) {
978
745
  };
979
746
  }
980
747
  });
981
- // \u5BFC\u51FA\u5B89\u88C5\u51FD\u6570
748
+ // 导出安装函数
982
749
  component.install = (app) => {
983
750
  app.component('${name}', component)
984
751
  };
985
752
  export const '${name}' = component;
986
753
  export default component;`;
987
- const svg = `
754
+ const svg = `
988
755
  import { defineComponent, h, computed} from 'vue'
989
756
  import FangIcon from '@fangzhongya/icons/icon/index'
990
757
  import { icons } from '@fangzhongya/icons/async'
@@ -1033,264 +800,201 @@ function simpleFangIcon(options = {}) {
1033
800
  };
1034
801
  }
1035
802
  });
1036
- // \u5BFC\u51FA\u5B89\u88C5\u51FD\u6570
803
+ // 导出安装函数
1037
804
  component.install = (app) => {
1038
805
  app.component('${name}', component)
1039
806
  };
1040
807
  export const '${name}' = component;
1041
808
  export default component;`;
1042
- const text = type === runType ? svg : pub;
1043
- plugin.resolveId = function(id) {
1044
- if (id === virtualModuleId) {
1045
- return resolvedVirtualModuleId;
1046
- }
1047
- return void 0;
1048
- };
1049
- plugin.load = function(id) {
1050
- if (id === resolvedVirtualModuleId) {
1051
- return text;
1052
- }
1053
- return null;
1054
- };
1055
- } else {
1056
- plugin.resolveId = function(id) {
1057
- if (id === virtualModuleId) {
1058
- return resolvedVirtualModuleId;
1059
- }
1060
- return void 0;
1061
- };
1062
- plugin.load = function(id) {
1063
- if (id === resolvedVirtualModuleId) {
1064
- return `export const install = () => {};
809
+ const text = type === runType ? svg : pub;
810
+ plugin.resolveId = function(id) {
811
+ if (id === virtualModuleId) return resolvedVirtualModuleId;
812
+ };
813
+ plugin.load = function(id) {
814
+ if (id === resolvedVirtualModuleId) return text;
815
+ return null;
816
+ };
817
+ } else {
818
+ plugin.resolveId = function(id) {
819
+ if (id === virtualModuleId) return resolvedVirtualModuleId;
820
+ };
821
+ plugin.load = function(id) {
822
+ if (id === resolvedVirtualModuleId) return `export const install = () => {};
1065
823
  export default {};`;
1066
- }
1067
- return null;
1068
- };
1069
- }
1070
- if (replaced) {
1071
- const targetComponents = Array.isArray(name) ? name : [name];
1072
- plugin.enforce = "pre";
1073
- plugin.transform = function(code, id) {
1074
- if (!shouldProcess(id)) {
1075
- return null;
1076
- }
1077
- try {
1078
- const components = findComponents(code, targetComponents);
1079
- if (components.length === 0) {
1080
- return null;
1081
- }
1082
- let transformedCode = code;
1083
- let replacedCount = 0;
1084
- const imports = /* @__PURE__ */ new Set();
1085
- if (!virtual) {
1086
- imports.add(
1087
- `import ${name} from '@fangzhongya/icons/icon/index'`
1088
- );
1089
- replacedCount++;
1090
- }
1091
- for (let i = components.length - 1; i >= 0; i--) {
1092
- const component = components[i];
1093
- if (isReplaced(component)) {
1094
- const { text, imptext } = replaceComponent(
1095
- component,
1096
- type,
1097
- dynamic,
1098
- customReplacement,
1099
- alias
1100
- );
1101
- imports.add(imptext);
1102
- if (text !== component.fullMatch) {
1103
- transformedCode = transformedCode.slice(0, component.start) + text + transformedCode.slice(component.end);
1104
- replacedCount++;
1105
- }
1106
- }
1107
- }
1108
- if (/.vue$/.test(id)) {
1109
- const i = transformedCode.indexOf("</script>");
1110
- transformedCode = transformedCode.slice(0, i) + [...imports].join(";\n") + transformedCode.slice(i);
1111
- } else {
1112
- transformedCode = [...imports].join(";\n") + transformedCode;
1113
- }
1114
- if (replacedCount > 0) {
1115
- return {
1116
- code: transformedCode,
1117
- map: null
1118
- };
1119
- }
1120
- } catch (error) {
1121
- console.error(`\u5904\u7406\u6587\u4EF6 ${id} \u65F6\u51FA\u9519:`, error);
1122
- }
1123
- return null;
1124
- };
1125
- plugin.handleHotUpdate = function({
1126
- file,
1127
- server
1128
- }) {
1129
- if (shouldProcess(file)) {
1130
- server.ws.send({
1131
- type: "full-reload"
1132
- });
1133
- return [];
1134
- }
1135
- };
1136
- }
1137
- return plugin;
824
+ return null;
825
+ };
826
+ }
827
+ if (replaced) {
828
+ const targetComponents = Array.isArray(name) ? name : [name];
829
+ plugin.enforce = "pre";
830
+ plugin.transform = function(code, id) {
831
+ if (!shouldProcess(id)) return null;
832
+ try {
833
+ const components = findComponents(code, targetComponents);
834
+ if (components.length === 0) return null;
835
+ let transformedCode = code;
836
+ let replacedCount = 0;
837
+ const imports = /* @__PURE__ */ new Set();
838
+ if (!virtual) {
839
+ imports.add(`import ${name} from '@fangzhongya/icons/icon/index'`);
840
+ replacedCount++;
841
+ }
842
+ for (let i = components.length - 1; i >= 0; i--) {
843
+ const component = components[i];
844
+ if (isReplaced(component)) {
845
+ const { text, imptext } = replaceComponent(component, type, dynamic, customReplacement, alias);
846
+ imports.add(imptext);
847
+ if (text !== component.fullMatch) {
848
+ transformedCode = transformedCode.slice(0, component.start) + text + transformedCode.slice(component.end);
849
+ replacedCount++;
850
+ }
851
+ }
852
+ }
853
+ if (/.vue$/.test(id)) {
854
+ const i = transformedCode.indexOf("<\/script>");
855
+ transformedCode = transformedCode.slice(0, i) + [...imports].join(";\n") + transformedCode.slice(i);
856
+ } else transformedCode = [...imports].join(";\n") + transformedCode;
857
+ if (replacedCount > 0) return {
858
+ code: transformedCode,
859
+ map: null
860
+ };
861
+ } catch (error) {
862
+ console.error(`处理文件 ${id} 时出错:`, error);
863
+ }
864
+ return null;
865
+ };
866
+ plugin.handleHotUpdate = function({ file, server }) {
867
+ if (shouldProcess(file)) {
868
+ server.ws.send({ type: "full-reload" });
869
+ return [];
870
+ }
871
+ };
872
+ }
873
+ return plugin;
1138
874
  }
1139
875
  function parseAttributes(attrString) {
1140
- const attributes = { name: "" };
1141
- const attrRegex = /(?:@|:|v-bind:)?([\w-]+)(?:="([^"]*)"|='([^']*)')/g;
1142
- let match;
1143
- while ((match = attrRegex.exec(attrString)) !== null) {
1144
- const name = match[1];
1145
- if (name) {
1146
- const value = match[2] || match[3] || "";
1147
- if (name === "name") {
1148
- attributes.name = value;
1149
- } else if (value === "true" || value === "false") {
1150
- attributes[name] = value === "true";
1151
- } else if (!isNaN(Number(value)) && value !== "") {
1152
- attributes[name] = Number(value);
1153
- } else {
1154
- attributes[name] = value;
1155
- }
1156
- }
1157
- }
1158
- return attributes;
876
+ const attributes = { name: "" };
877
+ const attrRegex = /(?:@|:|v-bind:)?([\w-]+)(?:="([^"]*)"|='([^']*)')/g;
878
+ let match;
879
+ while ((match = attrRegex.exec(attrString)) !== null) {
880
+ const name = match[1];
881
+ if (name) {
882
+ const value = match[2] || match[3] || "";
883
+ if (name === "name") attributes.name = value;
884
+ else if (value === "true" || value === "false") attributes[name] = value === "true";
885
+ else if (!isNaN(Number(value)) && value !== "") attributes[name] = Number(value);
886
+ else attributes[name] = value;
887
+ }
888
+ }
889
+ return attributes;
1159
890
  }
1160
891
  function hasStringNameAttribute(attrString) {
1161
- const nameRegex = /(?:^|\s)name="[^"]*"/i;
1162
- const singleQuoteRegex = /(?:^|\s)name='[^']*'/i;
1163
- return nameRegex.test(attrString) || singleQuoteRegex.test(attrString);
892
+ return /(?:^|\s)name="[^"]*"/i.test(attrString) || /(?:^|\s)name='[^']*'/i.test(attrString);
1164
893
  }
1165
894
  function isOnlyWhitespace(content) {
1166
- return !content || /^\s*$/.test(content);
895
+ return !content || /^\s*$/.test(content);
1167
896
  }
1168
897
  function isReplaced(m) {
1169
- if (!m) {
1170
- return false;
1171
- }
1172
- const { fullMatch, attributes } = m;
1173
- if (!hasStringNameAttribute(fullMatch)) {
1174
- return false;
1175
- }
1176
- if (!attributes.name) {
1177
- return false;
1178
- }
1179
- const content = fullMatch.slice(
1180
- fullMatch.indexOf(">") + 1,
1181
- fullMatch.indexOf("</")
1182
- );
1183
- if (!isOnlyWhitespace(content)) {
1184
- return false;
1185
- }
1186
- return true;
898
+ if (!m) return false;
899
+ const { fullMatch, attributes } = m;
900
+ if (!hasStringNameAttribute(fullMatch)) return false;
901
+ if (!attributes.name) return false;
902
+ if (!isOnlyWhitespace(fullMatch.slice(fullMatch.indexOf(">") + 1, fullMatch.indexOf("</")))) return false;
903
+ return true;
1187
904
  }
1188
905
  function findComponents(code, name) {
1189
- const components = [];
1190
- for (const componentName of name) {
1191
- let currentIndex = 0;
1192
- while (currentIndex < code.length) {
1193
- const startTagIndex = code.indexOf(
1194
- `<${componentName}`,
1195
- currentIndex
1196
- );
1197
- if (startTagIndex === -1) break;
1198
- let tagEndIndex = code.indexOf(">", startTagIndex);
1199
- if (tagEndIndex === -1) break;
1200
- const startTag = code.slice(startTagIndex, tagEndIndex + 1);
1201
- const attrString = startTag.slice(componentName.length + 1, -1).trim();
1202
- const attributes = parseAttributes(attrString);
1203
- const isSelfClosing = startTag.endsWith("/>");
1204
- let endIndex;
1205
- let fullMatch;
1206
- if (isSelfClosing) {
1207
- endIndex = tagEndIndex + 1;
1208
- fullMatch = startTag;
1209
- } else {
1210
- const endTag = `</${componentName}>`;
1211
- let endTagIndex = code.indexOf(endTag, tagEndIndex + 1);
1212
- if (endTagIndex === -1) {
1213
- currentIndex = startTagIndex + 1;
1214
- continue;
1215
- }
1216
- endIndex = endTagIndex + endTag.length;
1217
- fullMatch = code.slice(startTagIndex, endIndex);
1218
- }
1219
- components.push({
1220
- componentName,
1221
- fullMatch,
1222
- start: startTagIndex,
1223
- end: endIndex,
1224
- attributes,
1225
- isSelfClosing
1226
- });
1227
- currentIndex = endIndex;
1228
- }
1229
- }
1230
- return components;
906
+ const components = [];
907
+ for (const componentName of name) {
908
+ let currentIndex = 0;
909
+ while (currentIndex < code.length) {
910
+ const startTagIndex = code.indexOf(`<${componentName}`, currentIndex);
911
+ if (startTagIndex === -1) break;
912
+ let tagEndIndex = code.indexOf(">", startTagIndex);
913
+ if (tagEndIndex === -1) break;
914
+ const startTag = code.slice(startTagIndex, tagEndIndex + 1);
915
+ const attributes = parseAttributes(startTag.slice(componentName.length + 1, -1).trim());
916
+ const isSelfClosing = startTag.endsWith("/>");
917
+ let endIndex;
918
+ let fullMatch;
919
+ if (isSelfClosing) {
920
+ endIndex = tagEndIndex + 1;
921
+ fullMatch = startTag;
922
+ } else {
923
+ const endTag = `</${componentName}>`;
924
+ let endTagIndex = code.indexOf(endTag, tagEndIndex + 1);
925
+ if (endTagIndex === -1) {
926
+ currentIndex = startTagIndex + 1;
927
+ continue;
928
+ }
929
+ endIndex = endTagIndex + endTag.length;
930
+ fullMatch = code.slice(startTagIndex, endIndex);
931
+ }
932
+ components.push({
933
+ componentName,
934
+ fullMatch,
935
+ start: startTagIndex,
936
+ end: endIndex,
937
+ attributes,
938
+ isSelfClosing
939
+ });
940
+ currentIndex = endIndex;
941
+ }
942
+ }
943
+ return components;
1231
944
  }
1232
945
  function getText(iconName, match, name) {
1233
- const svg = getIconifySVG(json_default, name);
1234
- const s = match.fullMatch.replace(`name="${iconName}"`, "").replace(`</${match.componentName}>`, "");
1235
- const text = `${s}${svg}</${match.componentName}>`;
1236
- return { text, imptext: "" };
946
+ const svg = getIconifySVG(jsons, name);
947
+ return {
948
+ text: `${match.fullMatch.replace(`name="${iconName}"`, "").replace(`</${match.componentName}>`, "")}${svg}</${match.componentName}>`,
949
+ imptext: ""
950
+ };
1237
951
  }
1238
952
  function getImportName(iconName, alias) {
1239
- return lineToLargeHump(alias + "-" + iconName);
953
+ return lineToLargeHump(alias + "-" + iconName);
1240
954
  }
1241
955
  function getVue(iconName, match, name, alias = "icon") {
1242
- const text = match.fullMatch.replace(
1243
- `name="${iconName}"`,
1244
- `:name="${getImportName(name, alias)}"`
1245
- );
1246
- return {
1247
- text,
1248
- imptext: `import ${getImportName(
1249
- name,
1250
- alias
1251
- )} from '@fangzhongya/icons/vue/${name}'`
1252
- };
956
+ return {
957
+ text: match.fullMatch.replace(`name="${iconName}"`, `:name="${getImportName(name, alias)}"`),
958
+ imptext: `import ${getImportName(name, alias)} from '@fangzhongya/icons/vue/${name}'`
959
+ };
1253
960
  }
1254
961
  function replaceComponent(match, type, dynamic, customReplacement, alias) {
1255
- const { attributes } = match;
1256
- const iconName = attributes.name;
1257
- if (customReplacement) {
1258
- return customReplacement(iconName, attributes, alias);
1259
- }
1260
- let name = iconName;
1261
- if (alias) {
1262
- if (iconName && iconName.startsWith(alias + "-")) {
1263
- name = iconName.substring(alias.length + 1);
1264
- }
1265
- }
1266
- let svgContent = json_default.icons[iconName] || json_default.icons[name];
1267
- if (!svgContent) {
1268
- return { text: match.fullMatch, imptext: "" };
1269
- }
1270
- if (!attributes.type && type == runType || attributes.type === runType) {
1271
- if (dynamic) {
1272
- return getVue(iconName, match, name, alias);
1273
- } else {
1274
- return getText(iconName, match, name);
1275
- }
1276
- }
1277
- if (type === "pub" && !attributes.type && !attributes.default) {
1278
- let text = match.fullMatch;
1279
- text = text.replace(
1280
- `<${match.componentName}`,
1281
- `<${match.componentName} default="${type}"`
1282
- );
1283
- return { text, imptext: "" };
1284
- }
1285
- return { text: match.fullMatch, imptext: "" };
962
+ const { attributes } = match;
963
+ const iconName = attributes.name;
964
+ if (customReplacement) return customReplacement(iconName, attributes, alias);
965
+ let name = iconName;
966
+ if (alias) {
967
+ if (iconName && iconName.startsWith(alias + "-")) name = iconName.substring(alias.length + 1);
968
+ }
969
+ if (!(jsons.icons[iconName] || jsons.icons[name])) return {
970
+ text: match.fullMatch,
971
+ imptext: ""
972
+ };
973
+ if (!attributes.type && type == runType || attributes.type === runType) if (dynamic) return getVue(iconName, match, name, alias);
974
+ else return getText(iconName, match, name);
975
+ if (type === "pub" && !attributes.type && !attributes.default) {
976
+ let text = match.fullMatch;
977
+ text = text.replace(`<${match.componentName}`, `<${match.componentName} default="${type}"`);
978
+ return {
979
+ text,
980
+ imptext: ""
981
+ };
982
+ }
983
+ return {
984
+ text: match.fullMatch,
985
+ imptext: ""
986
+ };
1286
987
  }
1287
988
  function shouldProcess(id) {
1288
- const validExtensions = [".vue", ".jsx", ".tsx", ".js", ".ts"];
1289
- const hasValidExtension = validExtensions.some((ext) => id.endsWith(ext));
1290
- if (!hasValidExtension) return false;
1291
- if (id.includes("/node_modules/")) return false;
1292
- return true;
989
+ if (![
990
+ ".vue",
991
+ ".jsx",
992
+ ".tsx",
993
+ ".js",
994
+ ".ts"
995
+ ].some((ext) => id.endsWith(ext))) return false;
996
+ if (id.includes("/node_modules/")) return false;
997
+ return true;
1293
998
  }
1294
- export {
1295
- simpleFangIcon
1296
- };
999
+ //#endregion
1000
+ export { simpleFangIcon };