@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.
- package/dist/cjs/component.cjs +1 -1
- package/dist/cjs/components/card/card.cjs +1 -1
- package/dist/cjs/components/card/store.cjs +1 -1
- package/dist/cjs/components/carousel/carousel.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/crop/imageCropModal.cjs +1 -1
- package/dist/cjs/components/dashboard/hello.cjs +1 -1
- package/dist/cjs/components/dashboard/helloBig.cjs +1 -1
- package/dist/cjs/components/dashboard/quick.cjs +1 -1
- package/dist/cjs/components/data/dynamicData.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/dialog/dialog.cjs +1 -1
- package/dist/cjs/components/drawer/drawer.cjs +1 -1
- package/dist/cjs/components/drawer/drawerPage.cjs +1 -1
- package/dist/cjs/components/editor/aiEditor.cjs +1 -1
- package/dist/cjs/components/form/drawerForm.cjs +1 -1
- package/dist/cjs/components/form/formItem.cjs +1 -1
- package/dist/cjs/components/form/formLayout.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/settingForm.cjs +1 -1
- package/dist/cjs/components/icon/icon.cjs +1 -1
- package/dist/cjs/components/icon/iconPicker.cjs +1 -1
- package/dist/cjs/components/image/components/CanvasRuler.cjs +1 -0
- package/dist/cjs/components/image/elements/circle.cjs +1 -0
- package/dist/cjs/components/image/elements/image.cjs +1 -0
- package/dist/cjs/components/image/elements/index.cjs +1 -0
- package/dist/cjs/components/image/elements/rect.cjs +1 -0
- package/dist/cjs/components/image/elements/text.cjs +1 -0
- package/dist/cjs/components/image/hooks/usePosterEditor.cjs +1 -0
- package/dist/cjs/components/image/pages/LeftToolbar.cjs +1 -0
- package/dist/cjs/components/image/pages/Panel.cjs +1 -0
- package/dist/cjs/components/image/pages/PanelItem.cjs +1 -0
- package/dist/cjs/components/image/pages/RightPanel.cjs +1 -0
- package/dist/cjs/components/image/posterEditor.cjs +1 -0
- package/dist/cjs/components/layout/filter.cjs +1 -1
- package/dist/cjs/components/layout/filterLayout.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/layout/tools.cjs +1 -1
- package/dist/cjs/components/level/level.cjs +1 -1
- package/dist/cjs/components/list/card.cjs +1 -1
- package/dist/cjs/components/list/list.cjs +1 -1
- package/dist/cjs/components/media/media.cjs +1 -1
- package/dist/cjs/components/modal/modal.cjs +1 -1
- package/dist/cjs/components/modal/modalPage.cjs +1 -1
- package/dist/cjs/components/modal/modalTab.cjs +1 -1
- package/dist/cjs/components/panel/alert.cjs +1 -1
- package/dist/cjs/components/panel/collapse.cjs +1 -1
- package/dist/cjs/components/panel/setting.cjs +1 -1
- package/dist/cjs/components/select/cardSelect.cjs +1 -1
- package/dist/cjs/components/status/listEmpty.cjs +1 -1
- package/dist/cjs/components/table/table.cjs +1 -1
- package/dist/cjs/components/table/tablePage.cjs +1 -1
- package/dist/cjs/components/tree/treeFilter.cjs +1 -1
- package/dist/cjs/components/upload/config.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/components/widget/connect.cjs +1 -1
- package/dist/cjs/dvha-pro.css +1 -1
- package/dist/cjs/hooks/action.cjs +1 -1
- package/dist/cjs/hooks/dialog.cjs +1 -1
- package/dist/cjs/hooks/download.cjs +1 -1
- package/dist/cjs/hooks/drawer.cjs +1 -1
- package/dist/cjs/hooks/echart.cjs +1 -1
- package/dist/cjs/hooks/image.cjs +1 -1
- package/dist/cjs/hooks/level.cjs +1 -1
- package/dist/cjs/hooks/modal.cjs +1 -1
- package/dist/cjs/hooks/table/color.cjs +1 -0
- package/dist/cjs/hooks/table/column.cjs +1 -1
- package/dist/cjs/hooks/table/image.cjs +1 -1
- package/dist/cjs/hooks/table/input.cjs +1 -1
- package/dist/cjs/hooks/table/map.cjs +1 -1
- package/dist/cjs/hooks/table/media.cjs +1 -1
- package/dist/cjs/hooks/table/status.cjs +1 -1
- package/dist/cjs/hooks/table/switch.cjs +1 -1
- package/dist/cjs/hooks/table.cjs +1 -1
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/pages/authLayout.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/layout/tab.cjs +1 -1
- package/dist/cjs/pages/layout.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/page.cjs +1 -1
- package/dist/cjs/pages/page404.cjs +1 -1
- package/dist/cjs/pages/pageStatus.cjs +1 -1
- package/dist/cjs/stores/ui.cjs +1 -1
- package/dist/cjs/theme/uno.css.cjs +26 -1
- package/dist/esm/component.js +49 -47
- package/dist/esm/components/card/card.js +24 -27
- package/dist/esm/components/card/store.js +33 -39
- package/dist/esm/components/carousel/carousel.js +16 -19
- package/dist/esm/components/chart/echart.js +15 -13
- package/dist/esm/components/crop/imageCrop.js +45 -46
- package/dist/esm/components/crop/imageCropModal.js +36 -37
- package/dist/esm/components/dashboard/hello.js +27 -30
- package/dist/esm/components/dashboard/helloBig.js +328 -331
- package/dist/esm/components/dashboard/quick.js +30 -33
- package/dist/esm/components/data/dynamicData.js +86 -98
- package/dist/esm/components/data/dynamicSelect.js +42 -42
- package/dist/esm/components/data/selectModal.js +58 -60
- package/dist/esm/components/dialog/dialog.js +54 -55
- package/dist/esm/components/drawer/drawer.js +23 -23
- package/dist/esm/components/drawer/drawerPage.js +39 -49
- package/dist/esm/components/editor/aiEditor.js +64 -70
- package/dist/esm/components/form/drawerForm.js +61 -59
- package/dist/esm/components/form/formItem.js +45 -51
- package/dist/esm/components/form/formLayout.js +7 -10
- package/dist/esm/components/form/modalForm.js +63 -61
- package/dist/esm/components/form/pageForm.js +56 -57
- package/dist/esm/components/form/settingForm.js +43 -44
- package/dist/esm/components/icon/icon.js +15 -13
- package/dist/esm/components/icon/iconPicker.js +54 -58
- package/dist/esm/components/image/components/CanvasRuler.js +113 -0
- package/dist/esm/components/image/elements/circle.js +127 -0
- package/dist/esm/components/image/elements/image.js +131 -0
- package/dist/esm/components/image/elements/index.js +46 -0
- package/dist/esm/components/image/elements/rect.js +171 -0
- package/dist/esm/components/image/elements/text.js +206 -0
- package/dist/esm/components/image/hooks/usePosterEditor.js +434 -0
- package/dist/esm/components/image/pages/LeftToolbar.js +40 -0
- package/dist/esm/components/image/pages/Panel.js +31 -0
- package/dist/esm/components/image/pages/PanelItem.js +22 -0
- package/dist/esm/components/image/pages/RightPanel.js +421 -0
- package/dist/esm/components/image/posterEditor.js +227 -0
- package/dist/esm/components/layout/filter.js +13 -16
- package/dist/esm/components/layout/filterLayout.js +7 -10
- package/dist/esm/components/layout/list.js +312 -337
- package/dist/esm/components/layout/table.js +281 -294
- package/dist/esm/components/layout/tools.js +38 -41
- package/dist/esm/components/level/level.js +15 -13
- package/dist/esm/components/list/card.js +35 -38
- package/dist/esm/components/list/list.js +15 -18
- package/dist/esm/components/media/media.js +35 -36
- package/dist/esm/components/modal/modal.js +10 -10
- package/dist/esm/components/modal/modalPage.js +32 -36
- package/dist/esm/components/modal/modalTab.js +39 -45
- package/dist/esm/components/panel/alert.js +19 -22
- package/dist/esm/components/panel/collapse.js +33 -36
- package/dist/esm/components/panel/setting.js +25 -31
- package/dist/esm/components/select/cardSelect.js +27 -28
- package/dist/esm/components/status/listEmpty.js +13 -13
- package/dist/esm/components/table/table.js +15 -13
- package/dist/esm/components/table/tablePage.js +25 -25
- package/dist/esm/components/tree/treeFilter.js +137 -147
- package/dist/esm/components/upload/config.js +15 -27
- package/dist/esm/components/upload/file.js +115 -109
- package/dist/esm/components/upload/image.js +135 -130
- package/dist/esm/components/upload/manage/item.js +59 -60
- package/dist/esm/components/upload/manager.js +203 -218
- package/dist/esm/components/widget/connect.js +103 -106
- package/dist/esm/dvha-pro.css +1 -1
- package/dist/esm/hooks/action.js +115 -131
- package/dist/esm/hooks/dialog.js +15 -13
- package/dist/esm/hooks/download.js +55 -56
- package/dist/esm/hooks/drawer.js +15 -13
- package/dist/esm/hooks/echart.js +156 -179
- package/dist/esm/hooks/image.js +14 -15
- package/dist/esm/hooks/level.js +7 -7
- package/dist/esm/hooks/modal.js +15 -13
- package/dist/esm/hooks/table/color.js +19 -0
- package/dist/esm/hooks/table/column.js +25 -23
- package/dist/esm/hooks/table/image.js +17 -15
- package/dist/esm/hooks/table/input.js +28 -28
- package/dist/esm/hooks/table/map.js +7 -7
- package/dist/esm/hooks/table/media.js +15 -13
- package/dist/esm/hooks/table/status.js +8 -9
- package/dist/esm/hooks/table/switch.js +19 -19
- package/dist/esm/hooks/table.js +27 -31
- package/dist/esm/index.js +213 -200
- package/dist/esm/pages/authLayout.js +15 -13
- package/dist/esm/pages/layout/global.js +12 -15
- package/dist/esm/pages/layout/page.js +15 -13
- package/dist/esm/pages/layout/tab.js +58 -71
- package/dist/esm/pages/layout.js +7 -6
- package/dist/esm/pages/login.js +95 -98
- package/dist/esm/pages/menu/avatar.js +151 -162
- package/dist/esm/pages/menu/button.js +29 -31
- package/dist/esm/pages/menu/cmd.js +83 -87
- package/dist/esm/pages/menu/main.js +25 -23
- package/dist/esm/pages/menu/mobile.js +15 -13
- package/dist/esm/pages/page.js +21 -25
- package/dist/esm/pages/page404.js +13 -11
- package/dist/esm/pages/pageStatus.js +33 -34
- package/dist/esm/stores/ui.js +15 -15
- package/dist/esm/theme/uno.css.js +26 -1
- package/dist/types/components/form/drawerForm.d.ts +6 -0
- package/dist/types/components/form/modalForm.d.ts +6 -0
- package/dist/types/components/form/pageForm.d.ts +6 -0
- package/dist/types/components/form/settingForm.d.ts +6 -0
- package/dist/types/components/image/components/CanvasRuler.d.ts +43 -0
- package/dist/types/components/image/components/index.d.ts +1 -0
- package/dist/types/components/image/elements/circle.d.ts +3 -0
- package/dist/types/components/image/elements/image.d.ts +3 -0
- package/dist/types/components/image/elements/index.d.ts +15 -0
- package/dist/types/components/image/elements/rect.d.ts +3 -0
- package/dist/types/components/image/elements/text.d.ts +3 -0
- package/dist/types/components/image/elements/types.d.ts +51 -0
- package/dist/types/components/image/hooks/index.d.ts +1 -0
- package/dist/types/components/image/hooks/usePosterEditor.d.ts +48 -0
- package/dist/types/components/image/index.d.ts +4 -0
- package/dist/types/components/image/pages/LeftToolbar.d.ts +33 -0
- package/dist/types/components/image/pages/Panel.d.ts +11 -0
- package/dist/types/components/image/pages/PanelItem.d.ts +11 -0
- package/dist/types/components/image/pages/RightPanel.d.ts +208 -0
- package/dist/types/components/image/pages/index.d.ts +4 -0
- package/dist/types/components/image/posterEditor.d.ts +61 -0
- package/dist/types/components/image/types/editor.d.ts +47 -0
- package/dist/types/components/index.d.ts +2 -2
- package/dist/types/components/layout/table.d.ts +9 -0
- package/dist/types/components/stats/number.d.ts +1 -1
- package/dist/types/components/table/tablePage.d.ts +9 -0
- package/dist/types/components/upload/file.d.ts +5 -3
- package/dist/types/hooks/table/color.d.ts +13 -0
- package/dist/types/hooks/table/column.d.ts +1 -0
- package/dist/types/hooks/table/index.d.ts +1 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/pages/layout/global.d.ts +0 -1
- 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 {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
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
|
|
17
|
-
import { useDialog as
|
|
18
|
-
import { useDownload as
|
|
19
|
-
import { useDrawer as
|
|
20
|
-
import { useEchartBar as
|
|
21
|
-
import { useImagePreview as
|
|
22
|
-
import { useLevel as
|
|
23
|
-
import { useModal as
|
|
24
|
-
import { useTable as
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import { default as
|
|
35
|
-
import { default as
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
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 {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
69
|
-
import {
|
|
70
|
-
import {
|
|
71
|
-
import {
|
|
72
|
-
import {
|
|
73
|
-
import {
|
|
74
|
-
import {
|
|
75
|
-
import {
|
|
76
|
-
import {
|
|
77
|
-
import {
|
|
78
|
-
import {
|
|
79
|
-
import {
|
|
80
|
-
import {
|
|
81
|
-
import {
|
|
82
|
-
import {
|
|
83
|
-
import {
|
|
84
|
-
import {
|
|
85
|
-
import {
|
|
86
|
-
import {
|
|
87
|
-
import {
|
|
88
|
-
import {
|
|
89
|
-
import {
|
|
90
|
-
import {
|
|
91
|
-
import {
|
|
92
|
-
import {
|
|
93
|
-
import {
|
|
94
|
-
import {
|
|
95
|
-
import {
|
|
96
|
-
import {
|
|
97
|
-
import {
|
|
98
|
-
import {
|
|
99
|
-
import {
|
|
100
|
-
import {
|
|
101
|
-
import {
|
|
102
|
-
import {
|
|
103
|
-
import {
|
|
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
|
-
|
|
110
|
+
Yo as DuxAiEditor,
|
|
106
111
|
a as DuxApp,
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
112
|
+
he as DuxAuthLayout,
|
|
113
|
+
ie as DuxAvatar,
|
|
114
|
+
Zr as DuxBlockEmpty,
|
|
110
115
|
f as DuxCard,
|
|
111
|
-
|
|
116
|
+
Br as DuxCardPage,
|
|
112
117
|
n as DuxCarousel,
|
|
113
118
|
g as DuxChart,
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
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
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
cr as
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
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
|
|
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
|
-
|
|
58
|
+
X as DuxAuthLayout
|
|
57
59
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as C, inject as T, onBeforeMount as L, computed as
|
|
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:
|
|
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"),
|
|
25
|
-
lightTheme:
|
|
26
|
-
darkTheme:
|
|
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:
|
|
33
|
-
} = b(), h =
|
|
34
|
-
return
|
|
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
|
-
|
|
40
|
+
s.finish(), u.value = !1;
|
|
41
41
|
}, 500);
|
|
42
|
-
}),
|
|
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 ?
|
|
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
|
|
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
|
-
|
|
93
|
+
ut as DuxLayoutPage
|
|
92
94
|
};
|