ss-component-new 1.1.340 → 1.1.342

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 (74) hide show
  1. package/dist/{array-IAE5kJFG.cjs → array-BbLR4QFJ.cjs} +1 -1
  2. package/dist/{array-B06PZ90z.js → array-CIgl-zVp.js} +2 -2
  3. package/dist/{cloneDeep-B_AN9BZz.js → cloneDeep-B6dvqPwg.js} +1 -1
  4. package/dist/{cloneDeep-Y6SiJhri.cjs → cloneDeep-CsbXNSYy.cjs} +1 -1
  5. package/dist/{index-CgTJOHb6.cjs → index-1jVBtKXq.cjs} +1 -1
  6. package/dist/{index-B-xnZmbi.cjs → index-2Y_8Spti.cjs} +1 -1
  7. package/dist/{index-ChlLoDlf.cjs → index-BFz8ojUA.cjs} +1 -1
  8. package/dist/{index-CUbs-rQo.js → index-BGPQJXB3.js} +8 -8
  9. package/dist/{index-D7GTOlty.js → index-BMBjPvzr.js} +3 -3
  10. package/dist/{index-BAsOoTcX.js → index-BNhZu2YE.js} +4 -4
  11. package/dist/{index-BDb1KYMF.cjs → index-BRGrtqBY.cjs} +1 -1
  12. package/dist/{index-C1W9DoMg.js → index-B_NUrr4d.js} +3 -3
  13. package/dist/{index-9U7a4Lnn.js → index-BbZ5oZ0i.js} +1 -1
  14. package/dist/{index-DFbzBbkE.cjs → index-BcYDkpFv.cjs} +1 -1
  15. package/dist/{index-C4oaDD_g.js → index-BhsyjobL.js} +1 -1
  16. package/dist/{index-KES5JdwO.cjs → index-BkteT_oe.cjs} +1 -1
  17. package/dist/{index-B0GOpCVV.cjs → index-BnzdBVAZ.cjs} +1 -1
  18. package/dist/{index-DvdzE7Hf.cjs → index-BpyPhZFL.cjs} +1 -1
  19. package/dist/{index-NjLtPFI3.cjs → index-BtgTpXO3.cjs} +1 -1
  20. package/dist/{index-dc6tjlmP.cjs → index-BzDI1Hk1.cjs} +1 -1
  21. package/dist/{index-CDr_vYjF.js → index-C7YAhn2s.js} +4 -4
  22. package/dist/{index-DvvHClYJ.cjs → index-C80LCckV.cjs} +1 -1
  23. package/dist/{index-MH1oGtgn.cjs → index-CCBUJLcW.cjs} +1 -1
  24. package/dist/{index-Drs0Rsir.js → index-CFuHMQ0E.js} +3 -3
  25. package/dist/{index-DAKnsULb.cjs → index-CTItPGo-.cjs} +1 -1
  26. package/dist/{index-DR0WoAsz.js → index-CaDX01yd.js} +7 -7
  27. package/dist/{index-Cc6csIgf.cjs → index-CanLcekr.cjs} +1 -1
  28. package/dist/{index-Q5yac929.cjs → index-CpSZLiKk.cjs} +1 -1
  29. package/dist/{index-BCB0PEiR.cjs → index-CtXYbr9R.cjs} +1 -1
  30. package/dist/{index-Dg6ue4vz.cjs → index-CyUifof7.cjs} +2 -2
  31. package/dist/{index-ywmQAIKw.js → index-Cz6mt4xg.js} +3 -3
  32. package/dist/{index-xncpD9kf.js → index-D1SmPFCi.js} +4 -4
  33. package/dist/{index-B28cChvk.js → index-D24pmlO4.js} +7 -7
  34. package/dist/{index-BHF1ffp8.js → index-D5utaOGh.js} +15 -15
  35. package/dist/{index-DDdi9GZb.js → index-DABs8Kxo.js} +3 -3
  36. package/dist/{index-9Qo6zr3A.js → index-DBOIQSzb.js} +6 -6
  37. package/dist/{index-nu33sXcH.cjs → index-DERavfV0.cjs} +1 -1
  38. package/dist/{index-CrkPJvoF.cjs → index-DGhwNtIt.cjs} +1 -1
  39. package/dist/{index-DbQyV8A0.cjs → index-DLKC6eHy.cjs} +1 -1
  40. package/dist/{index-DwSfL4Mu.cjs → index-DOLlBmj2.cjs} +1 -1
  41. package/dist/{index-ELSCYb0q.cjs → index-DR0edIox.cjs} +1 -1
  42. package/dist/{index-Dam7jFb7.js → index-DXg7q_C4.js} +4 -4
  43. package/dist/{index-D4ctAO59.js → index-DkyKDNU2.js} +5 -5
  44. package/dist/{index-DPFPehud.cjs → index-Dmd8Gu9w.cjs} +1 -1
  45. package/dist/{index-DA4_7Z7H.js → index-DnUb2lBQ.js} +1 -1
  46. package/dist/{index-BxvxIhMb.cjs → index-DpFIZqXx.cjs} +1 -1
  47. package/dist/{index-ijUUHiQt.js → index-DszdIT7Q.js} +1 -1
  48. package/dist/{index-DuR9UdpW.js → index-DwWpxE53.js} +5 -5
  49. package/dist/{index-C9siKrRV.js → index-HNpuyw2U.js} +4 -4
  50. package/dist/{index-CNFKEdQr.js → index-IcpToIdy.js} +8 -8
  51. package/dist/{index-LMMepcVW.cjs → index-Lf5outC1.cjs} +1 -1
  52. package/dist/{index-C6Z9WchS.js → index-PfDSH60C.js} +5 -5
  53. package/dist/{index-t-T1ZMSZ.js → index-SijcElo_.js} +9 -9
  54. package/dist/{index-CJkfJyDo.js → index-Y0Cyumla.js} +5 -5
  55. package/dist/{index-DvcIn1u0.js → index-eD5QqJJO.js} +6 -6
  56. package/dist/{index-B8UHRfF_.cjs → index-rtQK9z6N.cjs} +1 -1
  57. package/dist/{index.vue_vue_type_script_setup_true_lang-Dn-MIsQU.js → index.vue_vue_type_script_setup_true_lang-B2Pk0SDZ.js} +1 -1
  58. package/dist/{index.vue_vue_type_script_setup_true_lang-7xnZP-Qj.cjs → index.vue_vue_type_script_setup_true_lang-BLVTWxQ6.cjs} +1 -1
  59. package/dist/{index.vue_vue_type_style_index_0_scoped_62633fa4_lang-Bvzwj2Wc.js → index.vue_vue_type_style_index_0_scoped_62633fa4_lang-DZg4mORk.js} +13 -13
  60. package/dist/{index.vue_vue_type_style_index_0_scoped_62633fa4_lang-xSXwoed0.cjs → index.vue_vue_type_style_index_0_scoped_62633fa4_lang-fyq9ZrLg.cjs} +1 -1
  61. package/dist/{index.vue_vue_type_style_index_0_scoped_d9b749a8_lang-CLHTc7GG.cjs → index.vue_vue_type_style_index_0_scoped_d9b749a8_lang-C-VFwt4I.cjs} +1 -1
  62. package/dist/{index.vue_vue_type_style_index_0_scoped_d9b749a8_lang-BWpBHfy4.js → index.vue_vue_type_style_index_0_scoped_d9b749a8_lang-Dc6z5Mju.js} +8 -8
  63. package/dist/{login-Com7R_T4.js → login-CGsSxGrp.js} +2 -2
  64. package/dist/{login-yEjJpKiY.cjs → login-CJlmnJXf.cjs} +1 -1
  65. package/dist/{main-BMPuoYVr.cjs → main-BB-V7rpk.cjs} +1 -1
  66. package/dist/{main-4EeVCnR6.js → main-CHMOdLsc.js} +7 -7
  67. package/dist/{menu-s4M6domI.js → menu-DWyy1zjD.js} +1 -1
  68. package/dist/{menu-CHw9SnTy.cjs → menu-sqTDeabF.cjs} +1 -1
  69. package/dist/ss-component.cjs +1 -1
  70. package/dist/ss-component.css +1 -1
  71. package/dist/ss-component.js +7 -7
  72. package/dist/ss-component3.cjs +1 -1
  73. package/dist/ss-component3.js +1 -1
  74. package/package.json +1 -1
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as N, computed as $, ref as h, watch as z, createElementBlock as x, openBlock as y, createVNode as v, createElementVNode as P, withCtx as i, createTextVNode as E, toDisplayString as I, resolveComponent as B, createBlock as T, Fragment as V, renderList as R, normalizeStyle as q } from "vue";
2
- import { _ as H } from "./index.vue_vue_type_script_setup_true_lang-Dn-MIsQU.js";
3
- import { a as j, E as F } from "./menu-s4M6domI.js";
2
+ import { _ as H } from "./index.vue_vue_type_script_setup_true_lang-B2Pk0SDZ.js";
3
+ import { a as j, E as F } from "./menu-DWyy1zjD.js";
4
4
  import { _ as L } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
- import { S as M } from "./index-xncpD9kf.js";
5
+ import { S as M } from "./index-D1SmPFCi.js";
6
6
  import { S as U } from "./index-BHtNKL1L.js";
7
7
  function O(l) {
8
8
  const d = sessionStorage.getItem("loginToken") ?? "123456";
@@ -1,10 +1,10 @@
1
1
  import { ref as H, resolveComponent as U, createBlock as N, openBlock as m, defineComponent as Ne, onMounted as We, withCtx as O, createVNode as re, createElementVNode as ce, createElementBlock as I, Fragment as ee, renderList as te, createTextVNode as Be, toDisplayString as we, watch as De, renderSlot as ne, createCommentVNode as J, resolveDynamicComponent as ht, createSlots as Re, mergeProps as pt, normalizeProps as G2, guardReactiveProps as W2, nextTick as Je, normalizeStyle as fe, computed as ft, unref as x2, h as a2, reactive as S2, onBeforeUnmount as Y2, toRefs as q2, withDirectives as i2, vShow as l2, normalizeClass as X2 } from "vue";
2
2
  import { S as r2 } from "./index-BHtNKL1L.js";
3
3
  import { _ as Me } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
- import { c as _e } from "./cloneDeep-B_AN9BZz.js";
5
- import { E as D2, g as Jt, u as K2, s as J2, a as Z2 } from "./menu-s4M6domI.js";
6
- import { _ as Q2 } from "./index.vue_vue_type_script_setup_true_lang-Dn-MIsQU.js";
7
- import { c as e0 } from "./index-t-T1ZMSZ.js";
4
+ import { c as _e } from "./cloneDeep-B6dvqPwg.js";
5
+ import { E as D2, g as Jt, u as K2, s as J2, a as Z2 } from "./menu-DWyy1zjD.js";
6
+ import { _ as Q2 } from "./index.vue_vue_type_script_setup_true_lang-B2Pk0SDZ.js";
7
+ import { c as e0 } from "./index-SijcElo_.js";
8
8
  function t0(o) {
9
9
  return o && o.__esModule && Object.prototype.hasOwnProperty.call(o, "default") ? o.default : o;
10
10
  }
@@ -1,12 +1,12 @@
1
- import { ah as Cl, aj as tl, u as cl, aq as gl, av as kl, aw as _l } from "./index-CJkfJyDo.js";
1
+ import { ah as Cl, aj as tl, u as cl, aq as gl, av as kl, aw as _l } from "./index-Y0Cyumla.js";
2
2
  import { ref as E, watch as we, createElementBlock as J, openBlock as L, createVNode as M, resolveComponent as be, Fragment as me, renderList as ye, createElementVNode as u, createCommentVNode as Ae, toDisplayString as Z, withCtx as se, createBlock as Ce, defineComponent as ze, reactive as el, createTextVNode as Ue, resolveDynamicComponent as Ge, computed as ll, renderSlot as He, createSlots as wl, mergeProps as xl, unref as Dl, normalizeStyle as Il, withModifiers as Ke } from "vue";
3
- import { p as Se } from "./index-9U7a4Lnn.js";
4
- import { F as sl, b as De, s as Ie, g as $l, c as dl, d as _e, f as qe, m as Ye, e as Je, h as Ze, i as Tl, j as El, a as Bl } from "./index-xncpD9kf.js";
5
- import { f as vl, s as Pe, E as Re, g as il, b as Fl } from "./menu-s4M6domI.js";
3
+ import { p as Se } from "./index-BbZ5oZ0i.js";
4
+ import { F as sl, b as De, s as Ie, g as $l, c as dl, d as _e, f as qe, m as Ye, e as Je, h as Ze, i as Tl, j as El, a as Bl } from "./index-D1SmPFCi.js";
5
+ import { f as vl, s as Pe, E as Re, g as il, b as Fl } from "./menu-DWyy1zjD.js";
6
6
  import { _ as ge } from "./_plugin-vue_export-helper-CHgC5LLL.js";
7
- import { c as p } from "./cloneDeep-B_AN9BZz.js";
8
- import { E as Ne } from "./index-Drs0Rsir.js";
9
- import { s as Al, a as Ll } from "./index-ywmQAIKw.js";
7
+ import { c as p } from "./cloneDeep-B6dvqPwg.js";
8
+ import { E as Ne } from "./index-CFuHMQ0E.js";
9
+ import { s as Al, a as Ll } from "./index-Cz6mt4xg.js";
10
10
  import Sl from "./index-CZtXRS3l.js";
11
11
  const Vl = (b) => b.match(/\((.*)\)/)[1], Ol = vl("formComp", {
12
12
  state: () => ({
@@ -1,19 +1,19 @@
1
1
  import { ref as fe, onMounted as Kn, nextTick as un, onBeforeUnmount as _o, createElementBlock as _e, openBlock as re, createElementVNode as Z, createCommentVNode as nt, normalizeClass as hn, unref as G, withDirectives as Kt, isRef as pn, vModelRadio as fn, toDisplayString as dt, watch as gt, Fragment as kn, renderList as xn, normalizeStyle as ko, resolveComponent as Ue, resolveDirective as Fs, createBlock as tt, withCtx as ge, createVNode as ae, createTextVNode as Dt, renderSlot as on, resolveDynamicComponent as On, defineComponent as xo, computed as vo } from "vue";
2
- import { m as Wn, a as Zn, b as Xn } from "./index-CNFKEdQr.js";
3
- import zn from "./index-C4oaDD_g.js";
4
- import { p as bt } from "./index-9U7a4Lnn.js";
5
- import { C as Co, V as de, M as Xt, T as Wt, Q as vn, S as gs, a as lt, R as To, P as yn, b as Yt, c as js, d as Et, e as Un, W as Ao, f as Eo, A as Mo, g as Ke, X as No, h as Is, D as bn, H as Po, i as Bn, B as Jn, j as Pn, k as ct, l as Ot, m as ft, E as wn, L as Qt, F as rn, G as an, n as Ut, o as Ve, p as Jt, q as ys, r as Zt, s as Vn, t as nn, v as Qn, w as Os, x as tn, y as zt, z as zs, I as es, J as sn, K as Lo, N as So, O as Ro, U as At, Y as bs, Z as ws, _ as Do, $ as Fo, a0 as jo, a1 as _s, a2 as Io, a3 as Oo, a4 as zo, a5 as Us, a6 as Uo, a7 as ks, a8 as Bo, a9 as xs, aa as Vo, ab as Ho, ac as Go, ad as $o, ae as qo, af as Yo, ag as Ko, u as Tn, ah as Wo, ai as ts, aj as Zo, ak as vs, al as Bs } from "./index-CJkfJyDo.js";
6
- import { s as yt, u as An, b as Je, g as Xo, E as Ln } from "./menu-s4M6domI.js";
7
- import { u as Jo } from "./index-B28cChvk.js";
8
- import { o as Vs, c as Hs, a as Gs, b as Cn, s as it, g as Hn, d as Gn, e as $n, f as qn, _ as Qo, h as ei, i as ti } from "./index.vue_vue_type_style_index_0_scoped_62633fa4_lang-Bvzwj2Wc.js";
2
+ import { m as Wn, a as Zn, b as Xn } from "./index-IcpToIdy.js";
3
+ import zn from "./index-BhsyjobL.js";
4
+ import { p as bt } from "./index-BbZ5oZ0i.js";
5
+ import { C as Co, V as de, M as Xt, T as Wt, Q as vn, S as gs, a as lt, R as To, P as yn, b as Yt, c as js, d as Et, e as Un, W as Ao, f as Eo, A as Mo, g as Ke, X as No, h as Is, D as bn, H as Po, i as Bn, B as Jn, j as Pn, k as ct, l as Ot, m as ft, E as wn, L as Qt, F as rn, G as an, n as Ut, o as Ve, p as Jt, q as ys, r as Zt, s as Vn, t as nn, v as Qn, w as Os, x as tn, y as zt, z as zs, I as es, J as sn, K as Lo, N as So, O as Ro, U as At, Y as bs, Z as ws, _ as Do, $ as Fo, a0 as jo, a1 as _s, a2 as Io, a3 as Oo, a4 as zo, a5 as Us, a6 as Uo, a7 as ks, a8 as Bo, a9 as xs, aa as Vo, ab as Ho, ac as Go, ad as $o, ae as qo, af as Yo, ag as Ko, u as Tn, ah as Wo, ai as ts, aj as Zo, ak as vs, al as Bs } from "./index-Y0Cyumla.js";
6
+ import { s as yt, u as An, b as Je, g as Xo, E as Ln } from "./menu-DWyy1zjD.js";
7
+ import { u as Jo } from "./index-D24pmlO4.js";
8
+ import { o as Vs, c as Hs, a as Gs, b as Cn, s as it, g as Hn, d as Gn, e as $n, f as qn, _ as Qo, h as ei, i as ti } from "./index.vue_vue_type_style_index_0_scoped_62633fa4_lang-DZg4mORk.js";
9
9
  import { _ as Bt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
10
- import { i as ni, e as si, b as Cs, c as Ts, a as oi } from "./array-B06PZ90z.js";
11
- import { u as $s } from "./login-Com7R_T4.js";
10
+ import { i as ni, e as si, b as Cs, c as Ts, a as oi } from "./array-CIgl-zVp.js";
11
+ import { u as $s } from "./login-CGsSxGrp.js";
12
12
  import { S as Rt } from "./index-BHtNKL1L.js";
13
- import { E as ii, s as ai } from "./index-t-T1ZMSZ.js";
14
- import { c as Ft } from "./cloneDeep-B_AN9BZz.js";
15
- import { d as Yn } from "./index-ywmQAIKw.js";
16
- import { _ as Sn } from "./index-xncpD9kf.js";
13
+ import { E as ii, s as ai } from "./index-SijcElo_.js";
14
+ import { c as Ft } from "./cloneDeep-B6dvqPwg.js";
15
+ import { d as Yn } from "./index-Cz6mt4xg.js";
16
+ import { _ as Sn } from "./index-D1SmPFCi.js";
17
17
  const As = { type: "change" }, ns = { type: "start" }, qs = { type: "end" }, mn = new To(), Es = new yn(), ri = Math.cos(70 * Yt.DEG2RAD), Ye = new de(), rt = 2 * Math.PI, Pe = {
18
18
  NONE: -1,
19
19
  ROTATE: 0,
@@ -4808,7 +4808,7 @@ const xa = /* @__PURE__ */ Bt(Qo, [["render", ka], ["__scopeId", "data-v-e003bdb
4808
4808
  () => h == null ? void 0 : h.value,
4809
4809
  async () => {
4810
4810
  var R, P, U, H;
4811
- if (h != null && h.value && ((R = h == null ? void 0 : h.value) == null ? void 0 : R.length) > 0 && !w && !((P = it.value) != null && P.find((D) => (D == null ? void 0 : D.name) === "输入") && ((U = it.value) != null && U.find((D) => (D == null ? void 0 : D.name) === "输出")))) {
4811
+ if (h != null && h.value && ((R = h == null ? void 0 : h.value) == null ? void 0 : R.length) > 0 && !w.value && !((P = it.value) != null && P.find((D) => (D == null ? void 0 : D.name) === "输入") && ((U = it.value) != null && U.find((D) => (D == null ? void 0 : D.name) === "输出")))) {
4812
4812
  let D = [];
4813
4813
  const z = await ((H = Ft(h == null ? void 0 : h.value)) == null ? void 0 : H.map(async (V) => {
4814
4814
  var ze, Be, We, De, pe, Qe, st, ut, kt, wt;
@@ -5475,7 +5475,7 @@ const xa = /* @__PURE__ */ Bt(Qo, [["render", ka], ["__scopeId", "data-v-e003bdb
5475
5475
  ]);
5476
5476
  };
5477
5477
  }
5478
- }), Ba = /* @__PURE__ */ Bt(Ua, [["__scopeId", "data-v-1406ae2d"]]), Va = { class: "system-wrap" }, Ha = {
5478
+ }), Ba = /* @__PURE__ */ Bt(Ua, [["__scopeId", "data-v-590e6be7"]]), Va = { class: "system-wrap" }, Ha = {
5479
5479
  __name: "index",
5480
5480
  props: {
5481
5481
  windowConfig: {
@@ -1,7 +1,7 @@
1
1
  import { ref as n, watch as b } from "vue";
2
- import { g as y, s as d } from "./menu-s4M6domI.js";
3
- import { s as g, h as m } from "./index-9Qo6zr3A.js";
4
- import { u as D } from "./index-CJkfJyDo.js";
2
+ import { g as y, s as d } from "./menu-DWyy1zjD.js";
3
+ import { s as g, h as m } from "./index-DBOIQSzb.js";
4
+ import { u as D } from "./index-Y0Cyumla.js";
5
5
  const f = D(), { itemData: i } = d(f), c = n(0), h = n([
6
6
  {
7
7
  label: "机构名称",
@@ -1,11 +1,11 @@
1
1
  import { ref as b, computed as K, watch as D } from "vue";
2
- import { E as n, s as f, c as H, d as x, e as B, g as M, u as E } from "./menu-s4M6domI.js";
3
- import { a as F } from "./index-BAsOoTcX.js";
2
+ import { E as n, s as f, c as H, d as x, e as B, g as M, u as E } from "./menu-DWyy1zjD.js";
3
+ import { a as F } from "./index-BNhZu2YE.js";
4
4
  import { d as S, i as I, e as C } from "./crypto-BRyGpjGR.js";
5
- import { u as N } from "./login-Com7R_T4.js";
6
- import { u as P } from "./index-CJkfJyDo.js";
7
- import { E as w } from "./index-Drs0Rsir.js";
8
- import { c as _ } from "./cloneDeep-B_AN9BZz.js";
5
+ import { u as N } from "./login-CGsSxGrp.js";
6
+ import { u as P } from "./index-Y0Cyumla.js";
7
+ import { E as w } from "./index-CFuHMQ0E.js";
8
+ import { c as _ } from "./cloneDeep-B6dvqPwg.js";
9
9
  const T = N(), { superAdminInfo: O, cryptoInfo: r } = f(T), U = E(), { activeMenuPath: i } = f(U), y = "123456", j = P(), { itemData: z } = f(j), g = b(0), L = b([
10
10
  {
11
11
  label: "用户名称",
@@ -1 +1 @@
1
- "use strict";const c=require("vue"),r=require("./menu-CHw9SnTy.cjs"),F=require("./login-yEjJpKiY.cjs"),q=require("./index-BxvxIhMb.cjs"),D=require("./cloneDeep-Y6SiJhri.cjs"),z=r.useMenuState(),{activeMenuPath:b}=r.storeToRefs(z),w=F.useLoginState(),{structureData:O}=r.storeToRefs(w),_=q.useModelComp(),{itemData:j}=r.storeToRefs(_),H=c.ref([{label:"角色名称",value:"",name:"roleName"}]),L=c.ref([{label:"查询"},{label:"重置"}]),S=c.reactive({isFilter:!1,filterForm:{}}),Q=c.ref(!1),U=a=>{console.log("handleQueryChange",a),S.isFilter=!0,S.filterForm=a},f=c.ref([{key:"extraButton",contents:[{label:"新增"}]},{key:"rowButton",contents:[{label:"授权",textColor:"blue"},{label:"编辑"},{label:"删除",textColor:"red"}]},{key:"header",contents:[{label:"角色名称",prop:"roleName"},{label:"角色状态",formType:"Radio",prop:"roleStatus",options:[{label:"启用",value:"启用"},{label:"禁用",value:"禁用"}]},{label:"角色排序",prop:"roleOrder",formType:"Number"},{label:"备注",prop:"remark",formType:"TextArea"},{label:"权限",prop:"roleAuthority",isTableColHidden:!0,isFormColHidden:!0},{label:"操作"}]},{key:"tableContents",contents:[]}]),V=c.computed(()=>f.value),$=a=>{m(a.singleContent,a.buttonName)},B=c.ref({}),k=c.ref(),g=async(a,e,l)=>{var t,n;try{const s=await a(e);return((t=s==null?void 0:s.data)==null?void 0:t.code)===200?(l!=="查询"&&await w.setLogRecordAsync({type:l,data:e},b.value),s.data.result||((n=s==null?void 0:s.data)==null?void 0:n.code)===200):null}catch(s){r.ElMessage.error(s)}},I=(a,e)=>{e==null||e.forEach(l=>{a==null||a.forEach(t=>{var n;t.path==l.path&&(t.checkedButtons=l.checkedButtons),t.children&&((n=t.children)==null?void 0:n.length)>0&&I(t.children,e)})})},T=a=>a==null?void 0:a.map(e=>{var t;const l={...e,checkedButtons:[]};return l.children&&((t=l.children)==null?void 0:t.length)>0&&(l.children=T(l.children)),l}),G=async(a,e)=>{switch(B.value=D.cloneDeep(e),a){case"授权":u.title=`【${e.roleName}】授权`,u.show=!0,await c.nextTick(),e.roleAuthority&&Array.isArray(e.roleAuthority)&&I(p.value,e.roleAuthority);break}},J=()=>{u.show=!1},d=c.ref(),W=async a=>{const e=await g(r.getInsofDataApi,{key:{systemKey:sessionStorage.getItem("systemKey"),type:"data",pageKey:a}},"查询"),l=e==null?void 0:e.map(t=>{var n;return{id:t.id,tableData:(n=t==null?void 0:t.value)==null?void 0:n.tableData}});return l==null?void 0:l.map(t=>{var n;if(Array.isArray(t==null?void 0:t.tableData)){let s={id:t.id};return(n=t==null?void 0:t.tableData)==null||n.forEach((o,y)=>{s[`a${y}`]=o}),s}else return{...t.tableData,id:t.id}})},m=(a,e)=>{const l=D.cloneDeep(a);l!=null&&l.id&&delete l.id,e==="新增"?g(r.createInsofDataApi,{key:{type:"data",systemKey:sessionStorage.getItem("systemKey"),pageKey:b.value,tableId:v.value},value:{tableData:l}},e).then(t=>{d.value={...a,newId:t},e&&t&&r.ElMessage.success(e+"成功")}):e==="编辑"?(console.log("编辑角色",l),g(r.updateInsofDataApi,{id:a.id,key:{type:"data",systemKey:sessionStorage.getItem("systemKey"),pageKey:b.value,tableId:v.value},value:{tableData:l}},e).then(t=>{e&&t&&r.ElMessage.success(e+"成功"),u.show=!1})):e==="删除"&&g(r.deleteInsofDataApi,{id:a.id},e).then(t=>{e&&t&&r.ElMessage.success(e+"成功")})},K=a=>{let e=[];return a==null||a.forEach(l=>{var t;if(l.checkedButtons&&((t=l.checkedButtons)==null?void 0:t.length)>0){const n={path:l.path,checkedButtons:l.checkedButtons};e=e.concat(n)}l.children&&(e=e.concat(K(l.children)))}),e},X=()=>{d.value={...B.value,roleAuthority:K(p.value)},c.nextTick(()=>{console.log("clickSubmitAuthority",d.value,f.value),m(d.value,"编辑")})},u=c.reactive({show:!1,title:"角色授权",width:"35%",draggable:!0}),Y=({isPenultimate:a},e)=>{var l,t;return console.log("isPenultimate",a,e),((t=(l=e==null?void 0:e.data)==null?void 0:l.renderButtons)==null?void 0:t.length)>0?"is-penultimate":""},v=c.ref(0),M=async()=>{var l,t,n,s,o;let a;const e=await r.getInsofDataApi({key:{systemKey:sessionStorage.getItem("systemKey"),type:"structure",pageKey:b.value}});return((l=e==null?void 0:e.data)==null?void 0:l.code)===200&&(t=e==null?void 0:e.data)!=null&&t.result&&((n=e==null?void 0:e.data)==null?void 0:n.result.length)>0&&(a=(o=(s=e==null?void 0:e.data.result)==null?void 0:s[0])==null?void 0:o.id),a},p=c.ref([]),Z=c.ref([{path:"资源管理",buttons:["查询","新增","编辑","删除"]},{path:"资源管理/人员",buttons:["查询","新增","编辑","删除"]}]),ee=(a,e)=>{var l;a.checkedButtons=e?(l=a.renderButtons)==null?void 0:l.map(t=>t.path):[],console.log("handleNodeCheckChange",a,e)},h=c.ref([]),te=(a,e)=>{var l,t,n;e.checkedButtons=a,((l=e.checkedButtons)==null?void 0:l.length)===((t=e.renderButtons)==null?void 0:t.length)?h.value.push(e.path):(a==null?void 0:a.length)===0&&(h.value=(n=h.value)==null?void 0:n.filter(s=>s!==e.path))};c.watch(()=>h.value.length,()=>{var e,l;const a=(e=k.value)==null?void 0:e.getCheckedKeys();console.log(112,h.value,a),(l=k.value)==null||l.setCheckedKeys([...h.value])});c.watch(()=>u.show,a=>{a||(p.value=T(p.value))});const P=c.computed(()=>{var l;const a=(l=D.cloneDeep(O.value))==null?void 0:l.filter(t=>{var n,s;return((s=(n=t==null?void 0:t.key)==null?void 0:n.pageKey)==null?void 0:s.toUpperCase())!=="MENU"});return[...a==null?void 0:a.map(t=>{var o,y,A,C;const n=/button/i;let s=(A=(y=(o=t==null?void 0:t.value)==null?void 0:o.pageData)==null?void 0:y.compData)==null?void 0:A.filter(i=>n.test(i==null?void 0:i.key));return s=Array.from(new Set(s==null?void 0:s.flatMap(i=>i.contents.map(R=>R.label)))),{path:(C=t==null?void 0:t.key)==null?void 0:C.pageKey,buttons:s}}),...x.value]}),x=c.ref([]),E=(a,e)=>{if(Array.isArray(a))return a==null?void 0:a.map(l=>{var n,s;const t=e==null?void 0:e.find(o=>(o==null?void 0:o.path)===(l==null?void 0:l.path));return l.children&&l.children.length>0?{...l,renderButtons:l.carryData?(n=t==null?void 0:t.buttons)==null?void 0:n.map(o=>({title:o,path:l.path+"/"+o})):[],checkedButtons:[],children:E(l.children,P.value)}:{...l,renderButtons:l.carryData?(s=t==null?void 0:t.buttons)==null?void 0:s.map(o=>({title:o,path:l.path+"/"+o})):[],checkedButtons:[]}})},N={comp:"Group",name:"/系统管理/角色管理",compData:[{key:"groupContents",contents:[{comp:"Table",compData:f.value,name:""}]}]};c.watch(()=>j.value,a=>{var e;a&&(a==null?void 0:a.length)>0&&(f.value=(e=a==null?void 0:a[0])==null?void 0:e.compData)});const ae=Object.freeze(Object.defineProperty({__proto__:null,addButtonsToTree:E,authorizeDialog:u,buttonValue:L,changedRow:d,clickRow:B,clickRowButton:G,clickSubmitAuthority:X,closeAuthorizeDialog:J,customNodeClass:Y,getActivePageStructureId:M,getPageDataAsync:W,handleItemDataChange:$,handleNodeBtnChange:te,handleNodeCheckChange:ee,handleQueryChange:U,handleSubmitAsync:g,isPageDataExist:Q,menuData:p,menusButtons:Z,pageData:f,pageDataFiltered:V,queryFormData:H,structureButtons:P,structureId:v,submitTableAsyncByVerify:m,tempRolePageData:N,tempSysMenus:x,treeRef:k},Symbol.toStringTag,{value:"Module"}));exports.State=ae;exports.authorizeDialog=u;exports.getActivePageStructureId=M;exports.tempRolePageData=N;
1
+ "use strict";const c=require("vue"),r=require("./menu-sqTDeabF.cjs"),F=require("./login-CJlmnJXf.cjs"),q=require("./index-DpFIZqXx.cjs"),D=require("./cloneDeep-CsbXNSYy.cjs"),z=r.useMenuState(),{activeMenuPath:b}=r.storeToRefs(z),w=F.useLoginState(),{structureData:O}=r.storeToRefs(w),_=q.useModelComp(),{itemData:j}=r.storeToRefs(_),H=c.ref([{label:"角色名称",value:"",name:"roleName"}]),L=c.ref([{label:"查询"},{label:"重置"}]),S=c.reactive({isFilter:!1,filterForm:{}}),Q=c.ref(!1),U=a=>{console.log("handleQueryChange",a),S.isFilter=!0,S.filterForm=a},f=c.ref([{key:"extraButton",contents:[{label:"新增"}]},{key:"rowButton",contents:[{label:"授权",textColor:"blue"},{label:"编辑"},{label:"删除",textColor:"red"}]},{key:"header",contents:[{label:"角色名称",prop:"roleName"},{label:"角色状态",formType:"Radio",prop:"roleStatus",options:[{label:"启用",value:"启用"},{label:"禁用",value:"禁用"}]},{label:"角色排序",prop:"roleOrder",formType:"Number"},{label:"备注",prop:"remark",formType:"TextArea"},{label:"权限",prop:"roleAuthority",isTableColHidden:!0,isFormColHidden:!0},{label:"操作"}]},{key:"tableContents",contents:[]}]),V=c.computed(()=>f.value),$=a=>{m(a.singleContent,a.buttonName)},B=c.ref({}),k=c.ref(),g=async(a,e,l)=>{var t,n;try{const s=await a(e);return((t=s==null?void 0:s.data)==null?void 0:t.code)===200?(l!=="查询"&&await w.setLogRecordAsync({type:l,data:e},b.value),s.data.result||((n=s==null?void 0:s.data)==null?void 0:n.code)===200):null}catch(s){r.ElMessage.error(s)}},I=(a,e)=>{e==null||e.forEach(l=>{a==null||a.forEach(t=>{var n;t.path==l.path&&(t.checkedButtons=l.checkedButtons),t.children&&((n=t.children)==null?void 0:n.length)>0&&I(t.children,e)})})},T=a=>a==null?void 0:a.map(e=>{var t;const l={...e,checkedButtons:[]};return l.children&&((t=l.children)==null?void 0:t.length)>0&&(l.children=T(l.children)),l}),G=async(a,e)=>{switch(B.value=D.cloneDeep(e),a){case"授权":u.title=`【${e.roleName}】授权`,u.show=!0,await c.nextTick(),e.roleAuthority&&Array.isArray(e.roleAuthority)&&I(p.value,e.roleAuthority);break}},J=()=>{u.show=!1},d=c.ref(),W=async a=>{const e=await g(r.getInsofDataApi,{key:{systemKey:sessionStorage.getItem("systemKey"),type:"data",pageKey:a}},"查询"),l=e==null?void 0:e.map(t=>{var n;return{id:t.id,tableData:(n=t==null?void 0:t.value)==null?void 0:n.tableData}});return l==null?void 0:l.map(t=>{var n;if(Array.isArray(t==null?void 0:t.tableData)){let s={id:t.id};return(n=t==null?void 0:t.tableData)==null||n.forEach((o,y)=>{s[`a${y}`]=o}),s}else return{...t.tableData,id:t.id}})},m=(a,e)=>{const l=D.cloneDeep(a);l!=null&&l.id&&delete l.id,e==="新增"?g(r.createInsofDataApi,{key:{type:"data",systemKey:sessionStorage.getItem("systemKey"),pageKey:b.value,tableId:v.value},value:{tableData:l}},e).then(t=>{d.value={...a,newId:t},e&&t&&r.ElMessage.success(e+"成功")}):e==="编辑"?(console.log("编辑角色",l),g(r.updateInsofDataApi,{id:a.id,key:{type:"data",systemKey:sessionStorage.getItem("systemKey"),pageKey:b.value,tableId:v.value},value:{tableData:l}},e).then(t=>{e&&t&&r.ElMessage.success(e+"成功"),u.show=!1})):e==="删除"&&g(r.deleteInsofDataApi,{id:a.id},e).then(t=>{e&&t&&r.ElMessage.success(e+"成功")})},K=a=>{let e=[];return a==null||a.forEach(l=>{var t;if(l.checkedButtons&&((t=l.checkedButtons)==null?void 0:t.length)>0){const n={path:l.path,checkedButtons:l.checkedButtons};e=e.concat(n)}l.children&&(e=e.concat(K(l.children)))}),e},X=()=>{d.value={...B.value,roleAuthority:K(p.value)},c.nextTick(()=>{console.log("clickSubmitAuthority",d.value,f.value),m(d.value,"编辑")})},u=c.reactive({show:!1,title:"角色授权",width:"35%",draggable:!0}),Y=({isPenultimate:a},e)=>{var l,t;return console.log("isPenultimate",a,e),((t=(l=e==null?void 0:e.data)==null?void 0:l.renderButtons)==null?void 0:t.length)>0?"is-penultimate":""},v=c.ref(0),M=async()=>{var l,t,n,s,o;let a;const e=await r.getInsofDataApi({key:{systemKey:sessionStorage.getItem("systemKey"),type:"structure",pageKey:b.value}});return((l=e==null?void 0:e.data)==null?void 0:l.code)===200&&(t=e==null?void 0:e.data)!=null&&t.result&&((n=e==null?void 0:e.data)==null?void 0:n.result.length)>0&&(a=(o=(s=e==null?void 0:e.data.result)==null?void 0:s[0])==null?void 0:o.id),a},p=c.ref([]),Z=c.ref([{path:"资源管理",buttons:["查询","新增","编辑","删除"]},{path:"资源管理/人员",buttons:["查询","新增","编辑","删除"]}]),ee=(a,e)=>{var l;a.checkedButtons=e?(l=a.renderButtons)==null?void 0:l.map(t=>t.path):[],console.log("handleNodeCheckChange",a,e)},h=c.ref([]),te=(a,e)=>{var l,t,n;e.checkedButtons=a,((l=e.checkedButtons)==null?void 0:l.length)===((t=e.renderButtons)==null?void 0:t.length)?h.value.push(e.path):(a==null?void 0:a.length)===0&&(h.value=(n=h.value)==null?void 0:n.filter(s=>s!==e.path))};c.watch(()=>h.value.length,()=>{var e,l;const a=(e=k.value)==null?void 0:e.getCheckedKeys();console.log(112,h.value,a),(l=k.value)==null||l.setCheckedKeys([...h.value])});c.watch(()=>u.show,a=>{a||(p.value=T(p.value))});const P=c.computed(()=>{var l;const a=(l=D.cloneDeep(O.value))==null?void 0:l.filter(t=>{var n,s;return((s=(n=t==null?void 0:t.key)==null?void 0:n.pageKey)==null?void 0:s.toUpperCase())!=="MENU"});return[...a==null?void 0:a.map(t=>{var o,y,A,C;const n=/button/i;let s=(A=(y=(o=t==null?void 0:t.value)==null?void 0:o.pageData)==null?void 0:y.compData)==null?void 0:A.filter(i=>n.test(i==null?void 0:i.key));return s=Array.from(new Set(s==null?void 0:s.flatMap(i=>i.contents.map(R=>R.label)))),{path:(C=t==null?void 0:t.key)==null?void 0:C.pageKey,buttons:s}}),...x.value]}),x=c.ref([]),E=(a,e)=>{if(Array.isArray(a))return a==null?void 0:a.map(l=>{var n,s;const t=e==null?void 0:e.find(o=>(o==null?void 0:o.path)===(l==null?void 0:l.path));return l.children&&l.children.length>0?{...l,renderButtons:l.carryData?(n=t==null?void 0:t.buttons)==null?void 0:n.map(o=>({title:o,path:l.path+"/"+o})):[],checkedButtons:[],children:E(l.children,P.value)}:{...l,renderButtons:l.carryData?(s=t==null?void 0:t.buttons)==null?void 0:s.map(o=>({title:o,path:l.path+"/"+o})):[],checkedButtons:[]}})},N={comp:"Group",name:"/系统管理/角色管理",compData:[{key:"groupContents",contents:[{comp:"Table",compData:f.value,name:""}]}]};c.watch(()=>j.value,a=>{var e;a&&(a==null?void 0:a.length)>0&&(f.value=(e=a==null?void 0:a[0])==null?void 0:e.compData)});const ae=Object.freeze(Object.defineProperty({__proto__:null,addButtonsToTree:E,authorizeDialog:u,buttonValue:L,changedRow:d,clickRow:B,clickRowButton:G,clickSubmitAuthority:X,closeAuthorizeDialog:J,customNodeClass:Y,getActivePageStructureId:M,getPageDataAsync:W,handleItemDataChange:$,handleNodeBtnChange:te,handleNodeCheckChange:ee,handleQueryChange:U,handleSubmitAsync:g,isPageDataExist:Q,menuData:p,menusButtons:Z,pageData:f,pageDataFiltered:V,queryFormData:H,structureButtons:P,structureId:v,submitTableAsyncByVerify:m,tempRolePageData:N,tempSysMenus:x,treeRef:k},Symbol.toStringTag,{value:"Module"}));exports.State=ae;exports.authorizeDialog=u;exports.getActivePageStructureId=M;exports.tempRolePageData=N;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),r=require("./index-MH1oGtgn.cjs"),c=require("./index-BxvxIhMb.cjs"),s=require("./index-Q5yac929.cjs"),n=require("./menu-CHw9SnTy.cjs"),i=require("./login-yEjJpKiY.cjs"),u=require("./index-nu33sXcH.cjs"),l=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),d={class:"role-wrapper"},g=t.defineComponent({__name:"index",setup(h){const o=n.useMenuState(),{activeMenuPath:p}=n.storeToRefs(o),a=i.useLoginState(),e=t.reactive({...s.State});return t.onMounted(async()=>{a.getModelSecretAsync(),e.structureId=await u.getActivePageStructureId()}),(C,m)=>(t.openBlock(),t.createElementBlock("div",d,[t.createVNode(r.ssForm,{class:"role-header",rowContents:e.queryFormData,isEnableWrap:!1,isEdit:!0,onChange:e.handleQueryChange},null,8,["rowContents","onChange"]),t.createVNode(c.ssTable,{class:"role-body",itemData:e.pageData,changedContent:e.changedRow,onChange:e.handleItemDataChange,onOnButtonClick:e.clickRowButton},null,8,["itemData","changedContent","onChange","onOnButtonClick"])]))}}),_=l._export_sfc(g,[["__scopeId","data-v-1ff46e50"]]);exports.default=_;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),r=require("./index-CCBUJLcW.cjs"),c=require("./index-DpFIZqXx.cjs"),s=require("./index-CpSZLiKk.cjs"),n=require("./menu-sqTDeabF.cjs"),i=require("./login-CJlmnJXf.cjs"),u=require("./index-DERavfV0.cjs"),l=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),d={class:"role-wrapper"},g=t.defineComponent({__name:"index",setup(h){const o=n.useMenuState(),{activeMenuPath:p}=n.storeToRefs(o),a=i.useLoginState(),e=t.reactive({...s.State});return t.onMounted(async()=>{a.getModelSecretAsync(),e.structureId=await u.getActivePageStructureId()}),(C,m)=>(t.openBlock(),t.createElementBlock("div",d,[t.createVNode(r.ssForm,{class:"role-header",rowContents:e.queryFormData,isEnableWrap:!1,isEdit:!0,onChange:e.handleQueryChange},null,8,["rowContents","onChange"]),t.createVNode(c.ssTable,{class:"role-body",itemData:e.pageData,changedContent:e.changedRow,onChange:e.handleItemDataChange,onOnButtonClick:e.clickRowButton},null,8,["itemData","changedContent","onChange","onOnButtonClick"])]))}}),_=l._export_sfc(g,[["__scopeId","data-v-1ff46e50"]]);exports.default=_;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),n=require("./index-MH1oGtgn.cjs"),a=require("./index-BxvxIhMb.cjs"),r=require("./index-CgTJOHb6.cjs"),o=require("./index-nu33sXcH.cjs"),s=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),c={class:"role-wrapper"},i=e.defineComponent({__name:"index",setup(d){const t=e.reactive({...r.State});return e.onMounted(async()=>{t.structureId=await o.getActivePageStructureId()}),(l,_)=>(e.openBlock(),e.createElementBlock("div",c,[e.createVNode(n.ssForm,{class:"role-header",rowContents:t.queryFormData,isEnableWrap:!1,isEdit:!0,onChange:t.handleQueryChange},null,8,["rowContents","onChange"]),e.createVNode(a.ssTable,{class:"role-body",itemData:t.pageData,onChange:t.handleItemDataChange},null,8,["itemData","onChange"])]))}}),u=s._export_sfc(i,[["__scopeId","data-v-ff9d10a0"]]);exports.default=u;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),n=require("./index-CCBUJLcW.cjs"),a=require("./index-DpFIZqXx.cjs"),r=require("./index-1jVBtKXq.cjs"),o=require("./index-DERavfV0.cjs"),s=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),c={class:"role-wrapper"},i=e.defineComponent({__name:"index",setup(d){const t=e.reactive({...r.State});return e.onMounted(async()=>{t.structureId=await o.getActivePageStructureId()}),(l,_)=>(e.openBlock(),e.createElementBlock("div",c,[e.createVNode(n.ssForm,{class:"role-header",rowContents:t.queryFormData,isEnableWrap:!1,isEdit:!0,onChange:t.handleQueryChange},null,8,["rowContents","onChange"]),e.createVNode(a.ssTable,{class:"role-body",itemData:t.pageData,onChange:t.handleItemDataChange},null,8,["itemData","onChange"])]))}}),u=s._export_sfc(i,[["__scopeId","data-v-ff9d10a0"]]);exports.default=u;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),_=require("./index-BDb1KYMF.cjs"),u=require("./menu-CHw9SnTy.cjs"),C=require("./index-BxvxIhMb.cjs"),f=require("./cloneDeep-Y6SiJhri.cjs"),v=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),D=a=>{const s={};for(let l in a)l!=="id"&&(s[l]=a[l]);const r=s==null?void 0:s.主菜单名称;u.createInsofDataApi({key:{type:"mainEquip",systemKey:sessionStorage.getItem("systemKey"),pageKey:r},value:{tableData:s}})},h=a=>{u.deleteInsofDataApi({id:a==null?void 0:a.id})},q=a=>{const s={};for(let l in a)l!=="id"&&(s[l]=a[l]);const r=s==null?void 0:s.主菜单名称;u.updateInsofDataApi({id:a==null?void 0:a.id,key:{type:"mainEquip",systemKey:sessionStorage.getItem("systemKey"),pageKey:r},value:{tableData:s}})},k={class:"menu-content"},x=o.defineComponent({__name:"index",setup(a){const s=u.useMenuState(_.pinia),{menus:r}=u.storeToRefs(s),l=o.ref([]),g=async()=>{var m,n,p,t;const e=await u.getInsofDataApi({key:{type:"mainEquip",systemKey:sessionStorage.getItem("systemKey")}});if(((m=e==null?void 0:e.data)==null?void 0:m.type)==="success"){let d=(p=(n=e==null?void 0:e.data)==null?void 0:n.result)==null?void 0:p.map(i=>i);return d=(t=f.cloneDeep(d))==null?void 0:t.map(i=>{var b;const y=Object.values((b=i==null?void 0:i.value)==null?void 0:b.tableData);return y.unshift({id:i==null?void 0:i.id}),y}),d}else return[]};o.onMounted(async()=>{var p;const e=await g(),n=[{key:"header",contents:[{label:"主菜单名称",formType:"Select",options:(p=f.cloneDeep(r.value))==null?void 0:p.map(t=>({label:t==null?void 0:t.title,value:t==null?void 0:t.title})),prop:"主菜单名称"},{label:"隐藏三维显示",formType:"Switch",value:!1,prop:"隐藏三维显示"},{label:"操作"}]},{key:"extraButton",contents:[{label:"新增"}]},{key:"rowButton",contents:[{label:"查看"},{label:"编辑"},{label:"删除"}]}];n.push({key:"tableContents",contents:e}),l.value=n});const c=e=>{(e==null?void 0:e.buttonName)==="新增"?D(e==null?void 0:e.singleContent):(e==null?void 0:e.buttonName)==="删除"?h(e==null?void 0:e.singleContent):(e==null?void 0:e.buttonName)==="编辑"&&q(e==null?void 0:e.singleContent)};return(e,m)=>(o.openBlock(),o.createElementBlock("div",k,[o.createVNode(C.ssTable,{itemData:l.value,class:"table-content",onChange:c},null,8,["itemData"])]))}}),S=v._export_sfc(x,[["__scopeId","data-v-43191ad8"]]);exports.default=S;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),_=require("./index-BRGrtqBY.cjs"),u=require("./menu-sqTDeabF.cjs"),C=require("./index-DpFIZqXx.cjs"),f=require("./cloneDeep-CsbXNSYy.cjs"),v=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),D=a=>{const s={};for(let l in a)l!=="id"&&(s[l]=a[l]);const r=s==null?void 0:s.主菜单名称;u.createInsofDataApi({key:{type:"mainEquip",systemKey:sessionStorage.getItem("systemKey"),pageKey:r},value:{tableData:s}})},h=a=>{u.deleteInsofDataApi({id:a==null?void 0:a.id})},q=a=>{const s={};for(let l in a)l!=="id"&&(s[l]=a[l]);const r=s==null?void 0:s.主菜单名称;u.updateInsofDataApi({id:a==null?void 0:a.id,key:{type:"mainEquip",systemKey:sessionStorage.getItem("systemKey"),pageKey:r},value:{tableData:s}})},k={class:"menu-content"},x=o.defineComponent({__name:"index",setup(a){const s=u.useMenuState(_.pinia),{menus:r}=u.storeToRefs(s),l=o.ref([]),g=async()=>{var m,n,p,t;const e=await u.getInsofDataApi({key:{type:"mainEquip",systemKey:sessionStorage.getItem("systemKey")}});if(((m=e==null?void 0:e.data)==null?void 0:m.type)==="success"){let d=(p=(n=e==null?void 0:e.data)==null?void 0:n.result)==null?void 0:p.map(i=>i);return d=(t=f.cloneDeep(d))==null?void 0:t.map(i=>{var b;const y=Object.values((b=i==null?void 0:i.value)==null?void 0:b.tableData);return y.unshift({id:i==null?void 0:i.id}),y}),d}else return[]};o.onMounted(async()=>{var p;const e=await g(),n=[{key:"header",contents:[{label:"主菜单名称",formType:"Select",options:(p=f.cloneDeep(r.value))==null?void 0:p.map(t=>({label:t==null?void 0:t.title,value:t==null?void 0:t.title})),prop:"主菜单名称"},{label:"隐藏三维显示",formType:"Switch",value:!1,prop:"隐藏三维显示"},{label:"操作"}]},{key:"extraButton",contents:[{label:"新增"}]},{key:"rowButton",contents:[{label:"查看"},{label:"编辑"},{label:"删除"}]}];n.push({key:"tableContents",contents:e}),l.value=n});const c=e=>{(e==null?void 0:e.buttonName)==="新增"?D(e==null?void 0:e.singleContent):(e==null?void 0:e.buttonName)==="删除"?h(e==null?void 0:e.singleContent):(e==null?void 0:e.buttonName)==="编辑"&&q(e==null?void 0:e.singleContent)};return(e,m)=>(o.openBlock(),o.createElementBlock("div",k,[o.createVNode(C.ssTable,{itemData:l.value,class:"table-content",onChange:c},null,8,["itemData"])]))}}),S=v._export_sfc(x,[["__scopeId","data-v-43191ad8"]]);exports.default=S;
@@ -1,4 +1,4 @@
1
- "use strict";const t=require("vue"),l=require("./index-Cc6csIgf.cjs"),Nt=require("./typescript-PERVJsDy.cjs"),_=require("./cloneDeep-Y6SiJhri.cjs"),it=require("./index.vue_vue_type_script_setup_true_lang-7xnZP-Qj.cjs");function It(e){return e}function xt(e,n,o){switch(o.length){case 0:return e.call(n);case 1:return e.call(n,o[0]);case 2:return e.call(n,o[0],o[1]);case 3:return e.call(n,o[0],o[1],o[2])}return e.apply(n,o)}var Mt=800,At=16,Vt=Date.now;function Rt(e){var n=0,o=0;return function(){var r=Vt(),a=At-(r-o);if(o=r,a>0){if(++n>=Mt)return arguments[0]}else n=0;return e.apply(void 0,arguments)}}function Lt(e){return function(){return e}}var zt=_.defineProperty?function(e,n){return _.defineProperty(e,"toString",{configurable:!0,enumerable:!1,value:Lt(n),writable:!0})}:It,Ot=Rt(zt),$e=Math.max;function Pt(e,n,o){return n=$e(n===void 0?e.length-1:n,0),function(){for(var r=arguments,a=-1,s=$e(r.length-n,0),i=Array(s);++a<s;)i[a]=r[n+a];a=-1;for(var u=Array(n+1);++a<n;)u[a]=r[a];return u[n]=o(i),xt(e,this,u)}}var Ue=l.Symbol?l.Symbol.isConcatSpreadable:void 0;function Ft(e){return l.isArray(e)||_.isArguments(e)||!!(Ue&&e&&e[Ue])}function _t(e,n,o,r,a){var s=-1,i=e.length;for(o||(o=Ft),a||(a=[]);++s<i;){var u=e[s];o(u)?_.arrayPush(a,u):a[a.length]=u}return a}function Ht(e){var n=e==null?0:e.length;return n?_t(e):[]}function Dt(e){return Ot(Pt(e,void 0,Ht),e+"")}function $t(e,n){return e!=null&&n in Object(e)}function Ut(e,n,o){n=l.castPath(n,e);for(var r=-1,a=n.length,s=!1;++r<a;){var i=l.toKey(n[r]);if(!(s=e!=null&&o(e,i)))break;e=e[i]}return s||++r!=a?s:(a=e==null?0:e.length,!!a&&_.isLength(a)&&_.isIndex(i,a)&&(l.isArray(e)||_.isArguments(e)))}function Kt(e,n){return e!=null&&Ut(e,n,$t)}function Wt(e,n,o,r){if(!l.isObject(e))return e;n=l.castPath(n,e);for(var a=-1,s=n.length,i=s-1,u=e;u!=null&&++a<s;){var p=l.toKey(n[a]),d=o;if(p==="__proto__"||p==="constructor"||p==="prototype")return e;if(a!=i){var g=u[p];d=void 0,d===void 0&&(d=l.isObject(g)?g:_.isIndex(n[a+1])?[]:{})}_.assignValue(u,p,d),u=u[p]}return e}function Yt(e,n,o){for(var r=-1,a=n.length,s={};++r<a;){var i=n[r],u=l.baseGet(e,i);o(u,i)&&Wt(s,l.castPath(i,e),u)}return s}function Gt(e,n){return Yt(e,n,function(o,r){return Kt(e,r)})}var jt=Dt(function(e,n){return e==null?{}:Gt(e,n)});const Ce="update:modelValue",Ke="change",We="input";let re;const qt=e=>{var n;if(!l.isClient)return 0;if(re!==void 0)return re;const o=document.createElement("div");o.className=`${e}-scrollbar__wrap`,o.style.visibility="hidden",o.style.width="100px",o.style.position="absolute",o.style.top="-9999px",document.body.appendChild(o);const r=o.offsetWidth;o.style.overflow="scroll";const a=document.createElement("div");a.style.width="100%",o.appendChild(a);const s=a.offsetWidth;return(n=o.parentNode)==null||n.removeChild(o),re=r-s,re},Xt=()=>l.isClient&&/firefox/i.test(window.navigator.userAgent);let M;const Jt={height:"0",visibility:"hidden",overflow:Xt()?"":"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0"},Zt=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"];function Qt(e){const n=window.getComputedStyle(e),o=n.getPropertyValue("box-sizing"),r=Number.parseFloat(n.getPropertyValue("padding-bottom"))+Number.parseFloat(n.getPropertyValue("padding-top")),a=Number.parseFloat(n.getPropertyValue("border-bottom-width"))+Number.parseFloat(n.getPropertyValue("border-top-width"));return{contextStyle:Zt.map(i=>[i,n.getPropertyValue(i)]),paddingSize:r,borderSize:a,boxSizing:o}}function Ye(e,n=1,o){var r;M||(M=document.createElement("textarea"),document.body.appendChild(M));const{paddingSize:a,borderSize:s,boxSizing:i,contextStyle:u}=Qt(e);u.forEach(([m,S])=>M==null?void 0:M.style.setProperty(m,S)),Object.entries(Jt).forEach(([m,S])=>M==null?void 0:M.style.setProperty(m,S,"important")),M.value=e.value||e.placeholder||"";let p=M.scrollHeight;const d={};i==="border-box"?p=p+s:i==="content-box"&&(p=p-a),M.value="";const g=M.scrollHeight-a;if(l.isNumber(n)){let m=g*n;i==="border-box"&&(m=m+a+s),p=Math.max(m,p),d.minHeight=`${m}px`}if(l.isNumber(o)){let m=g*o;i==="border-box"&&(m=m+a+s),p=Math.min(m,p)}return d.height=`${p}px`,(r=M.parentNode)==null||r.removeChild(M),M=void 0,d}const en=l.buildProps({ariaLabel:String,ariaOrientation:{type:String,values:["horizontal","vertical","undefined"]},ariaControls:String}),tn=e=>jt(en,e),nn=l.buildProps({id:{type:String,default:void 0},size:l.useSizeProp,disabled:Boolean,modelValue:{type:l.definePropType([String,Number,Object]),default:""},maxlength:{type:[String,Number]},minlength:{type:[String,Number]},type:{type:String,default:"text"},resize:{type:String,values:["none","both","horizontal","vertical"]},autosize:{type:l.definePropType([Boolean,Object]),default:!1},autocomplete:{type:String,default:"off"},formatter:{type:Function},parser:{type:Function},placeholder:{type:String},form:{type:String},readonly:Boolean,clearable:Boolean,showPassword:Boolean,showWordLimit:Boolean,suffixIcon:{type:l.iconPropType},prefixIcon:{type:l.iconPropType},containerRole:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},validateEvent:{type:Boolean,default:!0},inputStyle:{type:l.definePropType([Object,Array,String]),default:()=>Nt.mutable({})},autofocus:Boolean,rows:{type:Number,default:2},...tn(["ariaLabel"])}),on={[Ce]:e=>l.isString(e),input:e=>l.isString(e),change:e=>l.isString(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0,mouseleave:e=>e instanceof MouseEvent,mouseenter:e=>e instanceof MouseEvent,keydown:e=>e instanceof Event,compositionstart:e=>e instanceof CompositionEvent,compositionupdate:e=>e instanceof CompositionEvent,compositionend:e=>e instanceof CompositionEvent},rn=["class","style"],an=/^on[A-Z]/,sn=(e={})=>{const{excludeListeners:n=!1,excludeKeys:o}=e,r=t.computed(()=>((o==null?void 0:o.value)||[]).concat(rn)),a=t.getCurrentInstance();return a?t.computed(()=>{var s;return l.fromPairs(Object.entries((s=a.proxy)==null?void 0:s.$attrs).filter(([i])=>!r.value.includes(i)&&!(n&&an.test(i))))}):(l.debugWarn("use-attrs","getCurrentInstance() returned null. useAttrs() must be called at the top of a setup function"),t.computed(()=>({})))},we={prefix:Math.floor(Math.random()*1e4),current:0},ln=Symbol("elIdInjection"),un=()=>t.getCurrentInstance()?t.inject(ln,we):we,Se=e=>{const n=un();!l.isClient&&n===we&&l.debugWarn("IdInjection",`Looks like you are using server rendering, you must provide a id provider to ensure the hydration process to be succeed
1
+ "use strict";const t=require("vue"),l=require("./index-CanLcekr.cjs"),Nt=require("./typescript-PERVJsDy.cjs"),_=require("./cloneDeep-CsbXNSYy.cjs"),it=require("./index.vue_vue_type_script_setup_true_lang-BLVTWxQ6.cjs");function It(e){return e}function xt(e,n,o){switch(o.length){case 0:return e.call(n);case 1:return e.call(n,o[0]);case 2:return e.call(n,o[0],o[1]);case 3:return e.call(n,o[0],o[1],o[2])}return e.apply(n,o)}var Mt=800,At=16,Vt=Date.now;function Rt(e){var n=0,o=0;return function(){var r=Vt(),a=At-(r-o);if(o=r,a>0){if(++n>=Mt)return arguments[0]}else n=0;return e.apply(void 0,arguments)}}function Lt(e){return function(){return e}}var zt=_.defineProperty?function(e,n){return _.defineProperty(e,"toString",{configurable:!0,enumerable:!1,value:Lt(n),writable:!0})}:It,Ot=Rt(zt),$e=Math.max;function Pt(e,n,o){return n=$e(n===void 0?e.length-1:n,0),function(){for(var r=arguments,a=-1,s=$e(r.length-n,0),i=Array(s);++a<s;)i[a]=r[n+a];a=-1;for(var u=Array(n+1);++a<n;)u[a]=r[a];return u[n]=o(i),xt(e,this,u)}}var Ue=l.Symbol?l.Symbol.isConcatSpreadable:void 0;function Ft(e){return l.isArray(e)||_.isArguments(e)||!!(Ue&&e&&e[Ue])}function _t(e,n,o,r,a){var s=-1,i=e.length;for(o||(o=Ft),a||(a=[]);++s<i;){var u=e[s];o(u)?_.arrayPush(a,u):a[a.length]=u}return a}function Ht(e){var n=e==null?0:e.length;return n?_t(e):[]}function Dt(e){return Ot(Pt(e,void 0,Ht),e+"")}function $t(e,n){return e!=null&&n in Object(e)}function Ut(e,n,o){n=l.castPath(n,e);for(var r=-1,a=n.length,s=!1;++r<a;){var i=l.toKey(n[r]);if(!(s=e!=null&&o(e,i)))break;e=e[i]}return s||++r!=a?s:(a=e==null?0:e.length,!!a&&_.isLength(a)&&_.isIndex(i,a)&&(l.isArray(e)||_.isArguments(e)))}function Kt(e,n){return e!=null&&Ut(e,n,$t)}function Wt(e,n,o,r){if(!l.isObject(e))return e;n=l.castPath(n,e);for(var a=-1,s=n.length,i=s-1,u=e;u!=null&&++a<s;){var p=l.toKey(n[a]),d=o;if(p==="__proto__"||p==="constructor"||p==="prototype")return e;if(a!=i){var g=u[p];d=void 0,d===void 0&&(d=l.isObject(g)?g:_.isIndex(n[a+1])?[]:{})}_.assignValue(u,p,d),u=u[p]}return e}function Yt(e,n,o){for(var r=-1,a=n.length,s={};++r<a;){var i=n[r],u=l.baseGet(e,i);o(u,i)&&Wt(s,l.castPath(i,e),u)}return s}function Gt(e,n){return Yt(e,n,function(o,r){return Kt(e,r)})}var jt=Dt(function(e,n){return e==null?{}:Gt(e,n)});const Ce="update:modelValue",Ke="change",We="input";let re;const qt=e=>{var n;if(!l.isClient)return 0;if(re!==void 0)return re;const o=document.createElement("div");o.className=`${e}-scrollbar__wrap`,o.style.visibility="hidden",o.style.width="100px",o.style.position="absolute",o.style.top="-9999px",document.body.appendChild(o);const r=o.offsetWidth;o.style.overflow="scroll";const a=document.createElement("div");a.style.width="100%",o.appendChild(a);const s=a.offsetWidth;return(n=o.parentNode)==null||n.removeChild(o),re=r-s,re},Xt=()=>l.isClient&&/firefox/i.test(window.navigator.userAgent);let M;const Jt={height:"0",visibility:"hidden",overflow:Xt()?"":"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0"},Zt=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"];function Qt(e){const n=window.getComputedStyle(e),o=n.getPropertyValue("box-sizing"),r=Number.parseFloat(n.getPropertyValue("padding-bottom"))+Number.parseFloat(n.getPropertyValue("padding-top")),a=Number.parseFloat(n.getPropertyValue("border-bottom-width"))+Number.parseFloat(n.getPropertyValue("border-top-width"));return{contextStyle:Zt.map(i=>[i,n.getPropertyValue(i)]),paddingSize:r,borderSize:a,boxSizing:o}}function Ye(e,n=1,o){var r;M||(M=document.createElement("textarea"),document.body.appendChild(M));const{paddingSize:a,borderSize:s,boxSizing:i,contextStyle:u}=Qt(e);u.forEach(([m,S])=>M==null?void 0:M.style.setProperty(m,S)),Object.entries(Jt).forEach(([m,S])=>M==null?void 0:M.style.setProperty(m,S,"important")),M.value=e.value||e.placeholder||"";let p=M.scrollHeight;const d={};i==="border-box"?p=p+s:i==="content-box"&&(p=p-a),M.value="";const g=M.scrollHeight-a;if(l.isNumber(n)){let m=g*n;i==="border-box"&&(m=m+a+s),p=Math.max(m,p),d.minHeight=`${m}px`}if(l.isNumber(o)){let m=g*o;i==="border-box"&&(m=m+a+s),p=Math.min(m,p)}return d.height=`${p}px`,(r=M.parentNode)==null||r.removeChild(M),M=void 0,d}const en=l.buildProps({ariaLabel:String,ariaOrientation:{type:String,values:["horizontal","vertical","undefined"]},ariaControls:String}),tn=e=>jt(en,e),nn=l.buildProps({id:{type:String,default:void 0},size:l.useSizeProp,disabled:Boolean,modelValue:{type:l.definePropType([String,Number,Object]),default:""},maxlength:{type:[String,Number]},minlength:{type:[String,Number]},type:{type:String,default:"text"},resize:{type:String,values:["none","both","horizontal","vertical"]},autosize:{type:l.definePropType([Boolean,Object]),default:!1},autocomplete:{type:String,default:"off"},formatter:{type:Function},parser:{type:Function},placeholder:{type:String},form:{type:String},readonly:Boolean,clearable:Boolean,showPassword:Boolean,showWordLimit:Boolean,suffixIcon:{type:l.iconPropType},prefixIcon:{type:l.iconPropType},containerRole:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},validateEvent:{type:Boolean,default:!0},inputStyle:{type:l.definePropType([Object,Array,String]),default:()=>Nt.mutable({})},autofocus:Boolean,rows:{type:Number,default:2},...tn(["ariaLabel"])}),on={[Ce]:e=>l.isString(e),input:e=>l.isString(e),change:e=>l.isString(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0,mouseleave:e=>e instanceof MouseEvent,mouseenter:e=>e instanceof MouseEvent,keydown:e=>e instanceof Event,compositionstart:e=>e instanceof CompositionEvent,compositionupdate:e=>e instanceof CompositionEvent,compositionend:e=>e instanceof CompositionEvent},rn=["class","style"],an=/^on[A-Z]/,sn=(e={})=>{const{excludeListeners:n=!1,excludeKeys:o}=e,r=t.computed(()=>((o==null?void 0:o.value)||[]).concat(rn)),a=t.getCurrentInstance();return a?t.computed(()=>{var s;return l.fromPairs(Object.entries((s=a.proxy)==null?void 0:s.$attrs).filter(([i])=>!r.value.includes(i)&&!(n&&an.test(i))))}):(l.debugWarn("use-attrs","getCurrentInstance() returned null. useAttrs() must be called at the top of a setup function"),t.computed(()=>({})))},we={prefix:Math.floor(Math.random()*1e4),current:0},ln=Symbol("elIdInjection"),un=()=>t.getCurrentInstance()?t.inject(ln,we):we,Se=e=>{const n=un();!l.isClient&&n===we&&l.debugWarn("IdInjection",`Looks like you are using server rendering, you must provide a id provider to ensure the hydration process to be succeed
2
2
  usage: app.provide(ID_INJECTION_KEY, {
3
3
  prefix: number,
4
4
  current: number,
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as t, reactive as o, onMounted as r, createElementBlock as n, openBlock as s, createVNode as a } from "vue";
2
- import { b as c } from "./index-xncpD9kf.js";
3
- import { aw as m } from "./index-CJkfJyDo.js";
4
- import { S as i } from "./index-DDdi9GZb.js";
5
- import { g as l } from "./index-BAsOoTcX.js";
2
+ import { b as c } from "./index-D1SmPFCi.js";
3
+ import { aw as m } from "./index-Y0Cyumla.js";
4
+ import { S as i } from "./index-DABs8Kxo.js";
5
+ import { g as l } from "./index-BNhZu2YE.js";
6
6
  import { _ as d } from "./_plugin-vue_export-helper-CHgC5LLL.js";
7
7
  const p = { class: "role-wrapper" }, _ = /* @__PURE__ */ t({
8
8
  __name: "index",
@@ -1,11 +1,11 @@
1
1
  import { createElementBlock as L, openBlock as m, createElementVNode as Q, renderSlot as x, defineComponent as f, ref as K, resolveComponent as u, createVNode as R, withCtx as i, reactive as T, watch as N, unref as l, toDisplayString as d, createTextVNode as v } from "vue";
2
2
  import { _ as j } from "./_plugin-vue_export-helper-CHgC5LLL.js";
3
- import { u as EA, l as IA } from "./index-t-T1ZMSZ.js";
3
+ import { u as EA, l as IA } from "./index-SijcElo_.js";
4
4
  import { useRouter as gA } from "vue-router";
5
- import { u as CA } from "./login-Com7R_T4.js";
6
- import { a as BA, E as M, b as QA, g as b } from "./menu-s4M6domI.js";
7
- import { p as iA } from "./index-9U7a4Lnn.js";
8
- import { v as oA } from "./index-C1W9DoMg.js";
5
+ import { u as CA } from "./login-CGsSxGrp.js";
6
+ import { a as BA, E as M, b as QA, g as b } from "./menu-DWyy1zjD.js";
7
+ import { p as iA } from "./index-BbZ5oZ0i.js";
8
+ import { v as oA } from "./index-B_NUrr4d.js";
9
9
  import { d as wA } from "./crypto-BRyGpjGR.js";
10
10
  const eA = {}, cA = { class: "header-wrapper" }, RA = { class: "header-horizontal" }, nA = { class: "header-logo" }, sA = { class: "header-cTitle" }, JA = { class: "header-horizontal" }, tA = { class: "header-eTitle" };
11
11
  function SA(S, r) {
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index.vue_vue_type_style_index_0_scoped_d9b749a8_lang-CLHTc7GG.cjs"),e=require("vue"),r=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),d={class:"menu-operate-icon"},u={class:"module-dialog-content"};function c(t,k,_,C,f,v){const l=e.resolveComponent("svg-icon"),s=e.resolveComponent("ssMenu"),i=e.resolveComponent("ssDialog");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(s,{mode:t.mode,menuList:t.renderMenuList,onClickMenu:t.clickMenu,onOpenMenu:t.openMenu,onCloseMenu:t.closeMenu},{title:e.withCtx(({menu:n})=>[e.createVNode(l,{name:n.icon??"Edit",class:"menu-icon"},null,8,["name"]),e.createElementVNode("span",null,e.toDisplayString(n.title??""),1),e.createElementVNode("span",d,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n==null?void 0:n.config,o=>(e.openBlock(),e.createBlock(l,{key:o.id,name:o==null?void 0:o.menuIcon,onClick:M=>t.clickMenuIcon(o)},null,8,["name","onClick"]))),128))])]),_:1},8,["mode","menuList","onClickMenu","onOpenMenu","onCloseMenu"]),e.createVNode(i,{class:"module-dialog",title:t.dialogInfo.title,visible:t.dialogInfo.show,width:t.dialogInfo.width,onBeforeDestroy:t.beforeDialogDestroy},{default:e.withCtx(()=>[e.createElementVNode("div",u,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.dialogRenderComps,n=>(e.openBlock(),e.createElementBlock("div",{key:n.id},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.getComponents((n==null?void 0:n.comp)??"Input")),{itemData:n==null?void 0:n.compData,key:n==null?void 0:n.id,content:(n==null?void 0:n.contents)??[],config:n==null?void 0:n.config,onContentChange:t.handleCompChange},null,40,["itemData","content","config","onContentChange"]))]))),128))])]),_:1},8,["title","visible","width","onBeforeDestroy"])],64)}const g=r._export_sfc(a._sfc_main,[["render",c],["__scopeId","data-v-d9b749a8"]]);exports.default=g;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index.vue_vue_type_style_index_0_scoped_d9b749a8_lang-C-VFwt4I.cjs"),e=require("vue"),r=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),d={class:"menu-operate-icon"},u={class:"module-dialog-content"};function c(t,k,_,C,f,v){const l=e.resolveComponent("svg-icon"),s=e.resolveComponent("ssMenu"),i=e.resolveComponent("ssDialog");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(s,{mode:t.mode,menuList:t.renderMenuList,onClickMenu:t.clickMenu,onOpenMenu:t.openMenu,onCloseMenu:t.closeMenu},{title:e.withCtx(({menu:n})=>[e.createVNode(l,{name:n.icon??"Edit",class:"menu-icon"},null,8,["name"]),e.createElementVNode("span",null,e.toDisplayString(n.title??""),1),e.createElementVNode("span",d,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n==null?void 0:n.config,o=>(e.openBlock(),e.createBlock(l,{key:o.id,name:o==null?void 0:o.menuIcon,onClick:M=>t.clickMenuIcon(o)},null,8,["name","onClick"]))),128))])]),_:1},8,["mode","menuList","onClickMenu","onOpenMenu","onCloseMenu"]),e.createVNode(i,{class:"module-dialog",title:t.dialogInfo.title,visible:t.dialogInfo.show,width:t.dialogInfo.width,onBeforeDestroy:t.beforeDialogDestroy},{default:e.withCtx(()=>[e.createElementVNode("div",u,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.dialogRenderComps,n=>(e.openBlock(),e.createElementBlock("div",{key:n.id},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.getComponents((n==null?void 0:n.comp)??"Input")),{itemData:n==null?void 0:n.compData,key:n==null?void 0:n.id,content:(n==null?void 0:n.contents)??[],config:n==null?void 0:n.config,onContentChange:t.handleCompChange},null,40,["itemData","content","config","onContentChange"]))]))),128))])]),_:1},8,["title","visible","width","onBeforeDestroy"])],64)}const g=r._export_sfc(a._sfc_main,[["render",c],["__scopeId","data-v-d9b749a8"]]);exports.default=g;
@@ -1,6 +1,6 @@
1
1
  import { ref as Sp, onMounted as Ab, watch as vL, onUnmounted as cL, createElementBlock as Mb, openBlock as Ib, createVNode as pL } from "vue";
2
2
  import { _ as Lb } from "./_plugin-vue_export-helper-CHgC5LLL.js";
3
- import { c as Ki } from "./cloneDeep-B_AN9BZz.js";
3
+ import { c as Ki } from "./cloneDeep-B6dvqPwg.js";
4
4
  /*! *****************************************************************************
5
5
  Copyright (c) Microsoft Corporation.
6
6
 
@@ -1,4 +1,4 @@
1
- "use strict";const Y=require("vue"),pr=require("./index-BDb1KYMF.cjs"),st=require("./menu-CHw9SnTy.cjs"),Nn=require("./index-Cc6csIgf.cjs"),Ht=require("./index-MH1oGtgn.cjs"),Do=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),me=require("./cloneDeep-Y6SiJhri.cjs");var Ku="__lodash_hash_undefined__";function ju(i){return this.__data__.set(i,Ku),this}function $u(i){return this.__data__.has(i)}function Cs(i){var e=-1,t=i==null?0:i.length;for(this.__data__=new Nn.MapCache;++e<t;)this.add(i[e])}Cs.prototype.add=Cs.prototype.push=ju;Cs.prototype.has=$u;function Ju(i,e){for(var t=-1,n=i==null?0:i.length;++t<n;)if(e(i[t],t,i))return!0;return!1}function Zu(i,e){return i.has(e)}var Qu=1,eh=2;function Gc(i,e,t,n,r,s){var a=t&Qu,o=i.length,l=e.length;if(o!=l&&!(a&&l>o))return!1;var c=s.get(i),u=s.get(e);if(c&&u)return c==e&&u==i;var h=-1,f=!0,p=t&eh?new Cs:void 0;for(s.set(i,e),s.set(e,i);++h<o;){var g=i[h],_=e[h];if(n)var m=a?n(_,g,h,e,i,s):n(g,_,h,i,e,s);if(m!==void 0){if(m)continue;f=!1;break}if(p){if(!Ju(e,function(d,E){if(!Zu(p,E)&&(g===d||r(g,d,t,n,s)))return p.push(E)})){f=!1;break}}else if(!(g===_||r(g,_,t,n,s))){f=!1;break}}return s.delete(i),s.delete(e),f}function th(i){var e=-1,t=Array(i.size);return i.forEach(function(n,r){t[++e]=[r,n]}),t}function nh(i){var e=-1,t=Array(i.size);return i.forEach(function(n){t[++e]=n}),t}var ih=1,rh=2,sh="[object Boolean]",ah="[object Date]",oh="[object Error]",lh="[object Map]",ch="[object Number]",uh="[object RegExp]",hh="[object Set]",fh="[object String]",dh="[object Symbol]",ph="[object ArrayBuffer]",mh="[object DataView]",Qo=Nn.Symbol?Nn.Symbol.prototype:void 0,qs=Qo?Qo.valueOf:void 0;function gh(i,e,t,n,r,s,a){switch(t){case mh:if(i.byteLength!=e.byteLength||i.byteOffset!=e.byteOffset)return!1;i=i.buffer,e=e.buffer;case ph:return!(i.byteLength!=e.byteLength||!s(new me.Uint8Array(i),new me.Uint8Array(e)));case sh:case ah:case ch:return Nn.eq(+i,+e);case oh:return i.name==e.name&&i.message==e.message;case uh:case fh:return i==e+"";case lh:var o=th;case hh:var l=n&ih;if(o||(o=nh),i.size!=e.size&&!l)return!1;var c=a.get(i);if(c)return c==e;n|=rh,a.set(i,e);var u=Gc(o(i),o(e),n,r,s,a);return a.delete(i),u;case dh:if(qs)return qs.call(i)==qs.call(e)}return!1}var _h=1,vh=Object.prototype,xh=vh.hasOwnProperty;function yh(i,e,t,n,r,s){var a=t&_h,o=me.getAllKeys(i),l=o.length,c=me.getAllKeys(e),u=c.length;if(l!=u&&!a)return!1;for(var h=l;h--;){var f=o[h];if(!(a?f in e:xh.call(e,f)))return!1}var p=s.get(i),g=s.get(e);if(p&&g)return p==e&&g==i;var _=!0;s.set(i,e),s.set(e,i);for(var m=a;++h<l;){f=o[h];var d=i[f],E=e[f];if(n)var T=a?n(E,d,f,e,i,s):n(d,E,f,i,e,s);if(!(T===void 0?d===E||r(d,E,t,n,s):T)){_=!1;break}m||(m=f=="constructor")}if(_&&!m){var y=i.constructor,D=e.constructor;y!=D&&"constructor"in i&&"constructor"in e&&!(typeof y=="function"&&y instanceof y&&typeof D=="function"&&D instanceof D)&&(_=!1)}return s.delete(i),s.delete(e),_}var Sh=1,el="[object Arguments]",tl="[object Array]",Nr="[object Object]",Mh=Object.prototype,nl=Mh.hasOwnProperty;function Eh(i,e,t,n,r,s){var a=Nn.isArray(i),o=Nn.isArray(e),l=a?tl:me.getTag(i),c=o?tl:me.getTag(e);l=l==el?Nr:l,c=c==el?Nr:c;var u=l==Nr,h=c==Nr,f=l==c;if(f&&me.isBuffer(i)){if(!me.isBuffer(e))return!1;a=!0,u=!1}if(f&&!u)return s||(s=new me.Stack),a||me.isTypedArray(i)?Gc(i,e,t,n,r,s):gh(i,e,l,t,n,r,s);if(!(t&Sh)){var p=u&&nl.call(i,"__wrapped__"),g=h&&nl.call(e,"__wrapped__");if(p||g){var _=p?i.value():i,m=g?e.value():e;return s||(s=new me.Stack),r(_,m,t,n,s)}}return f?(s||(s=new me.Stack),yh(i,e,t,n,r,s)):!1}function Wc(i,e,t,n,r){return i===e?!0:i==null||e==null||!Nn.isObjectLike(i)&&!Nn.isObjectLike(e)?i!==i&&e!==e:Eh(i,e,t,n,Wc,r)}function bh(i,e){return Wc(i,e)}const Xc=st.defineStore("modelComp",{state:()=>({itemData:[],originalData:[],extraContents:[],nodeDev:"",isEdit:"view",isRefreshCurStructure:!1,isSubmitCurStructure:!1,curStructureCompIds:[]}),actions:{setItemData(i){this.itemData=i},setSubmitCurStructure(i){this.isSubmitCurStructure=i},setCurStructureCompIds(i){this.curStructureCompIds=i},setRefreshCurStructure(i){this.isRefreshCurStructure=i},setOriginalData(i){this.originalData=i},setExtraContents(i){this.extraContents=i},setNodeDev(i){this.nodeDev=i},setIsEdit(i){this.isEdit=i}}}),Th={__name:"index",props:{isVisible:{type:Boolean,default:!1},title:{type:String,default:""},width:{type:Number,default:200}},setup(i){const e=i,t=Y.ref(null),n=Y.ref(!1),r=Y.ref(null);return Y.watch(()=>e==null?void 0:e.isVisible,()=>{n.value=e==null?void 0:e.isVisible},{deep:!0,immediate:!0}),Y.watch(()=>r.value,()=>{Y.nextTick(()=>{var s,a;(a=(s=t.value)==null?void 0:s.updatePopper)==null||a.call(s)})},{deep:!0,immediate:!0}),(s,a)=>{const o=Y.resolveComponent("el-popover");return Y.openBlock(),Y.createBlock(o,{visible:n.value,placement:"bottom",title:e==null?void 0:e.title,width:e==null?void 0:e.width,ref_key:"popOverRef",ref:t},{reference:Y.withCtx(()=>[Y.createElementVNode("div",null,[Y.renderSlot(s.$slots,"reference",{ref_key:"referenceRef",ref:r})])]),default:Y.withCtx(()=>[Y.createElementVNode("div",null,[Y.renderSlot(s.$slots,"content")])]),_:3},8,["visible","title","width"])}}},Ah={class:"extra-button-content"},wh={class:"table-name-wrap"},Rh={class:"table-operator-wrap"},Ch={key:0,class:"extra-header"},Dh=["onClick"],Ph={class:"extra-button-filter"},Lh={class:"form-content-value"},Uh={__name:"header",props:{compName:{type:String,default:"表格名称",required:!1},buttons:{type:Array,default:()=>[]},columns:{type:Array,default:()=>[]}},emits:["buttonClick","filter"],setup(i,{emit:e}){const t=e,n=i,r=Y.ref(!1),s=Y.ref([]),a=Y.ref([{label:"取消"},{label:"确认"}]),o=u=>{t("buttonClick",u)},l=u=>{var h,f;s.value=(f=(h=Ht.getColumnChild(me.cloneDeep(u)))==null?void 0:h.filter(p=>(p==null?void 0:p.label)!==""&&(p==null?void 0:p.label)!=="操作"))==null?void 0:f.map(p=>({label:(p==null?void 0:p.label)??"",value:"",name:(p==null?void 0:p.label)??"",isFormColHidden:p==null?void 0:p.isTableColHidden}))},c=u=>{(u==null?void 0:u.buttonName)==="确认"&&t("filter",u==null?void 0:u.content),r.value=!1};return Y.onMounted(()=>{l(n.columns)}),Y.watch(()=>n.columns,()=>{l(n.columns)},{deep:!0,immediate:!0}),(u,h)=>{var p;const f=Y.resolveComponent("el-tooltip");return Y.openBlock(),Y.createElementBlock("div",Ah,[Y.createElementVNode("div",wh,Y.toDisplayString(i.compName),1),Y.createElementVNode("div",Rh,[n!=null&&n.buttons&&((p=n==null?void 0:n.buttons)==null?void 0:p.length)>0?(Y.openBlock(),Y.createElementBlock("div",Ch,[(Y.openBlock(!0),Y.createElementBlock(Y.Fragment,null,Y.renderList(n==null?void 0:n.buttons,(g,_)=>(Y.openBlock(),Y.createElementBlock("div",{class:"extra-contents",key:_},[Y.createElementVNode("div",{class:"extra-content",style:Y.normalizeStyle({background:(g==null?void 0:g.background)??"var(--ssbutton-theme-bg)",color:"var(--ssbutton-theme-color)"}),onClick:m=>o(g==null?void 0:g.label)},Y.toDisplayString(g==null?void 0:g.label),13,Dh)]))),128))])):Y.createCommentVNode("",!0),Y.createElementVNode("div",Ph,[Y.createVNode(Th,{title:"筛选数据",width:500,isVisible:r.value},{reference:Y.withCtx(()=>[Y.createVNode(f,{content:"筛选",placement:"top-start"},{default:Y.withCtx(()=>[Y.createElementVNode("div",{class:"button-style",onClick:h[0]||(h[0]=g=>r.value=!r.value)},[Y.createVNode(Y.unref(Nn.filter_default),{color:"var(--ssComponent-black)"})])]),_:1})]),content:Y.withCtx(()=>[Y.createElementVNode("div",Lh,[(Y.openBlock(),Y.createBlock(Ht.ssForm,{rowContents:s.value,buttonValue:a.value,isRowFlex:!0,isEnableWrap:!1,isButtonRow:!1,key:a.value,isStartJustify:!1,onOnButtonClick:c},null,8,["rowContents","buttonValue"]))])]),_:1},8,["isVisible"])])])])}}},Ih=Do._export_sfc(Uh,[["__scopeId","data-v-332fd0fe"]]);/**
1
+ "use strict";const Y=require("vue"),pr=require("./index-BRGrtqBY.cjs"),st=require("./menu-sqTDeabF.cjs"),Nn=require("./index-CanLcekr.cjs"),Ht=require("./index-CCBUJLcW.cjs"),Do=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),me=require("./cloneDeep-CsbXNSYy.cjs");var Ku="__lodash_hash_undefined__";function ju(i){return this.__data__.set(i,Ku),this}function $u(i){return this.__data__.has(i)}function Cs(i){var e=-1,t=i==null?0:i.length;for(this.__data__=new Nn.MapCache;++e<t;)this.add(i[e])}Cs.prototype.add=Cs.prototype.push=ju;Cs.prototype.has=$u;function Ju(i,e){for(var t=-1,n=i==null?0:i.length;++t<n;)if(e(i[t],t,i))return!0;return!1}function Zu(i,e){return i.has(e)}var Qu=1,eh=2;function Gc(i,e,t,n,r,s){var a=t&Qu,o=i.length,l=e.length;if(o!=l&&!(a&&l>o))return!1;var c=s.get(i),u=s.get(e);if(c&&u)return c==e&&u==i;var h=-1,f=!0,p=t&eh?new Cs:void 0;for(s.set(i,e),s.set(e,i);++h<o;){var g=i[h],_=e[h];if(n)var m=a?n(_,g,h,e,i,s):n(g,_,h,i,e,s);if(m!==void 0){if(m)continue;f=!1;break}if(p){if(!Ju(e,function(d,E){if(!Zu(p,E)&&(g===d||r(g,d,t,n,s)))return p.push(E)})){f=!1;break}}else if(!(g===_||r(g,_,t,n,s))){f=!1;break}}return s.delete(i),s.delete(e),f}function th(i){var e=-1,t=Array(i.size);return i.forEach(function(n,r){t[++e]=[r,n]}),t}function nh(i){var e=-1,t=Array(i.size);return i.forEach(function(n){t[++e]=n}),t}var ih=1,rh=2,sh="[object Boolean]",ah="[object Date]",oh="[object Error]",lh="[object Map]",ch="[object Number]",uh="[object RegExp]",hh="[object Set]",fh="[object String]",dh="[object Symbol]",ph="[object ArrayBuffer]",mh="[object DataView]",Qo=Nn.Symbol?Nn.Symbol.prototype:void 0,qs=Qo?Qo.valueOf:void 0;function gh(i,e,t,n,r,s,a){switch(t){case mh:if(i.byteLength!=e.byteLength||i.byteOffset!=e.byteOffset)return!1;i=i.buffer,e=e.buffer;case ph:return!(i.byteLength!=e.byteLength||!s(new me.Uint8Array(i),new me.Uint8Array(e)));case sh:case ah:case ch:return Nn.eq(+i,+e);case oh:return i.name==e.name&&i.message==e.message;case uh:case fh:return i==e+"";case lh:var o=th;case hh:var l=n&ih;if(o||(o=nh),i.size!=e.size&&!l)return!1;var c=a.get(i);if(c)return c==e;n|=rh,a.set(i,e);var u=Gc(o(i),o(e),n,r,s,a);return a.delete(i),u;case dh:if(qs)return qs.call(i)==qs.call(e)}return!1}var _h=1,vh=Object.prototype,xh=vh.hasOwnProperty;function yh(i,e,t,n,r,s){var a=t&_h,o=me.getAllKeys(i),l=o.length,c=me.getAllKeys(e),u=c.length;if(l!=u&&!a)return!1;for(var h=l;h--;){var f=o[h];if(!(a?f in e:xh.call(e,f)))return!1}var p=s.get(i),g=s.get(e);if(p&&g)return p==e&&g==i;var _=!0;s.set(i,e),s.set(e,i);for(var m=a;++h<l;){f=o[h];var d=i[f],E=e[f];if(n)var T=a?n(E,d,f,e,i,s):n(d,E,f,i,e,s);if(!(T===void 0?d===E||r(d,E,t,n,s):T)){_=!1;break}m||(m=f=="constructor")}if(_&&!m){var y=i.constructor,D=e.constructor;y!=D&&"constructor"in i&&"constructor"in e&&!(typeof y=="function"&&y instanceof y&&typeof D=="function"&&D instanceof D)&&(_=!1)}return s.delete(i),s.delete(e),_}var Sh=1,el="[object Arguments]",tl="[object Array]",Nr="[object Object]",Mh=Object.prototype,nl=Mh.hasOwnProperty;function Eh(i,e,t,n,r,s){var a=Nn.isArray(i),o=Nn.isArray(e),l=a?tl:me.getTag(i),c=o?tl:me.getTag(e);l=l==el?Nr:l,c=c==el?Nr:c;var u=l==Nr,h=c==Nr,f=l==c;if(f&&me.isBuffer(i)){if(!me.isBuffer(e))return!1;a=!0,u=!1}if(f&&!u)return s||(s=new me.Stack),a||me.isTypedArray(i)?Gc(i,e,t,n,r,s):gh(i,e,l,t,n,r,s);if(!(t&Sh)){var p=u&&nl.call(i,"__wrapped__"),g=h&&nl.call(e,"__wrapped__");if(p||g){var _=p?i.value():i,m=g?e.value():e;return s||(s=new me.Stack),r(_,m,t,n,s)}}return f?(s||(s=new me.Stack),yh(i,e,t,n,r,s)):!1}function Wc(i,e,t,n,r){return i===e?!0:i==null||e==null||!Nn.isObjectLike(i)&&!Nn.isObjectLike(e)?i!==i&&e!==e:Eh(i,e,t,n,Wc,r)}function bh(i,e){return Wc(i,e)}const Xc=st.defineStore("modelComp",{state:()=>({itemData:[],originalData:[],extraContents:[],nodeDev:"",isEdit:"view",isRefreshCurStructure:!1,isSubmitCurStructure:!1,curStructureCompIds:[]}),actions:{setItemData(i){this.itemData=i},setSubmitCurStructure(i){this.isSubmitCurStructure=i},setCurStructureCompIds(i){this.curStructureCompIds=i},setRefreshCurStructure(i){this.isRefreshCurStructure=i},setOriginalData(i){this.originalData=i},setExtraContents(i){this.extraContents=i},setNodeDev(i){this.nodeDev=i},setIsEdit(i){this.isEdit=i}}}),Th={__name:"index",props:{isVisible:{type:Boolean,default:!1},title:{type:String,default:""},width:{type:Number,default:200}},setup(i){const e=i,t=Y.ref(null),n=Y.ref(!1),r=Y.ref(null);return Y.watch(()=>e==null?void 0:e.isVisible,()=>{n.value=e==null?void 0:e.isVisible},{deep:!0,immediate:!0}),Y.watch(()=>r.value,()=>{Y.nextTick(()=>{var s,a;(a=(s=t.value)==null?void 0:s.updatePopper)==null||a.call(s)})},{deep:!0,immediate:!0}),(s,a)=>{const o=Y.resolveComponent("el-popover");return Y.openBlock(),Y.createBlock(o,{visible:n.value,placement:"bottom",title:e==null?void 0:e.title,width:e==null?void 0:e.width,ref_key:"popOverRef",ref:t},{reference:Y.withCtx(()=>[Y.createElementVNode("div",null,[Y.renderSlot(s.$slots,"reference",{ref_key:"referenceRef",ref:r})])]),default:Y.withCtx(()=>[Y.createElementVNode("div",null,[Y.renderSlot(s.$slots,"content")])]),_:3},8,["visible","title","width"])}}},Ah={class:"extra-button-content"},wh={class:"table-name-wrap"},Rh={class:"table-operator-wrap"},Ch={key:0,class:"extra-header"},Dh=["onClick"],Ph={class:"extra-button-filter"},Lh={class:"form-content-value"},Uh={__name:"header",props:{compName:{type:String,default:"表格名称",required:!1},buttons:{type:Array,default:()=>[]},columns:{type:Array,default:()=>[]}},emits:["buttonClick","filter"],setup(i,{emit:e}){const t=e,n=i,r=Y.ref(!1),s=Y.ref([]),a=Y.ref([{label:"取消"},{label:"确认"}]),o=u=>{t("buttonClick",u)},l=u=>{var h,f;s.value=(f=(h=Ht.getColumnChild(me.cloneDeep(u)))==null?void 0:h.filter(p=>(p==null?void 0:p.label)!==""&&(p==null?void 0:p.label)!=="操作"))==null?void 0:f.map(p=>({label:(p==null?void 0:p.label)??"",value:"",name:(p==null?void 0:p.label)??"",isFormColHidden:p==null?void 0:p.isTableColHidden}))},c=u=>{(u==null?void 0:u.buttonName)==="确认"&&t("filter",u==null?void 0:u.content),r.value=!1};return Y.onMounted(()=>{l(n.columns)}),Y.watch(()=>n.columns,()=>{l(n.columns)},{deep:!0,immediate:!0}),(u,h)=>{var p;const f=Y.resolveComponent("el-tooltip");return Y.openBlock(),Y.createElementBlock("div",Ah,[Y.createElementVNode("div",wh,Y.toDisplayString(i.compName),1),Y.createElementVNode("div",Rh,[n!=null&&n.buttons&&((p=n==null?void 0:n.buttons)==null?void 0:p.length)>0?(Y.openBlock(),Y.createElementBlock("div",Ch,[(Y.openBlock(!0),Y.createElementBlock(Y.Fragment,null,Y.renderList(n==null?void 0:n.buttons,(g,_)=>(Y.openBlock(),Y.createElementBlock("div",{class:"extra-contents",key:_},[Y.createElementVNode("div",{class:"extra-content",style:Y.normalizeStyle({background:(g==null?void 0:g.background)??"var(--ssbutton-theme-bg)",color:"var(--ssbutton-theme-color)"}),onClick:m=>o(g==null?void 0:g.label)},Y.toDisplayString(g==null?void 0:g.label),13,Dh)]))),128))])):Y.createCommentVNode("",!0),Y.createElementVNode("div",Ph,[Y.createVNode(Th,{title:"筛选数据",width:500,isVisible:r.value},{reference:Y.withCtx(()=>[Y.createVNode(f,{content:"筛选",placement:"top-start"},{default:Y.withCtx(()=>[Y.createElementVNode("div",{class:"button-style",onClick:h[0]||(h[0]=g=>r.value=!r.value)},[Y.createVNode(Y.unref(Nn.filter_default),{color:"var(--ssComponent-black)"})])]),_:1})]),content:Y.withCtx(()=>[Y.createElementVNode("div",Lh,[(Y.openBlock(),Y.createBlock(Ht.ssForm,{rowContents:s.value,buttonValue:a.value,isRowFlex:!0,isEnableWrap:!1,isButtonRow:!1,key:a.value,isStartJustify:!1,onOnButtonClick:c},null,8,["rowContents","buttonValue"]))])]),_:1},8,["isVisible"])])])])}}},Ih=Do._export_sfc(Uh,[["__scopeId","data-v-332fd0fe"]]);/**
2
2
  * @license
3
3
  * Copyright 2010-2025 Three.js Authors
4
4
  * SPDX-License-Identifier: MIT
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./index.vue_vue_type_script_setup_true_lang-Dn-MIsQU.js";
1
+ import { _ as f } from "./index.vue_vue_type_script_setup_true_lang-B2Pk0SDZ.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,10 +1,10 @@
1
1
  import { ref as c, reactive as k, computed as M, defineComponent as J, onMounted as Z, resolveDirective as G, createElementBlock as U, openBlock as _, createElementVNode as b, withDirectives as Q, createVNode as S, unref as D, createBlock as X } from "vue";
2
- import { e as Y, b as ee, c as te } from "./index-t-T1ZMSZ.js";
3
- import { u as P } from "./login-Com7R_T4.js";
4
- import { s as E, g as V, u as ae, d as se, E as B } from "./menu-s4M6domI.js";
2
+ import { e as Y, b as ee, c as te } from "./index-SijcElo_.js";
3
+ import { u as P } from "./login-CGsSxGrp.js";
4
+ import { s as E, g as V, u as ae, d as se, E as B } from "./menu-DWyy1zjD.js";
5
5
  import { e as re, d as ne } from "./crypto-BRyGpjGR.js";
6
- import { a as oe, s as le } from "./index-ywmQAIKw.js";
7
- import { b as ie, j as ue } from "./index-xncpD9kf.js";
6
+ import { a as oe, s as le } from "./index-Cz6mt4xg.js";
7
+ import { b as ie, j as ue } from "./index-D1SmPFCi.js";
8
8
  import { _ as de } from "./_plugin-vue_export-helper-CHgC5LLL.js";
9
9
  const L = P(), { loginUserInfo: i, cryptoInfo: m } = E(L), pe = ae(), { activeMenuPath: h } = E(pe), I = c(0);
10
10
  var R, N, x, K;
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as t, reactive as o, onMounted as r, createElementBlock as n, openBlock as s, createVNode as a } from "vue";
2
- import { b as c } from "./index-xncpD9kf.js";
3
- import { aw as m } from "./index-CJkfJyDo.js";
4
- import { S as i } from "./index-D7GTOlty.js";
5
- import { g as l } from "./index-BAsOoTcX.js";
2
+ import { b as c } from "./index-D1SmPFCi.js";
3
+ import { aw as m } from "./index-Y0Cyumla.js";
4
+ import { S as i } from "./index-BMBjPvzr.js";
5
+ import { g as l } from "./index-BNhZu2YE.js";
6
6
  import { _ as p } from "./_plugin-vue_export-helper-CHgC5LLL.js";
7
7
  const d = { class: "role-wrapper" }, _ = /* @__PURE__ */ t({
8
8
  __name: "index",
@@ -1,14 +1,14 @@
1
1
  import { resolveComponent as L, createElementBlock as _, openBlock as r, Fragment as j, renderList as q, unref as W, createElementVNode as C, createVNode as D, toDisplayString as E, ref as I, watch as A, withCtx as z, createBlock as G, resolveDynamicComponent as H, createCommentVNode as y, normalizeStyle as X, withModifiers as w } from "vue";
2
- import { s as Y, g as J } from "./index-B28cChvk.js";
3
- import { p as B } from "./index-9U7a4Lnn.js";
4
- import { u as V } from "./index-CJkfJyDo.js";
5
- import { s as S, E as Z } from "./menu-s4M6domI.js";
6
- import "./array-B06PZ90z.js";
2
+ import { s as Y, g as J } from "./index-D24pmlO4.js";
3
+ import { p as B } from "./index-BbZ5oZ0i.js";
4
+ import { u as V } from "./index-Y0Cyumla.js";
5
+ import { s as S, E as Z } from "./menu-DWyy1zjD.js";
6
+ import "./array-CIgl-zVp.js";
7
7
  import { _ as M } from "./_plugin-vue_export-helper-CHgC5LLL.js";
8
- import { c as v } from "./cloneDeep-B_AN9BZz.js";
8
+ import { c as v } from "./cloneDeep-B6dvqPwg.js";
9
9
  import ee from "./index-CZtXRS3l.js";
10
- import { a as te } from "./index-xncpD9kf.js";
11
- import { E as ne } from "./index-Drs0Rsir.js";
10
+ import { a as te } from "./index-D1SmPFCi.js";
11
+ import { E as ne } from "./index-CFuHMQ0E.js";
12
12
  const oe = { class: "type-select" }, se = ["onClick"], ae = { class: "list-icon" }, le = {
13
13
  __name: "index",
14
14
  setup(O) {
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const or=require("vue"),Ab=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),ji=require("./cloneDeep-Y6SiJhri.cjs");/*! *****************************************************************************
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const or=require("vue"),Ab=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),ji=require("./cloneDeep-CsbXNSYy.cjs");/*! *****************************************************************************
2
2
  Copyright (c) Microsoft Corporation.
3
3
 
4
4
  Permission to use, copy, modify, and/or distribute this software for any
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as B, reactive as v, onMounted as V, watch as S, nextTick as M, resolveComponent as c, createElementBlock as _, openBlock as h, Fragment as f, createElementVNode as i, createVNode as l, withCtx as n, toDisplayString as p, renderList as z, createBlock as T, createTextVNode as g } from "vue";
2
- import { b as A } from "./index-xncpD9kf.js";
3
- import { aw as N } from "./index-CJkfJyDo.js";
4
- import { S as k } from "./index-BAsOoTcX.js";
5
- import { u as R, s as E } from "./menu-s4M6domI.js";
6
- import { c as F } from "./cloneDeep-B_AN9BZz.js";
2
+ import { b as A } from "./index-D1SmPFCi.js";
3
+ import { aw as N } from "./index-Y0Cyumla.js";
4
+ import { S as k } from "./index-BNhZu2YE.js";
5
+ import { u as R, s as E } from "./menu-DWyy1zjD.js";
6
+ import { c as F } from "./cloneDeep-B6dvqPwg.js";
7
7
  import { _ as I } from "./_plugin-vue_export-helper-CHgC5LLL.js";
8
8
  const U = { class: "role-wrapper" }, O = { class: "role-dialog-header" }, q = { class: "node-text" }, L = { class: "dialog-footer" }, P = /* @__PURE__ */ B({
9
9
  __name: "index",
@@ -6017,12 +6017,12 @@ const I9 = N4(P, "$notify"), D9 = [
6017
6017
  {
6018
6018
  path: "/login",
6019
6019
  name: "Login",
6020
- component: async () => import("./index-D4ctAO59.js")
6020
+ component: async () => import("./index-DkyKDNU2.js")
6021
6021
  },
6022
6022
  {
6023
6023
  path: "/",
6024
6024
  name: "Model",
6025
- component: async () => import("./index-BHF1ffp8.js"),
6025
+ component: async () => import("./index-D5utaOGh.js"),
6026
6026
  // component: async ()=>import('@/components/views/model/component/main.vue'),
6027
6027
  // component: async ()=>import('@/components/views/canvas/index.vue'),
6028
6028
  // component: async ()=>import('@/components/views/test/index.vue'),
@@ -6030,37 +6030,37 @@ const I9 = N4(P, "$notify"), D9 = [
6030
6030
  {
6031
6031
  path: "平台管理/菜单管理",
6032
6032
  name: "Menu",
6033
- component: async () => import("./index-DR0WoAsz.js")
6033
+ component: async () => import("./index-CaDX01yd.js")
6034
6034
  },
6035
6035
  {
6036
6036
  path: "平台管理/主菜单管理",
6037
6037
  name: "MainMenu",
6038
- component: async () => import("./index-CDr_vYjF.js")
6038
+ component: async () => import("./index-C7YAhn2s.js")
6039
6039
  },
6040
6040
  {
6041
6041
  path: "系统管理/个人中心",
6042
6042
  name: "PersonalCenter",
6043
- component: async () => import("./index-DuR9UdpW.js")
6043
+ component: async () => import("./index-DwWpxE53.js")
6044
6044
  },
6045
6045
  {
6046
6046
  path: "系统管理/职位管理",
6047
6047
  name: "Post",
6048
- component: async () => import("./index-C9siKrRV.js")
6048
+ component: async () => import("./index-HNpuyw2U.js")
6049
6049
  },
6050
6050
  {
6051
6051
  path: "系统管理/用户管理",
6052
6052
  name: "User",
6053
- component: async () => import("./index-DvcIn1u0.js")
6053
+ component: async () => import("./index-eD5QqJJO.js")
6054
6054
  },
6055
6055
  {
6056
6056
  path: "系统管理/角色管理",
6057
6057
  name: "Role",
6058
- component: async () => import("./index-C6Z9WchS.js")
6058
+ component: async () => import("./index-PfDSH60C.js")
6059
6059
  },
6060
6060
  {
6061
6061
  path: "系统管理/部门管理",
6062
6062
  name: "Dept",
6063
- component: async () => import("./index-Dam7jFb7.js")
6063
+ component: async () => import("./index-DXg7q_C4.js")
6064
6064
  },
6065
6065
  {
6066
6066
  path: "priority",
@@ -1,10 +1,10 @@
1
1
  import { ref as at, watch as Vi, nextTick as oh, resolveComponent as hu, createBlock as zo, openBlock as en, withCtx as hn, createElementVNode as wt, renderSlot as ul, onMounted as ko, createElementBlock as Ln, toDisplayString as fi, createCommentVNode as fu, Fragment as du, renderList as pu, normalizeStyle as mu, createVNode as vn, unref as lh, defineComponent as ch, createSlots as uh } from "vue";
2
- import { p as mr } from "./index-9U7a4Lnn.js";
3
- import { f as Gs, i as hl, g as tn, c as gu, d as Ds, u as _u, e as hh, s as Nr } from "./menu-s4M6domI.js";
4
- import { a3 as fh, S as fl, a4 as dh, i as dl, a5 as pl, a6 as ph } from "./index-t-T1ZMSZ.js";
5
- import { b as Ls, g as Us, k as ml, l as mh, n as gh, s as gl } from "./index-xncpD9kf.js";
2
+ import { p as mr } from "./index-BbZ5oZ0i.js";
3
+ import { f as Gs, i as hl, g as tn, c as gu, d as Ds, u as _u, e as hh, s as Nr } from "./menu-DWyy1zjD.js";
4
+ import { a3 as fh, S as fl, a4 as dh, i as dl, a5 as pl, a6 as ph } from "./index-SijcElo_.js";
5
+ import { b as Ls, g as Us, k as ml, l as mh, n as gh, s as gl } from "./index-D1SmPFCi.js";
6
6
  import { _ as Vo } from "./_plugin-vue_export-helper-CHgC5LLL.js";
7
- import { U as _l, g as vl, h as xl, j as yl, S as Qs, k as _h, c as Te } from "./cloneDeep-B_AN9BZz.js";
7
+ import { U as _l, g as vl, h as xl, j as yl, S as Qs, k as _h, c as Te } from "./cloneDeep-B6dvqPwg.js";
8
8
  var vh = "__lodash_hash_undefined__";
9
9
  function xh(i) {
10
10
  return this.__data__.set(i, vh), this;
@@ -1,10 +1,10 @@
1
1
  import { defineComponent as n, reactive as r, onMounted as s, createElementBlock as c, openBlock as i, createVNode as t } from "vue";
2
- import { b as m } from "./index-xncpD9kf.js";
3
- import { aw as l } from "./index-CJkfJyDo.js";
4
- import { S as u } from "./index-9Qo6zr3A.js";
5
- import { u as d, s as p } from "./menu-s4M6domI.js";
6
- import { u as f } from "./login-Com7R_T4.js";
7
- import { g } from "./index-BAsOoTcX.js";
2
+ import { b as m } from "./index-D1SmPFCi.js";
3
+ import { aw as l } from "./index-Y0Cyumla.js";
4
+ import { S as u } from "./index-DBOIQSzb.js";
5
+ import { u as d, s as p } from "./menu-DWyy1zjD.js";
6
+ import { u as f } from "./login-CGsSxGrp.js";
7
+ import { g } from "./index-BNhZu2YE.js";
8
8
  import { _ as h } from "./_plugin-vue_export-helper-CHgC5LLL.js";
9
9
  const _ = { class: "role-wrapper" }, C = /* @__PURE__ */ n({
10
10
  __name: "index",
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),n=require("./index-MH1oGtgn.cjs"),a=require("./index-BxvxIhMb.cjs"),r=require("./index-KES5JdwO.cjs"),o=require("./index-nu33sXcH.cjs"),s=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),c={class:"role-wrapper"},i=e.defineComponent({__name:"index",setup(d){const t=e.reactive({...r.State});return e.onMounted(async()=>{t.structureId=await o.getActivePageStructureId()}),(l,_)=>(e.openBlock(),e.createElementBlock("div",c,[e.createVNode(n.ssForm,{class:"role-header",rowContents:t.queryFormData,isEnableWrap:!1,isEdit:!0,onChange:t.handleQueryChange},null,8,["rowContents","onChange"]),e.createVNode(a.ssTable,{class:"role-body",itemData:t.pageData,onChange:t.handleItemDataChange},null,8,["itemData","onChange"])]))}}),u=s._export_sfc(i,[["__scopeId","data-v-c1856cfa"]]);exports.default=u;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),n=require("./index-CCBUJLcW.cjs"),a=require("./index-DpFIZqXx.cjs"),r=require("./index-BkteT_oe.cjs"),o=require("./index-DERavfV0.cjs"),s=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),c={class:"role-wrapper"},i=e.defineComponent({__name:"index",setup(d){const t=e.reactive({...r.State});return e.onMounted(async()=>{t.structureId=await o.getActivePageStructureId()}),(l,_)=>(e.openBlock(),e.createElementBlock("div",c,[e.createVNode(n.ssForm,{class:"role-header",rowContents:t.queryFormData,isEnableWrap:!1,isEdit:!0,onChange:t.handleQueryChange},null,8,["rowContents","onChange"]),e.createVNode(a.ssTable,{class:"role-body",itemData:t.pageData,onChange:t.handleItemDataChange},null,8,["itemData","onChange"])]))}}),u=s._export_sfc(i,[["__scopeId","data-v-c1856cfa"]]);exports.default=u;
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as se, ref as he, reactive as Se, resolveComponent as it, createElementBlock as ce, openBlock as le, createVNode as z, withCtx as H, createElementVNode as _, createTextVNode as gt, toDisplayString as Re, nextTick as Ae, Fragment as Ie, renderSlot as Le } from "vue";
2
- import { R as Be, af as ke, k as pe, n as R, N as V } from "./index-t-T1ZMSZ.js";
2
+ import { R as Be, af as ke, k as pe, n as R, N as V } from "./index-SijcElo_.js";
3
3
  import { m as Wt } from "./typescript-BpuhIBuJ.js";
4
4
  import { _ as Pe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
5
  function He(a) {
@@ -1,4 +1,4 @@
1
- "use strict";const u=require("vue"),x=require("./index-Cc6csIgf.cjs"),Ht=require("./typescript-PERVJsDy.cjs"),xe=require("./_plugin-vue_export-helper-BHFhmbuH.cjs");function ie(a){return a==null}const De="ElUpload";class Ee extends Error{constructor(t,i,e,o){super(t),this.name="UploadAjaxError",this.status=i,this.method=e,this.url=o}}function Xt(a,t,i){let e;return i.response?e=`${i.response.error||i.response}`:i.responseText?e=`${i.responseText}`:e=`fail to ${t.method} ${a} ${i.status}`,new Ee(e,i.status,t.method,a)}function Ce(a){const t=a.responseText||a.response;if(!t)return t;try{return JSON.parse(t)}catch{return t}}const Me=a=>{typeof XMLHttpRequest>"u"&&x.throwError(De,"XMLHttpRequest is undefined");const t=new XMLHttpRequest,i=a.action;t.upload&&t.upload.addEventListener("progress",r=>{const n=r;n.percent=r.total>0?r.loaded/r.total*100:0,a.onProgress(n)});const e=new FormData;if(a.data)for(const[r,n]of Object.entries(a.data))x.isArray$1(n)&&n.length?e.append(r,...n):e.append(r,n);e.append(a.filename,a.file,a.file.name),t.addEventListener("error",()=>{a.onError(Xt(i,a,t))}),t.addEventListener("load",()=>{if(t.status<200||t.status>=300)return a.onError(Xt(i,a,t));a.onSuccess(Ce(t))}),t.open(a.method,i,!0),a.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);const o=a.headers||{};if(o instanceof Headers)o.forEach((r,n)=>t.setRequestHeader(n,r));else for(const[r,n]of Object.entries(o))ie(n)||t.setRequestHeader(r,String(n));return t.send(e),t},Te=["text","picture","picture-card"];let Ne=1;const Oe=()=>Date.now()+Ne++,_e=x.buildProps({action:{type:String,default:"#"},headers:{type:x.definePropType(Object)},method:{type:String,default:"post"},data:{type:x.definePropType([Object,Function,Promise]),default:()=>Ht.mutable({})},multiple:Boolean,name:{type:String,default:"file"},drag:Boolean,withCredentials:Boolean,showFileList:{type:Boolean,default:!0},accept:{type:String,default:""},fileList:{type:x.definePropType(Array),default:()=>Ht.mutable([])},autoUpload:{type:Boolean,default:!0},listType:{type:String,values:Te,default:"text"},httpRequest:{type:x.definePropType(Function),default:Me},disabled:Boolean,limit:Number});x.buildProps({..._e,beforeUpload:{type:x.definePropType(Function),default:x.NOOP},beforeRemove:{type:x.definePropType(Function)},onRemove:{type:x.definePropType(Function),default:x.NOOP},onChange:{type:x.definePropType(Function),default:x.NOOP},onPreview:{type:x.definePropType(Function),default:x.NOOP},onSuccess:{type:x.definePropType(Function),default:x.NOOP},onProgress:{type:x.definePropType(Function),default:x.NOOP},onError:{type:x.definePropType(Function),default:x.NOOP},onExceed:{type:x.definePropType(Function),default:x.NOOP},crossorigin:{type:x.definePropType(String)}});/*!
1
+ "use strict";const u=require("vue"),x=require("./index-CanLcekr.cjs"),Ht=require("./typescript-PERVJsDy.cjs"),xe=require("./_plugin-vue_export-helper-BHFhmbuH.cjs");function ie(a){return a==null}const De="ElUpload";class Ee extends Error{constructor(t,i,e,o){super(t),this.name="UploadAjaxError",this.status=i,this.method=e,this.url=o}}function Xt(a,t,i){let e;return i.response?e=`${i.response.error||i.response}`:i.responseText?e=`${i.responseText}`:e=`fail to ${t.method} ${a} ${i.status}`,new Ee(e,i.status,t.method,a)}function Ce(a){const t=a.responseText||a.response;if(!t)return t;try{return JSON.parse(t)}catch{return t}}const Me=a=>{typeof XMLHttpRequest>"u"&&x.throwError(De,"XMLHttpRequest is undefined");const t=new XMLHttpRequest,i=a.action;t.upload&&t.upload.addEventListener("progress",r=>{const n=r;n.percent=r.total>0?r.loaded/r.total*100:0,a.onProgress(n)});const e=new FormData;if(a.data)for(const[r,n]of Object.entries(a.data))x.isArray$1(n)&&n.length?e.append(r,...n):e.append(r,n);e.append(a.filename,a.file,a.file.name),t.addEventListener("error",()=>{a.onError(Xt(i,a,t))}),t.addEventListener("load",()=>{if(t.status<200||t.status>=300)return a.onError(Xt(i,a,t));a.onSuccess(Ce(t))}),t.open(a.method,i,!0),a.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);const o=a.headers||{};if(o instanceof Headers)o.forEach((r,n)=>t.setRequestHeader(n,r));else for(const[r,n]of Object.entries(o))ie(n)||t.setRequestHeader(r,String(n));return t.send(e),t},Te=["text","picture","picture-card"];let Ne=1;const Oe=()=>Date.now()+Ne++,_e=x.buildProps({action:{type:String,default:"#"},headers:{type:x.definePropType(Object)},method:{type:String,default:"post"},data:{type:x.definePropType([Object,Function,Promise]),default:()=>Ht.mutable({})},multiple:Boolean,name:{type:String,default:"file"},drag:Boolean,withCredentials:Boolean,showFileList:{type:Boolean,default:!0},accept:{type:String,default:""},fileList:{type:x.definePropType(Array),default:()=>Ht.mutable([])},autoUpload:{type:Boolean,default:!0},listType:{type:String,values:Te,default:"text"},httpRequest:{type:x.definePropType(Function),default:Me},disabled:Boolean,limit:Number});x.buildProps({..._e,beforeUpload:{type:x.definePropType(Function),default:x.NOOP},beforeRemove:{type:x.definePropType(Function)},onRemove:{type:x.definePropType(Function),default:x.NOOP},onChange:{type:x.definePropType(Function),default:x.NOOP},onPreview:{type:x.definePropType(Function),default:x.NOOP},onSuccess:{type:x.definePropType(Function),default:x.NOOP},onProgress:{type:x.definePropType(Function),default:x.NOOP},onError:{type:x.definePropType(Function),default:x.NOOP},onExceed:{type:x.definePropType(Function),default:x.NOOP},crossorigin:{type:x.definePropType(String)}});/*!
2
2
  * Cropper.js v1.6.2
3
3
  * https://fengyuanchen.github.io/cropperjs
4
4
  *