@gx-design-vue/pro-layout 0.1.0-beta.83 → 0.1.0-beta.84

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,5 +1,5 @@
1
1
  import type { CSSProperties, ExtractPropTypes, SlotsType } from 'vue';
2
- import { CustomRender, WithFalse } from '@gx-design-vue/pro-utils';
2
+ import type { CustomRender, WithFalse } from '@gx-design-vue/pro-utils';
3
3
  import { pageContainerProps } from './props';
4
4
  import type { BreadcrumbProps } from '../../_utils';
5
5
  export type PageContainerProps = Partial<ExtractPropTypes<typeof pageContainerProps>>;
@@ -3,7 +3,7 @@ import { pick as oe, cloneDeep as Se, omit as $e } from "lodash-es";
3
3
  import { LayoutFooter as _n, Spin as It, Tabs as wt, Menu as ge, Dropdown as ht, Layout as We, Popover as Xn, Badge as Vn, ConfigProvider as Rt, Drawer as Qe, Avatar as en, Form as Dt, Input as tn, Button as Ze, Empty as At, MenuItem as Ht, Breadcrumb as Gn, Card as Yn, Tooltip as nt, List as Me, Switch as nn, TabPane as qn, Select as Ye, message as Qn, Segmented as Zn, Divider as ct, Alert as Jn } from "ant-design-vue";
4
4
  import { useLocalStorage as at, useColorMode as ea, useStyleTag as ta, useMagicKeys as an, whenever as gt, useThrottleFn as na, onKeyStroke as ut, useFullscreen as aa, useDebounceFn as oa, useClipboard as ia } from "@vueuse/core";
5
5
  import { useState as Ce, useMemo as yt, useMergedState as De, useMediaQuery as on } from "@gx-design-vue/pro-hooks";
6
- import { getPrefixCls as ie, arrayRepeat as la, getSlotVNode as Be, classNames as Q, isBoolean as ae, merge as ve, isNumber as Ue, isUrl as $t, isImg as ra, isArray as Mt, convertValueBoolean as Fe, isObject as sa, isString as ca, getLevelData as Bt, deepCopy as ua, getRandomNumber as bt, getSlot as re, getSlotsProps as da, isWindowsOs as ma, isDeepEqualReact as fa, isBrowser as ha } from "@gx-design-vue/pro-utils";
6
+ import { getPrefixCls as ie, arrayRepeat as la, getSlotVNode as Be, classNames as Y, isBoolean as ae, merge as ve, isNumber as Ue, isUrl as $t, isImg as ra, isArray as Mt, convertValueBoolean as Fe, isObject as sa, isString as ca, getLevelData as Bt, deepCopy as ua, getRandomNumber as bt, getSlot as re, getSlotsProps as da, isWindowsOs as ma, isDeepEqualReact as fa, isBrowser as ha } from "@gx-design-vue/pro-utils";
7
7
  import ga, { themeConfig as Z, useContext as ya, useProStyle as fe, useStyle as Pe, mergeToken as je, getTokenLayoutTheme as ye, resetComponent as ba, Keyframe as S, checkMenuDark as ot, calcUnit as dt, getDefaultLayoutToken as it, useProConfigContext as Oe, unit as Ae, getLayoutTheme as ln, useProForm as va, setAlpha as pa, defaultSystemTheme as Ca, defaultLayout as xa, colorList as Sa } from "@gx-design-vue/pro-provider";
8
8
  import { createTypes as Ia } from "vue-types";
9
9
  import { spinProps as wa } from "ant-design-vue/es/spin";
@@ -18,7 +18,7 @@ import qa from "ant-design-vue/es/vc-resize-observer";
18
18
  import { GPorWaterMark as Qa } from "@gx-design-vue/pro-watermark";
19
19
  import Za from "@gx-design-vue/scrollbar";
20
20
  import { GColorPicker as Kt } from "@gx-design-vue/color-picker";
21
- const q = Ia({
21
+ const Q = Ia({
22
22
  func: void 0,
23
23
  bool: void 0,
24
24
  string: void 0,
@@ -27,7 +27,7 @@ const q = Ia({
27
27
  object: void 0,
28
28
  integer: void 0
29
29
  });
30
- q.extend([{
30
+ Q.extend([{
31
31
  name: "looseBool",
32
32
  getter: !0,
33
33
  type: Boolean,
@@ -170,7 +170,7 @@ const Te = {
170
170
  ...Te,
171
171
  ...st,
172
172
  ...rt,
173
- menuLoading: q.looseBool,
173
+ menuLoading: Q.looseBool,
174
174
  suppressSiderWhenMenuEmpty: {
175
175
  type: Boolean,
176
176
  default: !0
@@ -179,12 +179,12 @@ const Te = {
179
179
  type: Number,
180
180
  default: void 0
181
181
  },
182
- collapsedWidth: q.number.def(64),
182
+ collapsedWidth: Q.number.def(64),
183
183
  breakpoint: {
184
184
  type: [Object, Boolean],
185
185
  default: () => !1
186
186
  },
187
- isMobile: q.looseBool,
187
+ isMobile: Q.looseBool,
188
188
  matchMenuKeys: {
189
189
  type: Array,
190
190
  default: () => []
@@ -226,7 +226,7 @@ const Te = {
226
226
  }
227
227
  },
228
228
  // events
229
- onMenuClick: q.func,
229
+ onMenuClick: Q.func,
230
230
  onCollapse: {
231
231
  type: Function
232
232
  }
@@ -286,7 +286,7 @@ const Te = {
286
286
  collapsedWidth: ce.collapsedWidth,
287
287
  siderWidth: ce.siderWidth
288
288
  }, pt = {
289
- loading: q.looseBool,
289
+ loading: Q.looseBool,
290
290
  isMobile: ce.isMobile,
291
291
  collapsed: st.collapsed,
292
292
  siderWidth: ce.siderWidth,
@@ -408,8 +408,8 @@ const Te = {
408
408
  }
409
409
  },
410
410
  pageCardProps: Object,
411
- pageContentStyle: q.style,
412
- pageChildrenContentStyle: q.style,
411
+ pageContentStyle: Q.style,
412
+ pageChildrenContentStyle: Q.style,
413
413
  waterMarkProps: {
414
414
  type: Object
415
415
  },
@@ -434,7 +434,7 @@ const Te = {
434
434
  default: () => {
435
435
  }
436
436
  },
437
- pageHeaderStyle: q.style,
437
+ pageHeaderStyle: Q.style,
438
438
  waterMark: {
439
439
  type: Boolean,
440
440
  default: () => {
@@ -445,7 +445,7 @@ const Te = {
445
445
  default: () => {
446
446
  }
447
447
  },
448
- loading: q.bool.def(!1),
448
+ loading: Q.bool.def(!1),
449
449
  ...ao
450
450
  }, Ot = {
451
451
  dark: {
@@ -495,8 +495,8 @@ const Te = {
495
495
  default: () => null
496
496
  },
497
497
  breadcrumb: [Object, Function],
498
- isChildrenLayout: q.looseBool,
499
- loading: q.looseBool,
498
+ isChildrenLayout: Q.looseBool,
499
+ loading: Q.looseBool,
500
500
  footerLinks: {
501
501
  type: [Array, Boolean],
502
502
  default: gn
@@ -733,7 +733,7 @@ const _e = /* @__PURE__ */ j({
733
733
  return (s = e.onClick) == null ? void 0 : s.call(e, l);
734
734
  }
735
735
  }, [n("svg", {
736
- class: Q(a, o.value),
736
+ class: Y(a, o.value),
737
737
  "aria-hidden": "true"
738
738
  }, [
739
739
  // @ts-ignore
@@ -840,7 +840,7 @@ const po = /* @__PURE__ */ j({
840
840
  const p = R(() => c.fixed.concat(c.normal)), m = R(() => f.value === "mix" && !e.isMobile && d.value), w = R(() => U(s.currentRoute.value)), z = R(() => a.value && !t.value), $ = R(() => {
841
841
  const C = !(m.value && se(g.value).length === 0 || h.value.length === 0 || f.value === "top");
842
842
  return z.value && C ? `calc(100% - ${e.collapsed ? e.collapsedWidth : e.siderWidth}px)` : "100%";
843
- }), I = R(() => Q(`${b}-wrap`, {
843
+ }), I = R(() => Y(`${b}-wrap`, {
844
844
  [`${x.value}`]: !0,
845
845
  [`${b}-wrap-fixed`]: a.value,
846
846
  [`${b}-wrap-loading`]: e.loading
@@ -992,7 +992,7 @@ const po = /* @__PURE__ */ j({
992
992
  return p.value.filter((D, A) => A < N && !T(D)).length === 0;
993
993
  if (C === "closeRightTabs")
994
994
  return p.value.filter((D, A) => A > N && !T(D)).length === 0;
995
- }, Y = (C) => {
995
+ }, q = (C) => {
996
996
  let B;
997
997
  const {
998
998
  name: N,
@@ -1031,7 +1031,7 @@ const po = /* @__PURE__ */ j({
1031
1031
  const B = e.itemRender ? e.itemRender(C) : null, N = T(C);
1032
1032
  return n(ht, {
1033
1033
  trigger: "contextmenu",
1034
- overlay: n(Y, {
1034
+ overlay: n(q, {
1035
1035
  name: U(C) || "",
1036
1036
  stateType: "contextMenuActiveKey"
1037
1037
  }, null),
@@ -1081,14 +1081,14 @@ const po = /* @__PURE__ */ j({
1081
1081
  }, null)
1082
1082
  }, null))],
1083
1083
  rightExtra: () => n("div", {
1084
- class: Q(`${b}-dropdown-menu`, x.value)
1084
+ class: Y(`${b}-dropdown-menu`, x.value)
1085
1085
  }, [n(vt, {
1086
1086
  class: [`${b}-dropdown-menu-btn`, x.value],
1087
1087
  onClick: () => be("reloadPage", "activeKey")
1088
1088
  }, null), n("div", {
1089
1089
  class: [`${b}-dropdown-menu-btn-divider`, x.value]
1090
1090
  }, null), n(ht, {
1091
- overlay: n(Y, {
1091
+ overlay: n(q, {
1092
1092
  name: l.activeKey,
1093
1093
  stateType: "activeKey"
1094
1094
  }, null)
@@ -1488,7 +1488,7 @@ const xo = (e) => {
1488
1488
  onClick: (f) => {
1489
1489
  f.stopPropagation();
1490
1490
  },
1491
- class: Q(`${a}-icon`, i.value, {
1491
+ class: Y(`${a}-icon`, i.value, {
1492
1492
  [`${a}-icon-active`]: l.value
1493
1493
  })
1494
1494
  }, [n(So, null, null)])]
@@ -1673,6 +1673,20 @@ const et = (e) => {
1673
1673
  minHeight: "100%",
1674
1674
  "&-icon": {
1675
1675
  verticalAlign: "unset"
1676
+ },
1677
+ "&-container": {
1678
+ "&::-webkit-scrollbar": {
1679
+ width: 6,
1680
+ height: 6
1681
+ },
1682
+ "&::-webkit-scrollbar-thumb": {
1683
+ backgroundColor: "rgba(0, 0, 0, 0.2)",
1684
+ borderRadius: "1em"
1685
+ },
1686
+ "&::-webkit-scrollbar-track": {
1687
+ background: "hsla(0, 0%, 100%, 0.15)",
1688
+ borderRadius: "1em"
1689
+ }
1676
1690
  }
1677
1691
  },
1678
1692
  [`& ${e.antCls}-layout-sider-children`]: {
@@ -1963,7 +1977,7 @@ const Po = /* @__PURE__ */ j({
1963
1977
  hashId: i
1964
1978
  } = fe("SiderMenuCollapsedIcon", [ko], a);
1965
1979
  return () => o(n("div", {
1966
- class: Q(a, i.value, {
1980
+ class: Y(a, i.value, {
1967
1981
  [`${a}-collapsed`]: e.collapsed,
1968
1982
  [`${a}-is-mobile`]: e.isMobile
1969
1983
  }),
@@ -2176,21 +2190,21 @@ const {
2176
2190
  hashId: K
2177
2191
  } = fe("ProLayoutSiderMenu", [Oo, Lo, Bo, In, (H) => {
2178
2192
  var Ie, we;
2179
- const Y = (Ie = H == null ? void 0 : H.layout) == null ? void 0 : Ie.sider, V = it("sider", H, (we = H.layout) == null ? void 0 : we.key), {
2193
+ const q = (Ie = H == null ? void 0 : H.layout) == null ? void 0 : Ie.sider, V = it("sider", H, (we = H.layout) == null ? void 0 : we.key), {
2180
2194
  dark: xe
2181
2195
  } = ye(H), Ne = ot(H, "sider");
2182
2196
  return {
2183
2197
  [`${H.proComponentsCls}-basic-layout`]: {
2184
2198
  [H.componentCls]: {
2185
- background: (Y == null ? void 0 : Y.colorBgMenu) || (V == null ? void 0 : V.colorBgMenu),
2199
+ background: (q == null ? void 0 : q.colorBgMenu) || (V == null ? void 0 : V.colorBgMenu),
2186
2200
  boxShadow: Ne || xe ? "#0d0d0da6 0 2px 8px" : "2px 0 8px 0 rgba(29,35,41,.05)",
2187
2201
  [`${H.componentCls}-footer`]: {
2188
- color: Y == null ? void 0 : Y.colorTextMenu
2202
+ color: q == null ? void 0 : q.colorTextMenu
2189
2203
  }
2190
2204
  }
2191
2205
  }
2192
2206
  };
2193
- }], I), he = R(() => d.value === "top" ? [] : i.value), de = R(() => e.collapsed ? m.value : p.value), L = R(() => Q([K.value, I, y.value ? "shadow" : null, `${I}-${f.value}`, T.value ? `${I}-fixed` : null])), F = R(() => $.value !== !1 ? $.value || Ln : !1), P = yt(() => e.layout === "simple" || !e.appLogoListRender ? null : n(pn, null, {
2207
+ }], I), he = R(() => d.value === "top" ? [] : i.value), de = R(() => e.collapsed ? m.value : p.value), L = R(() => Y([K.value, I, y.value ? "shadow" : null, `${I}-${f.value}`, T.value ? `${I}-fixed` : null])), F = R(() => $.value !== !1 ? $.value || Ln : !1), P = yt(() => e.layout === "simple" || !e.appLogoListRender ? null : n(pn, null, {
2194
2208
  default: () => {
2195
2209
  var H;
2196
2210
  return [typeof e.appLogoListRender == "function" ? (H = e.appLogoListRender) == null ? void 0 : H.call(e) : e.appLogoListRender];
@@ -2201,20 +2215,20 @@ const {
2201
2215
  e.onCollapse && ((H = e.onCollapse) == null || H.call(e, !c.value));
2202
2216
  }
2203
2217
  const ee = yt(() => {
2204
- var Y;
2218
+ var q;
2205
2219
  if ($.value === !1) return null;
2206
2220
  const H = n(Po, {
2207
2221
  isMobile: y.value,
2208
2222
  collapsed: c.value,
2209
2223
  onClick: () => W()
2210
2224
  }, null);
2211
- return $.value ? (Y = $.value) == null ? void 0 : Y.call($, c.value, H) : H;
2225
+ return $.value ? (q = $.value) == null ? void 0 : q.call($, c.value, H) : H;
2212
2226
  }, [() => e.collapsedButtonRender, () => e.isMobile, () => e.collapsed]), be = (H) => {
2213
- var Y;
2227
+ var q;
2214
2228
  if (e.onSelect) {
2215
2229
  const V = H.selectedKeys;
2216
2230
  if (se(k)) {
2217
- e.onSelect([(Y = a == null ? void 0 : a.value) == null ? void 0 : Y[0], ...V]);
2231
+ e.onSelect([(q = a == null ? void 0 : a.value) == null ? void 0 : q[0], ...V]);
2218
2232
  return;
2219
2233
  }
2220
2234
  e.onSelect(V);
@@ -2223,7 +2237,7 @@ const {
2223
2237
  return () => {
2224
2238
  var we;
2225
2239
  let H;
2226
- const Y = O.value && n(kt, te({
2240
+ const q = O.value && n(kt, te({
2227
2241
  hashId: K.value,
2228
2242
  baseClassName: I
2229
2243
  }, oe(e, Object.keys(rt))), {
@@ -2297,13 +2311,14 @@ const {
2297
2311
  }, [n(It, {
2298
2312
  spinning: b.value,
2299
2313
  indicator: (C = h == null ? void 0 : h.indicator) == null ? void 0 : C.value
2300
- }, null)]), Y || null, Fe(e.menuHeaderRender) && n("div", {
2301
- class: Q([K.value, `${I}-extra`, !Y && `${I}-extra-no-logo`])
2314
+ }, null)]), q || null, Fe(e.menuHeaderRender) && n("div", {
2315
+ class: Y([K.value, `${I}-extra`, !q && `${I}-extra-no-logo`])
2302
2316
  }, [V]), n("div", {
2303
2317
  style: {
2304
2318
  flex: "1 1 0%",
2305
2319
  overflow: "hidden auto"
2306
- }
2320
+ },
2321
+ class: Y(`${I}-menu-container`)
2307
2322
  }, [w.value && ((B = w.value) == null ? void 0 : B.call(w, e, Ie)) || Ie]), e.layout !== "wide" && n(J, null, [Fe(xe) && Mt(xe) && xe.length > 0 && n("div", {
2308
2323
  class: `${I}-links ${K.value}`
2309
2324
  }, [n(ge, {
@@ -2321,9 +2336,9 @@ const {
2321
2336
  }))) ? H : {
2322
2337
  default: () => [H]
2323
2338
  })]), y.value ? null : n("div", {
2324
- class: Q(`${I}-actions`, K.value)
2339
+ class: Y(`${I}-actions`, K.value)
2325
2340
  }, [Ne || n(J, null, [n("div", {
2326
- class: Q(`${I}-actions-item`, K.value),
2341
+ class: Y(`${I}-actions-item`, K.value),
2327
2342
  onClick: () => W()
2328
2343
  }, [F.value && ((N = F.value) == null ? void 0 : N.call(F, c.value))])])])]), z.value && n("div", {
2329
2344
  class: `${I}-footer ${K.value}`
@@ -2801,7 +2816,7 @@ const ti = /* @__PURE__ */ j({
2801
2816
  onDarkChange: e.onDarkChange,
2802
2817
  pageHeaderRender: R(() => Be(t, e, "pageContainerProps:pageHeaderRender"))
2803
2818
  }), () => {
2804
- var Y;
2819
+ var q;
2805
2820
  const M = da(vn, t, e, {
2806
2821
  render: !0
2807
2822
  }), k = re(t, e, "collapsedButtonRender"), O = re(t, e, "footerRender"), T = re(t, e, "headerRender"), X = re(t, e, "headerContentRender"), E = re(t, e, "rightContentRender"), K = re(t, e, "tabsRouteItemRender"), he = re(t, e, "menuItemRender"), de = re(t, e, "menuHeaderRender"), L = re(t, e, "logoContentRender"), F = re(t, e, "menuFooterRender"), P = re(t, e, "subMenuItemRender"), W = re(t, e, "menuContentRender"), ee = I({
@@ -2822,8 +2837,8 @@ const ti = /* @__PURE__ */ j({
2822
2837
  copyright: M.copyrightRender,
2823
2838
  links: e.footerLinks
2824
2839
  }, null);
2825
- return o(n(J, null, [e.pure ? (Y = t.default) == null ? void 0 : Y.call(t) : n("div", {
2826
- class: Q({
2840
+ return o(n(J, null, [e.pure ? (q = t.default) == null ? void 0 : q.call(t) : n("div", {
2841
+ class: Y({
2827
2842
  [`${i.value}`]: !0,
2828
2843
  [`${a}`]: !0,
2829
2844
  [`${a}-${e.layout}`]: !0
@@ -3161,7 +3176,7 @@ const Nn = /* @__PURE__ */ j({
3161
3176
  Object.assign(o, f);
3162
3177
  }, h = (f = "", d) => {
3163
3178
  const y = f ? `${e.className}-${f}` : e.className;
3164
- return Q(y, e.hashId, "");
3179
+ return Y(y, e.hashId, "");
3165
3180
  }, g = () => {
3166
3181
  i().then(() => {
3167
3182
  var f;
@@ -3235,7 +3250,7 @@ const si = /* @__PURE__ */ j({
3235
3250
  onChange: e.onOpenChange
3236
3251
  }), [o, i] = Ce(!1), l = ri(), s = (r = "", h) => {
3237
3252
  const g = r ? `${e.className}-popup-${r}` : `${e.className}-popup`;
3238
- return Q(g, e.hashId, h || "");
3253
+ return Y(g, e.hashId, h || "");
3239
3254
  };
3240
3255
  return () => t.value ? n("div", {
3241
3256
  class: s()
@@ -3566,7 +3581,7 @@ const fi = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
3566
3581
  function x(c, p) {
3567
3582
  c.stopPropagation(), e.keyword ? i.value.splice(p, 1) : a.value.splice(p, 1), o.value = o.value - 1 >= 0 ? o.value - 1 : 0, h();
3568
3583
  }
3569
- const v = (c) => Q(`${e.className}${c ? `-${c}` : ""}`, e.hashId);
3584
+ const v = (c) => Y(`${e.className}${c ? `-${c}` : ""}`, e.hashId);
3570
3585
  return () => n(J, null, [i.value.length > 0 ? n(J, null, [a.value.length > 0 && !e.keyword && n("div", {
3571
3586
  class: v("panel-title")
3572
3587
  }, [_("搜索历史")]), n("div", {
@@ -3575,7 +3590,7 @@ const fi = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
3575
3590
  var m, w, z, $;
3576
3591
  return n("div", {
3577
3592
  key: c.name,
3578
- class: v(Q("panel-item", p === o.value && "active")),
3593
+ class: v(Y("panel-item", p === o.value && "active")),
3579
3594
  "data-search-item": p,
3580
3595
  onClick: () => g(),
3581
3596
  onMouseenter: () => u(p)
@@ -3599,11 +3614,11 @@ const fi = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
3599
3614
  className: e,
3600
3615
  hashId: t
3601
3616
  }) => n("div", {
3602
- class: Q(`${e}-footer`, t)
3617
+ class: Y(`${e}-footer`, t)
3603
3618
  }, [n("div", {
3604
- class: Q(`${e}-footer-icon`, t)
3619
+ class: Y(`${e}-footer-icon`, t)
3605
3620
  }, [n(Ha, null, null), _("选择")]), n("div", {
3606
- class: Q(`${e}-footer-icon`, t)
3621
+ class: Y(`${e}-footer-icon`, t)
3607
3622
  }, [n(Et, null, null), n(Et, {
3608
3623
  rotate: 180
3609
3624
  }, null), _("导航")])]), bi = /* @__PURE__ */ j({
@@ -3647,14 +3662,14 @@ const fi = /* @__PURE__ */ new Set(["$", "(", ")", "*", "+", ".", "?", "[", "\\"
3647
3662
  hashId: o.value
3648
3663
  }, x = `${t}-modal`;
3649
3664
  return a(n(J, null, [n("div", {
3650
- class: Q(t, o.value),
3665
+ class: Y(t, o.value),
3651
3666
  onClick: () => r(!0)
3652
3667
  }, [n(jt, null, null), n("span", {
3653
- class: Q(`${t}-word`, o.value)
3668
+ class: Y(`${t}-word`, o.value)
3654
3669
  }, [_("搜索")]), n("span", {
3655
- class: Q(`${t}-word-icon`, o.value)
3670
+ class: Y(`${t}-word-icon`, o.value)
3656
3671
  }, [_("⌘ "), n("kbd", null, [_("K")])])]), n(Ga, {
3657
- class: Q(`${x}`, o.value),
3672
+ class: Y(`${x}`, o.value),
3658
3673
  width: 600,
3659
3674
  scrollProps: {
3660
3675
  maxHeight: 400,
@@ -4039,7 +4054,7 @@ const os = /* @__PURE__ */ j({
4039
4054
  hashId: m
4040
4055
  } = Ii(r), w = () => {
4041
4056
  var M, k, O, T;
4042
- const $ = Be(t, e, "pageChildrenExtraRender"), I = Q(`${r}-children-content`, m.value, c.value && `${r}-children-content-width`);
4057
+ const $ = Be(t, e, "pageChildrenExtraRender"), I = Y(`${r}-children-content`, m.value, c.value && `${r}-children-content-width`);
4043
4058
  return n("div", {
4044
4059
  class: I,
4045
4060
  style: {
@@ -4078,7 +4093,7 @@ const os = /* @__PURE__ */ j({
4078
4093
  [`${r}`]: !0
4079
4094
  }
4080
4095
  }, [e.loading && n("div", {
4081
- class: Q(`${r}-blur`, m.value)
4096
+ class: Y(`${r}-blur`, m.value)
4082
4097
  }, [n(It, {
4083
4098
  indicator: (O = i == null ? void 0 : i.indicator) == null ? void 0 : O.value
4084
4099
  }, null)]), !u.value && $ !== !1 && ($ || n(xi, {
@@ -4416,14 +4431,14 @@ const Ct = Object.keys(Z).filter((e) => e !== "title"), Ri = [{
4416
4431
  }, Yt = /* @__PURE__ */ j({
4417
4432
  name: "BlockCheckbox",
4418
4433
  props: {
4419
- value: q.string,
4434
+ value: Q.string,
4420
4435
  list: {
4421
4436
  type: Array,
4422
4437
  default: () => []
4423
4438
  },
4424
- configType: q.string,
4425
- prefixCls: q.string,
4426
- hashId: q.string,
4439
+ configType: Q.string,
4440
+ prefixCls: Q.string,
4441
+ hashId: Q.string,
4427
4442
  onChange: Function
4428
4443
  },
4429
4444
  setup(e) {
@@ -4436,7 +4451,7 @@ const Ct = Object.keys(Z).filter((e) => e !== "title"), Ri = [{
4436
4451
  key: a.key
4437
4452
  }, {
4438
4453
  default: () => [n("div", {
4439
- class: Q(e.hashId, `${t}-item`, `${t}-item-${a.key}`, `${t}-${e.configType}-item`),
4454
+ class: Y(e.hashId, `${t}-item`, `${t}-item-${a.key}`, `${t}-${e.configType}-item`),
4440
4455
  onClick: (o) => {
4441
4456
  var i;
4442
4457
  return (i = e.onChange) == null ? void 0 : i.call(e, a.key, o);
@@ -4463,8 +4478,8 @@ const Ct = Object.keys(Z).filter((e) => e !== "title"), Ri = [{
4463
4478
  type: Array,
4464
4479
  default: () => []
4465
4480
  },
4466
- prefixCls: q.string,
4467
- hashId: q.string,
4481
+ prefixCls: Q.string,
4482
+ hashId: Q.string,
4468
4483
  onChange: Function
4469
4484
  },
4470
4485
  setup(e) {
@@ -4497,12 +4512,12 @@ const Ct = Object.keys(Z).filter((e) => e !== "title"), Ri = [{
4497
4512
  }), qe = /* @__PURE__ */ j({
4498
4513
  name: "RegionalChange",
4499
4514
  props: {
4500
- label: q.string,
4501
- value: q.bool,
4502
- prefixCls: q.string,
4515
+ label: Q.string,
4516
+ value: Q.bool,
4517
+ prefixCls: Q.string,
4503
4518
  valueKey: String,
4504
- hashId: q.string,
4505
- disabled: q.bool,
4519
+ hashId: Q.string,
4520
+ disabled: Q.bool,
4506
4521
  onChange: Function
4507
4522
  },
4508
4523
  setup(e) {
@@ -4771,7 +4786,7 @@ const {
4771
4786
  } = Tt, zi = /* @__PURE__ */ j({
4772
4787
  name: "OthersChange",
4773
4788
  props: {
4774
- prefixCls: q.string,
4789
+ prefixCls: Q.string,
4775
4790
  settingValue: Object,
4776
4791
  onChange: Function
4777
4792
  },
@@ -5005,13 +5020,13 @@ const {
5005
5020
  e.storage && (l.value.dark = L);
5006
5021
  });
5007
5022
  const E = (L, F, P) => {
5008
- var be, H, Y;
5023
+ var be, H, q;
5009
5024
  const W = ["header", "sider"], ee = {};
5010
5025
  if (P != null && P.subKey && W.includes(L)) {
5011
5026
  ee[L] = {}, ee[L][P == null ? void 0 : P.subKey] = F, (be = e.onLayoutChange) == null || be.call(e, oe(ee, W));
5012
5027
  return;
5013
5028
  } else
5014
- L === "animate" ? (ee[L] = {}, P != null && P.subKey && (ee[L][P == null ? void 0 : P.subKey] = F), (P == null ? void 0 : P.subKey) === "name" && (ee[L].direction = (Y = (H = Di.find((V) => V.name === F)) == null ? void 0 : H.directions) == null ? void 0 : Y[0])) : ee[L] = F;
5029
+ L === "animate" ? (ee[L] = {}, P != null && P.subKey && (ee[L][P == null ? void 0 : P.subKey] = F), (P == null ? void 0 : P.subKey) === "name" && (ee[L].direction = (q = (H = Di.find((V) => V.name === F)) == null ? void 0 : H.directions) == null ? void 0 : q[0])) : ee[L] = F;
5015
5030
  if (L === "colorWeak") {
5016
5031
  const V = document.querySelector("body");
5017
5032
  V && (V.dataset.prosettingdrawer = F === !0 ? V.style.filter : V.dataset.prosettingdrawer || "none", F === !0 && (V.dataset.prosettingdrawer = V.style.filter), V.style.filter = F === !0 ? "invert(80%)" : V.dataset.prosettingdrawer || "none", F || delete V.dataset.prosettingdrawer);