@dt-frames/ui 2.0.2 → 2.0.4
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/locales/en.ts +1 -1
- package/es/components/container/index.d.ts +4 -3
- package/es/components/container/index.js +24 -22
- package/es/components/container/src/slot-container.d.ts +5 -3
- package/es/components/curd/index.js +261 -229
- package/es/components/curd/src/components/Curd.d.ts +126 -331
- package/es/components/curd/src/props.d.ts +14 -15
- package/es/components/drawer/index.d.ts +3 -5
- package/es/components/drawer/index.js +55 -54
- package/es/components/drawer/src/components/DrawerHeader.d.ts +1 -3
- package/es/components/drawer/src/index.d.ts +4 -7
- package/es/components/form/index.d.ts +213 -361
- package/es/components/form/index.js +210 -163
- package/es/components/form/index.less +206 -8
- package/es/components/form/src/components/FormButtons.d.ts +3 -3
- package/es/components/form/src/components/FormItem.d.ts +152 -304
- package/es/components/form/src/components/formIcon.d.ts +4 -4
- package/es/components/form/src/components/formInputUseDialog.d.ts +3 -3
- package/es/components/form/src/enums/index.d.ts +1 -1
- package/es/components/form/src/index.d.ts +199 -347
- package/es/components/form/src/props.d.ts +8 -12
- package/es/components/form/src/types/form.type.d.ts +2 -2
- package/es/components/icons/index.d.ts +496 -2
- package/es/components/icons/index.less +5 -0
- package/es/components/icons/src/pick-icon.d.ts +5 -5
- package/es/components/modal/index.js +76 -74
- package/es/components/modal/index.less +10 -0
- package/es/components/modal/src/components/Modal.d.ts +108 -215
- package/es/components/modal/src/components/ModalFooter.d.ts +3 -3
- package/es/components/modal/src/index.d.ts +116 -223
- package/es/components/source/hooks/useSource.d.ts +14 -0
- package/es/components/source/index.js +66 -27
- package/es/components/source/types/source.type.d.ts +4 -8
- package/es/components/table/index.js +452 -820
- package/es/components/table/index.less +50 -14
- package/es/components/table/src/components/TableAction.d.ts +1 -1
- package/es/components/table/src/components/TableHeader.d.ts +109 -216
- package/es/components/table/src/components/TableRender.d.ts +13 -9
- package/es/components/table/src/components/tableSetting/Download.d.ts +107 -214
- package/es/components/table/src/components/tableSetting/DownloadCtrl.d.ts +107 -214
- package/es/components/table/src/components/tableSetting/index.d.ts +107 -214
- package/es/components/table/src/hooks/useDataSource.d.ts +1 -2
- package/es/components/table/src/hooks/usePagination.d.ts +3 -118
- package/es/components/table/src/index.d.ts +99 -435
- package/es/components/table/src/props.d.ts +19 -74
- package/es/components/table/src/types/actions.type.d.ts +1 -2
- package/es/components/table/src/types/table.type.d.ts +13 -8
- package/es/index.d.ts +1 -1
- package/es/index.js +2 -3240
- package/es/theme/index.js +688 -453
- package/es/theme/index.less +150 -0
- package/es/theme/src/components/header/components/logo.d.ts +0 -1
- package/es/theme/src/components/header/components/notify.d.ts +4 -3
- package/es/theme/src/components/header/components/setting-theme.d.ts +2 -1
- package/es/theme/src/components/header/components/user-info.d.ts +4 -3
- package/es/theme/src/components/header/helper/menu-tree.d.ts +1 -0
- package/es/theme/src/components/header/index.d.ts +8 -7
- package/es/theme/src/components/header/multiple-header.d.ts +22 -25
- package/es/theme/src/components/sider/components/drag-bar.d.ts +1 -1
- package/es/theme/src/components/sider/components/sider-trigger.d.ts +0 -1
- package/es/theme/src/components/sider/index.d.ts +147 -3
- package/es/theme/src/components/sider/mix-sider.d.ts +146 -0
- package/es/theme/src/enums/theme.enum.d.ts +2 -1
- package/es/theme/src/hooks/useMenu.d.ts +4 -2
- package/es/theme/src/index.d.ts +166 -23
- package/es/theme/src/stores/theme.store.d.ts +3 -0
- package/es/theme/src/types/theme.type.d.ts +2 -1
- package/package.json +3 -4
- package/vite.config.ts +0 -27
package/es/theme/index.js
CHANGED
|
@@ -1,22 +1,31 @@
|
|
|
1
1
|
import { BackTop, Breadcrumb, Empty, InputSearch, Popover, Avatar, Tooltip, Select, Switch, Divider, Button, Drawer, MenuItem, SubMenu, Menu, LayoutHeader, LayoutSider, MenuDivider, Dropdown, TabPane, Tabs, 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
|
|
5
|
-
import { useRouter
|
|
4
|
+
import { toRaw, unref, computed, onMounted, nextTick, defineComponent, openBlock, createBlock, createCommentVNode, createElementBlock, createElementVNode, normalizeClass, normalizeStyle, withDirectives, toDisplayString, vShow, ref, watchEffect, createVNode, withCtx, Fragment, renderList, resolveDirective, getCurrentInstance, inject, onUnmounted, h, provide, onBeforeUnmount, resolveDynamicComponent, renderSlot, mergeProps, createTextVNode, watch, normalizeProps, guardReactiveProps, resolveComponent, reactive, toRef, withModifiers, Transition, createSlots, KeepAlive } from "vue";
|
|
5
|
+
import { useRouter, RouterView } from "vue-router";
|
|
6
6
|
import { DtCache, CacheKey, deepMerge, Pages, useGo, useRedo, Language, isObject, useTimeoutFn, useI18n, isBoolean, localeList, changeLocale, off, on, getParentSlots, isFunction, copyText, isUrl, openWindow, isNullAndUnDef, menuList2Map, useApp, withInstall as withInstall$1 } from "@dt-frames/core";
|
|
7
7
|
import { defineStore } from "pinia";
|
|
8
8
|
import { trim } from "lodash-es";
|
|
9
9
|
import { useDebounceFn, useFullscreen, useThrottleFn } from "@vueuse/core";
|
|
10
10
|
import "ant-design-vue/es/back-top/style";
|
|
11
|
+
import "ant-design-vue/es/breadcrumb/style";
|
|
11
12
|
import "ant-design-vue/es/popover/style";
|
|
12
13
|
import "ant-design-vue/es/input/style";
|
|
13
14
|
import "ant-design-vue/es/empty/style";
|
|
14
15
|
import { Popover as Popover$1, Modal, LayoutFooter } from "ant-design-vue";
|
|
16
|
+
import "ant-design-vue/es/avatar/style";
|
|
17
|
+
import "ant-design-vue/es/drawer/style";
|
|
15
18
|
import "ant-design-vue/es/button/style";
|
|
19
|
+
import "ant-design-vue/es/divider/style";
|
|
20
|
+
import "ant-design-vue/es/tooltip/style";
|
|
21
|
+
import "ant-design-vue/es/select/style";
|
|
22
|
+
import "ant-design-vue/es/switch/style";
|
|
23
|
+
import "ant-design-vue/es/menu/style";
|
|
24
|
+
import "ant-design-vue/es/tabs/style";
|
|
25
|
+
import "ant-design-vue/es/dropdown/style";
|
|
16
26
|
import zhCN from "ant-design-vue/es/locale/zh_CN";
|
|
17
27
|
import en from "ant-design-vue/es/locale/en_US";
|
|
18
28
|
import require$$0 from "dayjs";
|
|
19
|
-
import "dayjs/locale/zh-cn";
|
|
20
29
|
var Theme = /* @__PURE__ */ ((Theme2) => {
|
|
21
30
|
Theme2["DARK"] = "dark";
|
|
22
31
|
Theme2["LIGHT"] = "light";
|
|
@@ -26,6 +35,7 @@ var MenuType = /* @__PURE__ */ ((MenuType2) => {
|
|
|
26
35
|
MenuType2["SIDE"] = "sidebar";
|
|
27
36
|
MenuType2["TOP_MENU"] = "top-menu";
|
|
28
37
|
MenuType2["MIX"] = "mix";
|
|
38
|
+
MenuType2["MIX_SIDEBAR"] = "mix-sidebar";
|
|
29
39
|
return MenuType2;
|
|
30
40
|
})(MenuType || {});
|
|
31
41
|
var MenuMode = /* @__PURE__ */ ((MenuMode2) => {
|
|
@@ -83,7 +93,8 @@ const defaultThemeConf = {
|
|
|
83
93
|
menuWidth: 240,
|
|
84
94
|
trigger: true,
|
|
85
95
|
type: MenuType.SIDE,
|
|
86
|
-
mode: MenuMode.INLINE
|
|
96
|
+
mode: MenuMode.INLINE,
|
|
97
|
+
mixSideTrigger: "hover"
|
|
87
98
|
},
|
|
88
99
|
footerOptions: {
|
|
89
100
|
show: false,
|
|
@@ -104,7 +115,8 @@ const useThemeStore = defineStore({
|
|
|
104
115
|
id: "dt-theme",
|
|
105
116
|
state: () => ({
|
|
106
117
|
themeConf: DtCache.getLocal(CacheKey.THEME) ?? defaultThemeConf,
|
|
107
|
-
pageLoading: false
|
|
118
|
+
pageLoading: false,
|
|
119
|
+
mixSiderHasSubMenu: false
|
|
108
120
|
}),
|
|
109
121
|
getters: {
|
|
110
122
|
getThemeConf() {
|
|
@@ -124,6 +136,9 @@ const useThemeStore = defineStore({
|
|
|
124
136
|
},
|
|
125
137
|
getPageLoading() {
|
|
126
138
|
return this.pageLoading;
|
|
139
|
+
},
|
|
140
|
+
getMixSiderIsHasMenu() {
|
|
141
|
+
return this.mixSiderHasSubMenu;
|
|
127
142
|
}
|
|
128
143
|
},
|
|
129
144
|
actions: {
|
|
@@ -131,6 +146,9 @@ const useThemeStore = defineStore({
|
|
|
131
146
|
let newThemeConf = deepMerge(this.themeConf, options);
|
|
132
147
|
this.themeConf = deepMerge(defaultThemeConf, newThemeConf);
|
|
133
148
|
DtCache.setLocal(CacheKey.THEME, this.themeConf);
|
|
149
|
+
},
|
|
150
|
+
setMixSiderIsHasMenu(val) {
|
|
151
|
+
this.mixSiderHasSubMenu = val;
|
|
134
152
|
}
|
|
135
153
|
}
|
|
136
154
|
});
|
|
@@ -159,8 +177,8 @@ const useRouteReuseStore = defineStore({
|
|
|
159
177
|
return;
|
|
160
178
|
}
|
|
161
179
|
let updateIndex = -1;
|
|
162
|
-
const tabHasExits = this.tabList.some((tab,
|
|
163
|
-
updateIndex =
|
|
180
|
+
const tabHasExits = this.tabList.some((tab, index) => {
|
|
181
|
+
updateIndex = index;
|
|
164
182
|
return (tab.fullPath || tab.path) === (fullPath || path);
|
|
165
183
|
});
|
|
166
184
|
if (tabHasExits) {
|
|
@@ -176,14 +194,14 @@ const useRouteReuseStore = defineStore({
|
|
|
176
194
|
},
|
|
177
195
|
closeTab(path, router) {
|
|
178
196
|
const go = useGo(router);
|
|
179
|
-
const
|
|
197
|
+
const index = this.tabList.findIndex((item) => item.path === path);
|
|
180
198
|
let page;
|
|
181
|
-
if (
|
|
199
|
+
if (index === 0) {
|
|
182
200
|
if (this.tabList.length !== 1) {
|
|
183
|
-
page = this.tabList[
|
|
201
|
+
page = this.tabList[index + 1];
|
|
184
202
|
}
|
|
185
203
|
} else {
|
|
186
|
-
page = this.tabList[
|
|
204
|
+
page = this.tabList[index - 1];
|
|
187
205
|
}
|
|
188
206
|
this.bulkCloseTabs([path]);
|
|
189
207
|
this.updateCacheTab();
|
|
@@ -192,15 +210,15 @@ const useRouteReuseStore = defineStore({
|
|
|
192
210
|
closeAllTab(currentRoute, router) {
|
|
193
211
|
const go = useGo(router);
|
|
194
212
|
let filterTabList = this.tabList.filter((item) => item?.meta?.affix ?? false);
|
|
195
|
-
const route = filterTabList.length > 0 ? filterTabList[filterTabList.length - 1] : unref
|
|
213
|
+
const route = filterTabList.length > 0 ? filterTabList[filterTabList.length - 1] : unref(currentRoute);
|
|
196
214
|
this.tabList = [route];
|
|
197
215
|
this.updateCacheTab();
|
|
198
216
|
go(route.path);
|
|
199
217
|
},
|
|
200
218
|
closeLeftTabs(path) {
|
|
201
|
-
const
|
|
202
|
-
if (
|
|
203
|
-
const leftTabs = this.tabList.slice(0,
|
|
219
|
+
const index = this.tabList.findIndex((item) => item.path === path);
|
|
220
|
+
if (index > 0) {
|
|
221
|
+
const leftTabs = this.tabList.slice(0, index);
|
|
204
222
|
const pathList = [];
|
|
205
223
|
for (const item of leftTabs) {
|
|
206
224
|
const affix = item?.meta?.affix ?? false;
|
|
@@ -213,9 +231,9 @@ const useRouteReuseStore = defineStore({
|
|
|
213
231
|
this.updateCacheTab();
|
|
214
232
|
},
|
|
215
233
|
closeRightTabs(path) {
|
|
216
|
-
const
|
|
217
|
-
if (
|
|
218
|
-
const rightTabs = this.tabList.slice(
|
|
234
|
+
const index = this.tabList.findIndex((item) => item.path === path);
|
|
235
|
+
if (index >= 0 && index < this.tabList.length - 1) {
|
|
236
|
+
const rightTabs = this.tabList.slice(index + 1, this.tabList.length);
|
|
219
237
|
const pathList = [];
|
|
220
238
|
for (const item of rightTabs) {
|
|
221
239
|
const affix = item?.meta?.affix ?? false;
|
|
@@ -255,7 +273,7 @@ const useRouteReuseStore = defineStore({
|
|
|
255
273
|
this.cacheTabList = cacheMap;
|
|
256
274
|
},
|
|
257
275
|
async refreshPage(router) {
|
|
258
|
-
const findTab = this.getCachedTabList.find((item) => item === unref
|
|
276
|
+
const findTab = this.getCachedTabList.find((item) => item === unref(router.currentRoute).name);
|
|
259
277
|
if (findTab) {
|
|
260
278
|
this.cacheTabList.delete(findTab.toString());
|
|
261
279
|
}
|
|
@@ -272,41 +290,51 @@ const useRouteReuseStore = defineStore({
|
|
|
272
290
|
});
|
|
273
291
|
function useMenu() {
|
|
274
292
|
const { getMenuConf, setThemeConf } = useThemeStore();
|
|
275
|
-
const getCollapsedShowTitle = computed
|
|
276
|
-
const getIsSidebarType = computed
|
|
277
|
-
const getMenuFixed = computed
|
|
278
|
-
const getShowMenu = computed
|
|
279
|
-
const getShowSidebar = computed
|
|
280
|
-
return unref
|
|
293
|
+
const getCollapsedShowTitle = computed(() => getMenuConf.collapsedShowTitle);
|
|
294
|
+
const getIsSidebarType = computed(() => getMenuConf.type === MenuType.SIDE);
|
|
295
|
+
const getMenuFixed = computed(() => getMenuConf.fixed);
|
|
296
|
+
const getShowMenu = computed(() => getMenuConf.show);
|
|
297
|
+
const getShowSidebar = computed(() => {
|
|
298
|
+
return unref(getSplit) || unref(getShowMenu) && unref(getMenuMode) !== MenuMode.HORIZONTAL;
|
|
281
299
|
});
|
|
282
|
-
const getMenuHidden = computed
|
|
283
|
-
const getMenuTheme = computed
|
|
284
|
-
const getTrigger = computed
|
|
285
|
-
const getCanDrag = computed
|
|
286
|
-
const getIsMixMode = computed
|
|
287
|
-
return unref
|
|
300
|
+
const getMenuHidden = computed(() => getMenuConf.hidden);
|
|
301
|
+
const getMenuTheme = computed(() => getMenuConf.theme);
|
|
302
|
+
const getTrigger = computed(() => getMenuConf.trigger);
|
|
303
|
+
const getCanDrag = computed(() => getMenuConf.canDrag);
|
|
304
|
+
const getIsMixMode = computed(() => {
|
|
305
|
+
return unref(getMenuMode) === MenuMode.INLINE && unref(getMenuType) === MenuType.MIX;
|
|
288
306
|
});
|
|
289
|
-
const
|
|
290
|
-
const
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
307
|
+
const getIsMixSidebar = computed(() => unref(getMenuType) === MenuType.MIX_SIDEBAR);
|
|
308
|
+
const getMenuWidth = computed(() => {
|
|
309
|
+
if (unref(getIsMixMode)) {
|
|
310
|
+
return Number(getMenuConf.menuWidth) - 40;
|
|
311
|
+
} else if (unref(getIsMixSidebar)) {
|
|
312
|
+
return Number(getMenuConf.menuWidth) - 10;
|
|
313
|
+
} else {
|
|
314
|
+
return Number(getMenuConf.menuWidth);
|
|
315
|
+
}
|
|
316
|
+
});
|
|
317
|
+
const getMixSideTrigger = computed(() => getMenuConf.mixSideTrigger);
|
|
318
|
+
const getLogoWidth = computed(() => unref(getIsMixSidebar) ? "80px" : getMenuConf.menuWidth);
|
|
319
|
+
const getMenuType = computed(() => getMenuConf.type);
|
|
320
|
+
const getIsTopMenu = computed(() => unref(getMenuType) === MenuType.TOP_MENU);
|
|
321
|
+
const getMenuMode = computed(() => getMenuConf.mode);
|
|
322
|
+
const getSplit = computed(() => getMenuConf.split);
|
|
323
|
+
const getCollapsed = computed(() => getMenuConf.collapsed);
|
|
324
|
+
const getIsHorizontal = computed(() => unref(getMenuMode) === MenuMode.HORIZONTAL);
|
|
297
325
|
const setThemeStore = (conf = {}) => setThemeConf(conf);
|
|
298
326
|
const toggleCollapsed = () => setThemeStore({
|
|
299
327
|
menuOptions: {
|
|
300
|
-
collapsed: !unref
|
|
328
|
+
collapsed: !unref(getCollapsed)
|
|
301
329
|
}
|
|
302
330
|
});
|
|
303
|
-
const getMiniWidthNumber = computed
|
|
304
|
-
const getRealWidth = computed
|
|
305
|
-
return unref
|
|
331
|
+
const getMiniWidthNumber = computed(() => getMenuConf.collapsedShowTitle ? 80 : 48);
|
|
332
|
+
const getRealWidth = computed(() => {
|
|
333
|
+
return unref(getCollapsed) ? unref(getMiniWidthNumber) : unref(getMenuWidth);
|
|
306
334
|
});
|
|
307
|
-
const getCalcContentWidth = computed
|
|
308
|
-
const width = unref
|
|
309
|
-
return `calc(100% - ${unref
|
|
335
|
+
const getCalcContentWidth = computed(() => {
|
|
336
|
+
const width = unref(getIsTopMenu) || !unref(getShowMenu) || unref(getSplit) && unref(getMenuHidden) ? 0 : unref(getRealWidth);
|
|
337
|
+
return `calc(100% - ${unref(width)}px)`;
|
|
310
338
|
});
|
|
311
339
|
return {
|
|
312
340
|
getCollapsedShowTitle,
|
|
@@ -329,7 +357,9 @@ function useMenu() {
|
|
|
329
357
|
getRealWidth,
|
|
330
358
|
getCalcContentWidth,
|
|
331
359
|
getIsMixMode,
|
|
360
|
+
getIsMixSidebar,
|
|
332
361
|
getCanDrag,
|
|
362
|
+
getMixSideTrigger,
|
|
333
363
|
toggleCollapsed,
|
|
334
364
|
setThemeStore
|
|
335
365
|
};
|
|
@@ -362,54 +392,54 @@ function useHeader() {
|
|
|
362
392
|
getMenuMode,
|
|
363
393
|
getSplit,
|
|
364
394
|
getIsTopMenu,
|
|
365
|
-
|
|
395
|
+
getIsMixSidebar
|
|
366
396
|
} = useMenu();
|
|
367
397
|
const { getShowMultipleTab } = useMultipleTab();
|
|
368
|
-
const getHeaderTheme = computed
|
|
369
|
-
const getFixed = computed
|
|
370
|
-
const getShowHeaderLogo = computed
|
|
371
|
-
const getShowSearch = computed
|
|
372
|
-
const getShowHeaderTrigger = computed
|
|
373
|
-
if (unref
|
|
398
|
+
const getHeaderTheme = computed(() => getHeaderConf.theme);
|
|
399
|
+
const getFixed = computed(() => getHeaderConf.fixed);
|
|
400
|
+
const getShowHeaderLogo = computed(() => unref(getShowLogo) && !unref(getIsSidebarType) && !unref(getIsMixSidebar));
|
|
401
|
+
const getShowSearch = computed(() => getHeaderConf.showSearch);
|
|
402
|
+
const getShowHeaderTrigger = computed(() => {
|
|
403
|
+
if (unref(getMenuType) === MenuType.TOP_MENU || !unref(getShowMenu) || unref(getMenuHidden)) {
|
|
374
404
|
return false;
|
|
375
405
|
}
|
|
376
|
-
return unref
|
|
406
|
+
return unref(getTrigger);
|
|
377
407
|
});
|
|
378
|
-
const getShowBreadCrumb = computed
|
|
379
|
-
const getShowBread = computed
|
|
380
|
-
() => unref
|
|
408
|
+
const getShowBreadCrumb = computed(() => getHeaderConf.showBreadCrumb);
|
|
409
|
+
const getShowBread = computed(
|
|
410
|
+
() => unref(getMenuMode) !== MenuMode.HORIZONTAL && !unref(getSplit) && unref(getShowBreadCrumb)
|
|
381
411
|
);
|
|
382
|
-
const getShowTopMenu = computed
|
|
383
|
-
const getShowNotice = computed
|
|
384
|
-
const getShowFullScreen = computed
|
|
385
|
-
const getShowLocale = computed
|
|
386
|
-
const getShowSettingTheme = computed
|
|
387
|
-
const getShowFullHeaderRef = computed
|
|
388
|
-
return !unref
|
|
412
|
+
const getShowTopMenu = computed(() => unref(getMenuMode) === MenuMode.HORIZONTAL || unref(getSplit));
|
|
413
|
+
const getShowNotice = computed(() => getHeaderConf.showNotice);
|
|
414
|
+
const getShowFullScreen = computed(() => getHeaderConf.showFullScreen);
|
|
415
|
+
const getShowLocale = computed(() => getHeaderConf.showLocaleSwitch);
|
|
416
|
+
const getShowSettingTheme = computed(() => getHeaderConf.showSettingTheme);
|
|
417
|
+
const getShowFullHeaderRef = computed(() => {
|
|
418
|
+
return !unref(getIsSidebarType) && !unref(getIsMixSidebar) && !unref(getIsTopMenu);
|
|
389
419
|
});
|
|
390
|
-
const getHeaderHeight = computed
|
|
420
|
+
const getHeaderHeight = computed(() => {
|
|
391
421
|
let height = 0;
|
|
392
422
|
height += HEADER_HEIGHT;
|
|
393
|
-
if (unref
|
|
423
|
+
if (unref(getShowMultipleTab) && !unref(getSplit)) {
|
|
394
424
|
height += TABS_HEIGHT;
|
|
395
425
|
}
|
|
396
426
|
return height;
|
|
397
427
|
});
|
|
398
|
-
const getTabsHeight = computed
|
|
399
|
-
const getShowInsetHeaderRef = computed
|
|
400
|
-
return unref
|
|
428
|
+
const getTabsHeight = computed(() => TABS_HEIGHT);
|
|
429
|
+
const getShowInsetHeaderRef = computed(() => {
|
|
430
|
+
return unref(getIsSidebarType) || unref(getIsTopMenu) || unref(getIsMixSidebar);
|
|
401
431
|
});
|
|
402
|
-
const getShowBackToTop = computed
|
|
403
|
-
const getIsZH = computed
|
|
432
|
+
const getShowBackToTop = computed(() => getHeaderConf.showBackToTop);
|
|
433
|
+
const getIsZH = computed(() => {
|
|
404
434
|
let local = DtCache.getLocal(CacheKey.LOCALE);
|
|
405
435
|
if (!local)
|
|
406
436
|
return true;
|
|
407
437
|
return local === Language.ZH;
|
|
408
438
|
});
|
|
409
|
-
const getUiSize = computed
|
|
410
|
-
const getShowUiSize = computed
|
|
411
|
-
const getShowLogo = computed
|
|
412
|
-
const getShowLoginOut = computed
|
|
439
|
+
const getUiSize = computed(() => getHeaderConf?.size ?? UiSize.SMALL);
|
|
440
|
+
const getShowUiSize = computed(() => getHeaderConf?.showSize);
|
|
441
|
+
const getShowLogo = computed(() => getHeaderConf.showLogo);
|
|
442
|
+
const getShowLoginOut = computed(() => getHeaderConf.showLoginOut);
|
|
413
443
|
const loginOutClick = getHeaderConf.logoutClick;
|
|
414
444
|
return {
|
|
415
445
|
getHeaderTheme,
|
|
@@ -438,11 +468,11 @@ function useHeader() {
|
|
|
438
468
|
}
|
|
439
469
|
function useTheme() {
|
|
440
470
|
const { getThemeConf, getPageLoading } = useThemeStore();
|
|
441
|
-
const getLayoutContentMode = computed
|
|
442
|
-
const getFooter = computed
|
|
443
|
-
const getShowFooter = computed
|
|
444
|
-
const getContentMode = computed
|
|
445
|
-
const getOpenPageLoading = computed
|
|
471
|
+
const getLayoutContentMode = computed(() => getThemeConf.content.contentMode);
|
|
472
|
+
const getFooter = computed(() => getThemeConf.footerOptions || {});
|
|
473
|
+
const getShowFooter = computed(() => isObject(getThemeConf.footerOptions) ? getThemeConf.footerOptions.show : true);
|
|
474
|
+
const getContentMode = computed(() => getThemeConf.content.contentMode);
|
|
475
|
+
const getOpenPageLoading = computed(() => getPageLoading);
|
|
446
476
|
return {
|
|
447
477
|
getLayoutContentMode,
|
|
448
478
|
getPageLoading,
|
|
@@ -493,6 +523,26 @@ function getFilterMenu(filter = "", flag = false) {
|
|
|
493
523
|
getTargetMenus(DtCache.getLocal(CacheKey.MENUS)?.children);
|
|
494
524
|
return _menus;
|
|
495
525
|
}
|
|
526
|
+
function getParentTreeByPath(path) {
|
|
527
|
+
const _menus = DtCache.getLocal(CacheKey.MENUS)?.children || [];
|
|
528
|
+
let routes = [];
|
|
529
|
+
let getParentByPath = (menu, path2 = "") => {
|
|
530
|
+
if (menu.children && menu.children.length) {
|
|
531
|
+
menu.children.forEach((subMenu) => {
|
|
532
|
+
subMenu.parentMenus = [...menu.parentMenus].concat([subMenu]);
|
|
533
|
+
getParentByPath(subMenu, path2);
|
|
534
|
+
});
|
|
535
|
+
}
|
|
536
|
+
if (menu.url === path2) {
|
|
537
|
+
routes = menu.parentMenus;
|
|
538
|
+
}
|
|
539
|
+
};
|
|
540
|
+
_menus.forEach((menu) => {
|
|
541
|
+
menu.parentMenus = [menu];
|
|
542
|
+
getParentByPath(menu, path);
|
|
543
|
+
});
|
|
544
|
+
return routes.length ? routes[0] : { id: null, children: [], icon: "", label: "" };
|
|
545
|
+
}
|
|
496
546
|
function useOpenKeys(menuState, menus, type) {
|
|
497
547
|
async function setOpenKeys(path) {
|
|
498
548
|
if (type === MenuType.TOP_MENU)
|
|
@@ -510,7 +560,7 @@ function useOpenKeys(menuState, menus, type) {
|
|
|
510
560
|
true
|
|
511
561
|
);
|
|
512
562
|
}
|
|
513
|
-
const getOpenKeys = computed
|
|
563
|
+
const getOpenKeys = computed(() => menuState.openKeys);
|
|
514
564
|
function resetKeys() {
|
|
515
565
|
menuState.selectedKeys = [];
|
|
516
566
|
menuState.openKeys = [];
|
|
@@ -527,27 +577,27 @@ function useOpenKeys(menuState, menus, type) {
|
|
|
527
577
|
}
|
|
528
578
|
function useDragLine(siderRef, dragBarRef) {
|
|
529
579
|
const { getMiniWidthNumber, getCollapsed, setThemeStore } = useMenu();
|
|
530
|
-
onMounted
|
|
531
|
-
nextTick
|
|
580
|
+
onMounted(() => {
|
|
581
|
+
nextTick(() => {
|
|
532
582
|
const exec = useDebounceFn(changeWrapWidth, 80);
|
|
533
583
|
exec();
|
|
534
584
|
});
|
|
535
585
|
});
|
|
536
586
|
function getEl(elRef) {
|
|
537
|
-
const el = unref
|
|
587
|
+
const el = unref(elRef);
|
|
538
588
|
if (!el)
|
|
539
589
|
return null;
|
|
540
590
|
if (Reflect.has(el, "$el")) {
|
|
541
|
-
return unref
|
|
591
|
+
return unref(elRef)?.$el;
|
|
542
592
|
}
|
|
543
|
-
return unref
|
|
593
|
+
return unref(elRef);
|
|
544
594
|
}
|
|
545
595
|
function handleMouseMove(ele, wrap, clientX) {
|
|
546
596
|
document.onmousemove = function(innerE) {
|
|
547
597
|
innerE = innerE || window.event;
|
|
548
598
|
let iT = ele.left + (innerE.clientX - clientX);
|
|
549
599
|
const maxT = 800;
|
|
550
|
-
const minT = unref
|
|
600
|
+
const minT = unref(getMiniWidthNumber);
|
|
551
601
|
iT < 0 && (iT = 0);
|
|
552
602
|
iT > maxT && (iT = maxT);
|
|
553
603
|
iT < minT && (iT = minT);
|
|
@@ -588,14 +638,14 @@ function useDragLine(siderRef, dragBarRef) {
|
|
|
588
638
|
};
|
|
589
639
|
}
|
|
590
640
|
}
|
|
591
|
-
const _sfc_main$
|
|
641
|
+
const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
592
642
|
__name: "back-top",
|
|
593
643
|
setup(__props) {
|
|
594
644
|
const getTarget = () => document.getElementById("dt-layout-content");
|
|
595
645
|
const { getShowBackToTop } = useHeader();
|
|
596
646
|
return (_ctx, _cache) => {
|
|
597
647
|
const _component_ABackTop = BackTop;
|
|
598
|
-
return unref
|
|
648
|
+
return unref(getShowBackToTop) ? (openBlock(), createBlock(_component_ABackTop, {
|
|
599
649
|
key: 0,
|
|
600
650
|
target: getTarget,
|
|
601
651
|
visibilityHeight: 300
|
|
@@ -603,33 +653,32 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent$1({
|
|
|
603
653
|
};
|
|
604
654
|
}
|
|
605
655
|
});
|
|
606
|
-
const _sfc_main$
|
|
656
|
+
const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
607
657
|
__name: "index",
|
|
608
658
|
setup(__props) {
|
|
609
659
|
return (_ctx, _cache) => {
|
|
610
|
-
return openBlock(), createBlock(_sfc_main$
|
|
660
|
+
return openBlock(), createBlock(_sfc_main$z);
|
|
611
661
|
};
|
|
612
662
|
}
|
|
613
663
|
});
|
|
614
|
-
const _sfc_main$
|
|
664
|
+
const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
615
665
|
__name: "fullscreen",
|
|
616
666
|
setup(__props) {
|
|
617
667
|
const { toggle, isFullscreen } = useFullscreen();
|
|
618
668
|
return (_ctx, _cache) => {
|
|
619
669
|
return openBlock(), createElementBlock("span", {
|
|
620
670
|
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",
|
|
621
|
-
onClick: _cache[0] || (_cache[0] = (...args) => unref
|
|
671
|
+
onClick: _cache[0] || (_cache[0] = (...args) => unref(toggle) && unref(toggle)(...args))
|
|
622
672
|
}, [
|
|
623
673
|
createElementVNode("i", {
|
|
624
|
-
class: normalizeClass(["i block", !unref
|
|
674
|
+
class: normalizeClass(["i block", !unref(isFullscreen) ? "ic:baseline-fullscreen" : "ic:baseline-fullscreen-exit"])
|
|
625
675
|
}, null, 2)
|
|
626
676
|
]);
|
|
627
677
|
};
|
|
628
678
|
}
|
|
629
679
|
});
|
|
630
|
-
const DtLogo = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADkAAAA5CAYAAACMGIOFAAAACXBIWXMAAAsTAAALEwEAmpwYAAAzfGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0i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BS7A+wEIjqXFpFySm6XrYTTEmpunuJu7OfJdsJjNf8svMJDPsKLqu82covWpmQWliDHgF3ARuAKqdZHpjIOO5D3eED1gNnAcGgHPAHCeTuy3KgaPAB/PRLyIyHQGzR18CS0RFpmOVOV+3i4wEmAXcBY6LjARQgLPACZGR6TgFHPAEUkGnpixKtf+7leYXgK2uRU5XErTVtvJ1WYjI0gYuLThkJc0UoAsIFVLZX+re6wrtZVPl0/GyZ9paO38x14D1gO6antxc9SQDGBudS3d8l52U64B9rhquO2ffGr9WUwF2f7nOcKrSbtrTQIWjwzVYBg0zrH2aqcoYfSMbePtzBZ1DzUST85z47oLAYRObe5pMdheyoxo6661tVEJvFIZTRRkkg+aP0C8370LsRg2wzbHhOpCAB/Hs8uXlUDfNuA6PwLdkdp1kcXeqB4HbjiDDGoQ1Jau8faFOXdC47ogq9Kol7801Zo8OirCsy7e2bRRl7ZovtsiA3JjLJBoyACwSHQmwUgbkYhmQ9TIga2VAzpcBWSEDskoG5EwZkKMyIDUZkDEZkP0yICMyIN/LgHwhOvIj8El05P1chaIhu0VHvgbeiY5s/9cLoiAjwB3Rkccwjq4Ji3wEPM5XwevIGNA8USUvI3VgPzlu8IiEbAUeFlLRq8iLQFuhlb2I7ABaJtPA57E5eBI4wgTndv4Ov0eAKrAH6LHS2As9+RzjTlWP1QRuRv4AmjBOXX22k8iNw1UDLgNngCEnEroJGQeumLuJmJOJ/zdSB/qAq8A9IFGMN/kNt6GNd9kLeHQAAAAASUVORK5CYII=";
|
|
631
680
|
const _hoisted_1$i = ["src"];
|
|
632
|
-
const _sfc_main$
|
|
681
|
+
const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
633
682
|
__name: "logo",
|
|
634
683
|
props: {
|
|
635
684
|
theme: { type: String, validator: (v) => ["light", "dark"].includes(v) },
|
|
@@ -640,25 +689,25 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent$1({
|
|
|
640
689
|
const { t } = useI18n("UI");
|
|
641
690
|
const title = t("COMPANY_NAME");
|
|
642
691
|
const { getLogoWidth } = useMenu();
|
|
643
|
-
const getLogoClass = computed
|
|
692
|
+
const getLogoClass = computed(() => {
|
|
644
693
|
return `${props.theme} dt-logo px-2.5 text-sm flex items-center pl-2.5 cursor-pointer text-center transition-all duration-200 ease-in-out `;
|
|
645
694
|
});
|
|
646
695
|
return (_ctx, _cache) => {
|
|
647
696
|
return openBlock(), createElementBlock("div", {
|
|
648
|
-
class: normalizeClass(unref
|
|
697
|
+
class: normalizeClass(unref(getLogoClass)),
|
|
649
698
|
style: normalizeStyle({
|
|
650
|
-
minWidth: `${unref
|
|
699
|
+
minWidth: `${unref(getLogoWidth)}px`
|
|
651
700
|
})
|
|
652
701
|
}, [
|
|
653
|
-
createElementVNode("img", { src:
|
|
654
|
-
withDirectives(createElementVNode("div", { class: "dt-logo__title text-base font-bold transition-all duration-500 pl-3" }, toDisplayString(unref
|
|
702
|
+
createElementVNode("img", { src: "/node_modules/@dt-frames/ui/es/assets/imgs/logo/logo.png" }, null, 8, _hoisted_1$i),
|
|
703
|
+
withDirectives(createElementVNode("div", { class: "dt-logo__title text-base font-bold transition-all duration-500 pl-3" }, toDisplayString(unref(title)), 513), [
|
|
655
704
|
[vShow, __props.showTitle]
|
|
656
705
|
])
|
|
657
706
|
], 6);
|
|
658
707
|
};
|
|
659
708
|
}
|
|
660
709
|
});
|
|
661
|
-
const _sfc_main$
|
|
710
|
+
const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
662
711
|
__name: "trigger",
|
|
663
712
|
props: { theme: String },
|
|
664
713
|
setup(__props) {
|
|
@@ -667,28 +716,22 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent$1({
|
|
|
667
716
|
return (_ctx, _cache) => {
|
|
668
717
|
return openBlock(), createElementBlock("div", {
|
|
669
718
|
class: normalizeClass(["flex w-12 h-full cursor-pointer items-center justify-center", props.theme]),
|
|
670
|
-
onClick: _cache[0] || (_cache[0] = (...args) => unref
|
|
719
|
+
onClick: _cache[0] || (_cache[0] = (...args) => unref(toggleCollapsed) && unref(toggleCollapsed)(...args))
|
|
671
720
|
}, [
|
|
672
721
|
createElementVNode("i", {
|
|
673
|
-
class: normalizeClass(["i leading-none", unref
|
|
722
|
+
class: normalizeClass(["i leading-none", unref(getCollapsed) ? "ic:baseline-format-indent-increase" : "ic:baseline-format-indent-decrease"])
|
|
674
723
|
}, null, 2)
|
|
675
724
|
], 2);
|
|
676
725
|
};
|
|
677
726
|
}
|
|
678
727
|
});
|
|
679
|
-
const _default = "";
|
|
680
|
-
const index$b = "";
|
|
681
|
-
const index$a = "";
|
|
682
|
-
const index$9 = "";
|
|
683
|
-
const index$8 = "";
|
|
684
|
-
const index$7 = "";
|
|
685
728
|
const _hoisted_1$h = { class: "dt-breadcrumb" };
|
|
686
|
-
const _sfc_main$
|
|
729
|
+
const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
687
730
|
__name: "bread-crumb",
|
|
688
731
|
setup(__props) {
|
|
689
732
|
const { getIsZH } = useHeader();
|
|
690
|
-
let routes = ref
|
|
691
|
-
const { currentRoute = null } = useRouter
|
|
733
|
+
let routes = ref([]);
|
|
734
|
+
const { currentRoute = null } = useRouter();
|
|
692
735
|
watchEffect(() => {
|
|
693
736
|
if (!currentRoute || currentRoute.value.path === "/")
|
|
694
737
|
return;
|
|
@@ -697,9 +740,9 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent$1({
|
|
|
697
740
|
return (_ctx, _cache) => {
|
|
698
741
|
const _component_ABreadcrumb = Breadcrumb;
|
|
699
742
|
return openBlock(), createElementBlock("div", _hoisted_1$h, [
|
|
700
|
-
createVNode(_component_ABreadcrumb, { routes: unref
|
|
743
|
+
createVNode(_component_ABreadcrumb, { routes: unref(routes) }, {
|
|
701
744
|
itemRender: withCtx(({ route }) => [
|
|
702
|
-
createElementVNode("span", null, toDisplayString((unref
|
|
745
|
+
createElementVNode("span", null, toDisplayString((unref(getIsZH) ? route.label : route.enLabel) || route.meta?.title), 1)
|
|
703
746
|
]),
|
|
704
747
|
_: 1
|
|
705
748
|
}, 8, ["routes"])
|
|
@@ -711,17 +754,17 @@ const _hoisted_1$g = {
|
|
|
711
754
|
key: 0,
|
|
712
755
|
class: "dt-menu-filter h-7 pr-2"
|
|
713
756
|
};
|
|
714
|
-
const _hoisted_2$
|
|
715
|
-
const _hoisted_3$
|
|
757
|
+
const _hoisted_2$9 = ["onClick"];
|
|
758
|
+
const _hoisted_3$6 = {
|
|
716
759
|
key: 0,
|
|
717
760
|
class: "flex items-center justify-center h-full overflow-hidden"
|
|
718
761
|
};
|
|
719
|
-
const _sfc_main$
|
|
762
|
+
const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
720
763
|
__name: "menu-filter",
|
|
721
764
|
setup(__props) {
|
|
722
765
|
const { t } = useI18n("UI");
|
|
723
766
|
const menuList = ref([]);
|
|
724
|
-
const router = useRouter
|
|
767
|
+
const router = useRouter();
|
|
725
768
|
const filter = ref("");
|
|
726
769
|
const { getShowSearch, getIsZH } = useHeader();
|
|
727
770
|
const isUseDef = computed(() => {
|
|
@@ -748,7 +791,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent$1({
|
|
|
748
791
|
const _component_AEmpty = Empty;
|
|
749
792
|
const _component_AInputSearch = InputSearch;
|
|
750
793
|
const _component_APopover = Popover;
|
|
751
|
-
return unref
|
|
794
|
+
return unref(isUseDef) ? (openBlock(), createElementBlock("div", _hoisted_1$g, [
|
|
752
795
|
createVNode(_component_APopover, {
|
|
753
796
|
placement: "bottom",
|
|
754
797
|
overlayClassName: "dt-menu-filter__popover",
|
|
@@ -756,13 +799,13 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent$1({
|
|
|
756
799
|
onVisibleChange: visibleChange
|
|
757
800
|
}, {
|
|
758
801
|
content: withCtx(() => [
|
|
759
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(
|
|
802
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(menuList.value, (menu) => {
|
|
760
803
|
return openBlock(), createElementBlock("p", {
|
|
761
804
|
onClick: ($event) => navigation(menu.url),
|
|
762
805
|
class: "px-5 leading-9 border-gray-200 border-dashed border-b m-0 cursor-pointer transition-all duration-300 text-13"
|
|
763
|
-
}, toDisplayString(unref
|
|
806
|
+
}, toDisplayString(unref(getIsZH) ? menu.label : menu.enLabel), 9, _hoisted_2$9);
|
|
764
807
|
}), 256)),
|
|
765
|
-
!
|
|
808
|
+
!menuList.value.length ? (openBlock(), createElementBlock("div", _hoisted_3$6, [
|
|
766
809
|
createVNode(_component_AEmpty, {
|
|
767
810
|
description: "\u6682\u65E0\u6570\u636E",
|
|
768
811
|
imageStyle: { width: "100%" }
|
|
@@ -771,11 +814,11 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent$1({
|
|
|
771
814
|
]),
|
|
772
815
|
default: withCtx(() => [
|
|
773
816
|
createVNode(_component_AInputSearch, {
|
|
774
|
-
value:
|
|
775
|
-
"onUpdate:value": _cache[0] || (_cache[0] = ($event) =>
|
|
776
|
-
placeholder: unref
|
|
817
|
+
value: filter.value,
|
|
818
|
+
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => filter.value = $event),
|
|
819
|
+
placeholder: unref(t)("FILTER_MORE"),
|
|
777
820
|
onInput: filterMenu,
|
|
778
|
-
size: unref
|
|
821
|
+
size: unref(UiSize).SMALL
|
|
779
822
|
}, null, 8, ["value", "placeholder", "size"])
|
|
780
823
|
]),
|
|
781
824
|
_: 1
|
|
@@ -785,22 +828,22 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent$1({
|
|
|
785
828
|
}
|
|
786
829
|
});
|
|
787
830
|
const _hoisted_1$f = { class: "lang m-0" };
|
|
788
|
-
const _hoisted_2$
|
|
789
|
-
const _hoisted_3$
|
|
831
|
+
const _hoisted_2$8 = ["onClick"];
|
|
832
|
+
const _hoisted_3$5 = {
|
|
790
833
|
class: "pr-2",
|
|
791
834
|
size: 16
|
|
792
835
|
};
|
|
793
|
-
const _hoisted_4$
|
|
836
|
+
const _hoisted_4$3 = /* @__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" }, [
|
|
794
837
|
/* @__PURE__ */ createElementVNode("i", { class: "block i ic:baseline-language" })
|
|
795
838
|
], -1);
|
|
796
|
-
const _sfc_main$
|
|
839
|
+
const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
797
840
|
__name: "lang-picker",
|
|
798
841
|
props: {
|
|
799
842
|
reload: { type: Boolean }
|
|
800
843
|
},
|
|
801
844
|
setup(__props) {
|
|
802
845
|
const props = __props;
|
|
803
|
-
const visible = ref
|
|
846
|
+
const visible = ref(false);
|
|
804
847
|
let currentLang = DtCache.getLocal(CacheKey.LOCALE);
|
|
805
848
|
async function toggleLang(lang) {
|
|
806
849
|
visible.value = false;
|
|
@@ -822,21 +865,21 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent$1({
|
|
|
822
865
|
}, {
|
|
823
866
|
content: withCtx(() => [
|
|
824
867
|
createElementVNode("ul", _hoisted_1$f, [
|
|
825
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(unref
|
|
868
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(localeList), (it) => {
|
|
826
869
|
return openBlock(), createElementBlock("li", {
|
|
827
870
|
onClick: ($event) => toggleLang(it.event),
|
|
828
|
-
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
|
|
871
|
+
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" : ""])
|
|
829
872
|
}, [
|
|
830
|
-
withDirectives(createElementVNode("span", _hoisted_3$
|
|
873
|
+
withDirectives(createElementVNode("span", _hoisted_3$5, null, 512), [
|
|
831
874
|
[_directive_icon, it.icon]
|
|
832
875
|
]),
|
|
833
876
|
createElementVNode("span", null, toDisplayString(it.text), 1)
|
|
834
|
-
], 10, _hoisted_2$
|
|
877
|
+
], 10, _hoisted_2$8);
|
|
835
878
|
}), 256))
|
|
836
879
|
])
|
|
837
880
|
]),
|
|
838
881
|
default: withCtx(() => [
|
|
839
|
-
_hoisted_4$
|
|
882
|
+
_hoisted_4$3
|
|
840
883
|
]),
|
|
841
884
|
_: 1
|
|
842
885
|
}, 8, ["visible"]);
|
|
@@ -903,7 +946,7 @@ function removeResizeListener(element, fn) {
|
|
|
903
946
|
element.__ro__.disconnect();
|
|
904
947
|
}
|
|
905
948
|
}
|
|
906
|
-
const Bar = defineComponent
|
|
949
|
+
const Bar = defineComponent({
|
|
907
950
|
name: "Bar",
|
|
908
951
|
props: {
|
|
909
952
|
vertical: Boolean,
|
|
@@ -912,13 +955,13 @@ const Bar = defineComponent$1({
|
|
|
912
955
|
},
|
|
913
956
|
setup(props) {
|
|
914
957
|
const instance = getCurrentInstance();
|
|
915
|
-
const thumb = ref
|
|
958
|
+
const thumb = ref();
|
|
916
959
|
const wrap = inject("scroll-bar-wrap", {});
|
|
917
|
-
const bar = computed
|
|
960
|
+
const bar = computed(() => {
|
|
918
961
|
return BAR_MAP[props.vertical ? "vertical" : "horizontal"];
|
|
919
962
|
});
|
|
920
|
-
const barStore = ref
|
|
921
|
-
const cursorDown = ref
|
|
963
|
+
const barStore = ref({});
|
|
964
|
+
const cursorDown = ref();
|
|
922
965
|
const clickThumbHandler = (e) => {
|
|
923
966
|
if (e.ctrlKey || e.button === 2) {
|
|
924
967
|
return;
|
|
@@ -962,13 +1005,13 @@ const Bar = defineComponent$1({
|
|
|
962
1005
|
onUnmounted(() => {
|
|
963
1006
|
off(document, "mouseup", mouseUpDocumentHandler);
|
|
964
1007
|
});
|
|
965
|
-
return () => h
|
|
1008
|
+
return () => h(
|
|
966
1009
|
"div",
|
|
967
1010
|
{
|
|
968
1011
|
class: ["scrollbar__bar", "is-" + bar.value.key],
|
|
969
1012
|
onMousedown: clickTrackHandler
|
|
970
1013
|
},
|
|
971
|
-
h
|
|
1014
|
+
h("div", {
|
|
972
1015
|
ref: thumb,
|
|
973
1016
|
class: "scrollbar__thumb",
|
|
974
1017
|
onMousedown: clickThumbHandler,
|
|
@@ -982,7 +1025,7 @@ const Bar = defineComponent$1({
|
|
|
982
1025
|
}
|
|
983
1026
|
});
|
|
984
1027
|
const _hoisted_1$e = { class: "scrollbar relative h-full overflow-hidden" };
|
|
985
|
-
const _sfc_main$
|
|
1028
|
+
const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
986
1029
|
__name: "scroll-bar",
|
|
987
1030
|
props: {
|
|
988
1031
|
wrapClass: {
|
|
@@ -1056,7 +1099,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent$1({
|
|
|
1056
1099
|
ref_key: "wrap",
|
|
1057
1100
|
ref: wrap,
|
|
1058
1101
|
class: normalizeClass([[__props.wrapClass, "scrollbar__wrap--hidden-default"], "h-full overflow-auto"]),
|
|
1059
|
-
style: normalizeStyle(unref
|
|
1102
|
+
style: normalizeStyle(unref(style)),
|
|
1060
1103
|
onScroll: handleScroll
|
|
1061
1104
|
}, [
|
|
1062
1105
|
(openBlock(), createBlock(resolveDynamicComponent(__props.tag), {
|
|
@@ -1071,25 +1114,25 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent$1({
|
|
|
1071
1114
|
_: 3
|
|
1072
1115
|
}, 8, ["class", "style"]))
|
|
1073
1116
|
], 38),
|
|
1074
|
-
createVNode(unref
|
|
1075
|
-
move:
|
|
1076
|
-
size:
|
|
1117
|
+
createVNode(unref(Bar), {
|
|
1118
|
+
move: moveX.value,
|
|
1119
|
+
size: sizeWidth.value
|
|
1077
1120
|
}, null, 8, ["move", "size"]),
|
|
1078
|
-
createVNode(unref
|
|
1121
|
+
createVNode(unref(Bar), {
|
|
1079
1122
|
vertical: "",
|
|
1080
|
-
move:
|
|
1081
|
-
size:
|
|
1123
|
+
move: moveY.value,
|
|
1124
|
+
size: sizeHeight.value
|
|
1082
1125
|
}, null, 8, ["move", "size"])
|
|
1083
1126
|
]);
|
|
1084
1127
|
};
|
|
1085
1128
|
}
|
|
1086
1129
|
});
|
|
1087
|
-
const _sfc_main$
|
|
1130
|
+
const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
1088
1131
|
__name: "scroll-container",
|
|
1089
1132
|
setup(__props) {
|
|
1090
1133
|
const scrollbarRef = ref(null);
|
|
1091
1134
|
return (_ctx, _cache) => {
|
|
1092
|
-
return openBlock(), createBlock(_sfc_main$
|
|
1135
|
+
return openBlock(), createBlock(_sfc_main$r, mergeProps({
|
|
1093
1136
|
ref_key: "scrollbarRef",
|
|
1094
1137
|
ref: scrollbarRef
|
|
1095
1138
|
}, _ctx.$attrs, { class: "w-full h-full" }), {
|
|
@@ -1101,8 +1144,8 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent$1({
|
|
|
1101
1144
|
};
|
|
1102
1145
|
}
|
|
1103
1146
|
});
|
|
1104
|
-
const _sfc_main$
|
|
1105
|
-
|
|
1147
|
+
const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
1148
|
+
__name: "slot-container",
|
|
1106
1149
|
props: {
|
|
1107
1150
|
template: {
|
|
1108
1151
|
type: Function
|
|
@@ -1111,9 +1154,11 @@ const _sfc_main$o = defineComponent({
|
|
|
1111
1154
|
type: Object
|
|
1112
1155
|
}
|
|
1113
1156
|
},
|
|
1114
|
-
setup(
|
|
1115
|
-
|
|
1116
|
-
|
|
1157
|
+
setup(__props) {
|
|
1158
|
+
const props = __props;
|
|
1159
|
+
const Container = h("div", [props.template(props.data)]);
|
|
1160
|
+
return (_ctx, _cache) => {
|
|
1161
|
+
return openBlock(), createBlock(unref(Container));
|
|
1117
1162
|
};
|
|
1118
1163
|
}
|
|
1119
1164
|
});
|
|
@@ -1123,10 +1168,10 @@ const withInstall = (comp) => {
|
|
|
1123
1168
|
};
|
|
1124
1169
|
return comp;
|
|
1125
1170
|
};
|
|
1126
|
-
const DtScrollContainer = withInstall(_sfc_main$
|
|
1127
|
-
const DtSlotContainer = withInstall(_sfc_main$
|
|
1171
|
+
const DtScrollContainer = withInstall(_sfc_main$q);
|
|
1172
|
+
const DtSlotContainer = withInstall(_sfc_main$p);
|
|
1128
1173
|
const _hoisted_1$d = { 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" };
|
|
1129
|
-
const _sfc_main$
|
|
1174
|
+
const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
1130
1175
|
__name: "notify",
|
|
1131
1176
|
setup(__props) {
|
|
1132
1177
|
const slots = getParentSlots(null, "dt-theme");
|
|
@@ -1138,9 +1183,9 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent$1({
|
|
|
1138
1183
|
overlayClassName: "dt-notify__popover"
|
|
1139
1184
|
}, {
|
|
1140
1185
|
content: withCtx(() => [
|
|
1141
|
-
unref
|
|
1186
|
+
unref(slots).notify ? (openBlock(), createBlock(unref(DtSlotContainer), {
|
|
1142
1187
|
key: 0,
|
|
1143
|
-
template: unref
|
|
1188
|
+
template: unref(slots).notify
|
|
1144
1189
|
}, null, 8, ["template"])) : createCommentVNode("", true)
|
|
1145
1190
|
]),
|
|
1146
1191
|
default: withCtx(() => [
|
|
@@ -1148,9 +1193,9 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent$1({
|
|
|
1148
1193
|
withDirectives(createElementVNode("span", null, null, 512), [
|
|
1149
1194
|
[_directive_icon, "ant-design:bell-outlined"]
|
|
1150
1195
|
]),
|
|
1151
|
-
unref
|
|
1196
|
+
unref(slots).notifyBadge ? (openBlock(), createBlock(unref(DtSlotContainer), {
|
|
1152
1197
|
key: 0,
|
|
1153
|
-
template: unref
|
|
1198
|
+
template: unref(slots).notifyBadge
|
|
1154
1199
|
}, null, 8, ["template"])) : createCommentVNode("", true)
|
|
1155
1200
|
])
|
|
1156
1201
|
]),
|
|
@@ -1160,11 +1205,11 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent$1({
|
|
|
1160
1205
|
}
|
|
1161
1206
|
});
|
|
1162
1207
|
const _hoisted_1$c = { class: "lang m-0" };
|
|
1163
|
-
const _hoisted_2$
|
|
1164
|
-
const _hoisted_3$
|
|
1208
|
+
const _hoisted_2$7 = ["onClick"];
|
|
1209
|
+
const _hoisted_3$4 = /* @__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" }, [
|
|
1165
1210
|
/* @__PURE__ */ createElementVNode("i", { class: "block i ic:baseline-format-size" })
|
|
1166
1211
|
], -1);
|
|
1167
|
-
const _sfc_main$
|
|
1212
|
+
const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
1168
1213
|
__name: "size",
|
|
1169
1214
|
setup(__props) {
|
|
1170
1215
|
const { t } = useI18n("UI");
|
|
@@ -1184,7 +1229,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent$1({
|
|
|
1184
1229
|
event: UiSize.SMALL
|
|
1185
1230
|
}
|
|
1186
1231
|
];
|
|
1187
|
-
const visible = ref
|
|
1232
|
+
const visible = ref(false);
|
|
1188
1233
|
async function toggleLang(size) {
|
|
1189
1234
|
visible.value = false;
|
|
1190
1235
|
setThemeConf({
|
|
@@ -1194,7 +1239,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent$1({
|
|
|
1194
1239
|
});
|
|
1195
1240
|
}
|
|
1196
1241
|
return (_ctx, _cache) => {
|
|
1197
|
-
return openBlock(), createBlock(unref
|
|
1242
|
+
return openBlock(), createBlock(unref(Popover$1), {
|
|
1198
1243
|
placement: "bottom",
|
|
1199
1244
|
visible: visible.value,
|
|
1200
1245
|
"onUpdate:visible": _cache[0] || (_cache[0] = ($event) => visible.value = $event),
|
|
@@ -1206,32 +1251,30 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent$1({
|
|
|
1206
1251
|
(openBlock(), createElementBlock(Fragment, null, renderList(sizeList, (it) => {
|
|
1207
1252
|
return createElementVNode("li", {
|
|
1208
1253
|
onClick: ($event) => toggleLang(it.event),
|
|
1209
|
-
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
|
|
1254
|
+
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" : ""])
|
|
1210
1255
|
}, [
|
|
1211
1256
|
createElementVNode("span", null, toDisplayString(it.text), 1)
|
|
1212
|
-
], 10, _hoisted_2$
|
|
1257
|
+
], 10, _hoisted_2$7);
|
|
1213
1258
|
}), 64))
|
|
1214
1259
|
])
|
|
1215
1260
|
]),
|
|
1216
1261
|
default: withCtx(() => [
|
|
1217
|
-
_hoisted_3$
|
|
1262
|
+
_hoisted_3$4
|
|
1218
1263
|
]),
|
|
1219
1264
|
_: 1
|
|
1220
1265
|
}, 8, ["visible"]);
|
|
1221
1266
|
};
|
|
1222
1267
|
}
|
|
1223
1268
|
});
|
|
1224
|
-
const index$6 = "";
|
|
1225
|
-
const _imports_0 = "data:image/png;base64,/9j/4AAQSkZJRgABAQEASABIAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCAG9AfQDASIAAhEBAxEB/8QAHAAAAgMBAQEBAAAAAAAAAAAAAAECAwUEBgcI/8QASRAAAQQABAMFBAYJAQYEBwAAAQACAxEEBRIhMUFRBhMiYXEUMoGRFUJSobHBBxYjM2JyktHh8CRDRGOCkyU0U1QXc4Oio8Lx/8QAGgEBAQEBAQEBAAAAAAAAAAAAA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18t1M4iaM3JExovjqpaPdgOq/CORSMbXcQD6hYucvqxzmLlinjkZqDmt9XBWRyNJ1CRhadr1WFN2HiJ1GNhI23aoMw8MbjoiYCOjaWK3IuI2O49Qo20cSDY4IcNOw6WFawNIHhCzVUgXvvw3UZMLDMAXxgkiiSu7u26QaScBVVdJummZNlmFc5pELS8HVd1v12TGAgjIcWuOp2/iJXbbdWkMAT0hXdTUcz8Oxzv3TD51aF0AoTdNR//2Q==";
|
|
1226
1269
|
const _hoisted_1$b = { class: "m-0" };
|
|
1227
|
-
const _hoisted_2$
|
|
1270
|
+
const _hoisted_2$6 = {
|
|
1228
1271
|
class: "pr-2",
|
|
1229
1272
|
size: 16
|
|
1230
1273
|
};
|
|
1231
|
-
const _hoisted_3$
|
|
1232
|
-
const _hoisted_4$
|
|
1233
|
-
const _hoisted_5 = { class: "pl-2 text-13" };
|
|
1234
|
-
const _sfc_main$
|
|
1274
|
+
const _hoisted_3$3 = { class: "dt_header_icon h-12 text-lg text-gray-800 cursor-pointer px-3 hover:bg-gray-500 hover:bg-opacity-50 transition-all duration-300 flex items-center" };
|
|
1275
|
+
const _hoisted_4$2 = ["src"];
|
|
1276
|
+
const _hoisted_5$1 = { class: "pl-2 text-13" };
|
|
1277
|
+
const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
1235
1278
|
__name: "user-info",
|
|
1236
1279
|
setup(__props) {
|
|
1237
1280
|
const { t } = useI18n("UI");
|
|
@@ -1257,31 +1300,31 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent$1({
|
|
|
1257
1300
|
}, {
|
|
1258
1301
|
content: withCtx(() => [
|
|
1259
1302
|
createElementVNode("div", _hoisted_1$b, [
|
|
1260
|
-
unref
|
|
1303
|
+
unref(slots).userInfo ? (openBlock(), createBlock(unref(DtSlotContainer), {
|
|
1261
1304
|
key: 0,
|
|
1262
|
-
template: unref
|
|
1305
|
+
template: unref(slots).userInfo
|
|
1263
1306
|
}, null, 8, ["template"])) : createCommentVNode("", true),
|
|
1264
|
-
unref
|
|
1307
|
+
unref(getShowLoginOut) ? (openBlock(), createElementBlock("div", {
|
|
1265
1308
|
key: 1,
|
|
1266
1309
|
onClick: _cache[0] || (_cache[0] = ($event) => signOut()),
|
|
1267
1310
|
class: "px-4 my-1 leading-9 flex border-gray-200 cursor-pointer hover:bg-gray-100 transition-all duration-300 text-13"
|
|
1268
1311
|
}, [
|
|
1269
|
-
withDirectives(createElementVNode("span", _hoisted_2$
|
|
1312
|
+
withDirectives(createElementVNode("span", _hoisted_2$6, null, 512), [
|
|
1270
1313
|
[_directive_icon, "ant-design:logout-outlined"]
|
|
1271
1314
|
]),
|
|
1272
|
-
createElementVNode("span", null, toDisplayString(unref
|
|
1315
|
+
createElementVNode("span", null, toDisplayString(unref(t)("LOGIN_OUT")), 1)
|
|
1273
1316
|
])) : createCommentVNode("", true)
|
|
1274
1317
|
])
|
|
1275
1318
|
]),
|
|
1276
1319
|
default: withCtx(() => [
|
|
1277
|
-
createElementVNode("div", _hoisted_3$
|
|
1320
|
+
createElementVNode("div", _hoisted_3$3, [
|
|
1278
1321
|
createVNode(_component_AAvatar, { size: 28 }, {
|
|
1279
1322
|
icon: withCtx(() => [
|
|
1280
|
-
_hoisted_4$
|
|
1323
|
+
createElementVNode("img", { src: "/node_modules/@dt-frames/ui/es/assets/imgs/header/avatar.png" }, null, 8, _hoisted_4$2)
|
|
1281
1324
|
]),
|
|
1282
1325
|
_: 1
|
|
1283
1326
|
}),
|
|
1284
|
-
createElementVNode("span", _hoisted_5, toDisplayString(unref
|
|
1327
|
+
createElementVNode("span", _hoisted_5$1, toDisplayString(unref(getUserInfo)?.userNo), 1)
|
|
1285
1328
|
])
|
|
1286
1329
|
]),
|
|
1287
1330
|
_: 1
|
|
@@ -1289,8 +1332,6 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent$1({
|
|
|
1289
1332
|
};
|
|
1290
1333
|
}
|
|
1291
1334
|
});
|
|
1292
|
-
const index$5 = "";
|
|
1293
|
-
const index$4 = "";
|
|
1294
1335
|
var HandlerEnum = /* @__PURE__ */ ((HandlerEnum2) => {
|
|
1295
1336
|
HandlerEnum2[HandlerEnum2["CHANGE_LAYOUT"] = 0] = "CHANGE_LAYOUT";
|
|
1296
1337
|
HandlerEnum2[HandlerEnum2["SHOW_BREADCRUMB"] = 1] = "SHOW_BREADCRUMB";
|
|
@@ -1389,12 +1430,12 @@ function changeTheme(event, value = {}) {
|
|
|
1389
1430
|
useThemeStore().setThemeConf(conf);
|
|
1390
1431
|
}
|
|
1391
1432
|
const _hoisted_1$a = { class: "flex flex-row justify-center dt-menu-type" };
|
|
1392
|
-
const _hoisted_2$
|
|
1393
|
-
const _hoisted_3$
|
|
1394
|
-
const _hoisted_4 = [
|
|
1395
|
-
_hoisted_3$
|
|
1433
|
+
const _hoisted_2$5 = ["onClick"];
|
|
1434
|
+
const _hoisted_3$2 = /* @__PURE__ */ createElementVNode("div", { class: "dt-menu-type__item" }, null, -1);
|
|
1435
|
+
const _hoisted_4$1 = [
|
|
1436
|
+
_hoisted_3$2
|
|
1396
1437
|
];
|
|
1397
|
-
const _sfc_main$
|
|
1438
|
+
const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
1398
1439
|
__name: "menu-type",
|
|
1399
1440
|
setup(__props) {
|
|
1400
1441
|
const { getMenuType, getMenuMode } = useMenu();
|
|
@@ -1422,6 +1463,14 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent$1({
|
|
|
1422
1463
|
mode: MenuMode.HORIZONTAL,
|
|
1423
1464
|
type: MenuType.TOP_MENU,
|
|
1424
1465
|
split: false
|
|
1466
|
+
},
|
|
1467
|
+
{
|
|
1468
|
+
title: "\u5DE6\u4FA7\u83DC\u5355\u6DF7\u5408\u6A21\u5F0F",
|
|
1469
|
+
headTheme: Theme.LIGHT,
|
|
1470
|
+
menuTheme: Theme.DARK,
|
|
1471
|
+
mode: MenuMode.INLINE,
|
|
1472
|
+
type: MenuType.MIX_SIDEBAR,
|
|
1473
|
+
split: false
|
|
1425
1474
|
}
|
|
1426
1475
|
];
|
|
1427
1476
|
function changeMenuType(item) {
|
|
@@ -1444,10 +1493,10 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent$1({
|
|
|
1444
1493
|
shadow-gray-200`,
|
|
1445
1494
|
`dt-menu-type__item--${item.type}`,
|
|
1446
1495
|
{
|
|
1447
|
-
[`dt-menu-type__item--active`]: unref
|
|
1496
|
+
[`dt-menu-type__item--active`]: unref(getMenuType) === item.type && unref(getMenuMode) === item.mode
|
|
1448
1497
|
}
|
|
1449
1498
|
])
|
|
1450
|
-
}, _hoisted_4, 10, _hoisted_2$
|
|
1499
|
+
}, _hoisted_4$1, 10, _hoisted_2$5)
|
|
1451
1500
|
]),
|
|
1452
1501
|
_: 2
|
|
1453
1502
|
}, 1032, ["title"]);
|
|
@@ -1456,10 +1505,8 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent$1({
|
|
|
1456
1505
|
};
|
|
1457
1506
|
}
|
|
1458
1507
|
});
|
|
1459
|
-
const index$3 = "";
|
|
1460
|
-
const index$2 = "";
|
|
1461
1508
|
const _hoisted_1$9 = { class: "flex justify-between mb-5" };
|
|
1462
|
-
const _sfc_main$
|
|
1509
|
+
const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
1463
1510
|
__name: "select",
|
|
1464
1511
|
props: {
|
|
1465
1512
|
event: { type: Number },
|
|
@@ -1484,7 +1531,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent$1({
|
|
|
1484
1531
|
const _component_ASelect = Select;
|
|
1485
1532
|
return openBlock(), createElementBlock("div", _hoisted_1$9, [
|
|
1486
1533
|
createElementVNode("span", null, toDisplayString(__props.title), 1),
|
|
1487
|
-
createVNode(_component_ASelect, mergeProps(unref
|
|
1534
|
+
createVNode(_component_ASelect, mergeProps(unref(getBindValue), {
|
|
1488
1535
|
disabled: __props.disabled,
|
|
1489
1536
|
size: "small",
|
|
1490
1537
|
class: "w-32",
|
|
@@ -1495,9 +1542,8 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent$1({
|
|
|
1495
1542
|
};
|
|
1496
1543
|
}
|
|
1497
1544
|
});
|
|
1498
|
-
const index$1 = "";
|
|
1499
1545
|
const _hoisted_1$8 = { class: "flex justify-between mb-5" };
|
|
1500
|
-
const _sfc_main$
|
|
1546
|
+
const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
1501
1547
|
__name: "switch",
|
|
1502
1548
|
props: {
|
|
1503
1549
|
event: {
|
|
@@ -1522,17 +1568,17 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent$1({
|
|
|
1522
1568
|
const _component_ASwitch = Switch;
|
|
1523
1569
|
return openBlock(), createElementBlock("div", _hoisted_1$8, [
|
|
1524
1570
|
createElementVNode("span", null, toDisplayString(__props.title), 1),
|
|
1525
|
-
createVNode(_component_ASwitch, mergeProps(unref
|
|
1571
|
+
createVNode(_component_ASwitch, mergeProps(unref(getBindValue), {
|
|
1526
1572
|
disabled: __props.disabled,
|
|
1527
|
-
checkedChildren: unref
|
|
1528
|
-
unCheckedChildren: unref
|
|
1573
|
+
checkedChildren: unref(t)("ON"),
|
|
1574
|
+
unCheckedChildren: unref(t)("OFF"),
|
|
1529
1575
|
onChange: handleChange
|
|
1530
1576
|
}), null, 16, ["disabled", "checkedChildren", "unCheckedChildren"])
|
|
1531
1577
|
]);
|
|
1532
1578
|
};
|
|
1533
1579
|
}
|
|
1534
1580
|
});
|
|
1535
|
-
const _sfc_main$
|
|
1581
|
+
const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
1536
1582
|
__name: "feature",
|
|
1537
1583
|
setup(__props) {
|
|
1538
1584
|
const { t } = useI18n("UI");
|
|
@@ -1608,19 +1654,19 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent$1({
|
|
|
1608
1654
|
return (_ctx, _cache) => {
|
|
1609
1655
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
1610
1656
|
(openBlock(), createElementBlock(Fragment, null, renderList(switchItems, (item) => {
|
|
1611
|
-
return createVNode(_sfc_main$
|
|
1657
|
+
return createVNode(_sfc_main$j, {
|
|
1612
1658
|
key: item.title,
|
|
1613
1659
|
title: item.title,
|
|
1614
1660
|
event: item.event,
|
|
1615
|
-
def: unref
|
|
1661
|
+
def: unref(item.def)
|
|
1616
1662
|
}, null, 8, ["title", "event", "def"]);
|
|
1617
1663
|
}), 64)),
|
|
1618
1664
|
(openBlock(), createElementBlock(Fragment, null, renderList(selectItems, (item) => {
|
|
1619
|
-
return createVNode(_sfc_main$
|
|
1665
|
+
return createVNode(_sfc_main$k, {
|
|
1620
1666
|
key: item.title,
|
|
1621
1667
|
title: item.title,
|
|
1622
1668
|
event: item.event,
|
|
1623
|
-
def: unref
|
|
1669
|
+
def: unref(item.def),
|
|
1624
1670
|
options: item.options
|
|
1625
1671
|
}, null, 8, ["title", "event", "def", "options"]);
|
|
1626
1672
|
}), 64))
|
|
@@ -1629,8 +1675,8 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent$1({
|
|
|
1629
1675
|
}
|
|
1630
1676
|
});
|
|
1631
1677
|
const _hoisted_1$7 = { class: "mt-5" };
|
|
1632
|
-
const _hoisted_2$
|
|
1633
|
-
const _sfc_main$
|
|
1678
|
+
const _hoisted_2$4 = { class: "dt-setting-theme__tips p-3 text-12 bg-gray-100 rounded" };
|
|
1679
|
+
const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
1634
1680
|
__name: "setting-theme",
|
|
1635
1681
|
setup(__props) {
|
|
1636
1682
|
const { t } = useI18n("UI");
|
|
@@ -1725,27 +1771,27 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent$1({
|
|
|
1725
1771
|
])
|
|
1726
1772
|
]),
|
|
1727
1773
|
createVNode(_component_ADrawer, {
|
|
1728
|
-
visible:
|
|
1729
|
-
"onUpdate:visible": _cache[1] || (_cache[1] = ($event) =>
|
|
1730
|
-
title: unref
|
|
1774
|
+
visible: visible.value,
|
|
1775
|
+
"onUpdate:visible": _cache[1] || (_cache[1] = ($event) => visible.value = $event),
|
|
1776
|
+
title: unref(t)("PROJECT_SETTING"),
|
|
1731
1777
|
placement: "right",
|
|
1732
1778
|
width: "320"
|
|
1733
1779
|
}, {
|
|
1734
1780
|
default: withCtx(() => [
|
|
1735
1781
|
createVNode(_component_ADivider, null, {
|
|
1736
1782
|
default: withCtx(() => [
|
|
1737
|
-
createTextVNode(toDisplayString(unref
|
|
1783
|
+
createTextVNode(toDisplayString(unref(t)("NAV_MODE")), 1)
|
|
1738
1784
|
]),
|
|
1739
1785
|
_: 1
|
|
1740
1786
|
}),
|
|
1741
|
-
createVNode(unref
|
|
1787
|
+
createVNode(unref(_sfc_main$l)),
|
|
1742
1788
|
createVNode(_component_ADivider, null, {
|
|
1743
1789
|
default: withCtx(() => [
|
|
1744
|
-
createTextVNode(toDisplayString(unref
|
|
1790
|
+
createTextVNode(toDisplayString(unref(t)("PAGE_SHOW")), 1)
|
|
1745
1791
|
]),
|
|
1746
1792
|
_: 1
|
|
1747
1793
|
}),
|
|
1748
|
-
createVNode(unref
|
|
1794
|
+
createVNode(unref(_sfc_main$i)),
|
|
1749
1795
|
createVNode(_component_ADivider),
|
|
1750
1796
|
createElementVNode("div", _hoisted_1$7, [
|
|
1751
1797
|
createVNode(_component_AButton, {
|
|
@@ -1755,7 +1801,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent$1({
|
|
|
1755
1801
|
block: ""
|
|
1756
1802
|
}, {
|
|
1757
1803
|
default: withCtx(() => [
|
|
1758
|
-
createTextVNode(toDisplayString(unref
|
|
1804
|
+
createTextVNode(toDisplayString(unref(t)("COPY")), 1)
|
|
1759
1805
|
]),
|
|
1760
1806
|
_: 1
|
|
1761
1807
|
}),
|
|
@@ -1765,12 +1811,12 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent$1({
|
|
|
1765
1811
|
block: ""
|
|
1766
1812
|
}, {
|
|
1767
1813
|
default: withCtx(() => [
|
|
1768
|
-
createTextVNode(toDisplayString(unref
|
|
1814
|
+
createTextVNode(toDisplayString(unref(t)("RESET")), 1)
|
|
1769
1815
|
]),
|
|
1770
1816
|
_: 1
|
|
1771
1817
|
})
|
|
1772
1818
|
]),
|
|
1773
|
-
createElementVNode("div", _hoisted_2$
|
|
1819
|
+
createElementVNode("div", _hoisted_2$4, toDisplayString(unref(t)("DRAWER_TIPS")), 1)
|
|
1774
1820
|
]),
|
|
1775
1821
|
_: 1
|
|
1776
1822
|
}, 8, ["visible", "title"])
|
|
@@ -1779,27 +1825,27 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent$1({
|
|
|
1779
1825
|
}
|
|
1780
1826
|
});
|
|
1781
1827
|
function useSplitMenu(splitType) {
|
|
1782
|
-
const menusRef = ref
|
|
1783
|
-
const { currentRoute } = useRouter
|
|
1828
|
+
const menusRef = ref([]);
|
|
1829
|
+
const { currentRoute } = useRouter();
|
|
1784
1830
|
const { menusMap } = getMenusMap();
|
|
1785
1831
|
const { getIsHorizontal, getSplit } = useMenu();
|
|
1786
1832
|
const throttleHandleSplitLeftMenu = useThrottleFn(handleSplitLeftMenu, 50);
|
|
1787
|
-
const splitNotLeft = computed
|
|
1788
|
-
() => unref
|
|
1833
|
+
const splitNotLeft = computed(
|
|
1834
|
+
() => unref(splitType) !== MenuSplitTye.LEFT && !unref(getIsHorizontal)
|
|
1789
1835
|
);
|
|
1790
|
-
const getSplitLeft = computed
|
|
1791
|
-
() => !unref
|
|
1836
|
+
const getSplitLeft = computed(
|
|
1837
|
+
() => !unref(getSplit) || unref(splitType) !== MenuSplitTye.LEFT
|
|
1792
1838
|
);
|
|
1793
|
-
const getSplitTop = computed
|
|
1794
|
-
() => unref
|
|
1839
|
+
const getSplitTop = computed(
|
|
1840
|
+
() => unref(splitType) === MenuSplitTye.TOP
|
|
1795
1841
|
);
|
|
1796
|
-
const normalType = computed
|
|
1797
|
-
() => !unref
|
|
1842
|
+
const normalType = computed(
|
|
1843
|
+
() => !unref(getSplit) || unref(splitType) === MenuSplitTye.NONE
|
|
1798
1844
|
);
|
|
1799
|
-
watch
|
|
1800
|
-
[() => unref
|
|
1845
|
+
watch(
|
|
1846
|
+
[() => unref(currentRoute)?.path, () => unref(splitType)],
|
|
1801
1847
|
([path]) => {
|
|
1802
|
-
if (unref
|
|
1848
|
+
if (unref(splitNotLeft))
|
|
1803
1849
|
return;
|
|
1804
1850
|
throttleHandleSplitLeftMenu(path);
|
|
1805
1851
|
},
|
|
@@ -1807,25 +1853,25 @@ function useSplitMenu(splitType) {
|
|
|
1807
1853
|
immediate: true
|
|
1808
1854
|
}
|
|
1809
1855
|
);
|
|
1810
|
-
watch
|
|
1856
|
+
watch(
|
|
1811
1857
|
() => getSplit.value,
|
|
1812
1858
|
() => {
|
|
1813
|
-
if (unref
|
|
1859
|
+
if (unref(splitNotLeft))
|
|
1814
1860
|
return;
|
|
1815
1861
|
getMenus2();
|
|
1816
1862
|
}
|
|
1817
1863
|
);
|
|
1818
1864
|
function handleSplitLeftMenu(path) {
|
|
1819
|
-
if (unref
|
|
1865
|
+
if (unref(getSplitLeft))
|
|
1820
1866
|
return;
|
|
1821
1867
|
menusRef.value = menusMap.filter((it) => it.includesPath.includes(path))[0]?.children;
|
|
1822
1868
|
}
|
|
1823
1869
|
async function getMenus2() {
|
|
1824
|
-
if (unref
|
|
1870
|
+
if (unref(normalType)) {
|
|
1825
1871
|
menusRef.value = DtCache.getLocal(CacheKey.MENUS)?.children;
|
|
1826
1872
|
return;
|
|
1827
1873
|
}
|
|
1828
|
-
if (unref
|
|
1874
|
+
if (unref(getSplitTop)) {
|
|
1829
1875
|
menusRef.value = await getShallowMenus();
|
|
1830
1876
|
}
|
|
1831
1877
|
}
|
|
@@ -1945,24 +1991,24 @@ const contentProps = {
|
|
|
1945
1991
|
},
|
|
1946
1992
|
isSplitMenu: Boolean
|
|
1947
1993
|
});
|
|
1948
|
-
const _sfc_main$
|
|
1994
|
+
const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
1949
1995
|
__name: "menu-item-content",
|
|
1950
1996
|
props: contentProps,
|
|
1951
1997
|
setup(__props) {
|
|
1952
1998
|
const { getIsZH, getUiSize } = useHeader();
|
|
1953
1999
|
return (_ctx, _cache) => {
|
|
1954
2000
|
return openBlock(), createElementBlock("span", {
|
|
1955
|
-
class: normalizeClass(["dt-basic-menu-item-content-flex items-center dt-menu-item h-full", unref
|
|
2001
|
+
class: normalizeClass(["dt-basic-menu-item-content-flex items-center dt-menu-item h-full", unref(getUiSize)])
|
|
1956
2002
|
}, [
|
|
1957
2003
|
createElementVNode("i", {
|
|
1958
2004
|
class: normalizeClass(["menu-icon i", _ctx.item.icon])
|
|
1959
2005
|
}, null, 2),
|
|
1960
|
-
createElementVNode("span", null, toDisplayString(unref
|
|
2006
|
+
createElementVNode("span", null, toDisplayString(unref(getIsZH) ? _ctx.item.label : _ctx.item.enLabel), 1)
|
|
1961
2007
|
], 2);
|
|
1962
2008
|
};
|
|
1963
2009
|
}
|
|
1964
2010
|
});
|
|
1965
|
-
const _sfc_main$
|
|
2011
|
+
const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
1966
2012
|
__name: "basic-menu-item",
|
|
1967
2013
|
props: ItemProp,
|
|
1968
2014
|
setup(__props) {
|
|
@@ -1973,14 +2019,14 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent$1({
|
|
|
1973
2019
|
key: _ctx.item.url
|
|
1974
2020
|
}, {
|
|
1975
2021
|
default: withCtx(() => [
|
|
1976
|
-
createVNode(_sfc_main$
|
|
2022
|
+
createVNode(_sfc_main$g, normalizeProps(guardReactiveProps(props)), null, 16)
|
|
1977
2023
|
]),
|
|
1978
2024
|
_: 1
|
|
1979
2025
|
});
|
|
1980
2026
|
};
|
|
1981
2027
|
}
|
|
1982
2028
|
});
|
|
1983
|
-
const _sfc_main$
|
|
2029
|
+
const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
1984
2030
|
__name: "basic-sub-menu-item",
|
|
1985
2031
|
props: ItemProp,
|
|
1986
2032
|
setup(__props) {
|
|
@@ -1997,17 +2043,17 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent$1({
|
|
|
1997
2043
|
const _component_BasicSubMenuItem = resolveComponent("BasicSubMenuItem", true);
|
|
1998
2044
|
const _component_ASubMenu = SubMenu;
|
|
1999
2045
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
2000
|
-
!menuHasChildren(unref
|
|
2001
|
-
menuHasChildren(unref
|
|
2002
|
-
class: normalizeClass([unref
|
|
2003
|
-
key: unref
|
|
2046
|
+
!menuHasChildren(unref(item)) && unref(getShowMenu) ? (openBlock(), createBlock(_sfc_main$f, normalizeProps(mergeProps({ key: 0 }, props)), null, 16)) : createCommentVNode("", true),
|
|
2047
|
+
menuHasChildren(unref(item)) && unref(getShowMenu) ? (openBlock(), createBlock(_component_ASubMenu, {
|
|
2048
|
+
class: normalizeClass([unref(theme)]),
|
|
2049
|
+
key: unref(item).id,
|
|
2004
2050
|
popupClassName: "app-top-menu-popup"
|
|
2005
2051
|
}, {
|
|
2006
2052
|
title: withCtx(() => [
|
|
2007
|
-
createVNode(_sfc_main$
|
|
2053
|
+
createVNode(_sfc_main$g, mergeProps(props, { item: unref(item) }), null, 16, ["item"])
|
|
2008
2054
|
]),
|
|
2009
2055
|
default: withCtx(() => [
|
|
2010
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(unref
|
|
2056
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(item).children, (childrenItem) => {
|
|
2011
2057
|
return openBlock(), createBlock(_component_BasicSubMenuItem, mergeProps({
|
|
2012
2058
|
key: childrenItem.id
|
|
2013
2059
|
}, props, { item: childrenItem }), null, 16, ["item"]);
|
|
@@ -2019,7 +2065,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent$1({
|
|
|
2019
2065
|
};
|
|
2020
2066
|
}
|
|
2021
2067
|
});
|
|
2022
|
-
const _sfc_main$
|
|
2068
|
+
const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
2023
2069
|
__name: "basic-menu",
|
|
2024
2070
|
props: BasicMenu,
|
|
2025
2071
|
emits: ["menuClick"],
|
|
@@ -2035,7 +2081,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent$1({
|
|
|
2035
2081
|
beforeClickFn
|
|
2036
2082
|
} = __props;
|
|
2037
2083
|
const { getSplit } = useMenu();
|
|
2038
|
-
const { currentRoute } = useRouter
|
|
2084
|
+
const { currentRoute } = useRouter();
|
|
2039
2085
|
const menuState = reactive({
|
|
2040
2086
|
defaultSelectedKeys: [],
|
|
2041
2087
|
openKeys: [],
|
|
@@ -2047,7 +2093,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent$1({
|
|
|
2047
2093
|
items,
|
|
2048
2094
|
type
|
|
2049
2095
|
);
|
|
2050
|
-
watch
|
|
2096
|
+
watch(
|
|
2051
2097
|
() => currentRoute.value.path,
|
|
2052
2098
|
(val) => {
|
|
2053
2099
|
if (val === "/")
|
|
@@ -2060,7 +2106,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent$1({
|
|
|
2060
2106
|
);
|
|
2061
2107
|
async function handleMenuChange(path) {
|
|
2062
2108
|
setOpenKeys(path);
|
|
2063
|
-
if (isHorizontal && unref
|
|
2109
|
+
if (isHorizontal && unref(getSplit)) {
|
|
2064
2110
|
const parentPath = getBreadCrumb(path, items);
|
|
2065
2111
|
menuState.selectedKeys = [parentPath?.[0]?.url];
|
|
2066
2112
|
} else {
|
|
@@ -2072,10 +2118,10 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent$1({
|
|
|
2072
2118
|
}
|
|
2073
2119
|
}
|
|
2074
2120
|
const { getCollapsed } = useMenu();
|
|
2075
|
-
const getInlineCollapsed = computed
|
|
2076
|
-
const isInline = unref
|
|
2121
|
+
const getInlineCollapsed = computed(() => {
|
|
2122
|
+
const isInline = unref(mode) === MenuMode.INLINE;
|
|
2077
2123
|
if (isInline) {
|
|
2078
|
-
return mixSider ? false : unref
|
|
2124
|
+
return mixSider ? false : unref(getCollapsed);
|
|
2079
2125
|
}
|
|
2080
2126
|
return false;
|
|
2081
2127
|
});
|
|
@@ -2100,13 +2146,13 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent$1({
|
|
|
2100
2146
|
mode: _ctx.mode,
|
|
2101
2147
|
collapsible: "",
|
|
2102
2148
|
onClick: handleMenuClick,
|
|
2103
|
-
onOpenChange: unref
|
|
2104
|
-
collapsed: unref
|
|
2105
|
-
class: normalizeClass(unref
|
|
2149
|
+
onOpenChange: unref(handleOpenChange),
|
|
2150
|
+
collapsed: unref(getInlineCollapsed),
|
|
2151
|
+
class: normalizeClass(unref(getSplit) ? "dt-split-menu" : "")
|
|
2106
2152
|
}, {
|
|
2107
2153
|
default: withCtx(() => [
|
|
2108
2154
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.items, (item) => {
|
|
2109
|
-
return openBlock(), createBlock(_sfc_main$
|
|
2155
|
+
return openBlock(), createBlock(_sfc_main$e, {
|
|
2110
2156
|
key: item.id,
|
|
2111
2157
|
item,
|
|
2112
2158
|
theme: _ctx.theme,
|
|
@@ -2119,7 +2165,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent$1({
|
|
|
2119
2165
|
};
|
|
2120
2166
|
}
|
|
2121
2167
|
});
|
|
2122
|
-
const _sfc_main$
|
|
2168
|
+
const _sfc_main$c = defineComponent({
|
|
2123
2169
|
name: "LayoutMenu",
|
|
2124
2170
|
props: {
|
|
2125
2171
|
theme: String,
|
|
@@ -2148,22 +2194,22 @@ const _sfc_main$b = defineComponent$1({
|
|
|
2148
2194
|
menusRef
|
|
2149
2195
|
} = useSplitMenu(toRef(props, "splitType"));
|
|
2150
2196
|
const slots = getParentSlots(null, "dt-theme");
|
|
2151
|
-
const getComputedTheme = computed
|
|
2152
|
-
const getComputedMenuMode = computed
|
|
2153
|
-
const getIsShowLogo = computed
|
|
2154
|
-
const getUseScroll = computed
|
|
2155
|
-
return !unref
|
|
2197
|
+
const getComputedTheme = computed(() => props.theme || unref(getMenuTheme));
|
|
2198
|
+
const getComputedMenuMode = computed(() => props.menuMode || unref(getMenuMode));
|
|
2199
|
+
const getIsShowLogo = computed(() => unref(getShowLogo) && unref(getIsSidebarType));
|
|
2200
|
+
const getUseScroll = computed(() => {
|
|
2201
|
+
return !unref(getIsHorizontal) && (unref(getIsSidebarType) || props.splitType === MenuSplitTye.LEFT || props.splitType === MenuSplitTye.NONE);
|
|
2156
2202
|
});
|
|
2157
|
-
const getLogoClass = computed
|
|
2158
|
-
const getMenuProps = computed
|
|
2159
|
-
const menus = unref
|
|
2203
|
+
const getLogoClass = computed(() => [`dt-menu-logo`, unref(getComputedTheme)]);
|
|
2204
|
+
const getMenuProps = computed(() => {
|
|
2205
|
+
const menus = unref(menusRef);
|
|
2160
2206
|
return {
|
|
2161
2207
|
menus,
|
|
2162
2208
|
beforeClickFn: beforeMenuClickFn,
|
|
2163
2209
|
items: menus,
|
|
2164
|
-
theme: unref
|
|
2165
|
-
collapse: unref
|
|
2166
|
-
collapsedShowTitle: unref
|
|
2210
|
+
theme: unref(getComputedTheme),
|
|
2211
|
+
collapse: unref(getCollapsed),
|
|
2212
|
+
collapsedShowTitle: unref(getCollapsedShowTitle),
|
|
2167
2213
|
onMenuClick: handleMenuClick
|
|
2168
2214
|
};
|
|
2169
2215
|
});
|
|
@@ -2183,26 +2229,26 @@ const _sfc_main$b = defineComponent$1({
|
|
|
2183
2229
|
return createVNode(DtSlotContainer, {
|
|
2184
2230
|
"template": slots.logo,
|
|
2185
2231
|
"data": {
|
|
2186
|
-
theme: unref
|
|
2187
|
-
collapsed: unref
|
|
2232
|
+
theme: unref(getComputedTheme),
|
|
2233
|
+
collapsed: unref(getCollapsed)
|
|
2188
2234
|
}
|
|
2189
2235
|
}, null);
|
|
2190
2236
|
}
|
|
2191
|
-
if (!unref
|
|
2237
|
+
if (!unref(getIsShowLogo))
|
|
2192
2238
|
return null;
|
|
2193
|
-
return createVNode(_sfc_main$
|
|
2194
|
-
"showTitle": !unref
|
|
2195
|
-
"class": unref
|
|
2196
|
-
"theme": unref
|
|
2239
|
+
return createVNode(_sfc_main$w, {
|
|
2240
|
+
"showTitle": !unref(getCollapsed),
|
|
2241
|
+
"class": unref(getLogoClass),
|
|
2242
|
+
"theme": unref(getComputedTheme)
|
|
2197
2243
|
}, null);
|
|
2198
2244
|
}
|
|
2199
2245
|
function renderFooter() {
|
|
2200
|
-
if (unref
|
|
2246
|
+
if (unref(getMenuType) === MenuType.SIDE || unref(getMenuType) === MenuType.MIX && props.splitType === 2) {
|
|
2201
2247
|
return slots.menuFooter ? createVNode(DtSlotContainer, {
|
|
2202
2248
|
"template": slots.menuFooter,
|
|
2203
2249
|
"data": {
|
|
2204
|
-
theme: unref
|
|
2205
|
-
collapsed: unref
|
|
2250
|
+
theme: unref(getComputedTheme),
|
|
2251
|
+
collapsed: unref(getCollapsed)
|
|
2206
2252
|
}
|
|
2207
2253
|
}, null) : null;
|
|
2208
2254
|
}
|
|
@@ -2212,30 +2258,30 @@ const _sfc_main$b = defineComponent$1({
|
|
|
2212
2258
|
const {
|
|
2213
2259
|
menus,
|
|
2214
2260
|
...menuProps
|
|
2215
|
-
} = unref
|
|
2261
|
+
} = unref(getMenuProps);
|
|
2216
2262
|
if (!menus || !menus.length)
|
|
2217
2263
|
return null;
|
|
2218
|
-
return createVNode(_sfc_main$
|
|
2264
|
+
return createVNode(_sfc_main$d, mergeProps(menuProps, {
|
|
2219
2265
|
"isHorizontal": props.isHorizontal,
|
|
2220
|
-
"type": unref
|
|
2221
|
-
"showLogo": unref
|
|
2222
|
-
"mode": unref
|
|
2266
|
+
"type": unref(getMenuType),
|
|
2267
|
+
"showLogo": unref(getIsShowLogo),
|
|
2268
|
+
"mode": unref(getComputedMenuMode),
|
|
2223
2269
|
"items": menus
|
|
2224
2270
|
}), null);
|
|
2225
2271
|
}
|
|
2226
2272
|
return () => {
|
|
2227
|
-
return createVNode(Fragment, null, [renderHeader(), unref
|
|
2273
|
+
return createVNode(Fragment, null, [renderHeader(), unref(getUseScroll) ? createVNode(DtScrollContainer, null, {
|
|
2228
2274
|
default: () => renderMenu()
|
|
2229
2275
|
}) : renderMenu(), renderFooter()]);
|
|
2230
2276
|
};
|
|
2231
2277
|
}
|
|
2232
2278
|
});
|
|
2233
2279
|
const _hoisted_1$6 = { class: "dt-header-left flex h-full items-center" };
|
|
2234
|
-
const _hoisted_2$
|
|
2280
|
+
const _hoisted_2$3 = {
|
|
2235
2281
|
key: 0,
|
|
2236
2282
|
class: "flex-1 h-full min-w-0 items-center"
|
|
2237
2283
|
};
|
|
2238
|
-
const _sfc_main$
|
|
2284
|
+
const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
2239
2285
|
__name: "index",
|
|
2240
2286
|
props: {
|
|
2241
2287
|
fixed: Boolean
|
|
@@ -2256,14 +2302,14 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent$1({
|
|
|
2256
2302
|
getShowSearch,
|
|
2257
2303
|
getShowUiSize
|
|
2258
2304
|
} = useHeader();
|
|
2259
|
-
const getSplitType = computed
|
|
2260
|
-
return unref
|
|
2305
|
+
const getSplitType = computed(() => {
|
|
2306
|
+
return unref(getSplit) ? MenuSplitTye.TOP : MenuSplitTye.NONE;
|
|
2261
2307
|
});
|
|
2262
|
-
const getMenuMode = computed
|
|
2263
|
-
return unref
|
|
2308
|
+
const getMenuMode = computed(() => {
|
|
2309
|
+
return unref(getSplit) ? MenuMode.HORIZONTAL : null;
|
|
2264
2310
|
});
|
|
2265
|
-
const getHeaderCls = computed
|
|
2266
|
-
let theme = unref
|
|
2311
|
+
const getHeaderCls = computed(() => {
|
|
2312
|
+
let theme = unref(getHeaderTheme);
|
|
2267
2313
|
let cls = "dt-header flex p-0 items-center justify-between ";
|
|
2268
2314
|
if (props.fixed) {
|
|
2269
2315
|
cls += "fixed top-0 left-0 w-full z-10 ";
|
|
@@ -2274,45 +2320,45 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent$1({
|
|
|
2274
2320
|
return (_ctx, _cache) => {
|
|
2275
2321
|
const _component_ALayoutHeader = LayoutHeader;
|
|
2276
2322
|
return openBlock(), createBlock(_component_ALayoutHeader, {
|
|
2277
|
-
class: normalizeClass([unref
|
|
2323
|
+
class: normalizeClass([unref(getHeaderCls), "flex items-center justify-between"])
|
|
2278
2324
|
}, {
|
|
2279
2325
|
default: withCtx(() => [
|
|
2280
2326
|
createElementVNode("div", _hoisted_1$6, [
|
|
2281
|
-
unref
|
|
2327
|
+
unref(getShowHeaderLogo) ? (openBlock(), createBlock(unref(_sfc_main$w), {
|
|
2282
2328
|
key: 0,
|
|
2283
|
-
theme: unref
|
|
2329
|
+
theme: unref(getHeaderTheme),
|
|
2284
2330
|
class: "dt-header-logo"
|
|
2285
2331
|
}, null, 8, ["theme"])) : createCommentVNode("", true),
|
|
2286
|
-
unref
|
|
2332
|
+
unref(getShowHeaderTrigger) && !unref(getSplit) ? (openBlock(), createBlock(unref(_sfc_main$v), {
|
|
2287
2333
|
key: 1,
|
|
2288
|
-
theme: unref
|
|
2334
|
+
theme: unref(getHeaderTheme)
|
|
2289
2335
|
}, null, 8, ["theme"])) : createCommentVNode("", true),
|
|
2290
|
-
unref
|
|
2336
|
+
unref(getShowBread) ? (openBlock(), createBlock(unref(_sfc_main$u), { key: 2 })) : createCommentVNode("", true)
|
|
2291
2337
|
]),
|
|
2292
|
-
unref
|
|
2293
|
-
createVNode(_sfc_main$
|
|
2338
|
+
unref(getShowTopMenu) ? (openBlock(), createElementBlock("div", _hoisted_2$3, [
|
|
2339
|
+
createVNode(_sfc_main$c, {
|
|
2294
2340
|
isHorizontal: true,
|
|
2295
|
-
theme: unref
|
|
2296
|
-
splitType: unref
|
|
2297
|
-
menuMode: unref
|
|
2341
|
+
theme: unref(getHeaderTheme),
|
|
2342
|
+
splitType: unref(getSplitType),
|
|
2343
|
+
menuMode: unref(getMenuMode)
|
|
2298
2344
|
}, null, 8, ["theme", "splitType", "menuMode"])
|
|
2299
2345
|
])) : createCommentVNode("", true),
|
|
2300
2346
|
createElementVNode("div", {
|
|
2301
2347
|
class: "dt-header-action flex items-center",
|
|
2302
2348
|
style: normalizeStyle({
|
|
2303
|
-
"padding-right": unref
|
|
2349
|
+
"padding-right": unref(getShowSettingTheme) ? "" : "20px"
|
|
2304
2350
|
})
|
|
2305
2351
|
}, [
|
|
2306
|
-
unref
|
|
2307
|
-
unref
|
|
2308
|
-
unref
|
|
2309
|
-
unref
|
|
2310
|
-
unref
|
|
2352
|
+
unref(getShowSearch) ? (openBlock(), createBlock(unref(_sfc_main$t), { key: 0 })) : createCommentVNode("", true),
|
|
2353
|
+
unref(getShowNotice) ? (openBlock(), createBlock(unref(_sfc_main$o), { key: 1 })) : createCommentVNode("", true),
|
|
2354
|
+
unref(getShowUiSize) ? (openBlock(), createBlock(unref(_sfc_main$n), { key: 2 })) : createCommentVNode("", true),
|
|
2355
|
+
unref(getShowFullScreen) ? (openBlock(), createBlock(unref(_sfc_main$x), { key: 3 })) : createCommentVNode("", true),
|
|
2356
|
+
unref(getShowLocale) ? (openBlock(), createBlock(unref(_sfc_main$s), {
|
|
2311
2357
|
key: 4,
|
|
2312
2358
|
reload: true
|
|
2313
2359
|
})) : createCommentVNode("", true),
|
|
2314
|
-
createVNode(unref
|
|
2315
|
-
unref
|
|
2360
|
+
createVNode(unref(_sfc_main$m)),
|
|
2361
|
+
unref(getShowSettingTheme) ? (openBlock(), createBlock(unref(_sfc_main$h), { key: 5 })) : createCommentVNode("", true)
|
|
2316
2362
|
], 4)
|
|
2317
2363
|
]),
|
|
2318
2364
|
_: 1
|
|
@@ -2347,7 +2393,7 @@ function useTrigger() {
|
|
|
2347
2393
|
});
|
|
2348
2394
|
return { getTriggerAttr, getShowTrigger };
|
|
2349
2395
|
}
|
|
2350
|
-
const _sfc_main$
|
|
2396
|
+
const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
2351
2397
|
__name: "sider-trigger",
|
|
2352
2398
|
props: {
|
|
2353
2399
|
type: {
|
|
@@ -2360,44 +2406,207 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent$1({
|
|
|
2360
2406
|
return (_ctx, _cache) => {
|
|
2361
2407
|
return openBlock(), createElementBlock("div", {
|
|
2362
2408
|
onClick: _cache[0] || (_cache[0] = withModifiers(
|
|
2363
|
-
(...args) => unref
|
|
2409
|
+
(...args) => unref(toggleCollapsed) && unref(toggleCollapsed)(...args),
|
|
2364
2410
|
["stop"]
|
|
2365
2411
|
))
|
|
2366
2412
|
}, [
|
|
2367
2413
|
createElementVNode("i", {
|
|
2368
|
-
class: normalizeClass(["i", unref
|
|
2414
|
+
class: normalizeClass(["i", unref(getCollapsed) ? "ant-design:double-right-outlined" : "ant-design:double-left-outlined"])
|
|
2369
2415
|
}, null, 2)
|
|
2370
2416
|
]);
|
|
2371
2417
|
};
|
|
2372
2418
|
}
|
|
2373
2419
|
});
|
|
2374
|
-
const _sfc_main$
|
|
2420
|
+
const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
2375
2421
|
__name: "drag-bar",
|
|
2376
2422
|
setup(__props) {
|
|
2377
2423
|
const { getCollapsed, getCanDrag, getMenuWidth } = useMenu();
|
|
2378
|
-
const getDragBarStyle = computed
|
|
2379
|
-
if (!unref
|
|
2380
|
-
return { left: `${unref
|
|
2424
|
+
const getDragBarStyle = computed(() => {
|
|
2425
|
+
if (!unref(getCollapsed)) {
|
|
2426
|
+
return { left: `${unref(getMenuWidth)}px` };
|
|
2381
2427
|
}
|
|
2382
2428
|
return {};
|
|
2383
2429
|
});
|
|
2384
|
-
const getClass = computed
|
|
2430
|
+
const getClass = computed(() => {
|
|
2385
2431
|
return [
|
|
2386
2432
|
"dt-darg-bar",
|
|
2387
2433
|
{
|
|
2388
|
-
"dt-darg-bar--hide": !unref
|
|
2434
|
+
"dt-darg-bar--hide": !unref(getCanDrag)
|
|
2389
2435
|
}
|
|
2390
2436
|
];
|
|
2391
2437
|
});
|
|
2392
2438
|
return (_ctx, _cache) => {
|
|
2393
2439
|
return openBlock(), createElementBlock("div", {
|
|
2394
|
-
class: normalizeClass(unref
|
|
2395
|
-
style: normalizeStyle(unref
|
|
2440
|
+
class: normalizeClass(unref(getClass)),
|
|
2441
|
+
style: normalizeStyle(unref(getDragBarStyle))
|
|
2396
2442
|
}, null, 6);
|
|
2397
2443
|
};
|
|
2398
2444
|
}
|
|
2399
2445
|
});
|
|
2400
|
-
const
|
|
2446
|
+
const _hoisted_1$5 = { class: "dt-mix-sider__shallow-menu" };
|
|
2447
|
+
const _hoisted_2$2 = { class: "m-0" };
|
|
2448
|
+
const _hoisted_3$1 = { class: "dt-mix-sider__sub-shallow-menu" };
|
|
2449
|
+
const _hoisted_4 = { key: 0 };
|
|
2450
|
+
const _hoisted_5 = { class: "opacity-60 m-0 py-3 text-lg pt-6" };
|
|
2451
|
+
const _hoisted_6 = ["onClick"];
|
|
2452
|
+
const _hoisted_7 = { class: "m-0" };
|
|
2453
|
+
const _hoisted_8 = ["onClick"];
|
|
2454
|
+
const _hoisted_9 = { class: "m-0" };
|
|
2455
|
+
const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
2456
|
+
__name: "mix-sider",
|
|
2457
|
+
setup(__props) {
|
|
2458
|
+
const MENU_WIDTH = 80;
|
|
2459
|
+
const go = useGo();
|
|
2460
|
+
const { getMenuWidth, getMenuTheme, getMixSideTrigger } = useMenu();
|
|
2461
|
+
const { setMixSiderIsHasMenu } = useThemeStore();
|
|
2462
|
+
const menuModules = getShallowMenus();
|
|
2463
|
+
const activeId = ref("");
|
|
2464
|
+
const subMenus = ref([]);
|
|
2465
|
+
const getDomStyle = computed(() => setDomWidth(`${unref(subMenus)?.length ? unref(getMenuWidth) : MENU_WIDTH}px`));
|
|
2466
|
+
const getWrapStyle = computed(() => setDomWidth(`${MENU_WIDTH}px`));
|
|
2467
|
+
const getSubMenuStyle = computed(() => {
|
|
2468
|
+
return {
|
|
2469
|
+
width: `${unref(getMenuWidth) - MENU_WIDTH}px`,
|
|
2470
|
+
left: `${MENU_WIDTH}px`
|
|
2471
|
+
};
|
|
2472
|
+
});
|
|
2473
|
+
function setDomWidth(width) {
|
|
2474
|
+
return {
|
|
2475
|
+
width,
|
|
2476
|
+
minWidth: width,
|
|
2477
|
+
maxWidth: width,
|
|
2478
|
+
flex: `0 0 ${width}`,
|
|
2479
|
+
transition: "all 0.2s"
|
|
2480
|
+
};
|
|
2481
|
+
}
|
|
2482
|
+
const getMenuEvents = {
|
|
2483
|
+
onMouseleave: () => {
|
|
2484
|
+
setActive(currentRoute.value.path);
|
|
2485
|
+
}
|
|
2486
|
+
};
|
|
2487
|
+
const getItemEvents = (item) => {
|
|
2488
|
+
if (unref(getMixSideTrigger) === "hover") {
|
|
2489
|
+
return {
|
|
2490
|
+
onMouseenter: () => handleModuleClick(item.url, true),
|
|
2491
|
+
onClick: () => handleModuleClick(item.url)
|
|
2492
|
+
};
|
|
2493
|
+
}
|
|
2494
|
+
return {
|
|
2495
|
+
onClick: () => handleModuleClick(item.url)
|
|
2496
|
+
};
|
|
2497
|
+
};
|
|
2498
|
+
const { currentRoute = null } = useRouter();
|
|
2499
|
+
function setActive(path) {
|
|
2500
|
+
const pTree = getParentTreeByPath(path);
|
|
2501
|
+
activeId.value = pTree.id;
|
|
2502
|
+
subMenus.value = pTree.children;
|
|
2503
|
+
setMixSiderIsHasMenu(Boolean(pTree.children?.length));
|
|
2504
|
+
}
|
|
2505
|
+
function handleModuleClick(path, isHover = false) {
|
|
2506
|
+
setActive(path);
|
|
2507
|
+
if (!isHover) {
|
|
2508
|
+
go(path);
|
|
2509
|
+
}
|
|
2510
|
+
}
|
|
2511
|
+
watchEffect(() => {
|
|
2512
|
+
if (!currentRoute || currentRoute.value.path === "/")
|
|
2513
|
+
return;
|
|
2514
|
+
setActive(currentRoute.value.path);
|
|
2515
|
+
});
|
|
2516
|
+
return (_ctx, _cache) => {
|
|
2517
|
+
return openBlock(), createElementBlock(Fragment, null, [
|
|
2518
|
+
createElementVNode("div", {
|
|
2519
|
+
class: "h-full overflow-hidden",
|
|
2520
|
+
style: normalizeStyle(unref(getDomStyle))
|
|
2521
|
+
}, null, 4),
|
|
2522
|
+
createElementVNode("div", mergeProps({
|
|
2523
|
+
style: unref(getWrapStyle),
|
|
2524
|
+
class: ["dt-mix-sider fixed top-0 left-0 h-full overflow-hidden", unref(getMenuTheme)]
|
|
2525
|
+
}, getMenuEvents), [
|
|
2526
|
+
createVNode(_sfc_main$w, {
|
|
2527
|
+
showTitle: false,
|
|
2528
|
+
class: normalizeClass("justify-center z-10")
|
|
2529
|
+
}),
|
|
2530
|
+
createVNode(unref(DtScrollContainer), { class: "z-10" }, {
|
|
2531
|
+
default: withCtx(() => [
|
|
2532
|
+
createElementVNode("ul", _hoisted_1$5, [
|
|
2533
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(menuModules), (item) => {
|
|
2534
|
+
return openBlock(), createElementBlock("li", mergeProps({
|
|
2535
|
+
key: item.id,
|
|
2536
|
+
class: ["py-3 cursor-pointer relative text-center", {
|
|
2537
|
+
"active-menu": item.id === activeId.value
|
|
2538
|
+
}]
|
|
2539
|
+
}, getItemEvents(item)), [
|
|
2540
|
+
createElementVNode("i", {
|
|
2541
|
+
class: normalizeClass(["i", item.icon])
|
|
2542
|
+
}, null, 2),
|
|
2543
|
+
createElementVNode("p", _hoisted_2$2, toDisplayString(item.label), 1)
|
|
2544
|
+
], 16);
|
|
2545
|
+
}), 128))
|
|
2546
|
+
])
|
|
2547
|
+
]),
|
|
2548
|
+
_: 1
|
|
2549
|
+
}),
|
|
2550
|
+
createVNode(Transition, { name: "dt-mix-sider__animate" }, {
|
|
2551
|
+
default: withCtx(() => [
|
|
2552
|
+
subMenus.value?.length ? (openBlock(), createElementBlock("div", {
|
|
2553
|
+
key: 0,
|
|
2554
|
+
class: "fixed top-0 h-full sub-menu bg-white",
|
|
2555
|
+
style: normalizeStyle(unref(getSubMenuStyle))
|
|
2556
|
+
}, [
|
|
2557
|
+
createVNode(unref(DtScrollContainer), null, {
|
|
2558
|
+
default: withCtx(() => [
|
|
2559
|
+
createElementVNode("ul", _hoisted_3$1, [
|
|
2560
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(subMenus.value, (menu) => {
|
|
2561
|
+
return openBlock(), createElementBlock("li", {
|
|
2562
|
+
key: menu.id
|
|
2563
|
+
}, [
|
|
2564
|
+
menu.children?.length ? (openBlock(), createElementBlock("div", _hoisted_4, [
|
|
2565
|
+
createElementVNode("p", _hoisted_5, toDisplayString(menu.label), 1),
|
|
2566
|
+
createElementVNode("ul", null, [
|
|
2567
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(menu.children, (subMenu) => {
|
|
2568
|
+
return openBlock(), createElementBlock("li", {
|
|
2569
|
+
key: subMenu.id,
|
|
2570
|
+
class: normalizeClass(["flex cursor-pointer", {
|
|
2571
|
+
"active-menu": subMenu.url === unref(currentRoute).fullPath
|
|
2572
|
+
}]),
|
|
2573
|
+
onClick: ($event) => unref(go)(subMenu.url)
|
|
2574
|
+
}, [
|
|
2575
|
+
createElementVNode("i", {
|
|
2576
|
+
class: normalizeClass(["i opacity-50 pr-2", subMenu.icon])
|
|
2577
|
+
}, null, 2),
|
|
2578
|
+
createElementVNode("p", _hoisted_7, toDisplayString(subMenu.label), 1)
|
|
2579
|
+
], 10, _hoisted_6);
|
|
2580
|
+
}), 128))
|
|
2581
|
+
])
|
|
2582
|
+
])) : (openBlock(), createElementBlock("div", {
|
|
2583
|
+
key: 1,
|
|
2584
|
+
class: normalizeClass(["sub-menu flex cursor-pointer", {
|
|
2585
|
+
"active-menu": menu.url === unref(currentRoute).fullPath
|
|
2586
|
+
}]),
|
|
2587
|
+
onClick: ($event) => unref(go)(menu.url)
|
|
2588
|
+
}, [
|
|
2589
|
+
createElementVNode("i", {
|
|
2590
|
+
class: normalizeClass(["i opacity-50 pr-2", menu.icon])
|
|
2591
|
+
}, null, 2),
|
|
2592
|
+
createElementVNode("p", _hoisted_9, toDisplayString(menu.label), 1)
|
|
2593
|
+
], 10, _hoisted_8))
|
|
2594
|
+
]);
|
|
2595
|
+
}), 128))
|
|
2596
|
+
])
|
|
2597
|
+
]),
|
|
2598
|
+
_: 1
|
|
2599
|
+
})
|
|
2600
|
+
], 4)) : createCommentVNode("", true)
|
|
2601
|
+
]),
|
|
2602
|
+
_: 1
|
|
2603
|
+
})
|
|
2604
|
+
], 16)
|
|
2605
|
+
], 64);
|
|
2606
|
+
};
|
|
2607
|
+
}
|
|
2608
|
+
});
|
|
2609
|
+
const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
2401
2610
|
__name: "index",
|
|
2402
2611
|
setup(__props) {
|
|
2403
2612
|
const {
|
|
@@ -2408,7 +2617,8 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent$1({
|
|
|
2408
2617
|
getCollapsed,
|
|
2409
2618
|
getMenuTheme,
|
|
2410
2619
|
getRealWidth,
|
|
2411
|
-
getIsMixMode
|
|
2620
|
+
getIsMixMode,
|
|
2621
|
+
getIsMixSidebar
|
|
2412
2622
|
} = useMenu();
|
|
2413
2623
|
const {
|
|
2414
2624
|
getCollapsedWidth,
|
|
@@ -2456,44 +2666,47 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent$1({
|
|
|
2456
2666
|
const getMode = computed(() => {
|
|
2457
2667
|
return unref(getSplit) ? MenuMode.INLINE : null;
|
|
2458
2668
|
});
|
|
2459
|
-
const renderTrigger = h(_sfc_main$
|
|
2669
|
+
const renderTrigger = h(_sfc_main$a);
|
|
2460
2670
|
return (_ctx, _cache) => {
|
|
2461
2671
|
const _component_ALayoutSider = LayoutSider;
|
|
2462
|
-
return
|
|
2672
|
+
return unref(getIsMixSidebar) ? (openBlock(), createBlock(_sfc_main$8, {
|
|
2673
|
+
key: 0
|
|
2674
|
+
})) : (openBlock(), createElementBlock(Fragment, {
|
|
2675
|
+
key: 1
|
|
2676
|
+
}, [unref(getMenuFixed) ? withDirectives((openBlock(), createElementBlock("div", {
|
|
2463
2677
|
key: 0,
|
|
2464
|
-
style: normalizeStyle(unref
|
|
2465
|
-
}, null, 4)), [[vShow, unref
|
|
2678
|
+
style: normalizeStyle(unref(hiddenDomStyle))
|
|
2679
|
+
}, null, 4)), [[vShow, unref(showClassSideBarRef)]]) : createCommentVNode("", true), withDirectives(createVNode(_component_ALayoutSider, mergeProps({
|
|
2466
2680
|
ref_key: "sideRef",
|
|
2467
2681
|
ref: sideRef,
|
|
2468
2682
|
collapsible: "",
|
|
2469
2683
|
breakpoint: "lg",
|
|
2470
|
-
class: unref
|
|
2471
|
-
width: unref
|
|
2472
|
-
collapsed: unref
|
|
2473
|
-
collapsedWidth: unref
|
|
2474
|
-
onBreakpoint: unref
|
|
2475
|
-
theme: unref
|
|
2476
|
-
trigger: unref
|
|
2477
|
-
}, unref
|
|
2478
|
-
default: withCtx(() => [createVNode(_sfc_main$
|
|
2479
|
-
theme: unref
|
|
2480
|
-
menuMode: unref
|
|
2481
|
-
splitType: unref
|
|
2482
|
-
}, null, 8, ["theme", "menuMode", "splitType"]), createVNode(_sfc_main$
|
|
2684
|
+
class: unref(getSiderClass),
|
|
2685
|
+
width: unref(getMenuWidth),
|
|
2686
|
+
collapsed: unref(getCollapsed),
|
|
2687
|
+
collapsedWidth: unref(getCollapsedWidth),
|
|
2688
|
+
onBreakpoint: unref(onBreakPointChange),
|
|
2689
|
+
theme: unref(getMenuTheme),
|
|
2690
|
+
trigger: unref(renderTrigger)
|
|
2691
|
+
}, unref(getTriggerAttr)), {
|
|
2692
|
+
default: withCtx(() => [createVNode(_sfc_main$c, {
|
|
2693
|
+
theme: unref(getMenuTheme),
|
|
2694
|
+
menuMode: unref(getMode),
|
|
2695
|
+
splitType: unref(getSplitType)
|
|
2696
|
+
}, null, 8, ["theme", "menuMode", "splitType"]), createVNode(_sfc_main$9, {
|
|
2483
2697
|
ref_key: "dragBarRef",
|
|
2484
2698
|
ref: dragBarRef
|
|
2485
2699
|
}, null, 512)]),
|
|
2486
2700
|
_: 1
|
|
2487
|
-
}, 16, ["class", "width", "collapsed", "collapsedWidth", "onBreakpoint", "theme", "trigger"]), [[vShow, unref
|
|
2701
|
+
}, 16, ["class", "width", "collapsed", "collapsedWidth", "onBreakpoint", "theme", "trigger"]), [[vShow, unref(showClassSideBarRef)]])], 64));
|
|
2488
2702
|
};
|
|
2489
2703
|
}
|
|
2490
2704
|
});
|
|
2491
|
-
const
|
|
2492
|
-
const _hoisted_1$5 = /* @__PURE__ */ createElementVNode("i", { class: "block i ic:baseline-autorenew" }, null, -1);
|
|
2705
|
+
const _hoisted_1$4 = /* @__PURE__ */ createElementVNode("i", { class: "block i ic:baseline-autorenew" }, null, -1);
|
|
2493
2706
|
const _hoisted_2$1 = [
|
|
2494
|
-
_hoisted_1$
|
|
2707
|
+
_hoisted_1$4
|
|
2495
2708
|
];
|
|
2496
|
-
const _sfc_main$6 = /* @__PURE__ */ defineComponent
|
|
2709
|
+
const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
2497
2710
|
__name: "TabRedo",
|
|
2498
2711
|
setup(__props) {
|
|
2499
2712
|
const tabStore = useRouteReuseStore();
|
|
@@ -2510,22 +2723,22 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent$1({
|
|
|
2510
2723
|
}
|
|
2511
2724
|
});
|
|
2512
2725
|
function useTabDropdown() {
|
|
2513
|
-
const router = useRouter
|
|
2726
|
+
const router = useRouter();
|
|
2514
2727
|
const { currentRoute } = router;
|
|
2515
2728
|
const tabStore = useRouteReuseStore();
|
|
2516
2729
|
const state = reactive({
|
|
2517
2730
|
current: null,
|
|
2518
2731
|
currentIndex: 0
|
|
2519
2732
|
});
|
|
2520
|
-
const getDropMenuList = computed
|
|
2733
|
+
const getDropMenuList = computed(() => {
|
|
2521
2734
|
const { t } = useI18n("UI");
|
|
2522
|
-
const { path, meta } = unref
|
|
2735
|
+
const { path, meta } = unref(currentRoute);
|
|
2523
2736
|
const curItem = state.current;
|
|
2524
2737
|
const isCurItem = curItem ? curItem.path === path : false;
|
|
2525
|
-
const
|
|
2526
|
-
const closeLeftDisabled =
|
|
2738
|
+
const index = state.currentIndex;
|
|
2739
|
+
const closeLeftDisabled = index === 0 || !isCurItem;
|
|
2527
2740
|
const disabled = tabStore.getTabList.length === 1;
|
|
2528
|
-
const closeRightDisabled = !isCurItem ||
|
|
2741
|
+
const closeRightDisabled = !isCurItem || index === tabStore.getTabList.length - 1 && tabStore.getLastDragEndIndex >= 0;
|
|
2529
2742
|
const dropMenuList = [
|
|
2530
2743
|
{
|
|
2531
2744
|
icon: "ic:baseline-close",
|
|
@@ -2565,10 +2778,10 @@ function useTabDropdown() {
|
|
|
2565
2778
|
});
|
|
2566
2779
|
function handleContext(e) {
|
|
2567
2780
|
e?.preventDefault();
|
|
2568
|
-
const { path } = unref
|
|
2569
|
-
const
|
|
2570
|
-
state.current = unref
|
|
2571
|
-
state.currentIndex =
|
|
2781
|
+
const { path } = unref(currentRoute);
|
|
2782
|
+
const index = tabStore.getTabList.findIndex((tab) => tab.path === path);
|
|
2783
|
+
state.current = unref(currentRoute);
|
|
2784
|
+
state.currentIndex = index;
|
|
2572
2785
|
}
|
|
2573
2786
|
function handleMenuEvent(item) {
|
|
2574
2787
|
item.onClick?.();
|
|
@@ -2579,12 +2792,12 @@ function useTabDropdown() {
|
|
|
2579
2792
|
handleMenuEvent
|
|
2580
2793
|
};
|
|
2581
2794
|
}
|
|
2582
|
-
const _hoisted_1$
|
|
2795
|
+
const _hoisted_1$3 = /* @__PURE__ */ createElementVNode("i", { class: "block i ic:baseline-keyboard-arrow-down" }, null, -1);
|
|
2583
2796
|
const _hoisted_2 = [
|
|
2584
|
-
_hoisted_1$
|
|
2797
|
+
_hoisted_1$3
|
|
2585
2798
|
];
|
|
2586
2799
|
const _hoisted_3 = { class: "text-13" };
|
|
2587
|
-
const _sfc_main$5 = /* @__PURE__ */ defineComponent
|
|
2800
|
+
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
2588
2801
|
__name: "TabContent",
|
|
2589
2802
|
setup(__props) {
|
|
2590
2803
|
const { getDropMenuList, handleContext, handleMenuEvent } = useTabDropdown();
|
|
@@ -2601,10 +2814,10 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent$1({
|
|
|
2601
2814
|
overlay: withCtx(() => [
|
|
2602
2815
|
createVNode(_component_AMenu, null, {
|
|
2603
2816
|
default: withCtx(() => [
|
|
2604
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(unref
|
|
2605
|
-
return openBlock(), createElementBlock(Fragment, { key:
|
|
2817
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(getDropMenuList), (item, index) => {
|
|
2818
|
+
return openBlock(), createElementBlock(Fragment, { key: index }, [
|
|
2606
2819
|
createVNode(_component_AMenuItem, {
|
|
2607
|
-
onClick: ($event) => unref
|
|
2820
|
+
onClick: ($event) => unref(handleMenuEvent)(item),
|
|
2608
2821
|
disabled: item.disabled
|
|
2609
2822
|
}, {
|
|
2610
2823
|
default: withCtx(() => [
|
|
@@ -2616,7 +2829,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent$1({
|
|
|
2616
2829
|
_: 2
|
|
2617
2830
|
}, 1032, ["onClick", "disabled"]),
|
|
2618
2831
|
item.divider ? (openBlock(), createBlock(_component_AMenuDivider, {
|
|
2619
|
-
key: `d-${
|
|
2832
|
+
key: `d-${index}`
|
|
2620
2833
|
})) : createCommentVNode("", true)
|
|
2621
2834
|
], 64);
|
|
2622
2835
|
}), 128))
|
|
@@ -2626,7 +2839,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent$1({
|
|
|
2626
2839
|
]),
|
|
2627
2840
|
default: withCtx(() => [
|
|
2628
2841
|
createElementVNode("span", {
|
|
2629
|
-
onClick: _cache[0] || (_cache[0] = (...args) => unref
|
|
2842
|
+
onClick: _cache[0] || (_cache[0] = (...args) => unref(handleContext) && unref(handleContext)(...args)),
|
|
2630
2843
|
class: "inline-block w-9 h-9 leading-9 -mt-0.5 text-zinc-600 text-center cursor-pointer border-l border-zinc-300 hover:text-zinc-900"
|
|
2631
2844
|
}, _hoisted_2)
|
|
2632
2845
|
]),
|
|
@@ -2636,9 +2849,9 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent$1({
|
|
|
2636
2849
|
}
|
|
2637
2850
|
});
|
|
2638
2851
|
function initAffixTabs() {
|
|
2639
|
-
const affixList = ref
|
|
2852
|
+
const affixList = ref([]);
|
|
2640
2853
|
const tabStore = useRouteReuseStore();
|
|
2641
|
-
const router = useRouter
|
|
2854
|
+
const router = useRouter();
|
|
2642
2855
|
const filterAffixTabs = (routes = []) => {
|
|
2643
2856
|
return routes && routes.reduce((tabs, route) => {
|
|
2644
2857
|
if (route.meta && route.meta.affix) {
|
|
@@ -2667,11 +2880,11 @@ function initAffixTabs() {
|
|
|
2667
2880
|
}
|
|
2668
2881
|
function useSortable(el, options) {
|
|
2669
2882
|
function initSortable() {
|
|
2670
|
-
nextTick
|
|
2883
|
+
nextTick(async () => {
|
|
2671
2884
|
if (!el)
|
|
2672
2885
|
return;
|
|
2673
2886
|
const Sortable = (await import("sortablejs")).default;
|
|
2674
|
-
Sortable.create(unref
|
|
2887
|
+
Sortable.create(unref(el), {
|
|
2675
2888
|
animation: 500,
|
|
2676
2889
|
delay: 400,
|
|
2677
2890
|
delayOnTouchOnly: true,
|
|
@@ -2684,8 +2897,8 @@ function useSortable(el, options) {
|
|
|
2684
2897
|
function useTabsDrag(affixList) {
|
|
2685
2898
|
const tabStore = useRouteReuseStore();
|
|
2686
2899
|
const { getCanDrag } = useMultipleTab();
|
|
2687
|
-
nextTick
|
|
2688
|
-
if (!unref
|
|
2900
|
+
nextTick(() => {
|
|
2901
|
+
if (!unref(getCanDrag))
|
|
2689
2902
|
return;
|
|
2690
2903
|
const el = document.querySelectorAll(`.dt-reuse-tabs .ant-tabs-nav-list`)?.[0];
|
|
2691
2904
|
const { initSortable } = useSortable(el, {
|
|
@@ -2705,8 +2918,8 @@ function useTabsDrag(affixList) {
|
|
|
2705
2918
|
initSortable();
|
|
2706
2919
|
});
|
|
2707
2920
|
}
|
|
2708
|
-
const _hoisted_1$
|
|
2709
|
-
const _sfc_main$4 = /* @__PURE__ */ defineComponent
|
|
2921
|
+
const _hoisted_1$2 = { class: "dt-reuse-tabs leading-8 border-b border-solid border-gray-200" };
|
|
2922
|
+
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
2710
2923
|
__name: "index",
|
|
2711
2924
|
setup(__props) {
|
|
2712
2925
|
const { t } = useI18n("UI");
|
|
@@ -2752,26 +2965,26 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent$1({
|
|
|
2752
2965
|
return (_ctx, _cache) => {
|
|
2753
2966
|
const _component_ATabPane = TabPane;
|
|
2754
2967
|
const _component_ATabs = Tabs;
|
|
2755
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
2968
|
+
return openBlock(), createElementBlock("div", _hoisted_1$2, [
|
|
2756
2969
|
createVNode(_component_ATabs, {
|
|
2757
2970
|
type: "editable-card",
|
|
2758
2971
|
size: "small",
|
|
2759
2972
|
animated: false,
|
|
2760
2973
|
hideAdd: true,
|
|
2761
2974
|
tabBarGutter: 3,
|
|
2762
|
-
activeKey:
|
|
2975
|
+
activeKey: activeKeyRef.value,
|
|
2763
2976
|
onChange: handleChange,
|
|
2764
2977
|
onEdit: handleEdit,
|
|
2765
2978
|
class: "h-8"
|
|
2766
2979
|
}, createSlots({
|
|
2767
2980
|
default: withCtx(() => [
|
|
2768
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(unref
|
|
2981
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(getTabsState), (item) => {
|
|
2769
2982
|
return openBlock(), createBlock(_component_ATabPane, {
|
|
2770
2983
|
key: item.query ? item.fullPath : item.path,
|
|
2771
2984
|
closable: !(item && item.meta && item.meta.affix)
|
|
2772
2985
|
}, {
|
|
2773
2986
|
tab: withCtx(() => [
|
|
2774
|
-
createElementVNode("span", null, toDisplayString(unref
|
|
2987
|
+
createElementVNode("span", null, toDisplayString(unref(menuLabelMap).get(item.path) || unref(t)("UNKNOWN_ROUTE")), 1)
|
|
2775
2988
|
]),
|
|
2776
2989
|
_: 2
|
|
2777
2990
|
}, 1032, ["closable"]);
|
|
@@ -2779,11 +2992,11 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent$1({
|
|
|
2779
2992
|
]),
|
|
2780
2993
|
_: 2
|
|
2781
2994
|
}, [
|
|
2782
|
-
unref
|
|
2995
|
+
unref(getShowRedo) || unref(getShowQuick) ? {
|
|
2783
2996
|
name: "rightExtra",
|
|
2784
2997
|
fn: withCtx(() => [
|
|
2785
|
-
unref
|
|
2786
|
-
unref
|
|
2998
|
+
unref(getShowRedo) ? (openBlock(), createBlock(unref(_sfc_main$6), { key: 0 })) : createCommentVNode("", true),
|
|
2999
|
+
unref(getShowQuick) ? (openBlock(), createBlock(unref(_sfc_main$5), { key: 1 })) : createCommentVNode("", true)
|
|
2787
3000
|
]),
|
|
2788
3001
|
key: "0"
|
|
2789
3002
|
} : void 0
|
|
@@ -2792,74 +3005,75 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent$1({
|
|
|
2792
3005
|
};
|
|
2793
3006
|
}
|
|
2794
3007
|
});
|
|
2795
|
-
const _sfc_main$3 = /* @__PURE__ */ defineComponent
|
|
3008
|
+
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
2796
3009
|
__name: "multiple-header",
|
|
2797
3010
|
setup(__props) {
|
|
2798
3011
|
const {
|
|
2799
3012
|
getHeaderHeight,
|
|
2800
3013
|
getFixed,
|
|
2801
3014
|
getShowFullHeaderRef,
|
|
2802
|
-
getHeaderTheme,
|
|
2803
3015
|
getShowInsetHeaderRef,
|
|
2804
3016
|
getTabsHeight
|
|
2805
3017
|
} = useHeader();
|
|
2806
|
-
const { getCalcContentWidth, getIsMixMode,
|
|
3018
|
+
const { getCalcContentWidth, getIsMixMode, getSplit, getIsMixSidebar } = useMenu();
|
|
2807
3019
|
const { getShowMultipleTab } = useMultipleTab();
|
|
2808
|
-
const getPlaceholderDomStyle = computed
|
|
2809
|
-
let height = unref
|
|
2810
|
-
if (unref
|
|
2811
|
-
height = unref
|
|
3020
|
+
const getPlaceholderDomStyle = computed(() => {
|
|
3021
|
+
let height = unref(getHeaderHeight);
|
|
3022
|
+
if (unref(getIsMixMode)) {
|
|
3023
|
+
height = unref(getShowMultipleTab) ? unref(getTabsHeight) : 0;
|
|
2812
3024
|
}
|
|
2813
3025
|
return {
|
|
2814
3026
|
height: `${height}px`
|
|
2815
3027
|
};
|
|
2816
3028
|
});
|
|
2817
|
-
const getSplitType = computed
|
|
2818
|
-
return unref
|
|
3029
|
+
const getSplitType = computed(() => {
|
|
3030
|
+
return unref(getSplit) ? MenuSplitTye.LEFT : MenuSplitTye.NONE;
|
|
2819
3031
|
});
|
|
2820
3032
|
const { menusRef } = useSplitMenu(getSplitType);
|
|
2821
|
-
const getWrapStyle = computed
|
|
3033
|
+
const getWrapStyle = computed(() => {
|
|
2822
3034
|
const style = {};
|
|
2823
|
-
if (unref
|
|
3035
|
+
if (unref(getIsMixSidebar)) {
|
|
3036
|
+
style.width = useThemeStore().getMixSiderIsHasMenu ? unref(getCalcContentWidth) : "calc(100% - 80px)";
|
|
3037
|
+
} else if (unref(getSplit) && !unref(menusRef)?.length) {
|
|
2824
3038
|
style.width = "100%";
|
|
2825
|
-
} else if (unref
|
|
2826
|
-
style.width = unref
|
|
3039
|
+
} else if (unref(getFixed)) {
|
|
3040
|
+
style.width = unref(getCalcContentWidth);
|
|
2827
3041
|
}
|
|
2828
|
-
if (unref
|
|
3042
|
+
if (unref(getShowFullHeaderRef))
|
|
2829
3043
|
style.top = "48px";
|
|
2830
3044
|
return style;
|
|
2831
3045
|
});
|
|
2832
|
-
const getClass = computed
|
|
3046
|
+
const getClass = computed(() => {
|
|
2833
3047
|
let cls = "transition-width duration-200 flex-auto";
|
|
2834
|
-
if (unref
|
|
3048
|
+
if (unref(getFixed)) {
|
|
2835
3049
|
cls += " fixed top-0 right-0 w-full";
|
|
2836
3050
|
}
|
|
2837
3051
|
return cls;
|
|
2838
3052
|
});
|
|
2839
3053
|
return (_ctx, _cache) => {
|
|
2840
3054
|
return openBlock(), createElementBlock("div", null, [
|
|
2841
|
-
unref
|
|
3055
|
+
unref(getFixed) ? (openBlock(), createElementBlock("div", {
|
|
2842
3056
|
key: 0,
|
|
2843
|
-
style: normalizeStyle(unref
|
|
3057
|
+
style: normalizeStyle(unref(getPlaceholderDomStyle))
|
|
2844
3058
|
}, null, 4)) : createCommentVNode("", true),
|
|
2845
3059
|
createElementVNode("div", {
|
|
2846
|
-
style: normalizeStyle(unref
|
|
2847
|
-
class: normalizeClass(unref
|
|
3060
|
+
style: normalizeStyle(unref(getWrapStyle)),
|
|
3061
|
+
class: normalizeClass(unref(getClass))
|
|
2848
3062
|
}, [
|
|
2849
|
-
unref
|
|
2850
|
-
unref
|
|
3063
|
+
unref(getShowInsetHeaderRef) ? (openBlock(), createBlock(_sfc_main$b, { key: 0 })) : createCommentVNode("", true),
|
|
3064
|
+
unref(getShowMultipleTab) ? (openBlock(), createBlock(_sfc_main$4, { key: 1 })) : createCommentVNode("", true)
|
|
2851
3065
|
], 6)
|
|
2852
3066
|
]);
|
|
2853
3067
|
};
|
|
2854
3068
|
}
|
|
2855
3069
|
});
|
|
2856
|
-
const _hoisted_1$
|
|
2857
|
-
const _sfc_main$2 = /* @__PURE__ */ defineComponent
|
|
3070
|
+
const _hoisted_1$1 = { class: "pr-2.5" };
|
|
3071
|
+
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
2858
3072
|
__name: "index",
|
|
2859
3073
|
setup(__props) {
|
|
2860
3074
|
const { getFooter } = useTheme();
|
|
2861
|
-
const { title, subTitle, height } = unref
|
|
2862
|
-
const footerOptions = computed
|
|
3075
|
+
const { title, subTitle, height } = unref(getFooter);
|
|
3076
|
+
const footerOptions = computed(() => {
|
|
2863
3077
|
return {
|
|
2864
3078
|
lineHeight: `${height - 1}px`,
|
|
2865
3079
|
height: `${height}px`,
|
|
@@ -2869,21 +3083,21 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent$1({
|
|
|
2869
3083
|
};
|
|
2870
3084
|
});
|
|
2871
3085
|
return (_ctx, _cache) => {
|
|
2872
|
-
return openBlock(), createBlock(unref
|
|
3086
|
+
return openBlock(), createBlock(unref(LayoutFooter), {
|
|
2873
3087
|
class: "text-center p-0 w-full block border-t border-gray-200",
|
|
2874
|
-
style: normalizeStyle(unref
|
|
3088
|
+
style: normalizeStyle(unref(footerOptions))
|
|
2875
3089
|
}, {
|
|
2876
3090
|
default: withCtx(() => [
|
|
2877
|
-
createElementVNode("span", _hoisted_1$
|
|
2878
|
-
createElementVNode("span", null, toDisplayString(unref
|
|
3091
|
+
createElementVNode("span", _hoisted_1$1, toDisplayString(unref(title)), 1),
|
|
3092
|
+
createElementVNode("span", null, toDisplayString(unref(subTitle)), 1)
|
|
2879
3093
|
]),
|
|
2880
3094
|
_: 1
|
|
2881
3095
|
}, 8, ["style"]);
|
|
2882
3096
|
};
|
|
2883
3097
|
}
|
|
2884
3098
|
});
|
|
2885
|
-
const _hoisted_1
|
|
2886
|
-
const _sfc_main$1 = /* @__PURE__ */ defineComponent
|
|
3099
|
+
const _hoisted_1 = ["loading"];
|
|
3100
|
+
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
2887
3101
|
__name: "index",
|
|
2888
3102
|
setup(__props) {
|
|
2889
3103
|
const { getTransitionMode } = useApp();
|
|
@@ -2901,8 +3115,8 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent$1({
|
|
|
2901
3115
|
const _component_ALayoutContent = LayoutContent;
|
|
2902
3116
|
return openBlock(), createElementBlock("div", {
|
|
2903
3117
|
id: "dt-layout-content",
|
|
2904
|
-
class: normalizeClass([["dt-layout-content", unref
|
|
2905
|
-
loading: unref
|
|
3118
|
+
class: normalizeClass([["dt-layout-content", unref(getLayoutContentMode)], "relative flex-auto overflow-x-hidden min-h-0 flex"]),
|
|
3119
|
+
loading: unref(getPageLoading) && unref(getOpenPageLoading)
|
|
2906
3120
|
}, [
|
|
2907
3121
|
createVNode(_component_ALayoutContent, null, {
|
|
2908
3122
|
default: withCtx(() => [
|
|
@@ -2912,9 +3126,9 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent$1({
|
|
|
2912
3126
|
name: getTransitionName(route)
|
|
2913
3127
|
}, {
|
|
2914
3128
|
default: withCtx(() => [
|
|
2915
|
-
!route.meta.hideTab && unref
|
|
3129
|
+
!route.meta.hideTab && unref(getCanCache) ? (openBlock(), createBlock(KeepAlive, {
|
|
2916
3130
|
key: 0,
|
|
2917
|
-
include: unref
|
|
3131
|
+
include: unref(getCaches)
|
|
2918
3132
|
}, [
|
|
2919
3133
|
(openBlock(), createBlock(resolveDynamicComponent(Component), {
|
|
2920
3134
|
key: route.path
|
|
@@ -2929,11 +3143,28 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent$1({
|
|
|
2929
3143
|
]),
|
|
2930
3144
|
_: 1
|
|
2931
3145
|
})
|
|
2932
|
-
], 10, _hoisted_1
|
|
3146
|
+
], 10, _hoisted_1);
|
|
2933
3147
|
};
|
|
2934
3148
|
}
|
|
2935
3149
|
});
|
|
2936
3150
|
var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
|
|
3151
|
+
var zhCn = { exports: {} };
|
|
3152
|
+
(function(module, exports) {
|
|
3153
|
+
!function(e, _) {
|
|
3154
|
+
module.exports = _(require$$0);
|
|
3155
|
+
}(commonjsGlobal, function(e) {
|
|
3156
|
+
function _(e2) {
|
|
3157
|
+
return e2 && "object" == typeof e2 && "default" in e2 ? e2 : { default: e2 };
|
|
3158
|
+
}
|
|
3159
|
+
var t = _(e), d = { name: "zh-cn", weekdays: "\u661F\u671F\u65E5_\u661F\u671F\u4E00_\u661F\u671F\u4E8C_\u661F\u671F\u4E09_\u661F\u671F\u56DB_\u661F\u671F\u4E94_\u661F\u671F\u516D".split("_"), weekdaysShort: "\u5468\u65E5_\u5468\u4E00_\u5468\u4E8C_\u5468\u4E09_\u5468\u56DB_\u5468\u4E94_\u5468\u516D".split("_"), weekdaysMin: "\u65E5_\u4E00_\u4E8C_\u4E09_\u56DB_\u4E94_\u516D".split("_"), months: "\u4E00\u6708_\u4E8C\u6708_\u4E09\u6708_\u56DB\u6708_\u4E94\u6708_\u516D\u6708_\u4E03\u6708_\u516B\u6708_\u4E5D\u6708_\u5341\u6708_\u5341\u4E00\u6708_\u5341\u4E8C\u6708".split("_"), monthsShort: "1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"), ordinal: function(e2, _2) {
|
|
3160
|
+
return "W" === _2 ? e2 + "\u5468" : e2 + "\u65E5";
|
|
3161
|
+
}, weekStart: 1, yearStart: 4, formats: { LT: "HH:mm", LTS: "HH:mm:ss", L: "YYYY/MM/DD", LL: "YYYY\u5E74M\u6708D\u65E5", LLL: "YYYY\u5E74M\u6708D\u65E5Ah\u70B9mm\u5206", LLLL: "YYYY\u5E74M\u6708D\u65E5ddddAh\u70B9mm\u5206", l: "YYYY/M/D", ll: "YYYY\u5E74M\u6708D\u65E5", lll: "YYYY\u5E74M\u6708D\u65E5 HH:mm", llll: "YYYY\u5E74M\u6708D\u65E5dddd HH:mm" }, relativeTime: { future: "%s\u5185", past: "%s\u524D", s: "\u51E0\u79D2", m: "1 \u5206\u949F", mm: "%d \u5206\u949F", h: "1 \u5C0F\u65F6", hh: "%d \u5C0F\u65F6", d: "1 \u5929", dd: "%d \u5929", M: "1 \u4E2A\u6708", MM: "%d \u4E2A\u6708", y: "1 \u5E74", yy: "%d \u5E74" }, meridiem: function(e2, _2) {
|
|
3162
|
+
var t2 = 100 * e2 + _2;
|
|
3163
|
+
return t2 < 600 ? "\u51CC\u6668" : t2 < 900 ? "\u65E9\u4E0A" : t2 < 1100 ? "\u4E0A\u5348" : t2 < 1300 ? "\u4E2D\u5348" : t2 < 1800 ? "\u4E0B\u5348" : "\u665A\u4E0A";
|
|
3164
|
+
} };
|
|
3165
|
+
return t.default.locale(d, null, true), d;
|
|
3166
|
+
});
|
|
3167
|
+
})(zhCn);
|
|
2937
3168
|
var esUs = { exports: {} };
|
|
2938
3169
|
(function(module, exports) {
|
|
2939
3170
|
!function(e, s) {
|
|
@@ -2948,69 +3179,73 @@ var esUs = { exports: {} };
|
|
|
2948
3179
|
return o.default.locale(d, null, true), d;
|
|
2949
3180
|
});
|
|
2950
3181
|
})(esUs);
|
|
2951
|
-
const
|
|
2952
|
-
const _sfc_main = /* @__PURE__ */ defineComponent$1({
|
|
3182
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
2953
3183
|
__name: "index",
|
|
2954
3184
|
setup(__props) {
|
|
2955
|
-
const { currentRoute } = useRouter
|
|
3185
|
+
const { currentRoute } = useRouter();
|
|
2956
3186
|
const { getShowFullHeaderRef, getIsZH, getHeaderHeight, getUiSize } = useHeader();
|
|
2957
|
-
const { getSplit, getShowMenu, getShowSidebar } = useMenu();
|
|
3187
|
+
const { getSplit, getShowMenu, getShowSidebar, getIsMixSidebar } = useMenu();
|
|
2958
3188
|
const { getFooter, getShowFooter } = useTheme();
|
|
2959
|
-
const { height } = unref
|
|
2960
|
-
require$$0.locale(unref
|
|
2961
|
-
const layoutClass = computed
|
|
3189
|
+
const { height } = unref(getFooter);
|
|
3190
|
+
require$$0.locale(unref(getIsZH) ? "zh-cn" : "en");
|
|
3191
|
+
const layoutClass = computed(() => {
|
|
2962
3192
|
let cls = "ant-layout";
|
|
2963
|
-
if (unref
|
|
3193
|
+
if (unref(getIsMixSidebar)) {
|
|
3194
|
+
cls += " ant-layout-has-sider";
|
|
3195
|
+
}
|
|
3196
|
+
if (unref(getShowMenu)) {
|
|
2964
3197
|
cls += " flex flex-auto min-h-0 flex-row";
|
|
2965
3198
|
}
|
|
2966
3199
|
return cls;
|
|
2967
3200
|
});
|
|
2968
|
-
const layoutOption = computed
|
|
2969
|
-
if (unref
|
|
3201
|
+
const layoutOption = computed(() => {
|
|
3202
|
+
if (unref(getSplit)) {
|
|
2970
3203
|
return {
|
|
2971
|
-
paddingTop: unref
|
|
3204
|
+
paddingTop: unref(getHeaderHeight) + "px",
|
|
2972
3205
|
background: "#f0f2f5"
|
|
2973
3206
|
};
|
|
2974
3207
|
}
|
|
2975
3208
|
});
|
|
2976
|
-
const getContentStyle = computed
|
|
3209
|
+
const getContentStyle = computed(() => {
|
|
2977
3210
|
return {
|
|
2978
|
-
flex: unref
|
|
3211
|
+
flex: unref(getSplit) ? `0 0 calc(100% - ${unref(getShowFooter) || 0}px)` : `0 0 calc(100% - ${unref(getShowFooter) ? height : 0}px - ${unref(getHeaderHeight)}px)`,
|
|
2979
3212
|
overflowY: "auto"
|
|
2980
3213
|
};
|
|
2981
3214
|
});
|
|
2982
3215
|
return (_ctx, _cache) => {
|
|
2983
3216
|
const _component_ALayout = Layout;
|
|
2984
3217
|
const _component_AConfigProvider = ConfigProvider;
|
|
2985
|
-
return openBlock(), createElementBlock("div",
|
|
3218
|
+
return openBlock(), createElementBlock("div", {
|
|
3219
|
+
class: normalizeClass(["dt-theme w-full h-full", `dt-theme-${unref(getUiSize)}`])
|
|
3220
|
+
}, [
|
|
2986
3221
|
createVNode(_component_AConfigProvider, {
|
|
2987
|
-
locale: unref
|
|
2988
|
-
"component-size": unref
|
|
3222
|
+
locale: unref(getIsZH) ? unref(zhCN) : unref(en),
|
|
3223
|
+
"component-size": unref(getUiSize)
|
|
2989
3224
|
}, {
|
|
2990
3225
|
default: withCtx(() => [
|
|
2991
|
-
unref
|
|
3226
|
+
unref(currentRoute)?.name && unref(currentRoute).meta?.requiresAuth !== false ? (openBlock(), createBlock(_component_ALayout, {
|
|
2992
3227
|
key: 0,
|
|
2993
3228
|
class: "w-full h-full flex"
|
|
2994
3229
|
}, {
|
|
2995
3230
|
default: withCtx(() => [
|
|
2996
|
-
createVNode(_sfc_main$
|
|
2997
|
-
unref
|
|
3231
|
+
createVNode(_sfc_main$y),
|
|
3232
|
+
unref(getShowFullHeaderRef) ? (openBlock(), createBlock(_sfc_main$b, {
|
|
2998
3233
|
key: 0,
|
|
2999
3234
|
fixed: ""
|
|
3000
3235
|
})) : createCommentVNode("", true),
|
|
3001
3236
|
createVNode(_component_ALayout, {
|
|
3002
|
-
class: normalizeClass(unref
|
|
3003
|
-
style: normalizeStyle(unref
|
|
3237
|
+
class: normalizeClass(unref(layoutClass)),
|
|
3238
|
+
style: normalizeStyle(unref(layoutOption))
|
|
3004
3239
|
}, {
|
|
3005
3240
|
default: withCtx(() => [
|
|
3006
|
-
unref
|
|
3007
|
-
createVNode(_component_ALayout, { class: "dt-theme-main flex w-full h-ful" }, {
|
|
3241
|
+
unref(getShowSidebar) ? (openBlock(), createBlock(_sfc_main$7, { key: 0 })) : createCommentVNode("", true),
|
|
3242
|
+
createVNode(_component_ALayout, { class: "dt-theme-main flex w-full h-ful transition-width duration-200" }, {
|
|
3008
3243
|
default: withCtx(() => [
|
|
3009
3244
|
createVNode(_sfc_main$3),
|
|
3010
3245
|
createVNode(_sfc_main$1, {
|
|
3011
|
-
style: normalizeStyle(unref
|
|
3246
|
+
style: normalizeStyle(unref(getContentStyle))
|
|
3012
3247
|
}, null, 8, ["style"]),
|
|
3013
|
-
unref
|
|
3248
|
+
unref(getFooter) && unref(getFooter)["show"] ? (openBlock(), createBlock(_sfc_main$2, { key: 0 })) : createCommentVNode("", true)
|
|
3014
3249
|
]),
|
|
3015
3250
|
_: 1
|
|
3016
3251
|
})
|
|
@@ -3019,11 +3254,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent$1({
|
|
|
3019
3254
|
}, 8, ["class", "style"])
|
|
3020
3255
|
]),
|
|
3021
3256
|
_: 1
|
|
3022
|
-
})) : (openBlock(), createBlock(unref
|
|
3257
|
+
})) : (openBlock(), createBlock(unref(RouterView), { key: 1 }))
|
|
3023
3258
|
]),
|
|
3024
3259
|
_: 1
|
|
3025
3260
|
}, 8, ["locale", "component-size"])
|
|
3026
|
-
]);
|
|
3261
|
+
], 2);
|
|
3027
3262
|
};
|
|
3028
3263
|
}
|
|
3029
3264
|
});
|
|
@@ -3110,7 +3345,7 @@ const EN = {
|
|
|
3110
3345
|
"NAV_MODE": "Navigation bar mode",
|
|
3111
3346
|
"PAGE_SHOW": "Interface Display",
|
|
3112
3347
|
"COPY": "Copy",
|
|
3113
|
-
"DRAWER_TIPS": "The function mainly real-time preview layout effect, more complete configuration in the
|
|
3348
|
+
"DRAWER_TIPS": "The function mainly real-time preview layout effect, more complete configuration in the src/core/Settings/theme.ts. The layout preview function will be turned off in production.",
|
|
3114
3349
|
"FULL": "Flow-based",
|
|
3115
3350
|
"FIXED": "Fixed width",
|
|
3116
3351
|
"BREAD_CURB": "Bread crumbs",
|