@gx-design-vue/pro-layout 0.1.0-beta.78 → 0.1.0-beta.79
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/pro-layout.js +967 -966
- package/dist/pro-layout.umd.cjs +2 -2
- package/package.json +1 -1
package/dist/pro-layout.js
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { createVNode as t, defineComponent as j, createTextVNode as W, mergeProps as te, toRefs as tt, ref as me, reactive as ve, watch as ne, computed as
|
|
1
|
+
import { createVNode as t, defineComponent as j, createTextVNode as W, mergeProps as te, toRefs as tt, ref as me, reactive as ve, watch as ne, computed as R, unref as se, Fragment as J, withDirectives as jn, vShow as En, isVNode as Le, resolveComponent as Qt, nextTick as xt, watchEffect as Kn, onMounted as Zt, isRef as Wn, Transition as Un } from "vue";
|
|
2
2
|
import { pick as oe, cloneDeep as Se, omit as $e } from "lodash-es";
|
|
3
|
-
import { LayoutFooter as
|
|
4
|
-
import { useLocalStorage as at, useColorMode as
|
|
3
|
+
import { LayoutFooter as _n, Spin as St, Tabs as It, Menu as ge, Dropdown as ht, Layout as We, Popover as Xn, Badge as Vn, ConfigProvider as wt, Drawer as Qe, Avatar as Jt, Form as Nt, Input as en, Button as Ze, Empty as zt, MenuItem as Dt, Breadcrumb as Gn, Card as Yn, Tooltip as nt, List as Be, Switch as tn, TabPane as qn, Select as Ye, message as Qn, Segmented as Zn, Divider as ct, Alert as Jn } from "ant-design-vue";
|
|
4
|
+
import { useLocalStorage as at, useColorMode as ea, useStyleTag as ta, useMagicKeys as nn, whenever as gt, useThrottleFn as na, onKeyStroke as ut, useFullscreen as aa, useDebounceFn as oa, useClipboard as ia } from "@vueuse/core";
|
|
5
5
|
import { useState as pe, useMemo as yt, useMergedState as De, useMediaQuery as an } from "@gx-design-vue/pro-hooks";
|
|
6
|
-
import { getPrefixCls as ie, arrayRepeat as
|
|
7
|
-
import
|
|
8
|
-
import { createTypes as
|
|
9
|
-
import { spinProps as
|
|
6
|
+
import { getPrefixCls as ie, arrayRepeat as la, getSlotVNode as Me, classNames as Q, isBoolean as ae, merge as be, isNumber as Ue, isUrl as Rt, isImg as ra, isArray as $t, convertValueBoolean as Fe, isObject as sa, isString as ca, getLevelData as Bt, deepCopy as ua, getRandomNumber as bt, getSlot as re, getSlotsProps as da, isWindowsOs as ma, isDeepEqualReact as fa, isBrowser as ha } from "@gx-design-vue/pro-utils";
|
|
7
|
+
import ga, { themeConfig as Z, useContext as ya, useProStyle as fe, useStyle as Pe, mergeToken as je, getTokenLayoutTheme as Ce, resetComponent as ba, Keyframe as x, checkMenuDark as ot, calcUnit as dt, getDefaultLayoutToken as it, useProConfigContext as Oe, unit as Ae, getLayoutTheme as on, useProForm as va, setAlpha as pa, defaultSystemTheme as Ca, defaultLayout as xa, colorList as Sa } from "@gx-design-vue/pro-provider";
|
|
8
|
+
import { createTypes as Ia } from "vue-types";
|
|
9
|
+
import { spinProps as wa } from "ant-design-vue/es/spin";
|
|
10
10
|
import Re from "dayjs";
|
|
11
|
-
import { GithubOutlined as
|
|
12
|
-
import { useProAppContext as
|
|
13
|
-
import { useRouter as Ge, RouterLink as
|
|
11
|
+
import { GithubOutlined as Ra, CloseOutlined as lt, FullscreenExitOutlined as ln, FullscreenOutlined as rn, ReloadOutlined as vt, ExportOutlined as $a, VerticalRightOutlined as Ba, VerticalLeftOutlined as Ma, VerticalAlignMiddleOutlined as La, SwapOutlined as Oa, DownOutlined as Fa, AppstoreOutlined as ka, createFromIconfontCN as Ta, ArrowLeftOutlined as Pa, MenuUnfoldOutlined as Na, MenuFoldOutlined as za, UserOutlined as sn, LockOutlined as cn, MenuOutlined as Da, ArrowRightOutlined as Aa, SearchOutlined as At, EnterOutlined as Ha, ArrowUpOutlined as Ht, CompressOutlined as ja, ExpandOutlined as Ea, SettingOutlined as un, LogoutOutlined as Ka, DesktopOutlined as Wa, CheckOutlined as dn, NotificationOutlined as Ua, CopyOutlined as _a, ClearOutlined as Xa } from "@ant-design/icons-vue";
|
|
12
|
+
import { useProAppContext as Mt } from "@gx-design-vue/pro-app";
|
|
13
|
+
import { useRouter as Ge, RouterLink as Va } from "vue-router";
|
|
14
14
|
import { getAlphaColor as ke } from "ant-design-vue/es/theme/themes/dark/colorAlgorithm";
|
|
15
|
-
import
|
|
15
|
+
import Ga, { GProModal as Ya } from "@gx-design-vue/pro-modal";
|
|
16
16
|
import "dayjs/locale/zh-cn";
|
|
17
|
-
import
|
|
18
|
-
import { GPorWaterMark as
|
|
19
|
-
import
|
|
17
|
+
import qa from "ant-design-vue/es/vc-resize-observer";
|
|
18
|
+
import { GPorWaterMark as Qa } from "@gx-design-vue/pro-watermark";
|
|
19
|
+
import Za from "@gx-design-vue/scrollbar";
|
|
20
20
|
import { GColorPicker as jt } from "@gx-design-vue/color-picker";
|
|
21
|
-
const q =
|
|
21
|
+
const q = Ia({
|
|
22
22
|
func: void 0,
|
|
23
23
|
bool: void 0,
|
|
24
24
|
string: void 0,
|
|
@@ -120,7 +120,7 @@ const Te = {
|
|
|
120
120
|
}
|
|
121
121
|
},
|
|
122
122
|
onLogoClick: Function
|
|
123
|
-
},
|
|
123
|
+
}, Ja = {
|
|
124
124
|
...oe(Te, ["title", "layout"]),
|
|
125
125
|
...rt
|
|
126
126
|
}, st = {
|
|
@@ -311,7 +311,7 @@ const Te = {
|
|
|
311
311
|
"onUpdate:tabs": {
|
|
312
312
|
type: Function
|
|
313
313
|
}
|
|
314
|
-
},
|
|
314
|
+
}, eo = (e) => ({
|
|
315
315
|
[e.componentCls]: {
|
|
316
316
|
marginBlock: 0,
|
|
317
317
|
marginBlockStart: 48,
|
|
@@ -342,17 +342,17 @@ const Te = {
|
|
|
342
342
|
}
|
|
343
343
|
}
|
|
344
344
|
}
|
|
345
|
-
}),
|
|
346
|
-
provideContext:
|
|
345
|
+
}), to = ["dark", "layout", "theme", "wideWidth", "contentWidth", "collapsed", "waterMark", "menuData", "openKeys", "splitMenus", "selectedKeys", "disableMobile", "fixSiderbar", "fixedHeader", "waterMarkProps", "shortcutKey", "pageContainerProps"], {
|
|
346
|
+
provideContext: no,
|
|
347
347
|
useInjectContext: le
|
|
348
|
-
} =
|
|
348
|
+
} = ya("pro-layout"), hn = [{
|
|
349
349
|
key: "Ant Design Pro",
|
|
350
350
|
title: "Ant Design Pro",
|
|
351
351
|
href: "https://pro.ant.design",
|
|
352
352
|
blankTarget: !0
|
|
353
353
|
}, {
|
|
354
354
|
key: "gitee",
|
|
355
|
-
title: t(
|
|
355
|
+
title: t(Ra, null, null),
|
|
356
356
|
href: "https://github.com/gx12358/vue3-antd-admin",
|
|
357
357
|
blankTarget: !0
|
|
358
358
|
}, {
|
|
@@ -379,8 +379,8 @@ const Te = {
|
|
|
379
379
|
}), {
|
|
380
380
|
wrapSSR: i,
|
|
381
381
|
hashId: l
|
|
382
|
-
} = fe("ProLayoutFooter", [
|
|
383
|
-
return () => i(t(
|
|
382
|
+
} = fe("ProLayoutFooter", [eo], o);
|
|
383
|
+
return () => i(t(_n, {
|
|
384
384
|
style: {
|
|
385
385
|
padding: 0
|
|
386
386
|
}
|
|
@@ -401,7 +401,7 @@ const Te = {
|
|
|
401
401
|
}, [e.copyright])])])]
|
|
402
402
|
}));
|
|
403
403
|
}
|
|
404
|
-
}),
|
|
404
|
+
}), ao = {
|
|
405
405
|
usePageCard: {
|
|
406
406
|
type: Boolean,
|
|
407
407
|
default: () => {
|
|
@@ -446,7 +446,7 @@ const Te = {
|
|
|
446
446
|
}
|
|
447
447
|
},
|
|
448
448
|
loading: q.bool.def(!1),
|
|
449
|
-
...
|
|
449
|
+
...ao
|
|
450
450
|
}, Lt = {
|
|
451
451
|
dark: {
|
|
452
452
|
type: [Boolean, String],
|
|
@@ -513,14 +513,14 @@ const Te = {
|
|
|
513
513
|
default: () => {
|
|
514
514
|
}
|
|
515
515
|
}
|
|
516
|
-
},
|
|
516
|
+
}, oo = (e) => ({
|
|
517
517
|
[e.componentCls]: {
|
|
518
518
|
display: "flex",
|
|
519
519
|
flexDirection: "column",
|
|
520
520
|
width: "100%",
|
|
521
521
|
minHeight: "100vh"
|
|
522
522
|
}
|
|
523
|
-
}),
|
|
523
|
+
}), io = (e) => {
|
|
524
524
|
var n, a;
|
|
525
525
|
return {
|
|
526
526
|
[e.componentCls]: {
|
|
@@ -553,13 +553,13 @@ const Te = {
|
|
|
553
553
|
}
|
|
554
554
|
}
|
|
555
555
|
};
|
|
556
|
-
}, gn = ["menuLinksRender", "appLogoListRender", "siderActionsRender"], yn = ["appLogoListRender", "extraRightDropdownRender"], bn =
|
|
556
|
+
}, gn = ["menuLinksRender", "appLogoListRender", "siderActionsRender"], yn = ["appLogoListRender", "extraRightDropdownRender"], bn = la([
|
|
557
557
|
...yn,
|
|
558
558
|
...gn,
|
|
559
559
|
"pageHeaderRender",
|
|
560
560
|
"pageLockRender",
|
|
561
561
|
"copyrightRender"
|
|
562
|
-
]),
|
|
562
|
+
]), lo = [
|
|
563
563
|
"footerRender",
|
|
564
564
|
"menuExtraRender",
|
|
565
565
|
"menuFooterRender",
|
|
@@ -572,20 +572,20 @@ const Te = {
|
|
|
572
572
|
"breadcrumbRender",
|
|
573
573
|
"collapsedButtonRender"
|
|
574
574
|
];
|
|
575
|
-
[...bn, ...
|
|
576
|
-
const
|
|
575
|
+
[...bn, ...lo];
|
|
576
|
+
const ro = ["tabsVisible", "storageTabsBar", "collapsedWidth", "isChildrenLayout", "loading", "showTabsBar", "fixedTabsBar", "collapsed", "onReloadPage", "onTabsChange"], so = /* @__PURE__ */ j({
|
|
577
577
|
name: "PageLoading",
|
|
578
|
-
props:
|
|
578
|
+
props: wa(),
|
|
579
579
|
inheritAttrs: !1,
|
|
580
580
|
slots: Object,
|
|
581
581
|
setup(e, {
|
|
582
582
|
slots: n,
|
|
583
583
|
attrs: a
|
|
584
584
|
}) {
|
|
585
|
-
const o =
|
|
585
|
+
const o = Mt();
|
|
586
586
|
return () => {
|
|
587
587
|
var s;
|
|
588
|
-
const i = a.style || {}, l =
|
|
588
|
+
const i = a.style || {}, l = Me(n, e, "indicator");
|
|
589
589
|
return e.spinning ? t("div", {
|
|
590
590
|
style: {
|
|
591
591
|
paddingTop: "100px",
|
|
@@ -597,7 +597,7 @@ const lo = ["tabsVisible", "storageTabsBar", "collapsedWidth", "isChildrenLayout
|
|
|
597
597
|
}), null)]) : null;
|
|
598
598
|
};
|
|
599
599
|
}
|
|
600
|
-
}),
|
|
600
|
+
}), co = (e) => {
|
|
601
601
|
var n, a;
|
|
602
602
|
return {
|
|
603
603
|
[`${e.componentTitleCls}`]: {
|
|
@@ -685,16 +685,16 @@ const lo = ["tabsVisible", "storageTabsBar", "collapsedWidth", "isChildrenLayout
|
|
|
685
685
|
}
|
|
686
686
|
};
|
|
687
687
|
};
|
|
688
|
-
function
|
|
688
|
+
function uo(e) {
|
|
689
689
|
return Pe("ProMultiTabs", (n) => {
|
|
690
690
|
const a = je(n, {
|
|
691
691
|
componentWrapCls: `${n.componentCls}-wrap`,
|
|
692
692
|
componentTitleCls: `${n.componentCls}-title`
|
|
693
693
|
});
|
|
694
|
-
return [
|
|
694
|
+
return [co(a)];
|
|
695
695
|
}, e);
|
|
696
696
|
}
|
|
697
|
-
const
|
|
697
|
+
const mo = (e) => ({
|
|
698
698
|
[`${e.componentCls}`]: {
|
|
699
699
|
width: "1em",
|
|
700
700
|
height: "1em",
|
|
@@ -703,10 +703,10 @@ const uo = (e) => ({
|
|
|
703
703
|
overflow: "hidden"
|
|
704
704
|
}
|
|
705
705
|
});
|
|
706
|
-
function
|
|
706
|
+
function fo(e) {
|
|
707
707
|
return Pe("ProIcon", (n) => {
|
|
708
708
|
const a = je(n, {});
|
|
709
|
-
return [
|
|
709
|
+
return [mo(a)];
|
|
710
710
|
}, e);
|
|
711
711
|
}
|
|
712
712
|
const _e = /* @__PURE__ */ j({
|
|
@@ -724,7 +724,7 @@ const _e = /* @__PURE__ */ j({
|
|
|
724
724
|
}), {
|
|
725
725
|
hashId: o,
|
|
726
726
|
wrapSSR: i
|
|
727
|
-
} =
|
|
727
|
+
} = fo(a);
|
|
728
728
|
return () => i(t("span", {
|
|
729
729
|
style: n.style,
|
|
730
730
|
class: n.class,
|
|
@@ -742,7 +742,7 @@ const _e = /* @__PURE__ */ j({
|
|
|
742
742
|
}, null)
|
|
743
743
|
])]));
|
|
744
744
|
}
|
|
745
|
-
}),
|
|
745
|
+
}), ho = [{
|
|
746
746
|
key: "fixed",
|
|
747
747
|
label: "置顶",
|
|
748
748
|
icon: (e) => t(_e, {
|
|
@@ -762,13 +762,13 @@ const _e = /* @__PURE__ */ j({
|
|
|
762
762
|
}, {
|
|
763
763
|
key: "newBlank",
|
|
764
764
|
label: "新窗口打开",
|
|
765
|
-
icon: t(
|
|
765
|
+
icon: t($a, null, null)
|
|
766
766
|
}, {
|
|
767
767
|
key: "divider"
|
|
768
768
|
}, {
|
|
769
769
|
key: "closeLeftTabs",
|
|
770
770
|
label: "关闭左侧",
|
|
771
|
-
icon: t(
|
|
771
|
+
icon: t(Ba, null, null)
|
|
772
772
|
}, {
|
|
773
773
|
key: "closeRightTabs",
|
|
774
774
|
label: "关闭右侧",
|
|
@@ -778,28 +778,28 @@ const _e = /* @__PURE__ */ j({
|
|
|
778
778
|
}, {
|
|
779
779
|
key: "closeOthersTabs",
|
|
780
780
|
label: "关闭其他",
|
|
781
|
-
icon: t(
|
|
781
|
+
icon: t(La, {
|
|
782
782
|
rotate: 90
|
|
783
783
|
}, null)
|
|
784
784
|
}, {
|
|
785
785
|
key: "closeAllTabs",
|
|
786
786
|
label: "关闭全部",
|
|
787
|
-
icon: t(
|
|
787
|
+
icon: t(Oa, null, null)
|
|
788
788
|
}];
|
|
789
|
-
function
|
|
789
|
+
function go(e, n) {
|
|
790
790
|
const {
|
|
791
791
|
fixed: a
|
|
792
792
|
} = n.tabs, o = ae(a) ? a : a === 0;
|
|
793
793
|
return e.key === "fixed" ? o ? "取消置顶" : "置顶" : e.key === "fullScreen" ? n.fullScreen ? "还原" : "最大化" : e.label;
|
|
794
794
|
}
|
|
795
|
-
function
|
|
795
|
+
function yo(e) {
|
|
796
796
|
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Le(e);
|
|
797
797
|
}
|
|
798
|
-
const
|
|
798
|
+
const bo = It.TabPane, vo = ge.Item;
|
|
799
799
|
function K(e) {
|
|
800
800
|
return e.name;
|
|
801
801
|
}
|
|
802
|
-
const
|
|
802
|
+
const po = /* @__PURE__ */ j({
|
|
803
803
|
props: pt,
|
|
804
804
|
inheritAttrs: !1,
|
|
805
805
|
setup(e) {
|
|
@@ -814,38 +814,38 @@ const vo = /* @__PURE__ */ j({
|
|
|
814
814
|
}), s = Ge(), {
|
|
815
815
|
contentFullScreen: r,
|
|
816
816
|
levelMenuData: g,
|
|
817
|
-
flatMenuData:
|
|
818
|
-
layout:
|
|
819
|
-
splitMenus:
|
|
820
|
-
getPrefixCls:
|
|
821
|
-
} = le(), y =
|
|
817
|
+
flatMenuData: h,
|
|
818
|
+
layout: d,
|
|
819
|
+
splitMenus: m,
|
|
820
|
+
getPrefixCls: S
|
|
821
|
+
} = le(), y = S({
|
|
822
822
|
isPor: !0,
|
|
823
823
|
suffixCls: "tabs-route"
|
|
824
824
|
}), {
|
|
825
825
|
wrapSSR: u,
|
|
826
|
-
hashId:
|
|
827
|
-
} =
|
|
826
|
+
hashId: C
|
|
827
|
+
} = uo(y), b = at(y, {
|
|
828
828
|
fixed: [],
|
|
829
829
|
normal: []
|
|
830
830
|
}), c = ve({
|
|
831
|
-
fixed: o.value && ((xe =
|
|
832
|
-
normal: o.value && ((Ie =
|
|
831
|
+
fixed: o.value && ((xe = b.value) != null && xe.fixed) ? (Ne = b.value) == null ? void 0 : Ne.fixed : [],
|
|
832
|
+
normal: o.value && ((Ie = b.value) != null && Ie.normal) ? (we = b.value) == null ? void 0 : we.normal : []
|
|
833
833
|
});
|
|
834
|
-
ne(o, (
|
|
835
|
-
|
|
834
|
+
ne(o, (p) => {
|
|
835
|
+
b.value = p ? Se(c) : {
|
|
836
836
|
fixed: [],
|
|
837
837
|
normal: []
|
|
838
838
|
};
|
|
839
839
|
});
|
|
840
|
-
const
|
|
841
|
-
const
|
|
842
|
-
return z.value &&
|
|
843
|
-
}),
|
|
844
|
-
[`${
|
|
840
|
+
const v = R(() => c.fixed.concat(c.normal)), f = R(() => d.value === "mix" && !e.isMobile && m.value), w = R(() => K(s.currentRoute.value)), z = R(() => a.value && !n.value), $ = R(() => {
|
|
841
|
+
const p = !(f.value && se(h.value).length === 0 || g.value.length === 0 || d.value === "top");
|
|
842
|
+
return z.value && p ? `calc(100% - ${e.collapsed ? e.collapsedWidth : e.siderWidth}px)` : "100%";
|
|
843
|
+
}), I = R(() => Q(`${y}-wrap`, {
|
|
844
|
+
[`${C.value}`]: !0,
|
|
845
845
|
[`${y}-wrap-fixed`]: a.value,
|
|
846
846
|
[`${y}-wrap-loading`]: e.loading
|
|
847
|
-
})),
|
|
848
|
-
const
|
|
847
|
+
})), B = R(() => {
|
|
848
|
+
const p = {
|
|
849
849
|
display: e.visible ? void 0 : "none"
|
|
850
850
|
};
|
|
851
851
|
return a.value ? {
|
|
@@ -854,98 +854,98 @@ const vo = /* @__PURE__ */ j({
|
|
|
854
854
|
paddingTop: "6px",
|
|
855
855
|
zIndex: 99,
|
|
856
856
|
top: r.value ? 0 : void 0,
|
|
857
|
-
...
|
|
858
|
-
} :
|
|
857
|
+
...p
|
|
858
|
+
} : p;
|
|
859
859
|
});
|
|
860
|
-
ne(() => c, (
|
|
861
|
-
var
|
|
862
|
-
o.value && (
|
|
860
|
+
ne(() => c, (p) => {
|
|
861
|
+
var M;
|
|
862
|
+
o.value && (b.value = Se(p)), (M = e.onTabsChange) == null || M.call(e, [...c.fixed, ...c.normal]);
|
|
863
863
|
}, {
|
|
864
864
|
deep: !0
|
|
865
865
|
});
|
|
866
|
-
const k = (
|
|
867
|
-
let
|
|
868
|
-
return
|
|
869
|
-
}, O = (
|
|
866
|
+
const k = (p) => {
|
|
867
|
+
let M = c.fixed.find((N) => K(N) === p);
|
|
868
|
+
return M || (M = c.normal.find((N) => K(N) === p)), M;
|
|
869
|
+
}, O = (p) => K(p) === w.value, T = (p) => {
|
|
870
870
|
var N;
|
|
871
871
|
const {
|
|
872
|
-
fixed:
|
|
873
|
-
} = ((N =
|
|
874
|
-
return
|
|
875
|
-
}, U = (
|
|
872
|
+
fixed: M
|
|
873
|
+
} = ((N = p == null ? void 0 : p.meta) == null ? void 0 : N.tabState) || {};
|
|
874
|
+
return p != null && p.meta ? ae(M) ? M : M === 0 : !1;
|
|
875
|
+
}, U = (p) => {
|
|
876
876
|
var N, G;
|
|
877
877
|
const {
|
|
878
|
-
hidden:
|
|
879
|
-
} = ((N =
|
|
880
|
-
if (
|
|
881
|
-
const D = T(
|
|
878
|
+
hidden: M
|
|
879
|
+
} = ((N = p == null ? void 0 : p.meta) == null ? void 0 : N.tabState) || {};
|
|
880
|
+
if (p.name && p.meta && M !== !0) {
|
|
881
|
+
const D = T(p), A = K(p), ue = k(A), ze = {
|
|
882
882
|
name: A,
|
|
883
|
-
path:
|
|
884
|
-
fullPath:
|
|
885
|
-
query:
|
|
886
|
-
params:
|
|
887
|
-
meta: be(
|
|
888
|
-
tabState: (G =
|
|
883
|
+
path: p.path,
|
|
884
|
+
fullPath: p.fullPath,
|
|
885
|
+
query: p.query,
|
|
886
|
+
params: p.params,
|
|
887
|
+
meta: be(p.meta, {
|
|
888
|
+
tabState: (G = p.meta) == null ? void 0 : G.tabState
|
|
889
889
|
})
|
|
890
890
|
};
|
|
891
|
-
ue ? be(ue, ze) : D ? c.fixed.push(ze) : c.normal.push(ze), O(
|
|
891
|
+
ue ? be(ue, ze) : D ? c.fixed.push(ze) : c.normal.push(ze), O(p) && (l.activeKey = A);
|
|
892
892
|
}
|
|
893
|
-
}, _ = (
|
|
894
|
-
|
|
895
|
-
T(
|
|
893
|
+
}, _ = (p) => {
|
|
894
|
+
p.forEach((M) => {
|
|
895
|
+
T(M) && U(se(M));
|
|
896
896
|
});
|
|
897
897
|
};
|
|
898
|
-
ne(() => g.value, (
|
|
899
|
-
_(
|
|
898
|
+
ne(() => g.value, (p) => {
|
|
899
|
+
_(p);
|
|
900
900
|
}, {
|
|
901
901
|
deep: !0,
|
|
902
902
|
immediate: !0
|
|
903
|
-
}), ne(() => s.currentRoute.value, (
|
|
904
|
-
U(
|
|
903
|
+
}), ne(() => s.currentRoute.value, (p) => {
|
|
904
|
+
U(p);
|
|
905
905
|
}, {
|
|
906
906
|
deep: !0,
|
|
907
907
|
immediate: !0
|
|
908
908
|
});
|
|
909
|
-
const X = (
|
|
910
|
-
const
|
|
911
|
-
return (
|
|
912
|
-
}, he = (
|
|
913
|
-
type:
|
|
909
|
+
const X = (p) => {
|
|
910
|
+
const M = v.value.find((N) => (p || l.activeKey) === K(N));
|
|
911
|
+
return (M == null ? void 0 : M.redirect) || (M == null ? void 0 : M.fullPath) || (M == null ? void 0 : M.path) || "";
|
|
912
|
+
}, he = (p, {
|
|
913
|
+
type: M,
|
|
914
914
|
addType: N,
|
|
915
915
|
params: G
|
|
916
916
|
}) => {
|
|
917
|
-
const D = T(
|
|
918
|
-
|
|
917
|
+
const D = T(p) ? "fixed" : "normal";
|
|
918
|
+
M === "add" && N ? c[D][N](G) : M === "merge" ? c[D] = c[D].map((A) => K(A) === K(p) ? be(A, G) : A) : M === "remove" && (c[D] = c[D].filter((A) => K(A) !== K(p)));
|
|
919
919
|
}, de = () => {
|
|
920
|
-
const
|
|
921
|
-
|
|
922
|
-
path: X(K(
|
|
920
|
+
const p = v.value.slice(-1)[0];
|
|
921
|
+
p ? s.push({
|
|
922
|
+
path: X(K(p))
|
|
923
923
|
}) : s.push("/");
|
|
924
|
-
}, L = async (
|
|
925
|
-
const
|
|
926
|
-
|
|
924
|
+
}, L = async (p) => {
|
|
925
|
+
const M = v.value.find((N) => p === K(N));
|
|
926
|
+
M && (he(M, {
|
|
927
927
|
type: "remove",
|
|
928
|
-
params:
|
|
929
|
-
}), O(
|
|
930
|
-
}, F = (
|
|
931
|
-
const
|
|
932
|
-
|
|
933
|
-
path: X(K(
|
|
928
|
+
params: M
|
|
929
|
+
}), O(M) && de());
|
|
930
|
+
}, F = (p) => {
|
|
931
|
+
const M = v.value.find((N) => K(N) === p);
|
|
932
|
+
M && l.activeKey !== K(M) && s.push({
|
|
933
|
+
path: X(K(M))
|
|
934
934
|
});
|
|
935
935
|
}, P = () => {
|
|
936
|
-
var
|
|
937
|
-
i.value = !0, e.onReloadPage && ((
|
|
936
|
+
var p;
|
|
937
|
+
i.value = !0, e.onReloadPage && ((p = e.onReloadPage) == null || p.call(e)), setTimeout(() => {
|
|
938
938
|
i.value = !1;
|
|
939
939
|
}, 500);
|
|
940
|
-
}, E = (
|
|
941
|
-
const
|
|
942
|
-
l.activeKey !== E(
|
|
943
|
-
}, ye = (
|
|
944
|
-
let N = c.normal.findIndex((A) => K(A) === E(
|
|
945
|
-
const G =
|
|
946
|
-
switch (
|
|
940
|
+
}, E = (p) => l[p], ee = (p) => {
|
|
941
|
+
const M = v.value.find((N) => K(N) === E(p));
|
|
942
|
+
l.activeKey !== E(p) && (c.normal.length > 0 ? k(K(M)) || s.push(X(E(p))) : de());
|
|
943
|
+
}, ye = (p, M) => {
|
|
944
|
+
let N = c.normal.findIndex((A) => K(A) === E(M));
|
|
945
|
+
const G = v.value.find((A) => K(A) === E(M)), D = T(G);
|
|
946
|
+
switch (p) {
|
|
947
947
|
case "fixed":
|
|
948
|
-
D ? (N = c.fixed.findIndex((A) => K(A) === E(
|
|
948
|
+
D ? (N = c.fixed.findIndex((A) => K(A) === E(M)), c.normal.unshift(be(G, {
|
|
949
949
|
meta: {
|
|
950
950
|
tabState: {
|
|
951
951
|
fixed: !D
|
|
@@ -963,19 +963,19 @@ const vo = /* @__PURE__ */ j({
|
|
|
963
963
|
!i.value && L(K(G) || "");
|
|
964
964
|
break;
|
|
965
965
|
case "closeOthersTabs":
|
|
966
|
-
c.normal = c.normal.filter((A) => K(A) === E(
|
|
966
|
+
c.normal = c.normal.filter((A) => K(A) === E(M) || T(A)), ee(M);
|
|
967
967
|
break;
|
|
968
968
|
case "closeLeftTabs":
|
|
969
|
-
Ue(N) && (c.normal = c.normal.filter((A, ue) => ue >= N || T(A))), ee(
|
|
969
|
+
Ue(N) && (c.normal = c.normal.filter((A, ue) => ue >= N || T(A))), ee(M);
|
|
970
970
|
break;
|
|
971
971
|
case "closeRightTabs":
|
|
972
|
-
Ue(N) && (c.normal = c.normal.filter((A, ue) => ue <= N || T(A))), ee(
|
|
972
|
+
Ue(N) && (c.normal = c.normal.filter((A, ue) => ue <= N || T(A))), ee(M);
|
|
973
973
|
break;
|
|
974
974
|
case "closeAllTabs":
|
|
975
975
|
c.normal = c.normal.filter((A) => T(A)), de();
|
|
976
976
|
break;
|
|
977
977
|
case "reloadPage":
|
|
978
|
-
(N === 0 || N) && l.activeKey === E(
|
|
978
|
+
(N === 0 || N) && l.activeKey === E(M) && P();
|
|
979
979
|
break;
|
|
980
980
|
case "newBlank":
|
|
981
981
|
window.open(location.href);
|
|
@@ -984,29 +984,29 @@ const vo = /* @__PURE__ */ j({
|
|
|
984
984
|
r.value = !r.value;
|
|
985
985
|
break;
|
|
986
986
|
}
|
|
987
|
-
}, H = (
|
|
988
|
-
const N =
|
|
989
|
-
if (
|
|
990
|
-
return
|
|
991
|
-
if (
|
|
992
|
-
return
|
|
993
|
-
if (
|
|
994
|
-
return
|
|
995
|
-
}, Y = (
|
|
996
|
-
let
|
|
987
|
+
}, H = (p, M) => {
|
|
988
|
+
const N = v.value.findIndex((G) => K(G) === M);
|
|
989
|
+
if (p === "closeOthersTabs")
|
|
990
|
+
return v.value.filter((D, A) => A !== N && !T(D)).length === 0;
|
|
991
|
+
if (p === "closeLeftTabs")
|
|
992
|
+
return v.value.filter((D, A) => A < N && !T(D)).length === 0;
|
|
993
|
+
if (p === "closeRightTabs")
|
|
994
|
+
return v.value.filter((D, A) => A > N && !T(D)).length === 0;
|
|
995
|
+
}, Y = (p) => {
|
|
996
|
+
let M;
|
|
997
997
|
const {
|
|
998
998
|
name: N,
|
|
999
999
|
stateType: G
|
|
1000
|
-
} =
|
|
1000
|
+
} = p;
|
|
1001
1001
|
return t(ge, {
|
|
1002
1002
|
selectedKeys: [],
|
|
1003
1003
|
onClick: (D) => ye(D.key, G)
|
|
1004
|
-
},
|
|
1004
|
+
}, yo(M = ho.map((D) => {
|
|
1005
1005
|
if (D.key === "divider") return t(ge.Divider, {
|
|
1006
1006
|
key: D.key
|
|
1007
1007
|
}, null);
|
|
1008
1008
|
const A = D.icon;
|
|
1009
|
-
return D.key === "close" && T(k(N)) ? null : t(
|
|
1009
|
+
return D.key === "close" && T(k(N)) ? null : t(vo, {
|
|
1010
1010
|
key: D.key,
|
|
1011
1011
|
disabled: H(D.key, N)
|
|
1012
1012
|
}, {
|
|
@@ -1016,102 +1016,102 @@ const vo = /* @__PURE__ */ j({
|
|
|
1016
1016
|
style: {
|
|
1017
1017
|
marginInlineStart: "8px"
|
|
1018
1018
|
}
|
|
1019
|
-
}, [
|
|
1019
|
+
}, [go(D, {
|
|
1020
1020
|
tabs: ((ze = (ue = k(N)) == null ? void 0 : ue.meta) == null ? void 0 : ze.tabState) || {},
|
|
1021
1021
|
fullScreen: r.value
|
|
1022
1022
|
})])];
|
|
1023
1023
|
}
|
|
1024
1024
|
});
|
|
1025
|
-
})) ?
|
|
1026
|
-
default: () => [
|
|
1025
|
+
})) ? M : {
|
|
1026
|
+
default: () => [M]
|
|
1027
1027
|
});
|
|
1028
1028
|
}, V = ({
|
|
1029
|
-
router:
|
|
1029
|
+
router: p
|
|
1030
1030
|
}) => {
|
|
1031
|
-
const
|
|
1031
|
+
const M = e.itemRender ? e.itemRender(p) : null, N = T(p);
|
|
1032
1032
|
return t(ht, {
|
|
1033
1033
|
trigger: "contextmenu",
|
|
1034
1034
|
overlay: t(Y, {
|
|
1035
|
-
name: K(
|
|
1035
|
+
name: K(p) || "",
|
|
1036
1036
|
stateType: "contextMenuActiveKey"
|
|
1037
1037
|
}, null),
|
|
1038
1038
|
onOpenChange: (G) => {
|
|
1039
|
-
l.contextMenuActiveKey = G && K(
|
|
1039
|
+
l.contextMenuActiveKey = G && K(p) || "";
|
|
1040
1040
|
}
|
|
1041
1041
|
}, {
|
|
1042
1042
|
default: () => {
|
|
1043
1043
|
var G;
|
|
1044
|
-
return [
|
|
1045
|
-
class: [`${y}-title`,
|
|
1046
|
-
}, [l.activeKey === K(
|
|
1047
|
-
class: [`${y}-reload-btn`,
|
|
1044
|
+
return [M || t("div", {
|
|
1045
|
+
class: [`${y}-title`, C.value]
|
|
1046
|
+
}, [l.activeKey === K(p) && t(vt, {
|
|
1047
|
+
class: [`${y}-reload-btn`, C.value],
|
|
1048
1048
|
spin: i.value,
|
|
1049
1049
|
onClick: (D) => {
|
|
1050
1050
|
D.stopPropagation(), !i.value && P();
|
|
1051
1051
|
}
|
|
1052
|
-
}, null), (G =
|
|
1053
|
-
class: [`${y}-icon`,
|
|
1052
|
+
}, null), (G = p.meta) == null ? void 0 : G.title, N && t(_e, {
|
|
1053
|
+
class: [`${y}-icon`, C.value],
|
|
1054
1054
|
name: "fixed"
|
|
1055
|
-
}, null),
|
|
1056
|
-
class: [`${y}-close-btn`,
|
|
1055
|
+
}, null), v.value.length > 1 && !T(p) && t(lt, {
|
|
1056
|
+
class: [`${y}-close-btn`, C.value],
|
|
1057
1057
|
onClick: (D) => {
|
|
1058
|
-
D.stopPropagation(), !i.value && L(K(
|
|
1058
|
+
D.stopPropagation(), !i.value && L(K(p) || "");
|
|
1059
1059
|
}
|
|
1060
1060
|
}, null)])];
|
|
1061
1061
|
}
|
|
1062
1062
|
});
|
|
1063
1063
|
};
|
|
1064
1064
|
return () => {
|
|
1065
|
-
const
|
|
1066
|
-
return u(t(J, null, [a.value &&
|
|
1067
|
-
class: [`${y}-fixed`,
|
|
1068
|
-
}, null), [[
|
|
1065
|
+
const p = r.value ? ln : rn;
|
|
1066
|
+
return u(t(J, null, [a.value && jn(t("div", {
|
|
1067
|
+
class: [`${y}-fixed`, C.value]
|
|
1068
|
+
}, null), [[En, e.visible]]), t(It, {
|
|
1069
1069
|
hideAdd: !0,
|
|
1070
1070
|
type: "editable-card",
|
|
1071
|
-
style:
|
|
1072
|
-
class:
|
|
1071
|
+
style: B.value,
|
|
1072
|
+
class: I.value,
|
|
1073
1073
|
activeKey: l.activeKey,
|
|
1074
1074
|
onTabClick: F
|
|
1075
1075
|
}, {
|
|
1076
|
-
default: () => [
|
|
1077
|
-
key: K(
|
|
1076
|
+
default: () => [v.value.map((M) => t(bo, {
|
|
1077
|
+
key: K(M),
|
|
1078
1078
|
closable: !1,
|
|
1079
1079
|
tab: t(V, {
|
|
1080
|
-
router:
|
|
1080
|
+
router: M
|
|
1081
1081
|
}, null)
|
|
1082
1082
|
}, null))],
|
|
1083
1083
|
rightExtra: () => t("div", {
|
|
1084
|
-
class: Q(`${y}-dropdown-menu`,
|
|
1084
|
+
class: Q(`${y}-dropdown-menu`, C.value)
|
|
1085
1085
|
}, [t(vt, {
|
|
1086
|
-
class: [`${y}-dropdown-menu-btn`,
|
|
1086
|
+
class: [`${y}-dropdown-menu-btn`, C.value],
|
|
1087
1087
|
onClick: () => ye("reloadPage", "activeKey")
|
|
1088
1088
|
}, null), t("div", {
|
|
1089
|
-
class: [`${y}-dropdown-menu-btn-divider`,
|
|
1089
|
+
class: [`${y}-dropdown-menu-btn-divider`, C.value]
|
|
1090
1090
|
}, null), t(ht, {
|
|
1091
1091
|
overlay: t(Y, {
|
|
1092
1092
|
name: l.activeKey,
|
|
1093
1093
|
stateType: "activeKey"
|
|
1094
1094
|
}, null)
|
|
1095
1095
|
}, {
|
|
1096
|
-
default: () => [t(
|
|
1097
|
-
class: [`${y}-dropdown-menu-btn`,
|
|
1096
|
+
default: () => [t(Fa, {
|
|
1097
|
+
class: [`${y}-dropdown-menu-btn`, C.value]
|
|
1098
1098
|
}, null)]
|
|
1099
1099
|
}), t("div", {
|
|
1100
|
-
class: [`${y}-dropdown-menu-btn-divider`,
|
|
1101
|
-
}, null), t(
|
|
1102
|
-
class: [`${y}-dropdown-menu-btn`,
|
|
1100
|
+
class: [`${y}-dropdown-menu-btn-divider`, C.value]
|
|
1101
|
+
}, null), t(p, {
|
|
1102
|
+
class: [`${y}-dropdown-menu-btn`, C.value],
|
|
1103
1103
|
onClick: () => ye("fullScreen", "activeKey")
|
|
1104
1104
|
}, null)])
|
|
1105
1105
|
})]));
|
|
1106
1106
|
};
|
|
1107
1107
|
}
|
|
1108
1108
|
}), {
|
|
1109
|
-
Content:
|
|
1109
|
+
Content: Co
|
|
1110
1110
|
} = We, Ot = (e, {
|
|
1111
1111
|
slots: n,
|
|
1112
1112
|
attrs: a
|
|
1113
1113
|
}) => {
|
|
1114
|
-
var
|
|
1114
|
+
var d;
|
|
1115
1115
|
const {
|
|
1116
1116
|
hashId: o,
|
|
1117
1117
|
prefixCls: i,
|
|
@@ -1120,31 +1120,31 @@ const vo = /* @__PURE__ */ j({
|
|
|
1120
1120
|
...r
|
|
1121
1121
|
} = e;
|
|
1122
1122
|
if (e.isChildrenLayout)
|
|
1123
|
-
return (
|
|
1123
|
+
return (d = n.default) == null ? void 0 : d.call(n);
|
|
1124
1124
|
const {
|
|
1125
1125
|
flatMenuData: g,
|
|
1126
|
-
layout:
|
|
1126
|
+
layout: h
|
|
1127
1127
|
} = le();
|
|
1128
|
-
return t(J, null, [t(
|
|
1129
|
-
visible: l ? s ? !0 :
|
|
1130
|
-
}, r), null), t(
|
|
1128
|
+
return t(J, null, [t(po, te({
|
|
1129
|
+
visible: l ? s ? !0 : h.value === "mix" ? g.value.length > 0 : !0 : !1
|
|
1130
|
+
}, r), null), t(Co, {
|
|
1131
1131
|
style: a.style,
|
|
1132
1132
|
class: [`${i}-content`]
|
|
1133
1133
|
}, {
|
|
1134
1134
|
default: () => {
|
|
1135
|
-
var
|
|
1136
|
-
return [e.loading && t(
|
|
1135
|
+
var m;
|
|
1136
|
+
return [e.loading && t(so, null, null), t("div", {
|
|
1137
1137
|
class: [`${i}-content-spin-container`, o],
|
|
1138
1138
|
style: {
|
|
1139
1139
|
opacity: e.loading ? "0" : void 0
|
|
1140
1140
|
}
|
|
1141
|
-
}, [(
|
|
1141
|
+
}, [(m = n.default) == null ? void 0 : m.call(n)])];
|
|
1142
1142
|
}
|
|
1143
1143
|
})]);
|
|
1144
1144
|
};
|
|
1145
1145
|
Ot.inheritAttrs = !1;
|
|
1146
1146
|
Ot.displayName = "wrap-content";
|
|
1147
|
-
const
|
|
1147
|
+
const xo = (e) => {
|
|
1148
1148
|
const { layout: n } = Ce(e);
|
|
1149
1149
|
return {
|
|
1150
1150
|
[`${e.proComponentsCls}-header`]: {
|
|
@@ -1237,7 +1237,7 @@ const Co = (e) => {
|
|
|
1237
1237
|
}
|
|
1238
1238
|
}
|
|
1239
1239
|
};
|
|
1240
|
-
},
|
|
1240
|
+
}, So = () => t(ka, null, null), Io = (e) => {
|
|
1241
1241
|
var n;
|
|
1242
1242
|
return {
|
|
1243
1243
|
"&-content": {
|
|
@@ -1279,7 +1279,7 @@ const Co = (e) => {
|
|
|
1279
1279
|
"&:hover": {
|
|
1280
1280
|
backgroundColor: e.colorBgTextHover
|
|
1281
1281
|
},
|
|
1282
|
-
"* div": (n =
|
|
1282
|
+
"* div": (n = ba) == null ? void 0 : n(e),
|
|
1283
1283
|
a: {
|
|
1284
1284
|
display: "flex",
|
|
1285
1285
|
height: "100%",
|
|
@@ -1307,7 +1307,7 @@ const Co = (e) => {
|
|
|
1307
1307
|
}
|
|
1308
1308
|
}
|
|
1309
1309
|
};
|
|
1310
|
-
},
|
|
1310
|
+
}, wo = (e) => ({
|
|
1311
1311
|
"&-content": {
|
|
1312
1312
|
maxHeight: "calc(100vh - 48px)",
|
|
1313
1313
|
overflow: "auto",
|
|
@@ -1389,12 +1389,12 @@ const Co = (e) => {
|
|
|
1389
1389
|
}
|
|
1390
1390
|
}
|
|
1391
1391
|
}
|
|
1392
|
-
}),
|
|
1392
|
+
}), Ro = (e) => ({
|
|
1393
1393
|
[e.componentCls]: {
|
|
1394
|
-
"&-simple":
|
|
1395
|
-
"&-default":
|
|
1394
|
+
"&-simple": wo(e),
|
|
1395
|
+
"&-default": Io(e)
|
|
1396
1396
|
}
|
|
1397
|
-
}),
|
|
1397
|
+
}), $o = (e) => {
|
|
1398
1398
|
var a, o, i, l, s;
|
|
1399
1399
|
const { theme: n } = Ce(e);
|
|
1400
1400
|
return {
|
|
@@ -1445,7 +1445,7 @@ const Co = (e) => {
|
|
|
1445
1445
|
}
|
|
1446
1446
|
}
|
|
1447
1447
|
};
|
|
1448
|
-
},
|
|
1448
|
+
}, Bo = ({
|
|
1449
1449
|
logo: e
|
|
1450
1450
|
}) => typeof e == "string" ? t("img", {
|
|
1451
1451
|
width: "auto",
|
|
@@ -1464,15 +1464,15 @@ const Co = (e) => {
|
|
|
1464
1464
|
}), {
|
|
1465
1465
|
wrapSSR: o,
|
|
1466
1466
|
hashId: i
|
|
1467
|
-
} = fe("AppsLogoIcon", [
|
|
1467
|
+
} = fe("AppsLogoIcon", [$o], a), [l, s] = pe(!1), r = me(), g = me();
|
|
1468
1468
|
return () => {
|
|
1469
|
-
var
|
|
1469
|
+
var h;
|
|
1470
1470
|
return o(t(J, null, [t("div", {
|
|
1471
1471
|
ref: r,
|
|
1472
|
-
onClick: (
|
|
1473
|
-
|
|
1472
|
+
onClick: (d) => {
|
|
1473
|
+
d.stopPropagation(), d.preventDefault();
|
|
1474
1474
|
}
|
|
1475
|
-
}, null), t(
|
|
1475
|
+
}, null), t(Xn, {
|
|
1476
1476
|
placement: "bottomRight",
|
|
1477
1477
|
trigger: ["click"],
|
|
1478
1478
|
arrow: !1,
|
|
@@ -1480,18 +1480,18 @@ const Co = (e) => {
|
|
|
1480
1480
|
open: l.value,
|
|
1481
1481
|
onOpenChange: s,
|
|
1482
1482
|
overlayClassName: `${a}-popover ${i.value}`.trim(),
|
|
1483
|
-
content: (
|
|
1483
|
+
content: (h = n.default) == null ? void 0 : h.call(n),
|
|
1484
1484
|
getPopupContainer: () => r.value || document.body
|
|
1485
1485
|
}, {
|
|
1486
1486
|
default: () => [t("span", {
|
|
1487
1487
|
ref: g,
|
|
1488
|
-
onClick: (
|
|
1489
|
-
|
|
1488
|
+
onClick: (d) => {
|
|
1489
|
+
d.stopPropagation();
|
|
1490
1490
|
},
|
|
1491
1491
|
class: Q(`${a}-icon`, i.value, {
|
|
1492
1492
|
[`${a}-icon-active`]: l.value
|
|
1493
1493
|
})
|
|
1494
|
-
}, [t(
|
|
1494
|
+
}, [t(So, null, null)])]
|
|
1495
1495
|
})]));
|
|
1496
1496
|
};
|
|
1497
1497
|
}
|
|
@@ -1508,14 +1508,14 @@ const et = (e) => {
|
|
|
1508
1508
|
if (!n)
|
|
1509
1509
|
return null;
|
|
1510
1510
|
if (typeof n == "string" && n !== "") {
|
|
1511
|
-
if (Rt(n) ||
|
|
1511
|
+
if (Rt(n) || ra(n))
|
|
1512
1512
|
return t("img", {
|
|
1513
1513
|
src: n,
|
|
1514
1514
|
alt: "icon",
|
|
1515
1515
|
class: `${e.className}-icon-image`
|
|
1516
1516
|
}, null);
|
|
1517
1517
|
if (a && typeof a == "string") {
|
|
1518
|
-
const l =
|
|
1518
|
+
const l = Ta({
|
|
1519
1519
|
scriptUrl: o || Z.iconfontUrl
|
|
1520
1520
|
});
|
|
1521
1521
|
return o ? t(l, {
|
|
@@ -1543,61 +1543,61 @@ const et = (e) => {
|
|
|
1543
1543
|
} = le(), o = a({
|
|
1544
1544
|
suffixCls: "menu-item",
|
|
1545
1545
|
isPor: !0
|
|
1546
|
-
}), i =
|
|
1547
|
-
var
|
|
1548
|
-
(
|
|
1546
|
+
}), i = R(() => y(e.menuData)), l = (u) => {
|
|
1547
|
+
var C;
|
|
1548
|
+
(C = e.onOpenKeys) == null || C.call(e, u);
|
|
1549
1549
|
}, s = (u) => {
|
|
1550
|
-
var
|
|
1551
|
-
(
|
|
1550
|
+
var C;
|
|
1551
|
+
(C = e.onSelect) == null || C.call(e, u);
|
|
1552
1552
|
}, r = (u) => {
|
|
1553
|
+
var C;
|
|
1554
|
+
(C = e.onClick) == null || C.call(e, u);
|
|
1555
|
+
}, g = (u, C) => {
|
|
1553
1556
|
var v;
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
}, f = Qt("router-link"), m = (u, v) => {
|
|
1560
|
-
var h;
|
|
1561
|
-
const I = Fe(u == null ? void 0 : u.icon), c = typeof u.badge == "function" ? t("div", {
|
|
1557
|
+
const b = u.link || "", c = Rt(b);
|
|
1558
|
+
((v = n.currentRoute.value) == null ? void 0 : v.fullPath) !== C.to && c && b && u.linkStatus === 1 && window.open(b);
|
|
1559
|
+
}, h = Qt("router-link"), d = (u, C) => {
|
|
1560
|
+
var f;
|
|
1561
|
+
const b = Fe(u == null ? void 0 : u.icon), c = typeof u.badge == "function" ? t("div", {
|
|
1562
1562
|
class: `${o}-item-bradde`
|
|
1563
|
-
}, [(
|
|
1564
|
-
class: [`${o}-title`, !
|
|
1563
|
+
}, [(f = u.badge) == null ? void 0 : f.call(u, $e(u, "badge"))]) : null, v = t("span", {
|
|
1564
|
+
class: [`${o}-title`, !b && `${o}-title-no-icon`]
|
|
1565
1565
|
}, [u.title]);
|
|
1566
|
-
return
|
|
1566
|
+
return C ? v : t(J, null, [v, c ?? (sa(u.badge) && t(Vn, te({
|
|
1567
1567
|
class: `${o}-item-bradde`,
|
|
1568
1568
|
overflowCount: 999
|
|
1569
1569
|
}, u.badge), null))]);
|
|
1570
|
-
},
|
|
1571
|
-
var $,
|
|
1572
|
-
let
|
|
1573
|
-
const
|
|
1570
|
+
}, m = (u) => {
|
|
1571
|
+
var $, I, B;
|
|
1572
|
+
let C;
|
|
1573
|
+
const b = {
|
|
1574
1574
|
...u.meta
|
|
1575
|
-
}, c =
|
|
1576
|
-
to:
|
|
1577
|
-
},
|
|
1575
|
+
}, c = b.linkStatus === 1 && b.link ? "a" : h, v = {
|
|
1576
|
+
to: ca(u.redirect) ? u.redirect : u.path || ""
|
|
1577
|
+
}, f = Fe(($ = u.meta) == null ? void 0 : $.icon), w = t(c, te(v, {
|
|
1578
1578
|
class: "gx-pro-menu-item",
|
|
1579
|
-
onClick: () => g(
|
|
1580
|
-
}), mt(
|
|
1581
|
-
default: () => [
|
|
1582
|
-
}), z =
|
|
1579
|
+
onClick: () => g(b, v)
|
|
1580
|
+
}), mt(C = d(b, !f)) ? C : {
|
|
1581
|
+
default: () => [C]
|
|
1582
|
+
}), z = f && t(et, {
|
|
1583
1583
|
className: o,
|
|
1584
|
-
icon: (
|
|
1584
|
+
icon: (I = u.meta) == null ? void 0 : I.icon,
|
|
1585
1585
|
iconfontUrl: e.iconfontUrl,
|
|
1586
|
-
iconFont: (
|
|
1586
|
+
iconFont: (B = u.meta) == null ? void 0 : B.iconFont
|
|
1587
1587
|
}, null) || void 0;
|
|
1588
|
-
return [
|
|
1589
|
-
},
|
|
1590
|
-
var c,
|
|
1591
|
-
if ($t(u.children) && !((c = u == null ? void 0 : u.meta) != null && c.hideInMenu) && !((
|
|
1588
|
+
return [w, z];
|
|
1589
|
+
}, S = (u) => {
|
|
1590
|
+
var c, v, f, w, z, $, I, B;
|
|
1591
|
+
if ($t(u.children) && !((c = u == null ? void 0 : u.meta) != null && c.hideInMenu) && !((v = u == null ? void 0 : u.meta) != null && v.hideChildrenInMenu)) {
|
|
1592
1592
|
let k;
|
|
1593
1593
|
if (e.subMenuItemRender)
|
|
1594
1594
|
return e.subMenuItemRender({
|
|
1595
1595
|
item: u,
|
|
1596
1596
|
children: y(u.children)
|
|
1597
1597
|
});
|
|
1598
|
-
const O = (
|
|
1598
|
+
const O = (f = u.meta) != null && f.icon ? t("span", {
|
|
1599
1599
|
class: "gx-pro-menu-item"
|
|
1600
|
-
}, [
|
|
1600
|
+
}, [d(u.meta)]) : u.meta && d(u.meta), T = ((w = u.meta) == null ? void 0 : w.type) === "group", U = T ? ge.ItemGroup : ge.SubMenu;
|
|
1601
1601
|
return t(U, {
|
|
1602
1602
|
title: O,
|
|
1603
1603
|
key: u.path,
|
|
@@ -1611,22 +1611,22 @@ const et = (e) => {
|
|
|
1611
1611
|
default: () => [k]
|
|
1612
1612
|
});
|
|
1613
1613
|
}
|
|
1614
|
-
if ((
|
|
1615
|
-
const [
|
|
1614
|
+
if ((I = u == null ? void 0 : u.meta) != null && I.hideInMenu) return null;
|
|
1615
|
+
const [C, b] = m(u);
|
|
1616
1616
|
return e.menuItemRender && e.menuItemRender({
|
|
1617
1617
|
item: u,
|
|
1618
|
-
title:
|
|
1619
|
-
icon:
|
|
1618
|
+
title: C,
|
|
1619
|
+
icon: b
|
|
1620
1620
|
}) || t(ge.Item, {
|
|
1621
|
-
disabled: (
|
|
1621
|
+
disabled: (B = u.meta) == null ? void 0 : B.disabled,
|
|
1622
1622
|
key: u.path,
|
|
1623
|
-
icon:
|
|
1624
|
-
}, mt(
|
|
1625
|
-
default: () => [
|
|
1623
|
+
icon: b
|
|
1624
|
+
}, mt(C) ? C : {
|
|
1625
|
+
default: () => [C]
|
|
1626
1626
|
});
|
|
1627
1627
|
};
|
|
1628
1628
|
function y(u = []) {
|
|
1629
|
-
return u.map((
|
|
1629
|
+
return u.map((C) => S(C)).filter((C) => C);
|
|
1630
1630
|
}
|
|
1631
1631
|
return () => t(ge, te({
|
|
1632
1632
|
key: "Menu",
|
|
@@ -1642,7 +1642,7 @@ const et = (e) => {
|
|
|
1642
1642
|
default: () => [i.value]
|
|
1643
1643
|
});
|
|
1644
1644
|
}
|
|
1645
|
-
}), Cn = new
|
|
1645
|
+
}), Cn = new x("pro-layout-title-hide", {
|
|
1646
1646
|
"0%": { display: "none", opacity: 0 },
|
|
1647
1647
|
"80%": {
|
|
1648
1648
|
overflow: "hidden"
|
|
@@ -1743,7 +1743,7 @@ const et = (e) => {
|
|
|
1743
1743
|
}
|
|
1744
1744
|
}
|
|
1745
1745
|
};
|
|
1746
|
-
},
|
|
1746
|
+
}, Lo = (e) => {
|
|
1747
1747
|
var l;
|
|
1748
1748
|
const n = `${e.antCls}-menu`, a = `${e.proComponentsCls}-menu-item`, { layout: o } = Ce(e), i = (l = e == null ? void 0 : e.layout) == null ? void 0 : l.sider;
|
|
1749
1749
|
return {
|
|
@@ -1777,7 +1777,7 @@ const et = (e) => {
|
|
|
1777
1777
|
}
|
|
1778
1778
|
}
|
|
1779
1779
|
};
|
|
1780
|
-
},
|
|
1780
|
+
}, Oo = (e) => ({
|
|
1781
1781
|
[`${e.proComponentsCls}-basic-layout`]: {
|
|
1782
1782
|
[`${e.antCls}-menu`]: {
|
|
1783
1783
|
[`${e.proComponentsCls}-menu-item-icon${e.antCls}-menu-item-icon`]: {
|
|
@@ -1790,7 +1790,7 @@ const et = (e) => {
|
|
|
1790
1790
|
src: e,
|
|
1791
1791
|
alt: "logo",
|
|
1792
1792
|
style: n
|
|
1793
|
-
}, null) : typeof e == "function" ? e() : e,
|
|
1793
|
+
}, null) : typeof e == "function" ? e() : e, Fo = (e) => {
|
|
1794
1794
|
const {
|
|
1795
1795
|
logo: n,
|
|
1796
1796
|
logoStyle: a,
|
|
@@ -1803,7 +1803,7 @@ const et = (e) => {
|
|
|
1803
1803
|
}, Ft = /* @__PURE__ */ j({
|
|
1804
1804
|
name: "LogoContent",
|
|
1805
1805
|
props: {
|
|
1806
|
-
...
|
|
1806
|
+
...Ja,
|
|
1807
1807
|
hashId: String,
|
|
1808
1808
|
baseClassName: String
|
|
1809
1809
|
},
|
|
@@ -1828,7 +1828,7 @@ const et = (e) => {
|
|
|
1828
1828
|
}
|
|
1829
1829
|
}, [t("a", {
|
|
1830
1830
|
key: "title"
|
|
1831
|
-
}, [
|
|
1831
|
+
}, [Fo({
|
|
1832
1832
|
...e,
|
|
1833
1833
|
collapsed: a.value
|
|
1834
1834
|
}) || null]), (o = n.default) == null ? void 0 : o.call(n)]);
|
|
@@ -1894,7 +1894,7 @@ const Sn = (e) => {
|
|
|
1894
1894
|
}
|
|
1895
1895
|
}
|
|
1896
1896
|
};
|
|
1897
|
-
},
|
|
1897
|
+
}, ko = (e) => {
|
|
1898
1898
|
var a;
|
|
1899
1899
|
const n = (a = e.layout) == null ? void 0 : a.sider;
|
|
1900
1900
|
return {
|
|
@@ -1934,10 +1934,10 @@ const Sn = (e) => {
|
|
|
1934
1934
|
}
|
|
1935
1935
|
};
|
|
1936
1936
|
};
|
|
1937
|
-
function
|
|
1938
|
-
return t(
|
|
1937
|
+
function To() {
|
|
1938
|
+
return t(Pa, null, null);
|
|
1939
1939
|
}
|
|
1940
|
-
const
|
|
1940
|
+
const Po = /* @__PURE__ */ j({
|
|
1941
1941
|
name: "CollapsedIcon",
|
|
1942
1942
|
inheritAttrs: !1,
|
|
1943
1943
|
props: {
|
|
@@ -1954,7 +1954,7 @@ const To = /* @__PURE__ */ j({
|
|
|
1954
1954
|
}), {
|
|
1955
1955
|
wrapSSR: o,
|
|
1956
1956
|
hashId: i
|
|
1957
|
-
} = fe("SiderMenuCollapsedIcon", [
|
|
1957
|
+
} = fe("SiderMenuCollapsedIcon", [ko], a);
|
|
1958
1958
|
return () => o(t("div", {
|
|
1959
1959
|
class: Q(a, i.value, {
|
|
1960
1960
|
[`${a}-collapsed`]: e.collapsed,
|
|
@@ -1964,7 +1964,7 @@ const To = /* @__PURE__ */ j({
|
|
|
1964
1964
|
var s;
|
|
1965
1965
|
return (s = e.onClick) == null ? void 0 : s.call(e, l);
|
|
1966
1966
|
}
|
|
1967
|
-
}, [t(
|
|
1967
|
+
}, [t(To, null, null)]));
|
|
1968
1968
|
}
|
|
1969
1969
|
}), In = (e, n, a) => e.sort((o, i) => {
|
|
1970
1970
|
var r, g;
|
|
@@ -1974,7 +1974,7 @@ const To = /* @__PURE__ */ j({
|
|
|
1974
1974
|
var l, s;
|
|
1975
1975
|
return o.meta = o.meta || {}, o.meta.order = o.meta.order || i + 1, o.key = a != null && a.key ? `${a == null ? void 0 : a.key}-${i}` : `${i}`, a != null && a.hidden && (o.hidden = !0), a != null && a.hideChildren && (o.hidden = !0), (l = a == null ? void 0 : a.meta) != null && l.hideInMenu && (o.meta.hideInMenu = !0), (s = a == null ? void 0 : a.meta) != null && s.hideChildrenInMenu && (o.meta.hideInMenu = !0), o.path = o.path.replace("//", "/"), o.children && o.children.length > 0 && (o.children = In(o.children, n, o)), n[`${o.path}`] = o, o;
|
|
1976
1976
|
});
|
|
1977
|
-
function
|
|
1977
|
+
function wn(e) {
|
|
1978
1978
|
const { menuSelectKey: n } = (e == null ? void 0 : e.meta) || {};
|
|
1979
1979
|
return n || e.fullPath || e.path;
|
|
1980
1980
|
}
|
|
@@ -1986,16 +1986,16 @@ const No = (e) => {
|
|
|
1986
1986
|
return {
|
|
1987
1987
|
menuData: o,
|
|
1988
1988
|
breadcrumb: a,
|
|
1989
|
-
getLevel: () =>
|
|
1989
|
+
getLevel: () => Bt(o)
|
|
1990
1990
|
};
|
|
1991
1991
|
};
|
|
1992
1992
|
function zo(e) {
|
|
1993
1993
|
const n = /* @__PURE__ */ new Map(), a = [];
|
|
1994
1994
|
function o(l) {
|
|
1995
1995
|
return l.map((s) => {
|
|
1996
|
-
const r = s.path, g = s.name,
|
|
1997
|
-
if (s.hidden || !g ||
|
|
1998
|
-
return (!g ||
|
|
1996
|
+
const r = s.path, g = s.name, h = n.has(g) && n.get(g) !== r;
|
|
1997
|
+
if (s.hidden || !g || h)
|
|
1998
|
+
return (!g || h) && (a.some((d) => d.name === g && r === s.path) || a.push({ ...s })), null;
|
|
1999
1999
|
if (n.set(g, r), s && (s != null && s.children))
|
|
2000
2000
|
if (s.hideChildren)
|
|
2001
2001
|
s.children = [];
|
|
@@ -2007,17 +2007,17 @@ function zo(e) {
|
|
|
2007
2007
|
return s;
|
|
2008
2008
|
}).filter((s) => s);
|
|
2009
2009
|
}
|
|
2010
|
-
const i = o(
|
|
2010
|
+
const i = o(ua(e));
|
|
2011
2011
|
return a.length > 0 && console.warn("The menu contains duplicate names or name undefined: ", a), i;
|
|
2012
2012
|
}
|
|
2013
2013
|
function Do(e) {
|
|
2014
|
-
return e.map((n) => n.hidden ? null : (n.redirect = n.redirect === void 0 ?
|
|
2014
|
+
return e.map((n) => n.hidden ? null : (n.redirect = n.redirect === void 0 ? Rn(n.children || []) || void 0 : n.redirect, n.children && delete n.children, n)).filter((n) => n);
|
|
2015
2015
|
}
|
|
2016
2016
|
function Ao(e, n) {
|
|
2017
2017
|
const a = (n || "").split("/").length === 2 ? n || "" : `/${(n || "").split("/")[1]}`, o = e.find((i) => i.path === a);
|
|
2018
2018
|
return n === void 0 ? [] : (o == null ? void 0 : o.children) || [];
|
|
2019
2019
|
}
|
|
2020
|
-
function
|
|
2020
|
+
function Rn(e) {
|
|
2021
2021
|
var l, s;
|
|
2022
2022
|
const n = e == null ? void 0 : e.filter((r) => {
|
|
2023
2023
|
var g;
|
|
@@ -2025,9 +2025,9 @@ function wn(e) {
|
|
|
2025
2025
|
}), a = n[0];
|
|
2026
2026
|
let o = "";
|
|
2027
2027
|
const i = function(r) {
|
|
2028
|
-
var
|
|
2028
|
+
var h;
|
|
2029
2029
|
let g = "";
|
|
2030
|
-
return r != null && r.children && (r == null ? void 0 : r.children.length) > 0 ? g = i((
|
|
2030
|
+
return r != null && r.children && (r == null ? void 0 : r.children.length) > 0 ? g = i((h = r == null ? void 0 : r.children) == null ? void 0 : h[0]) : g = (r == null ? void 0 : r.redirect) || (r == null ? void 0 : r.path) || "", g;
|
|
2031
2031
|
};
|
|
2032
2032
|
if (n.length > 0 && (a != null && a.children) && ((l = a == null ? void 0 : a.children) == null ? void 0 : l.length) > 0)
|
|
2033
2033
|
o = i((s = a == null ? void 0 : a.children) == null ? void 0 : s[0]);
|
|
@@ -2037,7 +2037,7 @@ function wn(e) {
|
|
|
2037
2037
|
}
|
|
2038
2038
|
return o;
|
|
2039
2039
|
}
|
|
2040
|
-
function
|
|
2040
|
+
function $n(e, n) {
|
|
2041
2041
|
var a;
|
|
2042
2042
|
for (const o of e) {
|
|
2043
2043
|
if (o.key === n) {
|
|
@@ -2050,22 +2050,23 @@ function Rn(e, n) {
|
|
|
2050
2050
|
return i.key;
|
|
2051
2051
|
}
|
|
2052
2052
|
if (o.children) {
|
|
2053
|
-
const i =
|
|
2053
|
+
const i = $n(o.children, n);
|
|
2054
2054
|
if (i)
|
|
2055
2055
|
return i;
|
|
2056
2056
|
}
|
|
2057
2057
|
}
|
|
2058
2058
|
}
|
|
2059
2059
|
function Ho({ menuData: e, levelMenuData: n }, { path: a, name: o }) {
|
|
2060
|
-
var
|
|
2061
|
-
const i = n.find((
|
|
2062
|
-
let r = ((
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2060
|
+
var S, y, u, C;
|
|
2061
|
+
const i = n.find((b) => b.name === o), l = (i == null ? void 0 : i.key) || "", s = (S = i == null ? void 0 : i.meta) == null ? void 0 : S.hideInMenu;
|
|
2062
|
+
let r = ((y = n.find((b) => b.path === a)) == null ? void 0 : y.key) || "";
|
|
2063
|
+
const g = !r || s, h = l.split("-").slice(0, -1).join("-"), d = n.find((b) => b.key === h), m = $n(e, h) || r;
|
|
2064
|
+
if (r = g ? (u = d == null ? void 0 : d.meta) != null && u.menuSelectKey && ((C = n.find((b) => b.path === wn(d))) == null ? void 0 : C.key) || m : r, r) {
|
|
2065
|
+
const b = [], c = r.split("-");
|
|
2066
|
+
for (let f = 0; f < c.length; f += 1)
|
|
2067
|
+
b.push(Se(c).splice(0, f + 1).join("-"));
|
|
2068
|
+
const v = l === r || s ? [] : n.filter((f) => l === f.key);
|
|
2069
|
+
return n.filter((f) => b.some((w) => w === (f == null ? void 0 : f.key) || "")).concat(v);
|
|
2069
2070
|
}
|
|
2070
2071
|
return [];
|
|
2071
2072
|
}
|
|
@@ -2097,9 +2098,9 @@ const jo = ["left", "right"], Ee = ["left", "right", "down", "up"], Eo = ["downB
|
|
|
2097
2098
|
colorItemTextSelected: "colorTextMenuSelected",
|
|
2098
2099
|
colorItemTextSelectedHorizontal: "colorTextMenuSelected"
|
|
2099
2100
|
};
|
|
2100
|
-
function
|
|
2101
|
-
var g,
|
|
2102
|
-
const i = (g = n.layout) == null ? void 0 : g[e], l = it(e, n, ((
|
|
2101
|
+
function Bn({ type: e, token: n, dark: a, staticToken: o }) {
|
|
2102
|
+
var g, h;
|
|
2103
|
+
const i = (g = n.layout) == null ? void 0 : g[e], l = it(e, n, ((h = n.layout) == null ? void 0 : h.key) || ""), s = Object.keys(ft).reduce((d, m) => (d[m] = i[ft[m]] || l[ft[m]], d), {}), r = Object.assign(o, Object.fromEntries(Object.entries(s).filter(([d, m]) => m !== void 0)));
|
|
2103
2104
|
return a && e === "header" && (r.colorActiveBarHeight = 0), r;
|
|
2104
2105
|
}
|
|
2105
2106
|
function Uo(e) {
|
|
@@ -2119,7 +2120,7 @@ function Kt(e) {
|
|
|
2119
2120
|
}
|
|
2120
2121
|
const {
|
|
2121
2122
|
Sider: Vo
|
|
2122
|
-
} = We, Mn = (e) => e ? t(
|
|
2123
|
+
} = We, Mn = (e) => e ? t(Na, null, null) : t(za, null, null), Wt = /* @__PURE__ */ j({
|
|
2123
2124
|
props: ce,
|
|
2124
2125
|
inheritAttrs: !1,
|
|
2125
2126
|
setup(e) {
|
|
@@ -2131,29 +2132,29 @@ const {
|
|
|
2131
2132
|
openKeys: l,
|
|
2132
2133
|
menuState: s,
|
|
2133
2134
|
contentFullScreen: r
|
|
2134
|
-
} = le(), g =
|
|
2135
|
-
token:
|
|
2135
|
+
} = le(), g = Mt(), {
|
|
2136
|
+
token: h
|
|
2136
2137
|
} = Oe(), {
|
|
2137
|
-
theme:
|
|
2138
|
-
layout:
|
|
2139
|
-
isMobile:
|
|
2138
|
+
theme: d,
|
|
2139
|
+
layout: m,
|
|
2140
|
+
isMobile: S,
|
|
2140
2141
|
menuLoading: y,
|
|
2141
2142
|
breakpoint: u,
|
|
2142
|
-
fixSiderbar:
|
|
2143
|
-
fixedHeader:
|
|
2143
|
+
fixSiderbar: C,
|
|
2144
|
+
fixedHeader: b,
|
|
2144
2145
|
collapsed: c,
|
|
2145
|
-
siderWidth:
|
|
2146
|
-
collapsedWidth:
|
|
2147
|
-
menuContentRender:
|
|
2146
|
+
siderWidth: v,
|
|
2147
|
+
collapsedWidth: f,
|
|
2148
|
+
menuContentRender: w,
|
|
2148
2149
|
menuFooterRender: z,
|
|
2149
2150
|
collapsedButtonRender: $
|
|
2150
|
-
} = tt(e),
|
|
2151
|
+
} = tt(e), I = n({
|
|
2151
2152
|
suffixCls: "sider",
|
|
2152
2153
|
isPor: !0
|
|
2153
|
-
}),
|
|
2154
|
+
}), B = R(() => e.layout === "wide"), k = R(() => e.layout === "mix" && !e.isMobile && e.splitMenus), O = R(() => m.value === "side" || m.value === "simple"), T = R(() => e.isMobile || B.value ? !1 : C.value), U = R(() => (e.layout === "mix" || B.value) && "light" || s.value.theme), {
|
|
2154
2155
|
wrapSSR: _,
|
|
2155
2156
|
hashId: X
|
|
2156
|
-
} = fe("ProLayoutSiderMenu", [
|
|
2157
|
+
} = fe("ProLayoutSiderMenu", [Oo, Lo, Mo, Sn, (H) => {
|
|
2157
2158
|
var Ie, we;
|
|
2158
2159
|
const Y = (Ie = H == null ? void 0 : H.layout) == null ? void 0 : Ie.sider, V = it("sider", H, (we = H.layout) == null ? void 0 : we.key), {
|
|
2159
2160
|
dark: xe
|
|
@@ -2169,7 +2170,7 @@ const {
|
|
|
2169
2170
|
}
|
|
2170
2171
|
}
|
|
2171
2172
|
};
|
|
2172
|
-
}],
|
|
2173
|
+
}], I), he = R(() => m.value === "top" ? [] : i.value), de = R(() => e.collapsed ? f.value : v.value), L = R(() => Q([X.value, I, S.value ? "shadow" : null, `${I}-${d.value}`, T.value ? `${I}-fixed` : null])), F = R(() => $.value !== !1 ? $.value || Mn : !1), P = yt(() => e.layout === "simple" || !e.appLogoListRender ? null : t(vn, null, {
|
|
2173
2174
|
default: () => {
|
|
2174
2175
|
var H;
|
|
2175
2176
|
return [typeof e.appLogoListRender == "function" ? (H = e.appLogoListRender) == null ? void 0 : H.call(e) : e.appLogoListRender];
|
|
@@ -2182,8 +2183,8 @@ const {
|
|
|
2182
2183
|
const ee = yt(() => {
|
|
2183
2184
|
var Y;
|
|
2184
2185
|
if ($.value === !1) return null;
|
|
2185
|
-
const H = t(
|
|
2186
|
-
isMobile:
|
|
2186
|
+
const H = t(Po, {
|
|
2187
|
+
isMobile: S.value,
|
|
2187
2188
|
collapsed: c.value,
|
|
2188
2189
|
onClick: () => E()
|
|
2189
2190
|
}, null);
|
|
@@ -2204,11 +2205,11 @@ const {
|
|
|
2204
2205
|
let H;
|
|
2205
2206
|
const Y = O.value && t(Ft, te({
|
|
2206
2207
|
hashId: X.value,
|
|
2207
|
-
baseClassName:
|
|
2208
|
+
baseClassName: I
|
|
2208
2209
|
}, oe(e, Object.keys(rt))), {
|
|
2209
2210
|
default: () => [P.value]
|
|
2210
2211
|
}), V = e.menuHeaderRender && ((we = e.menuHeaderRender) == null ? void 0 : we.call(e, e)), xe = e.menuLinksRender, Ne = e.siderActionsRender, Ie = t(pn, {
|
|
2211
|
-
class: `${
|
|
2212
|
+
class: `${I}-menu ${X.value}`,
|
|
2212
2213
|
theme: U.value,
|
|
2213
2214
|
mode: "inline",
|
|
2214
2215
|
menuData: k.value ? o.value : he.value,
|
|
@@ -2221,17 +2222,17 @@ const {
|
|
|
2221
2222
|
style: {
|
|
2222
2223
|
width: "100%"
|
|
2223
2224
|
},
|
|
2224
|
-
onOpenKeys: (
|
|
2225
|
-
var
|
|
2226
|
-
return e.onOpenKeys && ((
|
|
2225
|
+
onOpenKeys: (p) => {
|
|
2226
|
+
var M;
|
|
2227
|
+
return e.onOpenKeys && ((M = e.onOpenKeys) == null ? void 0 : M.call(e, p));
|
|
2227
2228
|
},
|
|
2228
2229
|
onSelect: ye
|
|
2229
2230
|
}, null);
|
|
2230
2231
|
return k.value && se(o.value).length === 0 && e.suppressSiderWhenMenuEmpty || he.value.length === 0 && e.suppressSiderWhenMenuEmpty ? null : _(t(wt, {
|
|
2231
2232
|
theme: {
|
|
2232
2233
|
components: {
|
|
2233
|
-
Menu:
|
|
2234
|
-
token: (
|
|
2234
|
+
Menu: Bn({
|
|
2235
|
+
token: (h == null ? void 0 : h.value) || {},
|
|
2235
2236
|
staticToken: {
|
|
2236
2237
|
radiusItem: 4,
|
|
2237
2238
|
colorActiveBarWidth: 0,
|
|
@@ -2259,69 +2260,69 @@ const {
|
|
|
2259
2260
|
class: L.value,
|
|
2260
2261
|
style: {
|
|
2261
2262
|
zIndex: T.value ? 101 : void 0,
|
|
2262
|
-
paddingTop: T.value &&
|
|
2263
|
+
paddingTop: T.value && b.value && m.value === "mix" ? `${e.headerHeight}px` : 0,
|
|
2263
2264
|
top: e.layout === "wide" ? `${e.headerHeight + 20}px` : void 0,
|
|
2264
2265
|
height: e.layout === "wide" ? `calc(100vh - ${e.headerHeight + 20 * 2}px)` : void 0
|
|
2265
2266
|
},
|
|
2266
2267
|
theme: U.value,
|
|
2267
2268
|
breakpoint: u.value || void 0,
|
|
2268
2269
|
collapsed: c.value,
|
|
2269
|
-
width:
|
|
2270
|
-
collapsedWidth:
|
|
2270
|
+
width: v.value,
|
|
2271
|
+
collapsedWidth: f.value
|
|
2271
2272
|
}, {
|
|
2272
2273
|
default: () => {
|
|
2273
|
-
var
|
|
2274
|
+
var p, M, N, G;
|
|
2274
2275
|
return [y.value && t("div", {
|
|
2275
2276
|
class: ["gx-pro-sider-loading", X.value]
|
|
2276
2277
|
}, [t(St, {
|
|
2277
2278
|
spinning: y.value,
|
|
2278
|
-
indicator: (
|
|
2279
|
+
indicator: (p = g == null ? void 0 : g.indicator) == null ? void 0 : p.value
|
|
2279
2280
|
}, null)]), Y || null, Fe(e.menuHeaderRender) && t("div", {
|
|
2280
|
-
class: Q([X.value, `${
|
|
2281
|
+
class: Q([X.value, `${I}-extra`, !Y && `${I}-extra-no-logo`])
|
|
2281
2282
|
}, [V]), t("div", {
|
|
2282
2283
|
style: {
|
|
2283
2284
|
flex: "1 1 0%",
|
|
2284
2285
|
overflow: "hidden auto"
|
|
2285
2286
|
}
|
|
2286
|
-
}, [
|
|
2287
|
-
class: `${
|
|
2287
|
+
}, [w.value && ((M = w.value) == null ? void 0 : M.call(w, e, Ie)) || Ie]), e.layout !== "wide" && t(J, null, [Fe(xe) && $t(xe) && xe.length > 0 && t("div", {
|
|
2288
|
+
class: `${I}-links ${X.value}`
|
|
2288
2289
|
}, [t(ge, {
|
|
2289
2290
|
theme: U.value,
|
|
2290
2291
|
inlineIndent: 16,
|
|
2291
|
-
class: `${
|
|
2292
|
+
class: `${I}-link-menu ${X.value}`,
|
|
2292
2293
|
selectedKeys: [],
|
|
2293
2294
|
openKeys: [],
|
|
2294
2295
|
mode: "inline"
|
|
2295
2296
|
}, Kt(H = (xe || []).map((D, A) => t(ge.Item, {
|
|
2296
|
-
class: `${
|
|
2297
|
+
class: `${I}-link ${X.value}`,
|
|
2297
2298
|
key: A
|
|
2298
2299
|
}, Kt(D) ? D : {
|
|
2299
2300
|
default: () => [D]
|
|
2300
2301
|
}))) ? H : {
|
|
2301
2302
|
default: () => [H]
|
|
2302
|
-
})]),
|
|
2303
|
-
class: Q(`${
|
|
2303
|
+
})]), S.value ? null : t("div", {
|
|
2304
|
+
class: Q(`${I}-actions`, X.value)
|
|
2304
2305
|
}, [Ne || t(J, null, [t("div", {
|
|
2305
|
-
class: Q(`${
|
|
2306
|
+
class: Q(`${I}-actions-item`, X.value),
|
|
2306
2307
|
onClick: () => E()
|
|
2307
2308
|
}, [F.value && ((N = F.value) == null ? void 0 : N.call(F, c.value))])])])]), z.value && t("div", {
|
|
2308
|
-
class: `${
|
|
2309
|
-
}, [(G = z.value) == null ? void 0 : G.call(z, e)]), r.value ||
|
|
2309
|
+
class: `${I}-footer ${X.value}`
|
|
2310
|
+
}, [(G = z.value) == null ? void 0 : G.call(z, e)]), r.value || m.value === "wide" ? null : ee.value];
|
|
2310
2311
|
}
|
|
2311
2312
|
})]
|
|
2312
2313
|
}));
|
|
2313
2314
|
};
|
|
2314
2315
|
}
|
|
2315
|
-
}),
|
|
2316
|
+
}), Ln = {
|
|
2316
2317
|
...ce,
|
|
2317
2318
|
...mn
|
|
2318
2319
|
}, Go = ["mix", "top", "wide"], Yo = (e, n) => e === !1 ? null : e ? e(n, null) : n, qo = /* @__PURE__ */ j({
|
|
2319
|
-
props:
|
|
2320
|
+
props: Ln,
|
|
2320
2321
|
setup(e) {
|
|
2321
2322
|
return () => e.rightContentRender && typeof e.rightContentRender == "function" ? e.rightContentRender(e) : t(J, null, null);
|
|
2322
2323
|
}
|
|
2323
2324
|
}), Qo = /* @__PURE__ */ j({
|
|
2324
|
-
props:
|
|
2325
|
+
props: Ln,
|
|
2325
2326
|
inheritAttrs: !1,
|
|
2326
2327
|
setup(e, {
|
|
2327
2328
|
emit: n
|
|
@@ -2337,25 +2338,25 @@ const {
|
|
|
2337
2338
|
suffixCls: "global-header",
|
|
2338
2339
|
isPor: !0
|
|
2339
2340
|
}), {
|
|
2340
|
-
wrapSSR:
|
|
2341
|
-
hashId:
|
|
2342
|
-
} = fe("ProGlobalHeader", [
|
|
2343
|
-
[`${
|
|
2341
|
+
wrapSSR: h,
|
|
2342
|
+
hashId: d
|
|
2343
|
+
} = fe("ProGlobalHeader", [xo, Sn], g), m = R(() => ({
|
|
2344
|
+
[`${d.value}`]: !0,
|
|
2344
2345
|
[`${g}`]: !0,
|
|
2345
2346
|
[`${g}-${e.layout}`]: !0
|
|
2346
|
-
})),
|
|
2347
|
+
})), S = (b, c, v) => {
|
|
2347
2348
|
var $;
|
|
2348
|
-
const
|
|
2349
|
-
if (e.onSelect &&
|
|
2350
|
-
const
|
|
2351
|
-
e.onSelect(z &&
|
|
2349
|
+
const f = a.currentRoute.value, w = f.matched.concat(), z = e.layout === "mix";
|
|
2350
|
+
if (e.onSelect && b === "select") {
|
|
2351
|
+
const I = ($ = e.menuData.find((B) => B.path === v)) == null ? void 0 : $.redirect;
|
|
2352
|
+
e.onSelect(z && I ? w.filter((B) => B.name !== "index").map((B) => B.path) : c);
|
|
2352
2353
|
}
|
|
2353
|
-
e.onOpenKeys &&
|
|
2354
|
+
e.onOpenKeys && b === "openKeys" && e.onOpenKeys(z ? w.filter((I) => I.path !== f.path).map((I) => I.path) : c);
|
|
2354
2355
|
}, y = () => {
|
|
2355
2356
|
n("collapse", !e.collapsed);
|
|
2356
|
-
}, u =
|
|
2357
|
+
}, u = R(() => e.collapsedButtonRender || Mn), C = () => {
|
|
2357
2358
|
var c;
|
|
2358
|
-
const
|
|
2359
|
+
const b = e.headerContentRender || e.headerContentRender === !1 ? t("div", {
|
|
2359
2360
|
style: {
|
|
2360
2361
|
flex: 1
|
|
2361
2362
|
}
|
|
@@ -2363,7 +2364,7 @@ const {
|
|
|
2363
2364
|
style: {
|
|
2364
2365
|
flex: 1
|
|
2365
2366
|
},
|
|
2366
|
-
class: [`${g}-menu`,
|
|
2367
|
+
class: [`${g}-menu`, d.value]
|
|
2367
2368
|
}, [((c = e.menuData) == null ? void 0 : c.length) > 0 && t(wt, {
|
|
2368
2369
|
theme: {
|
|
2369
2370
|
components: {
|
|
@@ -2371,7 +2372,7 @@ const {
|
|
|
2371
2372
|
headerBg: "transparent",
|
|
2372
2373
|
bodyBg: "transparent"
|
|
2373
2374
|
},
|
|
2374
|
-
Menu:
|
|
2375
|
+
Menu: Bn({
|
|
2375
2376
|
token: (o == null ? void 0 : o.value) || {},
|
|
2376
2377
|
staticToken: {
|
|
2377
2378
|
radiusItem: 4,
|
|
@@ -2398,47 +2399,47 @@ const {
|
|
|
2398
2399
|
subMenuItemRender: e.subMenuItemRender,
|
|
2399
2400
|
class: {
|
|
2400
2401
|
"top-nav-menu": e.mode === "horizontal",
|
|
2401
|
-
[`${
|
|
2402
|
+
[`${d.value}`]: !0
|
|
2402
2403
|
},
|
|
2403
|
-
onSelect: (
|
|
2404
|
-
onOpenKeys: (
|
|
2404
|
+
onSelect: (v) => S("select", v.selectedKeys, v.key),
|
|
2405
|
+
onOpenKeys: (v) => S("openKeys", v)
|
|
2405
2406
|
}, null)]
|
|
2406
2407
|
})]);
|
|
2407
|
-
return t(J, null, [
|
|
2408
|
+
return t(J, null, [b, e.layout !== "simple" && t(qo, te(e, {
|
|
2408
2409
|
extraRightDropdownRender: e.extraRightDropdownRender,
|
|
2409
2410
|
rightContentRender: e.rightContentRender
|
|
2410
2411
|
}), null)]);
|
|
2411
2412
|
};
|
|
2412
2413
|
return () => {
|
|
2413
|
-
const
|
|
2414
|
+
const b = t("span", {
|
|
2414
2415
|
key: "logo",
|
|
2415
2416
|
onClick: () => {
|
|
2416
2417
|
var c;
|
|
2417
2418
|
return (c = e.onLogoClick) == null ? void 0 : c.call(e);
|
|
2418
2419
|
},
|
|
2419
|
-
class: [`${g}-logo`, e.isMobile && "mobile",
|
|
2420
|
+
class: [`${g}-logo`, e.isMobile && "mobile", d.value]
|
|
2420
2421
|
}, [t("a", null, [xn(e.logo, e.logoStyle)])]);
|
|
2421
|
-
return
|
|
2422
|
-
class:
|
|
2423
|
-
}, [e.isMobile ? t(J, null, [Yo(e.logoContentRender,
|
|
2424
|
-
class: `${g}-collapsed-button ${
|
|
2422
|
+
return h(t("div", {
|
|
2423
|
+
class: m.value
|
|
2424
|
+
}, [e.isMobile ? t(J, null, [Yo(e.logoContentRender, b), e.isMobile && se(u) && t("span", {
|
|
2425
|
+
class: `${g}-collapsed-button ${d.value}`,
|
|
2425
2426
|
onClick: y
|
|
2426
|
-
}, [se(u)(e.collapsed)]),
|
|
2427
|
-
class: `${g}-main ${
|
|
2427
|
+
}, [se(u)(e.collapsed)]), C()]) : Go.includes(e.layout) ? t("div", {
|
|
2428
|
+
class: `${g}-main ${d.value}`,
|
|
2428
2429
|
style: {
|
|
2429
2430
|
width: Ae(e.headerMainWidth)
|
|
2430
2431
|
}
|
|
2431
2432
|
}, [t("div", {
|
|
2432
|
-
class: `${g}-main-left ${
|
|
2433
|
+
class: `${g}-main-left ${d.value}`
|
|
2433
2434
|
}, [e.layout !== "wide" && e.appLogoListRender && t(vn, null, {
|
|
2434
2435
|
default: () => {
|
|
2435
2436
|
var c;
|
|
2436
2437
|
return [typeof e.appLogoListRender == "function" ? (c = e.appLogoListRender) == null ? void 0 : c.call(e) : e.appLogoListRender];
|
|
2437
2438
|
}
|
|
2438
2439
|
}), t(Ft, te({
|
|
2439
|
-
hashId:
|
|
2440
|
+
hashId: d.value,
|
|
2440
2441
|
baseClassName: g
|
|
2441
|
-
}, e), null)]),
|
|
2442
|
+
}, e), null)]), C()]) : C()]));
|
|
2442
2443
|
};
|
|
2443
2444
|
}
|
|
2444
2445
|
});
|
|
@@ -2462,24 +2463,24 @@ const {
|
|
|
2462
2463
|
} = Oe(), {
|
|
2463
2464
|
getPrefixCls: r,
|
|
2464
2465
|
menuData: g,
|
|
2465
|
-
contentFullScreen:
|
|
2466
|
-
menuState:
|
|
2467
|
-
headerHeight:
|
|
2468
|
-
} = le(),
|
|
2466
|
+
contentFullScreen: h,
|
|
2467
|
+
menuState: d,
|
|
2468
|
+
headerHeight: m
|
|
2469
|
+
} = le(), S = r({
|
|
2469
2470
|
suffixCls: "header",
|
|
2470
2471
|
isPor: !0
|
|
2471
2472
|
}), y = r({
|
|
2472
2473
|
suffixCls: "fixed-header",
|
|
2473
2474
|
isPor: !0
|
|
2474
|
-
}), u =
|
|
2475
|
-
wrapSSR:
|
|
2476
|
-
hashId:
|
|
2475
|
+
}), u = R(() => o.value === "wide"), C = R(() => a.value), b = R(() => o.value === "side" || o.value === "simple"), c = R(() => b.value && "light" || d.value.theme), {
|
|
2476
|
+
wrapSSR: v,
|
|
2477
|
+
hashId: f
|
|
2477
2478
|
} = Pe("ProLayoutHeader", (O) => {
|
|
2478
2479
|
var X, he;
|
|
2479
2480
|
const T = (X = O.layout) == null ? void 0 : X.header, U = it("header", O, (he = O.layout) == null ? void 0 : he.key), _ = ot(O, "header");
|
|
2480
2481
|
return {
|
|
2481
2482
|
[`${O.proComponentsCls}-basic-layout`]: {
|
|
2482
|
-
[`${O.antCls}-layout-header${O.componentCls}${O.componentCls}-${se(
|
|
2483
|
+
[`${O.antCls}-layout-header${O.componentCls}${O.componentCls}-${se(d.value.key)}`]: {
|
|
2483
2484
|
color: _ ? O.colorWhite : O.colorText,
|
|
2484
2485
|
backgroundColor: (T == null ? void 0 : T.colorBgMenu) || (U == null ? void 0 : U.colorBgMenu),
|
|
2485
2486
|
boxShadow: s.value ? "#0d0d0da6 0 2px 8px" : "",
|
|
@@ -2525,12 +2526,12 @@ const {
|
|
|
2525
2526
|
}
|
|
2526
2527
|
}
|
|
2527
2528
|
};
|
|
2528
|
-
},
|
|
2529
|
-
[`${
|
|
2530
|
-
[`${
|
|
2531
|
-
[`${
|
|
2532
|
-
[`${y}`]:
|
|
2533
|
-
})), z =
|
|
2529
|
+
}, S), w = R(() => ({
|
|
2530
|
+
[`${f.value}`]: !0,
|
|
2531
|
+
[`${S}`]: !0,
|
|
2532
|
+
[`${S}-${d.value.key}`]: !0,
|
|
2533
|
+
[`${y}`]: C.value
|
|
2534
|
+
})), z = R(() => C.value && !n.value), $ = R(() => l.value && o.value === "mix" ? Do(Se(g.value)) : o.value === "top" ? g.value : []), I = R(() => b.value && z.value ? `calc(100% - ${e.collapsed ? e.collapsedWidth : e.siderWidth}px)` : "100%"), B = R(() => C.value ? 0 : void 0), k = () => {
|
|
2534
2535
|
const O = t(Qo, te(e, {
|
|
2535
2536
|
mode: "horizontal",
|
|
2536
2537
|
theme: c.value,
|
|
@@ -2542,22 +2543,22 @@ const {
|
|
|
2542
2543
|
};
|
|
2543
2544
|
return () => {
|
|
2544
2545
|
let O;
|
|
2545
|
-
return
|
|
2546
|
+
return v(t(J, null, [C.value && !u.value && t(Ut, {
|
|
2546
2547
|
style: {
|
|
2547
|
-
height: `${
|
|
2548
|
-
lineHeight: `${
|
|
2548
|
+
height: `${m.value}px`,
|
|
2549
|
+
lineHeight: `${m.value}px`,
|
|
2549
2550
|
background: "transparent",
|
|
2550
|
-
marginTop:
|
|
2551
|
+
marginTop: h.value ? `-${m.value}px` : void 0
|
|
2551
2552
|
}
|
|
2552
2553
|
}, null), t(Ut, {
|
|
2553
|
-
class:
|
|
2554
|
+
class: w.value,
|
|
2554
2555
|
style: {
|
|
2555
|
-
height: `${
|
|
2556
|
-
lineHeight: `${
|
|
2557
|
-
width:
|
|
2558
|
-
zIndex:
|
|
2559
|
-
right:
|
|
2560
|
-
marginTop:
|
|
2556
|
+
height: `${m.value}px`,
|
|
2557
|
+
lineHeight: `${m.value}px`,
|
|
2558
|
+
width: I.value,
|
|
2559
|
+
zIndex: b.value ? 100 : 101,
|
|
2560
|
+
right: B.value,
|
|
2561
|
+
marginTop: h.value ? `-${m.value}px` : void 0
|
|
2561
2562
|
}
|
|
2562
2563
|
}, Zo(O = k()) ? O : {
|
|
2563
2564
|
default: () => [O]
|
|
@@ -2601,14 +2602,14 @@ const {
|
|
|
2601
2602
|
}
|
|
2602
2603
|
});
|
|
2603
2604
|
function Tt(e, { change: n }) {
|
|
2604
|
-
const { system: a } =
|
|
2605
|
-
value:
|
|
2605
|
+
const { system: a } = ea(), [o, i, l] = De("system", {
|
|
2606
|
+
value: R(() => Xe(e.value) ? e.value : "system"),
|
|
2606
2607
|
onChange: (r) => {
|
|
2607
2608
|
n == null || n(r);
|
|
2608
2609
|
}
|
|
2609
2610
|
});
|
|
2610
2611
|
return {
|
|
2611
|
-
isDark:
|
|
2612
|
+
isDark: R(() => l.value === "system" ? a.value === "dark" : l.value),
|
|
2612
2613
|
innerDark: l,
|
|
2613
2614
|
toggleMode: i
|
|
2614
2615
|
};
|
|
@@ -2616,7 +2617,7 @@ function Tt(e, { change: n }) {
|
|
|
2616
2617
|
function Xe(e) {
|
|
2617
2618
|
return ae(e) || e === "system";
|
|
2618
2619
|
}
|
|
2619
|
-
function
|
|
2620
|
+
function On({ event: e, isDark: n, value: a, toggle: o }) {
|
|
2620
2621
|
if (!// @ts-expect-error
|
|
2621
2622
|
(document.startViewTransition && !window.matchMedia("(prefers-reduced-motion: reduce)").matches) || !e || e && !e.clientX) {
|
|
2622
2623
|
o == null || o(ae(a) || a === "system" ? a : !(n != null && n.value));
|
|
@@ -2626,12 +2627,12 @@ function Ln({ event: e, isDark: n, value: a, toggle: o }) {
|
|
|
2626
2627
|
document.startViewTransition(async () => {
|
|
2627
2628
|
o == null || o(ae(a) || a === "system" ? a : !(n != null && n.value)), await xt();
|
|
2628
2629
|
}).ready.then(() => {
|
|
2629
|
-
const
|
|
2630
|
+
const h = [
|
|
2630
2631
|
`circle(0px at ${l}px ${s}px)`,
|
|
2631
2632
|
`circle(${r}px at ${l}px ${s}px)`
|
|
2632
2633
|
];
|
|
2633
2634
|
document.documentElement.animate({
|
|
2634
|
-
clipPath: n != null && n.value ? [...
|
|
2635
|
+
clipPath: n != null && n.value ? [...h].reverse() : h
|
|
2635
2636
|
}, {
|
|
2636
2637
|
duration: 450,
|
|
2637
2638
|
easing: "ease-in",
|
|
@@ -2662,36 +2663,36 @@ html[data-theme="dark"]::view-transition-new(root) {
|
|
|
2662
2663
|
window._iconfont_svg_string_4694134 = '<svg><symbol id="icon-fixed" viewBox="0 0 1024 1024"><path d="M540.736 900.608l-208.64-208.64v-0.064h-0.064l-208.64-208.64a304 304 0 0 1 262.656-28.8 41.152 41.152 0 0 0 38.976-6.336l259.328-202.752a40.96 40.96 0 0 0 14.72-41.344 143.68 143.68 0 0 1 13.696-100.8l195.648 195.648a144.448 144.448 0 0 1-100.8 13.696 41.088 41.088 0 0 0-41.408 14.72L568.704 579.776a41.088 41.088 0 0 0-5.44 41.28 305.344 305.344 0 0 1-22.528 279.552z m-528.64 53.312a41.024 41.024 0 0 0 57.984 58.048l233.024-233.024 213.312 213.376a40.96 40.96 0 0 0 28.992 11.968h1.6a41.28 41.28 0 0 0 29.568-14.272 388.224 388.224 0 0 0 71.104-378.048L815.872 396.8a224.512 224.512 0 0 0 183.68-64.832 41.024 41.024 0 0 0 0-57.984L737.536 11.968a41.024 41.024 0 0 0-57.984 0 224.768 224.768 0 0 0-64.832 183.68L391.616 370.176A385.856 385.856 0 0 0 34.048 447.488a40.96 40.96 0 0 0-2.304 60.16l213.376 213.312-233.024 232.96z m0 0" ></path></symbol><symbol id="icon-unpinned" viewBox="0 0 1024 1024"><path d="M1000.445782 331.509251a40.959412 40.959412 0 0 0 0-57.89271L738.842298 12.013057a40.959412 40.959412 0 0 0-57.89271 0 224.414127 224.414127 0 0 0-64.729929 183.390816L393.466912 369.593198A385.248511 385.248511 0 0 0 36.461864 446.783478a40.895513 40.895513 0 0 0-2.300372 60.065285l213.040062 212.976163-232.657129 232.657129a40.959412 40.959412 0 1 0 57.892711 57.89271l232.657128-232.657128 80.513041 80.513041c2.172574-14.377329 5.495335-28.435161 9.840483-41.9818a275.661317 275.661317 0 0 1-4.664644-68.627783l-56.742524-56.742524v-0.063899h-0.0639l-208.311518-208.311519a303.521385 303.521385 0 0 1 262.242476-28.754658 41.087211 41.087211 0 0 0 38.914637-6.326024l258.919716-202.432789a40.895513 40.895513 0 0 0 14.696824-41.278908 143.453791 143.453791 0 0 1 13.674438-100.641302L909.453266 298.409446a144.220582 144.220582 0 0 1-100.641301 13.674437 41.023311 41.023311 0 0 0-41.342808 14.696825L637.753702 492.663132a274.063836 274.063836 0 0 1 97.126843 8.626397l82.110522-105.050349a224.286328 224.286328 0 0 0 183.454715-64.729929z" ></path><path d="M653.089519 511.193911a239.366549 239.366549 0 1 0 0 478.733098 239.366549 239.366549 0 0 0 0-478.733098z m-174.381022 239.366549c0-28.818557 7.028916-56.039633 19.489267-80.001847l260.581097 218.599296a173.486434 173.486434 0 0 1-105.689342 35.783574 174.572721 174.572721 0 0 1-174.381022-174.381023z m307.674835 112.270963l1.469682-1.72528a35.144581 35.144581 0 0 0-1.469682 1.72528z m21.086749-31.374527L546.569488 612.602003a173.486434 173.486434 0 0 1 106.520031-36.422566 174.572721 174.572721 0 0 1 174.381023 174.381023 172.527945 172.527945 0 0 1-20.000461 80.896436z" ></path></symbol><symbol id="icon-anhei" viewBox="0 0 1024 1024"><path d="M398.97 64.12c-0.02 0.02-0.04 0.04-0.05 0.06 0.02 0 0.03-0.01 0.05-0.01v-0.05zM421.78 613.56C273.43 463.81 263.53 225.73 398.92 64.18 166.66 117.34 10.47 335.32 34.82 572.34c33.7 248.91 251.89 430.88 502.8 419.35a501.84 501.84 0 0 0 192.95-43.45 484.233 484.233 0 0 0 159.29-112.16A467.675 467.675 0 0 0 989 672.7c-179.36 116.54-415.76 91.89-567.22-59.14z" ></path><path d="M660.42 278.77a62.323 62.323 0 0 1 37.49 36.01c11.2 28.47 20.09 57.8 26.6 87.7 3.61 15.85 6.86 31.91 10.64 49.36 1.91-9.36 3.35-17.23 5.05-25a727.852 727.852 0 0 1 30.42-108.71 66.904 66.904 0 0 1 43.4-41.11c43.9-14.5 88.9-25.42 134.55-32.66h0.21c0.85-2.71-2.13-1.33-2.82-2.45-18.46-3.78-37.18-7.07-55.68-11.22a495.51 495.51 0 0 1-85.63-25.53 54.54 54.54 0 0 1-29.57-28.14 310.576 310.576 0 0 1-14.68-38.45 983.926 983.926 0 0 1-25.05-103.98l-5 23.67a731.899 731.899 0 0 1-30.74 109.29 68.137 68.137 0 0 1-43.66 41.75 767.933 767.933 0 0 1-101.58 26.97c-11.43 2.39-23.03 4.52-34.57 6.8 11.12 2.87 22.29 4.74 32.92 6.97a693.502 693.502 0 0 1 107.7 28.73zM771.31 516.98a456.433 456.433 0 0 1-60.63-15 35.124 35.124 0 0 1-23.72-22.55 318.968 318.968 0 0 1-9.89-32.71c-2.29-9.52-4.42-18.99-6.54-28.5a44.044 44.044 0 0 0-3.41 10.64 272.599 272.599 0 0 1-17.18 56.91 26.15 26.15 0 0 1-13.67 13.24c-11.1 4.72-22.62 8.38-34.41 10.96l-35.74 7.87c0.9 1.76 2.23 1.76 3.3 1.76 21.98 3.54 43.6 9.1 64.57 16.59 7.77 2.77 14.02 8.7 17.17 16.33 4.91 11.82 8.84 24.02 11.75 36.48 2.45 9.73 4.58 19.57 6.86 29.41a595.34 595.34 0 0 1 17.5-62.06 34.357 34.357 0 0 1 22.71-21.75 434.977 434.977 0 0 1 62.76-15.27l-0.16-0.1c0.91-1.51-0.53-1.72-1.27-2.25z" ></path></symbol><symbol id="icon-liangse" viewBox="0 0 1024 1024"><path d="M510.805433 812.646946A302.737439 302.737439 0 0 1 209.091909 510.76277 302.737439 302.737439 0 0 1 510.805433 209.049246a299.751021 299.751021 0 0 1 301.884176 301.79885 299.751021 299.751021 0 0 1-301.884176 301.884176z m0 0A302.737439 302.737439 0 0 1 209.091909 510.76277 302.737439 302.737439 0 0 1 510.805433 209.049246a299.751021 299.751021 0 0 1 301.884176 301.79885 299.751021 299.751021 0 0 1-301.884176 301.884176z m-383.114741-299.495042c0-2.389134 0-2.389134 0 0 0-16.211982 2.389134-32.509291 2.389135-48.806599H37.15957A39.932672 39.932672 0 0 0 0.042663 501.547538v16.211982c0 20.904925 18.601117 39.506041 37.116907 39.506041h92.920257c-2.303808-13.993501-2.303808-30.205483-2.303808-44.113657z m83.619699-239.169403a400.179985 400.179985 0 0 1 62.714774-62.714773l-32.509291-32.423965c-11.604366-16.297309-37.116907-16.297309-53.414216 0l-9.300558 9.215232a35.325056 35.325056 0 0 0 0 53.414216l32.509291 32.423964z m601.379218 0l30.205483-34.813098c16.211982-11.604366 16.211982-37.202233 0-53.414216L831.120073 174.065495c-11.604366-16.211982-37.116907-16.211982-53.328889 0l-32.509291 32.423964c23.208733 20.990251 46.417465 41.809849 67.32239 67.407716zM510.805433 127.733356c16.211982 0 30.205483 2.303808 46.502791 2.303808V37.116907A39.932672 39.932672 0 0 0 520.105991 0h-16.211982c-20.904925 0-39.506041 18.601117-39.506041 37.116907v95.224065c16.211982-2.303808 30.205483-4.607616 46.417465-4.607616z m471.342055 336.611949H891.701692c2.303808 16.211982 2.303808 30.205483 2.303808 46.417465 0 16.211982 0 30.205483-2.303808 44.113657h90.531122a40.700608 40.700608 0 0 0 39.506041-39.420715v-16.211982c0-16.297309-18.601117-34.898425-39.506041-34.898425zM211.310391 750.017499l-30.205483 32.50929c-16.211982 11.604366-16.211982 37.116907 0 53.414216l11.689692 11.604366c11.604366 16.211982 37.116907 16.211982 53.32889 0l32.509291-32.509291a298.385801 298.385801 0 0 1-67.32239-65.018581z m603.683026-4.607616c-18.601117 25.512541-41.809849 48.721273-67.407716 67.322389l32.594617 32.423965c11.604366 16.297309 37.116907 16.297309 53.414216 0l13.908174-13.908174c16.211982-11.604366 16.211982-37.116907 0-53.32889l-32.509291-32.50929z m-304.187984 148.552953c-13.908174 0-30.120157 0-44.113657-2.303808v92.834931c0 20.904925 16.211982 39.506041 37.202233 39.506041h16.211982c18.601117 0 37.202233-18.601117 37.202233-39.506041V891.659028c-16.211982 2.303808-30.205483 2.303808-46.502791 2.303808z" ></path></symbol></svg>', ((e) => {
|
|
2663
2664
|
var n = (a = (a = document.getElementsByTagName("script"))[a.length - 1]).getAttribute("data-injectcss"), a = a.getAttribute("data-disable-injectsvg");
|
|
2664
2665
|
if (!a) {
|
|
2665
|
-
var o, i, l, s, r, g = function(
|
|
2666
|
-
|
|
2666
|
+
var o, i, l, s, r, g = function(m, S) {
|
|
2667
|
+
S.parentNode.insertBefore(m, S);
|
|
2667
2668
|
};
|
|
2668
2669
|
if (n && !e.__iconfont__svg__cssinject__) {
|
|
2669
2670
|
e.__iconfont__svg__cssinject__ = !0;
|
|
2670
2671
|
try {
|
|
2671
2672
|
document.write("<style>.svgfont {display: inline-block;width: 1em;height: 1em;fill: currentColor;vertical-align: -0.1em;font-size:16px;}</style>");
|
|
2672
|
-
} catch (
|
|
2673
|
-
console && console.log(
|
|
2673
|
+
} catch (m) {
|
|
2674
|
+
console && console.log(m);
|
|
2674
2675
|
}
|
|
2675
2676
|
}
|
|
2676
2677
|
o = function() {
|
|
2677
|
-
var
|
|
2678
|
-
|
|
2678
|
+
var m, S = document.createElement("div");
|
|
2679
|
+
S.innerHTML = e._iconfont_svg_string_4694134, (S = S.getElementsByTagName("svg")[0]) && (S.setAttribute("aria-hidden", "true"), S.style.position = "absolute", S.style.width = 0, S.style.height = 0, S.style.overflow = "hidden", S = S, (m = document.body).firstChild ? g(S, m.firstChild) : m.appendChild(S));
|
|
2679
2680
|
}, document.addEventListener ? ~["complete", "loaded", "interactive"].indexOf(document.readyState) ? setTimeout(o, 0) : (i = function() {
|
|
2680
2681
|
document.removeEventListener("DOMContentLoaded", i, !1), o();
|
|
2681
|
-
}, document.addEventListener("DOMContentLoaded", i, !1)) : document.attachEvent && (l = o, s = e.document, r = !1,
|
|
2682
|
-
s.readyState == "complete" && (s.onreadystatechange = null,
|
|
2682
|
+
}, document.addEventListener("DOMContentLoaded", i, !1)) : document.attachEvent && (l = o, s = e.document, r = !1, d(), s.onreadystatechange = function() {
|
|
2683
|
+
s.readyState == "complete" && (s.onreadystatechange = null, h());
|
|
2683
2684
|
});
|
|
2684
2685
|
}
|
|
2685
|
-
function
|
|
2686
|
+
function h() {
|
|
2686
2687
|
r || (r = !0, l());
|
|
2687
2688
|
}
|
|
2688
|
-
function
|
|
2689
|
+
function d() {
|
|
2689
2690
|
try {
|
|
2690
2691
|
s.documentElement.doScroll("left");
|
|
2691
2692
|
} catch {
|
|
2692
|
-
return void setTimeout(
|
|
2693
|
+
return void setTimeout(d, 50);
|
|
2693
2694
|
}
|
|
2694
|
-
|
|
2695
|
+
h();
|
|
2695
2696
|
}
|
|
2696
2697
|
})(window);
|
|
2697
2698
|
const ei = /* @__PURE__ */ j({
|
|
@@ -2716,89 +2717,89 @@ const ei = /* @__PURE__ */ j({
|
|
|
2716
2717
|
suffixCls: "basic-layout",
|
|
2717
2718
|
isPor: !0
|
|
2718
2719
|
});
|
|
2719
|
-
|
|
2720
|
+
ta(Jo);
|
|
2720
2721
|
const {
|
|
2721
2722
|
wrapSSR: o,
|
|
2722
2723
|
hashId: i
|
|
2723
|
-
} = fe("ProLayout", [
|
|
2724
|
+
} = fe("ProLayout", [oo, io], a), l = an(), {
|
|
2724
2725
|
token: s,
|
|
2725
2726
|
dark: r
|
|
2726
|
-
} = Oe(), g = me(bt().uuid(10)),
|
|
2727
|
+
} = Oe(), g = me(bt().uuid(10)), h = me(!1), d = me(!1), m = me(!1), S = ve({
|
|
2727
2728
|
position: "relative"
|
|
2728
|
-
}), y =
|
|
2729
|
-
var
|
|
2730
|
-
return (
|
|
2729
|
+
}), y = R(() => {
|
|
2730
|
+
var B;
|
|
2731
|
+
return (B = s == null ? void 0 : s.value) == null ? void 0 : B.colorPrimary;
|
|
2731
2732
|
});
|
|
2732
|
-
|
|
2733
|
-
const
|
|
2734
|
-
|
|
2733
|
+
Kn(() => {
|
|
2734
|
+
const B = document.querySelector("html");
|
|
2735
|
+
B && (y.value && B.style.setProperty("--gx-primary-color", y.value), B.setAttribute("data-theme", r.value ? "dark" : "light"));
|
|
2735
2736
|
});
|
|
2736
|
-
const u =
|
|
2737
|
-
var
|
|
2738
|
-
return e.levelMenuData && ((
|
|
2739
|
-
}),
|
|
2737
|
+
const u = R(() => e.layout === "mix" || e.layout === "side" || e.layout === "wide" || !1), C = R(() => {
|
|
2738
|
+
var B;
|
|
2739
|
+
return e.levelMenuData && ((B = e.levelMenuData) != null && B.length) ? e.levelMenuData : Bt(e.menuData);
|
|
2740
|
+
}), b = R(() => e.layout === "wide"), c = R(() => ({
|
|
2740
2741
|
key: on(r.value, e.theme),
|
|
2741
2742
|
theme: r.value ? "dark" : e.theme
|
|
2742
|
-
})),
|
|
2743
|
+
})), v = R(() => (l.value === "sm" || l.value === "xs") && !e.disableMobile && !b.value), f = R(() => ({
|
|
2743
2744
|
...e.breadcrumb || {},
|
|
2744
2745
|
itemRender: re(n, e, "pageContainerProps:breadcrumbRender")
|
|
2745
|
-
})),
|
|
2746
|
-
ne([() => e.layout, () => e.theme], ([
|
|
2747
|
-
(
|
|
2748
|
-
}), ne(() =>
|
|
2749
|
-
if (
|
|
2746
|
+
})), w = R(() => u.value && e.selectedKeys ? Ao(e.menuData, e.selectedKeys[0]) : []), z = R(() => Ue(e.headerHeight) ? e.headerHeight : Z.headerHeight), $ = yt(() => m.value ? 0 : Ue(e.siderWidth) ? e.siderWidth : e.layout === "mix" ? 215 : e.layout === "wide" ? 208 : 256, [() => e.layout, () => e.siderWidth, () => m.value]);
|
|
2747
|
+
ne([() => e.layout, () => e.theme], ([B]) => {
|
|
2748
|
+
(B === "wide" || B === "simple") && (m.value = !1), g.value = bt().uuid(10);
|
|
2749
|
+
}), ne(() => b.value, (B) => {
|
|
2750
|
+
if (B) {
|
|
2750
2751
|
const k = document.querySelector('meta[name="viewport"]');
|
|
2751
2752
|
k && (k.content = "");
|
|
2752
2753
|
}
|
|
2753
2754
|
}, {
|
|
2754
2755
|
immediate: !0
|
|
2755
2756
|
}), ne([() => e.contentStyle, () => e.isChildrenLayout], () => {
|
|
2756
|
-
(e.isChildrenLayout || e.contentStyle && e.contentStyle.minHeight) && (
|
|
2757
|
+
(e.isChildrenLayout || e.contentStyle && e.contentStyle.minHeight) && (S.minHeight = 0);
|
|
2757
2758
|
}, {
|
|
2758
2759
|
immediate: !0,
|
|
2759
2760
|
deep: !0
|
|
2760
2761
|
});
|
|
2761
|
-
const
|
|
2762
|
+
const I = (B, k) => B.headerRender === !1 || B.pure ? null : t(_t, te($e(B, "headerHeight"), {
|
|
2762
2763
|
headerHeight: z.value,
|
|
2763
2764
|
matchMenuKeys: k || []
|
|
2764
2765
|
}), null);
|
|
2765
|
-
return
|
|
2766
|
-
...oe(tt(e),
|
|
2766
|
+
return no({
|
|
2767
|
+
...oe(tt(e), to),
|
|
2767
2768
|
getPrefixCls: ie,
|
|
2768
2769
|
menuState: c,
|
|
2769
|
-
lockOpen:
|
|
2770
|
-
settingsOpen:
|
|
2771
|
-
contentFullScreen:
|
|
2772
|
-
hasContentWide:
|
|
2773
|
-
isMobile:
|
|
2770
|
+
lockOpen: h,
|
|
2771
|
+
settingsOpen: d,
|
|
2772
|
+
contentFullScreen: m,
|
|
2773
|
+
hasContentWide: b,
|
|
2774
|
+
isMobile: v,
|
|
2774
2775
|
siderWidth: $,
|
|
2775
2776
|
headerHeight: z,
|
|
2776
|
-
breadcrumb:
|
|
2777
|
-
flatMenuData:
|
|
2777
|
+
breadcrumb: f,
|
|
2778
|
+
flatMenuData: w,
|
|
2778
2779
|
hasSide: u,
|
|
2779
|
-
levelMenuData:
|
|
2780
|
+
levelMenuData: C,
|
|
2780
2781
|
onDarkChange: e.onDarkChange,
|
|
2781
|
-
pageHeaderRender:
|
|
2782
|
+
pageHeaderRender: R(() => Me(n, e, "pageContainerProps:pageHeaderRender"))
|
|
2782
2783
|
}), () => {
|
|
2783
2784
|
var Y;
|
|
2784
|
-
const
|
|
2785
|
+
const B = da(bn, n, e, {
|
|
2785
2786
|
render: !0
|
|
2786
|
-
}), k = re(n, e, "collapsedButtonRender"), O = re(n, e, "footerRender"), T = re(n, e, "headerRender"), U = re(n, e, "headerContentRender"), _ = re(n, e, "rightContentRender"), X = re(n, e, "tabsRouteItemRender"), he = re(n, e, "menuItemRender"), de = re(n, e, "menuHeaderRender"), L = re(n, e, "logoContentRender"), F = re(n, e, "menuFooterRender"), P = re(n, e, "subMenuItemRender"), E = re(n, e, "menuContentRender"), ee =
|
|
2787
|
+
}), k = re(n, e, "collapsedButtonRender"), O = re(n, e, "footerRender"), T = re(n, e, "headerRender"), U = re(n, e, "headerContentRender"), _ = re(n, e, "rightContentRender"), X = re(n, e, "tabsRouteItemRender"), he = re(n, e, "menuItemRender"), de = re(n, e, "menuHeaderRender"), L = re(n, e, "logoContentRender"), F = re(n, e, "menuFooterRender"), P = re(n, e, "subMenuItemRender"), E = re(n, e, "menuContentRender"), ee = I({
|
|
2787
2788
|
...e,
|
|
2788
|
-
...oe(
|
|
2789
|
+
...oe(B, yn),
|
|
2789
2790
|
menuItemRender: he,
|
|
2790
2791
|
subMenuItemRender: P,
|
|
2791
2792
|
hasSiderMenu: u.value,
|
|
2792
|
-
isMobile:
|
|
2793
|
+
isMobile: v.value,
|
|
2793
2794
|
rightContentRender: _,
|
|
2794
2795
|
logoContentRender: L,
|
|
2795
2796
|
headerContentRender: U,
|
|
2796
2797
|
headerRender: T
|
|
2797
|
-
}, e.matchMenuKeys), ye =
|
|
2798
|
+
}, e.matchMenuKeys), ye = b.value ? {
|
|
2798
2799
|
minHeight: "835px",
|
|
2799
2800
|
marginInlineStart: $.value === 0 ? 0 : void 0
|
|
2800
2801
|
} : {}, H = O === !1 ? null : O ? typeof O == "function" ? O(e) : O : t(Et, {
|
|
2801
|
-
copyright:
|
|
2802
|
+
copyright: B.copyrightRender,
|
|
2802
2803
|
links: e.footerLinks
|
|
2803
2804
|
}, null);
|
|
2804
2805
|
return o(t(J, null, [e.pure ? (Y = n.default) == null ? void 0 : Y.call(n) : t("div", {
|
|
@@ -2807,29 +2808,29 @@ const ei = /* @__PURE__ */ j({
|
|
|
2807
2808
|
[`${a}`]: !0,
|
|
2808
2809
|
[`${a}-${e.layout}`]: !0
|
|
2809
2810
|
}),
|
|
2810
|
-
style:
|
|
2811
|
+
style: b.value ? {
|
|
2811
2812
|
minWidth: Ae(e.wideWidth),
|
|
2812
2813
|
...e.style
|
|
2813
2814
|
} : e.style
|
|
2814
2815
|
}, [t(We, {
|
|
2815
|
-
style:
|
|
2816
|
+
style: b.value ? {
|
|
2816
2817
|
width: Ae(e.wideWidth),
|
|
2817
2818
|
paddingTop: `${z.value + 20}px`,
|
|
2818
|
-
margin:
|
|
2819
|
+
margin: b.value ? "0 auto" : void 0
|
|
2819
2820
|
} : void 0
|
|
2820
2821
|
}, {
|
|
2821
2822
|
default: () => [$.value > 0 && t(Xt, te(e, {
|
|
2822
2823
|
siderWidth: $.value,
|
|
2823
|
-
isMobile:
|
|
2824
|
+
isMobile: v.value,
|
|
2824
2825
|
menuHeaderRender: de,
|
|
2825
2826
|
logoContentRender: L,
|
|
2826
2827
|
menuFooterRender: F,
|
|
2827
2828
|
menuContentRender: E,
|
|
2828
2829
|
collapsedButtonRender: k
|
|
2829
|
-
}, oe(
|
|
2830
|
-
style:
|
|
2830
|
+
}, oe(B, gn)), null), t(We, {
|
|
2831
|
+
style: S
|
|
2831
2832
|
}, {
|
|
2832
|
-
default: () => [e.layout !== "simple" && z.value > 0 && ee, t(Ot, te(oe(e,
|
|
2833
|
+
default: () => [e.layout !== "simple" && z.value > 0 && ee, t(Ot, te(oe(e, ro), {
|
|
2833
2834
|
hashId: i.value,
|
|
2834
2835
|
prefixCls: a,
|
|
2835
2836
|
siderWidth: $.value,
|
|
@@ -2845,7 +2846,7 @@ const ei = /* @__PURE__ */ j({
|
|
|
2845
2846
|
}
|
|
2846
2847
|
}), e.layout !== "wide" && H]
|
|
2847
2848
|
})]
|
|
2848
|
-
}),
|
|
2849
|
+
}), B.pageLockRender, e.layout === "wide" && H])]));
|
|
2849
2850
|
};
|
|
2850
2851
|
}
|
|
2851
2852
|
}), es = /* @__PURE__ */ j({
|
|
@@ -2866,33 +2867,33 @@ const ei = /* @__PURE__ */ j({
|
|
|
2866
2867
|
isDark: i,
|
|
2867
2868
|
innerDark: l,
|
|
2868
2869
|
toggleMode: s
|
|
2869
|
-
} = Tt(
|
|
2870
|
-
change: (
|
|
2870
|
+
} = Tt(R(() => e.dark), {
|
|
2871
|
+
change: (S) => {
|
|
2871
2872
|
var y, u;
|
|
2872
|
-
(y = e.onDarkChange) == null || y.call(e,
|
|
2873
|
+
(y = e.onDarkChange) == null || y.call(e, S), (u = e == null ? void 0 : e["onUpdate:dark"]) == null || u.call(e, S);
|
|
2873
2874
|
}
|
|
2874
|
-
}), r =
|
|
2875
|
+
}), r = R(() => {
|
|
2875
2876
|
var y, u;
|
|
2876
|
-
let
|
|
2877
|
-
return (u = (y =
|
|
2877
|
+
let S = e.token || {};
|
|
2878
|
+
return (u = (y = S.layout) == null ? void 0 : y.header) != null && u.heightLayoutHeader || (S = be(S, {
|
|
2878
2879
|
layout: {
|
|
2879
2880
|
header: {
|
|
2880
2881
|
heightLayoutHeader: e.headerHeight
|
|
2881
2882
|
}
|
|
2882
2883
|
}
|
|
2883
|
-
})), be(
|
|
2884
|
+
})), be(S, {
|
|
2884
2885
|
layout: {
|
|
2885
2886
|
key: `${on(i.value, e.theme)}:${e.layout}`
|
|
2886
2887
|
}
|
|
2887
2888
|
});
|
|
2888
|
-
}), g = (
|
|
2889
|
-
a("update:collapsed",
|
|
2890
|
-
},
|
|
2891
|
-
a("update:open-keys",
|
|
2892
|
-
},
|
|
2893
|
-
a("update:selected-keys",
|
|
2894
|
-
},
|
|
2895
|
-
a("update:tabs",
|
|
2889
|
+
}), g = (S) => {
|
|
2890
|
+
a("update:collapsed", S), a("collapse", S);
|
|
2891
|
+
}, h = (S) => {
|
|
2892
|
+
a("update:open-keys", S), a("openKeys", S);
|
|
2893
|
+
}, d = (S) => {
|
|
2894
|
+
a("update:selected-keys", S), a("select", S);
|
|
2895
|
+
}, m = (S) => {
|
|
2896
|
+
a("update:tabs", S), a("tabsChange", S);
|
|
2896
2897
|
};
|
|
2897
2898
|
return () => t(wt, {
|
|
2898
2899
|
theme: e.primaryColor ? {
|
|
@@ -2901,7 +2902,7 @@ const ei = /* @__PURE__ */ j({
|
|
|
2901
2902
|
}
|
|
2902
2903
|
} : void 0
|
|
2903
2904
|
}, {
|
|
2904
|
-
default: () => [t(
|
|
2905
|
+
default: () => [t(ga, {
|
|
2905
2906
|
token: r.value,
|
|
2906
2907
|
dark: i.value
|
|
2907
2908
|
}, {
|
|
@@ -2909,10 +2910,10 @@ const ei = /* @__PURE__ */ j({
|
|
|
2909
2910
|
style: o.style
|
|
2910
2911
|
}, $e(e, ["onSelect", "onOpenKeys", "onCollapse", "onTabsChange", "onDarkChange", "dark"]), {
|
|
2911
2912
|
dark: l.value,
|
|
2912
|
-
onSelect:
|
|
2913
|
-
onOpenKeys:
|
|
2913
|
+
onSelect: d,
|
|
2914
|
+
onOpenKeys: h,
|
|
2914
2915
|
onCollapse: g,
|
|
2915
|
-
onTabsChange:
|
|
2916
|
+
onTabsChange: m,
|
|
2916
2917
|
onDarkChange: s
|
|
2917
2918
|
}), n)]
|
|
2918
2919
|
})]
|
|
@@ -2924,7 +2925,7 @@ const ei = /* @__PURE__ */ j({
|
|
|
2924
2925
|
default: () => []
|
|
2925
2926
|
},
|
|
2926
2927
|
historyKey: String
|
|
2927
|
-
},
|
|
2928
|
+
}, Fn = () => ({
|
|
2928
2929
|
...Lt,
|
|
2929
2930
|
...Pt,
|
|
2930
2931
|
actions: {
|
|
@@ -2972,10 +2973,10 @@ const ei = /* @__PURE__ */ j({
|
|
|
2972
2973
|
onLockOpenChange: Function,
|
|
2973
2974
|
onSettingsOpenChange: Function,
|
|
2974
2975
|
"onUpdate:settingsOpen": Function
|
|
2975
|
-
}), ti =
|
|
2976
|
+
}), ti = Fn(), kn = {
|
|
2976
2977
|
hashId: String,
|
|
2977
2978
|
className: String
|
|
2978
|
-
},
|
|
2979
|
+
}, Tn = {
|
|
2979
2980
|
open: {
|
|
2980
2981
|
type: Boolean,
|
|
2981
2982
|
default: void 0
|
|
@@ -2985,14 +2986,14 @@ const ei = /* @__PURE__ */ j({
|
|
|
2985
2986
|
cryptoFn: Function,
|
|
2986
2987
|
...oe(ti, ["name", "avatar"])
|
|
2987
2988
|
}, ni = {
|
|
2988
|
-
...
|
|
2989
|
+
...Tn,
|
|
2989
2990
|
shortsKey: {
|
|
2990
2991
|
type: Object,
|
|
2991
2992
|
default: () => ({
|
|
2992
2993
|
disabeld: !1
|
|
2993
2994
|
})
|
|
2994
2995
|
}
|
|
2995
|
-
}, ai = new
|
|
2996
|
+
}, ai = new x("fadeIn", {
|
|
2996
2997
|
from: {
|
|
2997
2998
|
opacity: 0
|
|
2998
2999
|
},
|
|
@@ -3105,7 +3106,7 @@ const ei = /* @__PURE__ */ j({
|
|
|
3105
3106
|
function ii(e) {
|
|
3106
3107
|
const n = ve({
|
|
3107
3108
|
password: ""
|
|
3108
|
-
}), { validate: a, resetFields: o, validateInfos: i } =
|
|
3109
|
+
}), { validate: a, resetFields: o, validateInfos: i } = va(n, ve({
|
|
3109
3110
|
password: [
|
|
3110
3111
|
{
|
|
3111
3112
|
validator: (l, s) => (e && s ? e == null ? void 0 : e(s) : s) ? Promise.resolve() : Promise.reject(e && s ? "密码错误" : "请输入锁屏密码")
|
|
@@ -3114,9 +3115,9 @@ function ii(e) {
|
|
|
3114
3115
|
}));
|
|
3115
3116
|
return { formState: n, validate: a, resetFields: o, validateInfos: i };
|
|
3116
3117
|
}
|
|
3117
|
-
const
|
|
3118
|
+
const Pn = /* @__PURE__ */ j({
|
|
3118
3119
|
props: {
|
|
3119
|
-
...
|
|
3120
|
+
...kn,
|
|
3120
3121
|
name: String,
|
|
3121
3122
|
avatar: String,
|
|
3122
3123
|
avatarSize: {
|
|
@@ -3136,17 +3137,17 @@ const Tn = /* @__PURE__ */ j({
|
|
|
3136
3137
|
validate: i,
|
|
3137
3138
|
validateInfos: l,
|
|
3138
3139
|
resetFields: s
|
|
3139
|
-
} = ii(e.validator), r = (
|
|
3140
|
-
Object.assign(o,
|
|
3141
|
-
}, g = (
|
|
3142
|
-
const
|
|
3143
|
-
return Q(
|
|
3144
|
-
},
|
|
3140
|
+
} = ii(e.validator), r = (d) => {
|
|
3141
|
+
Object.assign(o, d);
|
|
3142
|
+
}, g = (d = "", m) => {
|
|
3143
|
+
const S = d ? `${e.className}-${d}` : e.className;
|
|
3144
|
+
return Q(S, e.hashId, "");
|
|
3145
|
+
}, h = () => {
|
|
3145
3146
|
i().then(() => {
|
|
3146
|
-
var
|
|
3147
|
-
(
|
|
3148
|
-
}).catch((
|
|
3149
|
-
console.log(
|
|
3147
|
+
var d;
|
|
3148
|
+
(d = e.onSubmit) == null || d.call(e, o);
|
|
3149
|
+
}).catch((d) => {
|
|
3150
|
+
console.log(d);
|
|
3150
3151
|
});
|
|
3151
3152
|
};
|
|
3152
3153
|
return n({
|
|
@@ -3154,7 +3155,7 @@ const Tn = /* @__PURE__ */ j({
|
|
|
3154
3155
|
resetFields: s,
|
|
3155
3156
|
merageFormState: r
|
|
3156
3157
|
}), () => {
|
|
3157
|
-
var
|
|
3158
|
+
var d;
|
|
3158
3159
|
return t("div", {
|
|
3159
3160
|
class: g("user-form")
|
|
3160
3161
|
}, [t("div", {
|
|
@@ -3170,19 +3171,19 @@ const Tn = /* @__PURE__ */ j({
|
|
|
3170
3171
|
default: () => [t(en.Password, {
|
|
3171
3172
|
value: o.password,
|
|
3172
3173
|
placeholder: "请输入锁屏密码",
|
|
3173
|
-
onChange: (
|
|
3174
|
+
onChange: (m) => o.password = m.target.value
|
|
3174
3175
|
}, null)]
|
|
3175
3176
|
})]
|
|
3176
3177
|
}), t(Ze, {
|
|
3177
3178
|
block: !0,
|
|
3178
3179
|
type: "primary",
|
|
3179
|
-
onClick: () =>
|
|
3180
|
+
onClick: () => h(),
|
|
3180
3181
|
style: {
|
|
3181
3182
|
marginBlockStart: "24px"
|
|
3182
3183
|
}
|
|
3183
3184
|
}, {
|
|
3184
3185
|
default: () => [e.submitText]
|
|
3185
|
-
}), (
|
|
3186
|
+
}), (d = a.default) == null ? void 0 : d.call(a)]);
|
|
3186
3187
|
};
|
|
3187
3188
|
}
|
|
3188
3189
|
});
|
|
@@ -3204,23 +3205,23 @@ function li() {
|
|
|
3204
3205
|
const ri = /* @__PURE__ */ j({
|
|
3205
3206
|
name: "PageLock",
|
|
3206
3207
|
props: {
|
|
3207
|
-
...Fn,
|
|
3208
3208
|
...kn,
|
|
3209
|
+
...Tn,
|
|
3209
3210
|
password: String
|
|
3210
3211
|
},
|
|
3211
3212
|
setup(e) {
|
|
3212
3213
|
const [n, a] = De(!1, {
|
|
3213
|
-
value:
|
|
3214
|
+
value: R(() => ae(e.open) ? e.open : !1),
|
|
3214
3215
|
onChange: e.onOpenChange
|
|
3215
3216
|
}), [o, i] = pe(!1), l = li(), s = (r = "", g) => {
|
|
3216
|
-
const
|
|
3217
|
-
return Q(
|
|
3217
|
+
const h = r ? `${e.className}-popup-${r}` : `${e.className}-popup`;
|
|
3218
|
+
return Q(h, e.hashId, g || "");
|
|
3218
3219
|
};
|
|
3219
3220
|
return () => n.value ? t("div", {
|
|
3220
3221
|
class: s()
|
|
3221
3222
|
}, [o.value ? t("div", {
|
|
3222
3223
|
class: s("form")
|
|
3223
|
-
}, [t(
|
|
3224
|
+
}, [t(Pn, {
|
|
3224
3225
|
avatarSize: 70,
|
|
3225
3226
|
submitText: "进入系统",
|
|
3226
3227
|
avatar: e.avatar,
|
|
@@ -3288,54 +3289,54 @@ const ri = /* @__PURE__ */ j({
|
|
|
3288
3289
|
open: !1,
|
|
3289
3290
|
password: ""
|
|
3290
3291
|
}), [s, r, g] = De(!1, {
|
|
3291
|
-
value:
|
|
3292
|
-
var
|
|
3293
|
-
return ae(e.open) ? e.open : (
|
|
3292
|
+
value: R(() => {
|
|
3293
|
+
var f;
|
|
3294
|
+
return ae(e.open) ? e.open : (f = a == null ? void 0 : a.lockOpen) == null ? void 0 : f.value;
|
|
3294
3295
|
}),
|
|
3295
|
-
onChange: (
|
|
3296
|
-
var
|
|
3297
|
-
(
|
|
3296
|
+
onChange: (f) => {
|
|
3297
|
+
var w, z;
|
|
3298
|
+
(w = e.onOpenChange) == null || w.call(e, f), (z = e["onUpdate:open"]) == null || z.call(e, f), a && (a.lockOpen.value = f);
|
|
3298
3299
|
}
|
|
3299
|
-
}), [
|
|
3300
|
-
function
|
|
3301
|
-
return e.cryptoFn ? e.cryptoFn(
|
|
3300
|
+
}), [h, d] = pe(!1), m = me();
|
|
3301
|
+
function S(f) {
|
|
3302
|
+
return e.cryptoFn ? e.cryptoFn(f) : f;
|
|
3302
3303
|
}
|
|
3303
|
-
function y(
|
|
3304
|
-
l.value.open =
|
|
3304
|
+
function y(f) {
|
|
3305
|
+
l.value.open = h.value, l.value.password = S(f);
|
|
3305
3306
|
}
|
|
3306
|
-
const u =
|
|
3307
|
-
gt(
|
|
3308
|
-
var
|
|
3309
|
-
(
|
|
3310
|
-
}), ne(
|
|
3311
|
-
var
|
|
3312
|
-
y(
|
|
3307
|
+
const u = R(() => e.shortsKey), C = R(() => l.value.open && !!l.value.password), b = nn();
|
|
3308
|
+
gt(b["Alt+KeyL"], () => {
|
|
3309
|
+
var f;
|
|
3310
|
+
(f = u.value) != null && f.disabeld || g.value || r(!0);
|
|
3311
|
+
}), ne(h, (f) => {
|
|
3312
|
+
var w, z;
|
|
3313
|
+
y(f && (((z = (w = m.value) == null ? void 0 : w.formState) == null ? void 0 : z.password) || l.value.password) || "");
|
|
3313
3314
|
}), Zt(() => {
|
|
3314
|
-
|
|
3315
|
+
C.value ? d(!0) : y("");
|
|
3315
3316
|
});
|
|
3316
3317
|
const c = () => {
|
|
3317
|
-
r(!1),
|
|
3318
|
-
},
|
|
3319
|
-
var
|
|
3320
|
-
r(!1), y(""), (
|
|
3318
|
+
r(!1), d(!0);
|
|
3319
|
+
}, v = () => {
|
|
3320
|
+
var f;
|
|
3321
|
+
r(!1), y(""), (f = m.value) == null || f.resetFields();
|
|
3321
3322
|
};
|
|
3322
3323
|
return () => o(t(J, null, [t(ri, te(oe(e, ["name", "avatar"]), {
|
|
3323
|
-
open:
|
|
3324
|
+
open: h.value,
|
|
3324
3325
|
hashId: i.value,
|
|
3325
3326
|
className: n,
|
|
3326
3327
|
password: l.value.password,
|
|
3327
|
-
cryptoFn:
|
|
3328
|
-
onOpenChange:
|
|
3329
|
-
}), null), t(
|
|
3328
|
+
cryptoFn: S,
|
|
3329
|
+
onOpenChange: d
|
|
3330
|
+
}), null), t(Ya, {
|
|
3330
3331
|
width: 400,
|
|
3331
3332
|
type: "normal",
|
|
3332
3333
|
title: "锁定屏幕",
|
|
3333
3334
|
open: g.value,
|
|
3334
3335
|
footer: !1,
|
|
3335
|
-
onCancel:
|
|
3336
|
+
onCancel: v
|
|
3336
3337
|
}, {
|
|
3337
|
-
default: () => [t(
|
|
3338
|
-
ref:
|
|
3338
|
+
default: () => [t(Pn, te({
|
|
3339
|
+
ref: m
|
|
3339
3340
|
}, oe(e, ["name", "avatar"]), {
|
|
3340
3341
|
submitText: "锁定",
|
|
3341
3342
|
hashId: i.value,
|
|
@@ -3471,32 +3472,32 @@ const mi = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
|
|
|
3471
3472
|
const n = Ge(), a = at(e.historyKey || ie({
|
|
3472
3473
|
suffixCls: "layout-search-history",
|
|
3473
3474
|
isPor: !0
|
|
3474
|
-
}), []), o = me(0), i = me([]), l =
|
|
3475
|
+
}), []), o = me(0), i = me([]), l = na(s, 200);
|
|
3475
3476
|
function s(c) {
|
|
3476
3477
|
if (c = c.trim(), !c) {
|
|
3477
3478
|
i.value = [];
|
|
3478
3479
|
return;
|
|
3479
3480
|
}
|
|
3480
|
-
const
|
|
3481
|
-
e.dataSource.forEach((
|
|
3482
|
-
var $,
|
|
3483
|
-
if (($ =
|
|
3484
|
-
const z = ((
|
|
3485
|
-
if (
|
|
3481
|
+
const v = m(c), f = [];
|
|
3482
|
+
e.dataSource.forEach((w) => {
|
|
3483
|
+
var $, I, B;
|
|
3484
|
+
if (($ = w.meta) != null && $.hideInMenu) return;
|
|
3485
|
+
const z = ((I = w.meta) == null ? void 0 : I.title) || w.name || "";
|
|
3486
|
+
if (v.test(z.toLowerCase())) {
|
|
3486
3487
|
let k = [];
|
|
3487
|
-
const O = ((
|
|
3488
|
+
const O = ((B = w == null ? void 0 : w.key) == null ? void 0 : B.split("-")) || [];
|
|
3488
3489
|
for (let T = 0; T < O.length; T++)
|
|
3489
3490
|
k.push(O.slice(0, T + 1).join("-"));
|
|
3490
3491
|
k = k.map((T) => {
|
|
3491
3492
|
var U, _;
|
|
3492
3493
|
return ((_ = (U = e.dataSource.find((X) => (X == null ? void 0 : X.key) === T)) == null ? void 0 : U.meta) == null ? void 0 : _.title) || "";
|
|
3493
|
-
}),
|
|
3494
|
+
}), f.push(be(w, {
|
|
3494
3495
|
meta: {
|
|
3495
3496
|
title: k.join("**")
|
|
3496
3497
|
}
|
|
3497
3498
|
}));
|
|
3498
3499
|
}
|
|
3499
|
-
}), i.value =
|
|
3500
|
+
}), i.value = f, f.length > 0 && (o.value = 0), o.value = 0;
|
|
3500
3501
|
}
|
|
3501
3502
|
ne(() => e.keyword, (c) => {
|
|
3502
3503
|
c ? l(c) : i.value = [...a.value];
|
|
@@ -3511,66 +3512,66 @@ const mi = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
|
|
|
3511
3512
|
block: "nearest"
|
|
3512
3513
|
});
|
|
3513
3514
|
}
|
|
3514
|
-
async function
|
|
3515
|
+
async function h() {
|
|
3515
3516
|
if (i.value.length === 0)
|
|
3516
3517
|
return;
|
|
3517
|
-
const c = i.value,
|
|
3518
|
-
if (c.length === 0 ||
|
|
3518
|
+
const c = i.value, v = o.value;
|
|
3519
|
+
if (c.length === 0 || v < 0)
|
|
3519
3520
|
return;
|
|
3520
|
-
const
|
|
3521
|
-
|
|
3522
|
-
path:
|
|
3521
|
+
const f = c[v];
|
|
3522
|
+
f && (a.value.push(f), r(), await xt(), di(f.path) ? window.open(f.path, "_blank") : n.push({
|
|
3523
|
+
path: f.path,
|
|
3523
3524
|
replace: !0
|
|
3524
3525
|
}));
|
|
3525
3526
|
}
|
|
3526
|
-
function
|
|
3527
|
+
function d(c) {
|
|
3527
3528
|
return mi.has(c) ? `\\${c}` : c;
|
|
3528
3529
|
}
|
|
3529
|
-
function
|
|
3530
|
-
const
|
|
3531
|
-
return new RegExp(`.*${
|
|
3530
|
+
function m(c) {
|
|
3531
|
+
const v = [...c].map((f) => d(f)).join(".*");
|
|
3532
|
+
return new RegExp(`.*${v}.*`);
|
|
3532
3533
|
}
|
|
3533
|
-
function
|
|
3534
|
+
function S() {
|
|
3534
3535
|
i.value.length !== 0 && (o.value--, o.value < 0 && (o.value = i.value.length - 1), g());
|
|
3535
3536
|
}
|
|
3536
3537
|
function y() {
|
|
3537
3538
|
i.value.length !== 0 && (o.value++, o.value > i.value.length - 1 && (o.value = 0), g());
|
|
3538
3539
|
}
|
|
3539
3540
|
Zt(() => {
|
|
3540
|
-
a.value.length > 0 && (i.value = a.value), ut("Enter",
|
|
3541
|
+
a.value.length > 0 && (i.value = a.value), ut("Enter", h), ut("ArrowUp", S), ut("ArrowDown", y);
|
|
3541
3542
|
});
|
|
3542
3543
|
function u(c) {
|
|
3543
3544
|
o.value = c;
|
|
3544
3545
|
}
|
|
3545
|
-
function
|
|
3546
|
-
c.stopPropagation(), e.keyword ? i.value.splice(
|
|
3546
|
+
function C(c, v) {
|
|
3547
|
+
c.stopPropagation(), e.keyword ? i.value.splice(v, 1) : a.value.splice(v, 1), o.value = o.value - 1 >= 0 ? o.value - 1 : 0, g();
|
|
3547
3548
|
}
|
|
3548
|
-
const
|
|
3549
|
+
const b = (c) => Q(`${e.className}${c ? `-${c}` : ""}`, e.hashId);
|
|
3549
3550
|
return () => t(J, null, [i.value.length > 0 ? t(J, null, [a.value.length > 0 && !e.keyword && t("div", {
|
|
3550
|
-
class:
|
|
3551
|
+
class: b("panel-title")
|
|
3551
3552
|
}, [W("搜索历史")]), t("div", {
|
|
3552
|
-
class:
|
|
3553
|
-
}, [ui(i.value, "path").map((c,
|
|
3554
|
-
var
|
|
3553
|
+
class: b("panel-list")
|
|
3554
|
+
}, [ui(i.value, "path").map((c, v) => {
|
|
3555
|
+
var f, w, z, $;
|
|
3555
3556
|
return t("div", {
|
|
3556
3557
|
key: c.name,
|
|
3557
|
-
class:
|
|
3558
|
-
"data-search-item":
|
|
3559
|
-
onClick: () =>
|
|
3560
|
-
onMouseenter: () => u(
|
|
3558
|
+
class: b(Q("panel-item", v === o.value && "active")),
|
|
3559
|
+
"data-search-item": v,
|
|
3560
|
+
onClick: () => h(),
|
|
3561
|
+
onMouseenter: () => u(v)
|
|
3561
3562
|
}, [t("div", {
|
|
3562
|
-
class:
|
|
3563
|
+
class: b("panel-item-left")
|
|
3563
3564
|
}, [t(et, te(c.meta || {}, {
|
|
3564
|
-
icon: ((
|
|
3565
|
-
classNames:
|
|
3566
|
-
}), null), ($ = (z = (
|
|
3565
|
+
icon: ((f = c.meta) == null ? void 0 : f.icon) || t(Da, null, null),
|
|
3566
|
+
classNames: b("panel-icon")
|
|
3567
|
+
}), null), ($ = (z = (w = c.meta) == null ? void 0 : w.title) == null ? void 0 : z.split("**")) == null ? void 0 : $.map((I, B) => {
|
|
3567
3568
|
var k, O, T;
|
|
3568
|
-
return t(J, null, [
|
|
3569
|
+
return t(J, null, [I, B < ((T = (O = (k = c.meta) == null ? void 0 : k.title) == null ? void 0 : O.split("**")) == null ? void 0 : T.length) - 1 && t(Aa, null, null)]);
|
|
3569
3570
|
}), t("span", null, null)]), t(lt, {
|
|
3570
|
-
onClick: (
|
|
3571
|
+
onClick: (I) => C(I, v)
|
|
3571
3572
|
}, null)]);
|
|
3572
3573
|
})])]) : t(fi, {
|
|
3573
|
-
className:
|
|
3574
|
+
className: b("result"),
|
|
3574
3575
|
value: e.keyword
|
|
3575
3576
|
}, null)]);
|
|
3576
3577
|
}
|
|
@@ -3581,7 +3582,7 @@ const mi = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
|
|
|
3581
3582
|
class: Q(`${e}-footer`, n)
|
|
3582
3583
|
}, [t("div", {
|
|
3583
3584
|
class: Q(`${e}-footer-icon`, n)
|
|
3584
|
-
}, [t(
|
|
3585
|
+
}, [t(Ha, null, null), W("选择")]), t("div", {
|
|
3585
3586
|
class: Q(`${e}-footer-icon`, n)
|
|
3586
3587
|
}, [t(Ht, null, null), t(Ht, {
|
|
3587
3588
|
rotate: 180
|
|
@@ -3605,16 +3606,16 @@ const mi = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
|
|
|
3605
3606
|
}), {
|
|
3606
3607
|
wrapSSR: a,
|
|
3607
3608
|
hashId: o
|
|
3608
|
-
} = ci(n), [i, l] = pe(""), [s, r] = pe(!1), g = le(),
|
|
3609
|
+
} = ci(n), [i, l] = pe(""), [s, r] = pe(!1), g = le(), h = nn(), d = ma() ? h["ctrl+k"] : h["cmd+k"], m = me(), S = R(() => {
|
|
3609
3610
|
var u;
|
|
3610
|
-
return
|
|
3611
|
+
return Bt(e.dataSource || ((u = g == null ? void 0 : g.menuData) == null ? void 0 : u.value));
|
|
3611
3612
|
});
|
|
3612
|
-
gt(
|
|
3613
|
+
gt(d, () => {
|
|
3613
3614
|
e.disabeldShortKey || r(!0);
|
|
3614
3615
|
}), gt(s, () => {
|
|
3615
3616
|
xt(() => {
|
|
3616
3617
|
var u;
|
|
3617
|
-
(u =
|
|
3618
|
+
(u = m.value) == null || u.focus();
|
|
3618
3619
|
});
|
|
3619
3620
|
});
|
|
3620
3621
|
const y = () => {
|
|
@@ -3624,7 +3625,7 @@ const mi = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
|
|
|
3624
3625
|
const u = {
|
|
3625
3626
|
className: `${n}`,
|
|
3626
3627
|
hashId: o.value
|
|
3627
|
-
},
|
|
3628
|
+
}, C = `${n}-modal`;
|
|
3628
3629
|
return a(t(J, null, [t("div", {
|
|
3629
3630
|
class: Q(n, o.value),
|
|
3630
3631
|
onClick: () => r(!0)
|
|
@@ -3632,8 +3633,8 @@ const mi = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
|
|
|
3632
3633
|
class: Q(`${n}-word`, o.value)
|
|
3633
3634
|
}, [W("搜索")]), t("span", {
|
|
3634
3635
|
class: Q(`${n}-word-icon`, o.value)
|
|
3635
|
-
}, [W("⌘ "), t("kbd", null, [W("K")])])]), t(
|
|
3636
|
-
class: Q(`${
|
|
3636
|
+
}, [W("⌘ "), t("kbd", null, [W("K")])])]), t(Ga, {
|
|
3637
|
+
class: Q(`${C}`, o.value),
|
|
3637
3638
|
width: 600,
|
|
3638
3639
|
scrollProps: {
|
|
3639
3640
|
maxHeight: 400,
|
|
@@ -3645,24 +3646,24 @@ const mi = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
|
|
|
3645
3646
|
width: `${600 * 0.8}px`,
|
|
3646
3647
|
padding: 0
|
|
3647
3648
|
},
|
|
3648
|
-
ref:
|
|
3649
|
+
ref: m,
|
|
3649
3650
|
bordered: !1,
|
|
3650
3651
|
size: "large",
|
|
3651
3652
|
placeholder: "搜索导航菜单",
|
|
3652
3653
|
value: i.value,
|
|
3653
3654
|
prefix: t(At, null, null),
|
|
3654
|
-
onChange: (
|
|
3655
|
+
onChange: (b) => l(b.target.value)
|
|
3655
3656
|
}, null),
|
|
3656
3657
|
open: s.value,
|
|
3657
3658
|
footer: t(gi, {
|
|
3658
|
-
className:
|
|
3659
|
+
className: C,
|
|
3659
3660
|
hashId: o.value
|
|
3660
3661
|
}, null),
|
|
3661
3662
|
onCancel: () => y()
|
|
3662
3663
|
}, {
|
|
3663
3664
|
default: () => [t(hi, te(u, {
|
|
3664
3665
|
keyword: i.value,
|
|
3665
|
-
dataSource:
|
|
3666
|
+
dataSource: S.value,
|
|
3666
3667
|
onClose: () => y()
|
|
3667
3668
|
}), null)]
|
|
3668
3669
|
})]));
|
|
@@ -3716,7 +3717,7 @@ const mi = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
|
|
|
3716
3717
|
borderRadius: e.borderRadius,
|
|
3717
3718
|
paddingInlineEnd: e.padding,
|
|
3718
3719
|
"&:hover": {
|
|
3719
|
-
backgroundColor:
|
|
3720
|
+
backgroundColor: pa(e.colorTextBase, 0.03)
|
|
3720
3721
|
}
|
|
3721
3722
|
},
|
|
3722
3723
|
"&-avatar": {
|
|
@@ -3742,7 +3743,7 @@ function vi(e) {
|
|
|
3742
3743
|
}
|
|
3743
3744
|
const ns = /* @__PURE__ */ j({
|
|
3744
3745
|
name: "GlobalRightContent",
|
|
3745
|
-
props:
|
|
3746
|
+
props: Fn(),
|
|
3746
3747
|
inheritAttrs: !1,
|
|
3747
3748
|
emits: ["logout", "darkChange", "settingsOpenChange", "update:dark", "update:settingsOpen", "lockOpenChange"],
|
|
3748
3749
|
setup(e, {
|
|
@@ -3751,92 +3752,92 @@ const ns = /* @__PURE__ */ j({
|
|
|
3751
3752
|
const {
|
|
3752
3753
|
isFullscreen: a,
|
|
3753
3754
|
toggle: o
|
|
3754
|
-
} =
|
|
3755
|
+
} = aa(), i = Oe(), l = le(), s = an(), r = ie({
|
|
3755
3756
|
suffixCls: "global-header",
|
|
3756
3757
|
isPor: !0
|
|
3757
|
-
}), [g,
|
|
3758
|
-
wrapSSR:
|
|
3759
|
-
hashId:
|
|
3760
|
-
} = vi(r), [
|
|
3758
|
+
}), [g, h] = pe(!1), {
|
|
3759
|
+
wrapSSR: d,
|
|
3760
|
+
hashId: m
|
|
3761
|
+
} = vi(r), [S, y] = pe("auto"), {
|
|
3761
3762
|
isDark: u,
|
|
3762
|
-
toggleMode:
|
|
3763
|
-
} = Tt(
|
|
3764
|
-
var
|
|
3765
|
-
return Xe(e.dark) ? e.dark : (
|
|
3763
|
+
toggleMode: C
|
|
3764
|
+
} = Tt(R(() => {
|
|
3765
|
+
var I;
|
|
3766
|
+
return Xe(e.dark) ? e.dark : (I = l == null ? void 0 : l.dark) == null ? void 0 : I.value;
|
|
3766
3767
|
}), {
|
|
3767
|
-
change: (
|
|
3768
|
-
var
|
|
3769
|
-
(
|
|
3768
|
+
change: (I) => {
|
|
3769
|
+
var B, k, O;
|
|
3770
|
+
(B = e.onDarkChange) == null || B.call(e, I), (k = e == null ? void 0 : e["onUpdate:dark"]) == null || k.call(e, I), (O = l == null ? void 0 : l.onDarkChange) == null || O.call(l, I);
|
|
3770
3771
|
}
|
|
3771
|
-
}), [
|
|
3772
|
-
value:
|
|
3773
|
-
var
|
|
3774
|
-
return ae(e.settingsOpen) ? e.settingsOpen : (
|
|
3772
|
+
}), [b, c] = De(!1, {
|
|
3773
|
+
value: R(() => {
|
|
3774
|
+
var I;
|
|
3775
|
+
return ae(e.settingsOpen) ? e.settingsOpen : (I = l == null ? void 0 : l.settingsOpen) == null ? void 0 : I.value;
|
|
3775
3776
|
}),
|
|
3776
|
-
onChange: (
|
|
3777
|
-
var
|
|
3778
|
-
(
|
|
3777
|
+
onChange: (I) => {
|
|
3778
|
+
var B, k;
|
|
3779
|
+
(B = e.onSettingsOpenChange) == null || B.call(e, I), (k = e == null ? void 0 : e["onUpdate:settingsOpen"]) == null || k.call(e, I), l && !ae(e.settingsOpen) && (l.settingsOpen.value = I);
|
|
3779
3780
|
}
|
|
3780
|
-
}),
|
|
3781
|
-
var
|
|
3782
|
-
return ae((
|
|
3783
|
-
}),
|
|
3784
|
-
var
|
|
3785
|
-
return Xe(e.dark) ? u.value : (
|
|
3786
|
-
}),
|
|
3787
|
-
y(
|
|
3788
|
-
}, 160), z = (
|
|
3789
|
-
|
|
3790
|
-
event:
|
|
3791
|
-
isDark:
|
|
3792
|
-
toggle:
|
|
3781
|
+
}), v = R(() => {
|
|
3782
|
+
var I, B;
|
|
3783
|
+
return ae((I = l == null ? void 0 : l.isMobile) == null ? void 0 : I.value) ? (B = l == null ? void 0 : l.isMobile) == null ? void 0 : B.value : s.value === "sm" || s.value === "xs";
|
|
3784
|
+
}), f = R(() => {
|
|
3785
|
+
var I;
|
|
3786
|
+
return Xe(e.dark) ? u.value : (I = i == null ? void 0 : i.dark) == null ? void 0 : I.value;
|
|
3787
|
+
}), w = oa(async (I) => {
|
|
3788
|
+
y(I);
|
|
3789
|
+
}, 160), z = (I) => {
|
|
3790
|
+
On({
|
|
3791
|
+
event: I,
|
|
3792
|
+
isDark: f,
|
|
3793
|
+
toggle: C
|
|
3793
3794
|
});
|
|
3794
3795
|
}, $ = () => {
|
|
3795
|
-
e != null && e.onLogout && (
|
|
3796
|
+
e != null && e.onLogout && (h(!0), e.onLogout(() => h(!1)));
|
|
3796
3797
|
};
|
|
3797
3798
|
return () => {
|
|
3798
|
-
const
|
|
3799
|
-
return
|
|
3800
|
-
class: `${r}-right-content ${
|
|
3799
|
+
const I = Me(n, e, "dropdownMenuRender"), B = Me(n, e, "dropdownRender"), k = Me(n, e, "dropdownMenuExtraItemRender"), O = re(n, e, "actionsRender"), T = a.value ? ja : Ea;
|
|
3800
|
+
return d(t("div", {
|
|
3801
|
+
class: `${r}-right-content ${m.value}`.trim(),
|
|
3801
3802
|
style: {
|
|
3802
|
-
minWidth:
|
|
3803
|
+
minWidth: S.value,
|
|
3803
3804
|
height: "100%"
|
|
3804
3805
|
}
|
|
3805
3806
|
}, [t("div", {
|
|
3806
3807
|
style: {
|
|
3807
3808
|
height: "100%"
|
|
3808
3809
|
}
|
|
3809
|
-
}, [t(
|
|
3810
|
+
}, [t(qa, {
|
|
3810
3811
|
key: "resize-observer",
|
|
3811
3812
|
onResize: ({
|
|
3812
3813
|
width: U
|
|
3813
3814
|
}) => {
|
|
3814
|
-
|
|
3815
|
+
w(U);
|
|
3815
3816
|
}
|
|
3816
3817
|
}, {
|
|
3817
3818
|
default: () => {
|
|
3818
3819
|
var U;
|
|
3819
3820
|
return [t("div", {
|
|
3820
|
-
class: `${r}-header-actions ${
|
|
3821
|
-
}, [e.actions.search && !
|
|
3821
|
+
class: `${r}-header-actions ${m.value}`.trim()
|
|
3822
|
+
}, [e.actions.search && !v.value && t(yi, {
|
|
3822
3823
|
dataSource: e.dataSource,
|
|
3823
3824
|
disabeldShortKey: (U = e.shortsKey) == null ? void 0 : U.disabeld
|
|
3824
3825
|
}, null), e.actions.theme && t("div", {
|
|
3825
|
-
class: `${r}-header-actions-item ${
|
|
3826
|
+
class: `${r}-header-actions-item ${m.value}`.trim()
|
|
3826
3827
|
}, [t(_e, {
|
|
3827
|
-
class: `${r}-header-actions-icon ${
|
|
3828
|
-
name:
|
|
3828
|
+
class: `${r}-header-actions-icon ${m.value}`.trim(),
|
|
3829
|
+
name: f.value ? "liangse" : "anhei",
|
|
3829
3830
|
onClick: (_) => z(_)
|
|
3830
|
-
}, null)]), e.actions.settings && !
|
|
3831
|
-
class: `${r}-header-actions-item ${
|
|
3831
|
+
}, null)]), e.actions.settings && !v.value && t("div", {
|
|
3832
|
+
class: `${r}-header-actions-item ${m.value}`.trim()
|
|
3832
3833
|
}, [t(un, {
|
|
3833
|
-
onClick: () => c(!
|
|
3834
|
-
}, null)]), e.actions.fullScreen && !
|
|
3835
|
-
class: `${r}-header-actions-item ${
|
|
3834
|
+
onClick: () => c(!b.value)
|
|
3835
|
+
}, null)]), e.actions.fullScreen && !v.value && t("div", {
|
|
3836
|
+
class: `${r}-header-actions-item ${m.value}`.trim()
|
|
3836
3837
|
}, [t(T, {
|
|
3837
3838
|
onClick: () => o()
|
|
3838
|
-
}, null)]), O ? O == null ? void 0 : O([`${r}-header-actions-item`,
|
|
3839
|
-
overlay:
|
|
3839
|
+
}, null)]), O ? O == null ? void 0 : O([`${r}-header-actions-item`, m.value]) : null, t(ht, {
|
|
3840
|
+
overlay: I || t(ge, null, {
|
|
3840
3841
|
default: () => [k, e.actions.lock && t(J, null, [t(Dt, {
|
|
3841
3842
|
key: "lock",
|
|
3842
3843
|
icon: t(cn, null, null),
|
|
@@ -3848,7 +3849,7 @@ const ns = /* @__PURE__ */ j({
|
|
|
3848
3849
|
default: () => [W("锁定屏幕")]
|
|
3849
3850
|
}), t(ge.Divider, null, null)]), t(Dt, {
|
|
3850
3851
|
key: "logout",
|
|
3851
|
-
icon: t(
|
|
3852
|
+
icon: t(Ka, null, null),
|
|
3852
3853
|
onClick: () => $(),
|
|
3853
3854
|
disabled: g.value
|
|
3854
3855
|
}, {
|
|
@@ -3856,14 +3857,14 @@ const ns = /* @__PURE__ */ j({
|
|
|
3856
3857
|
})]
|
|
3857
3858
|
})
|
|
3858
3859
|
}, {
|
|
3859
|
-
default: () => [
|
|
3860
|
-
class: `${r}-header-actions-avatar ${
|
|
3860
|
+
default: () => [B || t("div", {
|
|
3861
|
+
class: `${r}-header-actions-avatar ${m.value}`.trim()
|
|
3861
3862
|
}, [t(Jt, {
|
|
3862
3863
|
size: 28,
|
|
3863
3864
|
icon: t(sn, null, null),
|
|
3864
3865
|
src: e.avatar
|
|
3865
3866
|
}, null), t("div", {
|
|
3866
|
-
class: `${r}-header-actions-name ${
|
|
3867
|
+
class: `${r}-header-actions-name ${m.value}`.trim()
|
|
3867
3868
|
}, [e.name || "gx12358"])])]
|
|
3868
3869
|
})])];
|
|
3869
3870
|
}
|
|
@@ -3894,30 +3895,30 @@ const ns = /* @__PURE__ */ j({
|
|
|
3894
3895
|
}), {
|
|
3895
3896
|
wrapSSR: i,
|
|
3896
3897
|
hashId: l
|
|
3897
|
-
} = fe("ProPageHeader", [pi], o), s =
|
|
3898
|
-
var
|
|
3899
|
-
const r = ((
|
|
3900
|
-
...
|
|
3901
|
-
path:
|
|
3902
|
-
link:
|
|
3898
|
+
} = fe("ProPageHeader", [pi], o), s = R(() => {
|
|
3899
|
+
var d;
|
|
3900
|
+
const r = ((d = n == null ? void 0 : n.breadcrumb) == null ? void 0 : d.value) || {}, g = r.routes || [], h = g.map((m, S) => ({
|
|
3901
|
+
...m,
|
|
3902
|
+
path: m.path && S !== g.length - 1 ? bt().uuid(10) : "",
|
|
3903
|
+
link: m.path
|
|
3903
3904
|
}));
|
|
3904
3905
|
return {
|
|
3905
3906
|
...r,
|
|
3906
|
-
routes:
|
|
3907
|
+
routes: h,
|
|
3907
3908
|
itemRender: (r == null ? void 0 : r.itemRender) || (({
|
|
3908
|
-
route:
|
|
3909
|
-
}) =>
|
|
3910
|
-
to:
|
|
3909
|
+
route: m
|
|
3910
|
+
}) => m.path ? t(Va, {
|
|
3911
|
+
to: m.link
|
|
3911
3912
|
}, {
|
|
3912
|
-
default: () => [
|
|
3913
|
-
}) :
|
|
3913
|
+
default: () => [m.breadcrumbName]
|
|
3914
|
+
}) : m.breadcrumbName)
|
|
3914
3915
|
};
|
|
3915
3916
|
});
|
|
3916
3917
|
return () => {
|
|
3917
3918
|
var r;
|
|
3918
3919
|
return i(t("div", {
|
|
3919
3920
|
class: [`${o}`, l.value, `${o}-has-breadcrumb`]
|
|
3920
|
-
}, [e.breadcrumb ? (r = e.breadcrumb) == null ? void 0 : r.call(e, s.value) : t(
|
|
3921
|
+
}, [e.breadcrumb ? (r = e.breadcrumb) == null ? void 0 : r.call(e, s.value) : t(Gn, s.value, null), Fe(e.content) && t("div", {
|
|
3921
3922
|
class: [`${o}-content`, l.value]
|
|
3922
3923
|
}, [e.content])]));
|
|
3923
3924
|
};
|
|
@@ -3983,49 +3984,49 @@ const as = /* @__PURE__ */ j({
|
|
|
3983
3984
|
slots: n,
|
|
3984
3985
|
attrs: a
|
|
3985
3986
|
}) {
|
|
3986
|
-
const o = le(), i =
|
|
3987
|
+
const o = le(), i = Mt(), l = Oe(), s = (o == null ? void 0 : o.getPrefixCls) || ie, r = s({
|
|
3987
3988
|
suffixCls: "page-container",
|
|
3988
3989
|
isPor: !0
|
|
3989
3990
|
}), g = s({
|
|
3990
3991
|
suffixCls: "grid-content",
|
|
3991
3992
|
isPor: !0
|
|
3992
|
-
}),
|
|
3993
|
+
}), h = R(() => {
|
|
3993
3994
|
var $;
|
|
3994
3995
|
return (($ = o == null ? void 0 : o.pageContainerProps) == null ? void 0 : $.value) || {};
|
|
3995
|
-
}),
|
|
3996
|
+
}), d = R(() => {
|
|
3996
3997
|
var $;
|
|
3997
|
-
return e.pageCardProps || (($ =
|
|
3998
|
-
}),
|
|
3998
|
+
return e.pageCardProps || (($ = h.value) == null ? void 0 : $.pageCardProps);
|
|
3999
|
+
}), m = R(() => {
|
|
3999
4000
|
var $;
|
|
4000
|
-
return e.waterMarkProps || (($ =
|
|
4001
|
-
}),
|
|
4001
|
+
return e.waterMarkProps || (($ = h.value) == null ? void 0 : $.waterMarkProps) || {};
|
|
4002
|
+
}), S = R(() => {
|
|
4002
4003
|
var $;
|
|
4003
|
-
return e.pageContentStyle || (($ =
|
|
4004
|
-
}), y =
|
|
4004
|
+
return e.pageContentStyle || (($ = h.value) == null ? void 0 : $.pageContentStyle);
|
|
4005
|
+
}), y = R(() => {
|
|
4005
4006
|
var $;
|
|
4006
|
-
return e.pageChildrenContentStyle || (($ =
|
|
4007
|
-
}), u =
|
|
4007
|
+
return e.pageChildrenContentStyle || (($ = h.value) == null ? void 0 : $.pageChildrenContentStyle) || {};
|
|
4008
|
+
}), u = R(() => {
|
|
4008
4009
|
var $;
|
|
4009
4010
|
return ($ = o == null ? void 0 : o.hasContentWide) == null ? void 0 : $.value;
|
|
4010
|
-
}),
|
|
4011
|
-
var $,
|
|
4012
|
-
return ae(e.usePageCard) ? e.usePageCard : ae(($ =
|
|
4013
|
-
}),
|
|
4014
|
-
var $,
|
|
4015
|
-
return (
|
|
4016
|
-
}), c =
|
|
4017
|
-
wrapSSR:
|
|
4018
|
-
hashId:
|
|
4019
|
-
} = Si(r),
|
|
4020
|
-
var
|
|
4021
|
-
const $ =
|
|
4011
|
+
}), C = R(() => {
|
|
4012
|
+
var $, I;
|
|
4013
|
+
return ae(e.usePageCard) ? e.usePageCard : ae(($ = h.value) == null ? void 0 : $.usePageCard) ? (I = h.value) == null ? void 0 : I.usePageCard : !0;
|
|
4014
|
+
}), b = R(() => {
|
|
4015
|
+
var $, I, B;
|
|
4016
|
+
return (B = (I = ($ = l == null ? void 0 : l.token) == null ? void 0 : $.value) == null ? void 0 : I.layout) == null ? void 0 : B.pageContainer;
|
|
4017
|
+
}), c = R(() => Ae(Ue(e.contentWidth) && e.contentWidth ? e.contentWidth : o == null ? void 0 : o.contentWidth.value)), {
|
|
4018
|
+
wrapSSR: v,
|
|
4019
|
+
hashId: f
|
|
4020
|
+
} = Si(r), w = () => {
|
|
4021
|
+
var B, k, O, T;
|
|
4022
|
+
const $ = Me(n, e, "pageChildrenExtraRender"), I = Q(`${r}-children-content`, f.value, c.value && `${r}-children-content-width`);
|
|
4022
4023
|
return t("div", {
|
|
4023
|
-
class:
|
|
4024
|
+
class: I,
|
|
4024
4025
|
style: {
|
|
4025
4026
|
...y.value,
|
|
4026
4027
|
width: c.value
|
|
4027
4028
|
}
|
|
4028
|
-
}, [$,
|
|
4029
|
+
}, [$, C.value ? t(Yn, te(d.value ? oe(d.value, ["loading", "bodyStyle"]) : {}, {
|
|
4029
4030
|
style: u.value ? {
|
|
4030
4031
|
minHeight: "853px"
|
|
4031
4032
|
} : void 0,
|
|
@@ -4036,39 +4037,39 @@ const as = /* @__PURE__ */ j({
|
|
|
4036
4037
|
return [(U = n.default) == null ? void 0 : U.call(n)];
|
|
4037
4038
|
}
|
|
4038
4039
|
}) : Fe($) ? t("div", {
|
|
4039
|
-
style: (
|
|
4040
|
-
marginBlockStart: `${(k =
|
|
4040
|
+
style: (B = b.value) != null && B.marginBlockPageContainerContent ? {
|
|
4041
|
+
marginBlockStart: `${(k = b.value) == null ? void 0 : k.marginBlockPageContainerContent}px`
|
|
4041
4042
|
} : void 0
|
|
4042
4043
|
}, [(O = n.default) == null ? void 0 : O.call(n)]) : (T = n.default) == null ? void 0 : T.call(n)]);
|
|
4043
4044
|
}, z = () => {
|
|
4044
|
-
var
|
|
4045
|
+
var I;
|
|
4045
4046
|
let $;
|
|
4046
|
-
return t(J, null, [(ae(e.waterMark) ? e.waterMark : (
|
|
4047
|
+
return t(J, null, [(ae(e.waterMark) ? e.waterMark : (I = o == null ? void 0 : o.waterMark) != null && I.value) ? t(Qa, m.value, Ii($ = w()) ? $ : {
|
|
4047
4048
|
default: () => [$]
|
|
4048
|
-
}) :
|
|
4049
|
+
}) : w()]);
|
|
4049
4050
|
};
|
|
4050
4051
|
return () => {
|
|
4051
4052
|
var k, O;
|
|
4052
|
-
const $ =
|
|
4053
|
-
return
|
|
4053
|
+
const $ = Me(n, e, "pageHeaderRender") || ((k = o == null ? void 0 : o.pageHeaderRender) == null ? void 0 : k.value), I = re(n, e, "breadcrumbRender"), B = Me(n, e, "contentRender");
|
|
4054
|
+
return v(t("div", {
|
|
4054
4055
|
style: a.style,
|
|
4055
4056
|
class: {
|
|
4056
|
-
[`${
|
|
4057
|
+
[`${f.value}`]: !0,
|
|
4057
4058
|
[`${r}`]: !0
|
|
4058
4059
|
}
|
|
4059
4060
|
}, [e.loading && t("div", {
|
|
4060
|
-
class: Q(`${r}-blur`,
|
|
4061
|
+
class: Q(`${r}-blur`, f.value)
|
|
4061
4062
|
}, [t(St, {
|
|
4062
4063
|
indicator: (O = i == null ? void 0 : i.indicator) == null ? void 0 : O.value
|
|
4063
4064
|
}, null)]), !u.value && $ !== !1 && ($ || t(Ci, {
|
|
4064
4065
|
style: e.pageHeaderStyle,
|
|
4065
|
-
breadcrumb:
|
|
4066
|
-
content:
|
|
4066
|
+
breadcrumb: I,
|
|
4067
|
+
content: B
|
|
4067
4068
|
}, null)), t("div", {
|
|
4068
|
-
class: [g,
|
|
4069
|
+
class: [g, f.value]
|
|
4069
4070
|
}, [t("div", {
|
|
4070
|
-
class: `${g}-children ${
|
|
4071
|
-
style:
|
|
4071
|
+
class: `${g}-children ${f.value}`,
|
|
4072
|
+
style: S.value
|
|
4072
4073
|
}, [z()])])]));
|
|
4073
4074
|
};
|
|
4074
4075
|
}
|
|
@@ -4080,25 +4081,25 @@ function os(e) {
|
|
|
4080
4081
|
}), i = ve({
|
|
4081
4082
|
openKeys: [],
|
|
4082
4083
|
selectedKeys: []
|
|
4083
|
-
}), l =
|
|
4084
|
-
var
|
|
4085
|
-
const
|
|
4086
|
-
(
|
|
4084
|
+
}), l = R(() => n.currentRoute.value), s = (h) => {
|
|
4085
|
+
var m;
|
|
4086
|
+
const d = No(zo(h));
|
|
4087
|
+
(m = l.value) != null && m.hidden ? (o.menuData = [], o.levelMenuData = []) : (o.menuData = d.menuData, o.levelMenuData = d.getLevel());
|
|
4087
4088
|
};
|
|
4088
|
-
e ?
|
|
4089
|
-
const r =
|
|
4090
|
-
const
|
|
4091
|
-
var
|
|
4092
|
-
const
|
|
4089
|
+
e ? Wn(e) ? ne(() => e.value, (h) => s(h), { deep: !0, immediate: !0 }) : s(e) : s(a);
|
|
4090
|
+
const r = R(() => Ho(o, { path: wn(l.value), name: l.value.name })), g = R(() => {
|
|
4091
|
+
const h = r.value.map((d) => {
|
|
4092
|
+
var S, y;
|
|
4093
|
+
const m = Rn((S = d.meta) != null && S.hideChildrenInMenu ? [] : d.children || []);
|
|
4093
4094
|
return {
|
|
4094
|
-
path:
|
|
4095
|
-
breadcrumbName: ((y =
|
|
4095
|
+
path: d.redirect || m || d.path || "",
|
|
4096
|
+
breadcrumbName: ((y = d.meta) == null ? void 0 : y.title) || ""
|
|
4096
4097
|
};
|
|
4097
|
-
}).filter((
|
|
4098
|
-
return Xo(
|
|
4098
|
+
}).filter((d) => d.breadcrumbName);
|
|
4099
|
+
return Xo(h, "breadcrumbName");
|
|
4099
4100
|
});
|
|
4100
|
-
return ne(() => l.value, (
|
|
4101
|
-
|
|
4101
|
+
return ne(() => l.value, (h) => {
|
|
4102
|
+
h && (i.selectedKeys = r.value.map((d) => d.path), i.openKeys = r.value.filter((d) => d.path !== h.path).map((d) => d.path));
|
|
4102
4103
|
}, { immediate: !0, deep: !0 }), {
|
|
4103
4104
|
menuState: o,
|
|
4104
4105
|
matchedKeys: i,
|
|
@@ -4136,8 +4137,8 @@ const Ct = Object.keys(Z).filter((e) => e !== "title"), wi = [{
|
|
|
4136
4137
|
alignItems: "center",
|
|
4137
4138
|
gap: "6px"
|
|
4138
4139
|
}
|
|
4139
|
-
}, [t(
|
|
4140
|
-
}],
|
|
4140
|
+
}, [t(Wa, null, null), W("自动")])
|
|
4141
|
+
}], Nn = [
|
|
4141
4142
|
{
|
|
4142
4143
|
key: "light",
|
|
4143
4144
|
title: "亮色菜单风格"
|
|
@@ -4150,7 +4151,7 @@ const Ct = Object.keys(Z).filter((e) => e !== "title"), wi = [{
|
|
|
4150
4151
|
// key: 'systemDark',
|
|
4151
4152
|
// title: '暗黑模式'
|
|
4152
4153
|
// }
|
|
4153
|
-
],
|
|
4154
|
+
], zn = [{
|
|
4154
4155
|
key: "side",
|
|
4155
4156
|
title: "侧边菜单布局"
|
|
4156
4157
|
}, {
|
|
@@ -4192,7 +4193,7 @@ const Ct = Object.keys(Z).filter((e) => e !== "title"), wi = [{
|
|
|
4192
4193
|
}, {
|
|
4193
4194
|
key: "colorTextMenuSelected",
|
|
4194
4195
|
name: "菜单文字选中颜色"
|
|
4195
|
-
}],
|
|
4196
|
+
}], Bi = [{
|
|
4196
4197
|
label: "fixedHeader",
|
|
4197
4198
|
title: "固定 Header"
|
|
4198
4199
|
}, {
|
|
@@ -4201,7 +4202,7 @@ const Ct = Object.keys(Z).filter((e) => e !== "title"), wi = [{
|
|
|
4201
4202
|
}, {
|
|
4202
4203
|
label: "splitMenus",
|
|
4203
4204
|
title: "自动分割菜单"
|
|
4204
|
-
}],
|
|
4205
|
+
}], Mi = [{
|
|
4205
4206
|
label: "showTabsBar",
|
|
4206
4207
|
title: "多标签"
|
|
4207
4208
|
}, {
|
|
@@ -4481,7 +4482,7 @@ const Ct = Object.keys(Z).filter((e) => e !== "title"), wi = [{
|
|
|
4481
4482
|
onChange: Function
|
|
4482
4483
|
},
|
|
4483
4484
|
setup(e) {
|
|
4484
|
-
return () => t(
|
|
4485
|
+
return () => t(Be, {
|
|
4485
4486
|
class: `${e.prefixCls}-list ${e.hashId}`.trim(),
|
|
4486
4487
|
split: !1,
|
|
4487
4488
|
size: "small",
|
|
@@ -4491,7 +4492,7 @@ const Ct = Object.keys(Z).filter((e) => e !== "title"), wi = [{
|
|
|
4491
4492
|
title: n.disabled ? n.disabledReason : "",
|
|
4492
4493
|
placement: "left"
|
|
4493
4494
|
}, {
|
|
4494
|
-
default: () => [t(
|
|
4495
|
+
default: () => [t(Be.Item, {
|
|
4495
4496
|
actions: [n.action]
|
|
4496
4497
|
}, {
|
|
4497
4498
|
default: () => [t("span", {
|
|
@@ -4551,10 +4552,10 @@ const Ct = Object.keys(Z).filter((e) => e !== "title"), wi = [{
|
|
|
4551
4552
|
function ki(e) {
|
|
4552
4553
|
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Le(e);
|
|
4553
4554
|
}
|
|
4554
|
-
const
|
|
4555
|
-
|
|
4556
|
-
|
|
4557
|
-
|
|
4555
|
+
const Dn = [];
|
|
4556
|
+
Ca.forEach((e) => {
|
|
4557
|
+
xa.forEach((n) => {
|
|
4558
|
+
Dn.push({
|
|
4558
4559
|
key: `${e}:${n}`,
|
|
4559
4560
|
token: {}
|
|
4560
4561
|
});
|
|
@@ -4578,25 +4579,25 @@ const Ti = /* @__PURE__ */ j({
|
|
|
4578
4579
|
hashId: s
|
|
4579
4580
|
} = fe("ProThemeEditor", [Fi], i), {
|
|
4580
4581
|
token: r
|
|
4581
|
-
} = Oe(), g =
|
|
4582
|
+
} = Oe(), g = R(() => {
|
|
4582
4583
|
var y;
|
|
4583
4584
|
return (y = r.value) == null ? void 0 : y.layout;
|
|
4584
4585
|
});
|
|
4585
|
-
function
|
|
4586
|
-
return Se(
|
|
4587
|
-
var
|
|
4588
|
-
const
|
|
4589
|
-
if (u.token =
|
|
4586
|
+
function h(y) {
|
|
4587
|
+
return Se(Dn).map((u) => {
|
|
4588
|
+
var b;
|
|
4589
|
+
const C = it(y, r.value, u.key);
|
|
4590
|
+
if (u.token = C, C)
|
|
4590
4591
|
for (const c in u.token) {
|
|
4591
|
-
const
|
|
4592
|
-
u.token[c] =
|
|
4592
|
+
const v = (b = g.value) == null ? void 0 : b[y], f = (v == null ? void 0 : v[c]) || u.token[c];
|
|
4593
|
+
u.token[c] = f;
|
|
4593
4594
|
}
|
|
4594
4595
|
return u;
|
|
4595
4596
|
}).filter((u) => u.token);
|
|
4596
4597
|
}
|
|
4597
|
-
const
|
|
4598
|
-
header:
|
|
4599
|
-
sider:
|
|
4598
|
+
const d = ve({
|
|
4599
|
+
header: h("header"),
|
|
4600
|
+
sider: h("sider")
|
|
4600
4601
|
});
|
|
4601
4602
|
ne([() => {
|
|
4602
4603
|
var y, u;
|
|
@@ -4605,33 +4606,33 @@ const Ti = /* @__PURE__ */ j({
|
|
|
4605
4606
|
var y, u;
|
|
4606
4607
|
return (u = (y = r.value) == null ? void 0 : y.layout) == null ? void 0 : u.sider;
|
|
4607
4608
|
}], () => {
|
|
4608
|
-
|
|
4609
|
+
d.sider = h("sider"), d.header = h("header");
|
|
4609
4610
|
}, {
|
|
4610
4611
|
deep: 1
|
|
4611
4612
|
});
|
|
4612
|
-
const
|
|
4613
|
+
const m = R(() => {
|
|
4613
4614
|
var u;
|
|
4614
|
-
const y = (u =
|
|
4615
|
-
var
|
|
4616
|
-
return
|
|
4615
|
+
const y = (u = d[a.value].find((C) => {
|
|
4616
|
+
var b;
|
|
4617
|
+
return C.key === ((b = g.value) == null ? void 0 : b.key);
|
|
4617
4618
|
})) == null ? void 0 : u.token;
|
|
4618
|
-
return Object.keys(y || {}).map((
|
|
4619
|
+
return Object.keys(y || {}).map((C) => {
|
|
4619
4620
|
var c;
|
|
4620
4621
|
return {
|
|
4621
|
-
title: ((c = $i.find((
|
|
4622
|
-
key:
|
|
4623
|
-
value: (y == null ? void 0 : y[
|
|
4622
|
+
title: ((c = $i.find((v) => v.key === C)) == null ? void 0 : c.name) || "",
|
|
4623
|
+
key: C,
|
|
4624
|
+
value: (y == null ? void 0 : y[C]) || ""
|
|
4624
4625
|
};
|
|
4625
4626
|
});
|
|
4626
|
-
}),
|
|
4627
|
-
var
|
|
4628
|
-
|
|
4627
|
+
}), S = (y, u) => {
|
|
4628
|
+
var C;
|
|
4629
|
+
d[a.value] = d[a.value].map((b) => {
|
|
4629
4630
|
var c;
|
|
4630
|
-
return
|
|
4631
|
-
}), (
|
|
4631
|
+
return b.key === ((c = g.value) == null ? void 0 : c.key) && (b.token[u] = y), b;
|
|
4632
|
+
}), (C = e.onChange) == null || C.call(e, y, a.value, u);
|
|
4632
4633
|
};
|
|
4633
4634
|
return () => {
|
|
4634
|
-
var u,
|
|
4635
|
+
var u, C, b;
|
|
4635
4636
|
let y;
|
|
4636
4637
|
return l(t("div", {
|
|
4637
4638
|
class: [i, s.value]
|
|
@@ -4639,22 +4640,22 @@ const Ti = /* @__PURE__ */ j({
|
|
|
4639
4640
|
class: [`${i}-title`, s.value]
|
|
4640
4641
|
}, [W("主题编辑器"), t("div", {
|
|
4641
4642
|
class: [`${i}-sub-title`, s.value]
|
|
4642
|
-
}, [t("span", null, [(u =
|
|
4643
|
+
}, [t("span", null, [(u = Nn.find((c) => c.key === e.theme)) == null ? void 0 : u.title]), t("span", {
|
|
4643
4644
|
style: {
|
|
4644
4645
|
marginInline: "8px"
|
|
4645
4646
|
}
|
|
4646
|
-
}, [W("/")]), t("span", null, [(
|
|
4647
|
-
var
|
|
4648
|
-
return c.key === ((
|
|
4649
|
-
})) == null ? void 0 :
|
|
4647
|
+
}, [W("/")]), t("span", null, [(C = zn.find((c) => {
|
|
4648
|
+
var v;
|
|
4649
|
+
return c.key === ((v = e.settingValue) == null ? void 0 : v.layout);
|
|
4650
|
+
})) == null ? void 0 : C.title])])]), t("div", {
|
|
4650
4651
|
class: [`${i}-content`, s.value]
|
|
4651
|
-
}, [t(
|
|
4652
|
+
}, [t(Be, {
|
|
4652
4653
|
class: `${i}-list ${s.value}`.trim(),
|
|
4653
4654
|
split: !1,
|
|
4654
4655
|
size: "small",
|
|
4655
4656
|
renderItem: ({
|
|
4656
4657
|
item: c
|
|
4657
|
-
}) => t(
|
|
4658
|
+
}) => t(Be.Item, {
|
|
4658
4659
|
actions: [c.action]
|
|
4659
4660
|
}, {
|
|
4660
4661
|
default: () => [t("span", {
|
|
@@ -4666,7 +4667,7 @@ const Ti = /* @__PURE__ */ j({
|
|
|
4666
4667
|
dataSource: [{
|
|
4667
4668
|
title: "自定义主题色",
|
|
4668
4669
|
action: t(jt, {
|
|
4669
|
-
value: (
|
|
4670
|
+
value: (b = e.settingValue) == null ? void 0 : b.primaryColor,
|
|
4670
4671
|
size: "small",
|
|
4671
4672
|
onChangeComplete: (c) => e.onChange && e.onChange(c.toCssString(), "primaryColor")
|
|
4672
4673
|
}, null)
|
|
@@ -4674,31 +4675,31 @@ const Ti = /* @__PURE__ */ j({
|
|
|
4674
4675
|
}, null), t(It, {
|
|
4675
4676
|
activeKey: a.value,
|
|
4676
4677
|
onChange: (c) => o(c)
|
|
4677
|
-
}, ki(y = Ri.map((c) => t(
|
|
4678
|
+
}, ki(y = Ri.map((c) => t(qn, {
|
|
4678
4679
|
key: c.key,
|
|
4679
4680
|
tab: c.title
|
|
4680
4681
|
}, {
|
|
4681
|
-
default: () => [t(
|
|
4682
|
+
default: () => [t(Be, {
|
|
4682
4683
|
class: `${i}-list ${s.value}`.trim(),
|
|
4683
4684
|
split: !1,
|
|
4684
4685
|
size: "small",
|
|
4685
4686
|
renderItem: ({
|
|
4686
|
-
item:
|
|
4687
|
-
}) => t(
|
|
4688
|
-
actions: [
|
|
4687
|
+
item: v
|
|
4688
|
+
}) => t(Be.Item, {
|
|
4689
|
+
actions: [v.action]
|
|
4689
4690
|
}, {
|
|
4690
4691
|
default: () => [t("span", {
|
|
4691
4692
|
style: {
|
|
4692
|
-
opacity:
|
|
4693
|
+
opacity: v.disabled ? 0.5 : 1
|
|
4693
4694
|
}
|
|
4694
|
-
}, [
|
|
4695
|
+
}, [v.title])]
|
|
4695
4696
|
}),
|
|
4696
|
-
dataSource:
|
|
4697
|
-
...
|
|
4697
|
+
dataSource: m.value.map((v) => ({
|
|
4698
|
+
...v,
|
|
4698
4699
|
action: t(jt, {
|
|
4699
|
-
value:
|
|
4700
|
+
value: v.value,
|
|
4700
4701
|
size: "small",
|
|
4701
|
-
onChangeComplete: (
|
|
4702
|
+
onChangeComplete: (f) => S(f.toCssString(), v.key)
|
|
4702
4703
|
}, null)
|
|
4703
4704
|
}))
|
|
4704
4705
|
}, null)]
|
|
@@ -4759,30 +4760,30 @@ const {
|
|
|
4759
4760
|
hashId: o
|
|
4760
4761
|
} = fe("SettingsDrawOthers", [Pi], n);
|
|
4761
4762
|
return () => {
|
|
4762
|
-
var l, s, r, g,
|
|
4763
|
+
var l, s, r, g, h, d, m, S, y, u, C, b, c, v;
|
|
4763
4764
|
let i;
|
|
4764
4765
|
return a(t("div", {
|
|
4765
4766
|
class: [n, o.value]
|
|
4766
4767
|
}, [t("h3", {
|
|
4767
4768
|
class: [`${n}-title`, o.value]
|
|
4768
|
-
}, [W("页面动画设置")]), t(
|
|
4769
|
+
}, [W("页面动画设置")]), t(Be, {
|
|
4769
4770
|
class: `${n}-list ${o.value}`.trim(),
|
|
4770
4771
|
split: !1,
|
|
4771
4772
|
size: "small",
|
|
4772
4773
|
renderItem: ({
|
|
4773
|
-
item:
|
|
4774
|
+
item: f
|
|
4774
4775
|
}) => t(nt, {
|
|
4775
|
-
title:
|
|
4776
|
+
title: f.disabled ? f.disabledReason : "",
|
|
4776
4777
|
placement: "left"
|
|
4777
4778
|
}, {
|
|
4778
|
-
default: () => [t(
|
|
4779
|
-
actions: [
|
|
4779
|
+
default: () => [t(Be.Item, {
|
|
4780
|
+
actions: [f.action]
|
|
4780
4781
|
}, {
|
|
4781
4782
|
default: () => [t("span", {
|
|
4782
4783
|
style: {
|
|
4783
|
-
opacity:
|
|
4784
|
+
opacity: f.disabled ? 0.5 : 1
|
|
4784
4785
|
}
|
|
4785
|
-
}, [
|
|
4786
|
+
}, [f.title])]
|
|
4786
4787
|
})]
|
|
4787
4788
|
}),
|
|
4788
4789
|
dataSource: [{
|
|
@@ -4790,30 +4791,30 @@ const {
|
|
|
4790
4791
|
action: t(tn, {
|
|
4791
4792
|
checked: !((s = (l = e.settingValue) == null ? void 0 : l.animate) != null && s.disabled),
|
|
4792
4793
|
size: "small",
|
|
4793
|
-
onChange: (
|
|
4794
|
-
var
|
|
4795
|
-
return (
|
|
4794
|
+
onChange: (f) => {
|
|
4795
|
+
var w;
|
|
4796
|
+
return (w = e.onChange) == null ? void 0 : w.call(e, "animate", "disabled", !f);
|
|
4796
4797
|
}
|
|
4797
4798
|
}, null)
|
|
4798
4799
|
}, {
|
|
4799
4800
|
title: "动画效果",
|
|
4800
4801
|
disabled: (g = (r = e.settingValue) == null ? void 0 : r.animate) == null ? void 0 : g.disabled,
|
|
4801
4802
|
action: t(Ye, {
|
|
4802
|
-
value: (
|
|
4803
|
+
value: (d = (h = e.settingValue) == null ? void 0 : h.animate) == null ? void 0 : d.name,
|
|
4803
4804
|
style: {
|
|
4804
4805
|
width: "100px"
|
|
4805
4806
|
},
|
|
4806
4807
|
size: "small",
|
|
4807
|
-
disabled: (
|
|
4808
|
-
getPopupContainer: (
|
|
4809
|
-
onChange: (
|
|
4810
|
-
var
|
|
4811
|
-
return (
|
|
4808
|
+
disabled: (S = (m = e.settingValue) == null ? void 0 : m.animate) == null ? void 0 : S.disabled,
|
|
4809
|
+
getPopupContainer: (f) => f && f.parentNode ? f.parentNode : f,
|
|
4810
|
+
onChange: (f) => {
|
|
4811
|
+
var w;
|
|
4812
|
+
return (w = e.onChange) == null ? void 0 : w.call(e, "animate", "name", f);
|
|
4812
4813
|
}
|
|
4813
|
-
}, Gt(i = Yt.map((
|
|
4814
|
-
value:
|
|
4814
|
+
}, Gt(i = Yt.map((f) => t(Ye.Option, {
|
|
4815
|
+
value: f.name
|
|
4815
4816
|
}, {
|
|
4816
|
-
default: () => [
|
|
4817
|
+
default: () => [f.alias]
|
|
4817
4818
|
}))) ? i : {
|
|
4818
4819
|
default: () => [i]
|
|
4819
4820
|
})
|
|
@@ -4821,7 +4822,7 @@ const {
|
|
|
4821
4822
|
title: "动画方向",
|
|
4822
4823
|
disabled: (u = (y = e.settingValue) == null ? void 0 : y.animate) == null ? void 0 : u.disabled,
|
|
4823
4824
|
action: t(Ye, {
|
|
4824
|
-
value: (
|
|
4825
|
+
value: (b = (C = e.settingValue) == null ? void 0 : C.animate) == null ? void 0 : b.direction,
|
|
4825
4826
|
style: {
|
|
4826
4827
|
width: "100px"
|
|
4827
4828
|
},
|
|
@@ -4829,22 +4830,22 @@ const {
|
|
|
4829
4830
|
dropdownStyle: {
|
|
4830
4831
|
minWidth: "120px"
|
|
4831
4832
|
},
|
|
4832
|
-
disabled: (
|
|
4833
|
-
getPopupContainer: (
|
|
4834
|
-
onChange: (
|
|
4835
|
-
var
|
|
4836
|
-
return (
|
|
4833
|
+
disabled: (v = (c = e.settingValue) == null ? void 0 : c.animate) == null ? void 0 : v.disabled,
|
|
4834
|
+
getPopupContainer: (f) => f && f.parentNode ? f.parentNode : f,
|
|
4835
|
+
onChange: (f) => {
|
|
4836
|
+
var w;
|
|
4837
|
+
return (w = e.onChange) == null ? void 0 : w.call(e, "animate", "direction", f);
|
|
4837
4838
|
}
|
|
4838
4839
|
}, {
|
|
4839
4840
|
default: () => {
|
|
4840
|
-
var
|
|
4841
|
-
return [(
|
|
4841
|
+
var f;
|
|
4842
|
+
return [(f = Yt.find((w) => {
|
|
4842
4843
|
var z, $;
|
|
4843
|
-
return
|
|
4844
|
-
})) == null ? void 0 :
|
|
4845
|
-
value:
|
|
4846
|
-
}, Gt(
|
|
4847
|
-
default: () => [
|
|
4844
|
+
return w.name === (($ = (z = e.settingValue) == null ? void 0 : z.animate) == null ? void 0 : $.name);
|
|
4845
|
+
})) == null ? void 0 : f.directions.map((w) => t(Ye.Option, {
|
|
4846
|
+
value: w
|
|
4847
|
+
}, Gt(w) ? w : {
|
|
4848
|
+
default: () => [w]
|
|
4848
4849
|
}))];
|
|
4849
4850
|
}
|
|
4850
4851
|
})
|
|
@@ -4857,7 +4858,7 @@ const {
|
|
|
4857
4858
|
} = kt, Di = {
|
|
4858
4859
|
color: "#fff",
|
|
4859
4860
|
fontSize: 20
|
|
4860
|
-
}, qt = (e) =>
|
|
4861
|
+
}, qt = (e) => ha() ? {
|
|
4861
4862
|
...oe(Z, Ct),
|
|
4862
4863
|
...e || {}
|
|
4863
4864
|
} : Se(Z), Ke = (e, {
|
|
@@ -4892,7 +4893,7 @@ const {
|
|
|
4892
4893
|
},
|
|
4893
4894
|
colorList: {
|
|
4894
4895
|
type: [Boolean, Array],
|
|
4895
|
-
default: () =>
|
|
4896
|
+
default: () => Sa
|
|
4896
4897
|
},
|
|
4897
4898
|
onChange: Function,
|
|
4898
4899
|
onOpenChange: Function,
|
|
@@ -4913,8 +4914,8 @@ const {
|
|
|
4913
4914
|
}), {}), {
|
|
4914
4915
|
wrapSSR: s,
|
|
4915
4916
|
hashId: r
|
|
4916
|
-
} = fe("ProSettingDraw", [Li], o), g = me(!1), [
|
|
4917
|
-
value:
|
|
4917
|
+
} = fe("ProSettingDraw", [Li], o), g = me(!1), [h, d] = De(!1, {
|
|
4918
|
+
value: R(() => {
|
|
4918
4919
|
var L;
|
|
4919
4920
|
return ae(e.open) ? e.open : (L = a == null ? void 0 : a.settingsOpen) == null ? void 0 : L.value;
|
|
4920
4921
|
}),
|
|
@@ -4923,10 +4924,10 @@ const {
|
|
|
4923
4924
|
(F = e.onOpenChange) == null || F.call(e, L), (P = e == null ? void 0 : e["onUpdate:open"]) == null || P.call(e, L), a && !ae(e.open) && (a.settingsOpen.value = L);
|
|
4924
4925
|
}
|
|
4925
4926
|
}), {
|
|
4926
|
-
innerDark:
|
|
4927
|
-
isDark:
|
|
4927
|
+
innerDark: m,
|
|
4928
|
+
isDark: S,
|
|
4928
4929
|
toggleMode: y
|
|
4929
|
-
} = Tt(
|
|
4930
|
+
} = Tt(R(() => {
|
|
4930
4931
|
var L;
|
|
4931
4932
|
return Xe(e.dark) ? e.dark : (L = a == null ? void 0 : a.dark) == null ? void 0 : L.value;
|
|
4932
4933
|
}), {
|
|
@@ -4934,17 +4935,17 @@ const {
|
|
|
4934
4935
|
var F, P, E;
|
|
4935
4936
|
(F = e.onDarkChange) == null || F.call(e, L), (P = e == null ? void 0 : e["onUpdate:dark"]) == null || P.call(e, L), (E = a == null ? void 0 : a.onDarkChange) == null || E.call(a, L);
|
|
4936
4937
|
}
|
|
4937
|
-
}), [u,
|
|
4938
|
-
value:
|
|
4938
|
+
}), [u, C] = pe(!1), [b, c] = pe(!1), v = R(() => e.storage ? Object.keys(l.value).length > 0 : !1), f = R(() => qt(oe(e.settings, Ct))), [w, z] = De(() => qt(oe(e.settings, Ct)), {
|
|
4939
|
+
value: f,
|
|
4939
4940
|
onChange: (L) => {
|
|
4940
4941
|
var F;
|
|
4941
4942
|
l.value = be(l.value, L), (F = e.onChange) == null || F.call(e, L);
|
|
4942
4943
|
}
|
|
4943
|
-
}), $ =
|
|
4944
|
+
}), $ = R(() => {
|
|
4944
4945
|
var L;
|
|
4945
|
-
return Xe(e.dark) ?
|
|
4946
|
-
}),
|
|
4947
|
-
|
|
4946
|
+
return Xe(e.dark) ? S.value : (L = n == null ? void 0 : n.dark) == null ? void 0 : L.value;
|
|
4947
|
+
}), I = (L, F) => {
|
|
4948
|
+
On({
|
|
4948
4949
|
event: L,
|
|
4949
4950
|
isDark: $,
|
|
4950
4951
|
toggle: y,
|
|
@@ -4952,31 +4953,31 @@ const {
|
|
|
4952
4953
|
});
|
|
4953
4954
|
};
|
|
4954
4955
|
ne(() => e.storage, (L) => {
|
|
4955
|
-
L && (
|
|
4956
|
-
dark:
|
|
4957
|
-
...Se(
|
|
4958
|
-
}),
|
|
4959
|
-
...
|
|
4960
|
-
dark:
|
|
4956
|
+
L && (v.value ? (Object.assign(i, {
|
|
4957
|
+
dark: m.value,
|
|
4958
|
+
...Se(w.value)
|
|
4959
|
+
}), fa($e(l.value, "dark"), w.value) || z($e(l.value, "dark")), I(null, l.value.dark)) : l.value = {
|
|
4960
|
+
...w.value,
|
|
4961
|
+
dark: m.value
|
|
4961
4962
|
});
|
|
4962
4963
|
}, {
|
|
4963
4964
|
immediate: !0
|
|
4964
4965
|
});
|
|
4965
|
-
const
|
|
4966
|
+
const B = R(() => e.colorList && $t(e.colorList) ? e.colorList : []), k = R(() => _o(se(w))), {
|
|
4966
4967
|
copy: O,
|
|
4967
4968
|
copied: T,
|
|
4968
4969
|
isSupported: U
|
|
4969
|
-
} =
|
|
4970
|
-
ne(
|
|
4970
|
+
} = ia();
|
|
4971
|
+
ne(h, () => {
|
|
4971
4972
|
g.value || (g.value = !0);
|
|
4972
4973
|
}), ne(() => {
|
|
4973
4974
|
var L;
|
|
4974
4975
|
return (L = a == null ? void 0 : a.settingsOpen) == null ? void 0 : L.value;
|
|
4975
4976
|
}, (L) => {
|
|
4976
|
-
ae(e.open) ||
|
|
4977
|
+
ae(e.open) || d(L);
|
|
4977
4978
|
}), ne(T, (L) => {
|
|
4978
|
-
L &&
|
|
4979
|
-
}), ne(() =>
|
|
4979
|
+
L && Qn.success("拷贝成功,请到 config/default/themeConfig.js 中替换默认配置");
|
|
4980
|
+
}), ne(() => m.value, (L) => {
|
|
4980
4981
|
e.storage && (l.value.dark = L);
|
|
4981
4982
|
});
|
|
4982
4983
|
const _ = (L, F, P) => {
|
|
@@ -4991,23 +4992,23 @@ const {
|
|
|
4991
4992
|
const V = document.querySelector("body");
|
|
4992
4993
|
V && (V.dataset.prosettingdrawer = F === !0 ? V.style.filter : V.dataset.prosettingdrawer || "none", F === !0 && (V.dataset.prosettingdrawer = V.style.filter), V.style.filter = F === !0 ? "invert(80%)" : V.dataset.prosettingdrawer || "none", F || delete V.dataset.prosettingdrawer);
|
|
4993
4994
|
}
|
|
4994
|
-
z(be(se(
|
|
4995
|
+
z(be(se(w), {
|
|
4995
4996
|
...Uo($e(ee, E))
|
|
4996
4997
|
}));
|
|
4997
4998
|
}, X = (L) => {
|
|
4998
|
-
l.value.dark = L === "system" ? L : L === "dark",
|
|
4999
|
+
l.value.dark = L === "system" ? L : L === "dark", I(null, L === "system" ? L : L === "dark");
|
|
4999
5000
|
}, he = () => {
|
|
5000
|
-
U.value && O(JSON.stringify(se(
|
|
5001
|
+
U.value && O(JSON.stringify(se(w)));
|
|
5001
5002
|
}, de = () => {
|
|
5002
|
-
z($e(Se(i), "dark")),
|
|
5003
|
+
z($e(Se(i), "dark")), I(null, i.dark), l.value = Se(i);
|
|
5003
5004
|
};
|
|
5004
5005
|
return () => {
|
|
5005
|
-
const L =
|
|
5006
|
+
const L = h.value ? lt : un;
|
|
5006
5007
|
return s(t(Qe, {
|
|
5007
5008
|
width: 300,
|
|
5008
5009
|
closable: !1,
|
|
5009
|
-
open:
|
|
5010
|
-
rootClassName: `${o} ${r.value} ${
|
|
5010
|
+
open: h.value,
|
|
5011
|
+
rootClassName: `${o} ${r.value} ${h.value && `${o}-show`} ${!g.value && `${o}-trantion-none`}`,
|
|
5011
5012
|
placement: "right",
|
|
5012
5013
|
rootStyle: {
|
|
5013
5014
|
zIndex: 999
|
|
@@ -5015,17 +5016,17 @@ const {
|
|
|
5015
5016
|
bodyStyle: {
|
|
5016
5017
|
padding: 0
|
|
5017
5018
|
},
|
|
5018
|
-
onClose: () =>
|
|
5019
|
+
onClose: () => d(!1),
|
|
5019
5020
|
handle: t("div", {
|
|
5020
5021
|
class: [`${o}-handle`, r.value],
|
|
5021
|
-
onClick: () =>
|
|
5022
|
+
onClick: () => d(!h.value)
|
|
5022
5023
|
}, [t(L, {
|
|
5023
5024
|
style: Di
|
|
5024
5025
|
}, null)])
|
|
5025
5026
|
}, {
|
|
5026
5027
|
default: () => [t("div", {
|
|
5027
5028
|
class: [`${o}-wrapper`, r.value]
|
|
5028
|
-
}, [t(
|
|
5029
|
+
}, [t(Za, null, {
|
|
5029
5030
|
default: () => [t("div", {
|
|
5030
5031
|
class: [`${o}-content`, r.value]
|
|
5031
5032
|
}, [t(Ke, {
|
|
@@ -5033,8 +5034,8 @@ const {
|
|
|
5033
5034
|
hashId: r.value,
|
|
5034
5035
|
title: "整体风格"
|
|
5035
5036
|
}, {
|
|
5036
|
-
default: () => [t(
|
|
5037
|
-
value: ae(
|
|
5037
|
+
default: () => [t(Zn, {
|
|
5038
|
+
value: ae(m.value) ? m.value ? "dark" : "light" : "system",
|
|
5038
5039
|
options: wi,
|
|
5039
5040
|
onChange: (F) => X(F)
|
|
5040
5041
|
}, null)]
|
|
@@ -5046,8 +5047,8 @@ const {
|
|
|
5046
5047
|
default: () => [t(Vt, {
|
|
5047
5048
|
hashId: r.value,
|
|
5048
5049
|
prefixCls: o,
|
|
5049
|
-
list:
|
|
5050
|
-
value:
|
|
5050
|
+
list: Nn,
|
|
5051
|
+
value: w.value.theme,
|
|
5051
5052
|
configType: "theme",
|
|
5052
5053
|
key: "navTheme",
|
|
5053
5054
|
onChange: (F, P) => _("theme", F, {
|
|
@@ -5061,15 +5062,15 @@ const {
|
|
|
5061
5062
|
fontSize: "12px",
|
|
5062
5063
|
marginLeft: "4px"
|
|
5063
5064
|
},
|
|
5064
|
-
onClick: () =>
|
|
5065
|
+
onClick: () => C(!0)
|
|
5065
5066
|
}, [W("更多配置")])]),
|
|
5066
5067
|
prefixCls: o
|
|
5067
5068
|
}, {
|
|
5068
5069
|
default: () => [t(Oi, {
|
|
5069
5070
|
hashId: r.value,
|
|
5070
5071
|
prefixCls: o,
|
|
5071
|
-
colorList:
|
|
5072
|
-
settingValue:
|
|
5072
|
+
colorList: B.value,
|
|
5073
|
+
settingValue: w.value,
|
|
5073
5074
|
onChange: (F, P) => _(P || "primaryColor", F)
|
|
5074
5075
|
}, null)]
|
|
5075
5076
|
}), !e.themeOnly && t(J, null, [t(ct, null, null), t(Ke, {
|
|
@@ -5079,20 +5080,20 @@ const {
|
|
|
5079
5080
|
}, {
|
|
5080
5081
|
default: () => [t(Vt, {
|
|
5081
5082
|
prefixCls: o,
|
|
5082
|
-
value: se(
|
|
5083
|
+
value: se(w).layout,
|
|
5083
5084
|
key: "layout",
|
|
5084
5085
|
hashId: r.value,
|
|
5085
5086
|
configType: "layout",
|
|
5086
|
-
list:
|
|
5087
|
+
list: zn,
|
|
5087
5088
|
onChange: (F) => _("layout", F)
|
|
5088
5089
|
}, null)]
|
|
5089
|
-
}),
|
|
5090
|
+
}), Bi.map(({
|
|
5090
5091
|
label: F,
|
|
5091
5092
|
title: P
|
|
5092
5093
|
}) => t(qe, {
|
|
5093
5094
|
label: P,
|
|
5094
5095
|
disabled: k.value[F],
|
|
5095
|
-
value:
|
|
5096
|
+
value: w.value[F],
|
|
5096
5097
|
prefixCls: o,
|
|
5097
5098
|
hashId: r.value,
|
|
5098
5099
|
valueKey: F,
|
|
@@ -5108,36 +5109,36 @@ const {
|
|
|
5108
5109
|
onClick: () => c(!0)
|
|
5109
5110
|
}, [W("更多配置")])])
|
|
5110
5111
|
}, {
|
|
5111
|
-
default: () => [
|
|
5112
|
+
default: () => [Mi.map(({
|
|
5112
5113
|
label: F,
|
|
5113
5114
|
title: P
|
|
5114
5115
|
}) => t(qe, {
|
|
5115
5116
|
label: P,
|
|
5116
5117
|
disabled: se(k)[F],
|
|
5117
|
-
value: se(
|
|
5118
|
+
value: se(w)[F],
|
|
5118
5119
|
prefixCls: o,
|
|
5119
5120
|
hashId: r.value,
|
|
5120
5121
|
valueKey: F,
|
|
5121
5122
|
onChange: (E, ee) => _(E, ee)
|
|
5122
5123
|
}, null)), e.weakmode && t(qe, {
|
|
5123
5124
|
label: "色弱模式",
|
|
5124
|
-
value: se(
|
|
5125
|
+
value: se(w).colorWeak,
|
|
5125
5126
|
prefixCls: o,
|
|
5126
5127
|
hashId: r.value,
|
|
5127
5128
|
valueKey: "colorWeak",
|
|
5128
5129
|
onChange: (F, P) => _(F, P)
|
|
5129
5130
|
}, null), e.showProgress && t(qe, {
|
|
5130
5131
|
label: "顶部进度条",
|
|
5131
|
-
value: se(
|
|
5132
|
+
value: se(w).showProgressBar,
|
|
5132
5133
|
prefixCls: o,
|
|
5133
5134
|
hashId: r.value,
|
|
5134
5135
|
valueKey: "showProgressBar",
|
|
5135
5136
|
onChange: (F, P) => _(F, P)
|
|
5136
5137
|
}, null)]
|
|
5137
|
-
})]), e.hideHintAlert && e.hideCopyButton ? null : t(ct, null, null), e.hideHintAlert ? null : t(
|
|
5138
|
+
})]), e.hideHintAlert && e.hideCopyButton ? null : t(ct, null, null), e.hideHintAlert ? null : t(Jn, {
|
|
5138
5139
|
type: "warning",
|
|
5139
5140
|
message: "配置栏只在开发环境用于预览,生产环境不会展现,请拷贝后手动修改配置文件",
|
|
5140
|
-
icon: t(
|
|
5141
|
+
icon: t(Ua, null, null),
|
|
5141
5142
|
showIcon: !0,
|
|
5142
5143
|
style: {
|
|
5143
5144
|
marginBottom: "16px"
|
|
@@ -5151,12 +5152,12 @@ const {
|
|
|
5151
5152
|
onClick: () => he(),
|
|
5152
5153
|
block: !0
|
|
5153
5154
|
}, {
|
|
5154
|
-
default: () => [t(
|
|
5155
|
+
default: () => [t(_a, null, null), W("拷贝设置")]
|
|
5155
5156
|
}), t(Ze, {
|
|
5156
5157
|
block: !0,
|
|
5157
5158
|
onClick: () => de()
|
|
5158
5159
|
}, {
|
|
5159
|
-
default: () => [t(
|
|
5160
|
+
default: () => [t(Xa, null, null), W("清空缓存")]
|
|
5160
5161
|
})])])]
|
|
5161
5162
|
})]), t(Qe, {
|
|
5162
5163
|
width: 320,
|
|
@@ -5166,11 +5167,11 @@ const {
|
|
|
5166
5167
|
bodyStyle: {
|
|
5167
5168
|
padding: 0
|
|
5168
5169
|
},
|
|
5169
|
-
onClose: () =>
|
|
5170
|
+
onClose: () => C(!1)
|
|
5170
5171
|
}, {
|
|
5171
5172
|
default: () => [t(Ti, {
|
|
5172
|
-
theme:
|
|
5173
|
-
settingValue:
|
|
5173
|
+
theme: w.value.theme,
|
|
5174
|
+
settingValue: w.value,
|
|
5174
5175
|
onChange: (F, P, E) => _(P || "primaryColor", F, {
|
|
5175
5176
|
subKey: E
|
|
5176
5177
|
})
|
|
@@ -5179,14 +5180,14 @@ const {
|
|
|
5179
5180
|
width: 320,
|
|
5180
5181
|
closable: !1,
|
|
5181
5182
|
placement: "right",
|
|
5182
|
-
open:
|
|
5183
|
+
open: b.value,
|
|
5183
5184
|
bodyStyle: {
|
|
5184
5185
|
padding: 0
|
|
5185
5186
|
},
|
|
5186
5187
|
onClose: () => c(!1)
|
|
5187
5188
|
}, {
|
|
5188
5189
|
default: () => [t(Ni, {
|
|
5189
|
-
settingValue:
|
|
5190
|
+
settingValue: w.value,
|
|
5190
5191
|
onChange: (F, P, E) => _(F, E, {
|
|
5191
5192
|
subKey: P
|
|
5192
5193
|
})
|
|
@@ -5195,7 +5196,7 @@ const {
|
|
|
5195
5196
|
}));
|
|
5196
5197
|
};
|
|
5197
5198
|
}
|
|
5198
|
-
}), Hi = new
|
|
5199
|
+
}), Hi = new x("backInLeft", {
|
|
5199
5200
|
"0%": {
|
|
5200
5201
|
opacity: 0.7,
|
|
5201
5202
|
transform: "translateX(-2000px) scale(0.7)"
|
|
@@ -5208,7 +5209,7 @@ const {
|
|
|
5208
5209
|
opacity: 1,
|
|
5209
5210
|
transform: "scale(1)"
|
|
5210
5211
|
}
|
|
5211
|
-
}), ji = new
|
|
5212
|
+
}), ji = new x("backInRight", {
|
|
5212
5213
|
"0%": {
|
|
5213
5214
|
opacity: 0.7,
|
|
5214
5215
|
transform: "translateX(2000px) scale(0.7)"
|
|
@@ -5221,7 +5222,7 @@ const {
|
|
|
5221
5222
|
opacity: 1,
|
|
5222
5223
|
transform: "scale(1)"
|
|
5223
5224
|
}
|
|
5224
|
-
}), Ei = new
|
|
5225
|
+
}), Ei = new x("backInUp", {
|
|
5225
5226
|
"0%": {
|
|
5226
5227
|
opacity: 0.7,
|
|
5227
5228
|
transform: "translateY(1200px) scale(0.7)"
|
|
@@ -5234,7 +5235,7 @@ const {
|
|
|
5234
5235
|
opacity: 1,
|
|
5235
5236
|
transform: "scale(1)"
|
|
5236
5237
|
}
|
|
5237
|
-
}), Ki = new
|
|
5238
|
+
}), Ki = new x("backInDown", {
|
|
5238
5239
|
"0%": {
|
|
5239
5240
|
opacity: 0.7,
|
|
5240
5241
|
transform: "translateY(-1200px) scale(0.7)"
|
|
@@ -5247,7 +5248,7 @@ const {
|
|
|
5247
5248
|
opacity: 1,
|
|
5248
5249
|
transform: "scale(1)"
|
|
5249
5250
|
}
|
|
5250
|
-
}), Wi = new
|
|
5251
|
+
}), Wi = new x("backOutLeft", {
|
|
5251
5252
|
"0%": {
|
|
5252
5253
|
opacity: 1,
|
|
5253
5254
|
transform: "scale(1)"
|
|
@@ -5260,7 +5261,7 @@ const {
|
|
|
5260
5261
|
opacity: 0.7,
|
|
5261
5262
|
transform: "translateX(-2000px) scale(0.7)"
|
|
5262
5263
|
}
|
|
5263
|
-
}), Ui = new
|
|
5264
|
+
}), Ui = new x("backOutRight", {
|
|
5264
5265
|
"0%": {
|
|
5265
5266
|
opacity: 1,
|
|
5266
5267
|
transform: "scale(1)"
|
|
@@ -5273,7 +5274,7 @@ const {
|
|
|
5273
5274
|
opacity: 0.7,
|
|
5274
5275
|
transform: "translateX(2000px) scale(0.7)"
|
|
5275
5276
|
}
|
|
5276
|
-
}), _i = new
|
|
5277
|
+
}), _i = new x("backOutUp", {
|
|
5277
5278
|
"0%": {
|
|
5278
5279
|
opacity: 1,
|
|
5279
5280
|
transform: "scale(1)"
|
|
@@ -5286,7 +5287,7 @@ const {
|
|
|
5286
5287
|
opacity: 0.7,
|
|
5287
5288
|
transform: "translateY(-700px) scale(0.7)"
|
|
5288
5289
|
}
|
|
5289
|
-
}), Xi = new
|
|
5290
|
+
}), Xi = new x("backOutDown", {
|
|
5290
5291
|
"0%": {
|
|
5291
5292
|
opacity: 1,
|
|
5292
5293
|
transform: "scale(1)"
|
|
@@ -5333,7 +5334,7 @@ const {
|
|
|
5333
5334
|
animationFillMode: "both",
|
|
5334
5335
|
animationName: Xi
|
|
5335
5336
|
}
|
|
5336
|
-
}), Yi = new
|
|
5337
|
+
}), Yi = new x("bounceIn", {
|
|
5337
5338
|
"from,20%,40%,60%,80%,to": {
|
|
5338
5339
|
animationTimingFunction: "cubic-bezier(0.215, 0.61, 0.355, 1)"
|
|
5339
5340
|
},
|
|
@@ -5357,7 +5358,7 @@ const {
|
|
|
5357
5358
|
opacity: 1,
|
|
5358
5359
|
transform: "scale3d(1, 1, 1)"
|
|
5359
5360
|
}
|
|
5360
|
-
}), qi = new
|
|
5361
|
+
}), qi = new x("bounceInLeft", {
|
|
5361
5362
|
"from,60%,75%,90%,to": {
|
|
5362
5363
|
animationTimingFunction: "cubic-bezier(0.215, 0.61, 0.355, 1)"
|
|
5363
5364
|
},
|
|
@@ -5378,7 +5379,7 @@ const {
|
|
|
5378
5379
|
to: {
|
|
5379
5380
|
transform: "translate3d(0, 0, 0)"
|
|
5380
5381
|
}
|
|
5381
|
-
}), Qi = new
|
|
5382
|
+
}), Qi = new x("bounceInRight", {
|
|
5382
5383
|
"from,60%,75%,90%,to": {
|
|
5383
5384
|
animationTimingFunction: "cubic-bezier(0.215, 0.61, 0.355, 1)"
|
|
5384
5385
|
},
|
|
@@ -5399,7 +5400,7 @@ const {
|
|
|
5399
5400
|
to: {
|
|
5400
5401
|
transform: "translate3d(0, 0, 0)"
|
|
5401
5402
|
}
|
|
5402
|
-
}), Zi = new
|
|
5403
|
+
}), Zi = new x("bounceInDown", {
|
|
5403
5404
|
"from,60%,75%,90%,to": {
|
|
5404
5405
|
animationTimingFunction: "cubic-bezier(0.215, 0.61, 0.355, 1)"
|
|
5405
5406
|
},
|
|
@@ -5420,7 +5421,7 @@ const {
|
|
|
5420
5421
|
to: {
|
|
5421
5422
|
transform: "translate3d(0, 0, 0)"
|
|
5422
5423
|
}
|
|
5423
|
-
}), Ji = new
|
|
5424
|
+
}), Ji = new x("bounceInUp", {
|
|
5424
5425
|
"from,60%,75%,90%,to": {
|
|
5425
5426
|
animationTimingFunction: "cubic-bezier(0.215, 0.61, 0.355, 1)"
|
|
5426
5427
|
},
|
|
@@ -5441,7 +5442,7 @@ const {
|
|
|
5441
5442
|
to: {
|
|
5442
5443
|
transform: "translate3d(0, 0, 0)"
|
|
5443
5444
|
}
|
|
5444
|
-
}), el = new
|
|
5445
|
+
}), el = new x("bounceOut", {
|
|
5445
5446
|
"20%": {
|
|
5446
5447
|
transform: "scale3d(0.9, 0.9, 0.9)"
|
|
5447
5448
|
},
|
|
@@ -5455,7 +5456,7 @@ const {
|
|
|
5455
5456
|
opacity: 0,
|
|
5456
5457
|
transform: "scale3d(0.3, 0.3, 0.3)"
|
|
5457
5458
|
}
|
|
5458
|
-
}), tl = new
|
|
5459
|
+
}), tl = new x("bounceOutLeft", {
|
|
5459
5460
|
"20%": {
|
|
5460
5461
|
opacity: 1,
|
|
5461
5462
|
transform: "translate3d(20px, 0, 0) scaleX(0.9)"
|
|
@@ -5464,7 +5465,7 @@ const {
|
|
|
5464
5465
|
opacity: 0,
|
|
5465
5466
|
transform: "translate3d(-2000px, 0, 0) scaleX(2)"
|
|
5466
5467
|
}
|
|
5467
|
-
}), nl = new
|
|
5468
|
+
}), nl = new x("bounceOutRight", {
|
|
5468
5469
|
"20%": {
|
|
5469
5470
|
opacity: 1,
|
|
5470
5471
|
transform: "translate3d(-20px, 0, 0) scaleX(0.9)"
|
|
@@ -5473,7 +5474,7 @@ const {
|
|
|
5473
5474
|
opacity: 0,
|
|
5474
5475
|
transform: "translate3d(2000px, 0, 0) scaleX(2)"
|
|
5475
5476
|
}
|
|
5476
|
-
}), al = new
|
|
5477
|
+
}), al = new x("bounceOutDown", {
|
|
5477
5478
|
"20%": {
|
|
5478
5479
|
transform: "translate3d(0, 10px, 0) scaleY(0.985)"
|
|
5479
5480
|
},
|
|
@@ -5485,7 +5486,7 @@ const {
|
|
|
5485
5486
|
opacity: 0,
|
|
5486
5487
|
transform: "translate3d(0, 2000px, 0) scaleY(3)"
|
|
5487
5488
|
}
|
|
5488
|
-
}), ol = new
|
|
5489
|
+
}), ol = new x("bounceOutUp", {
|
|
5489
5490
|
"20%": {
|
|
5490
5491
|
transform: "translate3d(0, -10px, 0) scaleY(0.985)"
|
|
5491
5492
|
},
|
|
@@ -5541,14 +5542,14 @@ const {
|
|
|
5541
5542
|
animationFillMode: "both",
|
|
5542
5543
|
animationName: ol
|
|
5543
5544
|
}
|
|
5544
|
-
}), rl = new
|
|
5545
|
+
}), rl = new x("fadeIn", {
|
|
5545
5546
|
from: {
|
|
5546
5547
|
opacity: 0
|
|
5547
5548
|
},
|
|
5548
5549
|
to: {
|
|
5549
5550
|
opacity: 1
|
|
5550
5551
|
}
|
|
5551
|
-
}), sl = new
|
|
5552
|
+
}), sl = new x("fadeInLeft", {
|
|
5552
5553
|
from: {
|
|
5553
5554
|
opacity: 0,
|
|
5554
5555
|
transform: "translate3d(-100%, 0, 0)"
|
|
@@ -5557,7 +5558,7 @@ const {
|
|
|
5557
5558
|
opacity: 1,
|
|
5558
5559
|
transform: "translate3d(0, 0, 0)"
|
|
5559
5560
|
}
|
|
5560
|
-
}), cl = new
|
|
5561
|
+
}), cl = new x("fadeInRight", {
|
|
5561
5562
|
from: {
|
|
5562
5563
|
opacity: 0,
|
|
5563
5564
|
transform: "translate3d(100%, 0, 0)"
|
|
@@ -5566,7 +5567,7 @@ const {
|
|
|
5566
5567
|
opacity: 1,
|
|
5567
5568
|
transform: "translate3d(0, 0, 0)"
|
|
5568
5569
|
}
|
|
5569
|
-
}), ul = new
|
|
5570
|
+
}), ul = new x("fadeInDown", {
|
|
5570
5571
|
from: {
|
|
5571
5572
|
opacity: 0,
|
|
5572
5573
|
transform: "translate3d(0, -100%, 0)"
|
|
@@ -5575,7 +5576,7 @@ const {
|
|
|
5575
5576
|
opacity: 1,
|
|
5576
5577
|
transform: "translate3d(0, 0, 0)"
|
|
5577
5578
|
}
|
|
5578
|
-
}), dl = new
|
|
5579
|
+
}), dl = new x("fadeInUp", {
|
|
5579
5580
|
from: {
|
|
5580
5581
|
opacity: 0,
|
|
5581
5582
|
transform: "translate3d(0, 100%, 0)"
|
|
@@ -5584,7 +5585,7 @@ const {
|
|
|
5584
5585
|
opacity: 1,
|
|
5585
5586
|
transform: "translate3d(0, 0, 0)"
|
|
5586
5587
|
}
|
|
5587
|
-
}), ml = new
|
|
5588
|
+
}), ml = new x("fadeInDownBig", {
|
|
5588
5589
|
from: {
|
|
5589
5590
|
opacity: 0,
|
|
5590
5591
|
transform: "translate3d(0, -2000px, 0)"
|
|
@@ -5593,7 +5594,7 @@ const {
|
|
|
5593
5594
|
opacity: 1,
|
|
5594
5595
|
transform: "translate3d(0, 0, 0)"
|
|
5595
5596
|
}
|
|
5596
|
-
}), fl = new
|
|
5597
|
+
}), fl = new x("fadeInUpBig", {
|
|
5597
5598
|
from: {
|
|
5598
5599
|
opacity: 0,
|
|
5599
5600
|
transform: "translate3d(0, 2000px, 0)"
|
|
@@ -5602,7 +5603,7 @@ const {
|
|
|
5602
5603
|
opacity: 1,
|
|
5603
5604
|
transform: "translate3d(0, 0, 0)"
|
|
5604
5605
|
}
|
|
5605
|
-
}), hl = new
|
|
5606
|
+
}), hl = new x("fadeInLeftBig", {
|
|
5606
5607
|
from: {
|
|
5607
5608
|
opacity: 0,
|
|
5608
5609
|
transform: "translate3d(-2000px, 0, 0)"
|
|
@@ -5611,7 +5612,7 @@ const {
|
|
|
5611
5612
|
opacity: 1,
|
|
5612
5613
|
transform: "translate3d(0, 0, 0)"
|
|
5613
5614
|
}
|
|
5614
|
-
}), gl = new
|
|
5615
|
+
}), gl = new x("fadeInRightBig", {
|
|
5615
5616
|
from: {
|
|
5616
5617
|
opacity: 0,
|
|
5617
5618
|
transform: "translate3d(2000px, 0, 0)"
|
|
@@ -5620,7 +5621,7 @@ const {
|
|
|
5620
5621
|
opacity: 1,
|
|
5621
5622
|
transform: "translate3d(0, 0, 0)"
|
|
5622
5623
|
}
|
|
5623
|
-
}), yl = new
|
|
5624
|
+
}), yl = new x("fadeInTopLeft", {
|
|
5624
5625
|
from: {
|
|
5625
5626
|
opacity: 0,
|
|
5626
5627
|
transform: "translate3d(-100%, -100%, 0)"
|
|
@@ -5629,7 +5630,7 @@ const {
|
|
|
5629
5630
|
opacity: 1,
|
|
5630
5631
|
transform: "translate3d(0, 0, 0)"
|
|
5631
5632
|
}
|
|
5632
|
-
}), bl = new
|
|
5633
|
+
}), bl = new x("fadeInBottomRight", {
|
|
5633
5634
|
from: {
|
|
5634
5635
|
opacity: 0,
|
|
5635
5636
|
transform: "translate3d(100%, 100%, 0)"
|
|
@@ -5638,7 +5639,7 @@ const {
|
|
|
5638
5639
|
opacity: 1,
|
|
5639
5640
|
transform: "translate3d(0, 0, 0)"
|
|
5640
5641
|
}
|
|
5641
|
-
}), vl = new
|
|
5642
|
+
}), vl = new x("fadeInTopRight", {
|
|
5642
5643
|
from: {
|
|
5643
5644
|
opacity: 0,
|
|
5644
5645
|
transform: "translate3d(100%, -100%, 0)"
|
|
@@ -5647,7 +5648,7 @@ const {
|
|
|
5647
5648
|
opacity: 1,
|
|
5648
5649
|
transform: "translate3d(0, 0, 0)"
|
|
5649
5650
|
}
|
|
5650
|
-
}), pl = new
|
|
5651
|
+
}), pl = new x("fadeInBottomLeft", {
|
|
5651
5652
|
from: {
|
|
5652
5653
|
opacity: 0,
|
|
5653
5654
|
transform: "translate3d(-100%, 100%, 0)"
|
|
@@ -5656,14 +5657,14 @@ const {
|
|
|
5656
5657
|
opacity: 1,
|
|
5657
5658
|
transform: "translate3d(0, 0, 0)"
|
|
5658
5659
|
}
|
|
5659
|
-
}), Cl = new
|
|
5660
|
+
}), Cl = new x("fadeOut", {
|
|
5660
5661
|
from: {
|
|
5661
5662
|
opacity: 1
|
|
5662
5663
|
},
|
|
5663
5664
|
to: {
|
|
5664
5665
|
opacity: 0
|
|
5665
5666
|
}
|
|
5666
|
-
}), xl = new
|
|
5667
|
+
}), xl = new x("fadeOutLeft", {
|
|
5667
5668
|
from: {
|
|
5668
5669
|
opacity: 1
|
|
5669
5670
|
},
|
|
@@ -5671,7 +5672,7 @@ const {
|
|
|
5671
5672
|
opacity: 0,
|
|
5672
5673
|
transform: "translate3d(-100%, 0, 0)"
|
|
5673
5674
|
}
|
|
5674
|
-
}), Sl = new
|
|
5675
|
+
}), Sl = new x("fadeOutRight", {
|
|
5675
5676
|
from: {
|
|
5676
5677
|
opacity: 1
|
|
5677
5678
|
},
|
|
@@ -5679,7 +5680,7 @@ const {
|
|
|
5679
5680
|
opacity: 0,
|
|
5680
5681
|
transform: "translate3d(100%, 0, 0)"
|
|
5681
5682
|
}
|
|
5682
|
-
}), Il = new
|
|
5683
|
+
}), Il = new x("fadeOutDown", {
|
|
5683
5684
|
from: {
|
|
5684
5685
|
opacity: 1
|
|
5685
5686
|
},
|
|
@@ -5687,7 +5688,7 @@ const {
|
|
|
5687
5688
|
opacity: 0,
|
|
5688
5689
|
transform: "translate3d(0, 100%, 0)"
|
|
5689
5690
|
}
|
|
5690
|
-
}), wl = new
|
|
5691
|
+
}), wl = new x("fadeOutUp", {
|
|
5691
5692
|
from: {
|
|
5692
5693
|
opacity: 1
|
|
5693
5694
|
},
|
|
@@ -5695,7 +5696,7 @@ const {
|
|
|
5695
5696
|
opacity: 0,
|
|
5696
5697
|
transform: "translate3d(0, -100%, 0)"
|
|
5697
5698
|
}
|
|
5698
|
-
}), Rl = new
|
|
5699
|
+
}), Rl = new x("fadeOutDownBig", {
|
|
5699
5700
|
from: {
|
|
5700
5701
|
opacity: 1
|
|
5701
5702
|
},
|
|
@@ -5703,7 +5704,7 @@ const {
|
|
|
5703
5704
|
opacity: 0,
|
|
5704
5705
|
transform: "translate3d(0, 2000px, 0)"
|
|
5705
5706
|
}
|
|
5706
|
-
}), $l = new
|
|
5707
|
+
}), $l = new x("fadeOutUpBig", {
|
|
5707
5708
|
from: {
|
|
5708
5709
|
opacity: 1
|
|
5709
5710
|
},
|
|
@@ -5711,7 +5712,7 @@ const {
|
|
|
5711
5712
|
opacity: 0,
|
|
5712
5713
|
transform: "translate3d(0, -2000px, 0)"
|
|
5713
5714
|
}
|
|
5714
|
-
}),
|
|
5715
|
+
}), Bl = new x("fadeOutLeftBig", {
|
|
5715
5716
|
from: {
|
|
5716
5717
|
opacity: 1
|
|
5717
5718
|
},
|
|
@@ -5719,7 +5720,7 @@ const {
|
|
|
5719
5720
|
opacity: 0,
|
|
5720
5721
|
transform: "translate3d(-2000px, 0, 0)"
|
|
5721
5722
|
}
|
|
5722
|
-
}),
|
|
5723
|
+
}), Ml = new x("fadeOutRightBig", {
|
|
5723
5724
|
from: {
|
|
5724
5725
|
opacity: 1
|
|
5725
5726
|
},
|
|
@@ -5727,7 +5728,7 @@ const {
|
|
|
5727
5728
|
opacity: 0,
|
|
5728
5729
|
transform: "translate3d(2000px, 0, 0)"
|
|
5729
5730
|
}
|
|
5730
|
-
}), Ll = new
|
|
5731
|
+
}), Ll = new x("fadeOutTopLeft", {
|
|
5731
5732
|
from: {
|
|
5732
5733
|
opacity: 1,
|
|
5733
5734
|
transform: "translate3d(0, 0, 0)"
|
|
@@ -5736,7 +5737,7 @@ const {
|
|
|
5736
5737
|
opacity: 0,
|
|
5737
5738
|
transform: "translate3d(-100%, -100%, 0)"
|
|
5738
5739
|
}
|
|
5739
|
-
}), Ol = new
|
|
5740
|
+
}), Ol = new x("fadeOutBottomRight", {
|
|
5740
5741
|
from: {
|
|
5741
5742
|
opacity: 1,
|
|
5742
5743
|
transform: "translate3d(0, 0, 0)"
|
|
@@ -5745,7 +5746,7 @@ const {
|
|
|
5745
5746
|
opacity: 0,
|
|
5746
5747
|
transform: "translate3d(100%, 100%, 0)"
|
|
5747
5748
|
}
|
|
5748
|
-
}), Fl = new
|
|
5749
|
+
}), Fl = new x("fadeOutTopRight", {
|
|
5749
5750
|
from: {
|
|
5750
5751
|
opacity: 1,
|
|
5751
5752
|
transform: "translate3d(0, 0, 0)"
|
|
@@ -5754,7 +5755,7 @@ const {
|
|
|
5754
5755
|
opacity: 0,
|
|
5755
5756
|
transform: "translate3d(100%, -100%, 0)"
|
|
5756
5757
|
}
|
|
5757
|
-
}), kl = new
|
|
5758
|
+
}), kl = new x("fadeOutBottomLeft", {
|
|
5758
5759
|
from: {
|
|
5759
5760
|
opacity: 1,
|
|
5760
5761
|
transform: "translate3d(0, 0, 0)"
|
|
@@ -5847,11 +5848,11 @@ const {
|
|
|
5847
5848
|
},
|
|
5848
5849
|
"&.fadeOutLeftBig": {
|
|
5849
5850
|
animationFillMode: "both",
|
|
5850
|
-
animationName:
|
|
5851
|
+
animationName: Bl
|
|
5851
5852
|
},
|
|
5852
5853
|
"&.fadeOutRightBig": {
|
|
5853
5854
|
animationFillMode: "both",
|
|
5854
|
-
animationName:
|
|
5855
|
+
animationName: Ml
|
|
5855
5856
|
},
|
|
5856
5857
|
"&.fadeOutTopLeft": {
|
|
5857
5858
|
animationFillMode: "both",
|
|
@@ -5869,7 +5870,7 @@ const {
|
|
|
5869
5870
|
animationFillMode: "both",
|
|
5870
5871
|
animationName: kl
|
|
5871
5872
|
}
|
|
5872
|
-
}), Nl = new
|
|
5873
|
+
}), Nl = new x("flipInX", {
|
|
5873
5874
|
from: {
|
|
5874
5875
|
opacity: 0,
|
|
5875
5876
|
animationTimingFunction: "ease-in",
|
|
@@ -5889,7 +5890,7 @@ const {
|
|
|
5889
5890
|
to: {
|
|
5890
5891
|
transform: "perspective(400px)"
|
|
5891
5892
|
}
|
|
5892
|
-
}), zl = new
|
|
5893
|
+
}), zl = new x("flipInY", {
|
|
5893
5894
|
from: {
|
|
5894
5895
|
opacity: 0,
|
|
5895
5896
|
animationTimingFunction: "ease-in",
|
|
@@ -5909,7 +5910,7 @@ const {
|
|
|
5909
5910
|
to: {
|
|
5910
5911
|
transform: "perspective(400px)"
|
|
5911
5912
|
}
|
|
5912
|
-
}), Dl = new
|
|
5913
|
+
}), Dl = new x("flipOutX", {
|
|
5913
5914
|
from: {
|
|
5914
5915
|
transform: "perspective(400px)"
|
|
5915
5916
|
},
|
|
@@ -5921,7 +5922,7 @@ const {
|
|
|
5921
5922
|
opacity: 0,
|
|
5922
5923
|
transform: "perspective(400px) rotate3d(1, 0, 0, 90deg)"
|
|
5923
5924
|
}
|
|
5924
|
-
}), Al = new
|
|
5925
|
+
}), Al = new x("flipOutY", {
|
|
5925
5926
|
from: {
|
|
5926
5927
|
transform: "perspective(400px)"
|
|
5927
5928
|
},
|
|
@@ -5957,7 +5958,7 @@ const {
|
|
|
5957
5958
|
animationDuration: `${0.3 * 0.75}s !important`,
|
|
5958
5959
|
animationName: Al
|
|
5959
5960
|
}
|
|
5960
|
-
}), El = new
|
|
5961
|
+
}), El = new x("lightSpeedInLeft", {
|
|
5961
5962
|
from: {
|
|
5962
5963
|
opacity: 0,
|
|
5963
5964
|
transform: "translate3d(-100%, 0, 0) skewX(30deg)"
|
|
@@ -5972,7 +5973,7 @@ const {
|
|
|
5972
5973
|
to: {
|
|
5973
5974
|
transform: "translate3d(0, 0, 0)"
|
|
5974
5975
|
}
|
|
5975
|
-
}), Kl = new
|
|
5976
|
+
}), Kl = new x("lightSpeedInRight", {
|
|
5976
5977
|
from: {
|
|
5977
5978
|
opacity: 0,
|
|
5978
5979
|
transform: "translate3d(100%, 0, 0) skewX(-30deg)"
|
|
@@ -5987,7 +5988,7 @@ const {
|
|
|
5987
5988
|
to: {
|
|
5988
5989
|
transform: "translate3d(0, 0, 0)"
|
|
5989
5990
|
}
|
|
5990
|
-
}), Wl = new
|
|
5991
|
+
}), Wl = new x("lightSpeedOutLeft", {
|
|
5991
5992
|
from: {
|
|
5992
5993
|
opacity: 1
|
|
5993
5994
|
},
|
|
@@ -5995,7 +5996,7 @@ const {
|
|
|
5995
5996
|
opacity: 0,
|
|
5996
5997
|
transform: "translate3d(-100%, 0, 0) skewX(-30deg)"
|
|
5997
5998
|
}
|
|
5998
|
-
}), Ul = new
|
|
5999
|
+
}), Ul = new x("lightSpeedOutRight", {
|
|
5999
6000
|
from: {
|
|
6000
6001
|
opacity: 1
|
|
6001
6002
|
},
|
|
@@ -6025,7 +6026,7 @@ const {
|
|
|
6025
6026
|
animationTimingFunction: "ease-in",
|
|
6026
6027
|
animationName: Ul
|
|
6027
6028
|
}
|
|
6028
|
-
}), Vl = new
|
|
6029
|
+
}), Vl = new x("rotateIn", {
|
|
6029
6030
|
from: {
|
|
6030
6031
|
opacity: 0,
|
|
6031
6032
|
transform: "rotate3d(0, 0, 1, -200deg)"
|
|
@@ -6034,7 +6035,7 @@ const {
|
|
|
6034
6035
|
opacity: 1,
|
|
6035
6036
|
transform: "translate3d(0, 0, 0)"
|
|
6036
6037
|
}
|
|
6037
|
-
}), Gl = new
|
|
6038
|
+
}), Gl = new x("rotateInDownLeft", {
|
|
6038
6039
|
from: {
|
|
6039
6040
|
opacity: 0,
|
|
6040
6041
|
transform: "rotate3d(0, 0, 1, -45deg)"
|
|
@@ -6043,7 +6044,7 @@ const {
|
|
|
6043
6044
|
opacity: 1,
|
|
6044
6045
|
transform: "translate3d(0, 0, 0)"
|
|
6045
6046
|
}
|
|
6046
|
-
}), Yl = new
|
|
6047
|
+
}), Yl = new x("rotateInDownRight", {
|
|
6047
6048
|
from: {
|
|
6048
6049
|
opacity: 0,
|
|
6049
6050
|
transform: "rotate3d(0, 0, 1, 45deg)"
|
|
@@ -6052,7 +6053,7 @@ const {
|
|
|
6052
6053
|
opacity: 1,
|
|
6053
6054
|
transform: "translate3d(0, 0, 0)"
|
|
6054
6055
|
}
|
|
6055
|
-
}), ql = new
|
|
6056
|
+
}), ql = new x("rotateInUpLeft", {
|
|
6056
6057
|
from: {
|
|
6057
6058
|
opacity: 0,
|
|
6058
6059
|
transform: "rotate3d(0, 0, 1, 45deg)"
|
|
@@ -6061,7 +6062,7 @@ const {
|
|
|
6061
6062
|
opacity: 1,
|
|
6062
6063
|
transform: "translate3d(0, 0, 0)"
|
|
6063
6064
|
}
|
|
6064
|
-
}), Ql = new
|
|
6065
|
+
}), Ql = new x("rotateInUpRight", {
|
|
6065
6066
|
from: {
|
|
6066
6067
|
opacity: 0,
|
|
6067
6068
|
transform: "rotate3d(0, 0, 1, -90deg)"
|
|
@@ -6070,7 +6071,7 @@ const {
|
|
|
6070
6071
|
opacity: 1,
|
|
6071
6072
|
transform: "translate3d(0, 0, 0)"
|
|
6072
6073
|
}
|
|
6073
|
-
}), Zl = new
|
|
6074
|
+
}), Zl = new x("rotateOut", {
|
|
6074
6075
|
from: {
|
|
6075
6076
|
opacity: 1
|
|
6076
6077
|
},
|
|
@@ -6078,7 +6079,7 @@ const {
|
|
|
6078
6079
|
opacity: 0,
|
|
6079
6080
|
transform: "rotate3d(0, 0, 1, 200deg)"
|
|
6080
6081
|
}
|
|
6081
|
-
}), Jl = new
|
|
6082
|
+
}), Jl = new x("rotateOutDownLeft", {
|
|
6082
6083
|
from: {
|
|
6083
6084
|
opacity: 1
|
|
6084
6085
|
},
|
|
@@ -6086,7 +6087,7 @@ const {
|
|
|
6086
6087
|
opacity: 0,
|
|
6087
6088
|
transform: "rotate3d(0, 0, 1, 45deg)"
|
|
6088
6089
|
}
|
|
6089
|
-
}), er = new
|
|
6090
|
+
}), er = new x("rotateOutDownRight", {
|
|
6090
6091
|
from: {
|
|
6091
6092
|
opacity: 1
|
|
6092
6093
|
},
|
|
@@ -6094,7 +6095,7 @@ const {
|
|
|
6094
6095
|
opacity: 0,
|
|
6095
6096
|
transform: "rotate3d(0, 0, 1, -45deg)"
|
|
6096
6097
|
}
|
|
6097
|
-
}), tr = new
|
|
6098
|
+
}), tr = new x("rotateOutUpLeft", {
|
|
6098
6099
|
from: {
|
|
6099
6100
|
opacity: 1
|
|
6100
6101
|
},
|
|
@@ -6102,7 +6103,7 @@ const {
|
|
|
6102
6103
|
opacity: 0,
|
|
6103
6104
|
transform: "rotate3d(0, 0, 1, -45deg)"
|
|
6104
6105
|
}
|
|
6105
|
-
}), nr = new
|
|
6106
|
+
}), nr = new x("rotateOutUpRight", {
|
|
6106
6107
|
from: {
|
|
6107
6108
|
opacity: 1
|
|
6108
6109
|
},
|
|
@@ -6162,7 +6163,7 @@ const {
|
|
|
6162
6163
|
transformOrigin: "right bottom",
|
|
6163
6164
|
animationName: nr
|
|
6164
6165
|
}
|
|
6165
|
-
}), ir = new
|
|
6166
|
+
}), ir = new x("rollIn", {
|
|
6166
6167
|
from: {
|
|
6167
6168
|
opacity: 0,
|
|
6168
6169
|
transform: "translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg)"
|
|
@@ -6171,7 +6172,7 @@ const {
|
|
|
6171
6172
|
opacity: 1,
|
|
6172
6173
|
transform: "translate3d(0, 0, 0)"
|
|
6173
6174
|
}
|
|
6174
|
-
}), lr = new
|
|
6175
|
+
}), lr = new x("rollOut", {
|
|
6175
6176
|
from: {
|
|
6176
6177
|
opacity: 1
|
|
6177
6178
|
},
|
|
@@ -6189,7 +6190,7 @@ const {
|
|
|
6189
6190
|
animationFillMode: "both",
|
|
6190
6191
|
animationName: lr
|
|
6191
6192
|
}
|
|
6192
|
-
}), cr = new
|
|
6193
|
+
}), cr = new x("zoomIn", {
|
|
6193
6194
|
from: {
|
|
6194
6195
|
opacity: 0,
|
|
6195
6196
|
transform: "scale3d(0.3, 0.3, 0.3)"
|
|
@@ -6197,7 +6198,7 @@ const {
|
|
|
6197
6198
|
"50%": {
|
|
6198
6199
|
opacity: 1
|
|
6199
6200
|
}
|
|
6200
|
-
}), ur = new
|
|
6201
|
+
}), ur = new x("zoomInDown", {
|
|
6201
6202
|
from: {
|
|
6202
6203
|
opacity: 0,
|
|
6203
6204
|
transform: "scale3d(0.1, 0.1, 0.1) translate3d(0, -1000px, 0)",
|
|
@@ -6208,7 +6209,7 @@ const {
|
|
|
6208
6209
|
transform: "scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0)",
|
|
6209
6210
|
animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
|
|
6210
6211
|
}
|
|
6211
|
-
}), dr = new
|
|
6212
|
+
}), dr = new x("zoomInLeft", {
|
|
6212
6213
|
from: {
|
|
6213
6214
|
opacity: 0,
|
|
6214
6215
|
transform: "scale3d(0.1, 0.1, 0.1) translate3d(-1000px, 0, 0)",
|
|
@@ -6219,7 +6220,7 @@ const {
|
|
|
6219
6220
|
transform: "scale3d(0.475, 0.475, 0.475) translate3d(10px, 0, 0)",
|
|
6220
6221
|
animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
|
|
6221
6222
|
}
|
|
6222
|
-
}), mr = new
|
|
6223
|
+
}), mr = new x("zoomInRight", {
|
|
6223
6224
|
from: {
|
|
6224
6225
|
opacity: 0,
|
|
6225
6226
|
transform: "scale3d(0.1, 0.1, 0.1) translate3d(1000px, 0, 0)",
|
|
@@ -6230,7 +6231,7 @@ const {
|
|
|
6230
6231
|
transform: "scale3d(0.475, 0.475, 0.475) translate3d(-10px, 0, 0)",
|
|
6231
6232
|
animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
|
|
6232
6233
|
}
|
|
6233
|
-
}), fr = new
|
|
6234
|
+
}), fr = new x("zoomInUp", {
|
|
6234
6235
|
from: {
|
|
6235
6236
|
opacity: 0,
|
|
6236
6237
|
transform: "scale3d(0.1, 0.1, 0.1) translate3d(0, 1000px, 0)",
|
|
@@ -6241,7 +6242,7 @@ const {
|
|
|
6241
6242
|
transform: "scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0)",
|
|
6242
6243
|
animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
|
|
6243
6244
|
}
|
|
6244
|
-
}), hr = new
|
|
6245
|
+
}), hr = new x("zoomOut", {
|
|
6245
6246
|
from: {
|
|
6246
6247
|
opacity: 1
|
|
6247
6248
|
},
|
|
@@ -6252,7 +6253,7 @@ const {
|
|
|
6252
6253
|
to: {
|
|
6253
6254
|
opacity: 0
|
|
6254
6255
|
}
|
|
6255
|
-
}), gr = new
|
|
6256
|
+
}), gr = new x("zoomOutDown", {
|
|
6256
6257
|
"40%": {
|
|
6257
6258
|
opacity: 1,
|
|
6258
6259
|
transform: "scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0)",
|
|
@@ -6263,7 +6264,7 @@ const {
|
|
|
6263
6264
|
transform: "scale3d(0.1, 0.1, 0.1) translate3d(0, 2000px, 0)",
|
|
6264
6265
|
animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
|
|
6265
6266
|
}
|
|
6266
|
-
}), yr = new
|
|
6267
|
+
}), yr = new x("zoomOutLeft", {
|
|
6267
6268
|
"40%": {
|
|
6268
6269
|
opacity: 1,
|
|
6269
6270
|
transform: "scale3d(0.475, 0.475, 0.475) translate3d(42px, 0, 0)"
|
|
@@ -6272,7 +6273,7 @@ const {
|
|
|
6272
6273
|
opacity: 0,
|
|
6273
6274
|
transform: "scale(0.1) translate3d(-2000px, 0, 0)"
|
|
6274
6275
|
}
|
|
6275
|
-
}), br = new
|
|
6276
|
+
}), br = new x("zoomOutRight", {
|
|
6276
6277
|
"40%": {
|
|
6277
6278
|
opacity: 1,
|
|
6278
6279
|
transform: "scale3d(0.475, 0.475, 0.475) translate3d(-42px, 0, 0)"
|
|
@@ -6281,7 +6282,7 @@ const {
|
|
|
6281
6282
|
opacity: 0,
|
|
6282
6283
|
transform: "scale(0.1) translate3d(2000px, 0, 0)"
|
|
6283
6284
|
}
|
|
6284
|
-
}), vr = new
|
|
6285
|
+
}), vr = new x("zoomOutUp", {
|
|
6285
6286
|
"40%": {
|
|
6286
6287
|
opacity: 1,
|
|
6287
6288
|
transform: "scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0)",
|
|
@@ -6338,7 +6339,7 @@ const {
|
|
|
6338
6339
|
transformOrigin: "center bottom",
|
|
6339
6340
|
animationName: vr
|
|
6340
6341
|
}
|
|
6341
|
-
}), xr = new
|
|
6342
|
+
}), xr = new x("slideInDown", {
|
|
6342
6343
|
from: {
|
|
6343
6344
|
transform: "translate3d(0, -100%, 0)",
|
|
6344
6345
|
visibility: "visible"
|
|
@@ -6346,7 +6347,7 @@ const {
|
|
|
6346
6347
|
to: {
|
|
6347
6348
|
transform: "translate3d(0, 0, 0)"
|
|
6348
6349
|
}
|
|
6349
|
-
}), Sr = new
|
|
6350
|
+
}), Sr = new x("slideInLeft", {
|
|
6350
6351
|
from: {
|
|
6351
6352
|
transform: "translate3d(-100%, 0, 0)",
|
|
6352
6353
|
visibility: "visible"
|
|
@@ -6354,7 +6355,7 @@ const {
|
|
|
6354
6355
|
to: {
|
|
6355
6356
|
transform: "translate3d(0, 0, 0)"
|
|
6356
6357
|
}
|
|
6357
|
-
}), Ir = new
|
|
6358
|
+
}), Ir = new x("slideInRight", {
|
|
6358
6359
|
from: {
|
|
6359
6360
|
transform: "translate3d(100%, 0, 0)",
|
|
6360
6361
|
visibility: "visible"
|
|
@@ -6362,7 +6363,7 @@ const {
|
|
|
6362
6363
|
to: {
|
|
6363
6364
|
transform: "translate3d(0, 0, 0)"
|
|
6364
6365
|
}
|
|
6365
|
-
}), wr = new
|
|
6366
|
+
}), wr = new x("slideInUp", {
|
|
6366
6367
|
from: {
|
|
6367
6368
|
transform: "translate3d(0, 100%, 0)",
|
|
6368
6369
|
visibility: "visible"
|
|
@@ -6370,7 +6371,7 @@ const {
|
|
|
6370
6371
|
to: {
|
|
6371
6372
|
transform: "translate3d(0, 0, 0)"
|
|
6372
6373
|
}
|
|
6373
|
-
}), Rr = new
|
|
6374
|
+
}), Rr = new x("slideOutDown", {
|
|
6374
6375
|
from: {
|
|
6375
6376
|
transform: "translate3d(0, 0, 0)"
|
|
6376
6377
|
},
|
|
@@ -6378,7 +6379,7 @@ const {
|
|
|
6378
6379
|
transform: "translate3d(0, 100%, 0)",
|
|
6379
6380
|
visibility: "hidden"
|
|
6380
6381
|
}
|
|
6381
|
-
}), $r = new
|
|
6382
|
+
}), $r = new x("slideOutLeft", {
|
|
6382
6383
|
from: {
|
|
6383
6384
|
transform: "translate3d(0, 0, 0)"
|
|
6384
6385
|
},
|
|
@@ -6386,7 +6387,7 @@ const {
|
|
|
6386
6387
|
transform: "translate3d(-100%, 0, 0)",
|
|
6387
6388
|
visibility: "hidden"
|
|
6388
6389
|
}
|
|
6389
|
-
}),
|
|
6390
|
+
}), Br = new x("slideOutRight", {
|
|
6390
6391
|
from: {
|
|
6391
6392
|
transform: "translate3d(0, 0, 0)"
|
|
6392
6393
|
},
|
|
@@ -6394,7 +6395,7 @@ const {
|
|
|
6394
6395
|
transform: "translate3d(100%, 0, 0)",
|
|
6395
6396
|
visibility: "hidden"
|
|
6396
6397
|
}
|
|
6397
|
-
}),
|
|
6398
|
+
}), Mr = new x("slideOutUp", {
|
|
6398
6399
|
from: {
|
|
6399
6400
|
transform: "translate3d(0, 0, 0)"
|
|
6400
6401
|
},
|
|
@@ -6430,11 +6431,11 @@ const {
|
|
|
6430
6431
|
},
|
|
6431
6432
|
"&.slideOutRight": {
|
|
6432
6433
|
animationFillMode: "both",
|
|
6433
|
-
animationName:
|
|
6434
|
+
animationName: Br
|
|
6434
6435
|
},
|
|
6435
6436
|
"&.slideOutUp": {
|
|
6436
6437
|
animationFillMode: "both",
|
|
6437
|
-
animationName:
|
|
6438
|
+
animationName: Mr
|
|
6438
6439
|
}
|
|
6439
6440
|
}), Fr = (e) => ({
|
|
6440
6441
|
[e.componentCls]: {
|
|
@@ -6499,29 +6500,29 @@ const ls = /* @__PURE__ */ j({
|
|
|
6499
6500
|
}), {
|
|
6500
6501
|
wrapSSR: o,
|
|
6501
6502
|
hashId: i
|
|
6502
|
-
} = kr(a), l = (
|
|
6503
|
-
if (
|
|
6504
|
-
return
|
|
6505
|
-
let
|
|
6506
|
-
return
|
|
6507
|
-
}, s = (
|
|
6508
|
-
const
|
|
6509
|
-
if (
|
|
6503
|
+
} = kr(a), l = (h, d) => {
|
|
6504
|
+
if (h.length === 0 || h === "x" || h === "y")
|
|
6505
|
+
return h;
|
|
6506
|
+
let m = d.indexOf(h);
|
|
6507
|
+
return m = m % 2 === 1 ? m - 1 : m + 1, d[m];
|
|
6508
|
+
}, s = (h) => {
|
|
6509
|
+
const d = kt.preset.find((y) => e.name === y.name);
|
|
6510
|
+
if (d === void 0)
|
|
6510
6511
|
return "";
|
|
6511
|
-
let
|
|
6512
|
-
e.direction === void 0 ?
|
|
6513
|
-
const
|
|
6514
|
-
return
|
|
6515
|
-
}, r =
|
|
6512
|
+
let m = "";
|
|
6513
|
+
e.direction === void 0 ? m = d.directions[0] : m = d.directions.find((y) => y === e.direction) || "", m = m === void 0 || m === "default" ? "" : m, m !== "" && (m = h && e.reverse ? l(m, d.directions) : m, m = m[0].toUpperCase() + m.substring(1));
|
|
6514
|
+
const S = h ? "Out" : "In";
|
|
6515
|
+
return d.name + S + m;
|
|
6516
|
+
}, r = R(() => [s(!1), `${a}-enter`, i.value].join(" ")), g = R(() => [s(!0), `${a}-leave`, i.value].join(" "));
|
|
6516
6517
|
return () => {
|
|
6517
|
-
var
|
|
6518
|
-
return e.disabled ? (
|
|
6518
|
+
var h;
|
|
6519
|
+
return e.disabled ? (h = n.default) == null ? void 0 : h.call(n) : o(t(Un, {
|
|
6519
6520
|
enterActiveClass: r.value,
|
|
6520
6521
|
leaveActiveClass: g.value
|
|
6521
6522
|
}, {
|
|
6522
6523
|
default: () => {
|
|
6523
|
-
var
|
|
6524
|
-
return [(
|
|
6524
|
+
var d;
|
|
6525
|
+
return [(d = n.default) == null ? void 0 : d.call(n)];
|
|
6525
6526
|
}
|
|
6526
6527
|
}));
|
|
6527
6528
|
};
|
|
@@ -6551,7 +6552,7 @@ const ls = /* @__PURE__ */ j({
|
|
|
6551
6552
|
}, [a]);
|
|
6552
6553
|
}
|
|
6553
6554
|
return e;
|
|
6554
|
-
},
|
|
6555
|
+
}, An = /* @__PURE__ */ j({
|
|
6555
6556
|
props: {
|
|
6556
6557
|
hashId: String,
|
|
6557
6558
|
baseClassName: String,
|
|
@@ -6572,7 +6573,7 @@ const ls = /* @__PURE__ */ j({
|
|
|
6572
6573
|
class: `${e.baseClassName}-content-list-item-group ${e.hashId}`.trim()
|
|
6573
6574
|
}, [t("div", {
|
|
6574
6575
|
class: `${e.baseClassName}-content-list-item-group-title ${e.hashId}`.trim()
|
|
6575
|
-
}, [a.title]), t(
|
|
6576
|
+
}, [a.title]), t(An, {
|
|
6576
6577
|
hashId: e.hashId,
|
|
6577
6578
|
onItemClick: e.onItemClick,
|
|
6578
6579
|
appList: a == null ? void 0 : a.children,
|
|
@@ -6592,7 +6593,7 @@ const ls = /* @__PURE__ */ j({
|
|
|
6592
6593
|
})])]);
|
|
6593
6594
|
};
|
|
6594
6595
|
}
|
|
6595
|
-
}),
|
|
6596
|
+
}), Hn = /* @__PURE__ */ j({
|
|
6596
6597
|
props: {
|
|
6597
6598
|
hashId: String,
|
|
6598
6599
|
baseClassName: String,
|
|
@@ -6613,7 +6614,7 @@ const ls = /* @__PURE__ */ j({
|
|
|
6613
6614
|
class: `${e.baseClassName}-content-list-item-group ${e.hashId}`.trim()
|
|
6614
6615
|
}, [t("div", {
|
|
6615
6616
|
class: `${e.baseClassName}-content-list-item-group-title ${e.hashId}`.trim()
|
|
6616
|
-
}, [a.title]), t(
|
|
6617
|
+
}, [a.title]), t(Hn, {
|
|
6617
6618
|
hashId: e.hashId,
|
|
6618
6619
|
onItemClick: e.onItemClick,
|
|
6619
6620
|
appList: a == null ? void 0 : a.children,
|
|
@@ -6629,7 +6630,7 @@ const ls = /* @__PURE__ */ j({
|
|
|
6629
6630
|
href: e.onItemClick ? void 0 : a.url,
|
|
6630
6631
|
target: a.target,
|
|
6631
6632
|
rel: "noreferrer"
|
|
6632
|
-
}, [t(
|
|
6633
|
+
}, [t(Bo, {
|
|
6633
6634
|
logo: a.icon
|
|
6634
6635
|
}, null), t("div", null, [t("div", null, [a.title]), a.desc ? t("span", null, [a.desc]) : null])])]);
|
|
6635
6636
|
})])]);
|
|
@@ -6645,18 +6646,18 @@ const ls = /* @__PURE__ */ j({
|
|
|
6645
6646
|
}), {
|
|
6646
6647
|
wrapSSR: a,
|
|
6647
6648
|
hashId: o
|
|
6648
|
-
} = fe("AppsLogoList", [
|
|
6649
|
+
} = fe("AppsLogoList", [Ro], n), i = (l) => {
|
|
6649
6650
|
var s;
|
|
6650
6651
|
(s = e.onItemClick) == null || s.call(e, l);
|
|
6651
6652
|
};
|
|
6652
6653
|
return () => {
|
|
6653
6654
|
var s;
|
|
6654
|
-
return ((s = e.appList) == null ? void 0 : s.some((r) => !(r != null && r.desc))) ? a(t(
|
|
6655
|
+
return ((s = e.appList) == null ? void 0 : s.some((r) => !(r != null && r.desc))) ? a(t(An, {
|
|
6655
6656
|
hashId: o.value,
|
|
6656
6657
|
appList: e.appList,
|
|
6657
6658
|
onItemClick: e.onItemClick ? i : void 0,
|
|
6658
6659
|
baseClassName: `${n}-simple`
|
|
6659
|
-
}, null)) : a(t(
|
|
6660
|
+
}, null)) : a(t(Hn, {
|
|
6660
6661
|
hashId: o.value,
|
|
6661
6662
|
appList: e.appList,
|
|
6662
6663
|
onItemClick: e.onItemClick ? i : void 0,
|
|
@@ -6672,7 +6673,7 @@ export {
|
|
|
6672
6673
|
es as GProLayout,
|
|
6673
6674
|
Et as GlobalFooter,
|
|
6674
6675
|
as as PageContainer,
|
|
6675
|
-
|
|
6676
|
+
so as PageLoading,
|
|
6676
6677
|
ts as PageLock,
|
|
6677
6678
|
ls as PageTranstion,
|
|
6678
6679
|
ns as RightContent,
|
|
@@ -6683,17 +6684,17 @@ export {
|
|
|
6683
6684
|
st as baseMenuProps,
|
|
6684
6685
|
_o as checkThemeStatus,
|
|
6685
6686
|
zo as clearMenuItem,
|
|
6686
|
-
|
|
6687
|
-
|
|
6688
|
-
|
|
6687
|
+
Bn as coverToNewToken,
|
|
6688
|
+
to as defaultContextKey,
|
|
6689
|
+
$n as findLastKey,
|
|
6689
6690
|
Do as flatMap,
|
|
6690
|
-
|
|
6691
|
+
Rn as getLastPath,
|
|
6691
6692
|
Ho as getMatchedList,
|
|
6692
6693
|
No as getMenuData,
|
|
6693
6694
|
Ao as getMenuFirstChildren,
|
|
6694
6695
|
Uo as handleThemeConfig,
|
|
6695
|
-
|
|
6696
|
-
|
|
6696
|
+
wn as hanlePathKey,
|
|
6697
|
+
no as provideProLayoutContext,
|
|
6697
6698
|
Xo as removeDuplicatesByName,
|
|
6698
6699
|
os as useLayoutMenu,
|
|
6699
6700
|
le as useProLayoutContext
|