@gx-design-vue/pro-layout 0.1.0-beta.72 → 0.1.0-beta.74
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/pro-layout.js +1081 -1092
- package/dist/pro-layout.umd.cjs +2 -2
- package/package.json +1 -1
package/dist/pro-layout.js
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { createVNode as t, defineComponent as E, createTextVNode as U, mergeProps as te, toRefs as Je, ref as me, reactive as Be, watch as ce, computed as $, unref as re, Fragment as J, withDirectives as zn, vShow as Nn, isVNode as Le, resolveComponent as Gt, nextTick as pt, watchEffect as An, onMounted as Yt, Transition as Hn } from "vue";
|
|
2
2
|
import { pick as ae, cloneDeep as Re, omit as Me } from "lodash-es";
|
|
3
|
-
import { LayoutFooter as jn, Spin as Ct, Tabs as xt, Menu as ye, Dropdown as dt, Layout as
|
|
4
|
-
import { useLocalStorage as tt,
|
|
3
|
+
import { LayoutFooter as jn, Spin as Ct, Tabs as xt, Menu as ye, Dropdown as dt, Layout as Ke, Popover as En, Badge as Kn, ConfigProvider as St, Drawer as Ye, Avatar as qt, Form as Ft, Input as Qt, Button as qe, Empty as Pt, MenuItem as Tt, Breadcrumb as Wn, Card as Un, Tooltip as et, List as Ie, Switch as Zt, TabPane as _n, Select as Xe, message as Xn, Segmented as Vn, Divider as st, Alert as Gn } from "ant-design-vue";
|
|
4
|
+
import { useLocalStorage as tt, useColorMode as Yn, useStyleTag as qn, useMagicKeys as Jt, whenever as mt, useThrottleFn as Qn, onKeyStroke as ct, useFullscreen as Zn, useDebounceFn as Jn, useClipboard as ea } from "@vueuse/core";
|
|
5
5
|
import { useState as be, useMemo as ft, useMergedState as ze, useMediaQuery as en } from "@gx-design-vue/pro-hooks";
|
|
6
|
-
import { getPrefixCls as oe, arrayRepeat as
|
|
7
|
-
import
|
|
8
|
-
import { createTypes as
|
|
9
|
-
import { spinProps as
|
|
6
|
+
import { getPrefixCls as oe, arrayRepeat as ta, getSlotVNode as $e, classNames as q, isBoolean as ne, merge as Ce, isNumber as Qe, isUrl as wt, isImg as na, convertValueBoolean as Ne, isObject as aa, getLevelData as It, deepCopy as oa, isArray as tn, getRandomNumber as ht, getSlot as le, getSlotsProps as ia, isWindowsOs as la, isDeepEqualReact as ra, isBrowser as sa } from "@gx-design-vue/pro-utils";
|
|
7
|
+
import ca, { themeConfig as Y, useContext as ua, useProStyle as fe, useStyle as Pe, mergeToken as He, getTokenLayoutTheme as ve, resetComponent as da, Keyframe as v, checkMenuDark as nt, getDefaultLayoutToken as at, useProConfigContext as Oe, getLayoutTheme as nn, useProForm as ma, unit as an, setAlpha as fa, defaultSystemTheme as ha, defaultLayout as ga, colorList as ya } from "@gx-design-vue/pro-provider";
|
|
8
|
+
import { createTypes as ba } from "vue-types";
|
|
9
|
+
import { spinProps as va } from "ant-design-vue/es/spin";
|
|
10
10
|
import we from "dayjs";
|
|
11
|
-
import { GithubOutlined as
|
|
11
|
+
import { GithubOutlined as pa, CloseOutlined as ot, FullscreenExitOutlined as on, FullscreenOutlined as ln, ReloadOutlined as gt, ExportOutlined as Ca, VerticalRightOutlined as xa, VerticalLeftOutlined as Sa, VerticalAlignMiddleOutlined as wa, SwapOutlined as Ia, DownOutlined as Ra, AppstoreOutlined as $a, createFromIconfontCN as Ba, ArrowLeftOutlined as La, MenuUnfoldOutlined as Oa, MenuFoldOutlined as Ma, UserOutlined as rn, LockOutlined as sn, MenuOutlined as ka, ArrowRightOutlined as Fa, SearchOutlined as Dt, EnterOutlined as Pa, ArrowUpOutlined as zt, CompressOutlined as Ta, ExpandOutlined as Da, SettingOutlined as cn, LogoutOutlined as za, DesktopOutlined as Na, CheckOutlined as un, NotificationOutlined as Aa, CopyOutlined as Ha, ClearOutlined as ja } from "@ant-design/icons-vue";
|
|
12
12
|
import { useProAppContext as Rt } from "@gx-design-vue/pro-app";
|
|
13
|
-
import { useRouter as it, RouterLink as
|
|
13
|
+
import { useRouter as it, RouterLink as Ea } from "vue-router";
|
|
14
14
|
import { getAlphaColor as ke } from "ant-design-vue/es/theme/themes/dark/colorAlgorithm";
|
|
15
|
-
import Ka, { GProModal as
|
|
15
|
+
import Ka, { GProModal as Wa } from "@gx-design-vue/pro-modal";
|
|
16
16
|
import "dayjs/locale/zh-cn";
|
|
17
|
-
import
|
|
18
|
-
import { GPorWaterMark as
|
|
19
|
-
import
|
|
17
|
+
import Ua from "ant-design-vue/es/vc-resize-observer";
|
|
18
|
+
import { GPorWaterMark as _a } from "@gx-design-vue/pro-watermark";
|
|
19
|
+
import Xa from "@gx-design-vue/scrollbar";
|
|
20
20
|
import { GColorPicker as Nt } from "@gx-design-vue/color-picker";
|
|
21
|
-
const V =
|
|
21
|
+
const V = ba({
|
|
22
22
|
func: void 0,
|
|
23
23
|
bool: void 0,
|
|
24
24
|
string: void 0,
|
|
@@ -120,7 +120,7 @@ const Fe = {
|
|
|
120
120
|
}
|
|
121
121
|
},
|
|
122
122
|
onLogoClick: Function
|
|
123
|
-
},
|
|
123
|
+
}, Va = {
|
|
124
124
|
...ae(Fe, ["title", "layout"]),
|
|
125
125
|
...lt
|
|
126
126
|
}, rt = {
|
|
@@ -312,7 +312,7 @@ const Fe = {
|
|
|
312
312
|
"onUpdate:tabs": {
|
|
313
313
|
type: Function
|
|
314
314
|
}
|
|
315
|
-
},
|
|
315
|
+
}, Ga = (e) => ({
|
|
316
316
|
[e.componentCls]: {
|
|
317
317
|
marginBlock: 0,
|
|
318
318
|
marginBlockStart: 48,
|
|
@@ -343,17 +343,17 @@ const Fe = {
|
|
|
343
343
|
}
|
|
344
344
|
}
|
|
345
345
|
}
|
|
346
|
-
}),
|
|
347
|
-
provideContext:
|
|
346
|
+
}), Ya = ["dark", "layout", "theme", "collapsed", "waterMark", "menuData", "openKeys", "splitMenus", "selectedKeys", "disableMobile", "fixSiderbar", "fixedHeader", "waterMarkProps", "shortcutKey", "pageContainerProps"], {
|
|
347
|
+
provideContext: qa,
|
|
348
348
|
useInjectContext: ie
|
|
349
|
-
} =
|
|
349
|
+
} = ua("pro-layout"), fn = [{
|
|
350
350
|
key: "Ant Design Pro",
|
|
351
351
|
title: "Ant Design Pro",
|
|
352
352
|
href: "https://pro.ant.design",
|
|
353
353
|
blankTarget: !0
|
|
354
354
|
}, {
|
|
355
355
|
key: "gitee",
|
|
356
|
-
title: t(
|
|
356
|
+
title: t(pa, null, null),
|
|
357
357
|
href: "https://github.com/gx12358/vue3-antd-admin",
|
|
358
358
|
blankTarget: !0
|
|
359
359
|
}, {
|
|
@@ -380,7 +380,7 @@ const Fe = {
|
|
|
380
380
|
}), {
|
|
381
381
|
wrapSSR: i,
|
|
382
382
|
hashId: l
|
|
383
|
-
} = fe("ProLayoutFooter", [
|
|
383
|
+
} = fe("ProLayoutFooter", [Ga], o);
|
|
384
384
|
return () => i(t(jn, {
|
|
385
385
|
style: {
|
|
386
386
|
padding: 0
|
|
@@ -468,14 +468,14 @@ const Fe = {
|
|
|
468
468
|
default: () => {
|
|
469
469
|
}
|
|
470
470
|
}
|
|
471
|
-
},
|
|
471
|
+
}, Qa = (e) => ({
|
|
472
472
|
[e.componentCls]: {
|
|
473
473
|
display: "flex",
|
|
474
474
|
flexDirection: "column",
|
|
475
475
|
width: "100%",
|
|
476
476
|
minHeight: "100vh"
|
|
477
477
|
}
|
|
478
|
-
}),
|
|
478
|
+
}), Za = (e) => {
|
|
479
479
|
var n, a;
|
|
480
480
|
return {
|
|
481
481
|
[e.componentCls]: {
|
|
@@ -508,13 +508,13 @@ const Fe = {
|
|
|
508
508
|
}
|
|
509
509
|
}
|
|
510
510
|
};
|
|
511
|
-
}, hn = ["menuLinksRender", "appLogoListRender", "siderActionsRender"], gn = ["appLogoListRender", "extraRightDropdownRender"], yn =
|
|
511
|
+
}, hn = ["menuLinksRender", "appLogoListRender", "siderActionsRender"], gn = ["appLogoListRender", "extraRightDropdownRender"], yn = ta([
|
|
512
512
|
...gn,
|
|
513
513
|
...hn,
|
|
514
514
|
"pageHeaderRender",
|
|
515
515
|
"pageLockRender",
|
|
516
516
|
"copyrightRender"
|
|
517
|
-
]),
|
|
517
|
+
]), Ja = [
|
|
518
518
|
"footerRender",
|
|
519
519
|
"menuExtraRender",
|
|
520
520
|
"menuFooterRender",
|
|
@@ -527,10 +527,10 @@ const Fe = {
|
|
|
527
527
|
"breadcrumbRender",
|
|
528
528
|
"collapsedButtonRender"
|
|
529
529
|
];
|
|
530
|
-
[...yn, ...
|
|
531
|
-
const
|
|
530
|
+
[...yn, ...Ja];
|
|
531
|
+
const eo = ["tabsVisible", "storageTabsBar", "collapsedWidth", "isChildrenLayout", "loading", "showTabsBar", "fixedTabsBar", "collapsed", "onReloadPage", "onTabsChange"], to = /* @__PURE__ */ E({
|
|
532
532
|
name: "PageLoading",
|
|
533
|
-
props:
|
|
533
|
+
props: va(),
|
|
534
534
|
inheritAttrs: !1,
|
|
535
535
|
slots: Object,
|
|
536
536
|
setup(e, {
|
|
@@ -552,7 +552,7 @@ const to = ["tabsVisible", "storageTabsBar", "collapsedWidth", "isChildrenLayout
|
|
|
552
552
|
}), null)]) : null;
|
|
553
553
|
};
|
|
554
554
|
}
|
|
555
|
-
}),
|
|
555
|
+
}), no = (e) => {
|
|
556
556
|
var n, a;
|
|
557
557
|
return {
|
|
558
558
|
[`${e.componentTitleCls}`]: {
|
|
@@ -640,16 +640,16 @@ const to = ["tabsVisible", "storageTabsBar", "collapsedWidth", "isChildrenLayout
|
|
|
640
640
|
}
|
|
641
641
|
};
|
|
642
642
|
};
|
|
643
|
-
function
|
|
643
|
+
function ao(e) {
|
|
644
644
|
return Pe("ProMultiTabs", (n) => {
|
|
645
645
|
const a = He(n, {
|
|
646
646
|
componentWrapCls: `${n.componentCls}-wrap`,
|
|
647
647
|
componentTitleCls: `${n.componentCls}-title`
|
|
648
648
|
});
|
|
649
|
-
return [
|
|
649
|
+
return [no(a)];
|
|
650
650
|
}, e);
|
|
651
651
|
}
|
|
652
|
-
const
|
|
652
|
+
const oo = (e) => ({
|
|
653
653
|
[`${e.componentCls}`]: {
|
|
654
654
|
width: "1em",
|
|
655
655
|
height: "1em",
|
|
@@ -658,13 +658,13 @@ const io = (e) => ({
|
|
|
658
658
|
overflow: "hidden"
|
|
659
659
|
}
|
|
660
660
|
});
|
|
661
|
-
function
|
|
661
|
+
function io(e) {
|
|
662
662
|
return Pe("ProIcon", (n) => {
|
|
663
663
|
const a = He(n, {});
|
|
664
|
-
return [
|
|
664
|
+
return [oo(a)];
|
|
665
665
|
}, e);
|
|
666
666
|
}
|
|
667
|
-
const
|
|
667
|
+
const We = /* @__PURE__ */ E({
|
|
668
668
|
name: "GIcon",
|
|
669
669
|
props: {
|
|
670
670
|
name: String,
|
|
@@ -679,7 +679,7 @@ const Ke = /* @__PURE__ */ E({
|
|
|
679
679
|
}), {
|
|
680
680
|
hashId: o,
|
|
681
681
|
wrapSSR: i
|
|
682
|
-
} =
|
|
682
|
+
} = io(a);
|
|
683
683
|
return () => i(t("span", {
|
|
684
684
|
style: n.style,
|
|
685
685
|
class: n.class,
|
|
@@ -697,10 +697,10 @@ const Ke = /* @__PURE__ */ E({
|
|
|
697
697
|
}, null)
|
|
698
698
|
])]));
|
|
699
699
|
}
|
|
700
|
-
}),
|
|
700
|
+
}), lo = [{
|
|
701
701
|
key: "fixed",
|
|
702
702
|
label: "置顶",
|
|
703
|
-
icon: (e) => t(
|
|
703
|
+
icon: (e) => t(We, {
|
|
704
704
|
name: e ? "unpinned" : "fixed"
|
|
705
705
|
}, null)
|
|
706
706
|
}, {
|
|
@@ -717,47 +717,47 @@ const Ke = /* @__PURE__ */ E({
|
|
|
717
717
|
}, {
|
|
718
718
|
key: "newBlank",
|
|
719
719
|
label: "新窗口打开",
|
|
720
|
-
icon: t(
|
|
720
|
+
icon: t(Ca, null, null)
|
|
721
721
|
}, {
|
|
722
722
|
key: "divider"
|
|
723
723
|
}, {
|
|
724
724
|
key: "closeLeftTabs",
|
|
725
725
|
label: "关闭左侧",
|
|
726
|
-
icon: t(
|
|
726
|
+
icon: t(xa, null, null)
|
|
727
727
|
}, {
|
|
728
728
|
key: "closeRightTabs",
|
|
729
729
|
label: "关闭右侧",
|
|
730
|
-
icon: t(
|
|
730
|
+
icon: t(Sa, null, null)
|
|
731
731
|
}, {
|
|
732
732
|
key: "divider"
|
|
733
733
|
}, {
|
|
734
734
|
key: "closeOthersTabs",
|
|
735
735
|
label: "关闭其他",
|
|
736
|
-
icon: t(
|
|
736
|
+
icon: t(wa, {
|
|
737
737
|
rotate: 90
|
|
738
738
|
}, null)
|
|
739
739
|
}, {
|
|
740
740
|
key: "closeAllTabs",
|
|
741
741
|
label: "关闭全部",
|
|
742
|
-
icon: t(
|
|
742
|
+
icon: t(Ia, null, null)
|
|
743
743
|
}];
|
|
744
|
-
function
|
|
744
|
+
function ro(e, n) {
|
|
745
745
|
const {
|
|
746
746
|
fixed: a
|
|
747
747
|
} = n.tabs, o = ne(a) ? a : a === 0;
|
|
748
748
|
return e.key === "fixed" ? o ? "取消置顶" : "置顶" : e.key === "fullScreen" ? n.fullScreen ? "还原" : "最大化" : e.label;
|
|
749
749
|
}
|
|
750
|
-
function
|
|
750
|
+
function so(e) {
|
|
751
751
|
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Le(e);
|
|
752
752
|
}
|
|
753
|
-
function
|
|
753
|
+
function W(e) {
|
|
754
754
|
var a;
|
|
755
755
|
const {
|
|
756
756
|
fullPath: n
|
|
757
757
|
} = ((a = e == null ? void 0 : e.meta) == null ? void 0 : a.tabState) || {};
|
|
758
758
|
return n || e.fullPath || e.path;
|
|
759
759
|
}
|
|
760
|
-
const
|
|
760
|
+
const co = xt.TabPane, uo = ye.Item, mo = /* @__PURE__ */ E({
|
|
761
761
|
props: yt,
|
|
762
762
|
inheritAttrs: !1,
|
|
763
763
|
setup(e) {
|
|
@@ -771,39 +771,39 @@ const uo = xt.TabPane, mo = ye.Item, fo = /* @__PURE__ */ E({
|
|
|
771
771
|
contextMenuActiveKey: ""
|
|
772
772
|
}), r = it(), {
|
|
773
773
|
contentFullScreen: c,
|
|
774
|
-
levelMenuData:
|
|
775
|
-
flatMenuData:
|
|
776
|
-
layout:
|
|
774
|
+
levelMenuData: y,
|
|
775
|
+
flatMenuData: b,
|
|
776
|
+
layout: m,
|
|
777
777
|
splitMenus: d,
|
|
778
|
-
getPrefixCls:
|
|
779
|
-
} = ie(),
|
|
778
|
+
getPrefixCls: w
|
|
779
|
+
} = ie(), C = w({
|
|
780
780
|
isPor: !0,
|
|
781
781
|
suffixCls: "tabs-route"
|
|
782
782
|
}), {
|
|
783
783
|
wrapSSR: u,
|
|
784
|
-
hashId:
|
|
785
|
-
} =
|
|
784
|
+
hashId: p
|
|
785
|
+
} = ao(C), S = tt(C, {
|
|
786
786
|
fixed: [],
|
|
787
787
|
normal: []
|
|
788
788
|
}), s = Be({
|
|
789
|
-
fixed: o.value && ((pe =
|
|
790
|
-
normal: o.value && ((xe =
|
|
789
|
+
fixed: o.value && ((pe = S.value) != null && pe.fixed) ? (Te = S.value) == null ? void 0 : Te.fixed : [],
|
|
790
|
+
normal: o.value && ((xe = S.value) != null && xe.normal) ? (Se = S.value) == null ? void 0 : Se.normal : []
|
|
791
791
|
});
|
|
792
|
-
ce(o, (
|
|
793
|
-
|
|
792
|
+
ce(o, (g) => {
|
|
793
|
+
S.value = g ? Re(s) : {
|
|
794
794
|
fixed: [],
|
|
795
795
|
normal: []
|
|
796
796
|
};
|
|
797
797
|
});
|
|
798
|
-
const
|
|
799
|
-
const
|
|
800
|
-
return
|
|
801
|
-
}), R = $(() => q(`${
|
|
802
|
-
[`${
|
|
803
|
-
[`${
|
|
804
|
-
[`${
|
|
798
|
+
const h = $(() => s.fixed.concat(s.normal)), f = $(() => m.value === "mix" && !e.isMobile && d.value), x = $(() => W(r.currentRoute.value)), I = $(() => a.value && !n.value), F = $(() => {
|
|
799
|
+
const g = !(f.value && re(b.value).length === 0 || y.value.length === 0 || m.value === "top");
|
|
800
|
+
return I.value && g ? `calc(100% - ${e.collapsed ? e.collapsedWidth : e.siderWidth}px)` : "100%";
|
|
801
|
+
}), R = $(() => q(`${C}-wrap`, {
|
|
802
|
+
[`${p.value}`]: !0,
|
|
803
|
+
[`${C}-wrap-fixed`]: a.value,
|
|
804
|
+
[`${C}-wrap-loading`]: e.loading
|
|
805
805
|
})), B = $(() => {
|
|
806
|
-
const
|
|
806
|
+
const g = {
|
|
807
807
|
display: e.visible ? void 0 : "none"
|
|
808
808
|
};
|
|
809
809
|
return a.value ? {
|
|
@@ -812,101 +812,101 @@ const uo = xt.TabPane, mo = ye.Item, fo = /* @__PURE__ */ E({
|
|
|
812
812
|
paddingTop: "6px",
|
|
813
813
|
zIndex: 99,
|
|
814
814
|
top: c.value ? 0 : void 0,
|
|
815
|
-
...
|
|
816
|
-
} :
|
|
815
|
+
...g
|
|
816
|
+
} : g;
|
|
817
817
|
});
|
|
818
|
-
ce(() => s, (
|
|
818
|
+
ce(() => s, (g) => {
|
|
819
819
|
var O;
|
|
820
|
-
o.value && (
|
|
820
|
+
o.value && (S.value = Re(g)), (O = e.onTabsChange) == null || O.call(e, [...s.fixed, ...s.normal]);
|
|
821
821
|
}, {
|
|
822
822
|
deep: !0
|
|
823
823
|
});
|
|
824
|
-
const P = (
|
|
825
|
-
let T = s.fixed.find((j) =>
|
|
826
|
-
return T || (T = s.normal.find((j) =>
|
|
827
|
-
}, M = (
|
|
824
|
+
const P = (g, O) => {
|
|
825
|
+
let T = s.fixed.find((j) => W(j) === g || j.name === O);
|
|
826
|
+
return T || (T = s.normal.find((j) => W(j) === g || j.name === O)), T;
|
|
827
|
+
}, M = (g) => W(g) === x.value, N = (g) => {
|
|
828
828
|
var T;
|
|
829
829
|
const {
|
|
830
830
|
fixed: O
|
|
831
|
-
} = ((T =
|
|
832
|
-
return
|
|
833
|
-
}, Q = (
|
|
831
|
+
} = ((T = g == null ? void 0 : g.meta) == null ? void 0 : T.tabState) || {};
|
|
832
|
+
return g != null && g.meta ? ne(O) ? O : O === 0 : !1;
|
|
833
|
+
}, Q = (g) => {
|
|
834
834
|
var T, j;
|
|
835
835
|
const {
|
|
836
836
|
hidden: O
|
|
837
|
-
} = ((T =
|
|
838
|
-
if (
|
|
839
|
-
const z = N(
|
|
840
|
-
path:
|
|
837
|
+
} = ((T = g == null ? void 0 : g.meta) == null ? void 0 : T.tabState) || {};
|
|
838
|
+
if (g.name && g.meta && O !== !0) {
|
|
839
|
+
const z = N(g), A = W(g), ue = P(A, g.name), De = {
|
|
840
|
+
path: g.path,
|
|
841
841
|
fullPath: A,
|
|
842
|
-
query:
|
|
843
|
-
params:
|
|
844
|
-
name:
|
|
845
|
-
meta: Ce(
|
|
842
|
+
query: g.query,
|
|
843
|
+
params: g.params,
|
|
844
|
+
name: g.name,
|
|
845
|
+
meta: Ce(g.meta, {
|
|
846
846
|
tabState: {
|
|
847
|
-
...(j =
|
|
847
|
+
...(j = g.meta) == null ? void 0 : j.tabState,
|
|
848
848
|
originPath: A
|
|
849
849
|
}
|
|
850
850
|
})
|
|
851
851
|
};
|
|
852
|
-
ue ? Ce(ue, De) : z ? s.fixed.push(De) : s.normal.push(De), M(
|
|
852
|
+
ue ? Ce(ue, De) : z ? s.fixed.push(De) : s.normal.push(De), M(g) && (l.activeKey = A);
|
|
853
853
|
}
|
|
854
|
-
}, _ = (
|
|
855
|
-
|
|
854
|
+
}, _ = (g) => {
|
|
855
|
+
g.forEach((O) => {
|
|
856
856
|
N(O) && Q(re(O));
|
|
857
857
|
});
|
|
858
858
|
};
|
|
859
|
-
ce(() =>
|
|
860
|
-
_(
|
|
859
|
+
ce(() => y.value, (g) => {
|
|
860
|
+
_(g);
|
|
861
861
|
}, {
|
|
862
862
|
deep: !0,
|
|
863
863
|
immediate: !0
|
|
864
|
-
}), ce(() => r.currentRoute.value, (
|
|
865
|
-
Q(
|
|
864
|
+
}), ce(() => r.currentRoute.value, (g) => {
|
|
865
|
+
Q(g);
|
|
866
866
|
}, {
|
|
867
867
|
deep: !0,
|
|
868
868
|
immediate: !0
|
|
869
869
|
});
|
|
870
|
-
const X = (
|
|
870
|
+
const X = (g) => {
|
|
871
871
|
var O, T, j;
|
|
872
|
-
return ((j = (T = (O =
|
|
873
|
-
}, he = (
|
|
872
|
+
return ((j = (T = (O = h.value.find((z) => (g || l.activeKey) === W(z))) == null ? void 0 : O.meta) == null ? void 0 : T.tabState) == null ? void 0 : j.originPath) || g || l.activeKey;
|
|
873
|
+
}, he = (g, {
|
|
874
874
|
type: O,
|
|
875
875
|
addType: T,
|
|
876
876
|
params: j
|
|
877
877
|
}) => {
|
|
878
|
-
const z = N(
|
|
879
|
-
O === "add" && T ? s[z][T](j) : O === "merge" ? s[z] = s[z].map((A) =>
|
|
878
|
+
const z = N(g) ? "fixed" : "normal";
|
|
879
|
+
O === "add" && T ? s[z][T](j) : O === "merge" ? s[z] = s[z].map((A) => W(A) === W(g) ? Ce(A, j) : A) : O === "remove" && (s[z] = s[z].filter((A) => W(A) !== W(g)));
|
|
880
880
|
}, de = () => {
|
|
881
|
-
const
|
|
882
|
-
|
|
883
|
-
path: X(
|
|
881
|
+
const g = h.value.slice(-1)[0];
|
|
882
|
+
g ? r.push({
|
|
883
|
+
path: X(W(g))
|
|
884
884
|
}) : r.push("/");
|
|
885
|
-
}, L = async (
|
|
886
|
-
const O =
|
|
885
|
+
}, L = async (g) => {
|
|
886
|
+
const O = h.value.find((T) => g === W(T));
|
|
887
887
|
O && (he(O, {
|
|
888
888
|
type: "remove",
|
|
889
889
|
params: O
|
|
890
890
|
}), M(O) && de());
|
|
891
|
-
}, k = (
|
|
892
|
-
const O =
|
|
893
|
-
O && l.activeKey !==
|
|
894
|
-
path: X(
|
|
891
|
+
}, k = (g) => {
|
|
892
|
+
const O = h.value.find((T) => W(T) === g);
|
|
893
|
+
O && l.activeKey !== W(O) && r.push({
|
|
894
|
+
path: X(W(O))
|
|
895
895
|
});
|
|
896
896
|
}, D = () => {
|
|
897
|
-
var
|
|
898
|
-
i.value = !0, e.onReloadPage && ((
|
|
897
|
+
var g;
|
|
898
|
+
i.value = !0, e.onReloadPage && ((g = e.onReloadPage) == null || g.call(e)), setTimeout(() => {
|
|
899
899
|
i.value = !1;
|
|
900
900
|
}, 500);
|
|
901
|
-
},
|
|
902
|
-
const O =
|
|
903
|
-
l.activeKey !==
|
|
904
|
-
}, ge = (
|
|
905
|
-
let T = s.normal.findIndex((A) =>
|
|
906
|
-
const j =
|
|
907
|
-
switch (
|
|
901
|
+
}, K = (g) => l[g], ee = (g) => {
|
|
902
|
+
const O = h.value.find((T) => W(T) === K(g));
|
|
903
|
+
l.activeKey !== K(g) && (s.normal.length > 0 ? P(W(O)) || r.push(X(K(g))) : de());
|
|
904
|
+
}, ge = (g, O) => {
|
|
905
|
+
let T = s.normal.findIndex((A) => W(A) === K(O));
|
|
906
|
+
const j = h.value.find((A) => W(A) === K(O)), z = N(j);
|
|
907
|
+
switch (g) {
|
|
908
908
|
case "fixed":
|
|
909
|
-
z ? (T = s.fixed.findIndex((A) =>
|
|
909
|
+
z ? (T = s.fixed.findIndex((A) => W(A) === K(O)), s.normal.unshift(Ce(j, {
|
|
910
910
|
meta: {
|
|
911
911
|
tabState: {
|
|
912
912
|
fixed: !z
|
|
@@ -921,10 +921,10 @@ const uo = xt.TabPane, mo = ye.Item, fo = /* @__PURE__ */ E({
|
|
|
921
921
|
})), s.normal = s.normal.filter((A, ue) => ue !== T));
|
|
922
922
|
break;
|
|
923
923
|
case "close":
|
|
924
|
-
!i.value && L(
|
|
924
|
+
!i.value && L(W(j) || "");
|
|
925
925
|
break;
|
|
926
926
|
case "closeOthersTabs":
|
|
927
|
-
s.normal = s.normal.filter((A) =>
|
|
927
|
+
s.normal = s.normal.filter((A) => W(A) === K(O) || N(A)), ee(O);
|
|
928
928
|
break;
|
|
929
929
|
case "closeLeftTabs":
|
|
930
930
|
Qe(T) && (s.normal = s.normal.filter((A, ue) => ue >= T || N(A))), ee(O);
|
|
@@ -936,7 +936,7 @@ const uo = xt.TabPane, mo = ye.Item, fo = /* @__PURE__ */ E({
|
|
|
936
936
|
s.normal = s.normal.filter((A) => N(A)), de();
|
|
937
937
|
break;
|
|
938
938
|
case "reloadPage":
|
|
939
|
-
(T === 0 || T) && l.activeKey ===
|
|
939
|
+
(T === 0 || T) && l.activeKey === K(O) && D();
|
|
940
940
|
break;
|
|
941
941
|
case "newBlank":
|
|
942
942
|
window.open(location.href);
|
|
@@ -945,29 +945,29 @@ const uo = xt.TabPane, mo = ye.Item, fo = /* @__PURE__ */ E({
|
|
|
945
945
|
c.value = !c.value;
|
|
946
946
|
break;
|
|
947
947
|
}
|
|
948
|
-
}, H = (
|
|
949
|
-
const T =
|
|
950
|
-
if (
|
|
951
|
-
return
|
|
952
|
-
if (
|
|
953
|
-
return
|
|
954
|
-
if (
|
|
955
|
-
return
|
|
956
|
-
}, G = (
|
|
948
|
+
}, H = (g, O) => {
|
|
949
|
+
const T = h.value.findIndex((j) => W(j) === O);
|
|
950
|
+
if (g === "closeOthersTabs")
|
|
951
|
+
return h.value.filter((z, A) => A !== T && !N(z)).length === 0;
|
|
952
|
+
if (g === "closeLeftTabs")
|
|
953
|
+
return h.value.filter((z, A) => A < T && !N(z)).length === 0;
|
|
954
|
+
if (g === "closeRightTabs")
|
|
955
|
+
return h.value.filter((z, A) => A > T && !N(z)).length === 0;
|
|
956
|
+
}, G = (g) => {
|
|
957
957
|
let O;
|
|
958
958
|
const {
|
|
959
959
|
path: T,
|
|
960
960
|
stateType: j
|
|
961
|
-
} =
|
|
961
|
+
} = g;
|
|
962
962
|
return t(ye, {
|
|
963
963
|
selectedKeys: [],
|
|
964
964
|
onClick: (z) => ge(z.key, j)
|
|
965
|
-
},
|
|
965
|
+
}, so(O = lo.map((z) => {
|
|
966
966
|
if (z.key === "divider") return t(ye.Divider, {
|
|
967
967
|
key: z.key
|
|
968
968
|
}, null);
|
|
969
969
|
const A = z.icon;
|
|
970
|
-
return z.key === "close" && N(P(T)) ? null : t(
|
|
970
|
+
return z.key === "close" && N(P(T)) ? null : t(uo, {
|
|
971
971
|
key: z.key,
|
|
972
972
|
disabled: H(z.key, T)
|
|
973
973
|
}, {
|
|
@@ -977,7 +977,7 @@ const uo = xt.TabPane, mo = ye.Item, fo = /* @__PURE__ */ E({
|
|
|
977
977
|
style: {
|
|
978
978
|
marginInlineStart: "8px"
|
|
979
979
|
}
|
|
980
|
-
}, [
|
|
980
|
+
}, [ro(z, {
|
|
981
981
|
tabs: ((De = (ue = P(T)) == null ? void 0 : ue.meta) == null ? void 0 : De.tabState) || {},
|
|
982
982
|
fullScreen: c.value
|
|
983
983
|
})])];
|
|
@@ -987,45 +987,45 @@ const uo = xt.TabPane, mo = ye.Item, fo = /* @__PURE__ */ E({
|
|
|
987
987
|
default: () => [O]
|
|
988
988
|
});
|
|
989
989
|
}, Z = ({
|
|
990
|
-
router:
|
|
990
|
+
router: g
|
|
991
991
|
}) => {
|
|
992
|
-
const O = e.itemRender ? e.itemRender(
|
|
992
|
+
const O = e.itemRender ? e.itemRender(g) : null, T = N(g);
|
|
993
993
|
return t(dt, {
|
|
994
994
|
trigger: "contextmenu",
|
|
995
995
|
overlay: t(G, {
|
|
996
|
-
path:
|
|
996
|
+
path: W(g) || "",
|
|
997
997
|
stateType: "contextMenuActiveKey"
|
|
998
998
|
}, null),
|
|
999
999
|
onOpenChange: (j) => {
|
|
1000
|
-
l.contextMenuActiveKey = j &&
|
|
1000
|
+
l.contextMenuActiveKey = j && W(g) || "";
|
|
1001
1001
|
}
|
|
1002
1002
|
}, {
|
|
1003
1003
|
default: () => {
|
|
1004
1004
|
var j;
|
|
1005
1005
|
return [O || t("div", {
|
|
1006
|
-
class: [`${
|
|
1007
|
-
}, [l.activeKey ===
|
|
1008
|
-
class: [`${
|
|
1006
|
+
class: [`${C}-title`, p.value]
|
|
1007
|
+
}, [l.activeKey === W(g) && t(gt, {
|
|
1008
|
+
class: [`${C}-reload-btn`, p.value],
|
|
1009
1009
|
spin: i.value,
|
|
1010
1010
|
onClick: (z) => {
|
|
1011
1011
|
z.stopPropagation(), !i.value && D();
|
|
1012
1012
|
}
|
|
1013
|
-
}, null), (j =
|
|
1014
|
-
class: [`${
|
|
1013
|
+
}, null), (j = g.meta) == null ? void 0 : j.title, T && t(We, {
|
|
1014
|
+
class: [`${C}-icon`, p.value],
|
|
1015
1015
|
name: "fixed"
|
|
1016
|
-
}, null),
|
|
1017
|
-
class: [`${
|
|
1016
|
+
}, null), h.value.length > 1 && !N(g) && t(ot, {
|
|
1017
|
+
class: [`${C}-close-btn`, p.value],
|
|
1018
1018
|
onClick: (z) => {
|
|
1019
|
-
z.stopPropagation(), !i.value && L(
|
|
1019
|
+
z.stopPropagation(), !i.value && L(W(g) || "");
|
|
1020
1020
|
}
|
|
1021
1021
|
}, null)])];
|
|
1022
1022
|
}
|
|
1023
1023
|
});
|
|
1024
1024
|
};
|
|
1025
1025
|
return () => {
|
|
1026
|
-
const
|
|
1026
|
+
const g = c.value ? on : ln;
|
|
1027
1027
|
return u(t(J, null, [a.value && zn(t("div", {
|
|
1028
|
-
class: [`${
|
|
1028
|
+
class: [`${C}-fixed`, p.value]
|
|
1029
1029
|
}, null), [[Nn, e.visible]]), t(xt, {
|
|
1030
1030
|
hideAdd: !0,
|
|
1031
1031
|
type: "editable-card",
|
|
@@ -1034,45 +1034,45 @@ const uo = xt.TabPane, mo = ye.Item, fo = /* @__PURE__ */ E({
|
|
|
1034
1034
|
activeKey: l.activeKey,
|
|
1035
1035
|
onTabClick: k
|
|
1036
1036
|
}, {
|
|
1037
|
-
default: () => [
|
|
1038
|
-
key:
|
|
1037
|
+
default: () => [h.value.map((O) => t(co, {
|
|
1038
|
+
key: W(O),
|
|
1039
1039
|
closable: !1,
|
|
1040
1040
|
tab: t(Z, {
|
|
1041
1041
|
router: O
|
|
1042
1042
|
}, null)
|
|
1043
1043
|
}, null))],
|
|
1044
1044
|
rightExtra: () => t("div", {
|
|
1045
|
-
class: q(`${
|
|
1045
|
+
class: q(`${C}-dropdown-menu`, p.value)
|
|
1046
1046
|
}, [t(gt, {
|
|
1047
|
-
class: [`${
|
|
1047
|
+
class: [`${C}-dropdown-menu-btn`, p.value],
|
|
1048
1048
|
onClick: () => ge("reloadPage", "activeKey")
|
|
1049
1049
|
}, null), t("div", {
|
|
1050
|
-
class: [`${
|
|
1050
|
+
class: [`${C}-dropdown-menu-btn-divider`, p.value]
|
|
1051
1051
|
}, null), t(dt, {
|
|
1052
1052
|
overlay: t(G, {
|
|
1053
1053
|
path: l.activeKey,
|
|
1054
1054
|
stateType: "activeKey"
|
|
1055
1055
|
}, null)
|
|
1056
1056
|
}, {
|
|
1057
|
-
default: () => [t(
|
|
1058
|
-
class: [`${
|
|
1057
|
+
default: () => [t(Ra, {
|
|
1058
|
+
class: [`${C}-dropdown-menu-btn`, p.value]
|
|
1059
1059
|
}, null)]
|
|
1060
1060
|
}), t("div", {
|
|
1061
|
-
class: [`${
|
|
1062
|
-
}, null), t(
|
|
1063
|
-
class: [`${
|
|
1061
|
+
class: [`${C}-dropdown-menu-btn-divider`, p.value]
|
|
1062
|
+
}, null), t(g, {
|
|
1063
|
+
class: [`${C}-dropdown-menu-btn`, p.value],
|
|
1064
1064
|
onClick: () => ge("fullScreen", "activeKey")
|
|
1065
1065
|
}, null)])
|
|
1066
1066
|
})]));
|
|
1067
1067
|
};
|
|
1068
1068
|
}
|
|
1069
1069
|
}), {
|
|
1070
|
-
Content:
|
|
1071
|
-
} =
|
|
1070
|
+
Content: fo
|
|
1071
|
+
} = Ke, Bt = (e, {
|
|
1072
1072
|
slots: n,
|
|
1073
1073
|
attrs: a
|
|
1074
1074
|
}) => {
|
|
1075
|
-
var
|
|
1075
|
+
var m;
|
|
1076
1076
|
const {
|
|
1077
1077
|
hashId: o,
|
|
1078
1078
|
prefixCls: i,
|
|
@@ -1081,20 +1081,20 @@ const uo = xt.TabPane, mo = ye.Item, fo = /* @__PURE__ */ E({
|
|
|
1081
1081
|
...c
|
|
1082
1082
|
} = e;
|
|
1083
1083
|
if (e.isChildrenLayout)
|
|
1084
|
-
return (
|
|
1084
|
+
return (m = n.default) == null ? void 0 : m.call(n);
|
|
1085
1085
|
const {
|
|
1086
|
-
flatMenuData:
|
|
1087
|
-
layout:
|
|
1086
|
+
flatMenuData: y,
|
|
1087
|
+
layout: b
|
|
1088
1088
|
} = ie();
|
|
1089
|
-
return t(J, null, [t(
|
|
1090
|
-
visible: l ? r ? !0 :
|
|
1091
|
-
}, c), null), t(
|
|
1089
|
+
return t(J, null, [t(mo, te({
|
|
1090
|
+
visible: l ? r ? !0 : b.value === "mix" ? y.value.length > 0 : !0 : !1
|
|
1091
|
+
}, c), null), t(fo, {
|
|
1092
1092
|
style: a.style,
|
|
1093
1093
|
class: [`${i}-content`]
|
|
1094
1094
|
}, {
|
|
1095
1095
|
default: () => {
|
|
1096
1096
|
var d;
|
|
1097
|
-
return [e.loading && t(
|
|
1097
|
+
return [e.loading && t(to, null, null), t("div", {
|
|
1098
1098
|
class: [`${i}-content-spin-container`, o],
|
|
1099
1099
|
style: {
|
|
1100
1100
|
opacity: e.loading ? "0" : void 0
|
|
@@ -1105,7 +1105,7 @@ const uo = xt.TabPane, mo = ye.Item, fo = /* @__PURE__ */ E({
|
|
|
1105
1105
|
};
|
|
1106
1106
|
Bt.inheritAttrs = !1;
|
|
1107
1107
|
Bt.displayName = "wrap-content";
|
|
1108
|
-
const
|
|
1108
|
+
const ho = (e) => {
|
|
1109
1109
|
const { layout: n } = ve(e);
|
|
1110
1110
|
return {
|
|
1111
1111
|
[`${e.proComponentsCls}-header`]: {
|
|
@@ -1198,7 +1198,7 @@ const go = (e) => {
|
|
|
1198
1198
|
}
|
|
1199
1199
|
}
|
|
1200
1200
|
};
|
|
1201
|
-
},
|
|
1201
|
+
}, go = () => t($a, null, null), yo = (e) => {
|
|
1202
1202
|
var n;
|
|
1203
1203
|
return {
|
|
1204
1204
|
"&-content": {
|
|
@@ -1240,7 +1240,7 @@ const go = (e) => {
|
|
|
1240
1240
|
"&:hover": {
|
|
1241
1241
|
backgroundColor: e.colorBgTextHover
|
|
1242
1242
|
},
|
|
1243
|
-
"* div": (n =
|
|
1243
|
+
"* div": (n = da) == null ? void 0 : n(e),
|
|
1244
1244
|
a: {
|
|
1245
1245
|
display: "flex",
|
|
1246
1246
|
height: "100%",
|
|
@@ -1268,7 +1268,7 @@ const go = (e) => {
|
|
|
1268
1268
|
}
|
|
1269
1269
|
}
|
|
1270
1270
|
};
|
|
1271
|
-
},
|
|
1271
|
+
}, bo = (e) => ({
|
|
1272
1272
|
"&-content": {
|
|
1273
1273
|
maxHeight: "calc(100vh - 48px)",
|
|
1274
1274
|
overflow: "auto",
|
|
@@ -1350,12 +1350,12 @@ const go = (e) => {
|
|
|
1350
1350
|
}
|
|
1351
1351
|
}
|
|
1352
1352
|
}
|
|
1353
|
-
}),
|
|
1353
|
+
}), vo = (e) => ({
|
|
1354
1354
|
[e.componentCls]: {
|
|
1355
|
-
"&-simple":
|
|
1356
|
-
"&-default":
|
|
1355
|
+
"&-simple": bo(e),
|
|
1356
|
+
"&-default": yo(e)
|
|
1357
1357
|
}
|
|
1358
|
-
}),
|
|
1358
|
+
}), po = (e) => {
|
|
1359
1359
|
var a, o, i, l, r;
|
|
1360
1360
|
const { theme: n } = ve(e);
|
|
1361
1361
|
return {
|
|
@@ -1406,7 +1406,7 @@ const go = (e) => {
|
|
|
1406
1406
|
}
|
|
1407
1407
|
}
|
|
1408
1408
|
};
|
|
1409
|
-
},
|
|
1409
|
+
}, Co = ({
|
|
1410
1410
|
logo: e
|
|
1411
1411
|
}) => typeof e == "string" ? t("img", {
|
|
1412
1412
|
width: "auto",
|
|
@@ -1425,13 +1425,13 @@ const go = (e) => {
|
|
|
1425
1425
|
}), {
|
|
1426
1426
|
wrapSSR: o,
|
|
1427
1427
|
hashId: i
|
|
1428
|
-
} = fe("AppsLogoIcon", [
|
|
1428
|
+
} = fe("AppsLogoIcon", [po], a), [l, r] = be(!1), c = me(), y = me();
|
|
1429
1429
|
return () => {
|
|
1430
|
-
var
|
|
1430
|
+
var b;
|
|
1431
1431
|
return o(t(J, null, [t("div", {
|
|
1432
1432
|
ref: c,
|
|
1433
|
-
onClick: (
|
|
1434
|
-
|
|
1433
|
+
onClick: (m) => {
|
|
1434
|
+
m.stopPropagation(), m.preventDefault();
|
|
1435
1435
|
}
|
|
1436
1436
|
}, null), t(En, {
|
|
1437
1437
|
placement: "bottomRight",
|
|
@@ -1441,18 +1441,18 @@ const go = (e) => {
|
|
|
1441
1441
|
open: l.value,
|
|
1442
1442
|
onOpenChange: r,
|
|
1443
1443
|
overlayClassName: `${a}-popover ${i.value}`.trim(),
|
|
1444
|
-
content: (
|
|
1444
|
+
content: (b = n.default) == null ? void 0 : b.call(n),
|
|
1445
1445
|
getPopupContainer: () => c.value || document.body
|
|
1446
1446
|
}, {
|
|
1447
1447
|
default: () => [t("span", {
|
|
1448
|
-
ref:
|
|
1449
|
-
onClick: (
|
|
1450
|
-
|
|
1448
|
+
ref: y,
|
|
1449
|
+
onClick: (m) => {
|
|
1450
|
+
m.stopPropagation();
|
|
1451
1451
|
},
|
|
1452
1452
|
class: q(`${a}-icon`, i.value, {
|
|
1453
1453
|
[`${a}-icon-active`]: l.value
|
|
1454
1454
|
})
|
|
1455
|
-
}, [t(
|
|
1455
|
+
}, [t(go, null, null)])]
|
|
1456
1456
|
})]));
|
|
1457
1457
|
};
|
|
1458
1458
|
}
|
|
@@ -1469,14 +1469,14 @@ const Ze = (e) => {
|
|
|
1469
1469
|
if (!n)
|
|
1470
1470
|
return null;
|
|
1471
1471
|
if (typeof n == "string" && n !== "") {
|
|
1472
|
-
if (wt(n) ||
|
|
1472
|
+
if (wt(n) || na(n))
|
|
1473
1473
|
return t("img", {
|
|
1474
1474
|
src: n,
|
|
1475
1475
|
alt: "icon",
|
|
1476
1476
|
class: `${e.className}-icon-image`
|
|
1477
1477
|
}, null);
|
|
1478
1478
|
if (a === 1) {
|
|
1479
|
-
const l =
|
|
1479
|
+
const l = Ba({
|
|
1480
1480
|
scriptUrl: o || Y.iconfontUrl
|
|
1481
1481
|
});
|
|
1482
1482
|
return o ? t(l, {
|
|
@@ -1499,94 +1499,94 @@ const Ze = (e) => {
|
|
|
1499
1499
|
} = ie(), o = a({
|
|
1500
1500
|
suffixCls: "menu-item",
|
|
1501
1501
|
isPor: !0
|
|
1502
|
-
}), i = $(() =>
|
|
1503
|
-
var
|
|
1504
|
-
(
|
|
1502
|
+
}), i = $(() => C(e.menuData)), l = (u) => {
|
|
1503
|
+
var p;
|
|
1504
|
+
(p = e.onOpenKeys) == null || p.call(e, u);
|
|
1505
1505
|
}, r = (u) => {
|
|
1506
|
-
var
|
|
1507
|
-
(
|
|
1506
|
+
var p;
|
|
1507
|
+
(p = e.onSelect) == null || p.call(e, u.selectedKeys);
|
|
1508
1508
|
}, c = (u) => {
|
|
1509
|
-
var
|
|
1510
|
-
(
|
|
1511
|
-
},
|
|
1512
|
-
var
|
|
1513
|
-
const
|
|
1514
|
-
((
|
|
1515
|
-
},
|
|
1516
|
-
var
|
|
1517
|
-
const
|
|
1509
|
+
var p;
|
|
1510
|
+
(p = e.onClick) == null || p.call(e, u);
|
|
1511
|
+
}, y = (u, p) => {
|
|
1512
|
+
var h;
|
|
1513
|
+
const S = u.link || "", s = wt(S);
|
|
1514
|
+
((h = n.currentRoute.value) == null ? void 0 : h.fullPath) !== p.to && s && S && u.linkStatus === 1 && window.open(S);
|
|
1515
|
+
}, b = Gt("router-link"), m = (u, p) => {
|
|
1516
|
+
var f;
|
|
1517
|
+
const S = Ne(u == null ? void 0 : u.icon), s = typeof u.badge == "function" ? t("div", {
|
|
1518
1518
|
class: `${o}-item-bradde`
|
|
1519
|
-
}, [(
|
|
1520
|
-
class: [`${o}-title`, !
|
|
1519
|
+
}, [(f = u.badge) == null ? void 0 : f.call(u, Me(u, "badge"))]) : null, h = t("span", {
|
|
1520
|
+
class: [`${o}-title`, !S && `${o}-title-no-icon`]
|
|
1521
1521
|
}, [u.title]);
|
|
1522
|
-
return
|
|
1522
|
+
return p ? h : t(J, null, [h, s ?? (aa(u.badge) && t(Kn, te({
|
|
1523
1523
|
class: `${o}-item-bradde`,
|
|
1524
1524
|
overflowCount: 999
|
|
1525
1525
|
}, u.badge), null))]);
|
|
1526
1526
|
}, d = (u) => {
|
|
1527
1527
|
var F, R, B, P;
|
|
1528
|
-
let
|
|
1528
|
+
let p, S;
|
|
1529
1529
|
const s = {
|
|
1530
1530
|
...u.meta
|
|
1531
|
-
},
|
|
1531
|
+
}, h = s.linkStatus === 1 && s.link ? "a" : b, f = {
|
|
1532
1532
|
to: u.linkPath && e.layout === "mix" ? e.toFirstPath ? u.linkPath : "" : u.linkPath || u.path || ""
|
|
1533
|
-
},
|
|
1533
|
+
}, x = (F = u.meta) != null && F.icon ? t(h, te(f, {
|
|
1534
1534
|
class: "gx-pro-menu-item",
|
|
1535
|
-
onClick: () =>
|
|
1536
|
-
}), Ve(
|
|
1537
|
-
default: () => [
|
|
1538
|
-
}) : t(
|
|
1535
|
+
onClick: () => y(s, f)
|
|
1536
|
+
}), Ve(p = m(s)) ? p : {
|
|
1537
|
+
default: () => [p]
|
|
1538
|
+
}) : t(h, te(f, {
|
|
1539
1539
|
class: "gx-pro-menu-item",
|
|
1540
|
-
onClick: () =>
|
|
1541
|
-
}), Ve(
|
|
1542
|
-
default: () => [
|
|
1543
|
-
}),
|
|
1540
|
+
onClick: () => y(s, f)
|
|
1541
|
+
}), Ve(S = m(s, !0)) ? S : {
|
|
1542
|
+
default: () => [S]
|
|
1543
|
+
}), I = ((R = u.meta) == null ? void 0 : R.icon) && t(Ze, {
|
|
1544
1544
|
className: o,
|
|
1545
1545
|
icon: (B = u.meta) == null ? void 0 : B.icon,
|
|
1546
1546
|
iconfontUrl: e.iconfontUrl,
|
|
1547
1547
|
iconType: (P = u.meta) == null ? void 0 : P.iconType
|
|
1548
1548
|
}, null) || void 0;
|
|
1549
|
-
return [
|
|
1550
|
-
},
|
|
1551
|
-
var s,
|
|
1552
|
-
if (Array.isArray(u.children) && u.children.length > 0 && !((s = u == null ? void 0 : u.meta) != null && s.hidden) && !((
|
|
1549
|
+
return [x, I];
|
|
1550
|
+
}, w = (u) => {
|
|
1551
|
+
var s, h, f, x, I, F, R;
|
|
1552
|
+
if (Array.isArray(u.children) && u.children.length > 0 && !((s = u == null ? void 0 : u.meta) != null && s.hidden) && !((h = u == null ? void 0 : u.meta) != null && h.hideChildrenInMenu)) {
|
|
1553
1553
|
let B;
|
|
1554
1554
|
if (e.subMenuItemRender)
|
|
1555
1555
|
return e.subMenuItemRender({
|
|
1556
1556
|
item: u,
|
|
1557
|
-
children:
|
|
1557
|
+
children: C(u.children)
|
|
1558
1558
|
});
|
|
1559
|
-
const P = (
|
|
1559
|
+
const P = (f = u.meta) != null && f.icon ? t("span", {
|
|
1560
1560
|
class: "gx-pro-menu-item"
|
|
1561
|
-
}, [
|
|
1561
|
+
}, [m(u.meta)]) : u.meta && m(u.meta), M = ((x = u.meta) == null ? void 0 : x.type) === "group", N = M ? ye.ItemGroup : ye.SubMenu;
|
|
1562
1562
|
return t(N, {
|
|
1563
1563
|
title: P,
|
|
1564
1564
|
key: u.path,
|
|
1565
1565
|
icon: M ? null : t(Ze, {
|
|
1566
1566
|
className: o,
|
|
1567
|
-
icon: (
|
|
1567
|
+
icon: (I = u.meta) == null ? void 0 : I.icon,
|
|
1568
1568
|
iconfontUrl: e.iconfontUrl,
|
|
1569
1569
|
iconType: (F = u.meta) == null ? void 0 : F.iconType
|
|
1570
1570
|
}, null)
|
|
1571
|
-
}, Ve(B =
|
|
1571
|
+
}, Ve(B = C(u.children)) ? B : {
|
|
1572
1572
|
default: () => [B]
|
|
1573
1573
|
});
|
|
1574
1574
|
}
|
|
1575
|
-
const [
|
|
1575
|
+
const [p, S] = d(u);
|
|
1576
1576
|
return e.menuItemRender && e.menuItemRender({
|
|
1577
1577
|
item: u,
|
|
1578
|
-
title:
|
|
1579
|
-
icon:
|
|
1578
|
+
title: p,
|
|
1579
|
+
icon: S
|
|
1580
1580
|
}) || t(ye.Item, {
|
|
1581
1581
|
disabled: (R = u.meta) == null ? void 0 : R.disabled,
|
|
1582
1582
|
key: u.path,
|
|
1583
|
-
icon:
|
|
1584
|
-
}, Ve(
|
|
1585
|
-
default: () => [
|
|
1583
|
+
icon: S
|
|
1584
|
+
}, Ve(p) ? p : {
|
|
1585
|
+
default: () => [p]
|
|
1586
1586
|
});
|
|
1587
1587
|
};
|
|
1588
|
-
function
|
|
1589
|
-
return u.map((
|
|
1588
|
+
function C(u = []) {
|
|
1589
|
+
return u.map((p) => w(p)).filter((p) => p);
|
|
1590
1590
|
}
|
|
1591
1591
|
return () => t(ye, te({
|
|
1592
1592
|
key: "Menu",
|
|
@@ -1602,7 +1602,7 @@ const Ze = (e) => {
|
|
|
1602
1602
|
default: () => [i.value]
|
|
1603
1603
|
});
|
|
1604
1604
|
}
|
|
1605
|
-
}), pn = new
|
|
1605
|
+
}), pn = new v("pro-layout-title-hide", {
|
|
1606
1606
|
"0%": { display: "none", opacity: 0 },
|
|
1607
1607
|
"80%": {
|
|
1608
1608
|
overflow: "hidden"
|
|
@@ -1611,7 +1611,7 @@ const Ze = (e) => {
|
|
|
1611
1611
|
display: "unset",
|
|
1612
1612
|
opacity: 1
|
|
1613
1613
|
}
|
|
1614
|
-
}),
|
|
1614
|
+
}), xo = (e) => {
|
|
1615
1615
|
var o, i, l, r;
|
|
1616
1616
|
const n = nt(e, "sider"), { layout: a } = ve(e);
|
|
1617
1617
|
return {
|
|
@@ -1703,7 +1703,7 @@ const Ze = (e) => {
|
|
|
1703
1703
|
}
|
|
1704
1704
|
}
|
|
1705
1705
|
};
|
|
1706
|
-
},
|
|
1706
|
+
}, So = (e) => {
|
|
1707
1707
|
const n = `${e.antCls}-menu`, a = `${e.proComponentsCls}-menu-item`, { layout: o } = ve(e);
|
|
1708
1708
|
return {
|
|
1709
1709
|
[`${e.proComponentsCls}-basic-layout`]: {
|
|
@@ -1733,7 +1733,7 @@ const Ze = (e) => {
|
|
|
1733
1733
|
}
|
|
1734
1734
|
}
|
|
1735
1735
|
};
|
|
1736
|
-
},
|
|
1736
|
+
}, wo = (e) => ({
|
|
1737
1737
|
[`${e.proComponentsCls}-basic-layout`]: {
|
|
1738
1738
|
[`${e.antCls}-menu`]: {
|
|
1739
1739
|
[`${e.proComponentsCls}-menu-item-icon${e.antCls}-menu-item-icon`]: {
|
|
@@ -1746,7 +1746,7 @@ const Ze = (e) => {
|
|
|
1746
1746
|
src: e,
|
|
1747
1747
|
alt: "logo",
|
|
1748
1748
|
style: n
|
|
1749
|
-
}, null) : typeof e == "function" ? e() : e,
|
|
1749
|
+
}, null) : typeof e == "function" ? e() : e, Io = (e) => {
|
|
1750
1750
|
const {
|
|
1751
1751
|
logo: n,
|
|
1752
1752
|
logoStyle: a,
|
|
@@ -1759,7 +1759,7 @@ const Ze = (e) => {
|
|
|
1759
1759
|
}, Lt = /* @__PURE__ */ E({
|
|
1760
1760
|
name: "LogoContent",
|
|
1761
1761
|
props: {
|
|
1762
|
-
...
|
|
1762
|
+
...Va,
|
|
1763
1763
|
hashId: String,
|
|
1764
1764
|
baseClassName: String
|
|
1765
1765
|
},
|
|
@@ -1784,7 +1784,7 @@ const Ze = (e) => {
|
|
|
1784
1784
|
}
|
|
1785
1785
|
}, [t("a", {
|
|
1786
1786
|
key: "title"
|
|
1787
|
-
}, [
|
|
1787
|
+
}, [Io({
|
|
1788
1788
|
...e,
|
|
1789
1789
|
collapsed: a.value
|
|
1790
1790
|
}) || null]), (o = n.default) == null ? void 0 : o.call(n)]);
|
|
@@ -1850,7 +1850,7 @@ const xn = (e) => {
|
|
|
1850
1850
|
}
|
|
1851
1851
|
}
|
|
1852
1852
|
};
|
|
1853
|
-
},
|
|
1853
|
+
}, Ro = (e) => {
|
|
1854
1854
|
var a;
|
|
1855
1855
|
const n = (a = e.layout) == null ? void 0 : a.sider;
|
|
1856
1856
|
return {
|
|
@@ -1890,10 +1890,10 @@ const xn = (e) => {
|
|
|
1890
1890
|
}
|
|
1891
1891
|
};
|
|
1892
1892
|
};
|
|
1893
|
-
function
|
|
1894
|
-
return t(
|
|
1893
|
+
function $o() {
|
|
1894
|
+
return t(La, null, null);
|
|
1895
1895
|
}
|
|
1896
|
-
const
|
|
1896
|
+
const Bo = /* @__PURE__ */ E({
|
|
1897
1897
|
name: "CollapsedIcon",
|
|
1898
1898
|
inheritAttrs: !1,
|
|
1899
1899
|
props: {
|
|
@@ -1910,7 +1910,7 @@ const Lo = /* @__PURE__ */ E({
|
|
|
1910
1910
|
}), {
|
|
1911
1911
|
wrapSSR: o,
|
|
1912
1912
|
hashId: i
|
|
1913
|
-
} = fe("SiderMenuCollapsedIcon", [
|
|
1913
|
+
} = fe("SiderMenuCollapsedIcon", [Ro], a);
|
|
1914
1914
|
return () => o(t("div", {
|
|
1915
1915
|
class: q(a, i.value, {
|
|
1916
1916
|
[`${a}-collapsed`]: e.collapsed,
|
|
@@ -1920,16 +1920,16 @@ const Lo = /* @__PURE__ */ E({
|
|
|
1920
1920
|
var r;
|
|
1921
1921
|
return (r = e.onClick) == null ? void 0 : r.call(e, l);
|
|
1922
1922
|
}
|
|
1923
|
-
}, [t(
|
|
1923
|
+
}, [t($o, null, null)]));
|
|
1924
1924
|
}
|
|
1925
1925
|
}), Sn = (e, n, a) => e.sort((o, i) => {
|
|
1926
|
-
var c,
|
|
1927
|
-
const l = ((c = o.meta) == null ? void 0 : c.order) || 0, r = ((
|
|
1926
|
+
var c, y;
|
|
1927
|
+
const l = ((c = o.meta) == null ? void 0 : c.order) || 0, r = ((y = i.meta) == null ? void 0 : y.order) || 0;
|
|
1928
1928
|
return l - r > 0 ? 1 : -1;
|
|
1929
1929
|
}).map((o, i) => {
|
|
1930
1930
|
var l;
|
|
1931
1931
|
return o.meta = o.meta || {}, o.meta.order = o.meta.order || i + 1, o.key = a != null && a.key ? `${a == null ? void 0 : a.key}-${i}` : `${i}`, o.meta.hidden = (l = a == null ? void 0 : a.meta) == null ? void 0 : l.hideChildrenInMenu, o.path = o.path.replace("//", "/"), o.children && o.children.length > 0 && (o.children = Sn(o.children, n, o)), n[`${o.path}`] = o, o;
|
|
1932
|
-
}),
|
|
1932
|
+
}), _r = (e) => {
|
|
1933
1933
|
const n = e.find((i) => {
|
|
1934
1934
|
var l;
|
|
1935
1935
|
return i.path === "/" && ((l = i.children) == null ? void 0 : l.length);
|
|
@@ -1940,18 +1940,18 @@ const Lo = /* @__PURE__ */ E({
|
|
|
1940
1940
|
getLevel: () => It(o)
|
|
1941
1941
|
};
|
|
1942
1942
|
};
|
|
1943
|
-
function
|
|
1943
|
+
function Xr(e) {
|
|
1944
1944
|
const n = /* @__PURE__ */ new Map(), a = [];
|
|
1945
1945
|
function o(l) {
|
|
1946
1946
|
return l.map((r) => {
|
|
1947
|
-
var
|
|
1948
|
-
const c = r.path,
|
|
1949
|
-
if ((
|
|
1950
|
-
return (!
|
|
1951
|
-
if (n.set(
|
|
1947
|
+
var m;
|
|
1948
|
+
const c = r.path, y = r.name, b = n.has(y) && n.get(y) !== c;
|
|
1949
|
+
if ((m = r.meta) != null && m.hidden || !y || b)
|
|
1950
|
+
return (!y || b) && (a.some((d) => d.name === y && c === r.path) || a.push({ ...r })), null;
|
|
1951
|
+
if (n.set(y, c), r && (r != null && r.children)) {
|
|
1952
1952
|
if (r.children.some((d) => {
|
|
1953
|
-
var
|
|
1954
|
-
return d && !((
|
|
1953
|
+
var w;
|
|
1954
|
+
return d && !((w = d.meta) != null && w.hidden);
|
|
1955
1955
|
}))
|
|
1956
1956
|
return {
|
|
1957
1957
|
...r,
|
|
@@ -1962,21 +1962,21 @@ function Vr(e) {
|
|
|
1962
1962
|
return r;
|
|
1963
1963
|
}).filter((r) => r);
|
|
1964
1964
|
}
|
|
1965
|
-
const i = o(
|
|
1965
|
+
const i = o(oa(e));
|
|
1966
1966
|
return a.length > 0 && console.warn("The menu contains duplicate names or name undefined: ", a), i;
|
|
1967
1967
|
}
|
|
1968
|
-
function
|
|
1968
|
+
function Lo(e) {
|
|
1969
1969
|
return e.map((n) => {
|
|
1970
1970
|
var o;
|
|
1971
1971
|
const a = { ...n };
|
|
1972
|
-
return (o = a.meta) != null && o.hidden ? null : (a.linkPath =
|
|
1972
|
+
return (o = a.meta) != null && o.hidden ? null : (a.linkPath = Mo(a.children || []), a.children && delete a.children, a);
|
|
1973
1973
|
}).filter((n) => n);
|
|
1974
1974
|
}
|
|
1975
|
-
function
|
|
1975
|
+
function Oo(e, n) {
|
|
1976
1976
|
const a = (n || "").split("/").length === 2 ? n || "" : `/${(n || "").split("/")[1]}`, o = e.find((i) => i.path === a);
|
|
1977
1977
|
return n === void 0 ? [] : (o == null ? void 0 : o.children) || [];
|
|
1978
1978
|
}
|
|
1979
|
-
function
|
|
1979
|
+
function Mo(e) {
|
|
1980
1980
|
let n = "";
|
|
1981
1981
|
const a = function(i) {
|
|
1982
1982
|
let l = "";
|
|
@@ -1990,7 +1990,7 @@ function ko(e) {
|
|
|
1990
1990
|
}
|
|
1991
1991
|
return n;
|
|
1992
1992
|
}
|
|
1993
|
-
function
|
|
1993
|
+
function Vr(e, n) {
|
|
1994
1994
|
var o;
|
|
1995
1995
|
const a = ((o = e.find((i) => i.path === n)) == null ? void 0 : o.key) || "";
|
|
1996
1996
|
if (a) {
|
|
@@ -2001,7 +2001,7 @@ function Gr(e, n) {
|
|
|
2001
2001
|
}
|
|
2002
2002
|
return [];
|
|
2003
2003
|
}
|
|
2004
|
-
const
|
|
2004
|
+
const ko = ["left", "right"], je = ["left", "right", "down", "up"], Fo = ["downBig", "upBig", "leftBig", "rightBig"], Po = ["topLeft", "bottomRight", "topRight", "bottomLeft"], To = ["downLeft", "upRight", "downRight", "upLeft"], Ot = {
|
|
2005
2005
|
preset: [
|
|
2006
2006
|
// 预设动画配置
|
|
2007
2007
|
{ name: "back", alias: "渐近", directions: je },
|
|
@@ -2009,11 +2009,11 @@ const Fo = ["left", "right"], je = ["left", "right", "down", "up"], Po = ["downB
|
|
|
2009
2009
|
{
|
|
2010
2010
|
name: "fade",
|
|
2011
2011
|
alias: "淡化",
|
|
2012
|
-
directions: je.concat(
|
|
2012
|
+
directions: je.concat(Fo).concat(Po).concat("default")
|
|
2013
2013
|
},
|
|
2014
2014
|
{ name: "flip", alias: "翻转", directions: ["x", "y"] },
|
|
2015
|
-
{ name: "lightSpeed", alias: "光速", directions:
|
|
2016
|
-
{ name: "rotate", alias: "旋转", directions:
|
|
2015
|
+
{ name: "lightSpeed", alias: "光速", directions: ko },
|
|
2016
|
+
{ name: "rotate", alias: "旋转", directions: To.concat("default") },
|
|
2017
2017
|
{ name: "roll", alias: "翻滚", directions: ["default"] },
|
|
2018
2018
|
{ name: "zoom", alias: "缩放", directions: je.concat("default") },
|
|
2019
2019
|
{ name: "slide", alias: "滑动", directions: je }
|
|
@@ -2030,19 +2030,19 @@ const Fo = ["left", "right"], je = ["left", "right", "down", "up"], Po = ["downB
|
|
|
2030
2030
|
colorItemTextSelectedHorizontal: "colorTextMenuSelected"
|
|
2031
2031
|
};
|
|
2032
2032
|
function wn({ type: e, token: n, dark: a, staticToken: o }) {
|
|
2033
|
-
var
|
|
2034
|
-
const i = (
|
|
2033
|
+
var y, b;
|
|
2034
|
+
const i = (y = n.layout) == null ? void 0 : y[e], l = at(e, n, ((b = n.layout) == null ? void 0 : b.key) || ""), r = Object.keys(ut).reduce((m, d) => (m[d] = i[ut[d]] || l[ut[d]], m), {}), c = Object.assign(o, Object.fromEntries(Object.entries(r).filter(([m, d]) => d !== void 0)));
|
|
2035
2035
|
return a && e === "header" && (c.colorActiveBarHeight = 0), c;
|
|
2036
2036
|
}
|
|
2037
|
-
function
|
|
2037
|
+
function Do(e) {
|
|
2038
2038
|
return e.layout === "mix" && (e.fixSiderbar = !0, e.fixedHeader = !0, e.splitMenus = !0), e.layout === "top" && (e.fixSiderbar = !1, e.fixedHeader = !0, e.splitMenus = !1), e.layout === "simple" && (e.splitMenus = !1, e.showTabsBar = !1, e.fixedHeader = !1, e.fixSiderbar = !0), e.layout === "side" && (e.splitMenus = !1, e.fixedHeader = !0, e.fixSiderbar = !0), e.layout === "wide" && (e.splitMenus = !1, e.fixSiderbar = !1, e.fixedHeader = !0, e.showTabsBar = !1, e.fixedTabsBar = !1), { ...e };
|
|
2039
2039
|
}
|
|
2040
|
-
function
|
|
2040
|
+
function zo(e) {
|
|
2041
2041
|
const n = ["showTabsBar", "fixedMultiTab", "fixSiderbar", "fixedHeader", "splitMenus"];
|
|
2042
2042
|
let o = Object.keys(e).reduce((i, l) => (i[l] = !1, i), {});
|
|
2043
2043
|
return o = ae(o, n), e.layout === "mix" && (o.fixSiderbar = !0, o.fixedHeader = !0), e.layout === "top" && (o.fixSiderbar = !0, o.splitMenus = !0), e.layout === "side" && (o.splitMenus = !0), e.layout === "simple" && (o.splitMenus = !0, o.fixedHeader = !0, o.showTabsBar = !0, o.fixedTabsBar = !0), e.layout === "wide" && (o.splitMenus = !0, o.fixedHeader = !0, o.fixSiderbar = !0, o.showTabsBar = !0, o.fixedTabsBar = !0), o;
|
|
2044
2044
|
}
|
|
2045
|
-
function
|
|
2045
|
+
function Gr(e, n) {
|
|
2046
2046
|
const a = /* @__PURE__ */ new Set();
|
|
2047
2047
|
return e.filter((o) => a.has(o[n]) ? !1 : (a.add(o[n]), !0));
|
|
2048
2048
|
}
|
|
@@ -2050,8 +2050,8 @@ function Ht(e) {
|
|
|
2050
2050
|
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Le(e);
|
|
2051
2051
|
}
|
|
2052
2052
|
const {
|
|
2053
|
-
Sider:
|
|
2054
|
-
} =
|
|
2053
|
+
Sider: No
|
|
2054
|
+
} = Ke, In = (e) => e ? t(Oa, null, null) : t(Ma, null, null), jt = /* @__PURE__ */ E({
|
|
2055
2055
|
props: se,
|
|
2056
2056
|
inheritAttrs: !1,
|
|
2057
2057
|
setup(e) {
|
|
@@ -2063,29 +2063,29 @@ const {
|
|
|
2063
2063
|
openKeys: l,
|
|
2064
2064
|
menuState: r,
|
|
2065
2065
|
contentFullScreen: c
|
|
2066
|
-
} = ie(),
|
|
2067
|
-
token:
|
|
2066
|
+
} = ie(), y = Rt(), {
|
|
2067
|
+
token: b
|
|
2068
2068
|
} = Oe(), {
|
|
2069
|
-
theme:
|
|
2069
|
+
theme: m,
|
|
2070
2070
|
layout: d,
|
|
2071
|
-
isMobile:
|
|
2072
|
-
menuLoading:
|
|
2071
|
+
isMobile: w,
|
|
2072
|
+
menuLoading: C,
|
|
2073
2073
|
breakpoint: u,
|
|
2074
|
-
fixSiderbar:
|
|
2075
|
-
fixedHeader:
|
|
2074
|
+
fixSiderbar: p,
|
|
2075
|
+
fixedHeader: S,
|
|
2076
2076
|
collapsed: s,
|
|
2077
|
-
siderWidth:
|
|
2078
|
-
collapsedWidth:
|
|
2079
|
-
menuContentRender:
|
|
2080
|
-
menuFooterRender:
|
|
2077
|
+
siderWidth: h,
|
|
2078
|
+
collapsedWidth: f,
|
|
2079
|
+
menuContentRender: x,
|
|
2080
|
+
menuFooterRender: I,
|
|
2081
2081
|
collapsedButtonRender: F
|
|
2082
2082
|
} = Je(e), R = n({
|
|
2083
2083
|
suffixCls: "sider",
|
|
2084
2084
|
isPor: !0
|
|
2085
|
-
}), B = $(() => e.layout === "wide"), P = $(() => e.layout === "mix" && !e.isMobile && e.splitMenus), M = $(() => d.value === "side" || d.value === "simple"), N = $(() => e.isMobile || B.value ? !1 :
|
|
2085
|
+
}), B = $(() => e.layout === "wide"), P = $(() => e.layout === "mix" && !e.isMobile && e.splitMenus), M = $(() => d.value === "side" || d.value === "simple"), N = $(() => e.isMobile || B.value ? !1 : p.value), Q = $(() => (e.layout === "mix" || B.value) && "light" || r.value.theme), {
|
|
2086
2086
|
wrapSSR: _,
|
|
2087
2087
|
hashId: X
|
|
2088
|
-
} = fe("ProLayoutSiderMenu", [
|
|
2088
|
+
} = fe("ProLayoutSiderMenu", [wo, So, xo, xn, (H) => {
|
|
2089
2089
|
var xe, Se;
|
|
2090
2090
|
const G = (xe = H == null ? void 0 : H.layout) == null ? void 0 : xe.sider, Z = at("sider", H, (Se = H.layout) == null ? void 0 : Se.key), {
|
|
2091
2091
|
dark: pe
|
|
@@ -2101,23 +2101,23 @@ const {
|
|
|
2101
2101
|
}
|
|
2102
2102
|
}
|
|
2103
2103
|
};
|
|
2104
|
-
}], R), he = $(() => d.value === "top" ? [] : i.value), de = $(() => e.collapsed ?
|
|
2104
|
+
}], R), he = $(() => d.value === "top" ? [] : i.value), de = $(() => e.collapsed ? f.value : h.value), L = $(() => q([X.value, R, w.value ? "shadow" : null, `${R}-${m.value}`, N.value ? `${R}-fixed` : null])), k = $(() => F.value !== !1 ? F.value || In : !1), D = ft(() => e.layout === "simple" || !e.appLogoListRender ? null : t(bn, null, {
|
|
2105
2105
|
default: () => {
|
|
2106
2106
|
var H;
|
|
2107
2107
|
return [typeof e.appLogoListRender == "function" ? (H = e.appLogoListRender) == null ? void 0 : H.call(e) : e.appLogoListRender];
|
|
2108
2108
|
}
|
|
2109
2109
|
}), [() => e.appLogoListRender]);
|
|
2110
|
-
function
|
|
2110
|
+
function K() {
|
|
2111
2111
|
var H;
|
|
2112
2112
|
e.onCollapse && ((H = e.onCollapse) == null || H.call(e, !s.value));
|
|
2113
2113
|
}
|
|
2114
2114
|
const ee = ft(() => {
|
|
2115
2115
|
var G;
|
|
2116
2116
|
if (F.value === !1) return null;
|
|
2117
|
-
const H = t(
|
|
2118
|
-
isMobile:
|
|
2117
|
+
const H = t(Bo, {
|
|
2118
|
+
isMobile: w.value,
|
|
2119
2119
|
collapsed: s.value,
|
|
2120
|
-
onClick: () =>
|
|
2120
|
+
onClick: () => K()
|
|
2121
2121
|
}, null);
|
|
2122
2122
|
return F.value ? (G = F.value) == null ? void 0 : G.call(F, s.value, H) : H;
|
|
2123
2123
|
}, [() => e.collapsedButtonRender, () => e.isMobile, () => e.collapsed]), ge = (H) => {
|
|
@@ -2152,9 +2152,9 @@ const {
|
|
|
2152
2152
|
style: {
|
|
2153
2153
|
width: "100%"
|
|
2154
2154
|
},
|
|
2155
|
-
onOpenKeys: (
|
|
2155
|
+
onOpenKeys: (g) => {
|
|
2156
2156
|
var O;
|
|
2157
|
-
return e.onOpenKeys && ((O = e.onOpenKeys) == null ? void 0 : O.call(e,
|
|
2157
|
+
return e.onOpenKeys && ((O = e.onOpenKeys) == null ? void 0 : O.call(e, g));
|
|
2158
2158
|
},
|
|
2159
2159
|
onSelect: ge
|
|
2160
2160
|
}, null);
|
|
@@ -2162,7 +2162,7 @@ const {
|
|
|
2162
2162
|
theme: {
|
|
2163
2163
|
components: {
|
|
2164
2164
|
Menu: wn({
|
|
2165
|
-
token: (
|
|
2165
|
+
token: (b == null ? void 0 : b.value) || {},
|
|
2166
2166
|
staticToken: {
|
|
2167
2167
|
radiusItem: 4,
|
|
2168
2168
|
colorActiveBarWidth: 0,
|
|
@@ -2184,29 +2184,29 @@ const {
|
|
|
2184
2184
|
minWidth: `${de.value}px`,
|
|
2185
2185
|
transition: "all 0.2s ease 0s"
|
|
2186
2186
|
}
|
|
2187
|
-
}, null), t(
|
|
2187
|
+
}, null), t(No, {
|
|
2188
2188
|
collapsible: !0,
|
|
2189
2189
|
trigger: null,
|
|
2190
2190
|
class: L.value,
|
|
2191
2191
|
style: {
|
|
2192
2192
|
zIndex: N.value ? 101 : void 0,
|
|
2193
|
-
paddingTop: N.value &&
|
|
2193
|
+
paddingTop: N.value && S.value && d.value === "mix" ? `${e.headerHeight}px` : 0,
|
|
2194
2194
|
top: e.layout === "wide" ? `${e.headerHeight + 20}px` : void 0,
|
|
2195
2195
|
height: e.layout === "wide" ? `calc(100vh - ${e.headerHeight + 20 * 2}px)` : void 0
|
|
2196
2196
|
},
|
|
2197
2197
|
theme: Q.value,
|
|
2198
2198
|
breakpoint: u.value || void 0,
|
|
2199
2199
|
collapsed: s.value,
|
|
2200
|
-
width:
|
|
2201
|
-
collapsedWidth:
|
|
2200
|
+
width: h.value,
|
|
2201
|
+
collapsedWidth: f.value
|
|
2202
2202
|
}, {
|
|
2203
2203
|
default: () => {
|
|
2204
|
-
var
|
|
2205
|
-
return [
|
|
2204
|
+
var g, O, T, j;
|
|
2205
|
+
return [C.value && t("div", {
|
|
2206
2206
|
class: ["gx-pro-sider-loading", X.value]
|
|
2207
2207
|
}, [t(Ct, {
|
|
2208
|
-
spinning:
|
|
2209
|
-
indicator: (
|
|
2208
|
+
spinning: C.value,
|
|
2209
|
+
indicator: (g = y == null ? void 0 : y.indicator) == null ? void 0 : g.value
|
|
2210
2210
|
}, null)]), G || null, Ne(e.menuHeaderRender) && t("div", {
|
|
2211
2211
|
class: q([X.value, `${R}-extra`, !G && `${R}-extra-no-logo`])
|
|
2212
2212
|
}, [Z]), t("div", {
|
|
@@ -2214,7 +2214,7 @@ const {
|
|
|
2214
2214
|
flex: "1 1 0%",
|
|
2215
2215
|
overflow: "hidden auto"
|
|
2216
2216
|
}
|
|
2217
|
-
}, [
|
|
2217
|
+
}, [x.value && ((O = x.value) == null ? void 0 : O.call(x, e, xe)) || xe]), e.layout !== "wide" && t(J, null, [Ne(pe) && tn(pe) && pe.length > 0 && t("div", {
|
|
2218
2218
|
class: `${R}-links ${X.value}`
|
|
2219
2219
|
}, [t(ye, {
|
|
2220
2220
|
theme: Q.value,
|
|
@@ -2230,14 +2230,14 @@ const {
|
|
|
2230
2230
|
default: () => [z]
|
|
2231
2231
|
}))) ? H : {
|
|
2232
2232
|
default: () => [H]
|
|
2233
|
-
})]),
|
|
2233
|
+
})]), w.value ? null : t("div", {
|
|
2234
2234
|
class: q(`${R}-actions`, X.value)
|
|
2235
2235
|
}, [Te || t(J, null, [t("div", {
|
|
2236
2236
|
class: q(`${R}-actions-item`, X.value),
|
|
2237
|
-
onClick: () =>
|
|
2238
|
-
}, [k.value && ((T = k.value) == null ? void 0 : T.call(k, s.value))])])])]),
|
|
2237
|
+
onClick: () => K()
|
|
2238
|
+
}, [k.value && ((T = k.value) == null ? void 0 : T.call(k, s.value))])])])]), I.value && t("div", {
|
|
2239
2239
|
class: `${R}-footer ${X.value}`
|
|
2240
|
-
}, [(j =
|
|
2240
|
+
}, [(j = I.value) == null ? void 0 : j.call(I, e)]), c.value || d.value === "wide" ? null : ee.value];
|
|
2241
2241
|
}
|
|
2242
2242
|
})]
|
|
2243
2243
|
}));
|
|
@@ -2246,12 +2246,12 @@ const {
|
|
|
2246
2246
|
}), Rn = {
|
|
2247
2247
|
...se,
|
|
2248
2248
|
...dn
|
|
2249
|
-
},
|
|
2249
|
+
}, Ao = ["mix", "top", "wide"], Ho = (e, n) => e === !1 ? null : e ? e(n, null) : n, jo = /* @__PURE__ */ E({
|
|
2250
2250
|
props: Rn,
|
|
2251
2251
|
setup(e) {
|
|
2252
2252
|
return () => e.rightContentRender && typeof e.rightContentRender == "function" ? e.rightContentRender(e) : t(J, null, null);
|
|
2253
2253
|
}
|
|
2254
|
-
}),
|
|
2254
|
+
}), Eo = /* @__PURE__ */ E({
|
|
2255
2255
|
props: Rn,
|
|
2256
2256
|
inheritAttrs: !1,
|
|
2257
2257
|
setup(e, {
|
|
@@ -2264,31 +2264,24 @@ const {
|
|
|
2264
2264
|
openKeys: l,
|
|
2265
2265
|
selectedKeys: r,
|
|
2266
2266
|
menuState: c
|
|
2267
|
-
} = ie(), {
|
|
2268
|
-
width: x
|
|
2269
|
-
} = Yn(), h = i({
|
|
2267
|
+
} = ie(), y = i({
|
|
2270
2268
|
suffixCls: "global-header",
|
|
2271
2269
|
isPor: !0
|
|
2272
2270
|
}), {
|
|
2273
|
-
wrapSSR:
|
|
2274
|
-
hashId:
|
|
2275
|
-
} = fe("ProGlobalHeader", [
|
|
2276
|
-
[`${
|
|
2277
|
-
[`${
|
|
2278
|
-
[`${
|
|
2279
|
-
})),
|
|
2280
|
-
const
|
|
2281
|
-
e.onSelect &&
|
|
2282
|
-
},
|
|
2271
|
+
wrapSSR: b,
|
|
2272
|
+
hashId: m
|
|
2273
|
+
} = fe("ProGlobalHeader", [ho, xn], y), d = $(() => ({
|
|
2274
|
+
[`${m.value}`]: !0,
|
|
2275
|
+
[`${y}`]: !0,
|
|
2276
|
+
[`${y}-${e.layout}`]: !0
|
|
2277
|
+
})), w = (S, s) => {
|
|
2278
|
+
const h = (e.toFirstPath === void 0 || e.toFirstPath) && e.layout === "mix", f = a ? a.currentRoute.value.matched.concat() : [];
|
|
2279
|
+
e.onSelect && S === "select" && e.onSelect(h ? f.filter((x) => x.name !== "index").map((x) => x.path) : s), e.onOpenKeys && S === "openKeys" && e.onOpenKeys(h ? f.filter((x) => x.path !== a.currentRoute.value.path).map((x) => x.path) : s);
|
|
2280
|
+
}, C = () => {
|
|
2283
2281
|
n("collapse", !e.collapsed);
|
|
2284
|
-
},
|
|
2285
|
-
var
|
|
2286
|
-
|
|
2287
|
-
style: {
|
|
2288
|
-
flex: 1
|
|
2289
|
-
}
|
|
2290
|
-
}, [e.headerContentRender]);
|
|
2291
|
-
const s = e.headerContentRender ? t("div", {
|
|
2282
|
+
}, u = $(() => e.collapsedButtonRender || In), p = () => {
|
|
2283
|
+
var s;
|
|
2284
|
+
const S = e.headerContentRender ? t("div", {
|
|
2292
2285
|
style: {
|
|
2293
2286
|
flex: 1
|
|
2294
2287
|
}
|
|
@@ -2296,8 +2289,8 @@ const {
|
|
|
2296
2289
|
style: {
|
|
2297
2290
|
flex: 1
|
|
2298
2291
|
},
|
|
2299
|
-
class: [`${
|
|
2300
|
-
}, [((
|
|
2292
|
+
class: [`${y}-menu`, m.value]
|
|
2293
|
+
}, [((s = e.menuData) == null ? void 0 : s.length) > 0 && t(St, {
|
|
2301
2294
|
theme: {
|
|
2302
2295
|
components: {
|
|
2303
2296
|
Layout: {
|
|
@@ -2332,48 +2325,44 @@ const {
|
|
|
2332
2325
|
subMenuItemRender: e.subMenuItemRender,
|
|
2333
2326
|
class: {
|
|
2334
2327
|
"top-nav-menu": e.mode === "horizontal",
|
|
2335
|
-
[`${
|
|
2328
|
+
[`${m.value}`]: !0
|
|
2336
2329
|
},
|
|
2337
|
-
onSelect: (
|
|
2338
|
-
onOpenKeys: (
|
|
2330
|
+
onSelect: (h) => w("select", h),
|
|
2331
|
+
onOpenKeys: (h) => w("openKeys", h)
|
|
2339
2332
|
}, null)]
|
|
2340
2333
|
})]);
|
|
2341
|
-
return t(J, null, [
|
|
2334
|
+
return t(J, null, [S, e.layout !== "simple" && t(jo, te(e, {
|
|
2342
2335
|
extraRightDropdownRender: e.extraRightDropdownRender,
|
|
2343
2336
|
rightContentRender: e.rightContentRender
|
|
2344
2337
|
}), null)]);
|
|
2345
2338
|
};
|
|
2346
2339
|
return () => {
|
|
2347
|
-
const
|
|
2340
|
+
const S = t("span", {
|
|
2348
2341
|
key: "logo",
|
|
2349
2342
|
onClick: () => {
|
|
2350
|
-
var
|
|
2351
|
-
return (
|
|
2343
|
+
var s;
|
|
2344
|
+
return (s = e.onLogoClick) == null ? void 0 : s.call(e);
|
|
2352
2345
|
},
|
|
2353
|
-
class: [`${
|
|
2346
|
+
class: [`${y}-logo`, e.isMobile && "mobile", m.value]
|
|
2354
2347
|
}, [t("a", null, [Cn(e.logo, e.logoStyle)])]);
|
|
2355
|
-
return
|
|
2356
|
-
class:
|
|
2357
|
-
}, [e.isMobile ? t(J, null, [
|
|
2358
|
-
class: `${
|
|
2359
|
-
onClick:
|
|
2360
|
-
}, [re(
|
|
2361
|
-
|
|
2362
|
-
width: e.layout === "wide" ? `${e.wideWidth}px` : void 0,
|
|
2363
|
-
padding: e.layout === "wide" && x.value < e.wideWidth ? "0 50px" : void 0
|
|
2364
|
-
},
|
|
2365
|
-
class: `${h}-main ${d.value}`
|
|
2348
|
+
return b(t("div", {
|
|
2349
|
+
class: d.value
|
|
2350
|
+
}, [e.isMobile ? t(J, null, [Ho(e.logoContentRender, S), e.isMobile && re(u) && t("span", {
|
|
2351
|
+
class: `${y}-collapsed-button ${m.value}`,
|
|
2352
|
+
onClick: C
|
|
2353
|
+
}, [re(u)(e.collapsed)]), p()]) : Ao.includes(e.layout) ? t("div", {
|
|
2354
|
+
class: `${y}-main ${m.value}`
|
|
2366
2355
|
}, [t("div", {
|
|
2367
|
-
class: `${
|
|
2356
|
+
class: `${y}-main-left ${m.value}`
|
|
2368
2357
|
}, [e.layout !== "wide" && e.appLogoListRender && t(bn, null, {
|
|
2369
2358
|
default: () => {
|
|
2370
|
-
var
|
|
2371
|
-
return [typeof e.appLogoListRender == "function" ? (
|
|
2359
|
+
var s;
|
|
2360
|
+
return [typeof e.appLogoListRender == "function" ? (s = e.appLogoListRender) == null ? void 0 : s.call(e) : e.appLogoListRender];
|
|
2372
2361
|
}
|
|
2373
2362
|
}), t(Lt, te({
|
|
2374
|
-
hashId:
|
|
2375
|
-
baseClassName:
|
|
2376
|
-
}, e), null)]),
|
|
2363
|
+
hashId: m.value,
|
|
2364
|
+
baseClassName: y
|
|
2365
|
+
}, e), null)]), p()]) : p()]));
|
|
2377
2366
|
};
|
|
2378
2367
|
}
|
|
2379
2368
|
});
|
|
@@ -2382,7 +2371,7 @@ function Ko(e) {
|
|
|
2382
2371
|
}
|
|
2383
2372
|
const {
|
|
2384
2373
|
Header: Et
|
|
2385
|
-
} =
|
|
2374
|
+
} = Ke, Kt = /* @__PURE__ */ E({
|
|
2386
2375
|
inheritAttrs: !1,
|
|
2387
2376
|
props: mn,
|
|
2388
2377
|
setup(e) {
|
|
@@ -2396,25 +2385,25 @@ const {
|
|
|
2396
2385
|
dark: r
|
|
2397
2386
|
} = Oe(), {
|
|
2398
2387
|
getPrefixCls: c,
|
|
2399
|
-
menuData:
|
|
2400
|
-
contentFullScreen:
|
|
2401
|
-
menuState:
|
|
2388
|
+
menuData: y,
|
|
2389
|
+
contentFullScreen: b,
|
|
2390
|
+
menuState: m,
|
|
2402
2391
|
headerHeight: d
|
|
2403
|
-
} = ie(),
|
|
2392
|
+
} = ie(), w = c({
|
|
2404
2393
|
suffixCls: "header",
|
|
2405
2394
|
isPor: !0
|
|
2406
|
-
}),
|
|
2395
|
+
}), C = c({
|
|
2407
2396
|
suffixCls: "fixed-header",
|
|
2408
2397
|
isPor: !0
|
|
2409
|
-
}), u = $(() => o.value === "wide"),
|
|
2410
|
-
wrapSSR:
|
|
2411
|
-
hashId:
|
|
2398
|
+
}), u = $(() => o.value === "wide"), p = $(() => a.value), S = $(() => o.value === "side" || o.value === "simple"), s = $(() => S.value && "light" || m.value.theme), {
|
|
2399
|
+
wrapSSR: h,
|
|
2400
|
+
hashId: f
|
|
2412
2401
|
} = Pe("ProLayoutHeader", (M) => {
|
|
2413
2402
|
var X, he;
|
|
2414
2403
|
const N = (X = M.layout) == null ? void 0 : X.header, Q = at("header", M, (he = M.layout) == null ? void 0 : he.key), _ = nt(M, "header");
|
|
2415
2404
|
return {
|
|
2416
2405
|
[`${M.proComponentsCls}-basic-layout`]: {
|
|
2417
|
-
[`${M.antCls}-layout-header${M.componentCls}${M.componentCls}-${re(
|
|
2406
|
+
[`${M.antCls}-layout-header${M.componentCls}${M.componentCls}-${re(m.value.key)}`]: {
|
|
2418
2407
|
color: _ ? M.colorWhite : M.colorText,
|
|
2419
2408
|
backgroundColor: (N == null ? void 0 : N.colorBgMenu) || (Q == null ? void 0 : Q.colorBgMenu),
|
|
2420
2409
|
boxShadow: r.value ? "#0d0d0da6 0 2px 8px" : "",
|
|
@@ -2460,13 +2449,13 @@ const {
|
|
|
2460
2449
|
}
|
|
2461
2450
|
}
|
|
2462
2451
|
};
|
|
2463
|
-
},
|
|
2464
|
-
[`${
|
|
2465
|
-
[`${
|
|
2466
|
-
[`${
|
|
2467
|
-
[`${
|
|
2468
|
-
})),
|
|
2469
|
-
const M = t(
|
|
2452
|
+
}, w), x = $(() => ({
|
|
2453
|
+
[`${f.value}`]: !0,
|
|
2454
|
+
[`${w}`]: !0,
|
|
2455
|
+
[`${w}-${m.value.key}`]: !0,
|
|
2456
|
+
[`${C}`]: p.value
|
|
2457
|
+
})), I = $(() => p.value && !n.value), F = $(() => l.value ? y.value && Lo(y.value) || [] : o.value === "top" ? y.value : []), R = $(() => S.value && I.value ? `calc(100% - ${e.collapsed ? e.collapsedWidth : e.siderWidth}px)` : "100%"), B = $(() => p.value ? 0 : void 0), P = () => {
|
|
2458
|
+
const M = t(Eo, te(e, {
|
|
2470
2459
|
mode: "horizontal",
|
|
2471
2460
|
theme: s.value,
|
|
2472
2461
|
onCollapse: i.value,
|
|
@@ -2477,29 +2466,29 @@ const {
|
|
|
2477
2466
|
};
|
|
2478
2467
|
return () => {
|
|
2479
2468
|
let M;
|
|
2480
|
-
return
|
|
2469
|
+
return h(t(J, null, [p.value && !u.value && t(Et, {
|
|
2481
2470
|
style: {
|
|
2482
2471
|
height: `${d.value}px`,
|
|
2483
2472
|
lineHeight: `${d.value}px`,
|
|
2484
2473
|
background: "transparent",
|
|
2485
|
-
marginTop:
|
|
2474
|
+
marginTop: b.value ? `-${d.value}px` : void 0
|
|
2486
2475
|
}
|
|
2487
2476
|
}, null), t(Et, {
|
|
2488
|
-
class:
|
|
2477
|
+
class: x.value,
|
|
2489
2478
|
style: {
|
|
2490
2479
|
height: `${d.value}px`,
|
|
2491
2480
|
lineHeight: `${d.value}px`,
|
|
2492
2481
|
width: R.value,
|
|
2493
|
-
zIndex:
|
|
2482
|
+
zIndex: S.value ? 100 : 101,
|
|
2494
2483
|
right: B.value,
|
|
2495
|
-
marginTop:
|
|
2484
|
+
marginTop: b.value ? `-${d.value}px` : void 0
|
|
2496
2485
|
}
|
|
2497
2486
|
}, Ko(M = P()) ? M : {
|
|
2498
2487
|
default: () => [M]
|
|
2499
2488
|
})]));
|
|
2500
2489
|
};
|
|
2501
2490
|
}
|
|
2502
|
-
}),
|
|
2491
|
+
}), Wt = /* @__PURE__ */ E({
|
|
2503
2492
|
name: "SiderMenuWrapper",
|
|
2504
2493
|
inheritAttrs: !1,
|
|
2505
2494
|
props: {
|
|
@@ -2536,7 +2525,7 @@ const {
|
|
|
2536
2525
|
}
|
|
2537
2526
|
});
|
|
2538
2527
|
function Mt(e, { change: n }) {
|
|
2539
|
-
const { system: a } =
|
|
2528
|
+
const { system: a } = Yn(), [o, i, l] = ze("system", {
|
|
2540
2529
|
value: $(() => Ue(e.value) ? e.value : "system"),
|
|
2541
2530
|
onChange: (c) => {
|
|
2542
2531
|
n == null || n(c);
|
|
@@ -2561,12 +2550,12 @@ function $n({ event: e, isDark: n, value: a, toggle: o }) {
|
|
|
2561
2550
|
document.startViewTransition(async () => {
|
|
2562
2551
|
o == null || o(ne(a) || a === "system" ? a : !(n != null && n.value)), await pt();
|
|
2563
2552
|
}).ready.then(() => {
|
|
2564
|
-
const
|
|
2553
|
+
const b = [
|
|
2565
2554
|
`circle(0px at ${l}px ${r}px)`,
|
|
2566
2555
|
`circle(${c}px at ${l}px ${r}px)`
|
|
2567
2556
|
];
|
|
2568
2557
|
document.documentElement.animate({
|
|
2569
|
-
clipPath: n != null && n.value ? [...
|
|
2558
|
+
clipPath: n != null && n.value ? [...b].reverse() : b
|
|
2570
2559
|
}, {
|
|
2571
2560
|
duration: 450,
|
|
2572
2561
|
easing: "ease-in",
|
|
@@ -2574,7 +2563,7 @@ function $n({ event: e, isDark: n, value: a, toggle: o }) {
|
|
|
2574
2563
|
});
|
|
2575
2564
|
});
|
|
2576
2565
|
}
|
|
2577
|
-
const
|
|
2566
|
+
const Wo = `::view-transition-new(root),::view-transition-old(root) {
|
|
2578
2567
|
animation: none;
|
|
2579
2568
|
mix-blend-mode: normal;
|
|
2580
2569
|
}
|
|
@@ -2597,8 +2586,8 @@ html[data-theme="dark"]::view-transition-new(root) {
|
|
|
2597
2586
|
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) => {
|
|
2598
2587
|
var n = (a = (a = document.getElementsByTagName("script"))[a.length - 1]).getAttribute("data-injectcss"), a = a.getAttribute("data-disable-injectsvg");
|
|
2599
2588
|
if (!a) {
|
|
2600
|
-
var o, i, l, r, c,
|
|
2601
|
-
|
|
2589
|
+
var o, i, l, r, c, y = function(d, w) {
|
|
2590
|
+
w.parentNode.insertBefore(d, w);
|
|
2602
2591
|
};
|
|
2603
2592
|
if (n && !e.__iconfont__svg__cssinject__) {
|
|
2604
2593
|
e.__iconfont__svg__cssinject__ = !0;
|
|
@@ -2609,33 +2598,33 @@ window._iconfont_svg_string_4694134 = '<svg><symbol id="icon-fixed" viewBox="0 0
|
|
|
2609
2598
|
}
|
|
2610
2599
|
}
|
|
2611
2600
|
o = function() {
|
|
2612
|
-
var d,
|
|
2613
|
-
|
|
2601
|
+
var d, w = document.createElement("div");
|
|
2602
|
+
w.innerHTML = e._iconfont_svg_string_4694134, (w = w.getElementsByTagName("svg")[0]) && (w.setAttribute("aria-hidden", "true"), w.style.position = "absolute", w.style.width = 0, w.style.height = 0, w.style.overflow = "hidden", w = w, (d = document.body).firstChild ? y(w, d.firstChild) : d.appendChild(w));
|
|
2614
2603
|
}, document.addEventListener ? ~["complete", "loaded", "interactive"].indexOf(document.readyState) ? setTimeout(o, 0) : (i = function() {
|
|
2615
2604
|
document.removeEventListener("DOMContentLoaded", i, !1), o();
|
|
2616
|
-
}, document.addEventListener("DOMContentLoaded", i, !1)) : document.attachEvent && (l = o, r = e.document, c = !1,
|
|
2617
|
-
r.readyState == "complete" && (r.onreadystatechange = null,
|
|
2605
|
+
}, document.addEventListener("DOMContentLoaded", i, !1)) : document.attachEvent && (l = o, r = e.document, c = !1, m(), r.onreadystatechange = function() {
|
|
2606
|
+
r.readyState == "complete" && (r.onreadystatechange = null, b());
|
|
2618
2607
|
});
|
|
2619
2608
|
}
|
|
2620
|
-
function
|
|
2609
|
+
function b() {
|
|
2621
2610
|
c || (c = !0, l());
|
|
2622
2611
|
}
|
|
2623
|
-
function
|
|
2612
|
+
function m() {
|
|
2624
2613
|
try {
|
|
2625
2614
|
r.documentElement.doScroll("left");
|
|
2626
2615
|
} catch {
|
|
2627
|
-
return void setTimeout(
|
|
2616
|
+
return void setTimeout(m, 50);
|
|
2628
2617
|
}
|
|
2629
|
-
|
|
2618
|
+
b();
|
|
2630
2619
|
}
|
|
2631
2620
|
})(window);
|
|
2632
|
-
const
|
|
2621
|
+
const Uo = /* @__PURE__ */ E({
|
|
2633
2622
|
name: "BaseProLayout",
|
|
2634
2623
|
inheritAttrs: !1,
|
|
2635
2624
|
components: {
|
|
2636
|
-
GlobalHeader:
|
|
2625
|
+
GlobalHeader: Kt,
|
|
2637
2626
|
GlobalFooter: At,
|
|
2638
|
-
SiderMenuWrapper:
|
|
2627
|
+
SiderMenuWrapper: Wt
|
|
2639
2628
|
},
|
|
2640
2629
|
props: {
|
|
2641
2630
|
...Ae,
|
|
@@ -2651,36 +2640,36 @@ const _o = /* @__PURE__ */ E({
|
|
|
2651
2640
|
suffixCls: "basic-layout",
|
|
2652
2641
|
isPor: !0
|
|
2653
2642
|
});
|
|
2654
|
-
|
|
2643
|
+
qn(Wo);
|
|
2655
2644
|
const {
|
|
2656
2645
|
wrapSSR: o,
|
|
2657
2646
|
hashId: i
|
|
2658
|
-
} = fe("ProLayout", [
|
|
2647
|
+
} = fe("ProLayout", [Qa, Za], a), l = en(), {
|
|
2659
2648
|
token: r,
|
|
2660
2649
|
dark: c
|
|
2661
|
-
} = Oe(),
|
|
2650
|
+
} = Oe(), y = me(ht().uuid(10)), b = me(!1), m = me(!1), d = me(!1), w = Be({
|
|
2662
2651
|
position: "relative"
|
|
2663
|
-
}),
|
|
2652
|
+
}), C = $(() => {
|
|
2664
2653
|
var B;
|
|
2665
2654
|
return (B = r == null ? void 0 : r.value) == null ? void 0 : B.colorPrimary;
|
|
2666
2655
|
});
|
|
2667
2656
|
An(() => {
|
|
2668
2657
|
const B = document.querySelector("html");
|
|
2669
|
-
B && (
|
|
2658
|
+
B && (C.value && B.style.setProperty("--gx-primary-color", C.value), B.setAttribute("data-theme", c.value ? "dark" : "light"));
|
|
2670
2659
|
});
|
|
2671
|
-
const u = $(() => e.layout === "mix" || e.layout === "side" || e.layout === "wide" || !1),
|
|
2660
|
+
const u = $(() => e.layout === "mix" || e.layout === "side" || e.layout === "wide" || !1), p = $(() => {
|
|
2672
2661
|
var B;
|
|
2673
2662
|
return e.levelMenuData && ((B = e.levelMenuData) != null && B.length) ? e.levelMenuData : It(e.menuData);
|
|
2674
|
-
}),
|
|
2663
|
+
}), S = $(() => e.layout === "wide"), s = $(() => ({
|
|
2675
2664
|
key: nn(c.value, e.theme),
|
|
2676
2665
|
theme: c.value ? "dark" : e.theme
|
|
2677
|
-
})),
|
|
2666
|
+
})), h = $(() => (l.value === "sm" || l.value === "xs") && !e.disableMobile && !S.value), f = $(() => ({
|
|
2678
2667
|
...e.breadcrumb || {},
|
|
2679
2668
|
itemRender: le(n, e, "pageContainerProps:breadcrumbRender")
|
|
2680
|
-
})),
|
|
2669
|
+
})), x = $(() => u.value && e.selectedKeys ? Oo(e.menuData, e.selectedKeys[0]) : []), I = $(() => Qe(e.headerHeight) ? e.headerHeight : Y.headerHeight), F = ft(() => d.value ? 0 : Qe(e.siderWidth) ? e.siderWidth : e.layout === "mix" ? 215 : e.layout === "wide" ? 208 : 256, [() => e.layout, () => e.siderWidth, () => d.value]);
|
|
2681
2670
|
ce([() => e.layout, () => e.theme], ([B]) => {
|
|
2682
|
-
(B === "wide" || B === "simple") && (d.value = !1),
|
|
2683
|
-
}), ce(() =>
|
|
2671
|
+
(B === "wide" || B === "simple") && (d.value = !1), y.value = ht().uuid(10);
|
|
2672
|
+
}), ce(() => S.value, (B) => {
|
|
2684
2673
|
if (B) {
|
|
2685
2674
|
const P = document.querySelector('meta[name="viewport"]');
|
|
2686
2675
|
P && (P.content = "");
|
|
@@ -2688,48 +2677,48 @@ const _o = /* @__PURE__ */ E({
|
|
|
2688
2677
|
}, {
|
|
2689
2678
|
immediate: !0
|
|
2690
2679
|
}), ce([() => e.contentStyle, () => e.isChildrenLayout], () => {
|
|
2691
|
-
(e.isChildrenLayout || e.contentStyle && e.contentStyle.minHeight) && (
|
|
2680
|
+
(e.isChildrenLayout || e.contentStyle && e.contentStyle.minHeight) && (w.minHeight = 0);
|
|
2692
2681
|
}, {
|
|
2693
2682
|
immediate: !0,
|
|
2694
2683
|
deep: !0
|
|
2695
2684
|
});
|
|
2696
|
-
const R = (B, P) => B.headerRender === !1 || B.pure ? null : t(
|
|
2697
|
-
headerHeight:
|
|
2685
|
+
const R = (B, P) => B.headerRender === !1 || B.pure ? null : t(Kt, te(Me(B, "headerHeight"), {
|
|
2686
|
+
headerHeight: I.value,
|
|
2698
2687
|
matchMenuKeys: P || []
|
|
2699
2688
|
}), null);
|
|
2700
|
-
return
|
|
2701
|
-
...ae(Je(e),
|
|
2689
|
+
return qa({
|
|
2690
|
+
...ae(Je(e), Ya),
|
|
2702
2691
|
getPrefixCls: oe,
|
|
2703
2692
|
menuState: s,
|
|
2704
|
-
lockOpen:
|
|
2705
|
-
settingsOpen:
|
|
2693
|
+
lockOpen: b,
|
|
2694
|
+
settingsOpen: m,
|
|
2706
2695
|
contentFullScreen: d,
|
|
2707
|
-
hasContentWide:
|
|
2708
|
-
isMobile:
|
|
2696
|
+
hasContentWide: S,
|
|
2697
|
+
isMobile: h,
|
|
2709
2698
|
siderWidth: F,
|
|
2710
|
-
headerHeight:
|
|
2711
|
-
breadcrumb:
|
|
2712
|
-
flatMenuData:
|
|
2699
|
+
headerHeight: I,
|
|
2700
|
+
breadcrumb: f,
|
|
2701
|
+
flatMenuData: x,
|
|
2713
2702
|
hasSide: u,
|
|
2714
|
-
levelMenuData:
|
|
2703
|
+
levelMenuData: p,
|
|
2715
2704
|
onDarkChange: e.onDarkChange,
|
|
2716
2705
|
pageHeaderRender: $(() => $e(n, e, "pageContainerProps:pageHeaderRender"))
|
|
2717
2706
|
}), () => {
|
|
2718
2707
|
var G;
|
|
2719
|
-
const B =
|
|
2708
|
+
const B = ia(yn, n, e, {
|
|
2720
2709
|
render: !0
|
|
2721
|
-
}), P = le(n, e, "collapsedButtonRender"), M = le(n, e, "footerRender"), N = le(n, e, "headerRender"), Q = le(n, e, "headerContentRender"), _ = le(n, e, "rightContentRender"), X = le(n, e, "tabsRouteItemRender"), he = le(n, e, "menuItemRender"), de = le(n, e, "menuHeaderRender"), L = le(n, e, "logoContentRender"), k = le(n, e, "menuFooterRender"), D = le(n, e, "subMenuItemRender"),
|
|
2710
|
+
}), P = le(n, e, "collapsedButtonRender"), M = le(n, e, "footerRender"), N = le(n, e, "headerRender"), Q = le(n, e, "headerContentRender"), _ = le(n, e, "rightContentRender"), X = le(n, e, "tabsRouteItemRender"), he = le(n, e, "menuItemRender"), de = le(n, e, "menuHeaderRender"), L = le(n, e, "logoContentRender"), k = le(n, e, "menuFooterRender"), D = le(n, e, "subMenuItemRender"), K = le(n, e, "menuContentRender"), ee = R({
|
|
2722
2711
|
...e,
|
|
2723
2712
|
...ae(B, gn),
|
|
2724
2713
|
menuItemRender: he,
|
|
2725
2714
|
subMenuItemRender: D,
|
|
2726
2715
|
hasSiderMenu: u.value,
|
|
2727
|
-
isMobile:
|
|
2716
|
+
isMobile: h.value,
|
|
2728
2717
|
rightContentRender: _,
|
|
2729
2718
|
logoContentRender: L,
|
|
2730
2719
|
headerContentRender: Q,
|
|
2731
2720
|
headerRender: N
|
|
2732
|
-
}, e.matchMenuKeys), ge =
|
|
2721
|
+
}, e.matchMenuKeys), ge = S.value ? {
|
|
2733
2722
|
minHeight: "835px",
|
|
2734
2723
|
marginInlineStart: F.value === 0 ? 0 : void 0
|
|
2735
2724
|
} : {}, H = M ? typeof M == "function" ? M(e) : M : t(At, {
|
|
@@ -2742,29 +2731,29 @@ const _o = /* @__PURE__ */ E({
|
|
|
2742
2731
|
[`${a}`]: !0,
|
|
2743
2732
|
[`${a}-${e.layout}`]: !0
|
|
2744
2733
|
}),
|
|
2745
|
-
style:
|
|
2734
|
+
style: S.value ? {
|
|
2746
2735
|
minWidth: `${e.wideWidth}px`,
|
|
2747
2736
|
...e.style
|
|
2748
2737
|
} : e.style
|
|
2749
|
-
}, [t(
|
|
2750
|
-
style:
|
|
2738
|
+
}, [t(Ke, {
|
|
2739
|
+
style: S.value ? {
|
|
2751
2740
|
width: e.menuData.length ? `${e.wideWidth}px` : `${e.wideWidth - F.value - 20}px`,
|
|
2752
|
-
paddingTop: `${
|
|
2753
|
-
margin:
|
|
2741
|
+
paddingTop: `${I.value + 20}px`,
|
|
2742
|
+
margin: S.value ? "0 auto" : void 0
|
|
2754
2743
|
} : void 0
|
|
2755
2744
|
}, {
|
|
2756
|
-
default: () => [F.value > 0 && t(
|
|
2745
|
+
default: () => [F.value > 0 && t(Wt, te(e, {
|
|
2757
2746
|
siderWidth: F.value,
|
|
2758
|
-
isMobile:
|
|
2747
|
+
isMobile: h.value,
|
|
2759
2748
|
menuHeaderRender: de,
|
|
2760
2749
|
logoContentRender: L,
|
|
2761
2750
|
menuFooterRender: k,
|
|
2762
|
-
menuContentRender:
|
|
2751
|
+
menuContentRender: K,
|
|
2763
2752
|
collapsedButtonRender: P
|
|
2764
|
-
}, ae(B, hn)), null), t(
|
|
2765
|
-
style:
|
|
2753
|
+
}, ae(B, hn)), null), t(Ke, {
|
|
2754
|
+
style: w
|
|
2766
2755
|
}, {
|
|
2767
|
-
default: () => [e.layout !== "simple" &&
|
|
2756
|
+
default: () => [e.layout !== "simple" && I.value > 0 && ee, t(Bt, te(ae(e, eo), {
|
|
2768
2757
|
hashId: i.value,
|
|
2769
2758
|
prefixCls: a,
|
|
2770
2759
|
siderWidth: F.value,
|
|
@@ -2783,7 +2772,7 @@ const _o = /* @__PURE__ */ E({
|
|
|
2783
2772
|
}), B.pageLockRender, e.layout === "wide" && H])]));
|
|
2784
2773
|
};
|
|
2785
2774
|
}
|
|
2786
|
-
}),
|
|
2775
|
+
}), Yr = /* @__PURE__ */ E({
|
|
2787
2776
|
name: "GProLayout",
|
|
2788
2777
|
compatConfig: {
|
|
2789
2778
|
MODE: 3
|
|
@@ -2802,22 +2791,22 @@ const _o = /* @__PURE__ */ E({
|
|
|
2802
2791
|
innerDark: l,
|
|
2803
2792
|
toggleMode: r
|
|
2804
2793
|
} = Mt($(() => e.dark), {
|
|
2805
|
-
change: (
|
|
2806
|
-
var
|
|
2807
|
-
(
|
|
2794
|
+
change: (w) => {
|
|
2795
|
+
var C, u;
|
|
2796
|
+
(C = e.onDarkChange) == null || C.call(e, w), (u = e == null ? void 0 : e["onUpdate:dark"]) == null || u.call(e, w);
|
|
2808
2797
|
}
|
|
2809
2798
|
}), c = $(() => Ce(e.token || {}, {
|
|
2810
2799
|
layout: {
|
|
2811
2800
|
key: `${nn(i.value, e.theme)}:${e.layout}`
|
|
2812
2801
|
}
|
|
2813
|
-
})),
|
|
2814
|
-
a("update:collapsed",
|
|
2815
|
-
},
|
|
2816
|
-
a("update:open-keys",
|
|
2817
|
-
},
|
|
2818
|
-
a("update:selected-keys",
|
|
2819
|
-
}, d = (
|
|
2820
|
-
a("update:tabs",
|
|
2802
|
+
})), y = (w) => {
|
|
2803
|
+
a("update:collapsed", w), a("collapse", w);
|
|
2804
|
+
}, b = (w) => {
|
|
2805
|
+
a("update:open-keys", w), a("openKeys", w);
|
|
2806
|
+
}, m = (w) => {
|
|
2807
|
+
a("update:selected-keys", w), a("select", w);
|
|
2808
|
+
}, d = (w) => {
|
|
2809
|
+
a("update:tabs", w), a("tabsChange", w);
|
|
2821
2810
|
};
|
|
2822
2811
|
return () => t(St, {
|
|
2823
2812
|
theme: e.primaryColor ? {
|
|
@@ -2826,17 +2815,17 @@ const _o = /* @__PURE__ */ E({
|
|
|
2826
2815
|
}
|
|
2827
2816
|
} : void 0
|
|
2828
2817
|
}, {
|
|
2829
|
-
default: () => [t(
|
|
2818
|
+
default: () => [t(ca, {
|
|
2830
2819
|
token: c.value,
|
|
2831
2820
|
dark: i.value
|
|
2832
2821
|
}, {
|
|
2833
|
-
default: () => [t(
|
|
2822
|
+
default: () => [t(Uo, te({
|
|
2834
2823
|
style: o.style
|
|
2835
2824
|
}, Me(e, ["onSelect", "onOpenKeys", "onCollapse", "onTabsChange", "onDarkChange", "dark"]), {
|
|
2836
2825
|
dark: l.value,
|
|
2837
|
-
onSelect:
|
|
2838
|
-
onOpenKeys:
|
|
2839
|
-
onCollapse:
|
|
2826
|
+
onSelect: m,
|
|
2827
|
+
onOpenKeys: b,
|
|
2828
|
+
onCollapse: y,
|
|
2840
2829
|
onTabsChange: d,
|
|
2841
2830
|
onDarkChange: r
|
|
2842
2831
|
}), n)]
|
|
@@ -2897,7 +2886,7 @@ const _o = /* @__PURE__ */ E({
|
|
|
2897
2886
|
onLockOpenChange: Function,
|
|
2898
2887
|
onSettingsOpenChange: Function,
|
|
2899
2888
|
"onUpdate:settingsOpen": Function
|
|
2900
|
-
}),
|
|
2889
|
+
}), _o = Bn(), Ln = {
|
|
2901
2890
|
hashId: String,
|
|
2902
2891
|
className: String
|
|
2903
2892
|
}, On = {
|
|
@@ -2908,8 +2897,8 @@ const _o = /* @__PURE__ */ E({
|
|
|
2908
2897
|
onOpenChange: Function,
|
|
2909
2898
|
"onUpdate:open": Function,
|
|
2910
2899
|
cryptoFn: Function,
|
|
2911
|
-
...ae(
|
|
2912
|
-
},
|
|
2900
|
+
...ae(_o, ["name", "avatar"])
|
|
2901
|
+
}, Xo = {
|
|
2913
2902
|
...On,
|
|
2914
2903
|
shortsKey: {
|
|
2915
2904
|
type: Object,
|
|
@@ -2917,14 +2906,14 @@ const _o = /* @__PURE__ */ E({
|
|
|
2917
2906
|
disabeld: !1
|
|
2918
2907
|
})
|
|
2919
2908
|
}
|
|
2920
|
-
},
|
|
2909
|
+
}, Vo = new v("fadeIn", {
|
|
2921
2910
|
from: {
|
|
2922
2911
|
opacity: 0
|
|
2923
2912
|
},
|
|
2924
2913
|
to: {
|
|
2925
2914
|
opacity: 1
|
|
2926
2915
|
}
|
|
2927
|
-
}),
|
|
2916
|
+
}), Go = (e) => ({
|
|
2928
2917
|
[e.componentCls]: {
|
|
2929
2918
|
"&-user-form": {
|
|
2930
2919
|
[`${e.antCls}-form-item`]: {
|
|
@@ -2954,7 +2943,7 @@ const _o = /* @__PURE__ */ E({
|
|
|
2954
2943
|
"&-enter": {
|
|
2955
2944
|
animationDuration: ".3s",
|
|
2956
2945
|
animationFillMode: "both",
|
|
2957
|
-
animationName:
|
|
2946
|
+
animationName: Vo
|
|
2958
2947
|
},
|
|
2959
2948
|
"&-head": {
|
|
2960
2949
|
display: "flex",
|
|
@@ -3027,10 +3016,10 @@ const _o = /* @__PURE__ */ E({
|
|
|
3027
3016
|
}
|
|
3028
3017
|
}
|
|
3029
3018
|
});
|
|
3030
|
-
function
|
|
3019
|
+
function Yo(e) {
|
|
3031
3020
|
const n = Be({
|
|
3032
3021
|
password: ""
|
|
3033
|
-
}), { validate: a, resetFields: o, validateInfos: i } =
|
|
3022
|
+
}), { validate: a, resetFields: o, validateInfos: i } = ma(n, Be({
|
|
3034
3023
|
password: [
|
|
3035
3024
|
{
|
|
3036
3025
|
validator: (l, r) => (e && r ? e == null ? void 0 : e(r) : r) ? Promise.resolve() : Promise.reject(e && r ? "密码错误" : "请输入锁屏密码")
|
|
@@ -3061,17 +3050,17 @@ const Mn = /* @__PURE__ */ E({
|
|
|
3061
3050
|
validate: i,
|
|
3062
3051
|
validateInfos: l,
|
|
3063
3052
|
resetFields: r
|
|
3064
|
-
} =
|
|
3065
|
-
Object.assign(o,
|
|
3066
|
-
},
|
|
3067
|
-
const
|
|
3068
|
-
return q(
|
|
3069
|
-
},
|
|
3053
|
+
} = Yo(e.validator), c = (m) => {
|
|
3054
|
+
Object.assign(o, m);
|
|
3055
|
+
}, y = (m = "", d) => {
|
|
3056
|
+
const w = m ? `${e.className}-${m}` : e.className;
|
|
3057
|
+
return q(w, e.hashId, "");
|
|
3058
|
+
}, b = () => {
|
|
3070
3059
|
i().then(() => {
|
|
3071
|
-
var
|
|
3072
|
-
(
|
|
3073
|
-
}).catch((
|
|
3074
|
-
console.log(
|
|
3060
|
+
var m;
|
|
3061
|
+
(m = e.onSubmit) == null || m.call(e, o);
|
|
3062
|
+
}).catch((m) => {
|
|
3063
|
+
console.log(m);
|
|
3075
3064
|
});
|
|
3076
3065
|
};
|
|
3077
3066
|
return n({
|
|
@@ -3079,17 +3068,17 @@ const Mn = /* @__PURE__ */ E({
|
|
|
3079
3068
|
resetFields: r,
|
|
3080
3069
|
merageFormState: c
|
|
3081
3070
|
}), () => {
|
|
3082
|
-
var
|
|
3071
|
+
var m;
|
|
3083
3072
|
return t("div", {
|
|
3084
|
-
class:
|
|
3073
|
+
class: y("user-form")
|
|
3085
3074
|
}, [t("div", {
|
|
3086
|
-
class:
|
|
3075
|
+
class: y("user-info")
|
|
3087
3076
|
}, [t(qt, {
|
|
3088
3077
|
size: e.avatarSize,
|
|
3089
3078
|
icon: t(rn, null, null),
|
|
3090
3079
|
src: e.avatar
|
|
3091
3080
|
}, null), e.name && t("div", {
|
|
3092
|
-
class:
|
|
3081
|
+
class: y("user-name")
|
|
3093
3082
|
}, [e.name])]), t(Ft, null, {
|
|
3094
3083
|
default: () => [t(Ft.Item, l.password, {
|
|
3095
3084
|
default: () => [t(Qt.Password, {
|
|
@@ -3101,18 +3090,18 @@ const Mn = /* @__PURE__ */ E({
|
|
|
3101
3090
|
}), t(qe, {
|
|
3102
3091
|
block: !0,
|
|
3103
3092
|
type: "primary",
|
|
3104
|
-
onClick: () =>
|
|
3093
|
+
onClick: () => b(),
|
|
3105
3094
|
style: {
|
|
3106
3095
|
marginBlockStart: "24px"
|
|
3107
3096
|
}
|
|
3108
3097
|
}, {
|
|
3109
3098
|
default: () => [e.submitText]
|
|
3110
|
-
}), (
|
|
3099
|
+
}), (m = a.default) == null ? void 0 : m.call(a)]);
|
|
3111
3100
|
};
|
|
3112
3101
|
}
|
|
3113
3102
|
});
|
|
3114
3103
|
we.locale("zh-cn");
|
|
3115
|
-
function
|
|
3104
|
+
function qo() {
|
|
3116
3105
|
const e = Be({
|
|
3117
3106
|
hh: "",
|
|
3118
3107
|
mm: "",
|
|
@@ -3126,7 +3115,7 @@ function Qo() {
|
|
|
3126
3115
|
}
|
|
3127
3116
|
return requestAnimationFrame(n), e;
|
|
3128
3117
|
}
|
|
3129
|
-
const
|
|
3118
|
+
const Qo = /* @__PURE__ */ E({
|
|
3130
3119
|
name: "PageLock",
|
|
3131
3120
|
props: {
|
|
3132
3121
|
...Ln,
|
|
@@ -3137,9 +3126,9 @@ const Zo = /* @__PURE__ */ E({
|
|
|
3137
3126
|
const [n, a] = ze(!1, {
|
|
3138
3127
|
value: $(() => ne(e.open) ? e.open : !1),
|
|
3139
3128
|
onChange: e.onOpenChange
|
|
3140
|
-
}), [o, i] = be(!1), l =
|
|
3141
|
-
const
|
|
3142
|
-
return q(
|
|
3129
|
+
}), [o, i] = be(!1), l = qo(), r = (c = "", y) => {
|
|
3130
|
+
const b = c ? `${e.className}-popup-${c}` : `${e.className}-popup`;
|
|
3131
|
+
return q(b, e.hashId, y || "");
|
|
3143
3132
|
};
|
|
3144
3133
|
return () => n.value ? t("div", {
|
|
3145
3134
|
class: r()
|
|
@@ -3152,8 +3141,8 @@ const Zo = /* @__PURE__ */ E({
|
|
|
3152
3141
|
hashId: e.hashId,
|
|
3153
3142
|
className: e.className,
|
|
3154
3143
|
validator: (c) => {
|
|
3155
|
-
var
|
|
3156
|
-
return ((
|
|
3144
|
+
var y;
|
|
3145
|
+
return ((y = e.cryptoFn) == null ? void 0 : y.call(e, c)) === e.password;
|
|
3157
3146
|
},
|
|
3158
3147
|
onSubmit: () => a(!1)
|
|
3159
3148
|
}, {
|
|
@@ -3198,9 +3187,9 @@ const Zo = /* @__PURE__ */ E({
|
|
|
3198
3187
|
class: r("time-card")
|
|
3199
3188
|
}, [l.mm])])])]) : null;
|
|
3200
3189
|
}
|
|
3201
|
-
}),
|
|
3190
|
+
}), qr = /* @__PURE__ */ E({
|
|
3202
3191
|
name: "PageLock",
|
|
3203
|
-
props:
|
|
3192
|
+
props: Xo,
|
|
3204
3193
|
emits: ["update:open", "openChange"],
|
|
3205
3194
|
setup(e) {
|
|
3206
3195
|
const n = oe({
|
|
@@ -3209,55 +3198,55 @@ const Zo = /* @__PURE__ */ E({
|
|
|
3209
3198
|
}), a = ie(), {
|
|
3210
3199
|
wrapSSR: o,
|
|
3211
3200
|
hashId: i
|
|
3212
|
-
} = fe("ProPageLock", [
|
|
3201
|
+
} = fe("ProPageLock", [Go], n), l = tt(n, {
|
|
3213
3202
|
open: !1,
|
|
3214
3203
|
password: ""
|
|
3215
|
-
}), [r, c,
|
|
3204
|
+
}), [r, c, y] = ze(!1, {
|
|
3216
3205
|
value: $(() => {
|
|
3217
|
-
var
|
|
3218
|
-
return ne(e.open) ? e.open : (
|
|
3206
|
+
var f;
|
|
3207
|
+
return ne(e.open) ? e.open : (f = a == null ? void 0 : a.lockOpen) == null ? void 0 : f.value;
|
|
3219
3208
|
}),
|
|
3220
|
-
onChange: (
|
|
3221
|
-
var
|
|
3222
|
-
(
|
|
3209
|
+
onChange: (f) => {
|
|
3210
|
+
var x, I;
|
|
3211
|
+
(x = e.onOpenChange) == null || x.call(e, f), (I = e["onUpdate:open"]) == null || I.call(e, f), a && (a.lockOpen.value = f);
|
|
3223
3212
|
}
|
|
3224
|
-
}), [
|
|
3225
|
-
function
|
|
3226
|
-
return e.cryptoFn ? e.cryptoFn(
|
|
3213
|
+
}), [b, m] = be(!1), d = me();
|
|
3214
|
+
function w(f) {
|
|
3215
|
+
return e.cryptoFn ? e.cryptoFn(f) : f;
|
|
3227
3216
|
}
|
|
3228
|
-
function
|
|
3229
|
-
l.value.open =
|
|
3217
|
+
function C(f) {
|
|
3218
|
+
l.value.open = b.value, l.value.password = w(f);
|
|
3230
3219
|
}
|
|
3231
|
-
const u = $(() => e.shortsKey),
|
|
3232
|
-
mt(
|
|
3233
|
-
var
|
|
3234
|
-
(
|
|
3235
|
-
}), ce(
|
|
3236
|
-
var
|
|
3237
|
-
|
|
3220
|
+
const u = $(() => e.shortsKey), p = $(() => l.value.open && !!l.value.password), S = Jt();
|
|
3221
|
+
mt(S["Alt+KeyL"], () => {
|
|
3222
|
+
var f;
|
|
3223
|
+
(f = u.value) != null && f.disabeld || y.value || c(!0);
|
|
3224
|
+
}), ce(b, (f) => {
|
|
3225
|
+
var x, I;
|
|
3226
|
+
C(f && (((I = (x = d.value) == null ? void 0 : x.formState) == null ? void 0 : I.password) || l.value.password) || "");
|
|
3238
3227
|
}), Yt(() => {
|
|
3239
|
-
|
|
3228
|
+
p.value ? m(!0) : C("");
|
|
3240
3229
|
});
|
|
3241
3230
|
const s = () => {
|
|
3242
|
-
c(!1),
|
|
3243
|
-
},
|
|
3244
|
-
var
|
|
3245
|
-
c(!1),
|
|
3231
|
+
c(!1), m(!0);
|
|
3232
|
+
}, h = () => {
|
|
3233
|
+
var f;
|
|
3234
|
+
c(!1), C(""), (f = d.value) == null || f.resetFields();
|
|
3246
3235
|
};
|
|
3247
|
-
return () => o(t(J, null, [t(
|
|
3248
|
-
open:
|
|
3236
|
+
return () => o(t(J, null, [t(Qo, te(ae(e, ["name", "avatar"]), {
|
|
3237
|
+
open: b.value,
|
|
3249
3238
|
hashId: i.value,
|
|
3250
3239
|
className: n,
|
|
3251
3240
|
password: l.value.password,
|
|
3252
|
-
cryptoFn:
|
|
3253
|
-
onOpenChange:
|
|
3254
|
-
}), null), t(
|
|
3241
|
+
cryptoFn: w,
|
|
3242
|
+
onOpenChange: m
|
|
3243
|
+
}), null), t(Wa, {
|
|
3255
3244
|
width: 400,
|
|
3256
3245
|
type: "normal",
|
|
3257
3246
|
title: "锁定屏幕",
|
|
3258
|
-
open:
|
|
3247
|
+
open: y.value,
|
|
3259
3248
|
footer: !1,
|
|
3260
|
-
onCancel:
|
|
3249
|
+
onCancel: h
|
|
3261
3250
|
}, {
|
|
3262
3251
|
default: () => [t(Mn, te({
|
|
3263
3252
|
ref: d
|
|
@@ -3269,7 +3258,7 @@ const Zo = /* @__PURE__ */ E({
|
|
|
3269
3258
|
}), null)]
|
|
3270
3259
|
})]));
|
|
3271
3260
|
}
|
|
3272
|
-
}),
|
|
3261
|
+
}), Zo = (e) => {
|
|
3273
3262
|
const { dark: n } = ve(e);
|
|
3274
3263
|
return {
|
|
3275
3264
|
[e.componentCls]: {
|
|
@@ -3360,23 +3349,23 @@ const Zo = /* @__PURE__ */ E({
|
|
|
3360
3349
|
}
|
|
3361
3350
|
};
|
|
3362
3351
|
};
|
|
3363
|
-
function
|
|
3352
|
+
function Jo(e) {
|
|
3364
3353
|
return Pe("SearchPageInput", (n) => {
|
|
3365
3354
|
const a = He(n, {});
|
|
3366
|
-
return [
|
|
3355
|
+
return [Zo(a)];
|
|
3367
3356
|
}, e);
|
|
3368
3357
|
}
|
|
3369
|
-
function
|
|
3358
|
+
function ei(e, n) {
|
|
3370
3359
|
const a = /* @__PURE__ */ new Map();
|
|
3371
3360
|
return e.filter((o) => {
|
|
3372
3361
|
const i = o[n];
|
|
3373
3362
|
return a.has(i) ? !1 : (a.set(i, o), !0);
|
|
3374
3363
|
});
|
|
3375
3364
|
}
|
|
3376
|
-
function
|
|
3365
|
+
function ti(e) {
|
|
3377
3366
|
return e ? /^https?:\/\/.*$/.test(e) : !1;
|
|
3378
3367
|
}
|
|
3379
|
-
const
|
|
3368
|
+
const ni = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\", "]", "^", "{", "|", "}"]), ai = ({
|
|
3380
3369
|
className: e,
|
|
3381
3370
|
value: n
|
|
3382
3371
|
}) => n ? t(Pt, {
|
|
@@ -3384,7 +3373,7 @@ const ai = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
|
|
|
3384
3373
|
description: `未找到搜索结果 "${n}"`
|
|
3385
3374
|
}, null) : t("div", {
|
|
3386
3375
|
class: e
|
|
3387
|
-
}, [U("没有搜索历史")]),
|
|
3376
|
+
}, [U("没有搜索历史")]), oi = /* @__PURE__ */ E({
|
|
3388
3377
|
props: {
|
|
3389
3378
|
...kt,
|
|
3390
3379
|
className: String,
|
|
@@ -3396,32 +3385,32 @@ const ai = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
|
|
|
3396
3385
|
const n = it(), a = tt(e.historyKey || oe({
|
|
3397
3386
|
suffixCls: "layout-search-history",
|
|
3398
3387
|
isPor: !0
|
|
3399
|
-
}), []), o = me(0), i = me([]), l =
|
|
3388
|
+
}), []), o = me(0), i = me([]), l = Qn(r, 200);
|
|
3400
3389
|
function r(s) {
|
|
3401
3390
|
if (s = s.trim(), !s) {
|
|
3402
3391
|
i.value = [];
|
|
3403
3392
|
return;
|
|
3404
3393
|
}
|
|
3405
|
-
const
|
|
3406
|
-
e.dataSource.forEach((
|
|
3394
|
+
const h = d(s), f = [];
|
|
3395
|
+
e.dataSource.forEach((x) => {
|
|
3407
3396
|
var F, R, B;
|
|
3408
|
-
if ((F =
|
|
3409
|
-
const
|
|
3410
|
-
if (
|
|
3397
|
+
if ((F = x.meta) != null && F.hidden) return;
|
|
3398
|
+
const I = ((R = x.meta) == null ? void 0 : R.title) || x.name || "";
|
|
3399
|
+
if (h.test(I.toLowerCase())) {
|
|
3411
3400
|
let P = [];
|
|
3412
|
-
const M = ((B =
|
|
3401
|
+
const M = ((B = x == null ? void 0 : x.key) == null ? void 0 : B.split("-")) || [];
|
|
3413
3402
|
for (let N = 0; N < M.length; N++)
|
|
3414
3403
|
P.push(M.slice(0, N + 1).join("-"));
|
|
3415
3404
|
P = P.map((N) => {
|
|
3416
3405
|
var Q, _;
|
|
3417
3406
|
return ((_ = (Q = e.dataSource.find((X) => (X == null ? void 0 : X.key) === N)) == null ? void 0 : Q.meta) == null ? void 0 : _.title) || "";
|
|
3418
|
-
}),
|
|
3407
|
+
}), f.push(Ce(x, {
|
|
3419
3408
|
meta: {
|
|
3420
3409
|
title: P.join("**")
|
|
3421
3410
|
}
|
|
3422
3411
|
}));
|
|
3423
3412
|
}
|
|
3424
|
-
}), i.value =
|
|
3413
|
+
}), i.value = f, f.length > 0 && (o.value = 0), o.value = 0;
|
|
3425
3414
|
}
|
|
3426
3415
|
ce(() => e.keyword, (s) => {
|
|
3427
3416
|
s ? l(s) : i.value = [...a.value];
|
|
@@ -3430,87 +3419,87 @@ const ai = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
|
|
|
3430
3419
|
var s;
|
|
3431
3420
|
i.value = [], (s = e.onClose) == null || s.call(e);
|
|
3432
3421
|
}
|
|
3433
|
-
function
|
|
3422
|
+
function y() {
|
|
3434
3423
|
const s = document.querySelector(`[data-search-item="${o.value}"]`);
|
|
3435
3424
|
s && s.scrollIntoView({
|
|
3436
3425
|
block: "nearest"
|
|
3437
3426
|
});
|
|
3438
3427
|
}
|
|
3439
|
-
async function
|
|
3428
|
+
async function b() {
|
|
3440
3429
|
if (i.value.length === 0)
|
|
3441
3430
|
return;
|
|
3442
|
-
const s = i.value,
|
|
3443
|
-
if (s.length === 0 ||
|
|
3431
|
+
const s = i.value, h = o.value;
|
|
3432
|
+
if (s.length === 0 || h < 0)
|
|
3444
3433
|
return;
|
|
3445
|
-
const
|
|
3446
|
-
|
|
3447
|
-
path:
|
|
3434
|
+
const f = s[h];
|
|
3435
|
+
f && (a.value.push(f), c(), await pt(), ti(f.path) ? window.open(f.path, "_blank") : n.push({
|
|
3436
|
+
path: f.path,
|
|
3448
3437
|
replace: !0
|
|
3449
3438
|
}));
|
|
3450
3439
|
}
|
|
3451
|
-
function
|
|
3452
|
-
return
|
|
3440
|
+
function m(s) {
|
|
3441
|
+
return ni.has(s) ? `\\${s}` : s;
|
|
3453
3442
|
}
|
|
3454
3443
|
function d(s) {
|
|
3455
|
-
const
|
|
3456
|
-
return new RegExp(`.*${
|
|
3444
|
+
const h = [...s].map((f) => m(f)).join(".*");
|
|
3445
|
+
return new RegExp(`.*${h}.*`);
|
|
3457
3446
|
}
|
|
3458
|
-
function
|
|
3459
|
-
i.value.length !== 0 && (o.value--, o.value < 0 && (o.value = i.value.length - 1),
|
|
3447
|
+
function w() {
|
|
3448
|
+
i.value.length !== 0 && (o.value--, o.value < 0 && (o.value = i.value.length - 1), y());
|
|
3460
3449
|
}
|
|
3461
|
-
function
|
|
3462
|
-
i.value.length !== 0 && (o.value++, o.value > i.value.length - 1 && (o.value = 0),
|
|
3450
|
+
function C() {
|
|
3451
|
+
i.value.length !== 0 && (o.value++, o.value > i.value.length - 1 && (o.value = 0), y());
|
|
3463
3452
|
}
|
|
3464
3453
|
Yt(() => {
|
|
3465
|
-
a.value.length > 0 && (i.value = a.value), ct("Enter",
|
|
3454
|
+
a.value.length > 0 && (i.value = a.value), ct("Enter", b), ct("ArrowUp", w), ct("ArrowDown", C);
|
|
3466
3455
|
});
|
|
3467
3456
|
function u(s) {
|
|
3468
3457
|
o.value = s;
|
|
3469
3458
|
}
|
|
3470
|
-
function
|
|
3471
|
-
s.stopPropagation(), e.keyword ? i.value.splice(
|
|
3459
|
+
function p(s, h) {
|
|
3460
|
+
s.stopPropagation(), e.keyword ? i.value.splice(h, 1) : a.value.splice(h, 1), o.value = o.value - 1 >= 0 ? o.value - 1 : 0, y();
|
|
3472
3461
|
}
|
|
3473
|
-
const
|
|
3462
|
+
const S = (s) => q(`${e.className}${s ? `-${s}` : ""}`, e.hashId);
|
|
3474
3463
|
return () => t(J, null, [i.value.length > 0 ? t(J, null, [a.value.length > 0 && !e.keyword && t("div", {
|
|
3475
|
-
class:
|
|
3464
|
+
class: S("panel-title")
|
|
3476
3465
|
}, [U("搜索历史")]), t("div", {
|
|
3477
|
-
class:
|
|
3478
|
-
}, [
|
|
3479
|
-
var
|
|
3466
|
+
class: S("panel-list")
|
|
3467
|
+
}, [ei(i.value, "path").map((s, h) => {
|
|
3468
|
+
var f, x, I, F;
|
|
3480
3469
|
return t("div", {
|
|
3481
3470
|
key: s.name,
|
|
3482
|
-
class:
|
|
3483
|
-
"data-search-item":
|
|
3484
|
-
onClick: () =>
|
|
3485
|
-
onMouseenter: () => u(
|
|
3471
|
+
class: S(q("panel-item", h === o.value && "active")),
|
|
3472
|
+
"data-search-item": h,
|
|
3473
|
+
onClick: () => b(),
|
|
3474
|
+
onMouseenter: () => u(h)
|
|
3486
3475
|
}, [t("div", {
|
|
3487
|
-
class:
|
|
3476
|
+
class: S("panel-item-left")
|
|
3488
3477
|
}, [t(Ze, te(s.meta || {}, {
|
|
3489
|
-
icon: ((
|
|
3490
|
-
classNames:
|
|
3491
|
-
}), null), (F = (
|
|
3478
|
+
icon: ((f = s.meta) == null ? void 0 : f.icon) || t(ka, null, null),
|
|
3479
|
+
classNames: S("panel-icon")
|
|
3480
|
+
}), null), (F = (I = (x = s.meta) == null ? void 0 : x.title) == null ? void 0 : I.split("**")) == null ? void 0 : F.map((R, B) => {
|
|
3492
3481
|
var P, M, N;
|
|
3493
|
-
return t(J, null, [R, B < ((N = (M = (P = s.meta) == null ? void 0 : P.title) == null ? void 0 : M.split("**")) == null ? void 0 : N.length) - 1 && t(
|
|
3482
|
+
return t(J, null, [R, B < ((N = (M = (P = s.meta) == null ? void 0 : P.title) == null ? void 0 : M.split("**")) == null ? void 0 : N.length) - 1 && t(Fa, null, null)]);
|
|
3494
3483
|
}), t("span", null, null)]), t(ot, {
|
|
3495
|
-
onClick: (R) =>
|
|
3484
|
+
onClick: (R) => p(R, h)
|
|
3496
3485
|
}, null)]);
|
|
3497
|
-
})])]) : t(
|
|
3498
|
-
className:
|
|
3486
|
+
})])]) : t(ai, {
|
|
3487
|
+
className: S("result"),
|
|
3499
3488
|
value: e.keyword
|
|
3500
3489
|
}, null)]);
|
|
3501
3490
|
}
|
|
3502
|
-
}),
|
|
3491
|
+
}), ii = ({
|
|
3503
3492
|
className: e,
|
|
3504
3493
|
hashId: n
|
|
3505
3494
|
}) => t("div", {
|
|
3506
3495
|
class: q(`${e}-footer`, n)
|
|
3507
3496
|
}, [t("div", {
|
|
3508
3497
|
class: q(`${e}-footer-icon`, n)
|
|
3509
|
-
}, [t(
|
|
3498
|
+
}, [t(Pa, null, null), U("选择")]), t("div", {
|
|
3510
3499
|
class: q(`${e}-footer-icon`, n)
|
|
3511
3500
|
}, [t(zt, null, null), t(zt, {
|
|
3512
3501
|
rotate: 180
|
|
3513
|
-
}, null), U("导航")])]),
|
|
3502
|
+
}, null), U("导航")])]), li = /* @__PURE__ */ E({
|
|
3514
3503
|
name: "SearchPageInput",
|
|
3515
3504
|
props: {
|
|
3516
3505
|
...kt,
|
|
@@ -3530,11 +3519,11 @@ const ai = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
|
|
|
3530
3519
|
}), {
|
|
3531
3520
|
wrapSSR: a,
|
|
3532
3521
|
hashId: o
|
|
3533
|
-
} =
|
|
3522
|
+
} = Jo(n), [i, l] = be(""), [r, c] = be(!1), y = ie(), b = Jt(), m = la() ? b["ctrl+k"] : b["cmd+k"], d = me(), w = $(() => {
|
|
3534
3523
|
var u;
|
|
3535
|
-
return It(e.dataSource || ((u =
|
|
3524
|
+
return It(e.dataSource || ((u = y == null ? void 0 : y.menuData) == null ? void 0 : u.value));
|
|
3536
3525
|
});
|
|
3537
|
-
mt(
|
|
3526
|
+
mt(m, () => {
|
|
3538
3527
|
e.disabeldShortKey || c(!0);
|
|
3539
3528
|
}), mt(r, () => {
|
|
3540
3529
|
pt(() => {
|
|
@@ -3542,14 +3531,14 @@ const ai = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
|
|
|
3542
3531
|
(u = d.value) == null || u.focus();
|
|
3543
3532
|
});
|
|
3544
3533
|
});
|
|
3545
|
-
const
|
|
3534
|
+
const C = () => {
|
|
3546
3535
|
c(!1), i.value = "";
|
|
3547
3536
|
};
|
|
3548
3537
|
return () => {
|
|
3549
3538
|
const u = {
|
|
3550
3539
|
className: `${n}`,
|
|
3551
3540
|
hashId: o.value
|
|
3552
|
-
},
|
|
3541
|
+
}, p = `${n}-modal`;
|
|
3553
3542
|
return a(t(J, null, [t("div", {
|
|
3554
3543
|
class: q(n, o.value),
|
|
3555
3544
|
onClick: () => c(!0)
|
|
@@ -3558,7 +3547,7 @@ const ai = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
|
|
|
3558
3547
|
}, [U("搜索")]), t("span", {
|
|
3559
3548
|
class: q(`${n}-word-icon`, o.value)
|
|
3560
3549
|
}, [U("⌘ "), t("kbd", null, [U("K")])])]), t(Ka, {
|
|
3561
|
-
class: q(`${
|
|
3550
|
+
class: q(`${p}`, o.value),
|
|
3562
3551
|
width: 600,
|
|
3563
3552
|
scrollProps: {
|
|
3564
3553
|
maxHeight: 400,
|
|
@@ -3576,24 +3565,24 @@ const ai = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
|
|
|
3576
3565
|
placeholder: "搜索导航菜单",
|
|
3577
3566
|
value: i.value,
|
|
3578
3567
|
prefix: t(Dt, null, null),
|
|
3579
|
-
onChange: (
|
|
3568
|
+
onChange: (S) => l(S.target.value)
|
|
3580
3569
|
}, null),
|
|
3581
3570
|
open: r.value,
|
|
3582
|
-
footer: t(
|
|
3583
|
-
className:
|
|
3571
|
+
footer: t(ii, {
|
|
3572
|
+
className: p,
|
|
3584
3573
|
hashId: o.value
|
|
3585
3574
|
}, null),
|
|
3586
|
-
onCancel: () =>
|
|
3575
|
+
onCancel: () => C()
|
|
3587
3576
|
}, {
|
|
3588
|
-
default: () => [t(
|
|
3577
|
+
default: () => [t(oi, te(u, {
|
|
3589
3578
|
keyword: i.value,
|
|
3590
|
-
dataSource:
|
|
3591
|
-
onClose: () =>
|
|
3579
|
+
dataSource: w.value,
|
|
3580
|
+
onClose: () => C()
|
|
3592
3581
|
}), null)]
|
|
3593
3582
|
})]));
|
|
3594
3583
|
};
|
|
3595
3584
|
}
|
|
3596
|
-
}),
|
|
3585
|
+
}), ri = (e) => {
|
|
3597
3586
|
const { dark: n } = ve(e), a = nt(e, "header");
|
|
3598
3587
|
return {
|
|
3599
3588
|
[`${e.componentCls}`]: {
|
|
@@ -3641,7 +3630,7 @@ const ai = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
|
|
|
3641
3630
|
borderRadius: e.borderRadius,
|
|
3642
3631
|
paddingInlineEnd: e.padding,
|
|
3643
3632
|
"&:hover": {
|
|
3644
|
-
backgroundColor:
|
|
3633
|
+
backgroundColor: fa(e.colorTextBase, 0.03)
|
|
3645
3634
|
}
|
|
3646
3635
|
},
|
|
3647
3636
|
"&-avatar": {
|
|
@@ -3659,13 +3648,13 @@ const ai = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
|
|
|
3659
3648
|
}
|
|
3660
3649
|
};
|
|
3661
3650
|
};
|
|
3662
|
-
function
|
|
3651
|
+
function si(e) {
|
|
3663
3652
|
return Pe("RightContent", (n) => {
|
|
3664
3653
|
const a = He(n);
|
|
3665
|
-
return [
|
|
3654
|
+
return [ri(a)];
|
|
3666
3655
|
}, e);
|
|
3667
3656
|
}
|
|
3668
|
-
const
|
|
3657
|
+
const Qr = /* @__PURE__ */ E({
|
|
3669
3658
|
name: "GlobalRightContent",
|
|
3670
3659
|
props: Bn(),
|
|
3671
3660
|
inheritAttrs: !1,
|
|
@@ -3676,15 +3665,15 @@ const Zr = /* @__PURE__ */ E({
|
|
|
3676
3665
|
const {
|
|
3677
3666
|
isFullscreen: a,
|
|
3678
3667
|
toggle: o
|
|
3679
|
-
} =
|
|
3668
|
+
} = Zn(), i = Oe(), l = ie(), r = en(), c = oe({
|
|
3680
3669
|
suffixCls: "global-header",
|
|
3681
3670
|
isPor: !0
|
|
3682
|
-
}), [
|
|
3683
|
-
wrapSSR:
|
|
3671
|
+
}), [y, b] = be(!1), {
|
|
3672
|
+
wrapSSR: m,
|
|
3684
3673
|
hashId: d
|
|
3685
|
-
} =
|
|
3674
|
+
} = si(c), [w, C] = be("auto"), {
|
|
3686
3675
|
isDark: u,
|
|
3687
|
-
toggleMode:
|
|
3676
|
+
toggleMode: p
|
|
3688
3677
|
} = Mt($(() => {
|
|
3689
3678
|
var R;
|
|
3690
3679
|
return Ue(e.dark) ? e.dark : (R = l == null ? void 0 : l.dark) == null ? void 0 : R.value;
|
|
@@ -3693,7 +3682,7 @@ const Zr = /* @__PURE__ */ E({
|
|
|
3693
3682
|
var B, P, M;
|
|
3694
3683
|
(B = e.onDarkChange) == null || B.call(e, R), (P = e == null ? void 0 : e["onUpdate:dark"]) == null || P.call(e, R), (M = l == null ? void 0 : l.onDarkChange) == null || M.call(l, R);
|
|
3695
3684
|
}
|
|
3696
|
-
}), [
|
|
3685
|
+
}), [S, s] = ze(!1, {
|
|
3697
3686
|
value: $(() => {
|
|
3698
3687
|
var R;
|
|
3699
3688
|
return ne(e.settingsOpen) ? e.settingsOpen : (R = l == null ? void 0 : l.settingsOpen) == null ? void 0 : R.value;
|
|
@@ -3702,61 +3691,61 @@ const Zr = /* @__PURE__ */ E({
|
|
|
3702
3691
|
var B, P;
|
|
3703
3692
|
(B = e.onSettingsOpenChange) == null || B.call(e, R), (P = e == null ? void 0 : e["onUpdate:settingsOpen"]) == null || P.call(e, R), l && !ne(e.settingsOpen) && (l.settingsOpen.value = R);
|
|
3704
3693
|
}
|
|
3705
|
-
}),
|
|
3694
|
+
}), h = $(() => {
|
|
3706
3695
|
var R, B;
|
|
3707
3696
|
return ne((R = l == null ? void 0 : l.isMobile) == null ? void 0 : R.value) ? (B = l == null ? void 0 : l.isMobile) == null ? void 0 : B.value : r.value === "sm" || r.value === "xs";
|
|
3708
|
-
}),
|
|
3697
|
+
}), f = $(() => {
|
|
3709
3698
|
var R;
|
|
3710
3699
|
return Ue(e.dark) ? u.value : (R = i == null ? void 0 : i.dark) == null ? void 0 : R.value;
|
|
3711
|
-
}),
|
|
3712
|
-
|
|
3713
|
-
}, 160),
|
|
3700
|
+
}), x = Jn(async (R) => {
|
|
3701
|
+
C(R);
|
|
3702
|
+
}, 160), I = (R) => {
|
|
3714
3703
|
$n({
|
|
3715
3704
|
event: R,
|
|
3716
|
-
isDark:
|
|
3717
|
-
toggle:
|
|
3705
|
+
isDark: f,
|
|
3706
|
+
toggle: p
|
|
3718
3707
|
});
|
|
3719
3708
|
}, F = () => {
|
|
3720
|
-
e != null && e.onLogout && (
|
|
3709
|
+
e != null && e.onLogout && (b(!0), e.onLogout(() => b(!1)));
|
|
3721
3710
|
};
|
|
3722
3711
|
return () => {
|
|
3723
|
-
const R = $e(n, e, "dropdownMenuRender"), B = $e(n, e, "dropdownRender"), P = $e(n, e, "dropdownMenuExtraItemRender"), M = le(n, e, "actionsRender"), N = a.value ?
|
|
3724
|
-
return
|
|
3712
|
+
const R = $e(n, e, "dropdownMenuRender"), B = $e(n, e, "dropdownRender"), P = $e(n, e, "dropdownMenuExtraItemRender"), M = le(n, e, "actionsRender"), N = a.value ? Ta : Da;
|
|
3713
|
+
return m(t("div", {
|
|
3725
3714
|
class: `${c}-right-content ${d.value}`.trim(),
|
|
3726
3715
|
style: {
|
|
3727
|
-
minWidth:
|
|
3716
|
+
minWidth: w.value,
|
|
3728
3717
|
height: "100%"
|
|
3729
3718
|
}
|
|
3730
3719
|
}, [t("div", {
|
|
3731
3720
|
style: {
|
|
3732
3721
|
height: "100%"
|
|
3733
3722
|
}
|
|
3734
|
-
}, [t(
|
|
3723
|
+
}, [t(Ua, {
|
|
3735
3724
|
key: "resize-observer",
|
|
3736
3725
|
onResize: ({
|
|
3737
3726
|
width: Q
|
|
3738
3727
|
}) => {
|
|
3739
|
-
|
|
3728
|
+
x(Q);
|
|
3740
3729
|
}
|
|
3741
3730
|
}, {
|
|
3742
3731
|
default: () => {
|
|
3743
3732
|
var Q;
|
|
3744
3733
|
return [t("div", {
|
|
3745
3734
|
class: `${c}-header-actions ${d.value}`.trim()
|
|
3746
|
-
}, [e.actions.search && !
|
|
3735
|
+
}, [e.actions.search && !h.value && t(li, {
|
|
3747
3736
|
dataSource: e.dataSource,
|
|
3748
3737
|
disabeldShortKey: (Q = e.shortsKey) == null ? void 0 : Q.disabeld
|
|
3749
3738
|
}, null), e.actions.theme && t("div", {
|
|
3750
3739
|
class: `${c}-header-actions-item ${d.value}`.trim()
|
|
3751
|
-
}, [t(
|
|
3740
|
+
}, [t(We, {
|
|
3752
3741
|
class: `${c}-header-actions-icon ${d.value}`.trim(),
|
|
3753
|
-
name:
|
|
3754
|
-
onClick: (_) =>
|
|
3755
|
-
}, null)]), e.actions.settings && !
|
|
3742
|
+
name: f.value ? "liangse" : "anhei",
|
|
3743
|
+
onClick: (_) => I(_)
|
|
3744
|
+
}, null)]), e.actions.settings && !h.value && t("div", {
|
|
3756
3745
|
class: `${c}-header-actions-item ${d.value}`.trim()
|
|
3757
3746
|
}, [t(cn, {
|
|
3758
|
-
onClick: () => s(!
|
|
3759
|
-
}, null)]), e.actions.fullScreen && !
|
|
3747
|
+
onClick: () => s(!S.value)
|
|
3748
|
+
}, null)]), e.actions.fullScreen && !h.value && t("div", {
|
|
3760
3749
|
class: `${c}-header-actions-item ${d.value}`.trim()
|
|
3761
3750
|
}, [t(N, {
|
|
3762
3751
|
onClick: () => o()
|
|
@@ -3773,9 +3762,9 @@ const Zr = /* @__PURE__ */ E({
|
|
|
3773
3762
|
default: () => [U("锁定屏幕")]
|
|
3774
3763
|
}), t(ye.Divider, null, null)]), t(Tt, {
|
|
3775
3764
|
key: "logout",
|
|
3776
|
-
icon: t(
|
|
3765
|
+
icon: t(za, null, null),
|
|
3777
3766
|
onClick: () => F(),
|
|
3778
|
-
disabled:
|
|
3767
|
+
disabled: y.value
|
|
3779
3768
|
}, {
|
|
3780
3769
|
default: () => [U("退出登录")]
|
|
3781
3770
|
})]
|
|
@@ -3795,7 +3784,7 @@ const Zr = /* @__PURE__ */ E({
|
|
|
3795
3784
|
})])]));
|
|
3796
3785
|
};
|
|
3797
3786
|
}
|
|
3798
|
-
}),
|
|
3787
|
+
}), ci = {
|
|
3799
3788
|
usePageCard: {
|
|
3800
3789
|
type: Boolean,
|
|
3801
3790
|
default: () => {
|
|
@@ -3836,8 +3825,8 @@ const Zr = /* @__PURE__ */ E({
|
|
|
3836
3825
|
},
|
|
3837
3826
|
contentWide: V.bool.def(!1),
|
|
3838
3827
|
loading: V.bool.def(!1),
|
|
3839
|
-
...
|
|
3840
|
-
},
|
|
3828
|
+
...ci
|
|
3829
|
+
}, ui = (e) => ({
|
|
3841
3830
|
[e.componentCls]: {
|
|
3842
3831
|
background: e.colorBgContainer,
|
|
3843
3832
|
padding: `${e.paddingLG}px`,
|
|
@@ -3848,7 +3837,7 @@ const Zr = /* @__PURE__ */ E({
|
|
|
3848
3837
|
marginTop: "8px"
|
|
3849
3838
|
}
|
|
3850
3839
|
}
|
|
3851
|
-
}),
|
|
3840
|
+
}), di = /* @__PURE__ */ E({
|
|
3852
3841
|
name: "ProPageHeader",
|
|
3853
3842
|
props: {
|
|
3854
3843
|
content: bt.contentRender,
|
|
@@ -3861,35 +3850,35 @@ const Zr = /* @__PURE__ */ E({
|
|
|
3861
3850
|
}), {
|
|
3862
3851
|
wrapSSR: i,
|
|
3863
3852
|
hashId: l
|
|
3864
|
-
} = fe("ProPageHeader", [
|
|
3865
|
-
var
|
|
3866
|
-
const c = ((
|
|
3867
|
-
...
|
|
3853
|
+
} = fe("ProPageHeader", [ui], o), r = $(() => {
|
|
3854
|
+
var b;
|
|
3855
|
+
const c = ((b = n == null ? void 0 : n.breadcrumb) == null ? void 0 : b.value) || {}, y = (c.routes || []).map((m) => ({
|
|
3856
|
+
...m,
|
|
3868
3857
|
path: ht().uuid(10),
|
|
3869
|
-
link:
|
|
3858
|
+
link: m.path
|
|
3870
3859
|
}));
|
|
3871
3860
|
return {
|
|
3872
3861
|
...c,
|
|
3873
|
-
routes:
|
|
3862
|
+
routes: y,
|
|
3874
3863
|
itemRender: (c == null ? void 0 : c.itemRender) || (({
|
|
3875
|
-
route:
|
|
3876
|
-
}) =>
|
|
3877
|
-
to:
|
|
3864
|
+
route: m
|
|
3865
|
+
}) => m.link ? t(Ea, {
|
|
3866
|
+
to: m.link
|
|
3878
3867
|
}, {
|
|
3879
|
-
default: () => [
|
|
3880
|
-
}) :
|
|
3868
|
+
default: () => [m.breadcrumbName]
|
|
3869
|
+
}) : m.breadcrumbName)
|
|
3881
3870
|
};
|
|
3882
3871
|
});
|
|
3883
3872
|
return () => {
|
|
3884
3873
|
var c;
|
|
3885
3874
|
return i(t("div", {
|
|
3886
3875
|
class: [`${o}`, l.value, `${o}-has-breadcrumb`]
|
|
3887
|
-
}, [e.breadcrumb ? (c = e.breadcrumb) == null ? void 0 : c.call(e, r.value) : t(
|
|
3876
|
+
}, [e.breadcrumb ? (c = e.breadcrumb) == null ? void 0 : c.call(e, r.value) : t(Wn, r.value, null), Ne(e.content) && t("div", {
|
|
3888
3877
|
class: [`${o}-content`, l.value]
|
|
3889
3878
|
}, [e.content])]));
|
|
3890
3879
|
};
|
|
3891
3880
|
}
|
|
3892
|
-
}),
|
|
3881
|
+
}), mi = (e) => {
|
|
3893
3882
|
var o;
|
|
3894
3883
|
const n = (o = e.layout) == null ? void 0 : o.pageContainer, { layout: a } = ve(e);
|
|
3895
3884
|
return {
|
|
@@ -3927,18 +3916,18 @@ const Zr = /* @__PURE__ */ E({
|
|
|
3927
3916
|
}
|
|
3928
3917
|
};
|
|
3929
3918
|
};
|
|
3930
|
-
function
|
|
3919
|
+
function fi(e) {
|
|
3931
3920
|
return Pe("ProPageContainter", (n) => {
|
|
3932
3921
|
const a = He(n, {
|
|
3933
3922
|
gridContent: `${n.proComponentsCls}-grid-content`
|
|
3934
3923
|
});
|
|
3935
|
-
return [
|
|
3924
|
+
return [mi(a)];
|
|
3936
3925
|
}, e);
|
|
3937
3926
|
}
|
|
3938
|
-
function
|
|
3927
|
+
function hi(e) {
|
|
3939
3928
|
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Le(e);
|
|
3940
3929
|
}
|
|
3941
|
-
const
|
|
3930
|
+
const Zr = /* @__PURE__ */ E({
|
|
3942
3931
|
inheritAttrs: !1,
|
|
3943
3932
|
name: "GProPageContainer",
|
|
3944
3933
|
props: bt,
|
|
@@ -3950,43 +3939,43 @@ const Jr = /* @__PURE__ */ E({
|
|
|
3950
3939
|
const o = ie(), i = Rt(), l = Oe(), r = (o == null ? void 0 : o.getPrefixCls) || oe, c = r({
|
|
3951
3940
|
suffixCls: "page-container",
|
|
3952
3941
|
isPor: !0
|
|
3953
|
-
}),
|
|
3942
|
+
}), y = r({
|
|
3954
3943
|
suffixCls: "grid-content",
|
|
3955
3944
|
isPor: !0
|
|
3956
|
-
}),
|
|
3957
|
-
var
|
|
3958
|
-
return ((
|
|
3959
|
-
}),
|
|
3960
|
-
var
|
|
3961
|
-
return e.pageCardProps || ((
|
|
3945
|
+
}), b = $(() => {
|
|
3946
|
+
var I;
|
|
3947
|
+
return ((I = o == null ? void 0 : o.pageContainerProps) == null ? void 0 : I.value) || {};
|
|
3948
|
+
}), m = $(() => {
|
|
3949
|
+
var I;
|
|
3950
|
+
return e.pageCardProps || ((I = b.value) == null ? void 0 : I.pageCardProps);
|
|
3962
3951
|
}), d = $(() => {
|
|
3963
|
-
var
|
|
3964
|
-
return e.waterMarkProps || ((
|
|
3965
|
-
}), S = $(() => {
|
|
3966
|
-
var C;
|
|
3967
|
-
return e.pageContentStyle || ((C = h.value) == null ? void 0 : C.pageContentStyle);
|
|
3968
|
-
}), p = $(() => {
|
|
3969
|
-
var C;
|
|
3970
|
-
return e.pageChildrenContentStyle || ((C = h.value) == null ? void 0 : C.pageChildrenContentStyle) || {};
|
|
3971
|
-
}), u = $(() => {
|
|
3972
|
-
var C;
|
|
3973
|
-
return e.contentWide || ((C = o == null ? void 0 : o.hasContentWide) == null ? void 0 : C.value);
|
|
3974
|
-
}), v = $(() => {
|
|
3975
|
-
var C, F;
|
|
3976
|
-
return ne(e.usePageCard) ? e.usePageCard : ne((C = h.value) == null ? void 0 : C.usePageCard) ? (F = h.value) == null ? void 0 : F.usePageCard : !0;
|
|
3952
|
+
var I;
|
|
3953
|
+
return e.waterMarkProps || ((I = b.value) == null ? void 0 : I.waterMarkProps) || {};
|
|
3977
3954
|
}), w = $(() => {
|
|
3978
|
-
var
|
|
3979
|
-
return
|
|
3955
|
+
var I;
|
|
3956
|
+
return e.pageContentStyle || ((I = b.value) == null ? void 0 : I.pageContentStyle);
|
|
3957
|
+
}), C = $(() => {
|
|
3958
|
+
var I;
|
|
3959
|
+
return e.pageChildrenContentStyle || ((I = b.value) == null ? void 0 : I.pageChildrenContentStyle) || {};
|
|
3960
|
+
}), u = $(() => {
|
|
3961
|
+
var I;
|
|
3962
|
+
return e.contentWide || ((I = o == null ? void 0 : o.hasContentWide) == null ? void 0 : I.value);
|
|
3963
|
+
}), p = $(() => {
|
|
3964
|
+
var I, F;
|
|
3965
|
+
return ne(e.usePageCard) ? e.usePageCard : ne((I = b.value) == null ? void 0 : I.usePageCard) ? (F = b.value) == null ? void 0 : F.usePageCard : !0;
|
|
3966
|
+
}), S = $(() => {
|
|
3967
|
+
var I, F, R;
|
|
3968
|
+
return (R = (F = (I = l == null ? void 0 : l.token) == null ? void 0 : I.value) == null ? void 0 : F.layout) == null ? void 0 : R.pageContainer;
|
|
3980
3969
|
}), {
|
|
3981
3970
|
wrapSSR: s,
|
|
3982
|
-
hashId:
|
|
3983
|
-
} =
|
|
3971
|
+
hashId: h
|
|
3972
|
+
} = fi(c), f = () => {
|
|
3984
3973
|
var F, R, B, P;
|
|
3985
|
-
const
|
|
3974
|
+
const I = $e(n, e, "pageChildrenExtraRender");
|
|
3986
3975
|
return t("div", {
|
|
3987
|
-
class: `${c}-children-content ${
|
|
3988
|
-
style:
|
|
3989
|
-
}, [
|
|
3976
|
+
class: `${c}-children-content ${h.value}`,
|
|
3977
|
+
style: C.value
|
|
3978
|
+
}, [I, p.value ? t(Un, te(m.value ? ae(m.value, ["loading", "bodyStyle"]) : {}, {
|
|
3990
3979
|
style: u.value ? {
|
|
3991
3980
|
minHeight: "853px"
|
|
3992
3981
|
} : void 0,
|
|
@@ -3996,44 +3985,44 @@ const Jr = /* @__PURE__ */ E({
|
|
|
3996
3985
|
var M;
|
|
3997
3986
|
return [(M = n.default) == null ? void 0 : M.call(n)];
|
|
3998
3987
|
}
|
|
3999
|
-
}) : Ne(
|
|
4000
|
-
style: (F =
|
|
4001
|
-
marginBlockStart: `${(R =
|
|
3988
|
+
}) : Ne(I) ? t("div", {
|
|
3989
|
+
style: (F = S.value) != null && F.marginBlockPageContainerContent ? {
|
|
3990
|
+
marginBlockStart: `${(R = S.value) == null ? void 0 : R.marginBlockPageContainerContent}px`
|
|
4002
3991
|
} : void 0
|
|
4003
3992
|
}, [(B = n.default) == null ? void 0 : B.call(n)]) : (P = n.default) == null ? void 0 : P.call(n)]);
|
|
4004
|
-
},
|
|
3993
|
+
}, x = () => {
|
|
4005
3994
|
var F;
|
|
4006
|
-
let
|
|
4007
|
-
return t(J, null, [(ne(e.waterMark) ? e.waterMark : (F = o == null ? void 0 : o.waterMark) != null && F.value) ? t(
|
|
4008
|
-
default: () => [
|
|
4009
|
-
}) :
|
|
3995
|
+
let I;
|
|
3996
|
+
return t(J, null, [(ne(e.waterMark) ? e.waterMark : (F = o == null ? void 0 : o.waterMark) != null && F.value) ? t(_a, d.value, hi(I = f()) ? I : {
|
|
3997
|
+
default: () => [I]
|
|
3998
|
+
}) : f()]);
|
|
4010
3999
|
};
|
|
4011
4000
|
return () => {
|
|
4012
4001
|
var B, P;
|
|
4013
|
-
const
|
|
4002
|
+
const I = $e(n, e, "pageHeaderRender") || ((B = o == null ? void 0 : o.pageHeaderRender) == null ? void 0 : B.value), F = le(n, e, "breadcrumbRender"), R = $e(n, e, "contentRender");
|
|
4014
4003
|
return s(t("div", {
|
|
4015
4004
|
style: a.style,
|
|
4016
4005
|
class: {
|
|
4017
|
-
[`${
|
|
4006
|
+
[`${h.value}`]: !0,
|
|
4018
4007
|
[`${c}`]: !0
|
|
4019
4008
|
}
|
|
4020
4009
|
}, [e.loading && t("div", {
|
|
4021
|
-
class: q(`${c}-blur`,
|
|
4010
|
+
class: q(`${c}-blur`, h.value)
|
|
4022
4011
|
}, [t(Ct, {
|
|
4023
4012
|
indicator: (P = i == null ? void 0 : i.indicator) == null ? void 0 : P.value
|
|
4024
|
-
}, null)]), !u.value &&
|
|
4013
|
+
}, null)]), !u.value && I !== !1 && (I || t(di, {
|
|
4025
4014
|
style: e.pageHeaderStyle,
|
|
4026
4015
|
breadcrumb: F,
|
|
4027
4016
|
content: R
|
|
4028
4017
|
}, null)), t("div", {
|
|
4029
|
-
class: [
|
|
4018
|
+
class: [y, h.value]
|
|
4030
4019
|
}, [t("div", {
|
|
4031
|
-
class: `${
|
|
4032
|
-
style:
|
|
4033
|
-
}, [
|
|
4020
|
+
class: `${y}-children ${h.value}`,
|
|
4021
|
+
style: w.value
|
|
4022
|
+
}, [x()])])]));
|
|
4034
4023
|
};
|
|
4035
4024
|
}
|
|
4036
|
-
}), vt = Object.keys(Y).filter((e) => e !== "title"),
|
|
4025
|
+
}), vt = Object.keys(Y).filter((e) => e !== "title"), gi = [{
|
|
4037
4026
|
value: "light",
|
|
4038
4027
|
label: () => t("div", {
|
|
4039
4028
|
style: {
|
|
@@ -4041,7 +4030,7 @@ const Jr = /* @__PURE__ */ E({
|
|
|
4041
4030
|
alignItems: "center",
|
|
4042
4031
|
gap: "6px"
|
|
4043
4032
|
}
|
|
4044
|
-
}, [t(
|
|
4033
|
+
}, [t(We, {
|
|
4045
4034
|
name: "liangse"
|
|
4046
4035
|
}, null), U("亮色")])
|
|
4047
4036
|
}, {
|
|
@@ -4052,7 +4041,7 @@ const Jr = /* @__PURE__ */ E({
|
|
|
4052
4041
|
alignItems: "center",
|
|
4053
4042
|
gap: "6px"
|
|
4054
4043
|
}
|
|
4055
|
-
}, [t(
|
|
4044
|
+
}, [t(We, {
|
|
4056
4045
|
name: "anhei"
|
|
4057
4046
|
}, null), U("深色")])
|
|
4058
4047
|
}, {
|
|
@@ -4063,7 +4052,7 @@ const Jr = /* @__PURE__ */ E({
|
|
|
4063
4052
|
alignItems: "center",
|
|
4064
4053
|
gap: "6px"
|
|
4065
4054
|
}
|
|
4066
|
-
}, [t(
|
|
4055
|
+
}, [t(Na, null, null), U("自动")])
|
|
4067
4056
|
}], kn = [
|
|
4068
4057
|
{
|
|
4069
4058
|
key: "light",
|
|
@@ -4092,13 +4081,13 @@ const Jr = /* @__PURE__ */ E({
|
|
|
4092
4081
|
}, {
|
|
4093
4082
|
key: "simple",
|
|
4094
4083
|
title: "简单菜单布局"
|
|
4095
|
-
}],
|
|
4084
|
+
}], yi = [{
|
|
4096
4085
|
key: "header",
|
|
4097
4086
|
title: "顶部主题"
|
|
4098
4087
|
}, {
|
|
4099
4088
|
key: "sider",
|
|
4100
4089
|
title: "左侧主题"
|
|
4101
|
-
}],
|
|
4090
|
+
}], bi = [{
|
|
4102
4091
|
key: "colorBgMenu",
|
|
4103
4092
|
name: "全部背景"
|
|
4104
4093
|
}, {
|
|
@@ -4119,7 +4108,7 @@ const Jr = /* @__PURE__ */ E({
|
|
|
4119
4108
|
}, {
|
|
4120
4109
|
key: "colorTextMenuSelected",
|
|
4121
4110
|
name: "菜单文字选中颜色"
|
|
4122
|
-
}],
|
|
4111
|
+
}], vi = [{
|
|
4123
4112
|
label: "fixedHeader",
|
|
4124
4113
|
title: "固定 Header"
|
|
4125
4114
|
}, {
|
|
@@ -4128,13 +4117,13 @@ const Jr = /* @__PURE__ */ E({
|
|
|
4128
4117
|
}, {
|
|
4129
4118
|
label: "splitMenus",
|
|
4130
4119
|
title: "自动分割菜单"
|
|
4131
|
-
}],
|
|
4120
|
+
}], pi = [{
|
|
4132
4121
|
label: "showTabsBar",
|
|
4133
4122
|
title: "多标签"
|
|
4134
4123
|
}, {
|
|
4135
4124
|
label: "fixedTabsBar",
|
|
4136
4125
|
title: "固定多标签"
|
|
4137
|
-
}],
|
|
4126
|
+
}], Ci = (e) => {
|
|
4138
4127
|
const { dark: n } = ve(e);
|
|
4139
4128
|
return {
|
|
4140
4129
|
[e.componentCls]: {
|
|
@@ -4356,7 +4345,7 @@ const Jr = /* @__PURE__ */ E({
|
|
|
4356
4345
|
}))]);
|
|
4357
4346
|
};
|
|
4358
4347
|
}
|
|
4359
|
-
}),
|
|
4348
|
+
}), xi = /* @__PURE__ */ E({
|
|
4360
4349
|
name: "ThemeColor",
|
|
4361
4350
|
inheritAttrs: !1,
|
|
4362
4351
|
props: {
|
|
@@ -4441,7 +4430,7 @@ const Jr = /* @__PURE__ */ E({
|
|
|
4441
4430
|
}]
|
|
4442
4431
|
}, null);
|
|
4443
4432
|
}
|
|
4444
|
-
}),
|
|
4433
|
+
}), Si = (e) => ({
|
|
4445
4434
|
[e.componentCls]: {
|
|
4446
4435
|
padding: e.marginLG,
|
|
4447
4436
|
"*": {
|
|
@@ -4475,19 +4464,19 @@ const Jr = /* @__PURE__ */ E({
|
|
|
4475
4464
|
}
|
|
4476
4465
|
}
|
|
4477
4466
|
});
|
|
4478
|
-
function
|
|
4467
|
+
function wi(e) {
|
|
4479
4468
|
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Le(e);
|
|
4480
4469
|
}
|
|
4481
4470
|
const Pn = [];
|
|
4482
|
-
|
|
4483
|
-
|
|
4471
|
+
ha.forEach((e) => {
|
|
4472
|
+
ga.forEach((n) => {
|
|
4484
4473
|
Pn.push({
|
|
4485
4474
|
key: `${e}:${n}`,
|
|
4486
4475
|
token: {}
|
|
4487
4476
|
});
|
|
4488
4477
|
});
|
|
4489
4478
|
});
|
|
4490
|
-
const
|
|
4479
|
+
const Ii = /* @__PURE__ */ E({
|
|
4491
4480
|
name: "ThemeEditor",
|
|
4492
4481
|
props: {
|
|
4493
4482
|
theme: Ae.theme,
|
|
@@ -4503,63 +4492,63 @@ const Ri = /* @__PURE__ */ E({
|
|
|
4503
4492
|
}), {
|
|
4504
4493
|
wrapSSR: l,
|
|
4505
4494
|
hashId: r
|
|
4506
|
-
} = fe("ProThemeEditor", [
|
|
4495
|
+
} = fe("ProThemeEditor", [Si], i), {
|
|
4507
4496
|
token: c
|
|
4508
|
-
} = Oe(),
|
|
4509
|
-
var
|
|
4510
|
-
return (
|
|
4497
|
+
} = Oe(), y = $(() => {
|
|
4498
|
+
var C;
|
|
4499
|
+
return (C = c.value) == null ? void 0 : C.layout;
|
|
4511
4500
|
});
|
|
4512
|
-
function
|
|
4501
|
+
function b(C) {
|
|
4513
4502
|
return Re(Pn).map((u) => {
|
|
4514
|
-
var
|
|
4515
|
-
const
|
|
4516
|
-
if (u.token =
|
|
4503
|
+
var S;
|
|
4504
|
+
const p = at(C, c.value, u.key);
|
|
4505
|
+
if (u.token = p, p)
|
|
4517
4506
|
for (const s in u.token) {
|
|
4518
|
-
const
|
|
4519
|
-
u.token[s] =
|
|
4507
|
+
const h = (S = y.value) == null ? void 0 : S[C], f = (h == null ? void 0 : h[s]) || u.token[s];
|
|
4508
|
+
u.token[s] = f;
|
|
4520
4509
|
}
|
|
4521
4510
|
return u;
|
|
4522
4511
|
}).filter((u) => u.token);
|
|
4523
4512
|
}
|
|
4524
|
-
const
|
|
4525
|
-
header:
|
|
4526
|
-
sider:
|
|
4513
|
+
const m = Be({
|
|
4514
|
+
header: b("header"),
|
|
4515
|
+
sider: b("sider")
|
|
4527
4516
|
});
|
|
4528
4517
|
ce([() => {
|
|
4529
|
-
var
|
|
4530
|
-
return (u = (
|
|
4518
|
+
var C, u;
|
|
4519
|
+
return (u = (C = c.value) == null ? void 0 : C.layout) == null ? void 0 : u.header;
|
|
4531
4520
|
}, () => {
|
|
4532
|
-
var
|
|
4533
|
-
return (u = (
|
|
4521
|
+
var C, u;
|
|
4522
|
+
return (u = (C = c.value) == null ? void 0 : C.layout) == null ? void 0 : u.sider;
|
|
4534
4523
|
}], () => {
|
|
4535
|
-
|
|
4524
|
+
m.sider = b("sider"), m.header = b("header");
|
|
4536
4525
|
}, {
|
|
4537
4526
|
deep: 1
|
|
4538
4527
|
});
|
|
4539
4528
|
const d = $(() => {
|
|
4540
4529
|
var u;
|
|
4541
|
-
const
|
|
4542
|
-
var
|
|
4543
|
-
return
|
|
4530
|
+
const C = (u = m[a.value].find((p) => {
|
|
4531
|
+
var S;
|
|
4532
|
+
return p.key === ((S = y.value) == null ? void 0 : S.key);
|
|
4544
4533
|
})) == null ? void 0 : u.token;
|
|
4545
|
-
return Object.keys(
|
|
4534
|
+
return Object.keys(C || {}).map((p) => {
|
|
4546
4535
|
var s;
|
|
4547
4536
|
return {
|
|
4548
|
-
title: ((s =
|
|
4549
|
-
key:
|
|
4550
|
-
value: (
|
|
4537
|
+
title: ((s = bi.find((h) => h.key === p)) == null ? void 0 : s.name) || "",
|
|
4538
|
+
key: p,
|
|
4539
|
+
value: (C == null ? void 0 : C[p]) || ""
|
|
4551
4540
|
};
|
|
4552
4541
|
});
|
|
4553
|
-
}),
|
|
4554
|
-
var
|
|
4555
|
-
|
|
4542
|
+
}), w = (C, u) => {
|
|
4543
|
+
var p;
|
|
4544
|
+
m[a.value] = m[a.value].map((S) => {
|
|
4556
4545
|
var s;
|
|
4557
|
-
return
|
|
4558
|
-
}), (
|
|
4546
|
+
return S.key === ((s = y.value) == null ? void 0 : s.key) && (S.token[u] = C), S;
|
|
4547
|
+
}), (p = e.onChange) == null || p.call(e, C, a.value, u);
|
|
4559
4548
|
};
|
|
4560
4549
|
return () => {
|
|
4561
|
-
var u,
|
|
4562
|
-
let
|
|
4550
|
+
var u, p, S;
|
|
4551
|
+
let C;
|
|
4563
4552
|
return l(t("div", {
|
|
4564
4553
|
class: [i, r.value]
|
|
4565
4554
|
}, [t("h3", {
|
|
@@ -4570,10 +4559,10 @@ const Ri = /* @__PURE__ */ E({
|
|
|
4570
4559
|
style: {
|
|
4571
4560
|
marginInline: "8px"
|
|
4572
4561
|
}
|
|
4573
|
-
}, [U("/")]), t("span", null, [(
|
|
4574
|
-
var
|
|
4575
|
-
return s.key === ((
|
|
4576
|
-
})) == null ? void 0 :
|
|
4562
|
+
}, [U("/")]), t("span", null, [(p = Fn.find((s) => {
|
|
4563
|
+
var h;
|
|
4564
|
+
return s.key === ((h = e.settingValue) == null ? void 0 : h.layout);
|
|
4565
|
+
})) == null ? void 0 : p.title])])]), t("div", {
|
|
4577
4566
|
class: [`${i}-content`, r.value]
|
|
4578
4567
|
}, [t(Ie, {
|
|
4579
4568
|
class: `${i}-list ${r.value}`.trim(),
|
|
@@ -4593,7 +4582,7 @@ const Ri = /* @__PURE__ */ E({
|
|
|
4593
4582
|
dataSource: [{
|
|
4594
4583
|
title: "自定义主题色",
|
|
4595
4584
|
action: t(Nt, {
|
|
4596
|
-
value: (
|
|
4585
|
+
value: (S = e.settingValue) == null ? void 0 : S.primaryColor,
|
|
4597
4586
|
size: "small",
|
|
4598
4587
|
onChangeComplete: (s) => e.onChange && e.onChange(s.toCssString(), "primaryColor")
|
|
4599
4588
|
}, null)
|
|
@@ -4601,7 +4590,7 @@ const Ri = /* @__PURE__ */ E({
|
|
|
4601
4590
|
}, null), t(xt, {
|
|
4602
4591
|
activeKey: a.value,
|
|
4603
4592
|
onChange: (s) => o(s)
|
|
4604
|
-
},
|
|
4593
|
+
}, wi(C = yi.map((s) => t(_n, {
|
|
4605
4594
|
key: s.key,
|
|
4606
4595
|
tab: s.title
|
|
4607
4596
|
}, {
|
|
@@ -4610,31 +4599,31 @@ const Ri = /* @__PURE__ */ E({
|
|
|
4610
4599
|
split: !1,
|
|
4611
4600
|
size: "small",
|
|
4612
4601
|
renderItem: ({
|
|
4613
|
-
item:
|
|
4602
|
+
item: h
|
|
4614
4603
|
}) => t(Ie.Item, {
|
|
4615
|
-
actions: [
|
|
4604
|
+
actions: [h.action]
|
|
4616
4605
|
}, {
|
|
4617
4606
|
default: () => [t("span", {
|
|
4618
4607
|
style: {
|
|
4619
|
-
opacity:
|
|
4608
|
+
opacity: h.disabled ? 0.5 : 1
|
|
4620
4609
|
}
|
|
4621
|
-
}, [
|
|
4610
|
+
}, [h.title])]
|
|
4622
4611
|
}),
|
|
4623
|
-
dataSource: d.value.map((
|
|
4624
|
-
...
|
|
4612
|
+
dataSource: d.value.map((h) => ({
|
|
4613
|
+
...h,
|
|
4625
4614
|
action: t(Nt, {
|
|
4626
|
-
value:
|
|
4615
|
+
value: h.value,
|
|
4627
4616
|
size: "small",
|
|
4628
|
-
onChangeComplete: (
|
|
4617
|
+
onChangeComplete: (f) => w(f.toCssString(), h.key)
|
|
4629
4618
|
}, null)
|
|
4630
4619
|
}))
|
|
4631
4620
|
}, null)]
|
|
4632
|
-
}))) ?
|
|
4633
|
-
default: () => [
|
|
4621
|
+
}))) ? C : {
|
|
4622
|
+
default: () => [C]
|
|
4634
4623
|
})])]));
|
|
4635
4624
|
};
|
|
4636
4625
|
}
|
|
4637
|
-
}),
|
|
4626
|
+
}), Ri = (e) => ({
|
|
4638
4627
|
[e.componentCls]: {
|
|
4639
4628
|
padding: e.marginLG,
|
|
4640
4629
|
"&-title": {
|
|
@@ -4670,7 +4659,7 @@ function _t(e) {
|
|
|
4670
4659
|
}
|
|
4671
4660
|
const {
|
|
4672
4661
|
preset: Xt
|
|
4673
|
-
} = Ot,
|
|
4662
|
+
} = Ot, $i = /* @__PURE__ */ E({
|
|
4674
4663
|
name: "OthersChange",
|
|
4675
4664
|
props: {
|
|
4676
4665
|
prefixCls: V.string,
|
|
@@ -4684,9 +4673,9 @@ const {
|
|
|
4684
4673
|
}), {
|
|
4685
4674
|
wrapSSR: a,
|
|
4686
4675
|
hashId: o
|
|
4687
|
-
} = fe("SettingsDrawOthers", [
|
|
4676
|
+
} = fe("SettingsDrawOthers", [Ri], n);
|
|
4688
4677
|
return () => {
|
|
4689
|
-
var l, r, c,
|
|
4678
|
+
var l, r, c, y, b, m, d, w, C, u, p, S, s, h;
|
|
4690
4679
|
let i;
|
|
4691
4680
|
return a(t("div", {
|
|
4692
4681
|
class: [n, o.value]
|
|
@@ -4697,19 +4686,19 @@ const {
|
|
|
4697
4686
|
split: !1,
|
|
4698
4687
|
size: "small",
|
|
4699
4688
|
renderItem: ({
|
|
4700
|
-
item:
|
|
4689
|
+
item: f
|
|
4701
4690
|
}) => t(et, {
|
|
4702
|
-
title:
|
|
4691
|
+
title: f.disabled ? f.disabledReason : "",
|
|
4703
4692
|
placement: "left"
|
|
4704
4693
|
}, {
|
|
4705
4694
|
default: () => [t(Ie.Item, {
|
|
4706
|
-
actions: [
|
|
4695
|
+
actions: [f.action]
|
|
4707
4696
|
}, {
|
|
4708
4697
|
default: () => [t("span", {
|
|
4709
4698
|
style: {
|
|
4710
|
-
opacity:
|
|
4699
|
+
opacity: f.disabled ? 0.5 : 1
|
|
4711
4700
|
}
|
|
4712
|
-
}, [
|
|
4701
|
+
}, [f.title])]
|
|
4713
4702
|
})]
|
|
4714
4703
|
}),
|
|
4715
4704
|
dataSource: [{
|
|
@@ -4717,38 +4706,38 @@ const {
|
|
|
4717
4706
|
action: t(Zt, {
|
|
4718
4707
|
checked: !((r = (l = e.settingValue) == null ? void 0 : l.animate) != null && r.disabled),
|
|
4719
4708
|
size: "small",
|
|
4720
|
-
onChange: (
|
|
4721
|
-
var
|
|
4722
|
-
return (
|
|
4709
|
+
onChange: (f) => {
|
|
4710
|
+
var x;
|
|
4711
|
+
return (x = e.onChange) == null ? void 0 : x.call(e, "animate", "disabled", !f);
|
|
4723
4712
|
}
|
|
4724
4713
|
}, null)
|
|
4725
4714
|
}, {
|
|
4726
4715
|
title: "动画效果",
|
|
4727
|
-
disabled: (
|
|
4716
|
+
disabled: (y = (c = e.settingValue) == null ? void 0 : c.animate) == null ? void 0 : y.disabled,
|
|
4728
4717
|
action: t(Xe, {
|
|
4729
|
-
value: (
|
|
4718
|
+
value: (m = (b = e.settingValue) == null ? void 0 : b.animate) == null ? void 0 : m.name,
|
|
4730
4719
|
style: {
|
|
4731
4720
|
width: "100px"
|
|
4732
4721
|
},
|
|
4733
4722
|
size: "small",
|
|
4734
|
-
disabled: (
|
|
4735
|
-
getPopupContainer: (
|
|
4736
|
-
onChange: (
|
|
4737
|
-
var
|
|
4738
|
-
return (
|
|
4723
|
+
disabled: (w = (d = e.settingValue) == null ? void 0 : d.animate) == null ? void 0 : w.disabled,
|
|
4724
|
+
getPopupContainer: (f) => f && f.parentNode ? f.parentNode : f,
|
|
4725
|
+
onChange: (f) => {
|
|
4726
|
+
var x;
|
|
4727
|
+
return (x = e.onChange) == null ? void 0 : x.call(e, "animate", "name", f);
|
|
4739
4728
|
}
|
|
4740
|
-
}, _t(i = Xt.map((
|
|
4741
|
-
value:
|
|
4729
|
+
}, _t(i = Xt.map((f) => t(Xe.Option, {
|
|
4730
|
+
value: f.name
|
|
4742
4731
|
}, {
|
|
4743
|
-
default: () => [
|
|
4732
|
+
default: () => [f.alias]
|
|
4744
4733
|
}))) ? i : {
|
|
4745
4734
|
default: () => [i]
|
|
4746
4735
|
})
|
|
4747
4736
|
}, {
|
|
4748
4737
|
title: "动画方向",
|
|
4749
|
-
disabled: (u = (
|
|
4738
|
+
disabled: (u = (C = e.settingValue) == null ? void 0 : C.animate) == null ? void 0 : u.disabled,
|
|
4750
4739
|
action: t(Xe, {
|
|
4751
|
-
value: (
|
|
4740
|
+
value: (S = (p = e.settingValue) == null ? void 0 : p.animate) == null ? void 0 : S.direction,
|
|
4752
4741
|
style: {
|
|
4753
4742
|
width: "100px"
|
|
4754
4743
|
},
|
|
@@ -4756,22 +4745,22 @@ const {
|
|
|
4756
4745
|
dropdownStyle: {
|
|
4757
4746
|
minWidth: "120px"
|
|
4758
4747
|
},
|
|
4759
|
-
disabled: (
|
|
4760
|
-
getPopupContainer: (
|
|
4761
|
-
onChange: (
|
|
4762
|
-
var
|
|
4763
|
-
return (
|
|
4748
|
+
disabled: (h = (s = e.settingValue) == null ? void 0 : s.animate) == null ? void 0 : h.disabled,
|
|
4749
|
+
getPopupContainer: (f) => f && f.parentNode ? f.parentNode : f,
|
|
4750
|
+
onChange: (f) => {
|
|
4751
|
+
var x;
|
|
4752
|
+
return (x = e.onChange) == null ? void 0 : x.call(e, "animate", "direction", f);
|
|
4764
4753
|
}
|
|
4765
4754
|
}, {
|
|
4766
4755
|
default: () => {
|
|
4767
|
-
var
|
|
4768
|
-
return [(
|
|
4769
|
-
var
|
|
4770
|
-
return
|
|
4771
|
-
})) == null ? void 0 :
|
|
4772
|
-
value:
|
|
4773
|
-
}, _t(
|
|
4774
|
-
default: () => [
|
|
4756
|
+
var f;
|
|
4757
|
+
return [(f = Xt.find((x) => {
|
|
4758
|
+
var I, F;
|
|
4759
|
+
return x.name === ((F = (I = e.settingValue) == null ? void 0 : I.animate) == null ? void 0 : F.name);
|
|
4760
|
+
})) == null ? void 0 : f.directions.map((x) => t(Xe.Option, {
|
|
4761
|
+
value: x
|
|
4762
|
+
}, _t(x) ? x : {
|
|
4763
|
+
default: () => [x]
|
|
4775
4764
|
}))];
|
|
4776
4765
|
}
|
|
4777
4766
|
})
|
|
@@ -4780,11 +4769,11 @@ const {
|
|
|
4780
4769
|
};
|
|
4781
4770
|
}
|
|
4782
4771
|
}), {
|
|
4783
|
-
preset:
|
|
4784
|
-
} = Ot,
|
|
4772
|
+
preset: Bi
|
|
4773
|
+
} = Ot, Li = {
|
|
4785
4774
|
color: "#fff",
|
|
4786
4775
|
fontSize: 20
|
|
4787
|
-
}, Vt = (e) =>
|
|
4776
|
+
}, Vt = (e) => sa() ? {
|
|
4788
4777
|
...ae(Y, vt),
|
|
4789
4778
|
...e || {}
|
|
4790
4779
|
} : Re(Y), Ee = (e, {
|
|
@@ -4798,7 +4787,7 @@ const {
|
|
|
4798
4787
|
}, [t("h3", {
|
|
4799
4788
|
class: `${e.prefixCls}-body-title ${e.hashId}`.trim()
|
|
4800
4789
|
}, [e.title]), (a = n.default) == null ? void 0 : a.call(n)]);
|
|
4801
|
-
},
|
|
4790
|
+
}, Oi = () => ({
|
|
4802
4791
|
...$t,
|
|
4803
4792
|
open: {
|
|
4804
4793
|
type: Boolean,
|
|
@@ -4819,16 +4808,16 @@ const {
|
|
|
4819
4808
|
},
|
|
4820
4809
|
colorList: {
|
|
4821
4810
|
type: [Boolean, Array],
|
|
4822
|
-
default: () =>
|
|
4811
|
+
default: () => ya
|
|
4823
4812
|
},
|
|
4824
4813
|
onChange: Function,
|
|
4825
4814
|
onOpenChange: Function,
|
|
4826
4815
|
"onUpdate:open": Function,
|
|
4827
4816
|
onDarkChange: Ae.onDarkChange,
|
|
4828
4817
|
onLayoutChange: Function
|
|
4829
|
-
}),
|
|
4818
|
+
}), Jr = /* @__PURE__ */ E({
|
|
4830
4819
|
name: "SettingDrawer",
|
|
4831
|
-
props:
|
|
4820
|
+
props: Oi(),
|
|
4832
4821
|
emits: ["change", "layoutChange", "openChange", "update:open", "update:dark", "darkChange"],
|
|
4833
4822
|
setup(e) {
|
|
4834
4823
|
const n = Oe(), a = ie(), o = oe({
|
|
@@ -4840,7 +4829,7 @@ const {
|
|
|
4840
4829
|
}), {}), {
|
|
4841
4830
|
wrapSSR: r,
|
|
4842
4831
|
hashId: c
|
|
4843
|
-
} = fe("ProSettingDraw", [
|
|
4832
|
+
} = fe("ProSettingDraw", [Ci], o), y = me(!1), [b, m] = ze(!1, {
|
|
4844
4833
|
value: $(() => {
|
|
4845
4834
|
var L;
|
|
4846
4835
|
return ne(e.open) ? e.open : (L = a == null ? void 0 : a.settingsOpen) == null ? void 0 : L.value;
|
|
@@ -4851,56 +4840,56 @@ const {
|
|
|
4851
4840
|
}
|
|
4852
4841
|
}), {
|
|
4853
4842
|
innerDark: d,
|
|
4854
|
-
isDark:
|
|
4855
|
-
toggleMode:
|
|
4843
|
+
isDark: w,
|
|
4844
|
+
toggleMode: C
|
|
4856
4845
|
} = Mt($(() => {
|
|
4857
4846
|
var L;
|
|
4858
4847
|
return Ue(e.dark) ? e.dark : (L = a == null ? void 0 : a.dark) == null ? void 0 : L.value;
|
|
4859
4848
|
}), {
|
|
4860
4849
|
change: (L) => {
|
|
4861
|
-
var k, D,
|
|
4862
|
-
(k = e.onDarkChange) == null || k.call(e, L), (D = e == null ? void 0 : e["onUpdate:dark"]) == null || D.call(e, L), (
|
|
4850
|
+
var k, D, K;
|
|
4851
|
+
(k = e.onDarkChange) == null || k.call(e, L), (D = e == null ? void 0 : e["onUpdate:dark"]) == null || D.call(e, L), (K = a == null ? void 0 : a.onDarkChange) == null || K.call(a, L);
|
|
4863
4852
|
}
|
|
4864
|
-
}), [u,
|
|
4865
|
-
value:
|
|
4853
|
+
}), [u, p] = be(!1), [S, s] = be(!1), h = $(() => e.storage ? Object.keys(l.value).length > 0 : !1), f = $(() => Vt(ae(e.settings, vt))), [x, I] = ze(() => Vt(ae(e.settings, vt)), {
|
|
4854
|
+
value: f,
|
|
4866
4855
|
onChange: (L) => {
|
|
4867
4856
|
var k;
|
|
4868
4857
|
l.value = Ce(l.value, L), (k = e.onChange) == null || k.call(e, L);
|
|
4869
4858
|
}
|
|
4870
4859
|
}), F = $(() => {
|
|
4871
4860
|
var L;
|
|
4872
|
-
return Ue(e.dark) ?
|
|
4861
|
+
return Ue(e.dark) ? w.value : (L = n == null ? void 0 : n.dark) == null ? void 0 : L.value;
|
|
4873
4862
|
}), R = (L, k) => {
|
|
4874
4863
|
$n({
|
|
4875
4864
|
event: L,
|
|
4876
4865
|
isDark: F,
|
|
4877
|
-
toggle:
|
|
4866
|
+
toggle: C,
|
|
4878
4867
|
value: k
|
|
4879
4868
|
});
|
|
4880
4869
|
};
|
|
4881
4870
|
ce(() => e.storage, (L) => {
|
|
4882
|
-
L && (
|
|
4871
|
+
L && (h.value ? (Object.assign(i, {
|
|
4883
4872
|
dark: d.value,
|
|
4884
|
-
...Re(
|
|
4885
|
-
}),
|
|
4886
|
-
...
|
|
4873
|
+
...Re(x.value)
|
|
4874
|
+
}), ra(Me(l.value, "dark"), x.value) || I(Me(l.value, "dark")), R(null, l.value.dark)) : l.value = {
|
|
4875
|
+
...x.value,
|
|
4887
4876
|
dark: d.value
|
|
4888
4877
|
});
|
|
4889
4878
|
}, {
|
|
4890
4879
|
immediate: !0
|
|
4891
4880
|
});
|
|
4892
|
-
const B = $(() => e.colorList && tn(e.colorList) ? e.colorList : []), P = $(() =>
|
|
4881
|
+
const B = $(() => e.colorList && tn(e.colorList) ? e.colorList : []), P = $(() => zo(re(x))), {
|
|
4893
4882
|
copy: M,
|
|
4894
4883
|
copied: N,
|
|
4895
4884
|
isSupported: Q
|
|
4896
|
-
} =
|
|
4897
|
-
ce(
|
|
4898
|
-
|
|
4885
|
+
} = ea();
|
|
4886
|
+
ce(b, () => {
|
|
4887
|
+
y.value || (y.value = !0);
|
|
4899
4888
|
}), ce(() => {
|
|
4900
4889
|
var L;
|
|
4901
4890
|
return (L = a == null ? void 0 : a.settingsOpen) == null ? void 0 : L.value;
|
|
4902
4891
|
}, (L) => {
|
|
4903
|
-
ne(e.open) ||
|
|
4892
|
+
ne(e.open) || m(L);
|
|
4904
4893
|
}), ce(N, (L) => {
|
|
4905
4894
|
L && Xn.success("拷贝成功,请到 config/default/themeConfig.js 中替换默认配置");
|
|
4906
4895
|
}), ce(() => d.value, (L) => {
|
|
@@ -4908,33 +4897,33 @@ const {
|
|
|
4908
4897
|
});
|
|
4909
4898
|
const _ = (L, k, D) => {
|
|
4910
4899
|
var ge, H, G;
|
|
4911
|
-
const
|
|
4912
|
-
if (D != null && D.subKey &&
|
|
4913
|
-
ee[L] = {}, ee[L][D == null ? void 0 : D.subKey] = k, (ge = e.onLayoutChange) == null || ge.call(e, ae(ee,
|
|
4900
|
+
const K = ["header", "sider"], ee = {};
|
|
4901
|
+
if (D != null && D.subKey && K.includes(L)) {
|
|
4902
|
+
ee[L] = {}, ee[L][D == null ? void 0 : D.subKey] = k, (ge = e.onLayoutChange) == null || ge.call(e, ae(ee, K));
|
|
4914
4903
|
return;
|
|
4915
4904
|
} else
|
|
4916
|
-
L === "animate" ? (ee[L] = {}, D != null && D.subKey && (ee[L][D == null ? void 0 : D.subKey] = k), (D == null ? void 0 : D.subKey) === "name" && (ee[L].direction = (G = (H =
|
|
4905
|
+
L === "animate" ? (ee[L] = {}, D != null && D.subKey && (ee[L][D == null ? void 0 : D.subKey] = k), (D == null ? void 0 : D.subKey) === "name" && (ee[L].direction = (G = (H = Bi.find((Z) => Z.name === k)) == null ? void 0 : H.directions) == null ? void 0 : G[0])) : ee[L] = k;
|
|
4917
4906
|
if (L === "colorWeak") {
|
|
4918
4907
|
const Z = document.querySelector("body");
|
|
4919
4908
|
Z && (Z.dataset.prosettingdrawer = k === !0 ? Z.style.filter : Z.dataset.prosettingdrawer || "none", k === !0 && (Z.dataset.prosettingdrawer = Z.style.filter), Z.style.filter = k === !0 ? "invert(80%)" : Z.dataset.prosettingdrawer || "none", k || delete Z.dataset.prosettingdrawer);
|
|
4920
4909
|
}
|
|
4921
|
-
|
|
4922
|
-
...
|
|
4910
|
+
I(Ce(re(x), {
|
|
4911
|
+
...Do(Me(ee, K))
|
|
4923
4912
|
}));
|
|
4924
4913
|
}, X = (L) => {
|
|
4925
4914
|
l.value.dark = L === "system" ? L : L === "dark", R(null, L === "system" ? L : L === "dark");
|
|
4926
4915
|
}, he = () => {
|
|
4927
|
-
Q.value && M(JSON.stringify(re(
|
|
4916
|
+
Q.value && M(JSON.stringify(re(x)));
|
|
4928
4917
|
}, de = () => {
|
|
4929
|
-
|
|
4918
|
+
I(Me(Re(i), "dark")), R(null, i.dark), l.value = Re(i);
|
|
4930
4919
|
};
|
|
4931
4920
|
return () => {
|
|
4932
|
-
const L =
|
|
4921
|
+
const L = b.value ? ot : cn;
|
|
4933
4922
|
return r(t(Ye, {
|
|
4934
4923
|
width: 300,
|
|
4935
4924
|
closable: !1,
|
|
4936
|
-
open:
|
|
4937
|
-
rootClassName: `${o} ${c.value} ${
|
|
4925
|
+
open: b.value,
|
|
4926
|
+
rootClassName: `${o} ${c.value} ${b.value && `${o}-show`} ${!y.value && `${o}-trantion-none`}`,
|
|
4938
4927
|
placement: "right",
|
|
4939
4928
|
rootStyle: {
|
|
4940
4929
|
zIndex: 999
|
|
@@ -4942,17 +4931,17 @@ const {
|
|
|
4942
4931
|
bodyStyle: {
|
|
4943
4932
|
padding: 0
|
|
4944
4933
|
},
|
|
4945
|
-
onClose: () =>
|
|
4934
|
+
onClose: () => m(!1),
|
|
4946
4935
|
handle: t("div", {
|
|
4947
4936
|
class: [`${o}-handle`, c.value],
|
|
4948
|
-
onClick: () =>
|
|
4937
|
+
onClick: () => m(!b.value)
|
|
4949
4938
|
}, [t(L, {
|
|
4950
|
-
style:
|
|
4939
|
+
style: Li
|
|
4951
4940
|
}, null)])
|
|
4952
4941
|
}, {
|
|
4953
4942
|
default: () => [t("div", {
|
|
4954
4943
|
class: [`${o}-wrapper`, c.value]
|
|
4955
|
-
}, [t(
|
|
4944
|
+
}, [t(Xa, null, {
|
|
4956
4945
|
default: () => [t("div", {
|
|
4957
4946
|
class: [`${o}-content`, c.value]
|
|
4958
4947
|
}, [t(Ee, {
|
|
@@ -4962,7 +4951,7 @@ const {
|
|
|
4962
4951
|
}, {
|
|
4963
4952
|
default: () => [t(Vn, {
|
|
4964
4953
|
value: ne(d.value) ? d.value ? "dark" : "light" : "system",
|
|
4965
|
-
options:
|
|
4954
|
+
options: gi,
|
|
4966
4955
|
onChange: (k) => X(k)
|
|
4967
4956
|
}, null)]
|
|
4968
4957
|
}), t(Ee, {
|
|
@@ -4974,7 +4963,7 @@ const {
|
|
|
4974
4963
|
hashId: c.value,
|
|
4975
4964
|
prefixCls: o,
|
|
4976
4965
|
list: kn,
|
|
4977
|
-
value:
|
|
4966
|
+
value: x.value.theme,
|
|
4978
4967
|
configType: "theme",
|
|
4979
4968
|
key: "navTheme",
|
|
4980
4969
|
onChange: (k, D) => _("theme", k, {
|
|
@@ -4988,15 +4977,15 @@ const {
|
|
|
4988
4977
|
fontSize: "12px",
|
|
4989
4978
|
marginLeft: "4px"
|
|
4990
4979
|
},
|
|
4991
|
-
onClick: () =>
|
|
4980
|
+
onClick: () => p(!0)
|
|
4992
4981
|
}, [U("更多配置")])]),
|
|
4993
4982
|
prefixCls: o
|
|
4994
4983
|
}, {
|
|
4995
|
-
default: () => [t(
|
|
4984
|
+
default: () => [t(xi, {
|
|
4996
4985
|
hashId: c.value,
|
|
4997
4986
|
prefixCls: o,
|
|
4998
4987
|
colorList: B.value,
|
|
4999
|
-
settingValue:
|
|
4988
|
+
settingValue: x.value,
|
|
5000
4989
|
onChange: (k, D) => _(D || "primaryColor", k)
|
|
5001
4990
|
}, null)]
|
|
5002
4991
|
}), !e.themeOnly && t(J, null, [t(st, null, null), t(Ee, {
|
|
@@ -5006,24 +4995,24 @@ const {
|
|
|
5006
4995
|
}, {
|
|
5007
4996
|
default: () => [t(Ut, {
|
|
5008
4997
|
prefixCls: o,
|
|
5009
|
-
value: re(
|
|
4998
|
+
value: re(x).layout,
|
|
5010
4999
|
key: "layout",
|
|
5011
5000
|
hashId: c.value,
|
|
5012
5001
|
configType: "layout",
|
|
5013
5002
|
list: Fn,
|
|
5014
5003
|
onChange: (k) => _("layout", k)
|
|
5015
5004
|
}, null)]
|
|
5016
|
-
}),
|
|
5005
|
+
}), vi.map(({
|
|
5017
5006
|
label: k,
|
|
5018
5007
|
title: D
|
|
5019
5008
|
}) => t(Ge, {
|
|
5020
5009
|
label: D,
|
|
5021
5010
|
disabled: P.value[k],
|
|
5022
|
-
value:
|
|
5011
|
+
value: x.value[k],
|
|
5023
5012
|
prefixCls: o,
|
|
5024
5013
|
hashId: c.value,
|
|
5025
5014
|
valueKey: k,
|
|
5026
|
-
onChange: (
|
|
5015
|
+
onChange: (K, ee) => _(K, ee)
|
|
5027
5016
|
}, null)), t(st, null, null), t(Ee, {
|
|
5028
5017
|
hashId: c.value,
|
|
5029
5018
|
prefixCls: o,
|
|
@@ -5035,27 +5024,27 @@ const {
|
|
|
5035
5024
|
onClick: () => s(!0)
|
|
5036
5025
|
}, [U("更多配置")])])
|
|
5037
5026
|
}, {
|
|
5038
|
-
default: () => [
|
|
5027
|
+
default: () => [pi.map(({
|
|
5039
5028
|
label: k,
|
|
5040
5029
|
title: D
|
|
5041
5030
|
}) => t(Ge, {
|
|
5042
5031
|
label: D,
|
|
5043
5032
|
disabled: re(P)[k],
|
|
5044
|
-
value: re(
|
|
5033
|
+
value: re(x)[k],
|
|
5045
5034
|
prefixCls: o,
|
|
5046
5035
|
hashId: c.value,
|
|
5047
5036
|
valueKey: k,
|
|
5048
|
-
onChange: (
|
|
5037
|
+
onChange: (K, ee) => _(K, ee)
|
|
5049
5038
|
}, null)), e.weakmode && t(Ge, {
|
|
5050
5039
|
label: "色弱模式",
|
|
5051
|
-
value: re(
|
|
5040
|
+
value: re(x).colorWeak,
|
|
5052
5041
|
prefixCls: o,
|
|
5053
5042
|
hashId: c.value,
|
|
5054
5043
|
valueKey: "colorWeak",
|
|
5055
5044
|
onChange: (k, D) => _(k, D)
|
|
5056
5045
|
}, null), e.showProgress && t(Ge, {
|
|
5057
5046
|
label: "顶部进度条",
|
|
5058
|
-
value: re(
|
|
5047
|
+
value: re(x).showProgressBar,
|
|
5059
5048
|
prefixCls: o,
|
|
5060
5049
|
hashId: c.value,
|
|
5061
5050
|
valueKey: "showProgressBar",
|
|
@@ -5064,7 +5053,7 @@ const {
|
|
|
5064
5053
|
})]), e.hideHintAlert && e.hideCopyButton ? null : t(st, null, null), e.hideHintAlert ? null : t(Gn, {
|
|
5065
5054
|
type: "warning",
|
|
5066
5055
|
message: "配置栏只在开发环境用于预览,生产环境不会展现,请拷贝后手动修改配置文件",
|
|
5067
|
-
icon: t(
|
|
5056
|
+
icon: t(Aa, null, null),
|
|
5068
5057
|
showIcon: !0,
|
|
5069
5058
|
style: {
|
|
5070
5059
|
marginBottom: "16px"
|
|
@@ -5078,12 +5067,12 @@ const {
|
|
|
5078
5067
|
onClick: () => he(),
|
|
5079
5068
|
block: !0
|
|
5080
5069
|
}, {
|
|
5081
|
-
default: () => [t(
|
|
5070
|
+
default: () => [t(Ha, null, null), U("拷贝设置")]
|
|
5082
5071
|
}), t(qe, {
|
|
5083
5072
|
block: !0,
|
|
5084
5073
|
onClick: () => de()
|
|
5085
5074
|
}, {
|
|
5086
|
-
default: () => [t(
|
|
5075
|
+
default: () => [t(ja, null, null), U("清空缓存")]
|
|
5087
5076
|
})])])]
|
|
5088
5077
|
})]), t(Ye, {
|
|
5089
5078
|
width: 320,
|
|
@@ -5093,28 +5082,28 @@ const {
|
|
|
5093
5082
|
bodyStyle: {
|
|
5094
5083
|
padding: 0
|
|
5095
5084
|
},
|
|
5096
|
-
onClose: () =>
|
|
5085
|
+
onClose: () => p(!1)
|
|
5097
5086
|
}, {
|
|
5098
|
-
default: () => [t(
|
|
5099
|
-
theme:
|
|
5100
|
-
settingValue:
|
|
5101
|
-
onChange: (k, D,
|
|
5102
|
-
subKey:
|
|
5087
|
+
default: () => [t(Ii, {
|
|
5088
|
+
theme: x.value.theme,
|
|
5089
|
+
settingValue: x.value,
|
|
5090
|
+
onChange: (k, D, K) => _(D || "primaryColor", k, {
|
|
5091
|
+
subKey: K
|
|
5103
5092
|
})
|
|
5104
5093
|
}, null)]
|
|
5105
5094
|
}), t(Ye, {
|
|
5106
5095
|
width: 320,
|
|
5107
5096
|
closable: !1,
|
|
5108
5097
|
placement: "right",
|
|
5109
|
-
open:
|
|
5098
|
+
open: S.value,
|
|
5110
5099
|
bodyStyle: {
|
|
5111
5100
|
padding: 0
|
|
5112
5101
|
},
|
|
5113
5102
|
onClose: () => s(!1)
|
|
5114
5103
|
}, {
|
|
5115
|
-
default: () => [t(
|
|
5116
|
-
settingValue:
|
|
5117
|
-
onChange: (k, D,
|
|
5104
|
+
default: () => [t($i, {
|
|
5105
|
+
settingValue: x.value,
|
|
5106
|
+
onChange: (k, D, K) => _(k, K, {
|
|
5118
5107
|
subKey: D
|
|
5119
5108
|
})
|
|
5120
5109
|
}, null)]
|
|
@@ -5122,7 +5111,7 @@ const {
|
|
|
5122
5111
|
}));
|
|
5123
5112
|
};
|
|
5124
5113
|
}
|
|
5125
|
-
}),
|
|
5114
|
+
}), Mi = new v("backInLeft", {
|
|
5126
5115
|
"0%": {
|
|
5127
5116
|
opacity: 0.7,
|
|
5128
5117
|
transform: "translateX(-2000px) scale(0.7)"
|
|
@@ -5135,7 +5124,7 @@ const {
|
|
|
5135
5124
|
opacity: 1,
|
|
5136
5125
|
transform: "scale(1)"
|
|
5137
5126
|
}
|
|
5138
|
-
}),
|
|
5127
|
+
}), ki = new v("backInRight", {
|
|
5139
5128
|
"0%": {
|
|
5140
5129
|
opacity: 0.7,
|
|
5141
5130
|
transform: "translateX(2000px) scale(0.7)"
|
|
@@ -5148,7 +5137,7 @@ const {
|
|
|
5148
5137
|
opacity: 1,
|
|
5149
5138
|
transform: "scale(1)"
|
|
5150
5139
|
}
|
|
5151
|
-
}),
|
|
5140
|
+
}), Fi = new v("backInUp", {
|
|
5152
5141
|
"0%": {
|
|
5153
5142
|
opacity: 0.7,
|
|
5154
5143
|
transform: "translateY(1200px) scale(0.7)"
|
|
@@ -5161,7 +5150,7 @@ const {
|
|
|
5161
5150
|
opacity: 1,
|
|
5162
5151
|
transform: "scale(1)"
|
|
5163
5152
|
}
|
|
5164
|
-
}),
|
|
5153
|
+
}), Pi = new v("backInDown", {
|
|
5165
5154
|
"0%": {
|
|
5166
5155
|
opacity: 0.7,
|
|
5167
5156
|
transform: "translateY(-1200px) scale(0.7)"
|
|
@@ -5174,7 +5163,7 @@ const {
|
|
|
5174
5163
|
opacity: 1,
|
|
5175
5164
|
transform: "scale(1)"
|
|
5176
5165
|
}
|
|
5177
|
-
}),
|
|
5166
|
+
}), Ti = new v("backOutLeft", {
|
|
5178
5167
|
"0%": {
|
|
5179
5168
|
opacity: 1,
|
|
5180
5169
|
transform: "scale(1)"
|
|
@@ -5187,7 +5176,7 @@ const {
|
|
|
5187
5176
|
opacity: 0.7,
|
|
5188
5177
|
transform: "translateX(-2000px) scale(0.7)"
|
|
5189
5178
|
}
|
|
5190
|
-
}),
|
|
5179
|
+
}), Di = new v("backOutRight", {
|
|
5191
5180
|
"0%": {
|
|
5192
5181
|
opacity: 1,
|
|
5193
5182
|
transform: "scale(1)"
|
|
@@ -5200,7 +5189,7 @@ const {
|
|
|
5200
5189
|
opacity: 0.7,
|
|
5201
5190
|
transform: "translateX(2000px) scale(0.7)"
|
|
5202
5191
|
}
|
|
5203
|
-
}),
|
|
5192
|
+
}), zi = new v("backOutUp", {
|
|
5204
5193
|
"0%": {
|
|
5205
5194
|
opacity: 1,
|
|
5206
5195
|
transform: "scale(1)"
|
|
@@ -5213,7 +5202,7 @@ const {
|
|
|
5213
5202
|
opacity: 0.7,
|
|
5214
5203
|
transform: "translateY(-700px) scale(0.7)"
|
|
5215
5204
|
}
|
|
5216
|
-
}),
|
|
5205
|
+
}), Ni = new v("backOutDown", {
|
|
5217
5206
|
"0%": {
|
|
5218
5207
|
opacity: 1,
|
|
5219
5208
|
transform: "scale(1)"
|
|
@@ -5226,41 +5215,41 @@ const {
|
|
|
5226
5215
|
opacity: 0.7,
|
|
5227
5216
|
transform: "translateY(700px) scale(0.7)"
|
|
5228
5217
|
}
|
|
5229
|
-
}),
|
|
5218
|
+
}), Ai = () => ({
|
|
5230
5219
|
"&.backInLeft": {
|
|
5231
5220
|
animationFillMode: "both",
|
|
5232
|
-
animationName:
|
|
5221
|
+
animationName: Mi
|
|
5233
5222
|
},
|
|
5234
5223
|
"&.backInRight": {
|
|
5235
5224
|
animationFillMode: "both",
|
|
5236
|
-
animationName:
|
|
5225
|
+
animationName: ki
|
|
5237
5226
|
},
|
|
5238
5227
|
"&.backInUp": {
|
|
5239
5228
|
animationFillMode: "both",
|
|
5240
|
-
animationName:
|
|
5229
|
+
animationName: Fi
|
|
5241
5230
|
},
|
|
5242
5231
|
"&.backInDown": {
|
|
5243
5232
|
animationFillMode: "both",
|
|
5244
|
-
animationName:
|
|
5233
|
+
animationName: Pi
|
|
5245
5234
|
}
|
|
5246
|
-
}),
|
|
5235
|
+
}), Hi = () => ({
|
|
5247
5236
|
"&.backOutLeft": {
|
|
5248
5237
|
animationFillMode: "both",
|
|
5249
|
-
animationName:
|
|
5238
|
+
animationName: Ti
|
|
5250
5239
|
},
|
|
5251
5240
|
"&.backOutRight": {
|
|
5252
5241
|
animationFillMode: "both",
|
|
5253
|
-
animationName:
|
|
5242
|
+
animationName: Di
|
|
5254
5243
|
},
|
|
5255
5244
|
"&.backOutUp": {
|
|
5256
5245
|
animationFillMode: "both",
|
|
5257
|
-
animationName:
|
|
5246
|
+
animationName: zi
|
|
5258
5247
|
},
|
|
5259
5248
|
"&.backOutDown": {
|
|
5260
5249
|
animationFillMode: "both",
|
|
5261
|
-
animationName:
|
|
5250
|
+
animationName: Ni
|
|
5262
5251
|
}
|
|
5263
|
-
}),
|
|
5252
|
+
}), ji = new v("bounceIn", {
|
|
5264
5253
|
"from,20%,40%,60%,80%,to": {
|
|
5265
5254
|
animationTimingFunction: "cubic-bezier(0.215, 0.61, 0.355, 1)"
|
|
5266
5255
|
},
|
|
@@ -5284,7 +5273,7 @@ const {
|
|
|
5284
5273
|
opacity: 1,
|
|
5285
5274
|
transform: "scale3d(1, 1, 1)"
|
|
5286
5275
|
}
|
|
5287
|
-
}),
|
|
5276
|
+
}), Ei = new v("bounceInLeft", {
|
|
5288
5277
|
"from,60%,75%,90%,to": {
|
|
5289
5278
|
animationTimingFunction: "cubic-bezier(0.215, 0.61, 0.355, 1)"
|
|
5290
5279
|
},
|
|
@@ -5305,7 +5294,7 @@ const {
|
|
|
5305
5294
|
to: {
|
|
5306
5295
|
transform: "translate3d(0, 0, 0)"
|
|
5307
5296
|
}
|
|
5308
|
-
}), Ki = new
|
|
5297
|
+
}), Ki = new v("bounceInRight", {
|
|
5309
5298
|
"from,60%,75%,90%,to": {
|
|
5310
5299
|
animationTimingFunction: "cubic-bezier(0.215, 0.61, 0.355, 1)"
|
|
5311
5300
|
},
|
|
@@ -5326,7 +5315,7 @@ const {
|
|
|
5326
5315
|
to: {
|
|
5327
5316
|
transform: "translate3d(0, 0, 0)"
|
|
5328
5317
|
}
|
|
5329
|
-
}),
|
|
5318
|
+
}), Wi = new v("bounceInDown", {
|
|
5330
5319
|
"from,60%,75%,90%,to": {
|
|
5331
5320
|
animationTimingFunction: "cubic-bezier(0.215, 0.61, 0.355, 1)"
|
|
5332
5321
|
},
|
|
@@ -5347,7 +5336,7 @@ const {
|
|
|
5347
5336
|
to: {
|
|
5348
5337
|
transform: "translate3d(0, 0, 0)"
|
|
5349
5338
|
}
|
|
5350
|
-
}),
|
|
5339
|
+
}), Ui = new v("bounceInUp", {
|
|
5351
5340
|
"from,60%,75%,90%,to": {
|
|
5352
5341
|
animationTimingFunction: "cubic-bezier(0.215, 0.61, 0.355, 1)"
|
|
5353
5342
|
},
|
|
@@ -5368,7 +5357,7 @@ const {
|
|
|
5368
5357
|
to: {
|
|
5369
5358
|
transform: "translate3d(0, 0, 0)"
|
|
5370
5359
|
}
|
|
5371
|
-
}),
|
|
5360
|
+
}), _i = new v("bounceOut", {
|
|
5372
5361
|
"20%": {
|
|
5373
5362
|
transform: "scale3d(0.9, 0.9, 0.9)"
|
|
5374
5363
|
},
|
|
@@ -5382,7 +5371,7 @@ const {
|
|
|
5382
5371
|
opacity: 0,
|
|
5383
5372
|
transform: "scale3d(0.3, 0.3, 0.3)"
|
|
5384
5373
|
}
|
|
5385
|
-
}),
|
|
5374
|
+
}), Xi = new v("bounceOutLeft", {
|
|
5386
5375
|
"20%": {
|
|
5387
5376
|
opacity: 1,
|
|
5388
5377
|
transform: "translate3d(20px, 0, 0) scaleX(0.9)"
|
|
@@ -5391,7 +5380,7 @@ const {
|
|
|
5391
5380
|
opacity: 0,
|
|
5392
5381
|
transform: "translate3d(-2000px, 0, 0) scaleX(2)"
|
|
5393
5382
|
}
|
|
5394
|
-
}),
|
|
5383
|
+
}), Vi = new v("bounceOutRight", {
|
|
5395
5384
|
"20%": {
|
|
5396
5385
|
opacity: 1,
|
|
5397
5386
|
transform: "translate3d(-20px, 0, 0) scaleX(0.9)"
|
|
@@ -5400,7 +5389,7 @@ const {
|
|
|
5400
5389
|
opacity: 0,
|
|
5401
5390
|
transform: "translate3d(2000px, 0, 0) scaleX(2)"
|
|
5402
5391
|
}
|
|
5403
|
-
}),
|
|
5392
|
+
}), Gi = new v("bounceOutDown", {
|
|
5404
5393
|
"20%": {
|
|
5405
5394
|
transform: "translate3d(0, 10px, 0) scaleY(0.985)"
|
|
5406
5395
|
},
|
|
@@ -5412,7 +5401,7 @@ const {
|
|
|
5412
5401
|
opacity: 0,
|
|
5413
5402
|
transform: "translate3d(0, 2000px, 0) scaleY(3)"
|
|
5414
5403
|
}
|
|
5415
|
-
}),
|
|
5404
|
+
}), Yi = new v("bounceOutUp", {
|
|
5416
5405
|
"20%": {
|
|
5417
5406
|
transform: "translate3d(0, -10px, 0) scaleY(0.985)"
|
|
5418
5407
|
},
|
|
@@ -5424,15 +5413,15 @@ const {
|
|
|
5424
5413
|
opacity: 0,
|
|
5425
5414
|
transform: "translate3d(0, -2000px, 0) scaleY(3)"
|
|
5426
5415
|
}
|
|
5427
|
-
}),
|
|
5416
|
+
}), qi = () => ({
|
|
5428
5417
|
"&.bounceIn": {
|
|
5429
5418
|
animationFillMode: "both",
|
|
5430
5419
|
animationDuration: `${0.3 * 0.75}s !important`,
|
|
5431
|
-
animationName:
|
|
5420
|
+
animationName: ji
|
|
5432
5421
|
},
|
|
5433
5422
|
"&.bounceInLeft": {
|
|
5434
5423
|
animationFillMode: "both",
|
|
5435
|
-
animationName:
|
|
5424
|
+
animationName: Ei
|
|
5436
5425
|
},
|
|
5437
5426
|
"&.bounceInRight": {
|
|
5438
5427
|
animationFillMode: "both",
|
|
@@ -5440,42 +5429,42 @@ const {
|
|
|
5440
5429
|
},
|
|
5441
5430
|
"&.bounceInDown": {
|
|
5442
5431
|
animationFillMode: "both",
|
|
5443
|
-
animationName:
|
|
5432
|
+
animationName: Wi
|
|
5444
5433
|
},
|
|
5445
5434
|
"&.bounceInUp": {
|
|
5446
5435
|
animationFillMode: "both",
|
|
5447
|
-
animationName:
|
|
5436
|
+
animationName: Ui
|
|
5448
5437
|
}
|
|
5449
|
-
}),
|
|
5438
|
+
}), Qi = () => ({
|
|
5450
5439
|
"&.bounceOut": {
|
|
5451
5440
|
animationFillMode: "both",
|
|
5452
5441
|
animationDuration: `${0.3 * 0.75}s !important`,
|
|
5453
|
-
animationName:
|
|
5442
|
+
animationName: _i
|
|
5454
5443
|
},
|
|
5455
5444
|
"&.bounceOutLeft": {
|
|
5456
5445
|
animationFillMode: "both",
|
|
5457
|
-
animationName:
|
|
5446
|
+
animationName: Xi
|
|
5458
5447
|
},
|
|
5459
5448
|
"&.bounceOutRight": {
|
|
5460
5449
|
animationFillMode: "both",
|
|
5461
|
-
animationName:
|
|
5450
|
+
animationName: Vi
|
|
5462
5451
|
},
|
|
5463
5452
|
"&.bounceOutDown": {
|
|
5464
5453
|
animationFillMode: "both",
|
|
5465
|
-
animationName:
|
|
5454
|
+
animationName: Gi
|
|
5466
5455
|
},
|
|
5467
5456
|
"&.bounceOutUp": {
|
|
5468
5457
|
animationFillMode: "both",
|
|
5469
|
-
animationName:
|
|
5458
|
+
animationName: Yi
|
|
5470
5459
|
}
|
|
5471
|
-
}),
|
|
5460
|
+
}), Zi = new v("fadeIn", {
|
|
5472
5461
|
from: {
|
|
5473
5462
|
opacity: 0
|
|
5474
5463
|
},
|
|
5475
5464
|
to: {
|
|
5476
5465
|
opacity: 1
|
|
5477
5466
|
}
|
|
5478
|
-
}),
|
|
5467
|
+
}), Ji = new v("fadeInLeft", {
|
|
5479
5468
|
from: {
|
|
5480
5469
|
opacity: 0,
|
|
5481
5470
|
transform: "translate3d(-100%, 0, 0)"
|
|
@@ -5484,7 +5473,7 @@ const {
|
|
|
5484
5473
|
opacity: 1,
|
|
5485
5474
|
transform: "translate3d(0, 0, 0)"
|
|
5486
5475
|
}
|
|
5487
|
-
}),
|
|
5476
|
+
}), el = new v("fadeInRight", {
|
|
5488
5477
|
from: {
|
|
5489
5478
|
opacity: 0,
|
|
5490
5479
|
transform: "translate3d(100%, 0, 0)"
|
|
@@ -5493,7 +5482,7 @@ const {
|
|
|
5493
5482
|
opacity: 1,
|
|
5494
5483
|
transform: "translate3d(0, 0, 0)"
|
|
5495
5484
|
}
|
|
5496
|
-
}),
|
|
5485
|
+
}), tl = new v("fadeInDown", {
|
|
5497
5486
|
from: {
|
|
5498
5487
|
opacity: 0,
|
|
5499
5488
|
transform: "translate3d(0, -100%, 0)"
|
|
@@ -5502,7 +5491,7 @@ const {
|
|
|
5502
5491
|
opacity: 1,
|
|
5503
5492
|
transform: "translate3d(0, 0, 0)"
|
|
5504
5493
|
}
|
|
5505
|
-
}),
|
|
5494
|
+
}), nl = new v("fadeInUp", {
|
|
5506
5495
|
from: {
|
|
5507
5496
|
opacity: 0,
|
|
5508
5497
|
transform: "translate3d(0, 100%, 0)"
|
|
@@ -5511,7 +5500,7 @@ const {
|
|
|
5511
5500
|
opacity: 1,
|
|
5512
5501
|
transform: "translate3d(0, 0, 0)"
|
|
5513
5502
|
}
|
|
5514
|
-
}),
|
|
5503
|
+
}), al = new v("fadeInDownBig", {
|
|
5515
5504
|
from: {
|
|
5516
5505
|
opacity: 0,
|
|
5517
5506
|
transform: "translate3d(0, -2000px, 0)"
|
|
@@ -5520,7 +5509,7 @@ const {
|
|
|
5520
5509
|
opacity: 1,
|
|
5521
5510
|
transform: "translate3d(0, 0, 0)"
|
|
5522
5511
|
}
|
|
5523
|
-
}),
|
|
5512
|
+
}), ol = new v("fadeInUpBig", {
|
|
5524
5513
|
from: {
|
|
5525
5514
|
opacity: 0,
|
|
5526
5515
|
transform: "translate3d(0, 2000px, 0)"
|
|
@@ -5529,7 +5518,7 @@ const {
|
|
|
5529
5518
|
opacity: 1,
|
|
5530
5519
|
transform: "translate3d(0, 0, 0)"
|
|
5531
5520
|
}
|
|
5532
|
-
}),
|
|
5521
|
+
}), il = new v("fadeInLeftBig", {
|
|
5533
5522
|
from: {
|
|
5534
5523
|
opacity: 0,
|
|
5535
5524
|
transform: "translate3d(-2000px, 0, 0)"
|
|
@@ -5538,7 +5527,7 @@ const {
|
|
|
5538
5527
|
opacity: 1,
|
|
5539
5528
|
transform: "translate3d(0, 0, 0)"
|
|
5540
5529
|
}
|
|
5541
|
-
}),
|
|
5530
|
+
}), ll = new v("fadeInRightBig", {
|
|
5542
5531
|
from: {
|
|
5543
5532
|
opacity: 0,
|
|
5544
5533
|
transform: "translate3d(2000px, 0, 0)"
|
|
@@ -5547,7 +5536,7 @@ const {
|
|
|
5547
5536
|
opacity: 1,
|
|
5548
5537
|
transform: "translate3d(0, 0, 0)"
|
|
5549
5538
|
}
|
|
5550
|
-
}),
|
|
5539
|
+
}), rl = new v("fadeInTopLeft", {
|
|
5551
5540
|
from: {
|
|
5552
5541
|
opacity: 0,
|
|
5553
5542
|
transform: "translate3d(-100%, -100%, 0)"
|
|
@@ -5556,7 +5545,7 @@ const {
|
|
|
5556
5545
|
opacity: 1,
|
|
5557
5546
|
transform: "translate3d(0, 0, 0)"
|
|
5558
5547
|
}
|
|
5559
|
-
}),
|
|
5548
|
+
}), sl = new v("fadeInBottomRight", {
|
|
5560
5549
|
from: {
|
|
5561
5550
|
opacity: 0,
|
|
5562
5551
|
transform: "translate3d(100%, 100%, 0)"
|
|
@@ -5565,7 +5554,7 @@ const {
|
|
|
5565
5554
|
opacity: 1,
|
|
5566
5555
|
transform: "translate3d(0, 0, 0)"
|
|
5567
5556
|
}
|
|
5568
|
-
}),
|
|
5557
|
+
}), cl = new v("fadeInTopRight", {
|
|
5569
5558
|
from: {
|
|
5570
5559
|
opacity: 0,
|
|
5571
5560
|
transform: "translate3d(100%, -100%, 0)"
|
|
@@ -5574,7 +5563,7 @@ const {
|
|
|
5574
5563
|
opacity: 1,
|
|
5575
5564
|
transform: "translate3d(0, 0, 0)"
|
|
5576
5565
|
}
|
|
5577
|
-
}),
|
|
5566
|
+
}), ul = new v("fadeInBottomLeft", {
|
|
5578
5567
|
from: {
|
|
5579
5568
|
opacity: 0,
|
|
5580
5569
|
transform: "translate3d(-100%, 100%, 0)"
|
|
@@ -5583,14 +5572,14 @@ const {
|
|
|
5583
5572
|
opacity: 1,
|
|
5584
5573
|
transform: "translate3d(0, 0, 0)"
|
|
5585
5574
|
}
|
|
5586
|
-
}),
|
|
5575
|
+
}), dl = new v("fadeOut", {
|
|
5587
5576
|
from: {
|
|
5588
5577
|
opacity: 1
|
|
5589
5578
|
},
|
|
5590
5579
|
to: {
|
|
5591
5580
|
opacity: 0
|
|
5592
5581
|
}
|
|
5593
|
-
}),
|
|
5582
|
+
}), ml = new v("fadeOutLeft", {
|
|
5594
5583
|
from: {
|
|
5595
5584
|
opacity: 1
|
|
5596
5585
|
},
|
|
@@ -5598,7 +5587,7 @@ const {
|
|
|
5598
5587
|
opacity: 0,
|
|
5599
5588
|
transform: "translate3d(-100%, 0, 0)"
|
|
5600
5589
|
}
|
|
5601
|
-
}),
|
|
5590
|
+
}), fl = new v("fadeOutRight", {
|
|
5602
5591
|
from: {
|
|
5603
5592
|
opacity: 1
|
|
5604
5593
|
},
|
|
@@ -5606,7 +5595,7 @@ const {
|
|
|
5606
5595
|
opacity: 0,
|
|
5607
5596
|
transform: "translate3d(100%, 0, 0)"
|
|
5608
5597
|
}
|
|
5609
|
-
}),
|
|
5598
|
+
}), hl = new v("fadeOutDown", {
|
|
5610
5599
|
from: {
|
|
5611
5600
|
opacity: 1
|
|
5612
5601
|
},
|
|
@@ -5614,7 +5603,7 @@ const {
|
|
|
5614
5603
|
opacity: 0,
|
|
5615
5604
|
transform: "translate3d(0, 100%, 0)"
|
|
5616
5605
|
}
|
|
5617
|
-
}),
|
|
5606
|
+
}), gl = new v("fadeOutUp", {
|
|
5618
5607
|
from: {
|
|
5619
5608
|
opacity: 1
|
|
5620
5609
|
},
|
|
@@ -5622,7 +5611,7 @@ const {
|
|
|
5622
5611
|
opacity: 0,
|
|
5623
5612
|
transform: "translate3d(0, -100%, 0)"
|
|
5624
5613
|
}
|
|
5625
|
-
}),
|
|
5614
|
+
}), yl = new v("fadeOutDownBig", {
|
|
5626
5615
|
from: {
|
|
5627
5616
|
opacity: 1
|
|
5628
5617
|
},
|
|
@@ -5630,7 +5619,7 @@ const {
|
|
|
5630
5619
|
opacity: 0,
|
|
5631
5620
|
transform: "translate3d(0, 2000px, 0)"
|
|
5632
5621
|
}
|
|
5633
|
-
}),
|
|
5622
|
+
}), bl = new v("fadeOutUpBig", {
|
|
5634
5623
|
from: {
|
|
5635
5624
|
opacity: 1
|
|
5636
5625
|
},
|
|
@@ -5638,7 +5627,7 @@ const {
|
|
|
5638
5627
|
opacity: 0,
|
|
5639
5628
|
transform: "translate3d(0, -2000px, 0)"
|
|
5640
5629
|
}
|
|
5641
|
-
}),
|
|
5630
|
+
}), vl = new v("fadeOutLeftBig", {
|
|
5642
5631
|
from: {
|
|
5643
5632
|
opacity: 1
|
|
5644
5633
|
},
|
|
@@ -5646,7 +5635,7 @@ const {
|
|
|
5646
5635
|
opacity: 0,
|
|
5647
5636
|
transform: "translate3d(-2000px, 0, 0)"
|
|
5648
5637
|
}
|
|
5649
|
-
}),
|
|
5638
|
+
}), pl = new v("fadeOutRightBig", {
|
|
5650
5639
|
from: {
|
|
5651
5640
|
opacity: 1
|
|
5652
5641
|
},
|
|
@@ -5654,7 +5643,7 @@ const {
|
|
|
5654
5643
|
opacity: 0,
|
|
5655
5644
|
transform: "translate3d(2000px, 0, 0)"
|
|
5656
5645
|
}
|
|
5657
|
-
}),
|
|
5646
|
+
}), Cl = new v("fadeOutTopLeft", {
|
|
5658
5647
|
from: {
|
|
5659
5648
|
opacity: 1,
|
|
5660
5649
|
transform: "translate3d(0, 0, 0)"
|
|
@@ -5663,7 +5652,7 @@ const {
|
|
|
5663
5652
|
opacity: 0,
|
|
5664
5653
|
transform: "translate3d(-100%, -100%, 0)"
|
|
5665
5654
|
}
|
|
5666
|
-
}),
|
|
5655
|
+
}), xl = new v("fadeOutBottomRight", {
|
|
5667
5656
|
from: {
|
|
5668
5657
|
opacity: 1,
|
|
5669
5658
|
transform: "translate3d(0, 0, 0)"
|
|
@@ -5672,7 +5661,7 @@ const {
|
|
|
5672
5661
|
opacity: 0,
|
|
5673
5662
|
transform: "translate3d(100%, 100%, 0)"
|
|
5674
5663
|
}
|
|
5675
|
-
}),
|
|
5664
|
+
}), Sl = new v("fadeOutTopRight", {
|
|
5676
5665
|
from: {
|
|
5677
5666
|
opacity: 1,
|
|
5678
5667
|
transform: "translate3d(0, 0, 0)"
|
|
@@ -5681,7 +5670,7 @@ const {
|
|
|
5681
5670
|
opacity: 0,
|
|
5682
5671
|
transform: "translate3d(100%, -100%, 0)"
|
|
5683
5672
|
}
|
|
5684
|
-
}),
|
|
5673
|
+
}), wl = new v("fadeOutBottomLeft", {
|
|
5685
5674
|
from: {
|
|
5686
5675
|
opacity: 1,
|
|
5687
5676
|
transform: "translate3d(0, 0, 0)"
|
|
@@ -5690,113 +5679,113 @@ const {
|
|
|
5690
5679
|
opacity: 0,
|
|
5691
5680
|
transform: "translate3d(-100%, 100%, 0)"
|
|
5692
5681
|
}
|
|
5693
|
-
}),
|
|
5682
|
+
}), Il = () => ({
|
|
5694
5683
|
"&.fadeIn": {
|
|
5695
5684
|
animationFillMode: "both",
|
|
5696
|
-
animationName:
|
|
5685
|
+
animationName: Zi
|
|
5697
5686
|
},
|
|
5698
5687
|
"&.fadeInLeft": {
|
|
5699
5688
|
animationFillMode: "both",
|
|
5700
|
-
animationName:
|
|
5689
|
+
animationName: Ji
|
|
5701
5690
|
},
|
|
5702
5691
|
"&.fadeInRight": {
|
|
5703
5692
|
animationFillMode: "both",
|
|
5704
|
-
animationName:
|
|
5693
|
+
animationName: el
|
|
5705
5694
|
},
|
|
5706
5695
|
"&.fadeInDown": {
|
|
5707
5696
|
animationFillMode: "both",
|
|
5708
|
-
animationName:
|
|
5697
|
+
animationName: tl
|
|
5709
5698
|
},
|
|
5710
5699
|
"&.fadeInUp": {
|
|
5711
5700
|
animationFillMode: "both",
|
|
5712
|
-
animationName:
|
|
5701
|
+
animationName: nl
|
|
5713
5702
|
},
|
|
5714
5703
|
"&.fadeInLeftBig": {
|
|
5715
5704
|
animationFillMode: "both",
|
|
5716
|
-
animationName:
|
|
5705
|
+
animationName: il
|
|
5717
5706
|
},
|
|
5718
5707
|
"&.fadeInRightBig": {
|
|
5719
5708
|
animationFillMode: "both",
|
|
5720
|
-
animationName:
|
|
5709
|
+
animationName: ll
|
|
5721
5710
|
},
|
|
5722
5711
|
"&.fadeInUpBig": {
|
|
5723
5712
|
animationFillMode: "both",
|
|
5724
|
-
animationName:
|
|
5713
|
+
animationName: ol
|
|
5725
5714
|
},
|
|
5726
5715
|
"&.fadeInDownBig": {
|
|
5727
5716
|
animationFillMode: "both",
|
|
5728
|
-
animationName:
|
|
5717
|
+
animationName: al
|
|
5729
5718
|
},
|
|
5730
5719
|
"&.fadeInTopLeft": {
|
|
5731
5720
|
animationFillMode: "both",
|
|
5732
|
-
animationName:
|
|
5721
|
+
animationName: rl
|
|
5733
5722
|
},
|
|
5734
5723
|
"&.fadeInBottomRight": {
|
|
5735
5724
|
animationFillMode: "both",
|
|
5736
|
-
animationName:
|
|
5725
|
+
animationName: sl
|
|
5737
5726
|
},
|
|
5738
5727
|
"&.fadeInTopRight": {
|
|
5739
5728
|
animationFillMode: "both",
|
|
5740
|
-
animationName:
|
|
5729
|
+
animationName: cl
|
|
5741
5730
|
},
|
|
5742
5731
|
"&.fadeInBottomLeft": {
|
|
5743
5732
|
animationFillMode: "both",
|
|
5744
|
-
animationName:
|
|
5733
|
+
animationName: ul
|
|
5745
5734
|
}
|
|
5746
|
-
}),
|
|
5735
|
+
}), Rl = () => ({
|
|
5747
5736
|
"&.fadeOut": {
|
|
5748
5737
|
animationFillMode: "both",
|
|
5749
|
-
animationName:
|
|
5738
|
+
animationName: dl
|
|
5750
5739
|
},
|
|
5751
5740
|
"&.fadeOutLeft": {
|
|
5752
5741
|
animationFillMode: "both",
|
|
5753
|
-
animationName:
|
|
5742
|
+
animationName: ml
|
|
5754
5743
|
},
|
|
5755
5744
|
"&.fadeOutRight": {
|
|
5756
5745
|
animationFillMode: "both",
|
|
5757
|
-
animationName:
|
|
5746
|
+
animationName: fl
|
|
5758
5747
|
},
|
|
5759
5748
|
"&.fadeOutDown": {
|
|
5760
5749
|
animationFillMode: "both",
|
|
5761
|
-
animationName:
|
|
5750
|
+
animationName: hl
|
|
5762
5751
|
},
|
|
5763
5752
|
"&.fadeOutUp": {
|
|
5764
5753
|
animationFillMode: "both",
|
|
5765
|
-
animationName:
|
|
5754
|
+
animationName: gl
|
|
5766
5755
|
},
|
|
5767
5756
|
"&.fadeOutDownBig": {
|
|
5768
5757
|
animationFillMode: "both",
|
|
5769
|
-
animationName:
|
|
5758
|
+
animationName: yl
|
|
5770
5759
|
},
|
|
5771
5760
|
"&.fadeOutUpBig": {
|
|
5772
5761
|
animationFillMode: "both",
|
|
5773
|
-
animationName:
|
|
5762
|
+
animationName: bl
|
|
5774
5763
|
},
|
|
5775
5764
|
"&.fadeOutLeftBig": {
|
|
5776
5765
|
animationFillMode: "both",
|
|
5777
|
-
animationName:
|
|
5766
|
+
animationName: vl
|
|
5778
5767
|
},
|
|
5779
5768
|
"&.fadeOutRightBig": {
|
|
5780
5769
|
animationFillMode: "both",
|
|
5781
|
-
animationName:
|
|
5770
|
+
animationName: pl
|
|
5782
5771
|
},
|
|
5783
5772
|
"&.fadeOutTopLeft": {
|
|
5784
5773
|
animationFillMode: "both",
|
|
5785
|
-
animationName:
|
|
5774
|
+
animationName: Cl
|
|
5786
5775
|
},
|
|
5787
5776
|
"&.fadeOutBottomRight": {
|
|
5788
5777
|
animationFillMode: "both",
|
|
5789
|
-
animationName:
|
|
5778
|
+
animationName: xl
|
|
5790
5779
|
},
|
|
5791
5780
|
"&.fadeOutTopRight": {
|
|
5792
5781
|
animationFillMode: "both",
|
|
5793
|
-
animationName:
|
|
5782
|
+
animationName: Sl
|
|
5794
5783
|
},
|
|
5795
5784
|
"&.fadeOutBottomLeft": {
|
|
5796
5785
|
animationFillMode: "both",
|
|
5797
|
-
animationName:
|
|
5786
|
+
animationName: wl
|
|
5798
5787
|
}
|
|
5799
|
-
}),
|
|
5788
|
+
}), $l = new v("flipInX", {
|
|
5800
5789
|
from: {
|
|
5801
5790
|
opacity: 0,
|
|
5802
5791
|
animationTimingFunction: "ease-in",
|
|
@@ -5816,7 +5805,7 @@ const {
|
|
|
5816
5805
|
to: {
|
|
5817
5806
|
transform: "perspective(400px)"
|
|
5818
5807
|
}
|
|
5819
|
-
}),
|
|
5808
|
+
}), Bl = new v("flipInY", {
|
|
5820
5809
|
from: {
|
|
5821
5810
|
opacity: 0,
|
|
5822
5811
|
animationTimingFunction: "ease-in",
|
|
@@ -5836,7 +5825,7 @@ const {
|
|
|
5836
5825
|
to: {
|
|
5837
5826
|
transform: "perspective(400px)"
|
|
5838
5827
|
}
|
|
5839
|
-
}),
|
|
5828
|
+
}), Ll = new v("flipOutX", {
|
|
5840
5829
|
from: {
|
|
5841
5830
|
transform: "perspective(400px)"
|
|
5842
5831
|
},
|
|
@@ -5848,7 +5837,7 @@ const {
|
|
|
5848
5837
|
opacity: 0,
|
|
5849
5838
|
transform: "perspective(400px) rotate3d(1, 0, 0, 90deg)"
|
|
5850
5839
|
}
|
|
5851
|
-
}),
|
|
5840
|
+
}), Ol = new v("flipOutY", {
|
|
5852
5841
|
from: {
|
|
5853
5842
|
transform: "perspective(400px)"
|
|
5854
5843
|
},
|
|
@@ -5860,31 +5849,31 @@ const {
|
|
|
5860
5849
|
opacity: 0,
|
|
5861
5850
|
transform: "perspective(400px) rotate3d(0, 1, 0, 90deg)"
|
|
5862
5851
|
}
|
|
5863
|
-
}),
|
|
5852
|
+
}), Ml = () => ({
|
|
5864
5853
|
"&.flipInX": {
|
|
5865
5854
|
animationFillMode: "both",
|
|
5866
5855
|
backfaceVisibility: "visible !important",
|
|
5867
|
-
animationName:
|
|
5856
|
+
animationName: $l
|
|
5868
5857
|
},
|
|
5869
5858
|
"&.flipInY": {
|
|
5870
5859
|
animationFillMode: "both",
|
|
5871
5860
|
backfaceVisibility: "visible !important",
|
|
5872
|
-
animationName:
|
|
5861
|
+
animationName: Bl
|
|
5873
5862
|
}
|
|
5874
|
-
}),
|
|
5863
|
+
}), kl = () => ({
|
|
5875
5864
|
"&.flipOutX": {
|
|
5876
5865
|
animationFillMode: "both",
|
|
5877
5866
|
backfaceVisibility: "visible !important",
|
|
5878
5867
|
animationDuration: `${0.3 * 0.75}s !important`,
|
|
5879
|
-
animationName:
|
|
5868
|
+
animationName: Ll
|
|
5880
5869
|
},
|
|
5881
5870
|
"&.flipOutY": {
|
|
5882
5871
|
animationFillMode: "both",
|
|
5883
5872
|
backfaceVisibility: "visible !important",
|
|
5884
5873
|
animationDuration: `${0.3 * 0.75}s !important`,
|
|
5885
|
-
animationName:
|
|
5874
|
+
animationName: Ol
|
|
5886
5875
|
}
|
|
5887
|
-
}),
|
|
5876
|
+
}), Fl = new v("lightSpeedInLeft", {
|
|
5888
5877
|
from: {
|
|
5889
5878
|
opacity: 0,
|
|
5890
5879
|
transform: "translate3d(-100%, 0, 0) skewX(30deg)"
|
|
@@ -5899,7 +5888,7 @@ const {
|
|
|
5899
5888
|
to: {
|
|
5900
5889
|
transform: "translate3d(0, 0, 0)"
|
|
5901
5890
|
}
|
|
5902
|
-
}),
|
|
5891
|
+
}), Pl = new v("lightSpeedInRight", {
|
|
5903
5892
|
from: {
|
|
5904
5893
|
opacity: 0,
|
|
5905
5894
|
transform: "translate3d(100%, 0, 0) skewX(-30deg)"
|
|
@@ -5914,7 +5903,7 @@ const {
|
|
|
5914
5903
|
to: {
|
|
5915
5904
|
transform: "translate3d(0, 0, 0)"
|
|
5916
5905
|
}
|
|
5917
|
-
}),
|
|
5906
|
+
}), Tl = new v("lightSpeedOutLeft", {
|
|
5918
5907
|
from: {
|
|
5919
5908
|
opacity: 1
|
|
5920
5909
|
},
|
|
@@ -5922,7 +5911,7 @@ const {
|
|
|
5922
5911
|
opacity: 0,
|
|
5923
5912
|
transform: "translate3d(-100%, 0, 0) skewX(-30deg)"
|
|
5924
5913
|
}
|
|
5925
|
-
}),
|
|
5914
|
+
}), Dl = new v("lightSpeedOutRight", {
|
|
5926
5915
|
from: {
|
|
5927
5916
|
opacity: 1
|
|
5928
5917
|
},
|
|
@@ -5930,29 +5919,29 @@ const {
|
|
|
5930
5919
|
opacity: 0,
|
|
5931
5920
|
transform: "translate3d(100%, 0, 0) skewX(30deg)"
|
|
5932
5921
|
}
|
|
5933
|
-
}),
|
|
5922
|
+
}), zl = () => ({
|
|
5934
5923
|
"&.lightSpeedInLeft": {
|
|
5935
5924
|
animationFillMode: "both",
|
|
5936
5925
|
animationTimingFunction: "ease-out",
|
|
5937
|
-
animationName:
|
|
5926
|
+
animationName: Fl
|
|
5938
5927
|
},
|
|
5939
5928
|
"&.lightSpeedInRight": {
|
|
5940
5929
|
animationFillMode: "both",
|
|
5941
5930
|
animationTimingFunction: "ease-out",
|
|
5942
|
-
animationName:
|
|
5931
|
+
animationName: Pl
|
|
5943
5932
|
}
|
|
5944
|
-
}),
|
|
5933
|
+
}), Nl = () => ({
|
|
5945
5934
|
"&.lightSpeedOutLeft": {
|
|
5946
5935
|
animationFillMode: "both",
|
|
5947
5936
|
animationTimingFunction: "ease-in",
|
|
5948
|
-
animationName:
|
|
5937
|
+
animationName: Tl
|
|
5949
5938
|
},
|
|
5950
5939
|
"&.lightSpeedOutRight": {
|
|
5951
5940
|
animationFillMode: "both",
|
|
5952
5941
|
animationTimingFunction: "ease-in",
|
|
5953
|
-
animationName:
|
|
5942
|
+
animationName: Dl
|
|
5954
5943
|
}
|
|
5955
|
-
}),
|
|
5944
|
+
}), Al = new v("rotateIn", {
|
|
5956
5945
|
from: {
|
|
5957
5946
|
opacity: 0,
|
|
5958
5947
|
transform: "rotate3d(0, 0, 1, -200deg)"
|
|
@@ -5961,7 +5950,7 @@ const {
|
|
|
5961
5950
|
opacity: 1,
|
|
5962
5951
|
transform: "translate3d(0, 0, 0)"
|
|
5963
5952
|
}
|
|
5964
|
-
}),
|
|
5953
|
+
}), Hl = new v("rotateInDownLeft", {
|
|
5965
5954
|
from: {
|
|
5966
5955
|
opacity: 0,
|
|
5967
5956
|
transform: "rotate3d(0, 0, 1, -45deg)"
|
|
@@ -5970,7 +5959,7 @@ const {
|
|
|
5970
5959
|
opacity: 1,
|
|
5971
5960
|
transform: "translate3d(0, 0, 0)"
|
|
5972
5961
|
}
|
|
5973
|
-
}),
|
|
5962
|
+
}), jl = new v("rotateInDownRight", {
|
|
5974
5963
|
from: {
|
|
5975
5964
|
opacity: 0,
|
|
5976
5965
|
transform: "rotate3d(0, 0, 1, 45deg)"
|
|
@@ -5979,7 +5968,7 @@ const {
|
|
|
5979
5968
|
opacity: 1,
|
|
5980
5969
|
transform: "translate3d(0, 0, 0)"
|
|
5981
5970
|
}
|
|
5982
|
-
}),
|
|
5971
|
+
}), El = new v("rotateInUpLeft", {
|
|
5983
5972
|
from: {
|
|
5984
5973
|
opacity: 0,
|
|
5985
5974
|
transform: "rotate3d(0, 0, 1, 45deg)"
|
|
@@ -5988,7 +5977,7 @@ const {
|
|
|
5988
5977
|
opacity: 1,
|
|
5989
5978
|
transform: "translate3d(0, 0, 0)"
|
|
5990
5979
|
}
|
|
5991
|
-
}), Kl = new
|
|
5980
|
+
}), Kl = new v("rotateInUpRight", {
|
|
5992
5981
|
from: {
|
|
5993
5982
|
opacity: 0,
|
|
5994
5983
|
transform: "rotate3d(0, 0, 1, -90deg)"
|
|
@@ -5997,7 +5986,7 @@ const {
|
|
|
5997
5986
|
opacity: 1,
|
|
5998
5987
|
transform: "translate3d(0, 0, 0)"
|
|
5999
5988
|
}
|
|
6000
|
-
}),
|
|
5989
|
+
}), Wl = new v("rotateOut", {
|
|
6001
5990
|
from: {
|
|
6002
5991
|
opacity: 1
|
|
6003
5992
|
},
|
|
@@ -6005,7 +5994,7 @@ const {
|
|
|
6005
5994
|
opacity: 0,
|
|
6006
5995
|
transform: "rotate3d(0, 0, 1, 200deg)"
|
|
6007
5996
|
}
|
|
6008
|
-
}),
|
|
5997
|
+
}), Ul = new v("rotateOutDownLeft", {
|
|
6009
5998
|
from: {
|
|
6010
5999
|
opacity: 1
|
|
6011
6000
|
},
|
|
@@ -6013,7 +6002,7 @@ const {
|
|
|
6013
6002
|
opacity: 0,
|
|
6014
6003
|
transform: "rotate3d(0, 0, 1, 45deg)"
|
|
6015
6004
|
}
|
|
6016
|
-
}),
|
|
6005
|
+
}), _l = new v("rotateOutDownRight", {
|
|
6017
6006
|
from: {
|
|
6018
6007
|
opacity: 1
|
|
6019
6008
|
},
|
|
@@ -6021,7 +6010,7 @@ const {
|
|
|
6021
6010
|
opacity: 0,
|
|
6022
6011
|
transform: "rotate3d(0, 0, 1, -45deg)"
|
|
6023
6012
|
}
|
|
6024
|
-
}),
|
|
6013
|
+
}), Xl = new v("rotateOutUpLeft", {
|
|
6025
6014
|
from: {
|
|
6026
6015
|
opacity: 1
|
|
6027
6016
|
},
|
|
@@ -6029,7 +6018,7 @@ const {
|
|
|
6029
6018
|
opacity: 0,
|
|
6030
6019
|
transform: "rotate3d(0, 0, 1, -45deg)"
|
|
6031
6020
|
}
|
|
6032
|
-
}),
|
|
6021
|
+
}), Vl = new v("rotateOutUpRight", {
|
|
6033
6022
|
from: {
|
|
6034
6023
|
opacity: 1
|
|
6035
6024
|
},
|
|
@@ -6037,59 +6026,59 @@ const {
|
|
|
6037
6026
|
opacity: 0,
|
|
6038
6027
|
transform: "rotate3d(0, 0, 1, 90deg)"
|
|
6039
6028
|
}
|
|
6040
|
-
}),
|
|
6029
|
+
}), Gl = () => ({
|
|
6041
6030
|
"&.rotateIn": {
|
|
6042
6031
|
animationFillMode: "both",
|
|
6043
6032
|
transformOrigin: "center",
|
|
6044
|
-
animationName:
|
|
6033
|
+
animationName: Al
|
|
6045
6034
|
},
|
|
6046
6035
|
"&.rotateInDownLeft": {
|
|
6047
6036
|
animationFillMode: "both",
|
|
6048
6037
|
transformOrigin: "left bottom",
|
|
6049
|
-
animationName:
|
|
6038
|
+
animationName: Hl
|
|
6050
6039
|
},
|
|
6051
6040
|
"&.rotateInDownRight": {
|
|
6052
6041
|
animationFillMode: "both",
|
|
6053
6042
|
transformOrigin: "right bottom",
|
|
6054
|
-
animationName:
|
|
6043
|
+
animationName: jl
|
|
6055
6044
|
},
|
|
6056
6045
|
"&.rotateInUpLeft": {
|
|
6057
6046
|
animationFillMode: "both",
|
|
6058
6047
|
transformOrigin: "left bottom",
|
|
6059
|
-
animationName:
|
|
6048
|
+
animationName: El
|
|
6060
6049
|
},
|
|
6061
6050
|
"&.rotateInUpRight": {
|
|
6062
6051
|
animationFillMode: "both",
|
|
6063
6052
|
transformOrigin: "right bottom",
|
|
6064
6053
|
animationName: Kl
|
|
6065
6054
|
}
|
|
6066
|
-
}),
|
|
6055
|
+
}), Yl = () => ({
|
|
6067
6056
|
"&.rotateOut": {
|
|
6068
6057
|
animationFillMode: "both",
|
|
6069
6058
|
transformOrigin: "center",
|
|
6070
|
-
animationName:
|
|
6059
|
+
animationName: Wl
|
|
6071
6060
|
},
|
|
6072
6061
|
"&.rotateOutDownLeft": {
|
|
6073
6062
|
animationFillMode: "both",
|
|
6074
6063
|
transformOrigin: "left bottom",
|
|
6075
|
-
animationName:
|
|
6064
|
+
animationName: Ul
|
|
6076
6065
|
},
|
|
6077
6066
|
"&.rotateOutDownRight": {
|
|
6078
6067
|
animationFillMode: "both",
|
|
6079
6068
|
transformOrigin: "right bottom",
|
|
6080
|
-
animationName:
|
|
6069
|
+
animationName: _l
|
|
6081
6070
|
},
|
|
6082
6071
|
"&.rotateOutUpLeft": {
|
|
6083
6072
|
animationFillMode: "both",
|
|
6084
6073
|
transformOrigin: "left bottom",
|
|
6085
|
-
animationName:
|
|
6074
|
+
animationName: Xl
|
|
6086
6075
|
},
|
|
6087
6076
|
"&.rotateOutUpRight": {
|
|
6088
6077
|
animationFillMode: "both",
|
|
6089
6078
|
transformOrigin: "right bottom",
|
|
6090
|
-
animationName:
|
|
6079
|
+
animationName: Vl
|
|
6091
6080
|
}
|
|
6092
|
-
}),
|
|
6081
|
+
}), ql = new v("rollIn", {
|
|
6093
6082
|
from: {
|
|
6094
6083
|
opacity: 0,
|
|
6095
6084
|
transform: "translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg)"
|
|
@@ -6098,7 +6087,7 @@ const {
|
|
|
6098
6087
|
opacity: 1,
|
|
6099
6088
|
transform: "translate3d(0, 0, 0)"
|
|
6100
6089
|
}
|
|
6101
|
-
}),
|
|
6090
|
+
}), Ql = new v("rollOut", {
|
|
6102
6091
|
from: {
|
|
6103
6092
|
opacity: 1
|
|
6104
6093
|
},
|
|
@@ -6106,17 +6095,17 @@ const {
|
|
|
6106
6095
|
opacity: 0,
|
|
6107
6096
|
transform: "translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg)"
|
|
6108
6097
|
}
|
|
6109
|
-
}),
|
|
6098
|
+
}), Zl = () => ({
|
|
6110
6099
|
"&.rollIn": {
|
|
6111
6100
|
animationFillMode: "both",
|
|
6112
|
-
animationName:
|
|
6101
|
+
animationName: ql
|
|
6113
6102
|
}
|
|
6114
|
-
}),
|
|
6103
|
+
}), Jl = () => ({
|
|
6115
6104
|
"&.rollOut": {
|
|
6116
6105
|
animationFillMode: "both",
|
|
6117
|
-
animationName:
|
|
6106
|
+
animationName: Ql
|
|
6118
6107
|
}
|
|
6119
|
-
}),
|
|
6108
|
+
}), er = new v("zoomIn", {
|
|
6120
6109
|
from: {
|
|
6121
6110
|
opacity: 0,
|
|
6122
6111
|
transform: "scale3d(0.3, 0.3, 0.3)"
|
|
@@ -6124,7 +6113,7 @@ const {
|
|
|
6124
6113
|
"50%": {
|
|
6125
6114
|
opacity: 1
|
|
6126
6115
|
}
|
|
6127
|
-
}),
|
|
6116
|
+
}), tr = new v("zoomInDown", {
|
|
6128
6117
|
from: {
|
|
6129
6118
|
opacity: 0,
|
|
6130
6119
|
transform: "scale3d(0.1, 0.1, 0.1) translate3d(0, -1000px, 0)",
|
|
@@ -6135,7 +6124,7 @@ const {
|
|
|
6135
6124
|
transform: "scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0)",
|
|
6136
6125
|
animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
|
|
6137
6126
|
}
|
|
6138
|
-
}),
|
|
6127
|
+
}), nr = new v("zoomInLeft", {
|
|
6139
6128
|
from: {
|
|
6140
6129
|
opacity: 0,
|
|
6141
6130
|
transform: "scale3d(0.1, 0.1, 0.1) translate3d(-1000px, 0, 0)",
|
|
@@ -6146,7 +6135,7 @@ const {
|
|
|
6146
6135
|
transform: "scale3d(0.475, 0.475, 0.475) translate3d(10px, 0, 0)",
|
|
6147
6136
|
animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
|
|
6148
6137
|
}
|
|
6149
|
-
}),
|
|
6138
|
+
}), ar = new v("zoomInRight", {
|
|
6150
6139
|
from: {
|
|
6151
6140
|
opacity: 0,
|
|
6152
6141
|
transform: "scale3d(0.1, 0.1, 0.1) translate3d(1000px, 0, 0)",
|
|
@@ -6157,7 +6146,7 @@ const {
|
|
|
6157
6146
|
transform: "scale3d(0.475, 0.475, 0.475) translate3d(-10px, 0, 0)",
|
|
6158
6147
|
animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
|
|
6159
6148
|
}
|
|
6160
|
-
}),
|
|
6149
|
+
}), or = new v("zoomInUp", {
|
|
6161
6150
|
from: {
|
|
6162
6151
|
opacity: 0,
|
|
6163
6152
|
transform: "scale3d(0.1, 0.1, 0.1) translate3d(0, 1000px, 0)",
|
|
@@ -6168,7 +6157,7 @@ const {
|
|
|
6168
6157
|
transform: "scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0)",
|
|
6169
6158
|
animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
|
|
6170
6159
|
}
|
|
6171
|
-
}),
|
|
6160
|
+
}), ir = new v("zoomOut", {
|
|
6172
6161
|
from: {
|
|
6173
6162
|
opacity: 1
|
|
6174
6163
|
},
|
|
@@ -6179,7 +6168,7 @@ const {
|
|
|
6179
6168
|
to: {
|
|
6180
6169
|
opacity: 0
|
|
6181
6170
|
}
|
|
6182
|
-
}),
|
|
6171
|
+
}), lr = new v("zoomOutDown", {
|
|
6183
6172
|
"40%": {
|
|
6184
6173
|
opacity: 1,
|
|
6185
6174
|
transform: "scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0)",
|
|
@@ -6190,7 +6179,7 @@ const {
|
|
|
6190
6179
|
transform: "scale3d(0.1, 0.1, 0.1) translate3d(0, 2000px, 0)",
|
|
6191
6180
|
animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
|
|
6192
6181
|
}
|
|
6193
|
-
}),
|
|
6182
|
+
}), rr = new v("zoomOutLeft", {
|
|
6194
6183
|
"40%": {
|
|
6195
6184
|
opacity: 1,
|
|
6196
6185
|
transform: "scale3d(0.475, 0.475, 0.475) translate3d(42px, 0, 0)"
|
|
@@ -6199,7 +6188,7 @@ const {
|
|
|
6199
6188
|
opacity: 0,
|
|
6200
6189
|
transform: "scale(0.1) translate3d(-2000px, 0, 0)"
|
|
6201
6190
|
}
|
|
6202
|
-
}),
|
|
6191
|
+
}), sr = new v("zoomOutRight", {
|
|
6203
6192
|
"40%": {
|
|
6204
6193
|
opacity: 1,
|
|
6205
6194
|
transform: "scale3d(0.475, 0.475, 0.475) translate3d(-42px, 0, 0)"
|
|
@@ -6208,7 +6197,7 @@ const {
|
|
|
6208
6197
|
opacity: 0,
|
|
6209
6198
|
transform: "scale(0.1) translate3d(2000px, 0, 0)"
|
|
6210
6199
|
}
|
|
6211
|
-
}),
|
|
6200
|
+
}), cr = new v("zoomOutUp", {
|
|
6212
6201
|
"40%": {
|
|
6213
6202
|
opacity: 1,
|
|
6214
6203
|
transform: "scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0)",
|
|
@@ -6219,53 +6208,53 @@ const {
|
|
|
6219
6208
|
transform: "scale3d(0.1, 0.1, 0.1) translate3d(0, -2000px, 0)",
|
|
6220
6209
|
animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
|
|
6221
6210
|
}
|
|
6222
|
-
}),
|
|
6211
|
+
}), ur = () => ({
|
|
6223
6212
|
"&.zoomIn": {
|
|
6224
6213
|
animationFillMode: "both",
|
|
6225
|
-
animationName:
|
|
6214
|
+
animationName: er
|
|
6226
6215
|
},
|
|
6227
6216
|
"&.zoomInDown": {
|
|
6228
6217
|
animationFillMode: "both",
|
|
6229
|
-
animationName:
|
|
6218
|
+
animationName: tr
|
|
6230
6219
|
},
|
|
6231
6220
|
"&.zoomInLeft": {
|
|
6232
6221
|
animationFillMode: "both",
|
|
6233
|
-
animationName:
|
|
6222
|
+
animationName: nr
|
|
6234
6223
|
},
|
|
6235
6224
|
"&.zoomInRight": {
|
|
6236
6225
|
animationFillMode: "both",
|
|
6237
|
-
animationName:
|
|
6226
|
+
animationName: ar
|
|
6238
6227
|
},
|
|
6239
6228
|
"&.zoomInUp": {
|
|
6240
6229
|
animationFillMode: "both",
|
|
6241
|
-
animationName:
|
|
6230
|
+
animationName: or
|
|
6242
6231
|
}
|
|
6243
|
-
}),
|
|
6232
|
+
}), dr = () => ({
|
|
6244
6233
|
"&.zoomOut": {
|
|
6245
6234
|
animationFillMode: "both",
|
|
6246
|
-
animationName:
|
|
6235
|
+
animationName: ir
|
|
6247
6236
|
},
|
|
6248
6237
|
"&.zoomOutDown": {
|
|
6249
6238
|
animationFillMode: "both",
|
|
6250
6239
|
transformOrigin: "center bottom",
|
|
6251
|
-
animationName:
|
|
6240
|
+
animationName: lr
|
|
6252
6241
|
},
|
|
6253
6242
|
"&.zoomOutLeft": {
|
|
6254
6243
|
animationFillMode: "both",
|
|
6255
6244
|
transformOrigin: "left center",
|
|
6256
|
-
animationName:
|
|
6245
|
+
animationName: rr
|
|
6257
6246
|
},
|
|
6258
6247
|
"&.zoomOutRight": {
|
|
6259
6248
|
animationFillMode: "both",
|
|
6260
6249
|
transformOrigin: "right center",
|
|
6261
|
-
animationName:
|
|
6250
|
+
animationName: sr
|
|
6262
6251
|
},
|
|
6263
6252
|
"&.zoomOutUp": {
|
|
6264
6253
|
animationFillMode: "both",
|
|
6265
6254
|
transformOrigin: "center bottom",
|
|
6266
|
-
animationName:
|
|
6255
|
+
animationName: cr
|
|
6267
6256
|
}
|
|
6268
|
-
}),
|
|
6257
|
+
}), mr = new v("slideInDown", {
|
|
6269
6258
|
from: {
|
|
6270
6259
|
transform: "translate3d(0, -100%, 0)",
|
|
6271
6260
|
visibility: "visible"
|
|
@@ -6273,7 +6262,7 @@ const {
|
|
|
6273
6262
|
to: {
|
|
6274
6263
|
transform: "translate3d(0, 0, 0)"
|
|
6275
6264
|
}
|
|
6276
|
-
}),
|
|
6265
|
+
}), fr = new v("slideInLeft", {
|
|
6277
6266
|
from: {
|
|
6278
6267
|
transform: "translate3d(-100%, 0, 0)",
|
|
6279
6268
|
visibility: "visible"
|
|
@@ -6281,7 +6270,7 @@ const {
|
|
|
6281
6270
|
to: {
|
|
6282
6271
|
transform: "translate3d(0, 0, 0)"
|
|
6283
6272
|
}
|
|
6284
|
-
}),
|
|
6273
|
+
}), hr = new v("slideInRight", {
|
|
6285
6274
|
from: {
|
|
6286
6275
|
transform: "translate3d(100%, 0, 0)",
|
|
6287
6276
|
visibility: "visible"
|
|
@@ -6289,7 +6278,7 @@ const {
|
|
|
6289
6278
|
to: {
|
|
6290
6279
|
transform: "translate3d(0, 0, 0)"
|
|
6291
6280
|
}
|
|
6292
|
-
}),
|
|
6281
|
+
}), gr = new v("slideInUp", {
|
|
6293
6282
|
from: {
|
|
6294
6283
|
transform: "translate3d(0, 100%, 0)",
|
|
6295
6284
|
visibility: "visible"
|
|
@@ -6297,7 +6286,7 @@ const {
|
|
|
6297
6286
|
to: {
|
|
6298
6287
|
transform: "translate3d(0, 0, 0)"
|
|
6299
6288
|
}
|
|
6300
|
-
}),
|
|
6289
|
+
}), yr = new v("slideOutDown", {
|
|
6301
6290
|
from: {
|
|
6302
6291
|
transform: "translate3d(0, 0, 0)"
|
|
6303
6292
|
},
|
|
@@ -6305,7 +6294,7 @@ const {
|
|
|
6305
6294
|
transform: "translate3d(0, 100%, 0)",
|
|
6306
6295
|
visibility: "hidden"
|
|
6307
6296
|
}
|
|
6308
|
-
}),
|
|
6297
|
+
}), br = new v("slideOutLeft", {
|
|
6309
6298
|
from: {
|
|
6310
6299
|
transform: "translate3d(0, 0, 0)"
|
|
6311
6300
|
},
|
|
@@ -6313,7 +6302,7 @@ const {
|
|
|
6313
6302
|
transform: "translate3d(-100%, 0, 0)",
|
|
6314
6303
|
visibility: "hidden"
|
|
6315
6304
|
}
|
|
6316
|
-
}),
|
|
6305
|
+
}), vr = new v("slideOutRight", {
|
|
6317
6306
|
from: {
|
|
6318
6307
|
transform: "translate3d(0, 0, 0)"
|
|
6319
6308
|
},
|
|
@@ -6321,7 +6310,7 @@ const {
|
|
|
6321
6310
|
transform: "translate3d(100%, 0, 0)",
|
|
6322
6311
|
visibility: "hidden"
|
|
6323
6312
|
}
|
|
6324
|
-
}),
|
|
6313
|
+
}), pr = new v("slideOutUp", {
|
|
6325
6314
|
from: {
|
|
6326
6315
|
transform: "translate3d(0, 0, 0)"
|
|
6327
6316
|
},
|
|
@@ -6329,43 +6318,57 @@ const {
|
|
|
6329
6318
|
transform: "translate3d(0, -100%, 0)",
|
|
6330
6319
|
visibility: "hidden"
|
|
6331
6320
|
}
|
|
6332
|
-
}),
|
|
6321
|
+
}), Cr = () => ({
|
|
6333
6322
|
"&.slideInDown": {
|
|
6334
6323
|
animationFillMode: "both",
|
|
6335
|
-
animationName:
|
|
6324
|
+
animationName: mr
|
|
6336
6325
|
},
|
|
6337
6326
|
"&.slideInLeft": {
|
|
6338
6327
|
animationFillMode: "both",
|
|
6339
|
-
animationName:
|
|
6328
|
+
animationName: fr
|
|
6340
6329
|
},
|
|
6341
6330
|
"&.slideInRight": {
|
|
6342
6331
|
animationFillMode: "both",
|
|
6343
|
-
animationName:
|
|
6332
|
+
animationName: hr
|
|
6344
6333
|
},
|
|
6345
6334
|
"&.slideInUp": {
|
|
6346
6335
|
animationFillMode: "both",
|
|
6347
|
-
animationName:
|
|
6336
|
+
animationName: gr
|
|
6348
6337
|
}
|
|
6349
|
-
}),
|
|
6338
|
+
}), xr = () => ({
|
|
6350
6339
|
"&.slideOutDown": {
|
|
6351
6340
|
animationFillMode: "both",
|
|
6352
|
-
animationName:
|
|
6341
|
+
animationName: yr
|
|
6353
6342
|
},
|
|
6354
6343
|
"&.slideOutLeft": {
|
|
6355
6344
|
animationFillMode: "both",
|
|
6356
|
-
animationName:
|
|
6345
|
+
animationName: br
|
|
6357
6346
|
},
|
|
6358
6347
|
"&.slideOutRight": {
|
|
6359
6348
|
animationFillMode: "both",
|
|
6360
|
-
animationName:
|
|
6349
|
+
animationName: vr
|
|
6361
6350
|
},
|
|
6362
6351
|
"&.slideOutUp": {
|
|
6363
6352
|
animationFillMode: "both",
|
|
6364
|
-
animationName:
|
|
6353
|
+
animationName: pr
|
|
6365
6354
|
}
|
|
6366
|
-
}),
|
|
6355
|
+
}), Sr = (e) => ({
|
|
6367
6356
|
[e.componentCls]: {
|
|
6368
6357
|
"&-enter": {
|
|
6358
|
+
background: "transparent",
|
|
6359
|
+
animationDuration: ".3s !important",
|
|
6360
|
+
...Ai(),
|
|
6361
|
+
...qi(),
|
|
6362
|
+
...Il(),
|
|
6363
|
+
...Ml(),
|
|
6364
|
+
...zl(),
|
|
6365
|
+
...Gl(),
|
|
6366
|
+
...Zl(),
|
|
6367
|
+
...ur(),
|
|
6368
|
+
...Cr()
|
|
6369
|
+
},
|
|
6370
|
+
"&-leave": {
|
|
6371
|
+
display: "none",
|
|
6369
6372
|
background: "transparent",
|
|
6370
6373
|
animationDuration: ".3s !important",
|
|
6371
6374
|
...Hi(),
|
|
@@ -6377,30 +6380,16 @@ const {
|
|
|
6377
6380
|
...Jl(),
|
|
6378
6381
|
...dr(),
|
|
6379
6382
|
...xr()
|
|
6380
|
-
},
|
|
6381
|
-
"&-leave": {
|
|
6382
|
-
display: "none",
|
|
6383
|
-
background: "transparent",
|
|
6384
|
-
animationDuration: ".3s !important",
|
|
6385
|
-
...ji(),
|
|
6386
|
-
...Zi(),
|
|
6387
|
-
...$l(),
|
|
6388
|
-
...Fl(),
|
|
6389
|
-
...Al(),
|
|
6390
|
-
...ql(),
|
|
6391
|
-
...er(),
|
|
6392
|
-
...mr(),
|
|
6393
|
-
...Sr()
|
|
6394
6383
|
}
|
|
6395
6384
|
}
|
|
6396
6385
|
});
|
|
6397
|
-
function
|
|
6386
|
+
function wr(e) {
|
|
6398
6387
|
return Pe("LayoutPageTranstion", (n) => {
|
|
6399
6388
|
const a = He(n);
|
|
6400
|
-
return [
|
|
6389
|
+
return [Sr(a)];
|
|
6401
6390
|
}, e);
|
|
6402
6391
|
}
|
|
6403
|
-
const
|
|
6392
|
+
const es = /* @__PURE__ */ E({
|
|
6404
6393
|
name: "PageTranstion",
|
|
6405
6394
|
props: {
|
|
6406
6395
|
disabled: {
|
|
@@ -6426,29 +6415,29 @@ const ts = /* @__PURE__ */ E({
|
|
|
6426
6415
|
}), {
|
|
6427
6416
|
wrapSSR: o,
|
|
6428
6417
|
hashId: i
|
|
6429
|
-
} =
|
|
6430
|
-
if (
|
|
6431
|
-
return
|
|
6432
|
-
let d =
|
|
6433
|
-
return d = d % 2 === 1 ? d - 1 : d + 1,
|
|
6434
|
-
}, r = (
|
|
6435
|
-
const
|
|
6436
|
-
if (
|
|
6418
|
+
} = wr(a), l = (b, m) => {
|
|
6419
|
+
if (b.length === 0 || b === "x" || b === "y")
|
|
6420
|
+
return b;
|
|
6421
|
+
let d = m.indexOf(b);
|
|
6422
|
+
return d = d % 2 === 1 ? d - 1 : d + 1, m[d];
|
|
6423
|
+
}, r = (b) => {
|
|
6424
|
+
const m = Ot.preset.find((C) => e.name === C.name);
|
|
6425
|
+
if (m === void 0)
|
|
6437
6426
|
return "";
|
|
6438
6427
|
let d = "";
|
|
6439
|
-
e.direction === void 0 ? d =
|
|
6440
|
-
const
|
|
6441
|
-
return
|
|
6442
|
-
}, c = $(() => [r(!1), `${a}-enter`, i.value].join(" ")),
|
|
6428
|
+
e.direction === void 0 ? d = m.directions[0] : d = m.directions.find((C) => C === e.direction) || "", d = d === void 0 || d === "default" ? "" : d, d !== "" && (d = b && e.reverse ? l(d, m.directions) : d, d = d[0].toUpperCase() + d.substring(1));
|
|
6429
|
+
const w = b ? "Out" : "In";
|
|
6430
|
+
return m.name + w + d;
|
|
6431
|
+
}, c = $(() => [r(!1), `${a}-enter`, i.value].join(" ")), y = $(() => [r(!0), `${a}-leave`, i.value].join(" "));
|
|
6443
6432
|
return () => {
|
|
6444
|
-
var
|
|
6445
|
-
return e.disabled ? (
|
|
6433
|
+
var b;
|
|
6434
|
+
return e.disabled ? (b = n.default) == null ? void 0 : b.call(n) : o(t(Hn, {
|
|
6446
6435
|
enterActiveClass: c.value,
|
|
6447
|
-
leaveActiveClass:
|
|
6436
|
+
leaveActiveClass: y.value
|
|
6448
6437
|
}, {
|
|
6449
6438
|
default: () => {
|
|
6450
|
-
var
|
|
6451
|
-
return [(
|
|
6439
|
+
var m;
|
|
6440
|
+
return [(m = n.default) == null ? void 0 : m.call(n)];
|
|
6452
6441
|
}
|
|
6453
6442
|
}));
|
|
6454
6443
|
};
|
|
@@ -6459,7 +6448,7 @@ const ts = /* @__PURE__ */ E({
|
|
|
6459
6448
|
default: void 0
|
|
6460
6449
|
},
|
|
6461
6450
|
onItemClick: Function
|
|
6462
|
-
},
|
|
6451
|
+
}, Ir = (e, n) => {
|
|
6463
6452
|
if (e && typeof e == "string" && wt(e))
|
|
6464
6453
|
return t("img", {
|
|
6465
6454
|
src: e,
|
|
@@ -6515,7 +6504,7 @@ const ts = /* @__PURE__ */ E({
|
|
|
6515
6504
|
href: e.onItemClick ? "javascript:;" : a.url,
|
|
6516
6505
|
target: a.target,
|
|
6517
6506
|
rel: "noreferrer"
|
|
6518
|
-
}, [
|
|
6507
|
+
}, [Ir(a.icon, a.title), t("div", null, [t("div", null, [a.title])])])]);
|
|
6519
6508
|
})])]);
|
|
6520
6509
|
};
|
|
6521
6510
|
}
|
|
@@ -6556,13 +6545,13 @@ const ts = /* @__PURE__ */ E({
|
|
|
6556
6545
|
href: e.onItemClick ? void 0 : a.url,
|
|
6557
6546
|
target: a.target,
|
|
6558
6547
|
rel: "noreferrer"
|
|
6559
|
-
}, [t(
|
|
6548
|
+
}, [t(Co, {
|
|
6560
6549
|
logo: a.icon
|
|
6561
6550
|
}, null), t("div", null, [t("div", null, [a.title]), a.desc ? t("span", null, [a.desc]) : null])])]);
|
|
6562
6551
|
})])]);
|
|
6563
6552
|
};
|
|
6564
6553
|
}
|
|
6565
|
-
}),
|
|
6554
|
+
}), ts = /* @__PURE__ */ E({
|
|
6566
6555
|
props: _e,
|
|
6567
6556
|
emits: ["itemClick"],
|
|
6568
6557
|
setup(e) {
|
|
@@ -6572,7 +6561,7 @@ const ts = /* @__PURE__ */ E({
|
|
|
6572
6561
|
}), {
|
|
6573
6562
|
wrapSSR: a,
|
|
6574
6563
|
hashId: o
|
|
6575
|
-
} = fe("AppsLogoList", [
|
|
6564
|
+
} = fe("AppsLogoList", [vo], n), i = (l) => {
|
|
6576
6565
|
var r;
|
|
6577
6566
|
(r = e.onItemClick) == null || r.call(e, l);
|
|
6578
6567
|
};
|
|
@@ -6593,33 +6582,33 @@ const ts = /* @__PURE__ */ E({
|
|
|
6593
6582
|
}
|
|
6594
6583
|
});
|
|
6595
6584
|
export {
|
|
6596
|
-
|
|
6585
|
+
ts as AppsLogoList,
|
|
6597
6586
|
vn as BaseMenu,
|
|
6598
|
-
|
|
6599
|
-
|
|
6587
|
+
Eo as DefaultHeader,
|
|
6588
|
+
Yr as GProLayout,
|
|
6600
6589
|
At as GlobalFooter,
|
|
6601
|
-
|
|
6602
|
-
|
|
6603
|
-
|
|
6604
|
-
|
|
6605
|
-
|
|
6606
|
-
|
|
6607
|
-
|
|
6608
|
-
|
|
6590
|
+
Zr as PageContainer,
|
|
6591
|
+
to as PageLoading,
|
|
6592
|
+
qr as PageLock,
|
|
6593
|
+
es as PageTranstion,
|
|
6594
|
+
Qr as RightContent,
|
|
6595
|
+
li as SearchPageInput,
|
|
6596
|
+
Jr as SettingDrawer,
|
|
6597
|
+
Wt as SiderMenuWrapper,
|
|
6609
6598
|
Ot as animateSeting,
|
|
6610
6599
|
rt as baseMenuProps,
|
|
6611
|
-
|
|
6612
|
-
|
|
6600
|
+
zo as checkThemeStatus,
|
|
6601
|
+
Xr as clearMenuItem,
|
|
6613
6602
|
wn as coverToNewToken,
|
|
6614
|
-
|
|
6615
|
-
|
|
6616
|
-
|
|
6617
|
-
|
|
6618
|
-
|
|
6619
|
-
|
|
6620
|
-
|
|
6621
|
-
|
|
6622
|
-
|
|
6623
|
-
|
|
6603
|
+
Ya as defaultContextKey,
|
|
6604
|
+
Lo as flatMap,
|
|
6605
|
+
Vr as getMatchedList,
|
|
6606
|
+
_r as getMenuData,
|
|
6607
|
+
Oo as getMenuFirstChildren,
|
|
6608
|
+
Mo as getMenuFirstLastChildPath,
|
|
6609
|
+
Do as handleThemeConfig,
|
|
6610
|
+
W as hanlePathKey,
|
|
6611
|
+
qa as provideProLayoutContext,
|
|
6612
|
+
Gr as removeDuplicatesByName,
|
|
6624
6613
|
ie as useProLayoutContext
|
|
6625
6614
|
};
|