@duxweb/dvha-pro 0.0.8 → 1.0.15

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 +129 -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,14 +0,0 @@
1
- import { defaultIconTransformations as t } from "../icon/defaults.js";
2
- const e = Object.freeze({
3
- width: null,
4
- height: null
5
- }), n = Object.freeze({
6
- // Dimensions
7
- ...e,
8
- // Transformations
9
- ...t
10
- });
11
- export {
12
- n as defaultIconCustomisations,
13
- e as defaultIconSizeCustomisations
14
- };
@@ -1,25 +0,0 @@
1
- const e = Object.freeze(
2
- {
3
- left: 0,
4
- top: 0,
5
- width: 16,
6
- height: 16
7
- }
8
- ), t = Object.freeze({
9
- rotate: 0,
10
- vFlip: !1,
11
- hFlip: !1
12
- }), o = Object.freeze({
13
- ...e,
14
- ...t
15
- }), n = Object.freeze({
16
- ...o,
17
- body: "",
18
- hidden: !1
19
- });
20
- export {
21
- n as defaultExtendedIconProps,
22
- e as defaultIconDimensions,
23
- o as defaultIconProps,
24
- t as defaultIconTransformations
25
- };
@@ -1,11 +0,0 @@
1
- import { defaultExtendedIconProps as f, defaultIconTransformations as r } from "./defaults.js";
2
- import { mergeIconTransformations as t } from "./transformations.js";
3
- function a(e, i) {
4
- const n = t(e, i);
5
- for (const o in f)
6
- o in r ? o in e && !(o in n) && (n[o] = r[o]) : o in i ? n[o] = i[o] : o in e && (n[o] = e[o]);
7
- return n;
8
- }
9
- export {
10
- a as mergeIconData
11
- };
@@ -1,9 +0,0 @@
1
- function n(r, e) {
2
- const t = {};
3
- !r.hFlip != !e.hFlip && (t.hFlip = !0), !r.vFlip != !e.vFlip && (t.vFlip = !0);
4
- const i = ((r.rotate || 0) + (e.rotate || 0)) % 4;
5
- return i && (t.rotate = i), t;
6
- }
7
- export {
8
- n as mergeIconTransformations
9
- };
@@ -1,23 +0,0 @@
1
- import { mergeIconData as s } from "../icon/merge.js";
2
- import { getIconsTree as f } from "./tree.js";
3
- function i(r, o, n) {
4
- const u = r.icons, l = r.aliases || /* @__PURE__ */ Object.create(null);
5
- let t = {};
6
- function c(e) {
7
- t = s(
8
- u[e] || l[e],
9
- t
10
- );
11
- }
12
- return c(o), n.forEach(c), s(r, t);
13
- }
14
- function g(r, o) {
15
- if (r.icons[o])
16
- return i(r, o, []);
17
- const n = f(r, [o])[o];
18
- return n ? i(r, o, n) : null;
19
- }
20
- export {
21
- g as getIconData,
22
- i as internalGetIconData
23
- };
@@ -1,17 +0,0 @@
1
- function u(o, i) {
2
- const s = o.icons, e = o.aliases || /* @__PURE__ */ Object.create(null), t = /* @__PURE__ */ Object.create(null);
3
- function r(c) {
4
- if (s[c])
5
- return t[c] = [];
6
- if (!(c in t)) {
7
- t[c] = null;
8
- const n = e[c] && e[c].parent, l = n && r(n);
9
- l && (t[c] = [n].concat(l));
10
- }
11
- return t[c];
12
- }
13
- return (i || Object.keys(s).concat(Object.keys(e))).forEach(r), t;
14
- }
15
- export {
16
- u as getIconsTree
17
- };
@@ -1,40 +0,0 @@
1
- import n from "../../../../../../../../_virtual/browser.js";
2
- import { mergeIconProps as s } from "./utils.js";
3
- import { trimSVG as c } from "../svg/trim.js";
4
- const d = n("@iconify-loader:custom");
5
- async function y(u, f, e, a) {
6
- var i;
7
- let r;
8
- d(`${f}:${e}`);
9
- try {
10
- if (typeof u == "function")
11
- r = await u(e);
12
- else {
13
- const t = u[e];
14
- r = typeof t == "function" ? await t() : t;
15
- }
16
- } catch (t) {
17
- console.warn(
18
- `Failed to load custom icon "${e}" in "${f}":`,
19
- t
20
- );
21
- return;
22
- }
23
- if (r) {
24
- const t = r.indexOf("<svg");
25
- t > 0 && (r = r.slice(t));
26
- const { transform: m } = (a == null ? void 0 : a.customizations) ?? {};
27
- return r = typeof m == "function" ? await m(r, f, e) : r, r.startsWith("<svg") ? await s(
28
- ((i = a == null ? void 0 : a.customizations) == null ? void 0 : i.trimCustomSvg) === !0 ? c(r) : r,
29
- f,
30
- e,
31
- a,
32
- void 0
33
- ) : (console.warn(
34
- `Custom icon "${e}" in "${f}" is not a valid SVG`
35
- ), r);
36
- }
37
- }
38
- export {
39
- y as getCustomIcon
40
- };
@@ -1,46 +0,0 @@
1
- import { getCustomIcon as m } from "./custom.js";
2
- import { searchForIcon as c } from "./modern.js";
3
- import "../../../../../../../../_virtual/browser.js";
4
- const g = async (e, r, a) => {
5
- var u;
6
- const f = (u = a == null ? void 0 : a.customCollections) == null ? void 0 : u[e];
7
- if (f)
8
- if (typeof f == "function") {
9
- let t;
10
- try {
11
- t = await f(r);
12
- } catch (s) {
13
- console.warn(
14
- `Failed to load custom icon "${r}" in "${e}":`,
15
- s
16
- );
17
- return;
18
- }
19
- if (t) {
20
- if (typeof t == "string")
21
- return await m(
22
- () => t,
23
- e,
24
- r,
25
- a
26
- );
27
- if ("icons" in t) {
28
- const s = [
29
- r,
30
- r.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase(),
31
- r.replace(/([a-z])(\d+)/g, "$1-$2")
32
- ];
33
- return await c(
34
- t,
35
- e,
36
- s,
37
- a
38
- );
39
- }
40
- }
41
- } else
42
- return await m(f, e, r, a);
43
- };
44
- export {
45
- g as loadIcon
46
- };
@@ -1,55 +0,0 @@
1
- import { iconToSVG as w, isUnsetKeyword as z } from "../svg/build.js";
2
- import { getIconData as I } from "../icon-set/get-icon.js";
3
- import { calculateSize as v } from "../svg/size.js";
4
- import { mergeIconProps as D } from "./utils.js";
5
- import C from "../../../../../../../../_virtual/browser.js";
6
- import { defaultIconCustomisations as S } from "../customisations/defaults.js";
7
- const j = C("@iconify-loader:icon");
8
- async function O(d, a, l, e) {
9
- let t;
10
- const { customize: s } = (e == null ? void 0 : e.customizations) ?? {};
11
- for (const r of l)
12
- if (t = I(d, r), t) {
13
- j(`${a}:${r}`);
14
- let i = {
15
- ...S
16
- };
17
- typeof s == "function" && (t = Object.assign({}, t), i = s(
18
- i,
19
- t,
20
- `${a}:${r}`
21
- ) ?? i);
22
- const {
23
- attributes: { width: h, height: b, ...y },
24
- body: $
25
- } = w(t, i), f = e == null ? void 0 : e.scale;
26
- return await D(
27
- // DON'T remove space on <svg >
28
- `<svg >${$}</svg>`,
29
- a,
30
- r,
31
- e,
32
- () => ({ ...y }),
33
- (o) => {
34
- const n = (m, u) => {
35
- const g = o[m];
36
- let c;
37
- if (!z(g)) {
38
- if (g)
39
- return;
40
- typeof f == "number" ? f && (c = v(
41
- // Base on result from iconToSVG() or 1em
42
- u ?? "1em",
43
- f
44
- )) : c = u;
45
- }
46
- c ? o[m] = c : delete o[m];
47
- };
48
- n("width", h), n("height", b);
49
- }
50
- );
51
- }
52
- }
53
- export {
54
- O as searchForIcon
55
- };
@@ -1,38 +0,0 @@
1
- import { isUnsetKeyword as r } from "../svg/build.js";
2
- import { calculateSize as S } from "../svg/size.js";
3
- const O = /\swidth\s*=\s*["']([\w.]+)["']/, $ = /\sheight\s*=\s*["']([\w.]+)["']/, a = /<svg\s+/;
4
- function b(l, f, u) {
5
- const c = l.slice(0, l.indexOf(">")), s = (h, x) => {
6
- const i = x.exec(c), w = i != null, d = f[h];
7
- return !d && !r(d) && (typeof u == "number" ? u > 0 && (f[h] = S(
8
- // Base on result from iconToSVG() or 1em
9
- (i == null ? void 0 : i[1]) ?? "1em",
10
- u
11
- )) : i && (f[h] = i[1])), w;
12
- };
13
- return [s("width", O), s("height", $)];
14
- }
15
- async function R(l, f, u, c, s, h) {
16
- const { scale: x, addXmlNs: i = !1 } = c ?? {}, { additionalProps: w = {}, iconCustomizer: d } = (c == null ? void 0 : c.customizations) ?? {}, e = await (s == null ? void 0 : s()) ?? {};
17
- await (d == null ? void 0 : d(f, u, e)), Object.keys(w).forEach((n) => {
18
- const t = w[n];
19
- t != null && (e[n] = t);
20
- }), h == null || h(e);
21
- const [y, k] = b(l, e, x);
22
- i && (!l.includes("xmlns=") && !e.xmlns && (e.xmlns = "http://www.w3.org/2000/svg"), !l.includes("xmlns:xlink=") && l.includes("xlink:") && !e["xmlns:xlink"] && (e["xmlns:xlink"] = "http://www.w3.org/1999/xlink"));
23
- const m = Object.keys(e).map(
24
- (n) => n === "width" && y || n === "height" && k ? null : `${n}="${e[n]}"`
25
- ).filter((n) => n != null);
26
- if (m.length && (l = l.replace(a, `<svg ${m.join(" ")} `)), c) {
27
- const { defaultStyle: n, defaultClass: t } = c;
28
- t && !l.includes("class=") && (l = l.replace(a, `<svg class="${t}" `)), n && !l.includes("style=") && (l = l.replace(a, `<svg style="${n}" `));
29
- }
30
- const g = c == null ? void 0 : c.usedProps;
31
- return g && (Object.keys(w).forEach((n) => {
32
- const t = e[n];
33
- t != null && (g[n] = t);
34
- }), typeof e.width < "u" && e.width !== null && (g.width = e.width), typeof e.height < "u" && e.height !== null && (g.height = e.height)), l;
35
- }
36
- export {
37
- R as mergeIconProps
38
- };
@@ -1,69 +0,0 @@
1
- import { defaultIconProps as k } from "../icon/defaults.js";
2
- import { defaultIconCustomisations as y } from "../customisations/defaults.js";
3
- import { calculateSize as b } from "./size.js";
4
- import { wrapSVGContent as C } from "./defs.js";
5
- const I = (s) => s === "unset" || s === "undefined" || s === "none";
6
- function H(s, x) {
7
- const n = {
8
- ...k,
9
- ...s
10
- }, g = {
11
- ...y,
12
- ...x
13
- }, t = {
14
- left: n.left,
15
- top: n.top,
16
- width: n.width,
17
- height: n.height
18
- };
19
- let u = n.body;
20
- [n, g].forEach((r) => {
21
- const o = [], F = r.hFlip, S = r.vFlip;
22
- let e = r.rotate;
23
- F ? S ? e += 2 : (o.push(
24
- "translate(" + (t.width + t.left).toString() + " " + (0 - t.top).toString() + ")"
25
- ), o.push("scale(-1 1)"), t.top = t.left = 0) : S && (o.push(
26
- "translate(" + (0 - t.left).toString() + " " + (t.height + t.top).toString() + ")"
27
- ), o.push("scale(1 -1)"), t.top = t.left = 0);
28
- let i;
29
- switch (e < 0 && (e -= Math.floor(e / 4) * 4), e = e % 4, e) {
30
- case 1:
31
- i = t.height / 2 + t.top, o.unshift(
32
- "rotate(90 " + i.toString() + " " + i.toString() + ")"
33
- );
34
- break;
35
- case 2:
36
- o.unshift(
37
- "rotate(180 " + (t.width / 2 + t.left).toString() + " " + (t.height / 2 + t.top).toString() + ")"
38
- );
39
- break;
40
- case 3:
41
- i = t.width / 2 + t.left, o.unshift(
42
- "rotate(-90 " + i.toString() + " " + i.toString() + ")"
43
- );
44
- break;
45
- }
46
- e % 2 === 1 && (t.left !== t.top && (i = t.left, t.left = t.top, t.top = i), t.width !== t.height && (i = t.width, t.width = t.height, t.height = i)), o.length && (u = C(
47
- u,
48
- '<g transform="' + o.join(" ") + '">',
49
- "</g>"
50
- ));
51
- });
52
- const p = g.width, h = g.height, f = t.width, l = t.height;
53
- let a, c;
54
- p === null ? (c = h === null ? "1em" : h === "auto" ? l : h, a = b(c, f / l)) : (a = p === "auto" ? f : p, c = h === null ? b(a, l / f) : h === "auto" ? l : h);
55
- const d = {}, w = (r, o) => {
56
- I(o) || (d[r] = o.toString());
57
- };
58
- w("width", a), w("height", c);
59
- const m = [t.left, t.top, f, l];
60
- return d.viewBox = m.join(" "), {
61
- attributes: d,
62
- viewBox: m,
63
- body: u
64
- };
65
- }
66
- export {
67
- H as iconToSVG,
68
- I as isUnsetKeyword
69
- };
@@ -1,29 +0,0 @@
1
- function l(e, i = "defs") {
2
- let f = "";
3
- const s = e.indexOf("<" + i);
4
- for (; s >= 0; ) {
5
- const d = e.indexOf(">", s), r = e.indexOf("</" + i);
6
- if (d === -1 || r === -1)
7
- break;
8
- const n = e.indexOf(">", r);
9
- if (n === -1)
10
- break;
11
- f += e.slice(d + 1, r).trim(), e = e.slice(0, s).trim() + e.slice(n + 1);
12
- }
13
- return {
14
- defs: f,
15
- content: e
16
- };
17
- }
18
- function t(e, i) {
19
- return e ? "<defs>" + e + "</defs>" + i : i;
20
- }
21
- function u(e, i, f) {
22
- const s = l(e);
23
- return t(s.defs, i + s.content + f);
24
- }
25
- export {
26
- t as mergeDefsAndContent,
27
- l as splitSVGDefs,
28
- u as wrapSVGContent
29
- };
@@ -1,14 +0,0 @@
1
- import { encodeSVGforURL as n } from "./url.js";
2
- function r(e) {
3
- let s = e.startsWith("<svg>") ? e.replace("<svg>", "<svg >") : e;
4
- return !s.includes(" xmlns:xlink=") && s.includes(" xlink:") && (s = s.replace(
5
- "<svg ",
6
- '<svg xmlns:xlink="http://www.w3.org/1999/xlink" '
7
- )), s.includes(" xmlns=") || (s = s.replace(
8
- "<svg ",
9
- '<svg xmlns="http://www.w3.org/2000/svg" '
10
- )), n(s);
11
- }
12
- export {
13
- r as encodeSvgForCss
14
- };
@@ -1,27 +0,0 @@
1
- const h = /(-?[0-9.]*[0-9]+[0-9.]*)/g, a = /^-?[0-9.]*[0-9]+[0-9.]*$/g;
2
- function o(t, f, e) {
3
- if (f === 1)
4
- return t;
5
- if (e = e || 100, typeof t == "number")
6
- return Math.ceil(t * f * e) / e;
7
- if (typeof t != "string")
8
- return t;
9
- const l = t.split(h);
10
- if (l === null || !l.length)
11
- return t;
12
- const n = [];
13
- let u = l.shift(), s = a.test(u);
14
- for (; ; ) {
15
- if (s) {
16
- const r = parseFloat(u);
17
- isNaN(r) ? n.push(u) : n.push(Math.ceil(r * f * e) / e);
18
- } else
19
- n.push(u);
20
- if (u = l.shift(), u === void 0)
21
- return n.join("");
22
- s = !s;
23
- }
24
- }
25
- export {
26
- o as calculateSize
27
- };
@@ -1,6 +0,0 @@
1
- function r(e) {
2
- return e.replace(/(['"])\s*\n\s*([^>\\/\s])/g, "$1 $2").replace(/(["';{}><])\s*\n\s*/g, "$1").replace(/\s*\n\s*/g, " ").replace(/\s+"/g, '"').replace(/="\s+/g, '="').replace(/(\s)+\/>/g, "/>").trim();
3
- }
4
- export {
5
- r as trimSVG
6
- };
@@ -1,6 +0,0 @@
1
- function r(e) {
2
- return e.replace(/"/g, "'").replace(/%/g, "%25").replace(/#/g, "%23").replace(/</g, "%3C").replace(/>/g, "%3E").replace(/\s+/g, " ");
3
- }
4
- export {
5
- r as encodeSVGforURL
6
- };