@duxweb/dvha-pro 1.0.31 → 1.0.33

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 (141) hide show
  1. package/dist/cjs/component.cjs +1 -1
  2. package/dist/cjs/components/chart/echart.cjs +1 -1
  3. package/dist/cjs/components/crop/imageCrop.cjs +1 -1
  4. package/dist/cjs/components/data/dynamicSelect.cjs +1 -1
  5. package/dist/cjs/components/data/selectModal.cjs +1 -1
  6. package/dist/cjs/components/designEditor/components/grid.cjs +1 -1
  7. package/dist/cjs/components/designEditor/editor/setting.cjs +1 -1
  8. package/dist/cjs/components/form/drawerForm.cjs +1 -1
  9. package/dist/cjs/components/form/modalForm.cjs +1 -1
  10. package/dist/cjs/components/form/pageForm.cjs +1 -1
  11. package/dist/cjs/components/form/pageTabForm.cjs +1 -0
  12. package/dist/cjs/components/form/settingForm.cjs +1 -1
  13. package/dist/cjs/components/formEditor/base/base.cjs +1 -1
  14. package/dist/cjs/components/formEditor/base/setting.cjs +1 -1
  15. package/dist/cjs/components/formEditor/components/cascader.cjs +1 -1
  16. package/dist/cjs/components/formEditor/components/cascaderAsync.cjs +1 -1
  17. package/dist/cjs/components/formEditor/components/checkbox.cjs +1 -1
  18. package/dist/cjs/components/formEditor/components/color.cjs +1 -1
  19. package/dist/cjs/components/formEditor/components/date.cjs +1 -1
  20. package/dist/cjs/components/formEditor/components/dynamicInput.cjs +1 -1
  21. package/dist/cjs/components/formEditor/components/dynamicTags.cjs +1 -1
  22. package/dist/cjs/components/formEditor/components/editor.cjs +1 -1
  23. package/dist/cjs/components/formEditor/components/input.cjs +1 -1
  24. package/dist/cjs/components/formEditor/components/inputNumber.cjs +1 -1
  25. package/dist/cjs/components/formEditor/components/mentionAsync.cjs +1 -1
  26. package/dist/cjs/components/formEditor/components/radio.cjs +1 -1
  27. package/dist/cjs/components/formEditor/components/region.cjs +1 -1
  28. package/dist/cjs/components/formEditor/components/select.cjs +1 -1
  29. package/dist/cjs/components/formEditor/components/selectAsync.cjs +1 -1
  30. package/dist/cjs/components/formEditor/components/sider.cjs +1 -1
  31. package/dist/cjs/components/formEditor/components/switch.cjs +1 -1
  32. package/dist/cjs/components/formEditor/components/time.cjs +1 -1
  33. package/dist/cjs/components/formEditor/components/transferAsync.cjs +1 -1
  34. package/dist/cjs/components/formEditor/components/treeSelect.cjs +1 -1
  35. package/dist/cjs/components/formEditor/components/treeSelectAsync.cjs +1 -1
  36. package/dist/cjs/components/formEditor/editor.cjs +1 -1
  37. package/dist/cjs/components/formEditor/renderer.cjs +1 -1
  38. package/dist/cjs/components/icon/icon.cjs +1 -1
  39. package/dist/cjs/components/layout/list.cjs +1 -1
  40. package/dist/cjs/components/layout/table.cjs +1 -1
  41. package/dist/cjs/components/level/level.cjs +1 -1
  42. package/dist/cjs/components/posterEditor/pages/RightPanel.cjs +1 -1
  43. package/dist/cjs/components/posterEditor/posterEditor.cjs +1 -1
  44. package/dist/cjs/components/table/table.cjs +1 -1
  45. package/dist/cjs/components/upload/file.cjs +1 -1
  46. package/dist/cjs/components/upload/image.cjs +1 -1
  47. package/dist/cjs/components/upload/manage/item.cjs +1 -1
  48. package/dist/cjs/components/upload/manager.cjs +1 -1
  49. package/dist/cjs/config/echart.cjs +1 -1
  50. package/dist/cjs/dvha-pro.css +1 -1
  51. package/dist/cjs/hooks/dialog.cjs +1 -1
  52. package/dist/cjs/hooks/drawer.cjs +1 -1
  53. package/dist/cjs/hooks/modal.cjs +1 -1
  54. package/dist/cjs/hooks/table/image.cjs +1 -1
  55. package/dist/cjs/hooks/table/media.cjs +1 -1
  56. package/dist/cjs/index.cjs +1 -1
  57. package/dist/cjs/pages/layout/global.cjs +1 -1
  58. package/dist/cjs/pages/layout/page.cjs +1 -1
  59. package/dist/cjs/pages/login.cjs +1 -1
  60. package/dist/cjs/pages/menu/avatar.cjs +1 -1
  61. package/dist/cjs/pages/menu/button.cjs +1 -1
  62. package/dist/cjs/pages/menu/cmd.cjs +1 -1
  63. package/dist/cjs/pages/menu/main.cjs +1 -1
  64. package/dist/cjs/pages/menu/mobile.cjs +1 -1
  65. package/dist/cjs/pages/page404.cjs +1 -1
  66. package/dist/cjs/pages/pageStatus.cjs +1 -1
  67. package/dist/cjs/theme/uno.css.cjs +2 -1
  68. package/dist/esm/component.js +31 -31
  69. package/dist/esm/components/chart/echart.js +16 -2
  70. package/dist/esm/components/crop/imageCrop.js +26 -12
  71. package/dist/esm/components/data/dynamicSelect.js +34 -20
  72. package/dist/esm/components/data/selectModal.js +41 -27
  73. package/dist/esm/components/designEditor/components/grid.js +39 -25
  74. package/dist/esm/components/designEditor/editor/setting.js +36 -22
  75. package/dist/esm/components/form/drawerForm.js +32 -18
  76. package/dist/esm/components/form/modalForm.js +31 -17
  77. package/dist/esm/components/form/pageForm.js +40 -30
  78. package/dist/esm/components/form/pageTabForm.js +159 -0
  79. package/dist/esm/components/form/settingForm.js +32 -18
  80. package/dist/esm/components/formEditor/base/base.js +29 -15
  81. package/dist/esm/components/formEditor/base/setting.js +21 -7
  82. package/dist/esm/components/formEditor/components/cascader.js +65 -51
  83. package/dist/esm/components/formEditor/components/cascaderAsync.js +95 -81
  84. package/dist/esm/components/formEditor/components/checkbox.js +43 -29
  85. package/dist/esm/components/formEditor/components/color.js +34 -20
  86. package/dist/esm/components/formEditor/components/date.js +51 -37
  87. package/dist/esm/components/formEditor/components/dynamicInput.js +42 -28
  88. package/dist/esm/components/formEditor/components/dynamicTags.js +39 -25
  89. package/dist/esm/components/formEditor/components/editor.js +23 -9
  90. package/dist/esm/components/formEditor/components/input.js +66 -52
  91. package/dist/esm/components/formEditor/components/inputNumber.js +37 -23
  92. package/dist/esm/components/formEditor/components/mentionAsync.js +60 -46
  93. package/dist/esm/components/formEditor/components/radio.js +28 -14
  94. package/dist/esm/components/formEditor/components/region.js +37 -23
  95. package/dist/esm/components/formEditor/components/select.js +16 -2
  96. package/dist/esm/components/formEditor/components/selectAsync.js +72 -58
  97. package/dist/esm/components/formEditor/components/sider.js +40 -26
  98. package/dist/esm/components/formEditor/components/switch.js +33 -19
  99. package/dist/esm/components/formEditor/components/time.js +60 -46
  100. package/dist/esm/components/formEditor/components/transferAsync.js +49 -35
  101. package/dist/esm/components/formEditor/components/treeSelect.js +54 -40
  102. package/dist/esm/components/formEditor/components/treeSelectAsync.js +74 -60
  103. package/dist/esm/components/formEditor/editor.js +16 -2
  104. package/dist/esm/components/formEditor/renderer.js +28 -14
  105. package/dist/esm/components/icon/icon.js +23 -9
  106. package/dist/esm/components/layout/list.js +69 -55
  107. package/dist/esm/components/layout/table.js +101 -85
  108. package/dist/esm/components/level/level.js +37 -23
  109. package/dist/esm/components/posterEditor/pages/RightPanel.js +46 -32
  110. package/dist/esm/components/posterEditor/posterEditor.js +26 -12
  111. package/dist/esm/components/table/table.js +21 -7
  112. package/dist/esm/components/upload/file.js +20 -4
  113. package/dist/esm/components/upload/image.js +42 -28
  114. package/dist/esm/components/upload/manage/item.js +24 -10
  115. package/dist/esm/components/upload/manager.js +16 -2
  116. package/dist/esm/config/echart.js +1 -1
  117. package/dist/esm/dvha-pro.css +1 -1
  118. package/dist/esm/hooks/dialog.js +16 -2
  119. package/dist/esm/hooks/drawer.js +16 -2
  120. package/dist/esm/hooks/modal.js +16 -2
  121. package/dist/esm/hooks/table/image.js +20 -6
  122. package/dist/esm/hooks/table/media.js +20 -6
  123. package/dist/esm/index.js +130 -128
  124. package/dist/esm/pages/layout/global.js +52 -37
  125. package/dist/esm/pages/layout/page.js +26 -12
  126. package/dist/esm/pages/login.js +33 -19
  127. package/dist/esm/pages/menu/avatar.js +46 -32
  128. package/dist/esm/pages/menu/button.js +22 -8
  129. package/dist/esm/pages/menu/cmd.js +51 -37
  130. package/dist/esm/pages/menu/main.js +42 -28
  131. package/dist/esm/pages/menu/mobile.js +16 -2
  132. package/dist/esm/pages/page404.js +14 -0
  133. package/dist/esm/pages/pageStatus.js +18 -4
  134. package/dist/esm/theme/uno.css.js +2 -1
  135. package/dist/types/components/data/selectModal.d.ts +1 -1
  136. package/dist/types/components/form/index.d.ts +1 -0
  137. package/dist/types/components/form/pageForm.d.ts +0 -9
  138. package/dist/types/components/form/pageTabForm.d.ts +63 -0
  139. package/dist/types/components/layout/table.d.ts +2 -2
  140. package/dist/types/components/table/tablePage.d.ts +2 -2
  141. package/package.json +5 -3
package/dist/esm/index.js CHANGED
@@ -7,7 +7,7 @@ import { DuxCodeEditor as c } from "./components/code/code.js";
7
7
  import { DuxImageCrop as P } from "./components/crop/imageCrop.js";
8
8
  import { DuxImageCropModal as b } from "./components/crop/imageCropModal.js";
9
9
  import { DuxDashboardHello as M } from "./components/dashboard/hello.js";
10
- import { DuxDashboardHelloBig as F } from "./components/dashboard/helloBig.js";
10
+ import { DuxDashboardHelloBig as y } from "./components/dashboard/helloBig.js";
11
11
  import { DuxDashboardQuick as w, DuxDashboardQuickItem as L } from "./components/dashboard/quick.js";
12
12
  import { DuxDynamicData as I } from "./components/data/dynamicData.js";
13
13
  import { DuxDynamicSelect as R } from "./components/data/dynamicSelect.js";
@@ -30,7 +30,7 @@ import { useTableColumnMap as Er } from "./hooks/table/map.js";
30
30
  import { useTableColumnMedia as Cr } from "./hooks/table/media.js";
31
31
  import { useTableColumnStatus as hr } from "./hooks/table/status.js";
32
32
  import { useTableColumnSwitch as Tr } from "./hooks/table/switch.js";
33
- import { useUI as yr } from "./hooks/ui.js";
33
+ import { useUI as Fr } from "./hooks/ui.js";
34
34
  import { DuxModal as Sr } from "./components/modal/modal.js";
35
35
  import { default as Lr } from "./components/modal/modalPage.js";
36
36
  import { default as Ir } from "./components/modal/modalTab.js";
@@ -53,82 +53,83 @@ import { DuxFormItem as Do } from "./components/form/formItem.js";
53
53
  import { DuxFormLayout as io } from "./components/form/formLayout.js";
54
54
  import { DuxModalForm as no } from "./components/form/modalForm.js";
55
55
  import { DuxPageForm as Eo } from "./components/form/pageForm.js";
56
- import { DuxSettingForm as Co } from "./components/form/settingForm.js";
57
- import { DuxFormEditor as ho } from "./components/formEditor/editor.js";
58
- import { DuxFormRenderer as To } from "./components/formEditor/renderer.js";
59
- import { DuxIconPicker as yo } from "./components/icon/icon.js";
56
+ import { DuxPageTabForm as Co } from "./components/form/pageTabForm.js";
57
+ import { DuxSettingForm as ho } from "./components/form/settingForm.js";
58
+ import { DuxFormEditor as To } from "./components/formEditor/editor.js";
59
+ import { DuxFormRenderer as Fo } from "./components/formEditor/renderer.js";
60
+ import { DuxIconPicker as So } from "./components/icon/icon.js";
60
61
  import "@iconify-json/tabler/icons.json";
61
62
  import "@vueuse/core";
62
- import { DuxTableFilter as So } from "./components/layout/filter.js";
63
- import { DuxFilterLayout as Lo } from "./components/layout/filterLayout.js";
64
- import { DuxGrid as Io } from "./components/layout/grid.js";
65
- import { DuxListLayout as Ro } from "./components/layout/list.js";
66
- import { DuxTableLayout as Uo } from "./components/layout/table.js";
67
- import { DuxTableTools as Wo } from "./components/layout/tools.js";
68
- import { DuxLevel as Go } from "./components/level/level.js";
69
- import { DuxCardPage as No } from "./components/list/card.js";
70
- import { DuxListPage as zo } from "./components/list/list.js";
71
- import { DuxMedia as Oo } from "./components/media/media.js";
72
- import { DuxPanelAlert as qo } from "./components/panel/alert.js";
73
- import { DuxPanelCard as Xo } from "./components/panel/setting.js";
74
- import { DuxCollapsePanel as Zo } from "./components/panel/collapse.js";
75
- import { elementConfigs as $o, elementRegistry as re, getElementConfig as oe, getElementsByCategory as ee } from "./components/posterEditor/elements/index.js";
76
- import { usePosterEditor as xe } from "./components/posterEditor/hooks/usePosterEditor.js";
77
- import { DuxPosterEditor as ue } from "./components/posterEditor/posterEditor.js";
78
- import { DuxSelectCard as pe } from "./components/select/cardSelect.js";
79
- import { DuxStatsNumber as De } from "./components/stats/number.js";
80
- import { DuxStatsRealTime as ie } from "./components/stats/realTime.js";
81
- import { DuxBlockEmpty as de } from "./components/status/blockEmpty.js";
82
- import { DuxListEmpty as ge } from "./components/status/listEmpty.js";
83
- import { DuxTable as ce } from "./components/table/table.js";
84
- import { DuxTablePage as Pe } from "./components/table/tablePage.js";
85
- import { DuxTreeFilter as be } from "./components/tree/treeFilter.js";
86
- import { DuxFileUpload as Me } from "./components/upload/file.js";
87
- import { DuxImageUpload as Fe } from "./components/upload/image.js";
88
- import { default as we } from "./components/upload/manager.js";
89
- import { DuxSelectUpload as Ae } from "./components/upload/selectFile.js";
90
- import { DuxAvatar as ve } from "./components/widget/avatar.js";
91
- import { DuxWidgetConnect as Be } from "./components/widget/connect.js";
92
- import { DuxPlaceholder as ke } from "./components/widget/placeholder.js";
93
- import { DuxAuthLayout as Ve } from "./pages/authLayout.js";
94
- import { DuxLayout as He } from "./pages/layout.js";
95
- import { DuxLoginPage as Qe } from "./pages/login.js";
96
- import { default as Ke } from "./pages/menu/avatar.js";
97
- import { default as je } from "./pages/menu/button.js";
98
- import { DuxMenuCmd as Je } from "./pages/menu/cmd.js";
99
- import { DuxMenuMain as Ye } from "./pages/menu/main.js";
100
- import { DuxMobileMenu as _e } from "./pages/menu/mobile.js";
101
- import { DuxPage as rt } from "./pages/page.js";
102
- import { DuxPage403 as et } from "./pages/page403.js";
103
- import { DuxPage404 as xt } from "./pages/page404.js";
104
- import { DuxPage500 as ut } from "./pages/page500.js";
105
- import { DuxPageEmpty as pt } from "./pages/pageEmpty.js";
106
- import { DuxPageLoading as Dt } from "./pages/pageLoading.js";
107
- import { DuxPageStatus as it } from "./pages/pageStatus.js";
108
- import { generateRainbowFromColor as dt, getTheme as nt } from "./config/echart.js";
109
- import { config as Et } from "./config/uno.js";
110
- import { initVeeValidate as Ct } from "./config/validate.js";
111
- import { default as ht } from "./langs/en-US.json.js";
112
- import { default as Tt } from "./langs/zh-CN.json.js";
113
- import { createDuxPro as yt } from "./main.js";
114
- import { useUIStore as St } from "./stores/ui.js";
115
- import { themeOverrides as Lt } from "./theme/naiveTheme.js";
116
- import { presetTheme as It } from "./theme/presetTheme.js";
117
- import { default as Rt } from "vue-konva";
63
+ import { DuxTableFilter as Lo } from "./components/layout/filter.js";
64
+ import { DuxFilterLayout as Io } from "./components/layout/filterLayout.js";
65
+ import { DuxGrid as Ro } from "./components/layout/grid.js";
66
+ import { DuxListLayout as Uo } from "./components/layout/list.js";
67
+ import { DuxTableLayout as Wo } from "./components/layout/table.js";
68
+ import { DuxTableTools as Go } from "./components/layout/tools.js";
69
+ import { DuxLevel as No } from "./components/level/level.js";
70
+ import { DuxCardPage as zo } from "./components/list/card.js";
71
+ import { DuxListPage as Oo } from "./components/list/list.js";
72
+ import { DuxMedia as qo } from "./components/media/media.js";
73
+ import { DuxPanelAlert as Xo } from "./components/panel/alert.js";
74
+ import { DuxPanelCard as Zo } from "./components/panel/setting.js";
75
+ import { DuxCollapsePanel as $o } from "./components/panel/collapse.js";
76
+ import { elementConfigs as oe, elementRegistry as ee, getElementConfig as te, getElementsByCategory as xe } from "./components/posterEditor/elements/index.js";
77
+ import { usePosterEditor as ue } from "./components/posterEditor/hooks/usePosterEditor.js";
78
+ import { DuxPosterEditor as pe } from "./components/posterEditor/posterEditor.js";
79
+ import { DuxSelectCard as De } from "./components/select/cardSelect.js";
80
+ import { DuxStatsNumber as ie } from "./components/stats/number.js";
81
+ import { DuxStatsRealTime as de } from "./components/stats/realTime.js";
82
+ import { DuxBlockEmpty as ge } from "./components/status/blockEmpty.js";
83
+ import { DuxListEmpty as ce } from "./components/status/listEmpty.js";
84
+ import { DuxTable as Pe } from "./components/table/table.js";
85
+ import { DuxTablePage as be } from "./components/table/tablePage.js";
86
+ import { DuxTreeFilter as Me } from "./components/tree/treeFilter.js";
87
+ import { DuxFileUpload as ye } from "./components/upload/file.js";
88
+ import { DuxImageUpload as we } from "./components/upload/image.js";
89
+ import { default as Ae } from "./components/upload/manager.js";
90
+ import { DuxSelectUpload as ve } from "./components/upload/selectFile.js";
91
+ import { DuxAvatar as Be } from "./components/widget/avatar.js";
92
+ import { DuxWidgetConnect as ke } from "./components/widget/connect.js";
93
+ import { DuxPlaceholder as Ve } from "./components/widget/placeholder.js";
94
+ import { DuxAuthLayout as He } from "./pages/authLayout.js";
95
+ import { DuxLayout as Qe } from "./pages/layout.js";
96
+ import { DuxLoginPage as Ke } from "./pages/login.js";
97
+ import { default as je } from "./pages/menu/avatar.js";
98
+ import { default as Je } from "./pages/menu/button.js";
99
+ import { DuxMenuCmd as Ye } from "./pages/menu/cmd.js";
100
+ import { DuxMenuMain as _e } from "./pages/menu/main.js";
101
+ import { DuxMobileMenu as rt } from "./pages/menu/mobile.js";
102
+ import { DuxPage as et } from "./pages/page.js";
103
+ import { DuxPage403 as xt } from "./pages/page403.js";
104
+ import { DuxPage404 as ut } from "./pages/page404.js";
105
+ import { DuxPage500 as pt } from "./pages/page500.js";
106
+ import { DuxPageEmpty as Dt } from "./pages/pageEmpty.js";
107
+ import { DuxPageLoading as it } from "./pages/pageLoading.js";
108
+ import { DuxPageStatus as dt } from "./pages/pageStatus.js";
109
+ import { generateRainbowFromColor as gt, getTheme as Et } from "./config/echart.js";
110
+ import { config as Ct } from "./config/uno.js";
111
+ import { initVeeValidate as ht } from "./config/validate.js";
112
+ import { default as Tt } from "./langs/en-US.json.js";
113
+ import { default as Ft } from "./langs/zh-CN.json.js";
114
+ import { createDuxPro as St } from "./main.js";
115
+ import { useUIStore as Lt } from "./stores/ui.js";
116
+ import { themeOverrides as It } from "./theme/naiveTheme.js";
117
+ import { presetTheme as Rt } from "./theme/presetTheme.js";
118
+ import { default as Ut } from "vue-konva";
118
119
  export {
119
120
  uo as DuxAiEditor,
120
121
  a as DuxApp,
121
- Ve as DuxAuthLayout,
122
- ve as DuxAvatar,
123
- de as DuxBlockEmpty,
122
+ He as DuxAuthLayout,
123
+ Be as DuxAvatar,
124
+ ge as DuxBlockEmpty,
124
125
  f as DuxCard,
125
- No as DuxCardPage,
126
+ zo as DuxCardPage,
126
127
  d as DuxCarousel,
127
128
  g as DuxChart,
128
129
  c as DuxCodeEditor,
129
- Zo as DuxCollapsePanel,
130
+ $o as DuxCollapsePanel,
130
131
  M as DuxDashboardHello,
131
- F as DuxDashboardHelloBig,
132
+ y as DuxDashboardHelloBig,
132
133
  w as DuxDashboardQuick,
133
134
  L as DuxDashboardQuickItem,
134
135
  Ur as DuxDesignEditor,
@@ -143,77 +144,78 @@ export {
143
144
  xo as DuxDrawerPage,
144
145
  I as DuxDynamicData,
145
146
  R as DuxDynamicSelect,
146
- we as DuxFileManage,
147
- Me as DuxFileUpload,
148
- Lo as DuxFilterLayout,
149
- ho as DuxFormEditor,
147
+ Ae as DuxFileManage,
148
+ ye as DuxFileUpload,
149
+ Io as DuxFilterLayout,
150
+ To as DuxFormEditor,
150
151
  Do as DuxFormItem,
151
152
  io as DuxFormLayout,
152
- To as DuxFormRenderer,
153
- Io as DuxGrid,
154
- yo as DuxIconPicker,
153
+ Fo as DuxFormRenderer,
154
+ Ro as DuxGrid,
155
+ So as DuxIconPicker,
155
156
  P as DuxImageCrop,
156
157
  b as DuxImageCropModal,
157
- Fe as DuxImageUpload,
158
- He as DuxLayout,
159
- Go as DuxLevel,
160
- ge as DuxListEmpty,
161
- Ro as DuxListLayout,
162
- zo as DuxListPage,
163
- Qe as DuxLoginPage,
164
- Oo as DuxMedia,
165
- Ke as DuxMenuAvatar,
166
- je as DuxMenuButton,
167
- Je as DuxMenuCmd,
168
- Ye as DuxMenuMain,
169
- _e as DuxMobileMenu,
158
+ we as DuxImageUpload,
159
+ Qe as DuxLayout,
160
+ No as DuxLevel,
161
+ ce as DuxListEmpty,
162
+ Uo as DuxListLayout,
163
+ Oo as DuxListPage,
164
+ Ke as DuxLoginPage,
165
+ qo as DuxMedia,
166
+ je as DuxMenuAvatar,
167
+ Je as DuxMenuButton,
168
+ Ye as DuxMenuCmd,
169
+ _e as DuxMenuMain,
170
+ rt as DuxMobileMenu,
170
171
  Sr as DuxModal,
171
172
  no as DuxModalForm,
172
173
  Lr as DuxModalPage,
173
174
  Ir as DuxModalTab,
174
- rt as DuxPage,
175
- et as DuxPage403,
176
- xt as DuxPage404,
177
- ut as DuxPage500,
178
- pt as DuxPageEmpty,
175
+ et as DuxPage,
176
+ xt as DuxPage403,
177
+ ut as DuxPage404,
178
+ pt as DuxPage500,
179
+ Dt as DuxPageEmpty,
179
180
  Eo as DuxPageForm,
180
- Dt as DuxPageLoading,
181
- it as DuxPageStatus,
182
- qo as DuxPanelAlert,
183
- Xo as DuxPanelCard,
184
- ke as DuxPlaceholder,
185
- ue as DuxPosterEditor,
186
- pe as DuxSelectCard,
187
- Ae as DuxSelectUpload,
188
- Co as DuxSettingForm,
189
- De as DuxStatsNumber,
190
- ie as DuxStatsRealTime,
181
+ it as DuxPageLoading,
182
+ dt as DuxPageStatus,
183
+ Co as DuxPageTabForm,
184
+ Xo as DuxPanelAlert,
185
+ Zo as DuxPanelCard,
186
+ Ve as DuxPlaceholder,
187
+ pe as DuxPosterEditor,
188
+ De as DuxSelectCard,
189
+ ve as DuxSelectUpload,
190
+ ho as DuxSettingForm,
191
+ ie as DuxStatsNumber,
192
+ de as DuxStatsRealTime,
191
193
  l as DuxStatsStore,
192
194
  i as DuxStatsStoreItem,
193
- ce as DuxTable,
194
- So as DuxTableFilter,
195
- Uo as DuxTableLayout,
196
- Pe as DuxTablePage,
197
- Wo as DuxTableTools,
198
- be as DuxTreeFilter,
199
- Be as DuxWidgetConnect,
195
+ Pe as DuxTable,
196
+ Lo as DuxTableFilter,
197
+ Wo as DuxTableLayout,
198
+ be as DuxTablePage,
199
+ Go as DuxTableTools,
200
+ Me as DuxTreeFilter,
201
+ ke as DuxWidgetConnect,
200
202
  Gr as DuxWidgetEditorPreview,
201
- Rt as VueKonva,
203
+ Ut as VueKonva,
202
204
  Nr as WidgetEditorSetting,
203
205
  Qr as WidgetEditorSettingCard,
204
- Et as config,
205
- yt as createDuxPro,
206
+ Ct as config,
207
+ St as createDuxPro,
206
208
  Rr as duxFormEditorGrid,
207
- $o as elementConfigs,
208
- re as elementRegistry,
209
- ht as enUS,
210
- dt as generateRainbowFromColor,
211
- oe as getElementConfig,
212
- ee as getElementsByCategory,
213
- nt as getTheme,
214
- Ct as initVeeValidate,
215
- It as presetTheme,
216
- Lt as themeOverrides,
209
+ oe as elementConfigs,
210
+ ee as elementRegistry,
211
+ Tt as enUS,
212
+ gt as generateRainbowFromColor,
213
+ te as getElementConfig,
214
+ xe as getElementsByCategory,
215
+ Et as getTheme,
216
+ ht as initVeeValidate,
217
+ Rt as presetTheme,
218
+ It as themeOverrides,
217
219
  U as useAction,
218
220
  k as useActionButton,
219
221
  W as useActionDropdown,
@@ -235,7 +237,7 @@ export {
235
237
  tr as useImagePreview,
236
238
  mr as useLevel,
237
239
  ar as useModal,
238
- xe as usePosterEditor,
240
+ ue as usePosterEditor,
239
241
  fr as useTable,
240
242
  sr as useTableColumn,
241
243
  lr as useTableColumnColor,
@@ -244,7 +246,7 @@ export {
244
246
  Cr as useTableColumnMedia,
245
247
  hr as useTableColumnStatus,
246
248
  Tr as useTableColumnSwitch,
247
- yr as useUI,
248
- St as useUIStore,
249
- Tt as zhCN
249
+ Fr as useUI,
250
+ Lt as useUIStore,
251
+ Ft as zhCN
250
252
  };
@@ -1,59 +1,74 @@
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
- import { useTheme as P, useI18n as b } from "@duxweb/dvha-core";
3
- import { setLocale as k } from "@vee-validate/i18n";
4
- import { hex2hsl as x } from "colorizr";
5
- import { registerTheme as D } from "echarts";
6
- import { useLoadingBar as M, zhCN as O, enUS as w, dateZhCN as z, dateEnUS as B, NConfigProvider as S, darkTheme as G, lightTheme as I, NModalProvider as U, NDialogProvider as j, NNotificationProvider as E, NMessageProvider as F } from "naive-ui";
7
- import { generateRainbowFromColor as R, getTheme as V } from "../../config/echart.js";
1
+ import { defineComponent as C, inject as T, onBeforeMount as j, computed as i, watch as m, onMounted as y, createVNode as o } from "vue";
2
+ import { useTheme as b, useI18n as k } from "@duxweb/dvha-core";
3
+ import { setLocale as x } from "@vee-validate/i18n";
4
+ import { hex2hsl as w } from "colorizr";
5
+ import { registerTheme as P } from "echarts";
6
+ import e from "highlight.js/lib/core";
7
+ import D from "highlight.js/lib/languages/bash";
8
+ import M from "highlight.js/lib/languages/css";
9
+ import O from "highlight.js/lib/languages/go";
10
+ import z from "highlight.js/lib/languages/java";
11
+ import B from "highlight.js/lib/languages/javascript";
12
+ import S from "highlight.js/lib/languages/json";
13
+ import q from "highlight.js/lib/languages/markdown";
14
+ import G from "highlight.js/lib/languages/php";
15
+ import I from "highlight.js/lib/languages/python";
16
+ import U from "highlight.js/lib/languages/shell";
17
+ import E from "highlight.js/lib/languages/sql";
18
+ import F from "highlight.js/lib/languages/typescript";
19
+ import R from "highlight.js/lib/languages/xml";
20
+ import { useLoadingBar as V, zhCN as Z, enUS as _, dateZhCN as A, dateEnUS as H, NConfigProvider as J, darkTheme as K, lightTheme as Q, NModalProvider as W, NDialogProvider as X, NNotificationProvider as Y, NMessageProvider as $ } from "naive-ui";
21
+ import { generateRainbowFromColor as ee, getTheme as re } from "../../config/echart.js";
8
22
  import "@unocss/preset-icons/browser";
9
23
  import "@unocss/preset-typography";
10
24
  import "unocss/preset-wind4";
11
- import { themeOverrides as Z } from "../../theme/naiveTheme.js";
25
+ import { themeOverrides as oe } from "../../theme/naiveTheme.js";
12
26
  import "@vee-validate/i18n/dist/locale/en.json";
13
27
  import "@vee-validate/i18n/dist/locale/zh_CN.json";
14
28
  import "vee-validate";
15
- const ae = /* @__PURE__ */ C({
29
+ const ze = /* @__PURE__ */ C({
16
30
  name: "DuxGlobalLayout",
17
- setup(_, {
31
+ setup(te, {
18
32
  slots: n
19
33
  }) {
20
34
  const {
21
35
  isDark: t,
22
- cssInit: l,
23
- getSceneColor: m
24
- } = P(), u = T("pageLoading"), s = M(), {
25
- lightTheme: d,
26
- darkTheme: c
27
- } = Z();
28
- L(() => {
29
- l();
30
- });
36
+ cssInit: s,
37
+ getSceneColor: g
38
+ } = b(), l = T("pageLoading"), u = V(), {
39
+ lightTheme: p,
40
+ darkTheme: f
41
+ } = oe();
42
+ j(() => {
43
+ s();
44
+ }), e.registerLanguage("javascript", B), e.registerLanguage("typescript", F), e.registerLanguage("css", M), e.registerLanguage("xml", R), e.registerLanguage("json", S), e.registerLanguage("markdown", q), e.registerLanguage("bash", D), e.registerLanguage("shell", U), e.registerLanguage("sql", E), e.registerLanguage("java", z), e.registerLanguage("php", G), e.registerLanguage("go", O), e.registerLanguage("python", I);
31
45
  const {
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
- k(e);
46
+ getLocale: a
47
+ } = k(), d = i(() => a() === "zh-CN" ? Z : _), h = i(() => a() === "zh-CN" ? A : H);
48
+ return m(a, (r) => {
49
+ x(r);
36
50
  }, {
37
51
  immediate: !0
38
52
  }), y(async () => {
39
53
  setTimeout(() => {
40
- s.finish(), u.value = !1;
54
+ u.finish(), l.value = !1;
41
55
  }, 500);
42
- }), i(t, (e) => {
43
- const p = m("primary"), g = x(p), v = R(g, 10), N = V(v, e);
44
- D("default", N);
56
+ }), m(t, (r) => {
57
+ const c = g("primary"), L = w(c), v = ee(L, 10), N = re(v, r);
58
+ P("default", N);
45
59
  }, {
46
60
  immediate: !0
47
- }), () => o(S, {
48
- locale: h.value,
49
- dateLocale: f.value,
50
- theme: t.value ? G : I,
51
- themeOverrides: t.value ? c.value : d.value
61
+ }), () => o(J, {
62
+ hljs: e,
63
+ locale: d.value,
64
+ dateLocale: h.value,
65
+ theme: t.value ? K : Q,
66
+ themeOverrides: t.value ? f.value : p.value
52
67
  }, {
53
- default: () => [o(U, null, {
54
- default: () => [o(j, null, {
55
- default: () => [o(E, null, {
56
- default: () => [o(F, null, {
68
+ default: () => [o(W, null, {
69
+ default: () => [o(X, null, {
70
+ default: () => [o(Y, null, {
71
+ default: () => [o($, null, {
57
72
  default: () => [n.default?.()]
58
73
  })]
59
74
  })]
@@ -63,5 +78,5 @@ const ae = /* @__PURE__ */ C({
63
78
  }
64
79
  });
65
80
  export {
66
- ae as DuxGlobalLayout
81
+ ze as DuxGlobalLayout
67
82
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as p, onMounted as n, onUnmounted as s, createVNode as t } from "vue";
1
+ import { defineComponent as l, onMounted as n, onUnmounted as s, createVNode as t } from "vue";
2
2
  import { useManage as u, useCheck as a, DuxTabRouterView as c } from "@duxweb/dvha-core";
3
3
  import { useIntervalFn as f } from "@vueuse/core";
4
4
  import { NButton as d } from "naive-ui";
@@ -24,6 +24,20 @@ import "vue-draggable-plus";
24
24
  import "@vee-validate/i18n";
25
25
  import "colorizr";
26
26
  import "echarts";
27
+ import "highlight.js/lib/core";
28
+ import "highlight.js/lib/languages/bash";
29
+ import "highlight.js/lib/languages/css";
30
+ import "highlight.js/lib/languages/go";
31
+ import "highlight.js/lib/languages/java";
32
+ import "highlight.js/lib/languages/javascript";
33
+ import "highlight.js/lib/languages/json";
34
+ import "highlight.js/lib/languages/markdown";
35
+ import "highlight.js/lib/languages/php";
36
+ import "highlight.js/lib/languages/python";
37
+ import "highlight.js/lib/languages/shell";
38
+ import "highlight.js/lib/languages/sql";
39
+ import "highlight.js/lib/languages/typescript";
40
+ import "highlight.js/lib/languages/xml";
27
41
  import "@ant-design/colors";
28
42
  import "@unocss/preset-icons/browser";
29
43
  import "@unocss/preset-typography";
@@ -45,25 +59,25 @@ import "mime";
45
59
  import "dayjs";
46
60
  import "@tanstack/vue-query";
47
61
  import { useUI as v } from "../../hooks/ui.js";
48
- const at = /* @__PURE__ */ p({
62
+ const kt = /* @__PURE__ */ l({
49
63
  name: "DuxLayoutPage",
50
64
  props: {},
51
65
  setup() {
52
66
  const {
53
- menuMobileCollapsed: o,
54
- setMenuMobileCollapsed: i
67
+ menuMobileCollapsed: i,
68
+ setMenuMobileCollapsed: r
55
69
  } = v(), {
56
- config: r
70
+ config: e
57
71
  } = u(), {
58
- mutate: e
72
+ mutate: o
59
73
  } = a(), {
60
74
  pause: m,
61
- resume: l
75
+ resume: p
62
76
  } = f(() => {
63
- e();
77
+ o();
64
78
  }, 1e3 * 60 * 10);
65
79
  return n(() => {
66
- e(), l();
80
+ o(), p();
67
81
  }), s(() => {
68
82
  m();
69
83
  }), () => t("div", {
@@ -74,14 +88,14 @@ const at = /* @__PURE__ */ p({
74
88
  class: "flex lg:hidden justify-between items-center px-2 py-2 bg-default dark:bg-muted shadow-xs relative"
75
89
  }, [t(d, {
76
90
  text: !0,
77
- onClick: () => i(!o.value)
91
+ onClick: () => r(!i.value)
78
92
  }, {
79
93
  default: () => [t("div", {
80
94
  class: "i-tabler:menu-2 size-6"
81
95
  }, null)]
82
96
  }), t("div", {
83
97
  class: "w-full absolute inset-0 flex items-center justify-center text-base pointer-events-none"
84
- }, [r.title]), t("div", null, [t(x, {
98
+ }, [e.title]), t("div", null, [t(x, {
85
99
  collapsed: !0
86
100
  }, null)])]), t("div", {
87
101
  class: "flex-1 py-2"
@@ -91,5 +105,5 @@ const at = /* @__PURE__ */ p({
91
105
  }
92
106
  });
93
107
  export {
94
- at as DuxLayoutPage
108
+ kt as DuxLayoutPage
95
109
  };