@duxweb/dvha-pro 0.0.7 → 1.0.14

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 (287) hide show
  1. package/dist/cjs/component.cjs +1 -1
  2. package/dist/cjs/components/card/card.cjs +1 -1
  3. package/dist/cjs/components/card/store.cjs +1 -0
  4. package/dist/cjs/components/chart/echart.cjs +1 -1
  5. package/dist/cjs/components/crop/imageCrop.cjs +1 -0
  6. package/dist/cjs/components/crop/imageCropModal.cjs +1 -0
  7. package/dist/cjs/components/dashboard/helloBig.cjs +1 -1
  8. package/dist/cjs/components/data/dynamicData.cjs +1 -0
  9. package/dist/cjs/components/data/dynamicSelect.cjs +1 -0
  10. package/dist/cjs/components/data/selectModal.cjs +1 -0
  11. package/dist/cjs/components/dialog/dialog.cjs +1 -1
  12. package/dist/cjs/components/drawer/drawer.cjs +1 -1
  13. package/dist/cjs/components/editor/aiEditor.cjs +1 -0
  14. package/dist/cjs/components/form/modalForm.cjs +1 -1
  15. package/dist/cjs/components/form/pageForm.cjs +1 -1
  16. package/dist/cjs/components/form/settingForm.cjs +1 -1
  17. package/dist/cjs/components/layout/list.cjs +1 -1
  18. package/dist/cjs/components/layout/table.cjs +1 -1
  19. package/dist/cjs/components/level/level.cjs +1 -0
  20. package/dist/cjs/components/media/media.cjs +1 -1
  21. package/dist/cjs/components/modal/modal.cjs +1 -1
  22. package/dist/cjs/components/modal/modalPage.cjs +1 -1
  23. package/dist/cjs/components/panel/setting.cjs +1 -1
  24. package/dist/cjs/components/stats/number.cjs +1 -0
  25. package/dist/cjs/components/stats/realTime.cjs +1 -0
  26. package/dist/cjs/components/status/blockEmpty.cjs +1 -1
  27. package/dist/cjs/components/upload/file.cjs +1 -0
  28. package/dist/cjs/components/upload/image.cjs +1 -0
  29. package/dist/cjs/components/upload/manage/item.cjs +1 -0
  30. package/dist/cjs/components/upload/manager.cjs +1 -0
  31. package/dist/cjs/components/widget/avatar.cjs +1 -0
  32. package/dist/cjs/components/widget/connect.cjs +1 -1
  33. package/dist/cjs/components/widget/image.cjs +1 -0
  34. package/dist/cjs/components/widget/placeholder.cjs +1 -0
  35. package/dist/cjs/config/uno.cjs +1 -1
  36. package/dist/cjs/config/validate.cjs +1 -1
  37. package/dist/cjs/hooks/action.cjs +1 -1
  38. package/dist/cjs/hooks/dialog.cjs +1 -1
  39. package/dist/cjs/hooks/download.cjs +1 -0
  40. package/dist/cjs/hooks/drawer.cjs +1 -1
  41. package/dist/cjs/hooks/echart.cjs +1 -1
  42. package/dist/cjs/hooks/image.cjs +1 -0
  43. package/dist/cjs/hooks/level.cjs +1 -0
  44. package/dist/cjs/hooks/modal.cjs +1 -1
  45. package/dist/cjs/hooks/table/copy.cjs +1 -1
  46. package/dist/cjs/hooks/table/image.cjs +1 -1
  47. package/dist/cjs/hooks/table/input.cjs +1 -1
  48. package/dist/cjs/hooks/table/media.cjs +1 -1
  49. package/dist/cjs/hooks/table.cjs +1 -1
  50. package/dist/cjs/index.cjs +1 -1
  51. package/dist/cjs/langs/en-US.json.cjs +1 -1
  52. package/dist/cjs/langs/zh-CN.json.cjs +1 -1
  53. package/dist/cjs/main.cjs +1 -1
  54. package/dist/cjs/pages/authLayout.cjs +1 -1
  55. package/dist/cjs/pages/layout/global.cjs +1 -1
  56. package/dist/cjs/pages/layout/page.cjs +1 -1
  57. package/dist/cjs/pages/login.cjs +1 -1
  58. package/dist/cjs/pages/menu/avatar.cjs +1 -1
  59. package/dist/cjs/pages/menu/button.cjs +1 -1
  60. package/dist/cjs/pages/menu/cmd.cjs +1 -1
  61. package/dist/cjs/pages/menu/main.cjs +1 -1
  62. package/dist/cjs/pages/menu/mobile.cjs +1 -1
  63. package/dist/cjs/pages/page.cjs +1 -1
  64. package/dist/cjs/pages/page404.cjs +1 -1
  65. package/dist/cjs/pages/pageStatus.cjs +1 -1
  66. package/dist/cjs/static/images/icon/audio.svg.cjs +1 -0
  67. package/dist/cjs/static/images/icon/excel.svg.cjs +1 -0
  68. package/dist/cjs/static/images/icon/file.svg.cjs +1 -0
  69. package/dist/cjs/static/images/icon/folder.svg.cjs +1 -0
  70. package/dist/cjs/static/images/icon/pdf.svg.cjs +1 -0
  71. package/dist/cjs/static/images/icon/ppt.svg.cjs +1 -0
  72. package/dist/cjs/static/images/icon/video.svg.cjs +1 -0
  73. package/dist/cjs/static/images/icon/word.svg.cjs +1 -0
  74. package/dist/cjs/stores/ui.cjs +1 -1
  75. package/dist/cjs/theme/uno.css.cjs +108 -12
  76. package/dist/esm/component.js +64 -47
  77. package/dist/esm/components/card/card.js +22 -21
  78. package/dist/esm/components/card/store.js +64 -0
  79. package/dist/esm/components/chart/echart.js +29 -16
  80. package/dist/esm/components/crop/imageCrop.js +105 -0
  81. package/dist/esm/components/crop/imageCropModal.js +118 -0
  82. package/dist/esm/components/dashboard/helloBig.js +3 -2
  83. package/dist/esm/components/data/dynamicData.js +145 -0
  84. package/dist/esm/components/data/dynamicSelect.js +109 -0
  85. package/dist/esm/components/data/selectModal.js +135 -0
  86. package/dist/esm/components/dialog/dialog.js +50 -38
  87. package/dist/esm/components/drawer/drawer.js +14 -12
  88. package/dist/esm/components/editor/aiEditor.js +127 -0
  89. package/dist/esm/components/form/modalForm.js +66 -40
  90. package/dist/esm/components/form/pageForm.js +31 -21
  91. package/dist/esm/components/form/settingForm.js +31 -21
  92. package/dist/esm/components/layout/list.js +67 -57
  93. package/dist/esm/components/layout/table.js +59 -49
  94. package/dist/esm/components/level/level.js +103 -0
  95. package/dist/esm/components/media/media.js +18 -16
  96. package/dist/esm/components/modal/modal.js +27 -21
  97. package/dist/esm/components/modal/modalPage.js +7 -7
  98. package/dist/esm/components/panel/setting.js +9 -6
  99. package/dist/esm/components/stats/number.js +49 -0
  100. package/dist/esm/components/stats/realTime.js +99 -0
  101. package/dist/esm/components/status/blockEmpty.js +136 -57
  102. package/dist/esm/components/upload/file.js +258 -0
  103. package/dist/esm/components/upload/image.js +189 -0
  104. package/dist/esm/components/upload/manage/item.js +178 -0
  105. package/dist/esm/components/upload/manager.js +378 -0
  106. package/dist/esm/components/widget/avatar.js +59 -0
  107. package/dist/esm/components/widget/connect.js +6 -4
  108. package/dist/esm/components/widget/image.js +67 -0
  109. package/dist/esm/components/widget/placeholder.js +83 -0
  110. package/dist/esm/config/uno.js +6 -6
  111. package/dist/esm/config/validate.js +2 -2
  112. package/dist/esm/hooks/action.js +34 -34
  113. package/dist/esm/hooks/dialog.js +13 -3
  114. package/dist/esm/hooks/download.js +100 -0
  115. package/dist/esm/hooks/drawer.js +13 -3
  116. package/dist/esm/hooks/echart.js +292 -246
  117. package/dist/esm/hooks/image.js +23 -0
  118. package/dist/esm/hooks/level.js +75 -0
  119. package/dist/esm/hooks/modal.js +14 -4
  120. package/dist/esm/hooks/table/copy.js +14 -11
  121. package/dist/esm/hooks/table/image.js +55 -17
  122. package/dist/esm/hooks/table/input.js +35 -33
  123. package/dist/esm/hooks/table/media.js +17 -7
  124. package/dist/esm/hooks/table.js +41 -25
  125. package/dist/esm/index.js +198 -160
  126. package/dist/esm/langs/en-US.json.js +6 -4
  127. package/dist/esm/langs/zh-CN.json.js +5 -3
  128. package/dist/esm/main.js +8 -6
  129. package/dist/esm/pages/authLayout.js +24 -18
  130. package/dist/esm/pages/layout/global.js +29 -23
  131. package/dist/esm/pages/layout/page.js +26 -16
  132. package/dist/esm/pages/login.js +33 -23
  133. package/dist/esm/pages/menu/avatar.js +122 -93
  134. package/dist/esm/pages/menu/button.js +23 -13
  135. package/dist/esm/pages/menu/cmd.js +41 -31
  136. package/dist/esm/pages/menu/main.js +38 -28
  137. package/dist/esm/pages/menu/mobile.js +20 -10
  138. package/dist/esm/pages/page.js +21 -14
  139. package/dist/esm/pages/page404.js +15 -5
  140. package/dist/esm/pages/pageStatus.js +22 -12
  141. package/dist/esm/static/images/icon/audio.svg.js +4 -0
  142. package/dist/esm/static/images/icon/excel.svg.js +4 -0
  143. package/dist/esm/static/images/icon/file.svg.js +4 -0
  144. package/dist/esm/static/images/icon/folder.svg.js +4 -0
  145. package/dist/esm/static/images/icon/pdf.svg.js +4 -0
  146. package/dist/esm/static/images/icon/ppt.svg.js +4 -0
  147. package/dist/esm/static/images/icon/video.svg.js +4 -0
  148. package/dist/esm/static/images/icon/word.svg.js +4 -0
  149. package/dist/esm/stores/ui.js +10 -10
  150. package/dist/esm/theme/uno.css.js +108 -12
  151. package/dist/types/components/card/index.d.ts +1 -0
  152. package/dist/types/components/card/store.d.ts +16 -0
  153. package/dist/types/components/chart/echart.d.ts +2 -2
  154. package/dist/types/components/crop/imageCrop.d.ts +40 -0
  155. package/dist/types/components/crop/imageCropModal.d.ts +7 -0
  156. package/dist/types/components/crop/index.d.ts +2 -0
  157. package/dist/types/components/data/dynamicData.d.ts +56 -0
  158. package/dist/types/components/data/dynamicSelect.d.ts +49 -0
  159. package/dist/types/components/data/index.d.ts +3 -0
  160. package/dist/types/components/data/selectModal.d.ts +61 -0
  161. package/dist/types/components/dialog/dialog.d.ts +2 -0
  162. package/dist/types/components/editor/aiEditor.d.ts +26 -0
  163. package/dist/types/components/editor/index.d.ts +1 -0
  164. package/dist/types/components/index.d.ts +7 -0
  165. package/dist/types/components/level/index.d.ts +1 -0
  166. package/dist/types/components/level/level.d.ts +60 -0
  167. package/dist/types/components/modal/index.d.ts +2 -2
  168. package/dist/types/components/modal/modal.d.ts +1 -4
  169. package/dist/types/components/stats/index.d.ts +2 -0
  170. package/dist/types/components/stats/number.d.ts +50 -0
  171. package/dist/types/components/stats/realTime.d.ts +56 -0
  172. package/dist/types/components/upload/file.d.ts +9 -0
  173. package/dist/types/components/upload/image.d.ts +99 -0
  174. package/dist/types/components/upload/index.d.ts +4 -0
  175. package/dist/types/components/upload/manage/item.d.ts +22 -0
  176. package/dist/types/components/upload/manager.d.ts +37 -0
  177. package/dist/types/components/widget/avatar.d.ts +159 -0
  178. package/dist/types/components/widget/image.d.ts +257 -0
  179. package/dist/types/components/widget/index.d.ts +2 -0
  180. package/dist/types/components/widget/placeholder.d.ts +22 -0
  181. package/dist/types/hooks/dialog.d.ts +1 -0
  182. package/dist/types/hooks/download.d.ts +31 -0
  183. package/dist/types/hooks/echart.d.ts +14 -0
  184. package/dist/types/hooks/image.d.ts +3 -0
  185. package/dist/types/hooks/index.d.ts +3 -0
  186. package/dist/types/hooks/level.d.ts +19 -0
  187. package/dist/types/main.d.ts +12 -0
  188. package/dist/types/static/images/icon/index.d.ts +8 -0
  189. package/package.json +9 -3
  190. package/dist/cjs/_virtual/_commonjsHelpers.cjs +0 -1
  191. package/dist/cjs/_virtual/browser.cjs +0 -1
  192. package/dist/cjs/_virtual/browser2.cjs +0 -1
  193. package/dist/cjs/_virtual/sourcemap-codec.umd.cjs +0 -1
  194. package/dist/cjs/_virtual/sourcemap-codec.umd2.cjs +0 -1
  195. package/dist/cjs/node_modules/.pnpm/@iconify-json_tabler@1.2.19/node_modules/@iconify-json/tabler/icons.json.cjs +0 -1
  196. package/dist/cjs/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/customisations/defaults.cjs +0 -1
  197. package/dist/cjs/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/defaults.cjs +0 -1
  198. package/dist/cjs/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/merge.cjs +0 -1
  199. package/dist/cjs/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/transformations.cjs +0 -1
  200. package/dist/cjs/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon-set/get-icon.cjs +0 -1
  201. package/dist/cjs/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon-set/tree.cjs +0 -1
  202. package/dist/cjs/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/loader/custom.cjs +0 -1
  203. package/dist/cjs/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/loader/loader.cjs +0 -1
  204. package/dist/cjs/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/loader/modern.cjs +0 -1
  205. package/dist/cjs/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/loader/utils.cjs +0 -1
  206. package/dist/cjs/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/build.cjs +0 -1
  207. package/dist/cjs/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/defs.cjs +0 -1
  208. package/dist/cjs/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/encode-svg-for-css.cjs +0 -1
  209. package/dist/cjs/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/size.cjs +0 -1
  210. package/dist/cjs/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/trim.cjs +0 -1
  211. package/dist/cjs/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/url.cjs +0 -1
  212. package/dist/cjs/node_modules/.pnpm/@jridgewell_sourcemap-codec@1.5.0/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.cjs +0 -1
  213. package/dist/cjs/node_modules/.pnpm/@unocss_core@66.2.3/node_modules/@unocss/core/dist/index.cjs +0 -1
  214. package/dist/cjs/node_modules/.pnpm/@unocss_extractor-arbitrary-variants@66.2.3/node_modules/@unocss/extractor-arbitrary-variants/dist/index.cjs +0 -1
  215. package/dist/cjs/node_modules/.pnpm/@unocss_preset-icons@66.2.3/node_modules/@unocss/preset-icons/dist/browser.cjs +0 -1
  216. package/dist/cjs/node_modules/.pnpm/@unocss_preset-icons@66.2.3/node_modules/@unocss/preset-icons/dist/core.cjs +0 -1
  217. package/dist/cjs/node_modules/.pnpm/@unocss_preset-icons@66.2.3/node_modules/@unocss/preset-icons/dist/shared/preset-icons.DE2iazBM.cjs +0 -1
  218. package/dist/cjs/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/colors.cjs +0 -1
  219. package/dist/cjs/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/index.cjs +0 -391
  220. package/dist/cjs/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/postprocess.cjs +0 -1
  221. package/dist/cjs/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/shared/preset-wind4.BgkAsChl.cjs +0 -1
  222. package/dist/cjs/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/shared/preset-wind4.BwwuP5Yw.cjs +0 -1
  223. package/dist/cjs/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/shared/preset-wind4.CYAfjDEV.cjs +0 -1
  224. package/dist/cjs/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/shared/preset-wind4.CgvxUQFi.cjs +0 -1
  225. package/dist/cjs/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/shared/preset-wind4.dDC8WtZ5.cjs +0 -1
  226. package/dist/cjs/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/theme.cjs +0 -1
  227. package/dist/cjs/node_modules/.pnpm/@unocss_rule-utils@66.2.3/node_modules/@unocss/rule-utils/dist/index.cjs +0 -1
  228. package/dist/cjs/node_modules/.pnpm/@vee-validate_i18n@4.15.1/node_modules/@vee-validate/i18n/dist/locale/en.json.cjs +0 -1
  229. package/dist/cjs/node_modules/.pnpm/@vee-validate_i18n@4.15.1/node_modules/@vee-validate/i18n/dist/locale/zh_CN.json.cjs +0 -1
  230. package/dist/cjs/node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/browser.cjs +0 -1
  231. package/dist/cjs/node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/common.cjs +0 -1
  232. package/dist/cjs/node_modules/.pnpm/destr@2.0.5/node_modules/destr/dist/index.cjs +0 -1
  233. package/dist/cjs/node_modules/.pnpm/magic-string@0.30.17/node_modules/magic-string/dist/magic-string.es.cjs +0 -10
  234. package/dist/cjs/node_modules/.pnpm/ms@2.1.3/node_modules/ms/index.cjs +0 -1
  235. package/dist/cjs/node_modules/.pnpm/ofetch@1.4.1/node_modules/ofetch/dist/index.cjs +0 -1
  236. package/dist/cjs/node_modules/.pnpm/ofetch@1.4.1/node_modules/ofetch/dist/shared/ofetch.03887fc3.cjs +0 -1
  237. package/dist/cjs/node_modules/.pnpm/ufo@1.6.1/node_modules/ufo/dist/index.cjs +0 -1
  238. package/dist/cjs/static/images/placeholder.png.cjs +0 -1
  239. package/dist/esm/_virtual/_commonjsHelpers.js +0 -6
  240. package/dist/esm/_virtual/browser.js +0 -7
  241. package/dist/esm/_virtual/browser2.js +0 -4
  242. package/dist/esm/_virtual/sourcemap-codec.umd.js +0 -5
  243. package/dist/esm/_virtual/sourcemap-codec.umd2.js +0 -4
  244. package/dist/esm/node_modules/.pnpm/@iconify-json_tabler@1.2.19/node_modules/@iconify-json/tabler/icons.json.js +0 -17
  245. package/dist/esm/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/customisations/defaults.js +0 -14
  246. package/dist/esm/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/defaults.js +0 -25
  247. package/dist/esm/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/merge.js +0 -11
  248. package/dist/esm/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/transformations.js +0 -9
  249. package/dist/esm/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon-set/get-icon.js +0 -23
  250. package/dist/esm/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon-set/tree.js +0 -17
  251. package/dist/esm/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/loader/custom.js +0 -40
  252. package/dist/esm/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/loader/loader.js +0 -46
  253. package/dist/esm/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/loader/modern.js +0 -55
  254. package/dist/esm/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/loader/utils.js +0 -38
  255. package/dist/esm/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/build.js +0 -69
  256. package/dist/esm/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/defs.js +0 -29
  257. package/dist/esm/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/encode-svg-for-css.js +0 -14
  258. package/dist/esm/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/size.js +0 -27
  259. package/dist/esm/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/trim.js +0 -6
  260. package/dist/esm/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/url.js +0 -6
  261. package/dist/esm/node_modules/.pnpm/@jridgewell_sourcemap-codec@1.5.0/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js +0 -255
  262. package/dist/esm/node_modules/.pnpm/@unocss_core@66.2.3/node_modules/@unocss/core/dist/index.js +0 -88
  263. package/dist/esm/node_modules/.pnpm/@unocss_extractor-arbitrary-variants@66.2.3/node_modules/@unocss/extractor-arbitrary-variants/dist/index.js +0 -51
  264. package/dist/esm/node_modules/.pnpm/@unocss_preset-icons@66.2.3/node_modules/@unocss/preset-icons/dist/browser.js +0 -17
  265. package/dist/esm/node_modules/.pnpm/@unocss_preset-icons@66.2.3/node_modules/@unocss/preset-icons/dist/core.js +0 -151
  266. package/dist/esm/node_modules/.pnpm/@unocss_preset-icons@66.2.3/node_modules/@unocss/preset-icons/dist/shared/preset-icons.DE2iazBM.js +0 -8
  267. package/dist/esm/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/colors.js +0 -322
  268. package/dist/esm/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/index.js +0 -547
  269. package/dist/esm/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/postprocess.js +0 -32
  270. package/dist/esm/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/shared/preset-wind4.BgkAsChl.js +0 -2307
  271. package/dist/esm/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/shared/preset-wind4.BwwuP5Yw.js +0 -627
  272. package/dist/esm/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/shared/preset-wind4.CYAfjDEV.js +0 -7
  273. package/dist/esm/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/shared/preset-wind4.CgvxUQFi.js +0 -588
  274. package/dist/esm/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/shared/preset-wind4.dDC8WtZ5.js +0 -51
  275. package/dist/esm/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/theme.js +0 -553
  276. package/dist/esm/node_modules/.pnpm/@unocss_rule-utils@66.2.3/node_modules/@unocss/rule-utils/dist/index.js +0 -632
  277. package/dist/esm/node_modules/.pnpm/@vee-validate_i18n@4.15.1/node_modules/@vee-validate/i18n/dist/locale/en.json.js +0 -9
  278. package/dist/esm/node_modules/.pnpm/@vee-validate_i18n@4.15.1/node_modules/@vee-validate/i18n/dist/locale/zh_CN.json.js +0 -9
  279. package/dist/esm/node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/browser.js +0 -146
  280. package/dist/esm/node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/common.js +0 -97
  281. package/dist/esm/node_modules/.pnpm/destr@2.0.5/node_modules/destr/dist/index.js +0 -56
  282. package/dist/esm/node_modules/.pnpm/magic-string@0.30.17/node_modules/magic-string/dist/magic-string.es.js +0 -608
  283. package/dist/esm/node_modules/.pnpm/ms@2.1.3/node_modules/ms/index.js +0 -85
  284. package/dist/esm/node_modules/.pnpm/ofetch@1.4.1/node_modules/ofetch/dist/index.js +0 -23
  285. package/dist/esm/node_modules/.pnpm/ofetch@1.4.1/node_modules/ofetch/dist/shared/ofetch.03887fc3.js +0 -219
  286. package/dist/esm/node_modules/.pnpm/ufo@1.6.1/node_modules/ufo/dist/index.js +0 -153
  287. package/dist/esm/static/images/placeholder.png.js +0 -4
@@ -1,255 +0,0 @@
1
- import { __module as y } from "../../../../../../../_virtual/sourcemap-codec.umd2.js";
2
- var ee = y.exports, V;
3
- function se() {
4
- return V ? y.exports : (V = 1, function(ne, W) {
5
- (function(S, T) {
6
- T(W);
7
- })(ee, function(S) {
8
- const q = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", w = new Uint8Array(64), B = new Uint8Array(128);
9
- for (let t = 0; t < q.length; t++) {
10
- const n = q.charCodeAt(t);
11
- w[t] = n, B[n] = t;
12
- }
13
- function f(t, n) {
14
- let e = 0, o = 0, s = 0;
15
- do {
16
- const d = t.next();
17
- s = B[d], e |= (s & 31) << o, o += 5;
18
- } while (s & 32);
19
- const c = e & 1;
20
- return e >>>= 1, c && (e = -2147483648 | -e), n + e;
21
- }
22
- function i(t, n, e) {
23
- let o = n - e;
24
- o = o < 0 ? -o << 1 | 1 : o << 1;
25
- do {
26
- let s = o & 31;
27
- o >>>= 5, o > 0 && (s |= 32), t.write(w[s]);
28
- } while (o > 0);
29
- return n;
30
- }
31
- function I(t, n) {
32
- return t.pos >= n ? !1 : t.peek() !== 44;
33
- }
34
- const D = 1024 * 16, M = typeof TextDecoder < "u" ? /* @__PURE__ */ new TextDecoder() : typeof Buffer < "u" ? {
35
- decode(t) {
36
- return Buffer.from(t.buffer, t.byteOffset, t.byteLength).toString();
37
- }
38
- } : {
39
- decode(t) {
40
- let n = "";
41
- for (let e = 0; e < t.length; e++)
42
- n += String.fromCharCode(t[e]);
43
- return n;
44
- }
45
- };
46
- class k {
47
- constructor() {
48
- this.pos = 0, this.out = "", this.buffer = new Uint8Array(D);
49
- }
50
- write(n) {
51
- const { buffer: e } = this;
52
- e[this.pos++] = n, this.pos === D && (this.out += M.decode(e), this.pos = 0);
53
- }
54
- flush() {
55
- const { buffer: n, out: e, pos: o } = this;
56
- return o > 0 ? e + M.decode(n.subarray(0, o)) : e;
57
- }
58
- }
59
- class A {
60
- constructor(n) {
61
- this.pos = 0, this.buffer = n;
62
- }
63
- next() {
64
- return this.buffer.charCodeAt(this.pos++);
65
- }
66
- peek() {
67
- return this.buffer.charCodeAt(this.pos);
68
- }
69
- indexOf(n) {
70
- const { buffer: e, pos: o } = this, s = e.indexOf(n, o);
71
- return s === -1 ? e.length : s;
72
- }
73
- }
74
- const N = [];
75
- function Y(t) {
76
- const { length: n } = t, e = new A(t), o = [], s = [];
77
- let c = 0;
78
- for (; e.pos < n; e.pos++) {
79
- c = f(e, c);
80
- const d = f(e, 0);
81
- if (!I(e, n)) {
82
- const g = s.pop();
83
- g[2] = c, g[3] = d;
84
- continue;
85
- }
86
- const r = f(e, 0), u = f(e, 0) & 1 ? [c, d, 0, 0, r, f(e, 0)] : [c, d, 0, 0, r];
87
- let p = N;
88
- if (I(e, n)) {
89
- p = [];
90
- do {
91
- const g = f(e, 0);
92
- p.push(g);
93
- } while (I(e, n));
94
- }
95
- u.vars = p, o.push(u), s.push(u);
96
- }
97
- return o;
98
- }
99
- function z(t) {
100
- const n = new k();
101
- for (let e = 0; e < t.length; )
102
- e = U(t, e, n, [0]);
103
- return n.flush();
104
- }
105
- function U(t, n, e, o) {
106
- const s = t[n], { 0: c, 1: d, 2: r, 3: a, 4: h, vars: u } = s;
107
- n > 0 && e.write(44), o[0] = i(e, c, o[0]), i(e, d, 0), i(e, h, 0);
108
- const p = s.length === 6 ? 1 : 0;
109
- i(e, p, 0), s.length === 6 && i(e, s[5], 0);
110
- for (const g of u)
111
- i(e, g, 0);
112
- for (n++; n < t.length; ) {
113
- const g = t[n], { 0: l, 1: m } = g;
114
- if (l > r || l === r && m >= a)
115
- break;
116
- n = U(t, n, e, o);
117
- }
118
- return e.write(44), o[0] = i(e, r, o[0]), i(e, a, 0), n;
119
- }
120
- function F(t) {
121
- const { length: n } = t, e = new A(t), o = [], s = [];
122
- let c = 0, d = 0, r = 0, a = 0, h = 0, u = 0, p = 0, g = 0;
123
- do {
124
- const l = e.indexOf(";");
125
- let m = 0;
126
- for (; e.pos < l; e.pos++) {
127
- if (m = f(e, m), !I(e, l)) {
128
- const b = s.pop();
129
- b[2] = c, b[3] = m;
130
- continue;
131
- }
132
- const C = f(e, 0), R = C & 1, v = C & 2, O = C & 4;
133
- let E = null, G = N, L;
134
- if (R) {
135
- const b = f(e, d);
136
- r = f(e, d === b ? r : 0), d = b, L = [c, m, 0, 0, b, r];
137
- } else
138
- L = [c, m, 0, 0];
139
- if (L.isScope = !!O, v) {
140
- const b = a, x = h;
141
- a = f(e, a);
142
- const _ = b === a;
143
- h = f(e, _ ? h : 0), u = f(e, _ && x === h ? u : 0), E = [a, h, u];
144
- }
145
- if (L.callsite = E, I(e, l)) {
146
- G = [];
147
- do {
148
- p = c, g = m;
149
- const b = f(e, 0);
150
- let x;
151
- if (b < -1) {
152
- x = [[f(e, 0)]];
153
- for (let _ = -1; _ > b; _--) {
154
- const Z = p;
155
- p = f(e, p), g = f(e, p === Z ? g : 0);
156
- const $ = f(e, 0);
157
- x.push([$, p, g]);
158
- }
159
- } else
160
- x = [[b]];
161
- G.push(x);
162
- } while (I(e, l));
163
- }
164
- L.bindings = G, o.push(L), s.push(L);
165
- }
166
- c++, e.pos = l + 1;
167
- } while (e.pos < n);
168
- return o;
169
- }
170
- function H(t) {
171
- if (t.length === 0)
172
- return "";
173
- const n = new k();
174
- for (let e = 0; e < t.length; )
175
- e = j(t, e, n, [0, 0, 0, 0, 0, 0, 0]);
176
- return n.flush();
177
- }
178
- function j(t, n, e, o) {
179
- const s = t[n], { 0: c, 1: d, 2: r, 3: a, isScope: h, callsite: u, bindings: p } = s;
180
- o[0] < c ? (P(e, o[0], c), o[0] = c, o[1] = 0) : n > 0 && e.write(44), o[1] = i(e, s[1], o[1]);
181
- const g = (s.length === 6 ? 1 : 0) | (u ? 2 : 0) | (h ? 4 : 0);
182
- if (i(e, g, 0), s.length === 6) {
183
- const { 4: l, 5: m } = s;
184
- l !== o[2] && (o[3] = 0), o[2] = i(e, l, o[2]), o[3] = i(e, m, o[3]);
185
- }
186
- if (u) {
187
- const { 0: l, 1: m, 2: C } = s.callsite;
188
- l !== o[4] ? (o[5] = 0, o[6] = 0) : m !== o[5] && (o[6] = 0), o[4] = i(e, l, o[4]), o[5] = i(e, m, o[5]), o[6] = i(e, C, o[6]);
189
- }
190
- if (p)
191
- for (const l of p) {
192
- l.length > 1 && i(e, -l.length, 0);
193
- const m = l[0][0];
194
- i(e, m, 0);
195
- let C = c, R = d;
196
- for (let v = 1; v < l.length; v++) {
197
- const O = l[v];
198
- C = i(e, O[1], C), R = i(e, O[2], R), i(e, O[0], 0);
199
- }
200
- }
201
- for (n++; n < t.length; ) {
202
- const l = t[n], { 0: m, 1: C } = l;
203
- if (m > r || m === r && C >= a)
204
- break;
205
- n = j(t, n, e, o);
206
- }
207
- return o[0] < r ? (P(e, o[0], r), o[0] = r, o[1] = 0) : e.write(44), o[1] = i(e, a, o[1]), n;
208
- }
209
- function P(t, n, e) {
210
- do
211
- t.write(59);
212
- while (++n < e);
213
- }
214
- function J(t) {
215
- const { length: n } = t, e = new A(t), o = [];
216
- let s = 0, c = 0, d = 0, r = 0, a = 0;
217
- do {
218
- const h = e.indexOf(";"), u = [];
219
- let p = !0, g = 0;
220
- for (s = 0; e.pos < h; ) {
221
- let l;
222
- s = f(e, s), s < g && (p = !1), g = s, I(e, h) ? (c = f(e, c), d = f(e, d), r = f(e, r), I(e, h) ? (a = f(e, a), l = [s, c, d, r, a]) : l = [s, c, d, r]) : l = [s], u.push(l), e.pos++;
223
- }
224
- p || K(u), o.push(u), e.pos = h + 1;
225
- } while (e.pos <= n);
226
- return o;
227
- }
228
- function K(t) {
229
- t.sort(Q);
230
- }
231
- function Q(t, n) {
232
- return t[0] - n[0];
233
- }
234
- function X(t) {
235
- const n = new k();
236
- let e = 0, o = 0, s = 0, c = 0;
237
- for (let d = 0; d < t.length; d++) {
238
- const r = t[d];
239
- if (d > 0 && n.write(59), r.length === 0)
240
- continue;
241
- let a = 0;
242
- for (let h = 0; h < r.length; h++) {
243
- const u = r[h];
244
- h > 0 && n.write(44), a = i(n, u[0], a), u.length !== 1 && (e = i(n, u[1], e), o = i(n, u[2], o), s = i(n, u[3], s), u.length !== 4 && (c = i(n, u[4], c)));
245
- }
246
- }
247
- return n.flush();
248
- }
249
- S.decode = J, S.decodeGeneratedRanges = F, S.decodeOriginalScopes = Y, S.encode = X, S.encodeGeneratedRanges = H, S.encodeOriginalScopes = z, Object.defineProperty(S, "__esModule", { value: !0 });
250
- });
251
- }(y, y.exports), y.exports);
252
- }
253
- export {
254
- se as __require
255
- };
@@ -1,88 +0,0 @@
1
- const a = /[\\:]?[\s'"`;{}]+/g;
2
- function s(n = []) {
3
- return Array.isArray(n) ? n : [n];
4
- }
5
- function l(n) {
6
- return Array.from(new Set(n));
7
- }
8
- function f(n) {
9
- return typeof n == "string";
10
- }
11
- function $(n) {
12
- return n.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
13
- }
14
- function d(n) {
15
- const o = n.length;
16
- let e = -1, t, r = "";
17
- const c = n.charCodeAt(0);
18
- for (; ++e < o; ) {
19
- if (t = n.charCodeAt(e), t === 0) {
20
- r += "�";
21
- continue;
22
- }
23
- if (t === 37) {
24
- r += "\\%";
25
- continue;
26
- }
27
- if (t === 44) {
28
- r += "\\,";
29
- continue;
30
- }
31
- if (
32
- // If the character is in the range [\1-\1F] (U+0001 to U+001F) or is
33
- // U+007F, […]
34
- t >= 1 && t <= 31 || t === 127 || e === 0 && t >= 48 && t <= 57 || e === 1 && t >= 48 && t <= 57 && c === 45
35
- ) {
36
- r += `\\${t.toString(16)} `;
37
- continue;
38
- }
39
- if (
40
- // If the character is the first character and is a `-` (U+002D), and
41
- // there is no second character, […]
42
- e === 0 && o === 1 && t === 45
43
- ) {
44
- r += `\\${n.charAt(e)}`;
45
- continue;
46
- }
47
- if (t >= 128 || t === 45 || t === 95 || t >= 48 && t <= 57 || t >= 65 && t <= 90 || t >= 97 && t <= 122) {
48
- r += n.charAt(e);
49
- continue;
50
- }
51
- r += `\\${n.charAt(e)}`;
52
- }
53
- return r;
54
- }
55
- const u = /[\w\u00A0-\uFFFF%-?]/;
56
- function h(n = "") {
57
- return u.test(n);
58
- }
59
- function g(n) {
60
- return n != null;
61
- }
62
- const i = /* @__PURE__ */ new Set();
63
- function y(n) {
64
- i.has(n) || (console.warn("[unocss]", n), i.add(n));
65
- }
66
- function A(n) {
67
- return n;
68
- }
69
- const p = {
70
- shortcutsNoMerge: "$$symbol-shortcut-no-merge",
71
- noMerge: "$$symbol-no-merge",
72
- variants: "$$symbol-variants",
73
- parent: "$$symbol-parent"
74
- };
75
- export {
76
- a as defaultSplitRE,
77
- A as definePreset,
78
- $ as escapeRegExp,
79
- d as escapeSelector,
80
- f as isString,
81
- h as isValidSelector,
82
- g as notNull,
83
- p as symbols,
84
- s as toArray,
85
- l as uniq,
86
- u as validateFilterRE,
87
- y as warnOnce
88
- };
@@ -1,51 +0,0 @@
1
- import { defaultSplitRE as o, isValidSelector as u } from "../../../../../@unocss_core@66.2.3/node_modules/@unocss/core/dist/index.js";
2
- function l(r) {
3
- let e, s, t = 2166136261;
4
- for (e = 0, s = r.length; e < s; e++)
5
- t ^= r.charCodeAt(e), t += (t << 1) + (t << 4) + (t << 7) + (t << 8) + (t << 24);
6
- return `00000${(t >>> 0).toString(36)}`.slice(-6);
7
- }
8
- function c(r, e, s, t) {
9
- for (const n of Array.from(r.matchAll(s)))
10
- if (n != null) {
11
- const i = n[0], a = `${t}${l(i)}`;
12
- e.set(a, i), r = r.replace(i, a);
13
- }
14
- return r;
15
- }
16
- function f(r, e) {
17
- for (const [s, t] of e.entries())
18
- r = r.replaceAll(s, t);
19
- return r;
20
- }
21
- const p = /\/\/#\s*sourceMappingURL=.*\n?/g;
22
- function h(r) {
23
- return r.includes("sourceMappingURL=") ? r.replace(p, "") : r;
24
- }
25
- const S = /(?:[\w&:[\]-]|\[\S{1,64}=\S{1,64}\]){1,64}\[\\?['"]?\S{1,64}?['"]\]\]?[\w:-]{0,64}/g, y = /\[(\\\W|[\w-]){1,64}:[^\s:]{0,64}?("\S{1,64}?"|'\S{1,64}?'|`\S{1,64}?`|[^\s:]{1,64}?)[^\s:]{0,64}?\)?\]/g, g = /^\[(?:\\\W|[\w-]){1,64}:['"]?\S{1,64}?['"]?\]$/;
26
- function m(r) {
27
- const e = [];
28
- for (const n of r.matchAll(y))
29
- n.index !== 0 && !/^[\s'"`]/.test(r[n.index - 1] ?? "") || e.push(n[0]);
30
- for (const n of r.matchAll(S))
31
- e.push(n[0]);
32
- const s = /* @__PURE__ */ new Map(), t = "@unocss-skip-arbitrary-brackets";
33
- return r = c(r, s, /-\[(?!&.+?;)[^\]]*\]/g, t), r && r.split(o).forEach((n) => {
34
- n.includes(t) && (n = f(n, s)), u(n) && !g.test(n) && e.push(n);
35
- }), e;
36
- }
37
- function b() {
38
- return {
39
- name: "@unocss/extractor-arbitrary-variants",
40
- order: 0,
41
- extract({ code: r }) {
42
- return m(h(r));
43
- }
44
- };
45
- }
46
- export {
47
- y as arbitraryPropertyRE,
48
- b as extractorArbitraryVariants,
49
- S as quotedArbitraryValuesRE,
50
- m as splitCodeWithArbitraryVariants
51
- };
@@ -1,17 +0,0 @@
1
- import { c as t } from "./shared/preset-icons.DE2iazBM.js";
2
- import { createPresetIcons as a, createCDNFetchLoader as f } from "./core.js";
3
- import { getEnvFlags as I, icons as l, parseIconWithLoader as F } from "./core.js";
4
- import { loadIcon as m } from "../../../../../@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/loader/loader.js";
5
- const u = a(async (e) => {
6
- const c = e == null ? void 0 : e.customFetch, r = e == null ? void 0 : e.cdn;
7
- return c && r ? f(c, r) : r ? t(r) : m;
8
- });
9
- export {
10
- f as createCDNFetchLoader,
11
- a as createPresetIcons,
12
- u as default,
13
- I as getEnvFlags,
14
- l as icons,
15
- F as parseIconWithLoader,
16
- u as presetIcons
17
- };
@@ -1,151 +0,0 @@
1
- import { loadIcon as N } from "../../../../../@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/loader/loader.js";
2
- import { searchForIcon as E } from "../../../../../@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/loader/modern.js";
3
- import { encodeSvgForCss as v } from "../../../../../@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/encode-svg-for-css.js";
4
- import { definePreset as I, warnOnce as O } from "../../../../../@unocss_core@66.2.3/node_modules/@unocss/core/dist/index.js";
5
- const C = ["academicons", "akar-icons", "ant-design", "arcticons", "aws", "basil", "bi", "bitcoin-icons", "bpmn", "brandico", "bubbles", "bx", "bxl", "bxs", "bytesize", "carbon", "catppuccin", "cbi", "charm", "ci", "cib", "cif", "cil", "circle-flags", "circum", "clarity", "codex", "codicon", "covid", "cryptocurrency-color", "cryptocurrency", "cuida", "dashicons", "devicon-line", "devicon-original", "devicon-plain", "devicon", "dinkie-icons", "duo-icons", "ei", "el", "emblemicons", "emojione-monotone", "emojione-v1", "emojione", "entypo-social", "entypo", "eos-icons", "ep", "et", "eva", "f7", "fa-brands", "fa-regular", "fa-solid", "fa", "fa6-brands", "fa6-regular", "fa6-solid", "fad", "famicons", "fe", "feather", "file-icons", "flag", "flagpack", "flat-color-icons", "flat-ui", "flowbite", "fluent-color", "fluent-emoji-flat", "fluent-emoji-high-contrast", "fluent-emoji", "fluent-mdl2", "fluent", "fontelico", "fontisto", "formkit", "foundation", "fxemoji", "gala", "game-icons", "garden", "geo", "gg", "gis", "gravity-ui", "gridicons", "grommet-icons", "guidance", "healthicons", "heroicons-outline", "heroicons-solid", "heroicons", "hugeicons", "humbleicons", "ic", "icomoon-free", "icon-park-outline", "icon-park-solid", "icon-park-twotone", "icon-park", "iconamoon", "iconoir", "icons8", "il", "ion", "iwwa", "ix", "jam", "la", "lets-icons", "line-md", "lineicons", "logos", "ls", "lsicon", "lucide-lab", "lucide", "mage", "majesticons", "maki", "map", "marketeq", "material-icon-theme", "material-symbols-light", "material-symbols", "mdi-light", "mdi", "medical-icon", "memory", "meteocons", "meteor-icons", "mi", "mingcute", "mono-icons", "mynaui", "nimbus", "nonicons", "noto-v1", "noto", "nrk", "octicon", "oi", "ooui", "openmoji", "oui", "pajamas", "pepicons-pencil", "pepicons-pop", "pepicons-print", "pepicons", "ph", "picon", "pixel", "pixelarticons", "prime", "proicons", "ps", "qlementine-icons", "quill", "radix-icons", "raphael", "ri", "rivet-icons", "si-glyph", "si", "simple-icons", "simple-line-icons", "skill-icons", "solar", "stash", "streamline-block", "streamline-color", "streamline-cyber-color", "streamline-cyber", "streamline-emojis", "streamline-flex-color", "streamline-flex", "streamline-freehand-color", "streamline-freehand", "streamline-guidance", "streamline-kameleon-color", "streamline-logos", "streamline-pixel", "streamline-plump-color", "streamline-plump", "streamline-sharp-color", "streamline-sharp", "streamline-stickies-color", "streamline-ultimate-color", "streamline-ultimate", "streamline", "subway", "svg-spinners", "system-uicons", "tabler", "tdesign", "teenyicons", "token-branded", "token", "topcoat", "twemoji", "typcn", "uil", "uim", "uis", "uit", "uiw", "unjs", "vaadin", "vs", "vscode-icons", "websymbol", "weui", "whh", "wi", "wpf", "zmdi", "zondicons"], P = 3;
6
- function T(n) {
7
- return I((t = {}) => {
8
- const {
9
- scale: i = 1,
10
- mode: u = "auto",
11
- prefix: e = "i-",
12
- warn: o = !1,
13
- iconifyCollectionsNames: c,
14
- collections: a,
15
- extraProperties: r = {},
16
- customizations: s = {},
17
- autoInstall: x = !1,
18
- collectionsNodeResolvePath: $,
19
- layer: z = "icons",
20
- unit: p,
21
- processor: g
22
- } = t, S = _(), L = {
23
- addXmlNs: !0,
24
- scale: i,
25
- customCollections: a,
26
- autoInstall: x,
27
- cwd: $,
28
- // avoid warn from @iconify/loader: we'll warn below if not found
29
- warn: void 0,
30
- customizations: {
31
- ...s,
32
- additionalProps: { ...r },
33
- trimCustomSvg: !0,
34
- async iconCustomizer(h, w, l) {
35
- var m;
36
- await ((m = s.iconCustomizer) == null ? void 0 : m.call(s, h, w, l)), p && (l.width || (l.width = `${i}${p}`), l.height || (l.height = `${i}${p}`));
37
- }
38
- }
39
- };
40
- let b;
41
- return {
42
- name: "@unocss/preset-icons",
43
- enforce: "pre",
44
- options: t,
45
- layers: { icons: -30 },
46
- api: {
47
- encodeSvgForCss: v,
48
- parseIconWithLoader: j
49
- },
50
- rules: [[
51
- /^([\w:-]+)(?:\?(mask|bg|auto))?$/,
52
- async (h) => {
53
- let [w, l, m = u] = h;
54
- b = b || await n(t);
55
- const k = {}, d = await j(
56
- l,
57
- b,
58
- { ...L, usedProps: k },
59
- c
60
- );
61
- if (!d) {
62
- o && !S.isESLint && O(`failed to load icon "${w}"`);
63
- return;
64
- }
65
- let f;
66
- const y = `url("data:image/svg+xml;utf8,${v(d.svg)}")`;
67
- return m === "auto" && (m = d.svg.includes("currentColor") ? "mask" : "bg"), m === "mask" ? f = {
68
- "--un-icon": y,
69
- "-webkit-mask": "var(--un-icon) no-repeat",
70
- mask: "var(--un-icon) no-repeat",
71
- "-webkit-mask-size": "100% 100%",
72
- "mask-size": "100% 100%",
73
- "background-color": "currentColor",
74
- // for Safari https://github.com/elk-zone/elk/pull/264
75
- color: "inherit",
76
- ...k
77
- } : f = {
78
- background: `${y} no-repeat`,
79
- "background-size": "100% 100%",
80
- "background-color": "transparent",
81
- ...k
82
- }, g == null || g(f, {
83
- ...d,
84
- icon: d.name,
85
- mode: m
86
- }), f;
87
- },
88
- { layer: z, prefix: e }
89
- ]]
90
- };
91
- });
92
- }
93
- function R(n, t, i = /* @__PURE__ */ new Map()) {
94
- function u(e) {
95
- if (C.includes(e))
96
- return i.has(e) || i.set(e, n(`${t}@iconify-json/${e}/icons.json`)), i.get(e);
97
- }
98
- return async (e, o, c) => {
99
- let a = await N(e, o, c);
100
- if (a)
101
- return a;
102
- const r = await u(e);
103
- if (r) {
104
- const s = [
105
- o,
106
- o.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase(),
107
- o.replace(/([a-z])(\d+)/g, "$1-$2")
108
- ];
109
- a = await E(r, e, s, c);
110
- }
111
- return a;
112
- };
113
- }
114
- function _() {
115
- const n = typeof process < "u" && process.stdout, t = n && !!process.env.VSCODE_CWD, i = n && !!process.env.ESLINT;
116
- return {
117
- isNode: n,
118
- isVSCode: t,
119
- isESLint: i
120
- };
121
- }
122
- async function j(n, t, i = {}, u = []) {
123
- let e = "", o = "", c;
124
- const a = /* @__PURE__ */ new Set([
125
- ...C,
126
- ...u,
127
- ...Object.keys(i.customCollections || {})
128
- ]);
129
- if (n.includes(":")) {
130
- if ([e, o] = n.split(":"), !a.has(e))
131
- return;
132
- c = await t(e, o, i);
133
- } else {
134
- const r = n.split(/-/g);
135
- for (let s = P; s >= 1 && (e = r.slice(0, s).join("-"), !(!!a.has(e) && (o = r.slice(s).join("-"), c = await t(e, o, i), c))); s--)
136
- ;
137
- }
138
- if (c)
139
- return {
140
- collection: e,
141
- name: o,
142
- svg: c
143
- };
144
- }
145
- export {
146
- R as createCDNFetchLoader,
147
- T as createPresetIcons,
148
- _ as getEnvFlags,
149
- C as icons,
150
- j as parseIconWithLoader
151
- };
@@ -1,8 +0,0 @@
1
- import { $fetch as e } from "../../../../../../ofetch@1.4.1/node_modules/ofetch/dist/index.js";
2
- import { createCDNFetchLoader as t } from "../core.js";
3
- function a(r) {
4
- return t(e, r);
5
- }
6
- export {
7
- a as c
8
- };