ss-component-new 1.2.231 → 1.2.232

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 (42) hide show
  1. package/dist/{index-DNnxswYJ.js → index--eG1HuEk.js} +1 -1
  2. package/dist/{index-CiasLJoH.js → index-4wmnBS8T.js} +1 -1
  3. package/dist/{index-BIBkzFG-.js → index-B8v18Ew-.js} +1 -1
  4. package/dist/{index-BPug-xrs.js → index-BWQsJVZu.js} +97 -95
  5. package/dist/{index-H3DOC2R5.js → index-BfyfYMgU.js} +1 -1
  6. package/dist/{index-hShQlWgq.js → index-C4nuCUKA.js} +2 -2
  7. package/dist/{index-HXPOvVeo.js → index-C5XK7IH1.js} +1 -1
  8. package/dist/{index-C3ns3NKQ.js → index-C93uGAcW.js} +1 -1
  9. package/dist/{index-DcbEZolj.js → index-CCb2IsOh.js} +1 -1
  10. package/dist/{index-CLCBF5t0.cjs → index-CP3Q8Vwz.cjs} +1 -1
  11. package/dist/{index-DucPM1n5.cjs → index-CRa7ul-H.cjs} +1 -1
  12. package/dist/{index-BZvhdFm8.cjs → index-CaCc1PMv.cjs} +1 -1
  13. package/dist/{index-s7imLEoH.cjs → index-CjUlZM1I.cjs} +1 -1
  14. package/dist/{index--1Cjb_wL.cjs → index-Cv7afxtj.cjs} +1 -1
  15. package/dist/{index-Bidps66S.js → index-D5q83XXJ.js} +7 -7
  16. package/dist/{index-BneQy4Bp.js → index-DBe7pvvC.js} +1 -1
  17. package/dist/{index-8GD7TJob.js → index-DOXFyGxN.js} +1 -1
  18. package/dist/{index-Depp3C6m.cjs → index-DZ6QQf1F.cjs} +1 -1
  19. package/dist/{index-CaUf4u3h.cjs → index-DhNbyjlZ.cjs} +1 -1
  20. package/dist/{index-BdIzuxWE.cjs → index-Dlmo2bzh.cjs} +1 -1
  21. package/dist/{index-C2VdFYM9.cjs → index-HfkvgdGf.cjs} +1 -1
  22. package/dist/{index-XpXj7wTG.js → index-K5yAn3DM.js} +1 -1
  23. package/dist/{index-d4YuLQO3.cjs → index-M3Uy2ESr.cjs} +1 -1
  24. package/dist/{index-BqIOEk_u.cjs → index-NNuPPUyS.cjs} +1 -1
  25. package/dist/{index-pTv51591.js → index-Ofyhj_ri.js} +3 -3
  26. package/dist/{index-CLC6xRf_.cjs → index-nyXDmWkk.cjs} +1 -1
  27. package/dist/{index-BrV-ANsd.cjs → index-tATIUpSX.cjs} +1 -1
  28. package/dist/{index-EjIA_9Y5.cjs → index-taTFobG0.cjs} +1 -1
  29. package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-D8OaXH_x.js → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-9pTg9CEf.js} +1 -1
  30. package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-BALnbI2c.cjs → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-DQquN7Pt.cjs} +1 -1
  31. package/dist/{index.vue_vue_type_style_index_0_scoped_3d3811e8_lang-bpzNCdhC.cjs → index.vue_vue_type_style_index_0_scoped_3d3811e8_lang-C6Uj52bB.cjs} +1 -1
  32. package/dist/{index.vue_vue_type_style_index_0_scoped_3d3811e8_lang-DteLXjpC.js → index.vue_vue_type_style_index_0_scoped_3d3811e8_lang-CdWS_tx_.js} +1 -1
  33. package/dist/{main-Cnc-TnAA.js → main-1JkcLvHt.js} +2 -2
  34. package/dist/{main-C-D39OH3.cjs → main-DOjkDfvY.cjs} +1 -1
  35. package/dist/ss-component.cjs +1 -1
  36. package/dist/ss-component.css +1 -1
  37. package/dist/ss-component.js +4 -4
  38. package/dist/ss-component2.cjs +1 -1
  39. package/dist/ss-component2.js +9 -9
  40. package/dist/{threeModel-x1d8wZ8i.cjs → threeModel-BIvFMjeE.cjs} +1 -1
  41. package/dist/{threeModel-DVqg3W1X.js → threeModel-tXPE6Ot9.js} +1 -1
  42. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as C, reactive as k, ref as v, onMounted as D, nextTick as b, resolveComponent as i, resolveDirective as T, createElementBlock as g, openBlock as u, createVNode as t, withCtx as n, withDirectives as w, createElementVNode as p, createTextVNode as f } from "vue";
2
2
  import { S as x } from "./index-Ct0pyThR.js";
3
- import { s as B } from "./index-BPug-xrs.js";
3
+ import { s as B } from "./index-BWQsJVZu.js";
4
4
  import { s as F } from "./index-BDfjc4pg.js";
5
5
  import { d as y } from "./index-Cn6b-ZJb.js";
6
6
  import { u as S } from "./index-3oQGURYh.js";
@@ -3,7 +3,7 @@ import "./index-BHtNKL1L.js";
3
3
  import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Cogr4AVk.js";
4
4
  import { g as h, s as c } from "./index-7MBVUN82.js";
5
5
  import { ag as C, af as _, a as k, u as S, ah as v } from "./index-3oQGURYh.js";
6
- import { s as T } from "./index-BPug-xrs.js";
6
+ import { s as T } from "./index-BWQsJVZu.js";
7
7
  const A = k(), { itemData: B } = c(A), u = s(0), I = s([
8
8
  {
9
9
  label: "机构名称",
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as o, reactive as c, onMounted as s, createElementBlock as r, openBlock as u, createVNode as i } from "vue";
2
- import { s as m } from "./index-BPug-xrs.js";
2
+ import { s as m } from "./index-BWQsJVZu.js";
3
3
  import { u as d, ai as p, ah as l } from "./index-3oQGURYh.js";
4
4
  import { s as g, u as h } from "./index-7MBVUN82.js";
5
5
  const _ = { class: "routerPage-wrapper" }, w = /* @__PURE__ */ o({
@@ -2474,28 +2474,28 @@ const _r = (q) => q.match(/\((.*)\)/)[1], fn = {
2474
2474
  let a = l == null ? void 0 : l.map((O) => {
2475
2475
  var le, Je, Be, el;
2476
2476
  return (O == null ? void 0 : O.key) === "header" && (Array.isArray((le = O.contents) == null ? void 0 : le[0]) ? O.contents = (Be = Ca((Je = O.contents) == null ? void 0 : Je[0])) == null ? void 0 : Be.map((f, ue) => {
2477
- var Fe, k, Se, Pe, cl, pl, fl, tl, yl, hl, dl, me, Le, gl, Al, Tl, Cl, _l, v, J, De, bl, wl, kl;
2477
+ var Fe, k, Se, Pe, cl, pl, fl, tl, yl, hl, dl, me, Le, gl, Al, Tl, Cl, _l, g, J, De, bl, wl, kl;
2478
2478
  return f.type = f != null && f.type ? f.type : (Pe = (Se = (k = (Fe = f == null ? void 0 : f.key) == null ? void 0 : Fe.split("$")) == null ? void 0 : k[1]) == null ? void 0 : Se.split("(")) != null && Pe[0] ? (pl = (cl = kr) == null ? void 0 : cl.find((je) => {
2479
- var xl, be, U, g;
2480
- return (je == null ? void 0 : je.key) === ((g = (U = (be = (xl = f == null ? void 0 : f.key) == null ? void 0 : xl.split("$")) == null ? void 0 : be[1]) == null ? void 0 : U.split("(")) == null ? void 0 : g[0]);
2479
+ var xl, be, U, v;
2480
+ return (je == null ? void 0 : je.key) === ((v = (U = (be = (xl = f == null ? void 0 : f.key) == null ? void 0 : xl.split("$")) == null ? void 0 : be[1]) == null ? void 0 : U.split("(")) == null ? void 0 : v[0]);
2481
2481
  })) == null ? void 0 : pl.value : "Input", f.options = f != null && f.options ? f.options : ((yl = (tl = (fl = f == null ? void 0 : f.key) == null ? void 0 : fl.split("$")) == null ? void 0 : tl[1]) == null ? void 0 : yl.length) > 0 ? (Le = (me = _r((dl = (hl = f == null ? void 0 : f.key) == null ? void 0 : hl.split("$")) == null ? void 0 : dl[1])) == null ? void 0 : me.split(",")) == null ? void 0 : Le.map((je) => ({
2482
2482
  label: je,
2483
2483
  value: je
2484
- })) : [], (gl = f == null ? void 0 : f.key) != null && gl.includes("$") && (f.key = (Tl = (Al = f == null ? void 0 : f.key) == null ? void 0 : Al.split("$")) == null ? void 0 : Tl[0]), ((v = (_l = (Cl = Ae.value) == null ? void 0 : Cl.find((je) => (je == null ? void 0 : je.prop) === (f == null ? void 0 : f.prop))) == null ? void 0 : _l.optionUrl) == null ? void 0 : v.multiple) === !0 && !Array.isArray((J = Object.values(e)) == null ? void 0 : J[ue]) ? f.value = [(De = Object.values(e)) == null ? void 0 : De[ue]] : f.value = (bl = Object.values(e)) == null ? void 0 : bl[ue], f.optionUrl = f != null && f.formMenuSelect && ((wl = f == null ? void 0 : f.formMenuSelect) == null ? void 0 : wl.length) > 0 ? {
2484
+ })) : [], (gl = f == null ? void 0 : f.key) != null && gl.includes("$") && (f.key = (Tl = (Al = f == null ? void 0 : f.key) == null ? void 0 : Al.split("$")) == null ? void 0 : Tl[0]), ((g = (_l = (Cl = Ae.value) == null ? void 0 : Cl.find((je) => (je == null ? void 0 : je.prop) === (f == null ? void 0 : f.prop))) == null ? void 0 : _l.optionUrl) == null ? void 0 : g.multiple) === !0 && !Array.isArray((J = Object.values(e)) == null ? void 0 : J[ue]) ? f.value = [(De = Object.values(e)) == null ? void 0 : De[ue]] : f.value = (bl = Object.values(e)) == null ? void 0 : bl[ue], f.optionUrl = f != null && f.formMenuSelect && ((wl = f == null ? void 0 : f.formMenuSelect) == null ? void 0 : wl.length) > 0 ? {
2485
2485
  groupSelect: (kl = f == null ? void 0 : f.groupSelect) == null ? void 0 : kl.split(/[::]/).map((je) => je.trim()),
2486
2486
  menuSelect: f == null ? void 0 : f.formMenuSelect,
2487
2487
  selectRelateType: "",
2488
2488
  type: (f == null ? void 0 : f.formType) ?? (f != null && f.groupSelect ? "Select" : "")
2489
2489
  } : null, f;
2490
2490
  }) : O.contents = (el = O.contents) == null ? void 0 : el.map((f, ue) => {
2491
- var Fe, k, Se, Pe, cl, pl, fl, tl, yl, hl, dl, me, Le, gl, Al, Tl, Cl, _l, v, J, De, bl, wl, kl;
2491
+ var Fe, k, Se, Pe, cl, pl, fl, tl, yl, hl, dl, me, Le, gl, Al, Tl, Cl, _l, g, J, De, bl, wl, kl;
2492
2492
  return f.type = f != null && f.type ? f.type : (Pe = (Se = (k = (Fe = f == null ? void 0 : f.key) == null ? void 0 : Fe.split("$")) == null ? void 0 : k[1]) == null ? void 0 : Se.split("(")) != null && Pe[0] ? (pl = (cl = kr) == null ? void 0 : cl.find((je) => {
2493
- var xl, be, U, g;
2494
- return (je == null ? void 0 : je.key) === ((g = (U = (be = (xl = f == null ? void 0 : f.key) == null ? void 0 : xl.split("$")) == null ? void 0 : be[1]) == null ? void 0 : U.split("(")) == null ? void 0 : g[0]);
2493
+ var xl, be, U, v;
2494
+ return (je == null ? void 0 : je.key) === ((v = (U = (be = (xl = f == null ? void 0 : f.key) == null ? void 0 : xl.split("$")) == null ? void 0 : be[1]) == null ? void 0 : U.split("(")) == null ? void 0 : v[0]);
2495
2495
  })) == null ? void 0 : pl.value : "Input", f.options = f != null && f.options ? f.options : ((yl = (tl = (fl = f == null ? void 0 : f.key) == null ? void 0 : fl.split("$")) == null ? void 0 : tl[1]) == null ? void 0 : yl.length) > 0 ? (Le = (me = _r((dl = (hl = f == null ? void 0 : f.key) == null ? void 0 : hl.split("$")) == null ? void 0 : dl[1])) == null ? void 0 : me.split(",")) == null ? void 0 : Le.map((je) => ({
2496
2496
  label: je,
2497
2497
  value: je
2498
- })) : [], (gl = f == null ? void 0 : f.key) != null && gl.includes("$") && (f.key = (Tl = (Al = f == null ? void 0 : f.key) == null ? void 0 : Al.split("$")) == null ? void 0 : Tl[0]), ((v = (_l = (Cl = Ae.value) == null ? void 0 : Cl.find((je) => (je == null ? void 0 : je.prop) === (f == null ? void 0 : f.prop))) == null ? void 0 : _l.optionUrl) == null ? void 0 : v.multiple) === !0 && !Array.isArray((J = Object.values(e)) == null ? void 0 : J[ue]) ? f.value = [(De = Object.values(e)) == null ? void 0 : De[ue]] : f.value = (bl = Object.values(e)) == null ? void 0 : bl[ue], f.optionUrl = f != null && f.formMenuSelect && ((wl = f == null ? void 0 : f.formMenuSelect) == null ? void 0 : wl.length) > 0 ? {
2498
+ })) : [], (gl = f == null ? void 0 : f.key) != null && gl.includes("$") && (f.key = (Tl = (Al = f == null ? void 0 : f.key) == null ? void 0 : Al.split("$")) == null ? void 0 : Tl[0]), ((g = (_l = (Cl = Ae.value) == null ? void 0 : Cl.find((je) => (je == null ? void 0 : je.prop) === (f == null ? void 0 : f.prop))) == null ? void 0 : _l.optionUrl) == null ? void 0 : g.multiple) === !0 && !Array.isArray((J = Object.values(e)) == null ? void 0 : J[ue]) ? f.value = [(De = Object.values(e)) == null ? void 0 : De[ue]] : f.value = (bl = Object.values(e)) == null ? void 0 : bl[ue], f.optionUrl = f != null && f.formMenuSelect && ((wl = f == null ? void 0 : f.formMenuSelect) == null ? void 0 : wl.length) > 0 ? {
2499
2499
  groupSelect: (kl = f == null ? void 0 : f.groupSelect) == null ? void 0 : kl.split(/[::]/).map((je) => je.trim()),
2500
2500
  menuSelect: f == null ? void 0 : f.formMenuSelect,
2501
2501
  selectRelateType: "",
@@ -2538,7 +2538,7 @@ const _r = (q) => q.match(/\((.*)\)/)[1], fn = {
2538
2538
  if ((c = u == null ? void 0 : u.optionUrl) != null && c.menuSelect && $a.value || m) {
2539
2539
  let O = await Ar(u, m), le;
2540
2540
  if (O == null || O.forEach((f) => {
2541
- var ue, Fe, k, Se, Pe, cl, pl, fl, tl, yl, hl, dl, me, Le, gl, Al, Tl, Cl, _l, v, J, De, bl, wl, kl, je, xl;
2541
+ var ue, Fe, k, Se, Pe, cl, pl, fl, tl, yl, hl, dl, me, Le, gl, Al, Tl, Cl, _l, g, J, De, bl, wl, kl, je, xl;
2542
2542
  if (!m && o === ((Fe = (ue = u == null ? void 0 : u.optionUrl) == null ? void 0 : ue.groupSelect) == null ? void 0 : Fe[1]) && ((Pe = (Se = (k = u == null ? void 0 : u.optionUrl) == null ? void 0 : k.groupSelect) == null ? void 0 : Se[1]) != null && Pe.includes("[")) && ((yl = I(f)) == null ? void 0 : yl[(tl = (fl = (pl = (cl = u == null ? void 0 : u.optionUrl) == null ? void 0 : cl.groupSelect) == null ? void 0 : pl[1]) == null ? void 0 : fl.replaceAll("[", "")) == null ? void 0 : tl.replaceAll("]", "")]) === (u == null ? void 0 : u.value) && (le = f), m) {
2543
2543
  let be = (dl = (hl = Ae.value) == null ? void 0 : hl.find((pe) => {
2544
2544
  var Te;
@@ -2552,11 +2552,11 @@ const _r = (q) => q.match(/\((.*)\)/)[1], fn = {
2552
2552
  let pe = (Cl = (Tl = A == null ? void 0 : A.find((Te) => (Te == null ? void 0 : Te.prop) === be)) == null ? void 0 : Tl.selectValue) == null ? void 0 : Cl[0];
2553
2553
  U = (_l = pe == null ? void 0 : pe.split(" ")) == null ? void 0 : _l[0];
2554
2554
  }
2555
- let g = (J = (v = A == null ? void 0 : A.find((pe) => {
2555
+ let v = (J = (g = A == null ? void 0 : A.find((pe) => {
2556
2556
  var Te;
2557
2557
  return (pe == null ? void 0 : pe.prop) === be || ((Te = pe == null ? void 0 : pe.prop) == null ? void 0 : Te.includes("." + be));
2558
- })) == null ? void 0 : v.selectValue) == null ? void 0 : J[0];
2559
- if (be != null && be.includes(".") && !f[be] && (be = (bl = be == null ? void 0 : be.split(".")) == null ? void 0 : bl[((De = be == null ? void 0 : be.split(".")) == null ? void 0 : De.length) - 1]), Array.isArray(U) && !g && (g = U == null ? void 0 : U[0]), f[be] === (Array.isArray(U) ? g : U) && (u == null ? void 0 : u.directiveLabel) === "#isMain") {
2558
+ })) == null ? void 0 : g.selectValue) == null ? void 0 : J[0];
2559
+ if (be != null && be.includes(".") && !f[be] && (be = (bl = be == null ? void 0 : be.split(".")) == null ? void 0 : bl[((De = be == null ? void 0 : be.split(".")) == null ? void 0 : De.length) - 1]), Array.isArray(U) && !v && (v = U == null ? void 0 : U[0]), f[be] === (Array.isArray(U) ? v : U) && (u == null ? void 0 : u.directiveLabel) === "#isMain") {
2560
2560
  if (d != null && d.includes("·")) {
2561
2561
  let pe = d == null ? void 0 : d.split("·"), Te = (xl = (je = (kl = Array.isArray(e == null ? void 0 : e[d]) ? (wl = e == null ? void 0 : e[d]) == null ? void 0 : wl[0] : e == null ? void 0 : e[d]) == null ? void 0 : kl.split(" ")) == null ? void 0 : je.filter((Ee) => Ee && Ee !== "")) == null ? void 0 : xl.map((Ee) => Ee == null ? void 0 : Ee.trim());
2562
2562
  pe == null || pe.forEach((Ee, ll) => {
@@ -2590,10 +2590,10 @@ const _r = (q) => q.match(/\((.*)\)/)[1], fn = {
2590
2590
  if (le) {
2591
2591
  let f = I(r);
2592
2592
  f = f == null ? void 0 : f.map((k) => {
2593
- var Pe, cl, pl, fl, tl, yl, hl, dl, me, Le, gl, Al, Tl, Cl, _l, v, J, De, bl, wl, kl, je, xl, be, U, g, pe, Te, Ee, ll, We, Xl, la, aa, Oe;
2593
+ var Pe, cl, pl, fl, tl, yl, hl, dl, me, Le, gl, Al, Tl, Cl, _l, g, J, De, bl, wl, kl, je, xl, be, U, v, pe, Te, Ee, ll, We, Xl, la, aa, Oe;
2594
2594
  (le != null && le[k == null ? void 0 : k.prop] || le != null && le[(fl = (pl = (cl = (Pe = k == null ? void 0 : k.optionUrl) == null ? void 0 : Pe.groupSelect) == null ? void 0 : cl[1]) == null ? void 0 : pl.replaceAll("[", "")) == null ? void 0 : fl.replaceAll("]", "")]) && ((hl = (yl = (tl = k == null ? void 0 : k.optionUrl) == null ? void 0 : tl.groupSelect) == null ? void 0 : yl[1]) != null && hl.includes("[")) && (k != null && k.relatedValueId) && (k.value = (le == null ? void 0 : le[k == null ? void 0 : k.prop]) || (le == null ? void 0 : le[(gl = (Le = (me = (dl = k == null ? void 0 : k.optionUrl) == null ? void 0 : dl.groupSelect) == null ? void 0 : me[1]) == null ? void 0 : Le.replaceAll("[", "")) == null ? void 0 : gl.replaceAll("]", "")]));
2595
2595
  let Se = le == null ? void 0 : le[k == null ? void 0 : k.prop];
2596
- return (Al = k == null ? void 0 : k.prop) != null && Al.includes(".") && !Se && ((Cl = (Tl = u == null ? void 0 : u.prop) == null ? void 0 : Tl.split(".")) == null ? void 0 : Cl[0]) === ((v = (_l = k == null ? void 0 : k.prop) == null ? void 0 : _l.split(".")) == null ? void 0 : v[0]) && (Se = (le == null ? void 0 : le[(wl = (J = k == null ? void 0 : k.prop) == null ? void 0 : J.split(".")) == null ? void 0 : wl[((bl = (De = k == null ? void 0 : k.prop) == null ? void 0 : De.split(".")) == null ? void 0 : bl.length) - 1]]) ?? (le == null ? void 0 : le[k == null ? void 0 : k.prop])), m && (Se || Se === "") && (k != null && k.relatedValueId) && Ul.value === "新增" && ((k == null ? void 0 : k.prop) !== (u == null ? void 0 : u.prop) || d != null && d.includes((u == null ? void 0 : u.prop) + "·") || d != null && d.includes("·" + (k == null ? void 0 : k.prop))) ? k.value = Se ?? (le == null ? void 0 : le[(be = (xl = (je = (kl = k == null ? void 0 : k.optionUrl) == null ? void 0 : kl.groupSelect) == null ? void 0 : je[1]) == null ? void 0 : xl.replaceAll("[", "")) == null ? void 0 : be.replaceAll("]", "")]) : (d != null && d.includes("·" + (k == null ? void 0 : k.prop)) || d != null && d.includes(".")) && (k == null ? void 0 : k.prop) !== (u == null ? void 0 : u.prop) && !Array.isArray((g = (U = Ae.value) == null ? void 0 : U.find((Ne) => (Ne == null ? void 0 : Ne.prop) === (k == null ? void 0 : k.prop))) == null ? void 0 : g.value) ? k.value = Se ?? "" : ((pe = k == null ? void 0 : k.optionUrl) == null ? void 0 : pe.multiple) === !0 && !Array.isArray((Ee = (Te = Ae.value) == null ? void 0 : Te.find((Ne) => (Ne == null ? void 0 : Ne.prop) === (k == null ? void 0 : k.prop))) == null ? void 0 : Ee.value) ? k.value = ((We = (ll = Ae.value) == null ? void 0 : ll.find((Ne) => (Ne == null ? void 0 : Ne.prop) === (k == null ? void 0 : k.prop))) == null ? void 0 : We.value) === "" ? [] : [(la = (Xl = Ae.value) == null ? void 0 : Xl.find((Ne) => (Ne == null ? void 0 : Ne.prop) === (k == null ? void 0 : k.prop))) == null ? void 0 : la.value] : k.value = (Oe = (aa = Ae.value) == null ? void 0 : aa.find((Ne) => (Ne == null ? void 0 : Ne.prop) === (k == null ? void 0 : k.prop))) == null ? void 0 : Oe.value, k;
2596
+ return (Al = k == null ? void 0 : k.prop) != null && Al.includes(".") && !Se && ((Cl = (Tl = u == null ? void 0 : u.prop) == null ? void 0 : Tl.split(".")) == null ? void 0 : Cl[0]) === ((g = (_l = k == null ? void 0 : k.prop) == null ? void 0 : _l.split(".")) == null ? void 0 : g[0]) && (Se = (le == null ? void 0 : le[(wl = (J = k == null ? void 0 : k.prop) == null ? void 0 : J.split(".")) == null ? void 0 : wl[((bl = (De = k == null ? void 0 : k.prop) == null ? void 0 : De.split(".")) == null ? void 0 : bl.length) - 1]]) ?? (le == null ? void 0 : le[k == null ? void 0 : k.prop])), m && (Se || Se === "") && (k != null && k.relatedValueId) && Ul.value === "新增" && ((k == null ? void 0 : k.prop) !== (u == null ? void 0 : u.prop) || d != null && d.includes((u == null ? void 0 : u.prop) + "·") || d != null && d.includes("·" + (k == null ? void 0 : k.prop))) ? k.value = Se ?? (le == null ? void 0 : le[(be = (xl = (je = (kl = k == null ? void 0 : k.optionUrl) == null ? void 0 : kl.groupSelect) == null ? void 0 : je[1]) == null ? void 0 : xl.replaceAll("[", "")) == null ? void 0 : be.replaceAll("]", "")]) : (d != null && d.includes("·" + (k == null ? void 0 : k.prop)) || d != null && d.includes(".")) && (k == null ? void 0 : k.prop) !== (u == null ? void 0 : u.prop) && !Array.isArray((v = (U = Ae.value) == null ? void 0 : U.find((Ne) => (Ne == null ? void 0 : Ne.prop) === (k == null ? void 0 : k.prop))) == null ? void 0 : v.value) ? k.value = Se ?? "" : ((pe = k == null ? void 0 : k.optionUrl) == null ? void 0 : pe.multiple) === !0 && !Array.isArray((Ee = (Te = Ae.value) == null ? void 0 : Te.find((Ne) => (Ne == null ? void 0 : Ne.prop) === (k == null ? void 0 : k.prop))) == null ? void 0 : Ee.value) ? k.value = ((We = (ll = Ae.value) == null ? void 0 : ll.find((Ne) => (Ne == null ? void 0 : Ne.prop) === (k == null ? void 0 : k.prop))) == null ? void 0 : We.value) === "" ? [] : [(la = (Xl = Ae.value) == null ? void 0 : Xl.find((Ne) => (Ne == null ? void 0 : Ne.prop) === (k == null ? void 0 : k.prop))) == null ? void 0 : la.value] : k.value = (Oe = (aa = Ae.value) == null ? void 0 : aa.find((Ne) => (Ne == null ? void 0 : Ne.prop) === (k == null ? void 0 : k.prop))) == null ? void 0 : Oe.value, k;
2597
2597
  }), Ae.value = I(f);
2598
2598
  let ue = I(f);
2599
2599
  ue = ue == null ? void 0 : ue.map((k) => {
@@ -2717,27 +2717,29 @@ const _r = (q) => q.match(/\((.*)\)/)[1], fn = {
2717
2717
  return r = Gr(e, l == null ? void 0 : l.contents, 0), r;
2718
2718
  }, Qr = (e, l) => {
2719
2719
  var j, $, w, S, N, R, L, T, D, i, y, t, B, E, W, c, x, de, M, _, P, ne, ae, ee, ke, Ue, H, se, Me, ce, he, xe, Qe, O, le, Je, Be, el, f, ue, Fe, k, Se, Pe, cl, pl, fl, tl, yl, hl, dl, me, Le, gl, Al, Tl, Cl, _l;
2720
- const a = e == null ? void 0 : e.filter((v) => (v == null ? void 0 : v.key) === "header");
2721
- e == null || e.filter((v) => (v == null ? void 0 : v.key) === "tableIndexColumn")[0];
2722
- const r = e == null ? void 0 : e.filter((v) => (v == null ? void 0 : v.key) === "childTree")[0];
2720
+ const a = e == null ? void 0 : e.filter((g) => (g == null ? void 0 : g.key) === "header");
2721
+ e == null || e.filter((g) => (g == null ? void 0 : g.key) === "tableIndexColumn")[0];
2722
+ const r = e == null ? void 0 : e.filter((g) => (g == null ? void 0 : g.key) === "childTree")[0];
2723
2723
  let n = !0;
2724
- if ((w = ($ = (j = e == null ? void 0 : e.find((v) => (v == null ? void 0 : v.key) === "filterAllType")) == null ? void 0 : j.value) == null ? void 0 : $.find((v) => (v == null ? void 0 : v.value) === "onPamButtonContents")) != null && w.content) {
2725
- let v = (R = (N = (S = e == null ? void 0 : e.find((J) => (J == null ? void 0 : J.key) === "filterAllType")) == null ? void 0 : S.value) == null ? void 0 : N.find((J) => (J == null ? void 0 : J.value) === "onPamButtonContents")) == null ? void 0 : R.content;
2726
- v = (L = v == null ? void 0 : v.split(":")) == null ? void 0 : L[1], v = (T = v.slice(1, (v == null ? void 0 : v.length) - 1)) == null ? void 0 : T.split(","), n = !!(v != null && v.find((J) => J === "操作"));
2724
+ if ((w = ($ = (j = e == null ? void 0 : e.find((g) => (g == null ? void 0 : g.key) === "filterAllType")) == null ? void 0 : j.value) == null ? void 0 : $.find((g) => (g == null ? void 0 : g.value) === "onPamButtonContents")) != null && w.content) {
2725
+ let g = (R = (N = (S = e == null ? void 0 : e.find((J) => (J == null ? void 0 : J.key) === "filterAllType")) == null ? void 0 : S.value) == null ? void 0 : N.find((J) => (J == null ? void 0 : J.value) === "onPamButtonContents")) == null ? void 0 : R.content;
2726
+ g = (L = g == null ? void 0 : g.split(":")) == null ? void 0 : L[1], g = (T = g.slice(1, (g == null ? void 0 : g.length) - 1)) == null ? void 0 : T.split(","), n = !!(g != null && g.find((J) => J === "操作"));
2727
2727
  }
2728
2728
  let o = l;
2729
- const d = e == null ? void 0 : e.find((v) => (v == null ? void 0 : v.key) === "page"), u = e == null ? void 0 : e.find((v) => (v == null ? void 0 : v.key) === "rowButton"), p = e == null ? void 0 : e.find((v) => (v == null ? void 0 : v.key) === "extraButton"), b = e == null ? void 0 : e.filter((v) => (v == null ? void 0 : v.key) === "tableContents"), A = e == null ? void 0 : e.filter((v) => (v == null ? void 0 : v.key) === "tableIndex");
2730
- Rl.value = (i = (D = e == null ? void 0 : e.filter((v) => (v == null ? void 0 : v.key) === "tableToForm")) == null ? void 0 : D[0]) == null ? void 0 : i.contents, xr.value = (d == null ? void 0 : d.contents) ?? !0;
2729
+ const d = e == null ? void 0 : e.find((g) => (g == null ? void 0 : g.key) === "page"), u = e == null ? void 0 : e.find((g) => (g == null ? void 0 : g.key) === "rowButton"), p = e == null ? void 0 : e.find((g) => (g == null ? void 0 : g.key) === "extraButton"), b = e == null ? void 0 : e.filter((g) => (g == null ? void 0 : g.key) === "tableContents"), A = e == null ? void 0 : e.filter((g) => (g == null ? void 0 : g.key) === "tableIndex");
2730
+ Rl.value = (i = (D = e == null ? void 0 : e.filter((g) => (g == null ? void 0 : g.key) === "tableToForm")) == null ? void 0 : D[0]) == null ? void 0 : i.contents, xr.value = (d == null ? void 0 : d.contents) ?? !0;
2731
2731
  let h = [];
2732
- ca.value === "" ? h = a == null ? void 0 : a[0] : h = (a == null ? void 0 : a.find((v) => (v == null ? void 0 : v.selectLabel) === "(" + ca.value + ")")) ?? (a == null ? void 0 : a.find((v) => !(v != null && v.selectLabel)));
2732
+ ca.value === "" ? h = a == null ? void 0 : a[0] : h = (a == null ? void 0 : a.find((g) => (g == null ? void 0 : g.selectLabel) === "(" + ca.value + ")")) ?? (a == null ? void 0 : a.find((g) => !(g != null && g.selectLabel)));
2733
2733
  let m = [];
2734
- if (ca.value === "" ? m = A == null ? void 0 : A[0] : m = (A == null ? void 0 : A.find((v) => (v == null ? void 0 : v.selectLabel) === "(" + ca.value + ")")) ?? (A == null ? void 0 : A.find((v) => !(v != null && v.selectLabel))), ((y = h == null ? void 0 : h.contents) == null ? void 0 : y.length) > 0) {
2735
- let v = [];
2736
- if (h != null && h.contents.some((U) => Array.isArray(U) && (U == null ? void 0 : U.find((g) => g.children))))
2737
- Pa.value === "" ? v = (B = (t = an(h == null ? void 0 : h.contents, n, o)) == null ? void 0 : t[0]) == null ? void 0 : B.filter((U) => !Array.isArray(U)) : (Pa.value.split("-"), v = (E = an(h == null ? void 0 : h.contents, n, o)) == null ? void 0 : E[0]);
2734
+ if (ca.value === "" ? m = A == null ? void 0 : A[0] : m = (A == null ? void 0 : A.find((g) => (g == null ? void 0 : g.selectLabel) === "(" + ca.value + ")")) ?? (A == null ? void 0 : A.find((g) => !(g != null && g.selectLabel))), ((y = h == null ? void 0 : h.contents) == null ? void 0 : y.length) > 0) {
2735
+ let g = [];
2736
+ if (h != null && h.contents.some((U) => Array.isArray(U) && (U == null ? void 0 : U.find((v) => v.children))))
2737
+ Pa.value === "" ? g = (B = (t = an(h == null ? void 0 : h.contents, n, o)) == null ? void 0 : t[0]) == null ? void 0 : B.filter((U) => !Array.isArray(U)) : (Pa.value.split("-"), g = (E = an(h == null ? void 0 : h.contents, n, o)) == null ? void 0 : E[0]);
2738
2738
  else {
2739
- let U = h != null && h.contents.some((g) => Array.isArray(g)) ? (W = h == null ? void 0 : h.contents) == null ? void 0 : W[0] : h == null ? void 0 : h.contents;
2740
- U == null || U.forEach((g, pe) => {
2739
+ let U = h != null && h.contents.some((v) => Array.isArray(v)) ? (W = h == null ? void 0 : h.contents) == null ? void 0 : W[0] : h == null ? void 0 : h.contents;
2740
+ U != null && U.find((v) => (v == null ? void 0 : v.label) === "操作") || U.push({
2741
+ label: "操作"
2742
+ }), U == null || U.forEach((v, pe) => {
2741
2743
  var ll, We, Xl, la, aa;
2742
2744
  let Te = "";
2743
2745
  (We = (ll = ze.value) == null ? void 0 : ll.split("/")) == null || We.forEach((Oe) => {
@@ -2747,58 +2749,58 @@ const _r = (q) => q.match(/\((.*)\)/)[1], fn = {
2747
2749
  Te = Te === "" ? Te + El : Te + "/" + El;
2748
2750
  }
2749
2751
  }), Te = Te + "/";
2750
- const Ee = (Xl = Rl.value) == null ? void 0 : Xl.find((Oe) => (Oe == null ? void 0 : Oe.prop) === (g == null ? void 0 : g.prop));
2751
- v.push({
2752
- label: (g == null ? void 0 : g.label) === "操作" ? n ? "操作" : "" : (g == null ? void 0 : g.label) ?? "",
2753
- prop: (g == null ? void 0 : g.label) === "操作" ? "operate" : (g == null ? void 0 : g.prop) ?? "a" + pe,
2752
+ const Ee = (Xl = Rl.value) == null ? void 0 : Xl.find((Oe) => (Oe == null ? void 0 : Oe.prop) === (v == null ? void 0 : v.prop));
2753
+ g.push({
2754
+ label: (v == null ? void 0 : v.label) === "操作" ? n ? "操作" : "" : (v == null ? void 0 : v.label) ?? "",
2755
+ prop: (v == null ? void 0 : v.label) === "操作" ? "operate" : (v == null ? void 0 : v.prop) ?? "a" + pe,
2754
2756
  // width: t?.label === '操作' ? '200' : (t?.width ? parseInt(t.width) : ''),
2755
- width: g != null && g.width ? parseInt(g.width) : "",
2756
- fixed: (g == null ? void 0 : g.fixed) ?? void 0,
2757
- sortable: (g == null ? void 0 : g.sortable) ?? !1,
2758
- filterable: (g == null ? void 0 : g.filterable) ?? !1,
2759
- operable: (g == null ? void 0 : g.operable) ?? !1,
2760
- showSummary: (g == null ? void 0 : g.showSummary) ?? !1,
2761
- align: (g == null ? void 0 : g.align) ?? "left",
2762
- showOverflowTooltip: (g == null ? void 0 : g.showOverflowTooltip) ?? !0,
2763
- isNotDrag: (g == null ? void 0 : g.isNotDrag) ?? !1,
2764
- isEditCol: (g == null ? void 0 : g.isEditCol) ?? !1,
2765
- isOperate: (g == null ? void 0 : g.isOperate) ?? !1,
2766
- id: (g == null ? void 0 : g.id) ?? pe,
2767
- type: (g == null ? void 0 : g.label) === "操作" ? "operate" : void 0,
2768
- formType: (g == null ? void 0 : g.formType) ?? (g != null && g.groupSelect ? "Select" : ""),
2769
- isTableColHidden: g == null ? void 0 : g.isTableColHidden,
2770
- isFormColHidden: g == null ? void 0 : g.isFormColHidden,
2771
- disabled: g == null ? void 0 : g.disabled,
2772
- options: (g == null ? void 0 : g.options) ?? [],
2773
- value: (g == null ? void 0 : g.value) ?? "",
2774
- formMenuSelect: (g == null ? void 0 : g.formMenuSelect) ?? [],
2775
- isRoute: (g == null ? void 0 : g.isRoute) ?? !1,
2776
- groupSelect: g != null && g.groupSelect ? (la = g == null ? void 0 : g.groupSelect) == null ? void 0 : la.replaceAll('"', "").split(":") : [],
2777
- isMainKey: (g == null ? void 0 : g.isMainKey) || (g == null ? void 0 : g.directiveLabel) === "#isMain",
2757
+ width: v != null && v.width ? parseInt(v.width) : "",
2758
+ fixed: (v == null ? void 0 : v.fixed) ?? void 0,
2759
+ sortable: (v == null ? void 0 : v.sortable) ?? !1,
2760
+ filterable: (v == null ? void 0 : v.filterable) ?? !1,
2761
+ operable: (v == null ? void 0 : v.operable) ?? !1,
2762
+ showSummary: (v == null ? void 0 : v.showSummary) ?? !1,
2763
+ align: (v == null ? void 0 : v.align) ?? "left",
2764
+ showOverflowTooltip: (v == null ? void 0 : v.showOverflowTooltip) ?? !0,
2765
+ isNotDrag: (v == null ? void 0 : v.isNotDrag) ?? !1,
2766
+ isEditCol: (v == null ? void 0 : v.isEditCol) ?? !1,
2767
+ isOperate: (v == null ? void 0 : v.isOperate) ?? !1,
2768
+ id: (v == null ? void 0 : v.id) ?? pe,
2769
+ type: (v == null ? void 0 : v.label) === "操作" ? "operate" : void 0,
2770
+ formType: (v == null ? void 0 : v.formType) ?? (v != null && v.groupSelect ? "Select" : ""),
2771
+ isTableColHidden: v == null ? void 0 : v.isTableColHidden,
2772
+ isFormColHidden: v == null ? void 0 : v.isFormColHidden,
2773
+ disabled: v == null ? void 0 : v.disabled,
2774
+ options: (v == null ? void 0 : v.options) ?? [],
2775
+ value: (v == null ? void 0 : v.value) ?? "",
2776
+ formMenuSelect: (v == null ? void 0 : v.formMenuSelect) ?? [],
2777
+ isRoute: (v == null ? void 0 : v.isRoute) ?? !1,
2778
+ groupSelect: v != null && v.groupSelect ? (la = v == null ? void 0 : v.groupSelect) == null ? void 0 : la.replaceAll('"', "").split(":") : [],
2779
+ isMainKey: (v == null ? void 0 : v.isMainKey) || (v == null ? void 0 : v.directiveLabel) === "#isMain",
2778
2780
  // 同步弹窗列类型到表格列类型
2779
- columnType: (Ee == null ? void 0 : Ee.type) || (g == null ? void 0 : g.columnType) || "TEXTAREA",
2780
- directiveLabel: g == null ? void 0 : g.directiveLabel,
2781
- directiveColor: (g == null ? void 0 : g.directiveColor) ?? !1,
2782
- isExistChild: !!(g != null && g.directiveLabel && (o != null && o[Te]) && !((aa = g == null ? void 0 : g.directiveLabel) != null && aa.includes("@")) && (g == null ? void 0 : g.directiveLabel) === "#isMain"),
2783
- childPath: (g == null ? void 0 : g.directiveLabel) !== "#isMain" ? Te : void 0,
2784
- allSelectionContents: (g == null ? void 0 : g.allSelectionContents) ?? [],
2785
- selectFilter: g == null ? void 0 : g.selectFilter,
2786
- menuId: g == null ? void 0 : g.menuId,
2787
- filterContent: g == null ? void 0 : g.filterContent,
2788
- relatedValueId: g == null ? void 0 : g.relatedValueId
2781
+ columnType: (Ee == null ? void 0 : Ee.type) || (v == null ? void 0 : v.columnType) || "TEXTAREA",
2782
+ directiveLabel: v == null ? void 0 : v.directiveLabel,
2783
+ directiveColor: (v == null ? void 0 : v.directiveColor) ?? !1,
2784
+ isExistChild: !!(v != null && v.directiveLabel && (o != null && o[Te]) && !((aa = v == null ? void 0 : v.directiveLabel) != null && aa.includes("@")) && (v == null ? void 0 : v.directiveLabel) === "#isMain"),
2785
+ childPath: (v == null ? void 0 : v.directiveLabel) !== "#isMain" ? Te : void 0,
2786
+ allSelectionContents: (v == null ? void 0 : v.allSelectionContents) ?? [],
2787
+ selectFilter: v == null ? void 0 : v.selectFilter,
2788
+ menuId: v == null ? void 0 : v.menuId,
2789
+ filterContent: v == null ? void 0 : v.filterContent,
2790
+ relatedValueId: v == null ? void 0 : v.relatedValueId
2789
2791
  });
2790
2792
  });
2791
2793
  }
2792
- X.value = rn(v), rr.value = rn(v), ie.value = (c = X.value) == null ? void 0 : c.map((U) => U == null ? void 0 : U.label), al.value = (x = X.value) == null ? void 0 : x.every((U) => U == null ? void 0 : U.filterable), ge.value = (de = X.value) == null ? void 0 : de.every((U) => U == null ? void 0 : U.operable), Ke.value = (M = X.value) == null ? void 0 : M.every((U) => U == null ? void 0 : U.sortable);
2793
- let J = (P = (_ = nn(X.value)) == null ? void 0 : _.filter((U) => (U == null ? void 0 : U.type) !== "operate")) == null ? void 0 : P.map((U, g) => ({
2794
- prop: (U == null ? void 0 : U.prop) ?? "a" + g,
2794
+ X.value = rn(g), rr.value = rn(g), ie.value = (c = X.value) == null ? void 0 : c.map((U) => U == null ? void 0 : U.label), al.value = (x = X.value) == null ? void 0 : x.every((U) => U == null ? void 0 : U.filterable), ge.value = (de = X.value) == null ? void 0 : de.every((U) => U == null ? void 0 : U.operable), Ke.value = (M = X.value) == null ? void 0 : M.every((U) => U == null ? void 0 : U.sortable);
2795
+ let J = (P = (_ = nn(X.value)) == null ? void 0 : _.filter((U) => (U == null ? void 0 : U.type) !== "operate")) == null ? void 0 : P.map((U, v) => ({
2796
+ prop: (U == null ? void 0 : U.prop) ?? "a" + v,
2795
2797
  column: U.label
2796
2798
  }));
2797
2799
  Ml.value = J;
2798
2800
  let De = [];
2799
2801
  ca.value === "" ? De = b == null ? void 0 : b[0] : De = (b == null ? void 0 : b.find((U) => (U == null ? void 0 : U.selectLabel) === "(" + ca.value + ")")) ?? (b == null ? void 0 : b.find((U) => !(U != null && U.selectLabel)));
2800
2802
  let bl = Array.isArray((ne = De == null ? void 0 : De.contents) == null ? void 0 : ne[0]) && ((ae = De == null ? void 0 : De.contents) != null && ae[0].every((U) => Array.isArray(U))) ? (ee = De == null ? void 0 : De.contents) == null ? void 0 : ee[0] : De == null ? void 0 : De.contents;
2801
- m != null && m.contents && ((ke = m == null ? void 0 : m.contents) == null ? void 0 : ke.length) !== 0 && (bl = (Ue = I(bl)) == null ? void 0 : Ue.map((U, g) => {
2803
+ m != null && m.contents && ((ke = m == null ? void 0 : m.contents) == null ? void 0 : ke.length) !== 0 && (bl = (Ue = I(bl)) == null ? void 0 : Ue.map((U, v) => {
2802
2804
  if (!Array.isArray(U)) {
2803
2805
  let pe = {};
2804
2806
  for (let Te in U)
@@ -2810,7 +2812,7 @@ const _r = (q) => q.match(/\((.*)\)/)[1], fn = {
2810
2812
  const wl = !!((H = X.value) != null && H.find((U) => U.prop === "index"));
2811
2813
  bl = vn(bl, m == null ? void 0 : m.contents, wl);
2812
2814
  const kl = [];
2813
- bl == null || bl.forEach((U, g) => {
2815
+ bl == null || bl.forEach((U, v) => {
2814
2816
  var Te;
2815
2817
  let pe = {};
2816
2818
  if (Array.isArray(U)) {
@@ -2833,12 +2835,12 @@ const _r = (q) => q.match(/\((.*)\)/)[1], fn = {
2833
2835
  if (Array.isArray(U) && U.some((Ee) => Ee == null ? void 0 : Ee.id)) {
2834
2836
  const Ee = (Te = U == null ? void 0 : U.find((ll) => ll.id)) == null ? void 0 : Te.id;
2835
2837
  kl.push(Object.assign(pe, { id: Pr(Ee) }));
2836
- } else pe.id ? kl.push(pe) : kl.push(Object.assign(pe, { id: g.toString() }));
2838
+ } else pe.id ? kl.push(pe) : kl.push(Object.assign(pe, { id: v.toString() }));
2837
2839
  });
2838
2840
  try {
2839
- const U = JSON.parse(sessionStorage.getItem("ocr_last_saved_table") || "null"), g = JSON.parse(sessionStorage.getItem("ocr_last_saved_ids") || "null"), pe = U == null ? void 0 : U.tableId, Te = U == null ? void 0 : U.compIndex;
2840
- if (pe && Array.isArray(g) && g.length > 0 && String(pe) === String(s == null ? void 0 : s.parentTableId) && String(Te) === String(s == null ? void 0 : s.index)) {
2841
- const Ee = new Set(kl.map((We) => String(We == null ? void 0 : We.id))), ll = g.filter((We) => !Ee.has(String(We)));
2841
+ const U = JSON.parse(sessionStorage.getItem("ocr_last_saved_table") || "null"), v = JSON.parse(sessionStorage.getItem("ocr_last_saved_ids") || "null"), pe = U == null ? void 0 : U.tableId, Te = U == null ? void 0 : U.compIndex;
2842
+ if (pe && Array.isArray(v) && v.length > 0 && String(pe) === String(s == null ? void 0 : s.parentTableId) && String(Te) === String(s == null ? void 0 : s.index)) {
2843
+ const Ee = new Set(kl.map((We) => String(We == null ? void 0 : We.id))), ll = v.filter((We) => !Ee.has(String(We)));
2842
2844
  if (ll.length > 0) {
2843
2845
  const We = U == null ? void 0 : U.pageKey, Xl = We != null && We.startsWith("/") ? We.substring(1) : We;
2844
2846
  ((l == null ? void 0 : l[We]) || (l == null ? void 0 : l[Xl]) || []).filter(
@@ -2858,17 +2860,17 @@ const _r = (q) => q.match(/\((.*)\)/)[1], fn = {
2858
2860
  (U) => (U == null ? void 0 : U._isOCRRow) && (U == null ? void 0 : U._ocrTableId) === (s == null ? void 0 : s.index)
2859
2861
  );
2860
2862
  Y.value = Hr(kl, r, X.value), Gl.value = kl, (Me = Gl.value) == null || Me.forEach((U) => {
2861
- var g;
2862
- (g = Ll.value) == null || g.set(U.id, U);
2863
+ var v;
2864
+ (v = Ll.value) == null || v.set(U.id, U);
2863
2865
  });
2864
2866
  const xl = JSON.parse(sessionStorage.getItem("ocr_last_saved_table") || "null"), be = JSON.parse(sessionStorage.getItem("ocr_last_saved_ids") || "null");
2865
2867
  if (xl && Array.isArray(be) && be.length > 0 && String(xl == null ? void 0 : xl.compIndex) === String(s == null ? void 0 : s.index)) {
2866
- const U = new Set((Gl.value || []).map((g) => String(g == null ? void 0 : g.id)));
2867
- be.filter((g) => !U.has(String(g)));
2868
+ const U = new Set((Gl.value || []).map((v) => String(v == null ? void 0 : v.id)));
2869
+ be.filter((v) => !U.has(String(v)));
2868
2870
  }
2869
2871
  if (je.length > 0) {
2870
- const U = new Set((Y.value || []).map((pe) => pe == null ? void 0 : pe.id)), g = je.filter((pe) => !U.has(pe.id));
2871
- g.length > 0 && (Y.value = [...Y.value || [], ...g], Gl.value = [...Gl.value || [], ...g], g.forEach((pe) => {
2872
+ const U = new Set((Y.value || []).map((pe) => pe == null ? void 0 : pe.id)), v = je.filter((pe) => !U.has(pe.id));
2873
+ v.length > 0 && (Y.value = [...Y.value || [], ...v], Gl.value = [...Gl.value || [], ...v], v.forEach((pe) => {
2872
2874
  var Te;
2873
2875
  return (Te = Ll.value) == null ? void 0 : Te.set(pe.id, pe);
2874
2876
  }));
@@ -2876,35 +2878,35 @@ const _r = (q) => q.match(/\((.*)\)/)[1], fn = {
2876
2878
  } else
2877
2879
  X.value = [], Ye.value = [], Y.value = [], Gl.value = [], Ll.value = /* @__PURE__ */ new Map();
2878
2880
  if (((ce = u == null ? void 0 : u.contents) == null ? void 0 : ce.length) > 0)
2879
- if ((Qe = (xe = (he = e == null ? void 0 : e.find((v) => (v == null ? void 0 : v.key) === "filterAllType")) == null ? void 0 : he.value) == null ? void 0 : xe.find((v) => (v == null ? void 0 : v.value) === "onRowButtonContents")) != null && Qe.content) {
2880
- let v = (Je = (le = (O = e == null ? void 0 : e.find((J) => (J == null ? void 0 : J.key) === "filterAllType")) == null ? void 0 : O.value) == null ? void 0 : le.find((J) => (J == null ? void 0 : J.value) === "onButtonContents")) == null ? void 0 : Je.content;
2881
- v = (Be = v == null ? void 0 : v.split(":")) == null ? void 0 : Be[1], v = (el = v.slice(1, (v == null ? void 0 : v.length) - 1)) == null ? void 0 : el.split(","), na.value = (f = u == null ? void 0 : u.contents) == null ? void 0 : f.filter((J) => v == null ? void 0 : v.find((De) => De === (J == null ? void 0 : J.label)));
2881
+ if ((Qe = (xe = (he = e == null ? void 0 : e.find((g) => (g == null ? void 0 : g.key) === "filterAllType")) == null ? void 0 : he.value) == null ? void 0 : xe.find((g) => (g == null ? void 0 : g.value) === "onRowButtonContents")) != null && Qe.content) {
2882
+ let g = (Je = (le = (O = e == null ? void 0 : e.find((J) => (J == null ? void 0 : J.key) === "filterAllType")) == null ? void 0 : O.value) == null ? void 0 : le.find((J) => (J == null ? void 0 : J.value) === "onButtonContents")) == null ? void 0 : Je.content;
2883
+ g = (Be = g == null ? void 0 : g.split(":")) == null ? void 0 : Be[1], g = (el = g.slice(1, (g == null ? void 0 : g.length) - 1)) == null ? void 0 : el.split(","), na.value = (f = u == null ? void 0 : u.contents) == null ? void 0 : f.filter((J) => g == null ? void 0 : g.find((De) => De === (J == null ? void 0 : J.label)));
2882
2884
  } else
2883
2885
  na.value = u == null ? void 0 : u.contents;
2884
2886
  else
2885
2887
  na.value = [];
2886
2888
  if (((ue = p == null ? void 0 : p.contents) == null ? void 0 : ue.length) > 0)
2887
- if ((Se = (k = (Fe = e == null ? void 0 : e.find((v) => (v == null ? void 0 : v.key) === "filterAllType")) == null ? void 0 : Fe.value) == null ? void 0 : k.find((v) => (v == null ? void 0 : v.value) === "onButtonContents")) != null && Se.content) {
2888
- let v = (pl = (cl = (Pe = e == null ? void 0 : e.find((J) => (J == null ? void 0 : J.key) === "filterAllType")) == null ? void 0 : Pe.value) == null ? void 0 : cl.find((J) => (J == null ? void 0 : J.value) === "onButtonContents")) == null ? void 0 : pl.content;
2889
- if (v = (fl = v == null ? void 0 : v.split(":")) == null ? void 0 : fl[1], v = (tl = v.slice(1, (v == null ? void 0 : v.length) - 1)) == null ? void 0 : tl.split(","), Pl.value = (yl = p == null ? void 0 : p.contents) == null ? void 0 : yl.filter((J) => v == null ? void 0 : v.find((De) => De === (J == null ? void 0 : J.label))), $l.value = (hl = p == null ? void 0 : p.contents) == null ? void 0 : hl.filter((J) => v == null ? void 0 : v.find((De) => De === (J == null ? void 0 : J.label))), (dl = p == null ? void 0 : p.contents) != null && dl.some((J) => (J == null ? void 0 : J.label) === "OCR识别") && !((me = Pl.value) != null && me.some((J) => (J == null ? void 0 : J.label) === "OCR识别"))) {
2889
+ if ((Se = (k = (Fe = e == null ? void 0 : e.find((g) => (g == null ? void 0 : g.key) === "filterAllType")) == null ? void 0 : Fe.value) == null ? void 0 : k.find((g) => (g == null ? void 0 : g.value) === "onButtonContents")) != null && Se.content) {
2890
+ let g = (pl = (cl = (Pe = e == null ? void 0 : e.find((J) => (J == null ? void 0 : J.key) === "filterAllType")) == null ? void 0 : Pe.value) == null ? void 0 : cl.find((J) => (J == null ? void 0 : J.value) === "onButtonContents")) == null ? void 0 : pl.content;
2891
+ if (g = (fl = g == null ? void 0 : g.split(":")) == null ? void 0 : fl[1], g = (tl = g.slice(1, (g == null ? void 0 : g.length) - 1)) == null ? void 0 : tl.split(","), Pl.value = (yl = p == null ? void 0 : p.contents) == null ? void 0 : yl.filter((J) => g == null ? void 0 : g.find((De) => De === (J == null ? void 0 : J.label))), $l.value = (hl = p == null ? void 0 : p.contents) == null ? void 0 : hl.filter((J) => g == null ? void 0 : g.find((De) => De === (J == null ? void 0 : J.label))), (dl = p == null ? void 0 : p.contents) != null && dl.some((J) => (J == null ? void 0 : J.label) === "OCR识别") && !((me = Pl.value) != null && me.some((J) => (J == null ? void 0 : J.label) === "OCR识别"))) {
2890
2892
  const J = (Le = p == null ? void 0 : p.contents) == null ? void 0 : Le.find((De) => (De == null ? void 0 : De.label) === "OCR识别");
2891
2893
  Pl.value = [...Pl.value, J], $l.value = [...$l.value, J];
2892
2894
  }
2893
- we.value = !!(v != null && v.find((J) => J === "搜索")), nl.value = !!(v != null && v.find((J) => J === "块状显示"));
2895
+ we.value = !!(g != null && g.find((J) => J === "搜索")), nl.value = !!(g != null && g.find((J) => J === "块状显示"));
2894
2896
  } else
2895
2897
  Pl.value = p == null ? void 0 : p.contents, $l.value = p == null ? void 0 : p.contents;
2896
2898
  else
2897
2899
  Pl.value = [], $l.value = [];
2898
- (gl = Pl.value) != null && gl.some((v) => (v == null ? void 0 : v.label) === "OCR识别") || (Pl.value = [...Pl.value || [], { label: "OCR识别" }]), (Al = $l.value) != null && Al.some((v) => (v == null ? void 0 : v.label) === "OCR识别") || ($l.value = [...$l.value || [], { label: "OCR识别" }]), ba.value = ((Tl = Y == null ? void 0 : Y.value) == null ? void 0 : Tl.length) ?? 0, qr(Y.value), La.value = Y.value, Bl.value && (X.value = (_l = (Cl = Ye.value) == null ? void 0 : Cl.filter((v) => (v == null ? void 0 : v.label) !== "操作")) == null ? void 0 : _l.map((v) => {
2900
+ (gl = Pl.value) != null && gl.some((g) => (g == null ? void 0 : g.label) === "OCR识别") || (Pl.value = [...Pl.value || [], { label: "OCR识别" }]), (Al = $l.value) != null && Al.some((g) => (g == null ? void 0 : g.label) === "OCR识别") || ($l.value = [...$l.value || [], { label: "OCR识别" }]), ba.value = ((Tl = Y == null ? void 0 : Y.value) == null ? void 0 : Tl.length) ?? 0, qr(Y.value), La.value = Y.value, Bl.value && (X.value = (_l = (Cl = Ye.value) == null ? void 0 : Cl.filter((g) => (g == null ? void 0 : g.label) !== "操作")) == null ? void 0 : _l.map((g) => {
2899
2901
  var J;
2900
2902
  return {
2901
- ...v,
2903
+ ...g,
2902
2904
  type: "edit",
2903
- optionUrl: v != null && v.formMenuSelect && ((J = v == null ? void 0 : v.formMenuSelect) == null ? void 0 : J.length) > 0 ? {
2904
- groupSelect: v == null ? void 0 : v.groupSelect,
2905
- menuSelect: v == null ? void 0 : v.formMenuSelect,
2905
+ optionUrl: g != null && g.formMenuSelect && ((J = g == null ? void 0 : g.formMenuSelect) == null ? void 0 : J.length) > 0 ? {
2906
+ groupSelect: g == null ? void 0 : g.groupSelect,
2907
+ menuSelect: g == null ? void 0 : g.formMenuSelect,
2906
2908
  selectRelateType: "",
2907
- type: v == null ? void 0 : v.formType
2909
+ type: g == null ? void 0 : g.formType
2908
2910
  } : null
2909
2911
  };
2910
2912
  }), vr());
@@ -3699,7 +3701,7 @@ const _r = (q) => q.match(/\((.*)\)/)[1], fn = {
3699
3701
  ]);
3700
3702
  };
3701
3703
  }
3702
- }, zi = /* @__PURE__ */ lr(Ci, [["__scopeId", "data-v-5f9f9fba"]]);
3704
+ }, zi = /* @__PURE__ */ lr(Ci, [["__scopeId", "data-v-1d35a8e8"]]);
3703
3705
  export {
3704
3706
  Rs as a,
3705
3707
  _r as f,
@@ -1,5 +1,5 @@
1
1
  import { ref as V, computed as Z, resolveComponent as K, createElementBlock as w, openBlock as r, Fragment as ee, renderList as ae, createElementVNode as g, toDisplayString as Q, createVNode as C, watch as ue, createBlock as A, resolveDynamicComponent as X, unref as h, withCtx as D, isRef as ze, createTextVNode as te, createCommentVNode as G, normalizeStyle as Xe, withModifiers as ne, normalizeClass as Ge, nextTick as Ke } from "vue";
2
- import { J as ve, g as Ye, D as je, B as Qe, C as He, b as Ze } from "./index-BneQy4Bp.js";
2
+ import { J as ve, g as Ye, D as je, B as Qe, C as He, b as Ze } from "./index-DBe7pvvC.js";
3
3
  import { p as ie, s as le, c as R, E as ea } from "./index-7MBVUN82.js";
4
4
  import { a as me, u as qe, E as aa } from "./index-3oQGURYh.js";
5
5
  import { s as W, h as We, o as Je, b as ta, c as he, d as na, f as ce, g as la, i as oa, j as Pe, k as sa, l as fe, m as re, n as ca, t as ra, p as ua } from "./array-B6rjrXeo.js";
@@ -1,5 +1,5 @@
1
- import { _ as I } from "./index.vue_vue_type_style_index_0_scoped_3d3811e8_lang-DteLXjpC.js";
2
- import { a as W, d as X, f as Y, s as Z } from "./index.vue_vue_type_style_index_0_scoped_3d3811e8_lang-DteLXjpC.js";
1
+ import { _ as I } from "./index.vue_vue_type_style_index_0_scoped_3d3811e8_lang-CdWS_tx_.js";
2
+ import { a as W, d as X, f as Y, s as Z } from "./index.vue_vue_type_style_index_0_scoped_3d3811e8_lang-CdWS_tx_.js";
3
3
  import { resolveComponent as r, createElementBlock as l, openBlock as n, Fragment as g, createVNode as s, createCommentVNode as d, withCtx as i, normalizeStyle as E, toDisplayString as c, createElementVNode as p, renderList as _, createTextVNode as M, createBlock as S, resolveDynamicComponent as L } from "vue";
4
4
  import { _ as V } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
5
  const $ = ["title"], N = {
@@ -1,5 +1,5 @@
1
1
  import { ref as l, watch as m, defineComponent as b, reactive as y, onMounted as g, createElementBlock as D, openBlock as f, createVNode as i } from "vue";
2
- import { s as h } from "./index-BPug-xrs.js";
2
+ import { s as h } from "./index-BWQsJVZu.js";
3
3
  import { g as C, s as c } from "./index-7MBVUN82.js";
4
4
  import { ag as k, af as _, a as S, u as A, ah as T } from "./index-3oQGURYh.js";
5
5
  const B = S(), { itemData: I } = c(B), u = l(0), P = l([
@@ -1,5 +1,5 @@
1
1
  import { ref as n, computed as c, defineComponent as s, reactive as p, onMounted as i, createElementBlock as u, openBlock as f, createVNode as b } from "vue";
2
- import { s as m } from "./index-BPug-xrs.js";
2
+ import { s as m } from "./index-BWQsJVZu.js";
3
3
  import { g as d, c as _ } from "./index-CO41nOz7.js";
4
4
  import { _ as k } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
5
  const l = n([]), g = c(() => [
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as z, reactive as R, onMounted as T, watch as A, nextTick as U, resolveComponent as i, createElementBlock as k, openBlock as u, createVNode as c, withCtx as l, createElementVNode as _, toDisplayString as g, Fragment as v, renderList as B, createBlock as b, createTextVNode as f, withDirectives as I, vShow as P } from "vue";
2
- import { s as E } from "./index-BPug-xrs.js";
2
+ import { s as E } from "./index-BWQsJVZu.js";
3
3
  import { u as F, aj as x } from "./index-3oQGURYh.js";
4
4
  import { s as O, c as j } from "./index-7MBVUN82.js";
5
5
  import { _ as H } from "./_plugin-vue_export-helper-CHgC5LLL.js";
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index.vue_vue_type_style_index_0_scoped_3d3811e8_lang-bpzNCdhC.cjs"),e=require("vue"),f=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),v=["title"],_={key:1,class:"menu-title",style:{display:"flex",width:"100px"}},B={key:2,class:"menu-operate-icon"},y={class:"menu-config-wrap"},M=["onClick"],m={class:"module-dialog-content"};function V(o,l,E,w,D,S){var a;const g=e.resolveComponent("ss-input"),s=e.resolveComponent("svg-icon"),C=e.resolveComponent("el-popover"),h=e.resolveComponent("ss-menu"),r=e.resolveComponent("el-button"),k=e.resolveComponent("ss-dialog");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(h,{class:"vertical-menu",mode:o.mode,menuList:o.renderMenuList,isCollapse:o.isCollapse,uniqueOpened:!0,onClickMenu:o.clickMenu,onOpenMenu:o.openMenu,onCloseMenu:o.closeMenu},{title:e.withCtx(({menu:t})=>{var d,p,c,u;return[!o.fixElement||(t==null?void 0:t.path)!==((d=o.fixElement)==null?void 0:d.path)?(e.openBlock(),e.createElementBlock("span",{key:0,title:t.title,class:"menu-title",style:e.normalizeStyle({marginRight:t!=null&&t.config&&((p=t==null?void 0:t.config)==null?void 0:p.length)>0?"25px":"1px"})},e.toDisplayString(t.title??""),13,v)):e.createCommentVNode("",!0),o.fixElement&&(t==null?void 0:t.path)===((c=o.fixElement)==null?void 0:c.path)?(e.openBlock(),e.createElementBlock("span",_,[e.createVNode(g,{value:t.title,onBlur:n=>o.onBlur(n,t)},null,8,["value","onBlur"])])):e.createCommentVNode("",!0),t!=null&&t.config&&((u=t==null?void 0:t.config)==null?void 0:u.length)>0?(e.openBlock(),e.createElementBlock("span",B,[e.createVNode(C,{title:"",placement:"bottom-start",trigger:"hover","popper-class":"menu-operate-popover"},{reference:e.withCtx(()=>[e.createVNode(s,{name:"more",style:{cursor:"pointer",width:"15px",height:"15px"}})]),default:e.withCtx(()=>[e.createElementVNode("div",y,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t==null?void 0:t.config,n=>(e.openBlock(),e.createElementBlock("div",{class:"menu-config-item",key:n.id,onClick:b=>o.clickMenuIcon(t,n)},[e.createVNode(s,{name:n==null?void 0:n.operateIcon,style:{width:"15px",height:"15px","margin-right":"8px"}},null,8,["name"]),e.createElementVNode("span",null,e.toDisplayString(n==null?void 0:n.operateType),1)],8,M))),128))])]),_:2},1024)])):e.createCommentVNode("",!0)]}),_:1},8,["mode","menuList","isCollapse","onClickMenu","onOpenMenu","onCloseMenu"]),((a=o.renderMenuList)==null?void 0:a.length)>0?(e.openBlock(),e.createElementBlock("div",{key:0,class:"fold-icon",onClick:l[0]||(l[0]=(...t)=>o.handleMenuCollapse&&o.handleMenuCollapse(...t))},[e.createVNode(s,{name:o.isCollapse?"expand":"pack",style:{width:"15px",height:"15px"}},null,8,["name"])])):e.createCommentVNode("",!0),e.createVNode(k,{class:"module-dialog",title:o.dialogInfo.title,visible:o.dialogInfo.show,width:o.dialogInfo.width,onBeforeDestroy:o.beforeDialogDestroy},{default:e.withCtx(()=>[e.createElementVNode("div",m,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.dialogRenderComps,t=>(e.openBlock(),e.createElementBlock("div",{key:t.id},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.getComponents((t==null?void 0:t.comp)??"Input")),{itemData:t==null?void 0:t.compData,key:t==null?void 0:t.id,content:(t==null?void 0:t.contents)??[],config:t==null?void 0:t.config,onContentChange:o.handleCompChange},null,40,["itemData","content","config","onContentChange"]))]))),128))])]),footer:e.withCtx(()=>[e.createElementVNode("div",null,[e.createVNode(r,{id:"themeBorderButton",onClick:o.beforeDialogDestroy},{default:e.withCtx(()=>l[1]||(l[1]=[e.createTextVNode("取消")])),_:1,__:[1]},8,["onClick"]),e.createVNode(r,{id:"themeButton",onClick:o.clickSubmitForm},{default:e.withCtx(()=>l[2]||(l[2]=[e.createTextVNode(" 确认 ")])),_:1,__:[2]},8,["onClick"])])]),_:1},8,["title","visible","width","onBeforeDestroy"])],64)}const N=f._export_sfc(i._sfc_main,[["render",V],["__scopeId","data-v-3d3811e8"]]);exports.addSelectMenu=i.addSelectMenu;exports.deleteSelectMenu=i.deleteSelectMenu;exports.fixSelectMenu=i.fixSelectMenu;exports.setComponent=i.setComponent;exports.default=N;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index.vue_vue_type_style_index_0_scoped_3d3811e8_lang-C6Uj52bB.cjs"),e=require("vue"),f=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),v=["title"],_={key:1,class:"menu-title",style:{display:"flex",width:"100px"}},B={key:2,class:"menu-operate-icon"},y={class:"menu-config-wrap"},M=["onClick"],m={class:"module-dialog-content"};function V(o,l,E,w,D,S){var a;const g=e.resolveComponent("ss-input"),s=e.resolveComponent("svg-icon"),C=e.resolveComponent("el-popover"),h=e.resolveComponent("ss-menu"),r=e.resolveComponent("el-button"),k=e.resolveComponent("ss-dialog");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(h,{class:"vertical-menu",mode:o.mode,menuList:o.renderMenuList,isCollapse:o.isCollapse,uniqueOpened:!0,onClickMenu:o.clickMenu,onOpenMenu:o.openMenu,onCloseMenu:o.closeMenu},{title:e.withCtx(({menu:t})=>{var d,p,c,u;return[!o.fixElement||(t==null?void 0:t.path)!==((d=o.fixElement)==null?void 0:d.path)?(e.openBlock(),e.createElementBlock("span",{key:0,title:t.title,class:"menu-title",style:e.normalizeStyle({marginRight:t!=null&&t.config&&((p=t==null?void 0:t.config)==null?void 0:p.length)>0?"25px":"1px"})},e.toDisplayString(t.title??""),13,v)):e.createCommentVNode("",!0),o.fixElement&&(t==null?void 0:t.path)===((c=o.fixElement)==null?void 0:c.path)?(e.openBlock(),e.createElementBlock("span",_,[e.createVNode(g,{value:t.title,onBlur:n=>o.onBlur(n,t)},null,8,["value","onBlur"])])):e.createCommentVNode("",!0),t!=null&&t.config&&((u=t==null?void 0:t.config)==null?void 0:u.length)>0?(e.openBlock(),e.createElementBlock("span",B,[e.createVNode(C,{title:"",placement:"bottom-start",trigger:"hover","popper-class":"menu-operate-popover"},{reference:e.withCtx(()=>[e.createVNode(s,{name:"more",style:{cursor:"pointer",width:"15px",height:"15px"}})]),default:e.withCtx(()=>[e.createElementVNode("div",y,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t==null?void 0:t.config,n=>(e.openBlock(),e.createElementBlock("div",{class:"menu-config-item",key:n.id,onClick:b=>o.clickMenuIcon(t,n)},[e.createVNode(s,{name:n==null?void 0:n.operateIcon,style:{width:"15px",height:"15px","margin-right":"8px"}},null,8,["name"]),e.createElementVNode("span",null,e.toDisplayString(n==null?void 0:n.operateType),1)],8,M))),128))])]),_:2},1024)])):e.createCommentVNode("",!0)]}),_:1},8,["mode","menuList","isCollapse","onClickMenu","onOpenMenu","onCloseMenu"]),((a=o.renderMenuList)==null?void 0:a.length)>0?(e.openBlock(),e.createElementBlock("div",{key:0,class:"fold-icon",onClick:l[0]||(l[0]=(...t)=>o.handleMenuCollapse&&o.handleMenuCollapse(...t))},[e.createVNode(s,{name:o.isCollapse?"expand":"pack",style:{width:"15px",height:"15px"}},null,8,["name"])])):e.createCommentVNode("",!0),e.createVNode(k,{class:"module-dialog",title:o.dialogInfo.title,visible:o.dialogInfo.show,width:o.dialogInfo.width,onBeforeDestroy:o.beforeDialogDestroy},{default:e.withCtx(()=>[e.createElementVNode("div",m,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.dialogRenderComps,t=>(e.openBlock(),e.createElementBlock("div",{key:t.id},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.getComponents((t==null?void 0:t.comp)??"Input")),{itemData:t==null?void 0:t.compData,key:t==null?void 0:t.id,content:(t==null?void 0:t.contents)??[],config:t==null?void 0:t.config,onContentChange:o.handleCompChange},null,40,["itemData","content","config","onContentChange"]))]))),128))])]),footer:e.withCtx(()=>[e.createElementVNode("div",null,[e.createVNode(r,{id:"themeBorderButton",onClick:o.beforeDialogDestroy},{default:e.withCtx(()=>l[1]||(l[1]=[e.createTextVNode("取消")])),_:1,__:[1]},8,["onClick"]),e.createVNode(r,{id:"themeButton",onClick:o.clickSubmitForm},{default:e.withCtx(()=>l[2]||(l[2]=[e.createTextVNode(" 确认 ")])),_:1,__:[2]},8,["onClick"])])]),_:1},8,["title","visible","width","onBeforeDestroy"])],64)}const N=f._export_sfc(i._sfc_main,[["render",V],["__scopeId","data-v-3d3811e8"]]);exports.addSelectMenu=i.addSelectMenu;exports.deleteSelectMenu=i.deleteSelectMenu;exports.fixSelectMenu=i.fixSelectMenu;exports.setComponent=i.setComponent;exports.default=N;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),c=require("./index-CLqCXsqK.cjs"),r=require("./index-Depp3C6m.cjs"),i=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),s={class:"log-wrap"},u=t.defineComponent({__name:"index",setup(_){const e=t.reactive({...c.State});t.onMounted(async()=>{e.tableData=await e.getLogTableDataAsync()});const l=n=>{var o;e.clickButton(n,(o=e.tableData)==null?void 0:o.map(a=>a.id),a=>{console.log("清空操作成功:",a),a&&(e.tableData=[])})};return(n,o)=>(t.openBlock(),t.createElementBlock("div",s,[t.createVNode(r.ssTable,{itemData:e.pageData,allowOperate:!1,allowSelect:!1,onOnButtonClick:l},null,8,["itemData"])]))}}),d=i._export_sfc(u,[["__scopeId","data-v-b4bfde04"]]);exports.default=d;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),c=require("./index-CLqCXsqK.cjs"),r=require("./index-DZ6QQf1F.cjs"),i=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),s={class:"log-wrap"},u=t.defineComponent({__name:"index",setup(_){const e=t.reactive({...c.State});t.onMounted(async()=>{e.tableData=await e.getLogTableDataAsync()});const l=n=>{var o;e.clickButton(n,(o=e.tableData)==null?void 0:o.map(a=>a.id),a=>{console.log("清空操作成功:",a),a&&(e.tableData=[])})};return(n,o)=>(t.openBlock(),t.createElementBlock("div",s,[t.createVNode(r.ssTable,{itemData:e.pageData,allowOperate:!1,allowSelect:!1,onOnButtonClick:l},null,8,["itemData"])]))}}),d=i._export_sfc(u,[["__scopeId","data-v-b4bfde04"]]);exports.default=d;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("vue"),u=require("./index-DOItJqcJ.cjs"),_=require("./index-CXC0u8pm.cjs"),C=require("./index-Depp3C6m.cjs"),r=require("./index-D-uo7H2E.cjs"),g=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),v={class:"menu-content"},x=l.defineComponent({__name:"index",setup(q){const m=_.useMenuState(u.pinia),{menus:c}=u.storeToRefs(m),p=l.ref([]),f=async()=>{var i,t,n,a;const e=await u.getInsofDataApi({key:{type:"mainEquip",systemKey:sessionStorage.getItem("systemKey")}});if(((i=e==null?void 0:e.data)==null?void 0:i.type)==="success"){let o=(n=(t=e==null?void 0:e.data)==null?void 0:t.result)==null?void 0:n.map(s=>s);return o=(a=u.cloneDeep(o))==null?void 0:a.map(s=>{var d;const b=Object.values((d=s==null?void 0:s.value)==null?void 0:d.tableData);return b.unshift({id:s==null?void 0:s.id}),b}),o}else return[]};l.onMounted(async()=>{var n;const e=await f(),t=[{key:"header",contents:[{label:"主菜单名称",formType:"Select",options:(n=u.cloneDeep(c.value))==null?void 0:n.map(a=>({label:a==null?void 0:a.title,value:a==null?void 0:a.title})),prop:"主菜单名称"},{label:"隐藏三维显示",formType:"Switch",value:!1,prop:"隐藏三维显示"},{label:"操作"}]},{key:"extraButton",contents:[{label:"新增"}]},{key:"rowButton",contents:[{label:"查看"},{label:"编辑"},{label:"删除"}]}];t.push({key:"tableContents",contents:e}),p.value=t});const y=e=>{(e==null?void 0:e.buttonName)==="新增"?r.addMenuContent(e==null?void 0:e.singleContent):(e==null?void 0:e.buttonName)==="删除"?r.deleteMenuContent(e==null?void 0:e.singleContent):(e==null?void 0:e.buttonName)==="编辑"&&r.fixMenuContent(e==null?void 0:e.singleContent)};return(e,i)=>(l.openBlock(),l.createElementBlock("div",v,[l.createVNode(C.ssTable,{itemData:p.value,class:"table-content",onChange:y},null,8,["itemData"])]))}}),h=g._export_sfc(x,[["__scopeId","data-v-26f5cadc"]]);exports.default=h;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("vue"),u=require("./index-DOItJqcJ.cjs"),_=require("./index-CXC0u8pm.cjs"),C=require("./index-DZ6QQf1F.cjs"),r=require("./index-D-uo7H2E.cjs"),g=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),v={class:"menu-content"},x=l.defineComponent({__name:"index",setup(q){const m=_.useMenuState(u.pinia),{menus:c}=u.storeToRefs(m),p=l.ref([]),f=async()=>{var i,t,n,a;const e=await u.getInsofDataApi({key:{type:"mainEquip",systemKey:sessionStorage.getItem("systemKey")}});if(((i=e==null?void 0:e.data)==null?void 0:i.type)==="success"){let o=(n=(t=e==null?void 0:e.data)==null?void 0:t.result)==null?void 0:n.map(s=>s);return o=(a=u.cloneDeep(o))==null?void 0:a.map(s=>{var d;const b=Object.values((d=s==null?void 0:s.value)==null?void 0:d.tableData);return b.unshift({id:s==null?void 0:s.id}),b}),o}else return[]};l.onMounted(async()=>{var n;const e=await f(),t=[{key:"header",contents:[{label:"主菜单名称",formType:"Select",options:(n=u.cloneDeep(c.value))==null?void 0:n.map(a=>({label:a==null?void 0:a.title,value:a==null?void 0:a.title})),prop:"主菜单名称"},{label:"隐藏三维显示",formType:"Switch",value:!1,prop:"隐藏三维显示"},{label:"操作"}]},{key:"extraButton",contents:[{label:"新增"}]},{key:"rowButton",contents:[{label:"查看"},{label:"编辑"},{label:"删除"}]}];t.push({key:"tableContents",contents:e}),p.value=t});const y=e=>{(e==null?void 0:e.buttonName)==="新增"?r.addMenuContent(e==null?void 0:e.singleContent):(e==null?void 0:e.buttonName)==="删除"?r.deleteMenuContent(e==null?void 0:e.singleContent):(e==null?void 0:e.buttonName)==="编辑"&&r.fixMenuContent(e==null?void 0:e.singleContent)};return(e,i)=>(l.openBlock(),l.createElementBlock("div",v,[l.createVNode(C.ssTable,{itemData:p.value,class:"table-content",onChange:y},null,8,["itemData"])]))}}),h=g._export_sfc(x,[["__scopeId","data-v-26f5cadc"]]);exports.default=h;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),y=require("./index-Depp3C6m.cjs"),c=require("./index-DOItJqcJ.cjs"),l=require("./index-CXC0u8pm.cjs"),g=l.useModelComp(),{itemData:i}=c.storeToRefs(g),d=o.ref(0),m=o.ref([{label:"机构名称",value:"",name:"deptName"}]),D=e=>{console.log("handleQueryChange",e)},u=o.ref([{key:"extraButton",contents:[{label:"新增"}]},{key:"rowButton",contents:[{label:"编辑"},{label:"删除"}]},{key:"header",contents:[{label:"职位名称",prop:"postName"},{label:"职位排序",formType:"Number",prop:"postOrder"},{label:"备注",formType:"TextArea",prop:"remark"},{label:"操作"}]},{key:"tableContents",contents:[]}]),f=e=>{l.submitTableAsyncByVerify(e.singleContent,e.buttonName,d.value)},h=e=>{console.log("onDoubleClick",e)},C=(e,a)=>{console.log("onButtonClick",e,a)},k=async e=>{const a=await l.handleSubmitAsync(c.getInsofDataApi,{key:{type:"data",systemKey:sessionStorage.getItem("systemKey"),pageKey:e}},"查询"),r=a==null?void 0:a.map(t=>{var n;return{id:t.id,tableData:(n=t==null?void 0:t.value)==null?void 0:n.tableData}});return r==null?void 0:r.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((p,b)=>{s[`a${b}`]=p}),s}else return{...t.tableData,id:t.id}})},_={comp:"Group",name:"/系统管理/职位管理",compData:[{key:"groupContents",contents:[{comp:"Table",compData:u.value,name:""}]}]};o.watch(()=>i.value,e=>{var a;e&&(e==null?void 0:e.length)>0&&(u.value=(a=e==null?void 0:e[0])==null?void 0:a.compData)});const S=Object.freeze(Object.defineProperty({__proto__:null,getPageDataAsync:k,handleItemDataChange:f,handleQueryChange:D,onButtonClick:C,onDoubleClick:h,pageData:u,queryFormData:m,structureId:d,tempPostPageData:_},Symbol.toStringTag,{value:"Module"})),T=o.defineComponent({__name:"index",setup(e){const a=o.reactive({...S}),r=l.useMenuState(),{activeMenuPath:t}=c.storeToRefs(r);return o.onMounted(async()=>{a.structureId=await l.getActivePageStructureId(t.value)}),(n,s)=>(o.openBlock(),o.createElementBlock("div",null,[o.createVNode(y.ssTable,{itemData:a.pageData,onChange:a.handleItemDataChange},null,8,["itemData","onChange"])]))}});exports.default=T;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),y=require("./index-DZ6QQf1F.cjs"),c=require("./index-DOItJqcJ.cjs"),l=require("./index-CXC0u8pm.cjs"),g=l.useModelComp(),{itemData:i}=c.storeToRefs(g),d=o.ref(0),m=o.ref([{label:"机构名称",value:"",name:"deptName"}]),D=e=>{console.log("handleQueryChange",e)},u=o.ref([{key:"extraButton",contents:[{label:"新增"}]},{key:"rowButton",contents:[{label:"编辑"},{label:"删除"}]},{key:"header",contents:[{label:"职位名称",prop:"postName"},{label:"职位排序",formType:"Number",prop:"postOrder"},{label:"备注",formType:"TextArea",prop:"remark"},{label:"操作"}]},{key:"tableContents",contents:[]}]),f=e=>{l.submitTableAsyncByVerify(e.singleContent,e.buttonName,d.value)},h=e=>{console.log("onDoubleClick",e)},C=(e,a)=>{console.log("onButtonClick",e,a)},k=async e=>{const a=await l.handleSubmitAsync(c.getInsofDataApi,{key:{type:"data",systemKey:sessionStorage.getItem("systemKey"),pageKey:e}},"查询"),r=a==null?void 0:a.map(t=>{var n;return{id:t.id,tableData:(n=t==null?void 0:t.value)==null?void 0:n.tableData}});return r==null?void 0:r.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((p,b)=>{s[`a${b}`]=p}),s}else return{...t.tableData,id:t.id}})},_={comp:"Group",name:"/系统管理/职位管理",compData:[{key:"groupContents",contents:[{comp:"Table",compData:u.value,name:""}]}]};o.watch(()=>i.value,e=>{var a;e&&(e==null?void 0:e.length)>0&&(u.value=(a=e==null?void 0:e[0])==null?void 0:a.compData)});const S=Object.freeze(Object.defineProperty({__proto__:null,getPageDataAsync:k,handleItemDataChange:f,handleQueryChange:D,onButtonClick:C,onDoubleClick:h,pageData:u,queryFormData:m,structureId:d,tempPostPageData:_},Symbol.toStringTag,{value:"Module"})),T=o.defineComponent({__name:"index",setup(e){const a=o.reactive({...S}),r=l.useMenuState(),{activeMenuPath:t}=c.storeToRefs(r);return o.onMounted(async()=>{a.structureId=await l.getActivePageStructureId(t.value)}),(n,s)=>(o.openBlock(),o.createElementBlock("div",null,[o.createVNode(y.ssTable,{itemData:a.pageData,onChange:a.handleItemDataChange},null,8,["itemData","onChange"])]))}});exports.default=T;