@gx-design-vue/pro-layout 0.1.0-beta.90 → 0.1.0-beta.92
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/hooks/menu/index.d.ts +1 -1
- package/dist/pro-layout.js +510 -515
- 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 n, defineComponent as K, createTextVNode as V, toRefs as Ye, ref as he, reactive as xe, watch as ae, computed as R, unref as ue, Fragment as J, withDirectives as Vn, vShow as Gn, isVNode as Oe, mergeProps as te, resolveComponent as tn, nextTick as St, watchEffect as Yn, onMounted as It, isRef as Dt, h as qn, toRaw as At, Transition as Qn } from "vue";
|
|
2
|
-
import { pick as le, cloneDeep as
|
|
3
|
-
import { LayoutFooter as Zn, Tabs as wt, Menu as
|
|
2
|
+
import { pick as le, cloneDeep as ye, omit as we } from "lodash-es";
|
|
3
|
+
import { LayoutFooter as Zn, Tabs as wt, Menu as be, Dropdown as gt, Popover as Jn, Badge as ea, ConfigProvider as Rt, Spin as $t, Layout as Ue, Drawer as Je, Avatar as nn, Form as Ht, Input as an, Button as et, Empty as jt, MenuItem as Et, Breadcrumb as ta, Card as na, Tooltip as at, List as Me, Switch as on, TabPane as aa, Select as Qe, message as oa, Segmented as ia, Divider as dt, Alert as la } from "ant-design-vue";
|
|
4
4
|
import { useLocalStorage as ot, useColorMode as ra, useStyleTag as sa, useMagicKeys as ln, whenever as yt, useThrottleFn as ua, onKeyStroke as mt, useFullscreen as ca, useDebounceFn as da, useClipboard as ma } from "@vueuse/core";
|
|
5
5
|
import { useState as Se, useMemo as bt, useMergedState as Ae, useMediaQuery as rn } from "@gx-design-vue/pro-hooks";
|
|
6
|
-
import { getPrefixCls as ie, arrayRepeat as fa, classNames as U, isBoolean as oe, merge as
|
|
7
|
-
import
|
|
8
|
-
import { createTypes as
|
|
6
|
+
import { getPrefixCls as ie, arrayRepeat as fa, classNames as U, isBoolean as oe, merge as Ce, isNumber as _e, isUrl as Bt, isImg as ha, isArray as it, convertValueBoolean as Te, isObject as ga, isString as ya, getLevelData as Mt, getRandomNumber as vt, getSlot as se, getSlotVNode as Pe, getSlotsProps as sn, isWindowsOs as ba, isDeepEqualReact as va, isBrowser as pa } from "@gx-design-vue/pro-utils";
|
|
7
|
+
import Ca, { themeConfig as Z, useContext as Lt, useProStyle as ge, useStyle as Fe, mergeToken as je, getTokenLayoutTheme as ve, resetComponent as xa, Keyframe as S, checkMenuDark as lt, calcUnit as Ee, unit as Ne, getDefaultLayoutToken as rt, useProConfigContext as ke, getLayoutTheme as un, useProForm as Sa, setAlpha as Ia, defaultSystemTheme as wa, defaultLayout as Ra, colorList as $a } from "@gx-design-vue/pro-provider";
|
|
8
|
+
import { createTypes as Ba } from "vue-types";
|
|
9
9
|
import "ant-design-vue/es/spin";
|
|
10
10
|
import Be from "dayjs";
|
|
11
|
-
import { GithubOutlined as
|
|
12
|
-
import { useRouter as qe, RouterLink as
|
|
11
|
+
import { GithubOutlined as Ma, CloseOutlined as st, FullscreenExitOutlined as cn, FullscreenOutlined as dn, ReloadOutlined as pt, ExportOutlined as La, VerticalRightOutlined as Oa, VerticalLeftOutlined as Fa, VerticalAlignMiddleOutlined as ka, SwapOutlined as Pa, DownOutlined as Ta, AppstoreOutlined as Na, createFromIconfontCN as za, ArrowLeftOutlined as Da, MenuUnfoldOutlined as Aa, MenuFoldOutlined as Ha, UserOutlined as mn, LockOutlined as fn, MenuOutlined as ja, ArrowRightOutlined as Ea, SearchOutlined as Kt, EnterOutlined as Ka, ArrowUpOutlined as Wt, CompressOutlined as Wa, ExpandOutlined as Ua, SettingOutlined as hn, LogoutOutlined as _a, DesktopOutlined as Xa, CheckOutlined as gn, NotificationOutlined as Va, CopyOutlined as Ga, ClearOutlined as Ya } from "@ant-design/icons-vue";
|
|
12
|
+
import { useRouter as qe, RouterLink as qa } from "vue-router";
|
|
13
13
|
import { getAlphaColor as Le } from "ant-design-vue/es/theme/themes/dark/colorAlgorithm";
|
|
14
|
-
import { useProAppContext as yn, proAppProps as
|
|
15
|
-
import
|
|
14
|
+
import { useProAppContext as yn, proAppProps as Qa, proAppSlots as Za, GProApp as Ja } from "@gx-design-vue/pro-app";
|
|
15
|
+
import eo, { GProModal as to } from "@gx-design-vue/pro-modal";
|
|
16
16
|
import "dayjs/locale/zh-cn";
|
|
17
|
-
import
|
|
18
|
-
import { GPorWaterMark as
|
|
17
|
+
import no from "ant-design-vue/es/vc-resize-observer";
|
|
18
|
+
import { GPorWaterMark as ao } from "@gx-design-vue/pro-watermark";
|
|
19
19
|
import bn from "@gx-design-vue/scrollbar";
|
|
20
20
|
import { GColorPicker as Ut } from "@gx-design-vue/color-picker";
|
|
21
|
-
const q =
|
|
21
|
+
const q = Ba({
|
|
22
22
|
func: void 0,
|
|
23
23
|
bool: void 0,
|
|
24
24
|
string: void 0,
|
|
@@ -120,7 +120,7 @@ const ze = {
|
|
|
120
120
|
}
|
|
121
121
|
},
|
|
122
122
|
onLogoClick: Function
|
|
123
|
-
},
|
|
123
|
+
}, oo = {
|
|
124
124
|
...le(ze, ["title", "layout"]),
|
|
125
125
|
...ut
|
|
126
126
|
}, ct = {
|
|
@@ -311,7 +311,7 @@ const ze = {
|
|
|
311
311
|
"onUpdate:tabs": {
|
|
312
312
|
type: Function
|
|
313
313
|
}
|
|
314
|
-
},
|
|
314
|
+
}, io = (e) => ({
|
|
315
315
|
[e.componentCls]: {
|
|
316
316
|
marginBlock: 0,
|
|
317
317
|
marginBlockStart: 48,
|
|
@@ -342,8 +342,8 @@ const ze = {
|
|
|
342
342
|
}
|
|
343
343
|
}
|
|
344
344
|
}
|
|
345
|
-
}),
|
|
346
|
-
provideContext:
|
|
345
|
+
}), lo = ["dark", "layout", "theme", "wideWidth", "contentWidth", "collapsed", "waterMark", "openKeys", "splitMenus", "selectedKeys", "disableMobile", "fixSiderbar", "fixedHeader", "waterMarkProps", "shortcutKey", "pageContainerProps"], {
|
|
346
|
+
provideContext: ro,
|
|
347
347
|
useInjectContext: re
|
|
348
348
|
} = Lt("pro-layout"), Cn = [{
|
|
349
349
|
key: "Ant Design Pro",
|
|
@@ -352,7 +352,7 @@ const ze = {
|
|
|
352
352
|
blankTarget: !0
|
|
353
353
|
}, {
|
|
354
354
|
key: "gitee",
|
|
355
|
-
title: n(
|
|
355
|
+
title: n(Ma, null, null),
|
|
356
356
|
href: "https://github.com/gx12358/vue3-antd-admin",
|
|
357
357
|
blankTarget: !0
|
|
358
358
|
}, {
|
|
@@ -379,7 +379,7 @@ const ze = {
|
|
|
379
379
|
}), {
|
|
380
380
|
wrapSSR: i,
|
|
381
381
|
hashId: l
|
|
382
|
-
} = ge("ProLayoutFooter", [
|
|
382
|
+
} = ge("ProLayoutFooter", [io], o);
|
|
383
383
|
return () => i(n(Zn, {
|
|
384
384
|
style: {
|
|
385
385
|
padding: 0
|
|
@@ -401,7 +401,7 @@ const ze = {
|
|
|
401
401
|
}, [e.copyright])])])]
|
|
402
402
|
}));
|
|
403
403
|
}
|
|
404
|
-
}),
|
|
404
|
+
}), so = {
|
|
405
405
|
usePageCard: {
|
|
406
406
|
type: Boolean,
|
|
407
407
|
default: () => {
|
|
@@ -447,7 +447,7 @@ const ze = {
|
|
|
447
447
|
},
|
|
448
448
|
loading: q.bool.def(!1),
|
|
449
449
|
loadingBlur: q.bool.def(!0),
|
|
450
|
-
...
|
|
450
|
+
...so
|
|
451
451
|
}, Ot = {
|
|
452
452
|
dark: {
|
|
453
453
|
type: [Boolean, String],
|
|
@@ -520,14 +520,14 @@ const ze = {
|
|
|
520
520
|
default: () => {
|
|
521
521
|
}
|
|
522
522
|
}
|
|
523
|
-
},
|
|
523
|
+
}, uo = (e) => ({
|
|
524
524
|
[e.componentCls]: {
|
|
525
525
|
display: "flex",
|
|
526
526
|
flexDirection: "column",
|
|
527
527
|
width: "100%",
|
|
528
528
|
minHeight: "100vh"
|
|
529
529
|
}
|
|
530
|
-
}),
|
|
530
|
+
}), co = (e) => {
|
|
531
531
|
var t, a;
|
|
532
532
|
return {
|
|
533
533
|
[e.componentCls]: {
|
|
@@ -567,7 +567,7 @@ const ze = {
|
|
|
567
567
|
"pageHeaderRender",
|
|
568
568
|
"pageLockRender",
|
|
569
569
|
"copyrightRender"
|
|
570
|
-
]),
|
|
570
|
+
]), mo = [
|
|
571
571
|
"footerRender",
|
|
572
572
|
"menuExtraRender",
|
|
573
573
|
"menuFooterRender",
|
|
@@ -580,8 +580,8 @@ const ze = {
|
|
|
580
580
|
"breadcrumbRender",
|
|
581
581
|
"collapsedButtonRender"
|
|
582
582
|
];
|
|
583
|
-
[...In, ...
|
|
584
|
-
const
|
|
583
|
+
[...In, ...mo];
|
|
584
|
+
const fo = ["tabsVisible", "storageTabsBar", "collapsedWidth", "isChildrenLayout", "loading", "showTabsBar", "fixedTabsBar", "collapsed", "onReloadPage", "onTabsChange"], ho = (e) => {
|
|
585
585
|
var t, a;
|
|
586
586
|
return {
|
|
587
587
|
[`${e.componentTitleCls}`]: {
|
|
@@ -669,16 +669,16 @@ const ho = ["tabsVisible", "storageTabsBar", "collapsedWidth", "isChildrenLayout
|
|
|
669
669
|
}
|
|
670
670
|
};
|
|
671
671
|
};
|
|
672
|
-
function
|
|
672
|
+
function go(e) {
|
|
673
673
|
return Fe("ProMultiTabs", (t) => {
|
|
674
674
|
const a = je(t, {
|
|
675
675
|
componentWrapCls: `${t.componentCls}-wrap`,
|
|
676
676
|
componentTitleCls: `${t.componentCls}-title`
|
|
677
677
|
});
|
|
678
|
-
return [
|
|
678
|
+
return [ho(a)];
|
|
679
679
|
}, e);
|
|
680
680
|
}
|
|
681
|
-
const
|
|
681
|
+
const yo = (e) => ({
|
|
682
682
|
[`${e.componentCls}`]: {
|
|
683
683
|
width: "1em",
|
|
684
684
|
height: "1em",
|
|
@@ -687,10 +687,10 @@ const bo = (e) => ({
|
|
|
687
687
|
overflow: "hidden"
|
|
688
688
|
}
|
|
689
689
|
});
|
|
690
|
-
function
|
|
690
|
+
function bo(e) {
|
|
691
691
|
return Fe("ProIcon", (t) => {
|
|
692
692
|
const a = je(t, {});
|
|
693
|
-
return [
|
|
693
|
+
return [yo(a)];
|
|
694
694
|
}, e);
|
|
695
695
|
}
|
|
696
696
|
const Xe = /* @__PURE__ */ K({
|
|
@@ -708,7 +708,7 @@ const Xe = /* @__PURE__ */ K({
|
|
|
708
708
|
}), {
|
|
709
709
|
hashId: o,
|
|
710
710
|
wrapSSR: i
|
|
711
|
-
} =
|
|
711
|
+
} = bo(a);
|
|
712
712
|
return () => i(n("span", {
|
|
713
713
|
style: t.style,
|
|
714
714
|
class: t.class,
|
|
@@ -726,7 +726,7 @@ const Xe = /* @__PURE__ */ K({
|
|
|
726
726
|
}, null)
|
|
727
727
|
])]));
|
|
728
728
|
}
|
|
729
|
-
}),
|
|
729
|
+
}), vo = [{
|
|
730
730
|
key: "fixed",
|
|
731
731
|
label: "置顶",
|
|
732
732
|
icon: (e) => n(Xe, {
|
|
@@ -746,44 +746,44 @@ const Xe = /* @__PURE__ */ K({
|
|
|
746
746
|
}, {
|
|
747
747
|
key: "newBlank",
|
|
748
748
|
label: "新窗口打开",
|
|
749
|
-
icon: n(
|
|
749
|
+
icon: n(La, null, null)
|
|
750
750
|
}, {
|
|
751
751
|
key: "divider"
|
|
752
752
|
}, {
|
|
753
753
|
key: "closeLeftTabs",
|
|
754
754
|
label: "关闭左侧",
|
|
755
|
-
icon: n(
|
|
755
|
+
icon: n(Oa, null, null)
|
|
756
756
|
}, {
|
|
757
757
|
key: "closeRightTabs",
|
|
758
758
|
label: "关闭右侧",
|
|
759
|
-
icon: n(
|
|
759
|
+
icon: n(Fa, null, null)
|
|
760
760
|
}, {
|
|
761
761
|
key: "divider"
|
|
762
762
|
}, {
|
|
763
763
|
key: "closeOthersTabs",
|
|
764
764
|
label: "关闭其他",
|
|
765
|
-
icon: n(
|
|
765
|
+
icon: n(ka, {
|
|
766
766
|
rotate: 90
|
|
767
767
|
}, null)
|
|
768
768
|
}, {
|
|
769
769
|
key: "closeAllTabs",
|
|
770
770
|
label: "关闭全部",
|
|
771
|
-
icon: n(
|
|
771
|
+
icon: n(Pa, null, null)
|
|
772
772
|
}];
|
|
773
|
-
function
|
|
773
|
+
function po(e, t) {
|
|
774
774
|
const {
|
|
775
775
|
fixed: a
|
|
776
776
|
} = t.tabs, o = oe(a) ? a : a === 0;
|
|
777
777
|
return e.key === "fixed" ? o ? "取消置顶" : "置顶" : e.key === "fullScreen" ? t.fullScreen ? "还原" : "最大化" : e.label;
|
|
778
778
|
}
|
|
779
|
-
function
|
|
779
|
+
function Co(e) {
|
|
780
780
|
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Oe(e);
|
|
781
781
|
}
|
|
782
|
-
const
|
|
782
|
+
const xo = wt.TabPane, So = be.Item;
|
|
783
783
|
function X(e) {
|
|
784
784
|
return e.name;
|
|
785
785
|
}
|
|
786
|
-
const
|
|
786
|
+
const Io = /* @__PURE__ */ K({
|
|
787
787
|
props: Ct,
|
|
788
788
|
inheritAttrs: !1,
|
|
789
789
|
setup(e) {
|
|
@@ -808,7 +808,7 @@ const wo = /* @__PURE__ */ K({
|
|
|
808
808
|
}), {
|
|
809
809
|
wrapSSR: d,
|
|
810
810
|
hashId: C
|
|
811
|
-
} =
|
|
811
|
+
} = go(y), w = ot(y, {
|
|
812
812
|
fixed: [],
|
|
813
813
|
normal: []
|
|
814
814
|
}), c = xe({
|
|
@@ -816,7 +816,7 @@ const wo = /* @__PURE__ */ K({
|
|
|
816
816
|
normal: o.value && ((Re = w.value) != null && Re.normal) ? ($e = w.value) == null ? void 0 : $e.normal : []
|
|
817
817
|
});
|
|
818
818
|
ae(o, (p) => {
|
|
819
|
-
w.value = p ?
|
|
819
|
+
w.value = p ? ye(c) : {
|
|
820
820
|
fixed: [],
|
|
821
821
|
normal: []
|
|
822
822
|
};
|
|
@@ -843,7 +843,7 @@ const wo = /* @__PURE__ */ K({
|
|
|
843
843
|
});
|
|
844
844
|
ae(() => c, (p) => {
|
|
845
845
|
var M;
|
|
846
|
-
o.value && (w.value =
|
|
846
|
+
o.value && (w.value = ye(p)), (M = e.onTabsChange) == null || M.call(e, [...c.fixed, ...c.normal]);
|
|
847
847
|
}, {
|
|
848
848
|
deep: !0
|
|
849
849
|
});
|
|
@@ -868,11 +868,11 @@ const wo = /* @__PURE__ */ K({
|
|
|
868
868
|
fullPath: p.fullPath,
|
|
869
869
|
query: p.query,
|
|
870
870
|
params: p.params,
|
|
871
|
-
meta:
|
|
871
|
+
meta: Ce(p.meta, {
|
|
872
872
|
tabState: (Y = p.meta) == null ? void 0 : Y.tabState
|
|
873
873
|
})
|
|
874
874
|
};
|
|
875
|
-
de ?
|
|
875
|
+
de ? Ce(de, De) : D ? c.fixed.push(De) : c.normal.push(De), b(p) && (l.activeKey = H);
|
|
876
876
|
}
|
|
877
877
|
}, j = (p) => {
|
|
878
878
|
p.forEach((M) => {
|
|
@@ -899,7 +899,7 @@ const wo = /* @__PURE__ */ K({
|
|
|
899
899
|
params: Y
|
|
900
900
|
}) => {
|
|
901
901
|
const D = L(p) ? "fixed" : "normal";
|
|
902
|
-
M === "add" && T ? c[D][T](Y) : M === "merge" ? c[D] = c[D].map((H) => X(H) === X(p) ?
|
|
902
|
+
M === "add" && T ? c[D][T](Y) : M === "merge" ? c[D] = c[D].map((H) => X(H) === X(p) ? Ce(H, Y) : H) : M === "remove" && (c[D] = c[D].filter((H) => X(H) !== X(p)));
|
|
903
903
|
}, me = () => {
|
|
904
904
|
const p = v.value.slice(-1)[0];
|
|
905
905
|
p ? s.push({
|
|
@@ -924,18 +924,18 @@ const wo = /* @__PURE__ */ K({
|
|
|
924
924
|
}, _ = (p) => l[p], ee = (p) => {
|
|
925
925
|
const M = v.value.find((T) => X(T) === _(p));
|
|
926
926
|
l.activeKey !== _(p) && (c.normal.length > 0 ? $(X(M)) || s.push(E(_(p))) : me());
|
|
927
|
-
},
|
|
927
|
+
}, pe = (p, M) => {
|
|
928
928
|
let T = c.normal.findIndex((H) => X(H) === _(M));
|
|
929
929
|
const Y = v.value.find((H) => X(H) === _(M)), D = L(Y);
|
|
930
930
|
switch (p) {
|
|
931
931
|
case "fixed":
|
|
932
|
-
D ? (T = c.fixed.findIndex((H) => X(H) === _(M)), c.normal.unshift(
|
|
932
|
+
D ? (T = c.fixed.findIndex((H) => X(H) === _(M)), c.normal.unshift(Ce(Y, {
|
|
933
933
|
meta: {
|
|
934
934
|
tabState: {
|
|
935
935
|
fixed: !D
|
|
936
936
|
}
|
|
937
937
|
}
|
|
938
|
-
})), c.fixed = c.fixed.filter((H, de) => de !== T)) : (c.fixed.push(
|
|
938
|
+
})), c.fixed = c.fixed.filter((H, de) => de !== T)) : (c.fixed.push(Ce(Y, {
|
|
939
939
|
meta: {
|
|
940
940
|
tabState: {
|
|
941
941
|
fixed: !D
|
|
@@ -982,15 +982,15 @@ const wo = /* @__PURE__ */ K({
|
|
|
982
982
|
name: T,
|
|
983
983
|
stateType: Y
|
|
984
984
|
} = p;
|
|
985
|
-
return n(
|
|
985
|
+
return n(be, {
|
|
986
986
|
selectedKeys: [],
|
|
987
|
-
onClick: (D) =>
|
|
988
|
-
},
|
|
989
|
-
if (D.key === "divider") return n(
|
|
987
|
+
onClick: (D) => pe(D.key, Y)
|
|
988
|
+
}, Co(M = vo.map((D) => {
|
|
989
|
+
if (D.key === "divider") return n(be.Divider, {
|
|
990
990
|
key: D.key
|
|
991
991
|
}, null);
|
|
992
992
|
const H = D.icon;
|
|
993
|
-
return D.key === "close" && L($(T)) ? null : n(
|
|
993
|
+
return D.key === "close" && L($(T)) ? null : n(So, {
|
|
994
994
|
key: D.key,
|
|
995
995
|
disabled: W(D.key, T)
|
|
996
996
|
}, {
|
|
@@ -1000,7 +1000,7 @@ const wo = /* @__PURE__ */ K({
|
|
|
1000
1000
|
style: {
|
|
1001
1001
|
marginInlineStart: "8px"
|
|
1002
1002
|
}
|
|
1003
|
-
}, [
|
|
1003
|
+
}, [po(D, {
|
|
1004
1004
|
tabs: ((De = (de = $(T)) == null ? void 0 : de.meta) == null ? void 0 : De.tabState) || {},
|
|
1005
1005
|
fullScreen: r.value
|
|
1006
1006
|
})])];
|
|
@@ -1057,7 +1057,7 @@ const wo = /* @__PURE__ */ K({
|
|
|
1057
1057
|
activeKey: l.activeKey,
|
|
1058
1058
|
onTabClick: F
|
|
1059
1059
|
}, {
|
|
1060
|
-
default: () => [v.value.map((M) => n(
|
|
1060
|
+
default: () => [v.value.map((M) => n(xo, {
|
|
1061
1061
|
key: X(M),
|
|
1062
1062
|
closable: !1,
|
|
1063
1063
|
tab: n(G, {
|
|
@@ -1068,7 +1068,7 @@ const wo = /* @__PURE__ */ K({
|
|
|
1068
1068
|
class: U(`${y}-dropdown-menu`, C.value)
|
|
1069
1069
|
}, [n(pt, {
|
|
1070
1070
|
class: [`${y}-dropdown-menu-btn`, C.value],
|
|
1071
|
-
onClick: () =>
|
|
1071
|
+
onClick: () => pe("reloadPage", "activeKey")
|
|
1072
1072
|
}, null), n("div", {
|
|
1073
1073
|
class: [`${y}-dropdown-menu-btn-divider`, C.value]
|
|
1074
1074
|
}, null), n(gt, {
|
|
@@ -1077,14 +1077,14 @@ const wo = /* @__PURE__ */ K({
|
|
|
1077
1077
|
stateType: "activeKey"
|
|
1078
1078
|
}, null)
|
|
1079
1079
|
}, {
|
|
1080
|
-
default: () => [n(
|
|
1080
|
+
default: () => [n(Ta, {
|
|
1081
1081
|
class: [`${y}-dropdown-menu-btn`, C.value]
|
|
1082
1082
|
}, null)]
|
|
1083
1083
|
}), n("div", {
|
|
1084
1084
|
class: [`${y}-dropdown-menu-btn-divider`, C.value]
|
|
1085
1085
|
}, null), n(p, {
|
|
1086
1086
|
class: [`${y}-dropdown-menu-btn`, C.value],
|
|
1087
|
-
onClick: () =>
|
|
1087
|
+
onClick: () => pe("fullScreen", "activeKey")
|
|
1088
1088
|
}, null)])
|
|
1089
1089
|
})]));
|
|
1090
1090
|
};
|
|
@@ -1106,14 +1106,14 @@ const wo = /* @__PURE__ */ K({
|
|
|
1106
1106
|
flatMenuData: r,
|
|
1107
1107
|
layout: f
|
|
1108
1108
|
} = re();
|
|
1109
|
-
return n(J, null, [f.value === "wide" || f.value === "simple" ? null : n(
|
|
1109
|
+
return n(J, null, [f.value === "wide" || f.value === "simple" ? null : n(Io, te({
|
|
1110
1110
|
visible: i ? l ? !0 : f.value === "mix" ? r.value.length > 0 : !0 : !1
|
|
1111
1111
|
}, s), null), (g = t.default) == null ? void 0 : g.call(t)]);
|
|
1112
1112
|
};
|
|
1113
1113
|
Ft.inheritAttrs = !1;
|
|
1114
1114
|
Ft.displayName = "wrap-content";
|
|
1115
|
-
const
|
|
1116
|
-
const { layout: t } =
|
|
1115
|
+
const wo = (e) => {
|
|
1116
|
+
const { layout: t } = ve(e);
|
|
1117
1117
|
return {
|
|
1118
1118
|
[`${e.proComponentsCls}-header`]: {
|
|
1119
1119
|
"&-light": {
|
|
@@ -1205,7 +1205,7 @@ const Ro = (e) => {
|
|
|
1205
1205
|
}
|
|
1206
1206
|
}
|
|
1207
1207
|
};
|
|
1208
|
-
},
|
|
1208
|
+
}, Ro = () => n(Na, null, null), $o = (e) => {
|
|
1209
1209
|
var t;
|
|
1210
1210
|
return {
|
|
1211
1211
|
"&-content": {
|
|
@@ -1247,7 +1247,7 @@ const Ro = (e) => {
|
|
|
1247
1247
|
"&:hover": {
|
|
1248
1248
|
backgroundColor: e.colorBgTextHover
|
|
1249
1249
|
},
|
|
1250
|
-
"* div": (t =
|
|
1250
|
+
"* div": (t = xa) == null ? void 0 : t(e),
|
|
1251
1251
|
a: {
|
|
1252
1252
|
display: "flex",
|
|
1253
1253
|
height: "100%",
|
|
@@ -1275,7 +1275,7 @@ const Ro = (e) => {
|
|
|
1275
1275
|
}
|
|
1276
1276
|
}
|
|
1277
1277
|
};
|
|
1278
|
-
},
|
|
1278
|
+
}, Bo = (e) => ({
|
|
1279
1279
|
"&-content": {
|
|
1280
1280
|
maxHeight: "calc(100vh - 48px)",
|
|
1281
1281
|
overflow: "auto",
|
|
@@ -1357,14 +1357,14 @@ const Ro = (e) => {
|
|
|
1357
1357
|
}
|
|
1358
1358
|
}
|
|
1359
1359
|
}
|
|
1360
|
-
}),
|
|
1360
|
+
}), Mo = (e) => ({
|
|
1361
1361
|
[e.componentCls]: {
|
|
1362
|
-
"&-simple":
|
|
1363
|
-
"&-default":
|
|
1362
|
+
"&-simple": Bo(e),
|
|
1363
|
+
"&-default": $o(e)
|
|
1364
1364
|
}
|
|
1365
|
-
}),
|
|
1365
|
+
}), Lo = (e) => {
|
|
1366
1366
|
var a, o, i, l, s;
|
|
1367
|
-
const { theme: t } =
|
|
1367
|
+
const { theme: t } = ve(e);
|
|
1368
1368
|
return {
|
|
1369
1369
|
[e.componentCls]: {
|
|
1370
1370
|
"&-icon": {
|
|
@@ -1413,7 +1413,7 @@ const Ro = (e) => {
|
|
|
1413
1413
|
}
|
|
1414
1414
|
}
|
|
1415
1415
|
};
|
|
1416
|
-
},
|
|
1416
|
+
}, Oo = ({
|
|
1417
1417
|
logo: e
|
|
1418
1418
|
}) => typeof e == "string" ? n("img", {
|
|
1419
1419
|
width: "auto",
|
|
@@ -1432,7 +1432,7 @@ const Ro = (e) => {
|
|
|
1432
1432
|
}), {
|
|
1433
1433
|
wrapSSR: o,
|
|
1434
1434
|
hashId: i
|
|
1435
|
-
} = ge("AppsLogoIcon", [
|
|
1435
|
+
} = ge("AppsLogoIcon", [Lo], a), [l, s] = Se(!1), r = he(), f = he();
|
|
1436
1436
|
return () => {
|
|
1437
1437
|
var h;
|
|
1438
1438
|
return o(n(J, null, [n("div", {
|
|
@@ -1459,7 +1459,7 @@ const Ro = (e) => {
|
|
|
1459
1459
|
class: U(`${a}-icon`, i.value, {
|
|
1460
1460
|
[`${a}-icon-active`]: l.value
|
|
1461
1461
|
})
|
|
1462
|
-
}, [n(
|
|
1462
|
+
}, [n(Ro, null, null)])]
|
|
1463
1463
|
})]));
|
|
1464
1464
|
};
|
|
1465
1465
|
}
|
|
@@ -1483,7 +1483,7 @@ const nt = (e) => {
|
|
|
1483
1483
|
class: `${e.className}-icon-image`
|
|
1484
1484
|
}, null);
|
|
1485
1485
|
if (a && typeof a == "string") {
|
|
1486
|
-
const l =
|
|
1486
|
+
const l = za({
|
|
1487
1487
|
scriptUrl: o || Z.iconfontUrl
|
|
1488
1488
|
});
|
|
1489
1489
|
return o ? n(l, {
|
|
@@ -1565,7 +1565,7 @@ const nt = (e) => {
|
|
|
1565
1565
|
});
|
|
1566
1566
|
const A = (P = d.meta) != null && P.icon ? n("span", {
|
|
1567
1567
|
class: "gx-pro-menu-item"
|
|
1568
|
-
}, [g(d.meta)]) : d.meta && g(d.meta), j = ((N = d.meta) == null ? void 0 : N.type) === "group", E = j ?
|
|
1568
|
+
}, [g(d.meta)]) : d.meta && g(d.meta), j = ((N = d.meta) == null ? void 0 : N.type) === "group", E = j ? be.ItemGroup : be.SubMenu;
|
|
1569
1569
|
return n(E, {
|
|
1570
1570
|
title: A,
|
|
1571
1571
|
key: d.path,
|
|
@@ -1585,7 +1585,7 @@ const nt = (e) => {
|
|
|
1585
1585
|
item: d,
|
|
1586
1586
|
title: w,
|
|
1587
1587
|
icon: c
|
|
1588
|
-
}) || n(
|
|
1588
|
+
}) || n(be.Item, {
|
|
1589
1589
|
disabled: (b = d.meta) == null ? void 0 : b.disabled,
|
|
1590
1590
|
key: d.path,
|
|
1591
1591
|
icon: c
|
|
@@ -1596,7 +1596,7 @@ const nt = (e) => {
|
|
|
1596
1596
|
function y(d = []) {
|
|
1597
1597
|
return d.map((C) => I(C)).filter((C) => C);
|
|
1598
1598
|
}
|
|
1599
|
-
return () => n(
|
|
1599
|
+
return () => n(be, te({
|
|
1600
1600
|
key: "Menu",
|
|
1601
1601
|
inlineIndent: 16,
|
|
1602
1602
|
mode: e.mode,
|
|
@@ -1619,9 +1619,9 @@ const nt = (e) => {
|
|
|
1619
1619
|
display: "unset",
|
|
1620
1620
|
opacity: 1
|
|
1621
1621
|
}
|
|
1622
|
-
}),
|
|
1622
|
+
}), Fo = (e) => {
|
|
1623
1623
|
var i, l, s, r, f;
|
|
1624
|
-
const t = lt(e, "sider"), { layout: a } =
|
|
1624
|
+
const t = lt(e, "sider"), { layout: a } = ve(e), o = (i = e.layout) == null ? void 0 : i.pageContainer;
|
|
1625
1625
|
return {
|
|
1626
1626
|
[`${e.proComponentsCls}-basic-layout`]: {
|
|
1627
1627
|
[`&${e.proComponentsCls}-basic-layout-wide`]: {
|
|
@@ -1726,9 +1726,9 @@ const nt = (e) => {
|
|
|
1726
1726
|
}
|
|
1727
1727
|
}
|
|
1728
1728
|
};
|
|
1729
|
-
},
|
|
1729
|
+
}, ko = (e) => {
|
|
1730
1730
|
var l;
|
|
1731
|
-
const t = `${e.antCls}-menu`, a = `${e.proComponentsCls}-menu-item`, { layout: o } =
|
|
1731
|
+
const t = `${e.antCls}-menu`, a = `${e.proComponentsCls}-menu-item`, { layout: o } = ve(e), i = (l = e == null ? void 0 : e.layout) == null ? void 0 : l.sider;
|
|
1732
1732
|
return {
|
|
1733
1733
|
[`${e.proComponentsCls}-basic-layout`]: {
|
|
1734
1734
|
[`${e.proComponentsCls}-sider`]: {
|
|
@@ -1774,8 +1774,8 @@ const nt = (e) => {
|
|
|
1774
1774
|
}
|
|
1775
1775
|
}
|
|
1776
1776
|
};
|
|
1777
|
-
},
|
|
1778
|
-
const { layout: t } =
|
|
1777
|
+
}, Po = (e) => {
|
|
1778
|
+
const { layout: t } = ve(e);
|
|
1779
1779
|
return {
|
|
1780
1780
|
[`${e.proComponentsCls}-basic-layout`]: {
|
|
1781
1781
|
[`${e.antCls}-menu`]: {
|
|
@@ -1791,7 +1791,7 @@ const nt = (e) => {
|
|
|
1791
1791
|
src: e,
|
|
1792
1792
|
alt: "logo",
|
|
1793
1793
|
style: t
|
|
1794
|
-
}, null) : typeof e == "function" ? e() : e,
|
|
1794
|
+
}, null) : typeof e == "function" ? e() : e, To = (e) => {
|
|
1795
1795
|
const {
|
|
1796
1796
|
logo: t,
|
|
1797
1797
|
logoStyle: a,
|
|
@@ -1804,7 +1804,7 @@ const nt = (e) => {
|
|
|
1804
1804
|
}, kt = /* @__PURE__ */ K({
|
|
1805
1805
|
name: "LogoContent",
|
|
1806
1806
|
props: {
|
|
1807
|
-
...
|
|
1807
|
+
...oo,
|
|
1808
1808
|
hashId: String,
|
|
1809
1809
|
baseClassName: String
|
|
1810
1810
|
},
|
|
@@ -1829,7 +1829,7 @@ const nt = (e) => {
|
|
|
1829
1829
|
}
|
|
1830
1830
|
}, [n("a", {
|
|
1831
1831
|
key: "title"
|
|
1832
|
-
}, [
|
|
1832
|
+
}, [To({
|
|
1833
1833
|
...e,
|
|
1834
1834
|
collapsed: a.value
|
|
1835
1835
|
}) || null]), (o = t.default) == null ? void 0 : o.call(t)]);
|
|
@@ -1839,7 +1839,7 @@ const nt = (e) => {
|
|
|
1839
1839
|
kt.inheritAttrs = !1;
|
|
1840
1840
|
const Mn = (e) => {
|
|
1841
1841
|
var i;
|
|
1842
|
-
const { theme: t, layout: a } =
|
|
1842
|
+
const { theme: t, layout: a } = ve(e), o = (i = e.layout) == null ? void 0 : i.sider;
|
|
1843
1843
|
return {
|
|
1844
1844
|
[`${e.componentCls}-logo`]: {
|
|
1845
1845
|
position: "relative",
|
|
@@ -1895,7 +1895,7 @@ const Mn = (e) => {
|
|
|
1895
1895
|
}
|
|
1896
1896
|
}
|
|
1897
1897
|
};
|
|
1898
|
-
},
|
|
1898
|
+
}, No = (e) => {
|
|
1899
1899
|
var a;
|
|
1900
1900
|
const t = (a = e.layout) == null ? void 0 : a.sider;
|
|
1901
1901
|
return {
|
|
@@ -1935,10 +1935,10 @@ const Mn = (e) => {
|
|
|
1935
1935
|
}
|
|
1936
1936
|
};
|
|
1937
1937
|
};
|
|
1938
|
-
function
|
|
1939
|
-
return n(
|
|
1938
|
+
function zo() {
|
|
1939
|
+
return n(Da, null, null);
|
|
1940
1940
|
}
|
|
1941
|
-
const
|
|
1941
|
+
const Do = /* @__PURE__ */ K({
|
|
1942
1942
|
name: "CollapsedIcon",
|
|
1943
1943
|
inheritAttrs: !1,
|
|
1944
1944
|
props: {
|
|
@@ -1955,7 +1955,7 @@ const Ao = /* @__PURE__ */ K({
|
|
|
1955
1955
|
}), {
|
|
1956
1956
|
wrapSSR: o,
|
|
1957
1957
|
hashId: i
|
|
1958
|
-
} = ge("SiderMenuCollapsedIcon", [
|
|
1958
|
+
} = ge("SiderMenuCollapsedIcon", [No], a);
|
|
1959
1959
|
return () => o(n("div", {
|
|
1960
1960
|
class: U(a, i.value, {
|
|
1961
1961
|
[`${a}-collapsed`]: e.collapsed,
|
|
@@ -1965,7 +1965,7 @@ const Ao = /* @__PURE__ */ K({
|
|
|
1965
1965
|
var s;
|
|
1966
1966
|
return (s = e.onClick) == null ? void 0 : s.call(e, l);
|
|
1967
1967
|
}
|
|
1968
|
-
}, [n(
|
|
1968
|
+
}, [n(zo, null, null)]));
|
|
1969
1969
|
}
|
|
1970
1970
|
}), Ln = (e, t, a) => e.sort((o, i) => {
|
|
1971
1971
|
var r, f;
|
|
@@ -1979,7 +1979,7 @@ function Pt(e) {
|
|
|
1979
1979
|
const { menuSelectKey: t } = (e == null ? void 0 : e.meta) || {};
|
|
1980
1980
|
return t || e.fullPath || e.path;
|
|
1981
1981
|
}
|
|
1982
|
-
const
|
|
1982
|
+
const Ao = (e) => {
|
|
1983
1983
|
const t = e.find((i) => {
|
|
1984
1984
|
var l;
|
|
1985
1985
|
return i.path === "/" && ((l = i.children) == null ? void 0 : l.length);
|
|
@@ -1990,7 +1990,7 @@ const Ho = (e) => {
|
|
|
1990
1990
|
getLevel: () => Mt(o)
|
|
1991
1991
|
};
|
|
1992
1992
|
};
|
|
1993
|
-
function
|
|
1993
|
+
function Ho(e) {
|
|
1994
1994
|
const t = /* @__PURE__ */ new Map(), a = [];
|
|
1995
1995
|
function o(l) {
|
|
1996
1996
|
return l.map((s) => {
|
|
@@ -2009,16 +2009,16 @@ function jo(e) {
|
|
|
2009
2009
|
return s;
|
|
2010
2010
|
}).filter((s) => s);
|
|
2011
2011
|
}
|
|
2012
|
-
const i = o(
|
|
2012
|
+
const i = o(e);
|
|
2013
2013
|
return a.length > 0 && console.warn("The menu contains duplicate names or name undefined: ", a), i;
|
|
2014
2014
|
}
|
|
2015
|
-
function
|
|
2015
|
+
function jo(e) {
|
|
2016
2016
|
return e.map((t) => {
|
|
2017
2017
|
var a;
|
|
2018
2018
|
return (a = t == null ? void 0 : t.meta) != null && a.hidden ? null : (t.redirect = t.redirect === void 0 ? On(t.children || []) || void 0 : t.redirect, t.children && delete t.children, t);
|
|
2019
2019
|
}).filter((t) => t);
|
|
2020
2020
|
}
|
|
2021
|
-
function
|
|
2021
|
+
function Eo(e, t) {
|
|
2022
2022
|
const a = (t || "").split("/").length === 2 ? t || "" : `/${(t || "").split("/")[1]}`, o = e.find((i) => i.path === a);
|
|
2023
2023
|
return t === void 0 ? [] : (o == null ? void 0 : o.children) || [];
|
|
2024
2024
|
}
|
|
@@ -2069,22 +2069,22 @@ function kn({ menuData: e, levelMenuData: t }, { path: a, name: o }) {
|
|
|
2069
2069
|
if (r = f ? (d = g == null ? void 0 : g.meta) != null && d.menuSelectKey && ((C = t.find((w) => w.path === Pt(g))) == null ? void 0 : C.key) || u : r, r) {
|
|
2070
2070
|
const w = [], c = r.split("-");
|
|
2071
2071
|
for (let m = 0; m < c.length; m += 1)
|
|
2072
|
-
w.push(
|
|
2072
|
+
w.push(ye(c).splice(0, m + 1).join("-"));
|
|
2073
2073
|
const v = l === r || s ? [] : t.filter((m) => l === m.key);
|
|
2074
2074
|
return t.filter((m) => w.some((x) => x === (m == null ? void 0 : m.key) || "")).concat(v);
|
|
2075
2075
|
}
|
|
2076
2076
|
return [];
|
|
2077
2077
|
}
|
|
2078
|
-
function
|
|
2078
|
+
function Ko(e, t) {
|
|
2079
2079
|
return e.map((a) => {
|
|
2080
|
-
const o = a.children ?
|
|
2080
|
+
const o = a.children ? Ko(a.children, t) : [];
|
|
2081
2081
|
return t(a) || o.length > 0 ? {
|
|
2082
2082
|
...a,
|
|
2083
2083
|
children: o.length > 0 ? o : void 0
|
|
2084
2084
|
} : null;
|
|
2085
2085
|
}).filter((a) => a !== null);
|
|
2086
2086
|
}
|
|
2087
|
-
const
|
|
2087
|
+
const Wo = ["left", "right"], Ke = ["left", "right", "down", "up"], Uo = ["downBig", "upBig", "leftBig", "rightBig"], _o = ["topLeft", "bottomRight", "topRight", "bottomLeft"], Xo = ["downLeft", "upRight", "downRight", "upLeft"], Tt = {
|
|
2088
2088
|
preset: [
|
|
2089
2089
|
// 预设动画配置
|
|
2090
2090
|
{ name: "back", alias: "渐近", directions: Ke },
|
|
@@ -2092,11 +2092,11 @@ const Uo = ["left", "right"], Ke = ["left", "right", "down", "up"], _o = ["downB
|
|
|
2092
2092
|
{
|
|
2093
2093
|
name: "fade",
|
|
2094
2094
|
alias: "淡化",
|
|
2095
|
-
directions: Ke.concat(
|
|
2095
|
+
directions: Ke.concat(Uo).concat(_o).concat("default")
|
|
2096
2096
|
},
|
|
2097
2097
|
{ name: "flip", alias: "翻转", directions: ["x", "y"] },
|
|
2098
|
-
{ name: "lightSpeed", alias: "光速", directions:
|
|
2099
|
-
{ name: "rotate", alias: "旋转", directions:
|
|
2098
|
+
{ name: "lightSpeed", alias: "光速", directions: Wo },
|
|
2099
|
+
{ name: "rotate", alias: "旋转", directions: Xo.concat("default") },
|
|
2100
2100
|
{ name: "roll", alias: "翻滚", directions: ["default"] },
|
|
2101
2101
|
{ name: "zoom", alias: "缩放", directions: Ke.concat("default") },
|
|
2102
2102
|
{ name: "slide", alias: "滑动", directions: Ke }
|
|
@@ -2117,15 +2117,15 @@ function Pn({ type: e, token: t, dark: a, staticToken: o }) {
|
|
|
2117
2117
|
const i = (f = t.layout) == null ? void 0 : f[e], l = rt(e, t, ((h = t.layout) == null ? void 0 : h.key) || ""), s = Object.keys(ht).reduce((g, u) => (g[u] = i[ht[u]] || l[ht[u]], g), {}), r = Object.assign(o, Object.fromEntries(Object.entries(s).filter(([g, u]) => u !== void 0)));
|
|
2118
2118
|
return a && e === "header" && (r.colorActiveBarHeight = 0), r;
|
|
2119
2119
|
}
|
|
2120
|
-
function
|
|
2120
|
+
function Vo(e) {
|
|
2121
2121
|
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 };
|
|
2122
2122
|
}
|
|
2123
|
-
function
|
|
2123
|
+
function Go(e) {
|
|
2124
2124
|
const t = ["showTabsBar", "fixedMultiTab", "fixSiderbar", "fixedHeader", "splitMenus"];
|
|
2125
2125
|
let o = Object.keys(e).reduce((i, l) => (i[l] = !1, i), {});
|
|
2126
2126
|
return o = le(o, t), 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;
|
|
2127
2127
|
}
|
|
2128
|
-
function
|
|
2128
|
+
function Yo(e, t) {
|
|
2129
2129
|
const a = /* @__PURE__ */ new Set();
|
|
2130
2130
|
return e.filter((o) => a.has(o[t]) ? !1 : (a.add(o[t]), !0));
|
|
2131
2131
|
}
|
|
@@ -2133,8 +2133,8 @@ function Xt(e) {
|
|
|
2133
2133
|
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Oe(e);
|
|
2134
2134
|
}
|
|
2135
2135
|
const {
|
|
2136
|
-
Sider:
|
|
2137
|
-
} = Ue, Tn = (e) => e ? n(
|
|
2136
|
+
Sider: qo
|
|
2137
|
+
} = Ue, Tn = (e) => e ? n(Aa, null, null) : n(Ha, null, null), Vt = /* @__PURE__ */ K({
|
|
2138
2138
|
props: ce,
|
|
2139
2139
|
inheritAttrs: !1,
|
|
2140
2140
|
setup(e) {
|
|
@@ -2168,11 +2168,11 @@ const {
|
|
|
2168
2168
|
}), z = R(() => e.layout === "wide"), $ = R(() => e.layout === "mix" && !e.isMobile && e.splitMenus), b = R(() => u.value === "side" || u.value === "simple"), L = R(() => e.isMobile || z.value ? !1 : C.value), A = R(() => (e.layout === "mix" || z.value) && "light" || s.value.theme), {
|
|
2169
2169
|
wrapSSR: j,
|
|
2170
2170
|
hashId: E
|
|
2171
|
-
} = ge("ProLayoutSiderMenu", [
|
|
2171
|
+
} = ge("ProLayoutSiderMenu", [Po, ko, Fo, Mn, (W) => {
|
|
2172
2172
|
var Re, $e;
|
|
2173
2173
|
const Q = (Re = W == null ? void 0 : W.layout) == null ? void 0 : Re.sider, G = rt("sider", W, ($e = W.layout) == null ? void 0 : $e.key), {
|
|
2174
2174
|
dark: fe
|
|
2175
|
-
} =
|
|
2175
|
+
} = ve(W), Ie = lt(W, "sider");
|
|
2176
2176
|
return {
|
|
2177
2177
|
[`${W.proComponentsCls}-basic-layout`]: {
|
|
2178
2178
|
[W.componentCls]: {
|
|
@@ -2197,13 +2197,13 @@ const {
|
|
|
2197
2197
|
const ee = bt(() => {
|
|
2198
2198
|
var Q;
|
|
2199
2199
|
if (N.value === !1) return null;
|
|
2200
|
-
const W = n(
|
|
2200
|
+
const W = n(Do, {
|
|
2201
2201
|
isMobile: I.value,
|
|
2202
2202
|
collapsed: c.value,
|
|
2203
2203
|
onClick: () => _()
|
|
2204
2204
|
}, null);
|
|
2205
2205
|
return N.value ? (Q = N.value) == null ? void 0 : Q.call(N, c.value, W) : W;
|
|
2206
|
-
}, [() => e.collapsedButtonRender, () => e.isMobile, () => e.collapsed]),
|
|
2206
|
+
}, [() => e.collapsedButtonRender, () => e.isMobile, () => e.collapsed]), pe = (W) => {
|
|
2207
2207
|
var Q;
|
|
2208
2208
|
if (e.onSelect) {
|
|
2209
2209
|
const G = W.selectedKeys;
|
|
@@ -2242,7 +2242,7 @@ const {
|
|
|
2242
2242
|
var M;
|
|
2243
2243
|
return e.onOpenKeys && ((M = e.onOpenKeys) == null ? void 0 : M.call(e, p));
|
|
2244
2244
|
},
|
|
2245
|
-
onSelect:
|
|
2245
|
+
onSelect: pe
|
|
2246
2246
|
}, null);
|
|
2247
2247
|
return $.value && ue(o.value).length === 0 && e.suppressSiderWhenMenuEmpty || ne.value.length === 0 && e.suppressSiderWhenMenuEmpty ? null : j(n(Rt, {
|
|
2248
2248
|
theme: {
|
|
@@ -2270,7 +2270,7 @@ const {
|
|
|
2270
2270
|
minWidth: `${me.value}px`,
|
|
2271
2271
|
transition: "all 0.2s ease 0s"
|
|
2272
2272
|
}
|
|
2273
|
-
}, null), n(
|
|
2273
|
+
}, null), n(qo, {
|
|
2274
2274
|
collapsible: !0,
|
|
2275
2275
|
trigger: null,
|
|
2276
2276
|
class: O.value,
|
|
@@ -2303,14 +2303,14 @@ const {
|
|
|
2303
2303
|
class: U(`${B}-menu-container`)
|
|
2304
2304
|
}, [x.value && ((M = x.value) == null ? void 0 : M.call(x, e, Re)) || Re]), e.layout !== "wide" && n(J, null, [Te(fe) && it(fe) && fe.length > 0 && n("div", {
|
|
2305
2305
|
class: `${B}-links ${E.value}`
|
|
2306
|
-
}, [n(
|
|
2306
|
+
}, [n(be, {
|
|
2307
2307
|
theme: A.value,
|
|
2308
2308
|
inlineIndent: 16,
|
|
2309
2309
|
class: `${B}-link-menu ${E.value}`,
|
|
2310
2310
|
selectedKeys: [],
|
|
2311
2311
|
openKeys: [],
|
|
2312
2312
|
mode: "inline"
|
|
2313
|
-
}, Xt(W = (fe || []).map((D, H) => n(
|
|
2313
|
+
}, Xt(W = (fe || []).map((D, H) => n(be.Item, {
|
|
2314
2314
|
class: `${B}-link ${E.value}`,
|
|
2315
2315
|
key: H
|
|
2316
2316
|
}, Xt(D) ? D : {
|
|
@@ -2330,15 +2330,15 @@ const {
|
|
|
2330
2330
|
}));
|
|
2331
2331
|
};
|
|
2332
2332
|
}
|
|
2333
|
-
}), { provideContext:
|
|
2333
|
+
}), { provideContext: Qo, useInjectContext: Nn } = Lt("pro-layou-menu"), zn = {
|
|
2334
2334
|
...ce,
|
|
2335
2335
|
...vn
|
|
2336
|
-
},
|
|
2336
|
+
}, Zo = ["mix", "top", "wide"], Jo = (e, t) => e === !1 ? null : e ? e(t, null) : t, ei = /* @__PURE__ */ K({
|
|
2337
2337
|
props: zn,
|
|
2338
2338
|
setup(e) {
|
|
2339
2339
|
return () => e.rightContentRender && typeof e.rightContentRender == "function" ? e.rightContentRender(e) : n(J, null, null);
|
|
2340
2340
|
}
|
|
2341
|
-
}),
|
|
2341
|
+
}), ti = /* @__PURE__ */ K({
|
|
2342
2342
|
props: zn,
|
|
2343
2343
|
inheritAttrs: !1,
|
|
2344
2344
|
setup(e, {
|
|
@@ -2359,7 +2359,7 @@ const {
|
|
|
2359
2359
|
}), {
|
|
2360
2360
|
wrapSSR: I,
|
|
2361
2361
|
hashId: y
|
|
2362
|
-
} = ge("ProGlobalHeader", [
|
|
2362
|
+
} = ge("ProGlobalHeader", [wo, Mn], u), d = R(() => ({
|
|
2363
2363
|
[`${y.value}`]: !0,
|
|
2364
2364
|
[`${u}`]: !0,
|
|
2365
2365
|
[`${u}-${e.layout}`]: !0
|
|
@@ -2430,7 +2430,7 @@ const {
|
|
|
2430
2430
|
onOpenKeys: (P) => C("openKeys", P)
|
|
2431
2431
|
}, null)]
|
|
2432
2432
|
})]);
|
|
2433
|
-
return n(J, null, [m, e.layout !== "simple" && n(
|
|
2433
|
+
return n(J, null, [m, e.layout !== "simple" && n(ei, te(e, {
|
|
2434
2434
|
extraRightDropdownRender: e.extraRightDropdownRender,
|
|
2435
2435
|
rightContentRender: e.rightContentRender
|
|
2436
2436
|
}), null)]);
|
|
@@ -2446,10 +2446,10 @@ const {
|
|
|
2446
2446
|
}, [n("a", null, [Bn(e.logo, e.logoStyle)])]);
|
|
2447
2447
|
return I(n("div", {
|
|
2448
2448
|
class: d.value
|
|
2449
|
-
}, [e.isMobile ? n(J, null, [
|
|
2449
|
+
}, [e.isMobile ? n(J, null, [Jo(e.logoContentRender, m), e.isMobile && ue(c) && n("span", {
|
|
2450
2450
|
class: `${u}-collapsed-button ${y.value}`,
|
|
2451
2451
|
onClick: w
|
|
2452
|
-
}, [ue(c)(e.collapsed)]), v()]) :
|
|
2452
|
+
}, [ue(c)(e.collapsed)]), v()]) : Zo.includes(e.layout) ? n("div", {
|
|
2453
2453
|
class: `${u}-main ${y.value}`,
|
|
2454
2454
|
style: {
|
|
2455
2455
|
width: Ne(e.headerMainWidth ? e.headerMainWidth : e.layout === "wide" ? e.wideWidth : void 0)
|
|
@@ -2468,7 +2468,7 @@ const {
|
|
|
2468
2468
|
};
|
|
2469
2469
|
}
|
|
2470
2470
|
});
|
|
2471
|
-
function
|
|
2471
|
+
function ni(e) {
|
|
2472
2472
|
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Oe(e);
|
|
2473
2473
|
}
|
|
2474
2474
|
const {
|
|
@@ -2556,8 +2556,8 @@ const {
|
|
|
2556
2556
|
[`${I}`]: !0,
|
|
2557
2557
|
[`${I}-${g.value.key}`]: !0,
|
|
2558
2558
|
[`${y}`]: C.value
|
|
2559
|
-
})), P = R(() => C.value && !t.value), N = R(() => l.value && o.value === "mix" ?
|
|
2560
|
-
const b = n(
|
|
2559
|
+
})), P = R(() => C.value && !t.value), N = R(() => l.value && o.value === "mix" ? jo(ye(f.value)) : o.value === "top" ? f.value : []), B = R(() => w.value && P.value ? `calc(100% - ${e.collapsed ? e.collapsedWidth : e.siderWidth}px)` : "100%"), z = R(() => C.value ? 0 : void 0), $ = () => {
|
|
2560
|
+
const b = n(ti, te(e, {
|
|
2561
2561
|
mode: "horizontal",
|
|
2562
2562
|
theme: c.value,
|
|
2563
2563
|
onCollapse: i.value,
|
|
@@ -2585,7 +2585,7 @@ const {
|
|
|
2585
2585
|
right: z.value,
|
|
2586
2586
|
marginTop: h.value ? `-${u.value}px` : void 0
|
|
2587
2587
|
}
|
|
2588
|
-
},
|
|
2588
|
+
}, ni(b = $()) ? b : {
|
|
2589
2589
|
default: () => [b]
|
|
2590
2590
|
})]));
|
|
2591
2591
|
};
|
|
@@ -2665,7 +2665,7 @@ function Dn({ event: e, isDark: t, value: a, toggle: o }) {
|
|
|
2665
2665
|
});
|
|
2666
2666
|
});
|
|
2667
2667
|
}
|
|
2668
|
-
const
|
|
2668
|
+
const ai = `::view-transition-new(root),::view-transition-old(root) {
|
|
2669
2669
|
animation: none;
|
|
2670
2670
|
mix-blend-mode: normal;
|
|
2671
2671
|
}
|
|
@@ -2720,7 +2720,7 @@ window._iconfont_svg_string_4694134 = '<svg><symbol id="icon-fixed" viewBox="0 0
|
|
|
2720
2720
|
h();
|
|
2721
2721
|
}
|
|
2722
2722
|
})(window);
|
|
2723
|
-
const
|
|
2723
|
+
const oi = /* @__PURE__ */ K({
|
|
2724
2724
|
name: "BaseProLayout",
|
|
2725
2725
|
inheritAttrs: !1,
|
|
2726
2726
|
components: {
|
|
@@ -2736,11 +2736,11 @@ const ii = /* @__PURE__ */ K({
|
|
|
2736
2736
|
suffixCls: "basic-layout",
|
|
2737
2737
|
isPor: !0
|
|
2738
2738
|
});
|
|
2739
|
-
sa(
|
|
2739
|
+
sa(ai);
|
|
2740
2740
|
const {
|
|
2741
2741
|
wrapSSR: o,
|
|
2742
2742
|
hashId: i
|
|
2743
|
-
} = ge("ProLayout", [
|
|
2743
|
+
} = ge("ProLayout", [uo, co], a), l = rn(), s = Nn(), {
|
|
2744
2744
|
token: r,
|
|
2745
2745
|
dark: f
|
|
2746
2746
|
} = ke(), h = he(vt().uuid(10)), g = he(!1), u = he(!1), I = he(!1), y = xe({
|
|
@@ -2765,7 +2765,7 @@ const ii = /* @__PURE__ */ K({
|
|
|
2765
2765
|
})), x = R(() => (l.value === "sm" || l.value === "xs") && !e.disableMobile && !v.value), P = R(() => ({
|
|
2766
2766
|
...e.breadcrumb || {},
|
|
2767
2767
|
itemRender: se(t, e, "pageContainerProps:breadcrumbRender")
|
|
2768
|
-
})), N = R(() => C.value && e.selectedKeys ?
|
|
2768
|
+
})), N = R(() => C.value && e.selectedKeys ? Eo(w.value, e.selectedKeys[0]) : []), B = R(() => _e(e.headerHeight) ? e.headerHeight : Z.headerHeight), z = bt(() => I.value ? 0 : _e(e.siderWidth) ? e.siderWidth : e.layout === "mix" ? 215 : e.layout === "wide" ? 208 : 256, [() => e.layout, () => e.siderWidth, () => I.value]);
|
|
2769
2769
|
ae([() => e.layout, () => e.theme], ([b]) => {
|
|
2770
2770
|
(b === "wide" || b === "simple") && (I.value = !1), h.value = vt().uuid(10);
|
|
2771
2771
|
}), ae(() => v.value, (b) => {
|
|
@@ -2785,8 +2785,8 @@ const ii = /* @__PURE__ */ K({
|
|
|
2785
2785
|
headerHeight: B.value,
|
|
2786
2786
|
matchMenuKeys: L || []
|
|
2787
2787
|
}), null);
|
|
2788
|
-
return
|
|
2789
|
-
...le(Ye(e),
|
|
2788
|
+
return ro({
|
|
2789
|
+
...le(Ye(e), lo),
|
|
2790
2790
|
getPrefixCls: ie,
|
|
2791
2791
|
menuData: w,
|
|
2792
2792
|
menuState: m,
|
|
@@ -2817,7 +2817,7 @@ const ii = /* @__PURE__ */ K({
|
|
|
2817
2817
|
var fe;
|
|
2818
2818
|
const b = sn(In, t, e, {
|
|
2819
2819
|
render: !0
|
|
2820
|
-
}), L = se(t, e, "collapsedButtonRender"), A = se(t, e, "footerRender"), j = se(t, e, "headerRender"), E = se(t, e, "headerContentRender"), ne = se(t, e, "rightContentRender"), me = se(t, e, "tabsRouteItemRender"), O = se(t, e, "menuItemRender"), F = se(t, e, "menuHeaderRender"), k = se(t, e, "logoContentRender"), _ = se(t, e, "menuFooterRender"), ee = se(t, e, "subMenuItemRender"),
|
|
2820
|
+
}), L = se(t, e, "collapsedButtonRender"), A = se(t, e, "footerRender"), j = se(t, e, "headerRender"), E = se(t, e, "headerContentRender"), ne = se(t, e, "rightContentRender"), me = se(t, e, "tabsRouteItemRender"), O = se(t, e, "menuItemRender"), F = se(t, e, "menuHeaderRender"), k = se(t, e, "logoContentRender"), _ = se(t, e, "menuFooterRender"), ee = se(t, e, "subMenuItemRender"), pe = se(t, e, "menuContentRender"), W = $({
|
|
2821
2821
|
...e,
|
|
2822
2822
|
...le(b, Sn),
|
|
2823
2823
|
menuItemRender: O,
|
|
@@ -2860,12 +2860,12 @@ const ii = /* @__PURE__ */ K({
|
|
|
2860
2860
|
menuHeaderRender: F,
|
|
2861
2861
|
logoContentRender: k,
|
|
2862
2862
|
menuFooterRender: _,
|
|
2863
|
-
menuContentRender:
|
|
2863
|
+
menuContentRender: pe,
|
|
2864
2864
|
collapsedButtonRender: L
|
|
2865
2865
|
}, le(b, xn)), null), n(Ue, {
|
|
2866
2866
|
style: y
|
|
2867
2867
|
}, {
|
|
2868
|
-
default: () => [e.layout !== "simple" && B.value > 0 && W, n(Ft, te(le(e,
|
|
2868
|
+
default: () => [e.layout !== "simple" && B.value > 0 && W, n(Ft, te(le(e, fo), {
|
|
2869
2869
|
hashId: i.value,
|
|
2870
2870
|
prefixCls: a,
|
|
2871
2871
|
siderWidth: z.value,
|
|
@@ -2884,7 +2884,7 @@ const ii = /* @__PURE__ */ K({
|
|
|
2884
2884
|
}), b.pageLockRender, e.layout === "wide" && G])]));
|
|
2885
2885
|
};
|
|
2886
2886
|
}
|
|
2887
|
-
}),
|
|
2887
|
+
}), us = /* @__PURE__ */ K({
|
|
2888
2888
|
name: "GProLayout",
|
|
2889
2889
|
compatConfig: {
|
|
2890
2890
|
MODE: 3
|
|
@@ -2909,13 +2909,13 @@ const ii = /* @__PURE__ */ K({
|
|
|
2909
2909
|
}), s = R(() => {
|
|
2910
2910
|
var I, y;
|
|
2911
2911
|
let u = e.token || {};
|
|
2912
|
-
return (y = (I = u.layout) == null ? void 0 : I.header) != null && y.heightLayoutHeader || (u =
|
|
2912
|
+
return (y = (I = u.layout) == null ? void 0 : I.header) != null && y.heightLayoutHeader || (u = Ce(u, {
|
|
2913
2913
|
layout: {
|
|
2914
2914
|
header: {
|
|
2915
2915
|
heightLayoutHeader: e.headerHeight
|
|
2916
2916
|
}
|
|
2917
2917
|
}
|
|
2918
|
-
})),
|
|
2918
|
+
})), Ce(u, {
|
|
2919
2919
|
layout: {
|
|
2920
2920
|
key: `${un(o.value, e.theme)}:${e.layout}`
|
|
2921
2921
|
}
|
|
@@ -2936,11 +2936,11 @@ const ii = /* @__PURE__ */ K({
|
|
|
2936
2936
|
}
|
|
2937
2937
|
} : void 0
|
|
2938
2938
|
}, {
|
|
2939
|
-
default: () => [n(
|
|
2939
|
+
default: () => [n(Ca, {
|
|
2940
2940
|
token: s.value,
|
|
2941
2941
|
dark: o.value
|
|
2942
2942
|
}, {
|
|
2943
|
-
default: () => [n(
|
|
2943
|
+
default: () => [n(oi, te(we(e, ["onSelect", "onOpenKeys", "onCollapse", "onTabsChange", "onDarkChange", "dark"]), {
|
|
2944
2944
|
dark: i.value,
|
|
2945
2945
|
onSelect: h,
|
|
2946
2946
|
onOpenKeys: f,
|
|
@@ -3005,7 +3005,7 @@ const ii = /* @__PURE__ */ K({
|
|
|
3005
3005
|
onLockOpenChange: Function,
|
|
3006
3006
|
onSettingsOpenChange: Function,
|
|
3007
3007
|
"onUpdate:settingsOpen": Function
|
|
3008
|
-
}),
|
|
3008
|
+
}), ii = An(), Hn = {
|
|
3009
3009
|
hashId: String,
|
|
3010
3010
|
className: String
|
|
3011
3011
|
}, jn = {
|
|
@@ -3016,8 +3016,8 @@ const ii = /* @__PURE__ */ K({
|
|
|
3016
3016
|
onOpenChange: Function,
|
|
3017
3017
|
"onUpdate:open": Function,
|
|
3018
3018
|
cryptoFn: Function,
|
|
3019
|
-
...le(
|
|
3020
|
-
},
|
|
3019
|
+
...le(ii, ["name", "avatar"])
|
|
3020
|
+
}, li = {
|
|
3021
3021
|
...jn,
|
|
3022
3022
|
shortsKey: {
|
|
3023
3023
|
type: Object,
|
|
@@ -3025,14 +3025,14 @@ const ii = /* @__PURE__ */ K({
|
|
|
3025
3025
|
disabeld: !1
|
|
3026
3026
|
})
|
|
3027
3027
|
}
|
|
3028
|
-
},
|
|
3028
|
+
}, ri = new S("fadeIn", {
|
|
3029
3029
|
from: {
|
|
3030
3030
|
opacity: 0
|
|
3031
3031
|
},
|
|
3032
3032
|
to: {
|
|
3033
3033
|
opacity: 1
|
|
3034
3034
|
}
|
|
3035
|
-
}),
|
|
3035
|
+
}), si = (e) => ({
|
|
3036
3036
|
[e.componentCls]: {
|
|
3037
3037
|
"&-user-form": {
|
|
3038
3038
|
[`${e.antCls}-form-item`]: {
|
|
@@ -3062,7 +3062,7 @@ const ii = /* @__PURE__ */ K({
|
|
|
3062
3062
|
"&-enter": {
|
|
3063
3063
|
animationDuration: ".3s",
|
|
3064
3064
|
animationFillMode: "both",
|
|
3065
|
-
animationName:
|
|
3065
|
+
animationName: ri
|
|
3066
3066
|
},
|
|
3067
3067
|
"&-head": {
|
|
3068
3068
|
display: "flex",
|
|
@@ -3135,10 +3135,10 @@ const ii = /* @__PURE__ */ K({
|
|
|
3135
3135
|
}
|
|
3136
3136
|
}
|
|
3137
3137
|
});
|
|
3138
|
-
function
|
|
3138
|
+
function ui(e) {
|
|
3139
3139
|
const t = xe({
|
|
3140
3140
|
password: ""
|
|
3141
|
-
}), { validate: a, resetFields: o, validateInfos: i } =
|
|
3141
|
+
}), { validate: a, resetFields: o, validateInfos: i } = Sa(t, xe({
|
|
3142
3142
|
password: [
|
|
3143
3143
|
{
|
|
3144
3144
|
validator: (l, s) => (e && s ? e == null ? void 0 : e(s) : s) ? Promise.resolve() : Promise.reject(e && s ? "密码错误" : "请输入锁屏密码")
|
|
@@ -3169,7 +3169,7 @@ const En = /* @__PURE__ */ K({
|
|
|
3169
3169
|
validate: i,
|
|
3170
3170
|
validateInfos: l,
|
|
3171
3171
|
resetFields: s
|
|
3172
|
-
} =
|
|
3172
|
+
} = ui(e.validator), r = (g) => {
|
|
3173
3173
|
Object.assign(o, g);
|
|
3174
3174
|
}, f = (g = "", u) => {
|
|
3175
3175
|
const I = g ? `${e.className}-${g}` : e.className;
|
|
@@ -3220,7 +3220,7 @@ const En = /* @__PURE__ */ K({
|
|
|
3220
3220
|
}
|
|
3221
3221
|
});
|
|
3222
3222
|
Be.locale("zh-cn");
|
|
3223
|
-
function
|
|
3223
|
+
function ci() {
|
|
3224
3224
|
const e = xe({
|
|
3225
3225
|
hh: "",
|
|
3226
3226
|
mm: "",
|
|
@@ -3234,7 +3234,7 @@ function di() {
|
|
|
3234
3234
|
}
|
|
3235
3235
|
return requestAnimationFrame(t), e;
|
|
3236
3236
|
}
|
|
3237
|
-
const
|
|
3237
|
+
const di = /* @__PURE__ */ K({
|
|
3238
3238
|
name: "PageLock",
|
|
3239
3239
|
props: {
|
|
3240
3240
|
...Hn,
|
|
@@ -3245,7 +3245,7 @@ const mi = /* @__PURE__ */ K({
|
|
|
3245
3245
|
const [t, a] = Ae(!1, {
|
|
3246
3246
|
value: R(() => oe(e.open) ? e.open : !1),
|
|
3247
3247
|
onChange: e.onOpenChange
|
|
3248
|
-
}), [o, i] = Se(!1), l =
|
|
3248
|
+
}), [o, i] = Se(!1), l = ci(), s = (r = "", f) => {
|
|
3249
3249
|
const h = r ? `${e.className}-popup-${r}` : `${e.className}-popup`;
|
|
3250
3250
|
return U(h, e.hashId, f || "");
|
|
3251
3251
|
};
|
|
@@ -3306,9 +3306,9 @@ const mi = /* @__PURE__ */ K({
|
|
|
3306
3306
|
class: s("time-card")
|
|
3307
3307
|
}, [l.mm])])])]) : null;
|
|
3308
3308
|
}
|
|
3309
|
-
}),
|
|
3309
|
+
}), cs = /* @__PURE__ */ K({
|
|
3310
3310
|
name: "PageLock",
|
|
3311
|
-
props:
|
|
3311
|
+
props: li,
|
|
3312
3312
|
emits: ["update:open", "openChange"],
|
|
3313
3313
|
setup(e) {
|
|
3314
3314
|
const t = ie({
|
|
@@ -3317,7 +3317,7 @@ const mi = /* @__PURE__ */ K({
|
|
|
3317
3317
|
}), a = re(), {
|
|
3318
3318
|
wrapSSR: o,
|
|
3319
3319
|
hashId: i
|
|
3320
|
-
} = ge("ProPageLock", [
|
|
3320
|
+
} = ge("ProPageLock", [si], t), l = ot(t, {
|
|
3321
3321
|
open: !1,
|
|
3322
3322
|
password: ""
|
|
3323
3323
|
}), [s, r, f] = Ae(!1, {
|
|
@@ -3352,14 +3352,14 @@ const mi = /* @__PURE__ */ K({
|
|
|
3352
3352
|
var m;
|
|
3353
3353
|
r(!1), y(""), (m = u.value) == null || m.resetFields();
|
|
3354
3354
|
};
|
|
3355
|
-
return () => o(n(J, null, [n(
|
|
3355
|
+
return () => o(n(J, null, [n(di, te(le(e, ["name", "avatar"]), {
|
|
3356
3356
|
open: h.value,
|
|
3357
3357
|
hashId: i.value,
|
|
3358
3358
|
className: t,
|
|
3359
3359
|
password: l.value.password,
|
|
3360
3360
|
cryptoFn: I,
|
|
3361
3361
|
onOpenChange: g
|
|
3362
|
-
}), null), n(
|
|
3362
|
+
}), null), n(to, {
|
|
3363
3363
|
width: 400,
|
|
3364
3364
|
type: "normal",
|
|
3365
3365
|
title: "锁定屏幕",
|
|
@@ -3377,8 +3377,8 @@ const mi = /* @__PURE__ */ K({
|
|
|
3377
3377
|
}), null)]
|
|
3378
3378
|
})]));
|
|
3379
3379
|
}
|
|
3380
|
-
}),
|
|
3381
|
-
const { dark: t } =
|
|
3380
|
+
}), mi = (e) => {
|
|
3381
|
+
const { dark: t } = ve(e);
|
|
3382
3382
|
return {
|
|
3383
3383
|
[e.componentCls]: {
|
|
3384
3384
|
display: "flex",
|
|
@@ -3468,23 +3468,23 @@ const mi = /* @__PURE__ */ K({
|
|
|
3468
3468
|
}
|
|
3469
3469
|
};
|
|
3470
3470
|
};
|
|
3471
|
-
function
|
|
3471
|
+
function fi(e) {
|
|
3472
3472
|
return Fe("SearchPageInput", (t) => {
|
|
3473
3473
|
const a = je(t, {});
|
|
3474
|
-
return [
|
|
3474
|
+
return [mi(a)];
|
|
3475
3475
|
}, e);
|
|
3476
3476
|
}
|
|
3477
|
-
function
|
|
3477
|
+
function hi(e, t) {
|
|
3478
3478
|
const a = /* @__PURE__ */ new Map();
|
|
3479
3479
|
return e.filter((o) => {
|
|
3480
3480
|
const i = o[t];
|
|
3481
3481
|
return a.has(i) ? !1 : (a.set(i, o), !0);
|
|
3482
3482
|
});
|
|
3483
3483
|
}
|
|
3484
|
-
function
|
|
3484
|
+
function gi(e) {
|
|
3485
3485
|
return e ? /^https?:\/\/.*$/.test(e) : !1;
|
|
3486
3486
|
}
|
|
3487
|
-
const
|
|
3487
|
+
const yi = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\", "]", "^", "{", "|", "}"]), bi = ({
|
|
3488
3488
|
className: e,
|
|
3489
3489
|
value: t
|
|
3490
3490
|
}) => t ? n(jt, {
|
|
@@ -3492,7 +3492,7 @@ const bi = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
|
|
|
3492
3492
|
description: `未找到搜索结果 "${t}"`
|
|
3493
3493
|
}, null) : n("div", {
|
|
3494
3494
|
class: e
|
|
3495
|
-
}, [V("没有搜索历史")]),
|
|
3495
|
+
}, [V("没有搜索历史")]), vi = /* @__PURE__ */ K({
|
|
3496
3496
|
props: {
|
|
3497
3497
|
...zt,
|
|
3498
3498
|
className: String,
|
|
@@ -3523,7 +3523,7 @@ const bi = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
|
|
|
3523
3523
|
$ = $.map((L) => {
|
|
3524
3524
|
var A, j;
|
|
3525
3525
|
return ((j = (A = e.dataSource.find((E) => (E == null ? void 0 : E.key) === L)) == null ? void 0 : A.meta) == null ? void 0 : j.title) || "";
|
|
3526
|
-
}), m.push(
|
|
3526
|
+
}), m.push(Ce(x, {
|
|
3527
3527
|
meta: {
|
|
3528
3528
|
title: $.join("**")
|
|
3529
3529
|
}
|
|
@@ -3551,13 +3551,13 @@ const bi = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
|
|
|
3551
3551
|
if (c.length === 0 || v < 0)
|
|
3552
3552
|
return;
|
|
3553
3553
|
const m = c[v];
|
|
3554
|
-
m && (a.value.push(m), r(), await St(),
|
|
3554
|
+
m && (a.value.push(m), r(), await St(), gi(m.path) ? window.open(m.path, "_blank") : t.push({
|
|
3555
3555
|
path: m.path,
|
|
3556
3556
|
replace: !0
|
|
3557
3557
|
}));
|
|
3558
3558
|
}
|
|
3559
3559
|
function g(c) {
|
|
3560
|
-
return
|
|
3560
|
+
return yi.has(c) ? `\\${c}` : c;
|
|
3561
3561
|
}
|
|
3562
3562
|
function u(c) {
|
|
3563
3563
|
const v = [...c].map((m) => g(m)).join(".*");
|
|
@@ -3583,7 +3583,7 @@ const bi = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
|
|
|
3583
3583
|
class: w("panel-title")
|
|
3584
3584
|
}, [V("搜索历史")]), n("div", {
|
|
3585
3585
|
class: w("panel-list")
|
|
3586
|
-
}, [
|
|
3586
|
+
}, [hi(i.value, "path").map((c, v) => {
|
|
3587
3587
|
var m, x, P, N;
|
|
3588
3588
|
return n("div", {
|
|
3589
3589
|
key: c.name,
|
|
@@ -3594,31 +3594,31 @@ const bi = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
|
|
|
3594
3594
|
}, [n("div", {
|
|
3595
3595
|
class: w("panel-item-left")
|
|
3596
3596
|
}, [n(nt, te(c.meta || {}, {
|
|
3597
|
-
icon: ((m = c.meta) == null ? void 0 : m.icon) || n(
|
|
3597
|
+
icon: ((m = c.meta) == null ? void 0 : m.icon) || n(ja, null, null),
|
|
3598
3598
|
classNames: w("panel-icon")
|
|
3599
3599
|
}), null), (N = (P = (x = c.meta) == null ? void 0 : x.title) == null ? void 0 : P.split("**")) == null ? void 0 : N.map((B, z) => {
|
|
3600
3600
|
var $, b, L;
|
|
3601
|
-
return n(J, null, [B, z < ((L = (b = ($ = c.meta) == null ? void 0 : $.title) == null ? void 0 : b.split("**")) == null ? void 0 : L.length) - 1 && n(
|
|
3601
|
+
return n(J, null, [B, z < ((L = (b = ($ = c.meta) == null ? void 0 : $.title) == null ? void 0 : b.split("**")) == null ? void 0 : L.length) - 1 && n(Ea, null, null)]);
|
|
3602
3602
|
}), n("span", null, null)]), n(st, {
|
|
3603
3603
|
onClick: (B) => C(B, v)
|
|
3604
3604
|
}, null)]);
|
|
3605
|
-
})])]) : n(
|
|
3605
|
+
})])]) : n(bi, {
|
|
3606
3606
|
className: w("result"),
|
|
3607
3607
|
value: e.keyword
|
|
3608
3608
|
}, null)]);
|
|
3609
3609
|
}
|
|
3610
|
-
}),
|
|
3610
|
+
}), pi = ({
|
|
3611
3611
|
className: e,
|
|
3612
3612
|
hashId: t
|
|
3613
3613
|
}) => n("div", {
|
|
3614
3614
|
class: U(`${e}-footer`, t)
|
|
3615
3615
|
}, [n("div", {
|
|
3616
3616
|
class: U(`${e}-footer-icon`, t)
|
|
3617
|
-
}, [n(
|
|
3617
|
+
}, [n(Ka, null, null), V("选择")]), n("div", {
|
|
3618
3618
|
class: U(`${e}-footer-icon`, t)
|
|
3619
3619
|
}, [n(Wt, null, null), n(Wt, {
|
|
3620
3620
|
rotate: 180
|
|
3621
|
-
}, null), V("导航")])]),
|
|
3621
|
+
}, null), V("导航")])]), Ci = /* @__PURE__ */ K({
|
|
3622
3622
|
name: "SearchPageInput",
|
|
3623
3623
|
props: {
|
|
3624
3624
|
...zt,
|
|
@@ -3638,7 +3638,7 @@ const bi = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
|
|
|
3638
3638
|
}), {
|
|
3639
3639
|
wrapSSR: a,
|
|
3640
3640
|
hashId: o
|
|
3641
|
-
} =
|
|
3641
|
+
} = fi(t), [i, l] = Se(""), [s, r] = Se(!1), f = re(), h = ln(), g = ba() ? h["ctrl+k"] : h["cmd+k"], u = he(), I = R(() => {
|
|
3642
3642
|
var d;
|
|
3643
3643
|
return Mt(e.dataSource || ((d = f == null ? void 0 : f.menuData) == null ? void 0 : d.value));
|
|
3644
3644
|
});
|
|
@@ -3665,7 +3665,7 @@ const bi = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
|
|
|
3665
3665
|
class: U(`${t}-word`, o.value)
|
|
3666
3666
|
}, [V("搜索")]), n("span", {
|
|
3667
3667
|
class: U(`${t}-word-icon`, o.value)
|
|
3668
|
-
}, [V("⌘ "), n("kbd", null, [V("K")])])]), n(
|
|
3668
|
+
}, [V("⌘ "), n("kbd", null, [V("K")])])]), n(eo, {
|
|
3669
3669
|
class: U(`${C}`, o.value),
|
|
3670
3670
|
width: 600,
|
|
3671
3671
|
scrollProps: {
|
|
@@ -3687,13 +3687,13 @@ const bi = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
|
|
|
3687
3687
|
onChange: (w) => l(w.target.value)
|
|
3688
3688
|
}, null),
|
|
3689
3689
|
open: s.value,
|
|
3690
|
-
footer: n(
|
|
3690
|
+
footer: n(pi, {
|
|
3691
3691
|
className: C,
|
|
3692
3692
|
hashId: o.value
|
|
3693
3693
|
}, null),
|
|
3694
3694
|
onCancel: () => y()
|
|
3695
3695
|
}, {
|
|
3696
|
-
default: () => [n(
|
|
3696
|
+
default: () => [n(vi, te(d, {
|
|
3697
3697
|
keyword: i.value,
|
|
3698
3698
|
dataSource: I.value,
|
|
3699
3699
|
onClose: () => y()
|
|
@@ -3701,8 +3701,8 @@ const bi = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
|
|
|
3701
3701
|
})]));
|
|
3702
3702
|
};
|
|
3703
3703
|
}
|
|
3704
|
-
}),
|
|
3705
|
-
const { dark: t } =
|
|
3704
|
+
}), xi = (e) => {
|
|
3705
|
+
const { dark: t } = ve(e), a = lt(e, "header");
|
|
3706
3706
|
return {
|
|
3707
3707
|
[`${e.componentCls}`]: {
|
|
3708
3708
|
"&-header-actions": {
|
|
@@ -3749,7 +3749,7 @@ const bi = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
|
|
|
3749
3749
|
borderRadius: e.borderRadius,
|
|
3750
3750
|
paddingInlineEnd: e.padding,
|
|
3751
3751
|
"&:hover": {
|
|
3752
|
-
backgroundColor:
|
|
3752
|
+
backgroundColor: Ia(e.colorTextBase, 0.03)
|
|
3753
3753
|
}
|
|
3754
3754
|
},
|
|
3755
3755
|
"&-avatar": {
|
|
@@ -3767,13 +3767,13 @@ const bi = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
|
|
|
3767
3767
|
}
|
|
3768
3768
|
};
|
|
3769
3769
|
};
|
|
3770
|
-
function
|
|
3770
|
+
function Si(e) {
|
|
3771
3771
|
return Fe("RightContent", (t) => {
|
|
3772
3772
|
const a = je(t);
|
|
3773
|
-
return [
|
|
3773
|
+
return [xi(a)];
|
|
3774
3774
|
}, e);
|
|
3775
3775
|
}
|
|
3776
|
-
const
|
|
3776
|
+
const ds = /* @__PURE__ */ K({
|
|
3777
3777
|
name: "GlobalRightContent",
|
|
3778
3778
|
props: An(),
|
|
3779
3779
|
inheritAttrs: !1,
|
|
@@ -3790,7 +3790,7 @@ const ms = /* @__PURE__ */ K({
|
|
|
3790
3790
|
}), [f, h] = Se(!1), {
|
|
3791
3791
|
wrapSSR: g,
|
|
3792
3792
|
hashId: u
|
|
3793
|
-
} =
|
|
3793
|
+
} = Si(r), [I, y] = Se("auto"), {
|
|
3794
3794
|
isDark: d,
|
|
3795
3795
|
toggleMode: C
|
|
3796
3796
|
} = Nt(R(() => {
|
|
@@ -3828,7 +3828,7 @@ const ms = /* @__PURE__ */ K({
|
|
|
3828
3828
|
e != null && e.onLogout && (h(!0), e.onLogout(() => h(!1)));
|
|
3829
3829
|
};
|
|
3830
3830
|
return () => {
|
|
3831
|
-
const B = Pe(t, e, "dropdownMenuRender"), z = Pe(t, e, "dropdownRender"), $ = Pe(t, e, "dropdownMenuExtraItemRender"), b = se(t, e, "actionsRender"), L = a.value ?
|
|
3831
|
+
const B = Pe(t, e, "dropdownMenuRender"), z = Pe(t, e, "dropdownRender"), $ = Pe(t, e, "dropdownMenuExtraItemRender"), b = se(t, e, "actionsRender"), L = a.value ? Wa : Ua;
|
|
3832
3832
|
return g(n("div", {
|
|
3833
3833
|
class: `${r}-right-content ${u.value}`.trim(),
|
|
3834
3834
|
style: {
|
|
@@ -3839,7 +3839,7 @@ const ms = /* @__PURE__ */ K({
|
|
|
3839
3839
|
style: {
|
|
3840
3840
|
height: "100%"
|
|
3841
3841
|
}
|
|
3842
|
-
}, [n(
|
|
3842
|
+
}, [n(no, {
|
|
3843
3843
|
key: "resize-observer",
|
|
3844
3844
|
onResize: ({
|
|
3845
3845
|
width: A
|
|
@@ -3851,7 +3851,7 @@ const ms = /* @__PURE__ */ K({
|
|
|
3851
3851
|
var A;
|
|
3852
3852
|
return [n("div", {
|
|
3853
3853
|
class: `${r}-header-actions ${u.value}`.trim()
|
|
3854
|
-
}, [e.actions.search && !v.value && n(
|
|
3854
|
+
}, [e.actions.search && !v.value && n(Ci, {
|
|
3855
3855
|
dataSource: e.dataSource,
|
|
3856
3856
|
disabeldShortKey: (A = e.shortsKey) == null ? void 0 : A.disabeld
|
|
3857
3857
|
}, null), e.actions.theme && n("div", {
|
|
@@ -3869,7 +3869,7 @@ const ms = /* @__PURE__ */ K({
|
|
|
3869
3869
|
}, [n(L, {
|
|
3870
3870
|
onClick: () => o()
|
|
3871
3871
|
}, null)]), b ? b == null ? void 0 : b([`${r}-header-actions-item`, u.value]) : null, n(gt, {
|
|
3872
|
-
overlay: B || n(
|
|
3872
|
+
overlay: B || n(be, null, {
|
|
3873
3873
|
default: () => [$, e.actions.lock && n(J, null, [n(Et, {
|
|
3874
3874
|
key: "lock",
|
|
3875
3875
|
icon: n(fn, null, null),
|
|
@@ -3879,9 +3879,9 @@ const ms = /* @__PURE__ */ K({
|
|
|
3879
3879
|
}
|
|
3880
3880
|
}, {
|
|
3881
3881
|
default: () => [V("锁定屏幕")]
|
|
3882
|
-
}), n(
|
|
3882
|
+
}), n(be.Divider, null, null)]), n(Et, {
|
|
3883
3883
|
key: "logout",
|
|
3884
|
-
icon: n(
|
|
3884
|
+
icon: n(_a, null, null),
|
|
3885
3885
|
onClick: () => N(),
|
|
3886
3886
|
disabled: f.value
|
|
3887
3887
|
}, {
|
|
@@ -3903,7 +3903,7 @@ const ms = /* @__PURE__ */ K({
|
|
|
3903
3903
|
})])]));
|
|
3904
3904
|
};
|
|
3905
3905
|
}
|
|
3906
|
-
}),
|
|
3906
|
+
}), Ii = (e) => ({
|
|
3907
3907
|
[e.componentCls]: {
|
|
3908
3908
|
background: e.colorBgContainer,
|
|
3909
3909
|
padding: `${e.paddingLG}px`,
|
|
@@ -3914,7 +3914,7 @@ const ms = /* @__PURE__ */ K({
|
|
|
3914
3914
|
marginTop: "8px"
|
|
3915
3915
|
}
|
|
3916
3916
|
}
|
|
3917
|
-
}),
|
|
3917
|
+
}), wi = /* @__PURE__ */ K({
|
|
3918
3918
|
name: "ProPageHeader",
|
|
3919
3919
|
props: {
|
|
3920
3920
|
content: tt.contentRender,
|
|
@@ -3927,7 +3927,7 @@ const ms = /* @__PURE__ */ K({
|
|
|
3927
3927
|
}), {
|
|
3928
3928
|
wrapSSR: i,
|
|
3929
3929
|
hashId: l
|
|
3930
|
-
} = ge("ProPageHeader", [
|
|
3930
|
+
} = ge("ProPageHeader", [Ii], o), s = R(() => {
|
|
3931
3931
|
var g;
|
|
3932
3932
|
const r = ((g = t == null ? void 0 : t.breadcrumb) == null ? void 0 : g.value) || {}, f = r.routes || [], h = f.map((u, I) => ({
|
|
3933
3933
|
...u,
|
|
@@ -3939,7 +3939,7 @@ const ms = /* @__PURE__ */ K({
|
|
|
3939
3939
|
routes: h,
|
|
3940
3940
|
itemRender: (r == null ? void 0 : r.itemRender) || (({
|
|
3941
3941
|
route: u
|
|
3942
|
-
}) => u.path ? n(
|
|
3942
|
+
}) => u.path ? n(qa, {
|
|
3943
3943
|
to: u.link
|
|
3944
3944
|
}, {
|
|
3945
3945
|
default: () => [u.breadcrumbName]
|
|
@@ -3955,9 +3955,9 @@ const ms = /* @__PURE__ */ K({
|
|
|
3955
3955
|
}, [e.content])]));
|
|
3956
3956
|
};
|
|
3957
3957
|
}
|
|
3958
|
-
}),
|
|
3958
|
+
}), Ri = (e) => {
|
|
3959
3959
|
var i;
|
|
3960
|
-
const t = (i = e.layout) == null ? void 0 : i.pageContainer, { layout: a } =
|
|
3960
|
+
const t = (i = e.layout) == null ? void 0 : i.pageContainer, { layout: a } = ve(e), o = (t == null ? void 0 : t.borderRadius) || e.borderRadiusLG;
|
|
3961
3961
|
return {
|
|
3962
3962
|
[`${e.proComponentsCls}-basic-layout`]: {
|
|
3963
3963
|
"&-content": {
|
|
@@ -4009,21 +4009,21 @@ const ms = /* @__PURE__ */ K({
|
|
|
4009
4009
|
}
|
|
4010
4010
|
};
|
|
4011
4011
|
};
|
|
4012
|
-
function
|
|
4012
|
+
function $i(e) {
|
|
4013
4013
|
return Fe("ProPageContainter", (t) => {
|
|
4014
4014
|
const a = je(t, {
|
|
4015
4015
|
gridContent: `${t.proComponentsCls}-grid-content`
|
|
4016
4016
|
});
|
|
4017
|
-
return [
|
|
4017
|
+
return [Ri(a)];
|
|
4018
4018
|
}, e);
|
|
4019
4019
|
}
|
|
4020
|
-
const { useInjectContext:
|
|
4021
|
-
function
|
|
4020
|
+
const { useInjectContext: Bi, provideContext: Mi } = Lt("pro-page");
|
|
4021
|
+
function Li(e) {
|
|
4022
4022
|
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Oe(e);
|
|
4023
4023
|
}
|
|
4024
4024
|
const {
|
|
4025
|
-
Content:
|
|
4026
|
-
} = Ue,
|
|
4025
|
+
Content: Oi
|
|
4026
|
+
} = Ue, ms = /* @__PURE__ */ K({
|
|
4027
4027
|
inheritAttrs: !1,
|
|
4028
4028
|
name: "GProPageContainer",
|
|
4029
4029
|
props: tt,
|
|
@@ -4032,7 +4032,7 @@ const {
|
|
|
4032
4032
|
slots: t,
|
|
4033
4033
|
attrs: a
|
|
4034
4034
|
}) {
|
|
4035
|
-
const o = yn(), i =
|
|
4035
|
+
const o = yn(), i = Bi(), l = re(), s = ke(), r = (l == null ? void 0 : l.getPrefixCls) || ie, f = r({
|
|
4036
4036
|
suffixCls: "basic-layout-content",
|
|
4037
4037
|
isPor: !0
|
|
4038
4038
|
}), h = r({
|
|
@@ -4071,7 +4071,7 @@ const {
|
|
|
4071
4071
|
}), {
|
|
4072
4072
|
wrapSSR: P,
|
|
4073
4073
|
hashId: N
|
|
4074
|
-
} =
|
|
4074
|
+
} = $i(h), B = () => {
|
|
4075
4075
|
var L, A, j, E;
|
|
4076
4076
|
const $ = Pe(t, e, "pageChildrenExtraRender"), b = U(`${h}-children-content`, N.value);
|
|
4077
4077
|
return n("div", {
|
|
@@ -4097,7 +4097,7 @@ const {
|
|
|
4097
4097
|
}, z = () => {
|
|
4098
4098
|
var b;
|
|
4099
4099
|
let $;
|
|
4100
|
-
return n(J, null, [(oe(e.waterMark) ? e.waterMark : (b = l == null ? void 0 : l.waterMark) != null && b.value) ? n(
|
|
4100
|
+
return n(J, null, [(oe(e.waterMark) ? e.waterMark : (b = l == null ? void 0 : l.waterMark) != null && b.value) ? n(ao, y.value, Li($ = B()) ? $ : {
|
|
4101
4101
|
default: () => [$]
|
|
4102
4102
|
}) : B()]);
|
|
4103
4103
|
};
|
|
@@ -4109,7 +4109,7 @@ const {
|
|
|
4109
4109
|
width: m.value,
|
|
4110
4110
|
marginInline: m.value && "auto"
|
|
4111
4111
|
};
|
|
4112
|
-
return P(n(
|
|
4112
|
+
return P(n(Oi, {
|
|
4113
4113
|
class: U(a.class, f, N.value, m.value && `${f}-width`),
|
|
4114
4114
|
style: A
|
|
4115
4115
|
}, {
|
|
@@ -4127,7 +4127,7 @@ const {
|
|
|
4127
4127
|
}
|
|
4128
4128
|
}, [n($t, {
|
|
4129
4129
|
indicator: (ne = o == null ? void 0 : o.indicator) == null ? void 0 : ne.value
|
|
4130
|
-
}, null)]), !w.value && $ !== !1 && ($ || n(
|
|
4130
|
+
}, null)]), !w.value && $ !== !1 && ($ || n(wi, {
|
|
4131
4131
|
style: e.pageHeaderStyle,
|
|
4132
4132
|
breadcrumb: b,
|
|
4133
4133
|
content: L
|
|
@@ -4142,23 +4142,18 @@ const {
|
|
|
4142
4142
|
};
|
|
4143
4143
|
}
|
|
4144
4144
|
});
|
|
4145
|
-
function
|
|
4146
|
-
const
|
|
4145
|
+
function fs(e) {
|
|
4146
|
+
const t = qe(), a = (e == null ? void 0 : e.watchOpenKeys) ?? !0, o = t.getRoutes(), i = xe({
|
|
4147
4147
|
menuData: [],
|
|
4148
4148
|
levelMenuData: []
|
|
4149
4149
|
}), l = xe({
|
|
4150
4150
|
openKeys: [],
|
|
4151
4151
|
selectedKeys: []
|
|
4152
|
-
}), s = R(() =>
|
|
4153
|
-
|
|
4154
|
-
|
|
4155
|
-
i.menuData = [], i.levelMenuData = [];
|
|
4156
|
-
else {
|
|
4157
|
-
const d = Ho(jo(u));
|
|
4158
|
-
i.menuData = d.menuData, i.levelMenuData = d.getLevel();
|
|
4159
|
-
}
|
|
4152
|
+
}), s = R(() => t.currentRoute.value), r = (u) => {
|
|
4153
|
+
const I = Ao(Ho(u));
|
|
4154
|
+
i.menuData = ye(I.menuData), i.levelMenuData = I.getLevel();
|
|
4160
4155
|
};
|
|
4161
|
-
e && Dt(e) && ae(() => e.value, (u) => r(u), { deep: !0 });
|
|
4156
|
+
e != null && e.menuData && Dt(e.menuData) && ae(() => e.menuData.value, (u) => r(u), { deep: !0 }), r(e != null && e.menuData ? Dt(e.menuData) ? e.menuData.value : e.menuData : o);
|
|
4162
4157
|
const f = R(() => kn(i, { path: Pt(s.value), name: s.value.name })), h = R(() => {
|
|
4163
4158
|
const u = f.value.map((I) => {
|
|
4164
4159
|
var d, C;
|
|
@@ -4168,15 +4163,15 @@ function hs({ menuData: e, watchOpenKeys: t = !0 }) {
|
|
|
4168
4163
|
breadcrumbName: ((C = I.meta) == null ? void 0 : C.title) || ""
|
|
4169
4164
|
};
|
|
4170
4165
|
}).filter((I) => I.breadcrumbName);
|
|
4171
|
-
return
|
|
4166
|
+
return Yo(u, "breadcrumbName");
|
|
4172
4167
|
}), g = () => {
|
|
4173
4168
|
l.openKeys = f.value.filter((u) => u.path !== s.value.path).map((u) => u.path);
|
|
4174
4169
|
};
|
|
4175
4170
|
return ae(() => s.value, (u) => {
|
|
4176
|
-
u && (
|
|
4171
|
+
u && (l.selectedKeys = f.value.map((I) => I.path), a && g());
|
|
4177
4172
|
}, { immediate: !0, deep: !0 }), It(() => {
|
|
4178
|
-
|
|
4179
|
-
}),
|
|
4173
|
+
a || g();
|
|
4174
|
+
}), Qo({
|
|
4180
4175
|
...Ye(i),
|
|
4181
4176
|
matchedMenu: f
|
|
4182
4177
|
}), {
|
|
@@ -4186,7 +4181,7 @@ function hs({ menuData: e, watchOpenKeys: t = !0 }) {
|
|
|
4186
4181
|
breadcrumbRouters: h
|
|
4187
4182
|
};
|
|
4188
4183
|
}
|
|
4189
|
-
const
|
|
4184
|
+
const Fi = (e) => ({
|
|
4190
4185
|
[e.componentCls]: {
|
|
4191
4186
|
height: "100%",
|
|
4192
4187
|
[`&${e.componentCls}-loading`]: {
|
|
@@ -4210,13 +4205,13 @@ const ki = (e) => ({
|
|
|
4210
4205
|
}
|
|
4211
4206
|
}
|
|
4212
4207
|
});
|
|
4213
|
-
function
|
|
4214
|
-
return Fe("PageLoading", (t) => [
|
|
4208
|
+
function ki(e) {
|
|
4209
|
+
return Fe("PageLoading", (t) => [Fi(t)], e);
|
|
4215
4210
|
}
|
|
4216
|
-
const
|
|
4211
|
+
const hs = /* @__PURE__ */ K({
|
|
4217
4212
|
name: "ProAppPage",
|
|
4218
4213
|
props: {
|
|
4219
|
-
...
|
|
4214
|
+
...Qa,
|
|
4220
4215
|
spinning: Boolean,
|
|
4221
4216
|
spinningBlur: {
|
|
4222
4217
|
type: Boolean,
|
|
@@ -4236,12 +4231,12 @@ const gs = /* @__PURE__ */ K({
|
|
|
4236
4231
|
}), {
|
|
4237
4232
|
hashId: i,
|
|
4238
4233
|
wrapSSR: l
|
|
4239
|
-
} =
|
|
4240
|
-
return
|
|
4234
|
+
} = ki(o);
|
|
4235
|
+
return Mi({
|
|
4241
4236
|
spinning: R(() => e.spinning)
|
|
4242
4237
|
}), () => {
|
|
4243
|
-
const s = sn(
|
|
4244
|
-
return l(n(
|
|
4238
|
+
const s = sn(Za, t, e);
|
|
4239
|
+
return l(n(Ja, te({
|
|
4245
4240
|
style: a.style,
|
|
4246
4241
|
class: U(a.class, e.spinning && `${o}-loading`, o, i.value)
|
|
4247
4242
|
}, s), {
|
|
@@ -4272,7 +4267,7 @@ const gs = /* @__PURE__ */ K({
|
|
|
4272
4267
|
}));
|
|
4273
4268
|
};
|
|
4274
4269
|
}
|
|
4275
|
-
}), xt = Object.keys(Z).filter((e) => e !== "title"),
|
|
4270
|
+
}), xt = Object.keys(Z).filter((e) => e !== "title"), Pi = [{
|
|
4276
4271
|
value: "light",
|
|
4277
4272
|
label: () => n("div", {
|
|
4278
4273
|
style: {
|
|
@@ -4302,7 +4297,7 @@ const gs = /* @__PURE__ */ K({
|
|
|
4302
4297
|
alignItems: "center",
|
|
4303
4298
|
gap: "6px"
|
|
4304
4299
|
}
|
|
4305
|
-
}, [n(
|
|
4300
|
+
}, [n(Xa, null, null), V("自动")])
|
|
4306
4301
|
}], Kn = [
|
|
4307
4302
|
{
|
|
4308
4303
|
key: "light",
|
|
@@ -4331,13 +4326,13 @@ const gs = /* @__PURE__ */ K({
|
|
|
4331
4326
|
}, {
|
|
4332
4327
|
key: "simple",
|
|
4333
4328
|
title: "简单菜单布局"
|
|
4334
|
-
}],
|
|
4329
|
+
}], Ti = [{
|
|
4335
4330
|
key: "header",
|
|
4336
4331
|
title: "顶部主题"
|
|
4337
4332
|
}, {
|
|
4338
4333
|
key: "sider",
|
|
4339
4334
|
title: "左侧主题"
|
|
4340
|
-
}],
|
|
4335
|
+
}], Ni = [{
|
|
4341
4336
|
key: "colorBgMenu",
|
|
4342
4337
|
name: "全部背景"
|
|
4343
4338
|
}, {
|
|
@@ -4358,7 +4353,7 @@ const gs = /* @__PURE__ */ K({
|
|
|
4358
4353
|
}, {
|
|
4359
4354
|
key: "colorTextMenuSelected",
|
|
4360
4355
|
name: "菜单文字选中颜色"
|
|
4361
|
-
}],
|
|
4356
|
+
}], zi = [{
|
|
4362
4357
|
label: "fixedHeader",
|
|
4363
4358
|
title: "固定 Header"
|
|
4364
4359
|
}, {
|
|
@@ -4367,14 +4362,14 @@ const gs = /* @__PURE__ */ K({
|
|
|
4367
4362
|
}, {
|
|
4368
4363
|
label: "splitMenus",
|
|
4369
4364
|
title: "自动分割菜单"
|
|
4370
|
-
}],
|
|
4365
|
+
}], Di = [{
|
|
4371
4366
|
label: "showTabsBar",
|
|
4372
4367
|
title: "多标签"
|
|
4373
4368
|
}, {
|
|
4374
4369
|
label: "fixedTabsBar",
|
|
4375
4370
|
title: "固定多标签"
|
|
4376
|
-
}],
|
|
4377
|
-
const { dark: t } =
|
|
4371
|
+
}], Ai = (e) => {
|
|
4372
|
+
const { dark: t } = ve(e);
|
|
4378
4373
|
return {
|
|
4379
4374
|
[e.componentCls]: {
|
|
4380
4375
|
[`${e.antCls}-drawer-content-wrapper`]: {
|
|
@@ -4595,7 +4590,7 @@ const gs = /* @__PURE__ */ K({
|
|
|
4595
4590
|
}))]);
|
|
4596
4591
|
};
|
|
4597
4592
|
}
|
|
4598
|
-
}),
|
|
4593
|
+
}), Hi = /* @__PURE__ */ K({
|
|
4599
4594
|
name: "ThemeColor",
|
|
4600
4595
|
inheritAttrs: !1,
|
|
4601
4596
|
props: {
|
|
@@ -4680,7 +4675,7 @@ const gs = /* @__PURE__ */ K({
|
|
|
4680
4675
|
}]
|
|
4681
4676
|
}, null);
|
|
4682
4677
|
}
|
|
4683
|
-
}),
|
|
4678
|
+
}), ji = (e) => ({
|
|
4684
4679
|
[e.componentCls]: {
|
|
4685
4680
|
padding: e.marginLG,
|
|
4686
4681
|
"*": {
|
|
@@ -4714,19 +4709,19 @@ const gs = /* @__PURE__ */ K({
|
|
|
4714
4709
|
}
|
|
4715
4710
|
}
|
|
4716
4711
|
});
|
|
4717
|
-
function
|
|
4712
|
+
function Ei(e) {
|
|
4718
4713
|
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Oe(e);
|
|
4719
4714
|
}
|
|
4720
4715
|
const Un = [];
|
|
4721
|
-
|
|
4722
|
-
|
|
4716
|
+
wa.forEach((e) => {
|
|
4717
|
+
Ra.forEach((t) => {
|
|
4723
4718
|
Un.push({
|
|
4724
4719
|
key: `${e}:${t}`,
|
|
4725
4720
|
token: {}
|
|
4726
4721
|
});
|
|
4727
4722
|
});
|
|
4728
4723
|
});
|
|
4729
|
-
const
|
|
4724
|
+
const Ki = /* @__PURE__ */ K({
|
|
4730
4725
|
name: "ThemeEditor",
|
|
4731
4726
|
props: {
|
|
4732
4727
|
theme: He.theme,
|
|
@@ -4742,14 +4737,14 @@ const Wi = /* @__PURE__ */ K({
|
|
|
4742
4737
|
}), {
|
|
4743
4738
|
wrapSSR: l,
|
|
4744
4739
|
hashId: s
|
|
4745
|
-
} = ge("ProThemeEditor", [
|
|
4740
|
+
} = ge("ProThemeEditor", [ji], i), {
|
|
4746
4741
|
token: r
|
|
4747
4742
|
} = ke(), f = R(() => {
|
|
4748
4743
|
var y;
|
|
4749
4744
|
return (y = r.value) == null ? void 0 : y.layout;
|
|
4750
4745
|
});
|
|
4751
4746
|
function h(y) {
|
|
4752
|
-
return
|
|
4747
|
+
return ye(Un).map((d) => {
|
|
4753
4748
|
var w;
|
|
4754
4749
|
const C = rt(y, r.value, d.key);
|
|
4755
4750
|
if (d.token = C, C)
|
|
@@ -4784,7 +4779,7 @@ const Wi = /* @__PURE__ */ K({
|
|
|
4784
4779
|
return Object.keys(y || {}).map((C) => {
|
|
4785
4780
|
var c;
|
|
4786
4781
|
return {
|
|
4787
|
-
title: ((c =
|
|
4782
|
+
title: ((c = Ni.find((v) => v.key === C)) == null ? void 0 : c.name) || "",
|
|
4788
4783
|
key: C,
|
|
4789
4784
|
value: (y == null ? void 0 : y[C]) || ""
|
|
4790
4785
|
};
|
|
@@ -4840,7 +4835,7 @@ const Wi = /* @__PURE__ */ K({
|
|
|
4840
4835
|
}, null), n(wt, {
|
|
4841
4836
|
activeKey: a.value,
|
|
4842
4837
|
onChange: (c) => o(c)
|
|
4843
|
-
},
|
|
4838
|
+
}, Ei(y = Ti.map((c) => n(aa, {
|
|
4844
4839
|
key: c.key,
|
|
4845
4840
|
tab: c.title
|
|
4846
4841
|
}, {
|
|
@@ -4873,7 +4868,7 @@ const Wi = /* @__PURE__ */ K({
|
|
|
4873
4868
|
})])]));
|
|
4874
4869
|
};
|
|
4875
4870
|
}
|
|
4876
|
-
}),
|
|
4871
|
+
}), Wi = (e) => ({
|
|
4877
4872
|
[e.componentCls]: {
|
|
4878
4873
|
padding: e.marginLG,
|
|
4879
4874
|
"&-title": {
|
|
@@ -4909,7 +4904,7 @@ function Zt(e) {
|
|
|
4909
4904
|
}
|
|
4910
4905
|
const {
|
|
4911
4906
|
preset: Jt
|
|
4912
|
-
} = Tt,
|
|
4907
|
+
} = Tt, Ui = /* @__PURE__ */ K({
|
|
4913
4908
|
name: "OthersChange",
|
|
4914
4909
|
props: {
|
|
4915
4910
|
prefixCls: q.string,
|
|
@@ -4923,7 +4918,7 @@ const {
|
|
|
4923
4918
|
}), {
|
|
4924
4919
|
wrapSSR: a,
|
|
4925
4920
|
hashId: o
|
|
4926
|
-
} = ge("SettingsDrawOthers", [
|
|
4921
|
+
} = ge("SettingsDrawOthers", [Wi], t);
|
|
4927
4922
|
return () => {
|
|
4928
4923
|
var l, s, r, f, h, g, u, I, y, d, C, w, c, v;
|
|
4929
4924
|
let i;
|
|
@@ -5019,14 +5014,14 @@ const {
|
|
|
5019
5014
|
};
|
|
5020
5015
|
}
|
|
5021
5016
|
}), {
|
|
5022
|
-
preset:
|
|
5023
|
-
} = Tt,
|
|
5017
|
+
preset: _i
|
|
5018
|
+
} = Tt, Xi = {
|
|
5024
5019
|
color: "#fff",
|
|
5025
5020
|
fontSize: 20
|
|
5026
|
-
}, en = (e) =>
|
|
5021
|
+
}, en = (e) => pa() ? {
|
|
5027
5022
|
...le(Z, xt),
|
|
5028
5023
|
...e || {}
|
|
5029
|
-
} :
|
|
5024
|
+
} : ye(Z), We = (e, {
|
|
5030
5025
|
slots: t
|
|
5031
5026
|
}) => {
|
|
5032
5027
|
var a;
|
|
@@ -5037,7 +5032,7 @@ const {
|
|
|
5037
5032
|
}, [n("h3", {
|
|
5038
5033
|
class: `${e.prefixCls}-body-title ${e.hashId}`.trim()
|
|
5039
5034
|
}, [e.title]), (a = t.default) == null ? void 0 : a.call(t)]);
|
|
5040
|
-
},
|
|
5035
|
+
}, Vi = () => ({
|
|
5041
5036
|
...Ot,
|
|
5042
5037
|
open: {
|
|
5043
5038
|
type: Boolean,
|
|
@@ -5058,16 +5053,16 @@ const {
|
|
|
5058
5053
|
},
|
|
5059
5054
|
colorList: {
|
|
5060
5055
|
type: [Boolean, Array],
|
|
5061
|
-
default: () =>
|
|
5056
|
+
default: () => $a
|
|
5062
5057
|
},
|
|
5063
5058
|
onChange: Function,
|
|
5064
5059
|
onOpenChange: Function,
|
|
5065
5060
|
"onUpdate:open": Function,
|
|
5066
5061
|
onDarkChange: He.onDarkChange,
|
|
5067
5062
|
onLayoutChange: Function
|
|
5068
|
-
}),
|
|
5063
|
+
}), gs = /* @__PURE__ */ K({
|
|
5069
5064
|
name: "SettingDrawer",
|
|
5070
|
-
props:
|
|
5065
|
+
props: Vi(),
|
|
5071
5066
|
emits: ["change", "layoutChange", "openChange", "update:open", "update:dark", "darkChange"],
|
|
5072
5067
|
setup(e) {
|
|
5073
5068
|
const t = ke(), a = re(), o = ie({
|
|
@@ -5079,7 +5074,7 @@ const {
|
|
|
5079
5074
|
}), {}), {
|
|
5080
5075
|
wrapSSR: s,
|
|
5081
5076
|
hashId: r
|
|
5082
|
-
} = ge("ProSettingDraw", [
|
|
5077
|
+
} = ge("ProSettingDraw", [Ai], o), f = he(!1), [h, g] = Ae(!1, {
|
|
5083
5078
|
value: R(() => {
|
|
5084
5079
|
var O;
|
|
5085
5080
|
return oe(e.open) ? e.open : (O = a == null ? void 0 : a.settingsOpen) == null ? void 0 : O.value;
|
|
@@ -5104,7 +5099,7 @@ const {
|
|
|
5104
5099
|
value: m,
|
|
5105
5100
|
onChange: (O) => {
|
|
5106
5101
|
var F;
|
|
5107
|
-
l.value =
|
|
5102
|
+
l.value = Ce(At(l.value), ye(O)), (F = e.onChange) == null || F.call(e, O);
|
|
5108
5103
|
}
|
|
5109
5104
|
}), N = R(() => {
|
|
5110
5105
|
var O;
|
|
@@ -5120,15 +5115,15 @@ const {
|
|
|
5120
5115
|
ae(() => e.storage, (O) => {
|
|
5121
5116
|
O && (v.value ? (Object.assign(i, {
|
|
5122
5117
|
dark: u.value,
|
|
5123
|
-
...
|
|
5124
|
-
}),
|
|
5118
|
+
...ye(x.value)
|
|
5119
|
+
}), va(we(l.value, "dark"), At(x.value)) || P(we(l.value, "dark")), B(null, l.value.dark)) : l.value = {
|
|
5125
5120
|
...x.value,
|
|
5126
5121
|
dark: u.value
|
|
5127
5122
|
});
|
|
5128
5123
|
}, {
|
|
5129
5124
|
immediate: !0
|
|
5130
5125
|
});
|
|
5131
|
-
const z = R(() => e.colorList && it(e.colorList) ? e.colorList : []), $ = R(() =>
|
|
5126
|
+
const z = R(() => e.colorList && it(e.colorList) ? e.colorList : []), $ = R(() => Go(ue(x))), {
|
|
5132
5127
|
copy: b,
|
|
5133
5128
|
copied: L,
|
|
5134
5129
|
isSupported: A
|
|
@@ -5146,26 +5141,26 @@ const {
|
|
|
5146
5141
|
e.storage && (l.value.dark = O);
|
|
5147
5142
|
});
|
|
5148
5143
|
const j = (O, F, k) => {
|
|
5149
|
-
var
|
|
5144
|
+
var pe, W, Q;
|
|
5150
5145
|
const _ = ["header", "sider"], ee = {};
|
|
5151
5146
|
if (k != null && k.subKey && _.includes(O)) {
|
|
5152
|
-
ee[O] = {}, ee[O][k == null ? void 0 : k.subKey] = F, (
|
|
5147
|
+
ee[O] = {}, ee[O][k == null ? void 0 : k.subKey] = F, (pe = e.onLayoutChange) == null || pe.call(e, le(ee, _));
|
|
5153
5148
|
return;
|
|
5154
5149
|
} else
|
|
5155
|
-
O === "animate" ? (ee[O] = {}, k != null && k.subKey && (ee[O][k == null ? void 0 : k.subKey] = F), (k == null ? void 0 : k.subKey) === "name" && (ee[O].direction = (Q = (W =
|
|
5150
|
+
O === "animate" ? (ee[O] = {}, k != null && k.subKey && (ee[O][k == null ? void 0 : k.subKey] = F), (k == null ? void 0 : k.subKey) === "name" && (ee[O].direction = (Q = (W = _i.find((G) => G.name === F)) == null ? void 0 : W.directions) == null ? void 0 : Q[0])) : ee[O] = F;
|
|
5156
5151
|
if (O === "colorWeak") {
|
|
5157
5152
|
const G = document.querySelector("body");
|
|
5158
5153
|
G && (G.dataset.prosettingdrawer = F === !0 ? G.style.filter : G.dataset.prosettingdrawer || "none", F === !0 && (G.dataset.prosettingdrawer = G.style.filter), G.style.filter = F === !0 ? "invert(80%)" : G.dataset.prosettingdrawer || "none", F || delete G.dataset.prosettingdrawer);
|
|
5159
5154
|
}
|
|
5160
|
-
P(
|
|
5161
|
-
...
|
|
5155
|
+
P(Ce(ue(x), {
|
|
5156
|
+
...Vo(we(ee, _))
|
|
5162
5157
|
}));
|
|
5163
5158
|
}, E = (O) => {
|
|
5164
5159
|
l.value.dark = O === "system" ? O : O === "dark", B(null, O === "system" ? O : O === "dark");
|
|
5165
5160
|
}, ne = () => {
|
|
5166
5161
|
A.value && b(JSON.stringify(ue(x)));
|
|
5167
5162
|
}, me = () => {
|
|
5168
|
-
P(we(
|
|
5163
|
+
P(we(ye(i), "dark")), B(null, i.dark), l.value = ye(i);
|
|
5169
5164
|
};
|
|
5170
5165
|
return () => {
|
|
5171
5166
|
const O = h.value ? st : hn;
|
|
@@ -5186,7 +5181,7 @@ const {
|
|
|
5186
5181
|
class: [`${o}-handle`, r.value],
|
|
5187
5182
|
onClick: () => g(!h.value)
|
|
5188
5183
|
}, [n(O, {
|
|
5189
|
-
style:
|
|
5184
|
+
style: Xi
|
|
5190
5185
|
}, null)])
|
|
5191
5186
|
}, {
|
|
5192
5187
|
default: () => [n("div", {
|
|
@@ -5201,7 +5196,7 @@ const {
|
|
|
5201
5196
|
}, {
|
|
5202
5197
|
default: () => [n(ia, {
|
|
5203
5198
|
value: oe(u.value) ? u.value ? "dark" : "light" : "system",
|
|
5204
|
-
options:
|
|
5199
|
+
options: Pi,
|
|
5205
5200
|
onChange: (F) => E(F)
|
|
5206
5201
|
}, null)]
|
|
5207
5202
|
}), n(We, {
|
|
@@ -5231,7 +5226,7 @@ const {
|
|
|
5231
5226
|
}, [V("更多配置")])]),
|
|
5232
5227
|
prefixCls: o
|
|
5233
5228
|
}, {
|
|
5234
|
-
default: () => [n(
|
|
5229
|
+
default: () => [n(Hi, {
|
|
5235
5230
|
hashId: r.value,
|
|
5236
5231
|
prefixCls: o,
|
|
5237
5232
|
colorList: z.value,
|
|
@@ -5252,7 +5247,7 @@ const {
|
|
|
5252
5247
|
list: Wn,
|
|
5253
5248
|
onChange: (F) => j("layout", F)
|
|
5254
5249
|
}, null)]
|
|
5255
|
-
}),
|
|
5250
|
+
}), zi.map(({
|
|
5256
5251
|
label: F,
|
|
5257
5252
|
title: k
|
|
5258
5253
|
}) => n(Ze, {
|
|
@@ -5274,7 +5269,7 @@ const {
|
|
|
5274
5269
|
onClick: () => c(!0)
|
|
5275
5270
|
}, [V("更多配置")])])
|
|
5276
5271
|
}, {
|
|
5277
|
-
default: () => [
|
|
5272
|
+
default: () => [Di.map(({
|
|
5278
5273
|
label: F,
|
|
5279
5274
|
title: k
|
|
5280
5275
|
}) => n(Ze, {
|
|
@@ -5303,7 +5298,7 @@ const {
|
|
|
5303
5298
|
})]), e.hideHintAlert && e.hideCopyButton ? null : n(dt, null, null), e.hideHintAlert ? null : n(la, {
|
|
5304
5299
|
type: "warning",
|
|
5305
5300
|
message: "配置栏只在开发环境用于预览,生产环境不会展现,请拷贝后手动修改配置文件",
|
|
5306
|
-
icon: n(
|
|
5301
|
+
icon: n(Va, null, null),
|
|
5307
5302
|
showIcon: !0,
|
|
5308
5303
|
style: {
|
|
5309
5304
|
marginBottom: "16px"
|
|
@@ -5317,12 +5312,12 @@ const {
|
|
|
5317
5312
|
onClick: () => ne(),
|
|
5318
5313
|
block: !0
|
|
5319
5314
|
}, {
|
|
5320
|
-
default: () => [n(
|
|
5315
|
+
default: () => [n(Ga, null, null), V("拷贝设置")]
|
|
5321
5316
|
}), n(et, {
|
|
5322
5317
|
block: !0,
|
|
5323
5318
|
onClick: () => me()
|
|
5324
5319
|
}, {
|
|
5325
|
-
default: () => [n(
|
|
5320
|
+
default: () => [n(Ya, null, null), V("清空缓存")]
|
|
5326
5321
|
})])])]
|
|
5327
5322
|
})]), n(Je, {
|
|
5328
5323
|
width: 320,
|
|
@@ -5334,7 +5329,7 @@ const {
|
|
|
5334
5329
|
},
|
|
5335
5330
|
onClose: () => C(!1)
|
|
5336
5331
|
}, {
|
|
5337
|
-
default: () => [n(
|
|
5332
|
+
default: () => [n(Ki, {
|
|
5338
5333
|
theme: x.value.theme,
|
|
5339
5334
|
settingValue: x.value,
|
|
5340
5335
|
onChange: (F, k, _) => j(k || "primaryColor", F, {
|
|
@@ -5351,7 +5346,7 @@ const {
|
|
|
5351
5346
|
},
|
|
5352
5347
|
onClose: () => c(!1)
|
|
5353
5348
|
}, {
|
|
5354
|
-
default: () => [n(
|
|
5349
|
+
default: () => [n(Ui, {
|
|
5355
5350
|
settingValue: x.value,
|
|
5356
5351
|
onChange: (F, k, _) => j(F, _, {
|
|
5357
5352
|
subKey: k
|
|
@@ -5361,7 +5356,7 @@ const {
|
|
|
5361
5356
|
}));
|
|
5362
5357
|
};
|
|
5363
5358
|
}
|
|
5364
|
-
}),
|
|
5359
|
+
}), Gi = new S("backInLeft", {
|
|
5365
5360
|
"0%": {
|
|
5366
5361
|
opacity: 0.7,
|
|
5367
5362
|
transform: "translateX(-2000px) scale(0.7)"
|
|
@@ -5374,7 +5369,7 @@ const {
|
|
|
5374
5369
|
opacity: 1,
|
|
5375
5370
|
transform: "scale(1)"
|
|
5376
5371
|
}
|
|
5377
|
-
}),
|
|
5372
|
+
}), Yi = new S("backInRight", {
|
|
5378
5373
|
"0%": {
|
|
5379
5374
|
opacity: 0.7,
|
|
5380
5375
|
transform: "translateX(2000px) scale(0.7)"
|
|
@@ -5387,7 +5382,7 @@ const {
|
|
|
5387
5382
|
opacity: 1,
|
|
5388
5383
|
transform: "scale(1)"
|
|
5389
5384
|
}
|
|
5390
|
-
}),
|
|
5385
|
+
}), qi = new S("backInUp", {
|
|
5391
5386
|
"0%": {
|
|
5392
5387
|
opacity: 0.7,
|
|
5393
5388
|
transform: "translateY(1200px) scale(0.7)"
|
|
@@ -5400,7 +5395,7 @@ const {
|
|
|
5400
5395
|
opacity: 1,
|
|
5401
5396
|
transform: "scale(1)"
|
|
5402
5397
|
}
|
|
5403
|
-
}),
|
|
5398
|
+
}), Qi = new S("backInDown", {
|
|
5404
5399
|
"0%": {
|
|
5405
5400
|
opacity: 0.7,
|
|
5406
5401
|
transform: "translateY(-1200px) scale(0.7)"
|
|
@@ -5413,7 +5408,7 @@ const {
|
|
|
5413
5408
|
opacity: 1,
|
|
5414
5409
|
transform: "scale(1)"
|
|
5415
5410
|
}
|
|
5416
|
-
}),
|
|
5411
|
+
}), Zi = new S("backOutLeft", {
|
|
5417
5412
|
"0%": {
|
|
5418
5413
|
opacity: 1,
|
|
5419
5414
|
transform: "scale(1)"
|
|
@@ -5426,7 +5421,7 @@ const {
|
|
|
5426
5421
|
opacity: 0.7,
|
|
5427
5422
|
transform: "translateX(-2000px) scale(0.7)"
|
|
5428
5423
|
}
|
|
5429
|
-
}),
|
|
5424
|
+
}), Ji = new S("backOutRight", {
|
|
5430
5425
|
"0%": {
|
|
5431
5426
|
opacity: 1,
|
|
5432
5427
|
transform: "scale(1)"
|
|
@@ -5439,7 +5434,7 @@ const {
|
|
|
5439
5434
|
opacity: 0.7,
|
|
5440
5435
|
transform: "translateX(2000px) scale(0.7)"
|
|
5441
5436
|
}
|
|
5442
|
-
}),
|
|
5437
|
+
}), el = new S("backOutUp", {
|
|
5443
5438
|
"0%": {
|
|
5444
5439
|
opacity: 1,
|
|
5445
5440
|
transform: "scale(1)"
|
|
@@ -5452,7 +5447,7 @@ const {
|
|
|
5452
5447
|
opacity: 0.7,
|
|
5453
5448
|
transform: "translateY(-700px) scale(0.7)"
|
|
5454
5449
|
}
|
|
5455
|
-
}),
|
|
5450
|
+
}), tl = new S("backOutDown", {
|
|
5456
5451
|
"0%": {
|
|
5457
5452
|
opacity: 1,
|
|
5458
5453
|
transform: "scale(1)"
|
|
@@ -5465,41 +5460,41 @@ const {
|
|
|
5465
5460
|
opacity: 0.7,
|
|
5466
5461
|
transform: "translateY(700px) scale(0.7)"
|
|
5467
5462
|
}
|
|
5468
|
-
}),
|
|
5463
|
+
}), nl = () => ({
|
|
5469
5464
|
"&.backInLeft": {
|
|
5470
5465
|
animationFillMode: "both",
|
|
5471
|
-
animationName:
|
|
5466
|
+
animationName: Gi
|
|
5472
5467
|
},
|
|
5473
5468
|
"&.backInRight": {
|
|
5474
5469
|
animationFillMode: "both",
|
|
5475
|
-
animationName:
|
|
5470
|
+
animationName: Yi
|
|
5476
5471
|
},
|
|
5477
5472
|
"&.backInUp": {
|
|
5478
5473
|
animationFillMode: "both",
|
|
5479
|
-
animationName:
|
|
5474
|
+
animationName: qi
|
|
5480
5475
|
},
|
|
5481
5476
|
"&.backInDown": {
|
|
5482
5477
|
animationFillMode: "both",
|
|
5483
|
-
animationName:
|
|
5478
|
+
animationName: Qi
|
|
5484
5479
|
}
|
|
5485
|
-
}),
|
|
5480
|
+
}), al = () => ({
|
|
5486
5481
|
"&.backOutLeft": {
|
|
5487
5482
|
animationFillMode: "both",
|
|
5488
|
-
animationName:
|
|
5483
|
+
animationName: Zi
|
|
5489
5484
|
},
|
|
5490
5485
|
"&.backOutRight": {
|
|
5491
5486
|
animationFillMode: "both",
|
|
5492
|
-
animationName:
|
|
5487
|
+
animationName: Ji
|
|
5493
5488
|
},
|
|
5494
5489
|
"&.backOutUp": {
|
|
5495
5490
|
animationFillMode: "both",
|
|
5496
|
-
animationName:
|
|
5491
|
+
animationName: el
|
|
5497
5492
|
},
|
|
5498
5493
|
"&.backOutDown": {
|
|
5499
5494
|
animationFillMode: "both",
|
|
5500
|
-
animationName:
|
|
5495
|
+
animationName: tl
|
|
5501
5496
|
}
|
|
5502
|
-
}),
|
|
5497
|
+
}), ol = new S("bounceIn", {
|
|
5503
5498
|
"from,20%,40%,60%,80%,to": {
|
|
5504
5499
|
animationTimingFunction: "cubic-bezier(0.215, 0.61, 0.355, 1)"
|
|
5505
5500
|
},
|
|
@@ -5523,7 +5518,7 @@ const {
|
|
|
5523
5518
|
opacity: 1,
|
|
5524
5519
|
transform: "scale3d(1, 1, 1)"
|
|
5525
5520
|
}
|
|
5526
|
-
}),
|
|
5521
|
+
}), il = new S("bounceInLeft", {
|
|
5527
5522
|
"from,60%,75%,90%,to": {
|
|
5528
5523
|
animationTimingFunction: "cubic-bezier(0.215, 0.61, 0.355, 1)"
|
|
5529
5524
|
},
|
|
@@ -5544,7 +5539,7 @@ const {
|
|
|
5544
5539
|
to: {
|
|
5545
5540
|
transform: "translate3d(0, 0, 0)"
|
|
5546
5541
|
}
|
|
5547
|
-
}),
|
|
5542
|
+
}), ll = new S("bounceInRight", {
|
|
5548
5543
|
"from,60%,75%,90%,to": {
|
|
5549
5544
|
animationTimingFunction: "cubic-bezier(0.215, 0.61, 0.355, 1)"
|
|
5550
5545
|
},
|
|
@@ -5565,7 +5560,7 @@ const {
|
|
|
5565
5560
|
to: {
|
|
5566
5561
|
transform: "translate3d(0, 0, 0)"
|
|
5567
5562
|
}
|
|
5568
|
-
}),
|
|
5563
|
+
}), rl = new S("bounceInDown", {
|
|
5569
5564
|
"from,60%,75%,90%,to": {
|
|
5570
5565
|
animationTimingFunction: "cubic-bezier(0.215, 0.61, 0.355, 1)"
|
|
5571
5566
|
},
|
|
@@ -5586,7 +5581,7 @@ const {
|
|
|
5586
5581
|
to: {
|
|
5587
5582
|
transform: "translate3d(0, 0, 0)"
|
|
5588
5583
|
}
|
|
5589
|
-
}),
|
|
5584
|
+
}), sl = new S("bounceInUp", {
|
|
5590
5585
|
"from,60%,75%,90%,to": {
|
|
5591
5586
|
animationTimingFunction: "cubic-bezier(0.215, 0.61, 0.355, 1)"
|
|
5592
5587
|
},
|
|
@@ -5607,7 +5602,7 @@ const {
|
|
|
5607
5602
|
to: {
|
|
5608
5603
|
transform: "translate3d(0, 0, 0)"
|
|
5609
5604
|
}
|
|
5610
|
-
}),
|
|
5605
|
+
}), ul = new S("bounceOut", {
|
|
5611
5606
|
"20%": {
|
|
5612
5607
|
transform: "scale3d(0.9, 0.9, 0.9)"
|
|
5613
5608
|
},
|
|
@@ -5621,7 +5616,7 @@ const {
|
|
|
5621
5616
|
opacity: 0,
|
|
5622
5617
|
transform: "scale3d(0.3, 0.3, 0.3)"
|
|
5623
5618
|
}
|
|
5624
|
-
}),
|
|
5619
|
+
}), cl = new S("bounceOutLeft", {
|
|
5625
5620
|
"20%": {
|
|
5626
5621
|
opacity: 1,
|
|
5627
5622
|
transform: "translate3d(20px, 0, 0) scaleX(0.9)"
|
|
@@ -5630,7 +5625,7 @@ const {
|
|
|
5630
5625
|
opacity: 0,
|
|
5631
5626
|
transform: "translate3d(-2000px, 0, 0) scaleX(2)"
|
|
5632
5627
|
}
|
|
5633
|
-
}),
|
|
5628
|
+
}), dl = new S("bounceOutRight", {
|
|
5634
5629
|
"20%": {
|
|
5635
5630
|
opacity: 1,
|
|
5636
5631
|
transform: "translate3d(-20px, 0, 0) scaleX(0.9)"
|
|
@@ -5639,7 +5634,7 @@ const {
|
|
|
5639
5634
|
opacity: 0,
|
|
5640
5635
|
transform: "translate3d(2000px, 0, 0) scaleX(2)"
|
|
5641
5636
|
}
|
|
5642
|
-
}),
|
|
5637
|
+
}), ml = new S("bounceOutDown", {
|
|
5643
5638
|
"20%": {
|
|
5644
5639
|
transform: "translate3d(0, 10px, 0) scaleY(0.985)"
|
|
5645
5640
|
},
|
|
@@ -5651,7 +5646,7 @@ const {
|
|
|
5651
5646
|
opacity: 0,
|
|
5652
5647
|
transform: "translate3d(0, 2000px, 0) scaleY(3)"
|
|
5653
5648
|
}
|
|
5654
|
-
}),
|
|
5649
|
+
}), fl = new S("bounceOutUp", {
|
|
5655
5650
|
"20%": {
|
|
5656
5651
|
transform: "translate3d(0, -10px, 0) scaleY(0.985)"
|
|
5657
5652
|
},
|
|
@@ -5663,58 +5658,58 @@ const {
|
|
|
5663
5658
|
opacity: 0,
|
|
5664
5659
|
transform: "translate3d(0, -2000px, 0) scaleY(3)"
|
|
5665
5660
|
}
|
|
5666
|
-
}),
|
|
5661
|
+
}), hl = () => ({
|
|
5667
5662
|
"&.bounceIn": {
|
|
5668
5663
|
animationFillMode: "both",
|
|
5669
5664
|
animationDuration: `${0.3 * 0.75}s !important`,
|
|
5670
|
-
animationName:
|
|
5665
|
+
animationName: ol
|
|
5671
5666
|
},
|
|
5672
5667
|
"&.bounceInLeft": {
|
|
5673
5668
|
animationFillMode: "both",
|
|
5674
|
-
animationName:
|
|
5669
|
+
animationName: il
|
|
5675
5670
|
},
|
|
5676
5671
|
"&.bounceInRight": {
|
|
5677
5672
|
animationFillMode: "both",
|
|
5678
|
-
animationName:
|
|
5673
|
+
animationName: ll
|
|
5679
5674
|
},
|
|
5680
5675
|
"&.bounceInDown": {
|
|
5681
5676
|
animationFillMode: "both",
|
|
5682
|
-
animationName:
|
|
5677
|
+
animationName: rl
|
|
5683
5678
|
},
|
|
5684
5679
|
"&.bounceInUp": {
|
|
5685
5680
|
animationFillMode: "both",
|
|
5686
|
-
animationName:
|
|
5681
|
+
animationName: sl
|
|
5687
5682
|
}
|
|
5688
|
-
}),
|
|
5683
|
+
}), gl = () => ({
|
|
5689
5684
|
"&.bounceOut": {
|
|
5690
5685
|
animationFillMode: "both",
|
|
5691
5686
|
animationDuration: `${0.3 * 0.75}s !important`,
|
|
5692
|
-
animationName:
|
|
5687
|
+
animationName: ul
|
|
5693
5688
|
},
|
|
5694
5689
|
"&.bounceOutLeft": {
|
|
5695
5690
|
animationFillMode: "both",
|
|
5696
|
-
animationName:
|
|
5691
|
+
animationName: cl
|
|
5697
5692
|
},
|
|
5698
5693
|
"&.bounceOutRight": {
|
|
5699
5694
|
animationFillMode: "both",
|
|
5700
|
-
animationName:
|
|
5695
|
+
animationName: dl
|
|
5701
5696
|
},
|
|
5702
5697
|
"&.bounceOutDown": {
|
|
5703
5698
|
animationFillMode: "both",
|
|
5704
|
-
animationName:
|
|
5699
|
+
animationName: ml
|
|
5705
5700
|
},
|
|
5706
5701
|
"&.bounceOutUp": {
|
|
5707
5702
|
animationFillMode: "both",
|
|
5708
|
-
animationName:
|
|
5703
|
+
animationName: fl
|
|
5709
5704
|
}
|
|
5710
|
-
}),
|
|
5705
|
+
}), yl = new S("fadeIn", {
|
|
5711
5706
|
from: {
|
|
5712
5707
|
opacity: 0
|
|
5713
5708
|
},
|
|
5714
5709
|
to: {
|
|
5715
5710
|
opacity: 1
|
|
5716
5711
|
}
|
|
5717
|
-
}),
|
|
5712
|
+
}), bl = new S("fadeInLeft", {
|
|
5718
5713
|
from: {
|
|
5719
5714
|
opacity: 0,
|
|
5720
5715
|
transform: "translate3d(-100%, 0, 0)"
|
|
@@ -5723,7 +5718,7 @@ const {
|
|
|
5723
5718
|
opacity: 1,
|
|
5724
5719
|
transform: "translate3d(0, 0, 0)"
|
|
5725
5720
|
}
|
|
5726
|
-
}),
|
|
5721
|
+
}), vl = new S("fadeInRight", {
|
|
5727
5722
|
from: {
|
|
5728
5723
|
opacity: 0,
|
|
5729
5724
|
transform: "translate3d(100%, 0, 0)"
|
|
@@ -5732,7 +5727,7 @@ const {
|
|
|
5732
5727
|
opacity: 1,
|
|
5733
5728
|
transform: "translate3d(0, 0, 0)"
|
|
5734
5729
|
}
|
|
5735
|
-
}),
|
|
5730
|
+
}), pl = new S("fadeInDown", {
|
|
5736
5731
|
from: {
|
|
5737
5732
|
opacity: 0,
|
|
5738
5733
|
transform: "translate3d(0, -100%, 0)"
|
|
@@ -5741,7 +5736,7 @@ const {
|
|
|
5741
5736
|
opacity: 1,
|
|
5742
5737
|
transform: "translate3d(0, 0, 0)"
|
|
5743
5738
|
}
|
|
5744
|
-
}),
|
|
5739
|
+
}), Cl = new S("fadeInUp", {
|
|
5745
5740
|
from: {
|
|
5746
5741
|
opacity: 0,
|
|
5747
5742
|
transform: "translate3d(0, 100%, 0)"
|
|
@@ -5750,7 +5745,7 @@ const {
|
|
|
5750
5745
|
opacity: 1,
|
|
5751
5746
|
transform: "translate3d(0, 0, 0)"
|
|
5752
5747
|
}
|
|
5753
|
-
}),
|
|
5748
|
+
}), xl = new S("fadeInDownBig", {
|
|
5754
5749
|
from: {
|
|
5755
5750
|
opacity: 0,
|
|
5756
5751
|
transform: "translate3d(0, -2000px, 0)"
|
|
@@ -5759,7 +5754,7 @@ const {
|
|
|
5759
5754
|
opacity: 1,
|
|
5760
5755
|
transform: "translate3d(0, 0, 0)"
|
|
5761
5756
|
}
|
|
5762
|
-
}),
|
|
5757
|
+
}), Sl = new S("fadeInUpBig", {
|
|
5763
5758
|
from: {
|
|
5764
5759
|
opacity: 0,
|
|
5765
5760
|
transform: "translate3d(0, 2000px, 0)"
|
|
@@ -5768,7 +5763,7 @@ const {
|
|
|
5768
5763
|
opacity: 1,
|
|
5769
5764
|
transform: "translate3d(0, 0, 0)"
|
|
5770
5765
|
}
|
|
5771
|
-
}),
|
|
5766
|
+
}), Il = new S("fadeInLeftBig", {
|
|
5772
5767
|
from: {
|
|
5773
5768
|
opacity: 0,
|
|
5774
5769
|
transform: "translate3d(-2000px, 0, 0)"
|
|
@@ -5777,7 +5772,7 @@ const {
|
|
|
5777
5772
|
opacity: 1,
|
|
5778
5773
|
transform: "translate3d(0, 0, 0)"
|
|
5779
5774
|
}
|
|
5780
|
-
}),
|
|
5775
|
+
}), wl = new S("fadeInRightBig", {
|
|
5781
5776
|
from: {
|
|
5782
5777
|
opacity: 0,
|
|
5783
5778
|
transform: "translate3d(2000px, 0, 0)"
|
|
@@ -5786,7 +5781,7 @@ const {
|
|
|
5786
5781
|
opacity: 1,
|
|
5787
5782
|
transform: "translate3d(0, 0, 0)"
|
|
5788
5783
|
}
|
|
5789
|
-
}),
|
|
5784
|
+
}), Rl = new S("fadeInTopLeft", {
|
|
5790
5785
|
from: {
|
|
5791
5786
|
opacity: 0,
|
|
5792
5787
|
transform: "translate3d(-100%, -100%, 0)"
|
|
@@ -5795,7 +5790,7 @@ const {
|
|
|
5795
5790
|
opacity: 1,
|
|
5796
5791
|
transform: "translate3d(0, 0, 0)"
|
|
5797
5792
|
}
|
|
5798
|
-
}),
|
|
5793
|
+
}), $l = new S("fadeInBottomRight", {
|
|
5799
5794
|
from: {
|
|
5800
5795
|
opacity: 0,
|
|
5801
5796
|
transform: "translate3d(100%, 100%, 0)"
|
|
@@ -5804,7 +5799,7 @@ const {
|
|
|
5804
5799
|
opacity: 1,
|
|
5805
5800
|
transform: "translate3d(0, 0, 0)"
|
|
5806
5801
|
}
|
|
5807
|
-
}),
|
|
5802
|
+
}), Bl = new S("fadeInTopRight", {
|
|
5808
5803
|
from: {
|
|
5809
5804
|
opacity: 0,
|
|
5810
5805
|
transform: "translate3d(100%, -100%, 0)"
|
|
@@ -5813,7 +5808,7 @@ const {
|
|
|
5813
5808
|
opacity: 1,
|
|
5814
5809
|
transform: "translate3d(0, 0, 0)"
|
|
5815
5810
|
}
|
|
5816
|
-
}),
|
|
5811
|
+
}), Ml = new S("fadeInBottomLeft", {
|
|
5817
5812
|
from: {
|
|
5818
5813
|
opacity: 0,
|
|
5819
5814
|
transform: "translate3d(-100%, 100%, 0)"
|
|
@@ -5822,14 +5817,14 @@ const {
|
|
|
5822
5817
|
opacity: 1,
|
|
5823
5818
|
transform: "translate3d(0, 0, 0)"
|
|
5824
5819
|
}
|
|
5825
|
-
}),
|
|
5820
|
+
}), Ll = new S("fadeOut", {
|
|
5826
5821
|
from: {
|
|
5827
5822
|
opacity: 1
|
|
5828
5823
|
},
|
|
5829
5824
|
to: {
|
|
5830
5825
|
opacity: 0
|
|
5831
5826
|
}
|
|
5832
|
-
}),
|
|
5827
|
+
}), Ol = new S("fadeOutLeft", {
|
|
5833
5828
|
from: {
|
|
5834
5829
|
opacity: 1
|
|
5835
5830
|
},
|
|
@@ -5837,7 +5832,7 @@ const {
|
|
|
5837
5832
|
opacity: 0,
|
|
5838
5833
|
transform: "translate3d(-100%, 0, 0)"
|
|
5839
5834
|
}
|
|
5840
|
-
}),
|
|
5835
|
+
}), Fl = new S("fadeOutRight", {
|
|
5841
5836
|
from: {
|
|
5842
5837
|
opacity: 1
|
|
5843
5838
|
},
|
|
@@ -5845,7 +5840,7 @@ const {
|
|
|
5845
5840
|
opacity: 0,
|
|
5846
5841
|
transform: "translate3d(100%, 0, 0)"
|
|
5847
5842
|
}
|
|
5848
|
-
}),
|
|
5843
|
+
}), kl = new S("fadeOutDown", {
|
|
5849
5844
|
from: {
|
|
5850
5845
|
opacity: 1
|
|
5851
5846
|
},
|
|
@@ -5853,7 +5848,7 @@ const {
|
|
|
5853
5848
|
opacity: 0,
|
|
5854
5849
|
transform: "translate3d(0, 100%, 0)"
|
|
5855
5850
|
}
|
|
5856
|
-
}),
|
|
5851
|
+
}), Pl = new S("fadeOutUp", {
|
|
5857
5852
|
from: {
|
|
5858
5853
|
opacity: 1
|
|
5859
5854
|
},
|
|
@@ -5861,7 +5856,7 @@ const {
|
|
|
5861
5856
|
opacity: 0,
|
|
5862
5857
|
transform: "translate3d(0, -100%, 0)"
|
|
5863
5858
|
}
|
|
5864
|
-
}),
|
|
5859
|
+
}), Tl = new S("fadeOutDownBig", {
|
|
5865
5860
|
from: {
|
|
5866
5861
|
opacity: 1
|
|
5867
5862
|
},
|
|
@@ -5869,7 +5864,7 @@ const {
|
|
|
5869
5864
|
opacity: 0,
|
|
5870
5865
|
transform: "translate3d(0, 2000px, 0)"
|
|
5871
5866
|
}
|
|
5872
|
-
}),
|
|
5867
|
+
}), Nl = new S("fadeOutUpBig", {
|
|
5873
5868
|
from: {
|
|
5874
5869
|
opacity: 1
|
|
5875
5870
|
},
|
|
@@ -5877,7 +5872,7 @@ const {
|
|
|
5877
5872
|
opacity: 0,
|
|
5878
5873
|
transform: "translate3d(0, -2000px, 0)"
|
|
5879
5874
|
}
|
|
5880
|
-
}),
|
|
5875
|
+
}), zl = new S("fadeOutLeftBig", {
|
|
5881
5876
|
from: {
|
|
5882
5877
|
opacity: 1
|
|
5883
5878
|
},
|
|
@@ -5885,7 +5880,7 @@ const {
|
|
|
5885
5880
|
opacity: 0,
|
|
5886
5881
|
transform: "translate3d(-2000px, 0, 0)"
|
|
5887
5882
|
}
|
|
5888
|
-
}),
|
|
5883
|
+
}), Dl = new S("fadeOutRightBig", {
|
|
5889
5884
|
from: {
|
|
5890
5885
|
opacity: 1
|
|
5891
5886
|
},
|
|
@@ -5893,7 +5888,7 @@ const {
|
|
|
5893
5888
|
opacity: 0,
|
|
5894
5889
|
transform: "translate3d(2000px, 0, 0)"
|
|
5895
5890
|
}
|
|
5896
|
-
}),
|
|
5891
|
+
}), Al = new S("fadeOutTopLeft", {
|
|
5897
5892
|
from: {
|
|
5898
5893
|
opacity: 1,
|
|
5899
5894
|
transform: "translate3d(0, 0, 0)"
|
|
@@ -5902,7 +5897,7 @@ const {
|
|
|
5902
5897
|
opacity: 0,
|
|
5903
5898
|
transform: "translate3d(-100%, -100%, 0)"
|
|
5904
5899
|
}
|
|
5905
|
-
}),
|
|
5900
|
+
}), Hl = new S("fadeOutBottomRight", {
|
|
5906
5901
|
from: {
|
|
5907
5902
|
opacity: 1,
|
|
5908
5903
|
transform: "translate3d(0, 0, 0)"
|
|
@@ -5911,7 +5906,7 @@ const {
|
|
|
5911
5906
|
opacity: 0,
|
|
5912
5907
|
transform: "translate3d(100%, 100%, 0)"
|
|
5913
5908
|
}
|
|
5914
|
-
}),
|
|
5909
|
+
}), jl = new S("fadeOutTopRight", {
|
|
5915
5910
|
from: {
|
|
5916
5911
|
opacity: 1,
|
|
5917
5912
|
transform: "translate3d(0, 0, 0)"
|
|
@@ -5920,7 +5915,7 @@ const {
|
|
|
5920
5915
|
opacity: 0,
|
|
5921
5916
|
transform: "translate3d(100%, -100%, 0)"
|
|
5922
5917
|
}
|
|
5923
|
-
}),
|
|
5918
|
+
}), El = new S("fadeOutBottomLeft", {
|
|
5924
5919
|
from: {
|
|
5925
5920
|
opacity: 1,
|
|
5926
5921
|
transform: "translate3d(0, 0, 0)"
|
|
@@ -5929,113 +5924,113 @@ const {
|
|
|
5929
5924
|
opacity: 0,
|
|
5930
5925
|
transform: "translate3d(-100%, 100%, 0)"
|
|
5931
5926
|
}
|
|
5932
|
-
}),
|
|
5927
|
+
}), Kl = () => ({
|
|
5933
5928
|
"&.fadeIn": {
|
|
5934
5929
|
animationFillMode: "both",
|
|
5935
|
-
animationName:
|
|
5930
|
+
animationName: yl
|
|
5936
5931
|
},
|
|
5937
5932
|
"&.fadeInLeft": {
|
|
5938
5933
|
animationFillMode: "both",
|
|
5939
|
-
animationName:
|
|
5934
|
+
animationName: bl
|
|
5940
5935
|
},
|
|
5941
5936
|
"&.fadeInRight": {
|
|
5942
5937
|
animationFillMode: "both",
|
|
5943
|
-
animationName:
|
|
5938
|
+
animationName: vl
|
|
5944
5939
|
},
|
|
5945
5940
|
"&.fadeInDown": {
|
|
5946
5941
|
animationFillMode: "both",
|
|
5947
|
-
animationName:
|
|
5942
|
+
animationName: pl
|
|
5948
5943
|
},
|
|
5949
5944
|
"&.fadeInUp": {
|
|
5950
5945
|
animationFillMode: "both",
|
|
5951
|
-
animationName:
|
|
5946
|
+
animationName: Cl
|
|
5952
5947
|
},
|
|
5953
5948
|
"&.fadeInLeftBig": {
|
|
5954
5949
|
animationFillMode: "both",
|
|
5955
|
-
animationName:
|
|
5950
|
+
animationName: Il
|
|
5956
5951
|
},
|
|
5957
5952
|
"&.fadeInRightBig": {
|
|
5958
5953
|
animationFillMode: "both",
|
|
5959
|
-
animationName:
|
|
5954
|
+
animationName: wl
|
|
5960
5955
|
},
|
|
5961
5956
|
"&.fadeInUpBig": {
|
|
5962
5957
|
animationFillMode: "both",
|
|
5963
|
-
animationName:
|
|
5958
|
+
animationName: Sl
|
|
5964
5959
|
},
|
|
5965
5960
|
"&.fadeInDownBig": {
|
|
5966
5961
|
animationFillMode: "both",
|
|
5967
|
-
animationName:
|
|
5962
|
+
animationName: xl
|
|
5968
5963
|
},
|
|
5969
5964
|
"&.fadeInTopLeft": {
|
|
5970
5965
|
animationFillMode: "both",
|
|
5971
|
-
animationName:
|
|
5966
|
+
animationName: Rl
|
|
5972
5967
|
},
|
|
5973
5968
|
"&.fadeInBottomRight": {
|
|
5974
5969
|
animationFillMode: "both",
|
|
5975
|
-
animationName:
|
|
5970
|
+
animationName: $l
|
|
5976
5971
|
},
|
|
5977
5972
|
"&.fadeInTopRight": {
|
|
5978
5973
|
animationFillMode: "both",
|
|
5979
|
-
animationName:
|
|
5974
|
+
animationName: Bl
|
|
5980
5975
|
},
|
|
5981
5976
|
"&.fadeInBottomLeft": {
|
|
5982
5977
|
animationFillMode: "both",
|
|
5983
|
-
animationName:
|
|
5978
|
+
animationName: Ml
|
|
5984
5979
|
}
|
|
5985
|
-
}),
|
|
5980
|
+
}), Wl = () => ({
|
|
5986
5981
|
"&.fadeOut": {
|
|
5987
5982
|
animationFillMode: "both",
|
|
5988
|
-
animationName:
|
|
5983
|
+
animationName: Ll
|
|
5989
5984
|
},
|
|
5990
5985
|
"&.fadeOutLeft": {
|
|
5991
5986
|
animationFillMode: "both",
|
|
5992
|
-
animationName:
|
|
5987
|
+
animationName: Ol
|
|
5993
5988
|
},
|
|
5994
5989
|
"&.fadeOutRight": {
|
|
5995
5990
|
animationFillMode: "both",
|
|
5996
|
-
animationName:
|
|
5991
|
+
animationName: Fl
|
|
5997
5992
|
},
|
|
5998
5993
|
"&.fadeOutDown": {
|
|
5999
5994
|
animationFillMode: "both",
|
|
6000
|
-
animationName:
|
|
5995
|
+
animationName: kl
|
|
6001
5996
|
},
|
|
6002
5997
|
"&.fadeOutUp": {
|
|
6003
5998
|
animationFillMode: "both",
|
|
6004
|
-
animationName:
|
|
5999
|
+
animationName: Pl
|
|
6005
6000
|
},
|
|
6006
6001
|
"&.fadeOutDownBig": {
|
|
6007
6002
|
animationFillMode: "both",
|
|
6008
|
-
animationName:
|
|
6003
|
+
animationName: Tl
|
|
6009
6004
|
},
|
|
6010
6005
|
"&.fadeOutUpBig": {
|
|
6011
6006
|
animationFillMode: "both",
|
|
6012
|
-
animationName:
|
|
6007
|
+
animationName: Nl
|
|
6013
6008
|
},
|
|
6014
6009
|
"&.fadeOutLeftBig": {
|
|
6015
6010
|
animationFillMode: "both",
|
|
6016
|
-
animationName:
|
|
6011
|
+
animationName: zl
|
|
6017
6012
|
},
|
|
6018
6013
|
"&.fadeOutRightBig": {
|
|
6019
6014
|
animationFillMode: "both",
|
|
6020
|
-
animationName:
|
|
6015
|
+
animationName: Dl
|
|
6021
6016
|
},
|
|
6022
6017
|
"&.fadeOutTopLeft": {
|
|
6023
6018
|
animationFillMode: "both",
|
|
6024
|
-
animationName:
|
|
6019
|
+
animationName: Al
|
|
6025
6020
|
},
|
|
6026
6021
|
"&.fadeOutBottomRight": {
|
|
6027
6022
|
animationFillMode: "both",
|
|
6028
|
-
animationName:
|
|
6023
|
+
animationName: Hl
|
|
6029
6024
|
},
|
|
6030
6025
|
"&.fadeOutTopRight": {
|
|
6031
6026
|
animationFillMode: "both",
|
|
6032
|
-
animationName:
|
|
6027
|
+
animationName: jl
|
|
6033
6028
|
},
|
|
6034
6029
|
"&.fadeOutBottomLeft": {
|
|
6035
6030
|
animationFillMode: "both",
|
|
6036
|
-
animationName:
|
|
6031
|
+
animationName: El
|
|
6037
6032
|
}
|
|
6038
|
-
}),
|
|
6033
|
+
}), Ul = new S("flipInX", {
|
|
6039
6034
|
from: {
|
|
6040
6035
|
opacity: 0,
|
|
6041
6036
|
animationTimingFunction: "ease-in",
|
|
@@ -6055,7 +6050,7 @@ const {
|
|
|
6055
6050
|
to: {
|
|
6056
6051
|
transform: "perspective(400px)"
|
|
6057
6052
|
}
|
|
6058
|
-
}),
|
|
6053
|
+
}), _l = new S("flipInY", {
|
|
6059
6054
|
from: {
|
|
6060
6055
|
opacity: 0,
|
|
6061
6056
|
animationTimingFunction: "ease-in",
|
|
@@ -6075,7 +6070,7 @@ const {
|
|
|
6075
6070
|
to: {
|
|
6076
6071
|
transform: "perspective(400px)"
|
|
6077
6072
|
}
|
|
6078
|
-
}),
|
|
6073
|
+
}), Xl = new S("flipOutX", {
|
|
6079
6074
|
from: {
|
|
6080
6075
|
transform: "perspective(400px)"
|
|
6081
6076
|
},
|
|
@@ -6087,7 +6082,7 @@ const {
|
|
|
6087
6082
|
opacity: 0,
|
|
6088
6083
|
transform: "perspective(400px) rotate3d(1, 0, 0, 90deg)"
|
|
6089
6084
|
}
|
|
6090
|
-
}),
|
|
6085
|
+
}), Vl = new S("flipOutY", {
|
|
6091
6086
|
from: {
|
|
6092
6087
|
transform: "perspective(400px)"
|
|
6093
6088
|
},
|
|
@@ -6099,31 +6094,31 @@ const {
|
|
|
6099
6094
|
opacity: 0,
|
|
6100
6095
|
transform: "perspective(400px) rotate3d(0, 1, 0, 90deg)"
|
|
6101
6096
|
}
|
|
6102
|
-
}),
|
|
6097
|
+
}), Gl = () => ({
|
|
6103
6098
|
"&.flipInX": {
|
|
6104
6099
|
animationFillMode: "both",
|
|
6105
6100
|
backfaceVisibility: "visible !important",
|
|
6106
|
-
animationName:
|
|
6101
|
+
animationName: Ul
|
|
6107
6102
|
},
|
|
6108
6103
|
"&.flipInY": {
|
|
6109
6104
|
animationFillMode: "both",
|
|
6110
6105
|
backfaceVisibility: "visible !important",
|
|
6111
|
-
animationName:
|
|
6106
|
+
animationName: _l
|
|
6112
6107
|
}
|
|
6113
|
-
}),
|
|
6108
|
+
}), Yl = () => ({
|
|
6114
6109
|
"&.flipOutX": {
|
|
6115
6110
|
animationFillMode: "both",
|
|
6116
6111
|
backfaceVisibility: "visible !important",
|
|
6117
6112
|
animationDuration: `${0.3 * 0.75}s !important`,
|
|
6118
|
-
animationName:
|
|
6113
|
+
animationName: Xl
|
|
6119
6114
|
},
|
|
6120
6115
|
"&.flipOutY": {
|
|
6121
6116
|
animationFillMode: "both",
|
|
6122
6117
|
backfaceVisibility: "visible !important",
|
|
6123
6118
|
animationDuration: `${0.3 * 0.75}s !important`,
|
|
6124
|
-
animationName:
|
|
6119
|
+
animationName: Vl
|
|
6125
6120
|
}
|
|
6126
|
-
}),
|
|
6121
|
+
}), ql = new S("lightSpeedInLeft", {
|
|
6127
6122
|
from: {
|
|
6128
6123
|
opacity: 0,
|
|
6129
6124
|
transform: "translate3d(-100%, 0, 0) skewX(30deg)"
|
|
@@ -6138,7 +6133,7 @@ const {
|
|
|
6138
6133
|
to: {
|
|
6139
6134
|
transform: "translate3d(0, 0, 0)"
|
|
6140
6135
|
}
|
|
6141
|
-
}),
|
|
6136
|
+
}), Ql = new S("lightSpeedInRight", {
|
|
6142
6137
|
from: {
|
|
6143
6138
|
opacity: 0,
|
|
6144
6139
|
transform: "translate3d(100%, 0, 0) skewX(-30deg)"
|
|
@@ -6153,7 +6148,7 @@ const {
|
|
|
6153
6148
|
to: {
|
|
6154
6149
|
transform: "translate3d(0, 0, 0)"
|
|
6155
6150
|
}
|
|
6156
|
-
}),
|
|
6151
|
+
}), Zl = new S("lightSpeedOutLeft", {
|
|
6157
6152
|
from: {
|
|
6158
6153
|
opacity: 1
|
|
6159
6154
|
},
|
|
@@ -6161,7 +6156,7 @@ const {
|
|
|
6161
6156
|
opacity: 0,
|
|
6162
6157
|
transform: "translate3d(-100%, 0, 0) skewX(-30deg)"
|
|
6163
6158
|
}
|
|
6164
|
-
}),
|
|
6159
|
+
}), Jl = new S("lightSpeedOutRight", {
|
|
6165
6160
|
from: {
|
|
6166
6161
|
opacity: 1
|
|
6167
6162
|
},
|
|
@@ -6169,29 +6164,29 @@ const {
|
|
|
6169
6164
|
opacity: 0,
|
|
6170
6165
|
transform: "translate3d(100%, 0, 0) skewX(30deg)"
|
|
6171
6166
|
}
|
|
6172
|
-
}),
|
|
6167
|
+
}), er = () => ({
|
|
6173
6168
|
"&.lightSpeedInLeft": {
|
|
6174
6169
|
animationFillMode: "both",
|
|
6175
6170
|
animationTimingFunction: "ease-out",
|
|
6176
|
-
animationName:
|
|
6171
|
+
animationName: ql
|
|
6177
6172
|
},
|
|
6178
6173
|
"&.lightSpeedInRight": {
|
|
6179
6174
|
animationFillMode: "both",
|
|
6180
6175
|
animationTimingFunction: "ease-out",
|
|
6181
|
-
animationName:
|
|
6176
|
+
animationName: Ql
|
|
6182
6177
|
}
|
|
6183
|
-
}),
|
|
6178
|
+
}), tr = () => ({
|
|
6184
6179
|
"&.lightSpeedOutLeft": {
|
|
6185
6180
|
animationFillMode: "both",
|
|
6186
6181
|
animationTimingFunction: "ease-in",
|
|
6187
|
-
animationName:
|
|
6182
|
+
animationName: Zl
|
|
6188
6183
|
},
|
|
6189
6184
|
"&.lightSpeedOutRight": {
|
|
6190
6185
|
animationFillMode: "both",
|
|
6191
6186
|
animationTimingFunction: "ease-in",
|
|
6192
|
-
animationName:
|
|
6187
|
+
animationName: Jl
|
|
6193
6188
|
}
|
|
6194
|
-
}),
|
|
6189
|
+
}), nr = new S("rotateIn", {
|
|
6195
6190
|
from: {
|
|
6196
6191
|
opacity: 0,
|
|
6197
6192
|
transform: "rotate3d(0, 0, 1, -200deg)"
|
|
@@ -6200,7 +6195,7 @@ const {
|
|
|
6200
6195
|
opacity: 1,
|
|
6201
6196
|
transform: "translate3d(0, 0, 0)"
|
|
6202
6197
|
}
|
|
6203
|
-
}),
|
|
6198
|
+
}), ar = new S("rotateInDownLeft", {
|
|
6204
6199
|
from: {
|
|
6205
6200
|
opacity: 0,
|
|
6206
6201
|
transform: "rotate3d(0, 0, 1, -45deg)"
|
|
@@ -6209,7 +6204,7 @@ const {
|
|
|
6209
6204
|
opacity: 1,
|
|
6210
6205
|
transform: "translate3d(0, 0, 0)"
|
|
6211
6206
|
}
|
|
6212
|
-
}),
|
|
6207
|
+
}), or = new S("rotateInDownRight", {
|
|
6213
6208
|
from: {
|
|
6214
6209
|
opacity: 0,
|
|
6215
6210
|
transform: "rotate3d(0, 0, 1, 45deg)"
|
|
@@ -6218,7 +6213,7 @@ const {
|
|
|
6218
6213
|
opacity: 1,
|
|
6219
6214
|
transform: "translate3d(0, 0, 0)"
|
|
6220
6215
|
}
|
|
6221
|
-
}),
|
|
6216
|
+
}), ir = new S("rotateInUpLeft", {
|
|
6222
6217
|
from: {
|
|
6223
6218
|
opacity: 0,
|
|
6224
6219
|
transform: "rotate3d(0, 0, 1, 45deg)"
|
|
@@ -6227,7 +6222,7 @@ const {
|
|
|
6227
6222
|
opacity: 1,
|
|
6228
6223
|
transform: "translate3d(0, 0, 0)"
|
|
6229
6224
|
}
|
|
6230
|
-
}),
|
|
6225
|
+
}), lr = new S("rotateInUpRight", {
|
|
6231
6226
|
from: {
|
|
6232
6227
|
opacity: 0,
|
|
6233
6228
|
transform: "rotate3d(0, 0, 1, -90deg)"
|
|
@@ -6236,7 +6231,7 @@ const {
|
|
|
6236
6231
|
opacity: 1,
|
|
6237
6232
|
transform: "translate3d(0, 0, 0)"
|
|
6238
6233
|
}
|
|
6239
|
-
}),
|
|
6234
|
+
}), rr = new S("rotateOut", {
|
|
6240
6235
|
from: {
|
|
6241
6236
|
opacity: 1
|
|
6242
6237
|
},
|
|
@@ -6244,7 +6239,7 @@ const {
|
|
|
6244
6239
|
opacity: 0,
|
|
6245
6240
|
transform: "rotate3d(0, 0, 1, 200deg)"
|
|
6246
6241
|
}
|
|
6247
|
-
}),
|
|
6242
|
+
}), sr = new S("rotateOutDownLeft", {
|
|
6248
6243
|
from: {
|
|
6249
6244
|
opacity: 1
|
|
6250
6245
|
},
|
|
@@ -6252,7 +6247,7 @@ const {
|
|
|
6252
6247
|
opacity: 0,
|
|
6253
6248
|
transform: "rotate3d(0, 0, 1, 45deg)"
|
|
6254
6249
|
}
|
|
6255
|
-
}),
|
|
6250
|
+
}), ur = new S("rotateOutDownRight", {
|
|
6256
6251
|
from: {
|
|
6257
6252
|
opacity: 1
|
|
6258
6253
|
},
|
|
@@ -6260,7 +6255,7 @@ const {
|
|
|
6260
6255
|
opacity: 0,
|
|
6261
6256
|
transform: "rotate3d(0, 0, 1, -45deg)"
|
|
6262
6257
|
}
|
|
6263
|
-
}),
|
|
6258
|
+
}), cr = new S("rotateOutUpLeft", {
|
|
6264
6259
|
from: {
|
|
6265
6260
|
opacity: 1
|
|
6266
6261
|
},
|
|
@@ -6268,7 +6263,7 @@ const {
|
|
|
6268
6263
|
opacity: 0,
|
|
6269
6264
|
transform: "rotate3d(0, 0, 1, -45deg)"
|
|
6270
6265
|
}
|
|
6271
|
-
}),
|
|
6266
|
+
}), dr = new S("rotateOutUpRight", {
|
|
6272
6267
|
from: {
|
|
6273
6268
|
opacity: 1
|
|
6274
6269
|
},
|
|
@@ -6276,59 +6271,59 @@ const {
|
|
|
6276
6271
|
opacity: 0,
|
|
6277
6272
|
transform: "rotate3d(0, 0, 1, 90deg)"
|
|
6278
6273
|
}
|
|
6279
|
-
}),
|
|
6274
|
+
}), mr = () => ({
|
|
6280
6275
|
"&.rotateIn": {
|
|
6281
6276
|
animationFillMode: "both",
|
|
6282
6277
|
transformOrigin: "center",
|
|
6283
|
-
animationName:
|
|
6278
|
+
animationName: nr
|
|
6284
6279
|
},
|
|
6285
6280
|
"&.rotateInDownLeft": {
|
|
6286
6281
|
animationFillMode: "both",
|
|
6287
6282
|
transformOrigin: "left bottom",
|
|
6288
|
-
animationName:
|
|
6283
|
+
animationName: ar
|
|
6289
6284
|
},
|
|
6290
6285
|
"&.rotateInDownRight": {
|
|
6291
6286
|
animationFillMode: "both",
|
|
6292
6287
|
transformOrigin: "right bottom",
|
|
6293
|
-
animationName:
|
|
6288
|
+
animationName: or
|
|
6294
6289
|
},
|
|
6295
6290
|
"&.rotateInUpLeft": {
|
|
6296
6291
|
animationFillMode: "both",
|
|
6297
6292
|
transformOrigin: "left bottom",
|
|
6298
|
-
animationName:
|
|
6293
|
+
animationName: ir
|
|
6299
6294
|
},
|
|
6300
6295
|
"&.rotateInUpRight": {
|
|
6301
6296
|
animationFillMode: "both",
|
|
6302
6297
|
transformOrigin: "right bottom",
|
|
6303
|
-
animationName:
|
|
6298
|
+
animationName: lr
|
|
6304
6299
|
}
|
|
6305
|
-
}),
|
|
6300
|
+
}), fr = () => ({
|
|
6306
6301
|
"&.rotateOut": {
|
|
6307
6302
|
animationFillMode: "both",
|
|
6308
6303
|
transformOrigin: "center",
|
|
6309
|
-
animationName:
|
|
6304
|
+
animationName: rr
|
|
6310
6305
|
},
|
|
6311
6306
|
"&.rotateOutDownLeft": {
|
|
6312
6307
|
animationFillMode: "both",
|
|
6313
6308
|
transformOrigin: "left bottom",
|
|
6314
|
-
animationName:
|
|
6309
|
+
animationName: sr
|
|
6315
6310
|
},
|
|
6316
6311
|
"&.rotateOutDownRight": {
|
|
6317
6312
|
animationFillMode: "both",
|
|
6318
6313
|
transformOrigin: "right bottom",
|
|
6319
|
-
animationName:
|
|
6314
|
+
animationName: ur
|
|
6320
6315
|
},
|
|
6321
6316
|
"&.rotateOutUpLeft": {
|
|
6322
6317
|
animationFillMode: "both",
|
|
6323
6318
|
transformOrigin: "left bottom",
|
|
6324
|
-
animationName:
|
|
6319
|
+
animationName: cr
|
|
6325
6320
|
},
|
|
6326
6321
|
"&.rotateOutUpRight": {
|
|
6327
6322
|
animationFillMode: "both",
|
|
6328
6323
|
transformOrigin: "right bottom",
|
|
6329
|
-
animationName:
|
|
6324
|
+
animationName: dr
|
|
6330
6325
|
}
|
|
6331
|
-
}),
|
|
6326
|
+
}), hr = new S("rollIn", {
|
|
6332
6327
|
from: {
|
|
6333
6328
|
opacity: 0,
|
|
6334
6329
|
transform: "translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg)"
|
|
@@ -6337,7 +6332,7 @@ const {
|
|
|
6337
6332
|
opacity: 1,
|
|
6338
6333
|
transform: "translate3d(0, 0, 0)"
|
|
6339
6334
|
}
|
|
6340
|
-
}),
|
|
6335
|
+
}), gr = new S("rollOut", {
|
|
6341
6336
|
from: {
|
|
6342
6337
|
opacity: 1
|
|
6343
6338
|
},
|
|
@@ -6345,17 +6340,17 @@ const {
|
|
|
6345
6340
|
opacity: 0,
|
|
6346
6341
|
transform: "translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg)"
|
|
6347
6342
|
}
|
|
6348
|
-
}),
|
|
6343
|
+
}), yr = () => ({
|
|
6349
6344
|
"&.rollIn": {
|
|
6350
6345
|
animationFillMode: "both",
|
|
6351
|
-
animationName:
|
|
6346
|
+
animationName: hr
|
|
6352
6347
|
}
|
|
6353
|
-
}),
|
|
6348
|
+
}), br = () => ({
|
|
6354
6349
|
"&.rollOut": {
|
|
6355
6350
|
animationFillMode: "both",
|
|
6356
|
-
animationName:
|
|
6351
|
+
animationName: gr
|
|
6357
6352
|
}
|
|
6358
|
-
}),
|
|
6353
|
+
}), vr = new S("zoomIn", {
|
|
6359
6354
|
from: {
|
|
6360
6355
|
opacity: 0,
|
|
6361
6356
|
transform: "scale3d(0.3, 0.3, 0.3)"
|
|
@@ -6363,7 +6358,7 @@ const {
|
|
|
6363
6358
|
"50%": {
|
|
6364
6359
|
opacity: 1
|
|
6365
6360
|
}
|
|
6366
|
-
}),
|
|
6361
|
+
}), pr = new S("zoomInDown", {
|
|
6367
6362
|
from: {
|
|
6368
6363
|
opacity: 0,
|
|
6369
6364
|
transform: "scale3d(0.1, 0.1, 0.1) translate3d(0, -1000px, 0)",
|
|
@@ -6374,7 +6369,7 @@ const {
|
|
|
6374
6369
|
transform: "scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0)",
|
|
6375
6370
|
animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
|
|
6376
6371
|
}
|
|
6377
|
-
}),
|
|
6372
|
+
}), Cr = new S("zoomInLeft", {
|
|
6378
6373
|
from: {
|
|
6379
6374
|
opacity: 0,
|
|
6380
6375
|
transform: "scale3d(0.1, 0.1, 0.1) translate3d(-1000px, 0, 0)",
|
|
@@ -6385,7 +6380,7 @@ const {
|
|
|
6385
6380
|
transform: "scale3d(0.475, 0.475, 0.475) translate3d(10px, 0, 0)",
|
|
6386
6381
|
animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
|
|
6387
6382
|
}
|
|
6388
|
-
}),
|
|
6383
|
+
}), xr = new S("zoomInRight", {
|
|
6389
6384
|
from: {
|
|
6390
6385
|
opacity: 0,
|
|
6391
6386
|
transform: "scale3d(0.1, 0.1, 0.1) translate3d(1000px, 0, 0)",
|
|
@@ -6396,7 +6391,7 @@ const {
|
|
|
6396
6391
|
transform: "scale3d(0.475, 0.475, 0.475) translate3d(-10px, 0, 0)",
|
|
6397
6392
|
animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
|
|
6398
6393
|
}
|
|
6399
|
-
}),
|
|
6394
|
+
}), Sr = new S("zoomInUp", {
|
|
6400
6395
|
from: {
|
|
6401
6396
|
opacity: 0,
|
|
6402
6397
|
transform: "scale3d(0.1, 0.1, 0.1) translate3d(0, 1000px, 0)",
|
|
@@ -6407,7 +6402,7 @@ const {
|
|
|
6407
6402
|
transform: "scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0)",
|
|
6408
6403
|
animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
|
|
6409
6404
|
}
|
|
6410
|
-
}),
|
|
6405
|
+
}), Ir = new S("zoomOut", {
|
|
6411
6406
|
from: {
|
|
6412
6407
|
opacity: 1
|
|
6413
6408
|
},
|
|
@@ -6418,7 +6413,7 @@ const {
|
|
|
6418
6413
|
to: {
|
|
6419
6414
|
opacity: 0
|
|
6420
6415
|
}
|
|
6421
|
-
}),
|
|
6416
|
+
}), wr = new S("zoomOutDown", {
|
|
6422
6417
|
"40%": {
|
|
6423
6418
|
opacity: 1,
|
|
6424
6419
|
transform: "scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0)",
|
|
@@ -6429,7 +6424,7 @@ const {
|
|
|
6429
6424
|
transform: "scale3d(0.1, 0.1, 0.1) translate3d(0, 2000px, 0)",
|
|
6430
6425
|
animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
|
|
6431
6426
|
}
|
|
6432
|
-
}),
|
|
6427
|
+
}), Rr = new S("zoomOutLeft", {
|
|
6433
6428
|
"40%": {
|
|
6434
6429
|
opacity: 1,
|
|
6435
6430
|
transform: "scale3d(0.475, 0.475, 0.475) translate3d(42px, 0, 0)"
|
|
@@ -6438,7 +6433,7 @@ const {
|
|
|
6438
6433
|
opacity: 0,
|
|
6439
6434
|
transform: "scale(0.1) translate3d(-2000px, 0, 0)"
|
|
6440
6435
|
}
|
|
6441
|
-
}),
|
|
6436
|
+
}), $r = new S("zoomOutRight", {
|
|
6442
6437
|
"40%": {
|
|
6443
6438
|
opacity: 1,
|
|
6444
6439
|
transform: "scale3d(0.475, 0.475, 0.475) translate3d(-42px, 0, 0)"
|
|
@@ -6447,7 +6442,7 @@ const {
|
|
|
6447
6442
|
opacity: 0,
|
|
6448
6443
|
transform: "scale(0.1) translate3d(2000px, 0, 0)"
|
|
6449
6444
|
}
|
|
6450
|
-
}),
|
|
6445
|
+
}), Br = new S("zoomOutUp", {
|
|
6451
6446
|
"40%": {
|
|
6452
6447
|
opacity: 1,
|
|
6453
6448
|
transform: "scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0)",
|
|
@@ -6458,53 +6453,53 @@ const {
|
|
|
6458
6453
|
transform: "scale3d(0.1, 0.1, 0.1) translate3d(0, -2000px, 0)",
|
|
6459
6454
|
animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
|
|
6460
6455
|
}
|
|
6461
|
-
}),
|
|
6456
|
+
}), Mr = () => ({
|
|
6462
6457
|
"&.zoomIn": {
|
|
6463
6458
|
animationFillMode: "both",
|
|
6464
|
-
animationName:
|
|
6459
|
+
animationName: vr
|
|
6465
6460
|
},
|
|
6466
6461
|
"&.zoomInDown": {
|
|
6467
6462
|
animationFillMode: "both",
|
|
6468
|
-
animationName:
|
|
6463
|
+
animationName: pr
|
|
6469
6464
|
},
|
|
6470
6465
|
"&.zoomInLeft": {
|
|
6471
6466
|
animationFillMode: "both",
|
|
6472
|
-
animationName:
|
|
6467
|
+
animationName: Cr
|
|
6473
6468
|
},
|
|
6474
6469
|
"&.zoomInRight": {
|
|
6475
6470
|
animationFillMode: "both",
|
|
6476
|
-
animationName:
|
|
6471
|
+
animationName: xr
|
|
6477
6472
|
},
|
|
6478
6473
|
"&.zoomInUp": {
|
|
6479
6474
|
animationFillMode: "both",
|
|
6480
|
-
animationName:
|
|
6475
|
+
animationName: Sr
|
|
6481
6476
|
}
|
|
6482
|
-
}),
|
|
6477
|
+
}), Lr = () => ({
|
|
6483
6478
|
"&.zoomOut": {
|
|
6484
6479
|
animationFillMode: "both",
|
|
6485
|
-
animationName:
|
|
6480
|
+
animationName: Ir
|
|
6486
6481
|
},
|
|
6487
6482
|
"&.zoomOutDown": {
|
|
6488
6483
|
animationFillMode: "both",
|
|
6489
6484
|
transformOrigin: "center bottom",
|
|
6490
|
-
animationName:
|
|
6485
|
+
animationName: wr
|
|
6491
6486
|
},
|
|
6492
6487
|
"&.zoomOutLeft": {
|
|
6493
6488
|
animationFillMode: "both",
|
|
6494
6489
|
transformOrigin: "left center",
|
|
6495
|
-
animationName:
|
|
6490
|
+
animationName: Rr
|
|
6496
6491
|
},
|
|
6497
6492
|
"&.zoomOutRight": {
|
|
6498
6493
|
animationFillMode: "both",
|
|
6499
6494
|
transformOrigin: "right center",
|
|
6500
|
-
animationName:
|
|
6495
|
+
animationName: $r
|
|
6501
6496
|
},
|
|
6502
6497
|
"&.zoomOutUp": {
|
|
6503
6498
|
animationFillMode: "both",
|
|
6504
6499
|
transformOrigin: "center bottom",
|
|
6505
|
-
animationName:
|
|
6500
|
+
animationName: Br
|
|
6506
6501
|
}
|
|
6507
|
-
}),
|
|
6502
|
+
}), Or = new S("slideInDown", {
|
|
6508
6503
|
from: {
|
|
6509
6504
|
transform: "translate3d(0, -100%, 0)",
|
|
6510
6505
|
visibility: "visible"
|
|
@@ -6512,7 +6507,7 @@ const {
|
|
|
6512
6507
|
to: {
|
|
6513
6508
|
transform: "translate3d(0, 0, 0)"
|
|
6514
6509
|
}
|
|
6515
|
-
}),
|
|
6510
|
+
}), Fr = new S("slideInLeft", {
|
|
6516
6511
|
from: {
|
|
6517
6512
|
transform: "translate3d(-100%, 0, 0)",
|
|
6518
6513
|
visibility: "visible"
|
|
@@ -6520,7 +6515,7 @@ const {
|
|
|
6520
6515
|
to: {
|
|
6521
6516
|
transform: "translate3d(0, 0, 0)"
|
|
6522
6517
|
}
|
|
6523
|
-
}),
|
|
6518
|
+
}), kr = new S("slideInRight", {
|
|
6524
6519
|
from: {
|
|
6525
6520
|
transform: "translate3d(100%, 0, 0)",
|
|
6526
6521
|
visibility: "visible"
|
|
@@ -6528,7 +6523,7 @@ const {
|
|
|
6528
6523
|
to: {
|
|
6529
6524
|
transform: "translate3d(0, 0, 0)"
|
|
6530
6525
|
}
|
|
6531
|
-
}),
|
|
6526
|
+
}), Pr = new S("slideInUp", {
|
|
6532
6527
|
from: {
|
|
6533
6528
|
transform: "translate3d(0, 100%, 0)",
|
|
6534
6529
|
visibility: "visible"
|
|
@@ -6536,7 +6531,7 @@ const {
|
|
|
6536
6531
|
to: {
|
|
6537
6532
|
transform: "translate3d(0, 0, 0)"
|
|
6538
6533
|
}
|
|
6539
|
-
}),
|
|
6534
|
+
}), Tr = new S("slideOutDown", {
|
|
6540
6535
|
from: {
|
|
6541
6536
|
transform: "translate3d(0, 0, 0)"
|
|
6542
6537
|
},
|
|
@@ -6544,7 +6539,7 @@ const {
|
|
|
6544
6539
|
transform: "translate3d(0, 100%, 0)",
|
|
6545
6540
|
visibility: "hidden"
|
|
6546
6541
|
}
|
|
6547
|
-
}),
|
|
6542
|
+
}), Nr = new S("slideOutLeft", {
|
|
6548
6543
|
from: {
|
|
6549
6544
|
transform: "translate3d(0, 0, 0)"
|
|
6550
6545
|
},
|
|
@@ -6552,7 +6547,7 @@ const {
|
|
|
6552
6547
|
transform: "translate3d(-100%, 0, 0)",
|
|
6553
6548
|
visibility: "hidden"
|
|
6554
6549
|
}
|
|
6555
|
-
}),
|
|
6550
|
+
}), zr = new S("slideOutRight", {
|
|
6556
6551
|
from: {
|
|
6557
6552
|
transform: "translate3d(0, 0, 0)"
|
|
6558
6553
|
},
|
|
@@ -6560,7 +6555,7 @@ const {
|
|
|
6560
6555
|
transform: "translate3d(100%, 0, 0)",
|
|
6561
6556
|
visibility: "hidden"
|
|
6562
6557
|
}
|
|
6563
|
-
}),
|
|
6558
|
+
}), Dr = new S("slideOutUp", {
|
|
6564
6559
|
from: {
|
|
6565
6560
|
transform: "translate3d(0, 0, 0)"
|
|
6566
6561
|
},
|
|
@@ -6568,43 +6563,57 @@ const {
|
|
|
6568
6563
|
transform: "translate3d(0, -100%, 0)",
|
|
6569
6564
|
visibility: "hidden"
|
|
6570
6565
|
}
|
|
6571
|
-
}),
|
|
6566
|
+
}), Ar = () => ({
|
|
6572
6567
|
"&.slideInDown": {
|
|
6573
6568
|
animationFillMode: "both",
|
|
6574
|
-
animationName:
|
|
6569
|
+
animationName: Or
|
|
6575
6570
|
},
|
|
6576
6571
|
"&.slideInLeft": {
|
|
6577
6572
|
animationFillMode: "both",
|
|
6578
|
-
animationName:
|
|
6573
|
+
animationName: Fr
|
|
6579
6574
|
},
|
|
6580
6575
|
"&.slideInRight": {
|
|
6581
6576
|
animationFillMode: "both",
|
|
6582
|
-
animationName:
|
|
6577
|
+
animationName: kr
|
|
6583
6578
|
},
|
|
6584
6579
|
"&.slideInUp": {
|
|
6585
6580
|
animationFillMode: "both",
|
|
6586
|
-
animationName:
|
|
6581
|
+
animationName: Pr
|
|
6587
6582
|
}
|
|
6588
|
-
}),
|
|
6583
|
+
}), Hr = () => ({
|
|
6589
6584
|
"&.slideOutDown": {
|
|
6590
6585
|
animationFillMode: "both",
|
|
6591
|
-
animationName:
|
|
6586
|
+
animationName: Tr
|
|
6592
6587
|
},
|
|
6593
6588
|
"&.slideOutLeft": {
|
|
6594
6589
|
animationFillMode: "both",
|
|
6595
|
-
animationName:
|
|
6590
|
+
animationName: Nr
|
|
6596
6591
|
},
|
|
6597
6592
|
"&.slideOutRight": {
|
|
6598
6593
|
animationFillMode: "both",
|
|
6599
|
-
animationName:
|
|
6594
|
+
animationName: zr
|
|
6600
6595
|
},
|
|
6601
6596
|
"&.slideOutUp": {
|
|
6602
6597
|
animationFillMode: "both",
|
|
6603
|
-
animationName:
|
|
6598
|
+
animationName: Dr
|
|
6604
6599
|
}
|
|
6605
|
-
}),
|
|
6600
|
+
}), jr = (e) => ({
|
|
6606
6601
|
[e.componentCls]: {
|
|
6607
6602
|
"&-enter": {
|
|
6603
|
+
background: "transparent",
|
|
6604
|
+
animationDuration: ".3s !important",
|
|
6605
|
+
...nl(),
|
|
6606
|
+
...hl(),
|
|
6607
|
+
...Kl(),
|
|
6608
|
+
...Gl(),
|
|
6609
|
+
...er(),
|
|
6610
|
+
...mr(),
|
|
6611
|
+
...yr(),
|
|
6612
|
+
...Mr(),
|
|
6613
|
+
...Ar()
|
|
6614
|
+
},
|
|
6615
|
+
"&-leave": {
|
|
6616
|
+
display: "none",
|
|
6608
6617
|
background: "transparent",
|
|
6609
6618
|
animationDuration: ".3s !important",
|
|
6610
6619
|
...al(),
|
|
@@ -6616,30 +6625,16 @@ const {
|
|
|
6616
6625
|
...br(),
|
|
6617
6626
|
...Lr(),
|
|
6618
6627
|
...Hr()
|
|
6619
|
-
},
|
|
6620
|
-
"&-leave": {
|
|
6621
|
-
display: "none",
|
|
6622
|
-
background: "transparent",
|
|
6623
|
-
animationDuration: ".3s !important",
|
|
6624
|
-
...ol(),
|
|
6625
|
-
...yl(),
|
|
6626
|
-
...Ul(),
|
|
6627
|
-
...ql(),
|
|
6628
|
-
...nr(),
|
|
6629
|
-
...hr(),
|
|
6630
|
-
...vr(),
|
|
6631
|
-
...Or(),
|
|
6632
|
-
...jr()
|
|
6633
6628
|
}
|
|
6634
6629
|
}
|
|
6635
6630
|
});
|
|
6636
|
-
function
|
|
6631
|
+
function Er(e) {
|
|
6637
6632
|
return Fe("LayoutPageTranstion", (t) => {
|
|
6638
6633
|
const a = je(t);
|
|
6639
|
-
return [
|
|
6634
|
+
return [jr(a)];
|
|
6640
6635
|
}, e);
|
|
6641
6636
|
}
|
|
6642
|
-
const
|
|
6637
|
+
const ys = /* @__PURE__ */ K({
|
|
6643
6638
|
name: "PageTranstion",
|
|
6644
6639
|
props: {
|
|
6645
6640
|
disabled: {
|
|
@@ -6665,7 +6660,7 @@ const bs = /* @__PURE__ */ K({
|
|
|
6665
6660
|
}), {
|
|
6666
6661
|
wrapSSR: o,
|
|
6667
6662
|
hashId: i
|
|
6668
|
-
} =
|
|
6663
|
+
} = Er(a), l = (h, g) => {
|
|
6669
6664
|
if (h.length === 0 || h === "x" || h === "y")
|
|
6670
6665
|
return h;
|
|
6671
6666
|
let u = g.indexOf(h);
|
|
@@ -6698,7 +6693,7 @@ const bs = /* @__PURE__ */ K({
|
|
|
6698
6693
|
default: void 0
|
|
6699
6694
|
},
|
|
6700
6695
|
onItemClick: Function
|
|
6701
|
-
},
|
|
6696
|
+
}, Kr = (e, t) => {
|
|
6702
6697
|
if (e && typeof e == "string" && Bt(e))
|
|
6703
6698
|
return n("img", {
|
|
6704
6699
|
src: e,
|
|
@@ -6754,7 +6749,7 @@ const bs = /* @__PURE__ */ K({
|
|
|
6754
6749
|
href: e.onItemClick ? "javascript:;" : a.url,
|
|
6755
6750
|
target: a.target,
|
|
6756
6751
|
rel: "noreferrer"
|
|
6757
|
-
}, [
|
|
6752
|
+
}, [Kr(a.icon, a.title), n("div", null, [n("div", null, [a.title])])])]);
|
|
6758
6753
|
})])]);
|
|
6759
6754
|
};
|
|
6760
6755
|
}
|
|
@@ -6795,13 +6790,13 @@ const bs = /* @__PURE__ */ K({
|
|
|
6795
6790
|
href: e.onItemClick ? void 0 : a.url,
|
|
6796
6791
|
target: a.target,
|
|
6797
6792
|
rel: "noreferrer"
|
|
6798
|
-
}, [n(
|
|
6793
|
+
}, [n(Oo, {
|
|
6799
6794
|
logo: a.icon
|
|
6800
6795
|
}, null), n("div", null, [n("div", null, [a.title]), a.desc ? n("span", null, [a.desc]) : null])])]);
|
|
6801
6796
|
})])]);
|
|
6802
6797
|
};
|
|
6803
6798
|
}
|
|
6804
|
-
}),
|
|
6799
|
+
}), bs = /* @__PURE__ */ K({
|
|
6805
6800
|
props: Ge,
|
|
6806
6801
|
emits: ["itemClick"],
|
|
6807
6802
|
setup(e) {
|
|
@@ -6811,7 +6806,7 @@ const bs = /* @__PURE__ */ K({
|
|
|
6811
6806
|
}), {
|
|
6812
6807
|
wrapSSR: a,
|
|
6813
6808
|
hashId: o
|
|
6814
|
-
} = ge("AppsLogoList", [
|
|
6809
|
+
} = ge("AppsLogoList", [Mo], t), i = (l) => {
|
|
6815
6810
|
var s;
|
|
6816
6811
|
(s = e.onItemClick) == null || s.call(e, l);
|
|
6817
6812
|
};
|
|
@@ -6832,36 +6827,36 @@ const bs = /* @__PURE__ */ K({
|
|
|
6832
6827
|
}
|
|
6833
6828
|
});
|
|
6834
6829
|
export {
|
|
6835
|
-
|
|
6830
|
+
bs as AppsLogoList,
|
|
6836
6831
|
Rn as BaseMenu,
|
|
6837
|
-
|
|
6838
|
-
|
|
6832
|
+
ti as DefaultHeader,
|
|
6833
|
+
us as GProLayout,
|
|
6839
6834
|
_t as GlobalFooter,
|
|
6840
|
-
|
|
6841
|
-
|
|
6842
|
-
|
|
6843
|
-
|
|
6844
|
-
|
|
6845
|
-
|
|
6846
|
-
|
|
6835
|
+
ms as PageContainer,
|
|
6836
|
+
cs as PageLock,
|
|
6837
|
+
ys as PageTranstion,
|
|
6838
|
+
hs as ProAppPage,
|
|
6839
|
+
ds as RightContent,
|
|
6840
|
+
Ci as SearchPageInput,
|
|
6841
|
+
gs as SettingDrawer,
|
|
6847
6842
|
qt as SiderMenuWrapper,
|
|
6848
6843
|
Tt as animateSeting,
|
|
6849
6844
|
ct as baseMenuProps,
|
|
6850
|
-
|
|
6851
|
-
|
|
6845
|
+
Go as checkThemeStatus,
|
|
6846
|
+
Ho as clearMenuItem,
|
|
6852
6847
|
Pn as coverToNewToken,
|
|
6853
|
-
|
|
6854
|
-
|
|
6848
|
+
lo as defaultContextKey,
|
|
6849
|
+
Ko as filterTree,
|
|
6855
6850
|
Fn as findLastKey,
|
|
6856
|
-
|
|
6851
|
+
jo as flatMap,
|
|
6857
6852
|
On as getLastPath,
|
|
6858
6853
|
kn as getMatchedList,
|
|
6859
|
-
|
|
6860
|
-
|
|
6861
|
-
|
|
6854
|
+
Ao as getMenuData,
|
|
6855
|
+
Eo as getMenuFirstChildren,
|
|
6856
|
+
Vo as handleThemeConfig,
|
|
6862
6857
|
Pt as hanlePathKey,
|
|
6863
|
-
|
|
6864
|
-
|
|
6865
|
-
|
|
6858
|
+
ro as provideProLayoutContext,
|
|
6859
|
+
Yo as removeDuplicatesByName,
|
|
6860
|
+
fs as useLayoutMenu,
|
|
6866
6861
|
re as useProLayoutContext
|
|
6867
6862
|
};
|