ss-component-new 1.1.596 → 1.1.598

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.
Files changed (97) hide show
  1. package/dist/{array-mnEYd91h.cjs → array-C1gcNGaP.cjs} +1 -1
  2. package/dist/{array-wJSGLzMi.js → array-CaisX3_y.js} +1 -1
  3. package/dist/{crypto-BRyGpjGR.js → crypto-BLqrsrbD.js} +503 -430
  4. package/dist/{crypto-CRbcEKIz.cjs → crypto-kdpAHFnl.cjs} +11 -11
  5. package/dist/index-2tDhJ_PE.cjs +74 -0
  6. package/dist/{index-CdV-dIPz.js → index-6zxl3bAx.js} +3 -3
  7. package/dist/{index-Bq9zvPYq.js → index-B40Vg6be.js} +6 -6
  8. package/dist/index-BA5Dtdnf.cjs +1 -0
  9. package/dist/{index-DIQgn1lv.js → index-BIT-bLqc.js} +1 -1
  10. package/dist/index-BND1JkQV.cjs +1 -0
  11. package/dist/{index-C1KIIGh8.js → index-BQcbH-Bx.js} +5 -5
  12. package/dist/index-BTFmTXxw.cjs +1 -0
  13. package/dist/{index-Dr_FFxuS.cjs → index-BTR1Mq9-.cjs} +1 -1
  14. package/dist/{index-BhIXAFkM.js → index-BX8Qt4Rx.js} +6 -7
  15. package/dist/index-BkcTV4rw.cjs +1 -0
  16. package/dist/{index-DTKpspvK.cjs → index-BlUO9yjl.cjs} +1 -1
  17. package/dist/{index-Dm8EQvZF.cjs → index-Bn3uMi-8.cjs} +1 -1
  18. package/dist/index-Bp7fX2Un.cjs +1 -0
  19. package/dist/{index-Bb1N38wE.js → index-BzxOgHaM.js} +3 -3
  20. package/dist/{index-CUnz8HhY.cjs → index-C1pvDeK-.cjs} +1 -1
  21. package/dist/index-C2whMdL5.cjs +1 -0
  22. package/dist/{index-_h1qmm7b.js → index-C39wdrEg.js} +13 -13
  23. package/dist/{index-BmX_GIIO.cjs → index-CDtFBTgg.cjs} +1 -1
  24. package/dist/{index-Db0lTu76.js → index-CJT5TxjA.js} +3 -3
  25. package/dist/{index-DHuIlYC1.cjs → index-CLbudYRq.cjs} +1 -1
  26. package/dist/index-CLx_m5eO.cjs +1 -0
  27. package/dist/{index-bALhgSe4.js → index-CZevQ8Dr.js} +22 -23
  28. package/dist/index-CdUSKaxX.cjs +1 -0
  29. package/dist/{index-DSsJ2-ii.cjs → index-D-9AsLgs.cjs} +1 -1
  30. package/dist/{index-BriwvEur.js → index-D-EA3Esr.js} +4 -4
  31. package/dist/{index-BIu-jTfc.js → index-D0SLiYEQ.js} +1 -1
  32. package/dist/{index-Zt6huWXY.js → index-D7dvgWgC.js} +8 -8
  33. package/dist/{index-Bk3SowMg.js → index-D93nyxZ8.js} +4 -4
  34. package/dist/{index-B4LVTE2a.cjs → index-D9qvpCOL.cjs} +174 -174
  35. package/dist/{index-DQm7DvqZ.cjs → index-DAXzplpp.cjs} +1 -1
  36. package/dist/{index-CB4s2Qtu.cjs → index-DHxqKUgB.cjs} +1 -1
  37. package/dist/{index-C7x-mC0R.js → index-DJuUjZvH.js} +83 -84
  38. package/dist/index-DTyUDeyD.js +4369 -0
  39. package/dist/{index-CwYjbsHf.cjs → index-DeXIDjm6.cjs} +1 -1
  40. package/dist/{index-TRcS4V2m.js → index-DiGq9Lsv.js} +5 -5
  41. package/dist/{index-BBnnl-_P.cjs → index-Dnc9hCoC.cjs} +1 -1
  42. package/dist/{index-BurAdhpz.js → index-DyUmQMqi.js} +4 -4
  43. package/dist/index-HXTaOl2k.cjs +1 -0
  44. package/dist/{index-CmXpvujN.js → index-HkaBIp59.js} +1 -1
  45. package/dist/{index-BOb-2bQ6.js → index-RN-gwhe0.js} +2 -2
  46. package/dist/{index-Bkm9CeI0.js → index-V9vs-ScR.js} +1 -1
  47. package/dist/{index-8gbPS8-X.js → index-VF7EMAm-.js} +3 -3
  48. package/dist/{index-4me0w_d_.js → index-Ww4aroev.js} +3 -3
  49. package/dist/{index-BrR-UBrL.js → index-bCB0m90F.js} +5 -5
  50. package/dist/{index-CJ_rdkr8.js → index-hBF27unU.js} +7021 -7051
  51. package/dist/{index-Dsnvzj37.cjs → index-mWOC2B6n.cjs} +1 -1
  52. package/dist/{index-CjrWmm5T.js → index-sLT63BWC.js} +2030 -2020
  53. package/dist/{index-l52VRsV3.cjs → index-v95HBZGa.cjs} +1 -1
  54. package/dist/{index-P7MVl516.cjs → index-vqffUZk8.cjs} +1 -1
  55. package/dist/{index.vue_vue_type_script_setup_true_lang-DdxkZBiO.js → index.vue_vue_type_script_setup_true_lang-CPMJDln6.js} +2 -2
  56. package/dist/{index.vue_vue_type_script_setup_true_lang-CKo9xhlB.cjs → index.vue_vue_type_script_setup_true_lang-T3qSOy6p.cjs} +1 -1
  57. package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CfEICeD4.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BNbsh3Kc.js} +1 -1
  58. package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DXFzvQ4G.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DPUizNX8.cjs} +1 -1
  59. package/dist/index.vue_vue_type_style_index_0_scoped_b9f960ef_lang-BrSe9KLj.cjs +1 -0
  60. package/dist/{index.vue_vue_type_style_index_0_scoped_b9f960ef_lang-C4KOyCan.js → index.vue_vue_type_style_index_0_scoped_b9f960ef_lang-CNhkr8wC.js} +8 -8
  61. package/dist/{index.vue_vue_type_style_index_0_scoped_c4f9c92c_lang-DNiiRDF0.cjs → index.vue_vue_type_style_index_0_scoped_c4f9c92c_lang-CcbD9_8d.cjs} +10 -10
  62. package/dist/{index.vue_vue_type_style_index_0_scoped_c4f9c92c_lang--Ckdd4kI.js → index.vue_vue_type_style_index_0_scoped_c4f9c92c_lang-DCgz0iSg.js} +2170 -2164
  63. package/dist/{main-CBruCFMa.cjs → main-OEqZN7Ta.cjs} +1 -1
  64. package/dist/{main-BdwwE9kL.js → main-v-I0DDbj.js} +5 -5
  65. package/dist/{menu-DYsWoy6Z.cjs → menu-1olc0mrV.cjs} +9 -9
  66. package/dist/{menu-Qw1eGtzq.js → menu-BxkEScwt.js} +201 -199
  67. package/dist/menuIndex-DGUNtXPA.cjs +1 -0
  68. package/dist/menuIndex-DaxuTIfn.js +60 -0
  69. package/dist/{modelComp-y7HaQuVQ.js → modelComp-Bj7Q1JDt.js} +1 -1
  70. package/dist/{modelComp-8s0tWZDU.cjs → modelComp-C5jCD_od.cjs} +1 -1
  71. package/dist/ss-component.cjs +1 -1
  72. package/dist/ss-component.css +1 -1
  73. package/dist/ss-component.js +9 -9
  74. package/dist/ss-component2.cjs +1 -1
  75. package/dist/ss-component2.js +9 -9
  76. package/dist/{threeModel-WeRc8TWE.js → threeModel-D_RxjZwp.js} +568 -550
  77. package/dist/threeModel-ncwxCK1P.cjs +1 -0
  78. package/package.json +1 -1
  79. package/dist/index-B-P2iW5F.cjs +0 -1
  80. package/dist/index-BFKRXrzQ.cjs +0 -1
  81. package/dist/index-BJi_ECqJ.cjs +0 -1
  82. package/dist/index-BiqWWf_i.cjs +0 -1
  83. package/dist/index-DFdkXYtv.js +0 -4373
  84. package/dist/index-DJc0EPc7.cjs +0 -1
  85. package/dist/index-DUjNOx49.cjs +0 -1
  86. package/dist/index-K05hKXiU.cjs +0 -1
  87. package/dist/index-R71UAxtE.cjs +0 -1
  88. package/dist/index-RFCzxTjm.cjs +0 -87
  89. package/dist/index-n20urAJT.cjs +0 -1
  90. package/dist/index.vue_vue_type_style_index_0_scoped_b9f960ef_lang-CHdcwZZm.cjs +0 -1
  91. package/dist/login-BBvcYktp.cjs +0 -1
  92. package/dist/login-afGmER0u.js +0 -129
  93. package/dist/obj/model.mtl +0 -42
  94. package/dist/obj/model.obj +0 -26110
  95. package/dist/threeModel-DQIGp3UU.cjs +0 -1
  96. package/public/obj/model.mtl +0 -42
  97. package/public/obj/model.obj +0 -26110
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue");require("./index-BpPyaNFa.cjs");require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DXFzvQ4G.cjs");const n=require("./menu-DYsWoy6Z.cjs"),o=require("./index-B4LVTE2a.cjs"),c=require("./index-DHuIlYC1.cjs"),u=require("./index-DJc0EPc7.cjs"),s={class:"role-wrapper"},i=e.defineComponent({__name:"index",setup(d){const t=e.reactive({...c.State}),a=n.useMenuState(),{activeMenuPath:r}=n.storeToRefs(a);return e.onMounted(async()=>{t.structureId=await u.getActivePageStructureId(r.value)}),(l,m)=>(e.openBlock(),e.createElementBlock("div",s,[e.createVNode(o.ssTable,{itemData:t.pageData,onChange:t.handleItemDataChange},null,8,["itemData","onChange"])]))}});exports.default=i;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue");require("./index-BpPyaNFa.cjs");require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DPUizNX8.cjs");const n=require("./menu-1olc0mrV.cjs"),o=require("./index-D9qvpCOL.cjs"),c=require("./index-CLbudYRq.cjs"),u=require("./index-CdUSKaxX.cjs"),s={class:"role-wrapper"},i=e.defineComponent({__name:"index",setup(d){const t=e.reactive({...c.State}),a=n.useMenuState(),{activeMenuPath:r}=n.storeToRefs(a);return e.onMounted(async()=>{t.structureId=await u.getActivePageStructureId(r.value)}),(l,m)=>(e.openBlock(),e.createElementBlock("div",s,[e.createVNode(o.ssTable,{itemData:t.pageData,onChange:t.handleItemDataChange},null,8,["itemData","onChange"])]))}});exports.default=i;
@@ -1,9 +1,8 @@
1
1
  import { ref as u, computed as E, reactive as H, nextTick as X, watch as Y } from "vue";
2
- import { bR as Te, g as N, s as S, E as g, c as O, bO as Z, bM as m, bP as ee, p as k, u as te } from "./menu-Qw1eGtzq.js";
3
- import { u as se } from "./login-afGmER0u.js";
4
- import { u as Ke } from "./modelComp-y7HaQuVQ.js";
5
- import { d as ne, i as Pe, e as G } from "./crypto-BRyGpjGR.js";
6
- import { E as we } from "./index-CmXpvujN.js";
2
+ import { bR as Te, g as N, s as S, E as g, c as O, bO as Z, bM as m, bP as ee, p as k, u as te } from "./menu-BxkEScwt.js";
3
+ import { u as se, d as ne, i as Ke, e as G } from "./crypto-BLqrsrbD.js";
4
+ import { u as Pe } from "./modelComp-Bj7Q1JDt.js";
5
+ import { E as we } from "./index-HkaBIp59.js";
7
6
  const re = Te("authorityState", {
8
7
  state: () => ({
9
8
  routerPageStructures: []
@@ -13,7 +12,7 @@ const re = Te("authorityState", {
13
12
  this.routerPageStructures = e;
14
13
  }
15
14
  }
16
- }), De = te(k), { activeMenuPath: v } = S(De), ae = se(k), { structureData: $e } = S(ae), Me = re(k), { routerPageStructures: Re } = S(Me), oe = Ke(k), Ie = u([
15
+ }), De = te(k), { activeMenuPath: v } = S(De), ae = se(k), { structureData: $e } = S(ae), Me = re(k), { routerPageStructures: Re } = S(Me), ce = Pe(k), Ie = u([
17
16
  {
18
17
  label: "角色名称",
19
18
  value: "",
@@ -121,28 +120,28 @@ const re = Te("authorityState", {
121
120
  // }
122
121
  ]), j = u([]), Fe = E(() => {
123
122
  var n, s, t, r, a;
124
- const e = (n = Re.value) == null ? void 0 : n.find((c) => {
125
- var o;
126
- return ((o = c == null ? void 0 : c.comp) == null ? void 0 : o.toUpperCase()) === "TABLE";
123
+ const e = (n = Re.value) == null ? void 0 : n.find((o) => {
124
+ var c;
125
+ return ((c = o == null ? void 0 : o.comp) == null ? void 0 : c.toUpperCase()) === "TABLE";
127
126
  });
128
127
  if (e) {
129
- j.value = (r = (t = (s = e == null ? void 0 : e.compData) == null ? void 0 : s.find((o) => (o == null ? void 0 : o.key) === "header")) == null ? void 0 : t.contents) == null ? void 0 : r.filter((o) => (o == null ? void 0 : o.label) !== "操作");
130
- const c = (a = e == null ? void 0 : e.compData) == null ? void 0 : a.map((o) => {
131
- if ((o == null ? void 0 : o.key) === "rowButton") {
128
+ j.value = (r = (t = (s = e == null ? void 0 : e.compData) == null ? void 0 : s.find((c) => (c == null ? void 0 : c.key) === "header")) == null ? void 0 : t.contents) == null ? void 0 : r.filter((c) => (c == null ? void 0 : c.label) !== "操作");
129
+ const o = (a = e == null ? void 0 : e.compData) == null ? void 0 : a.map((c) => {
130
+ if ((c == null ? void 0 : c.key) === "rowButton") {
132
131
  let l = [];
133
- return K.value ? l = [...o == null ? void 0 : o.contents, { label: "授权" }] : l = o == null ? void 0 : o.contents, {
134
- ...o,
132
+ return K.value ? l = [...c == null ? void 0 : c.contents, { label: "授权" }] : l = c == null ? void 0 : c.contents, {
133
+ ...c,
135
134
  contents: l
136
135
  };
137
136
  }
138
- return o;
137
+ return c;
139
138
  });
140
- return de(c), c;
139
+ return de(o), o;
141
140
  }
142
141
  return [];
143
142
  }), xe = (e) => {
144
143
  W(e.singleContent, e.buttonName, w.value);
145
- }, b = u({}), ce = u(), B = async (e, n, s) => {
144
+ }, b = u({}), oe = u(), B = async (e, n, s) => {
146
145
  var t, r;
147
146
  try {
148
147
  const a = await e(n);
@@ -181,7 +180,7 @@ const re = Te("authorityState", {
181
180
  s + 1 < e.length && Array.isArray(e[s + 1]) ? (t.children = ie(e[s + 1]), s += 2) : s += 1, n.push(t);
182
181
  }
183
182
  return n;
184
- }, fe = (e) => {
183
+ }, ye = (e) => {
185
184
  const n = [];
186
185
  let s = 0;
187
186
  for (; s < (e == null ? void 0 : e.length); ) {
@@ -195,7 +194,7 @@ const re = Te("authorityState", {
195
194
  path: t
196
195
  };
197
196
  return s.children && s.children.length > 0 && (r.children = _(s.children, t)), r;
198
- }), ye = (e, n) => e.reduce((s, t) => {
197
+ }), fe = (e, n) => e.reduce((s, t) => {
199
198
  const r = t[n];
200
199
  return s[r] || (s[r] = []), s[r].push(t), s;
201
200
  }, {}), ge = (e) => {
@@ -204,10 +203,10 @@ const re = Te("authorityState", {
204
203
  !r.children || r.children.length === 0 ? n.push(r) : r.children.forEach((a) => s(a));
205
204
  }
206
205
  return e.forEach((r) => s(r)), n == null ? void 0 : n.map((r) => {
207
- var a, c, o;
206
+ var a, o, c;
208
207
  return {
209
208
  ...r,
210
- parentPath: (o = (c = (a = r.path) == null ? void 0 : a.split("/")) == null ? void 0 : c.slice(0, -1)) == null ? void 0 : o.join("/")
209
+ parentPath: (c = (o = (a = r.path) == null ? void 0 : a.split("/")) == null ? void 0 : o.slice(0, -1)) == null ? void 0 : c.join("/")
211
210
  };
212
211
  });
213
212
  }, pe = (e) => Object.entries(e).map(([s, t]) => ({
@@ -245,23 +244,23 @@ const re = Te("authorityState", {
245
244
  for (const s in e)
246
245
  e[s].forEach((r) => {
247
246
  var l, h;
248
- const a = (l = r.path) != null && l.startsWith("/") ? (h = r.path) == null ? void 0 : h.substring(1) : r.path, c = a == null ? void 0 : a.split("/");
249
- let o = n;
250
- c.forEach((f) => {
251
- let y = o.find(($) => $.title === f);
252
- y || (y = { title: f, path: r.path, children: [] }, o.push(y)), o = y.children;
247
+ const a = (l = r.path) != null && l.startsWith("/") ? (h = r.path) == null ? void 0 : h.substring(1) : r.path, o = a == null ? void 0 : a.split("/");
248
+ let c = n;
249
+ o.forEach((y) => {
250
+ let f = c.find(($) => $.title === y);
251
+ f || (f = { title: y, path: r.path, children: [] }, c.push(f)), c = f.children;
253
252
  });
254
253
  });
255
254
  return n;
256
255
  }, We = (e) => {
257
256
  const n = {};
258
257
  return e.forEach((s) => {
259
- const { path: t, checkedButtons: r } = s, a = t, c = r.map((o) => ({
260
- title: o.split("/").pop() || "",
261
- path: o,
258
+ const { path: t, checkedButtons: r } = s, a = t, o = r.map((c) => ({
259
+ title: c.split("/").pop() || "",
260
+ path: c,
262
261
  parentPath: a
263
262
  }));
264
- n[a] = c;
263
+ n[a] = o;
265
264
  }), n;
266
265
  }, ve = (e) => {
267
266
  let n = [];
@@ -278,8 +277,8 @@ const re = Te("authorityState", {
278
277
  const n = [];
279
278
  for (const s of e) {
280
279
  if (!Array.isArray(s) || s.length !== 2) continue;
281
- const [t, r] = s, a = be(r), c = n.indexOf(t);
282
- c === -1 ? n.push(t, a) : n[c + 1] = Ae(n[c + 1], a);
280
+ const [t, r] = s, a = be(r), o = n.indexOf(t);
281
+ o === -1 ? n.push(t, a) : n[o + 1] = Ae(n[o + 1], a);
283
282
  }
284
283
  return n;
285
284
  }, be = (e) => {
@@ -307,7 +306,7 @@ const re = Te("authorityState", {
307
306
  }
308
307
  return s;
309
308
  }, Ve = async (e, n) => {
310
- if (b.value = O(n), oe.setRefreshCurStructure(!1), e === "授权") {
309
+ if (b.value = O(n), ce.setRefreshCurStructure(!1), e === "授权") {
311
310
  console.log("clickRowButton0", d.value), console.log("clickRowButton1", b.value[d.value]);
312
311
  const s = _e(b.value[d.value]);
313
312
  console.log("clickRowButton4", s);
@@ -315,8 +314,8 @@ const re = Te("authorityState", {
315
314
  if (s)
316
315
  t = b.value[d.value];
317
316
  else {
318
- const r = fe(b.value[d.value]), a = _(r), c = ge(a), o = ye(c, "parentPath");
319
- t = pe(o);
317
+ const r = ye(b.value[d.value]), a = _(r), o = ge(a), c = fe(o, "parentPath");
318
+ t = pe(c);
320
319
  }
321
320
  console.log("clickRowButton5", t), await X(), A.title = `【${n.a0}】授权`, A.show = !0, t && Array.isArray(t) && le(D.value, t);
322
321
  }
@@ -340,8 +339,8 @@ const re = Te("authorityState", {
340
339
  var r;
341
340
  if (Array.isArray(t == null ? void 0 : t.tableData)) {
342
341
  let a = { id: t.id };
343
- return (r = t == null ? void 0 : t.tableData) == null || r.forEach((c, o) => {
344
- a[`a${o}`] = c;
342
+ return (r = t == null ? void 0 : t.tableData) == null || r.forEach((o, c) => {
343
+ a[`a${c}`] = o;
345
344
  }), a;
346
345
  } else
347
346
  return {
@@ -355,7 +354,7 @@ const re = Te("authorityState", {
355
354
  t.label && e && (s[t.label] = (e == null ? void 0 : e[`a${r}`]) ?? null);
356
355
  }), s;
357
356
  }, W = (e, n, s) => {
358
- var a, c, o, l;
357
+ var a, o, c, l;
359
358
  const t = O(e);
360
359
  t != null && t.id && delete t.id;
361
360
  const r = U(t, j.value);
@@ -363,7 +362,7 @@ const re = Te("authorityState", {
363
362
  key: {
364
363
  type: "data",
365
364
  systemKey: sessionStorage.getItem("systemKey"),
366
- pageKey: (a = v.value) != null && a.startsWith("/") ? (c = v.value) == null ? void 0 : c.substring(1) : v.value,
365
+ pageKey: (a = v.value) != null && a.startsWith("/") ? (o = v.value) == null ? void 0 : o.substring(1) : v.value,
367
366
  tableId: s
368
367
  },
369
368
  value: {
@@ -379,7 +378,7 @@ const re = Te("authorityState", {
379
378
  key: {
380
379
  type: "data",
381
380
  systemKey: sessionStorage.getItem("systemKey"),
382
- pageKey: (o = v.value) != null && o.startsWith("/") ? (l = v.value) == null ? void 0 : l.substring(1) : v.value,
381
+ pageKey: (c = v.value) != null && c.startsWith("/") ? (l = v.value) == null ? void 0 : l.substring(1) : v.value,
383
382
  tableId: s
384
383
  },
385
384
  value: {
@@ -391,7 +390,7 @@ const re = Te("authorityState", {
391
390
  id: e.id
392
391
  }, n).then((h) => {
393
392
  n && h && g.success(n + "成功");
394
- }), oe.setRefreshCurStructure(!0);
393
+ }), ce.setRefreshCurStructure(!0);
395
394
  }, ke = (e) => {
396
395
  let n = [];
397
396
  return e == null || e.forEach((s) => {
@@ -426,7 +425,7 @@ const re = Te("authorityState", {
426
425
  var s, t;
427
426
  return console.log("isPenultimate", e, n), ((t = (s = n == null ? void 0 : n.data) == null ? void 0 : s.renderButtons) == null ? void 0 : t.length) > 0 ? "is-penultimate" : "";
428
427
  }, w = u(0), He = async (e) => {
429
- var t, r, a, c, o;
428
+ var t, r, a, o, c;
430
429
  let n;
431
430
  const s = await N({
432
431
  key: {
@@ -436,7 +435,7 @@ const re = Te("authorityState", {
436
435
  pageKey: e != null && e.startsWith("/") ? e == null ? void 0 : e.substring(1) : e
437
436
  }
438
437
  });
439
- return ((t = s == null ? void 0 : s.data) == null ? void 0 : t.code) === 200 && (r = s == null ? void 0 : s.data) != null && r.result && ((a = s == null ? void 0 : s.data) == null ? void 0 : a.result.length) > 0 && (n = (o = (c = s == null ? void 0 : s.data.result) == null ? void 0 : c[0]) == null ? void 0 : o.id, w.value = n), n;
438
+ return ((t = s == null ? void 0 : s.data) == null ? void 0 : t.code) === 200 && (r = s == null ? void 0 : s.data) != null && r.result && ((a = s == null ? void 0 : s.data) == null ? void 0 : a.result.length) > 0 && (n = (c = (o = s == null ? void 0 : s.data.result) == null ? void 0 : o[0]) == null ? void 0 : c.id, w.value = n), n;
440
439
  }, D = u([]), Xe = u([
441
440
  {
442
441
  path: "资源管理",
@@ -455,7 +454,7 @@ const re = Te("authorityState", {
455
454
  };
456
455
  Y(() => T.value.length, () => {
457
456
  var e;
458
- (e = ce.value) == null || e.setCheckedKeys([...T.value]);
457
+ (e = oe.value) == null || e.setCheckedKeys([...T.value]);
459
458
  });
460
459
  Y(() => A.show, (e) => {
461
460
  e || (D.value = ue(D.value));
@@ -467,11 +466,11 @@ const F = E(() => {
467
466
  return ((a = (r = t == null ? void 0 : t.key) == null ? void 0 : r.pageKey) == null ? void 0 : a.toUpperCase()) !== "MENU";
468
467
  });
469
468
  return [...e == null ? void 0 : e.map((t) => {
470
- var c, o, l, h;
469
+ var o, c, l, h;
471
470
  const r = /button/i;
472
- let a = (l = (o = (c = t == null ? void 0 : t.value) == null ? void 0 : c.pageData) == null ? void 0 : o.compData) == null ? void 0 : l.filter((f) => r.test(f == null ? void 0 : f.key));
471
+ let a = (l = (c = (o = t == null ? void 0 : t.value) == null ? void 0 : o.pageData) == null ? void 0 : c.compData) == null ? void 0 : l.filter((y) => r.test(y == null ? void 0 : y.key));
473
472
  return a = Array.from(
474
- new Set(a == null ? void 0 : a.flatMap((f) => f.contents.map((y) => y.label)))
473
+ new Set(a == null ? void 0 : a.flatMap((y) => y.contents.map((f) => f.label)))
475
474
  ), {
476
475
  path: (h = t == null ? void 0 : t.key) == null ? void 0 : h.pageKey,
477
476
  buttons: a
@@ -488,21 +487,21 @@ const F = E(() => {
488
487
  if (Array.isArray(e))
489
488
  return Q.value = me(e), e == null ? void 0 : e.map((s) => {
490
489
  var r, a;
491
- const t = n == null ? void 0 : n.find((c) => (c == null ? void 0 : c.path) === (s == null ? void 0 : s.path));
490
+ const t = n == null ? void 0 : n.find((o) => (o == null ? void 0 : o.path) === (s == null ? void 0 : s.path));
492
491
  return s.childMenus && s.childMenus.length > 0 ? {
493
492
  ...s,
494
- renderButtons: s.carryData ? (r = t == null ? void 0 : t.buttons) == null ? void 0 : r.map((c) => ({
495
- title: c,
496
- path: s.path + "/" + c
493
+ renderButtons: s.carryData ? (r = t == null ? void 0 : t.buttons) == null ? void 0 : r.map((o) => ({
494
+ title: o,
495
+ path: s.path + "/" + o
497
496
  })) : [],
498
497
  checkedButtons: [],
499
498
  children: x(s.childMenus, F.value),
500
499
  childMenus: x(s.childMenus, F.value)
501
500
  } : {
502
501
  ...s,
503
- renderButtons: s.carryData ? (a = t == null ? void 0 : t.buttons) == null ? void 0 : a.map((c) => ({
504
- title: c,
505
- path: s.path + "/" + c
502
+ renderButtons: s.carryData ? (a = t == null ? void 0 : t.buttons) == null ? void 0 : a.map((o) => ({
503
+ title: o,
504
+ path: s.path + "/" + o
506
505
  })) : [],
507
506
  checkedButtons: []
508
507
  };
@@ -522,7 +521,7 @@ const F = E(() => {
522
521
  ]
523
522
  }
524
523
  ]
525
- }, vt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
524
+ }, dt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
526
525
  __proto__: null,
527
526
  addButtonsToTree: x,
528
527
  addPathToTree: _,
@@ -533,7 +532,7 @@ const F = E(() => {
533
532
  clickRowButton: Ve,
534
533
  clickSubmitAuthority: Ge,
535
534
  closeAuthorizeDialog: ze,
536
- convertArrayToTree: fe,
535
+ convertArrayToTree: ye,
537
536
  convertIndexToLabel: U,
538
537
  customNodeClass: Je,
539
538
  getActivePageStructureId: He,
@@ -541,7 +540,7 @@ const F = E(() => {
541
540
  getFirstArrayProperty: he,
542
541
  getLeafNodesRecursive: ge,
543
542
  getPageDataAsync: qe,
544
- groupByField: ye,
543
+ groupByField: fe,
545
544
  handleItemDataChange: xe,
546
545
  handleNodeBtnChange: Ze,
547
546
  handleNodeCheckChange: Ye,
@@ -559,7 +558,7 @@ const F = E(() => {
559
558
  submitTableAsyncByVerify: W,
560
559
  tempRolePageData: et,
561
560
  tempSysMenus: Q,
562
- treeRef: ce
561
+ treeRef: oe
563
562
  }, Symbol.toStringTag, { value: "Module" })), Se = se(k), { superAdminInfo: tt, cryptoInfo: i } = S(Se), st = te(k), { activeMenuPath: p } = S(st), M = "123456", nt = re(k), { routerPageStructures: rt } = S(nt), V = u(0), at = u([
564
563
  {
565
564
  label: "用户名称",
@@ -569,30 +568,30 @@ const F = E(() => {
569
568
  ]), K = E(() => {
570
569
  const e = sessionStorage.getItem("isSuperAdmin");
571
570
  return e ? JSON.parse(e) : !1;
572
- }), ot = (e) => {
571
+ }), ct = (e) => {
573
572
  console.log("handleQueryChange", e);
574
573
  }, z = u([]), R = E(() => {
575
574
  var n, s, t, r, a;
576
- const e = (n = rt.value) == null ? void 0 : n.find((c) => {
577
- var o;
578
- return ((o = c == null ? void 0 : c.comp) == null ? void 0 : o.toUpperCase()) === "TABLE";
575
+ const e = (n = rt.value) == null ? void 0 : n.find((o) => {
576
+ var c;
577
+ return ((c = o == null ? void 0 : o.comp) == null ? void 0 : c.toUpperCase()) === "TABLE";
579
578
  });
580
579
  if (e) {
581
- z.value = (r = (t = (s = e == null ? void 0 : e.compData) == null ? void 0 : s.find((o) => (o == null ? void 0 : o.key) === "header")) == null ? void 0 : t.contents) == null ? void 0 : r.filter((o) => (o == null ? void 0 : o.label) !== "操作");
582
- const c = (a = e == null ? void 0 : e.compData) == null ? void 0 : a.map((o) => {
583
- if ((o == null ? void 0 : o.key) === "rowButton") {
584
- const l = [...o == null ? void 0 : o.contents, { label: "重置密码" }];
580
+ z.value = (r = (t = (s = e == null ? void 0 : e.compData) == null ? void 0 : s.find((c) => (c == null ? void 0 : c.key) === "header")) == null ? void 0 : t.contents) == null ? void 0 : r.filter((c) => (c == null ? void 0 : c.label) !== "操作");
581
+ const o = (a = e == null ? void 0 : e.compData) == null ? void 0 : a.map((c) => {
582
+ if ((c == null ? void 0 : c.key) === "rowButton") {
583
+ const l = [...c == null ? void 0 : c.contents, { label: "重置密码" }];
585
584
  return {
586
- ...o,
585
+ ...c,
587
586
  contents: l
588
587
  };
589
588
  }
590
- return o;
589
+ return c;
591
590
  });
592
- return console.log(245, c), c;
591
+ return console.log(245, o), o;
593
592
  }
594
593
  return [];
595
- }), ct = (e) => {
594
+ }), ot = (e) => {
596
595
  q(e.singleContent, e.buttonName, V.value);
597
596
  }, I = u(), lt = (e) => {
598
597
  console.log("onDoubleClick", e);
@@ -643,35 +642,35 @@ const F = E(() => {
643
642
  g.error(a);
644
643
  }
645
644
  }, q = (e, n, s) => {
646
- var a, c, o, l, h, f;
645
+ var a, o, c, l, h, y;
647
646
  const t = O(e);
648
647
  t != null && t.id && delete t.id;
649
648
  const r = U(t, z.value);
650
- Pe() && r && (!r.password && K.value ? r.password = G(M, (a = i == null ? void 0 : i.value) == null ? void 0 : a.publicKey) : r.password && K.value && (r.password = G(r == null ? void 0 : r.password, (c = i == null ? void 0 : i.value) == null ? void 0 : c.publicKey))), n === "新增" ? P(Z, {
649
+ Ke() && r && (!r.password && K.value ? r.password = G(M, (a = i == null ? void 0 : i.value) == null ? void 0 : a.publicKey) : r.password && K.value && (r.password = G(r == null ? void 0 : r.password, (o = i == null ? void 0 : i.value) == null ? void 0 : o.publicKey))), n === "新增" ? P(Z, {
651
650
  key: {
652
651
  type: "data",
653
652
  layer: r == null ? void 0 : r.layer,
654
653
  systemKey: sessionStorage.getItem("systemKey"),
655
- pageKey: (o = p.value) != null && o.startsWith("/") ? (l = p.value) == null ? void 0 : l.substring(1) : p.value,
654
+ pageKey: (c = p.value) != null && c.startsWith("/") ? (l = p.value) == null ? void 0 : l.substring(1) : p.value,
656
655
  tableId: s
657
656
  },
658
657
  value: {
659
658
  tableData: r
660
659
  }
661
- }, n).then((y) => {
660
+ }, n).then((f) => {
662
661
  var $;
663
662
  I.value = {
664
663
  ...e,
665
- newId: y,
664
+ newId: f,
666
665
  password: K.value ? ne((e == null ? void 0 : e.password) ?? M, ($ = i == null ? void 0 : i.value) == null ? void 0 : $.privateKey) : e == null ? void 0 : e.password
667
- }, n && y && g.success(n + "成功");
666
+ }, n && f && g.success(n + "成功");
668
667
  }) : n === "编辑" || n === "重置密码" ? P(m, {
669
668
  id: e.id,
670
669
  key: {
671
670
  type: "data",
672
671
  layer: r == null ? void 0 : r.layer,
673
672
  systemKey: sessionStorage.getItem("systemKey"),
674
- pageKey: (h = p.value) != null && h.startsWith("/") ? (f = p.value) == null ? void 0 : f.substring(1) : p.value,
673
+ pageKey: (h = p.value) != null && h.startsWith("/") ? (y = p.value) == null ? void 0 : y.substring(1) : p.value,
675
674
  tableId: s
676
675
  },
677
676
  value: {
@@ -722,14 +721,14 @@ const F = E(() => {
722
721
  ]
723
722
  }
724
723
  ]
725
- }, bt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
724
+ }, vt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
726
725
  __proto__: null,
727
726
  changedRow: I,
728
727
  clickRowButton: ut,
729
728
  columns: z,
730
729
  getPageDataAsync: Ce,
731
- handleItemDataChange: ct,
732
- handleQueryChange: ot,
730
+ handleItemDataChange: ot,
731
+ handleQueryChange: ct,
733
732
  handleSubmitAsync: P,
734
733
  loginUserIsSuper: K,
735
734
  onDoubleClick: lt,
@@ -742,17 +741,17 @@ const F = E(() => {
742
741
  tempUserPageData: ht
743
742
  }, Symbol.toStringTag, { value: "Module" }));
744
743
  export {
745
- bt as S,
744
+ vt as S,
746
745
  _ as a,
747
746
  ge as b,
748
- fe as c,
749
- ye as d,
747
+ ye as c,
748
+ fe as d,
750
749
  Ce as e,
751
750
  P as f,
752
751
  he as g,
753
752
  pe as h,
754
753
  He as i,
755
- vt as j,
754
+ dt as j,
756
755
  M as r,
757
756
  q as s,
758
757
  re as u