@gx-design-vue/pro-layout 0.1.0-beta.81 → 0.1.0-beta.82
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/hooks/menu/index.d.ts +5 -2
- package/dist/pro-layout.js +796 -792
- package/dist/pro-layout.umd.cjs +2 -2
- package/package.json +1 -1
package/dist/pro-layout.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { createVNode as n, 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
|
|
1
|
+
import { createVNode as n, 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 Zt, nextTick as xt, watchEffect as Kn, onMounted as St, 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 _n, Spin as
|
|
3
|
+
import { LayoutFooter as _n, Spin as It, Tabs as wt, Menu as ge, Dropdown as ht, Layout as We, Popover as Xn, Badge as Vn, ConfigProvider as Rt, Drawer as Qe, Avatar as Jt, Form as zt, Input as en, Button as Ze, Empty as Dt, MenuItem as At, 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
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 la, getSlotVNode as Me, classNames as Q, isBoolean as ae, merge as be, isNumber as Ue, isUrl as
|
|
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
|
|
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 $t, isImg as ra, isArray as Bt, convertValueBoolean as Fe, isObject as sa, isString as ca, getLevelData as Mt, 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 S, 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
8
|
import { createTypes as Ia } from "vue-types";
|
|
9
9
|
import { spinProps as wa } from "ant-design-vue/es/spin";
|
|
10
10
|
import Re from "dayjs";
|
|
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
|
|
12
|
-
import { useProAppContext 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 Ht, EnterOutlined as Ha, ArrowUpOutlined as jt, 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 Lt } from "@gx-design-vue/pro-app";
|
|
13
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
15
|
import Ga, { GProModal as Ya } from "@gx-design-vue/pro-modal";
|
|
@@ -17,7 +17,7 @@ import "dayjs/locale/zh-cn";
|
|
|
17
17
|
import qa from "ant-design-vue/es/vc-resize-observer";
|
|
18
18
|
import { GPorWaterMark as Qa } from "@gx-design-vue/pro-watermark";
|
|
19
19
|
import Za from "@gx-design-vue/scrollbar";
|
|
20
|
-
import { GColorPicker as
|
|
20
|
+
import { GColorPicker as Et } from "@gx-design-vue/color-picker";
|
|
21
21
|
const q = Ia({
|
|
22
22
|
func: void 0,
|
|
23
23
|
bool: void 0,
|
|
@@ -360,7 +360,7 @@ const Te = {
|
|
|
360
360
|
title: "Ant Design Vue",
|
|
361
361
|
href: "https://next.antdv.com/components/overview-cn/",
|
|
362
362
|
blankTarget: !0
|
|
363
|
-
}],
|
|
363
|
+
}], Kt = /* @__PURE__ */ j({
|
|
364
364
|
name: "GlobalFooter",
|
|
365
365
|
props: {
|
|
366
366
|
links: {
|
|
@@ -447,7 +447,7 @@ const Te = {
|
|
|
447
447
|
},
|
|
448
448
|
loading: q.bool.def(!1),
|
|
449
449
|
...ao
|
|
450
|
-
},
|
|
450
|
+
}, Ot = {
|
|
451
451
|
dark: {
|
|
452
452
|
type: [Boolean, String],
|
|
453
453
|
default: void 0
|
|
@@ -455,7 +455,7 @@ const Te = {
|
|
|
455
455
|
onDarkChange: Function,
|
|
456
456
|
"onUpdate:dark": Function
|
|
457
457
|
}, He = {
|
|
458
|
-
...
|
|
458
|
+
...Ot,
|
|
459
459
|
...Te,
|
|
460
460
|
...ce,
|
|
461
461
|
...fn,
|
|
@@ -582,7 +582,7 @@ const ro = ["tabsVisible", "storageTabsBar", "collapsedWidth", "isChildrenLayout
|
|
|
582
582
|
slots: t,
|
|
583
583
|
attrs: a
|
|
584
584
|
}) {
|
|
585
|
-
const o =
|
|
585
|
+
const o = Lt();
|
|
586
586
|
return () => {
|
|
587
587
|
var s;
|
|
588
588
|
const i = a.style || {}, l = Me(t, e, "indicator");
|
|
@@ -592,7 +592,7 @@ const ro = ["tabsVisible", "storageTabsBar", "collapsedWidth", "isChildrenLayout
|
|
|
592
592
|
textAlign: "center",
|
|
593
593
|
...i
|
|
594
594
|
}
|
|
595
|
-
}, [n(
|
|
595
|
+
}, [n(It, te(e, {
|
|
596
596
|
indicator: l || ((s = o == null ? void 0 : o.indicator) == null ? void 0 : s.value)
|
|
597
597
|
}), null)]) : null;
|
|
598
598
|
};
|
|
@@ -795,7 +795,7 @@ function go(e, t) {
|
|
|
795
795
|
function yo(e) {
|
|
796
796
|
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Le(e);
|
|
797
797
|
}
|
|
798
|
-
const bo =
|
|
798
|
+
const bo = wt.TabPane, vo = ge.Item;
|
|
799
799
|
function K(e) {
|
|
800
800
|
return e.name;
|
|
801
801
|
}
|
|
@@ -813,39 +813,39 @@ const po = /* @__PURE__ */ j({
|
|
|
813
813
|
contextMenuActiveKey: ""
|
|
814
814
|
}), s = Ge(), {
|
|
815
815
|
contentFullScreen: r,
|
|
816
|
-
levelMenuData:
|
|
817
|
-
flatMenuData:
|
|
818
|
-
layout:
|
|
819
|
-
splitMenus:
|
|
820
|
-
getPrefixCls:
|
|
821
|
-
} = le(),
|
|
816
|
+
levelMenuData: h,
|
|
817
|
+
flatMenuData: g,
|
|
818
|
+
layout: f,
|
|
819
|
+
splitMenus: d,
|
|
820
|
+
getPrefixCls: y
|
|
821
|
+
} = le(), b = y({
|
|
822
822
|
isPor: !0,
|
|
823
823
|
suffixCls: "tabs-route"
|
|
824
824
|
}), {
|
|
825
825
|
wrapSSR: u,
|
|
826
|
-
hashId:
|
|
827
|
-
} = uo(
|
|
826
|
+
hashId: v
|
|
827
|
+
} = uo(b), p = at(b, {
|
|
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 = p.value) != null && xe.fixed) ? (Ne = p.value) == null ? void 0 : Ne.fixed : [],
|
|
832
|
+
normal: o.value && ((Ie = p.value) != null && Ie.normal) ? (we = p.value) == null ? void 0 : we.normal : []
|
|
833
833
|
});
|
|
834
|
-
ne(o, (
|
|
835
|
-
|
|
834
|
+
ne(o, (x) => {
|
|
835
|
+
p.value = x ? Se(c) : {
|
|
836
836
|
fixed: [],
|
|
837
837
|
normal: []
|
|
838
838
|
};
|
|
839
839
|
});
|
|
840
|
-
const
|
|
841
|
-
const
|
|
842
|
-
return z.value &&
|
|
843
|
-
}), I = R(() => Q(`${
|
|
844
|
-
[`${
|
|
845
|
-
[`${
|
|
846
|
-
[`${
|
|
840
|
+
const C = R(() => c.fixed.concat(c.normal)), m = R(() => f.value === "mix" && !e.isMobile && d.value), w = R(() => K(s.currentRoute.value)), z = R(() => a.value && !t.value), $ = R(() => {
|
|
841
|
+
const x = !(m.value && se(g.value).length === 0 || h.value.length === 0 || f.value === "top");
|
|
842
|
+
return z.value && x ? `calc(100% - ${e.collapsed ? e.collapsedWidth : e.siderWidth}px)` : "100%";
|
|
843
|
+
}), I = R(() => Q(`${b}-wrap`, {
|
|
844
|
+
[`${v.value}`]: !0,
|
|
845
|
+
[`${b}-wrap-fixed`]: a.value,
|
|
846
|
+
[`${b}-wrap-loading`]: e.loading
|
|
847
847
|
})), B = R(() => {
|
|
848
|
-
const
|
|
848
|
+
const x = {
|
|
849
849
|
display: e.visible ? void 0 : "none"
|
|
850
850
|
};
|
|
851
851
|
return a.value ? {
|
|
@@ -854,96 +854,96 @@ const po = /* @__PURE__ */ j({
|
|
|
854
854
|
paddingTop: "6px",
|
|
855
855
|
zIndex: 99,
|
|
856
856
|
top: r.value ? 0 : void 0,
|
|
857
|
-
...
|
|
858
|
-
} :
|
|
857
|
+
...x
|
|
858
|
+
} : x;
|
|
859
859
|
});
|
|
860
|
-
ne(() => c, (
|
|
860
|
+
ne(() => c, (x) => {
|
|
861
861
|
var M;
|
|
862
|
-
o.value && (
|
|
862
|
+
o.value && (p.value = Se(x)), (M = e.onTabsChange) == null || M.call(e, [...c.fixed, ...c.normal]);
|
|
863
863
|
}, {
|
|
864
864
|
deep: !0
|
|
865
865
|
});
|
|
866
|
-
const k = (
|
|
867
|
-
let M = c.fixed.find((N) => K(N) ===
|
|
868
|
-
return M || (M = c.normal.find((N) => K(N) ===
|
|
869
|
-
}, O = (
|
|
866
|
+
const k = (x) => {
|
|
867
|
+
let M = c.fixed.find((N) => K(N) === x);
|
|
868
|
+
return M || (M = c.normal.find((N) => K(N) === x)), M;
|
|
869
|
+
}, O = (x) => K(x) === w.value, T = (x) => {
|
|
870
870
|
var N;
|
|
871
871
|
const {
|
|
872
872
|
fixed: M
|
|
873
|
-
} = ((N =
|
|
874
|
-
return
|
|
875
|
-
}, U = (
|
|
873
|
+
} = ((N = x == null ? void 0 : x.meta) == null ? void 0 : N.tabState) || {};
|
|
874
|
+
return x != null && x.meta ? ae(M) ? M : M === 0 : !1;
|
|
875
|
+
}, U = (x) => {
|
|
876
876
|
var N, G;
|
|
877
877
|
const {
|
|
878
878
|
hidden: M
|
|
879
|
-
} = ((N =
|
|
880
|
-
if (
|
|
881
|
-
const D = T(
|
|
879
|
+
} = ((N = x == null ? void 0 : x.meta) == null ? void 0 : N.tabState) || {};
|
|
880
|
+
if (x.name && x.meta && M !== !0) {
|
|
881
|
+
const D = T(x), A = K(x), ue = k(A), ze = {
|
|
882
882
|
name: A,
|
|
883
|
-
path:
|
|
884
|
-
fullPath:
|
|
885
|
-
query:
|
|
886
|
-
params:
|
|
887
|
-
meta: be(
|
|
888
|
-
tabState: (G =
|
|
883
|
+
path: x.path,
|
|
884
|
+
fullPath: x.fullPath,
|
|
885
|
+
query: x.query,
|
|
886
|
+
params: x.params,
|
|
887
|
+
meta: be(x.meta, {
|
|
888
|
+
tabState: (G = x.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(x) && (l.activeKey = A);
|
|
892
892
|
}
|
|
893
|
-
}, _ = (
|
|
894
|
-
|
|
893
|
+
}, _ = (x) => {
|
|
894
|
+
x.forEach((M) => {
|
|
895
895
|
T(M) && U(se(M));
|
|
896
896
|
});
|
|
897
897
|
};
|
|
898
|
-
ne(() =>
|
|
899
|
-
_(
|
|
898
|
+
ne(() => h.value, (x) => {
|
|
899
|
+
_(x);
|
|
900
900
|
}, {
|
|
901
901
|
deep: !0,
|
|
902
902
|
immediate: !0
|
|
903
|
-
}), ne(() => s.currentRoute.value, (
|
|
904
|
-
U(
|
|
903
|
+
}), ne(() => s.currentRoute.value, (x) => {
|
|
904
|
+
U(x);
|
|
905
905
|
}, {
|
|
906
906
|
deep: !0,
|
|
907
907
|
immediate: !0
|
|
908
908
|
});
|
|
909
|
-
const X = (
|
|
910
|
-
const M =
|
|
909
|
+
const X = (x) => {
|
|
910
|
+
const M = C.value.find((N) => (x || l.activeKey) === K(N));
|
|
911
911
|
return (M == null ? void 0 : M.redirect) || (M == null ? void 0 : M.fullPath) || (M == null ? void 0 : M.path) || "";
|
|
912
|
-
}, he = (
|
|
912
|
+
}, he = (x, {
|
|
913
913
|
type: M,
|
|
914
914
|
addType: N,
|
|
915
915
|
params: G
|
|
916
916
|
}) => {
|
|
917
|
-
const D = T(
|
|
918
|
-
M === "add" && N ? c[D][N](G) : M === "merge" ? c[D] = c[D].map((A) => K(A) === K(
|
|
917
|
+
const D = T(x) ? "fixed" : "normal";
|
|
918
|
+
M === "add" && N ? c[D][N](G) : M === "merge" ? c[D] = c[D].map((A) => K(A) === K(x) ? be(A, G) : A) : M === "remove" && (c[D] = c[D].filter((A) => K(A) !== K(x)));
|
|
919
919
|
}, de = () => {
|
|
920
|
-
const
|
|
921
|
-
|
|
922
|
-
path: X(K(
|
|
920
|
+
const x = C.value.slice(-1)[0];
|
|
921
|
+
x ? s.push({
|
|
922
|
+
path: X(K(x))
|
|
923
923
|
}) : s.push("/");
|
|
924
|
-
}, L = async (
|
|
925
|
-
const M =
|
|
924
|
+
}, L = async (x) => {
|
|
925
|
+
const M = C.value.find((N) => x === K(N));
|
|
926
926
|
M && (he(M, {
|
|
927
927
|
type: "remove",
|
|
928
928
|
params: M
|
|
929
929
|
}), O(M) && de());
|
|
930
|
-
}, F = (
|
|
931
|
-
const M =
|
|
930
|
+
}, F = (x) => {
|
|
931
|
+
const M = C.value.find((N) => K(N) === x);
|
|
932
932
|
M && l.activeKey !== K(M) && s.push({
|
|
933
933
|
path: X(K(M))
|
|
934
934
|
});
|
|
935
935
|
}, P = () => {
|
|
936
|
-
var
|
|
937
|
-
i.value = !0, e.onReloadPage && ((
|
|
936
|
+
var x;
|
|
937
|
+
i.value = !0, e.onReloadPage && ((x = e.onReloadPage) == null || x.call(e)), setTimeout(() => {
|
|
938
938
|
i.value = !1;
|
|
939
939
|
}, 500);
|
|
940
|
-
}, E = (
|
|
941
|
-
const M =
|
|
942
|
-
l.activeKey !== E(
|
|
943
|
-
}, ye = (
|
|
940
|
+
}, E = (x) => l[x], ee = (x) => {
|
|
941
|
+
const M = C.value.find((N) => K(N) === E(x));
|
|
942
|
+
l.activeKey !== E(x) && (c.normal.length > 0 ? k(K(M)) || s.push(X(E(x))) : de());
|
|
943
|
+
}, ye = (x, M) => {
|
|
944
944
|
let N = c.normal.findIndex((A) => K(A) === E(M));
|
|
945
|
-
const G =
|
|
946
|
-
switch (
|
|
945
|
+
const G = C.value.find((A) => K(A) === E(M)), D = T(G);
|
|
946
|
+
switch (x) {
|
|
947
947
|
case "fixed":
|
|
948
948
|
D ? (N = c.fixed.findIndex((A) => K(A) === E(M)), c.normal.unshift(be(G, {
|
|
949
949
|
meta: {
|
|
@@ -984,20 +984,20 @@ const po = /* @__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 = (
|
|
987
|
+
}, H = (x, M) => {
|
|
988
|
+
const N = C.value.findIndex((G) => K(G) === M);
|
|
989
|
+
if (x === "closeOthersTabs")
|
|
990
|
+
return C.value.filter((D, A) => A !== N && !T(D)).length === 0;
|
|
991
|
+
if (x === "closeLeftTabs")
|
|
992
|
+
return C.value.filter((D, A) => A < N && !T(D)).length === 0;
|
|
993
|
+
if (x === "closeRightTabs")
|
|
994
|
+
return C.value.filter((D, A) => A > N && !T(D)).length === 0;
|
|
995
|
+
}, Y = (x) => {
|
|
996
996
|
let M;
|
|
997
997
|
const {
|
|
998
998
|
name: N,
|
|
999
999
|
stateType: G
|
|
1000
|
-
} =
|
|
1000
|
+
} = x;
|
|
1001
1001
|
return n(ge, {
|
|
1002
1002
|
selectedKeys: [],
|
|
1003
1003
|
onClick: (D) => ye(D.key, G)
|
|
@@ -1026,46 +1026,46 @@ const po = /* @__PURE__ */ j({
|
|
|
1026
1026
|
default: () => [M]
|
|
1027
1027
|
});
|
|
1028
1028
|
}, V = ({
|
|
1029
|
-
router:
|
|
1029
|
+
router: x
|
|
1030
1030
|
}) => {
|
|
1031
|
-
const M = e.itemRender ? e.itemRender(
|
|
1031
|
+
const M = e.itemRender ? e.itemRender(x) : null, N = T(x);
|
|
1032
1032
|
return n(ht, {
|
|
1033
1033
|
trigger: "contextmenu",
|
|
1034
1034
|
overlay: n(Y, {
|
|
1035
|
-
name: K(
|
|
1035
|
+
name: K(x) || "",
|
|
1036
1036
|
stateType: "contextMenuActiveKey"
|
|
1037
1037
|
}, null),
|
|
1038
1038
|
onOpenChange: (G) => {
|
|
1039
|
-
l.contextMenuActiveKey = G && K(
|
|
1039
|
+
l.contextMenuActiveKey = G && K(x) || "";
|
|
1040
1040
|
}
|
|
1041
1041
|
}, {
|
|
1042
1042
|
default: () => {
|
|
1043
1043
|
var G;
|
|
1044
1044
|
return [M || n("div", {
|
|
1045
|
-
class: [`${
|
|
1046
|
-
}, [l.activeKey === K(
|
|
1047
|
-
class: [`${
|
|
1045
|
+
class: [`${b}-title`, v.value]
|
|
1046
|
+
}, [l.activeKey === K(x) && n(vt, {
|
|
1047
|
+
class: [`${b}-reload-btn`, v.value],
|
|
1048
1048
|
spin: i.value,
|
|
1049
1049
|
onClick: (D) => {
|
|
1050
1050
|
D.stopPropagation(), !i.value && P();
|
|
1051
1051
|
}
|
|
1052
|
-
}, null), (G =
|
|
1053
|
-
class: [`${
|
|
1052
|
+
}, null), (G = x.meta) == null ? void 0 : G.title, N && n(_e, {
|
|
1053
|
+
class: [`${b}-icon`, v.value],
|
|
1054
1054
|
name: "fixed"
|
|
1055
|
-
}, null),
|
|
1056
|
-
class: [`${
|
|
1055
|
+
}, null), C.value.length > 1 && !T(x) && n(lt, {
|
|
1056
|
+
class: [`${b}-close-btn`, v.value],
|
|
1057
1057
|
onClick: (D) => {
|
|
1058
|
-
D.stopPropagation(), !i.value && L(K(
|
|
1058
|
+
D.stopPropagation(), !i.value && L(K(x) || "");
|
|
1059
1059
|
}
|
|
1060
1060
|
}, null)])];
|
|
1061
1061
|
}
|
|
1062
1062
|
});
|
|
1063
1063
|
};
|
|
1064
1064
|
return () => {
|
|
1065
|
-
const
|
|
1065
|
+
const x = r.value ? ln : rn;
|
|
1066
1066
|
return u(n(J, null, [a.value && jn(n("div", {
|
|
1067
|
-
class: [`${
|
|
1068
|
-
}, null), [[En, e.visible]]), n(
|
|
1067
|
+
class: [`${b}-fixed`, v.value]
|
|
1068
|
+
}, null), [[En, e.visible]]), n(wt, {
|
|
1069
1069
|
hideAdd: !0,
|
|
1070
1070
|
type: "editable-card",
|
|
1071
1071
|
style: B.value,
|
|
@@ -1073,7 +1073,7 @@ const po = /* @__PURE__ */ j({
|
|
|
1073
1073
|
activeKey: l.activeKey,
|
|
1074
1074
|
onTabClick: F
|
|
1075
1075
|
}, {
|
|
1076
|
-
default: () => [
|
|
1076
|
+
default: () => [C.value.map((M) => n(bo, {
|
|
1077
1077
|
key: K(M),
|
|
1078
1078
|
closable: !1,
|
|
1079
1079
|
tab: n(V, {
|
|
@@ -1081,12 +1081,12 @@ const po = /* @__PURE__ */ j({
|
|
|
1081
1081
|
}, null)
|
|
1082
1082
|
}, null))],
|
|
1083
1083
|
rightExtra: () => n("div", {
|
|
1084
|
-
class: Q(`${
|
|
1084
|
+
class: Q(`${b}-dropdown-menu`, v.value)
|
|
1085
1085
|
}, [n(vt, {
|
|
1086
|
-
class: [`${
|
|
1086
|
+
class: [`${b}-dropdown-menu-btn`, v.value],
|
|
1087
1087
|
onClick: () => ye("reloadPage", "activeKey")
|
|
1088
1088
|
}, null), n("div", {
|
|
1089
|
-
class: [`${
|
|
1089
|
+
class: [`${b}-dropdown-menu-btn-divider`, v.value]
|
|
1090
1090
|
}, null), n(ht, {
|
|
1091
1091
|
overlay: n(Y, {
|
|
1092
1092
|
name: l.activeKey,
|
|
@@ -1094,12 +1094,12 @@ const po = /* @__PURE__ */ j({
|
|
|
1094
1094
|
}, null)
|
|
1095
1095
|
}, {
|
|
1096
1096
|
default: () => [n(Fa, {
|
|
1097
|
-
class: [`${
|
|
1097
|
+
class: [`${b}-dropdown-menu-btn`, v.value]
|
|
1098
1098
|
}, null)]
|
|
1099
1099
|
}), n("div", {
|
|
1100
|
-
class: [`${
|
|
1101
|
-
}, null), n(
|
|
1102
|
-
class: [`${
|
|
1100
|
+
class: [`${b}-dropdown-menu-btn-divider`, v.value]
|
|
1101
|
+
}, null), n(x, {
|
|
1102
|
+
class: [`${b}-dropdown-menu-btn`, v.value],
|
|
1103
1103
|
onClick: () => ye("fullScreen", "activeKey")
|
|
1104
1104
|
}, null)])
|
|
1105
1105
|
})]));
|
|
@@ -1107,11 +1107,11 @@ const po = /* @__PURE__ */ j({
|
|
|
1107
1107
|
}
|
|
1108
1108
|
}), {
|
|
1109
1109
|
Content: Co
|
|
1110
|
-
} = We,
|
|
1110
|
+
} = We, Ft = (e, {
|
|
1111
1111
|
slots: t,
|
|
1112
1112
|
attrs: a
|
|
1113
1113
|
}) => {
|
|
1114
|
-
var
|
|
1114
|
+
var f;
|
|
1115
1115
|
const {
|
|
1116
1116
|
hashId: o,
|
|
1117
1117
|
prefixCls: i,
|
|
@@ -1120,30 +1120,30 @@ const po = /* @__PURE__ */ j({
|
|
|
1120
1120
|
...r
|
|
1121
1121
|
} = e;
|
|
1122
1122
|
if (e.isChildrenLayout)
|
|
1123
|
-
return (
|
|
1123
|
+
return (f = t.default) == null ? void 0 : f.call(t);
|
|
1124
1124
|
const {
|
|
1125
|
-
flatMenuData:
|
|
1126
|
-
layout:
|
|
1125
|
+
flatMenuData: h,
|
|
1126
|
+
layout: g
|
|
1127
1127
|
} = le();
|
|
1128
1128
|
return n(J, null, [n(po, te({
|
|
1129
|
-
visible: l ? s ? !0 :
|
|
1129
|
+
visible: l ? s ? !0 : g.value === "mix" ? h.value.length > 0 : !0 : !1
|
|
1130
1130
|
}, r), null), n(Co, {
|
|
1131
1131
|
style: a.style,
|
|
1132
1132
|
class: [`${i}-content`]
|
|
1133
1133
|
}, {
|
|
1134
1134
|
default: () => {
|
|
1135
|
-
var
|
|
1135
|
+
var d;
|
|
1136
1136
|
return [e.loading && n(so, null, null), n("div", {
|
|
1137
1137
|
class: [`${i}-content-spin-container`, o],
|
|
1138
1138
|
style: {
|
|
1139
1139
|
opacity: e.loading ? "0" : void 0
|
|
1140
1140
|
}
|
|
1141
|
-
}, [(
|
|
1141
|
+
}, [(d = t.default) == null ? void 0 : d.call(t)])];
|
|
1142
1142
|
}
|
|
1143
1143
|
})]);
|
|
1144
1144
|
};
|
|
1145
|
-
|
|
1146
|
-
|
|
1145
|
+
Ft.inheritAttrs = !1;
|
|
1146
|
+
Ft.displayName = "wrap-content";
|
|
1147
1147
|
const xo = (e) => {
|
|
1148
1148
|
const { layout: t } = Ce(e);
|
|
1149
1149
|
return {
|
|
@@ -1464,13 +1464,13 @@ const xo = (e) => {
|
|
|
1464
1464
|
}), {
|
|
1465
1465
|
wrapSSR: o,
|
|
1466
1466
|
hashId: i
|
|
1467
|
-
} = fe("AppsLogoIcon", [$o], a), [l, s] = pe(!1), r = me(),
|
|
1467
|
+
} = fe("AppsLogoIcon", [$o], a), [l, s] = pe(!1), r = me(), h = me();
|
|
1468
1468
|
return () => {
|
|
1469
|
-
var
|
|
1469
|
+
var g;
|
|
1470
1470
|
return o(n(J, null, [n("div", {
|
|
1471
1471
|
ref: r,
|
|
1472
|
-
onClick: (
|
|
1473
|
-
|
|
1472
|
+
onClick: (f) => {
|
|
1473
|
+
f.stopPropagation(), f.preventDefault();
|
|
1474
1474
|
}
|
|
1475
1475
|
}, null), n(Xn, {
|
|
1476
1476
|
placement: "bottomRight",
|
|
@@ -1480,13 +1480,13 @@ const xo = (e) => {
|
|
|
1480
1480
|
open: l.value,
|
|
1481
1481
|
onOpenChange: s,
|
|
1482
1482
|
overlayClassName: `${a}-popover ${i.value}`.trim(),
|
|
1483
|
-
content: (
|
|
1483
|
+
content: (g = t.default) == null ? void 0 : g.call(t),
|
|
1484
1484
|
getPopupContainer: () => r.value || document.body
|
|
1485
1485
|
}, {
|
|
1486
1486
|
default: () => [n("span", {
|
|
1487
|
-
ref:
|
|
1488
|
-
onClick: (
|
|
1489
|
-
|
|
1487
|
+
ref: h,
|
|
1488
|
+
onClick: (f) => {
|
|
1489
|
+
f.stopPropagation();
|
|
1490
1490
|
},
|
|
1491
1491
|
class: Q(`${a}-icon`, i.value, {
|
|
1492
1492
|
[`${a}-icon-active`]: l.value
|
|
@@ -1508,7 +1508,7 @@ const et = (e) => {
|
|
|
1508
1508
|
if (!t)
|
|
1509
1509
|
return null;
|
|
1510
1510
|
if (typeof t == "string" && t !== "") {
|
|
1511
|
-
if (
|
|
1511
|
+
if ($t(t) || ra(t))
|
|
1512
1512
|
return n("img", {
|
|
1513
1513
|
src: t,
|
|
1514
1514
|
alt: "icon",
|
|
@@ -1527,7 +1527,7 @@ const et = (e) => {
|
|
|
1527
1527
|
}
|
|
1528
1528
|
if (Le(t))
|
|
1529
1529
|
return t;
|
|
1530
|
-
const i =
|
|
1530
|
+
const i = Zt(t);
|
|
1531
1531
|
return typeof et == "function" && n(i, null, null) || null;
|
|
1532
1532
|
}, pn = /* @__PURE__ */ j({
|
|
1533
1533
|
name: "BaseMenu",
|
|
@@ -1543,61 +1543,61 @@ const et = (e) => {
|
|
|
1543
1543
|
} = le(), o = a({
|
|
1544
1544
|
suffixCls: "menu-item",
|
|
1545
1545
|
isPor: !0
|
|
1546
|
-
}), i = R(() =>
|
|
1547
|
-
var
|
|
1548
|
-
(
|
|
1546
|
+
}), i = R(() => b(e.menuData)), l = (u) => {
|
|
1547
|
+
var v;
|
|
1548
|
+
(v = e.onOpenKeys) == null || v.call(e, u);
|
|
1549
1549
|
}, s = (u) => {
|
|
1550
|
-
var
|
|
1551
|
-
(
|
|
1550
|
+
var v;
|
|
1551
|
+
(v = e.onSelect) == null || v.call(e, u);
|
|
1552
1552
|
}, r = (u) => {
|
|
1553
|
-
var C;
|
|
1554
|
-
(C = e.onClick) == null || C.call(e, u);
|
|
1555
|
-
}, g = (u, C) => {
|
|
1556
1553
|
var v;
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1554
|
+
(v = e.onClick) == null || v.call(e, u);
|
|
1555
|
+
}, h = (u, v) => {
|
|
1556
|
+
var C;
|
|
1557
|
+
const p = u.link || "", c = $t(p);
|
|
1558
|
+
((C = t.currentRoute.value) == null ? void 0 : C.fullPath) !== v.to && c && p && u.linkStatus === 1 && window.open(p);
|
|
1559
|
+
}, g = Zt("router-link"), f = (u, v) => {
|
|
1560
|
+
var m;
|
|
1561
|
+
const p = Fe(u == null ? void 0 : u.icon), c = typeof u.badge == "function" ? n("div", {
|
|
1562
1562
|
class: `${o}-item-bradde`
|
|
1563
|
-
}, [(
|
|
1564
|
-
class: [`${o}-title`, !
|
|
1563
|
+
}, [(m = u.badge) == null ? void 0 : m.call(u, $e(u, "badge"))]) : null, C = n("span", {
|
|
1564
|
+
class: [`${o}-title`, !p && `${o}-title-no-icon`]
|
|
1565
1565
|
}, [u.title]);
|
|
1566
|
-
return
|
|
1566
|
+
return v ? C : n(J, null, [C, c ?? (sa(u.badge) && n(Vn, te({
|
|
1567
1567
|
class: `${o}-item-bradde`,
|
|
1568
1568
|
overflowCount: 999
|
|
1569
1569
|
}, u.badge), null))]);
|
|
1570
|
-
},
|
|
1570
|
+
}, d = (u) => {
|
|
1571
1571
|
var $, I, B;
|
|
1572
|
-
let
|
|
1573
|
-
const
|
|
1572
|
+
let v;
|
|
1573
|
+
const p = {
|
|
1574
1574
|
...u.meta
|
|
1575
|
-
}, c =
|
|
1575
|
+
}, c = p.linkStatus === 1 && p.link ? "a" : g, C = {
|
|
1576
1576
|
to: ca(u.redirect) ? u.redirect : u.path || ""
|
|
1577
|
-
},
|
|
1577
|
+
}, m = Fe(($ = u.meta) == null ? void 0 : $.icon), w = n(c, te(C, {
|
|
1578
1578
|
class: "gx-pro-menu-item",
|
|
1579
|
-
onClick: () =>
|
|
1580
|
-
}), mt(
|
|
1581
|
-
default: () => [
|
|
1582
|
-
}), z =
|
|
1579
|
+
onClick: () => h(p, C)
|
|
1580
|
+
}), mt(v = f(p, !m)) ? v : {
|
|
1581
|
+
default: () => [v]
|
|
1582
|
+
}), z = m && n(et, {
|
|
1583
1583
|
className: o,
|
|
1584
1584
|
icon: (I = u.meta) == null ? void 0 : I.icon,
|
|
1585
1585
|
iconfontUrl: e.iconfontUrl,
|
|
1586
1586
|
iconFont: (B = u.meta) == null ? void 0 : B.iconFont
|
|
1587
1587
|
}, null) || void 0;
|
|
1588
1588
|
return [w, z];
|
|
1589
|
-
},
|
|
1590
|
-
var c,
|
|
1591
|
-
if (
|
|
1589
|
+
}, y = (u) => {
|
|
1590
|
+
var c, C, m, w, z, $, I, B;
|
|
1591
|
+
if (Bt(u.children) && !((c = u == null ? void 0 : u.meta) != null && c.hideInMenu) && !((C = u == null ? void 0 : u.meta) != null && C.hideChildrenInMenu)) {
|
|
1592
1592
|
let k;
|
|
1593
1593
|
if (e.subMenuItemRender)
|
|
1594
1594
|
return e.subMenuItemRender({
|
|
1595
1595
|
item: u,
|
|
1596
|
-
children:
|
|
1596
|
+
children: b(u.children)
|
|
1597
1597
|
});
|
|
1598
|
-
const O = (
|
|
1598
|
+
const O = (m = u.meta) != null && m.icon ? n("span", {
|
|
1599
1599
|
class: "gx-pro-menu-item"
|
|
1600
|
-
}, [
|
|
1600
|
+
}, [f(u.meta)]) : u.meta && f(u.meta), T = ((w = u.meta) == null ? void 0 : w.type) === "group", U = T ? ge.ItemGroup : ge.SubMenu;
|
|
1601
1601
|
return n(U, {
|
|
1602
1602
|
title: O,
|
|
1603
1603
|
key: u.path,
|
|
@@ -1607,26 +1607,26 @@ const et = (e) => {
|
|
|
1607
1607
|
iconfontUrl: e.iconfontUrl,
|
|
1608
1608
|
iconFont: ($ = u.meta) == null ? void 0 : $.iconFont
|
|
1609
1609
|
}, null)
|
|
1610
|
-
}, mt(k =
|
|
1610
|
+
}, mt(k = b(u.children)) ? k : {
|
|
1611
1611
|
default: () => [k]
|
|
1612
1612
|
});
|
|
1613
1613
|
}
|
|
1614
1614
|
if ((I = u == null ? void 0 : u.meta) != null && I.hideInMenu) return null;
|
|
1615
|
-
const [
|
|
1615
|
+
const [v, p] = d(u);
|
|
1616
1616
|
return e.menuItemRender && e.menuItemRender({
|
|
1617
1617
|
item: u,
|
|
1618
|
-
title:
|
|
1619
|
-
icon:
|
|
1618
|
+
title: v,
|
|
1619
|
+
icon: p
|
|
1620
1620
|
}) || n(ge.Item, {
|
|
1621
1621
|
disabled: (B = u.meta) == null ? void 0 : B.disabled,
|
|
1622
1622
|
key: u.path,
|
|
1623
|
-
icon:
|
|
1624
|
-
}, mt(
|
|
1625
|
-
default: () => [
|
|
1623
|
+
icon: p
|
|
1624
|
+
}, mt(v) ? v : {
|
|
1625
|
+
default: () => [v]
|
|
1626
1626
|
});
|
|
1627
1627
|
};
|
|
1628
|
-
function
|
|
1629
|
-
return u.map((
|
|
1628
|
+
function b(u = []) {
|
|
1629
|
+
return u.map((v) => y(v)).filter((v) => v);
|
|
1630
1630
|
}
|
|
1631
1631
|
return () => n(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 S("pro-layout-title-hide", {
|
|
1646
1646
|
"0%": { display: "none", opacity: 0 },
|
|
1647
1647
|
"80%": {
|
|
1648
1648
|
overflow: "hidden"
|
|
@@ -1800,7 +1800,7 @@ const et = (e) => {
|
|
|
1800
1800
|
if (l === !1) return null;
|
|
1801
1801
|
const s = xn(t, a), r = o && n("h1", null, [o]);
|
|
1802
1802
|
return typeof l == "function" ? l(s, e.collapsed ? null : r, e) : l || n(J, null, [s || null, e.collapsed && (i === "side" || i === "simple") ? null : r]);
|
|
1803
|
-
},
|
|
1803
|
+
}, kt = /* @__PURE__ */ j({
|
|
1804
1804
|
name: "LogoContent",
|
|
1805
1805
|
props: {
|
|
1806
1806
|
...Ja,
|
|
@@ -1835,7 +1835,7 @@ const et = (e) => {
|
|
|
1835
1835
|
};
|
|
1836
1836
|
}
|
|
1837
1837
|
});
|
|
1838
|
-
|
|
1838
|
+
kt.inheritAttrs = !1;
|
|
1839
1839
|
const Sn = (e) => {
|
|
1840
1840
|
var i;
|
|
1841
1841
|
const { theme: t, layout: a } = Ce(e), o = (i = e.layout) == null ? void 0 : i.sider;
|
|
@@ -1967,8 +1967,8 @@ const Po = /* @__PURE__ */ j({
|
|
|
1967
1967
|
}, [n(To, null, null)]));
|
|
1968
1968
|
}
|
|
1969
1969
|
}), In = (e, t, a) => e.sort((o, i) => {
|
|
1970
|
-
var r,
|
|
1971
|
-
const l = ((r = o.meta) == null ? void 0 : r.order) || 0, s = ((
|
|
1970
|
+
var r, h;
|
|
1971
|
+
const l = ((r = o.meta) == null ? void 0 : r.order) || 0, s = ((h = i.meta) == null ? void 0 : h.order) || 0;
|
|
1972
1972
|
return l - s > 0 ? 1 : -1;
|
|
1973
1973
|
}).map((o, i) => {
|
|
1974
1974
|
var l, s;
|
|
@@ -1986,17 +1986,17 @@ const No = (e) => {
|
|
|
1986
1986
|
return {
|
|
1987
1987
|
menuData: o,
|
|
1988
1988
|
breadcrumb: a,
|
|
1989
|
-
getLevel: () =>
|
|
1989
|
+
getLevel: () => Mt(o)
|
|
1990
1990
|
};
|
|
1991
1991
|
};
|
|
1992
1992
|
function zo(e) {
|
|
1993
1993
|
const t = /* @__PURE__ */ new Map(), a = [];
|
|
1994
1994
|
function o(l) {
|
|
1995
1995
|
return l.map((s) => {
|
|
1996
|
-
const r = s.path,
|
|
1997
|
-
if (s.hidden || !
|
|
1998
|
-
return (!
|
|
1999
|
-
if (t.set(
|
|
1996
|
+
const r = s.path, h = s.name, g = t.has(h) && t.get(h) !== r;
|
|
1997
|
+
if (s.hidden || !h || g)
|
|
1998
|
+
return (!h || g) && (a.some((f) => f.name === h && r === s.path) || a.push({ ...s })), null;
|
|
1999
|
+
if (t.set(h, r), s && (s != null && s.children))
|
|
2000
2000
|
if (s.hideChildren)
|
|
2001
2001
|
s.children = [];
|
|
2002
2002
|
else
|
|
@@ -2020,14 +2020,14 @@ function Ao(e, t) {
|
|
|
2020
2020
|
function Rn(e) {
|
|
2021
2021
|
var l, s;
|
|
2022
2022
|
const t = e == null ? void 0 : e.filter((r) => {
|
|
2023
|
-
var
|
|
2024
|
-
return !r.hidden && !((
|
|
2023
|
+
var h;
|
|
2024
|
+
return !r.hidden && !((h = r.meta) != null && h.hideInMenu);
|
|
2025
2025
|
}), a = t[0];
|
|
2026
2026
|
let o = "";
|
|
2027
2027
|
const i = function(r) {
|
|
2028
|
-
var
|
|
2029
|
-
let
|
|
2030
|
-
return r != null && r.children && (r == null ? void 0 : r.children.length) > 0 ?
|
|
2028
|
+
var g;
|
|
2029
|
+
let h = "";
|
|
2030
|
+
return r != null && r.children && (r == null ? void 0 : r.children.length) > 0 ? h = i((g = r == null ? void 0 : r.children) == null ? void 0 : g[0]) : h = (r == null ? void 0 : r.redirect) || (r == null ? void 0 : r.path) || "", h;
|
|
2031
2031
|
};
|
|
2032
2032
|
if (t.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]);
|
|
@@ -2057,16 +2057,16 @@ function $n(e, t) {
|
|
|
2057
2057
|
}
|
|
2058
2058
|
}
|
|
2059
2059
|
function Ho({ menuData: e, levelMenuData: t }, { path: a, name: o }) {
|
|
2060
|
-
var
|
|
2061
|
-
const i = t.find((
|
|
2062
|
-
let r = ((
|
|
2063
|
-
const
|
|
2064
|
-
if (r =
|
|
2065
|
-
const
|
|
2066
|
-
for (let
|
|
2067
|
-
|
|
2068
|
-
const
|
|
2069
|
-
return t.filter((
|
|
2060
|
+
var y, b, u, v;
|
|
2061
|
+
const i = t.find((p) => p.name === o), l = (i == null ? void 0 : i.key) || "", s = (y = i == null ? void 0 : i.meta) == null ? void 0 : y.hideInMenu;
|
|
2062
|
+
let r = ((b = t.find((p) => p.path === a)) == null ? void 0 : b.key) || "";
|
|
2063
|
+
const h = !r || s, g = l.split("-").slice(0, -1).join("-"), f = t.find((p) => p.key === g), d = $n(e, g) || r;
|
|
2064
|
+
if (r = h ? (u = f == null ? void 0 : f.meta) != null && u.menuSelectKey && ((v = t.find((p) => p.path === wn(f))) == null ? void 0 : v.key) || d : r, r) {
|
|
2065
|
+
const p = [], c = r.split("-");
|
|
2066
|
+
for (let m = 0; m < c.length; m += 1)
|
|
2067
|
+
p.push(Se(c).splice(0, m + 1).join("-"));
|
|
2068
|
+
const C = l === r || s ? [] : t.filter((m) => l === m.key);
|
|
2069
|
+
return t.filter((m) => p.some((w) => w === (m == null ? void 0 : m.key) || "")).concat(C);
|
|
2070
2070
|
}
|
|
2071
2071
|
return [];
|
|
2072
2072
|
}
|
|
@@ -2079,7 +2079,7 @@ function jo(e, t) {
|
|
|
2079
2079
|
} : null;
|
|
2080
2080
|
}).filter((a) => a !== null);
|
|
2081
2081
|
}
|
|
2082
|
-
const Eo = ["left", "right"], Ee = ["left", "right", "down", "up"], Ko = ["downBig", "upBig", "leftBig", "rightBig"], Wo = ["topLeft", "bottomRight", "topRight", "bottomLeft"], Uo = ["downLeft", "upRight", "downRight", "upLeft"],
|
|
2082
|
+
const Eo = ["left", "right"], Ee = ["left", "right", "down", "up"], Ko = ["downBig", "upBig", "leftBig", "rightBig"], Wo = ["topLeft", "bottomRight", "topRight", "bottomLeft"], Uo = ["downLeft", "upRight", "downRight", "upLeft"], Tt = {
|
|
2083
2083
|
preset: [
|
|
2084
2084
|
// 预设动画配置
|
|
2085
2085
|
{ name: "back", alias: "渐近", directions: Ee },
|
|
@@ -2108,8 +2108,8 @@ const Eo = ["left", "right"], Ee = ["left", "right", "down", "up"], Ko = ["downB
|
|
|
2108
2108
|
colorItemTextSelectedHorizontal: "colorTextMenuSelected"
|
|
2109
2109
|
};
|
|
2110
2110
|
function Bn({ type: e, token: t, dark: a, staticToken: o }) {
|
|
2111
|
-
var
|
|
2112
|
-
const i = (
|
|
2111
|
+
var h, g;
|
|
2112
|
+
const i = (h = t.layout) == null ? void 0 : h[e], l = it(e, t, ((g = t.layout) == null ? void 0 : g.key) || ""), s = Object.keys(ft).reduce((f, d) => (f[d] = i[ft[d]] || l[ft[d]], f), {}), r = Object.assign(o, Object.fromEntries(Object.entries(s).filter(([f, d]) => d !== void 0)));
|
|
2113
2113
|
return a && e === "header" && (r.colorActiveBarHeight = 0), r;
|
|
2114
2114
|
}
|
|
2115
2115
|
function _o(e) {
|
|
@@ -2124,12 +2124,12 @@ function Vo(e, t) {
|
|
|
2124
2124
|
const a = /* @__PURE__ */ new Set();
|
|
2125
2125
|
return e.filter((o) => a.has(o[t]) ? !1 : (a.add(o[t]), !0));
|
|
2126
2126
|
}
|
|
2127
|
-
function
|
|
2127
|
+
function Wt(e) {
|
|
2128
2128
|
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Le(e);
|
|
2129
2129
|
}
|
|
2130
2130
|
const {
|
|
2131
2131
|
Sider: Go
|
|
2132
|
-
} = We, Mn = (e) => e ? n(Na, null, null) : n(za, null, null),
|
|
2132
|
+
} = We, Mn = (e) => e ? n(Na, null, null) : n(za, null, null), Ut = /* @__PURE__ */ j({
|
|
2133
2133
|
props: ce,
|
|
2134
2134
|
inheritAttrs: !1,
|
|
2135
2135
|
setup(e) {
|
|
@@ -2141,26 +2141,26 @@ const {
|
|
|
2141
2141
|
openKeys: l,
|
|
2142
2142
|
menuState: s,
|
|
2143
2143
|
contentFullScreen: r
|
|
2144
|
-
} = le(),
|
|
2145
|
-
token:
|
|
2144
|
+
} = le(), h = Lt(), {
|
|
2145
|
+
token: g
|
|
2146
2146
|
} = Oe(), {
|
|
2147
|
-
theme:
|
|
2148
|
-
layout:
|
|
2149
|
-
isMobile:
|
|
2150
|
-
menuLoading:
|
|
2147
|
+
theme: f,
|
|
2148
|
+
layout: d,
|
|
2149
|
+
isMobile: y,
|
|
2150
|
+
menuLoading: b,
|
|
2151
2151
|
breakpoint: u,
|
|
2152
|
-
fixSiderbar:
|
|
2153
|
-
fixedHeader:
|
|
2152
|
+
fixSiderbar: v,
|
|
2153
|
+
fixedHeader: p,
|
|
2154
2154
|
collapsed: c,
|
|
2155
|
-
siderWidth:
|
|
2156
|
-
collapsedWidth:
|
|
2155
|
+
siderWidth: C,
|
|
2156
|
+
collapsedWidth: m,
|
|
2157
2157
|
menuContentRender: w,
|
|
2158
2158
|
menuFooterRender: z,
|
|
2159
2159
|
collapsedButtonRender: $
|
|
2160
2160
|
} = tt(e), I = t({
|
|
2161
2161
|
suffixCls: "sider",
|
|
2162
2162
|
isPor: !0
|
|
2163
|
-
}), B = R(() => e.layout === "wide"), k = R(() => e.layout === "mix" && !e.isMobile && e.splitMenus), O = R(() =>
|
|
2163
|
+
}), B = R(() => e.layout === "wide"), k = R(() => e.layout === "mix" && !e.isMobile && e.splitMenus), O = R(() => d.value === "side" || d.value === "simple"), T = R(() => e.isMobile || B.value ? !1 : v.value), U = R(() => (e.layout === "mix" || B.value) && "light" || s.value.theme), {
|
|
2164
2164
|
wrapSSR: _,
|
|
2165
2165
|
hashId: X
|
|
2166
2166
|
} = fe("ProLayoutSiderMenu", [Oo, Lo, Mo, Sn, (H) => {
|
|
@@ -2179,7 +2179,7 @@ const {
|
|
|
2179
2179
|
}
|
|
2180
2180
|
}
|
|
2181
2181
|
};
|
|
2182
|
-
}], I), he = R(() =>
|
|
2182
|
+
}], I), he = R(() => d.value === "top" ? [] : i.value), de = R(() => e.collapsed ? m.value : C.value), L = R(() => Q([X.value, I, y.value ? "shadow" : null, `${I}-${f.value}`, T.value ? `${I}-fixed` : null])), F = R(() => $.value !== !1 ? $.value || Mn : !1), P = yt(() => e.layout === "simple" || !e.appLogoListRender ? null : n(vn, null, {
|
|
2183
2183
|
default: () => {
|
|
2184
2184
|
var H;
|
|
2185
2185
|
return [typeof e.appLogoListRender == "function" ? (H = e.appLogoListRender) == null ? void 0 : H.call(e) : e.appLogoListRender];
|
|
@@ -2193,7 +2193,7 @@ const {
|
|
|
2193
2193
|
var Y;
|
|
2194
2194
|
if ($.value === !1) return null;
|
|
2195
2195
|
const H = n(Po, {
|
|
2196
|
-
isMobile:
|
|
2196
|
+
isMobile: y.value,
|
|
2197
2197
|
collapsed: c.value,
|
|
2198
2198
|
onClick: () => E()
|
|
2199
2199
|
}, null);
|
|
@@ -2212,7 +2212,7 @@ const {
|
|
|
2212
2212
|
return () => {
|
|
2213
2213
|
var we;
|
|
2214
2214
|
let H;
|
|
2215
|
-
const Y = O.value && n(
|
|
2215
|
+
const Y = O.value && n(kt, te({
|
|
2216
2216
|
hashId: X.value,
|
|
2217
2217
|
baseClassName: I
|
|
2218
2218
|
}, oe(e, Object.keys(rt))), {
|
|
@@ -2231,17 +2231,17 @@ const {
|
|
|
2231
2231
|
style: {
|
|
2232
2232
|
width: "100%"
|
|
2233
2233
|
},
|
|
2234
|
-
onOpenKeys: (
|
|
2234
|
+
onOpenKeys: (x) => {
|
|
2235
2235
|
var M;
|
|
2236
|
-
return e.onOpenKeys && ((M = e.onOpenKeys) == null ? void 0 : M.call(e,
|
|
2236
|
+
return e.onOpenKeys && ((M = e.onOpenKeys) == null ? void 0 : M.call(e, x));
|
|
2237
2237
|
},
|
|
2238
2238
|
onSelect: ye
|
|
2239
2239
|
}, null);
|
|
2240
|
-
return k.value && se(o.value).length === 0 && e.suppressSiderWhenMenuEmpty || he.value.length === 0 && e.suppressSiderWhenMenuEmpty ? null : _(n(
|
|
2240
|
+
return k.value && se(o.value).length === 0 && e.suppressSiderWhenMenuEmpty || he.value.length === 0 && e.suppressSiderWhenMenuEmpty ? null : _(n(Rt, {
|
|
2241
2241
|
theme: {
|
|
2242
2242
|
components: {
|
|
2243
2243
|
Menu: Bn({
|
|
2244
|
-
token: (
|
|
2244
|
+
token: (g == null ? void 0 : g.value) || {},
|
|
2245
2245
|
staticToken: {
|
|
2246
2246
|
radiusItem: 4,
|
|
2247
2247
|
colorActiveBarWidth: 0,
|
|
@@ -2269,23 +2269,23 @@ const {
|
|
|
2269
2269
|
class: L.value,
|
|
2270
2270
|
style: {
|
|
2271
2271
|
zIndex: T.value ? 101 : void 0,
|
|
2272
|
-
paddingTop: T.value &&
|
|
2272
|
+
paddingTop: T.value && p.value && d.value === "mix" ? `${e.headerHeight}px` : 0,
|
|
2273
2273
|
top: e.layout === "wide" ? `${e.headerHeight + 20}px` : void 0,
|
|
2274
2274
|
height: e.layout === "wide" ? `calc(100vh - ${e.headerHeight + 20 * 2}px)` : void 0
|
|
2275
2275
|
},
|
|
2276
2276
|
theme: U.value,
|
|
2277
2277
|
breakpoint: u.value || void 0,
|
|
2278
2278
|
collapsed: c.value,
|
|
2279
|
-
width:
|
|
2280
|
-
collapsedWidth:
|
|
2279
|
+
width: C.value,
|
|
2280
|
+
collapsedWidth: m.value
|
|
2281
2281
|
}, {
|
|
2282
2282
|
default: () => {
|
|
2283
|
-
var
|
|
2284
|
-
return [
|
|
2283
|
+
var x, M, N, G;
|
|
2284
|
+
return [b.value && n("div", {
|
|
2285
2285
|
class: ["gx-pro-sider-loading", X.value]
|
|
2286
|
-
}, [n(
|
|
2287
|
-
spinning:
|
|
2288
|
-
indicator: (
|
|
2286
|
+
}, [n(It, {
|
|
2287
|
+
spinning: b.value,
|
|
2288
|
+
indicator: (x = h == null ? void 0 : h.indicator) == null ? void 0 : x.value
|
|
2289
2289
|
}, null)]), Y || null, Fe(e.menuHeaderRender) && n("div", {
|
|
2290
2290
|
class: Q([X.value, `${I}-extra`, !Y && `${I}-extra-no-logo`])
|
|
2291
2291
|
}, [V]), n("div", {
|
|
@@ -2293,7 +2293,7 @@ const {
|
|
|
2293
2293
|
flex: "1 1 0%",
|
|
2294
2294
|
overflow: "hidden auto"
|
|
2295
2295
|
}
|
|
2296
|
-
}, [w.value && ((M = w.value) == null ? void 0 : M.call(w, e, Ie)) || Ie]), e.layout !== "wide" && n(J, null, [Fe(xe) &&
|
|
2296
|
+
}, [w.value && ((M = w.value) == null ? void 0 : M.call(w, e, Ie)) || Ie]), e.layout !== "wide" && n(J, null, [Fe(xe) && Bt(xe) && xe.length > 0 && n("div", {
|
|
2297
2297
|
class: `${I}-links ${X.value}`
|
|
2298
2298
|
}, [n(ge, {
|
|
2299
2299
|
theme: U.value,
|
|
@@ -2302,21 +2302,21 @@ const {
|
|
|
2302
2302
|
selectedKeys: [],
|
|
2303
2303
|
openKeys: [],
|
|
2304
2304
|
mode: "inline"
|
|
2305
|
-
},
|
|
2305
|
+
}, Wt(H = (xe || []).map((D, A) => n(ge.Item, {
|
|
2306
2306
|
class: `${I}-link ${X.value}`,
|
|
2307
2307
|
key: A
|
|
2308
|
-
},
|
|
2308
|
+
}, Wt(D) ? D : {
|
|
2309
2309
|
default: () => [D]
|
|
2310
2310
|
}))) ? H : {
|
|
2311
2311
|
default: () => [H]
|
|
2312
|
-
})]),
|
|
2312
|
+
})]), y.value ? null : n("div", {
|
|
2313
2313
|
class: Q(`${I}-actions`, X.value)
|
|
2314
2314
|
}, [Ne || n(J, null, [n("div", {
|
|
2315
2315
|
class: Q(`${I}-actions-item`, X.value),
|
|
2316
2316
|
onClick: () => E()
|
|
2317
2317
|
}, [F.value && ((N = F.value) == null ? void 0 : N.call(F, c.value))])])])]), z.value && n("div", {
|
|
2318
2318
|
class: `${I}-footer ${X.value}`
|
|
2319
|
-
}, [(G = z.value) == null ? void 0 : G.call(z, e)]), r.value ||
|
|
2319
|
+
}, [(G = z.value) == null ? void 0 : G.call(z, e)]), r.value || d.value === "wide" ? null : ee.value];
|
|
2320
2320
|
}
|
|
2321
2321
|
})]
|
|
2322
2322
|
}));
|
|
@@ -2343,29 +2343,29 @@ const {
|
|
|
2343
2343
|
openKeys: l,
|
|
2344
2344
|
selectedKeys: s,
|
|
2345
2345
|
menuState: r
|
|
2346
|
-
} = le(),
|
|
2346
|
+
} = le(), h = i({
|
|
2347
2347
|
suffixCls: "global-header",
|
|
2348
2348
|
isPor: !0
|
|
2349
2349
|
}), {
|
|
2350
|
-
wrapSSR:
|
|
2351
|
-
hashId:
|
|
2352
|
-
} = fe("ProGlobalHeader", [xo, Sn],
|
|
2353
|
-
[`${
|
|
2354
|
-
[`${
|
|
2355
|
-
[`${
|
|
2356
|
-
})),
|
|
2350
|
+
wrapSSR: g,
|
|
2351
|
+
hashId: f
|
|
2352
|
+
} = fe("ProGlobalHeader", [xo, Sn], h), d = R(() => ({
|
|
2353
|
+
[`${f.value}`]: !0,
|
|
2354
|
+
[`${h}`]: !0,
|
|
2355
|
+
[`${h}-${e.layout}`]: !0
|
|
2356
|
+
})), y = (p, c, C) => {
|
|
2357
2357
|
var $;
|
|
2358
|
-
const
|
|
2359
|
-
if (e.onSelect &&
|
|
2360
|
-
const I = ($ = e.menuData.find((B) => B.path ===
|
|
2358
|
+
const m = a.currentRoute.value, w = m.matched.concat(), z = e.layout === "mix";
|
|
2359
|
+
if (e.onSelect && p === "select") {
|
|
2360
|
+
const I = ($ = e.menuData.find((B) => B.path === C)) == null ? void 0 : $.redirect;
|
|
2361
2361
|
e.onSelect(z && I ? w.filter((B) => B.name !== "index").map((B) => B.path) : c);
|
|
2362
2362
|
}
|
|
2363
|
-
e.onOpenKeys &&
|
|
2364
|
-
},
|
|
2363
|
+
e.onOpenKeys && p === "openKeys" && e.onOpenKeys(z ? w.filter((I) => I.path !== m.path).map((I) => I.path) : c);
|
|
2364
|
+
}, b = () => {
|
|
2365
2365
|
t("collapse", !e.collapsed);
|
|
2366
|
-
}, u = R(() => e.collapsedButtonRender || Mn),
|
|
2366
|
+
}, u = R(() => e.collapsedButtonRender || Mn), v = () => {
|
|
2367
2367
|
var c;
|
|
2368
|
-
const
|
|
2368
|
+
const p = e.headerContentRender || e.headerContentRender === !1 ? n("div", {
|
|
2369
2369
|
style: {
|
|
2370
2370
|
flex: 1
|
|
2371
2371
|
}
|
|
@@ -2373,8 +2373,8 @@ const {
|
|
|
2373
2373
|
style: {
|
|
2374
2374
|
flex: 1
|
|
2375
2375
|
},
|
|
2376
|
-
class: [`${
|
|
2377
|
-
}, [((c = e.menuData) == null ? void 0 : c.length) > 0 && n(
|
|
2376
|
+
class: [`${h}-menu`, f.value]
|
|
2377
|
+
}, [((c = e.menuData) == null ? void 0 : c.length) > 0 && n(Rt, {
|
|
2378
2378
|
theme: {
|
|
2379
2379
|
components: {
|
|
2380
2380
|
Layout: {
|
|
@@ -2408,47 +2408,47 @@ const {
|
|
|
2408
2408
|
subMenuItemRender: e.subMenuItemRender,
|
|
2409
2409
|
class: {
|
|
2410
2410
|
"top-nav-menu": e.mode === "horizontal",
|
|
2411
|
-
[`${
|
|
2411
|
+
[`${f.value}`]: !0
|
|
2412
2412
|
},
|
|
2413
|
-
onSelect: (
|
|
2414
|
-
onOpenKeys: (
|
|
2413
|
+
onSelect: (C) => y("select", C.selectedKeys, C.key),
|
|
2414
|
+
onOpenKeys: (C) => y("openKeys", C)
|
|
2415
2415
|
}, null)]
|
|
2416
2416
|
})]);
|
|
2417
|
-
return n(J, null, [
|
|
2417
|
+
return n(J, null, [p, e.layout !== "simple" && n(Qo, te(e, {
|
|
2418
2418
|
extraRightDropdownRender: e.extraRightDropdownRender,
|
|
2419
2419
|
rightContentRender: e.rightContentRender
|
|
2420
2420
|
}), null)]);
|
|
2421
2421
|
};
|
|
2422
2422
|
return () => {
|
|
2423
|
-
const
|
|
2423
|
+
const p = n("span", {
|
|
2424
2424
|
key: "logo",
|
|
2425
2425
|
onClick: () => {
|
|
2426
2426
|
var c;
|
|
2427
2427
|
return (c = e.onLogoClick) == null ? void 0 : c.call(e);
|
|
2428
2428
|
},
|
|
2429
|
-
class: [`${
|
|
2429
|
+
class: [`${h}-logo`, e.isMobile && "mobile", f.value]
|
|
2430
2430
|
}, [n("a", null, [xn(e.logo, e.logoStyle)])]);
|
|
2431
|
-
return
|
|
2432
|
-
class:
|
|
2433
|
-
}, [e.isMobile ? n(J, null, [qo(e.logoContentRender,
|
|
2434
|
-
class: `${
|
|
2435
|
-
onClick:
|
|
2436
|
-
}, [se(u)(e.collapsed)]),
|
|
2437
|
-
class: `${
|
|
2431
|
+
return g(n("div", {
|
|
2432
|
+
class: d.value
|
|
2433
|
+
}, [e.isMobile ? n(J, null, [qo(e.logoContentRender, p), e.isMobile && se(u) && n("span", {
|
|
2434
|
+
class: `${h}-collapsed-button ${f.value}`,
|
|
2435
|
+
onClick: b
|
|
2436
|
+
}, [se(u)(e.collapsed)]), v()]) : Yo.includes(e.layout) ? n("div", {
|
|
2437
|
+
class: `${h}-main ${f.value}`,
|
|
2438
2438
|
style: {
|
|
2439
2439
|
width: Ae(e.headerMainWidth)
|
|
2440
2440
|
}
|
|
2441
2441
|
}, [n("div", {
|
|
2442
|
-
class: `${
|
|
2442
|
+
class: `${h}-main-left ${f.value}`
|
|
2443
2443
|
}, [e.layout !== "wide" && e.appLogoListRender && n(vn, null, {
|
|
2444
2444
|
default: () => {
|
|
2445
2445
|
var c;
|
|
2446
2446
|
return [typeof e.appLogoListRender == "function" ? (c = e.appLogoListRender) == null ? void 0 : c.call(e) : e.appLogoListRender];
|
|
2447
2447
|
}
|
|
2448
|
-
}), n(
|
|
2449
|
-
hashId:
|
|
2450
|
-
baseClassName:
|
|
2451
|
-
}, e), null)]),
|
|
2448
|
+
}), n(kt, te({
|
|
2449
|
+
hashId: f.value,
|
|
2450
|
+
baseClassName: h
|
|
2451
|
+
}, e), null)]), v()]) : v()]));
|
|
2452
2452
|
};
|
|
2453
2453
|
}
|
|
2454
2454
|
});
|
|
@@ -2456,8 +2456,8 @@ function Jo(e) {
|
|
|
2456
2456
|
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Le(e);
|
|
2457
2457
|
}
|
|
2458
2458
|
const {
|
|
2459
|
-
Header:
|
|
2460
|
-
} = We,
|
|
2459
|
+
Header: _t
|
|
2460
|
+
} = We, Xt = /* @__PURE__ */ j({
|
|
2461
2461
|
inheritAttrs: !1,
|
|
2462
2462
|
props: fn,
|
|
2463
2463
|
setup(e) {
|
|
@@ -2471,25 +2471,25 @@ const {
|
|
|
2471
2471
|
dark: s
|
|
2472
2472
|
} = Oe(), {
|
|
2473
2473
|
getPrefixCls: r,
|
|
2474
|
-
menuData:
|
|
2475
|
-
contentFullScreen:
|
|
2476
|
-
menuState:
|
|
2477
|
-
headerHeight:
|
|
2478
|
-
} = le(),
|
|
2474
|
+
menuData: h,
|
|
2475
|
+
contentFullScreen: g,
|
|
2476
|
+
menuState: f,
|
|
2477
|
+
headerHeight: d
|
|
2478
|
+
} = le(), y = r({
|
|
2479
2479
|
suffixCls: "header",
|
|
2480
2480
|
isPor: !0
|
|
2481
|
-
}),
|
|
2481
|
+
}), b = r({
|
|
2482
2482
|
suffixCls: "fixed-header",
|
|
2483
2483
|
isPor: !0
|
|
2484
|
-
}), u = R(() => o.value === "wide"),
|
|
2485
|
-
wrapSSR:
|
|
2486
|
-
hashId:
|
|
2484
|
+
}), u = R(() => o.value === "wide"), v = R(() => a.value), p = R(() => o.value === "side" || o.value === "simple"), c = R(() => p.value && "light" || f.value.theme), {
|
|
2485
|
+
wrapSSR: C,
|
|
2486
|
+
hashId: m
|
|
2487
2487
|
} = Pe("ProLayoutHeader", (O) => {
|
|
2488
2488
|
var X, he;
|
|
2489
2489
|
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");
|
|
2490
2490
|
return {
|
|
2491
2491
|
[`${O.proComponentsCls}-basic-layout`]: {
|
|
2492
|
-
[`${O.antCls}-layout-header${O.componentCls}${O.componentCls}-${se(
|
|
2492
|
+
[`${O.antCls}-layout-header${O.componentCls}${O.componentCls}-${se(f.value.key)}`]: {
|
|
2493
2493
|
color: _ ? O.colorWhite : O.colorText,
|
|
2494
2494
|
backgroundColor: (T == null ? void 0 : T.colorBgMenu) || (U == null ? void 0 : U.colorBgMenu),
|
|
2495
2495
|
boxShadow: s.value ? "#0d0d0da6 0 2px 8px" : "",
|
|
@@ -2535,12 +2535,12 @@ const {
|
|
|
2535
2535
|
}
|
|
2536
2536
|
}
|
|
2537
2537
|
};
|
|
2538
|
-
},
|
|
2539
|
-
[`${
|
|
2540
|
-
[`${
|
|
2541
|
-
[`${
|
|
2542
|
-
[`${
|
|
2543
|
-
})), z = R(() =>
|
|
2538
|
+
}, y), w = R(() => ({
|
|
2539
|
+
[`${m.value}`]: !0,
|
|
2540
|
+
[`${y}`]: !0,
|
|
2541
|
+
[`${y}-${f.value.key}`]: !0,
|
|
2542
|
+
[`${b}`]: v.value
|
|
2543
|
+
})), z = R(() => v.value && !t.value), $ = R(() => l.value && o.value === "mix" ? Do(Se(h.value)) : o.value === "top" ? h.value : []), I = R(() => p.value && z.value ? `calc(100% - ${e.collapsed ? e.collapsedWidth : e.siderWidth}px)` : "100%"), B = R(() => v.value ? 0 : void 0), k = () => {
|
|
2544
2544
|
const O = n(Zo, te(e, {
|
|
2545
2545
|
mode: "horizontal",
|
|
2546
2546
|
theme: c.value,
|
|
@@ -2552,29 +2552,29 @@ const {
|
|
|
2552
2552
|
};
|
|
2553
2553
|
return () => {
|
|
2554
2554
|
let O;
|
|
2555
|
-
return
|
|
2555
|
+
return C(n(J, null, [v.value && !u.value && n(_t, {
|
|
2556
2556
|
style: {
|
|
2557
|
-
height: `${
|
|
2558
|
-
lineHeight: `${
|
|
2557
|
+
height: `${d.value}px`,
|
|
2558
|
+
lineHeight: `${d.value}px`,
|
|
2559
2559
|
background: "transparent",
|
|
2560
|
-
marginTop:
|
|
2560
|
+
marginTop: g.value ? `-${d.value}px` : void 0
|
|
2561
2561
|
}
|
|
2562
|
-
}, null), n(
|
|
2562
|
+
}, null), n(_t, {
|
|
2563
2563
|
class: w.value,
|
|
2564
2564
|
style: {
|
|
2565
|
-
height: `${
|
|
2566
|
-
lineHeight: `${
|
|
2565
|
+
height: `${d.value}px`,
|
|
2566
|
+
lineHeight: `${d.value}px`,
|
|
2567
2567
|
width: I.value,
|
|
2568
|
-
zIndex:
|
|
2568
|
+
zIndex: p.value ? 100 : 101,
|
|
2569
2569
|
right: B.value,
|
|
2570
|
-
marginTop:
|
|
2570
|
+
marginTop: g.value ? `-${d.value}px` : void 0
|
|
2571
2571
|
}
|
|
2572
2572
|
}, Jo(O = k()) ? O : {
|
|
2573
2573
|
default: () => [O]
|
|
2574
2574
|
})]));
|
|
2575
2575
|
};
|
|
2576
2576
|
}
|
|
2577
|
-
}),
|
|
2577
|
+
}), Vt = /* @__PURE__ */ j({
|
|
2578
2578
|
name: "SiderMenuWrapper",
|
|
2579
2579
|
inheritAttrs: !1,
|
|
2580
2580
|
props: {
|
|
@@ -2604,13 +2604,13 @@ const {
|
|
|
2604
2604
|
flexDirection: "row"
|
|
2605
2605
|
}
|
|
2606
2606
|
}, {
|
|
2607
|
-
default: () => [n(
|
|
2607
|
+
default: () => [n(Ut, te(e, {
|
|
2608
2608
|
collapsed: e.isMobile ? !1 : e.collapsed
|
|
2609
2609
|
}), null)]
|
|
2610
|
-
}) : n(
|
|
2610
|
+
}) : n(Ut, e, null)]);
|
|
2611
2611
|
}
|
|
2612
2612
|
});
|
|
2613
|
-
function
|
|
2613
|
+
function Pt(e, { change: t }) {
|
|
2614
2614
|
const { system: a } = ea(), [o, i, l] = De("system", {
|
|
2615
2615
|
value: R(() => Xe(e.value) ? e.value : "system"),
|
|
2616
2616
|
onChange: (r) => {
|
|
@@ -2636,12 +2636,12 @@ function On({ event: e, isDark: t, value: a, toggle: o }) {
|
|
|
2636
2636
|
document.startViewTransition(async () => {
|
|
2637
2637
|
o == null || o(ae(a) || a === "system" ? a : !(t != null && t.value)), await xt();
|
|
2638
2638
|
}).ready.then(() => {
|
|
2639
|
-
const
|
|
2639
|
+
const g = [
|
|
2640
2640
|
`circle(0px at ${l}px ${s}px)`,
|
|
2641
2641
|
`circle(${r}px at ${l}px ${s}px)`
|
|
2642
2642
|
];
|
|
2643
2643
|
document.documentElement.animate({
|
|
2644
|
-
clipPath: t != null && t.value ? [...
|
|
2644
|
+
clipPath: t != null && t.value ? [...g].reverse() : g
|
|
2645
2645
|
}, {
|
|
2646
2646
|
duration: 450,
|
|
2647
2647
|
easing: "ease-in",
|
|
@@ -2672,45 +2672,45 @@ html[data-theme="dark"]::view-transition-new(root) {
|
|
|
2672
2672
|
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) => {
|
|
2673
2673
|
var t = (a = (a = document.getElementsByTagName("script"))[a.length - 1]).getAttribute("data-injectcss"), a = a.getAttribute("data-disable-injectsvg");
|
|
2674
2674
|
if (!a) {
|
|
2675
|
-
var o, i, l, s, r,
|
|
2676
|
-
|
|
2675
|
+
var o, i, l, s, r, h = function(d, y) {
|
|
2676
|
+
y.parentNode.insertBefore(d, y);
|
|
2677
2677
|
};
|
|
2678
2678
|
if (t && !e.__iconfont__svg__cssinject__) {
|
|
2679
2679
|
e.__iconfont__svg__cssinject__ = !0;
|
|
2680
2680
|
try {
|
|
2681
2681
|
document.write("<style>.svgfont {display: inline-block;width: 1em;height: 1em;fill: currentColor;vertical-align: -0.1em;font-size:16px;}</style>");
|
|
2682
|
-
} catch (
|
|
2683
|
-
console && console.log(
|
|
2682
|
+
} catch (d) {
|
|
2683
|
+
console && console.log(d);
|
|
2684
2684
|
}
|
|
2685
2685
|
}
|
|
2686
2686
|
o = function() {
|
|
2687
|
-
var
|
|
2688
|
-
|
|
2687
|
+
var d, y = document.createElement("div");
|
|
2688
|
+
y.innerHTML = e._iconfont_svg_string_4694134, (y = y.getElementsByTagName("svg")[0]) && (y.setAttribute("aria-hidden", "true"), y.style.position = "absolute", y.style.width = 0, y.style.height = 0, y.style.overflow = "hidden", y = y, (d = document.body).firstChild ? h(y, d.firstChild) : d.appendChild(y));
|
|
2689
2689
|
}, document.addEventListener ? ~["complete", "loaded", "interactive"].indexOf(document.readyState) ? setTimeout(o, 0) : (i = function() {
|
|
2690
2690
|
document.removeEventListener("DOMContentLoaded", i, !1), o();
|
|
2691
|
-
}, document.addEventListener("DOMContentLoaded", i, !1)) : document.attachEvent && (l = o, s = e.document, r = !1,
|
|
2692
|
-
s.readyState == "complete" && (s.onreadystatechange = null,
|
|
2691
|
+
}, document.addEventListener("DOMContentLoaded", i, !1)) : document.attachEvent && (l = o, s = e.document, r = !1, f(), s.onreadystatechange = function() {
|
|
2692
|
+
s.readyState == "complete" && (s.onreadystatechange = null, g());
|
|
2693
2693
|
});
|
|
2694
2694
|
}
|
|
2695
|
-
function
|
|
2695
|
+
function g() {
|
|
2696
2696
|
r || (r = !0, l());
|
|
2697
2697
|
}
|
|
2698
|
-
function
|
|
2698
|
+
function f() {
|
|
2699
2699
|
try {
|
|
2700
2700
|
s.documentElement.doScroll("left");
|
|
2701
2701
|
} catch {
|
|
2702
|
-
return void setTimeout(
|
|
2702
|
+
return void setTimeout(f, 50);
|
|
2703
2703
|
}
|
|
2704
|
-
|
|
2704
|
+
g();
|
|
2705
2705
|
}
|
|
2706
2706
|
})(window);
|
|
2707
2707
|
const ti = /* @__PURE__ */ j({
|
|
2708
2708
|
name: "BaseProLayout",
|
|
2709
2709
|
inheritAttrs: !1,
|
|
2710
2710
|
components: {
|
|
2711
|
-
GlobalHeader:
|
|
2712
|
-
GlobalFooter:
|
|
2713
|
-
SiderMenuWrapper:
|
|
2711
|
+
GlobalHeader: Xt,
|
|
2712
|
+
GlobalFooter: Kt,
|
|
2713
|
+
SiderMenuWrapper: Vt
|
|
2714
2714
|
},
|
|
2715
2715
|
props: {
|
|
2716
2716
|
...He,
|
|
@@ -2733,29 +2733,29 @@ const ti = /* @__PURE__ */ j({
|
|
|
2733
2733
|
} = fe("ProLayout", [oo, io], a), l = an(), {
|
|
2734
2734
|
token: s,
|
|
2735
2735
|
dark: r
|
|
2736
|
-
} = Oe(),
|
|
2736
|
+
} = Oe(), h = me(bt().uuid(10)), g = me(!1), f = me(!1), d = me(!1), y = ve({
|
|
2737
2737
|
position: "relative"
|
|
2738
|
-
}),
|
|
2738
|
+
}), b = R(() => {
|
|
2739
2739
|
var B;
|
|
2740
2740
|
return (B = s == null ? void 0 : s.value) == null ? void 0 : B.colorPrimary;
|
|
2741
2741
|
});
|
|
2742
2742
|
Kn(() => {
|
|
2743
2743
|
const B = document.querySelector("html");
|
|
2744
|
-
B && (
|
|
2744
|
+
B && (b.value && B.style.setProperty("--gx-primary-color", b.value), B.setAttribute("data-theme", r.value ? "dark" : "light"));
|
|
2745
2745
|
});
|
|
2746
|
-
const u = R(() => e.layout === "mix" || e.layout === "side" || e.layout === "wide" || !1),
|
|
2746
|
+
const u = R(() => e.layout === "mix" || e.layout === "side" || e.layout === "wide" || !1), v = R(() => {
|
|
2747
2747
|
var B;
|
|
2748
|
-
return e.levelMenuData && ((B = e.levelMenuData) != null && B.length) ? e.levelMenuData :
|
|
2749
|
-
}),
|
|
2748
|
+
return e.levelMenuData && ((B = e.levelMenuData) != null && B.length) ? e.levelMenuData : Mt(e.menuData);
|
|
2749
|
+
}), p = R(() => e.layout === "wide"), c = R(() => ({
|
|
2750
2750
|
key: on(r.value, e.theme),
|
|
2751
2751
|
theme: r.value ? "dark" : e.theme
|
|
2752
|
-
})),
|
|
2752
|
+
})), C = R(() => (l.value === "sm" || l.value === "xs") && !e.disableMobile && !p.value), m = R(() => ({
|
|
2753
2753
|
...e.breadcrumb || {},
|
|
2754
2754
|
itemRender: re(t, e, "pageContainerProps:breadcrumbRender")
|
|
2755
|
-
})), w = R(() => u.value && e.selectedKeys ? Ao(e.menuData, e.selectedKeys[0]) : []), z = R(() => Ue(e.headerHeight) ? e.headerHeight : Z.headerHeight), $ = yt(() =>
|
|
2755
|
+
})), w = R(() => u.value && e.selectedKeys ? Ao(e.menuData, e.selectedKeys[0]) : []), z = R(() => Ue(e.headerHeight) ? e.headerHeight : Z.headerHeight), $ = yt(() => d.value ? 0 : Ue(e.siderWidth) ? e.siderWidth : e.layout === "mix" ? 215 : e.layout === "wide" ? 208 : 256, [() => e.layout, () => e.siderWidth, () => d.value]);
|
|
2756
2756
|
ne([() => e.layout, () => e.theme], ([B]) => {
|
|
2757
|
-
(B === "wide" || B === "simple") && (
|
|
2758
|
-
}), ne(() =>
|
|
2757
|
+
(B === "wide" || B === "simple") && (d.value = !1), h.value = bt().uuid(10);
|
|
2758
|
+
}), ne(() => p.value, (B) => {
|
|
2759
2759
|
if (B) {
|
|
2760
2760
|
const k = document.querySelector('meta[name="viewport"]');
|
|
2761
2761
|
k && (k.content = "");
|
|
@@ -2763,12 +2763,12 @@ const ti = /* @__PURE__ */ j({
|
|
|
2763
2763
|
}, {
|
|
2764
2764
|
immediate: !0
|
|
2765
2765
|
}), ne([() => e.contentStyle, () => e.isChildrenLayout], () => {
|
|
2766
|
-
(e.isChildrenLayout || e.contentStyle && e.contentStyle.minHeight) && (
|
|
2766
|
+
(e.isChildrenLayout || e.contentStyle && e.contentStyle.minHeight) && (y.minHeight = 0);
|
|
2767
2767
|
}, {
|
|
2768
2768
|
immediate: !0,
|
|
2769
2769
|
deep: !0
|
|
2770
2770
|
});
|
|
2771
|
-
const I = (B, k) => B.headerRender === !1 || B.pure ? null : n(
|
|
2771
|
+
const I = (B, k) => B.headerRender === !1 || B.pure ? null : n(Xt, te($e(B, "headerHeight"), {
|
|
2772
2772
|
headerHeight: z.value,
|
|
2773
2773
|
matchMenuKeys: k || []
|
|
2774
2774
|
}), null);
|
|
@@ -2776,17 +2776,17 @@ const ti = /* @__PURE__ */ j({
|
|
|
2776
2776
|
...oe(tt(e), to),
|
|
2777
2777
|
getPrefixCls: ie,
|
|
2778
2778
|
menuState: c,
|
|
2779
|
-
lockOpen:
|
|
2780
|
-
settingsOpen:
|
|
2781
|
-
contentFullScreen:
|
|
2782
|
-
hasContentWide:
|
|
2783
|
-
isMobile:
|
|
2779
|
+
lockOpen: g,
|
|
2780
|
+
settingsOpen: f,
|
|
2781
|
+
contentFullScreen: d,
|
|
2782
|
+
hasContentWide: p,
|
|
2783
|
+
isMobile: C,
|
|
2784
2784
|
siderWidth: $,
|
|
2785
2785
|
headerHeight: z,
|
|
2786
|
-
breadcrumb:
|
|
2786
|
+
breadcrumb: m,
|
|
2787
2787
|
flatMenuData: w,
|
|
2788
2788
|
hasSide: u,
|
|
2789
|
-
levelMenuData:
|
|
2789
|
+
levelMenuData: v,
|
|
2790
2790
|
onDarkChange: e.onDarkChange,
|
|
2791
2791
|
pageHeaderRender: R(() => Me(t, e, "pageContainerProps:pageHeaderRender"))
|
|
2792
2792
|
}), () => {
|
|
@@ -2799,15 +2799,15 @@ const ti = /* @__PURE__ */ j({
|
|
|
2799
2799
|
menuItemRender: he,
|
|
2800
2800
|
subMenuItemRender: P,
|
|
2801
2801
|
hasSiderMenu: u.value,
|
|
2802
|
-
isMobile:
|
|
2802
|
+
isMobile: C.value,
|
|
2803
2803
|
rightContentRender: _,
|
|
2804
2804
|
logoContentRender: L,
|
|
2805
2805
|
headerContentRender: U,
|
|
2806
2806
|
headerRender: T
|
|
2807
|
-
}, e.matchMenuKeys), ye =
|
|
2807
|
+
}, e.matchMenuKeys), ye = p.value ? {
|
|
2808
2808
|
minHeight: "835px",
|
|
2809
2809
|
marginInlineStart: $.value === 0 ? 0 : void 0
|
|
2810
|
-
} : {}, H = O === !1 ? null : O ? typeof O == "function" ? O(e) : O : n(
|
|
2810
|
+
} : {}, H = O === !1 ? null : O ? typeof O == "function" ? O(e) : O : n(Kt, {
|
|
2811
2811
|
copyright: B.copyrightRender,
|
|
2812
2812
|
links: e.footerLinks
|
|
2813
2813
|
}, null);
|
|
@@ -2817,29 +2817,29 @@ const ti = /* @__PURE__ */ j({
|
|
|
2817
2817
|
[`${a}`]: !0,
|
|
2818
2818
|
[`${a}-${e.layout}`]: !0
|
|
2819
2819
|
}),
|
|
2820
|
-
style:
|
|
2820
|
+
style: p.value ? {
|
|
2821
2821
|
minWidth: Ae(e.wideWidth),
|
|
2822
2822
|
...e.style
|
|
2823
2823
|
} : e.style
|
|
2824
2824
|
}, [n(We, {
|
|
2825
|
-
style:
|
|
2825
|
+
style: p.value ? {
|
|
2826
2826
|
width: Ae(e.wideWidth),
|
|
2827
2827
|
paddingTop: `${z.value + 20}px`,
|
|
2828
|
-
margin:
|
|
2828
|
+
margin: p.value ? "0 auto" : void 0
|
|
2829
2829
|
} : void 0
|
|
2830
2830
|
}, {
|
|
2831
|
-
default: () => [$.value > 0 && n(
|
|
2831
|
+
default: () => [$.value > 0 && n(Vt, te(e, {
|
|
2832
2832
|
siderWidth: $.value,
|
|
2833
|
-
isMobile:
|
|
2833
|
+
isMobile: C.value,
|
|
2834
2834
|
menuHeaderRender: de,
|
|
2835
2835
|
logoContentRender: L,
|
|
2836
2836
|
menuFooterRender: F,
|
|
2837
2837
|
menuContentRender: E,
|
|
2838
2838
|
collapsedButtonRender: k
|
|
2839
2839
|
}, oe(B, gn)), null), n(We, {
|
|
2840
|
-
style:
|
|
2840
|
+
style: y
|
|
2841
2841
|
}, {
|
|
2842
|
-
default: () => [e.layout !== "simple" && z.value > 0 && ee, n(
|
|
2842
|
+
default: () => [e.layout !== "simple" && z.value > 0 && ee, n(Ft, te(oe(e, ro), {
|
|
2843
2843
|
hashId: i.value,
|
|
2844
2844
|
prefixCls: a,
|
|
2845
2845
|
siderWidth: $.value,
|
|
@@ -2876,35 +2876,35 @@ const ti = /* @__PURE__ */ j({
|
|
|
2876
2876
|
isDark: i,
|
|
2877
2877
|
innerDark: l,
|
|
2878
2878
|
toggleMode: s
|
|
2879
|
-
} =
|
|
2880
|
-
change: (
|
|
2881
|
-
var
|
|
2882
|
-
(
|
|
2879
|
+
} = Pt(R(() => e.dark), {
|
|
2880
|
+
change: (y) => {
|
|
2881
|
+
var b, u;
|
|
2882
|
+
(b = e.onDarkChange) == null || b.call(e, y), (u = e == null ? void 0 : e["onUpdate:dark"]) == null || u.call(e, y);
|
|
2883
2883
|
}
|
|
2884
2884
|
}), r = R(() => {
|
|
2885
|
-
var
|
|
2886
|
-
let
|
|
2887
|
-
return (u = (
|
|
2885
|
+
var b, u;
|
|
2886
|
+
let y = e.token || {};
|
|
2887
|
+
return (u = (b = y.layout) == null ? void 0 : b.header) != null && u.heightLayoutHeader || (y = be(y, {
|
|
2888
2888
|
layout: {
|
|
2889
2889
|
header: {
|
|
2890
2890
|
heightLayoutHeader: e.headerHeight
|
|
2891
2891
|
}
|
|
2892
2892
|
}
|
|
2893
|
-
})), be(
|
|
2893
|
+
})), be(y, {
|
|
2894
2894
|
layout: {
|
|
2895
2895
|
key: `${on(i.value, e.theme)}:${e.layout}`
|
|
2896
2896
|
}
|
|
2897
2897
|
});
|
|
2898
|
-
}),
|
|
2899
|
-
a("update:collapsed",
|
|
2900
|
-
},
|
|
2901
|
-
a("update:open-keys",
|
|
2902
|
-
},
|
|
2903
|
-
a("update:selected-keys",
|
|
2904
|
-
},
|
|
2905
|
-
a("update:tabs",
|
|
2898
|
+
}), h = (y) => {
|
|
2899
|
+
a("update:collapsed", y), a("collapse", y);
|
|
2900
|
+
}, g = (y) => {
|
|
2901
|
+
a("update:open-keys", y), a("openKeys", y);
|
|
2902
|
+
}, f = (y) => {
|
|
2903
|
+
a("update:selected-keys", y), a("select", y);
|
|
2904
|
+
}, d = (y) => {
|
|
2905
|
+
a("update:tabs", y), a("tabsChange", y);
|
|
2906
2906
|
};
|
|
2907
|
-
return () => n(
|
|
2907
|
+
return () => n(Rt, {
|
|
2908
2908
|
theme: e.primaryColor ? {
|
|
2909
2909
|
token: {
|
|
2910
2910
|
colorPrimary: e.primaryColor
|
|
@@ -2919,24 +2919,24 @@ const ti = /* @__PURE__ */ j({
|
|
|
2919
2919
|
style: o.style
|
|
2920
2920
|
}, $e(e, ["onSelect", "onOpenKeys", "onCollapse", "onTabsChange", "onDarkChange", "dark"]), {
|
|
2921
2921
|
dark: l.value,
|
|
2922
|
-
onSelect:
|
|
2923
|
-
onOpenKeys:
|
|
2924
|
-
onCollapse:
|
|
2925
|
-
onTabsChange:
|
|
2922
|
+
onSelect: f,
|
|
2923
|
+
onOpenKeys: g,
|
|
2924
|
+
onCollapse: h,
|
|
2925
|
+
onTabsChange: d,
|
|
2926
2926
|
onDarkChange: s
|
|
2927
2927
|
}), t)]
|
|
2928
2928
|
})]
|
|
2929
2929
|
});
|
|
2930
2930
|
}
|
|
2931
|
-
}),
|
|
2931
|
+
}), Nt = {
|
|
2932
2932
|
dataSource: {
|
|
2933
2933
|
type: Array,
|
|
2934
2934
|
default: () => []
|
|
2935
2935
|
},
|
|
2936
2936
|
historyKey: String
|
|
2937
2937
|
}, Fn = () => ({
|
|
2938
|
-
...
|
|
2939
|
-
...
|
|
2938
|
+
...Ot,
|
|
2939
|
+
...Nt,
|
|
2940
2940
|
actions: {
|
|
2941
2941
|
type: Object,
|
|
2942
2942
|
default: () => ({
|
|
@@ -3002,7 +3002,7 @@ const ti = /* @__PURE__ */ j({
|
|
|
3002
3002
|
disabeld: !1
|
|
3003
3003
|
})
|
|
3004
3004
|
}
|
|
3005
|
-
}, oi = new
|
|
3005
|
+
}, oi = new S("fadeIn", {
|
|
3006
3006
|
from: {
|
|
3007
3007
|
opacity: 0
|
|
3008
3008
|
},
|
|
@@ -3146,17 +3146,17 @@ const Pn = /* @__PURE__ */ j({
|
|
|
3146
3146
|
validate: i,
|
|
3147
3147
|
validateInfos: l,
|
|
3148
3148
|
resetFields: s
|
|
3149
|
-
} = li(e.validator), r = (
|
|
3150
|
-
Object.assign(o,
|
|
3151
|
-
},
|
|
3152
|
-
const
|
|
3153
|
-
return Q(
|
|
3154
|
-
},
|
|
3149
|
+
} = li(e.validator), r = (f) => {
|
|
3150
|
+
Object.assign(o, f);
|
|
3151
|
+
}, h = (f = "", d) => {
|
|
3152
|
+
const y = f ? `${e.className}-${f}` : e.className;
|
|
3153
|
+
return Q(y, e.hashId, "");
|
|
3154
|
+
}, g = () => {
|
|
3155
3155
|
i().then(() => {
|
|
3156
|
-
var
|
|
3157
|
-
(
|
|
3158
|
-
}).catch((
|
|
3159
|
-
console.log(
|
|
3156
|
+
var f;
|
|
3157
|
+
(f = e.onSubmit) == null || f.call(e, o);
|
|
3158
|
+
}).catch((f) => {
|
|
3159
|
+
console.log(f);
|
|
3160
3160
|
});
|
|
3161
3161
|
};
|
|
3162
3162
|
return t({
|
|
@@ -3164,35 +3164,35 @@ const Pn = /* @__PURE__ */ j({
|
|
|
3164
3164
|
resetFields: s,
|
|
3165
3165
|
merageFormState: r
|
|
3166
3166
|
}), () => {
|
|
3167
|
-
var
|
|
3167
|
+
var f;
|
|
3168
3168
|
return n("div", {
|
|
3169
|
-
class:
|
|
3169
|
+
class: h("user-form")
|
|
3170
3170
|
}, [n("div", {
|
|
3171
|
-
class:
|
|
3171
|
+
class: h("user-info")
|
|
3172
3172
|
}, [n(Jt, {
|
|
3173
3173
|
size: e.avatarSize,
|
|
3174
3174
|
icon: n(sn, null, null),
|
|
3175
3175
|
src: e.avatar
|
|
3176
3176
|
}, null), e.name && n("div", {
|
|
3177
|
-
class:
|
|
3178
|
-
}, [e.name])]), n(
|
|
3179
|
-
default: () => [n(
|
|
3177
|
+
class: h("user-name")
|
|
3178
|
+
}, [e.name])]), n(zt, null, {
|
|
3179
|
+
default: () => [n(zt.Item, l.password, {
|
|
3180
3180
|
default: () => [n(en.Password, {
|
|
3181
3181
|
value: o.password,
|
|
3182
3182
|
placeholder: "请输入锁屏密码",
|
|
3183
|
-
onChange: (
|
|
3183
|
+
onChange: (d) => o.password = d.target.value
|
|
3184
3184
|
}, null)]
|
|
3185
3185
|
})]
|
|
3186
3186
|
}), n(Ze, {
|
|
3187
3187
|
block: !0,
|
|
3188
3188
|
type: "primary",
|
|
3189
|
-
onClick: () =>
|
|
3189
|
+
onClick: () => g(),
|
|
3190
3190
|
style: {
|
|
3191
3191
|
marginBlockStart: "24px"
|
|
3192
3192
|
}
|
|
3193
3193
|
}, {
|
|
3194
3194
|
default: () => [e.submitText]
|
|
3195
|
-
}), (
|
|
3195
|
+
}), (f = a.default) == null ? void 0 : f.call(a)]);
|
|
3196
3196
|
};
|
|
3197
3197
|
}
|
|
3198
3198
|
});
|
|
@@ -3222,9 +3222,9 @@ const si = /* @__PURE__ */ j({
|
|
|
3222
3222
|
const [t, a] = De(!1, {
|
|
3223
3223
|
value: R(() => ae(e.open) ? e.open : !1),
|
|
3224
3224
|
onChange: e.onOpenChange
|
|
3225
|
-
}), [o, i] = pe(!1), l = ri(), s = (r = "",
|
|
3226
|
-
const
|
|
3227
|
-
return Q(
|
|
3225
|
+
}), [o, i] = pe(!1), l = ri(), s = (r = "", h) => {
|
|
3226
|
+
const g = r ? `${e.className}-popup-${r}` : `${e.className}-popup`;
|
|
3227
|
+
return Q(g, e.hashId, h || "");
|
|
3228
3228
|
};
|
|
3229
3229
|
return () => t.value ? n("div", {
|
|
3230
3230
|
class: s()
|
|
@@ -3237,8 +3237,8 @@ const si = /* @__PURE__ */ j({
|
|
|
3237
3237
|
hashId: e.hashId,
|
|
3238
3238
|
className: e.className,
|
|
3239
3239
|
validator: (r) => {
|
|
3240
|
-
var
|
|
3241
|
-
return ((
|
|
3240
|
+
var h;
|
|
3241
|
+
return ((h = e.cryptoFn) == null ? void 0 : h.call(e, r)) === e.password;
|
|
3242
3242
|
},
|
|
3243
3243
|
onSubmit: () => a(!1)
|
|
3244
3244
|
}, {
|
|
@@ -3297,55 +3297,55 @@ const si = /* @__PURE__ */ j({
|
|
|
3297
3297
|
} = fe("ProPageLock", [ii], t), l = at(t, {
|
|
3298
3298
|
open: !1,
|
|
3299
3299
|
password: ""
|
|
3300
|
-
}), [s, r,
|
|
3300
|
+
}), [s, r, h] = De(!1, {
|
|
3301
3301
|
value: R(() => {
|
|
3302
|
-
var
|
|
3303
|
-
return ae(e.open) ? e.open : (
|
|
3302
|
+
var m;
|
|
3303
|
+
return ae(e.open) ? e.open : (m = a == null ? void 0 : a.lockOpen) == null ? void 0 : m.value;
|
|
3304
3304
|
}),
|
|
3305
|
-
onChange: (
|
|
3305
|
+
onChange: (m) => {
|
|
3306
3306
|
var w, z;
|
|
3307
|
-
(w = e.onOpenChange) == null || w.call(e,
|
|
3307
|
+
(w = e.onOpenChange) == null || w.call(e, m), (z = e["onUpdate:open"]) == null || z.call(e, m), a && (a.lockOpen.value = m);
|
|
3308
3308
|
}
|
|
3309
|
-
}), [
|
|
3310
|
-
function
|
|
3311
|
-
return e.cryptoFn ? e.cryptoFn(
|
|
3309
|
+
}), [g, f] = pe(!1), d = me();
|
|
3310
|
+
function y(m) {
|
|
3311
|
+
return e.cryptoFn ? e.cryptoFn(m) : m;
|
|
3312
3312
|
}
|
|
3313
|
-
function
|
|
3314
|
-
l.value.open =
|
|
3313
|
+
function b(m) {
|
|
3314
|
+
l.value.open = g.value, l.value.password = y(m);
|
|
3315
3315
|
}
|
|
3316
|
-
const u = R(() => e.shortsKey),
|
|
3317
|
-
gt(
|
|
3318
|
-
var
|
|
3319
|
-
(
|
|
3320
|
-
}), ne(
|
|
3316
|
+
const u = R(() => e.shortsKey), v = R(() => l.value.open && !!l.value.password), p = nn();
|
|
3317
|
+
gt(p["Alt+KeyL"], () => {
|
|
3318
|
+
var m;
|
|
3319
|
+
(m = u.value) != null && m.disabeld || h.value || r(!0);
|
|
3320
|
+
}), ne(g, (m) => {
|
|
3321
3321
|
var w, z;
|
|
3322
|
-
|
|
3323
|
-
}),
|
|
3324
|
-
|
|
3322
|
+
b(m && (((z = (w = d.value) == null ? void 0 : w.formState) == null ? void 0 : z.password) || l.value.password) || "");
|
|
3323
|
+
}), St(() => {
|
|
3324
|
+
v.value ? f(!0) : b("");
|
|
3325
3325
|
});
|
|
3326
3326
|
const c = () => {
|
|
3327
|
-
r(!1),
|
|
3328
|
-
},
|
|
3329
|
-
var
|
|
3330
|
-
r(!1),
|
|
3327
|
+
r(!1), f(!0);
|
|
3328
|
+
}, C = () => {
|
|
3329
|
+
var m;
|
|
3330
|
+
r(!1), b(""), (m = d.value) == null || m.resetFields();
|
|
3331
3331
|
};
|
|
3332
3332
|
return () => o(n(J, null, [n(si, te(oe(e, ["name", "avatar"]), {
|
|
3333
|
-
open:
|
|
3333
|
+
open: g.value,
|
|
3334
3334
|
hashId: i.value,
|
|
3335
3335
|
className: t,
|
|
3336
3336
|
password: l.value.password,
|
|
3337
|
-
cryptoFn:
|
|
3338
|
-
onOpenChange:
|
|
3337
|
+
cryptoFn: y,
|
|
3338
|
+
onOpenChange: f
|
|
3339
3339
|
}), null), n(Ya, {
|
|
3340
3340
|
width: 400,
|
|
3341
3341
|
type: "normal",
|
|
3342
3342
|
title: "锁定屏幕",
|
|
3343
|
-
open:
|
|
3343
|
+
open: h.value,
|
|
3344
3344
|
footer: !1,
|
|
3345
|
-
onCancel:
|
|
3345
|
+
onCancel: C
|
|
3346
3346
|
}, {
|
|
3347
3347
|
default: () => [n(Pn, te({
|
|
3348
|
-
ref:
|
|
3348
|
+
ref: d
|
|
3349
3349
|
}, oe(e, ["name", "avatar"]), {
|
|
3350
3350
|
submitText: "锁定",
|
|
3351
3351
|
hashId: i.value,
|
|
@@ -3464,14 +3464,14 @@ function mi(e) {
|
|
|
3464
3464
|
const fi = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\", "]", "^", "{", "|", "}"]), hi = ({
|
|
3465
3465
|
className: e,
|
|
3466
3466
|
value: t
|
|
3467
|
-
}) => t ? n(
|
|
3468
|
-
image:
|
|
3467
|
+
}) => t ? n(Dt, {
|
|
3468
|
+
image: Dt.PRESENTED_IMAGE_SIMPLE,
|
|
3469
3469
|
description: `未找到搜索结果 "${t}"`
|
|
3470
3470
|
}, null) : n("div", {
|
|
3471
3471
|
class: e
|
|
3472
3472
|
}, [W("没有搜索历史")]), gi = /* @__PURE__ */ j({
|
|
3473
3473
|
props: {
|
|
3474
|
-
...
|
|
3474
|
+
...Nt,
|
|
3475
3475
|
className: String,
|
|
3476
3476
|
hashId: String,
|
|
3477
3477
|
keyword: String,
|
|
@@ -3487,12 +3487,12 @@ const fi = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
|
|
|
3487
3487
|
i.value = [];
|
|
3488
3488
|
return;
|
|
3489
3489
|
}
|
|
3490
|
-
const
|
|
3490
|
+
const C = d(c), m = [];
|
|
3491
3491
|
e.dataSource.forEach((w) => {
|
|
3492
3492
|
var $, I, B;
|
|
3493
3493
|
if (($ = w.meta) != null && $.hideInMenu) return;
|
|
3494
3494
|
const z = ((I = w.meta) == null ? void 0 : I.title) || w.name || "";
|
|
3495
|
-
if (
|
|
3495
|
+
if (C.test(z.toLowerCase())) {
|
|
3496
3496
|
let k = [];
|
|
3497
3497
|
const O = ((B = w == null ? void 0 : w.key) == null ? void 0 : B.split("-")) || [];
|
|
3498
3498
|
for (let T = 0; T < O.length; T++)
|
|
@@ -3500,13 +3500,13 @@ const fi = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
|
|
|
3500
3500
|
k = k.map((T) => {
|
|
3501
3501
|
var U, _;
|
|
3502
3502
|
return ((_ = (U = e.dataSource.find((X) => (X == null ? void 0 : X.key) === T)) == null ? void 0 : U.meta) == null ? void 0 : _.title) || "";
|
|
3503
|
-
}),
|
|
3503
|
+
}), m.push(be(w, {
|
|
3504
3504
|
meta: {
|
|
3505
3505
|
title: k.join("**")
|
|
3506
3506
|
}
|
|
3507
3507
|
}));
|
|
3508
3508
|
}
|
|
3509
|
-
}), i.value =
|
|
3509
|
+
}), i.value = m, m.length > 0 && (o.value = 0), o.value = 0;
|
|
3510
3510
|
}
|
|
3511
3511
|
ne(() => e.keyword, (c) => {
|
|
3512
3512
|
c ? l(c) : i.value = [...a.value];
|
|
@@ -3515,72 +3515,72 @@ const fi = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
|
|
|
3515
3515
|
var c;
|
|
3516
3516
|
i.value = [], (c = e.onClose) == null || c.call(e);
|
|
3517
3517
|
}
|
|
3518
|
-
function
|
|
3518
|
+
function h() {
|
|
3519
3519
|
const c = document.querySelector(`[data-search-item="${o.value}"]`);
|
|
3520
3520
|
c && c.scrollIntoView({
|
|
3521
3521
|
block: "nearest"
|
|
3522
3522
|
});
|
|
3523
3523
|
}
|
|
3524
|
-
async function
|
|
3524
|
+
async function g() {
|
|
3525
3525
|
if (i.value.length === 0)
|
|
3526
3526
|
return;
|
|
3527
|
-
const c = i.value,
|
|
3528
|
-
if (c.length === 0 ||
|
|
3527
|
+
const c = i.value, C = o.value;
|
|
3528
|
+
if (c.length === 0 || C < 0)
|
|
3529
3529
|
return;
|
|
3530
|
-
const
|
|
3531
|
-
|
|
3532
|
-
path:
|
|
3530
|
+
const m = c[C];
|
|
3531
|
+
m && (a.value.push(m), r(), await xt(), mi(m.path) ? window.open(m.path, "_blank") : t.push({
|
|
3532
|
+
path: m.path,
|
|
3533
3533
|
replace: !0
|
|
3534
3534
|
}));
|
|
3535
3535
|
}
|
|
3536
|
-
function
|
|
3536
|
+
function f(c) {
|
|
3537
3537
|
return fi.has(c) ? `\\${c}` : c;
|
|
3538
3538
|
}
|
|
3539
|
-
function
|
|
3540
|
-
const
|
|
3541
|
-
return new RegExp(`.*${
|
|
3542
|
-
}
|
|
3543
|
-
function S() {
|
|
3544
|
-
i.value.length !== 0 && (o.value--, o.value < 0 && (o.value = i.value.length - 1), g());
|
|
3539
|
+
function d(c) {
|
|
3540
|
+
const C = [...c].map((m) => f(m)).join(".*");
|
|
3541
|
+
return new RegExp(`.*${C}.*`);
|
|
3545
3542
|
}
|
|
3546
3543
|
function y() {
|
|
3547
|
-
i.value.length !== 0 && (o.value
|
|
3544
|
+
i.value.length !== 0 && (o.value--, o.value < 0 && (o.value = i.value.length - 1), h());
|
|
3548
3545
|
}
|
|
3549
|
-
|
|
3550
|
-
|
|
3546
|
+
function b() {
|
|
3547
|
+
i.value.length !== 0 && (o.value++, o.value > i.value.length - 1 && (o.value = 0), h());
|
|
3548
|
+
}
|
|
3549
|
+
St(() => {
|
|
3550
|
+
a.value.length > 0 && (i.value = a.value), ut("Enter", g), ut("ArrowUp", y), ut("ArrowDown", b);
|
|
3551
3551
|
});
|
|
3552
3552
|
function u(c) {
|
|
3553
3553
|
o.value = c;
|
|
3554
3554
|
}
|
|
3555
|
-
function
|
|
3556
|
-
c.stopPropagation(), e.keyword ? i.value.splice(
|
|
3555
|
+
function v(c, C) {
|
|
3556
|
+
c.stopPropagation(), e.keyword ? i.value.splice(C, 1) : a.value.splice(C, 1), o.value = o.value - 1 >= 0 ? o.value - 1 : 0, h();
|
|
3557
3557
|
}
|
|
3558
|
-
const
|
|
3558
|
+
const p = (c) => Q(`${e.className}${c ? `-${c}` : ""}`, e.hashId);
|
|
3559
3559
|
return () => n(J, null, [i.value.length > 0 ? n(J, null, [a.value.length > 0 && !e.keyword && n("div", {
|
|
3560
|
-
class:
|
|
3560
|
+
class: p("panel-title")
|
|
3561
3561
|
}, [W("搜索历史")]), n("div", {
|
|
3562
|
-
class:
|
|
3563
|
-
}, [di(i.value, "path").map((c,
|
|
3564
|
-
var
|
|
3562
|
+
class: p("panel-list")
|
|
3563
|
+
}, [di(i.value, "path").map((c, C) => {
|
|
3564
|
+
var m, w, z, $;
|
|
3565
3565
|
return n("div", {
|
|
3566
3566
|
key: c.name,
|
|
3567
|
-
class:
|
|
3568
|
-
"data-search-item":
|
|
3569
|
-
onClick: () =>
|
|
3570
|
-
onMouseenter: () => u(
|
|
3567
|
+
class: p(Q("panel-item", C === o.value && "active")),
|
|
3568
|
+
"data-search-item": C,
|
|
3569
|
+
onClick: () => g(),
|
|
3570
|
+
onMouseenter: () => u(C)
|
|
3571
3571
|
}, [n("div", {
|
|
3572
|
-
class:
|
|
3572
|
+
class: p("panel-item-left")
|
|
3573
3573
|
}, [n(et, te(c.meta || {}, {
|
|
3574
|
-
icon: ((
|
|
3575
|
-
classNames:
|
|
3574
|
+
icon: ((m = c.meta) == null ? void 0 : m.icon) || n(Da, null, null),
|
|
3575
|
+
classNames: p("panel-icon")
|
|
3576
3576
|
}), null), ($ = (z = (w = c.meta) == null ? void 0 : w.title) == null ? void 0 : z.split("**")) == null ? void 0 : $.map((I, B) => {
|
|
3577
3577
|
var k, O, T;
|
|
3578
3578
|
return n(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 && n(Aa, null, null)]);
|
|
3579
3579
|
}), n("span", null, null)]), n(lt, {
|
|
3580
|
-
onClick: (I) =>
|
|
3580
|
+
onClick: (I) => v(I, C)
|
|
3581
3581
|
}, null)]);
|
|
3582
3582
|
})])]) : n(hi, {
|
|
3583
|
-
className:
|
|
3583
|
+
className: p("result"),
|
|
3584
3584
|
value: e.keyword
|
|
3585
3585
|
}, null)]);
|
|
3586
3586
|
}
|
|
@@ -3593,12 +3593,12 @@ const fi = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
|
|
|
3593
3593
|
class: Q(`${e}-footer-icon`, t)
|
|
3594
3594
|
}, [n(Ha, null, null), W("选择")]), n("div", {
|
|
3595
3595
|
class: Q(`${e}-footer-icon`, t)
|
|
3596
|
-
}, [n(
|
|
3596
|
+
}, [n(jt, null, null), n(jt, {
|
|
3597
3597
|
rotate: 180
|
|
3598
3598
|
}, null), W("导航")])]), bi = /* @__PURE__ */ j({
|
|
3599
3599
|
name: "SearchPageInput",
|
|
3600
3600
|
props: {
|
|
3601
|
-
...
|
|
3601
|
+
...Nt,
|
|
3602
3602
|
dark: {
|
|
3603
3603
|
type: Boolean,
|
|
3604
3604
|
default: void 0
|
|
@@ -3615,35 +3615,35 @@ const fi = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
|
|
|
3615
3615
|
}), {
|
|
3616
3616
|
wrapSSR: a,
|
|
3617
3617
|
hashId: o
|
|
3618
|
-
} = ui(t), [i, l] = pe(""), [s, r] = pe(!1),
|
|
3618
|
+
} = ui(t), [i, l] = pe(""), [s, r] = pe(!1), h = le(), g = nn(), f = ma() ? g["ctrl+k"] : g["cmd+k"], d = me(), y = R(() => {
|
|
3619
3619
|
var u;
|
|
3620
|
-
return
|
|
3620
|
+
return Mt(e.dataSource || ((u = h == null ? void 0 : h.menuData) == null ? void 0 : u.value));
|
|
3621
3621
|
});
|
|
3622
|
-
gt(
|
|
3622
|
+
gt(f, () => {
|
|
3623
3623
|
e.disabeldShortKey || r(!0);
|
|
3624
3624
|
}), gt(s, () => {
|
|
3625
3625
|
xt(() => {
|
|
3626
3626
|
var u;
|
|
3627
|
-
(u =
|
|
3627
|
+
(u = d.value) == null || u.focus();
|
|
3628
3628
|
});
|
|
3629
3629
|
});
|
|
3630
|
-
const
|
|
3630
|
+
const b = () => {
|
|
3631
3631
|
r(!1), i.value = "";
|
|
3632
3632
|
};
|
|
3633
3633
|
return () => {
|
|
3634
3634
|
const u = {
|
|
3635
3635
|
className: `${t}`,
|
|
3636
3636
|
hashId: o.value
|
|
3637
|
-
},
|
|
3637
|
+
}, v = `${t}-modal`;
|
|
3638
3638
|
return a(n(J, null, [n("div", {
|
|
3639
3639
|
class: Q(t, o.value),
|
|
3640
3640
|
onClick: () => r(!0)
|
|
3641
|
-
}, [n(
|
|
3641
|
+
}, [n(Ht, null, null), n("span", {
|
|
3642
3642
|
class: Q(`${t}-word`, o.value)
|
|
3643
3643
|
}, [W("搜索")]), n("span", {
|
|
3644
3644
|
class: Q(`${t}-word-icon`, o.value)
|
|
3645
3645
|
}, [W("⌘ "), n("kbd", null, [W("K")])])]), n(Ga, {
|
|
3646
|
-
class: Q(`${
|
|
3646
|
+
class: Q(`${v}`, o.value),
|
|
3647
3647
|
width: 600,
|
|
3648
3648
|
scrollProps: {
|
|
3649
3649
|
maxHeight: 400,
|
|
@@ -3655,25 +3655,25 @@ const fi = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
|
|
|
3655
3655
|
width: `${600 * 0.8}px`,
|
|
3656
3656
|
padding: 0
|
|
3657
3657
|
},
|
|
3658
|
-
ref:
|
|
3658
|
+
ref: d,
|
|
3659
3659
|
bordered: !1,
|
|
3660
3660
|
size: "large",
|
|
3661
3661
|
placeholder: "搜索导航菜单",
|
|
3662
3662
|
value: i.value,
|
|
3663
|
-
prefix: n(
|
|
3664
|
-
onChange: (
|
|
3663
|
+
prefix: n(Ht, null, null),
|
|
3664
|
+
onChange: (p) => l(p.target.value)
|
|
3665
3665
|
}, null),
|
|
3666
3666
|
open: s.value,
|
|
3667
3667
|
footer: n(yi, {
|
|
3668
|
-
className:
|
|
3668
|
+
className: v,
|
|
3669
3669
|
hashId: o.value
|
|
3670
3670
|
}, null),
|
|
3671
|
-
onCancel: () =>
|
|
3671
|
+
onCancel: () => b()
|
|
3672
3672
|
}, {
|
|
3673
3673
|
default: () => [n(gi, te(u, {
|
|
3674
3674
|
keyword: i.value,
|
|
3675
|
-
dataSource:
|
|
3676
|
-
onClose: () =>
|
|
3675
|
+
dataSource: y.value,
|
|
3676
|
+
onClose: () => b()
|
|
3677
3677
|
}), null)]
|
|
3678
3678
|
})]));
|
|
3679
3679
|
};
|
|
@@ -3764,13 +3764,13 @@ const as = /* @__PURE__ */ j({
|
|
|
3764
3764
|
} = aa(), i = Oe(), l = le(), s = an(), r = ie({
|
|
3765
3765
|
suffixCls: "global-header",
|
|
3766
3766
|
isPor: !0
|
|
3767
|
-
}), [
|
|
3768
|
-
wrapSSR:
|
|
3769
|
-
hashId:
|
|
3770
|
-
} = pi(r), [
|
|
3767
|
+
}), [h, g] = pe(!1), {
|
|
3768
|
+
wrapSSR: f,
|
|
3769
|
+
hashId: d
|
|
3770
|
+
} = pi(r), [y, b] = pe("auto"), {
|
|
3771
3771
|
isDark: u,
|
|
3772
|
-
toggleMode:
|
|
3773
|
-
} =
|
|
3772
|
+
toggleMode: v
|
|
3773
|
+
} = Pt(R(() => {
|
|
3774
3774
|
var I;
|
|
3775
3775
|
return Xe(e.dark) ? e.dark : (I = l == null ? void 0 : l.dark) == null ? void 0 : I.value;
|
|
3776
3776
|
}), {
|
|
@@ -3778,7 +3778,7 @@ const as = /* @__PURE__ */ j({
|
|
|
3778
3778
|
var B, k, O;
|
|
3779
3779
|
(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);
|
|
3780
3780
|
}
|
|
3781
|
-
}), [
|
|
3781
|
+
}), [p, c] = De(!1, {
|
|
3782
3782
|
value: R(() => {
|
|
3783
3783
|
var I;
|
|
3784
3784
|
return ae(e.settingsOpen) ? e.settingsOpen : (I = l == null ? void 0 : l.settingsOpen) == null ? void 0 : I.value;
|
|
@@ -3787,29 +3787,29 @@ const as = /* @__PURE__ */ j({
|
|
|
3787
3787
|
var B, k;
|
|
3788
3788
|
(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);
|
|
3789
3789
|
}
|
|
3790
|
-
}),
|
|
3790
|
+
}), C = R(() => {
|
|
3791
3791
|
var I, B;
|
|
3792
3792
|
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";
|
|
3793
|
-
}),
|
|
3793
|
+
}), m = R(() => {
|
|
3794
3794
|
var I;
|
|
3795
3795
|
return Xe(e.dark) ? u.value : (I = i == null ? void 0 : i.dark) == null ? void 0 : I.value;
|
|
3796
3796
|
}), w = oa(async (I) => {
|
|
3797
|
-
|
|
3797
|
+
b(I);
|
|
3798
3798
|
}, 160), z = (I) => {
|
|
3799
3799
|
On({
|
|
3800
3800
|
event: I,
|
|
3801
|
-
isDark:
|
|
3802
|
-
toggle:
|
|
3801
|
+
isDark: m,
|
|
3802
|
+
toggle: v
|
|
3803
3803
|
});
|
|
3804
3804
|
}, $ = () => {
|
|
3805
|
-
e != null && e.onLogout && (
|
|
3805
|
+
e != null && e.onLogout && (g(!0), e.onLogout(() => g(!1)));
|
|
3806
3806
|
};
|
|
3807
3807
|
return () => {
|
|
3808
3808
|
const I = Me(t, e, "dropdownMenuRender"), B = Me(t, e, "dropdownRender"), k = Me(t, e, "dropdownMenuExtraItemRender"), O = re(t, e, "actionsRender"), T = a.value ? ja : Ea;
|
|
3809
|
-
return
|
|
3810
|
-
class: `${r}-right-content ${
|
|
3809
|
+
return f(n("div", {
|
|
3810
|
+
class: `${r}-right-content ${d.value}`.trim(),
|
|
3811
3811
|
style: {
|
|
3812
|
-
minWidth:
|
|
3812
|
+
minWidth: y.value,
|
|
3813
3813
|
height: "100%"
|
|
3814
3814
|
}
|
|
3815
3815
|
}, [n("div", {
|
|
@@ -3827,27 +3827,27 @@ const as = /* @__PURE__ */ j({
|
|
|
3827
3827
|
default: () => {
|
|
3828
3828
|
var U;
|
|
3829
3829
|
return [n("div", {
|
|
3830
|
-
class: `${r}-header-actions ${
|
|
3831
|
-
}, [e.actions.search && !
|
|
3830
|
+
class: `${r}-header-actions ${d.value}`.trim()
|
|
3831
|
+
}, [e.actions.search && !C.value && n(bi, {
|
|
3832
3832
|
dataSource: e.dataSource,
|
|
3833
3833
|
disabeldShortKey: (U = e.shortsKey) == null ? void 0 : U.disabeld
|
|
3834
3834
|
}, null), e.actions.theme && n("div", {
|
|
3835
|
-
class: `${r}-header-actions-item ${
|
|
3835
|
+
class: `${r}-header-actions-item ${d.value}`.trim()
|
|
3836
3836
|
}, [n(_e, {
|
|
3837
|
-
class: `${r}-header-actions-icon ${
|
|
3838
|
-
name:
|
|
3837
|
+
class: `${r}-header-actions-icon ${d.value}`.trim(),
|
|
3838
|
+
name: m.value ? "liangse" : "anhei",
|
|
3839
3839
|
onClick: (_) => z(_)
|
|
3840
|
-
}, null)]), e.actions.settings && !
|
|
3841
|
-
class: `${r}-header-actions-item ${
|
|
3840
|
+
}, null)]), e.actions.settings && !C.value && n("div", {
|
|
3841
|
+
class: `${r}-header-actions-item ${d.value}`.trim()
|
|
3842
3842
|
}, [n(un, {
|
|
3843
|
-
onClick: () => c(!
|
|
3844
|
-
}, null)]), e.actions.fullScreen && !
|
|
3845
|
-
class: `${r}-header-actions-item ${
|
|
3843
|
+
onClick: () => c(!p.value)
|
|
3844
|
+
}, null)]), e.actions.fullScreen && !C.value && n("div", {
|
|
3845
|
+
class: `${r}-header-actions-item ${d.value}`.trim()
|
|
3846
3846
|
}, [n(T, {
|
|
3847
3847
|
onClick: () => o()
|
|
3848
|
-
}, null)]), O ? O == null ? void 0 : O([`${r}-header-actions-item`,
|
|
3848
|
+
}, null)]), O ? O == null ? void 0 : O([`${r}-header-actions-item`, d.value]) : null, n(ht, {
|
|
3849
3849
|
overlay: I || n(ge, null, {
|
|
3850
|
-
default: () => [k, e.actions.lock && n(J, null, [n(
|
|
3850
|
+
default: () => [k, e.actions.lock && n(J, null, [n(At, {
|
|
3851
3851
|
key: "lock",
|
|
3852
3852
|
icon: n(cn, null, null),
|
|
3853
3853
|
onClick: () => {
|
|
@@ -3856,24 +3856,24 @@ const as = /* @__PURE__ */ j({
|
|
|
3856
3856
|
}
|
|
3857
3857
|
}, {
|
|
3858
3858
|
default: () => [W("锁定屏幕")]
|
|
3859
|
-
}), n(ge.Divider, null, null)]), n(
|
|
3859
|
+
}), n(ge.Divider, null, null)]), n(At, {
|
|
3860
3860
|
key: "logout",
|
|
3861
3861
|
icon: n(Ka, null, null),
|
|
3862
3862
|
onClick: () => $(),
|
|
3863
|
-
disabled:
|
|
3863
|
+
disabled: h.value
|
|
3864
3864
|
}, {
|
|
3865
3865
|
default: () => [W("退出登录")]
|
|
3866
3866
|
})]
|
|
3867
3867
|
})
|
|
3868
3868
|
}, {
|
|
3869
3869
|
default: () => [B || n("div", {
|
|
3870
|
-
class: `${r}-header-actions-avatar ${
|
|
3870
|
+
class: `${r}-header-actions-avatar ${d.value}`.trim()
|
|
3871
3871
|
}, [n(Jt, {
|
|
3872
3872
|
size: 28,
|
|
3873
3873
|
icon: n(sn, null, null),
|
|
3874
3874
|
src: e.avatar
|
|
3875
3875
|
}, null), n("div", {
|
|
3876
|
-
class: `${r}-header-actions-name ${
|
|
3876
|
+
class: `${r}-header-actions-name ${d.value}`.trim()
|
|
3877
3877
|
}, [e.name || "gx12358"])])]
|
|
3878
3878
|
})])];
|
|
3879
3879
|
}
|
|
@@ -3905,22 +3905,22 @@ const as = /* @__PURE__ */ j({
|
|
|
3905
3905
|
wrapSSR: i,
|
|
3906
3906
|
hashId: l
|
|
3907
3907
|
} = fe("ProPageHeader", [Ci], o), s = R(() => {
|
|
3908
|
-
var
|
|
3909
|
-
const r = ((
|
|
3910
|
-
...
|
|
3911
|
-
path:
|
|
3912
|
-
link:
|
|
3908
|
+
var f;
|
|
3909
|
+
const r = ((f = t == null ? void 0 : t.breadcrumb) == null ? void 0 : f.value) || {}, h = r.routes || [], g = h.map((d, y) => ({
|
|
3910
|
+
...d,
|
|
3911
|
+
path: d.path && y !== h.length - 1 ? bt().uuid(10) : "",
|
|
3912
|
+
link: d.path
|
|
3913
3913
|
}));
|
|
3914
3914
|
return {
|
|
3915
3915
|
...r,
|
|
3916
|
-
routes:
|
|
3916
|
+
routes: g,
|
|
3917
3917
|
itemRender: (r == null ? void 0 : r.itemRender) || (({
|
|
3918
|
-
route:
|
|
3919
|
-
}) =>
|
|
3920
|
-
to:
|
|
3918
|
+
route: d
|
|
3919
|
+
}) => d.path ? n(Va, {
|
|
3920
|
+
to: d.link
|
|
3921
3921
|
}, {
|
|
3922
|
-
default: () => [
|
|
3923
|
-
}) :
|
|
3922
|
+
default: () => [d.breadcrumbName]
|
|
3923
|
+
}) : d.breadcrumbName)
|
|
3924
3924
|
};
|
|
3925
3925
|
});
|
|
3926
3926
|
return () => {
|
|
@@ -3993,49 +3993,49 @@ const os = /* @__PURE__ */ j({
|
|
|
3993
3993
|
slots: t,
|
|
3994
3994
|
attrs: a
|
|
3995
3995
|
}) {
|
|
3996
|
-
const o = le(), i =
|
|
3996
|
+
const o = le(), i = Lt(), l = Oe(), s = (o == null ? void 0 : o.getPrefixCls) || ie, r = s({
|
|
3997
3997
|
suffixCls: "page-container",
|
|
3998
3998
|
isPor: !0
|
|
3999
|
-
}),
|
|
3999
|
+
}), h = s({
|
|
4000
4000
|
suffixCls: "grid-content",
|
|
4001
4001
|
isPor: !0
|
|
4002
|
-
}),
|
|
4002
|
+
}), g = R(() => {
|
|
4003
4003
|
var $;
|
|
4004
4004
|
return (($ = o == null ? void 0 : o.pageContainerProps) == null ? void 0 : $.value) || {};
|
|
4005
|
-
}),
|
|
4006
|
-
var $;
|
|
4007
|
-
return e.pageCardProps || (($ = h.value) == null ? void 0 : $.pageCardProps);
|
|
4008
|
-
}), m = R(() => {
|
|
4005
|
+
}), f = R(() => {
|
|
4009
4006
|
var $;
|
|
4010
|
-
return e.
|
|
4011
|
-
}),
|
|
4007
|
+
return e.pageCardProps || (($ = g.value) == null ? void 0 : $.pageCardProps);
|
|
4008
|
+
}), d = R(() => {
|
|
4012
4009
|
var $;
|
|
4013
|
-
return e.
|
|
4010
|
+
return e.waterMarkProps || (($ = g.value) == null ? void 0 : $.waterMarkProps) || {};
|
|
4014
4011
|
}), y = R(() => {
|
|
4015
4012
|
var $;
|
|
4016
|
-
return e.
|
|
4013
|
+
return e.pageContentStyle || (($ = g.value) == null ? void 0 : $.pageContentStyle);
|
|
4014
|
+
}), b = R(() => {
|
|
4015
|
+
var $;
|
|
4016
|
+
return e.pageChildrenContentStyle || (($ = g.value) == null ? void 0 : $.pageChildrenContentStyle) || {};
|
|
4017
4017
|
}), u = R(() => {
|
|
4018
4018
|
var $;
|
|
4019
4019
|
return ($ = o == null ? void 0 : o.hasContentWide) == null ? void 0 : $.value;
|
|
4020
|
-
}),
|
|
4020
|
+
}), v = R(() => {
|
|
4021
4021
|
var $, I;
|
|
4022
|
-
return ae(e.usePageCard) ? e.usePageCard : ae(($ =
|
|
4023
|
-
}),
|
|
4022
|
+
return ae(e.usePageCard) ? e.usePageCard : ae(($ = g.value) == null ? void 0 : $.usePageCard) ? (I = g.value) == null ? void 0 : I.usePageCard : !0;
|
|
4023
|
+
}), p = R(() => {
|
|
4024
4024
|
var $, I, B;
|
|
4025
4025
|
return (B = (I = ($ = l == null ? void 0 : l.token) == null ? void 0 : $.value) == null ? void 0 : I.layout) == null ? void 0 : B.pageContainer;
|
|
4026
4026
|
}), c = R(() => Ae(Ue(e.contentWidth) && e.contentWidth ? e.contentWidth : o == null ? void 0 : o.contentWidth.value)), {
|
|
4027
|
-
wrapSSR:
|
|
4028
|
-
hashId:
|
|
4027
|
+
wrapSSR: C,
|
|
4028
|
+
hashId: m
|
|
4029
4029
|
} = Ii(r), w = () => {
|
|
4030
4030
|
var B, k, O, T;
|
|
4031
|
-
const $ = Me(t, e, "pageChildrenExtraRender"), I = Q(`${r}-children-content`,
|
|
4031
|
+
const $ = Me(t, e, "pageChildrenExtraRender"), I = Q(`${r}-children-content`, m.value, c.value && `${r}-children-content-width`);
|
|
4032
4032
|
return n("div", {
|
|
4033
4033
|
class: I,
|
|
4034
4034
|
style: {
|
|
4035
|
-
...
|
|
4035
|
+
...b.value,
|
|
4036
4036
|
width: c.value
|
|
4037
4037
|
}
|
|
4038
|
-
}, [$,
|
|
4038
|
+
}, [$, v.value ? n(Yn, te(f.value ? oe(f.value, ["loading", "bodyStyle"]) : {}, {
|
|
4039
4039
|
style: u.value ? {
|
|
4040
4040
|
minHeight: "853px"
|
|
4041
4041
|
} : void 0,
|
|
@@ -4046,73 +4046,77 @@ const os = /* @__PURE__ */ j({
|
|
|
4046
4046
|
return [(U = t.default) == null ? void 0 : U.call(t)];
|
|
4047
4047
|
}
|
|
4048
4048
|
}) : Fe($) ? n("div", {
|
|
4049
|
-
style: (B =
|
|
4050
|
-
marginBlockStart: `${(k =
|
|
4049
|
+
style: (B = p.value) != null && B.marginBlockPageContainerContent ? {
|
|
4050
|
+
marginBlockStart: `${(k = p.value) == null ? void 0 : k.marginBlockPageContainerContent}px`
|
|
4051
4051
|
} : void 0
|
|
4052
4052
|
}, [(O = t.default) == null ? void 0 : O.call(t)]) : (T = t.default) == null ? void 0 : T.call(t)]);
|
|
4053
4053
|
}, z = () => {
|
|
4054
4054
|
var I;
|
|
4055
4055
|
let $;
|
|
4056
|
-
return n(J, null, [(ae(e.waterMark) ? e.waterMark : (I = o == null ? void 0 : o.waterMark) != null && I.value) ? n(Qa,
|
|
4056
|
+
return n(J, null, [(ae(e.waterMark) ? e.waterMark : (I = o == null ? void 0 : o.waterMark) != null && I.value) ? n(Qa, d.value, wi($ = w()) ? $ : {
|
|
4057
4057
|
default: () => [$]
|
|
4058
4058
|
}) : w()]);
|
|
4059
4059
|
};
|
|
4060
4060
|
return () => {
|
|
4061
4061
|
var k, O;
|
|
4062
4062
|
const $ = Me(t, e, "pageHeaderRender") || ((k = o == null ? void 0 : o.pageHeaderRender) == null ? void 0 : k.value), I = re(t, e, "breadcrumbRender"), B = Me(t, e, "contentRender");
|
|
4063
|
-
return
|
|
4063
|
+
return C(n("div", {
|
|
4064
4064
|
style: a.style,
|
|
4065
4065
|
class: {
|
|
4066
|
-
[`${
|
|
4066
|
+
[`${m.value}`]: !0,
|
|
4067
4067
|
[`${r}`]: !0
|
|
4068
4068
|
}
|
|
4069
4069
|
}, [e.loading && n("div", {
|
|
4070
|
-
class: Q(`${r}-blur`,
|
|
4071
|
-
}, [n(
|
|
4070
|
+
class: Q(`${r}-blur`, m.value)
|
|
4071
|
+
}, [n(It, {
|
|
4072
4072
|
indicator: (O = i == null ? void 0 : i.indicator) == null ? void 0 : O.value
|
|
4073
4073
|
}, null)]), !u.value && $ !== !1 && ($ || n(xi, {
|
|
4074
4074
|
style: e.pageHeaderStyle,
|
|
4075
4075
|
breadcrumb: I,
|
|
4076
4076
|
content: B
|
|
4077
4077
|
}, null)), n("div", {
|
|
4078
|
-
class: [
|
|
4078
|
+
class: [h, m.value]
|
|
4079
4079
|
}, [n("div", {
|
|
4080
|
-
class: `${
|
|
4081
|
-
style:
|
|
4080
|
+
class: `${h}-children ${m.value}`,
|
|
4081
|
+
style: y.value
|
|
4082
4082
|
}, [z()])])]));
|
|
4083
4083
|
};
|
|
4084
4084
|
}
|
|
4085
4085
|
});
|
|
4086
|
-
function is(e) {
|
|
4087
|
-
const
|
|
4086
|
+
function is({ menuData: e, watchOpenKeys: t = !0 }) {
|
|
4087
|
+
const a = Ge(), o = a.getRoutes(), i = ve({
|
|
4088
4088
|
menuData: [],
|
|
4089
4089
|
levelMenuData: []
|
|
4090
|
-
}),
|
|
4090
|
+
}), l = ve({
|
|
4091
4091
|
openKeys: [],
|
|
4092
4092
|
selectedKeys: []
|
|
4093
|
-
}),
|
|
4094
|
-
var
|
|
4095
|
-
const
|
|
4096
|
-
(
|
|
4093
|
+
}), s = R(() => a.currentRoute.value), r = (d) => {
|
|
4094
|
+
var b;
|
|
4095
|
+
const y = No(zo(d));
|
|
4096
|
+
(b = s.value) != null && b.hidden ? (i.menuData = [], i.levelMenuData = []) : (i.menuData = y.menuData, i.levelMenuData = y.getLevel());
|
|
4097
4097
|
};
|
|
4098
|
-
e ? Wn(e) ? ne(() => e.value, (
|
|
4099
|
-
const
|
|
4100
|
-
const
|
|
4101
|
-
var
|
|
4102
|
-
const
|
|
4098
|
+
e ? Wn(e) ? ne(() => e.value, (d) => r(d), { deep: !0, immediate: !0 }) : r(e) : r(o);
|
|
4099
|
+
const h = R(() => Ho(i, { path: wn(s.value), name: s.value.name })), g = R(() => {
|
|
4100
|
+
const d = h.value.map((y) => {
|
|
4101
|
+
var u, v;
|
|
4102
|
+
const b = Rn((u = y.meta) != null && u.hideChildrenInMenu ? [] : y.children || []);
|
|
4103
4103
|
return {
|
|
4104
|
-
path:
|
|
4105
|
-
breadcrumbName: ((
|
|
4104
|
+
path: y.redirect || b || y.path || "",
|
|
4105
|
+
breadcrumbName: ((v = y.meta) == null ? void 0 : v.title) || ""
|
|
4106
4106
|
};
|
|
4107
|
-
}).filter((
|
|
4108
|
-
return Vo(
|
|
4109
|
-
})
|
|
4110
|
-
|
|
4111
|
-
|
|
4112
|
-
|
|
4113
|
-
|
|
4114
|
-
|
|
4115
|
-
|
|
4107
|
+
}).filter((y) => y.breadcrumbName);
|
|
4108
|
+
return Vo(d, "breadcrumbName");
|
|
4109
|
+
}), f = () => {
|
|
4110
|
+
l.openKeys = h.value.filter((d) => d.path !== s.value.path).map((d) => d.path);
|
|
4111
|
+
};
|
|
4112
|
+
return ne(() => s.value, (d) => {
|
|
4113
|
+
d && (l.selectedKeys = h.value.map((y) => y.path), t && f());
|
|
4114
|
+
}, { immediate: !0, deep: !0 }), St(() => {
|
|
4115
|
+
t || f();
|
|
4116
|
+
}), {
|
|
4117
|
+
menuState: i,
|
|
4118
|
+
matchedKeys: l,
|
|
4119
|
+
matchedMenu: h,
|
|
4116
4120
|
breadcrumbRouters: g
|
|
4117
4121
|
};
|
|
4118
4122
|
}
|
|
@@ -4398,7 +4402,7 @@ const Ct = Object.keys(Z).filter((e) => e !== "title"), Ri = [{
|
|
|
4398
4402
|
}
|
|
4399
4403
|
}
|
|
4400
4404
|
};
|
|
4401
|
-
},
|
|
4405
|
+
}, Gt = /* @__PURE__ */ j({
|
|
4402
4406
|
name: "BlockCheckbox",
|
|
4403
4407
|
props: {
|
|
4404
4408
|
value: q.string,
|
|
@@ -4588,61 +4592,61 @@ const Pi = /* @__PURE__ */ j({
|
|
|
4588
4592
|
hashId: s
|
|
4589
4593
|
} = fe("ProThemeEditor", [ki], i), {
|
|
4590
4594
|
token: r
|
|
4591
|
-
} = Oe(),
|
|
4592
|
-
var
|
|
4593
|
-
return (
|
|
4595
|
+
} = Oe(), h = R(() => {
|
|
4596
|
+
var b;
|
|
4597
|
+
return (b = r.value) == null ? void 0 : b.layout;
|
|
4594
4598
|
});
|
|
4595
|
-
function
|
|
4599
|
+
function g(b) {
|
|
4596
4600
|
return Se(Dn).map((u) => {
|
|
4597
|
-
var
|
|
4598
|
-
const
|
|
4599
|
-
if (u.token =
|
|
4601
|
+
var p;
|
|
4602
|
+
const v = it(b, r.value, u.key);
|
|
4603
|
+
if (u.token = v, v)
|
|
4600
4604
|
for (const c in u.token) {
|
|
4601
|
-
const
|
|
4602
|
-
u.token[c] =
|
|
4605
|
+
const C = (p = h.value) == null ? void 0 : p[b], m = (C == null ? void 0 : C[c]) || u.token[c];
|
|
4606
|
+
u.token[c] = m;
|
|
4603
4607
|
}
|
|
4604
4608
|
return u;
|
|
4605
4609
|
}).filter((u) => u.token);
|
|
4606
4610
|
}
|
|
4607
|
-
const
|
|
4608
|
-
header:
|
|
4609
|
-
sider:
|
|
4611
|
+
const f = ve({
|
|
4612
|
+
header: g("header"),
|
|
4613
|
+
sider: g("sider")
|
|
4610
4614
|
});
|
|
4611
4615
|
ne([() => {
|
|
4612
|
-
var
|
|
4613
|
-
return (u = (
|
|
4616
|
+
var b, u;
|
|
4617
|
+
return (u = (b = r.value) == null ? void 0 : b.layout) == null ? void 0 : u.header;
|
|
4614
4618
|
}, () => {
|
|
4615
|
-
var
|
|
4616
|
-
return (u = (
|
|
4619
|
+
var b, u;
|
|
4620
|
+
return (u = (b = r.value) == null ? void 0 : b.layout) == null ? void 0 : u.sider;
|
|
4617
4621
|
}], () => {
|
|
4618
|
-
|
|
4622
|
+
f.sider = g("sider"), f.header = g("header");
|
|
4619
4623
|
}, {
|
|
4620
4624
|
deep: 1
|
|
4621
4625
|
});
|
|
4622
|
-
const
|
|
4626
|
+
const d = R(() => {
|
|
4623
4627
|
var u;
|
|
4624
|
-
const
|
|
4625
|
-
var
|
|
4626
|
-
return
|
|
4628
|
+
const b = (u = f[a.value].find((v) => {
|
|
4629
|
+
var p;
|
|
4630
|
+
return v.key === ((p = h.value) == null ? void 0 : p.key);
|
|
4627
4631
|
})) == null ? void 0 : u.token;
|
|
4628
|
-
return Object.keys(
|
|
4632
|
+
return Object.keys(b || {}).map((v) => {
|
|
4629
4633
|
var c;
|
|
4630
4634
|
return {
|
|
4631
|
-
title: ((c = Bi.find((
|
|
4632
|
-
key:
|
|
4633
|
-
value: (
|
|
4635
|
+
title: ((c = Bi.find((C) => C.key === v)) == null ? void 0 : c.name) || "",
|
|
4636
|
+
key: v,
|
|
4637
|
+
value: (b == null ? void 0 : b[v]) || ""
|
|
4634
4638
|
};
|
|
4635
4639
|
});
|
|
4636
|
-
}),
|
|
4637
|
-
var
|
|
4638
|
-
|
|
4640
|
+
}), y = (b, u) => {
|
|
4641
|
+
var v;
|
|
4642
|
+
f[a.value] = f[a.value].map((p) => {
|
|
4639
4643
|
var c;
|
|
4640
|
-
return
|
|
4641
|
-
}), (
|
|
4644
|
+
return p.key === ((c = h.value) == null ? void 0 : c.key) && (p.token[u] = b), p;
|
|
4645
|
+
}), (v = e.onChange) == null || v.call(e, b, a.value, u);
|
|
4642
4646
|
};
|
|
4643
4647
|
return () => {
|
|
4644
|
-
var u,
|
|
4645
|
-
let
|
|
4648
|
+
var u, v, p;
|
|
4649
|
+
let b;
|
|
4646
4650
|
return l(n("div", {
|
|
4647
4651
|
class: [i, s.value]
|
|
4648
4652
|
}, [n("h3", {
|
|
@@ -4653,10 +4657,10 @@ const Pi = /* @__PURE__ */ j({
|
|
|
4653
4657
|
style: {
|
|
4654
4658
|
marginInline: "8px"
|
|
4655
4659
|
}
|
|
4656
|
-
}, [W("/")]), n("span", null, [(
|
|
4657
|
-
var
|
|
4658
|
-
return c.key === ((
|
|
4659
|
-
})) == null ? void 0 :
|
|
4660
|
+
}, [W("/")]), n("span", null, [(v = zn.find((c) => {
|
|
4661
|
+
var C;
|
|
4662
|
+
return c.key === ((C = e.settingValue) == null ? void 0 : C.layout);
|
|
4663
|
+
})) == null ? void 0 : v.title])])]), n("div", {
|
|
4660
4664
|
class: [`${i}-content`, s.value]
|
|
4661
4665
|
}, [n(Be, {
|
|
4662
4666
|
class: `${i}-list ${s.value}`.trim(),
|
|
@@ -4675,16 +4679,16 @@ const Pi = /* @__PURE__ */ j({
|
|
|
4675
4679
|
}),
|
|
4676
4680
|
dataSource: [{
|
|
4677
4681
|
title: "自定义主题色",
|
|
4678
|
-
action: n(
|
|
4679
|
-
value: (
|
|
4682
|
+
action: n(Et, {
|
|
4683
|
+
value: (p = e.settingValue) == null ? void 0 : p.primaryColor,
|
|
4680
4684
|
size: "small",
|
|
4681
4685
|
onChangeComplete: (c) => e.onChange && e.onChange(c.toCssString(), "primaryColor")
|
|
4682
4686
|
}, null)
|
|
4683
4687
|
}]
|
|
4684
|
-
}, null), n(
|
|
4688
|
+
}, null), n(wt, {
|
|
4685
4689
|
activeKey: a.value,
|
|
4686
4690
|
onChange: (c) => o(c)
|
|
4687
|
-
}, Ti(
|
|
4691
|
+
}, Ti(b = $i.map((c) => n(qn, {
|
|
4688
4692
|
key: c.key,
|
|
4689
4693
|
tab: c.title
|
|
4690
4694
|
}, {
|
|
@@ -4693,27 +4697,27 @@ const Pi = /* @__PURE__ */ j({
|
|
|
4693
4697
|
split: !1,
|
|
4694
4698
|
size: "small",
|
|
4695
4699
|
renderItem: ({
|
|
4696
|
-
item:
|
|
4700
|
+
item: C
|
|
4697
4701
|
}) => n(Be.Item, {
|
|
4698
|
-
actions: [
|
|
4702
|
+
actions: [C.action]
|
|
4699
4703
|
}, {
|
|
4700
4704
|
default: () => [n("span", {
|
|
4701
4705
|
style: {
|
|
4702
|
-
opacity:
|
|
4706
|
+
opacity: C.disabled ? 0.5 : 1
|
|
4703
4707
|
}
|
|
4704
|
-
}, [
|
|
4708
|
+
}, [C.title])]
|
|
4705
4709
|
}),
|
|
4706
|
-
dataSource:
|
|
4707
|
-
...
|
|
4708
|
-
action: n(
|
|
4709
|
-
value:
|
|
4710
|
+
dataSource: d.value.map((C) => ({
|
|
4711
|
+
...C,
|
|
4712
|
+
action: n(Et, {
|
|
4713
|
+
value: C.value,
|
|
4710
4714
|
size: "small",
|
|
4711
|
-
onChangeComplete: (
|
|
4715
|
+
onChangeComplete: (m) => y(m.toCssString(), C.key)
|
|
4712
4716
|
}, null)
|
|
4713
4717
|
}))
|
|
4714
4718
|
}, null)]
|
|
4715
|
-
}))) ?
|
|
4716
|
-
default: () => [
|
|
4719
|
+
}))) ? b : {
|
|
4720
|
+
default: () => [b]
|
|
4717
4721
|
})])]));
|
|
4718
4722
|
};
|
|
4719
4723
|
}
|
|
@@ -4748,12 +4752,12 @@ const Pi = /* @__PURE__ */ j({
|
|
|
4748
4752
|
}
|
|
4749
4753
|
}
|
|
4750
4754
|
});
|
|
4751
|
-
function
|
|
4755
|
+
function Yt(e) {
|
|
4752
4756
|
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Le(e);
|
|
4753
4757
|
}
|
|
4754
4758
|
const {
|
|
4755
|
-
preset:
|
|
4756
|
-
} =
|
|
4759
|
+
preset: qt
|
|
4760
|
+
} = Tt, zi = /* @__PURE__ */ j({
|
|
4757
4761
|
name: "OthersChange",
|
|
4758
4762
|
props: {
|
|
4759
4763
|
prefixCls: q.string,
|
|
@@ -4769,7 +4773,7 @@ const {
|
|
|
4769
4773
|
hashId: o
|
|
4770
4774
|
} = fe("SettingsDrawOthers", [Ni], t);
|
|
4771
4775
|
return () => {
|
|
4772
|
-
var l, s, r, g,
|
|
4776
|
+
var l, s, r, h, g, f, d, y, b, u, v, p, c, C;
|
|
4773
4777
|
let i;
|
|
4774
4778
|
return a(n("div", {
|
|
4775
4779
|
class: [t, o.value]
|
|
@@ -4780,19 +4784,19 @@ const {
|
|
|
4780
4784
|
split: !1,
|
|
4781
4785
|
size: "small",
|
|
4782
4786
|
renderItem: ({
|
|
4783
|
-
item:
|
|
4787
|
+
item: m
|
|
4784
4788
|
}) => n(nt, {
|
|
4785
|
-
title:
|
|
4789
|
+
title: m.disabled ? m.disabledReason : "",
|
|
4786
4790
|
placement: "left"
|
|
4787
4791
|
}, {
|
|
4788
4792
|
default: () => [n(Be.Item, {
|
|
4789
|
-
actions: [
|
|
4793
|
+
actions: [m.action]
|
|
4790
4794
|
}, {
|
|
4791
4795
|
default: () => [n("span", {
|
|
4792
4796
|
style: {
|
|
4793
|
-
opacity:
|
|
4797
|
+
opacity: m.disabled ? 0.5 : 1
|
|
4794
4798
|
}
|
|
4795
|
-
}, [
|
|
4799
|
+
}, [m.title])]
|
|
4796
4800
|
})]
|
|
4797
4801
|
}),
|
|
4798
4802
|
dataSource: [{
|
|
@@ -4800,38 +4804,38 @@ const {
|
|
|
4800
4804
|
action: n(tn, {
|
|
4801
4805
|
checked: !((s = (l = e.settingValue) == null ? void 0 : l.animate) != null && s.disabled),
|
|
4802
4806
|
size: "small",
|
|
4803
|
-
onChange: (
|
|
4807
|
+
onChange: (m) => {
|
|
4804
4808
|
var w;
|
|
4805
|
-
return (w = e.onChange) == null ? void 0 : w.call(e, "animate", "disabled", !
|
|
4809
|
+
return (w = e.onChange) == null ? void 0 : w.call(e, "animate", "disabled", !m);
|
|
4806
4810
|
}
|
|
4807
4811
|
}, null)
|
|
4808
4812
|
}, {
|
|
4809
4813
|
title: "动画效果",
|
|
4810
|
-
disabled: (
|
|
4814
|
+
disabled: (h = (r = e.settingValue) == null ? void 0 : r.animate) == null ? void 0 : h.disabled,
|
|
4811
4815
|
action: n(Ye, {
|
|
4812
|
-
value: (
|
|
4816
|
+
value: (f = (g = e.settingValue) == null ? void 0 : g.animate) == null ? void 0 : f.name,
|
|
4813
4817
|
style: {
|
|
4814
4818
|
width: "100px"
|
|
4815
4819
|
},
|
|
4816
4820
|
size: "small",
|
|
4817
|
-
disabled: (
|
|
4818
|
-
getPopupContainer: (
|
|
4819
|
-
onChange: (
|
|
4821
|
+
disabled: (y = (d = e.settingValue) == null ? void 0 : d.animate) == null ? void 0 : y.disabled,
|
|
4822
|
+
getPopupContainer: (m) => m && m.parentNode ? m.parentNode : m,
|
|
4823
|
+
onChange: (m) => {
|
|
4820
4824
|
var w;
|
|
4821
|
-
return (w = e.onChange) == null ? void 0 : w.call(e, "animate", "name",
|
|
4825
|
+
return (w = e.onChange) == null ? void 0 : w.call(e, "animate", "name", m);
|
|
4822
4826
|
}
|
|
4823
|
-
},
|
|
4824
|
-
value:
|
|
4827
|
+
}, Yt(i = qt.map((m) => n(Ye.Option, {
|
|
4828
|
+
value: m.name
|
|
4825
4829
|
}, {
|
|
4826
|
-
default: () => [
|
|
4830
|
+
default: () => [m.alias]
|
|
4827
4831
|
}))) ? i : {
|
|
4828
4832
|
default: () => [i]
|
|
4829
4833
|
})
|
|
4830
4834
|
}, {
|
|
4831
4835
|
title: "动画方向",
|
|
4832
|
-
disabled: (u = (
|
|
4836
|
+
disabled: (u = (b = e.settingValue) == null ? void 0 : b.animate) == null ? void 0 : u.disabled,
|
|
4833
4837
|
action: n(Ye, {
|
|
4834
|
-
value: (
|
|
4838
|
+
value: (p = (v = e.settingValue) == null ? void 0 : v.animate) == null ? void 0 : p.direction,
|
|
4835
4839
|
style: {
|
|
4836
4840
|
width: "100px"
|
|
4837
4841
|
},
|
|
@@ -4839,21 +4843,21 @@ const {
|
|
|
4839
4843
|
dropdownStyle: {
|
|
4840
4844
|
minWidth: "120px"
|
|
4841
4845
|
},
|
|
4842
|
-
disabled: (
|
|
4843
|
-
getPopupContainer: (
|
|
4844
|
-
onChange: (
|
|
4846
|
+
disabled: (C = (c = e.settingValue) == null ? void 0 : c.animate) == null ? void 0 : C.disabled,
|
|
4847
|
+
getPopupContainer: (m) => m && m.parentNode ? m.parentNode : m,
|
|
4848
|
+
onChange: (m) => {
|
|
4845
4849
|
var w;
|
|
4846
|
-
return (w = e.onChange) == null ? void 0 : w.call(e, "animate", "direction",
|
|
4850
|
+
return (w = e.onChange) == null ? void 0 : w.call(e, "animate", "direction", m);
|
|
4847
4851
|
}
|
|
4848
4852
|
}, {
|
|
4849
4853
|
default: () => {
|
|
4850
|
-
var
|
|
4851
|
-
return [(
|
|
4854
|
+
var m;
|
|
4855
|
+
return [(m = qt.find((w) => {
|
|
4852
4856
|
var z, $;
|
|
4853
4857
|
return w.name === (($ = (z = e.settingValue) == null ? void 0 : z.animate) == null ? void 0 : $.name);
|
|
4854
|
-
})) == null ? void 0 :
|
|
4858
|
+
})) == null ? void 0 : m.directions.map((w) => n(Ye.Option, {
|
|
4855
4859
|
value: w
|
|
4856
|
-
},
|
|
4860
|
+
}, Yt(w) ? w : {
|
|
4857
4861
|
default: () => [w]
|
|
4858
4862
|
}))];
|
|
4859
4863
|
}
|
|
@@ -4864,10 +4868,10 @@ const {
|
|
|
4864
4868
|
}
|
|
4865
4869
|
}), {
|
|
4866
4870
|
preset: Di
|
|
4867
|
-
} =
|
|
4871
|
+
} = Tt, Ai = {
|
|
4868
4872
|
color: "#fff",
|
|
4869
4873
|
fontSize: 20
|
|
4870
|
-
},
|
|
4874
|
+
}, Qt = (e) => ha() ? {
|
|
4871
4875
|
...oe(Z, Ct),
|
|
4872
4876
|
...e || {}
|
|
4873
4877
|
} : Se(Z), Ke = (e, {
|
|
@@ -4882,7 +4886,7 @@ const {
|
|
|
4882
4886
|
class: `${e.prefixCls}-body-title ${e.hashId}`.trim()
|
|
4883
4887
|
}, [e.title]), (a = t.default) == null ? void 0 : a.call(t)]);
|
|
4884
4888
|
}, Hi = () => ({
|
|
4885
|
-
...
|
|
4889
|
+
...Ot,
|
|
4886
4890
|
open: {
|
|
4887
4891
|
type: Boolean,
|
|
4888
4892
|
default: void 0
|
|
@@ -4923,7 +4927,7 @@ const {
|
|
|
4923
4927
|
}), {}), {
|
|
4924
4928
|
wrapSSR: s,
|
|
4925
4929
|
hashId: r
|
|
4926
|
-
} = fe("ProSettingDraw", [Oi], o),
|
|
4930
|
+
} = fe("ProSettingDraw", [Oi], o), h = me(!1), [g, f] = De(!1, {
|
|
4927
4931
|
value: R(() => {
|
|
4928
4932
|
var L;
|
|
4929
4933
|
return ae(e.open) ? e.open : (L = a == null ? void 0 : a.settingsOpen) == null ? void 0 : L.value;
|
|
@@ -4933,10 +4937,10 @@ const {
|
|
|
4933
4937
|
(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);
|
|
4934
4938
|
}
|
|
4935
4939
|
}), {
|
|
4936
|
-
innerDark:
|
|
4937
|
-
isDark:
|
|
4938
|
-
toggleMode:
|
|
4939
|
-
} =
|
|
4940
|
+
innerDark: d,
|
|
4941
|
+
isDark: y,
|
|
4942
|
+
toggleMode: b
|
|
4943
|
+
} = Pt(R(() => {
|
|
4940
4944
|
var L;
|
|
4941
4945
|
return Xe(e.dark) ? e.dark : (L = a == null ? void 0 : a.dark) == null ? void 0 : L.value;
|
|
4942
4946
|
}), {
|
|
@@ -4944,49 +4948,49 @@ const {
|
|
|
4944
4948
|
var F, P, E;
|
|
4945
4949
|
(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);
|
|
4946
4950
|
}
|
|
4947
|
-
}), [u,
|
|
4948
|
-
value:
|
|
4951
|
+
}), [u, v] = pe(!1), [p, c] = pe(!1), C = R(() => e.storage ? Object.keys(l.value).length > 0 : !1), m = R(() => Qt(oe(e.settings, Ct))), [w, z] = De(() => Qt(oe(e.settings, Ct)), {
|
|
4952
|
+
value: m,
|
|
4949
4953
|
onChange: (L) => {
|
|
4950
4954
|
var F;
|
|
4951
4955
|
l.value = be(l.value, L), (F = e.onChange) == null || F.call(e, L);
|
|
4952
4956
|
}
|
|
4953
4957
|
}), $ = R(() => {
|
|
4954
4958
|
var L;
|
|
4955
|
-
return Xe(e.dark) ?
|
|
4959
|
+
return Xe(e.dark) ? y.value : (L = t == null ? void 0 : t.dark) == null ? void 0 : L.value;
|
|
4956
4960
|
}), I = (L, F) => {
|
|
4957
4961
|
On({
|
|
4958
4962
|
event: L,
|
|
4959
4963
|
isDark: $,
|
|
4960
|
-
toggle:
|
|
4964
|
+
toggle: b,
|
|
4961
4965
|
value: F
|
|
4962
4966
|
});
|
|
4963
4967
|
};
|
|
4964
4968
|
ne(() => e.storage, (L) => {
|
|
4965
|
-
L && (
|
|
4966
|
-
dark:
|
|
4969
|
+
L && (C.value ? (Object.assign(i, {
|
|
4970
|
+
dark: d.value,
|
|
4967
4971
|
...Se(w.value)
|
|
4968
4972
|
}), fa($e(l.value, "dark"), w.value) || z($e(l.value, "dark")), I(null, l.value.dark)) : l.value = {
|
|
4969
4973
|
...w.value,
|
|
4970
|
-
dark:
|
|
4974
|
+
dark: d.value
|
|
4971
4975
|
});
|
|
4972
4976
|
}, {
|
|
4973
4977
|
immediate: !0
|
|
4974
4978
|
});
|
|
4975
|
-
const B = R(() => e.colorList &&
|
|
4979
|
+
const B = R(() => e.colorList && Bt(e.colorList) ? e.colorList : []), k = R(() => Xo(se(w))), {
|
|
4976
4980
|
copy: O,
|
|
4977
4981
|
copied: T,
|
|
4978
4982
|
isSupported: U
|
|
4979
4983
|
} = ia();
|
|
4980
|
-
ne(
|
|
4981
|
-
|
|
4984
|
+
ne(g, () => {
|
|
4985
|
+
h.value || (h.value = !0);
|
|
4982
4986
|
}), ne(() => {
|
|
4983
4987
|
var L;
|
|
4984
4988
|
return (L = a == null ? void 0 : a.settingsOpen) == null ? void 0 : L.value;
|
|
4985
4989
|
}, (L) => {
|
|
4986
|
-
ae(e.open) ||
|
|
4990
|
+
ae(e.open) || f(L);
|
|
4987
4991
|
}), ne(T, (L) => {
|
|
4988
4992
|
L && Qn.success("拷贝成功,请到 config/default/themeConfig.js 中替换默认配置");
|
|
4989
|
-
}), ne(() =>
|
|
4993
|
+
}), ne(() => d.value, (L) => {
|
|
4990
4994
|
e.storage && (l.value.dark = L);
|
|
4991
4995
|
});
|
|
4992
4996
|
const _ = (L, F, P) => {
|
|
@@ -5012,12 +5016,12 @@ const {
|
|
|
5012
5016
|
z($e(Se(i), "dark")), I(null, i.dark), l.value = Se(i);
|
|
5013
5017
|
};
|
|
5014
5018
|
return () => {
|
|
5015
|
-
const L =
|
|
5019
|
+
const L = g.value ? lt : un;
|
|
5016
5020
|
return s(n(Qe, {
|
|
5017
5021
|
width: 300,
|
|
5018
5022
|
closable: !1,
|
|
5019
|
-
open:
|
|
5020
|
-
rootClassName: `${o} ${r.value} ${
|
|
5023
|
+
open: g.value,
|
|
5024
|
+
rootClassName: `${o} ${r.value} ${g.value && `${o}-show`} ${!h.value && `${o}-trantion-none`}`,
|
|
5021
5025
|
placement: "right",
|
|
5022
5026
|
rootStyle: {
|
|
5023
5027
|
zIndex: 999
|
|
@@ -5025,10 +5029,10 @@ const {
|
|
|
5025
5029
|
bodyStyle: {
|
|
5026
5030
|
padding: 0
|
|
5027
5031
|
},
|
|
5028
|
-
onClose: () =>
|
|
5032
|
+
onClose: () => f(!1),
|
|
5029
5033
|
handle: n("div", {
|
|
5030
5034
|
class: [`${o}-handle`, r.value],
|
|
5031
|
-
onClick: () =>
|
|
5035
|
+
onClick: () => f(!g.value)
|
|
5032
5036
|
}, [n(L, {
|
|
5033
5037
|
style: Ai
|
|
5034
5038
|
}, null)])
|
|
@@ -5044,7 +5048,7 @@ const {
|
|
|
5044
5048
|
title: "整体风格"
|
|
5045
5049
|
}, {
|
|
5046
5050
|
default: () => [n(Zn, {
|
|
5047
|
-
value: ae(
|
|
5051
|
+
value: ae(d.value) ? d.value ? "dark" : "light" : "system",
|
|
5048
5052
|
options: Ri,
|
|
5049
5053
|
onChange: (F) => X(F)
|
|
5050
5054
|
}, null)]
|
|
@@ -5053,7 +5057,7 @@ const {
|
|
|
5053
5057
|
hashId: r.value,
|
|
5054
5058
|
title: "菜单风格"
|
|
5055
5059
|
}, {
|
|
5056
|
-
default: () => [n(
|
|
5060
|
+
default: () => [n(Gt, {
|
|
5057
5061
|
hashId: r.value,
|
|
5058
5062
|
prefixCls: o,
|
|
5059
5063
|
list: Nn,
|
|
@@ -5071,7 +5075,7 @@ const {
|
|
|
5071
5075
|
fontSize: "12px",
|
|
5072
5076
|
marginLeft: "4px"
|
|
5073
5077
|
},
|
|
5074
|
-
onClick: () =>
|
|
5078
|
+
onClick: () => v(!0)
|
|
5075
5079
|
}, [W("更多配置")])]),
|
|
5076
5080
|
prefixCls: o
|
|
5077
5081
|
}, {
|
|
@@ -5087,7 +5091,7 @@ const {
|
|
|
5087
5091
|
prefixCls: o,
|
|
5088
5092
|
title: "导航模式"
|
|
5089
5093
|
}, {
|
|
5090
|
-
default: () => [n(
|
|
5094
|
+
default: () => [n(Gt, {
|
|
5091
5095
|
prefixCls: o,
|
|
5092
5096
|
value: se(w).layout,
|
|
5093
5097
|
key: "layout",
|
|
@@ -5176,7 +5180,7 @@ const {
|
|
|
5176
5180
|
bodyStyle: {
|
|
5177
5181
|
padding: 0
|
|
5178
5182
|
},
|
|
5179
|
-
onClose: () =>
|
|
5183
|
+
onClose: () => v(!1)
|
|
5180
5184
|
}, {
|
|
5181
5185
|
default: () => [n(Pi, {
|
|
5182
5186
|
theme: w.value.theme,
|
|
@@ -5189,7 +5193,7 @@ const {
|
|
|
5189
5193
|
width: 320,
|
|
5190
5194
|
closable: !1,
|
|
5191
5195
|
placement: "right",
|
|
5192
|
-
open:
|
|
5196
|
+
open: p.value,
|
|
5193
5197
|
bodyStyle: {
|
|
5194
5198
|
padding: 0
|
|
5195
5199
|
},
|
|
@@ -5205,7 +5209,7 @@ const {
|
|
|
5205
5209
|
}));
|
|
5206
5210
|
};
|
|
5207
5211
|
}
|
|
5208
|
-
}), ji = new
|
|
5212
|
+
}), ji = new S("backInLeft", {
|
|
5209
5213
|
"0%": {
|
|
5210
5214
|
opacity: 0.7,
|
|
5211
5215
|
transform: "translateX(-2000px) scale(0.7)"
|
|
@@ -5218,7 +5222,7 @@ const {
|
|
|
5218
5222
|
opacity: 1,
|
|
5219
5223
|
transform: "scale(1)"
|
|
5220
5224
|
}
|
|
5221
|
-
}), Ei = new
|
|
5225
|
+
}), Ei = new S("backInRight", {
|
|
5222
5226
|
"0%": {
|
|
5223
5227
|
opacity: 0.7,
|
|
5224
5228
|
transform: "translateX(2000px) scale(0.7)"
|
|
@@ -5231,7 +5235,7 @@ const {
|
|
|
5231
5235
|
opacity: 1,
|
|
5232
5236
|
transform: "scale(1)"
|
|
5233
5237
|
}
|
|
5234
|
-
}), Ki = new
|
|
5238
|
+
}), Ki = new S("backInUp", {
|
|
5235
5239
|
"0%": {
|
|
5236
5240
|
opacity: 0.7,
|
|
5237
5241
|
transform: "translateY(1200px) scale(0.7)"
|
|
@@ -5244,7 +5248,7 @@ const {
|
|
|
5244
5248
|
opacity: 1,
|
|
5245
5249
|
transform: "scale(1)"
|
|
5246
5250
|
}
|
|
5247
|
-
}), Wi = new
|
|
5251
|
+
}), Wi = new S("backInDown", {
|
|
5248
5252
|
"0%": {
|
|
5249
5253
|
opacity: 0.7,
|
|
5250
5254
|
transform: "translateY(-1200px) scale(0.7)"
|
|
@@ -5257,7 +5261,7 @@ const {
|
|
|
5257
5261
|
opacity: 1,
|
|
5258
5262
|
transform: "scale(1)"
|
|
5259
5263
|
}
|
|
5260
|
-
}), Ui = new
|
|
5264
|
+
}), Ui = new S("backOutLeft", {
|
|
5261
5265
|
"0%": {
|
|
5262
5266
|
opacity: 1,
|
|
5263
5267
|
transform: "scale(1)"
|
|
@@ -5270,7 +5274,7 @@ const {
|
|
|
5270
5274
|
opacity: 0.7,
|
|
5271
5275
|
transform: "translateX(-2000px) scale(0.7)"
|
|
5272
5276
|
}
|
|
5273
|
-
}), _i = new
|
|
5277
|
+
}), _i = new S("backOutRight", {
|
|
5274
5278
|
"0%": {
|
|
5275
5279
|
opacity: 1,
|
|
5276
5280
|
transform: "scale(1)"
|
|
@@ -5283,7 +5287,7 @@ const {
|
|
|
5283
5287
|
opacity: 0.7,
|
|
5284
5288
|
transform: "translateX(2000px) scale(0.7)"
|
|
5285
5289
|
}
|
|
5286
|
-
}), Xi = new
|
|
5290
|
+
}), Xi = new S("backOutUp", {
|
|
5287
5291
|
"0%": {
|
|
5288
5292
|
opacity: 1,
|
|
5289
5293
|
transform: "scale(1)"
|
|
@@ -5296,7 +5300,7 @@ const {
|
|
|
5296
5300
|
opacity: 0.7,
|
|
5297
5301
|
transform: "translateY(-700px) scale(0.7)"
|
|
5298
5302
|
}
|
|
5299
|
-
}), Vi = new
|
|
5303
|
+
}), Vi = new S("backOutDown", {
|
|
5300
5304
|
"0%": {
|
|
5301
5305
|
opacity: 1,
|
|
5302
5306
|
transform: "scale(1)"
|
|
@@ -5343,7 +5347,7 @@ const {
|
|
|
5343
5347
|
animationFillMode: "both",
|
|
5344
5348
|
animationName: Vi
|
|
5345
5349
|
}
|
|
5346
|
-
}), qi = new
|
|
5350
|
+
}), qi = new S("bounceIn", {
|
|
5347
5351
|
"from,20%,40%,60%,80%,to": {
|
|
5348
5352
|
animationTimingFunction: "cubic-bezier(0.215, 0.61, 0.355, 1)"
|
|
5349
5353
|
},
|
|
@@ -5367,7 +5371,7 @@ const {
|
|
|
5367
5371
|
opacity: 1,
|
|
5368
5372
|
transform: "scale3d(1, 1, 1)"
|
|
5369
5373
|
}
|
|
5370
|
-
}), Qi = new
|
|
5374
|
+
}), Qi = new S("bounceInLeft", {
|
|
5371
5375
|
"from,60%,75%,90%,to": {
|
|
5372
5376
|
animationTimingFunction: "cubic-bezier(0.215, 0.61, 0.355, 1)"
|
|
5373
5377
|
},
|
|
@@ -5388,7 +5392,7 @@ const {
|
|
|
5388
5392
|
to: {
|
|
5389
5393
|
transform: "translate3d(0, 0, 0)"
|
|
5390
5394
|
}
|
|
5391
|
-
}), Zi = new
|
|
5395
|
+
}), Zi = new S("bounceInRight", {
|
|
5392
5396
|
"from,60%,75%,90%,to": {
|
|
5393
5397
|
animationTimingFunction: "cubic-bezier(0.215, 0.61, 0.355, 1)"
|
|
5394
5398
|
},
|
|
@@ -5409,7 +5413,7 @@ const {
|
|
|
5409
5413
|
to: {
|
|
5410
5414
|
transform: "translate3d(0, 0, 0)"
|
|
5411
5415
|
}
|
|
5412
|
-
}), Ji = new
|
|
5416
|
+
}), Ji = new S("bounceInDown", {
|
|
5413
5417
|
"from,60%,75%,90%,to": {
|
|
5414
5418
|
animationTimingFunction: "cubic-bezier(0.215, 0.61, 0.355, 1)"
|
|
5415
5419
|
},
|
|
@@ -5430,7 +5434,7 @@ const {
|
|
|
5430
5434
|
to: {
|
|
5431
5435
|
transform: "translate3d(0, 0, 0)"
|
|
5432
5436
|
}
|
|
5433
|
-
}), el = new
|
|
5437
|
+
}), el = new S("bounceInUp", {
|
|
5434
5438
|
"from,60%,75%,90%,to": {
|
|
5435
5439
|
animationTimingFunction: "cubic-bezier(0.215, 0.61, 0.355, 1)"
|
|
5436
5440
|
},
|
|
@@ -5451,7 +5455,7 @@ const {
|
|
|
5451
5455
|
to: {
|
|
5452
5456
|
transform: "translate3d(0, 0, 0)"
|
|
5453
5457
|
}
|
|
5454
|
-
}), tl = new
|
|
5458
|
+
}), tl = new S("bounceOut", {
|
|
5455
5459
|
"20%": {
|
|
5456
5460
|
transform: "scale3d(0.9, 0.9, 0.9)"
|
|
5457
5461
|
},
|
|
@@ -5465,7 +5469,7 @@ const {
|
|
|
5465
5469
|
opacity: 0,
|
|
5466
5470
|
transform: "scale3d(0.3, 0.3, 0.3)"
|
|
5467
5471
|
}
|
|
5468
|
-
}), nl = new
|
|
5472
|
+
}), nl = new S("bounceOutLeft", {
|
|
5469
5473
|
"20%": {
|
|
5470
5474
|
opacity: 1,
|
|
5471
5475
|
transform: "translate3d(20px, 0, 0) scaleX(0.9)"
|
|
@@ -5474,7 +5478,7 @@ const {
|
|
|
5474
5478
|
opacity: 0,
|
|
5475
5479
|
transform: "translate3d(-2000px, 0, 0) scaleX(2)"
|
|
5476
5480
|
}
|
|
5477
|
-
}), al = new
|
|
5481
|
+
}), al = new S("bounceOutRight", {
|
|
5478
5482
|
"20%": {
|
|
5479
5483
|
opacity: 1,
|
|
5480
5484
|
transform: "translate3d(-20px, 0, 0) scaleX(0.9)"
|
|
@@ -5483,7 +5487,7 @@ const {
|
|
|
5483
5487
|
opacity: 0,
|
|
5484
5488
|
transform: "translate3d(2000px, 0, 0) scaleX(2)"
|
|
5485
5489
|
}
|
|
5486
|
-
}), ol = new
|
|
5490
|
+
}), ol = new S("bounceOutDown", {
|
|
5487
5491
|
"20%": {
|
|
5488
5492
|
transform: "translate3d(0, 10px, 0) scaleY(0.985)"
|
|
5489
5493
|
},
|
|
@@ -5495,7 +5499,7 @@ const {
|
|
|
5495
5499
|
opacity: 0,
|
|
5496
5500
|
transform: "translate3d(0, 2000px, 0) scaleY(3)"
|
|
5497
5501
|
}
|
|
5498
|
-
}), il = new
|
|
5502
|
+
}), il = new S("bounceOutUp", {
|
|
5499
5503
|
"20%": {
|
|
5500
5504
|
transform: "translate3d(0, -10px, 0) scaleY(0.985)"
|
|
5501
5505
|
},
|
|
@@ -5551,14 +5555,14 @@ const {
|
|
|
5551
5555
|
animationFillMode: "both",
|
|
5552
5556
|
animationName: il
|
|
5553
5557
|
}
|
|
5554
|
-
}), sl = new
|
|
5558
|
+
}), sl = new S("fadeIn", {
|
|
5555
5559
|
from: {
|
|
5556
5560
|
opacity: 0
|
|
5557
5561
|
},
|
|
5558
5562
|
to: {
|
|
5559
5563
|
opacity: 1
|
|
5560
5564
|
}
|
|
5561
|
-
}), cl = new
|
|
5565
|
+
}), cl = new S("fadeInLeft", {
|
|
5562
5566
|
from: {
|
|
5563
5567
|
opacity: 0,
|
|
5564
5568
|
transform: "translate3d(-100%, 0, 0)"
|
|
@@ -5567,7 +5571,7 @@ const {
|
|
|
5567
5571
|
opacity: 1,
|
|
5568
5572
|
transform: "translate3d(0, 0, 0)"
|
|
5569
5573
|
}
|
|
5570
|
-
}), ul = new
|
|
5574
|
+
}), ul = new S("fadeInRight", {
|
|
5571
5575
|
from: {
|
|
5572
5576
|
opacity: 0,
|
|
5573
5577
|
transform: "translate3d(100%, 0, 0)"
|
|
@@ -5576,7 +5580,7 @@ const {
|
|
|
5576
5580
|
opacity: 1,
|
|
5577
5581
|
transform: "translate3d(0, 0, 0)"
|
|
5578
5582
|
}
|
|
5579
|
-
}), dl = new
|
|
5583
|
+
}), dl = new S("fadeInDown", {
|
|
5580
5584
|
from: {
|
|
5581
5585
|
opacity: 0,
|
|
5582
5586
|
transform: "translate3d(0, -100%, 0)"
|
|
@@ -5585,7 +5589,7 @@ const {
|
|
|
5585
5589
|
opacity: 1,
|
|
5586
5590
|
transform: "translate3d(0, 0, 0)"
|
|
5587
5591
|
}
|
|
5588
|
-
}), ml = new
|
|
5592
|
+
}), ml = new S("fadeInUp", {
|
|
5589
5593
|
from: {
|
|
5590
5594
|
opacity: 0,
|
|
5591
5595
|
transform: "translate3d(0, 100%, 0)"
|
|
@@ -5594,7 +5598,7 @@ const {
|
|
|
5594
5598
|
opacity: 1,
|
|
5595
5599
|
transform: "translate3d(0, 0, 0)"
|
|
5596
5600
|
}
|
|
5597
|
-
}), fl = new
|
|
5601
|
+
}), fl = new S("fadeInDownBig", {
|
|
5598
5602
|
from: {
|
|
5599
5603
|
opacity: 0,
|
|
5600
5604
|
transform: "translate3d(0, -2000px, 0)"
|
|
@@ -5603,7 +5607,7 @@ const {
|
|
|
5603
5607
|
opacity: 1,
|
|
5604
5608
|
transform: "translate3d(0, 0, 0)"
|
|
5605
5609
|
}
|
|
5606
|
-
}), hl = new
|
|
5610
|
+
}), hl = new S("fadeInUpBig", {
|
|
5607
5611
|
from: {
|
|
5608
5612
|
opacity: 0,
|
|
5609
5613
|
transform: "translate3d(0, 2000px, 0)"
|
|
@@ -5612,7 +5616,7 @@ const {
|
|
|
5612
5616
|
opacity: 1,
|
|
5613
5617
|
transform: "translate3d(0, 0, 0)"
|
|
5614
5618
|
}
|
|
5615
|
-
}), gl = new
|
|
5619
|
+
}), gl = new S("fadeInLeftBig", {
|
|
5616
5620
|
from: {
|
|
5617
5621
|
opacity: 0,
|
|
5618
5622
|
transform: "translate3d(-2000px, 0, 0)"
|
|
@@ -5621,7 +5625,7 @@ const {
|
|
|
5621
5625
|
opacity: 1,
|
|
5622
5626
|
transform: "translate3d(0, 0, 0)"
|
|
5623
5627
|
}
|
|
5624
|
-
}), yl = new
|
|
5628
|
+
}), yl = new S("fadeInRightBig", {
|
|
5625
5629
|
from: {
|
|
5626
5630
|
opacity: 0,
|
|
5627
5631
|
transform: "translate3d(2000px, 0, 0)"
|
|
@@ -5630,7 +5634,7 @@ const {
|
|
|
5630
5634
|
opacity: 1,
|
|
5631
5635
|
transform: "translate3d(0, 0, 0)"
|
|
5632
5636
|
}
|
|
5633
|
-
}), bl = new
|
|
5637
|
+
}), bl = new S("fadeInTopLeft", {
|
|
5634
5638
|
from: {
|
|
5635
5639
|
opacity: 0,
|
|
5636
5640
|
transform: "translate3d(-100%, -100%, 0)"
|
|
@@ -5639,7 +5643,7 @@ const {
|
|
|
5639
5643
|
opacity: 1,
|
|
5640
5644
|
transform: "translate3d(0, 0, 0)"
|
|
5641
5645
|
}
|
|
5642
|
-
}), vl = new
|
|
5646
|
+
}), vl = new S("fadeInBottomRight", {
|
|
5643
5647
|
from: {
|
|
5644
5648
|
opacity: 0,
|
|
5645
5649
|
transform: "translate3d(100%, 100%, 0)"
|
|
@@ -5648,7 +5652,7 @@ const {
|
|
|
5648
5652
|
opacity: 1,
|
|
5649
5653
|
transform: "translate3d(0, 0, 0)"
|
|
5650
5654
|
}
|
|
5651
|
-
}), pl = new
|
|
5655
|
+
}), pl = new S("fadeInTopRight", {
|
|
5652
5656
|
from: {
|
|
5653
5657
|
opacity: 0,
|
|
5654
5658
|
transform: "translate3d(100%, -100%, 0)"
|
|
@@ -5657,7 +5661,7 @@ const {
|
|
|
5657
5661
|
opacity: 1,
|
|
5658
5662
|
transform: "translate3d(0, 0, 0)"
|
|
5659
5663
|
}
|
|
5660
|
-
}), Cl = new
|
|
5664
|
+
}), Cl = new S("fadeInBottomLeft", {
|
|
5661
5665
|
from: {
|
|
5662
5666
|
opacity: 0,
|
|
5663
5667
|
transform: "translate3d(-100%, 100%, 0)"
|
|
@@ -5666,14 +5670,14 @@ const {
|
|
|
5666
5670
|
opacity: 1,
|
|
5667
5671
|
transform: "translate3d(0, 0, 0)"
|
|
5668
5672
|
}
|
|
5669
|
-
}), xl = new
|
|
5673
|
+
}), xl = new S("fadeOut", {
|
|
5670
5674
|
from: {
|
|
5671
5675
|
opacity: 1
|
|
5672
5676
|
},
|
|
5673
5677
|
to: {
|
|
5674
5678
|
opacity: 0
|
|
5675
5679
|
}
|
|
5676
|
-
}), Sl = new
|
|
5680
|
+
}), Sl = new S("fadeOutLeft", {
|
|
5677
5681
|
from: {
|
|
5678
5682
|
opacity: 1
|
|
5679
5683
|
},
|
|
@@ -5681,7 +5685,7 @@ const {
|
|
|
5681
5685
|
opacity: 0,
|
|
5682
5686
|
transform: "translate3d(-100%, 0, 0)"
|
|
5683
5687
|
}
|
|
5684
|
-
}), Il = new
|
|
5688
|
+
}), Il = new S("fadeOutRight", {
|
|
5685
5689
|
from: {
|
|
5686
5690
|
opacity: 1
|
|
5687
5691
|
},
|
|
@@ -5689,7 +5693,7 @@ const {
|
|
|
5689
5693
|
opacity: 0,
|
|
5690
5694
|
transform: "translate3d(100%, 0, 0)"
|
|
5691
5695
|
}
|
|
5692
|
-
}), wl = new
|
|
5696
|
+
}), wl = new S("fadeOutDown", {
|
|
5693
5697
|
from: {
|
|
5694
5698
|
opacity: 1
|
|
5695
5699
|
},
|
|
@@ -5697,7 +5701,7 @@ const {
|
|
|
5697
5701
|
opacity: 0,
|
|
5698
5702
|
transform: "translate3d(0, 100%, 0)"
|
|
5699
5703
|
}
|
|
5700
|
-
}), Rl = new
|
|
5704
|
+
}), Rl = new S("fadeOutUp", {
|
|
5701
5705
|
from: {
|
|
5702
5706
|
opacity: 1
|
|
5703
5707
|
},
|
|
@@ -5705,7 +5709,7 @@ const {
|
|
|
5705
5709
|
opacity: 0,
|
|
5706
5710
|
transform: "translate3d(0, -100%, 0)"
|
|
5707
5711
|
}
|
|
5708
|
-
}), $l = new
|
|
5712
|
+
}), $l = new S("fadeOutDownBig", {
|
|
5709
5713
|
from: {
|
|
5710
5714
|
opacity: 1
|
|
5711
5715
|
},
|
|
@@ -5713,7 +5717,7 @@ const {
|
|
|
5713
5717
|
opacity: 0,
|
|
5714
5718
|
transform: "translate3d(0, 2000px, 0)"
|
|
5715
5719
|
}
|
|
5716
|
-
}), Bl = new
|
|
5720
|
+
}), Bl = new S("fadeOutUpBig", {
|
|
5717
5721
|
from: {
|
|
5718
5722
|
opacity: 1
|
|
5719
5723
|
},
|
|
@@ -5721,7 +5725,7 @@ const {
|
|
|
5721
5725
|
opacity: 0,
|
|
5722
5726
|
transform: "translate3d(0, -2000px, 0)"
|
|
5723
5727
|
}
|
|
5724
|
-
}), Ml = new
|
|
5728
|
+
}), Ml = new S("fadeOutLeftBig", {
|
|
5725
5729
|
from: {
|
|
5726
5730
|
opacity: 1
|
|
5727
5731
|
},
|
|
@@ -5729,7 +5733,7 @@ const {
|
|
|
5729
5733
|
opacity: 0,
|
|
5730
5734
|
transform: "translate3d(-2000px, 0, 0)"
|
|
5731
5735
|
}
|
|
5732
|
-
}), Ll = new
|
|
5736
|
+
}), Ll = new S("fadeOutRightBig", {
|
|
5733
5737
|
from: {
|
|
5734
5738
|
opacity: 1
|
|
5735
5739
|
},
|
|
@@ -5737,7 +5741,7 @@ const {
|
|
|
5737
5741
|
opacity: 0,
|
|
5738
5742
|
transform: "translate3d(2000px, 0, 0)"
|
|
5739
5743
|
}
|
|
5740
|
-
}), Ol = new
|
|
5744
|
+
}), Ol = new S("fadeOutTopLeft", {
|
|
5741
5745
|
from: {
|
|
5742
5746
|
opacity: 1,
|
|
5743
5747
|
transform: "translate3d(0, 0, 0)"
|
|
@@ -5746,7 +5750,7 @@ const {
|
|
|
5746
5750
|
opacity: 0,
|
|
5747
5751
|
transform: "translate3d(-100%, -100%, 0)"
|
|
5748
5752
|
}
|
|
5749
|
-
}), Fl = new
|
|
5753
|
+
}), Fl = new S("fadeOutBottomRight", {
|
|
5750
5754
|
from: {
|
|
5751
5755
|
opacity: 1,
|
|
5752
5756
|
transform: "translate3d(0, 0, 0)"
|
|
@@ -5755,7 +5759,7 @@ const {
|
|
|
5755
5759
|
opacity: 0,
|
|
5756
5760
|
transform: "translate3d(100%, 100%, 0)"
|
|
5757
5761
|
}
|
|
5758
|
-
}), kl = new
|
|
5762
|
+
}), kl = new S("fadeOutTopRight", {
|
|
5759
5763
|
from: {
|
|
5760
5764
|
opacity: 1,
|
|
5761
5765
|
transform: "translate3d(0, 0, 0)"
|
|
@@ -5764,7 +5768,7 @@ const {
|
|
|
5764
5768
|
opacity: 0,
|
|
5765
5769
|
transform: "translate3d(100%, -100%, 0)"
|
|
5766
5770
|
}
|
|
5767
|
-
}), Tl = new
|
|
5771
|
+
}), Tl = new S("fadeOutBottomLeft", {
|
|
5768
5772
|
from: {
|
|
5769
5773
|
opacity: 1,
|
|
5770
5774
|
transform: "translate3d(0, 0, 0)"
|
|
@@ -5879,7 +5883,7 @@ const {
|
|
|
5879
5883
|
animationFillMode: "both",
|
|
5880
5884
|
animationName: Tl
|
|
5881
5885
|
}
|
|
5882
|
-
}), zl = new
|
|
5886
|
+
}), zl = new S("flipInX", {
|
|
5883
5887
|
from: {
|
|
5884
5888
|
opacity: 0,
|
|
5885
5889
|
animationTimingFunction: "ease-in",
|
|
@@ -5899,7 +5903,7 @@ const {
|
|
|
5899
5903
|
to: {
|
|
5900
5904
|
transform: "perspective(400px)"
|
|
5901
5905
|
}
|
|
5902
|
-
}), Dl = new
|
|
5906
|
+
}), Dl = new S("flipInY", {
|
|
5903
5907
|
from: {
|
|
5904
5908
|
opacity: 0,
|
|
5905
5909
|
animationTimingFunction: "ease-in",
|
|
@@ -5919,7 +5923,7 @@ const {
|
|
|
5919
5923
|
to: {
|
|
5920
5924
|
transform: "perspective(400px)"
|
|
5921
5925
|
}
|
|
5922
|
-
}), Al = new
|
|
5926
|
+
}), Al = new S("flipOutX", {
|
|
5923
5927
|
from: {
|
|
5924
5928
|
transform: "perspective(400px)"
|
|
5925
5929
|
},
|
|
@@ -5931,7 +5935,7 @@ const {
|
|
|
5931
5935
|
opacity: 0,
|
|
5932
5936
|
transform: "perspective(400px) rotate3d(1, 0, 0, 90deg)"
|
|
5933
5937
|
}
|
|
5934
|
-
}), Hl = new
|
|
5938
|
+
}), Hl = new S("flipOutY", {
|
|
5935
5939
|
from: {
|
|
5936
5940
|
transform: "perspective(400px)"
|
|
5937
5941
|
},
|
|
@@ -5967,7 +5971,7 @@ const {
|
|
|
5967
5971
|
animationDuration: `${0.3 * 0.75}s !important`,
|
|
5968
5972
|
animationName: Hl
|
|
5969
5973
|
}
|
|
5970
|
-
}), Kl = new
|
|
5974
|
+
}), Kl = new S("lightSpeedInLeft", {
|
|
5971
5975
|
from: {
|
|
5972
5976
|
opacity: 0,
|
|
5973
5977
|
transform: "translate3d(-100%, 0, 0) skewX(30deg)"
|
|
@@ -5982,7 +5986,7 @@ const {
|
|
|
5982
5986
|
to: {
|
|
5983
5987
|
transform: "translate3d(0, 0, 0)"
|
|
5984
5988
|
}
|
|
5985
|
-
}), Wl = new
|
|
5989
|
+
}), Wl = new S("lightSpeedInRight", {
|
|
5986
5990
|
from: {
|
|
5987
5991
|
opacity: 0,
|
|
5988
5992
|
transform: "translate3d(100%, 0, 0) skewX(-30deg)"
|
|
@@ -5997,7 +6001,7 @@ const {
|
|
|
5997
6001
|
to: {
|
|
5998
6002
|
transform: "translate3d(0, 0, 0)"
|
|
5999
6003
|
}
|
|
6000
|
-
}), Ul = new
|
|
6004
|
+
}), Ul = new S("lightSpeedOutLeft", {
|
|
6001
6005
|
from: {
|
|
6002
6006
|
opacity: 1
|
|
6003
6007
|
},
|
|
@@ -6005,7 +6009,7 @@ const {
|
|
|
6005
6009
|
opacity: 0,
|
|
6006
6010
|
transform: "translate3d(-100%, 0, 0) skewX(-30deg)"
|
|
6007
6011
|
}
|
|
6008
|
-
}), _l = new
|
|
6012
|
+
}), _l = new S("lightSpeedOutRight", {
|
|
6009
6013
|
from: {
|
|
6010
6014
|
opacity: 1
|
|
6011
6015
|
},
|
|
@@ -6035,7 +6039,7 @@ const {
|
|
|
6035
6039
|
animationTimingFunction: "ease-in",
|
|
6036
6040
|
animationName: _l
|
|
6037
6041
|
}
|
|
6038
|
-
}), Gl = new
|
|
6042
|
+
}), Gl = new S("rotateIn", {
|
|
6039
6043
|
from: {
|
|
6040
6044
|
opacity: 0,
|
|
6041
6045
|
transform: "rotate3d(0, 0, 1, -200deg)"
|
|
@@ -6044,7 +6048,7 @@ const {
|
|
|
6044
6048
|
opacity: 1,
|
|
6045
6049
|
transform: "translate3d(0, 0, 0)"
|
|
6046
6050
|
}
|
|
6047
|
-
}), Yl = new
|
|
6051
|
+
}), Yl = new S("rotateInDownLeft", {
|
|
6048
6052
|
from: {
|
|
6049
6053
|
opacity: 0,
|
|
6050
6054
|
transform: "rotate3d(0, 0, 1, -45deg)"
|
|
@@ -6053,7 +6057,7 @@ const {
|
|
|
6053
6057
|
opacity: 1,
|
|
6054
6058
|
transform: "translate3d(0, 0, 0)"
|
|
6055
6059
|
}
|
|
6056
|
-
}), ql = new
|
|
6060
|
+
}), ql = new S("rotateInDownRight", {
|
|
6057
6061
|
from: {
|
|
6058
6062
|
opacity: 0,
|
|
6059
6063
|
transform: "rotate3d(0, 0, 1, 45deg)"
|
|
@@ -6062,7 +6066,7 @@ const {
|
|
|
6062
6066
|
opacity: 1,
|
|
6063
6067
|
transform: "translate3d(0, 0, 0)"
|
|
6064
6068
|
}
|
|
6065
|
-
}), Ql = new
|
|
6069
|
+
}), Ql = new S("rotateInUpLeft", {
|
|
6066
6070
|
from: {
|
|
6067
6071
|
opacity: 0,
|
|
6068
6072
|
transform: "rotate3d(0, 0, 1, 45deg)"
|
|
@@ -6071,7 +6075,7 @@ const {
|
|
|
6071
6075
|
opacity: 1,
|
|
6072
6076
|
transform: "translate3d(0, 0, 0)"
|
|
6073
6077
|
}
|
|
6074
|
-
}), Zl = new
|
|
6078
|
+
}), Zl = new S("rotateInUpRight", {
|
|
6075
6079
|
from: {
|
|
6076
6080
|
opacity: 0,
|
|
6077
6081
|
transform: "rotate3d(0, 0, 1, -90deg)"
|
|
@@ -6080,7 +6084,7 @@ const {
|
|
|
6080
6084
|
opacity: 1,
|
|
6081
6085
|
transform: "translate3d(0, 0, 0)"
|
|
6082
6086
|
}
|
|
6083
|
-
}), Jl = new
|
|
6087
|
+
}), Jl = new S("rotateOut", {
|
|
6084
6088
|
from: {
|
|
6085
6089
|
opacity: 1
|
|
6086
6090
|
},
|
|
@@ -6088,7 +6092,7 @@ const {
|
|
|
6088
6092
|
opacity: 0,
|
|
6089
6093
|
transform: "rotate3d(0, 0, 1, 200deg)"
|
|
6090
6094
|
}
|
|
6091
|
-
}), er = new
|
|
6095
|
+
}), er = new S("rotateOutDownLeft", {
|
|
6092
6096
|
from: {
|
|
6093
6097
|
opacity: 1
|
|
6094
6098
|
},
|
|
@@ -6096,7 +6100,7 @@ const {
|
|
|
6096
6100
|
opacity: 0,
|
|
6097
6101
|
transform: "rotate3d(0, 0, 1, 45deg)"
|
|
6098
6102
|
}
|
|
6099
|
-
}), tr = new
|
|
6103
|
+
}), tr = new S("rotateOutDownRight", {
|
|
6100
6104
|
from: {
|
|
6101
6105
|
opacity: 1
|
|
6102
6106
|
},
|
|
@@ -6104,7 +6108,7 @@ const {
|
|
|
6104
6108
|
opacity: 0,
|
|
6105
6109
|
transform: "rotate3d(0, 0, 1, -45deg)"
|
|
6106
6110
|
}
|
|
6107
|
-
}), nr = new
|
|
6111
|
+
}), nr = new S("rotateOutUpLeft", {
|
|
6108
6112
|
from: {
|
|
6109
6113
|
opacity: 1
|
|
6110
6114
|
},
|
|
@@ -6112,7 +6116,7 @@ const {
|
|
|
6112
6116
|
opacity: 0,
|
|
6113
6117
|
transform: "rotate3d(0, 0, 1, -45deg)"
|
|
6114
6118
|
}
|
|
6115
|
-
}), ar = new
|
|
6119
|
+
}), ar = new S("rotateOutUpRight", {
|
|
6116
6120
|
from: {
|
|
6117
6121
|
opacity: 1
|
|
6118
6122
|
},
|
|
@@ -6172,7 +6176,7 @@ const {
|
|
|
6172
6176
|
transformOrigin: "right bottom",
|
|
6173
6177
|
animationName: ar
|
|
6174
6178
|
}
|
|
6175
|
-
}), lr = new
|
|
6179
|
+
}), lr = new S("rollIn", {
|
|
6176
6180
|
from: {
|
|
6177
6181
|
opacity: 0,
|
|
6178
6182
|
transform: "translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg)"
|
|
@@ -6181,7 +6185,7 @@ const {
|
|
|
6181
6185
|
opacity: 1,
|
|
6182
6186
|
transform: "translate3d(0, 0, 0)"
|
|
6183
6187
|
}
|
|
6184
|
-
}), rr = new
|
|
6188
|
+
}), rr = new S("rollOut", {
|
|
6185
6189
|
from: {
|
|
6186
6190
|
opacity: 1
|
|
6187
6191
|
},
|
|
@@ -6199,7 +6203,7 @@ const {
|
|
|
6199
6203
|
animationFillMode: "both",
|
|
6200
6204
|
animationName: rr
|
|
6201
6205
|
}
|
|
6202
|
-
}), ur = new
|
|
6206
|
+
}), ur = new S("zoomIn", {
|
|
6203
6207
|
from: {
|
|
6204
6208
|
opacity: 0,
|
|
6205
6209
|
transform: "scale3d(0.3, 0.3, 0.3)"
|
|
@@ -6207,7 +6211,7 @@ const {
|
|
|
6207
6211
|
"50%": {
|
|
6208
6212
|
opacity: 1
|
|
6209
6213
|
}
|
|
6210
|
-
}), dr = new
|
|
6214
|
+
}), dr = new S("zoomInDown", {
|
|
6211
6215
|
from: {
|
|
6212
6216
|
opacity: 0,
|
|
6213
6217
|
transform: "scale3d(0.1, 0.1, 0.1) translate3d(0, -1000px, 0)",
|
|
@@ -6218,7 +6222,7 @@ const {
|
|
|
6218
6222
|
transform: "scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0)",
|
|
6219
6223
|
animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
|
|
6220
6224
|
}
|
|
6221
|
-
}), mr = new
|
|
6225
|
+
}), mr = new S("zoomInLeft", {
|
|
6222
6226
|
from: {
|
|
6223
6227
|
opacity: 0,
|
|
6224
6228
|
transform: "scale3d(0.1, 0.1, 0.1) translate3d(-1000px, 0, 0)",
|
|
@@ -6229,7 +6233,7 @@ const {
|
|
|
6229
6233
|
transform: "scale3d(0.475, 0.475, 0.475) translate3d(10px, 0, 0)",
|
|
6230
6234
|
animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
|
|
6231
6235
|
}
|
|
6232
|
-
}), fr = new
|
|
6236
|
+
}), fr = new S("zoomInRight", {
|
|
6233
6237
|
from: {
|
|
6234
6238
|
opacity: 0,
|
|
6235
6239
|
transform: "scale3d(0.1, 0.1, 0.1) translate3d(1000px, 0, 0)",
|
|
@@ -6240,7 +6244,7 @@ const {
|
|
|
6240
6244
|
transform: "scale3d(0.475, 0.475, 0.475) translate3d(-10px, 0, 0)",
|
|
6241
6245
|
animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
|
|
6242
6246
|
}
|
|
6243
|
-
}), hr = new
|
|
6247
|
+
}), hr = new S("zoomInUp", {
|
|
6244
6248
|
from: {
|
|
6245
6249
|
opacity: 0,
|
|
6246
6250
|
transform: "scale3d(0.1, 0.1, 0.1) translate3d(0, 1000px, 0)",
|
|
@@ -6251,7 +6255,7 @@ const {
|
|
|
6251
6255
|
transform: "scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0)",
|
|
6252
6256
|
animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
|
|
6253
6257
|
}
|
|
6254
|
-
}), gr = new
|
|
6258
|
+
}), gr = new S("zoomOut", {
|
|
6255
6259
|
from: {
|
|
6256
6260
|
opacity: 1
|
|
6257
6261
|
},
|
|
@@ -6262,7 +6266,7 @@ const {
|
|
|
6262
6266
|
to: {
|
|
6263
6267
|
opacity: 0
|
|
6264
6268
|
}
|
|
6265
|
-
}), yr = new
|
|
6269
|
+
}), yr = new S("zoomOutDown", {
|
|
6266
6270
|
"40%": {
|
|
6267
6271
|
opacity: 1,
|
|
6268
6272
|
transform: "scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0)",
|
|
@@ -6273,7 +6277,7 @@ const {
|
|
|
6273
6277
|
transform: "scale3d(0.1, 0.1, 0.1) translate3d(0, 2000px, 0)",
|
|
6274
6278
|
animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
|
|
6275
6279
|
}
|
|
6276
|
-
}), br = new
|
|
6280
|
+
}), br = new S("zoomOutLeft", {
|
|
6277
6281
|
"40%": {
|
|
6278
6282
|
opacity: 1,
|
|
6279
6283
|
transform: "scale3d(0.475, 0.475, 0.475) translate3d(42px, 0, 0)"
|
|
@@ -6282,7 +6286,7 @@ const {
|
|
|
6282
6286
|
opacity: 0,
|
|
6283
6287
|
transform: "scale(0.1) translate3d(-2000px, 0, 0)"
|
|
6284
6288
|
}
|
|
6285
|
-
}), vr = new
|
|
6289
|
+
}), vr = new S("zoomOutRight", {
|
|
6286
6290
|
"40%": {
|
|
6287
6291
|
opacity: 1,
|
|
6288
6292
|
transform: "scale3d(0.475, 0.475, 0.475) translate3d(-42px, 0, 0)"
|
|
@@ -6291,7 +6295,7 @@ const {
|
|
|
6291
6295
|
opacity: 0,
|
|
6292
6296
|
transform: "scale(0.1) translate3d(2000px, 0, 0)"
|
|
6293
6297
|
}
|
|
6294
|
-
}), pr = new
|
|
6298
|
+
}), pr = new S("zoomOutUp", {
|
|
6295
6299
|
"40%": {
|
|
6296
6300
|
opacity: 1,
|
|
6297
6301
|
transform: "scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0)",
|
|
@@ -6348,7 +6352,7 @@ const {
|
|
|
6348
6352
|
transformOrigin: "center bottom",
|
|
6349
6353
|
animationName: pr
|
|
6350
6354
|
}
|
|
6351
|
-
}), Sr = new
|
|
6355
|
+
}), Sr = new S("slideInDown", {
|
|
6352
6356
|
from: {
|
|
6353
6357
|
transform: "translate3d(0, -100%, 0)",
|
|
6354
6358
|
visibility: "visible"
|
|
@@ -6356,7 +6360,7 @@ const {
|
|
|
6356
6360
|
to: {
|
|
6357
6361
|
transform: "translate3d(0, 0, 0)"
|
|
6358
6362
|
}
|
|
6359
|
-
}), Ir = new
|
|
6363
|
+
}), Ir = new S("slideInLeft", {
|
|
6360
6364
|
from: {
|
|
6361
6365
|
transform: "translate3d(-100%, 0, 0)",
|
|
6362
6366
|
visibility: "visible"
|
|
@@ -6364,7 +6368,7 @@ const {
|
|
|
6364
6368
|
to: {
|
|
6365
6369
|
transform: "translate3d(0, 0, 0)"
|
|
6366
6370
|
}
|
|
6367
|
-
}), wr = new
|
|
6371
|
+
}), wr = new S("slideInRight", {
|
|
6368
6372
|
from: {
|
|
6369
6373
|
transform: "translate3d(100%, 0, 0)",
|
|
6370
6374
|
visibility: "visible"
|
|
@@ -6372,7 +6376,7 @@ const {
|
|
|
6372
6376
|
to: {
|
|
6373
6377
|
transform: "translate3d(0, 0, 0)"
|
|
6374
6378
|
}
|
|
6375
|
-
}), Rr = new
|
|
6379
|
+
}), Rr = new S("slideInUp", {
|
|
6376
6380
|
from: {
|
|
6377
6381
|
transform: "translate3d(0, 100%, 0)",
|
|
6378
6382
|
visibility: "visible"
|
|
@@ -6380,7 +6384,7 @@ const {
|
|
|
6380
6384
|
to: {
|
|
6381
6385
|
transform: "translate3d(0, 0, 0)"
|
|
6382
6386
|
}
|
|
6383
|
-
}), $r = new
|
|
6387
|
+
}), $r = new S("slideOutDown", {
|
|
6384
6388
|
from: {
|
|
6385
6389
|
transform: "translate3d(0, 0, 0)"
|
|
6386
6390
|
},
|
|
@@ -6388,7 +6392,7 @@ const {
|
|
|
6388
6392
|
transform: "translate3d(0, 100%, 0)",
|
|
6389
6393
|
visibility: "hidden"
|
|
6390
6394
|
}
|
|
6391
|
-
}), Br = new
|
|
6395
|
+
}), Br = new S("slideOutLeft", {
|
|
6392
6396
|
from: {
|
|
6393
6397
|
transform: "translate3d(0, 0, 0)"
|
|
6394
6398
|
},
|
|
@@ -6396,7 +6400,7 @@ const {
|
|
|
6396
6400
|
transform: "translate3d(-100%, 0, 0)",
|
|
6397
6401
|
visibility: "hidden"
|
|
6398
6402
|
}
|
|
6399
|
-
}), Mr = new
|
|
6403
|
+
}), Mr = new S("slideOutRight", {
|
|
6400
6404
|
from: {
|
|
6401
6405
|
transform: "translate3d(0, 0, 0)"
|
|
6402
6406
|
},
|
|
@@ -6404,7 +6408,7 @@ const {
|
|
|
6404
6408
|
transform: "translate3d(100%, 0, 0)",
|
|
6405
6409
|
visibility: "hidden"
|
|
6406
6410
|
}
|
|
6407
|
-
}), Lr = new
|
|
6411
|
+
}), Lr = new S("slideOutUp", {
|
|
6408
6412
|
from: {
|
|
6409
6413
|
transform: "translate3d(0, 0, 0)"
|
|
6410
6414
|
},
|
|
@@ -6509,29 +6513,29 @@ const rs = /* @__PURE__ */ j({
|
|
|
6509
6513
|
}), {
|
|
6510
6514
|
wrapSSR: o,
|
|
6511
6515
|
hashId: i
|
|
6512
|
-
} = Tr(a), l = (
|
|
6513
|
-
if (
|
|
6514
|
-
return
|
|
6515
|
-
let
|
|
6516
|
-
return
|
|
6517
|
-
}, s = (
|
|
6518
|
-
const
|
|
6519
|
-
if (
|
|
6516
|
+
} = Tr(a), l = (g, f) => {
|
|
6517
|
+
if (g.length === 0 || g === "x" || g === "y")
|
|
6518
|
+
return g;
|
|
6519
|
+
let d = f.indexOf(g);
|
|
6520
|
+
return d = d % 2 === 1 ? d - 1 : d + 1, f[d];
|
|
6521
|
+
}, s = (g) => {
|
|
6522
|
+
const f = Tt.preset.find((b) => e.name === b.name);
|
|
6523
|
+
if (f === void 0)
|
|
6520
6524
|
return "";
|
|
6521
|
-
let
|
|
6522
|
-
e.direction === void 0 ?
|
|
6523
|
-
const
|
|
6524
|
-
return
|
|
6525
|
-
}, r = R(() => [s(!1), `${a}-enter`, i.value].join(" ")),
|
|
6525
|
+
let d = "";
|
|
6526
|
+
e.direction === void 0 ? d = f.directions[0] : d = f.directions.find((b) => b === e.direction) || "", d = d === void 0 || d === "default" ? "" : d, d !== "" && (d = g && e.reverse ? l(d, f.directions) : d, d = d[0].toUpperCase() + d.substring(1));
|
|
6527
|
+
const y = g ? "Out" : "In";
|
|
6528
|
+
return f.name + y + d;
|
|
6529
|
+
}, r = R(() => [s(!1), `${a}-enter`, i.value].join(" ")), h = R(() => [s(!0), `${a}-leave`, i.value].join(" "));
|
|
6526
6530
|
return () => {
|
|
6527
|
-
var
|
|
6528
|
-
return e.disabled ? (
|
|
6531
|
+
var g;
|
|
6532
|
+
return e.disabled ? (g = t.default) == null ? void 0 : g.call(t) : o(n(Un, {
|
|
6529
6533
|
enterActiveClass: r.value,
|
|
6530
|
-
leaveActiveClass:
|
|
6534
|
+
leaveActiveClass: h.value
|
|
6531
6535
|
}, {
|
|
6532
6536
|
default: () => {
|
|
6533
|
-
var
|
|
6534
|
-
return [(
|
|
6537
|
+
var f;
|
|
6538
|
+
return [(f = t.default) == null ? void 0 : f.call(t)];
|
|
6535
6539
|
}
|
|
6536
6540
|
}));
|
|
6537
6541
|
};
|
|
@@ -6543,7 +6547,7 @@ const rs = /* @__PURE__ */ j({
|
|
|
6543
6547
|
},
|
|
6544
6548
|
onItemClick: Function
|
|
6545
6549
|
}, Pr = (e, t) => {
|
|
6546
|
-
if (e && typeof e == "string" &&
|
|
6550
|
+
if (e && typeof e == "string" && $t(e))
|
|
6547
6551
|
return n("img", {
|
|
6548
6552
|
src: e,
|
|
6549
6553
|
alt: "logo"
|
|
@@ -6680,7 +6684,7 @@ export {
|
|
|
6680
6684
|
pn as BaseMenu,
|
|
6681
6685
|
Zo as DefaultHeader,
|
|
6682
6686
|
ts as GProLayout,
|
|
6683
|
-
|
|
6687
|
+
Kt as GlobalFooter,
|
|
6684
6688
|
os as PageContainer,
|
|
6685
6689
|
so as PageLoading,
|
|
6686
6690
|
ns as PageLock,
|
|
@@ -6688,8 +6692,8 @@ export {
|
|
|
6688
6692
|
as as RightContent,
|
|
6689
6693
|
bi as SearchPageInput,
|
|
6690
6694
|
ls as SettingDrawer,
|
|
6691
|
-
|
|
6692
|
-
|
|
6695
|
+
Vt as SiderMenuWrapper,
|
|
6696
|
+
Tt as animateSeting,
|
|
6693
6697
|
st as baseMenuProps,
|
|
6694
6698
|
Xo as checkThemeStatus,
|
|
6695
6699
|
zo as clearMenuItem,
|