ss-component-new 1.1.183 → 1.1.185

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 (71) hide show
  1. package/dist/{array-yS93GpFh.cjs → array-Bo3p2itu.cjs} +1 -1
  2. package/dist/{array-CKFeRuXx.js → array-CTMBVA4w.js} +9 -9
  3. package/dist/{cloneDeep-ptqcNoLQ.js → cloneDeep-BmTK4FEu.js} +1 -1
  4. package/dist/{cloneDeep-wWT7F5V9.cjs → cloneDeep-gdyyfw9f.cjs} +1 -1
  5. package/dist/{formToTable-D8p_7BL5.cjs → formToTable-9jLakigk.cjs} +1 -1
  6. package/dist/{formToTable-kzbUTMeG.js → formToTable-oMNwkiWt.js} +1 -1
  7. package/dist/{index-ZFCchT5E.js → index--V7oWPMc.js} +6 -6
  8. package/dist/{index-DZbaNTdt.js → index-6rLImJnk.js} +7 -7
  9. package/dist/{index-Zqbph7id.cjs → index-B4VSd4FO.cjs} +1 -1
  10. package/dist/{index-CRRxsIoM.js → index-B51X7O6x.js} +1 -1
  11. package/dist/{index-32zMKTCS.js → index-B6If5wRP.js} +1 -1
  12. package/dist/{index-BcmfEVff.js → index-BEl2M4PP.js} +1 -1
  13. package/dist/{index-DZVCmcCJ.cjs → index-BHmQ-EAF.cjs} +1 -1
  14. package/dist/{index-_xD-UozG.js → index-BIL2-5d5.js} +5 -5
  15. package/dist/{index-Cvw7aXmX.js → index-BLCmE0gH.js} +1 -1
  16. package/dist/{index-CMLwNzie.cjs → index-BRY3GVIU.cjs} +1 -1
  17. package/dist/{index-DjHji-RQ.cjs → index-BW3rUIA3.cjs} +1 -1
  18. package/dist/{index-sTBMcpga.js → index-BXtYUiLa.js} +4 -4
  19. package/dist/{index-DxVrxHU9.cjs → index-BvmHLZq4.cjs} +1 -1
  20. package/dist/{index-BuHfHCU0.js → index-BxKY0INk.js} +83 -80
  21. package/dist/{index-CYFbyJP1.cjs → index-CWUIx9UX.cjs} +1 -1
  22. package/dist/{index-Cj9MeB6d.js → index-CiBIzvxQ.js} +6 -6
  23. package/dist/{index-Bl-0RurV.js → index-Cii3X2D7.js} +7 -7
  24. package/dist/{index-BHNpXM7v.cjs → index-CsgtAFqn.cjs} +1 -1
  25. package/dist/{index-CxuWwQFp.js → index-CtsdHUOE.js} +4 -4
  26. package/dist/{index-Bi5QL47F.cjs → index-D-r3mc6h.cjs} +1 -1
  27. package/dist/{index-xbVcs94X.cjs → index-D1ICyLb8.cjs} +1 -1
  28. package/dist/{index-CMlB-TxD.js → index-D9kdeth5.js} +7 -7
  29. package/dist/{index-ubJq0geI.cjs → index-DNtWZXYf.cjs} +1 -1
  30. package/dist/{index-DSFOuo8T.cjs → index-DZ4OPEoP.cjs} +1 -1
  31. package/dist/{index-BTqzaKZG.cjs → index-Dat5KfVY.cjs} +15 -15
  32. package/dist/{index-fYUwhoC0.js → index-DfbsqJIq.js} +7 -7
  33. package/dist/{index-CWXiZ_39.cjs → index-DqaJEmiB.cjs} +1 -1
  34. package/dist/index-Dtd6S7I9.cjs +1 -0
  35. package/dist/{index-DXF8TgyC.cjs → index-DuwbY0QO.cjs} +1 -1
  36. package/dist/{index-Ce8y7b6N.cjs → index-DyEqiHy2.cjs} +1 -1
  37. package/dist/{index-DtcZSXc9.js → index-DzMB2hvj.js} +1 -1
  38. package/dist/{index-uUIiw9fx.cjs → index-GqsIl7hf.cjs} +1 -1
  39. package/dist/{index-5gIyT35D.cjs → index-VmqxQPRp.cjs} +1 -1
  40. package/dist/{index-vDxkLZCX.cjs → index-bC8ZQAKp.cjs} +1 -1
  41. package/dist/{index-Dm2-njPX.js → index-evEttDGY.js} +1 -1
  42. package/dist/{index-B1RwU1Yy.js → index-gKxSxGyb.js} +7 -7
  43. package/dist/{index-CiwAmPI1.cjs → index-hrnwsq1g.cjs} +1 -1
  44. package/dist/{index-B2reOYdD.js → index-iL5QqqHE.js} +6 -6
  45. package/dist/{index-Cv5UrSOt.js → index-orWfMHps.js} +6 -6
  46. package/dist/{index-pgg0WYJD.js → index-t9jjDy7J.js} +480 -480
  47. package/dist/{index.vue_vue_type_script_setup_true_lang-B94GQi7O.cjs → index.vue_vue_type_script_setup_true_lang-B3tRQPw2.cjs} +1 -1
  48. package/dist/{index.vue_vue_type_script_setup_true_lang-CAm1lczB.js → index.vue_vue_type_script_setup_true_lang-Ov8SuBXY.js} +6 -6
  49. package/dist/{index.vue_vue_type_style_index_0_scoped_baf99455_lang-DypM_Bv9.js → index.vue_vue_type_style_index_0_scoped_baf99455_lang-B8gUfst7.js} +6 -6
  50. package/dist/{index.vue_vue_type_style_index_0_scoped_baf99455_lang-FcIBePX9.cjs → index.vue_vue_type_style_index_0_scoped_baf99455_lang-CsH63ZiQ.cjs} +1 -1
  51. package/dist/{index.vue_vue_type_style_index_0_scoped_bbb8ace9_lang-Fr0sgpOo.js → index.vue_vue_type_style_index_0_scoped_bbb8ace9_lang-BMtvW6OD.js} +6 -6
  52. package/dist/{index.vue_vue_type_style_index_0_scoped_bbb8ace9_lang-DnCr2hHT.cjs → index.vue_vue_type_style_index_0_scoped_bbb8ace9_lang-DeM2yeKn.cjs} +1 -1
  53. package/dist/{login-BZA9GhM1.js → login-BPlaS8oU.js} +3 -3
  54. package/dist/{login-bbTyKyTk.cjs → login-DSnvzDcT.cjs} +1 -1
  55. package/dist/{main-b_H3WxtI.cjs → main-DFONrwPN.cjs} +1 -1
  56. package/dist/{main-DQaIGKLX.js → main-DNhq7sqn.js} +6 -6
  57. package/dist/{menu-WPQ8JcMg.js → menu-CmjIVfwC.js} +1 -1
  58. package/dist/{menu-IE9q9ekO.cjs → menu-Dgk7naNE.cjs} +1 -1
  59. package/dist/modelComp-De5bf7vK.js +26 -0
  60. package/dist/modelComp-DgySA7lh.cjs +1 -0
  61. package/dist/{request-r_sL_ASa.cjs → request-BCuBMd6Z.cjs} +1 -1
  62. package/dist/{request-MJiCtaDl.js → request-BaXl3oQ9.js} +1 -1
  63. package/dist/ss-component.cjs +1 -1
  64. package/dist/ss-component.css +1 -1
  65. package/dist/ss-component.js +7 -7
  66. package/dist/ss-component2.cjs +1 -1
  67. package/dist/ss-component2.js +1 -1
  68. package/package.json +1 -1
  69. package/dist/index-xA6oBKw1.cjs +0 -1
  70. package/dist/modelComp-B54FcUDU.cjs +0 -1
  71. package/dist/modelComp-L3gGUSiO.js +0 -22
@@ -1,18 +1,18 @@
1
- import { ref as C, onMounted as H, watch as T, createElementBlock as f, openBlock as d, Fragment as Q, renderList as X, createElementVNode as D, createCommentVNode as b, toDisplayString as K, resolveComponent as O, createVNode as I, withCtx as U, createBlock as P, unref as k, resolveDynamicComponent as ae } from "vue";
2
- import { m as te, a as se, b as ne } from "./index-Cj9MeB6d.js";
3
- import re from "./index-CRRxsIoM.js";
4
- import { p as N } from "./request-MJiCtaDl.js";
5
- import { u as Y } from "./modelComp-L3gGUSiO.js";
6
- import { u as Z, s as M } from "./menu-WPQ8JcMg.js";
7
- import { i as le, e as oe, b as G, c as ie, g as ue, a as de } from "./array-CKFeRuXx.js";
8
- import { u as ce } from "./formToTable-kzbUTMeG.js";
9
- import { s as me } from "./index.vue_vue_type_style_index_0_scoped_baf99455_lang-DypM_Bv9.js";
1
+ import { ref as C, onMounted as H, watch as T, createElementBlock as f, openBlock as c, Fragment as Q, renderList as X, createElementVNode as p, createCommentVNode as b, toDisplayString as K, resolveComponent as O, createVNode as I, withCtx as U, createBlock as P, unref as k, resolveDynamicComponent as ae } from "vue";
2
+ import { m as te, a as se, b as ne } from "./index-CiBIzvxQ.js";
3
+ import re from "./index-B51X7O6x.js";
4
+ import { p as j } from "./request-BaXl3oQ9.js";
5
+ import { u as Y } from "./modelComp-De5bf7vK.js";
6
+ import { u as Z, s as M } from "./menu-CmjIVfwC.js";
7
+ import { i as le, e as oe, b as G, c as ie, g as ue, a as de } from "./array-CTMBVA4w.js";
8
+ import { u as ce } from "./formToTable-oMNwkiWt.js";
9
+ import { s as me } from "./index.vue_vue_type_style_index_0_scoped_baf99455_lang-B8gUfst7.js";
10
10
  import { _ as W } from "./_plugin-vue_export-helper-CHgC5LLL.js";
11
- import { u as ge, g as J, f as ye, d as ve, a as fe, b as he } from "./index-pgg0WYJD.js";
12
- import { v as Ce } from "./index-sTBMcpga.js";
13
- import { E as _e } from "./index-CMlB-TxD.js";
14
- import { c as L } from "./cloneDeep-ptqcNoLQ.js";
15
- const we = { class: "bread-content" }, ke = ["onClick"], Se = { key: 0 }, pe = {
11
+ import { u as ge, g as J, f as ye, d as ve, a as fe, b as he } from "./index-t9jjDy7J.js";
12
+ import { v as Ce } from "./index-BXtYUiLa.js";
13
+ import { E as _e } from "./index-D9kdeth5.js";
14
+ import { c as L } from "./cloneDeep-BmTK4FEu.js";
15
+ const we = { class: "bread-content" }, ke = ["onClick"], Se = { key: 0 }, De = {
16
16
  __name: "index",
17
17
  props: {
18
18
  breadArray: {
@@ -22,33 +22,33 @@ const we = { class: "bread-content" }, ke = ["onClick"], Se = { key: 0 }, pe = {
22
22
  },
23
23
  emits: ["click"],
24
24
  setup($, { emit: E }) {
25
- const a = $, c = C([]), S = E;
25
+ const a = $, u = C([]), S = E;
26
26
  H(() => {
27
- c.value = a == null ? void 0 : a.breadArray;
27
+ u.value = a == null ? void 0 : a.breadArray;
28
28
  }), T(
29
29
  () => a == null ? void 0 : a.breadArray,
30
30
  () => {
31
- c.value = a == null ? void 0 : a.breadArray;
31
+ u.value = a == null ? void 0 : a.breadArray;
32
32
  },
33
33
  { deep: !0, immediate: !0 }
34
34
  );
35
35
  const w = (x) => {
36
36
  S("click", x);
37
37
  };
38
- return (x, y) => (d(), f("div", we, [
39
- (d(!0), f(Q, null, X(c.value, (_, j) => (d(), f("div", {
40
- key: j,
38
+ return (x, y) => (c(), f("div", we, [
39
+ (c(!0), f(Q, null, X(u.value, (_, N) => (c(), f("div", {
40
+ key: N,
41
41
  class: "bread-item"
42
42
  }, [
43
- D("div", {
43
+ p("div", {
44
44
  class: "bread-title",
45
45
  onClick: (q) => w(_)
46
46
  }, K(_.value), 9, ke),
47
- j !== c.value.length - 1 && Array.isArray(c.value) ? (d(), f("div", Se, K("/"))) : b("", !0)
47
+ N !== u.value.length - 1 && Array.isArray(u.value) ? (c(), f("div", Se, K("/"))) : b("", !0)
48
48
  ]))), 128))
49
49
  ]));
50
50
  }
51
- }, De = /* @__PURE__ */ W(pe, [["__scopeId", "data-v-ebb4c8e5"]]), Ie = { class: "system-wrap" }, xe = {
51
+ }, pe = /* @__PURE__ */ W(De, [["__scopeId", "data-v-ebb4c8e5"]]), Ie = { class: "system-wrap" }, xe = {
52
52
  key: 0,
53
53
  class: "show-content"
54
54
  }, Ae = {
@@ -59,7 +59,10 @@ const we = { class: "bread-content" }, ke = ["onClick"], Se = { key: 0 }, pe = {
59
59
  props: {
60
60
  content: String,
61
61
  jsonContents: Array,
62
- nodeDev: String
62
+ nodeDev: {
63
+ type: String,
64
+ default: ""
65
+ }
63
66
  },
64
67
  emits: ["change", "contentChange"],
65
68
  setup($, { emit: E }) {
@@ -69,16 +72,16 @@ const we = { class: "bread-content" }, ke = ["onClick"], Se = { key: 0 }, pe = {
69
72
  type: "success",
70
73
  message: "欢迎使用系统",
71
74
  duration: 1e3
72
- }), console.log(232, a == null ? void 0 : a.nodeDev);
75
+ }), (a == null ? void 0 : a.nodeDev) === "development" ? u.setNodeDev("") : u.setNodeDev(a == null ? void 0 : a.nodeDev);
73
76
  });
74
- const a = $, c = Y(N);
75
- ce(N);
77
+ const a = $, u = Y(j);
78
+ ce(j);
76
79
  const S = C(!0), w = Z();
77
80
  C(!0);
78
- const { itemData: x } = M(c), y = ge(N), { activeMenuPath: _, activeMenuOpenPaths: j, menuTriggerType: q, menus: z } = M(w), { selectIndex: ee, selectTitle: m } = M(y);
81
+ const { itemData: x } = M(u), y = ge(j), { activeMenuPath: _, activeMenuOpenPaths: N, menuTriggerType: q, menus: z } = M(w), { selectIndex: ee, selectTitle: m } = M(y);
79
82
  C([]);
80
83
  const g = C([]), A = async (e, i = "data") => {
81
- var t, s, o, n, u, l;
84
+ var t, s, o, n, d, l;
82
85
  if ((e == null ? void 0 : e.type) === "delete")
83
86
  await ve((t = e == null ? void 0 : e.singleContent) == null ? void 0 : t.id);
84
87
  else if ((e == null ? void 0 : e.buttonName) === "新增") {
@@ -88,14 +91,14 @@ const we = { class: "bread-content" }, ke = ["onClick"], Se = { key: 0 }, pe = {
88
91
  await fe(i, _.value, e == null ? void 0 : e.index, sessionStorage.getItem("systemKey"), Object.values(h));
89
92
  } else if ((e == null ? void 0 : e.buttonName) === "编辑") {
90
93
  let h = {}, r = (s = e == null ? void 0 : e.singleContent) == null ? void 0 : s.id;
91
- for (let p in e == null ? void 0 : e.singleContent)
92
- p !== "id" && p !== "index" && (h[p] = e == null ? void 0 : e.singleContent[p]);
94
+ for (let D in e == null ? void 0 : e.singleContent)
95
+ D !== "id" && D !== "index" && (h[D] = e == null ? void 0 : e.singleContent[D]);
93
96
  await he(i, _.value, e == null ? void 0 : e.index, r, sessionStorage.getItem("systemKey"), Object.values(h));
94
97
  }
95
- let v = (n = (o = m.value) == null ? void 0 : o[m.value.length - 1]) != null && n.key ? parseInt((l = (u = m.value) == null ? void 0 : u[m.value.length - 1]) == null ? void 0 : l.key) : "";
96
- g.value = await J(_.value, sessionStorage.getItem("systemKey"), v), c.setItemData(g.value);
98
+ let v = (n = (o = m.value) == null ? void 0 : o[m.value.length - 1]) != null && n.key ? parseInt((l = (d = m.value) == null ? void 0 : d[m.value.length - 1]) == null ? void 0 : l.key) : "";
99
+ g.value = await J(_.value, sessionStorage.getItem("systemKey"), v), u.setItemData(g.value);
97
100
  }, F = (e) => {
98
- g.value = e, c.setItemData(g.value);
101
+ g.value = e, u.setItemData(g.value);
99
102
  }, B = async (e) => {
100
103
  var v, t;
101
104
  await ye(e == null ? void 0 : e.index, {
@@ -104,7 +107,7 @@ const we = { class: "bread-content" }, ke = ["onClick"], Se = { key: 0 }, pe = {
104
107
  name: ""
105
108
  });
106
109
  const i = (t = L(g.value)) == null ? void 0 : t.map((s) => ((s == null ? void 0 : s.id) === (e == null ? void 0 : e.index) && (s.compData = e == null ? void 0 : e.contents), s));
107
- c.setItemData(i);
110
+ u.setItemData(i);
108
111
  }, V = async (e) => {
109
112
  var i;
110
113
  if ((e == null ? void 0 : e.key) === "main" || m.value.length === 1)
@@ -117,24 +120,24 @@ const we = { class: "bread-content" }, ke = ["onClick"], Se = { key: 0 }, pe = {
117
120
  (s == null ? void 0 : s.key) === (e == null ? void 0 : e.key) && (t = o), (t === -1 || t >= o) && v.push(s);
118
121
  }), y.setSelectTitle(v), y.setSelectMenu(e == null ? void 0 : e.key);
119
122
  }
120
- c.setItemData(g.value);
123
+ u.setItemData(g.value);
121
124
  };
122
125
  T(() => _.value, async (e) => {
123
126
  if (e) {
124
127
  Ce();
125
128
  const i = await J(e, sessionStorage.getItem("systemKey"));
126
- c.setExtraContents([]);
129
+ u.setExtraContents([]);
127
130
  const v = sessionStorage.getItem("authority"), t = JSON.parse(v || "");
128
131
  if (Array.isArray(t)) {
129
132
  const s = Array.isArray(t) && (t == null ? void 0 : t.filter((n) => n == null ? void 0 : n.includes(e))), o = s == null ? void 0 : s.map((n) => {
130
- var u;
131
- return ((u = n == null ? void 0 : n.split("/")) == null ? void 0 : u.pop()) || "";
133
+ var d;
134
+ return ((d = n == null ? void 0 : n.split("/")) == null ? void 0 : d.pop()) || "";
132
135
  });
133
136
  g.value = i == null ? void 0 : i.map((n) => {
134
- var u;
137
+ var d;
135
138
  return {
136
139
  ...n,
137
- compData: (u = n == null ? void 0 : n.compData) == null ? void 0 : u.map((l) => {
140
+ compData: (d = n == null ? void 0 : n.compData) == null ? void 0 : d.map((l) => {
138
141
  var h;
139
142
  return (l == null ? void 0 : l.key) === "rowButton" || (l == null ? void 0 : l.key) === "extraButton" ? {
140
143
  ...l,
@@ -144,7 +147,7 @@ const we = { class: "bread-content" }, ke = ["onClick"], Se = { key: 0 }, pe = {
144
147
  };
145
148
  });
146
149
  } else typeof t == "string" && (t == null ? void 0 : t.toUpperCase()) === "SUPERADMIN" ? g.value = i : g.value = [];
147
- c.setItemData(g.value), y.setSelectTitle([]), y.setSelectIndex(""), y.setSelectMenu("");
150
+ u.setItemData(g.value), y.setSelectTitle([]), y.setSelectIndex(""), y.setSelectMenu("");
148
151
  }
149
152
  }, {
150
153
  immediate: !0
@@ -153,7 +156,7 @@ const we = { class: "bread-content" }, ke = ["onClick"], Se = { key: 0 }, pe = {
153
156
  () => {
154
157
  var v, t, s, o;
155
158
  if (((v = a == null ? void 0 : a.jsonContents) == null ? void 0 : v.length) > 0) {
156
- c.setOriginalData(a == null ? void 0 : a.jsonContents);
159
+ u.setOriginalData(a == null ? void 0 : a.jsonContents);
157
160
  return;
158
161
  }
159
162
  if (!(a != null && a.content) || ((t = a == null ? void 0 : a.content) == null ? void 0 : t.length) === 0) return;
@@ -161,14 +164,14 @@ const we = { class: "bread-content" }, ke = ["onClick"], Se = { key: 0 }, pe = {
161
164
  let e = [], i = [];
162
165
  y.setSelectTitle([]), y.setSelectIndex(""), y.setSelectMenu(""), (o = (s = a == null ? void 0 : a.content) == null ? void 0 : s.filter((n) => n !== "")) == null || o.forEach((n) => {
163
166
  le(n) ? i.push(oe(n)) : G(n) ? i.push(G(n)) : i.push(ie(n));
164
- }), e = i == null ? void 0 : i[0], me(e), c.setOriginalData(e);
167
+ }), e = i == null ? void 0 : i[0], me(e), u.setOriginalData(e);
165
168
  },
166
169
  { deep: !0, immediate: !0 }
167
170
  );
168
171
  const R = (e) => ue(e);
169
172
  return (e, i) => {
170
173
  const v = O("el-aside"), t = O("router-view"), s = O("el-main"), o = O("el-container");
171
- return d(), f("div", Ie, [
174
+ return c(), f("div", Ie, [
172
175
  I(o, null, {
173
176
  default: U(() => [
174
177
  I(v, { width: "250px" }, {
@@ -179,34 +182,34 @@ const we = { class: "bread-content" }, ke = ["onClick"], Se = { key: 0 }, pe = {
179
182
  }),
180
183
  I(s, null, {
181
184
  default: U(() => {
182
- var n, u, l, h;
185
+ var n, d, l, h;
183
186
  return [
184
- e.$route.path === "/" && ((n = g.value) == null ? void 0 : n.length) > 0 ? (d(), f("div", xe, [
185
- Array.isArray(k(m)) && ((u = k(m)) == null ? void 0 : u.length) > 1 || Array.isArray(k(m)) && !((l = k(m)) != null && l.find((r) => (r == null ? void 0 : r.key) === "main")) && ((h = k(m)) == null ? void 0 : h.length) === 1 || !Array.isArray(k(m)) && k(m).key !== "main" ? (d(), f("div", Ae, [
186
- (d(), P(De, {
187
+ e.$route.path === "/" && ((n = g.value) == null ? void 0 : n.length) > 0 ? (c(), f("div", xe, [
188
+ Array.isArray(k(m)) && ((d = k(m)) == null ? void 0 : d.length) > 1 || Array.isArray(k(m)) && !((l = k(m)) != null && l.find((r) => (r == null ? void 0 : r.key) === "main")) && ((h = k(m)) == null ? void 0 : h.length) === 1 || !Array.isArray(k(m)) && k(m).key !== "main" ? (c(), f("div", Ae, [
189
+ (c(), P(pe, {
187
190
  key: k(m),
188
191
  breadArray: k(m),
189
192
  onClick: V
190
193
  }, null, 8, ["breadArray"]))
191
194
  ])) : b("", !0),
192
- D("div", null, [
193
- (d(!0), f(Q, null, X(g.value, (r, p) => (d(), f("div", {
195
+ p("div", null, [
196
+ (c(!0), f(Q, null, X(g.value, (r, D) => (c(), f("div", {
194
197
  class: "item-content",
195
- key: p
198
+ key: D
196
199
  }, [
197
- D("div", be, K(r.name), 1),
198
- (d(), P(ae(R(r.comp)), {
200
+ p("div", be, K(r.name), 1),
201
+ (c(), P(ae(R(r.comp)), {
199
202
  itemData: r == null ? void 0 : r.compData,
200
203
  childItemData: r == null ? void 0 : r.itemChildData,
201
- key: (r == null ? void 0 : r.id) ?? p,
204
+ key: (r == null ? void 0 : r.id) ?? D,
202
205
  onChange: A,
203
- index: (r == null ? void 0 : r.id) ?? p,
206
+ index: (r == null ? void 0 : r.id) ?? D,
204
207
  onContentChange: B,
205
208
  onPageChange: F
206
209
  }, null, 40, ["itemData", "childItemData", "index"]))
207
210
  ]))), 128))
208
211
  ])
209
- ])) : (d(), P(t, { key: 1 }))
212
+ ])) : (c(), P(t, { key: 1 }))
210
213
  ];
211
214
  }),
212
215
  _: 1
@@ -217,7 +220,7 @@ const we = { class: "bread-content" }, ke = ["onClick"], Se = { key: 0 }, pe = {
217
220
  ]);
218
221
  };
219
222
  }
220
- }, $e = /* @__PURE__ */ W(Te, [["__scopeId", "data-v-6e015eaa"]]), je = { class: "add-model-content" }, Ne = {
223
+ }, $e = /* @__PURE__ */ W(Te, [["__scopeId", "data-v-2e396a95"]]), Ne = { class: "add-model-content" }, je = {
221
224
  key: 0,
222
225
  class: "model-import-data"
223
226
  }, Me = { class: "import-button" }, Ee = { key: 0 }, Fe = {
@@ -248,15 +251,15 @@ const we = { class: "bread-content" }, ke = ["onClick"], Se = { key: 0 }, pe = {
248
251
  },
249
252
  emits: ["change", "contentChange"],
250
253
  setup($, { emit: E }) {
251
- const a = $, c = E, S = C([]), w = C([]), x = C([]), y = C(0), _ = Y(N), j = Z(N), { itemData: q, originalData: z } = M(_), { activeMenuPath: ee } = M(j), m = C(null), g = C(0), A = C([]), F = C(""), B = C(0), V = (t) => {
252
- c("contentChange", t);
254
+ const a = $, u = E, S = C([]), w = C([]), x = C([]), y = C(0), _ = Y(j), N = Z(j), { itemData: q, originalData: z } = M(_), { activeMenuPath: ee } = M(N), m = C(null), g = C(0), A = C([]), F = C(""), B = C(0), V = (t) => {
255
+ u("contentChange", t);
253
256
  }, R = (t) => {
254
257
  var o;
255
258
  const s = (o = L(t == null ? void 0 : t.wholeValue)) == null ? void 0 : o.map((n) => {
256
- var u;
257
- return (n == null ? void 0 : n.comp) === "Form" && (n.compData = (u = n.compData) == null ? void 0 : u.map((l) => ((l == null ? void 0 : l.key) === "formContent" && (l.contents = de(l == null ? void 0 : l.contents)), l))), n;
259
+ var d;
260
+ return (n == null ? void 0 : n.comp) === "Form" && (n.compData = (d = n.compData) == null ? void 0 : d.map((l) => ((l == null ? void 0 : l.key) === "formContent" && (l.contents = de(l == null ? void 0 : l.contents)), l))), n;
258
261
  });
259
- c("change", {
262
+ u("change", {
260
263
  originalContents: z.value,
261
264
  currentContents: t == null ? void 0 : t.wholeValue,
262
265
  editContent: t == null ? void 0 : t.editValue,
@@ -276,7 +279,7 @@ const we = { class: "bread-content" }, ke = ["onClick"], Se = { key: 0 }, pe = {
276
279
  const s = t.target.files;
277
280
  if (!s) return;
278
281
  new FileReader(), S.value = [], w.value = [], B.value = s.length;
279
- const o = Array.from(s).map(async (n) => await new Promise((u) => {
282
+ const o = Array.from(s).map(async (n) => await new Promise((d) => {
280
283
  const l = new FileReader();
281
284
  l.onload = (h) => {
282
285
  try {
@@ -285,7 +288,7 @@ const we = { class: "bread-content" }, ke = ["onClick"], Se = { key: 0 }, pe = {
285
288
  console.error("解析失败:", r);
286
289
  return;
287
290
  }
288
- }, l.onerror = () => u(`读取 ${n.name} 失败`), l.readAsText(n);
291
+ }, l.onerror = () => d(`读取 ${n.name} 失败`), l.readAsText(n);
289
292
  }));
290
293
  await Promise.all(o);
291
294
  };
@@ -310,9 +313,9 @@ const we = { class: "bread-content" }, ke = ["onClick"], Se = { key: 0 }, pe = {
310
313
  return JSON.parse(s);
311
314
  } catch (o) {
312
315
  try {
313
- const u = new Function(`return ${s}`)();
314
- if (Array.isArray(u) || typeof u == "object")
315
- return u;
316
+ const d = new Function(`return ${s}`)();
317
+ if (Array.isArray(d) || typeof d == "object")
318
+ return d;
316
319
  throw new Error(`解析结果不是有效的数组或对象: ${o}`);
317
320
  } catch (n) {
318
321
  throw new Error(`无法解析JSON: ${n.message}`);
@@ -321,10 +324,10 @@ const we = { class: "bread-content" }, ke = ["onClick"], Se = { key: 0 }, pe = {
321
324
  };
322
325
  return (t, s) => {
323
326
  var o;
324
- return d(), f("div", je, [
325
- ((o = a == null ? void 0 : a.jsonContents) == null ? void 0 : o.length) === 0 && (a != null && a.showButton) ? (d(), f("div", Ne, [
326
- D("div", Me, [
327
- D("input", {
327
+ return c(), f("div", Ne, [
328
+ ((o = a == null ? void 0 : a.jsonContents) == null ? void 0 : o.length) === 0 && (a != null && a.showButton) ? (c(), f("div", je, [
329
+ p("div", Me, [
330
+ p("input", {
328
331
  type: "file",
329
332
  ref_key: "fileInput",
330
333
  ref: m,
@@ -333,29 +336,29 @@ const we = { class: "bread-content" }, ke = ["onClick"], Se = { key: 0 }, pe = {
333
336
  style: { display: "none" },
334
337
  multiple: ""
335
338
  }, null, 544),
336
- D("button", {
339
+ p("button", {
337
340
  onClick: e,
338
341
  class: "import-button-content"
339
342
  }, "导入文件"),
340
- F.value ? (d(), f("span", Ee, K(F.value), 1)) : b("", !0)
343
+ F.value ? (c(), f("span", Ee, K(F.value), 1)) : b("", !0)
341
344
  ])
342
345
  ])) : b("", !0),
343
- (a == null ? void 0 : a.mode) === "edit" ? (d(), f("div", Fe, [
344
- D("div", Be, [
346
+ (a == null ? void 0 : a.mode) === "edit" ? (c(), f("div", Fe, [
347
+ p("div", Be, [
345
348
  I(te)
346
349
  ]),
347
- (d(), f("div", {
350
+ (c(), f("div", {
348
351
  class: "model-show",
349
352
  key: y.value
350
353
  }, [
351
354
  I(se)
352
355
  ])),
353
- D("div", Oe, [
356
+ p("div", Oe, [
354
357
  I(ne)
355
358
  ])
356
359
  ])) : b("", !0),
357
- (a == null ? void 0 : a.mode) === "view" ? (d(), f("div", Je, [
358
- (d(), P($e, {
360
+ (a == null ? void 0 : a.mode) === "view" ? (c(), f("div", Je, [
361
+ (c(), P($e, {
359
362
  content: S.value,
360
363
  onChange: R,
361
364
  jsonContents: x.value,
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("vue"),x=require("./index-vDxkLZCX.cjs"),xe=require("./isNil-x28vo2CT.cjs"),Ht=require("./typescript-PERVJsDy.cjs"),ie=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),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))xe.isNil(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";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("vue"),x=require("./index-bC8ZQAKp.cjs"),xe=require("./isNil-x28vo2CT.cjs"),Ht=require("./typescript-PERVJsDy.cjs"),ie=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),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))xe.isNil(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
  *
@@ -1,11 +1,11 @@
1
1
  import { createElementBlock as r, openBlock as n, Fragment as k, renderList as y, unref as F, createElementVNode as c, createBlock as h, resolveDynamicComponent as $, toDisplayString as C, ref as I, watch as L, resolveComponent as b, createVNode as R, withCtx as g, createCommentVNode as T } from "vue";
2
- import { s as U, g as M } from "./array-CKFeRuXx.js";
3
- import { p as V } from "./request-MJiCtaDl.js";
4
- import { a as j } from "./index-CMlB-TxD.js";
5
- import { u as w } from "./modelComp-L3gGUSiO.js";
6
- import { s as x } from "./menu-WPQ8JcMg.js";
2
+ import { s as U, g as M } from "./array-CTMBVA4w.js";
3
+ import { p as V } from "./request-BaXl3oQ9.js";
4
+ import { a as j } from "./index-D9kdeth5.js";
5
+ import { u as w } from "./modelComp-De5bf7vK.js";
6
+ import { s as x } from "./menu-CmjIVfwC.js";
7
7
  import { _ as N } from "./_plugin-vue_export-helper-CHgC5LLL.js";
8
- import { c as v } from "./cloneDeep-ptqcNoLQ.js";
8
+ import { c as v } from "./cloneDeep-BmTK4FEu.js";
9
9
  const q = { class: "type-select" }, z = ["onClick"], A = { class: "list-icon" }, G = {
10
10
  __name: "index",
11
11
  setup(B) {
@@ -1,14 +1,14 @@
1
1
  import { createElementBlock as z, openBlock as L, createElementVNode as B, renderSlot as k, defineComponent as G, ref as K, resolveComponent as x, createVNode as n, withCtx as i, reactive as T, watch as b, unref as M, toDisplayString as l, createTextVNode as H } from "vue";
2
2
  import { _ as m } from "./_plugin-vue_export-helper-CHgC5LLL.js";
3
- import { u as $, l as AA } from "./index-CMlB-TxD.js";
3
+ import { u as $, l as AA } from "./index-D9kdeth5.js";
4
4
  import { useRouter as EA } from "vue-router";
5
- import { u as IA } from "./login-BZA9GhM1.js";
6
- import { g as h } from "./index-Cvw7aXmX.js";
7
- import { p as gA } from "./request-MJiCtaDl.js";
8
- import { v as CA } from "./index-sTBMcpga.js";
5
+ import { u as IA } from "./login-BPlaS8oU.js";
6
+ import { g as h } from "./index-BLCmE0gH.js";
7
+ import { p as gA } from "./request-BaXl3oQ9.js";
8
+ import { v as CA } from "./index-BXtYUiLa.js";
9
9
  import { d as BA } from "./crypto-BRyGpjGR.js";
10
- import "./index-B2reOYdD.js";
11
- import { E as j } from "./menu-WPQ8JcMg.js";
10
+ import "./index-iL5QqqHE.js";
11
+ import { E as j } from "./menu-CmjIVfwC.js";
12
12
  const QA = {}, iA = { class: "header-wrapper" }, oA = { class: "header-horizontal" }, RA = { class: "header-logo" }, nA = { class: "header-cTitle" }, eA = { class: "header-horizontal" }, cA = { class: "header-eTitle" };
13
13
  function JA(F, r) {
14
14
  return L(), z("div", iA, [
@@ -1 +1 @@
1
- "use strict";const e=require("vue"),C=require("./array-yS93GpFh.cjs"),k=require("./request-r_sL_ASa.cjs"),V=require("./index-vDxkLZCX.cjs"),h=require("./modelComp-B54FcUDU.cjs"),D=require("./menu-IE9q9ekO.cjs"),f=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),d=require("./cloneDeep-wWT7F5V9.cjs"),I={class:"type-select"},N=["onClick"],$={class:"list-icon"},q={__name:"index",setup(B){const s=h.useModelComp(k.pinia),{itemData:n}=D.storeToRefs(s),r=o=>V.ElIcons[o],i=o=>{const u=d.cloneDeep(n.value);u.push({comp:o.comp,name:o.name,compData:[]}),s.setItemData(u)};return(o,u)=>(e.openBlock(),e.createElementBlock("div",I,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(C.slotContent),(a,t)=>(e.openBlock(),e.createElementBlock("div",{class:"type-list",key:t},[e.createElementVNode("div",{class:"list-content",onClick:c=>i(a)},[e.createElementVNode("div",$,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(r(a.icon))))]),e.createElementVNode("div",null,e.toDisplayString(a.name),1)],8,N)]))),128))]))}},w=f._export_sfc(q,[["__scopeId","data-v-fe4aecc8"]]),x={class:"fill-content"},S={class:"operate-content"},F={class:"collapse-title"},L={class:"comp-child"},M={__name:"index",setup(B){const s=h.useModelComp(k.pinia),{itemData:n,originalData:r}=D.storeToRefs(s),i=e.ref([]),o=e.ref([]);e.watch(()=>n.value,()=>{var t;!n.value||((t=n.value)==null?void 0:t.length)===0||(i.value=d.cloneDeep(n.value))},{deep:!0,immediate:!0});const u=t=>C.getComponent(t),a=(t,c,v)=>{if(!t||t.length===0)return;let p=d.cloneDeep(n.value);const l=d.cloneDeep(c);l.compData=t,p=p==null?void 0:p.map((m,_)=>(_===v&&(m=l),m)),s.setItemData(p)};return(t,c)=>{const v=e.resolveComponent("el-collapse-item"),p=e.resolveComponent("el-collapse");return e.openBlock(),e.createElementBlock("div",x,[c[1]||(c[1]=e.createElementVNode("div",{class:"fill-operate"},e.toDisplayString("操作栏"),-1)),e.createElementVNode("div",S,[e.createVNode(p,{modelValue:o.value,"onUpdate:modelValue":c[0]||(c[0]=l=>o.value=l),class:"collapse-content"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value,(l,m)=>(e.openBlock(),e.createBlock(v,{key:m,name:m},{title:e.withCtx(()=>[e.createElementVNode("div",F,e.toDisplayString(l.name),1)]),default:e.withCtx(()=>{var _,g;return[e.createElementVNode("div",L,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(u(l.comp+"Operate")),{itemContents:l==null?void 0:l.compData,originalItemContents:(g=(_=e.unref(r))==null?void 0:_.find((E,y)=>y===m))==null?void 0:g.compData,onChange:E=>a(E,l,m)},null,40,["itemContents","originalItemContents","onChange"]))])]}),_:2},1032,["name"]))),128))]),_:1},8,["modelValue"])])])}}},R=f._export_sfc(M,[["__scopeId","data-v-a216b035"]]),T={key:0,class:"show-content"},b={__name:"index",setup(B){const s=h.useModelComp(k.pinia),{itemData:n}=D.storeToRefs(s),r=e.ref([]);e.watch(()=>n.value,()=>{var o;!n.value||((o=n.value)==null?void 0:o.length)===0||(r.value=d.cloneDeep(n.value))},{deep:!0,immediate:!0});const i=o=>C.getComponent(o);return(o,u)=>{var a;return((a=r.value)==null?void 0:a.length)>0?(e.openBlock(),e.createElementBlock("div",T,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.value,(t,c)=>(e.openBlock(),e.createElementBlock("div",{class:"item-content",key:c},[e.createElementVNode("div",null,e.toDisplayString(t.name),1),(e.openBlock(),e.createBlock(e.resolveDynamicComponent(i(t.comp)),{itemData:t==null?void 0:t.compData,childItemData:t==null?void 0:t.itemChildData,key:c},null,8,["itemData","childItemData"]))]))),128))])):e.createCommentVNode("",!0)}}},H=f._export_sfc(b,[["__scopeId","data-v-79320497"]]);exports.modelFill=R;exports.modelSelect=w;exports.modelShow=H;
1
+ "use strict";const e=require("vue"),C=require("./array-Bo3p2itu.cjs"),k=require("./request-BCuBMd6Z.cjs"),V=require("./index-bC8ZQAKp.cjs"),h=require("./modelComp-DgySA7lh.cjs"),D=require("./menu-Dgk7naNE.cjs"),f=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),d=require("./cloneDeep-gdyyfw9f.cjs"),I={class:"type-select"},N=["onClick"],$={class:"list-icon"},q={__name:"index",setup(B){const s=h.useModelComp(k.pinia),{itemData:n}=D.storeToRefs(s),r=o=>V.ElIcons[o],i=o=>{const u=d.cloneDeep(n.value);u.push({comp:o.comp,name:o.name,compData:[]}),s.setItemData(u)};return(o,u)=>(e.openBlock(),e.createElementBlock("div",I,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(C.slotContent),(a,t)=>(e.openBlock(),e.createElementBlock("div",{class:"type-list",key:t},[e.createElementVNode("div",{class:"list-content",onClick:c=>i(a)},[e.createElementVNode("div",$,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(r(a.icon))))]),e.createElementVNode("div",null,e.toDisplayString(a.name),1)],8,N)]))),128))]))}},w=f._export_sfc(q,[["__scopeId","data-v-fe4aecc8"]]),x={class:"fill-content"},S={class:"operate-content"},F={class:"collapse-title"},L={class:"comp-child"},M={__name:"index",setup(B){const s=h.useModelComp(k.pinia),{itemData:n,originalData:r}=D.storeToRefs(s),i=e.ref([]),o=e.ref([]);e.watch(()=>n.value,()=>{var t;!n.value||((t=n.value)==null?void 0:t.length)===0||(i.value=d.cloneDeep(n.value))},{deep:!0,immediate:!0});const u=t=>C.getComponent(t),a=(t,c,v)=>{if(!t||t.length===0)return;let p=d.cloneDeep(n.value);const l=d.cloneDeep(c);l.compData=t,p=p==null?void 0:p.map((m,_)=>(_===v&&(m=l),m)),s.setItemData(p)};return(t,c)=>{const v=e.resolveComponent("el-collapse-item"),p=e.resolveComponent("el-collapse");return e.openBlock(),e.createElementBlock("div",x,[c[1]||(c[1]=e.createElementVNode("div",{class:"fill-operate"},e.toDisplayString("操作栏"),-1)),e.createElementVNode("div",S,[e.createVNode(p,{modelValue:o.value,"onUpdate:modelValue":c[0]||(c[0]=l=>o.value=l),class:"collapse-content"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value,(l,m)=>(e.openBlock(),e.createBlock(v,{key:m,name:m},{title:e.withCtx(()=>[e.createElementVNode("div",F,e.toDisplayString(l.name),1)]),default:e.withCtx(()=>{var _,g;return[e.createElementVNode("div",L,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(u(l.comp+"Operate")),{itemContents:l==null?void 0:l.compData,originalItemContents:(g=(_=e.unref(r))==null?void 0:_.find((E,y)=>y===m))==null?void 0:g.compData,onChange:E=>a(E,l,m)},null,40,["itemContents","originalItemContents","onChange"]))])]}),_:2},1032,["name"]))),128))]),_:1},8,["modelValue"])])])}}},R=f._export_sfc(M,[["__scopeId","data-v-a216b035"]]),T={key:0,class:"show-content"},b={__name:"index",setup(B){const s=h.useModelComp(k.pinia),{itemData:n}=D.storeToRefs(s),r=e.ref([]);e.watch(()=>n.value,()=>{var o;!n.value||((o=n.value)==null?void 0:o.length)===0||(r.value=d.cloneDeep(n.value))},{deep:!0,immediate:!0});const i=o=>C.getComponent(o);return(o,u)=>{var a;return((a=r.value)==null?void 0:a.length)>0?(e.openBlock(),e.createElementBlock("div",T,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.value,(t,c)=>(e.openBlock(),e.createElementBlock("div",{class:"item-content",key:c},[e.createElementVNode("div",null,e.toDisplayString(t.name),1),(e.openBlock(),e.createBlock(e.resolveDynamicComponent(i(t.comp)),{itemData:t==null?void 0:t.compData,childItemData:t==null?void 0:t.itemChildData,key:c},null,8,["itemData","childItemData"]))]))),128))])):e.createCommentVNode("",!0)}}},H=f._export_sfc(b,[["__scopeId","data-v-79320497"]]);exports.modelFill=R;exports.modelSelect=w;exports.modelShow=H;
@@ -1,8 +1,8 @@
1
1
  import { ref as r, computed as S, reactive as I, nextTick as T, watch as K } from "vue";
2
- import { s as m, E as y, u as M } from "./menu-WPQ8JcMg.js";
3
- import { g as O, c as _, u as j, d as z } from "./index-Cvw7aXmX.js";
4
- import { u as H } from "./login-BZA9GhM1.js";
5
- import { c as w } from "./cloneDeep-ptqcNoLQ.js";
2
+ import { s as m, E as y, u as M } from "./menu-CmjIVfwC.js";
3
+ import { g as O, c as _, u as j, d as z } from "./index-BLCmE0gH.js";
4
+ import { u as H } from "./login-BPlaS8oU.js";
5
+ import { c as w } from "./cloneDeep-BmTK4FEu.js";
6
6
  const L = M(), { activeMenuPath: v } = m(L), x = H(), { structureData: Q } = m(x), U = r([
7
7
  {
8
8
  label: "角色名称",
@@ -1 +1 @@
1
- "use strict";const y=require("./index-DjHji-RQ.cjs"),S=require("./request-r_sL_ASa.cjs"),D=require("./login-bbTyKyTk.cjs"),a=require("./menu-IE9q9ekO.cjs"),q=a.useMenuState(S.pinia),m=D.useLoginState(S.pinia),I=()=>{const d=y.getInsofDataApi({key:{systemKey:sessionStorage.getItem("systemKey"),pageKey:"menu"}}),p=y.getInsofDataApi({key:{systemKey:sessionStorage.getItem("systemKey"),type:"structure"}});Promise.all([d,p]).then(t=>{var r,o,u,n,i,c,g,l;const e=t==null?void 0:t[0],s=t==null?void 0:t[1];if(e.data.code===200){const f=(g=(c=(i=(n=(u=(o=(r=e==null?void 0:e.data)==null?void 0:r.result)==null?void 0:o[0])==null?void 0:u.value)==null?void 0:n.pageData)==null?void 0:i.compData)==null?void 0:c[0])==null?void 0:g.contents;q.setRawMenus(f??[])}else a.ElMessage.error("获取模型菜单响应失败");s.data.code===200?s.data.result&&((l=s.data.result)==null?void 0:l.length)>0&&(m.setStructureData(s.data.result),m.setIsStructureExist(!0)):a.ElMessage.error("获取模型结构响应失败")})};exports.verifyStructureDataToStore=I;
1
+ "use strict";const y=require("./index-BW3rUIA3.cjs"),S=require("./request-BCuBMd6Z.cjs"),D=require("./login-DSnvzDcT.cjs"),a=require("./menu-Dgk7naNE.cjs"),q=a.useMenuState(S.pinia),m=D.useLoginState(S.pinia),I=()=>{const d=y.getInsofDataApi({key:{systemKey:sessionStorage.getItem("systemKey"),pageKey:"menu"}}),p=y.getInsofDataApi({key:{systemKey:sessionStorage.getItem("systemKey"),type:"structure"}});Promise.all([d,p]).then(t=>{var r,o,u,n,i,c,g,l;const e=t==null?void 0:t[0],s=t==null?void 0:t[1];if(e.data.code===200){const f=(g=(c=(i=(n=(u=(o=(r=e==null?void 0:e.data)==null?void 0:r.result)==null?void 0:o[0])==null?void 0:u.value)==null?void 0:n.pageData)==null?void 0:i.compData)==null?void 0:c[0])==null?void 0:g.contents;q.setRawMenus(f??[])}else a.ElMessage.error("获取模型菜单响应失败");s.data.code===200?s.data.result&&((l=s.data.result)==null?void 0:l.length)>0&&(m.setStructureData(s.data.result),m.setIsStructureExist(!0)):a.ElMessage.error("获取模型结构响应失败")})};exports.verifyStructureDataToStore=I;
@@ -1 +1 @@
1
- "use strict";const o=require("vue"),h=require("./menu-IE9q9ekO.cjs"),p=require("./index-DjHji-RQ.cjs"),R=require("./login-bbTyKyTk.cjs"),D=require("./cloneDeep-wWT7F5V9.cjs"),M=h.useMenuState(),{activeMenuPath:b}=h.storeToRefs(M),T=R.useLoginState(),{structureData:F}=h.storeToRefs(T),P=o.ref([{label:"角色名称",value:"",name:"roleName"}]),q=o.ref([{label:"查询"},{label:"重置"}]),S=o.reactive({isFilter:!1,filterForm:{}}),z=o.ref(!1),O=a=>{console.log("handleQueryChange",a),S.isFilter=!0,S.filterForm=a},v=o.ref([{key:"extraButton",contents:[{label:"新增"}]},{key:"rowButton",contents:[{label:"授权",textColor:"blue"},{label:"编辑"},{label:"删除",textColor:"red"}]},{key:"tableIndex",contents:[]},{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"}]),_=o.computed(()=>v.value),j=a=>{console.log("handleItemDataChange",a),C(a.singleContent,a.buttonName)},k=o.ref({}),B=o.ref(),f=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 T.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){h.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)})})},K=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=K(l.children)),l}),m=async(a,e)=>{switch(console.log("clickRowButton",a,e,c.value),k.value=D.cloneDeep(e),a){case"授权":console.log("角色的权限",e.roleAuthority),console.log("角色的tree",c.value),console.log("角色的pageData",v.value),i.title=`【${e.roleName}】授权`,i.show=!0,await o.nextTick(),e.roleAuthority&&Array.isArray(e.roleAuthority)&&I(c.value,e.roleAuthority);break}},H=()=>{i.show=!1},d=o.ref(),L=async a=>{const e=await f(p.getInsofDataApi,{key:{systemKey:sessionStorage.getItem("systemKey"),pageKey:a}},"查询"),l=e==null?void 0:e.map(t=>{var n;return{id:t.id,rowData:(n=t==null?void 0:t.value)==null?void 0:n.rowData}});return l==null?void 0:l.map(t=>{var n;if(Array.isArray(t==null?void 0:t.rowData)){let s={id:t.id};return(n=t==null?void 0:t.rowData)==null||n.forEach((r,y)=>{s[`a${y}`]=r}),s}else return{...t.rowData,id:t.id}})},C=(a,e)=>{if(e==="新增"){const l=D.cloneDeep(a);delete l.id,f(p.createInsofDataApi,{key:{systemKey:sessionStorage.getItem("systemKey"),pageKey:b.value},value:{rowData:l}},e).then(t=>{d.value={...a,newId:t},e&&t&&h.ElMessage.success(e+"成功")})}else e==="编辑"?f(p.updateInsofDataApi,{id:a.id,key:{systemKey:sessionStorage.getItem("systemKey"),pageKey:b.value},value:{rowData:a}},e).then(l=>{e&&l&&h.ElMessage.success(e+"成功"),i.show=!1}):e==="删除"&&(console.log(222,a),f(p.deleteInsofDataApi,{id:a.id},e).then(l=>{e&&l&&h.ElMessage.success(e+"成功")}))},w=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(w(l.children)))}),e},Q=()=>{console.log(122,k.value,w(c.value)),d.value={...k.value,roleAuthority:w(c.value)},o.nextTick(()=>{console.log("clickSubmitAuthority",d.value,v.value),C(d.value,"编辑")})},i=o.reactive({show:!1,title:"角色授权",width:"35%",draggable:!0}),U=({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":""},c=o.ref([]),V=o.ref([{path:"资源管理",buttons:["查询","新增","编辑","删除"]},{path:"资源管理/人员",buttons:["查询","新增","编辑","删除"]}]),$=(a,e)=>{var l;a.checkedButtons=e?(l=a.renderButtons)==null?void 0:l.map(t=>t.path):[],console.log("handleNodeCheckChange",a,e)},g=o.ref([]),J=(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)?g.value.push(e.path):(a==null?void 0:a.length)===0&&(g.value=(n=g.value)==null?void 0:n.filter(s=>s!==e.path)),console.log("角色的按钮点击",e,a)};o.watch(()=>g.value.length,()=>{var e,l;const a=(e=B.value)==null?void 0:e.getCheckedKeys();console.log(112,g.value,a),(l=B.value)==null||l.setCheckedKeys([...g.value])});o.watch(()=>i.show,a=>{a||(c.value=K(c.value),console.log("角色的resetCheckedButtonsInTree",c.value))});const x=o.computed(()=>{var l;const a=(l=D.cloneDeep(F.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 s,r,y,A;let n=(y=(r=(s=t==null?void 0:t.value)==null?void 0:s.pageData)==null?void 0:r.compData)==null?void 0:y.filter(u=>(u==null?void 0:u.key)==="extraButton"||(u==null?void 0:u.key)==="rowButton");return n=Array.from(new Set(n==null?void 0:n.flatMap(u=>u.contents.map(N=>N.label)))),{path:(A=t==null?void 0:t.key)==null?void 0:A.pageKey,buttons:n}})}),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(r=>(r==null?void 0:r.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(r=>({title:r,path:l.path+"/"+r})):[],checkedButtons:[],children:E(l.children,x.value)}:{...l,renderButtons:l.carryData?(s=t==null?void 0:t.buttons)==null?void 0:s.map(r=>({title:r,path:l.path+"/"+r})):[],checkedButtons:[]}})},W=Object.freeze(Object.defineProperty({__proto__:null,addButtonsToTree:E,authorizeDialog:i,buttonValue:q,changedRow:d,clickRow:k,clickRowButton:m,clickSubmitAuthority:Q,closeAuthorizeDialog:H,customNodeClass:U,getPageDataAsync:L,handleItemDataChange:j,handleNodeBtnChange:J,handleNodeCheckChange:$,handleQueryChange:O,handleSubmitAsync:f,isPageDataExist:z,menuData:c,menusButtons:V,pageData:v,pageDataFiltered:_,queryFormData:P,structureButtons:x,submitTableAsyncByVerify:C,treeRef:B},Symbol.toStringTag,{value:"Module"}));exports.State=W;exports.authorizeDialog=i;
1
+ "use strict";const o=require("vue"),h=require("./menu-Dgk7naNE.cjs"),p=require("./index-BW3rUIA3.cjs"),R=require("./login-DSnvzDcT.cjs"),D=require("./cloneDeep-gdyyfw9f.cjs"),M=h.useMenuState(),{activeMenuPath:b}=h.storeToRefs(M),T=R.useLoginState(),{structureData:F}=h.storeToRefs(T),P=o.ref([{label:"角色名称",value:"",name:"roleName"}]),q=o.ref([{label:"查询"},{label:"重置"}]),S=o.reactive({isFilter:!1,filterForm:{}}),z=o.ref(!1),O=a=>{console.log("handleQueryChange",a),S.isFilter=!0,S.filterForm=a},v=o.ref([{key:"extraButton",contents:[{label:"新增"}]},{key:"rowButton",contents:[{label:"授权",textColor:"blue"},{label:"编辑"},{label:"删除",textColor:"red"}]},{key:"tableIndex",contents:[]},{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"}]),_=o.computed(()=>v.value),j=a=>{console.log("handleItemDataChange",a),C(a.singleContent,a.buttonName)},k=o.ref({}),B=o.ref(),f=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 T.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){h.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)})})},K=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=K(l.children)),l}),m=async(a,e)=>{switch(console.log("clickRowButton",a,e,c.value),k.value=D.cloneDeep(e),a){case"授权":console.log("角色的权限",e.roleAuthority),console.log("角色的tree",c.value),console.log("角色的pageData",v.value),i.title=`【${e.roleName}】授权`,i.show=!0,await o.nextTick(),e.roleAuthority&&Array.isArray(e.roleAuthority)&&I(c.value,e.roleAuthority);break}},H=()=>{i.show=!1},d=o.ref(),L=async a=>{const e=await f(p.getInsofDataApi,{key:{systemKey:sessionStorage.getItem("systemKey"),pageKey:a}},"查询"),l=e==null?void 0:e.map(t=>{var n;return{id:t.id,rowData:(n=t==null?void 0:t.value)==null?void 0:n.rowData}});return l==null?void 0:l.map(t=>{var n;if(Array.isArray(t==null?void 0:t.rowData)){let s={id:t.id};return(n=t==null?void 0:t.rowData)==null||n.forEach((r,y)=>{s[`a${y}`]=r}),s}else return{...t.rowData,id:t.id}})},C=(a,e)=>{if(e==="新增"){const l=D.cloneDeep(a);delete l.id,f(p.createInsofDataApi,{key:{systemKey:sessionStorage.getItem("systemKey"),pageKey:b.value},value:{rowData:l}},e).then(t=>{d.value={...a,newId:t},e&&t&&h.ElMessage.success(e+"成功")})}else e==="编辑"?f(p.updateInsofDataApi,{id:a.id,key:{systemKey:sessionStorage.getItem("systemKey"),pageKey:b.value},value:{rowData:a}},e).then(l=>{e&&l&&h.ElMessage.success(e+"成功"),i.show=!1}):e==="删除"&&(console.log(222,a),f(p.deleteInsofDataApi,{id:a.id},e).then(l=>{e&&l&&h.ElMessage.success(e+"成功")}))},w=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(w(l.children)))}),e},Q=()=>{console.log(122,k.value,w(c.value)),d.value={...k.value,roleAuthority:w(c.value)},o.nextTick(()=>{console.log("clickSubmitAuthority",d.value,v.value),C(d.value,"编辑")})},i=o.reactive({show:!1,title:"角色授权",width:"35%",draggable:!0}),U=({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":""},c=o.ref([]),V=o.ref([{path:"资源管理",buttons:["查询","新增","编辑","删除"]},{path:"资源管理/人员",buttons:["查询","新增","编辑","删除"]}]),$=(a,e)=>{var l;a.checkedButtons=e?(l=a.renderButtons)==null?void 0:l.map(t=>t.path):[],console.log("handleNodeCheckChange",a,e)},g=o.ref([]),J=(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)?g.value.push(e.path):(a==null?void 0:a.length)===0&&(g.value=(n=g.value)==null?void 0:n.filter(s=>s!==e.path)),console.log("角色的按钮点击",e,a)};o.watch(()=>g.value.length,()=>{var e,l;const a=(e=B.value)==null?void 0:e.getCheckedKeys();console.log(112,g.value,a),(l=B.value)==null||l.setCheckedKeys([...g.value])});o.watch(()=>i.show,a=>{a||(c.value=K(c.value),console.log("角色的resetCheckedButtonsInTree",c.value))});const x=o.computed(()=>{var l;const a=(l=D.cloneDeep(F.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 s,r,y,A;let n=(y=(r=(s=t==null?void 0:t.value)==null?void 0:s.pageData)==null?void 0:r.compData)==null?void 0:y.filter(u=>(u==null?void 0:u.key)==="extraButton"||(u==null?void 0:u.key)==="rowButton");return n=Array.from(new Set(n==null?void 0:n.flatMap(u=>u.contents.map(N=>N.label)))),{path:(A=t==null?void 0:t.key)==null?void 0:A.pageKey,buttons:n}})}),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(r=>(r==null?void 0:r.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(r=>({title:r,path:l.path+"/"+r})):[],checkedButtons:[],children:E(l.children,x.value)}:{...l,renderButtons:l.carryData?(s=t==null?void 0:t.buttons)==null?void 0:s.map(r=>({title:r,path:l.path+"/"+r})):[],checkedButtons:[]}})},W=Object.freeze(Object.defineProperty({__proto__:null,addButtonsToTree:E,authorizeDialog:i,buttonValue:q,changedRow:d,clickRow:k,clickRowButton:m,clickSubmitAuthority:Q,closeAuthorizeDialog:H,customNodeClass:U,getPageDataAsync:L,handleItemDataChange:j,handleNodeBtnChange:J,handleNodeCheckChange:$,handleQueryChange:O,handleSubmitAsync:f,isPageDataExist:z,menuData:c,menusButtons:V,pageData:v,pageDataFiltered:_,queryFormData:P,structureButtons:x,submitTableAsyncByVerify:C,treeRef:B},Symbol.toStringTag,{value:"Module"}));exports.State=W;exports.authorizeDialog=i;
@@ -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-Bl-0RurV.js")
6020
+ component: async () => import("./index-Cii3X2D7.js")
6021
6021
  },
6022
6022
  {
6023
6023
  path: "/",
6024
6024
  name: "Model",
6025
- component: async () => import("./index-BuHfHCU0.js"),
6025
+ component: async () => import("./index-BxKY0INk.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,27 +6030,27 @@ const I9 = N4(P, "$notify"), D9 = [
6030
6030
  {
6031
6031
  path: "personalCenter",
6032
6032
  name: "PersonalCenter",
6033
- component: async () => import("./index-32zMKTCS.js")
6033
+ component: async () => import("./index-B6If5wRP.js")
6034
6034
  },
6035
6035
  {
6036
6036
  path: "post",
6037
6037
  name: "Post",
6038
- component: async () => import("./index-DZbaNTdt.js")
6038
+ component: async () => import("./index-6rLImJnk.js")
6039
6039
  },
6040
6040
  {
6041
6041
  path: "user",
6042
6042
  name: "User",
6043
- component: async () => import("./index-Cv5UrSOt.js")
6043
+ component: async () => import("./index-orWfMHps.js")
6044
6044
  },
6045
6045
  {
6046
6046
  path: "role",
6047
6047
  name: "Role",
6048
- component: async () => import("./index-fYUwhoC0.js")
6048
+ component: async () => import("./index-DfbsqJIq.js")
6049
6049
  },
6050
6050
  {
6051
6051
  path: "dept",
6052
6052
  name: "Dept",
6053
- component: async () => import("./index-B1RwU1Yy.js")
6053
+ component: async () => import("./index-gKxSxGyb.js")
6054
6054
  },
6055
6055
  {
6056
6056
  path: "priority",