@gx-design-vue/pro-layout 0.1.0-beta.80 → 0.1.0-beta.81
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 +2 -2
- package/dist/pro-layout.js +846 -836
- package/dist/pro-layout.umd.cjs +2 -2
- package/dist/utils/menu.d.ts +1 -0
- package/package.json +1 -1
package/dist/pro-layout.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createVNode as
|
|
1
|
+
import { createVNode as n, defineComponent as j, createTextVNode as W, mergeProps as te, toRefs as tt, ref as me, reactive as ve, watch as ne, computed as R, unref as se, Fragment as J, withDirectives as jn, vShow as En, isVNode as Le, resolveComponent as Qt, nextTick as xt, watchEffect as Kn, onMounted as Zt, isRef as Wn, Transition as Un } from "vue";
|
|
2
2
|
import { pick as oe, cloneDeep as Se, omit as $e } from "lodash-es";
|
|
3
3
|
import { LayoutFooter as _n, Spin as St, Tabs as It, Menu as ge, Dropdown as ht, Layout as We, Popover as Xn, Badge as Vn, ConfigProvider as wt, Drawer as Qe, Avatar as Jt, Form as Nt, Input as en, Button as Ze, Empty as zt, MenuItem as Dt, Breadcrumb as Gn, Card as Yn, Tooltip as nt, List as Be, Switch as tn, TabPane as qn, Select as Ye, message as Qn, Segmented as Zn, Divider as ct, Alert as Jn } from "ant-design-vue";
|
|
4
4
|
import { useLocalStorage as at, useColorMode as ea, useStyleTag as ta, useMagicKeys as nn, whenever as gt, useThrottleFn as na, onKeyStroke as ut, useFullscreen as aa, useDebounceFn as oa, useClipboard as ia } from "@vueuse/core";
|
|
@@ -352,7 +352,7 @@ const Te = {
|
|
|
352
352
|
blankTarget: !0
|
|
353
353
|
}, {
|
|
354
354
|
key: "gitee",
|
|
355
|
-
title:
|
|
355
|
+
title: n(Ra, null, null),
|
|
356
356
|
href: "https://github.com/gx12358/vue3-antd-admin",
|
|
357
357
|
blankTarget: !0
|
|
358
358
|
}, {
|
|
@@ -373,30 +373,30 @@ const Te = {
|
|
|
373
373
|
}
|
|
374
374
|
},
|
|
375
375
|
setup(e) {
|
|
376
|
-
const
|
|
376
|
+
const t = le(), o = ((t == null ? void 0 : t.getPrefixCls) || ie)({
|
|
377
377
|
suffixCls: "global-footer",
|
|
378
378
|
isPor: !0
|
|
379
379
|
}), {
|
|
380
380
|
wrapSSR: i,
|
|
381
381
|
hashId: l
|
|
382
382
|
} = fe("ProLayoutFooter", [eo], o);
|
|
383
|
-
return () => i(
|
|
383
|
+
return () => i(n(_n, {
|
|
384
384
|
style: {
|
|
385
385
|
padding: 0
|
|
386
386
|
}
|
|
387
387
|
}, {
|
|
388
|
-
default: () => [
|
|
388
|
+
default: () => [n("div", {
|
|
389
389
|
class: [o, l.value]
|
|
390
|
-
}, [e.links &&
|
|
390
|
+
}, [e.links && n("div", {
|
|
391
391
|
class: `${o}-links ${l.value}`
|
|
392
|
-
}, [e.links.map((s) =>
|
|
392
|
+
}, [e.links.map((s) => n("a", {
|
|
393
393
|
key: s.key,
|
|
394
394
|
title: s.key,
|
|
395
395
|
target: s.blankTarget ? "_blank" : "_self",
|
|
396
396
|
href: s.href
|
|
397
|
-
}, [s.title]))]), e.copyright &&
|
|
397
|
+
}, [s.title]))]), e.copyright && n("div", {
|
|
398
398
|
class: `${o}-copyright ${l.value}`
|
|
399
|
-
}, [W("Copyright "), Re().format("YYYY"), W(" "),
|
|
399
|
+
}, [W("Copyright "), Re().format("YYYY"), W(" "), n("a", {
|
|
400
400
|
href: "https://beian.miit.gov.cn/"
|
|
401
401
|
}, [e.copyright])])])]
|
|
402
402
|
}));
|
|
@@ -521,7 +521,7 @@ const Te = {
|
|
|
521
521
|
minHeight: "100vh"
|
|
522
522
|
}
|
|
523
523
|
}), io = (e) => {
|
|
524
|
-
var
|
|
524
|
+
var t, a;
|
|
525
525
|
return {
|
|
526
526
|
[e.componentCls]: {
|
|
527
527
|
a: {
|
|
@@ -541,7 +541,7 @@ const Te = {
|
|
|
541
541
|
},
|
|
542
542
|
[`${e.componentCls}-content`]: {
|
|
543
543
|
position: "relative",
|
|
544
|
-
margin: (a = (
|
|
544
|
+
margin: (a = (t = e.layout) == null ? void 0 : t.pageContainer) == null ? void 0 : a.paddingBlockPageContainerContent
|
|
545
545
|
},
|
|
546
546
|
[`${e.componentCls}-container`]: {
|
|
547
547
|
width: "100%",
|
|
@@ -579,26 +579,26 @@ const ro = ["tabsVisible", "storageTabsBar", "collapsedWidth", "isChildrenLayout
|
|
|
579
579
|
inheritAttrs: !1,
|
|
580
580
|
slots: Object,
|
|
581
581
|
setup(e, {
|
|
582
|
-
slots:
|
|
582
|
+
slots: t,
|
|
583
583
|
attrs: a
|
|
584
584
|
}) {
|
|
585
585
|
const o = Mt();
|
|
586
586
|
return () => {
|
|
587
587
|
var s;
|
|
588
|
-
const i = a.style || {}, l = Me(
|
|
589
|
-
return e.spinning ?
|
|
588
|
+
const i = a.style || {}, l = Me(t, e, "indicator");
|
|
589
|
+
return e.spinning ? n("div", {
|
|
590
590
|
style: {
|
|
591
591
|
paddingTop: "100px",
|
|
592
592
|
textAlign: "center",
|
|
593
593
|
...i
|
|
594
594
|
}
|
|
595
|
-
}, [
|
|
595
|
+
}, [n(St, te(e, {
|
|
596
596
|
indicator: l || ((s = o == null ? void 0 : o.indicator) == null ? void 0 : s.value)
|
|
597
597
|
}), null)]) : null;
|
|
598
598
|
};
|
|
599
599
|
}
|
|
600
600
|
}), co = (e) => {
|
|
601
|
-
var
|
|
601
|
+
var t, a;
|
|
602
602
|
return {
|
|
603
603
|
[`${e.componentTitleCls}`]: {
|
|
604
604
|
display: "flex",
|
|
@@ -677,7 +677,7 @@ const ro = ["tabsVisible", "storageTabsBar", "collapsedWidth", "isChildrenLayout
|
|
|
677
677
|
"&-fixed": {
|
|
678
678
|
position: "fixed",
|
|
679
679
|
height: 62,
|
|
680
|
-
top: ((a = (
|
|
680
|
+
top: ((a = (t = e.layout) == null ? void 0 : t.header) == null ? void 0 : a.heightLayoutHeader) || Z.headerHeight,
|
|
681
681
|
right: 0,
|
|
682
682
|
zIndex: 9,
|
|
683
683
|
transition: "width .2s"
|
|
@@ -686,10 +686,10 @@ const ro = ["tabsVisible", "storageTabsBar", "collapsedWidth", "isChildrenLayout
|
|
|
686
686
|
};
|
|
687
687
|
};
|
|
688
688
|
function uo(e) {
|
|
689
|
-
return Pe("ProMultiTabs", (
|
|
690
|
-
const a = je(
|
|
691
|
-
componentWrapCls: `${
|
|
692
|
-
componentTitleCls: `${
|
|
689
|
+
return Pe("ProMultiTabs", (t) => {
|
|
690
|
+
const a = je(t, {
|
|
691
|
+
componentWrapCls: `${t.componentCls}-wrap`,
|
|
692
|
+
componentTitleCls: `${t.componentCls}-title`
|
|
693
693
|
});
|
|
694
694
|
return [co(a)];
|
|
695
695
|
}, e);
|
|
@@ -704,8 +704,8 @@ const mo = (e) => ({
|
|
|
704
704
|
}
|
|
705
705
|
});
|
|
706
706
|
function fo(e) {
|
|
707
|
-
return Pe("ProIcon", (
|
|
708
|
-
const a = je(
|
|
707
|
+
return Pe("ProIcon", (t) => {
|
|
708
|
+
const a = je(t, {});
|
|
709
709
|
return [mo(a)];
|
|
710
710
|
}, e);
|
|
711
711
|
}
|
|
@@ -717,7 +717,7 @@ const _e = /* @__PURE__ */ j({
|
|
|
717
717
|
onClick: Function
|
|
718
718
|
},
|
|
719
719
|
setup(e, {
|
|
720
|
-
attrs:
|
|
720
|
+
attrs: t
|
|
721
721
|
}) {
|
|
722
722
|
const a = ie({
|
|
723
723
|
suffixCls: "icon"
|
|
@@ -725,19 +725,19 @@ const _e = /* @__PURE__ */ j({
|
|
|
725
725
|
hashId: o,
|
|
726
726
|
wrapSSR: i
|
|
727
727
|
} = fo(a);
|
|
728
|
-
return () => i(
|
|
729
|
-
style:
|
|
730
|
-
class:
|
|
728
|
+
return () => i(n("span", {
|
|
729
|
+
style: t.style,
|
|
730
|
+
class: t.class,
|
|
731
731
|
onClick: (l) => {
|
|
732
732
|
var s;
|
|
733
733
|
return (s = e.onClick) == null ? void 0 : s.call(e, l);
|
|
734
734
|
}
|
|
735
|
-
}, [
|
|
735
|
+
}, [n("svg", {
|
|
736
736
|
class: Q(a, o.value),
|
|
737
737
|
"aria-hidden": "true"
|
|
738
738
|
}, [
|
|
739
739
|
// @ts-ignore
|
|
740
|
-
|
|
740
|
+
n("use", {
|
|
741
741
|
"xlink:href": `#icon-${e.name}`
|
|
742
742
|
}, null)
|
|
743
743
|
])]));
|
|
@@ -745,52 +745,52 @@ const _e = /* @__PURE__ */ j({
|
|
|
745
745
|
}), ho = [{
|
|
746
746
|
key: "fixed",
|
|
747
747
|
label: "置顶",
|
|
748
|
-
icon: (e) =>
|
|
748
|
+
icon: (e) => n(_e, {
|
|
749
749
|
name: e ? "unpinned" : "fixed"
|
|
750
750
|
}, null)
|
|
751
751
|
}, {
|
|
752
752
|
key: "close",
|
|
753
753
|
label: "关闭",
|
|
754
|
-
icon:
|
|
754
|
+
icon: n(lt, null, null)
|
|
755
755
|
}, {
|
|
756
756
|
key: "fullScreen",
|
|
757
|
-
icon: (e) => e ?
|
|
757
|
+
icon: (e) => e ? n(ln, null, null) : n(rn, null, null)
|
|
758
758
|
}, {
|
|
759
759
|
key: "reloadPage",
|
|
760
760
|
label: "重新加载",
|
|
761
|
-
icon:
|
|
761
|
+
icon: n(vt, null, null)
|
|
762
762
|
}, {
|
|
763
763
|
key: "newBlank",
|
|
764
764
|
label: "新窗口打开",
|
|
765
|
-
icon:
|
|
765
|
+
icon: n($a, null, null)
|
|
766
766
|
}, {
|
|
767
767
|
key: "divider"
|
|
768
768
|
}, {
|
|
769
769
|
key: "closeLeftTabs",
|
|
770
770
|
label: "关闭左侧",
|
|
771
|
-
icon:
|
|
771
|
+
icon: n(Ba, null, null)
|
|
772
772
|
}, {
|
|
773
773
|
key: "closeRightTabs",
|
|
774
774
|
label: "关闭右侧",
|
|
775
|
-
icon:
|
|
775
|
+
icon: n(Ma, null, null)
|
|
776
776
|
}, {
|
|
777
777
|
key: "divider"
|
|
778
778
|
}, {
|
|
779
779
|
key: "closeOthersTabs",
|
|
780
780
|
label: "关闭其他",
|
|
781
|
-
icon:
|
|
781
|
+
icon: n(La, {
|
|
782
782
|
rotate: 90
|
|
783
783
|
}, null)
|
|
784
784
|
}, {
|
|
785
785
|
key: "closeAllTabs",
|
|
786
786
|
label: "关闭全部",
|
|
787
|
-
icon:
|
|
787
|
+
icon: n(Oa, null, null)
|
|
788
788
|
}];
|
|
789
|
-
function go(e,
|
|
789
|
+
function go(e, t) {
|
|
790
790
|
const {
|
|
791
791
|
fixed: a
|
|
792
|
-
} =
|
|
793
|
-
return e.key === "fixed" ? o ? "取消置顶" : "置顶" : e.key === "fullScreen" ?
|
|
792
|
+
} = t.tabs, o = ae(a) ? a : a === 0;
|
|
793
|
+
return e.key === "fixed" ? o ? "取消置顶" : "置顶" : e.key === "fullScreen" ? t.fullScreen ? "还原" : "最大化" : e.label;
|
|
794
794
|
}
|
|
795
795
|
function yo(e) {
|
|
796
796
|
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Le(e);
|
|
@@ -805,7 +805,7 @@ const po = /* @__PURE__ */ j({
|
|
|
805
805
|
setup(e) {
|
|
806
806
|
var xe, Ne, Ie, we;
|
|
807
807
|
const {
|
|
808
|
-
isMobile:
|
|
808
|
+
isMobile: t,
|
|
809
809
|
fixedTabsBar: a,
|
|
810
810
|
storageTabsBar: o
|
|
811
811
|
} = tt(e), i = me(!1), l = ve({
|
|
@@ -837,7 +837,7 @@ const po = /* @__PURE__ */ j({
|
|
|
837
837
|
normal: []
|
|
838
838
|
};
|
|
839
839
|
});
|
|
840
|
-
const v = R(() => c.fixed.concat(c.normal)), f = R(() => d.value === "mix" && !e.isMobile && m.value), w = R(() => K(s.currentRoute.value)), z = R(() => a.value && !
|
|
840
|
+
const v = R(() => c.fixed.concat(c.normal)), f = R(() => d.value === "mix" && !e.isMobile && m.value), w = R(() => K(s.currentRoute.value)), z = R(() => a.value && !t.value), $ = R(() => {
|
|
841
841
|
const p = !(f.value && se(h.value).length === 0 || g.value.length === 0 || d.value === "top");
|
|
842
842
|
return z.value && p ? `calc(100% - ${e.collapsed ? e.collapsedWidth : e.siderWidth}px)` : "100%";
|
|
843
843
|
}), I = R(() => Q(`${y}-wrap`, {
|
|
@@ -998,21 +998,21 @@ const po = /* @__PURE__ */ j({
|
|
|
998
998
|
name: N,
|
|
999
999
|
stateType: G
|
|
1000
1000
|
} = p;
|
|
1001
|
-
return
|
|
1001
|
+
return n(ge, {
|
|
1002
1002
|
selectedKeys: [],
|
|
1003
1003
|
onClick: (D) => ye(D.key, G)
|
|
1004
1004
|
}, yo(M = ho.map((D) => {
|
|
1005
|
-
if (D.key === "divider") return
|
|
1005
|
+
if (D.key === "divider") return n(ge.Divider, {
|
|
1006
1006
|
key: D.key
|
|
1007
1007
|
}, null);
|
|
1008
1008
|
const A = D.icon;
|
|
1009
|
-
return D.key === "close" && T(k(N)) ? null :
|
|
1009
|
+
return D.key === "close" && T(k(N)) ? null : n(vo, {
|
|
1010
1010
|
key: D.key,
|
|
1011
1011
|
disabled: H(D.key, N)
|
|
1012
1012
|
}, {
|
|
1013
1013
|
default: () => {
|
|
1014
1014
|
var ue, ze;
|
|
1015
|
-
return [D.icon && typeof D.icon == "function" ? D.key === "fullScreen" ? D.icon(r.value) : D.key === "fixed" ? D.icon(T(k(N))) : null :
|
|
1015
|
+
return [D.icon && typeof D.icon == "function" ? D.key === "fullScreen" ? D.icon(r.value) : D.key === "fixed" ? D.icon(T(k(N))) : null : n(A, null, null), n("span", {
|
|
1016
1016
|
style: {
|
|
1017
1017
|
marginInlineStart: "8px"
|
|
1018
1018
|
}
|
|
@@ -1029,9 +1029,9 @@ const po = /* @__PURE__ */ j({
|
|
|
1029
1029
|
router: p
|
|
1030
1030
|
}) => {
|
|
1031
1031
|
const M = e.itemRender ? e.itemRender(p) : null, N = T(p);
|
|
1032
|
-
return
|
|
1032
|
+
return n(ht, {
|
|
1033
1033
|
trigger: "contextmenu",
|
|
1034
|
-
overlay:
|
|
1034
|
+
overlay: n(Y, {
|
|
1035
1035
|
name: K(p) || "",
|
|
1036
1036
|
stateType: "contextMenuActiveKey"
|
|
1037
1037
|
}, null),
|
|
@@ -1041,18 +1041,18 @@ const po = /* @__PURE__ */ j({
|
|
|
1041
1041
|
}, {
|
|
1042
1042
|
default: () => {
|
|
1043
1043
|
var G;
|
|
1044
|
-
return [M ||
|
|
1044
|
+
return [M || n("div", {
|
|
1045
1045
|
class: [`${y}-title`, C.value]
|
|
1046
|
-
}, [l.activeKey === K(p) &&
|
|
1046
|
+
}, [l.activeKey === K(p) && n(vt, {
|
|
1047
1047
|
class: [`${y}-reload-btn`, C.value],
|
|
1048
1048
|
spin: i.value,
|
|
1049
1049
|
onClick: (D) => {
|
|
1050
1050
|
D.stopPropagation(), !i.value && P();
|
|
1051
1051
|
}
|
|
1052
|
-
}, null), (G = p.meta) == null ? void 0 : G.title, N &&
|
|
1052
|
+
}, null), (G = p.meta) == null ? void 0 : G.title, N && n(_e, {
|
|
1053
1053
|
class: [`${y}-icon`, C.value],
|
|
1054
1054
|
name: "fixed"
|
|
1055
|
-
}, null), v.value.length > 1 && !T(p) &&
|
|
1055
|
+
}, null), v.value.length > 1 && !T(p) && n(lt, {
|
|
1056
1056
|
class: [`${y}-close-btn`, C.value],
|
|
1057
1057
|
onClick: (D) => {
|
|
1058
1058
|
D.stopPropagation(), !i.value && L(K(p) || "");
|
|
@@ -1063,9 +1063,9 @@ const po = /* @__PURE__ */ j({
|
|
|
1063
1063
|
};
|
|
1064
1064
|
return () => {
|
|
1065
1065
|
const p = r.value ? ln : rn;
|
|
1066
|
-
return u(
|
|
1066
|
+
return u(n(J, null, [a.value && jn(n("div", {
|
|
1067
1067
|
class: [`${y}-fixed`, C.value]
|
|
1068
|
-
}, null), [[En, e.visible]]),
|
|
1068
|
+
}, null), [[En, e.visible]]), n(It, {
|
|
1069
1069
|
hideAdd: !0,
|
|
1070
1070
|
type: "editable-card",
|
|
1071
1071
|
style: B.value,
|
|
@@ -1073,32 +1073,32 @@ const po = /* @__PURE__ */ j({
|
|
|
1073
1073
|
activeKey: l.activeKey,
|
|
1074
1074
|
onTabClick: F
|
|
1075
1075
|
}, {
|
|
1076
|
-
default: () => [v.value.map((M) =>
|
|
1076
|
+
default: () => [v.value.map((M) => n(bo, {
|
|
1077
1077
|
key: K(M),
|
|
1078
1078
|
closable: !1,
|
|
1079
|
-
tab:
|
|
1079
|
+
tab: n(V, {
|
|
1080
1080
|
router: M
|
|
1081
1081
|
}, null)
|
|
1082
1082
|
}, null))],
|
|
1083
|
-
rightExtra: () =>
|
|
1083
|
+
rightExtra: () => n("div", {
|
|
1084
1084
|
class: Q(`${y}-dropdown-menu`, C.value)
|
|
1085
|
-
}, [
|
|
1085
|
+
}, [n(vt, {
|
|
1086
1086
|
class: [`${y}-dropdown-menu-btn`, C.value],
|
|
1087
1087
|
onClick: () => ye("reloadPage", "activeKey")
|
|
1088
|
-
}, null),
|
|
1088
|
+
}, null), n("div", {
|
|
1089
1089
|
class: [`${y}-dropdown-menu-btn-divider`, C.value]
|
|
1090
|
-
}, null),
|
|
1091
|
-
overlay:
|
|
1090
|
+
}, null), n(ht, {
|
|
1091
|
+
overlay: n(Y, {
|
|
1092
1092
|
name: l.activeKey,
|
|
1093
1093
|
stateType: "activeKey"
|
|
1094
1094
|
}, null)
|
|
1095
1095
|
}, {
|
|
1096
|
-
default: () => [
|
|
1096
|
+
default: () => [n(Fa, {
|
|
1097
1097
|
class: [`${y}-dropdown-menu-btn`, C.value]
|
|
1098
1098
|
}, null)]
|
|
1099
|
-
}),
|
|
1099
|
+
}), n("div", {
|
|
1100
1100
|
class: [`${y}-dropdown-menu-btn-divider`, C.value]
|
|
1101
|
-
}, null),
|
|
1101
|
+
}, null), n(p, {
|
|
1102
1102
|
class: [`${y}-dropdown-menu-btn`, C.value],
|
|
1103
1103
|
onClick: () => ye("fullScreen", "activeKey")
|
|
1104
1104
|
}, null)])
|
|
@@ -1108,7 +1108,7 @@ const po = /* @__PURE__ */ j({
|
|
|
1108
1108
|
}), {
|
|
1109
1109
|
Content: Co
|
|
1110
1110
|
} = We, Ot = (e, {
|
|
1111
|
-
slots:
|
|
1111
|
+
slots: t,
|
|
1112
1112
|
attrs: a
|
|
1113
1113
|
}) => {
|
|
1114
1114
|
var d;
|
|
@@ -1120,32 +1120,32 @@ const po = /* @__PURE__ */ j({
|
|
|
1120
1120
|
...r
|
|
1121
1121
|
} = e;
|
|
1122
1122
|
if (e.isChildrenLayout)
|
|
1123
|
-
return (d =
|
|
1123
|
+
return (d = t.default) == null ? void 0 : d.call(t);
|
|
1124
1124
|
const {
|
|
1125
1125
|
flatMenuData: g,
|
|
1126
1126
|
layout: h
|
|
1127
1127
|
} = le();
|
|
1128
|
-
return
|
|
1128
|
+
return n(J, null, [n(po, te({
|
|
1129
1129
|
visible: l ? s ? !0 : h.value === "mix" ? g.value.length > 0 : !0 : !1
|
|
1130
|
-
}, r), null),
|
|
1130
|
+
}, r), null), n(Co, {
|
|
1131
1131
|
style: a.style,
|
|
1132
1132
|
class: [`${i}-content`]
|
|
1133
1133
|
}, {
|
|
1134
1134
|
default: () => {
|
|
1135
1135
|
var m;
|
|
1136
|
-
return [e.loading &&
|
|
1136
|
+
return [e.loading && n(so, null, null), n("div", {
|
|
1137
1137
|
class: [`${i}-content-spin-container`, o],
|
|
1138
1138
|
style: {
|
|
1139
1139
|
opacity: e.loading ? "0" : void 0
|
|
1140
1140
|
}
|
|
1141
|
-
}, [(m =
|
|
1141
|
+
}, [(m = t.default) == null ? void 0 : m.call(t)])];
|
|
1142
1142
|
}
|
|
1143
1143
|
})]);
|
|
1144
1144
|
};
|
|
1145
1145
|
Ot.inheritAttrs = !1;
|
|
1146
1146
|
Ot.displayName = "wrap-content";
|
|
1147
1147
|
const xo = (e) => {
|
|
1148
|
-
const { layout:
|
|
1148
|
+
const { layout: t } = Ce(e);
|
|
1149
1149
|
return {
|
|
1150
1150
|
[`${e.proComponentsCls}-header`]: {
|
|
1151
1151
|
"&-light": {
|
|
@@ -1213,7 +1213,7 @@ const xo = (e) => {
|
|
|
1213
1213
|
marginInlineEnd: "16px"
|
|
1214
1214
|
},
|
|
1215
1215
|
"&-logo": {
|
|
1216
|
-
marginInlineEnd:
|
|
1216
|
+
marginInlineEnd: t === "wide" ? void 0 : "16px",
|
|
1217
1217
|
a: {
|
|
1218
1218
|
display: "flex",
|
|
1219
1219
|
alignItems: "center",
|
|
@@ -1237,8 +1237,8 @@ const xo = (e) => {
|
|
|
1237
1237
|
}
|
|
1238
1238
|
}
|
|
1239
1239
|
};
|
|
1240
|
-
}, So = () =>
|
|
1241
|
-
var
|
|
1240
|
+
}, So = () => n(ka, null, null), Io = (e) => {
|
|
1241
|
+
var t;
|
|
1242
1242
|
return {
|
|
1243
1243
|
"&-content": {
|
|
1244
1244
|
maxHeight: "calc(100vh - 48px)",
|
|
@@ -1279,7 +1279,7 @@ const xo = (e) => {
|
|
|
1279
1279
|
"&:hover": {
|
|
1280
1280
|
backgroundColor: e.colorBgTextHover
|
|
1281
1281
|
},
|
|
1282
|
-
"* div": (
|
|
1282
|
+
"* div": (t = ba) == null ? void 0 : t(e),
|
|
1283
1283
|
a: {
|
|
1284
1284
|
display: "flex",
|
|
1285
1285
|
height: "100%",
|
|
@@ -1396,7 +1396,7 @@ const xo = (e) => {
|
|
|
1396
1396
|
}
|
|
1397
1397
|
}), $o = (e) => {
|
|
1398
1398
|
var a, o, i, l, s;
|
|
1399
|
-
const { theme:
|
|
1399
|
+
const { theme: t } = Ce(e);
|
|
1400
1400
|
return {
|
|
1401
1401
|
[e.componentCls]: {
|
|
1402
1402
|
"&-icon": {
|
|
@@ -1410,16 +1410,16 @@ const xo = (e) => {
|
|
|
1410
1410
|
height: 28,
|
|
1411
1411
|
width: 28,
|
|
1412
1412
|
cursor: "pointer",
|
|
1413
|
-
color:
|
|
1413
|
+
color: t === "dark" ? e.colorWhite : (a = e.layout) == null ? void 0 : a.colorTextAppListIcon,
|
|
1414
1414
|
borderRadius: e.borderRadius,
|
|
1415
1415
|
"&:hover": {
|
|
1416
|
-
color:
|
|
1417
|
-
backgroundColor:
|
|
1416
|
+
color: t === "dark" ? e.colorWhite : (o = e.layout) == null ? void 0 : o.colorTextAppListIconHover,
|
|
1417
|
+
backgroundColor: t === "dark" ? ke("#fff", 0.12) : (i = e.layout) == null ? void 0 : i.colorBgAppListIconHover
|
|
1418
1418
|
},
|
|
1419
1419
|
[`&-active${e.proComponentsCls}-layout-app-icon`]: {
|
|
1420
1420
|
fontSize: 18,
|
|
1421
|
-
color:
|
|
1422
|
-
backgroundColor:
|
|
1421
|
+
color: t === "dark" ? e.colorWhite : (l = e.layout) == null ? void 0 : l.colorTextAppListIconHover,
|
|
1422
|
+
backgroundColor: t === "dark" ? ke("#fff", 0.12) : (s = e.layout) == null ? void 0 : s.colorBgAppListIconHover
|
|
1423
1423
|
}
|
|
1424
1424
|
},
|
|
1425
1425
|
"&-item-title": {
|
|
@@ -1447,7 +1447,7 @@ const xo = (e) => {
|
|
|
1447
1447
|
};
|
|
1448
1448
|
}, Bo = ({
|
|
1449
1449
|
logo: e
|
|
1450
|
-
}) => typeof e == "string" ?
|
|
1450
|
+
}) => typeof e == "string" ? n("img", {
|
|
1451
1451
|
width: "auto",
|
|
1452
1452
|
height: 22,
|
|
1453
1453
|
src: e,
|
|
@@ -1456,7 +1456,7 @@ const xo = (e) => {
|
|
|
1456
1456
|
name: "AppsLogoIcon",
|
|
1457
1457
|
inheritAttrs: !1,
|
|
1458
1458
|
setup(e, {
|
|
1459
|
-
slots:
|
|
1459
|
+
slots: t
|
|
1460
1460
|
}) {
|
|
1461
1461
|
const a = ie({
|
|
1462
1462
|
suffixCls: "layout-app",
|
|
@@ -1467,12 +1467,12 @@ const xo = (e) => {
|
|
|
1467
1467
|
} = fe("AppsLogoIcon", [$o], a), [l, s] = pe(!1), r = me(), g = me();
|
|
1468
1468
|
return () => {
|
|
1469
1469
|
var h;
|
|
1470
|
-
return o(
|
|
1470
|
+
return o(n(J, null, [n("div", {
|
|
1471
1471
|
ref: r,
|
|
1472
1472
|
onClick: (d) => {
|
|
1473
1473
|
d.stopPropagation(), d.preventDefault();
|
|
1474
1474
|
}
|
|
1475
|
-
}, null),
|
|
1475
|
+
}, null), n(Xn, {
|
|
1476
1476
|
placement: "bottomRight",
|
|
1477
1477
|
trigger: ["click"],
|
|
1478
1478
|
arrow: !1,
|
|
@@ -1480,10 +1480,10 @@ const xo = (e) => {
|
|
|
1480
1480
|
open: l.value,
|
|
1481
1481
|
onOpenChange: s,
|
|
1482
1482
|
overlayClassName: `${a}-popover ${i.value}`.trim(),
|
|
1483
|
-
content: (h =
|
|
1483
|
+
content: (h = t.default) == null ? void 0 : h.call(t),
|
|
1484
1484
|
getPopupContainer: () => r.value || document.body
|
|
1485
1485
|
}, {
|
|
1486
|
-
default: () => [
|
|
1486
|
+
default: () => [n("span", {
|
|
1487
1487
|
ref: g,
|
|
1488
1488
|
onClick: (d) => {
|
|
1489
1489
|
d.stopPropagation();
|
|
@@ -1491,7 +1491,7 @@ const xo = (e) => {
|
|
|
1491
1491
|
class: Q(`${a}-icon`, i.value, {
|
|
1492
1492
|
[`${a}-icon-active`]: l.value
|
|
1493
1493
|
})
|
|
1494
|
-
}, [
|
|
1494
|
+
}, [n(So, null, null)])]
|
|
1495
1495
|
})]));
|
|
1496
1496
|
};
|
|
1497
1497
|
}
|
|
@@ -1501,16 +1501,16 @@ function mt(e) {
|
|
|
1501
1501
|
}
|
|
1502
1502
|
const et = (e) => {
|
|
1503
1503
|
const {
|
|
1504
|
-
icon:
|
|
1504
|
+
icon: t,
|
|
1505
1505
|
iconFont: a,
|
|
1506
1506
|
iconfontUrl: o
|
|
1507
1507
|
} = e;
|
|
1508
|
-
if (!
|
|
1508
|
+
if (!t)
|
|
1509
1509
|
return null;
|
|
1510
|
-
if (typeof
|
|
1511
|
-
if (Rt(
|
|
1512
|
-
return
|
|
1513
|
-
src:
|
|
1510
|
+
if (typeof t == "string" && t !== "") {
|
|
1511
|
+
if (Rt(t) || ra(t))
|
|
1512
|
+
return n("img", {
|
|
1513
|
+
src: t,
|
|
1514
1514
|
alt: "icon",
|
|
1515
1515
|
class: `${e.className}-icon-image`
|
|
1516
1516
|
}, null);
|
|
@@ -1518,17 +1518,17 @@ const et = (e) => {
|
|
|
1518
1518
|
const l = Ta({
|
|
1519
1519
|
scriptUrl: o || Z.iconfontUrl
|
|
1520
1520
|
});
|
|
1521
|
-
return o ?
|
|
1522
|
-
type:
|
|
1523
|
-
}, null) :
|
|
1524
|
-
class: `${a} ${
|
|
1521
|
+
return o ? n(l, {
|
|
1522
|
+
type: t
|
|
1523
|
+
}, null) : n("i", {
|
|
1524
|
+
class: `${a} ${t} ${e.className}-icon ${e.classNames}`
|
|
1525
1525
|
}, null);
|
|
1526
1526
|
}
|
|
1527
1527
|
}
|
|
1528
|
-
if (Le(
|
|
1529
|
-
return
|
|
1530
|
-
const i = Qt(
|
|
1531
|
-
return typeof et == "function" &&
|
|
1528
|
+
if (Le(t))
|
|
1529
|
+
return t;
|
|
1530
|
+
const i = Qt(t);
|
|
1531
|
+
return typeof et == "function" && n(i, null, null) || null;
|
|
1532
1532
|
}, pn = /* @__PURE__ */ j({
|
|
1533
1533
|
name: "BaseMenu",
|
|
1534
1534
|
props: {
|
|
@@ -1538,7 +1538,7 @@ const et = (e) => {
|
|
|
1538
1538
|
}
|
|
1539
1539
|
},
|
|
1540
1540
|
setup(e) {
|
|
1541
|
-
const
|
|
1541
|
+
const t = Ge(), {
|
|
1542
1542
|
getPrefixCls: a
|
|
1543
1543
|
} = le(), o = a({
|
|
1544
1544
|
suffixCls: "menu-item",
|
|
@@ -1555,15 +1555,15 @@ const et = (e) => {
|
|
|
1555
1555
|
}, g = (u, C) => {
|
|
1556
1556
|
var v;
|
|
1557
1557
|
const b = u.link || "", c = Rt(b);
|
|
1558
|
-
((v =
|
|
1558
|
+
((v = t.currentRoute.value) == null ? void 0 : v.fullPath) !== C.to && c && b && u.linkStatus === 1 && window.open(b);
|
|
1559
1559
|
}, h = Qt("router-link"), d = (u, C) => {
|
|
1560
1560
|
var f;
|
|
1561
|
-
const b = Fe(u == null ? void 0 : u.icon), c = typeof u.badge == "function" ?
|
|
1561
|
+
const b = Fe(u == null ? void 0 : u.icon), c = typeof u.badge == "function" ? n("div", {
|
|
1562
1562
|
class: `${o}-item-bradde`
|
|
1563
|
-
}, [(f = u.badge) == null ? void 0 : f.call(u, $e(u, "badge"))]) : null, v =
|
|
1563
|
+
}, [(f = u.badge) == null ? void 0 : f.call(u, $e(u, "badge"))]) : null, v = n("span", {
|
|
1564
1564
|
class: [`${o}-title`, !b && `${o}-title-no-icon`]
|
|
1565
1565
|
}, [u.title]);
|
|
1566
|
-
return C ? v :
|
|
1566
|
+
return C ? v : n(J, null, [v, c ?? (sa(u.badge) && n(Vn, te({
|
|
1567
1567
|
class: `${o}-item-bradde`,
|
|
1568
1568
|
overflowCount: 999
|
|
1569
1569
|
}, u.badge), null))]);
|
|
@@ -1574,12 +1574,12 @@ const et = (e) => {
|
|
|
1574
1574
|
...u.meta
|
|
1575
1575
|
}, c = b.linkStatus === 1 && b.link ? "a" : h, v = {
|
|
1576
1576
|
to: ca(u.redirect) ? u.redirect : u.path || ""
|
|
1577
|
-
}, f = Fe(($ = u.meta) == null ? void 0 : $.icon), w =
|
|
1577
|
+
}, f = Fe(($ = u.meta) == null ? void 0 : $.icon), w = n(c, te(v, {
|
|
1578
1578
|
class: "gx-pro-menu-item",
|
|
1579
1579
|
onClick: () => g(b, v)
|
|
1580
1580
|
}), mt(C = d(b, !f)) ? C : {
|
|
1581
1581
|
default: () => [C]
|
|
1582
|
-
}), z = f &&
|
|
1582
|
+
}), z = f && n(et, {
|
|
1583
1583
|
className: o,
|
|
1584
1584
|
icon: (I = u.meta) == null ? void 0 : I.icon,
|
|
1585
1585
|
iconfontUrl: e.iconfontUrl,
|
|
@@ -1595,13 +1595,13 @@ const et = (e) => {
|
|
|
1595
1595
|
item: u,
|
|
1596
1596
|
children: y(u.children)
|
|
1597
1597
|
});
|
|
1598
|
-
const O = (f = u.meta) != null && f.icon ?
|
|
1598
|
+
const O = (f = u.meta) != null && f.icon ? n("span", {
|
|
1599
1599
|
class: "gx-pro-menu-item"
|
|
1600
1600
|
}, [d(u.meta)]) : u.meta && d(u.meta), T = ((w = u.meta) == null ? void 0 : w.type) === "group", U = T ? ge.ItemGroup : ge.SubMenu;
|
|
1601
|
-
return
|
|
1601
|
+
return n(U, {
|
|
1602
1602
|
title: O,
|
|
1603
1603
|
key: u.path,
|
|
1604
|
-
icon: T ? null :
|
|
1604
|
+
icon: T ? null : n(et, {
|
|
1605
1605
|
className: o,
|
|
1606
1606
|
icon: (z = u.meta) == null ? void 0 : z.icon,
|
|
1607
1607
|
iconfontUrl: e.iconfontUrl,
|
|
@@ -1617,7 +1617,7 @@ const et = (e) => {
|
|
|
1617
1617
|
item: u,
|
|
1618
1618
|
title: C,
|
|
1619
1619
|
icon: b
|
|
1620
|
-
}) ||
|
|
1620
|
+
}) || n(ge.Item, {
|
|
1621
1621
|
disabled: (B = u.meta) == null ? void 0 : B.disabled,
|
|
1622
1622
|
key: u.path,
|
|
1623
1623
|
icon: b
|
|
@@ -1628,7 +1628,7 @@ const et = (e) => {
|
|
|
1628
1628
|
function y(u = []) {
|
|
1629
1629
|
return u.map((C) => S(C)).filter((C) => C);
|
|
1630
1630
|
}
|
|
1631
|
-
return () =>
|
|
1631
|
+
return () => n(ge, te({
|
|
1632
1632
|
key: "Menu",
|
|
1633
1633
|
inlineIndent: 16,
|
|
1634
1634
|
mode: e.mode,
|
|
@@ -1653,7 +1653,7 @@ const et = (e) => {
|
|
|
1653
1653
|
}
|
|
1654
1654
|
}), Mo = (e) => {
|
|
1655
1655
|
var o, i, l, s;
|
|
1656
|
-
const
|
|
1656
|
+
const t = ot(e, "sider"), { layout: a } = Ce(e);
|
|
1657
1657
|
return {
|
|
1658
1658
|
[`${e.proComponentsCls}-basic-layout`]: {
|
|
1659
1659
|
[`&${e.proComponentsCls}-basic-layout-wide`]: {
|
|
@@ -1709,7 +1709,7 @@ const et = (e) => {
|
|
|
1709
1709
|
paddingBlock: 4,
|
|
1710
1710
|
paddingInline: 8,
|
|
1711
1711
|
marginInline: 0,
|
|
1712
|
-
color:
|
|
1712
|
+
color: t ? ke("#fff", 0.85) : void 0,
|
|
1713
1713
|
"&-item": {
|
|
1714
1714
|
paddingInline: 6,
|
|
1715
1715
|
paddingBlock: 6,
|
|
@@ -1718,7 +1718,7 @@ const et = (e) => {
|
|
|
1718
1718
|
cursor: "pointer",
|
|
1719
1719
|
borderRadius: e.borderRadius,
|
|
1720
1720
|
"&:hover": {
|
|
1721
|
-
background:
|
|
1721
|
+
background: t ? ke("#fff", 0.12) : e.colorBgTextHover
|
|
1722
1722
|
}
|
|
1723
1723
|
}
|
|
1724
1724
|
},
|
|
@@ -1745,11 +1745,11 @@ const et = (e) => {
|
|
|
1745
1745
|
};
|
|
1746
1746
|
}, Lo = (e) => {
|
|
1747
1747
|
var l;
|
|
1748
|
-
const
|
|
1748
|
+
const t = `${e.antCls}-menu`, a = `${e.proComponentsCls}-menu-item`, { layout: o } = Ce(e), i = (l = e == null ? void 0 : e.layout) == null ? void 0 : l.sider;
|
|
1749
1749
|
return {
|
|
1750
1750
|
[`${e.proComponentsCls}-basic-layout`]: {
|
|
1751
1751
|
[`${e.proComponentsCls}-sider`]: {
|
|
1752
|
-
[`${
|
|
1752
|
+
[`${t}${t}-root`]: {
|
|
1753
1753
|
...dt(i == null ? void 0 : i.paddingMenu, "padding"),
|
|
1754
1754
|
[`${e.proComponentsCls}-menu-item-bradge`]: {
|
|
1755
1755
|
position: "absolute",
|
|
@@ -1760,7 +1760,7 @@ const et = (e) => {
|
|
|
1760
1760
|
transform: "none"
|
|
1761
1761
|
}
|
|
1762
1762
|
},
|
|
1763
|
-
[`${
|
|
1763
|
+
[`${t}-item,${t}-submenu-title`]: {
|
|
1764
1764
|
...dt(i == null ? void 0 : i.paddingMenuItem, "padding"),
|
|
1765
1765
|
...dt(i == null ? void 0 : i.marginMenuItem, "margin"),
|
|
1766
1766
|
...o === "wide" && { width: "100%" },
|
|
@@ -1770,7 +1770,7 @@ const et = (e) => {
|
|
|
1770
1770
|
[`${a}-title:not(${a}-title-no-icon)`]: {
|
|
1771
1771
|
fontWeight: o === "wide" ? 500 : void 0
|
|
1772
1772
|
},
|
|
1773
|
-
[`${
|
|
1773
|
+
[`${t}-item a`]: {
|
|
1774
1774
|
transition: "none"
|
|
1775
1775
|
}
|
|
1776
1776
|
}
|
|
@@ -1786,20 +1786,20 @@ const et = (e) => {
|
|
|
1786
1786
|
}
|
|
1787
1787
|
}
|
|
1788
1788
|
}
|
|
1789
|
-
}), xn = (e,
|
|
1789
|
+
}), xn = (e, t) => e === !1 ? null : typeof e == "string" ? n("img", {
|
|
1790
1790
|
src: e,
|
|
1791
1791
|
alt: "logo",
|
|
1792
|
-
style:
|
|
1792
|
+
style: t
|
|
1793
1793
|
}, null) : typeof e == "function" ? e() : e, Fo = (e) => {
|
|
1794
1794
|
const {
|
|
1795
|
-
logo:
|
|
1795
|
+
logo: t,
|
|
1796
1796
|
logoStyle: a,
|
|
1797
1797
|
title: o,
|
|
1798
1798
|
layout: i
|
|
1799
1799
|
} = e, l = e.logoContentRender;
|
|
1800
1800
|
if (l === !1) return null;
|
|
1801
|
-
const s = xn(
|
|
1802
|
-
return typeof l == "function" ? l(s, e.collapsed ? null : r, e) : l ||
|
|
1801
|
+
const s = xn(t, a), r = o && n("h1", null, [o]);
|
|
1802
|
+
return typeof l == "function" ? l(s, e.collapsed ? null : r, e) : l || n(J, null, [s || null, e.collapsed && (i === "side" || i === "simple") ? null : r]);
|
|
1803
1803
|
}, Ft = /* @__PURE__ */ j({
|
|
1804
1804
|
name: "LogoContent",
|
|
1805
1805
|
props: {
|
|
@@ -1808,14 +1808,14 @@ const et = (e) => {
|
|
|
1808
1808
|
baseClassName: String
|
|
1809
1809
|
},
|
|
1810
1810
|
setup(e, {
|
|
1811
|
-
slots:
|
|
1811
|
+
slots: t
|
|
1812
1812
|
}) {
|
|
1813
1813
|
const {
|
|
1814
1814
|
collapsed: a
|
|
1815
1815
|
} = le();
|
|
1816
1816
|
return () => {
|
|
1817
1817
|
var o;
|
|
1818
|
-
return
|
|
1818
|
+
return n("div", {
|
|
1819
1819
|
id: "logo",
|
|
1820
1820
|
class: {
|
|
1821
1821
|
[`${e.hashId}`]: !0,
|
|
@@ -1826,19 +1826,19 @@ const et = (e) => {
|
|
|
1826
1826
|
var i;
|
|
1827
1827
|
return (i = e.onLogoClick) == null ? void 0 : i.call(e);
|
|
1828
1828
|
}
|
|
1829
|
-
}, [
|
|
1829
|
+
}, [n("a", {
|
|
1830
1830
|
key: "title"
|
|
1831
1831
|
}, [Fo({
|
|
1832
1832
|
...e,
|
|
1833
1833
|
collapsed: a.value
|
|
1834
|
-
}) || null]), (o =
|
|
1834
|
+
}) || null]), (o = t.default) == null ? void 0 : o.call(t)]);
|
|
1835
1835
|
};
|
|
1836
1836
|
}
|
|
1837
1837
|
});
|
|
1838
1838
|
Ft.inheritAttrs = !1;
|
|
1839
1839
|
const Sn = (e) => {
|
|
1840
1840
|
var i;
|
|
1841
|
-
const { theme:
|
|
1841
|
+
const { theme: t, layout: a } = Ce(e), o = (i = e.layout) == null ? void 0 : i.sider;
|
|
1842
1842
|
return {
|
|
1843
1843
|
[`${e.componentCls}-logo`]: {
|
|
1844
1844
|
position: "relative",
|
|
@@ -1867,7 +1867,7 @@ const Sn = (e) => {
|
|
|
1867
1867
|
marginBlock: 0,
|
|
1868
1868
|
marginInlineEnd: 0,
|
|
1869
1869
|
marginInlineStart: 8,
|
|
1870
|
-
color:
|
|
1870
|
+
color: t === "dark" ? e.colorWhite : o == null ? void 0 : o.colorTextMenuTitle,
|
|
1871
1871
|
animationName: Cn,
|
|
1872
1872
|
animationDuration: ".4s",
|
|
1873
1873
|
animationTimingFunction: "ease",
|
|
@@ -1896,7 +1896,7 @@ const Sn = (e) => {
|
|
|
1896
1896
|
};
|
|
1897
1897
|
}, ko = (e) => {
|
|
1898
1898
|
var a;
|
|
1899
|
-
const
|
|
1899
|
+
const t = (a = e.layout) == null ? void 0 : a.sider;
|
|
1900
1900
|
return {
|
|
1901
1901
|
[e.componentCls]: {
|
|
1902
1902
|
position: "absolute",
|
|
@@ -1913,11 +1913,11 @@ const Sn = (e) => {
|
|
|
1913
1913
|
alignItems: "center",
|
|
1914
1914
|
justifyContent: "center",
|
|
1915
1915
|
cursor: "pointer",
|
|
1916
|
-
color:
|
|
1917
|
-
backgroundColor:
|
|
1916
|
+
color: t == null ? void 0 : t.colorTextCollapsedButton,
|
|
1917
|
+
backgroundColor: t == null ? void 0 : t.colorBgCollapsedButton,
|
|
1918
1918
|
boxShadow: "0 2px 8px -2px rgba(0,0,0,0.05), 0 1px 4px -1px rgba(25,15,15,0.07), 0 0 1px 0 rgba(0,0,0,0.08)",
|
|
1919
1919
|
"&:hover": {
|
|
1920
|
-
color:
|
|
1920
|
+
color: t == null ? void 0 : t.colorTextCollapsedButtonHover,
|
|
1921
1921
|
boxShadow: "0 4px 16px -4px rgba(0,0,0,0.05), 0 2px 8px -2px rgba(25,15,15,0.07), 0 1px 2px 0 rgba(0,0,0,0.08)"
|
|
1922
1922
|
},
|
|
1923
1923
|
".anticon": {
|
|
@@ -1935,7 +1935,7 @@ const Sn = (e) => {
|
|
|
1935
1935
|
};
|
|
1936
1936
|
};
|
|
1937
1937
|
function To() {
|
|
1938
|
-
return
|
|
1938
|
+
return n(Pa, null, null);
|
|
1939
1939
|
}
|
|
1940
1940
|
const Po = /* @__PURE__ */ j({
|
|
1941
1941
|
name: "CollapsedIcon",
|
|
@@ -1947,15 +1947,15 @@ const Po = /* @__PURE__ */ j({
|
|
|
1947
1947
|
},
|
|
1948
1948
|
setup(e) {
|
|
1949
1949
|
const {
|
|
1950
|
-
getPrefixCls:
|
|
1951
|
-
} = le(), a =
|
|
1950
|
+
getPrefixCls: t
|
|
1951
|
+
} = le(), a = t({
|
|
1952
1952
|
suffixCls: "collapsed-button",
|
|
1953
1953
|
isPor: !0
|
|
1954
1954
|
}), {
|
|
1955
1955
|
wrapSSR: o,
|
|
1956
1956
|
hashId: i
|
|
1957
1957
|
} = fe("SiderMenuCollapsedIcon", [ko], a);
|
|
1958
|
-
return () => o(
|
|
1958
|
+
return () => o(n("div", {
|
|
1959
1959
|
class: Q(a, i.value, {
|
|
1960
1960
|
[`${a}-collapsed`]: e.collapsed,
|
|
1961
1961
|
[`${a}-is-mobile`]: e.isMobile
|
|
@@ -1964,25 +1964,25 @@ const Po = /* @__PURE__ */ j({
|
|
|
1964
1964
|
var s;
|
|
1965
1965
|
return (s = e.onClick) == null ? void 0 : s.call(e, l);
|
|
1966
1966
|
}
|
|
1967
|
-
}, [
|
|
1967
|
+
}, [n(To, null, null)]));
|
|
1968
1968
|
}
|
|
1969
|
-
}), In = (e,
|
|
1969
|
+
}), In = (e, t, a) => e.sort((o, i) => {
|
|
1970
1970
|
var r, g;
|
|
1971
1971
|
const l = ((r = o.meta) == null ? void 0 : r.order) || 0, s = ((g = i.meta) == null ? void 0 : g.order) || 0;
|
|
1972
1972
|
return l - s > 0 ? 1 : -1;
|
|
1973
1973
|
}).map((o, i) => {
|
|
1974
1974
|
var l, s;
|
|
1975
|
-
return o.meta = o.meta || {}, o.meta.order = o.meta.order || i + 1, o.key = a != null && a.key ? `${a == null ? void 0 : a.key}-${i}` : `${i}`, a != null && a.hidden && (o.hidden = !0), a != null && a.hideChildren && (o.hidden = !0), (l = a == null ? void 0 : a.meta) != null && l.hideInMenu && (o.meta.hideInMenu = !0), (s = a == null ? void 0 : a.meta) != null && s.hideChildrenInMenu && (o.meta.hideInMenu = !0), o.path = o.path.replace("//", "/"), o.children && o.children.length > 0 && (o.children = In(o.children,
|
|
1975
|
+
return o.meta = o.meta || {}, o.meta.order = o.meta.order || i + 1, o.key = a != null && a.key ? `${a == null ? void 0 : a.key}-${i}` : `${i}`, a != null && a.hidden && (o.hidden = !0), a != null && a.hideChildren && (o.hidden = !0), (l = a == null ? void 0 : a.meta) != null && l.hideInMenu && (o.meta.hideInMenu = !0), (s = a == null ? void 0 : a.meta) != null && s.hideChildrenInMenu && (o.meta.hideInMenu = !0), o.path = o.path.replace("//", "/"), o.children && o.children.length > 0 && (o.children = In(o.children, t, o)), t[`${o.path}`] = o, o;
|
|
1976
1976
|
});
|
|
1977
1977
|
function wn(e) {
|
|
1978
|
-
const { menuSelectKey:
|
|
1979
|
-
return
|
|
1978
|
+
const { menuSelectKey: t } = (e == null ? void 0 : e.meta) || {};
|
|
1979
|
+
return t || e.fullPath || e.path;
|
|
1980
1980
|
}
|
|
1981
1981
|
const No = (e) => {
|
|
1982
|
-
const
|
|
1982
|
+
const t = e.find((i) => {
|
|
1983
1983
|
var l;
|
|
1984
1984
|
return i.path === "/" && ((l = i.children) == null ? void 0 : l.length);
|
|
1985
|
-
}), a = {}, o = In((
|
|
1985
|
+
}), a = {}, o = In((t == null ? void 0 : t.children) || [], a);
|
|
1986
1986
|
return {
|
|
1987
1987
|
menuData: o,
|
|
1988
1988
|
breadcrumb: a,
|
|
@@ -1990,13 +1990,13 @@ const No = (e) => {
|
|
|
1990
1990
|
};
|
|
1991
1991
|
};
|
|
1992
1992
|
function zo(e) {
|
|
1993
|
-
const
|
|
1993
|
+
const t = /* @__PURE__ */ new Map(), a = [];
|
|
1994
1994
|
function o(l) {
|
|
1995
1995
|
return l.map((s) => {
|
|
1996
|
-
const r = s.path, g = s.name, h =
|
|
1996
|
+
const r = s.path, g = s.name, h = t.has(g) && t.get(g) !== r;
|
|
1997
1997
|
if (s.hidden || !g || h)
|
|
1998
1998
|
return (!g || h) && (a.some((d) => d.name === g && r === s.path) || a.push({ ...s })), null;
|
|
1999
|
-
if (
|
|
1999
|
+
if (t.set(g, r), s && (s != null && s.children))
|
|
2000
2000
|
if (s.hideChildren)
|
|
2001
2001
|
s.children = [];
|
|
2002
2002
|
else
|
|
@@ -2011,36 +2011,36 @@ function zo(e) {
|
|
|
2011
2011
|
return a.length > 0 && console.warn("The menu contains duplicate names or name undefined: ", a), i;
|
|
2012
2012
|
}
|
|
2013
2013
|
function Do(e) {
|
|
2014
|
-
return e.map((
|
|
2014
|
+
return e.map((t) => t.hidden ? null : (t.redirect = t.redirect === void 0 ? Rn(t.children || []) || void 0 : t.redirect, t.children && delete t.children, t)).filter((t) => t);
|
|
2015
2015
|
}
|
|
2016
|
-
function Ao(e,
|
|
2017
|
-
const a = (
|
|
2018
|
-
return
|
|
2016
|
+
function Ao(e, t) {
|
|
2017
|
+
const a = (t || "").split("/").length === 2 ? t || "" : `/${(t || "").split("/")[1]}`, o = e.find((i) => i.path === a);
|
|
2018
|
+
return t === void 0 ? [] : (o == null ? void 0 : o.children) || [];
|
|
2019
2019
|
}
|
|
2020
2020
|
function Rn(e) {
|
|
2021
2021
|
var l, s;
|
|
2022
|
-
const
|
|
2022
|
+
const t = e == null ? void 0 : e.filter((r) => {
|
|
2023
2023
|
var g;
|
|
2024
2024
|
return !r.hidden && !((g = r.meta) != null && g.hideInMenu);
|
|
2025
|
-
}), a =
|
|
2025
|
+
}), a = t[0];
|
|
2026
2026
|
let o = "";
|
|
2027
2027
|
const i = function(r) {
|
|
2028
2028
|
var h;
|
|
2029
2029
|
let g = "";
|
|
2030
2030
|
return r != null && r.children && (r == null ? void 0 : r.children.length) > 0 ? g = i((h = r == null ? void 0 : r.children) == null ? void 0 : h[0]) : g = (r == null ? void 0 : r.redirect) || (r == null ? void 0 : r.path) || "", g;
|
|
2031
2031
|
};
|
|
2032
|
-
if (
|
|
2032
|
+
if (t.length > 0 && (a != null && a.children) && ((l = a == null ? void 0 : a.children) == null ? void 0 : l.length) > 0)
|
|
2033
2033
|
o = i((s = a == null ? void 0 : a.children) == null ? void 0 : s[0]);
|
|
2034
2034
|
else {
|
|
2035
|
-
const r =
|
|
2035
|
+
const r = t.length > 0 ? a : void 0;
|
|
2036
2036
|
o = (r == null ? void 0 : r.redirect) || (r == null ? void 0 : r.path) || "";
|
|
2037
2037
|
}
|
|
2038
2038
|
return o;
|
|
2039
2039
|
}
|
|
2040
|
-
function $n(e,
|
|
2040
|
+
function $n(e, t) {
|
|
2041
2041
|
var a;
|
|
2042
2042
|
for (const o of e) {
|
|
2043
|
-
if (o.key ===
|
|
2043
|
+
if (o.key === t) {
|
|
2044
2044
|
let i = o;
|
|
2045
2045
|
for (; i.children && i.children.length > 0; ) {
|
|
2046
2046
|
if ((a = i.meta) != null && a.hideInMenu)
|
|
@@ -2050,27 +2050,36 @@ function $n(e, n) {
|
|
|
2050
2050
|
return i.key;
|
|
2051
2051
|
}
|
|
2052
2052
|
if (o.children) {
|
|
2053
|
-
const i = $n(o.children,
|
|
2053
|
+
const i = $n(o.children, t);
|
|
2054
2054
|
if (i)
|
|
2055
2055
|
return i;
|
|
2056
2056
|
}
|
|
2057
2057
|
}
|
|
2058
2058
|
}
|
|
2059
|
-
function Ho({ menuData: e, levelMenuData:
|
|
2059
|
+
function Ho({ menuData: e, levelMenuData: t }, { path: a, name: o }) {
|
|
2060
2060
|
var S, y, u, C;
|
|
2061
|
-
const i =
|
|
2062
|
-
let r = ((y =
|
|
2063
|
-
const g = !r || s, h = l.split("-").slice(0, -1).join("-"), d =
|
|
2064
|
-
if (r = g ? (u = d == null ? void 0 : d.meta) != null && u.menuSelectKey && ((C =
|
|
2061
|
+
const i = t.find((b) => b.name === o), l = (i == null ? void 0 : i.key) || "", s = (S = i == null ? void 0 : i.meta) == null ? void 0 : S.hideInMenu;
|
|
2062
|
+
let r = ((y = t.find((b) => b.path === a)) == null ? void 0 : y.key) || "";
|
|
2063
|
+
const g = !r || s, h = l.split("-").slice(0, -1).join("-"), d = t.find((b) => b.key === h), m = $n(e, h) || r;
|
|
2064
|
+
if (r = g ? (u = d == null ? void 0 : d.meta) != null && u.menuSelectKey && ((C = t.find((b) => b.path === wn(d))) == null ? void 0 : C.key) || m : r, r) {
|
|
2065
2065
|
const b = [], c = r.split("-");
|
|
2066
2066
|
for (let f = 0; f < c.length; f += 1)
|
|
2067
2067
|
b.push(Se(c).splice(0, f + 1).join("-"));
|
|
2068
|
-
const v = l === r || s ? [] :
|
|
2069
|
-
return
|
|
2068
|
+
const v = l === r || s ? [] : t.filter((f) => l === f.key);
|
|
2069
|
+
return t.filter((f) => b.some((w) => w === (f == null ? void 0 : f.key) || "")).concat(v);
|
|
2070
2070
|
}
|
|
2071
2071
|
return [];
|
|
2072
2072
|
}
|
|
2073
|
-
|
|
2073
|
+
function jo(e, t) {
|
|
2074
|
+
return e.map((a) => {
|
|
2075
|
+
const o = a.children ? jo(a.children, t) : [];
|
|
2076
|
+
return t(a) || o.length > 0 ? {
|
|
2077
|
+
...a,
|
|
2078
|
+
children: o.length > 0 ? o : void 0
|
|
2079
|
+
} : null;
|
|
2080
|
+
}).filter((a) => a !== null);
|
|
2081
|
+
}
|
|
2082
|
+
const Eo = ["left", "right"], Ee = ["left", "right", "down", "up"], Ko = ["downBig", "upBig", "leftBig", "rightBig"], Wo = ["topLeft", "bottomRight", "topRight", "bottomLeft"], Uo = ["downLeft", "upRight", "downRight", "upLeft"], kt = {
|
|
2074
2083
|
preset: [
|
|
2075
2084
|
// 预设动画配置
|
|
2076
2085
|
{ name: "back", alias: "渐近", directions: Ee },
|
|
@@ -2078,11 +2087,11 @@ const jo = ["left", "right"], Ee = ["left", "right", "down", "up"], Eo = ["downB
|
|
|
2078
2087
|
{
|
|
2079
2088
|
name: "fade",
|
|
2080
2089
|
alias: "淡化",
|
|
2081
|
-
directions: Ee.concat(
|
|
2090
|
+
directions: Ee.concat(Ko).concat(Wo).concat("default")
|
|
2082
2091
|
},
|
|
2083
2092
|
{ name: "flip", alias: "翻转", directions: ["x", "y"] },
|
|
2084
|
-
{ name: "lightSpeed", alias: "光速", directions:
|
|
2085
|
-
{ name: "rotate", alias: "旋转", directions:
|
|
2093
|
+
{ name: "lightSpeed", alias: "光速", directions: Eo },
|
|
2094
|
+
{ name: "rotate", alias: "旋转", directions: Uo.concat("default") },
|
|
2086
2095
|
{ name: "roll", alias: "翻滚", directions: ["default"] },
|
|
2087
2096
|
{ name: "zoom", alias: "缩放", directions: Ee.concat("default") },
|
|
2088
2097
|
{ name: "slide", alias: "滑动", directions: Ee }
|
|
@@ -2098,34 +2107,34 @@ const jo = ["left", "right"], Ee = ["left", "right", "down", "up"], Eo = ["downB
|
|
|
2098
2107
|
colorItemTextSelected: "colorTextMenuSelected",
|
|
2099
2108
|
colorItemTextSelectedHorizontal: "colorTextMenuSelected"
|
|
2100
2109
|
};
|
|
2101
|
-
function Bn({ type: e, token:
|
|
2110
|
+
function Bn({ type: e, token: t, dark: a, staticToken: o }) {
|
|
2102
2111
|
var g, h;
|
|
2103
|
-
const i = (g =
|
|
2112
|
+
const i = (g = t.layout) == null ? void 0 : g[e], l = it(e, t, ((h = t.layout) == null ? void 0 : h.key) || ""), s = Object.keys(ft).reduce((d, m) => (d[m] = i[ft[m]] || l[ft[m]], d), {}), r = Object.assign(o, Object.fromEntries(Object.entries(s).filter(([d, m]) => m !== void 0)));
|
|
2104
2113
|
return a && e === "header" && (r.colorActiveBarHeight = 0), r;
|
|
2105
2114
|
}
|
|
2106
|
-
function
|
|
2115
|
+
function _o(e) {
|
|
2107
2116
|
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 };
|
|
2108
2117
|
}
|
|
2109
|
-
function
|
|
2110
|
-
const
|
|
2118
|
+
function Xo(e) {
|
|
2119
|
+
const t = ["showTabsBar", "fixedMultiTab", "fixSiderbar", "fixedHeader", "splitMenus"];
|
|
2111
2120
|
let o = Object.keys(e).reduce((i, l) => (i[l] = !1, i), {});
|
|
2112
|
-
return o = oe(o,
|
|
2121
|
+
return o = oe(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;
|
|
2113
2122
|
}
|
|
2114
|
-
function
|
|
2123
|
+
function Vo(e, t) {
|
|
2115
2124
|
const a = /* @__PURE__ */ new Set();
|
|
2116
|
-
return e.filter((o) => a.has(o[
|
|
2125
|
+
return e.filter((o) => a.has(o[t]) ? !1 : (a.add(o[t]), !0));
|
|
2117
2126
|
}
|
|
2118
2127
|
function Kt(e) {
|
|
2119
2128
|
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Le(e);
|
|
2120
2129
|
}
|
|
2121
2130
|
const {
|
|
2122
|
-
Sider:
|
|
2123
|
-
} = We, Mn = (e) => e ?
|
|
2131
|
+
Sider: Go
|
|
2132
|
+
} = We, Mn = (e) => e ? n(Na, null, null) : n(za, null, null), Wt = /* @__PURE__ */ j({
|
|
2124
2133
|
props: ce,
|
|
2125
2134
|
inheritAttrs: !1,
|
|
2126
2135
|
setup(e) {
|
|
2127
2136
|
const {
|
|
2128
|
-
getPrefixCls:
|
|
2137
|
+
getPrefixCls: t,
|
|
2129
2138
|
selectedKeys: a,
|
|
2130
2139
|
flatMenuData: o,
|
|
2131
2140
|
menuData: i,
|
|
@@ -2148,7 +2157,7 @@ const {
|
|
|
2148
2157
|
menuContentRender: w,
|
|
2149
2158
|
menuFooterRender: z,
|
|
2150
2159
|
collapsedButtonRender: $
|
|
2151
|
-
} = tt(e), I =
|
|
2160
|
+
} = tt(e), I = t({
|
|
2152
2161
|
suffixCls: "sider",
|
|
2153
2162
|
isPor: !0
|
|
2154
2163
|
}), B = R(() => e.layout === "wide"), k = R(() => e.layout === "mix" && !e.isMobile && e.splitMenus), O = R(() => m.value === "side" || m.value === "simple"), T = R(() => e.isMobile || B.value ? !1 : C.value), U = R(() => (e.layout === "mix" || B.value) && "light" || s.value.theme), {
|
|
@@ -2170,7 +2179,7 @@ const {
|
|
|
2170
2179
|
}
|
|
2171
2180
|
}
|
|
2172
2181
|
};
|
|
2173
|
-
}], I), he = R(() => m.value === "top" ? [] : i.value), de = R(() => e.collapsed ? f.value : v.value), L = R(() => Q([X.value, I, S.value ? "shadow" : null, `${I}-${d.value}`, T.value ? `${I}-fixed` : null])), F = R(() => $.value !== !1 ? $.value || Mn : !1), P = yt(() => e.layout === "simple" || !e.appLogoListRender ? null :
|
|
2182
|
+
}], I), he = R(() => m.value === "top" ? [] : i.value), de = R(() => e.collapsed ? f.value : v.value), L = R(() => Q([X.value, I, S.value ? "shadow" : null, `${I}-${d.value}`, T.value ? `${I}-fixed` : null])), F = R(() => $.value !== !1 ? $.value || Mn : !1), P = yt(() => e.layout === "simple" || !e.appLogoListRender ? null : n(vn, null, {
|
|
2174
2183
|
default: () => {
|
|
2175
2184
|
var H;
|
|
2176
2185
|
return [typeof e.appLogoListRender == "function" ? (H = e.appLogoListRender) == null ? void 0 : H.call(e) : e.appLogoListRender];
|
|
@@ -2183,7 +2192,7 @@ const {
|
|
|
2183
2192
|
const ee = yt(() => {
|
|
2184
2193
|
var Y;
|
|
2185
2194
|
if ($.value === !1) return null;
|
|
2186
|
-
const H =
|
|
2195
|
+
const H = n(Po, {
|
|
2187
2196
|
isMobile: S.value,
|
|
2188
2197
|
collapsed: c.value,
|
|
2189
2198
|
onClick: () => E()
|
|
@@ -2203,12 +2212,12 @@ const {
|
|
|
2203
2212
|
return () => {
|
|
2204
2213
|
var we;
|
|
2205
2214
|
let H;
|
|
2206
|
-
const Y = O.value &&
|
|
2215
|
+
const Y = O.value && n(Ft, te({
|
|
2207
2216
|
hashId: X.value,
|
|
2208
2217
|
baseClassName: I
|
|
2209
2218
|
}, oe(e, Object.keys(rt))), {
|
|
2210
2219
|
default: () => [P.value]
|
|
2211
|
-
}), V = e.menuHeaderRender && ((we = e.menuHeaderRender) == null ? void 0 : we.call(e, e)), xe = e.menuLinksRender, Ne = e.siderActionsRender, Ie =
|
|
2220
|
+
}), V = e.menuHeaderRender && ((we = e.menuHeaderRender) == null ? void 0 : we.call(e, e)), xe = e.menuLinksRender, Ne = e.siderActionsRender, Ie = n(pn, {
|
|
2212
2221
|
class: `${I}-menu ${X.value}`,
|
|
2213
2222
|
theme: U.value,
|
|
2214
2223
|
mode: "inline",
|
|
@@ -2228,7 +2237,7 @@ const {
|
|
|
2228
2237
|
},
|
|
2229
2238
|
onSelect: ye
|
|
2230
2239
|
}, null);
|
|
2231
|
-
return k.value && se(o.value).length === 0 && e.suppressSiderWhenMenuEmpty || he.value.length === 0 && e.suppressSiderWhenMenuEmpty ? null : _(
|
|
2240
|
+
return k.value && se(o.value).length === 0 && e.suppressSiderWhenMenuEmpty || he.value.length === 0 && e.suppressSiderWhenMenuEmpty ? null : _(n(wt, {
|
|
2232
2241
|
theme: {
|
|
2233
2242
|
components: {
|
|
2234
2243
|
Menu: Bn({
|
|
@@ -2245,7 +2254,7 @@ const {
|
|
|
2245
2254
|
}
|
|
2246
2255
|
}
|
|
2247
2256
|
}, {
|
|
2248
|
-
default: () => [T.value &&
|
|
2257
|
+
default: () => [T.value && n("div", {
|
|
2249
2258
|
style: {
|
|
2250
2259
|
width: `${de.value}px`,
|
|
2251
2260
|
overflow: "hidden",
|
|
@@ -2254,7 +2263,7 @@ const {
|
|
|
2254
2263
|
minWidth: `${de.value}px`,
|
|
2255
2264
|
transition: "all 0.2s ease 0s"
|
|
2256
2265
|
}
|
|
2257
|
-
}, null),
|
|
2266
|
+
}, null), n(Go, {
|
|
2258
2267
|
collapsible: !0,
|
|
2259
2268
|
trigger: null,
|
|
2260
2269
|
class: L.value,
|
|
@@ -2272,40 +2281,40 @@ const {
|
|
|
2272
2281
|
}, {
|
|
2273
2282
|
default: () => {
|
|
2274
2283
|
var p, M, N, G;
|
|
2275
|
-
return [y.value &&
|
|
2284
|
+
return [y.value && n("div", {
|
|
2276
2285
|
class: ["gx-pro-sider-loading", X.value]
|
|
2277
|
-
}, [
|
|
2286
|
+
}, [n(St, {
|
|
2278
2287
|
spinning: y.value,
|
|
2279
2288
|
indicator: (p = g == null ? void 0 : g.indicator) == null ? void 0 : p.value
|
|
2280
|
-
}, null)]), Y || null, Fe(e.menuHeaderRender) &&
|
|
2289
|
+
}, null)]), Y || null, Fe(e.menuHeaderRender) && n("div", {
|
|
2281
2290
|
class: Q([X.value, `${I}-extra`, !Y && `${I}-extra-no-logo`])
|
|
2282
|
-
}, [V]),
|
|
2291
|
+
}, [V]), n("div", {
|
|
2283
2292
|
style: {
|
|
2284
2293
|
flex: "1 1 0%",
|
|
2285
2294
|
overflow: "hidden auto"
|
|
2286
2295
|
}
|
|
2287
|
-
}, [w.value && ((M = w.value) == null ? void 0 : M.call(w, e, Ie)) || Ie]), e.layout !== "wide" &&
|
|
2296
|
+
}, [w.value && ((M = w.value) == null ? void 0 : M.call(w, e, Ie)) || Ie]), e.layout !== "wide" && n(J, null, [Fe(xe) && $t(xe) && xe.length > 0 && n("div", {
|
|
2288
2297
|
class: `${I}-links ${X.value}`
|
|
2289
|
-
}, [
|
|
2298
|
+
}, [n(ge, {
|
|
2290
2299
|
theme: U.value,
|
|
2291
2300
|
inlineIndent: 16,
|
|
2292
2301
|
class: `${I}-link-menu ${X.value}`,
|
|
2293
2302
|
selectedKeys: [],
|
|
2294
2303
|
openKeys: [],
|
|
2295
2304
|
mode: "inline"
|
|
2296
|
-
}, Kt(H = (xe || []).map((D, A) =>
|
|
2305
|
+
}, Kt(H = (xe || []).map((D, A) => n(ge.Item, {
|
|
2297
2306
|
class: `${I}-link ${X.value}`,
|
|
2298
2307
|
key: A
|
|
2299
2308
|
}, Kt(D) ? D : {
|
|
2300
2309
|
default: () => [D]
|
|
2301
2310
|
}))) ? H : {
|
|
2302
2311
|
default: () => [H]
|
|
2303
|
-
})]), S.value ? null :
|
|
2312
|
+
})]), S.value ? null : n("div", {
|
|
2304
2313
|
class: Q(`${I}-actions`, X.value)
|
|
2305
|
-
}, [Ne ||
|
|
2314
|
+
}, [Ne || n(J, null, [n("div", {
|
|
2306
2315
|
class: Q(`${I}-actions-item`, X.value),
|
|
2307
2316
|
onClick: () => E()
|
|
2308
|
-
}, [F.value && ((N = F.value) == null ? void 0 : N.call(F, c.value))])])])]), z.value &&
|
|
2317
|
+
}, [F.value && ((N = F.value) == null ? void 0 : N.call(F, c.value))])])])]), z.value && n("div", {
|
|
2309
2318
|
class: `${I}-footer ${X.value}`
|
|
2310
2319
|
}, [(G = z.value) == null ? void 0 : G.call(z, e)]), r.value || m.value === "wide" ? null : ee.value];
|
|
2311
2320
|
}
|
|
@@ -2316,16 +2325,16 @@ const {
|
|
|
2316
2325
|
}), Ln = {
|
|
2317
2326
|
...ce,
|
|
2318
2327
|
...mn
|
|
2319
|
-
},
|
|
2328
|
+
}, Yo = ["mix", "top", "wide"], qo = (e, t) => e === !1 ? null : e ? e(t, null) : t, Qo = /* @__PURE__ */ j({
|
|
2320
2329
|
props: Ln,
|
|
2321
2330
|
setup(e) {
|
|
2322
|
-
return () => e.rightContentRender && typeof e.rightContentRender == "function" ? e.rightContentRender(e) :
|
|
2331
|
+
return () => e.rightContentRender && typeof e.rightContentRender == "function" ? e.rightContentRender(e) : n(J, null, null);
|
|
2323
2332
|
}
|
|
2324
|
-
}),
|
|
2333
|
+
}), Zo = /* @__PURE__ */ j({
|
|
2325
2334
|
props: Ln,
|
|
2326
2335
|
inheritAttrs: !1,
|
|
2327
2336
|
setup(e, {
|
|
2328
|
-
emit:
|
|
2337
|
+
emit: t
|
|
2329
2338
|
}) {
|
|
2330
2339
|
const a = Ge(), {
|
|
2331
2340
|
token: o
|
|
@@ -2353,19 +2362,19 @@ const {
|
|
|
2353
2362
|
}
|
|
2354
2363
|
e.onOpenKeys && b === "openKeys" && e.onOpenKeys(z ? w.filter((I) => I.path !== f.path).map((I) => I.path) : c);
|
|
2355
2364
|
}, y = () => {
|
|
2356
|
-
|
|
2365
|
+
t("collapse", !e.collapsed);
|
|
2357
2366
|
}, u = R(() => e.collapsedButtonRender || Mn), C = () => {
|
|
2358
2367
|
var c;
|
|
2359
|
-
const b = e.headerContentRender || e.headerContentRender === !1 ?
|
|
2368
|
+
const b = e.headerContentRender || e.headerContentRender === !1 ? n("div", {
|
|
2360
2369
|
style: {
|
|
2361
2370
|
flex: 1
|
|
2362
2371
|
}
|
|
2363
|
-
}, [e.headerContentRender]) :
|
|
2372
|
+
}, [e.headerContentRender]) : n("div", {
|
|
2364
2373
|
style: {
|
|
2365
2374
|
flex: 1
|
|
2366
2375
|
},
|
|
2367
2376
|
class: [`${g}-menu`, d.value]
|
|
2368
|
-
}, [((c = e.menuData) == null ? void 0 : c.length) > 0 &&
|
|
2377
|
+
}, [((c = e.menuData) == null ? void 0 : c.length) > 0 && n(wt, {
|
|
2369
2378
|
theme: {
|
|
2370
2379
|
components: {
|
|
2371
2380
|
Layout: {
|
|
@@ -2387,7 +2396,7 @@ const {
|
|
|
2387
2396
|
}
|
|
2388
2397
|
}
|
|
2389
2398
|
}, {
|
|
2390
|
-
default: () => [
|
|
2399
|
+
default: () => [n(pn, {
|
|
2391
2400
|
theme: e.theme,
|
|
2392
2401
|
mode: e.mode,
|
|
2393
2402
|
collapsed: e.collapsed,
|
|
@@ -2405,45 +2414,45 @@ const {
|
|
|
2405
2414
|
onOpenKeys: (v) => S("openKeys", v)
|
|
2406
2415
|
}, null)]
|
|
2407
2416
|
})]);
|
|
2408
|
-
return
|
|
2417
|
+
return n(J, null, [b, e.layout !== "simple" && n(Qo, te(e, {
|
|
2409
2418
|
extraRightDropdownRender: e.extraRightDropdownRender,
|
|
2410
2419
|
rightContentRender: e.rightContentRender
|
|
2411
2420
|
}), null)]);
|
|
2412
2421
|
};
|
|
2413
2422
|
return () => {
|
|
2414
|
-
const b =
|
|
2423
|
+
const b = n("span", {
|
|
2415
2424
|
key: "logo",
|
|
2416
2425
|
onClick: () => {
|
|
2417
2426
|
var c;
|
|
2418
2427
|
return (c = e.onLogoClick) == null ? void 0 : c.call(e);
|
|
2419
2428
|
},
|
|
2420
2429
|
class: [`${g}-logo`, e.isMobile && "mobile", d.value]
|
|
2421
|
-
}, [
|
|
2422
|
-
return h(
|
|
2430
|
+
}, [n("a", null, [xn(e.logo, e.logoStyle)])]);
|
|
2431
|
+
return h(n("div", {
|
|
2423
2432
|
class: m.value
|
|
2424
|
-
}, [e.isMobile ?
|
|
2433
|
+
}, [e.isMobile ? n(J, null, [qo(e.logoContentRender, b), e.isMobile && se(u) && n("span", {
|
|
2425
2434
|
class: `${g}-collapsed-button ${d.value}`,
|
|
2426
2435
|
onClick: y
|
|
2427
|
-
}, [se(u)(e.collapsed)]), C()]) :
|
|
2436
|
+
}, [se(u)(e.collapsed)]), C()]) : Yo.includes(e.layout) ? n("div", {
|
|
2428
2437
|
class: `${g}-main ${d.value}`,
|
|
2429
2438
|
style: {
|
|
2430
2439
|
width: Ae(e.headerMainWidth)
|
|
2431
2440
|
}
|
|
2432
|
-
}, [
|
|
2441
|
+
}, [n("div", {
|
|
2433
2442
|
class: `${g}-main-left ${d.value}`
|
|
2434
|
-
}, [e.layout !== "wide" && e.appLogoListRender &&
|
|
2443
|
+
}, [e.layout !== "wide" && e.appLogoListRender && n(vn, null, {
|
|
2435
2444
|
default: () => {
|
|
2436
2445
|
var c;
|
|
2437
2446
|
return [typeof e.appLogoListRender == "function" ? (c = e.appLogoListRender) == null ? void 0 : c.call(e) : e.appLogoListRender];
|
|
2438
2447
|
}
|
|
2439
|
-
}),
|
|
2448
|
+
}), n(Ft, te({
|
|
2440
2449
|
hashId: d.value,
|
|
2441
2450
|
baseClassName: g
|
|
2442
2451
|
}, e), null)]), C()]) : C()]));
|
|
2443
2452
|
};
|
|
2444
2453
|
}
|
|
2445
2454
|
});
|
|
2446
|
-
function
|
|
2455
|
+
function Jo(e) {
|
|
2447
2456
|
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Le(e);
|
|
2448
2457
|
}
|
|
2449
2458
|
const {
|
|
@@ -2453,7 +2462,7 @@ const {
|
|
|
2453
2462
|
props: fn,
|
|
2454
2463
|
setup(e) {
|
|
2455
2464
|
const {
|
|
2456
|
-
isMobile:
|
|
2465
|
+
isMobile: t,
|
|
2457
2466
|
fixedHeader: a,
|
|
2458
2467
|
layout: o,
|
|
2459
2468
|
onCollapse: i,
|
|
@@ -2531,8 +2540,8 @@ const {
|
|
|
2531
2540
|
[`${S}`]: !0,
|
|
2532
2541
|
[`${S}-${d.value.key}`]: !0,
|
|
2533
2542
|
[`${y}`]: C.value
|
|
2534
|
-
})), z = R(() => C.value && !
|
|
2535
|
-
const O =
|
|
2543
|
+
})), z = R(() => C.value && !t.value), $ = R(() => l.value && o.value === "mix" ? Do(Se(g.value)) : o.value === "top" ? g.value : []), I = R(() => b.value && z.value ? `calc(100% - ${e.collapsed ? e.collapsedWidth : e.siderWidth}px)` : "100%"), B = R(() => C.value ? 0 : void 0), k = () => {
|
|
2544
|
+
const O = n(Zo, te(e, {
|
|
2536
2545
|
mode: "horizontal",
|
|
2537
2546
|
theme: c.value,
|
|
2538
2547
|
onCollapse: i.value,
|
|
@@ -2543,14 +2552,14 @@ const {
|
|
|
2543
2552
|
};
|
|
2544
2553
|
return () => {
|
|
2545
2554
|
let O;
|
|
2546
|
-
return v(
|
|
2555
|
+
return v(n(J, null, [C.value && !u.value && n(Ut, {
|
|
2547
2556
|
style: {
|
|
2548
2557
|
height: `${m.value}px`,
|
|
2549
2558
|
lineHeight: `${m.value}px`,
|
|
2550
2559
|
background: "transparent",
|
|
2551
2560
|
marginTop: h.value ? `-${m.value}px` : void 0
|
|
2552
2561
|
}
|
|
2553
|
-
}, null),
|
|
2562
|
+
}, null), n(Ut, {
|
|
2554
2563
|
class: w.value,
|
|
2555
2564
|
style: {
|
|
2556
2565
|
height: `${m.value}px`,
|
|
@@ -2560,7 +2569,7 @@ const {
|
|
|
2560
2569
|
right: B.value,
|
|
2561
2570
|
marginTop: h.value ? `-${m.value}px` : void 0
|
|
2562
2571
|
}
|
|
2563
|
-
},
|
|
2572
|
+
}, Jo(O = k()) ? O : {
|
|
2564
2573
|
default: () => [O]
|
|
2565
2574
|
})]));
|
|
2566
2575
|
};
|
|
@@ -2576,7 +2585,7 @@ const {
|
|
|
2576
2585
|
}
|
|
2577
2586
|
},
|
|
2578
2587
|
setup(e) {
|
|
2579
|
-
return () =>
|
|
2588
|
+
return () => n(J, null, [e.isMobile ? n(Qe, {
|
|
2580
2589
|
maskClosable: !0,
|
|
2581
2590
|
open: !e.collapsed,
|
|
2582
2591
|
closable: !1,
|
|
@@ -2595,17 +2604,17 @@ const {
|
|
|
2595
2604
|
flexDirection: "row"
|
|
2596
2605
|
}
|
|
2597
2606
|
}, {
|
|
2598
|
-
default: () => [
|
|
2607
|
+
default: () => [n(Wt, te(e, {
|
|
2599
2608
|
collapsed: e.isMobile ? !1 : e.collapsed
|
|
2600
2609
|
}), null)]
|
|
2601
|
-
}) :
|
|
2610
|
+
}) : n(Wt, e, null)]);
|
|
2602
2611
|
}
|
|
2603
2612
|
});
|
|
2604
|
-
function Tt(e, { change:
|
|
2613
|
+
function Tt(e, { change: t }) {
|
|
2605
2614
|
const { system: a } = ea(), [o, i, l] = De("system", {
|
|
2606
2615
|
value: R(() => Xe(e.value) ? e.value : "system"),
|
|
2607
2616
|
onChange: (r) => {
|
|
2608
|
-
|
|
2617
|
+
t == null || t(r);
|
|
2609
2618
|
}
|
|
2610
2619
|
});
|
|
2611
2620
|
return {
|
|
@@ -2617,30 +2626,30 @@ function Tt(e, { change: n }) {
|
|
|
2617
2626
|
function Xe(e) {
|
|
2618
2627
|
return ae(e) || e === "system";
|
|
2619
2628
|
}
|
|
2620
|
-
function On({ event: e, isDark:
|
|
2629
|
+
function On({ event: e, isDark: t, value: a, toggle: o }) {
|
|
2621
2630
|
if (!// @ts-expect-error
|
|
2622
2631
|
(document.startViewTransition && !window.matchMedia("(prefers-reduced-motion: reduce)").matches) || !e || e && !e.clientX) {
|
|
2623
|
-
o == null || o(ae(a) || a === "system" ? a : !(
|
|
2632
|
+
o == null || o(ae(a) || a === "system" ? a : !(t != null && t.value));
|
|
2624
2633
|
return;
|
|
2625
2634
|
}
|
|
2626
2635
|
const l = e.clientX, s = e.clientY, r = Math.hypot(Math.max(l, innerWidth - l), Math.max(s, innerHeight - s));
|
|
2627
2636
|
document.startViewTransition(async () => {
|
|
2628
|
-
o == null || o(ae(a) || a === "system" ? a : !(
|
|
2637
|
+
o == null || o(ae(a) || a === "system" ? a : !(t != null && t.value)), await xt();
|
|
2629
2638
|
}).ready.then(() => {
|
|
2630
2639
|
const h = [
|
|
2631
2640
|
`circle(0px at ${l}px ${s}px)`,
|
|
2632
2641
|
`circle(${r}px at ${l}px ${s}px)`
|
|
2633
2642
|
];
|
|
2634
2643
|
document.documentElement.animate({
|
|
2635
|
-
clipPath:
|
|
2644
|
+
clipPath: t != null && t.value ? [...h].reverse() : h
|
|
2636
2645
|
}, {
|
|
2637
2646
|
duration: 450,
|
|
2638
2647
|
easing: "ease-in",
|
|
2639
|
-
pseudoElement:
|
|
2648
|
+
pseudoElement: t != null && t.value ? "::view-transition-old(root)" : "::view-transition-new(root)"
|
|
2640
2649
|
});
|
|
2641
2650
|
});
|
|
2642
2651
|
}
|
|
2643
|
-
const
|
|
2652
|
+
const ei = `::view-transition-new(root),::view-transition-old(root) {
|
|
2644
2653
|
animation: none;
|
|
2645
2654
|
mix-blend-mode: normal;
|
|
2646
2655
|
}
|
|
@@ -2661,12 +2670,12 @@ html[data-theme="dark"]::view-transition-new(root) {
|
|
|
2661
2670
|
z-index: 1;
|
|
2662
2671
|
}`;
|
|
2663
2672
|
window._iconfont_svg_string_4694134 = '<svg><symbol id="icon-fixed" viewBox="0 0 1024 1024"><path d="M540.736 900.608l-208.64-208.64v-0.064h-0.064l-208.64-208.64a304 304 0 0 1 262.656-28.8 41.152 41.152 0 0 0 38.976-6.336l259.328-202.752a40.96 40.96 0 0 0 14.72-41.344 143.68 143.68 0 0 1 13.696-100.8l195.648 195.648a144.448 144.448 0 0 1-100.8 13.696 41.088 41.088 0 0 0-41.408 14.72L568.704 579.776a41.088 41.088 0 0 0-5.44 41.28 305.344 305.344 0 0 1-22.528 279.552z m-528.64 53.312a41.024 41.024 0 0 0 57.984 58.048l233.024-233.024 213.312 213.376a40.96 40.96 0 0 0 28.992 11.968h1.6a41.28 41.28 0 0 0 29.568-14.272 388.224 388.224 0 0 0 71.104-378.048L815.872 396.8a224.512 224.512 0 0 0 183.68-64.832 41.024 41.024 0 0 0 0-57.984L737.536 11.968a41.024 41.024 0 0 0-57.984 0 224.768 224.768 0 0 0-64.832 183.68L391.616 370.176A385.856 385.856 0 0 0 34.048 447.488a40.96 40.96 0 0 0-2.304 60.16l213.376 213.312-233.024 232.96z m0 0" ></path></symbol><symbol id="icon-unpinned" viewBox="0 0 1024 1024"><path d="M1000.445782 331.509251a40.959412 40.959412 0 0 0 0-57.89271L738.842298 12.013057a40.959412 40.959412 0 0 0-57.89271 0 224.414127 224.414127 0 0 0-64.729929 183.390816L393.466912 369.593198A385.248511 385.248511 0 0 0 36.461864 446.783478a40.895513 40.895513 0 0 0-2.300372 60.065285l213.040062 212.976163-232.657129 232.657129a40.959412 40.959412 0 1 0 57.892711 57.89271l232.657128-232.657128 80.513041 80.513041c2.172574-14.377329 5.495335-28.435161 9.840483-41.9818a275.661317 275.661317 0 0 1-4.664644-68.627783l-56.742524-56.742524v-0.063899h-0.0639l-208.311518-208.311519a303.521385 303.521385 0 0 1 262.242476-28.754658 41.087211 41.087211 0 0 0 38.914637-6.326024l258.919716-202.432789a40.895513 40.895513 0 0 0 14.696824-41.278908 143.453791 143.453791 0 0 1 13.674438-100.641302L909.453266 298.409446a144.220582 144.220582 0 0 1-100.641301 13.674437 41.023311 41.023311 0 0 0-41.342808 14.696825L637.753702 492.663132a274.063836 274.063836 0 0 1 97.126843 8.626397l82.110522-105.050349a224.286328 224.286328 0 0 0 183.454715-64.729929z" ></path><path d="M653.089519 511.193911a239.366549 239.366549 0 1 0 0 478.733098 239.366549 239.366549 0 0 0 0-478.733098z m-174.381022 239.366549c0-28.818557 7.028916-56.039633 19.489267-80.001847l260.581097 218.599296a173.486434 173.486434 0 0 1-105.689342 35.783574 174.572721 174.572721 0 0 1-174.381022-174.381023z m307.674835 112.270963l1.469682-1.72528a35.144581 35.144581 0 0 0-1.469682 1.72528z m21.086749-31.374527L546.569488 612.602003a173.486434 173.486434 0 0 1 106.520031-36.422566 174.572721 174.572721 0 0 1 174.381023 174.381023 172.527945 172.527945 0 0 1-20.000461 80.896436z" ></path></symbol><symbol id="icon-anhei" viewBox="0 0 1024 1024"><path d="M398.97 64.12c-0.02 0.02-0.04 0.04-0.05 0.06 0.02 0 0.03-0.01 0.05-0.01v-0.05zM421.78 613.56C273.43 463.81 263.53 225.73 398.92 64.18 166.66 117.34 10.47 335.32 34.82 572.34c33.7 248.91 251.89 430.88 502.8 419.35a501.84 501.84 0 0 0 192.95-43.45 484.233 484.233 0 0 0 159.29-112.16A467.675 467.675 0 0 0 989 672.7c-179.36 116.54-415.76 91.89-567.22-59.14z" ></path><path d="M660.42 278.77a62.323 62.323 0 0 1 37.49 36.01c11.2 28.47 20.09 57.8 26.6 87.7 3.61 15.85 6.86 31.91 10.64 49.36 1.91-9.36 3.35-17.23 5.05-25a727.852 727.852 0 0 1 30.42-108.71 66.904 66.904 0 0 1 43.4-41.11c43.9-14.5 88.9-25.42 134.55-32.66h0.21c0.85-2.71-2.13-1.33-2.82-2.45-18.46-3.78-37.18-7.07-55.68-11.22a495.51 495.51 0 0 1-85.63-25.53 54.54 54.54 0 0 1-29.57-28.14 310.576 310.576 0 0 1-14.68-38.45 983.926 983.926 0 0 1-25.05-103.98l-5 23.67a731.899 731.899 0 0 1-30.74 109.29 68.137 68.137 0 0 1-43.66 41.75 767.933 767.933 0 0 1-101.58 26.97c-11.43 2.39-23.03 4.52-34.57 6.8 11.12 2.87 22.29 4.74 32.92 6.97a693.502 693.502 0 0 1 107.7 28.73zM771.31 516.98a456.433 456.433 0 0 1-60.63-15 35.124 35.124 0 0 1-23.72-22.55 318.968 318.968 0 0 1-9.89-32.71c-2.29-9.52-4.42-18.99-6.54-28.5a44.044 44.044 0 0 0-3.41 10.64 272.599 272.599 0 0 1-17.18 56.91 26.15 26.15 0 0 1-13.67 13.24c-11.1 4.72-22.62 8.38-34.41 10.96l-35.74 7.87c0.9 1.76 2.23 1.76 3.3 1.76 21.98 3.54 43.6 9.1 64.57 16.59 7.77 2.77 14.02 8.7 17.17 16.33 4.91 11.82 8.84 24.02 11.75 36.48 2.45 9.73 4.58 19.57 6.86 29.41a595.34 595.34 0 0 1 17.5-62.06 34.357 34.357 0 0 1 22.71-21.75 434.977 434.977 0 0 1 62.76-15.27l-0.16-0.1c0.91-1.51-0.53-1.72-1.27-2.25z" ></path></symbol><symbol id="icon-liangse" viewBox="0 0 1024 1024"><path d="M510.805433 812.646946A302.737439 302.737439 0 0 1 209.091909 510.76277 302.737439 302.737439 0 0 1 510.805433 209.049246a299.751021 299.751021 0 0 1 301.884176 301.79885 299.751021 299.751021 0 0 1-301.884176 301.884176z m0 0A302.737439 302.737439 0 0 1 209.091909 510.76277 302.737439 302.737439 0 0 1 510.805433 209.049246a299.751021 299.751021 0 0 1 301.884176 301.79885 299.751021 299.751021 0 0 1-301.884176 301.884176z m-383.114741-299.495042c0-2.389134 0-2.389134 0 0 0-16.211982 2.389134-32.509291 2.389135-48.806599H37.15957A39.932672 39.932672 0 0 0 0.042663 501.547538v16.211982c0 20.904925 18.601117 39.506041 37.116907 39.506041h92.920257c-2.303808-13.993501-2.303808-30.205483-2.303808-44.113657z m83.619699-239.169403a400.179985 400.179985 0 0 1 62.714774-62.714773l-32.509291-32.423965c-11.604366-16.297309-37.116907-16.297309-53.414216 0l-9.300558 9.215232a35.325056 35.325056 0 0 0 0 53.414216l32.509291 32.423964z m601.379218 0l30.205483-34.813098c16.211982-11.604366 16.211982-37.202233 0-53.414216L831.120073 174.065495c-11.604366-16.211982-37.116907-16.211982-53.328889 0l-32.509291 32.423964c23.208733 20.990251 46.417465 41.809849 67.32239 67.407716zM510.805433 127.733356c16.211982 0 30.205483 2.303808 46.502791 2.303808V37.116907A39.932672 39.932672 0 0 0 520.105991 0h-16.211982c-20.904925 0-39.506041 18.601117-39.506041 37.116907v95.224065c16.211982-2.303808 30.205483-4.607616 46.417465-4.607616z m471.342055 336.611949H891.701692c2.303808 16.211982 2.303808 30.205483 2.303808 46.417465 0 16.211982 0 30.205483-2.303808 44.113657h90.531122a40.700608 40.700608 0 0 0 39.506041-39.420715v-16.211982c0-16.297309-18.601117-34.898425-39.506041-34.898425zM211.310391 750.017499l-30.205483 32.50929c-16.211982 11.604366-16.211982 37.116907 0 53.414216l11.689692 11.604366c11.604366 16.211982 37.116907 16.211982 53.32889 0l32.509291-32.509291a298.385801 298.385801 0 0 1-67.32239-65.018581z m603.683026-4.607616c-18.601117 25.512541-41.809849 48.721273-67.407716 67.322389l32.594617 32.423965c11.604366 16.297309 37.116907 16.297309 53.414216 0l13.908174-13.908174c16.211982-11.604366 16.211982-37.116907 0-53.32889l-32.509291-32.50929z m-304.187984 148.552953c-13.908174 0-30.120157 0-44.113657-2.303808v92.834931c0 20.904925 16.211982 39.506041 37.202233 39.506041h16.211982c18.601117 0 37.202233-18.601117 37.202233-39.506041V891.659028c-16.211982 2.303808-30.205483 2.303808-46.502791 2.303808z" ></path></symbol></svg>', ((e) => {
|
|
2664
|
-
var
|
|
2673
|
+
var t = (a = (a = document.getElementsByTagName("script"))[a.length - 1]).getAttribute("data-injectcss"), a = a.getAttribute("data-disable-injectsvg");
|
|
2665
2674
|
if (!a) {
|
|
2666
2675
|
var o, i, l, s, r, g = function(m, S) {
|
|
2667
2676
|
S.parentNode.insertBefore(m, S);
|
|
2668
2677
|
};
|
|
2669
|
-
if (
|
|
2678
|
+
if (t && !e.__iconfont__svg__cssinject__) {
|
|
2670
2679
|
e.__iconfont__svg__cssinject__ = !0;
|
|
2671
2680
|
try {
|
|
2672
2681
|
document.write("<style>.svgfont {display: inline-block;width: 1em;height: 1em;fill: currentColor;vertical-align: -0.1em;font-size:16px;}</style>");
|
|
@@ -2695,7 +2704,7 @@ window._iconfont_svg_string_4694134 = '<svg><symbol id="icon-fixed" viewBox="0 0
|
|
|
2695
2704
|
h();
|
|
2696
2705
|
}
|
|
2697
2706
|
})(window);
|
|
2698
|
-
const
|
|
2707
|
+
const ti = /* @__PURE__ */ j({
|
|
2699
2708
|
name: "BaseProLayout",
|
|
2700
2709
|
inheritAttrs: !1,
|
|
2701
2710
|
components: {
|
|
@@ -2711,13 +2720,13 @@ const ei = /* @__PURE__ */ j({
|
|
|
2711
2720
|
}
|
|
2712
2721
|
},
|
|
2713
2722
|
setup(e, {
|
|
2714
|
-
slots:
|
|
2723
|
+
slots: t
|
|
2715
2724
|
}) {
|
|
2716
2725
|
const a = ie({
|
|
2717
2726
|
suffixCls: "basic-layout",
|
|
2718
2727
|
isPor: !0
|
|
2719
2728
|
});
|
|
2720
|
-
ta(
|
|
2729
|
+
ta(ei);
|
|
2721
2730
|
const {
|
|
2722
2731
|
wrapSSR: o,
|
|
2723
2732
|
hashId: i
|
|
@@ -2742,7 +2751,7 @@ const ei = /* @__PURE__ */ j({
|
|
|
2742
2751
|
theme: r.value ? "dark" : e.theme
|
|
2743
2752
|
})), v = R(() => (l.value === "sm" || l.value === "xs") && !e.disableMobile && !b.value), f = R(() => ({
|
|
2744
2753
|
...e.breadcrumb || {},
|
|
2745
|
-
itemRender: re(
|
|
2754
|
+
itemRender: re(t, e, "pageContainerProps:breadcrumbRender")
|
|
2746
2755
|
})), w = R(() => u.value && e.selectedKeys ? Ao(e.menuData, e.selectedKeys[0]) : []), z = R(() => Ue(e.headerHeight) ? e.headerHeight : Z.headerHeight), $ = yt(() => m.value ? 0 : Ue(e.siderWidth) ? e.siderWidth : e.layout === "mix" ? 215 : e.layout === "wide" ? 208 : 256, [() => e.layout, () => e.siderWidth, () => m.value]);
|
|
2747
2756
|
ne([() => e.layout, () => e.theme], ([B]) => {
|
|
2748
2757
|
(B === "wide" || B === "simple") && (m.value = !1), g.value = bt().uuid(10);
|
|
@@ -2759,7 +2768,7 @@ const ei = /* @__PURE__ */ j({
|
|
|
2759
2768
|
immediate: !0,
|
|
2760
2769
|
deep: !0
|
|
2761
2770
|
});
|
|
2762
|
-
const I = (B, k) => B.headerRender === !1 || B.pure ? null :
|
|
2771
|
+
const I = (B, k) => B.headerRender === !1 || B.pure ? null : n(_t, te($e(B, "headerHeight"), {
|
|
2763
2772
|
headerHeight: z.value,
|
|
2764
2773
|
matchMenuKeys: k || []
|
|
2765
2774
|
}), null);
|
|
@@ -2779,12 +2788,12 @@ const ei = /* @__PURE__ */ j({
|
|
|
2779
2788
|
hasSide: u,
|
|
2780
2789
|
levelMenuData: C,
|
|
2781
2790
|
onDarkChange: e.onDarkChange,
|
|
2782
|
-
pageHeaderRender: R(() => Me(
|
|
2791
|
+
pageHeaderRender: R(() => Me(t, e, "pageContainerProps:pageHeaderRender"))
|
|
2783
2792
|
}), () => {
|
|
2784
2793
|
var Y;
|
|
2785
|
-
const B = da(bn,
|
|
2794
|
+
const B = da(bn, t, e, {
|
|
2786
2795
|
render: !0
|
|
2787
|
-
}), k = re(
|
|
2796
|
+
}), k = re(t, e, "collapsedButtonRender"), O = re(t, e, "footerRender"), T = re(t, e, "headerRender"), U = re(t, e, "headerContentRender"), _ = re(t, e, "rightContentRender"), X = re(t, e, "tabsRouteItemRender"), he = re(t, e, "menuItemRender"), de = re(t, e, "menuHeaderRender"), L = re(t, e, "logoContentRender"), F = re(t, e, "menuFooterRender"), P = re(t, e, "subMenuItemRender"), E = re(t, e, "menuContentRender"), ee = I({
|
|
2788
2797
|
...e,
|
|
2789
2798
|
...oe(B, yn),
|
|
2790
2799
|
menuItemRender: he,
|
|
@@ -2798,11 +2807,11 @@ const ei = /* @__PURE__ */ j({
|
|
|
2798
2807
|
}, e.matchMenuKeys), ye = b.value ? {
|
|
2799
2808
|
minHeight: "835px",
|
|
2800
2809
|
marginInlineStart: $.value === 0 ? 0 : void 0
|
|
2801
|
-
} : {}, H = O === !1 ? null : O ? typeof O == "function" ? O(e) : O :
|
|
2810
|
+
} : {}, H = O === !1 ? null : O ? typeof O == "function" ? O(e) : O : n(Et, {
|
|
2802
2811
|
copyright: B.copyrightRender,
|
|
2803
2812
|
links: e.footerLinks
|
|
2804
2813
|
}, null);
|
|
2805
|
-
return o(
|
|
2814
|
+
return o(n(J, null, [e.pure ? (Y = t.default) == null ? void 0 : Y.call(t) : n("div", {
|
|
2806
2815
|
class: Q({
|
|
2807
2816
|
[`${i.value}`]: !0,
|
|
2808
2817
|
[`${a}`]: !0,
|
|
@@ -2812,14 +2821,14 @@ const ei = /* @__PURE__ */ j({
|
|
|
2812
2821
|
minWidth: Ae(e.wideWidth),
|
|
2813
2822
|
...e.style
|
|
2814
2823
|
} : e.style
|
|
2815
|
-
}, [
|
|
2824
|
+
}, [n(We, {
|
|
2816
2825
|
style: b.value ? {
|
|
2817
2826
|
width: Ae(e.wideWidth),
|
|
2818
2827
|
paddingTop: `${z.value + 20}px`,
|
|
2819
2828
|
margin: b.value ? "0 auto" : void 0
|
|
2820
2829
|
} : void 0
|
|
2821
2830
|
}, {
|
|
2822
|
-
default: () => [$.value > 0 &&
|
|
2831
|
+
default: () => [$.value > 0 && n(Xt, te(e, {
|
|
2823
2832
|
siderWidth: $.value,
|
|
2824
2833
|
isMobile: v.value,
|
|
2825
2834
|
menuHeaderRender: de,
|
|
@@ -2827,10 +2836,10 @@ const ei = /* @__PURE__ */ j({
|
|
|
2827
2836
|
menuFooterRender: F,
|
|
2828
2837
|
menuContentRender: E,
|
|
2829
2838
|
collapsedButtonRender: k
|
|
2830
|
-
}, oe(B, gn)), null),
|
|
2839
|
+
}, oe(B, gn)), null), n(We, {
|
|
2831
2840
|
style: S
|
|
2832
2841
|
}, {
|
|
2833
|
-
default: () => [e.layout !== "simple" && z.value > 0 && ee,
|
|
2842
|
+
default: () => [e.layout !== "simple" && z.value > 0 && ee, n(Ot, te(oe(e, ro), {
|
|
2834
2843
|
hashId: i.value,
|
|
2835
2844
|
prefixCls: a,
|
|
2836
2845
|
siderWidth: $.value,
|
|
@@ -2842,14 +2851,14 @@ const ei = /* @__PURE__ */ j({
|
|
|
2842
2851
|
}), {
|
|
2843
2852
|
default: () => {
|
|
2844
2853
|
var V;
|
|
2845
|
-
return [(V =
|
|
2854
|
+
return [(V = t.default) == null ? void 0 : V.call(t)];
|
|
2846
2855
|
}
|
|
2847
2856
|
}), e.layout !== "wide" && H]
|
|
2848
2857
|
})]
|
|
2849
2858
|
}), B.pageLockRender, e.layout === "wide" && H])]));
|
|
2850
2859
|
};
|
|
2851
2860
|
}
|
|
2852
|
-
}),
|
|
2861
|
+
}), ts = /* @__PURE__ */ j({
|
|
2853
2862
|
name: "GProLayout",
|
|
2854
2863
|
compatConfig: {
|
|
2855
2864
|
MODE: 3
|
|
@@ -2859,7 +2868,7 @@ const ei = /* @__PURE__ */ j({
|
|
|
2859
2868
|
emits: ["update:tabs", "update:dark", "update:collapsed", "update:open-keys", "update:selected-keys", "collapse", "openKeys", "reloadPage", "select", "logoClick", "menuClick", "tabsChange", "darkChange"],
|
|
2860
2869
|
slots: Object,
|
|
2861
2870
|
setup(e, {
|
|
2862
|
-
slots:
|
|
2871
|
+
slots: t,
|
|
2863
2872
|
emit: a,
|
|
2864
2873
|
attrs: o
|
|
2865
2874
|
}) {
|
|
@@ -2895,18 +2904,18 @@ const ei = /* @__PURE__ */ j({
|
|
|
2895
2904
|
}, m = (S) => {
|
|
2896
2905
|
a("update:tabs", S), a("tabsChange", S);
|
|
2897
2906
|
};
|
|
2898
|
-
return () =>
|
|
2907
|
+
return () => n(wt, {
|
|
2899
2908
|
theme: e.primaryColor ? {
|
|
2900
2909
|
token: {
|
|
2901
2910
|
colorPrimary: e.primaryColor
|
|
2902
2911
|
}
|
|
2903
2912
|
} : void 0
|
|
2904
2913
|
}, {
|
|
2905
|
-
default: () => [
|
|
2914
|
+
default: () => [n(ga, {
|
|
2906
2915
|
token: r.value,
|
|
2907
2916
|
dark: i.value
|
|
2908
2917
|
}, {
|
|
2909
|
-
default: () => [
|
|
2918
|
+
default: () => [n(ti, te({
|
|
2910
2919
|
style: o.style
|
|
2911
2920
|
}, $e(e, ["onSelect", "onOpenKeys", "onCollapse", "onTabsChange", "onDarkChange", "dark"]), {
|
|
2912
2921
|
dark: l.value,
|
|
@@ -2915,7 +2924,7 @@ const ei = /* @__PURE__ */ j({
|
|
|
2915
2924
|
onCollapse: g,
|
|
2916
2925
|
onTabsChange: m,
|
|
2917
2926
|
onDarkChange: s
|
|
2918
|
-
}),
|
|
2927
|
+
}), t)]
|
|
2919
2928
|
})]
|
|
2920
2929
|
});
|
|
2921
2930
|
}
|
|
@@ -2973,7 +2982,7 @@ const ei = /* @__PURE__ */ j({
|
|
|
2973
2982
|
onLockOpenChange: Function,
|
|
2974
2983
|
onSettingsOpenChange: Function,
|
|
2975
2984
|
"onUpdate:settingsOpen": Function
|
|
2976
|
-
}),
|
|
2985
|
+
}), ni = Fn(), kn = {
|
|
2977
2986
|
hashId: String,
|
|
2978
2987
|
className: String
|
|
2979
2988
|
}, Tn = {
|
|
@@ -2984,8 +2993,8 @@ const ei = /* @__PURE__ */ j({
|
|
|
2984
2993
|
onOpenChange: Function,
|
|
2985
2994
|
"onUpdate:open": Function,
|
|
2986
2995
|
cryptoFn: Function,
|
|
2987
|
-
...oe(
|
|
2988
|
-
},
|
|
2996
|
+
...oe(ni, ["name", "avatar"])
|
|
2997
|
+
}, ai = {
|
|
2989
2998
|
...Tn,
|
|
2990
2999
|
shortsKey: {
|
|
2991
3000
|
type: Object,
|
|
@@ -2993,14 +3002,14 @@ const ei = /* @__PURE__ */ j({
|
|
|
2993
3002
|
disabeld: !1
|
|
2994
3003
|
})
|
|
2995
3004
|
}
|
|
2996
|
-
},
|
|
3005
|
+
}, oi = new x("fadeIn", {
|
|
2997
3006
|
from: {
|
|
2998
3007
|
opacity: 0
|
|
2999
3008
|
},
|
|
3000
3009
|
to: {
|
|
3001
3010
|
opacity: 1
|
|
3002
3011
|
}
|
|
3003
|
-
}),
|
|
3012
|
+
}), ii = (e) => ({
|
|
3004
3013
|
[e.componentCls]: {
|
|
3005
3014
|
"&-user-form": {
|
|
3006
3015
|
[`${e.antCls}-form-item`]: {
|
|
@@ -3030,7 +3039,7 @@ const ei = /* @__PURE__ */ j({
|
|
|
3030
3039
|
"&-enter": {
|
|
3031
3040
|
animationDuration: ".3s",
|
|
3032
3041
|
animationFillMode: "both",
|
|
3033
|
-
animationName:
|
|
3042
|
+
animationName: oi
|
|
3034
3043
|
},
|
|
3035
3044
|
"&-head": {
|
|
3036
3045
|
display: "flex",
|
|
@@ -3103,17 +3112,17 @@ const ei = /* @__PURE__ */ j({
|
|
|
3103
3112
|
}
|
|
3104
3113
|
}
|
|
3105
3114
|
});
|
|
3106
|
-
function
|
|
3107
|
-
const
|
|
3115
|
+
function li(e) {
|
|
3116
|
+
const t = ve({
|
|
3108
3117
|
password: ""
|
|
3109
|
-
}), { validate: a, resetFields: o, validateInfos: i } = va(
|
|
3118
|
+
}), { validate: a, resetFields: o, validateInfos: i } = va(t, ve({
|
|
3110
3119
|
password: [
|
|
3111
3120
|
{
|
|
3112
3121
|
validator: (l, s) => (e && s ? e == null ? void 0 : e(s) : s) ? Promise.resolve() : Promise.reject(e && s ? "密码错误" : "请输入锁屏密码")
|
|
3113
3122
|
}
|
|
3114
3123
|
]
|
|
3115
3124
|
}));
|
|
3116
|
-
return { formState:
|
|
3125
|
+
return { formState: t, validate: a, resetFields: o, validateInfos: i };
|
|
3117
3126
|
}
|
|
3118
3127
|
const Pn = /* @__PURE__ */ j({
|
|
3119
3128
|
props: {
|
|
@@ -3129,7 +3138,7 @@ const Pn = /* @__PURE__ */ j({
|
|
|
3129
3138
|
onSubmit: Function
|
|
3130
3139
|
},
|
|
3131
3140
|
setup(e, {
|
|
3132
|
-
expose:
|
|
3141
|
+
expose: t,
|
|
3133
3142
|
slots: a
|
|
3134
3143
|
}) {
|
|
3135
3144
|
const {
|
|
@@ -3137,7 +3146,7 @@ const Pn = /* @__PURE__ */ j({
|
|
|
3137
3146
|
validate: i,
|
|
3138
3147
|
validateInfos: l,
|
|
3139
3148
|
resetFields: s
|
|
3140
|
-
} =
|
|
3149
|
+
} = li(e.validator), r = (d) => {
|
|
3141
3150
|
Object.assign(o, d);
|
|
3142
3151
|
}, g = (d = "", m) => {
|
|
3143
3152
|
const S = d ? `${e.className}-${d}` : e.className;
|
|
@@ -3150,31 +3159,31 @@ const Pn = /* @__PURE__ */ j({
|
|
|
3150
3159
|
console.log(d);
|
|
3151
3160
|
});
|
|
3152
3161
|
};
|
|
3153
|
-
return
|
|
3162
|
+
return t({
|
|
3154
3163
|
formState: o,
|
|
3155
3164
|
resetFields: s,
|
|
3156
3165
|
merageFormState: r
|
|
3157
3166
|
}), () => {
|
|
3158
3167
|
var d;
|
|
3159
|
-
return
|
|
3168
|
+
return n("div", {
|
|
3160
3169
|
class: g("user-form")
|
|
3161
|
-
}, [
|
|
3170
|
+
}, [n("div", {
|
|
3162
3171
|
class: g("user-info")
|
|
3163
|
-
}, [
|
|
3172
|
+
}, [n(Jt, {
|
|
3164
3173
|
size: e.avatarSize,
|
|
3165
|
-
icon:
|
|
3174
|
+
icon: n(sn, null, null),
|
|
3166
3175
|
src: e.avatar
|
|
3167
|
-
}, null), e.name &&
|
|
3176
|
+
}, null), e.name && n("div", {
|
|
3168
3177
|
class: g("user-name")
|
|
3169
|
-
}, [e.name])]),
|
|
3170
|
-
default: () => [
|
|
3171
|
-
default: () => [
|
|
3178
|
+
}, [e.name])]), n(Nt, null, {
|
|
3179
|
+
default: () => [n(Nt.Item, l.password, {
|
|
3180
|
+
default: () => [n(en.Password, {
|
|
3172
3181
|
value: o.password,
|
|
3173
3182
|
placeholder: "请输入锁屏密码",
|
|
3174
3183
|
onChange: (m) => o.password = m.target.value
|
|
3175
3184
|
}, null)]
|
|
3176
3185
|
})]
|
|
3177
|
-
}),
|
|
3186
|
+
}), n(Ze, {
|
|
3178
3187
|
block: !0,
|
|
3179
3188
|
type: "primary",
|
|
3180
3189
|
onClick: () => h(),
|
|
@@ -3188,7 +3197,7 @@ const Pn = /* @__PURE__ */ j({
|
|
|
3188
3197
|
}
|
|
3189
3198
|
});
|
|
3190
3199
|
Re.locale("zh-cn");
|
|
3191
|
-
function
|
|
3200
|
+
function ri() {
|
|
3192
3201
|
const e = ve({
|
|
3193
3202
|
hh: "",
|
|
3194
3203
|
mm: "",
|
|
@@ -3197,12 +3206,12 @@ function li() {
|
|
|
3197
3206
|
day: "",
|
|
3198
3207
|
a: ""
|
|
3199
3208
|
});
|
|
3200
|
-
function
|
|
3201
|
-
e.hh = Re().format("HH"), e.mm = Re().format("mm"), e.ss = Re().format("ss"), e.a = Re().format("a").toUpperCase(), e.day = Re().format("YYYY-MM-DD"), e.dddd = Re().format("dddd"), requestAnimationFrame(
|
|
3209
|
+
function t() {
|
|
3210
|
+
e.hh = Re().format("HH"), e.mm = Re().format("mm"), e.ss = Re().format("ss"), e.a = Re().format("a").toUpperCase(), e.day = Re().format("YYYY-MM-DD"), e.dddd = Re().format("dddd"), requestAnimationFrame(t);
|
|
3202
3211
|
}
|
|
3203
|
-
return requestAnimationFrame(
|
|
3212
|
+
return requestAnimationFrame(t), e;
|
|
3204
3213
|
}
|
|
3205
|
-
const
|
|
3214
|
+
const si = /* @__PURE__ */ j({
|
|
3206
3215
|
name: "PageLock",
|
|
3207
3216
|
props: {
|
|
3208
3217
|
...kn,
|
|
@@ -3210,18 +3219,18 @@ const ri = /* @__PURE__ */ j({
|
|
|
3210
3219
|
password: String
|
|
3211
3220
|
},
|
|
3212
3221
|
setup(e) {
|
|
3213
|
-
const [
|
|
3222
|
+
const [t, a] = De(!1, {
|
|
3214
3223
|
value: R(() => ae(e.open) ? e.open : !1),
|
|
3215
3224
|
onChange: e.onOpenChange
|
|
3216
|
-
}), [o, i] = pe(!1), l =
|
|
3225
|
+
}), [o, i] = pe(!1), l = ri(), s = (r = "", g) => {
|
|
3217
3226
|
const h = r ? `${e.className}-popup-${r}` : `${e.className}-popup`;
|
|
3218
3227
|
return Q(h, e.hashId, g || "");
|
|
3219
3228
|
};
|
|
3220
|
-
return () =>
|
|
3229
|
+
return () => t.value ? n("div", {
|
|
3221
3230
|
class: s()
|
|
3222
|
-
}, [o.value ?
|
|
3231
|
+
}, [o.value ? n("div", {
|
|
3223
3232
|
class: s("form")
|
|
3224
|
-
}, [
|
|
3233
|
+
}, [n(Pn, {
|
|
3225
3234
|
avatarSize: 70,
|
|
3226
3235
|
submitText: "进入系统",
|
|
3227
3236
|
avatar: e.avatar,
|
|
@@ -3233,7 +3242,7 @@ const ri = /* @__PURE__ */ j({
|
|
|
3233
3242
|
},
|
|
3234
3243
|
onSubmit: () => a(!1)
|
|
3235
3244
|
}, {
|
|
3236
|
-
default: () => [
|
|
3245
|
+
default: () => [n(Ze, {
|
|
3237
3246
|
style: {
|
|
3238
3247
|
marginBlockStart: "16px"
|
|
3239
3248
|
},
|
|
@@ -3243,49 +3252,49 @@ const ri = /* @__PURE__ */ j({
|
|
|
3243
3252
|
}, {
|
|
3244
3253
|
default: () => [W("返回")]
|
|
3245
3254
|
})]
|
|
3246
|
-
}),
|
|
3255
|
+
}), n("div", {
|
|
3247
3256
|
class: s("form-time")
|
|
3248
|
-
}, [
|
|
3257
|
+
}, [n("span", {
|
|
3249
3258
|
style: {
|
|
3250
3259
|
fontSize: "26px"
|
|
3251
3260
|
}
|
|
3252
|
-
}, [`${l.hh}:${l.mm}`, W(" "), l.a]),
|
|
3261
|
+
}, [`${l.hh}:${l.mm}`, W(" "), l.a]), n("span", {
|
|
3253
3262
|
style: {
|
|
3254
3263
|
fontSize: "30px"
|
|
3255
3264
|
}
|
|
3256
|
-
}, [l.day, W(" "), l.dddd])])]) :
|
|
3265
|
+
}, [l.day, W(" "), l.dddd])])]) : n(J, null, [n("div", {
|
|
3257
3266
|
class: s("head")
|
|
3258
|
-
}, [
|
|
3267
|
+
}, [n("span", null, [l.day, W(" "), l.dddd]), n("span", {
|
|
3259
3268
|
class: s("lock-icon"),
|
|
3260
3269
|
onClick: () => i(!0)
|
|
3261
|
-
}, [
|
|
3270
|
+
}, [n(cn, {
|
|
3262
3271
|
style: {
|
|
3263
3272
|
position: "relative",
|
|
3264
3273
|
top: "1px",
|
|
3265
3274
|
marginInlineEnd: "4px"
|
|
3266
3275
|
}
|
|
3267
|
-
}, null), W("点击解锁")])]),
|
|
3276
|
+
}, null), W("点击解锁")])]), n("div", {
|
|
3268
3277
|
class: s("time", s("enter", "fadeIn"))
|
|
3269
|
-
}, [
|
|
3278
|
+
}, [n("div", {
|
|
3270
3279
|
class: s("time-card")
|
|
3271
|
-
}, [l.hh,
|
|
3280
|
+
}, [l.hh, n("span", {
|
|
3272
3281
|
class: s("time-range")
|
|
3273
|
-
}, [l.a])]),
|
|
3282
|
+
}, [l.a])]), n("div", {
|
|
3274
3283
|
class: s("time-card")
|
|
3275
3284
|
}, [l.mm])])])]) : null;
|
|
3276
3285
|
}
|
|
3277
|
-
}),
|
|
3286
|
+
}), ns = /* @__PURE__ */ j({
|
|
3278
3287
|
name: "PageLock",
|
|
3279
|
-
props:
|
|
3288
|
+
props: ai,
|
|
3280
3289
|
emits: ["update:open", "openChange"],
|
|
3281
3290
|
setup(e) {
|
|
3282
|
-
const
|
|
3291
|
+
const t = ie({
|
|
3283
3292
|
suffixCls: "page-lock",
|
|
3284
3293
|
isPor: !0
|
|
3285
3294
|
}), a = le(), {
|
|
3286
3295
|
wrapSSR: o,
|
|
3287
3296
|
hashId: i
|
|
3288
|
-
} = fe("ProPageLock", [
|
|
3297
|
+
} = fe("ProPageLock", [ii], t), l = at(t, {
|
|
3289
3298
|
open: !1,
|
|
3290
3299
|
password: ""
|
|
3291
3300
|
}), [s, r, g] = De(!1, {
|
|
@@ -3320,14 +3329,14 @@ const ri = /* @__PURE__ */ j({
|
|
|
3320
3329
|
var f;
|
|
3321
3330
|
r(!1), y(""), (f = m.value) == null || f.resetFields();
|
|
3322
3331
|
};
|
|
3323
|
-
return () => o(
|
|
3332
|
+
return () => o(n(J, null, [n(si, te(oe(e, ["name", "avatar"]), {
|
|
3324
3333
|
open: h.value,
|
|
3325
3334
|
hashId: i.value,
|
|
3326
|
-
className:
|
|
3335
|
+
className: t,
|
|
3327
3336
|
password: l.value.password,
|
|
3328
3337
|
cryptoFn: S,
|
|
3329
3338
|
onOpenChange: d
|
|
3330
|
-
}), null),
|
|
3339
|
+
}), null), n(Ya, {
|
|
3331
3340
|
width: 400,
|
|
3332
3341
|
type: "normal",
|
|
3333
3342
|
title: "锁定屏幕",
|
|
@@ -3335,18 +3344,18 @@ const ri = /* @__PURE__ */ j({
|
|
|
3335
3344
|
footer: !1,
|
|
3336
3345
|
onCancel: v
|
|
3337
3346
|
}, {
|
|
3338
|
-
default: () => [
|
|
3347
|
+
default: () => [n(Pn, te({
|
|
3339
3348
|
ref: m
|
|
3340
3349
|
}, oe(e, ["name", "avatar"]), {
|
|
3341
3350
|
submitText: "锁定",
|
|
3342
3351
|
hashId: i.value,
|
|
3343
|
-
className:
|
|
3352
|
+
className: t,
|
|
3344
3353
|
onSubmit: c
|
|
3345
3354
|
}), null)]
|
|
3346
3355
|
})]));
|
|
3347
3356
|
}
|
|
3348
|
-
}),
|
|
3349
|
-
const { dark:
|
|
3357
|
+
}), ci = (e) => {
|
|
3358
|
+
const { dark: t } = Ce(e);
|
|
3350
3359
|
return {
|
|
3351
3360
|
[e.componentCls]: {
|
|
3352
3361
|
display: "flex",
|
|
@@ -3360,7 +3369,7 @@ const ri = /* @__PURE__ */ j({
|
|
|
3360
3369
|
paddingBlock: e.paddingXXS / 2,
|
|
3361
3370
|
paddingInline: e.paddingXS,
|
|
3362
3371
|
borderRadius: e.borderRadiusLG * 2,
|
|
3363
|
-
backgroundColor:
|
|
3372
|
+
backgroundColor: t ? ke("#fff", 0.12) : e.colorBgLayout,
|
|
3364
3373
|
transition: `all ${e.motionDurationMid} ${e.motionEaseInOut}`,
|
|
3365
3374
|
">.anticon.anticon-search": {
|
|
3366
3375
|
fontSize: e.fontSizeLG,
|
|
@@ -3436,31 +3445,31 @@ const ri = /* @__PURE__ */ j({
|
|
|
3436
3445
|
}
|
|
3437
3446
|
};
|
|
3438
3447
|
};
|
|
3439
|
-
function
|
|
3440
|
-
return Pe("SearchPageInput", (
|
|
3441
|
-
const a = je(
|
|
3442
|
-
return [
|
|
3448
|
+
function ui(e) {
|
|
3449
|
+
return Pe("SearchPageInput", (t) => {
|
|
3450
|
+
const a = je(t, {});
|
|
3451
|
+
return [ci(a)];
|
|
3443
3452
|
}, e);
|
|
3444
3453
|
}
|
|
3445
|
-
function
|
|
3454
|
+
function di(e, t) {
|
|
3446
3455
|
const a = /* @__PURE__ */ new Map();
|
|
3447
3456
|
return e.filter((o) => {
|
|
3448
|
-
const i = o[
|
|
3457
|
+
const i = o[t];
|
|
3449
3458
|
return a.has(i) ? !1 : (a.set(i, o), !0);
|
|
3450
3459
|
});
|
|
3451
3460
|
}
|
|
3452
|
-
function
|
|
3461
|
+
function mi(e) {
|
|
3453
3462
|
return e ? /^https?:\/\/.*$/.test(e) : !1;
|
|
3454
3463
|
}
|
|
3455
|
-
const
|
|
3464
|
+
const fi = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\", "]", "^", "{", "|", "}"]), hi = ({
|
|
3456
3465
|
className: e,
|
|
3457
|
-
value:
|
|
3458
|
-
}) =>
|
|
3466
|
+
value: t
|
|
3467
|
+
}) => t ? n(zt, {
|
|
3459
3468
|
image: zt.PRESENTED_IMAGE_SIMPLE,
|
|
3460
|
-
description: `未找到搜索结果 "${
|
|
3461
|
-
}, null) :
|
|
3469
|
+
description: `未找到搜索结果 "${t}"`
|
|
3470
|
+
}, null) : n("div", {
|
|
3462
3471
|
class: e
|
|
3463
|
-
}, [W("没有搜索历史")]),
|
|
3472
|
+
}, [W("没有搜索历史")]), gi = /* @__PURE__ */ j({
|
|
3464
3473
|
props: {
|
|
3465
3474
|
...Pt,
|
|
3466
3475
|
className: String,
|
|
@@ -3469,7 +3478,7 @@ const mi = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
|
|
|
3469
3478
|
onClose: Function
|
|
3470
3479
|
},
|
|
3471
3480
|
setup(e) {
|
|
3472
|
-
const
|
|
3481
|
+
const t = Ge(), a = at(e.historyKey || ie({
|
|
3473
3482
|
suffixCls: "layout-search-history",
|
|
3474
3483
|
isPor: !0
|
|
3475
3484
|
}), []), o = me(0), i = me([]), l = na(s, 200);
|
|
@@ -3519,13 +3528,13 @@ const mi = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
|
|
|
3519
3528
|
if (c.length === 0 || v < 0)
|
|
3520
3529
|
return;
|
|
3521
3530
|
const f = c[v];
|
|
3522
|
-
f && (a.value.push(f), r(), await xt(),
|
|
3531
|
+
f && (a.value.push(f), r(), await xt(), mi(f.path) ? window.open(f.path, "_blank") : t.push({
|
|
3523
3532
|
path: f.path,
|
|
3524
3533
|
replace: !0
|
|
3525
3534
|
}));
|
|
3526
3535
|
}
|
|
3527
3536
|
function d(c) {
|
|
3528
|
-
return
|
|
3537
|
+
return fi.has(c) ? `\\${c}` : c;
|
|
3529
3538
|
}
|
|
3530
3539
|
function m(c) {
|
|
3531
3540
|
const v = [...c].map((f) => d(f)).join(".*");
|
|
@@ -3547,46 +3556,46 @@ const mi = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
|
|
|
3547
3556
|
c.stopPropagation(), e.keyword ? i.value.splice(v, 1) : a.value.splice(v, 1), o.value = o.value - 1 >= 0 ? o.value - 1 : 0, g();
|
|
3548
3557
|
}
|
|
3549
3558
|
const b = (c) => Q(`${e.className}${c ? `-${c}` : ""}`, e.hashId);
|
|
3550
|
-
return () =>
|
|
3559
|
+
return () => n(J, null, [i.value.length > 0 ? n(J, null, [a.value.length > 0 && !e.keyword && n("div", {
|
|
3551
3560
|
class: b("panel-title")
|
|
3552
|
-
}, [W("搜索历史")]),
|
|
3561
|
+
}, [W("搜索历史")]), n("div", {
|
|
3553
3562
|
class: b("panel-list")
|
|
3554
|
-
}, [
|
|
3563
|
+
}, [di(i.value, "path").map((c, v) => {
|
|
3555
3564
|
var f, w, z, $;
|
|
3556
|
-
return
|
|
3565
|
+
return n("div", {
|
|
3557
3566
|
key: c.name,
|
|
3558
3567
|
class: b(Q("panel-item", v === o.value && "active")),
|
|
3559
3568
|
"data-search-item": v,
|
|
3560
3569
|
onClick: () => h(),
|
|
3561
3570
|
onMouseenter: () => u(v)
|
|
3562
|
-
}, [
|
|
3571
|
+
}, [n("div", {
|
|
3563
3572
|
class: b("panel-item-left")
|
|
3564
|
-
}, [
|
|
3565
|
-
icon: ((f = c.meta) == null ? void 0 : f.icon) ||
|
|
3573
|
+
}, [n(et, te(c.meta || {}, {
|
|
3574
|
+
icon: ((f = c.meta) == null ? void 0 : f.icon) || n(Da, null, null),
|
|
3566
3575
|
classNames: b("panel-icon")
|
|
3567
3576
|
}), null), ($ = (z = (w = c.meta) == null ? void 0 : w.title) == null ? void 0 : z.split("**")) == null ? void 0 : $.map((I, B) => {
|
|
3568
3577
|
var k, O, T;
|
|
3569
|
-
return
|
|
3570
|
-
}),
|
|
3578
|
+
return n(J, null, [I, B < ((T = (O = (k = c.meta) == null ? void 0 : k.title) == null ? void 0 : O.split("**")) == null ? void 0 : T.length) - 1 && n(Aa, null, null)]);
|
|
3579
|
+
}), n("span", null, null)]), n(lt, {
|
|
3571
3580
|
onClick: (I) => C(I, v)
|
|
3572
3581
|
}, null)]);
|
|
3573
|
-
})])]) :
|
|
3582
|
+
})])]) : n(hi, {
|
|
3574
3583
|
className: b("result"),
|
|
3575
3584
|
value: e.keyword
|
|
3576
3585
|
}, null)]);
|
|
3577
3586
|
}
|
|
3578
|
-
}),
|
|
3587
|
+
}), yi = ({
|
|
3579
3588
|
className: e,
|
|
3580
|
-
hashId:
|
|
3581
|
-
}) =>
|
|
3582
|
-
class: Q(`${e}-footer`,
|
|
3583
|
-
}, [
|
|
3584
|
-
class: Q(`${e}-footer-icon`,
|
|
3585
|
-
}, [
|
|
3586
|
-
class: Q(`${e}-footer-icon`,
|
|
3587
|
-
}, [
|
|
3589
|
+
hashId: t
|
|
3590
|
+
}) => n("div", {
|
|
3591
|
+
class: Q(`${e}-footer`, t)
|
|
3592
|
+
}, [n("div", {
|
|
3593
|
+
class: Q(`${e}-footer-icon`, t)
|
|
3594
|
+
}, [n(Ha, null, null), W("选择")]), n("div", {
|
|
3595
|
+
class: Q(`${e}-footer-icon`, t)
|
|
3596
|
+
}, [n(Ht, null, null), n(Ht, {
|
|
3588
3597
|
rotate: 180
|
|
3589
|
-
}, null), W("导航")])]),
|
|
3598
|
+
}, null), W("导航")])]), bi = /* @__PURE__ */ j({
|
|
3590
3599
|
name: "SearchPageInput",
|
|
3591
3600
|
props: {
|
|
3592
3601
|
...Pt,
|
|
@@ -3600,13 +3609,13 @@ const mi = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
|
|
|
3600
3609
|
}
|
|
3601
3610
|
},
|
|
3602
3611
|
setup(e) {
|
|
3603
|
-
const
|
|
3612
|
+
const t = ie({
|
|
3604
3613
|
suffixCls: "page-search",
|
|
3605
3614
|
isPor: !0
|
|
3606
3615
|
}), {
|
|
3607
3616
|
wrapSSR: a,
|
|
3608
3617
|
hashId: o
|
|
3609
|
-
} =
|
|
3618
|
+
} = ui(t), [i, l] = pe(""), [s, r] = pe(!1), g = le(), h = nn(), d = ma() ? h["ctrl+k"] : h["cmd+k"], m = me(), S = R(() => {
|
|
3610
3619
|
var u;
|
|
3611
3620
|
return Bt(e.dataSource || ((u = g == null ? void 0 : g.menuData) == null ? void 0 : u.value));
|
|
3612
3621
|
});
|
|
@@ -3623,17 +3632,17 @@ const mi = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
|
|
|
3623
3632
|
};
|
|
3624
3633
|
return () => {
|
|
3625
3634
|
const u = {
|
|
3626
|
-
className: `${
|
|
3635
|
+
className: `${t}`,
|
|
3627
3636
|
hashId: o.value
|
|
3628
|
-
}, C = `${
|
|
3629
|
-
return a(
|
|
3630
|
-
class: Q(
|
|
3637
|
+
}, C = `${t}-modal`;
|
|
3638
|
+
return a(n(J, null, [n("div", {
|
|
3639
|
+
class: Q(t, o.value),
|
|
3631
3640
|
onClick: () => r(!0)
|
|
3632
|
-
}, [
|
|
3633
|
-
class: Q(`${
|
|
3634
|
-
}, [W("搜索")]),
|
|
3635
|
-
class: Q(`${
|
|
3636
|
-
}, [W("⌘ "),
|
|
3641
|
+
}, [n(At, null, null), n("span", {
|
|
3642
|
+
class: Q(`${t}-word`, o.value)
|
|
3643
|
+
}, [W("搜索")]), n("span", {
|
|
3644
|
+
class: Q(`${t}-word-icon`, o.value)
|
|
3645
|
+
}, [W("⌘ "), n("kbd", null, [W("K")])])]), n(Ga, {
|
|
3637
3646
|
class: Q(`${C}`, o.value),
|
|
3638
3647
|
width: 600,
|
|
3639
3648
|
scrollProps: {
|
|
@@ -3641,7 +3650,7 @@ const mi = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
|
|
|
3641
3650
|
minHeight: 200
|
|
3642
3651
|
},
|
|
3643
3652
|
centered: !1,
|
|
3644
|
-
title:
|
|
3653
|
+
title: n(en, {
|
|
3645
3654
|
style: {
|
|
3646
3655
|
width: `${600 * 0.8}px`,
|
|
3647
3656
|
padding: 0
|
|
@@ -3651,17 +3660,17 @@ const mi = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
|
|
|
3651
3660
|
size: "large",
|
|
3652
3661
|
placeholder: "搜索导航菜单",
|
|
3653
3662
|
value: i.value,
|
|
3654
|
-
prefix:
|
|
3663
|
+
prefix: n(At, null, null),
|
|
3655
3664
|
onChange: (b) => l(b.target.value)
|
|
3656
3665
|
}, null),
|
|
3657
3666
|
open: s.value,
|
|
3658
|
-
footer:
|
|
3667
|
+
footer: n(yi, {
|
|
3659
3668
|
className: C,
|
|
3660
3669
|
hashId: o.value
|
|
3661
3670
|
}, null),
|
|
3662
3671
|
onCancel: () => y()
|
|
3663
3672
|
}, {
|
|
3664
|
-
default: () => [
|
|
3673
|
+
default: () => [n(gi, te(u, {
|
|
3665
3674
|
keyword: i.value,
|
|
3666
3675
|
dataSource: S.value,
|
|
3667
3676
|
onClose: () => y()
|
|
@@ -3669,8 +3678,8 @@ const mi = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
|
|
|
3669
3678
|
})]));
|
|
3670
3679
|
};
|
|
3671
3680
|
}
|
|
3672
|
-
}),
|
|
3673
|
-
const { dark:
|
|
3681
|
+
}), vi = (e) => {
|
|
3682
|
+
const { dark: t } = Ce(e), a = ot(e, "header");
|
|
3674
3683
|
return {
|
|
3675
3684
|
[`${e.componentCls}`]: {
|
|
3676
3685
|
"&-header-actions": {
|
|
@@ -3685,12 +3694,12 @@ const mi = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
|
|
|
3685
3694
|
justifyContent: "center",
|
|
3686
3695
|
paddingBlock: 0,
|
|
3687
3696
|
paddingInline: 2,
|
|
3688
|
-
color:
|
|
3697
|
+
color: t || a ? e.colorWhite : e.colorTextTertiary,
|
|
3689
3698
|
fontSize: "16px",
|
|
3690
3699
|
cursor: "pointer",
|
|
3691
3700
|
borderRadius: e.borderRadius,
|
|
3692
3701
|
".iconfont,.anticon,.gx-icon": {
|
|
3693
|
-
color:
|
|
3702
|
+
color: t || a ? e.colorWhite : e.colorTextTertiary
|
|
3694
3703
|
},
|
|
3695
3704
|
[`${e.componentCls}-header-actions-icon`]: {
|
|
3696
3705
|
display: "flex",
|
|
@@ -3728,26 +3737,26 @@ const mi = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
|
|
|
3728
3737
|
cursor: "pointer",
|
|
3729
3738
|
color: e.colorTextTertiary,
|
|
3730
3739
|
"> div": {
|
|
3731
|
-
color:
|
|
3740
|
+
color: t || a ? e.colorWhite : e.colorTextTertiary
|
|
3732
3741
|
}
|
|
3733
3742
|
}
|
|
3734
3743
|
}
|
|
3735
3744
|
}
|
|
3736
3745
|
};
|
|
3737
3746
|
};
|
|
3738
|
-
function
|
|
3739
|
-
return Pe("RightContent", (
|
|
3740
|
-
const a = je(
|
|
3741
|
-
return [
|
|
3747
|
+
function pi(e) {
|
|
3748
|
+
return Pe("RightContent", (t) => {
|
|
3749
|
+
const a = je(t);
|
|
3750
|
+
return [vi(a)];
|
|
3742
3751
|
}, e);
|
|
3743
3752
|
}
|
|
3744
|
-
const
|
|
3753
|
+
const as = /* @__PURE__ */ j({
|
|
3745
3754
|
name: "GlobalRightContent",
|
|
3746
3755
|
props: Fn(),
|
|
3747
3756
|
inheritAttrs: !1,
|
|
3748
3757
|
emits: ["logout", "darkChange", "settingsOpenChange", "update:dark", "update:settingsOpen", "lockOpenChange"],
|
|
3749
3758
|
setup(e, {
|
|
3750
|
-
slots:
|
|
3759
|
+
slots: t
|
|
3751
3760
|
}) {
|
|
3752
3761
|
const {
|
|
3753
3762
|
isFullscreen: a,
|
|
@@ -3758,7 +3767,7 @@ const ns = /* @__PURE__ */ j({
|
|
|
3758
3767
|
}), [g, h] = pe(!1), {
|
|
3759
3768
|
wrapSSR: d,
|
|
3760
3769
|
hashId: m
|
|
3761
|
-
} =
|
|
3770
|
+
} = pi(r), [S, y] = pe("auto"), {
|
|
3762
3771
|
isDark: u,
|
|
3763
3772
|
toggleMode: C
|
|
3764
3773
|
} = Tt(R(() => {
|
|
@@ -3796,18 +3805,18 @@ const ns = /* @__PURE__ */ j({
|
|
|
3796
3805
|
e != null && e.onLogout && (h(!0), e.onLogout(() => h(!1)));
|
|
3797
3806
|
};
|
|
3798
3807
|
return () => {
|
|
3799
|
-
const I = Me(
|
|
3800
|
-
return d(
|
|
3808
|
+
const I = Me(t, e, "dropdownMenuRender"), B = Me(t, e, "dropdownRender"), k = Me(t, e, "dropdownMenuExtraItemRender"), O = re(t, e, "actionsRender"), T = a.value ? ja : Ea;
|
|
3809
|
+
return d(n("div", {
|
|
3801
3810
|
class: `${r}-right-content ${m.value}`.trim(),
|
|
3802
3811
|
style: {
|
|
3803
3812
|
minWidth: S.value,
|
|
3804
3813
|
height: "100%"
|
|
3805
3814
|
}
|
|
3806
|
-
}, [
|
|
3815
|
+
}, [n("div", {
|
|
3807
3816
|
style: {
|
|
3808
3817
|
height: "100%"
|
|
3809
3818
|
}
|
|
3810
|
-
}, [
|
|
3819
|
+
}, [n(qa, {
|
|
3811
3820
|
key: "resize-observer",
|
|
3812
3821
|
onResize: ({
|
|
3813
3822
|
width: U
|
|
@@ -3817,39 +3826,39 @@ const ns = /* @__PURE__ */ j({
|
|
|
3817
3826
|
}, {
|
|
3818
3827
|
default: () => {
|
|
3819
3828
|
var U;
|
|
3820
|
-
return [
|
|
3829
|
+
return [n("div", {
|
|
3821
3830
|
class: `${r}-header-actions ${m.value}`.trim()
|
|
3822
|
-
}, [e.actions.search && !v.value &&
|
|
3831
|
+
}, [e.actions.search && !v.value && n(bi, {
|
|
3823
3832
|
dataSource: e.dataSource,
|
|
3824
3833
|
disabeldShortKey: (U = e.shortsKey) == null ? void 0 : U.disabeld
|
|
3825
|
-
}, null), e.actions.theme &&
|
|
3834
|
+
}, null), e.actions.theme && n("div", {
|
|
3826
3835
|
class: `${r}-header-actions-item ${m.value}`.trim()
|
|
3827
|
-
}, [
|
|
3836
|
+
}, [n(_e, {
|
|
3828
3837
|
class: `${r}-header-actions-icon ${m.value}`.trim(),
|
|
3829
3838
|
name: f.value ? "liangse" : "anhei",
|
|
3830
3839
|
onClick: (_) => z(_)
|
|
3831
|
-
}, null)]), e.actions.settings && !v.value &&
|
|
3840
|
+
}, null)]), e.actions.settings && !v.value && n("div", {
|
|
3832
3841
|
class: `${r}-header-actions-item ${m.value}`.trim()
|
|
3833
|
-
}, [
|
|
3842
|
+
}, [n(un, {
|
|
3834
3843
|
onClick: () => c(!b.value)
|
|
3835
|
-
}, null)]), e.actions.fullScreen && !v.value &&
|
|
3844
|
+
}, null)]), e.actions.fullScreen && !v.value && n("div", {
|
|
3836
3845
|
class: `${r}-header-actions-item ${m.value}`.trim()
|
|
3837
|
-
}, [
|
|
3846
|
+
}, [n(T, {
|
|
3838
3847
|
onClick: () => o()
|
|
3839
|
-
}, null)]), O ? O == null ? void 0 : O([`${r}-header-actions-item`, m.value]) : null,
|
|
3840
|
-
overlay: I ||
|
|
3841
|
-
default: () => [k, e.actions.lock &&
|
|
3848
|
+
}, null)]), O ? O == null ? void 0 : O([`${r}-header-actions-item`, m.value]) : null, n(ht, {
|
|
3849
|
+
overlay: I || n(ge, null, {
|
|
3850
|
+
default: () => [k, e.actions.lock && n(J, null, [n(Dt, {
|
|
3842
3851
|
key: "lock",
|
|
3843
|
-
icon:
|
|
3852
|
+
icon: n(cn, null, null),
|
|
3844
3853
|
onClick: () => {
|
|
3845
3854
|
var _;
|
|
3846
3855
|
(_ = e.onLockOpenChange) == null || _.call(e, !0), l && (l.lockOpen.value = !0);
|
|
3847
3856
|
}
|
|
3848
3857
|
}, {
|
|
3849
3858
|
default: () => [W("锁定屏幕")]
|
|
3850
|
-
}),
|
|
3859
|
+
}), n(ge.Divider, null, null)]), n(Dt, {
|
|
3851
3860
|
key: "logout",
|
|
3852
|
-
icon:
|
|
3861
|
+
icon: n(Ka, null, null),
|
|
3853
3862
|
onClick: () => $(),
|
|
3854
3863
|
disabled: g.value
|
|
3855
3864
|
}, {
|
|
@@ -3857,13 +3866,13 @@ const ns = /* @__PURE__ */ j({
|
|
|
3857
3866
|
})]
|
|
3858
3867
|
})
|
|
3859
3868
|
}, {
|
|
3860
|
-
default: () => [B ||
|
|
3869
|
+
default: () => [B || n("div", {
|
|
3861
3870
|
class: `${r}-header-actions-avatar ${m.value}`.trim()
|
|
3862
|
-
}, [
|
|
3871
|
+
}, [n(Jt, {
|
|
3863
3872
|
size: 28,
|
|
3864
|
-
icon:
|
|
3873
|
+
icon: n(sn, null, null),
|
|
3865
3874
|
src: e.avatar
|
|
3866
|
-
}, null),
|
|
3875
|
+
}, null), n("div", {
|
|
3867
3876
|
class: `${r}-header-actions-name ${m.value}`.trim()
|
|
3868
3877
|
}, [e.name || "gx12358"])])]
|
|
3869
3878
|
})])];
|
|
@@ -3871,7 +3880,7 @@ const ns = /* @__PURE__ */ j({
|
|
|
3871
3880
|
})])]));
|
|
3872
3881
|
};
|
|
3873
3882
|
}
|
|
3874
|
-
}),
|
|
3883
|
+
}), Ci = (e) => ({
|
|
3875
3884
|
[e.componentCls]: {
|
|
3876
3885
|
background: e.colorBgContainer,
|
|
3877
3886
|
padding: `${e.paddingLG}px`,
|
|
@@ -3882,22 +3891,22 @@ const ns = /* @__PURE__ */ j({
|
|
|
3882
3891
|
marginTop: "8px"
|
|
3883
3892
|
}
|
|
3884
3893
|
}
|
|
3885
|
-
}),
|
|
3894
|
+
}), xi = /* @__PURE__ */ j({
|
|
3886
3895
|
name: "ProPageHeader",
|
|
3887
3896
|
props: {
|
|
3888
3897
|
content: Je.contentRender,
|
|
3889
3898
|
breadcrumb: Je.breadcrumbRender
|
|
3890
3899
|
},
|
|
3891
3900
|
setup(e) {
|
|
3892
|
-
const
|
|
3901
|
+
const t = le(), o = ((t == null ? void 0 : t.getPrefixCls) || ie)({
|
|
3893
3902
|
isPor: !0,
|
|
3894
3903
|
suffixCls: "page-header"
|
|
3895
3904
|
}), {
|
|
3896
3905
|
wrapSSR: i,
|
|
3897
3906
|
hashId: l
|
|
3898
|
-
} = fe("ProPageHeader", [
|
|
3907
|
+
} = fe("ProPageHeader", [Ci], o), s = R(() => {
|
|
3899
3908
|
var d;
|
|
3900
|
-
const r = ((d =
|
|
3909
|
+
const r = ((d = t == null ? void 0 : t.breadcrumb) == null ? void 0 : d.value) || {}, g = r.routes || [], h = g.map((m, S) => ({
|
|
3901
3910
|
...m,
|
|
3902
3911
|
path: m.path && S !== g.length - 1 ? bt().uuid(10) : "",
|
|
3903
3912
|
link: m.path
|
|
@@ -3907,7 +3916,7 @@ const ns = /* @__PURE__ */ j({
|
|
|
3907
3916
|
routes: h,
|
|
3908
3917
|
itemRender: (r == null ? void 0 : r.itemRender) || (({
|
|
3909
3918
|
route: m
|
|
3910
|
-
}) => m.path ?
|
|
3919
|
+
}) => m.path ? n(Va, {
|
|
3911
3920
|
to: m.link
|
|
3912
3921
|
}, {
|
|
3913
3922
|
default: () => [m.breadcrumbName]
|
|
@@ -3916,22 +3925,22 @@ const ns = /* @__PURE__ */ j({
|
|
|
3916
3925
|
});
|
|
3917
3926
|
return () => {
|
|
3918
3927
|
var r;
|
|
3919
|
-
return i(
|
|
3928
|
+
return i(n("div", {
|
|
3920
3929
|
class: [`${o}`, l.value, `${o}-has-breadcrumb`]
|
|
3921
|
-
}, [e.breadcrumb ? (r = e.breadcrumb) == null ? void 0 : r.call(e, s.value) :
|
|
3930
|
+
}, [e.breadcrumb ? (r = e.breadcrumb) == null ? void 0 : r.call(e, s.value) : n(Gn, s.value, null), Fe(e.content) && n("div", {
|
|
3922
3931
|
class: [`${o}-content`, l.value]
|
|
3923
3932
|
}, [e.content])]));
|
|
3924
3933
|
};
|
|
3925
3934
|
}
|
|
3926
|
-
}),
|
|
3935
|
+
}), Si = (e) => {
|
|
3927
3936
|
var o;
|
|
3928
|
-
const
|
|
3937
|
+
const t = (o = e.layout) == null ? void 0 : o.pageContainer, { layout: a } = Ce(e);
|
|
3929
3938
|
return {
|
|
3930
3939
|
[`${e.proComponentsCls}-basic-layout`]: {
|
|
3931
3940
|
[e.componentCls]: {
|
|
3932
3941
|
position: "relative",
|
|
3933
|
-
marginInline: a === "wide" ? 0 : -((
|
|
3934
|
-
marginBlockStart: a === "wide" ? 0 : -((
|
|
3942
|
+
marginInline: a === "wide" ? 0 : -((t == null ? void 0 : t.paddingBlockPageContainerContent) || 24),
|
|
3943
|
+
marginBlockStart: a === "wide" ? 0 : -((t == null ? void 0 : t.paddingBlockPageContainerContent) || 24)
|
|
3935
3944
|
},
|
|
3936
3945
|
[e.gridContent]: {
|
|
3937
3946
|
width: "100%"
|
|
@@ -3954,8 +3963,8 @@ const ns = /* @__PURE__ */ j({
|
|
|
3954
3963
|
}
|
|
3955
3964
|
},
|
|
3956
3965
|
"&-children-content": {
|
|
3957
|
-
marginInline: a === "wide" ? 0 : (
|
|
3958
|
-
marginBlockStart: a === "wide" ? 0 : (
|
|
3966
|
+
marginInline: a === "wide" ? 0 : (t == null ? void 0 : t.marginInlinePageContainerContent) || 24,
|
|
3967
|
+
marginBlockStart: a === "wide" ? 0 : (t == null ? void 0 : t.marginBlockPageContainerContent) || 24,
|
|
3959
3968
|
padding: "inherit",
|
|
3960
3969
|
[`&${e.componentCls}-children-content-width`]: {
|
|
3961
3970
|
marginInline: "auto"
|
|
@@ -3964,24 +3973,24 @@ const ns = /* @__PURE__ */ j({
|
|
|
3964
3973
|
}
|
|
3965
3974
|
};
|
|
3966
3975
|
};
|
|
3967
|
-
function
|
|
3968
|
-
return Pe("ProPageContainter", (
|
|
3969
|
-
const a = je(
|
|
3970
|
-
gridContent: `${
|
|
3976
|
+
function Ii(e) {
|
|
3977
|
+
return Pe("ProPageContainter", (t) => {
|
|
3978
|
+
const a = je(t, {
|
|
3979
|
+
gridContent: `${t.proComponentsCls}-grid-content`
|
|
3971
3980
|
});
|
|
3972
|
-
return [
|
|
3981
|
+
return [Si(a)];
|
|
3973
3982
|
}, e);
|
|
3974
3983
|
}
|
|
3975
|
-
function
|
|
3984
|
+
function wi(e) {
|
|
3976
3985
|
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Le(e);
|
|
3977
3986
|
}
|
|
3978
|
-
const
|
|
3987
|
+
const os = /* @__PURE__ */ j({
|
|
3979
3988
|
inheritAttrs: !1,
|
|
3980
3989
|
name: "GProPageContainer",
|
|
3981
3990
|
props: Je,
|
|
3982
3991
|
slots: Object,
|
|
3983
3992
|
setup(e, {
|
|
3984
|
-
slots:
|
|
3993
|
+
slots: t,
|
|
3985
3994
|
attrs: a
|
|
3986
3995
|
}) {
|
|
3987
3996
|
const o = le(), i = Mt(), l = Oe(), s = (o == null ? void 0 : o.getPrefixCls) || ie, r = s({
|
|
@@ -4017,16 +4026,16 @@ const as = /* @__PURE__ */ j({
|
|
|
4017
4026
|
}), c = R(() => Ae(Ue(e.contentWidth) && e.contentWidth ? e.contentWidth : o == null ? void 0 : o.contentWidth.value)), {
|
|
4018
4027
|
wrapSSR: v,
|
|
4019
4028
|
hashId: f
|
|
4020
|
-
} =
|
|
4029
|
+
} = Ii(r), w = () => {
|
|
4021
4030
|
var B, k, O, T;
|
|
4022
|
-
const $ = Me(
|
|
4023
|
-
return
|
|
4031
|
+
const $ = Me(t, e, "pageChildrenExtraRender"), I = Q(`${r}-children-content`, f.value, c.value && `${r}-children-content-width`);
|
|
4032
|
+
return n("div", {
|
|
4024
4033
|
class: I,
|
|
4025
4034
|
style: {
|
|
4026
4035
|
...y.value,
|
|
4027
4036
|
width: c.value
|
|
4028
4037
|
}
|
|
4029
|
-
}, [$, C.value ?
|
|
4038
|
+
}, [$, C.value ? n(Yn, te(d.value ? oe(d.value, ["loading", "bodyStyle"]) : {}, {
|
|
4030
4039
|
style: u.value ? {
|
|
4031
4040
|
minHeight: "853px"
|
|
4032
4041
|
} : void 0,
|
|
@@ -4034,54 +4043,54 @@ const as = /* @__PURE__ */ j({
|
|
|
4034
4043
|
}), {
|
|
4035
4044
|
default: () => {
|
|
4036
4045
|
var U;
|
|
4037
|
-
return [(U =
|
|
4046
|
+
return [(U = t.default) == null ? void 0 : U.call(t)];
|
|
4038
4047
|
}
|
|
4039
|
-
}) : Fe($) ?
|
|
4048
|
+
}) : Fe($) ? n("div", {
|
|
4040
4049
|
style: (B = b.value) != null && B.marginBlockPageContainerContent ? {
|
|
4041
4050
|
marginBlockStart: `${(k = b.value) == null ? void 0 : k.marginBlockPageContainerContent}px`
|
|
4042
4051
|
} : void 0
|
|
4043
|
-
}, [(O =
|
|
4052
|
+
}, [(O = t.default) == null ? void 0 : O.call(t)]) : (T = t.default) == null ? void 0 : T.call(t)]);
|
|
4044
4053
|
}, z = () => {
|
|
4045
4054
|
var I;
|
|
4046
4055
|
let $;
|
|
4047
|
-
return
|
|
4056
|
+
return n(J, null, [(ae(e.waterMark) ? e.waterMark : (I = o == null ? void 0 : o.waterMark) != null && I.value) ? n(Qa, m.value, wi($ = w()) ? $ : {
|
|
4048
4057
|
default: () => [$]
|
|
4049
4058
|
}) : w()]);
|
|
4050
4059
|
};
|
|
4051
4060
|
return () => {
|
|
4052
4061
|
var k, O;
|
|
4053
|
-
const $ = Me(
|
|
4054
|
-
return v(
|
|
4062
|
+
const $ = Me(t, e, "pageHeaderRender") || ((k = o == null ? void 0 : o.pageHeaderRender) == null ? void 0 : k.value), I = re(t, e, "breadcrumbRender"), B = Me(t, e, "contentRender");
|
|
4063
|
+
return v(n("div", {
|
|
4055
4064
|
style: a.style,
|
|
4056
4065
|
class: {
|
|
4057
4066
|
[`${f.value}`]: !0,
|
|
4058
4067
|
[`${r}`]: !0
|
|
4059
4068
|
}
|
|
4060
|
-
}, [e.loading &&
|
|
4069
|
+
}, [e.loading && n("div", {
|
|
4061
4070
|
class: Q(`${r}-blur`, f.value)
|
|
4062
|
-
}, [
|
|
4071
|
+
}, [n(St, {
|
|
4063
4072
|
indicator: (O = i == null ? void 0 : i.indicator) == null ? void 0 : O.value
|
|
4064
|
-
}, null)]), !u.value && $ !== !1 && ($ ||
|
|
4073
|
+
}, null)]), !u.value && $ !== !1 && ($ || n(xi, {
|
|
4065
4074
|
style: e.pageHeaderStyle,
|
|
4066
4075
|
breadcrumb: I,
|
|
4067
4076
|
content: B
|
|
4068
|
-
}, null)),
|
|
4077
|
+
}, null)), n("div", {
|
|
4069
4078
|
class: [g, f.value]
|
|
4070
|
-
}, [
|
|
4079
|
+
}, [n("div", {
|
|
4071
4080
|
class: `${g}-children ${f.value}`,
|
|
4072
4081
|
style: S.value
|
|
4073
4082
|
}, [z()])])]));
|
|
4074
4083
|
};
|
|
4075
4084
|
}
|
|
4076
4085
|
});
|
|
4077
|
-
function
|
|
4078
|
-
const
|
|
4086
|
+
function is(e) {
|
|
4087
|
+
const t = Ge(), a = t.getRoutes(), o = ve({
|
|
4079
4088
|
menuData: [],
|
|
4080
4089
|
levelMenuData: []
|
|
4081
4090
|
}), i = ve({
|
|
4082
4091
|
openKeys: [],
|
|
4083
4092
|
selectedKeys: []
|
|
4084
|
-
}), l = R(() =>
|
|
4093
|
+
}), l = R(() => t.currentRoute.value), s = (h) => {
|
|
4085
4094
|
var m;
|
|
4086
4095
|
const d = No(zo(h));
|
|
4087
4096
|
(m = l.value) != null && m.hidden ? (o.menuData = [], o.levelMenuData = []) : (o.menuData = d.menuData, o.levelMenuData = d.getLevel());
|
|
@@ -4096,7 +4105,7 @@ function os(e) {
|
|
|
4096
4105
|
breadcrumbName: ((y = d.meta) == null ? void 0 : y.title) || ""
|
|
4097
4106
|
};
|
|
4098
4107
|
}).filter((d) => d.breadcrumbName);
|
|
4099
|
-
return
|
|
4108
|
+
return Vo(h, "breadcrumbName");
|
|
4100
4109
|
});
|
|
4101
4110
|
return ne(() => l.value, (h) => {
|
|
4102
4111
|
h && (i.selectedKeys = r.value.map((d) => d.path), i.openKeys = r.value.filter((d) => d.path !== h.path).map((d) => d.path));
|
|
@@ -4107,37 +4116,37 @@ function os(e) {
|
|
|
4107
4116
|
breadcrumbRouters: g
|
|
4108
4117
|
};
|
|
4109
4118
|
}
|
|
4110
|
-
const Ct = Object.keys(Z).filter((e) => e !== "title"),
|
|
4119
|
+
const Ct = Object.keys(Z).filter((e) => e !== "title"), Ri = [{
|
|
4111
4120
|
value: "light",
|
|
4112
|
-
label: () =>
|
|
4121
|
+
label: () => n("div", {
|
|
4113
4122
|
style: {
|
|
4114
4123
|
display: "flex",
|
|
4115
4124
|
alignItems: "center",
|
|
4116
4125
|
gap: "6px"
|
|
4117
4126
|
}
|
|
4118
|
-
}, [
|
|
4127
|
+
}, [n(_e, {
|
|
4119
4128
|
name: "liangse"
|
|
4120
4129
|
}, null), W("亮色")])
|
|
4121
4130
|
}, {
|
|
4122
4131
|
value: "dark",
|
|
4123
|
-
label: () =>
|
|
4132
|
+
label: () => n("div", {
|
|
4124
4133
|
style: {
|
|
4125
4134
|
display: "flex",
|
|
4126
4135
|
alignItems: "center",
|
|
4127
4136
|
gap: "6px"
|
|
4128
4137
|
}
|
|
4129
|
-
}, [
|
|
4138
|
+
}, [n(_e, {
|
|
4130
4139
|
name: "anhei"
|
|
4131
4140
|
}, null), W("深色")])
|
|
4132
4141
|
}, {
|
|
4133
4142
|
value: "system",
|
|
4134
|
-
label: () =>
|
|
4143
|
+
label: () => n("div", {
|
|
4135
4144
|
style: {
|
|
4136
4145
|
display: "flex",
|
|
4137
4146
|
alignItems: "center",
|
|
4138
4147
|
gap: "6px"
|
|
4139
4148
|
}
|
|
4140
|
-
}, [
|
|
4149
|
+
}, [n(Wa, null, null), W("自动")])
|
|
4141
4150
|
}], Nn = [
|
|
4142
4151
|
{
|
|
4143
4152
|
key: "light",
|
|
@@ -4166,13 +4175,13 @@ const Ct = Object.keys(Z).filter((e) => e !== "title"), wi = [{
|
|
|
4166
4175
|
}, {
|
|
4167
4176
|
key: "simple",
|
|
4168
4177
|
title: "简单菜单布局"
|
|
4169
|
-
}],
|
|
4178
|
+
}], $i = [{
|
|
4170
4179
|
key: "header",
|
|
4171
4180
|
title: "顶部主题"
|
|
4172
4181
|
}, {
|
|
4173
4182
|
key: "sider",
|
|
4174
4183
|
title: "左侧主题"
|
|
4175
|
-
}],
|
|
4184
|
+
}], Bi = [{
|
|
4176
4185
|
key: "colorBgMenu",
|
|
4177
4186
|
name: "全部背景"
|
|
4178
4187
|
}, {
|
|
@@ -4193,7 +4202,7 @@ const Ct = Object.keys(Z).filter((e) => e !== "title"), wi = [{
|
|
|
4193
4202
|
}, {
|
|
4194
4203
|
key: "colorTextMenuSelected",
|
|
4195
4204
|
name: "菜单文字选中颜色"
|
|
4196
|
-
}],
|
|
4205
|
+
}], Mi = [{
|
|
4197
4206
|
label: "fixedHeader",
|
|
4198
4207
|
title: "固定 Header"
|
|
4199
4208
|
}, {
|
|
@@ -4202,14 +4211,14 @@ const Ct = Object.keys(Z).filter((e) => e !== "title"), wi = [{
|
|
|
4202
4211
|
}, {
|
|
4203
4212
|
label: "splitMenus",
|
|
4204
4213
|
title: "自动分割菜单"
|
|
4205
|
-
}],
|
|
4214
|
+
}], Li = [{
|
|
4206
4215
|
label: "showTabsBar",
|
|
4207
4216
|
title: "多标签"
|
|
4208
4217
|
}, {
|
|
4209
4218
|
label: "fixedTabsBar",
|
|
4210
4219
|
title: "固定多标签"
|
|
4211
|
-
}],
|
|
4212
|
-
const { dark:
|
|
4220
|
+
}], Oi = (e) => {
|
|
4221
|
+
const { dark: t } = Ce(e);
|
|
4213
4222
|
return {
|
|
4214
4223
|
[e.componentCls]: {
|
|
4215
4224
|
[`${e.antCls}-drawer-content-wrapper`]: {
|
|
@@ -4256,9 +4265,9 @@ const Ct = Object.keys(Z).filter((e) => e !== "title"), wi = [{
|
|
|
4256
4265
|
flex: 1
|
|
4257
4266
|
},
|
|
4258
4267
|
[`${e.antCls}-segmented`]: {
|
|
4259
|
-
backgroundColor:
|
|
4268
|
+
backgroundColor: t ? e.colorBgBase : void 0,
|
|
4260
4269
|
[`${e.antCls}-segmented-item-selected`]: {
|
|
4261
|
-
backgroundColor:
|
|
4270
|
+
backgroundColor: t ? "#1f1f1f" : void 0
|
|
4262
4271
|
}
|
|
4263
4272
|
}
|
|
4264
4273
|
},
|
|
@@ -4404,33 +4413,33 @@ const Ct = Object.keys(Z).filter((e) => e !== "title"), wi = [{
|
|
|
4404
4413
|
},
|
|
4405
4414
|
setup(e) {
|
|
4406
4415
|
return () => {
|
|
4407
|
-
const
|
|
4408
|
-
return
|
|
4409
|
-
class: [
|
|
4410
|
-
}, [e.list.map((a) =>
|
|
4416
|
+
const t = `${e.prefixCls}-block-checkbox`;
|
|
4417
|
+
return n("div", {
|
|
4418
|
+
class: [t, e.hashId]
|
|
4419
|
+
}, [e.list.map((a) => n(nt, {
|
|
4411
4420
|
title: a.title,
|
|
4412
4421
|
key: a.key
|
|
4413
4422
|
}, {
|
|
4414
|
-
default: () => [
|
|
4415
|
-
class: Q(e.hashId, `${
|
|
4423
|
+
default: () => [n("div", {
|
|
4424
|
+
class: Q(e.hashId, `${t}-item`, `${t}-item-${a.key}`, `${t}-${e.configType}-item`),
|
|
4416
4425
|
onClick: (o) => {
|
|
4417
4426
|
var i;
|
|
4418
4427
|
return (i = e.onChange) == null ? void 0 : i.call(e, a.key, o);
|
|
4419
4428
|
}
|
|
4420
|
-
}, [a.key === "wide" &&
|
|
4421
|
-
class: [`${
|
|
4422
|
-
}, null),
|
|
4423
|
-
class: `${
|
|
4429
|
+
}, [a.key === "wide" && n("div", {
|
|
4430
|
+
class: [`${t}-item-${a.key}-content`, e.hashId]
|
|
4431
|
+
}, null), n(dn, {
|
|
4432
|
+
class: `${t}-selectIcon ${e.hashId}`.trim(),
|
|
4424
4433
|
style: {
|
|
4425
4434
|
display: e.value === a.key ? "block" : "none"
|
|
4426
4435
|
}
|
|
4427
|
-
}, null), a != null && a.icon ?
|
|
4428
|
-
class: `${
|
|
4436
|
+
}, null), a != null && a.icon ? n("div", {
|
|
4437
|
+
class: `${t}-icon ${e.hashId}`.trim()
|
|
4429
4438
|
}, [a.icon]) : null])]
|
|
4430
4439
|
}))]);
|
|
4431
4440
|
};
|
|
4432
4441
|
}
|
|
4433
|
-
}),
|
|
4442
|
+
}), Fi = /* @__PURE__ */ j({
|
|
4434
4443
|
name: "ThemeColor",
|
|
4435
4444
|
inheritAttrs: !1,
|
|
4436
4445
|
props: {
|
|
@@ -4446,26 +4455,26 @@ const Ct = Object.keys(Z).filter((e) => e !== "title"), wi = [{
|
|
|
4446
4455
|
setup(e) {
|
|
4447
4456
|
return () => {
|
|
4448
4457
|
var a;
|
|
4449
|
-
const
|
|
4450
|
-
return
|
|
4451
|
-
class: `${
|
|
4458
|
+
const t = `${e.prefixCls}-theme-color`;
|
|
4459
|
+
return n("div", {
|
|
4460
|
+
class: `${t} ${e.hashId}`.trim()
|
|
4452
4461
|
}, [(a = e.colorList) == null ? void 0 : a.map(({
|
|
4453
4462
|
key: o,
|
|
4454
4463
|
color: i,
|
|
4455
4464
|
title: l
|
|
4456
|
-
}) => o ?
|
|
4465
|
+
}) => o ? n(nt, {
|
|
4457
4466
|
key: i,
|
|
4458
4467
|
title: l
|
|
4459
4468
|
}, {
|
|
4460
4469
|
default: () => {
|
|
4461
4470
|
var s, r;
|
|
4462
|
-
return [
|
|
4463
|
-
class: [`${
|
|
4471
|
+
return [n("div", {
|
|
4472
|
+
class: [`${t}-block ${e.hashId}`.trim(), ((s = e.settingValue) == null ? void 0 : s.primaryColor) === i ? `${t}-block-checked` : ""],
|
|
4464
4473
|
style: {
|
|
4465
4474
|
backgroundColor: i
|
|
4466
4475
|
},
|
|
4467
4476
|
onClick: () => e.onChange && e.onChange(i)
|
|
4468
|
-
}, [((r = e.settingValue) == null ? void 0 : r.primaryColor) === i &&
|
|
4477
|
+
}, [((r = e.settingValue) == null ? void 0 : r.primaryColor) === i && n(dn, null, null)])];
|
|
4469
4478
|
}
|
|
4470
4479
|
}) : null)]);
|
|
4471
4480
|
};
|
|
@@ -4482,40 +4491,40 @@ const Ct = Object.keys(Z).filter((e) => e !== "title"), wi = [{
|
|
|
4482
4491
|
onChange: Function
|
|
4483
4492
|
},
|
|
4484
4493
|
setup(e) {
|
|
4485
|
-
return () =>
|
|
4494
|
+
return () => n(Be, {
|
|
4486
4495
|
class: `${e.prefixCls}-list ${e.hashId}`.trim(),
|
|
4487
4496
|
split: !1,
|
|
4488
4497
|
size: "small",
|
|
4489
4498
|
renderItem: ({
|
|
4490
|
-
item:
|
|
4491
|
-
}) =>
|
|
4492
|
-
title:
|
|
4499
|
+
item: t
|
|
4500
|
+
}) => n(nt, {
|
|
4501
|
+
title: t.disabled ? t.disabledReason : "",
|
|
4493
4502
|
placement: "left"
|
|
4494
4503
|
}, {
|
|
4495
|
-
default: () => [
|
|
4496
|
-
actions: [
|
|
4504
|
+
default: () => [n(Be.Item, {
|
|
4505
|
+
actions: [t.action]
|
|
4497
4506
|
}, {
|
|
4498
|
-
default: () => [
|
|
4507
|
+
default: () => [n("span", {
|
|
4499
4508
|
style: {
|
|
4500
|
-
opacity:
|
|
4509
|
+
opacity: t.disabled ? 0.5 : 1
|
|
4501
4510
|
}
|
|
4502
|
-
}, [
|
|
4511
|
+
}, [t.title])]
|
|
4503
4512
|
})]
|
|
4504
4513
|
}),
|
|
4505
4514
|
dataSource: [{
|
|
4506
4515
|
title: e.label,
|
|
4507
|
-
action:
|
|
4516
|
+
action: n(tn, {
|
|
4508
4517
|
size: "small",
|
|
4509
4518
|
disabled: e.disabled,
|
|
4510
4519
|
checked: !!e.value,
|
|
4511
|
-
onChange: (
|
|
4512
|
-
e.onChange && e.onChange(e.valueKey,
|
|
4520
|
+
onChange: (t) => {
|
|
4521
|
+
e.onChange && e.onChange(e.valueKey, t);
|
|
4513
4522
|
}
|
|
4514
4523
|
}, null)
|
|
4515
4524
|
}]
|
|
4516
4525
|
}, null);
|
|
4517
4526
|
}
|
|
4518
|
-
}),
|
|
4527
|
+
}), ki = (e) => ({
|
|
4519
4528
|
[e.componentCls]: {
|
|
4520
4529
|
padding: e.marginLG,
|
|
4521
4530
|
"*": {
|
|
@@ -4549,19 +4558,19 @@ const Ct = Object.keys(Z).filter((e) => e !== "title"), wi = [{
|
|
|
4549
4558
|
}
|
|
4550
4559
|
}
|
|
4551
4560
|
});
|
|
4552
|
-
function
|
|
4561
|
+
function Ti(e) {
|
|
4553
4562
|
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Le(e);
|
|
4554
4563
|
}
|
|
4555
4564
|
const Dn = [];
|
|
4556
4565
|
Ca.forEach((e) => {
|
|
4557
|
-
xa.forEach((
|
|
4566
|
+
xa.forEach((t) => {
|
|
4558
4567
|
Dn.push({
|
|
4559
|
-
key: `${e}:${
|
|
4568
|
+
key: `${e}:${t}`,
|
|
4560
4569
|
token: {}
|
|
4561
4570
|
});
|
|
4562
4571
|
});
|
|
4563
4572
|
});
|
|
4564
|
-
const
|
|
4573
|
+
const Pi = /* @__PURE__ */ j({
|
|
4565
4574
|
name: "ThemeEditor",
|
|
4566
4575
|
props: {
|
|
4567
4576
|
theme: He.theme,
|
|
@@ -4570,14 +4579,14 @@ const Ti = /* @__PURE__ */ j({
|
|
|
4570
4579
|
},
|
|
4571
4580
|
setup(e) {
|
|
4572
4581
|
const {
|
|
4573
|
-
getPrefixCls:
|
|
4574
|
-
} = le(), [a, o] = pe("header"), i =
|
|
4582
|
+
getPrefixCls: t
|
|
4583
|
+
} = le(), [a, o] = pe("header"), i = t({
|
|
4575
4584
|
suffixCls: "theme-editor",
|
|
4576
4585
|
isPor: !0
|
|
4577
4586
|
}), {
|
|
4578
4587
|
wrapSSR: l,
|
|
4579
4588
|
hashId: s
|
|
4580
|
-
} = fe("ProThemeEditor", [
|
|
4589
|
+
} = fe("ProThemeEditor", [ki], i), {
|
|
4581
4590
|
token: r
|
|
4582
4591
|
} = Oe(), g = R(() => {
|
|
4583
4592
|
var y;
|
|
@@ -4619,7 +4628,7 @@ const Ti = /* @__PURE__ */ j({
|
|
|
4619
4628
|
return Object.keys(y || {}).map((C) => {
|
|
4620
4629
|
var c;
|
|
4621
4630
|
return {
|
|
4622
|
-
title: ((c =
|
|
4631
|
+
title: ((c = Bi.find((v) => v.key === C)) == null ? void 0 : c.name) || "",
|
|
4623
4632
|
key: C,
|
|
4624
4633
|
value: (y == null ? void 0 : y[C]) || ""
|
|
4625
4634
|
};
|
|
@@ -4634,31 +4643,31 @@ const Ti = /* @__PURE__ */ j({
|
|
|
4634
4643
|
return () => {
|
|
4635
4644
|
var u, C, b;
|
|
4636
4645
|
let y;
|
|
4637
|
-
return l(
|
|
4646
|
+
return l(n("div", {
|
|
4638
4647
|
class: [i, s.value]
|
|
4639
|
-
}, [
|
|
4648
|
+
}, [n("h3", {
|
|
4640
4649
|
class: [`${i}-title`, s.value]
|
|
4641
|
-
}, [W("主题编辑器"),
|
|
4650
|
+
}, [W("主题编辑器"), n("div", {
|
|
4642
4651
|
class: [`${i}-sub-title`, s.value]
|
|
4643
|
-
}, [
|
|
4652
|
+
}, [n("span", null, [(u = Nn.find((c) => c.key === e.theme)) == null ? void 0 : u.title]), n("span", {
|
|
4644
4653
|
style: {
|
|
4645
4654
|
marginInline: "8px"
|
|
4646
4655
|
}
|
|
4647
|
-
}, [W("/")]),
|
|
4656
|
+
}, [W("/")]), n("span", null, [(C = zn.find((c) => {
|
|
4648
4657
|
var v;
|
|
4649
4658
|
return c.key === ((v = e.settingValue) == null ? void 0 : v.layout);
|
|
4650
|
-
})) == null ? void 0 : C.title])])]),
|
|
4659
|
+
})) == null ? void 0 : C.title])])]), n("div", {
|
|
4651
4660
|
class: [`${i}-content`, s.value]
|
|
4652
|
-
}, [
|
|
4661
|
+
}, [n(Be, {
|
|
4653
4662
|
class: `${i}-list ${s.value}`.trim(),
|
|
4654
4663
|
split: !1,
|
|
4655
4664
|
size: "small",
|
|
4656
4665
|
renderItem: ({
|
|
4657
4666
|
item: c
|
|
4658
|
-
}) =>
|
|
4667
|
+
}) => n(Be.Item, {
|
|
4659
4668
|
actions: [c.action]
|
|
4660
4669
|
}, {
|
|
4661
|
-
default: () => [
|
|
4670
|
+
default: () => [n("span", {
|
|
4662
4671
|
style: {
|
|
4663
4672
|
opacity: c.show ? 1 : 0.5
|
|
4664
4673
|
}
|
|
@@ -4666,29 +4675,29 @@ const Ti = /* @__PURE__ */ j({
|
|
|
4666
4675
|
}),
|
|
4667
4676
|
dataSource: [{
|
|
4668
4677
|
title: "自定义主题色",
|
|
4669
|
-
action:
|
|
4678
|
+
action: n(jt, {
|
|
4670
4679
|
value: (b = e.settingValue) == null ? void 0 : b.primaryColor,
|
|
4671
4680
|
size: "small",
|
|
4672
4681
|
onChangeComplete: (c) => e.onChange && e.onChange(c.toCssString(), "primaryColor")
|
|
4673
4682
|
}, null)
|
|
4674
4683
|
}]
|
|
4675
|
-
}, null),
|
|
4684
|
+
}, null), n(It, {
|
|
4676
4685
|
activeKey: a.value,
|
|
4677
4686
|
onChange: (c) => o(c)
|
|
4678
|
-
},
|
|
4687
|
+
}, Ti(y = $i.map((c) => n(qn, {
|
|
4679
4688
|
key: c.key,
|
|
4680
4689
|
tab: c.title
|
|
4681
4690
|
}, {
|
|
4682
|
-
default: () => [
|
|
4691
|
+
default: () => [n(Be, {
|
|
4683
4692
|
class: `${i}-list ${s.value}`.trim(),
|
|
4684
4693
|
split: !1,
|
|
4685
4694
|
size: "small",
|
|
4686
4695
|
renderItem: ({
|
|
4687
4696
|
item: v
|
|
4688
|
-
}) =>
|
|
4697
|
+
}) => n(Be.Item, {
|
|
4689
4698
|
actions: [v.action]
|
|
4690
4699
|
}, {
|
|
4691
|
-
default: () => [
|
|
4700
|
+
default: () => [n("span", {
|
|
4692
4701
|
style: {
|
|
4693
4702
|
opacity: v.disabled ? 0.5 : 1
|
|
4694
4703
|
}
|
|
@@ -4696,7 +4705,7 @@ const Ti = /* @__PURE__ */ j({
|
|
|
4696
4705
|
}),
|
|
4697
4706
|
dataSource: m.value.map((v) => ({
|
|
4698
4707
|
...v,
|
|
4699
|
-
action:
|
|
4708
|
+
action: n(jt, {
|
|
4700
4709
|
value: v.value,
|
|
4701
4710
|
size: "small",
|
|
4702
4711
|
onChangeComplete: (f) => S(f.toCssString(), v.key)
|
|
@@ -4708,7 +4717,7 @@ const Ti = /* @__PURE__ */ j({
|
|
|
4708
4717
|
})])]));
|
|
4709
4718
|
};
|
|
4710
4719
|
}
|
|
4711
|
-
}),
|
|
4720
|
+
}), Ni = (e) => ({
|
|
4712
4721
|
[e.componentCls]: {
|
|
4713
4722
|
padding: e.marginLG,
|
|
4714
4723
|
"&-title": {
|
|
@@ -4744,7 +4753,7 @@ function Gt(e) {
|
|
|
4744
4753
|
}
|
|
4745
4754
|
const {
|
|
4746
4755
|
preset: Yt
|
|
4747
|
-
} = kt,
|
|
4756
|
+
} = kt, zi = /* @__PURE__ */ j({
|
|
4748
4757
|
name: "OthersChange",
|
|
4749
4758
|
props: {
|
|
4750
4759
|
prefixCls: q.string,
|
|
@@ -4752,34 +4761,34 @@ const {
|
|
|
4752
4761
|
onChange: Function
|
|
4753
4762
|
},
|
|
4754
4763
|
setup(e) {
|
|
4755
|
-
const
|
|
4764
|
+
const t = ie({
|
|
4756
4765
|
suffixCls: "others",
|
|
4757
4766
|
isPor: !0
|
|
4758
4767
|
}), {
|
|
4759
4768
|
wrapSSR: a,
|
|
4760
4769
|
hashId: o
|
|
4761
|
-
} = fe("SettingsDrawOthers", [
|
|
4770
|
+
} = fe("SettingsDrawOthers", [Ni], t);
|
|
4762
4771
|
return () => {
|
|
4763
4772
|
var l, s, r, g, h, d, m, S, y, u, C, b, c, v;
|
|
4764
4773
|
let i;
|
|
4765
|
-
return a(
|
|
4766
|
-
class: [
|
|
4767
|
-
}, [
|
|
4768
|
-
class: [`${
|
|
4769
|
-
}, [W("页面动画设置")]),
|
|
4770
|
-
class: `${
|
|
4774
|
+
return a(n("div", {
|
|
4775
|
+
class: [t, o.value]
|
|
4776
|
+
}, [n("h3", {
|
|
4777
|
+
class: [`${t}-title`, o.value]
|
|
4778
|
+
}, [W("页面动画设置")]), n(Be, {
|
|
4779
|
+
class: `${t}-list ${o.value}`.trim(),
|
|
4771
4780
|
split: !1,
|
|
4772
4781
|
size: "small",
|
|
4773
4782
|
renderItem: ({
|
|
4774
4783
|
item: f
|
|
4775
|
-
}) =>
|
|
4784
|
+
}) => n(nt, {
|
|
4776
4785
|
title: f.disabled ? f.disabledReason : "",
|
|
4777
4786
|
placement: "left"
|
|
4778
4787
|
}, {
|
|
4779
|
-
default: () => [
|
|
4788
|
+
default: () => [n(Be.Item, {
|
|
4780
4789
|
actions: [f.action]
|
|
4781
4790
|
}, {
|
|
4782
|
-
default: () => [
|
|
4791
|
+
default: () => [n("span", {
|
|
4783
4792
|
style: {
|
|
4784
4793
|
opacity: f.disabled ? 0.5 : 1
|
|
4785
4794
|
}
|
|
@@ -4788,7 +4797,7 @@ const {
|
|
|
4788
4797
|
}),
|
|
4789
4798
|
dataSource: [{
|
|
4790
4799
|
title: "禁用动画",
|
|
4791
|
-
action:
|
|
4800
|
+
action: n(tn, {
|
|
4792
4801
|
checked: !((s = (l = e.settingValue) == null ? void 0 : l.animate) != null && s.disabled),
|
|
4793
4802
|
size: "small",
|
|
4794
4803
|
onChange: (f) => {
|
|
@@ -4799,7 +4808,7 @@ const {
|
|
|
4799
4808
|
}, {
|
|
4800
4809
|
title: "动画效果",
|
|
4801
4810
|
disabled: (g = (r = e.settingValue) == null ? void 0 : r.animate) == null ? void 0 : g.disabled,
|
|
4802
|
-
action:
|
|
4811
|
+
action: n(Ye, {
|
|
4803
4812
|
value: (d = (h = e.settingValue) == null ? void 0 : h.animate) == null ? void 0 : d.name,
|
|
4804
4813
|
style: {
|
|
4805
4814
|
width: "100px"
|
|
@@ -4811,7 +4820,7 @@ const {
|
|
|
4811
4820
|
var w;
|
|
4812
4821
|
return (w = e.onChange) == null ? void 0 : w.call(e, "animate", "name", f);
|
|
4813
4822
|
}
|
|
4814
|
-
}, Gt(i = Yt.map((f) =>
|
|
4823
|
+
}, Gt(i = Yt.map((f) => n(Ye.Option, {
|
|
4815
4824
|
value: f.name
|
|
4816
4825
|
}, {
|
|
4817
4826
|
default: () => [f.alias]
|
|
@@ -4821,7 +4830,7 @@ const {
|
|
|
4821
4830
|
}, {
|
|
4822
4831
|
title: "动画方向",
|
|
4823
4832
|
disabled: (u = (y = e.settingValue) == null ? void 0 : y.animate) == null ? void 0 : u.disabled,
|
|
4824
|
-
action:
|
|
4833
|
+
action: n(Ye, {
|
|
4825
4834
|
value: (b = (C = e.settingValue) == null ? void 0 : C.animate) == null ? void 0 : b.direction,
|
|
4826
4835
|
style: {
|
|
4827
4836
|
width: "100px"
|
|
@@ -4842,7 +4851,7 @@ const {
|
|
|
4842
4851
|
return [(f = Yt.find((w) => {
|
|
4843
4852
|
var z, $;
|
|
4844
4853
|
return w.name === (($ = (z = e.settingValue) == null ? void 0 : z.animate) == null ? void 0 : $.name);
|
|
4845
|
-
})) == null ? void 0 : f.directions.map((w) =>
|
|
4854
|
+
})) == null ? void 0 : f.directions.map((w) => n(Ye.Option, {
|
|
4846
4855
|
value: w
|
|
4847
4856
|
}, Gt(w) ? w : {
|
|
4848
4857
|
default: () => [w]
|
|
@@ -4854,25 +4863,25 @@ const {
|
|
|
4854
4863
|
};
|
|
4855
4864
|
}
|
|
4856
4865
|
}), {
|
|
4857
|
-
preset:
|
|
4858
|
-
} = kt,
|
|
4866
|
+
preset: Di
|
|
4867
|
+
} = kt, Ai = {
|
|
4859
4868
|
color: "#fff",
|
|
4860
4869
|
fontSize: 20
|
|
4861
4870
|
}, qt = (e) => ha() ? {
|
|
4862
4871
|
...oe(Z, Ct),
|
|
4863
4872
|
...e || {}
|
|
4864
4873
|
} : Se(Z), Ke = (e, {
|
|
4865
|
-
slots:
|
|
4874
|
+
slots: t
|
|
4866
4875
|
}) => {
|
|
4867
4876
|
var a;
|
|
4868
|
-
return
|
|
4877
|
+
return n("div", {
|
|
4869
4878
|
style: {
|
|
4870
4879
|
marginBottom: "24px"
|
|
4871
4880
|
}
|
|
4872
|
-
}, [
|
|
4881
|
+
}, [n("h3", {
|
|
4873
4882
|
class: `${e.prefixCls}-body-title ${e.hashId}`.trim()
|
|
4874
|
-
}, [e.title]), (a =
|
|
4875
|
-
},
|
|
4883
|
+
}, [e.title]), (a = t.default) == null ? void 0 : a.call(t)]);
|
|
4884
|
+
}, Hi = () => ({
|
|
4876
4885
|
...Lt,
|
|
4877
4886
|
open: {
|
|
4878
4887
|
type: Boolean,
|
|
@@ -4900,12 +4909,12 @@ const {
|
|
|
4900
4909
|
"onUpdate:open": Function,
|
|
4901
4910
|
onDarkChange: He.onDarkChange,
|
|
4902
4911
|
onLayoutChange: Function
|
|
4903
|
-
}),
|
|
4912
|
+
}), ls = /* @__PURE__ */ j({
|
|
4904
4913
|
name: "SettingDrawer",
|
|
4905
|
-
props:
|
|
4914
|
+
props: Hi(),
|
|
4906
4915
|
emits: ["change", "layoutChange", "openChange", "update:open", "update:dark", "darkChange"],
|
|
4907
4916
|
setup(e) {
|
|
4908
|
-
const
|
|
4917
|
+
const t = Oe(), a = le(), o = ie({
|
|
4909
4918
|
suffixCls: "setting-drawer",
|
|
4910
4919
|
isPor: !0
|
|
4911
4920
|
}), i = ve({}), l = at(ie({
|
|
@@ -4914,7 +4923,7 @@ const {
|
|
|
4914
4923
|
}), {}), {
|
|
4915
4924
|
wrapSSR: s,
|
|
4916
4925
|
hashId: r
|
|
4917
|
-
} = fe("ProSettingDraw", [
|
|
4926
|
+
} = fe("ProSettingDraw", [Oi], o), g = me(!1), [h, d] = De(!1, {
|
|
4918
4927
|
value: R(() => {
|
|
4919
4928
|
var L;
|
|
4920
4929
|
return ae(e.open) ? e.open : (L = a == null ? void 0 : a.settingsOpen) == null ? void 0 : L.value;
|
|
@@ -4943,7 +4952,7 @@ const {
|
|
|
4943
4952
|
}
|
|
4944
4953
|
}), $ = R(() => {
|
|
4945
4954
|
var L;
|
|
4946
|
-
return Xe(e.dark) ? S.value : (L =
|
|
4955
|
+
return Xe(e.dark) ? S.value : (L = t == null ? void 0 : t.dark) == null ? void 0 : L.value;
|
|
4947
4956
|
}), I = (L, F) => {
|
|
4948
4957
|
On({
|
|
4949
4958
|
event: L,
|
|
@@ -4963,7 +4972,7 @@ const {
|
|
|
4963
4972
|
}, {
|
|
4964
4973
|
immediate: !0
|
|
4965
4974
|
});
|
|
4966
|
-
const B = R(() => e.colorList && $t(e.colorList) ? e.colorList : []), k = R(() =>
|
|
4975
|
+
const B = R(() => e.colorList && $t(e.colorList) ? e.colorList : []), k = R(() => Xo(se(w))), {
|
|
4967
4976
|
copy: O,
|
|
4968
4977
|
copied: T,
|
|
4969
4978
|
isSupported: U
|
|
@@ -4987,13 +4996,13 @@ const {
|
|
|
4987
4996
|
ee[L] = {}, ee[L][P == null ? void 0 : P.subKey] = F, (ye = e.onLayoutChange) == null || ye.call(e, oe(ee, E));
|
|
4988
4997
|
return;
|
|
4989
4998
|
} else
|
|
4990
|
-
L === "animate" ? (ee[L] = {}, P != null && P.subKey && (ee[L][P == null ? void 0 : P.subKey] = F), (P == null ? void 0 : P.subKey) === "name" && (ee[L].direction = (Y = (H =
|
|
4999
|
+
L === "animate" ? (ee[L] = {}, P != null && P.subKey && (ee[L][P == null ? void 0 : P.subKey] = F), (P == null ? void 0 : P.subKey) === "name" && (ee[L].direction = (Y = (H = Di.find((V) => V.name === F)) == null ? void 0 : H.directions) == null ? void 0 : Y[0])) : ee[L] = F;
|
|
4991
5000
|
if (L === "colorWeak") {
|
|
4992
5001
|
const V = document.querySelector("body");
|
|
4993
5002
|
V && (V.dataset.prosettingdrawer = F === !0 ? V.style.filter : V.dataset.prosettingdrawer || "none", F === !0 && (V.dataset.prosettingdrawer = V.style.filter), V.style.filter = F === !0 ? "invert(80%)" : V.dataset.prosettingdrawer || "none", F || delete V.dataset.prosettingdrawer);
|
|
4994
5003
|
}
|
|
4995
5004
|
z(be(se(w), {
|
|
4996
|
-
...
|
|
5005
|
+
..._o($e(ee, E))
|
|
4997
5006
|
}));
|
|
4998
5007
|
}, X = (L) => {
|
|
4999
5008
|
l.value.dark = L === "system" ? L : L === "dark", I(null, L === "system" ? L : L === "dark");
|
|
@@ -5004,7 +5013,7 @@ const {
|
|
|
5004
5013
|
};
|
|
5005
5014
|
return () => {
|
|
5006
5015
|
const L = h.value ? lt : un;
|
|
5007
|
-
return s(
|
|
5016
|
+
return s(n(Qe, {
|
|
5008
5017
|
width: 300,
|
|
5009
5018
|
closable: !1,
|
|
5010
5019
|
open: h.value,
|
|
@@ -5017,34 +5026,34 @@ const {
|
|
|
5017
5026
|
padding: 0
|
|
5018
5027
|
},
|
|
5019
5028
|
onClose: () => d(!1),
|
|
5020
|
-
handle:
|
|
5029
|
+
handle: n("div", {
|
|
5021
5030
|
class: [`${o}-handle`, r.value],
|
|
5022
5031
|
onClick: () => d(!h.value)
|
|
5023
|
-
}, [
|
|
5024
|
-
style:
|
|
5032
|
+
}, [n(L, {
|
|
5033
|
+
style: Ai
|
|
5025
5034
|
}, null)])
|
|
5026
5035
|
}, {
|
|
5027
|
-
default: () => [
|
|
5036
|
+
default: () => [n("div", {
|
|
5028
5037
|
class: [`${o}-wrapper`, r.value]
|
|
5029
|
-
}, [
|
|
5030
|
-
default: () => [
|
|
5038
|
+
}, [n(Za, null, {
|
|
5039
|
+
default: () => [n("div", {
|
|
5031
5040
|
class: [`${o}-content`, r.value]
|
|
5032
|
-
}, [
|
|
5041
|
+
}, [n(Ke, {
|
|
5033
5042
|
prefixCls: o,
|
|
5034
5043
|
hashId: r.value,
|
|
5035
5044
|
title: "整体风格"
|
|
5036
5045
|
}, {
|
|
5037
|
-
default: () => [
|
|
5046
|
+
default: () => [n(Zn, {
|
|
5038
5047
|
value: ae(m.value) ? m.value ? "dark" : "light" : "system",
|
|
5039
|
-
options:
|
|
5048
|
+
options: Ri,
|
|
5040
5049
|
onChange: (F) => X(F)
|
|
5041
5050
|
}, null)]
|
|
5042
|
-
}),
|
|
5051
|
+
}), n(Ke, {
|
|
5043
5052
|
prefixCls: o,
|
|
5044
5053
|
hashId: r.value,
|
|
5045
5054
|
title: "菜单风格"
|
|
5046
5055
|
}, {
|
|
5047
|
-
default: () => [
|
|
5056
|
+
default: () => [n(Vt, {
|
|
5048
5057
|
hashId: r.value,
|
|
5049
5058
|
prefixCls: o,
|
|
5050
5059
|
list: Nn,
|
|
@@ -5055,9 +5064,9 @@ const {
|
|
|
5055
5064
|
event: P
|
|
5056
5065
|
})
|
|
5057
5066
|
}, null)]
|
|
5058
|
-
}),
|
|
5067
|
+
}), n(Ke, {
|
|
5059
5068
|
hashId: r.value,
|
|
5060
|
-
title:
|
|
5069
|
+
title: n("span", null, [W("配色模式"), n("a", {
|
|
5061
5070
|
style: {
|
|
5062
5071
|
fontSize: "12px",
|
|
5063
5072
|
marginLeft: "4px"
|
|
@@ -5066,19 +5075,19 @@ const {
|
|
|
5066
5075
|
}, [W("更多配置")])]),
|
|
5067
5076
|
prefixCls: o
|
|
5068
5077
|
}, {
|
|
5069
|
-
default: () => [
|
|
5078
|
+
default: () => [n(Fi, {
|
|
5070
5079
|
hashId: r.value,
|
|
5071
5080
|
prefixCls: o,
|
|
5072
5081
|
colorList: B.value,
|
|
5073
5082
|
settingValue: w.value,
|
|
5074
5083
|
onChange: (F, P) => _(P || "primaryColor", F)
|
|
5075
5084
|
}, null)]
|
|
5076
|
-
}), !e.themeOnly &&
|
|
5085
|
+
}), !e.themeOnly && n(J, null, [n(ct, null, null), n(Ke, {
|
|
5077
5086
|
hashId: r.value,
|
|
5078
5087
|
prefixCls: o,
|
|
5079
5088
|
title: "导航模式"
|
|
5080
5089
|
}, {
|
|
5081
|
-
default: () => [
|
|
5090
|
+
default: () => [n(Vt, {
|
|
5082
5091
|
prefixCls: o,
|
|
5083
5092
|
value: se(w).layout,
|
|
5084
5093
|
key: "layout",
|
|
@@ -5087,10 +5096,10 @@ const {
|
|
|
5087
5096
|
list: zn,
|
|
5088
5097
|
onChange: (F) => _("layout", F)
|
|
5089
5098
|
}, null)]
|
|
5090
|
-
}),
|
|
5099
|
+
}), Mi.map(({
|
|
5091
5100
|
label: F,
|
|
5092
5101
|
title: P
|
|
5093
|
-
}) =>
|
|
5102
|
+
}) => n(qe, {
|
|
5094
5103
|
label: P,
|
|
5095
5104
|
disabled: k.value[F],
|
|
5096
5105
|
value: w.value[F],
|
|
@@ -5098,10 +5107,10 @@ const {
|
|
|
5098
5107
|
hashId: r.value,
|
|
5099
5108
|
valueKey: F,
|
|
5100
5109
|
onChange: (E, ee) => _(E, ee)
|
|
5101
|
-
}, null)),
|
|
5110
|
+
}, null)), n(ct, null, null), n(Ke, {
|
|
5102
5111
|
hashId: r.value,
|
|
5103
5112
|
prefixCls: o,
|
|
5104
|
-
title:
|
|
5113
|
+
title: n("span", null, [W("其他设置"), n("a", {
|
|
5105
5114
|
style: {
|
|
5106
5115
|
fontSize: "12px",
|
|
5107
5116
|
marginLeft: "4px"
|
|
@@ -5109,10 +5118,10 @@ const {
|
|
|
5109
5118
|
onClick: () => c(!0)
|
|
5110
5119
|
}, [W("更多配置")])])
|
|
5111
5120
|
}, {
|
|
5112
|
-
default: () => [
|
|
5121
|
+
default: () => [Li.map(({
|
|
5113
5122
|
label: F,
|
|
5114
5123
|
title: P
|
|
5115
|
-
}) =>
|
|
5124
|
+
}) => n(qe, {
|
|
5116
5125
|
label: P,
|
|
5117
5126
|
disabled: se(k)[F],
|
|
5118
5127
|
value: se(w)[F],
|
|
@@ -5120,14 +5129,14 @@ const {
|
|
|
5120
5129
|
hashId: r.value,
|
|
5121
5130
|
valueKey: F,
|
|
5122
5131
|
onChange: (E, ee) => _(E, ee)
|
|
5123
|
-
}, null)), e.weakmode &&
|
|
5132
|
+
}, null)), e.weakmode && n(qe, {
|
|
5124
5133
|
label: "色弱模式",
|
|
5125
5134
|
value: se(w).colorWeak,
|
|
5126
5135
|
prefixCls: o,
|
|
5127
5136
|
hashId: r.value,
|
|
5128
5137
|
valueKey: "colorWeak",
|
|
5129
5138
|
onChange: (F, P) => _(F, P)
|
|
5130
|
-
}, null), e.showProgress &&
|
|
5139
|
+
}, null), e.showProgress && n(qe, {
|
|
5131
5140
|
label: "顶部进度条",
|
|
5132
5141
|
value: se(w).showProgressBar,
|
|
5133
5142
|
prefixCls: o,
|
|
@@ -5135,31 +5144,31 @@ const {
|
|
|
5135
5144
|
valueKey: "showProgressBar",
|
|
5136
5145
|
onChange: (F, P) => _(F, P)
|
|
5137
5146
|
}, null)]
|
|
5138
|
-
})]), e.hideHintAlert && e.hideCopyButton ? null :
|
|
5147
|
+
})]), e.hideHintAlert && e.hideCopyButton ? null : n(ct, null, null), e.hideHintAlert ? null : n(Jn, {
|
|
5139
5148
|
type: "warning",
|
|
5140
5149
|
message: "配置栏只在开发环境用于预览,生产环境不会展现,请拷贝后手动修改配置文件",
|
|
5141
|
-
icon:
|
|
5150
|
+
icon: n(Ua, null, null),
|
|
5142
5151
|
showIcon: !0,
|
|
5143
5152
|
style: {
|
|
5144
5153
|
marginBottom: "16px"
|
|
5145
5154
|
}
|
|
5146
|
-
}, null),
|
|
5155
|
+
}, null), n("div", {
|
|
5147
5156
|
style: {
|
|
5148
5157
|
display: "flex",
|
|
5149
5158
|
gap: "10px"
|
|
5150
5159
|
}
|
|
5151
|
-
}, [e.hideCopyButton ? null :
|
|
5160
|
+
}, [e.hideCopyButton ? null : n(Ze, {
|
|
5152
5161
|
onClick: () => he(),
|
|
5153
5162
|
block: !0
|
|
5154
5163
|
}, {
|
|
5155
|
-
default: () => [
|
|
5156
|
-
}),
|
|
5164
|
+
default: () => [n(_a, null, null), W("拷贝设置")]
|
|
5165
|
+
}), n(Ze, {
|
|
5157
5166
|
block: !0,
|
|
5158
5167
|
onClick: () => de()
|
|
5159
5168
|
}, {
|
|
5160
|
-
default: () => [
|
|
5169
|
+
default: () => [n(Xa, null, null), W("清空缓存")]
|
|
5161
5170
|
})])])]
|
|
5162
|
-
})]),
|
|
5171
|
+
})]), n(Qe, {
|
|
5163
5172
|
width: 320,
|
|
5164
5173
|
closable: !1,
|
|
5165
5174
|
placement: "right",
|
|
@@ -5169,14 +5178,14 @@ const {
|
|
|
5169
5178
|
},
|
|
5170
5179
|
onClose: () => C(!1)
|
|
5171
5180
|
}, {
|
|
5172
|
-
default: () => [
|
|
5181
|
+
default: () => [n(Pi, {
|
|
5173
5182
|
theme: w.value.theme,
|
|
5174
5183
|
settingValue: w.value,
|
|
5175
5184
|
onChange: (F, P, E) => _(P || "primaryColor", F, {
|
|
5176
5185
|
subKey: E
|
|
5177
5186
|
})
|
|
5178
5187
|
}, null)]
|
|
5179
|
-
}),
|
|
5188
|
+
}), n(Qe, {
|
|
5180
5189
|
width: 320,
|
|
5181
5190
|
closable: !1,
|
|
5182
5191
|
placement: "right",
|
|
@@ -5186,7 +5195,7 @@ const {
|
|
|
5186
5195
|
},
|
|
5187
5196
|
onClose: () => c(!1)
|
|
5188
5197
|
}, {
|
|
5189
|
-
default: () => [
|
|
5198
|
+
default: () => [n(zi, {
|
|
5190
5199
|
settingValue: w.value,
|
|
5191
5200
|
onChange: (F, P, E) => _(F, E, {
|
|
5192
5201
|
subKey: P
|
|
@@ -5196,7 +5205,7 @@ const {
|
|
|
5196
5205
|
}));
|
|
5197
5206
|
};
|
|
5198
5207
|
}
|
|
5199
|
-
}),
|
|
5208
|
+
}), ji = new x("backInLeft", {
|
|
5200
5209
|
"0%": {
|
|
5201
5210
|
opacity: 0.7,
|
|
5202
5211
|
transform: "translateX(-2000px) scale(0.7)"
|
|
@@ -5209,7 +5218,7 @@ const {
|
|
|
5209
5218
|
opacity: 1,
|
|
5210
5219
|
transform: "scale(1)"
|
|
5211
5220
|
}
|
|
5212
|
-
}),
|
|
5221
|
+
}), Ei = new x("backInRight", {
|
|
5213
5222
|
"0%": {
|
|
5214
5223
|
opacity: 0.7,
|
|
5215
5224
|
transform: "translateX(2000px) scale(0.7)"
|
|
@@ -5222,7 +5231,7 @@ const {
|
|
|
5222
5231
|
opacity: 1,
|
|
5223
5232
|
transform: "scale(1)"
|
|
5224
5233
|
}
|
|
5225
|
-
}),
|
|
5234
|
+
}), Ki = new x("backInUp", {
|
|
5226
5235
|
"0%": {
|
|
5227
5236
|
opacity: 0.7,
|
|
5228
5237
|
transform: "translateY(1200px) scale(0.7)"
|
|
@@ -5235,7 +5244,7 @@ const {
|
|
|
5235
5244
|
opacity: 1,
|
|
5236
5245
|
transform: "scale(1)"
|
|
5237
5246
|
}
|
|
5238
|
-
}),
|
|
5247
|
+
}), Wi = new x("backInDown", {
|
|
5239
5248
|
"0%": {
|
|
5240
5249
|
opacity: 0.7,
|
|
5241
5250
|
transform: "translateY(-1200px) scale(0.7)"
|
|
@@ -5248,7 +5257,7 @@ const {
|
|
|
5248
5257
|
opacity: 1,
|
|
5249
5258
|
transform: "scale(1)"
|
|
5250
5259
|
}
|
|
5251
|
-
}),
|
|
5260
|
+
}), Ui = new x("backOutLeft", {
|
|
5252
5261
|
"0%": {
|
|
5253
5262
|
opacity: 1,
|
|
5254
5263
|
transform: "scale(1)"
|
|
@@ -5261,7 +5270,7 @@ const {
|
|
|
5261
5270
|
opacity: 0.7,
|
|
5262
5271
|
transform: "translateX(-2000px) scale(0.7)"
|
|
5263
5272
|
}
|
|
5264
|
-
}),
|
|
5273
|
+
}), _i = new x("backOutRight", {
|
|
5265
5274
|
"0%": {
|
|
5266
5275
|
opacity: 1,
|
|
5267
5276
|
transform: "scale(1)"
|
|
@@ -5274,7 +5283,7 @@ const {
|
|
|
5274
5283
|
opacity: 0.7,
|
|
5275
5284
|
transform: "translateX(2000px) scale(0.7)"
|
|
5276
5285
|
}
|
|
5277
|
-
}),
|
|
5286
|
+
}), Xi = new x("backOutUp", {
|
|
5278
5287
|
"0%": {
|
|
5279
5288
|
opacity: 1,
|
|
5280
5289
|
transform: "scale(1)"
|
|
@@ -5287,7 +5296,7 @@ const {
|
|
|
5287
5296
|
opacity: 0.7,
|
|
5288
5297
|
transform: "translateY(-700px) scale(0.7)"
|
|
5289
5298
|
}
|
|
5290
|
-
}),
|
|
5299
|
+
}), Vi = new x("backOutDown", {
|
|
5291
5300
|
"0%": {
|
|
5292
5301
|
opacity: 1,
|
|
5293
5302
|
transform: "scale(1)"
|
|
@@ -5300,41 +5309,41 @@ const {
|
|
|
5300
5309
|
opacity: 0.7,
|
|
5301
5310
|
transform: "translateY(700px) scale(0.7)"
|
|
5302
5311
|
}
|
|
5303
|
-
}),
|
|
5312
|
+
}), Gi = () => ({
|
|
5304
5313
|
"&.backInLeft": {
|
|
5305
5314
|
animationFillMode: "both",
|
|
5306
|
-
animationName:
|
|
5315
|
+
animationName: ji
|
|
5307
5316
|
},
|
|
5308
5317
|
"&.backInRight": {
|
|
5309
5318
|
animationFillMode: "both",
|
|
5310
|
-
animationName:
|
|
5319
|
+
animationName: Ei
|
|
5311
5320
|
},
|
|
5312
5321
|
"&.backInUp": {
|
|
5313
5322
|
animationFillMode: "both",
|
|
5314
|
-
animationName:
|
|
5323
|
+
animationName: Ki
|
|
5315
5324
|
},
|
|
5316
5325
|
"&.backInDown": {
|
|
5317
5326
|
animationFillMode: "both",
|
|
5318
|
-
animationName:
|
|
5327
|
+
animationName: Wi
|
|
5319
5328
|
}
|
|
5320
|
-
}),
|
|
5329
|
+
}), Yi = () => ({
|
|
5321
5330
|
"&.backOutLeft": {
|
|
5322
5331
|
animationFillMode: "both",
|
|
5323
|
-
animationName:
|
|
5332
|
+
animationName: Ui
|
|
5324
5333
|
},
|
|
5325
5334
|
"&.backOutRight": {
|
|
5326
5335
|
animationFillMode: "both",
|
|
5327
|
-
animationName:
|
|
5336
|
+
animationName: _i
|
|
5328
5337
|
},
|
|
5329
5338
|
"&.backOutUp": {
|
|
5330
5339
|
animationFillMode: "both",
|
|
5331
|
-
animationName:
|
|
5340
|
+
animationName: Xi
|
|
5332
5341
|
},
|
|
5333
5342
|
"&.backOutDown": {
|
|
5334
5343
|
animationFillMode: "both",
|
|
5335
|
-
animationName:
|
|
5344
|
+
animationName: Vi
|
|
5336
5345
|
}
|
|
5337
|
-
}),
|
|
5346
|
+
}), qi = new x("bounceIn", {
|
|
5338
5347
|
"from,20%,40%,60%,80%,to": {
|
|
5339
5348
|
animationTimingFunction: "cubic-bezier(0.215, 0.61, 0.355, 1)"
|
|
5340
5349
|
},
|
|
@@ -5358,7 +5367,7 @@ const {
|
|
|
5358
5367
|
opacity: 1,
|
|
5359
5368
|
transform: "scale3d(1, 1, 1)"
|
|
5360
5369
|
}
|
|
5361
|
-
}),
|
|
5370
|
+
}), Qi = new x("bounceInLeft", {
|
|
5362
5371
|
"from,60%,75%,90%,to": {
|
|
5363
5372
|
animationTimingFunction: "cubic-bezier(0.215, 0.61, 0.355, 1)"
|
|
5364
5373
|
},
|
|
@@ -5379,7 +5388,7 @@ const {
|
|
|
5379
5388
|
to: {
|
|
5380
5389
|
transform: "translate3d(0, 0, 0)"
|
|
5381
5390
|
}
|
|
5382
|
-
}),
|
|
5391
|
+
}), Zi = new x("bounceInRight", {
|
|
5383
5392
|
"from,60%,75%,90%,to": {
|
|
5384
5393
|
animationTimingFunction: "cubic-bezier(0.215, 0.61, 0.355, 1)"
|
|
5385
5394
|
},
|
|
@@ -5400,7 +5409,7 @@ const {
|
|
|
5400
5409
|
to: {
|
|
5401
5410
|
transform: "translate3d(0, 0, 0)"
|
|
5402
5411
|
}
|
|
5403
|
-
}),
|
|
5412
|
+
}), Ji = new x("bounceInDown", {
|
|
5404
5413
|
"from,60%,75%,90%,to": {
|
|
5405
5414
|
animationTimingFunction: "cubic-bezier(0.215, 0.61, 0.355, 1)"
|
|
5406
5415
|
},
|
|
@@ -5421,7 +5430,7 @@ const {
|
|
|
5421
5430
|
to: {
|
|
5422
5431
|
transform: "translate3d(0, 0, 0)"
|
|
5423
5432
|
}
|
|
5424
|
-
}),
|
|
5433
|
+
}), el = new x("bounceInUp", {
|
|
5425
5434
|
"from,60%,75%,90%,to": {
|
|
5426
5435
|
animationTimingFunction: "cubic-bezier(0.215, 0.61, 0.355, 1)"
|
|
5427
5436
|
},
|
|
@@ -5442,7 +5451,7 @@ const {
|
|
|
5442
5451
|
to: {
|
|
5443
5452
|
transform: "translate3d(0, 0, 0)"
|
|
5444
5453
|
}
|
|
5445
|
-
}),
|
|
5454
|
+
}), tl = new x("bounceOut", {
|
|
5446
5455
|
"20%": {
|
|
5447
5456
|
transform: "scale3d(0.9, 0.9, 0.9)"
|
|
5448
5457
|
},
|
|
@@ -5456,7 +5465,7 @@ const {
|
|
|
5456
5465
|
opacity: 0,
|
|
5457
5466
|
transform: "scale3d(0.3, 0.3, 0.3)"
|
|
5458
5467
|
}
|
|
5459
|
-
}),
|
|
5468
|
+
}), nl = new x("bounceOutLeft", {
|
|
5460
5469
|
"20%": {
|
|
5461
5470
|
opacity: 1,
|
|
5462
5471
|
transform: "translate3d(20px, 0, 0) scaleX(0.9)"
|
|
@@ -5465,7 +5474,7 @@ const {
|
|
|
5465
5474
|
opacity: 0,
|
|
5466
5475
|
transform: "translate3d(-2000px, 0, 0) scaleX(2)"
|
|
5467
5476
|
}
|
|
5468
|
-
}),
|
|
5477
|
+
}), al = new x("bounceOutRight", {
|
|
5469
5478
|
"20%": {
|
|
5470
5479
|
opacity: 1,
|
|
5471
5480
|
transform: "translate3d(-20px, 0, 0) scaleX(0.9)"
|
|
@@ -5474,7 +5483,7 @@ const {
|
|
|
5474
5483
|
opacity: 0,
|
|
5475
5484
|
transform: "translate3d(2000px, 0, 0) scaleX(2)"
|
|
5476
5485
|
}
|
|
5477
|
-
}),
|
|
5486
|
+
}), ol = new x("bounceOutDown", {
|
|
5478
5487
|
"20%": {
|
|
5479
5488
|
transform: "translate3d(0, 10px, 0) scaleY(0.985)"
|
|
5480
5489
|
},
|
|
@@ -5486,7 +5495,7 @@ const {
|
|
|
5486
5495
|
opacity: 0,
|
|
5487
5496
|
transform: "translate3d(0, 2000px, 0) scaleY(3)"
|
|
5488
5497
|
}
|
|
5489
|
-
}),
|
|
5498
|
+
}), il = new x("bounceOutUp", {
|
|
5490
5499
|
"20%": {
|
|
5491
5500
|
transform: "translate3d(0, -10px, 0) scaleY(0.985)"
|
|
5492
5501
|
},
|
|
@@ -5498,58 +5507,58 @@ const {
|
|
|
5498
5507
|
opacity: 0,
|
|
5499
5508
|
transform: "translate3d(0, -2000px, 0) scaleY(3)"
|
|
5500
5509
|
}
|
|
5501
|
-
}),
|
|
5510
|
+
}), ll = () => ({
|
|
5502
5511
|
"&.bounceIn": {
|
|
5503
5512
|
animationFillMode: "both",
|
|
5504
5513
|
animationDuration: `${0.3 * 0.75}s !important`,
|
|
5505
|
-
animationName:
|
|
5514
|
+
animationName: qi
|
|
5506
5515
|
},
|
|
5507
5516
|
"&.bounceInLeft": {
|
|
5508
5517
|
animationFillMode: "both",
|
|
5509
|
-
animationName:
|
|
5518
|
+
animationName: Qi
|
|
5510
5519
|
},
|
|
5511
5520
|
"&.bounceInRight": {
|
|
5512
5521
|
animationFillMode: "both",
|
|
5513
|
-
animationName:
|
|
5522
|
+
animationName: Zi
|
|
5514
5523
|
},
|
|
5515
5524
|
"&.bounceInDown": {
|
|
5516
5525
|
animationFillMode: "both",
|
|
5517
|
-
animationName:
|
|
5526
|
+
animationName: Ji
|
|
5518
5527
|
},
|
|
5519
5528
|
"&.bounceInUp": {
|
|
5520
5529
|
animationFillMode: "both",
|
|
5521
|
-
animationName:
|
|
5530
|
+
animationName: el
|
|
5522
5531
|
}
|
|
5523
|
-
}),
|
|
5532
|
+
}), rl = () => ({
|
|
5524
5533
|
"&.bounceOut": {
|
|
5525
5534
|
animationFillMode: "both",
|
|
5526
5535
|
animationDuration: `${0.3 * 0.75}s !important`,
|
|
5527
|
-
animationName:
|
|
5536
|
+
animationName: tl
|
|
5528
5537
|
},
|
|
5529
5538
|
"&.bounceOutLeft": {
|
|
5530
5539
|
animationFillMode: "both",
|
|
5531
|
-
animationName:
|
|
5540
|
+
animationName: nl
|
|
5532
5541
|
},
|
|
5533
5542
|
"&.bounceOutRight": {
|
|
5534
5543
|
animationFillMode: "both",
|
|
5535
|
-
animationName:
|
|
5544
|
+
animationName: al
|
|
5536
5545
|
},
|
|
5537
5546
|
"&.bounceOutDown": {
|
|
5538
5547
|
animationFillMode: "both",
|
|
5539
|
-
animationName:
|
|
5548
|
+
animationName: ol
|
|
5540
5549
|
},
|
|
5541
5550
|
"&.bounceOutUp": {
|
|
5542
5551
|
animationFillMode: "both",
|
|
5543
|
-
animationName:
|
|
5552
|
+
animationName: il
|
|
5544
5553
|
}
|
|
5545
|
-
}),
|
|
5554
|
+
}), sl = new x("fadeIn", {
|
|
5546
5555
|
from: {
|
|
5547
5556
|
opacity: 0
|
|
5548
5557
|
},
|
|
5549
5558
|
to: {
|
|
5550
5559
|
opacity: 1
|
|
5551
5560
|
}
|
|
5552
|
-
}),
|
|
5561
|
+
}), cl = new x("fadeInLeft", {
|
|
5553
5562
|
from: {
|
|
5554
5563
|
opacity: 0,
|
|
5555
5564
|
transform: "translate3d(-100%, 0, 0)"
|
|
@@ -5558,7 +5567,7 @@ const {
|
|
|
5558
5567
|
opacity: 1,
|
|
5559
5568
|
transform: "translate3d(0, 0, 0)"
|
|
5560
5569
|
}
|
|
5561
|
-
}),
|
|
5570
|
+
}), ul = new x("fadeInRight", {
|
|
5562
5571
|
from: {
|
|
5563
5572
|
opacity: 0,
|
|
5564
5573
|
transform: "translate3d(100%, 0, 0)"
|
|
@@ -5567,7 +5576,7 @@ const {
|
|
|
5567
5576
|
opacity: 1,
|
|
5568
5577
|
transform: "translate3d(0, 0, 0)"
|
|
5569
5578
|
}
|
|
5570
|
-
}),
|
|
5579
|
+
}), dl = new x("fadeInDown", {
|
|
5571
5580
|
from: {
|
|
5572
5581
|
opacity: 0,
|
|
5573
5582
|
transform: "translate3d(0, -100%, 0)"
|
|
@@ -5576,7 +5585,7 @@ const {
|
|
|
5576
5585
|
opacity: 1,
|
|
5577
5586
|
transform: "translate3d(0, 0, 0)"
|
|
5578
5587
|
}
|
|
5579
|
-
}),
|
|
5588
|
+
}), ml = new x("fadeInUp", {
|
|
5580
5589
|
from: {
|
|
5581
5590
|
opacity: 0,
|
|
5582
5591
|
transform: "translate3d(0, 100%, 0)"
|
|
@@ -5585,7 +5594,7 @@ const {
|
|
|
5585
5594
|
opacity: 1,
|
|
5586
5595
|
transform: "translate3d(0, 0, 0)"
|
|
5587
5596
|
}
|
|
5588
|
-
}),
|
|
5597
|
+
}), fl = new x("fadeInDownBig", {
|
|
5589
5598
|
from: {
|
|
5590
5599
|
opacity: 0,
|
|
5591
5600
|
transform: "translate3d(0, -2000px, 0)"
|
|
@@ -5594,7 +5603,7 @@ const {
|
|
|
5594
5603
|
opacity: 1,
|
|
5595
5604
|
transform: "translate3d(0, 0, 0)"
|
|
5596
5605
|
}
|
|
5597
|
-
}),
|
|
5606
|
+
}), hl = new x("fadeInUpBig", {
|
|
5598
5607
|
from: {
|
|
5599
5608
|
opacity: 0,
|
|
5600
5609
|
transform: "translate3d(0, 2000px, 0)"
|
|
@@ -5603,7 +5612,7 @@ const {
|
|
|
5603
5612
|
opacity: 1,
|
|
5604
5613
|
transform: "translate3d(0, 0, 0)"
|
|
5605
5614
|
}
|
|
5606
|
-
}),
|
|
5615
|
+
}), gl = new x("fadeInLeftBig", {
|
|
5607
5616
|
from: {
|
|
5608
5617
|
opacity: 0,
|
|
5609
5618
|
transform: "translate3d(-2000px, 0, 0)"
|
|
@@ -5612,7 +5621,7 @@ const {
|
|
|
5612
5621
|
opacity: 1,
|
|
5613
5622
|
transform: "translate3d(0, 0, 0)"
|
|
5614
5623
|
}
|
|
5615
|
-
}),
|
|
5624
|
+
}), yl = new x("fadeInRightBig", {
|
|
5616
5625
|
from: {
|
|
5617
5626
|
opacity: 0,
|
|
5618
5627
|
transform: "translate3d(2000px, 0, 0)"
|
|
@@ -5621,7 +5630,7 @@ const {
|
|
|
5621
5630
|
opacity: 1,
|
|
5622
5631
|
transform: "translate3d(0, 0, 0)"
|
|
5623
5632
|
}
|
|
5624
|
-
}),
|
|
5633
|
+
}), bl = new x("fadeInTopLeft", {
|
|
5625
5634
|
from: {
|
|
5626
5635
|
opacity: 0,
|
|
5627
5636
|
transform: "translate3d(-100%, -100%, 0)"
|
|
@@ -5630,7 +5639,7 @@ const {
|
|
|
5630
5639
|
opacity: 1,
|
|
5631
5640
|
transform: "translate3d(0, 0, 0)"
|
|
5632
5641
|
}
|
|
5633
|
-
}),
|
|
5642
|
+
}), vl = new x("fadeInBottomRight", {
|
|
5634
5643
|
from: {
|
|
5635
5644
|
opacity: 0,
|
|
5636
5645
|
transform: "translate3d(100%, 100%, 0)"
|
|
@@ -5639,7 +5648,7 @@ const {
|
|
|
5639
5648
|
opacity: 1,
|
|
5640
5649
|
transform: "translate3d(0, 0, 0)"
|
|
5641
5650
|
}
|
|
5642
|
-
}),
|
|
5651
|
+
}), pl = new x("fadeInTopRight", {
|
|
5643
5652
|
from: {
|
|
5644
5653
|
opacity: 0,
|
|
5645
5654
|
transform: "translate3d(100%, -100%, 0)"
|
|
@@ -5648,7 +5657,7 @@ const {
|
|
|
5648
5657
|
opacity: 1,
|
|
5649
5658
|
transform: "translate3d(0, 0, 0)"
|
|
5650
5659
|
}
|
|
5651
|
-
}),
|
|
5660
|
+
}), Cl = new x("fadeInBottomLeft", {
|
|
5652
5661
|
from: {
|
|
5653
5662
|
opacity: 0,
|
|
5654
5663
|
transform: "translate3d(-100%, 100%, 0)"
|
|
@@ -5657,14 +5666,14 @@ const {
|
|
|
5657
5666
|
opacity: 1,
|
|
5658
5667
|
transform: "translate3d(0, 0, 0)"
|
|
5659
5668
|
}
|
|
5660
|
-
}),
|
|
5669
|
+
}), xl = new x("fadeOut", {
|
|
5661
5670
|
from: {
|
|
5662
5671
|
opacity: 1
|
|
5663
5672
|
},
|
|
5664
5673
|
to: {
|
|
5665
5674
|
opacity: 0
|
|
5666
5675
|
}
|
|
5667
|
-
}),
|
|
5676
|
+
}), Sl = new x("fadeOutLeft", {
|
|
5668
5677
|
from: {
|
|
5669
5678
|
opacity: 1
|
|
5670
5679
|
},
|
|
@@ -5672,7 +5681,7 @@ const {
|
|
|
5672
5681
|
opacity: 0,
|
|
5673
5682
|
transform: "translate3d(-100%, 0, 0)"
|
|
5674
5683
|
}
|
|
5675
|
-
}),
|
|
5684
|
+
}), Il = new x("fadeOutRight", {
|
|
5676
5685
|
from: {
|
|
5677
5686
|
opacity: 1
|
|
5678
5687
|
},
|
|
@@ -5680,7 +5689,7 @@ const {
|
|
|
5680
5689
|
opacity: 0,
|
|
5681
5690
|
transform: "translate3d(100%, 0, 0)"
|
|
5682
5691
|
}
|
|
5683
|
-
}),
|
|
5692
|
+
}), wl = new x("fadeOutDown", {
|
|
5684
5693
|
from: {
|
|
5685
5694
|
opacity: 1
|
|
5686
5695
|
},
|
|
@@ -5688,7 +5697,7 @@ const {
|
|
|
5688
5697
|
opacity: 0,
|
|
5689
5698
|
transform: "translate3d(0, 100%, 0)"
|
|
5690
5699
|
}
|
|
5691
|
-
}),
|
|
5700
|
+
}), Rl = new x("fadeOutUp", {
|
|
5692
5701
|
from: {
|
|
5693
5702
|
opacity: 1
|
|
5694
5703
|
},
|
|
@@ -5696,7 +5705,7 @@ const {
|
|
|
5696
5705
|
opacity: 0,
|
|
5697
5706
|
transform: "translate3d(0, -100%, 0)"
|
|
5698
5707
|
}
|
|
5699
|
-
}),
|
|
5708
|
+
}), $l = new x("fadeOutDownBig", {
|
|
5700
5709
|
from: {
|
|
5701
5710
|
opacity: 1
|
|
5702
5711
|
},
|
|
@@ -5704,7 +5713,7 @@ const {
|
|
|
5704
5713
|
opacity: 0,
|
|
5705
5714
|
transform: "translate3d(0, 2000px, 0)"
|
|
5706
5715
|
}
|
|
5707
|
-
}),
|
|
5716
|
+
}), Bl = new x("fadeOutUpBig", {
|
|
5708
5717
|
from: {
|
|
5709
5718
|
opacity: 1
|
|
5710
5719
|
},
|
|
@@ -5712,7 +5721,7 @@ const {
|
|
|
5712
5721
|
opacity: 0,
|
|
5713
5722
|
transform: "translate3d(0, -2000px, 0)"
|
|
5714
5723
|
}
|
|
5715
|
-
}),
|
|
5724
|
+
}), Ml = new x("fadeOutLeftBig", {
|
|
5716
5725
|
from: {
|
|
5717
5726
|
opacity: 1
|
|
5718
5727
|
},
|
|
@@ -5720,7 +5729,7 @@ const {
|
|
|
5720
5729
|
opacity: 0,
|
|
5721
5730
|
transform: "translate3d(-2000px, 0, 0)"
|
|
5722
5731
|
}
|
|
5723
|
-
}),
|
|
5732
|
+
}), Ll = new x("fadeOutRightBig", {
|
|
5724
5733
|
from: {
|
|
5725
5734
|
opacity: 1
|
|
5726
5735
|
},
|
|
@@ -5728,7 +5737,7 @@ const {
|
|
|
5728
5737
|
opacity: 0,
|
|
5729
5738
|
transform: "translate3d(2000px, 0, 0)"
|
|
5730
5739
|
}
|
|
5731
|
-
}),
|
|
5740
|
+
}), Ol = new x("fadeOutTopLeft", {
|
|
5732
5741
|
from: {
|
|
5733
5742
|
opacity: 1,
|
|
5734
5743
|
transform: "translate3d(0, 0, 0)"
|
|
@@ -5737,7 +5746,7 @@ const {
|
|
|
5737
5746
|
opacity: 0,
|
|
5738
5747
|
transform: "translate3d(-100%, -100%, 0)"
|
|
5739
5748
|
}
|
|
5740
|
-
}),
|
|
5749
|
+
}), Fl = new x("fadeOutBottomRight", {
|
|
5741
5750
|
from: {
|
|
5742
5751
|
opacity: 1,
|
|
5743
5752
|
transform: "translate3d(0, 0, 0)"
|
|
@@ -5746,7 +5755,7 @@ const {
|
|
|
5746
5755
|
opacity: 0,
|
|
5747
5756
|
transform: "translate3d(100%, 100%, 0)"
|
|
5748
5757
|
}
|
|
5749
|
-
}),
|
|
5758
|
+
}), kl = new x("fadeOutTopRight", {
|
|
5750
5759
|
from: {
|
|
5751
5760
|
opacity: 1,
|
|
5752
5761
|
transform: "translate3d(0, 0, 0)"
|
|
@@ -5755,7 +5764,7 @@ const {
|
|
|
5755
5764
|
opacity: 0,
|
|
5756
5765
|
transform: "translate3d(100%, -100%, 0)"
|
|
5757
5766
|
}
|
|
5758
|
-
}),
|
|
5767
|
+
}), Tl = new x("fadeOutBottomLeft", {
|
|
5759
5768
|
from: {
|
|
5760
5769
|
opacity: 1,
|
|
5761
5770
|
transform: "translate3d(0, 0, 0)"
|
|
@@ -5764,113 +5773,113 @@ const {
|
|
|
5764
5773
|
opacity: 0,
|
|
5765
5774
|
transform: "translate3d(-100%, 100%, 0)"
|
|
5766
5775
|
}
|
|
5767
|
-
}),
|
|
5776
|
+
}), Pl = () => ({
|
|
5768
5777
|
"&.fadeIn": {
|
|
5769
5778
|
animationFillMode: "both",
|
|
5770
|
-
animationName:
|
|
5779
|
+
animationName: sl
|
|
5771
5780
|
},
|
|
5772
5781
|
"&.fadeInLeft": {
|
|
5773
5782
|
animationFillMode: "both",
|
|
5774
|
-
animationName:
|
|
5783
|
+
animationName: cl
|
|
5775
5784
|
},
|
|
5776
5785
|
"&.fadeInRight": {
|
|
5777
5786
|
animationFillMode: "both",
|
|
5778
|
-
animationName:
|
|
5787
|
+
animationName: ul
|
|
5779
5788
|
},
|
|
5780
5789
|
"&.fadeInDown": {
|
|
5781
5790
|
animationFillMode: "both",
|
|
5782
|
-
animationName:
|
|
5791
|
+
animationName: dl
|
|
5783
5792
|
},
|
|
5784
5793
|
"&.fadeInUp": {
|
|
5785
5794
|
animationFillMode: "both",
|
|
5786
|
-
animationName:
|
|
5795
|
+
animationName: ml
|
|
5787
5796
|
},
|
|
5788
5797
|
"&.fadeInLeftBig": {
|
|
5789
5798
|
animationFillMode: "both",
|
|
5790
|
-
animationName:
|
|
5799
|
+
animationName: gl
|
|
5791
5800
|
},
|
|
5792
5801
|
"&.fadeInRightBig": {
|
|
5793
5802
|
animationFillMode: "both",
|
|
5794
|
-
animationName:
|
|
5803
|
+
animationName: yl
|
|
5795
5804
|
},
|
|
5796
5805
|
"&.fadeInUpBig": {
|
|
5797
5806
|
animationFillMode: "both",
|
|
5798
|
-
animationName:
|
|
5807
|
+
animationName: hl
|
|
5799
5808
|
},
|
|
5800
5809
|
"&.fadeInDownBig": {
|
|
5801
5810
|
animationFillMode: "both",
|
|
5802
|
-
animationName:
|
|
5811
|
+
animationName: fl
|
|
5803
5812
|
},
|
|
5804
5813
|
"&.fadeInTopLeft": {
|
|
5805
5814
|
animationFillMode: "both",
|
|
5806
|
-
animationName:
|
|
5815
|
+
animationName: bl
|
|
5807
5816
|
},
|
|
5808
5817
|
"&.fadeInBottomRight": {
|
|
5809
5818
|
animationFillMode: "both",
|
|
5810
|
-
animationName:
|
|
5819
|
+
animationName: vl
|
|
5811
5820
|
},
|
|
5812
5821
|
"&.fadeInTopRight": {
|
|
5813
5822
|
animationFillMode: "both",
|
|
5814
|
-
animationName:
|
|
5823
|
+
animationName: pl
|
|
5815
5824
|
},
|
|
5816
5825
|
"&.fadeInBottomLeft": {
|
|
5817
5826
|
animationFillMode: "both",
|
|
5818
|
-
animationName:
|
|
5827
|
+
animationName: Cl
|
|
5819
5828
|
}
|
|
5820
|
-
}),
|
|
5829
|
+
}), Nl = () => ({
|
|
5821
5830
|
"&.fadeOut": {
|
|
5822
5831
|
animationFillMode: "both",
|
|
5823
|
-
animationName:
|
|
5832
|
+
animationName: xl
|
|
5824
5833
|
},
|
|
5825
5834
|
"&.fadeOutLeft": {
|
|
5826
5835
|
animationFillMode: "both",
|
|
5827
|
-
animationName:
|
|
5836
|
+
animationName: Sl
|
|
5828
5837
|
},
|
|
5829
5838
|
"&.fadeOutRight": {
|
|
5830
5839
|
animationFillMode: "both",
|
|
5831
|
-
animationName:
|
|
5840
|
+
animationName: Il
|
|
5832
5841
|
},
|
|
5833
5842
|
"&.fadeOutDown": {
|
|
5834
5843
|
animationFillMode: "both",
|
|
5835
|
-
animationName:
|
|
5844
|
+
animationName: wl
|
|
5836
5845
|
},
|
|
5837
5846
|
"&.fadeOutUp": {
|
|
5838
5847
|
animationFillMode: "both",
|
|
5839
|
-
animationName:
|
|
5848
|
+
animationName: Rl
|
|
5840
5849
|
},
|
|
5841
5850
|
"&.fadeOutDownBig": {
|
|
5842
5851
|
animationFillMode: "both",
|
|
5843
|
-
animationName:
|
|
5852
|
+
animationName: $l
|
|
5844
5853
|
},
|
|
5845
5854
|
"&.fadeOutUpBig": {
|
|
5846
5855
|
animationFillMode: "both",
|
|
5847
|
-
animationName:
|
|
5856
|
+
animationName: Bl
|
|
5848
5857
|
},
|
|
5849
5858
|
"&.fadeOutLeftBig": {
|
|
5850
5859
|
animationFillMode: "both",
|
|
5851
|
-
animationName:
|
|
5860
|
+
animationName: Ml
|
|
5852
5861
|
},
|
|
5853
5862
|
"&.fadeOutRightBig": {
|
|
5854
5863
|
animationFillMode: "both",
|
|
5855
|
-
animationName:
|
|
5864
|
+
animationName: Ll
|
|
5856
5865
|
},
|
|
5857
5866
|
"&.fadeOutTopLeft": {
|
|
5858
5867
|
animationFillMode: "both",
|
|
5859
|
-
animationName:
|
|
5868
|
+
animationName: Ol
|
|
5860
5869
|
},
|
|
5861
5870
|
"&.fadeOutBottomRight": {
|
|
5862
5871
|
animationFillMode: "both",
|
|
5863
|
-
animationName:
|
|
5872
|
+
animationName: Fl
|
|
5864
5873
|
},
|
|
5865
5874
|
"&.fadeOutTopRight": {
|
|
5866
5875
|
animationFillMode: "both",
|
|
5867
|
-
animationName:
|
|
5876
|
+
animationName: kl
|
|
5868
5877
|
},
|
|
5869
5878
|
"&.fadeOutBottomLeft": {
|
|
5870
5879
|
animationFillMode: "both",
|
|
5871
|
-
animationName:
|
|
5880
|
+
animationName: Tl
|
|
5872
5881
|
}
|
|
5873
|
-
}),
|
|
5882
|
+
}), zl = new x("flipInX", {
|
|
5874
5883
|
from: {
|
|
5875
5884
|
opacity: 0,
|
|
5876
5885
|
animationTimingFunction: "ease-in",
|
|
@@ -5890,7 +5899,7 @@ const {
|
|
|
5890
5899
|
to: {
|
|
5891
5900
|
transform: "perspective(400px)"
|
|
5892
5901
|
}
|
|
5893
|
-
}),
|
|
5902
|
+
}), Dl = new x("flipInY", {
|
|
5894
5903
|
from: {
|
|
5895
5904
|
opacity: 0,
|
|
5896
5905
|
animationTimingFunction: "ease-in",
|
|
@@ -5910,7 +5919,7 @@ const {
|
|
|
5910
5919
|
to: {
|
|
5911
5920
|
transform: "perspective(400px)"
|
|
5912
5921
|
}
|
|
5913
|
-
}),
|
|
5922
|
+
}), Al = new x("flipOutX", {
|
|
5914
5923
|
from: {
|
|
5915
5924
|
transform: "perspective(400px)"
|
|
5916
5925
|
},
|
|
@@ -5922,7 +5931,7 @@ const {
|
|
|
5922
5931
|
opacity: 0,
|
|
5923
5932
|
transform: "perspective(400px) rotate3d(1, 0, 0, 90deg)"
|
|
5924
5933
|
}
|
|
5925
|
-
}),
|
|
5934
|
+
}), Hl = new x("flipOutY", {
|
|
5926
5935
|
from: {
|
|
5927
5936
|
transform: "perspective(400px)"
|
|
5928
5937
|
},
|
|
@@ -5934,31 +5943,31 @@ const {
|
|
|
5934
5943
|
opacity: 0,
|
|
5935
5944
|
transform: "perspective(400px) rotate3d(0, 1, 0, 90deg)"
|
|
5936
5945
|
}
|
|
5937
|
-
}),
|
|
5946
|
+
}), jl = () => ({
|
|
5938
5947
|
"&.flipInX": {
|
|
5939
5948
|
animationFillMode: "both",
|
|
5940
5949
|
backfaceVisibility: "visible !important",
|
|
5941
|
-
animationName:
|
|
5950
|
+
animationName: zl
|
|
5942
5951
|
},
|
|
5943
5952
|
"&.flipInY": {
|
|
5944
5953
|
animationFillMode: "both",
|
|
5945
5954
|
backfaceVisibility: "visible !important",
|
|
5946
|
-
animationName:
|
|
5955
|
+
animationName: Dl
|
|
5947
5956
|
}
|
|
5948
|
-
}),
|
|
5957
|
+
}), El = () => ({
|
|
5949
5958
|
"&.flipOutX": {
|
|
5950
5959
|
animationFillMode: "both",
|
|
5951
5960
|
backfaceVisibility: "visible !important",
|
|
5952
5961
|
animationDuration: `${0.3 * 0.75}s !important`,
|
|
5953
|
-
animationName:
|
|
5962
|
+
animationName: Al
|
|
5954
5963
|
},
|
|
5955
5964
|
"&.flipOutY": {
|
|
5956
5965
|
animationFillMode: "both",
|
|
5957
5966
|
backfaceVisibility: "visible !important",
|
|
5958
5967
|
animationDuration: `${0.3 * 0.75}s !important`,
|
|
5959
|
-
animationName:
|
|
5968
|
+
animationName: Hl
|
|
5960
5969
|
}
|
|
5961
|
-
}),
|
|
5970
|
+
}), Kl = new x("lightSpeedInLeft", {
|
|
5962
5971
|
from: {
|
|
5963
5972
|
opacity: 0,
|
|
5964
5973
|
transform: "translate3d(-100%, 0, 0) skewX(30deg)"
|
|
@@ -5973,7 +5982,7 @@ const {
|
|
|
5973
5982
|
to: {
|
|
5974
5983
|
transform: "translate3d(0, 0, 0)"
|
|
5975
5984
|
}
|
|
5976
|
-
}),
|
|
5985
|
+
}), Wl = new x("lightSpeedInRight", {
|
|
5977
5986
|
from: {
|
|
5978
5987
|
opacity: 0,
|
|
5979
5988
|
transform: "translate3d(100%, 0, 0) skewX(-30deg)"
|
|
@@ -5988,7 +5997,7 @@ const {
|
|
|
5988
5997
|
to: {
|
|
5989
5998
|
transform: "translate3d(0, 0, 0)"
|
|
5990
5999
|
}
|
|
5991
|
-
}),
|
|
6000
|
+
}), Ul = new x("lightSpeedOutLeft", {
|
|
5992
6001
|
from: {
|
|
5993
6002
|
opacity: 1
|
|
5994
6003
|
},
|
|
@@ -5996,7 +6005,7 @@ const {
|
|
|
5996
6005
|
opacity: 0,
|
|
5997
6006
|
transform: "translate3d(-100%, 0, 0) skewX(-30deg)"
|
|
5998
6007
|
}
|
|
5999
|
-
}),
|
|
6008
|
+
}), _l = new x("lightSpeedOutRight", {
|
|
6000
6009
|
from: {
|
|
6001
6010
|
opacity: 1
|
|
6002
6011
|
},
|
|
@@ -6004,29 +6013,29 @@ const {
|
|
|
6004
6013
|
opacity: 0,
|
|
6005
6014
|
transform: "translate3d(100%, 0, 0) skewX(30deg)"
|
|
6006
6015
|
}
|
|
6007
|
-
}),
|
|
6016
|
+
}), Xl = () => ({
|
|
6008
6017
|
"&.lightSpeedInLeft": {
|
|
6009
6018
|
animationFillMode: "both",
|
|
6010
6019
|
animationTimingFunction: "ease-out",
|
|
6011
|
-
animationName:
|
|
6020
|
+
animationName: Kl
|
|
6012
6021
|
},
|
|
6013
6022
|
"&.lightSpeedInRight": {
|
|
6014
6023
|
animationFillMode: "both",
|
|
6015
6024
|
animationTimingFunction: "ease-out",
|
|
6016
|
-
animationName:
|
|
6025
|
+
animationName: Wl
|
|
6017
6026
|
}
|
|
6018
|
-
}),
|
|
6027
|
+
}), Vl = () => ({
|
|
6019
6028
|
"&.lightSpeedOutLeft": {
|
|
6020
6029
|
animationFillMode: "both",
|
|
6021
6030
|
animationTimingFunction: "ease-in",
|
|
6022
|
-
animationName:
|
|
6031
|
+
animationName: Ul
|
|
6023
6032
|
},
|
|
6024
6033
|
"&.lightSpeedOutRight": {
|
|
6025
6034
|
animationFillMode: "both",
|
|
6026
6035
|
animationTimingFunction: "ease-in",
|
|
6027
|
-
animationName:
|
|
6036
|
+
animationName: _l
|
|
6028
6037
|
}
|
|
6029
|
-
}),
|
|
6038
|
+
}), Gl = new x("rotateIn", {
|
|
6030
6039
|
from: {
|
|
6031
6040
|
opacity: 0,
|
|
6032
6041
|
transform: "rotate3d(0, 0, 1, -200deg)"
|
|
@@ -6035,7 +6044,7 @@ const {
|
|
|
6035
6044
|
opacity: 1,
|
|
6036
6045
|
transform: "translate3d(0, 0, 0)"
|
|
6037
6046
|
}
|
|
6038
|
-
}),
|
|
6047
|
+
}), Yl = new x("rotateInDownLeft", {
|
|
6039
6048
|
from: {
|
|
6040
6049
|
opacity: 0,
|
|
6041
6050
|
transform: "rotate3d(0, 0, 1, -45deg)"
|
|
@@ -6044,7 +6053,7 @@ const {
|
|
|
6044
6053
|
opacity: 1,
|
|
6045
6054
|
transform: "translate3d(0, 0, 0)"
|
|
6046
6055
|
}
|
|
6047
|
-
}),
|
|
6056
|
+
}), ql = new x("rotateInDownRight", {
|
|
6048
6057
|
from: {
|
|
6049
6058
|
opacity: 0,
|
|
6050
6059
|
transform: "rotate3d(0, 0, 1, 45deg)"
|
|
@@ -6053,7 +6062,7 @@ const {
|
|
|
6053
6062
|
opacity: 1,
|
|
6054
6063
|
transform: "translate3d(0, 0, 0)"
|
|
6055
6064
|
}
|
|
6056
|
-
}),
|
|
6065
|
+
}), Ql = new x("rotateInUpLeft", {
|
|
6057
6066
|
from: {
|
|
6058
6067
|
opacity: 0,
|
|
6059
6068
|
transform: "rotate3d(0, 0, 1, 45deg)"
|
|
@@ -6062,7 +6071,7 @@ const {
|
|
|
6062
6071
|
opacity: 1,
|
|
6063
6072
|
transform: "translate3d(0, 0, 0)"
|
|
6064
6073
|
}
|
|
6065
|
-
}),
|
|
6074
|
+
}), Zl = new x("rotateInUpRight", {
|
|
6066
6075
|
from: {
|
|
6067
6076
|
opacity: 0,
|
|
6068
6077
|
transform: "rotate3d(0, 0, 1, -90deg)"
|
|
@@ -6071,7 +6080,7 @@ const {
|
|
|
6071
6080
|
opacity: 1,
|
|
6072
6081
|
transform: "translate3d(0, 0, 0)"
|
|
6073
6082
|
}
|
|
6074
|
-
}),
|
|
6083
|
+
}), Jl = new x("rotateOut", {
|
|
6075
6084
|
from: {
|
|
6076
6085
|
opacity: 1
|
|
6077
6086
|
},
|
|
@@ -6079,7 +6088,7 @@ const {
|
|
|
6079
6088
|
opacity: 0,
|
|
6080
6089
|
transform: "rotate3d(0, 0, 1, 200deg)"
|
|
6081
6090
|
}
|
|
6082
|
-
}),
|
|
6091
|
+
}), er = new x("rotateOutDownLeft", {
|
|
6083
6092
|
from: {
|
|
6084
6093
|
opacity: 1
|
|
6085
6094
|
},
|
|
@@ -6087,7 +6096,7 @@ const {
|
|
|
6087
6096
|
opacity: 0,
|
|
6088
6097
|
transform: "rotate3d(0, 0, 1, 45deg)"
|
|
6089
6098
|
}
|
|
6090
|
-
}),
|
|
6099
|
+
}), tr = new x("rotateOutDownRight", {
|
|
6091
6100
|
from: {
|
|
6092
6101
|
opacity: 1
|
|
6093
6102
|
},
|
|
@@ -6095,7 +6104,7 @@ const {
|
|
|
6095
6104
|
opacity: 0,
|
|
6096
6105
|
transform: "rotate3d(0, 0, 1, -45deg)"
|
|
6097
6106
|
}
|
|
6098
|
-
}),
|
|
6107
|
+
}), nr = new x("rotateOutUpLeft", {
|
|
6099
6108
|
from: {
|
|
6100
6109
|
opacity: 1
|
|
6101
6110
|
},
|
|
@@ -6103,7 +6112,7 @@ const {
|
|
|
6103
6112
|
opacity: 0,
|
|
6104
6113
|
transform: "rotate3d(0, 0, 1, -45deg)"
|
|
6105
6114
|
}
|
|
6106
|
-
}),
|
|
6115
|
+
}), ar = new x("rotateOutUpRight", {
|
|
6107
6116
|
from: {
|
|
6108
6117
|
opacity: 1
|
|
6109
6118
|
},
|
|
@@ -6111,59 +6120,59 @@ const {
|
|
|
6111
6120
|
opacity: 0,
|
|
6112
6121
|
transform: "rotate3d(0, 0, 1, 90deg)"
|
|
6113
6122
|
}
|
|
6114
|
-
}),
|
|
6123
|
+
}), or = () => ({
|
|
6115
6124
|
"&.rotateIn": {
|
|
6116
6125
|
animationFillMode: "both",
|
|
6117
6126
|
transformOrigin: "center",
|
|
6118
|
-
animationName:
|
|
6127
|
+
animationName: Gl
|
|
6119
6128
|
},
|
|
6120
6129
|
"&.rotateInDownLeft": {
|
|
6121
6130
|
animationFillMode: "both",
|
|
6122
6131
|
transformOrigin: "left bottom",
|
|
6123
|
-
animationName:
|
|
6132
|
+
animationName: Yl
|
|
6124
6133
|
},
|
|
6125
6134
|
"&.rotateInDownRight": {
|
|
6126
6135
|
animationFillMode: "both",
|
|
6127
6136
|
transformOrigin: "right bottom",
|
|
6128
|
-
animationName:
|
|
6137
|
+
animationName: ql
|
|
6129
6138
|
},
|
|
6130
6139
|
"&.rotateInUpLeft": {
|
|
6131
6140
|
animationFillMode: "both",
|
|
6132
6141
|
transformOrigin: "left bottom",
|
|
6133
|
-
animationName:
|
|
6142
|
+
animationName: Ql
|
|
6134
6143
|
},
|
|
6135
6144
|
"&.rotateInUpRight": {
|
|
6136
6145
|
animationFillMode: "both",
|
|
6137
6146
|
transformOrigin: "right bottom",
|
|
6138
|
-
animationName:
|
|
6147
|
+
animationName: Zl
|
|
6139
6148
|
}
|
|
6140
|
-
}),
|
|
6149
|
+
}), ir = () => ({
|
|
6141
6150
|
"&.rotateOut": {
|
|
6142
6151
|
animationFillMode: "both",
|
|
6143
6152
|
transformOrigin: "center",
|
|
6144
|
-
animationName:
|
|
6153
|
+
animationName: Jl
|
|
6145
6154
|
},
|
|
6146
6155
|
"&.rotateOutDownLeft": {
|
|
6147
6156
|
animationFillMode: "both",
|
|
6148
6157
|
transformOrigin: "left bottom",
|
|
6149
|
-
animationName:
|
|
6158
|
+
animationName: er
|
|
6150
6159
|
},
|
|
6151
6160
|
"&.rotateOutDownRight": {
|
|
6152
6161
|
animationFillMode: "both",
|
|
6153
6162
|
transformOrigin: "right bottom",
|
|
6154
|
-
animationName:
|
|
6163
|
+
animationName: tr
|
|
6155
6164
|
},
|
|
6156
6165
|
"&.rotateOutUpLeft": {
|
|
6157
6166
|
animationFillMode: "both",
|
|
6158
6167
|
transformOrigin: "left bottom",
|
|
6159
|
-
animationName:
|
|
6168
|
+
animationName: nr
|
|
6160
6169
|
},
|
|
6161
6170
|
"&.rotateOutUpRight": {
|
|
6162
6171
|
animationFillMode: "both",
|
|
6163
6172
|
transformOrigin: "right bottom",
|
|
6164
|
-
animationName:
|
|
6173
|
+
animationName: ar
|
|
6165
6174
|
}
|
|
6166
|
-
}),
|
|
6175
|
+
}), lr = new x("rollIn", {
|
|
6167
6176
|
from: {
|
|
6168
6177
|
opacity: 0,
|
|
6169
6178
|
transform: "translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg)"
|
|
@@ -6172,7 +6181,7 @@ const {
|
|
|
6172
6181
|
opacity: 1,
|
|
6173
6182
|
transform: "translate3d(0, 0, 0)"
|
|
6174
6183
|
}
|
|
6175
|
-
}),
|
|
6184
|
+
}), rr = new x("rollOut", {
|
|
6176
6185
|
from: {
|
|
6177
6186
|
opacity: 1
|
|
6178
6187
|
},
|
|
@@ -6180,17 +6189,17 @@ const {
|
|
|
6180
6189
|
opacity: 0,
|
|
6181
6190
|
transform: "translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg)"
|
|
6182
6191
|
}
|
|
6183
|
-
}),
|
|
6192
|
+
}), sr = () => ({
|
|
6184
6193
|
"&.rollIn": {
|
|
6185
6194
|
animationFillMode: "both",
|
|
6186
|
-
animationName:
|
|
6195
|
+
animationName: lr
|
|
6187
6196
|
}
|
|
6188
|
-
}),
|
|
6197
|
+
}), cr = () => ({
|
|
6189
6198
|
"&.rollOut": {
|
|
6190
6199
|
animationFillMode: "both",
|
|
6191
|
-
animationName:
|
|
6200
|
+
animationName: rr
|
|
6192
6201
|
}
|
|
6193
|
-
}),
|
|
6202
|
+
}), ur = new x("zoomIn", {
|
|
6194
6203
|
from: {
|
|
6195
6204
|
opacity: 0,
|
|
6196
6205
|
transform: "scale3d(0.3, 0.3, 0.3)"
|
|
@@ -6198,7 +6207,7 @@ const {
|
|
|
6198
6207
|
"50%": {
|
|
6199
6208
|
opacity: 1
|
|
6200
6209
|
}
|
|
6201
|
-
}),
|
|
6210
|
+
}), dr = new x("zoomInDown", {
|
|
6202
6211
|
from: {
|
|
6203
6212
|
opacity: 0,
|
|
6204
6213
|
transform: "scale3d(0.1, 0.1, 0.1) translate3d(0, -1000px, 0)",
|
|
@@ -6209,7 +6218,7 @@ const {
|
|
|
6209
6218
|
transform: "scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0)",
|
|
6210
6219
|
animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
|
|
6211
6220
|
}
|
|
6212
|
-
}),
|
|
6221
|
+
}), mr = new x("zoomInLeft", {
|
|
6213
6222
|
from: {
|
|
6214
6223
|
opacity: 0,
|
|
6215
6224
|
transform: "scale3d(0.1, 0.1, 0.1) translate3d(-1000px, 0, 0)",
|
|
@@ -6220,7 +6229,7 @@ const {
|
|
|
6220
6229
|
transform: "scale3d(0.475, 0.475, 0.475) translate3d(10px, 0, 0)",
|
|
6221
6230
|
animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
|
|
6222
6231
|
}
|
|
6223
|
-
}),
|
|
6232
|
+
}), fr = new x("zoomInRight", {
|
|
6224
6233
|
from: {
|
|
6225
6234
|
opacity: 0,
|
|
6226
6235
|
transform: "scale3d(0.1, 0.1, 0.1) translate3d(1000px, 0, 0)",
|
|
@@ -6231,7 +6240,7 @@ const {
|
|
|
6231
6240
|
transform: "scale3d(0.475, 0.475, 0.475) translate3d(-10px, 0, 0)",
|
|
6232
6241
|
animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
|
|
6233
6242
|
}
|
|
6234
|
-
}),
|
|
6243
|
+
}), hr = new x("zoomInUp", {
|
|
6235
6244
|
from: {
|
|
6236
6245
|
opacity: 0,
|
|
6237
6246
|
transform: "scale3d(0.1, 0.1, 0.1) translate3d(0, 1000px, 0)",
|
|
@@ -6242,7 +6251,7 @@ const {
|
|
|
6242
6251
|
transform: "scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0)",
|
|
6243
6252
|
animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
|
|
6244
6253
|
}
|
|
6245
|
-
}),
|
|
6254
|
+
}), gr = new x("zoomOut", {
|
|
6246
6255
|
from: {
|
|
6247
6256
|
opacity: 1
|
|
6248
6257
|
},
|
|
@@ -6253,7 +6262,7 @@ const {
|
|
|
6253
6262
|
to: {
|
|
6254
6263
|
opacity: 0
|
|
6255
6264
|
}
|
|
6256
|
-
}),
|
|
6265
|
+
}), yr = new x("zoomOutDown", {
|
|
6257
6266
|
"40%": {
|
|
6258
6267
|
opacity: 1,
|
|
6259
6268
|
transform: "scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0)",
|
|
@@ -6264,7 +6273,7 @@ const {
|
|
|
6264
6273
|
transform: "scale3d(0.1, 0.1, 0.1) translate3d(0, 2000px, 0)",
|
|
6265
6274
|
animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
|
|
6266
6275
|
}
|
|
6267
|
-
}),
|
|
6276
|
+
}), br = new x("zoomOutLeft", {
|
|
6268
6277
|
"40%": {
|
|
6269
6278
|
opacity: 1,
|
|
6270
6279
|
transform: "scale3d(0.475, 0.475, 0.475) translate3d(42px, 0, 0)"
|
|
@@ -6273,7 +6282,7 @@ const {
|
|
|
6273
6282
|
opacity: 0,
|
|
6274
6283
|
transform: "scale(0.1) translate3d(-2000px, 0, 0)"
|
|
6275
6284
|
}
|
|
6276
|
-
}),
|
|
6285
|
+
}), vr = new x("zoomOutRight", {
|
|
6277
6286
|
"40%": {
|
|
6278
6287
|
opacity: 1,
|
|
6279
6288
|
transform: "scale3d(0.475, 0.475, 0.475) translate3d(-42px, 0, 0)"
|
|
@@ -6282,7 +6291,7 @@ const {
|
|
|
6282
6291
|
opacity: 0,
|
|
6283
6292
|
transform: "scale(0.1) translate3d(2000px, 0, 0)"
|
|
6284
6293
|
}
|
|
6285
|
-
}),
|
|
6294
|
+
}), pr = new x("zoomOutUp", {
|
|
6286
6295
|
"40%": {
|
|
6287
6296
|
opacity: 1,
|
|
6288
6297
|
transform: "scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0)",
|
|
@@ -6293,53 +6302,53 @@ const {
|
|
|
6293
6302
|
transform: "scale3d(0.1, 0.1, 0.1) translate3d(0, -2000px, 0)",
|
|
6294
6303
|
animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
|
|
6295
6304
|
}
|
|
6296
|
-
}),
|
|
6305
|
+
}), Cr = () => ({
|
|
6297
6306
|
"&.zoomIn": {
|
|
6298
6307
|
animationFillMode: "both",
|
|
6299
|
-
animationName:
|
|
6308
|
+
animationName: ur
|
|
6300
6309
|
},
|
|
6301
6310
|
"&.zoomInDown": {
|
|
6302
6311
|
animationFillMode: "both",
|
|
6303
|
-
animationName:
|
|
6312
|
+
animationName: dr
|
|
6304
6313
|
},
|
|
6305
6314
|
"&.zoomInLeft": {
|
|
6306
6315
|
animationFillMode: "both",
|
|
6307
|
-
animationName:
|
|
6316
|
+
animationName: mr
|
|
6308
6317
|
},
|
|
6309
6318
|
"&.zoomInRight": {
|
|
6310
6319
|
animationFillMode: "both",
|
|
6311
|
-
animationName:
|
|
6320
|
+
animationName: fr
|
|
6312
6321
|
},
|
|
6313
6322
|
"&.zoomInUp": {
|
|
6314
6323
|
animationFillMode: "both",
|
|
6315
|
-
animationName:
|
|
6324
|
+
animationName: hr
|
|
6316
6325
|
}
|
|
6317
|
-
}),
|
|
6326
|
+
}), xr = () => ({
|
|
6318
6327
|
"&.zoomOut": {
|
|
6319
6328
|
animationFillMode: "both",
|
|
6320
|
-
animationName:
|
|
6329
|
+
animationName: gr
|
|
6321
6330
|
},
|
|
6322
6331
|
"&.zoomOutDown": {
|
|
6323
6332
|
animationFillMode: "both",
|
|
6324
6333
|
transformOrigin: "center bottom",
|
|
6325
|
-
animationName:
|
|
6334
|
+
animationName: yr
|
|
6326
6335
|
},
|
|
6327
6336
|
"&.zoomOutLeft": {
|
|
6328
6337
|
animationFillMode: "both",
|
|
6329
6338
|
transformOrigin: "left center",
|
|
6330
|
-
animationName:
|
|
6339
|
+
animationName: br
|
|
6331
6340
|
},
|
|
6332
6341
|
"&.zoomOutRight": {
|
|
6333
6342
|
animationFillMode: "both",
|
|
6334
6343
|
transformOrigin: "right center",
|
|
6335
|
-
animationName:
|
|
6344
|
+
animationName: vr
|
|
6336
6345
|
},
|
|
6337
6346
|
"&.zoomOutUp": {
|
|
6338
6347
|
animationFillMode: "both",
|
|
6339
6348
|
transformOrigin: "center bottom",
|
|
6340
|
-
animationName:
|
|
6349
|
+
animationName: pr
|
|
6341
6350
|
}
|
|
6342
|
-
}),
|
|
6351
|
+
}), Sr = new x("slideInDown", {
|
|
6343
6352
|
from: {
|
|
6344
6353
|
transform: "translate3d(0, -100%, 0)",
|
|
6345
6354
|
visibility: "visible"
|
|
@@ -6347,7 +6356,7 @@ const {
|
|
|
6347
6356
|
to: {
|
|
6348
6357
|
transform: "translate3d(0, 0, 0)"
|
|
6349
6358
|
}
|
|
6350
|
-
}),
|
|
6359
|
+
}), Ir = new x("slideInLeft", {
|
|
6351
6360
|
from: {
|
|
6352
6361
|
transform: "translate3d(-100%, 0, 0)",
|
|
6353
6362
|
visibility: "visible"
|
|
@@ -6355,7 +6364,7 @@ const {
|
|
|
6355
6364
|
to: {
|
|
6356
6365
|
transform: "translate3d(0, 0, 0)"
|
|
6357
6366
|
}
|
|
6358
|
-
}),
|
|
6367
|
+
}), wr = new x("slideInRight", {
|
|
6359
6368
|
from: {
|
|
6360
6369
|
transform: "translate3d(100%, 0, 0)",
|
|
6361
6370
|
visibility: "visible"
|
|
@@ -6363,7 +6372,7 @@ const {
|
|
|
6363
6372
|
to: {
|
|
6364
6373
|
transform: "translate3d(0, 0, 0)"
|
|
6365
6374
|
}
|
|
6366
|
-
}),
|
|
6375
|
+
}), Rr = new x("slideInUp", {
|
|
6367
6376
|
from: {
|
|
6368
6377
|
transform: "translate3d(0, 100%, 0)",
|
|
6369
6378
|
visibility: "visible"
|
|
@@ -6371,7 +6380,7 @@ const {
|
|
|
6371
6380
|
to: {
|
|
6372
6381
|
transform: "translate3d(0, 0, 0)"
|
|
6373
6382
|
}
|
|
6374
|
-
}),
|
|
6383
|
+
}), $r = new x("slideOutDown", {
|
|
6375
6384
|
from: {
|
|
6376
6385
|
transform: "translate3d(0, 0, 0)"
|
|
6377
6386
|
},
|
|
@@ -6379,7 +6388,7 @@ const {
|
|
|
6379
6388
|
transform: "translate3d(0, 100%, 0)",
|
|
6380
6389
|
visibility: "hidden"
|
|
6381
6390
|
}
|
|
6382
|
-
}),
|
|
6391
|
+
}), Br = new x("slideOutLeft", {
|
|
6383
6392
|
from: {
|
|
6384
6393
|
transform: "translate3d(0, 0, 0)"
|
|
6385
6394
|
},
|
|
@@ -6387,7 +6396,7 @@ const {
|
|
|
6387
6396
|
transform: "translate3d(-100%, 0, 0)",
|
|
6388
6397
|
visibility: "hidden"
|
|
6389
6398
|
}
|
|
6390
|
-
}),
|
|
6399
|
+
}), Mr = new x("slideOutRight", {
|
|
6391
6400
|
from: {
|
|
6392
6401
|
transform: "translate3d(0, 0, 0)"
|
|
6393
6402
|
},
|
|
@@ -6395,7 +6404,7 @@ const {
|
|
|
6395
6404
|
transform: "translate3d(100%, 0, 0)",
|
|
6396
6405
|
visibility: "hidden"
|
|
6397
6406
|
}
|
|
6398
|
-
}),
|
|
6407
|
+
}), Lr = new x("slideOutUp", {
|
|
6399
6408
|
from: {
|
|
6400
6409
|
transform: "translate3d(0, 0, 0)"
|
|
6401
6410
|
},
|
|
@@ -6403,57 +6412,43 @@ const {
|
|
|
6403
6412
|
transform: "translate3d(0, -100%, 0)",
|
|
6404
6413
|
visibility: "hidden"
|
|
6405
6414
|
}
|
|
6406
|
-
}),
|
|
6415
|
+
}), Or = () => ({
|
|
6407
6416
|
"&.slideInDown": {
|
|
6408
6417
|
animationFillMode: "both",
|
|
6409
|
-
animationName:
|
|
6418
|
+
animationName: Sr
|
|
6410
6419
|
},
|
|
6411
6420
|
"&.slideInLeft": {
|
|
6412
6421
|
animationFillMode: "both",
|
|
6413
|
-
animationName:
|
|
6422
|
+
animationName: Ir
|
|
6414
6423
|
},
|
|
6415
6424
|
"&.slideInRight": {
|
|
6416
6425
|
animationFillMode: "both",
|
|
6417
|
-
animationName:
|
|
6426
|
+
animationName: wr
|
|
6418
6427
|
},
|
|
6419
6428
|
"&.slideInUp": {
|
|
6420
6429
|
animationFillMode: "both",
|
|
6421
|
-
animationName:
|
|
6430
|
+
animationName: Rr
|
|
6422
6431
|
}
|
|
6423
|
-
}),
|
|
6432
|
+
}), Fr = () => ({
|
|
6424
6433
|
"&.slideOutDown": {
|
|
6425
6434
|
animationFillMode: "both",
|
|
6426
|
-
animationName:
|
|
6435
|
+
animationName: $r
|
|
6427
6436
|
},
|
|
6428
6437
|
"&.slideOutLeft": {
|
|
6429
6438
|
animationFillMode: "both",
|
|
6430
|
-
animationName:
|
|
6439
|
+
animationName: Br
|
|
6431
6440
|
},
|
|
6432
6441
|
"&.slideOutRight": {
|
|
6433
6442
|
animationFillMode: "both",
|
|
6434
|
-
animationName:
|
|
6443
|
+
animationName: Mr
|
|
6435
6444
|
},
|
|
6436
6445
|
"&.slideOutUp": {
|
|
6437
6446
|
animationFillMode: "both",
|
|
6438
|
-
animationName:
|
|
6447
|
+
animationName: Lr
|
|
6439
6448
|
}
|
|
6440
|
-
}),
|
|
6449
|
+
}), kr = (e) => ({
|
|
6441
6450
|
[e.componentCls]: {
|
|
6442
6451
|
"&-enter": {
|
|
6443
|
-
background: "transparent",
|
|
6444
|
-
animationDuration: ".3s !important",
|
|
6445
|
-
...Vi(),
|
|
6446
|
-
...il(),
|
|
6447
|
-
...Tl(),
|
|
6448
|
-
...Hl(),
|
|
6449
|
-
..._l(),
|
|
6450
|
-
...ar(),
|
|
6451
|
-
...rr(),
|
|
6452
|
-
...pr(),
|
|
6453
|
-
...Lr()
|
|
6454
|
-
},
|
|
6455
|
-
"&-leave": {
|
|
6456
|
-
display: "none",
|
|
6457
6452
|
background: "transparent",
|
|
6458
6453
|
animationDuration: ".3s !important",
|
|
6459
6454
|
...Gi(),
|
|
@@ -6465,16 +6460,30 @@ const {
|
|
|
6465
6460
|
...sr(),
|
|
6466
6461
|
...Cr(),
|
|
6467
6462
|
...Or()
|
|
6463
|
+
},
|
|
6464
|
+
"&-leave": {
|
|
6465
|
+
display: "none",
|
|
6466
|
+
background: "transparent",
|
|
6467
|
+
animationDuration: ".3s !important",
|
|
6468
|
+
...Yi(),
|
|
6469
|
+
...rl(),
|
|
6470
|
+
...Nl(),
|
|
6471
|
+
...El(),
|
|
6472
|
+
...Vl(),
|
|
6473
|
+
...ir(),
|
|
6474
|
+
...cr(),
|
|
6475
|
+
...xr(),
|
|
6476
|
+
...Fr()
|
|
6468
6477
|
}
|
|
6469
6478
|
}
|
|
6470
6479
|
});
|
|
6471
|
-
function
|
|
6472
|
-
return Pe("LayoutPageTranstion", (
|
|
6473
|
-
const a = je(
|
|
6474
|
-
return [
|
|
6480
|
+
function Tr(e) {
|
|
6481
|
+
return Pe("LayoutPageTranstion", (t) => {
|
|
6482
|
+
const a = je(t);
|
|
6483
|
+
return [kr(a)];
|
|
6475
6484
|
}, e);
|
|
6476
6485
|
}
|
|
6477
|
-
const
|
|
6486
|
+
const rs = /* @__PURE__ */ j({
|
|
6478
6487
|
name: "PageTranstion",
|
|
6479
6488
|
props: {
|
|
6480
6489
|
disabled: {
|
|
@@ -6492,7 +6501,7 @@ const ls = /* @__PURE__ */ j({
|
|
|
6492
6501
|
direction: String
|
|
6493
6502
|
},
|
|
6494
6503
|
setup(e, {
|
|
6495
|
-
slots:
|
|
6504
|
+
slots: t
|
|
6496
6505
|
}) {
|
|
6497
6506
|
const a = ie({
|
|
6498
6507
|
suffixCls: "page-transtion",
|
|
@@ -6500,7 +6509,7 @@ const ls = /* @__PURE__ */ j({
|
|
|
6500
6509
|
}), {
|
|
6501
6510
|
wrapSSR: o,
|
|
6502
6511
|
hashId: i
|
|
6503
|
-
} =
|
|
6512
|
+
} = Tr(a), l = (h, d) => {
|
|
6504
6513
|
if (h.length === 0 || h === "x" || h === "y")
|
|
6505
6514
|
return h;
|
|
6506
6515
|
let m = d.indexOf(h);
|
|
@@ -6516,13 +6525,13 @@ const ls = /* @__PURE__ */ j({
|
|
|
6516
6525
|
}, r = R(() => [s(!1), `${a}-enter`, i.value].join(" ")), g = R(() => [s(!0), `${a}-leave`, i.value].join(" "));
|
|
6517
6526
|
return () => {
|
|
6518
6527
|
var h;
|
|
6519
|
-
return e.disabled ? (h =
|
|
6528
|
+
return e.disabled ? (h = t.default) == null ? void 0 : h.call(t) : o(n(Un, {
|
|
6520
6529
|
enterActiveClass: r.value,
|
|
6521
6530
|
leaveActiveClass: g.value
|
|
6522
6531
|
}, {
|
|
6523
6532
|
default: () => {
|
|
6524
6533
|
var d;
|
|
6525
|
-
return [(d =
|
|
6534
|
+
return [(d = t.default) == null ? void 0 : d.call(t)];
|
|
6526
6535
|
}
|
|
6527
6536
|
}));
|
|
6528
6537
|
};
|
|
@@ -6533,21 +6542,21 @@ const ls = /* @__PURE__ */ j({
|
|
|
6533
6542
|
default: void 0
|
|
6534
6543
|
},
|
|
6535
6544
|
onItemClick: Function
|
|
6536
|
-
},
|
|
6545
|
+
}, Pr = (e, t) => {
|
|
6537
6546
|
if (e && typeof e == "string" && Rt(e))
|
|
6538
|
-
return
|
|
6547
|
+
return n("img", {
|
|
6539
6548
|
src: e,
|
|
6540
6549
|
alt: "logo"
|
|
6541
6550
|
}, null);
|
|
6542
6551
|
if (typeof e == "function")
|
|
6543
6552
|
return e();
|
|
6544
6553
|
if (e && typeof e == "string")
|
|
6545
|
-
return
|
|
6554
|
+
return n("div", {
|
|
6546
6555
|
id: "avatarLogo"
|
|
6547
6556
|
}, [e]);
|
|
6548
|
-
if (!e &&
|
|
6549
|
-
const a =
|
|
6550
|
-
return
|
|
6557
|
+
if (!e && t && typeof t == "string") {
|
|
6558
|
+
const a = t.substring(0, 1);
|
|
6559
|
+
return n("div", {
|
|
6551
6560
|
id: "avatarLogo"
|
|
6552
6561
|
}, [a]);
|
|
6553
6562
|
}
|
|
@@ -6561,35 +6570,35 @@ const ls = /* @__PURE__ */ j({
|
|
|
6561
6570
|
},
|
|
6562
6571
|
setup(e) {
|
|
6563
6572
|
return () => {
|
|
6564
|
-
var
|
|
6565
|
-
return
|
|
6573
|
+
var t;
|
|
6574
|
+
return n("div", {
|
|
6566
6575
|
class: `${e.baseClassName}-content ${e.hashId}`.trim()
|
|
6567
|
-
}, [
|
|
6576
|
+
}, [n("ul", {
|
|
6568
6577
|
class: `${e.baseClassName}-content-list ${e.hashId}`.trim()
|
|
6569
|
-
}, [(
|
|
6578
|
+
}, [(t = e.appList) == null ? void 0 : t.map((a, o) => {
|
|
6570
6579
|
var i;
|
|
6571
|
-
return (i = a == null ? void 0 : a.children) != null && i.length ?
|
|
6580
|
+
return (i = a == null ? void 0 : a.children) != null && i.length ? n("div", {
|
|
6572
6581
|
key: o,
|
|
6573
6582
|
class: `${e.baseClassName}-content-list-item-group ${e.hashId}`.trim()
|
|
6574
|
-
}, [
|
|
6583
|
+
}, [n("div", {
|
|
6575
6584
|
class: `${e.baseClassName}-content-list-item-group-title ${e.hashId}`.trim()
|
|
6576
|
-
}, [a.title]),
|
|
6585
|
+
}, [a.title]), n(An, {
|
|
6577
6586
|
hashId: e.hashId,
|
|
6578
6587
|
onItemClick: e.onItemClick,
|
|
6579
6588
|
appList: a == null ? void 0 : a.children,
|
|
6580
6589
|
baseClassName: e.baseClassName
|
|
6581
|
-
}, null)]) :
|
|
6590
|
+
}, null)]) : n("li", {
|
|
6582
6591
|
key: o,
|
|
6583
6592
|
class: `${e.baseClassName}-content-list-item ${e.hashId}`.trim(),
|
|
6584
6593
|
onClick: (l) => {
|
|
6585
6594
|
var s;
|
|
6586
6595
|
l.stopPropagation(), (s = e.onItemClick) == null || s.call(e, a);
|
|
6587
6596
|
}
|
|
6588
|
-
}, [
|
|
6597
|
+
}, [n("a", {
|
|
6589
6598
|
href: e.onItemClick ? "javascript:;" : a.url,
|
|
6590
6599
|
target: a.target,
|
|
6591
6600
|
rel: "noreferrer"
|
|
6592
|
-
}, [
|
|
6601
|
+
}, [Pr(a.icon, a.title), n("div", null, [n("div", null, [a.title])])])]);
|
|
6593
6602
|
})])]);
|
|
6594
6603
|
};
|
|
6595
6604
|
}
|
|
@@ -6602,100 +6611,101 @@ const ls = /* @__PURE__ */ j({
|
|
|
6602
6611
|
},
|
|
6603
6612
|
setup(e) {
|
|
6604
6613
|
return () => {
|
|
6605
|
-
var
|
|
6606
|
-
return
|
|
6614
|
+
var t;
|
|
6615
|
+
return n("div", {
|
|
6607
6616
|
class: `${e.baseClassName}-content ${e.hashId}`.trim()
|
|
6608
|
-
}, [
|
|
6617
|
+
}, [n("ul", {
|
|
6609
6618
|
class: `${e.baseClassName}-content-list ${e.hashId}`.trim()
|
|
6610
|
-
}, [(
|
|
6619
|
+
}, [(t = e.appList) == null ? void 0 : t.map((a, o) => {
|
|
6611
6620
|
var i;
|
|
6612
|
-
return (i = a == null ? void 0 : a.children) != null && i.length ?
|
|
6621
|
+
return (i = a == null ? void 0 : a.children) != null && i.length ? n("div", {
|
|
6613
6622
|
key: o,
|
|
6614
6623
|
class: `${e.baseClassName}-content-list-item-group ${e.hashId}`.trim()
|
|
6615
|
-
}, [
|
|
6624
|
+
}, [n("div", {
|
|
6616
6625
|
class: `${e.baseClassName}-content-list-item-group-title ${e.hashId}`.trim()
|
|
6617
|
-
}, [a.title]),
|
|
6626
|
+
}, [a.title]), n(Hn, {
|
|
6618
6627
|
hashId: e.hashId,
|
|
6619
6628
|
onItemClick: e.onItemClick,
|
|
6620
6629
|
appList: a == null ? void 0 : a.children,
|
|
6621
6630
|
baseClassName: e.baseClassName
|
|
6622
|
-
}, null)]) :
|
|
6631
|
+
}, null)]) : n("li", {
|
|
6623
6632
|
key: o,
|
|
6624
6633
|
class: `${e.baseClassName}-content-list-item ${e.hashId}`.trim(),
|
|
6625
6634
|
onClick: (l) => {
|
|
6626
6635
|
var s;
|
|
6627
6636
|
l.stopPropagation(), (s = e.onItemClick) == null || s.call(e, a);
|
|
6628
6637
|
}
|
|
6629
|
-
}, [
|
|
6638
|
+
}, [n("a", {
|
|
6630
6639
|
href: e.onItemClick ? void 0 : a.url,
|
|
6631
6640
|
target: a.target,
|
|
6632
6641
|
rel: "noreferrer"
|
|
6633
|
-
}, [
|
|
6642
|
+
}, [n(Bo, {
|
|
6634
6643
|
logo: a.icon
|
|
6635
|
-
}, null),
|
|
6644
|
+
}, null), n("div", null, [n("div", null, [a.title]), a.desc ? n("span", null, [a.desc]) : null])])]);
|
|
6636
6645
|
})])]);
|
|
6637
6646
|
};
|
|
6638
6647
|
}
|
|
6639
|
-
}),
|
|
6648
|
+
}), ss = /* @__PURE__ */ j({
|
|
6640
6649
|
props: Ve,
|
|
6641
6650
|
emits: ["itemClick"],
|
|
6642
6651
|
setup(e) {
|
|
6643
|
-
const
|
|
6652
|
+
const t = ie({
|
|
6644
6653
|
suffixCls: "layout-app",
|
|
6645
6654
|
isPor: !0
|
|
6646
6655
|
}), {
|
|
6647
6656
|
wrapSSR: a,
|
|
6648
6657
|
hashId: o
|
|
6649
|
-
} = fe("AppsLogoList", [Ro],
|
|
6658
|
+
} = fe("AppsLogoList", [Ro], t), i = (l) => {
|
|
6650
6659
|
var s;
|
|
6651
6660
|
(s = e.onItemClick) == null || s.call(e, l);
|
|
6652
6661
|
};
|
|
6653
6662
|
return () => {
|
|
6654
6663
|
var s;
|
|
6655
|
-
return ((s = e.appList) == null ? void 0 : s.some((r) => !(r != null && r.desc))) ? a(
|
|
6664
|
+
return ((s = e.appList) == null ? void 0 : s.some((r) => !(r != null && r.desc))) ? a(n(An, {
|
|
6656
6665
|
hashId: o.value,
|
|
6657
6666
|
appList: e.appList,
|
|
6658
6667
|
onItemClick: e.onItemClick ? i : void 0,
|
|
6659
|
-
baseClassName: `${
|
|
6660
|
-
}, null)) : a(
|
|
6668
|
+
baseClassName: `${t}-simple`
|
|
6669
|
+
}, null)) : a(n(Hn, {
|
|
6661
6670
|
hashId: o.value,
|
|
6662
6671
|
appList: e.appList,
|
|
6663
6672
|
onItemClick: e.onItemClick ? i : void 0,
|
|
6664
|
-
baseClassName: `${
|
|
6673
|
+
baseClassName: `${t}-default`
|
|
6665
6674
|
}, null));
|
|
6666
6675
|
};
|
|
6667
6676
|
}
|
|
6668
6677
|
});
|
|
6669
6678
|
export {
|
|
6670
|
-
|
|
6679
|
+
ss as AppsLogoList,
|
|
6671
6680
|
pn as BaseMenu,
|
|
6672
|
-
|
|
6673
|
-
|
|
6681
|
+
Zo as DefaultHeader,
|
|
6682
|
+
ts as GProLayout,
|
|
6674
6683
|
Et as GlobalFooter,
|
|
6675
|
-
|
|
6684
|
+
os as PageContainer,
|
|
6676
6685
|
so as PageLoading,
|
|
6677
|
-
|
|
6678
|
-
|
|
6679
|
-
|
|
6680
|
-
|
|
6681
|
-
|
|
6686
|
+
ns as PageLock,
|
|
6687
|
+
rs as PageTranstion,
|
|
6688
|
+
as as RightContent,
|
|
6689
|
+
bi as SearchPageInput,
|
|
6690
|
+
ls as SettingDrawer,
|
|
6682
6691
|
Xt as SiderMenuWrapper,
|
|
6683
6692
|
kt as animateSeting,
|
|
6684
6693
|
st as baseMenuProps,
|
|
6685
|
-
|
|
6694
|
+
Xo as checkThemeStatus,
|
|
6686
6695
|
zo as clearMenuItem,
|
|
6687
6696
|
Bn as coverToNewToken,
|
|
6688
6697
|
to as defaultContextKey,
|
|
6698
|
+
jo as filterTree,
|
|
6689
6699
|
$n as findLastKey,
|
|
6690
6700
|
Do as flatMap,
|
|
6691
6701
|
Rn as getLastPath,
|
|
6692
6702
|
Ho as getMatchedList,
|
|
6693
6703
|
No as getMenuData,
|
|
6694
6704
|
Ao as getMenuFirstChildren,
|
|
6695
|
-
|
|
6705
|
+
_o as handleThemeConfig,
|
|
6696
6706
|
wn as hanlePathKey,
|
|
6697
6707
|
no as provideProLayoutContext,
|
|
6698
|
-
|
|
6699
|
-
|
|
6708
|
+
Vo as removeDuplicatesByName,
|
|
6709
|
+
is as useLayoutMenu,
|
|
6700
6710
|
le as useProLayoutContext
|
|
6701
6711
|
};
|