@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.
- package/dist/cjs/component.cjs +1 -1
- package/dist/cjs/components/chart/echart.cjs +1 -1
- package/dist/cjs/components/crop/imageCrop.cjs +1 -1
- package/dist/cjs/components/data/dynamicSelect.cjs +1 -1
- package/dist/cjs/components/data/selectModal.cjs +1 -1
- package/dist/cjs/components/designEditor/components/grid.cjs +1 -1
- package/dist/cjs/components/designEditor/editor/setting.cjs +1 -1
- package/dist/cjs/components/form/drawerForm.cjs +1 -1
- package/dist/cjs/components/form/modalForm.cjs +1 -1
- package/dist/cjs/components/form/pageForm.cjs +1 -1
- package/dist/cjs/components/form/pageTabForm.cjs +1 -0
- package/dist/cjs/components/form/settingForm.cjs +1 -1
- package/dist/cjs/components/formEditor/base/base.cjs +1 -1
- package/dist/cjs/components/formEditor/base/setting.cjs +1 -1
- package/dist/cjs/components/formEditor/components/cascader.cjs +1 -1
- package/dist/cjs/components/formEditor/components/cascaderAsync.cjs +1 -1
- package/dist/cjs/components/formEditor/components/checkbox.cjs +1 -1
- package/dist/cjs/components/formEditor/components/color.cjs +1 -1
- package/dist/cjs/components/formEditor/components/date.cjs +1 -1
- package/dist/cjs/components/formEditor/components/dynamicInput.cjs +1 -1
- package/dist/cjs/components/formEditor/components/dynamicTags.cjs +1 -1
- package/dist/cjs/components/formEditor/components/editor.cjs +1 -1
- package/dist/cjs/components/formEditor/components/input.cjs +1 -1
- package/dist/cjs/components/formEditor/components/inputNumber.cjs +1 -1
- package/dist/cjs/components/formEditor/components/mentionAsync.cjs +1 -1
- package/dist/cjs/components/formEditor/components/radio.cjs +1 -1
- package/dist/cjs/components/formEditor/components/region.cjs +1 -1
- package/dist/cjs/components/formEditor/components/select.cjs +1 -1
- package/dist/cjs/components/formEditor/components/selectAsync.cjs +1 -1
- package/dist/cjs/components/formEditor/components/sider.cjs +1 -1
- package/dist/cjs/components/formEditor/components/switch.cjs +1 -1
- package/dist/cjs/components/formEditor/components/time.cjs +1 -1
- package/dist/cjs/components/formEditor/components/transferAsync.cjs +1 -1
- package/dist/cjs/components/formEditor/components/treeSelect.cjs +1 -1
- package/dist/cjs/components/formEditor/components/treeSelectAsync.cjs +1 -1
- package/dist/cjs/components/formEditor/editor.cjs +1 -1
- package/dist/cjs/components/formEditor/renderer.cjs +1 -1
- package/dist/cjs/components/icon/icon.cjs +1 -1
- package/dist/cjs/components/layout/list.cjs +1 -1
- package/dist/cjs/components/layout/table.cjs +1 -1
- package/dist/cjs/components/level/level.cjs +1 -1
- package/dist/cjs/components/posterEditor/pages/RightPanel.cjs +1 -1
- package/dist/cjs/components/posterEditor/posterEditor.cjs +1 -1
- package/dist/cjs/components/table/table.cjs +1 -1
- package/dist/cjs/components/upload/file.cjs +1 -1
- package/dist/cjs/components/upload/image.cjs +1 -1
- package/dist/cjs/components/upload/manage/item.cjs +1 -1
- package/dist/cjs/components/upload/manager.cjs +1 -1
- package/dist/cjs/config/echart.cjs +1 -1
- package/dist/cjs/dvha-pro.css +1 -1
- package/dist/cjs/hooks/dialog.cjs +1 -1
- package/dist/cjs/hooks/drawer.cjs +1 -1
- package/dist/cjs/hooks/modal.cjs +1 -1
- package/dist/cjs/hooks/table/image.cjs +1 -1
- package/dist/cjs/hooks/table/media.cjs +1 -1
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/pages/layout/global.cjs +1 -1
- package/dist/cjs/pages/layout/page.cjs +1 -1
- package/dist/cjs/pages/login.cjs +1 -1
- package/dist/cjs/pages/menu/avatar.cjs +1 -1
- package/dist/cjs/pages/menu/button.cjs +1 -1
- package/dist/cjs/pages/menu/cmd.cjs +1 -1
- package/dist/cjs/pages/menu/main.cjs +1 -1
- package/dist/cjs/pages/menu/mobile.cjs +1 -1
- package/dist/cjs/pages/page404.cjs +1 -1
- package/dist/cjs/pages/pageStatus.cjs +1 -1
- package/dist/cjs/theme/uno.css.cjs +2 -1
- package/dist/esm/component.js +31 -31
- package/dist/esm/components/chart/echart.js +16 -2
- package/dist/esm/components/crop/imageCrop.js +26 -12
- package/dist/esm/components/data/dynamicSelect.js +34 -20
- package/dist/esm/components/data/selectModal.js +41 -27
- package/dist/esm/components/designEditor/components/grid.js +39 -25
- package/dist/esm/components/designEditor/editor/setting.js +36 -22
- package/dist/esm/components/form/drawerForm.js +32 -18
- package/dist/esm/components/form/modalForm.js +31 -17
- package/dist/esm/components/form/pageForm.js +40 -30
- package/dist/esm/components/form/pageTabForm.js +159 -0
- package/dist/esm/components/form/settingForm.js +32 -18
- package/dist/esm/components/formEditor/base/base.js +29 -15
- package/dist/esm/components/formEditor/base/setting.js +21 -7
- package/dist/esm/components/formEditor/components/cascader.js +65 -51
- package/dist/esm/components/formEditor/components/cascaderAsync.js +95 -81
- package/dist/esm/components/formEditor/components/checkbox.js +43 -29
- package/dist/esm/components/formEditor/components/color.js +34 -20
- package/dist/esm/components/formEditor/components/date.js +51 -37
- package/dist/esm/components/formEditor/components/dynamicInput.js +42 -28
- package/dist/esm/components/formEditor/components/dynamicTags.js +39 -25
- package/dist/esm/components/formEditor/components/editor.js +23 -9
- package/dist/esm/components/formEditor/components/input.js +66 -52
- package/dist/esm/components/formEditor/components/inputNumber.js +37 -23
- package/dist/esm/components/formEditor/components/mentionAsync.js +60 -46
- package/dist/esm/components/formEditor/components/radio.js +28 -14
- package/dist/esm/components/formEditor/components/region.js +37 -23
- package/dist/esm/components/formEditor/components/select.js +16 -2
- package/dist/esm/components/formEditor/components/selectAsync.js +72 -58
- package/dist/esm/components/formEditor/components/sider.js +40 -26
- package/dist/esm/components/formEditor/components/switch.js +33 -19
- package/dist/esm/components/formEditor/components/time.js +60 -46
- package/dist/esm/components/formEditor/components/transferAsync.js +49 -35
- package/dist/esm/components/formEditor/components/treeSelect.js +54 -40
- package/dist/esm/components/formEditor/components/treeSelectAsync.js +74 -60
- package/dist/esm/components/formEditor/editor.js +16 -2
- package/dist/esm/components/formEditor/renderer.js +28 -14
- package/dist/esm/components/icon/icon.js +23 -9
- package/dist/esm/components/layout/list.js +69 -55
- package/dist/esm/components/layout/table.js +101 -85
- package/dist/esm/components/level/level.js +37 -23
- package/dist/esm/components/posterEditor/pages/RightPanel.js +46 -32
- package/dist/esm/components/posterEditor/posterEditor.js +26 -12
- package/dist/esm/components/table/table.js +21 -7
- package/dist/esm/components/upload/file.js +20 -4
- package/dist/esm/components/upload/image.js +42 -28
- package/dist/esm/components/upload/manage/item.js +24 -10
- package/dist/esm/components/upload/manager.js +16 -2
- package/dist/esm/config/echart.js +1 -1
- package/dist/esm/dvha-pro.css +1 -1
- package/dist/esm/hooks/dialog.js +16 -2
- package/dist/esm/hooks/drawer.js +16 -2
- package/dist/esm/hooks/modal.js +16 -2
- package/dist/esm/hooks/table/image.js +20 -6
- package/dist/esm/hooks/table/media.js +20 -6
- package/dist/esm/index.js +130 -128
- package/dist/esm/pages/layout/global.js +52 -37
- package/dist/esm/pages/layout/page.js +26 -12
- package/dist/esm/pages/login.js +33 -19
- package/dist/esm/pages/menu/avatar.js +46 -32
- package/dist/esm/pages/menu/button.js +22 -8
- package/dist/esm/pages/menu/cmd.js +51 -37
- package/dist/esm/pages/menu/main.js +42 -28
- package/dist/esm/pages/menu/mobile.js +16 -2
- package/dist/esm/pages/page404.js +14 -0
- package/dist/esm/pages/pageStatus.js +18 -4
- package/dist/esm/theme/uno.css.js +2 -1
- package/dist/types/components/data/selectModal.d.ts +1 -1
- package/dist/types/components/form/index.d.ts +1 -0
- package/dist/types/components/form/pageForm.d.ts +0 -9
- package/dist/types/components/form/pageTabForm.d.ts +63 -0
- package/dist/types/components/layout/table.d.ts +2 -2
- package/dist/types/components/table/tablePage.d.ts +2 -2
- 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
|
|
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
|
|
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 {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
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
|
|
63
|
-
import { DuxFilterLayout as
|
|
64
|
-
import { DuxGrid as
|
|
65
|
-
import { DuxListLayout as
|
|
66
|
-
import { DuxTableLayout as
|
|
67
|
-
import { DuxTableTools as
|
|
68
|
-
import { DuxLevel as
|
|
69
|
-
import { DuxCardPage as
|
|
70
|
-
import { DuxListPage as
|
|
71
|
-
import { DuxMedia as
|
|
72
|
-
import { DuxPanelAlert as
|
|
73
|
-
import { DuxPanelCard as
|
|
74
|
-
import { DuxCollapsePanel as
|
|
75
|
-
import { elementConfigs as
|
|
76
|
-
import { usePosterEditor as
|
|
77
|
-
import { DuxPosterEditor as
|
|
78
|
-
import { DuxSelectCard as
|
|
79
|
-
import { DuxStatsNumber as
|
|
80
|
-
import { DuxStatsRealTime as
|
|
81
|
-
import { DuxBlockEmpty as
|
|
82
|
-
import { DuxListEmpty as
|
|
83
|
-
import { DuxTable as
|
|
84
|
-
import { DuxTablePage as
|
|
85
|
-
import { DuxTreeFilter as
|
|
86
|
-
import { DuxFileUpload as
|
|
87
|
-
import { DuxImageUpload as
|
|
88
|
-
import { default as
|
|
89
|
-
import { DuxSelectUpload as
|
|
90
|
-
import { DuxAvatar as
|
|
91
|
-
import { DuxWidgetConnect as
|
|
92
|
-
import { DuxPlaceholder as
|
|
93
|
-
import { DuxAuthLayout as
|
|
94
|
-
import { DuxLayout as
|
|
95
|
-
import { DuxLoginPage as
|
|
96
|
-
import { default as
|
|
97
|
-
import { default as
|
|
98
|
-
import { DuxMenuCmd as
|
|
99
|
-
import { DuxMenuMain as
|
|
100
|
-
import { DuxMobileMenu as
|
|
101
|
-
import { DuxPage as
|
|
102
|
-
import { DuxPage403 as
|
|
103
|
-
import { DuxPage404 as
|
|
104
|
-
import { DuxPage500 as
|
|
105
|
-
import { DuxPageEmpty as
|
|
106
|
-
import { DuxPageLoading as
|
|
107
|
-
import { DuxPageStatus as
|
|
108
|
-
import { generateRainbowFromColor as
|
|
109
|
-
import { config as
|
|
110
|
-
import { initVeeValidate as
|
|
111
|
-
import { default as
|
|
112
|
-
import { default as
|
|
113
|
-
import { createDuxPro as
|
|
114
|
-
import { useUIStore as
|
|
115
|
-
import { themeOverrides as
|
|
116
|
-
import { presetTheme as
|
|
117
|
-
import { default as
|
|
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
|
-
|
|
122
|
-
|
|
123
|
-
|
|
122
|
+
He as DuxAuthLayout,
|
|
123
|
+
Be as DuxAvatar,
|
|
124
|
+
ge as DuxBlockEmpty,
|
|
124
125
|
f as DuxCard,
|
|
125
|
-
|
|
126
|
+
zo as DuxCardPage,
|
|
126
127
|
d as DuxCarousel,
|
|
127
128
|
g as DuxChart,
|
|
128
129
|
c as DuxCodeEditor,
|
|
129
|
-
|
|
130
|
+
$o as DuxCollapsePanel,
|
|
130
131
|
M as DuxDashboardHello,
|
|
131
|
-
|
|
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
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
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
|
-
|
|
153
|
-
|
|
154
|
-
|
|
153
|
+
Fo as DuxFormRenderer,
|
|
154
|
+
Ro as DuxGrid,
|
|
155
|
+
So as DuxIconPicker,
|
|
155
156
|
P as DuxImageCrop,
|
|
156
157
|
b as DuxImageCropModal,
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
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
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
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
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
Xo as
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
pe as
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
ie as
|
|
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
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
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
|
-
|
|
203
|
+
Ut as VueKonva,
|
|
202
204
|
Nr as WidgetEditorSetting,
|
|
203
205
|
Qr as WidgetEditorSettingCard,
|
|
204
|
-
|
|
205
|
-
|
|
206
|
+
Ct as config,
|
|
207
|
+
St as createDuxPro,
|
|
206
208
|
Rr as duxFormEditorGrid,
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
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
|
-
|
|
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
|
-
|
|
248
|
-
|
|
249
|
-
|
|
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
|
|
2
|
-
import { useTheme as
|
|
3
|
-
import { setLocale as
|
|
4
|
-
import { hex2hsl as
|
|
5
|
-
import { registerTheme as
|
|
6
|
-
import
|
|
7
|
-
import
|
|
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
|
|
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
|
|
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:
|
|
23
|
-
getSceneColor:
|
|
24
|
-
} =
|
|
25
|
-
lightTheme:
|
|
26
|
-
darkTheme:
|
|
27
|
-
} =
|
|
28
|
-
|
|
29
|
-
|
|
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:
|
|
33
|
-
} =
|
|
34
|
-
return
|
|
35
|
-
|
|
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
|
-
|
|
54
|
+
u.finish(), l.value = !1;
|
|
41
55
|
}, 500);
|
|
42
|
-
}),
|
|
43
|
-
const
|
|
44
|
-
|
|
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(
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
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(
|
|
54
|
-
default: () => [o(
|
|
55
|
-
default: () => [o(
|
|
56
|
-
default: () => [o(
|
|
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
|
-
|
|
81
|
+
ze as DuxGlobalLayout
|
|
67
82
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as
|
|
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
|
|
62
|
+
const kt = /* @__PURE__ */ l({
|
|
49
63
|
name: "DuxLayoutPage",
|
|
50
64
|
props: {},
|
|
51
65
|
setup() {
|
|
52
66
|
const {
|
|
53
|
-
menuMobileCollapsed:
|
|
54
|
-
setMenuMobileCollapsed:
|
|
67
|
+
menuMobileCollapsed: i,
|
|
68
|
+
setMenuMobileCollapsed: r
|
|
55
69
|
} = v(), {
|
|
56
|
-
config:
|
|
70
|
+
config: e
|
|
57
71
|
} = u(), {
|
|
58
|
-
mutate:
|
|
72
|
+
mutate: o
|
|
59
73
|
} = a(), {
|
|
60
74
|
pause: m,
|
|
61
|
-
resume:
|
|
75
|
+
resume: p
|
|
62
76
|
} = f(() => {
|
|
63
|
-
|
|
77
|
+
o();
|
|
64
78
|
}, 1e3 * 60 * 10);
|
|
65
79
|
return n(() => {
|
|
66
|
-
|
|
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: () =>
|
|
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
|
-
}, [
|
|
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
|
-
|
|
108
|
+
kt as DuxLayoutPage
|
|
95
109
|
};
|