@duxweb/dvha-pro 1.0.23 → 1.0.25

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 (229) 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 -1
  4. package/dist/cjs/components/carousel/carousel.cjs +1 -1
  5. package/dist/cjs/components/chart/echart.cjs +1 -1
  6. package/dist/cjs/components/crop/imageCrop.cjs +1 -1
  7. package/dist/cjs/components/crop/imageCropModal.cjs +1 -1
  8. package/dist/cjs/components/dashboard/hello.cjs +1 -1
  9. package/dist/cjs/components/dashboard/helloBig.cjs +1 -1
  10. package/dist/cjs/components/dashboard/quick.cjs +1 -1
  11. package/dist/cjs/components/data/dynamicData.cjs +1 -1
  12. package/dist/cjs/components/data/dynamicSelect.cjs +1 -1
  13. package/dist/cjs/components/data/selectModal.cjs +1 -1
  14. package/dist/cjs/components/dialog/dialog.cjs +1 -1
  15. package/dist/cjs/components/drawer/drawer.cjs +1 -1
  16. package/dist/cjs/components/drawer/drawerPage.cjs +1 -1
  17. package/dist/cjs/components/editor/aiEditor.cjs +1 -1
  18. package/dist/cjs/components/form/drawerForm.cjs +1 -1
  19. package/dist/cjs/components/form/formItem.cjs +1 -1
  20. package/dist/cjs/components/form/formLayout.cjs +1 -1
  21. package/dist/cjs/components/form/modalForm.cjs +1 -1
  22. package/dist/cjs/components/form/pageForm.cjs +1 -1
  23. package/dist/cjs/components/form/settingForm.cjs +1 -1
  24. package/dist/cjs/components/icon/icon.cjs +1 -1
  25. package/dist/cjs/components/icon/iconPicker.cjs +1 -1
  26. package/dist/cjs/components/image/components/CanvasRuler.cjs +1 -0
  27. package/dist/cjs/components/image/elements/circle.cjs +1 -0
  28. package/dist/cjs/components/image/elements/image.cjs +1 -0
  29. package/dist/cjs/components/image/elements/index.cjs +1 -0
  30. package/dist/cjs/components/image/elements/rect.cjs +1 -0
  31. package/dist/cjs/components/image/elements/text.cjs +1 -0
  32. package/dist/cjs/components/image/hooks/usePosterEditor.cjs +1 -0
  33. package/dist/cjs/components/image/pages/LeftToolbar.cjs +1 -0
  34. package/dist/cjs/components/image/pages/Panel.cjs +1 -0
  35. package/dist/cjs/components/image/pages/PanelItem.cjs +1 -0
  36. package/dist/cjs/components/image/pages/RightPanel.cjs +1 -0
  37. package/dist/cjs/components/image/posterEditor.cjs +1 -0
  38. package/dist/cjs/components/layout/filter.cjs +1 -1
  39. package/dist/cjs/components/layout/filterLayout.cjs +1 -1
  40. package/dist/cjs/components/layout/list.cjs +1 -1
  41. package/dist/cjs/components/layout/table.cjs +1 -1
  42. package/dist/cjs/components/layout/tools.cjs +1 -1
  43. package/dist/cjs/components/level/level.cjs +1 -1
  44. package/dist/cjs/components/list/card.cjs +1 -1
  45. package/dist/cjs/components/list/list.cjs +1 -1
  46. package/dist/cjs/components/media/media.cjs +1 -1
  47. package/dist/cjs/components/modal/modal.cjs +1 -1
  48. package/dist/cjs/components/modal/modalPage.cjs +1 -1
  49. package/dist/cjs/components/modal/modalTab.cjs +1 -1
  50. package/dist/cjs/components/panel/alert.cjs +1 -1
  51. package/dist/cjs/components/panel/collapse.cjs +1 -1
  52. package/dist/cjs/components/panel/setting.cjs +1 -1
  53. package/dist/cjs/components/select/cardSelect.cjs +1 -1
  54. package/dist/cjs/components/status/listEmpty.cjs +1 -1
  55. package/dist/cjs/components/table/table.cjs +1 -1
  56. package/dist/cjs/components/table/tablePage.cjs +1 -1
  57. package/dist/cjs/components/tree/treeFilter.cjs +1 -1
  58. package/dist/cjs/components/upload/config.cjs +1 -1
  59. package/dist/cjs/components/upload/file.cjs +1 -1
  60. package/dist/cjs/components/upload/image.cjs +1 -1
  61. package/dist/cjs/components/upload/manage/item.cjs +1 -1
  62. package/dist/cjs/components/upload/manager.cjs +1 -1
  63. package/dist/cjs/components/widget/connect.cjs +1 -1
  64. package/dist/cjs/dvha-pro.css +1 -1
  65. package/dist/cjs/hooks/action.cjs +1 -1
  66. package/dist/cjs/hooks/dialog.cjs +1 -1
  67. package/dist/cjs/hooks/download.cjs +1 -1
  68. package/dist/cjs/hooks/drawer.cjs +1 -1
  69. package/dist/cjs/hooks/echart.cjs +1 -1
  70. package/dist/cjs/hooks/image.cjs +1 -1
  71. package/dist/cjs/hooks/level.cjs +1 -1
  72. package/dist/cjs/hooks/modal.cjs +1 -1
  73. package/dist/cjs/hooks/table/color.cjs +1 -0
  74. package/dist/cjs/hooks/table/column.cjs +1 -1
  75. package/dist/cjs/hooks/table/image.cjs +1 -1
  76. package/dist/cjs/hooks/table/input.cjs +1 -1
  77. package/dist/cjs/hooks/table/map.cjs +1 -1
  78. package/dist/cjs/hooks/table/media.cjs +1 -1
  79. package/dist/cjs/hooks/table/status.cjs +1 -1
  80. package/dist/cjs/hooks/table/switch.cjs +1 -1
  81. package/dist/cjs/hooks/table.cjs +1 -1
  82. package/dist/cjs/index.cjs +1 -1
  83. package/dist/cjs/pages/authLayout.cjs +1 -1
  84. package/dist/cjs/pages/layout/global.cjs +1 -1
  85. package/dist/cjs/pages/layout/page.cjs +1 -1
  86. package/dist/cjs/pages/layout/tab.cjs +1 -1
  87. package/dist/cjs/pages/layout.cjs +1 -1
  88. package/dist/cjs/pages/login.cjs +1 -1
  89. package/dist/cjs/pages/menu/avatar.cjs +1 -1
  90. package/dist/cjs/pages/menu/button.cjs +1 -1
  91. package/dist/cjs/pages/menu/cmd.cjs +1 -1
  92. package/dist/cjs/pages/menu/main.cjs +1 -1
  93. package/dist/cjs/pages/menu/mobile.cjs +1 -1
  94. package/dist/cjs/pages/page.cjs +1 -1
  95. package/dist/cjs/pages/page404.cjs +1 -1
  96. package/dist/cjs/pages/pageStatus.cjs +1 -1
  97. package/dist/cjs/stores/ui.cjs +1 -1
  98. package/dist/cjs/theme/uno.css.cjs +26 -1
  99. package/dist/esm/component.js +49 -47
  100. package/dist/esm/components/card/card.js +24 -27
  101. package/dist/esm/components/card/store.js +33 -39
  102. package/dist/esm/components/carousel/carousel.js +16 -19
  103. package/dist/esm/components/chart/echart.js +15 -13
  104. package/dist/esm/components/crop/imageCrop.js +45 -46
  105. package/dist/esm/components/crop/imageCropModal.js +36 -37
  106. package/dist/esm/components/dashboard/hello.js +27 -30
  107. package/dist/esm/components/dashboard/helloBig.js +328 -331
  108. package/dist/esm/components/dashboard/quick.js +30 -33
  109. package/dist/esm/components/data/dynamicData.js +86 -98
  110. package/dist/esm/components/data/dynamicSelect.js +42 -42
  111. package/dist/esm/components/data/selectModal.js +58 -60
  112. package/dist/esm/components/dialog/dialog.js +54 -55
  113. package/dist/esm/components/drawer/drawer.js +23 -23
  114. package/dist/esm/components/drawer/drawerPage.js +39 -49
  115. package/dist/esm/components/editor/aiEditor.js +64 -70
  116. package/dist/esm/components/form/drawerForm.js +61 -59
  117. package/dist/esm/components/form/formItem.js +45 -51
  118. package/dist/esm/components/form/formLayout.js +7 -10
  119. package/dist/esm/components/form/modalForm.js +63 -61
  120. package/dist/esm/components/form/pageForm.js +56 -57
  121. package/dist/esm/components/form/settingForm.js +43 -44
  122. package/dist/esm/components/icon/icon.js +15 -13
  123. package/dist/esm/components/icon/iconPicker.js +54 -58
  124. package/dist/esm/components/image/components/CanvasRuler.js +113 -0
  125. package/dist/esm/components/image/elements/circle.js +127 -0
  126. package/dist/esm/components/image/elements/image.js +131 -0
  127. package/dist/esm/components/image/elements/index.js +46 -0
  128. package/dist/esm/components/image/elements/rect.js +171 -0
  129. package/dist/esm/components/image/elements/text.js +206 -0
  130. package/dist/esm/components/image/hooks/usePosterEditor.js +434 -0
  131. package/dist/esm/components/image/pages/LeftToolbar.js +40 -0
  132. package/dist/esm/components/image/pages/Panel.js +31 -0
  133. package/dist/esm/components/image/pages/PanelItem.js +22 -0
  134. package/dist/esm/components/image/pages/RightPanel.js +421 -0
  135. package/dist/esm/components/image/posterEditor.js +227 -0
  136. package/dist/esm/components/layout/filter.js +13 -16
  137. package/dist/esm/components/layout/filterLayout.js +7 -10
  138. package/dist/esm/components/layout/list.js +312 -337
  139. package/dist/esm/components/layout/table.js +281 -294
  140. package/dist/esm/components/layout/tools.js +38 -41
  141. package/dist/esm/components/level/level.js +15 -13
  142. package/dist/esm/components/list/card.js +35 -38
  143. package/dist/esm/components/list/list.js +15 -18
  144. package/dist/esm/components/media/media.js +35 -36
  145. package/dist/esm/components/modal/modal.js +10 -10
  146. package/dist/esm/components/modal/modalPage.js +32 -36
  147. package/dist/esm/components/modal/modalTab.js +39 -45
  148. package/dist/esm/components/panel/alert.js +19 -22
  149. package/dist/esm/components/panel/collapse.js +33 -36
  150. package/dist/esm/components/panel/setting.js +25 -31
  151. package/dist/esm/components/select/cardSelect.js +27 -28
  152. package/dist/esm/components/status/listEmpty.js +13 -13
  153. package/dist/esm/components/table/table.js +15 -13
  154. package/dist/esm/components/table/tablePage.js +25 -25
  155. package/dist/esm/components/tree/treeFilter.js +137 -147
  156. package/dist/esm/components/upload/config.js +15 -27
  157. package/dist/esm/components/upload/file.js +115 -109
  158. package/dist/esm/components/upload/image.js +135 -130
  159. package/dist/esm/components/upload/manage/item.js +59 -60
  160. package/dist/esm/components/upload/manager.js +203 -218
  161. package/dist/esm/components/widget/connect.js +103 -106
  162. package/dist/esm/dvha-pro.css +1 -1
  163. package/dist/esm/hooks/action.js +115 -131
  164. package/dist/esm/hooks/dialog.js +15 -13
  165. package/dist/esm/hooks/download.js +55 -56
  166. package/dist/esm/hooks/drawer.js +15 -13
  167. package/dist/esm/hooks/echart.js +156 -179
  168. package/dist/esm/hooks/image.js +14 -15
  169. package/dist/esm/hooks/level.js +7 -7
  170. package/dist/esm/hooks/modal.js +15 -13
  171. package/dist/esm/hooks/table/color.js +19 -0
  172. package/dist/esm/hooks/table/column.js +25 -23
  173. package/dist/esm/hooks/table/image.js +17 -15
  174. package/dist/esm/hooks/table/input.js +28 -28
  175. package/dist/esm/hooks/table/map.js +7 -7
  176. package/dist/esm/hooks/table/media.js +15 -13
  177. package/dist/esm/hooks/table/status.js +8 -9
  178. package/dist/esm/hooks/table/switch.js +19 -19
  179. package/dist/esm/hooks/table.js +27 -31
  180. package/dist/esm/index.js +213 -200
  181. package/dist/esm/pages/authLayout.js +15 -13
  182. package/dist/esm/pages/layout/global.js +12 -15
  183. package/dist/esm/pages/layout/page.js +15 -13
  184. package/dist/esm/pages/layout/tab.js +58 -71
  185. package/dist/esm/pages/layout.js +7 -6
  186. package/dist/esm/pages/login.js +95 -98
  187. package/dist/esm/pages/menu/avatar.js +151 -162
  188. package/dist/esm/pages/menu/button.js +29 -31
  189. package/dist/esm/pages/menu/cmd.js +83 -87
  190. package/dist/esm/pages/menu/main.js +25 -23
  191. package/dist/esm/pages/menu/mobile.js +15 -13
  192. package/dist/esm/pages/page.js +21 -25
  193. package/dist/esm/pages/page404.js +13 -11
  194. package/dist/esm/pages/pageStatus.js +33 -34
  195. package/dist/esm/stores/ui.js +15 -15
  196. package/dist/esm/theme/uno.css.js +26 -1
  197. package/dist/types/components/form/drawerForm.d.ts +6 -0
  198. package/dist/types/components/form/modalForm.d.ts +6 -0
  199. package/dist/types/components/form/pageForm.d.ts +6 -0
  200. package/dist/types/components/form/settingForm.d.ts +6 -0
  201. package/dist/types/components/image/components/CanvasRuler.d.ts +43 -0
  202. package/dist/types/components/image/components/index.d.ts +1 -0
  203. package/dist/types/components/image/elements/circle.d.ts +3 -0
  204. package/dist/types/components/image/elements/image.d.ts +3 -0
  205. package/dist/types/components/image/elements/index.d.ts +15 -0
  206. package/dist/types/components/image/elements/rect.d.ts +3 -0
  207. package/dist/types/components/image/elements/text.d.ts +3 -0
  208. package/dist/types/components/image/elements/types.d.ts +51 -0
  209. package/dist/types/components/image/hooks/index.d.ts +1 -0
  210. package/dist/types/components/image/hooks/usePosterEditor.d.ts +48 -0
  211. package/dist/types/components/image/index.d.ts +4 -0
  212. package/dist/types/components/image/pages/LeftToolbar.d.ts +33 -0
  213. package/dist/types/components/image/pages/Panel.d.ts +11 -0
  214. package/dist/types/components/image/pages/PanelItem.d.ts +11 -0
  215. package/dist/types/components/image/pages/RightPanel.d.ts +208 -0
  216. package/dist/types/components/image/pages/index.d.ts +4 -0
  217. package/dist/types/components/image/posterEditor.d.ts +61 -0
  218. package/dist/types/components/image/types/editor.d.ts +47 -0
  219. package/dist/types/components/index.d.ts +2 -2
  220. package/dist/types/components/layout/table.d.ts +9 -0
  221. package/dist/types/components/stats/number.d.ts +1 -1
  222. package/dist/types/components/table/tablePage.d.ts +9 -0
  223. package/dist/types/components/upload/file.d.ts +5 -3
  224. package/dist/types/hooks/table/color.d.ts +13 -0
  225. package/dist/types/hooks/table/column.d.ts +1 -0
  226. package/dist/types/hooks/table/index.d.ts +1 -0
  227. package/dist/types/index.d.ts +1 -0
  228. package/dist/types/pages/layout/global.d.ts +0 -1
  229. package/package.json +6 -3
package/dist/esm/index.js CHANGED
@@ -3,216 +3,229 @@ import { DuxCard as f } from "./components/card/card.js";
3
3
  import { DuxStatsStore as l, DuxStatsStoreItem as s } from "./components/card/store.js";
4
4
  import { DuxCarousel as n } from "./components/carousel/carousel.js";
5
5
  import { DuxChart as g } from "./components/chart/echart.js";
6
- import { DuxImageCrop as h } from "./components/crop/imageCrop.js";
7
- import { DuxImageCropModal as C } from "./components/crop/imageCropModal.js";
8
- import { DuxDashboardHello as T } from "./components/dashboard/hello.js";
9
- import { DuxDashboardHelloBig as M } from "./components/dashboard/helloBig.js";
10
- import { DuxDashboardQuick as y, DuxDashboardQuickItem as F } from "./components/dashboard/quick.js";
11
- import { DuxDynamicData as S } from "./components/data/dynamicData.js";
12
- import { DuxDynamicSelect as I } from "./components/data/dynamicSelect.js";
6
+ import { DuxCodeEditor as C } from "./components/code/code.js";
7
+ import { DuxImageCrop as P } from "./components/crop/imageCrop.js";
8
+ import { DuxImageCropModal as b } from "./components/crop/imageCropModal.js";
9
+ import { DuxDashboardHello as M } from "./components/dashboard/hello.js";
10
+ import { DuxDashboardHelloBig as w } from "./components/dashboard/helloBig.js";
11
+ import { DuxDashboardQuick as L, DuxDashboardQuickItem as S } from "./components/dashboard/quick.js";
12
+ import { DuxDynamicData as I } from "./components/data/dynamicData.js";
13
+ import { DuxDynamicSelect as B } from "./components/data/dynamicSelect.js";
13
14
  import "vue";
14
15
  import "@duxweb/dvha-core";
15
16
  import "naive-ui";
16
- import { useAction as B, useActionButton as R, useActionDropdown as U } from "./hooks/action.js";
17
- import { useDialog as H } from "./hooks/dialog.js";
18
- import { useDownload as Q } from "./hooks/download.js";
19
- import { useDrawer as z } from "./hooks/drawer.js";
20
- import { useEchartBar as W, useEchartCommon as j, useEchartFunnel as q, useEchartLine as G, useEchartMap as J, useEchartPie as K, useEchartRadar as X, useEchartRing as Y, useEchartRose as Z, useEchartTreeMap as _, useEchartType as $ } from "./hooks/echart.js";
21
- import { useImagePreview as or } from "./hooks/image.js";
22
- import { useLevel as tr } from "./hooks/level.js";
23
- import { useModal as ur } from "./hooks/modal.js";
24
- import { useTable as ar } from "./hooks/table.js";
25
- import { useTableColumn as fr } from "./hooks/table/column.js";
26
- import { useTableColumnImage as lr } from "./hooks/table/image.js";
27
- import { useTableColumnMap as ir } from "./hooks/table/map.js";
28
- import { useTableColumnMedia as dr } from "./hooks/table/media.js";
29
- import { useTableColumnStatus as cr } from "./hooks/table/status.js";
30
- import { useTableColumnSwitch as Pr } from "./hooks/table/switch.js";
31
- import { useUI as br } from "./hooks/ui.js";
32
- import { DuxModal as Er } from "./components/modal/modal.js";
33
- import { default as wr } from "./components/modal/modalPage.js";
34
- import { default as Fr } from "./components/modal/modalTab.js";
35
- import { default as Sr } from "./components/dialog/dialog.js";
36
- import { DuxDrawApps as Ir } from "./components/draw/drawApps.js";
37
- import { DuxDrawAuth as Br } from "./components/draw/drawAuth.js";
38
- import { DuxDrawEmpty as Ur } from "./components/draw/drawEmpty.js";
39
- import { DuxDrawEmptyForm as Hr } from "./components/draw/drawEmptyForm.js";
40
- import { DuxDrawError as Qr } from "./components/draw/drawError.js";
41
- import { default as zr } from "./components/drawer/drawer.js";
42
- import { DuxDrawerPage as Wr } from "./components/drawer/drawerPage.js";
43
- import { DuxAiEditor as qr } from "./components/editor/aiEditor.js";
44
- import { DuxDrawerForm as Jr } from "./components/form/drawerForm.js";
45
- import { DuxFormItem as Xr } from "./components/form/formItem.js";
46
- import { DuxFormLayout as Zr } from "./components/form/formLayout.js";
47
- import { DuxModalForm as $r } from "./components/form/modalForm.js";
48
- import { DuxPageForm as oo } from "./components/form/pageForm.js";
49
- import { DuxSettingForm as to } from "./components/form/settingForm.js";
50
- import { DuxIconPicker as uo } from "./components/icon/icon.js";
17
+ import { useAction as U, useActionButton as k, useActionDropdown as V } from "./hooks/action.js";
18
+ import { useDialog as N } from "./hooks/dialog.js";
19
+ import { useDownload as z } from "./hooks/download.js";
20
+ import { useDrawer as O } from "./hooks/drawer.js";
21
+ import { useEchartBar as j, useEchartCommon as q, useEchartFunnel as G, useEchartLine as J, useEchartMap as X, useEchartPie as Y, useEchartRadar as Z, useEchartRing as _, useEchartRose as $, useEchartTreeMap as oo, useEchartType as ro } from "./hooks/echart.js";
22
+ import { useImagePreview as to } from "./hooks/image.js";
23
+ import { useLevel as mo } from "./hooks/level.js";
24
+ import { useModal as ao } from "./hooks/modal.js";
25
+ import { useTable as fo } from "./hooks/table.js";
26
+ import { useTableColumnColor as lo } from "./hooks/table/color.js";
27
+ import { useTableColumn as io } from "./hooks/table/column.js";
28
+ import { useTableColumnImage as go } from "./hooks/table/image.js";
29
+ import { useTableColumnMap as Co } from "./hooks/table/map.js";
30
+ import { useTableColumnMedia as Po } from "./hooks/table/media.js";
31
+ import { useTableColumnStatus as bo } from "./hooks/table/status.js";
32
+ import { useTableColumnSwitch as Mo } from "./hooks/table/switch.js";
33
+ import { useUI as wo } from "./hooks/ui.js";
34
+ import { DuxModal as Lo } from "./components/modal/modal.js";
35
+ import { default as Ao } from "./components/modal/modalPage.js";
36
+ import { default as vo } from "./components/modal/modalTab.js";
37
+ import { default as Ro } from "./components/dialog/dialog.js";
38
+ import { DuxDrawApps as ko } from "./components/draw/drawApps.js";
39
+ import { DuxDrawAuth as Ho } from "./components/draw/drawAuth.js";
40
+ import { DuxDrawEmpty as Qo } from "./components/draw/drawEmpty.js";
41
+ import { DuxDrawEmptyForm as Ko } from "./components/draw/drawEmptyForm.js";
42
+ import { DuxDrawError as Wo } from "./components/draw/drawError.js";
43
+ import { default as qo } from "./components/drawer/drawer.js";
44
+ import { DuxDrawerPage as Jo } from "./components/drawer/drawerPage.js";
45
+ import { DuxAiEditor as Yo } from "./components/editor/aiEditor.js";
46
+ import { DuxDrawerForm as _o } from "./components/form/drawerForm.js";
47
+ import { DuxFormItem as or } from "./components/form/formItem.js";
48
+ import { DuxFormLayout as er } from "./components/form/formLayout.js";
49
+ import { DuxModalForm as xr } from "./components/form/modalForm.js";
50
+ import { DuxPageForm as ur } from "./components/form/pageForm.js";
51
+ import { DuxSettingForm as pr } from "./components/form/settingForm.js";
52
+ import { DuxIconPicker as Dr } from "./components/icon/icon.js";
51
53
  import "@iconify-json/tabler/icons.json";
52
54
  import "@vueuse/core";
53
- import { DuxTableFilter as ao } from "./components/layout/filter.js";
54
- import { DuxFilterLayout as fo } from "./components/layout/filterLayout.js";
55
- import { DuxListLayout as lo } from "./components/layout/list.js";
56
- import { DuxTableLayout as io } from "./components/layout/table.js";
57
- import { DuxTableTools as go } from "./components/layout/tools.js";
58
- import { DuxLevel as ho } from "./components/level/level.js";
59
- import { DuxCardPage as Co } from "./components/list/card.js";
60
- import { DuxListPage as To } from "./components/list/list.js";
61
- import { DuxMedia as Mo } from "./components/media/media.js";
62
- import { DuxPanelAlert as yo } from "./components/panel/alert.js";
63
- import { DuxPanelCard as Lo } from "./components/panel/setting.js";
64
- import { DuxCollapsePanel as Ao } from "./components/panel/collapse.js";
65
- import { DuxSelectCard as vo } from "./components/select/cardSelect.js";
66
- import { DuxStatsNumber as Ro } from "./components/stats/number.js";
67
- import { DuxStatsRealTime as ko } from "./components/stats/realTime.js";
68
- import { DuxBlockEmpty as No } from "./components/status/blockEmpty.js";
69
- import { DuxListEmpty as Vo } from "./components/status/listEmpty.js";
70
- import { DuxTable as Oo } from "./components/table/table.js";
71
- import { DuxTablePage as jo } from "./components/table/tablePage.js";
72
- import { DuxTreeFilter as Go } from "./components/tree/treeFilter.js";
73
- import { DuxFileUpload as Ko } from "./components/upload/file.js";
74
- import { DuxImageUpload as Yo } from "./components/upload/image.js";
75
- import { default as _o } from "./components/upload/manager.js";
76
- import { DuxAvatar as re } from "./components/widget/avatar.js";
77
- import { DuxWidgetConnect as ee } from "./components/widget/connect.js";
78
- import { DuxPlaceholder as xe } from "./components/widget/placeholder.js";
79
- import { DuxCodeEditor as me } from "./components/code/code.js";
80
- import { DuxAuthLayout as pe } from "./pages/authLayout.js";
81
- import { DuxLayout as De } from "./pages/layout.js";
82
- import { DuxLoginPage as se } from "./pages/login.js";
83
- import { default as ne } from "./pages/menu/avatar.js";
84
- import { default as ge } from "./pages/menu/button.js";
85
- import { DuxMenuCmd as he } from "./pages/menu/cmd.js";
86
- import { DuxMenuMain as Ce } from "./pages/menu/main.js";
87
- import { DuxMobileMenu as Te } from "./pages/menu/mobile.js";
88
- import { DuxPage as Me } from "./pages/page.js";
89
- import { DuxPage403 as ye } from "./pages/page403.js";
90
- import { DuxPage404 as Le } from "./pages/page404.js";
91
- import { DuxPage500 as Ae } from "./pages/page500.js";
92
- import { DuxPageEmpty as ve } from "./pages/pageEmpty.js";
93
- import { DuxPageLoading as Re } from "./pages/pageLoading.js";
94
- import { DuxPageStatus as ke } from "./pages/pageStatus.js";
95
- import { generateRainbowFromColor as Ne, getTheme as Qe } from "./config/echart.js";
96
- import { config as ze } from "./config/uno.js";
97
- import { initVeeValidate as We } from "./config/validate.js";
98
- import { default as qe } from "./langs/en-US.json.js";
99
- import { default as Je } from "./langs/zh-CN.json.js";
100
- import { createDuxPro as Xe } from "./main.js";
101
- import { useUIStore as Ze } from "./stores/ui.js";
102
- import { themeOverrides as $e } from "./theme/naiveTheme.js";
103
- import { presetTheme as ot } from "./theme/presetTheme.js";
55
+ import { elementConfigs as sr, elementRegistry as ir, getElementConfig as nr, getElementsByCategory as dr } from "./components/image/elements/index.js";
56
+ import { usePosterEditor as cr } from "./components/image/hooks/usePosterEditor.js";
57
+ import { DuxPosterEditor as hr } from "./components/image/posterEditor.js";
58
+ import { DuxTableFilter as Er } from "./components/layout/filter.js";
59
+ import { DuxFilterLayout as Tr } from "./components/layout/filterLayout.js";
60
+ import { DuxListLayout as yr } from "./components/layout/list.js";
61
+ import { DuxTableLayout as Fr } from "./components/layout/table.js";
62
+ import { DuxTableTools as Sr } from "./components/layout/tools.js";
63
+ import { DuxLevel as Ir } from "./components/level/level.js";
64
+ import { DuxCardPage as Br } from "./components/list/card.js";
65
+ import { DuxListPage as Ur } from "./components/list/list.js";
66
+ import { DuxMedia as Vr } from "./components/media/media.js";
67
+ import { DuxPanelAlert as Nr } from "./components/panel/alert.js";
68
+ import { DuxPanelCard as zr } from "./components/panel/setting.js";
69
+ import { DuxCollapsePanel as Or } from "./components/panel/collapse.js";
70
+ import { DuxSelectCard as jr } from "./components/select/cardSelect.js";
71
+ import { DuxStatsNumber as Gr } from "./components/stats/number.js";
72
+ import { DuxStatsRealTime as Xr } from "./components/stats/realTime.js";
73
+ import { DuxBlockEmpty as Zr } from "./components/status/blockEmpty.js";
74
+ import { DuxListEmpty as $r } from "./components/status/listEmpty.js";
75
+ import { DuxTable as re } from "./components/table/table.js";
76
+ import { DuxTablePage as te } from "./components/table/tablePage.js";
77
+ import { DuxTreeFilter as me } from "./components/tree/treeFilter.js";
78
+ import { DuxFileUpload as ae } from "./components/upload/file.js";
79
+ import { DuxImageUpload as fe } from "./components/upload/image.js";
80
+ import { default as le } from "./components/upload/manager.js";
81
+ import { DuxAvatar as ie } from "./components/widget/avatar.js";
82
+ import { DuxWidgetConnect as de } from "./components/widget/connect.js";
83
+ import { DuxPlaceholder as ce } from "./components/widget/placeholder.js";
84
+ import { DuxAuthLayout as he } from "./pages/authLayout.js";
85
+ import { DuxLayout as Ee } from "./pages/layout.js";
86
+ import { DuxLoginPage as Te } from "./pages/login.js";
87
+ import { default as ye } from "./pages/menu/avatar.js";
88
+ import { default as Fe } from "./pages/menu/button.js";
89
+ import { DuxMenuCmd as Se } from "./pages/menu/cmd.js";
90
+ import { DuxMenuMain as Ie } from "./pages/menu/main.js";
91
+ import { DuxMobileMenu as Be } from "./pages/menu/mobile.js";
92
+ import { DuxPage as Ue } from "./pages/page.js";
93
+ import { DuxPage403 as Ve } from "./pages/page403.js";
94
+ import { DuxPage404 as Ne } from "./pages/page404.js";
95
+ import { DuxPage500 as ze } from "./pages/page500.js";
96
+ import { DuxPageEmpty as Oe } from "./pages/pageEmpty.js";
97
+ import { DuxPageLoading as je } from "./pages/pageLoading.js";
98
+ import { DuxPageStatus as Ge } from "./pages/pageStatus.js";
99
+ import { generateRainbowFromColor as Xe, getTheme as Ye } from "./config/echart.js";
100
+ import { config as _e } from "./config/uno.js";
101
+ import { initVeeValidate as ot } from "./config/validate.js";
102
+ import { default as et } from "./langs/en-US.json.js";
103
+ import { default as xt } from "./langs/zh-CN.json.js";
104
+ import { createDuxPro as ut } from "./main.js";
105
+ import { useUIStore as pt } from "./stores/ui.js";
106
+ import { themeOverrides as Dt } from "./theme/naiveTheme.js";
107
+ import { presetTheme as st } from "./theme/presetTheme.js";
108
+ import { default as nt } from "vue-konva";
104
109
  export {
105
- qr as DuxAiEditor,
110
+ Yo as DuxAiEditor,
106
111
  a as DuxApp,
107
- pe as DuxAuthLayout,
108
- re as DuxAvatar,
109
- No as DuxBlockEmpty,
112
+ he as DuxAuthLayout,
113
+ ie as DuxAvatar,
114
+ Zr as DuxBlockEmpty,
110
115
  f as DuxCard,
111
- Co as DuxCardPage,
116
+ Br as DuxCardPage,
112
117
  n as DuxCarousel,
113
118
  g as DuxChart,
114
- me as DuxCodeEditor,
115
- Ao as DuxCollapsePanel,
116
- T as DuxDashboardHello,
117
- M as DuxDashboardHelloBig,
118
- y as DuxDashboardQuick,
119
- F as DuxDashboardQuickItem,
120
- Sr as DuxDialog,
121
- Ir as DuxDrawApps,
122
- Br as DuxDrawAuth,
123
- Ur as DuxDrawEmpty,
124
- Hr as DuxDrawEmptyForm,
125
- Qr as DuxDrawError,
126
- zr as DuxDrawer,
127
- Jr as DuxDrawerForm,
128
- Wr as DuxDrawerPage,
129
- S as DuxDynamicData,
130
- I as DuxDynamicSelect,
131
- _o as DuxFileManage,
132
- Ko as DuxFileUpload,
133
- fo as DuxFilterLayout,
134
- Xr as DuxFormItem,
135
- Zr as DuxFormLayout,
136
- uo as DuxIconPicker,
137
- h as DuxImageCrop,
138
- C as DuxImageCropModal,
139
- Yo as DuxImageUpload,
140
- De as DuxLayout,
141
- ho as DuxLevel,
142
- Vo as DuxListEmpty,
143
- lo as DuxListLayout,
144
- To as DuxListPage,
145
- se as DuxLoginPage,
146
- Mo as DuxMedia,
147
- ne as DuxMenuAvatar,
148
- ge as DuxMenuButton,
149
- he as DuxMenuCmd,
150
- Ce as DuxMenuMain,
151
- Te as DuxMobileMenu,
152
- Er as DuxModal,
153
- $r as DuxModalForm,
154
- wr as DuxModalPage,
155
- Fr as DuxModalTab,
156
- Me as DuxPage,
157
- ye as DuxPage403,
158
- Le as DuxPage404,
159
- Ae as DuxPage500,
160
- ve as DuxPageEmpty,
161
- oo as DuxPageForm,
162
- Re as DuxPageLoading,
163
- ke as DuxPageStatus,
164
- yo as DuxPanelAlert,
165
- Lo as DuxPanelCard,
166
- xe as DuxPlaceholder,
167
- vo as DuxSelectCard,
168
- to as DuxSettingForm,
169
- Ro as DuxStatsNumber,
170
- ko as DuxStatsRealTime,
119
+ C as DuxCodeEditor,
120
+ Or as DuxCollapsePanel,
121
+ M as DuxDashboardHello,
122
+ w as DuxDashboardHelloBig,
123
+ L as DuxDashboardQuick,
124
+ S as DuxDashboardQuickItem,
125
+ Ro as DuxDialog,
126
+ ko as DuxDrawApps,
127
+ Ho as DuxDrawAuth,
128
+ Qo as DuxDrawEmpty,
129
+ Ko as DuxDrawEmptyForm,
130
+ Wo as DuxDrawError,
131
+ qo as DuxDrawer,
132
+ _o as DuxDrawerForm,
133
+ Jo as DuxDrawerPage,
134
+ I as DuxDynamicData,
135
+ B as DuxDynamicSelect,
136
+ le as DuxFileManage,
137
+ ae as DuxFileUpload,
138
+ Tr as DuxFilterLayout,
139
+ or as DuxFormItem,
140
+ er as DuxFormLayout,
141
+ Dr as DuxIconPicker,
142
+ P as DuxImageCrop,
143
+ b as DuxImageCropModal,
144
+ fe as DuxImageUpload,
145
+ Ee as DuxLayout,
146
+ Ir as DuxLevel,
147
+ $r as DuxListEmpty,
148
+ yr as DuxListLayout,
149
+ Ur as DuxListPage,
150
+ Te as DuxLoginPage,
151
+ Vr as DuxMedia,
152
+ ye as DuxMenuAvatar,
153
+ Fe as DuxMenuButton,
154
+ Se as DuxMenuCmd,
155
+ Ie as DuxMenuMain,
156
+ Be as DuxMobileMenu,
157
+ Lo as DuxModal,
158
+ xr as DuxModalForm,
159
+ Ao as DuxModalPage,
160
+ vo as DuxModalTab,
161
+ Ue as DuxPage,
162
+ Ve as DuxPage403,
163
+ Ne as DuxPage404,
164
+ ze as DuxPage500,
165
+ Oe as DuxPageEmpty,
166
+ ur as DuxPageForm,
167
+ je as DuxPageLoading,
168
+ Ge as DuxPageStatus,
169
+ Nr as DuxPanelAlert,
170
+ zr as DuxPanelCard,
171
+ ce as DuxPlaceholder,
172
+ hr as DuxPosterEditor,
173
+ jr as DuxSelectCard,
174
+ pr as DuxSettingForm,
175
+ Gr as DuxStatsNumber,
176
+ Xr as DuxStatsRealTime,
171
177
  l as DuxStatsStore,
172
178
  s as DuxStatsStoreItem,
173
- Oo as DuxTable,
174
- ao as DuxTableFilter,
175
- io as DuxTableLayout,
176
- jo as DuxTablePage,
177
- go as DuxTableTools,
178
- Go as DuxTreeFilter,
179
- ee as DuxWidgetConnect,
180
- ze as config,
181
- Xe as createDuxPro,
182
- qe as enUS,
183
- Ne as generateRainbowFromColor,
184
- Qe as getTheme,
185
- We as initVeeValidate,
186
- ot as presetTheme,
187
- $e as themeOverrides,
188
- B as useAction,
189
- R as useActionButton,
190
- U as useActionDropdown,
191
- H as useDialog,
192
- Q as useDownload,
193
- z as useDrawer,
194
- W as useEchartBar,
195
- j as useEchartCommon,
196
- q as useEchartFunnel,
197
- G as useEchartLine,
198
- J as useEchartMap,
199
- K as useEchartPie,
200
- X as useEchartRadar,
201
- Y as useEchartRing,
202
- Z as useEchartRose,
203
- _ as useEchartTreeMap,
204
- $ as useEchartType,
205
- or as useImagePreview,
206
- tr as useLevel,
207
- ur as useModal,
208
- ar as useTable,
209
- fr as useTableColumn,
210
- lr as useTableColumnImage,
211
- ir as useTableColumnMap,
212
- dr as useTableColumnMedia,
213
- cr as useTableColumnStatus,
214
- Pr as useTableColumnSwitch,
215
- br as useUI,
216
- Ze as useUIStore,
217
- Je as zhCN
179
+ re as DuxTable,
180
+ Er as DuxTableFilter,
181
+ Fr as DuxTableLayout,
182
+ te as DuxTablePage,
183
+ Sr as DuxTableTools,
184
+ me as DuxTreeFilter,
185
+ de as DuxWidgetConnect,
186
+ nt as VueKonva,
187
+ _e as config,
188
+ ut as createDuxPro,
189
+ sr as elementConfigs,
190
+ ir as elementRegistry,
191
+ et as enUS,
192
+ Xe as generateRainbowFromColor,
193
+ nr as getElementConfig,
194
+ dr as getElementsByCategory,
195
+ Ye as getTheme,
196
+ ot as initVeeValidate,
197
+ st as presetTheme,
198
+ Dt as themeOverrides,
199
+ U as useAction,
200
+ k as useActionButton,
201
+ V as useActionDropdown,
202
+ N as useDialog,
203
+ z as useDownload,
204
+ O as useDrawer,
205
+ j as useEchartBar,
206
+ q as useEchartCommon,
207
+ G as useEchartFunnel,
208
+ J as useEchartLine,
209
+ X as useEchartMap,
210
+ Y as useEchartPie,
211
+ Z as useEchartRadar,
212
+ _ as useEchartRing,
213
+ $ as useEchartRose,
214
+ oo as useEchartTreeMap,
215
+ ro as useEchartType,
216
+ to as useImagePreview,
217
+ mo as useLevel,
218
+ ao as useModal,
219
+ cr as usePosterEditor,
220
+ fo as useTable,
221
+ io as useTableColumn,
222
+ lo as useTableColumnColor,
223
+ go as useTableColumnImage,
224
+ Co as useTableColumnMap,
225
+ Po as useTableColumnMedia,
226
+ bo as useTableColumnStatus,
227
+ Mo as useTableColumnSwitch,
228
+ wo as useUI,
229
+ pt as useUIStore,
230
+ xt as zhCN
218
231
  };
@@ -6,6 +6,17 @@ import "vue-router";
6
6
  import "clsx";
7
7
  import "vue-echarts";
8
8
  import "@vueuse/core";
9
+ import "vue3-ace-editor";
10
+ import "ace-builds/src-noconflict/mode-vue";
11
+ import "ace-builds/src-noconflict/mode-javascript";
12
+ import "ace-builds/src-noconflict/mode-html";
13
+ import "ace-builds/src-noconflict/mode-json";
14
+ import "ace-builds/src-noconflict/mode-json5";
15
+ import "ace-builds/src-noconflict/theme-tomorrow_night";
16
+ import "ace-builds/src-noconflict/theme-tomorrow";
17
+ import "ace-builds/src-noconflict/ext-searchbox";
18
+ import "ace-builds/src-noconflict/ext-language_tools";
19
+ import "ace-builds/src-noconflict/mode-snippets";
9
20
  import "vue-cropper";
10
21
  import "jinrishici";
11
22
  import "lodash-es";
@@ -19,23 +30,14 @@ import { DuxMenuMain as e } from "./menu/main.js";
19
30
  import { DuxMobileMenu as u } from "./menu/mobile.js";
20
31
  import "./page404.js";
21
32
  import "@iconify-json/tabler/icons.json";
33
+ import "../components/image/elements/index.js";
34
+ import "fabric";
22
35
  import "mime";
23
- import "vue3-ace-editor";
24
- import "ace-builds/src-noconflict/mode-vue";
25
- import "ace-builds/src-noconflict/mode-javascript";
26
- import "ace-builds/src-noconflict/mode-html";
27
- import "ace-builds/src-noconflict/mode-json";
28
- import "ace-builds/src-noconflict/mode-json5";
29
- import "ace-builds/src-noconflict/theme-tomorrow_night";
30
- import "ace-builds/src-noconflict/theme-tomorrow";
31
- import "ace-builds/src-noconflict/ext-searchbox";
32
- import "ace-builds/src-noconflict/ext-language_tools";
33
- import "ace-builds/src-noconflict/mode-snippets";
34
36
  import "dayjs";
35
37
  import "@tanstack/vue-query";
36
38
  import "@duxweb/dvha-naiveui";
37
39
  import { useUI as n } from "../hooks/ui.js";
38
- const T = /* @__PURE__ */ t({
40
+ const X = /* @__PURE__ */ t({
39
41
  name: "DuxAuthLayout",
40
42
  setup() {
41
43
  const {
@@ -53,5 +55,5 @@ const T = /* @__PURE__ */ t({
53
55
  }
54
56
  });
55
57
  export {
56
- T as DuxAuthLayout
58
+ X as DuxAuthLayout
57
59
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as C, inject as T, onBeforeMount as L, computed as i, watch as n, onMounted as y, createVNode as o } from "vue";
1
+ import { defineComponent as C, inject as T, onBeforeMount as L, computed as a, watch as i, onMounted as y, createVNode as o } from "vue";
2
2
  import { useTheme as P, useI18n as b } from "@duxweb/dvha-core";
3
3
  import { setLocale as k } from "@vee-validate/i18n";
4
4
  import { hex2hsl as x } from "colorizr";
@@ -15,31 +15,31 @@ import "vee-validate";
15
15
  const ae = /* @__PURE__ */ C({
16
16
  name: "DuxGlobalLayout",
17
17
  setup(_, {
18
- slots: r
18
+ slots: n
19
19
  }) {
20
20
  const {
21
21
  isDark: t,
22
22
  cssInit: l,
23
23
  getSceneColor: m
24
- } = P(), u = T("pageLoading"), d = M(), {
25
- lightTheme: c,
26
- darkTheme: s
24
+ } = P(), u = T("pageLoading"), s = M(), {
25
+ lightTheme: d,
26
+ darkTheme: c
27
27
  } = Z();
28
28
  L(() => {
29
29
  l();
30
30
  });
31
31
  const {
32
- getLocale: a
33
- } = b(), h = i(() => a() === "zh-CN" ? O : w), f = i(() => a() === "zh-CN" ? z : B);
34
- return n(a, (e) => {
32
+ getLocale: r
33
+ } = b(), h = a(() => r() === "zh-CN" ? O : w), f = a(() => r() === "zh-CN" ? z : B);
34
+ return i(r, (e) => {
35
35
  k(e);
36
36
  }, {
37
37
  immediate: !0
38
38
  }), y(async () => {
39
39
  setTimeout(() => {
40
- d.finish(), u.value = !1;
40
+ s.finish(), u.value = !1;
41
41
  }, 500);
42
- }), n(t, (e) => {
42
+ }), i(t, (e) => {
43
43
  const p = m("primary"), g = x(p), v = R(g, 10), N = V(v, e);
44
44
  D("default", N);
45
45
  }, {
@@ -48,16 +48,13 @@ const ae = /* @__PURE__ */ C({
48
48
  locale: h.value,
49
49
  dateLocale: f.value,
50
50
  theme: t.value ? G : I,
51
- themeOverrides: t.value ? s.value : c.value
51
+ themeOverrides: t.value ? c.value : d.value
52
52
  }, {
53
53
  default: () => [o(U, null, {
54
54
  default: () => [o(j, null, {
55
55
  default: () => [o(E, null, {
56
56
  default: () => [o(F, null, {
57
- default: () => {
58
- var e;
59
- return [(e = r.default) == null ? void 0 : e.call(r)];
60
- }
57
+ default: () => [n.default?.()]
61
58
  })]
62
59
  })]
63
60
  })]
@@ -6,6 +6,17 @@ import "vue-router";
6
6
  import "@overlastic/vue";
7
7
  import "clsx";
8
8
  import "vue-echarts";
9
+ import "vue3-ace-editor";
10
+ import "ace-builds/src-noconflict/mode-vue";
11
+ import "ace-builds/src-noconflict/mode-javascript";
12
+ import "ace-builds/src-noconflict/mode-html";
13
+ import "ace-builds/src-noconflict/mode-json";
14
+ import "ace-builds/src-noconflict/mode-json5";
15
+ import "ace-builds/src-noconflict/theme-tomorrow_night";
16
+ import "ace-builds/src-noconflict/theme-tomorrow";
17
+ import "ace-builds/src-noconflict/ext-searchbox";
18
+ import "ace-builds/src-noconflict/ext-language_tools";
19
+ import "ace-builds/src-noconflict/mode-snippets";
9
20
  import "vue-cropper";
10
21
  import "jinrishici";
11
22
  import "lodash-es";
@@ -27,22 +38,13 @@ import "@duxweb/dvha-naiveui";
27
38
  import { DuxPageTab as g } from "./tab.js";
28
39
  import "../page404.js";
29
40
  import "@iconify-json/tabler/icons.json";
41
+ import "../../components/image/elements/index.js";
42
+ import "fabric";
30
43
  import "mime";
31
- import "vue3-ace-editor";
32
- import "ace-builds/src-noconflict/mode-vue";
33
- import "ace-builds/src-noconflict/mode-javascript";
34
- import "ace-builds/src-noconflict/mode-html";
35
- import "ace-builds/src-noconflict/mode-json";
36
- import "ace-builds/src-noconflict/mode-json5";
37
- import "ace-builds/src-noconflict/theme-tomorrow_night";
38
- import "ace-builds/src-noconflict/theme-tomorrow";
39
- import "ace-builds/src-noconflict/ext-searchbox";
40
- import "ace-builds/src-noconflict/ext-language_tools";
41
- import "ace-builds/src-noconflict/mode-snippets";
42
44
  import "dayjs";
43
45
  import "@tanstack/vue-query";
44
46
  import { useUI as v } from "../../hooks/ui.js";
45
- const nt = /* @__PURE__ */ p({
47
+ const ut = /* @__PURE__ */ p({
46
48
  name: "DuxLayoutPage",
47
49
  props: {},
48
50
  setup() {
@@ -88,5 +90,5 @@ const nt = /* @__PURE__ */ p({
88
90
  }
89
91
  });
90
92
  export {
91
- nt as DuxLayoutPage
93
+ ut as DuxLayoutPage
92
94
  };