@gx-design-vue/pro-layout 0.1.0-beta.86 → 0.1.0-beta.87

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.
@@ -1,15 +1,15 @@
1
- import { createVNode as n, defineComponent as K, createTextVNode as X, toRefs as tt, ref as fe, reactive as pe, watch as ae, computed as I, unref as ue, Fragment as J, withDirectives as Un, vShow as _n, isVNode as Le, mergeProps as te, resolveComponent as Zt, nextTick as xt, watchEffect as Xn, onMounted as St, isRef as Nt, h as Vn, Transition as Gn } from "vue";
1
+ import { createVNode as n, defineComponent as K, createTextVNode as X, toRefs as nt, ref as fe, reactive as pe, watch as ae, computed as I, unref as ue, Fragment as J, withDirectives as Un, vShow as _n, isVNode as Le, mergeProps as te, resolveComponent as Zt, nextTick as xt, watchEffect as Xn, onMounted as St, isRef as Nt, h as Vn, Transition as Gn } from "vue";
2
2
  import { pick as le, cloneDeep as Ie, omit as Se } from "lodash-es";
3
- import { LayoutFooter as Yn, Tabs as It, Menu as ge, Dropdown as ht, Popover as qn, Badge as Qn, ConfigProvider as wt, Spin as Rt, Layout as We, Drawer as Qe, Avatar as Jt, Form as zt, Input as en, Button as Ze, Empty as Dt, MenuItem as At, Breadcrumb as Zn, Card as Jn, Tooltip as nt, List as Be, Switch as tn, TabPane as ea, Select as Ye, message as ta, Segmented as na, Divider as ut, Alert as aa } from "ant-design-vue";
4
- import { useLocalStorage as at, useColorMode as oa, useStyleTag as ia, useMagicKeys as nn, whenever as gt, useThrottleFn as la, onKeyStroke as ct, useFullscreen as ra, useDebounceFn as sa, useClipboard as ua } from "@vueuse/core";
3
+ import { LayoutFooter as Yn, Tabs as It, Menu as ge, Dropdown as ht, Popover as qn, Badge as Qn, ConfigProvider as wt, Spin as Rt, Layout as Ue, Drawer as Ze, Avatar as Jt, Form as zt, Input as en, Button as Je, Empty as Dt, MenuItem as At, Breadcrumb as Zn, Card as Jn, Tooltip as at, List as Be, Switch as tn, TabPane as ea, Select as qe, message as ta, Segmented as na, Divider as ct, Alert as aa } from "ant-design-vue";
4
+ import { useLocalStorage as ot, useColorMode as oa, useStyleTag as ia, useMagicKeys as nn, whenever as gt, useThrottleFn as la, onKeyStroke as dt, useFullscreen as ra, useDebounceFn as sa, useClipboard as ua } from "@vueuse/core";
5
5
  import { useState as Ce, useMemo as yt, useMergedState as De, useMediaQuery as an } from "@gx-design-vue/pro-hooks";
6
- import { getPrefixCls as ie, arrayRepeat as ca, classNames as V, isBoolean as oe, merge as ve, isNumber as Ue, isUrl as $t, isImg as da, isArray as Bt, convertValueBoolean as Pe, isObject as ma, isString as fa, getLevelData as Mt, deepCopy as ha, getRandomNumber as bt, getSlot as se, getSlotVNode as ke, getSlotsProps as on, isWindowsOs as ga, isDeepEqualReact as ya, isBrowser as ba } from "@gx-design-vue/pro-utils";
7
- import va, { themeConfig as Z, useContext as ln, useProStyle as he, useStyle as Oe, mergeToken as je, getTokenLayoutTheme as ye, resetComponent as pa, Keyframe as S, checkMenuDark as ot, calcUnit as dt, getDefaultLayoutToken as it, useProConfigContext as Fe, unit as Ae, getLayoutTheme as rn, useProForm as Ca, setAlpha as xa, defaultSystemTheme as Sa, defaultLayout as Ia, colorList as wa } from "@gx-design-vue/pro-provider";
6
+ import { getPrefixCls as ie, arrayRepeat as ca, classNames as V, isBoolean as oe, merge as ve, isNumber as _e, isUrl as $t, isImg as da, isArray as Bt, convertValueBoolean as Pe, isObject as ma, isString as fa, getLevelData as Mt, deepCopy as ha, getRandomNumber as bt, getSlot as se, getSlotVNode as ke, getSlotsProps as on, isWindowsOs as ga, isDeepEqualReact as ya, isBrowser as ba } from "@gx-design-vue/pro-utils";
7
+ import va, { themeConfig as Z, useContext as ln, useProStyle as he, useStyle as Oe, mergeToken as je, getTokenLayoutTheme as ye, resetComponent as pa, Keyframe as S, checkMenuDark as it, calcUnit as Ee, getDefaultLayoutToken as lt, useProConfigContext as Fe, unit as Ae, getLayoutTheme as rn, useProForm as Ca, setAlpha as xa, defaultSystemTheme as Sa, defaultLayout as Ia, colorList as wa } from "@gx-design-vue/pro-provider";
8
8
  import { createTypes as Ra } from "vue-types";
9
9
  import "ant-design-vue/es/spin";
10
10
  import $e from "dayjs";
11
- import { GithubOutlined as $a, CloseOutlined as lt, FullscreenExitOutlined as sn, FullscreenOutlined as un, ReloadOutlined as vt, ExportOutlined as Ba, VerticalRightOutlined as Ma, VerticalLeftOutlined as La, VerticalAlignMiddleOutlined as Oa, SwapOutlined as Fa, DownOutlined as ka, AppstoreOutlined as Pa, createFromIconfontCN as Ta, ArrowLeftOutlined as Na, MenuUnfoldOutlined as za, MenuFoldOutlined as Da, UserOutlined as cn, LockOutlined as dn, MenuOutlined as Aa, ArrowRightOutlined as Ha, SearchOutlined as Ht, EnterOutlined as ja, ArrowUpOutlined as jt, CompressOutlined as Ea, ExpandOutlined as Ka, SettingOutlined as mn, LogoutOutlined as Wa, DesktopOutlined as Ua, CheckOutlined as fn, NotificationOutlined as _a, CopyOutlined as Xa, ClearOutlined as Va } from "@ant-design/icons-vue";
12
- import { useRouter as Ge, RouterLink as Ga } from "vue-router";
11
+ import { GithubOutlined as $a, CloseOutlined as rt, FullscreenExitOutlined as sn, FullscreenOutlined as un, ReloadOutlined as vt, ExportOutlined as Ba, VerticalRightOutlined as Ma, VerticalLeftOutlined as La, VerticalAlignMiddleOutlined as Oa, SwapOutlined as Fa, DownOutlined as ka, AppstoreOutlined as Pa, createFromIconfontCN as Ta, ArrowLeftOutlined as Na, MenuUnfoldOutlined as za, MenuFoldOutlined as Da, UserOutlined as cn, LockOutlined as dn, MenuOutlined as Aa, ArrowRightOutlined as Ha, SearchOutlined as Ht, EnterOutlined as ja, ArrowUpOutlined as jt, CompressOutlined as Ea, ExpandOutlined as Ka, SettingOutlined as mn, LogoutOutlined as Wa, DesktopOutlined as Ua, CheckOutlined as fn, NotificationOutlined as _a, CopyOutlined as Xa, ClearOutlined as Va } from "@ant-design/icons-vue";
12
+ import { useRouter as Ye, RouterLink as Ga } from "vue-router";
13
13
  import { getAlphaColor as Me } from "ant-design-vue/es/theme/themes/dark/colorAlgorithm";
14
14
  import { useProAppContext as hn, proAppProps as Ya, proAppSlots as qa, GProApp as Qa } from "@gx-design-vue/pro-app";
15
15
  import Za, { GProModal as Ja } from "@gx-design-vue/pro-modal";
@@ -103,7 +103,7 @@ const Te = {
103
103
  type: String,
104
104
  default: Z.primaryColor
105
105
  }
106
- }, rt = {
106
+ }, st = {
107
107
  logo: {
108
108
  type: [Object, String, Function],
109
109
  default: () => {
@@ -122,8 +122,8 @@ const Te = {
122
122
  onLogoClick: Function
123
123
  }, no = {
124
124
  ...le(Te, ["title", "layout"]),
125
- ...rt
126
- }, st = {
125
+ ...st
126
+ }, ut = {
127
127
  ...Te,
128
128
  mode: {
129
129
  type: String,
@@ -168,8 +168,8 @@ const Te = {
168
168
  }
169
169
  }, ce = {
170
170
  ...Te,
171
+ ...ut,
171
172
  ...st,
172
- ...rt,
173
173
  menuLoading: q.looseBool,
174
174
  suppressSiderWhenMenuEmpty: {
175
175
  type: Boolean,
@@ -232,8 +232,8 @@ const Te = {
232
232
  }
233
233
  }, yn = {
234
234
  ...Te,
235
+ ...ut,
235
236
  ...st,
236
- ...rt,
237
237
  menuLoading: Boolean,
238
238
  autoHideHeader: Boolean,
239
239
  isMobile: Boolean,
@@ -288,7 +288,7 @@ const Te = {
288
288
  }, pt = {
289
289
  loading: q.looseBool,
290
290
  isMobile: ce.isMobile,
291
- collapsed: st.collapsed,
291
+ collapsed: ut.collapsed,
292
292
  siderWidth: ce.siderWidth,
293
293
  collapsedWidth: ce.collapsedWidth,
294
294
  fixedTabsBar: Te.fixedTabsBar,
@@ -423,7 +423,7 @@ const Te = {
423
423
  default: () => {
424
424
  }
425
425
  }
426
- }, Je = {
426
+ }, et = {
427
427
  pageChildrenExtraRender: {
428
428
  type: [Object, Function, Boolean],
429
429
  default: () => {
@@ -461,7 +461,7 @@ const Te = {
461
461
  ...ce,
462
462
  ...bn,
463
463
  ...le(pt, ["onTabsChange", "onReloadPage", "onUpdate:tabs"]),
464
- contentWidth: Je.contentWidth,
464
+ contentWidth: et.contentWidth,
465
465
  pageContainerProps: {
466
466
  type: Object
467
467
  },
@@ -686,7 +686,7 @@ function go(e) {
686
686
  return [ho(a)];
687
687
  }, e);
688
688
  }
689
- const _e = /* @__PURE__ */ K({
689
+ const Xe = /* @__PURE__ */ K({
690
690
  name: "GIcon",
691
691
  props: {
692
692
  name: String,
@@ -722,13 +722,13 @@ const _e = /* @__PURE__ */ K({
722
722
  }), yo = [{
723
723
  key: "fixed",
724
724
  label: "置顶",
725
- icon: (e) => n(_e, {
725
+ icon: (e) => n(Xe, {
726
726
  name: e ? "unpinned" : "fixed"
727
727
  }, null)
728
728
  }, {
729
729
  key: "close",
730
730
  label: "关闭",
731
- icon: n(lt, null, null)
731
+ icon: n(rt, null, null)
732
732
  }, {
733
733
  key: "fullScreen",
734
734
  icon: (e) => e ? n(sn, null, null) : n(un, null, null)
@@ -785,10 +785,10 @@ const xo = /* @__PURE__ */ K({
785
785
  isMobile: t,
786
786
  fixedTabsBar: a,
787
787
  storageTabsBar: o
788
- } = tt(e), i = fe(!1), l = pe({
788
+ } = nt(e), i = fe(!1), l = pe({
789
789
  activeKey: "",
790
790
  contextMenuActiveKey: ""
791
- }), s = Ge(), {
791
+ }), s = Ye(), {
792
792
  contentFullScreen: r,
793
793
  levelMenuData: m,
794
794
  flatMenuData: g,
@@ -801,7 +801,7 @@ const xo = /* @__PURE__ */ K({
801
801
  }), {
802
802
  wrapSSR: c,
803
803
  hashId: x
804
- } = fo(b), v = at(b, {
804
+ } = fo(b), v = ot(b, {
805
805
  fixed: [],
806
806
  normal: []
807
807
  }), u = pe({
@@ -943,10 +943,10 @@ const xo = /* @__PURE__ */ K({
943
943
  u.normal = u.normal.filter((A) => _(A) === U(M) || k(A)), ee(M);
944
944
  break;
945
945
  case "closeLeftTabs":
946
- Ue(N) && (u.normal = u.normal.filter((A, de) => de >= N || k(A))), ee(M);
946
+ _e(N) && (u.normal = u.normal.filter((A, de) => de >= N || k(A))), ee(M);
947
947
  break;
948
948
  case "closeRightTabs":
949
- Ue(N) && (u.normal = u.normal.filter((A, de) => de <= N || k(A))), ee(M);
949
+ _e(N) && (u.normal = u.normal.filter((A, de) => de <= N || k(A))), ee(M);
950
950
  break;
951
951
  case "closeAllTabs":
952
952
  u.normal = u.normal.filter((A) => k(A)), me();
@@ -1026,10 +1026,10 @@ const xo = /* @__PURE__ */ K({
1026
1026
  onClick: (D) => {
1027
1027
  D.stopPropagation(), !i.value && T();
1028
1028
  }
1029
- }, null), (Y = C.meta) == null ? void 0 : Y.title, N && n(_e, {
1029
+ }, null), (Y = C.meta) == null ? void 0 : Y.title, N && n(Xe, {
1030
1030
  class: [`${b}-icon`, x.value],
1031
1031
  name: "fixed"
1032
- }, null), p.value.length > 1 && !k(C) && n(lt, {
1032
+ }, null), p.value.length > 1 && !k(C) && n(rt, {
1033
1033
  class: [`${b}-close-btn`, x.value],
1034
1034
  onClick: (D) => {
1035
1035
  D.stopPropagation(), !i.value && O(_(C) || "");
@@ -1460,7 +1460,7 @@ const So = (e) => {
1460
1460
  function mt(e) {
1461
1461
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Le(e);
1462
1462
  }
1463
- const et = (e) => {
1463
+ const tt = (e) => {
1464
1464
  const {
1465
1465
  icon: t,
1466
1466
  iconFont: a,
@@ -1489,17 +1489,17 @@ const et = (e) => {
1489
1489
  if (Le(t))
1490
1490
  return t;
1491
1491
  const i = Zt(t);
1492
- return typeof et == "function" && n(i, null, null) || null;
1492
+ return typeof tt == "function" && n(i, null, null) || null;
1493
1493
  }, In = /* @__PURE__ */ K({
1494
1494
  name: "BaseMenu",
1495
1495
  props: {
1496
- ...Se(st, "onSelect"),
1496
+ ...Se(ut, "onSelect"),
1497
1497
  onSelect: {
1498
1498
  type: Function
1499
1499
  }
1500
1500
  },
1501
1501
  setup(e) {
1502
- const t = Ge(), {
1502
+ const t = Ye(), {
1503
1503
  getPrefixCls: a
1504
1504
  } = re(), o = a({
1505
1505
  suffixCls: "menu-item",
@@ -1540,7 +1540,7 @@ const et = (e) => {
1540
1540
  onClick: () => m(v, p)
1541
1541
  }), mt(x = h(v, !f)) ? x : {
1542
1542
  default: () => [x]
1543
- }), z = f && n(et, {
1543
+ }), z = f && n(tt, {
1544
1544
  className: o,
1545
1545
  icon: ($ = c.meta) == null ? void 0 : $.icon,
1546
1546
  iconfontUrl: e.iconfontUrl,
@@ -1562,7 +1562,7 @@ const et = (e) => {
1562
1562
  return n(j, {
1563
1563
  title: W,
1564
1564
  key: c.path,
1565
- icon: H ? null : n(et, {
1565
+ icon: H ? null : n(tt, {
1566
1566
  className: o,
1567
1567
  icon: ($ = c.meta) == null ? void 0 : $.icon,
1568
1568
  iconfontUrl: e.iconfontUrl,
@@ -1613,15 +1613,15 @@ const et = (e) => {
1613
1613
  opacity: 1
1614
1614
  }
1615
1615
  }), Lo = (e) => {
1616
- var o, i, l, s;
1617
- const t = ot(e, "sider"), { layout: a } = ye(e);
1616
+ var i, l, s, r, m;
1617
+ const t = it(e, "sider"), { layout: a } = ye(e), o = (i = e.layout) == null ? void 0 : i.pageContainer;
1618
1618
  return {
1619
1619
  [`${e.proComponentsCls}-basic-layout`]: {
1620
1620
  [`&${e.proComponentsCls}-basic-layout-wide`]: {
1621
1621
  [e.componentCls]: {
1622
1622
  position: "sticky",
1623
1623
  zIndex: 100,
1624
- borderRadius: e.borderRadiusSM
1624
+ borderRadius: o == null ? void 0 : o.borderRadius
1625
1625
  }
1626
1626
  },
1627
1627
  [e.componentCls]: {
@@ -1636,6 +1636,7 @@ const et = (e) => {
1636
1636
  verticalAlign: "unset"
1637
1637
  },
1638
1638
  "&-container": {
1639
+ borderRadius: a === "wide" ? o == null ? void 0 : o.borderRadius : "unset",
1639
1640
  "&::-webkit-scrollbar": {
1640
1641
  width: 6,
1641
1642
  height: 6
@@ -1712,8 +1713,8 @@ const et = (e) => {
1712
1713
  zIndex: "100",
1713
1714
  height: "100%",
1714
1715
  "&-mix": {
1715
- height: `calc(100% - ${((i = (o = e.layout) == null ? void 0 : o.header) == null ? void 0 : i.heightLayoutHeader) || Z.headerHeight}px)`,
1716
- insetBlockStart: `${((s = (l = e.layout) == null ? void 0 : l.header) == null ? void 0 : s.heightLayoutHeader) || Z.headerHeight}px`
1716
+ height: `calc(100% - ${((s = (l = e.layout) == null ? void 0 : l.header) == null ? void 0 : s.heightLayoutHeader) || Z.headerHeight}px)`,
1717
+ insetBlockStart: `${((m = (r = e.layout) == null ? void 0 : r.header) == null ? void 0 : m.heightLayoutHeader) || Z.headerHeight}px`
1717
1718
  }
1718
1719
  }
1719
1720
  }
@@ -1725,7 +1726,7 @@ const et = (e) => {
1725
1726
  [`${e.proComponentsCls}-basic-layout`]: {
1726
1727
  [`${e.proComponentsCls}-sider`]: {
1727
1728
  [`${t}${t}-root`]: {
1728
- ...dt(i == null ? void 0 : i.paddingMenu, "padding"),
1729
+ ...Ee(i == null ? void 0 : i.paddingMenu, "padding"),
1729
1730
  [`${e.proComponentsCls}-menu-item-bradge`]: {
1730
1731
  position: "absolute",
1731
1732
  right: e.marginXS,
@@ -1736,12 +1737,21 @@ const et = (e) => {
1736
1737
  }
1737
1738
  },
1738
1739
  [`${t}-item,${t}-submenu-title`]: {
1739
- ...dt(i == null ? void 0 : i.paddingMenuItem, "padding"),
1740
- ...dt(i == null ? void 0 : i.marginMenuItem, "margin"),
1741
1740
  ...o === "wide" && { width: "100%" },
1742
1741
  height: i == null ? void 0 : i.menuItemHeight,
1743
1742
  lineHeight: i == null ? void 0 : i.menuItemHeight
1744
1743
  },
1744
+ [`${t}-item`]: {
1745
+ ...Ee(i == null ? void 0 : i.paddingMenuItem, "padding"),
1746
+ ...Ee(i == null ? void 0 : i.marginMenuItem, "margin")
1747
+ },
1748
+ [`${t}-submenu-title`]: {
1749
+ ...Ee(i == null ? void 0 : i.paddingSubMenuItem, "padding"),
1750
+ ...Ee(i == null ? void 0 : i.marginSubMenuItem, "margin")
1751
+ },
1752
+ [`${t}-item:last-child`]: o === "wide" ? {
1753
+ marginBottom: e.marginXXS
1754
+ } : {},
1745
1755
  [`${a}-title:not(${a}-title-no-icon)`]: {
1746
1756
  fontWeight: o === "wide" ? 500 : "normal"
1747
1757
  },
@@ -2065,22 +2075,22 @@ function Eo(e, t) {
2065
2075
  } : null;
2066
2076
  }).filter((a) => a !== null);
2067
2077
  }
2068
- const Ko = ["left", "right"], Ee = ["left", "right", "down", "up"], Wo = ["downBig", "upBig", "leftBig", "rightBig"], Uo = ["topLeft", "bottomRight", "topRight", "bottomLeft"], _o = ["downLeft", "upRight", "downRight", "upLeft"], kt = {
2078
+ const Ko = ["left", "right"], Ke = ["left", "right", "down", "up"], Wo = ["downBig", "upBig", "leftBig", "rightBig"], Uo = ["topLeft", "bottomRight", "topRight", "bottomLeft"], _o = ["downLeft", "upRight", "downRight", "upLeft"], kt = {
2069
2079
  preset: [
2070
2080
  // 预设动画配置
2071
- { name: "back", alias: "渐近", directions: Ee },
2072
- { name: "bounce", alias: "弹跳", directions: Ee.concat("default") },
2081
+ { name: "back", alias: "渐近", directions: Ke },
2082
+ { name: "bounce", alias: "弹跳", directions: Ke.concat("default") },
2073
2083
  {
2074
2084
  name: "fade",
2075
2085
  alias: "淡化",
2076
- directions: Ee.concat(Wo).concat(Uo).concat("default")
2086
+ directions: Ke.concat(Wo).concat(Uo).concat("default")
2077
2087
  },
2078
2088
  { name: "flip", alias: "翻转", directions: ["x", "y"] },
2079
2089
  { name: "lightSpeed", alias: "光速", directions: Ko },
2080
2090
  { name: "rotate", alias: "旋转", directions: _o.concat("default") },
2081
2091
  { name: "roll", alias: "翻滚", directions: ["default"] },
2082
- { name: "zoom", alias: "缩放", directions: Ee.concat("default") },
2083
- { name: "slide", alias: "滑动", directions: Ee }
2092
+ { name: "zoom", alias: "缩放", directions: Ke.concat("default") },
2093
+ { name: "slide", alias: "滑动", directions: Ke }
2084
2094
  ]
2085
2095
  }, ft = {
2086
2096
  colorItemBg: "colorBgMenu",
@@ -2095,7 +2105,7 @@ const Ko = ["left", "right"], Ee = ["left", "right", "down", "up"], Wo = ["downB
2095
2105
  };
2096
2106
  function Fn({ type: e, token: t, dark: a, staticToken: o }) {
2097
2107
  var m, g;
2098
- const i = (m = t.layout) == null ? void 0 : m[e], l = it(e, t, ((g = t.layout) == null ? void 0 : g.key) || ""), s = Object.keys(ft).reduce((h, d) => (h[d] = i[ft[d]] || l[ft[d]], h), {}), r = Object.assign(o, Object.fromEntries(Object.entries(s).filter(([h, d]) => d !== void 0)));
2108
+ const i = (m = t.layout) == null ? void 0 : m[e], l = lt(e, t, ((g = t.layout) == null ? void 0 : g.key) || ""), s = Object.keys(ft).reduce((h, d) => (h[d] = i[ft[d]] || l[ft[d]], h), {}), r = Object.assign(o, Object.fromEntries(Object.entries(s).filter(([h, d]) => d !== void 0)));
2099
2109
  return a && e === "header" && (r.colorActiveBarHeight = 0), r;
2100
2110
  }
2101
2111
  function Xo(e) {
@@ -2115,7 +2125,7 @@ function Wt(e) {
2115
2125
  }
2116
2126
  const {
2117
2127
  Sider: Yo
2118
- } = We, kn = (e) => e ? n(za, null, null) : n(Da, null, null), Ut = /* @__PURE__ */ K({
2128
+ } = Ue, kn = (e) => e ? n(za, null, null) : n(Da, null, null), Ut = /* @__PURE__ */ K({
2119
2129
  props: ce,
2120
2130
  inheritAttrs: !1,
2121
2131
  setup(e) {
@@ -2143,7 +2153,7 @@ const {
2143
2153
  menuContentRender: R,
2144
2154
  menuFooterRender: z,
2145
2155
  collapsedButtonRender: P
2146
- } = tt(e), $ = t({
2156
+ } = nt(e), $ = t({
2147
2157
  suffixCls: "sider",
2148
2158
  isPor: !0
2149
2159
  }), L = I(() => e.layout === "wide"), w = I(() => e.layout === "mix" && !e.isMobile && e.splitMenus), B = I(() => d.value === "side" || d.value === "simple"), k = I(() => e.isMobile || L.value ? !1 : x.value), W = I(() => (e.layout === "mix" || L.value) && "light" || s.value.theme), {
@@ -2151,9 +2161,9 @@ const {
2151
2161
  hashId: j
2152
2162
  } = he("ProLayoutSiderMenu", [Fo, Oo, Lo, $n, (E) => {
2153
2163
  var we, Re;
2154
- const Q = (we = E == null ? void 0 : E.layout) == null ? void 0 : we.sider, G = it("sider", E, (Re = E.layout) == null ? void 0 : Re.key), {
2164
+ const Q = (we = E == null ? void 0 : E.layout) == null ? void 0 : we.sider, G = lt("sider", E, (Re = E.layout) == null ? void 0 : Re.key), {
2155
2165
  dark: xe
2156
- } = ye(E), Ne = ot(E, "sider");
2166
+ } = ye(E), Ne = it(E, "sider");
2157
2167
  return {
2158
2168
  [`${E.proComponentsCls}-basic-layout`]: {
2159
2169
  [E.componentCls]: {
@@ -2201,7 +2211,7 @@ const {
2201
2211
  const Q = B.value && n(Ft, te({
2202
2212
  hashId: j.value,
2203
2213
  baseClassName: $
2204
- }, le(e, Object.keys(rt))), {
2214
+ }, le(e, Object.keys(st))), {
2205
2215
  default: () => [T.value]
2206
2216
  }), G = e.menuHeaderRender && ((Re = e.menuHeaderRender) == null ? void 0 : Re.call(e, e)), xe = e.menuLinksRender, Ne = e.siderActionsRender, we = n(In, {
2207
2217
  class: `${$}-menu ${j.value}`,
@@ -2323,7 +2333,7 @@ const {
2323
2333
  setup(e, {
2324
2334
  emit: t
2325
2335
  }) {
2326
- const a = Ge(), {
2336
+ const a = Ye(), {
2327
2337
  token: o
2328
2338
  } = Fe(), {
2329
2339
  getPrefixCls: i,
@@ -2444,7 +2454,7 @@ function ei(e) {
2444
2454
  }
2445
2455
  const {
2446
2456
  Header: _t
2447
- } = We, Xt = /* @__PURE__ */ K({
2457
+ } = Ue, Xt = /* @__PURE__ */ K({
2448
2458
  inheritAttrs: !1,
2449
2459
  props: bn,
2450
2460
  setup(e) {
@@ -2454,7 +2464,7 @@ const {
2454
2464
  layout: o,
2455
2465
  onCollapse: i,
2456
2466
  splitMenus: l
2457
- } = tt(e), {
2467
+ } = nt(e), {
2458
2468
  dark: s
2459
2469
  } = Fe(), {
2460
2470
  getPrefixCls: r,
@@ -2473,7 +2483,7 @@ const {
2473
2483
  hashId: f
2474
2484
  } = Oe("ProLayoutHeader", (B) => {
2475
2485
  var j, ne;
2476
- const k = (j = B.layout) == null ? void 0 : j.header, W = it("header", B, (ne = B.layout) == null ? void 0 : ne.key), H = ot(B, "header");
2486
+ const k = (j = B.layout) == null ? void 0 : j.header, W = lt("header", B, (ne = B.layout) == null ? void 0 : ne.key), H = it(B, "header");
2477
2487
  return {
2478
2488
  [`${B.proComponentsCls}-basic-layout`]: {
2479
2489
  [`${B.antCls}-layout-header${B.componentCls}${B.componentCls}-${ue(h.value.key)}`]: {
@@ -2572,7 +2582,7 @@ const {
2572
2582
  }
2573
2583
  },
2574
2584
  setup(e) {
2575
- return () => n(J, null, [e.isMobile ? n(Qe, {
2585
+ return () => n(J, null, [e.isMobile ? n(Ze, {
2576
2586
  maskClosable: !0,
2577
2587
  open: !e.collapsed,
2578
2588
  closable: !1,
@@ -2599,7 +2609,7 @@ const {
2599
2609
  });
2600
2610
  function Pt(e, { change: t }) {
2601
2611
  const { system: a } = oa(), [o, i, l] = De("system", {
2602
- value: I(() => Xe(e.value) ? e.value : "system"),
2612
+ value: I(() => Ve(e.value) ? e.value : "system"),
2603
2613
  onChange: (r) => {
2604
2614
  t == null || t(r);
2605
2615
  }
@@ -2610,7 +2620,7 @@ function Pt(e, { change: t }) {
2610
2620
  toggleMode: i
2611
2621
  };
2612
2622
  }
2613
- function Xe(e) {
2623
+ function Ve(e) {
2614
2624
  return oe(e) || e === "system";
2615
2625
  }
2616
2626
  function Tn({ event: e, isDark: t, value: a, toggle: o }) {
@@ -2739,7 +2749,7 @@ const ni = /* @__PURE__ */ K({
2739
2749
  })), p = I(() => (l.value === "sm" || l.value === "xs") && !e.disableMobile && !v.value), f = I(() => ({
2740
2750
  ...e.breadcrumb || {},
2741
2751
  itemRender: se(t, e, "pageContainerProps:breadcrumbRender")
2742
- })), R = I(() => c.value && e.selectedKeys ? Ho(e.menuData, e.selectedKeys[0]) : []), z = I(() => Ue(e.headerHeight) ? e.headerHeight : Z.headerHeight), P = yt(() => d.value ? 0 : Ue(e.siderWidth) ? e.siderWidth : e.layout === "mix" ? 215 : e.layout === "wide" ? 208 : 256, [() => e.layout, () => e.siderWidth, () => d.value]);
2752
+ })), R = I(() => c.value && e.selectedKeys ? Ho(e.menuData, e.selectedKeys[0]) : []), z = I(() => _e(e.headerHeight) ? e.headerHeight : Z.headerHeight), P = yt(() => d.value ? 0 : _e(e.siderWidth) ? e.siderWidth : e.layout === "mix" ? 215 : e.layout === "wide" ? 208 : 256, [() => e.layout, () => e.siderWidth, () => d.value]);
2743
2753
  ae([() => e.layout, () => e.theme], ([L]) => {
2744
2754
  (L === "wide" || L === "simple") && (d.value = !1), m.value = bt().uuid(10);
2745
2755
  }), ae(() => v.value, (L) => {
@@ -2760,7 +2770,7 @@ const ni = /* @__PURE__ */ K({
2760
2770
  matchMenuKeys: w || []
2761
2771
  }), null);
2762
2772
  return io({
2763
- ...le(tt(e), oo),
2773
+ ...le(nt(e), oo),
2764
2774
  getPrefixCls: ie,
2765
2775
  menuState: u,
2766
2776
  lockOpen: g,
@@ -2818,7 +2828,7 @@ const ni = /* @__PURE__ */ K({
2818
2828
  minWidth: Ae(e.wideWidth),
2819
2829
  ...e.style
2820
2830
  } : e.style
2821
- }, [n(We, {
2831
+ }, [n(Ue, {
2822
2832
  style: v.value ? {
2823
2833
  width: Ae(e.wideWidth),
2824
2834
  paddingTop: `${z.value + 20}px`,
@@ -2833,7 +2843,7 @@ const ni = /* @__PURE__ */ K({
2833
2843
  menuFooterRender: F,
2834
2844
  menuContentRender: U,
2835
2845
  collapsedButtonRender: w
2836
- }, le(L, pn)), null), n(We, {
2846
+ }, le(L, pn)), null), n(Ue, {
2837
2847
  style: y
2838
2848
  }, {
2839
2849
  default: () => [e.layout !== "simple" && z.value > 0 && ee, n(Ot, te(le(e, co), {
@@ -3180,7 +3190,7 @@ const An = /* @__PURE__ */ K({
3180
3190
  onChange: (d) => o.password = d.target.value
3181
3191
  }, null)]
3182
3192
  })]
3183
- }), n(Ze, {
3193
+ }), n(Je, {
3184
3194
  block: !0,
3185
3195
  type: "primary",
3186
3196
  onClick: () => g(),
@@ -3239,7 +3249,7 @@ const ui = /* @__PURE__ */ K({
3239
3249
  },
3240
3250
  onSubmit: () => a(!1)
3241
3251
  }, {
3242
- default: () => [n(Ze, {
3252
+ default: () => [n(Je, {
3243
3253
  style: {
3244
3254
  marginBlockStart: "16px"
3245
3255
  },
@@ -3291,7 +3301,7 @@ const ui = /* @__PURE__ */ K({
3291
3301
  }), a = re(), {
3292
3302
  wrapSSR: o,
3293
3303
  hashId: i
3294
- } = he("ProPageLock", [li], t), l = at(t, {
3304
+ } = he("ProPageLock", [li], t), l = ot(t, {
3295
3305
  open: !1,
3296
3306
  password: ""
3297
3307
  }), [s, r, m] = De(!1, {
@@ -3475,7 +3485,7 @@ const hi = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
3475
3485
  onClose: Function
3476
3486
  },
3477
3487
  setup(e) {
3478
- const t = Ge(), a = at(e.historyKey || ie({
3488
+ const t = Ye(), a = ot(e.historyKey || ie({
3479
3489
  suffixCls: "layout-search-history",
3480
3490
  isPor: !0
3481
3491
  }), []), o = fe(0), i = fe([]), l = la(s, 200);
@@ -3544,7 +3554,7 @@ const hi = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
3544
3554
  i.value.length !== 0 && (o.value++, o.value > i.value.length - 1 && (o.value = 0), m());
3545
3555
  }
3546
3556
  St(() => {
3547
- a.value.length > 0 && (i.value = a.value), ct("Enter", g), ct("ArrowUp", y), ct("ArrowDown", b);
3557
+ a.value.length > 0 && (i.value = a.value), dt("Enter", g), dt("ArrowUp", y), dt("ArrowDown", b);
3548
3558
  });
3549
3559
  function c(u) {
3550
3560
  o.value = u;
@@ -3567,13 +3577,13 @@ const hi = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
3567
3577
  onMouseenter: () => c(p)
3568
3578
  }, [n("div", {
3569
3579
  class: v("panel-item-left")
3570
- }, [n(et, te(u.meta || {}, {
3580
+ }, [n(tt, te(u.meta || {}, {
3571
3581
  icon: ((f = u.meta) == null ? void 0 : f.icon) || n(Aa, null, null),
3572
3582
  classNames: v("panel-icon")
3573
3583
  }), null), (P = (z = (R = u.meta) == null ? void 0 : R.title) == null ? void 0 : z.split("**")) == null ? void 0 : P.map(($, L) => {
3574
3584
  var w, B, k;
3575
3585
  return n(J, null, [$, L < ((k = (B = (w = u.meta) == null ? void 0 : w.title) == null ? void 0 : B.split("**")) == null ? void 0 : k.length) - 1 && n(Ha, null, null)]);
3576
- }), n("span", null, null)]), n(lt, {
3586
+ }), n("span", null, null)]), n(rt, {
3577
3587
  onClick: ($) => x($, p)
3578
3588
  }, null)]);
3579
3589
  })])]) : n(gi, {
@@ -3676,7 +3686,7 @@ const hi = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
3676
3686
  };
3677
3687
  }
3678
3688
  }), pi = (e) => {
3679
- const { dark: t } = ye(e), a = ot(e, "header");
3689
+ const { dark: t } = ye(e), a = it(e, "header");
3680
3690
  return {
3681
3691
  [`${e.componentCls}`]: {
3682
3692
  "&-header-actions": {
@@ -3769,7 +3779,7 @@ const us = /* @__PURE__ */ K({
3769
3779
  toggleMode: x
3770
3780
  } = Pt(I(() => {
3771
3781
  var $;
3772
- return Xe(e.dark) ? e.dark : ($ = l == null ? void 0 : l.dark) == null ? void 0 : $.value;
3782
+ return Ve(e.dark) ? e.dark : ($ = l == null ? void 0 : l.dark) == null ? void 0 : $.value;
3773
3783
  }), {
3774
3784
  change: ($) => {
3775
3785
  var L, w, B;
@@ -3789,7 +3799,7 @@ const us = /* @__PURE__ */ K({
3789
3799
  return oe(($ = l == null ? void 0 : l.isMobile) == null ? void 0 : $.value) ? (L = l == null ? void 0 : l.isMobile) == null ? void 0 : L.value : s.value === "sm" || s.value === "xs";
3790
3800
  }), f = I(() => {
3791
3801
  var $;
3792
- return Xe(e.dark) ? c.value : ($ = i == null ? void 0 : i.dark) == null ? void 0 : $.value;
3802
+ return Ve(e.dark) ? c.value : ($ = i == null ? void 0 : i.dark) == null ? void 0 : $.value;
3793
3803
  }), R = sa(async ($) => {
3794
3804
  b($);
3795
3805
  }, 160), z = ($) => {
@@ -3830,7 +3840,7 @@ const us = /* @__PURE__ */ K({
3830
3840
  disabeldShortKey: (W = e.shortsKey) == null ? void 0 : W.disabeld
3831
3841
  }, null), e.actions.theme && n("div", {
3832
3842
  class: `${r}-header-actions-item ${d.value}`.trim()
3833
- }, [n(_e, {
3843
+ }, [n(Xe, {
3834
3844
  class: `${r}-header-actions-icon ${d.value}`.trim(),
3835
3845
  name: f.value ? "liangse" : "anhei",
3836
3846
  onClick: (H) => z(H)
@@ -3891,8 +3901,8 @@ const us = /* @__PURE__ */ K({
3891
3901
  }), Si = /* @__PURE__ */ K({
3892
3902
  name: "ProPageHeader",
3893
3903
  props: {
3894
- content: Je.contentRender,
3895
- breadcrumb: Je.breadcrumbRender
3904
+ content: et.contentRender,
3905
+ breadcrumb: et.breadcrumbRender
3896
3906
  },
3897
3907
  setup(e) {
3898
3908
  const t = re(), o = ((t == null ? void 0 : t.getPrefixCls) || ie)({
@@ -3930,8 +3940,8 @@ const us = /* @__PURE__ */ K({
3930
3940
  };
3931
3941
  }
3932
3942
  }), Ii = (e) => {
3933
- var o;
3934
- const t = (o = e.layout) == null ? void 0 : o.pageContainer, { layout: a } = ye(e);
3943
+ var i;
3944
+ const t = (i = e.layout) == null ? void 0 : i.pageContainer, { layout: a } = ye(e), o = (t == null ? void 0 : t.borderRadius) || e.borderRadiusLG;
3935
3945
  return {
3936
3946
  [`${e.proComponentsCls}-basic-layout`]: {
3937
3947
  "&-content": {
@@ -3954,7 +3964,7 @@ const us = /* @__PURE__ */ K({
3954
3964
  width: "100%",
3955
3965
  height: "100%",
3956
3966
  zIndex: 10,
3957
- borderRadius: e.borderRadiusLG,
3967
+ borderRadius: o,
3958
3968
  backgroundColor: Me(e.colorBgContainer, 0.5),
3959
3969
  [`& > ${e.antCls}-spin`]: {
3960
3970
  position: "absolute",
@@ -3966,7 +3976,19 @@ const us = /* @__PURE__ */ K({
3966
3976
  "&-children-content": {
3967
3977
  marginInline: a === "wide" ? 0 : (t == null ? void 0 : t.marginInlinePageContainerContent) || 24,
3968
3978
  marginBlockStart: a === "wide" ? 0 : (t == null ? void 0 : t.marginBlockPageContainerContent) || 24,
3969
- padding: "inherit"
3979
+ padding: "inherit",
3980
+ [`${e.antCls}-card`]: {
3981
+ borderRadius: o,
3982
+ [`${e.antCls}-card-head`]: {
3983
+ borderRadius: `${o}px ${o}px 0 0`
3984
+ },
3985
+ [`${e.antCls}-card-body`]: {
3986
+ borderRadius: ` 0 0 ${o}px ${o}px`
3987
+ },
3988
+ [`${e.antCls}-actions`]: {
3989
+ borderRadius: `0 0 ${o}px ${o}px `
3990
+ }
3991
+ }
3970
3992
  }
3971
3993
  }
3972
3994
  };
@@ -3985,10 +4007,10 @@ function Bi(e) {
3985
4007
  }
3986
4008
  const {
3987
4009
  Content: Mi
3988
- } = We, cs = /* @__PURE__ */ K({
4010
+ } = Ue, cs = /* @__PURE__ */ K({
3989
4011
  inheritAttrs: !1,
3990
4012
  name: "GProPageContainer",
3991
- props: Je,
4013
+ props: et,
3992
4014
  slots: Object,
3993
4015
  setup(e, {
3994
4016
  slots: t,
@@ -4027,7 +4049,7 @@ const {
4027
4049
  }), p = I(() => {
4028
4050
  var w, B, k;
4029
4051
  return (k = (B = (w = s == null ? void 0 : s.token) == null ? void 0 : w.value) == null ? void 0 : B.layout) == null ? void 0 : k.pageContainer;
4030
- }), f = I(() => Ae(Ue(e.contentWidth) && e.contentWidth ? e.contentWidth : l == null ? void 0 : l.contentWidth.value)), R = I(() => {
4052
+ }), f = I(() => Ae(_e(e.contentWidth) && e.contentWidth ? e.contentWidth : l == null ? void 0 : l.contentWidth.value)), R = I(() => {
4031
4053
  var w;
4032
4054
  return (w = i == null ? void 0 : i.spinning) != null && w.value ? !1 : e.loading;
4033
4055
  }), {
@@ -4105,7 +4127,7 @@ const {
4105
4127
  }
4106
4128
  });
4107
4129
  function ds({ menuData: e, watchOpenKeys: t = !0 }) {
4108
- const a = Ge(), o = a.getRoutes(), i = pe({
4130
+ const a = Ye(), o = a.getRoutes(), i = pe({
4109
4131
  menuData: [],
4110
4132
  levelMenuData: []
4111
4133
  }), l = pe({
@@ -4235,7 +4257,7 @@ const ms = /* @__PURE__ */ K({
4235
4257
  alignItems: "center",
4236
4258
  gap: "6px"
4237
4259
  }
4238
- }, [n(_e, {
4260
+ }, [n(Xe, {
4239
4261
  name: "liangse"
4240
4262
  }, null), X("亮色")])
4241
4263
  }, {
@@ -4246,7 +4268,7 @@ const ms = /* @__PURE__ */ K({
4246
4268
  alignItems: "center",
4247
4269
  gap: "6px"
4248
4270
  }
4249
- }, [n(_e, {
4271
+ }, [n(Xe, {
4250
4272
  name: "anhei"
4251
4273
  }, null), X("深色")])
4252
4274
  }, {
@@ -4527,7 +4549,7 @@ const ms = /* @__PURE__ */ K({
4527
4549
  const t = `${e.prefixCls}-block-checkbox`;
4528
4550
  return n("div", {
4529
4551
  class: [t, e.hashId]
4530
- }, [e.list.map((a) => n(nt, {
4552
+ }, [e.list.map((a) => n(at, {
4531
4553
  title: a.title,
4532
4554
  key: a.key
4533
4555
  }, {
@@ -4573,7 +4595,7 @@ const ms = /* @__PURE__ */ K({
4573
4595
  key: o,
4574
4596
  color: i,
4575
4597
  title: l
4576
- }) => o ? n(nt, {
4598
+ }) => o ? n(at, {
4577
4599
  key: i,
4578
4600
  title: l
4579
4601
  }, {
@@ -4590,7 +4612,7 @@ const ms = /* @__PURE__ */ K({
4590
4612
  }) : null)]);
4591
4613
  };
4592
4614
  }
4593
- }), qe = /* @__PURE__ */ K({
4615
+ }), Qe = /* @__PURE__ */ K({
4594
4616
  name: "RegionalChange",
4595
4617
  props: {
4596
4618
  label: q.string,
@@ -4608,7 +4630,7 @@ const ms = /* @__PURE__ */ K({
4608
4630
  size: "small",
4609
4631
  renderItem: ({
4610
4632
  item: t
4611
- }) => n(nt, {
4633
+ }) => n(at, {
4612
4634
  title: t.disabled ? t.disabledReason : "",
4613
4635
  placement: "left"
4614
4636
  }, {
@@ -4706,7 +4728,7 @@ const ji = /* @__PURE__ */ K({
4706
4728
  function g(b) {
4707
4729
  return Ie(En).map((c) => {
4708
4730
  var v;
4709
- const x = it(b, r.value, c.key);
4731
+ const x = lt(b, r.value, c.key);
4710
4732
  if (c.token = x, x)
4711
4733
  for (const u in c.token) {
4712
4734
  const p = (v = m.value) == null ? void 0 : v[b], f = (p == null ? void 0 : p[u]) || c.token[u];
@@ -4892,7 +4914,7 @@ const {
4892
4914
  size: "small",
4893
4915
  renderItem: ({
4894
4916
  item: f
4895
- }) => n(nt, {
4917
+ }) => n(at, {
4896
4918
  title: f.disabled ? f.disabledReason : "",
4897
4919
  placement: "left"
4898
4920
  }, {
@@ -4919,7 +4941,7 @@ const {
4919
4941
  }, {
4920
4942
  title: "动画效果",
4921
4943
  disabled: (m = (r = e.settingValue) == null ? void 0 : r.animate) == null ? void 0 : m.disabled,
4922
- action: n(Ye, {
4944
+ action: n(qe, {
4923
4945
  value: (h = (g = e.settingValue) == null ? void 0 : g.animate) == null ? void 0 : h.name,
4924
4946
  style: {
4925
4947
  width: "100px"
@@ -4931,7 +4953,7 @@ const {
4931
4953
  var R;
4932
4954
  return (R = e.onChange) == null ? void 0 : R.call(e, "animate", "name", f);
4933
4955
  }
4934
- }, Yt(i = qt.map((f) => n(Ye.Option, {
4956
+ }, Yt(i = qt.map((f) => n(qe.Option, {
4935
4957
  value: f.name
4936
4958
  }, {
4937
4959
  default: () => [f.alias]
@@ -4941,7 +4963,7 @@ const {
4941
4963
  }, {
4942
4964
  title: "动画方向",
4943
4965
  disabled: (c = (b = e.settingValue) == null ? void 0 : b.animate) == null ? void 0 : c.disabled,
4944
- action: n(Ye, {
4966
+ action: n(qe, {
4945
4967
  value: (v = (x = e.settingValue) == null ? void 0 : x.animate) == null ? void 0 : v.direction,
4946
4968
  style: {
4947
4969
  width: "100px"
@@ -4962,7 +4984,7 @@ const {
4962
4984
  return [(f = qt.find((R) => {
4963
4985
  var z, P;
4964
4986
  return R.name === ((P = (z = e.settingValue) == null ? void 0 : z.animate) == null ? void 0 : P.name);
4965
- })) == null ? void 0 : f.directions.map((R) => n(Ye.Option, {
4987
+ })) == null ? void 0 : f.directions.map((R) => n(qe.Option, {
4966
4988
  value: R
4967
4989
  }, Yt(R) ? R : {
4968
4990
  default: () => [R]
@@ -4981,7 +5003,7 @@ const {
4981
5003
  }, Qt = (e) => ba() ? {
4982
5004
  ...le(Z, Ct),
4983
5005
  ...e || {}
4984
- } : Ie(Z), Ke = (e, {
5006
+ } : Ie(Z), We = (e, {
4985
5007
  slots: t
4986
5008
  }) => {
4987
5009
  var a;
@@ -5028,7 +5050,7 @@ const {
5028
5050
  const t = Fe(), a = re(), o = ie({
5029
5051
  suffixCls: "setting-drawer",
5030
5052
  isPor: !0
5031
- }), i = pe({}), l = at(ie({
5053
+ }), i = pe({}), l = ot(ie({
5032
5054
  suffixCls: "settings-state",
5033
5055
  isPor: !0
5034
5056
  }), {}), {
@@ -5049,7 +5071,7 @@ const {
5049
5071
  toggleMode: b
5050
5072
  } = Pt(I(() => {
5051
5073
  var O;
5052
- return Xe(e.dark) ? e.dark : (O = a == null ? void 0 : a.dark) == null ? void 0 : O.value;
5074
+ return Ve(e.dark) ? e.dark : (O = a == null ? void 0 : a.dark) == null ? void 0 : O.value;
5053
5075
  }), {
5054
5076
  change: (O) => {
5055
5077
  var F, T, U;
@@ -5063,7 +5085,7 @@ const {
5063
5085
  }
5064
5086
  }), P = I(() => {
5065
5087
  var O;
5066
- return Xe(e.dark) ? y.value : (O = t == null ? void 0 : t.dark) == null ? void 0 : O.value;
5088
+ return Ve(e.dark) ? y.value : (O = t == null ? void 0 : t.dark) == null ? void 0 : O.value;
5067
5089
  }), $ = (O, F) => {
5068
5090
  Tn({
5069
5091
  event: O,
@@ -5123,8 +5145,8 @@ const {
5123
5145
  z(Se(Ie(i), "dark")), $(null, i.dark), l.value = Ie(i);
5124
5146
  };
5125
5147
  return () => {
5126
- const O = g.value ? lt : mn;
5127
- return s(n(Qe, {
5148
+ const O = g.value ? rt : mn;
5149
+ return s(n(Ze, {
5128
5150
  width: 300,
5129
5151
  closable: !1,
5130
5152
  open: g.value,
@@ -5149,7 +5171,7 @@ const {
5149
5171
  }, [n(gn, null, {
5150
5172
  default: () => [n("div", {
5151
5173
  class: [`${o}-content`, r.value]
5152
- }, [n(Ke, {
5174
+ }, [n(We, {
5153
5175
  prefixCls: o,
5154
5176
  hashId: r.value,
5155
5177
  title: "整体风格"
@@ -5159,7 +5181,7 @@ const {
5159
5181
  options: Fi,
5160
5182
  onChange: (F) => j(F)
5161
5183
  }, null)]
5162
- }), n(Ke, {
5184
+ }), n(We, {
5163
5185
  prefixCls: o,
5164
5186
  hashId: r.value,
5165
5187
  title: "菜单风格"
@@ -5175,7 +5197,7 @@ const {
5175
5197
  event: T
5176
5198
  })
5177
5199
  }, null)]
5178
- }), n(Ke, {
5200
+ }), n(We, {
5179
5201
  hashId: r.value,
5180
5202
  title: n("span", null, [X("配色模式"), n("a", {
5181
5203
  style: {
@@ -5193,7 +5215,7 @@ const {
5193
5215
  settingValue: R.value,
5194
5216
  onChange: (F, T) => H(T || "primaryColor", F)
5195
5217
  }, null)]
5196
- }), !e.themeOnly && n(J, null, [n(ut, null, null), n(Ke, {
5218
+ }), !e.themeOnly && n(J, null, [n(ct, null, null), n(We, {
5197
5219
  hashId: r.value,
5198
5220
  prefixCls: o,
5199
5221
  title: "导航模式"
@@ -5210,7 +5232,7 @@ const {
5210
5232
  }), Ti.map(({
5211
5233
  label: F,
5212
5234
  title: T
5213
- }) => n(qe, {
5235
+ }) => n(Qe, {
5214
5236
  label: T,
5215
5237
  disabled: w.value[F],
5216
5238
  value: R.value[F],
@@ -5218,7 +5240,7 @@ const {
5218
5240
  hashId: r.value,
5219
5241
  valueKey: F,
5220
5242
  onChange: (U, ee) => H(U, ee)
5221
- }, null)), n(ut, null, null), n(Ke, {
5243
+ }, null)), n(ct, null, null), n(We, {
5222
5244
  hashId: r.value,
5223
5245
  prefixCls: o,
5224
5246
  title: n("span", null, [X("其他设置"), n("a", {
@@ -5232,7 +5254,7 @@ const {
5232
5254
  default: () => [Ni.map(({
5233
5255
  label: F,
5234
5256
  title: T
5235
- }) => n(qe, {
5257
+ }) => n(Qe, {
5236
5258
  label: T,
5237
5259
  disabled: ue(w)[F],
5238
5260
  value: ue(R)[F],
@@ -5240,14 +5262,14 @@ const {
5240
5262
  hashId: r.value,
5241
5263
  valueKey: F,
5242
5264
  onChange: (U, ee) => H(U, ee)
5243
- }, null)), e.weakmode && n(qe, {
5265
+ }, null)), e.weakmode && n(Qe, {
5244
5266
  label: "色弱模式",
5245
5267
  value: ue(R).colorWeak,
5246
5268
  prefixCls: o,
5247
5269
  hashId: r.value,
5248
5270
  valueKey: "colorWeak",
5249
5271
  onChange: (F, T) => H(F, T)
5250
- }, null), e.showProgress && n(qe, {
5272
+ }, null), e.showProgress && n(Qe, {
5251
5273
  label: "顶部进度条",
5252
5274
  value: ue(R).showProgressBar,
5253
5275
  prefixCls: o,
@@ -5255,7 +5277,7 @@ const {
5255
5277
  valueKey: "showProgressBar",
5256
5278
  onChange: (F, T) => H(F, T)
5257
5279
  }, null)]
5258
- })]), e.hideHintAlert && e.hideCopyButton ? null : n(ut, null, null), e.hideHintAlert ? null : n(aa, {
5280
+ })]), e.hideHintAlert && e.hideCopyButton ? null : n(ct, null, null), e.hideHintAlert ? null : n(aa, {
5259
5281
  type: "warning",
5260
5282
  message: "配置栏只在开发环境用于预览,生产环境不会展现,请拷贝后手动修改配置文件",
5261
5283
  icon: n(_a, null, null),
@@ -5268,18 +5290,18 @@ const {
5268
5290
  display: "flex",
5269
5291
  gap: "10px"
5270
5292
  }
5271
- }, [e.hideCopyButton ? null : n(Ze, {
5293
+ }, [e.hideCopyButton ? null : n(Je, {
5272
5294
  onClick: () => ne(),
5273
5295
  block: !0
5274
5296
  }, {
5275
5297
  default: () => [n(Xa, null, null), X("拷贝设置")]
5276
- }), n(Ze, {
5298
+ }), n(Je, {
5277
5299
  block: !0,
5278
5300
  onClick: () => me()
5279
5301
  }, {
5280
5302
  default: () => [n(Va, null, null), X("清空缓存")]
5281
5303
  })])])]
5282
- })]), n(Qe, {
5304
+ })]), n(Ze, {
5283
5305
  width: 320,
5284
5306
  closable: !1,
5285
5307
  placement: "right",
@@ -5296,7 +5318,7 @@ const {
5296
5318
  subKey: U
5297
5319
  })
5298
5320
  }, null)]
5299
- }), n(Qe, {
5321
+ }), n(Ze, {
5300
5322
  width: 320,
5301
5323
  closable: !1,
5302
5324
  placement: "right",
@@ -6647,7 +6669,7 @@ const hs = /* @__PURE__ */ K({
6647
6669
  }));
6648
6670
  };
6649
6671
  }
6650
- }), Ve = {
6672
+ }), Ge = {
6651
6673
  appList: {
6652
6674
  type: Array,
6653
6675
  default: void 0
@@ -6676,8 +6698,8 @@ const hs = /* @__PURE__ */ K({
6676
6698
  props: {
6677
6699
  hashId: String,
6678
6700
  baseClassName: String,
6679
- appList: Ve.appList,
6680
- onItemClick: Ve.onItemClick
6701
+ appList: Ge.appList,
6702
+ onItemClick: Ge.onItemClick
6681
6703
  },
6682
6704
  setup(e) {
6683
6705
  return () => {
@@ -6717,8 +6739,8 @@ const hs = /* @__PURE__ */ K({
6717
6739
  props: {
6718
6740
  hashId: String,
6719
6741
  baseClassName: String,
6720
- appList: Ve.appList,
6721
- onItemClick: Ve.onItemClick
6742
+ appList: Ge.appList,
6743
+ onItemClick: Ge.onItemClick
6722
6744
  },
6723
6745
  setup(e) {
6724
6746
  return () => {
@@ -6757,7 +6779,7 @@ const hs = /* @__PURE__ */ K({
6757
6779
  };
6758
6780
  }
6759
6781
  }), gs = /* @__PURE__ */ K({
6760
- props: Ve,
6782
+ props: Ge,
6761
6783
  emits: ["itemClick"],
6762
6784
  setup(e) {
6763
6785
  const t = ie({
@@ -6801,7 +6823,7 @@ export {
6801
6823
  fs as SettingDrawer,
6802
6824
  Vt as SiderMenuWrapper,
6803
6825
  kt as animateSeting,
6804
- st as baseMenuProps,
6826
+ ut as baseMenuProps,
6805
6827
  Vo as checkThemeStatus,
6806
6828
  Do as clearMenuItem,
6807
6829
  Fn as coverToNewToken,