@dt-frames/ui 2.0.14 → 2.0.16
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/es/assets/imgs/tree/forder-open.svg +1 -0
- package/es/assets/imgs/tree/forder.svg +1 -0
- package/es/assets/locales/zh.ts +1 -1
- package/es/components/curd/index.js +28 -8
- package/es/components/curd/src/components/Curd.d.ts +10 -0
- package/es/components/curd/src/hooks/useCurd.d.ts +2 -4
- package/es/components/curd/src/props.d.ts +5 -1
- package/es/components/drawer/index.js +25 -24
- package/es/components/form/index.js +56 -40
- package/es/components/form/index.less +44 -3
- package/es/components/form/src/props.d.ts +3 -3
- package/es/components/modal/index.js +8 -143
- package/es/components/modal/index.less +23 -0
- package/es/components/modal/src/index.d.ts +2 -84
- package/es/components/table/index.js +72 -88
- package/es/components/table/src/components/TableAction.d.ts +6 -0
- package/es/components/table/src/index.d.ts +4 -4
- package/es/components/table/src/props.d.ts +1 -1
- package/es/components/tree/index.js +197 -93
- package/es/components/tree/index.less +75 -13
- package/es/components/tree/src/basicProps.d.ts +46 -7
- package/es/components/tree/src/components/TreeHeader.d.ts +2 -2
- package/es/components/tree/src/hooks/useTree.d.ts +3 -2
- package/es/components/tree/src/index.d.ts +120 -29
- package/es/components/upload/index.js +79 -75
- package/es/components/upload/index.less +19 -5
- package/es/components/upload/src/basicProps.d.ts +1 -1
- package/es/components/upload/src/index.d.ts +6 -6
- package/es/components/upload/src/utils/upload.d.ts +1 -1
- package/es/theme/index.js +387 -431
- package/es/theme/index.less +24 -0
- package/es/theme/src/components/header/components/lock/Lockscreen.d.ts +34 -3
- package/es/theme/src/components/header/components/lock/index.d.ts +1 -2
- package/es/theme/src/components/header/components/lock/useTime.d.ts +7 -0
- package/es/theme/src/components/header/components/size.d.ts +5 -5
- package/es/theme/src/components/header/components/user-info.d.ts +7 -0
- package/es/theme/src/components/header/index.d.ts +12 -5
- package/es/theme/src/components/header/multiple-header.d.ts +12 -5
- package/es/theme/src/index.d.ts +63 -13
- package/es/theme/src/stores/lockscreen.store.d.ts +7 -0
- package/manualContentPath.js +10 -0
- package/package.json +1 -1
- package/tsconfig.json +1 -1
- package/es/packages/ui/src/assets/locales/en.d.ts +0 -103
- package/es/packages/ui/src/assets/locales/index.d.ts +0 -2
- package/es/packages/ui/src/assets/locales/zh.d.ts +0 -104
- package/es/packages/ui/src/components/form/index.d.ts +0 -7
- package/es/packages/ui/src/components/form/src/components/FormButtons.d.ts +0 -105
- package/es/packages/ui/src/components/form/src/components/FormItem.d.ts +0 -159
- package/es/packages/ui/src/components/form/src/components/componentMap.d.ts +0 -4
- package/es/packages/ui/src/components/form/src/components/formIcon.d.ts +0 -1223
- package/es/packages/ui/src/components/form/src/components/formInputUseDialog.d.ts +0 -911
- package/es/packages/ui/src/components/form/src/components/index.d.ts +0 -4
- package/es/packages/ui/src/components/form/src/components/radioButton.d.ts +0 -34
- package/es/packages/ui/src/components/form/src/enums/index.d.ts +0 -7
- package/es/packages/ui/src/components/form/src/hooks/helper.d.ts +0 -14
- package/es/packages/ui/src/components/form/src/hooks/useForm.d.ts +0 -6
- package/es/packages/ui/src/components/form/src/hooks/useFormActions.d.ts +0 -12
- package/es/packages/ui/src/components/form/src/hooks/useFormEvent.d.ts +0 -25
- package/es/packages/ui/src/components/form/src/hooks/useFormValue.d.ts +0 -3
- package/es/packages/ui/src/components/form/src/hooks/useFormValues.d.ts +0 -11
- package/es/packages/ui/src/components/form/src/hooks/useLabelWidth.d.ts +0 -6
- package/es/packages/ui/src/components/form/src/props.d.ts +0 -127
- package/es/packages/ui/src/components/form/src/types/actions.type.d.ts +0 -15
- package/es/packages/ui/src/components/form/src/types/form.type.d.ts +0 -79
- package/es/packages/ui/src/components/form/src/types/items.type.d.ts +0 -409
- package/es/packages/ui/src/components/iframe/index.d.ts +0 -2
- package/es/packages/ui/src/components/modal/index.d.ts +0 -4
- package/es/packages/ui/src/components/modal/src/hooks/useModal.d.ts +0 -5
- package/es/packages/ui/src/components/modal/src/props.d.ts +0 -101
- package/es/packages/ui/src/components/modal/src/types/modal.type.d.ts +0 -17
- package/es/packages/ui/src/components/upload/index.d.ts +0 -4
- package/es/packages/ui/src/components/upload/src/basicProps.d.ts +0 -87
- package/es/packages/ui/src/components/upload/src/components/PdfView.d.ts +0 -9
- package/es/packages/ui/src/components/upload/src/components/WordView.d.ts +0 -6
- package/es/packages/ui/src/components/upload/src/hooks/useFile.d.ts +0 -16
- package/es/packages/ui/src/components/upload/src/index.d.ts +0 -242
- package/es/packages/ui/src/components/upload/src/type/file.d.ts +0 -10
- package/es/packages/ui/src/components/upload/src/utils/upload.d.ts +0 -2
- package/es/packages/ui/src/global.d.ts +0 -7
- package/es/packages/ui/src/theme/index.d.ts +0 -12
- package/es/packages/ui/src/theme/src/components/header/helper/menu-tree.d.ts +0 -4
- package/es/packages/ui/src/theme/src/enums/index.d.ts +0 -1
- package/es/packages/ui/src/theme/src/enums/theme.enum.d.ts +0 -34
- package/es/packages/ui/src/theme/src/hooks/index.d.ts +0 -6
- package/es/packages/ui/src/theme/src/hooks/useDragLine.d.ts +0 -2
- package/es/packages/ui/src/theme/src/hooks/useHeader.d.ts +0 -25
- package/es/packages/ui/src/theme/src/hooks/useMenu.d.ts +0 -29
- package/es/packages/ui/src/theme/src/hooks/useMultifyTab.d.ts +0 -8
- package/es/packages/ui/src/theme/src/hooks/useOpenKeys.d.ts +0 -7
- package/es/packages/ui/src/theme/src/hooks/useTheme.d.ts +0 -9
- package/es/packages/ui/src/theme/src/setting/theme.setting.d.ts +0 -2
- package/es/packages/ui/src/theme/src/stores/index.d.ts +0 -3
- package/es/packages/ui/src/theme/src/stores/routeReuse.store.d.ts +0 -25
- package/es/packages/ui/src/theme/src/stores/theme.store.d.ts +0 -19
- package/es/packages/ui/src/theme/src/types/index.d.ts +0 -3
- package/es/packages/ui/src/theme/src/types/menu.type.d.ts +0 -15
- package/es/packages/ui/src/theme/src/types/theme.type.d.ts +0 -62
- package/es/packages/ui/src/utils/withInstall.d.ts +0 -4
package/es/theme/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { BackTop, MenuItem, MenuDivider, Menu, Dropdown, TabPane, Tabs, Breadcrumb, Empty, InputSearch, Popover, Avatar, InputPassword, Button, Modal, Tooltip, Select, Switch, Divider, Drawer, SubMenu, LayoutHeader, LayoutSider, LayoutContent
|
|
1
|
+
import { BackTop, MenuItem, MenuDivider, Menu, Dropdown, TabPane, Tabs, Breadcrumb, Empty, InputSearch, Popover, Avatar, InputPassword, Button, Modal, Tooltip, Select, Switch, Divider, Drawer, SubMenu, LayoutHeader, LayoutSider, LayoutContent, Layout, ConfigProvider } from "ant-design-vue/es";
|
|
2
2
|
import "ant-design-vue/es/config-provider/style";
|
|
3
3
|
import "ant-design-vue/es/layout/style";
|
|
4
|
-
import { toRaw, unref
|
|
4
|
+
import { toRaw, unref, computed, onMounted, nextTick, defineComponent, openBlock, createBlock, createCommentVNode, createElementBlock, createElementVNode, reactive, withCtx, createVNode, Fragment, renderList, normalizeClass, toDisplayString, ref, watch, createSlots, getCurrentInstance, inject, onUnmounted, h, provide, onBeforeUnmount, normalizeStyle, resolveDynamicComponent, renderSlot, mergeProps, withDirectives, vShow, watchEffect, resolveDirective, withKeys, createTextVNode, normalizeProps, guardReactiveProps, resolveComponent, toRef, withModifiers, Transition, KeepAlive, toRefs } from "vue";
|
|
5
5
|
import { useRouter, RouterView } from "vue-router";
|
|
6
6
|
import { DtCache, CacheKey, deepMerge, Pages, useGo, useRedo, Language, isObject, useTimeoutFn, useI18n, menuList2Map, isNullAndUnDef, off, on, getParentSlots, isBoolean, localeList, changeLocale, isFunction, copyText, isUrl, openWindow, useApp, withInstall as withInstall$1 } from "@dt-frames/core";
|
|
7
7
|
import { defineStore } from "pinia";
|
|
@@ -16,7 +16,7 @@ import "ant-design-vue/es/popover/style";
|
|
|
16
16
|
import "ant-design-vue/es/input/style";
|
|
17
17
|
import "ant-design-vue/es/empty/style";
|
|
18
18
|
import { DtSlotContainer as DtSlotContainer$1 } from "../components/container";
|
|
19
|
-
import { Popover as Popover$1, Modal as Modal$1, LayoutFooter
|
|
19
|
+
import { Popover as Popover$1, Modal as Modal$1, LayoutFooter } from "ant-design-vue";
|
|
20
20
|
import "ant-design-vue/es/modal/style";
|
|
21
21
|
import "ant-design-vue/es/button/style";
|
|
22
22
|
import "ant-design-vue/es/avatar/style";
|
|
@@ -30,11 +30,11 @@ import zhCN from "ant-design-vue/es/locale/zh_CN";
|
|
|
30
30
|
import en from "ant-design-vue/es/locale/en_US";
|
|
31
31
|
import "dayjs/locale/zh-cn";
|
|
32
32
|
import "dayjs/locale/es-us";
|
|
33
|
-
var Theme
|
|
33
|
+
var Theme = /* @__PURE__ */ ((Theme2) => {
|
|
34
34
|
Theme2["DARK"] = "dark";
|
|
35
35
|
Theme2["LIGHT"] = "light";
|
|
36
36
|
return Theme2;
|
|
37
|
-
})(Theme
|
|
37
|
+
})(Theme || {});
|
|
38
38
|
var MenuType = /* @__PURE__ */ ((MenuType2) => {
|
|
39
39
|
MenuType2["SIDE"] = "sidebar";
|
|
40
40
|
MenuType2["TOP_MENU"] = "top-menu";
|
|
@@ -71,7 +71,7 @@ const defaultThemeConf = {
|
|
|
71
71
|
},
|
|
72
72
|
headOptions: {
|
|
73
73
|
fixed: true,
|
|
74
|
-
theme: Theme
|
|
74
|
+
theme: Theme.LIGHT,
|
|
75
75
|
showLogo: true,
|
|
76
76
|
showBackToTop: true,
|
|
77
77
|
useLockPage: true,
|
|
@@ -87,7 +87,7 @@ const defaultThemeConf = {
|
|
|
87
87
|
},
|
|
88
88
|
menuOptions: {
|
|
89
89
|
fixed: true,
|
|
90
|
-
theme: Theme
|
|
90
|
+
theme: Theme.DARK,
|
|
91
91
|
collapsed: false,
|
|
92
92
|
collapsedShowTitle: false,
|
|
93
93
|
canDrag: true,
|
|
@@ -162,7 +162,7 @@ const useThemeStore = defineStore({
|
|
|
162
162
|
});
|
|
163
163
|
function handleGotoPage(router) {
|
|
164
164
|
const go = useGo(router);
|
|
165
|
-
go(unref
|
|
165
|
+
go(unref(router.currentRoute).path, true);
|
|
166
166
|
}
|
|
167
167
|
const useRouteReuseStore = defineStore({
|
|
168
168
|
id: "route-reuse",
|
|
@@ -222,7 +222,7 @@ const useRouteReuseStore = defineStore({
|
|
|
222
222
|
closeAllTab(currentRoute, router) {
|
|
223
223
|
const go = useGo(router);
|
|
224
224
|
let filterTabList = this.tabList.filter((item) => item?.meta?.affix ?? false);
|
|
225
|
-
const route = filterTabList.length > 0 ? filterTabList[filterTabList.length - 1] : unref
|
|
225
|
+
const route = filterTabList.length > 0 ? filterTabList[filterTabList.length - 1] : unref(currentRoute);
|
|
226
226
|
this.tabList = [route];
|
|
227
227
|
this.updateCacheTab();
|
|
228
228
|
go(route.path);
|
|
@@ -302,7 +302,7 @@ const useRouteReuseStore = defineStore({
|
|
|
302
302
|
this.cacheTabList = cacheMap;
|
|
303
303
|
},
|
|
304
304
|
async refreshPage(router) {
|
|
305
|
-
const findTab = this.getCachedTabList.find((item) => item === unref
|
|
305
|
+
const findTab = this.getCachedTabList.find((item) => item === unref(router.currentRoute).name);
|
|
306
306
|
if (findTab) {
|
|
307
307
|
this.cacheTabList.delete(findTab.toString());
|
|
308
308
|
}
|
|
@@ -328,46 +328,46 @@ function useMenu() {
|
|
|
328
328
|
const getMenuFixed = computed(() => useThemeStore().getMenuConf.fixed);
|
|
329
329
|
const getShowMenu = computed(() => useThemeStore().getMenuConf.show);
|
|
330
330
|
const getShowSidebar = computed(() => {
|
|
331
|
-
return unref
|
|
331
|
+
return unref(getSplit) || unref(getShowMenu) && unref(getMenuMode) !== MenuMode.HORIZONTAL;
|
|
332
332
|
});
|
|
333
333
|
const getMenuHidden = computed(() => useThemeStore().getMenuConf.hidden);
|
|
334
334
|
const getMenuTheme = computed(() => useThemeStore().getMenuConf.theme);
|
|
335
335
|
const getTrigger = computed(() => useThemeStore().getMenuConf.trigger);
|
|
336
336
|
const getCanDrag = computed(() => useThemeStore().getMenuConf.canDrag);
|
|
337
337
|
const getIsMixMode = computed(() => {
|
|
338
|
-
return unref
|
|
338
|
+
return unref(getMenuMode) === MenuMode.INLINE && unref(getMenuType) === MenuType.MIX;
|
|
339
339
|
});
|
|
340
|
-
const getIsMixSidebar = computed(() => unref
|
|
340
|
+
const getIsMixSidebar = computed(() => unref(getMenuType) === MenuType.MIX_SIDEBAR);
|
|
341
341
|
const getMenuWidth = computed(() => {
|
|
342
|
-
if (unref
|
|
342
|
+
if (unref(getIsMixMode)) {
|
|
343
343
|
return Number(useThemeStore().getMenuConf.menuWidth) - 40;
|
|
344
|
-
} else if (unref
|
|
344
|
+
} else if (unref(getIsMixSidebar)) {
|
|
345
345
|
return Number(useThemeStore().getMenuConf.menuWidth) - 10;
|
|
346
346
|
} else {
|
|
347
347
|
return Number(useThemeStore().getMenuConf.menuWidth);
|
|
348
348
|
}
|
|
349
349
|
});
|
|
350
350
|
const getMixSideTrigger = computed(() => useThemeStore().getMenuConf.mixSideTrigger);
|
|
351
|
-
const getLogoWidth = computed(() => unref
|
|
351
|
+
const getLogoWidth = computed(() => unref(getIsMixSidebar) ? "80px" : useThemeStore().getMenuConf.menuWidth);
|
|
352
352
|
const getMenuType = computed(() => useThemeStore().getMenuConf.type);
|
|
353
|
-
const getIsTopMenu = computed(() => unref
|
|
353
|
+
const getIsTopMenu = computed(() => unref(getMenuType) === MenuType.TOP_MENU);
|
|
354
354
|
const getMenuMode = computed(() => useThemeStore().getMenuConf.mode);
|
|
355
355
|
const getSplit = computed(() => useThemeStore().getMenuConf.split);
|
|
356
356
|
const getCollapsed = computed(() => useThemeStore().getMenuConf.collapsed);
|
|
357
|
-
const getIsHorizontal = computed(() => unref
|
|
357
|
+
const getIsHorizontal = computed(() => unref(getMenuMode) === MenuMode.HORIZONTAL);
|
|
358
358
|
const setThemeStore = (conf = {}) => setThemeConf(conf);
|
|
359
359
|
const toggleCollapsed = () => setThemeStore({
|
|
360
360
|
menuOptions: {
|
|
361
|
-
collapsed: !unref
|
|
361
|
+
collapsed: !unref(getCollapsed)
|
|
362
362
|
}
|
|
363
363
|
});
|
|
364
364
|
const getMiniWidthNumber = computed(() => useThemeStore().getMenuConf.collapsedShowTitle ? 80 : 48);
|
|
365
365
|
const getRealWidth = computed(() => {
|
|
366
|
-
return unref
|
|
366
|
+
return unref(getCollapsed) ? unref(getMiniWidthNumber) : unref(getMenuWidth);
|
|
367
367
|
});
|
|
368
368
|
const getCalcContentWidth = computed(() => {
|
|
369
|
-
const width = unref
|
|
370
|
-
return `calc(100% - ${unref
|
|
369
|
+
const width = unref(getIsTopMenu) || !unref(getShowMenu) || unref(getSplit) && unref(getMenuHidden) ? 0 : unref(getRealWidth);
|
|
370
|
+
return `calc(100% - ${unref(width)}px)`;
|
|
371
371
|
});
|
|
372
372
|
return {
|
|
373
373
|
getCollapsedShowTitle,
|
|
@@ -432,37 +432,37 @@ function useHeader() {
|
|
|
432
432
|
const { getShowMultipleTab, getMultipleTabPosIsTop } = useMultipleTab();
|
|
433
433
|
const getHeaderTheme = computed(() => getHeaderConf.theme);
|
|
434
434
|
const getFixed = computed(() => getHeaderConf.fixed);
|
|
435
|
-
const getShowHeaderLogo = computed(() => unref
|
|
435
|
+
const getShowHeaderLogo = computed(() => unref(getShowLogo) && !unref(getIsSidebarType) && !unref(getIsMixSidebar));
|
|
436
436
|
const getShowSearch = computed(() => getHeaderConf.showSearch);
|
|
437
437
|
const getShowHeaderTrigger = computed(() => {
|
|
438
|
-
if (unref
|
|
438
|
+
if (unref(getMenuType) === MenuType.TOP_MENU || !unref(getShowMenu) || unref(getMenuHidden)) {
|
|
439
439
|
return false;
|
|
440
440
|
}
|
|
441
|
-
return unref
|
|
441
|
+
return unref(getTrigger);
|
|
442
442
|
});
|
|
443
443
|
const getShowBreadCrumb = computed(() => getHeaderConf.showBreadCrumb);
|
|
444
444
|
const getShowBread = computed(
|
|
445
|
-
() => unref
|
|
445
|
+
() => unref(getMenuMode) !== MenuMode.HORIZONTAL && !unref(getSplit) && unref(getShowBreadCrumb)
|
|
446
446
|
);
|
|
447
|
-
const getShowTopMenu = computed(() => unref
|
|
447
|
+
const getShowTopMenu = computed(() => unref(getMenuMode) === MenuMode.HORIZONTAL || unref(getSplit));
|
|
448
448
|
const getShowNotice = computed(() => getHeaderConf.showNotice);
|
|
449
449
|
const getShowFullScreen = computed(() => getHeaderConf.showFullScreen);
|
|
450
450
|
const getShowLocale = computed(() => getHeaderConf.showLocaleSwitch);
|
|
451
451
|
const getShowSettingTheme = computed(() => getHeaderConf.showSettingTheme);
|
|
452
452
|
const getShowFullHeaderRef = computed(() => {
|
|
453
|
-
return !unref
|
|
453
|
+
return !unref(getIsSidebarType) && !unref(getIsMixSidebar) && !unref(getIsTopMenu);
|
|
454
454
|
});
|
|
455
455
|
const getHeaderHeight = computed(() => {
|
|
456
456
|
let height = 0;
|
|
457
457
|
height += HEADER_HEIGHT;
|
|
458
|
-
if (unref
|
|
458
|
+
if (unref(getShowMultipleTab) && !unref(getSplit) && !unref(getMultipleTabPosIsTop)) {
|
|
459
459
|
height += TABS_HEIGHT;
|
|
460
460
|
}
|
|
461
461
|
return height;
|
|
462
462
|
});
|
|
463
463
|
const getTabsHeight = computed(() => TABS_HEIGHT);
|
|
464
464
|
const getShowInsetHeaderRef = computed(() => {
|
|
465
|
-
return unref
|
|
465
|
+
return unref(getIsSidebarType) || unref(getIsTopMenu) || unref(getIsMixSidebar);
|
|
466
466
|
});
|
|
467
467
|
const getShowBackToTop = computed(() => getHeaderConf.showBackToTop);
|
|
468
468
|
const getIsZH = computed(() => {
|
|
@@ -614,27 +614,27 @@ function useOpenKeys(menuState, menus, type) {
|
|
|
614
614
|
}
|
|
615
615
|
function useDragLine(siderRef, dragBarRef) {
|
|
616
616
|
const { getMiniWidthNumber, getCollapsed, setThemeStore } = useMenu();
|
|
617
|
-
onMounted
|
|
617
|
+
onMounted(() => {
|
|
618
618
|
nextTick(() => {
|
|
619
619
|
const exec = useDebounceFn(changeWrapWidth, 80);
|
|
620
620
|
exec();
|
|
621
621
|
});
|
|
622
622
|
});
|
|
623
623
|
function getEl(elRef) {
|
|
624
|
-
const el = unref
|
|
624
|
+
const el = unref(elRef);
|
|
625
625
|
if (!el)
|
|
626
626
|
return null;
|
|
627
627
|
if (Reflect.has(el, "$el")) {
|
|
628
|
-
return unref
|
|
628
|
+
return unref(elRef)?.$el;
|
|
629
629
|
}
|
|
630
|
-
return unref
|
|
630
|
+
return unref(elRef);
|
|
631
631
|
}
|
|
632
632
|
function handleMouseMove(ele, wrap, clientX) {
|
|
633
633
|
document.onmousemove = function(innerE) {
|
|
634
634
|
innerE = innerE || window.event;
|
|
635
635
|
let iT = ele.left + (innerE.clientX - clientX);
|
|
636
636
|
const maxT = 800;
|
|
637
|
-
const minT = unref
|
|
637
|
+
const minT = unref(getMiniWidthNumber);
|
|
638
638
|
iT < 0 && (iT = 0);
|
|
639
639
|
iT > maxT && (iT = maxT);
|
|
640
640
|
iT < minT && (iT = minT);
|
|
@@ -682,31 +682,22 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
682
682
|
const { getShowBackToTop } = useHeader();
|
|
683
683
|
return (_ctx, _cache) => {
|
|
684
684
|
const _component_ABackTop = BackTop;
|
|
685
|
-
return unref
|
|
685
|
+
return unref(getShowBackToTop) ? (openBlock(), createBlock(_component_ABackTop, {
|
|
686
686
|
key: 0,
|
|
687
687
|
target: getTarget,
|
|
688
688
|
visibilityHeight: 300
|
|
689
|
-
})) : createCommentVNode("
|
|
689
|
+
})) : createCommentVNode("", true);
|
|
690
690
|
};
|
|
691
691
|
}
|
|
692
692
|
});
|
|
693
|
-
const _export_sfc = (sfc, props) => {
|
|
694
|
-
const target = sfc.__vccOpts || sfc;
|
|
695
|
-
for (const [key, val] of props) {
|
|
696
|
-
target[key] = val;
|
|
697
|
-
}
|
|
698
|
-
return target;
|
|
699
|
-
};
|
|
700
|
-
const DtBackTop = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__file", "D:/dt/dt-frame-front/dt-frames/frames/packages/ui/src/theme/src/components/feature/back-top.vue"]]);
|
|
701
693
|
const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
702
694
|
__name: "index",
|
|
703
695
|
setup(__props) {
|
|
704
696
|
return (_ctx, _cache) => {
|
|
705
|
-
return openBlock(), createBlock(
|
|
697
|
+
return openBlock(), createBlock(_sfc_main$B);
|
|
706
698
|
};
|
|
707
699
|
}
|
|
708
700
|
});
|
|
709
|
-
const DtFeature$1 = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__file", "D:/dt/dt-frame-front/dt-frames/frames/packages/ui/src/theme/src/components/feature/index.vue"]]);
|
|
710
701
|
const _hoisted_1$k = /* @__PURE__ */ createElementVNode("i", { class: "block i ic:baseline-autorenew" }, null, -1);
|
|
711
702
|
const _hoisted_2$b = [
|
|
712
703
|
_hoisted_1$k
|
|
@@ -727,13 +718,12 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
727
718
|
};
|
|
728
719
|
}
|
|
729
720
|
});
|
|
730
|
-
const DtTabRedo = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__file", "D:/dt/dt-frame-front/dt-frames/frames/packages/ui/src/theme/src/components/tabs/components/TabRedo.vue"]]);
|
|
731
721
|
function useTabs(_router) {
|
|
732
722
|
const tabStore = useRouteReuseStore();
|
|
733
723
|
const router = _router || useRouter();
|
|
734
724
|
const { currentRoute } = router;
|
|
735
725
|
const getCurrentTab = () => {
|
|
736
|
-
const route = unref
|
|
726
|
+
const route = unref(currentRoute);
|
|
737
727
|
return tabStore.getTabList.find((item) => item.fullPath === route.fullPath);
|
|
738
728
|
};
|
|
739
729
|
function handleTabAction(action, tab) {
|
|
@@ -775,7 +765,7 @@ function useTabDropdown(tabItem, getIsTabs) {
|
|
|
775
765
|
const tabStore = useRouteReuseStore();
|
|
776
766
|
const { refreshPage, closeAll, close, closeLeft, closeOther, closeRight } = useTabs();
|
|
777
767
|
const getTargetTab = computed(() => {
|
|
778
|
-
return unref
|
|
768
|
+
return unref(getIsTabs) ? tabItem : unref(currentRoute);
|
|
779
769
|
});
|
|
780
770
|
const state = reactive({
|
|
781
771
|
current: null,
|
|
@@ -783,8 +773,8 @@ function useTabDropdown(tabItem, getIsTabs) {
|
|
|
783
773
|
});
|
|
784
774
|
const getDropMenuList = computed(() => {
|
|
785
775
|
const { t } = useI18n("UI");
|
|
786
|
-
const { meta } = unref
|
|
787
|
-
const { path } = unref
|
|
776
|
+
const { meta } = unref(getTargetTab);
|
|
777
|
+
const { path } = unref(currentRoute);
|
|
788
778
|
const curItem = state.current;
|
|
789
779
|
const isCurItem = curItem ? curItem.path === path : false;
|
|
790
780
|
const index = state.currentIndex;
|
|
@@ -874,7 +864,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
874
864
|
const menuLabelMap = menuList2Map();
|
|
875
865
|
const getIsTabs = computed(() => !props.isExtra);
|
|
876
866
|
const getTrigger = computed(
|
|
877
|
-
() => unref
|
|
867
|
+
() => unref(getIsTabs) ? ["contextmenu"] : ["click"]
|
|
878
868
|
);
|
|
879
869
|
const { getDropMenuList, handleContextMenu, handleMenuEvent } = useTabDropdown(props?.tabItem, getIsTabs);
|
|
880
870
|
function handleContext(e) {
|
|
@@ -887,16 +877,16 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
887
877
|
const _component_ADropdown = Dropdown;
|
|
888
878
|
return openBlock(), createBlock(_component_ADropdown, {
|
|
889
879
|
placement: "bottomRight",
|
|
890
|
-
trigger: unref
|
|
880
|
+
trigger: unref(getTrigger),
|
|
891
881
|
overlayClassName: "dt-reuse-tabs__dropdown"
|
|
892
882
|
}, {
|
|
893
883
|
overlay: withCtx(() => [
|
|
894
884
|
createVNode(_component_AMenu, null, {
|
|
895
885
|
default: withCtx(() => [
|
|
896
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(unref
|
|
886
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(getDropMenuList), (item, index) => {
|
|
897
887
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
898
888
|
createVNode(_component_AMenuItem, {
|
|
899
|
-
onClick: ($event) => unref
|
|
889
|
+
onClick: ($event) => unref(handleMenuEvent)(item),
|
|
900
890
|
disabled: item.disabled
|
|
901
891
|
}, {
|
|
902
892
|
default: withCtx(() => [
|
|
@@ -909,7 +899,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
909
899
|
}, 1032, ["onClick", "disabled"]),
|
|
910
900
|
item.divider ? (openBlock(), createBlock(_component_AMenuDivider, {
|
|
911
901
|
key: `d-${index}`
|
|
912
|
-
})) : createCommentVNode("
|
|
902
|
+
})) : createCommentVNode("", true)
|
|
913
903
|
], 64);
|
|
914
904
|
}), 256))
|
|
915
905
|
]),
|
|
@@ -917,11 +907,11 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
917
907
|
})
|
|
918
908
|
]),
|
|
919
909
|
default: withCtx(() => [
|
|
920
|
-
unref
|
|
910
|
+
unref(getIsTabs) ? (openBlock(), createElementBlock("div", {
|
|
921
911
|
key: 0,
|
|
922
912
|
onContextmenu: handleContext
|
|
923
913
|
}, [
|
|
924
|
-
createElementVNode("span", null, toDisplayString(unref
|
|
914
|
+
createElementVNode("span", null, toDisplayString(unref(menuLabelMap).get(__props.tabItem.path) || __props.tabItem?.meta?.title || unref(t)("UNKNOWN_ROUTE")), 1)
|
|
925
915
|
], 32)) : (openBlock(), createElementBlock("span", {
|
|
926
916
|
key: 1,
|
|
927
917
|
onClick: handleContext,
|
|
@@ -933,7 +923,6 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
933
923
|
};
|
|
934
924
|
}
|
|
935
925
|
});
|
|
936
|
-
const DtTabContent = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__file", "D:/dt/dt-frame-front/dt-frames/frames/packages/ui/src/theme/src/components/tabs/components/TabContent.vue"]]);
|
|
937
926
|
function initAffixTabs() {
|
|
938
927
|
const affixList = ref([]);
|
|
939
928
|
const tabStore = useRouteReuseStore();
|
|
@@ -970,7 +959,7 @@ function useSortable(el, options) {
|
|
|
970
959
|
if (!el)
|
|
971
960
|
return;
|
|
972
961
|
const Sortable = (await import("sortablejs")).default;
|
|
973
|
-
Sortable.create(unref
|
|
962
|
+
Sortable.create(unref(el), {
|
|
974
963
|
animation: 500,
|
|
975
964
|
delay: 400,
|
|
976
965
|
delayOnTouchOnly: true,
|
|
@@ -984,7 +973,7 @@ function useTabsDrag(affixList) {
|
|
|
984
973
|
const tabStore = useRouteReuseStore();
|
|
985
974
|
const { getCanDrag } = useMultipleTab();
|
|
986
975
|
nextTick(() => {
|
|
987
|
-
if (!unref
|
|
976
|
+
if (!unref(getCanDrag))
|
|
988
977
|
return;
|
|
989
978
|
const el = document.querySelectorAll(`.dt-reuse-tabs .ant-tabs-nav-list`)?.[0];
|
|
990
979
|
const { initSortable } = useSortable(el, {
|
|
@@ -1016,13 +1005,13 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
1016
1005
|
const getTabsState = computed(() => {
|
|
1017
1006
|
return tabStore.getTabList.filter((item) => !item.meta?.hideTab);
|
|
1018
1007
|
});
|
|
1019
|
-
const unClose = computed(() => unref
|
|
1008
|
+
const unClose = computed(() => unref(getTabsState).length === 1);
|
|
1020
1009
|
function handleChange(activeKey) {
|
|
1021
1010
|
activeKeyRef.value = activeKey;
|
|
1022
1011
|
go(activeKey);
|
|
1023
1012
|
}
|
|
1024
1013
|
function handleEdit(targetKey) {
|
|
1025
|
-
if (unref
|
|
1014
|
+
if (unref(unClose))
|
|
1026
1015
|
return;
|
|
1027
1016
|
tabStore.closeTabByKey(targetKey, router);
|
|
1028
1017
|
}
|
|
@@ -1033,13 +1022,13 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
1033
1022
|
(v) => {
|
|
1034
1023
|
if (v === "/" || v === "/login")
|
|
1035
1024
|
return;
|
|
1036
|
-
const { meta = {} } = unref
|
|
1025
|
+
const { meta = {} } = unref(router.currentRoute);
|
|
1037
1026
|
const { hideTab = false } = meta;
|
|
1038
1027
|
if (activeKeyRef.value !== v) {
|
|
1039
1028
|
activeKeyRef.value = v;
|
|
1040
1029
|
}
|
|
1041
1030
|
if (!hideTab) {
|
|
1042
|
-
tabStore.addTab(unref
|
|
1031
|
+
tabStore.addTab(unref(router.currentRoute));
|
|
1043
1032
|
}
|
|
1044
1033
|
},
|
|
1045
1034
|
{
|
|
@@ -1062,16 +1051,16 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
1062
1051
|
class: "h-8"
|
|
1063
1052
|
}, createSlots({
|
|
1064
1053
|
default: withCtx(() => [
|
|
1065
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(unref
|
|
1054
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(getTabsState), (item) => {
|
|
1066
1055
|
return openBlock(), createBlock(_component_ATabPane, {
|
|
1067
1056
|
key: item.query ? item.fullPath : item.path,
|
|
1068
1057
|
closable: !(item && item.meta && item.meta.affix)
|
|
1069
1058
|
}, {
|
|
1070
1059
|
tab: withCtx(() => [
|
|
1071
|
-
unref
|
|
1060
|
+
unref(getShowQuick) ? (openBlock(), createBlock(unref(_sfc_main$y), {
|
|
1072
1061
|
key: 0,
|
|
1073
1062
|
tabItem: item
|
|
1074
|
-
}, null, 8, ["tabItem"])) : createCommentVNode("
|
|
1063
|
+
}, null, 8, ["tabItem"])) : createCommentVNode("", true)
|
|
1075
1064
|
]),
|
|
1076
1065
|
_: 2
|
|
1077
1066
|
}, 1032, ["closable"]);
|
|
@@ -1079,15 +1068,15 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
1079
1068
|
]),
|
|
1080
1069
|
_: 2
|
|
1081
1070
|
}, [
|
|
1082
|
-
unref
|
|
1071
|
+
unref(getShowRedo) || unref(getShowQuick) ? {
|
|
1083
1072
|
name: "rightExtra",
|
|
1084
1073
|
fn: withCtx(() => [
|
|
1085
|
-
unref
|
|
1086
|
-
unref
|
|
1074
|
+
unref(getShowRedo) ? (openBlock(), createBlock(unref(_sfc_main$z), { key: 0 })) : createCommentVNode("", true),
|
|
1075
|
+
unref(getShowQuick) ? (openBlock(), createBlock(unref(_sfc_main$y), {
|
|
1087
1076
|
key: 1,
|
|
1088
1077
|
isExtra: "",
|
|
1089
1078
|
tabItem: _ctx.$route
|
|
1090
|
-
}, null, 8, ["tabItem"])) : createCommentVNode("
|
|
1079
|
+
}, null, 8, ["tabItem"])) : createCommentVNode("", true)
|
|
1091
1080
|
]),
|
|
1092
1081
|
key: "0"
|
|
1093
1082
|
} : void 0
|
|
@@ -1096,7 +1085,6 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
1096
1085
|
};
|
|
1097
1086
|
}
|
|
1098
1087
|
});
|
|
1099
|
-
const MultipleTabs = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__file", "D:/dt/dt-frame-front/dt-frames/frames/packages/ui/src/theme/src/components/tabs/index.vue"]]);
|
|
1100
1088
|
const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
1101
1089
|
__name: "fullscreen",
|
|
1102
1090
|
setup(__props) {
|
|
@@ -1104,16 +1092,15 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
1104
1092
|
return (_ctx, _cache) => {
|
|
1105
1093
|
return openBlock(), createElementBlock("span", {
|
|
1106
1094
|
class: "dt_header_icon text-lg text-gray-800 cursor-pointer px-3 hover:bg-gray-500 hover:bg-opacity-50 transition-all duration-300",
|
|
1107
|
-
onClick: _cache[0] || (_cache[0] = (...args) => unref
|
|
1095
|
+
onClick: _cache[0] || (_cache[0] = (...args) => unref(toggle) && unref(toggle)(...args))
|
|
1108
1096
|
}, [
|
|
1109
1097
|
createElementVNode("i", {
|
|
1110
|
-
class: normalizeClass(["i block", !unref
|
|
1098
|
+
class: normalizeClass(["i block", !unref(isFullscreen) ? "ic:baseline-fullscreen" : "ic:baseline-fullscreen-exit"])
|
|
1111
1099
|
}, null, 2)
|
|
1112
1100
|
]);
|
|
1113
1101
|
};
|
|
1114
1102
|
}
|
|
1115
1103
|
});
|
|
1116
|
-
const DtFullScreen = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__file", "D:/dt/dt-frame-front/dt-frames/frames/packages/ui/src/theme/src/components/header/components/fullscreen.vue"]]);
|
|
1117
1104
|
const isServer = typeof window === "undefined";
|
|
1118
1105
|
const BAR_MAP = {
|
|
1119
1106
|
vertical: {
|
|
@@ -1230,7 +1217,7 @@ const Bar = defineComponent({
|
|
|
1230
1217
|
off(document, "mousemove", mouseMoveDocumentHandler);
|
|
1231
1218
|
document.onselectstart = null;
|
|
1232
1219
|
}
|
|
1233
|
-
onUnmounted
|
|
1220
|
+
onUnmounted(() => {
|
|
1234
1221
|
off(document, "mouseup", mouseUpDocumentHandler);
|
|
1235
1222
|
});
|
|
1236
1223
|
return () => h(
|
|
@@ -1295,29 +1282,29 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
1295
1282
|
return rsStyle;
|
|
1296
1283
|
});
|
|
1297
1284
|
const handleScroll = () => {
|
|
1298
|
-
moveY.value = unref
|
|
1299
|
-
moveX.value = unref
|
|
1285
|
+
moveY.value = unref(wrap).scrollTop * 100 / unref(wrap).clientHeight;
|
|
1286
|
+
moveX.value = unref(wrap).scrollLeft * 100 / unref(wrap).clientWidth;
|
|
1300
1287
|
};
|
|
1301
1288
|
const update = () => {
|
|
1302
|
-
if (!unref
|
|
1289
|
+
if (!unref(wrap))
|
|
1303
1290
|
return;
|
|
1304
|
-
const heightPercentage = unref
|
|
1305
|
-
const widthPercentage = unref
|
|
1291
|
+
const heightPercentage = unref(wrap).clientHeight * 100 / unref(wrap).scrollHeight;
|
|
1292
|
+
const widthPercentage = unref(wrap).clientWidth * 100 / unref(wrap).scrollWidth;
|
|
1306
1293
|
sizeHeight.value = heightPercentage < 100 ? heightPercentage + "%" : "";
|
|
1307
1294
|
sizeWidth.value = widthPercentage < 100 ? widthPercentage + "%" : "";
|
|
1308
1295
|
};
|
|
1309
|
-
onMounted
|
|
1296
|
+
onMounted(() => {
|
|
1310
1297
|
nextTick(update);
|
|
1311
1298
|
if (!props.noresize) {
|
|
1312
|
-
addResizeListener(unref
|
|
1313
|
-
addResizeListener(unref
|
|
1299
|
+
addResizeListener(unref(resize), update);
|
|
1300
|
+
addResizeListener(unref(wrap), update);
|
|
1314
1301
|
addEventListener("resize", update);
|
|
1315
1302
|
}
|
|
1316
1303
|
});
|
|
1317
1304
|
onBeforeUnmount(() => {
|
|
1318
1305
|
if (!props.noresize) {
|
|
1319
|
-
removeResizeListener(unref
|
|
1320
|
-
removeResizeListener(unref
|
|
1306
|
+
removeResizeListener(unref(resize), update);
|
|
1307
|
+
removeResizeListener(unref(wrap), update);
|
|
1321
1308
|
removeEventListener("resize", update);
|
|
1322
1309
|
}
|
|
1323
1310
|
});
|
|
@@ -1327,7 +1314,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
1327
1314
|
ref_key: "wrap",
|
|
1328
1315
|
ref: wrap,
|
|
1329
1316
|
class: normalizeClass([[__props.wrapClass, "scrollbar__wrap--hidden-default"], "h-full overflow-auto"]),
|
|
1330
|
-
style: normalizeStyle(unref
|
|
1317
|
+
style: normalizeStyle(unref(style)),
|
|
1331
1318
|
onScroll: handleScroll
|
|
1332
1319
|
}, [
|
|
1333
1320
|
(openBlock(), createBlock(resolveDynamicComponent(__props.tag), {
|
|
@@ -1342,11 +1329,11 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
1342
1329
|
_: 3
|
|
1343
1330
|
}, 8, ["class", "style"]))
|
|
1344
1331
|
], 38),
|
|
1345
|
-
createVNode(unref
|
|
1332
|
+
createVNode(unref(Bar), {
|
|
1346
1333
|
move: moveX.value,
|
|
1347
1334
|
size: sizeWidth.value
|
|
1348
1335
|
}, null, 8, ["move", "size"]),
|
|
1349
|
-
createVNode(unref
|
|
1336
|
+
createVNode(unref(Bar), {
|
|
1350
1337
|
vertical: "",
|
|
1351
1338
|
move: moveY.value,
|
|
1352
1339
|
size: sizeHeight.value
|
|
@@ -1355,13 +1342,12 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
1355
1342
|
};
|
|
1356
1343
|
}
|
|
1357
1344
|
});
|
|
1358
|
-
const ScrollBar = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__file", "D:/dt/dt-frame-front/dt-frames/frames/packages/ui/src/components/container/src/components/scroll-bar.vue"]]);
|
|
1359
1345
|
const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
1360
1346
|
__name: "scroll-container",
|
|
1361
1347
|
setup(__props) {
|
|
1362
1348
|
const scrollbarRef = ref(null);
|
|
1363
1349
|
return (_ctx, _cache) => {
|
|
1364
|
-
return openBlock(), createBlock(
|
|
1350
|
+
return openBlock(), createBlock(_sfc_main$v, mergeProps({
|
|
1365
1351
|
ref_key: "scrollbarRef",
|
|
1366
1352
|
ref: scrollbarRef
|
|
1367
1353
|
}, _ctx.$attrs, { class: "w-full h-full" }), {
|
|
@@ -1373,7 +1359,6 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
1373
1359
|
};
|
|
1374
1360
|
}
|
|
1375
1361
|
});
|
|
1376
|
-
const ScrollContainer = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__file", "D:/dt/dt-frame-front/dt-frames/frames/packages/ui/src/components/container/src/scroll-container.vue"]]);
|
|
1377
1362
|
const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
1378
1363
|
__name: "slot-container",
|
|
1379
1364
|
props: {
|
|
@@ -1388,19 +1373,18 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
1388
1373
|
const props = __props;
|
|
1389
1374
|
const Container = h("div", [props.template(props.data)]);
|
|
1390
1375
|
return (_ctx, _cache) => {
|
|
1391
|
-
return openBlock(), createBlock(unref
|
|
1376
|
+
return openBlock(), createBlock(unref(Container));
|
|
1392
1377
|
};
|
|
1393
1378
|
}
|
|
1394
1379
|
});
|
|
1395
|
-
const SlotContainer = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__file", "D:/dt/dt-frame-front/dt-frames/frames/packages/ui/src/components/container/src/slot-container.vue"]]);
|
|
1396
1380
|
const withInstall = (comp) => {
|
|
1397
1381
|
comp.install = (app) => {
|
|
1398
1382
|
app.component(comp.name, comp);
|
|
1399
1383
|
};
|
|
1400
1384
|
return comp;
|
|
1401
1385
|
};
|
|
1402
|
-
const DtScrollContainer = withInstall(
|
|
1403
|
-
const DtSlotContainer = withInstall(
|
|
1386
|
+
const DtScrollContainer = withInstall(_sfc_main$u);
|
|
1387
|
+
const DtSlotContainer = withInstall(_sfc_main$t);
|
|
1404
1388
|
const logoUrl = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADkAAAA5CAYAAACMGIOFAAAACXBIWXMAAAsTAAALEwEAmpwYAAAzfGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDggNzkuMTY0MDM2LCAyMDE5LzA4LzEzLTAxOjA2OjU3ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS4wLyIgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8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zbHhOpCAB/Hs8uXlUDfNuA6PwLdkdp1kcXeqB4HbjiDDGoQ1Jau8faFOXdC47ogq9Kol7801Zo8OirCsy7e2bRRl7ZovtsiA3JjLJBoyACwSHQmwUgbkYhmQ9TIga2VAzpcBWSEDskoG5EwZkKMyIDUZkDEZkP0yICMyIN/LgHwhOvIj8El05P1chaIhu0VHvgbeiY5s/9cLoiAjwB3Rkccwjq4Ji3wEPM5XwevIGNA8USUvI3VgPzlu8IiEbAUeFlLRq8iLQFuhlb2I7ABaJtPA57E5eBI4wgTndv4Ov0eAKrAH6LHS2As9+RzjTlWP1QRuRv4AmjBOXX22k8iNw1UDLgNngCEnEroJGQeumLuJmJOJ/zdSB/qAq8A9IFGMN/kNt6GNd9kLeHQAAAAASUVORK5CYII=";
|
|
1405
1389
|
const _hoisted_1$g = ["src"];
|
|
1406
1390
|
const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
@@ -1423,17 +1407,17 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
1423
1407
|
});
|
|
1424
1408
|
return (_ctx, _cache) => {
|
|
1425
1409
|
return openBlock(), createElementBlock("div", {
|
|
1426
|
-
class: normalizeClass(unref
|
|
1410
|
+
class: normalizeClass(unref(getLogoClass)),
|
|
1427
1411
|
style: normalizeStyle({
|
|
1428
|
-
minWidth: `${unref
|
|
1412
|
+
minWidth: `${unref(getLogoWidth)}px`
|
|
1429
1413
|
})
|
|
1430
1414
|
}, [
|
|
1431
|
-
unref
|
|
1415
|
+
unref(slots)?.logo ? (openBlock(), createBlock(unref(DtSlotContainer), {
|
|
1432
1416
|
key: 0,
|
|
1433
|
-
template: unref
|
|
1417
|
+
template: unref(slots).logo
|
|
1434
1418
|
}, null, 8, ["template"])) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
1435
|
-
createElementVNode("img", { src: unref
|
|
1436
|
-
withDirectives(createElementVNode("div", { class: "dt-logo__title text-base font-bold transition-all duration-500 pl-3" }, toDisplayString(unref
|
|
1419
|
+
createElementVNode("img", { src: unref(logoUrl) }, null, 8, _hoisted_1$g),
|
|
1420
|
+
withDirectives(createElementVNode("div", { class: "dt-logo__title text-base font-bold transition-all duration-500 pl-3" }, toDisplayString(unref(title)), 513), [
|
|
1437
1421
|
[vShow, __props.showTitle]
|
|
1438
1422
|
])
|
|
1439
1423
|
], 64))
|
|
@@ -1441,7 +1425,6 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
1441
1425
|
};
|
|
1442
1426
|
}
|
|
1443
1427
|
});
|
|
1444
|
-
const DtLogo = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__file", "D:/dt/dt-frame-front/dt-frames/frames/packages/ui/src/theme/src/components/header/components/logo.vue"]]);
|
|
1445
1428
|
const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
1446
1429
|
__name: "trigger",
|
|
1447
1430
|
props: { theme: String },
|
|
@@ -1451,16 +1434,15 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
1451
1434
|
return (_ctx, _cache) => {
|
|
1452
1435
|
return openBlock(), createElementBlock("div", {
|
|
1453
1436
|
class: normalizeClass(["flex w-12 h-full cursor-pointer items-center justify-center", props.theme]),
|
|
1454
|
-
onClick: _cache[0] || (_cache[0] = (...args) => unref
|
|
1437
|
+
onClick: _cache[0] || (_cache[0] = (...args) => unref(toggleCollapsed) && unref(toggleCollapsed)(...args))
|
|
1455
1438
|
}, [
|
|
1456
1439
|
createElementVNode("i", {
|
|
1457
|
-
class: normalizeClass(["i leading-none", unref
|
|
1440
|
+
class: normalizeClass(["i leading-none", unref(getCollapsed) ? "ic:baseline-format-indent-increase" : "ic:baseline-format-indent-decrease"])
|
|
1458
1441
|
}, null, 2)
|
|
1459
1442
|
], 2);
|
|
1460
1443
|
};
|
|
1461
1444
|
}
|
|
1462
1445
|
});
|
|
1463
|
-
const DtTrigger = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__file", "D:/dt/dt-frame-front/dt-frames/frames/packages/ui/src/theme/src/components/header/components/trigger.vue"]]);
|
|
1464
1446
|
const _hoisted_1$f = { class: "dt-breadcrumb" };
|
|
1465
1447
|
const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
1466
1448
|
__name: "bread-crumb",
|
|
@@ -1478,9 +1460,9 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
1478
1460
|
return (_ctx, _cache) => {
|
|
1479
1461
|
const _component_ABreadcrumb = Breadcrumb;
|
|
1480
1462
|
return openBlock(), createElementBlock("div", _hoisted_1$f, [
|
|
1481
|
-
createVNode(_component_ABreadcrumb, { routes: unref
|
|
1463
|
+
createVNode(_component_ABreadcrumb, { routes: unref(routes) }, {
|
|
1482
1464
|
itemRender: withCtx(({ route }) => [
|
|
1483
|
-
createElementVNode("span", null, toDisplayString((unref
|
|
1465
|
+
createElementVNode("span", null, toDisplayString((unref(getIsZH) ? route.label : route.enLabel) || route.meta?.title), 1)
|
|
1484
1466
|
]),
|
|
1485
1467
|
_: 1
|
|
1486
1468
|
}, 8, ["routes"])
|
|
@@ -1488,7 +1470,6 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
1488
1470
|
};
|
|
1489
1471
|
}
|
|
1490
1472
|
});
|
|
1491
|
-
const DtBreadCrumb = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__file", "D:/dt/dt-frame-front/dt-frames/frames/packages/ui/src/theme/src/components/header/components/bread-crumb.vue"]]);
|
|
1492
1473
|
const _hoisted_1$e = {
|
|
1493
1474
|
key: 0,
|
|
1494
1475
|
class: "dt-menu-filter h-7 pr-2"
|
|
@@ -1530,7 +1511,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
1530
1511
|
const _component_AEmpty = Empty;
|
|
1531
1512
|
const _component_AInputSearch = InputSearch;
|
|
1532
1513
|
const _component_APopover = Popover;
|
|
1533
|
-
return unref
|
|
1514
|
+
return unref(isUseDef) ? (openBlock(), createElementBlock("div", _hoisted_1$e, [
|
|
1534
1515
|
createVNode(_component_APopover, {
|
|
1535
1516
|
placement: "bottom",
|
|
1536
1517
|
overlayClassName: "dt-menu-filter__popover",
|
|
@@ -1542,31 +1523,30 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
1542
1523
|
return openBlock(), createElementBlock("p", {
|
|
1543
1524
|
onClick: ($event) => navigation(menu.url),
|
|
1544
1525
|
class: "px-5 leading-9 border-gray-200 border-dashed border-b m-0 cursor-pointer transition-all duration-300 text-13"
|
|
1545
|
-
}, toDisplayString(unref
|
|
1526
|
+
}, toDisplayString(unref(getIsZH) ? menu.label : menu.enLabel), 9, _hoisted_2$9);
|
|
1546
1527
|
}), 256)),
|
|
1547
1528
|
!menuList.value.length ? (openBlock(), createElementBlock("div", _hoisted_3$7, [
|
|
1548
1529
|
createVNode(_component_AEmpty, {
|
|
1549
1530
|
description: "\u6682\u65E0\u6570\u636E",
|
|
1550
1531
|
imageStyle: { width: "100%" }
|
|
1551
1532
|
})
|
|
1552
|
-
])) : createCommentVNode("
|
|
1533
|
+
])) : createCommentVNode("", true)
|
|
1553
1534
|
]),
|
|
1554
1535
|
default: withCtx(() => [
|
|
1555
1536
|
createVNode(_component_AInputSearch, {
|
|
1556
1537
|
value: filter.value,
|
|
1557
1538
|
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => filter.value = $event),
|
|
1558
|
-
placeholder: unref
|
|
1539
|
+
placeholder: unref(t)("FILTER_MORE"),
|
|
1559
1540
|
onInput: filterMenu,
|
|
1560
|
-
size: unref
|
|
1541
|
+
size: unref(UiSize).SMALL
|
|
1561
1542
|
}, null, 8, ["value", "placeholder", "size"])
|
|
1562
1543
|
]),
|
|
1563
1544
|
_: 1
|
|
1564
1545
|
})
|
|
1565
|
-
])) : createCommentVNode("
|
|
1546
|
+
])) : createCommentVNode("", true);
|
|
1566
1547
|
};
|
|
1567
1548
|
}
|
|
1568
1549
|
});
|
|
1569
|
-
const DtMenuFilter = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__file", "D:/dt/dt-frame-front/dt-frames/frames/packages/ui/src/theme/src/components/header/components/menu-filter.vue"]]);
|
|
1570
1550
|
const _hoisted_1$d = { class: "lang m-0" };
|
|
1571
1551
|
const _hoisted_2$8 = ["onClick"];
|
|
1572
1552
|
const _hoisted_3$6 = {
|
|
@@ -1605,10 +1585,10 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
1605
1585
|
}, {
|
|
1606
1586
|
content: withCtx(() => [
|
|
1607
1587
|
createElementVNode("ul", _hoisted_1$d, [
|
|
1608
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(unref
|
|
1588
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(localeList), (it) => {
|
|
1609
1589
|
return openBlock(), createElementBlock("li", {
|
|
1610
1590
|
onClick: ($event) => toggleLang(it.event),
|
|
1611
|
-
class: normalizeClass(["px-4 my-1 leading-9 flex border-gray-200 cursor-pointer hover:bg-gray-100 transition-all duration-300 text-13", it.event === unref
|
|
1591
|
+
class: normalizeClass(["px-4 my-1 leading-9 flex border-gray-200 cursor-pointer hover:bg-gray-100 transition-all duration-300 text-13", it.event === unref(currentLang) ? "active bg-gray-100" : ""])
|
|
1612
1592
|
}, [
|
|
1613
1593
|
withDirectives(createElementVNode("span", _hoisted_3$6, null, 512), [
|
|
1614
1594
|
[_directive_icon, it.icon]
|
|
@@ -1626,7 +1606,6 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
1626
1606
|
};
|
|
1627
1607
|
}
|
|
1628
1608
|
});
|
|
1629
|
-
const DtLangPicker = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__file", "D:/dt/dt-frame-front/dt-frames/frames/packages/ui/src/theme/src/components/header/components/lang-picker.vue"]]);
|
|
1630
1609
|
const _hoisted_1$c = { class: "dt_header_icon text-lg text-gray-800 cursor-pointer px-3 hover:bg-gray-500 hover:bg-opacity-50 transition-all duration-300 relative" };
|
|
1631
1610
|
const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
1632
1611
|
__name: "notify",
|
|
@@ -1643,20 +1622,20 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
1643
1622
|
overlayClassName: "dt-notify__popover"
|
|
1644
1623
|
}, {
|
|
1645
1624
|
content: withCtx(() => [
|
|
1646
|
-
unref
|
|
1625
|
+
unref(slots)?.notify ? (openBlock(), createBlock(unref(DtSlotContainer$1), {
|
|
1647
1626
|
key: 0,
|
|
1648
|
-
template: unref
|
|
1649
|
-
}, null, 8, ["template"])) : createCommentVNode("
|
|
1627
|
+
template: unref(slots).notify
|
|
1628
|
+
}, null, 8, ["template"])) : createCommentVNode("", true)
|
|
1650
1629
|
]),
|
|
1651
1630
|
default: withCtx(() => [
|
|
1652
1631
|
createElementVNode("span", _hoisted_1$c, [
|
|
1653
1632
|
withDirectives(createElementVNode("span", null, null, 512), [
|
|
1654
1633
|
[_directive_icon, "ant-design:bell-outlined"]
|
|
1655
1634
|
]),
|
|
1656
|
-
unref
|
|
1635
|
+
unref(slots)?.notifyBadge ? (openBlock(), createBlock(unref(DtSlotContainer$1), {
|
|
1657
1636
|
key: 0,
|
|
1658
|
-
template: unref
|
|
1659
|
-
}, null, 8, ["template"])) : createCommentVNode("
|
|
1637
|
+
template: unref(slots).notifyBadge
|
|
1638
|
+
}, null, 8, ["template"])) : createCommentVNode("", true)
|
|
1660
1639
|
])
|
|
1661
1640
|
]),
|
|
1662
1641
|
_: 1
|
|
@@ -1664,7 +1643,6 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
1664
1643
|
};
|
|
1665
1644
|
}
|
|
1666
1645
|
});
|
|
1667
|
-
const DtNotify = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__file", "D:/dt/dt-frame-front/dt-frames/frames/packages/ui/src/theme/src/components/header/components/notify.vue"]]);
|
|
1668
1646
|
const _hoisted_1$b = { class: "lang m-0" };
|
|
1669
1647
|
const _hoisted_2$7 = ["onClick"];
|
|
1670
1648
|
const _hoisted_3$5 = /* @__PURE__ */ createElementVNode("span", { class: "dt_header_icon text-lg text-gray-800 cursor-pointer px-3 hover:bg-gray-500 hover:bg-opacity-50 transition-all duration-300" }, [
|
|
@@ -1700,7 +1678,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
1700
1678
|
});
|
|
1701
1679
|
}
|
|
1702
1680
|
return (_ctx, _cache) => {
|
|
1703
|
-
return openBlock(), createBlock(unref
|
|
1681
|
+
return openBlock(), createBlock(unref(Popover$1), {
|
|
1704
1682
|
placement: "bottom",
|
|
1705
1683
|
visible: visible.value,
|
|
1706
1684
|
"onUpdate:visible": _cache[0] || (_cache[0] = ($event) => visible.value = $event),
|
|
@@ -1712,7 +1690,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
1712
1690
|
(openBlock(), createElementBlock(Fragment, null, renderList(sizeList, (it) => {
|
|
1713
1691
|
return createElementVNode("li", {
|
|
1714
1692
|
onClick: ($event) => toggleLang(it.event),
|
|
1715
|
-
class: normalizeClass(["px-4 my-1 leading-9 flex border-gray-200 cursor-pointer hover:bg-gray-100 transition-all duration-300 text-13", it.event === unref
|
|
1693
|
+
class: normalizeClass(["px-4 my-1 leading-9 flex border-gray-200 cursor-pointer hover:bg-gray-100 transition-all duration-300 text-13", it.event === unref(getUiSize) ? "active bg-gray-100" : ""])
|
|
1716
1694
|
}, [
|
|
1717
1695
|
createElementVNode("span", null, toDisplayString(it.text), 1)
|
|
1718
1696
|
], 10, _hoisted_2$7);
|
|
@@ -1727,7 +1705,6 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
1727
1705
|
};
|
|
1728
1706
|
}
|
|
1729
1707
|
});
|
|
1730
|
-
const DtSize = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__file", "D:/dt/dt-frame-front/dt-frames/frames/packages/ui/src/theme/src/components/header/components/size.vue"]]);
|
|
1731
1708
|
const _imports_0 = "data:image/png;base64,/9j/4A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sZ8jDqNjdUxxHSNgFpStFE+Shh2NdDuN6XqnkefLx7ZmLFQub12VOKj04R38tLuxrBsP4gq8ZG04R46BdJluOVw04srcGsMYHErQ3G6x4HGORrhyK2ZBSzfbWK6LEloo7q9ssbuIAKzbU2uIXHLD+O+OTWY2MiwGlWlzQNhXos2ORwojZdDZHHiVxuNdZYv1JsdcjR5qq1KP3wVJjppoYh/ezvf1VIFO2UjxQD4laO+Fv7MLTjdpyx/8AOFmwe4F3A/8Ahk3k9n5rMGfjd3D0XIAr8UfG0eSqUqhASTRVjVJQarFaBAKDwSapRq4B+qAtPFpV90uDAOqYjq1djzurB2Md/szD0fSszKXu8sxUlbtgeR/SVzxk+ytH/MU82NZVifOKvnQWkfOMN7RoDmMZZHiLm18t1M4iaM3JExovjqpaPdgOq/CORSMbXcQD6hYucvqxzmLlinjkZqDmt9XBWRyNJ1CRhadr1WFN2HiJ1GNhI23aoMw8MbjoiYCOjaWK3IuI2O49Qo20cSDY4IcNOw6WFawNIHhCzVUgXvvw3UZMLDMAXxgkiiSu7u26QaScBVVdJummZNlmFc5pELS8HVd1v12TGAgjIcWuOp2/iJXbbdWkMAT0hXdTUcz8Oxzv3TD51aF0AoTdNR//2Q==";
|
|
1732
1709
|
const LOCKSCREEN = "_LOCKSCREEN";
|
|
1733
1710
|
const useLockscreenStore = defineStore({
|
|
@@ -1774,10 +1751,12 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
1774
1751
|
getParentSlots(null, "dt-theme").then((rsp) => {
|
|
1775
1752
|
slots.value = rsp;
|
|
1776
1753
|
});
|
|
1754
|
+
const popoverVisible = ref(false);
|
|
1777
1755
|
const visible = ref(false);
|
|
1778
1756
|
const password = ref(null);
|
|
1779
1757
|
const getUserInfo = DtCache.getLocal(CacheKey.USER_INFO);
|
|
1780
1758
|
function signOut() {
|
|
1759
|
+
popoverVisible.value = false;
|
|
1781
1760
|
if (loginOutClick && isFunction(loginOutClick)) {
|
|
1782
1761
|
loginOutClick();
|
|
1783
1762
|
} else {
|
|
@@ -1785,11 +1764,13 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
1785
1764
|
}
|
|
1786
1765
|
}
|
|
1787
1766
|
function lockScreen() {
|
|
1767
|
+
popoverVisible.value = false;
|
|
1788
1768
|
visible.value = true;
|
|
1789
1769
|
}
|
|
1790
1770
|
function onLock() {
|
|
1791
|
-
useLockscreen.setLock(true, unref
|
|
1771
|
+
useLockscreen.setLock(true, unref(password));
|
|
1792
1772
|
visible.value = false;
|
|
1773
|
+
popoverVisible.value = false;
|
|
1793
1774
|
}
|
|
1794
1775
|
return (_ctx, _cache) => {
|
|
1795
1776
|
const _component_AAvatar = Avatar;
|
|
@@ -1800,17 +1781,19 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
1800
1781
|
const _directive_icon = resolveDirective("icon");
|
|
1801
1782
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
1802
1783
|
createVNode(_component_APopover, {
|
|
1784
|
+
visible: popoverVisible.value,
|
|
1785
|
+
"onUpdate:visible": _cache[2] || (_cache[2] = ($event) => popoverVisible.value = $event),
|
|
1803
1786
|
placement: "bottom",
|
|
1804
1787
|
overlayClassName: "dt-user-info__popover",
|
|
1805
1788
|
trigger: "click"
|
|
1806
1789
|
}, {
|
|
1807
1790
|
content: withCtx(() => [
|
|
1808
1791
|
createElementVNode("div", _hoisted_1$a, [
|
|
1809
|
-
unref
|
|
1792
|
+
unref(slots).userInfo ? (openBlock(), createBlock(unref(DtSlotContainer$1), {
|
|
1810
1793
|
key: 0,
|
|
1811
|
-
template: unref
|
|
1812
|
-
}, null, 8, ["template"])) : createCommentVNode("
|
|
1813
|
-
unref
|
|
1794
|
+
template: unref(slots).userInfo
|
|
1795
|
+
}, null, 8, ["template"])) : createCommentVNode("", true),
|
|
1796
|
+
unref(getLockscreen) ? (openBlock(), createElementBlock("div", {
|
|
1814
1797
|
key: 1,
|
|
1815
1798
|
onClick: _cache[0] || (_cache[0] = ($event) => lockScreen()),
|
|
1816
1799
|
class: "px-4 my-1 leading-9 flex border-gray-200 cursor-pointer hover:bg-gray-100 transition-all duration-300 text-13"
|
|
@@ -1819,8 +1802,8 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
1819
1802
|
[_directive_icon, "ant-design:lock-filled"]
|
|
1820
1803
|
]),
|
|
1821
1804
|
_hoisted_3$4
|
|
1822
|
-
])) : createCommentVNode("
|
|
1823
|
-
unref
|
|
1805
|
+
])) : createCommentVNode("", true),
|
|
1806
|
+
unref(getShowLoginOut) ? (openBlock(), createElementBlock("div", {
|
|
1824
1807
|
key: 2,
|
|
1825
1808
|
onClick: _cache[1] || (_cache[1] = ($event) => signOut()),
|
|
1826
1809
|
class: "px-4 my-1 leading-9 flex border-gray-200 cursor-pointer hover:bg-gray-100 transition-all duration-300 text-13"
|
|
@@ -1828,22 +1811,22 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
1828
1811
|
withDirectives(createElementVNode("span", _hoisted_4$4, null, 512), [
|
|
1829
1812
|
[_directive_icon, "ant-design:logout-outlined"]
|
|
1830
1813
|
]),
|
|
1831
|
-
createElementVNode("span", null, toDisplayString(unref
|
|
1832
|
-
])) : createCommentVNode("
|
|
1814
|
+
createElementVNode("span", null, toDisplayString(unref(t)("LOGIN_OUT")), 1)
|
|
1815
|
+
])) : createCommentVNode("", true)
|
|
1833
1816
|
])
|
|
1834
1817
|
]),
|
|
1835
1818
|
default: withCtx(() => [
|
|
1836
1819
|
createElementVNode("div", _hoisted_5$3, [
|
|
1837
1820
|
createVNode(_component_AAvatar, { size: 28 }, createSlots({
|
|
1838
1821
|
default: withCtx(() => [
|
|
1839
|
-
unref
|
|
1822
|
+
unref(slots)?.icon ? (openBlock(), createBlock(unref(DtSlotContainer$1), {
|
|
1840
1823
|
key: 0,
|
|
1841
|
-
template: unref
|
|
1842
|
-
}, null, 8, ["template"])) : createCommentVNode("
|
|
1824
|
+
template: unref(slots).icon
|
|
1825
|
+
}, null, 8, ["template"])) : createCommentVNode("", true)
|
|
1843
1826
|
]),
|
|
1844
1827
|
_: 2
|
|
1845
1828
|
}, [
|
|
1846
|
-
!unref
|
|
1829
|
+
!unref(slots)?.icon ? {
|
|
1847
1830
|
name: "icon",
|
|
1848
1831
|
fn: withCtx(() => [
|
|
1849
1832
|
_hoisted_6$3
|
|
@@ -1851,30 +1834,30 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
1851
1834
|
key: "0"
|
|
1852
1835
|
} : void 0
|
|
1853
1836
|
]), 1024),
|
|
1854
|
-
createElementVNode("span", _hoisted_7$2, toDisplayString(unref
|
|
1837
|
+
createElementVNode("span", _hoisted_7$2, toDisplayString(unref(getUserInfo)?.userNo), 1)
|
|
1855
1838
|
])
|
|
1856
1839
|
]),
|
|
1857
1840
|
_: 1
|
|
1858
|
-
}),
|
|
1841
|
+
}, 8, ["visible"]),
|
|
1859
1842
|
createVNode(_component_AModal, {
|
|
1860
1843
|
visible: visible.value,
|
|
1861
|
-
"onUpdate:visible": _cache[
|
|
1844
|
+
"onUpdate:visible": _cache[4] || (_cache[4] = ($event) => visible.value = $event),
|
|
1862
1845
|
title: "\u9501\u5B9A\u5C4F\u5E55",
|
|
1863
1846
|
class: "lockscreen",
|
|
1864
1847
|
footer: null
|
|
1865
1848
|
}, {
|
|
1866
1849
|
default: withCtx(() => [
|
|
1867
1850
|
createElementVNode("div", _hoisted_8$2, [
|
|
1868
|
-
unref
|
|
1851
|
+
unref(slots)?.icon ? (openBlock(), createBlock(unref(DtSlotContainer$1), {
|
|
1869
1852
|
key: 0,
|
|
1870
|
-
template: unref
|
|
1871
|
-
}, null, 8, ["template"])) : createCommentVNode("
|
|
1872
|
-
createElementVNode("span", _hoisted_9$2, toDisplayString(unref
|
|
1853
|
+
template: unref(slots).icon
|
|
1854
|
+
}, null, 8, ["template"])) : createCommentVNode("", true),
|
|
1855
|
+
createElementVNode("span", _hoisted_9$2, toDisplayString(unref(getUserInfo)?.userNo), 1),
|
|
1873
1856
|
createVNode(_component_AInputPassword, {
|
|
1874
1857
|
class: "mt-2",
|
|
1875
1858
|
autofocus: "",
|
|
1876
1859
|
value: password.value,
|
|
1877
|
-
"onUpdate:value": _cache[
|
|
1860
|
+
"onUpdate:value": _cache[3] || (_cache[3] = ($event) => password.value = $event),
|
|
1878
1861
|
onKeyup: withKeys(onLock, ["enter"]),
|
|
1879
1862
|
placeholder: "\u8BF7\u8F93\u5165\u9501\u5C4F\u5BC6\u7801"
|
|
1880
1863
|
}, null, 8, ["value", "onKeyup"]),
|
|
@@ -1897,7 +1880,6 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
1897
1880
|
};
|
|
1898
1881
|
}
|
|
1899
1882
|
});
|
|
1900
|
-
const DtUserInfo = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__file", "D:/dt/dt-frame-front/dt-frames/frames/packages/ui/src/theme/src/components/header/components/user-info.vue"]]);
|
|
1901
1883
|
var HandlerEnum = /* @__PURE__ */ ((HandlerEnum2) => {
|
|
1902
1884
|
HandlerEnum2[HandlerEnum2["CHANGE_LAYOUT"] = 0] = "CHANGE_LAYOUT";
|
|
1903
1885
|
HandlerEnum2[HandlerEnum2["SHOW_BREADCRUMB"] = 1] = "SHOW_BREADCRUMB";
|
|
@@ -2008,32 +1990,32 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
2008
1990
|
const menuTypeList = [
|
|
2009
1991
|
{
|
|
2010
1992
|
title: "\u5DE6\u4FA7\u83DC\u5355\u6A21\u5F0F",
|
|
2011
|
-
headTheme: Theme
|
|
2012
|
-
menuTheme: Theme
|
|
1993
|
+
headTheme: Theme.LIGHT,
|
|
1994
|
+
menuTheme: Theme.DARK,
|
|
2013
1995
|
mode: MenuMode.INLINE,
|
|
2014
1996
|
type: MenuType.SIDE,
|
|
2015
1997
|
split: false
|
|
2016
1998
|
},
|
|
2017
1999
|
{
|
|
2018
2000
|
title: "\u83DC\u5355\u6DF7\u5408\u6A21\u5F0F",
|
|
2019
|
-
headTheme: Theme
|
|
2020
|
-
menuTheme: Theme
|
|
2001
|
+
headTheme: Theme.DARK,
|
|
2002
|
+
menuTheme: Theme.LIGHT,
|
|
2021
2003
|
mode: MenuMode.INLINE,
|
|
2022
2004
|
type: MenuType.MIX,
|
|
2023
2005
|
split: true
|
|
2024
2006
|
},
|
|
2025
2007
|
{
|
|
2026
2008
|
title: "\u9876\u90E8\u83DC\u5355\u6A21\u5F0F",
|
|
2027
|
-
headTheme: Theme
|
|
2028
|
-
menuTheme: Theme
|
|
2009
|
+
headTheme: Theme.DARK,
|
|
2010
|
+
menuTheme: Theme.LIGHT,
|
|
2029
2011
|
mode: MenuMode.HORIZONTAL,
|
|
2030
2012
|
type: MenuType.TOP_MENU,
|
|
2031
2013
|
split: false
|
|
2032
2014
|
},
|
|
2033
2015
|
{
|
|
2034
2016
|
title: "\u5DE6\u4FA7\u83DC\u5355\u6DF7\u5408\u6A21\u5F0F",
|
|
2035
|
-
headTheme: Theme
|
|
2036
|
-
menuTheme: Theme
|
|
2017
|
+
headTheme: Theme.LIGHT,
|
|
2018
|
+
menuTheme: Theme.DARK,
|
|
2037
2019
|
mode: MenuMode.INLINE,
|
|
2038
2020
|
type: MenuType.MIX_SIDEBAR,
|
|
2039
2021
|
split: false
|
|
@@ -2059,7 +2041,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
2059
2041
|
shadow-gray-200`,
|
|
2060
2042
|
`dt-menu-type__item--${item.type}`,
|
|
2061
2043
|
{
|
|
2062
|
-
[`dt-menu-type__item--active`]: unref
|
|
2044
|
+
[`dt-menu-type__item--active`]: unref(getMenuType) === item.type && unref(getMenuMode) === item.mode
|
|
2063
2045
|
}
|
|
2064
2046
|
])
|
|
2065
2047
|
}, _hoisted_4$3, 10, _hoisted_2$5)
|
|
@@ -2071,7 +2053,6 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
2071
2053
|
};
|
|
2072
2054
|
}
|
|
2073
2055
|
});
|
|
2074
|
-
const DtMenuType = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__file", "D:/dt/dt-frame-front/dt-frames/frames/packages/ui/src/theme/src/components/header/components/theme-drawer/menu-type.vue"]]);
|
|
2075
2056
|
const _hoisted_1$8 = { class: "flex justify-between mb-5" };
|
|
2076
2057
|
const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
2077
2058
|
__name: "select",
|
|
@@ -2098,7 +2079,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
2098
2079
|
const _component_ASelect = Select;
|
|
2099
2080
|
return openBlock(), createElementBlock("div", _hoisted_1$8, [
|
|
2100
2081
|
createElementVNode("span", null, toDisplayString(__props.title), 1),
|
|
2101
|
-
createVNode(_component_ASelect, mergeProps(unref
|
|
2082
|
+
createVNode(_component_ASelect, mergeProps(unref(getBindValue), {
|
|
2102
2083
|
disabled: __props.disabled,
|
|
2103
2084
|
size: "small",
|
|
2104
2085
|
class: "w-32",
|
|
@@ -2109,7 +2090,6 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
2109
2090
|
};
|
|
2110
2091
|
}
|
|
2111
2092
|
});
|
|
2112
|
-
const DtTSelect = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__file", "D:/dt/dt-frame-front/dt-frames/frames/packages/ui/src/theme/src/components/header/components/theme-drawer/select.vue"]]);
|
|
2113
2093
|
const _hoisted_1$7 = { class: "flex justify-between mb-5" };
|
|
2114
2094
|
const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
2115
2095
|
__name: "switch",
|
|
@@ -2136,17 +2116,16 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
2136
2116
|
const _component_ASwitch = Switch;
|
|
2137
2117
|
return openBlock(), createElementBlock("div", _hoisted_1$7, [
|
|
2138
2118
|
createElementVNode("span", null, toDisplayString(__props.title), 1),
|
|
2139
|
-
createVNode(_component_ASwitch, mergeProps(unref
|
|
2119
|
+
createVNode(_component_ASwitch, mergeProps(unref(getBindValue), {
|
|
2140
2120
|
disabled: __props.disabled,
|
|
2141
|
-
checkedChildren: unref
|
|
2142
|
-
unCheckedChildren: unref
|
|
2121
|
+
checkedChildren: unref(t)("ON"),
|
|
2122
|
+
unCheckedChildren: unref(t)("OFF"),
|
|
2143
2123
|
onChange: handleChange
|
|
2144
2124
|
}), null, 16, ["disabled", "checkedChildren", "unCheckedChildren"])
|
|
2145
2125
|
]);
|
|
2146
2126
|
};
|
|
2147
2127
|
}
|
|
2148
2128
|
});
|
|
2149
|
-
const DtTSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__file", "D:/dt/dt-frame-front/dt-frames/frames/packages/ui/src/theme/src/components/header/components/theme-drawer/switch.vue"]]);
|
|
2150
2129
|
const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
2151
2130
|
__name: "feature",
|
|
2152
2131
|
setup(__props) {
|
|
@@ -2223,19 +2202,19 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
2223
2202
|
return (_ctx, _cache) => {
|
|
2224
2203
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
2225
2204
|
(openBlock(), createElementBlock(Fragment, null, renderList(switchItems, (item) => {
|
|
2226
|
-
return createVNode(
|
|
2205
|
+
return createVNode(_sfc_main$i, {
|
|
2227
2206
|
key: item.title,
|
|
2228
2207
|
title: item.title,
|
|
2229
2208
|
event: item.event,
|
|
2230
|
-
def: unref
|
|
2209
|
+
def: unref(item.def)
|
|
2231
2210
|
}, null, 8, ["title", "event", "def"]);
|
|
2232
2211
|
}), 64)),
|
|
2233
2212
|
(openBlock(), createElementBlock(Fragment, null, renderList(selectItems, (item) => {
|
|
2234
|
-
return createVNode(
|
|
2213
|
+
return createVNode(_sfc_main$j, {
|
|
2235
2214
|
key: item.title,
|
|
2236
2215
|
title: item.title,
|
|
2237
2216
|
event: item.event,
|
|
2238
|
-
def: unref
|
|
2217
|
+
def: unref(item.def),
|
|
2239
2218
|
options: item.options
|
|
2240
2219
|
}, null, 8, ["title", "event", "def", "options"]);
|
|
2241
2220
|
}), 64))
|
|
@@ -2243,7 +2222,6 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
2243
2222
|
};
|
|
2244
2223
|
}
|
|
2245
2224
|
});
|
|
2246
|
-
const DtFeature = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__file", "D:/dt/dt-frame-front/dt-frames/frames/packages/ui/src/theme/src/components/header/components/theme-drawer/feature.vue"]]);
|
|
2247
2225
|
const _hoisted_1$6 = { class: "mt-5" };
|
|
2248
2226
|
const _hoisted_2$4 = { class: "dt-setting-theme__tips p-3 text-12 bg-gray-100 rounded" };
|
|
2249
2227
|
const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
@@ -2265,24 +2243,24 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
2265
2243
|
const defaultConf = getConfig();
|
|
2266
2244
|
function getConfig() {
|
|
2267
2245
|
return {
|
|
2268
|
-
contentMode: unref
|
|
2246
|
+
contentMode: unref(getContentMode),
|
|
2269
2247
|
menuOptions: {
|
|
2270
|
-
mode: unref
|
|
2271
|
-
type: unref
|
|
2272
|
-
split: unref
|
|
2248
|
+
mode: unref(getMenuMode),
|
|
2249
|
+
type: unref(getMenuType),
|
|
2250
|
+
split: unref(getMenuType) === MenuType.MIX ? true : false
|
|
2273
2251
|
},
|
|
2274
2252
|
headOptions: {
|
|
2275
|
-
showBreadCrumb: unref
|
|
2276
|
-
showSearch: unref
|
|
2277
|
-
notice: unref
|
|
2278
|
-
showFullScreen: unref
|
|
2279
|
-
showLocaleSwitch: unref
|
|
2253
|
+
showBreadCrumb: unref(getShowBread),
|
|
2254
|
+
showSearch: unref(getShowSearch),
|
|
2255
|
+
notice: unref(getShowNotice),
|
|
2256
|
+
showFullScreen: unref(getShowFullScreen),
|
|
2257
|
+
showLocaleSwitch: unref(getShowLocale)
|
|
2280
2258
|
},
|
|
2281
2259
|
mulTabsOptions: {
|
|
2282
|
-
show: unref
|
|
2260
|
+
show: unref(getShowMultipleTab)
|
|
2283
2261
|
},
|
|
2284
2262
|
footerOptions: {
|
|
2285
|
-
show: unref
|
|
2263
|
+
show: unref(getShowFooter)
|
|
2286
2264
|
}
|
|
2287
2265
|
};
|
|
2288
2266
|
}
|
|
@@ -2343,27 +2321,25 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
2343
2321
|
createVNode(_component_ADrawer, {
|
|
2344
2322
|
visible: visible.value,
|
|
2345
2323
|
"onUpdate:visible": _cache[1] || (_cache[1] = ($event) => visible.value = $event),
|
|
2346
|
-
title: unref
|
|
2324
|
+
title: unref(t)("PROJECT_SETTING"),
|
|
2347
2325
|
placement: "right",
|
|
2348
2326
|
width: "320"
|
|
2349
2327
|
}, {
|
|
2350
2328
|
default: withCtx(() => [
|
|
2351
|
-
createCommentVNode(" \u5BFC\u822A\u680F\u6A21\u5F0F "),
|
|
2352
2329
|
createVNode(_component_ADivider, null, {
|
|
2353
2330
|
default: withCtx(() => [
|
|
2354
|
-
createTextVNode(toDisplayString(unref
|
|
2331
|
+
createTextVNode(toDisplayString(unref(t)("NAV_MODE")), 1)
|
|
2355
2332
|
]),
|
|
2356
2333
|
_: 1
|
|
2357
2334
|
}),
|
|
2358
|
-
createVNode(unref$
|
|
2359
|
-
createCommentVNode(" \u754C\u9762\u663E\u793A "),
|
|
2335
|
+
createVNode(unref(_sfc_main$k)),
|
|
2360
2336
|
createVNode(_component_ADivider, null, {
|
|
2361
2337
|
default: withCtx(() => [
|
|
2362
|
-
createTextVNode(toDisplayString(unref
|
|
2338
|
+
createTextVNode(toDisplayString(unref(t)("PAGE_SHOW")), 1)
|
|
2363
2339
|
]),
|
|
2364
2340
|
_: 1
|
|
2365
2341
|
}),
|
|
2366
|
-
createVNode(unref$
|
|
2342
|
+
createVNode(unref(_sfc_main$h)),
|
|
2367
2343
|
createVNode(_component_ADivider),
|
|
2368
2344
|
createElementVNode("div", _hoisted_1$6, [
|
|
2369
2345
|
createVNode(_component_AButton, {
|
|
@@ -2373,7 +2349,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
2373
2349
|
block: ""
|
|
2374
2350
|
}, {
|
|
2375
2351
|
default: withCtx(() => [
|
|
2376
|
-
createTextVNode(toDisplayString(unref
|
|
2352
|
+
createTextVNode(toDisplayString(unref(t)("COPY")), 1)
|
|
2377
2353
|
]),
|
|
2378
2354
|
_: 1
|
|
2379
2355
|
}),
|
|
@@ -2383,12 +2359,12 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
2383
2359
|
block: ""
|
|
2384
2360
|
}, {
|
|
2385
2361
|
default: withCtx(() => [
|
|
2386
|
-
createTextVNode(toDisplayString(unref
|
|
2362
|
+
createTextVNode(toDisplayString(unref(t)("RESET")), 1)
|
|
2387
2363
|
]),
|
|
2388
2364
|
_: 1
|
|
2389
2365
|
})
|
|
2390
2366
|
]),
|
|
2391
|
-
createElementVNode("div", _hoisted_2$4, toDisplayString(unref
|
|
2367
|
+
createElementVNode("div", _hoisted_2$4, toDisplayString(unref(t)("DRAWER_TIPS")), 1)
|
|
2392
2368
|
]),
|
|
2393
2369
|
_: 1
|
|
2394
2370
|
}, 8, ["visible", "title"])
|
|
@@ -2396,7 +2372,6 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
2396
2372
|
};
|
|
2397
2373
|
}
|
|
2398
2374
|
});
|
|
2399
|
-
const DtSettingTheme = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__file", "D:/dt/dt-frame-front/dt-frames/frames/packages/ui/src/theme/src/components/header/components/setting-theme.vue"]]);
|
|
2400
2375
|
function useSplitMenu(splitType) {
|
|
2401
2376
|
const menusRef = ref([]);
|
|
2402
2377
|
const { currentRoute } = useRouter();
|
|
@@ -2404,21 +2379,21 @@ function useSplitMenu(splitType) {
|
|
|
2404
2379
|
const { getIsHorizontal, getSplit } = useMenu();
|
|
2405
2380
|
const throttleHandleSplitLeftMenu = useThrottleFn(handleSplitLeftMenu, 50);
|
|
2406
2381
|
const splitNotLeft = computed(
|
|
2407
|
-
() => unref
|
|
2382
|
+
() => unref(splitType) !== MenuSplitTye.LEFT && !unref(getIsHorizontal)
|
|
2408
2383
|
);
|
|
2409
2384
|
const getSplitLeft = computed(
|
|
2410
|
-
() => !unref
|
|
2385
|
+
() => !unref(getSplit) || unref(splitType) !== MenuSplitTye.LEFT
|
|
2411
2386
|
);
|
|
2412
2387
|
const getSplitTop = computed(
|
|
2413
|
-
() => unref
|
|
2388
|
+
() => unref(splitType) === MenuSplitTye.TOP
|
|
2414
2389
|
);
|
|
2415
2390
|
const normalType = computed(
|
|
2416
|
-
() => !unref
|
|
2391
|
+
() => !unref(getSplit) || unref(splitType) === MenuSplitTye.NONE
|
|
2417
2392
|
);
|
|
2418
2393
|
watch(
|
|
2419
|
-
[() => unref
|
|
2394
|
+
[() => unref(currentRoute)?.path, () => unref(splitType)],
|
|
2420
2395
|
([path]) => {
|
|
2421
|
-
if (unref
|
|
2396
|
+
if (unref(splitNotLeft))
|
|
2422
2397
|
return;
|
|
2423
2398
|
throttleHandleSplitLeftMenu(path);
|
|
2424
2399
|
},
|
|
@@ -2429,22 +2404,22 @@ function useSplitMenu(splitType) {
|
|
|
2429
2404
|
watch(
|
|
2430
2405
|
() => getSplit.value,
|
|
2431
2406
|
() => {
|
|
2432
|
-
if (unref
|
|
2407
|
+
if (unref(splitNotLeft))
|
|
2433
2408
|
return;
|
|
2434
2409
|
getMenus2();
|
|
2435
2410
|
}
|
|
2436
2411
|
);
|
|
2437
2412
|
function handleSplitLeftMenu(path) {
|
|
2438
|
-
if (unref
|
|
2413
|
+
if (unref(getSplitLeft))
|
|
2439
2414
|
return;
|
|
2440
2415
|
menusRef.value = menusMap.filter((it) => it.includesPath.includes(path))[0]?.children;
|
|
2441
2416
|
}
|
|
2442
2417
|
async function getMenus2() {
|
|
2443
|
-
if (unref
|
|
2418
|
+
if (unref(normalType)) {
|
|
2444
2419
|
menusRef.value = DtCache.getLocal(CacheKey.MENUS)?.children;
|
|
2445
2420
|
return;
|
|
2446
2421
|
}
|
|
2447
|
-
if (unref
|
|
2422
|
+
if (unref(getSplitTop)) {
|
|
2448
2423
|
menusRef.value = await getShallowMenus();
|
|
2449
2424
|
}
|
|
2450
2425
|
}
|
|
@@ -2498,7 +2473,7 @@ function getShallowMenus() {
|
|
|
2498
2473
|
});
|
|
2499
2474
|
return shallowMenuList;
|
|
2500
2475
|
}
|
|
2501
|
-
const BasicMenu
|
|
2476
|
+
const BasicMenu = {
|
|
2502
2477
|
items: {
|
|
2503
2478
|
type: Array
|
|
2504
2479
|
},
|
|
@@ -2515,7 +2490,7 @@ const BasicMenu$1 = {
|
|
|
2515
2490
|
default: MenuType.SIDE
|
|
2516
2491
|
},
|
|
2517
2492
|
theme: {
|
|
2518
|
-
default: Theme
|
|
2493
|
+
default: Theme.DARK
|
|
2519
2494
|
},
|
|
2520
2495
|
inlineCollapsed: Boolean,
|
|
2521
2496
|
isHorizontal: Boolean,
|
|
@@ -2531,7 +2506,7 @@ const ItemProp = {
|
|
|
2531
2506
|
},
|
|
2532
2507
|
theme: {
|
|
2533
2508
|
type: String,
|
|
2534
|
-
default: Theme
|
|
2509
|
+
default: Theme.DARK
|
|
2535
2510
|
},
|
|
2536
2511
|
isHorizontal: Boolean,
|
|
2537
2512
|
showTitle: Boolean,
|
|
@@ -2556,7 +2531,7 @@ const contentProps = {
|
|
|
2556
2531
|
collapse: Boolean,
|
|
2557
2532
|
mixSider: Boolean,
|
|
2558
2533
|
theme: {
|
|
2559
|
-
default: Theme
|
|
2534
|
+
default: Theme.DARK
|
|
2560
2535
|
},
|
|
2561
2536
|
collapsedShowTitle: Boolean,
|
|
2562
2537
|
beforeClickFn: {
|
|
@@ -2571,17 +2546,16 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
2571
2546
|
const { getIsZH, getUiSize } = useHeader();
|
|
2572
2547
|
return (_ctx, _cache) => {
|
|
2573
2548
|
return openBlock(), createElementBlock("span", {
|
|
2574
|
-
class: normalizeClass(["dt-basic-menu-item-content-flex items-center dt-menu-item h-full", unref
|
|
2549
|
+
class: normalizeClass(["dt-basic-menu-item-content-flex items-center dt-menu-item h-full", unref(getUiSize)])
|
|
2575
2550
|
}, [
|
|
2576
2551
|
createElementVNode("i", {
|
|
2577
2552
|
class: normalizeClass(["menu-icon i", _ctx.item.icon])
|
|
2578
2553
|
}, null, 2),
|
|
2579
|
-
createElementVNode("span", null, toDisplayString(unref
|
|
2554
|
+
createElementVNode("span", null, toDisplayString(unref(getIsZH) ? _ctx.item.label : _ctx.item.enLabel), 1)
|
|
2580
2555
|
], 2);
|
|
2581
2556
|
};
|
|
2582
2557
|
}
|
|
2583
2558
|
});
|
|
2584
|
-
const MenuItemContent = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__file", "D:/dt/dt-frame-front/dt-frames/frames/packages/ui/src/theme/src/components/sider/components/basic-menu/menu-item-content.vue"]]);
|
|
2585
2559
|
const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
2586
2560
|
__name: "basic-menu-item",
|
|
2587
2561
|
props: ItemProp,
|
|
@@ -2593,14 +2567,13 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
2593
2567
|
key: _ctx.item.url
|
|
2594
2568
|
}, {
|
|
2595
2569
|
default: withCtx(() => [
|
|
2596
|
-
createVNode(
|
|
2570
|
+
createVNode(_sfc_main$f, normalizeProps(guardReactiveProps(props)), null, 16)
|
|
2597
2571
|
]),
|
|
2598
2572
|
_: 1
|
|
2599
2573
|
});
|
|
2600
2574
|
};
|
|
2601
2575
|
}
|
|
2602
2576
|
});
|
|
2603
|
-
const BasicMenuItem = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__file", "D:/dt/dt-frame-front/dt-frames/frames/packages/ui/src/theme/src/components/sider/components/basic-menu/basic-menu-item.vue"]]);
|
|
2604
2577
|
const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
2605
2578
|
__name: "basic-sub-menu-item",
|
|
2606
2579
|
props: ItemProp,
|
|
@@ -2618,34 +2591,31 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
2618
2591
|
const _component_BasicSubMenuItem = resolveComponent("BasicSubMenuItem", true);
|
|
2619
2592
|
const _component_ASubMenu = SubMenu;
|
|
2620
2593
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
2621
|
-
createCommentVNode("
|
|
2622
|
-
|
|
2623
|
-
|
|
2624
|
-
|
|
2625
|
-
class: normalizeClass([unref$1(theme)]),
|
|
2626
|
-
key: unref$1(item).id,
|
|
2594
|
+
!menuHasChildren(unref(item)) && unref(getShowMenu) ? (openBlock(), createBlock(_sfc_main$e, normalizeProps(mergeProps({ key: 0 }, props)), null, 16)) : createCommentVNode("", true),
|
|
2595
|
+
menuHasChildren(unref(item)) && unref(getShowMenu) ? (openBlock(), createBlock(_component_ASubMenu, {
|
|
2596
|
+
class: normalizeClass([unref(theme)]),
|
|
2597
|
+
key: unref(item).id,
|
|
2627
2598
|
popupClassName: "app-top-menu-popup"
|
|
2628
2599
|
}, {
|
|
2629
2600
|
title: withCtx(() => [
|
|
2630
|
-
createVNode(
|
|
2601
|
+
createVNode(_sfc_main$f, mergeProps(props, { item: unref(item) }), null, 16, ["item"])
|
|
2631
2602
|
]),
|
|
2632
2603
|
default: withCtx(() => [
|
|
2633
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(unref
|
|
2604
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(item).children, (childrenItem) => {
|
|
2634
2605
|
return openBlock(), createBlock(_component_BasicSubMenuItem, mergeProps({
|
|
2635
2606
|
key: childrenItem.id
|
|
2636
2607
|
}, props, { item: childrenItem }), null, 16, ["item"]);
|
|
2637
2608
|
}), 128))
|
|
2638
2609
|
]),
|
|
2639
2610
|
_: 1
|
|
2640
|
-
}, 8, ["class"])) : createCommentVNode("
|
|
2611
|
+
}, 8, ["class"])) : createCommentVNode("", true)
|
|
2641
2612
|
], 64);
|
|
2642
2613
|
};
|
|
2643
2614
|
}
|
|
2644
2615
|
});
|
|
2645
|
-
const BasicSubMenuItem = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__file", "D:/dt/dt-frame-front/dt-frames/frames/packages/ui/src/theme/src/components/sider/components/basic-menu/basic-sub-menu-item.vue"]]);
|
|
2646
2616
|
const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
2647
2617
|
__name: "basic-menu",
|
|
2648
|
-
props: BasicMenu
|
|
2618
|
+
props: BasicMenu,
|
|
2649
2619
|
emits: ["menuClick"],
|
|
2650
2620
|
setup(__props, { emit: emits }) {
|
|
2651
2621
|
const {
|
|
@@ -2676,7 +2646,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
2676
2646
|
(val) => {
|
|
2677
2647
|
if (val === "/")
|
|
2678
2648
|
return;
|
|
2679
|
-
const { meta, path } = unref
|
|
2649
|
+
const { meta, path } = unref(currentRoute);
|
|
2680
2650
|
let activePath = meta?.currentActiveMenu || path;
|
|
2681
2651
|
handleMenuChange(activePath);
|
|
2682
2652
|
},
|
|
@@ -2686,7 +2656,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
2686
2656
|
);
|
|
2687
2657
|
async function handleMenuChange(path) {
|
|
2688
2658
|
setOpenKeys(path);
|
|
2689
|
-
if (isHorizontal && unref
|
|
2659
|
+
if (isHorizontal && unref(getSplit)) {
|
|
2690
2660
|
const parentPath = getBreadCrumb(path, items);
|
|
2691
2661
|
menuState.selectedKeys = [parentPath?.[0]?.url];
|
|
2692
2662
|
} else {
|
|
@@ -2699,9 +2669,9 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
2699
2669
|
}
|
|
2700
2670
|
const { getCollapsed } = useMenu();
|
|
2701
2671
|
const getInlineCollapsed = computed(() => {
|
|
2702
|
-
const isInline = unref
|
|
2672
|
+
const isInline = unref(mode) === MenuMode.INLINE;
|
|
2703
2673
|
if (isInline) {
|
|
2704
|
-
return mixSider ? false : unref
|
|
2674
|
+
return mixSider ? false : unref(getCollapsed);
|
|
2705
2675
|
}
|
|
2706
2676
|
return false;
|
|
2707
2677
|
});
|
|
@@ -2726,13 +2696,13 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
2726
2696
|
mode: _ctx.mode,
|
|
2727
2697
|
collapsible: "",
|
|
2728
2698
|
onClick: handleMenuClick,
|
|
2729
|
-
onOpenChange: unref
|
|
2730
|
-
collapsed: unref
|
|
2731
|
-
class: normalizeClass(unref
|
|
2699
|
+
onOpenChange: unref(handleOpenChange),
|
|
2700
|
+
collapsed: unref(getInlineCollapsed),
|
|
2701
|
+
class: normalizeClass(unref(getSplit) ? "dt-split-menu" : "")
|
|
2732
2702
|
}, {
|
|
2733
2703
|
default: withCtx(() => [
|
|
2734
2704
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.items, (item) => {
|
|
2735
|
-
return openBlock(), createBlock(
|
|
2705
|
+
return openBlock(), createBlock(_sfc_main$d, {
|
|
2736
2706
|
key: item.id,
|
|
2737
2707
|
item,
|
|
2738
2708
|
theme: _ctx.theme,
|
|
@@ -2745,7 +2715,6 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
2745
2715
|
};
|
|
2746
2716
|
}
|
|
2747
2717
|
});
|
|
2748
|
-
const BasicMenu = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__file", "D:/dt/dt-frame-front/dt-frames/frames/packages/ui/src/theme/src/components/sider/components/basic-menu/basic-menu.vue"]]);
|
|
2749
2718
|
const _sfc_main$b = defineComponent({
|
|
2750
2719
|
name: "LayoutMenu",
|
|
2751
2720
|
props: {
|
|
@@ -2778,22 +2747,22 @@ const _sfc_main$b = defineComponent({
|
|
|
2778
2747
|
getParentSlots(null, "dt-theme").then((rsp) => {
|
|
2779
2748
|
slots.value = rsp;
|
|
2780
2749
|
});
|
|
2781
|
-
const getComputedTheme = computed(() => props.theme || unref
|
|
2782
|
-
const getComputedMenuMode = computed(() => props.menuMode || unref
|
|
2783
|
-
const getIsShowLogo = computed(() => unref
|
|
2750
|
+
const getComputedTheme = computed(() => props.theme || unref(getMenuTheme));
|
|
2751
|
+
const getComputedMenuMode = computed(() => props.menuMode || unref(getMenuMode));
|
|
2752
|
+
const getIsShowLogo = computed(() => unref(getShowLogo) && unref(getIsSidebarType));
|
|
2784
2753
|
const getUseScroll = computed(() => {
|
|
2785
|
-
return !unref
|
|
2754
|
+
return !unref(getIsHorizontal) && (unref(getIsSidebarType) || props.splitType === MenuSplitTye.LEFT || props.splitType === MenuSplitTye.NONE);
|
|
2786
2755
|
});
|
|
2787
|
-
const getLogoClass = computed(() => [`dt-menu-logo`, unref
|
|
2756
|
+
const getLogoClass = computed(() => [`dt-menu-logo`, unref(getComputedTheme)]);
|
|
2788
2757
|
const getMenuProps = computed(() => {
|
|
2789
|
-
const menus = unref
|
|
2758
|
+
const menus = unref(menusRef);
|
|
2790
2759
|
return {
|
|
2791
2760
|
menus,
|
|
2792
2761
|
beforeClickFn: beforeMenuClickFn,
|
|
2793
2762
|
items: menus,
|
|
2794
|
-
theme: unref
|
|
2795
|
-
collapse: unref
|
|
2796
|
-
collapsedShowTitle: unref
|
|
2763
|
+
theme: unref(getComputedTheme),
|
|
2764
|
+
collapse: unref(getCollapsed),
|
|
2765
|
+
collapsedShowTitle: unref(getCollapsedShowTitle),
|
|
2797
2766
|
onMenuClick: handleMenuClick
|
|
2798
2767
|
};
|
|
2799
2768
|
});
|
|
@@ -2809,30 +2778,30 @@ const _sfc_main$b = defineComponent({
|
|
|
2809
2778
|
go(path);
|
|
2810
2779
|
}
|
|
2811
2780
|
function renderHeader() {
|
|
2812
|
-
if (!unref
|
|
2781
|
+
if (!unref(getIsShowLogo))
|
|
2813
2782
|
return null;
|
|
2814
2783
|
if (slots.value?.logo) {
|
|
2815
2784
|
return createVNode(DtSlotContainer, {
|
|
2816
2785
|
"template": slots.value?.logo,
|
|
2817
2786
|
"data": {
|
|
2818
|
-
theme: unref
|
|
2819
|
-
collapsed: unref
|
|
2787
|
+
theme: unref(getComputedTheme),
|
|
2788
|
+
collapsed: unref(getCollapsed)
|
|
2820
2789
|
}
|
|
2821
2790
|
}, null);
|
|
2822
2791
|
}
|
|
2823
|
-
return createVNode(
|
|
2824
|
-
"showTitle": !unref
|
|
2825
|
-
"class": unref
|
|
2826
|
-
"theme": unref
|
|
2792
|
+
return createVNode(_sfc_main$s, {
|
|
2793
|
+
"showTitle": !unref(getCollapsed),
|
|
2794
|
+
"class": unref(getLogoClass),
|
|
2795
|
+
"theme": unref(getComputedTheme)
|
|
2827
2796
|
}, null);
|
|
2828
2797
|
}
|
|
2829
2798
|
function renderFooter() {
|
|
2830
|
-
if (unref
|
|
2799
|
+
if (unref(getMenuType) === MenuType.SIDE || unref(getMenuType) === MenuType.MIX && props.splitType === 2) {
|
|
2831
2800
|
return slots.value?.menuFooter ? createVNode(DtSlotContainer, {
|
|
2832
2801
|
"template": slots.value?.menuFooter,
|
|
2833
2802
|
"data": {
|
|
2834
|
-
theme: unref
|
|
2835
|
-
collapsed: unref
|
|
2803
|
+
theme: unref(getComputedTheme),
|
|
2804
|
+
collapsed: unref(getCollapsed)
|
|
2836
2805
|
}
|
|
2837
2806
|
}, null) : null;
|
|
2838
2807
|
}
|
|
@@ -2842,25 +2811,24 @@ const _sfc_main$b = defineComponent({
|
|
|
2842
2811
|
const {
|
|
2843
2812
|
menus,
|
|
2844
2813
|
...menuProps
|
|
2845
|
-
} = unref
|
|
2814
|
+
} = unref(getMenuProps);
|
|
2846
2815
|
if (!menus || !menus.length)
|
|
2847
2816
|
return null;
|
|
2848
|
-
return createVNode(
|
|
2817
|
+
return createVNode(_sfc_main$c, mergeProps(menuProps, {
|
|
2849
2818
|
"isHorizontal": props.isHorizontal,
|
|
2850
|
-
"type": unref
|
|
2851
|
-
"showLogo": unref
|
|
2852
|
-
"mode": unref
|
|
2819
|
+
"type": unref(getMenuType),
|
|
2820
|
+
"showLogo": unref(getIsShowLogo),
|
|
2821
|
+
"mode": unref(getComputedMenuMode),
|
|
2853
2822
|
"items": menus
|
|
2854
2823
|
}), null);
|
|
2855
2824
|
}
|
|
2856
2825
|
return () => {
|
|
2857
|
-
return createVNode(Fragment, null, [renderHeader(), unref
|
|
2826
|
+
return createVNode(Fragment, null, [renderHeader(), unref(getUseScroll) ? createVNode(DtScrollContainer, null, {
|
|
2858
2827
|
default: () => renderMenu()
|
|
2859
2828
|
}) : renderMenu(), renderFooter()]);
|
|
2860
2829
|
};
|
|
2861
2830
|
}
|
|
2862
2831
|
});
|
|
2863
|
-
const LayoutMenu = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__file", "D:/dt/dt-frame-front/dt-frames/frames/packages/ui/src/theme/src/components/sider/components/layout-menu.vue"]]);
|
|
2864
2832
|
const _hoisted_1$5 = {
|
|
2865
2833
|
key: 3,
|
|
2866
2834
|
class: "max-w-full pl-3 pr-20 dt-reuse-tabs__top"
|
|
@@ -2892,14 +2860,14 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
2892
2860
|
} = useHeader();
|
|
2893
2861
|
const { getShowMultipleTab, getMultipleTabPosIsTop } = useMultipleTab();
|
|
2894
2862
|
const getSplitType = computed(() => {
|
|
2895
|
-
return unref
|
|
2863
|
+
return unref(getSplit) ? MenuSplitTye.TOP : MenuSplitTye.NONE;
|
|
2896
2864
|
});
|
|
2897
2865
|
const getMenuMode = computed(() => {
|
|
2898
|
-
return unref
|
|
2866
|
+
return unref(getSplit) ? MenuMode.HORIZONTAL : null;
|
|
2899
2867
|
});
|
|
2900
|
-
const getShowTab = computed(() => unref
|
|
2868
|
+
const getShowTab = computed(() => unref(getShowMultipleTab) && unref(getMultipleTabPosIsTop));
|
|
2901
2869
|
const getHeaderCls = computed(() => {
|
|
2902
|
-
let theme = unref
|
|
2870
|
+
let theme = unref(getHeaderTheme);
|
|
2903
2871
|
let cls = "dt-header flex p-0 items-center justify-between ";
|
|
2904
2872
|
if (props.fixed) {
|
|
2905
2873
|
cls += "fixed top-0 left-0 w-full z-10 ";
|
|
@@ -2910,52 +2878,52 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
2910
2878
|
return (_ctx, _cache) => {
|
|
2911
2879
|
const _component_ALayoutHeader = LayoutHeader;
|
|
2912
2880
|
return openBlock(), createBlock(_component_ALayoutHeader, {
|
|
2913
|
-
class: normalizeClass([unref
|
|
2881
|
+
class: normalizeClass([unref(getHeaderCls), "flex items-center justify-between"])
|
|
2914
2882
|
}, {
|
|
2915
2883
|
default: withCtx(() => [
|
|
2916
2884
|
createElementVNode("div", {
|
|
2917
2885
|
class: normalizeClass(["dt-header-left flex h-full items-center", {
|
|
2918
|
-
"w-0 flex-1": unref
|
|
2886
|
+
"w-0 flex-1": unref(getShowTab)
|
|
2919
2887
|
}])
|
|
2920
2888
|
}, [
|
|
2921
|
-
unref
|
|
2889
|
+
unref(getShowHeaderLogo) ? (openBlock(), createBlock(unref(_sfc_main$s), {
|
|
2922
2890
|
key: 0,
|
|
2923
|
-
theme: unref
|
|
2891
|
+
theme: unref(getHeaderTheme),
|
|
2924
2892
|
class: "dt-header-logo"
|
|
2925
|
-
}, null, 8, ["theme"])) : createCommentVNode("
|
|
2926
|
-
unref
|
|
2893
|
+
}, null, 8, ["theme"])) : createCommentVNode("", true),
|
|
2894
|
+
unref(getShowHeaderTrigger) && !unref(getSplit) && !unref(getShowTab) ? (openBlock(), createBlock(unref(_sfc_main$r), {
|
|
2927
2895
|
key: 1,
|
|
2928
|
-
theme: unref
|
|
2929
|
-
}, null, 8, ["theme"])) : createCommentVNode("
|
|
2930
|
-
unref
|
|
2931
|
-
unref
|
|
2932
|
-
createVNode(
|
|
2933
|
-
])) : createCommentVNode("
|
|
2896
|
+
theme: unref(getHeaderTheme)
|
|
2897
|
+
}, null, 8, ["theme"])) : createCommentVNode("", true),
|
|
2898
|
+
unref(getShowBread) && !unref(getShowTab) ? (openBlock(), createBlock(unref(_sfc_main$q), { key: 2 })) : createCommentVNode("", true),
|
|
2899
|
+
unref(getShowTab) ? (openBlock(), createElementBlock("div", _hoisted_1$5, [
|
|
2900
|
+
createVNode(_sfc_main$x)
|
|
2901
|
+
])) : createCommentVNode("", true)
|
|
2934
2902
|
], 2),
|
|
2935
|
-
unref
|
|
2936
|
-
createVNode(
|
|
2903
|
+
unref(getShowTopMenu) ? (openBlock(), createElementBlock("div", _hoisted_2$3, [
|
|
2904
|
+
createVNode(_sfc_main$b, {
|
|
2937
2905
|
isHorizontal: true,
|
|
2938
|
-
theme: unref
|
|
2939
|
-
splitType: unref
|
|
2940
|
-
menuMode: unref
|
|
2906
|
+
theme: unref(getHeaderTheme),
|
|
2907
|
+
splitType: unref(getSplitType),
|
|
2908
|
+
menuMode: unref(getMenuMode)
|
|
2941
2909
|
}, null, 8, ["theme", "splitType", "menuMode"])
|
|
2942
|
-
])) : createCommentVNode("
|
|
2910
|
+
])) : createCommentVNode("", true),
|
|
2943
2911
|
createElementVNode("div", {
|
|
2944
2912
|
class: "dt-header-action flex items-center",
|
|
2945
2913
|
style: normalizeStyle({
|
|
2946
|
-
"padding-right": unref
|
|
2914
|
+
"padding-right": unref(getShowSettingTheme) ? "" : "20px"
|
|
2947
2915
|
})
|
|
2948
2916
|
}, [
|
|
2949
|
-
unref
|
|
2950
|
-
unref
|
|
2951
|
-
unref
|
|
2952
|
-
unref
|
|
2953
|
-
unref
|
|
2917
|
+
unref(getShowSearch) ? (openBlock(), createBlock(unref(_sfc_main$p), { key: 0 })) : createCommentVNode("", true),
|
|
2918
|
+
unref(getShowNotice) ? (openBlock(), createBlock(unref(_sfc_main$n), { key: 1 })) : createCommentVNode("", true),
|
|
2919
|
+
unref(getShowUiSize) ? (openBlock(), createBlock(unref(_sfc_main$m), { key: 2 })) : createCommentVNode("", true),
|
|
2920
|
+
unref(getShowFullScreen) ? (openBlock(), createBlock(unref(_sfc_main$w), { key: 3 })) : createCommentVNode("", true),
|
|
2921
|
+
unref(getShowLocale) ? (openBlock(), createBlock(unref(_sfc_main$o), {
|
|
2954
2922
|
key: 4,
|
|
2955
2923
|
reload: true
|
|
2956
|
-
})) : createCommentVNode("
|
|
2957
|
-
createVNode(unref$
|
|
2958
|
-
unref
|
|
2924
|
+
})) : createCommentVNode("", true),
|
|
2925
|
+
createVNode(unref(_sfc_main$l)),
|
|
2926
|
+
unref(getShowSettingTheme) ? (openBlock(), createBlock(unref(_sfc_main$g), { key: 5 })) : createCommentVNode("", true)
|
|
2959
2927
|
], 4)
|
|
2960
2928
|
]),
|
|
2961
2929
|
_: 1
|
|
@@ -2963,12 +2931,11 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
2963
2931
|
};
|
|
2964
2932
|
}
|
|
2965
2933
|
});
|
|
2966
|
-
const DtHeader = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__file", "D:/dt/dt-frame-front/dt-frames/frames/packages/ui/src/theme/src/components/header/index.vue"]]);
|
|
2967
2934
|
function useMenuSwitch() {
|
|
2968
2935
|
const brokenRef = ref(false);
|
|
2969
2936
|
const { getMiniWidthNumber } = useMenu();
|
|
2970
2937
|
const getCollapsedWidth = computed(() => {
|
|
2971
|
-
return unref
|
|
2938
|
+
return unref(brokenRef) ? 0 : unref(getMiniWidthNumber);
|
|
2972
2939
|
});
|
|
2973
2940
|
function onBreakPointChange(broken) {
|
|
2974
2941
|
brokenRef.value = broken;
|
|
@@ -2978,11 +2945,11 @@ function useMenuSwitch() {
|
|
|
2978
2945
|
function useTrigger() {
|
|
2979
2946
|
const { getTrigger, getSplit } = useMenu();
|
|
2980
2947
|
const getShowTrigger = computed(() => {
|
|
2981
|
-
const trigger = unref
|
|
2982
|
-
return trigger && unref
|
|
2948
|
+
const trigger = unref(getTrigger);
|
|
2949
|
+
return trigger && unref(getSplit);
|
|
2983
2950
|
});
|
|
2984
2951
|
const getTriggerAttr = computed(() => {
|
|
2985
|
-
if (unref
|
|
2952
|
+
if (unref(getShowTrigger)) {
|
|
2986
2953
|
return {};
|
|
2987
2954
|
}
|
|
2988
2955
|
return {
|
|
@@ -3004,25 +2971,24 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
3004
2971
|
return (_ctx, _cache) => {
|
|
3005
2972
|
return openBlock(), createElementBlock("div", {
|
|
3006
2973
|
onClick: _cache[0] || (_cache[0] = withModifiers(
|
|
3007
|
-
(...args) => unref
|
|
2974
|
+
(...args) => unref(toggleCollapsed) && unref(toggleCollapsed)(...args),
|
|
3008
2975
|
["stop"]
|
|
3009
2976
|
))
|
|
3010
2977
|
}, [
|
|
3011
2978
|
createElementVNode("i", {
|
|
3012
|
-
class: normalizeClass(["i", unref
|
|
2979
|
+
class: normalizeClass(["i", unref(getCollapsed) ? "ant-design:double-right-outlined" : "ant-design:double-left-outlined"])
|
|
3013
2980
|
}, null, 2)
|
|
3014
2981
|
]);
|
|
3015
2982
|
};
|
|
3016
2983
|
}
|
|
3017
2984
|
});
|
|
3018
|
-
const LayoutTrigger = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__file", "D:/dt/dt-frame-front/dt-frames/frames/packages/ui/src/theme/src/components/sider/components/sider-trigger.vue"]]);
|
|
3019
2985
|
const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
3020
2986
|
__name: "drag-bar",
|
|
3021
2987
|
setup(__props) {
|
|
3022
2988
|
const { getCollapsed, getCanDrag, getMenuWidth } = useMenu();
|
|
3023
2989
|
const getDragBarStyle = computed(() => {
|
|
3024
|
-
if (!unref
|
|
3025
|
-
return { left: `${unref
|
|
2990
|
+
if (!unref(getCollapsed)) {
|
|
2991
|
+
return { left: `${unref(getMenuWidth)}px` };
|
|
3026
2992
|
}
|
|
3027
2993
|
return {};
|
|
3028
2994
|
});
|
|
@@ -3030,19 +2996,18 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
3030
2996
|
return [
|
|
3031
2997
|
"dt-darg-bar",
|
|
3032
2998
|
{
|
|
3033
|
-
"dt-darg-bar--hide": !unref
|
|
2999
|
+
"dt-darg-bar--hide": !unref(getCanDrag)
|
|
3034
3000
|
}
|
|
3035
3001
|
];
|
|
3036
3002
|
});
|
|
3037
3003
|
return (_ctx, _cache) => {
|
|
3038
3004
|
return openBlock(), createElementBlock("div", {
|
|
3039
|
-
class: normalizeClass(unref
|
|
3040
|
-
style: normalizeStyle(unref
|
|
3005
|
+
class: normalizeClass(unref(getClass)),
|
|
3006
|
+
style: normalizeStyle(unref(getDragBarStyle))
|
|
3041
3007
|
}, null, 6);
|
|
3042
3008
|
};
|
|
3043
3009
|
}
|
|
3044
3010
|
});
|
|
3045
|
-
const DragBar = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__file", "D:/dt/dt-frame-front/dt-frames/frames/packages/ui/src/theme/src/components/sider/components/drag-bar.vue"]]);
|
|
3046
3011
|
const _hoisted_1$4 = { class: "dt-mix-sider__shallow-menu" };
|
|
3047
3012
|
const _hoisted_2$2 = { class: "m-0" };
|
|
3048
3013
|
const _hoisted_3$2 = { class: "dt-mix-sider__sub-shallow-menu" };
|
|
@@ -3063,11 +3028,11 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
3063
3028
|
const activeId = ref(null);
|
|
3064
3029
|
const activePath = ref(null);
|
|
3065
3030
|
const subMenus = ref([]);
|
|
3066
|
-
const getDomStyle = computed(() => setDomWidth(`${unref
|
|
3031
|
+
const getDomStyle = computed(() => setDomWidth(`${unref(subMenus)?.length ? unref(getMenuWidth) : MENU_WIDTH}px`));
|
|
3067
3032
|
const getWrapStyle = computed(() => setDomWidth(`${MENU_WIDTH}px`));
|
|
3068
3033
|
const getSubMenuStyle = computed(() => {
|
|
3069
3034
|
return {
|
|
3070
|
-
width: `${unref
|
|
3035
|
+
width: `${unref(getMenuWidth) - MENU_WIDTH}px`,
|
|
3071
3036
|
left: `${MENU_WIDTH}px`
|
|
3072
3037
|
};
|
|
3073
3038
|
});
|
|
@@ -3082,11 +3047,11 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
3082
3047
|
}
|
|
3083
3048
|
const getMenuEvents = {
|
|
3084
3049
|
onMouseleave: () => {
|
|
3085
|
-
setActive(unref
|
|
3050
|
+
setActive(unref(activePath));
|
|
3086
3051
|
}
|
|
3087
3052
|
};
|
|
3088
3053
|
const getItemEvents = (item) => {
|
|
3089
|
-
if (unref
|
|
3054
|
+
if (unref(getMixSideTrigger) === "hover") {
|
|
3090
3055
|
return {
|
|
3091
3056
|
onMouseenter: () => handleModuleClick(item.url, true),
|
|
3092
3057
|
onClick: () => handleModuleClick(item.url)
|
|
@@ -3112,28 +3077,28 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
3112
3077
|
watchEffect(() => {
|
|
3113
3078
|
if (!currentRoute || currentRoute.value.path === "/")
|
|
3114
3079
|
return;
|
|
3115
|
-
const { meta, path } = unref
|
|
3080
|
+
const { meta, path } = unref(currentRoute);
|
|
3116
3081
|
activePath.value = meta?.currentActiveMenu || path;
|
|
3117
|
-
setActive(unref
|
|
3082
|
+
setActive(unref(activePath));
|
|
3118
3083
|
});
|
|
3119
3084
|
return (_ctx, _cache) => {
|
|
3120
3085
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
3121
3086
|
createElementVNode("div", {
|
|
3122
3087
|
class: "h-full overflow-hidden",
|
|
3123
|
-
style: normalizeStyle(unref
|
|
3088
|
+
style: normalizeStyle(unref(getDomStyle))
|
|
3124
3089
|
}, null, 4),
|
|
3125
3090
|
createElementVNode("div", mergeProps({
|
|
3126
|
-
style: unref
|
|
3127
|
-
class: ["dt-mix-sider fixed top-0 left-0 h-full overflow-hidden", unref
|
|
3091
|
+
style: unref(getWrapStyle),
|
|
3092
|
+
class: ["dt-mix-sider fixed top-0 left-0 h-full overflow-hidden", unref(getMenuTheme)]
|
|
3128
3093
|
}, getMenuEvents), [
|
|
3129
|
-
createVNode(
|
|
3094
|
+
createVNode(_sfc_main$s, {
|
|
3130
3095
|
showTitle: false,
|
|
3131
3096
|
class: normalizeClass("justify-center z-10")
|
|
3132
3097
|
}),
|
|
3133
|
-
createVNode(unref
|
|
3098
|
+
createVNode(unref(DtScrollContainer), { class: "z-10" }, {
|
|
3134
3099
|
default: withCtx(() => [
|
|
3135
3100
|
createElementVNode("ul", _hoisted_1$4, [
|
|
3136
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(unref
|
|
3101
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(menuModules), (item) => {
|
|
3137
3102
|
return openBlock(), createElementBlock("li", mergeProps({
|
|
3138
3103
|
key: item.id,
|
|
3139
3104
|
class: ["py-3 cursor-pointer relative text-center", {
|
|
@@ -3155,9 +3120,9 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
3155
3120
|
subMenus.value?.length ? (openBlock(), createElementBlock("div", {
|
|
3156
3121
|
key: 0,
|
|
3157
3122
|
class: "fixed top-0 h-full sub-menu bg-white",
|
|
3158
|
-
style: normalizeStyle(unref
|
|
3123
|
+
style: normalizeStyle(unref(getSubMenuStyle))
|
|
3159
3124
|
}, [
|
|
3160
|
-
createVNode(unref
|
|
3125
|
+
createVNode(unref(DtScrollContainer), null, {
|
|
3161
3126
|
default: withCtx(() => [
|
|
3162
3127
|
createElementVNode("ul", _hoisted_3$2, [
|
|
3163
3128
|
(openBlock(true), createElementBlock(Fragment, null, renderList(subMenus.value, (menu) => {
|
|
@@ -3173,7 +3138,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
3173
3138
|
class: normalizeClass(["flex cursor-pointer", {
|
|
3174
3139
|
"active-menu": subMenu.url === activePath.value
|
|
3175
3140
|
}]),
|
|
3176
|
-
onClick: ($event) => unref
|
|
3141
|
+
onClick: ($event) => unref(go)(subMenu.url)
|
|
3177
3142
|
}, [
|
|
3178
3143
|
createElementVNode("i", {
|
|
3179
3144
|
class: normalizeClass(["i opacity-50 pr-2", subMenu.icon])
|
|
@@ -3187,7 +3152,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
3187
3152
|
class: normalizeClass(["sub-menu flex cursor-pointer", {
|
|
3188
3153
|
"active-menu": menu.url === activePath.value
|
|
3189
3154
|
}]),
|
|
3190
|
-
onClick: ($event) => unref
|
|
3155
|
+
onClick: ($event) => unref(go)(menu.url)
|
|
3191
3156
|
}, [
|
|
3192
3157
|
createElementVNode("i", {
|
|
3193
3158
|
class: normalizeClass(["i opacity-50 pr-2", menu.icon])
|
|
@@ -3200,7 +3165,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
3200
3165
|
]),
|
|
3201
3166
|
_: 1
|
|
3202
3167
|
})
|
|
3203
|
-
], 4)) : createCommentVNode("
|
|
3168
|
+
], 4)) : createCommentVNode("", true)
|
|
3204
3169
|
]),
|
|
3205
3170
|
_: 1
|
|
3206
3171
|
})
|
|
@@ -3209,7 +3174,6 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
3209
3174
|
};
|
|
3210
3175
|
}
|
|
3211
3176
|
});
|
|
3212
|
-
const MixSider = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__file", "D:/dt/dt-frame-front/dt-frames/frames/packages/ui/src/theme/src/components/sider/mix-sider.vue"]]);
|
|
3213
3177
|
const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
3214
3178
|
__name: "index",
|
|
3215
3179
|
setup(__props) {
|
|
@@ -3235,7 +3199,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
3235
3199
|
const dragBarRef = ref(null);
|
|
3236
3200
|
const sideRef = ref(null);
|
|
3237
3201
|
const hiddenDomStyle = computed(() => {
|
|
3238
|
-
const width = `${unref
|
|
3202
|
+
const width = `${unref(getRealWidth)}px`;
|
|
3239
3203
|
return {
|
|
3240
3204
|
width,
|
|
3241
3205
|
overflow: "hidden",
|
|
@@ -3249,64 +3213,63 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
3249
3213
|
const {
|
|
3250
3214
|
menusRef
|
|
3251
3215
|
} = useSplitMenu(getSplitType);
|
|
3252
|
-
if (!unref
|
|
3216
|
+
if (!unref(menusRef)?.length)
|
|
3253
3217
|
return false;
|
|
3254
|
-
return unref
|
|
3218
|
+
return unref(getSplit) ? !unref(getMenuHidden) : true;
|
|
3255
3219
|
});
|
|
3256
3220
|
useDragLine(sideRef, dragBarRef);
|
|
3257
3221
|
const getSiderClass = computed(() => {
|
|
3258
3222
|
let cls = `dt-sideBar overflow-hidden z-10 `;
|
|
3259
|
-
if (unref
|
|
3223
|
+
if (unref(getMenuFixed)) {
|
|
3260
3224
|
cls += `dt-sideBar--fixed t-0 l-0 h-full `;
|
|
3261
3225
|
}
|
|
3262
|
-
if (unref
|
|
3226
|
+
if (unref(getIsMixMode)) {
|
|
3263
3227
|
cls += "dt-sideBar--mix ";
|
|
3264
3228
|
}
|
|
3265
3229
|
return cls;
|
|
3266
3230
|
});
|
|
3267
3231
|
const getSplitType = computed(() => {
|
|
3268
|
-
return unref
|
|
3232
|
+
return unref(getSplit) ? MenuSplitTye.LEFT : MenuSplitTye.NONE;
|
|
3269
3233
|
});
|
|
3270
3234
|
const getMode = computed(() => {
|
|
3271
|
-
return unref
|
|
3235
|
+
return unref(getSplit) ? MenuMode.INLINE : null;
|
|
3272
3236
|
});
|
|
3273
|
-
const renderTrigger = h(
|
|
3237
|
+
const renderTrigger = h(_sfc_main$9);
|
|
3274
3238
|
return (_ctx, _cache) => {
|
|
3275
3239
|
const _component_ALayoutSider = LayoutSider;
|
|
3276
|
-
return unref
|
|
3240
|
+
return unref(getIsMixSidebar) ? (openBlock(), createBlock(_sfc_main$7, {
|
|
3277
3241
|
key: 0
|
|
3278
|
-
}
|
|
3242
|
+
})) : (openBlock(), createElementBlock(Fragment, {
|
|
3279
3243
|
key: 1
|
|
3280
|
-
}, [
|
|
3244
|
+
}, [unref(getMenuFixed) ? withDirectives((openBlock(), createElementBlock("div", {
|
|
3281
3245
|
key: 0,
|
|
3282
|
-
style: normalizeStyle(unref
|
|
3283
|
-
}, null, 4)), [[vShow, unref
|
|
3246
|
+
style: normalizeStyle(unref(hiddenDomStyle))
|
|
3247
|
+
}, null, 4)), [[vShow, unref(showClassSideBarRef)]]) : createCommentVNode("", true), withDirectives(createVNode(_component_ALayoutSider, mergeProps({
|
|
3284
3248
|
ref_key: "sideRef",
|
|
3285
3249
|
ref: sideRef,
|
|
3286
3250
|
collapsible: "",
|
|
3287
3251
|
breakpoint: "lg",
|
|
3288
|
-
class: unref
|
|
3289
|
-
width: unref
|
|
3290
|
-
collapsed: unref
|
|
3291
|
-
collapsedWidth: unref
|
|
3292
|
-
onBreakpoint: unref
|
|
3293
|
-
theme: unref
|
|
3294
|
-
trigger: unref
|
|
3295
|
-
}, unref
|
|
3296
|
-
default: withCtx(() => [createVNode(
|
|
3297
|
-
theme: unref
|
|
3298
|
-
menuMode: unref
|
|
3299
|
-
splitType: unref
|
|
3300
|
-
}, null, 8, ["theme", "menuMode", "splitType"]), createVNode(
|
|
3252
|
+
class: unref(getSiderClass),
|
|
3253
|
+
width: unref(getMenuWidth),
|
|
3254
|
+
collapsed: unref(getCollapsed),
|
|
3255
|
+
collapsedWidth: unref(getCollapsedWidth),
|
|
3256
|
+
onBreakpoint: unref(onBreakPointChange),
|
|
3257
|
+
theme: unref(getMenuTheme),
|
|
3258
|
+
trigger: unref(renderTrigger)
|
|
3259
|
+
}, unref(getTriggerAttr)), {
|
|
3260
|
+
default: withCtx(() => [createVNode(_sfc_main$b, {
|
|
3261
|
+
theme: unref(getMenuTheme),
|
|
3262
|
+
menuMode: unref(getMode),
|
|
3263
|
+
splitType: unref(getSplitType)
|
|
3264
|
+
}, null, 8, ["theme", "menuMode", "splitType"]), createVNode(_sfc_main$8, {
|
|
3301
3265
|
ref_key: "dragBarRef",
|
|
3302
3266
|
ref: dragBarRef
|
|
3303
3267
|
}, null, 512)]),
|
|
3304
3268
|
_: 1
|
|
3305
|
-
}, 16, ["class", "width", "collapsed", "collapsedWidth", "onBreakpoint", "theme", "trigger"]), [[vShow, unref
|
|
3269
|
+
}, 16, ["class", "width", "collapsed", "collapsedWidth", "onBreakpoint", "theme", "trigger"]), [[vShow, unref(showClassSideBarRef)]])], 64));
|
|
3306
3270
|
};
|
|
3307
3271
|
}
|
|
3308
3272
|
});
|
|
3309
|
-
const LayoutSideBar = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__file", "D:/dt/dt-frame-front/dt-frames/frames/packages/ui/src/theme/src/components/sider/index.vue"]]);
|
|
3310
3273
|
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
3311
3274
|
__name: "multiple-header",
|
|
3312
3275
|
setup(__props) {
|
|
@@ -3320,63 +3283,61 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
3320
3283
|
const { getCalcContentWidth, getIsMixMode, getSplit, getIsMixSidebar } = useMenu();
|
|
3321
3284
|
const { getShowMultipleTab, getMultipleTabPosIsTop } = useMultipleTab();
|
|
3322
3285
|
const getPlaceholderDomStyle = computed(() => {
|
|
3323
|
-
let height = unref
|
|
3324
|
-
if (unref
|
|
3325
|
-
height = unref
|
|
3286
|
+
let height = unref(getHeaderHeight);
|
|
3287
|
+
if (unref(getIsMixMode)) {
|
|
3288
|
+
height = unref(getShowMultipleTab) ? unref(getTabsHeight) : 0;
|
|
3326
3289
|
}
|
|
3327
3290
|
return {
|
|
3328
3291
|
height: `${height}px`
|
|
3329
3292
|
};
|
|
3330
3293
|
});
|
|
3331
3294
|
const getSplitType = computed(() => {
|
|
3332
|
-
return unref
|
|
3295
|
+
return unref(getSplit) ? MenuSplitTye.LEFT : MenuSplitTye.NONE;
|
|
3333
3296
|
});
|
|
3334
3297
|
const { menusRef } = useSplitMenu(getSplitType);
|
|
3335
3298
|
const getWrapStyle = computed(() => {
|
|
3336
3299
|
const style = {};
|
|
3337
|
-
if (unref
|
|
3338
|
-
style.width = useThemeStore().getMixSiderIsHasMenu ? unref
|
|
3339
|
-
} else if (unref
|
|
3300
|
+
if (unref(getIsMixSidebar)) {
|
|
3301
|
+
style.width = useThemeStore().getMixSiderIsHasMenu ? unref(getCalcContentWidth) : "calc(100% - 80px)";
|
|
3302
|
+
} else if (unref(getSplit) && !unref(menusRef)?.length) {
|
|
3340
3303
|
style.width = "100%";
|
|
3341
|
-
} else if (unref
|
|
3342
|
-
style.width = unref
|
|
3304
|
+
} else if (unref(getFixed)) {
|
|
3305
|
+
style.width = unref(getCalcContentWidth);
|
|
3343
3306
|
}
|
|
3344
|
-
if (unref
|
|
3307
|
+
if (unref(getShowFullHeaderRef))
|
|
3345
3308
|
style.top = "48px";
|
|
3346
3309
|
return style;
|
|
3347
3310
|
});
|
|
3348
3311
|
const getClass = computed(() => {
|
|
3349
3312
|
let cls = "transition-width duration-200 flex-auto";
|
|
3350
|
-
if (unref
|
|
3313
|
+
if (unref(getFixed)) {
|
|
3351
3314
|
cls += " fixed top-0 right-0 w-full";
|
|
3352
3315
|
}
|
|
3353
3316
|
return cls;
|
|
3354
3317
|
});
|
|
3355
3318
|
return (_ctx, _cache) => {
|
|
3356
3319
|
return openBlock(), createElementBlock("div", null, [
|
|
3357
|
-
|
|
3358
|
-
unref$1(getFixed) ? (openBlock(), createElementBlock("div", {
|
|
3320
|
+
unref(getFixed) ? (openBlock(), createElementBlock("div", {
|
|
3359
3321
|
key: 0,
|
|
3360
|
-
style: normalizeStyle(unref
|
|
3361
|
-
}, null, 4)) : createCommentVNode("
|
|
3322
|
+
style: normalizeStyle(unref(getPlaceholderDomStyle))
|
|
3323
|
+
}, null, 4)) : createCommentVNode("", true),
|
|
3362
3324
|
createElementVNode("div", {
|
|
3363
|
-
style: normalizeStyle(unref
|
|
3364
|
-
class: normalizeClass(unref
|
|
3325
|
+
style: normalizeStyle(unref(getWrapStyle)),
|
|
3326
|
+
class: normalizeClass(unref(getClass))
|
|
3365
3327
|
}, [
|
|
3366
|
-
unref
|
|
3367
|
-
unref
|
|
3328
|
+
unref(getShowInsetHeaderRef) ? (openBlock(), createBlock(_sfc_main$a, { key: 0 })) : createCommentVNode("", true),
|
|
3329
|
+
unref(getShowMultipleTab) && !unref(getMultipleTabPosIsTop) ? (openBlock(), createBlock(_sfc_main$x, { key: 1 })) : createCommentVNode("", true)
|
|
3368
3330
|
], 6)
|
|
3369
3331
|
]);
|
|
3370
3332
|
};
|
|
3371
3333
|
}
|
|
3372
3334
|
});
|
|
3373
|
-
const LayoutMultipleHeader = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__file", "D:/dt/dt-frame-front/dt-frames/frames/packages/ui/src/theme/src/components/header/multiple-header.vue"]]);
|
|
3374
3335
|
const _hoisted_1$3 = { class: "pr-2.5" };
|
|
3375
3336
|
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
3376
3337
|
__name: "index",
|
|
3377
3338
|
setup(__props) {
|
|
3378
3339
|
const { getFooter } = useTheme();
|
|
3379
|
-
const { title, subTitle, height } = unref
|
|
3340
|
+
const { title, subTitle, height } = unref(getFooter);
|
|
3380
3341
|
const footerOptions = computed(() => {
|
|
3381
3342
|
return {
|
|
3382
3343
|
lineHeight: `${height - 1}px`,
|
|
@@ -3387,20 +3348,19 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
3387
3348
|
};
|
|
3388
3349
|
});
|
|
3389
3350
|
return (_ctx, _cache) => {
|
|
3390
|
-
return openBlock(), createBlock(unref
|
|
3351
|
+
return openBlock(), createBlock(unref(LayoutFooter), {
|
|
3391
3352
|
class: "text-center p-0 w-full block border-t border-gray-200",
|
|
3392
|
-
style: normalizeStyle(unref
|
|
3353
|
+
style: normalizeStyle(unref(footerOptions))
|
|
3393
3354
|
}, {
|
|
3394
3355
|
default: withCtx(() => [
|
|
3395
|
-
createElementVNode("span", _hoisted_1$3, toDisplayString(unref
|
|
3396
|
-
createElementVNode("span", null, toDisplayString(unref
|
|
3356
|
+
createElementVNode("span", _hoisted_1$3, toDisplayString(unref(title)), 1),
|
|
3357
|
+
createElementVNode("span", null, toDisplayString(unref(subTitle)), 1)
|
|
3397
3358
|
]),
|
|
3398
3359
|
_: 1
|
|
3399
3360
|
}, 8, ["style"]);
|
|
3400
3361
|
};
|
|
3401
3362
|
}
|
|
3402
3363
|
});
|
|
3403
|
-
const LayoutFooter = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__file", "D:/dt/dt-frame-front/dt-frames/frames/packages/ui/src/theme/src/components/footer/index.vue"]]);
|
|
3404
3364
|
const _hoisted_1$2 = ["loading"];
|
|
3405
3365
|
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
3406
3366
|
__name: "index",
|
|
@@ -3410,20 +3370,20 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
3410
3370
|
const { getCanCache } = useMultipleTab();
|
|
3411
3371
|
const tabStore = useRouteReuseStore();
|
|
3412
3372
|
const { currentRoute } = useRouter();
|
|
3413
|
-
const contentMode = computed(() => unref
|
|
3373
|
+
const contentMode = computed(() => unref(currentRoute).meta.contentMode || unref(getLayoutContentMode));
|
|
3414
3374
|
function getTransitionName(route) {
|
|
3415
|
-
return route.meta.transitionName || unref
|
|
3375
|
+
return route.meta.transitionName || unref(getTransitionMode);
|
|
3416
3376
|
}
|
|
3417
3377
|
const getCaches = computed(() => {
|
|
3418
3378
|
return tabStore.getCachedTabList;
|
|
3419
3379
|
});
|
|
3420
3380
|
return (_ctx, _cache) => {
|
|
3421
3381
|
const _component_router_view = resolveComponent("router-view");
|
|
3422
|
-
const _component_ALayoutContent = LayoutContent
|
|
3382
|
+
const _component_ALayoutContent = LayoutContent;
|
|
3423
3383
|
return openBlock(), createElementBlock("div", {
|
|
3424
3384
|
id: "dt-layout-content",
|
|
3425
|
-
class: normalizeClass([["dt-layout-content", unref
|
|
3426
|
-
loading: unref
|
|
3385
|
+
class: normalizeClass([["dt-layout-content", unref(contentMode)], "relative flex-auto overflow-x-hidden min-h-0 flex"]),
|
|
3386
|
+
loading: unref(getPageLoading) && unref(getOpenPageLoading)
|
|
3427
3387
|
}, [
|
|
3428
3388
|
createVNode(_component_ALayoutContent, null, {
|
|
3429
3389
|
default: withCtx(() => [
|
|
@@ -3435,9 +3395,9 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
3435
3395
|
appear: ""
|
|
3436
3396
|
}, {
|
|
3437
3397
|
default: withCtx(() => [
|
|
3438
|
-
!route.meta.hideTab && unref
|
|
3398
|
+
!route.meta.hideTab && unref(getCanCache) ? (openBlock(), createBlock(KeepAlive, {
|
|
3439
3399
|
key: 0,
|
|
3440
|
-
include: unref
|
|
3400
|
+
include: unref(getCaches)
|
|
3441
3401
|
}, [
|
|
3442
3402
|
(openBlock(), createBlock(resolveDynamicComponent(Component), {
|
|
3443
3403
|
key: route.path
|
|
@@ -3456,7 +3416,6 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
3456
3416
|
};
|
|
3457
3417
|
}
|
|
3458
3418
|
});
|
|
3459
|
-
const LayoutContent = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__file", "D:/dt/dt-frame-front/dt-frames/frames/packages/ui/src/theme/src/components/content/index.vue"]]);
|
|
3460
3419
|
const _hoisted_1$1 = { class: "dt-lock-page absolute" };
|
|
3461
3420
|
const _hoisted_2$1 = { class: "absolute z-10 text-white text-center" };
|
|
3462
3421
|
const _hoisted_3$1 = { class: "overflow-hidden bg-black" };
|
|
@@ -3505,7 +3464,6 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
3505
3464
|
};
|
|
3506
3465
|
}
|
|
3507
3466
|
});
|
|
3508
|
-
const Recharge = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__file", "D:/dt/dt-frame-front/dt-frames/frames/packages/ui/src/theme/src/components/header/components/lock/Recharge.vue"]]);
|
|
3509
3467
|
function useBattery() {
|
|
3510
3468
|
const state = reactive({
|
|
3511
3469
|
battery: {
|
|
@@ -3540,7 +3498,7 @@ function useBattery() {
|
|
|
3540
3498
|
return "\u5DF2\u65AD\u5F00\u7535\u6E90";
|
|
3541
3499
|
}
|
|
3542
3500
|
});
|
|
3543
|
-
onMounted
|
|
3501
|
+
onMounted(async () => {
|
|
3544
3502
|
const BatteryManager = await window.navigator.getBattery();
|
|
3545
3503
|
updateBattery(BatteryManager);
|
|
3546
3504
|
BatteryManager.onchargingchange = ({ target }) => {
|
|
@@ -3678,18 +3636,18 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
3678
3636
|
}, _hoisted_4)
|
|
3679
3637
|
])
|
|
3680
3638
|
]),
|
|
3681
|
-
createVNode(
|
|
3682
|
-
battery: unref
|
|
3683
|
-
"battery-status": unref
|
|
3684
|
-
"calc-discharging-time": unref
|
|
3685
|
-
"calc-charging-time": unref
|
|
3639
|
+
createVNode(_sfc_main$2, {
|
|
3640
|
+
battery: unref(battery),
|
|
3641
|
+
"battery-status": unref(batteryStatus),
|
|
3642
|
+
"calc-discharging-time": unref(calcDischargingTime),
|
|
3643
|
+
"calc-charging-time": unref(calcChargingTime)
|
|
3686
3644
|
}, null, 8, ["battery", "battery-status", "calc-discharging-time", "calc-charging-time"])
|
|
3687
3645
|
], 64)) : (openBlock(), createElementBlock("div", _hoisted_5, [
|
|
3688
|
-
unref
|
|
3646
|
+
unref(slots)?.icon ? (openBlock(), createBlock(unref(DtSlotContainer$1), {
|
|
3689
3647
|
key: 0,
|
|
3690
|
-
template: unref
|
|
3691
|
-
}, null, 8, ["template"])) : createCommentVNode("
|
|
3692
|
-
createElementVNode("span", _hoisted_6, toDisplayString(unref
|
|
3648
|
+
template: unref(slots).icon
|
|
3649
|
+
}, null, 8, ["template"])) : createCommentVNode("", true),
|
|
3650
|
+
createElementVNode("span", _hoisted_6, toDisplayString(unref(getUserInfo)?.userNo), 1),
|
|
3693
3651
|
createVNode(_component_AInputPassword, {
|
|
3694
3652
|
class: "mt-2",
|
|
3695
3653
|
autofocus: "",
|
|
@@ -3707,12 +3665,12 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
3707
3665
|
])
|
|
3708
3666
|
])),
|
|
3709
3667
|
createElementVNode("div", _hoisted_8, [
|
|
3710
|
-
createElementVNode("div", _hoisted_9, toDisplayString(unref
|
|
3711
|
-
createElementVNode("div", _hoisted_10, toDisplayString(unref
|
|
3668
|
+
createElementVNode("div", _hoisted_9, toDisplayString(unref(hour)) + ":" + toDisplayString(unref(minute)), 1),
|
|
3669
|
+
createElementVNode("div", _hoisted_10, toDisplayString(unref(month)) + "\u6708" + toDisplayString(unref(date)) + "\u53F7\uFF0C\u661F\u671F" + toDisplayString(unref(week)), 1)
|
|
3712
3670
|
]),
|
|
3713
3671
|
createElementVNode("div", _hoisted_11, [
|
|
3714
3672
|
createElementVNode("span", {
|
|
3715
|
-
class: normalizeClass([{ offline: !unref
|
|
3673
|
+
class: normalizeClass([{ offline: !unref(online) }, "network"])
|
|
3716
3674
|
}, _hoisted_13, 2),
|
|
3717
3675
|
_hoisted_14
|
|
3718
3676
|
])
|
|
@@ -3720,7 +3678,6 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
3720
3678
|
};
|
|
3721
3679
|
}
|
|
3722
3680
|
});
|
|
3723
|
-
const LockScreen = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__file", "D:/dt/dt-frame-front/dt-frames/frames/packages/ui/src/theme/src/components/header/components/lock/Lockscreen.vue"]]);
|
|
3724
3681
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
3725
3682
|
__name: "index",
|
|
3726
3683
|
setup(__props) {
|
|
@@ -3728,31 +3685,31 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
3728
3685
|
const { getShowFullHeaderRef, getIsZH, getHeaderHeight, getUiSize, getLockscreen } = useHeader();
|
|
3729
3686
|
const { getSplit, getShowMenu, getShowSidebar, getIsMixSidebar } = useMenu();
|
|
3730
3687
|
const { getFooter, getShowFooter } = useTheme();
|
|
3731
|
-
const { height } = unref
|
|
3732
|
-
dayjs.locale(unref
|
|
3688
|
+
const { height } = unref(getFooter);
|
|
3689
|
+
dayjs.locale(unref(getIsZH) ? "zh-cn" : "en");
|
|
3733
3690
|
const useLockscreen = useLockscreenStore();
|
|
3734
3691
|
const isLock = computed(() => useLockscreen.isLock);
|
|
3735
3692
|
const layoutClass = computed(() => {
|
|
3736
3693
|
let cls = "ant-layout";
|
|
3737
|
-
if (unref
|
|
3694
|
+
if (unref(getIsMixSidebar)) {
|
|
3738
3695
|
cls += " ant-layout-has-sider";
|
|
3739
3696
|
}
|
|
3740
|
-
if (unref
|
|
3697
|
+
if (unref(getShowMenu)) {
|
|
3741
3698
|
cls += " flex flex-auto min-h-0 flex-row";
|
|
3742
3699
|
}
|
|
3743
3700
|
return cls;
|
|
3744
3701
|
});
|
|
3745
3702
|
const layoutOption = computed(() => {
|
|
3746
|
-
if (unref
|
|
3703
|
+
if (unref(getSplit)) {
|
|
3747
3704
|
return {
|
|
3748
|
-
paddingTop: unref
|
|
3705
|
+
paddingTop: unref(getHeaderHeight) + "px",
|
|
3749
3706
|
background: "#f0f2f5"
|
|
3750
3707
|
};
|
|
3751
3708
|
}
|
|
3752
3709
|
});
|
|
3753
3710
|
const getContentStyle = computed(() => {
|
|
3754
3711
|
return {
|
|
3755
|
-
flex: unref
|
|
3712
|
+
flex: unref(getSplit) ? `0 0 calc(100% - ${unref(getShowFooter) || 0}px)` : `0 0 calc(100% - ${unref(getShowFooter) ? height : 0}px - ${unref(getHeaderHeight)}px)`,
|
|
3756
3713
|
overflowY: "auto"
|
|
3757
3714
|
};
|
|
3758
3715
|
});
|
|
@@ -3777,37 +3734,37 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
3777
3734
|
const _component_ALayout = Layout;
|
|
3778
3735
|
const _component_AConfigProvider = ConfigProvider;
|
|
3779
3736
|
return openBlock(), createElementBlock("div", {
|
|
3780
|
-
class: normalizeClass(["dt-theme w-full h-full", `dt-theme-${unref
|
|
3737
|
+
class: normalizeClass(["dt-theme w-full h-full", `dt-theme-${unref(getUiSize)}`])
|
|
3781
3738
|
}, [
|
|
3782
|
-
!unref
|
|
3739
|
+
!unref(isLock) ? (openBlock(), createBlock(_component_AConfigProvider, {
|
|
3783
3740
|
key: 0,
|
|
3784
|
-
locale: unref
|
|
3785
|
-
"component-size": unref
|
|
3741
|
+
locale: unref(getIsZH) ? unref(zhCN) : unref(en),
|
|
3742
|
+
"component-size": unref(getUiSize)
|
|
3786
3743
|
}, {
|
|
3787
3744
|
default: withCtx(() => [
|
|
3788
|
-
unref
|
|
3745
|
+
unref(currentRoute)?.name && unref(currentRoute).meta?.requiresAuth !== false ? (openBlock(), createBlock(_component_ALayout, {
|
|
3789
3746
|
key: 0,
|
|
3790
3747
|
class: "w-full h-full flex"
|
|
3791
3748
|
}, {
|
|
3792
3749
|
default: withCtx(() => [
|
|
3793
|
-
createVNode(
|
|
3794
|
-
unref
|
|
3750
|
+
createVNode(_sfc_main$A),
|
|
3751
|
+
unref(getShowFullHeaderRef) ? (openBlock(), createBlock(_sfc_main$a, {
|
|
3795
3752
|
key: 0,
|
|
3796
3753
|
fixed: ""
|
|
3797
|
-
})) : createCommentVNode("
|
|
3754
|
+
})) : createCommentVNode("", true),
|
|
3798
3755
|
createVNode(_component_ALayout, {
|
|
3799
|
-
class: normalizeClass(unref
|
|
3800
|
-
style: normalizeStyle(unref
|
|
3756
|
+
class: normalizeClass(unref(layoutClass)),
|
|
3757
|
+
style: normalizeStyle(unref(layoutOption))
|
|
3801
3758
|
}, {
|
|
3802
3759
|
default: withCtx(() => [
|
|
3803
|
-
unref
|
|
3760
|
+
unref(getShowSidebar) ? (openBlock(), createBlock(_sfc_main$6, { key: 0 })) : createCommentVNode("", true),
|
|
3804
3761
|
createVNode(_component_ALayout, { class: "dt-theme-main flex w-full h-ful transition-width duration-200" }, {
|
|
3805
3762
|
default: withCtx(() => [
|
|
3806
|
-
createVNode(
|
|
3807
|
-
createVNode(
|
|
3808
|
-
style: normalizeStyle(unref
|
|
3763
|
+
createVNode(_sfc_main$5),
|
|
3764
|
+
createVNode(_sfc_main$3, {
|
|
3765
|
+
style: normalizeStyle(unref(getContentStyle))
|
|
3809
3766
|
}, null, 8, ["style"]),
|
|
3810
|
-
unref
|
|
3767
|
+
unref(getFooter) && unref(getFooter)["show"] ? (openBlock(), createBlock(_sfc_main$4, { key: 0 })) : createCommentVNode("", true)
|
|
3811
3768
|
]),
|
|
3812
3769
|
_: 1
|
|
3813
3770
|
})
|
|
@@ -3816,24 +3773,23 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
3816
3773
|
}, 8, ["class", "style"])
|
|
3817
3774
|
]),
|
|
3818
3775
|
_: 1
|
|
3819
|
-
})) : (openBlock(), createBlock(unref
|
|
3776
|
+
})) : (openBlock(), createBlock(unref(RouterView), { key: 1 }))
|
|
3820
3777
|
]),
|
|
3821
3778
|
_: 1
|
|
3822
|
-
}, 8, ["locale", "component-size"])) : createCommentVNode("
|
|
3823
|
-
unref
|
|
3779
|
+
}, 8, ["locale", "component-size"])) : createCommentVNode("", true),
|
|
3780
|
+
unref(getLockscreen) && unref(isLock) && unref(currentRoute)?.name && unref(currentRoute).meta?.requiresAuth !== false ? (openBlock(), createBlock(Transition, {
|
|
3824
3781
|
key: 1,
|
|
3825
3782
|
name: "fade-slide"
|
|
3826
3783
|
}, {
|
|
3827
3784
|
default: withCtx(() => [
|
|
3828
|
-
createVNode(unref$1
|
|
3785
|
+
createVNode(unref(_sfc_main$1))
|
|
3829
3786
|
]),
|
|
3830
3787
|
_: 1
|
|
3831
|
-
})) : createCommentVNode("
|
|
3788
|
+
})) : createCommentVNode("", true)
|
|
3832
3789
|
], 2);
|
|
3833
3790
|
};
|
|
3834
3791
|
}
|
|
3835
3792
|
});
|
|
3836
|
-
const Theme = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "D:/dt/dt-frame-front/dt-frames/frames/packages/ui/src/theme/src/index.vue"]]);
|
|
3837
3793
|
const EN = {
|
|
3838
3794
|
"UI": {
|
|
3839
3795
|
"ADD": "Add ",
|
|
@@ -3984,7 +3940,7 @@ const ZH = {
|
|
|
3984
3940
|
"NUMBER": "\u5E8F\u53F7",
|
|
3985
3941
|
"ACTIONS": "\u64CD\u4F5C",
|
|
3986
3942
|
"TOTAL_PAGE": "\u603B\u5171{total}\u6761",
|
|
3987
|
-
"FILTER": "\
|
|
3943
|
+
"FILTER": "\u641C\u7D22",
|
|
3988
3944
|
"EXPAND_ALL": "\u5C55\u5F00\u5168\u90E8",
|
|
3989
3945
|
"COLLAPSE_ALL": "\u6298\u53E0\u5168\u90E8",
|
|
3990
3946
|
"SELECT_ALL1": "\u9009\u62E9\u5168\u90E8",
|
|
@@ -4042,7 +3998,7 @@ const ZH = {
|
|
|
4042
3998
|
}
|
|
4043
3999
|
};
|
|
4044
4000
|
const uiLang = (lang) => lang === Language.ZH ? ZH : EN;
|
|
4045
|
-
const DtTheme = withInstall$1(
|
|
4001
|
+
const DtTheme = withInstall$1(_sfc_main);
|
|
4046
4002
|
export {
|
|
4047
4003
|
ContentMode,
|
|
4048
4004
|
DtTheme,
|