@duxweb/dvha-pro 1.0.24 → 1.0.26
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 -0
- package/dist/cjs/components/designEditor/editor/hook.cjs +1 -0
- package/dist/cjs/components/designEditor/editor/preview.cjs +1 -0
- package/dist/cjs/components/designEditor/editor/setting.cjs +1 -0
- package/dist/cjs/components/designEditor/editor.cjs +1 -0
- 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/formEditor/base/base.cjs +1 -0
- package/dist/cjs/components/formEditor/base/json.cjs +1 -0
- package/dist/cjs/components/formEditor/base/options.cjs +1 -0
- package/dist/cjs/components/formEditor/base/setting.cjs +1 -0
- package/dist/cjs/components/formEditor/components/cascader.cjs +1 -0
- package/dist/cjs/components/formEditor/components/cascaderAsync.cjs +1 -0
- package/dist/cjs/components/formEditor/components/checkbox.cjs +1 -0
- package/dist/cjs/components/formEditor/components/color.cjs +1 -0
- package/dist/cjs/components/formEditor/components/date.cjs +1 -0
- package/dist/cjs/components/formEditor/components/dynamicInput.cjs +1 -0
- package/dist/cjs/components/formEditor/components/dynamicTags.cjs +1 -0
- package/dist/cjs/components/formEditor/components/editor.cjs +1 -0
- package/dist/cjs/components/formEditor/components/input.cjs +1 -0
- package/dist/cjs/components/formEditor/components/inputNumber.cjs +1 -0
- package/dist/cjs/components/formEditor/components/mentionAsync.cjs +1 -0
- package/dist/cjs/components/formEditor/components/radio.cjs +1 -0
- package/dist/cjs/components/formEditor/components/region.cjs +1 -0
- package/dist/cjs/components/formEditor/components/select.cjs +1 -0
- package/dist/cjs/components/formEditor/components/selectAsync.cjs +1 -0
- package/dist/cjs/components/formEditor/components/sider.cjs +1 -0
- package/dist/cjs/components/formEditor/components/switch.cjs +1 -0
- package/dist/cjs/components/formEditor/components/time.cjs +1 -0
- package/dist/cjs/components/formEditor/components/transferAsync.cjs +1 -0
- package/dist/cjs/components/formEditor/components/treeSelect.cjs +1 -0
- package/dist/cjs/components/formEditor/components/treeSelectAsync.cjs +1 -0
- package/dist/cjs/components/formEditor/editor.cjs +1 -0
- package/dist/cjs/components/formEditor/json.cjs +1 -0
- package/dist/cjs/components/formEditor/preview.cjs +1 -0
- package/dist/cjs/components/formEditor/renderer.cjs +1 -0
- package/dist/cjs/components/icon/icon.cjs +1 -1
- package/dist/cjs/components/layout/grid.cjs +1 -0
- 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/components/CanvasRuler.cjs +1 -0
- package/dist/cjs/components/posterEditor/elements/circle.cjs +1 -0
- package/dist/cjs/components/posterEditor/elements/image.cjs +1 -0
- package/dist/cjs/components/posterEditor/elements/index.cjs +1 -0
- package/dist/cjs/components/posterEditor/elements/rect.cjs +1 -0
- package/dist/cjs/components/posterEditor/elements/text.cjs +1 -0
- package/dist/cjs/components/posterEditor/hooks/usePosterEditor.cjs +1 -0
- package/dist/cjs/components/posterEditor/pages/LeftToolbar.cjs +1 -0
- package/dist/cjs/components/posterEditor/pages/Panel.cjs +1 -0
- package/dist/cjs/components/posterEditor/pages/PanelItem.cjs +1 -0
- package/dist/cjs/components/posterEditor/pages/RightPanel.cjs +1 -0
- package/dist/cjs/components/posterEditor/posterEditor.cjs +1 -0
- 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/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/langs/en-US.json.cjs +1 -1
- package/dist/cjs/langs/zh-CN.json.cjs +1 -1
- package/dist/cjs/pages/authLayout.cjs +1 -1
- package/dist/cjs/pages/layout/page.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/page404.cjs +1 -1
- package/dist/cjs/pages/pageStatus.cjs +1 -1
- package/dist/cjs/theme/uno.css.cjs +58 -2
- package/dist/esm/component.js +52 -48
- package/dist/esm/components/chart/echart.js +18 -15
- package/dist/esm/components/crop/imageCrop.js +19 -16
- package/dist/esm/components/data/dynamicSelect.js +20 -17
- package/dist/esm/components/data/selectModal.js +23 -20
- package/dist/esm/components/designEditor/components/grid.js +175 -0
- package/dist/esm/components/designEditor/editor/hook.js +87 -0
- package/dist/esm/components/designEditor/editor/preview.js +65 -0
- package/dist/esm/components/designEditor/editor/setting.js +98 -0
- package/dist/esm/components/designEditor/editor.js +161 -0
- package/dist/esm/components/form/drawerForm.js +25 -22
- package/dist/esm/components/form/formItem.js +33 -33
- package/dist/esm/components/form/formLayout.js +11 -11
- package/dist/esm/components/form/modalForm.js +30 -27
- package/dist/esm/components/form/pageForm.js +21 -18
- package/dist/esm/components/form/settingForm.js +14 -11
- package/dist/esm/components/formEditor/base/base.js +117 -0
- package/dist/esm/components/formEditor/base/json.js +39 -0
- package/dist/esm/components/formEditor/base/options.js +48 -0
- package/dist/esm/components/formEditor/base/setting.js +108 -0
- package/dist/esm/components/formEditor/components/cascader.js +219 -0
- package/dist/esm/components/formEditor/components/cascaderAsync.js +213 -0
- package/dist/esm/components/formEditor/components/checkbox.js +212 -0
- package/dist/esm/components/formEditor/components/color.js +156 -0
- package/dist/esm/components/formEditor/components/date.js +197 -0
- package/dist/esm/components/formEditor/components/dynamicInput.js +227 -0
- package/dist/esm/components/formEditor/components/dynamicTags.js +150 -0
- package/dist/esm/components/formEditor/components/editor.js +139 -0
- package/dist/esm/components/formEditor/components/input.js +211 -0
- package/dist/esm/components/formEditor/components/inputNumber.js +188 -0
- package/dist/esm/components/formEditor/components/mentionAsync.js +180 -0
- package/dist/esm/components/formEditor/components/radio.js +212 -0
- package/dist/esm/components/formEditor/components/region.js +167 -0
- package/dist/esm/components/formEditor/components/select.js +203 -0
- package/dist/esm/components/formEditor/components/selectAsync.js +214 -0
- package/dist/esm/components/formEditor/components/sider.js +168 -0
- package/dist/esm/components/formEditor/components/switch.js +153 -0
- package/dist/esm/components/formEditor/components/time.js +171 -0
- package/dist/esm/components/formEditor/components/transferAsync.js +193 -0
- package/dist/esm/components/formEditor/components/treeSelect.js +207 -0
- package/dist/esm/components/formEditor/components/treeSelectAsync.js +179 -0
- package/dist/esm/components/formEditor/editor.js +162 -0
- package/dist/esm/components/formEditor/json.js +24 -0
- package/dist/esm/components/formEditor/preview.js +38 -0
- package/dist/esm/components/formEditor/renderer.js +151 -0
- package/dist/esm/components/icon/icon.js +19 -16
- package/dist/esm/components/layout/grid.js +24 -0
- package/dist/esm/components/layout/list.js +29 -26
- package/dist/esm/components/layout/table.js +27 -24
- package/dist/esm/components/level/level.js +18 -15
- package/dist/esm/components/posterEditor/components/CanvasRuler.js +113 -0
- package/dist/esm/components/posterEditor/elements/circle.js +127 -0
- package/dist/esm/components/posterEditor/elements/image.js +131 -0
- package/dist/esm/components/posterEditor/elements/index.js +46 -0
- package/dist/esm/components/posterEditor/elements/rect.js +171 -0
- package/dist/esm/components/posterEditor/elements/text.js +206 -0
- package/dist/esm/components/posterEditor/hooks/usePosterEditor.js +434 -0
- package/dist/esm/components/posterEditor/pages/LeftToolbar.js +40 -0
- package/dist/esm/components/posterEditor/pages/Panel.js +31 -0
- package/dist/esm/components/posterEditor/pages/PanelItem.js +22 -0
- package/dist/esm/components/posterEditor/pages/RightPanel.js +422 -0
- package/dist/esm/components/posterEditor/posterEditor.js +228 -0
- package/dist/esm/components/table/table.js +18 -15
- package/dist/esm/components/upload/file.js +101 -90
- package/dist/esm/components/upload/image.js +109 -96
- package/dist/esm/components/upload/manage/item.js +18 -15
- package/dist/esm/components/upload/manager.js +68 -65
- package/dist/esm/hooks/dialog.js +19 -16
- package/dist/esm/hooks/drawer.js +19 -16
- package/dist/esm/hooks/modal.js +18 -15
- package/dist/esm/hooks/table/image.js +18 -15
- package/dist/esm/hooks/table/media.js +18 -15
- package/dist/esm/index.js +230 -202
- package/dist/esm/langs/en-US.json.js +10 -10
- package/dist/esm/langs/zh-CN.json.js +8 -8
- package/dist/esm/pages/authLayout.js +19 -16
- package/dist/esm/pages/layout/page.js +18 -15
- package/dist/esm/pages/layout.js +7 -6
- package/dist/esm/pages/login.js +19 -17
- package/dist/esm/pages/menu/avatar.js +23 -20
- package/dist/esm/pages/menu/button.js +18 -15
- package/dist/esm/pages/menu/cmd.js +29 -26
- package/dist/esm/pages/menu/main.js +28 -25
- package/dist/esm/pages/menu/mobile.js +18 -15
- package/dist/esm/pages/page404.js +16 -13
- package/dist/esm/pages/pageStatus.js +21 -18
- package/dist/esm/theme/uno.css.js +58 -2
- package/dist/types/components/designEditor/components/grid.d.ts +2 -0
- package/dist/types/components/designEditor/components/index.d.ts +1 -0
- package/dist/types/components/designEditor/editor/hook.d.ts +57 -0
- package/dist/types/components/designEditor/editor/index.d.ts +3 -0
- package/dist/types/components/designEditor/editor/preview.d.ts +15 -0
- package/dist/types/components/designEditor/editor/setting.d.ts +14 -0
- package/dist/types/components/designEditor/editor.d.ts +19 -0
- package/dist/types/components/designEditor/index.d.ts +3 -0
- package/dist/types/components/form/drawerForm.d.ts +2 -2
- package/dist/types/components/form/formLayout.d.ts +2 -2
- package/dist/types/components/form/modalForm.d.ts +2 -2
- package/dist/types/components/formEditor/base/base.d.ts +26 -0
- package/dist/types/components/formEditor/base/index.d.ts +4 -0
- package/dist/types/components/formEditor/base/json.d.ts +18 -0
- package/dist/types/components/formEditor/base/options.d.ts +23 -0
- package/dist/types/components/formEditor/base/setting.d.ts +13 -0
- package/dist/types/components/formEditor/components/cascader.d.ts +2 -0
- package/dist/types/components/formEditor/components/cascaderAsync.d.ts +2 -0
- package/dist/types/components/formEditor/components/checkbox.d.ts +2 -0
- package/dist/types/components/formEditor/components/color.d.ts +2 -0
- package/dist/types/components/formEditor/components/date.d.ts +2 -0
- package/dist/types/components/formEditor/components/dynamicInput.d.ts +2 -0
- package/dist/types/components/formEditor/components/dynamicTags.d.ts +2 -0
- package/dist/types/components/formEditor/components/editor.d.ts +2 -0
- package/dist/types/components/formEditor/components/index.d.ts +21 -0
- package/dist/types/components/formEditor/components/input.d.ts +2 -0
- package/dist/types/components/formEditor/components/inputNumber.d.ts +2 -0
- package/dist/types/components/formEditor/components/mentionAsync.d.ts +2 -0
- package/dist/types/components/formEditor/components/radio.d.ts +2 -0
- package/dist/types/components/formEditor/components/region.d.ts +2 -0
- package/dist/types/components/formEditor/components/select.d.ts +2 -0
- package/dist/types/components/formEditor/components/selectAsync.d.ts +2 -0
- package/dist/types/components/formEditor/components/sider.d.ts +2 -0
- package/dist/types/components/formEditor/components/switch.d.ts +2 -0
- package/dist/types/components/formEditor/components/time.d.ts +2 -0
- package/dist/types/components/formEditor/components/transferAsync.d.ts +2 -0
- package/dist/types/components/formEditor/components/treeSelect.d.ts +2 -0
- package/dist/types/components/formEditor/components/treeSelectAsync.d.ts +2 -0
- package/dist/types/components/formEditor/editor.d.ts +22 -0
- package/dist/types/components/formEditor/index.d.ts +2 -0
- package/dist/types/components/formEditor/json.d.ts +14 -0
- package/dist/types/components/formEditor/preview.d.ts +25 -0
- package/dist/types/components/formEditor/renderer.d.ts +58 -0
- package/dist/types/components/index.d.ts +4 -2
- package/dist/types/components/layout/filterLayout.d.ts +1 -1
- package/dist/types/components/layout/grid.d.ts +22 -0
- package/dist/types/components/layout/index.d.ts +1 -0
- package/dist/types/components/posterEditor/components/CanvasRuler.d.ts +43 -0
- package/dist/types/components/posterEditor/components/index.d.ts +1 -0
- package/dist/types/components/posterEditor/elements/circle.d.ts +3 -0
- package/dist/types/components/posterEditor/elements/image.d.ts +3 -0
- package/dist/types/components/posterEditor/elements/index.d.ts +15 -0
- package/dist/types/components/posterEditor/elements/rect.d.ts +3 -0
- package/dist/types/components/posterEditor/elements/text.d.ts +3 -0
- package/dist/types/components/posterEditor/elements/types.d.ts +51 -0
- package/dist/types/components/posterEditor/hooks/index.d.ts +1 -0
- package/dist/types/components/posterEditor/hooks/usePosterEditor.d.ts +48 -0
- package/dist/types/components/posterEditor/index.d.ts +4 -0
- package/dist/types/components/posterEditor/pages/LeftToolbar.d.ts +33 -0
- package/dist/types/components/posterEditor/pages/Panel.d.ts +11 -0
- package/dist/types/components/posterEditor/pages/PanelItem.d.ts +11 -0
- package/dist/types/components/posterEditor/pages/RightPanel.d.ts +208 -0
- package/dist/types/components/posterEditor/pages/index.d.ts +4 -0
- package/dist/types/components/posterEditor/posterEditor.d.ts +61 -0
- package/dist/types/components/posterEditor/types/editor.d.ts +47 -0
- package/dist/types/components/stats/number.d.ts +1 -1
- package/dist/types/components/upload/file.d.ts +5 -3
- package/dist/types/index.d.ts +1 -0
- package/dist/types/pages/layout/global.d.ts +0 -1
- package/package.json +7 -3
|
@@ -6,36 +6,39 @@ 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";
|
|
12
23
|
import "vue-draggable-plus";
|
|
13
|
-
import "aieditor";
|
|
14
|
-
import "vee-validate";
|
|
15
24
|
import { DuxGlobalLayout as i } from "./layout/global.js";
|
|
16
25
|
import { DuxLayoutPage as p } from "./layout/page.js";
|
|
17
26
|
import { DuxMenuCmd as l } from "./menu/cmd.js";
|
|
18
27
|
import { DuxMenuMain as e } from "./menu/main.js";
|
|
19
28
|
import { DuxMobileMenu as u } from "./menu/mobile.js";
|
|
20
29
|
import "./page404.js";
|
|
30
|
+
import "short-unique-id";
|
|
31
|
+
import "aieditor";
|
|
32
|
+
import "vee-validate";
|
|
33
|
+
import "@duxweb/dvha-naiveui";
|
|
21
34
|
import "@iconify-json/tabler/icons.json";
|
|
35
|
+
import "../components/posterEditor/elements/index.js";
|
|
36
|
+
import "fabric";
|
|
22
37
|
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
38
|
import "dayjs";
|
|
35
39
|
import "@tanstack/vue-query";
|
|
36
|
-
import "@duxweb/dvha-naiveui";
|
|
37
40
|
import { useUI as n } from "../hooks/ui.js";
|
|
38
|
-
const
|
|
41
|
+
const Y = /* @__PURE__ */ t({
|
|
39
42
|
name: "DuxAuthLayout",
|
|
40
43
|
setup() {
|
|
41
44
|
const {
|
|
@@ -53,5 +56,5 @@ const T = /* @__PURE__ */ t({
|
|
|
53
56
|
}
|
|
54
57
|
});
|
|
55
58
|
export {
|
|
56
|
-
|
|
59
|
+
Y as DuxAuthLayout
|
|
57
60
|
};
|
|
@@ -6,12 +6,21 @@ 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";
|
|
12
23
|
import "vue-draggable-plus";
|
|
13
|
-
import "aieditor";
|
|
14
|
-
import "vee-validate";
|
|
15
24
|
import "@vee-validate/i18n";
|
|
16
25
|
import "colorizr";
|
|
17
26
|
import "echarts";
|
|
@@ -21,28 +30,22 @@ import "@unocss/preset-typography";
|
|
|
21
30
|
import "unocss/preset-wind4";
|
|
22
31
|
import "@vee-validate/i18n/dist/locale/en.json";
|
|
23
32
|
import "@vee-validate/i18n/dist/locale/zh_CN.json";
|
|
33
|
+
import "vee-validate";
|
|
24
34
|
import x from "../menu/avatar.js";
|
|
25
35
|
import "vue-command-palette";
|
|
26
36
|
import "@duxweb/dvha-naiveui";
|
|
27
37
|
import { DuxPageTab as g } from "./tab.js";
|
|
28
38
|
import "../page404.js";
|
|
39
|
+
import "short-unique-id";
|
|
40
|
+
import "aieditor";
|
|
29
41
|
import "@iconify-json/tabler/icons.json";
|
|
42
|
+
import "../../components/posterEditor/elements/index.js";
|
|
43
|
+
import "fabric";
|
|
30
44
|
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
45
|
import "dayjs";
|
|
43
46
|
import "@tanstack/vue-query";
|
|
44
47
|
import { useUI as v } from "../../hooks/ui.js";
|
|
45
|
-
const
|
|
48
|
+
const at = /* @__PURE__ */ p({
|
|
46
49
|
name: "DuxLayoutPage",
|
|
47
50
|
props: {},
|
|
48
51
|
setup() {
|
|
@@ -88,5 +91,5 @@ const nt = /* @__PURE__ */ p({
|
|
|
88
91
|
}
|
|
89
92
|
});
|
|
90
93
|
export {
|
|
91
|
-
|
|
94
|
+
at as DuxLayoutPage
|
|
92
95
|
};
|
package/dist/esm/pages/layout.js
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { defineComponent as t, createVNode as o } from "vue";
|
|
2
|
-
import { RouterView as
|
|
3
|
-
import { DuxGlobalLayout as
|
|
4
|
-
const
|
|
2
|
+
import { useRouter as u, RouterView as r } from "vue-router";
|
|
3
|
+
import { DuxGlobalLayout as l } from "./layout/global.js";
|
|
4
|
+
const p = /* @__PURE__ */ t({
|
|
5
5
|
name: "DuxLayout",
|
|
6
6
|
setup() {
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
const e = u();
|
|
8
|
+
return console.log(e.getRoutes()), () => o(l, null, {
|
|
9
|
+
default: () => [o(r, null, null)]
|
|
9
10
|
});
|
|
10
11
|
}
|
|
11
12
|
});
|
|
12
13
|
export {
|
|
13
|
-
|
|
14
|
+
p as DuxLayout
|
|
14
15
|
};
|
package/dist/esm/pages/login.js
CHANGED
|
@@ -12,12 +12,21 @@ import "@tanstack/vue-query";
|
|
|
12
12
|
import "@duxweb/dvha-naiveui";
|
|
13
13
|
import "@vueuse/core";
|
|
14
14
|
import "pinia";
|
|
15
|
+
import "vue3-ace-editor";
|
|
16
|
+
import "ace-builds/src-noconflict/mode-vue";
|
|
17
|
+
import "ace-builds/src-noconflict/mode-javascript";
|
|
18
|
+
import "ace-builds/src-noconflict/mode-html";
|
|
19
|
+
import "ace-builds/src-noconflict/mode-json";
|
|
20
|
+
import "ace-builds/src-noconflict/mode-json5";
|
|
21
|
+
import "ace-builds/src-noconflict/theme-tomorrow_night";
|
|
22
|
+
import "ace-builds/src-noconflict/theme-tomorrow";
|
|
23
|
+
import "ace-builds/src-noconflict/ext-searchbox";
|
|
24
|
+
import "ace-builds/src-noconflict/ext-language_tools";
|
|
25
|
+
import "ace-builds/src-noconflict/mode-snippets";
|
|
15
26
|
import "vue-cropper";
|
|
16
27
|
import "jinrishici";
|
|
17
28
|
import "vue-draggable-plus";
|
|
18
29
|
import { DuxDrawApps as S } from "../components/draw/drawApps.js";
|
|
19
|
-
import "aieditor";
|
|
20
|
-
import "vee-validate";
|
|
21
30
|
import "@vee-validate/i18n";
|
|
22
31
|
import "colorizr";
|
|
23
32
|
import "echarts";
|
|
@@ -27,24 +36,18 @@ import "@unocss/preset-typography";
|
|
|
27
36
|
import "unocss/preset-wind4";
|
|
28
37
|
import "@vee-validate/i18n/dist/locale/en.json";
|
|
29
38
|
import "@vee-validate/i18n/dist/locale/zh_CN.json";
|
|
39
|
+
import "vee-validate";
|
|
30
40
|
import "vue-command-palette";
|
|
31
41
|
import "./page404.js";
|
|
42
|
+
import "short-unique-id";
|
|
43
|
+
import "aieditor";
|
|
32
44
|
import "@iconify-json/tabler/icons.json";
|
|
33
|
-
import "
|
|
34
|
-
import "
|
|
35
|
-
import "ace-builds/src-noconflict/mode-javascript";
|
|
36
|
-
import "ace-builds/src-noconflict/mode-html";
|
|
37
|
-
import "ace-builds/src-noconflict/mode-json";
|
|
38
|
-
import "ace-builds/src-noconflict/mode-json5";
|
|
39
|
-
import "ace-builds/src-noconflict/theme-tomorrow_night";
|
|
40
|
-
import "ace-builds/src-noconflict/theme-tomorrow";
|
|
41
|
-
import "ace-builds/src-noconflict/ext-searchbox";
|
|
42
|
-
import "ace-builds/src-noconflict/ext-language_tools";
|
|
43
|
-
import "ace-builds/src-noconflict/mode-snippets";
|
|
45
|
+
import "../components/posterEditor/elements/index.js";
|
|
46
|
+
import "fabric";
|
|
44
47
|
function V(i) {
|
|
45
48
|
return typeof i == "function" || Object.prototype.toString.call(i) === "[object Object]" && !x(i);
|
|
46
49
|
}
|
|
47
|
-
const
|
|
50
|
+
const je = /* @__PURE__ */ h({
|
|
48
51
|
name: "DuxLoginPage",
|
|
49
52
|
setup(i, {
|
|
50
53
|
slots: u
|
|
@@ -70,7 +73,6 @@ const be = /* @__PURE__ */ h({
|
|
|
70
73
|
return () => {
|
|
71
74
|
let l;
|
|
72
75
|
return e("div", {
|
|
73
|
-
"un-cloak": !0,
|
|
74
76
|
class: L(["h-screen w-screen flex items-start justify-center text-secondary md:items-center", r.isDark.value ? "app-login-dark-bg" : "app-login-bg"])
|
|
75
77
|
}, [e("div", {
|
|
76
78
|
class: "relative md:m-4 max-w-180 w-full h-full md:h-auto grid-cols-1 md:grid-cols-2 gap-12 overflow-hidden md:rounded-lg p-8 md:shadow bg-default dark:bg-muted grid"
|
|
@@ -156,11 +158,11 @@ const be = /* @__PURE__ */ h({
|
|
|
156
158
|
default: () => [l]
|
|
157
159
|
})])]
|
|
158
160
|
})]), e("div", {
|
|
159
|
-
class: "text-center text-sm text-
|
|
161
|
+
class: "text-center text-sm text-muted"
|
|
160
162
|
}, [o.config?.copyright || "All rights reserved © duxweb 2024"])])])]);
|
|
161
163
|
};
|
|
162
164
|
}
|
|
163
165
|
});
|
|
164
166
|
export {
|
|
165
|
-
|
|
167
|
+
je as DuxLoginPage
|
|
166
168
|
};
|
|
@@ -13,11 +13,20 @@ import "@tanstack/vue-query";
|
|
|
13
13
|
import "@duxweb/dvha-naiveui";
|
|
14
14
|
import "@vueuse/core";
|
|
15
15
|
import "pinia";
|
|
16
|
+
import "vue3-ace-editor";
|
|
17
|
+
import "ace-builds/src-noconflict/mode-vue";
|
|
18
|
+
import "ace-builds/src-noconflict/mode-javascript";
|
|
19
|
+
import "ace-builds/src-noconflict/mode-html";
|
|
20
|
+
import "ace-builds/src-noconflict/mode-json";
|
|
21
|
+
import "ace-builds/src-noconflict/mode-json5";
|
|
22
|
+
import "ace-builds/src-noconflict/theme-tomorrow_night";
|
|
23
|
+
import "ace-builds/src-noconflict/theme-tomorrow";
|
|
24
|
+
import "ace-builds/src-noconflict/ext-searchbox";
|
|
25
|
+
import "ace-builds/src-noconflict/ext-language_tools";
|
|
26
|
+
import "ace-builds/src-noconflict/mode-snippets";
|
|
16
27
|
import "vue-cropper";
|
|
17
28
|
import "jinrishici";
|
|
18
29
|
import "vue-draggable-plus";
|
|
19
|
-
import "aieditor";
|
|
20
|
-
import "vee-validate";
|
|
21
30
|
import "@vee-validate/i18n";
|
|
22
31
|
import "colorizr";
|
|
23
32
|
import "echarts";
|
|
@@ -27,22 +36,16 @@ import "@unocss/preset-typography";
|
|
|
27
36
|
import "unocss/preset-wind4";
|
|
28
37
|
import "@vee-validate/i18n/dist/locale/en.json";
|
|
29
38
|
import "@vee-validate/i18n/dist/locale/zh_CN.json";
|
|
39
|
+
import "vee-validate";
|
|
30
40
|
import G from "./button.js";
|
|
31
41
|
import "vue-command-palette";
|
|
32
42
|
import "../page404.js";
|
|
43
|
+
import "short-unique-id";
|
|
44
|
+
import "aieditor";
|
|
33
45
|
import "@iconify-json/tabler/icons.json";
|
|
34
|
-
import "
|
|
35
|
-
import "
|
|
36
|
-
|
|
37
|
-
import "ace-builds/src-noconflict/mode-html";
|
|
38
|
-
import "ace-builds/src-noconflict/mode-json";
|
|
39
|
-
import "ace-builds/src-noconflict/mode-json5";
|
|
40
|
-
import "ace-builds/src-noconflict/theme-tomorrow_night";
|
|
41
|
-
import "ace-builds/src-noconflict/theme-tomorrow";
|
|
42
|
-
import "ace-builds/src-noconflict/ext-searchbox";
|
|
43
|
-
import "ace-builds/src-noconflict/ext-language_tools";
|
|
44
|
-
import "ace-builds/src-noconflict/mode-snippets";
|
|
45
|
-
const $e = /* @__PURE__ */ A({
|
|
46
|
+
import "../../components/posterEditor/elements/index.js";
|
|
47
|
+
import "fabric";
|
|
48
|
+
const Le = /* @__PURE__ */ A({
|
|
46
49
|
name: "DuxMenuAvatar",
|
|
47
50
|
props: {
|
|
48
51
|
collapsed: {
|
|
@@ -59,7 +62,7 @@ const $e = /* @__PURE__ */ A({
|
|
|
59
62
|
} = L(), {
|
|
60
63
|
mutate: k
|
|
61
64
|
} = R(), {
|
|
62
|
-
mode:
|
|
65
|
+
mode: m,
|
|
63
66
|
primaryColors: x,
|
|
64
67
|
neutralColors: C,
|
|
65
68
|
colorMapping: c,
|
|
@@ -161,13 +164,13 @@ const $e = /* @__PURE__ */ A({
|
|
|
161
164
|
key: "theme",
|
|
162
165
|
icon: () => n("i-tabler:brightness-half"),
|
|
163
166
|
children: [{
|
|
164
|
-
label: () => r(t("components.menu.followSystem"),
|
|
167
|
+
label: () => r(t("components.menu.followSystem"), m.value === "auto"),
|
|
165
168
|
key: "theme.auto"
|
|
166
169
|
}, {
|
|
167
|
-
label: () => r(t("components.menu.lightMode"),
|
|
170
|
+
label: () => r(t("components.menu.lightMode"), m.value === "light"),
|
|
168
171
|
key: "theme.light"
|
|
169
172
|
}, {
|
|
170
|
-
label: () => r(t("components.menu.darkMode"),
|
|
173
|
+
label: () => r(t("components.menu.darkMode"), m.value === "dark"),
|
|
171
174
|
key: "theme.dark"
|
|
172
175
|
}]
|
|
173
176
|
}, {
|
|
@@ -178,7 +181,7 @@ const $e = /* @__PURE__ */ A({
|
|
|
178
181
|
icon: () => n("i-tabler:logout")
|
|
179
182
|
}]);
|
|
180
183
|
function $(o, l) {
|
|
181
|
-
const
|
|
184
|
+
const u = o.lastIndexOf("."), [D, i] = u === -1 ? [o, ""] : [o.substring(0, u), o.substring(u + 1)];
|
|
182
185
|
switch (D) {
|
|
183
186
|
case "locale":
|
|
184
187
|
s.changeLocale(i);
|
|
@@ -229,5 +232,5 @@ const $e = /* @__PURE__ */ A({
|
|
|
229
232
|
}
|
|
230
233
|
});
|
|
231
234
|
export {
|
|
232
|
-
|
|
235
|
+
Le as default
|
|
233
236
|
};
|
|
@@ -6,12 +6,21 @@ import "@overlastic/vue";
|
|
|
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";
|
|
12
23
|
import "vue-draggable-plus";
|
|
13
|
-
import "aieditor";
|
|
14
|
-
import "vee-validate";
|
|
15
24
|
import "@vee-validate/i18n";
|
|
16
25
|
import "colorizr";
|
|
17
26
|
import "echarts";
|
|
@@ -21,26 +30,20 @@ import "@unocss/preset-typography";
|
|
|
21
30
|
import "unocss/preset-wind4";
|
|
22
31
|
import "@vee-validate/i18n/dist/locale/en.json";
|
|
23
32
|
import "@vee-validate/i18n/dist/locale/zh_CN.json";
|
|
33
|
+
import "vee-validate";
|
|
24
34
|
import "vue-command-palette";
|
|
25
35
|
import "@duxweb/dvha-naiveui";
|
|
26
36
|
import "../page404.js";
|
|
37
|
+
import "short-unique-id";
|
|
38
|
+
import "aieditor";
|
|
27
39
|
import "@iconify-json/tabler/icons.json";
|
|
40
|
+
import "../../components/posterEditor/elements/index.js";
|
|
41
|
+
import "fabric";
|
|
28
42
|
import "mime";
|
|
29
|
-
import "vue3-ace-editor";
|
|
30
|
-
import "ace-builds/src-noconflict/mode-vue";
|
|
31
|
-
import "ace-builds/src-noconflict/mode-javascript";
|
|
32
|
-
import "ace-builds/src-noconflict/mode-html";
|
|
33
|
-
import "ace-builds/src-noconflict/mode-json";
|
|
34
|
-
import "ace-builds/src-noconflict/mode-json5";
|
|
35
|
-
import "ace-builds/src-noconflict/theme-tomorrow_night";
|
|
36
|
-
import "ace-builds/src-noconflict/theme-tomorrow";
|
|
37
|
-
import "ace-builds/src-noconflict/ext-searchbox";
|
|
38
|
-
import "ace-builds/src-noconflict/ext-language_tools";
|
|
39
|
-
import "ace-builds/src-noconflict/mode-snippets";
|
|
40
43
|
import "dayjs";
|
|
41
44
|
import "@tanstack/vue-query";
|
|
42
45
|
import { useUI as m } from "../../hooks/ui.js";
|
|
43
|
-
const
|
|
46
|
+
const _ = /* @__PURE__ */ p({
|
|
44
47
|
name: "DuxMenuButton",
|
|
45
48
|
props: {
|
|
46
49
|
class: {
|
|
@@ -79,5 +82,5 @@ const X = /* @__PURE__ */ p({
|
|
|
79
82
|
}
|
|
80
83
|
});
|
|
81
84
|
export {
|
|
82
|
-
|
|
85
|
+
_ as default
|
|
83
86
|
};
|
|
@@ -8,11 +8,20 @@ import { useRouter as L } from "vue-router";
|
|
|
8
8
|
import "@overlastic/vue";
|
|
9
9
|
import "clsx";
|
|
10
10
|
import "vue-echarts";
|
|
11
|
+
import "vue3-ace-editor";
|
|
12
|
+
import "ace-builds/src-noconflict/mode-vue";
|
|
13
|
+
import "ace-builds/src-noconflict/mode-javascript";
|
|
14
|
+
import "ace-builds/src-noconflict/mode-html";
|
|
15
|
+
import "ace-builds/src-noconflict/mode-json";
|
|
16
|
+
import "ace-builds/src-noconflict/mode-json5";
|
|
17
|
+
import "ace-builds/src-noconflict/theme-tomorrow_night";
|
|
18
|
+
import "ace-builds/src-noconflict/theme-tomorrow";
|
|
19
|
+
import "ace-builds/src-noconflict/ext-searchbox";
|
|
20
|
+
import "ace-builds/src-noconflict/ext-language_tools";
|
|
21
|
+
import "ace-builds/src-noconflict/mode-snippets";
|
|
11
22
|
import "vue-cropper";
|
|
12
23
|
import "jinrishici";
|
|
13
24
|
import "vue-draggable-plus";
|
|
14
|
-
import "aieditor";
|
|
15
|
-
import "vee-validate";
|
|
16
25
|
import "@vee-validate/i18n";
|
|
17
26
|
import "colorizr";
|
|
18
27
|
import "echarts";
|
|
@@ -22,53 +31,47 @@ import "@unocss/preset-typography";
|
|
|
22
31
|
import "unocss/preset-wind4";
|
|
23
32
|
import "@vee-validate/i18n/dist/locale/en.json";
|
|
24
33
|
import "@vee-validate/i18n/dist/locale/zh_CN.json";
|
|
34
|
+
import "vee-validate";
|
|
25
35
|
import "@duxweb/dvha-naiveui";
|
|
26
36
|
import "../page404.js";
|
|
37
|
+
import "short-unique-id";
|
|
38
|
+
import "aieditor";
|
|
27
39
|
import "@iconify-json/tabler/icons.json";
|
|
40
|
+
import "../../components/posterEditor/elements/index.js";
|
|
41
|
+
import "fabric";
|
|
28
42
|
import "mime";
|
|
29
|
-
import "vue3-ace-editor";
|
|
30
|
-
import "ace-builds/src-noconflict/mode-vue";
|
|
31
|
-
import "ace-builds/src-noconflict/mode-javascript";
|
|
32
|
-
import "ace-builds/src-noconflict/mode-html";
|
|
33
|
-
import "ace-builds/src-noconflict/mode-json";
|
|
34
|
-
import "ace-builds/src-noconflict/mode-json5";
|
|
35
|
-
import "ace-builds/src-noconflict/theme-tomorrow_night";
|
|
36
|
-
import "ace-builds/src-noconflict/theme-tomorrow";
|
|
37
|
-
import "ace-builds/src-noconflict/ext-searchbox";
|
|
38
|
-
import "ace-builds/src-noconflict/ext-language_tools";
|
|
39
|
-
import "ace-builds/src-noconflict/mode-snippets";
|
|
40
43
|
import "dayjs";
|
|
41
44
|
import "@tanstack/vue-query";
|
|
42
45
|
import { useUI as q } from "../../hooks/ui.js";
|
|
43
|
-
const
|
|
46
|
+
const De = /* @__PURE__ */ M({
|
|
44
47
|
name: "DuxMenuCmd",
|
|
45
48
|
setup() {
|
|
46
49
|
const {
|
|
47
50
|
cmdVisible: h,
|
|
48
51
|
setCmdVisible: m
|
|
49
|
-
} = q(), p = R(), y = p["Meta+K"], u = c(), a = c([]), S = L(),
|
|
52
|
+
} = q(), p = R(), y = p["Meta+K"], u = c(), a = c([]), S = L(), i = D(), {
|
|
50
53
|
setMode: v
|
|
51
|
-
} = T(),
|
|
54
|
+
} = T(), n = c(""), {
|
|
52
55
|
t: r
|
|
53
56
|
} = K(), b = c(), g = (e) => {
|
|
54
|
-
const l =
|
|
57
|
+
const l = i.routes.filter((I) => I.parent === e);
|
|
55
58
|
u.value = e, a.value = l;
|
|
56
59
|
}, C = () => {
|
|
57
60
|
m(!0);
|
|
58
61
|
}, N = () => {
|
|
59
62
|
m(!1);
|
|
60
63
|
}, z = (e) => {
|
|
61
|
-
e ? a.value = [...E(
|
|
64
|
+
e ? a.value = [...E(i.routes).filter((l) => l.label?.includes(e))] : a.value = i.routes.filter((l) => !l.parent);
|
|
62
65
|
};
|
|
63
66
|
s(h, (e) => {
|
|
64
|
-
e ? a.value =
|
|
65
|
-
}), j(
|
|
66
|
-
z(
|
|
67
|
+
e ? a.value = i.routes.filter((l) => !l.parent) : a.value = i.routes.filter((l) => !l.parent);
|
|
68
|
+
}), j(n, () => {
|
|
69
|
+
z(n.value);
|
|
67
70
|
}, {
|
|
68
71
|
throttle: 500
|
|
69
72
|
});
|
|
70
73
|
const x = () => {
|
|
71
|
-
const e =
|
|
74
|
+
const e = i.routes.find((l) => l.name === u.value);
|
|
72
75
|
g(e?.parent);
|
|
73
76
|
};
|
|
74
77
|
s(y, (e) => {
|
|
@@ -76,7 +79,7 @@ const we = /* @__PURE__ */ M({
|
|
|
76
79
|
}), s(p.Escape, (e) => {
|
|
77
80
|
e && m(!1);
|
|
78
81
|
}), s(p.Backspace, (e) => {
|
|
79
|
-
e &&
|
|
82
|
+
e && n.value === "" && u.value && x();
|
|
80
83
|
}), s(b, (e) => {
|
|
81
84
|
e && e.focus();
|
|
82
85
|
});
|
|
@@ -105,7 +108,7 @@ const we = /* @__PURE__ */ M({
|
|
|
105
108
|
ref: b,
|
|
106
109
|
placeholder: r("common.search"),
|
|
107
110
|
onInput: (e) => {
|
|
108
|
-
|
|
111
|
+
n.value = e.target.value;
|
|
109
112
|
},
|
|
110
113
|
class: "w-full h-12 text-base/5 rounded-md border-0 placeholder:text-dimmed outline-0 px-2.5 py-1.5 text-sm gap-1.5 text-highlighted bg-transparent ps-10 pe-10"
|
|
111
114
|
}, null), t("span", {
|
|
@@ -130,7 +133,7 @@ const we = /* @__PURE__ */ M({
|
|
|
130
133
|
"aria-hidden": "true"
|
|
131
134
|
}, null)
|
|
132
135
|
})])]),
|
|
133
|
-
body: () => t(V, null, [d.value.length === 0 &&
|
|
136
|
+
body: () => t(V, null, [d.value.length === 0 && n.value && t("div", {
|
|
134
137
|
class: "flex items-center justify-center h-20 border-t border-muted"
|
|
135
138
|
}, [r("common.empty")]), d.value.length > 0 && t(o.List, null, {
|
|
136
139
|
default: () => [t(o.Group, {
|
|
@@ -173,5 +176,5 @@ const we = /* @__PURE__ */ M({
|
|
|
173
176
|
}
|
|
174
177
|
});
|
|
175
178
|
export {
|
|
176
|
-
|
|
179
|
+
De as DuxMenuCmd
|
|
177
180
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as c, createVNode as e, createTextVNode as
|
|
1
|
+
import { defineComponent as c, createVNode as e, createTextVNode as l } from "vue";
|
|
2
2
|
import { useManage as f, useI18n as v, DuxLogoIcon as x } from "@duxweb/dvha-core";
|
|
3
3
|
import { useNaiveMenu as g } from "@duxweb/dvha-naiveui";
|
|
4
4
|
import { NTag as r, NScrollbar as h, NMenu as b } from "naive-ui";
|
|
@@ -7,12 +7,21 @@ import "@overlastic/vue";
|
|
|
7
7
|
import "clsx";
|
|
8
8
|
import "vue-echarts";
|
|
9
9
|
import "@vueuse/core";
|
|
10
|
+
import "vue3-ace-editor";
|
|
11
|
+
import "ace-builds/src-noconflict/mode-vue";
|
|
12
|
+
import "ace-builds/src-noconflict/mode-javascript";
|
|
13
|
+
import "ace-builds/src-noconflict/mode-html";
|
|
14
|
+
import "ace-builds/src-noconflict/mode-json";
|
|
15
|
+
import "ace-builds/src-noconflict/mode-json5";
|
|
16
|
+
import "ace-builds/src-noconflict/theme-tomorrow_night";
|
|
17
|
+
import "ace-builds/src-noconflict/theme-tomorrow";
|
|
18
|
+
import "ace-builds/src-noconflict/ext-searchbox";
|
|
19
|
+
import "ace-builds/src-noconflict/ext-language_tools";
|
|
20
|
+
import "ace-builds/src-noconflict/mode-snippets";
|
|
10
21
|
import "vue-cropper";
|
|
11
22
|
import "jinrishici";
|
|
12
23
|
import "lodash-es";
|
|
13
24
|
import "vue-draggable-plus";
|
|
14
|
-
import "aieditor";
|
|
15
|
-
import "vee-validate";
|
|
16
25
|
import "@vee-validate/i18n";
|
|
17
26
|
import "colorizr";
|
|
18
27
|
import "echarts";
|
|
@@ -22,27 +31,21 @@ import "@unocss/preset-typography";
|
|
|
22
31
|
import "unocss/preset-wind4";
|
|
23
32
|
import "@vee-validate/i18n/dist/locale/en.json";
|
|
24
33
|
import "@vee-validate/i18n/dist/locale/zh_CN.json";
|
|
34
|
+
import "vee-validate";
|
|
25
35
|
import M from "./avatar.js";
|
|
26
36
|
import p from "./button.js";
|
|
27
37
|
import "vue-command-palette";
|
|
28
38
|
import "../page404.js";
|
|
39
|
+
import "short-unique-id";
|
|
40
|
+
import "aieditor";
|
|
29
41
|
import "@iconify-json/tabler/icons.json";
|
|
42
|
+
import "../../components/posterEditor/elements/index.js";
|
|
43
|
+
import "fabric";
|
|
30
44
|
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
45
|
import "dayjs";
|
|
43
46
|
import "@tanstack/vue-query";
|
|
44
47
|
import { useUI as y } from "../../hooks/ui.js";
|
|
45
|
-
const
|
|
48
|
+
const ve = /* @__PURE__ */ c({
|
|
46
49
|
name: "DuxMenuMain",
|
|
47
50
|
props: {
|
|
48
51
|
collapsed: {
|
|
@@ -52,12 +55,12 @@ const ue = /* @__PURE__ */ c({
|
|
|
52
55
|
},
|
|
53
56
|
setup(o) {
|
|
54
57
|
const {
|
|
55
|
-
options:
|
|
56
|
-
active:
|
|
58
|
+
options: m,
|
|
59
|
+
active: a
|
|
57
60
|
} = g({}), {
|
|
58
61
|
menuCollapsed: t,
|
|
59
62
|
setCmdVisible: s,
|
|
60
|
-
menuMobileCollapsed:
|
|
63
|
+
menuMobileCollapsed: i,
|
|
61
64
|
setMenuCollapsed: d
|
|
62
65
|
} = y(), {
|
|
63
66
|
config: n
|
|
@@ -99,21 +102,21 @@ const ue = /* @__PURE__ */ c({
|
|
|
99
102
|
bordered: !1,
|
|
100
103
|
type: "primary"
|
|
101
104
|
}, {
|
|
102
|
-
default: () => [
|
|
105
|
+
default: () => [l("⌘")]
|
|
103
106
|
}), e(r, {
|
|
104
107
|
size: "small",
|
|
105
108
|
bordered: !1,
|
|
106
109
|
type: "primary"
|
|
107
110
|
}, {
|
|
108
|
-
default: () => [
|
|
111
|
+
default: () => [l("K")]
|
|
109
112
|
})])])
|
|
110
113
|
})]), e("div", {
|
|
111
|
-
class: ["flex-1 min-h-0",
|
|
114
|
+
class: ["flex-1 min-h-0", i.value ? "border-t border-muted" : ""]
|
|
112
115
|
}, [e(h, null, {
|
|
113
116
|
default: () => [e(b, {
|
|
114
|
-
options:
|
|
115
|
-
value:
|
|
116
|
-
collapsed: t.value && !
|
|
117
|
+
options: m.value,
|
|
118
|
+
value: a.value,
|
|
119
|
+
collapsed: t.value && !i.value,
|
|
117
120
|
indent: 20,
|
|
118
121
|
collapsedWidth: 60,
|
|
119
122
|
collapsedIconSize: 20
|
|
@@ -126,5 +129,5 @@ const ue = /* @__PURE__ */ c({
|
|
|
126
129
|
}
|
|
127
130
|
});
|
|
128
131
|
export {
|
|
129
|
-
|
|
132
|
+
ve as DuxMenuMain
|
|
130
133
|
};
|