ss-component-new 1.3.113 → 1.3.114

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 (112) hide show
  1. package/dist/{MTLLoader-BviVUPWi.cjs → MTLLoader-DcIQb_s3.cjs} +1 -1
  2. package/dist/{MTLLoader-y4B1LPuT.js → MTLLoader-iRxhJhIF.js} +34 -34
  3. package/dist/{OrbitControls-Cqppy3wb.cjs → OrbitControls-9REskSZo.cjs} +1 -1
  4. package/dist/{OrbitControls-390k2OM3.js → OrbitControls-PQJZejy_.js} +1 -1
  5. package/dist/{URDFLoader-C2tFq0lk.cjs → URDFLoader-BuABv8Tv.cjs} +1 -1
  6. package/dist/{URDFLoader-BlbEAIgR.js → URDFLoader-Buak6sTX.js} +222 -222
  7. package/dist/{animationData-DfDLy_M4.js → animationData-DJhhkfHw.js} +18 -18
  8. package/dist/{animationData-B1Jlpr7b.cjs → animationData-DiCszzEt.cjs} +1 -1
  9. package/dist/{array-DLBDgy0c.js → array-Be4dCwU5.js} +5 -5
  10. package/dist/{array-ymebeoXj.cjs → array-BsWbhqqH.cjs} +1 -1
  11. package/dist/{iconfont-cBX7rs7k.cjs → iconfont-CTi1EROO.cjs} +1 -1
  12. package/dist/{iconfont-BYa5tDrN.js → iconfont-Dkz3EhnP.js} +37 -37
  13. package/dist/{index-JJBPRJiI.cjs → index-1ATQxYGc.cjs} +1 -1
  14. package/dist/{index-UytjSmc1.cjs → index-69FRQH94.cjs} +1 -1
  15. package/dist/{index-4p0yEeUu.js → index-B2WIMplB.js} +1 -1
  16. package/dist/{index--hQDmx_x.js → index-B2pcDjLn.js} +2 -2
  17. package/dist/{index-pE8_wnGy.cjs → index-B9sLkbkE.cjs} +1 -1
  18. package/dist/{index-DdCyGfF9.cjs → index-BBrdsI9W.cjs} +1 -1
  19. package/dist/{index-DJoiySWn.cjs → index-BEpwtI2Q.cjs} +1 -1
  20. package/dist/{index-BXZlLwr6.cjs → index-Bd8mah99.cjs} +1 -1
  21. package/dist/{index-CXtLJs5O.js → index-BhJTGJWX.js} +27 -25
  22. package/dist/{index-C2yeqxnB.js → index-BhPhyI8f.js} +3 -3
  23. package/dist/{index-bbJ9Y_oO.js → index-BhU0rWGt.js} +3 -3
  24. package/dist/index-BhsUBoCD.cjs +1 -0
  25. package/dist/{index-DpirbR20.js → index-Bjm0BPhX.js} +12 -12
  26. package/dist/{index-BmlomuGZ.cjs → index-Bk8qPn0a.cjs} +1 -1
  27. package/dist/{index-BfNg0B2v.js → index-BsoWrBpk.js} +33 -33
  28. package/dist/{index-DpIzJvIr.cjs → index-BuaAY6T_.cjs} +1 -1
  29. package/dist/{index-DaX27S_0.js → index-BugYnyXc.js} +31 -31
  30. package/dist/{index-DMzBNabY.js → index-Bz_ZsUz_.js} +1 -1
  31. package/dist/{index-D6UEkdRE.cjs → index-C1HjpqRi.cjs} +1 -1
  32. package/dist/{index-CXkaTWVT.js → index-C3LqP4qY.js} +2 -2
  33. package/dist/{index-DovAfsVt.js → index-C4NqB81x.js} +2 -2
  34. package/dist/{index-D0e2ki27.js → index-CMMIt7u5.js} +63 -64
  35. package/dist/{index-DLK6UU4l.cjs → index-C_CGGyPH.cjs} +1 -1
  36. package/dist/{index-CYXsxIou.js → index-CdOlTQZV.js} +1 -1
  37. package/dist/{index-CVwsrCrZ.cjs → index-CdzQfZvY.cjs} +12 -12
  38. package/dist/{index-CaV5K0t4.js → index-Cn5h5u4P.js} +2408 -2005
  39. package/dist/{index-Cg30L32X.cjs → index-CpZcO0Vv.cjs} +3 -3
  40. package/dist/{index-BxmhgJuz.js → index-Cw0eFU8n.js} +1 -1
  41. package/dist/{index-CXlemLjY.js → index-D8c3Spt0.js} +1 -1
  42. package/dist/{index-Drd5_tIE.js → index-DHrzZlzn.js} +2 -2
  43. package/dist/{index-CEiscADV.cjs → index-DVhZbYfk.cjs} +1 -1
  44. package/dist/{index-CJiEoadC.js → index-Dar27fP9.js} +5 -5
  45. package/dist/index-DavcqNxP.cjs +1 -0
  46. package/dist/{index-DczQgLYk.cjs → index-DbAWw4as.cjs} +5 -5
  47. package/dist/{index-C6_KNp1M.cjs → index-DbnQZ22f.cjs} +1 -1
  48. package/dist/{index-CIoHy7Dg.js → index-Ddn_i6kt.js} +3 -3
  49. package/dist/index-DgBjwajW.js +456 -0
  50. package/dist/{index-SeEbZNcJ.cjs → index-DhFQdrUj.cjs} +1 -1
  51. package/dist/index-DiowIVZT.cjs +36 -0
  52. package/dist/{index-YwMY3Aya.js → index-DkgsdCot.js} +7 -7
  53. package/dist/{index-NdxRkX7O.js → index-Do9OpnU6.js} +316 -316
  54. package/dist/{index-DONt1we8.js → index-DpdFnDS3.js} +128 -78
  55. package/dist/{index-mabPGJUl.js → index-DqljyATQ.js} +1924 -1902
  56. package/dist/{index-B9g8IV0C.cjs → index-Dxxg-n__.cjs} +1 -1
  57. package/dist/{index-B22a33l9.js → index-DzSpBcvn.js} +1 -1
  58. package/dist/{index-BjAtlMRE.cjs → index-OS-qw-PB.cjs} +1 -1
  59. package/dist/{index-BVURmufk.js → index-RJF35C5O.js} +7 -7
  60. package/dist/index-SJHk-hwy.cjs +1 -0
  61. package/dist/index-TspEOSLc.cjs +1 -0
  62. package/dist/{index-DnJB2OQC.cjs → index-d198q36G.cjs} +1 -1
  63. package/dist/{index-CVySIgt4.cjs → index-eOampyhu.cjs} +1 -1
  64. package/dist/index-h4MsH7WN.cjs +1 -0
  65. package/dist/{index-DBdrmcqM.cjs → index-hSBc9pHD.cjs} +1 -1
  66. package/dist/index-kP2LUcSw.cjs +1 -0
  67. package/dist/{index-BIOl9xBh.js → index-p6bofhog.js} +2 -2
  68. package/dist/{index-D39f9FDD.cjs → index-rgLAMPYl.cjs} +1 -1
  69. package/dist/{index-8TMkI46d.js → index-tXc9-Dpz.js} +5 -5
  70. package/dist/{index-Cu75UXH1.js → index-wT_u7Sip.js} +2 -2
  71. package/dist/{index.vue_vue_type_style_index_0_scoped_92c12abe_lang-zw0_MXm-.js → index.vue_vue_type_style_index_0_scoped_92c12abe_lang-Cp7jnXuw.js} +19045 -19450
  72. package/dist/{index.vue_vue_type_style_index_0_scoped_92c12abe_lang-CvIVRrBm.cjs → index.vue_vue_type_style_index_0_scoped_92c12abe_lang-CuQjU1nB.cjs} +397 -397
  73. package/dist/{index.vue_vue_type_style_index_1_lang-B2vRPxHe.cjs → index.vue_vue_type_style_index_1_lang-AEdMqNIL.cjs} +2 -2
  74. package/dist/{index.vue_vue_type_style_index_1_lang-B88Ne666.js → index.vue_vue_type_style_index_1_lang-DzaXkSeA.js} +134 -134
  75. package/dist/{main-b1OREkjD.js → main-BuHWLsd1.js} +4 -4
  76. package/dist/{main-ChE0Sl1V.cjs → main-CvEytDJd.cjs} +1 -1
  77. package/dist/{menuIndex-QovY60sY.cjs → menuIndex-7DwfwtqQ.cjs} +1 -1
  78. package/dist/{menuIndex-BlBV6RY8.js → menuIndex-BpEQqtCU.js} +1 -1
  79. package/dist/ss-component.cjs +1 -1
  80. package/dist/ss-component.css +1 -1
  81. package/dist/ss-component.js +10 -10
  82. package/dist/ss-component2.cjs +1 -1
  83. package/dist/ss-component2.js +12 -12
  84. package/dist/{threeModel-BTiM-_yY.cjs → threeModel-BBPdmBqX.cjs} +1 -1
  85. package/dist/{threeModel-CUViA1pV.js → threeModel-qPRHxt0O.js} +62 -62
  86. package/dist/{threePreview-fEcukbqP.js → threePreview-BNspl3PQ.js} +102 -102
  87. package/dist/{threePreview-DiDVwpOj.cjs → threePreview-BQfgRzYJ.cjs} +1 -1
  88. package/dist/{threeSceneView-CxhlNkvh.cjs → threeSceneView-BTG6qz5g.cjs} +1 -1
  89. package/dist/{threeSceneView-BsxoPqAA.js → threeSceneView-Dkw-3Lex.js} +133 -133
  90. package/dist/{threeSceneViewForCPMPIP-CCTwBiPg.js → threeSceneViewForCPMPIP-BUGbgcyW.js} +8 -8
  91. package/dist/{threeSceneViewForCPMPIP-Bq9A66VO.cjs → threeSceneViewForCPMPIP-DZtGuJLA.cjs} +1 -1
  92. package/dist/{threeTrackPathView-D7zto1f1.cjs → threeTrackPathView-BMRciFya.cjs} +1 -1
  93. package/dist/{threeTrackPathView-DbqptnRu.js → threeTrackPathView-D5aLq-PQ.js} +94 -94
  94. package/dist/{threeViewerHost-B9vgyTcM.js → threeViewerHost-B5ajpfKi.js} +17 -17
  95. package/dist/{threeViewerHost-Dhc4vxhv.cjs → threeViewerHost-DZgqSUXb.cjs} +1 -1
  96. package/dist/{urdfTree-CfUfqc73.cjs → urdfTree-CXoYn4F5.cjs} +1 -1
  97. package/dist/{urdfTree-B9gafrR3.js → urdfTree-DVRrRAEg.js} +1 -1
  98. package/dist/{workpieceTreePanel-DzEBifIL.cjs → workpieceTreePanel--Lz2aEfm.cjs} +1 -1
  99. package/dist/{workpieceTreePanel-CoUx6lll.js → workpieceTreePanel-myjwdWI9.js} +81 -81
  100. package/package.json +1 -1
  101. package/dist/index-8ddlDjHL.js +0 -455
  102. package/dist/index-BLGT4-wX.cjs +0 -1
  103. package/dist/index-CTGhzBZx.cjs +0 -1
  104. package/dist/index-D7Ao1GyZ.cjs +0 -1
  105. package/dist/index-DUqjjluX.cjs +0 -1
  106. package/dist/index-NtRUaVwS.cjs +0 -1
  107. package/dist/index-aMvM6ti6.cjs +0 -1
  108. package/dist/index-kutaq0AT.cjs +0 -36
  109. package/dist/obj/model.mtl +0 -42
  110. package/dist/obj/model.obj +0 -26110
  111. package/public/obj/model.mtl +0 -42
  112. package/public/obj/model.obj +0 -26110
@@ -1,20 +1,20 @@
1
1
  var Yt = Object.defineProperty;
2
2
  var Gt = (k, P, h) => P in k ? Yt(k, P, { enumerable: !0, configurable: !0, writable: !0, value: h }) : k[P] = h;
3
3
  var Oa = (k, P, h) => Gt(k, typeof P != "symbol" ? P + "" : P, h);
4
- import { ref as M, watch as ea, nextTick as Ra, resolveComponent as Pe, createBlock as Me, openBlock as B, withCtx as Y, createElementVNode as z, renderSlot as Wn, defineComponent as hr, computed as xa, onMounted as yr, onUnmounted as os, createElementBlock as re, createCommentVNode as Ne, withModifiers as ia, toDisplayString as Fe, createVNode as q, createTextVNode as Ke, Fragment as da, renderList as Aa, normalizeClass as Ba, onBeforeUnmount as Fr, normalizeStyle as Gl, unref as Pa, reactive as El, inject as Xt, provide as Qt, createSlots as Zt, resolveDynamicComponent as Vt } from "vue";
4
+ import { ref as M, watch as ea, nextTick as Ra, resolveComponent as Pe, createBlock as Me, openBlock as j, withCtx as Y, createElementVNode as z, renderSlot as Wn, defineComponent as hr, computed as xa, onMounted as yr, onUnmounted as os, createElementBlock as re, createCommentVNode as Ne, withModifiers as ia, toDisplayString as Fe, createVNode as q, createTextVNode as Ke, Fragment as da, renderList as Aa, normalizeClass as ja, onBeforeUnmount as Fr, normalizeStyle as Gl, unref as Pa, reactive as El, inject as Xt, provide as Qt, createSlots as Zt, resolveDynamicComponent as Vt } from "vue";
5
5
  import { E as Le, z as Jn, A as Hn, g as gr, u as is, e as eo, B as ao, C as Rr, D as qn, f as lo, a as kl, F as ro } from "./index-WLdc1goT.js";
6
- import { a7 as no, d as Rl, k as Ll, a8 as so, a9 as Xl, aa as to, g as jr, b as oo, u as io, ab as al, i as uo, ac as co, ad as po, ae as fo, af as vo, F as ho, D as Lr, l as yo, ag as Yn, y as go, ah as bo, ai as mo, aj as _o, S as ko, ak as So } from "./index.vue_vue_type_style_index_0_scoped_92c12abe_lang-zw0_MXm-.js";
7
- import { c as Te, f as us, p as Sl, s as Ul, u as Co, a as Ao, d as wo, b as To } from "./index-CaV5K0t4.js";
8
- import { j as Oo, a as Ql, _ as Gn, k as xo, d as No, E as Xn, e as Qn, u as Zn } from "./index-DaX27S_0.js";
9
- import { g as Do, d as $o, l as Eo, F as Vn } from "./index.vue_vue_type_style_index_1_lang-B88Ne666.js";
6
+ import { e as Rl, c as Te, i as us, p as Sl, s as Ul, u as no, a as so, d as to, b as oo, k as Lr, L as io } from "./index-Cn5h5u4P.js";
7
+ import { j as uo, a as Ql, _ as Yn, k as co, d as po, E as Gn, e as Xn, u as Qn } from "./index-BugYnyXc.js";
8
+ import { a2 as fo, h as Ll, a3 as vo, a4 as Xl, a5 as ho, g as Br, b as yo, u as go, a6 as al, f as bo, a7 as mo, a8 as _o, a9 as ko, aa as So, F as Co, l as Ao, ab as Zn, w as wo, ac as To, ad as Oo, S as xo, ae as No } from "./index.vue_vue_type_style_index_0_scoped_92c12abe_lang-Cp7jnXuw.js";
9
+ import { g as Do, d as $o, l as Eo, F as Vn } from "./index.vue_vue_type_style_index_1_lang-DzaXkSeA.js";
10
10
  import { _ as vl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
11
- import { s as ul, c as vr } from "./index-DMzBNabY.js";
12
- import { a as Uo, T as Po } from "./threeViewerHost-B9vgyTcM.js";
11
+ import { s as ul, c as vr } from "./index-Bz_ZsUz_.js";
12
+ import { a as Uo, T as Po } from "./threeViewerHost-B5ajpfKi.js";
13
13
  import { h as Ro, b as es, p as Mr, g as Lo, e as Mo } from "./index-DoHjMY5d.js";
14
- import "./index-DpirbR20.js";
15
- import { E as as } from "./index-D0e2ki27.js";
14
+ import "./index-Bjm0BPhX.js";
15
+ import { E as as } from "./index-CMMIt7u5.js";
16
16
  import { i as ls } from "./isString-ttnU1Wjg.js";
17
- const jo = (k) => k.match(/\((.*)\)/)[1], Bo = {
17
+ const Bo = (k) => k.match(/\((.*)\)/)[1], jo = {
18
18
  __name: "index",
19
19
  props: {
20
20
  isVisible: {
@@ -57,7 +57,7 @@ const jo = (k) => k.match(/\((.*)\)/)[1], Bo = {
57
57
  { deep: !0, immediate: !0 }
58
58
  ), (E, Q) => {
59
59
  const n = Pe("el-popover");
60
- return B(), Me(n, {
60
+ return j(), Me(n, {
61
61
  visible: x.value,
62
62
  "onUpdate:visible": Q[0] || (Q[0] = (ne) => x.value = ne),
63
63
  trigger: P.trigger,
@@ -105,8 +105,8 @@ function Fo(k, P, h, x = {}) {
105
105
  for (let L = 1; L < ce.length; L++)
106
106
  y.lineTo(ce[L].x, ce[L].y);
107
107
  y.closePath();
108
- const j = E.replace(/[\d.]+\)$/, `${n})`);
109
- y.fillStyle = j, y.fill(), y.strokeStyle = E.replace(/[\d.]+\)$/, "1)"), y.lineWidth = Q, y.stroke();
108
+ const B = E.replace(/[\d.]+\)$/, `${n})`);
109
+ y.fillStyle = B, y.fill(), y.strokeStyle = E.replace(/[\d.]+\)$/, "1)"), y.lineWidth = Q, y.stroke();
110
110
  }
111
111
  function Pl(k) {
112
112
  if (!k)
@@ -187,7 +187,7 @@ const Io = {
187
187
  if (!$) return;
188
188
  E = !0, Ae = $, Q = "move", n = se.clientX, ne = se.clientY;
189
189
  const G = window.getComputedStyle($), { tx: $e, ty: Qe } = Se(G.transform);
190
- Re = $e, Ue = Qe, document.addEventListener("mousemove", ce), document.addEventListener("mouseup", j);
190
+ Re = $e, Ue = Qe, document.addEventListener("mousemove", ce), document.addEventListener("mouseup", B);
191
191
  }, ke = (se, $) => {
192
192
  const G = fe(se);
193
193
  if (!G) return;
@@ -195,7 +195,7 @@ const Io = {
195
195
  const $e = G.getBoundingClientRect();
196
196
  De = $e.width, Ee = $e.height;
197
197
  const Qe = window.getComputedStyle(G), { tx: Na, ty: Ze } = Se(Qe.transform);
198
- Re = Na, Ue = Ze, document.addEventListener("mousemove", ce), document.addEventListener("mouseup", j);
198
+ Re = Na, Ue = Ze, document.addEventListener("mousemove", ce), document.addEventListener("mouseup", B);
199
199
  }, ce = (se) => {
200
200
  if (!E || !Ae) return;
201
201
  const $ = se.clientX - n, G = se.clientY - ne, $e = 360, Qe = 420;
@@ -213,8 +213,8 @@ const Io = {
213
213
  Ga < Qe ? (Ze = Qe, xe = Ue + (Ee - Qe)) : (Ze = Ga, xe = Ue + G);
214
214
  }
215
215
  Ae.style.width = `${Na}px`, Ae.style.height = `${Ze}px`, Oe(Ae, ll, xe);
216
- }, j = () => {
217
- E = !1, Q = "", Ae = null, document.removeEventListener("mousemove", ce), document.removeEventListener("mouseup", j);
216
+ }, B = () => {
217
+ E = !1, Q = "", Ae = null, document.removeEventListener("mousemove", ce), document.removeEventListener("mouseup", B);
218
218
  }, L = M([]), te = M(!1);
219
219
  ea(
220
220
  () => h.images,
@@ -228,7 +228,7 @@ const Io = {
228
228
  for (const G of se)
229
229
  if (G.url && !G.url.startsWith("blob:") && !G.url.startsWith("http"))
230
230
  try {
231
- const $e = await no(G.url), Qe = URL.createObjectURL($e);
231
+ const $e = await fo(G.url), Qe = URL.createObjectURL($e);
232
232
  $.push({ ...G, blobUrl: Qe });
233
233
  } catch ($e) {
234
234
  console.error(`Failed to load image for preview: ${G.url}`, $e), $.push({ ...G, blobUrl: "" });
@@ -338,7 +338,7 @@ const Io = {
338
338
  });
339
339
  }), (se = ge.value) != null && se.parentElement && K.observe(ge.value.parentElement));
340
340
  }), os(() => {
341
- K && (K.disconnect(), K = null), document.removeEventListener("mousemove", ce), document.removeEventListener("mouseup", j);
341
+ K && (K.disconnect(), K = null), document.removeEventListener("mousemove", ce), document.removeEventListener("mouseup", B);
342
342
  });
343
343
  const Ie = () => {
344
344
  ge.value && Pl(ge.value), x("update:visible", !1), x("close");
@@ -346,7 +346,7 @@ const Io = {
346
346
  return (se, $) => {
347
347
  var Ze, ll;
348
348
  const G = Pe("el-button"), $e = Pe("el-image"), Qe = Pe("Loading"), Na = Pe("el-icon");
349
- return y.value ? (B(), re("div", Io, [
349
+ return y.value ? (j(), re("div", Io, [
350
350
  $[12] || ($[12] = z("div", { class: "ocr-img-preview-backdrop" }, null, -1)),
351
351
  z("div", zo, [
352
352
  z("div", {
@@ -392,12 +392,12 @@ const Io = {
392
392
  class: "resizable-handle bottom-right",
393
393
  onMousedown: $[7] || ($[7] = ia((xe) => ke(xe, "bottom-right"), ["stop"]))
394
394
  }, null, 32),
395
- C.value ? (B(), re("div", Ko, [
395
+ C.value ? (j(), re("div", Ko, [
396
396
  z("div", Wo, [
397
397
  z("div", Jo, [
398
398
  z("span", Ho, Fe(C.value.name ? C.value.name + (C.value.url && C.value.url.lastIndexOf(".") !== -1 ? C.value.url.substring(C.value.url.lastIndexOf(".")) : "") : ""), 1)
399
399
  ]),
400
- L.value.length > 1 ? (B(), re("div", qo, [
400
+ L.value.length > 1 ? (j(), re("div", qo, [
401
401
  q(G, {
402
402
  size: "small",
403
403
  disabled: W.value === 0,
@@ -423,25 +423,25 @@ const Io = {
423
423
  }, 8, ["disabled"])
424
424
  ])) : Ne("", !0)
425
425
  ]),
426
- L.value.length > 1 ? (B(), re("div", Go, [
427
- (B(!0), re(da, null, Aa(L.value, (xe, Ga) => (B(), re("div", {
426
+ L.value.length > 1 ? (j(), re("div", Go, [
427
+ (j(!0), re(da, null, Aa(L.value, (xe, Ga) => (j(), re("div", {
428
428
  key: (xe.name || "") + "-" + Ga,
429
- class: Ba(["img-thumb-item", { active: Ga === W.value }]),
429
+ class: ja(["img-thumb-item", { active: Ga === W.value }]),
430
430
  onClick: (zr) => ca(Ga)
431
431
  }, [
432
- xe != null && xe.blobUrl ? (B(), Me($e, {
432
+ xe != null && xe.blobUrl ? (j(), Me($e, {
433
433
  key: 0,
434
434
  src: xe.blobUrl,
435
435
  fit: "cover",
436
436
  class: "thumb-image",
437
437
  "preview-src-list": [xe.blobUrl],
438
438
  "initial-index": 0
439
- }, null, 8, ["src", "preview-src-list"])) : (B(), re("div", Qo, "加载失败")),
439
+ }, null, 8, ["src", "preview-src-list"])) : (j(), re("div", Qo, "加载失败")),
440
440
  z("div", Zo, Fe(xe.name || "-"), 1)
441
441
  ], 10, Xo))), 128))
442
442
  ])) : Ne("", !0),
443
443
  z("div", Vo, [
444
- te.value ? (B(), re("div", ei, [
444
+ te.value ? (j(), re("div", ei, [
445
445
  q(Na, { class: "is-loading" }, {
446
446
  default: Y(() => [
447
447
  q(Qe)
@@ -449,7 +449,7 @@ const Io = {
449
449
  _: 1
450
450
  }),
451
451
  $[11] || ($[11] = z("span", null, "图片加载中...", -1))
452
- ])) : (Ze = C.value) != null && Ze.blobUrl ? (B(), re(da, { key: 1 }, [
452
+ ])) : (Ze = C.value) != null && Ze.blobUrl ? (j(), re(da, { key: 1 }, [
453
453
  q($e, {
454
454
  ref_key: "imageRef",
455
455
  ref: he,
@@ -464,11 +464,11 @@ const Io = {
464
464
  ref: ge,
465
465
  class: "highlight-canvas"
466
466
  }, null, 512)
467
- ], 64)) : (B(), re("div", ai, [
468
- (ll = C.value) != null && ll.url ? (B(), re("span", li, "图片加载失败")) : (B(), re("span", ri, "暂无图片"))
467
+ ], 64)) : (j(), re("div", ai, [
468
+ (ll = C.value) != null && ll.url ? (j(), re("span", li, "图片加载失败")) : (j(), re("span", ri, "暂无图片"))
469
469
  ]))
470
470
  ])
471
- ])) : (B(), re("div", ni, "暂无图片"))
471
+ ])) : (j(), re("div", ni, "暂无图片"))
472
472
  ])
473
473
  ])) : Ne("", !0);
474
474
  };
@@ -574,8 +574,8 @@ const Io = {
574
574
  return Fr(() => {
575
575
  Ee();
576
576
  }), (fe, Se) => {
577
- const Oe = Pe("el-empty"), Ge = Pe("el-tab-pane"), ke = Pe("el-tabs"), ce = Pe("el-button"), j = Pe("el-dialog");
578
- return B(), Me(j, {
577
+ const Oe = Pe("el-empty"), Ge = Pe("el-tab-pane"), ke = Pe("el-tabs"), ce = Pe("el-button"), B = Pe("el-dialog");
578
+ return j(), Me(B, {
579
579
  "model-value": fe.visible,
580
580
  title: "证书附件预览",
581
581
  width: "1100px",
@@ -595,7 +595,7 @@ const Io = {
595
595
  })
596
596
  ]),
597
597
  default: Y(() => [
598
- fe.versions && fe.versions.length > 0 ? (B(), Me(ke, {
598
+ fe.versions && fe.versions.length > 0 ? (j(), Me(ke, {
599
599
  key: 0,
600
600
  modelValue: y.value,
601
601
  "onUpdate:modelValue": Se[0] || (Se[0] = (L) => y.value = L),
@@ -603,47 +603,47 @@ const Io = {
603
603
  class: "cert-version-tabs"
604
604
  }, {
605
605
  default: Y(() => [
606
- (B(!0), re(da, null, Aa(fe.versions, (L) => (B(), Me(Ge, {
606
+ (j(!0), re(da, null, Aa(fe.versions, (L) => (j(), Me(Ge, {
607
607
  key: L.versionId,
608
608
  name: L.versionId,
609
609
  label: L.label
610
610
  }, {
611
611
  default: Y(() => [
612
612
  z("div", oi, [
613
- L.fileType === "pdf" ? (B(), re("div", ii, [
614
- ne.value ? (B(), Me(Oo, {
613
+ L.fileType === "pdf" ? (j(), re("div", ii, [
614
+ ne.value ? (j(), Me(uo, {
615
615
  key: 1,
616
616
  fileName: De.value,
617
617
  blobUrl: ne.value
618
- }, null, 8, ["fileName", "blobUrl"])) : (B(), Me(Oe, {
618
+ }, null, 8, ["fileName", "blobUrl"])) : (j(), Me(Oe, {
619
619
  key: 0,
620
620
  description: "加载中"
621
621
  }))
622
- ])) : (B(), re(da, { key: 1 }, [
622
+ ])) : (j(), re(da, { key: 1 }, [
623
623
  z("div", ui, [
624
- (B(!0), re(da, null, Aa(L.images || [], (te) => (B(), re("div", {
624
+ (j(!0), re(da, null, Aa(L.images || [], (te) => (j(), re("div", {
625
625
  key: te.url,
626
- class: Ba(["thumb", { active: te.url === E.value }]),
626
+ class: ja(["thumb", { active: te.url === E.value }]),
627
627
  onClick: (W) => E.value = te.url
628
628
  }, [
629
629
  z("div", ci, [
630
- n.value[te.url] ? (B(), re("img", {
630
+ n.value[te.url] ? (j(), re("img", {
631
631
  key: 0,
632
632
  src: n.value[te.url]
633
- }, null, 8, pi)) : (B(), re("div", fi, "加载中"))
633
+ }, null, 8, pi)) : (j(), re("div", fi, "加载中"))
634
634
  ]),
635
635
  z("div", vi, Fe(te.name), 1)
636
636
  ], 10, di))), 128))
637
637
  ]),
638
638
  z("div", hi, [
639
- E.value ? (B(), re(da, { key: 1 }, [
640
- n.value[E.value] ? (B(), re("div", yi, [
639
+ E.value ? (j(), re(da, { key: 1 }, [
640
+ n.value[E.value] ? (j(), re("div", yi, [
641
641
  z("img", {
642
642
  class: "viewer-img",
643
643
  src: n.value[E.value]
644
644
  }, null, 8, gi)
645
- ])) : (B(), re("div", bi, "加载中"))
646
- ], 64)) : (B(), Me(Oe, {
645
+ ])) : (j(), re("div", bi, "加载中"))
646
+ ], 64)) : (j(), Me(Oe, {
647
647
  key: 0,
648
648
  description: "暂无图片"
649
649
  }))
@@ -655,7 +655,7 @@ const Io = {
655
655
  }, 1032, ["name", "label"]))), 128))
656
656
  ]),
657
657
  _: 1
658
- }, 8, ["modelValue"])) : (B(), Me(Oe, {
658
+ }, 8, ["modelValue"])) : (j(), Me(Oe, {
659
659
  key: 1,
660
660
  description: "暂无可预览的证书附件"
661
661
  }))
@@ -679,40 +679,40 @@ const Io = {
679
679
  emits: ["update:visible", "submit"],
680
680
  setup(k, { emit: P }) {
681
681
  const h = (ke = []) => {
682
- const ce = [], j = (L) => {
682
+ const ce = [], B = (L) => {
683
683
  (L || []).forEach((te) => {
684
684
  if (!te) return;
685
685
  const W = te.children || te.childrens || te.columns;
686
- Array.isArray(W) && W.length > 0 ? j(W) : ce.push(te);
686
+ Array.isArray(W) && W.length > 0 ? B(W) : ce.push(te);
687
687
  });
688
688
  };
689
- return j(ke), ce;
689
+ return B(ke), ce;
690
690
  }, x = k, y = P, E = M([]), Q = M(0), n = M("");
691
691
  ea(
692
692
  () => x.candidates,
693
693
  (ke) => {
694
- var ce, j;
694
+ var ce, B;
695
695
  E.value = (ke || []).map((L) => ({
696
696
  ...L,
697
697
  selectedTargetId: (L == null ? void 0 : L.selectedTargetId) || "",
698
698
  __decision: L == null ? void 0 : L.__decision
699
- })), Q.value = 0, n.value = ((j = (ce = E.value) == null ? void 0 : ce[0]) == null ? void 0 : j.selectedTargetId) || "";
699
+ })), Q.value = 0, n.value = ((B = (ce = E.value) == null ? void 0 : ce[0]) == null ? void 0 : B.selectedTargetId) || "";
700
700
  },
701
701
  { immediate: !0, deep: !0 }
702
702
  ), ea(
703
703
  () => x.visible,
704
704
  (ke) => {
705
- var ce, j;
706
- ke && (Q.value = 0, n.value = ((j = (ce = E.value) == null ? void 0 : ce[0]) == null ? void 0 : j.selectedTargetId) || "");
705
+ var ce, B;
706
+ ke && (Q.value = 0, n.value = ((B = (ce = E.value) == null ? void 0 : ce[0]) == null ? void 0 : B.selectedTargetId) || "");
707
707
  }
708
708
  );
709
709
  const ne = xa(() => {
710
710
  var ce;
711
711
  const ke = Number(Q.value || 0);
712
712
  return ((ce = E.value || []) == null ? void 0 : ce[ke]) || null;
713
- }), De = xa(() => (h(x.columns || []) || []).filter((j) => j && j.prop).filter((j) => j.type !== "operate" && j.label !== "操作" && j.prop !== "operate")), Ee = (ke) => {
713
+ }), De = xa(() => (h(x.columns || []) || []).filter((B) => B && B.prop).filter((B) => B.type !== "operate" && B.label !== "操作" && B.prop !== "operate")), Ee = (ke) => {
714
714
  if (!ke) return;
715
- const ce = (E.value || []).findIndex((j) => (j == null ? void 0 : j.idx) === (ke == null ? void 0 : ke.idx));
715
+ const ce = (E.value || []).findIndex((B) => (B == null ? void 0 : B.idx) === (ke == null ? void 0 : ke.idx));
716
716
  ce > -1 && (Q.value = ce, n.value = (ke == null ? void 0 : ke.selectedTargetId) || "");
717
717
  }, Re = (ke) => {
718
718
  if (!ke) {
@@ -721,7 +721,7 @@ const Io = {
721
721
  }
722
722
  n.value = String((ke == null ? void 0 : ke.id) ?? "");
723
723
  }, Ue = (ke, ce = "") => {
724
- const j = Number(Q.value || 0), L = E.value || [], te = L[j];
724
+ const B = Number(Q.value || 0), L = E.value || [], te = L[B];
725
725
  te && (te.__decision = ke, te.selectedTargetId = ce, n.value = ce, E.value = [...L]);
726
726
  }, Ae = () => Ue("skip", ""), fe = () => Ue("add", ""), Se = () => {
727
727
  if (!n.value) {
@@ -733,15 +733,15 @@ const Io = {
733
733
  y("update:visible", !1);
734
734
  }, Ge = () => {
735
735
  const ke = E.value || [];
736
- if (ke.find((j) => (j == null ? void 0 : j.__decision) === "replace" && !(j != null && j.selectedTargetId))) {
736
+ if (ke.find((B) => (B == null ? void 0 : B.__decision) === "replace" && !(B != null && B.selectedTargetId))) {
737
737
  Le.warning("存在“替换”但未选择目标记录的条目,请处理后再提交");
738
738
  return;
739
739
  }
740
740
  y("submit", ke), y("update:visible", !1);
741
741
  };
742
742
  return (ke, ce) => {
743
- const j = Pe("el-table-column"), L = Pe("el-table"), te = Pe("el-button"), W = Pe("el-alert");
744
- return B(), Me(ul, {
743
+ const B = Pe("el-table-column"), L = Pe("el-table"), te = Pe("el-button"), W = Pe("el-alert");
744
+ return j(), Me(ul, {
745
745
  title: "OCR候选匹配",
746
746
  visible: k.visible,
747
747
  "close-on-click-modal": !1,
@@ -765,12 +765,12 @@ const Io = {
765
765
  onCurrentChange: Ee
766
766
  }, {
767
767
  default: Y(() => [
768
- q(j, {
768
+ q(B, {
769
769
  type: "index",
770
770
  label: "序号",
771
771
  width: "60"
772
772
  }),
773
- q(j, {
773
+ q(B, {
774
774
  label: "编号",
775
775
  "min-width": "140"
776
776
  }, {
@@ -779,7 +779,7 @@ const Io = {
779
779
  ]),
780
780
  _: 1
781
781
  }),
782
- q(j, {
782
+ q(B, {
783
783
  label: "候选数",
784
784
  width: "90"
785
785
  }, {
@@ -788,12 +788,12 @@ const Io = {
788
788
  ]),
789
789
  _: 1
790
790
  }),
791
- q(j, {
791
+ q(B, {
792
792
  label: "处理状态",
793
793
  width: "120"
794
794
  }, {
795
795
  default: Y(({ row: C }) => [
796
- (C == null ? void 0 : C.__decision) === "replace" ? (B(), re("span", Ci, "替换")) : (C == null ? void 0 : C.__decision) === "add" ? (B(), re("span", Ai, "新增")) : (C == null ? void 0 : C.__decision) === "skip" ? (B(), re("span", wi, "跳过")) : (B(), re("span", Ti, "未处理"))
796
+ (C == null ? void 0 : C.__decision) === "replace" ? (j(), re("span", Ci, "替换")) : (C == null ? void 0 : C.__decision) === "add" ? (j(), re("span", Ai, "新增")) : (C == null ? void 0 : C.__decision) === "skip" ? (j(), re("span", wi, "跳过")) : (j(), re("span", Ti, "未处理"))
797
797
  ]),
798
798
  _: 1
799
799
  })
@@ -801,7 +801,7 @@ const Io = {
801
801
  _: 1
802
802
  }, 8, ["data"])
803
803
  ]),
804
- E.value && E.value.length > 0 ? (B(), re("div", Oi, [
804
+ E.value && E.value.length > 0 ? (j(), re("div", Oi, [
805
805
  ce[4] || (ce[4] = z("div", { class: "ocr-candidate-title" }, "当前行候选记录(同编号)", -1)),
806
806
  z("div", xi, [
807
807
  q(te, {
@@ -837,7 +837,7 @@ const Io = {
837
837
  __: [3]
838
838
  }, 8, ["disabled"])
839
839
  ]),
840
- (((he = ne.value) == null ? void 0 : he.candidates) || []).length === 0 ? (B(), Me(W, {
840
+ (((he = ne.value) == null ? void 0 : he.candidates) || []).length === 0 ? (j(), Me(W, {
841
841
  key: 0,
842
842
  title: "该编号暂无候选记录,可选择“新增本行”或“跳过本行”。",
843
843
  type: "info",
@@ -855,12 +855,12 @@ const Io = {
855
855
  "highlight-current-row": ""
856
856
  }, {
857
857
  default: Y(() => [
858
- q(j, {
858
+ q(B, {
859
859
  type: "index",
860
860
  label: "序号",
861
861
  width: "60"
862
862
  }),
863
- (B(!0), re(da, null, Aa(De.value, (C) => (B(), Me(j, {
863
+ (j(!0), re(da, null, Aa(De.value, (C) => (j(), Me(B, {
864
864
  key: C.prop,
865
865
  label: C.label,
866
866
  prop: C.prop,
@@ -945,8 +945,8 @@ const Io = {
945
945
  x("update:visible", !1);
946
946
  }, Re = (Ae) => typeof Ae != "number" ? "-" : `${(Ae * 100).toFixed(1)}%`, Ue = (Ae) => typeof Ae != "number" ? "#606266" : Ae >= 0.9 ? "#67c23a" : Ae >= 0.7 ? "#e6a23c" : "#f56c6c";
947
947
  return (Ae, fe) => {
948
- const Se = Pe("el-alert"), Oe = Pe("el-table-column"), Ge = Pe("el-checkbox"), ke = Pe("el-input"), ce = Pe("el-table"), j = Pe("el-button");
949
- return B(), Me(ul, {
948
+ const Se = Pe("el-alert"), Oe = Pe("el-table-column"), Ge = Pe("el-checkbox"), ke = Pe("el-input"), ce = Pe("el-table"), B = Pe("el-button");
949
+ return j(), Me(ul, {
950
950
  title: "OCR识别结果预览",
951
951
  visible: k.visible,
952
952
  onBeforeDestroy: Ee,
@@ -978,7 +978,7 @@ const Io = {
978
978
  width: "60",
979
979
  fixed: ""
980
980
  }),
981
- (B(!0), re(da, null, Aa(E.value, (L) => (B(), Me(Oe, {
981
+ (j(!0), re(da, null, Aa(E.value, (L) => (j(), Me(Oe, {
982
982
  key: L.prop,
983
983
  prop: L.prop,
984
984
  "min-width": L.minWidth || 230,
@@ -986,7 +986,7 @@ const Io = {
986
986
  }, {
987
987
  header: Y(() => [
988
988
  z("div", Ri, [
989
- L.isAccuracy ? Ne("", !0) : (B(), Me(Ge, {
989
+ L.isAccuracy ? Ne("", !0) : (j(), Me(Ge, {
990
990
  key: 0,
991
991
  "model-value": Q.value.includes(L.prop),
992
992
  onChange: (te) => n(L.prop, te),
@@ -997,11 +997,11 @@ const Io = {
997
997
  ])
998
998
  ]),
999
999
  default: Y(({ row: te, $index: W }) => [
1000
- L.isAccuracy ? (B(), re("span", {
1000
+ L.isAccuracy ? (j(), re("span", {
1001
1001
  key: 0,
1002
1002
  class: "accuracy-value",
1003
1003
  style: Gl({ color: Ue(te[L.prop]), fontWeight: 500 })
1004
- }, Fe(Re(te[L.prop])), 5)) : (B(), Me(ke, {
1004
+ }, Fe(Re(te[L.prop])), 5)) : (j(), Me(ke, {
1005
1005
  key: 1,
1006
1006
  modelValue: te[L.prop],
1007
1007
  "onUpdate:modelValue": (he) => te[L.prop] = he,
@@ -1020,7 +1020,7 @@ const Io = {
1020
1020
  ]),
1021
1021
  footer: Y(() => [
1022
1022
  z("div", Li, [
1023
- q(j, {
1023
+ q(B, {
1024
1024
  onClick: Ee,
1025
1025
  id: "themeBorderButton"
1026
1026
  }, {
@@ -1030,7 +1030,7 @@ const Io = {
1030
1030
  _: 1,
1031
1031
  __: [1]
1032
1032
  }),
1033
- q(j, {
1033
+ q(B, {
1034
1034
  class: "ok-button",
1035
1035
  onClick: De,
1036
1036
  id: "themeButton"
@@ -1047,7 +1047,7 @@ const Io = {
1047
1047
  }, 8, ["visible"]);
1048
1048
  };
1049
1049
  }
1050
- }, ji = /* @__PURE__ */ vl(Mi, [["__scopeId", "data-v-df66eb1f"]]), Bi = async (k) => {
1050
+ }, Bi = /* @__PURE__ */ vl(Mi, [["__scopeId", "data-v-df66eb1f"]]), ji = async (k) => {
1051
1051
  var x, y, E, Q;
1052
1052
  let P = (x = k == null ? void 0 : k.menus) == null ? void 0 : x.join("/"), h = await Do(P, !1);
1053
1053
  return h = (y = h == null ? void 0 : h.filter((n) => {
@@ -1136,21 +1136,21 @@ const Io = {
1136
1136
  icon: "cardViewport_101"
1137
1137
  }
1138
1138
  ];
1139
- function De(j, L) {
1140
- return j.map((te) => {
1139
+ function De(B, L) {
1140
+ return B.map((te) => {
1141
1141
  const W = { ...te };
1142
1142
  return L.forEach((he) => {
1143
1143
  delete W[he];
1144
1144
  }), W;
1145
1145
  });
1146
1146
  }
1147
- const Ee = (j) => {
1148
- const L = j.raw;
1147
+ const Ee = (B) => {
1148
+ const L = B.raw;
1149
1149
  if (!L) return;
1150
1150
  const te = new FileReader();
1151
1151
  te.onload = (W) => {
1152
1152
  try {
1153
- const he = new Uint8Array(W.target.result), ge = so(he, { type: "array" }), C = ge.SheetNames[0], We = ge.Sheets[C], wa = Xl.decode_range(We["!ref"]).e.c + 1, sa = new Array(wa).fill(""), pa = [];
1153
+ const he = new Uint8Array(W.target.result), ge = vo(he, { type: "array" }), C = ge.SheetNames[0], We = ge.Sheets[C], wa = Xl.decode_range(We["!ref"]).e.c + 1, sa = new Array(wa).fill(""), pa = [];
1154
1154
  for (const Ie in We) {
1155
1155
  if (Ie[0] === "!") continue;
1156
1156
  const { r: se, c: $ } = Xl.decode_cell(Ie);
@@ -1180,25 +1180,25 @@ const Io = {
1180
1180
  throw Le.error(he.message), new Error(he.message);
1181
1181
  }
1182
1182
  }, te.readAsArrayBuffer(L);
1183
- }, Re = (j) => {
1183
+ }, Re = (B) => {
1184
1184
  var te;
1185
- const L = (te = Q.value) == null ? void 0 : te.reduce((W, he, ge) => (ge === 0 ? W[he.label] = j : W[he.label] = he == null ? void 0 : he.value, W), {});
1186
- h("filter", L, j, !0);
1187
- }, Ue = (j, L = {}) => {
1188
- h("buttonClick", j, "", L);
1189
- }, Ae = (j) => {
1185
+ const L = (te = Q.value) == null ? void 0 : te.reduce((W, he, ge) => (ge === 0 ? W[he.label] = B : W[he.label] = he == null ? void 0 : he.value, W), {});
1186
+ h("filter", L, B, !0);
1187
+ }, Ue = (B, L = {}) => {
1188
+ h("buttonClick", B, "", L);
1189
+ }, Ae = (B) => {
1190
1190
  var L, te;
1191
- Q.value = (te = (L = Ll(Te(j))) == null ? void 0 : L.filter((W) => (W == null ? void 0 : W.label) !== "" && (W == null ? void 0 : W.label) !== "操作")) == null ? void 0 : te.map((W) => ({
1191
+ Q.value = (te = (L = Ll(Te(B))) == null ? void 0 : L.filter((W) => (W == null ? void 0 : W.label) !== "" && (W == null ? void 0 : W.label) !== "操作")) == null ? void 0 : te.map((W) => ({
1192
1192
  label: (W == null ? void 0 : W.label) ?? "",
1193
1193
  value: "",
1194
1194
  name: (W == null ? void 0 : W.label) ?? "",
1195
1195
  isFormColHidden: W == null ? void 0 : W.isTableColHidden,
1196
1196
  width: 2
1197
1197
  }));
1198
- }, fe = M(!1), Se = (j) => {
1198
+ }, fe = M(!1), Se = (B) => {
1199
1199
  var L;
1200
- if ((j == null ? void 0 : j.buttonName) === "确认" && (h("filter", j == null ? void 0 : j.content), fe.value = (j == null ? void 0 : j.content) && Object.values(j == null ? void 0 : j.content).length > 0), (j == null ? void 0 : j.buttonName) === "清空") {
1201
- const te = Te(j == null ? void 0 : j.content);
1200
+ if ((B == null ? void 0 : B.buttonName) === "确认" && (h("filter", B == null ? void 0 : B.content), fe.value = (B == null ? void 0 : B.content) && Object.values(B == null ? void 0 : B.content).length > 0), (B == null ? void 0 : B.buttonName) === "清空") {
1201
+ const te = Te(B == null ? void 0 : B.content);
1202
1202
  for (const W in te)
1203
1203
  te[W] = "";
1204
1204
  Q.value = (L = Q.value) == null ? void 0 : L.map((W) => ({
@@ -1215,17 +1215,17 @@ const Io = {
1215
1215
  ...W,
1216
1216
  value: ""
1217
1217
  }));
1218
- const j = (te = Q.value) == null ? void 0 : te.reduce((W, he) => (W[he.label] = he.value, W), {});
1219
- h("filter", j);
1218
+ const B = (te = Q.value) == null ? void 0 : te.reduce((W, he) => (W[he.label] = he.value, W), {});
1219
+ h("filter", B);
1220
1220
  }, ke = M(null);
1221
1221
  let ce;
1222
- return ce = (j) => {
1222
+ return ce = (B) => {
1223
1223
  var he;
1224
1224
  if (!E.value) return;
1225
- const L = (he = ke == null ? void 0 : ke.value) == null ? void 0 : he.$el, te = L == null ? void 0 : L.contains(j.target);
1225
+ const L = (he = ke == null ? void 0 : ke.value) == null ? void 0 : he.$el, te = L == null ? void 0 : L.contains(B.target);
1226
1226
  let W = !1;
1227
1227
  document.querySelectorAll(".el-popover, .el-popper").forEach((ge) => {
1228
- ge.contains(j.target) && (W = !0);
1228
+ ge.contains(B.target) && (W = !0);
1229
1229
  }), !te && !W && (E.value = !1);
1230
1230
  }, yr(() => {
1231
1231
  document.addEventListener("click", ce), Ae(x.columns);
@@ -1237,12 +1237,12 @@ const Io = {
1237
1237
  Ae(x.columns);
1238
1238
  },
1239
1239
  { deep: !0, immediate: !0 }
1240
- ), (j, L) => {
1240
+ ), (B, L) => {
1241
1241
  var We, ca, wa, sa, pa, ta, ba, La;
1242
1242
  const te = Pe("el-icon"), W = Pe("svg-icon"), he = Pe("el-input"), ge = Pe("el-upload"), C = Pe("el-button");
1243
- return k.pageLayout === "vertical" ? (B(), re("div", Fi, [
1243
+ return k.pageLayout === "vertical" ? (j(), re("div", Fi, [
1244
1244
  z("div", {
1245
- class: Ba(k.compName ? "table-name-wrap" : ""),
1245
+ class: ja(k.compName ? "table-name-wrap" : ""),
1246
1246
  style: Gl({
1247
1247
  background: (x == null ? void 0 : x.level) > 1 ? "transparent" : "var(--ssgroup-background)",
1248
1248
  paddingLeft: ((x == null ? void 0 : x.level) - 1) * 12 + "px",
@@ -1251,8 +1251,8 @@ const Io = {
1251
1251
  })
1252
1252
  }, Fe(k.compName), 7),
1253
1253
  z("div", Ii, [
1254
- x != null && x.filterShow ? (B(), re("div", zi, [
1255
- q(Bo, {
1254
+ x != null && x.filterShow ? (j(), re("div", zi, [
1255
+ q(jo, {
1256
1256
  trigger: "contextmenu",
1257
1257
  ref_key: "popOverRef",
1258
1258
  ref: ke,
@@ -1278,7 +1278,7 @@ const Io = {
1278
1278
  suffix: Y(() => {
1279
1279
  var G, $e;
1280
1280
  return [
1281
- !y.value && (($e = (G = k.filterValues) == null ? void 0 : G.filter((Qe) => Qe)) != null && $e.join("/")) ? (B(), Me(te, {
1281
+ !y.value && (($e = (G = k.filterValues) == null ? void 0 : G.filter((Qe) => Qe)) != null && $e.join("/")) ? (j(), Me(te, {
1282
1282
  key: 0,
1283
1283
  style: { cursor: "pointer" },
1284
1284
  onClick: Ge
@@ -1315,7 +1315,7 @@ const Io = {
1315
1315
  onKeypress: L[3] || (L[3] = ia(() => {
1316
1316
  }, ["stop"]))
1317
1317
  }, [
1318
- (B(), Me(Ql, {
1318
+ (j(), Me(Ql, {
1319
1319
  rowContents: Q.value,
1320
1320
  buttonValue: n.value,
1321
1321
  isRowFlex: !0,
@@ -1330,14 +1330,14 @@ const Io = {
1330
1330
  _: 1
1331
1331
  }, 8, ["isVisible"])
1332
1332
  ])) : Ne("", !0),
1333
- k.buttons && ((We = k.buttons) == null ? void 0 : We.length) > 0 ? (B(), re("div", Ki, [
1334
- (B(!0), re(da, null, Aa((ca = k.buttons) == null ? void 0 : ca.filter((K) => k.isDevMode || (K == null ? void 0 : K.label) !== "修改模板"), (K, Ie) => {
1333
+ k.buttons && ((We = k.buttons) == null ? void 0 : We.length) > 0 ? (j(), re("div", Ki, [
1334
+ (j(!0), re(da, null, Aa((ca = k.buttons) == null ? void 0 : ca.filter((K) => k.isDevMode || (K == null ? void 0 : K.label) !== "修改模板"), (K, Ie) => {
1335
1335
  var se;
1336
- return B(), re("div", {
1336
+ return j(), re("div", {
1337
1337
  class: "extra-contents",
1338
1338
  key: Ie
1339
1339
  }, [
1340
- (K == null ? void 0 : K.type) === "upload" ? (B(), Me(ge, {
1340
+ (K == null ? void 0 : K.type) === "upload" ? (j(), Me(ge, {
1341
1341
  key: 0,
1342
1342
  class: "upload-button-wrap",
1343
1343
  "on-change": Ee,
@@ -1351,7 +1351,7 @@ const Io = {
1351
1351
  var $;
1352
1352
  return [
1353
1353
  z("div", {
1354
- class: Ba(["table-op-action", { "is-disabled": !!k.lockingPage }]),
1354
+ class: ja(["table-op-action", { "is-disabled": !!k.lockingPage }]),
1355
1355
  onClick: (G) => Ue(K == null ? void 0 : K.label)
1356
1356
  }, [
1357
1357
  q(W, {
@@ -1364,12 +1364,12 @@ const Io = {
1364
1364
  }),
1365
1365
  _: 2
1366
1366
  }, 1032, ["disabled"])) : Ne("", !0),
1367
- (K == null ? void 0 : K.type) === "popover" ? (B(), Me(Gn, { key: 1 }, {
1367
+ (K == null ? void 0 : K.type) === "popover" ? (j(), Me(Yn, { key: 1 }, {
1368
1368
  dropTitle: Y(() => {
1369
1369
  var $;
1370
1370
  return [
1371
1371
  z("div", {
1372
- class: Ba(["table-op-action", { "is-disabled": !!k.lockingPage }])
1372
+ class: ja(["table-op-action", { "is-disabled": !!k.lockingPage }])
1373
1373
  }, [
1374
1374
  q(W, {
1375
1375
  class: "table-op-icon",
@@ -1381,26 +1381,26 @@ const Io = {
1381
1381
  }),
1382
1382
  dropMenu: Y(() => [
1383
1383
  z("div", qi, [
1384
- (B(!0), re(da, null, Aa(K == null ? void 0 : K.contents, ($) => {
1384
+ (j(!0), re(da, null, Aa(K == null ? void 0 : K.contents, ($) => {
1385
1385
  var G, $e;
1386
- return B(), re("div", {
1386
+ return j(), re("div", {
1387
1387
  key: $ == null ? void 0 : $.label,
1388
- class: Ba(["table-op-drop-item", { "is-disabled": !!k.lockingPage }]),
1388
+ class: ja(["table-op-drop-item", { "is-disabled": !!k.lockingPage }]),
1389
1389
  onClick: (Qe) => !k.lockingPage && Ue($ == null ? void 0 : $.label)
1390
1390
  }, [
1391
1391
  Ke(Fe($ == null ? void 0 : $.label), 1),
1392
- (G = $ == null ? void 0 : $.label) != null && G.includes("选中") ? (B(), re("span", Gi, "(" + Fe(k.selectNums) + ")", 1)) : Ne("", !0),
1393
- ($e = $ == null ? void 0 : $.label) != null && $e.includes("全部") ? (B(), re("span", Xi, "(" + Fe(k.dataNums) + ")", 1)) : Ne("", !0)
1392
+ (G = $ == null ? void 0 : $.label) != null && G.includes("选中") ? (j(), re("span", Gi, "(" + Fe(k.selectNums) + ")", 1)) : Ne("", !0),
1393
+ ($e = $ == null ? void 0 : $.label) != null && $e.includes("全部") ? (j(), re("span", Xi, "(" + Fe(k.dataNums) + ")", 1)) : Ne("", !0)
1394
1394
  ], 10, Yi);
1395
1395
  }), 128))
1396
1396
  ])
1397
1397
  ]),
1398
1398
  _: 2
1399
1399
  }, 1024)) : Ne("", !0),
1400
- !(K != null && K.type) || (K == null ? void 0 : K.type) === "methodButton" ? (B(), re("div", {
1400
+ !(K != null && K.type) || (K == null ? void 0 : K.type) === "methodButton" ? (j(), re("div", {
1401
1401
  key: 2,
1402
1402
  id: "themeButton",
1403
- class: Ba(["table-op-action", { "is-disabled": !!k.lockingPage }]),
1403
+ class: ja(["table-op-action", { "is-disabled": !!k.lockingPage }]),
1404
1404
  onClick: ($) => !k.lockingPage && Ue(K == null ? void 0 : K.label, K)
1405
1405
  }, [
1406
1406
  q(W, {
@@ -1413,7 +1413,7 @@ const Io = {
1413
1413
  }), 128))
1414
1414
  ])) : Ne("", !0)
1415
1415
  ])
1416
- ])) : (B(), re("div", Vi, [
1416
+ ])) : (j(), re("div", Vi, [
1417
1417
  z("div", eu, [
1418
1418
  z("div", au, [
1419
1419
  q(he, {
@@ -1429,7 +1429,7 @@ const Io = {
1429
1429
  suffix: Y(() => {
1430
1430
  var K, Ie;
1431
1431
  return [
1432
- !y.value && ((Ie = (K = k.filterValues) == null ? void 0 : K.filter((se) => se)) != null && Ie.join("/")) ? (B(), Me(te, {
1432
+ !y.value && ((Ie = (K = k.filterValues) == null ? void 0 : K.filter((se) => se)) != null && Ie.join("/")) ? (j(), Me(te, {
1433
1433
  key: 0,
1434
1434
  style: { cursor: "pointer" },
1435
1435
  onClick: Ge
@@ -1455,14 +1455,14 @@ const Io = {
1455
1455
  _: 1
1456
1456
  }, 8, ["modelValue", "placeholder", "prefix-icon", "disabled"])
1457
1457
  ]),
1458
- k.buttons && ((ba = k.buttons) == null ? void 0 : ba.length) > 0 ? (B(), re("div", lu, [
1459
- (B(!0), re(da, null, Aa((La = k.buttons) == null ? void 0 : La.filter((K) => k.isDevMode || (K == null ? void 0 : K.label) !== "修改模板"), (K, Ie) => {
1458
+ k.buttons && ((ba = k.buttons) == null ? void 0 : ba.length) > 0 ? (j(), re("div", lu, [
1459
+ (j(!0), re(da, null, Aa((La = k.buttons) == null ? void 0 : La.filter((K) => k.isDevMode || (K == null ? void 0 : K.label) !== "修改模板"), (K, Ie) => {
1460
1460
  var se;
1461
- return B(), re("div", {
1461
+ return j(), re("div", {
1462
1462
  class: "extra-contents",
1463
1463
  key: Ie
1464
1464
  }, [
1465
- (K == null ? void 0 : K.type) === "upload" ? (B(), Me(ge, {
1465
+ (K == null ? void 0 : K.type) === "upload" ? (j(), Me(ge, {
1466
1466
  key: 0,
1467
1467
  class: "upload-button-wrap",
1468
1468
  "on-change": Ee,
@@ -1485,9 +1485,9 @@ const Io = {
1485
1485
  }),
1486
1486
  _: 2
1487
1487
  }, 1024)) : Ne("", !0),
1488
- (K == null ? void 0 : K.type) === "popover" ? (B(), Me(Gn, { key: 1 }, {
1488
+ (K == null ? void 0 : K.type) === "popover" ? (j(), Me(Yn, { key: 1 }, {
1489
1489
  dropTitle: Y(() => [
1490
- (K == null ? void 0 : K.type) === "popover" ? (B(), Me(C, {
1490
+ (K == null ? void 0 : K.type) === "popover" ? (j(), Me(C, {
1491
1491
  key: 0,
1492
1492
  style: { background: "transparent", color: "#000000" }
1493
1493
  }, {
@@ -1508,7 +1508,7 @@ const Io = {
1508
1508
  ]),
1509
1509
  dropMenu: Y(() => [
1510
1510
  z("div", su, [
1511
- (B(!0), re(da, null, Aa(K == null ? void 0 : K.contents, ($) => (B(), Me(C, {
1511
+ (j(!0), re(da, null, Aa(K == null ? void 0 : K.contents, ($) => (j(), Me(C, {
1512
1512
  key: $ == null ? void 0 : $.label,
1513
1513
  style: { width: "100%", margin: "0", border: "none", display: "flex", "justify-content": "flex-start" },
1514
1514
  onClick: (G) => Ue($ == null ? void 0 : $.label)
@@ -1517,8 +1517,8 @@ const Io = {
1517
1517
  var G, $e;
1518
1518
  return [
1519
1519
  Ke(Fe($ == null ? void 0 : $.label), 1),
1520
- (G = $ == null ? void 0 : $.label) != null && G.includes("选中") ? (B(), re("span", tu, "(" + Fe(k.selectNums) + ")", 1)) : Ne("", !0),
1521
- ($e = $ == null ? void 0 : $.label) != null && $e.includes("全部") ? (B(), re("span", ou, "(" + Fe(k.dataNums) + ")", 1)) : Ne("", !0)
1520
+ (G = $ == null ? void 0 : $.label) != null && G.includes("选中") ? (j(), re("span", tu, "(" + Fe(k.selectNums) + ")", 1)) : Ne("", !0),
1521
+ ($e = $ == null ? void 0 : $.label) != null && $e.includes("全部") ? (j(), re("span", ou, "(" + Fe(k.dataNums) + ")", 1)) : Ne("", !0)
1522
1522
  ];
1523
1523
  }),
1524
1524
  _: 2
@@ -1527,9 +1527,9 @@ const Io = {
1527
1527
  ]),
1528
1528
  _: 2
1529
1529
  }, 1024)) : Ne("", !0),
1530
- !(K != null && K.type) || (K == null ? void 0 : K.type) === "methodButton" ? (B(), re("div", {
1530
+ !(K != null && K.type) || (K == null ? void 0 : K.type) === "methodButton" ? (j(), re("div", {
1531
1531
  key: 2,
1532
- class: Ba(["table-op-action", { "is-disabled": !!k.lockingPage }]),
1532
+ class: ja(["table-op-action", { "is-disabled": !!k.lockingPage }]),
1533
1533
  id: "themeButton",
1534
1534
  onClick: ($) => !k.lockingPage && Ue(K == null ? void 0 : K.label, K)
1535
1535
  }, [
@@ -1577,7 +1577,7 @@ const Io = {
1577
1577
  name: "output"
1578
1578
  }
1579
1579
  ];
1580
- }), (x, y) => (B(), re("div", fu, [
1580
+ }), (x, y) => (j(), re("div", fu, [
1581
1581
  z("div", vu, [
1582
1582
  q(Ql, {
1583
1583
  rowContents: P.value,
@@ -1593,14 +1593,14 @@ const Io = {
1593
1593
  ])
1594
1594
  ]));
1595
1595
  }
1596
- }), gu = /* @__PURE__ */ vl(yu, [["__scopeId", "data-v-73db0fe7"]]), Br = (k, P) => {
1596
+ }), gu = /* @__PURE__ */ vl(yu, [["__scopeId", "data-v-73db0fe7"]]), jr = (k, P) => {
1597
1597
  let h = k, x = P;
1598
1598
  return Array.isArray(h) && (h = h == null ? void 0 : h.map((y, E) => {
1599
1599
  if (Array.isArray(y)) {
1600
1600
  let Q = {};
1601
1601
  return y = y == null ? void 0 : y.forEach((n, ne) => {
1602
1602
  var De;
1603
- (De = x == null ? void 0 : x[ne]) != null && De.prop ? Q[x[ne].prop] = n : Array.isArray(n) && (Q.children = Br(n, x));
1603
+ (De = x == null ? void 0 : x[ne]) != null && De.prop ? Q[x[ne].prop] = n : Array.isArray(n) && (Q.children = jr(n, x));
1604
1604
  }), Object.assign(Q, { id: E });
1605
1605
  } else
1606
1606
  return y;
@@ -1846,9 +1846,9 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
1846
1846
  const h = k, x = P, y = M(null), E = M(!1), Q = M(""), n = M(""), ne = new Su({
1847
1847
  url: "ws://127.0.0.1:22225"
1848
1848
  });
1849
- function De(j, L) {
1849
+ function De(B, L) {
1850
1850
  var We;
1851
- const te = j.split(","), W = ((We = te[0].match(/:(.*?);/)) == null ? void 0 : We[1]) ?? "image/jpeg", he = atob(te[1]);
1851
+ const te = B.split(","), W = ((We = te[0].match(/:(.*?);/)) == null ? void 0 : We[1]) ?? "image/jpeg", he = atob(te[1]);
1852
1852
  let ge = he.length;
1853
1853
  const C = new Uint8Array(ge);
1854
1854
  for (; ge--; )
@@ -1856,11 +1856,11 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
1856
1856
  return new File([C], L, { type: W });
1857
1857
  }
1858
1858
  function Ee() {
1859
- ne.onLog = (j) => {
1860
- console.log("[GPY]", j);
1861
- }, ne.onDevCount = (j, L) => {
1862
- if (n.value += `设备数量=${j},设备=${L.join(",")}
1863
- `, j > 0) {
1859
+ ne.onLog = (B) => {
1860
+ console.log("[GPY]", B);
1861
+ }, ne.onDevCount = (B, L) => {
1862
+ if (n.value += `设备数量=${B},设备=${L.join(",")}
1863
+ `, B > 0) {
1864
1864
  n.value += `检测到设备,正在打开摄像头...
1865
1865
  `;
1866
1866
  try {
@@ -1872,82 +1872,82 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
1872
1872
  } else
1873
1873
  n.value += `未检测到高拍仪设备!
1874
1874
  `;
1875
- }, ne.onCameraStatus = (j) => {
1876
- j === "opened" ? (E.value = !0, n.value += `摄像头已打开
1875
+ }, ne.onCameraStatus = (B) => {
1876
+ B === "opened" ? (E.value = !0, n.value += `摄像头已打开
1877
1877
  `) : (E.value = !1, n.value += `摄像头已关闭
1878
1878
  `);
1879
- }, ne.onPhoto = (j) => {
1880
- j.flag === 0 && j.base64 ? (Q.value = `data:image/jpeg;base64,${j.base64}`, n.value += `拍照完成,已接收图片
1881
- `) : n.value += `拍照失败 flag=${j.flag}
1879
+ }, ne.onPhoto = (B) => {
1880
+ B.flag === 0 && B.base64 ? (Q.value = `data:image/jpeg;base64,${B.base64}`, n.value += `拍照完成,已接收图片
1881
+ `) : n.value += `拍照失败 flag=${B.flag}
1882
1882
  `;
1883
1883
  };
1884
1884
  }
1885
1885
  const Re = async () => {
1886
1886
  if (await Ra(), !y.value) return;
1887
1887
  Ue(), Ee();
1888
- const j = y.value.getBoundingClientRect();
1889
- ne.init(y.value, Math.floor(j.width), Math.floor(j.height)), n.value += `正在连接设备服务...
1888
+ const B = y.value.getBoundingClientRect();
1889
+ ne.init(y.value, Math.floor(B.width), Math.floor(B.height)), n.value += `正在连接设备服务...
1890
1890
  `, await ne.connect(), n.value += `正在获取设备数量...
1891
1891
  `, ne.getDevCount();
1892
1892
  }, Ue = () => {
1893
1893
  try {
1894
1894
  ne.destroy();
1895
- } catch (j) {
1896
- console.error(j);
1895
+ } catch (B) {
1896
+ console.error(B);
1897
1897
  }
1898
1898
  E.value = !1, Q.value = "", n.value = "";
1899
1899
  };
1900
1900
  ea(
1901
1901
  () => h.visible,
1902
- (j) => {
1903
- j ? Re() : Ue();
1902
+ (B) => {
1903
+ B ? Re() : Ue();
1904
1904
  }
1905
1905
  );
1906
1906
  const Ae = () => {
1907
1907
  try {
1908
1908
  ne.bestSize();
1909
- } catch (j) {
1910
- console.error(j);
1909
+ } catch (B) {
1910
+ console.error(B);
1911
1911
  }
1912
1912
  }, fe = () => {
1913
1913
  try {
1914
1914
  ne.rotateLeft();
1915
- } catch (j) {
1916
- console.error(j);
1915
+ } catch (B) {
1916
+ console.error(B);
1917
1917
  }
1918
1918
  }, Se = () => {
1919
1919
  try {
1920
1920
  ne.rotateRight();
1921
- } catch (j) {
1922
- console.error(j);
1921
+ } catch (B) {
1922
+ console.error(B);
1923
1923
  }
1924
1924
  }, Oe = () => {
1925
1925
  try {
1926
1926
  ne.focus();
1927
- } catch (j) {
1928
- console.error(j);
1927
+ } catch (B) {
1928
+ console.error(B);
1929
1929
  }
1930
1930
  }, Ge = () => {
1931
1931
  n.value += `正在拍照...
1932
1932
  `;
1933
1933
  try {
1934
1934
  ne.photo();
1935
- } catch (j) {
1936
- n.value += `拍照调用失败:${(j == null ? void 0 : j.message) ?? j}
1935
+ } catch (B) {
1936
+ n.value += `拍照调用失败:${(B == null ? void 0 : B.message) ?? B}
1937
1937
  `;
1938
1938
  }
1939
1939
  }, ke = () => {
1940
1940
  if (Q.value) {
1941
- const j = De(Q.value, "gpy-capture.jpg");
1942
- x("confirm", j);
1941
+ const B = De(Q.value, "gpy-capture.jpg");
1942
+ x("confirm", B);
1943
1943
  } else
1944
1944
  x("confirm", null);
1945
1945
  }, ce = () => {
1946
1946
  Ue(), x("cancel");
1947
1947
  };
1948
- return (j, L) => {
1948
+ return (B, L) => {
1949
1949
  const te = Pe("el-input"), W = Pe("el-button");
1950
- return B(), Me(ul, {
1950
+ return j(), Me(ul, {
1951
1951
  title: "扫描录入",
1952
1952
  visible: h.visible,
1953
1953
  onBeforeDestroy: ce,
@@ -1961,14 +1961,14 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
1961
1961
  ref: y,
1962
1962
  style: { flex: "1", "min-width": "0", border: "1px solid var(--el-border-color)", "border-radius": "4px", position: "relative", overflow: "hidden", display: "flex", "align-items": "center", "justify-content": "center", background: "var(--el-fill-color-lighter)" }
1963
1963
  }, [
1964
- E.value ? Ne("", !0) : (B(), re("div", Au, "初始化摄像头..."))
1964
+ E.value ? Ne("", !0) : (j(), re("div", Au, "初始化摄像头..."))
1965
1965
  ], 512),
1966
1966
  z("div", wu, [
1967
1967
  z("div", Tu, [
1968
1968
  L[0] || (L[0] = z("div", { style: { "font-weight": "600", "margin-bottom": "8px" } }, "拍照图片", -1)),
1969
1969
  z("div", Ou, [
1970
- Q.value ? Ne("", !0) : (B(), re("div", xu, "暂无图片")),
1971
- Q.value ? (B(), re("img", {
1970
+ Q.value ? Ne("", !0) : (j(), re("div", xu, "暂无图片")),
1971
+ Q.value ? (j(), re("img", {
1972
1972
  key: 1,
1973
1973
  src: Q.value,
1974
1974
  style: { "max-width": "100%", "max-height": "100%", "object-fit": "contain" },
@@ -2089,11 +2089,11 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
2089
2089
  }
2090
2090
  }
2091
2091
  }), ns = async (k, P) => {
2092
- var Q, n, ne, De, Ee, Re, Ue, Ae, fe, Se, Oe, Ge, ke, ce, j, L, te;
2092
+ var Q, n, ne, De, Ee, Re, Ue, Ae, fe, Se, Oe, Ge, ke, ce, B, L, te;
2093
2093
  let h = (n = (Q = Te(k)) == null ? void 0 : Q.optionUrl) == null ? void 0 : n.menuSelect, x = [];
2094
2094
  h == null || h.forEach((W) => {
2095
2095
  });
2096
- let y = "", E = await to(h);
2096
+ let y = "", E = await ho(h);
2097
2097
  if (E == null || E.forEach((W) => {
2098
2098
  var he, ge, C, We;
2099
2099
  (W == null ? void 0 : W.name) === (((We = (C = (ge = (he = Te(k)) == null ? void 0 : he.optionUrl) == null ? void 0 : ge.groupSelect) == null ? void 0 : C[0]) == null ? void 0 : We.replaceAll("'", "")) ?? "") && (y = W == null ? void 0 : W.id);
@@ -2102,7 +2102,7 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
2102
2102
  const W = await gr({
2103
2103
  id: y
2104
2104
  }), he = (Re = (Ee = (De = (ne = W == null ? void 0 : W.data) == null ? void 0 : ne.result) == null ? void 0 : De[0]) == null ? void 0 : Ee.key) == null ? void 0 : Re.pageKey;
2105
- E = await jr(he, sessionStorage.getItem("systemKey"), "");
2105
+ E = await Br(he, sessionStorage.getItem("systemKey"), "");
2106
2106
  }
2107
2107
  if (y !== "") {
2108
2108
  let W;
@@ -2111,7 +2111,7 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
2111
2111
  return (C == null ? void 0 : C.name) === (((ca = (We = k == null ? void 0 : k.groupSelect) == null ? void 0 : We.split(":")) == null ? void 0 : ca[0]) || ((sa = (wa = k == null ? void 0 : k.optionUrl) == null ? void 0 : wa.groupSelect) == null ? void 0 : sa[0]));
2112
2112
  })) == null ? void 0 : Ae.compData;
2113
2113
  let he = (Se = (fe = W == null ? void 0 : W.find((C) => (C == null ? void 0 : C.key) === "header")) == null ? void 0 : fe.contents) == null ? void 0 : Se.map((C) => C == null ? void 0 : C.label);
2114
- (Ge = (Oe = W == null ? void 0 : W.find((C) => (C == null ? void 0 : C.key) === "header")) == null ? void 0 : Oe.contents) != null && Ge.every((C) => Array.isArray(C)) && (he = (j = Ll((ce = (ke = W == null ? void 0 : W.find((C) => (C == null ? void 0 : C.key) === "header")) == null ? void 0 : ke.contents) == null ? void 0 : ce[0])) == null ? void 0 : j.map((C) => C == null ? void 0 : C.prop));
2114
+ (Ge = (Oe = W == null ? void 0 : W.find((C) => (C == null ? void 0 : C.key) === "header")) == null ? void 0 : Oe.contents) != null && Ge.every((C) => Array.isArray(C)) && (he = (B = Ll((ce = (ke = W == null ? void 0 : W.find((C) => (C == null ? void 0 : C.key) === "header")) == null ? void 0 : ke.contents) == null ? void 0 : ce[0])) == null ? void 0 : B.map((C) => C == null ? void 0 : C.prop));
2115
2115
  let ge = (te = (L = W == null ? void 0 : W.find((C) => (C == null ? void 0 : C.key) === "tableContents")) == null ? void 0 : L.contents) == null ? void 0 : te.map((C) => {
2116
2116
  if (Array.isArray(C))
2117
2117
  C = C == null ? void 0 : C.filter((We) => !(We != null && We.id));
@@ -2124,7 +2124,7 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
2124
2124
  return C;
2125
2125
  });
2126
2126
  ge == null || ge.forEach((C) => {
2127
- Array.isArray(C) ? x.push(oo(C, he)) : x.push(C);
2127
+ Array.isArray(C) ? x.push(yo(C, he)) : x.push(C);
2128
2128
  });
2129
2129
  }
2130
2130
  return x;
@@ -2141,7 +2141,7 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
2141
2141
  });
2142
2142
  };
2143
2143
  return x(P), P;
2144
- }, Mu = (k, P) => (k && (P.sortable = k == null ? void 0 : k.sortable, P.filterable = k == null ? void 0 : k.filterable, P.showSummary = k == null ? void 0 : k.showSummary, P.operable = k == null ? void 0 : k.operable, P.fixed = k == null ? void 0 : k.fixed), P), ju = (k, P) => {
2144
+ }, Mu = (k, P) => (k && (P.sortable = k == null ? void 0 : k.sortable, P.filterable = k == null ? void 0 : k.filterable, P.showSummary = k == null ? void 0 : k.showSummary, P.operable = k == null ? void 0 : k.operable, P.fixed = k == null ? void 0 : k.fixed), P), Bu = (k, P) => {
2145
2145
  const { sortable: h = !1, filterable: x = !1, showSummary: y = !1, operable: E = !1, fixed: Q = !1 } = P || {};
2146
2146
  return {
2147
2147
  prop: k,
@@ -2151,7 +2151,7 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
2151
2151
  operable: E,
2152
2152
  fixed: Q
2153
2153
  };
2154
- }, Bu = async (k) => {
2154
+ }, ju = async (k) => {
2155
2155
  var E, Q;
2156
2156
  if (!k)
2157
2157
  return;
@@ -2196,7 +2196,7 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
2196
2196
  const h = sessionStorage.getItem("systemKey");
2197
2197
  if (!k || !P || !h)
2198
2198
  return;
2199
- const x = await Bu(k);
2199
+ const x = await ju(k);
2200
2200
  return x ? await zu(x == null ? void 0 : x.id, P) : await Iu(k, P);
2201
2201
  }, Ku = { class: "table-content" }, Wu = { class: "menu-config-wrap" }, Ju = ["onClick"], Hu = {
2202
2202
  key: 0,
@@ -2377,9 +2377,9 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
2377
2377
  }
2378
2378
  ]
2379
2379
  }
2380
- ]), Oe = io(Sl);
2380
+ ]), Oe = go(Sl);
2381
2381
  let Ge = "$R";
2382
- const { originalPath: ke } = Ul(Oe), ce = ke.value, j = xa(() => {
2382
+ const { originalPath: ke } = Ul(Oe), ce = ke.value, B = xa(() => {
2383
2383
  var a;
2384
2384
  const e = (a = al(C.value) || []) == null ? void 0 : a.filter((l) => (l == null ? void 0 : l.type) !== "operate" && (l == null ? void 0 : l.label) !== "操作" && (l == null ? void 0 : l.prop) !== "operate");
2385
2385
  return e.length > 0 ? e.every((l) => !!(l != null && l.sortable)) : !1;
@@ -2407,10 +2407,10 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
2407
2407
  setData: se,
2408
2408
  getFileInfo: $,
2409
2409
  getFilesInfo: G
2410
- } = Uo(), $e = M([]), Qe = M(!1), Na = M(), Ze = Co(), { importLoading: ll, activeMenuPath: xe, contentLoading: Ga, linkMenuInfo: zr } = Ul(Ze), fs = uo(Sl), la = Ao(Sl), {
2410
+ } = Uo(), $e = M([]), Qe = M(!1), Na = M(), Ze = no(), { importLoading: ll, activeMenuPath: xe, contentLoading: Ga, linkMenuInfo: zr } = Ul(Ze), fs = bo(Sl), la = so(Sl), {
2411
2411
  extraContents: Xe,
2412
2412
  cacheUpdatingData: Ml,
2413
- tableViewContents: jl,
2413
+ tableViewContents: Bl,
2414
2414
  tableLoading: Ld,
2415
2415
  pageMapState: Cl,
2416
2416
  lockingPage: Kr
@@ -2418,7 +2418,7 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
2418
2418
  M(!1);
2419
2419
  const rl = M("");
2420
2420
  M();
2421
- const Zl = M(!0), Bl = M(0), Wr = M(!0), Da = M(""), Xa = M(!1);
2421
+ const Zl = M(!0), jl = M(0), Wr = M(!0), Da = M(""), Xa = M(!1);
2422
2422
  M([]);
2423
2423
  const vs = M({
2424
2424
  label: "查看三维模型"
@@ -2492,7 +2492,7 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
2492
2492
  }
2493
2493
  }, ms = (e) => {
2494
2494
  const a = sr(e), l = (a == null ? void 0 : a.formType) || (a == null ? void 0 : a.columnType) || "Input";
2495
- return Qn(l) || Qn("Input");
2495
+ return Xn(l) || Xn("Input");
2496
2496
  }, Yr = M([]), Gr = M(null), ol = M([]), hl = M(null), Il = M(""), yl = M(!1), zl = M([]), Cr = M(""), tr = M(!1), or = M([]), wl = M([]), il = M([]), ir = M(null), Xr = M([]), Qr = M("");
2497
2497
  xa(() => {
2498
2498
  var e;
@@ -2586,8 +2586,8 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
2586
2586
  const D = [...f].sort((le, ee) => {
2587
2587
  const oe = (le == null ? void 0 : le.检校日期) || "", J = (ee == null ? void 0 : ee.检校日期) || "";
2588
2588
  if (!oe && !J) {
2589
- const je = parseInt(String((le == null ? void 0 : le.id) || "0")), ye = parseInt(String((ee == null ? void 0 : ee.id) || "0"));
2590
- return je - ye;
2589
+ const Be = parseInt(String((le == null ? void 0 : le.id) || "0")), ye = parseInt(String((ee == null ? void 0 : ee.id) || "0"));
2590
+ return Be - ye;
2591
2591
  }
2592
2592
  if (!oe) return -1;
2593
2593
  if (!J) return 1;
@@ -2746,19 +2746,19 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
2746
2746
  });
2747
2747
  }
2748
2748
  Le.success("已提交候选处理结果"), Zr();
2749
- }, Kl = $o(), As = xa(() => Kl.getConfig()), Wa = M(), Ta = M(), ws = pu(Sl), Tl = M(), Ar = M(0), Ts = wo(Sl), { selectIndex: Os, selectMenu: wr, selectTitle: Md } = Ul(Ts), { selectString: gl } = Ul(ws), xs = To(Sl), { loginUserInfo: _a } = Ul(xs), Ns = M(720), ka = M(!1), ur = M(!1), Qa = M([]), Za = M(), dr = M(!0), en = M(!0), Ds = M([]), $s = Xt("contentRef");
2749
+ }, Kl = $o(), As = xa(() => Kl.getConfig()), Wa = M(), Ta = M(), ws = pu(Sl), Tl = M(), Ar = M(0), Ts = to(Sl), { selectIndex: Os, selectMenu: wr, selectTitle: Md } = Ul(Ts), { selectString: gl } = Ul(ws), xs = oo(Sl), { loginUserInfo: _a } = Ul(xs), Ns = M(720), ka = M(!1), ur = M(!1), Qa = M([]), Za = M(), dr = M(!0), en = M(!0), Ds = M([]), $s = Xt("contentRef");
2750
2750
  Qt("contentRef", $s), ea(() => {
2751
2751
  var e;
2752
2752
  return (e = V.value) == null ? void 0 : e.length;
2753
2753
  }, (e) => {
2754
2754
  he.total = e;
2755
2755
  }), ea(
2756
- () => jl.value,
2756
+ () => Bl.value,
2757
2757
  async () => {
2758
2758
  var a, l, r, o, s, c, d, u, p, b, N, A, I, F, Z, g, w;
2759
- if (((a = jl.value) == null ? void 0 : a.length) === 0 || !((l = n == null ? void 0 : n.itemData) != null && l.find((H) => (H == null ? void 0 : H.key) === "columnPath")) || !((r = n == null ? void 0 : n.itemData) != null && r.find((H) => (H == null ? void 0 : H.key) === "pageColumn"))) return;
2759
+ if (((a = Bl.value) == null ? void 0 : a.length) === 0 || !((l = n == null ? void 0 : n.itemData) != null && l.find((H) => (H == null ? void 0 : H.key) === "columnPath")) || !((r = n == null ? void 0 : n.itemData) != null && r.find((H) => (H == null ? void 0 : H.key) === "pageColumn"))) return;
2760
2760
  let e = (p = (u = (d = (c = (s = (o = n == null ? void 0 : n.itemData) == null ? void 0 : o.find((H) => (H == null ? void 0 : H.key) === "pageColumn")) == null ? void 0 : s.contents) == null ? void 0 : c.split("[")) == null ? void 0 : d[1]) == null ? void 0 : u.split("]")) == null ? void 0 : p[0];
2761
- ((I = (A = (N = (b = n == null ? void 0 : n.itemData) == null ? void 0 : b.find((H) => (H == null ? void 0 : H.key) === "pageColumn")) == null ? void 0 : N.contents) == null ? void 0 : A.split("[")) == null ? void 0 : I[0]) + ((Z = (F = jl.value) == null ? void 0 : F.find((H) => (H == null ? void 0 : H.key) === e)) == null ? void 0 : Z.value), (w = (g = n == null ? void 0 : n.itemData) == null ? void 0 : g.find((H) => (H == null ? void 0 : H.key) === "pageGroup")) == null || w.contents, Cn(compData, n.allMapContents);
2761
+ ((I = (A = (N = (b = n == null ? void 0 : n.itemData) == null ? void 0 : b.find((H) => (H == null ? void 0 : H.key) === "pageColumn")) == null ? void 0 : N.contents) == null ? void 0 : A.split("[")) == null ? void 0 : I[0]) + ((Z = (F = Bl.value) == null ? void 0 : F.find((H) => (H == null ? void 0 : H.key) === e)) == null ? void 0 : Z.value), (w = (g = n == null ? void 0 : n.itemData) == null ? void 0 : g.find((H) => (H == null ? void 0 : H.key) === "pageGroup")) == null || w.contents, Cn(compData, n.allMapContents);
2762
2762
  },
2763
2763
  { deep: !0 }
2764
2764
  );
@@ -2907,9 +2907,9 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
2907
2907
  he.pageSize = e;
2908
2908
  const a = ((r = V.value) == null ? void 0 : r.length) ?? 0, l = e > 0 ? Math.ceil(a / e) : 1;
2909
2909
  he.currentPage > l && (he.currentPage = l || 1, Le.warning("当前页超出范围,已自动跳转到最后一页")), ge("getSliceContLength", he);
2910
- }, js = ({ prop: e, order: a }) => {
2910
+ }, Bs = ({ prop: e, order: a }) => {
2911
2911
  cr.prop = e, cr.order = a, he.currentPage = 1;
2912
- }, Bs = (e, a) => {
2912
+ }, js = (e, a) => {
2913
2913
  var c, d;
2914
2914
  const l = (d = (c = C.value) == null ? void 0 : c.map((u) => u == null ? void 0 : u.prop)) == null ? void 0 : d.filter((u) => u !== "operate");
2915
2915
  let r;
@@ -2919,7 +2919,7 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
2919
2919
  Es(r, a);
2920
2920
  }, Fs = (e, a) => {
2921
2921
  var l;
2922
- la.setRefreshCurStructure(!1), ((l = C.value) == null ? void 0 : l.length) === 0 || Bs(e, a);
2922
+ la.setRefreshCurStructure(!1), ((l = C.value) == null ? void 0 : l.length) === 0 || js(e, a);
2923
2923
  }, Is = (e, a, l, r) => {
2924
2924
  const o = [], s = [], c = (p) => Object.keys(p).length;
2925
2925
  for (const p in e)
@@ -2931,7 +2931,7 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
2931
2931
  }
2932
2932
  o.unshift(s);
2933
2933
  const d = Xl.aoa_to_sheet(o), u = Xl.book_new();
2934
- Xl.book_append_sheet(u, d, r), _o(u, `${a}.xlsx`), Qa.value = [];
2934
+ Xl.book_append_sheet(u, d, r), Oo(u, `${a}.xlsx`), Qa.value = [];
2935
2935
  }, ln = async (e, a, l, r = !1, o) => {
2936
2936
  var s, c, d, u, p, b, N, A;
2937
2937
  try {
@@ -3110,7 +3110,7 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
3110
3110
  var o;
3111
3111
  return ((o = al(e || []) || []) == null ? void 0 : o.filter((s) => (s == null ? void 0 : s.prop) && (s == null ? void 0 : s.type) !== "operate" && (s == null ? void 0 : s.label) !== "操作" && (s == null ? void 0 : s.prop) !== "operate")).map((s) => {
3112
3112
  const { prop: c } = s;
3113
- return ju(c, s);
3113
+ return Bu(c, s);
3114
3114
  });
3115
3115
  }, Xs = async (e) => {
3116
3116
  let a = await Fu(n.index);
@@ -3234,7 +3234,7 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
3234
3234
  }, et = async (e) => {
3235
3235
  let a = null, l = null;
3236
3236
  if (e != null && e.id) {
3237
- const o = Xn.service({
3237
+ const o = Gn.service({
3238
3238
  lock: !0,
3239
3239
  text: "Loading",
3240
3240
  background: "rgba(0, 0, 0, 0.7)"
@@ -3246,7 +3246,7 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
3246
3246
  o.close();
3247
3247
  }
3248
3248
  } else if (e != null && e.downloadUrl) {
3249
- const o = await xr(), s = Xn.service({
3249
+ const o = await xr(), s = Gn.service({
3250
3250
  lock: !0,
3251
3251
  text: "Loading",
3252
3252
  background: "rgba(0, 0, 0, 0.7)"
@@ -3383,7 +3383,7 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
3383
3383
  );
3384
3384
  const ut = () => {
3385
3385
  }, dt = async () => {
3386
- const e = xe.value, a = sessionStorage.getItem("systemKey"), l = await jr(e, a, ""), r = (l == null ? void 0 : l.find((d) => (d == null ? void 0 : d.name) === "方法明细")) || (l == null ? void 0 : l[0]), o = (r == null ? void 0 : r.compData) || [], s = o == null ? void 0 : o.find((d) => {
3386
+ const e = xe.value, a = sessionStorage.getItem("systemKey"), l = await Br(e, a, ""), r = (l == null ? void 0 : l.find((d) => (d == null ? void 0 : d.name) === "方法明细")) || (l == null ? void 0 : l[0]), o = (r == null ? void 0 : r.compData) || [], s = o == null ? void 0 : o.find((d) => {
3387
3387
  const u = d == null ? void 0 : d.key;
3388
3388
  return u === "formContent" || u === "tableContents";
3389
3389
  });
@@ -3424,22 +3424,22 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
3424
3424
  }
3425
3425
  });
3426
3426
  }
3427
- }), a.form = So(l), a;
3427
+ }), a.form = No(l), a;
3428
3428
  }, ft = (e) => {
3429
3429
  const a = [], l = (r) => {
3430
3430
  r && typeof r == "object" && !Array.isArray(r) ? Object.values(r).forEach(l) : a.push(r);
3431
3431
  };
3432
3432
  return l(e), a;
3433
3433
  }, vt = async (e, a, l) => {
3434
- var t, f, _, m, R, X, i, D, le, ee, oe, J, ie, ue, je, ye, me;
3434
+ var t, f, _, m, R, X, i, D, le, ee, oe, J, ie, ue, Be, ye, me;
3435
3435
  Ze.setImportLoading(!0), la.setFreshContent(!1);
3436
3436
  let r = await dt().catch((U) => (Ze.setImportLoading(!1), Promise.reject(U)));
3437
3437
  r = r == null ? void 0 : r.filter((U) => {
3438
3438
  var pe;
3439
3439
  return ((pe = U == null ? void 0 : U.find((we) => we == null ? void 0 : we.id)) == null ? void 0 : pe.id) === (a == null ? void 0 : a.id);
3440
3440
  });
3441
- let o = Yn([(t = C.value) == null ? void 0 : t.filter((U) => (U == null ? void 0 : U.label) !== "操作")]);
3442
- const s = (_ = (f = go(r, o)) == null ? void 0 : f[0]) == null ? void 0 : _.find((U) => {
3441
+ let o = Zn([(t = C.value) == null ? void 0 : t.filter((U) => (U == null ? void 0 : U.label) !== "操作")]);
3442
+ const s = (_ = (f = wo(r, o)) == null ? void 0 : f[0]) == null ? void 0 : _.find((U) => {
3443
3443
  const pe = U == null ? void 0 : U.key;
3444
3444
  return pe === "Interface" || pe === "方法体";
3445
3445
  }), c = s == null ? void 0 : s.value;
@@ -3447,7 +3447,7 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
3447
3447
  console.log("未搜索到isMain, 缺少算法执行接口"), Ze.setImportLoading(!1);
3448
3448
  return;
3449
3449
  }
3450
- const d = C.value ? Yn([C.value]) : [], u = d.find((U) => {
3450
+ const d = C.value ? Zn([C.value]) : [], u = d.find((U) => {
3451
3451
  const pe = U == null ? void 0 : U.prop;
3452
3452
  return pe === "Input1" || pe === "输入数据.输入1" || pe === "样本输入数据";
3453
3453
  }), p = u == null ? void 0 : u.prop;
@@ -3465,7 +3465,7 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
3465
3465
  pe == null || pe.forEach((be, de) => {
3466
3466
  (pe == null ? void 0 : pe.length) - 1 === de && we.push(F), we.push(be);
3467
3467
  }), we = we == null ? void 0 : we[0];
3468
- let Ce = await jr(we, sessionStorage.getItem("systemKey"), ""), ve = Ce == null ? void 0 : Ce.filter((be) => (be == null ? void 0 : be.name) === p);
3468
+ let Ce = await Br(we, sessionStorage.getItem("systemKey"), ""), ve = Ce == null ? void 0 : Ce.filter((be) => (be == null ? void 0 : be.name) === p);
3469
3469
  ve = ve == null ? void 0 : ve.map((be) => {
3470
3470
  var de;
3471
3471
  return be.compData = (de = be == null ? void 0 : be.compData) == null ? void 0 : de.map((ze) => {
@@ -3498,8 +3498,8 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
3498
3498
  } else
3499
3499
  U.push(ve);
3500
3500
  });
3501
- if (await Promise.all(we), !bo(pe)) {
3502
- let ve = await mo(pe), be = (oe = (ee = ve == null ? void 0 : ve.data) == null ? void 0 : ee.result) == null ? void 0 : oe.map((de) => {
3501
+ if (await Promise.all(we), !To(pe)) {
3502
+ let ve = await io(pe), be = (oe = (ee = ve == null ? void 0 : ve.data) == null ? void 0 : ee.result) == null ? void 0 : oe.map((de) => {
3503
3503
  var ze, va, ha, Ha, qa, dl;
3504
3504
  return {
3505
3505
  name: (dl = (qa = (Ha = (ze = de == null ? void 0 : de.url) == null ? void 0 : ze.split("/")) == null ? void 0 : Ha[((ha = (va = de == null ? void 0 : de.url) == null ? void 0 : va.split("/")) == null ? void 0 : ha.length) - 1]) == null ? void 0 : qa.split(".")) == null ? void 0 : dl[0],
@@ -3542,7 +3542,7 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
3542
3542
  platId: parseInt((ue = _a.value) == null ? void 0 : ue.plat_id),
3543
3543
  changeContents: [
3544
3544
  {
3545
- tableName: (je = n == null ? void 0 : n.related) == null ? void 0 : je.find((U) => U == null ? void 0 : U.includes("content")),
3545
+ tableName: (Be = n == null ? void 0 : n.related) == null ? void 0 : Be.find((U) => U == null ? void 0 : U.includes("content")),
3546
3546
  tableContents: T.map((U) => {
3547
3547
  var we, Ce, ve;
3548
3548
  const pe = {
@@ -3580,7 +3580,7 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
3580
3580
  try {
3581
3581
  const c = new FormData();
3582
3582
  c.append("file", e, s.name);
3583
- const d = await Zn(c);
3583
+ const d = await Qn(c);
3584
3584
  s.uploadResult = ((a = d == null ? void 0 : d.data) == null ? void 0 : a.result) || {
3585
3585
  name: s.name,
3586
3586
  url: "",
@@ -3651,7 +3651,7 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
3651
3651
  try {
3652
3652
  const s = new FormData();
3653
3653
  s.append("file", e.raw, e.name);
3654
- const c = await Zn(s);
3654
+ const c = await Qn(s);
3655
3655
  e.uploadResult = ((a = c == null ? void 0 : c.data) == null ? void 0 : a.result) || {
3656
3656
  name: e.name,
3657
3657
  url: "",
@@ -3802,12 +3802,12 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
3802
3802
  return "";
3803
3803
  }, F = I("出厂编号"), Z = I("设备名称"), g = I("制造厂"), w = [];
3804
3804
  if (l.forEach((v, t) => {
3805
- var je, ye;
3805
+ var Be, ye;
3806
3806
  const f = { id: u(t), _isOCRRow: !0, _ocrTableId: n == null ? void 0 : n.index };
3807
3807
  for (const [me, U] of o.entries())
3808
3808
  Object.prototype.hasOwnProperty.call(v, me) && (f[U] = v[me]);
3809
3809
  if (c) {
3810
- const me = Array.isArray((ye = (je = a == null ? void 0 : a.result) == null ? void 0 : je[t]) == null ? void 0 : ye.图片信息) ? a.result[t].图片信息 : [];
3810
+ const me = Array.isArray((ye = (Be = a == null ? void 0 : a.result) == null ? void 0 : Be[t]) == null ? void 0 : ye.图片信息) ? a.result[t].图片信息 : [];
3811
3811
  f[c] = me.map((U) => ({
3812
3812
  url: (U == null ? void 0 : U.url) || "",
3813
3813
  name: (U == null ? void 0 : U.name) || "",
@@ -4168,8 +4168,8 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
4168
4168
  var ie;
4169
4169
  return ((ie = J == null ? void 0 : J.key) == null ? void 0 : ie.type) === "data";
4170
4170
  })) == null ? void 0 : d.find((J) => {
4171
- var ie, ue, je, ye;
4172
- return ((ue = (ie = J == null ? void 0 : J.value) == null ? void 0 : ie.tableData) == null ? void 0 : ue.算法名称) === ((ye = (je = X == null ? void 0 : X.value) == null ? void 0 : je.pageData) == null ? void 0 : ye.method);
4171
+ var ie, ue, Be, ye;
4172
+ return ((ue = (ie = J == null ? void 0 : J.value) == null ? void 0 : ie.tableData) == null ? void 0 : ue.算法名称) === ((ye = (Be = X == null ? void 0 : X.value) == null ? void 0 : Be.pageData) == null ? void 0 : ye.method);
4173
4173
  });
4174
4174
  if (!i) return;
4175
4175
  const D = {
@@ -4264,7 +4264,7 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
4264
4264
  ...(N = b == null ? void 0 : b.value) == null ? void 0 : N.pageData
4265
4265
  };
4266
4266
  });
4267
- (p == null ? void 0 : p.length) > 0 ? (la.setRouteToChildPath(Te(xe).value), Ze.setActiveMenuPath(o)) : (await yo(r, o, null, null, null), la.setRouteToChildPath(Te(xe).value), Ze.setActiveMenuPath(o));
4267
+ (p == null ? void 0 : p.length) > 0 ? (la.setRouteToChildPath(Te(xe).value), Ze.setActiveMenuPath(o)) : (await Ao(r, o, null, null, null), la.setRouteToChildPath(Te(xe).value), Ze.setActiveMenuPath(o));
4268
4268
  } else
4269
4269
  la.setRouteToChildPath(Te(xe).value), Ze.setActiveMenuPath(o);
4270
4270
  }, Pt = () => {
@@ -4319,7 +4319,7 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
4319
4319
  var le;
4320
4320
  let D = (i == null ? void 0 : i.prop) || ((le = l == null ? void 0 : l.find((ee) => (ee == null ? void 0 : ee.label) === (i == null ? void 0 : i.label))) == null ? void 0 : le.prop);
4321
4321
  return D && (i.value = e[D]), i;
4322
- })), aa.value = Ia.value && ((b = Ia.value) == null ? void 0 : b.length) > 0 ? vo(Ia.value) : a;
4322
+ })), aa.value = Ia.value && ((b = Ia.value) == null ? void 0 : b.length) > 0 ? So(Ia.value) : a;
4323
4323
  let r = [], o = (N = n.itemData) == null ? void 0 : N.filter((i) => (i == null ? void 0 : i.key) === "filterAllType");
4324
4324
  if ((o == null ? void 0 : o.length) > 0 && (r = (o == null ? void 0 : o.map((D) => D == null ? void 0 : D.value)).flat()), (r == null ? void 0 : r.length) > 0) {
4325
4325
  let i = (I = r == null ? void 0 : r.filter((ee) => {
@@ -4334,8 +4334,8 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
4334
4334
  if (((w = ee == null ? void 0 : ee.trim()) == null ? void 0 : w.toUpperCase()) === "MANUAL") {
4335
4335
  let oe = (f = (t = (H = n.itemData) == null ? void 0 : H.filter((J) => (J == null ? void 0 : J.key) === "contentTableId")) == null ? void 0 : t[((v = (T = n.itemData) == null ? void 0 : T.filter((J) => (J == null ? void 0 : J.key) === "contentTableId")) == null ? void 0 : v.length) - 1]) == null ? void 0 : f.contents;
4336
4336
  aa.value = (_ = aa.value) == null ? void 0 : _.map((J, ie) => {
4337
- var ue, je;
4338
- return (ue = J == null ? void 0 : J.optionUrl) != null && ue.menuId && (J.type = "Select", (je = J == null ? void 0 : J.optionUrl) != null && je.menuId && (J.optionUrl.menuId = J.optionUrl.menuId ?? oe, J.optionUrl.menuFilter = r, Da.value === "新增" && (J.optionUrl.multiple = !0, J.optionUrl.multipleLimit = 5))), J;
4337
+ var ue, Be;
4338
+ return (ue = J == null ? void 0 : J.optionUrl) != null && ue.menuId && (J.type = "Select", (Be = J == null ? void 0 : J.optionUrl) != null && Be.menuId && (J.optionUrl.menuId = J.optionUrl.menuId ?? oe, J.optionUrl.menuFilter = r, Da.value === "新增" && (J.optionUrl.multiple = !0, J.optionUrl.multipleLimit = 5))), J;
4339
4339
  });
4340
4340
  }
4341
4341
  }
@@ -4348,21 +4348,21 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
4348
4348
  if (le !== void 0) return;
4349
4349
  let oe = (J = ee == null ? void 0 : ee.optionUrl) == null ? void 0 : J.menuId;
4350
4350
  ((ie = D == null ? void 0 : D.filter((ue) => {
4351
- var je;
4352
- return ((je = ue == null ? void 0 : ue.optionUrl) == null ? void 0 : je.menuId) === oe;
4351
+ var Be;
4352
+ return ((Be = ue == null ? void 0 : ue.optionUrl) == null ? void 0 : Be.menuId) === oe;
4353
4353
  })) == null ? void 0 : ie.length) > 1 && (le = oe);
4354
4354
  }), D = D == null ? void 0 : D.filter((ee) => {
4355
4355
  var oe;
4356
4356
  return ((oe = ee == null ? void 0 : ee.optionUrl) == null ? void 0 : oe.menuId) === le;
4357
4357
  }), (D == null ? void 0 : D.length) > 1) {
4358
4358
  let ee = D == null ? void 0 : D.map((ue) => ue == null ? void 0 : ue.prop), oe = D == null ? void 0 : D.map((ue) => ue == null ? void 0 : ue.label), J = D == null ? void 0 : D.map((ue) => ue == null ? void 0 : ue.value), ie = (R = Te(D)) == null ? void 0 : R[0];
4359
- ie.label = oe == null ? void 0 : oe.join("·"), ie.value = J == null ? void 0 : J.join(" "), ie.value.trim() === "" && (ie.value = ""), ie.prop = ee == null ? void 0 : ee.join("·"), ie.usingType = "parent", aa.value.unshift(ie), aa.value = (X = aa.value) == null ? void 0 : X.map((ue) => (ee != null && ee.find((je) => je === (ue == null ? void 0 : ue.prop)) && (ue.isFormColHidden = !0), ue));
4359
+ ie.label = oe == null ? void 0 : oe.join("·"), ie.value = J == null ? void 0 : J.join(" "), ie.value.trim() === "" && (ie.value = ""), ie.prop = ee == null ? void 0 : ee.join("·"), ie.usingType = "parent", aa.value.unshift(ie), aa.value = (X = aa.value) == null ? void 0 : X.map((ue) => (ee != null && ee.find((Be) => Be === (ue == null ? void 0 : ue.prop)) && (ue.isFormColHidden = !0), ue));
4360
4360
  }
4361
4361
  }
4362
4362
  }, Rt = () => {
4363
4363
  var a;
4364
4364
  const e = (a = y.value) == null ? void 0 : a.$el;
4365
- e && ko.create(e, {
4365
+ e && xo.create(e, {
4366
4366
  animation: 150,
4367
4367
  handle: ".col-drag-icon",
4368
4368
  ghostClass: "sortable-ghost",
@@ -4454,16 +4454,16 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
4454
4454
  return delete o.children, o;
4455
4455
  }) : [];
4456
4456
  }, Yl = (e = !0, a, l) => {
4457
- var p, b, N, A, I, F, Z, g, w, H, T, v, t, f, _, m, R, X, i, D, le, ee, oe, J, ie, ue, je;
4457
+ var p, b, N, A, I, F, Z, g, w, H, T, v, t, f, _, m, R, X, i, D, le, ee, oe, J, ie, ue, Be;
4458
4458
  let r = Ll((p = Te(C.value)) == null ? void 0 : p.filter((ye) => (ye == null ? void 0 : ye.label) !== "操作")), o, s = Te(V.value);
4459
4459
  if (!Ta.value) {
4460
4460
  Xa.value = !1;
4461
4461
  return;
4462
4462
  }
4463
4463
  if (rl.value === "") {
4464
- Bl.value++;
4464
+ jl.value++;
4465
4465
  let ye;
4466
- ye = { id: Bl.value.toString() }, ye != null && ye.children && (ye = {
4466
+ ye = { id: jl.value.toString() }, ye != null && ye.children && (ye = {
4467
4467
  ...ye,
4468
4468
  children: (b = ye.children) == null ? void 0 : b.map((me) => gn(me, a, l))
4469
4469
  }), s.push(Object.assign(Ta.value, ye)), o = Object.assign(Ta.value, ye);
@@ -4489,7 +4489,7 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
4489
4489
  var cl;
4490
4490
  return ((cl = Object.keys($a)) == null ? void 0 : cl[0]) === Wa.value[be].column;
4491
4491
  })) == null ? void 0 : qa[Wa.value[be].column] : ve : pe[Wa.value[be].prop] = ve;
4492
- } else Array.isArray(ve) && ((dl = Wa.value[be]) != null && dl.prop ? pe[Wa.value[be].prop] = ve : pe.children = Br(ve, Wa.value));
4492
+ } else Array.isArray(ve) && ((dl = Wa.value[be]) != null && dl.prop ? pe[Wa.value[be].prop] = ve : pe.children = jr(ve, Wa.value));
4493
4493
  });
4494
4494
  } else
4495
4495
  pe = me;
@@ -4543,7 +4543,7 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
4543
4543
  ((J = (oe = (ee = me.flat().find((we) => {
4544
4544
  var Ce;
4545
4545
  return (Ce = we == null ? void 0 : we.content) == null ? void 0 : Ce.includes("@Type:");
4546
- })) == null ? void 0 : ee.content) == null ? void 0 : oe.split(":")) == null ? void 0 : J[1]) !== "Manual" && (U = parseInt(U), V.value = (je = V.value) == null ? void 0 : je.slice(((ie = V.value) == null ? void 0 : ie.length) - U, (ue = V.value) == null ? void 0 : ue.length));
4546
+ })) == null ? void 0 : ee.content) == null ? void 0 : oe.split(":")) == null ? void 0 : J[1]) !== "Manual" && (U = parseInt(U), V.value = (Be = V.value) == null ? void 0 : Be.slice(((ie = V.value) == null ? void 0 : ie.length) - U, (ue = V.value) == null ? void 0 : ue.length));
4547
4547
  }
4548
4548
  }
4549
4549
  };
@@ -4556,11 +4556,11 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
4556
4556
  const r = Te(n.itemData), o = r == null ? void 0 : r.map((v) => {
4557
4557
  var t;
4558
4558
  return (v == null ? void 0 : v.key) === "header" && ((t = v.contents) == null || t.map((f, _) => {
4559
- var m, R, X, i, D, le, ee, oe, J, ie, ue, je, ye, me, U, pe, we, Ce, ve;
4560
- return f.type = f != null && f.type ? f.type : (i = (X = (R = (m = f == null ? void 0 : f.key) == null ? void 0 : m.split("$")) == null ? void 0 : R[1]) == null ? void 0 : X.split("(")) != null && i[0] ? (le = (D = ho) == null ? void 0 : D.find((be) => {
4559
+ var m, R, X, i, D, le, ee, oe, J, ie, ue, Be, ye, me, U, pe, we, Ce, ve;
4560
+ return f.type = f != null && f.type ? f.type : (i = (X = (R = (m = f == null ? void 0 : f.key) == null ? void 0 : m.split("$")) == null ? void 0 : R[1]) == null ? void 0 : X.split("(")) != null && i[0] ? (le = (D = Co) == null ? void 0 : D.find((be) => {
4561
4561
  var de, ze, va, ha;
4562
4562
  return (be == null ? void 0 : be.key) === ((ha = (va = (ze = (de = f == null ? void 0 : f.key) == null ? void 0 : de.split("$")) == null ? void 0 : ze[1]) == null ? void 0 : va.split("(")) == null ? void 0 : ha[0]);
4563
- })) == null ? void 0 : le.value : "Input", f.options = f != null && f.options ? f.options : ((J = (oe = (ee = f == null ? void 0 : f.key) == null ? void 0 : ee.split("$")) == null ? void 0 : oe[1]) == null ? void 0 : J.length) > 0 ? (ye = (je = jo((ue = (ie = f == null ? void 0 : f.key) == null ? void 0 : ie.split("$")) == null ? void 0 : ue[1])) == null ? void 0 : je.split(",")) == null ? void 0 : ye.map((be) => ({
4563
+ })) == null ? void 0 : le.value : "Input", f.options = f != null && f.options ? f.options : ((J = (oe = (ee = f == null ? void 0 : f.key) == null ? void 0 : ee.split("$")) == null ? void 0 : oe[1]) == null ? void 0 : J.length) > 0 ? (ye = (Be = Bo((ue = (ie = f == null ? void 0 : f.key) == null ? void 0 : ie.split("$")) == null ? void 0 : ue[1])) == null ? void 0 : Be.split(",")) == null ? void 0 : ye.map((be) => ({
4564
4564
  label: be,
4565
4565
  value: be
4566
4566
  })) : [], (me = f == null ? void 0 : f.key) != null && me.includes("$") && (f.key = (pe = (U = f == null ? void 0 : f.key) == null ? void 0 : U.split("$")) == null ? void 0 : pe[0]), f.value = (we = Object.values(a)) == null ? void 0 : we[_], f.optionUrl = f != null && f.formMenuSelect && ((Ce = f == null ? void 0 : f.formMenuSelect) == null ? void 0 : Ce.length) > 0 ? {
@@ -4591,8 +4591,8 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
4591
4591
  }), t) {
4592
4592
  let f = Te(s);
4593
4593
  f = f == null ? void 0 : f.map((m) => {
4594
- var R, X, i, D, le, ee, oe, J, ie, ue, je;
4595
- return (t != null && t[m == null ? void 0 : m.label] || t != null && t[(D = (i = (X = (R = m == null ? void 0 : m.optionUrl) == null ? void 0 : R.groupSelect) == null ? void 0 : X[1]) == null ? void 0 : i.replaceAll("[", "")) == null ? void 0 : D.replaceAll("]", "")]) && ((oe = (ee = (le = m == null ? void 0 : m.optionUrl) == null ? void 0 : le.groupSelect) == null ? void 0 : ee[1]) != null && oe.includes("[")) && (m.value = (t == null ? void 0 : t[m == null ? void 0 : m.label]) || (t == null ? void 0 : t[(je = (ue = (ie = (J = m == null ? void 0 : m.optionUrl) == null ? void 0 : J.groupSelect) == null ? void 0 : ie[1]) == null ? void 0 : ue.replaceAll("[", "")) == null ? void 0 : je.replaceAll("]", "")])), m;
4594
+ var R, X, i, D, le, ee, oe, J, ie, ue, Be;
4595
+ return (t != null && t[m == null ? void 0 : m.label] || t != null && t[(D = (i = (X = (R = m == null ? void 0 : m.optionUrl) == null ? void 0 : R.groupSelect) == null ? void 0 : X[1]) == null ? void 0 : i.replaceAll("[", "")) == null ? void 0 : D.replaceAll("]", "")]) && ((oe = (ee = (le = m == null ? void 0 : m.optionUrl) == null ? void 0 : le.groupSelect) == null ? void 0 : ee[1]) != null && oe.includes("[")) && (m.value = (t == null ? void 0 : t[m == null ? void 0 : m.label]) || (t == null ? void 0 : t[(Be = (ue = (ie = (J = m == null ? void 0 : m.optionUrl) == null ? void 0 : J.groupSelect) == null ? void 0 : ie[1]) == null ? void 0 : ue.replaceAll("[", "")) == null ? void 0 : Be.replaceAll("]", "")])), m;
4596
4596
  }), V.value = (H = Te(V.value)) == null ? void 0 : H.map((m) => {
4597
4597
  if ((m == null ? void 0 : m.id) === (a == null ? void 0 : a.id)) {
4598
4598
  const R = {};
@@ -4609,7 +4609,7 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
4609
4609
  var ee, oe, J, ie;
4610
4610
  if (le != null && le.includes("[")) {
4611
4611
  let ue = (oe = (ee = le == null ? void 0 : le.replaceAll("[", "").replaceAll("]", "")) == null ? void 0 : ee.split(":")) == null ? void 0 : oe[1];
4612
- le = (ie = (J = Te(f)) == null ? void 0 : J.find((je) => (je == null ? void 0 : je.label) === ue)) == null ? void 0 : ie.value;
4612
+ le = (ie = (J = Te(f)) == null ? void 0 : J.find((Be) => (Be == null ? void 0 : Be.label) === ue)) == null ? void 0 : ie.value;
4613
4613
  }
4614
4614
  return le;
4615
4615
  })), m;
@@ -4657,7 +4657,7 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
4657
4657
  value: [(m = g.value) == null ? void 0 : m[(g == null ? void 0 : g.length) - 1]]
4658
4658
  }))), g.value = e == null ? void 0 : e[g == null ? void 0 : g.prop], g;
4659
4659
  }), ca.value = d, aa.value = Te(c), (s == null ? void 0 : s.mainKey) && (s != null && s.value) && (s == null ? void 0 : s.value) !== "") {
4660
- let g = await Bi(s);
4660
+ let g = await ji(s);
4661
4661
  if (g) {
4662
4662
  let w = l;
4663
4663
  w = w == null ? void 0 : w.map((T) => {
@@ -4671,7 +4671,7 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
4671
4671
  }
4672
4672
  }
4673
4673
  dr.value = !0, Ue.value = !1;
4674
- }, jt = (e) => e ? (e == null ? void 0 : e.toUpperCase()) === "INPUT" ? "TEXTAREA" : e : "TEXTAREA", Bt = (e) => {
4674
+ }, Bt = (e) => e ? (e == null ? void 0 : e.toUpperCase()) === "INPUT" ? "TEXTAREA" : e : "TEXTAREA", jt = (e) => {
4675
4675
  var s, c;
4676
4676
  const a = (c = (s = Ia.value) == null ? void 0 : s.find((d) => (d == null ? void 0 : d.label) === (e == null ? void 0 : e.label))) == null ? void 0 : c.multiple, l = e == null ? void 0 : e.prop;
4677
4677
  if ((e == null ? void 0 : e.formType) != "Select")
@@ -4690,11 +4690,11 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
4690
4690
  ql("");
4691
4691
  const a = (l = aa.value) == null ? void 0 : l.reduce((u, p) => (u[p.name] = p.value, u), {});
4692
4692
  if (((r = Object.keys(a)) == null ? void 0 : r.length) > 0) {
4693
- Ta.value = a, rl.value = "", Bl.value = (o = V.value) == null ? void 0 : o.length, ua.value = (s = fa.value) == null ? void 0 : s.filter((p) => (p == null ? void 0 : p.label) !== "新增");
4693
+ Ta.value = a, rl.value = "", jl.value = (o = V.value) == null ? void 0 : o.length, ua.value = (s = fa.value) == null ? void 0 : s.filter((p) => (p == null ? void 0 : p.label) !== "新增");
4694
4694
  const u = (d = (c = sa.value) == null ? void 0 : c.filter((p) => (p == null ? void 0 : p.label) !== "操作")) == null ? void 0 : d.map((p) => {
4695
4695
  var N, A, I;
4696
4696
  const b = (A = (N = Ia.value) == null ? void 0 : N.find((F) => (F == null ? void 0 : F.label) === (p == null ? void 0 : p.label))) == null ? void 0 : A.multiple;
4697
- return Bt(p), {
4697
+ return jt(p), {
4698
4698
  ...p,
4699
4699
  contents: (p == null ? void 0 : p.options) ?? [],
4700
4700
  // type: 'edit',
@@ -4712,7 +4712,7 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
4712
4712
  C.value = u == null ? void 0 : u.map((p) => mn(p, [{
4713
4713
  prop: "type",
4714
4714
  value: "edit"
4715
- }, { prop: "columnType", value: jt(p == null ? void 0 : p.formType) || (p == null ? void 0 : p.columnType) }])), e === "createClick" && (Da.value = "新增", Yl(!0));
4715
+ }, { prop: "columnType", value: Bt(p == null ? void 0 : p.formType) || (p == null ? void 0 : p.columnType) }])), e === "createClick" && (Da.value = "新增", Yl(!0));
4716
4716
  }
4717
4717
  }, Ol = {
4718
4718
  START: "开始时间",
@@ -4748,7 +4748,7 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
4748
4748
  let r = [];
4749
4749
  return r = kn(e, a == null ? void 0 : a.contents, 0), r;
4750
4750
  }, Cn = async (e, a) => {
4751
- var g, w, H, T, v, t, f, _, m, R, X, i, D, le, ee, oe, J, ie, ue, je, ye, me, U, pe, we, Ce, ve, be, de, ze, va, ha, Ha, qa, dl, xl, $a, cl, wn, Tn, On, xn, Nn, Dn, $n, En, Un;
4751
+ var g, w, H, T, v, t, f, _, m, R, X, i, D, le, ee, oe, J, ie, ue, Be, ye, me, U, pe, we, Ce, ve, be, de, ze, va, ha, Ha, qa, dl, xl, $a, cl, wn, Tn, On, xn, Nn, Dn, $n, En, Un;
4752
4752
  const l = e == null ? void 0 : e.filter((S) => (S == null ? void 0 : S.key) === "header");
4753
4753
  e == null || e.filter((S) => (S == null ? void 0 : S.key) === "tableIndexColumn")[0];
4754
4754
  const r = e == null ? void 0 : e.filter((S) => (S == null ? void 0 : S.key) === "childTree")[0];
@@ -4767,7 +4767,7 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
4767
4767
  if (((X = N == null ? void 0 : N.contents) == null ? void 0 : X.length) > 0) {
4768
4768
  let S = [], _e = N == null ? void 0 : N.contents;
4769
4769
  if (Array.isArray(_e == null ? void 0 : _e[0]) && ((i = _e == null ? void 0 : _e[0]) != null && i.every((ae) => !(ae != null && ae.children))) && (_e = _e == null ? void 0 : _e[0]), _e.some((ae) => Array.isArray(ae) && (ae == null ? void 0 : ae.find((O) => O.children))))
4770
- S = (D = co(_e, o)) == null ? void 0 : D[0], S != null && S.find((ae) => (ae == null ? void 0 : ae.label) === "操作") || S.push({
4770
+ S = (D = mo(_e, o)) == null ? void 0 : D[0], S != null && S.find((ae) => (ae == null ? void 0 : ae.label) === "操作") || S.push({
4771
4771
  label: "操作",
4772
4772
  prop: "operate",
4773
4773
  type: "operate"
@@ -4779,21 +4779,21 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
4779
4779
  prop: "operate",
4780
4780
  type: "operate"
4781
4781
  }), ae == null || ae.forEach((O, He) => {
4782
- var Ca, na, ya, Ve, _l, Nl, Dl, Ye, Ya, pl, $l, Ua, fl, Ln, Mn, jn, Bn, Fn, In, zn;
4783
- if ((na = (Ca = xe.value) == null ? void 0 : Ca.split("/")) == null || na.forEach((Be) => {
4782
+ var Ca, na, ya, Ve, _l, Nl, Dl, Ye, Ya, pl, $l, Ua, fl, Ln, Mn, Bn, jn, Fn, In, zn;
4783
+ if ((na = (Ca = xe.value) == null ? void 0 : Ca.split("/")) == null || na.forEach((je) => {
4784
4784
  var Je, el, Kn;
4785
- Be !== "" && ((Kn = (el = (Je = Be == null ? void 0 : Be.split(ce + "updateLoading")) == null ? void 0 : Je[0]) == null ? void 0 : el.split(ce + "loading")) == null || Kn[0]);
4785
+ je !== "" && ((Kn = (el = (Je = je == null ? void 0 : je.split(ce + "updateLoading")) == null ? void 0 : Je[0]) == null ? void 0 : el.split(ce + "loading")) == null || Kn[0]);
4786
4786
  }), O != null && O.methodContent) {
4787
- let Be = (_l = (Ve = (ya = O == null ? void 0 : O.methodContent) == null ? void 0 : ya.replace("@", "%%#")) == null ? void 0 : Ve.split("%%#")) == null ? void 0 : _l[1];
4788
- if (Be = Be == null ? void 0 : Be.slice(0, (Be == null ? void 0 : Be.length) - 1), Be = po(Be ?? "", ","), (Nl = Be == null ? void 0 : Be.find((Je) => Je == null ? void 0 : Je.includes("@Button"))) != null && Nl.includes("Prop") && ((Dl = Be == null ? void 0 : Be.find((Je) => Je == null ? void 0 : Je.includes("Type"))) != null && Dl.includes("Manual"))) {
4789
- let Je = (Ya = (Ye = Be == null ? void 0 : Be.find((el) => el == null ? void 0 : el.includes("@Button"))) == null ? void 0 : Ye.split(":")) == null ? void 0 : Ya[1];
4787
+ let je = (_l = (Ve = (ya = O == null ? void 0 : O.methodContent) == null ? void 0 : ya.replace("@", "%%#")) == null ? void 0 : Ve.split("%%#")) == null ? void 0 : _l[1];
4788
+ if (je = je == null ? void 0 : je.slice(0, (je == null ? void 0 : je.length) - 1), je = _o(je ?? "", ","), (Nl = je == null ? void 0 : je.find((Je) => Je == null ? void 0 : Je.includes("@Button"))) != null && Nl.includes("Prop") && ((Dl = je == null ? void 0 : je.find((Je) => Je == null ? void 0 : Je.includes("Type"))) != null && Dl.includes("Manual"))) {
4789
+ let Je = (Ya = (Ye = je == null ? void 0 : je.find((el) => el == null ? void 0 : el.includes("@Button"))) == null ? void 0 : Ye.split(":")) == null ? void 0 : Ya[1];
4790
4790
  Je = ((Ua = ($l = (pl = Je == null ? void 0 : Je.replaceAll("[", "")) == null ? void 0 : pl.replaceAll("]", "")) == null ? void 0 : $l.split(",")) == null ? void 0 : Ua[1]) ?? "算法执行", I.push(Je);
4791
- } else if ((fl = Be == null ? void 0 : Be.find((Je) => Je == null ? void 0 : Je.includes("@Button"))) != null && fl.includes("Row") && ((Ln = Be == null ? void 0 : Be.find((Je) => Je == null ? void 0 : Je.includes("Type"))) != null && Ln.includes("Manual"))) {
4792
- let Je = (jn = (Mn = Be == null ? void 0 : Be.find((el) => el == null ? void 0 : el.includes("@Button"))) == null ? void 0 : Mn.split(":")) == null ? void 0 : jn[1];
4793
- Je = ((In = (Fn = (Bn = Je == null ? void 0 : Je.replaceAll("[", "")) == null ? void 0 : Bn.replaceAll("]", "")) == null ? void 0 : Fn.split(",")) == null ? void 0 : In[1]) ?? "算法执行", F.push(Je);
4791
+ } else if ((fl = je == null ? void 0 : je.find((Je) => Je == null ? void 0 : Je.includes("@Button"))) != null && fl.includes("Row") && ((Ln = je == null ? void 0 : je.find((Je) => Je == null ? void 0 : Je.includes("Type"))) != null && Ln.includes("Manual"))) {
4792
+ let Je = (Bn = (Mn = je == null ? void 0 : je.find((el) => el == null ? void 0 : el.includes("@Button"))) == null ? void 0 : Mn.split(":")) == null ? void 0 : Bn[1];
4793
+ Je = ((In = (Fn = (jn = Je == null ? void 0 : Je.replaceAll("[", "")) == null ? void 0 : jn.replaceAll("]", "")) == null ? void 0 : Fn.split(",")) == null ? void 0 : In[1]) ?? "算法执行", F.push(Je);
4794
4794
  }
4795
4795
  }
4796
- (zn = Ia.value) == null || zn.find((Be) => (Be == null ? void 0 : Be.prop) === (O == null ? void 0 : O.prop)), S.push({
4796
+ (zn = Ia.value) == null || zn.find((je) => (je == null ? void 0 : je.prop) === (O == null ? void 0 : O.prop)), S.push({
4797
4797
  label: (O == null ? void 0 : O.label) === "操作" ? o ? "操作" : "" : (O == null ? void 0 : O.label) ?? "",
4798
4798
  prop: (O == null ? void 0 : O.label) === "操作" ? "operate" : (O == null ? void 0 : O.prop) ?? "a" + He,
4799
4799
  // width: t?.label === '操作' ? '200' : (t?.width ? parseInt(t.width) : ''),
@@ -4844,16 +4844,16 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
4844
4844
  });
4845
4845
  }
4846
4846
  Ae.value = (le = p == null ? void 0 : p[0]) == null ? void 0 : le.contents;
4847
- const Ma = fo(S), Pn = (ae) => Array.isArray(ae) ? ae.map((O) => (Array.isArray(O == null ? void 0 : O.children) && O.children.length > 0 ? (O.sortable = !1, Pn(O.children)) : (O == null ? void 0 : O.prop) === "operate" || (O == null ? void 0 : O.label) === "操作" || (O == null ? void 0 : O.type) === "operate" || (O.sortable = !0), O)) : ae;
4847
+ const Ma = ko(S), Pn = (ae) => Array.isArray(ae) ? ae.map((O) => (Array.isArray(O == null ? void 0 : O.children) && O.children.length > 0 ? (O.sortable = !1, Pn(O.children)) : (O == null ? void 0 : O.prop) === "operate" || (O == null ? void 0 : O.label) === "操作" || (O == null ? void 0 : O.type) === "operate" || (O.sortable = !0), O)) : ae;
4848
4848
  Pn(Ma), await Xs(Ma), Lu(We.value, Ma), C.value = Ma, $e.value = Ma, h.value = (ee = C.value) == null ? void 0 : ee.map((ae) => ae == null ? void 0 : ae.label);
4849
- let ja = (J = (oe = al(C.value)) == null ? void 0 : oe.filter((ae) => (ae == null ? void 0 : ae.type) !== "operate")) == null ? void 0 : J.map((ae, O) => ({
4849
+ let Ba = (J = (oe = al(C.value)) == null ? void 0 : oe.filter((ae) => (ae == null ? void 0 : ae.type) !== "operate")) == null ? void 0 : J.map((ae, O) => ({
4850
4850
  prop: (ae == null ? void 0 : ae.prop) ?? "a" + O,
4851
4851
  column: ae.label
4852
4852
  }));
4853
- Wa.value = ja;
4853
+ Wa.value = Ba;
4854
4854
  let Ea = [];
4855
4855
  gl.value === "" ? Ea = u == null ? void 0 : u[0] : Ea = (u == null ? void 0 : u.find((ae) => (ae == null ? void 0 : ae.selectLabel) === "(" + gl.value + ")")) ?? (u == null ? void 0 : u.find((ae) => !(ae != null && ae.selectLabel)));
4856
- let bl = Array.isArray((ie = Ea == null ? void 0 : Ea.contents) == null ? void 0 : ie[0]) && ((ue = Ea == null ? void 0 : Ea.contents) != null && ue[0].every((ae) => Array.isArray(ae))) ? (je = Ea == null ? void 0 : Ea.contents) == null ? void 0 : je[0] : Ea == null ? void 0 : Ea.contents;
4856
+ let bl = Array.isArray((ie = Ea == null ? void 0 : Ea.contents) == null ? void 0 : ie[0]) && ((ue = Ea == null ? void 0 : Ea.contents) != null && ue[0].every((ae) => Array.isArray(ae))) ? (Be = Ea == null ? void 0 : Ea.contents) == null ? void 0 : Be[0] : Ea == null ? void 0 : Ea.contents;
4857
4857
  A != null && A.contents && ((ye = A == null ? void 0 : A.contents) == null ? void 0 : ye.length) !== 0 && (bl = (me = Te(bl)) == null ? void 0 : me.map((ae, O) => {
4858
4858
  if (!Array.isArray(ae)) {
4859
4859
  let He = {};
@@ -4873,16 +4873,16 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
4873
4873
  let na = [];
4874
4874
  ae == null || ae.filter((ya) => !(ya != null && ya.id)).forEach((ya, Ve) => {
4875
4875
  var _l, Nl, Dl, Ye, Ya, pl;
4876
- if ((_l = ja == null ? void 0 : ja[Ve]) != null && _l.prop && !Array.isArray(ya)) {
4876
+ if ((_l = Ba == null ? void 0 : Ba[Ve]) != null && _l.prop && !Array.isArray(ya)) {
4877
4877
  let $l = {};
4878
- $l[ja[Ve].column] = ya, Xe != null && Xe.value && ((Nl = Xe == null ? void 0 : Xe.value) == null ? void 0 : Nl.length) > 0 && ((Dl = Xe == null ? void 0 : Xe.value) != null && Dl.find((Ua) => JSON.stringify(Ua == null ? void 0 : Ua[0]) === JSON.stringify($l))) && (na = (Ye = Xe == null ? void 0 : Xe.value) == null ? void 0 : Ye.find((Ua) => JSON.stringify(Ua == null ? void 0 : Ua[0]) === JSON.stringify($l))), na && na.length > 0 ? He[ja[Ve].prop] = na != null && na.find((Ua) => {
4878
+ $l[Ba[Ve].column] = ya, Xe != null && Xe.value && ((Nl = Xe == null ? void 0 : Xe.value) == null ? void 0 : Nl.length) > 0 && ((Dl = Xe == null ? void 0 : Xe.value) != null && Dl.find((Ua) => JSON.stringify(Ua == null ? void 0 : Ua[0]) === JSON.stringify($l))) && (na = (Ye = Xe == null ? void 0 : Xe.value) == null ? void 0 : Ye.find((Ua) => JSON.stringify(Ua == null ? void 0 : Ua[0]) === JSON.stringify($l))), na && na.length > 0 ? He[Ba[Ve].prop] = na != null && na.find((Ua) => {
4879
4879
  var fl;
4880
- return ((fl = Object.keys(Ua)) == null ? void 0 : fl[0]) === ja[Ve].column;
4880
+ return ((fl = Object.keys(Ua)) == null ? void 0 : fl[0]) === Ba[Ve].column;
4881
4881
  }) ? (Ya = na == null ? void 0 : na.find((Ua) => {
4882
4882
  var fl;
4883
- return ((fl = Object.keys(Ua)) == null ? void 0 : fl[0]) === ja[Ve].column;
4884
- })) == null ? void 0 : Ya[ja[Ve].column] : ya : He[ja[Ve].prop] = ya;
4885
- } else Array.isArray(ya) && ((pl = ja[Ve]) != null && pl.prop ? He[ja[Ve].prop] = ya : He.children = Br(ya, ja));
4883
+ return ((fl = Object.keys(Ua)) == null ? void 0 : fl[0]) === Ba[Ve].column;
4884
+ })) == null ? void 0 : Ya[Ba[Ve].column] : ya : He[Ba[Ve].prop] = ya;
4885
+ } else Array.isArray(ya) && ((pl = Ba[Ve]) != null && pl.prop ? He[Ba[Ve].prop] = ya : He.children = jr(ya, Ba));
4886
4886
  });
4887
4887
  } else
4888
4888
  He = ae;
@@ -4949,7 +4949,7 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
4949
4949
  ua.value = d == null ? void 0 : d.contents, fa.value = d == null ? void 0 : d.contents;
4950
4950
  else
4951
4951
  ua.value = [], fa.value = [];
4952
- ua.value = [...ua.value, ...I], fa.value = [...fa.value, ...I], typeof xe.value == "string" && xe.value === "设备管理/试验设备" && (n == null ? void 0 : n.compName) === "设备列表" ? ((On = ua.value) != null && On.some((S) => (S == null ? void 0 : S.label) === "OCR识别") || (ua.value = [...ua.value || [], { label: "OCR识别" }]), (xn = fa.value) != null && xn.some((S) => (S == null ? void 0 : S.label) === "OCR识别") || (fa.value = [...fa.value || [], { label: "OCR识别" }])) : (ua.value = (ua.value || []).filter((S) => (S == null ? void 0 : S.label) !== "OCR识别"), fa.value = (fa.value || []).filter((S) => (S == null ? void 0 : S.label) !== "OCR识别")), (Nn = ua.value) != null && Nn.some((S) => (S == null ? void 0 : S.label) === "切换视图") || (ua.value = [...ua.value || [], { label: "切换视图" }]), (Dn = fa.value) != null && Dn.some((S) => (S == null ? void 0 : S.label) === "切换视图") || (fa.value = [...fa.value || [], { label: "切换视图" }]), Bl.value = (($n = V == null ? void 0 : V.value) == null ? void 0 : $n.length) ?? 0, _n(V.value), Tl.value = V.value, ka.value && (C.value = (Un = (En = sa.value) == null ? void 0 : En.filter((S) => (S == null ? void 0 : S.label) !== "操作")) == null ? void 0 : Un.map((S) => {
4952
+ ua.value = [...ua.value, ...I], fa.value = [...fa.value, ...I], typeof xe.value == "string" && xe.value === "设备管理/试验设备" && (n == null ? void 0 : n.compName) === "设备列表" ? ((On = ua.value) != null && On.some((S) => (S == null ? void 0 : S.label) === "OCR识别") || (ua.value = [...ua.value || [], { label: "OCR识别" }]), (xn = fa.value) != null && xn.some((S) => (S == null ? void 0 : S.label) === "OCR识别") || (fa.value = [...fa.value || [], { label: "OCR识别" }])) : (ua.value = (ua.value || []).filter((S) => (S == null ? void 0 : S.label) !== "OCR识别"), fa.value = (fa.value || []).filter((S) => (S == null ? void 0 : S.label) !== "OCR识别")), (Nn = ua.value) != null && Nn.some((S) => (S == null ? void 0 : S.label) === "切换视图") || (ua.value = [...ua.value || [], { label: "切换视图" }]), (Dn = fa.value) != null && Dn.some((S) => (S == null ? void 0 : S.label) === "切换视图") || (fa.value = [...fa.value || [], { label: "切换视图" }]), jl.value = (($n = V == null ? void 0 : V.value) == null ? void 0 : $n.length) ?? 0, _n(V.value), Tl.value = V.value, ka.value && (C.value = (Un = (En = sa.value) == null ? void 0 : En.filter((S) => (S == null ? void 0 : S.label) !== "操作")) == null ? void 0 : Un.map((S) => {
4953
4953
  var _e;
4954
4954
  return {
4955
4955
  ...S,
@@ -4967,11 +4967,11 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
4967
4967
  () => [n.itemData, gl.value, Os.value, wr.value, Xe == null ? void 0 : Xe.value],
4968
4968
  async () => {
4969
4969
  var e, a, l, r, o, s;
4970
- if ((e = n == null ? void 0 : n.itemData) != null && e.find((c) => (c == null ? void 0 : c.key) === "columnPath") && !((a = jl.value) != null && a.find((c) => {
4970
+ if ((e = n == null ? void 0 : n.itemData) != null && e.find((c) => (c == null ? void 0 : c.key) === "columnPath") && !((a = Bl.value) != null && a.find((c) => {
4971
4971
  var d, u;
4972
4972
  return (c == null ? void 0 : c.key) === ((u = (d = n == null ? void 0 : n.itemData) == null ? void 0 : d.find((p) => (p == null ? void 0 : p.key) === "columnPath")) == null ? void 0 : u.contents);
4973
4973
  }))) {
4974
- let c = jl.value, d = {
4974
+ let c = Bl.value, d = {
4975
4975
  key: (r = (l = n == null ? void 0 : n.itemData) == null ? void 0 : l.find((u) => (u == null ? void 0 : u.key) === "columnPath")) == null ? void 0 : r.contents,
4976
4976
  value: (s = (o = n == null ? void 0 : n.itemData) == null ? void 0 : o.find((u) => (u == null ? void 0 : u.key) === "columnUsingPath")) == null ? void 0 : s.contents
4977
4977
  };
@@ -5032,7 +5032,7 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
5032
5032
  }), Er(l, e, a);
5033
5033
  return;
5034
5034
  }
5035
- Er(l, e, a), Ta.value = Te(e), rl.value = e == null ? void 0 : e.id, Bl.value = (o = V.value) == null ? void 0 : o.length, Da.value = e != null && e._isTemp ? "新增" : "编辑", Yl(!1);
5035
+ Er(l, e, a), Ta.value = Te(e), rl.value = e == null ? void 0 : e.id, jl.value = (o = V.value) == null ? void 0 : o.length, Da.value = e != null && e._isTemp ? "新增" : "编辑", Yl(!1);
5036
5036
  }, Sa = (e) => {
5037
5037
  var u, p, b, N, A, I, F, Z, g, w, H;
5038
5038
  const { row: a, column: l, item: r, slotData: o } = e;
@@ -5077,8 +5077,8 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
5077
5077
  }, { immediate: !0, deep: !0 }), (e, a) => {
5078
5078
  var w, H, T, v;
5079
5079
  const l = Pe("svg-icon"), r = Pe("el-popover"), o = Pe("el-switch"), s = Pe("el-checkbox"), c = Pe("el-radio"), d = Pe("el-radio-group"), u = Pe("el-checkbox-group"), p = Pe("el-button"), b = Pe("LookComponent"), N = Pe("el-icon"), A = Pe("el-progress"), I = Pe("el-alert"), F = Pe("el-table-column"), Z = Pe("el-table"), g = Pe("el-upload");
5080
- return B(), re("div", Ku, [
5081
- en.value ? (B(), Me(xo, {
5080
+ return j(), re("div", Ku, [
5081
+ en.value ? (j(), Me(co, {
5082
5082
  id: "excel-table",
5083
5083
  pageObj: he,
5084
5084
  showIndex: De.value,
@@ -5102,7 +5102,7 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
5102
5102
  isClearSelection: ((H = Qa.value) == null ? void 0 : H.length) === 0,
5103
5103
  onDoCurrentChange: Ls,
5104
5104
  onDoSizeChange: Ms,
5105
- onSortChange: js,
5105
+ onSortChange: Bs,
5106
5106
  onContentClick: on,
5107
5107
  onRowClick: it,
5108
5108
  onSelectChange: qs,
@@ -5119,7 +5119,7 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
5119
5119
  headerButton: Y((t) => {
5120
5120
  var f, _;
5121
5121
  return [
5122
- k.showHeader ? (B(), Me(cu, {
5122
+ k.showHeader ? (j(), Me(cu, {
5123
5123
  key: 0,
5124
5124
  pageLayout: k.pageLayout,
5125
5125
  lockingPage: Pa(Kr) === Pa(xe),
@@ -5141,8 +5141,8 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
5141
5141
  viewport: Y(() => {
5142
5142
  var t, f, _, m;
5143
5143
  return [
5144
- ((t = V.value) == null ? void 0 : t.length) > 0 && k.allowOperate && L.value ? (B(), re("div", Hu, [
5145
- (f = Ee.value) != null && f.includes("read") && ((_ = Ee.value) != null && _.includes("edit")) && ((m = nl.value) != null && m.some((R) => (R == null ? void 0 : R.label) === "编辑")) && !ur.value && Pa(Kr) !== Pa(xe) ? (B(), re("span", {
5144
+ ((t = V.value) == null ? void 0 : t.length) > 0 && k.allowOperate && L.value ? (j(), re("div", Hu, [
5145
+ (f = Ee.value) != null && f.includes("read") && ((_ = Ee.value) != null && _.includes("edit")) && ((m = nl.value) != null && m.some((R) => (R == null ? void 0 : R.label) === "编辑")) && !ur.value && Pa(Kr) !== Pa(xe) ? (j(), re("span", {
5146
5146
  key: 0,
5147
5147
  title: "编辑表格",
5148
5148
  onClick: It
@@ -5187,7 +5187,7 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
5187
5187
  z("div", Gu, [
5188
5188
  a[22] || (a[22] = z("div", { class: "group-title" }, "表格操作", -1)),
5189
5189
  q(o, {
5190
- "model-value": j.value,
5190
+ "model-value": B.value,
5191
5191
  "active-text": "排序",
5192
5192
  "inactive-text": "",
5193
5193
  style: { "margin-right": "8px" },
@@ -5203,7 +5203,7 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
5203
5203
  ref: y
5204
5204
  }, {
5205
5205
  default: Y(() => [
5206
- (B(!0), re(da, null, Aa(Wl.value, (t) => (B(), re("div", {
5206
+ (j(!0), re(da, null, Aa(Wl.value, (t) => (j(), re("div", {
5207
5207
  style: { display: "flex", "align-items": "center" },
5208
5208
  key: t.label
5209
5209
  }, [
@@ -5236,13 +5236,13 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
5236
5236
  var f;
5237
5237
  return [
5238
5238
  z("div", Qu, [
5239
- (B(!0), re(da, null, Aa((f = Object.keys(t)) == null ? void 0 : f.filter((_) => {
5239
+ (j(!0), re(da, null, Aa((f = Object.keys(t)) == null ? void 0 : f.filter((_) => {
5240
5240
  var m;
5241
5241
  return (m = Se.value) == null ? void 0 : m.find((R) => (R == null ? void 0 : R.value) === _);
5242
5242
  }), (_) => {
5243
5243
  var m, R;
5244
- return B(), re("div", { key: _ }, [
5245
- fe[_] == "radio" ? (B(), re("div", Zu, [
5244
+ return j(), re("div", { key: _ }, [
5245
+ fe[_] == "radio" ? (j(), re("div", Zu, [
5246
5246
  a[21] || (a[21] = z("div", null, "固定:", -1)),
5247
5247
  q(d, {
5248
5248
  "model-value": t == null ? void 0 : t[_],
@@ -5251,7 +5251,7 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
5251
5251
  default: Y(() => {
5252
5252
  var X, i;
5253
5253
  return [
5254
- (B(!0), re(da, null, Aa((i = (X = Se.value) == null ? void 0 : X.find((D) => (D == null ? void 0 : D.value) === _)) == null ? void 0 : i.options, (D) => (B(), Me(c, {
5254
+ (j(!0), re(da, null, Aa((i = (X = Se.value) == null ? void 0 : X.find((D) => (D == null ? void 0 : D.value) === _)) == null ? void 0 : i.options, (D) => (j(), Me(c, {
5255
5255
  key: D == null ? void 0 : D.value,
5256
5256
  label: D == null ? void 0 : D.value,
5257
5257
  value: D == null ? void 0 : D.value
@@ -5266,7 +5266,7 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
5266
5266
  _: 2
5267
5267
  }, 1032, ["model-value", "onChange"])
5268
5268
  ])) : Ne("", !0),
5269
- fe[_] == "switch" ? (B(), Me(o, {
5269
+ fe[_] == "switch" ? (j(), Me(o, {
5270
5270
  key: 1,
5271
5271
  "model-value": t == null ? void 0 : t[_],
5272
5272
  "active-text": (R = (m = Se.value) == null ? void 0 : m.find((X) => (X == null ? void 0 : X.value) === _)) == null ? void 0 : R.label,
@@ -5296,9 +5296,9 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
5296
5296
  })
5297
5297
  ]),
5298
5298
  content: Y((t) => {
5299
- var f, _, m, R, X, i, D, le, ee, oe, J, ie, ue, je, ye, me, U, pe, we, Ce;
5299
+ var f, _, m, R, X, i, D, le, ee, oe, J, ie, ue, Be, ye, me, U, pe, we, Ce;
5300
5300
  return [
5301
- ((f = t == null ? void 0 : t.column) == null ? void 0 : f.label) === "证书附件" || ((_ = t == null ? void 0 : t.column) == null ? void 0 : _.prop) === "证书附件" ? (B(), re("div", ed, [
5301
+ ((f = t == null ? void 0 : t.column) == null ? void 0 : f.label) === "证书附件" || ((_ = t == null ? void 0 : t.column) == null ? void 0 : _.prop) === "证书附件" ? (j(), re("div", ed, [
5302
5302
  q(l, {
5303
5303
  name: "query",
5304
5304
  style: {
@@ -5310,7 +5310,7 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
5310
5310
  onClick: ia((ve) => Nt(t), ["stop"]),
5311
5311
  title: "查看OCR图片"
5312
5312
  }, null, 8, ["onClick"])
5313
- ])) : Jt(t) ? (B(), Me(r, {
5313
+ ])) : Jt(t) ? (j(), Me(r, {
5314
5314
  key: 1,
5315
5315
  "popper-class": "file-popover",
5316
5316
  placement: "right",
@@ -5325,7 +5325,7 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
5325
5325
  var ve, be;
5326
5326
  return [
5327
5327
  z("div", ld, [
5328
- (B(!0), re(da, null, Aa((be = t == null ? void 0 : t.row) == null ? void 0 : be[(ve = t == null ? void 0 : t.column) == null ? void 0 : ve.prop], (de) => (B(), re("div", rd, [
5328
+ (j(!0), re(da, null, Aa((be = t == null ? void 0 : t.row) == null ? void 0 : be[(ve = t == null ? void 0 : t.column) == null ? void 0 : ve.prop], (de) => (j(), re("div", rd, [
5329
5329
  z("div", {
5330
5330
  class: "prop-url",
5331
5331
  title: Jl(de),
@@ -5340,11 +5340,11 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
5340
5340
  ];
5341
5341
  }),
5342
5342
  _: 2
5343
- }, 1024)) : (B(), re("div", {
5343
+ }, 1024)) : (j(), re("div", {
5344
5344
  key: 2,
5345
5345
  style: Gl({
5346
5346
  color: !Array.isArray(Sa(t)) && ((R = (m = Sa(t)) == null ? void 0 : m.toString()) != null && R.includes(".txt") || (i = (X = Sa(t)) == null ? void 0 : X.toString()) != null && i.includes(".cpt") || (le = (D = Sa(t)) == null ? void 0 : D.toString()) != null && le.includes(".cyd")) ? "var(--vertical-menuitem-active-bg)" : "",
5347
- textDecoration: !Array.isArray(Sa(t)) && ((oe = (ee = Sa(t)) == null ? void 0 : ee.toString()) != null && oe.includes(".txt") || (ie = (J = Sa(t)) == null ? void 0 : J.toString()) != null && ie.includes(".cpt") || (je = (ue = Sa(t)) == null ? void 0 : ue.toString()) != null && je.includes(".cyd")) ? "underline" : "",
5347
+ textDecoration: !Array.isArray(Sa(t)) && ((oe = (ee = Sa(t)) == null ? void 0 : ee.toString()) != null && oe.includes(".txt") || (ie = (J = Sa(t)) == null ? void 0 : J.toString()) != null && ie.includes(".cpt") || (Be = (ue = Sa(t)) == null ? void 0 : ue.toString()) != null && Be.includes(".cyd")) ? "underline" : "",
5348
5348
  cursor: !Array.isArray(Sa(t)) && ((me = (ye = Sa(t)) == null ? void 0 : ye.toString()) != null && me.includes(".txt") || (pe = (U = Sa(t)) == null ? void 0 : U.toString()) != null && pe.includes(".cpt") || (Ce = (we = Sa(t)) == null ? void 0 : we.toString()) != null && Ce.includes(".cyd")) ? "pointer" : "",
5349
5349
  marginLeft: (t == null ? void 0 : t.colIndex) === 0 ? `${((t == null ? void 0 : t.level) ?? 0) * 20}px` : 0
5350
5350
  }),
@@ -5372,7 +5372,7 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
5372
5372
  ]),
5373
5373
  default: Y(() => [
5374
5374
  z("div", Wu, [
5375
- (B(!0), re(da, null, Aa(lt(nl.value, t), (_, m) => (B(), re("div", {
5375
+ (j(!0), re(da, null, Aa(lt(nl.value, t), (_, m) => (j(), re("div", {
5376
5376
  class: "menu-config-item",
5377
5377
  key: m,
5378
5378
  onClick: ia((R) => Dr(_ == null ? void 0 : _.label, t, { extra: _, index: f }), ["stop"])
@@ -5415,7 +5415,7 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
5415
5415
  ])
5416
5416
  ]),
5417
5417
  footer: Y(() => [
5418
- er.value ? (B(), re("div", id, [
5418
+ er.value ? (j(), re("div", id, [
5419
5419
  q(p, {
5420
5420
  onClick: a[4] || (a[4] = (t) => Xa.value = !1),
5421
5421
  id: "themeBorderButton"
@@ -5478,12 +5478,12 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
5478
5478
  ]),
5479
5479
  _: 1
5480
5480
  }, 8, ["title", "visible", "width"]),
5481
- Qe.value ? (B(), Me(No, {
5481
+ Qe.value ? (j(), Me(po, {
5482
5482
  key: 2,
5483
5483
  fileDataList: Na.value,
5484
5484
  onDestroy: ot
5485
5485
  }, null, 8, ["fileDataList"])) : Ne("", !0),
5486
- pa.value ? (B(), Me(ul, {
5486
+ pa.value ? (j(), Me(ul, {
5487
5487
  key: 3,
5488
5488
  visible: pa.value,
5489
5489
  onBeforeDestroy: Pt,
@@ -5527,7 +5527,7 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
5527
5527
  z("div", dd, [
5528
5528
  z("div", cd, [
5529
5529
  z("div", {
5530
- class: Ba(["ocr-step-item", { active: ga.value === 1 }])
5530
+ class: ja(["ocr-step-item", { active: ga.value === 1 }])
5531
5531
  }, a[30] || (a[30] = [
5532
5532
  z("div", { class: "step-circle" }, "1", -1),
5533
5533
  z("div", {
@@ -5537,7 +5537,7 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
5537
5537
  ]), 2),
5538
5538
  a[33] || (a[33] = z("div", { class: "ocr-step-connector" }, null, -1)),
5539
5539
  z("div", {
5540
- class: Ba(["ocr-step-item", { active: ga.value === 2 }])
5540
+ class: ja(["ocr-step-item", { active: ga.value === 2 }])
5541
5541
  }, a[31] || (a[31] = [
5542
5542
  z("div", { class: "step-circle" }, "2", -1),
5543
5543
  z("div", {
@@ -5547,7 +5547,7 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
5547
5547
  ]), 2),
5548
5548
  a[34] || (a[34] = z("div", { class: "ocr-step-connector" }, null, -1)),
5549
5549
  z("div", {
5550
- class: Ba(["ocr-step-item", { active: ga.value === 3 }])
5550
+ class: ja(["ocr-step-item", { active: ga.value === 3 }])
5551
5551
  }, a[32] || (a[32] = [
5552
5552
  z("div", { class: "step-circle" }, "3", -1),
5553
5553
  z("div", {
@@ -5556,7 +5556,7 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
5556
5556
  }, "文件提交", -1)
5557
5557
  ]), 2)
5558
5558
  ]),
5559
- ga.value === 1 ? (B(), re("div", pd, [
5559
+ ga.value === 1 ? (j(), re("div", pd, [
5560
5560
  q(p, {
5561
5561
  onClick: ht,
5562
5562
  class: "ocr-action-btn",
@@ -5582,21 +5582,21 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
5582
5582
  __: [36]
5583
5583
  }, 8, ["disabled"])
5584
5584
  ])) : Ne("", !0),
5585
- ga.value === 1 ? (B(), re("div", fd, [
5585
+ ga.value === 1 ? (j(), re("div", fd, [
5586
5586
  z("div", vd, [
5587
- (B(!0), re(da, null, Aa(qe.value, (t, f) => {
5587
+ (j(!0), re(da, null, Aa(qe.value, (t, f) => {
5588
5588
  var _;
5589
- return B(), re("div", {
5589
+ return j(), re("div", {
5590
5590
  key: f,
5591
5591
  class: "ocr-file-item"
5592
5592
  }, [
5593
5593
  z("div", hd, [
5594
- t.raw && ((_ = t.raw.type) != null && _.startsWith("image/")) ? (B(), re("img", {
5594
+ t.raw && ((_ = t.raw.type) != null && _.startsWith("image/")) ? (j(), re("img", {
5595
5595
  key: 0,
5596
5596
  src: Ct(t),
5597
5597
  alt: "预览",
5598
5598
  class: "thumbnail-image"
5599
- }, null, 8, yd)) : (B(), re("div", gd, [
5599
+ }, null, 8, yd)) : (j(), re("div", gd, [
5600
5600
  q(N, { size: 40 }, {
5601
5601
  default: Y(() => [
5602
5602
  q(Pa(ao))
@@ -5605,14 +5605,14 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
5605
5605
  })
5606
5606
  ])),
5607
5607
  z("div", {
5608
- class: Ba(["file-progress-ring", {
5608
+ class: ja(["file-progress-ring", {
5609
5609
  uploading: oa(t) === "uploading",
5610
5610
  processing: oa(t) === "processing",
5611
5611
  completed: oa(t) === "completed" || oa(t) === "uploaded",
5612
5612
  failed: oa(t) === "failed"
5613
5613
  }])
5614
5614
  }, [
5615
- (B(), re("svg", bd, [
5615
+ (j(), re("svg", bd, [
5616
5616
  a[37] || (a[37] = z("circle", {
5617
5617
  class: "progress-ring-bg",
5618
5618
  cx: "18",
@@ -5623,7 +5623,7 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
5623
5623
  "stroke-width": "2"
5624
5624
  }, null, -1)),
5625
5625
  z("circle", {
5626
- class: Ba(["progress-ring-fill", {
5626
+ class: ja(["progress-ring-fill", {
5627
5627
  completed: oa(t) === "completed" || oa(t) === "uploaded",
5628
5628
  uploading: oa(t) === "uploading",
5629
5629
  processing: oa(t) === "processing",
@@ -5641,7 +5641,7 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
5641
5641
  transform: "rotate(-90 18 18)"
5642
5642
  }, null, 10, md)
5643
5643
  ])),
5644
- oa(t) === "completed" || oa(t) === "uploaded" ? (B(), re("div", _d, [
5644
+ oa(t) === "completed" || oa(t) === "uploaded" ? (j(), re("div", _d, [
5645
5645
  q(N, { class: "check-icon" }, {
5646
5646
  default: Y(() => [
5647
5647
  q(Pa(Rr))
@@ -5649,7 +5649,7 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
5649
5649
  _: 1
5650
5650
  })
5651
5651
  ])) : Ne("", !0),
5652
- oa(t) === "failed" ? (B(), re("div", kd, [
5652
+ oa(t) === "failed" ? (j(), re("div", kd, [
5653
5653
  q(N, { class: "error-icon" }, {
5654
5654
  default: Y(() => [
5655
5655
  q(Pa(qn))
@@ -5674,7 +5674,7 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
5674
5674
  ]);
5675
5675
  }), 128))
5676
5676
  ]),
5677
- qe.value.length > 0 ? (B(), re("div", Ad, [
5677
+ qe.value.length > 0 ? (j(), re("div", Ad, [
5678
5678
  q(p, {
5679
5679
  onClick: cn,
5680
5680
  class: "ocr-start-recognize-btn",
@@ -5689,13 +5689,13 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
5689
5689
  }, 8, ["disabled"])
5690
5690
  ])) : Ne("", !0)
5691
5691
  ])) : Ne("", !0),
5692
- ga.value === 1 ? (B(), re("div", wd, [
5692
+ ga.value === 1 ? (j(), re("div", wd, [
5693
5693
  q(A, {
5694
5694
  percentage: Ka.value,
5695
5695
  "stroke-width": 8
5696
5696
  }, null, 8, ["percentage"])
5697
5697
  ])) : Ne("", !0),
5698
- ga.value === 2 ? (B(), re("div", Td, [
5698
+ ga.value === 2 ? (j(), re("div", Td, [
5699
5699
  z("div", Od, [
5700
5700
  q(I, {
5701
5701
  title: "请核对识别结果,在表头勾选字段用于匹配并替换现有数据。",
@@ -5719,7 +5719,7 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
5719
5719
  width: "60",
5720
5720
  fixed: ""
5721
5721
  }),
5722
- (B(!0), re(da, null, Aa(Sr.value, (t) => (B(), Me(F, {
5722
+ (j(!0), re(da, null, Aa(Sr.value, (t) => (j(), Me(F, {
5723
5723
  key: t.prop,
5724
5724
  prop: t.prop,
5725
5725
  "min-width": t.minWidth || 230,
@@ -5727,7 +5727,7 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
5727
5727
  }, {
5728
5728
  header: Y(() => [
5729
5729
  z("div", Nd, [
5730
- t.isAccuracy ? Ne("", !0) : (B(), Me(s, {
5730
+ t.isAccuracy ? Ne("", !0) : (j(), Me(s, {
5731
5731
  key: 0,
5732
5732
  "model-value": ol.value.includes(t.prop),
5733
5733
  onChange: (f) => mt(t.prop, f),
@@ -5740,15 +5740,15 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
5740
5740
  default: Y(({ row: f, $index: _ }) => {
5741
5741
  var m, R, X;
5742
5742
  return [
5743
- t.isAccuracy ? (B(), re("span", {
5743
+ t.isAccuracy ? (j(), re("span", {
5744
5744
  key: 0,
5745
5745
  class: "accuracy-value",
5746
5746
  style: Gl({
5747
5747
  color: kt(f[t.prop]),
5748
5748
  fontWeight: 500
5749
5749
  })
5750
- }, Fe(_t(f[t.prop])), 5)) : (B(), re(da, { key: 1 }, [
5751
- hl.value !== _ ? (B(), re("span", Dd, Fe(f[t.prop]), 1)) : (B(), Me(Vt(ms(t.prop)), {
5750
+ }, Fe(_t(f[t.prop])), 5)) : (j(), re(da, { key: 1 }, [
5751
+ hl.value !== _ ? (j(), re("span", Dd, Fe(f[t.prop]), 1)) : (j(), Me(Vt(ms(t.prop)), {
5752
5752
  key: 1,
5753
5753
  modelValue: f[t.prop],
5754
5754
  "onUpdate:modelValue": (i) => f[t.prop] = i,
@@ -5771,7 +5771,7 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
5771
5771
  fixed: "right"
5772
5772
  }, {
5773
5773
  default: Y(({ $index: t }) => [
5774
- hl.value === t ? (B(), Me(N, {
5774
+ hl.value === t ? (j(), Me(N, {
5775
5775
  key: 0,
5776
5776
  class: "ocr-edit-icon editing",
5777
5777
  style: { "margin-left": "12px" },
@@ -5781,7 +5781,7 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
5781
5781
  q(Pa(Rr))
5782
5782
  ]),
5783
5783
  _: 2
5784
- }, 1032, ["onClick"])) : (B(), Me(l, {
5784
+ }, 1032, ["onClick"])) : (j(), Me(l, {
5785
5785
  key: 1,
5786
5786
  name: "edit_101",
5787
5787
  class: "ocr-edit-icon",
@@ -5795,7 +5795,7 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
5795
5795
  }, 8, ["data"])
5796
5796
  ])
5797
5797
  ])) : Ne("", !0),
5798
- ga.value === 3 ? (B(), re("div", $d, [
5798
+ ga.value === 3 ? (j(), re("div", $d, [
5799
5799
  q(N, {
5800
5800
  size: "32",
5801
5801
  class: "ocr-success-icon"
@@ -5824,7 +5824,7 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
5824
5824
  }, null, 8, ["file-list"])
5825
5825
  ]),
5826
5826
  footer: Y(() => [
5827
- ga.value !== 3 ? (B(), re("div", Ed, [
5827
+ ga.value !== 3 ? (j(), re("div", Ed, [
5828
5828
  q(p, {
5829
5829
  onClick: Ot,
5830
5830
  class: "ocr-start-recognize-btn",
@@ -5880,7 +5880,7 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
5880
5880
  columns: C.value,
5881
5881
  onSubmit: Cs
5882
5882
  }, null, 8, ["visible", "candidates", "name-prop", "mfr-prop", "columns"]),
5883
- q(ji, {
5883
+ q(Bi, {
5884
5884
  visible: kr.value,
5885
5885
  "onUpdate:visible": a[17] || (a[17] = (t) => kr.value = t),
5886
5886
  ocrPreviewData: tl.value,
@@ -5918,7 +5918,7 @@ const Cu = { style: { display: "flex", gap: "16px", height: "100%" } }, Au = {
5918
5918
  }, Zd = /* @__PURE__ */ vl(Rd, [["__scopeId", "data-v-e0c14fbc"]]);
5919
5919
  export {
5920
5920
  pu as a,
5921
- jo as f,
5921
+ Bo as f,
5922
5922
  ns as g,
5923
5923
  Zd as s,
5924
5924
  Pu as u