liyu-pc-base 1.0.10 → 1.0.12

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,10 +1,10 @@
1
1
  import { t as K, i as W, j as U, m as B, v as rl, p as sl } from "../../init-plugin-3dcd1452.js";
2
- import { reactive as v, createVNode as _, defineComponent as R, provide as ul, watch as se, computed as I, onMounted as gt, onUnmounted as dl, Teleport as cl, ref as ht, TransitionGroup as yt, shallowRef as Z, render as We, toRaw as pl, watchEffect as Ke } from "vue";
3
- import { m as D, q as ml, a4 as Je, a5 as fl, O as ae, _ as y, R as Ve, N as _l, o as bt, i as j, h as N, S as vt, z as gl, g as Ct, e as xt, K as X, I as wt, V as me, X as fe, W as _e, Y as ze, a6 as Pt, f as De, k as hl, a7 as yl, a8 as Y, d as bl, v as vl, a9 as Ce, aa as Xe, u as Cl, ab as xl, ac as wl, ad as Pl, ae as $l, af as $t, ag as Il, ah as Ol, ai as Tl, aj as Sl, Z as kl, $ as Ml, ak as jl, al as Al, am as Kl, b as Vl, an as zl, ao as Dl, ap as El, aq as Nl } from "../../modal-tools-05a597e4.js";
2
+ import { reactive as v, createVNode as _, defineComponent as R, provide as ul, watch as ue, computed as I, onMounted as gt, onUnmounted as dl, Teleport as cl, ref as ht, TransitionGroup as yt, shallowRef as Z, render as We, toRaw as pl, watchEffect as Ke } from "vue";
3
+ import { m as D, q as ml, a4 as Je, a5 as fl, O as ae, _ as y, R as Ve, N as _l, o as bt, i as j, h as N, S as vt, z as gl, g as Ct, e as xt, K as X, I as wt, V as fe, X as _e, W as ge, Y as ze, a6 as Pt, f as De, k as hl, a7 as yl, a8 as Y, d as bl, v as vl, a9 as xe, aa as Xe, u as Cl, ab as xl, ac as wl, ad as Pl, ae as $l, af as $t, ag as Il, ah as Ol, ai as Tl, aj as Sl, Z as kl, $ as Ml, ak as jl, al as Al, am as Kl, b as Vl, an as zl, ao as Dl, ap as El, aq as Nl } from "../../modal-tools-05a597e4.js";
4
4
  import { Modal as Ye, message as q, notification as Q } from "ant-design-vue";
5
5
  import { ExclamationCircleOutlined as Qe } from "@ant-design/icons-vue";
6
6
  import { getApiData as L } from "../../api/api-model.js";
7
- import { getApiPermission as ue, getUrl as G } from "./utils.js";
7
+ import { getApiPermission as de, getUrl as G } from "./utils.js";
8
8
  import { l as ee } from "../../lodash-14d7cb6d.js";
9
9
  const ql = () => ({
10
10
  baseColumns: [
@@ -532,7 +532,7 @@ const It = [
532
532
  });
533
533
  }
534
534
  }
535
- ], Pe = {
535
+ ], $e = {
536
536
  creatCol: [],
537
537
  updateCol: []
538
538
  }, Ot = [
@@ -589,7 +589,7 @@ const It = [
589
589
  ], Gl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
590
590
  __proto__: null,
591
591
  btn_list: It,
592
- config: Pe,
592
+ config: $e,
593
593
  head_btn_list: Ot
594
594
  }, Symbol.toStringTag, { value: "Module" })), Ul = () => {
595
595
  const e = {
@@ -668,7 +668,7 @@ const It = [
668
668
  settings: {
669
669
  labelAlign: "right",
670
670
  layout: "vertical",
671
- col: Pe.creatCol
671
+ col: $e.creatCol
672
672
  },
673
673
  fields: [
674
674
  {
@@ -726,7 +726,7 @@ const It = [
726
726
  settings: {
727
727
  labelAlign: "right",
728
728
  layout: "vertical",
729
- col: Pe.creatCol
729
+ col: $e.creatCol
730
730
  },
731
731
  fields: [
732
732
  {
@@ -1257,7 +1257,7 @@ const It = [
1257
1257
  type: "dropdown",
1258
1258
  is_show: ({ record: e }) => e.is_active,
1259
1259
  cb: ({ record: e }) => {
1260
- var r, s, c, m;
1260
+ var r, s, p, m;
1261
1261
  const t = U(), l = [], a = [];
1262
1262
  e.org_id_list && e.org_id_list.length > 0 && e.org_id_list.forEach((u) => {
1263
1263
  l.push(u.id);
@@ -1266,13 +1266,13 @@ const It = [
1266
1266
  });
1267
1267
  let n, i;
1268
1268
  e.is_menu ? e.component ? (e.component == "@/components/remotePages/index.vue" ? i = 0 : i = 1, n = 0) : n = 1 : n = 2;
1269
- let o = null, p = null;
1270
- if (e.state && ((r = e.state) != null && r.split("-")) && ((c = (s = e.state) == null ? void 0 : s.split("-")) == null ? void 0 : c.length) > 0) {
1269
+ let o = null, d = null;
1270
+ if (e.state && ((r = e.state) != null && r.split("-")) && ((p = (s = e.state) == null ? void 0 : s.split("-")) == null ? void 0 : p.length) > 0) {
1271
1271
  const u = (m = e.state) == null ? void 0 : m.split("-");
1272
- u.length == 3 ? (o = u[u.length - 1], u.pop(), p = u.join("-")) : p = e.state;
1272
+ u.length == 3 ? (o = u[u.length - 1], u.pop(), d = u.join("-")) : d = e.state;
1273
1273
  } else
1274
- p = e.state;
1275
- const d = v({
1274
+ d = e.state;
1275
+ const c = v({
1276
1276
  open: !0,
1277
1277
  loading: !1,
1278
1278
  title: "修改菜单",
@@ -1509,7 +1509,7 @@ const It = [
1509
1509
  menu_id: e.id,
1510
1510
  platform: e.platform,
1511
1511
  icon: e.icon,
1512
- state: p,
1512
+ state: d,
1513
1513
  sort: e.sort,
1514
1514
  parent_id: e.parent_id,
1515
1515
  component: e.component,
@@ -1582,7 +1582,7 @@ const It = [
1582
1582
  return;
1583
1583
  }
1584
1584
  const w = u.type != 2;
1585
- d.loading = !0, L(
1585
+ c.loading = !0, L(
1586
1586
  {
1587
1587
  ...u,
1588
1588
  org_ids: g,
@@ -1596,11 +1596,11 @@ const It = [
1596
1596
  ).then(() => {
1597
1597
  q.success("修改成功"), K().emit("refresh"), h(null);
1598
1598
  }).finally(() => {
1599
- d.loading = !1;
1599
+ c.loading = !1;
1600
1600
  });
1601
1601
  })
1602
1602
  });
1603
- t.VITE_APP_HAS_PROJECT && d.form.dynamicFieldList[0].children.push({
1603
+ t.VITE_APP_HAS_PROJECT && c.form.dynamicFieldList[0].children.push({
1604
1604
  type: "remoteselectpro",
1605
1605
  name: "menu_project",
1606
1606
  label: "模块",
@@ -1616,7 +1616,7 @@ const It = [
1616
1616
  valueKey: "project",
1617
1617
  postUrl: "/i18n/query_language_project_list",
1618
1618
  span: 12
1619
- }), D(d);
1619
+ }), D(c);
1620
1620
  }
1621
1621
  },
1622
1622
  {
@@ -2004,10 +2004,10 @@ const It = [
2004
2004
  },
2005
2005
  ok: (i) => {
2006
2006
  var m, u, h;
2007
- let o = "", p = "";
2008
- i.org_ids && i.org_ids.length > 0 && (o = i.org_ids.join(",")), i.org_type == 0 && (o = a.join(",")), i.url_ids && i.url_ids.length > 0 && (p = i.url_ids.join(","));
2009
- let d = i.state;
2010
- i.suffix && (d = d + "-" + i.suffix);
2007
+ let o = "", d = "";
2008
+ i.org_ids && i.org_ids.length > 0 && (o = i.org_ids.join(",")), i.org_type == 0 && (o = a.join(",")), i.url_ids && i.url_ids.length > 0 && (d = i.url_ids.join(","));
2009
+ let c = i.state;
2010
+ i.suffix && (c = c + "-" + i.suffix);
2011
2011
  let r, s;
2012
2012
  if (i.type == 0 && i.state && ((m = i.state) != null && m.split("-")) && ((u = i.state) == null ? void 0 : u.split("-").length) != 2) {
2013
2013
  Q.info({
@@ -2016,7 +2016,7 @@ const It = [
2016
2016
  });
2017
2017
  return;
2018
2018
  } else
2019
- i.type == 2 ? (r = null, s = null) : (r = "/" + ((h = i.state) == null ? void 0 : h.split("-")[0]) + "/" + d, s = d);
2019
+ i.type == 2 ? (r = null, s = null) : (r = "/" + ((h = i.state) == null ? void 0 : h.split("-")[0]) + "/" + c, s = c);
2020
2020
  if (i.type == 0 && i.component_type == 0 && (i.component = "@/components/remotePages/index.vue"), i.type == 0 && !i.component) {
2021
2021
  Q.info({
2022
2022
  message: "温馨提示",
@@ -2024,16 +2024,16 @@ const It = [
2024
2024
  });
2025
2025
  return;
2026
2026
  }
2027
- const c = i.type != 2;
2027
+ const p = i.type != 2;
2028
2028
  n.loading = !0, i.is_all_org ? ml().then((g) => {
2029
2029
  o = g.data.map((C) => C.id).join(","), Je({
2030
2030
  ...i,
2031
2031
  org_ids: o,
2032
- url_ids: p,
2033
- state: d,
2032
+ url_ids: d,
2033
+ state: c,
2034
2034
  menu_name: s,
2035
2035
  menu_path: r,
2036
- is_menu: c
2036
+ is_menu: p
2037
2037
  }).then(() => {
2038
2038
  q.success("新增菜单成功"), K().emit("refresh");
2039
2039
  }).finally(() => {
@@ -2042,11 +2042,11 @@ const It = [
2042
2042
  }) : Je({
2043
2043
  ...i,
2044
2044
  org_ids: o,
2045
- url_ids: p,
2046
- state: d,
2045
+ url_ids: d,
2046
+ state: c,
2047
2047
  menu_name: s,
2048
2048
  menu_path: r,
2049
- is_menu: c
2049
+ is_menu: p
2050
2050
  }).then(() => {
2051
2051
  q.success("新增菜单成功"), K().emit("refresh");
2052
2052
  }).finally(() => {
@@ -2475,11 +2475,11 @@ const It = [
2475
2475
  },
2476
2476
  ok: (i) => new Promise((o) => {
2477
2477
  var u, h, g;
2478
- let p = "", d = "";
2479
- i.org_ids && i.org_ids.length > 0 && (p = i.org_ids.join(",")), i.org_type == 0 && (p = a.join(",")), i.url_ids && i.url_ids.length > 0 && (d = i.url_ids.join(","));
2478
+ let d = "", c = "";
2479
+ i.org_ids && i.org_ids.length > 0 && (d = i.org_ids.join(",")), i.org_type == 0 && (d = a.join(",")), i.url_ids && i.url_ids.length > 0 && (c = i.url_ids.join(","));
2480
2480
  let r = i.state;
2481
2481
  i.suffix && (r = r + "-" + i.suffix);
2482
- let s, c;
2482
+ let s, p;
2483
2483
  if (i.type == 0 && i.state && ((u = i.state) != null && u.split("-")) && ((h = i.state) == null ? void 0 : h.split("-").length) != 2) {
2484
2484
  Q.info({
2485
2485
  message: "温馨提示",
@@ -2487,7 +2487,7 @@ const It = [
2487
2487
  });
2488
2488
  return;
2489
2489
  } else
2490
- i.type == 2 ? (s = null, c = null) : (s = "/" + ((g = i.state) == null ? void 0 : g.split("-")[0]) + "/" + r, c = r);
2490
+ i.type == 2 ? (s = null, p = null) : (s = "/" + ((g = i.state) == null ? void 0 : g.split("-")[0]) + "/" + r, p = r);
2491
2491
  if (i.type == 0 && i.component_type == 0 && (i.component = "@/components/remotePages/index.vue"), i.type == 0 && !i.component) {
2492
2492
  Q.info({
2493
2493
  message: "温馨提示",
@@ -2502,10 +2502,10 @@ const It = [
2502
2502
  org_id: l.id,
2503
2503
  is_menu: m,
2504
2504
  state: r,
2505
- menu_name: c,
2505
+ menu_name: p,
2506
2506
  menu_path: s,
2507
- org_ids: p,
2508
- url_ids: d
2507
+ org_ids: d,
2508
+ url_ids: c
2509
2509
  },
2510
2510
  "/permission/create_menu"
2511
2511
  ).then(() => {
@@ -2895,7 +2895,7 @@ async function ta(e) {
2895
2895
  async function la(e) {
2896
2896
  return W().post("/sys/update_user", e);
2897
2897
  }
2898
- const kt = [], $e = {
2898
+ const kt = [], Ie = {
2899
2899
  creatCol: [],
2900
2900
  updateCol: []
2901
2901
  }, Mt = [
@@ -2967,7 +2967,7 @@ const kt = [], $e = {
2967
2967
  ], aa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2968
2968
  __proto__: null,
2969
2969
  btn_list: kt,
2970
- config: $e,
2970
+ config: Ie,
2971
2971
  head_btn_list: Mt
2972
2972
  }, Symbol.toStringTag, { value: "Module" })), na = () => {
2973
2973
  const t = B().currentOrg, l = {
@@ -3001,7 +3001,7 @@ const kt = [], $e = {
3001
3001
  settings: {
3002
3002
  labelAlign: "right",
3003
3003
  layout: "horizontal",
3004
- col: $e.creatCol
3004
+ col: Ie.creatCol
3005
3005
  },
3006
3006
  fields: [
3007
3007
  {
@@ -3084,7 +3084,7 @@ const kt = [], $e = {
3084
3084
  settings: {
3085
3085
  labelAlign: "right",
3086
3086
  layout: "horizontal",
3087
- col: $e.creatCol
3087
+ col: Ie.creatCol
3088
3088
  },
3089
3089
  fields: [
3090
3090
  {
@@ -3353,12 +3353,12 @@ var He = function(t, l) {
3353
3353
  };
3354
3354
  He.displayName = "InfoCircleFilled";
3355
3355
  He.inheritAttrs = !1;
3356
- const ge = He;
3357
- let xe = y({}, Ve.Modal);
3356
+ const he = He;
3357
+ let we = y({}, Ve.Modal);
3358
3358
  function Ta(e) {
3359
- e ? xe = y(y({}, xe), e) : xe = y({}, Ve.Modal);
3359
+ e ? we = y(y({}, we), e) : we = y({}, Ve.Modal);
3360
3360
  }
3361
- const Ie = "internalMark", de = R({
3361
+ const Oe = "internalMark", ce = R({
3362
3362
  compatConfig: {
3363
3363
  MODE: 3
3364
3364
  },
@@ -3373,14 +3373,14 @@ const Ie = "internalMark", de = R({
3373
3373
  let {
3374
3374
  slots: l
3375
3375
  } = t;
3376
- bt(e.ANT_MARK__ === Ie, "LocaleProvider", "`LocaleProvider` is deprecated. Please use `locale` with `ConfigProvider` instead");
3376
+ bt(e.ANT_MARK__ === Oe, "LocaleProvider", "`LocaleProvider` is deprecated. Please use `locale` with `ConfigProvider` instead");
3377
3377
  const a = v({
3378
3378
  antLocale: y(y({}, e.locale), {
3379
3379
  exist: !0
3380
3380
  }),
3381
- ANT_MARK__: Ie
3381
+ ANT_MARK__: Oe
3382
3382
  });
3383
- return ul("localeData", a), se(() => e.locale, (n) => {
3383
+ return ul("localeData", a), ue(() => e.locale, (n) => {
3384
3384
  Ta(n && n.Modal), a.antLocale = y(y({}, n), {
3385
3385
  exist: !0
3386
3386
  });
@@ -3392,10 +3392,10 @@ const Ie = "internalMark", de = R({
3392
3392
  };
3393
3393
  }
3394
3394
  });
3395
- de.install = function(e) {
3396
- return e.component(de.name, de), e;
3395
+ ce.install = function(e) {
3396
+ return e.component(ce.name, ce), e;
3397
3397
  };
3398
- const Sa = _l(de), he = R({
3398
+ const Sa = _l(ce), ye = R({
3399
3399
  name: "Notice",
3400
3400
  inheritAttrs: !1,
3401
3401
  props: ["prefixCls", "duration", "updateMark", "noticeKey", "closeIcon", "closable", "props", "onClick", "onClose", "holder", "visible"],
@@ -3404,37 +3404,37 @@ const Sa = _l(de), he = R({
3404
3404
  attrs: l,
3405
3405
  slots: a
3406
3406
  } = t, n, i = !1;
3407
- const o = I(() => e.duration === void 0 ? 4.5 : e.duration), p = () => {
3407
+ const o = I(() => e.duration === void 0 ? 4.5 : e.duration), d = () => {
3408
3408
  o.value && !i && (n = setTimeout(() => {
3409
3409
  r();
3410
3410
  }, o.value * 1e3));
3411
- }, d = () => {
3411
+ }, c = () => {
3412
3412
  n && (clearTimeout(n), n = null);
3413
- }, r = (c) => {
3414
- c && c.stopPropagation(), d();
3413
+ }, r = (p) => {
3414
+ p && p.stopPropagation(), c();
3415
3415
  const {
3416
3416
  onClose: m,
3417
3417
  noticeKey: u
3418
3418
  } = e;
3419
3419
  m && m(u);
3420
3420
  }, s = () => {
3421
- d(), p();
3421
+ c(), d();
3422
3422
  };
3423
3423
  return gt(() => {
3424
- p();
3424
+ d();
3425
3425
  }), dl(() => {
3426
- i = !0, d();
3427
- }), se([o, () => e.updateMark, () => e.visible], (c, m) => {
3428
- let [u, h, g] = c, [C, b, P] = m;
3426
+ i = !0, c();
3427
+ }), ue([o, () => e.updateMark, () => e.visible], (p, m) => {
3428
+ let [u, h, g] = p, [C, b, P] = m;
3429
3429
  (u !== C || h !== b || g !== P && P) && s();
3430
3430
  }, {
3431
3431
  flush: "post"
3432
3432
  }), () => {
3433
- var c, m;
3433
+ var p, m;
3434
3434
  const {
3435
3435
  prefixCls: u,
3436
3436
  closable: h,
3437
- closeIcon: g = (c = a.closeIcon) === null || c === void 0 ? void 0 : c.call(a),
3437
+ closeIcon: g = (p = a.closeIcon) === null || p === void 0 ? void 0 : p.call(a),
3438
3438
  onClick: C,
3439
3439
  holder: b
3440
3440
  } = e, {
@@ -3445,8 +3445,8 @@ const Sa = _l(de), he = R({
3445
3445
  [`${w}-closable`]: h
3446
3446
  }),
3447
3447
  style: T,
3448
- onMouseenter: d,
3449
- onMouseleave: p,
3448
+ onMouseenter: c,
3449
+ onMouseleave: d,
3450
3450
  onClick: C
3451
3451
  }, $), [_("div", {
3452
3452
  class: `${w}-content`
@@ -3480,7 +3480,7 @@ function rt() {
3480
3480
  const e = ot;
3481
3481
  return ot += 1, `rcNotification_${Ma}_${e}`;
3482
3482
  }
3483
- const Oe = R({
3483
+ const Te = R({
3484
3484
  name: "Notification",
3485
3485
  inheritAttrs: !1,
3486
3486
  props: ["prefixCls", "transitionName", "animation", "maxCount", "closeIcon", "hashId"],
@@ -3490,14 +3490,14 @@ const Oe = R({
3490
3490
  expose: a,
3491
3491
  slots: n
3492
3492
  } = t;
3493
- const i = /* @__PURE__ */ new Map(), o = ht([]), p = I(() => {
3493
+ const i = /* @__PURE__ */ new Map(), o = ht([]), d = I(() => {
3494
3494
  const {
3495
3495
  prefixCls: s,
3496
- animation: c = "fade"
3496
+ animation: p = "fade"
3497
3497
  } = e;
3498
3498
  let m = e.transitionName;
3499
- return !m && c && (m = `${s}-${c}`), vt(m);
3500
- }), d = (s, c) => {
3499
+ return !m && p && (m = `${s}-${p}`), vt(m);
3500
+ }), c = (s, p) => {
3501
3501
  const m = s.key || rt(), u = y(y({}, s), {
3502
3502
  key: m
3503
3503
  }), {
@@ -3505,32 +3505,32 @@ const Oe = R({
3505
3505
  } = e, g = o.value.map((b) => b.notice.key).indexOf(m), C = o.value.concat();
3506
3506
  g !== -1 ? C.splice(g, 1, {
3507
3507
  notice: u,
3508
- holderCallback: c
3508
+ holderCallback: p
3509
3509
  }) : (h && o.value.length >= h && (u.key = C[0].notice.key, u.updateMark = rt(), u.userPassKey = m, C.shift()), C.push({
3510
3510
  notice: u,
3511
- holderCallback: c
3511
+ holderCallback: p
3512
3512
  })), o.value = C;
3513
3513
  }, r = (s) => {
3514
- o.value = pl(o.value).filter((c) => {
3514
+ o.value = pl(o.value).filter((p) => {
3515
3515
  let {
3516
3516
  notice: {
3517
3517
  key: m,
3518
3518
  userPassKey: u
3519
3519
  }
3520
- } = c;
3520
+ } = p;
3521
3521
  return (u || m) !== s;
3522
3522
  });
3523
3523
  };
3524
3524
  return a({
3525
- add: d,
3525
+ add: c,
3526
3526
  remove: r,
3527
3527
  notices: o
3528
3528
  }), () => {
3529
3529
  var s;
3530
3530
  const {
3531
- prefixCls: c,
3531
+ prefixCls: p,
3532
3532
  closeIcon: m = (s = n.closeIcon) === null || s === void 0 ? void 0 : s.call(n, {
3533
- prefixCls: c
3533
+ prefixCls: p
3534
3534
  })
3535
3535
  } = e, u = o.value.map((g, C) => {
3536
3536
  let {
@@ -3543,9 +3543,9 @@ const Oe = R({
3543
3543
  } = b, {
3544
3544
  content: S
3545
3545
  } = b, O = y(y(y({
3546
- prefixCls: c,
3546
+ prefixCls: p,
3547
3547
  closeIcon: typeof m == "function" ? m({
3548
- prefixCls: c
3548
+ prefixCls: p
3549
3549
  }) : m
3550
3550
  }, b), b.props), {
3551
3551
  key: w,
@@ -3559,19 +3559,19 @@ const Oe = R({
3559
3559
  });
3560
3560
  return P ? _("div", {
3561
3561
  key: w,
3562
- class: `${c}-hook-holder`,
3562
+ class: `${p}-hook-holder`,
3563
3563
  ref: (k) => {
3564
3564
  typeof w > "u" || (k ? (i.set(w, k), P(k, O)) : i.delete(w));
3565
3565
  }
3566
- }, null) : _(he, j(j({}, O), {}, {
3566
+ }, null) : _(ye, j(j({}, O), {}, {
3567
3567
  class: N(O.class, e.hashId)
3568
3568
  }), {
3569
3569
  default: () => [typeof S == "function" ? S({
3570
- prefixCls: c
3570
+ prefixCls: p
3571
3571
  }) : S]
3572
3572
  });
3573
3573
  }), h = {
3574
- [c]: 1,
3574
+ [p]: 1,
3575
3575
  [l.class]: !!l.class,
3576
3576
  [e.hashId]: !0
3577
3577
  };
@@ -3583,22 +3583,22 @@ const Oe = R({
3583
3583
  }
3584
3584
  }, [_(yt, j({
3585
3585
  tag: "div"
3586
- }, p.value), {
3586
+ }, d.value), {
3587
3587
  default: () => [u]
3588
3588
  })]);
3589
3589
  };
3590
3590
  }
3591
3591
  });
3592
- Oe.newInstance = function(t, l) {
3592
+ Te.newInstance = function(t, l) {
3593
3593
  const a = t || {}, {
3594
3594
  name: n = "notification",
3595
3595
  getContainer: i,
3596
3596
  appContext: o,
3597
- prefixCls: p,
3598
- rootPrefixCls: d,
3597
+ prefixCls: d,
3598
+ rootPrefixCls: c,
3599
3599
  transitionName: r,
3600
3600
  hasTransitionName: s,
3601
- useStyle: c
3601
+ useStyle: p
3602
3602
  } = a, m = ka(a, ["name", "getContainer", "appContext", "prefixCls", "rootPrefixCls", "transitionName", "hasTransitionName", "useStyle"]), u = document.createElement("div");
3603
3603
  i ? i().appendChild(u) : document.body.appendChild(u);
3604
3604
  const h = R({
@@ -3610,7 +3610,7 @@ Oe.newInstance = function(t, l) {
3610
3610
  let {
3611
3611
  attrs: P
3612
3612
  } = b;
3613
- const T = Z(), w = I(() => V.getPrefixCls(n, p)), [, $] = c(w);
3613
+ const T = Z(), w = I(() => V.getPrefixCls(n, d)), [, $] = p(w);
3614
3614
  return gt(() => {
3615
3615
  l({
3616
3616
  notice(S) {
@@ -3627,11 +3627,11 @@ Oe.newInstance = function(t, l) {
3627
3627
  component: T
3628
3628
  });
3629
3629
  }), () => {
3630
- const S = V, O = S.getRootPrefixCls(d, w.value), k = s ? r : `${w.value}-${r}`;
3630
+ const S = V, O = S.getRootPrefixCls(c, w.value), k = s ? r : `${w.value}-${r}`;
3631
3631
  return _(On, j(j({}, S), {}, {
3632
3632
  prefixCls: O
3633
3633
  }), {
3634
- default: () => [_(Oe, j(j({
3634
+ default: () => [_(Te, j(j({
3635
3635
  ref: T
3636
3636
  }, P), {}, {
3637
3637
  prefixCls: w.value,
@@ -3644,7 +3644,7 @@ Oe.newInstance = function(t, l) {
3644
3644
  }), g = _(h, m);
3645
3645
  g.appContext = o || g.appContext, We(g, u);
3646
3646
  };
3647
- const jt = Oe;
3647
+ const jt = Te;
3648
3648
  let st = 0;
3649
3649
  const ja = Date.now();
3650
3650
  function ut() {
@@ -3678,76 +3678,76 @@ const Aa = R({
3678
3678
  break;
3679
3679
  }
3680
3680
  return vt(s);
3681
- }), p = (s) => e.remove(s), d = ht({});
3682
- se(i, () => {
3681
+ }), d = (s) => e.remove(s), c = ht({});
3682
+ ue(i, () => {
3683
3683
  const s = {};
3684
- Object.keys(d.value).forEach((c) => {
3685
- s[c] = [];
3686
- }), e.notices.forEach((c) => {
3684
+ Object.keys(c.value).forEach((p) => {
3685
+ s[p] = [];
3686
+ }), e.notices.forEach((p) => {
3687
3687
  const {
3688
3688
  placement: m = "topRight"
3689
- } = c.notice;
3690
- m && (s[m] = s[m] || [], s[m].push(c));
3691
- }), d.value = s;
3689
+ } = p.notice;
3690
+ m && (s[m] = s[m] || [], s[m].push(p));
3691
+ }), c.value = s;
3692
3692
  });
3693
- const r = I(() => Object.keys(d.value));
3693
+ const r = I(() => Object.keys(c.value));
3694
3694
  return () => {
3695
3695
  var s;
3696
3696
  const {
3697
- prefixCls: c,
3697
+ prefixCls: p,
3698
3698
  closeIcon: m = (s = a.closeIcon) === null || s === void 0 ? void 0 : s.call(a, {
3699
- prefixCls: c
3699
+ prefixCls: p
3700
3700
  })
3701
3701
  } = e, u = r.value.map((h) => {
3702
3702
  var g, C;
3703
- const b = d.value[h], P = (g = e.getClassName) === null || g === void 0 ? void 0 : g.call(e, h), T = (C = e.getStyles) === null || C === void 0 ? void 0 : C.call(e, h), w = b.map((O, k) => {
3703
+ const b = c.value[h], P = (g = e.getClassName) === null || g === void 0 ? void 0 : g.call(e, h), T = (C = e.getStyles) === null || C === void 0 ? void 0 : C.call(e, h), w = b.map((O, k) => {
3704
3704
  let {
3705
3705
  notice: M,
3706
3706
  holderCallback: E
3707
3707
  } = O;
3708
- const ye = k === i.value.length - 1 ? M.updateMark : void 0, {
3708
+ const be = k === i.value.length - 1 ? M.updateMark : void 0, {
3709
3709
  key: F,
3710
- userPassKey: be
3710
+ userPassKey: ve
3711
3711
  } = M, {
3712
3712
  content: ne
3713
3713
  } = M, f = y(y(y({
3714
- prefixCls: c,
3714
+ prefixCls: p,
3715
3715
  closeIcon: typeof m == "function" ? m({
3716
- prefixCls: c
3716
+ prefixCls: p
3717
3717
  }) : m
3718
3718
  }, M), M.props), {
3719
3719
  key: F,
3720
- noticeKey: be || F,
3721
- updateMark: ye,
3720
+ noticeKey: ve || F,
3721
+ updateMark: be,
3722
3722
  onClose: (x) => {
3723
3723
  var A;
3724
- p(x), (A = M.onClose) === null || A === void 0 || A.call(M);
3724
+ d(x), (A = M.onClose) === null || A === void 0 || A.call(M);
3725
3725
  },
3726
3726
  onClick: M.onClick
3727
3727
  });
3728
3728
  return E ? _("div", {
3729
3729
  key: F,
3730
- class: `${c}-hook-holder`,
3730
+ class: `${p}-hook-holder`,
3731
3731
  ref: (x) => {
3732
3732
  typeof F > "u" || (x ? (n.set(F, x), E(x, f)) : n.delete(F));
3733
3733
  }
3734
- }, null) : _(he, j(j({}, f), {}, {
3734
+ }, null) : _(ye, j(j({}, f), {}, {
3735
3735
  class: N(f.class, e.hashId)
3736
3736
  }), {
3737
3737
  default: () => [typeof ne == "function" ? ne({
3738
- prefixCls: c
3738
+ prefixCls: p
3739
3739
  }) : ne]
3740
3740
  });
3741
3741
  }), $ = {
3742
- [c]: 1,
3743
- [`${c}-${h}`]: 1,
3742
+ [p]: 1,
3743
+ [`${p}-${h}`]: 1,
3744
3744
  [l.class]: !!l.class,
3745
3745
  [e.hashId]: !0,
3746
3746
  [P]: !!P
3747
3747
  };
3748
3748
  function S() {
3749
3749
  var O;
3750
- b.length > 0 || (Reflect.deleteProperty(d.value, h), (O = e.onAllRemoved) === null || O === void 0 || O.call(e));
3750
+ b.length > 0 || (Reflect.deleteProperty(c.value, h), (O = e.onAllRemoved) === null || O === void 0 || O.call(e));
3751
3751
  }
3752
3752
  return _("div", {
3753
3753
  key: h,
@@ -3803,8 +3803,8 @@ function At() {
3803
3803
  maxCount: n,
3804
3804
  getClassName: i,
3805
3805
  getStyles: o,
3806
- onAllRemoved: p
3807
- } = e, d = Va(e, ["getContainer", "motion", "prefixCls", "maxCount", "getClassName", "getStyles", "onAllRemoved"]), r = Z([]), s = Z(), c = (b, P) => {
3806
+ onAllRemoved: d
3807
+ } = e, c = Va(e, ["getContainer", "motion", "prefixCls", "maxCount", "getClassName", "getStyles", "onAllRemoved"]), r = Z([]), s = Z(), p = (b, P) => {
3808
3808
  const T = b.key || ut(), w = y(y({}, b), {
3809
3809
  key: T
3810
3810
  }), $ = r.value.map((O) => O.notice.key).indexOf(T), S = r.value.concat();
@@ -3837,11 +3837,11 @@ function At() {
3837
3837
  getStyles: o,
3838
3838
  animation: l,
3839
3839
  hashId: e.hashId,
3840
- onAllRemoved: p,
3840
+ onAllRemoved: d,
3841
3841
  getContainer: t
3842
3842
  }, null), g = Z([]), C = {
3843
3843
  open: (b) => {
3844
- const P = Da(d, b);
3844
+ const P = Da(c, b);
3845
3845
  (P.key === null || P.key === void 0) && (P.key = `vc-notification-${dt}`, dt += 1), g.value = [...g.value, {
3846
3846
  type: "open",
3847
3847
  config: P
@@ -3859,11 +3859,11 @@ function At() {
3859
3859
  }];
3860
3860
  }
3861
3861
  };
3862
- return se(g, () => {
3862
+ return ue(g, () => {
3863
3863
  g.value.length && (g.value.forEach((b) => {
3864
3864
  switch (b.type) {
3865
3865
  case "open":
3866
- c(b.config);
3866
+ p(b.config);
3867
3867
  break;
3868
3868
  case "close":
3869
3869
  m(b.key);
@@ -3883,11 +3883,11 @@ const Ea = (e) => {
3883
3883
  colorBgElevated: n,
3884
3884
  colorSuccess: i,
3885
3885
  colorError: o,
3886
- colorWarning: p,
3887
- colorInfo: d,
3886
+ colorWarning: d,
3887
+ colorInfo: c,
3888
3888
  fontSizeLG: r,
3889
3889
  motionEaseInOutCirc: s,
3890
- motionDurationSlow: c,
3890
+ motionDurationSlow: p,
3891
3891
  marginXS: m,
3892
3892
  paddingXS: u,
3893
3893
  borderRadiusLG: h,
@@ -3936,7 +3936,7 @@ const Ea = (e) => {
3936
3936
  ${t}-move-up-enter
3937
3937
  `]: {
3938
3938
  animationName: b,
3939
- animationDuration: c,
3939
+ animationDuration: p,
3940
3940
  animationPlayState: "paused",
3941
3941
  animationTimingFunction: s
3942
3942
  },
@@ -3948,7 +3948,7 @@ const Ea = (e) => {
3948
3948
  },
3949
3949
  [`${t}-move-up-leave`]: {
3950
3950
  animationName: P,
3951
- animationDuration: c,
3951
+ animationDuration: p,
3952
3952
  animationPlayState: "paused",
3953
3953
  animationTimingFunction: s
3954
3954
  },
@@ -3988,12 +3988,12 @@ const Ea = (e) => {
3988
3988
  color: o
3989
3989
  },
3990
3990
  [`${t}-warning ${l}`]: {
3991
- color: p
3991
+ color: d
3992
3992
  },
3993
3993
  [`
3994
3994
  ${t}-info ${l},
3995
3995
  ${t}-loading ${l}`]: {
3996
- color: d
3996
+ color: c
3997
3997
  }
3998
3998
  }
3999
3999
  },
@@ -4014,10 +4014,10 @@ const Ea = (e) => {
4014
4014
  height: 150,
4015
4015
  zIndexPopup: e.zIndexPopupBase + 10
4016
4016
  })), Na = {
4017
- info: _(ge, null, null),
4018
- success: _(me, null, null),
4019
- error: _(fe, null, null),
4020
- warning: _(_e, null, null),
4017
+ info: _(he, null, null),
4018
+ success: _(fe, null, null),
4019
+ error: _(_e, null, null),
4020
+ warning: _(ge, null, null),
4021
4021
  loading: _(ze, null, null)
4022
4022
  }, Kt = R({
4023
4023
  name: "PureContent",
@@ -4047,10 +4047,10 @@ R({
4047
4047
  var n;
4048
4048
  const {
4049
4049
  getPrefixCls: i
4050
- } = Pt(), o = I(() => e.prefixCls || i("message")), [, p] = Ge(o);
4051
- return _(he, j(j({}, a), {}, {
4050
+ } = Pt(), o = I(() => e.prefixCls || i("message")), [, d] = Ge(o);
4051
+ return _(ye, j(j({}, a), {}, {
4052
4052
  prefixCls: o.value,
4053
- class: N(p.value, `${o.value}-notice-pure-panel`),
4053
+ class: N(d.value, `${o.value}-notice-pure-panel`),
4054
4054
  noticeKey: "pure",
4055
4055
  duration: null
4056
4056
  }), {
@@ -4085,7 +4085,7 @@ const Ra = 8, La = 3, Fa = R({
4085
4085
  const {
4086
4086
  getPrefixCls: i,
4087
4087
  getPopupContainer: o
4088
- } = De("message", e), p = I(() => i("message", e.prefixCls)), [, d] = Ge(p), r = () => {
4088
+ } = De("message", e), d = I(() => i("message", e.prefixCls)), [, c] = Ge(d), r = () => {
4089
4089
  var g;
4090
4090
  const C = (g = e.top) !== null && g !== void 0 ? g : Ra;
4091
4091
  return {
@@ -4093,23 +4093,23 @@ const Ra = 8, La = 3, Fa = R({
4093
4093
  transform: "translateX(-50%)",
4094
4094
  top: typeof C == "number" ? `${C}px` : C
4095
4095
  };
4096
- }, s = () => N(d.value, e.rtl ? `${p.value}-rtl` : ""), c = () => {
4096
+ }, s = () => N(c.value, e.rtl ? `${d.value}-rtl` : ""), p = () => {
4097
4097
  var g;
4098
4098
  return hl({
4099
- prefixCls: p.value,
4099
+ prefixCls: d.value,
4100
4100
  animation: (g = e.animation) !== null && g !== void 0 ? g : "move-up",
4101
4101
  transitionName: e.transitionName
4102
4102
  });
4103
4103
  }, m = _("span", {
4104
- class: `${p.value}-close-x`
4104
+ class: `${d.value}-close-x`
4105
4105
  }, [_(Ne, {
4106
- class: `${p.value}-close-icon`
4106
+ class: `${d.value}-close-icon`
4107
4107
  }, null)]), [u, h] = At({
4108
4108
  //@ts-ignore
4109
4109
  getStyles: r,
4110
- prefixCls: p.value,
4110
+ prefixCls: d.value,
4111
4111
  getClassName: s,
4112
- motion: c,
4112
+ motion: p,
4113
4113
  closable: !1,
4114
4114
  closeIcon: m,
4115
4115
  duration: (a = e.duration) !== null && a !== void 0 ? a : La,
@@ -4118,17 +4118,17 @@ const Ra = 8, La = 3, Fa = R({
4118
4118
  onAllRemoved: e.onAllRemoved
4119
4119
  });
4120
4120
  return l(y(y({}, u), {
4121
- prefixCls: p,
4122
- hashId: d
4121
+ prefixCls: d,
4122
+ hashId: c
4123
4123
  })), h;
4124
4124
  }
4125
4125
  });
4126
4126
  let ct = 0;
4127
4127
  function Ha(e) {
4128
- const t = Z(null), l = Symbol("messageHolderKey"), a = (d) => {
4128
+ const t = Z(null), l = Symbol("messageHolderKey"), a = (c) => {
4129
4129
  var r;
4130
- (r = t.value) === null || r === void 0 || r.close(d);
4131
- }, n = (d) => {
4130
+ (r = t.value) === null || r === void 0 || r.close(c);
4131
+ }, n = (c) => {
4132
4132
  if (!t.value) {
4133
4133
  const $ = () => {
4134
4134
  };
@@ -4138,7 +4138,7 @@ function Ha(e) {
4138
4138
  const {
4139
4139
  open: r,
4140
4140
  prefixCls: s,
4141
- hashId: c
4141
+ hashId: p
4142
4142
  } = t.value, m = `${s}-notice`, {
4143
4143
  content: u,
4144
4144
  icon: h,
@@ -4146,7 +4146,7 @@ function Ha(e) {
4146
4146
  key: C,
4147
4147
  class: b,
4148
4148
  onClose: P
4149
- } = d, T = qa(d, ["content", "icon", "type", "key", "class", "onClose"]);
4149
+ } = c, T = qa(c, ["content", "icon", "type", "key", "class", "onClose"]);
4150
4150
  let w = C;
4151
4151
  return w == null && (ct += 1, w = `antd-message-${ct}`), yl(($) => (r(y(y({}, T), {
4152
4152
  key: w,
@@ -4159,7 +4159,7 @@ function Ha(e) {
4159
4159
  }),
4160
4160
  placement: "top",
4161
4161
  // @ts-ignore
4162
- class: N(g && `${m}-${g}`, c, b),
4162
+ class: N(g && `${m}-${g}`, p, b),
4163
4163
  onClose: () => {
4164
4164
  P == null || P(), $();
4165
4165
  }
@@ -4168,28 +4168,28 @@ function Ha(e) {
4168
4168
  }));
4169
4169
  }, o = {
4170
4170
  open: n,
4171
- destroy: (d) => {
4171
+ destroy: (c) => {
4172
4172
  var r;
4173
- d !== void 0 ? a(d) : (r = t.value) === null || r === void 0 || r.destroy();
4173
+ c !== void 0 ? a(c) : (r = t.value) === null || r === void 0 || r.destroy();
4174
4174
  }
4175
4175
  };
4176
- return ["info", "success", "warning", "error", "loading"].forEach((d) => {
4177
- const r = (s, c, m) => {
4176
+ return ["info", "success", "warning", "error", "loading"].forEach((c) => {
4177
+ const r = (s, p, m) => {
4178
4178
  let u;
4179
4179
  s && typeof s == "object" && "content" in s ? u = s : u = {
4180
4180
  content: s
4181
4181
  };
4182
4182
  let h, g;
4183
- typeof c == "function" ? g = c : (h = c, g = m);
4183
+ typeof p == "function" ? g = p : (h = p, g = m);
4184
4184
  const C = y(y({
4185
4185
  onClose: g,
4186
4186
  duration: h
4187
4187
  }, u), {
4188
- type: d
4188
+ type: c
4189
4189
  });
4190
4190
  return n(C);
4191
4191
  };
4192
- o[d] = r;
4192
+ o[c] = r;
4193
4193
  }), [o, () => _(Fa, j(j({
4194
4194
  key: l
4195
4195
  }, e), {}, {
@@ -4233,32 +4233,32 @@ function Ja(e, t) {
4233
4233
  });
4234
4234
  }
4235
4235
  const Ft = {
4236
- info: ge,
4237
- success: me,
4238
- error: fe,
4239
- warning: _e,
4236
+ info: he,
4237
+ success: fe,
4238
+ error: _e,
4239
+ warning: ge,
4240
4240
  loading: ze
4241
4241
  }, Xa = Object.keys(Ft);
4242
4242
  function Ya(e) {
4243
4243
  const t = e.duration !== void 0 ? e.duration : Vt, l = e.key || Ba(), a = new Promise((i) => {
4244
4244
  const o = () => (typeof e.onClose == "function" && e.onClose(), i(!0));
4245
- Ja(e, (p) => {
4246
- p.notice({
4245
+ Ja(e, (d) => {
4246
+ d.notice({
4247
4247
  key: l,
4248
4248
  duration: t,
4249
4249
  style: e.style || {},
4250
4250
  class: e.class,
4251
- content: (d) => {
4251
+ content: (c) => {
4252
4252
  let {
4253
4253
  prefixCls: r
4254
- } = d;
4255
- const s = Ft[e.type], c = s ? _(s, null, null) : "", m = N(`${r}-custom-content`, {
4254
+ } = c;
4255
+ const s = Ft[e.type], p = s ? _(s, null, null) : "", m = N(`${r}-custom-content`, {
4256
4256
  [`${r}-${e.type}`]: e.type,
4257
4257
  [`${r}-rtl`]: Lt === !0
4258
4258
  });
4259
4259
  return _("div", {
4260
4260
  class: m
4261
- }, [typeof e.icon == "function" ? e.icon() : e.icon || c, _("span", null, [typeof e.content == "function" ? e.content() : e.content])]);
4261
+ }, [typeof e.icon == "function" ? e.icon() : e.icon || p, _("span", null, [typeof e.content == "function" ? e.content() : e.content])]);
4262
4262
  },
4263
4263
  onClose: o,
4264
4264
  onClick: e.onClick
@@ -4272,7 +4272,7 @@ function Ya(e) {
4272
4272
  function Qa(e) {
4273
4273
  return Object.prototype.toString.call(e) === "[object Object]" && !!e.content;
4274
4274
  }
4275
- const re = {
4275
+ const se = {
4276
4276
  open: Ya,
4277
4277
  config: Wa,
4278
4278
  destroy(e) {
@@ -4300,10 +4300,10 @@ function Za(e, t) {
4300
4300
  onClose: n
4301
4301
  }));
4302
4302
  }
4303
- Xa.forEach((e) => Za(re, e));
4304
- re.warn = re.warning;
4305
- re.useMessage = Ga;
4306
- const ie = re, en = (e) => {
4303
+ Xa.forEach((e) => Za(se, e));
4304
+ se.warn = se.warning;
4305
+ se.useMessage = Ga;
4306
+ const ie = se, en = (e) => {
4307
4307
  const {
4308
4308
  componentCls: t,
4309
4309
  width: l,
@@ -4373,11 +4373,11 @@ const ie = re, en = (e) => {
4373
4373
  fontSizeLG: n,
4374
4374
  notificationMarginBottom: i,
4375
4375
  borderRadiusLG: o,
4376
- colorSuccess: p,
4377
- colorInfo: d,
4376
+ colorSuccess: d,
4377
+ colorInfo: c,
4378
4378
  colorWarning: r,
4379
4379
  colorError: s,
4380
- colorTextHeading: c,
4380
+ colorTextHeading: p,
4381
4381
  notificationBg: m,
4382
4382
  notificationPadding: u,
4383
4383
  notificationMarginEdge: h,
@@ -4490,7 +4490,7 @@ const ie = re, en = (e) => {
4490
4490
  },
4491
4491
  [`${$}-message`]: {
4492
4492
  marginBottom: e.marginXS,
4493
- color: c,
4493
+ color: p,
4494
4494
  fontSize: n,
4495
4495
  lineHeight: e.lineHeightLG
4496
4496
  },
@@ -4518,10 +4518,10 @@ const ie = re, en = (e) => {
4518
4518
  lineHeight: 0,
4519
4519
  // icon-font
4520
4520
  [`&-success${t}`]: {
4521
- color: p
4521
+ color: d
4522
4522
  },
4523
4523
  [`&-info${t}`]: {
4524
- color: d
4524
+ color: c
4525
4525
  },
4526
4526
  [`&-warning${t}`]: {
4527
4527
  color: r
@@ -4587,12 +4587,12 @@ function Ht(e, t) {
4587
4587
  class: `${e}-close-icon`
4588
4588
  }, null)]);
4589
4589
  }
4590
- _(ge, null, null), _(me, null, null), _(fe, null, null), _(_e, null, null), _(ze, null, null);
4590
+ _(he, null, null), _(fe, null, null), _(_e, null, null), _(ge, null, null), _(ze, null, null);
4591
4591
  const an = {
4592
- success: me,
4593
- info: ge,
4594
- error: fe,
4595
- warning: _e
4592
+ success: fe,
4593
+ info: he,
4594
+ error: _e,
4595
+ warning: ge
4596
4596
  };
4597
4597
  function Gt(e) {
4598
4598
  let {
@@ -4602,23 +4602,23 @@ function Gt(e) {
4602
4602
  message: n,
4603
4603
  description: i,
4604
4604
  btn: o
4605
- } = e, p = null;
4605
+ } = e, d = null;
4606
4606
  if (l)
4607
- p = _("span", {
4607
+ d = _("span", {
4608
4608
  class: `${t}-icon`
4609
4609
  }, [Y(l)]);
4610
4610
  else if (a) {
4611
- const d = an[a];
4612
- p = _(d, {
4611
+ const c = an[a];
4612
+ d = _(c, {
4613
4613
  class: `${t}-icon ${t}-icon-${a}`
4614
4614
  }, null);
4615
4615
  }
4616
4616
  return _("div", {
4617
4617
  class: N({
4618
- [`${t}-with-icon`]: p
4618
+ [`${t}-with-icon`]: d
4619
4619
  }),
4620
4620
  role: "alert"
4621
- }, [p, _("div", {
4621
+ }, [d, _("div", {
4622
4622
  class: `${t}-message`
4623
4623
  }, [n]), _("div", {
4624
4624
  class: `${t}-description`
@@ -4634,7 +4634,7 @@ R({
4634
4634
  const {
4635
4635
  getPrefixCls: t
4636
4636
  } = De("notification", e), l = I(() => e.prefixCls || t("notification")), a = I(() => `${l.value}-notice`), [, n] = Ue(l);
4637
- return () => _(he, j(j({}, e), {}, {
4637
+ return () => _(ye, j(j({}, e), {}, {
4638
4638
  prefixCls: l.value,
4639
4639
  class: N(n.value, `${a.value}-pure-panel`),
4640
4640
  noticeKey: "pure",
@@ -4733,12 +4733,12 @@ const pt = 24, rn = 4.5, sn = R({
4733
4733
  } = De("notification", e), i = I(() => e.prefixCls || a("notification")), o = (m) => {
4734
4734
  var u, h;
4735
4735
  return Ut(m, (u = e.top) !== null && u !== void 0 ? u : pt, (h = e.bottom) !== null && h !== void 0 ? h : pt);
4736
- }, [, p] = Ue(i), d = () => N(p.value, {
4736
+ }, [, d] = Ue(i), c = () => N(d.value, {
4737
4737
  [`${i.value}-rtl`]: e.rtl
4738
- }), r = () => nn(i.value), [s, c] = At({
4738
+ }), r = () => nn(i.value), [s, p] = At({
4739
4739
  prefixCls: i.value,
4740
4740
  getStyles: o,
4741
- getClassName: d,
4741
+ getClassName: c,
4742
4742
  motion: r,
4743
4743
  closable: !0,
4744
4744
  closeIcon: Ht(i.value),
@@ -4748,36 +4748,36 @@ const pt = 24, rn = 4.5, sn = R({
4748
4748
  return ((m = e.getPopupContainer) === null || m === void 0 ? void 0 : m.call(e)) || ((u = n.value) === null || u === void 0 ? void 0 : u.call(n)) || document.body;
4749
4749
  },
4750
4750
  maxCount: e.maxCount,
4751
- hashId: p.value,
4751
+ hashId: d.value,
4752
4752
  onAllRemoved: e.onAllRemoved
4753
4753
  });
4754
4754
  return l(y(y({}, s), {
4755
4755
  prefixCls: i.value,
4756
- hashId: p
4757
- })), c;
4756
+ hashId: d
4757
+ })), p;
4758
4758
  }
4759
4759
  });
4760
4760
  function un(e) {
4761
- const t = Z(null), l = Symbol("notificationHolderKey"), a = (p) => {
4761
+ const t = Z(null), l = Symbol("notificationHolderKey"), a = (d) => {
4762
4762
  if (!t.value)
4763
4763
  return;
4764
4764
  const {
4765
- open: d,
4765
+ open: c,
4766
4766
  prefixCls: r,
4767
4767
  hashId: s
4768
- } = t.value, c = `${r}-notice`, {
4768
+ } = t.value, p = `${r}-notice`, {
4769
4769
  message: m,
4770
4770
  description: u,
4771
4771
  icon: h,
4772
4772
  type: g,
4773
4773
  btn: C,
4774
4774
  class: b
4775
- } = p, P = on(p, ["message", "description", "icon", "type", "btn", "class"]);
4776
- return d(y(y({
4775
+ } = d, P = on(d, ["message", "description", "icon", "type", "btn", "class"]);
4776
+ return c(y(y({
4777
4777
  placement: "topRight"
4778
4778
  }, P), {
4779
4779
  content: () => _(Gt, {
4780
- prefixCls: c,
4780
+ prefixCls: p,
4781
4781
  icon: typeof h == "function" ? h() : h,
4782
4782
  type: g,
4783
4783
  message: typeof m == "function" ? m() : m,
@@ -4785,18 +4785,18 @@ function un(e) {
4785
4785
  btn: typeof C == "function" ? C() : C
4786
4786
  }, null),
4787
4787
  // @ts-ignore
4788
- class: N(g && `${c}-${g}`, s, b)
4788
+ class: N(g && `${p}-${g}`, s, b)
4789
4789
  }));
4790
4790
  }, i = {
4791
4791
  open: a,
4792
- destroy: (p) => {
4793
- var d, r;
4794
- p !== void 0 ? (d = t.value) === null || d === void 0 || d.close(p) : (r = t.value) === null || r === void 0 || r.destroy();
4792
+ destroy: (d) => {
4793
+ var c, r;
4794
+ d !== void 0 ? (c = t.value) === null || c === void 0 || c.close(d) : (r = t.value) === null || r === void 0 || r.destroy();
4795
4795
  }
4796
4796
  };
4797
- return ["success", "info", "warning", "error"].forEach((p) => {
4798
- i[p] = (d) => a(y(y({}, d), {
4799
- type: p
4797
+ return ["success", "info", "warning", "error"].forEach((d) => {
4798
+ i[d] = (c) => a(y(y({}, c), {
4799
+ type: d
4800
4800
  }));
4801
4801
  }), [i, () => _(sn, j(j({
4802
4802
  key: l
@@ -4809,7 +4809,7 @@ function dn(e) {
4809
4809
  }
4810
4810
  globalThis && globalThis.__awaiter;
4811
4811
  const J = {};
4812
- let Bt = 4.5, Wt = "24px", Jt = "24px", Te = "", Xt = "topRight", Yt = () => document.body, Qt = null, Se = !1, Zt;
4812
+ let Bt = 4.5, Wt = "24px", Jt = "24px", Se = "", Xt = "topRight", Yt = () => document.body, Qt = null, ke = !1, Zt;
4813
4813
  function cn(e) {
4814
4814
  const {
4815
4815
  duration: t,
@@ -4818,9 +4818,9 @@ function cn(e) {
4818
4818
  top: n,
4819
4819
  getContainer: i,
4820
4820
  closeIcon: o,
4821
- prefixCls: p
4821
+ prefixCls: d
4822
4822
  } = e;
4823
- p !== void 0 && (Te = p), t !== void 0 && (Bt = t), l !== void 0 && (Xt = l), a !== void 0 && (Jt = typeof a == "number" ? `${a}px` : a), n !== void 0 && (Wt = typeof n == "number" ? `${n}px` : n), i !== void 0 && (Yt = i), o !== void 0 && (Qt = o), e.rtl !== void 0 && (Se = e.rtl), e.maxCount !== void 0 && (Zt = e.maxCount);
4823
+ d !== void 0 && (Se = d), t !== void 0 && (Bt = t), l !== void 0 && (Xt = l), a !== void 0 && (Jt = typeof a == "number" ? `${a}px` : a), n !== void 0 && (Wt = typeof n == "number" ? `${n}px` : n), i !== void 0 && (Yt = i), o !== void 0 && (Qt = o), e.rtl !== void 0 && (ke = e.rtl), e.maxCount !== void 0 && (Zt = e.maxCount);
4824
4824
  }
4825
4825
  function pn(e, t) {
4826
4826
  let {
@@ -4829,12 +4829,12 @@ function pn(e, t) {
4829
4829
  getContainer: n = Yt,
4830
4830
  top: i,
4831
4831
  bottom: o,
4832
- closeIcon: p = Qt,
4833
- appContext: d
4832
+ closeIcon: d = Qt,
4833
+ appContext: c
4834
4834
  } = e;
4835
4835
  const {
4836
4836
  getPrefixCls: r
4837
- } = In(), s = r("notification", l || Te), c = `${s}-${a}-${Se}`, m = J[c];
4837
+ } = In(), s = r("notification", l || Se), p = `${s}-${a}-${ke}`, m = J[p];
4838
4838
  if (m) {
4839
4839
  Promise.resolve(m).then((h) => {
4840
4840
  t(h);
@@ -4842,15 +4842,15 @@ function pn(e, t) {
4842
4842
  return;
4843
4843
  }
4844
4844
  const u = N(`${s}-${a}`, {
4845
- [`${s}-rtl`]: Se === !0
4845
+ [`${s}-rtl`]: ke === !0
4846
4846
  });
4847
4847
  jt.newInstance({
4848
4848
  name: "notification",
4849
- prefixCls: l || Te,
4849
+ prefixCls: l || Se,
4850
4850
  useStyle: Ue,
4851
4851
  class: u,
4852
4852
  style: Ut(a, i ?? Wt, o ?? Jt),
4853
- appContext: d,
4853
+ appContext: c,
4854
4854
  getContainer: n,
4855
4855
  closeIcon: (h) => {
4856
4856
  let {
@@ -4858,14 +4858,14 @@ function pn(e, t) {
4858
4858
  } = h;
4859
4859
  return _("span", {
4860
4860
  class: `${g}-close-x`
4861
- }, [Y(p, {}, _(Ne, {
4861
+ }, [Y(d, {}, _(Ne, {
4862
4862
  class: `${g}-close-icon`
4863
4863
  }, null))]);
4864
4864
  },
4865
4865
  maxCount: Zt,
4866
4866
  hasTransitionName: !0
4867
4867
  }, (h) => {
4868
- J[c] = h, t(h);
4868
+ J[p] = h, t(h);
4869
4869
  });
4870
4870
  }
4871
4871
  const mn = {
@@ -4882,29 +4882,29 @@ function fn(e) {
4882
4882
  message: n,
4883
4883
  btn: i
4884
4884
  } = e, o = e.duration === void 0 ? Bt : e.duration;
4885
- pn(e, (p) => {
4886
- p.notice({
4887
- content: (d) => {
4885
+ pn(e, (d) => {
4886
+ d.notice({
4887
+ content: (c) => {
4888
4888
  let {
4889
4889
  prefixCls: r
4890
- } = d;
4890
+ } = c;
4891
4891
  const s = `${r}-notice`;
4892
- let c = null;
4892
+ let p = null;
4893
4893
  if (t)
4894
- c = () => _("span", {
4894
+ p = () => _("span", {
4895
4895
  class: `${s}-icon`
4896
4896
  }, [Y(t)]);
4897
4897
  else if (l) {
4898
4898
  const m = mn[l];
4899
- c = () => _(m, {
4899
+ p = () => _(m, {
4900
4900
  class: `${s}-icon ${s}-icon-${l}`
4901
4901
  }, null);
4902
4902
  }
4903
4903
  return _("div", {
4904
- class: c ? `${s}-with-icon` : ""
4905
- }, [c && c(), _("div", {
4904
+ class: p ? `${s}-with-icon` : ""
4905
+ }, [p && p(), _("div", {
4906
4906
  class: `${s}-message`
4907
- }, [!a && c ? _("span", {
4907
+ }, [!a && p ? _("span", {
4908
4908
  class: `${s}-message-single-line-auto-margin`
4909
4909
  }, null) : null, Y(n)]), _("div", {
4910
4910
  class: `${s}-description`
@@ -4947,21 +4947,21 @@ le.warn = le.warning;
4947
4947
  le.useNotification = dn;
4948
4948
  const gn = le, hn = `-ant-${Date.now()}-${Math.random()}`;
4949
4949
  function yn(e, t) {
4950
- const l = {}, a = (o, p) => {
4951
- let d = o.clone();
4952
- return d = (p == null ? void 0 : p(d)) || d, d.toRgbString();
4953
- }, n = (o, p) => {
4954
- const d = new Ce(o), r = Xe(d.toRgbString());
4955
- l[`${p}-color`] = a(d), l[`${p}-color-disabled`] = r[1], l[`${p}-color-hover`] = r[4], l[`${p}-color-active`] = r[6], l[`${p}-color-outline`] = d.clone().setAlpha(0.2).toRgbString(), l[`${p}-color-deprecated-bg`] = r[0], l[`${p}-color-deprecated-border`] = r[2];
4950
+ const l = {}, a = (o, d) => {
4951
+ let c = o.clone();
4952
+ return c = (d == null ? void 0 : d(c)) || c, c.toRgbString();
4953
+ }, n = (o, d) => {
4954
+ const c = new xe(o), r = Xe(c.toRgbString());
4955
+ l[`${d}-color`] = a(c), l[`${d}-color-disabled`] = r[1], l[`${d}-color-hover`] = r[4], l[`${d}-color-active`] = r[6], l[`${d}-color-outline`] = c.clone().setAlpha(0.2).toRgbString(), l[`${d}-color-deprecated-bg`] = r[0], l[`${d}-color-deprecated-border`] = r[2];
4956
4956
  };
4957
4957
  if (t.primaryColor) {
4958
4958
  n(t.primaryColor, "primary");
4959
- const o = new Ce(t.primaryColor), p = Xe(o.toRgbString());
4960
- p.forEach((r, s) => {
4959
+ const o = new xe(t.primaryColor), d = Xe(o.toRgbString());
4960
+ d.forEach((r, s) => {
4961
4961
  l[`primary-${s + 1}`] = r;
4962
4962
  }), l["primary-color-deprecated-l-35"] = a(o, (r) => r.lighten(35)), l["primary-color-deprecated-l-20"] = a(o, (r) => r.lighten(20)), l["primary-color-deprecated-t-20"] = a(o, (r) => r.tint(20)), l["primary-color-deprecated-t-50"] = a(o, (r) => r.tint(50)), l["primary-color-deprecated-f-12"] = a(o, (r) => r.setAlpha(r.getAlpha() * 0.12));
4963
- const d = new Ce(p[0]);
4964
- l["primary-color-active-deprecated-f-30"] = a(d, (r) => r.setAlpha(r.getAlpha() * 0.3)), l["primary-color-active-deprecated-d-02"] = a(d, (r) => r.darken(2));
4963
+ const c = new xe(d[0]);
4964
+ l["primary-color-active-deprecated-f-30"] = a(c, (r) => r.setAlpha(r.getAlpha() * 0.3)), l["primary-color-active-deprecated-d-02"] = a(c, (r) => r.darken(2));
4965
4965
  }
4966
4966
  return t.successColor && n(t.successColor, "success"), t.warningColor && n(t.warningColor, "warning"), t.errorColor && n(t.errorColor, "error"), t.infoColor && n(t.infoColor, "info"), `
4967
4967
  :root {
@@ -5023,9 +5023,9 @@ const Be = v({}), V = v({});
5023
5023
  Ke(() => {
5024
5024
  y(V, Be), V.prefixCls = te(), V.iconPrefixCls = el(), V.getPrefixCls = (e, t) => t || (e ? `${V.prefixCls}-${e}` : V.prefixCls), V.getRootPrefixCls = () => V.prefixCls ? V.prefixCls : te();
5025
5025
  });
5026
- let we;
5026
+ let Pe;
5027
5027
  const $n = (e) => {
5028
- we && we(), we = Ke(() => {
5028
+ Pe && Pe(), Pe = Ke(() => {
5029
5029
  y(Be, v(e)), y(V, v(e));
5030
5030
  }), e.theme && bn(te(), e.theme);
5031
5031
  }, In = () => ({
@@ -5051,20 +5051,20 @@ const $n = (e) => {
5051
5051
  return x;
5052
5052
  const H = A || a.getPrefixCls("");
5053
5053
  return f ? `${H}-${f}` : H;
5054
- }, i = I(() => e.iconPrefixCls || a.iconPrefixCls.value || $t), o = I(() => i.value !== a.iconPrefixCls.value), p = I(() => {
5054
+ }, i = I(() => e.iconPrefixCls || a.iconPrefixCls.value || $t), o = I(() => i.value !== a.iconPrefixCls.value), d = I(() => {
5055
5055
  var f;
5056
5056
  return e.csp || ((f = a.csp) === null || f === void 0 ? void 0 : f.value);
5057
- }), d = Cn(i), r = xn(I(() => e.theme), I(() => {
5057
+ }), c = Cn(i), r = xn(I(() => e.theme), I(() => {
5058
5058
  var f;
5059
5059
  return (f = a.theme) === null || f === void 0 ? void 0 : f.value;
5060
- })), s = (f) => (e.renderEmpty || l.renderEmpty || a.renderEmpty || Al)(f), c = I(() => {
5060
+ })), s = (f) => (e.renderEmpty || l.renderEmpty || a.renderEmpty || Al)(f), p = I(() => {
5061
5061
  var f, x;
5062
5062
  return (f = e.autoInsertSpaceInButton) !== null && f !== void 0 ? f : (x = a.autoInsertSpaceInButton) === null || x === void 0 ? void 0 : x.value;
5063
5063
  }), m = I(() => {
5064
5064
  var f;
5065
5065
  return e.locale || ((f = a.locale) === null || f === void 0 ? void 0 : f.value);
5066
5066
  });
5067
- se(m, () => {
5067
+ ue(m, () => {
5068
5068
  Be.locale = m.value;
5069
5069
  }, {
5070
5070
  immediate: !0
@@ -5105,9 +5105,9 @@ const $n = (e) => {
5105
5105
  }), k = I(() => e.componentSize), M = I(() => e.componentDisabled), E = I(() => {
5106
5106
  var f, x;
5107
5107
  return (f = e.wave) !== null && f !== void 0 ? f : (x = a.wave) === null || x === void 0 ? void 0 : x.value;
5108
- }), ye = {
5109
- csp: p,
5110
- autoInsertSpaceInButton: c,
5108
+ }), be = {
5109
+ csp: d,
5110
+ autoInsertSpaceInButton: p,
5111
5111
  locale: m,
5112
5112
  direction: u,
5113
5113
  space: h,
@@ -5135,35 +5135,35 @@ const $n = (e) => {
5135
5135
  const f = r.value || {}, {
5136
5136
  algorithm: x,
5137
5137
  token: A
5138
- } = f, H = wn(f, ["algorithm", "token"]), ve = x && (!Array.isArray(x) || x.length > 0) ? Il(x) : void 0;
5138
+ } = f, H = wn(f, ["algorithm", "token"]), Ce = x && (!Array.isArray(x) || x.length > 0) ? Il(x) : void 0;
5139
5139
  return y(y({}, H), {
5140
- theme: ve,
5140
+ theme: Ce,
5141
5141
  token: y(y({}, Ol), A)
5142
5142
  });
5143
- }), be = I(() => {
5143
+ }), ve = I(() => {
5144
5144
  var f, x;
5145
5145
  let A = {};
5146
5146
  return m.value && (A = ((f = m.value.Form) === null || f === void 0 ? void 0 : f.defaultValidateMessages) || ((x = Ve.Form) === null || x === void 0 ? void 0 : x.defaultValidateMessages) || {}), e.form && e.form.validateMessages && (A = y(y({}, A), e.form.validateMessages)), A;
5147
5147
  });
5148
- Tl(ye), Sl({
5149
- validateMessages: be
5148
+ Tl(be), Sl({
5149
+ validateMessages: ve
5150
5150
  }), kl(k), Ml(M);
5151
5151
  const ne = (f) => {
5152
5152
  var x, A;
5153
- let H = o.value ? d((x = l.default) === null || x === void 0 ? void 0 : x.call(l)) : (A = l.default) === null || A === void 0 ? void 0 : A.call(l);
5153
+ let H = o.value ? c((x = l.default) === null || x === void 0 ? void 0 : x.call(l)) : (A = l.default) === null || A === void 0 ? void 0 : A.call(l);
5154
5154
  if (e.theme) {
5155
- const ve = function() {
5155
+ const Ce = function() {
5156
5156
  return H;
5157
5157
  }();
5158
5158
  H = _(Kl, {
5159
5159
  value: F.value
5160
5160
  }, {
5161
- default: () => [ve]
5161
+ default: () => [Ce]
5162
5162
  });
5163
5163
  }
5164
5164
  return _(Sa, {
5165
5165
  locale: m.value || f,
5166
- ANT_MARK__: Ie
5166
+ ANT_MARK__: Oe
5167
5167
  }, {
5168
5168
  default: () => [H]
5169
5169
  });
@@ -5193,7 +5193,7 @@ async function Tn(e) {
5193
5193
  async function Sn(e) {
5194
5194
  return W().post("/permission/import_role_by_super", e);
5195
5195
  }
5196
- const ce = () => U().NODE_ENV != "production", kn = () => U().VITE_APP_HAS_PROJECT, tl = [
5196
+ const pe = () => U().NODE_ENV != "production", kn = () => U().VITE_APP_HAS_PROJECT, tl = [
5197
5197
  {
5198
5198
  name: "修改",
5199
5199
  type: "dropdown",
@@ -5269,7 +5269,7 @@ const ce = () => U().NODE_ENV != "production", kn = () => U().VITE_APP_HAS_PROJE
5269
5269
  {
5270
5270
  name: "修改模块",
5271
5271
  type: "dropdown",
5272
- is_show: ({ record: e }) => e.is_active && ce() && kn(),
5272
+ is_show: ({ record: e }) => e.is_active && pe() && kn(),
5273
5273
  model_kind: "custom_component",
5274
5274
  model_config: {
5275
5275
  component: "MenuProjectRoleModal",
@@ -5279,7 +5279,7 @@ const ce = () => U().NODE_ENV != "production", kn = () => U().VITE_APP_HAS_PROJE
5279
5279
  {
5280
5280
  name: "修改权限",
5281
5281
  type: "dropdown",
5282
- is_show: ({ record: e }) => e.is_active && ce(),
5282
+ is_show: ({ record: e }) => e.is_active && pe(),
5283
5283
  cb: ({ record: e }) => {
5284
5284
  const t = v({
5285
5285
  visible: !0,
@@ -5386,14 +5386,14 @@ const ce = () => U().NODE_ENV != "production", kn = () => U().VITE_APP_HAS_PROJE
5386
5386
  D(l);
5387
5387
  }
5388
5388
  }
5389
- ], ke = {
5389
+ ], Me = {
5390
5390
  creatCol: [],
5391
5391
  updateCol: []
5392
5392
  }, ll = [
5393
5393
  {
5394
5394
  name: "导出权限",
5395
5395
  clazz: "primary",
5396
- is_show: () => ce(),
5396
+ is_show: () => pe(),
5397
5397
  cb: ({ current_org: e }) => {
5398
5398
  const t = v({
5399
5399
  visible: !0,
@@ -5440,7 +5440,7 @@ const ce = () => U().NODE_ENV != "production", kn = () => U().VITE_APP_HAS_PROJE
5440
5440
  {
5441
5441
  name: "导入权限",
5442
5442
  clazz: "primary",
5443
- is_show: () => ce(),
5443
+ is_show: () => pe(),
5444
5444
  cb: ({ current_org: e }) => {
5445
5445
  const t = v({
5446
5446
  visible: !0,
@@ -5497,15 +5497,15 @@ const ce = () => U().NODE_ENV != "production", kn = () => U().VITE_APP_HAS_PROJE
5497
5497
  ], Mn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5498
5498
  __proto__: null,
5499
5499
  btn_list: tl,
5500
- config: ke,
5500
+ config: Me,
5501
5501
  head_btn_list: ll
5502
- }, Symbol.toStringTag, { value: "Module" })), al = [], Me = {
5502
+ }, Symbol.toStringTag, { value: "Module" })), al = [], je = {
5503
5503
  creatCol: [],
5504
5504
  updateCol: []
5505
5505
  }, nl = [], jn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5506
5506
  __proto__: null,
5507
5507
  btn_list: al,
5508
- config: Me,
5508
+ config: je,
5509
5509
  head_btn_list: nl
5510
5510
  }, Symbol.toStringTag, { value: "Module" })), An = () => {
5511
5511
  const t = B().currentOrg, l = U(), a = {
@@ -5571,7 +5571,7 @@ const ce = () => U().NODE_ENV != "production", kn = () => U().VITE_APP_HAS_PROJE
5571
5571
  settings: {
5572
5572
  labelAlign: "right",
5573
5573
  layout: "vertical",
5574
- col: ke.creatCol
5574
+ col: Me.creatCol
5575
5575
  },
5576
5576
  fields: [
5577
5577
  {
@@ -5621,7 +5621,7 @@ const ce = () => U().NODE_ENV != "production", kn = () => U().VITE_APP_HAS_PROJE
5621
5621
  settings: {
5622
5622
  labelAlign: "right",
5623
5623
  layout: "vertical",
5624
- col: ke.creatCol
5624
+ col: Me.creatCol
5625
5625
  },
5626
5626
  fields: [
5627
5627
  {
@@ -5677,7 +5677,7 @@ const ce = () => U().NODE_ENV != "production", kn = () => U().VITE_APP_HAS_PROJE
5677
5677
  // userStore.CHECK_AUTH(DELETE_ROLE), // 是否有【删除】按钮
5678
5678
  is_recover: "permission/recover_role"
5679
5679
  // userStore.CHECK_AUTH(RECOVER_ROLE), // 是否有【恢复】按钮
5680
- }, p = {
5680
+ }, d = {
5681
5681
  update: {
5682
5682
  role_id: "id"
5683
5683
  },
@@ -5691,7 +5691,7 @@ const ce = () => U().NODE_ENV != "production", kn = () => U().VITE_APP_HAS_PROJE
5691
5691
  org_id: "org_id",
5692
5692
  role_id: "id"
5693
5693
  }
5694
- }, d = [
5694
+ }, c = [
5695
5695
  {
5696
5696
  title: "序号",
5697
5697
  width: 50,
@@ -5752,7 +5752,7 @@ const ce = () => U().NODE_ENV != "production", kn = () => U().VITE_APP_HAS_PROJE
5752
5752
  cellComponent: "action"
5753
5753
  }
5754
5754
  ];
5755
- return l.VITE_APP_HAS_PROJECT && d.splice(5, 0, {
5755
+ return l.VITE_APP_HAS_PROJECT && c.splice(5, 0, {
5756
5756
  title: "模块列表",
5757
5757
  dataIndex: "menu_project__name",
5758
5758
  checked: !0,
@@ -5766,9 +5766,9 @@ const ce = () => U().NODE_ENV != "production", kn = () => U().VITE_APP_HAS_PROJE
5766
5766
  updateData: "/permission/update_role",
5767
5767
  removeData: "/permission/delete_role",
5768
5768
  recoverData: "/permission/recover_role",
5769
- baseColumns: d,
5769
+ baseColumns: c,
5770
5770
  titleList: o,
5771
- api_fields: p,
5771
+ api_fields: d,
5772
5772
  btn_list: tl,
5773
5773
  head_btn_list: ll,
5774
5774
  event_obj: K(),
@@ -5891,7 +5891,7 @@ const ce = () => U().NODE_ENV != "production", kn = () => U().VITE_APP_HAS_PROJE
5891
5891
  D(t);
5892
5892
  }
5893
5893
  }
5894
- ], je = {
5894
+ ], Ae = {
5895
5895
  creatCol: [],
5896
5896
  updateCol: []
5897
5897
  }, ol = [
@@ -6003,7 +6003,7 @@ const ce = () => U().NODE_ENV != "production", kn = () => U().VITE_APP_HAS_PROJE
6003
6003
  ], Vn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6004
6004
  __proto__: null,
6005
6005
  btn_list: il,
6006
- config: je,
6006
+ config: Ae,
6007
6007
  head_btn_list: ol
6008
6008
  }, Symbol.toStringTag, { value: "Module" })), zn = () => {
6009
6009
  const t = B().currentOrg, l = {
@@ -6050,7 +6050,7 @@ const ce = () => U().NODE_ENV != "production", kn = () => U().VITE_APP_HAS_PROJE
6050
6050
  settings: {
6051
6051
  labelAlign: "right",
6052
6052
  layout: "horizontal",
6053
- col: je.creatCol
6053
+ col: Ae.creatCol
6054
6054
  },
6055
6055
  fields: [
6056
6056
  {
@@ -6133,7 +6133,7 @@ const ce = () => U().NODE_ENV != "production", kn = () => U().VITE_APP_HAS_PROJE
6133
6133
  settings: {
6134
6134
  labelAlign: "right",
6135
6135
  layout: "horizontal",
6136
- col: je.creatCol
6136
+ col: Ae.creatCol
6137
6137
  },
6138
6138
  fields: [],
6139
6139
  rules: {},
@@ -6359,7 +6359,7 @@ const ce = () => U().NODE_ENV != "production", kn = () => U().VITE_APP_HAS_PROJE
6359
6359
  settings: {
6360
6360
  labelAlign: "right",
6361
6361
  layout: "vertical",
6362
- col: Me.creatCol
6362
+ col: je.creatCol
6363
6363
  },
6364
6364
  fields: [
6365
6365
  {
@@ -6408,7 +6408,7 @@ const ce = () => U().NODE_ENV != "production", kn = () => U().VITE_APP_HAS_PROJE
6408
6408
  settings: {
6409
6409
  labelAlign: "right",
6410
6410
  layout: "vertical",
6411
- col: Me.creatCol
6411
+ col: je.creatCol
6412
6412
  },
6413
6413
  fields: [
6414
6414
  {
@@ -6558,7 +6558,7 @@ const ce = () => U().NODE_ENV != "production", kn = () => U().VITE_APP_HAS_PROJE
6558
6558
  }, Nn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6559
6559
  __proto__: null,
6560
6560
  default: En
6561
- }, Symbol.toStringTag, { value: "Module" })), Ae = (e, t) => {
6561
+ }, Symbol.toStringTag, { value: "Module" })), re = (e, t) => {
6562
6562
  if (!t)
6563
6563
  return e;
6564
6564
  const l = ee.cloneDeep(e || []), a = /* @__PURE__ */ new Map();
@@ -6570,16 +6570,19 @@ const ce = () => U().NODE_ENV != "production", kn = () => U().VITE_APP_HAS_PROJE
6570
6570
  i.order || (i.order = n + 1), n = i.order, i._key = `custom_${i.name}_${Math.random()}`;
6571
6571
  const o = a.get(i.name);
6572
6572
  if (o !== void 0) {
6573
- const p = l[o];
6574
- i.children && p.children && (p.children = Ae(p.children, i.children));
6573
+ const d = l[o];
6574
+ i.children && d.children && (d.children = re(d.children, i.children));
6575
+ const c = ee.cloneDeep(i);
6576
+ delete c.children, Object.assign(d, c);
6577
+ } else {
6575
6578
  const d = ee.cloneDeep(i);
6576
- delete d.children, Object.assign(p, d);
6577
- } else
6578
- l.push(ee.cloneDeep(i));
6579
+ l.push(d), d.children && (d.children = re([], d.children));
6580
+ }
6579
6581
  }), l;
6580
6582
  }, ft = {
6581
- btn_list: Ae,
6582
- head_btn_list: Ae
6583
+ btn_list: re,
6584
+ head_btn_list: re,
6585
+ batch_update_list: re
6583
6586
  }, qn = (e, t) => {
6584
6587
  const l = ee.cloneDeep(e);
6585
6588
  Object.keys(t).forEach((a) => {
@@ -6608,13 +6611,13 @@ const ce = () => U().NODE_ENV != "production", kn = () => U().VITE_APP_HAS_PROJE
6608
6611
  if (!e)
6609
6612
  return;
6610
6613
  const l = e.fields, a = e.rules || {}, n = e.model || {}, i = e.options || {};
6611
- return l ? (l.forEach((p) => {
6612
- var r, s, c, m;
6613
- const d = p.name;
6614
- if ((r = t.fields) != null && r[d])
6615
- for (const u in t.fields[d])
6616
- t.fields[d][u] === null ? delete p[u] : p[u] = t.fields[d][u];
6617
- ((s = t.rules) == null ? void 0 : s[d]) !== void 0 && (a[d] = t.rules[d]), ((c = t.model) == null ? void 0 : c[d]) !== void 0 && (n[d] = t.model[d]), ((m = t.options) == null ? void 0 : m[d]) !== void 0 && (i[d] = t.options[d]);
6614
+ return l ? (l.forEach((d) => {
6615
+ var r, s, p, m;
6616
+ const c = d.name;
6617
+ if ((r = t.fields) != null && r[c])
6618
+ for (const u in t.fields[c])
6619
+ t.fields[c][u] === null ? delete d[u] : d[u] = t.fields[c][u];
6620
+ ((s = t.rules) == null ? void 0 : s[c]) !== void 0 && (a[c] = t.rules[c]), ((p = t.model) == null ? void 0 : p[c]) !== void 0 && (n[c] = t.model[c]), ((m = t.options) == null ? void 0 : m[c]) !== void 0 && (i[c] = t.options[c]);
6618
6621
  }), Object.assign(e, {
6619
6622
  fields: l,
6620
6623
  rules: a,
@@ -6630,8 +6633,8 @@ const ce = () => U().NODE_ENV != "production", kn = () => U().VITE_APP_HAS_PROJE
6630
6633
  return Object.keys(t).forEach((a) => {
6631
6634
  _t[a] && (e[a] = _t[a](e[a], t[a]));
6632
6635
  }), l;
6633
- }, pe = {}, Gn = () => {
6634
- if (Object.keys(pe).length > 0)
6636
+ }, me = {}, Gn = () => {
6637
+ if (Object.keys(me).length > 0)
6635
6638
  return;
6636
6639
  const e = /* @__PURE__ */ Object.assign({
6637
6640
  "/src/components/remotePages/configs/i18n/i18n-language_project.ts": Rl,
@@ -6652,7 +6655,7 @@ const ce = () => U().NODE_ENV != "production", kn = () => U().VITE_APP_HAS_PROJE
6652
6655
  }), t = sl("remotePages");
6653
6656
  Object.assign(e, t), Object.keys(e).forEach((l) => {
6654
6657
  const a = l.split("/"), n = a[a.length - 1].replace(".ts", "");
6655
- n.endsWith("-config") || (pe[n] = e[l].default);
6658
+ n.endsWith("-config") || (me[n] = e[l].default);
6656
6659
  });
6657
6660
  }, ti = async ({
6658
6661
  org_id: e,
@@ -6663,12 +6666,12 @@ const ce = () => U().NODE_ENV != "production", kn = () => U().VITE_APP_HAS_PROJE
6663
6666
  is_cache: i,
6664
6667
  history_id: o
6665
6668
  }) => {
6666
- const p = U(), [d, r] = await Promise.all([
6669
+ const d = U(), [c, r] = await Promise.all([
6667
6670
  L(
6668
6671
  {
6669
6672
  org_id: e,
6670
6673
  user_id: t,
6671
- view_project__flag: p.VITE_APP_VIEW_PROJECT_FLAG,
6674
+ view_project__flag: d.VITE_APP_VIEW_PROJECT_FLAG,
6672
6675
  view_menu__flag: a,
6673
6676
  history_id: o,
6674
6677
  sort_fields: n,
@@ -6684,7 +6687,7 @@ const ce = () => U().NODE_ENV != "production", kn = () => U().VITE_APP_HAS_PROJE
6684
6687
  })
6685
6688
  ]);
6686
6689
  return {
6687
- ...d,
6690
+ ...c,
6688
6691
  defaultAndServerConfig: r
6689
6692
  };
6690
6693
  }, Un = async ({
@@ -6698,56 +6701,56 @@ const ce = () => U().NODE_ENV != "production", kn = () => U().VITE_APP_HAS_PROJE
6698
6701
  org_id: e
6699
6702
  };
6700
6703
  a && (o.history_id = a);
6701
- const p = {
6704
+ const d = {
6702
6705
  org_id: e,
6703
6706
  model_name: n
6704
- }, d = {
6707
+ }, c = {
6705
6708
  org_id: e,
6706
6709
  model_name: n,
6707
6710
  api_url: `/${t}/query_${n}_list`
6708
6711
  }, r = {};
6709
6712
  if (["permission"].includes(t)) {
6710
- const c = await L(
6713
+ const p = await L(
6711
6714
  o,
6712
6715
  "/sys/get_global_custom_data_by_flag_without_org_id"
6713
6716
  );
6714
- return r.defaultConfig = {}, r.override = null, r.serverConfig = c || {}, r;
6717
+ return r.defaultConfig = {}, r.override = null, r.serverConfig = p || {}, r;
6715
6718
  } else {
6716
- const [c, m, u] = await Promise.all([
6719
+ const [p, m, u] = await Promise.all([
6717
6720
  L(
6718
- p,
6721
+ d,
6719
6722
  `/${t}/dev_get_column_config_and_remote_config_json`,
6720
6723
  !1,
6721
6724
  {
6722
6725
  skip_error: !0
6723
6726
  }
6724
6727
  ),
6725
- L(d, `/${t}/override_column_config`, !1, {
6728
+ L(c, `/${t}/override_column_config`, !1, {
6726
6729
  skip_error: !0
6727
6730
  }),
6728
6731
  L(o, "/sys/get_global_custom_data_by_flag_without_org_id")
6729
6732
  ]);
6730
- return r.defaultConfig = c || {}, r.override = m || {}, r.serverConfig = u || {}, r;
6733
+ return r.defaultConfig = p || {}, r.override = m || {}, r.serverConfig = u || {}, r;
6731
6734
  }
6732
6735
  }, li = (e, t, l, a, n = !0) => {
6733
6736
  var u, h, g, C, b, P, T, w;
6734
6737
  Gn();
6735
6738
  const i = n ? rl() : null;
6736
6739
  let o;
6737
- l && i && i.cleanPageConfig(t), pe[t] == null ? (console.log("remotePages3没有组件:" + t), i && i.setCustomConfig(t, {})) : (o = { ...pe[t](a) }, i && i.setCustomConfig(t, o));
6738
- const p = v({
6740
+ l && i && i.cleanPageConfig(t), me[t] == null ? (console.log("remotePages3没有组件:" + t), i && i.setCustomConfig(t, {})) : (o = { ...me[t](a) }, i && i.setCustomConfig(t, o));
6741
+ const d = v({
6739
6742
  title: "",
6740
6743
  addModalTitle: "新建",
6741
6744
  updateTitle: "修改",
6742
- is_create: ue(e + "-" + t.split("-")[1], "create_"),
6745
+ is_create: de(e + "-" + t.split("-")[1], "create_"),
6743
6746
  // 是否有【新建】按钮
6744
- is_update: ue(e + "-" + t.split("-")[1], "update_"),
6747
+ is_update: de(e + "-" + t.split("-")[1], "update_"),
6745
6748
  // 是否有【修改】按钮
6746
- is_remove: ue(e + "-" + t.split("-")[1], "delete_"),
6749
+ is_remove: de(e + "-" + t.split("-")[1], "delete_"),
6747
6750
  // 是否有【删除】按钮
6748
- is_recover: ue(e + "-" + t.split("-")[1], "recover_")
6751
+ is_recover: de(e + "-" + t.split("-")[1], "recover_")
6749
6752
  // 是否有【恢复】按钮
6750
- }), d = {
6753
+ }), c = {
6751
6754
  rules: v({}),
6752
6755
  fields: [],
6753
6756
  settings: {},
@@ -6763,7 +6766,7 @@ const ce = () => U().NODE_ENV != "production", kn = () => U().VITE_APP_HAS_PROJE
6763
6766
  queryData: G(e + "-" + t.split("-")[1], ["query_", "_list"]),
6764
6767
  queryConditionGroupData: G(e + "-" + t.split("-")[1], ["query_", "_group"]),
6765
6768
  getData: G(e + "-" + t.split("-")[1], ["get_", ""]),
6766
- searchConfig: d,
6769
+ searchConfig: c,
6767
6770
  base_search_condition_config_list: null,
6768
6771
  default_search_condition_config_list: null,
6769
6772
  condition_group_config_list: null,
@@ -6779,7 +6782,7 @@ const ce = () => U().NODE_ENV != "production", kn = () => U().VITE_APP_HAS_PROJE
6779
6782
  globalSearch: null,
6780
6783
  formModalConfig: null,
6781
6784
  updateFormModalConfig: null,
6782
- titleList: p,
6785
+ titleList: d,
6783
6786
  api_fields: null,
6784
6787
  btn_list: null,
6785
6788
  head_btn_list: null,
@@ -6829,8 +6832,8 @@ const ce = () => U().NODE_ENV != "production", kn = () => U().VITE_APP_HAS_PROJE
6829
6832
  $ && Object.assign(r, $);
6830
6833
  }
6831
6834
  const s = ee.cloneDeep(r);
6832
- let c = null;
6833
- l ? (c = l.serverConfig, i && i.setServerConfig(t, c)) : c = i && i.getServerConfig(t), !(c != null && c.default_column_field) && ((u = c == null ? void 0 : c.searchConfig) != null && u.default_column_field) && ((g = (h = c == null ? void 0 : c.searchConfig) == null ? void 0 : h.default_column_field) == null ? void 0 : g.length) > 0 && (c.default_column_field = c.searchConfig.default_column_field), Object.assign(s, c), o && (qn(s, o), o != null && o.default_column_field && ((C = o == null ? void 0 : o.default_column_field) == null ? void 0 : C.length) > 0 ? s.default_column_field = o == null ? void 0 : o.default_column_field : (b = o == null ? void 0 : o.searchConfig) != null && b.default_column_field && ((T = (P = o == null ? void 0 : o.searchConfig) == null ? void 0 : P.default_column_field) == null ? void 0 : T.length) > 0 && (s.default_column_field = (w = o == null ? void 0 : o.searchConfig) == null ? void 0 : w.default_column_field));
6835
+ let p = null;
6836
+ l ? (p = l.serverConfig, i && i.setServerConfig(t, p)) : p = i && i.getServerConfig(t), !(p != null && p.default_column_field) && ((u = p == null ? void 0 : p.searchConfig) != null && u.default_column_field) && ((g = (h = p == null ? void 0 : p.searchConfig) == null ? void 0 : h.default_column_field) == null ? void 0 : g.length) > 0 && (p.default_column_field = p.searchConfig.default_column_field), Object.assign(s, p), o && (qn(s, o), o != null && o.default_column_field && ((C = o == null ? void 0 : o.default_column_field) == null ? void 0 : C.length) > 0 ? s.default_column_field = o == null ? void 0 : o.default_column_field : (b = o == null ? void 0 : o.searchConfig) != null && b.default_column_field && ((T = (P = o == null ? void 0 : o.searchConfig) == null ? void 0 : P.default_column_field) == null ? void 0 : T.length) > 0 && (s.default_column_field = (w = o == null ? void 0 : o.searchConfig) == null ? void 0 : w.default_column_field));
6834
6837
  let m = null;
6835
6838
  if (l ? (m = l.override, i && m && i.setOverrideConfig(t, m)) : m = i && i.getOverrideConfig(t), m && Hn(s, m), i && i.setMergedConfig(t, s), s.is_stripe) {
6836
6839
  const $ = (O) => {