@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
@@ -0,0 +1,159 @@
1
+ export declare const DuxAvatar: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
2
+ [key: string]: any;
3
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ readonly size: import("vue").PropType<import("naive-ui/es/avatar/src/interface").Size>;
5
+ readonly src: StringConstructor;
6
+ readonly circle: {
7
+ readonly type: BooleanConstructor;
8
+ readonly default: undefined;
9
+ };
10
+ readonly objectFit: import("vue").PropType<import("naive-ui/es/avatar/src/interface").ObjectFit>;
11
+ readonly round: {
12
+ readonly type: BooleanConstructor;
13
+ readonly default: undefined;
14
+ };
15
+ readonly bordered: {
16
+ readonly type: BooleanConstructor;
17
+ readonly default: undefined;
18
+ };
19
+ readonly onError: import("vue").PropType<(e: Event) => void>;
20
+ readonly fallbackSrc: StringConstructor;
21
+ readonly intersectionObserverOptions: import("vue").PropType<import("naive-ui/es/image/src/utils").IntersectionObserverOptions>;
22
+ readonly lazy: BooleanConstructor;
23
+ readonly onLoad: import("vue").PropType<(e: Event) => void>;
24
+ readonly renderPlaceholder: import("vue").PropType<() => import("vue").VNodeChild>;
25
+ readonly renderFallback: import("vue").PropType<() => import("vue").VNodeChild>;
26
+ readonly imgProps: import("vue").PropType<import("vue").ImgHTMLAttributes>;
27
+ readonly color: StringConstructor;
28
+ readonly theme: import("vue").PropType<import("naive-ui/es/_mixins").Theme<"Avatar", {
29
+ borderRadius: string;
30
+ fontSize: string;
31
+ border: string;
32
+ heightTiny: string;
33
+ heightSmall: string;
34
+ heightMedium: string;
35
+ heightLarge: string;
36
+ heightHuge: string;
37
+ color: string;
38
+ colorModal: string;
39
+ colorPopover: string;
40
+ }, any>>;
41
+ readonly themeOverrides: import("vue").PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Avatar", {
42
+ borderRadius: string;
43
+ fontSize: string;
44
+ border: string;
45
+ heightTiny: string;
46
+ heightSmall: string;
47
+ heightMedium: string;
48
+ heightLarge: string;
49
+ heightHuge: string;
50
+ color: string;
51
+ colorModal: string;
52
+ colorPopover: string;
53
+ }, any>>>;
54
+ readonly builtinThemeOverrides: import("vue").PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Avatar", {
55
+ borderRadius: string;
56
+ fontSize: string;
57
+ border: string;
58
+ heightTiny: string;
59
+ heightSmall: string;
60
+ heightMedium: string;
61
+ heightLarge: string;
62
+ heightHuge: string;
63
+ color: string;
64
+ colorModal: string;
65
+ colorPopover: string;
66
+ }, any>>>;
67
+ }>, {
68
+ textRef: import("vue").Ref<HTMLElement | null, HTMLElement | null>;
69
+ selfRef: import("vue").Ref<HTMLElement | null, HTMLElement | null>;
70
+ mergedRoundRef: import("vue").ComputedRef<boolean | undefined>;
71
+ mergedClsPrefix: import("vue").Ref<string, string>;
72
+ fitTextTransform: () => void;
73
+ cssVars: import("vue").ComputedRef<{
74
+ "--n-font-size": string;
75
+ "--n-border": string;
76
+ "--n-border-radius": string;
77
+ "--n-color": string;
78
+ "--n-color-modal": string;
79
+ "--n-color-popover": string;
80
+ "--n-bezier": string;
81
+ "--n-merged-size": string;
82
+ }> | undefined;
83
+ themeClass: import("vue").Ref<string, string> | undefined;
84
+ onRender: (() => void) | undefined;
85
+ hasLoadError: import("vue").Ref<boolean, boolean>;
86
+ shouldStartLoading: import("vue").Ref<boolean, boolean>;
87
+ loaded: import("vue").Ref<boolean, boolean>;
88
+ mergedOnError: (e: Event) => void;
89
+ mergedOnLoad: (e: Event) => void;
90
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
91
+ readonly size: import("vue").PropType<import("naive-ui/es/avatar/src/interface").Size>;
92
+ readonly src: StringConstructor;
93
+ readonly circle: {
94
+ readonly type: BooleanConstructor;
95
+ readonly default: undefined;
96
+ };
97
+ readonly objectFit: import("vue").PropType<import("naive-ui/es/avatar/src/interface").ObjectFit>;
98
+ readonly round: {
99
+ readonly type: BooleanConstructor;
100
+ readonly default: undefined;
101
+ };
102
+ readonly bordered: {
103
+ readonly type: BooleanConstructor;
104
+ readonly default: undefined;
105
+ };
106
+ readonly onError: import("vue").PropType<(e: Event) => void>;
107
+ readonly fallbackSrc: StringConstructor;
108
+ readonly intersectionObserverOptions: import("vue").PropType<import("naive-ui/es/image/src/utils").IntersectionObserverOptions>;
109
+ readonly lazy: BooleanConstructor;
110
+ readonly onLoad: import("vue").PropType<(e: Event) => void>;
111
+ readonly renderPlaceholder: import("vue").PropType<() => import("vue").VNodeChild>;
112
+ readonly renderFallback: import("vue").PropType<() => import("vue").VNodeChild>;
113
+ readonly imgProps: import("vue").PropType<import("vue").ImgHTMLAttributes>;
114
+ readonly color: StringConstructor;
115
+ readonly theme: import("vue").PropType<import("naive-ui/es/_mixins").Theme<"Avatar", {
116
+ borderRadius: string;
117
+ fontSize: string;
118
+ border: string;
119
+ heightTiny: string;
120
+ heightSmall: string;
121
+ heightMedium: string;
122
+ heightLarge: string;
123
+ heightHuge: string;
124
+ color: string;
125
+ colorModal: string;
126
+ colorPopover: string;
127
+ }, any>>;
128
+ readonly themeOverrides: import("vue").PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Avatar", {
129
+ borderRadius: string;
130
+ fontSize: string;
131
+ border: string;
132
+ heightTiny: string;
133
+ heightSmall: string;
134
+ heightMedium: string;
135
+ heightLarge: string;
136
+ heightHuge: string;
137
+ color: string;
138
+ colorModal: string;
139
+ colorPopover: string;
140
+ }, any>>>;
141
+ readonly builtinThemeOverrides: import("vue").PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Avatar", {
142
+ borderRadius: string;
143
+ fontSize: string;
144
+ border: string;
145
+ heightTiny: string;
146
+ heightSmall: string;
147
+ heightMedium: string;
148
+ heightLarge: string;
149
+ heightHuge: string;
150
+ color: string;
151
+ colorModal: string;
152
+ colorPopover: string;
153
+ }, any>>>;
154
+ }>> & Readonly<{}>, {
155
+ readonly round: boolean;
156
+ readonly circle: boolean;
157
+ readonly lazy: boolean;
158
+ readonly bordered: boolean;
159
+ }, import("vue").SlotsType<import("naive-ui").AvatarSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -0,0 +1,257 @@
1
+ export declare const DuxImage: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
2
+ [key: string]: any;
3
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ onPreviewPrev: import("vue").PropType<() => void>;
5
+ onPreviewNext: import("vue").PropType<() => void>;
6
+ showToolbar: {
7
+ type: BooleanConstructor;
8
+ default: boolean;
9
+ };
10
+ showToolbarTooltip: BooleanConstructor;
11
+ renderToolbar: import("vue").PropType<import("naive-ui").ImageRenderToolbar>;
12
+ theme: import("vue").PropType<import("naive-ui/es/_mixins").Theme<"Image", {
13
+ toolbarIconColor: string;
14
+ toolbarColor: string;
15
+ toolbarBoxShadow: string;
16
+ toolbarBorderRadius: string;
17
+ }, {
18
+ Tooltip: import("naive-ui/es/_mixins").Theme<"Tooltip", {
19
+ borderRadius: string;
20
+ boxShadow: string;
21
+ color: string;
22
+ textColor: string;
23
+ padding: string;
24
+ }, {
25
+ Popover: import("naive-ui/es/_mixins").Theme<"Popover", {
26
+ fontSize: string;
27
+ borderRadius: string;
28
+ color: string;
29
+ dividerColor: string;
30
+ textColor: string;
31
+ boxShadow: string;
32
+ space: string;
33
+ spaceArrow: string;
34
+ arrowOffset: string;
35
+ arrowOffsetVertical: string;
36
+ arrowHeight: string;
37
+ padding: string;
38
+ }, any>;
39
+ }>;
40
+ }>>;
41
+ themeOverrides: import("vue").PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Image", {
42
+ toolbarIconColor: string;
43
+ toolbarColor: string;
44
+ toolbarBoxShadow: string;
45
+ toolbarBorderRadius: string;
46
+ }, {
47
+ Tooltip: import("naive-ui/es/_mixins").Theme<"Tooltip", {
48
+ borderRadius: string;
49
+ boxShadow: string;
50
+ color: string;
51
+ textColor: string;
52
+ padding: string;
53
+ }, {
54
+ Popover: import("naive-ui/es/_mixins").Theme<"Popover", {
55
+ fontSize: string;
56
+ borderRadius: string;
57
+ color: string;
58
+ dividerColor: string;
59
+ textColor: string;
60
+ boxShadow: string;
61
+ space: string;
62
+ spaceArrow: string;
63
+ arrowOffset: string;
64
+ arrowOffsetVertical: string;
65
+ arrowHeight: string;
66
+ padding: string;
67
+ }, any>;
68
+ }>;
69
+ }>>>;
70
+ builtinThemeOverrides: import("vue").PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Image", {
71
+ toolbarIconColor: string;
72
+ toolbarColor: string;
73
+ toolbarBoxShadow: string;
74
+ toolbarBorderRadius: string;
75
+ }, {
76
+ Tooltip: import("naive-ui/es/_mixins").Theme<"Tooltip", {
77
+ borderRadius: string;
78
+ boxShadow: string;
79
+ color: string;
80
+ textColor: string;
81
+ padding: string;
82
+ }, {
83
+ Popover: import("naive-ui/es/_mixins").Theme<"Popover", {
84
+ fontSize: string;
85
+ borderRadius: string;
86
+ color: string;
87
+ dividerColor: string;
88
+ textColor: string;
89
+ boxShadow: string;
90
+ space: string;
91
+ spaceArrow: string;
92
+ arrowOffset: string;
93
+ arrowOffsetVertical: string;
94
+ arrowHeight: string;
95
+ padding: string;
96
+ }, any>;
97
+ }>;
98
+ }>>>;
99
+ alt: StringConstructor;
100
+ height: import("vue").PropType<string | number>;
101
+ imgProps: import("vue").PropType<import("vue").ImgHTMLAttributes>;
102
+ previewedImgProps: import("vue").PropType<import("vue").ImgHTMLAttributes>;
103
+ lazy: BooleanConstructor;
104
+ intersectionObserverOptions: import("vue").PropType<import("naive-ui/es/image/src/utils").IntersectionObserverOptions>;
105
+ objectFit: {
106
+ type: import("vue").PropType<"fill" | "contain" | "cover" | "none" | "scale-down">;
107
+ default: string;
108
+ };
109
+ previewSrc: StringConstructor;
110
+ fallbackSrc: StringConstructor;
111
+ width: import("vue").PropType<string | number>;
112
+ src: StringConstructor;
113
+ previewDisabled: BooleanConstructor;
114
+ loadDescription: StringConstructor;
115
+ onError: import("vue").PropType<(e: Event) => void>;
116
+ onLoad: import("vue").PropType<(e: Event) => void>;
117
+ }>, {
118
+ click: () => void;
119
+ mergedClsPrefix: import("vue").Ref<string, string>;
120
+ groupId: string | undefined;
121
+ previewInstRef: import("vue").Ref<{
122
+ setThumbnailEl: (e: HTMLImageElement | null) => void;
123
+ setPreviewSrc: (src?: string) => void;
124
+ toggleShow: () => void;
125
+ } | null, import("naive-ui/es/image/src/ImagePreview").ImagePreviewInst | {
126
+ setThumbnailEl: (e: HTMLImageElement | null) => void;
127
+ setPreviewSrc: (src?: string) => void;
128
+ toggleShow: () => void;
129
+ } | null>;
130
+ imageRef: import("vue").Ref<HTMLImageElement | null, HTMLImageElement | null>;
131
+ showError: import("vue").Ref<boolean, boolean>;
132
+ shouldStartLoading: import("vue").Ref<boolean, boolean>;
133
+ loaded: import("vue").Ref<boolean, boolean>;
134
+ mergedOnClick: (e: MouseEvent) => void;
135
+ mergedOnError: (e: Event) => void;
136
+ mergedOnLoad: (e: Event) => void;
137
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
138
+ onPreviewPrev: import("vue").PropType<() => void>;
139
+ onPreviewNext: import("vue").PropType<() => void>;
140
+ showToolbar: {
141
+ type: BooleanConstructor;
142
+ default: boolean;
143
+ };
144
+ showToolbarTooltip: BooleanConstructor;
145
+ renderToolbar: import("vue").PropType<import("naive-ui").ImageRenderToolbar>;
146
+ theme: import("vue").PropType<import("naive-ui/es/_mixins").Theme<"Image", {
147
+ toolbarIconColor: string;
148
+ toolbarColor: string;
149
+ toolbarBoxShadow: string;
150
+ toolbarBorderRadius: string;
151
+ }, {
152
+ Tooltip: import("naive-ui/es/_mixins").Theme<"Tooltip", {
153
+ borderRadius: string;
154
+ boxShadow: string;
155
+ color: string;
156
+ textColor: string;
157
+ padding: string;
158
+ }, {
159
+ Popover: import("naive-ui/es/_mixins").Theme<"Popover", {
160
+ fontSize: string;
161
+ borderRadius: string;
162
+ color: string;
163
+ dividerColor: string;
164
+ textColor: string;
165
+ boxShadow: string;
166
+ space: string;
167
+ spaceArrow: string;
168
+ arrowOffset: string;
169
+ arrowOffsetVertical: string;
170
+ arrowHeight: string;
171
+ padding: string;
172
+ }, any>;
173
+ }>;
174
+ }>>;
175
+ themeOverrides: import("vue").PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Image", {
176
+ toolbarIconColor: string;
177
+ toolbarColor: string;
178
+ toolbarBoxShadow: string;
179
+ toolbarBorderRadius: string;
180
+ }, {
181
+ Tooltip: import("naive-ui/es/_mixins").Theme<"Tooltip", {
182
+ borderRadius: string;
183
+ boxShadow: string;
184
+ color: string;
185
+ textColor: string;
186
+ padding: string;
187
+ }, {
188
+ Popover: import("naive-ui/es/_mixins").Theme<"Popover", {
189
+ fontSize: string;
190
+ borderRadius: string;
191
+ color: string;
192
+ dividerColor: string;
193
+ textColor: string;
194
+ boxShadow: string;
195
+ space: string;
196
+ spaceArrow: string;
197
+ arrowOffset: string;
198
+ arrowOffsetVertical: string;
199
+ arrowHeight: string;
200
+ padding: string;
201
+ }, any>;
202
+ }>;
203
+ }>>>;
204
+ builtinThemeOverrides: import("vue").PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Image", {
205
+ toolbarIconColor: string;
206
+ toolbarColor: string;
207
+ toolbarBoxShadow: string;
208
+ toolbarBorderRadius: string;
209
+ }, {
210
+ Tooltip: import("naive-ui/es/_mixins").Theme<"Tooltip", {
211
+ borderRadius: string;
212
+ boxShadow: string;
213
+ color: string;
214
+ textColor: string;
215
+ padding: string;
216
+ }, {
217
+ Popover: import("naive-ui/es/_mixins").Theme<"Popover", {
218
+ fontSize: string;
219
+ borderRadius: string;
220
+ color: string;
221
+ dividerColor: string;
222
+ textColor: string;
223
+ boxShadow: string;
224
+ space: string;
225
+ spaceArrow: string;
226
+ arrowOffset: string;
227
+ arrowOffsetVertical: string;
228
+ arrowHeight: string;
229
+ padding: string;
230
+ }, any>;
231
+ }>;
232
+ }>>>;
233
+ alt: StringConstructor;
234
+ height: import("vue").PropType<string | number>;
235
+ imgProps: import("vue").PropType<import("vue").ImgHTMLAttributes>;
236
+ previewedImgProps: import("vue").PropType<import("vue").ImgHTMLAttributes>;
237
+ lazy: BooleanConstructor;
238
+ intersectionObserverOptions: import("vue").PropType<import("naive-ui/es/image/src/utils").IntersectionObserverOptions>;
239
+ objectFit: {
240
+ type: import("vue").PropType<"fill" | "contain" | "cover" | "none" | "scale-down">;
241
+ default: string;
242
+ };
243
+ previewSrc: StringConstructor;
244
+ fallbackSrc: StringConstructor;
245
+ width: import("vue").PropType<string | number>;
246
+ src: StringConstructor;
247
+ previewDisabled: BooleanConstructor;
248
+ loadDescription: StringConstructor;
249
+ onError: import("vue").PropType<(e: Event) => void>;
250
+ onLoad: import("vue").PropType<(e: Event) => void>;
251
+ }>> & Readonly<{}>, {
252
+ objectFit: "fill" | "none" | "contain" | "cover" | "scale-down";
253
+ lazy: boolean;
254
+ showToolbar: boolean;
255
+ showToolbarTooltip: boolean;
256
+ previewDisabled: boolean;
257
+ }, import("vue").SlotsType<import("naive-ui").ImageSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1 +1,3 @@
1
+ export * from './avatar';
1
2
  export * from './connect';
3
+ export * from './placeholder';
@@ -0,0 +1,22 @@
1
+ export declare const DuxPlaceholder: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ width: {
3
+ type: (StringConstructor | NumberConstructor)[];
4
+ default: string;
5
+ };
6
+ height: {
7
+ type: (StringConstructor | NumberConstructor)[];
8
+ default: number;
9
+ };
10
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
11
+ width: {
12
+ type: (StringConstructor | NumberConstructor)[];
13
+ default: string;
14
+ };
15
+ height: {
16
+ type: (StringConstructor | NumberConstructor)[];
17
+ default: number;
18
+ };
19
+ }>> & Readonly<{}>, {
20
+ height: string | number;
21
+ width: string | number;
22
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -12,6 +12,7 @@ export interface UseDialogProps {
12
12
  content?: string;
13
13
  type?: 'confirm' | 'error' | 'success' | 'prompt' | 'node';
14
14
  formSchema?: JsonSchemaData;
15
+ defaultValue?: Record<string, any>;
15
16
  render?: () => VNode;
16
17
  }
17
18
  export declare function useDialog(): UseDialogResult;
@@ -0,0 +1,31 @@
1
+ export interface IDownloadProgress {
2
+ loaded: number;
3
+ total?: number;
4
+ percent?: number;
5
+ speed?: number;
6
+ speedText?: string;
7
+ remainingTime?: number;
8
+ }
9
+ export declare function useDownload(): {
10
+ file: (path: string, params?: Record<string, any>, contentType?: string, filename?: string, onProgress?: (progress: IDownloadProgress) => void) => void;
11
+ url: (urlString: string, filename?: string) => void;
12
+ blob: (blobData: Blob, filename?: string) => void;
13
+ base64: (base64String: string, filename: string) => void;
14
+ loading: import("vue").Ref<boolean, boolean>;
15
+ progress: import("vue").Ref<{
16
+ loaded: number;
17
+ total?: number | undefined;
18
+ percent?: number | undefined;
19
+ speed?: number | undefined;
20
+ speedText?: string | undefined;
21
+ remainingTime?: number | undefined;
22
+ }, IDownloadProgress | {
23
+ loaded: number;
24
+ total?: number | undefined;
25
+ percent?: number | undefined;
26
+ speed?: number | undefined;
27
+ speedText?: string | undefined;
28
+ remainingTime?: number | undefined;
29
+ }>;
30
+ image: (urlString: string) => void;
31
+ };
@@ -1,6 +1,20 @@
1
1
  import type { EChartsOption } from 'echarts';
2
2
  export interface EchartCommonProps {
3
3
  min?: boolean;
4
+ /** 显示 X 轴标签 */
5
+ showXAxisLabel?: boolean;
6
+ /** 显示 Y 轴标签 */
7
+ showYAxisLabel?: boolean;
8
+ /** 显示 X 轴线 */
9
+ showXAxisLine?: boolean;
10
+ /** 显示 Y 轴线 */
11
+ showYAxisLine?: boolean;
12
+ /** 显示网格线 */
13
+ showGridLine?: boolean;
14
+ /** 显示分割区域 */
15
+ showSplitArea?: boolean;
16
+ /** 显示图例 */
17
+ showLegend?: boolean;
4
18
  }
5
19
  /**
6
20
  * 通用图表配置
@@ -0,0 +1,3 @@
1
+ export declare function useImagePreview(): {
2
+ show: (list: string[], previewIndex?: number) => void;
3
+ };
@@ -1,7 +1,10 @@
1
1
  export * from './action';
2
2
  export * from './dialog';
3
+ export * from './download';
3
4
  export * from './drawer';
4
5
  export * from './echart';
6
+ export * from './image';
7
+ export * from './level';
5
8
  export * from './modal';
6
9
  export * from './table';
7
10
  export * from './table/index';
@@ -0,0 +1,19 @@
1
+ import type { MaybeRef, Ref } from 'vue';
2
+ interface UseLevelProps {
3
+ value?: MaybeRef<string[]>;
4
+ path?: MaybeRef<string>;
5
+ maxLevel?: MaybeRef<number>;
6
+ nameField?: string;
7
+ labelField?: string;
8
+ valueField?: string;
9
+ }
10
+ export declare function useLevel(props: UseLevelProps): {
11
+ regions: import("vue").ComputedRef<{
12
+ label: string;
13
+ value: string;
14
+ }[][]>;
15
+ onChange: (selectedValue: string, index: number) => void;
16
+ isLoading: import("vue").ComputedRef<boolean>;
17
+ value: Ref<string[], string[]>;
18
+ };
19
+ export {};
@@ -1,6 +1,18 @@
1
1
  import type { App } from 'vue';
2
2
  import 'echarts';
3
+ import 'vue-cropper/dist/index.css';
4
+ import 'aieditor/dist/style.css';
3
5
  import './theme/style.scss';
4
6
  export declare function createDuxPro(): {
5
7
  install(app: App): void;
6
8
  };
9
+ declare module '@duxweb/dvha-core' {
10
+ interface IManage {
11
+ apiPath?: {
12
+ upload?: string;
13
+ uploadManager?: string;
14
+ ai?: string;
15
+ [key: string]: any;
16
+ };
17
+ }
18
+ }
@@ -0,0 +1,8 @@
1
+ export * as audioSvg from './audio.svg';
2
+ export * as excelSvg from './excel.svg';
3
+ export * as fileSvg from './file.svg';
4
+ export * as folderSvg from './folder.svg';
5
+ export * as pdfSvg from './pdf.svg';
6
+ export * as pptSvg from './ppt.svg';
7
+ export * as videoSvg from './video.svg';
8
+ export * as wordSvg from './word.svg';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@duxweb/dvha-pro",
3
3
  "type": "module",
4
- "version": "0.0.7",
4
+ "version": "1.0.14",
5
5
  "author": "DuxWeb",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -33,10 +33,11 @@
33
33
  ],
34
34
  "dependencies": {
35
35
  "@ant-design/colors": "^7.2.1",
36
- "@duxweb/dvha-core": "^0.1.23",
37
- "@duxweb/dvha-naiveui": "^1.0.12",
36
+ "@duxweb/dvha-core": "^1.0.14",
37
+ "@duxweb/dvha-naiveui": "^1.0.14",
38
38
  "@iconify-json/tabler": "^1.2.18",
39
39
  "@overlastic/vue": "^0.8.1",
40
+ "@tanstack/vue-query": "^5.80.7",
40
41
  "@unocss/preset-icons": "^66.2.1",
41
42
  "@unocss/preset-typography": "^66.2.3",
42
43
  "@unocss/runtime": "^66.2.1",
@@ -44,13 +45,16 @@
44
45
  "@vee-validate/rules": "^4.15.1",
45
46
  "@vueuse/core": "^13.3.0",
46
47
  "@vueuse/integrations": "^13.3.0",
48
+ "aieditor": "^1.3.9",
47
49
  "clsx": "^2.1.1",
48
50
  "colorizr": "^3.0.8",
51
+ "dayjs": "^1.11.13",
49
52
  "echarts": "^5.6.0",
50
53
  "jinrishici": "^1.0.6",
51
54
  "jsep": "^1.4.0",
52
55
  "lodash-es": "^4.17.21",
53
56
  "mathjs": "^14.5.2",
57
+ "mime": "^4.0.7",
54
58
  "naive-ui": "^2.42.0",
55
59
  "pinia": "^3.0.3",
56
60
  "pinia-plugin-persistedstate": "^4.3.0",
@@ -60,6 +64,8 @@
60
64
  "vee-validate": "^4.15.1",
61
65
  "vue": "^3.5.0",
62
66
  "vue-command-palette": "^0.2.3",
67
+ "vue-cropper": "^1.1.4",
68
+ "vue-draggable-plus": "^0.6.0",
63
69
  "vue-echarts": "^7.0.3",
64
70
  "vue-router": "^4.5.1"
65
71
  },
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function e(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}exports.getDefaultExportFromCjs=e;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./_commonjsHelpers.cjs"),r=require("../node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/browser.cjs");var t=r.__require();const o=e.getDefaultExportFromCjs(t);exports.default=o;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={exports:{}};exports.__module=e;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../node_modules/.pnpm/@jridgewell_sourcemap-codec@1.5.0/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.cjs");var r=e.__require();exports.sourcemapCodec_umdExports=r;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={exports:{}};exports.__module=e;