@gx-design-vue/pro-layout 0.1.0-beta.89 → 0.1.0-beta.90
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/pro-layout.js
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { createVNode as n, defineComponent as K, createTextVNode as
|
|
2
|
-
import { pick as le, cloneDeep as
|
|
3
|
-
import { LayoutFooter as
|
|
4
|
-
import { useLocalStorage as ot, useColorMode as
|
|
5
|
-
import { useState as
|
|
6
|
-
import { getPrefixCls as ie, arrayRepeat as
|
|
7
|
-
import
|
|
8
|
-
import { createTypes as
|
|
1
|
+
import { createVNode as n, defineComponent as K, createTextVNode as V, toRefs as Ye, ref as he, reactive as xe, watch as ae, computed as R, unref as ue, Fragment as J, withDirectives as Vn, vShow as Gn, isVNode as Oe, mergeProps as te, resolveComponent as tn, nextTick as St, watchEffect as Yn, onMounted as It, isRef as Dt, h as qn, toRaw as At, Transition as Qn } from "vue";
|
|
2
|
+
import { pick as le, cloneDeep as Ce, omit as we } from "lodash-es";
|
|
3
|
+
import { LayoutFooter as Zn, Tabs as wt, Menu as ye, Dropdown as gt, Popover as Jn, Badge as ea, ConfigProvider as Rt, Spin as $t, Layout as Ue, Drawer as Je, Avatar as nn, Form as Ht, Input as an, Button as et, Empty as jt, MenuItem as Et, Breadcrumb as ta, Card as na, Tooltip as at, List as Me, Switch as on, TabPane as aa, Select as Qe, message as oa, Segmented as ia, Divider as dt, Alert as la } from "ant-design-vue";
|
|
4
|
+
import { useLocalStorage as ot, useColorMode as ra, useStyleTag as sa, useMagicKeys as ln, whenever as yt, useThrottleFn as ua, onKeyStroke as mt, useFullscreen as ca, useDebounceFn as da, useClipboard as ma } from "@vueuse/core";
|
|
5
|
+
import { useState as Se, useMemo as bt, useMergedState as Ae, useMediaQuery as rn } from "@gx-design-vue/pro-hooks";
|
|
6
|
+
import { getPrefixCls as ie, arrayRepeat as fa, classNames as U, isBoolean as oe, merge as pe, isNumber as _e, isUrl as Bt, isImg as ha, isArray as it, convertValueBoolean as Te, isObject as ga, isString as ya, getLevelData as Mt, deepCopy as ba, getRandomNumber as vt, getSlot as se, getSlotVNode as Pe, getSlotsProps as sn, isWindowsOs as va, isDeepEqualReact as pa, isBrowser as Ca } from "@gx-design-vue/pro-utils";
|
|
7
|
+
import xa, { themeConfig as Z, useContext as Lt, useProStyle as ge, useStyle as Fe, mergeToken as je, getTokenLayoutTheme as be, resetComponent as Sa, Keyframe as S, checkMenuDark as lt, calcUnit as Ee, unit as Ne, getDefaultLayoutToken as rt, useProConfigContext as ke, getLayoutTheme as un, useProForm as Ia, setAlpha as wa, defaultSystemTheme as Ra, defaultLayout as $a, colorList as Ba } from "@gx-design-vue/pro-provider";
|
|
8
|
+
import { createTypes as Ma } from "vue-types";
|
|
9
9
|
import "ant-design-vue/es/spin";
|
|
10
10
|
import Be from "dayjs";
|
|
11
|
-
import { GithubOutlined as
|
|
12
|
-
import { useRouter as qe, RouterLink as
|
|
11
|
+
import { GithubOutlined as La, CloseOutlined as st, FullscreenExitOutlined as cn, FullscreenOutlined as dn, ReloadOutlined as pt, ExportOutlined as Oa, VerticalRightOutlined as Fa, VerticalLeftOutlined as ka, VerticalAlignMiddleOutlined as Pa, SwapOutlined as Ta, DownOutlined as Na, AppstoreOutlined as za, createFromIconfontCN as Da, ArrowLeftOutlined as Aa, MenuUnfoldOutlined as Ha, MenuFoldOutlined as ja, UserOutlined as mn, LockOutlined as fn, MenuOutlined as Ea, ArrowRightOutlined as Ka, SearchOutlined as Kt, EnterOutlined as Wa, ArrowUpOutlined as Wt, CompressOutlined as Ua, ExpandOutlined as _a, SettingOutlined as hn, LogoutOutlined as Xa, DesktopOutlined as Va, CheckOutlined as gn, NotificationOutlined as Ga, CopyOutlined as Ya, ClearOutlined as qa } from "@ant-design/icons-vue";
|
|
12
|
+
import { useRouter as qe, RouterLink as Qa } from "vue-router";
|
|
13
13
|
import { getAlphaColor as Le } from "ant-design-vue/es/theme/themes/dark/colorAlgorithm";
|
|
14
|
-
import { useProAppContext as
|
|
15
|
-
import
|
|
14
|
+
import { useProAppContext as yn, proAppProps as Za, proAppSlots as Ja, GProApp as eo } from "@gx-design-vue/pro-app";
|
|
15
|
+
import to, { GProModal as no } from "@gx-design-vue/pro-modal";
|
|
16
16
|
import "dayjs/locale/zh-cn";
|
|
17
|
-
import
|
|
18
|
-
import { GPorWaterMark as
|
|
19
|
-
import
|
|
20
|
-
import { GColorPicker as
|
|
21
|
-
const q =
|
|
17
|
+
import ao from "ant-design-vue/es/vc-resize-observer";
|
|
18
|
+
import { GPorWaterMark as oo } from "@gx-design-vue/pro-watermark";
|
|
19
|
+
import bn from "@gx-design-vue/scrollbar";
|
|
20
|
+
import { GColorPicker as Ut } from "@gx-design-vue/color-picker";
|
|
21
|
+
const q = Ma({
|
|
22
22
|
func: void 0,
|
|
23
23
|
bool: void 0,
|
|
24
24
|
string: void 0,
|
|
@@ -42,7 +42,7 @@ q.extend([{
|
|
|
42
42
|
getter: !0,
|
|
43
43
|
type: null
|
|
44
44
|
}]);
|
|
45
|
-
const
|
|
45
|
+
const ze = {
|
|
46
46
|
theme: {
|
|
47
47
|
type: String,
|
|
48
48
|
default: "light"
|
|
@@ -120,11 +120,11 @@ const Ne = {
|
|
|
120
120
|
}
|
|
121
121
|
},
|
|
122
122
|
onLogoClick: Function
|
|
123
|
-
},
|
|
124
|
-
...le(
|
|
123
|
+
}, io = {
|
|
124
|
+
...le(ze, ["title", "layout"]),
|
|
125
125
|
...ut
|
|
126
126
|
}, ct = {
|
|
127
|
-
...
|
|
127
|
+
...ze,
|
|
128
128
|
mode: {
|
|
129
129
|
type: String,
|
|
130
130
|
default: "inline"
|
|
@@ -167,7 +167,7 @@ const Ne = {
|
|
|
167
167
|
type: Function
|
|
168
168
|
}
|
|
169
169
|
}, ce = {
|
|
170
|
-
...
|
|
170
|
+
...ze,
|
|
171
171
|
...ct,
|
|
172
172
|
...ut,
|
|
173
173
|
menuLoading: q.looseBool,
|
|
@@ -230,8 +230,8 @@ const Ne = {
|
|
|
230
230
|
onCollapse: {
|
|
231
231
|
type: Function
|
|
232
232
|
}
|
|
233
|
-
},
|
|
234
|
-
...
|
|
233
|
+
}, vn = {
|
|
234
|
+
...ze,
|
|
235
235
|
...ct,
|
|
236
236
|
...ut,
|
|
237
237
|
menuLoading: Boolean,
|
|
@@ -280,8 +280,8 @@ const Ne = {
|
|
|
280
280
|
onCollapse: ce.onCollapse,
|
|
281
281
|
onOpenKeys: ce.onOpenKeys,
|
|
282
282
|
onSelect: ce.onSelect
|
|
283
|
-
},
|
|
284
|
-
...
|
|
283
|
+
}, pn = {
|
|
284
|
+
...vn,
|
|
285
285
|
hasSiderMenu: Boolean,
|
|
286
286
|
collapsedWidth: ce.collapsedWidth,
|
|
287
287
|
siderWidth: ce.siderWidth
|
|
@@ -291,8 +291,8 @@ const Ne = {
|
|
|
291
291
|
collapsed: ct.collapsed,
|
|
292
292
|
siderWidth: ce.siderWidth,
|
|
293
293
|
collapsedWidth: ce.collapsedWidth,
|
|
294
|
-
fixedTabsBar:
|
|
295
|
-
storageTabsBar:
|
|
294
|
+
fixedTabsBar: ze.fixedTabsBar,
|
|
295
|
+
storageTabsBar: ze.storageTabsBar,
|
|
296
296
|
visible: {
|
|
297
297
|
type: Boolean,
|
|
298
298
|
default: !0
|
|
@@ -311,7 +311,7 @@ const Ne = {
|
|
|
311
311
|
"onUpdate:tabs": {
|
|
312
312
|
type: Function
|
|
313
313
|
}
|
|
314
|
-
},
|
|
314
|
+
}, lo = (e) => ({
|
|
315
315
|
[e.componentCls]: {
|
|
316
316
|
marginBlock: 0,
|
|
317
317
|
marginBlockStart: 48,
|
|
@@ -342,17 +342,17 @@ const Ne = {
|
|
|
342
342
|
}
|
|
343
343
|
}
|
|
344
344
|
}
|
|
345
|
-
}),
|
|
346
|
-
provideContext:
|
|
345
|
+
}), ro = ["dark", "layout", "theme", "wideWidth", "contentWidth", "collapsed", "waterMark", "openKeys", "splitMenus", "selectedKeys", "disableMobile", "fixSiderbar", "fixedHeader", "waterMarkProps", "shortcutKey", "pageContainerProps"], {
|
|
346
|
+
provideContext: so,
|
|
347
347
|
useInjectContext: re
|
|
348
|
-
} = Lt("pro-layout"),
|
|
348
|
+
} = Lt("pro-layout"), Cn = [{
|
|
349
349
|
key: "Ant Design Pro",
|
|
350
350
|
title: "Ant Design Pro",
|
|
351
351
|
href: "https://pro.ant.design",
|
|
352
352
|
blankTarget: !0
|
|
353
353
|
}, {
|
|
354
354
|
key: "gitee",
|
|
355
|
-
title: n(
|
|
355
|
+
title: n(La, null, null),
|
|
356
356
|
href: "https://github.com/gx12358/vue3-antd-admin",
|
|
357
357
|
blankTarget: !0
|
|
358
358
|
}, {
|
|
@@ -360,12 +360,12 @@ const Ne = {
|
|
|
360
360
|
title: "Ant Design Vue",
|
|
361
361
|
href: "https://next.antdv.com/components/overview-cn/",
|
|
362
362
|
blankTarget: !0
|
|
363
|
-
}],
|
|
363
|
+
}], _t = /* @__PURE__ */ K({
|
|
364
364
|
name: "GlobalFooter",
|
|
365
365
|
props: {
|
|
366
366
|
links: {
|
|
367
367
|
type: [Array, Boolean],
|
|
368
|
-
default:
|
|
368
|
+
default: Cn
|
|
369
369
|
},
|
|
370
370
|
copyright: {
|
|
371
371
|
type: [Object, Function, Boolean, String],
|
|
@@ -379,8 +379,8 @@ const Ne = {
|
|
|
379
379
|
}), {
|
|
380
380
|
wrapSSR: i,
|
|
381
381
|
hashId: l
|
|
382
|
-
} = ge("ProLayoutFooter", [
|
|
383
|
-
return () => i(n(
|
|
382
|
+
} = ge("ProLayoutFooter", [lo], o);
|
|
383
|
+
return () => i(n(Zn, {
|
|
384
384
|
style: {
|
|
385
385
|
padding: 0
|
|
386
386
|
}
|
|
@@ -396,12 +396,12 @@ const Ne = {
|
|
|
396
396
|
href: s.href
|
|
397
397
|
}, [s.title]))]), e.copyright && n("div", {
|
|
398
398
|
class: `${o}-copyright ${l.value}`
|
|
399
|
-
}, [
|
|
399
|
+
}, [V("Copyright "), Be().format("YYYY"), V(" "), n("a", {
|
|
400
400
|
href: "https://beian.miit.gov.cn/"
|
|
401
401
|
}, [e.copyright])])])]
|
|
402
402
|
}));
|
|
403
403
|
}
|
|
404
|
-
}),
|
|
404
|
+
}), uo = {
|
|
405
405
|
usePageCard: {
|
|
406
406
|
type: Boolean,
|
|
407
407
|
default: () => {
|
|
@@ -447,7 +447,7 @@ const Ne = {
|
|
|
447
447
|
},
|
|
448
448
|
loading: q.bool.def(!1),
|
|
449
449
|
loadingBlur: q.bool.def(!0),
|
|
450
|
-
...
|
|
450
|
+
...uo
|
|
451
451
|
}, Ot = {
|
|
452
452
|
dark: {
|
|
453
453
|
type: [Boolean, String],
|
|
@@ -457,9 +457,9 @@ const Ne = {
|
|
|
457
457
|
"onUpdate:dark": Function
|
|
458
458
|
}, He = {
|
|
459
459
|
...Ot,
|
|
460
|
-
...
|
|
460
|
+
...ze,
|
|
461
461
|
...ce,
|
|
462
|
-
...
|
|
462
|
+
...pn,
|
|
463
463
|
...le(Ct, ["onTabsChange", "onReloadPage", "onUpdate:tabs"]),
|
|
464
464
|
id: String,
|
|
465
465
|
class: String,
|
|
@@ -506,7 +506,7 @@ const Ne = {
|
|
|
506
506
|
loading: q.looseBool,
|
|
507
507
|
footerLinks: {
|
|
508
508
|
type: [Array, Boolean],
|
|
509
|
-
default:
|
|
509
|
+
default: Cn
|
|
510
510
|
},
|
|
511
511
|
tabsVisible: Boolean,
|
|
512
512
|
tabsRouteItemRender: Ct.itemRender,
|
|
@@ -520,14 +520,14 @@ const Ne = {
|
|
|
520
520
|
default: () => {
|
|
521
521
|
}
|
|
522
522
|
}
|
|
523
|
-
},
|
|
523
|
+
}, co = (e) => ({
|
|
524
524
|
[e.componentCls]: {
|
|
525
525
|
display: "flex",
|
|
526
526
|
flexDirection: "column",
|
|
527
527
|
width: "100%",
|
|
528
528
|
minHeight: "100vh"
|
|
529
529
|
}
|
|
530
|
-
}),
|
|
530
|
+
}), mo = (e) => {
|
|
531
531
|
var t, a;
|
|
532
532
|
return {
|
|
533
533
|
[e.componentCls]: {
|
|
@@ -561,13 +561,13 @@ const Ne = {
|
|
|
561
561
|
}
|
|
562
562
|
}
|
|
563
563
|
};
|
|
564
|
-
},
|
|
564
|
+
}, xn = ["menuLinksRender", "appLogoListRender", "siderActionsRender"], Sn = ["appLogoListRender", "extraRightDropdownRender"], In = fa([
|
|
565
|
+
...Sn,
|
|
565
566
|
...xn,
|
|
566
|
-
...Cn,
|
|
567
567
|
"pageHeaderRender",
|
|
568
568
|
"pageLockRender",
|
|
569
569
|
"copyrightRender"
|
|
570
|
-
]),
|
|
570
|
+
]), fo = [
|
|
571
571
|
"footerRender",
|
|
572
572
|
"menuExtraRender",
|
|
573
573
|
"menuFooterRender",
|
|
@@ -580,8 +580,8 @@ const Ne = {
|
|
|
580
580
|
"breadcrumbRender",
|
|
581
581
|
"collapsedButtonRender"
|
|
582
582
|
];
|
|
583
|
-
[...
|
|
584
|
-
const
|
|
583
|
+
[...In, ...fo];
|
|
584
|
+
const ho = ["tabsVisible", "storageTabsBar", "collapsedWidth", "isChildrenLayout", "loading", "showTabsBar", "fixedTabsBar", "collapsed", "onReloadPage", "onTabsChange"], go = (e) => {
|
|
585
585
|
var t, a;
|
|
586
586
|
return {
|
|
587
587
|
[`${e.componentTitleCls}`]: {
|
|
@@ -669,16 +669,16 @@ const fo = ["tabsVisible", "storageTabsBar", "collapsedWidth", "isChildrenLayout
|
|
|
669
669
|
}
|
|
670
670
|
};
|
|
671
671
|
};
|
|
672
|
-
function
|
|
672
|
+
function yo(e) {
|
|
673
673
|
return Fe("ProMultiTabs", (t) => {
|
|
674
674
|
const a = je(t, {
|
|
675
675
|
componentWrapCls: `${t.componentCls}-wrap`,
|
|
676
676
|
componentTitleCls: `${t.componentCls}-title`
|
|
677
677
|
});
|
|
678
|
-
return [
|
|
678
|
+
return [go(a)];
|
|
679
679
|
}, e);
|
|
680
680
|
}
|
|
681
|
-
const
|
|
681
|
+
const bo = (e) => ({
|
|
682
682
|
[`${e.componentCls}`]: {
|
|
683
683
|
width: "1em",
|
|
684
684
|
height: "1em",
|
|
@@ -687,10 +687,10 @@ const yo = (e) => ({
|
|
|
687
687
|
overflow: "hidden"
|
|
688
688
|
}
|
|
689
689
|
});
|
|
690
|
-
function
|
|
690
|
+
function vo(e) {
|
|
691
691
|
return Fe("ProIcon", (t) => {
|
|
692
692
|
const a = je(t, {});
|
|
693
|
-
return [
|
|
693
|
+
return [bo(a)];
|
|
694
694
|
}, e);
|
|
695
695
|
}
|
|
696
696
|
const Xe = /* @__PURE__ */ K({
|
|
@@ -708,7 +708,7 @@ const Xe = /* @__PURE__ */ K({
|
|
|
708
708
|
}), {
|
|
709
709
|
hashId: o,
|
|
710
710
|
wrapSSR: i
|
|
711
|
-
} =
|
|
711
|
+
} = vo(a);
|
|
712
712
|
return () => i(n("span", {
|
|
713
713
|
style: t.style,
|
|
714
714
|
class: t.class,
|
|
@@ -717,7 +717,7 @@ const Xe = /* @__PURE__ */ K({
|
|
|
717
717
|
return (s = e.onClick) == null ? void 0 : s.call(e, l);
|
|
718
718
|
}
|
|
719
719
|
}, [n("svg", {
|
|
720
|
-
class:
|
|
720
|
+
class: U(a, o.value),
|
|
721
721
|
"aria-hidden": "true"
|
|
722
722
|
}, [
|
|
723
723
|
// @ts-ignore
|
|
@@ -726,7 +726,7 @@ const Xe = /* @__PURE__ */ K({
|
|
|
726
726
|
}, null)
|
|
727
727
|
])]));
|
|
728
728
|
}
|
|
729
|
-
}),
|
|
729
|
+
}), po = [{
|
|
730
730
|
key: "fixed",
|
|
731
731
|
label: "置顶",
|
|
732
732
|
icon: (e) => n(Xe, {
|
|
@@ -738,7 +738,7 @@ const Xe = /* @__PURE__ */ K({
|
|
|
738
738
|
icon: n(st, null, null)
|
|
739
739
|
}, {
|
|
740
740
|
key: "fullScreen",
|
|
741
|
-
icon: (e) => e ? n(
|
|
741
|
+
icon: (e) => e ? n(cn, null, null) : n(dn, null, null)
|
|
742
742
|
}, {
|
|
743
743
|
key: "reloadPage",
|
|
744
744
|
label: "重新加载",
|
|
@@ -746,53 +746,53 @@ const Xe = /* @__PURE__ */ K({
|
|
|
746
746
|
}, {
|
|
747
747
|
key: "newBlank",
|
|
748
748
|
label: "新窗口打开",
|
|
749
|
-
icon: n(
|
|
749
|
+
icon: n(Oa, null, null)
|
|
750
750
|
}, {
|
|
751
751
|
key: "divider"
|
|
752
752
|
}, {
|
|
753
753
|
key: "closeLeftTabs",
|
|
754
754
|
label: "关闭左侧",
|
|
755
|
-
icon: n(
|
|
755
|
+
icon: n(Fa, null, null)
|
|
756
756
|
}, {
|
|
757
757
|
key: "closeRightTabs",
|
|
758
758
|
label: "关闭右侧",
|
|
759
|
-
icon: n(
|
|
759
|
+
icon: n(ka, null, null)
|
|
760
760
|
}, {
|
|
761
761
|
key: "divider"
|
|
762
762
|
}, {
|
|
763
763
|
key: "closeOthersTabs",
|
|
764
764
|
label: "关闭其他",
|
|
765
|
-
icon: n(
|
|
765
|
+
icon: n(Pa, {
|
|
766
766
|
rotate: 90
|
|
767
767
|
}, null)
|
|
768
768
|
}, {
|
|
769
769
|
key: "closeAllTabs",
|
|
770
770
|
label: "关闭全部",
|
|
771
|
-
icon: n(
|
|
771
|
+
icon: n(Ta, null, null)
|
|
772
772
|
}];
|
|
773
|
-
function
|
|
773
|
+
function Co(e, t) {
|
|
774
774
|
const {
|
|
775
775
|
fixed: a
|
|
776
776
|
} = t.tabs, o = oe(a) ? a : a === 0;
|
|
777
777
|
return e.key === "fixed" ? o ? "取消置顶" : "置顶" : e.key === "fullScreen" ? t.fullScreen ? "还原" : "最大化" : e.label;
|
|
778
778
|
}
|
|
779
|
-
function
|
|
779
|
+
function xo(e) {
|
|
780
780
|
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Oe(e);
|
|
781
781
|
}
|
|
782
|
-
const
|
|
783
|
-
function
|
|
782
|
+
const So = wt.TabPane, Io = ye.Item;
|
|
783
|
+
function X(e) {
|
|
784
784
|
return e.name;
|
|
785
785
|
}
|
|
786
|
-
const
|
|
786
|
+
const wo = /* @__PURE__ */ K({
|
|
787
787
|
props: Ct,
|
|
788
788
|
inheritAttrs: !1,
|
|
789
789
|
setup(e) {
|
|
790
|
-
var fe,
|
|
790
|
+
var fe, Ie, Re, $e;
|
|
791
791
|
const {
|
|
792
792
|
isMobile: t,
|
|
793
793
|
fixedTabsBar: a,
|
|
794
794
|
storageTabsBar: o
|
|
795
|
-
} = Ye(e), i = he(!1), l =
|
|
795
|
+
} = Ye(e), i = he(!1), l = xe({
|
|
796
796
|
activeKey: "",
|
|
797
797
|
contextMenuActiveKey: ""
|
|
798
798
|
}), s = qe(), {
|
|
@@ -808,23 +808,23 @@ const Io = /* @__PURE__ */ K({
|
|
|
808
808
|
}), {
|
|
809
809
|
wrapSSR: d,
|
|
810
810
|
hashId: C
|
|
811
|
-
} =
|
|
811
|
+
} = yo(y), w = ot(y, {
|
|
812
812
|
fixed: [],
|
|
813
813
|
normal: []
|
|
814
|
-
}), c =
|
|
815
|
-
fixed: o.value && ((fe = w.value) != null && fe.fixed) ? (
|
|
814
|
+
}), c = xe({
|
|
815
|
+
fixed: o.value && ((fe = w.value) != null && fe.fixed) ? (Ie = w.value) == null ? void 0 : Ie.fixed : [],
|
|
816
816
|
normal: o.value && ((Re = w.value) != null && Re.normal) ? ($e = w.value) == null ? void 0 : $e.normal : []
|
|
817
817
|
});
|
|
818
818
|
ae(o, (p) => {
|
|
819
|
-
w.value = p ?
|
|
819
|
+
w.value = p ? Ce(c) : {
|
|
820
820
|
fixed: [],
|
|
821
821
|
normal: []
|
|
822
822
|
};
|
|
823
823
|
});
|
|
824
|
-
const v = R(() => c.fixed.concat(c.normal)), m = R(() => g.value === "mix" && !e.isMobile && u.value), x = R(() =>
|
|
824
|
+
const v = R(() => c.fixed.concat(c.normal)), m = R(() => g.value === "mix" && !e.isMobile && u.value), x = R(() => X(s.currentRoute.value)), P = R(() => a.value && !t.value), N = R(() => {
|
|
825
825
|
const p = !(m.value && ue(h.value).length === 0 || f.value.length === 0 || g.value === "top");
|
|
826
826
|
return P.value && p ? `calc(100% - ${e.collapsed ? e.collapsedWidth : e.siderWidth}px)` : "100%";
|
|
827
|
-
}), B = R(() =>
|
|
827
|
+
}), B = R(() => U(`${y}-wrap`, {
|
|
828
828
|
[`${C.value}`]: !0,
|
|
829
829
|
[`${y}-wrap-fixed`]: a.value,
|
|
830
830
|
[`${y}-wrap-loading`]: e.loading
|
|
@@ -843,14 +843,14 @@ const Io = /* @__PURE__ */ K({
|
|
|
843
843
|
});
|
|
844
844
|
ae(() => c, (p) => {
|
|
845
845
|
var M;
|
|
846
|
-
o.value && (w.value =
|
|
846
|
+
o.value && (w.value = Ce(p)), (M = e.onTabsChange) == null || M.call(e, [...c.fixed, ...c.normal]);
|
|
847
847
|
}, {
|
|
848
848
|
deep: !0
|
|
849
849
|
});
|
|
850
850
|
const $ = (p) => {
|
|
851
|
-
let M = c.fixed.find((T) =>
|
|
852
|
-
return M || (M = c.normal.find((T) =>
|
|
853
|
-
}, b = (p) =>
|
|
851
|
+
let M = c.fixed.find((T) => X(T) === p);
|
|
852
|
+
return M || (M = c.normal.find((T) => X(T) === p)), M;
|
|
853
|
+
}, b = (p) => X(p) === x.value, L = (p) => {
|
|
854
854
|
var T;
|
|
855
855
|
const {
|
|
856
856
|
fixed: M
|
|
@@ -862,7 +862,7 @@ const Io = /* @__PURE__ */ K({
|
|
|
862
862
|
hidden: M
|
|
863
863
|
} = ((T = p == null ? void 0 : p.meta) == null ? void 0 : T.tabState) || {};
|
|
864
864
|
if (p.name && p.meta && M !== !0) {
|
|
865
|
-
const D = L(p), H =
|
|
865
|
+
const D = L(p), H = X(p), de = $(H), De = {
|
|
866
866
|
name: H,
|
|
867
867
|
path: p.path,
|
|
868
868
|
fullPath: p.fullPath,
|
|
@@ -872,7 +872,7 @@ const Io = /* @__PURE__ */ K({
|
|
|
872
872
|
tabState: (Y = p.meta) == null ? void 0 : Y.tabState
|
|
873
873
|
})
|
|
874
874
|
};
|
|
875
|
-
de ? pe(de,
|
|
875
|
+
de ? pe(de, De) : D ? c.fixed.push(De) : c.normal.push(De), b(p) && (l.activeKey = H);
|
|
876
876
|
}
|
|
877
877
|
}, j = (p) => {
|
|
878
878
|
p.forEach((M) => {
|
|
@@ -891,7 +891,7 @@ const Io = /* @__PURE__ */ K({
|
|
|
891
891
|
immediate: !0
|
|
892
892
|
});
|
|
893
893
|
const E = (p) => {
|
|
894
|
-
const M = v.value.find((T) => (p || l.activeKey) ===
|
|
894
|
+
const M = v.value.find((T) => (p || l.activeKey) === X(T));
|
|
895
895
|
return (M == null ? void 0 : M.redirect) || (M == null ? void 0 : M.fullPath) || (M == null ? void 0 : M.path) || "";
|
|
896
896
|
}, ne = (p, {
|
|
897
897
|
type: M,
|
|
@@ -899,37 +899,37 @@ const Io = /* @__PURE__ */ K({
|
|
|
899
899
|
params: Y
|
|
900
900
|
}) => {
|
|
901
901
|
const D = L(p) ? "fixed" : "normal";
|
|
902
|
-
M === "add" && T ? c[D][T](Y) : M === "merge" ? c[D] = c[D].map((H) =>
|
|
902
|
+
M === "add" && T ? c[D][T](Y) : M === "merge" ? c[D] = c[D].map((H) => X(H) === X(p) ? pe(H, Y) : H) : M === "remove" && (c[D] = c[D].filter((H) => X(H) !== X(p)));
|
|
903
903
|
}, me = () => {
|
|
904
904
|
const p = v.value.slice(-1)[0];
|
|
905
905
|
p ? s.push({
|
|
906
|
-
path: E(
|
|
906
|
+
path: E(X(p))
|
|
907
907
|
}) : s.push("/");
|
|
908
908
|
}, O = async (p) => {
|
|
909
|
-
const M = v.value.find((T) => p ===
|
|
909
|
+
const M = v.value.find((T) => p === X(T));
|
|
910
910
|
M && (ne(M, {
|
|
911
911
|
type: "remove",
|
|
912
912
|
params: M
|
|
913
913
|
}), b(M) && me());
|
|
914
914
|
}, F = (p) => {
|
|
915
|
-
const M = v.value.find((T) =>
|
|
916
|
-
M && l.activeKey !==
|
|
917
|
-
path: E(
|
|
915
|
+
const M = v.value.find((T) => X(T) === p);
|
|
916
|
+
M && l.activeKey !== X(M) && s.push({
|
|
917
|
+
path: E(X(M))
|
|
918
918
|
});
|
|
919
919
|
}, k = () => {
|
|
920
920
|
var p;
|
|
921
921
|
i.value = !0, e.onReloadPage && ((p = e.onReloadPage) == null || p.call(e)), setTimeout(() => {
|
|
922
922
|
i.value = !1;
|
|
923
923
|
}, 500);
|
|
924
|
-
},
|
|
925
|
-
const M = v.value.find((T) =>
|
|
926
|
-
l.activeKey !==
|
|
924
|
+
}, _ = (p) => l[p], ee = (p) => {
|
|
925
|
+
const M = v.value.find((T) => X(T) === _(p));
|
|
926
|
+
l.activeKey !== _(p) && (c.normal.length > 0 ? $(X(M)) || s.push(E(_(p))) : me());
|
|
927
927
|
}, ve = (p, M) => {
|
|
928
|
-
let T = c.normal.findIndex((H) =>
|
|
929
|
-
const Y = v.value.find((H) =>
|
|
928
|
+
let T = c.normal.findIndex((H) => X(H) === _(M));
|
|
929
|
+
const Y = v.value.find((H) => X(H) === _(M)), D = L(Y);
|
|
930
930
|
switch (p) {
|
|
931
931
|
case "fixed":
|
|
932
|
-
D ? (T = c.fixed.findIndex((H) =>
|
|
932
|
+
D ? (T = c.fixed.findIndex((H) => X(H) === _(M)), c.normal.unshift(pe(Y, {
|
|
933
933
|
meta: {
|
|
934
934
|
tabState: {
|
|
935
935
|
fixed: !D
|
|
@@ -944,10 +944,10 @@ const Io = /* @__PURE__ */ K({
|
|
|
944
944
|
})), c.normal = c.normal.filter((H, de) => de !== T));
|
|
945
945
|
break;
|
|
946
946
|
case "close":
|
|
947
|
-
!i.value && O(
|
|
947
|
+
!i.value && O(X(Y) || "");
|
|
948
948
|
break;
|
|
949
949
|
case "closeOthersTabs":
|
|
950
|
-
c.normal = c.normal.filter((H) =>
|
|
950
|
+
c.normal = c.normal.filter((H) => X(H) === _(M) || L(H)), ee(M);
|
|
951
951
|
break;
|
|
952
952
|
case "closeLeftTabs":
|
|
953
953
|
_e(T) && (c.normal = c.normal.filter((H, de) => de >= T || L(H))), ee(M);
|
|
@@ -959,7 +959,7 @@ const Io = /* @__PURE__ */ K({
|
|
|
959
959
|
c.normal = c.normal.filter((H) => L(H)), me();
|
|
960
960
|
break;
|
|
961
961
|
case "reloadPage":
|
|
962
|
-
(T === 0 || T) && l.activeKey ===
|
|
962
|
+
(T === 0 || T) && l.activeKey === _(M) && k();
|
|
963
963
|
break;
|
|
964
964
|
case "newBlank":
|
|
965
965
|
window.open(location.href);
|
|
@@ -969,7 +969,7 @@ const Io = /* @__PURE__ */ K({
|
|
|
969
969
|
break;
|
|
970
970
|
}
|
|
971
971
|
}, W = (p, M) => {
|
|
972
|
-
const T = v.value.findIndex((Y) =>
|
|
972
|
+
const T = v.value.findIndex((Y) => X(Y) === M);
|
|
973
973
|
if (p === "closeOthersTabs")
|
|
974
974
|
return v.value.filter((D, H) => H !== T && !L(D)).length === 0;
|
|
975
975
|
if (p === "closeLeftTabs")
|
|
@@ -985,23 +985,23 @@ const Io = /* @__PURE__ */ K({
|
|
|
985
985
|
return n(ye, {
|
|
986
986
|
selectedKeys: [],
|
|
987
987
|
onClick: (D) => ve(D.key, Y)
|
|
988
|
-
},
|
|
988
|
+
}, xo(M = po.map((D) => {
|
|
989
989
|
if (D.key === "divider") return n(ye.Divider, {
|
|
990
990
|
key: D.key
|
|
991
991
|
}, null);
|
|
992
992
|
const H = D.icon;
|
|
993
|
-
return D.key === "close" && L($(T)) ? null : n(
|
|
993
|
+
return D.key === "close" && L($(T)) ? null : n(Io, {
|
|
994
994
|
key: D.key,
|
|
995
995
|
disabled: W(D.key, T)
|
|
996
996
|
}, {
|
|
997
997
|
default: () => {
|
|
998
|
-
var de,
|
|
998
|
+
var de, De;
|
|
999
999
|
return [D.icon && typeof D.icon == "function" ? D.key === "fullScreen" ? D.icon(r.value) : D.key === "fixed" ? D.icon(L($(T))) : null : n(H, null, null), n("span", {
|
|
1000
1000
|
style: {
|
|
1001
1001
|
marginInlineStart: "8px"
|
|
1002
1002
|
}
|
|
1003
|
-
}, [
|
|
1004
|
-
tabs: ((
|
|
1003
|
+
}, [Co(D, {
|
|
1004
|
+
tabs: ((De = (de = $(T)) == null ? void 0 : de.meta) == null ? void 0 : De.tabState) || {},
|
|
1005
1005
|
fullScreen: r.value
|
|
1006
1006
|
})])];
|
|
1007
1007
|
}
|
|
@@ -1016,18 +1016,18 @@ const Io = /* @__PURE__ */ K({
|
|
|
1016
1016
|
return n(gt, {
|
|
1017
1017
|
trigger: "contextmenu",
|
|
1018
1018
|
overlay: n(Q, {
|
|
1019
|
-
name:
|
|
1019
|
+
name: X(p) || "",
|
|
1020
1020
|
stateType: "contextMenuActiveKey"
|
|
1021
1021
|
}, null),
|
|
1022
1022
|
onOpenChange: (Y) => {
|
|
1023
|
-
l.contextMenuActiveKey = Y &&
|
|
1023
|
+
l.contextMenuActiveKey = Y && X(p) || "";
|
|
1024
1024
|
}
|
|
1025
1025
|
}, {
|
|
1026
1026
|
default: () => {
|
|
1027
1027
|
var Y;
|
|
1028
1028
|
return [M || n("div", {
|
|
1029
1029
|
class: [`${y}-title`, C.value]
|
|
1030
|
-
}, [l.activeKey ===
|
|
1030
|
+
}, [l.activeKey === X(p) && n(pt, {
|
|
1031
1031
|
class: [`${y}-reload-btn`, C.value],
|
|
1032
1032
|
spin: i.value,
|
|
1033
1033
|
onClick: (D) => {
|
|
@@ -1039,17 +1039,17 @@ const Io = /* @__PURE__ */ K({
|
|
|
1039
1039
|
}, null), v.value.length > 1 && !L(p) && n(st, {
|
|
1040
1040
|
class: [`${y}-close-btn`, C.value],
|
|
1041
1041
|
onClick: (D) => {
|
|
1042
|
-
D.stopPropagation(), !i.value && O(
|
|
1042
|
+
D.stopPropagation(), !i.value && O(X(p) || "");
|
|
1043
1043
|
}
|
|
1044
1044
|
}, null)])];
|
|
1045
1045
|
}
|
|
1046
1046
|
});
|
|
1047
1047
|
};
|
|
1048
1048
|
return () => {
|
|
1049
|
-
const p = r.value ?
|
|
1050
|
-
return d(n(J, null, [a.value &&
|
|
1049
|
+
const p = r.value ? cn : dn;
|
|
1050
|
+
return d(n(J, null, [a.value && Vn(n("div", {
|
|
1051
1051
|
class: [`${y}-fixed`, C.value]
|
|
1052
|
-
}, null), [[
|
|
1052
|
+
}, null), [[Gn, e.visible]]), n(wt, {
|
|
1053
1053
|
hideAdd: !0,
|
|
1054
1054
|
type: "editable-card",
|
|
1055
1055
|
style: z.value,
|
|
@@ -1057,15 +1057,15 @@ const Io = /* @__PURE__ */ K({
|
|
|
1057
1057
|
activeKey: l.activeKey,
|
|
1058
1058
|
onTabClick: F
|
|
1059
1059
|
}, {
|
|
1060
|
-
default: () => [v.value.map((M) => n(
|
|
1061
|
-
key:
|
|
1060
|
+
default: () => [v.value.map((M) => n(So, {
|
|
1061
|
+
key: X(M),
|
|
1062
1062
|
closable: !1,
|
|
1063
1063
|
tab: n(G, {
|
|
1064
1064
|
router: M
|
|
1065
1065
|
}, null)
|
|
1066
1066
|
}, null))],
|
|
1067
1067
|
rightExtra: () => n("div", {
|
|
1068
|
-
class:
|
|
1068
|
+
class: U(`${y}-dropdown-menu`, C.value)
|
|
1069
1069
|
}, [n(pt, {
|
|
1070
1070
|
class: [`${y}-dropdown-menu-btn`, C.value],
|
|
1071
1071
|
onClick: () => ve("reloadPage", "activeKey")
|
|
@@ -1077,7 +1077,7 @@ const Io = /* @__PURE__ */ K({
|
|
|
1077
1077
|
stateType: "activeKey"
|
|
1078
1078
|
}, null)
|
|
1079
1079
|
}, {
|
|
1080
|
-
default: () => [n(
|
|
1080
|
+
default: () => [n(Na, {
|
|
1081
1081
|
class: [`${y}-dropdown-menu-btn`, C.value]
|
|
1082
1082
|
}, null)]
|
|
1083
1083
|
}), n("div", {
|
|
@@ -1106,13 +1106,13 @@ const Io = /* @__PURE__ */ K({
|
|
|
1106
1106
|
flatMenuData: r,
|
|
1107
1107
|
layout: f
|
|
1108
1108
|
} = re();
|
|
1109
|
-
return n(J, null, [f.value === "wide" || f.value === "simple" ? null : n(
|
|
1109
|
+
return n(J, null, [f.value === "wide" || f.value === "simple" ? null : n(wo, te({
|
|
1110
1110
|
visible: i ? l ? !0 : f.value === "mix" ? r.value.length > 0 : !0 : !1
|
|
1111
1111
|
}, s), null), (g = t.default) == null ? void 0 : g.call(t)]);
|
|
1112
1112
|
};
|
|
1113
1113
|
Ft.inheritAttrs = !1;
|
|
1114
1114
|
Ft.displayName = "wrap-content";
|
|
1115
|
-
const
|
|
1115
|
+
const Ro = (e) => {
|
|
1116
1116
|
const { layout: t } = be(e);
|
|
1117
1117
|
return {
|
|
1118
1118
|
[`${e.proComponentsCls}-header`]: {
|
|
@@ -1205,7 +1205,7 @@ const wo = (e) => {
|
|
|
1205
1205
|
}
|
|
1206
1206
|
}
|
|
1207
1207
|
};
|
|
1208
|
-
},
|
|
1208
|
+
}, $o = () => n(za, null, null), Bo = (e) => {
|
|
1209
1209
|
var t;
|
|
1210
1210
|
return {
|
|
1211
1211
|
"&-content": {
|
|
@@ -1247,7 +1247,7 @@ const wo = (e) => {
|
|
|
1247
1247
|
"&:hover": {
|
|
1248
1248
|
backgroundColor: e.colorBgTextHover
|
|
1249
1249
|
},
|
|
1250
|
-
"* div": (t =
|
|
1250
|
+
"* div": (t = Sa) == null ? void 0 : t(e),
|
|
1251
1251
|
a: {
|
|
1252
1252
|
display: "flex",
|
|
1253
1253
|
height: "100%",
|
|
@@ -1275,7 +1275,7 @@ const wo = (e) => {
|
|
|
1275
1275
|
}
|
|
1276
1276
|
}
|
|
1277
1277
|
};
|
|
1278
|
-
},
|
|
1278
|
+
}, Mo = (e) => ({
|
|
1279
1279
|
"&-content": {
|
|
1280
1280
|
maxHeight: "calc(100vh - 48px)",
|
|
1281
1281
|
overflow: "auto",
|
|
@@ -1357,12 +1357,12 @@ const wo = (e) => {
|
|
|
1357
1357
|
}
|
|
1358
1358
|
}
|
|
1359
1359
|
}
|
|
1360
|
-
}),
|
|
1360
|
+
}), Lo = (e) => ({
|
|
1361
1361
|
[e.componentCls]: {
|
|
1362
|
-
"&-simple":
|
|
1363
|
-
"&-default":
|
|
1362
|
+
"&-simple": Mo(e),
|
|
1363
|
+
"&-default": Bo(e)
|
|
1364
1364
|
}
|
|
1365
|
-
}),
|
|
1365
|
+
}), Oo = (e) => {
|
|
1366
1366
|
var a, o, i, l, s;
|
|
1367
1367
|
const { theme: t } = be(e);
|
|
1368
1368
|
return {
|
|
@@ -1413,14 +1413,14 @@ const wo = (e) => {
|
|
|
1413
1413
|
}
|
|
1414
1414
|
}
|
|
1415
1415
|
};
|
|
1416
|
-
},
|
|
1416
|
+
}, Fo = ({
|
|
1417
1417
|
logo: e
|
|
1418
1418
|
}) => typeof e == "string" ? n("img", {
|
|
1419
1419
|
width: "auto",
|
|
1420
1420
|
height: 22,
|
|
1421
1421
|
src: e,
|
|
1422
1422
|
alt: "logo"
|
|
1423
|
-
}, null) : typeof e == "function" ? e() : e,
|
|
1423
|
+
}, null) : typeof e == "function" ? e() : e, wn = /* @__PURE__ */ K({
|
|
1424
1424
|
name: "AppsLogoIcon",
|
|
1425
1425
|
inheritAttrs: !1,
|
|
1426
1426
|
setup(e, {
|
|
@@ -1432,7 +1432,7 @@ const wo = (e) => {
|
|
|
1432
1432
|
}), {
|
|
1433
1433
|
wrapSSR: o,
|
|
1434
1434
|
hashId: i
|
|
1435
|
-
} = ge("AppsLogoIcon", [
|
|
1435
|
+
} = ge("AppsLogoIcon", [Oo], a), [l, s] = Se(!1), r = he(), f = he();
|
|
1436
1436
|
return () => {
|
|
1437
1437
|
var h;
|
|
1438
1438
|
return o(n(J, null, [n("div", {
|
|
@@ -1440,7 +1440,7 @@ const wo = (e) => {
|
|
|
1440
1440
|
onClick: (g) => {
|
|
1441
1441
|
g.stopPropagation(), g.preventDefault();
|
|
1442
1442
|
}
|
|
1443
|
-
}, null), n(
|
|
1443
|
+
}, null), n(Jn, {
|
|
1444
1444
|
placement: "bottomRight",
|
|
1445
1445
|
trigger: ["click"],
|
|
1446
1446
|
arrow: !1,
|
|
@@ -1456,10 +1456,10 @@ const wo = (e) => {
|
|
|
1456
1456
|
onClick: (g) => {
|
|
1457
1457
|
g.stopPropagation();
|
|
1458
1458
|
},
|
|
1459
|
-
class:
|
|
1459
|
+
class: U(`${a}-icon`, i.value, {
|
|
1460
1460
|
[`${a}-icon-active`]: l.value
|
|
1461
1461
|
})
|
|
1462
|
-
}, [n(
|
|
1462
|
+
}, [n($o, null, null)])]
|
|
1463
1463
|
})]));
|
|
1464
1464
|
};
|
|
1465
1465
|
}
|
|
@@ -1476,31 +1476,31 @@ const nt = (e) => {
|
|
|
1476
1476
|
if (!t)
|
|
1477
1477
|
return null;
|
|
1478
1478
|
if (typeof t == "string" && t !== "") {
|
|
1479
|
-
if (Bt(t) ||
|
|
1479
|
+
if (Bt(t) || ha(t))
|
|
1480
1480
|
return n("img", {
|
|
1481
1481
|
src: t,
|
|
1482
1482
|
alt: "icon",
|
|
1483
1483
|
class: `${e.className}-icon-image`
|
|
1484
1484
|
}, null);
|
|
1485
1485
|
if (a && typeof a == "string") {
|
|
1486
|
-
const l =
|
|
1486
|
+
const l = Da({
|
|
1487
1487
|
scriptUrl: o || Z.iconfontUrl
|
|
1488
1488
|
});
|
|
1489
1489
|
return o ? n(l, {
|
|
1490
1490
|
type: t
|
|
1491
1491
|
}, null) : n("i", {
|
|
1492
|
-
class: `${
|
|
1492
|
+
class: U(`${e.className}-icon`, t, e.className, a)
|
|
1493
1493
|
}, null);
|
|
1494
1494
|
}
|
|
1495
1495
|
}
|
|
1496
1496
|
if (Oe(t))
|
|
1497
1497
|
return t;
|
|
1498
|
-
const i =
|
|
1498
|
+
const i = tn(t);
|
|
1499
1499
|
return typeof nt == "function" && n(i, null, null) || null;
|
|
1500
|
-
},
|
|
1500
|
+
}, Rn = /* @__PURE__ */ K({
|
|
1501
1501
|
name: "BaseMenu",
|
|
1502
1502
|
props: {
|
|
1503
|
-
...
|
|
1503
|
+
...we(ct, "onSelect"),
|
|
1504
1504
|
onSelect: {
|
|
1505
1505
|
type: Function
|
|
1506
1506
|
}
|
|
@@ -1524,14 +1524,14 @@ const nt = (e) => {
|
|
|
1524
1524
|
var v;
|
|
1525
1525
|
const w = d.link || "", c = Bt(w);
|
|
1526
1526
|
((v = t.currentRoute.value) == null ? void 0 : v.fullPath) !== C.to && c && w && d.linkStatus === 1 && window.open(w);
|
|
1527
|
-
}, h =
|
|
1527
|
+
}, h = tn("router-link"), g = (d, C) => {
|
|
1528
1528
|
var m;
|
|
1529
1529
|
const w = Te(d == null ? void 0 : d.icon), c = typeof d.badge == "function" ? n("div", {
|
|
1530
1530
|
class: `${o}-item-bradde`
|
|
1531
|
-
}, [(m = d.badge) == null ? void 0 : m.call(d,
|
|
1531
|
+
}, [(m = d.badge) == null ? void 0 : m.call(d, we(d, "badge"))]) : null, v = n("span", {
|
|
1532
1532
|
class: [`${o}-title`, !w && `${o}-title-no-icon`]
|
|
1533
1533
|
}, [d.title]);
|
|
1534
|
-
return C ? v : n(J, null, [v, c ?? (
|
|
1534
|
+
return C ? v : n(J, null, [v, c ?? (ga(d.badge) && n(ea, te({
|
|
1535
1535
|
class: `${o}-item-bradde`,
|
|
1536
1536
|
overflowCount: 999
|
|
1537
1537
|
}, d.badge), null))]);
|
|
@@ -1541,7 +1541,7 @@ const nt = (e) => {
|
|
|
1541
1541
|
const w = {
|
|
1542
1542
|
...d.meta
|
|
1543
1543
|
}, c = w.linkStatus === 1 && w.link ? "a" : h, v = {
|
|
1544
|
-
to:
|
|
1544
|
+
to: ya(d.redirect) ? d.redirect : d.path || ""
|
|
1545
1545
|
}, m = Te((N = d.meta) == null ? void 0 : N.icon), x = n(c, te(v, {
|
|
1546
1546
|
class: "gx-pro-menu-item",
|
|
1547
1547
|
onClick: () => f(w, v)
|
|
@@ -1610,7 +1610,7 @@ const nt = (e) => {
|
|
|
1610
1610
|
default: () => [i.value]
|
|
1611
1611
|
});
|
|
1612
1612
|
}
|
|
1613
|
-
}),
|
|
1613
|
+
}), $n = new S("pro-layout-title-hide", {
|
|
1614
1614
|
"0%": { display: "none", opacity: 0 },
|
|
1615
1615
|
"80%": {
|
|
1616
1616
|
overflow: "hidden"
|
|
@@ -1619,7 +1619,7 @@ const nt = (e) => {
|
|
|
1619
1619
|
display: "unset",
|
|
1620
1620
|
opacity: 1
|
|
1621
1621
|
}
|
|
1622
|
-
}),
|
|
1622
|
+
}), ko = (e) => {
|
|
1623
1623
|
var i, l, s, r, f;
|
|
1624
1624
|
const t = lt(e, "sider"), { layout: a } = be(e), o = (i = e.layout) == null ? void 0 : i.pageContainer;
|
|
1625
1625
|
return {
|
|
@@ -1708,7 +1708,7 @@ const nt = (e) => {
|
|
|
1708
1708
|
"&-footer": {
|
|
1709
1709
|
paddingBlockEnd: 16,
|
|
1710
1710
|
fontSize: e.fontSize,
|
|
1711
|
-
animationName:
|
|
1711
|
+
animationName: $n,
|
|
1712
1712
|
animationDuration: ".4s",
|
|
1713
1713
|
animationTimingFunction: "ease"
|
|
1714
1714
|
}
|
|
@@ -1726,7 +1726,7 @@ const nt = (e) => {
|
|
|
1726
1726
|
}
|
|
1727
1727
|
}
|
|
1728
1728
|
};
|
|
1729
|
-
},
|
|
1729
|
+
}, Po = (e) => {
|
|
1730
1730
|
var l;
|
|
1731
1731
|
const t = `${e.antCls}-menu`, a = `${e.proComponentsCls}-menu-item`, { layout: o } = be(e), i = (l = e == null ? void 0 : e.layout) == null ? void 0 : l.sider;
|
|
1732
1732
|
return {
|
|
@@ -1746,15 +1746,17 @@ const nt = (e) => {
|
|
|
1746
1746
|
[`${t}-item,${t}-submenu-title`]: {
|
|
1747
1747
|
...o === "wide" && { width: "100%" },
|
|
1748
1748
|
height: i == null ? void 0 : i.menuItemHeight,
|
|
1749
|
-
lineHeight: i == null ? void 0 : i.menuItemHeight
|
|
1750
|
-
},
|
|
1751
|
-
[`${t}-item`]: {
|
|
1752
|
-
...Ee(i == null ? void 0 : i.paddingMenuItem, "padding"),
|
|
1753
|
-
...Ee(i == null ? void 0 : i.marginMenuItem, "margin")
|
|
1749
|
+
lineHeight: Ne(i == null ? void 0 : i.menuItemHeight)
|
|
1754
1750
|
},
|
|
1755
|
-
[
|
|
1756
|
-
|
|
1757
|
-
|
|
1751
|
+
[`&:not(${t}-inline-collapsed)`]: {
|
|
1752
|
+
[`${t}-item`]: {
|
|
1753
|
+
...Ee(i == null ? void 0 : i.paddingMenuItem, "padding"),
|
|
1754
|
+
...Ee(i == null ? void 0 : i.marginMenuItem, "margin")
|
|
1755
|
+
},
|
|
1756
|
+
[`${t}-submenu-title`]: {
|
|
1757
|
+
...Ee(i == null ? void 0 : i.paddingSubMenuItem, "padding"),
|
|
1758
|
+
...Ee(i == null ? void 0 : i.marginSubMenuItem, "margin")
|
|
1759
|
+
}
|
|
1758
1760
|
},
|
|
1759
1761
|
[`${t}-item:last-child`]: o === "wide" ? {
|
|
1760
1762
|
marginBottom: e.marginXXS
|
|
@@ -1772,7 +1774,7 @@ const nt = (e) => {
|
|
|
1772
1774
|
}
|
|
1773
1775
|
}
|
|
1774
1776
|
};
|
|
1775
|
-
},
|
|
1777
|
+
}, To = (e) => {
|
|
1776
1778
|
const { layout: t } = be(e);
|
|
1777
1779
|
return {
|
|
1778
1780
|
[`${e.proComponentsCls}-basic-layout`]: {
|
|
@@ -1785,11 +1787,11 @@ const nt = (e) => {
|
|
|
1785
1787
|
}
|
|
1786
1788
|
}
|
|
1787
1789
|
};
|
|
1788
|
-
},
|
|
1790
|
+
}, Bn = (e, t) => e === !1 ? null : typeof e == "string" ? n("img", {
|
|
1789
1791
|
src: e,
|
|
1790
1792
|
alt: "logo",
|
|
1791
1793
|
style: t
|
|
1792
|
-
}, null) : typeof e == "function" ? e() : e,
|
|
1794
|
+
}, null) : typeof e == "function" ? e() : e, No = (e) => {
|
|
1793
1795
|
const {
|
|
1794
1796
|
logo: t,
|
|
1795
1797
|
logoStyle: a,
|
|
@@ -1797,12 +1799,12 @@ const nt = (e) => {
|
|
|
1797
1799
|
layout: i
|
|
1798
1800
|
} = e, l = e.logoContentRender;
|
|
1799
1801
|
if (l === !1) return null;
|
|
1800
|
-
const s =
|
|
1802
|
+
const s = Bn(t, a), r = o && n("h1", null, [o]);
|
|
1801
1803
|
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]);
|
|
1802
1804
|
}, kt = /* @__PURE__ */ K({
|
|
1803
1805
|
name: "LogoContent",
|
|
1804
1806
|
props: {
|
|
1805
|
-
...
|
|
1807
|
+
...io,
|
|
1806
1808
|
hashId: String,
|
|
1807
1809
|
baseClassName: String
|
|
1808
1810
|
},
|
|
@@ -1827,7 +1829,7 @@ const nt = (e) => {
|
|
|
1827
1829
|
}
|
|
1828
1830
|
}, [n("a", {
|
|
1829
1831
|
key: "title"
|
|
1830
|
-
}, [
|
|
1832
|
+
}, [No({
|
|
1831
1833
|
...e,
|
|
1832
1834
|
collapsed: a.value
|
|
1833
1835
|
}) || null]), (o = t.default) == null ? void 0 : o.call(t)]);
|
|
@@ -1835,7 +1837,7 @@ const nt = (e) => {
|
|
|
1835
1837
|
}
|
|
1836
1838
|
});
|
|
1837
1839
|
kt.inheritAttrs = !1;
|
|
1838
|
-
const
|
|
1840
|
+
const Mn = (e) => {
|
|
1839
1841
|
var i;
|
|
1840
1842
|
const { theme: t, layout: a } = be(e), o = (i = e.layout) == null ? void 0 : i.sider;
|
|
1841
1843
|
return {
|
|
@@ -1867,7 +1869,7 @@ const Bn = (e) => {
|
|
|
1867
1869
|
marginInlineEnd: 0,
|
|
1868
1870
|
marginInlineStart: 8,
|
|
1869
1871
|
color: t === "dark" ? e.colorWhite : o == null ? void 0 : o.colorTextMenuTitle,
|
|
1870
|
-
animationName:
|
|
1872
|
+
animationName: $n,
|
|
1871
1873
|
animationDuration: ".4s",
|
|
1872
1874
|
animationTimingFunction: "ease",
|
|
1873
1875
|
fontWeight: 600,
|
|
@@ -1893,7 +1895,7 @@ const Bn = (e) => {
|
|
|
1893
1895
|
}
|
|
1894
1896
|
}
|
|
1895
1897
|
};
|
|
1896
|
-
},
|
|
1898
|
+
}, zo = (e) => {
|
|
1897
1899
|
var a;
|
|
1898
1900
|
const t = (a = e.layout) == null ? void 0 : a.sider;
|
|
1899
1901
|
return {
|
|
@@ -1933,10 +1935,10 @@ const Bn = (e) => {
|
|
|
1933
1935
|
}
|
|
1934
1936
|
};
|
|
1935
1937
|
};
|
|
1936
|
-
function
|
|
1937
|
-
return n(
|
|
1938
|
+
function Do() {
|
|
1939
|
+
return n(Aa, null, null);
|
|
1938
1940
|
}
|
|
1939
|
-
const
|
|
1941
|
+
const Ao = /* @__PURE__ */ K({
|
|
1940
1942
|
name: "CollapsedIcon",
|
|
1941
1943
|
inheritAttrs: !1,
|
|
1942
1944
|
props: {
|
|
@@ -1953,9 +1955,9 @@ const Do = /* @__PURE__ */ K({
|
|
|
1953
1955
|
}), {
|
|
1954
1956
|
wrapSSR: o,
|
|
1955
1957
|
hashId: i
|
|
1956
|
-
} = ge("SiderMenuCollapsedIcon", [
|
|
1958
|
+
} = ge("SiderMenuCollapsedIcon", [zo], a);
|
|
1957
1959
|
return () => o(n("div", {
|
|
1958
|
-
class:
|
|
1960
|
+
class: U(a, i.value, {
|
|
1959
1961
|
[`${a}-collapsed`]: e.collapsed,
|
|
1960
1962
|
[`${a}-is-mobile`]: e.isMobile
|
|
1961
1963
|
}),
|
|
@@ -1963,32 +1965,32 @@ const Do = /* @__PURE__ */ K({
|
|
|
1963
1965
|
var s;
|
|
1964
1966
|
return (s = e.onClick) == null ? void 0 : s.call(e, l);
|
|
1965
1967
|
}
|
|
1966
|
-
}, [n(
|
|
1968
|
+
}, [n(Do, null, null)]));
|
|
1967
1969
|
}
|
|
1968
|
-
}),
|
|
1970
|
+
}), Ln = (e, t, a) => e.sort((o, i) => {
|
|
1969
1971
|
var r, f;
|
|
1970
1972
|
const l = ((r = o.meta) == null ? void 0 : r.order) || 0, s = ((f = i.meta) == null ? void 0 : f.order) || 0;
|
|
1971
1973
|
return l - s > 0 ? 1 : -1;
|
|
1972
1974
|
}).map((o, i) => {
|
|
1973
1975
|
var l, s, r, f;
|
|
1974
|
-
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}`, (l = a == null ? void 0 : a.meta) != null && l.hidden && (o.meta.hidden = !0), (s = a == null ? void 0 : a.meta) != null && s.hideChildren && (o.meta.hidden = !0), (r = a == null ? void 0 : a.meta) != null && r.hideInMenu && (o.meta.hideInMenu = !0), (f = a == null ? void 0 : a.meta) != null && f.hideChildrenInMenu && (o.meta.hideInMenu = !0), o.path = o.path.replace("//", "/"), o.children && o.children.length > 0 && (o.children =
|
|
1976
|
+
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}`, (l = a == null ? void 0 : a.meta) != null && l.hidden && (o.meta.hidden = !0), (s = a == null ? void 0 : a.meta) != null && s.hideChildren && (o.meta.hidden = !0), (r = a == null ? void 0 : a.meta) != null && r.hideInMenu && (o.meta.hideInMenu = !0), (f = a == null ? void 0 : a.meta) != null && f.hideChildrenInMenu && (o.meta.hideInMenu = !0), o.path = o.path.replace("//", "/"), o.children && o.children.length > 0 && (o.children = Ln(o.children, t, o)), t[`${o.path}`] = o, o;
|
|
1975
1977
|
});
|
|
1976
1978
|
function Pt(e) {
|
|
1977
1979
|
const { menuSelectKey: t } = (e == null ? void 0 : e.meta) || {};
|
|
1978
1980
|
return t || e.fullPath || e.path;
|
|
1979
1981
|
}
|
|
1980
|
-
const
|
|
1982
|
+
const Ho = (e) => {
|
|
1981
1983
|
const t = e.find((i) => {
|
|
1982
1984
|
var l;
|
|
1983
1985
|
return i.path === "/" && ((l = i.children) == null ? void 0 : l.length);
|
|
1984
|
-
}), a = {}, o =
|
|
1986
|
+
}), a = {}, o = Ln((t == null ? void 0 : t.children) || [], a);
|
|
1985
1987
|
return {
|
|
1986
1988
|
menuData: o,
|
|
1987
1989
|
breadcrumb: a,
|
|
1988
1990
|
getLevel: () => Mt(o)
|
|
1989
1991
|
};
|
|
1990
1992
|
};
|
|
1991
|
-
function
|
|
1993
|
+
function jo(e) {
|
|
1992
1994
|
const t = /* @__PURE__ */ new Map(), a = [];
|
|
1993
1995
|
function o(l) {
|
|
1994
1996
|
return l.map((s) => {
|
|
@@ -2007,20 +2009,20 @@ function Ho(e) {
|
|
|
2007
2009
|
return s;
|
|
2008
2010
|
}).filter((s) => s);
|
|
2009
2011
|
}
|
|
2010
|
-
const i = o(
|
|
2012
|
+
const i = o(ba(e));
|
|
2011
2013
|
return a.length > 0 && console.warn("The menu contains duplicate names or name undefined: ", a), i;
|
|
2012
2014
|
}
|
|
2013
|
-
function
|
|
2015
|
+
function Eo(e) {
|
|
2014
2016
|
return e.map((t) => {
|
|
2015
2017
|
var a;
|
|
2016
|
-
return (a = t == null ? void 0 : t.meta) != null && a.hidden ? null : (t.redirect = t.redirect === void 0 ?
|
|
2018
|
+
return (a = t == null ? void 0 : t.meta) != null && a.hidden ? null : (t.redirect = t.redirect === void 0 ? On(t.children || []) || void 0 : t.redirect, t.children && delete t.children, t);
|
|
2017
2019
|
}).filter((t) => t);
|
|
2018
2020
|
}
|
|
2019
|
-
function
|
|
2021
|
+
function Ko(e, t) {
|
|
2020
2022
|
const a = (t || "").split("/").length === 2 ? t || "" : `/${(t || "").split("/")[1]}`, o = e.find((i) => i.path === a);
|
|
2021
2023
|
return t === void 0 ? [] : (o == null ? void 0 : o.children) || [];
|
|
2022
2024
|
}
|
|
2023
|
-
function
|
|
2025
|
+
function On(e) {
|
|
2024
2026
|
var l, s;
|
|
2025
2027
|
const t = e == null ? void 0 : e.filter((r) => {
|
|
2026
2028
|
var f, h;
|
|
@@ -2040,7 +2042,7 @@ function Ln(e) {
|
|
|
2040
2042
|
}
|
|
2041
2043
|
return o;
|
|
2042
2044
|
}
|
|
2043
|
-
function
|
|
2045
|
+
function Fn(e, t) {
|
|
2044
2046
|
var a;
|
|
2045
2047
|
for (const o of e) {
|
|
2046
2048
|
if (o.key === t) {
|
|
@@ -2053,36 +2055,36 @@ function On(e, t) {
|
|
|
2053
2055
|
return i.key;
|
|
2054
2056
|
}
|
|
2055
2057
|
if (o.children) {
|
|
2056
|
-
const i =
|
|
2058
|
+
const i = Fn(o.children, t);
|
|
2057
2059
|
if (i)
|
|
2058
2060
|
return i;
|
|
2059
2061
|
}
|
|
2060
2062
|
}
|
|
2061
2063
|
}
|
|
2062
|
-
function
|
|
2064
|
+
function kn({ menuData: e, levelMenuData: t }, { path: a, name: o }) {
|
|
2063
2065
|
var I, y, d, C;
|
|
2064
2066
|
const i = t.find((w) => w.name === o), l = (i == null ? void 0 : i.key) || "", s = (I = i == null ? void 0 : i.meta) == null ? void 0 : I.hideInMenu;
|
|
2065
2067
|
let r = ((y = t.find((w) => w.path === a)) == null ? void 0 : y.key) || "";
|
|
2066
|
-
const f = !r || s, h = l.split("-").slice(0, -1).join("-"), g = t.find((w) => w.key === h), u =
|
|
2068
|
+
const f = !r || s, h = l.split("-").slice(0, -1).join("-"), g = t.find((w) => w.key === h), u = Fn(e, h) || r;
|
|
2067
2069
|
if (r = f ? (d = g == null ? void 0 : g.meta) != null && d.menuSelectKey && ((C = t.find((w) => w.path === Pt(g))) == null ? void 0 : C.key) || u : r, r) {
|
|
2068
2070
|
const w = [], c = r.split("-");
|
|
2069
2071
|
for (let m = 0; m < c.length; m += 1)
|
|
2070
|
-
w.push(
|
|
2072
|
+
w.push(Ce(c).splice(0, m + 1).join("-"));
|
|
2071
2073
|
const v = l === r || s ? [] : t.filter((m) => l === m.key);
|
|
2072
2074
|
return t.filter((m) => w.some((x) => x === (m == null ? void 0 : m.key) || "")).concat(v);
|
|
2073
2075
|
}
|
|
2074
2076
|
return [];
|
|
2075
2077
|
}
|
|
2076
|
-
function
|
|
2078
|
+
function Wo(e, t) {
|
|
2077
2079
|
return e.map((a) => {
|
|
2078
|
-
const o = a.children ?
|
|
2080
|
+
const o = a.children ? Wo(a.children, t) : [];
|
|
2079
2081
|
return t(a) || o.length > 0 ? {
|
|
2080
2082
|
...a,
|
|
2081
2083
|
children: o.length > 0 ? o : void 0
|
|
2082
2084
|
} : null;
|
|
2083
2085
|
}).filter((a) => a !== null);
|
|
2084
2086
|
}
|
|
2085
|
-
const
|
|
2087
|
+
const Uo = ["left", "right"], Ke = ["left", "right", "down", "up"], _o = ["downBig", "upBig", "leftBig", "rightBig"], Xo = ["topLeft", "bottomRight", "topRight", "bottomLeft"], Vo = ["downLeft", "upRight", "downRight", "upLeft"], Tt = {
|
|
2086
2088
|
preset: [
|
|
2087
2089
|
// 预设动画配置
|
|
2088
2090
|
{ name: "back", alias: "渐近", directions: Ke },
|
|
@@ -2090,11 +2092,11 @@ const Wo = ["left", "right"], Ke = ["left", "right", "down", "up"], Uo = ["downB
|
|
|
2090
2092
|
{
|
|
2091
2093
|
name: "fade",
|
|
2092
2094
|
alias: "淡化",
|
|
2093
|
-
directions: Ke.concat(
|
|
2095
|
+
directions: Ke.concat(_o).concat(Xo).concat("default")
|
|
2094
2096
|
},
|
|
2095
2097
|
{ name: "flip", alias: "翻转", directions: ["x", "y"] },
|
|
2096
|
-
{ name: "lightSpeed", alias: "光速", directions:
|
|
2097
|
-
{ name: "rotate", alias: "旋转", directions:
|
|
2098
|
+
{ name: "lightSpeed", alias: "光速", directions: Uo },
|
|
2099
|
+
{ name: "rotate", alias: "旋转", directions: Vo.concat("default") },
|
|
2098
2100
|
{ name: "roll", alias: "翻滚", directions: ["default"] },
|
|
2099
2101
|
{ name: "zoom", alias: "缩放", directions: Ke.concat("default") },
|
|
2100
2102
|
{ name: "slide", alias: "滑动", directions: Ke }
|
|
@@ -2110,29 +2112,29 @@ const Wo = ["left", "right"], Ke = ["left", "right", "down", "up"], Uo = ["downB
|
|
|
2110
2112
|
colorItemTextSelected: "colorTextMenuSelected",
|
|
2111
2113
|
colorItemTextSelectedHorizontal: "colorTextMenuSelected"
|
|
2112
2114
|
};
|
|
2113
|
-
function
|
|
2115
|
+
function Pn({ type: e, token: t, dark: a, staticToken: o }) {
|
|
2114
2116
|
var f, h;
|
|
2115
2117
|
const i = (f = t.layout) == null ? void 0 : f[e], l = rt(e, t, ((h = t.layout) == null ? void 0 : h.key) || ""), s = Object.keys(ht).reduce((g, u) => (g[u] = i[ht[u]] || l[ht[u]], g), {}), r = Object.assign(o, Object.fromEntries(Object.entries(s).filter(([g, u]) => u !== void 0)));
|
|
2116
2118
|
return a && e === "header" && (r.colorActiveBarHeight = 0), r;
|
|
2117
2119
|
}
|
|
2118
|
-
function
|
|
2120
|
+
function Go(e) {
|
|
2119
2121
|
return e.layout === "mix" && (e.fixSiderbar = !0, e.fixedHeader = !0, e.splitMenus = !0), e.layout === "top" && (e.fixSiderbar = !1, e.fixedHeader = !0, e.splitMenus = !1), e.layout === "simple" && (e.splitMenus = !1, e.showTabsBar = !1, e.fixedHeader = !1, e.fixSiderbar = !0), e.layout === "side" && (e.splitMenus = !1, e.fixedHeader = !0, e.fixSiderbar = !0), e.layout === "wide" && (e.splitMenus = !1, e.fixSiderbar = !1, e.fixedHeader = !0, e.showTabsBar = !1, e.fixedTabsBar = !1), { ...e };
|
|
2120
2122
|
}
|
|
2121
|
-
function
|
|
2123
|
+
function Yo(e) {
|
|
2122
2124
|
const t = ["showTabsBar", "fixedMultiTab", "fixSiderbar", "fixedHeader", "splitMenus"];
|
|
2123
2125
|
let o = Object.keys(e).reduce((i, l) => (i[l] = !1, i), {});
|
|
2124
2126
|
return o = le(o, t), e.layout === "mix" && (o.fixSiderbar = !0, o.fixedHeader = !0), e.layout === "top" && (o.fixSiderbar = !0, o.splitMenus = !0), e.layout === "side" && (o.splitMenus = !0), e.layout === "simple" && (o.splitMenus = !0, o.fixedHeader = !0, o.showTabsBar = !0, o.fixedTabsBar = !0), e.layout === "wide" && (o.splitMenus = !0, o.fixedHeader = !0, o.fixSiderbar = !0, o.showTabsBar = !0, o.fixedTabsBar = !0), o;
|
|
2125
2127
|
}
|
|
2126
|
-
function
|
|
2128
|
+
function qo(e, t) {
|
|
2127
2129
|
const a = /* @__PURE__ */ new Set();
|
|
2128
2130
|
return e.filter((o) => a.has(o[t]) ? !1 : (a.add(o[t]), !0));
|
|
2129
2131
|
}
|
|
2130
|
-
function
|
|
2132
|
+
function Xt(e) {
|
|
2131
2133
|
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Oe(e);
|
|
2132
2134
|
}
|
|
2133
2135
|
const {
|
|
2134
|
-
Sider:
|
|
2135
|
-
} = Ue,
|
|
2136
|
+
Sider: Qo
|
|
2137
|
+
} = Ue, Tn = (e) => e ? n(Ha, null, null) : n(ja, null, null), Vt = /* @__PURE__ */ K({
|
|
2136
2138
|
props: ce,
|
|
2137
2139
|
inheritAttrs: !1,
|
|
2138
2140
|
setup(e) {
|
|
@@ -2144,7 +2146,7 @@ const {
|
|
|
2144
2146
|
openKeys: l,
|
|
2145
2147
|
menuState: s,
|
|
2146
2148
|
contentFullScreen: r
|
|
2147
|
-
} = re(), f =
|
|
2149
|
+
} = re(), f = yn(), {
|
|
2148
2150
|
token: h
|
|
2149
2151
|
} = ke(), {
|
|
2150
2152
|
theme: g,
|
|
@@ -2166,39 +2168,39 @@ const {
|
|
|
2166
2168
|
}), z = R(() => e.layout === "wide"), $ = R(() => e.layout === "mix" && !e.isMobile && e.splitMenus), b = R(() => u.value === "side" || u.value === "simple"), L = R(() => e.isMobile || z.value ? !1 : C.value), A = R(() => (e.layout === "mix" || z.value) && "light" || s.value.theme), {
|
|
2167
2169
|
wrapSSR: j,
|
|
2168
2170
|
hashId: E
|
|
2169
|
-
} = ge("ProLayoutSiderMenu", [Po, ko,
|
|
2171
|
+
} = ge("ProLayoutSiderMenu", [To, Po, ko, Mn, (W) => {
|
|
2170
2172
|
var Re, $e;
|
|
2171
2173
|
const Q = (Re = W == null ? void 0 : W.layout) == null ? void 0 : Re.sider, G = rt("sider", W, ($e = W.layout) == null ? void 0 : $e.key), {
|
|
2172
2174
|
dark: fe
|
|
2173
|
-
} = be(W),
|
|
2175
|
+
} = be(W), Ie = lt(W, "sider");
|
|
2174
2176
|
return {
|
|
2175
2177
|
[`${W.proComponentsCls}-basic-layout`]: {
|
|
2176
2178
|
[W.componentCls]: {
|
|
2177
2179
|
background: (Q == null ? void 0 : Q.colorBgMenu) || (G == null ? void 0 : G.colorBgMenu),
|
|
2178
|
-
boxShadow:
|
|
2180
|
+
boxShadow: Ie || fe ? "#0d0d0da6 0 2px 8px" : "2px 0 8px 0 rgba(29,35,41,.05)",
|
|
2179
2181
|
[`${W.componentCls}-footer`]: {
|
|
2180
2182
|
color: Q == null ? void 0 : Q.colorTextMenu
|
|
2181
2183
|
}
|
|
2182
2184
|
}
|
|
2183
2185
|
}
|
|
2184
2186
|
};
|
|
2185
|
-
}], B), ne = R(() => u.value === "top" ? [] : i.value), me = R(() => e.collapsed ? m.value : v.value), O = R(() =>
|
|
2187
|
+
}], B), ne = R(() => u.value === "top" ? [] : i.value), me = R(() => e.collapsed ? m.value : v.value), O = R(() => U([E.value, B, I.value ? "shadow" : null, `${B}-${g.value}`, L.value ? `${B}-fixed` : null])), F = R(() => N.value !== !1 ? N.value || Tn : !1), k = bt(() => e.layout === "simple" || !e.appLogoListRender ? null : n(wn, null, {
|
|
2186
2188
|
default: () => {
|
|
2187
2189
|
var W;
|
|
2188
2190
|
return [typeof e.appLogoListRender == "function" ? (W = e.appLogoListRender) == null ? void 0 : W.call(e) : e.appLogoListRender];
|
|
2189
2191
|
}
|
|
2190
2192
|
}), [() => e.appLogoListRender]);
|
|
2191
|
-
function
|
|
2193
|
+
function _() {
|
|
2192
2194
|
var W;
|
|
2193
2195
|
e.onCollapse && ((W = e.onCollapse) == null || W.call(e, !c.value));
|
|
2194
2196
|
}
|
|
2195
2197
|
const ee = bt(() => {
|
|
2196
2198
|
var Q;
|
|
2197
2199
|
if (N.value === !1) return null;
|
|
2198
|
-
const W = n(
|
|
2200
|
+
const W = n(Ao, {
|
|
2199
2201
|
isMobile: I.value,
|
|
2200
2202
|
collapsed: c.value,
|
|
2201
|
-
onClick: () =>
|
|
2203
|
+
onClick: () => _()
|
|
2202
2204
|
}, null);
|
|
2203
2205
|
return N.value ? (Q = N.value) == null ? void 0 : Q.call(N, c.value, W) : W;
|
|
2204
2206
|
}, [() => e.collapsedButtonRender, () => e.isMobile, () => e.collapsed]), ve = (W) => {
|
|
@@ -2216,11 +2218,13 @@ const {
|
|
|
2216
2218
|
var $e;
|
|
2217
2219
|
let W;
|
|
2218
2220
|
const Q = b.value && n(kt, te({
|
|
2221
|
+
title: e.title,
|
|
2219
2222
|
hashId: E.value,
|
|
2223
|
+
layout: e.layout,
|
|
2220
2224
|
baseClassName: B
|
|
2221
2225
|
}, le(e, Object.keys(ut))), {
|
|
2222
2226
|
default: () => [k.value]
|
|
2223
|
-
}), G = e.menuHeaderRender && (($e = e.menuHeaderRender) == null ? void 0 : $e.call(e, e)), fe = e.menuLinksRender,
|
|
2227
|
+
}), G = e.menuHeaderRender && (($e = e.menuHeaderRender) == null ? void 0 : $e.call(e, e)), fe = e.menuLinksRender, Ie = e.siderActionsRender, Re = n(Rn, {
|
|
2224
2228
|
class: `${B}-menu ${E.value}`,
|
|
2225
2229
|
theme: A.value,
|
|
2226
2230
|
mode: "inline",
|
|
@@ -2243,7 +2247,7 @@ const {
|
|
|
2243
2247
|
return $.value && ue(o.value).length === 0 && e.suppressSiderWhenMenuEmpty || ne.value.length === 0 && e.suppressSiderWhenMenuEmpty ? null : j(n(Rt, {
|
|
2244
2248
|
theme: {
|
|
2245
2249
|
components: {
|
|
2246
|
-
Menu:
|
|
2250
|
+
Menu: Pn({
|
|
2247
2251
|
token: (h == null ? void 0 : h.value) || {},
|
|
2248
2252
|
staticToken: {
|
|
2249
2253
|
radiusItem: 4,
|
|
@@ -2266,7 +2270,7 @@ const {
|
|
|
2266
2270
|
minWidth: `${me.value}px`,
|
|
2267
2271
|
transition: "all 0.2s ease 0s"
|
|
2268
2272
|
}
|
|
2269
|
-
}, null), n(
|
|
2273
|
+
}, null), n(Qo, {
|
|
2270
2274
|
collapsible: !0,
|
|
2271
2275
|
trigger: null,
|
|
2272
2276
|
class: O.value,
|
|
@@ -2290,13 +2294,13 @@ const {
|
|
|
2290
2294
|
spinning: y.value,
|
|
2291
2295
|
indicator: (p = f == null ? void 0 : f.indicator) == null ? void 0 : p.value
|
|
2292
2296
|
}, null)]), Q || null, Te(e.menuHeaderRender) && n("div", {
|
|
2293
|
-
class:
|
|
2297
|
+
class: U([E.value, `${B}-extra`, !Q && `${B}-extra-no-logo`])
|
|
2294
2298
|
}, [G]), n("div", {
|
|
2295
2299
|
style: {
|
|
2296
2300
|
flex: "1 1 0%",
|
|
2297
2301
|
overflow: "hidden auto"
|
|
2298
2302
|
},
|
|
2299
|
-
class:
|
|
2303
|
+
class: U(`${B}-menu-container`)
|
|
2300
2304
|
}, [x.value && ((M = x.value) == null ? void 0 : M.call(x, e, Re)) || Re]), e.layout !== "wide" && n(J, null, [Te(fe) && it(fe) && fe.length > 0 && n("div", {
|
|
2301
2305
|
class: `${B}-links ${E.value}`
|
|
2302
2306
|
}, [n(ye, {
|
|
@@ -2306,18 +2310,18 @@ const {
|
|
|
2306
2310
|
selectedKeys: [],
|
|
2307
2311
|
openKeys: [],
|
|
2308
2312
|
mode: "inline"
|
|
2309
|
-
},
|
|
2313
|
+
}, Xt(W = (fe || []).map((D, H) => n(ye.Item, {
|
|
2310
2314
|
class: `${B}-link ${E.value}`,
|
|
2311
2315
|
key: H
|
|
2312
|
-
},
|
|
2316
|
+
}, Xt(D) ? D : {
|
|
2313
2317
|
default: () => [D]
|
|
2314
2318
|
}))) ? W : {
|
|
2315
2319
|
default: () => [W]
|
|
2316
2320
|
})]), I.value ? null : n("div", {
|
|
2317
|
-
class:
|
|
2318
|
-
}, [
|
|
2319
|
-
class:
|
|
2320
|
-
onClick: () =>
|
|
2321
|
+
class: U(`${B}-actions`, E.value)
|
|
2322
|
+
}, [Ie || n(J, null, [n("div", {
|
|
2323
|
+
class: U(`${B}-actions-item`, E.value),
|
|
2324
|
+
onClick: () => _()
|
|
2321
2325
|
}, [F.value && ((T = F.value) == null ? void 0 : T.call(F, c.value))])])])]), P.value && n("div", {
|
|
2322
2326
|
class: `${B}-footer ${E.value}`
|
|
2323
2327
|
}, [(Y = P.value) == null ? void 0 : Y.call(P, e)]), r.value || u.value === "wide" ? null : ee.value];
|
|
@@ -2326,21 +2330,21 @@ const {
|
|
|
2326
2330
|
}));
|
|
2327
2331
|
};
|
|
2328
2332
|
}
|
|
2329
|
-
}), { provideContext:
|
|
2333
|
+
}), { provideContext: Zo, useInjectContext: Nn } = Lt("pro-layou-menu"), zn = {
|
|
2330
2334
|
...ce,
|
|
2331
|
-
...
|
|
2332
|
-
},
|
|
2333
|
-
props:
|
|
2335
|
+
...vn
|
|
2336
|
+
}, Jo = ["mix", "top", "wide"], ei = (e, t) => e === !1 ? null : e ? e(t, null) : t, ti = /* @__PURE__ */ K({
|
|
2337
|
+
props: zn,
|
|
2334
2338
|
setup(e) {
|
|
2335
2339
|
return () => e.rightContentRender && typeof e.rightContentRender == "function" ? e.rightContentRender(e) : n(J, null, null);
|
|
2336
2340
|
}
|
|
2337
|
-
}),
|
|
2338
|
-
props:
|
|
2341
|
+
}), ni = /* @__PURE__ */ K({
|
|
2342
|
+
props: zn,
|
|
2339
2343
|
inheritAttrs: !1,
|
|
2340
2344
|
setup(e, {
|
|
2341
2345
|
emit: t
|
|
2342
2346
|
}) {
|
|
2343
|
-
const a = qe(), o =
|
|
2347
|
+
const a = qe(), o = Nn(), {
|
|
2344
2348
|
token: i
|
|
2345
2349
|
} = ke(), {
|
|
2346
2350
|
getPrefixCls: l,
|
|
@@ -2355,13 +2359,13 @@ const {
|
|
|
2355
2359
|
}), {
|
|
2356
2360
|
wrapSSR: I,
|
|
2357
2361
|
hashId: y
|
|
2358
|
-
} = ge("ProGlobalHeader", [
|
|
2362
|
+
} = ge("ProGlobalHeader", [Ro, Mn], u), d = R(() => ({
|
|
2359
2363
|
[`${y.value}`]: !0,
|
|
2360
2364
|
[`${u}`]: !0,
|
|
2361
2365
|
[`${u}-${e.layout}`]: !0
|
|
2362
2366
|
})), C = (m, x, P) => {
|
|
2363
2367
|
var $, b;
|
|
2364
|
-
const N = a.currentRoute.value, B = e.layout === "mix", z = (($ = o == null ? void 0 : o.matchedMenu) == null ? void 0 : $.value) ||
|
|
2368
|
+
const N = a.currentRoute.value, B = e.layout === "mix", z = (($ = o == null ? void 0 : o.matchedMenu) == null ? void 0 : $.value) || kn({
|
|
2365
2369
|
menuData: h.value,
|
|
2366
2370
|
levelMenuData: g.value
|
|
2367
2371
|
}, {
|
|
@@ -2375,7 +2379,7 @@ const {
|
|
|
2375
2379
|
e.onOpenKeys && m === "openKeys" && e.onOpenKeys(B ? z.filter((L) => L.path !== N.path).map((L) => L.path) : x);
|
|
2376
2380
|
}, w = () => {
|
|
2377
2381
|
t("collapse", !e.collapsed);
|
|
2378
|
-
}, c = R(() => e.collapsedButtonRender ||
|
|
2382
|
+
}, c = R(() => e.collapsedButtonRender || Tn), v = () => {
|
|
2379
2383
|
var x;
|
|
2380
2384
|
const m = e.headerContentRender || e.headerContentRender === !1 ? n("div", {
|
|
2381
2385
|
style: {
|
|
@@ -2393,7 +2397,7 @@ const {
|
|
|
2393
2397
|
headerBg: "transparent",
|
|
2394
2398
|
bodyBg: "transparent"
|
|
2395
2399
|
},
|
|
2396
|
-
Menu:
|
|
2400
|
+
Menu: Pn({
|
|
2397
2401
|
token: (i == null ? void 0 : i.value) || {},
|
|
2398
2402
|
staticToken: {
|
|
2399
2403
|
radiusItem: 4,
|
|
@@ -2408,7 +2412,7 @@ const {
|
|
|
2408
2412
|
}
|
|
2409
2413
|
}
|
|
2410
2414
|
}, {
|
|
2411
|
-
default: () => [n(
|
|
2415
|
+
default: () => [n(Rn, {
|
|
2412
2416
|
theme: e.theme,
|
|
2413
2417
|
mode: e.mode,
|
|
2414
2418
|
collapsed: e.collapsed,
|
|
@@ -2426,7 +2430,7 @@ const {
|
|
|
2426
2430
|
onOpenKeys: (P) => C("openKeys", P)
|
|
2427
2431
|
}, null)]
|
|
2428
2432
|
})]);
|
|
2429
|
-
return n(J, null, [m, e.layout !== "simple" && n(
|
|
2433
|
+
return n(J, null, [m, e.layout !== "simple" && n(ti, te(e, {
|
|
2430
2434
|
extraRightDropdownRender: e.extraRightDropdownRender,
|
|
2431
2435
|
rightContentRender: e.rightContentRender
|
|
2432
2436
|
}), null)]);
|
|
@@ -2439,20 +2443,20 @@ const {
|
|
|
2439
2443
|
return (x = e.onLogoClick) == null ? void 0 : x.call(e);
|
|
2440
2444
|
},
|
|
2441
2445
|
class: [`${u}-logo`, e.isMobile && "mobile", y.value]
|
|
2442
|
-
}, [n("a", null, [
|
|
2446
|
+
}, [n("a", null, [Bn(e.logo, e.logoStyle)])]);
|
|
2443
2447
|
return I(n("div", {
|
|
2444
2448
|
class: d.value
|
|
2445
|
-
}, [e.isMobile ? n(J, null, [
|
|
2449
|
+
}, [e.isMobile ? n(J, null, [ei(e.logoContentRender, m), e.isMobile && ue(c) && n("span", {
|
|
2446
2450
|
class: `${u}-collapsed-button ${y.value}`,
|
|
2447
2451
|
onClick: w
|
|
2448
|
-
}, [ue(c)(e.collapsed)]), v()]) :
|
|
2452
|
+
}, [ue(c)(e.collapsed)]), v()]) : Jo.includes(e.layout) ? n("div", {
|
|
2449
2453
|
class: `${u}-main ${y.value}`,
|
|
2450
2454
|
style: {
|
|
2451
|
-
width:
|
|
2455
|
+
width: Ne(e.headerMainWidth ? e.headerMainWidth : e.layout === "wide" ? e.wideWidth : void 0)
|
|
2452
2456
|
}
|
|
2453
2457
|
}, [n("div", {
|
|
2454
2458
|
class: `${u}-main-left ${y.value}`
|
|
2455
|
-
}, [e.layout !== "wide" && e.appLogoListRender && n(
|
|
2459
|
+
}, [e.layout !== "wide" && e.appLogoListRender && n(wn, null, {
|
|
2456
2460
|
default: () => {
|
|
2457
2461
|
var x;
|
|
2458
2462
|
return [typeof e.appLogoListRender == "function" ? (x = e.appLogoListRender) == null ? void 0 : x.call(e) : e.appLogoListRender];
|
|
@@ -2464,14 +2468,14 @@ const {
|
|
|
2464
2468
|
};
|
|
2465
2469
|
}
|
|
2466
2470
|
});
|
|
2467
|
-
function
|
|
2471
|
+
function ai(e) {
|
|
2468
2472
|
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Oe(e);
|
|
2469
2473
|
}
|
|
2470
2474
|
const {
|
|
2471
|
-
Header:
|
|
2472
|
-
} = Ue,
|
|
2475
|
+
Header: Gt
|
|
2476
|
+
} = Ue, Yt = /* @__PURE__ */ K({
|
|
2473
2477
|
inheritAttrs: !1,
|
|
2474
|
-
props:
|
|
2478
|
+
props: pn,
|
|
2475
2479
|
setup(e) {
|
|
2476
2480
|
const {
|
|
2477
2481
|
isMobile: t,
|
|
@@ -2552,8 +2556,8 @@ const {
|
|
|
2552
2556
|
[`${I}`]: !0,
|
|
2553
2557
|
[`${I}-${g.value.key}`]: !0,
|
|
2554
2558
|
[`${y}`]: C.value
|
|
2555
|
-
})), P = R(() => C.value && !t.value), N = R(() => l.value && o.value === "mix" ?
|
|
2556
|
-
const b = n(
|
|
2559
|
+
})), P = R(() => C.value && !t.value), N = R(() => l.value && o.value === "mix" ? Eo(Ce(f.value)) : o.value === "top" ? f.value : []), B = R(() => w.value && P.value ? `calc(100% - ${e.collapsed ? e.collapsedWidth : e.siderWidth}px)` : "100%"), z = R(() => C.value ? 0 : void 0), $ = () => {
|
|
2560
|
+
const b = n(ni, te(e, {
|
|
2557
2561
|
mode: "horizontal",
|
|
2558
2562
|
theme: c.value,
|
|
2559
2563
|
onCollapse: i.value,
|
|
@@ -2564,14 +2568,14 @@ const {
|
|
|
2564
2568
|
};
|
|
2565
2569
|
return () => {
|
|
2566
2570
|
let b;
|
|
2567
|
-
return v(n(J, null, [C.value && !d.value && n(
|
|
2571
|
+
return v(n(J, null, [C.value && !d.value && n(Gt, {
|
|
2568
2572
|
style: {
|
|
2569
2573
|
height: `${u.value}px`,
|
|
2570
2574
|
lineHeight: `${u.value}px`,
|
|
2571
2575
|
background: "transparent",
|
|
2572
2576
|
marginTop: h.value ? `-${u.value}px` : void 0
|
|
2573
2577
|
}
|
|
2574
|
-
}, null), n(
|
|
2578
|
+
}, null), n(Gt, {
|
|
2575
2579
|
class: x.value,
|
|
2576
2580
|
style: {
|
|
2577
2581
|
height: `${u.value}px`,
|
|
@@ -2581,12 +2585,12 @@ const {
|
|
|
2581
2585
|
right: z.value,
|
|
2582
2586
|
marginTop: h.value ? `-${u.value}px` : void 0
|
|
2583
2587
|
}
|
|
2584
|
-
},
|
|
2588
|
+
}, ai(b = $()) ? b : {
|
|
2585
2589
|
default: () => [b]
|
|
2586
2590
|
})]));
|
|
2587
2591
|
};
|
|
2588
2592
|
}
|
|
2589
|
-
}),
|
|
2593
|
+
}), qt = /* @__PURE__ */ K({
|
|
2590
2594
|
name: "SiderMenuWrapper",
|
|
2591
2595
|
inheritAttrs: !1,
|
|
2592
2596
|
props: {
|
|
@@ -2616,14 +2620,14 @@ const {
|
|
|
2616
2620
|
flexDirection: "row"
|
|
2617
2621
|
}
|
|
2618
2622
|
}, {
|
|
2619
|
-
default: () => [n(
|
|
2623
|
+
default: () => [n(Vt, te(e, {
|
|
2620
2624
|
collapsed: e.isMobile ? !1 : e.collapsed
|
|
2621
2625
|
}), null)]
|
|
2622
|
-
}) : n(
|
|
2626
|
+
}) : n(Vt, e, null)]);
|
|
2623
2627
|
}
|
|
2624
2628
|
});
|
|
2625
2629
|
function Nt(e, { change: t }) {
|
|
2626
|
-
const { system: a } =
|
|
2630
|
+
const { system: a } = ra(), [o, i, l] = Ae("system", {
|
|
2627
2631
|
value: R(() => Ve(e.value) ? e.value : "system"),
|
|
2628
2632
|
onChange: (r) => {
|
|
2629
2633
|
t == null || t(r);
|
|
@@ -2638,7 +2642,7 @@ function Nt(e, { change: t }) {
|
|
|
2638
2642
|
function Ve(e) {
|
|
2639
2643
|
return oe(e) || e === "system";
|
|
2640
2644
|
}
|
|
2641
|
-
function
|
|
2645
|
+
function Dn({ event: e, isDark: t, value: a, toggle: o }) {
|
|
2642
2646
|
if (!// @ts-expect-error
|
|
2643
2647
|
(document.startViewTransition && !window.matchMedia("(prefers-reduced-motion: reduce)").matches) || !e || e && !e.clientX) {
|
|
2644
2648
|
o == null || o(oe(a) || a === "system" ? a : !(t != null && t.value));
|
|
@@ -2661,7 +2665,7 @@ function zn({ event: e, isDark: t, value: a, toggle: o }) {
|
|
|
2661
2665
|
});
|
|
2662
2666
|
});
|
|
2663
2667
|
}
|
|
2664
|
-
const
|
|
2668
|
+
const oi = `::view-transition-new(root),::view-transition-old(root) {
|
|
2665
2669
|
animation: none;
|
|
2666
2670
|
mix-blend-mode: normal;
|
|
2667
2671
|
}
|
|
@@ -2716,13 +2720,13 @@ window._iconfont_svg_string_4694134 = '<svg><symbol id="icon-fixed" viewBox="0 0
|
|
|
2716
2720
|
h();
|
|
2717
2721
|
}
|
|
2718
2722
|
})(window);
|
|
2719
|
-
const
|
|
2723
|
+
const ii = /* @__PURE__ */ K({
|
|
2720
2724
|
name: "BaseProLayout",
|
|
2721
2725
|
inheritAttrs: !1,
|
|
2722
2726
|
components: {
|
|
2723
|
-
GlobalHeader:
|
|
2724
|
-
GlobalFooter:
|
|
2725
|
-
SiderMenuWrapper:
|
|
2727
|
+
GlobalHeader: Yt,
|
|
2728
|
+
GlobalFooter: _t,
|
|
2729
|
+
SiderMenuWrapper: qt
|
|
2726
2730
|
},
|
|
2727
2731
|
props: He,
|
|
2728
2732
|
setup(e, {
|
|
@@ -2732,20 +2736,20 @@ const oi = /* @__PURE__ */ K({
|
|
|
2732
2736
|
suffixCls: "basic-layout",
|
|
2733
2737
|
isPor: !0
|
|
2734
2738
|
});
|
|
2735
|
-
|
|
2739
|
+
sa(oi);
|
|
2736
2740
|
const {
|
|
2737
2741
|
wrapSSR: o,
|
|
2738
2742
|
hashId: i
|
|
2739
|
-
} = ge("ProLayout", [
|
|
2743
|
+
} = ge("ProLayout", [co, mo], a), l = rn(), s = Nn(), {
|
|
2740
2744
|
token: r,
|
|
2741
2745
|
dark: f
|
|
2742
|
-
} = ke(), h = he(vt().uuid(10)), g = he(!1), u = he(!1), I = he(!1), y =
|
|
2746
|
+
} = ke(), h = he(vt().uuid(10)), g = he(!1), u = he(!1), I = he(!1), y = xe({
|
|
2743
2747
|
position: "relative"
|
|
2744
2748
|
}), d = R(() => {
|
|
2745
2749
|
var b;
|
|
2746
2750
|
return (b = r == null ? void 0 : r.value) == null ? void 0 : b.colorPrimary;
|
|
2747
2751
|
});
|
|
2748
|
-
|
|
2752
|
+
Yn(() => {
|
|
2749
2753
|
const b = document.querySelector("html");
|
|
2750
2754
|
b && (d.value && b.style.setProperty("--gx-primary-color", d.value), b.setAttribute("data-theme", f.value ? "dark" : "light"));
|
|
2751
2755
|
});
|
|
@@ -2756,12 +2760,12 @@ const oi = /* @__PURE__ */ K({
|
|
|
2756
2760
|
var b, L;
|
|
2757
2761
|
return it(e.levelMenuData) && ((b = e.levelMenuData) != null && b.length) ? e.levelMenuData : ((L = s == null ? void 0 : s.menuData) == null ? void 0 : L.value) || Mt(w.value);
|
|
2758
2762
|
}), v = R(() => e.layout === "wide"), m = R(() => ({
|
|
2759
|
-
key:
|
|
2763
|
+
key: un(f.value, e.theme),
|
|
2760
2764
|
theme: f.value ? "dark" : e.theme
|
|
2761
2765
|
})), x = R(() => (l.value === "sm" || l.value === "xs") && !e.disableMobile && !v.value), P = R(() => ({
|
|
2762
2766
|
...e.breadcrumb || {},
|
|
2763
2767
|
itemRender: se(t, e, "pageContainerProps:breadcrumbRender")
|
|
2764
|
-
})), N = R(() => C.value && e.selectedKeys ?
|
|
2768
|
+
})), N = R(() => C.value && e.selectedKeys ? Ko(w.value, e.selectedKeys[0]) : []), B = R(() => _e(e.headerHeight) ? e.headerHeight : Z.headerHeight), z = bt(() => I.value ? 0 : _e(e.siderWidth) ? e.siderWidth : e.layout === "mix" ? 215 : e.layout === "wide" ? 208 : 256, [() => e.layout, () => e.siderWidth, () => I.value]);
|
|
2765
2769
|
ae([() => e.layout, () => e.theme], ([b]) => {
|
|
2766
2770
|
(b === "wide" || b === "simple") && (I.value = !1), h.value = vt().uuid(10);
|
|
2767
2771
|
}), ae(() => v.value, (b) => {
|
|
@@ -2777,12 +2781,12 @@ const oi = /* @__PURE__ */ K({
|
|
|
2777
2781
|
immediate: !0,
|
|
2778
2782
|
deep: !0
|
|
2779
2783
|
});
|
|
2780
|
-
const $ = (b, L) => b.headerRender === !1 || b.pure ? null : n(
|
|
2784
|
+
const $ = (b, L) => b.headerRender === !1 || b.pure ? null : n(Yt, te(we(b, "headerHeight"), {
|
|
2781
2785
|
headerHeight: B.value,
|
|
2782
2786
|
matchMenuKeys: L || []
|
|
2783
2787
|
}), null);
|
|
2784
|
-
return
|
|
2785
|
-
...le(Ye(e),
|
|
2788
|
+
return so({
|
|
2789
|
+
...le(Ye(e), ro),
|
|
2786
2790
|
getPrefixCls: ie,
|
|
2787
2791
|
menuData: w,
|
|
2788
2792
|
menuState: m,
|
|
@@ -2811,11 +2815,11 @@ const oi = /* @__PURE__ */ K({
|
|
|
2811
2815
|
pageHeaderRender: R(() => Pe(t, e, "pageContainerProps:pageHeaderRender"))
|
|
2812
2816
|
}), () => {
|
|
2813
2817
|
var fe;
|
|
2814
|
-
const b =
|
|
2818
|
+
const b = sn(In, t, e, {
|
|
2815
2819
|
render: !0
|
|
2816
|
-
}), L = se(t, e, "collapsedButtonRender"), A = se(t, e, "footerRender"), j = se(t, e, "headerRender"), E = se(t, e, "headerContentRender"), ne = se(t, e, "rightContentRender"), me = se(t, e, "tabsRouteItemRender"), O = se(t, e, "menuItemRender"), F = se(t, e, "menuHeaderRender"), k = se(t, e, "logoContentRender"),
|
|
2820
|
+
}), L = se(t, e, "collapsedButtonRender"), A = se(t, e, "footerRender"), j = se(t, e, "headerRender"), E = se(t, e, "headerContentRender"), ne = se(t, e, "rightContentRender"), me = se(t, e, "tabsRouteItemRender"), O = se(t, e, "menuItemRender"), F = se(t, e, "menuHeaderRender"), k = se(t, e, "logoContentRender"), _ = se(t, e, "menuFooterRender"), ee = se(t, e, "subMenuItemRender"), ve = se(t, e, "menuContentRender"), W = $({
|
|
2817
2821
|
...e,
|
|
2818
|
-
...le(b,
|
|
2822
|
+
...le(b, Sn),
|
|
2819
2823
|
menuItemRender: O,
|
|
2820
2824
|
subMenuItemRender: ee,
|
|
2821
2825
|
hasSiderMenu: C.value,
|
|
@@ -2827,41 +2831,41 @@ const oi = /* @__PURE__ */ K({
|
|
|
2827
2831
|
}, e.matchMenuKeys), Q = v.value ? {
|
|
2828
2832
|
minHeight: "835px",
|
|
2829
2833
|
marginInlineStart: z.value === 0 || w.value.length === 0 ? 0 : void 0
|
|
2830
|
-
} : {}, G = A === !1 ? null : A ? typeof A == "function" ? A(e) : A : n(
|
|
2834
|
+
} : {}, G = A === !1 ? null : A ? typeof A == "function" ? A(e) : A : n(_t, {
|
|
2831
2835
|
copyright: b.copyrightRender,
|
|
2832
2836
|
links: e.footerLinks
|
|
2833
2837
|
}, null);
|
|
2834
2838
|
return o(n(J, null, [e.pure ? (fe = t.default) == null ? void 0 : fe.call(t) : n("div", {
|
|
2835
2839
|
id: e.id,
|
|
2836
|
-
class:
|
|
2840
|
+
class: U({
|
|
2837
2841
|
[`${i.value}`]: !0,
|
|
2838
2842
|
[`${e.class}`]: !!e.class,
|
|
2839
2843
|
[`${a}`]: !0,
|
|
2840
2844
|
[`${a}-${e.layout}`]: !0
|
|
2841
2845
|
}),
|
|
2842
2846
|
style: v.value ? {
|
|
2843
|
-
minWidth:
|
|
2847
|
+
minWidth: Ne(e.wideWidth),
|
|
2844
2848
|
...e.style
|
|
2845
2849
|
} : e.style
|
|
2846
2850
|
}, [n(Ue, {
|
|
2847
2851
|
style: v.value ? {
|
|
2848
|
-
width:
|
|
2852
|
+
width: Ne(e.wideWidth),
|
|
2849
2853
|
paddingTop: `${B.value + 20}px`,
|
|
2850
2854
|
margin: v.value ? "0 auto" : void 0
|
|
2851
2855
|
} : void 0
|
|
2852
2856
|
}, {
|
|
2853
|
-
default: () => [z.value > 0 && n(
|
|
2857
|
+
default: () => [z.value > 0 && n(qt, te(e, {
|
|
2854
2858
|
siderWidth: z.value,
|
|
2855
2859
|
isMobile: x.value,
|
|
2856
2860
|
menuHeaderRender: F,
|
|
2857
2861
|
logoContentRender: k,
|
|
2858
|
-
menuFooterRender:
|
|
2862
|
+
menuFooterRender: _,
|
|
2859
2863
|
menuContentRender: ve,
|
|
2860
2864
|
collapsedButtonRender: L
|
|
2861
|
-
}, le(b,
|
|
2865
|
+
}, le(b, xn)), null), n(Ue, {
|
|
2862
2866
|
style: y
|
|
2863
2867
|
}, {
|
|
2864
|
-
default: () => [e.layout !== "simple" && B.value > 0 && W, n(Ft, te(le(e,
|
|
2868
|
+
default: () => [e.layout !== "simple" && B.value > 0 && W, n(Ft, te(le(e, ho), {
|
|
2865
2869
|
hashId: i.value,
|
|
2866
2870
|
prefixCls: a,
|
|
2867
2871
|
siderWidth: z.value,
|
|
@@ -2872,15 +2876,15 @@ const oi = /* @__PURE__ */ K({
|
|
|
2872
2876
|
itemRender: me
|
|
2873
2877
|
}), {
|
|
2874
2878
|
default: () => {
|
|
2875
|
-
var
|
|
2876
|
-
return [(
|
|
2879
|
+
var Ie;
|
|
2880
|
+
return [(Ie = t.default) == null ? void 0 : Ie.call(t)];
|
|
2877
2881
|
}
|
|
2878
2882
|
}), e.layout !== "wide" && G]
|
|
2879
2883
|
})]
|
|
2880
2884
|
}), b.pageLockRender, e.layout === "wide" && G])]));
|
|
2881
2885
|
};
|
|
2882
2886
|
}
|
|
2883
|
-
}),
|
|
2887
|
+
}), cs = /* @__PURE__ */ K({
|
|
2884
2888
|
name: "GProLayout",
|
|
2885
2889
|
compatConfig: {
|
|
2886
2890
|
MODE: 3
|
|
@@ -2913,7 +2917,7 @@ const oi = /* @__PURE__ */ K({
|
|
|
2913
2917
|
}
|
|
2914
2918
|
})), pe(u, {
|
|
2915
2919
|
layout: {
|
|
2916
|
-
key: `${
|
|
2920
|
+
key: `${un(o.value, e.theme)}:${e.layout}`
|
|
2917
2921
|
}
|
|
2918
2922
|
});
|
|
2919
2923
|
}), r = (u) => {
|
|
@@ -2932,11 +2936,11 @@ const oi = /* @__PURE__ */ K({
|
|
|
2932
2936
|
}
|
|
2933
2937
|
} : void 0
|
|
2934
2938
|
}, {
|
|
2935
|
-
default: () => [n(
|
|
2939
|
+
default: () => [n(xa, {
|
|
2936
2940
|
token: s.value,
|
|
2937
2941
|
dark: o.value
|
|
2938
2942
|
}, {
|
|
2939
|
-
default: () => [n(
|
|
2943
|
+
default: () => [n(ii, te(we(e, ["onSelect", "onOpenKeys", "onCollapse", "onTabsChange", "onDarkChange", "dark"]), {
|
|
2940
2944
|
dark: i.value,
|
|
2941
2945
|
onSelect: h,
|
|
2942
2946
|
onOpenKeys: f,
|
|
@@ -2953,7 +2957,7 @@ const oi = /* @__PURE__ */ K({
|
|
|
2953
2957
|
default: () => []
|
|
2954
2958
|
},
|
|
2955
2959
|
historyKey: String
|
|
2956
|
-
},
|
|
2960
|
+
}, An = () => ({
|
|
2957
2961
|
...Ot,
|
|
2958
2962
|
...zt,
|
|
2959
2963
|
actions: {
|
|
@@ -3001,10 +3005,10 @@ const oi = /* @__PURE__ */ K({
|
|
|
3001
3005
|
onLockOpenChange: Function,
|
|
3002
3006
|
onSettingsOpenChange: Function,
|
|
3003
3007
|
"onUpdate:settingsOpen": Function
|
|
3004
|
-
}),
|
|
3008
|
+
}), li = An(), Hn = {
|
|
3005
3009
|
hashId: String,
|
|
3006
3010
|
className: String
|
|
3007
|
-
},
|
|
3011
|
+
}, jn = {
|
|
3008
3012
|
open: {
|
|
3009
3013
|
type: Boolean,
|
|
3010
3014
|
default: void 0
|
|
@@ -3012,23 +3016,23 @@ const oi = /* @__PURE__ */ K({
|
|
|
3012
3016
|
onOpenChange: Function,
|
|
3013
3017
|
"onUpdate:open": Function,
|
|
3014
3018
|
cryptoFn: Function,
|
|
3015
|
-
...le(
|
|
3016
|
-
},
|
|
3017
|
-
...
|
|
3019
|
+
...le(li, ["name", "avatar"])
|
|
3020
|
+
}, ri = {
|
|
3021
|
+
...jn,
|
|
3018
3022
|
shortsKey: {
|
|
3019
3023
|
type: Object,
|
|
3020
3024
|
default: () => ({
|
|
3021
3025
|
disabeld: !1
|
|
3022
3026
|
})
|
|
3023
3027
|
}
|
|
3024
|
-
},
|
|
3028
|
+
}, si = new S("fadeIn", {
|
|
3025
3029
|
from: {
|
|
3026
3030
|
opacity: 0
|
|
3027
3031
|
},
|
|
3028
3032
|
to: {
|
|
3029
3033
|
opacity: 1
|
|
3030
3034
|
}
|
|
3031
|
-
}),
|
|
3035
|
+
}), ui = (e) => ({
|
|
3032
3036
|
[e.componentCls]: {
|
|
3033
3037
|
"&-user-form": {
|
|
3034
3038
|
[`${e.antCls}-form-item`]: {
|
|
@@ -3058,7 +3062,7 @@ const oi = /* @__PURE__ */ K({
|
|
|
3058
3062
|
"&-enter": {
|
|
3059
3063
|
animationDuration: ".3s",
|
|
3060
3064
|
animationFillMode: "both",
|
|
3061
|
-
animationName:
|
|
3065
|
+
animationName: si
|
|
3062
3066
|
},
|
|
3063
3067
|
"&-head": {
|
|
3064
3068
|
display: "flex",
|
|
@@ -3131,10 +3135,10 @@ const oi = /* @__PURE__ */ K({
|
|
|
3131
3135
|
}
|
|
3132
3136
|
}
|
|
3133
3137
|
});
|
|
3134
|
-
function
|
|
3135
|
-
const t =
|
|
3138
|
+
function ci(e) {
|
|
3139
|
+
const t = xe({
|
|
3136
3140
|
password: ""
|
|
3137
|
-
}), { validate: a, resetFields: o, validateInfos: i } =
|
|
3141
|
+
}), { validate: a, resetFields: o, validateInfos: i } = Ia(t, xe({
|
|
3138
3142
|
password: [
|
|
3139
3143
|
{
|
|
3140
3144
|
validator: (l, s) => (e && s ? e == null ? void 0 : e(s) : s) ? Promise.resolve() : Promise.reject(e && s ? "密码错误" : "请输入锁屏密码")
|
|
@@ -3143,9 +3147,9 @@ function ui(e) {
|
|
|
3143
3147
|
}));
|
|
3144
3148
|
return { formState: t, validate: a, resetFields: o, validateInfos: i };
|
|
3145
3149
|
}
|
|
3146
|
-
const
|
|
3150
|
+
const En = /* @__PURE__ */ K({
|
|
3147
3151
|
props: {
|
|
3148
|
-
...
|
|
3152
|
+
...Hn,
|
|
3149
3153
|
name: String,
|
|
3150
3154
|
avatar: String,
|
|
3151
3155
|
avatarSize: {
|
|
@@ -3165,11 +3169,11 @@ const jn = /* @__PURE__ */ K({
|
|
|
3165
3169
|
validate: i,
|
|
3166
3170
|
validateInfos: l,
|
|
3167
3171
|
resetFields: s
|
|
3168
|
-
} =
|
|
3172
|
+
} = ci(e.validator), r = (g) => {
|
|
3169
3173
|
Object.assign(o, g);
|
|
3170
3174
|
}, f = (g = "", u) => {
|
|
3171
3175
|
const I = g ? `${e.className}-${g}` : e.className;
|
|
3172
|
-
return
|
|
3176
|
+
return U(I, e.hashId, "");
|
|
3173
3177
|
}, h = () => {
|
|
3174
3178
|
i().then(() => {
|
|
3175
3179
|
var g;
|
|
@@ -3188,15 +3192,15 @@ const jn = /* @__PURE__ */ K({
|
|
|
3188
3192
|
class: f("user-form")
|
|
3189
3193
|
}, [n("div", {
|
|
3190
3194
|
class: f("user-info")
|
|
3191
|
-
}, [n(
|
|
3195
|
+
}, [n(nn, {
|
|
3192
3196
|
size: e.avatarSize,
|
|
3193
|
-
icon: n(
|
|
3197
|
+
icon: n(mn, null, null),
|
|
3194
3198
|
src: e.avatar
|
|
3195
3199
|
}, null), e.name && n("div", {
|
|
3196
3200
|
class: f("user-name")
|
|
3197
|
-
}, [e.name])]), n(
|
|
3198
|
-
default: () => [n(
|
|
3199
|
-
default: () => [n(
|
|
3201
|
+
}, [e.name])]), n(Ht, null, {
|
|
3202
|
+
default: () => [n(Ht.Item, l.password, {
|
|
3203
|
+
default: () => [n(an.Password, {
|
|
3200
3204
|
value: o.password,
|
|
3201
3205
|
placeholder: "请输入锁屏密码",
|
|
3202
3206
|
onChange: (u) => o.password = u.target.value
|
|
@@ -3216,8 +3220,8 @@ const jn = /* @__PURE__ */ K({
|
|
|
3216
3220
|
}
|
|
3217
3221
|
});
|
|
3218
3222
|
Be.locale("zh-cn");
|
|
3219
|
-
function
|
|
3220
|
-
const e =
|
|
3223
|
+
function di() {
|
|
3224
|
+
const e = xe({
|
|
3221
3225
|
hh: "",
|
|
3222
3226
|
mm: "",
|
|
3223
3227
|
ss: "",
|
|
@@ -3230,26 +3234,26 @@ function ci() {
|
|
|
3230
3234
|
}
|
|
3231
3235
|
return requestAnimationFrame(t), e;
|
|
3232
3236
|
}
|
|
3233
|
-
const
|
|
3237
|
+
const mi = /* @__PURE__ */ K({
|
|
3234
3238
|
name: "PageLock",
|
|
3235
3239
|
props: {
|
|
3236
|
-
...An,
|
|
3237
3240
|
...Hn,
|
|
3241
|
+
...jn,
|
|
3238
3242
|
password: String
|
|
3239
3243
|
},
|
|
3240
3244
|
setup(e) {
|
|
3241
|
-
const [t, a] =
|
|
3245
|
+
const [t, a] = Ae(!1, {
|
|
3242
3246
|
value: R(() => oe(e.open) ? e.open : !1),
|
|
3243
3247
|
onChange: e.onOpenChange
|
|
3244
|
-
}), [o, i] =
|
|
3248
|
+
}), [o, i] = Se(!1), l = di(), s = (r = "", f) => {
|
|
3245
3249
|
const h = r ? `${e.className}-popup-${r}` : `${e.className}-popup`;
|
|
3246
|
-
return
|
|
3250
|
+
return U(h, e.hashId, f || "");
|
|
3247
3251
|
};
|
|
3248
3252
|
return () => t.value ? n("div", {
|
|
3249
3253
|
class: s()
|
|
3250
3254
|
}, [o.value ? n("div", {
|
|
3251
3255
|
class: s("form")
|
|
3252
|
-
}, [n(
|
|
3256
|
+
}, [n(En, {
|
|
3253
3257
|
avatarSize: 70,
|
|
3254
3258
|
submitText: "进入系统",
|
|
3255
3259
|
avatar: e.avatar,
|
|
@@ -3269,7 +3273,7 @@ const di = /* @__PURE__ */ K({
|
|
|
3269
3273
|
block: !0,
|
|
3270
3274
|
onClick: () => i(!1)
|
|
3271
3275
|
}, {
|
|
3272
|
-
default: () => [
|
|
3276
|
+
default: () => [V("返回")]
|
|
3273
3277
|
})]
|
|
3274
3278
|
}), n("div", {
|
|
3275
3279
|
class: s("form-time")
|
|
@@ -3277,22 +3281,22 @@ const di = /* @__PURE__ */ K({
|
|
|
3277
3281
|
style: {
|
|
3278
3282
|
fontSize: "26px"
|
|
3279
3283
|
}
|
|
3280
|
-
}, [`${l.hh}:${l.mm}`,
|
|
3284
|
+
}, [`${l.hh}:${l.mm}`, V(" "), l.a]), n("span", {
|
|
3281
3285
|
style: {
|
|
3282
3286
|
fontSize: "30px"
|
|
3283
3287
|
}
|
|
3284
|
-
}, [l.day,
|
|
3288
|
+
}, [l.day, V(" "), l.dddd])])]) : n(J, null, [n("div", {
|
|
3285
3289
|
class: s("head")
|
|
3286
|
-
}, [n("span", null, [l.day,
|
|
3290
|
+
}, [n("span", null, [l.day, V(" "), l.dddd]), n("span", {
|
|
3287
3291
|
class: s("lock-icon"),
|
|
3288
3292
|
onClick: () => i(!0)
|
|
3289
|
-
}, [n(
|
|
3293
|
+
}, [n(fn, {
|
|
3290
3294
|
style: {
|
|
3291
3295
|
position: "relative",
|
|
3292
3296
|
top: "1px",
|
|
3293
3297
|
marginInlineEnd: "4px"
|
|
3294
3298
|
}
|
|
3295
|
-
}, null),
|
|
3299
|
+
}, null), V("点击解锁")])]), n("div", {
|
|
3296
3300
|
class: s("time", s("enter", "fadeIn"))
|
|
3297
3301
|
}, [n("div", {
|
|
3298
3302
|
class: s("time-card")
|
|
@@ -3302,9 +3306,9 @@ const di = /* @__PURE__ */ K({
|
|
|
3302
3306
|
class: s("time-card")
|
|
3303
3307
|
}, [l.mm])])])]) : null;
|
|
3304
3308
|
}
|
|
3305
|
-
}),
|
|
3309
|
+
}), ds = /* @__PURE__ */ K({
|
|
3306
3310
|
name: "PageLock",
|
|
3307
|
-
props:
|
|
3311
|
+
props: ri,
|
|
3308
3312
|
emits: ["update:open", "openChange"],
|
|
3309
3313
|
setup(e) {
|
|
3310
3314
|
const t = ie({
|
|
@@ -3313,10 +3317,10 @@ const di = /* @__PURE__ */ K({
|
|
|
3313
3317
|
}), a = re(), {
|
|
3314
3318
|
wrapSSR: o,
|
|
3315
3319
|
hashId: i
|
|
3316
|
-
} = ge("ProPageLock", [
|
|
3320
|
+
} = ge("ProPageLock", [ui], t), l = ot(t, {
|
|
3317
3321
|
open: !1,
|
|
3318
3322
|
password: ""
|
|
3319
|
-
}), [s, r, f] =
|
|
3323
|
+
}), [s, r, f] = Ae(!1, {
|
|
3320
3324
|
value: R(() => {
|
|
3321
3325
|
var m;
|
|
3322
3326
|
return oe(e.open) ? e.open : (m = a == null ? void 0 : a.lockOpen) == null ? void 0 : m.value;
|
|
@@ -3325,14 +3329,14 @@ const di = /* @__PURE__ */ K({
|
|
|
3325
3329
|
var x, P;
|
|
3326
3330
|
(x = e.onOpenChange) == null || x.call(e, m), (P = e["onUpdate:open"]) == null || P.call(e, m), a && (a.lockOpen.value = m);
|
|
3327
3331
|
}
|
|
3328
|
-
}), [h, g] =
|
|
3332
|
+
}), [h, g] = Se(!1), u = he();
|
|
3329
3333
|
function I(m) {
|
|
3330
3334
|
return e.cryptoFn ? e.cryptoFn(m) : m;
|
|
3331
3335
|
}
|
|
3332
3336
|
function y(m) {
|
|
3333
3337
|
l.value.open = h.value, l.value.password = I(m);
|
|
3334
3338
|
}
|
|
3335
|
-
const d = R(() => e.shortsKey), C = R(() => l.value.open && !!l.value.password), w =
|
|
3339
|
+
const d = R(() => e.shortsKey), C = R(() => l.value.open && !!l.value.password), w = ln();
|
|
3336
3340
|
yt(w["Alt+KeyL"], () => {
|
|
3337
3341
|
var m;
|
|
3338
3342
|
(m = d.value) != null && m.disabeld || f.value || r(!0);
|
|
@@ -3348,14 +3352,14 @@ const di = /* @__PURE__ */ K({
|
|
|
3348
3352
|
var m;
|
|
3349
3353
|
r(!1), y(""), (m = u.value) == null || m.resetFields();
|
|
3350
3354
|
};
|
|
3351
|
-
return () => o(n(J, null, [n(
|
|
3355
|
+
return () => o(n(J, null, [n(mi, te(le(e, ["name", "avatar"]), {
|
|
3352
3356
|
open: h.value,
|
|
3353
3357
|
hashId: i.value,
|
|
3354
3358
|
className: t,
|
|
3355
3359
|
password: l.value.password,
|
|
3356
3360
|
cryptoFn: I,
|
|
3357
3361
|
onOpenChange: g
|
|
3358
|
-
}), null), n(
|
|
3362
|
+
}), null), n(no, {
|
|
3359
3363
|
width: 400,
|
|
3360
3364
|
type: "normal",
|
|
3361
3365
|
title: "锁定屏幕",
|
|
@@ -3363,7 +3367,7 @@ const di = /* @__PURE__ */ K({
|
|
|
3363
3367
|
footer: !1,
|
|
3364
3368
|
onCancel: v
|
|
3365
3369
|
}, {
|
|
3366
|
-
default: () => [n(
|
|
3370
|
+
default: () => [n(En, te({
|
|
3367
3371
|
ref: u
|
|
3368
3372
|
}, le(e, ["name", "avatar"]), {
|
|
3369
3373
|
submitText: "锁定",
|
|
@@ -3373,7 +3377,7 @@ const di = /* @__PURE__ */ K({
|
|
|
3373
3377
|
}), null)]
|
|
3374
3378
|
})]));
|
|
3375
3379
|
}
|
|
3376
|
-
}),
|
|
3380
|
+
}), fi = (e) => {
|
|
3377
3381
|
const { dark: t } = be(e);
|
|
3378
3382
|
return {
|
|
3379
3383
|
[e.componentCls]: {
|
|
@@ -3399,7 +3403,7 @@ const di = /* @__PURE__ */ K({
|
|
|
3399
3403
|
},
|
|
3400
3404
|
"&-word-icon": {
|
|
3401
3405
|
padding: "4px 6px",
|
|
3402
|
-
lineHeight:
|
|
3406
|
+
lineHeight: Ne(e.fontSizeSM),
|
|
3403
3407
|
borderTopLeftRadius: e.borderRadiusSM,
|
|
3404
3408
|
borderBottomLeftRadius: e.borderRadiusSM,
|
|
3405
3409
|
borderTopRightRadius: e.borderRadiusLG * 2,
|
|
@@ -3464,31 +3468,31 @@ const di = /* @__PURE__ */ K({
|
|
|
3464
3468
|
}
|
|
3465
3469
|
};
|
|
3466
3470
|
};
|
|
3467
|
-
function
|
|
3471
|
+
function hi(e) {
|
|
3468
3472
|
return Fe("SearchPageInput", (t) => {
|
|
3469
3473
|
const a = je(t, {});
|
|
3470
|
-
return [
|
|
3474
|
+
return [fi(a)];
|
|
3471
3475
|
}, e);
|
|
3472
3476
|
}
|
|
3473
|
-
function
|
|
3477
|
+
function gi(e, t) {
|
|
3474
3478
|
const a = /* @__PURE__ */ new Map();
|
|
3475
3479
|
return e.filter((o) => {
|
|
3476
3480
|
const i = o[t];
|
|
3477
3481
|
return a.has(i) ? !1 : (a.set(i, o), !0);
|
|
3478
3482
|
});
|
|
3479
3483
|
}
|
|
3480
|
-
function
|
|
3484
|
+
function yi(e) {
|
|
3481
3485
|
return e ? /^https?:\/\/.*$/.test(e) : !1;
|
|
3482
3486
|
}
|
|
3483
|
-
const
|
|
3487
|
+
const bi = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\", "]", "^", "{", "|", "}"]), vi = ({
|
|
3484
3488
|
className: e,
|
|
3485
3489
|
value: t
|
|
3486
|
-
}) => t ? n(
|
|
3487
|
-
image:
|
|
3490
|
+
}) => t ? n(jt, {
|
|
3491
|
+
image: jt.PRESENTED_IMAGE_SIMPLE,
|
|
3488
3492
|
description: `未找到搜索结果 "${t}"`
|
|
3489
3493
|
}, null) : n("div", {
|
|
3490
3494
|
class: e
|
|
3491
|
-
}, [
|
|
3495
|
+
}, [V("没有搜索历史")]), pi = /* @__PURE__ */ K({
|
|
3492
3496
|
props: {
|
|
3493
3497
|
...zt,
|
|
3494
3498
|
className: String,
|
|
@@ -3500,7 +3504,7 @@ const yi = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
|
|
|
3500
3504
|
const t = qe(), a = ot(e.historyKey || ie({
|
|
3501
3505
|
suffixCls: "layout-search-history",
|
|
3502
3506
|
isPor: !0
|
|
3503
|
-
}), []), o = he(0), i = he([]), l =
|
|
3507
|
+
}), []), o = he(0), i = he([]), l = ua(s, 200);
|
|
3504
3508
|
function s(c) {
|
|
3505
3509
|
if (c = c.trim(), !c) {
|
|
3506
3510
|
i.value = [];
|
|
@@ -3547,13 +3551,13 @@ const yi = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
|
|
|
3547
3551
|
if (c.length === 0 || v < 0)
|
|
3548
3552
|
return;
|
|
3549
3553
|
const m = c[v];
|
|
3550
|
-
m && (a.value.push(m), r(), await St(),
|
|
3554
|
+
m && (a.value.push(m), r(), await St(), yi(m.path) ? window.open(m.path, "_blank") : t.push({
|
|
3551
3555
|
path: m.path,
|
|
3552
3556
|
replace: !0
|
|
3553
3557
|
}));
|
|
3554
3558
|
}
|
|
3555
3559
|
function g(c) {
|
|
3556
|
-
return
|
|
3560
|
+
return bi.has(c) ? `\\${c}` : c;
|
|
3557
3561
|
}
|
|
3558
3562
|
function u(c) {
|
|
3559
3563
|
const v = [...c].map((m) => g(m)).join(".*");
|
|
@@ -3574,47 +3578,47 @@ const yi = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
|
|
|
3574
3578
|
function C(c, v) {
|
|
3575
3579
|
c.stopPropagation(), e.keyword ? i.value.splice(v, 1) : a.value.splice(v, 1), o.value = o.value - 1 >= 0 ? o.value - 1 : 0, f();
|
|
3576
3580
|
}
|
|
3577
|
-
const w = (c) =>
|
|
3581
|
+
const w = (c) => U(`${e.className}${c ? `-${c}` : ""}`, e.hashId);
|
|
3578
3582
|
return () => n(J, null, [i.value.length > 0 ? n(J, null, [a.value.length > 0 && !e.keyword && n("div", {
|
|
3579
3583
|
class: w("panel-title")
|
|
3580
|
-
}, [
|
|
3584
|
+
}, [V("搜索历史")]), n("div", {
|
|
3581
3585
|
class: w("panel-list")
|
|
3582
|
-
}, [
|
|
3586
|
+
}, [gi(i.value, "path").map((c, v) => {
|
|
3583
3587
|
var m, x, P, N;
|
|
3584
3588
|
return n("div", {
|
|
3585
3589
|
key: c.name,
|
|
3586
|
-
class: w(
|
|
3590
|
+
class: w(U("panel-item", v === o.value && "active")),
|
|
3587
3591
|
"data-search-item": v,
|
|
3588
3592
|
onClick: () => h(),
|
|
3589
3593
|
onMouseenter: () => d(v)
|
|
3590
3594
|
}, [n("div", {
|
|
3591
3595
|
class: w("panel-item-left")
|
|
3592
3596
|
}, [n(nt, te(c.meta || {}, {
|
|
3593
|
-
icon: ((m = c.meta) == null ? void 0 : m.icon) || n(
|
|
3597
|
+
icon: ((m = c.meta) == null ? void 0 : m.icon) || n(Ea, null, null),
|
|
3594
3598
|
classNames: w("panel-icon")
|
|
3595
3599
|
}), null), (N = (P = (x = c.meta) == null ? void 0 : x.title) == null ? void 0 : P.split("**")) == null ? void 0 : N.map((B, z) => {
|
|
3596
3600
|
var $, b, L;
|
|
3597
|
-
return n(J, null, [B, z < ((L = (b = ($ = c.meta) == null ? void 0 : $.title) == null ? void 0 : b.split("**")) == null ? void 0 : L.length) - 1 && n(
|
|
3601
|
+
return n(J, null, [B, z < ((L = (b = ($ = c.meta) == null ? void 0 : $.title) == null ? void 0 : b.split("**")) == null ? void 0 : L.length) - 1 && n(Ka, null, null)]);
|
|
3598
3602
|
}), n("span", null, null)]), n(st, {
|
|
3599
3603
|
onClick: (B) => C(B, v)
|
|
3600
3604
|
}, null)]);
|
|
3601
|
-
})])]) : n(
|
|
3605
|
+
})])]) : n(vi, {
|
|
3602
3606
|
className: w("result"),
|
|
3603
3607
|
value: e.keyword
|
|
3604
3608
|
}, null)]);
|
|
3605
3609
|
}
|
|
3606
|
-
}),
|
|
3610
|
+
}), Ci = ({
|
|
3607
3611
|
className: e,
|
|
3608
3612
|
hashId: t
|
|
3609
3613
|
}) => n("div", {
|
|
3610
|
-
class:
|
|
3614
|
+
class: U(`${e}-footer`, t)
|
|
3611
3615
|
}, [n("div", {
|
|
3612
|
-
class:
|
|
3613
|
-
}, [n(
|
|
3614
|
-
class:
|
|
3615
|
-
}, [n(
|
|
3616
|
+
class: U(`${e}-footer-icon`, t)
|
|
3617
|
+
}, [n(Wa, null, null), V("选择")]), n("div", {
|
|
3618
|
+
class: U(`${e}-footer-icon`, t)
|
|
3619
|
+
}, [n(Wt, null, null), n(Wt, {
|
|
3616
3620
|
rotate: 180
|
|
3617
|
-
}, null),
|
|
3621
|
+
}, null), V("导航")])]), xi = /* @__PURE__ */ K({
|
|
3618
3622
|
name: "SearchPageInput",
|
|
3619
3623
|
props: {
|
|
3620
3624
|
...zt,
|
|
@@ -3634,7 +3638,7 @@ const yi = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
|
|
|
3634
3638
|
}), {
|
|
3635
3639
|
wrapSSR: a,
|
|
3636
3640
|
hashId: o
|
|
3637
|
-
} =
|
|
3641
|
+
} = hi(t), [i, l] = Se(""), [s, r] = Se(!1), f = re(), h = ln(), g = va() ? h["ctrl+k"] : h["cmd+k"], u = he(), I = R(() => {
|
|
3638
3642
|
var d;
|
|
3639
3643
|
return Mt(e.dataSource || ((d = f == null ? void 0 : f.menuData) == null ? void 0 : d.value));
|
|
3640
3644
|
});
|
|
@@ -3655,21 +3659,21 @@ const yi = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
|
|
|
3655
3659
|
hashId: o.value
|
|
3656
3660
|
}, C = `${t}-modal`;
|
|
3657
3661
|
return a(n(J, null, [n("div", {
|
|
3658
|
-
class:
|
|
3662
|
+
class: U(t, o.value),
|
|
3659
3663
|
onClick: () => r(!0)
|
|
3660
|
-
}, [n(
|
|
3661
|
-
class:
|
|
3662
|
-
}, [
|
|
3663
|
-
class:
|
|
3664
|
-
}, [
|
|
3665
|
-
class:
|
|
3664
|
+
}, [n(Kt, null, null), n("span", {
|
|
3665
|
+
class: U(`${t}-word`, o.value)
|
|
3666
|
+
}, [V("搜索")]), n("span", {
|
|
3667
|
+
class: U(`${t}-word-icon`, o.value)
|
|
3668
|
+
}, [V("⌘ "), n("kbd", null, [V("K")])])]), n(to, {
|
|
3669
|
+
class: U(`${C}`, o.value),
|
|
3666
3670
|
width: 600,
|
|
3667
3671
|
scrollProps: {
|
|
3668
3672
|
maxHeight: 400,
|
|
3669
3673
|
minHeight: 200
|
|
3670
3674
|
},
|
|
3671
3675
|
centered: !1,
|
|
3672
|
-
title: n(
|
|
3676
|
+
title: n(an, {
|
|
3673
3677
|
style: {
|
|
3674
3678
|
width: `${600 * 0.8}px`,
|
|
3675
3679
|
padding: 0
|
|
@@ -3679,17 +3683,17 @@ const yi = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
|
|
|
3679
3683
|
size: "large",
|
|
3680
3684
|
placeholder: "搜索导航菜单",
|
|
3681
3685
|
value: i.value,
|
|
3682
|
-
prefix: n(
|
|
3686
|
+
prefix: n(Kt, null, null),
|
|
3683
3687
|
onChange: (w) => l(w.target.value)
|
|
3684
3688
|
}, null),
|
|
3685
3689
|
open: s.value,
|
|
3686
|
-
footer: n(
|
|
3690
|
+
footer: n(Ci, {
|
|
3687
3691
|
className: C,
|
|
3688
3692
|
hashId: o.value
|
|
3689
3693
|
}, null),
|
|
3690
3694
|
onCancel: () => y()
|
|
3691
3695
|
}, {
|
|
3692
|
-
default: () => [n(
|
|
3696
|
+
default: () => [n(pi, te(d, {
|
|
3693
3697
|
keyword: i.value,
|
|
3694
3698
|
dataSource: I.value,
|
|
3695
3699
|
onClose: () => y()
|
|
@@ -3697,7 +3701,7 @@ const yi = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
|
|
|
3697
3701
|
})]));
|
|
3698
3702
|
};
|
|
3699
3703
|
}
|
|
3700
|
-
}),
|
|
3704
|
+
}), Si = (e) => {
|
|
3701
3705
|
const { dark: t } = be(e), a = lt(e, "header");
|
|
3702
3706
|
return {
|
|
3703
3707
|
[`${e.componentCls}`]: {
|
|
@@ -3741,11 +3745,11 @@ const yi = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
|
|
|
3741
3745
|
display: "flex",
|
|
3742
3746
|
alignItems: "center",
|
|
3743
3747
|
height: 44,
|
|
3744
|
-
lineHeight:
|
|
3748
|
+
lineHeight: Ne(44),
|
|
3745
3749
|
borderRadius: e.borderRadius,
|
|
3746
3750
|
paddingInlineEnd: e.padding,
|
|
3747
3751
|
"&:hover": {
|
|
3748
|
-
backgroundColor:
|
|
3752
|
+
backgroundColor: wa(e.colorTextBase, 0.03)
|
|
3749
3753
|
}
|
|
3750
3754
|
},
|
|
3751
3755
|
"&-avatar": {
|
|
@@ -3763,15 +3767,15 @@ const yi = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
|
|
|
3763
3767
|
}
|
|
3764
3768
|
};
|
|
3765
3769
|
};
|
|
3766
|
-
function
|
|
3770
|
+
function Ii(e) {
|
|
3767
3771
|
return Fe("RightContent", (t) => {
|
|
3768
3772
|
const a = je(t);
|
|
3769
|
-
return [
|
|
3773
|
+
return [Si(a)];
|
|
3770
3774
|
}, e);
|
|
3771
3775
|
}
|
|
3772
|
-
const
|
|
3776
|
+
const ms = /* @__PURE__ */ K({
|
|
3773
3777
|
name: "GlobalRightContent",
|
|
3774
|
-
props:
|
|
3778
|
+
props: An(),
|
|
3775
3779
|
inheritAttrs: !1,
|
|
3776
3780
|
emits: ["logout", "darkChange", "settingsOpenChange", "update:dark", "update:settingsOpen", "lockOpenChange"],
|
|
3777
3781
|
setup(e, {
|
|
@@ -3780,13 +3784,13 @@ const ds = /* @__PURE__ */ K({
|
|
|
3780
3784
|
const {
|
|
3781
3785
|
isFullscreen: a,
|
|
3782
3786
|
toggle: o
|
|
3783
|
-
} =
|
|
3787
|
+
} = ca(), i = ke(), l = re(), s = rn(), r = ie({
|
|
3784
3788
|
suffixCls: "global-header",
|
|
3785
3789
|
isPor: !0
|
|
3786
|
-
}), [f, h] =
|
|
3790
|
+
}), [f, h] = Se(!1), {
|
|
3787
3791
|
wrapSSR: g,
|
|
3788
3792
|
hashId: u
|
|
3789
|
-
} =
|
|
3793
|
+
} = Ii(r), [I, y] = Se("auto"), {
|
|
3790
3794
|
isDark: d,
|
|
3791
3795
|
toggleMode: C
|
|
3792
3796
|
} = Nt(R(() => {
|
|
@@ -3797,7 +3801,7 @@ const ds = /* @__PURE__ */ K({
|
|
|
3797
3801
|
var z, $, b;
|
|
3798
3802
|
(z = e.onDarkChange) == null || z.call(e, B), ($ = e == null ? void 0 : e["onUpdate:dark"]) == null || $.call(e, B), (b = l == null ? void 0 : l.onDarkChange) == null || b.call(l, B);
|
|
3799
3803
|
}
|
|
3800
|
-
}), [w, c] =
|
|
3804
|
+
}), [w, c] = Ae(!1, {
|
|
3801
3805
|
value: R(() => {
|
|
3802
3806
|
var B;
|
|
3803
3807
|
return oe(e.settingsOpen) ? e.settingsOpen : (B = l == null ? void 0 : l.settingsOpen) == null ? void 0 : B.value;
|
|
@@ -3812,10 +3816,10 @@ const ds = /* @__PURE__ */ K({
|
|
|
3812
3816
|
}), m = R(() => {
|
|
3813
3817
|
var B;
|
|
3814
3818
|
return Ve(e.dark) ? d.value : (B = i == null ? void 0 : i.dark) == null ? void 0 : B.value;
|
|
3815
|
-
}), x =
|
|
3819
|
+
}), x = da(async (B) => {
|
|
3816
3820
|
y(B);
|
|
3817
3821
|
}, 160), P = (B) => {
|
|
3818
|
-
|
|
3822
|
+
Dn({
|
|
3819
3823
|
event: B,
|
|
3820
3824
|
isDark: m,
|
|
3821
3825
|
toggle: C
|
|
@@ -3824,7 +3828,7 @@ const ds = /* @__PURE__ */ K({
|
|
|
3824
3828
|
e != null && e.onLogout && (h(!0), e.onLogout(() => h(!1)));
|
|
3825
3829
|
};
|
|
3826
3830
|
return () => {
|
|
3827
|
-
const B = Pe(t, e, "dropdownMenuRender"), z = Pe(t, e, "dropdownRender"), $ = Pe(t, e, "dropdownMenuExtraItemRender"), b = se(t, e, "actionsRender"), L = a.value ?
|
|
3831
|
+
const B = Pe(t, e, "dropdownMenuRender"), z = Pe(t, e, "dropdownRender"), $ = Pe(t, e, "dropdownMenuExtraItemRender"), b = se(t, e, "actionsRender"), L = a.value ? Ua : _a;
|
|
3828
3832
|
return g(n("div", {
|
|
3829
3833
|
class: `${r}-right-content ${u.value}`.trim(),
|
|
3830
3834
|
style: {
|
|
@@ -3835,7 +3839,7 @@ const ds = /* @__PURE__ */ K({
|
|
|
3835
3839
|
style: {
|
|
3836
3840
|
height: "100%"
|
|
3837
3841
|
}
|
|
3838
|
-
}, [n(
|
|
3842
|
+
}, [n(ao, {
|
|
3839
3843
|
key: "resize-observer",
|
|
3840
3844
|
onResize: ({
|
|
3841
3845
|
width: A
|
|
@@ -3847,7 +3851,7 @@ const ds = /* @__PURE__ */ K({
|
|
|
3847
3851
|
var A;
|
|
3848
3852
|
return [n("div", {
|
|
3849
3853
|
class: `${r}-header-actions ${u.value}`.trim()
|
|
3850
|
-
}, [e.actions.search && !v.value && n(
|
|
3854
|
+
}, [e.actions.search && !v.value && n(xi, {
|
|
3851
3855
|
dataSource: e.dataSource,
|
|
3852
3856
|
disabeldShortKey: (A = e.shortsKey) == null ? void 0 : A.disabeld
|
|
3853
3857
|
}, null), e.actions.theme && n("div", {
|
|
@@ -3858,7 +3862,7 @@ const ds = /* @__PURE__ */ K({
|
|
|
3858
3862
|
onClick: (j) => P(j)
|
|
3859
3863
|
}, null)]), e.actions.settings && !v.value && n("div", {
|
|
3860
3864
|
class: `${r}-header-actions-item ${u.value}`.trim()
|
|
3861
|
-
}, [n(
|
|
3865
|
+
}, [n(hn, {
|
|
3862
3866
|
onClick: () => c(!w.value)
|
|
3863
3867
|
}, null)]), e.actions.fullScreen && !v.value && n("div", {
|
|
3864
3868
|
class: `${r}-header-actions-item ${u.value}`.trim()
|
|
@@ -3866,30 +3870,30 @@ const ds = /* @__PURE__ */ K({
|
|
|
3866
3870
|
onClick: () => o()
|
|
3867
3871
|
}, null)]), b ? b == null ? void 0 : b([`${r}-header-actions-item`, u.value]) : null, n(gt, {
|
|
3868
3872
|
overlay: B || n(ye, null, {
|
|
3869
|
-
default: () => [$, e.actions.lock && n(J, null, [n(
|
|
3873
|
+
default: () => [$, e.actions.lock && n(J, null, [n(Et, {
|
|
3870
3874
|
key: "lock",
|
|
3871
|
-
icon: n(
|
|
3875
|
+
icon: n(fn, null, null),
|
|
3872
3876
|
onClick: () => {
|
|
3873
3877
|
var j;
|
|
3874
3878
|
(j = e.onLockOpenChange) == null || j.call(e, !0), l && (l.lockOpen.value = !0);
|
|
3875
3879
|
}
|
|
3876
3880
|
}, {
|
|
3877
|
-
default: () => [
|
|
3878
|
-
}), n(ye.Divider, null, null)]), n(
|
|
3881
|
+
default: () => [V("锁定屏幕")]
|
|
3882
|
+
}), n(ye.Divider, null, null)]), n(Et, {
|
|
3879
3883
|
key: "logout",
|
|
3880
|
-
icon: n(
|
|
3884
|
+
icon: n(Xa, null, null),
|
|
3881
3885
|
onClick: () => N(),
|
|
3882
3886
|
disabled: f.value
|
|
3883
3887
|
}, {
|
|
3884
|
-
default: () => [
|
|
3888
|
+
default: () => [V("退出登录")]
|
|
3885
3889
|
})]
|
|
3886
3890
|
})
|
|
3887
3891
|
}, {
|
|
3888
3892
|
default: () => [z || n("div", {
|
|
3889
3893
|
class: `${r}-header-actions-avatar ${u.value}`.trim()
|
|
3890
|
-
}, [n(
|
|
3894
|
+
}, [n(nn, {
|
|
3891
3895
|
size: 28,
|
|
3892
|
-
icon: n(
|
|
3896
|
+
icon: n(mn, null, null),
|
|
3893
3897
|
src: e.avatar
|
|
3894
3898
|
}, null), n("div", {
|
|
3895
3899
|
class: `${r}-header-actions-name ${u.value}`.trim()
|
|
@@ -3899,7 +3903,7 @@ const ds = /* @__PURE__ */ K({
|
|
|
3899
3903
|
})])]));
|
|
3900
3904
|
};
|
|
3901
3905
|
}
|
|
3902
|
-
}),
|
|
3906
|
+
}), wi = (e) => ({
|
|
3903
3907
|
[e.componentCls]: {
|
|
3904
3908
|
background: e.colorBgContainer,
|
|
3905
3909
|
padding: `${e.paddingLG}px`,
|
|
@@ -3910,7 +3914,7 @@ const ds = /* @__PURE__ */ K({
|
|
|
3910
3914
|
marginTop: "8px"
|
|
3911
3915
|
}
|
|
3912
3916
|
}
|
|
3913
|
-
}),
|
|
3917
|
+
}), Ri = /* @__PURE__ */ K({
|
|
3914
3918
|
name: "ProPageHeader",
|
|
3915
3919
|
props: {
|
|
3916
3920
|
content: tt.contentRender,
|
|
@@ -3923,7 +3927,7 @@ const ds = /* @__PURE__ */ K({
|
|
|
3923
3927
|
}), {
|
|
3924
3928
|
wrapSSR: i,
|
|
3925
3929
|
hashId: l
|
|
3926
|
-
} = ge("ProPageHeader", [
|
|
3930
|
+
} = ge("ProPageHeader", [wi], o), s = R(() => {
|
|
3927
3931
|
var g;
|
|
3928
3932
|
const r = ((g = t == null ? void 0 : t.breadcrumb) == null ? void 0 : g.value) || {}, f = r.routes || [], h = f.map((u, I) => ({
|
|
3929
3933
|
...u,
|
|
@@ -3935,7 +3939,7 @@ const ds = /* @__PURE__ */ K({
|
|
|
3935
3939
|
routes: h,
|
|
3936
3940
|
itemRender: (r == null ? void 0 : r.itemRender) || (({
|
|
3937
3941
|
route: u
|
|
3938
|
-
}) => u.path ? n(
|
|
3942
|
+
}) => u.path ? n(Qa, {
|
|
3939
3943
|
to: u.link
|
|
3940
3944
|
}, {
|
|
3941
3945
|
default: () => [u.breadcrumbName]
|
|
@@ -3946,12 +3950,12 @@ const ds = /* @__PURE__ */ K({
|
|
|
3946
3950
|
var r;
|
|
3947
3951
|
return i(n("div", {
|
|
3948
3952
|
class: [`${o}`, l.value, `${o}-has-breadcrumb`]
|
|
3949
|
-
}, [e.breadcrumb ? (r = e.breadcrumb) == null ? void 0 : r.call(e, s.value) : n(
|
|
3953
|
+
}, [e.breadcrumb ? (r = e.breadcrumb) == null ? void 0 : r.call(e, s.value) : n(ta, s.value, null), Te(e.content) && n("div", {
|
|
3950
3954
|
class: [`${o}-content`, l.value]
|
|
3951
3955
|
}, [e.content])]));
|
|
3952
3956
|
};
|
|
3953
3957
|
}
|
|
3954
|
-
}),
|
|
3958
|
+
}), $i = (e) => {
|
|
3955
3959
|
var i;
|
|
3956
3960
|
const t = (i = e.layout) == null ? void 0 : i.pageContainer, { layout: a } = be(e), o = (t == null ? void 0 : t.borderRadius) || e.borderRadiusLG;
|
|
3957
3961
|
return {
|
|
@@ -4005,21 +4009,21 @@ const ds = /* @__PURE__ */ K({
|
|
|
4005
4009
|
}
|
|
4006
4010
|
};
|
|
4007
4011
|
};
|
|
4008
|
-
function
|
|
4012
|
+
function Bi(e) {
|
|
4009
4013
|
return Fe("ProPageContainter", (t) => {
|
|
4010
4014
|
const a = je(t, {
|
|
4011
4015
|
gridContent: `${t.proComponentsCls}-grid-content`
|
|
4012
4016
|
});
|
|
4013
|
-
return [
|
|
4017
|
+
return [$i(a)];
|
|
4014
4018
|
}, e);
|
|
4015
4019
|
}
|
|
4016
|
-
const { useInjectContext:
|
|
4017
|
-
function
|
|
4020
|
+
const { useInjectContext: Mi, provideContext: Li } = Lt("pro-page");
|
|
4021
|
+
function Oi(e) {
|
|
4018
4022
|
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Oe(e);
|
|
4019
4023
|
}
|
|
4020
4024
|
const {
|
|
4021
|
-
Content:
|
|
4022
|
-
} = Ue,
|
|
4025
|
+
Content: Fi
|
|
4026
|
+
} = Ue, fs = /* @__PURE__ */ K({
|
|
4023
4027
|
inheritAttrs: !1,
|
|
4024
4028
|
name: "GProPageContainer",
|
|
4025
4029
|
props: tt,
|
|
@@ -4028,7 +4032,7 @@ const {
|
|
|
4028
4032
|
slots: t,
|
|
4029
4033
|
attrs: a
|
|
4030
4034
|
}) {
|
|
4031
|
-
const o =
|
|
4035
|
+
const o = yn(), i = Mi(), l = re(), s = ke(), r = (l == null ? void 0 : l.getPrefixCls) || ie, f = r({
|
|
4032
4036
|
suffixCls: "basic-layout-content",
|
|
4033
4037
|
isPor: !0
|
|
4034
4038
|
}), h = r({
|
|
@@ -4061,21 +4065,21 @@ const {
|
|
|
4061
4065
|
}), v = R(() => {
|
|
4062
4066
|
var $, b, L;
|
|
4063
4067
|
return (L = (b = ($ = s == null ? void 0 : s.token) == null ? void 0 : $.value) == null ? void 0 : b.layout) == null ? void 0 : L.pageContainer;
|
|
4064
|
-
}), m = R(() =>
|
|
4068
|
+
}), m = R(() => Ne(_e(e.contentWidth) && e.contentWidth ? e.contentWidth : l == null ? void 0 : l.contentWidth.value)), x = R(() => {
|
|
4065
4069
|
var $;
|
|
4066
4070
|
return ($ = i == null ? void 0 : i.spinning) != null && $.value ? !1 : e.loading;
|
|
4067
4071
|
}), {
|
|
4068
4072
|
wrapSSR: P,
|
|
4069
4073
|
hashId: N
|
|
4070
|
-
} =
|
|
4074
|
+
} = Bi(h), B = () => {
|
|
4071
4075
|
var L, A, j, E;
|
|
4072
|
-
const $ = Pe(t, e, "pageChildrenExtraRender"), b =
|
|
4076
|
+
const $ = Pe(t, e, "pageChildrenExtraRender"), b = U(`${h}-children-content`, N.value);
|
|
4073
4077
|
return n("div", {
|
|
4074
4078
|
class: b,
|
|
4075
4079
|
style: {
|
|
4076
4080
|
...C.value
|
|
4077
4081
|
}
|
|
4078
|
-
}, [$, c.value ? n(
|
|
4082
|
+
}, [$, c.value ? n(na, te(I.value ? le(I.value, ["loading", "bodyStyle"]) : {}, {
|
|
4079
4083
|
style: w.value ? {
|
|
4080
4084
|
minHeight: "853px"
|
|
4081
4085
|
} : void 0,
|
|
@@ -4093,7 +4097,7 @@ const {
|
|
|
4093
4097
|
}, z = () => {
|
|
4094
4098
|
var b;
|
|
4095
4099
|
let $;
|
|
4096
|
-
return n(J, null, [(oe(e.waterMark) ? e.waterMark : (b = l == null ? void 0 : l.waterMark) != null && b.value) ? n(
|
|
4100
|
+
return n(J, null, [(oe(e.waterMark) ? e.waterMark : (b = l == null ? void 0 : l.waterMark) != null && b.value) ? n(oo, y.value, Oi($ = B()) ? $ : {
|
|
4097
4101
|
default: () => [$]
|
|
4098
4102
|
}) : B()]);
|
|
4099
4103
|
};
|
|
@@ -4105,8 +4109,8 @@ const {
|
|
|
4105
4109
|
width: m.value,
|
|
4106
4110
|
marginInline: m.value && "auto"
|
|
4107
4111
|
};
|
|
4108
|
-
return P(n(
|
|
4109
|
-
class:
|
|
4112
|
+
return P(n(Fi, {
|
|
4113
|
+
class: U(a.class, f, N.value, m.value && `${f}-width`),
|
|
4110
4114
|
style: A
|
|
4111
4115
|
}, {
|
|
4112
4116
|
default: () => {
|
|
@@ -4117,13 +4121,13 @@ const {
|
|
|
4117
4121
|
[`${h}`]: !0
|
|
4118
4122
|
}
|
|
4119
4123
|
}, [x.value && n("div", {
|
|
4120
|
-
class:
|
|
4124
|
+
class: U(`${h}-blur`, N.value),
|
|
4121
4125
|
style: {
|
|
4122
4126
|
backgroundColor: e.loadingBlur ? void 0 : "transparent"
|
|
4123
4127
|
}
|
|
4124
4128
|
}, [n($t, {
|
|
4125
4129
|
indicator: (ne = o == null ? void 0 : o.indicator) == null ? void 0 : ne.value
|
|
4126
|
-
}, null)]), !w.value && $ !== !1 && ($ || n(
|
|
4130
|
+
}, null)]), !w.value && $ !== !1 && ($ || n(Ri, {
|
|
4127
4131
|
style: e.pageHeaderStyle,
|
|
4128
4132
|
breadcrumb: b,
|
|
4129
4133
|
content: L
|
|
@@ -4138,11 +4142,11 @@ const {
|
|
|
4138
4142
|
};
|
|
4139
4143
|
}
|
|
4140
4144
|
});
|
|
4141
|
-
function
|
|
4142
|
-
const a = qe(), o = a.getRoutes(), i =
|
|
4145
|
+
function hs({ menuData: e, watchOpenKeys: t = !0 }) {
|
|
4146
|
+
const a = qe(), o = a.getRoutes(), i = xe({
|
|
4143
4147
|
menuData: [],
|
|
4144
4148
|
levelMenuData: []
|
|
4145
|
-
}), l =
|
|
4149
|
+
}), l = xe({
|
|
4146
4150
|
openKeys: [],
|
|
4147
4151
|
selectedKeys: []
|
|
4148
4152
|
}), s = R(() => a.currentRoute.value), r = (u) => {
|
|
@@ -4150,21 +4154,21 @@ function fs({ menuData: e, watchOpenKeys: t = !0 }) {
|
|
|
4150
4154
|
if ((y = (I = s.value) == null ? void 0 : I.meta) != null && y.hidden)
|
|
4151
4155
|
i.menuData = [], i.levelMenuData = [];
|
|
4152
4156
|
else {
|
|
4153
|
-
const d =
|
|
4157
|
+
const d = Ho(jo(u));
|
|
4154
4158
|
i.menuData = d.menuData, i.levelMenuData = d.getLevel();
|
|
4155
4159
|
}
|
|
4156
4160
|
};
|
|
4157
4161
|
e && Dt(e) && ae(() => e.value, (u) => r(u), { deep: !0 });
|
|
4158
|
-
const f = R(() =>
|
|
4162
|
+
const f = R(() => kn(i, { path: Pt(s.value), name: s.value.name })), h = R(() => {
|
|
4159
4163
|
const u = f.value.map((I) => {
|
|
4160
4164
|
var d, C;
|
|
4161
|
-
const y =
|
|
4165
|
+
const y = On((d = I.meta) != null && d.hideChildrenInMenu ? [] : I.children || []);
|
|
4162
4166
|
return {
|
|
4163
4167
|
path: I.redirect || y || I.path || "",
|
|
4164
4168
|
breadcrumbName: ((C = I.meta) == null ? void 0 : C.title) || ""
|
|
4165
4169
|
};
|
|
4166
4170
|
}).filter((I) => I.breadcrumbName);
|
|
4167
|
-
return
|
|
4171
|
+
return qo(u, "breadcrumbName");
|
|
4168
4172
|
}), g = () => {
|
|
4169
4173
|
l.openKeys = f.value.filter((u) => u.path !== s.value.path).map((u) => u.path);
|
|
4170
4174
|
};
|
|
@@ -4172,7 +4176,7 @@ function fs({ menuData: e, watchOpenKeys: t = !0 }) {
|
|
|
4172
4176
|
u && (r(e ? Dt(e) ? e.value : e : o), l.selectedKeys = f.value.map((I) => I.path), t && g());
|
|
4173
4177
|
}, { immediate: !0, deep: !0 }), It(() => {
|
|
4174
4178
|
t || g();
|
|
4175
|
-
}),
|
|
4179
|
+
}), Zo({
|
|
4176
4180
|
...Ye(i),
|
|
4177
4181
|
matchedMenu: f
|
|
4178
4182
|
}), {
|
|
@@ -4182,7 +4186,7 @@ function fs({ menuData: e, watchOpenKeys: t = !0 }) {
|
|
|
4182
4186
|
breadcrumbRouters: h
|
|
4183
4187
|
};
|
|
4184
4188
|
}
|
|
4185
|
-
const
|
|
4189
|
+
const ki = (e) => ({
|
|
4186
4190
|
[e.componentCls]: {
|
|
4187
4191
|
height: "100%",
|
|
4188
4192
|
[`&${e.componentCls}-loading`]: {
|
|
@@ -4206,13 +4210,13 @@ const Fi = (e) => ({
|
|
|
4206
4210
|
}
|
|
4207
4211
|
}
|
|
4208
4212
|
});
|
|
4209
|
-
function
|
|
4210
|
-
return Fe("PageLoading", (t) => [
|
|
4213
|
+
function Pi(e) {
|
|
4214
|
+
return Fe("PageLoading", (t) => [ki(t)], e);
|
|
4211
4215
|
}
|
|
4212
|
-
const
|
|
4216
|
+
const gs = /* @__PURE__ */ K({
|
|
4213
4217
|
name: "ProAppPage",
|
|
4214
4218
|
props: {
|
|
4215
|
-
...
|
|
4219
|
+
...Za,
|
|
4216
4220
|
spinning: Boolean,
|
|
4217
4221
|
spinningBlur: {
|
|
4218
4222
|
type: Boolean,
|
|
@@ -4232,18 +4236,18 @@ const hs = /* @__PURE__ */ K({
|
|
|
4232
4236
|
}), {
|
|
4233
4237
|
hashId: i,
|
|
4234
4238
|
wrapSSR: l
|
|
4235
|
-
} =
|
|
4236
|
-
return
|
|
4239
|
+
} = Pi(o);
|
|
4240
|
+
return Li({
|
|
4237
4241
|
spinning: R(() => e.spinning)
|
|
4238
4242
|
}), () => {
|
|
4239
|
-
const s =
|
|
4240
|
-
return l(n(
|
|
4243
|
+
const s = sn(Ja, t, e);
|
|
4244
|
+
return l(n(eo, te({
|
|
4241
4245
|
style: a.style,
|
|
4242
|
-
class:
|
|
4246
|
+
class: U(a.class, e.spinning && `${o}-loading`, o, i.value)
|
|
4243
4247
|
}, s), {
|
|
4244
4248
|
default: () => {
|
|
4245
4249
|
var r, f;
|
|
4246
|
-
return [n(
|
|
4250
|
+
return [n(bn, {
|
|
4247
4251
|
barStyle: {
|
|
4248
4252
|
zIndex: 110
|
|
4249
4253
|
}
|
|
@@ -4253,13 +4257,13 @@ const hs = /* @__PURE__ */ K({
|
|
|
4253
4257
|
return [(h = t.default) == null ? void 0 : h.call(t)];
|
|
4254
4258
|
}
|
|
4255
4259
|
}), e.spinning && n("div", {
|
|
4256
|
-
class:
|
|
4260
|
+
class: U(`${o}-blur`, i.value),
|
|
4257
4261
|
style: {
|
|
4258
4262
|
backgroundColor: e.spinningBlur ? void 0 : "unset"
|
|
4259
4263
|
}
|
|
4260
|
-
}, [n($t, te(
|
|
4264
|
+
}, [n($t, te(we(e.spinProps, "spinning", "iconStyle", "iconClass"), {
|
|
4261
4265
|
spinning: !0,
|
|
4262
|
-
indicator:
|
|
4266
|
+
indicator: qn(s.indicator, {
|
|
4263
4267
|
style: (r = e.spinProps) == null ? void 0 : r.iconStyle,
|
|
4264
4268
|
class: (f = e.spinProps) == null ? void 0 : f.iconClass
|
|
4265
4269
|
})
|
|
@@ -4268,7 +4272,7 @@ const hs = /* @__PURE__ */ K({
|
|
|
4268
4272
|
}));
|
|
4269
4273
|
};
|
|
4270
4274
|
}
|
|
4271
|
-
}), xt = Object.keys(Z).filter((e) => e !== "title"),
|
|
4275
|
+
}), xt = Object.keys(Z).filter((e) => e !== "title"), Ti = [{
|
|
4272
4276
|
value: "light",
|
|
4273
4277
|
label: () => n("div", {
|
|
4274
4278
|
style: {
|
|
@@ -4278,7 +4282,7 @@ const hs = /* @__PURE__ */ K({
|
|
|
4278
4282
|
}
|
|
4279
4283
|
}, [n(Xe, {
|
|
4280
4284
|
name: "liangse"
|
|
4281
|
-
}, null),
|
|
4285
|
+
}, null), V("亮色")])
|
|
4282
4286
|
}, {
|
|
4283
4287
|
value: "dark",
|
|
4284
4288
|
label: () => n("div", {
|
|
@@ -4289,7 +4293,7 @@ const hs = /* @__PURE__ */ K({
|
|
|
4289
4293
|
}
|
|
4290
4294
|
}, [n(Xe, {
|
|
4291
4295
|
name: "anhei"
|
|
4292
|
-
}, null),
|
|
4296
|
+
}, null), V("深色")])
|
|
4293
4297
|
}, {
|
|
4294
4298
|
value: "system",
|
|
4295
4299
|
label: () => n("div", {
|
|
@@ -4298,8 +4302,8 @@ const hs = /* @__PURE__ */ K({
|
|
|
4298
4302
|
alignItems: "center",
|
|
4299
4303
|
gap: "6px"
|
|
4300
4304
|
}
|
|
4301
|
-
}, [n(
|
|
4302
|
-
}],
|
|
4305
|
+
}, [n(Va, null, null), V("自动")])
|
|
4306
|
+
}], Kn = [
|
|
4303
4307
|
{
|
|
4304
4308
|
key: "light",
|
|
4305
4309
|
title: "亮色菜单风格"
|
|
@@ -4312,7 +4316,7 @@ const hs = /* @__PURE__ */ K({
|
|
|
4312
4316
|
// key: 'systemDark',
|
|
4313
4317
|
// title: '暗黑模式'
|
|
4314
4318
|
// }
|
|
4315
|
-
],
|
|
4319
|
+
], Wn = [{
|
|
4316
4320
|
key: "side",
|
|
4317
4321
|
title: "侧边菜单布局"
|
|
4318
4322
|
}, {
|
|
@@ -4327,13 +4331,13 @@ const hs = /* @__PURE__ */ K({
|
|
|
4327
4331
|
}, {
|
|
4328
4332
|
key: "simple",
|
|
4329
4333
|
title: "简单菜单布局"
|
|
4330
|
-
}],
|
|
4334
|
+
}], Ni = [{
|
|
4331
4335
|
key: "header",
|
|
4332
4336
|
title: "顶部主题"
|
|
4333
4337
|
}, {
|
|
4334
4338
|
key: "sider",
|
|
4335
4339
|
title: "左侧主题"
|
|
4336
|
-
}],
|
|
4340
|
+
}], zi = [{
|
|
4337
4341
|
key: "colorBgMenu",
|
|
4338
4342
|
name: "全部背景"
|
|
4339
4343
|
}, {
|
|
@@ -4354,7 +4358,7 @@ const hs = /* @__PURE__ */ K({
|
|
|
4354
4358
|
}, {
|
|
4355
4359
|
key: "colorTextMenuSelected",
|
|
4356
4360
|
name: "菜单文字选中颜色"
|
|
4357
|
-
}],
|
|
4361
|
+
}], Di = [{
|
|
4358
4362
|
label: "fixedHeader",
|
|
4359
4363
|
title: "固定 Header"
|
|
4360
4364
|
}, {
|
|
@@ -4363,13 +4367,13 @@ const hs = /* @__PURE__ */ K({
|
|
|
4363
4367
|
}, {
|
|
4364
4368
|
label: "splitMenus",
|
|
4365
4369
|
title: "自动分割菜单"
|
|
4366
|
-
}],
|
|
4370
|
+
}], Ai = [{
|
|
4367
4371
|
label: "showTabsBar",
|
|
4368
4372
|
title: "多标签"
|
|
4369
4373
|
}, {
|
|
4370
4374
|
label: "fixedTabsBar",
|
|
4371
4375
|
title: "固定多标签"
|
|
4372
|
-
}],
|
|
4376
|
+
}], Hi = (e) => {
|
|
4373
4377
|
const { dark: t } = be(e);
|
|
4374
4378
|
return {
|
|
4375
4379
|
[e.componentCls]: {
|
|
@@ -4550,7 +4554,7 @@ const hs = /* @__PURE__ */ K({
|
|
|
4550
4554
|
}
|
|
4551
4555
|
}
|
|
4552
4556
|
};
|
|
4553
|
-
},
|
|
4557
|
+
}, Qt = /* @__PURE__ */ K({
|
|
4554
4558
|
name: "BlockCheckbox",
|
|
4555
4559
|
props: {
|
|
4556
4560
|
value: q.string,
|
|
@@ -4573,14 +4577,14 @@ const hs = /* @__PURE__ */ K({
|
|
|
4573
4577
|
key: a.key
|
|
4574
4578
|
}, {
|
|
4575
4579
|
default: () => [n("div", {
|
|
4576
|
-
class:
|
|
4580
|
+
class: U(e.hashId, `${t}-item`, `${t}-item-${a.key}`, `${t}-${e.configType}-item`),
|
|
4577
4581
|
onClick: (o) => {
|
|
4578
4582
|
var i;
|
|
4579
4583
|
return (i = e.onChange) == null ? void 0 : i.call(e, a.key, o);
|
|
4580
4584
|
}
|
|
4581
4585
|
}, [a.key === "wide" && n("div", {
|
|
4582
4586
|
class: [`${t}-item-${a.key}-content`, e.hashId]
|
|
4583
|
-
}, null), n(
|
|
4587
|
+
}, null), n(gn, {
|
|
4584
4588
|
class: `${t}-selectIcon ${e.hashId}`.trim(),
|
|
4585
4589
|
style: {
|
|
4586
4590
|
display: e.value === a.key ? "block" : "none"
|
|
@@ -4591,7 +4595,7 @@ const hs = /* @__PURE__ */ K({
|
|
|
4591
4595
|
}))]);
|
|
4592
4596
|
};
|
|
4593
4597
|
}
|
|
4594
|
-
}),
|
|
4598
|
+
}), ji = /* @__PURE__ */ K({
|
|
4595
4599
|
name: "ThemeColor",
|
|
4596
4600
|
inheritAttrs: !1,
|
|
4597
4601
|
props: {
|
|
@@ -4626,7 +4630,7 @@ const hs = /* @__PURE__ */ K({
|
|
|
4626
4630
|
backgroundColor: i
|
|
4627
4631
|
},
|
|
4628
4632
|
onClick: () => e.onChange && e.onChange(i)
|
|
4629
|
-
}, [((r = e.settingValue) == null ? void 0 : r.primaryColor) === i && n(
|
|
4633
|
+
}, [((r = e.settingValue) == null ? void 0 : r.primaryColor) === i && n(gn, null, null)])];
|
|
4630
4634
|
}
|
|
4631
4635
|
}) : null)]);
|
|
4632
4636
|
};
|
|
@@ -4665,7 +4669,7 @@ const hs = /* @__PURE__ */ K({
|
|
|
4665
4669
|
}),
|
|
4666
4670
|
dataSource: [{
|
|
4667
4671
|
title: e.label,
|
|
4668
|
-
action: n(
|
|
4672
|
+
action: n(on, {
|
|
4669
4673
|
size: "small",
|
|
4670
4674
|
disabled: e.disabled,
|
|
4671
4675
|
checked: !!e.value,
|
|
@@ -4676,7 +4680,7 @@ const hs = /* @__PURE__ */ K({
|
|
|
4676
4680
|
}]
|
|
4677
4681
|
}, null);
|
|
4678
4682
|
}
|
|
4679
|
-
}),
|
|
4683
|
+
}), Ei = (e) => ({
|
|
4680
4684
|
[e.componentCls]: {
|
|
4681
4685
|
padding: e.marginLG,
|
|
4682
4686
|
"*": {
|
|
@@ -4710,19 +4714,19 @@ const hs = /* @__PURE__ */ K({
|
|
|
4710
4714
|
}
|
|
4711
4715
|
}
|
|
4712
4716
|
});
|
|
4713
|
-
function
|
|
4717
|
+
function Ki(e) {
|
|
4714
4718
|
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Oe(e);
|
|
4715
4719
|
}
|
|
4716
|
-
const
|
|
4717
|
-
|
|
4718
|
-
|
|
4719
|
-
|
|
4720
|
+
const Un = [];
|
|
4721
|
+
Ra.forEach((e) => {
|
|
4722
|
+
$a.forEach((t) => {
|
|
4723
|
+
Un.push({
|
|
4720
4724
|
key: `${e}:${t}`,
|
|
4721
4725
|
token: {}
|
|
4722
4726
|
});
|
|
4723
4727
|
});
|
|
4724
4728
|
});
|
|
4725
|
-
const
|
|
4729
|
+
const Wi = /* @__PURE__ */ K({
|
|
4726
4730
|
name: "ThemeEditor",
|
|
4727
4731
|
props: {
|
|
4728
4732
|
theme: He.theme,
|
|
@@ -4732,20 +4736,20 @@ const Ki = /* @__PURE__ */ K({
|
|
|
4732
4736
|
setup(e) {
|
|
4733
4737
|
const {
|
|
4734
4738
|
getPrefixCls: t
|
|
4735
|
-
} = re(), [a, o] =
|
|
4739
|
+
} = re(), [a, o] = Se("header"), i = t({
|
|
4736
4740
|
suffixCls: "theme-editor",
|
|
4737
4741
|
isPor: !0
|
|
4738
4742
|
}), {
|
|
4739
4743
|
wrapSSR: l,
|
|
4740
4744
|
hashId: s
|
|
4741
|
-
} = ge("ProThemeEditor", [
|
|
4745
|
+
} = ge("ProThemeEditor", [Ei], i), {
|
|
4742
4746
|
token: r
|
|
4743
4747
|
} = ke(), f = R(() => {
|
|
4744
4748
|
var y;
|
|
4745
4749
|
return (y = r.value) == null ? void 0 : y.layout;
|
|
4746
4750
|
});
|
|
4747
4751
|
function h(y) {
|
|
4748
|
-
return
|
|
4752
|
+
return Ce(Un).map((d) => {
|
|
4749
4753
|
var w;
|
|
4750
4754
|
const C = rt(y, r.value, d.key);
|
|
4751
4755
|
if (d.token = C, C)
|
|
@@ -4756,7 +4760,7 @@ const Ki = /* @__PURE__ */ K({
|
|
|
4756
4760
|
return d;
|
|
4757
4761
|
}).filter((d) => d.token);
|
|
4758
4762
|
}
|
|
4759
|
-
const g =
|
|
4763
|
+
const g = xe({
|
|
4760
4764
|
header: h("header"),
|
|
4761
4765
|
sider: h("sider")
|
|
4762
4766
|
});
|
|
@@ -4780,7 +4784,7 @@ const Ki = /* @__PURE__ */ K({
|
|
|
4780
4784
|
return Object.keys(y || {}).map((C) => {
|
|
4781
4785
|
var c;
|
|
4782
4786
|
return {
|
|
4783
|
-
title: ((c =
|
|
4787
|
+
title: ((c = zi.find((v) => v.key === C)) == null ? void 0 : c.name) || "",
|
|
4784
4788
|
key: C,
|
|
4785
4789
|
value: (y == null ? void 0 : y[C]) || ""
|
|
4786
4790
|
};
|
|
@@ -4799,13 +4803,13 @@ const Ki = /* @__PURE__ */ K({
|
|
|
4799
4803
|
class: [i, s.value]
|
|
4800
4804
|
}, [n("h3", {
|
|
4801
4805
|
class: [`${i}-title`, s.value]
|
|
4802
|
-
}, [
|
|
4806
|
+
}, [V("主题编辑器"), n("div", {
|
|
4803
4807
|
class: [`${i}-sub-title`, s.value]
|
|
4804
|
-
}, [n("span", null, [(d =
|
|
4808
|
+
}, [n("span", null, [(d = Kn.find((c) => c.key === e.theme)) == null ? void 0 : d.title]), n("span", {
|
|
4805
4809
|
style: {
|
|
4806
4810
|
marginInline: "8px"
|
|
4807
4811
|
}
|
|
4808
|
-
}, [
|
|
4812
|
+
}, [V("/")]), n("span", null, [(C = Wn.find((c) => {
|
|
4809
4813
|
var v;
|
|
4810
4814
|
return c.key === ((v = e.settingValue) == null ? void 0 : v.layout);
|
|
4811
4815
|
})) == null ? void 0 : C.title])])]), n("div", {
|
|
@@ -4827,7 +4831,7 @@ const Ki = /* @__PURE__ */ K({
|
|
|
4827
4831
|
}),
|
|
4828
4832
|
dataSource: [{
|
|
4829
4833
|
title: "自定义主题色",
|
|
4830
|
-
action: n(
|
|
4834
|
+
action: n(Ut, {
|
|
4831
4835
|
value: (w = e.settingValue) == null ? void 0 : w.primaryColor,
|
|
4832
4836
|
size: "small",
|
|
4833
4837
|
onChangeComplete: (c) => e.onChange && e.onChange(c.toCssString(), "primaryColor")
|
|
@@ -4836,7 +4840,7 @@ const Ki = /* @__PURE__ */ K({
|
|
|
4836
4840
|
}, null), n(wt, {
|
|
4837
4841
|
activeKey: a.value,
|
|
4838
4842
|
onChange: (c) => o(c)
|
|
4839
|
-
},
|
|
4843
|
+
}, Ki(y = Ni.map((c) => n(aa, {
|
|
4840
4844
|
key: c.key,
|
|
4841
4845
|
tab: c.title
|
|
4842
4846
|
}, {
|
|
@@ -4857,7 +4861,7 @@ const Ki = /* @__PURE__ */ K({
|
|
|
4857
4861
|
}),
|
|
4858
4862
|
dataSource: u.value.map((v) => ({
|
|
4859
4863
|
...v,
|
|
4860
|
-
action: n(
|
|
4864
|
+
action: n(Ut, {
|
|
4861
4865
|
value: v.value,
|
|
4862
4866
|
size: "small",
|
|
4863
4867
|
onChangeComplete: (m) => I(m.toCssString(), v.key)
|
|
@@ -4869,7 +4873,7 @@ const Ki = /* @__PURE__ */ K({
|
|
|
4869
4873
|
})])]));
|
|
4870
4874
|
};
|
|
4871
4875
|
}
|
|
4872
|
-
}),
|
|
4876
|
+
}), Ui = (e) => ({
|
|
4873
4877
|
[e.componentCls]: {
|
|
4874
4878
|
padding: e.marginLG,
|
|
4875
4879
|
"&-title": {
|
|
@@ -4900,12 +4904,12 @@ const Ki = /* @__PURE__ */ K({
|
|
|
4900
4904
|
}
|
|
4901
4905
|
}
|
|
4902
4906
|
});
|
|
4903
|
-
function
|
|
4907
|
+
function Zt(e) {
|
|
4904
4908
|
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Oe(e);
|
|
4905
4909
|
}
|
|
4906
4910
|
const {
|
|
4907
|
-
preset:
|
|
4908
|
-
} = Tt,
|
|
4911
|
+
preset: Jt
|
|
4912
|
+
} = Tt, _i = /* @__PURE__ */ K({
|
|
4909
4913
|
name: "OthersChange",
|
|
4910
4914
|
props: {
|
|
4911
4915
|
prefixCls: q.string,
|
|
@@ -4919,7 +4923,7 @@ const {
|
|
|
4919
4923
|
}), {
|
|
4920
4924
|
wrapSSR: a,
|
|
4921
4925
|
hashId: o
|
|
4922
|
-
} = ge("SettingsDrawOthers", [
|
|
4926
|
+
} = ge("SettingsDrawOthers", [Ui], t);
|
|
4923
4927
|
return () => {
|
|
4924
4928
|
var l, s, r, f, h, g, u, I, y, d, C, w, c, v;
|
|
4925
4929
|
let i;
|
|
@@ -4927,7 +4931,7 @@ const {
|
|
|
4927
4931
|
class: [t, o.value]
|
|
4928
4932
|
}, [n("h3", {
|
|
4929
4933
|
class: [`${t}-title`, o.value]
|
|
4930
|
-
}, [
|
|
4934
|
+
}, [V("页面动画设置")]), n(Me, {
|
|
4931
4935
|
class: `${t}-list ${o.value}`.trim(),
|
|
4932
4936
|
split: !1,
|
|
4933
4937
|
size: "small",
|
|
@@ -4949,7 +4953,7 @@ const {
|
|
|
4949
4953
|
}),
|
|
4950
4954
|
dataSource: [{
|
|
4951
4955
|
title: "禁用动画",
|
|
4952
|
-
action: n(
|
|
4956
|
+
action: n(on, {
|
|
4953
4957
|
checked: !((s = (l = e.settingValue) == null ? void 0 : l.animate) != null && s.disabled),
|
|
4954
4958
|
size: "small",
|
|
4955
4959
|
onChange: (m) => {
|
|
@@ -4972,7 +4976,7 @@ const {
|
|
|
4972
4976
|
var x;
|
|
4973
4977
|
return (x = e.onChange) == null ? void 0 : x.call(e, "animate", "name", m);
|
|
4974
4978
|
}
|
|
4975
|
-
},
|
|
4979
|
+
}, Zt(i = Jt.map((m) => n(Qe.Option, {
|
|
4976
4980
|
value: m.name
|
|
4977
4981
|
}, {
|
|
4978
4982
|
default: () => [m.alias]
|
|
@@ -5000,12 +5004,12 @@ const {
|
|
|
5000
5004
|
}, {
|
|
5001
5005
|
default: () => {
|
|
5002
5006
|
var m;
|
|
5003
|
-
return [(m =
|
|
5007
|
+
return [(m = Jt.find((x) => {
|
|
5004
5008
|
var P, N;
|
|
5005
5009
|
return x.name === ((N = (P = e.settingValue) == null ? void 0 : P.animate) == null ? void 0 : N.name);
|
|
5006
5010
|
})) == null ? void 0 : m.directions.map((x) => n(Qe.Option, {
|
|
5007
5011
|
value: x
|
|
5008
|
-
},
|
|
5012
|
+
}, Zt(x) ? x : {
|
|
5009
5013
|
default: () => [x]
|
|
5010
5014
|
}))];
|
|
5011
5015
|
}
|
|
@@ -5015,14 +5019,14 @@ const {
|
|
|
5015
5019
|
};
|
|
5016
5020
|
}
|
|
5017
5021
|
}), {
|
|
5018
|
-
preset:
|
|
5019
|
-
} = Tt,
|
|
5022
|
+
preset: Xi
|
|
5023
|
+
} = Tt, Vi = {
|
|
5020
5024
|
color: "#fff",
|
|
5021
5025
|
fontSize: 20
|
|
5022
|
-
},
|
|
5026
|
+
}, en = (e) => Ca() ? {
|
|
5023
5027
|
...le(Z, xt),
|
|
5024
5028
|
...e || {}
|
|
5025
|
-
} :
|
|
5029
|
+
} : Ce(Z), We = (e, {
|
|
5026
5030
|
slots: t
|
|
5027
5031
|
}) => {
|
|
5028
5032
|
var a;
|
|
@@ -5033,7 +5037,7 @@ const {
|
|
|
5033
5037
|
}, [n("h3", {
|
|
5034
5038
|
class: `${e.prefixCls}-body-title ${e.hashId}`.trim()
|
|
5035
5039
|
}, [e.title]), (a = t.default) == null ? void 0 : a.call(t)]);
|
|
5036
|
-
},
|
|
5040
|
+
}, Gi = () => ({
|
|
5037
5041
|
...Ot,
|
|
5038
5042
|
open: {
|
|
5039
5043
|
type: Boolean,
|
|
@@ -5054,28 +5058,28 @@ const {
|
|
|
5054
5058
|
},
|
|
5055
5059
|
colorList: {
|
|
5056
5060
|
type: [Boolean, Array],
|
|
5057
|
-
default: () =>
|
|
5061
|
+
default: () => Ba
|
|
5058
5062
|
},
|
|
5059
5063
|
onChange: Function,
|
|
5060
5064
|
onOpenChange: Function,
|
|
5061
5065
|
"onUpdate:open": Function,
|
|
5062
5066
|
onDarkChange: He.onDarkChange,
|
|
5063
5067
|
onLayoutChange: Function
|
|
5064
|
-
}),
|
|
5068
|
+
}), ys = /* @__PURE__ */ K({
|
|
5065
5069
|
name: "SettingDrawer",
|
|
5066
|
-
props:
|
|
5070
|
+
props: Gi(),
|
|
5067
5071
|
emits: ["change", "layoutChange", "openChange", "update:open", "update:dark", "darkChange"],
|
|
5068
5072
|
setup(e) {
|
|
5069
5073
|
const t = ke(), a = re(), o = ie({
|
|
5070
5074
|
suffixCls: "setting-drawer",
|
|
5071
5075
|
isPor: !0
|
|
5072
|
-
}), i =
|
|
5076
|
+
}), i = xe({}), l = ot(ie({
|
|
5073
5077
|
suffixCls: "settings-state",
|
|
5074
5078
|
isPor: !0
|
|
5075
5079
|
}), {}), {
|
|
5076
5080
|
wrapSSR: s,
|
|
5077
5081
|
hashId: r
|
|
5078
|
-
} = ge("ProSettingDraw", [
|
|
5082
|
+
} = ge("ProSettingDraw", [Hi], o), f = he(!1), [h, g] = Ae(!1, {
|
|
5079
5083
|
value: R(() => {
|
|
5080
5084
|
var O;
|
|
5081
5085
|
return oe(e.open) ? e.open : (O = a == null ? void 0 : a.settingsOpen) == null ? void 0 : O.value;
|
|
@@ -5093,20 +5097,20 @@ const {
|
|
|
5093
5097
|
return Ve(e.dark) ? e.dark : (O = a == null ? void 0 : a.dark) == null ? void 0 : O.value;
|
|
5094
5098
|
}), {
|
|
5095
5099
|
change: (O) => {
|
|
5096
|
-
var F, k,
|
|
5097
|
-
(F = e.onDarkChange) == null || F.call(e, O), (k = e == null ? void 0 : e["onUpdate:dark"]) == null || k.call(e, O), (
|
|
5100
|
+
var F, k, _;
|
|
5101
|
+
(F = e.onDarkChange) == null || F.call(e, O), (k = e == null ? void 0 : e["onUpdate:dark"]) == null || k.call(e, O), (_ = a == null ? void 0 : a.onDarkChange) == null || _.call(a, O);
|
|
5098
5102
|
}
|
|
5099
|
-
}), [d, C] =
|
|
5103
|
+
}), [d, C] = Se(!1), [w, c] = Se(!1), v = R(() => e.storage ? Object.keys(l.value).length > 0 : !1), m = R(() => en(le(e.settings, xt))), [x, P] = Ae(() => en(le(e.settings, xt)), {
|
|
5100
5104
|
value: m,
|
|
5101
5105
|
onChange: (O) => {
|
|
5102
5106
|
var F;
|
|
5103
|
-
l.value = pe(l.value, O), (F = e.onChange) == null || F.call(e, O);
|
|
5107
|
+
l.value = pe(At(l.value), Ce(O)), (F = e.onChange) == null || F.call(e, O);
|
|
5104
5108
|
}
|
|
5105
5109
|
}), N = R(() => {
|
|
5106
5110
|
var O;
|
|
5107
5111
|
return Ve(e.dark) ? I.value : (O = t == null ? void 0 : t.dark) == null ? void 0 : O.value;
|
|
5108
5112
|
}), B = (O, F) => {
|
|
5109
|
-
|
|
5113
|
+
Dn({
|
|
5110
5114
|
event: O,
|
|
5111
5115
|
isDark: N,
|
|
5112
5116
|
toggle: y,
|
|
@@ -5116,19 +5120,19 @@ const {
|
|
|
5116
5120
|
ae(() => e.storage, (O) => {
|
|
5117
5121
|
O && (v.value ? (Object.assign(i, {
|
|
5118
5122
|
dark: u.value,
|
|
5119
|
-
...
|
|
5120
|
-
}),
|
|
5123
|
+
...Ce(x.value)
|
|
5124
|
+
}), pa(we(l.value, "dark"), At(x.value)) || P(we(l.value, "dark")), B(null, l.value.dark)) : l.value = {
|
|
5121
5125
|
...x.value,
|
|
5122
5126
|
dark: u.value
|
|
5123
5127
|
});
|
|
5124
5128
|
}, {
|
|
5125
5129
|
immediate: !0
|
|
5126
5130
|
});
|
|
5127
|
-
const z = R(() => e.colorList && it(e.colorList) ? e.colorList : []), $ = R(() =>
|
|
5131
|
+
const z = R(() => e.colorList && it(e.colorList) ? e.colorList : []), $ = R(() => Yo(ue(x))), {
|
|
5128
5132
|
copy: b,
|
|
5129
5133
|
copied: L,
|
|
5130
5134
|
isSupported: A
|
|
5131
|
-
} =
|
|
5135
|
+
} = ma();
|
|
5132
5136
|
ae(h, () => {
|
|
5133
5137
|
f.value || (f.value = !0);
|
|
5134
5138
|
}), ae(() => {
|
|
@@ -5137,34 +5141,34 @@ const {
|
|
|
5137
5141
|
}, (O) => {
|
|
5138
5142
|
oe(e.open) || g(O);
|
|
5139
5143
|
}), ae(L, (O) => {
|
|
5140
|
-
O &&
|
|
5144
|
+
O && oa.success("拷贝成功,请到 config/default/themeConfig.js 中替换默认配置");
|
|
5141
5145
|
}), ae(() => u.value, (O) => {
|
|
5142
5146
|
e.storage && (l.value.dark = O);
|
|
5143
5147
|
});
|
|
5144
5148
|
const j = (O, F, k) => {
|
|
5145
5149
|
var ve, W, Q;
|
|
5146
|
-
const
|
|
5147
|
-
if (k != null && k.subKey &&
|
|
5148
|
-
ee[O] = {}, ee[O][k == null ? void 0 : k.subKey] = F, (ve = e.onLayoutChange) == null || ve.call(e, le(ee,
|
|
5150
|
+
const _ = ["header", "sider"], ee = {};
|
|
5151
|
+
if (k != null && k.subKey && _.includes(O)) {
|
|
5152
|
+
ee[O] = {}, ee[O][k == null ? void 0 : k.subKey] = F, (ve = e.onLayoutChange) == null || ve.call(e, le(ee, _));
|
|
5149
5153
|
return;
|
|
5150
5154
|
} else
|
|
5151
|
-
O === "animate" ? (ee[O] = {}, k != null && k.subKey && (ee[O][k == null ? void 0 : k.subKey] = F), (k == null ? void 0 : k.subKey) === "name" && (ee[O].direction = (Q = (W =
|
|
5155
|
+
O === "animate" ? (ee[O] = {}, k != null && k.subKey && (ee[O][k == null ? void 0 : k.subKey] = F), (k == null ? void 0 : k.subKey) === "name" && (ee[O].direction = (Q = (W = Xi.find((G) => G.name === F)) == null ? void 0 : W.directions) == null ? void 0 : Q[0])) : ee[O] = F;
|
|
5152
5156
|
if (O === "colorWeak") {
|
|
5153
5157
|
const G = document.querySelector("body");
|
|
5154
5158
|
G && (G.dataset.prosettingdrawer = F === !0 ? G.style.filter : G.dataset.prosettingdrawer || "none", F === !0 && (G.dataset.prosettingdrawer = G.style.filter), G.style.filter = F === !0 ? "invert(80%)" : G.dataset.prosettingdrawer || "none", F || delete G.dataset.prosettingdrawer);
|
|
5155
5159
|
}
|
|
5156
5160
|
P(pe(ue(x), {
|
|
5157
|
-
...
|
|
5161
|
+
...Go(we(ee, _))
|
|
5158
5162
|
}));
|
|
5159
5163
|
}, E = (O) => {
|
|
5160
5164
|
l.value.dark = O === "system" ? O : O === "dark", B(null, O === "system" ? O : O === "dark");
|
|
5161
5165
|
}, ne = () => {
|
|
5162
5166
|
A.value && b(JSON.stringify(ue(x)));
|
|
5163
5167
|
}, me = () => {
|
|
5164
|
-
P(
|
|
5168
|
+
P(we(Ce(i), "dark")), B(null, i.dark), l.value = Ce(i);
|
|
5165
5169
|
};
|
|
5166
5170
|
return () => {
|
|
5167
|
-
const O = h.value ? st :
|
|
5171
|
+
const O = h.value ? st : hn;
|
|
5168
5172
|
return s(n(Je, {
|
|
5169
5173
|
width: 300,
|
|
5170
5174
|
closable: !1,
|
|
@@ -5182,12 +5186,12 @@ const {
|
|
|
5182
5186
|
class: [`${o}-handle`, r.value],
|
|
5183
5187
|
onClick: () => g(!h.value)
|
|
5184
5188
|
}, [n(O, {
|
|
5185
|
-
style:
|
|
5189
|
+
style: Vi
|
|
5186
5190
|
}, null)])
|
|
5187
5191
|
}, {
|
|
5188
5192
|
default: () => [n("div", {
|
|
5189
5193
|
class: [`${o}-wrapper`, r.value]
|
|
5190
|
-
}, [n(
|
|
5194
|
+
}, [n(bn, null, {
|
|
5191
5195
|
default: () => [n("div", {
|
|
5192
5196
|
class: [`${o}-content`, r.value]
|
|
5193
5197
|
}, [n(We, {
|
|
@@ -5195,9 +5199,9 @@ const {
|
|
|
5195
5199
|
hashId: r.value,
|
|
5196
5200
|
title: "整体风格"
|
|
5197
5201
|
}, {
|
|
5198
|
-
default: () => [n(
|
|
5202
|
+
default: () => [n(ia, {
|
|
5199
5203
|
value: oe(u.value) ? u.value ? "dark" : "light" : "system",
|
|
5200
|
-
options:
|
|
5204
|
+
options: Ti,
|
|
5201
5205
|
onChange: (F) => E(F)
|
|
5202
5206
|
}, null)]
|
|
5203
5207
|
}), n(We, {
|
|
@@ -5205,10 +5209,10 @@ const {
|
|
|
5205
5209
|
hashId: r.value,
|
|
5206
5210
|
title: "菜单风格"
|
|
5207
5211
|
}, {
|
|
5208
|
-
default: () => [n(
|
|
5212
|
+
default: () => [n(Qt, {
|
|
5209
5213
|
hashId: r.value,
|
|
5210
5214
|
prefixCls: o,
|
|
5211
|
-
list:
|
|
5215
|
+
list: Kn,
|
|
5212
5216
|
value: x.value.theme,
|
|
5213
5217
|
configType: "theme",
|
|
5214
5218
|
key: "navTheme",
|
|
@@ -5218,16 +5222,16 @@ const {
|
|
|
5218
5222
|
}, null)]
|
|
5219
5223
|
}), n(We, {
|
|
5220
5224
|
hashId: r.value,
|
|
5221
|
-
title: n("span", null, [
|
|
5225
|
+
title: n("span", null, [V("配色模式"), n("a", {
|
|
5222
5226
|
style: {
|
|
5223
5227
|
fontSize: "12px",
|
|
5224
5228
|
marginLeft: "4px"
|
|
5225
5229
|
},
|
|
5226
5230
|
onClick: () => C(!0)
|
|
5227
|
-
}, [
|
|
5231
|
+
}, [V("更多配置")])]),
|
|
5228
5232
|
prefixCls: o
|
|
5229
5233
|
}, {
|
|
5230
|
-
default: () => [n(
|
|
5234
|
+
default: () => [n(ji, {
|
|
5231
5235
|
hashId: r.value,
|
|
5232
5236
|
prefixCls: o,
|
|
5233
5237
|
colorList: z.value,
|
|
@@ -5239,16 +5243,16 @@ const {
|
|
|
5239
5243
|
prefixCls: o,
|
|
5240
5244
|
title: "导航模式"
|
|
5241
5245
|
}, {
|
|
5242
|
-
default: () => [n(
|
|
5246
|
+
default: () => [n(Qt, {
|
|
5243
5247
|
prefixCls: o,
|
|
5244
5248
|
value: ue(x).layout,
|
|
5245
5249
|
key: "layout",
|
|
5246
5250
|
hashId: r.value,
|
|
5247
5251
|
configType: "layout",
|
|
5248
|
-
list:
|
|
5252
|
+
list: Wn,
|
|
5249
5253
|
onChange: (F) => j("layout", F)
|
|
5250
5254
|
}, null)]
|
|
5251
|
-
}),
|
|
5255
|
+
}), Di.map(({
|
|
5252
5256
|
label: F,
|
|
5253
5257
|
title: k
|
|
5254
5258
|
}) => n(Ze, {
|
|
@@ -5258,19 +5262,19 @@ const {
|
|
|
5258
5262
|
prefixCls: o,
|
|
5259
5263
|
hashId: r.value,
|
|
5260
5264
|
valueKey: F,
|
|
5261
|
-
onChange: (
|
|
5265
|
+
onChange: (_, ee) => j(_, ee)
|
|
5262
5266
|
}, null)), n(dt, null, null), n(We, {
|
|
5263
5267
|
hashId: r.value,
|
|
5264
5268
|
prefixCls: o,
|
|
5265
|
-
title: n("span", null, [
|
|
5269
|
+
title: n("span", null, [V("其他设置"), n("a", {
|
|
5266
5270
|
style: {
|
|
5267
5271
|
fontSize: "12px",
|
|
5268
5272
|
marginLeft: "4px"
|
|
5269
5273
|
},
|
|
5270
5274
|
onClick: () => c(!0)
|
|
5271
|
-
}, [
|
|
5275
|
+
}, [V("更多配置")])])
|
|
5272
5276
|
}, {
|
|
5273
|
-
default: () => [
|
|
5277
|
+
default: () => [Ai.map(({
|
|
5274
5278
|
label: F,
|
|
5275
5279
|
title: k
|
|
5276
5280
|
}) => n(Ze, {
|
|
@@ -5280,7 +5284,7 @@ const {
|
|
|
5280
5284
|
prefixCls: o,
|
|
5281
5285
|
hashId: r.value,
|
|
5282
5286
|
valueKey: F,
|
|
5283
|
-
onChange: (
|
|
5287
|
+
onChange: (_, ee) => j(_, ee)
|
|
5284
5288
|
}, null)), e.weakmode && n(Ze, {
|
|
5285
5289
|
label: "色弱模式",
|
|
5286
5290
|
value: ue(x).colorWeak,
|
|
@@ -5296,10 +5300,10 @@ const {
|
|
|
5296
5300
|
valueKey: "showProgressBar",
|
|
5297
5301
|
onChange: (F, k) => j(F, k)
|
|
5298
5302
|
}, null)]
|
|
5299
|
-
})]), e.hideHintAlert && e.hideCopyButton ? null : n(dt, null, null), e.hideHintAlert ? null : n(
|
|
5303
|
+
})]), e.hideHintAlert && e.hideCopyButton ? null : n(dt, null, null), e.hideHintAlert ? null : n(la, {
|
|
5300
5304
|
type: "warning",
|
|
5301
5305
|
message: "配置栏只在开发环境用于预览,生产环境不会展现,请拷贝后手动修改配置文件",
|
|
5302
|
-
icon: n(
|
|
5306
|
+
icon: n(Ga, null, null),
|
|
5303
5307
|
showIcon: !0,
|
|
5304
5308
|
style: {
|
|
5305
5309
|
marginBottom: "16px"
|
|
@@ -5313,12 +5317,12 @@ const {
|
|
|
5313
5317
|
onClick: () => ne(),
|
|
5314
5318
|
block: !0
|
|
5315
5319
|
}, {
|
|
5316
|
-
default: () => [n(
|
|
5320
|
+
default: () => [n(Ya, null, null), V("拷贝设置")]
|
|
5317
5321
|
}), n(et, {
|
|
5318
5322
|
block: !0,
|
|
5319
5323
|
onClick: () => me()
|
|
5320
5324
|
}, {
|
|
5321
|
-
default: () => [n(
|
|
5325
|
+
default: () => [n(qa, null, null), V("清空缓存")]
|
|
5322
5326
|
})])])]
|
|
5323
5327
|
})]), n(Je, {
|
|
5324
5328
|
width: 320,
|
|
@@ -5330,11 +5334,11 @@ const {
|
|
|
5330
5334
|
},
|
|
5331
5335
|
onClose: () => C(!1)
|
|
5332
5336
|
}, {
|
|
5333
|
-
default: () => [n(
|
|
5337
|
+
default: () => [n(Wi, {
|
|
5334
5338
|
theme: x.value.theme,
|
|
5335
5339
|
settingValue: x.value,
|
|
5336
|
-
onChange: (F, k,
|
|
5337
|
-
subKey:
|
|
5340
|
+
onChange: (F, k, _) => j(k || "primaryColor", F, {
|
|
5341
|
+
subKey: _
|
|
5338
5342
|
})
|
|
5339
5343
|
}, null)]
|
|
5340
5344
|
}), n(Je, {
|
|
@@ -5347,9 +5351,9 @@ const {
|
|
|
5347
5351
|
},
|
|
5348
5352
|
onClose: () => c(!1)
|
|
5349
5353
|
}, {
|
|
5350
|
-
default: () => [n(
|
|
5354
|
+
default: () => [n(_i, {
|
|
5351
5355
|
settingValue: x.value,
|
|
5352
|
-
onChange: (F, k,
|
|
5356
|
+
onChange: (F, k, _) => j(F, _, {
|
|
5353
5357
|
subKey: k
|
|
5354
5358
|
})
|
|
5355
5359
|
}, null)]
|
|
@@ -5357,7 +5361,7 @@ const {
|
|
|
5357
5361
|
}));
|
|
5358
5362
|
};
|
|
5359
5363
|
}
|
|
5360
|
-
}),
|
|
5364
|
+
}), Yi = new S("backInLeft", {
|
|
5361
5365
|
"0%": {
|
|
5362
5366
|
opacity: 0.7,
|
|
5363
5367
|
transform: "translateX(-2000px) scale(0.7)"
|
|
@@ -5370,7 +5374,7 @@ const {
|
|
|
5370
5374
|
opacity: 1,
|
|
5371
5375
|
transform: "scale(1)"
|
|
5372
5376
|
}
|
|
5373
|
-
}),
|
|
5377
|
+
}), qi = new S("backInRight", {
|
|
5374
5378
|
"0%": {
|
|
5375
5379
|
opacity: 0.7,
|
|
5376
5380
|
transform: "translateX(2000px) scale(0.7)"
|
|
@@ -5383,7 +5387,7 @@ const {
|
|
|
5383
5387
|
opacity: 1,
|
|
5384
5388
|
transform: "scale(1)"
|
|
5385
5389
|
}
|
|
5386
|
-
}),
|
|
5390
|
+
}), Qi = new S("backInUp", {
|
|
5387
5391
|
"0%": {
|
|
5388
5392
|
opacity: 0.7,
|
|
5389
5393
|
transform: "translateY(1200px) scale(0.7)"
|
|
@@ -5396,7 +5400,7 @@ const {
|
|
|
5396
5400
|
opacity: 1,
|
|
5397
5401
|
transform: "scale(1)"
|
|
5398
5402
|
}
|
|
5399
|
-
}),
|
|
5403
|
+
}), Zi = new S("backInDown", {
|
|
5400
5404
|
"0%": {
|
|
5401
5405
|
opacity: 0.7,
|
|
5402
5406
|
transform: "translateY(-1200px) scale(0.7)"
|
|
@@ -5409,7 +5413,7 @@ const {
|
|
|
5409
5413
|
opacity: 1,
|
|
5410
5414
|
transform: "scale(1)"
|
|
5411
5415
|
}
|
|
5412
|
-
}),
|
|
5416
|
+
}), Ji = new S("backOutLeft", {
|
|
5413
5417
|
"0%": {
|
|
5414
5418
|
opacity: 1,
|
|
5415
5419
|
transform: "scale(1)"
|
|
@@ -5422,7 +5426,7 @@ const {
|
|
|
5422
5426
|
opacity: 0.7,
|
|
5423
5427
|
transform: "translateX(-2000px) scale(0.7)"
|
|
5424
5428
|
}
|
|
5425
|
-
}),
|
|
5429
|
+
}), el = new S("backOutRight", {
|
|
5426
5430
|
"0%": {
|
|
5427
5431
|
opacity: 1,
|
|
5428
5432
|
transform: "scale(1)"
|
|
@@ -5435,7 +5439,7 @@ const {
|
|
|
5435
5439
|
opacity: 0.7,
|
|
5436
5440
|
transform: "translateX(2000px) scale(0.7)"
|
|
5437
5441
|
}
|
|
5438
|
-
}),
|
|
5442
|
+
}), tl = new S("backOutUp", {
|
|
5439
5443
|
"0%": {
|
|
5440
5444
|
opacity: 1,
|
|
5441
5445
|
transform: "scale(1)"
|
|
@@ -5448,7 +5452,7 @@ const {
|
|
|
5448
5452
|
opacity: 0.7,
|
|
5449
5453
|
transform: "translateY(-700px) scale(0.7)"
|
|
5450
5454
|
}
|
|
5451
|
-
}),
|
|
5455
|
+
}), nl = new S("backOutDown", {
|
|
5452
5456
|
"0%": {
|
|
5453
5457
|
opacity: 1,
|
|
5454
5458
|
transform: "scale(1)"
|
|
@@ -5461,41 +5465,41 @@ const {
|
|
|
5461
5465
|
opacity: 0.7,
|
|
5462
5466
|
transform: "translateY(700px) scale(0.7)"
|
|
5463
5467
|
}
|
|
5464
|
-
}),
|
|
5468
|
+
}), al = () => ({
|
|
5465
5469
|
"&.backInLeft": {
|
|
5466
5470
|
animationFillMode: "both",
|
|
5467
|
-
animationName:
|
|
5471
|
+
animationName: Yi
|
|
5468
5472
|
},
|
|
5469
5473
|
"&.backInRight": {
|
|
5470
5474
|
animationFillMode: "both",
|
|
5471
|
-
animationName:
|
|
5475
|
+
animationName: qi
|
|
5472
5476
|
},
|
|
5473
5477
|
"&.backInUp": {
|
|
5474
5478
|
animationFillMode: "both",
|
|
5475
|
-
animationName:
|
|
5479
|
+
animationName: Qi
|
|
5476
5480
|
},
|
|
5477
5481
|
"&.backInDown": {
|
|
5478
5482
|
animationFillMode: "both",
|
|
5479
|
-
animationName:
|
|
5483
|
+
animationName: Zi
|
|
5480
5484
|
}
|
|
5481
|
-
}),
|
|
5485
|
+
}), ol = () => ({
|
|
5482
5486
|
"&.backOutLeft": {
|
|
5483
5487
|
animationFillMode: "both",
|
|
5484
|
-
animationName:
|
|
5488
|
+
animationName: Ji
|
|
5485
5489
|
},
|
|
5486
5490
|
"&.backOutRight": {
|
|
5487
5491
|
animationFillMode: "both",
|
|
5488
|
-
animationName:
|
|
5492
|
+
animationName: el
|
|
5489
5493
|
},
|
|
5490
5494
|
"&.backOutUp": {
|
|
5491
5495
|
animationFillMode: "both",
|
|
5492
|
-
animationName:
|
|
5496
|
+
animationName: tl
|
|
5493
5497
|
},
|
|
5494
5498
|
"&.backOutDown": {
|
|
5495
5499
|
animationFillMode: "both",
|
|
5496
|
-
animationName:
|
|
5500
|
+
animationName: nl
|
|
5497
5501
|
}
|
|
5498
|
-
}),
|
|
5502
|
+
}), il = new S("bounceIn", {
|
|
5499
5503
|
"from,20%,40%,60%,80%,to": {
|
|
5500
5504
|
animationTimingFunction: "cubic-bezier(0.215, 0.61, 0.355, 1)"
|
|
5501
5505
|
},
|
|
@@ -5519,7 +5523,7 @@ const {
|
|
|
5519
5523
|
opacity: 1,
|
|
5520
5524
|
transform: "scale3d(1, 1, 1)"
|
|
5521
5525
|
}
|
|
5522
|
-
}),
|
|
5526
|
+
}), ll = new S("bounceInLeft", {
|
|
5523
5527
|
"from,60%,75%,90%,to": {
|
|
5524
5528
|
animationTimingFunction: "cubic-bezier(0.215, 0.61, 0.355, 1)"
|
|
5525
5529
|
},
|
|
@@ -5540,7 +5544,7 @@ const {
|
|
|
5540
5544
|
to: {
|
|
5541
5545
|
transform: "translate3d(0, 0, 0)"
|
|
5542
5546
|
}
|
|
5543
|
-
}),
|
|
5547
|
+
}), rl = new S("bounceInRight", {
|
|
5544
5548
|
"from,60%,75%,90%,to": {
|
|
5545
5549
|
animationTimingFunction: "cubic-bezier(0.215, 0.61, 0.355, 1)"
|
|
5546
5550
|
},
|
|
@@ -5561,7 +5565,7 @@ const {
|
|
|
5561
5565
|
to: {
|
|
5562
5566
|
transform: "translate3d(0, 0, 0)"
|
|
5563
5567
|
}
|
|
5564
|
-
}),
|
|
5568
|
+
}), sl = new S("bounceInDown", {
|
|
5565
5569
|
"from,60%,75%,90%,to": {
|
|
5566
5570
|
animationTimingFunction: "cubic-bezier(0.215, 0.61, 0.355, 1)"
|
|
5567
5571
|
},
|
|
@@ -5582,7 +5586,7 @@ const {
|
|
|
5582
5586
|
to: {
|
|
5583
5587
|
transform: "translate3d(0, 0, 0)"
|
|
5584
5588
|
}
|
|
5585
|
-
}),
|
|
5589
|
+
}), ul = new S("bounceInUp", {
|
|
5586
5590
|
"from,60%,75%,90%,to": {
|
|
5587
5591
|
animationTimingFunction: "cubic-bezier(0.215, 0.61, 0.355, 1)"
|
|
5588
5592
|
},
|
|
@@ -5603,7 +5607,7 @@ const {
|
|
|
5603
5607
|
to: {
|
|
5604
5608
|
transform: "translate3d(0, 0, 0)"
|
|
5605
5609
|
}
|
|
5606
|
-
}),
|
|
5610
|
+
}), cl = new S("bounceOut", {
|
|
5607
5611
|
"20%": {
|
|
5608
5612
|
transform: "scale3d(0.9, 0.9, 0.9)"
|
|
5609
5613
|
},
|
|
@@ -5617,7 +5621,7 @@ const {
|
|
|
5617
5621
|
opacity: 0,
|
|
5618
5622
|
transform: "scale3d(0.3, 0.3, 0.3)"
|
|
5619
5623
|
}
|
|
5620
|
-
}),
|
|
5624
|
+
}), dl = new S("bounceOutLeft", {
|
|
5621
5625
|
"20%": {
|
|
5622
5626
|
opacity: 1,
|
|
5623
5627
|
transform: "translate3d(20px, 0, 0) scaleX(0.9)"
|
|
@@ -5626,7 +5630,7 @@ const {
|
|
|
5626
5630
|
opacity: 0,
|
|
5627
5631
|
transform: "translate3d(-2000px, 0, 0) scaleX(2)"
|
|
5628
5632
|
}
|
|
5629
|
-
}),
|
|
5633
|
+
}), ml = new S("bounceOutRight", {
|
|
5630
5634
|
"20%": {
|
|
5631
5635
|
opacity: 1,
|
|
5632
5636
|
transform: "translate3d(-20px, 0, 0) scaleX(0.9)"
|
|
@@ -5635,7 +5639,7 @@ const {
|
|
|
5635
5639
|
opacity: 0,
|
|
5636
5640
|
transform: "translate3d(2000px, 0, 0) scaleX(2)"
|
|
5637
5641
|
}
|
|
5638
|
-
}),
|
|
5642
|
+
}), fl = new S("bounceOutDown", {
|
|
5639
5643
|
"20%": {
|
|
5640
5644
|
transform: "translate3d(0, 10px, 0) scaleY(0.985)"
|
|
5641
5645
|
},
|
|
@@ -5647,7 +5651,7 @@ const {
|
|
|
5647
5651
|
opacity: 0,
|
|
5648
5652
|
transform: "translate3d(0, 2000px, 0) scaleY(3)"
|
|
5649
5653
|
}
|
|
5650
|
-
}),
|
|
5654
|
+
}), hl = new S("bounceOutUp", {
|
|
5651
5655
|
"20%": {
|
|
5652
5656
|
transform: "translate3d(0, -10px, 0) scaleY(0.985)"
|
|
5653
5657
|
},
|
|
@@ -5659,58 +5663,58 @@ const {
|
|
|
5659
5663
|
opacity: 0,
|
|
5660
5664
|
transform: "translate3d(0, -2000px, 0) scaleY(3)"
|
|
5661
5665
|
}
|
|
5662
|
-
}),
|
|
5666
|
+
}), gl = () => ({
|
|
5663
5667
|
"&.bounceIn": {
|
|
5664
5668
|
animationFillMode: "both",
|
|
5665
5669
|
animationDuration: `${0.3 * 0.75}s !important`,
|
|
5666
|
-
animationName:
|
|
5670
|
+
animationName: il
|
|
5667
5671
|
},
|
|
5668
5672
|
"&.bounceInLeft": {
|
|
5669
5673
|
animationFillMode: "both",
|
|
5670
|
-
animationName:
|
|
5674
|
+
animationName: ll
|
|
5671
5675
|
},
|
|
5672
5676
|
"&.bounceInRight": {
|
|
5673
5677
|
animationFillMode: "both",
|
|
5674
|
-
animationName:
|
|
5678
|
+
animationName: rl
|
|
5675
5679
|
},
|
|
5676
5680
|
"&.bounceInDown": {
|
|
5677
5681
|
animationFillMode: "both",
|
|
5678
|
-
animationName:
|
|
5682
|
+
animationName: sl
|
|
5679
5683
|
},
|
|
5680
5684
|
"&.bounceInUp": {
|
|
5681
5685
|
animationFillMode: "both",
|
|
5682
|
-
animationName:
|
|
5686
|
+
animationName: ul
|
|
5683
5687
|
}
|
|
5684
|
-
}),
|
|
5688
|
+
}), yl = () => ({
|
|
5685
5689
|
"&.bounceOut": {
|
|
5686
5690
|
animationFillMode: "both",
|
|
5687
5691
|
animationDuration: `${0.3 * 0.75}s !important`,
|
|
5688
|
-
animationName:
|
|
5692
|
+
animationName: cl
|
|
5689
5693
|
},
|
|
5690
5694
|
"&.bounceOutLeft": {
|
|
5691
5695
|
animationFillMode: "both",
|
|
5692
|
-
animationName:
|
|
5696
|
+
animationName: dl
|
|
5693
5697
|
},
|
|
5694
5698
|
"&.bounceOutRight": {
|
|
5695
5699
|
animationFillMode: "both",
|
|
5696
|
-
animationName:
|
|
5700
|
+
animationName: ml
|
|
5697
5701
|
},
|
|
5698
5702
|
"&.bounceOutDown": {
|
|
5699
5703
|
animationFillMode: "both",
|
|
5700
|
-
animationName:
|
|
5704
|
+
animationName: fl
|
|
5701
5705
|
},
|
|
5702
5706
|
"&.bounceOutUp": {
|
|
5703
5707
|
animationFillMode: "both",
|
|
5704
|
-
animationName:
|
|
5708
|
+
animationName: hl
|
|
5705
5709
|
}
|
|
5706
|
-
}),
|
|
5710
|
+
}), bl = new S("fadeIn", {
|
|
5707
5711
|
from: {
|
|
5708
5712
|
opacity: 0
|
|
5709
5713
|
},
|
|
5710
5714
|
to: {
|
|
5711
5715
|
opacity: 1
|
|
5712
5716
|
}
|
|
5713
|
-
}),
|
|
5717
|
+
}), vl = new S("fadeInLeft", {
|
|
5714
5718
|
from: {
|
|
5715
5719
|
opacity: 0,
|
|
5716
5720
|
transform: "translate3d(-100%, 0, 0)"
|
|
@@ -5719,7 +5723,7 @@ const {
|
|
|
5719
5723
|
opacity: 1,
|
|
5720
5724
|
transform: "translate3d(0, 0, 0)"
|
|
5721
5725
|
}
|
|
5722
|
-
}),
|
|
5726
|
+
}), pl = new S("fadeInRight", {
|
|
5723
5727
|
from: {
|
|
5724
5728
|
opacity: 0,
|
|
5725
5729
|
transform: "translate3d(100%, 0, 0)"
|
|
@@ -5728,7 +5732,7 @@ const {
|
|
|
5728
5732
|
opacity: 1,
|
|
5729
5733
|
transform: "translate3d(0, 0, 0)"
|
|
5730
5734
|
}
|
|
5731
|
-
}),
|
|
5735
|
+
}), Cl = new S("fadeInDown", {
|
|
5732
5736
|
from: {
|
|
5733
5737
|
opacity: 0,
|
|
5734
5738
|
transform: "translate3d(0, -100%, 0)"
|
|
@@ -5737,7 +5741,7 @@ const {
|
|
|
5737
5741
|
opacity: 1,
|
|
5738
5742
|
transform: "translate3d(0, 0, 0)"
|
|
5739
5743
|
}
|
|
5740
|
-
}),
|
|
5744
|
+
}), xl = new S("fadeInUp", {
|
|
5741
5745
|
from: {
|
|
5742
5746
|
opacity: 0,
|
|
5743
5747
|
transform: "translate3d(0, 100%, 0)"
|
|
@@ -5746,7 +5750,7 @@ const {
|
|
|
5746
5750
|
opacity: 1,
|
|
5747
5751
|
transform: "translate3d(0, 0, 0)"
|
|
5748
5752
|
}
|
|
5749
|
-
}),
|
|
5753
|
+
}), Sl = new S("fadeInDownBig", {
|
|
5750
5754
|
from: {
|
|
5751
5755
|
opacity: 0,
|
|
5752
5756
|
transform: "translate3d(0, -2000px, 0)"
|
|
@@ -5755,7 +5759,7 @@ const {
|
|
|
5755
5759
|
opacity: 1,
|
|
5756
5760
|
transform: "translate3d(0, 0, 0)"
|
|
5757
5761
|
}
|
|
5758
|
-
}),
|
|
5762
|
+
}), Il = new S("fadeInUpBig", {
|
|
5759
5763
|
from: {
|
|
5760
5764
|
opacity: 0,
|
|
5761
5765
|
transform: "translate3d(0, 2000px, 0)"
|
|
@@ -5764,7 +5768,7 @@ const {
|
|
|
5764
5768
|
opacity: 1,
|
|
5765
5769
|
transform: "translate3d(0, 0, 0)"
|
|
5766
5770
|
}
|
|
5767
|
-
}),
|
|
5771
|
+
}), wl = new S("fadeInLeftBig", {
|
|
5768
5772
|
from: {
|
|
5769
5773
|
opacity: 0,
|
|
5770
5774
|
transform: "translate3d(-2000px, 0, 0)"
|
|
@@ -5773,7 +5777,7 @@ const {
|
|
|
5773
5777
|
opacity: 1,
|
|
5774
5778
|
transform: "translate3d(0, 0, 0)"
|
|
5775
5779
|
}
|
|
5776
|
-
}),
|
|
5780
|
+
}), Rl = new S("fadeInRightBig", {
|
|
5777
5781
|
from: {
|
|
5778
5782
|
opacity: 0,
|
|
5779
5783
|
transform: "translate3d(2000px, 0, 0)"
|
|
@@ -5782,7 +5786,7 @@ const {
|
|
|
5782
5786
|
opacity: 1,
|
|
5783
5787
|
transform: "translate3d(0, 0, 0)"
|
|
5784
5788
|
}
|
|
5785
|
-
}),
|
|
5789
|
+
}), $l = new S("fadeInTopLeft", {
|
|
5786
5790
|
from: {
|
|
5787
5791
|
opacity: 0,
|
|
5788
5792
|
transform: "translate3d(-100%, -100%, 0)"
|
|
@@ -5791,7 +5795,7 @@ const {
|
|
|
5791
5795
|
opacity: 1,
|
|
5792
5796
|
transform: "translate3d(0, 0, 0)"
|
|
5793
5797
|
}
|
|
5794
|
-
}),
|
|
5798
|
+
}), Bl = new S("fadeInBottomRight", {
|
|
5795
5799
|
from: {
|
|
5796
5800
|
opacity: 0,
|
|
5797
5801
|
transform: "translate3d(100%, 100%, 0)"
|
|
@@ -5800,7 +5804,7 @@ const {
|
|
|
5800
5804
|
opacity: 1,
|
|
5801
5805
|
transform: "translate3d(0, 0, 0)"
|
|
5802
5806
|
}
|
|
5803
|
-
}),
|
|
5807
|
+
}), Ml = new S("fadeInTopRight", {
|
|
5804
5808
|
from: {
|
|
5805
5809
|
opacity: 0,
|
|
5806
5810
|
transform: "translate3d(100%, -100%, 0)"
|
|
@@ -5809,7 +5813,7 @@ const {
|
|
|
5809
5813
|
opacity: 1,
|
|
5810
5814
|
transform: "translate3d(0, 0, 0)"
|
|
5811
5815
|
}
|
|
5812
|
-
}),
|
|
5816
|
+
}), Ll = new S("fadeInBottomLeft", {
|
|
5813
5817
|
from: {
|
|
5814
5818
|
opacity: 0,
|
|
5815
5819
|
transform: "translate3d(-100%, 100%, 0)"
|
|
@@ -5818,14 +5822,14 @@ const {
|
|
|
5818
5822
|
opacity: 1,
|
|
5819
5823
|
transform: "translate3d(0, 0, 0)"
|
|
5820
5824
|
}
|
|
5821
|
-
}),
|
|
5825
|
+
}), Ol = new S("fadeOut", {
|
|
5822
5826
|
from: {
|
|
5823
5827
|
opacity: 1
|
|
5824
5828
|
},
|
|
5825
5829
|
to: {
|
|
5826
5830
|
opacity: 0
|
|
5827
5831
|
}
|
|
5828
|
-
}),
|
|
5832
|
+
}), Fl = new S("fadeOutLeft", {
|
|
5829
5833
|
from: {
|
|
5830
5834
|
opacity: 1
|
|
5831
5835
|
},
|
|
@@ -5833,7 +5837,7 @@ const {
|
|
|
5833
5837
|
opacity: 0,
|
|
5834
5838
|
transform: "translate3d(-100%, 0, 0)"
|
|
5835
5839
|
}
|
|
5836
|
-
}),
|
|
5840
|
+
}), kl = new S("fadeOutRight", {
|
|
5837
5841
|
from: {
|
|
5838
5842
|
opacity: 1
|
|
5839
5843
|
},
|
|
@@ -5841,7 +5845,7 @@ const {
|
|
|
5841
5845
|
opacity: 0,
|
|
5842
5846
|
transform: "translate3d(100%, 0, 0)"
|
|
5843
5847
|
}
|
|
5844
|
-
}),
|
|
5848
|
+
}), Pl = new S("fadeOutDown", {
|
|
5845
5849
|
from: {
|
|
5846
5850
|
opacity: 1
|
|
5847
5851
|
},
|
|
@@ -5849,7 +5853,7 @@ const {
|
|
|
5849
5853
|
opacity: 0,
|
|
5850
5854
|
transform: "translate3d(0, 100%, 0)"
|
|
5851
5855
|
}
|
|
5852
|
-
}),
|
|
5856
|
+
}), Tl = new S("fadeOutUp", {
|
|
5853
5857
|
from: {
|
|
5854
5858
|
opacity: 1
|
|
5855
5859
|
},
|
|
@@ -5857,7 +5861,7 @@ const {
|
|
|
5857
5861
|
opacity: 0,
|
|
5858
5862
|
transform: "translate3d(0, -100%, 0)"
|
|
5859
5863
|
}
|
|
5860
|
-
}),
|
|
5864
|
+
}), Nl = new S("fadeOutDownBig", {
|
|
5861
5865
|
from: {
|
|
5862
5866
|
opacity: 1
|
|
5863
5867
|
},
|
|
@@ -5865,7 +5869,7 @@ const {
|
|
|
5865
5869
|
opacity: 0,
|
|
5866
5870
|
transform: "translate3d(0, 2000px, 0)"
|
|
5867
5871
|
}
|
|
5868
|
-
}),
|
|
5872
|
+
}), zl = new S("fadeOutUpBig", {
|
|
5869
5873
|
from: {
|
|
5870
5874
|
opacity: 1
|
|
5871
5875
|
},
|
|
@@ -5873,7 +5877,7 @@ const {
|
|
|
5873
5877
|
opacity: 0,
|
|
5874
5878
|
transform: "translate3d(0, -2000px, 0)"
|
|
5875
5879
|
}
|
|
5876
|
-
}),
|
|
5880
|
+
}), Dl = new S("fadeOutLeftBig", {
|
|
5877
5881
|
from: {
|
|
5878
5882
|
opacity: 1
|
|
5879
5883
|
},
|
|
@@ -5881,7 +5885,7 @@ const {
|
|
|
5881
5885
|
opacity: 0,
|
|
5882
5886
|
transform: "translate3d(-2000px, 0, 0)"
|
|
5883
5887
|
}
|
|
5884
|
-
}),
|
|
5888
|
+
}), Al = new S("fadeOutRightBig", {
|
|
5885
5889
|
from: {
|
|
5886
5890
|
opacity: 1
|
|
5887
5891
|
},
|
|
@@ -5889,7 +5893,7 @@ const {
|
|
|
5889
5893
|
opacity: 0,
|
|
5890
5894
|
transform: "translate3d(2000px, 0, 0)"
|
|
5891
5895
|
}
|
|
5892
|
-
}),
|
|
5896
|
+
}), Hl = new S("fadeOutTopLeft", {
|
|
5893
5897
|
from: {
|
|
5894
5898
|
opacity: 1,
|
|
5895
5899
|
transform: "translate3d(0, 0, 0)"
|
|
@@ -5898,7 +5902,7 @@ const {
|
|
|
5898
5902
|
opacity: 0,
|
|
5899
5903
|
transform: "translate3d(-100%, -100%, 0)"
|
|
5900
5904
|
}
|
|
5901
|
-
}),
|
|
5905
|
+
}), jl = new S("fadeOutBottomRight", {
|
|
5902
5906
|
from: {
|
|
5903
5907
|
opacity: 1,
|
|
5904
5908
|
transform: "translate3d(0, 0, 0)"
|
|
@@ -5907,7 +5911,7 @@ const {
|
|
|
5907
5911
|
opacity: 0,
|
|
5908
5912
|
transform: "translate3d(100%, 100%, 0)"
|
|
5909
5913
|
}
|
|
5910
|
-
}),
|
|
5914
|
+
}), El = new S("fadeOutTopRight", {
|
|
5911
5915
|
from: {
|
|
5912
5916
|
opacity: 1,
|
|
5913
5917
|
transform: "translate3d(0, 0, 0)"
|
|
@@ -5916,7 +5920,7 @@ const {
|
|
|
5916
5920
|
opacity: 0,
|
|
5917
5921
|
transform: "translate3d(100%, -100%, 0)"
|
|
5918
5922
|
}
|
|
5919
|
-
}),
|
|
5923
|
+
}), Kl = new S("fadeOutBottomLeft", {
|
|
5920
5924
|
from: {
|
|
5921
5925
|
opacity: 1,
|
|
5922
5926
|
transform: "translate3d(0, 0, 0)"
|
|
@@ -5925,113 +5929,113 @@ const {
|
|
|
5925
5929
|
opacity: 0,
|
|
5926
5930
|
transform: "translate3d(-100%, 100%, 0)"
|
|
5927
5931
|
}
|
|
5928
|
-
}),
|
|
5932
|
+
}), Wl = () => ({
|
|
5929
5933
|
"&.fadeIn": {
|
|
5930
5934
|
animationFillMode: "both",
|
|
5931
|
-
animationName:
|
|
5935
|
+
animationName: bl
|
|
5932
5936
|
},
|
|
5933
5937
|
"&.fadeInLeft": {
|
|
5934
5938
|
animationFillMode: "both",
|
|
5935
|
-
animationName:
|
|
5939
|
+
animationName: vl
|
|
5936
5940
|
},
|
|
5937
5941
|
"&.fadeInRight": {
|
|
5938
5942
|
animationFillMode: "both",
|
|
5939
|
-
animationName:
|
|
5943
|
+
animationName: pl
|
|
5940
5944
|
},
|
|
5941
5945
|
"&.fadeInDown": {
|
|
5942
5946
|
animationFillMode: "both",
|
|
5943
|
-
animationName:
|
|
5947
|
+
animationName: Cl
|
|
5944
5948
|
},
|
|
5945
5949
|
"&.fadeInUp": {
|
|
5946
5950
|
animationFillMode: "both",
|
|
5947
|
-
animationName:
|
|
5951
|
+
animationName: xl
|
|
5948
5952
|
},
|
|
5949
5953
|
"&.fadeInLeftBig": {
|
|
5950
5954
|
animationFillMode: "both",
|
|
5951
|
-
animationName:
|
|
5955
|
+
animationName: wl
|
|
5952
5956
|
},
|
|
5953
5957
|
"&.fadeInRightBig": {
|
|
5954
5958
|
animationFillMode: "both",
|
|
5955
|
-
animationName:
|
|
5959
|
+
animationName: Rl
|
|
5956
5960
|
},
|
|
5957
5961
|
"&.fadeInUpBig": {
|
|
5958
5962
|
animationFillMode: "both",
|
|
5959
|
-
animationName:
|
|
5963
|
+
animationName: Il
|
|
5960
5964
|
},
|
|
5961
5965
|
"&.fadeInDownBig": {
|
|
5962
5966
|
animationFillMode: "both",
|
|
5963
|
-
animationName:
|
|
5967
|
+
animationName: Sl
|
|
5964
5968
|
},
|
|
5965
5969
|
"&.fadeInTopLeft": {
|
|
5966
5970
|
animationFillMode: "both",
|
|
5967
|
-
animationName:
|
|
5971
|
+
animationName: $l
|
|
5968
5972
|
},
|
|
5969
5973
|
"&.fadeInBottomRight": {
|
|
5970
5974
|
animationFillMode: "both",
|
|
5971
|
-
animationName:
|
|
5975
|
+
animationName: Bl
|
|
5972
5976
|
},
|
|
5973
5977
|
"&.fadeInTopRight": {
|
|
5974
5978
|
animationFillMode: "both",
|
|
5975
|
-
animationName:
|
|
5979
|
+
animationName: Ml
|
|
5976
5980
|
},
|
|
5977
5981
|
"&.fadeInBottomLeft": {
|
|
5978
5982
|
animationFillMode: "both",
|
|
5979
|
-
animationName:
|
|
5983
|
+
animationName: Ll
|
|
5980
5984
|
}
|
|
5981
|
-
}),
|
|
5985
|
+
}), Ul = () => ({
|
|
5982
5986
|
"&.fadeOut": {
|
|
5983
5987
|
animationFillMode: "both",
|
|
5984
|
-
animationName:
|
|
5988
|
+
animationName: Ol
|
|
5985
5989
|
},
|
|
5986
5990
|
"&.fadeOutLeft": {
|
|
5987
5991
|
animationFillMode: "both",
|
|
5988
|
-
animationName:
|
|
5992
|
+
animationName: Fl
|
|
5989
5993
|
},
|
|
5990
5994
|
"&.fadeOutRight": {
|
|
5991
5995
|
animationFillMode: "both",
|
|
5992
|
-
animationName:
|
|
5996
|
+
animationName: kl
|
|
5993
5997
|
},
|
|
5994
5998
|
"&.fadeOutDown": {
|
|
5995
5999
|
animationFillMode: "both",
|
|
5996
|
-
animationName:
|
|
6000
|
+
animationName: Pl
|
|
5997
6001
|
},
|
|
5998
6002
|
"&.fadeOutUp": {
|
|
5999
6003
|
animationFillMode: "both",
|
|
6000
|
-
animationName:
|
|
6004
|
+
animationName: Tl
|
|
6001
6005
|
},
|
|
6002
6006
|
"&.fadeOutDownBig": {
|
|
6003
6007
|
animationFillMode: "both",
|
|
6004
|
-
animationName:
|
|
6008
|
+
animationName: Nl
|
|
6005
6009
|
},
|
|
6006
6010
|
"&.fadeOutUpBig": {
|
|
6007
6011
|
animationFillMode: "both",
|
|
6008
|
-
animationName:
|
|
6012
|
+
animationName: zl
|
|
6009
6013
|
},
|
|
6010
6014
|
"&.fadeOutLeftBig": {
|
|
6011
6015
|
animationFillMode: "both",
|
|
6012
|
-
animationName:
|
|
6016
|
+
animationName: Dl
|
|
6013
6017
|
},
|
|
6014
6018
|
"&.fadeOutRightBig": {
|
|
6015
6019
|
animationFillMode: "both",
|
|
6016
|
-
animationName:
|
|
6020
|
+
animationName: Al
|
|
6017
6021
|
},
|
|
6018
6022
|
"&.fadeOutTopLeft": {
|
|
6019
6023
|
animationFillMode: "both",
|
|
6020
|
-
animationName:
|
|
6024
|
+
animationName: Hl
|
|
6021
6025
|
},
|
|
6022
6026
|
"&.fadeOutBottomRight": {
|
|
6023
6027
|
animationFillMode: "both",
|
|
6024
|
-
animationName:
|
|
6028
|
+
animationName: jl
|
|
6025
6029
|
},
|
|
6026
6030
|
"&.fadeOutTopRight": {
|
|
6027
6031
|
animationFillMode: "both",
|
|
6028
|
-
animationName:
|
|
6032
|
+
animationName: El
|
|
6029
6033
|
},
|
|
6030
6034
|
"&.fadeOutBottomLeft": {
|
|
6031
6035
|
animationFillMode: "both",
|
|
6032
|
-
animationName:
|
|
6036
|
+
animationName: Kl
|
|
6033
6037
|
}
|
|
6034
|
-
}),
|
|
6038
|
+
}), _l = new S("flipInX", {
|
|
6035
6039
|
from: {
|
|
6036
6040
|
opacity: 0,
|
|
6037
6041
|
animationTimingFunction: "ease-in",
|
|
@@ -6051,7 +6055,7 @@ const {
|
|
|
6051
6055
|
to: {
|
|
6052
6056
|
transform: "perspective(400px)"
|
|
6053
6057
|
}
|
|
6054
|
-
}),
|
|
6058
|
+
}), Xl = new S("flipInY", {
|
|
6055
6059
|
from: {
|
|
6056
6060
|
opacity: 0,
|
|
6057
6061
|
animationTimingFunction: "ease-in",
|
|
@@ -6071,7 +6075,7 @@ const {
|
|
|
6071
6075
|
to: {
|
|
6072
6076
|
transform: "perspective(400px)"
|
|
6073
6077
|
}
|
|
6074
|
-
}),
|
|
6078
|
+
}), Vl = new S("flipOutX", {
|
|
6075
6079
|
from: {
|
|
6076
6080
|
transform: "perspective(400px)"
|
|
6077
6081
|
},
|
|
@@ -6083,7 +6087,7 @@ const {
|
|
|
6083
6087
|
opacity: 0,
|
|
6084
6088
|
transform: "perspective(400px) rotate3d(1, 0, 0, 90deg)"
|
|
6085
6089
|
}
|
|
6086
|
-
}),
|
|
6090
|
+
}), Gl = new S("flipOutY", {
|
|
6087
6091
|
from: {
|
|
6088
6092
|
transform: "perspective(400px)"
|
|
6089
6093
|
},
|
|
@@ -6095,31 +6099,31 @@ const {
|
|
|
6095
6099
|
opacity: 0,
|
|
6096
6100
|
transform: "perspective(400px) rotate3d(0, 1, 0, 90deg)"
|
|
6097
6101
|
}
|
|
6098
|
-
}),
|
|
6102
|
+
}), Yl = () => ({
|
|
6099
6103
|
"&.flipInX": {
|
|
6100
6104
|
animationFillMode: "both",
|
|
6101
6105
|
backfaceVisibility: "visible !important",
|
|
6102
|
-
animationName:
|
|
6106
|
+
animationName: _l
|
|
6103
6107
|
},
|
|
6104
6108
|
"&.flipInY": {
|
|
6105
6109
|
animationFillMode: "both",
|
|
6106
6110
|
backfaceVisibility: "visible !important",
|
|
6107
|
-
animationName:
|
|
6111
|
+
animationName: Xl
|
|
6108
6112
|
}
|
|
6109
|
-
}),
|
|
6113
|
+
}), ql = () => ({
|
|
6110
6114
|
"&.flipOutX": {
|
|
6111
6115
|
animationFillMode: "both",
|
|
6112
6116
|
backfaceVisibility: "visible !important",
|
|
6113
6117
|
animationDuration: `${0.3 * 0.75}s !important`,
|
|
6114
|
-
animationName:
|
|
6118
|
+
animationName: Vl
|
|
6115
6119
|
},
|
|
6116
6120
|
"&.flipOutY": {
|
|
6117
6121
|
animationFillMode: "both",
|
|
6118
6122
|
backfaceVisibility: "visible !important",
|
|
6119
6123
|
animationDuration: `${0.3 * 0.75}s !important`,
|
|
6120
|
-
animationName:
|
|
6124
|
+
animationName: Gl
|
|
6121
6125
|
}
|
|
6122
|
-
}),
|
|
6126
|
+
}), Ql = new S("lightSpeedInLeft", {
|
|
6123
6127
|
from: {
|
|
6124
6128
|
opacity: 0,
|
|
6125
6129
|
transform: "translate3d(-100%, 0, 0) skewX(30deg)"
|
|
@@ -6134,7 +6138,7 @@ const {
|
|
|
6134
6138
|
to: {
|
|
6135
6139
|
transform: "translate3d(0, 0, 0)"
|
|
6136
6140
|
}
|
|
6137
|
-
}),
|
|
6141
|
+
}), Zl = new S("lightSpeedInRight", {
|
|
6138
6142
|
from: {
|
|
6139
6143
|
opacity: 0,
|
|
6140
6144
|
transform: "translate3d(100%, 0, 0) skewX(-30deg)"
|
|
@@ -6149,7 +6153,7 @@ const {
|
|
|
6149
6153
|
to: {
|
|
6150
6154
|
transform: "translate3d(0, 0, 0)"
|
|
6151
6155
|
}
|
|
6152
|
-
}),
|
|
6156
|
+
}), Jl = new S("lightSpeedOutLeft", {
|
|
6153
6157
|
from: {
|
|
6154
6158
|
opacity: 1
|
|
6155
6159
|
},
|
|
@@ -6157,7 +6161,7 @@ const {
|
|
|
6157
6161
|
opacity: 0,
|
|
6158
6162
|
transform: "translate3d(-100%, 0, 0) skewX(-30deg)"
|
|
6159
6163
|
}
|
|
6160
|
-
}),
|
|
6164
|
+
}), er = new S("lightSpeedOutRight", {
|
|
6161
6165
|
from: {
|
|
6162
6166
|
opacity: 1
|
|
6163
6167
|
},
|
|
@@ -6165,29 +6169,29 @@ const {
|
|
|
6165
6169
|
opacity: 0,
|
|
6166
6170
|
transform: "translate3d(100%, 0, 0) skewX(30deg)"
|
|
6167
6171
|
}
|
|
6168
|
-
}),
|
|
6172
|
+
}), tr = () => ({
|
|
6169
6173
|
"&.lightSpeedInLeft": {
|
|
6170
6174
|
animationFillMode: "both",
|
|
6171
6175
|
animationTimingFunction: "ease-out",
|
|
6172
|
-
animationName:
|
|
6176
|
+
animationName: Ql
|
|
6173
6177
|
},
|
|
6174
6178
|
"&.lightSpeedInRight": {
|
|
6175
6179
|
animationFillMode: "both",
|
|
6176
6180
|
animationTimingFunction: "ease-out",
|
|
6177
|
-
animationName:
|
|
6181
|
+
animationName: Zl
|
|
6178
6182
|
}
|
|
6179
|
-
}),
|
|
6183
|
+
}), nr = () => ({
|
|
6180
6184
|
"&.lightSpeedOutLeft": {
|
|
6181
6185
|
animationFillMode: "both",
|
|
6182
6186
|
animationTimingFunction: "ease-in",
|
|
6183
|
-
animationName:
|
|
6187
|
+
animationName: Jl
|
|
6184
6188
|
},
|
|
6185
6189
|
"&.lightSpeedOutRight": {
|
|
6186
6190
|
animationFillMode: "both",
|
|
6187
6191
|
animationTimingFunction: "ease-in",
|
|
6188
|
-
animationName:
|
|
6192
|
+
animationName: er
|
|
6189
6193
|
}
|
|
6190
|
-
}),
|
|
6194
|
+
}), ar = new S("rotateIn", {
|
|
6191
6195
|
from: {
|
|
6192
6196
|
opacity: 0,
|
|
6193
6197
|
transform: "rotate3d(0, 0, 1, -200deg)"
|
|
@@ -6196,7 +6200,7 @@ const {
|
|
|
6196
6200
|
opacity: 1,
|
|
6197
6201
|
transform: "translate3d(0, 0, 0)"
|
|
6198
6202
|
}
|
|
6199
|
-
}),
|
|
6203
|
+
}), or = new S("rotateInDownLeft", {
|
|
6200
6204
|
from: {
|
|
6201
6205
|
opacity: 0,
|
|
6202
6206
|
transform: "rotate3d(0, 0, 1, -45deg)"
|
|
@@ -6205,7 +6209,7 @@ const {
|
|
|
6205
6209
|
opacity: 1,
|
|
6206
6210
|
transform: "translate3d(0, 0, 0)"
|
|
6207
6211
|
}
|
|
6208
|
-
}),
|
|
6212
|
+
}), ir = new S("rotateInDownRight", {
|
|
6209
6213
|
from: {
|
|
6210
6214
|
opacity: 0,
|
|
6211
6215
|
transform: "rotate3d(0, 0, 1, 45deg)"
|
|
@@ -6214,7 +6218,7 @@ const {
|
|
|
6214
6218
|
opacity: 1,
|
|
6215
6219
|
transform: "translate3d(0, 0, 0)"
|
|
6216
6220
|
}
|
|
6217
|
-
}),
|
|
6221
|
+
}), lr = new S("rotateInUpLeft", {
|
|
6218
6222
|
from: {
|
|
6219
6223
|
opacity: 0,
|
|
6220
6224
|
transform: "rotate3d(0, 0, 1, 45deg)"
|
|
@@ -6223,7 +6227,7 @@ const {
|
|
|
6223
6227
|
opacity: 1,
|
|
6224
6228
|
transform: "translate3d(0, 0, 0)"
|
|
6225
6229
|
}
|
|
6226
|
-
}),
|
|
6230
|
+
}), rr = new S("rotateInUpRight", {
|
|
6227
6231
|
from: {
|
|
6228
6232
|
opacity: 0,
|
|
6229
6233
|
transform: "rotate3d(0, 0, 1, -90deg)"
|
|
@@ -6232,7 +6236,7 @@ const {
|
|
|
6232
6236
|
opacity: 1,
|
|
6233
6237
|
transform: "translate3d(0, 0, 0)"
|
|
6234
6238
|
}
|
|
6235
|
-
}),
|
|
6239
|
+
}), sr = new S("rotateOut", {
|
|
6236
6240
|
from: {
|
|
6237
6241
|
opacity: 1
|
|
6238
6242
|
},
|
|
@@ -6240,7 +6244,7 @@ const {
|
|
|
6240
6244
|
opacity: 0,
|
|
6241
6245
|
transform: "rotate3d(0, 0, 1, 200deg)"
|
|
6242
6246
|
}
|
|
6243
|
-
}),
|
|
6247
|
+
}), ur = new S("rotateOutDownLeft", {
|
|
6244
6248
|
from: {
|
|
6245
6249
|
opacity: 1
|
|
6246
6250
|
},
|
|
@@ -6248,7 +6252,7 @@ const {
|
|
|
6248
6252
|
opacity: 0,
|
|
6249
6253
|
transform: "rotate3d(0, 0, 1, 45deg)"
|
|
6250
6254
|
}
|
|
6251
|
-
}),
|
|
6255
|
+
}), cr = new S("rotateOutDownRight", {
|
|
6252
6256
|
from: {
|
|
6253
6257
|
opacity: 1
|
|
6254
6258
|
},
|
|
@@ -6256,7 +6260,7 @@ const {
|
|
|
6256
6260
|
opacity: 0,
|
|
6257
6261
|
transform: "rotate3d(0, 0, 1, -45deg)"
|
|
6258
6262
|
}
|
|
6259
|
-
}),
|
|
6263
|
+
}), dr = new S("rotateOutUpLeft", {
|
|
6260
6264
|
from: {
|
|
6261
6265
|
opacity: 1
|
|
6262
6266
|
},
|
|
@@ -6264,7 +6268,7 @@ const {
|
|
|
6264
6268
|
opacity: 0,
|
|
6265
6269
|
transform: "rotate3d(0, 0, 1, -45deg)"
|
|
6266
6270
|
}
|
|
6267
|
-
}),
|
|
6271
|
+
}), mr = new S("rotateOutUpRight", {
|
|
6268
6272
|
from: {
|
|
6269
6273
|
opacity: 1
|
|
6270
6274
|
},
|
|
@@ -6272,59 +6276,59 @@ const {
|
|
|
6272
6276
|
opacity: 0,
|
|
6273
6277
|
transform: "rotate3d(0, 0, 1, 90deg)"
|
|
6274
6278
|
}
|
|
6275
|
-
}),
|
|
6279
|
+
}), fr = () => ({
|
|
6276
6280
|
"&.rotateIn": {
|
|
6277
6281
|
animationFillMode: "both",
|
|
6278
6282
|
transformOrigin: "center",
|
|
6279
|
-
animationName:
|
|
6283
|
+
animationName: ar
|
|
6280
6284
|
},
|
|
6281
6285
|
"&.rotateInDownLeft": {
|
|
6282
6286
|
animationFillMode: "both",
|
|
6283
6287
|
transformOrigin: "left bottom",
|
|
6284
|
-
animationName:
|
|
6288
|
+
animationName: or
|
|
6285
6289
|
},
|
|
6286
6290
|
"&.rotateInDownRight": {
|
|
6287
6291
|
animationFillMode: "both",
|
|
6288
6292
|
transformOrigin: "right bottom",
|
|
6289
|
-
animationName:
|
|
6293
|
+
animationName: ir
|
|
6290
6294
|
},
|
|
6291
6295
|
"&.rotateInUpLeft": {
|
|
6292
6296
|
animationFillMode: "both",
|
|
6293
6297
|
transformOrigin: "left bottom",
|
|
6294
|
-
animationName:
|
|
6298
|
+
animationName: lr
|
|
6295
6299
|
},
|
|
6296
6300
|
"&.rotateInUpRight": {
|
|
6297
6301
|
animationFillMode: "both",
|
|
6298
6302
|
transformOrigin: "right bottom",
|
|
6299
|
-
animationName:
|
|
6303
|
+
animationName: rr
|
|
6300
6304
|
}
|
|
6301
|
-
}),
|
|
6305
|
+
}), hr = () => ({
|
|
6302
6306
|
"&.rotateOut": {
|
|
6303
6307
|
animationFillMode: "both",
|
|
6304
6308
|
transformOrigin: "center",
|
|
6305
|
-
animationName:
|
|
6309
|
+
animationName: sr
|
|
6306
6310
|
},
|
|
6307
6311
|
"&.rotateOutDownLeft": {
|
|
6308
6312
|
animationFillMode: "both",
|
|
6309
6313
|
transformOrigin: "left bottom",
|
|
6310
|
-
animationName:
|
|
6314
|
+
animationName: ur
|
|
6311
6315
|
},
|
|
6312
6316
|
"&.rotateOutDownRight": {
|
|
6313
6317
|
animationFillMode: "both",
|
|
6314
6318
|
transformOrigin: "right bottom",
|
|
6315
|
-
animationName:
|
|
6319
|
+
animationName: cr
|
|
6316
6320
|
},
|
|
6317
6321
|
"&.rotateOutUpLeft": {
|
|
6318
6322
|
animationFillMode: "both",
|
|
6319
6323
|
transformOrigin: "left bottom",
|
|
6320
|
-
animationName:
|
|
6324
|
+
animationName: dr
|
|
6321
6325
|
},
|
|
6322
6326
|
"&.rotateOutUpRight": {
|
|
6323
6327
|
animationFillMode: "both",
|
|
6324
6328
|
transformOrigin: "right bottom",
|
|
6325
|
-
animationName:
|
|
6329
|
+
animationName: mr
|
|
6326
6330
|
}
|
|
6327
|
-
}),
|
|
6331
|
+
}), gr = new S("rollIn", {
|
|
6328
6332
|
from: {
|
|
6329
6333
|
opacity: 0,
|
|
6330
6334
|
transform: "translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg)"
|
|
@@ -6333,7 +6337,7 @@ const {
|
|
|
6333
6337
|
opacity: 1,
|
|
6334
6338
|
transform: "translate3d(0, 0, 0)"
|
|
6335
6339
|
}
|
|
6336
|
-
}),
|
|
6340
|
+
}), yr = new S("rollOut", {
|
|
6337
6341
|
from: {
|
|
6338
6342
|
opacity: 1
|
|
6339
6343
|
},
|
|
@@ -6341,17 +6345,17 @@ const {
|
|
|
6341
6345
|
opacity: 0,
|
|
6342
6346
|
transform: "translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg)"
|
|
6343
6347
|
}
|
|
6344
|
-
}),
|
|
6348
|
+
}), br = () => ({
|
|
6345
6349
|
"&.rollIn": {
|
|
6346
6350
|
animationFillMode: "both",
|
|
6347
|
-
animationName:
|
|
6351
|
+
animationName: gr
|
|
6348
6352
|
}
|
|
6349
|
-
}),
|
|
6353
|
+
}), vr = () => ({
|
|
6350
6354
|
"&.rollOut": {
|
|
6351
6355
|
animationFillMode: "both",
|
|
6352
|
-
animationName:
|
|
6356
|
+
animationName: yr
|
|
6353
6357
|
}
|
|
6354
|
-
}),
|
|
6358
|
+
}), pr = new S("zoomIn", {
|
|
6355
6359
|
from: {
|
|
6356
6360
|
opacity: 0,
|
|
6357
6361
|
transform: "scale3d(0.3, 0.3, 0.3)"
|
|
@@ -6359,7 +6363,7 @@ const {
|
|
|
6359
6363
|
"50%": {
|
|
6360
6364
|
opacity: 1
|
|
6361
6365
|
}
|
|
6362
|
-
}),
|
|
6366
|
+
}), Cr = new S("zoomInDown", {
|
|
6363
6367
|
from: {
|
|
6364
6368
|
opacity: 0,
|
|
6365
6369
|
transform: "scale3d(0.1, 0.1, 0.1) translate3d(0, -1000px, 0)",
|
|
@@ -6370,7 +6374,7 @@ const {
|
|
|
6370
6374
|
transform: "scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0)",
|
|
6371
6375
|
animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
|
|
6372
6376
|
}
|
|
6373
|
-
}),
|
|
6377
|
+
}), xr = new S("zoomInLeft", {
|
|
6374
6378
|
from: {
|
|
6375
6379
|
opacity: 0,
|
|
6376
6380
|
transform: "scale3d(0.1, 0.1, 0.1) translate3d(-1000px, 0, 0)",
|
|
@@ -6381,7 +6385,7 @@ const {
|
|
|
6381
6385
|
transform: "scale3d(0.475, 0.475, 0.475) translate3d(10px, 0, 0)",
|
|
6382
6386
|
animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
|
|
6383
6387
|
}
|
|
6384
|
-
}),
|
|
6388
|
+
}), Sr = new S("zoomInRight", {
|
|
6385
6389
|
from: {
|
|
6386
6390
|
opacity: 0,
|
|
6387
6391
|
transform: "scale3d(0.1, 0.1, 0.1) translate3d(1000px, 0, 0)",
|
|
@@ -6392,7 +6396,7 @@ const {
|
|
|
6392
6396
|
transform: "scale3d(0.475, 0.475, 0.475) translate3d(-10px, 0, 0)",
|
|
6393
6397
|
animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
|
|
6394
6398
|
}
|
|
6395
|
-
}),
|
|
6399
|
+
}), Ir = new S("zoomInUp", {
|
|
6396
6400
|
from: {
|
|
6397
6401
|
opacity: 0,
|
|
6398
6402
|
transform: "scale3d(0.1, 0.1, 0.1) translate3d(0, 1000px, 0)",
|
|
@@ -6403,7 +6407,7 @@ const {
|
|
|
6403
6407
|
transform: "scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0)",
|
|
6404
6408
|
animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
|
|
6405
6409
|
}
|
|
6406
|
-
}),
|
|
6410
|
+
}), wr = new S("zoomOut", {
|
|
6407
6411
|
from: {
|
|
6408
6412
|
opacity: 1
|
|
6409
6413
|
},
|
|
@@ -6414,7 +6418,7 @@ const {
|
|
|
6414
6418
|
to: {
|
|
6415
6419
|
opacity: 0
|
|
6416
6420
|
}
|
|
6417
|
-
}),
|
|
6421
|
+
}), Rr = new S("zoomOutDown", {
|
|
6418
6422
|
"40%": {
|
|
6419
6423
|
opacity: 1,
|
|
6420
6424
|
transform: "scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0)",
|
|
@@ -6425,7 +6429,7 @@ const {
|
|
|
6425
6429
|
transform: "scale3d(0.1, 0.1, 0.1) translate3d(0, 2000px, 0)",
|
|
6426
6430
|
animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
|
|
6427
6431
|
}
|
|
6428
|
-
}),
|
|
6432
|
+
}), $r = new S("zoomOutLeft", {
|
|
6429
6433
|
"40%": {
|
|
6430
6434
|
opacity: 1,
|
|
6431
6435
|
transform: "scale3d(0.475, 0.475, 0.475) translate3d(42px, 0, 0)"
|
|
@@ -6434,7 +6438,7 @@ const {
|
|
|
6434
6438
|
opacity: 0,
|
|
6435
6439
|
transform: "scale(0.1) translate3d(-2000px, 0, 0)"
|
|
6436
6440
|
}
|
|
6437
|
-
}),
|
|
6441
|
+
}), Br = new S("zoomOutRight", {
|
|
6438
6442
|
"40%": {
|
|
6439
6443
|
opacity: 1,
|
|
6440
6444
|
transform: "scale3d(0.475, 0.475, 0.475) translate3d(-42px, 0, 0)"
|
|
@@ -6443,7 +6447,7 @@ const {
|
|
|
6443
6447
|
opacity: 0,
|
|
6444
6448
|
transform: "scale(0.1) translate3d(2000px, 0, 0)"
|
|
6445
6449
|
}
|
|
6446
|
-
}),
|
|
6450
|
+
}), Mr = new S("zoomOutUp", {
|
|
6447
6451
|
"40%": {
|
|
6448
6452
|
opacity: 1,
|
|
6449
6453
|
transform: "scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0)",
|
|
@@ -6454,53 +6458,53 @@ const {
|
|
|
6454
6458
|
transform: "scale3d(0.1, 0.1, 0.1) translate3d(0, -2000px, 0)",
|
|
6455
6459
|
animationTimingFunction: "cubic-bezier(0.175, 0.885, 0.32, 1)"
|
|
6456
6460
|
}
|
|
6457
|
-
}),
|
|
6461
|
+
}), Lr = () => ({
|
|
6458
6462
|
"&.zoomIn": {
|
|
6459
6463
|
animationFillMode: "both",
|
|
6460
|
-
animationName:
|
|
6464
|
+
animationName: pr
|
|
6461
6465
|
},
|
|
6462
6466
|
"&.zoomInDown": {
|
|
6463
6467
|
animationFillMode: "both",
|
|
6464
|
-
animationName:
|
|
6468
|
+
animationName: Cr
|
|
6465
6469
|
},
|
|
6466
6470
|
"&.zoomInLeft": {
|
|
6467
6471
|
animationFillMode: "both",
|
|
6468
|
-
animationName:
|
|
6472
|
+
animationName: xr
|
|
6469
6473
|
},
|
|
6470
6474
|
"&.zoomInRight": {
|
|
6471
6475
|
animationFillMode: "both",
|
|
6472
|
-
animationName:
|
|
6476
|
+
animationName: Sr
|
|
6473
6477
|
},
|
|
6474
6478
|
"&.zoomInUp": {
|
|
6475
6479
|
animationFillMode: "both",
|
|
6476
|
-
animationName:
|
|
6480
|
+
animationName: Ir
|
|
6477
6481
|
}
|
|
6478
|
-
}),
|
|
6482
|
+
}), Or = () => ({
|
|
6479
6483
|
"&.zoomOut": {
|
|
6480
6484
|
animationFillMode: "both",
|
|
6481
|
-
animationName:
|
|
6485
|
+
animationName: wr
|
|
6482
6486
|
},
|
|
6483
6487
|
"&.zoomOutDown": {
|
|
6484
6488
|
animationFillMode: "both",
|
|
6485
6489
|
transformOrigin: "center bottom",
|
|
6486
|
-
animationName:
|
|
6490
|
+
animationName: Rr
|
|
6487
6491
|
},
|
|
6488
6492
|
"&.zoomOutLeft": {
|
|
6489
6493
|
animationFillMode: "both",
|
|
6490
6494
|
transformOrigin: "left center",
|
|
6491
|
-
animationName:
|
|
6495
|
+
animationName: $r
|
|
6492
6496
|
},
|
|
6493
6497
|
"&.zoomOutRight": {
|
|
6494
6498
|
animationFillMode: "both",
|
|
6495
6499
|
transformOrigin: "right center",
|
|
6496
|
-
animationName:
|
|
6500
|
+
animationName: Br
|
|
6497
6501
|
},
|
|
6498
6502
|
"&.zoomOutUp": {
|
|
6499
6503
|
animationFillMode: "both",
|
|
6500
6504
|
transformOrigin: "center bottom",
|
|
6501
|
-
animationName:
|
|
6505
|
+
animationName: Mr
|
|
6502
6506
|
}
|
|
6503
|
-
}),
|
|
6507
|
+
}), Fr = new S("slideInDown", {
|
|
6504
6508
|
from: {
|
|
6505
6509
|
transform: "translate3d(0, -100%, 0)",
|
|
6506
6510
|
visibility: "visible"
|
|
@@ -6508,7 +6512,7 @@ const {
|
|
|
6508
6512
|
to: {
|
|
6509
6513
|
transform: "translate3d(0, 0, 0)"
|
|
6510
6514
|
}
|
|
6511
|
-
}),
|
|
6515
|
+
}), kr = new S("slideInLeft", {
|
|
6512
6516
|
from: {
|
|
6513
6517
|
transform: "translate3d(-100%, 0, 0)",
|
|
6514
6518
|
visibility: "visible"
|
|
@@ -6516,7 +6520,7 @@ const {
|
|
|
6516
6520
|
to: {
|
|
6517
6521
|
transform: "translate3d(0, 0, 0)"
|
|
6518
6522
|
}
|
|
6519
|
-
}),
|
|
6523
|
+
}), Pr = new S("slideInRight", {
|
|
6520
6524
|
from: {
|
|
6521
6525
|
transform: "translate3d(100%, 0, 0)",
|
|
6522
6526
|
visibility: "visible"
|
|
@@ -6524,7 +6528,7 @@ const {
|
|
|
6524
6528
|
to: {
|
|
6525
6529
|
transform: "translate3d(0, 0, 0)"
|
|
6526
6530
|
}
|
|
6527
|
-
}),
|
|
6531
|
+
}), Tr = new S("slideInUp", {
|
|
6528
6532
|
from: {
|
|
6529
6533
|
transform: "translate3d(0, 100%, 0)",
|
|
6530
6534
|
visibility: "visible"
|
|
@@ -6532,7 +6536,7 @@ const {
|
|
|
6532
6536
|
to: {
|
|
6533
6537
|
transform: "translate3d(0, 0, 0)"
|
|
6534
6538
|
}
|
|
6535
|
-
}),
|
|
6539
|
+
}), Nr = new S("slideOutDown", {
|
|
6536
6540
|
from: {
|
|
6537
6541
|
transform: "translate3d(0, 0, 0)"
|
|
6538
6542
|
},
|
|
@@ -6540,7 +6544,7 @@ const {
|
|
|
6540
6544
|
transform: "translate3d(0, 100%, 0)",
|
|
6541
6545
|
visibility: "hidden"
|
|
6542
6546
|
}
|
|
6543
|
-
}),
|
|
6547
|
+
}), zr = new S("slideOutLeft", {
|
|
6544
6548
|
from: {
|
|
6545
6549
|
transform: "translate3d(0, 0, 0)"
|
|
6546
6550
|
},
|
|
@@ -6548,7 +6552,7 @@ const {
|
|
|
6548
6552
|
transform: "translate3d(-100%, 0, 0)",
|
|
6549
6553
|
visibility: "hidden"
|
|
6550
6554
|
}
|
|
6551
|
-
}),
|
|
6555
|
+
}), Dr = new S("slideOutRight", {
|
|
6552
6556
|
from: {
|
|
6553
6557
|
transform: "translate3d(0, 0, 0)"
|
|
6554
6558
|
},
|
|
@@ -6556,7 +6560,7 @@ const {
|
|
|
6556
6560
|
transform: "translate3d(100%, 0, 0)",
|
|
6557
6561
|
visibility: "hidden"
|
|
6558
6562
|
}
|
|
6559
|
-
}),
|
|
6563
|
+
}), Ar = new S("slideOutUp", {
|
|
6560
6564
|
from: {
|
|
6561
6565
|
transform: "translate3d(0, 0, 0)"
|
|
6562
6566
|
},
|
|
@@ -6564,57 +6568,43 @@ const {
|
|
|
6564
6568
|
transform: "translate3d(0, -100%, 0)",
|
|
6565
6569
|
visibility: "hidden"
|
|
6566
6570
|
}
|
|
6567
|
-
}),
|
|
6571
|
+
}), Hr = () => ({
|
|
6568
6572
|
"&.slideInDown": {
|
|
6569
6573
|
animationFillMode: "both",
|
|
6570
|
-
animationName:
|
|
6574
|
+
animationName: Fr
|
|
6571
6575
|
},
|
|
6572
6576
|
"&.slideInLeft": {
|
|
6573
6577
|
animationFillMode: "both",
|
|
6574
|
-
animationName:
|
|
6578
|
+
animationName: kr
|
|
6575
6579
|
},
|
|
6576
6580
|
"&.slideInRight": {
|
|
6577
6581
|
animationFillMode: "both",
|
|
6578
|
-
animationName:
|
|
6582
|
+
animationName: Pr
|
|
6579
6583
|
},
|
|
6580
6584
|
"&.slideInUp": {
|
|
6581
6585
|
animationFillMode: "both",
|
|
6582
|
-
animationName:
|
|
6586
|
+
animationName: Tr
|
|
6583
6587
|
}
|
|
6584
|
-
}),
|
|
6588
|
+
}), jr = () => ({
|
|
6585
6589
|
"&.slideOutDown": {
|
|
6586
6590
|
animationFillMode: "both",
|
|
6587
|
-
animationName:
|
|
6591
|
+
animationName: Nr
|
|
6588
6592
|
},
|
|
6589
6593
|
"&.slideOutLeft": {
|
|
6590
6594
|
animationFillMode: "both",
|
|
6591
|
-
animationName:
|
|
6595
|
+
animationName: zr
|
|
6592
6596
|
},
|
|
6593
6597
|
"&.slideOutRight": {
|
|
6594
6598
|
animationFillMode: "both",
|
|
6595
|
-
animationName:
|
|
6599
|
+
animationName: Dr
|
|
6596
6600
|
},
|
|
6597
6601
|
"&.slideOutUp": {
|
|
6598
6602
|
animationFillMode: "both",
|
|
6599
|
-
animationName:
|
|
6603
|
+
animationName: Ar
|
|
6600
6604
|
}
|
|
6601
|
-
}),
|
|
6605
|
+
}), Er = (e) => ({
|
|
6602
6606
|
[e.componentCls]: {
|
|
6603
6607
|
"&-enter": {
|
|
6604
|
-
background: "transparent",
|
|
6605
|
-
animationDuration: ".3s !important",
|
|
6606
|
-
...nl(),
|
|
6607
|
-
...hl(),
|
|
6608
|
-
...Kl(),
|
|
6609
|
-
...Gl(),
|
|
6610
|
-
...er(),
|
|
6611
|
-
...mr(),
|
|
6612
|
-
...yr(),
|
|
6613
|
-
...Mr(),
|
|
6614
|
-
...Ar()
|
|
6615
|
-
},
|
|
6616
|
-
"&-leave": {
|
|
6617
|
-
display: "none",
|
|
6618
6608
|
background: "transparent",
|
|
6619
6609
|
animationDuration: ".3s !important",
|
|
6620
6610
|
...al(),
|
|
@@ -6626,16 +6616,30 @@ const {
|
|
|
6626
6616
|
...br(),
|
|
6627
6617
|
...Lr(),
|
|
6628
6618
|
...Hr()
|
|
6619
|
+
},
|
|
6620
|
+
"&-leave": {
|
|
6621
|
+
display: "none",
|
|
6622
|
+
background: "transparent",
|
|
6623
|
+
animationDuration: ".3s !important",
|
|
6624
|
+
...ol(),
|
|
6625
|
+
...yl(),
|
|
6626
|
+
...Ul(),
|
|
6627
|
+
...ql(),
|
|
6628
|
+
...nr(),
|
|
6629
|
+
...hr(),
|
|
6630
|
+
...vr(),
|
|
6631
|
+
...Or(),
|
|
6632
|
+
...jr()
|
|
6629
6633
|
}
|
|
6630
6634
|
}
|
|
6631
6635
|
});
|
|
6632
|
-
function
|
|
6636
|
+
function Kr(e) {
|
|
6633
6637
|
return Fe("LayoutPageTranstion", (t) => {
|
|
6634
6638
|
const a = je(t);
|
|
6635
|
-
return [
|
|
6639
|
+
return [Er(a)];
|
|
6636
6640
|
}, e);
|
|
6637
6641
|
}
|
|
6638
|
-
const
|
|
6642
|
+
const bs = /* @__PURE__ */ K({
|
|
6639
6643
|
name: "PageTranstion",
|
|
6640
6644
|
props: {
|
|
6641
6645
|
disabled: {
|
|
@@ -6661,7 +6665,7 @@ const ys = /* @__PURE__ */ K({
|
|
|
6661
6665
|
}), {
|
|
6662
6666
|
wrapSSR: o,
|
|
6663
6667
|
hashId: i
|
|
6664
|
-
} =
|
|
6668
|
+
} = Kr(a), l = (h, g) => {
|
|
6665
6669
|
if (h.length === 0 || h === "x" || h === "y")
|
|
6666
6670
|
return h;
|
|
6667
6671
|
let u = g.indexOf(h);
|
|
@@ -6677,7 +6681,7 @@ const ys = /* @__PURE__ */ K({
|
|
|
6677
6681
|
}, r = R(() => [s(!1), `${a}-enter`, i.value].join(" ")), f = R(() => [s(!0), `${a}-leave`, i.value].join(" "));
|
|
6678
6682
|
return () => {
|
|
6679
6683
|
var h;
|
|
6680
|
-
return e.disabled ? (h = t.default) == null ? void 0 : h.call(t) : o(n(
|
|
6684
|
+
return e.disabled ? (h = t.default) == null ? void 0 : h.call(t) : o(n(Qn, {
|
|
6681
6685
|
enterActiveClass: r.value,
|
|
6682
6686
|
leaveActiveClass: f.value
|
|
6683
6687
|
}, {
|
|
@@ -6694,7 +6698,7 @@ const ys = /* @__PURE__ */ K({
|
|
|
6694
6698
|
default: void 0
|
|
6695
6699
|
},
|
|
6696
6700
|
onItemClick: Function
|
|
6697
|
-
},
|
|
6701
|
+
}, Wr = (e, t) => {
|
|
6698
6702
|
if (e && typeof e == "string" && Bt(e))
|
|
6699
6703
|
return n("img", {
|
|
6700
6704
|
src: e,
|
|
@@ -6713,7 +6717,7 @@ const ys = /* @__PURE__ */ K({
|
|
|
6713
6717
|
}, [a]);
|
|
6714
6718
|
}
|
|
6715
6719
|
return e;
|
|
6716
|
-
},
|
|
6720
|
+
}, _n = /* @__PURE__ */ K({
|
|
6717
6721
|
props: {
|
|
6718
6722
|
hashId: String,
|
|
6719
6723
|
baseClassName: String,
|
|
@@ -6734,7 +6738,7 @@ const ys = /* @__PURE__ */ K({
|
|
|
6734
6738
|
class: `${e.baseClassName}-content-list-item-group ${e.hashId}`.trim()
|
|
6735
6739
|
}, [n("div", {
|
|
6736
6740
|
class: `${e.baseClassName}-content-list-item-group-title ${e.hashId}`.trim()
|
|
6737
|
-
}, [a.title]), n(
|
|
6741
|
+
}, [a.title]), n(_n, {
|
|
6738
6742
|
hashId: e.hashId,
|
|
6739
6743
|
onItemClick: e.onItemClick,
|
|
6740
6744
|
appList: a == null ? void 0 : a.children,
|
|
@@ -6750,11 +6754,11 @@ const ys = /* @__PURE__ */ K({
|
|
|
6750
6754
|
href: e.onItemClick ? "javascript:;" : a.url,
|
|
6751
6755
|
target: a.target,
|
|
6752
6756
|
rel: "noreferrer"
|
|
6753
|
-
}, [
|
|
6757
|
+
}, [Wr(a.icon, a.title), n("div", null, [n("div", null, [a.title])])])]);
|
|
6754
6758
|
})])]);
|
|
6755
6759
|
};
|
|
6756
6760
|
}
|
|
6757
|
-
}),
|
|
6761
|
+
}), Xn = /* @__PURE__ */ K({
|
|
6758
6762
|
props: {
|
|
6759
6763
|
hashId: String,
|
|
6760
6764
|
baseClassName: String,
|
|
@@ -6775,7 +6779,7 @@ const ys = /* @__PURE__ */ K({
|
|
|
6775
6779
|
class: `${e.baseClassName}-content-list-item-group ${e.hashId}`.trim()
|
|
6776
6780
|
}, [n("div", {
|
|
6777
6781
|
class: `${e.baseClassName}-content-list-item-group-title ${e.hashId}`.trim()
|
|
6778
|
-
}, [a.title]), n(
|
|
6782
|
+
}, [a.title]), n(Xn, {
|
|
6779
6783
|
hashId: e.hashId,
|
|
6780
6784
|
onItemClick: e.onItemClick,
|
|
6781
6785
|
appList: a == null ? void 0 : a.children,
|
|
@@ -6791,13 +6795,13 @@ const ys = /* @__PURE__ */ K({
|
|
|
6791
6795
|
href: e.onItemClick ? void 0 : a.url,
|
|
6792
6796
|
target: a.target,
|
|
6793
6797
|
rel: "noreferrer"
|
|
6794
|
-
}, [n(
|
|
6798
|
+
}, [n(Fo, {
|
|
6795
6799
|
logo: a.icon
|
|
6796
6800
|
}, null), n("div", null, [n("div", null, [a.title]), a.desc ? n("span", null, [a.desc]) : null])])]);
|
|
6797
6801
|
})])]);
|
|
6798
6802
|
};
|
|
6799
6803
|
}
|
|
6800
|
-
}),
|
|
6804
|
+
}), vs = /* @__PURE__ */ K({
|
|
6801
6805
|
props: Ge,
|
|
6802
6806
|
emits: ["itemClick"],
|
|
6803
6807
|
setup(e) {
|
|
@@ -6807,18 +6811,18 @@ const ys = /* @__PURE__ */ K({
|
|
|
6807
6811
|
}), {
|
|
6808
6812
|
wrapSSR: a,
|
|
6809
6813
|
hashId: o
|
|
6810
|
-
} = ge("AppsLogoList", [
|
|
6814
|
+
} = ge("AppsLogoList", [Lo], t), i = (l) => {
|
|
6811
6815
|
var s;
|
|
6812
6816
|
(s = e.onItemClick) == null || s.call(e, l);
|
|
6813
6817
|
};
|
|
6814
6818
|
return () => {
|
|
6815
6819
|
var s;
|
|
6816
|
-
return ((s = e.appList) == null ? void 0 : s.some((r) => !(r != null && r.desc))) ? a(n(
|
|
6820
|
+
return ((s = e.appList) == null ? void 0 : s.some((r) => !(r != null && r.desc))) ? a(n(_n, {
|
|
6817
6821
|
hashId: o.value,
|
|
6818
6822
|
appList: e.appList,
|
|
6819
6823
|
onItemClick: e.onItemClick ? i : void 0,
|
|
6820
6824
|
baseClassName: `${t}-simple`
|
|
6821
|
-
}, null)) : a(n(
|
|
6825
|
+
}, null)) : a(n(Xn, {
|
|
6822
6826
|
hashId: o.value,
|
|
6823
6827
|
appList: e.appList,
|
|
6824
6828
|
onItemClick: e.onItemClick ? i : void 0,
|
|
@@ -6828,36 +6832,36 @@ const ys = /* @__PURE__ */ K({
|
|
|
6828
6832
|
}
|
|
6829
6833
|
});
|
|
6830
6834
|
export {
|
|
6831
|
-
|
|
6832
|
-
|
|
6833
|
-
|
|
6834
|
-
|
|
6835
|
-
|
|
6836
|
-
|
|
6837
|
-
|
|
6838
|
-
|
|
6839
|
-
|
|
6840
|
-
|
|
6841
|
-
|
|
6842
|
-
|
|
6843
|
-
|
|
6835
|
+
vs as AppsLogoList,
|
|
6836
|
+
Rn as BaseMenu,
|
|
6837
|
+
ni as DefaultHeader,
|
|
6838
|
+
cs as GProLayout,
|
|
6839
|
+
_t as GlobalFooter,
|
|
6840
|
+
fs as PageContainer,
|
|
6841
|
+
ds as PageLock,
|
|
6842
|
+
bs as PageTranstion,
|
|
6843
|
+
gs as ProAppPage,
|
|
6844
|
+
ms as RightContent,
|
|
6845
|
+
xi as SearchPageInput,
|
|
6846
|
+
ys as SettingDrawer,
|
|
6847
|
+
qt as SiderMenuWrapper,
|
|
6844
6848
|
Tt as animateSeting,
|
|
6845
6849
|
ct as baseMenuProps,
|
|
6846
|
-
|
|
6847
|
-
|
|
6848
|
-
|
|
6849
|
-
|
|
6850
|
-
|
|
6851
|
-
|
|
6852
|
-
|
|
6853
|
-
|
|
6854
|
-
|
|
6855
|
-
|
|
6856
|
-
|
|
6857
|
-
|
|
6850
|
+
Yo as checkThemeStatus,
|
|
6851
|
+
jo as clearMenuItem,
|
|
6852
|
+
Pn as coverToNewToken,
|
|
6853
|
+
ro as defaultContextKey,
|
|
6854
|
+
Wo as filterTree,
|
|
6855
|
+
Fn as findLastKey,
|
|
6856
|
+
Eo as flatMap,
|
|
6857
|
+
On as getLastPath,
|
|
6858
|
+
kn as getMatchedList,
|
|
6859
|
+
Ho as getMenuData,
|
|
6860
|
+
Ko as getMenuFirstChildren,
|
|
6861
|
+
Go as handleThemeConfig,
|
|
6858
6862
|
Pt as hanlePathKey,
|
|
6859
|
-
|
|
6860
|
-
|
|
6861
|
-
|
|
6863
|
+
so as provideProLayoutContext,
|
|
6864
|
+
qo as removeDuplicatesByName,
|
|
6865
|
+
hs as useLayoutMenu,
|
|
6862
6866
|
re as useProLayoutContext
|
|
6863
6867
|
};
|