liyu-pc-base 1.0.189 → 1.0.191

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,9 +1,9 @@
1
- import { o as d } from "../init-plugin-515c0649.js";
1
+ import { p as d } from "../init-plugin-aca29fd8.js";
2
2
  async function f(l, n, s, i = {}) {
3
3
  if (s) {
4
- let h = function(t) {
4
+ let p = function(t) {
5
5
  t.forEach((a) => {
6
- a != null && a.children && a.children.length > 0 ? (a.children.sort((o, p) => o.sort - p.sort), h(a.children)) : delete a.children;
6
+ a != null && a.children && a.children.length > 0 ? (a.children.sort((h, u) => h.sort - u.sort), p(a.children)) : delete a.children;
7
7
  });
8
8
  };
9
9
  const e = await d().post(n, l, i), c = new Map(
@@ -15,7 +15,7 @@ async function f(l, n, s, i = {}) {
15
15
  return e.data.forEach((t) => {
16
16
  var a;
17
17
  t.key = t.id, t.value = t.id, t.title = t.name, t.parent_id !== null && ((a = c.get(t.parent_id)) != null && a.children) ? c.get(t.parent_id).children.push(c.get(t.id)) : r.push(c.get(t.id));
18
- }), r.sort((t, a) => t.sort - a.sort), h(r), e.data = r, r.length != 0 ? (e.data = r, e.total = r.length) : e.total = e.data.length, e;
18
+ }), r.sort((t, a) => t.sort - a.sort), p(r), e.data = r, r.length != 0 ? (e.data = r, e.total = r.length) : e.total = e.data.length, e;
19
19
  } else
20
20
  return d().post(n, l, i);
21
21
  }
@@ -1,4 +1,4 @@
1
- import { t as p, A as c } from "../../init-plugin-515c0649.js";
1
+ import { v as p, C as c } from "../../init-plugin-aca29fd8.js";
2
2
  import { message as f } from "ant-design-vue";
3
3
  const y = (e) => e instanceof Array ? e.join() : e instanceof Object ? JSON.stringify(e) : e.toString(), S = (e) => e instanceof Array ? e.join() : typeof e == "number" ? String(e) : e === void 0 ? "undefined" : e === null ? "null" : typeof e == "boolean" ? String(e) : typeof e == "object" ? Object.keys(e).sort((t, u) => t.localeCompare(u)).map((t) => `${t}-${y(e[t])}`).join() : (console.error("error type" + typeof e), e.toString()), O = (e, t) => (o, l) => {
4
4
  const n = p().currentOrg, a = Object.keys(o).sort((r, i) => r.localeCompare(i)).map((r) => `${r}-${S(o[r])}`).join(), m = (/* @__PURE__ */ new Date()).getTime() + 3600 * 1e3, s = c().get(`${n == null ? void 0 : n.id}_${t}`);
@@ -1,14 +1,14 @@
1
1
  import { defineComponent as pe, ref as ee, resolveComponent as C, openBlock as o, createBlock as _, withCtx as h, createVNode as B, createElementBlock as F, Fragment as N, renderList as W, createElementVNode as G, toDisplayString as K, reactive as se, computed as Ee, watch as ae, onMounted as Fe, onUnmounted as Je, createTextVNode as x, createCommentVNode as M, withDirectives as Ce, vShow as $e, renderSlot as Qe, normalizeStyle as D, createSlots as je, resolveDynamicComponent as ue, onActivated as Xe, withModifiers as ce } from "vue";
2
- import { _ as he, i as Ze, F as xe, I as el, j as ll, U as al, k as ol, l as tl, m as il, n as nl, A as dl, a as sl, c as fl, d as rl, R as ul, b as ml, o as pl, p as hl, J as _l, e as yl, f as vl, q as cl, M as bl, r as gl, C as wl, T as kl } from "../FormRender3-473ff128.js";
3
- import { B as So, h as Eo, S as Oo, t as Fo, s as Uo } from "../FormRender3-473ff128.js";
2
+ import { _ as he, i as Ze, F as xe, I as el, j as ll, U as al, k as ol, l as tl, m as il, n as nl, A as dl, a as sl, c as fl, d as rl, R as ul, b as ml, o as pl, p as hl, J as _l, e as yl, f as vl, q as cl, M as bl, r as gl, C as wl, T as kl } from "../FormRender3-cca235a7.js";
3
+ import { B as So, h as Eo, S as Oo, t as Fo, s as Uo } from "../FormRender3-cca235a7.js";
4
4
  import { message as te, Modal as qe } from "ant-design-vue";
5
5
  import { get_operator_type_map as ke, isNotEmpty as Z, isEmpty as oe, copyValue as Cl } from "../utils/function.js";
6
6
  import { CloseOutlined as $l, LeftOutlined as Ml, RightOutlined as Sl, CloseCircleOutlined as El, PlusOutlined as We, CaretRightOutlined as Ol, SettingOutlined as Fl, ExclamationCircleOutlined as De } from "@ant-design/icons-vue";
7
7
  import { useI18n as Ue } from "vue-i18n";
8
8
  import z from "moment";
9
9
  import { isArray as Re, debounce as Ul, isEqual as Al } from "lodash-es";
10
- import { m as Me } from "../modal-tools-76dc9770.js";
11
- import { o as ye, p as Kl, q as Il, t as Vl, v as Bl, w as Ne, x as ze } from "../init-plugin-515c0649.js";
10
+ import { m as Me } from "../modal-tools-15f2ef04.js";
11
+ import { p as ye, q as Kl, t as Il, v as Vl, w as Bl, x as Ne, y as ze } from "../init-plugin-aca29fd8.js";
12
12
  import { getApiData as Tl } from "../api/api-model.js";
13
13
  import { getViewSettingsAndPageConfig as jl, getPageConfig as Oe } from "./remotePages/index.js";
14
14
  import "../lodash-18e68795.js";
@@ -1,9 +1,9 @@
1
- import { reactive as I, createVNode as w, defineComponent as G, provide as ml, watch as fe, computed as k, onMounted as xt, onUnmounted as _l, Teleport as gl, ref as wt, TransitionGroup as $t, shallowRef as ae, render as Ze, toRaw as hl, watchEffect as qe } from "vue";
2
- import { m as F, q as yl, av as et, aw as bl, a6 as ie, _ as $, a8 as Ne, a5 as vl, H as Pt, i as E, h as H, a9 as Ot, Q as Cl, g as Tt, e as It, a0 as ee, a1 as St, ad as ye, af as be, ae as ve, ag as Le, ax as Mt, f as Fe, E as xl, ay as wl, az as le, d as $l, L as Pl, aA as $e, aB as tt, u as Ol, aC as Tl, aD as Il, aE as Sl, aF as Ml, aG as At, aH as Al, aI as Vl, aJ as kl, aK as jl, ap as Dl, aq as Kl, aL as El, aM as zl, aN as ql, b as Nl, aO as Ll, aP as Fl, aQ as Rl, aR as Hl, ab as Bl } from "../../modal-tools-76dc9770.js";
1
+ import { reactive as I, createVNode as w, defineComponent as B, provide as ml, watch as fe, computed as k, onMounted as xt, onUnmounted as _l, Teleport as gl, ref as wt, TransitionGroup as $t, shallowRef as ae, render as Ze, toRaw as hl, watchEffect as qe } from "vue";
2
+ import { m as F, q as yl, av as et, aw as bl, a6 as ie, _ as $, a8 as Ne, a5 as vl, H as Pt, i as E, h as H, a9 as Ot, Q as Cl, g as Tt, e as It, a0 as ee, a1 as St, ad as ye, af as be, ae as ve, ag as Le, ax as Mt, f as Fe, E as xl, ay as wl, az as le, d as $l, L as Pl, aA as $e, aB as tt, u as Ol, aC as Tl, aD as Il, aE as Sl, aF as Ml, aG as At, aH as Al, aI as Vl, aJ as kl, aK as jl, ap as Dl, aq as Kl, aL as El, aM as zl, aN as ql, b as Nl, aO as Ll, aP as Fl, aQ as Rl, aR as Hl, ab as Gl } from "../../modal-tools-15f2ef04.js";
3
3
  import { Modal as ce, message as R, notification as Y } from "ant-design-vue";
4
- import { o as J, B as z, p as W, t as U, C as Gl, D as Ul, y as Wl, E as Jl, F as Xl } from "../../init-plugin-515c0649.js";
4
+ import { p as J, D as z, q as W, v as U, E as Bl, F as Ul, z as Wl, G as Jl, H as Xl } from "../../init-plugin-aca29fd8.js";
5
5
  import { ExclamationCircleOutlined as de } from "@ant-design/icons-vue";
6
- import { getApiData as B } from "../../api/api-model.js";
6
+ import { getApiData as G } from "../../api/api-model.js";
7
7
  import { l as te, c as Ql, g as Yl } from "../../lodash-18e68795.js";
8
8
  import { getApiPermission as me, getUrl as Q } from "./utils.js";
9
9
  const Zl = () => {
@@ -1078,7 +1078,7 @@ const Vt = [
1078
1078
  let Pe = null;
1079
1079
  const ge = () => {
1080
1080
  if (!Pe) {
1081
- const e = te.cloneDeep(ra), t = Gl();
1081
+ const e = te.cloneDeep(ra), t = Bl();
1082
1082
  for (const l of t)
1083
1083
  e.push(l);
1084
1084
  e.sort((l, a) => l.order - a.order), Pe = e;
@@ -1403,6 +1403,7 @@ const ge = () => {
1403
1403
  options: {
1404
1404
  platform: [
1405
1405
  { name: "PC", value: "10" },
1406
+ { name: "PC 扩展", value: "11" },
1406
1407
  { name: "手机端", value: "20" }
1407
1408
  ],
1408
1409
  type: [
@@ -1436,7 +1437,7 @@ const ge = () => {
1436
1437
  return;
1437
1438
  }
1438
1439
  const c = m.type != 2;
1439
- d.loading = !0, B(
1440
+ d.loading = !0, G(
1440
1441
  {
1441
1442
  ...m,
1442
1443
  org_ids: T,
@@ -1482,7 +1483,7 @@ const ge = () => {
1482
1483
  l.push(o.id);
1483
1484
  });
1484
1485
  const a = [];
1485
- B(
1486
+ G(
1486
1487
  {
1487
1488
  is_active: !0,
1488
1489
  pageSize: 2e3
@@ -1817,7 +1818,7 @@ const ge = () => {
1817
1818
  model: I({
1818
1819
  name: null,
1819
1820
  menu_id: null,
1820
- platform: "10",
1821
+ platform: e.platform,
1821
1822
  icon: null,
1822
1823
  state: null,
1823
1824
  sort: null,
@@ -1848,6 +1849,7 @@ const ge = () => {
1848
1849
  options: {
1849
1850
  platform: [
1850
1851
  { name: "PC", value: "10" },
1852
+ { name: "PC 扩展", value: "11" },
1851
1853
  { name: "手机端", value: "20" }
1852
1854
  ],
1853
1855
  type: [
@@ -2003,7 +2005,7 @@ const ge = () => {
2003
2005
  clazz: "primary",
2004
2006
  cb: () => {
2005
2007
  const e = U(), t = W(), l = e.currentOrg, a = [];
2006
- B(
2008
+ G(
2007
2009
  {
2008
2010
  org_id: l == null ? void 0 : l.org_id,
2009
2011
  is_active: !0,
@@ -2371,6 +2373,7 @@ const ge = () => {
2371
2373
  options: {
2372
2374
  platform: [
2373
2375
  { name: "PC", value: "10" },
2376
+ { name: "PC 扩展", value: "11" },
2374
2377
  { name: "手机端", value: "20" }
2375
2378
  ],
2376
2379
  type: [
@@ -2412,7 +2415,7 @@ const ge = () => {
2412
2415
  return;
2413
2416
  }
2414
2417
  const b = o.type != 2;
2415
- i.loading = !0, B(
2418
+ i.loading = !0, G(
2416
2419
  {
2417
2420
  ...o,
2418
2421
  org_id: l.id,
@@ -2452,9 +2455,7 @@ const ge = () => {
2452
2455
  name: "批量删除",
2453
2456
  clazz: "primary",
2454
2457
  authority: "permission/batch_delete_menu",
2455
- urls: [
2456
- "permission/batch_delete_menu"
2457
- ],
2458
+ urls: ["permission/batch_delete_menu"],
2458
2459
  cb: ({ selectedRowKeys: e }) => {
2459
2460
  if (!e || e.length <= 0) {
2460
2461
  Y.info({
@@ -2469,7 +2470,7 @@ const ge = () => {
2469
2470
  icon: () => w(de),
2470
2471
  onOk() {
2471
2472
  return new Promise((a) => {
2472
- B(
2473
+ G(
2473
2474
  {
2474
2475
  org_id: l.id,
2475
2476
  menu_id: e
@@ -2491,9 +2492,7 @@ const ge = () => {
2491
2492
  name: "批量恢复",
2492
2493
  clazz: "primary",
2493
2494
  authority: "permission/batch_recover_menu",
2494
- urls: [
2495
- "permission/batch_recover_menu"
2496
- ],
2495
+ urls: ["permission/batch_recover_menu"],
2497
2496
  cb: ({ selectedRowKeys: e }) => {
2498
2497
  if (!e || e.length <= 0) {
2499
2498
  Y.info({
@@ -2508,7 +2507,7 @@ const ge = () => {
2508
2507
  icon: () => w(de),
2509
2508
  onOk() {
2510
2509
  return new Promise((a) => {
2511
- B(
2510
+ G(
2512
2511
  {
2513
2512
  org_id: l.id,
2514
2513
  menu_id: e
@@ -3625,15 +3624,15 @@ function nt(e) {
3625
3624
  function Ta(e, t, l) {
3626
3625
  return t in e ? Object.defineProperty(e, t, { value: l, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = l, e;
3627
3626
  }
3628
- var Be = function(t, l) {
3627
+ var Ge = function(t, l) {
3629
3628
  var a = nt({}, t, l.attrs);
3630
3629
  return w(ie, nt({}, a, {
3631
3630
  icon: Oa
3632
3631
  }), null);
3633
3632
  };
3634
- Be.displayName = "CheckCircleOutlined";
3635
- Be.inheritAttrs = !1;
3636
- const Ia = Be;
3633
+ Ge.displayName = "CheckCircleOutlined";
3634
+ Ge.inheritAttrs = !1;
3635
+ const Ia = Ge;
3637
3636
  var Sa = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" } }, { tag: "path", attrs: { d: "M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z" } }] }, name: "exclamation-circle", theme: "outlined" };
3638
3637
  const Ma = Sa;
3639
3638
  function ot(e) {
@@ -3650,15 +3649,15 @@ function ot(e) {
3650
3649
  function Aa(e, t, l) {
3651
3650
  return t in e ? Object.defineProperty(e, t, { value: l, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = l, e;
3652
3651
  }
3653
- var Ge = function(t, l) {
3652
+ var Be = function(t, l) {
3654
3653
  var a = ot({}, t, l.attrs);
3655
3654
  return w(ie, ot({}, a, {
3656
3655
  icon: Ma
3657
3656
  }), null);
3658
3657
  };
3659
- Ge.displayName = "ExclamationCircleOutlined";
3660
- Ge.inheritAttrs = !1;
3661
- const Va = Ge;
3658
+ Be.displayName = "ExclamationCircleOutlined";
3659
+ Be.inheritAttrs = !1;
3660
+ const Va = Be;
3662
3661
  var ka = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" } }, { tag: "path", attrs: { d: "M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z" } }] }, name: "info-circle", theme: "outlined" };
3663
3662
  const ja = ka;
3664
3663
  function it(e) {
@@ -3738,7 +3737,7 @@ let Oe = $({}, Ne.Modal);
3738
3737
  function Ha(e) {
3739
3738
  e ? Oe = $($({}, Oe), e) : Oe = $({}, Ne.Modal);
3740
3739
  }
3741
- const Ae = "internalMark", _e = G({
3740
+ const Ae = "internalMark", _e = B({
3742
3741
  compatConfig: {
3743
3742
  MODE: 3
3744
3743
  },
@@ -3775,7 +3774,7 @@ const Ae = "internalMark", _e = G({
3775
3774
  _e.install = function(e) {
3776
3775
  return e.component(_e.name, _e), e;
3777
3776
  };
3778
- const Ba = vl(_e), xe = G({
3777
+ const Ga = vl(_e), xe = B({
3779
3778
  name: "Notice",
3780
3779
  inheritAttrs: !1,
3781
3780
  props: ["prefixCls", "duration", "updateMark", "noticeKey", "closeIcon", "closable", "props", "onClick", "onClose", "holder", "visible"],
@@ -3845,7 +3844,7 @@ const Ba = vl(_e), xe = G({
3845
3844
  };
3846
3845
  }
3847
3846
  });
3848
- var Ga = globalThis && globalThis.__rest || function(e, t) {
3847
+ var Ba = globalThis && globalThis.__rest || function(e, t) {
3849
3848
  var l = {};
3850
3849
  for (var a in e)
3851
3850
  Object.prototype.hasOwnProperty.call(e, a) && t.indexOf(a) < 0 && (l[a] = e[a]);
@@ -3860,7 +3859,7 @@ function ct() {
3860
3859
  const e = ut;
3861
3860
  return ut += 1, `rcNotification_${Ua}_${e}`;
3862
3861
  }
3863
- const Ve = G({
3862
+ const Ve = B({
3864
3863
  name: "Notification",
3865
3864
  inheritAttrs: !1,
3866
3865
  props: ["prefixCls", "transitionName", "animation", "maxCount", "closeIcon", "hashId"],
@@ -3979,9 +3978,9 @@ Ve.newInstance = function(t, l) {
3979
3978
  transitionName: d,
3980
3979
  hasTransitionName: f,
3981
3980
  useStyle: _
3982
- } = a, h = Ga(a, ["name", "getContainer", "appContext", "prefixCls", "rootPrefixCls", "transitionName", "hasTransitionName", "useStyle"]), b = document.createElement("div");
3981
+ } = a, h = Ba(a, ["name", "getContainer", "appContext", "prefixCls", "rootPrefixCls", "transitionName", "hasTransitionName", "useStyle"]), b = document.createElement("div");
3983
3982
  i ? i().appendChild(b) : document.body.appendChild(b);
3984
- const m = G({
3983
+ const m = B({
3985
3984
  compatConfig: {
3986
3985
  MODE: 3
3987
3986
  },
@@ -4031,7 +4030,7 @@ function pt() {
4031
4030
  const e = dt;
4032
4031
  return dt += 1, `rcNotification_${Wa}_${e}`;
4033
4032
  }
4034
- const Ja = G({
4033
+ const Ja = B({
4035
4034
  name: "HookNotification",
4036
4035
  inheritAttrs: !1,
4037
4036
  props: ["prefixCls", "transitionName", "animation", "maxCount", "closeIcon", "hashId", "remove", "notices", "getStyles", "getClassName", "onAllRemoved", "getContainer"],
@@ -4399,7 +4398,7 @@ const en = (e) => {
4399
4398
  error: w(be, null, null),
4400
4399
  warning: w(ve, null, null),
4401
4400
  loading: w(Le, null, null)
4402
- }, Nt = G({
4401
+ }, Nt = B({
4403
4402
  name: "PureContent",
4404
4403
  inheritAttrs: !1,
4405
4404
  props: ["prefixCls", "type", "icon"],
@@ -4415,7 +4414,7 @@ const en = (e) => {
4415
4414
  };
4416
4415
  }
4417
4416
  });
4418
- G({
4417
+ B({
4419
4418
  name: "PurePanel",
4420
4419
  inheritAttrs: !1,
4421
4420
  props: ["prefixCls", "class", "type", "icon", "content"],
@@ -4453,7 +4452,7 @@ var ln = globalThis && globalThis.__rest || function(e, t) {
4453
4452
  t.indexOf(a[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, a[n]) && (l[a[n]] = e[a[n]]);
4454
4453
  return l;
4455
4454
  };
4456
- const an = 8, nn = 3, on = G({
4455
+ const an = 8, nn = 3, on = B({
4457
4456
  name: "Holder",
4458
4457
  inheritAttrs: !1,
4459
4458
  props: ["top", "prefixCls", "getContainer", "maxCount", "duration", "rtl", "transitionName", "onAllRemoved", "animation", "staticGetContainer"],
@@ -4579,12 +4578,12 @@ function rn(e) {
4579
4578
  function sn(e) {
4580
4579
  return rn(e);
4581
4580
  }
4582
- let Lt = 3, Ft, L, un = 1, Rt = "", Ht = "move-up", Bt = !1, Gt = () => document.body, Ut, Wt = !1;
4581
+ let Lt = 3, Ft, L, un = 1, Rt = "", Ht = "move-up", Gt = !1, Bt = () => document.body, Ut, Wt = !1;
4583
4582
  function cn() {
4584
4583
  return un++;
4585
4584
  }
4586
4585
  function dn(e) {
4587
- e.top !== void 0 && (Ft = e.top, L = null), e.duration !== void 0 && (Lt = e.duration), e.prefixCls !== void 0 && (Rt = e.prefixCls), e.getContainer !== void 0 && (Gt = e.getContainer, L = null), e.transitionName !== void 0 && (Ht = e.transitionName, L = null, Bt = !0), e.maxCount !== void 0 && (Ut = e.maxCount, L = null), e.rtl !== void 0 && (Wt = e.rtl);
4586
+ e.top !== void 0 && (Ft = e.top, L = null), e.duration !== void 0 && (Lt = e.duration), e.prefixCls !== void 0 && (Rt = e.prefixCls), e.getContainer !== void 0 && (Bt = e.getContainer, L = null), e.transitionName !== void 0 && (Ht = e.transitionName, L = null, Gt = !0), e.maxCount !== void 0 && (Ut = e.maxCount, L = null), e.rtl !== void 0 && (Wt = e.rtl);
4588
4587
  }
4589
4588
  function pn(e, t) {
4590
4589
  if (L) {
@@ -4596,11 +4595,11 @@ function pn(e, t) {
4596
4595
  prefixCls: e.prefixCls || Rt,
4597
4596
  rootPrefixCls: e.rootPrefixCls,
4598
4597
  transitionName: Ht,
4599
- hasTransitionName: Bt,
4598
+ hasTransitionName: Gt,
4600
4599
  style: {
4601
4600
  top: Ft
4602
4601
  },
4603
- getContainer: Gt || e.getPopupContainer,
4602
+ getContainer: Bt || e.getPopupContainer,
4604
4603
  maxCount: Ut,
4605
4604
  name: "message",
4606
4605
  useStyle: Xe
@@ -5006,7 +5005,7 @@ function Qt(e) {
5006
5005
  class: `${t}-btn`
5007
5006
  }, [o])]);
5008
5007
  }
5009
- G({
5008
+ B({
5010
5009
  name: "PurePanel",
5011
5010
  inheritAttrs: !1,
5012
5011
  props: ["prefixCls", "icon", "type", "message", "description", "btn", "closeIcon"],
@@ -5099,7 +5098,7 @@ var xn = globalThis && globalThis.__rest || function(e, t) {
5099
5098
  t.indexOf(a[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, a[n]) && (l[a[n]] = e[a[n]]);
5100
5099
  return l;
5101
5100
  };
5102
- const _t = 24, wn = 4.5, $n = G({
5101
+ const _t = 24, wn = 4.5, $n = B({
5103
5102
  name: "Holder",
5104
5103
  inheritAttrs: !1,
5105
5104
  props: ["prefixCls", "class", "type", "icon", "content", "onAllRemoved"],
@@ -5412,7 +5411,7 @@ const Ln = (e) => {
5412
5411
  getPrefixCls: (e, t) => t || (e ? `${ne()}-${e}` : ne()),
5413
5412
  getIconPrefixCls: il,
5414
5413
  getRootPrefixCls: () => N.prefixCls ? N.prefixCls : ne()
5415
- }), se = G({
5414
+ }), se = B({
5416
5415
  compatConfig: {
5417
5416
  MODE: 3
5418
5417
  },
@@ -5541,7 +5540,7 @@ const Ln = (e) => {
5541
5540
  default: () => [we]
5542
5541
  });
5543
5542
  }
5544
- return w(Ba, {
5543
+ return w(Ga, {
5545
5544
  locale: h.value || r,
5546
5545
  ANT_MARK__: Ae
5547
5546
  }, {
@@ -5570,10 +5569,10 @@ async function gt(e) {
5570
5569
  async function Hn(e) {
5571
5570
  return J().post("/permission/copy_role_info", e);
5572
5571
  }
5573
- async function Bn(e) {
5572
+ async function Gn(e) {
5574
5573
  return J().post("/permission/import_role_by_super", e);
5575
5574
  }
5576
- const Gn = () => W().VITE_APP_HAS_PROJECT, rl = [
5575
+ const Bn = () => W().VITE_APP_HAS_PROJECT, rl = [
5577
5576
  {
5578
5577
  name: "修改",
5579
5578
  type: "dropdown",
@@ -5649,7 +5648,7 @@ const Gn = () => W().VITE_APP_HAS_PROJECT, rl = [
5649
5648
  {
5650
5649
  name: "修改模块",
5651
5650
  type: "dropdown",
5652
- is_show: ({ record: e }) => e.is_active && Gn(),
5651
+ is_show: ({ record: e }) => e.is_active && Bn(),
5653
5652
  model_kind: "custom_component",
5654
5653
  model_config: {
5655
5654
  component: "MenuProjectRoleModal",
@@ -5864,7 +5863,7 @@ const Gn = () => W().VITE_APP_HAS_PROJECT, rl = [
5864
5863
  },
5865
5864
  options: {},
5866
5865
  ok: (l) => new Promise(function(n) {
5867
- Bn(l).then(() => {
5866
+ Gn(l).then(() => {
5868
5867
  t.loading = !0, n(null), re.success("导入权限成功");
5869
5868
  });
5870
5869
  })
@@ -7219,7 +7218,7 @@ const ht = (e) => no(e).slice(-3), oo = (e, t, l, a) => (!e || !Array.isArray(e)
7219
7218
  }, po = (e, t, l) => {
7220
7219
  if (!W().VITE_APP_ENABLE_ZH_EN)
7221
7220
  return e;
7222
- const n = Bl(e), i = n.i18n;
7221
+ const n = Gl(e), i = n.i18n;
7223
7222
  return Object.keys(n).forEach((o) => {
7224
7223
  if (yt[o]) {
7225
7224
  let u = i == null ? void 0 : i.i18n_id, s = i == null ? void 0 : i.fields;
@@ -7364,7 +7363,7 @@ const ht = (e) => no(e).slice(-3), oo = (e, t, l, a) => (!e || !Array.isArray(e)
7364
7363
  history_id: o
7365
7364
  }) => {
7366
7365
  const u = W(), [s, d] = await Promise.all([
7367
- B(
7366
+ G(
7368
7367
  {
7369
7368
  org_id: e,
7370
7369
  user_id: t,
@@ -7408,14 +7407,14 @@ const ht = (e) => no(e).slice(-3), oo = (e, t, l, a) => (!e || !Array.isArray(e)
7408
7407
  api_url: `/${t}/query_${i}_list`
7409
7408
  }, f = {};
7410
7409
  if ([].includes(t)) {
7411
- const h = await B(
7410
+ const h = await G(
7412
7411
  u,
7413
7412
  "/sys/get_global_custom_data_by_flag_without_org_id"
7414
7413
  );
7415
7414
  return f.defaultConfig = {}, f.override = null, f.serverConfig = h || {}, f;
7416
7415
  } else {
7417
7416
  const [h, b, m] = await Promise.all([
7418
- B(
7417
+ G(
7419
7418
  s,
7420
7419
  `/${t}/dev_get_column_config_and_remote_config_json`,
7421
7420
  !1,
@@ -7423,10 +7422,10 @@ const ht = (e) => no(e).slice(-3), oo = (e, t, l, a) => (!e || !Array.isArray(e)
7423
7422
  skip_error: !0
7424
7423
  }
7425
7424
  ),
7426
- B(d, `/${t}/override_column_config`, !1, {
7425
+ G(d, `/${t}/override_column_config`, !1, {
7427
7426
  skip_error: !0
7428
7427
  }),
7429
- B(u, "/sys/get_global_custom_data_by_flag_without_org_id")
7428
+ G(u, "/sys/get_global_custom_data_by_flag_without_org_id")
7430
7429
  ]);
7431
7430
  return f.defaultConfig = h || {}, f.override = b || {}, f.serverConfig = m || {}, f;
7432
7431
  }