@fangzhongya/icons 0.0.1-1 → 0.0.1

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 (267) hide show
  1. package/README.md +1 -14
  2. package/dist/chunk-2D4VSAJ2.js +13 -0
  3. package/dist/chunk-2TQQMTHZ.cjs +13 -0
  4. package/dist/chunk-32F77IBU.cjs +13 -0
  5. package/dist/chunk-3AMDUJDV.js +13 -0
  6. package/dist/chunk-3TRFZFYF.js +13 -0
  7. package/dist/chunk-53VWOQDN.cjs +13 -0
  8. package/dist/chunk-5PXZNWE4.js +13 -0
  9. package/dist/chunk-5QUGHNG3.cjs +13 -0
  10. package/dist/chunk-75ZPJI57.cjs +9 -0
  11. package/dist/chunk-76TLDMR4.cjs +13 -0
  12. package/dist/chunk-7IBXEWY5.js +13 -0
  13. package/dist/chunk-AQDYWFIE.cjs +13 -0
  14. package/dist/chunk-BEQYH4ZH.js +13 -0
  15. package/dist/chunk-BMEJLYYZ.js +13 -0
  16. package/dist/chunk-DOKVIYQP.cjs +13 -0
  17. package/dist/chunk-EEMF44IH.cjs +58 -0
  18. package/dist/chunk-EODYYDJS.js +13 -0
  19. package/dist/chunk-ESPY25SV.cjs +13 -0
  20. package/dist/chunk-FEFTZ7TT.cjs +13 -0
  21. package/dist/chunk-FZTWDRFN.js +13 -0
  22. package/dist/chunk-H4PA2G3N.cjs +13 -0
  23. package/dist/chunk-HOVIIPWX.js +280 -0
  24. package/dist/chunk-I3A3AEAA.cjs +13 -0
  25. package/dist/chunk-I3U5MBNO.cjs +13 -0
  26. package/dist/chunk-I5KQLZMG.js +58 -0
  27. package/dist/chunk-IBTK77R3.cjs +13 -0
  28. package/dist/chunk-IIVF4KK5.cjs +6 -0
  29. package/dist/chunk-IPHYXYU4.cjs +13 -0
  30. package/dist/chunk-JJXGNEQB.js +13 -0
  31. package/dist/chunk-JT3V6FP7.js +13 -0
  32. package/dist/chunk-KDGKC2AD.cjs +13 -0
  33. package/dist/chunk-KZJIE3RV.cjs +13 -0
  34. package/dist/chunk-L7KCN6DV.cjs +13 -0
  35. package/dist/chunk-LBBA76TA.js +13 -0
  36. package/dist/chunk-LI54LRUK.cjs +13 -0
  37. package/dist/chunk-LLVO2B4L.js +13 -0
  38. package/dist/chunk-MLKGABMK.js +9 -0
  39. package/dist/chunk-MOHILOKE.js +6 -0
  40. package/dist/chunk-NEHQ24EP.js +13 -0
  41. package/dist/chunk-NESEKAGU.cjs +13 -0
  42. package/dist/chunk-NS5Q6ZYS.js +13 -0
  43. package/dist/chunk-OIX6AEOH.js +13 -0
  44. package/dist/chunk-PM3NSGHO.js +13 -0
  45. package/dist/chunk-Q7LKAKNO.js +13 -0
  46. package/dist/chunk-RENPHZI7.cjs +13 -0
  47. package/dist/chunk-RHPG3BCQ.cjs +13 -0
  48. package/dist/chunk-S2UC3QOV.cjs +280 -0
  49. package/dist/chunk-S7LOBBW2.cjs +13 -0
  50. package/dist/chunk-T7E6HY2F.js +13 -0
  51. package/dist/chunk-TCP7WBEZ.cjs +13 -0
  52. package/dist/chunk-TT42MDI2.cjs +13 -0
  53. package/dist/chunk-VDTZORF6.cjs +13 -0
  54. package/dist/chunk-VO6GNJ4O.js +13 -0
  55. package/dist/chunk-VQ54VGY3.js +13 -0
  56. package/dist/chunk-VRWNZZCS.js +13 -0
  57. package/dist/chunk-W2BM2RWL.js +128 -0
  58. package/dist/chunk-W3IE4UWT.cjs +13 -0
  59. package/dist/chunk-WLDTS6EO.js +13 -0
  60. package/dist/chunk-WOAJW7OB.cjs +13 -0
  61. package/dist/chunk-XUPJ3XJL.js +13 -0
  62. package/dist/chunk-Y2W7MENX.cjs +13 -0
  63. package/dist/chunk-YBGWOI5B.cjs +13 -0
  64. package/dist/chunk-YJLFP6SE.js +13 -0
  65. package/dist/chunk-YSDDIRK3.js +13 -0
  66. package/dist/chunk-YSGDONBO.cjs +128 -0
  67. package/dist/chunk-YUYOWQ5M.js +13 -0
  68. package/dist/chunk-YYG5XGJC.js +13 -0
  69. package/dist/chunk-Z7LHYEQW.js +13 -0
  70. package/dist/config.cjs +7 -0
  71. package/dist/config.d.cts +6 -0
  72. package/dist/config.d.ts +6 -0
  73. package/dist/config.js +7 -0
  74. package/dist/icon/index.cjs +7 -0
  75. package/dist/icon/index.d.cts +139 -0
  76. package/dist/icon/index.d.ts +139 -0
  77. package/dist/icon/index.js +7 -0
  78. package/dist/iconify.cjs +99 -0
  79. package/dist/iconify.d.cts +41 -0
  80. package/dist/iconify.d.ts +41 -0
  81. package/dist/iconify.js +99 -0
  82. package/dist/index.cjs +130 -15
  83. package/dist/index.css +230 -0
  84. package/dist/index.d.cts +35 -0
  85. package/dist/index.d.ts +34 -8
  86. package/dist/index.js +128 -13
  87. package/dist/index.json +99 -0
  88. package/dist/picker/dialog.cjs +7 -0
  89. package/dist/picker/dialog.d.cts +19 -0
  90. package/dist/picker/dialog.d.ts +19 -0
  91. package/dist/picker/dialog.js +7 -0
  92. package/dist/picker/index.cjs +280 -0
  93. package/dist/picker/index.d.cts +117 -0
  94. package/dist/picker/index.d.ts +117 -0
  95. package/dist/picker/index.js +280 -0
  96. package/dist/svg/bar.svg +1 -0
  97. package/dist/svg/below.svg +1 -0
  98. package/dist/svg/bicycle.svg +1 -0
  99. package/dist/svg/bottom-left.svg +1 -0
  100. package/dist/svg/bottom-right.svg +1 -0
  101. package/dist/svg/bottom.svg +1 -0
  102. package/dist/svg/cascader-field.svg +1 -0
  103. package/dist/svg/catalogue.svg +1 -0
  104. package/dist/svg/clear.svg +1 -0
  105. package/dist/svg/close.svg +1 -0
  106. package/dist/svg/crl.svg +1 -0
  107. package/dist/svg/delete.svg +1 -0
  108. package/dist/svg/document.svg +1 -0
  109. package/dist/svg/down.svg +1 -0
  110. package/dist/svg/download.svg +1 -0
  111. package/dist/svg/edit.svg +1 -0
  112. package/dist/svg/enter.svg +1 -0
  113. package/dist/svg/frame.svg +1 -0
  114. package/dist/svg/left.svg +1 -0
  115. package/dist/svg/mute.svg +1 -0
  116. package/dist/svg/pause.svg +1 -0
  117. package/dist/svg/play.svg +1 -0
  118. package/dist/svg/plus.svg +1 -0
  119. package/dist/svg/retreat.svg +1 -0
  120. package/dist/svg/right.svg +1 -0
  121. package/dist/svg/sound.svg +1 -0
  122. package/dist/svg/star.svg +1 -0
  123. package/dist/svg/up.svg +1 -0
  124. package/dist/svg/views.svg +1 -0
  125. package/dist/vite/index.cjs +80 -0
  126. package/dist/vite/index.d.cts +9 -0
  127. package/dist/vite/index.d.ts +9 -0
  128. package/dist/vite/index.js +80 -0
  129. package/dist/vue/bar.cjs +7 -0
  130. package/dist/vue/bar.d.cts +7 -0
  131. package/dist/vue/bar.d.ts +7 -0
  132. package/dist/vue/bar.js +7 -0
  133. package/dist/vue/below.cjs +7 -0
  134. package/dist/vue/below.d.cts +7 -0
  135. package/dist/vue/below.d.ts +7 -0
  136. package/dist/vue/below.js +7 -0
  137. package/dist/vue/bicycle.cjs +7 -0
  138. package/dist/vue/bicycle.d.cts +7 -0
  139. package/dist/vue/bicycle.d.ts +7 -3
  140. package/dist/vue/bicycle.js +7 -0
  141. package/dist/vue/bottom-left.cjs +7 -0
  142. package/dist/vue/bottom-left.d.cts +7 -0
  143. package/dist/vue/bottom-left.d.ts +7 -3
  144. package/dist/vue/bottom-left.js +7 -0
  145. package/dist/vue/bottom-right.cjs +7 -0
  146. package/dist/vue/bottom-right.d.cts +7 -0
  147. package/dist/vue/bottom-right.d.ts +7 -3
  148. package/dist/vue/bottom-right.js +7 -0
  149. package/dist/vue/bottom.cjs +7 -0
  150. package/dist/vue/bottom.d.cts +7 -0
  151. package/dist/vue/bottom.d.ts +7 -3
  152. package/dist/vue/bottom.js +7 -0
  153. package/dist/vue/cascader-field.cjs +7 -0
  154. package/dist/vue/cascader-field.d.cts +7 -0
  155. package/dist/vue/cascader-field.d.ts +7 -0
  156. package/dist/vue/cascader-field.js +7 -0
  157. package/dist/vue/catalogue.cjs +7 -0
  158. package/dist/vue/catalogue.d.cts +7 -0
  159. package/dist/vue/catalogue.d.ts +7 -0
  160. package/dist/vue/catalogue.js +7 -0
  161. package/dist/vue/clear.cjs +7 -0
  162. package/dist/vue/clear.d.cts +7 -0
  163. package/dist/vue/clear.d.ts +7 -0
  164. package/dist/vue/clear.js +7 -0
  165. package/dist/vue/close.cjs +7 -0
  166. package/dist/vue/close.d.cts +7 -0
  167. package/dist/vue/close.d.ts +7 -0
  168. package/dist/vue/close.js +7 -0
  169. package/dist/vue/crl.cjs +7 -0
  170. package/dist/vue/crl.d.cts +7 -0
  171. package/dist/vue/crl.d.ts +7 -0
  172. package/dist/vue/crl.js +7 -0
  173. package/dist/vue/delete.cjs +7 -0
  174. package/dist/vue/delete.d.cts +7 -0
  175. package/dist/vue/delete.d.ts +7 -0
  176. package/dist/vue/delete.js +7 -0
  177. package/dist/vue/document.cjs +7 -0
  178. package/dist/vue/document.d.cts +7 -0
  179. package/dist/vue/document.d.ts +7 -0
  180. package/dist/vue/document.js +7 -0
  181. package/dist/vue/down.cjs +7 -0
  182. package/dist/vue/down.d.cts +7 -0
  183. package/dist/vue/down.d.ts +7 -0
  184. package/dist/vue/down.js +7 -0
  185. package/dist/vue/download.cjs +7 -0
  186. package/dist/vue/download.d.cts +7 -0
  187. package/dist/vue/download.d.ts +7 -0
  188. package/dist/vue/download.js +7 -0
  189. package/dist/vue/edit.cjs +7 -0
  190. package/dist/vue/edit.d.cts +7 -0
  191. package/dist/vue/edit.d.ts +7 -0
  192. package/dist/vue/edit.js +7 -0
  193. package/dist/vue/enter.cjs +7 -0
  194. package/dist/vue/enter.d.cts +7 -0
  195. package/dist/vue/enter.d.ts +7 -0
  196. package/dist/vue/enter.js +7 -0
  197. package/dist/vue/frame.cjs +7 -0
  198. package/dist/vue/frame.d.cts +7 -0
  199. package/dist/vue/frame.d.ts +7 -0
  200. package/dist/vue/frame.js +7 -0
  201. package/dist/vue/index.cjs +120 -10
  202. package/dist/vue/index.d.cts +30 -0
  203. package/dist/vue/index.d.ts +30 -4
  204. package/dist/vue/index.js +118 -8
  205. package/dist/vue/left.cjs +7 -0
  206. package/dist/vue/left.d.cts +7 -0
  207. package/dist/vue/left.d.ts +7 -0
  208. package/dist/vue/left.js +7 -0
  209. package/dist/vue/mute.cjs +7 -0
  210. package/dist/vue/mute.d.cts +7 -0
  211. package/dist/vue/mute.d.ts +7 -0
  212. package/dist/vue/mute.js +7 -0
  213. package/dist/vue/pause.cjs +7 -0
  214. package/dist/vue/pause.d.cts +7 -0
  215. package/dist/vue/pause.d.ts +7 -0
  216. package/dist/vue/pause.js +7 -0
  217. package/dist/vue/play.cjs +7 -0
  218. package/dist/vue/play.d.cts +7 -0
  219. package/dist/vue/play.d.ts +7 -0
  220. package/dist/vue/play.js +7 -0
  221. package/dist/vue/plus.cjs +7 -0
  222. package/dist/vue/plus.d.cts +7 -0
  223. package/dist/vue/plus.d.ts +7 -0
  224. package/dist/vue/plus.js +7 -0
  225. package/dist/vue/retreat.cjs +7 -0
  226. package/dist/vue/retreat.d.cts +7 -0
  227. package/dist/vue/retreat.d.ts +7 -0
  228. package/dist/vue/retreat.js +7 -0
  229. package/dist/vue/right.cjs +7 -0
  230. package/dist/vue/right.d.cts +7 -0
  231. package/dist/vue/right.d.ts +7 -0
  232. package/dist/vue/right.js +7 -0
  233. package/dist/vue/sound.cjs +7 -0
  234. package/dist/vue/sound.d.cts +7 -0
  235. package/dist/vue/sound.d.ts +7 -0
  236. package/dist/vue/sound.js +7 -0
  237. package/dist/vue/star.cjs +7 -0
  238. package/dist/vue/star.d.cts +7 -0
  239. package/dist/vue/star.d.ts +7 -0
  240. package/dist/vue/star.js +7 -0
  241. package/dist/vue/up.cjs +7 -0
  242. package/dist/vue/up.d.cts +7 -0
  243. package/dist/vue/up.d.ts +7 -0
  244. package/dist/vue/up.js +7 -0
  245. package/dist/vue/views.cjs +7 -0
  246. package/dist/vue/views.d.cts +7 -0
  247. package/dist/vue/views.d.ts +7 -0
  248. package/dist/vue/views.js +7 -0
  249. package/package.json +63 -23
  250. package/dist/_virtual/_plugin-vue_export-helper.cjs +0 -9
  251. package/dist/_virtual/_plugin-vue_export-helper.js +0 -10
  252. package/dist/vue/bicycle.vue.cjs +0 -17
  253. package/dist/vue/bicycle.vue.js +0 -18
  254. package/dist/vue/bicycle.vue2.cjs +0 -5
  255. package/dist/vue/bicycle.vue2.js +0 -6
  256. package/dist/vue/bottom-left.vue.cjs +0 -25
  257. package/dist/vue/bottom-left.vue.js +0 -26
  258. package/dist/vue/bottom-left.vue2.cjs +0 -5
  259. package/dist/vue/bottom-left.vue2.js +0 -6
  260. package/dist/vue/bottom-right.vue.cjs +0 -25
  261. package/dist/vue/bottom-right.vue.js +0 -26
  262. package/dist/vue/bottom-right.vue2.cjs +0 -5
  263. package/dist/vue/bottom-right.vue2.js +0 -6
  264. package/dist/vue/bottom.vue.cjs +0 -20
  265. package/dist/vue/bottom.vue.js +0 -21
  266. package/dist/vue/bottom.vue2.cjs +0 -5
  267. package/dist/vue/bottom.vue2.js +0 -6
package/README.md CHANGED
@@ -2,17 +2,4 @@
2
2
 
3
3
  This template should help get you started developing with Vue 3 and TypeScript in Vite. The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more.
4
4
 
5
- ## Recommended IDE Setup
6
-
7
- - [VS Code](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur) + [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin).
8
-
9
- ## Type Support For `.vue` Imports in TS
10
-
11
- TypeScript cannot handle type information for `.vue` imports by default, so we replace the `tsc` CLI with `vue-tsc` for type checking. In editors, we need [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin) to make the TypeScript language service aware of `.vue` types.
12
-
13
- If the standalone TypeScript plugin doesn't feel fast enough to you, Volar has also implemented a [Take Over Mode](https://github.com/johnsoncodehk/volar/discussions/471#discussioncomment-1361669) that is more performant. You can enable it by the following steps:
14
-
15
- 1. Disable the built-in TypeScript Extension
16
- 1. Run `Extensions: Show Built-in Extensions` from VSCode's command palette
17
- 2. Find `TypeScript and JavaScript Language Features`, right click and select `Disable (Workspace)`
18
- 2. Reload the VSCode window by running `Developer: Reload Window` from the command palette.
5
+ Learn more about the recommended Project Setup and IDE Support in the [Vue Docs TypeScript Guide](https://vuejs.org/guide/typescript/overview.html#project-setup).
@@ -0,0 +1,13 @@
1
+ // packages/vue/pause.ts
2
+ import { h, defineComponent } from "vue";
3
+ var svg = '<path d="M512.75766904 961.99942783A449.99971348 449.99971348 0 0 1 337.51316182 97.22502617a449.99971348 449.99971348 0 0 1 350.48901357 828.66874922 447.35783643 447.35783643 0 0 1-175.24450635 36.10565244z m0-829.5493746C303.16876104 132.45005323 133.20800791 302.41080635 133.20800791 511.99971347s169.96075312 379.54966113 379.54966113 379.54966114 379.54966113-170.84137852 379.54966026-379.54966113S721.46595078 132.45005323 512.75766904 132.45005323z" fill=""></path><path d="M409.72446583 725.11112393a35.22502617 35.22502617 0 0 1-35.22502619-35.22502617V354.36772021a35.22502617 35.22502617 0 0 1 70.45005323 0v335.51837755a35.22502617 35.22502617 0 0 1-35.22502705 35.22502617zM619.31337383 725.11112393a35.22502617 35.22502617 0 0 1-35.22502617-35.22502617V354.36772021a35.22502617 35.22502617 0 0 1 70.45005322 0v335.51837755a35.22502617 35.22502617 0 0 1-35.22502705 35.22502617z" fill=""></path>';
4
+ var pause_default = defineComponent({
5
+ name: "Pause",
6
+ setup() {
7
+ return () => h("svg", { viewBox: "0 0 1024 1024", xmlns: "http://www.w3.org/2000/svg", innerHTML: svg });
8
+ }
9
+ });
10
+
11
+ export {
12
+ pause_default
13
+ };
@@ -0,0 +1,13 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});// packages/vue/cascader-field.ts
2
+ var _vue = require('vue');
3
+ var svg = '<defs></defs><path d="M661.377376 411.069935V475.664516H314.175312v395.654882h557.144086V475.664516h-48.447312V411.069935h48.447312c35.674839 0 64.594581 28.919742 64.59458 64.594581v395.654882c0 35.674839-28.919742 64.594581-64.59458 64.59458h-557.144086c-35.674839 0-64.600086-28.919742-64.600086-64.59458V475.664516c0-35.674839 28.925247-64.594581 64.600086-64.594581h347.202064z m48.447312-322.983913c35.674839 0 64.600086 28.919742 64.600086 64.59458v403.731269c0 35.674839-28.925247 64.594581-64.600086 64.594581H362.622624v-64.594581h347.202064V152.680602h-557.144086v403.731269h48.447312V621.006452h-48.447312c-35.674839 0-64.594581-28.919742-64.59458-64.594581V152.680602C88.086022 117.005763 117.005763 88.086022 152.680602 88.086022h557.144086z"></path>';
4
+ var cascader_field_default = _vue.defineComponent.call(void 0, {
5
+ name: "CascaderField",
6
+ setup() {
7
+ return () => _vue.h.call(void 0, "svg", { viewBox: "0 0 1024 1024", xmlns: "http://www.w3.org/2000/svg", innerHTML: svg });
8
+ }
9
+ });
10
+
11
+
12
+
13
+ exports.cascader_field_default = cascader_field_default;
@@ -0,0 +1,13 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});// packages/vue/enter.ts
2
+ var _vue = require('vue');
3
+ var svg = '<path d="M656.36179153 933.07378604a68.79342673 68.79342673 0 0 1-27.51737036-5.96209735 71.08654065 71.08654065 0 0 1-42.1933016-65.58306674v-256.82879141L226.17356421 915.64611825a67.87618066 67.87618066 0 0 1-73.8382772 12.38281651A71.08654065 71.08654065 0 0 1 110.14198542 861.52862195V161.67016327A71.08654065 71.08654065 0 0 1 152.79390964 96.08709734a67.87618066 67.87618066 0 0 1 73.838278 12.84143913l359.56030848 310.94628772V161.67016327a71.08654065 71.08654065 0 0 1 42.65192505-65.58306592 67.87618066 67.87618066 0 0 1 74.29690063 12.84143912L1107.64666924 457.02327451a72.00378671 72.00378671 0 0 1 0 105.94187704L702.22407574 915.64611825a68.33480328 68.33480328 0 0 1-45.86228422 17.42766779z m-476.96775677-72.00378671l405.88121611-349.47060672-404.50534743-351.76372064v701.69294998z m476.0505107 0l405.88121696-349.47060672-404.50534827-351.76372064v701.69294998z"></path>';
4
+ var enter_default = _vue.defineComponent.call(void 0, {
5
+ name: "Enter",
6
+ setup() {
7
+ return () => _vue.h.call(void 0, "svg", { viewBox: "0 0 1024 1024", xmlns: "http://www.w3.org/2000/svg", innerHTML: svg });
8
+ }
9
+ });
10
+
11
+
12
+
13
+ exports.enter_default = enter_default;
@@ -0,0 +1,13 @@
1
+ // packages/vue/views.ts
2
+ import { h, defineComponent } from "vue";
3
+ var svg = '<path d="m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704m-32-384v-96a32 32 0 0 1 64 0v96h96a32 32 0 0 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64z"></path>';
4
+ var views_default = defineComponent({
5
+ name: "Views",
6
+ setup() {
7
+ return () => h("svg", { viewBox: "0 0 1024 1024", xmlns: "http://www.w3.org/2000/svg", innerHTML: svg });
8
+ }
9
+ });
10
+
11
+ export {
12
+ views_default
13
+ };
@@ -0,0 +1,13 @@
1
+ // packages/vue/frame.ts
2
+ import { h, defineComponent } from "vue";
3
+ var svg = '<path d="M782 912.00000031h-540C170 912.00000031 111.99999969 854 111.99999969 782v-540C111.99999969 170 170 111.99999969 242 111.99999969h538.00000031c72 0 130.00000031 58.00000031 129.99999938 130.00000031v538.00000031c1.99999969 73.99999969-55.99999969 132-127.99999969 132z m-540-740.00000062C204.00000031 171.99999969 171.99999969 204.00000031 171.99999969 242v538.00000031c0 37.99999969 31.99999969 70.00000031 70.00000031 69.99999938h538.00000031c37.99999969 0 70.00000031-31.99999969 69.99999938-69.99999938V242C852.00000031 204.00000031 819.99999969 171.99999969 782 171.99999969h-540z"></path>';
4
+ var frame_default = defineComponent({
5
+ name: "Frame",
6
+ setup() {
7
+ return () => h("svg", { viewBox: "0 0 1024 1024", xmlns: "http://www.w3.org/2000/svg", innerHTML: svg });
8
+ }
9
+ });
10
+
11
+ export {
12
+ frame_default
13
+ };
@@ -0,0 +1,13 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});// packages/vue/up.ts
2
+ var _vue = require('vue');
3
+ var svg = '<path d="M149.33333334 887.33013334c0 18.8416 15.29173333 34.13333333 34.13333333 34.13333333S217.6 906.17173333 217.6 887.33013333l0-301.73866666L807.90186667 914.56853333c19.38773333 10.78613333 42.5984 10.71786667 61.98613334 0C889.344 903.71413332 900.88106667 884.39466667 900.88106667 862.75413333l0-700.416c0-21.57226667-11.53706667-41.02826667-30.99306667-51.8144C860.19413334 105.13066667 849.6128 102.4 838.9632 102.4s-21.29919999 2.73066667-30.99306666 8.12373333L217.6 439.5008l0-303.03573333c0-18.8416-15.29173333-34.13333333-34.13333333-34.13333334s-34.13333333 15.29173333-34.13333334 34.13333334L149.33333334 887.33013334zM832.2048 173.60213333L835.54986667 853.33333333l-611.53279999-340.7872L832.2048 173.60213333z"></path>';
4
+ var up_default = _vue.defineComponent.call(void 0, {
5
+ name: "Up",
6
+ setup() {
7
+ return () => _vue.h.call(void 0, "svg", { viewBox: "0 0 1024 1024", xmlns: "http://www.w3.org/2000/svg", innerHTML: svg });
8
+ }
9
+ });
10
+
11
+
12
+
13
+ exports.up_default = up_default;
@@ -0,0 +1,13 @@
1
+ // packages/vue/download.ts
2
+ import { h, defineComponent } from "vue";
3
+ var svg = '<path d="M160 832h704a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64m384-253.696 236.288-236.352 45.248 45.248L508.8 704 192 387.2l45.248-45.248L480 584.704V128h64z"></path>';
4
+ var download_default = defineComponent({
5
+ name: "Download",
6
+ setup() {
7
+ return () => h("svg", { viewBox: "0 0 1024 1024", xmlns: "http://www.w3.org/2000/svg", innerHTML: svg });
8
+ }
9
+ });
10
+
11
+ export {
12
+ download_default
13
+ };
@@ -0,0 +1,13 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});// packages/vue/frame.ts
2
+ var _vue = require('vue');
3
+ var svg = '<path d="M782 912.00000031h-540C170 912.00000031 111.99999969 854 111.99999969 782v-540C111.99999969 170 170 111.99999969 242 111.99999969h538.00000031c72 0 130.00000031 58.00000031 129.99999938 130.00000031v538.00000031c1.99999969 73.99999969-55.99999969 132-127.99999969 132z m-540-740.00000062C204.00000031 171.99999969 171.99999969 204.00000031 171.99999969 242v538.00000031c0 37.99999969 31.99999969 70.00000031 70.00000031 69.99999938h538.00000031c37.99999969 0 70.00000031-31.99999969 69.99999938-69.99999938V242C852.00000031 204.00000031 819.99999969 171.99999969 782 171.99999969h-540z"></path>';
4
+ var frame_default = _vue.defineComponent.call(void 0, {
5
+ name: "Frame",
6
+ setup() {
7
+ return () => _vue.h.call(void 0, "svg", { viewBox: "0 0 1024 1024", xmlns: "http://www.w3.org/2000/svg", innerHTML: svg });
8
+ }
9
+ });
10
+
11
+
12
+
13
+ exports.frame_default = frame_default;
@@ -0,0 +1,9 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var __defProp = Object.defineProperty;
2
+ var __export = (target, all) => {
3
+ for (var name in all)
4
+ __defProp(target, name, { get: all[name], enumerable: true });
5
+ };
6
+
7
+
8
+
9
+ exports.__export = __export;
@@ -0,0 +1,13 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});// packages/vue/bottom.ts
2
+ var _vue = require('vue');
3
+ var svg = '<path d="M544 805.888V168a32 32 0 1 0-64 0v637.888L246.656 557.952a30.72 30.72 0 0 0-45.312 0 35.52 35.52 0 0 0 0 48.064l288 306.048a30.72 30.72 0 0 0 45.312 0l288-306.048a35.52 35.52 0 0 0 0-48 30.72 30.72 0 0 0-45.312 0L544 805.824z"/>';
4
+ var bottom_default = _vue.defineComponent.call(void 0, {
5
+ name: "Bottom",
6
+ setup() {
7
+ return () => _vue.h.call(void 0, "svg", { viewBox: "0 0 1024 1024", xmlns: "http://www.w3.org/2000/svg", innerHTML: svg });
8
+ }
9
+ });
10
+
11
+
12
+
13
+ exports.bottom_default = bottom_default;
@@ -0,0 +1,13 @@
1
+ // packages/vue/plus.ts
2
+ import { h, defineComponent } from "vue";
3
+ var svg = '<path d="M480 480V128a32 32 0 0 1 64 0v352h352a32 32 0 1 1 0 64H544v352a32 32 0 1 1-64 0V544H128a32 32 0 0 1 0-64z"></path>';
4
+ var plus_default = defineComponent({
5
+ name: "Plus",
6
+ setup() {
7
+ return () => h("svg", { viewBox: "0 0 1024 1024", xmlns: "http://www.w3.org/2000/svg", innerHTML: svg });
8
+ }
9
+ });
10
+
11
+ export {
12
+ plus_default
13
+ };
@@ -0,0 +1,13 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});// packages/vue/mute.ts
2
+ var _vue = require('vue');
3
+ var svg = '<path d="M878.04586667 942.39857813l-796.4444448-796.4444448 64.35271146-64.35271146 796.4444448 796.4444448-64.35271146 64.35271146zM466.48888853 227.3507552V352.71111147h91.02222294V130.2755552c0-41.3923552-48.99271147-63.21493333-79.75822294-35.52142187l-109.9776 98.98666667 60.89386667 67.65226667L466.48888853 227.328z m348.63786667 446.91911147c68.97208853-142.9504 48.58311147-302.6944-68.4259552-419.72622187l64.35271147-64.35271147c146.09066667 146.06791147 170.8032 348.00071147 86.0615104 523.62808854l-81.98826667-39.5491552zM170.66666667 375.46666667h22.7555552v-91.02222187H127.43111147A47.78666667 47.78666667 0 0 0 79.6444448 332.23111147v359.53777706c0 26.3964448 21.39022187 47.78666667 47.78666667 47.78666667h139.55982186l210.7619552 189.69031147c30.76551147 27.69351147 79.75822187 5.87093333 79.75822294-35.49866667V671.28888853h-91.02222294v125.38311147L301.8979552 648.53333333H170.66666667V375.46666667z m499.3024 165.13706666c17.68106667-44.19128853-2.2755552-107.61102187-51.9964448-157.33191146l64.35271146-64.37546667c62.41848853 62.41848853 109.1356448 163.15733333 72.13511147 255.5448896l-84.49137813-33.83751147z"></path>';
4
+ var mute_default = _vue.defineComponent.call(void 0, {
5
+ name: "Mute",
6
+ setup() {
7
+ return () => _vue.h.call(void 0, "svg", { viewBox: "0 0 1024 1024", xmlns: "http://www.w3.org/2000/svg", innerHTML: svg });
8
+ }
9
+ });
10
+
11
+
12
+
13
+ exports.mute_default = mute_default;
@@ -0,0 +1,13 @@
1
+ // packages/vue/edit.ts
2
+ import { h, defineComponent } from "vue";
3
+ var svg = '<path d="M832 512a32 32 0 1 1 64 0v352a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h352a32 32 0 0 1 0 64H192v640h640V512z"></path><path d="m469.952 554.24 52.8-7.552L847.104 222.4a32 32 0 1 0-45.248-45.248L477.44 501.44l-7.552 52.8zm422.4-422.4a96 96 0 0 1 0 135.808l-331.84 331.84a32 32 0 0 1-18.112 9.088L436.8 623.68a32 32 0 0 1-36.224-36.224l15.104-105.6a32 32 0 0 1 9.024-18.112l331.904-331.84a96 96 0 0 1 135.744 0z"></path>';
4
+ var edit_default = defineComponent({
5
+ name: "Edit",
6
+ setup() {
7
+ return () => h("svg", { viewBox: "0 0 1024 1024", xmlns: "http://www.w3.org/2000/svg", innerHTML: svg });
8
+ }
9
+ });
10
+
11
+ export {
12
+ edit_default
13
+ };
@@ -0,0 +1,13 @@
1
+ // packages/vue/catalogue.ts
2
+ import { h, defineComponent } from "vue";
3
+ var svg = '<path d="M316.0586872 317.99186435h-68.48970482c-4.28060655 0-7.87079269-3.45210207-7.87079269-7.87079268v-68.48970482c0-4.28060655 3.45210207-7.87079269 7.87079269-7.8707927h68.48970482c4.28060655 0 7.87079269 3.45210207 7.8707927 7.8707927v68.48970482c0 4.28060655-3.59018613 7.87079269-7.8707927 7.87079268z m460.51041449-10.49439025H440.88669762c-4.28060655 0-7.87079269-3.45210207-7.8707927-7.87079268v-47.63900839c0-4.28060655 3.45210207-7.87079269 7.8707927-7.8707927h335.82048816c4.28060655 0 7.87079269 3.45210207 7.87079269 7.8707927v47.63900839c-0.13808409 4.41869063-3.72827022 7.87079269-8.00887678 7.87079268zM316.0586872 788.72050094h-68.48970482c-4.28060655 0-7.87079269-3.45210207-7.87079269-7.87079269v-68.48970484c0-4.28060655 3.45210207-7.87079269 7.87079269-7.87079268h68.48970482c4.28060655 0 7.87079269 3.45210207 7.8707927 7.87079268v68.48970484c0 4.41869063-3.59018613 7.87079269-7.8707927 7.87079269z m460.51041449-10.35630618H440.88669762c-4.28060655 0-7.87079269-3.45210207-7.8707927-7.87079268v-47.63900839c0-4.28060655 3.45210207-7.87079269 7.8707927-7.87079271h335.82048816c4.28060655 0 7.87079269 3.45210207 7.87079269 7.87079271v47.63900839c-0.13808409 4.28060655-3.72827022 7.87079269-8.00887678 7.87079268zM316.0586872 554.1156451h-68.48970482c-4.28060655 0-7.87079269-3.45210207-7.87079269-7.87079268v-68.48970484c0-4.28060655 3.45210207-7.87079269 7.87079269-7.87079268h68.48970482c4.28060655 0 7.87079269 3.45210207 7.8707927 7.87079268v68.48970484c0 4.28060655-3.59018613 7.87079269-7.8707927 7.87079268z m460.51041449-10.49439025H440.88669762c-4.28060655 0-7.87079269-3.45210207-7.8707927-7.8707927v-47.63900839c0-4.28060655 3.45210207-7.87079269 7.8707927-7.87079269h335.82048816c4.28060655 0 7.87079269 3.45210207 7.87079269 7.87079269v47.63900839c-0.13808409 4.41869063-3.72827022 7.87079269-8.00887678 7.8707927z"></path><path d="M945.79977482 574.65565235V172.96042667s0-31.97509531-18.1235358-60.06657581c-13.98101333-21.74824297-38.83614815-41.16631703-83.10935705-41.16631703h-337.87448888c-0.25890765 0-0.38836148 0-0.64726914 0.12945382H179.30366419s-101.10343902 0-101.10343901 101.10343902l0.12945384 276.25446716V851.16902717s0 31.97509531 17.99408196 59.93712197c13.98101333 21.74824297 38.83614815 41.16631703 83.10935705 41.16631703h338.00394272c0.25890765 0 0.38836148 0 0.64726912-0.12945382H844.69633581s101.10343902 0 101.10343901-101.10343902l-0.12945384-276.25446716 0.12945384-0.12945382z m-50.4869926 276.51337482c-1.68289975 49.83972347-50.35753876 50.48699259-50.35753875 50.48699258h-665.39267162c-1.68289975-0.12945383-3.23634569-0.25890765-4.91924543-0.38836148-6.99050667-1.4239921-20.32425086-5.30760691-30.93946469-15.14609777-11.65084445-12.55702124-14.49882864-28.86820347-15.14609778-33.78744889v-0.90617679l0.12945383-678.59696199c1.68289975-49.83972347 50.35753876-50.48699259 50.35753875-50.48699258h665.39267162c1.68289975 0.12945383 3.23634569 0.25890765 4.7897916 0.38836148 6.99050667 1.4239921 20.32425086 5.30760691 30.9394647 15.14609777 11.65084445 12.55702124 14.49882864 28.73874963 15.14609777 33.65799507 0 0.25890765 0 0.64726914 0.12945383 0.90617679l-0.12945383 678.72641581z"></path>';
4
+ var catalogue_default = defineComponent({
5
+ name: "Catalogue",
6
+ setup() {
7
+ return () => h("svg", { viewBox: "0 0 1024 1024", xmlns: "http://www.w3.org/2000/svg", innerHTML: svg });
8
+ }
9
+ });
10
+
11
+ export {
12
+ catalogue_default
13
+ };
@@ -0,0 +1,13 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});// packages/vue/download.ts
2
+ var _vue = require('vue');
3
+ var svg = '<path d="M160 832h704a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64m384-253.696 236.288-236.352 45.248 45.248L508.8 704 192 387.2l45.248-45.248L480 584.704V128h64z"></path>';
4
+ var download_default = _vue.defineComponent.call(void 0, {
5
+ name: "Download",
6
+ setup() {
7
+ return () => _vue.h.call(void 0, "svg", { viewBox: "0 0 1024 1024", xmlns: "http://www.w3.org/2000/svg", innerHTML: svg });
8
+ }
9
+ });
10
+
11
+
12
+
13
+ exports.download_default = download_default;
@@ -0,0 +1,58 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});// packages/picker/dialog.ts
2
+ var _vue = require('vue');
3
+ var dialog_default = _vue.defineComponent.call(void 0, {
4
+ name: "Dialog",
5
+ props: {
6
+ modelValue: {
7
+ type: Boolean
8
+ }
9
+ },
10
+ emits: ["update:modelValue"],
11
+ setup(props, { emit, slots }) {
12
+ return () => _vue.h.call(void 0,
13
+ "div",
14
+ {
15
+ class: "dialog",
16
+ style: {
17
+ display: props.modelValue ? "flex" : "none",
18
+ position: "fixed",
19
+ width: "100%",
20
+ height: "100%",
21
+ zIndex: "1000",
22
+ backgroundColor: "#eee",
23
+ top: 0,
24
+ left: 0,
25
+ flexDirection: "column",
26
+ alignItems: "center",
27
+ justifyContent: "center"
28
+ },
29
+ onClick() {
30
+ emit("update:modelValue", false);
31
+ }
32
+ },
33
+ [
34
+ _vue.h.call(void 0,
35
+ "div",
36
+ {
37
+ style: {
38
+ backgroundColor: "#fff",
39
+ position: "relative",
40
+ zIndex: "100",
41
+ minWidth: "30%",
42
+ minHeight: "20%",
43
+ maxHeight: "90%"
44
+ },
45
+ onClick(e) {
46
+ e.stopPropagation();
47
+ }
48
+ },
49
+ slots
50
+ )
51
+ ]
52
+ );
53
+ }
54
+ });
55
+
56
+
57
+
58
+ exports.dialog_default = dialog_default;
@@ -0,0 +1,13 @@
1
+ // packages/vue/below.ts
2
+ import { h, defineComponent } from "vue";
3
+ var svg = '<path d="M831.872 340.864 512 652.672 192.128 340.864a30.592 30.592 0 0 0-42.752 0 29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728 30.592 30.592 0 0 0-42.752 0z"></path>';
4
+ var below_default = defineComponent({
5
+ name: "Below",
6
+ setup() {
7
+ return () => h("svg", { viewBox: "0 0 1024 1024", xmlns: "http://www.w3.org/2000/svg", innerHTML: svg });
8
+ }
9
+ });
10
+
11
+ export {
12
+ below_default
13
+ };
@@ -0,0 +1,13 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});// packages/vue/views.ts
2
+ var _vue = require('vue');
3
+ var svg = '<path d="m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704m-32-384v-96a32 32 0 0 1 64 0v96h96a32 32 0 0 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64z"></path>';
4
+ var views_default = _vue.defineComponent.call(void 0, {
5
+ name: "Views",
6
+ setup() {
7
+ return () => _vue.h.call(void 0, "svg", { viewBox: "0 0 1024 1024", xmlns: "http://www.w3.org/2000/svg", innerHTML: svg });
8
+ }
9
+ });
10
+
11
+
12
+
13
+ exports.views_default = views_default;
@@ -0,0 +1,13 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});// packages/vue/left.ts
2
+ var _vue = require('vue');
3
+ var svg = '<path d="M609.408 149.376 277.76 489.6a32 32 0 0 0 0 44.672l331.648 340.352a29.12 29.12 0 0 0 41.728 0 30.592 30.592 0 0 0 0-42.752L339.264 511.936l311.872-319.872a30.592 30.592 0 0 0 0-42.688 29.12 29.12 0 0 0-41.728 0z"></path>';
4
+ var left_default = _vue.defineComponent.call(void 0, {
5
+ name: "Left",
6
+ setup() {
7
+ return () => _vue.h.call(void 0, "svg", { viewBox: "0 0 1024 1024", xmlns: "http://www.w3.org/2000/svg", innerHTML: svg });
8
+ }
9
+ });
10
+
11
+
12
+
13
+ exports.left_default = left_default;
@@ -0,0 +1,13 @@
1
+ // packages/vue/bicycle.ts
2
+ import { h, defineComponent } from "vue";
3
+ var svg = '<path d="M256 832a128 128 0 1 0 0-256 128 128 0 0 0 0 256zm0 64a192 192 0 1 1 0-384 192 192 0 0 1 0 384z"/><path d="M288 672h320q32 0 32 32t-32 32H288q-32 0-32-32t32-32z"/><path d="M768 832a128 128 0 1 0 0-256 128 128 0 0 0 0 256zm0 64a192 192 0 1 1 0-384 192 192 0 0 1 0 384z"/><path d="M480 192a32 32 0 0 1 0-64h160a32 32 0 0 1 31.04 24.256l96 384a32 32 0 0 1-62.08 15.488L615.04 192H480zM96 384a32 32 0 0 1 0-64h128a32 32 0 0 1 30.336 21.888l64 192a32 32 0 1 1-60.672 20.224L200.96 384H96z"/><path d="m373.376 599.808-42.752-47.616 320-288 42.752 47.616z"/>';
4
+ var bicycle_default = defineComponent({
5
+ name: "Bicycle",
6
+ setup() {
7
+ return () => h("svg", { viewBox: "0 0 1024 1024", xmlns: "http://www.w3.org/2000/svg", innerHTML: svg });
8
+ }
9
+ });
10
+
11
+ export {
12
+ bicycle_default
13
+ };
@@ -0,0 +1,13 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});// packages/vue/bar.ts
2
+ var _vue = require('vue');
3
+ var svg = '<path d="M128 544h768a32 32 0 1 0 0-64H128a32 32 0 0 0 0 64z"></path>';
4
+ var bar_default = _vue.defineComponent.call(void 0, {
5
+ name: "Bar",
6
+ setup() {
7
+ return () => _vue.h.call(void 0, "svg", { viewBox: "0 0 1024 1024", xmlns: "http://www.w3.org/2000/svg", innerHTML: svg });
8
+ }
9
+ });
10
+
11
+
12
+
13
+ exports.bar_default = bar_default;
@@ -0,0 +1,280 @@
1
+ // packages/icon/index.ts
2
+ import { h, defineComponent, resolveComponent, computed } from "vue";
3
+ var reg = /<svg([^>]*)>((.|\n|\r|\t)*)<\/svg>/g;
4
+ var reg1 = /<path([^>]*)>((.|\n|\r|\t)*)<\/path>/g;
5
+ var reg2 = /<g([^>]*)>((.|\n|\r|\t)*)<\/g>/g;
6
+ var prefix = "icon-";
7
+ var className = "icon";
8
+ var directory = "./_fangsvg";
9
+ var setPrefix = (name) => {
10
+ if (name.startsWith(prefix)) {
11
+ return name;
12
+ } else {
13
+ return prefix + name;
14
+ }
15
+ };
16
+ var isImg = (name) => {
17
+ if (name) {
18
+ if (name.startsWith("data:") || name.startsWith("/") || name.startsWith("./") || name.startsWith("../") || name.includes("://")) {
19
+ return true;
20
+ }
21
+ }
22
+ return false;
23
+ };
24
+ var contStyle = {
25
+ border: 0,
26
+ display: "inline-flex",
27
+ "align-items": "center",
28
+ "object-fit": "contain",
29
+ "justify-content": "center",
30
+ "font-size": "inherit",
31
+ width: "inherit",
32
+ height: "inherit"
33
+ };
34
+ var icon_default = defineComponent({
35
+ name: "Icon",
36
+ props: {
37
+ /**
38
+ * @props { String, Object } name= ( )
39
+ * 图标名称
40
+ */
41
+ name: {
42
+ type: [String, Object],
43
+ default: ""
44
+ },
45
+ /**
46
+ * @props { String} iconClass= ( )
47
+ * 图标样式名称
48
+ */
49
+ iconClass: {
50
+ type: String
51
+ },
52
+ color: {
53
+ type: String
54
+ },
55
+ /**
56
+ * @props { String} type= ( 'css' | 'id' | 'img' | 'font' | 'str' | 'com' )
57
+ * 图标类型
58
+ */
59
+ type: {
60
+ type: String
61
+ },
62
+ /**
63
+ * @props { String, Number } size= ( )
64
+ * 图标大小
65
+ */
66
+ size: {
67
+ type: [String, Number]
68
+ },
69
+ /**
70
+ */
71
+ runtime: {
72
+ type: Boolean,
73
+ default: false
74
+ },
75
+ /**
76
+ * @props { String } flip='' ( 'horizontal' | 'vertical' | 'both' | '' )
77
+ * 图标方向
78
+ */
79
+ flip: {
80
+ type: String,
81
+ default: ""
82
+ },
83
+ /**
84
+ * @props { Number } rotate=0
85
+ * 图标旋转角度
86
+ */
87
+ rotate: {
88
+ type: Number,
89
+ default: 0
90
+ },
91
+ default: {
92
+ type: String
93
+ },
94
+ directory: {
95
+ type: String,
96
+ default: directory
97
+ }
98
+ },
99
+ setup(props, { slots }) {
100
+ const outputType = computed(() => {
101
+ if (props.type) {
102
+ return props.type;
103
+ } else {
104
+ const name = props.name || "";
105
+ if (typeof name == "object") {
106
+ return "com";
107
+ } else if (reg.test(name) || reg1.test(name) || reg2.test(name)) {
108
+ return "str";
109
+ } else if (isImg(name)) {
110
+ return "img";
111
+ }
112
+ return props.default;
113
+ }
114
+ });
115
+ const transformStyle = computed(() => {
116
+ const style = [];
117
+ if (props.flip !== "") {
118
+ switch (props.flip) {
119
+ case "horizontal":
120
+ style.push("rotateY(180deg)");
121
+ break;
122
+ case "vertical":
123
+ style.push("rotateX(180deg)");
124
+ break;
125
+ case "both":
126
+ style.push("rotateX(180deg)", "rotateY(180deg)");
127
+ break;
128
+ }
129
+ }
130
+ if (props.rotate !== 0) {
131
+ style.push(`rotate(${props.rotate % 360}deg)`);
132
+ }
133
+ const styleObj = {
134
+ "--color": "inherit",
135
+ height: "1em",
136
+ width: "1em",
137
+ "line-height": "1em",
138
+ display: "inline-flex",
139
+ "justify-content": "center",
140
+ "align-items": "center",
141
+ position: "relative",
142
+ fill: "currentColor",
143
+ color: "var(--color)",
144
+ "font-size": "inherit"
145
+ };
146
+ styleObj.transform = style.join(" ");
147
+ if (props.color) {
148
+ styleObj.color = props.color;
149
+ }
150
+ if (props.size) {
151
+ let s = props.size;
152
+ if (typeof s == "number") {
153
+ s = s + "px";
154
+ }
155
+ styleObj.width = s;
156
+ styleObj.height = s;
157
+ styleObj["font-size"] = s;
158
+ }
159
+ return styleObj;
160
+ });
161
+ const outputName = computed(() => {
162
+ const name = props.name;
163
+ if (typeof name == "string") {
164
+ switch (outputType.value) {
165
+ case "str":
166
+ const rs = reg.exec(name);
167
+ const rs1 = reg1.exec(name) || reg2.exec(name);
168
+ if (rs && rs.length > 0) {
169
+ return rs[1];
170
+ } else if (rs1 && rs1.length > 0) {
171
+ return rs1[0];
172
+ } else {
173
+ return name;
174
+ }
175
+ case "css":
176
+ return setPrefix(name);
177
+ case "id":
178
+ return setPrefix(name);
179
+ case "font":
180
+ return setPrefix(name);
181
+ default:
182
+ return name;
183
+ }
184
+ }
185
+ return name;
186
+ });
187
+ const arr = computed(() => {
188
+ var _a, _b, _c;
189
+ if (slots.default) {
190
+ return slots.default();
191
+ } else if (!outputName.value) {
192
+ return void 0;
193
+ } else if (outputType.value === "svg") {
194
+ if (typeof outputName.value == "string") {
195
+ return h(resolveComponent(outputName.value), {
196
+ class: [props.iconClass],
197
+ style: contStyle
198
+ });
199
+ } else {
200
+ return h(outputName.value, {
201
+ class: [props.iconClass],
202
+ style: contStyle
203
+ });
204
+ }
205
+ } else if (outputType.value === "pub") {
206
+ const src = props.directory + "/" + outputName.value + ".svg";
207
+ return h("img", {
208
+ style: contStyle,
209
+ alt: "svg",
210
+ src
211
+ });
212
+ } else if (outputType.value === "css" || outputType.value === "font") {
213
+ return h("i", {
214
+ class: [props.iconClass, outputName.value],
215
+ style: contStyle
216
+ });
217
+ } else if (outputType.value === "img") {
218
+ return h("img", {
219
+ class: [props.iconClass],
220
+ style: contStyle,
221
+ alt: "svg",
222
+ src: outputName.value
223
+ });
224
+ } else if (outputType.value === "str") {
225
+ let v;
226
+ let viewBox;
227
+ if (typeof outputName.value === "string") {
228
+ v = outputName.value;
229
+ viewBox = "0 0 1024 1024";
230
+ } else {
231
+ v = (_a = outputName.value) == null ? void 0 : _a.body;
232
+ viewBox = `0 0 ${((_b = outputName.value) == null ? void 0 : _b.width) || 1024} ${((_c = outputName.value) == null ? void 0 : _c.height) || 1024}`;
233
+ }
234
+ return h("svg", {
235
+ class: [props.iconClass],
236
+ style: contStyle,
237
+ viewBox,
238
+ xmlns: "http://www.w3.org/2000/svg",
239
+ innerHTML: v
240
+ });
241
+ } else if (outputType.value === "id") {
242
+ return h(
243
+ "svg",
244
+ {
245
+ class: [props.iconClass],
246
+ style: contStyle,
247
+ "aria-hidden": true
248
+ },
249
+ h("use", {
250
+ "xlink:href": "#" + outputName.value
251
+ })
252
+ );
253
+ } else {
254
+ if (typeof outputName.value == "string") {
255
+ return h(resolveComponent(outputName.value), {
256
+ class: [props.iconClass],
257
+ style: contStyle
258
+ });
259
+ } else {
260
+ return h(outputName.value, {
261
+ class: [props.iconClass],
262
+ style: contStyle
263
+ });
264
+ }
265
+ }
266
+ });
267
+ return () => h(
268
+ "i",
269
+ {
270
+ class: [className],
271
+ style: transformStyle.value
272
+ },
273
+ arr.value
274
+ );
275
+ }
276
+ });
277
+
278
+ export {
279
+ icon_default
280
+ };