@gx-design-vue/pro-layout 0.1.0-beta.72 → 0.1.0-beta.73
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 -1087
- 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,29 @@ 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
|
|
2282
|
+
}, u = $(() => e.collapsedButtonRender || In), p = () => {
|
|
2283
|
+
var s;
|
|
2286
2284
|
if (e.headerContentRender) return t("div", {
|
|
2287
2285
|
style: {
|
|
2288
2286
|
flex: 1
|
|
2289
2287
|
}
|
|
2290
2288
|
}, [e.headerContentRender]);
|
|
2291
|
-
const
|
|
2289
|
+
const S = e.headerContentRender ? t("div", {
|
|
2292
2290
|
style: {
|
|
2293
2291
|
flex: 1
|
|
2294
2292
|
}
|
|
@@ -2296,8 +2294,8 @@ const {
|
|
|
2296
2294
|
style: {
|
|
2297
2295
|
flex: 1
|
|
2298
2296
|
},
|
|
2299
|
-
class: [`${
|
|
2300
|
-
}, [((
|
|
2297
|
+
class: [`${y}-menu`, m.value]
|
|
2298
|
+
}, [((s = e.menuData) == null ? void 0 : s.length) > 0 && t(St, {
|
|
2301
2299
|
theme: {
|
|
2302
2300
|
components: {
|
|
2303
2301
|
Layout: {
|
|
@@ -2332,48 +2330,44 @@ const {
|
|
|
2332
2330
|
subMenuItemRender: e.subMenuItemRender,
|
|
2333
2331
|
class: {
|
|
2334
2332
|
"top-nav-menu": e.mode === "horizontal",
|
|
2335
|
-
[`${
|
|
2333
|
+
[`${m.value}`]: !0
|
|
2336
2334
|
},
|
|
2337
|
-
onSelect: (
|
|
2338
|
-
onOpenKeys: (
|
|
2335
|
+
onSelect: (h) => w("select", h),
|
|
2336
|
+
onOpenKeys: (h) => w("openKeys", h)
|
|
2339
2337
|
}, null)]
|
|
2340
2338
|
})]);
|
|
2341
|
-
return t(J, null, [
|
|
2339
|
+
return t(J, null, [S, e.layout !== "simple" && t(jo, te(e, {
|
|
2342
2340
|
extraRightDropdownRender: e.extraRightDropdownRender,
|
|
2343
2341
|
rightContentRender: e.rightContentRender
|
|
2344
2342
|
}), null)]);
|
|
2345
2343
|
};
|
|
2346
2344
|
return () => {
|
|
2347
|
-
const
|
|
2345
|
+
const S = t("span", {
|
|
2348
2346
|
key: "logo",
|
|
2349
2347
|
onClick: () => {
|
|
2350
|
-
var
|
|
2351
|
-
return (
|
|
2348
|
+
var s;
|
|
2349
|
+
return (s = e.onLogoClick) == null ? void 0 : s.call(e);
|
|
2352
2350
|
},
|
|
2353
|
-
class: [`${
|
|
2351
|
+
class: [`${y}-logo`, e.isMobile && "mobile", m.value]
|
|
2354
2352
|
}, [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}`
|
|
2353
|
+
return b(t("div", {
|
|
2354
|
+
class: d.value
|
|
2355
|
+
}, [e.isMobile ? t(J, null, [Ho(e.logoContentRender, S), e.isMobile && re(u) && t("span", {
|
|
2356
|
+
class: `${y}-collapsed-button ${m.value}`,
|
|
2357
|
+
onClick: C
|
|
2358
|
+
}, [re(u)(e.collapsed)]), p()]) : Ao.includes(e.layout) ? t("div", {
|
|
2359
|
+
class: `${y}-main ${m.value}`
|
|
2366
2360
|
}, [t("div", {
|
|
2367
|
-
class: `${
|
|
2361
|
+
class: `${y}-main-left ${m.value}`
|
|
2368
2362
|
}, [e.layout !== "wide" && e.appLogoListRender && t(bn, null, {
|
|
2369
2363
|
default: () => {
|
|
2370
|
-
var
|
|
2371
|
-
return [typeof e.appLogoListRender == "function" ? (
|
|
2364
|
+
var s;
|
|
2365
|
+
return [typeof e.appLogoListRender == "function" ? (s = e.appLogoListRender) == null ? void 0 : s.call(e) : e.appLogoListRender];
|
|
2372
2366
|
}
|
|
2373
2367
|
}), t(Lt, te({
|
|
2374
|
-
hashId:
|
|
2375
|
-
baseClassName:
|
|
2376
|
-
}, e), null)]),
|
|
2368
|
+
hashId: m.value,
|
|
2369
|
+
baseClassName: y
|
|
2370
|
+
}, e), null)]), p()]) : p()]));
|
|
2377
2371
|
};
|
|
2378
2372
|
}
|
|
2379
2373
|
});
|
|
@@ -2382,7 +2376,7 @@ function Ko(e) {
|
|
|
2382
2376
|
}
|
|
2383
2377
|
const {
|
|
2384
2378
|
Header: Et
|
|
2385
|
-
} =
|
|
2379
|
+
} = Ke, Kt = /* @__PURE__ */ E({
|
|
2386
2380
|
inheritAttrs: !1,
|
|
2387
2381
|
props: mn,
|
|
2388
2382
|
setup(e) {
|
|
@@ -2396,25 +2390,25 @@ const {
|
|
|
2396
2390
|
dark: r
|
|
2397
2391
|
} = Oe(), {
|
|
2398
2392
|
getPrefixCls: c,
|
|
2399
|
-
menuData:
|
|
2400
|
-
contentFullScreen:
|
|
2401
|
-
menuState:
|
|
2393
|
+
menuData: y,
|
|
2394
|
+
contentFullScreen: b,
|
|
2395
|
+
menuState: m,
|
|
2402
2396
|
headerHeight: d
|
|
2403
|
-
} = ie(),
|
|
2397
|
+
} = ie(), w = c({
|
|
2404
2398
|
suffixCls: "header",
|
|
2405
2399
|
isPor: !0
|
|
2406
|
-
}),
|
|
2400
|
+
}), C = c({
|
|
2407
2401
|
suffixCls: "fixed-header",
|
|
2408
2402
|
isPor: !0
|
|
2409
|
-
}), u = $(() => o.value === "wide"),
|
|
2410
|
-
wrapSSR:
|
|
2411
|
-
hashId:
|
|
2403
|
+
}), u = $(() => o.value === "wide"), p = $(() => a.value), S = $(() => o.value === "side" || o.value === "simple"), s = $(() => S.value && "light" || m.value.theme), {
|
|
2404
|
+
wrapSSR: h,
|
|
2405
|
+
hashId: f
|
|
2412
2406
|
} = Pe("ProLayoutHeader", (M) => {
|
|
2413
2407
|
var X, he;
|
|
2414
2408
|
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
2409
|
return {
|
|
2416
2410
|
[`${M.proComponentsCls}-basic-layout`]: {
|
|
2417
|
-
[`${M.antCls}-layout-header${M.componentCls}${M.componentCls}-${re(
|
|
2411
|
+
[`${M.antCls}-layout-header${M.componentCls}${M.componentCls}-${re(m.value.key)}`]: {
|
|
2418
2412
|
color: _ ? M.colorWhite : M.colorText,
|
|
2419
2413
|
backgroundColor: (N == null ? void 0 : N.colorBgMenu) || (Q == null ? void 0 : Q.colorBgMenu),
|
|
2420
2414
|
boxShadow: r.value ? "#0d0d0da6 0 2px 8px" : "",
|
|
@@ -2460,13 +2454,13 @@ const {
|
|
|
2460
2454
|
}
|
|
2461
2455
|
}
|
|
2462
2456
|
};
|
|
2463
|
-
},
|
|
2464
|
-
[`${
|
|
2465
|
-
[`${
|
|
2466
|
-
[`${
|
|
2467
|
-
[`${
|
|
2468
|
-
})),
|
|
2469
|
-
const M = t(
|
|
2457
|
+
}, w), x = $(() => ({
|
|
2458
|
+
[`${f.value}`]: !0,
|
|
2459
|
+
[`${w}`]: !0,
|
|
2460
|
+
[`${w}-${m.value.key}`]: !0,
|
|
2461
|
+
[`${C}`]: p.value
|
|
2462
|
+
})), 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 = () => {
|
|
2463
|
+
const M = t(Eo, te(e, {
|
|
2470
2464
|
mode: "horizontal",
|
|
2471
2465
|
theme: s.value,
|
|
2472
2466
|
onCollapse: i.value,
|
|
@@ -2477,29 +2471,29 @@ const {
|
|
|
2477
2471
|
};
|
|
2478
2472
|
return () => {
|
|
2479
2473
|
let M;
|
|
2480
|
-
return
|
|
2474
|
+
return h(t(J, null, [p.value && !u.value && t(Et, {
|
|
2481
2475
|
style: {
|
|
2482
2476
|
height: `${d.value}px`,
|
|
2483
2477
|
lineHeight: `${d.value}px`,
|
|
2484
2478
|
background: "transparent",
|
|
2485
|
-
marginTop:
|
|
2479
|
+
marginTop: b.value ? `-${d.value}px` : void 0
|
|
2486
2480
|
}
|
|
2487
2481
|
}, null), t(Et, {
|
|
2488
|
-
class:
|
|
2482
|
+
class: x.value,
|
|
2489
2483
|
style: {
|
|
2490
2484
|
height: `${d.value}px`,
|
|
2491
2485
|
lineHeight: `${d.value}px`,
|
|
2492
2486
|
width: R.value,
|
|
2493
|
-
zIndex:
|
|
2487
|
+
zIndex: S.value ? 100 : 101,
|
|
2494
2488
|
right: B.value,
|
|
2495
|
-
marginTop:
|
|
2489
|
+
marginTop: b.value ? `-${d.value}px` : void 0
|
|
2496
2490
|
}
|
|
2497
2491
|
}, Ko(M = P()) ? M : {
|
|
2498
2492
|
default: () => [M]
|
|
2499
2493
|
})]));
|
|
2500
2494
|
};
|
|
2501
2495
|
}
|
|
2502
|
-
}),
|
|
2496
|
+
}), Wt = /* @__PURE__ */ E({
|
|
2503
2497
|
name: "SiderMenuWrapper",
|
|
2504
2498
|
inheritAttrs: !1,
|
|
2505
2499
|
props: {
|
|
@@ -2536,7 +2530,7 @@ const {
|
|
|
2536
2530
|
}
|
|
2537
2531
|
});
|
|
2538
2532
|
function Mt(e, { change: n }) {
|
|
2539
|
-
const { system: a } =
|
|
2533
|
+
const { system: a } = Yn(), [o, i, l] = ze("system", {
|
|
2540
2534
|
value: $(() => Ue(e.value) ? e.value : "system"),
|
|
2541
2535
|
onChange: (c) => {
|
|
2542
2536
|
n == null || n(c);
|
|
@@ -2561,12 +2555,12 @@ function $n({ event: e, isDark: n, value: a, toggle: o }) {
|
|
|
2561
2555
|
document.startViewTransition(async () => {
|
|
2562
2556
|
o == null || o(ne(a) || a === "system" ? a : !(n != null && n.value)), await pt();
|
|
2563
2557
|
}).ready.then(() => {
|
|
2564
|
-
const
|
|
2558
|
+
const b = [
|
|
2565
2559
|
`circle(0px at ${l}px ${r}px)`,
|
|
2566
2560
|
`circle(${c}px at ${l}px ${r}px)`
|
|
2567
2561
|
];
|
|
2568
2562
|
document.documentElement.animate({
|
|
2569
|
-
clipPath: n != null && n.value ? [...
|
|
2563
|
+
clipPath: n != null && n.value ? [...b].reverse() : b
|
|
2570
2564
|
}, {
|
|
2571
2565
|
duration: 450,
|
|
2572
2566
|
easing: "ease-in",
|
|
@@ -2574,7 +2568,7 @@ function $n({ event: e, isDark: n, value: a, toggle: o }) {
|
|
|
2574
2568
|
});
|
|
2575
2569
|
});
|
|
2576
2570
|
}
|
|
2577
|
-
const
|
|
2571
|
+
const Wo = `::view-transition-new(root),::view-transition-old(root) {
|
|
2578
2572
|
animation: none;
|
|
2579
2573
|
mix-blend-mode: normal;
|
|
2580
2574
|
}
|
|
@@ -2597,8 +2591,8 @@ html[data-theme="dark"]::view-transition-new(root) {
|
|
|
2597
2591
|
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
2592
|
var n = (a = (a = document.getElementsByTagName("script"))[a.length - 1]).getAttribute("data-injectcss"), a = a.getAttribute("data-disable-injectsvg");
|
|
2599
2593
|
if (!a) {
|
|
2600
|
-
var o, i, l, r, c,
|
|
2601
|
-
|
|
2594
|
+
var o, i, l, r, c, y = function(d, w) {
|
|
2595
|
+
w.parentNode.insertBefore(d, w);
|
|
2602
2596
|
};
|
|
2603
2597
|
if (n && !e.__iconfont__svg__cssinject__) {
|
|
2604
2598
|
e.__iconfont__svg__cssinject__ = !0;
|
|
@@ -2609,33 +2603,33 @@ window._iconfont_svg_string_4694134 = '<svg><symbol id="icon-fixed" viewBox="0 0
|
|
|
2609
2603
|
}
|
|
2610
2604
|
}
|
|
2611
2605
|
o = function() {
|
|
2612
|
-
var d,
|
|
2613
|
-
|
|
2606
|
+
var d, w = document.createElement("div");
|
|
2607
|
+
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
2608
|
}, document.addEventListener ? ~["complete", "loaded", "interactive"].indexOf(document.readyState) ? setTimeout(o, 0) : (i = function() {
|
|
2615
2609
|
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,
|
|
2610
|
+
}, document.addEventListener("DOMContentLoaded", i, !1)) : document.attachEvent && (l = o, r = e.document, c = !1, m(), r.onreadystatechange = function() {
|
|
2611
|
+
r.readyState == "complete" && (r.onreadystatechange = null, b());
|
|
2618
2612
|
});
|
|
2619
2613
|
}
|
|
2620
|
-
function
|
|
2614
|
+
function b() {
|
|
2621
2615
|
c || (c = !0, l());
|
|
2622
2616
|
}
|
|
2623
|
-
function
|
|
2617
|
+
function m() {
|
|
2624
2618
|
try {
|
|
2625
2619
|
r.documentElement.doScroll("left");
|
|
2626
2620
|
} catch {
|
|
2627
|
-
return void setTimeout(
|
|
2621
|
+
return void setTimeout(m, 50);
|
|
2628
2622
|
}
|
|
2629
|
-
|
|
2623
|
+
b();
|
|
2630
2624
|
}
|
|
2631
2625
|
})(window);
|
|
2632
|
-
const
|
|
2626
|
+
const Uo = /* @__PURE__ */ E({
|
|
2633
2627
|
name: "BaseProLayout",
|
|
2634
2628
|
inheritAttrs: !1,
|
|
2635
2629
|
components: {
|
|
2636
|
-
GlobalHeader:
|
|
2630
|
+
GlobalHeader: Kt,
|
|
2637
2631
|
GlobalFooter: At,
|
|
2638
|
-
SiderMenuWrapper:
|
|
2632
|
+
SiderMenuWrapper: Wt
|
|
2639
2633
|
},
|
|
2640
2634
|
props: {
|
|
2641
2635
|
...Ae,
|
|
@@ -2651,36 +2645,36 @@ const _o = /* @__PURE__ */ E({
|
|
|
2651
2645
|
suffixCls: "basic-layout",
|
|
2652
2646
|
isPor: !0
|
|
2653
2647
|
});
|
|
2654
|
-
|
|
2648
|
+
qn(Wo);
|
|
2655
2649
|
const {
|
|
2656
2650
|
wrapSSR: o,
|
|
2657
2651
|
hashId: i
|
|
2658
|
-
} = fe("ProLayout", [
|
|
2652
|
+
} = fe("ProLayout", [Qa, Za], a), l = en(), {
|
|
2659
2653
|
token: r,
|
|
2660
2654
|
dark: c
|
|
2661
|
-
} = Oe(),
|
|
2655
|
+
} = Oe(), y = me(ht().uuid(10)), b = me(!1), m = me(!1), d = me(!1), w = Be({
|
|
2662
2656
|
position: "relative"
|
|
2663
|
-
}),
|
|
2657
|
+
}), C = $(() => {
|
|
2664
2658
|
var B;
|
|
2665
2659
|
return (B = r == null ? void 0 : r.value) == null ? void 0 : B.colorPrimary;
|
|
2666
2660
|
});
|
|
2667
2661
|
An(() => {
|
|
2668
2662
|
const B = document.querySelector("html");
|
|
2669
|
-
B && (
|
|
2663
|
+
B && (C.value && B.style.setProperty("--gx-primary-color", C.value), B.setAttribute("data-theme", c.value ? "dark" : "light"));
|
|
2670
2664
|
});
|
|
2671
|
-
const u = $(() => e.layout === "mix" || e.layout === "side" || e.layout === "wide" || !1),
|
|
2665
|
+
const u = $(() => e.layout === "mix" || e.layout === "side" || e.layout === "wide" || !1), p = $(() => {
|
|
2672
2666
|
var B;
|
|
2673
2667
|
return e.levelMenuData && ((B = e.levelMenuData) != null && B.length) ? e.levelMenuData : It(e.menuData);
|
|
2674
|
-
}),
|
|
2668
|
+
}), S = $(() => e.layout === "wide"), s = $(() => ({
|
|
2675
2669
|
key: nn(c.value, e.theme),
|
|
2676
2670
|
theme: c.value ? "dark" : e.theme
|
|
2677
|
-
})),
|
|
2671
|
+
})), h = $(() => (l.value === "sm" || l.value === "xs") && !e.disableMobile && !S.value), f = $(() => ({
|
|
2678
2672
|
...e.breadcrumb || {},
|
|
2679
2673
|
itemRender: le(n, e, "pageContainerProps:breadcrumbRender")
|
|
2680
|
-
})),
|
|
2674
|
+
})), 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
2675
|
ce([() => e.layout, () => e.theme], ([B]) => {
|
|
2682
|
-
(B === "wide" || B === "simple") && (d.value = !1),
|
|
2683
|
-
}), ce(() =>
|
|
2676
|
+
(B === "wide" || B === "simple") && (d.value = !1), y.value = ht().uuid(10);
|
|
2677
|
+
}), ce(() => S.value, (B) => {
|
|
2684
2678
|
if (B) {
|
|
2685
2679
|
const P = document.querySelector('meta[name="viewport"]');
|
|
2686
2680
|
P && (P.content = "");
|
|
@@ -2688,48 +2682,48 @@ const _o = /* @__PURE__ */ E({
|
|
|
2688
2682
|
}, {
|
|
2689
2683
|
immediate: !0
|
|
2690
2684
|
}), ce([() => e.contentStyle, () => e.isChildrenLayout], () => {
|
|
2691
|
-
(e.isChildrenLayout || e.contentStyle && e.contentStyle.minHeight) && (
|
|
2685
|
+
(e.isChildrenLayout || e.contentStyle && e.contentStyle.minHeight) && (w.minHeight = 0);
|
|
2692
2686
|
}, {
|
|
2693
2687
|
immediate: !0,
|
|
2694
2688
|
deep: !0
|
|
2695
2689
|
});
|
|
2696
|
-
const R = (B, P) => B.headerRender === !1 || B.pure ? null : t(
|
|
2697
|
-
headerHeight:
|
|
2690
|
+
const R = (B, P) => B.headerRender === !1 || B.pure ? null : t(Kt, te(Me(B, "headerHeight"), {
|
|
2691
|
+
headerHeight: I.value,
|
|
2698
2692
|
matchMenuKeys: P || []
|
|
2699
2693
|
}), null);
|
|
2700
|
-
return
|
|
2701
|
-
...ae(Je(e),
|
|
2694
|
+
return qa({
|
|
2695
|
+
...ae(Je(e), Ya),
|
|
2702
2696
|
getPrefixCls: oe,
|
|
2703
2697
|
menuState: s,
|
|
2704
|
-
lockOpen:
|
|
2705
|
-
settingsOpen:
|
|
2698
|
+
lockOpen: b,
|
|
2699
|
+
settingsOpen: m,
|
|
2706
2700
|
contentFullScreen: d,
|
|
2707
|
-
hasContentWide:
|
|
2708
|
-
isMobile:
|
|
2701
|
+
hasContentWide: S,
|
|
2702
|
+
isMobile: h,
|
|
2709
2703
|
siderWidth: F,
|
|
2710
|
-
headerHeight:
|
|
2711
|
-
breadcrumb:
|
|
2712
|
-
flatMenuData:
|
|
2704
|
+
headerHeight: I,
|
|
2705
|
+
breadcrumb: f,
|
|
2706
|
+
flatMenuData: x,
|
|
2713
2707
|
hasSide: u,
|
|
2714
|
-
levelMenuData:
|
|
2708
|
+
levelMenuData: p,
|
|
2715
2709
|
onDarkChange: e.onDarkChange,
|
|
2716
2710
|
pageHeaderRender: $(() => $e(n, e, "pageContainerProps:pageHeaderRender"))
|
|
2717
2711
|
}), () => {
|
|
2718
2712
|
var G;
|
|
2719
|
-
const B =
|
|
2713
|
+
const B = ia(yn, n, e, {
|
|
2720
2714
|
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"),
|
|
2715
|
+
}), 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
2716
|
...e,
|
|
2723
2717
|
...ae(B, gn),
|
|
2724
2718
|
menuItemRender: he,
|
|
2725
2719
|
subMenuItemRender: D,
|
|
2726
2720
|
hasSiderMenu: u.value,
|
|
2727
|
-
isMobile:
|
|
2721
|
+
isMobile: h.value,
|
|
2728
2722
|
rightContentRender: _,
|
|
2729
2723
|
logoContentRender: L,
|
|
2730
2724
|
headerContentRender: Q,
|
|
2731
2725
|
headerRender: N
|
|
2732
|
-
}, e.matchMenuKeys), ge =
|
|
2726
|
+
}, e.matchMenuKeys), ge = S.value ? {
|
|
2733
2727
|
minHeight: "835px",
|
|
2734
2728
|
marginInlineStart: F.value === 0 ? 0 : void 0
|
|
2735
2729
|
} : {}, H = M ? typeof M == "function" ? M(e) : M : t(At, {
|
|
@@ -2742,29 +2736,29 @@ const _o = /* @__PURE__ */ E({
|
|
|
2742
2736
|
[`${a}`]: !0,
|
|
2743
2737
|
[`${a}-${e.layout}`]: !0
|
|
2744
2738
|
}),
|
|
2745
|
-
style:
|
|
2739
|
+
style: S.value ? {
|
|
2746
2740
|
minWidth: `${e.wideWidth}px`,
|
|
2747
2741
|
...e.style
|
|
2748
2742
|
} : e.style
|
|
2749
|
-
}, [t(
|
|
2750
|
-
style:
|
|
2743
|
+
}, [t(Ke, {
|
|
2744
|
+
style: S.value ? {
|
|
2751
2745
|
width: e.menuData.length ? `${e.wideWidth}px` : `${e.wideWidth - F.value - 20}px`,
|
|
2752
|
-
paddingTop: `${
|
|
2753
|
-
margin:
|
|
2746
|
+
paddingTop: `${I.value + 20}px`,
|
|
2747
|
+
margin: S.value ? "0 auto" : void 0
|
|
2754
2748
|
} : void 0
|
|
2755
2749
|
}, {
|
|
2756
|
-
default: () => [F.value > 0 && t(
|
|
2750
|
+
default: () => [F.value > 0 && t(Wt, te(e, {
|
|
2757
2751
|
siderWidth: F.value,
|
|
2758
|
-
isMobile:
|
|
2752
|
+
isMobile: h.value,
|
|
2759
2753
|
menuHeaderRender: de,
|
|
2760
2754
|
logoContentRender: L,
|
|
2761
2755
|
menuFooterRender: k,
|
|
2762
|
-
menuContentRender:
|
|
2756
|
+
menuContentRender: K,
|
|
2763
2757
|
collapsedButtonRender: P
|
|
2764
|
-
}, ae(B, hn)), null), t(
|
|
2765
|
-
style:
|
|
2758
|
+
}, ae(B, hn)), null), t(Ke, {
|
|
2759
|
+
style: w
|
|
2766
2760
|
}, {
|
|
2767
|
-
default: () => [e.layout !== "simple" &&
|
|
2761
|
+
default: () => [e.layout !== "simple" && I.value > 0 && ee, t(Bt, te(ae(e, eo), {
|
|
2768
2762
|
hashId: i.value,
|
|
2769
2763
|
prefixCls: a,
|
|
2770
2764
|
siderWidth: F.value,
|
|
@@ -2783,7 +2777,7 @@ const _o = /* @__PURE__ */ E({
|
|
|
2783
2777
|
}), B.pageLockRender, e.layout === "wide" && H])]));
|
|
2784
2778
|
};
|
|
2785
2779
|
}
|
|
2786
|
-
}),
|
|
2780
|
+
}), Yr = /* @__PURE__ */ E({
|
|
2787
2781
|
name: "GProLayout",
|
|
2788
2782
|
compatConfig: {
|
|
2789
2783
|
MODE: 3
|
|
@@ -2802,22 +2796,22 @@ const _o = /* @__PURE__ */ E({
|
|
|
2802
2796
|
innerDark: l,
|
|
2803
2797
|
toggleMode: r
|
|
2804
2798
|
} = Mt($(() => e.dark), {
|
|
2805
|
-
change: (
|
|
2806
|
-
var
|
|
2807
|
-
(
|
|
2799
|
+
change: (w) => {
|
|
2800
|
+
var C, u;
|
|
2801
|
+
(C = e.onDarkChange) == null || C.call(e, w), (u = e == null ? void 0 : e["onUpdate:dark"]) == null || u.call(e, w);
|
|
2808
2802
|
}
|
|
2809
2803
|
}), c = $(() => Ce(e.token || {}, {
|
|
2810
2804
|
layout: {
|
|
2811
2805
|
key: `${nn(i.value, e.theme)}:${e.layout}`
|
|
2812
2806
|
}
|
|
2813
|
-
})),
|
|
2814
|
-
a("update:collapsed",
|
|
2815
|
-
},
|
|
2816
|
-
a("update:open-keys",
|
|
2817
|
-
},
|
|
2818
|
-
a("update:selected-keys",
|
|
2819
|
-
}, d = (
|
|
2820
|
-
a("update:tabs",
|
|
2807
|
+
})), y = (w) => {
|
|
2808
|
+
a("update:collapsed", w), a("collapse", w);
|
|
2809
|
+
}, b = (w) => {
|
|
2810
|
+
a("update:open-keys", w), a("openKeys", w);
|
|
2811
|
+
}, m = (w) => {
|
|
2812
|
+
a("update:selected-keys", w), a("select", w);
|
|
2813
|
+
}, d = (w) => {
|
|
2814
|
+
a("update:tabs", w), a("tabsChange", w);
|
|
2821
2815
|
};
|
|
2822
2816
|
return () => t(St, {
|
|
2823
2817
|
theme: e.primaryColor ? {
|
|
@@ -2826,17 +2820,17 @@ const _o = /* @__PURE__ */ E({
|
|
|
2826
2820
|
}
|
|
2827
2821
|
} : void 0
|
|
2828
2822
|
}, {
|
|
2829
|
-
default: () => [t(
|
|
2823
|
+
default: () => [t(ca, {
|
|
2830
2824
|
token: c.value,
|
|
2831
2825
|
dark: i.value
|
|
2832
2826
|
}, {
|
|
2833
|
-
default: () => [t(
|
|
2827
|
+
default: () => [t(Uo, te({
|
|
2834
2828
|
style: o.style
|
|
2835
2829
|
}, Me(e, ["onSelect", "onOpenKeys", "onCollapse", "onTabsChange", "onDarkChange", "dark"]), {
|
|
2836
2830
|
dark: l.value,
|
|
2837
|
-
onSelect:
|
|
2838
|
-
onOpenKeys:
|
|
2839
|
-
onCollapse:
|
|
2831
|
+
onSelect: m,
|
|
2832
|
+
onOpenKeys: b,
|
|
2833
|
+
onCollapse: y,
|
|
2840
2834
|
onTabsChange: d,
|
|
2841
2835
|
onDarkChange: r
|
|
2842
2836
|
}), n)]
|
|
@@ -2897,7 +2891,7 @@ const _o = /* @__PURE__ */ E({
|
|
|
2897
2891
|
onLockOpenChange: Function,
|
|
2898
2892
|
onSettingsOpenChange: Function,
|
|
2899
2893
|
"onUpdate:settingsOpen": Function
|
|
2900
|
-
}),
|
|
2894
|
+
}), _o = Bn(), Ln = {
|
|
2901
2895
|
hashId: String,
|
|
2902
2896
|
className: String
|
|
2903
2897
|
}, On = {
|
|
@@ -2908,8 +2902,8 @@ const _o = /* @__PURE__ */ E({
|
|
|
2908
2902
|
onOpenChange: Function,
|
|
2909
2903
|
"onUpdate:open": Function,
|
|
2910
2904
|
cryptoFn: Function,
|
|
2911
|
-
...ae(
|
|
2912
|
-
},
|
|
2905
|
+
...ae(_o, ["name", "avatar"])
|
|
2906
|
+
}, Xo = {
|
|
2913
2907
|
...On,
|
|
2914
2908
|
shortsKey: {
|
|
2915
2909
|
type: Object,
|
|
@@ -2917,14 +2911,14 @@ const _o = /* @__PURE__ */ E({
|
|
|
2917
2911
|
disabeld: !1
|
|
2918
2912
|
})
|
|
2919
2913
|
}
|
|
2920
|
-
},
|
|
2914
|
+
}, Vo = new v("fadeIn", {
|
|
2921
2915
|
from: {
|
|
2922
2916
|
opacity: 0
|
|
2923
2917
|
},
|
|
2924
2918
|
to: {
|
|
2925
2919
|
opacity: 1
|
|
2926
2920
|
}
|
|
2927
|
-
}),
|
|
2921
|
+
}), Go = (e) => ({
|
|
2928
2922
|
[e.componentCls]: {
|
|
2929
2923
|
"&-user-form": {
|
|
2930
2924
|
[`${e.antCls}-form-item`]: {
|
|
@@ -2954,7 +2948,7 @@ const _o = /* @__PURE__ */ E({
|
|
|
2954
2948
|
"&-enter": {
|
|
2955
2949
|
animationDuration: ".3s",
|
|
2956
2950
|
animationFillMode: "both",
|
|
2957
|
-
animationName:
|
|
2951
|
+
animationName: Vo
|
|
2958
2952
|
},
|
|
2959
2953
|
"&-head": {
|
|
2960
2954
|
display: "flex",
|
|
@@ -3027,10 +3021,10 @@ const _o = /* @__PURE__ */ E({
|
|
|
3027
3021
|
}
|
|
3028
3022
|
}
|
|
3029
3023
|
});
|
|
3030
|
-
function
|
|
3024
|
+
function Yo(e) {
|
|
3031
3025
|
const n = Be({
|
|
3032
3026
|
password: ""
|
|
3033
|
-
}), { validate: a, resetFields: o, validateInfos: i } =
|
|
3027
|
+
}), { validate: a, resetFields: o, validateInfos: i } = ma(n, Be({
|
|
3034
3028
|
password: [
|
|
3035
3029
|
{
|
|
3036
3030
|
validator: (l, r) => (e && r ? e == null ? void 0 : e(r) : r) ? Promise.resolve() : Promise.reject(e && r ? "密码错误" : "请输入锁屏密码")
|
|
@@ -3061,17 +3055,17 @@ const Mn = /* @__PURE__ */ E({
|
|
|
3061
3055
|
validate: i,
|
|
3062
3056
|
validateInfos: l,
|
|
3063
3057
|
resetFields: r
|
|
3064
|
-
} =
|
|
3065
|
-
Object.assign(o,
|
|
3066
|
-
},
|
|
3067
|
-
const
|
|
3068
|
-
return q(
|
|
3069
|
-
},
|
|
3058
|
+
} = Yo(e.validator), c = (m) => {
|
|
3059
|
+
Object.assign(o, m);
|
|
3060
|
+
}, y = (m = "", d) => {
|
|
3061
|
+
const w = m ? `${e.className}-${m}` : e.className;
|
|
3062
|
+
return q(w, e.hashId, "");
|
|
3063
|
+
}, b = () => {
|
|
3070
3064
|
i().then(() => {
|
|
3071
|
-
var
|
|
3072
|
-
(
|
|
3073
|
-
}).catch((
|
|
3074
|
-
console.log(
|
|
3065
|
+
var m;
|
|
3066
|
+
(m = e.onSubmit) == null || m.call(e, o);
|
|
3067
|
+
}).catch((m) => {
|
|
3068
|
+
console.log(m);
|
|
3075
3069
|
});
|
|
3076
3070
|
};
|
|
3077
3071
|
return n({
|
|
@@ -3079,17 +3073,17 @@ const Mn = /* @__PURE__ */ E({
|
|
|
3079
3073
|
resetFields: r,
|
|
3080
3074
|
merageFormState: c
|
|
3081
3075
|
}), () => {
|
|
3082
|
-
var
|
|
3076
|
+
var m;
|
|
3083
3077
|
return t("div", {
|
|
3084
|
-
class:
|
|
3078
|
+
class: y("user-form")
|
|
3085
3079
|
}, [t("div", {
|
|
3086
|
-
class:
|
|
3080
|
+
class: y("user-info")
|
|
3087
3081
|
}, [t(qt, {
|
|
3088
3082
|
size: e.avatarSize,
|
|
3089
3083
|
icon: t(rn, null, null),
|
|
3090
3084
|
src: e.avatar
|
|
3091
3085
|
}, null), e.name && t("div", {
|
|
3092
|
-
class:
|
|
3086
|
+
class: y("user-name")
|
|
3093
3087
|
}, [e.name])]), t(Ft, null, {
|
|
3094
3088
|
default: () => [t(Ft.Item, l.password, {
|
|
3095
3089
|
default: () => [t(Qt.Password, {
|
|
@@ -3101,18 +3095,18 @@ const Mn = /* @__PURE__ */ E({
|
|
|
3101
3095
|
}), t(qe, {
|
|
3102
3096
|
block: !0,
|
|
3103
3097
|
type: "primary",
|
|
3104
|
-
onClick: () =>
|
|
3098
|
+
onClick: () => b(),
|
|
3105
3099
|
style: {
|
|
3106
3100
|
marginBlockStart: "24px"
|
|
3107
3101
|
}
|
|
3108
3102
|
}, {
|
|
3109
3103
|
default: () => [e.submitText]
|
|
3110
|
-
}), (
|
|
3104
|
+
}), (m = a.default) == null ? void 0 : m.call(a)]);
|
|
3111
3105
|
};
|
|
3112
3106
|
}
|
|
3113
3107
|
});
|
|
3114
3108
|
we.locale("zh-cn");
|
|
3115
|
-
function
|
|
3109
|
+
function qo() {
|
|
3116
3110
|
const e = Be({
|
|
3117
3111
|
hh: "",
|
|
3118
3112
|
mm: "",
|
|
@@ -3126,7 +3120,7 @@ function Qo() {
|
|
|
3126
3120
|
}
|
|
3127
3121
|
return requestAnimationFrame(n), e;
|
|
3128
3122
|
}
|
|
3129
|
-
const
|
|
3123
|
+
const Qo = /* @__PURE__ */ E({
|
|
3130
3124
|
name: "PageLock",
|
|
3131
3125
|
props: {
|
|
3132
3126
|
...Ln,
|
|
@@ -3137,9 +3131,9 @@ const Zo = /* @__PURE__ */ E({
|
|
|
3137
3131
|
const [n, a] = ze(!1, {
|
|
3138
3132
|
value: $(() => ne(e.open) ? e.open : !1),
|
|
3139
3133
|
onChange: e.onOpenChange
|
|
3140
|
-
}), [o, i] = be(!1), l =
|
|
3141
|
-
const
|
|
3142
|
-
return q(
|
|
3134
|
+
}), [o, i] = be(!1), l = qo(), r = (c = "", y) => {
|
|
3135
|
+
const b = c ? `${e.className}-popup-${c}` : `${e.className}-popup`;
|
|
3136
|
+
return q(b, e.hashId, y || "");
|
|
3143
3137
|
};
|
|
3144
3138
|
return () => n.value ? t("div", {
|
|
3145
3139
|
class: r()
|
|
@@ -3152,8 +3146,8 @@ const Zo = /* @__PURE__ */ E({
|
|
|
3152
3146
|
hashId: e.hashId,
|
|
3153
3147
|
className: e.className,
|
|
3154
3148
|
validator: (c) => {
|
|
3155
|
-
var
|
|
3156
|
-
return ((
|
|
3149
|
+
var y;
|
|
3150
|
+
return ((y = e.cryptoFn) == null ? void 0 : y.call(e, c)) === e.password;
|
|
3157
3151
|
},
|
|
3158
3152
|
onSubmit: () => a(!1)
|
|
3159
3153
|
}, {
|
|
@@ -3198,9 +3192,9 @@ const Zo = /* @__PURE__ */ E({
|
|
|
3198
3192
|
class: r("time-card")
|
|
3199
3193
|
}, [l.mm])])])]) : null;
|
|
3200
3194
|
}
|
|
3201
|
-
}),
|
|
3195
|
+
}), qr = /* @__PURE__ */ E({
|
|
3202
3196
|
name: "PageLock",
|
|
3203
|
-
props:
|
|
3197
|
+
props: Xo,
|
|
3204
3198
|
emits: ["update:open", "openChange"],
|
|
3205
3199
|
setup(e) {
|
|
3206
3200
|
const n = oe({
|
|
@@ -3209,55 +3203,55 @@ const Zo = /* @__PURE__ */ E({
|
|
|
3209
3203
|
}), a = ie(), {
|
|
3210
3204
|
wrapSSR: o,
|
|
3211
3205
|
hashId: i
|
|
3212
|
-
} = fe("ProPageLock", [
|
|
3206
|
+
} = fe("ProPageLock", [Go], n), l = tt(n, {
|
|
3213
3207
|
open: !1,
|
|
3214
3208
|
password: ""
|
|
3215
|
-
}), [r, c,
|
|
3209
|
+
}), [r, c, y] = ze(!1, {
|
|
3216
3210
|
value: $(() => {
|
|
3217
|
-
var
|
|
3218
|
-
return ne(e.open) ? e.open : (
|
|
3211
|
+
var f;
|
|
3212
|
+
return ne(e.open) ? e.open : (f = a == null ? void 0 : a.lockOpen) == null ? void 0 : f.value;
|
|
3219
3213
|
}),
|
|
3220
|
-
onChange: (
|
|
3221
|
-
var
|
|
3222
|
-
(
|
|
3214
|
+
onChange: (f) => {
|
|
3215
|
+
var x, I;
|
|
3216
|
+
(x = e.onOpenChange) == null || x.call(e, f), (I = e["onUpdate:open"]) == null || I.call(e, f), a && (a.lockOpen.value = f);
|
|
3223
3217
|
}
|
|
3224
|
-
}), [
|
|
3225
|
-
function
|
|
3226
|
-
return e.cryptoFn ? e.cryptoFn(
|
|
3218
|
+
}), [b, m] = be(!1), d = me();
|
|
3219
|
+
function w(f) {
|
|
3220
|
+
return e.cryptoFn ? e.cryptoFn(f) : f;
|
|
3227
3221
|
}
|
|
3228
|
-
function
|
|
3229
|
-
l.value.open =
|
|
3222
|
+
function C(f) {
|
|
3223
|
+
l.value.open = b.value, l.value.password = w(f);
|
|
3230
3224
|
}
|
|
3231
|
-
const u = $(() => e.shortsKey),
|
|
3232
|
-
mt(
|
|
3233
|
-
var
|
|
3234
|
-
(
|
|
3235
|
-
}), ce(
|
|
3236
|
-
var
|
|
3237
|
-
|
|
3225
|
+
const u = $(() => e.shortsKey), p = $(() => l.value.open && !!l.value.password), S = Jt();
|
|
3226
|
+
mt(S["Alt+KeyL"], () => {
|
|
3227
|
+
var f;
|
|
3228
|
+
(f = u.value) != null && f.disabeld || y.value || c(!0);
|
|
3229
|
+
}), ce(b, (f) => {
|
|
3230
|
+
var x, I;
|
|
3231
|
+
C(f && (((I = (x = d.value) == null ? void 0 : x.formState) == null ? void 0 : I.password) || l.value.password) || "");
|
|
3238
3232
|
}), Yt(() => {
|
|
3239
|
-
|
|
3233
|
+
p.value ? m(!0) : C("");
|
|
3240
3234
|
});
|
|
3241
3235
|
const s = () => {
|
|
3242
|
-
c(!1),
|
|
3243
|
-
},
|
|
3244
|
-
var
|
|
3245
|
-
c(!1),
|
|
3236
|
+
c(!1), m(!0);
|
|
3237
|
+
}, h = () => {
|
|
3238
|
+
var f;
|
|
3239
|
+
c(!1), C(""), (f = d.value) == null || f.resetFields();
|
|
3246
3240
|
};
|
|
3247
|
-
return () => o(t(J, null, [t(
|
|
3248
|
-
open:
|
|
3241
|
+
return () => o(t(J, null, [t(Qo, te(ae(e, ["name", "avatar"]), {
|
|
3242
|
+
open: b.value,
|
|
3249
3243
|
hashId: i.value,
|
|
3250
3244
|
className: n,
|
|
3251
3245
|
password: l.value.password,
|
|
3252
|
-
cryptoFn:
|
|
3253
|
-
onOpenChange:
|
|
3254
|
-
}), null), t(
|
|
3246
|
+
cryptoFn: w,
|
|
3247
|
+
onOpenChange: m
|
|
3248
|
+
}), null), t(Wa, {
|
|
3255
3249
|
width: 400,
|
|
3256
3250
|
type: "normal",
|
|
3257
3251
|
title: "锁定屏幕",
|
|
3258
|
-
open:
|
|
3252
|
+
open: y.value,
|
|
3259
3253
|
footer: !1,
|
|
3260
|
-
onCancel:
|
|
3254
|
+
onCancel: h
|
|
3261
3255
|
}, {
|
|
3262
3256
|
default: () => [t(Mn, te({
|
|
3263
3257
|
ref: d
|
|
@@ -3269,7 +3263,7 @@ const Zo = /* @__PURE__ */ E({
|
|
|
3269
3263
|
}), null)]
|
|
3270
3264
|
})]));
|
|
3271
3265
|
}
|
|
3272
|
-
}),
|
|
3266
|
+
}), Zo = (e) => {
|
|
3273
3267
|
const { dark: n } = ve(e);
|
|
3274
3268
|
return {
|
|
3275
3269
|
[e.componentCls]: {
|
|
@@ -3360,23 +3354,23 @@ const Zo = /* @__PURE__ */ E({
|
|
|
3360
3354
|
}
|
|
3361
3355
|
};
|
|
3362
3356
|
};
|
|
3363
|
-
function
|
|
3357
|
+
function Jo(e) {
|
|
3364
3358
|
return Pe("SearchPageInput", (n) => {
|
|
3365
3359
|
const a = He(n, {});
|
|
3366
|
-
return [
|
|
3360
|
+
return [Zo(a)];
|
|
3367
3361
|
}, e);
|
|
3368
3362
|
}
|
|
3369
|
-
function
|
|
3363
|
+
function ei(e, n) {
|
|
3370
3364
|
const a = /* @__PURE__ */ new Map();
|
|
3371
3365
|
return e.filter((o) => {
|
|
3372
3366
|
const i = o[n];
|
|
3373
3367
|
return a.has(i) ? !1 : (a.set(i, o), !0);
|
|
3374
3368
|
});
|
|
3375
3369
|
}
|
|
3376
|
-
function
|
|
3370
|
+
function ti(e) {
|
|
3377
3371
|
return e ? /^https?:\/\/.*$/.test(e) : !1;
|
|
3378
3372
|
}
|
|
3379
|
-
const
|
|
3373
|
+
const ni = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\", "]", "^", "{", "|", "}"]), ai = ({
|
|
3380
3374
|
className: e,
|
|
3381
3375
|
value: n
|
|
3382
3376
|
}) => n ? t(Pt, {
|
|
@@ -3384,7 +3378,7 @@ const ai = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
|
|
|
3384
3378
|
description: `未找到搜索结果 "${n}"`
|
|
3385
3379
|
}, null) : t("div", {
|
|
3386
3380
|
class: e
|
|
3387
|
-
}, [U("没有搜索历史")]),
|
|
3381
|
+
}, [U("没有搜索历史")]), oi = /* @__PURE__ */ E({
|
|
3388
3382
|
props: {
|
|
3389
3383
|
...kt,
|
|
3390
3384
|
className: String,
|
|
@@ -3396,32 +3390,32 @@ const ai = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
|
|
|
3396
3390
|
const n = it(), a = tt(e.historyKey || oe({
|
|
3397
3391
|
suffixCls: "layout-search-history",
|
|
3398
3392
|
isPor: !0
|
|
3399
|
-
}), []), o = me(0), i = me([]), l =
|
|
3393
|
+
}), []), o = me(0), i = me([]), l = Qn(r, 200);
|
|
3400
3394
|
function r(s) {
|
|
3401
3395
|
if (s = s.trim(), !s) {
|
|
3402
3396
|
i.value = [];
|
|
3403
3397
|
return;
|
|
3404
3398
|
}
|
|
3405
|
-
const
|
|
3406
|
-
e.dataSource.forEach((
|
|
3399
|
+
const h = d(s), f = [];
|
|
3400
|
+
e.dataSource.forEach((x) => {
|
|
3407
3401
|
var F, R, B;
|
|
3408
|
-
if ((F =
|
|
3409
|
-
const
|
|
3410
|
-
if (
|
|
3402
|
+
if ((F = x.meta) != null && F.hidden) return;
|
|
3403
|
+
const I = ((R = x.meta) == null ? void 0 : R.title) || x.name || "";
|
|
3404
|
+
if (h.test(I.toLowerCase())) {
|
|
3411
3405
|
let P = [];
|
|
3412
|
-
const M = ((B =
|
|
3406
|
+
const M = ((B = x == null ? void 0 : x.key) == null ? void 0 : B.split("-")) || [];
|
|
3413
3407
|
for (let N = 0; N < M.length; N++)
|
|
3414
3408
|
P.push(M.slice(0, N + 1).join("-"));
|
|
3415
3409
|
P = P.map((N) => {
|
|
3416
3410
|
var Q, _;
|
|
3417
3411
|
return ((_ = (Q = e.dataSource.find((X) => (X == null ? void 0 : X.key) === N)) == null ? void 0 : Q.meta) == null ? void 0 : _.title) || "";
|
|
3418
|
-
}),
|
|
3412
|
+
}), f.push(Ce(x, {
|
|
3419
3413
|
meta: {
|
|
3420
3414
|
title: P.join("**")
|
|
3421
3415
|
}
|
|
3422
3416
|
}));
|
|
3423
3417
|
}
|
|
3424
|
-
}), i.value =
|
|
3418
|
+
}), i.value = f, f.length > 0 && (o.value = 0), o.value = 0;
|
|
3425
3419
|
}
|
|
3426
3420
|
ce(() => e.keyword, (s) => {
|
|
3427
3421
|
s ? l(s) : i.value = [...a.value];
|
|
@@ -3430,87 +3424,87 @@ const ai = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
|
|
|
3430
3424
|
var s;
|
|
3431
3425
|
i.value = [], (s = e.onClose) == null || s.call(e);
|
|
3432
3426
|
}
|
|
3433
|
-
function
|
|
3427
|
+
function y() {
|
|
3434
3428
|
const s = document.querySelector(`[data-search-item="${o.value}"]`);
|
|
3435
3429
|
s && s.scrollIntoView({
|
|
3436
3430
|
block: "nearest"
|
|
3437
3431
|
});
|
|
3438
3432
|
}
|
|
3439
|
-
async function
|
|
3433
|
+
async function b() {
|
|
3440
3434
|
if (i.value.length === 0)
|
|
3441
3435
|
return;
|
|
3442
|
-
const s = i.value,
|
|
3443
|
-
if (s.length === 0 ||
|
|
3436
|
+
const s = i.value, h = o.value;
|
|
3437
|
+
if (s.length === 0 || h < 0)
|
|
3444
3438
|
return;
|
|
3445
|
-
const
|
|
3446
|
-
|
|
3447
|
-
path:
|
|
3439
|
+
const f = s[h];
|
|
3440
|
+
f && (a.value.push(f), c(), await pt(), ti(f.path) ? window.open(f.path, "_blank") : n.push({
|
|
3441
|
+
path: f.path,
|
|
3448
3442
|
replace: !0
|
|
3449
3443
|
}));
|
|
3450
3444
|
}
|
|
3451
|
-
function
|
|
3452
|
-
return
|
|
3445
|
+
function m(s) {
|
|
3446
|
+
return ni.has(s) ? `\\${s}` : s;
|
|
3453
3447
|
}
|
|
3454
3448
|
function d(s) {
|
|
3455
|
-
const
|
|
3456
|
-
return new RegExp(`.*${
|
|
3449
|
+
const h = [...s].map((f) => m(f)).join(".*");
|
|
3450
|
+
return new RegExp(`.*${h}.*`);
|
|
3457
3451
|
}
|
|
3458
|
-
function
|
|
3459
|
-
i.value.length !== 0 && (o.value--, o.value < 0 && (o.value = i.value.length - 1),
|
|
3452
|
+
function w() {
|
|
3453
|
+
i.value.length !== 0 && (o.value--, o.value < 0 && (o.value = i.value.length - 1), y());
|
|
3460
3454
|
}
|
|
3461
|
-
function
|
|
3462
|
-
i.value.length !== 0 && (o.value++, o.value > i.value.length - 1 && (o.value = 0),
|
|
3455
|
+
function C() {
|
|
3456
|
+
i.value.length !== 0 && (o.value++, o.value > i.value.length - 1 && (o.value = 0), y());
|
|
3463
3457
|
}
|
|
3464
3458
|
Yt(() => {
|
|
3465
|
-
a.value.length > 0 && (i.value = a.value), ct("Enter",
|
|
3459
|
+
a.value.length > 0 && (i.value = a.value), ct("Enter", b), ct("ArrowUp", w), ct("ArrowDown", C);
|
|
3466
3460
|
});
|
|
3467
3461
|
function u(s) {
|
|
3468
3462
|
o.value = s;
|
|
3469
3463
|
}
|
|
3470
|
-
function
|
|
3471
|
-
s.stopPropagation(), e.keyword ? i.value.splice(
|
|
3464
|
+
function p(s, h) {
|
|
3465
|
+
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
3466
|
}
|
|
3473
|
-
const
|
|
3467
|
+
const S = (s) => q(`${e.className}${s ? `-${s}` : ""}`, e.hashId);
|
|
3474
3468
|
return () => t(J, null, [i.value.length > 0 ? t(J, null, [a.value.length > 0 && !e.keyword && t("div", {
|
|
3475
|
-
class:
|
|
3469
|
+
class: S("panel-title")
|
|
3476
3470
|
}, [U("搜索历史")]), t("div", {
|
|
3477
|
-
class:
|
|
3478
|
-
}, [
|
|
3479
|
-
var
|
|
3471
|
+
class: S("panel-list")
|
|
3472
|
+
}, [ei(i.value, "path").map((s, h) => {
|
|
3473
|
+
var f, x, I, F;
|
|
3480
3474
|
return t("div", {
|
|
3481
3475
|
key: s.name,
|
|
3482
|
-
class:
|
|
3483
|
-
"data-search-item":
|
|
3484
|
-
onClick: () =>
|
|
3485
|
-
onMouseenter: () => u(
|
|
3476
|
+
class: S(q("panel-item", h === o.value && "active")),
|
|
3477
|
+
"data-search-item": h,
|
|
3478
|
+
onClick: () => b(),
|
|
3479
|
+
onMouseenter: () => u(h)
|
|
3486
3480
|
}, [t("div", {
|
|
3487
|
-
class:
|
|
3481
|
+
class: S("panel-item-left")
|
|
3488
3482
|
}, [t(Ze, te(s.meta || {}, {
|
|
3489
|
-
icon: ((
|
|
3490
|
-
classNames:
|
|
3491
|
-
}), null), (F = (
|
|
3483
|
+
icon: ((f = s.meta) == null ? void 0 : f.icon) || t(ka, null, null),
|
|
3484
|
+
classNames: S("panel-icon")
|
|
3485
|
+
}), null), (F = (I = (x = s.meta) == null ? void 0 : x.title) == null ? void 0 : I.split("**")) == null ? void 0 : F.map((R, B) => {
|
|
3492
3486
|
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(
|
|
3487
|
+
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
3488
|
}), t("span", null, null)]), t(ot, {
|
|
3495
|
-
onClick: (R) =>
|
|
3489
|
+
onClick: (R) => p(R, h)
|
|
3496
3490
|
}, null)]);
|
|
3497
|
-
})])]) : t(
|
|
3498
|
-
className:
|
|
3491
|
+
})])]) : t(ai, {
|
|
3492
|
+
className: S("result"),
|
|
3499
3493
|
value: e.keyword
|
|
3500
3494
|
}, null)]);
|
|
3501
3495
|
}
|
|
3502
|
-
}),
|
|
3496
|
+
}), ii = ({
|
|
3503
3497
|
className: e,
|
|
3504
3498
|
hashId: n
|
|
3505
3499
|
}) => t("div", {
|
|
3506
3500
|
class: q(`${e}-footer`, n)
|
|
3507
3501
|
}, [t("div", {
|
|
3508
3502
|
class: q(`${e}-footer-icon`, n)
|
|
3509
|
-
}, [t(
|
|
3503
|
+
}, [t(Pa, null, null), U("选择")]), t("div", {
|
|
3510
3504
|
class: q(`${e}-footer-icon`, n)
|
|
3511
3505
|
}, [t(zt, null, null), t(zt, {
|
|
3512
3506
|
rotate: 180
|
|
3513
|
-
}, null), U("导航")])]),
|
|
3507
|
+
}, null), U("导航")])]), li = /* @__PURE__ */ E({
|
|
3514
3508
|
name: "SearchPageInput",
|
|
3515
3509
|
props: {
|
|
3516
3510
|
...kt,
|
|
@@ -3530,11 +3524,11 @@ const ai = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
|
|
|
3530
3524
|
}), {
|
|
3531
3525
|
wrapSSR: a,
|
|
3532
3526
|
hashId: o
|
|
3533
|
-
} =
|
|
3527
|
+
} = 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
3528
|
var u;
|
|
3535
|
-
return It(e.dataSource || ((u =
|
|
3529
|
+
return It(e.dataSource || ((u = y == null ? void 0 : y.menuData) == null ? void 0 : u.value));
|
|
3536
3530
|
});
|
|
3537
|
-
mt(
|
|
3531
|
+
mt(m, () => {
|
|
3538
3532
|
e.disabeldShortKey || c(!0);
|
|
3539
3533
|
}), mt(r, () => {
|
|
3540
3534
|
pt(() => {
|
|
@@ -3542,14 +3536,14 @@ const ai = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
|
|
|
3542
3536
|
(u = d.value) == null || u.focus();
|
|
3543
3537
|
});
|
|
3544
3538
|
});
|
|
3545
|
-
const
|
|
3539
|
+
const C = () => {
|
|
3546
3540
|
c(!1), i.value = "";
|
|
3547
3541
|
};
|
|
3548
3542
|
return () => {
|
|
3549
3543
|
const u = {
|
|
3550
3544
|
className: `${n}`,
|
|
3551
3545
|
hashId: o.value
|
|
3552
|
-
},
|
|
3546
|
+
}, p = `${n}-modal`;
|
|
3553
3547
|
return a(t(J, null, [t("div", {
|
|
3554
3548
|
class: q(n, o.value),
|
|
3555
3549
|
onClick: () => c(!0)
|
|
@@ -3558,7 +3552,7 @@ const ai = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
|
|
|
3558
3552
|
}, [U("搜索")]), t("span", {
|
|
3559
3553
|
class: q(`${n}-word-icon`, o.value)
|
|
3560
3554
|
}, [U("⌘ "), t("kbd", null, [U("K")])])]), t(Ka, {
|
|
3561
|
-
class: q(`${
|
|
3555
|
+
class: q(`${p}`, o.value),
|
|
3562
3556
|
width: 600,
|
|
3563
3557
|
scrollProps: {
|
|
3564
3558
|
maxHeight: 400,
|
|
@@ -3576,24 +3570,24 @@ const ai = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
|
|
|
3576
3570
|
placeholder: "搜索导航菜单",
|
|
3577
3571
|
value: i.value,
|
|
3578
3572
|
prefix: t(Dt, null, null),
|
|
3579
|
-
onChange: (
|
|
3573
|
+
onChange: (S) => l(S.target.value)
|
|
3580
3574
|
}, null),
|
|
3581
3575
|
open: r.value,
|
|
3582
|
-
footer: t(
|
|
3583
|
-
className:
|
|
3576
|
+
footer: t(ii, {
|
|
3577
|
+
className: p,
|
|
3584
3578
|
hashId: o.value
|
|
3585
3579
|
}, null),
|
|
3586
|
-
onCancel: () =>
|
|
3580
|
+
onCancel: () => C()
|
|
3587
3581
|
}, {
|
|
3588
|
-
default: () => [t(
|
|
3582
|
+
default: () => [t(oi, te(u, {
|
|
3589
3583
|
keyword: i.value,
|
|
3590
|
-
dataSource:
|
|
3591
|
-
onClose: () =>
|
|
3584
|
+
dataSource: w.value,
|
|
3585
|
+
onClose: () => C()
|
|
3592
3586
|
}), null)]
|
|
3593
3587
|
})]));
|
|
3594
3588
|
};
|
|
3595
3589
|
}
|
|
3596
|
-
}),
|
|
3590
|
+
}), ri = (e) => {
|
|
3597
3591
|
const { dark: n } = ve(e), a = nt(e, "header");
|
|
3598
3592
|
return {
|
|
3599
3593
|
[`${e.componentCls}`]: {
|
|
@@ -3641,7 +3635,7 @@ const ai = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
|
|
|
3641
3635
|
borderRadius: e.borderRadius,
|
|
3642
3636
|
paddingInlineEnd: e.padding,
|
|
3643
3637
|
"&:hover": {
|
|
3644
|
-
backgroundColor:
|
|
3638
|
+
backgroundColor: fa(e.colorTextBase, 0.03)
|
|
3645
3639
|
}
|
|
3646
3640
|
},
|
|
3647
3641
|
"&-avatar": {
|
|
@@ -3659,13 +3653,13 @@ const ai = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
|
|
|
3659
3653
|
}
|
|
3660
3654
|
};
|
|
3661
3655
|
};
|
|
3662
|
-
function
|
|
3656
|
+
function si(e) {
|
|
3663
3657
|
return Pe("RightContent", (n) => {
|
|
3664
3658
|
const a = He(n);
|
|
3665
|
-
return [
|
|
3659
|
+
return [ri(a)];
|
|
3666
3660
|
}, e);
|
|
3667
3661
|
}
|
|
3668
|
-
const
|
|
3662
|
+
const Qr = /* @__PURE__ */ E({
|
|
3669
3663
|
name: "GlobalRightContent",
|
|
3670
3664
|
props: Bn(),
|
|
3671
3665
|
inheritAttrs: !1,
|
|
@@ -3676,15 +3670,15 @@ const Zr = /* @__PURE__ */ E({
|
|
|
3676
3670
|
const {
|
|
3677
3671
|
isFullscreen: a,
|
|
3678
3672
|
toggle: o
|
|
3679
|
-
} =
|
|
3673
|
+
} = Zn(), i = Oe(), l = ie(), r = en(), c = oe({
|
|
3680
3674
|
suffixCls: "global-header",
|
|
3681
3675
|
isPor: !0
|
|
3682
|
-
}), [
|
|
3683
|
-
wrapSSR:
|
|
3676
|
+
}), [y, b] = be(!1), {
|
|
3677
|
+
wrapSSR: m,
|
|
3684
3678
|
hashId: d
|
|
3685
|
-
} =
|
|
3679
|
+
} = si(c), [w, C] = be("auto"), {
|
|
3686
3680
|
isDark: u,
|
|
3687
|
-
toggleMode:
|
|
3681
|
+
toggleMode: p
|
|
3688
3682
|
} = Mt($(() => {
|
|
3689
3683
|
var R;
|
|
3690
3684
|
return Ue(e.dark) ? e.dark : (R = l == null ? void 0 : l.dark) == null ? void 0 : R.value;
|
|
@@ -3693,7 +3687,7 @@ const Zr = /* @__PURE__ */ E({
|
|
|
3693
3687
|
var B, P, M;
|
|
3694
3688
|
(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
3689
|
}
|
|
3696
|
-
}), [
|
|
3690
|
+
}), [S, s] = ze(!1, {
|
|
3697
3691
|
value: $(() => {
|
|
3698
3692
|
var R;
|
|
3699
3693
|
return ne(e.settingsOpen) ? e.settingsOpen : (R = l == null ? void 0 : l.settingsOpen) == null ? void 0 : R.value;
|
|
@@ -3702,61 +3696,61 @@ const Zr = /* @__PURE__ */ E({
|
|
|
3702
3696
|
var B, P;
|
|
3703
3697
|
(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
3698
|
}
|
|
3705
|
-
}),
|
|
3699
|
+
}), h = $(() => {
|
|
3706
3700
|
var R, B;
|
|
3707
3701
|
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
|
-
}),
|
|
3702
|
+
}), f = $(() => {
|
|
3709
3703
|
var R;
|
|
3710
3704
|
return Ue(e.dark) ? u.value : (R = i == null ? void 0 : i.dark) == null ? void 0 : R.value;
|
|
3711
|
-
}),
|
|
3712
|
-
|
|
3713
|
-
}, 160),
|
|
3705
|
+
}), x = Jn(async (R) => {
|
|
3706
|
+
C(R);
|
|
3707
|
+
}, 160), I = (R) => {
|
|
3714
3708
|
$n({
|
|
3715
3709
|
event: R,
|
|
3716
|
-
isDark:
|
|
3717
|
-
toggle:
|
|
3710
|
+
isDark: f,
|
|
3711
|
+
toggle: p
|
|
3718
3712
|
});
|
|
3719
3713
|
}, F = () => {
|
|
3720
|
-
e != null && e.onLogout && (
|
|
3714
|
+
e != null && e.onLogout && (b(!0), e.onLogout(() => b(!1)));
|
|
3721
3715
|
};
|
|
3722
3716
|
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
|
|
3717
|
+
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;
|
|
3718
|
+
return m(t("div", {
|
|
3725
3719
|
class: `${c}-right-content ${d.value}`.trim(),
|
|
3726
3720
|
style: {
|
|
3727
|
-
minWidth:
|
|
3721
|
+
minWidth: w.value,
|
|
3728
3722
|
height: "100%"
|
|
3729
3723
|
}
|
|
3730
3724
|
}, [t("div", {
|
|
3731
3725
|
style: {
|
|
3732
3726
|
height: "100%"
|
|
3733
3727
|
}
|
|
3734
|
-
}, [t(
|
|
3728
|
+
}, [t(Ua, {
|
|
3735
3729
|
key: "resize-observer",
|
|
3736
3730
|
onResize: ({
|
|
3737
3731
|
width: Q
|
|
3738
3732
|
}) => {
|
|
3739
|
-
|
|
3733
|
+
x(Q);
|
|
3740
3734
|
}
|
|
3741
3735
|
}, {
|
|
3742
3736
|
default: () => {
|
|
3743
3737
|
var Q;
|
|
3744
3738
|
return [t("div", {
|
|
3745
3739
|
class: `${c}-header-actions ${d.value}`.trim()
|
|
3746
|
-
}, [e.actions.search && !
|
|
3740
|
+
}, [e.actions.search && !h.value && t(li, {
|
|
3747
3741
|
dataSource: e.dataSource,
|
|
3748
3742
|
disabeldShortKey: (Q = e.shortsKey) == null ? void 0 : Q.disabeld
|
|
3749
3743
|
}, null), e.actions.theme && t("div", {
|
|
3750
3744
|
class: `${c}-header-actions-item ${d.value}`.trim()
|
|
3751
|
-
}, [t(
|
|
3745
|
+
}, [t(We, {
|
|
3752
3746
|
class: `${c}-header-actions-icon ${d.value}`.trim(),
|
|
3753
|
-
name:
|
|
3754
|
-
onClick: (_) =>
|
|
3755
|
-
}, null)]), e.actions.settings && !
|
|
3747
|
+
name: f.value ? "liangse" : "anhei",
|
|
3748
|
+
onClick: (_) => I(_)
|
|
3749
|
+
}, null)]), e.actions.settings && !h.value && t("div", {
|
|
3756
3750
|
class: `${c}-header-actions-item ${d.value}`.trim()
|
|
3757
3751
|
}, [t(cn, {
|
|
3758
|
-
onClick: () => s(!
|
|
3759
|
-
}, null)]), e.actions.fullScreen && !
|
|
3752
|
+
onClick: () => s(!S.value)
|
|
3753
|
+
}, null)]), e.actions.fullScreen && !h.value && t("div", {
|
|
3760
3754
|
class: `${c}-header-actions-item ${d.value}`.trim()
|
|
3761
3755
|
}, [t(N, {
|
|
3762
3756
|
onClick: () => o()
|
|
@@ -3773,9 +3767,9 @@ const Zr = /* @__PURE__ */ E({
|
|
|
3773
3767
|
default: () => [U("锁定屏幕")]
|
|
3774
3768
|
}), t(ye.Divider, null, null)]), t(Tt, {
|
|
3775
3769
|
key: "logout",
|
|
3776
|
-
icon: t(
|
|
3770
|
+
icon: t(za, null, null),
|
|
3777
3771
|
onClick: () => F(),
|
|
3778
|
-
disabled:
|
|
3772
|
+
disabled: y.value
|
|
3779
3773
|
}, {
|
|
3780
3774
|
default: () => [U("退出登录")]
|
|
3781
3775
|
})]
|
|
@@ -3795,7 +3789,7 @@ const Zr = /* @__PURE__ */ E({
|
|
|
3795
3789
|
})])]));
|
|
3796
3790
|
};
|
|
3797
3791
|
}
|
|
3798
|
-
}),
|
|
3792
|
+
}), ci = {
|
|
3799
3793
|
usePageCard: {
|
|
3800
3794
|
type: Boolean,
|
|
3801
3795
|
default: () => {
|
|
@@ -3836,8 +3830,8 @@ const Zr = /* @__PURE__ */ E({
|
|
|
3836
3830
|
},
|
|
3837
3831
|
contentWide: V.bool.def(!1),
|
|
3838
3832
|
loading: V.bool.def(!1),
|
|
3839
|
-
...
|
|
3840
|
-
},
|
|
3833
|
+
...ci
|
|
3834
|
+
}, ui = (e) => ({
|
|
3841
3835
|
[e.componentCls]: {
|
|
3842
3836
|
background: e.colorBgContainer,
|
|
3843
3837
|
padding: `${e.paddingLG}px`,
|
|
@@ -3848,7 +3842,7 @@ const Zr = /* @__PURE__ */ E({
|
|
|
3848
3842
|
marginTop: "8px"
|
|
3849
3843
|
}
|
|
3850
3844
|
}
|
|
3851
|
-
}),
|
|
3845
|
+
}), di = /* @__PURE__ */ E({
|
|
3852
3846
|
name: "ProPageHeader",
|
|
3853
3847
|
props: {
|
|
3854
3848
|
content: bt.contentRender,
|
|
@@ -3861,35 +3855,35 @@ const Zr = /* @__PURE__ */ E({
|
|
|
3861
3855
|
}), {
|
|
3862
3856
|
wrapSSR: i,
|
|
3863
3857
|
hashId: l
|
|
3864
|
-
} = fe("ProPageHeader", [
|
|
3865
|
-
var
|
|
3866
|
-
const c = ((
|
|
3867
|
-
...
|
|
3858
|
+
} = fe("ProPageHeader", [ui], o), r = $(() => {
|
|
3859
|
+
var b;
|
|
3860
|
+
const c = ((b = n == null ? void 0 : n.breadcrumb) == null ? void 0 : b.value) || {}, y = (c.routes || []).map((m) => ({
|
|
3861
|
+
...m,
|
|
3868
3862
|
path: ht().uuid(10),
|
|
3869
|
-
link:
|
|
3863
|
+
link: m.path
|
|
3870
3864
|
}));
|
|
3871
3865
|
return {
|
|
3872
3866
|
...c,
|
|
3873
|
-
routes:
|
|
3867
|
+
routes: y,
|
|
3874
3868
|
itemRender: (c == null ? void 0 : c.itemRender) || (({
|
|
3875
|
-
route:
|
|
3876
|
-
}) =>
|
|
3877
|
-
to:
|
|
3869
|
+
route: m
|
|
3870
|
+
}) => m.link ? t(Ea, {
|
|
3871
|
+
to: m.link
|
|
3878
3872
|
}, {
|
|
3879
|
-
default: () => [
|
|
3880
|
-
}) :
|
|
3873
|
+
default: () => [m.breadcrumbName]
|
|
3874
|
+
}) : m.breadcrumbName)
|
|
3881
3875
|
};
|
|
3882
3876
|
});
|
|
3883
3877
|
return () => {
|
|
3884
3878
|
var c;
|
|
3885
3879
|
return i(t("div", {
|
|
3886
3880
|
class: [`${o}`, l.value, `${o}-has-breadcrumb`]
|
|
3887
|
-
}, [e.breadcrumb ? (c = e.breadcrumb) == null ? void 0 : c.call(e, r.value) : t(
|
|
3881
|
+
}, [e.breadcrumb ? (c = e.breadcrumb) == null ? void 0 : c.call(e, r.value) : t(Wn, r.value, null), Ne(e.content) && t("div", {
|
|
3888
3882
|
class: [`${o}-content`, l.value]
|
|
3889
3883
|
}, [e.content])]));
|
|
3890
3884
|
};
|
|
3891
3885
|
}
|
|
3892
|
-
}),
|
|
3886
|
+
}), mi = (e) => {
|
|
3893
3887
|
var o;
|
|
3894
3888
|
const n = (o = e.layout) == null ? void 0 : o.pageContainer, { layout: a } = ve(e);
|
|
3895
3889
|
return {
|
|
@@ -3927,18 +3921,18 @@ const Zr = /* @__PURE__ */ E({
|
|
|
3927
3921
|
}
|
|
3928
3922
|
};
|
|
3929
3923
|
};
|
|
3930
|
-
function
|
|
3924
|
+
function fi(e) {
|
|
3931
3925
|
return Pe("ProPageContainter", (n) => {
|
|
3932
3926
|
const a = He(n, {
|
|
3933
3927
|
gridContent: `${n.proComponentsCls}-grid-content`
|
|
3934
3928
|
});
|
|
3935
|
-
return [
|
|
3929
|
+
return [mi(a)];
|
|
3936
3930
|
}, e);
|
|
3937
3931
|
}
|
|
3938
|
-
function
|
|
3932
|
+
function hi(e) {
|
|
3939
3933
|
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Le(e);
|
|
3940
3934
|
}
|
|
3941
|
-
const
|
|
3935
|
+
const Zr = /* @__PURE__ */ E({
|
|
3942
3936
|
inheritAttrs: !1,
|
|
3943
3937
|
name: "GProPageContainer",
|
|
3944
3938
|
props: bt,
|
|
@@ -3950,43 +3944,43 @@ const Jr = /* @__PURE__ */ E({
|
|
|
3950
3944
|
const o = ie(), i = Rt(), l = Oe(), r = (o == null ? void 0 : o.getPrefixCls) || oe, c = r({
|
|
3951
3945
|
suffixCls: "page-container",
|
|
3952
3946
|
isPor: !0
|
|
3953
|
-
}),
|
|
3947
|
+
}), y = r({
|
|
3954
3948
|
suffixCls: "grid-content",
|
|
3955
3949
|
isPor: !0
|
|
3956
|
-
}),
|
|
3957
|
-
var
|
|
3958
|
-
return ((
|
|
3959
|
-
}),
|
|
3960
|
-
var
|
|
3961
|
-
return e.pageCardProps || ((
|
|
3950
|
+
}), b = $(() => {
|
|
3951
|
+
var I;
|
|
3952
|
+
return ((I = o == null ? void 0 : o.pageContainerProps) == null ? void 0 : I.value) || {};
|
|
3953
|
+
}), m = $(() => {
|
|
3954
|
+
var I;
|
|
3955
|
+
return e.pageCardProps || ((I = b.value) == null ? void 0 : I.pageCardProps);
|
|
3962
3956
|
}), 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;
|
|
3957
|
+
var I;
|
|
3958
|
+
return e.waterMarkProps || ((I = b.value) == null ? void 0 : I.waterMarkProps) || {};
|
|
3977
3959
|
}), w = $(() => {
|
|
3978
|
-
var
|
|
3979
|
-
return
|
|
3960
|
+
var I;
|
|
3961
|
+
return e.pageContentStyle || ((I = b.value) == null ? void 0 : I.pageContentStyle);
|
|
3962
|
+
}), C = $(() => {
|
|
3963
|
+
var I;
|
|
3964
|
+
return e.pageChildrenContentStyle || ((I = b.value) == null ? void 0 : I.pageChildrenContentStyle) || {};
|
|
3965
|
+
}), u = $(() => {
|
|
3966
|
+
var I;
|
|
3967
|
+
return e.contentWide || ((I = o == null ? void 0 : o.hasContentWide) == null ? void 0 : I.value);
|
|
3968
|
+
}), p = $(() => {
|
|
3969
|
+
var I, F;
|
|
3970
|
+
return ne(e.usePageCard) ? e.usePageCard : ne((I = b.value) == null ? void 0 : I.usePageCard) ? (F = b.value) == null ? void 0 : F.usePageCard : !0;
|
|
3971
|
+
}), S = $(() => {
|
|
3972
|
+
var I, F, R;
|
|
3973
|
+
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
3974
|
}), {
|
|
3981
3975
|
wrapSSR: s,
|
|
3982
|
-
hashId:
|
|
3983
|
-
} =
|
|
3976
|
+
hashId: h
|
|
3977
|
+
} = fi(c), f = () => {
|
|
3984
3978
|
var F, R, B, P;
|
|
3985
|
-
const
|
|
3979
|
+
const I = $e(n, e, "pageChildrenExtraRender");
|
|
3986
3980
|
return t("div", {
|
|
3987
|
-
class: `${c}-children-content ${
|
|
3988
|
-
style:
|
|
3989
|
-
}, [
|
|
3981
|
+
class: `${c}-children-content ${h.value}`,
|
|
3982
|
+
style: C.value
|
|
3983
|
+
}, [I, p.value ? t(Un, te(m.value ? ae(m.value, ["loading", "bodyStyle"]) : {}, {
|
|
3990
3984
|
style: u.value ? {
|
|
3991
3985
|
minHeight: "853px"
|
|
3992
3986
|
} : void 0,
|
|
@@ -3996,44 +3990,44 @@ const Jr = /* @__PURE__ */ E({
|
|
|
3996
3990
|
var M;
|
|
3997
3991
|
return [(M = n.default) == null ? void 0 : M.call(n)];
|
|
3998
3992
|
}
|
|
3999
|
-
}) : Ne(
|
|
4000
|
-
style: (F =
|
|
4001
|
-
marginBlockStart: `${(R =
|
|
3993
|
+
}) : Ne(I) ? t("div", {
|
|
3994
|
+
style: (F = S.value) != null && F.marginBlockPageContainerContent ? {
|
|
3995
|
+
marginBlockStart: `${(R = S.value) == null ? void 0 : R.marginBlockPageContainerContent}px`
|
|
4002
3996
|
} : void 0
|
|
4003
3997
|
}, [(B = n.default) == null ? void 0 : B.call(n)]) : (P = n.default) == null ? void 0 : P.call(n)]);
|
|
4004
|
-
},
|
|
3998
|
+
}, x = () => {
|
|
4005
3999
|
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
|
-
}) :
|
|
4000
|
+
let I;
|
|
4001
|
+
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 : {
|
|
4002
|
+
default: () => [I]
|
|
4003
|
+
}) : f()]);
|
|
4010
4004
|
};
|
|
4011
4005
|
return () => {
|
|
4012
4006
|
var B, P;
|
|
4013
|
-
const
|
|
4007
|
+
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
4008
|
return s(t("div", {
|
|
4015
4009
|
style: a.style,
|
|
4016
4010
|
class: {
|
|
4017
|
-
[`${
|
|
4011
|
+
[`${h.value}`]: !0,
|
|
4018
4012
|
[`${c}`]: !0
|
|
4019
4013
|
}
|
|
4020
4014
|
}, [e.loading && t("div", {
|
|
4021
|
-
class: q(`${c}-blur`,
|
|
4015
|
+
class: q(`${c}-blur`, h.value)
|
|
4022
4016
|
}, [t(Ct, {
|
|
4023
4017
|
indicator: (P = i == null ? void 0 : i.indicator) == null ? void 0 : P.value
|
|
4024
|
-
}, null)]), !u.value &&
|
|
4018
|
+
}, null)]), !u.value && I !== !1 && (I || t(di, {
|
|
4025
4019
|
style: e.pageHeaderStyle,
|
|
4026
4020
|
breadcrumb: F,
|
|
4027
4021
|
content: R
|
|
4028
4022
|
}, null)), t("div", {
|
|
4029
|
-
class: [
|
|
4023
|
+
class: [y, h.value]
|
|
4030
4024
|
}, [t("div", {
|
|
4031
|
-
class: `${
|
|
4032
|
-
style:
|
|
4033
|
-
}, [
|
|
4025
|
+
class: `${y}-children ${h.value}`,
|
|
4026
|
+
style: w.value
|
|
4027
|
+
}, [x()])])]));
|
|
4034
4028
|
};
|
|
4035
4029
|
}
|
|
4036
|
-
}), vt = Object.keys(Y).filter((e) => e !== "title"),
|
|
4030
|
+
}), vt = Object.keys(Y).filter((e) => e !== "title"), gi = [{
|
|
4037
4031
|
value: "light",
|
|
4038
4032
|
label: () => t("div", {
|
|
4039
4033
|
style: {
|
|
@@ -4041,7 +4035,7 @@ const Jr = /* @__PURE__ */ E({
|
|
|
4041
4035
|
alignItems: "center",
|
|
4042
4036
|
gap: "6px"
|
|
4043
4037
|
}
|
|
4044
|
-
}, [t(
|
|
4038
|
+
}, [t(We, {
|
|
4045
4039
|
name: "liangse"
|
|
4046
4040
|
}, null), U("亮色")])
|
|
4047
4041
|
}, {
|
|
@@ -4052,7 +4046,7 @@ const Jr = /* @__PURE__ */ E({
|
|
|
4052
4046
|
alignItems: "center",
|
|
4053
4047
|
gap: "6px"
|
|
4054
4048
|
}
|
|
4055
|
-
}, [t(
|
|
4049
|
+
}, [t(We, {
|
|
4056
4050
|
name: "anhei"
|
|
4057
4051
|
}, null), U("深色")])
|
|
4058
4052
|
}, {
|
|
@@ -4063,7 +4057,7 @@ const Jr = /* @__PURE__ */ E({
|
|
|
4063
4057
|
alignItems: "center",
|
|
4064
4058
|
gap: "6px"
|
|
4065
4059
|
}
|
|
4066
|
-
}, [t(
|
|
4060
|
+
}, [t(Na, null, null), U("自动")])
|
|
4067
4061
|
}], kn = [
|
|
4068
4062
|
{
|
|
4069
4063
|
key: "light",
|
|
@@ -4092,13 +4086,13 @@ const Jr = /* @__PURE__ */ E({
|
|
|
4092
4086
|
}, {
|
|
4093
4087
|
key: "simple",
|
|
4094
4088
|
title: "简单菜单布局"
|
|
4095
|
-
}],
|
|
4089
|
+
}], yi = [{
|
|
4096
4090
|
key: "header",
|
|
4097
4091
|
title: "顶部主题"
|
|
4098
4092
|
}, {
|
|
4099
4093
|
key: "sider",
|
|
4100
4094
|
title: "左侧主题"
|
|
4101
|
-
}],
|
|
4095
|
+
}], bi = [{
|
|
4102
4096
|
key: "colorBgMenu",
|
|
4103
4097
|
name: "全部背景"
|
|
4104
4098
|
}, {
|
|
@@ -4119,7 +4113,7 @@ const Jr = /* @__PURE__ */ E({
|
|
|
4119
4113
|
}, {
|
|
4120
4114
|
key: "colorTextMenuSelected",
|
|
4121
4115
|
name: "菜单文字选中颜色"
|
|
4122
|
-
}],
|
|
4116
|
+
}], vi = [{
|
|
4123
4117
|
label: "fixedHeader",
|
|
4124
4118
|
title: "固定 Header"
|
|
4125
4119
|
}, {
|
|
@@ -4128,13 +4122,13 @@ const Jr = /* @__PURE__ */ E({
|
|
|
4128
4122
|
}, {
|
|
4129
4123
|
label: "splitMenus",
|
|
4130
4124
|
title: "自动分割菜单"
|
|
4131
|
-
}],
|
|
4125
|
+
}], pi = [{
|
|
4132
4126
|
label: "showTabsBar",
|
|
4133
4127
|
title: "多标签"
|
|
4134
4128
|
}, {
|
|
4135
4129
|
label: "fixedTabsBar",
|
|
4136
4130
|
title: "固定多标签"
|
|
4137
|
-
}],
|
|
4131
|
+
}], Ci = (e) => {
|
|
4138
4132
|
const { dark: n } = ve(e);
|
|
4139
4133
|
return {
|
|
4140
4134
|
[e.componentCls]: {
|
|
@@ -4356,7 +4350,7 @@ const Jr = /* @__PURE__ */ E({
|
|
|
4356
4350
|
}))]);
|
|
4357
4351
|
};
|
|
4358
4352
|
}
|
|
4359
|
-
}),
|
|
4353
|
+
}), xi = /* @__PURE__ */ E({
|
|
4360
4354
|
name: "ThemeColor",
|
|
4361
4355
|
inheritAttrs: !1,
|
|
4362
4356
|
props: {
|
|
@@ -4441,7 +4435,7 @@ const Jr = /* @__PURE__ */ E({
|
|
|
4441
4435
|
}]
|
|
4442
4436
|
}, null);
|
|
4443
4437
|
}
|
|
4444
|
-
}),
|
|
4438
|
+
}), Si = (e) => ({
|
|
4445
4439
|
[e.componentCls]: {
|
|
4446
4440
|
padding: e.marginLG,
|
|
4447
4441
|
"*": {
|
|
@@ -4475,19 +4469,19 @@ const Jr = /* @__PURE__ */ E({
|
|
|
4475
4469
|
}
|
|
4476
4470
|
}
|
|
4477
4471
|
});
|
|
4478
|
-
function
|
|
4472
|
+
function wi(e) {
|
|
4479
4473
|
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Le(e);
|
|
4480
4474
|
}
|
|
4481
4475
|
const Pn = [];
|
|
4482
|
-
|
|
4483
|
-
|
|
4476
|
+
ha.forEach((e) => {
|
|
4477
|
+
ga.forEach((n) => {
|
|
4484
4478
|
Pn.push({
|
|
4485
4479
|
key: `${e}:${n}`,
|
|
4486
4480
|
token: {}
|
|
4487
4481
|
});
|
|
4488
4482
|
});
|
|
4489
4483
|
});
|
|
4490
|
-
const
|
|
4484
|
+
const Ii = /* @__PURE__ */ E({
|
|
4491
4485
|
name: "ThemeEditor",
|
|
4492
4486
|
props: {
|
|
4493
4487
|
theme: Ae.theme,
|
|
@@ -4503,63 +4497,63 @@ const Ri = /* @__PURE__ */ E({
|
|
|
4503
4497
|
}), {
|
|
4504
4498
|
wrapSSR: l,
|
|
4505
4499
|
hashId: r
|
|
4506
|
-
} = fe("ProThemeEditor", [
|
|
4500
|
+
} = fe("ProThemeEditor", [Si], i), {
|
|
4507
4501
|
token: c
|
|
4508
|
-
} = Oe(),
|
|
4509
|
-
var
|
|
4510
|
-
return (
|
|
4502
|
+
} = Oe(), y = $(() => {
|
|
4503
|
+
var C;
|
|
4504
|
+
return (C = c.value) == null ? void 0 : C.layout;
|
|
4511
4505
|
});
|
|
4512
|
-
function
|
|
4506
|
+
function b(C) {
|
|
4513
4507
|
return Re(Pn).map((u) => {
|
|
4514
|
-
var
|
|
4515
|
-
const
|
|
4516
|
-
if (u.token =
|
|
4508
|
+
var S;
|
|
4509
|
+
const p = at(C, c.value, u.key);
|
|
4510
|
+
if (u.token = p, p)
|
|
4517
4511
|
for (const s in u.token) {
|
|
4518
|
-
const
|
|
4519
|
-
u.token[s] =
|
|
4512
|
+
const h = (S = y.value) == null ? void 0 : S[C], f = (h == null ? void 0 : h[s]) || u.token[s];
|
|
4513
|
+
u.token[s] = f;
|
|
4520
4514
|
}
|
|
4521
4515
|
return u;
|
|
4522
4516
|
}).filter((u) => u.token);
|
|
4523
4517
|
}
|
|
4524
|
-
const
|
|
4525
|
-
header:
|
|
4526
|
-
sider:
|
|
4518
|
+
const m = Be({
|
|
4519
|
+
header: b("header"),
|
|
4520
|
+
sider: b("sider")
|
|
4527
4521
|
});
|
|
4528
4522
|
ce([() => {
|
|
4529
|
-
var
|
|
4530
|
-
return (u = (
|
|
4523
|
+
var C, u;
|
|
4524
|
+
return (u = (C = c.value) == null ? void 0 : C.layout) == null ? void 0 : u.header;
|
|
4531
4525
|
}, () => {
|
|
4532
|
-
var
|
|
4533
|
-
return (u = (
|
|
4526
|
+
var C, u;
|
|
4527
|
+
return (u = (C = c.value) == null ? void 0 : C.layout) == null ? void 0 : u.sider;
|
|
4534
4528
|
}], () => {
|
|
4535
|
-
|
|
4529
|
+
m.sider = b("sider"), m.header = b("header");
|
|
4536
4530
|
}, {
|
|
4537
4531
|
deep: 1
|
|
4538
4532
|
});
|
|
4539
4533
|
const d = $(() => {
|
|
4540
4534
|
var u;
|
|
4541
|
-
const
|
|
4542
|
-
var
|
|
4543
|
-
return
|
|
4535
|
+
const C = (u = m[a.value].find((p) => {
|
|
4536
|
+
var S;
|
|
4537
|
+
return p.key === ((S = y.value) == null ? void 0 : S.key);
|
|
4544
4538
|
})) == null ? void 0 : u.token;
|
|
4545
|
-
return Object.keys(
|
|
4539
|
+
return Object.keys(C || {}).map((p) => {
|
|
4546
4540
|
var s;
|
|
4547
4541
|
return {
|
|
4548
|
-
title: ((s =
|
|
4549
|
-
key:
|
|
4550
|
-
value: (
|
|
4542
|
+
title: ((s = bi.find((h) => h.key === p)) == null ? void 0 : s.name) || "",
|
|
4543
|
+
key: p,
|
|
4544
|
+
value: (C == null ? void 0 : C[p]) || ""
|
|
4551
4545
|
};
|
|
4552
4546
|
});
|
|
4553
|
-
}),
|
|
4554
|
-
var
|
|
4555
|
-
|
|
4547
|
+
}), w = (C, u) => {
|
|
4548
|
+
var p;
|
|
4549
|
+
m[a.value] = m[a.value].map((S) => {
|
|
4556
4550
|
var s;
|
|
4557
|
-
return
|
|
4558
|
-
}), (
|
|
4551
|
+
return S.key === ((s = y.value) == null ? void 0 : s.key) && (S.token[u] = C), S;
|
|
4552
|
+
}), (p = e.onChange) == null || p.call(e, C, a.value, u);
|
|
4559
4553
|
};
|
|
4560
4554
|
return () => {
|
|
4561
|
-
var u,
|
|
4562
|
-
let
|
|
4555
|
+
var u, p, S;
|
|
4556
|
+
let C;
|
|
4563
4557
|
return l(t("div", {
|
|
4564
4558
|
class: [i, r.value]
|
|
4565
4559
|
}, [t("h3", {
|
|
@@ -4570,10 +4564,10 @@ const Ri = /* @__PURE__ */ E({
|
|
|
4570
4564
|
style: {
|
|
4571
4565
|
marginInline: "8px"
|
|
4572
4566
|
}
|
|
4573
|
-
}, [U("/")]), t("span", null, [(
|
|
4574
|
-
var
|
|
4575
|
-
return s.key === ((
|
|
4576
|
-
})) == null ? void 0 :
|
|
4567
|
+
}, [U("/")]), t("span", null, [(p = Fn.find((s) => {
|
|
4568
|
+
var h;
|
|
4569
|
+
return s.key === ((h = e.settingValue) == null ? void 0 : h.layout);
|
|
4570
|
+
})) == null ? void 0 : p.title])])]), t("div", {
|
|
4577
4571
|
class: [`${i}-content`, r.value]
|
|
4578
4572
|
}, [t(Ie, {
|
|
4579
4573
|
class: `${i}-list ${r.value}`.trim(),
|
|
@@ -4593,7 +4587,7 @@ const Ri = /* @__PURE__ */ E({
|
|
|
4593
4587
|
dataSource: [{
|
|
4594
4588
|
title: "自定义主题色",
|
|
4595
4589
|
action: t(Nt, {
|
|
4596
|
-
value: (
|
|
4590
|
+
value: (S = e.settingValue) == null ? void 0 : S.primaryColor,
|
|
4597
4591
|
size: "small",
|
|
4598
4592
|
onChangeComplete: (s) => e.onChange && e.onChange(s.toCssString(), "primaryColor")
|
|
4599
4593
|
}, null)
|
|
@@ -4601,7 +4595,7 @@ const Ri = /* @__PURE__ */ E({
|
|
|
4601
4595
|
}, null), t(xt, {
|
|
4602
4596
|
activeKey: a.value,
|
|
4603
4597
|
onChange: (s) => o(s)
|
|
4604
|
-
},
|
|
4598
|
+
}, wi(C = yi.map((s) => t(_n, {
|
|
4605
4599
|
key: s.key,
|
|
4606
4600
|
tab: s.title
|
|
4607
4601
|
}, {
|
|
@@ -4610,31 +4604,31 @@ const Ri = /* @__PURE__ */ E({
|
|
|
4610
4604
|
split: !1,
|
|
4611
4605
|
size: "small",
|
|
4612
4606
|
renderItem: ({
|
|
4613
|
-
item:
|
|
4607
|
+
item: h
|
|
4614
4608
|
}) => t(Ie.Item, {
|
|
4615
|
-
actions: [
|
|
4609
|
+
actions: [h.action]
|
|
4616
4610
|
}, {
|
|
4617
4611
|
default: () => [t("span", {
|
|
4618
4612
|
style: {
|
|
4619
|
-
opacity:
|
|
4613
|
+
opacity: h.disabled ? 0.5 : 1
|
|
4620
4614
|
}
|
|
4621
|
-
}, [
|
|
4615
|
+
}, [h.title])]
|
|
4622
4616
|
}),
|
|
4623
|
-
dataSource: d.value.map((
|
|
4624
|
-
...
|
|
4617
|
+
dataSource: d.value.map((h) => ({
|
|
4618
|
+
...h,
|
|
4625
4619
|
action: t(Nt, {
|
|
4626
|
-
value:
|
|
4620
|
+
value: h.value,
|
|
4627
4621
|
size: "small",
|
|
4628
|
-
onChangeComplete: (
|
|
4622
|
+
onChangeComplete: (f) => w(f.toCssString(), h.key)
|
|
4629
4623
|
}, null)
|
|
4630
4624
|
}))
|
|
4631
4625
|
}, null)]
|
|
4632
|
-
}))) ?
|
|
4633
|
-
default: () => [
|
|
4626
|
+
}))) ? C : {
|
|
4627
|
+
default: () => [C]
|
|
4634
4628
|
})])]));
|
|
4635
4629
|
};
|
|
4636
4630
|
}
|
|
4637
|
-
}),
|
|
4631
|
+
}), Ri = (e) => ({
|
|
4638
4632
|
[e.componentCls]: {
|
|
4639
4633
|
padding: e.marginLG,
|
|
4640
4634
|
"&-title": {
|
|
@@ -4670,7 +4664,7 @@ function _t(e) {
|
|
|
4670
4664
|
}
|
|
4671
4665
|
const {
|
|
4672
4666
|
preset: Xt
|
|
4673
|
-
} = Ot,
|
|
4667
|
+
} = Ot, $i = /* @__PURE__ */ E({
|
|
4674
4668
|
name: "OthersChange",
|
|
4675
4669
|
props: {
|
|
4676
4670
|
prefixCls: V.string,
|
|
@@ -4684,9 +4678,9 @@ const {
|
|
|
4684
4678
|
}), {
|
|
4685
4679
|
wrapSSR: a,
|
|
4686
4680
|
hashId: o
|
|
4687
|
-
} = fe("SettingsDrawOthers", [
|
|
4681
|
+
} = fe("SettingsDrawOthers", [Ri], n);
|
|
4688
4682
|
return () => {
|
|
4689
|
-
var l, r, c,
|
|
4683
|
+
var l, r, c, y, b, m, d, w, C, u, p, S, s, h;
|
|
4690
4684
|
let i;
|
|
4691
4685
|
return a(t("div", {
|
|
4692
4686
|
class: [n, o.value]
|
|
@@ -4697,19 +4691,19 @@ const {
|
|
|
4697
4691
|
split: !1,
|
|
4698
4692
|
size: "small",
|
|
4699
4693
|
renderItem: ({
|
|
4700
|
-
item:
|
|
4694
|
+
item: f
|
|
4701
4695
|
}) => t(et, {
|
|
4702
|
-
title:
|
|
4696
|
+
title: f.disabled ? f.disabledReason : "",
|
|
4703
4697
|
placement: "left"
|
|
4704
4698
|
}, {
|
|
4705
4699
|
default: () => [t(Ie.Item, {
|
|
4706
|
-
actions: [
|
|
4700
|
+
actions: [f.action]
|
|
4707
4701
|
}, {
|
|
4708
4702
|
default: () => [t("span", {
|
|
4709
4703
|
style: {
|
|
4710
|
-
opacity:
|
|
4704
|
+
opacity: f.disabled ? 0.5 : 1
|
|
4711
4705
|
}
|
|
4712
|
-
}, [
|
|
4706
|
+
}, [f.title])]
|
|
4713
4707
|
})]
|
|
4714
4708
|
}),
|
|
4715
4709
|
dataSource: [{
|
|
@@ -4717,38 +4711,38 @@ const {
|
|
|
4717
4711
|
action: t(Zt, {
|
|
4718
4712
|
checked: !((r = (l = e.settingValue) == null ? void 0 : l.animate) != null && r.disabled),
|
|
4719
4713
|
size: "small",
|
|
4720
|
-
onChange: (
|
|
4721
|
-
var
|
|
4722
|
-
return (
|
|
4714
|
+
onChange: (f) => {
|
|
4715
|
+
var x;
|
|
4716
|
+
return (x = e.onChange) == null ? void 0 : x.call(e, "animate", "disabled", !f);
|
|
4723
4717
|
}
|
|
4724
4718
|
}, null)
|
|
4725
4719
|
}, {
|
|
4726
4720
|
title: "动画效果",
|
|
4727
|
-
disabled: (
|
|
4721
|
+
disabled: (y = (c = e.settingValue) == null ? void 0 : c.animate) == null ? void 0 : y.disabled,
|
|
4728
4722
|
action: t(Xe, {
|
|
4729
|
-
value: (
|
|
4723
|
+
value: (m = (b = e.settingValue) == null ? void 0 : b.animate) == null ? void 0 : m.name,
|
|
4730
4724
|
style: {
|
|
4731
4725
|
width: "100px"
|
|
4732
4726
|
},
|
|
4733
4727
|
size: "small",
|
|
4734
|
-
disabled: (
|
|
4735
|
-
getPopupContainer: (
|
|
4736
|
-
onChange: (
|
|
4737
|
-
var
|
|
4738
|
-
return (
|
|
4728
|
+
disabled: (w = (d = e.settingValue) == null ? void 0 : d.animate) == null ? void 0 : w.disabled,
|
|
4729
|
+
getPopupContainer: (f) => f && f.parentNode ? f.parentNode : f,
|
|
4730
|
+
onChange: (f) => {
|
|
4731
|
+
var x;
|
|
4732
|
+
return (x = e.onChange) == null ? void 0 : x.call(e, "animate", "name", f);
|
|
4739
4733
|
}
|
|
4740
|
-
}, _t(i = Xt.map((
|
|
4741
|
-
value:
|
|
4734
|
+
}, _t(i = Xt.map((f) => t(Xe.Option, {
|
|
4735
|
+
value: f.name
|
|
4742
4736
|
}, {
|
|
4743
|
-
default: () => [
|
|
4737
|
+
default: () => [f.alias]
|
|
4744
4738
|
}))) ? i : {
|
|
4745
4739
|
default: () => [i]
|
|
4746
4740
|
})
|
|
4747
4741
|
}, {
|
|
4748
4742
|
title: "动画方向",
|
|
4749
|
-
disabled: (u = (
|
|
4743
|
+
disabled: (u = (C = e.settingValue) == null ? void 0 : C.animate) == null ? void 0 : u.disabled,
|
|
4750
4744
|
action: t(Xe, {
|
|
4751
|
-
value: (
|
|
4745
|
+
value: (S = (p = e.settingValue) == null ? void 0 : p.animate) == null ? void 0 : S.direction,
|
|
4752
4746
|
style: {
|
|
4753
4747
|
width: "100px"
|
|
4754
4748
|
},
|
|
@@ -4756,22 +4750,22 @@ const {
|
|
|
4756
4750
|
dropdownStyle: {
|
|
4757
4751
|
minWidth: "120px"
|
|
4758
4752
|
},
|
|
4759
|
-
disabled: (
|
|
4760
|
-
getPopupContainer: (
|
|
4761
|
-
onChange: (
|
|
4762
|
-
var
|
|
4763
|
-
return (
|
|
4753
|
+
disabled: (h = (s = e.settingValue) == null ? void 0 : s.animate) == null ? void 0 : h.disabled,
|
|
4754
|
+
getPopupContainer: (f) => f && f.parentNode ? f.parentNode : f,
|
|
4755
|
+
onChange: (f) => {
|
|
4756
|
+
var x;
|
|
4757
|
+
return (x = e.onChange) == null ? void 0 : x.call(e, "animate", "direction", f);
|
|
4764
4758
|
}
|
|
4765
4759
|
}, {
|
|
4766
4760
|
default: () => {
|
|
4767
|
-
var
|
|
4768
|
-
return [(
|
|
4769
|
-
var
|
|
4770
|
-
return
|
|
4771
|
-
})) == null ? void 0 :
|
|
4772
|
-
value:
|
|
4773
|
-
}, _t(
|
|
4774
|
-
default: () => [
|
|
4761
|
+
var f;
|
|
4762
|
+
return [(f = Xt.find((x) => {
|
|
4763
|
+
var I, F;
|
|
4764
|
+
return x.name === ((F = (I = e.settingValue) == null ? void 0 : I.animate) == null ? void 0 : F.name);
|
|
4765
|
+
})) == null ? void 0 : f.directions.map((x) => t(Xe.Option, {
|
|
4766
|
+
value: x
|
|
4767
|
+
}, _t(x) ? x : {
|
|
4768
|
+
default: () => [x]
|
|
4775
4769
|
}))];
|
|
4776
4770
|
}
|
|
4777
4771
|
})
|
|
@@ -4780,11 +4774,11 @@ const {
|
|
|
4780
4774
|
};
|
|
4781
4775
|
}
|
|
4782
4776
|
}), {
|
|
4783
|
-
preset:
|
|
4784
|
-
} = Ot,
|
|
4777
|
+
preset: Bi
|
|
4778
|
+
} = Ot, Li = {
|
|
4785
4779
|
color: "#fff",
|
|
4786
4780
|
fontSize: 20
|
|
4787
|
-
}, Vt = (e) =>
|
|
4781
|
+
}, Vt = (e) => sa() ? {
|
|
4788
4782
|
...ae(Y, vt),
|
|
4789
4783
|
...e || {}
|
|
4790
4784
|
} : Re(Y), Ee = (e, {
|
|
@@ -4798,7 +4792,7 @@ const {
|
|
|
4798
4792
|
}, [t("h3", {
|
|
4799
4793
|
class: `${e.prefixCls}-body-title ${e.hashId}`.trim()
|
|
4800
4794
|
}, [e.title]), (a = n.default) == null ? void 0 : a.call(n)]);
|
|
4801
|
-
},
|
|
4795
|
+
}, Oi = () => ({
|
|
4802
4796
|
...$t,
|
|
4803
4797
|
open: {
|
|
4804
4798
|
type: Boolean,
|
|
@@ -4819,16 +4813,16 @@ const {
|
|
|
4819
4813
|
},
|
|
4820
4814
|
colorList: {
|
|
4821
4815
|
type: [Boolean, Array],
|
|
4822
|
-
default: () =>
|
|
4816
|
+
default: () => ya
|
|
4823
4817
|
},
|
|
4824
4818
|
onChange: Function,
|
|
4825
4819
|
onOpenChange: Function,
|
|
4826
4820
|
"onUpdate:open": Function,
|
|
4827
4821
|
onDarkChange: Ae.onDarkChange,
|
|
4828
4822
|
onLayoutChange: Function
|
|
4829
|
-
}),
|
|
4823
|
+
}), Jr = /* @__PURE__ */ E({
|
|
4830
4824
|
name: "SettingDrawer",
|
|
4831
|
-
props:
|
|
4825
|
+
props: Oi(),
|
|
4832
4826
|
emits: ["change", "layoutChange", "openChange", "update:open", "update:dark", "darkChange"],
|
|
4833
4827
|
setup(e) {
|
|
4834
4828
|
const n = Oe(), a = ie(), o = oe({
|
|
@@ -4840,7 +4834,7 @@ const {
|
|
|
4840
4834
|
}), {}), {
|
|
4841
4835
|
wrapSSR: r,
|
|
4842
4836
|
hashId: c
|
|
4843
|
-
} = fe("ProSettingDraw", [
|
|
4837
|
+
} = fe("ProSettingDraw", [Ci], o), y = me(!1), [b, m] = ze(!1, {
|
|
4844
4838
|
value: $(() => {
|
|
4845
4839
|
var L;
|
|
4846
4840
|
return ne(e.open) ? e.open : (L = a == null ? void 0 : a.settingsOpen) == null ? void 0 : L.value;
|
|
@@ -4851,56 +4845,56 @@ const {
|
|
|
4851
4845
|
}
|
|
4852
4846
|
}), {
|
|
4853
4847
|
innerDark: d,
|
|
4854
|
-
isDark:
|
|
4855
|
-
toggleMode:
|
|
4848
|
+
isDark: w,
|
|
4849
|
+
toggleMode: C
|
|
4856
4850
|
} = Mt($(() => {
|
|
4857
4851
|
var L;
|
|
4858
4852
|
return Ue(e.dark) ? e.dark : (L = a == null ? void 0 : a.dark) == null ? void 0 : L.value;
|
|
4859
4853
|
}), {
|
|
4860
4854
|
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), (
|
|
4855
|
+
var k, D, K;
|
|
4856
|
+
(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
4857
|
}
|
|
4864
|
-
}), [u,
|
|
4865
|
-
value:
|
|
4858
|
+
}), [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)), {
|
|
4859
|
+
value: f,
|
|
4866
4860
|
onChange: (L) => {
|
|
4867
4861
|
var k;
|
|
4868
4862
|
l.value = Ce(l.value, L), (k = e.onChange) == null || k.call(e, L);
|
|
4869
4863
|
}
|
|
4870
4864
|
}), F = $(() => {
|
|
4871
4865
|
var L;
|
|
4872
|
-
return Ue(e.dark) ?
|
|
4866
|
+
return Ue(e.dark) ? w.value : (L = n == null ? void 0 : n.dark) == null ? void 0 : L.value;
|
|
4873
4867
|
}), R = (L, k) => {
|
|
4874
4868
|
$n({
|
|
4875
4869
|
event: L,
|
|
4876
4870
|
isDark: F,
|
|
4877
|
-
toggle:
|
|
4871
|
+
toggle: C,
|
|
4878
4872
|
value: k
|
|
4879
4873
|
});
|
|
4880
4874
|
};
|
|
4881
4875
|
ce(() => e.storage, (L) => {
|
|
4882
|
-
L && (
|
|
4876
|
+
L && (h.value ? (Object.assign(i, {
|
|
4883
4877
|
dark: d.value,
|
|
4884
|
-
...Re(
|
|
4885
|
-
}),
|
|
4886
|
-
...
|
|
4878
|
+
...Re(x.value)
|
|
4879
|
+
}), ra(Me(l.value, "dark"), x.value) || I(Me(l.value, "dark")), R(null, l.value.dark)) : l.value = {
|
|
4880
|
+
...x.value,
|
|
4887
4881
|
dark: d.value
|
|
4888
4882
|
});
|
|
4889
4883
|
}, {
|
|
4890
4884
|
immediate: !0
|
|
4891
4885
|
});
|
|
4892
|
-
const B = $(() => e.colorList && tn(e.colorList) ? e.colorList : []), P = $(() =>
|
|
4886
|
+
const B = $(() => e.colorList && tn(e.colorList) ? e.colorList : []), P = $(() => zo(re(x))), {
|
|
4893
4887
|
copy: M,
|
|
4894
4888
|
copied: N,
|
|
4895
4889
|
isSupported: Q
|
|
4896
|
-
} =
|
|
4897
|
-
ce(
|
|
4898
|
-
|
|
4890
|
+
} = ea();
|
|
4891
|
+
ce(b, () => {
|
|
4892
|
+
y.value || (y.value = !0);
|
|
4899
4893
|
}), ce(() => {
|
|
4900
4894
|
var L;
|
|
4901
4895
|
return (L = a == null ? void 0 : a.settingsOpen) == null ? void 0 : L.value;
|
|
4902
4896
|
}, (L) => {
|
|
4903
|
-
ne(e.open) ||
|
|
4897
|
+
ne(e.open) || m(L);
|
|
4904
4898
|
}), ce(N, (L) => {
|
|
4905
4899
|
L && Xn.success("拷贝成功,请到 config/default/themeConfig.js 中替换默认配置");
|
|
4906
4900
|
}), ce(() => d.value, (L) => {
|
|
@@ -4908,33 +4902,33 @@ const {
|
|
|
4908
4902
|
});
|
|
4909
4903
|
const _ = (L, k, D) => {
|
|
4910
4904
|
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,
|
|
4905
|
+
const K = ["header", "sider"], ee = {};
|
|
4906
|
+
if (D != null && D.subKey && K.includes(L)) {
|
|
4907
|
+
ee[L] = {}, ee[L][D == null ? void 0 : D.subKey] = k, (ge = e.onLayoutChange) == null || ge.call(e, ae(ee, K));
|
|
4914
4908
|
return;
|
|
4915
4909
|
} 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 =
|
|
4910
|
+
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
4911
|
if (L === "colorWeak") {
|
|
4918
4912
|
const Z = document.querySelector("body");
|
|
4919
4913
|
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
4914
|
}
|
|
4921
|
-
|
|
4922
|
-
...
|
|
4915
|
+
I(Ce(re(x), {
|
|
4916
|
+
...Do(Me(ee, K))
|
|
4923
4917
|
}));
|
|
4924
4918
|
}, X = (L) => {
|
|
4925
4919
|
l.value.dark = L === "system" ? L : L === "dark", R(null, L === "system" ? L : L === "dark");
|
|
4926
4920
|
}, he = () => {
|
|
4927
|
-
Q.value && M(JSON.stringify(re(
|
|
4921
|
+
Q.value && M(JSON.stringify(re(x)));
|
|
4928
4922
|
}, de = () => {
|
|
4929
|
-
|
|
4923
|
+
I(Me(Re(i), "dark")), R(null, i.dark), l.value = Re(i);
|
|
4930
4924
|
};
|
|
4931
4925
|
return () => {
|
|
4932
|
-
const L =
|
|
4926
|
+
const L = b.value ? ot : cn;
|
|
4933
4927
|
return r(t(Ye, {
|
|
4934
4928
|
width: 300,
|
|
4935
4929
|
closable: !1,
|
|
4936
|
-
open:
|
|
4937
|
-
rootClassName: `${o} ${c.value} ${
|
|
4930
|
+
open: b.value,
|
|
4931
|
+
rootClassName: `${o} ${c.value} ${b.value && `${o}-show`} ${!y.value && `${o}-trantion-none`}`,
|
|
4938
4932
|
placement: "right",
|
|
4939
4933
|
rootStyle: {
|
|
4940
4934
|
zIndex: 999
|
|
@@ -4942,17 +4936,17 @@ const {
|
|
|
4942
4936
|
bodyStyle: {
|
|
4943
4937
|
padding: 0
|
|
4944
4938
|
},
|
|
4945
|
-
onClose: () =>
|
|
4939
|
+
onClose: () => m(!1),
|
|
4946
4940
|
handle: t("div", {
|
|
4947
4941
|
class: [`${o}-handle`, c.value],
|
|
4948
|
-
onClick: () =>
|
|
4942
|
+
onClick: () => m(!b.value)
|
|
4949
4943
|
}, [t(L, {
|
|
4950
|
-
style:
|
|
4944
|
+
style: Li
|
|
4951
4945
|
}, null)])
|
|
4952
4946
|
}, {
|
|
4953
4947
|
default: () => [t("div", {
|
|
4954
4948
|
class: [`${o}-wrapper`, c.value]
|
|
4955
|
-
}, [t(
|
|
4949
|
+
}, [t(Xa, null, {
|
|
4956
4950
|
default: () => [t("div", {
|
|
4957
4951
|
class: [`${o}-content`, c.value]
|
|
4958
4952
|
}, [t(Ee, {
|
|
@@ -4962,7 +4956,7 @@ const {
|
|
|
4962
4956
|
}, {
|
|
4963
4957
|
default: () => [t(Vn, {
|
|
4964
4958
|
value: ne(d.value) ? d.value ? "dark" : "light" : "system",
|
|
4965
|
-
options:
|
|
4959
|
+
options: gi,
|
|
4966
4960
|
onChange: (k) => X(k)
|
|
4967
4961
|
}, null)]
|
|
4968
4962
|
}), t(Ee, {
|
|
@@ -4974,7 +4968,7 @@ const {
|
|
|
4974
4968
|
hashId: c.value,
|
|
4975
4969
|
prefixCls: o,
|
|
4976
4970
|
list: kn,
|
|
4977
|
-
value:
|
|
4971
|
+
value: x.value.theme,
|
|
4978
4972
|
configType: "theme",
|
|
4979
4973
|
key: "navTheme",
|
|
4980
4974
|
onChange: (k, D) => _("theme", k, {
|
|
@@ -4988,15 +4982,15 @@ const {
|
|
|
4988
4982
|
fontSize: "12px",
|
|
4989
4983
|
marginLeft: "4px"
|
|
4990
4984
|
},
|
|
4991
|
-
onClick: () =>
|
|
4985
|
+
onClick: () => p(!0)
|
|
4992
4986
|
}, [U("更多配置")])]),
|
|
4993
4987
|
prefixCls: o
|
|
4994
4988
|
}, {
|
|
4995
|
-
default: () => [t(
|
|
4989
|
+
default: () => [t(xi, {
|
|
4996
4990
|
hashId: c.value,
|
|
4997
4991
|
prefixCls: o,
|
|
4998
4992
|
colorList: B.value,
|
|
4999
|
-
settingValue:
|
|
4993
|
+
settingValue: x.value,
|
|
5000
4994
|
onChange: (k, D) => _(D || "primaryColor", k)
|
|
5001
4995
|
}, null)]
|
|
5002
4996
|
}), !e.themeOnly && t(J, null, [t(st, null, null), t(Ee, {
|
|
@@ -5006,24 +5000,24 @@ const {
|
|
|
5006
5000
|
}, {
|
|
5007
5001
|
default: () => [t(Ut, {
|
|
5008
5002
|
prefixCls: o,
|
|
5009
|
-
value: re(
|
|
5003
|
+
value: re(x).layout,
|
|
5010
5004
|
key: "layout",
|
|
5011
5005
|
hashId: c.value,
|
|
5012
5006
|
configType: "layout",
|
|
5013
5007
|
list: Fn,
|
|
5014
5008
|
onChange: (k) => _("layout", k)
|
|
5015
5009
|
}, null)]
|
|
5016
|
-
}),
|
|
5010
|
+
}), vi.map(({
|
|
5017
5011
|
label: k,
|
|
5018
5012
|
title: D
|
|
5019
5013
|
}) => t(Ge, {
|
|
5020
5014
|
label: D,
|
|
5021
5015
|
disabled: P.value[k],
|
|
5022
|
-
value:
|
|
5016
|
+
value: x.value[k],
|
|
5023
5017
|
prefixCls: o,
|
|
5024
5018
|
hashId: c.value,
|
|
5025
5019
|
valueKey: k,
|
|
5026
|
-
onChange: (
|
|
5020
|
+
onChange: (K, ee) => _(K, ee)
|
|
5027
5021
|
}, null)), t(st, null, null), t(Ee, {
|
|
5028
5022
|
hashId: c.value,
|
|
5029
5023
|
prefixCls: o,
|
|
@@ -5035,27 +5029,27 @@ const {
|
|
|
5035
5029
|
onClick: () => s(!0)
|
|
5036
5030
|
}, [U("更多配置")])])
|
|
5037
5031
|
}, {
|
|
5038
|
-
default: () => [
|
|
5032
|
+
default: () => [pi.map(({
|
|
5039
5033
|
label: k,
|
|
5040
5034
|
title: D
|
|
5041
5035
|
}) => t(Ge, {
|
|
5042
5036
|
label: D,
|
|
5043
5037
|
disabled: re(P)[k],
|
|
5044
|
-
value: re(
|
|
5038
|
+
value: re(x)[k],
|
|
5045
5039
|
prefixCls: o,
|
|
5046
5040
|
hashId: c.value,
|
|
5047
5041
|
valueKey: k,
|
|
5048
|
-
onChange: (
|
|
5042
|
+
onChange: (K, ee) => _(K, ee)
|
|
5049
5043
|
}, null)), e.weakmode && t(Ge, {
|
|
5050
5044
|
label: "色弱模式",
|
|
5051
|
-
value: re(
|
|
5045
|
+
value: re(x).colorWeak,
|
|
5052
5046
|
prefixCls: o,
|
|
5053
5047
|
hashId: c.value,
|
|
5054
5048
|
valueKey: "colorWeak",
|
|
5055
5049
|
onChange: (k, D) => _(k, D)
|
|
5056
5050
|
}, null), e.showProgress && t(Ge, {
|
|
5057
5051
|
label: "顶部进度条",
|
|
5058
|
-
value: re(
|
|
5052
|
+
value: re(x).showProgressBar,
|
|
5059
5053
|
prefixCls: o,
|
|
5060
5054
|
hashId: c.value,
|
|
5061
5055
|
valueKey: "showProgressBar",
|
|
@@ -5064,7 +5058,7 @@ const {
|
|
|
5064
5058
|
})]), e.hideHintAlert && e.hideCopyButton ? null : t(st, null, null), e.hideHintAlert ? null : t(Gn, {
|
|
5065
5059
|
type: "warning",
|
|
5066
5060
|
message: "配置栏只在开发环境用于预览,生产环境不会展现,请拷贝后手动修改配置文件",
|
|
5067
|
-
icon: t(
|
|
5061
|
+
icon: t(Aa, null, null),
|
|
5068
5062
|
showIcon: !0,
|
|
5069
5063
|
style: {
|
|
5070
5064
|
marginBottom: "16px"
|
|
@@ -5078,12 +5072,12 @@ const {
|
|
|
5078
5072
|
onClick: () => he(),
|
|
5079
5073
|
block: !0
|
|
5080
5074
|
}, {
|
|
5081
|
-
default: () => [t(
|
|
5075
|
+
default: () => [t(Ha, null, null), U("拷贝设置")]
|
|
5082
5076
|
}), t(qe, {
|
|
5083
5077
|
block: !0,
|
|
5084
5078
|
onClick: () => de()
|
|
5085
5079
|
}, {
|
|
5086
|
-
default: () => [t(
|
|
5080
|
+
default: () => [t(ja, null, null), U("清空缓存")]
|
|
5087
5081
|
})])])]
|
|
5088
5082
|
})]), t(Ye, {
|
|
5089
5083
|
width: 320,
|
|
@@ -5093,28 +5087,28 @@ const {
|
|
|
5093
5087
|
bodyStyle: {
|
|
5094
5088
|
padding: 0
|
|
5095
5089
|
},
|
|
5096
|
-
onClose: () =>
|
|
5090
|
+
onClose: () => p(!1)
|
|
5097
5091
|
}, {
|
|
5098
|
-
default: () => [t(
|
|
5099
|
-
theme:
|
|
5100
|
-
settingValue:
|
|
5101
|
-
onChange: (k, D,
|
|
5102
|
-
subKey:
|
|
5092
|
+
default: () => [t(Ii, {
|
|
5093
|
+
theme: x.value.theme,
|
|
5094
|
+
settingValue: x.value,
|
|
5095
|
+
onChange: (k, D, K) => _(D || "primaryColor", k, {
|
|
5096
|
+
subKey: K
|
|
5103
5097
|
})
|
|
5104
5098
|
}, null)]
|
|
5105
5099
|
}), t(Ye, {
|
|
5106
5100
|
width: 320,
|
|
5107
5101
|
closable: !1,
|
|
5108
5102
|
placement: "right",
|
|
5109
|
-
open:
|
|
5103
|
+
open: S.value,
|
|
5110
5104
|
bodyStyle: {
|
|
5111
5105
|
padding: 0
|
|
5112
5106
|
},
|
|
5113
5107
|
onClose: () => s(!1)
|
|
5114
5108
|
}, {
|
|
5115
|
-
default: () => [t(
|
|
5116
|
-
settingValue:
|
|
5117
|
-
onChange: (k, D,
|
|
5109
|
+
default: () => [t($i, {
|
|
5110
|
+
settingValue: x.value,
|
|
5111
|
+
onChange: (k, D, K) => _(k, K, {
|
|
5118
5112
|
subKey: D
|
|
5119
5113
|
})
|
|
5120
5114
|
}, null)]
|
|
@@ -5122,7 +5116,7 @@ const {
|
|
|
5122
5116
|
}));
|
|
5123
5117
|
};
|
|
5124
5118
|
}
|
|
5125
|
-
}),
|
|
5119
|
+
}), Mi = new v("backInLeft", {
|
|
5126
5120
|
"0%": {
|
|
5127
5121
|
opacity: 0.7,
|
|
5128
5122
|
transform: "translateX(-2000px) scale(0.7)"
|
|
@@ -5135,7 +5129,7 @@ const {
|
|
|
5135
5129
|
opacity: 1,
|
|
5136
5130
|
transform: "scale(1)"
|
|
5137
5131
|
}
|
|
5138
|
-
}),
|
|
5132
|
+
}), ki = new v("backInRight", {
|
|
5139
5133
|
"0%": {
|
|
5140
5134
|
opacity: 0.7,
|
|
5141
5135
|
transform: "translateX(2000px) scale(0.7)"
|
|
@@ -5148,7 +5142,7 @@ const {
|
|
|
5148
5142
|
opacity: 1,
|
|
5149
5143
|
transform: "scale(1)"
|
|
5150
5144
|
}
|
|
5151
|
-
}),
|
|
5145
|
+
}), Fi = new v("backInUp", {
|
|
5152
5146
|
"0%": {
|
|
5153
5147
|
opacity: 0.7,
|
|
5154
5148
|
transform: "translateY(1200px) scale(0.7)"
|
|
@@ -5161,7 +5155,7 @@ const {
|
|
|
5161
5155
|
opacity: 1,
|
|
5162
5156
|
transform: "scale(1)"
|
|
5163
5157
|
}
|
|
5164
|
-
}),
|
|
5158
|
+
}), Pi = new v("backInDown", {
|
|
5165
5159
|
"0%": {
|
|
5166
5160
|
opacity: 0.7,
|
|
5167
5161
|
transform: "translateY(-1200px) scale(0.7)"
|
|
@@ -5174,7 +5168,7 @@ const {
|
|
|
5174
5168
|
opacity: 1,
|
|
5175
5169
|
transform: "scale(1)"
|
|
5176
5170
|
}
|
|
5177
|
-
}),
|
|
5171
|
+
}), Ti = new v("backOutLeft", {
|
|
5178
5172
|
"0%": {
|
|
5179
5173
|
opacity: 1,
|
|
5180
5174
|
transform: "scale(1)"
|
|
@@ -5187,7 +5181,7 @@ const {
|
|
|
5187
5181
|
opacity: 0.7,
|
|
5188
5182
|
transform: "translateX(-2000px) scale(0.7)"
|
|
5189
5183
|
}
|
|
5190
|
-
}),
|
|
5184
|
+
}), Di = new v("backOutRight", {
|
|
5191
5185
|
"0%": {
|
|
5192
5186
|
opacity: 1,
|
|
5193
5187
|
transform: "scale(1)"
|
|
@@ -5200,7 +5194,7 @@ const {
|
|
|
5200
5194
|
opacity: 0.7,
|
|
5201
5195
|
transform: "translateX(2000px) scale(0.7)"
|
|
5202
5196
|
}
|
|
5203
|
-
}),
|
|
5197
|
+
}), zi = new v("backOutUp", {
|
|
5204
5198
|
"0%": {
|
|
5205
5199
|
opacity: 1,
|
|
5206
5200
|
transform: "scale(1)"
|
|
@@ -5213,7 +5207,7 @@ const {
|
|
|
5213
5207
|
opacity: 0.7,
|
|
5214
5208
|
transform: "translateY(-700px) scale(0.7)"
|
|
5215
5209
|
}
|
|
5216
|
-
}),
|
|
5210
|
+
}), Ni = new v("backOutDown", {
|
|
5217
5211
|
"0%": {
|
|
5218
5212
|
opacity: 1,
|
|
5219
5213
|
transform: "scale(1)"
|
|
@@ -5226,41 +5220,41 @@ const {
|
|
|
5226
5220
|
opacity: 0.7,
|
|
5227
5221
|
transform: "translateY(700px) scale(0.7)"
|
|
5228
5222
|
}
|
|
5229
|
-
}),
|
|
5223
|
+
}), Ai = () => ({
|
|
5230
5224
|
"&.backInLeft": {
|
|
5231
5225
|
animationFillMode: "both",
|
|
5232
|
-
animationName:
|
|
5226
|
+
animationName: Mi
|
|
5233
5227
|
},
|
|
5234
5228
|
"&.backInRight": {
|
|
5235
5229
|
animationFillMode: "both",
|
|
5236
|
-
animationName:
|
|
5230
|
+
animationName: ki
|
|
5237
5231
|
},
|
|
5238
5232
|
"&.backInUp": {
|
|
5239
5233
|
animationFillMode: "both",
|
|
5240
|
-
animationName:
|
|
5234
|
+
animationName: Fi
|
|
5241
5235
|
},
|
|
5242
5236
|
"&.backInDown": {
|
|
5243
5237
|
animationFillMode: "both",
|
|
5244
|
-
animationName:
|
|
5238
|
+
animationName: Pi
|
|
5245
5239
|
}
|
|
5246
|
-
}),
|
|
5240
|
+
}), Hi = () => ({
|
|
5247
5241
|
"&.backOutLeft": {
|
|
5248
5242
|
animationFillMode: "both",
|
|
5249
|
-
animationName:
|
|
5243
|
+
animationName: Ti
|
|
5250
5244
|
},
|
|
5251
5245
|
"&.backOutRight": {
|
|
5252
5246
|
animationFillMode: "both",
|
|
5253
|
-
animationName:
|
|
5247
|
+
animationName: Di
|
|
5254
5248
|
},
|
|
5255
5249
|
"&.backOutUp": {
|
|
5256
5250
|
animationFillMode: "both",
|
|
5257
|
-
animationName:
|
|
5251
|
+
animationName: zi
|
|
5258
5252
|
},
|
|
5259
5253
|
"&.backOutDown": {
|
|
5260
5254
|
animationFillMode: "both",
|
|
5261
|
-
animationName:
|
|
5255
|
+
animationName: Ni
|
|
5262
5256
|
}
|
|
5263
|
-
}),
|
|
5257
|
+
}), ji = new v("bounceIn", {
|
|
5264
5258
|
"from,20%,40%,60%,80%,to": {
|
|
5265
5259
|
animationTimingFunction: "cubic-bezier(0.215, 0.61, 0.355, 1)"
|
|
5266
5260
|
},
|
|
@@ -5284,7 +5278,7 @@ const {
|
|
|
5284
5278
|
opacity: 1,
|
|
5285
5279
|
transform: "scale3d(1, 1, 1)"
|
|
5286
5280
|
}
|
|
5287
|
-
}),
|
|
5281
|
+
}), Ei = new v("bounceInLeft", {
|
|
5288
5282
|
"from,60%,75%,90%,to": {
|
|
5289
5283
|
animationTimingFunction: "cubic-bezier(0.215, 0.61, 0.355, 1)"
|
|
5290
5284
|
},
|
|
@@ -5305,7 +5299,7 @@ const {
|
|
|
5305
5299
|
to: {
|
|
5306
5300
|
transform: "translate3d(0, 0, 0)"
|
|
5307
5301
|
}
|
|
5308
|
-
}), Ki = new
|
|
5302
|
+
}), Ki = new v("bounceInRight", {
|
|
5309
5303
|
"from,60%,75%,90%,to": {
|
|
5310
5304
|
animationTimingFunction: "cubic-bezier(0.215, 0.61, 0.355, 1)"
|
|
5311
5305
|
},
|
|
@@ -5326,7 +5320,7 @@ const {
|
|
|
5326
5320
|
to: {
|
|
5327
5321
|
transform: "translate3d(0, 0, 0)"
|
|
5328
5322
|
}
|
|
5329
|
-
}),
|
|
5323
|
+
}), Wi = new v("bounceInDown", {
|
|
5330
5324
|
"from,60%,75%,90%,to": {
|
|
5331
5325
|
animationTimingFunction: "cubic-bezier(0.215, 0.61, 0.355, 1)"
|
|
5332
5326
|
},
|
|
@@ -5347,7 +5341,7 @@ const {
|
|
|
5347
5341
|
to: {
|
|
5348
5342
|
transform: "translate3d(0, 0, 0)"
|
|
5349
5343
|
}
|
|
5350
|
-
}),
|
|
5344
|
+
}), Ui = new v("bounceInUp", {
|
|
5351
5345
|
"from,60%,75%,90%,to": {
|
|
5352
5346
|
animationTimingFunction: "cubic-bezier(0.215, 0.61, 0.355, 1)"
|
|
5353
5347
|
},
|
|
@@ -5368,7 +5362,7 @@ const {
|
|
|
5368
5362
|
to: {
|
|
5369
5363
|
transform: "translate3d(0, 0, 0)"
|
|
5370
5364
|
}
|
|
5371
|
-
}),
|
|
5365
|
+
}), _i = new v("bounceOut", {
|
|
5372
5366
|
"20%": {
|
|
5373
5367
|
transform: "scale3d(0.9, 0.9, 0.9)"
|
|
5374
5368
|
},
|
|
@@ -5382,7 +5376,7 @@ const {
|
|
|
5382
5376
|
opacity: 0,
|
|
5383
5377
|
transform: "scale3d(0.3, 0.3, 0.3)"
|
|
5384
5378
|
}
|
|
5385
|
-
}),
|
|
5379
|
+
}), Xi = new v("bounceOutLeft", {
|
|
5386
5380
|
"20%": {
|
|
5387
5381
|
opacity: 1,
|
|
5388
5382
|
transform: "translate3d(20px, 0, 0) scaleX(0.9)"
|
|
@@ -5391,7 +5385,7 @@ const {
|
|
|
5391
5385
|
opacity: 0,
|
|
5392
5386
|
transform: "translate3d(-2000px, 0, 0) scaleX(2)"
|
|
5393
5387
|
}
|
|
5394
|
-
}),
|
|
5388
|
+
}), Vi = new v("bounceOutRight", {
|
|
5395
5389
|
"20%": {
|
|
5396
5390
|
opacity: 1,
|
|
5397
5391
|
transform: "translate3d(-20px, 0, 0) scaleX(0.9)"
|
|
@@ -5400,7 +5394,7 @@ const {
|
|
|
5400
5394
|
opacity: 0,
|
|
5401
5395
|
transform: "translate3d(2000px, 0, 0) scaleX(2)"
|
|
5402
5396
|
}
|
|
5403
|
-
}),
|
|
5397
|
+
}), Gi = new v("bounceOutDown", {
|
|
5404
5398
|
"20%": {
|
|
5405
5399
|
transform: "translate3d(0, 10px, 0) scaleY(0.985)"
|
|
5406
5400
|
},
|
|
@@ -5412,7 +5406,7 @@ const {
|
|
|
5412
5406
|
opacity: 0,
|
|
5413
5407
|
transform: "translate3d(0, 2000px, 0) scaleY(3)"
|
|
5414
5408
|
}
|
|
5415
|
-
}),
|
|
5409
|
+
}), Yi = new v("bounceOutUp", {
|
|
5416
5410
|
"20%": {
|
|
5417
5411
|
transform: "translate3d(0, -10px, 0) scaleY(0.985)"
|
|
5418
5412
|
},
|
|
@@ -5424,15 +5418,15 @@ const {
|
|
|
5424
5418
|
opacity: 0,
|
|
5425
5419
|
transform: "translate3d(0, -2000px, 0) scaleY(3)"
|
|
5426
5420
|
}
|
|
5427
|
-
}),
|
|
5421
|
+
}), qi = () => ({
|
|
5428
5422
|
"&.bounceIn": {
|
|
5429
5423
|
animationFillMode: "both",
|
|
5430
5424
|
animationDuration: `${0.3 * 0.75}s !important`,
|
|
5431
|
-
animationName:
|
|
5425
|
+
animationName: ji
|
|
5432
5426
|
},
|
|
5433
5427
|
"&.bounceInLeft": {
|
|
5434
5428
|
animationFillMode: "both",
|
|
5435
|
-
animationName:
|
|
5429
|
+
animationName: Ei
|
|
5436
5430
|
},
|
|
5437
5431
|
"&.bounceInRight": {
|
|
5438
5432
|
animationFillMode: "both",
|
|
@@ -5440,42 +5434,42 @@ const {
|
|
|
5440
5434
|
},
|
|
5441
5435
|
"&.bounceInDown": {
|
|
5442
5436
|
animationFillMode: "both",
|
|
5443
|
-
animationName:
|
|
5437
|
+
animationName: Wi
|
|
5444
5438
|
},
|
|
5445
5439
|
"&.bounceInUp": {
|
|
5446
5440
|
animationFillMode: "both",
|
|
5447
|
-
animationName:
|
|
5441
|
+
animationName: Ui
|
|
5448
5442
|
}
|
|
5449
|
-
}),
|
|
5443
|
+
}), Qi = () => ({
|
|
5450
5444
|
"&.bounceOut": {
|
|
5451
5445
|
animationFillMode: "both",
|
|
5452
5446
|
animationDuration: `${0.3 * 0.75}s !important`,
|
|
5453
|
-
animationName:
|
|
5447
|
+
animationName: _i
|
|
5454
5448
|
},
|
|
5455
5449
|
"&.bounceOutLeft": {
|
|
5456
5450
|
animationFillMode: "both",
|
|
5457
|
-
animationName:
|
|
5451
|
+
animationName: Xi
|
|
5458
5452
|
},
|
|
5459
5453
|
"&.bounceOutRight": {
|
|
5460
5454
|
animationFillMode: "both",
|
|
5461
|
-
animationName:
|
|
5455
|
+
animationName: Vi
|
|
5462
5456
|
},
|
|
5463
5457
|
"&.bounceOutDown": {
|
|
5464
5458
|
animationFillMode: "both",
|
|
5465
|
-
animationName:
|
|
5459
|
+
animationName: Gi
|
|
5466
5460
|
},
|
|
5467
5461
|
"&.bounceOutUp": {
|
|
5468
5462
|
animationFillMode: "both",
|
|
5469
|
-
animationName:
|
|
5463
|
+
animationName: Yi
|
|
5470
5464
|
}
|
|
5471
|
-
}),
|
|
5465
|
+
}), Zi = new v("fadeIn", {
|
|
5472
5466
|
from: {
|
|
5473
5467
|
opacity: 0
|
|
5474
5468
|
},
|
|
5475
5469
|
to: {
|
|
5476
5470
|
opacity: 1
|
|
5477
5471
|
}
|
|
5478
|
-
}),
|
|
5472
|
+
}), Ji = new v("fadeInLeft", {
|
|
5479
5473
|
from: {
|
|
5480
5474
|
opacity: 0,
|
|
5481
5475
|
transform: "translate3d(-100%, 0, 0)"
|
|
@@ -5484,7 +5478,7 @@ const {
|
|
|
5484
5478
|
opacity: 1,
|
|
5485
5479
|
transform: "translate3d(0, 0, 0)"
|
|
5486
5480
|
}
|
|
5487
|
-
}),
|
|
5481
|
+
}), el = new v("fadeInRight", {
|
|
5488
5482
|
from: {
|
|
5489
5483
|
opacity: 0,
|
|
5490
5484
|
transform: "translate3d(100%, 0, 0)"
|
|
@@ -5493,7 +5487,7 @@ const {
|
|
|
5493
5487
|
opacity: 1,
|
|
5494
5488
|
transform: "translate3d(0, 0, 0)"
|
|
5495
5489
|
}
|
|
5496
|
-
}),
|
|
5490
|
+
}), tl = new v("fadeInDown", {
|
|
5497
5491
|
from: {
|
|
5498
5492
|
opacity: 0,
|
|
5499
5493
|
transform: "translate3d(0, -100%, 0)"
|
|
@@ -5502,7 +5496,7 @@ const {
|
|
|
5502
5496
|
opacity: 1,
|
|
5503
5497
|
transform: "translate3d(0, 0, 0)"
|
|
5504
5498
|
}
|
|
5505
|
-
}),
|
|
5499
|
+
}), nl = new v("fadeInUp", {
|
|
5506
5500
|
from: {
|
|
5507
5501
|
opacity: 0,
|
|
5508
5502
|
transform: "translate3d(0, 100%, 0)"
|
|
@@ -5511,7 +5505,7 @@ const {
|
|
|
5511
5505
|
opacity: 1,
|
|
5512
5506
|
transform: "translate3d(0, 0, 0)"
|
|
5513
5507
|
}
|
|
5514
|
-
}),
|
|
5508
|
+
}), al = new v("fadeInDownBig", {
|
|
5515
5509
|
from: {
|
|
5516
5510
|
opacity: 0,
|
|
5517
5511
|
transform: "translate3d(0, -2000px, 0)"
|
|
@@ -5520,7 +5514,7 @@ const {
|
|
|
5520
5514
|
opacity: 1,
|
|
5521
5515
|
transform: "translate3d(0, 0, 0)"
|
|
5522
5516
|
}
|
|
5523
|
-
}),
|
|
5517
|
+
}), ol = new v("fadeInUpBig", {
|
|
5524
5518
|
from: {
|
|
5525
5519
|
opacity: 0,
|
|
5526
5520
|
transform: "translate3d(0, 2000px, 0)"
|
|
@@ -5529,7 +5523,7 @@ const {
|
|
|
5529
5523
|
opacity: 1,
|
|
5530
5524
|
transform: "translate3d(0, 0, 0)"
|
|
5531
5525
|
}
|
|
5532
|
-
}),
|
|
5526
|
+
}), il = new v("fadeInLeftBig", {
|
|
5533
5527
|
from: {
|
|
5534
5528
|
opacity: 0,
|
|
5535
5529
|
transform: "translate3d(-2000px, 0, 0)"
|
|
@@ -5538,7 +5532,7 @@ const {
|
|
|
5538
5532
|
opacity: 1,
|
|
5539
5533
|
transform: "translate3d(0, 0, 0)"
|
|
5540
5534
|
}
|
|
5541
|
-
}),
|
|
5535
|
+
}), ll = new v("fadeInRightBig", {
|
|
5542
5536
|
from: {
|
|
5543
5537
|
opacity: 0,
|
|
5544
5538
|
transform: "translate3d(2000px, 0, 0)"
|
|
@@ -5547,7 +5541,7 @@ const {
|
|
|
5547
5541
|
opacity: 1,
|
|
5548
5542
|
transform: "translate3d(0, 0, 0)"
|
|
5549
5543
|
}
|
|
5550
|
-
}),
|
|
5544
|
+
}), rl = new v("fadeInTopLeft", {
|
|
5551
5545
|
from: {
|
|
5552
5546
|
opacity: 0,
|
|
5553
5547
|
transform: "translate3d(-100%, -100%, 0)"
|
|
@@ -5556,7 +5550,7 @@ const {
|
|
|
5556
5550
|
opacity: 1,
|
|
5557
5551
|
transform: "translate3d(0, 0, 0)"
|
|
5558
5552
|
}
|
|
5559
|
-
}),
|
|
5553
|
+
}), sl = new v("fadeInBottomRight", {
|
|
5560
5554
|
from: {
|
|
5561
5555
|
opacity: 0,
|
|
5562
5556
|
transform: "translate3d(100%, 100%, 0)"
|
|
@@ -5565,7 +5559,7 @@ const {
|
|
|
5565
5559
|
opacity: 1,
|
|
5566
5560
|
transform: "translate3d(0, 0, 0)"
|
|
5567
5561
|
}
|
|
5568
|
-
}),
|
|
5562
|
+
}), cl = new v("fadeInTopRight", {
|
|
5569
5563
|
from: {
|
|
5570
5564
|
opacity: 0,
|
|
5571
5565
|
transform: "translate3d(100%, -100%, 0)"
|
|
@@ -5574,7 +5568,7 @@ const {
|
|
|
5574
5568
|
opacity: 1,
|
|
5575
5569
|
transform: "translate3d(0, 0, 0)"
|
|
5576
5570
|
}
|
|
5577
|
-
}),
|
|
5571
|
+
}), ul = new v("fadeInBottomLeft", {
|
|
5578
5572
|
from: {
|
|
5579
5573
|
opacity: 0,
|
|
5580
5574
|
transform: "translate3d(-100%, 100%, 0)"
|
|
@@ -5583,14 +5577,14 @@ const {
|
|
|
5583
5577
|
opacity: 1,
|
|
5584
5578
|
transform: "translate3d(0, 0, 0)"
|
|
5585
5579
|
}
|
|
5586
|
-
}),
|
|
5580
|
+
}), dl = new v("fadeOut", {
|
|
5587
5581
|
from: {
|
|
5588
5582
|
opacity: 1
|
|
5589
5583
|
},
|
|
5590
5584
|
to: {
|
|
5591
5585
|
opacity: 0
|
|
5592
5586
|
}
|
|
5593
|
-
}),
|
|
5587
|
+
}), ml = new v("fadeOutLeft", {
|
|
5594
5588
|
from: {
|
|
5595
5589
|
opacity: 1
|
|
5596
5590
|
},
|
|
@@ -5598,7 +5592,7 @@ const {
|
|
|
5598
5592
|
opacity: 0,
|
|
5599
5593
|
transform: "translate3d(-100%, 0, 0)"
|
|
5600
5594
|
}
|
|
5601
|
-
}),
|
|
5595
|
+
}), fl = new v("fadeOutRight", {
|
|
5602
5596
|
from: {
|
|
5603
5597
|
opacity: 1
|
|
5604
5598
|
},
|
|
@@ -5606,7 +5600,7 @@ const {
|
|
|
5606
5600
|
opacity: 0,
|
|
5607
5601
|
transform: "translate3d(100%, 0, 0)"
|
|
5608
5602
|
}
|
|
5609
|
-
}),
|
|
5603
|
+
}), hl = new v("fadeOutDown", {
|
|
5610
5604
|
from: {
|
|
5611
5605
|
opacity: 1
|
|
5612
5606
|
},
|
|
@@ -5614,7 +5608,7 @@ const {
|
|
|
5614
5608
|
opacity: 0,
|
|
5615
5609
|
transform: "translate3d(0, 100%, 0)"
|
|
5616
5610
|
}
|
|
5617
|
-
}),
|
|
5611
|
+
}), gl = new v("fadeOutUp", {
|
|
5618
5612
|
from: {
|
|
5619
5613
|
opacity: 1
|
|
5620
5614
|
},
|
|
@@ -5622,7 +5616,7 @@ const {
|
|
|
5622
5616
|
opacity: 0,
|
|
5623
5617
|
transform: "translate3d(0, -100%, 0)"
|
|
5624
5618
|
}
|
|
5625
|
-
}),
|
|
5619
|
+
}), yl = new v("fadeOutDownBig", {
|
|
5626
5620
|
from: {
|
|
5627
5621
|
opacity: 1
|
|
5628
5622
|
},
|
|
@@ -5630,7 +5624,7 @@ const {
|
|
|
5630
5624
|
opacity: 0,
|
|
5631
5625
|
transform: "translate3d(0, 2000px, 0)"
|
|
5632
5626
|
}
|
|
5633
|
-
}),
|
|
5627
|
+
}), bl = new v("fadeOutUpBig", {
|
|
5634
5628
|
from: {
|
|
5635
5629
|
opacity: 1
|
|
5636
5630
|
},
|
|
@@ -5638,7 +5632,7 @@ const {
|
|
|
5638
5632
|
opacity: 0,
|
|
5639
5633
|
transform: "translate3d(0, -2000px, 0)"
|
|
5640
5634
|
}
|
|
5641
|
-
}),
|
|
5635
|
+
}), vl = new v("fadeOutLeftBig", {
|
|
5642
5636
|
from: {
|
|
5643
5637
|
opacity: 1
|
|
5644
5638
|
},
|
|
@@ -5646,7 +5640,7 @@ const {
|
|
|
5646
5640
|
opacity: 0,
|
|
5647
5641
|
transform: "translate3d(-2000px, 0, 0)"
|
|
5648
5642
|
}
|
|
5649
|
-
}),
|
|
5643
|
+
}), pl = new v("fadeOutRightBig", {
|
|
5650
5644
|
from: {
|
|
5651
5645
|
opacity: 1
|
|
5652
5646
|
},
|
|
@@ -5654,7 +5648,7 @@ const {
|
|
|
5654
5648
|
opacity: 0,
|
|
5655
5649
|
transform: "translate3d(2000px, 0, 0)"
|
|
5656
5650
|
}
|
|
5657
|
-
}),
|
|
5651
|
+
}), Cl = new v("fadeOutTopLeft", {
|
|
5658
5652
|
from: {
|
|
5659
5653
|
opacity: 1,
|
|
5660
5654
|
transform: "translate3d(0, 0, 0)"
|
|
@@ -5663,7 +5657,7 @@ const {
|
|
|
5663
5657
|
opacity: 0,
|
|
5664
5658
|
transform: "translate3d(-100%, -100%, 0)"
|
|
5665
5659
|
}
|
|
5666
|
-
}),
|
|
5660
|
+
}), xl = new v("fadeOutBottomRight", {
|
|
5667
5661
|
from: {
|
|
5668
5662
|
opacity: 1,
|
|
5669
5663
|
transform: "translate3d(0, 0, 0)"
|
|
@@ -5672,7 +5666,7 @@ const {
|
|
|
5672
5666
|
opacity: 0,
|
|
5673
5667
|
transform: "translate3d(100%, 100%, 0)"
|
|
5674
5668
|
}
|
|
5675
|
-
}),
|
|
5669
|
+
}), Sl = new v("fadeOutTopRight", {
|
|
5676
5670
|
from: {
|
|
5677
5671
|
opacity: 1,
|
|
5678
5672
|
transform: "translate3d(0, 0, 0)"
|
|
@@ -5681,7 +5675,7 @@ const {
|
|
|
5681
5675
|
opacity: 0,
|
|
5682
5676
|
transform: "translate3d(100%, -100%, 0)"
|
|
5683
5677
|
}
|
|
5684
|
-
}),
|
|
5678
|
+
}), wl = new v("fadeOutBottomLeft", {
|
|
5685
5679
|
from: {
|
|
5686
5680
|
opacity: 1,
|
|
5687
5681
|
transform: "translate3d(0, 0, 0)"
|
|
@@ -5690,113 +5684,113 @@ const {
|
|
|
5690
5684
|
opacity: 0,
|
|
5691
5685
|
transform: "translate3d(-100%, 100%, 0)"
|
|
5692
5686
|
}
|
|
5693
|
-
}),
|
|
5687
|
+
}), Il = () => ({
|
|
5694
5688
|
"&.fadeIn": {
|
|
5695
5689
|
animationFillMode: "both",
|
|
5696
|
-
animationName:
|
|
5690
|
+
animationName: Zi
|
|
5697
5691
|
},
|
|
5698
5692
|
"&.fadeInLeft": {
|
|
5699
5693
|
animationFillMode: "both",
|
|
5700
|
-
animationName:
|
|
5694
|
+
animationName: Ji
|
|
5701
5695
|
},
|
|
5702
5696
|
"&.fadeInRight": {
|
|
5703
5697
|
animationFillMode: "both",
|
|
5704
|
-
animationName:
|
|
5698
|
+
animationName: el
|
|
5705
5699
|
},
|
|
5706
5700
|
"&.fadeInDown": {
|
|
5707
5701
|
animationFillMode: "both",
|
|
5708
|
-
animationName:
|
|
5702
|
+
animationName: tl
|
|
5709
5703
|
},
|
|
5710
5704
|
"&.fadeInUp": {
|
|
5711
5705
|
animationFillMode: "both",
|
|
5712
|
-
animationName:
|
|
5706
|
+
animationName: nl
|
|
5713
5707
|
},
|
|
5714
5708
|
"&.fadeInLeftBig": {
|
|
5715
5709
|
animationFillMode: "both",
|
|
5716
|
-
animationName:
|
|
5710
|
+
animationName: il
|
|
5717
5711
|
},
|
|
5718
5712
|
"&.fadeInRightBig": {
|
|
5719
5713
|
animationFillMode: "both",
|
|
5720
|
-
animationName:
|
|
5714
|
+
animationName: ll
|
|
5721
5715
|
},
|
|
5722
5716
|
"&.fadeInUpBig": {
|
|
5723
5717
|
animationFillMode: "both",
|
|
5724
|
-
animationName:
|
|
5718
|
+
animationName: ol
|
|
5725
5719
|
},
|
|
5726
5720
|
"&.fadeInDownBig": {
|
|
5727
5721
|
animationFillMode: "both",
|
|
5728
|
-
animationName:
|
|
5722
|
+
animationName: al
|
|
5729
5723
|
},
|
|
5730
5724
|
"&.fadeInTopLeft": {
|
|
5731
5725
|
animationFillMode: "both",
|
|
5732
|
-
animationName:
|
|
5726
|
+
animationName: rl
|
|
5733
5727
|
},
|
|
5734
5728
|
"&.fadeInBottomRight": {
|
|
5735
5729
|
animationFillMode: "both",
|
|
5736
|
-
animationName:
|
|
5730
|
+
animationName: sl
|
|
5737
5731
|
},
|
|
5738
5732
|
"&.fadeInTopRight": {
|
|
5739
5733
|
animationFillMode: "both",
|
|
5740
|
-
animationName:
|
|
5734
|
+
animationName: cl
|
|
5741
5735
|
},
|
|
5742
5736
|
"&.fadeInBottomLeft": {
|
|
5743
5737
|
animationFillMode: "both",
|
|
5744
|
-
animationName:
|
|
5738
|
+
animationName: ul
|
|
5745
5739
|
}
|
|
5746
|
-
}),
|
|
5740
|
+
}), Rl = () => ({
|
|
5747
5741
|
"&.fadeOut": {
|
|
5748
5742
|
animationFillMode: "both",
|
|
5749
|
-
animationName:
|
|
5743
|
+
animationName: dl
|
|
5750
5744
|
},
|
|
5751
5745
|
"&.fadeOutLeft": {
|
|
5752
5746
|
animationFillMode: "both",
|
|
5753
|
-
animationName:
|
|
5747
|
+
animationName: ml
|
|
5754
5748
|
},
|
|
5755
5749
|
"&.fadeOutRight": {
|
|
5756
5750
|
animationFillMode: "both",
|
|
5757
|
-
animationName:
|
|
5751
|
+
animationName: fl
|
|
5758
5752
|
},
|
|
5759
5753
|
"&.fadeOutDown": {
|
|
5760
5754
|
animationFillMode: "both",
|
|
5761
|
-
animationName:
|
|
5755
|
+
animationName: hl
|
|
5762
5756
|
},
|
|
5763
5757
|
"&.fadeOutUp": {
|
|
5764
5758
|
animationFillMode: "both",
|
|
5765
|
-
animationName:
|
|
5759
|
+
animationName: gl
|
|
5766
5760
|
},
|
|
5767
5761
|
"&.fadeOutDownBig": {
|
|
5768
5762
|
animationFillMode: "both",
|
|
5769
|
-
animationName:
|
|
5763
|
+
animationName: yl
|
|
5770
5764
|
},
|
|
5771
5765
|
"&.fadeOutUpBig": {
|
|
5772
5766
|
animationFillMode: "both",
|
|
5773
|
-
animationName:
|
|
5767
|
+
animationName: bl
|
|
5774
5768
|
},
|
|
5775
5769
|
"&.fadeOutLeftBig": {
|
|
5776
5770
|
animationFillMode: "both",
|
|
5777
|
-
animationName:
|
|
5771
|
+
animationName: vl
|
|
5778
5772
|
},
|
|
5779
5773
|
"&.fadeOutRightBig": {
|
|
5780
5774
|
animationFillMode: "both",
|
|
5781
|
-
animationName:
|
|
5775
|
+
animationName: pl
|
|
5782
5776
|
},
|
|
5783
5777
|
"&.fadeOutTopLeft": {
|
|
5784
5778
|
animationFillMode: "both",
|
|
5785
|
-
animationName:
|
|
5779
|
+
animationName: Cl
|
|
5786
5780
|
},
|
|
5787
5781
|
"&.fadeOutBottomRight": {
|
|
5788
5782
|
animationFillMode: "both",
|
|
5789
|
-
animationName:
|
|
5783
|
+
animationName: xl
|
|
5790
5784
|
},
|
|
5791
5785
|
"&.fadeOutTopRight": {
|
|
5792
5786
|
animationFillMode: "both",
|
|
5793
|
-
animationName:
|
|
5787
|
+
animationName: Sl
|
|
5794
5788
|
},
|
|
5795
5789
|
"&.fadeOutBottomLeft": {
|
|
5796
5790
|
animationFillMode: "both",
|
|
5797
|
-
animationName:
|
|
5791
|
+
animationName: wl
|
|
5798
5792
|
}
|
|
5799
|
-
}),
|
|
5793
|
+
}), $l = new v("flipInX", {
|
|
5800
5794
|
from: {
|
|
5801
5795
|
opacity: 0,
|
|
5802
5796
|
animationTimingFunction: "ease-in",
|
|
@@ -5816,7 +5810,7 @@ const {
|
|
|
5816
5810
|
to: {
|
|
5817
5811
|
transform: "perspective(400px)"
|
|
5818
5812
|
}
|
|
5819
|
-
}),
|
|
5813
|
+
}), Bl = new v("flipInY", {
|
|
5820
5814
|
from: {
|
|
5821
5815
|
opacity: 0,
|
|
5822
5816
|
animationTimingFunction: "ease-in",
|
|
@@ -5836,7 +5830,7 @@ const {
|
|
|
5836
5830
|
to: {
|
|
5837
5831
|
transform: "perspective(400px)"
|
|
5838
5832
|
}
|
|
5839
|
-
}),
|
|
5833
|
+
}), Ll = new v("flipOutX", {
|
|
5840
5834
|
from: {
|
|
5841
5835
|
transform: "perspective(400px)"
|
|
5842
5836
|
},
|
|
@@ -5848,7 +5842,7 @@ const {
|
|
|
5848
5842
|
opacity: 0,
|
|
5849
5843
|
transform: "perspective(400px) rotate3d(1, 0, 0, 90deg)"
|
|
5850
5844
|
}
|
|
5851
|
-
}),
|
|
5845
|
+
}), Ol = new v("flipOutY", {
|
|
5852
5846
|
from: {
|
|
5853
5847
|
transform: "perspective(400px)"
|
|
5854
5848
|
},
|
|
@@ -5860,31 +5854,31 @@ const {
|
|
|
5860
5854
|
opacity: 0,
|
|
5861
5855
|
transform: "perspective(400px) rotate3d(0, 1, 0, 90deg)"
|
|
5862
5856
|
}
|
|
5863
|
-
}),
|
|
5857
|
+
}), Ml = () => ({
|
|
5864
5858
|
"&.flipInX": {
|
|
5865
5859
|
animationFillMode: "both",
|
|
5866
5860
|
backfaceVisibility: "visible !important",
|
|
5867
|
-
animationName:
|
|
5861
|
+
animationName: $l
|
|
5868
5862
|
},
|
|
5869
5863
|
"&.flipInY": {
|
|
5870
5864
|
animationFillMode: "both",
|
|
5871
5865
|
backfaceVisibility: "visible !important",
|
|
5872
|
-
animationName:
|
|
5866
|
+
animationName: Bl
|
|
5873
5867
|
}
|
|
5874
|
-
}),
|
|
5868
|
+
}), kl = () => ({
|
|
5875
5869
|
"&.flipOutX": {
|
|
5876
5870
|
animationFillMode: "both",
|
|
5877
5871
|
backfaceVisibility: "visible !important",
|
|
5878
5872
|
animationDuration: `${0.3 * 0.75}s !important`,
|
|
5879
|
-
animationName:
|
|
5873
|
+
animationName: Ll
|
|
5880
5874
|
},
|
|
5881
5875
|
"&.flipOutY": {
|
|
5882
5876
|
animationFillMode: "both",
|
|
5883
5877
|
backfaceVisibility: "visible !important",
|
|
5884
5878
|
animationDuration: `${0.3 * 0.75}s !important`,
|
|
5885
|
-
animationName:
|
|
5879
|
+
animationName: Ol
|
|
5886
5880
|
}
|
|
5887
|
-
}),
|
|
5881
|
+
}), Fl = new v("lightSpeedInLeft", {
|
|
5888
5882
|
from: {
|
|
5889
5883
|
opacity: 0,
|
|
5890
5884
|
transform: "translate3d(-100%, 0, 0) skewX(30deg)"
|
|
@@ -5899,7 +5893,7 @@ const {
|
|
|
5899
5893
|
to: {
|
|
5900
5894
|
transform: "translate3d(0, 0, 0)"
|
|
5901
5895
|
}
|
|
5902
|
-
}),
|
|
5896
|
+
}), Pl = new v("lightSpeedInRight", {
|
|
5903
5897
|
from: {
|
|
5904
5898
|
opacity: 0,
|
|
5905
5899
|
transform: "translate3d(100%, 0, 0) skewX(-30deg)"
|
|
@@ -5914,7 +5908,7 @@ const {
|
|
|
5914
5908
|
to: {
|
|
5915
5909
|
transform: "translate3d(0, 0, 0)"
|
|
5916
5910
|
}
|
|
5917
|
-
}),
|
|
5911
|
+
}), Tl = new v("lightSpeedOutLeft", {
|
|
5918
5912
|
from: {
|
|
5919
5913
|
opacity: 1
|
|
5920
5914
|
},
|
|
@@ -5922,7 +5916,7 @@ const {
|
|
|
5922
5916
|
opacity: 0,
|
|
5923
5917
|
transform: "translate3d(-100%, 0, 0) skewX(-30deg)"
|
|
5924
5918
|
}
|
|
5925
|
-
}),
|
|
5919
|
+
}), Dl = new v("lightSpeedOutRight", {
|
|
5926
5920
|
from: {
|
|
5927
5921
|
opacity: 1
|
|
5928
5922
|
},
|
|
@@ -5930,29 +5924,29 @@ const {
|
|
|
5930
5924
|
opacity: 0,
|
|
5931
5925
|
transform: "translate3d(100%, 0, 0) skewX(30deg)"
|
|
5932
5926
|
}
|
|
5933
|
-
}),
|
|
5927
|
+
}), zl = () => ({
|
|
5934
5928
|
"&.lightSpeedInLeft": {
|
|
5935
5929
|
animationFillMode: "both",
|
|
5936
5930
|
animationTimingFunction: "ease-out",
|
|
5937
|
-
animationName:
|
|
5931
|
+
animationName: Fl
|
|
5938
5932
|
},
|
|
5939
5933
|
"&.lightSpeedInRight": {
|
|
5940
5934
|
animationFillMode: "both",
|
|
5941
5935
|
animationTimingFunction: "ease-out",
|
|
5942
|
-
animationName:
|
|
5936
|
+
animationName: Pl
|
|
5943
5937
|
}
|
|
5944
|
-
}),
|
|
5938
|
+
}), Nl = () => ({
|
|
5945
5939
|
"&.lightSpeedOutLeft": {
|
|
5946
5940
|
animationFillMode: "both",
|
|
5947
5941
|
animationTimingFunction: "ease-in",
|
|
5948
|
-
animationName:
|
|
5942
|
+
animationName: Tl
|
|
5949
5943
|
},
|
|
5950
5944
|
"&.lightSpeedOutRight": {
|
|
5951
5945
|
animationFillMode: "both",
|
|
5952
5946
|
animationTimingFunction: "ease-in",
|
|
5953
|
-
animationName:
|
|
5947
|
+
animationName: Dl
|
|
5954
5948
|
}
|
|
5955
|
-
}),
|
|
5949
|
+
}), Al = new v("rotateIn", {
|
|
5956
5950
|
from: {
|
|
5957
5951
|
opacity: 0,
|
|
5958
5952
|
transform: "rotate3d(0, 0, 1, -200deg)"
|
|
@@ -5961,7 +5955,7 @@ const {
|
|
|
5961
5955
|
opacity: 1,
|
|
5962
5956
|
transform: "translate3d(0, 0, 0)"
|
|
5963
5957
|
}
|
|
5964
|
-
}),
|
|
5958
|
+
}), Hl = new v("rotateInDownLeft", {
|
|
5965
5959
|
from: {
|
|
5966
5960
|
opacity: 0,
|
|
5967
5961
|
transform: "rotate3d(0, 0, 1, -45deg)"
|
|
@@ -5970,7 +5964,7 @@ const {
|
|
|
5970
5964
|
opacity: 1,
|
|
5971
5965
|
transform: "translate3d(0, 0, 0)"
|
|
5972
5966
|
}
|
|
5973
|
-
}),
|
|
5967
|
+
}), jl = new v("rotateInDownRight", {
|
|
5974
5968
|
from: {
|
|
5975
5969
|
opacity: 0,
|
|
5976
5970
|
transform: "rotate3d(0, 0, 1, 45deg)"
|
|
@@ -5979,7 +5973,7 @@ const {
|
|
|
5979
5973
|
opacity: 1,
|
|
5980
5974
|
transform: "translate3d(0, 0, 0)"
|
|
5981
5975
|
}
|
|
5982
|
-
}),
|
|
5976
|
+
}), El = new v("rotateInUpLeft", {
|
|
5983
5977
|
from: {
|
|
5984
5978
|
opacity: 0,
|
|
5985
5979
|
transform: "rotate3d(0, 0, 1, 45deg)"
|
|
@@ -5988,7 +5982,7 @@ const {
|
|
|
5988
5982
|
opacity: 1,
|
|
5989
5983
|
transform: "translate3d(0, 0, 0)"
|
|
5990
5984
|
}
|
|
5991
|
-
}), Kl = new
|
|
5985
|
+
}), Kl = new v("rotateInUpRight", {
|
|
5992
5986
|
from: {
|
|
5993
5987
|
opacity: 0,
|
|
5994
5988
|
transform: "rotate3d(0, 0, 1, -90deg)"
|
|
@@ -5997,7 +5991,7 @@ const {
|
|
|
5997
5991
|
opacity: 1,
|
|
5998
5992
|
transform: "translate3d(0, 0, 0)"
|
|
5999
5993
|
}
|
|
6000
|
-
}),
|
|
5994
|
+
}), Wl = new v("rotateOut", {
|
|
6001
5995
|
from: {
|
|
6002
5996
|
opacity: 1
|
|
6003
5997
|
},
|
|
@@ -6005,7 +5999,7 @@ const {
|
|
|
6005
5999
|
opacity: 0,
|
|
6006
6000
|
transform: "rotate3d(0, 0, 1, 200deg)"
|
|
6007
6001
|
}
|
|
6008
|
-
}),
|
|
6002
|
+
}), Ul = new v("rotateOutDownLeft", {
|
|
6009
6003
|
from: {
|
|
6010
6004
|
opacity: 1
|
|
6011
6005
|
},
|
|
@@ -6013,7 +6007,7 @@ const {
|
|
|
6013
6007
|
opacity: 0,
|
|
6014
6008
|
transform: "rotate3d(0, 0, 1, 45deg)"
|
|
6015
6009
|
}
|
|
6016
|
-
}),
|
|
6010
|
+
}), _l = new v("rotateOutDownRight", {
|
|
6017
6011
|
from: {
|
|
6018
6012
|
opacity: 1
|
|
6019
6013
|
},
|
|
@@ -6021,7 +6015,7 @@ const {
|
|
|
6021
6015
|
opacity: 0,
|
|
6022
6016
|
transform: "rotate3d(0, 0, 1, -45deg)"
|
|
6023
6017
|
}
|
|
6024
|
-
}),
|
|
6018
|
+
}), Xl = new v("rotateOutUpLeft", {
|
|
6025
6019
|
from: {
|
|
6026
6020
|
opacity: 1
|
|
6027
6021
|
},
|
|
@@ -6029,7 +6023,7 @@ const {
|
|
|
6029
6023
|
opacity: 0,
|
|
6030
6024
|
transform: "rotate3d(0, 0, 1, -45deg)"
|
|
6031
6025
|
}
|
|
6032
|
-
}),
|
|
6026
|
+
}), Vl = new v("rotateOutUpRight", {
|
|
6033
6027
|
from: {
|
|
6034
6028
|
opacity: 1
|
|
6035
6029
|
},
|
|
@@ -6037,59 +6031,59 @@ const {
|
|
|
6037
6031
|
opacity: 0,
|
|
6038
6032
|
transform: "rotate3d(0, 0, 1, 90deg)"
|
|
6039
6033
|
}
|
|
6040
|
-
}),
|
|
6034
|
+
}), Gl = () => ({
|
|
6041
6035
|
"&.rotateIn": {
|
|
6042
6036
|
animationFillMode: "both",
|
|
6043
6037
|
transformOrigin: "center",
|
|
6044
|
-
animationName:
|
|
6038
|
+
animationName: Al
|
|
6045
6039
|
},
|
|
6046
6040
|
"&.rotateInDownLeft": {
|
|
6047
6041
|
animationFillMode: "both",
|
|
6048
6042
|
transformOrigin: "left bottom",
|
|
6049
|
-
animationName:
|
|
6043
|
+
animationName: Hl
|
|
6050
6044
|
},
|
|
6051
6045
|
"&.rotateInDownRight": {
|
|
6052
6046
|
animationFillMode: "both",
|
|
6053
6047
|
transformOrigin: "right bottom",
|
|
6054
|
-
animationName:
|
|
6048
|
+
animationName: jl
|
|
6055
6049
|
},
|
|
6056
6050
|
"&.rotateInUpLeft": {
|
|
6057
6051
|
animationFillMode: "both",
|
|
6058
6052
|
transformOrigin: "left bottom",
|
|
6059
|
-
animationName:
|
|
6053
|
+
animationName: El
|
|
6060
6054
|
},
|
|
6061
6055
|
"&.rotateInUpRight": {
|
|
6062
6056
|
animationFillMode: "both",
|
|
6063
6057
|
transformOrigin: "right bottom",
|
|
6064
6058
|
animationName: Kl
|
|
6065
6059
|
}
|
|
6066
|
-
}),
|
|
6060
|
+
}), Yl = () => ({
|
|
6067
6061
|
"&.rotateOut": {
|
|
6068
6062
|
animationFillMode: "both",
|
|
6069
6063
|
transformOrigin: "center",
|
|
6070
|
-
animationName:
|
|
6064
|
+
animationName: Wl
|
|
6071
6065
|
},
|
|
6072
6066
|
"&.rotateOutDownLeft": {
|
|
6073
6067
|
animationFillMode: "both",
|
|
6074
6068
|
transformOrigin: "left bottom",
|
|
6075
|
-
animationName:
|
|
6069
|
+
animationName: Ul
|
|
6076
6070
|
},
|
|
6077
6071
|
"&.rotateOutDownRight": {
|
|
6078
6072
|
animationFillMode: "both",
|
|
6079
6073
|
transformOrigin: "right bottom",
|
|
6080
|
-
animationName:
|
|
6074
|
+
animationName: _l
|
|
6081
6075
|
},
|
|
6082
6076
|
"&.rotateOutUpLeft": {
|
|
6083
6077
|
animationFillMode: "both",
|
|
6084
6078
|
transformOrigin: "left bottom",
|
|
6085
|
-
animationName:
|
|
6079
|
+
animationName: Xl
|
|
6086
6080
|
},
|
|
6087
6081
|
"&.rotateOutUpRight": {
|
|
6088
6082
|
animationFillMode: "both",
|
|
6089
6083
|
transformOrigin: "right bottom",
|
|
6090
|
-
animationName:
|
|
6084
|
+
animationName: Vl
|
|
6091
6085
|
}
|
|
6092
|
-
}),
|
|
6086
|
+
}), ql = new v("rollIn", {
|
|
6093
6087
|
from: {
|
|
6094
6088
|
opacity: 0,
|
|
6095
6089
|
transform: "translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg)"
|
|
@@ -6098,7 +6092,7 @@ const {
|
|
|
6098
6092
|
opacity: 1,
|
|
6099
6093
|
transform: "translate3d(0, 0, 0)"
|
|
6100
6094
|
}
|
|
6101
|
-
}),
|
|
6095
|
+
}), Ql = new v("rollOut", {
|
|
6102
6096
|
from: {
|
|
6103
6097
|
opacity: 1
|
|
6104
6098
|
},
|
|
@@ -6106,17 +6100,17 @@ const {
|
|
|
6106
6100
|
opacity: 0,
|
|
6107
6101
|
transform: "translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg)"
|
|
6108
6102
|
}
|
|
6109
|
-
}),
|
|
6103
|
+
}), Zl = () => ({
|
|
6110
6104
|
"&.rollIn": {
|
|
6111
6105
|
animationFillMode: "both",
|
|
6112
|
-
animationName:
|
|
6106
|
+
animationName: ql
|
|
6113
6107
|
}
|
|
6114
|
-
}),
|
|
6108
|
+
}), Jl = () => ({
|
|
6115
6109
|
"&.rollOut": {
|
|
6116
6110
|
animationFillMode: "both",
|
|
6117
|
-
animationName:
|
|
6111
|
+
animationName: Ql
|
|
6118
6112
|
}
|
|
6119
|
-
}),
|
|
6113
|
+
}), er = new v("zoomIn", {
|
|
6120
6114
|
from: {
|
|
6121
6115
|
opacity: 0,
|
|
6122
6116
|
transform: "scale3d(0.3, 0.3, 0.3)"
|
|
@@ -6124,7 +6118,7 @@ const {
|
|
|
6124
6118
|
"50%": {
|
|
6125
6119
|
opacity: 1
|
|
6126
6120
|
}
|
|
6127
|
-
}),
|
|
6121
|
+
}), tr = new v("zoomInDown", {
|
|
6128
6122
|
from: {
|
|
6129
6123
|
opacity: 0,
|
|
6130
6124
|
transform: "scale3d(0.1, 0.1, 0.1) translate3d(0, -1000px, 0)",
|
|
@@ -6135,7 +6129,7 @@ const {
|
|
|
6135
6129
|
transform: "scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0)",
|
|
6136
6130
|
animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
|
|
6137
6131
|
}
|
|
6138
|
-
}),
|
|
6132
|
+
}), nr = new v("zoomInLeft", {
|
|
6139
6133
|
from: {
|
|
6140
6134
|
opacity: 0,
|
|
6141
6135
|
transform: "scale3d(0.1, 0.1, 0.1) translate3d(-1000px, 0, 0)",
|
|
@@ -6146,7 +6140,7 @@ const {
|
|
|
6146
6140
|
transform: "scale3d(0.475, 0.475, 0.475) translate3d(10px, 0, 0)",
|
|
6147
6141
|
animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
|
|
6148
6142
|
}
|
|
6149
|
-
}),
|
|
6143
|
+
}), ar = new v("zoomInRight", {
|
|
6150
6144
|
from: {
|
|
6151
6145
|
opacity: 0,
|
|
6152
6146
|
transform: "scale3d(0.1, 0.1, 0.1) translate3d(1000px, 0, 0)",
|
|
@@ -6157,7 +6151,7 @@ const {
|
|
|
6157
6151
|
transform: "scale3d(0.475, 0.475, 0.475) translate3d(-10px, 0, 0)",
|
|
6158
6152
|
animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
|
|
6159
6153
|
}
|
|
6160
|
-
}),
|
|
6154
|
+
}), or = new v("zoomInUp", {
|
|
6161
6155
|
from: {
|
|
6162
6156
|
opacity: 0,
|
|
6163
6157
|
transform: "scale3d(0.1, 0.1, 0.1) translate3d(0, 1000px, 0)",
|
|
@@ -6168,7 +6162,7 @@ const {
|
|
|
6168
6162
|
transform: "scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0)",
|
|
6169
6163
|
animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
|
|
6170
6164
|
}
|
|
6171
|
-
}),
|
|
6165
|
+
}), ir = new v("zoomOut", {
|
|
6172
6166
|
from: {
|
|
6173
6167
|
opacity: 1
|
|
6174
6168
|
},
|
|
@@ -6179,7 +6173,7 @@ const {
|
|
|
6179
6173
|
to: {
|
|
6180
6174
|
opacity: 0
|
|
6181
6175
|
}
|
|
6182
|
-
}),
|
|
6176
|
+
}), lr = new v("zoomOutDown", {
|
|
6183
6177
|
"40%": {
|
|
6184
6178
|
opacity: 1,
|
|
6185
6179
|
transform: "scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0)",
|
|
@@ -6190,7 +6184,7 @@ const {
|
|
|
6190
6184
|
transform: "scale3d(0.1, 0.1, 0.1) translate3d(0, 2000px, 0)",
|
|
6191
6185
|
animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
|
|
6192
6186
|
}
|
|
6193
|
-
}),
|
|
6187
|
+
}), rr = new v("zoomOutLeft", {
|
|
6194
6188
|
"40%": {
|
|
6195
6189
|
opacity: 1,
|
|
6196
6190
|
transform: "scale3d(0.475, 0.475, 0.475) translate3d(42px, 0, 0)"
|
|
@@ -6199,7 +6193,7 @@ const {
|
|
|
6199
6193
|
opacity: 0,
|
|
6200
6194
|
transform: "scale(0.1) translate3d(-2000px, 0, 0)"
|
|
6201
6195
|
}
|
|
6202
|
-
}),
|
|
6196
|
+
}), sr = new v("zoomOutRight", {
|
|
6203
6197
|
"40%": {
|
|
6204
6198
|
opacity: 1,
|
|
6205
6199
|
transform: "scale3d(0.475, 0.475, 0.475) translate3d(-42px, 0, 0)"
|
|
@@ -6208,7 +6202,7 @@ const {
|
|
|
6208
6202
|
opacity: 0,
|
|
6209
6203
|
transform: "scale(0.1) translate3d(2000px, 0, 0)"
|
|
6210
6204
|
}
|
|
6211
|
-
}),
|
|
6205
|
+
}), cr = new v("zoomOutUp", {
|
|
6212
6206
|
"40%": {
|
|
6213
6207
|
opacity: 1,
|
|
6214
6208
|
transform: "scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0)",
|
|
@@ -6219,53 +6213,53 @@ const {
|
|
|
6219
6213
|
transform: "scale3d(0.1, 0.1, 0.1) translate3d(0, -2000px, 0)",
|
|
6220
6214
|
animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
|
|
6221
6215
|
}
|
|
6222
|
-
}),
|
|
6216
|
+
}), ur = () => ({
|
|
6223
6217
|
"&.zoomIn": {
|
|
6224
6218
|
animationFillMode: "both",
|
|
6225
|
-
animationName:
|
|
6219
|
+
animationName: er
|
|
6226
6220
|
},
|
|
6227
6221
|
"&.zoomInDown": {
|
|
6228
6222
|
animationFillMode: "both",
|
|
6229
|
-
animationName:
|
|
6223
|
+
animationName: tr
|
|
6230
6224
|
},
|
|
6231
6225
|
"&.zoomInLeft": {
|
|
6232
6226
|
animationFillMode: "both",
|
|
6233
|
-
animationName:
|
|
6227
|
+
animationName: nr
|
|
6234
6228
|
},
|
|
6235
6229
|
"&.zoomInRight": {
|
|
6236
6230
|
animationFillMode: "both",
|
|
6237
|
-
animationName:
|
|
6231
|
+
animationName: ar
|
|
6238
6232
|
},
|
|
6239
6233
|
"&.zoomInUp": {
|
|
6240
6234
|
animationFillMode: "both",
|
|
6241
|
-
animationName:
|
|
6235
|
+
animationName: or
|
|
6242
6236
|
}
|
|
6243
|
-
}),
|
|
6237
|
+
}), dr = () => ({
|
|
6244
6238
|
"&.zoomOut": {
|
|
6245
6239
|
animationFillMode: "both",
|
|
6246
|
-
animationName:
|
|
6240
|
+
animationName: ir
|
|
6247
6241
|
},
|
|
6248
6242
|
"&.zoomOutDown": {
|
|
6249
6243
|
animationFillMode: "both",
|
|
6250
6244
|
transformOrigin: "center bottom",
|
|
6251
|
-
animationName:
|
|
6245
|
+
animationName: lr
|
|
6252
6246
|
},
|
|
6253
6247
|
"&.zoomOutLeft": {
|
|
6254
6248
|
animationFillMode: "both",
|
|
6255
6249
|
transformOrigin: "left center",
|
|
6256
|
-
animationName:
|
|
6250
|
+
animationName: rr
|
|
6257
6251
|
},
|
|
6258
6252
|
"&.zoomOutRight": {
|
|
6259
6253
|
animationFillMode: "both",
|
|
6260
6254
|
transformOrigin: "right center",
|
|
6261
|
-
animationName:
|
|
6255
|
+
animationName: sr
|
|
6262
6256
|
},
|
|
6263
6257
|
"&.zoomOutUp": {
|
|
6264
6258
|
animationFillMode: "both",
|
|
6265
6259
|
transformOrigin: "center bottom",
|
|
6266
|
-
animationName:
|
|
6260
|
+
animationName: cr
|
|
6267
6261
|
}
|
|
6268
|
-
}),
|
|
6262
|
+
}), mr = new v("slideInDown", {
|
|
6269
6263
|
from: {
|
|
6270
6264
|
transform: "translate3d(0, -100%, 0)",
|
|
6271
6265
|
visibility: "visible"
|
|
@@ -6273,7 +6267,7 @@ const {
|
|
|
6273
6267
|
to: {
|
|
6274
6268
|
transform: "translate3d(0, 0, 0)"
|
|
6275
6269
|
}
|
|
6276
|
-
}),
|
|
6270
|
+
}), fr = new v("slideInLeft", {
|
|
6277
6271
|
from: {
|
|
6278
6272
|
transform: "translate3d(-100%, 0, 0)",
|
|
6279
6273
|
visibility: "visible"
|
|
@@ -6281,7 +6275,7 @@ const {
|
|
|
6281
6275
|
to: {
|
|
6282
6276
|
transform: "translate3d(0, 0, 0)"
|
|
6283
6277
|
}
|
|
6284
|
-
}),
|
|
6278
|
+
}), hr = new v("slideInRight", {
|
|
6285
6279
|
from: {
|
|
6286
6280
|
transform: "translate3d(100%, 0, 0)",
|
|
6287
6281
|
visibility: "visible"
|
|
@@ -6289,7 +6283,7 @@ const {
|
|
|
6289
6283
|
to: {
|
|
6290
6284
|
transform: "translate3d(0, 0, 0)"
|
|
6291
6285
|
}
|
|
6292
|
-
}),
|
|
6286
|
+
}), gr = new v("slideInUp", {
|
|
6293
6287
|
from: {
|
|
6294
6288
|
transform: "translate3d(0, 100%, 0)",
|
|
6295
6289
|
visibility: "visible"
|
|
@@ -6297,7 +6291,7 @@ const {
|
|
|
6297
6291
|
to: {
|
|
6298
6292
|
transform: "translate3d(0, 0, 0)"
|
|
6299
6293
|
}
|
|
6300
|
-
}),
|
|
6294
|
+
}), yr = new v("slideOutDown", {
|
|
6301
6295
|
from: {
|
|
6302
6296
|
transform: "translate3d(0, 0, 0)"
|
|
6303
6297
|
},
|
|
@@ -6305,7 +6299,7 @@ const {
|
|
|
6305
6299
|
transform: "translate3d(0, 100%, 0)",
|
|
6306
6300
|
visibility: "hidden"
|
|
6307
6301
|
}
|
|
6308
|
-
}),
|
|
6302
|
+
}), br = new v("slideOutLeft", {
|
|
6309
6303
|
from: {
|
|
6310
6304
|
transform: "translate3d(0, 0, 0)"
|
|
6311
6305
|
},
|
|
@@ -6313,7 +6307,7 @@ const {
|
|
|
6313
6307
|
transform: "translate3d(-100%, 0, 0)",
|
|
6314
6308
|
visibility: "hidden"
|
|
6315
6309
|
}
|
|
6316
|
-
}),
|
|
6310
|
+
}), vr = new v("slideOutRight", {
|
|
6317
6311
|
from: {
|
|
6318
6312
|
transform: "translate3d(0, 0, 0)"
|
|
6319
6313
|
},
|
|
@@ -6321,7 +6315,7 @@ const {
|
|
|
6321
6315
|
transform: "translate3d(100%, 0, 0)",
|
|
6322
6316
|
visibility: "hidden"
|
|
6323
6317
|
}
|
|
6324
|
-
}),
|
|
6318
|
+
}), pr = new v("slideOutUp", {
|
|
6325
6319
|
from: {
|
|
6326
6320
|
transform: "translate3d(0, 0, 0)"
|
|
6327
6321
|
},
|
|
@@ -6329,43 +6323,57 @@ const {
|
|
|
6329
6323
|
transform: "translate3d(0, -100%, 0)",
|
|
6330
6324
|
visibility: "hidden"
|
|
6331
6325
|
}
|
|
6332
|
-
}),
|
|
6326
|
+
}), Cr = () => ({
|
|
6333
6327
|
"&.slideInDown": {
|
|
6334
6328
|
animationFillMode: "both",
|
|
6335
|
-
animationName:
|
|
6329
|
+
animationName: mr
|
|
6336
6330
|
},
|
|
6337
6331
|
"&.slideInLeft": {
|
|
6338
6332
|
animationFillMode: "both",
|
|
6339
|
-
animationName:
|
|
6333
|
+
animationName: fr
|
|
6340
6334
|
},
|
|
6341
6335
|
"&.slideInRight": {
|
|
6342
6336
|
animationFillMode: "both",
|
|
6343
|
-
animationName:
|
|
6337
|
+
animationName: hr
|
|
6344
6338
|
},
|
|
6345
6339
|
"&.slideInUp": {
|
|
6346
6340
|
animationFillMode: "both",
|
|
6347
|
-
animationName:
|
|
6341
|
+
animationName: gr
|
|
6348
6342
|
}
|
|
6349
|
-
}),
|
|
6343
|
+
}), xr = () => ({
|
|
6350
6344
|
"&.slideOutDown": {
|
|
6351
6345
|
animationFillMode: "both",
|
|
6352
|
-
animationName:
|
|
6346
|
+
animationName: yr
|
|
6353
6347
|
},
|
|
6354
6348
|
"&.slideOutLeft": {
|
|
6355
6349
|
animationFillMode: "both",
|
|
6356
|
-
animationName:
|
|
6350
|
+
animationName: br
|
|
6357
6351
|
},
|
|
6358
6352
|
"&.slideOutRight": {
|
|
6359
6353
|
animationFillMode: "both",
|
|
6360
|
-
animationName:
|
|
6354
|
+
animationName: vr
|
|
6361
6355
|
},
|
|
6362
6356
|
"&.slideOutUp": {
|
|
6363
6357
|
animationFillMode: "both",
|
|
6364
|
-
animationName:
|
|
6358
|
+
animationName: pr
|
|
6365
6359
|
}
|
|
6366
|
-
}),
|
|
6360
|
+
}), Sr = (e) => ({
|
|
6367
6361
|
[e.componentCls]: {
|
|
6368
6362
|
"&-enter": {
|
|
6363
|
+
background: "transparent",
|
|
6364
|
+
animationDuration: ".3s !important",
|
|
6365
|
+
...Ai(),
|
|
6366
|
+
...qi(),
|
|
6367
|
+
...Il(),
|
|
6368
|
+
...Ml(),
|
|
6369
|
+
...zl(),
|
|
6370
|
+
...Gl(),
|
|
6371
|
+
...Zl(),
|
|
6372
|
+
...ur(),
|
|
6373
|
+
...Cr()
|
|
6374
|
+
},
|
|
6375
|
+
"&-leave": {
|
|
6376
|
+
display: "none",
|
|
6369
6377
|
background: "transparent",
|
|
6370
6378
|
animationDuration: ".3s !important",
|
|
6371
6379
|
...Hi(),
|
|
@@ -6377,30 +6385,16 @@ const {
|
|
|
6377
6385
|
...Jl(),
|
|
6378
6386
|
...dr(),
|
|
6379
6387
|
...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
6388
|
}
|
|
6395
6389
|
}
|
|
6396
6390
|
});
|
|
6397
|
-
function
|
|
6391
|
+
function wr(e) {
|
|
6398
6392
|
return Pe("LayoutPageTranstion", (n) => {
|
|
6399
6393
|
const a = He(n);
|
|
6400
|
-
return [
|
|
6394
|
+
return [Sr(a)];
|
|
6401
6395
|
}, e);
|
|
6402
6396
|
}
|
|
6403
|
-
const
|
|
6397
|
+
const es = /* @__PURE__ */ E({
|
|
6404
6398
|
name: "PageTranstion",
|
|
6405
6399
|
props: {
|
|
6406
6400
|
disabled: {
|
|
@@ -6426,29 +6420,29 @@ const ts = /* @__PURE__ */ E({
|
|
|
6426
6420
|
}), {
|
|
6427
6421
|
wrapSSR: o,
|
|
6428
6422
|
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 (
|
|
6423
|
+
} = wr(a), l = (b, m) => {
|
|
6424
|
+
if (b.length === 0 || b === "x" || b === "y")
|
|
6425
|
+
return b;
|
|
6426
|
+
let d = m.indexOf(b);
|
|
6427
|
+
return d = d % 2 === 1 ? d - 1 : d + 1, m[d];
|
|
6428
|
+
}, r = (b) => {
|
|
6429
|
+
const m = Ot.preset.find((C) => e.name === C.name);
|
|
6430
|
+
if (m === void 0)
|
|
6437
6431
|
return "";
|
|
6438
6432
|
let d = "";
|
|
6439
|
-
e.direction === void 0 ? d =
|
|
6440
|
-
const
|
|
6441
|
-
return
|
|
6442
|
-
}, c = $(() => [r(!1), `${a}-enter`, i.value].join(" ")),
|
|
6433
|
+
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));
|
|
6434
|
+
const w = b ? "Out" : "In";
|
|
6435
|
+
return m.name + w + d;
|
|
6436
|
+
}, c = $(() => [r(!1), `${a}-enter`, i.value].join(" ")), y = $(() => [r(!0), `${a}-leave`, i.value].join(" "));
|
|
6443
6437
|
return () => {
|
|
6444
|
-
var
|
|
6445
|
-
return e.disabled ? (
|
|
6438
|
+
var b;
|
|
6439
|
+
return e.disabled ? (b = n.default) == null ? void 0 : b.call(n) : o(t(Hn, {
|
|
6446
6440
|
enterActiveClass: c.value,
|
|
6447
|
-
leaveActiveClass:
|
|
6441
|
+
leaveActiveClass: y.value
|
|
6448
6442
|
}, {
|
|
6449
6443
|
default: () => {
|
|
6450
|
-
var
|
|
6451
|
-
return [(
|
|
6444
|
+
var m;
|
|
6445
|
+
return [(m = n.default) == null ? void 0 : m.call(n)];
|
|
6452
6446
|
}
|
|
6453
6447
|
}));
|
|
6454
6448
|
};
|
|
@@ -6459,7 +6453,7 @@ const ts = /* @__PURE__ */ E({
|
|
|
6459
6453
|
default: void 0
|
|
6460
6454
|
},
|
|
6461
6455
|
onItemClick: Function
|
|
6462
|
-
},
|
|
6456
|
+
}, Ir = (e, n) => {
|
|
6463
6457
|
if (e && typeof e == "string" && wt(e))
|
|
6464
6458
|
return t("img", {
|
|
6465
6459
|
src: e,
|
|
@@ -6515,7 +6509,7 @@ const ts = /* @__PURE__ */ E({
|
|
|
6515
6509
|
href: e.onItemClick ? "javascript:;" : a.url,
|
|
6516
6510
|
target: a.target,
|
|
6517
6511
|
rel: "noreferrer"
|
|
6518
|
-
}, [
|
|
6512
|
+
}, [Ir(a.icon, a.title), t("div", null, [t("div", null, [a.title])])])]);
|
|
6519
6513
|
})])]);
|
|
6520
6514
|
};
|
|
6521
6515
|
}
|
|
@@ -6556,13 +6550,13 @@ const ts = /* @__PURE__ */ E({
|
|
|
6556
6550
|
href: e.onItemClick ? void 0 : a.url,
|
|
6557
6551
|
target: a.target,
|
|
6558
6552
|
rel: "noreferrer"
|
|
6559
|
-
}, [t(
|
|
6553
|
+
}, [t(Co, {
|
|
6560
6554
|
logo: a.icon
|
|
6561
6555
|
}, null), t("div", null, [t("div", null, [a.title]), a.desc ? t("span", null, [a.desc]) : null])])]);
|
|
6562
6556
|
})])]);
|
|
6563
6557
|
};
|
|
6564
6558
|
}
|
|
6565
|
-
}),
|
|
6559
|
+
}), ts = /* @__PURE__ */ E({
|
|
6566
6560
|
props: _e,
|
|
6567
6561
|
emits: ["itemClick"],
|
|
6568
6562
|
setup(e) {
|
|
@@ -6572,7 +6566,7 @@ const ts = /* @__PURE__ */ E({
|
|
|
6572
6566
|
}), {
|
|
6573
6567
|
wrapSSR: a,
|
|
6574
6568
|
hashId: o
|
|
6575
|
-
} = fe("AppsLogoList", [
|
|
6569
|
+
} = fe("AppsLogoList", [vo], n), i = (l) => {
|
|
6576
6570
|
var r;
|
|
6577
6571
|
(r = e.onItemClick) == null || r.call(e, l);
|
|
6578
6572
|
};
|
|
@@ -6593,33 +6587,33 @@ const ts = /* @__PURE__ */ E({
|
|
|
6593
6587
|
}
|
|
6594
6588
|
});
|
|
6595
6589
|
export {
|
|
6596
|
-
|
|
6590
|
+
ts as AppsLogoList,
|
|
6597
6591
|
vn as BaseMenu,
|
|
6598
|
-
|
|
6599
|
-
|
|
6592
|
+
Eo as DefaultHeader,
|
|
6593
|
+
Yr as GProLayout,
|
|
6600
6594
|
At as GlobalFooter,
|
|
6601
|
-
|
|
6602
|
-
|
|
6603
|
-
|
|
6604
|
-
|
|
6605
|
-
|
|
6606
|
-
|
|
6607
|
-
|
|
6608
|
-
|
|
6595
|
+
Zr as PageContainer,
|
|
6596
|
+
to as PageLoading,
|
|
6597
|
+
qr as PageLock,
|
|
6598
|
+
es as PageTranstion,
|
|
6599
|
+
Qr as RightContent,
|
|
6600
|
+
li as SearchPageInput,
|
|
6601
|
+
Jr as SettingDrawer,
|
|
6602
|
+
Wt as SiderMenuWrapper,
|
|
6609
6603
|
Ot as animateSeting,
|
|
6610
6604
|
rt as baseMenuProps,
|
|
6611
|
-
|
|
6612
|
-
|
|
6605
|
+
zo as checkThemeStatus,
|
|
6606
|
+
Xr as clearMenuItem,
|
|
6613
6607
|
wn as coverToNewToken,
|
|
6614
|
-
|
|
6615
|
-
|
|
6616
|
-
|
|
6617
|
-
|
|
6618
|
-
|
|
6619
|
-
|
|
6620
|
-
|
|
6621
|
-
|
|
6622
|
-
|
|
6623
|
-
|
|
6608
|
+
Ya as defaultContextKey,
|
|
6609
|
+
Lo as flatMap,
|
|
6610
|
+
Vr as getMatchedList,
|
|
6611
|
+
_r as getMenuData,
|
|
6612
|
+
Oo as getMenuFirstChildren,
|
|
6613
|
+
Mo as getMenuFirstLastChildPath,
|
|
6614
|
+
Do as handleThemeConfig,
|
|
6615
|
+
W as hanlePathKey,
|
|
6616
|
+
qa as provideProLayoutContext,
|
|
6617
|
+
Gr as removeDuplicatesByName,
|
|
6624
6618
|
ie as useProLayoutContext
|
|
6625
6619
|
};
|