ss-component-new 1.1.921 → 1.1.923

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 (75) hide show
  1. package/dist/{animationData-D-XvnkSQ.js → animationData-CTpjCYhK.js} +6 -6
  2. package/dist/{animationData-Dg5nZmQb.cjs → animationData-DLXZgNpV.cjs} +1 -1
  3. package/dist/{index-DqUIDEgN.js → index-0G_JDDWb.js} +2 -2
  4. package/dist/{index-DlHjuMCk.cjs → index-8mTZLO_A.cjs} +1 -1
  5. package/dist/{index-TTLLjKU5.js → index-AGPHpTKJ.js} +1 -1
  6. package/dist/index-B-aQ-kqX.cjs +1 -0
  7. package/dist/{index-BfLjlx67.cjs → index-B0OjCXz7.cjs} +1 -1
  8. package/dist/{index-98RJ1w0g.js → index-B4VYJrHF.js} +12 -11
  9. package/dist/{index-CmT-zy5L.cjs → index-B6oh3-Ct.cjs} +1 -1
  10. package/dist/{index-CZJTN1uo.cjs → index-BAMDj-rG.cjs} +1 -1
  11. package/dist/{index-C5M-qhEj.js → index-BCfdDcDu.js} +1 -1
  12. package/dist/{index-gnffGsTk.js → index-BJYEogKi.js} +1 -1
  13. package/dist/{index-Bi_pZDT_.cjs → index-BQ6f71Dz.cjs} +1 -1
  14. package/dist/{index-B-yzrEZh.js → index-BVbjjK1V.js} +537 -530
  15. package/dist/{index-BmsooG86.js → index-BYaXG121.js} +4 -4
  16. package/dist/{index-Q-Cy1_j8.js → index-BkZETTsT.js} +2 -2
  17. package/dist/{index-CFLovJ0i.cjs → index-BkdQ5sK9.cjs} +1 -1
  18. package/dist/{index-C4JMEa6C.js → index-Bm70BpWE.js} +1 -1
  19. package/dist/{index-BuPTgVC7.js → index-BrSQozru.js} +1 -1
  20. package/dist/{index-BwUkB1sf.js → index-Bv21n18_.js} +3 -3
  21. package/dist/{index-Cc5_TOfF.js → index-Bzn8NssG.js} +2 -2
  22. package/dist/{index-DsZFwAYZ.cjs → index-C4dYFyeW.cjs} +1 -1
  23. package/dist/{index-D-gYKwIE.cjs → index-CDlfv8iZ.cjs} +1 -1
  24. package/dist/{index-DHlQLt05.cjs → index-CEBtluXF.cjs} +1 -1
  25. package/dist/{index-CMYZuZzH.js → index-CHuYFd6z.js} +3 -3
  26. package/dist/{index-2sGzSWRf.js → index-CI-zI74o.js} +5 -5
  27. package/dist/{index-BhrZuBcV.cjs → index-CM2e-aFr.cjs} +1 -1
  28. package/dist/{index-BKeI2lR9.cjs → index-CWaNzrIi.cjs} +4 -4
  29. package/dist/{index-BDU3vXVs.js → index-CX3oEbIN.js} +1 -1
  30. package/dist/{index-BSOLJb49.js → index-CagNaxdj.js} +1 -1
  31. package/dist/{index-DSvhBEUe.js → index-D0SmzMV2.js} +1 -1
  32. package/dist/{index-CsXU1cJh.js → index-DEb_fTQX.js} +2 -2
  33. package/dist/{index-BWITrhZP.js → index-DG6cei-2.js} +2 -2
  34. package/dist/{index-CyIZxplK.js → index-DIawaN-i.js} +2 -2
  35. package/dist/{index-CLaIyeHj.cjs → index-DN_jbDym.cjs} +1 -1
  36. package/dist/{index-DxUI9x_B.cjs → index-DeOGzCvI.cjs} +1 -1
  37. package/dist/{index-Cj75iy0b.cjs → index-DeWYtW4K.cjs} +1 -1
  38. package/dist/{index-BKzt_jIN.cjs → index-Dl5T9uDS.cjs} +1 -1
  39. package/dist/{index-Cd2PkOxm.js → index-DlBzL_XU.js} +9 -9
  40. package/dist/{index-BSbSyRCe.js → index-DmQjZHnn.js} +3 -3
  41. package/dist/{index-RowSWjcw.js → index-DmRh8D1t.js} +1 -1
  42. package/dist/{index-C1gMK2BS.cjs → index-DxkGOvjA.cjs} +1 -1
  43. package/dist/{index-hu4gkaPI.cjs → index-Sb4ZvuY9.cjs} +1 -1
  44. package/dist/{index-PTwO2-GZ.js → index-Z3Su0Iq4.js} +340 -331
  45. package/dist/{index-CqHUGQDa.js → index-d_JKmLxj.js} +4 -4
  46. package/dist/{index-CZk6uo11.js → index-fbKgXoj0.js} +2 -2
  47. package/dist/{index-M6TcCTD5.js → index-oR_RD2vE.js} +1 -1
  48. package/dist/{index-BoEjfIjV.js → index-rX-we4sR.js} +7 -7
  49. package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-QmzkrVn5.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-C0FUSSZR.js} +1 -1
  50. package/dist/{index.vue_vue_type_style_index_0_scoped_6ecb5a6a_lang-_oi2LBsJ.js → index.vue_vue_type_style_index_0_scoped_6ecb5a6a_lang-DL3zuTIY.js} +10 -10
  51. package/dist/{index.vue_vue_type_style_index_0_scoped_6ecb5a6a_lang-DKbr2pqk.cjs → index.vue_vue_type_style_index_0_scoped_6ecb5a6a_lang-DqH34Kgb.cjs} +1 -1
  52. package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-Bv3C9m69.js → index.vue_vue_type_style_index_0_scoped_92477073_lang-DGmgy87A.js} +5 -5
  53. package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-BT8bM4Yz.cjs → index.vue_vue_type_style_index_0_scoped_92477073_lang-DZ5tdbkA.cjs} +1 -1
  54. package/dist/{index.vue_vue_type_style_index_1_lang-yLsHUO4i.js → index.vue_vue_type_style_index_1_lang-BxhwL7ff.js} +2 -2
  55. package/dist/{index.vue_vue_type_style_index_1_lang-X-7YscJh.cjs → index.vue_vue_type_style_index_1_lang-CDMiAXNP.cjs} +1 -1
  56. package/dist/{index.vue_vue_type_style_index_1_lang-VCE6rYmh.js → index.vue_vue_type_style_index_1_lang-DXdi5Q8-.js} +2 -2
  57. package/dist/{main-XwkiTQ0-.cjs → main-D8Iwnwan.cjs} +1 -1
  58. package/dist/{main-DfbZ-tFN.js → main-Dxvq8o_X.js} +3 -3
  59. package/dist/ss-component.cjs +1 -1
  60. package/dist/ss-component.css +2 -2
  61. package/dist/ss-component.js +10 -10
  62. package/dist/ss-component2.cjs +1 -1
  63. package/dist/ss-component2.js +11 -11
  64. package/dist/{threeLatheView-QelyxFIt.cjs → threeLatheView-BoPqISuU.cjs} +1 -1
  65. package/dist/{threeLatheView-CWy7WIwu.js → threeLatheView-CdkQ2EqM.js} +4 -4
  66. package/dist/{threeModel-DDFQzI8g.cjs → threeModel-3DlefrGj.cjs} +1 -1
  67. package/dist/{threeModel-C7pPh28B.js → threeModel-Djxu_n4l.js} +2 -2
  68. package/dist/{threeSceneView-C1EIO3Ye.js → threeSceneView-BOr_zjMB.js} +5 -5
  69. package/dist/{threeSceneView-CsOGlGwZ.cjs → threeSceneView-BpOW9IUT.cjs} +1 -1
  70. package/dist/{threeSceneViewForCPMPIP-DVGCogkM.js → threeSceneViewForCPMPIP-BA9YBmBn.js} +1 -1
  71. package/dist/{threeSceneViewForCPMPIP-CHlcmYWA.cjs → threeSceneViewForCPMPIP-D6gUCU6_.cjs} +1 -1
  72. package/dist/{threeViewerHost-WZZDtK9s.cjs → threeViewerHost-DPZKsQRj.cjs} +1 -1
  73. package/dist/{threeViewerHost-BxDCbtxz.js → threeViewerHost-DSHtm4tg.js} +2 -2
  74. package/package.json +1 -1
  75. package/dist/index-BO8ABe6N.cjs +0 -1
@@ -1,12 +1,12 @@
1
- import { ref as N, resolveComponent as J, createBlock as F, openBlock as x, createCommentVNode as e0, createSlots as Y2, withCtx as L, renderSlot as c0, defineComponent as _2, onMounted as X2, createVNode as Q, createElementVNode as s0, createElementBlock as E, Fragment as C0, renderList as M0, reactive as D3, h as ze, Transition as V4, withDirectives as lt, vShow as Ht, createApp as E4, toRefs as w6, nextTick as x2, isRef as B4, computed as i0, watch as s2, onBeforeUnmount as bn, normalizeStyle as N0, normalizeClass as $3, resolveDynamicComponent as It, toDisplayString as $0, createTextVNode as ge, normalizeProps as L4, guardReactiveProps as H4, mergeProps as t1, withModifiers as b6, inject as I4, watchEffect as Ie, onUnmounted as i1, unref as Je, resolveDirective as R4 } from "vue";
1
+ import { ref as G, resolveComponent as J, createBlock as F, openBlock as x, createCommentVNode as t0, createSlots as Y2, withCtx as L, renderSlot as c0, defineComponent as _2, onMounted as X2, createVNode as K, createElementVNode as s0, createElementBlock as B, Fragment as C0, renderList as M0, reactive as D3, h as ze, Transition as V4, withDirectives as lt, vShow as Ht, createApp as E4, toRefs as w6, nextTick as x2, isRef as B4, computed as i0, watch as s2, onBeforeUnmount as bn, normalizeStyle as N0, normalizeClass as $3, resolveDynamicComponent as It, toDisplayString as $0, createTextVNode as ge, normalizeProps as L4, guardReactiveProps as H4, mergeProps as t1, withModifiers as b6, inject as I4, watchEffect as Ie, onUnmounted as i1, unref as Je, resolveDirective as R4 } from "vue";
2
2
  import { S as rt } from "./index-BHtNKL1L.js";
3
- import { d as W3, S as rs, r as N4, H as G4, x as $4, Q as as, h as cs } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-QmzkrVn5.js";
3
+ import { d as W3, S as rs, r as N4, H as G4, x as $4, Q as as, h as cs } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-C0FUSSZR.js";
4
4
  import { _ as A0 } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
5
  import { _ as ie } from "./index.vue_vue_type_script_setup_true_lang-DRzriV-s.js";
6
- import { aS as W4, a as xn, u as x6, at as y6 } from "./index.vue_vue_type_style_index_1_lang-yLsHUO4i.js";
6
+ import { aS as W4, a as xn, u as x6, at as y6 } from "./index.vue_vue_type_style_index_1_lang-BxhwL7ff.js";
7
7
  import { bu as _6, bv as S6, c4 as j4, c5 as hs, bm as U4, aO as q1, K as F4, O as C6, ap as wt, aN as ds, N as k6, c6 as q4, p as Y1, s as K1, c as j2, E as yn, a as O6, c7 as Y4, aC as K4, ak as X4, c8 as Q4, b as J4, aK as Z4 } from "./index-BQYjK74w.js";
8
- import { u as D6, t as j3, d as ea } from "./threeViewerHost-BxDCbtxz.js";
9
- import { s as ta } from "./index-TTLLjKU5.js";
8
+ import { u as D6, t as j3, d as ea } from "./threeViewerHost-DSHtm4tg.js";
9
+ import { s as ta } from "./index-AGPHpTKJ.js";
10
10
  var ia = "[object Date]";
11
11
  function na(n) {
12
12
  return _6(n) && S6(n) == ia;
@@ -37,7 +37,7 @@ const la = {
37
37
  }
38
38
  },
39
39
  setup(n) {
40
- const e = n, t = N(e.value);
40
+ const e = n, t = G(e.value);
41
41
  return (i, s) => {
42
42
  const o = J("el-switch");
43
43
  return x(), F(o, {
@@ -69,10 +69,10 @@ const la = {
69
69
  }
70
70
  },
71
71
  setup(n) {
72
- const e = n, t = N(e.value);
72
+ const e = n, t = G(e.value);
73
73
  return (i, s) => {
74
74
  const o = J("el-input");
75
- return Array.isArray(t.value) ? e0("", !0) : (x(), F(o, {
75
+ return Array.isArray(t.value) ? t0("", !0) : (x(), F(o, {
76
76
  key: 0,
77
77
  modelValue: t.value,
78
78
  "onUpdate:modelValue": s[0] || (s[0] = (l) => t.value = l),
@@ -685,7 +685,7 @@ const ud = { class: "icon-popover" }, fd = ["onClick"], pd = /* @__PURE__ */ _2(
685
685
  },
686
686
  emits: ["update:modelValue"],
687
687
  setup(n, { emit: e }) {
688
- const t = n, i = e, s = N(t.modelValue), o = N(!1), l = N([]), r = () => {
688
+ const t = n, i = e, s = G(t.modelValue), o = G(!1), l = G([]), r = () => {
689
689
  o.value = !0;
690
690
  }, a = () => {
691
691
  o.value = !1;
@@ -704,12 +704,12 @@ const ud = { class: "icon-popover" }, fd = ["onClick"], pd = /* @__PURE__ */ _2(
704
704
  }, {
705
705
  default: L(() => [
706
706
  s0("div", ud, [
707
- (x(!0), E(C0, null, M0(l.value, (p, g) => (x(), E("div", {
707
+ (x(!0), B(C0, null, M0(l.value, (p, g) => (x(), B("div", {
708
708
  key: g,
709
709
  class: "icon-wrap",
710
710
  onClick: (v) => h(p)
711
711
  }, [
712
- Q(rt, {
712
+ K(rt, {
713
713
  name: p == null ? void 0 : p.value,
714
714
  style: { width: "20px", height: "20px" }
715
715
  }, null, 8, ["name"])
@@ -717,7 +717,7 @@ const ud = { class: "icon-popover" }, fd = ["onClick"], pd = /* @__PURE__ */ _2(
717
717
  ])
718
718
  ]),
719
719
  reference: L(() => [
720
- Q(u, {
720
+ K(u, {
721
721
  modelValue: s.value,
722
722
  "onUpdate:modelValue": d[0] || (d[0] = (p) => s.value = p),
723
723
  placeholder: "请输入",
@@ -727,7 +727,7 @@ const ud = { class: "icon-popover" }, fd = ["onClick"], pd = /* @__PURE__ */ _2(
727
727
  onBlur: a
728
728
  }, {
729
729
  prepend: L(() => [
730
- Q(rt, {
730
+ K(rt, {
731
731
  name: s.value,
732
732
  style: { width: "20px", height: "20px" }
733
733
  }, null, 8, ["name"])
@@ -753,7 +753,7 @@ const ud = { class: "icon-popover" }, fd = ["onClick"], pd = /* @__PURE__ */ _2(
753
753
  }
754
754
  },
755
755
  setup(n) {
756
- const e = n, t = N(e.value);
756
+ const e = n, t = G(e.value);
757
757
  return (i, s) => {
758
758
  const o = J("el-input");
759
759
  return x(), F(o, {
@@ -780,7 +780,7 @@ const ud = { class: "icon-popover" }, fd = ["onClick"], pd = /* @__PURE__ */ _2(
780
780
  }
781
781
  },
782
782
  setup(n) {
783
- const t = N(n.value);
783
+ const t = G(n.value);
784
784
  return (i, s) => {
785
785
  const o = J("el-color-picker");
786
786
  return x(), F(o, {
@@ -804,7 +804,7 @@ const ud = { class: "icon-popover" }, fd = ["onClick"], pd = /* @__PURE__ */ _2(
804
804
  }
805
805
  },
806
806
  setup(n) {
807
- const t = N(n.value);
807
+ const t = G(n.value);
808
808
  return (i, s) => {
809
809
  const o = J("el-input");
810
810
  return x(), F(o, {
@@ -818,7 +818,7 @@ const ud = { class: "icon-popover" }, fd = ["onClick"], pd = /* @__PURE__ */ _2(
818
818
  };
819
819
  function bd(n, e) {
820
820
  let t;
821
- const i = N(!1), s = D3({
821
+ const i = G(!1), s = D3({
822
822
  ...n,
823
823
  originalPosition: "",
824
824
  originalOverflow: "",
@@ -875,7 +875,7 @@ function bd(n, e) {
875
875
  onAfterLeave: h
876
876
  }, {
877
877
  default: L(() => [
878
- lt(Q("div", {
878
+ lt(K("div", {
879
879
  style: {
880
880
  backgroundColor: s.background || ""
881
881
  },
@@ -968,7 +968,7 @@ const E1 = Symbol("ElLoading"), gs = (n, e) => {
968
968
  var t, i, s, o;
969
969
  const l = e.instance, r = (f) => k6(e.value) ? e.value[f] : void 0, a = (f) => {
970
970
  const p = C6(f) && (l == null ? void 0 : l[f]) || f;
971
- return p && N(p);
971
+ return p && G(p);
972
972
  }, h = (f) => a(r(f) || n.getAttribute(`element-loading-${q4(f)}`)), c = (t = r("fullscreen")) != null ? t : e.modifiers.fullscreen, d = {
973
973
  text: h("text"),
974
974
  svg: h("svg"),
@@ -1061,7 +1061,7 @@ const Sd = {
1061
1061
  },
1062
1062
  emits: ["blurChange", "click"],
1063
1063
  setup(n, { emit: e }) {
1064
- const t = n, i = e, s = N(t.value), o = N();
1064
+ const t = n, i = e, s = G(t.value), o = G();
1065
1065
  X2(() => {
1066
1066
  o.value = t == null ? void 0 : t.content;
1067
1067
  });
@@ -1093,7 +1093,7 @@ const Sd = {
1093
1093
  onVisibleChange: h
1094
1094
  }, {
1095
1095
  default: L(() => [
1096
- (x(!0), E(C0, null, M0(a.value, (p) => (x(), F(u, {
1096
+ (x(!0), B(C0, null, M0(a.value, (p) => (x(), F(u, {
1097
1097
  key: p.value,
1098
1098
  label: p.label,
1099
1099
  value: p.value
@@ -1157,7 +1157,7 @@ const Sd = {
1157
1157
  const t = n, i = xn(Y1), { isEdit: s } = K1(i), o = x6(), { activeMenuPath: l } = K1(o);
1158
1158
  X2(() => {
1159
1159
  });
1160
- const r = e, a = N(null), h = N(null), c = N(), d = N(), u = N(0), f = i0(() => {
1160
+ const r = e, a = G(null), h = G(null), c = G(), d = G(), u = G(0), f = i0(() => {
1161
1161
  var P;
1162
1162
  return (P = y6) == null ? void 0 : P.map((M) => ({
1163
1163
  value: M == null ? void 0 : M.key,
@@ -1166,9 +1166,9 @@ const Sd = {
1166
1166
  }), p = (P) => {
1167
1167
  r("routeUrl", P);
1168
1168
  }, g = i0(() => {
1169
- var K;
1170
- const P = (K = l.value) == null ? void 0 : K.split("/");
1171
- return (P == null ? void 0 : P.some((G) => (G == null ? void 0 : G.includes("updateLoading")) || (G == null ? void 0 : G.includes("loading")))) ? !1 : s.value === "view" && (t == null ? void 0 : t.showOperator);
1169
+ var X;
1170
+ const P = (X = l.value) == null ? void 0 : X.split("/");
1171
+ return (P == null ? void 0 : P.some(($) => ($ == null ? void 0 : $.includes("updateLoading")) || ($ == null ? void 0 : $.includes("loading")))) ? !1 : s.value === "view" && (t == null ? void 0 : t.showOperator);
1172
1172
  }), v = (P) => ls(P), w = (P) => {
1173
1173
  r("clickTrigger", P);
1174
1174
  }, y = (P) => {
@@ -1202,24 +1202,24 @@ const Sd = {
1202
1202
  s2(
1203
1203
  () => t == null ? void 0 : t.rowContents,
1204
1204
  () => {
1205
- var M, K;
1205
+ var M, X;
1206
1206
  if (((M = t == null ? void 0 : t.rowContents) == null ? void 0 : M.length) === 0) return;
1207
1207
  const P = {};
1208
- (K = j2(t == null ? void 0 : t.rowContents)) == null || K.forEach((G) => {
1209
- P[(G == null ? void 0 : G.prop) ?? (G == null ? void 0 : G.name)] = b(G == null ? void 0 : G.type, G == null ? void 0 : G.value);
1208
+ (X = j2(t == null ? void 0 : t.rowContents)) == null || X.forEach(($) => {
1209
+ P[($ == null ? void 0 : $.prop) ?? ($ == null ? void 0 : $.name)] = b($ == null ? void 0 : $.type, $ == null ? void 0 : $.value);
1210
1210
  }), c.value = P, d.value = P, k();
1211
1211
  },
1212
1212
  { deep: !0, immediate: !0 }
1213
1213
  );
1214
1214
  const z = async (P, M) => {
1215
- await x2(), M && await (M == null ? void 0 : M.validate((K, G) => {
1216
- K ? r(
1215
+ await x2(), M && await (M == null ? void 0 : M.validate((X, $) => {
1216
+ X ? r(
1217
1217
  "onButtonClick",
1218
1218
  {
1219
1219
  content: d.value,
1220
1220
  buttonName: P
1221
1221
  }
1222
- ) : console.log("表单校验失败", G);
1222
+ ) : console.log("表单校验失败", $);
1223
1223
  }));
1224
1224
  };
1225
1225
  return bn(() => {
@@ -1237,20 +1237,20 @@ const Sd = {
1237
1237
  { deep: !0 }
1238
1238
  ), (P, M) => {
1239
1239
  var y0;
1240
- const K = J("el-form-item"), G = J("el-form"), h0 = J("el-button");
1241
- return x(), E("div", {
1240
+ const X = J("el-form-item"), $ = J("el-form"), h0 = J("el-button");
1241
+ return x(), B("div", {
1242
1242
  class: "form-content",
1243
1243
  style: N0({ flexDirection: n.isButtonRow ? "row" : "column" })
1244
1244
  }, [
1245
- g.value ? (x(), E("div", kd, [
1245
+ g.value ? (x(), B("div", kd, [
1246
1246
  c0(P.$slots, "operateCol", {
1247
1247
  renderColumns: n.rowContents,
1248
1248
  formDisabled: n.formDisabled,
1249
1249
  formLabelsOperable: n.formLabelsOperable
1250
1250
  }, void 0, !0)
1251
- ])) : e0("", !0),
1251
+ ])) : t0("", !0),
1252
1252
  s0("div", Od, [
1253
- t.isEnableWrap ? (x(), F(G, {
1253
+ t.isEnableWrap ? (x(), F($, {
1254
1254
  ref_key: "formWrapRef",
1255
1255
  ref: a,
1256
1256
  model: c.value,
@@ -1262,7 +1262,7 @@ const Sd = {
1262
1262
  default: L(() => {
1263
1263
  var d0;
1264
1264
  return [
1265
- (x(!0), E(C0, null, M0(t == null ? void 0 : t.rowContents, (m, S0) => lt((x(), F(K, {
1265
+ (x(!0), B(C0, null, M0(t == null ? void 0 : t.rowContents, (m, S0) => lt((x(), F(X, {
1266
1266
  key: S0,
1267
1267
  disabled: n.formDisabled || (m == null ? void 0 : m.disabled),
1268
1268
  class: "form-item",
@@ -1272,7 +1272,7 @@ const Sd = {
1272
1272
  default: L(() => {
1273
1273
  var b0, q0, B0, R0, Z0, r2, a2, B2, Ce, ke, Oe, De, Me;
1274
1274
  return [
1275
- m != null && m.isFormColHidden ? e0("", !0) : (x(), F(It(v((m == null ? void 0 : m.type) ?? "Input")), {
1275
+ m != null && m.isFormColHidden ? t0("", !0) : (x(), F(It(v((m == null ? void 0 : m.type) ?? "Input")), {
1276
1276
  modelValue: d.value[(m == null ? void 0 : m.prop) ?? (m == null ? void 0 : m.name)],
1277
1277
  "onUpdate:modelValue": (L2) => d.value[(m == null ? void 0 : m.prop) ?? (m == null ? void 0 : m.name)] = L2,
1278
1278
  key: m == null ? void 0 : m.type,
@@ -1291,7 +1291,7 @@ const Sd = {
1291
1291
  class: "calculator-content form-preview",
1292
1292
  onClickTrigger: (L2) => y(d.value[(m == null ? void 0 : m.prop) ?? m.name]),
1293
1293
  modelValue: "预览"
1294
- }, null, 8, ["onClickTrigger"])) : e0("", !0)
1294
+ }, null, 8, ["onClickTrigger"])) : t0("", !0)
1295
1295
  ];
1296
1296
  }),
1297
1297
  _: 2
@@ -1299,7 +1299,7 @@ const Sd = {
1299
1299
  !(m != null && m.isFormColHidden) && (m != null && m.label) ? {
1300
1300
  name: "label",
1301
1301
  fn: L(() => [
1302
- m != null && m.label ? (x(), E("div", {
1302
+ m != null && m.label ? (x(), B("div", {
1303
1303
  key: 0,
1304
1304
  class: "from-item-label",
1305
1305
  style: N0({ width: n.isRowFlex ? "72px" : "260px", minWidth: n.isRowFlex ? "72px" : "260px" })
@@ -1312,7 +1312,7 @@ const Sd = {
1312
1312
  onChange: (b0) => I(b0, m)
1313
1313
  }, {
1314
1314
  append: L(() => [
1315
- Q(Q1, {
1315
+ K(Q1, {
1316
1316
  value: m == null ? void 0 : m.type,
1317
1317
  content: f.value,
1318
1318
  placeholder: "类型",
@@ -1321,35 +1321,35 @@ const Sd = {
1321
1321
  }, null, 8, ["value", "content", "onChange"])
1322
1322
  ]),
1323
1323
  _: 2
1324
- }, 1032, ["value", "onChange"])) : (x(), E("div", Dd, $0(m == null ? void 0 : m.label), 1))
1325
- ], 4)) : e0("", !0)
1324
+ }, 1032, ["value", "onChange"])) : (x(), B("div", Dd, $0(m == null ? void 0 : m.label), 1))
1325
+ ], 4)) : t0("", !0)
1326
1326
  ]),
1327
1327
  key: "0"
1328
1328
  } : void 0
1329
1329
  ]), 1032, ["disabled", "prop", "style"])), [
1330
1330
  [Ht, !(m != null && m.isFormColHidden)]
1331
1331
  ])), 128)),
1332
- ((d0 = t.buttonValue) == null ? void 0 : d0.length) > 0 && n.isButtonRow ? (x(), E("div", {
1332
+ ((d0 = t.buttonValue) == null ? void 0 : d0.length) > 0 && n.isButtonRow ? (x(), B("div", {
1333
1333
  key: 0,
1334
1334
  class: "form-button",
1335
1335
  style: N0({ paddingTop: n.isRowFlex ? "0" : "26px", justifyContent: n.isStartJustify ? "start" : "end" })
1336
1336
  }, [
1337
- (x(!0), E(C0, null, M0(t == null ? void 0 : t.buttonValue, (m, S0) => (x(), E("div", {
1337
+ (x(!0), B(C0, null, M0(t == null ? void 0 : t.buttonValue, (m, S0) => (x(), B("div", {
1338
1338
  key: S0,
1339
1339
  class: "form-button-content"
1340
1340
  }, [
1341
- m ? (x(), E("div", {
1341
+ m ? (x(), B("div", {
1342
1342
  key: 0,
1343
1343
  class: "form-button-item",
1344
1344
  style: N0({ background: (m == null ? void 0 : m.background) ?? "var(--ssComponent-primary-color)" }),
1345
1345
  onClick: (b0) => z(m == null ? void 0 : m.label, a.value)
1346
- }, $0(m == null ? void 0 : m.label), 13, Md)) : e0("", !0)
1346
+ }, $0(m == null ? void 0 : m.label), 13, Md)) : t0("", !0)
1347
1347
  ]))), 128))
1348
- ], 4)) : e0("", !0)
1348
+ ], 4)) : t0("", !0)
1349
1349
  ];
1350
1350
  }),
1351
1351
  _: 1
1352
- }, 8, ["model", "rules", "disabled", "class"])) : (x(), F(G, {
1352
+ }, 8, ["model", "rules", "disabled", "class"])) : (x(), F($, {
1353
1353
  ref_key: "formRef",
1354
1354
  ref: h,
1355
1355
  model: d.value,
@@ -1361,7 +1361,7 @@ const Sd = {
1361
1361
  default: L(() => {
1362
1362
  var d0;
1363
1363
  return [
1364
- (x(!0), E(C0, null, M0(t == null ? void 0 : t.rowContents, (m, S0) => lt((x(), F(K, {
1364
+ (x(!0), B(C0, null, M0(t == null ? void 0 : t.rowContents, (m, S0) => lt((x(), F(X, {
1365
1365
  key: S0,
1366
1366
  class: $3(["form-item", { "form-row-content": !n.isRowFlex }]),
1367
1367
  prop: (m == null ? void 0 : m.prop) ?? (m == null ? void 0 : m.name),
@@ -1390,20 +1390,20 @@ const Sd = {
1390
1390
  onChangeVisible: _,
1391
1391
  onBlurChange: (L2) => O((m == null ? void 0 : m.prop) ?? (m == null ? void 0 : m.name)),
1392
1392
  config: m == null ? void 0 : m.config
1393
- }, null, 40, ["modelValue", "onUpdate:modelValue", "isEdit", "disabled", "content", "optionUrl", "onBlurChange", "config"])) : e0("", !0),
1394
- (m == null ? void 0 : m.type) === "Url" ? (x(), E("div", Pd, [
1395
- Q(ie, {
1393
+ }, null, 40, ["modelValue", "onUpdate:modelValue", "isEdit", "disabled", "content", "optionUrl", "onBlurChange", "config"])) : t0("", !0),
1394
+ (m == null ? void 0 : m.type) === "Url" ? (x(), B("div", Pd, [
1395
+ K(ie, {
1396
1396
  class: "calculator-content form-preview",
1397
1397
  onClickTrigger: (L2) => p(d.value[(m == null ? void 0 : m.prop) ?? m.name]),
1398
1398
  modelValue: "详情"
1399
1399
  }, null, 8, ["onClickTrigger"])
1400
- ])) : e0("", !0),
1400
+ ])) : t0("", !0),
1401
1401
  typeof d.value[(m == null ? void 0 : m.prop) ?? m.name] == "string" && ((b0 = d.value[(m == null ? void 0 : m.prop) ?? m.name]) != null && b0.includes(".stl") || (q0 = d.value[(m == null ? void 0 : m.prop) ?? m.name]) != null && q0.includes(".obj") || (B0 = d.value[(m == null ? void 0 : m.prop) ?? m.name]) != null && B0.includes(".urdf") || (R0 = d.value[(m == null ? void 0 : m.prop) ?? m.name]) != null && R0.includes(".STL") || (Z0 = d.value[(m == null ? void 0 : m.prop) ?? m.name]) != null && Z0.includes(".ls") || (r2 = d.value[(m == null ? void 0 : m.prop) ?? m.name]) != null && r2.includes(".uv") || (a2 = d.value[(m == null ? void 0 : m.prop) ?? m.name]) != null && a2.includes(".UV") || (B2 = d.value[(m == null ? void 0 : m.prop) ?? m.name]) != null && B2.includes(".cpt") || (Ce = d.value[(m == null ? void 0 : m.prop) ?? m.name]) != null && Ce.includes(".CPT") || (ke = d.value[(m == null ? void 0 : m.prop) ?? m.name]) != null && ke.includes(".cyd") || (Oe = d.value[(m == null ? void 0 : m.prop) ?? m.name]) != null && Oe.includes(".CYD") || (De = d.value[(m == null ? void 0 : m.prop) ?? m.name]) != null && De.includes(".nc") || (Me = d.value[(m == null ? void 0 : m.prop) ?? m.name]) != null && Me.includes(".NC")) ? (x(), F(ie, {
1402
1402
  key: 2,
1403
1403
  class: "calculator-content form-preview",
1404
1404
  onClickTrigger: (L2) => y(d.value[(m == null ? void 0 : m.prop) ?? m.name]),
1405
1405
  modelValue: "预览"
1406
- }, null, 8, ["onClickTrigger"])) : e0("", !0)
1406
+ }, null, 8, ["onClickTrigger"])) : t0("", !0)
1407
1407
  ];
1408
1408
  }),
1409
1409
  _: 2
@@ -1411,7 +1411,7 @@ const Sd = {
1411
1411
  !(m != null && m.isFormColHidden) && (m != null && m.label) ? {
1412
1412
  name: "label",
1413
1413
  fn: L(() => [
1414
- m != null && m.label ? (x(), E("div", {
1414
+ m != null && m.label ? (x(), B("div", {
1415
1415
  key: 0,
1416
1416
  class: "from-item-label",
1417
1417
  style: N0({ width: n.isRowFlex ? "72px" : "auto", minWidth: n.isRowFlex ? "72px" : `calc((100% / ${(m == null ? void 0 : m.width) ?? 1}) - 8px)` })
@@ -1424,7 +1424,7 @@ const Sd = {
1424
1424
  onChange: (b0) => I(b0, m)
1425
1425
  }, {
1426
1426
  append: L(() => [
1427
- Q(Q1, {
1427
+ K(Q1, {
1428
1428
  value: m == null ? void 0 : m.type,
1429
1429
  content: f.value,
1430
1430
  placeholder: "类型",
@@ -1433,47 +1433,47 @@ const Sd = {
1433
1433
  }, null, 8, ["value", "content", "onChange"])
1434
1434
  ]),
1435
1435
  _: 2
1436
- }, 1032, ["value", "onChange"])) : (x(), E("div", Td, $0(m == null ? void 0 : m.label), 1))
1437
- ], 4)) : e0("", !0)
1436
+ }, 1032, ["value", "onChange"])) : (x(), B("div", Td, $0(m == null ? void 0 : m.label), 1))
1437
+ ], 4)) : t0("", !0)
1438
1438
  ]),
1439
1439
  key: "0"
1440
1440
  } : void 0
1441
1441
  ]), 1032, ["prop", "class", "disabled", "style"])), [
1442
1442
  [Ht, !(m != null && m.isFormColHidden)]
1443
1443
  ])), 128)),
1444
- ((d0 = t.buttonValue) == null ? void 0 : d0.length) > 0 && n.isButtonRow ? (x(), E("div", {
1444
+ ((d0 = t.buttonValue) == null ? void 0 : d0.length) > 0 && n.isButtonRow ? (x(), B("div", {
1445
1445
  key: 0,
1446
1446
  class: "form-button",
1447
1447
  style: N0({ paddingTop: n.isRowFlex ? "0" : "26px", justifyContent: n.isStartJustify ? "start" : "end" })
1448
1448
  }, [
1449
- (x(!0), E(C0, null, M0(t == null ? void 0 : t.buttonValue, (m, S0) => (x(), E("div", {
1449
+ (x(!0), B(C0, null, M0(t == null ? void 0 : t.buttonValue, (m, S0) => (x(), B("div", {
1450
1450
  key: S0,
1451
1451
  class: "form-button-content"
1452
1452
  }, [
1453
- m ? (x(), E("div", {
1453
+ m ? (x(), B("div", {
1454
1454
  key: 0,
1455
1455
  class: "form-button-item",
1456
1456
  style: N0({ background: (m == null ? void 0 : m.background) ?? "var(--ssComponent-primary-color)" }),
1457
1457
  onClick: (b0) => z(m == null ? void 0 : m.label, h.value)
1458
- }, $0(m == null ? void 0 : m.label), 13, zd)) : e0("", !0)
1458
+ }, $0(m == null ? void 0 : m.label), 13, zd)) : t0("", !0)
1459
1459
  ]))), 128))
1460
- ], 4)) : e0("", !0)
1460
+ ], 4)) : t0("", !0)
1461
1461
  ];
1462
1462
  }),
1463
1463
  _: 1
1464
1464
  }, 8, ["model", "rules", "disabled", "class"]))
1465
1465
  ]),
1466
- ((y0 = t.buttonValue) == null ? void 0 : y0.length) > 0 && !n.isButtonRow ? (x(), E("div", {
1466
+ ((y0 = t.buttonValue) == null ? void 0 : y0.length) > 0 && !n.isButtonRow ? (x(), B("div", {
1467
1467
  key: 1,
1468
1468
  class: "form-button",
1469
1469
  style: N0({ justifyContent: n.isStartJustify ? "start" : "end" })
1470
1470
  }, [
1471
- (x(!0), E(C0, null, M0(t == null ? void 0 : t.buttonValue, (d0, m) => (x(), E("div", {
1471
+ (x(!0), B(C0, null, M0(t == null ? void 0 : t.buttonValue, (d0, m) => (x(), B("div", {
1472
1472
  key: m,
1473
1473
  class: "form-button-content",
1474
1474
  onClick: (S0) => z(d0 == null ? void 0 : d0.label, t.isEnableWrap ? a.value : h.value)
1475
1475
  }, [
1476
- Q(h0, {
1476
+ K(h0, {
1477
1477
  id: "themeButton",
1478
1478
  style: N0({ background: (d0 == null ? void 0 : d0.background) ?? "var(--ssbutton-theme-bg)", color: "var(--ssbutton-theme-color)" })
1479
1479
  }, {
@@ -1483,7 +1483,7 @@ const Sd = {
1483
1483
  _: 2
1484
1484
  }, 1032, ["style"])
1485
1485
  ], 8, Ad))), 128))
1486
- ], 4)) : e0("", !0)
1486
+ ], 4)) : t0("", !0)
1487
1487
  ], 4);
1488
1488
  };
1489
1489
  }
@@ -1542,7 +1542,7 @@ const Sd = {
1542
1542
  },
1543
1543
  emits: ["change"],
1544
1544
  setup(n, { emit: e }) {
1545
- const t = n, i = N(t.value), s = e, o = (l) => {
1545
+ const t = n, i = G(t.value), s = e, o = (l) => {
1546
1546
  s("change", l);
1547
1547
  };
1548
1548
  return (l, r) => {
@@ -1554,7 +1554,7 @@ const Sd = {
1554
1554
  onChange: r[1] || (r[1] = (c) => o(c))
1555
1555
  }, {
1556
1556
  default: L(() => [
1557
- (x(!0), E(C0, null, M0(t.content, (c, d) => (x(), F(a, {
1557
+ (x(!0), B(C0, null, M0(t.content, (c, d) => (x(), F(a, {
1558
1558
  key: d,
1559
1559
  label: c.value
1560
1560
  }, {
@@ -1591,7 +1591,7 @@ const Sd = {
1591
1591
  },
1592
1592
  emits: ["change"],
1593
1593
  setup(n, { emit: e }) {
1594
- const i = N(n.value), s = e, o = (l) => {
1594
+ const i = G(n.value), s = e, o = (l) => {
1595
1595
  s("change", l);
1596
1596
  };
1597
1597
  return (l, r) => {
@@ -1604,7 +1604,7 @@ const Sd = {
1604
1604
  onChange: r[1] || (r[1] = (c) => o(c))
1605
1605
  }, {
1606
1606
  default: L(() => [
1607
- (x(!0), E(C0, null, M0(n.content, (c) => (x(), F(a, {
1607
+ (x(!0), B(C0, null, M0(n.content, (c) => (x(), F(a, {
1608
1608
  key: c.label,
1609
1609
  label: c.label,
1610
1610
  value: c.label,
@@ -1679,9 +1679,9 @@ const $d = /* @__PURE__ */ A0(Nd, [["render", Gd]]), Wd = { class: "extra-button
1679
1679
  emits: ["buttonClick"],
1680
1680
  setup(n, { emit: e }) {
1681
1681
  const t = n;
1682
- N(!1);
1683
- const i = N([]);
1684
- N([{ label: "取消" }, { label: "确认" }]);
1682
+ G(!1);
1683
+ const i = G([]);
1684
+ G([{ label: "取消" }, { label: "确认" }]);
1685
1685
  const s = (o) => {
1686
1686
  var l;
1687
1687
  i.value = (l = o == null ? void 0 : o.filter((r) => (r == null ? void 0 : r.label) !== "" && (r == null ? void 0 : r.label) !== "操作")) == null ? void 0 : l.map((r) => ({
@@ -1698,7 +1698,7 @@ const $d = /* @__PURE__ */ A0(Nd, [["render", Gd]]), Wd = { class: "extra-button
1698
1698
  s(t.columns);
1699
1699
  },
1700
1700
  { deep: !0, immediate: !0 }
1701
- ), (o, l) => (x(), E("div", Wd, [
1701
+ ), (o, l) => (x(), B("div", Wd, [
1702
1702
  c0(o.$slots, "headerButton", {}, void 0, !0)
1703
1703
  ]));
1704
1704
  }
@@ -1714,7 +1714,7 @@ const $d = /* @__PURE__ */ A0(Nd, [["render", Gd]]), Wd = { class: "extra-button
1714
1714
  return (e, t) => {
1715
1715
  var r, a, h, c, d, u, f, p, g, v;
1716
1716
  const i = J("svg-icon"), s = J("el-tooltip"), o = J("RecurseCol", !0), l = J("el-table-column");
1717
- return n.column.isHidden ? e0("", !0) : (x(), F(l, {
1717
+ return n.column.isHidden ? t0("", !0) : (x(), F(l, {
1718
1718
  key: 0,
1719
1719
  label: n.column.label,
1720
1720
  prop: n.column.prop,
@@ -1727,14 +1727,14 @@ const $d = /* @__PURE__ */ A0(Nd, [["render", Gd]]), Wd = { class: "extra-button
1727
1727
  "class-name": (((v = n.column) == null ? void 0 : v.isNotDrag) ?? !1) === !0 ? "is-not-drag" : "is-drag"
1728
1728
  }, {
1729
1729
  header: L(() => [
1730
- n.column.label !== "操作" ? (x(), E("span", Fd, $0(n.column.label), 1)) : (x(), F(s, {
1730
+ n.column.label !== "操作" ? (x(), B("span", Fd, $0(n.column.label), 1)) : (x(), F(s, {
1731
1731
  key: 1,
1732
1732
  content: "操作",
1733
1733
  placement: "left-start",
1734
1734
  effect: "light"
1735
1735
  }, {
1736
1736
  default: L(() => [
1737
- Q(i, {
1737
+ K(i, {
1738
1738
  name: "operate",
1739
1739
  style: { width: "15px", height: "15px" }
1740
1740
  })
@@ -1748,7 +1748,7 @@ const $d = /* @__PURE__ */ A0(Nd, [["render", Gd]]), Wd = { class: "extra-button
1748
1748
  column: w.column,
1749
1749
  $index: w.$index
1750
1750
  }),
1751
- (x(!0), E(C0, null, M0(n.column.children, (y, D) => (x(), F(o, {
1751
+ (x(!0), B(C0, null, M0(n.column.children, (y, D) => (x(), F(o, {
1752
1752
  key: D,
1753
1753
  column: y
1754
1754
  }, Y2({ _: 2 }, [
@@ -1780,7 +1780,7 @@ const $d = /* @__PURE__ */ A0(Nd, [["render", Gd]]), Wd = { class: "extra-button
1780
1780
  },
1781
1781
  emits: ["handleColEditChange", "handleColTypeChange"],
1782
1782
  setup(n, { emit: e }) {
1783
- const t = n, i = e, s = N(null), o = i0(() => {
1783
+ const t = n, i = e, s = G(null), o = i0(() => {
1784
1784
  var d, u;
1785
1785
  return (u = (d = y6) == null ? void 0 : d.map((f) => ({
1786
1786
  value: f == null ? void 0 : f.key,
@@ -1812,7 +1812,7 @@ const $d = /* @__PURE__ */ A0(Nd, [["render", Gd]]), Wd = { class: "extra-button
1812
1812
  return (d, u) => {
1813
1813
  var g, v, w, y, D, O, k, b, _, I, H;
1814
1814
  const f = J("svg-icon"), p = J("el-table-column");
1815
- return n.column.isTableColHidden ? e0("", !0) : (x(), F(p, {
1815
+ return n.column.isTableColHidden ? t0("", !0) : (x(), F(p, {
1816
1816
  key: 0,
1817
1817
  label: n.column.label,
1818
1818
  prop: n.column.prop,
@@ -1827,7 +1827,7 @@ const $d = /* @__PURE__ */ A0(Nd, [["render", Gd]]), Wd = { class: "extra-button
1827
1827
  "class-name": ((I = n.column) == null ? void 0 : I.prop) === "operate" ? "action" : (((H = n.column) == null ? void 0 : H.isNotDrag) ?? !1) === !0 ? "is-not-drag" : "is-drag"
1828
1828
  }, {
1829
1829
  header: L(() => [
1830
- n.column.label !== "操作" ? (x(), E(C0, { key: 0 }, [
1830
+ n.column.label !== "操作" ? (x(), B(C0, { key: 0 }, [
1831
1831
  n.column.operable && n.isEditViewport ? (x(), F(X1, {
1832
1832
  key: 0,
1833
1833
  value: s.value.label,
@@ -1838,7 +1838,7 @@ const $d = /* @__PURE__ */ A0(Nd, [["render", Gd]]), Wd = { class: "extra-button
1838
1838
  append: L(() => {
1839
1839
  var z;
1840
1840
  return [
1841
- Q(Q1, {
1841
+ K(Q1, {
1842
1842
  value: (z = n.column) == null ? void 0 : z.columnType,
1843
1843
  content: o.value,
1844
1844
  clearable: !1,
@@ -1849,18 +1849,18 @@ const $d = /* @__PURE__ */ A0(Nd, [["render", Gd]]), Wd = { class: "extra-button
1849
1849
  ];
1850
1850
  }),
1851
1851
  _: 1
1852
- }, 8, ["value"])) : (x(), E("span", {
1852
+ }, 8, ["value"])) : (x(), B("span", {
1853
1853
  key: 1,
1854
1854
  title: n.column.label
1855
1855
  }, $0(n.column.label), 9, Yd))
1856
1856
  ], 64)) : c0(d.$slots, "operateHeader", { key: 1 })
1857
1857
  ]),
1858
1858
  "filter-icon": L(() => {
1859
- var z, P, M, K;
1859
+ var z, P, M, X;
1860
1860
  return [
1861
1861
  (z = n.column) != null && z.filterable && ((P = n.column) == null ? void 0 : P.label) !== "操作" ? (x(), F(f, {
1862
1862
  key: 0,
1863
- name: (M = n.column) != null && M.filterable && ((K = n.column) == null ? void 0 : K.label) !== "操作" ? "colFilter" : "",
1863
+ name: (M = n.column) != null && M.filterable && ((X = n.column) == null ? void 0 : X.label) !== "操作" ? "colFilter" : "",
1864
1864
  class: "custom-filter-icon"
1865
1865
  }, null, 8, ["name"])) : (x(), F(f, {
1866
1866
  key: 1,
@@ -1877,14 +1877,14 @@ const $d = /* @__PURE__ */ A0(Nd, [["render", Gd]]), Wd = { class: "extra-button
1877
1877
  $index: z.$index,
1878
1878
  scope: z
1879
1879
  }),
1880
- (x(!0), E(C0, null, M0(n.column.children, (P, M) => (x(), F(qd, {
1880
+ (x(!0), B(C0, null, M0(n.column.children, (P, M) => (x(), F(qd, {
1881
1881
  key: M,
1882
1882
  column: P
1883
1883
  }, Y2({ _: 2 }, [
1884
- M0(d.$slots, (K, G) => ({
1885
- name: G,
1884
+ M0(d.$slots, (X, $) => ({
1885
+ name: $,
1886
1886
  fn: L(({ row: h0, slotData: y0, item: d0 }) => [
1887
- c0(d.$slots, G, t1({ ref_for: !0 }, y0 ?? h0, {
1887
+ c0(d.$slots, $, t1({ ref_for: !0 }, y0 ?? h0, {
1888
1888
  item: d0 ?? P,
1889
1889
  slotData: y0 ?? h0
1890
1890
  }))
@@ -1910,8 +1910,8 @@ const $d = /* @__PURE__ */ A0(Nd, [["render", Gd]]), Wd = { class: "extra-button
1910
1910
  setup(n) {
1911
1911
  return (e, t) => {
1912
1912
  const i = J("el-card");
1913
- return x(), E("div", null, [
1914
- Q(i, null, {
1913
+ return x(), B("div", null, [
1914
+ K(i, null, {
1915
1915
  header: L(() => [
1916
1916
  c0(e.$slots, "header", {}, void 0, !0)
1917
1917
  ]),
@@ -1923,9 +1923,9 @@ const $d = /* @__PURE__ */ A0(Nd, [["render", Gd]]), Wd = { class: "extra-button
1923
1923
  ]),
1924
1924
  _: 3
1925
1925
  }),
1926
- n.showTag ? (x(), E("div", Xd, [
1926
+ n.showTag ? (x(), B("div", Xd, [
1927
1927
  c0(e.$slots, "status", {}, void 0, !0)
1928
- ])) : e0("", !0)
1928
+ ])) : t0("", !0)
1929
1929
  ]);
1930
1930
  };
1931
1931
  }
@@ -1991,76 +1991,76 @@ const $d = /* @__PURE__ */ A0(Nd, [["render", Gd]]), Wd = { class: "extra-button
1991
1991
  setup(n, { emit: e }) {
1992
1992
  const t = n;
1993
1993
  xn(Y1);
1994
- const i = N(!1), s = N(), o = N(), l = D3({ x: 0, y: 0 }), r = N([]), a = N([]), h = N(0), c = N(null), d = N(null), u = N(null), f = e, p = I4("contentRef");
1994
+ const i = G(!1), s = G(), o = G(), l = D3({ x: 0, y: 0 }), r = G([]), a = G([]), h = G(0), c = G(null), d = G(null), u = G(null), f = e, p = I4("contentRef");
1995
1995
  X2(() => {
1996
1996
  var C;
1997
1997
  v = g(), r.value = t == null ? void 0 : t.columns, a.value = (C = t == null ? void 0 : t.tableData) == null ? void 0 : C.map((A) => {
1998
1998
  var Y;
1999
- let B = {};
2000
- for (let t0 in A)
2001
- B[t0] = fs(A[t0]) && A[t0] === 0 ? (Y = A[t0]) == null ? void 0 : Y.toString() : A[t0];
2002
- return B;
1999
+ let V = {};
2000
+ for (let Z in A)
2001
+ Z !== "level" ? V[Z] = fs(A[Z]) && A[Z] === 0 ? (Y = A[Z]) == null ? void 0 : Y.toString() : A[Z] : V[Z] = A[Z];
2002
+ return V;
2003
2003
  }), Z0(), a2(), document.addEventListener("click", O);
2004
2004
  });
2005
2005
  function g() {
2006
- const C = /* @__PURE__ */ new WeakSet(), A = new MutationObserver(x0), B = /* @__PURE__ */ new WeakMap(), Y = [];
2007
- function t0(X) {
2006
+ const C = /* @__PURE__ */ new WeakSet(), A = new MutationObserver(x0), V = /* @__PURE__ */ new WeakMap(), Y = [];
2007
+ function Z(Q) {
2008
2008
  try {
2009
- const o0 = X.getBoundingClientRect(), u0 = X.clientWidth || o0.width || 1, l0 = o0.width / u0 || 1, q = parseFloat(getComputedStyle(X).zoom || "1");
2009
+ const o0 = Q.getBoundingClientRect(), u0 = Q.clientWidth || o0.width || 1, l0 = o0.width / u0 || 1, q = parseFloat(getComputedStyle(Q).zoom || "1");
2010
2010
  return q ? l0 / q : l0;
2011
2011
  } catch {
2012
2012
  return 1;
2013
2013
  }
2014
2014
  }
2015
- function w0(X) {
2015
+ function w0(Q) {
2016
2016
  var l0;
2017
- if (!X || C.has(X)) return;
2018
- C.add(X);
2019
- const o0 = X.parentElement, u0 = (l0 = X.closest(".el-scrollbar")) == null ? void 0 : l0.querySelector(".el-scrollbar__wrap");
2020
- !o0 || !u0 || X.addEventListener(
2017
+ if (!Q || C.has(Q)) return;
2018
+ C.add(Q);
2019
+ const o0 = Q.parentElement, u0 = (l0 = Q.closest(".el-scrollbar")) == null ? void 0 : l0.querySelector(".el-scrollbar__wrap");
2020
+ !o0 || !u0 || Q.addEventListener(
2021
2021
  "pointerdown",
2022
2022
  (q) => {
2023
2023
  q.preventDefault(), q.stopPropagation();
2024
2024
  try {
2025
- X.setPointerCapture && X.setPointerCapture(q.pointerId);
2025
+ Q.setPointerCapture && Q.setPointerCapture(q.pointerId);
2026
2026
  } catch {
2027
2027
  }
2028
2028
  o0.classList.add("is-dragging");
2029
- const p0 = t0(o0), Z = o0.clientWidth || 1, S = X.clientWidth || 0, T0 = Math.max(1, (Z - S) / p0), Y0 = Math.max(1, (u0.scrollWidth || 0) - (u0.clientWidth || 0)), $ = q.clientX, r0 = u0.scrollLeft, _0 = Y0 / T0, Z2 = (c2) => {
2030
- const Te = (c2.clientX - $) / p0;
2029
+ const p0 = Z(o0), e0 = o0.clientWidth || 1, S = Q.clientWidth || 0, T0 = Math.max(1, (e0 - S) / p0), Y0 = Math.max(1, (u0.scrollWidth || 0) - (u0.clientWidth || 0)), N = q.clientX, r0 = u0.scrollLeft, _0 = Y0 / T0, Z2 = (c2) => {
2030
+ const Te = (c2.clientX - N) / p0;
2031
2031
  u0.scrollLeft = r0 + Te * _0;
2032
2032
  }, P2 = () => {
2033
2033
  try {
2034
- X.releasePointerCapture && X.releasePointerCapture(q.pointerId);
2034
+ Q.releasePointerCapture && Q.releasePointerCapture(q.pointerId);
2035
2035
  } catch {
2036
2036
  }
2037
- X.removeEventListener("pointermove", Z2), X.removeEventListener("pointerup", P2), X.removeEventListener("pointercancel", P2), o0.classList.remove("is-dragging");
2037
+ Q.removeEventListener("pointermove", Z2), Q.removeEventListener("pointerup", P2), Q.removeEventListener("pointercancel", P2), o0.classList.remove("is-dragging");
2038
2038
  };
2039
- X.addEventListener("pointermove", Z2), X.addEventListener("pointerup", P2), X.addEventListener("pointercancel", P2);
2039
+ Q.addEventListener("pointermove", Z2), Q.addEventListener("pointerup", P2), Q.addEventListener("pointercancel", P2);
2040
2040
  },
2041
2041
  !0
2042
2042
  // 捕获阶段,保证我们先手
2043
2043
  );
2044
2044
  }
2045
2045
  function x0() {
2046
- document.querySelectorAll(".el-scrollbar").forEach((X) => {
2047
- if (!X.closest(".el-table")) return;
2048
- const o0 = X.querySelector(".el-scrollbar__wrap"), u0 = X.querySelector(".el-scrollbar__bar.is-horizontal");
2046
+ document.querySelectorAll(".el-scrollbar").forEach((Q) => {
2047
+ if (!Q.closest(".el-table")) return;
2048
+ const o0 = Q.querySelector(".el-scrollbar__wrap"), u0 = Q.querySelector(".el-scrollbar__bar.is-horizontal");
2049
2049
  if (!o0 || !u0) return;
2050
- const l0 = o0.querySelector(".el-scrollbar__view") || o0.firstElementChild || o0, q = l0.querySelector("table") || l0.querySelector(".el-table__body") || l0, p0 = q.scrollWidth, Z = o0.clientWidth, S = p0 - Z > 2;
2051
- if (X.classList.toggle("has-x-scroll", S), u0.style.display = "", S && X.querySelectorAll(".el-scrollbar__bar.is-horizontal .el-scrollbar__thumb").forEach(w0), !B.has(o0)) {
2050
+ const l0 = o0.querySelector(".el-scrollbar__view") || o0.firstElementChild || o0, q = l0.querySelector("table") || l0.querySelector(".el-table__body") || l0, p0 = q.scrollWidth, e0 = o0.clientWidth, S = p0 - e0 > 2;
2051
+ if (Q.classList.toggle("has-x-scroll", S), u0.style.display = "", S && Q.querySelectorAll(".el-scrollbar__bar.is-horizontal .el-scrollbar__thumb").forEach(w0), !V.has(o0)) {
2052
2052
  const T0 = new ResizeObserver(() => {
2053
- const Y0 = q && q.scrollWidth || o0.scrollWidth, $ = o0.clientWidth, r0 = Y0 - $ > 2;
2054
- X.classList.toggle("has-x-scroll", r0);
2053
+ const Y0 = q && q.scrollWidth || o0.scrollWidth, N = o0.clientWidth, r0 = Y0 - N > 2;
2054
+ Q.classList.toggle("has-x-scroll", r0);
2055
2055
  });
2056
- T0.observe(o0), q && T0.observe(q), B.set(o0, T0), Y.push(() => T0.disconnect());
2056
+ T0.observe(o0), q && T0.observe(q), V.set(o0, T0), Y.push(() => T0.disconnect());
2057
2057
  }
2058
2058
  });
2059
2059
  }
2060
2060
  return x0(), A.observe(document.body, { childList: !0, subtree: !0 }), () => {
2061
- A.disconnect(), Y.forEach((X) => {
2061
+ A.disconnect(), Y.forEach((Q) => {
2062
2062
  try {
2063
- X();
2063
+ Q();
2064
2064
  } catch {
2065
2065
  }
2066
2066
  }), Y.length = 0;
@@ -2070,12 +2070,12 @@ const $d = /* @__PURE__ */ A0(Nd, [["render", Gd]]), Wd = { class: "extra-button
2070
2070
  bn(() => {
2071
2071
  v && v(), document.removeEventListener("click", O), a.value = void 0, r.value = void 0, w.value && clearTimeout(w.value);
2072
2072
  });
2073
- const w = N(null);
2073
+ const w = G(null);
2074
2074
  s2(() => t == null ? void 0 : t.isEditViewport, async (C) => {
2075
2075
  var A;
2076
2076
  C && ((A = t == null ? void 0 : t.tableData) == null ? void 0 : A.length) > 15 && (await x2(), w.value = setTimeout(() => {
2077
- const B = document.querySelectorAll(".el-table__body tr");
2078
- B.length > 0 && B[B.length - 1].scrollIntoView({ behavior: "smooth", block: "center" });
2077
+ const V = document.querySelectorAll(".el-table__body tr");
2078
+ V.length > 0 && V[V.length - 1].scrollIntoView({ behavior: "smooth", block: "center" });
2079
2079
  }, 10));
2080
2080
  }, { immediate: !0 });
2081
2081
  const y = (C, A) => {
@@ -2083,40 +2083,40 @@ const $d = /* @__PURE__ */ A0(Nd, [["render", Gd]]), Wd = { class: "extra-button
2083
2083
  }, D = (C, A) => {
2084
2084
  f("handleColTypeChange", C, A);
2085
2085
  }, O = (C) => {
2086
- var A, B, Y;
2087
- i.value = !1, t.isEditViewport && p.value && !((B = (A = c.value) == null ? void 0 : A.$el) != null && B.contains(C == null ? void 0 : C.target)) && ((Y = p.value) != null && Y.contains(C == null ? void 0 : C.target)) && f("submitEditingTable");
2086
+ var A, V, Y;
2087
+ i.value = !1, t.isEditViewport && p.value && !((V = (A = c.value) == null ? void 0 : A.$el) != null && V.contains(C == null ? void 0 : C.target)) && ((Y = p.value) != null && Y.contains(C == null ? void 0 : C.target)) && f("submitEditingTable");
2088
2088
  }, k = i0(() => {
2089
2089
  var C;
2090
2090
  return (C = t == null ? void 0 : t.extraButton) == null ? void 0 : C.filter((A) => {
2091
- var B;
2092
- return !((B = A == null ? void 0 : A.label) != null && B.includes("批量"));
2091
+ var V;
2092
+ return !((V = A == null ? void 0 : A.label) != null && V.includes("批量"));
2093
2093
  });
2094
2094
  }), b = i0(() => {
2095
2095
  var C;
2096
2096
  return (C = t == null ? void 0 : t.extraButton) == null ? void 0 : C.filter((A) => {
2097
- var B;
2098
- return (B = A == null ? void 0 : A.label) == null ? void 0 : B.includes("批量");
2097
+ var V;
2098
+ return (V = A == null ? void 0 : A.label) == null ? void 0 : V.includes("批量");
2099
2099
  });
2100
- }), _ = N(0), I = (C, A, B) => {
2100
+ }), _ = G(0), I = (C, A, V) => {
2101
2101
  _.value = C == null ? void 0 : C.id;
2102
- }, H = (C, A, B) => {
2102
+ }, H = (C, A, V) => {
2103
2103
  _.value = 0;
2104
2104
  }, z = (C) => {
2105
2105
  f("selectChange", C);
2106
- }, P = (C, A, B, Y) => i0(() => {
2107
- var w0, x0, X, o0, u0, l0, q, p0, Z, S;
2108
- let t0 = C != null && C[A == null ? void 0 : A.prop] ? ((x0 = (w0 = C == null ? void 0 : C[A == null ? void 0 : A.prop]) == null ? void 0 : w0[0]) == null ? void 0 : x0.contents) ?? (C == null ? void 0 : C[A == null ? void 0 : A.prop]) : ((o0 = (X = C == null ? void 0 : C[B == null ? void 0 : B.prop]) == null ? void 0 : X[0]) == null ? void 0 : o0.contents) ?? (C == null ? void 0 : C[B == null ? void 0 : B.prop]) ?? ((l0 = (u0 = Y == null ? void 0 : Y[B == null ? void 0 : B.prop]) == null ? void 0 : u0[0]) == null ? void 0 : l0.contents) ?? (Y == null ? void 0 : Y[B == null ? void 0 : B.prop]) ?? ((Z = (p0 = C == null ? void 0 : C[(q = B == null ? void 0 : B.child) == null ? void 0 : q.prop]) == null ? void 0 : p0[0]) == null ? void 0 : Z.contents) ?? (C == null ? void 0 : C[(S = B == null ? void 0 : B.child) == null ? void 0 : S.prop]);
2109
- return Array.isArray(t0) && !(t0 != null && t0.every((T0) => typeof T0 == "string" || typeof T0 == "number")) ? "查看" : t0;
2110
- }), M = (C, A, B, Y) => {
2111
- var t0, w0, x0, X;
2112
- s.value = void 0, ((t0 = B.innerText) != null && t0.includes(".urdf") || (w0 = B.innerText) != null && w0.includes(".stl") || (x0 = B.innerText) != null && x0.includes(".obj") || (X = B.innerText) != null && X.includes(".STL")) && (l.x = Y.clientX, l.y = Y.clientY, i.value = !0, s.value = B.innerText, o.value = C);
2113
- }, K = () => {
2106
+ }, P = (C, A, V, Y) => i0(() => {
2107
+ var w0, x0, Q, o0, u0, l0, q, p0, e0, S;
2108
+ let Z = C != null && C[A == null ? void 0 : A.prop] ? ((x0 = (w0 = C == null ? void 0 : C[A == null ? void 0 : A.prop]) == null ? void 0 : w0[0]) == null ? void 0 : x0.contents) ?? (C == null ? void 0 : C[A == null ? void 0 : A.prop]) : ((o0 = (Q = C == null ? void 0 : C[V == null ? void 0 : V.prop]) == null ? void 0 : Q[0]) == null ? void 0 : o0.contents) ?? (C == null ? void 0 : C[V == null ? void 0 : V.prop]) ?? ((l0 = (u0 = Y == null ? void 0 : Y[V == null ? void 0 : V.prop]) == null ? void 0 : u0[0]) == null ? void 0 : l0.contents) ?? (Y == null ? void 0 : Y[V == null ? void 0 : V.prop]) ?? ((e0 = (p0 = C == null ? void 0 : C[(q = V == null ? void 0 : V.child) == null ? void 0 : q.prop]) == null ? void 0 : p0[0]) == null ? void 0 : e0.contents) ?? (C == null ? void 0 : C[(S = V == null ? void 0 : V.child) == null ? void 0 : S.prop]);
2109
+ return Array.isArray(Z) && !(Z != null && Z.every((T0) => typeof T0 == "string" || typeof T0 == "number")) ? "查看" : Z;
2110
+ }), M = (C, A, V, Y) => {
2111
+ var Z, w0, x0, Q;
2112
+ s.value = void 0, ((Z = V.innerText) != null && Z.includes(".urdf") || (w0 = V.innerText) != null && w0.includes(".stl") || (x0 = V.innerText) != null && x0.includes(".obj") || (Q = V.innerText) != null && Q.includes(".STL")) && (l.x = Y.clientX, l.y = Y.clientY, i.value = !0, s.value = V.innerText, o.value = C);
2113
+ }, X = () => {
2114
2114
  s.value && f("preview", {
2115
2115
  row: s.value,
2116
2116
  rowData: o.value,
2117
2117
  type: "table"
2118
2118
  });
2119
- }, G = () => {
2119
+ }, $ = () => {
2120
2120
  s.value && f("rowClick", {
2121
2121
  row: s.value,
2122
2122
  rowData: o.value,
@@ -2131,16 +2131,16 @@ const $d = /* @__PURE__ */ A0(Nd, [["render", Gd]]), Wd = { class: "extra-button
2131
2131
  var C;
2132
2132
  a.value = (C = t == null ? void 0 : t.tableData) == null ? void 0 : C.map((A) => {
2133
2133
  var Y;
2134
- let B = {};
2135
- for (let t0 in A)
2136
- B[t0] = fs(A[t0]) && A[t0] === 0 ? (Y = A[t0]) == null ? void 0 : Y.toString() : A[t0];
2137
- return B;
2134
+ let V = {};
2135
+ for (let Z in A)
2136
+ V[Z] = fs(A[Z]) && A[Z] === 0 ? (Y = A[Z]) == null ? void 0 : Y.toString() : A[Z];
2137
+ return V;
2138
2138
  });
2139
2139
  },
2140
2140
  { deep: !0 }
2141
2141
  );
2142
- const y0 = (C) => ls(C), d0 = (C, A, B) => {
2143
- f("clickButton", C, A, B);
2142
+ const y0 = (C) => ls(C), d0 = (C, A, V) => {
2143
+ f("clickButton", C, A, V);
2144
2144
  }, m = (C) => {
2145
2145
  f("doCurrentChange", C);
2146
2146
  }, S0 = (C, A) => {
@@ -2151,8 +2151,8 @@ const $d = /* @__PURE__ */ A0(Nd, [["render", Gd]]), Wd = { class: "extra-button
2151
2151
  f("fixRow", C);
2152
2152
  }, B0 = (C) => {
2153
2153
  f("deleteRow", C);
2154
- }, R0 = (C, A, B, Y) => {
2155
- f("contentClick", C, A, B, Y);
2154
+ }, R0 = (C, A, V, Y) => {
2155
+ f("contentClick", C, A, V, Y);
2156
2156
  }, Z0 = () => {
2157
2157
  var A;
2158
2158
  const C = (A = c.value) == null ? void 0 : A.$el.querySelector(".el-table__header-wrapper tr");
@@ -2161,11 +2161,11 @@ const $d = /* @__PURE__ */ A0(Nd, [["render", Gd]]), Wd = { class: "extra-button
2161
2161
  delay: 0,
2162
2162
  handle: ".is-drag .cell",
2163
2163
  // 可拖拽区域为单元格
2164
- onMove: (B) => !B.related.classList.contains("is-not-drag"),
2165
- onEnd: (B) => {
2164
+ onMove: (V) => !V.related.classList.contains("is-not-drag"),
2165
+ onEnd: (V) => {
2166
2166
  h.value++;
2167
- const Y = B.oldIndex - 3, t0 = B.newIndex - 3, w0 = r.value.splice(Y, 1)[0];
2168
- r.value.splice(t0, 0, w0), t.isMoveColumn && x2(() => {
2167
+ const Y = V.oldIndex - 3, Z = V.newIndex - 3, w0 = r.value.splice(Y, 1)[0];
2168
+ r.value.splice(Z, 0, w0), t.isMoveColumn && x2(() => {
2169
2169
  Z0(), a2();
2170
2170
  });
2171
2171
  }
@@ -2177,48 +2177,48 @@ const $d = /* @__PURE__ */ A0(Nd, [["render", Gd]]), Wd = { class: "extra-button
2177
2177
  animation: 150,
2178
2178
  handle: ".custom-drag-icon",
2179
2179
  ghostClass: "sortable-ghost",
2180
- onEnd: ({ newIndex: B, oldIndex: Y }) => {
2181
- const t0 = [...a.value], [w0] = t0.splice(Y, 1);
2182
- t0.splice(Y, 0, w0), a.value = t0, x2(() => {
2180
+ onEnd: ({ newIndex: V, oldIndex: Y }) => {
2181
+ const Z = [...a.value], [w0] = Z.splice(Y, 1);
2182
+ Z.splice(Y, 0, w0), a.value = Z, x2(() => {
2183
2183
  a2();
2184
2184
  });
2185
2185
  }
2186
2186
  });
2187
2187
  }, B2 = (C) => new Promise((A) => {
2188
- const B = new FileReader();
2189
- B.onloadend = () => A(B.result), B.readAsDataURL(C);
2188
+ const V = new FileReader();
2189
+ V.onloadend = () => A(V.result), V.readAsDataURL(C);
2190
2190
  }), Ce = (C, A = "file") => {
2191
- let B = C.split(","), Y = B[0].match(/:(.*?);/)[1], t0 = Y.split("/")[1], w0 = atob(B[1]), x0 = w0.length, X = new Uint8Array(x0);
2191
+ let V = C.split(","), Y = V[0].match(/:(.*?);/)[1], Z = Y.split("/")[1], w0 = atob(V[1]), x0 = w0.length, Q = new Uint8Array(x0);
2192
2192
  for (; x0--; )
2193
- X[x0] = w0.charCodeAt(x0);
2194
- return new File([X], `${A}.${t0}`, {
2193
+ Q[x0] = w0.charCodeAt(x0);
2194
+ return new File([Q], `${A}.${Z}`, {
2195
2195
  type: Y
2196
2196
  });
2197
2197
  }, ke = async (C) => {
2198
2198
  const A = await B2(C);
2199
- let B = Ce(A), Y = new FormData();
2200
- Y.append("file", B);
2201
- let t0;
2199
+ let V = Ce(A), Y = new FormData();
2200
+ Y.append("file", V);
2201
+ let Z;
2202
2202
  return await D6(Y).then((w0) => {
2203
- var x0, X, o0, u0, l0, q, p0;
2204
- t0 = {
2203
+ var x0, Q, o0, u0, l0, q, p0;
2204
+ Z = {
2205
2205
  url: (x0 = w0.data.result) == null ? void 0 : x0.url,
2206
- name: (p0 = (o0 = (X = w0.data.result) == null ? void 0 : X.url) == null ? void 0 : o0.split("/")) == null ? void 0 : p0[((q = (l0 = (u0 = w0.data.result) == null ? void 0 : u0.url) == null ? void 0 : l0.split("/")) == null ? void 0 : q.length) - 1]
2206
+ name: (p0 = (o0 = (Q = w0.data.result) == null ? void 0 : Q.url) == null ? void 0 : o0.split("/")) == null ? void 0 : p0[((q = (l0 = (u0 = w0.data.result) == null ? void 0 : u0.url) == null ? void 0 : l0.split("/")) == null ? void 0 : q.length) - 1]
2207
2207
  };
2208
- }), t0;
2208
+ }), Z;
2209
2209
  }, Oe = async (C) => {
2210
2210
  var A;
2211
2211
  try {
2212
- const B = C.clipboardData || (window == null ? void 0 : window.clipboardData), Y = B.getData("text/plain");
2212
+ const V = C.clipboardData || (window == null ? void 0 : window.clipboardData), Y = V.getData("text/plain");
2213
2213
  if (Y === void 0) return;
2214
2214
  if (Y.includes("<table")) {
2215
2215
  C.preventDefault();
2216
- const t0 = De(Y);
2217
- if (!t0.length) return;
2218
- const { rowIndex: w0, columnIndex: x0 } = u.value || { rowIndex: 0, columnIndex: 0 }, X = [];
2219
- if (t0 == null || t0.forEach((o0) => {
2220
- X.push(o0.length + x0);
2221
- }), (X == null ? void 0 : X.filter((o0) => {
2216
+ const Z = De(Y);
2217
+ if (!Z.length) return;
2218
+ const { rowIndex: w0, columnIndex: x0 } = u.value || { rowIndex: 0, columnIndex: 0 }, Q = [];
2219
+ if (Z == null || Z.forEach((o0) => {
2220
+ Q.push(o0.length + x0);
2221
+ }), (Q == null ? void 0 : Q.filter((o0) => {
2222
2222
  var u0;
2223
2223
  return o0 > Object.keys((u0 = a.value) == null ? void 0 : u0[0]).length;
2224
2224
  }).length) > 0) {
@@ -2228,26 +2228,26 @@ const $d = /* @__PURE__ */ A0(Nd, [["render", Gd]]), Wd = { class: "extra-button
2228
2228
  });
2229
2229
  return;
2230
2230
  }
2231
- for (let o0 = 0; o0 < t0.length; o0++) {
2232
- const u0 = t0[o0], l0 = a.value[w0 + o0], q = j2(r.value).map((p0) => p0.prop);
2231
+ for (let o0 = 0; o0 < Z.length; o0++) {
2232
+ const u0 = Z[o0], l0 = a.value[w0 + o0], q = j2(r.value).map((p0) => p0.prop);
2233
2233
  for (let p0 = 0; p0 < u0.length && x0 + p0 < q.length; p0++) {
2234
- const Z = q[x0 + p0];
2235
- (l0 == null ? void 0 : l0[Z]) !== void 0 && (l0[Z] = u0[p0] || "");
2234
+ const e0 = q[x0 + p0];
2235
+ (l0 == null ? void 0 : l0[e0]) !== void 0 && (l0[e0] = u0[p0] || "");
2236
2236
  }
2237
2237
  }
2238
2238
  } else {
2239
- const t0 = B.getData("text/html");
2240
- if (t0 === void 0) return;
2241
- const x0 = new DOMParser().parseFromString(t0, "text/html"), X = x0.querySelectorAll("table");
2242
- if ((X == null ? void 0 : X.length) > 0) {
2239
+ const Z = V.getData("text/html");
2240
+ if (Z === void 0) return;
2241
+ const x0 = new DOMParser().parseFromString(Z, "text/html"), Q = x0.querySelectorAll("table");
2242
+ if ((Q == null ? void 0 : Q.length) > 0) {
2243
2243
  C.preventDefault();
2244
- const u0 = X[0].querySelectorAll("tr"), l0 = [];
2245
- for (const Z of u0) {
2246
- const S = Z.querySelectorAll("td, th"), T0 = [];
2244
+ const u0 = Q[0].querySelectorAll("tr"), l0 = [];
2245
+ for (const e0 of u0) {
2246
+ const S = e0.querySelectorAll("td, th"), T0 = [];
2247
2247
  for (const Y0 of S) {
2248
- const $ = Y0.querySelectorAll("img");
2249
- if ($.length > 0)
2250
- for (const r0 of $) {
2248
+ const N = Y0.querySelectorAll("img");
2249
+ if (N.length > 0)
2250
+ for (const r0 of N) {
2251
2251
  const _0 = r0.getAttribute("src");
2252
2252
  if (_0 && _0.startsWith("file:///")) {
2253
2253
  const Z2 = _0.match(/base64,(.*)/);
@@ -2270,19 +2270,19 @@ const $d = /* @__PURE__ */ A0(Nd, [["render", Gd]]), Wd = { class: "extra-button
2270
2270
  }
2271
2271
  const { rowIndex: q, columnProp: p0 } = u.value || { rowIndex: 0, columnIndex: 0 };
2272
2272
  if (Array.isArray(l0) && l0.length) {
2273
- const Z = [];
2273
+ const e0 = [];
2274
2274
  l0.forEach((T0) => {
2275
2275
  if (T0 != null && T0.length) {
2276
- const Y0 = {}, $ = t.columns;
2277
- for (let r0 = 0; r0 < ($ == null ? void 0 : $.length); r0++) {
2278
- const _0 = $[r0], Z2 = _0 == null ? void 0 : _0.prop, P2 = T0 == null ? void 0 : T0[r0], c2 = P2 == null ? void 0 : P2.content;
2276
+ const Y0 = {}, N = t.columns;
2277
+ for (let r0 = 0; r0 < (N == null ? void 0 : N.length); r0++) {
2278
+ const _0 = N[r0], Z2 = _0 == null ? void 0 : _0.prop, P2 = T0 == null ? void 0 : T0[r0], c2 = P2 == null ? void 0 : P2.content;
2279
2279
  Y0[Z2] = c2;
2280
2280
  }
2281
- Z.push(Y0);
2281
+ e0.push(Y0);
2282
2282
  }
2283
2283
  });
2284
2284
  let S = j2(a.value);
2285
- a.value.splice(q + 1, 0, ...Z);
2285
+ a.value.splice(q + 1, 0, ...e0);
2286
2286
  }
2287
2287
  } else {
2288
2288
  const o0 = x0.querySelectorAll("span");
@@ -2301,42 +2301,42 @@ const $d = /* @__PURE__ */ A0(Nd, [["render", Gd]]), Wd = { class: "extra-button
2301
2301
  u0 = u0 + l0.textContent.trim();
2302
2302
  if (Array.isArray(u0)) {
2303
2303
  C.preventDefault();
2304
- const { rowIndex: l0, columnProp: q } = u.value || { rowIndex: 0, columnIndex: 0 }, p0 = {}, Z = a.value;
2305
- Z[l0][q] = u0;
2304
+ const { rowIndex: l0, columnProp: q } = u.value || { rowIndex: 0, columnIndex: 0 }, p0 = {}, e0 = a.value;
2305
+ e0[l0][q] = u0;
2306
2306
  }
2307
2307
  }
2308
2308
  }
2309
- } catch (B) {
2310
- console.error("粘贴失败:", B);
2309
+ } catch (V) {
2310
+ console.error("粘贴失败:", V);
2311
2311
  }
2312
- }, De = (C) => C.trim().split(/\r\n|\n|\r/).map((Y) => Y.trim() ? Y.split(" ").map((t0) => t0.replace(/^"(.*)"$/, "$1")) : [""]), Me = (C) => {
2312
+ }, De = (C) => C.trim().split(/\r\n|\n|\r/).map((Y) => Y.trim() ? Y.split(" ").map((Z) => Z.replace(/^"(.*)"$/, "$1")) : [""]), Me = (C) => {
2313
2313
  var A;
2314
2314
  C && (u.value = {
2315
2315
  rowIndex: C == null ? void 0 : C.$index,
2316
2316
  columnIndex: C == null ? void 0 : C.cellIndex,
2317
2317
  columnProp: (A = C.column) == null ? void 0 : A.property
2318
2318
  });
2319
- }, L2 = ({ row: C, rowIndex: A }) => A % 2 === 0 ? "default-row" : "special-row", P4 = (C, A, B) => {
2320
- f("cellChange", A, B, C);
2319
+ }, L2 = ({ row: C, rowIndex: A }) => A % 2 === 0 ? "default-row" : "special-row", P4 = (C, A, V) => {
2320
+ f("cellChange", A, V, C);
2321
2321
  }, z4 = (C) => C == null ? void 0 : C.toLocaleString("zh-CN", {
2322
2322
  minimumFractionDigits: 2,
2323
2323
  maximumFractionDigits: 2
2324
2324
  }), A4 = (C) => {
2325
- const { columns: A, data: B } = C, Y = [];
2326
- return A.forEach((t0, w0) => {
2325
+ const { columns: A, data: V } = C, Y = [];
2326
+ return A.forEach((Z, w0) => {
2327
2327
  var o0, u0;
2328
2328
  if (w0 === 0) {
2329
2329
  Y[w0] = "合计";
2330
2330
  return;
2331
2331
  }
2332
- const x0 = t0.property, X = (u0 = (o0 = t.columns) == null ? void 0 : o0.filter((l0) => l0 == null ? void 0 : l0.showSummary)) == null ? void 0 : u0.map((l0) => l0.prop);
2333
- if (X != null && X.includes(x0)) {
2334
- const l0 = B == null ? void 0 : B.map((q) => Number(q[x0]));
2332
+ const x0 = Z.property, Q = (u0 = (o0 = t.columns) == null ? void 0 : o0.filter((l0) => l0 == null ? void 0 : l0.showSummary)) == null ? void 0 : u0.map((l0) => l0.prop);
2333
+ if (Q != null && Q.includes(x0)) {
2334
+ const l0 = V == null ? void 0 : V.map((q) => Number(q[x0]));
2335
2335
  if (l0.every((q) => isNaN(q)))
2336
2336
  Y[w0] = "N/A";
2337
2337
  else {
2338
- const q = l0.reduce((p0, Z) => {
2339
- const S = Number(Z);
2338
+ const q = l0.reduce((p0, e0) => {
2339
+ const S = Number(e0);
2340
2340
  return isNaN(S) ? p0 : p0 + S;
2341
2341
  }, 0);
2342
2342
  Y[w0] = z4(q), ["price", "sales", "cost", "profit"].includes(x0) && (Y[w0] = "¥" + Y[w0]);
@@ -2354,19 +2354,19 @@ const $d = /* @__PURE__ */ A0(Nd, [["render", Gd]]), Wd = { class: "extra-button
2354
2354
  { immediate: !0 }
2355
2355
  );
2356
2356
  const G3 = i0(() => {
2357
- var A, B;
2357
+ var A, V;
2358
2358
  const C = (A = r.value) == null ? void 0 : A.find((Y) => Y == null ? void 0 : Y.isMainKey);
2359
- return C || ((B = r.value) == null ? void 0 : B[0]);
2359
+ return C || ((V = r.value) == null ? void 0 : V[0]);
2360
2360
  });
2361
2361
  return (C, A) => {
2362
- var x0, X, o0, u0, l0;
2363
- const B = J("el-table-column"), Y = J("svg-icon"), t0 = J("el-table"), w0 = J("el-pagination");
2364
- return x(), E("div", {
2362
+ var x0, Q, o0, u0, l0;
2363
+ const V = J("el-table-column"), Y = J("svg-icon"), Z = J("el-table"), w0 = J("el-pagination");
2364
+ return x(), B("div", {
2365
2365
  class: "table-content-show",
2366
2366
  ref_key: "tableOuterRef",
2367
2367
  ref: d
2368
2368
  }, [
2369
- Q(Ud, {
2369
+ K(Ud, {
2370
2370
  buttons: k.value,
2371
2371
  onButtonClick: h0,
2372
2372
  columns: r.value
@@ -2380,18 +2380,18 @@ const $d = /* @__PURE__ */ A0(Nd, [["render", Gd]]), Wd = { class: "extra-button
2380
2380
  _: 3
2381
2381
  }, 8, ["buttons", "columns"]),
2382
2382
  c0(C.$slots, "viewport", { id: "excludeElementId" }, void 0, !0),
2383
- n.isCardViewport ? (x(), E("div", ru, [
2384
- (x(!0), E(C0, null, M0(a.value, (q) => (x(), F(Jd, {
2383
+ n.isCardViewport ? (x(), B("div", ru, [
2384
+ (x(!0), B(C0, null, M0(a.value, (q) => (x(), F(Jd, {
2385
2385
  key: q == null ? void 0 : q.id,
2386
2386
  showTag: !1
2387
2387
  }, {
2388
2388
  header: L(() => {
2389
- var p0, Z;
2389
+ var p0, e0;
2390
2390
  return [
2391
2391
  s0("div", au, [
2392
2392
  s0("span", {
2393
2393
  title: q == null ? void 0 : q[(p0 = G3.value) == null ? void 0 : p0.prop]
2394
- }, $0(q[(Z = G3.value) == null ? void 0 : Z.prop]), 9, cu)
2394
+ }, $0(q[(e0 = G3.value) == null ? void 0 : e0.prop]), 9, cu)
2395
2395
  ])
2396
2396
  ];
2397
2397
  }),
@@ -2401,27 +2401,27 @@ const $d = /* @__PURE__ */ A0(Nd, [["render", Gd]]), Wd = { class: "extra-button
2401
2401
  content: L(() => {
2402
2402
  var p0;
2403
2403
  return [
2404
- (x(!0), E(C0, null, M0((p0 = r.value) == null ? void 0 : p0.filter((Z) => {
2404
+ (x(!0), B(C0, null, M0((p0 = r.value) == null ? void 0 : p0.filter((e0) => {
2405
2405
  var S;
2406
- return (Z == null ? void 0 : Z.label) !== "操作" && (Z == null ? void 0 : Z.prop) !== ((S = G3.value) == null ? void 0 : S.prop);
2407
- }), (Z) => (x(), E("div", {
2406
+ return (e0 == null ? void 0 : e0.label) !== "操作" && (e0 == null ? void 0 : e0.prop) !== ((S = G3.value) == null ? void 0 : S.prop);
2407
+ }), (e0) => (x(), B("div", {
2408
2408
  class: "card-content",
2409
- key: Z == null ? void 0 : Z.prop
2409
+ key: e0 == null ? void 0 : e0.prop
2410
2410
  }, [
2411
2411
  s0("span", {
2412
- title: Z == null ? void 0 : Z.label
2412
+ title: e0 == null ? void 0 : e0.label
2413
2413
  }, [
2414
- ge($0(Z == null ? void 0 : Z.label), 1),
2414
+ ge($0(e0 == null ? void 0 : e0.label), 1),
2415
2415
  A[2] || (A[2] = s0("span", { style: { "margin-left": "3px" } }, ":", -1))
2416
2416
  ], 8, hu),
2417
2417
  s0("span", {
2418
- title: q == null ? void 0 : q[Z == null ? void 0 : Z.prop]
2419
- }, $0(q == null ? void 0 : q[Z == null ? void 0 : Z.prop]), 9, du)
2418
+ title: q == null ? void 0 : q[e0 == null ? void 0 : e0.prop]
2419
+ }, $0(q == null ? void 0 : q[e0 == null ? void 0 : e0.prop]), 9, du)
2420
2420
  ]))), 128))
2421
2421
  ];
2422
2422
  }),
2423
2423
  footer: L(() => {
2424
- var p0, Z;
2424
+ var p0, e0;
2425
2425
  return [
2426
2426
  s0("div", uu, [
2427
2427
  (p0 = n.rowButton) != null && p0.find((S) => (S == null ? void 0 : S.label) === "编辑") ? (x(), F(Y, {
@@ -2429,19 +2429,19 @@ const $d = /* @__PURE__ */ A0(Nd, [["render", Gd]]), Wd = { class: "extra-button
2429
2429
  onClick: (S) => d0("编辑", q, { extra: { label: "编辑" } }),
2430
2430
  name: "card-edit",
2431
2431
  style: { width: "15px", height: "15px", color: "var(--ssComponent-theme-color)" }
2432
- }, null, 8, ["onClick"])) : e0("", !0),
2433
- (Z = n.rowButton) != null && Z.find((S) => (S == null ? void 0 : S.label) === "删除") ? (x(), F(Y, {
2432
+ }, null, 8, ["onClick"])) : t0("", !0),
2433
+ (e0 = n.rowButton) != null && e0.find((S) => (S == null ? void 0 : S.label) === "删除") ? (x(), F(Y, {
2434
2434
  key: 1,
2435
2435
  onClick: (S) => d0("删除", q, { extra: { label: "删除" } }),
2436
2436
  name: "card-delete",
2437
2437
  style: { width: "15px", height: "15px", color: "#ff0000" }
2438
- }, null, 8, ["onClick"])) : e0("", !0)
2438
+ }, null, 8, ["onClick"])) : t0("", !0)
2439
2439
  ])
2440
2440
  ];
2441
2441
  }),
2442
2442
  _: 2
2443
2443
  }, 1024))), 128))
2444
- ])) : (x(), F(t0, {
2444
+ ])) : (x(), F(Z, {
2445
2445
  border: !1,
2446
2446
  class: "table-wrap",
2447
2447
  data: a.value,
@@ -2465,24 +2465,26 @@ const $d = /* @__PURE__ */ A0(Nd, [["render", Gd]]), Wd = { class: "extra-button
2465
2465
  onCellMouseLeave: H,
2466
2466
  onContextmenu: A[0] || (A[0] = b6(() => {
2467
2467
  }, ["prevent"])),
2468
- "row-key": (q) => q.id
2468
+ "row-key": "id",
2469
+ "tree-props": { children: "children", hasChildren: "hasChildren" }
2469
2470
  }, {
2470
2471
  default: L(() => {
2471
- var q, p0, Z;
2472
+ var q, p0, e0;
2472
2473
  return [
2473
- ((q = n.columns) == null ? void 0 : q.length) > 0 && n.allowSelect ? (x(), F(B, {
2474
+ ((q = n.columns) == null ? void 0 : q.length) > 0 && n.allowSelect ? (x(), F(V, {
2474
2475
  key: 0,
2475
2476
  type: "selection",
2476
2477
  width: (p0 = n.columns) != null && p0.some((S) => S == null ? void 0 : S.showSummary) ? 55 : 38,
2477
2478
  fixed: ""
2478
- }, null, 8, ["width"])) : e0("", !0),
2479
- Q(B, {
2479
+ }, null, 8, ["width"])) : t0("", !0),
2480
+ K(V, {
2480
2481
  width: 20,
2481
- "show-overflow-tooltip": !1
2482
+ "show-overflow-tooltip": !1,
2483
+ type: "fix"
2482
2484
  }, {
2483
2485
  default: L(({ row: S, column: T0, $index: Y0 }) => [
2484
2486
  lt(s0("span", Zd, [
2485
- Q(Y, {
2487
+ K(Y, {
2486
2488
  name: "drag",
2487
2489
  style: { width: "15px", height: "15px", cursor: "move" }
2488
2490
  })
@@ -2492,7 +2494,11 @@ const $d = /* @__PURE__ */ A0(Nd, [["render", Gd]]), Wd = { class: "extra-button
2492
2494
  ]),
2493
2495
  _: 1
2494
2496
  }),
2495
- ((Z = n.columns) == null ? void 0 : Z.length) > 0 ? (x(), F(B, {
2497
+ K(V, {
2498
+ width: 50,
2499
+ "show-overflow-tooltip": !1
2500
+ }),
2501
+ ((e0 = n.columns) == null ? void 0 : e0.length) > 0 ? (x(), F(V, {
2496
2502
  key: 1,
2497
2503
  type: "index",
2498
2504
  width: 60,
@@ -2501,9 +2507,9 @@ const $d = /* @__PURE__ */ A0(Nd, [["render", Gd]]), Wd = { class: "extra-button
2501
2507
  n.isEditViewport ? void 0 : {
2502
2508
  name: "default",
2503
2509
  fn: L(({ row: S, column: T0, $index: Y0 }) => {
2504
- var $;
2510
+ var N;
2505
2511
  return [
2506
- S != null && S.level && (($ = S == null ? void 0 : S.level) == null ? void 0 : $.toString()) !== "0" ? (x(), E("div", eu, $0(), 1)) : e0("", !0)
2512
+ S != null && S.level && ((N = S == null ? void 0 : S.level) == null ? void 0 : N.toString()) !== "0" ? (x(), B("div", eu, $0(), 1)) : t0("", !0)
2507
2513
  ];
2508
2514
  }),
2509
2515
  key: "0"
@@ -2511,21 +2517,21 @@ const $d = /* @__PURE__ */ A0(Nd, [["render", Gd]]), Wd = { class: "extra-button
2511
2517
  n.isEditViewport ? {
2512
2518
  name: "default",
2513
2519
  fn: L(({ row: S, column: T0, $index: Y0 }) => {
2514
- var $, r0;
2520
+ var N, r0;
2515
2521
  return [
2516
- Y0 === (($ = a.value) == null ? void 0 : $.length) - 1 && ((r0 = n.cacheExtraButtons) != null && r0.some((_0) => (_0 == null ? void 0 : _0.label) === "新增")) ? c0(C.$slots, "rowCreate", {
2522
+ Y0 === ((N = a.value) == null ? void 0 : N.length) - 1 && ((r0 = n.cacheExtraButtons) != null && r0.some((_0) => (_0 == null ? void 0 : _0.label) === "新增")) ? c0(C.$slots, "rowCreate", {
2517
2523
  key: 0,
2518
2524
  row: S,
2519
2525
  index: Y0 + 1
2520
- }, void 0, !0) : e0("", !0)
2526
+ }, void 0, !0) : t0("", !0)
2521
2527
  ];
2522
2528
  }),
2523
2529
  key: "1"
2524
2530
  } : void 0
2525
- ]), 1024)) : e0("", !0),
2526
- (x(!0), E(C0, null, M0(r.value, (S, T0) => {
2531
+ ]), 1024)) : t0("", !0),
2532
+ (x(!0), B(C0, null, M0(r.value, (S, T0) => {
2527
2533
  var Y0;
2528
- return x(), E(C0, null, [
2534
+ return x(), B(C0, null, [
2529
2535
  (Y0 = n.checkedColumns) != null && Y0.includes(S == null ? void 0 : S.label) ? (x(), F(Kd, {
2530
2536
  key: 0,
2531
2537
  tableData: a.value,
@@ -2537,95 +2543,96 @@ const $d = /* @__PURE__ */ A0(Nd, [["render", Gd]]), Wd = { class: "extra-button
2537
2543
  operateHeader: L(() => [
2538
2544
  c0(C.$slots, "operateCol", {}, void 0, !0)
2539
2545
  ]),
2540
- content: L(({ row: $, item: r0, slotData: _0, scope: Z2 }) => {
2546
+ content: L(({ row: N, item: r0, slotData: _0, scope: Z2 }) => {
2541
2547
  var P2;
2542
2548
  return [
2543
- S != null && S.isExistChild ? (x(), E("span", tu, [
2549
+ S != null && S.isExistChild ? (x(), B("span", tu, [
2544
2550
  s0("div", iu, [
2545
- Q(Y, {
2551
+ K(Y, {
2546
2552
  name: "TableLook",
2547
2553
  style: { width: "16px", height: "16px", color: "var(--vertical-menuitem-active-bg)", cursor: "pointer" },
2548
2554
  onClick: (c2) => {
2549
2555
  var Te;
2550
- return R0($ != null && $[S == null ? void 0 : S.prop] ? $ == null ? void 0 : $[S == null ? void 0 : S.prop] : ($ == null ? void 0 : $[r0 == null ? void 0 : r0.prop]) ?? (_0 == null ? void 0 : _0[r0 == null ? void 0 : r0.prop]) ?? ($ == null ? void 0 : $[(Te = r0 == null ? void 0 : r0.child) == null ? void 0 : Te.prop]), r0 == null ? void 0 : r0.prop, $ ?? _0, {
2551
- data: P($, S, r0, _0).value,
2556
+ return R0(N != null && N[S == null ? void 0 : S.prop] ? N == null ? void 0 : N[S == null ? void 0 : S.prop] : (N == null ? void 0 : N[r0 == null ? void 0 : r0.prop]) ?? (_0 == null ? void 0 : _0[r0 == null ? void 0 : r0.prop]) ?? (N == null ? void 0 : N[(Te = r0 == null ? void 0 : r0.child) == null ? void 0 : Te.prop]), r0 == null ? void 0 : r0.prop, N ?? _0, {
2557
+ data: P(N, S, r0, _0).value,
2552
2558
  isMainKey: S == null ? void 0 : S.isMainKey,
2553
2559
  isExistChild: S == null ? void 0 : S.isExistChild,
2554
2560
  columnType: S,
2555
- rowContent: $
2561
+ rowContent: N
2556
2562
  });
2557
2563
  }
2558
2564
  }, null, 8, ["onClick"])
2559
2565
  ])
2560
- ])) : e0("", !0),
2561
- ((S == null ? void 0 : S.type) ?? "text") === "text" && (($ == null ? void 0 : $.tableEditType) ?? "text") === "text" && !(S != null && S.isExistChild) ? (x(), E("span", {
2566
+ ])) : t0("", !0),
2567
+ ((S == null ? void 0 : S.type) ?? "text") === "text" && ((N == null ? void 0 : N.tableEditType) ?? "text") === "text" && !(S != null && S.isExistChild) ? (x(), B("span", {
2562
2568
  key: 1,
2563
2569
  class: "table-content",
2564
2570
  style: N0({ cursor: S != null && S.isMainKey ? "pointer" : "default", color: S != null && S.isMainKey ? "var(--vertical-menuitem-active-bg)" : "", textDecoration: S != null && S.isMainKey ? "underline" : "" }),
2565
2571
  onClick: (c2) => {
2566
2572
  var Te;
2567
- return R0($ != null && $[S == null ? void 0 : S.prop] ? $ == null ? void 0 : $[S == null ? void 0 : S.prop] : ($ == null ? void 0 : $[r0 == null ? void 0 : r0.prop]) ?? (_0 == null ? void 0 : _0[r0 == null ? void 0 : r0.prop]) ?? ($ == null ? void 0 : $[(Te = r0 == null ? void 0 : r0.child) == null ? void 0 : Te.prop]), r0 == null ? void 0 : r0.prop, $ ?? _0, {
2568
- data: P($, S, r0, _0).value,
2573
+ return R0(N != null && N[S == null ? void 0 : S.prop] ? N == null ? void 0 : N[S == null ? void 0 : S.prop] : (N == null ? void 0 : N[r0 == null ? void 0 : r0.prop]) ?? (_0 == null ? void 0 : _0[r0 == null ? void 0 : r0.prop]) ?? (N == null ? void 0 : N[(Te = r0 == null ? void 0 : r0.child) == null ? void 0 : Te.prop]), r0 == null ? void 0 : r0.prop, N ?? _0, {
2574
+ data: P(N, S, r0, _0).value,
2569
2575
  isMainKey: S == null ? void 0 : S.isMainKey
2570
2576
  });
2571
2577
  }
2572
2578
  }, [
2573
- C.$slots.content ? (x(), E("div", {
2579
+ C.$slots.content ? (x(), B("div", {
2574
2580
  key: 0,
2575
- style: N0({ marginLeft: `${($ == null ? void 0 : $.level) ?? 0 * 20}px` })
2581
+ style: N0({ marginLeft: `${(N == null ? void 0 : N.level) ?? 0 * 20}px` })
2576
2582
  }, [
2577
2583
  c0(C.$slots, "content", {
2578
- row: $,
2584
+ row: N,
2579
2585
  column: S,
2580
2586
  item: r0,
2581
- slotData: _0
2587
+ slotData: _0,
2588
+ level: N == null ? void 0 : N.level
2582
2589
  }, void 0, !0)
2583
- ], 4)) : (x(), E(C0, { key: 1 }, [
2584
- ge($0(P($, S, r0, _0)), 1)
2590
+ ], 4)) : (x(), B(C0, { key: 1 }, [
2591
+ ge($0(P(N, S, r0, _0)), 1)
2585
2592
  ], 64))
2586
- ], 12, nu)) : e0("", !0),
2587
- ((S == null ? void 0 : S.type) ?? "text") === "operate" && !(S != null && S.isExistChild) ? (x(), E("span", {
2593
+ ], 12, nu)) : t0("", !0),
2594
+ ((S == null ? void 0 : S.type) ?? "text") === "operate" && !(S != null && S.isExistChild) ? (x(), B("span", {
2588
2595
  key: 2,
2589
2596
  class: "table-operate",
2590
2597
  style: N0({
2591
2598
  justifyContent: n.isShowEdit && n.isShowDelete ? "space-between" : S == null ? void 0 : S.align
2592
2599
  })
2593
2600
  }, [
2594
- c0(C.$slots, "actions", { item: $ }, void 0, !0),
2595
- n.isShowEdit ? (x(), E("span", {
2601
+ c0(C.$slots, "actions", { item: N }, void 0, !0),
2602
+ n.isShowEdit ? (x(), B("span", {
2596
2603
  key: 0,
2597
- onClick: (c2) => q0($),
2604
+ onClick: (c2) => q0(N),
2598
2605
  class: "blue-table-operate table-operate-content"
2599
- }, "编辑", 8, su)) : e0("", !0),
2600
- n.isShowDelete ? (x(), E("span", {
2606
+ }, "编辑", 8, su)) : t0("", !0),
2607
+ n.isShowDelete ? (x(), B("span", {
2601
2608
  key: 1,
2602
- onClick: (c2) => B0($),
2609
+ onClick: (c2) => B0(N),
2603
2610
  class: "red-table-operate table-operate-content"
2604
- }, "删除", 8, ou)) : e0("", !0)
2605
- ], 4)) : e0("", !0),
2606
- ((S == null ? void 0 : S.type) ?? "text") === "edit" && (($ == null ? void 0 : $.tableEditType) ?? "text") !== "edit" || ((S == null ? void 0 : S.type) ?? "text") === "text" && (($ == null ? void 0 : $.tableEditType) ?? "text") === "edit" && !(S != null && S.isExistChild) ? (x(), E("span", lu, [
2607
- (x(), F(It(y0($ != null && $[S == null ? void 0 : S.prop] && Array.isArray($[S.prop]) && ((P2 = $[S.prop]) != null && P2.every((c2) => typeof c2 == "Object")) ? "Upload" : (S == null ? void 0 : S.columnType) === "" || !(S != null && S.columnType) ? "Input" : S == null ? void 0 : S.columnType)), {
2608
- modelValue: $[S.prop],
2609
- "onUpdate:modelValue": (c2) => $[S.prop] = c2,
2611
+ }, "删除", 8, ou)) : t0("", !0)
2612
+ ], 4)) : t0("", !0),
2613
+ ((S == null ? void 0 : S.type) ?? "text") === "edit" && ((N == null ? void 0 : N.tableEditType) ?? "text") !== "edit" || ((S == null ? void 0 : S.type) ?? "text") === "text" && ((N == null ? void 0 : N.tableEditType) ?? "text") === "edit" && !(S != null && S.isExistChild) ? (x(), B("span", lu, [
2614
+ (x(), F(It(y0(N != null && N[S == null ? void 0 : S.prop] && Array.isArray(N[S.prop]) && ((P2 = N[S.prop]) != null && P2.every((c2) => typeof c2 == "Object")) ? "Upload" : (S == null ? void 0 : S.columnType) === "" || !(S != null && S.columnType) ? "Input" : S == null ? void 0 : S.columnType)), {
2615
+ modelValue: N[S.prop],
2616
+ "onUpdate:modelValue": (c2) => N[S.prop] = c2,
2610
2617
  style: { height: "100%" },
2611
2618
  content: (S == null ? void 0 : S.contents) ?? [],
2612
2619
  optionUrl: S == null ? void 0 : S.optionUrl,
2613
2620
  onFocus: (c2) => Me(Z2),
2614
- onChange: (c2) => P4(c2, $, S)
2621
+ onChange: (c2) => P4(c2, N, S)
2615
2622
  }, null, 40, ["modelValue", "onUpdate:modelValue", "content", "optionUrl", "onFocus", "onChange"]))
2616
- ])) : e0("", !0)
2623
+ ])) : t0("", !0)
2617
2624
  ];
2618
2625
  }),
2619
2626
  _: 2
2620
- }, 1032, ["tableData", "column", "isEditViewport"])) : e0("", !0)
2627
+ }, 1032, ["tableData", "column", "isEditViewport"])) : t0("", !0)
2621
2628
  ], 64);
2622
2629
  }), 256))
2623
2630
  ];
2624
2631
  }),
2625
2632
  _: 3
2626
- }, 8, ["data", "show-summary", "sum-text", "row-key"])),
2633
+ }, 8, ["data", "show-summary", "sum-text"])),
2627
2634
  s0("div", fu, [
2628
- n.isCardViewport ? e0("", !0) : c0(C.$slots, "batchButton", {
2635
+ n.isCardViewport ? t0("", !0) : c0(C.$slots, "batchButton", {
2629
2636
  key: 0,
2630
2637
  buttons: b.value,
2631
2638
  columns: r.value
@@ -2634,27 +2641,27 @@ const $d = /* @__PURE__ */ A0(Nd, [["render", Gd]]), Wd = { class: "extra-button
2634
2641
  key: 1,
2635
2642
  onSizeChange: b0,
2636
2643
  onCurrentChange: m,
2637
- "current-page": ((X = n.pageObj) == null ? void 0 : X.currentPage) ?? 1,
2644
+ "current-page": ((Q = n.pageObj) == null ? void 0 : Q.currentPage) ?? 1,
2638
2645
  "page-sizes": (o0 = n.pageObj) == null ? void 0 : o0.pageSizes,
2639
2646
  "page-size": ((u0 = n.pageObj) == null ? void 0 : u0.pageSize) ?? 10,
2640
2647
  layout: "total, sizes, prev, pager, next, jumper",
2641
2648
  total: ((l0 = n.pageObj) == null ? void 0 : l0.total) ?? 0
2642
- }, null, 8, ["current-page", "page-sizes", "page-size", "total"])) : e0("", !0)
2649
+ }, null, 8, ["current-page", "page-sizes", "page-size", "total"])) : t0("", !0)
2643
2650
  ]),
2644
- lt(Q($d, {
2651
+ lt(K($d, {
2645
2652
  style: N0({ top: l.y + "px", left: l.x + "px", position: "fixed", zIndex: 999 })
2646
2653
  }, {
2647
2654
  content: L(() => [
2648
2655
  s0("div", pu, [
2649
- Q(ie, {
2656
+ K(ie, {
2650
2657
  emptyColor: !0,
2651
- onClickTrigger: G,
2658
+ onClickTrigger: $,
2652
2659
  modelValue: "弹出模型",
2653
2660
  buttonType: ""
2654
2661
  }),
2655
- Q(ie, {
2662
+ K(ie, {
2656
2663
  emptyColor: !0,
2657
- onClickTrigger: K,
2664
+ onClickTrigger: X,
2658
2665
  modelValue: "预览",
2659
2666
  buttonType: ""
2660
2667
  })
@@ -2667,7 +2674,7 @@ const $d = /* @__PURE__ */ A0(Nd, [["render", Gd]]), Wd = { class: "extra-button
2667
2674
  ], 512);
2668
2675
  };
2669
2676
  }
2670
- }, mu = /* @__PURE__ */ A0(gu, [["__scopeId", "data-v-68e02f34"]]), vu = {
2677
+ }, mu = /* @__PURE__ */ A0(gu, [["__scopeId", "data-v-f4a09781"]]), vu = {
2671
2678
  __name: "index",
2672
2679
  props: {
2673
2680
  value: String,
@@ -2682,7 +2689,7 @@ const $d = /* @__PURE__ */ A0(Nd, [["render", Gd]]), Wd = { class: "extra-button
2682
2689
  },
2683
2690
  emits: ["dbChange"],
2684
2691
  setup(n, { emit: e }) {
2685
- const t = n, i = N([]);
2692
+ const t = n, i = G([]);
2686
2693
  s2(
2687
2694
  () => {
2688
2695
  var l;
@@ -2705,7 +2712,7 @@ const $d = /* @__PURE__ */ A0(Nd, [["render", Gd]]), Wd = { class: "extra-button
2705
2712
  };
2706
2713
  return (l, r) => {
2707
2714
  var a, h, c, d, u, f, p;
2708
- return x(), E(C0, null, [
2715
+ return x(), B(C0, null, [
2709
2716
  c0(l.$slots, `${(a = t == null ? void 0 : t.content) == null ? void 0 : a.value}_tableHeader`),
2710
2717
  (x(), F(mu, {
2711
2718
  columns: ((h = t == null ? void 0 : t.content) == null ? void 0 : h.columns) ?? [],
@@ -2747,7 +2754,7 @@ const $d = /* @__PURE__ */ A0(Nd, [["render", Gd]]), Wd = { class: "extra-button
2747
2754
  },
2748
2755
  emits: ["changeVisible"],
2749
2756
  setup(n, { emit: e }) {
2750
- const t = n, i = N(t.value), s = e, o = N({
2757
+ const t = n, i = G(t.value), s = e, o = G({
2751
2758
  checkStrictly: !0
2752
2759
  }), l = (r) => {
2753
2760
  s("changeVisible", r);
@@ -2779,7 +2786,7 @@ const $d = /* @__PURE__ */ A0(Nd, [["render", Gd]]), Wd = { class: "extra-button
2779
2786
  }
2780
2787
  },
2781
2788
  setup(n) {
2782
- const e = n, t = N(e.value);
2789
+ const e = n, t = G(e.value);
2783
2790
  return (i, s) => {
2784
2791
  const o = J("el-option"), l = J("el-select");
2785
2792
  return x(), F(l, {
@@ -2792,7 +2799,7 @@ const $d = /* @__PURE__ */ A0(Nd, [["render", Gd]]), Wd = { class: "extra-button
2792
2799
  style: { width: "100%" }
2793
2800
  }, {
2794
2801
  default: L(() => [
2795
- (x(!0), E(C0, null, M0(e == null ? void 0 : e.content, (r) => (x(), F(o, {
2802
+ (x(!0), B(C0, null, M0(e == null ? void 0 : e.content, (r) => (x(), F(o, {
2796
2803
  key: r.value,
2797
2804
  label: r.label,
2798
2805
  value: r.value
@@ -2823,7 +2830,7 @@ const $d = /* @__PURE__ */ A0(Nd, [["render", Gd]]), Wd = { class: "extra-button
2823
2830
  return X2(() => {
2824
2831
  }), (l, r) => {
2825
2832
  const a = J("MenuItem", !0), h = J("el-sub-menu"), c = J("el-menu-item");
2826
- return x(!0), E(C0, null, M0(n.menuList, (d) => (x(), E(C0, null, [
2833
+ return x(!0), B(C0, null, M0(n.menuList, (d) => (x(), B(C0, null, [
2827
2834
  d.show && d.children && d.children.length > 0 ? (x(), F(h, {
2828
2835
  index: d.path,
2829
2836
  key: d.path
@@ -2832,11 +2839,11 @@ const $d = /* @__PURE__ */ A0(Nd, [["render", Gd]]), Wd = { class: "extra-button
2832
2839
  c0(l.$slots, "title", { menu: d })
2833
2840
  ]),
2834
2841
  default: L(() => [
2835
- Q(rt, {
2842
+ K(rt, {
2836
2843
  name: d.icon ?? ((d == null ? void 0 : d.level) <= 2 ? "default" : ""),
2837
2844
  class: "menu-icon"
2838
2845
  }, null, 8, ["name"]),
2839
- Q(a, {
2846
+ K(a, {
2840
2847
  menuList: d.children,
2841
2848
  onClickMenu: i,
2842
2849
  onOpenMenu: s,
@@ -2860,13 +2867,13 @@ const $d = /* @__PURE__ */ A0(Nd, [["render", Gd]]), Wd = { class: "extra-button
2860
2867
  c0(l.$slots, "title", { menu: d })
2861
2868
  ]),
2862
2869
  default: L(() => [
2863
- Q(rt, {
2870
+ K(rt, {
2864
2871
  name: d.icon ?? ((d == null ? void 0 : d.level) <= 2 ? "default" : ""),
2865
2872
  class: "menu-icon"
2866
2873
  }, null, 8, ["name"])
2867
2874
  ]),
2868
2875
  _: 2
2869
- }, 1032, ["index", "onClick"])) : e0("", !0)
2876
+ }, 1032, ["index", "onClick"])) : t0("", !0)
2870
2877
  ], 64))), 256);
2871
2878
  };
2872
2879
  }
@@ -2909,21 +2916,21 @@ const $d = /* @__PURE__ */ A0(Nd, [["render", Gd]]), Wd = { class: "extra-button
2909
2916
  onClose: u
2910
2917
  }, {
2911
2918
  default: L(() => [
2912
- (x(!0), E(C0, null, M0(n.menuList, (O) => (x(), E(C0, null, [
2919
+ (x(!0), B(C0, null, M0(n.menuList, (O) => (x(), B(C0, null, [
2913
2920
  O.show && O.children && O.children.length > 0 ? (x(), F(w, {
2914
2921
  index: O.path,
2915
2922
  key: O.path,
2916
2923
  style: N0(O.style)
2917
2924
  }, {
2918
2925
  title: L(() => [
2919
- Q(rt, {
2926
+ K(rt, {
2920
2927
  name: O.icon ?? ((O == null ? void 0 : O.level) <= 2 ? "default" : ""),
2921
2928
  class: "menu-icon"
2922
2929
  }, null, 8, ["name"]),
2923
2930
  c0(g.$slots, "title", { menu: O }, void 0, !0)
2924
2931
  ]),
2925
2932
  default: L(() => [
2926
- Q(xu, {
2933
+ K(xu, {
2927
2934
  menuList: O.children,
2928
2935
  onClickMenu: c
2929
2936
  }, Y2({ _: 2 }, [
@@ -2946,13 +2953,13 @@ const $d = /* @__PURE__ */ A0(Nd, [["render", Gd]]), Wd = { class: "extra-button
2946
2953
  c0(g.$slots, "title", { menu: O }, void 0, !0)
2947
2954
  ]),
2948
2955
  default: L(() => [
2949
- Q(rt, {
2956
+ K(rt, {
2950
2957
  name: O.icon ?? ((O == null ? void 0 : O.level) <= 2 ? "default" : ""),
2951
2958
  class: "menu-icon"
2952
2959
  }, null, 8, ["name"])
2953
2960
  ]),
2954
2961
  _: 2
2955
- }, 1032, ["index", "style", "onClick"])) : e0("", !0)
2962
+ }, 1032, ["index", "style", "onClick"])) : t0("", !0)
2956
2963
  ], 64))), 256))
2957
2964
  ]),
2958
2965
  _: 3
@@ -2976,7 +2983,7 @@ const $d = /* @__PURE__ */ A0(Nd, [["render", Gd]]), Wd = { class: "extra-button
2976
2983
  }
2977
2984
  },
2978
2985
  setup(n) {
2979
- const t = N(n.value);
2986
+ const t = G(n.value);
2980
2987
  return (i, s) => {
2981
2988
  const o = J("el-date-picker");
2982
2989
  return x(), F(o, {
@@ -3003,7 +3010,7 @@ const $d = /* @__PURE__ */ A0(Nd, [["render", Gd]]), Wd = { class: "extra-button
3003
3010
  }
3004
3011
  },
3005
3012
  setup(n) {
3006
- const t = N(n.value);
3013
+ const t = G(n.value);
3007
3014
  return (i, s) => {
3008
3015
  const o = J("el-date-picker");
3009
3016
  return x(), F(o, {
@@ -3030,7 +3037,7 @@ const $d = /* @__PURE__ */ A0(Nd, [["render", Gd]]), Wd = { class: "extra-button
3030
3037
  }
3031
3038
  },
3032
3039
  setup(n) {
3033
- const e = n, t = N(e.value);
3040
+ const e = n, t = G(e.value);
3034
3041
  return (i, s) => {
3035
3042
  const o = J("el-input");
3036
3043
  return x(), F(o, {
@@ -3089,7 +3096,7 @@ const $d = /* @__PURE__ */ A0(Nd, [["render", Gd]]), Wd = { class: "extra-button
3089
3096
  },
3090
3097
  emits: ["beforeDestroy"],
3091
3098
  setup(n, { emit: e }) {
3092
- const t = n, i = e, s = N(!1), o = () => {
3099
+ const t = n, i = e, s = G(!1), o = () => {
3093
3100
  i("beforeDestroy");
3094
3101
  };
3095
3102
  return s2(
@@ -3156,7 +3163,7 @@ const Tu = { class: "docx-renderer" }, Pu = {
3156
3163
  blobUrl: String
3157
3164
  },
3158
3165
  setup(n) {
3159
- const e = n, t = i0(() => e.blobUrl), i = N(null);
3166
+ const e = n, t = i0(() => e.blobUrl), i = G(null);
3160
3167
  return Ie(async () => {
3161
3168
  t.value;
3162
3169
  const o = await (await fetch(t.value)).blob();
@@ -3181,7 +3188,7 @@ const Tu = { class: "docx-renderer" }, Pu = {
3181
3188
  renderComments: !1,
3182
3189
  renderAltChunks: !0
3183
3190
  });
3184
- }), (s, o) => (x(), E("div", Tu, [
3191
+ }), (s, o) => (x(), B("div", Tu, [
3185
3192
  s0("div", {
3186
3193
  ref_key: "docxPreview",
3187
3194
  ref: i,
@@ -3196,7 +3203,7 @@ const Tu = { class: "docx-renderer" }, Pu = {
3196
3203
  blobUrl: String
3197
3204
  },
3198
3205
  setup(n) {
3199
- const e = n, t = i0(() => e.blobUrl), i = N(null);
3206
+ const e = n, t = i0(() => e.blobUrl), i = G(null);
3200
3207
  return Ie(async () => {
3201
3208
  t.value;
3202
3209
  const o = await (await fetch(t.value)).blob();
@@ -3205,7 +3212,7 @@ const Tu = { class: "docx-renderer" }, Pu = {
3205
3212
  }).catch((l) => {
3206
3213
  console.log("预览失败", l);
3207
3214
  });
3208
- }), (s, o) => (x(), E("div", Au, o[0] || (o[0] = [
3215
+ }), (s, o) => (x(), B("div", Au, o[0] || (o[0] = [
3209
3216
  s0("div", { id: "excel" }, null, -1)
3210
3217
  ])));
3211
3218
  }
@@ -3216,14 +3223,14 @@ const Tu = { class: "docx-renderer" }, Pu = {
3216
3223
  blobUrl: String
3217
3224
  },
3218
3225
  setup(n) {
3219
- const e = n, t = i0(() => e.blobUrl), i = N("");
3226
+ const e = n, t = i0(() => e.blobUrl), i = G("");
3220
3227
  return Ie(async () => {
3221
3228
  t.value;
3222
3229
  const o = await (await fetch(t.value)).blob(), l = new Blob([o], { type: "application/pdf" }), r = URL.createObjectURL(l);
3223
3230
  i.value = r;
3224
3231
  }), i1(() => {
3225
3232
  i.value && URL.revokeObjectURL(i.value);
3226
- }), (s, o) => (x(), E("div", Bu, [
3233
+ }), (s, o) => (x(), B("div", Bu, [
3227
3234
  s0("iframe", {
3228
3235
  src: i.value,
3229
3236
  class: "pdf-iframe"
@@ -11798,25 +11805,25 @@ function Gp(n, e, t) {
11798
11805
  }
11799
11806
  function D(k, b, _) {
11800
11807
  let I = 1e9, H = -1e9, z = [];
11801
- function P(G, h0, y0, d0, m) {
11802
- let S0 = n.coordsAtPos(G, G == _.to ? -2 : 2), b0 = n.coordsAtPos(y0, y0 == _.from ? 2 : -2);
11808
+ function P($, h0, y0, d0, m) {
11809
+ let S0 = n.coordsAtPos($, $ == _.to ? -2 : 2), b0 = n.coordsAtPos(y0, y0 == _.from ? 2 : -2);
11803
11810
  !S0 || !b0 || (I = Math.min(S0.top, b0.top, I), H = Math.max(S0.bottom, b0.bottom, H), m == z0.LTR ? z.push(o && h0 ? d : S0.left, o && d0 ? u : b0.right) : z.push(!o && d0 ? d : b0.left, !o && h0 ? u : S0.right));
11804
11811
  }
11805
- let M = k ?? _.from, K = b ?? _.to;
11806
- for (let G of n.visibleRanges)
11807
- if (G.to > M && G.from < K)
11808
- for (let h0 = Math.max(G.from, M), y0 = Math.min(G.to, K); ; ) {
11812
+ let M = k ?? _.from, X = b ?? _.to;
11813
+ for (let $ of n.visibleRanges)
11814
+ if ($.to > M && $.from < X)
11815
+ for (let h0 = Math.max($.from, M), y0 = Math.min($.to, X); ; ) {
11809
11816
  let d0 = n.state.doc.lineAt(h0);
11810
11817
  for (let m of n.bidiSpans(d0)) {
11811
11818
  let S0 = m.from + d0.from, b0 = m.to + d0.from;
11812
11819
  if (S0 >= y0)
11813
11820
  break;
11814
- b0 > h0 && P(Math.max(S0, h0), k == null && S0 <= M, Math.min(b0, y0), b == null && b0 >= K, m.dir);
11821
+ b0 > h0 && P(Math.max(S0, h0), k == null && S0 <= M, Math.min(b0, y0), b == null && b0 >= X, m.dir);
11815
11822
  }
11816
11823
  if (h0 = d0.to + 1, h0 >= y0)
11817
11824
  break;
11818
11825
  }
11819
- return z.length == 0 && P(M, k == null, K, b == null, n.textDirection), { top: I, bottom: H, horizontal: z };
11826
+ return z.length == 0 && P(M, k == null, X, b == null, n.textDirection), { top: I, bottom: H, horizontal: z };
11820
11827
  }
11821
11828
  function O(k, b) {
11822
11829
  let _ = r.top + (b ? k.top : k.bottom);
@@ -14292,75 +14299,75 @@ function jg(n) {
14292
14299
  var e;
14293
14300
  let { buffer: t, nodeSet: i, maxBufferLength: s = ir, reused: o = [], minRepeatType: l = i.types.length } = n, r = Array.isArray(t) ? new Gn(t, t.length) : t, a = i.types, h = 0, c = 0;
14294
14301
  function d(k, b, _, I, H, z) {
14295
- let { id: P, start: M, end: K, size: G } = r, h0 = c, y0 = h;
14296
- for (; G < 0; )
14297
- if (r.next(), G == -1) {
14302
+ let { id: P, start: M, end: X, size: $ } = r, h0 = c, y0 = h;
14303
+ for (; $ < 0; )
14304
+ if (r.next(), $ == -1) {
14298
14305
  let q0 = o[P];
14299
14306
  _.push(q0), I.push(M - k);
14300
14307
  return;
14301
- } else if (G == -3) {
14308
+ } else if ($ == -3) {
14302
14309
  h = P;
14303
14310
  return;
14304
- } else if (G == -4) {
14311
+ } else if ($ == -4) {
14305
14312
  c = P;
14306
14313
  return;
14307
14314
  } else
14308
- throw new RangeError(`Unrecognized record size: ${G}`);
14315
+ throw new RangeError(`Unrecognized record size: ${$}`);
14309
14316
  let d0 = a[P], m, S0, b0 = M - k;
14310
- if (K - M <= s && (S0 = v(r.pos - b, H))) {
14317
+ if (X - M <= s && (S0 = v(r.pos - b, H))) {
14311
14318
  let q0 = new Uint16Array(S0.size - S0.skip), B0 = r.pos - S0.size, R0 = q0.length;
14312
14319
  for (; r.pos > B0; )
14313
14320
  R0 = w(S0.start, q0, R0);
14314
- m = new xe(q0, K - S0.start, i), b0 = S0.start - k;
14321
+ m = new xe(q0, X - S0.start, i), b0 = S0.start - k;
14315
14322
  } else {
14316
- let q0 = r.pos - G;
14323
+ let q0 = r.pos - $;
14317
14324
  r.next();
14318
- let B0 = [], R0 = [], Z0 = P >= l ? P : -1, r2 = 0, a2 = K;
14325
+ let B0 = [], R0 = [], Z0 = P >= l ? P : -1, r2 = 0, a2 = X;
14319
14326
  for (; r.pos > q0; )
14320
14327
  Z0 >= 0 && r.id == Z0 && r.size >= 0 ? (r.end <= a2 - s && (p(B0, R0, M, r2, r.end, a2, Z0, h0, y0), r2 = B0.length, a2 = r.end), r.next()) : z > 2500 ? u(M, q0, B0, R0) : d(M, q0, B0, R0, Z0, z + 1);
14321
14328
  if (Z0 >= 0 && r2 > 0 && r2 < B0.length && p(B0, R0, M, r2, M, a2, Z0, h0, y0), B0.reverse(), R0.reverse(), Z0 > -1 && r2 > 0) {
14322
14329
  let B2 = f(d0, y0);
14323
- m = Wn(d0, B0, R0, 0, B0.length, 0, K - M, B2, B2);
14330
+ m = Wn(d0, B0, R0, 0, B0.length, 0, X - M, B2, B2);
14324
14331
  } else
14325
- m = g(d0, B0, R0, K - M, h0 - K, y0);
14332
+ m = g(d0, B0, R0, X - M, h0 - X, y0);
14326
14333
  }
14327
14334
  _.push(m), I.push(b0);
14328
14335
  }
14329
14336
  function u(k, b, _, I) {
14330
14337
  let H = [], z = 0, P = -1;
14331
14338
  for (; r.pos > b; ) {
14332
- let { id: M, start: K, end: G, size: h0 } = r;
14339
+ let { id: M, start: X, end: $, size: h0 } = r;
14333
14340
  if (h0 > 4)
14334
14341
  r.next();
14335
14342
  else {
14336
- if (P > -1 && K < P)
14343
+ if (P > -1 && X < P)
14337
14344
  break;
14338
- P < 0 && (P = G - s), H.push(M, K, G), z++, r.next();
14345
+ P < 0 && (P = $ - s), H.push(M, X, $), z++, r.next();
14339
14346
  }
14340
14347
  }
14341
14348
  if (z) {
14342
- let M = new Uint16Array(z * 4), K = H[H.length - 2];
14343
- for (let G = H.length - 3, h0 = 0; G >= 0; G -= 3)
14344
- M[h0++] = H[G], M[h0++] = H[G + 1] - K, M[h0++] = H[G + 2] - K, M[h0++] = h0;
14345
- _.push(new xe(M, H[2] - K, i)), I.push(K - k);
14349
+ let M = new Uint16Array(z * 4), X = H[H.length - 2];
14350
+ for (let $ = H.length - 3, h0 = 0; $ >= 0; $ -= 3)
14351
+ M[h0++] = H[$], M[h0++] = H[$ + 1] - X, M[h0++] = H[$ + 2] - X, M[h0++] = h0;
14352
+ _.push(new xe(M, H[2] - X, i)), I.push(X - k);
14346
14353
  }
14347
14354
  }
14348
14355
  function f(k, b) {
14349
14356
  return (_, I, H) => {
14350
- let z = 0, P = _.length - 1, M, K;
14357
+ let z = 0, P = _.length - 1, M, X;
14351
14358
  if (P >= 0 && (M = _[P]) instanceof H0) {
14352
14359
  if (!P && M.type == k && M.length == H)
14353
14360
  return M;
14354
- (K = M.prop(f0.lookAhead)) && (z = I[P] + M.length + K);
14361
+ (X = M.prop(f0.lookAhead)) && (z = I[P] + M.length + X);
14355
14362
  }
14356
14363
  return g(k, _, I, H, z, b);
14357
14364
  };
14358
14365
  }
14359
- function p(k, b, _, I, H, z, P, M, K) {
14360
- let G = [], h0 = [];
14366
+ function p(k, b, _, I, H, z, P, M, X) {
14367
+ let $ = [], h0 = [];
14361
14368
  for (; k.length > I; )
14362
- G.push(k.pop()), h0.push(b.pop() + _ - H);
14363
- k.push(g(i.types[P], G, h0, z - H, M - z, K)), b.push(H - _);
14369
+ $.push(k.pop()), h0.push(b.pop() + _ - H);
14370
+ k.push(g(i.types[P], $, h0, z - H, M - z, X)), b.push(H - _);
14364
14371
  }
14365
14372
  function g(k, b, _, I, H, z, P) {
14366
14373
  if (z) {
@@ -14375,14 +14382,14 @@ function jg(n) {
14375
14382
  }
14376
14383
  function v(k, b) {
14377
14384
  let _ = r.fork(), I = 0, H = 0, z = 0, P = _.end - s, M = { size: 0, start: 0, skip: 0 };
14378
- e: for (let K = _.pos - k; _.pos > K; ) {
14379
- let G = _.size;
14380
- if (_.id == b && G >= 0) {
14385
+ e: for (let X = _.pos - k; _.pos > X; ) {
14386
+ let $ = _.size;
14387
+ if (_.id == b && $ >= 0) {
14381
14388
  M.size = I, M.start = H, M.skip = z, z += 4, I += 4, _.next();
14382
14389
  continue;
14383
14390
  }
14384
- let h0 = _.pos - G;
14385
- if (G < 0 || h0 < K || _.start < P)
14391
+ let h0 = _.pos - $;
14392
+ if ($ < 0 || h0 < X || _.start < P)
14386
14393
  break;
14387
14394
  let y0 = _.id >= l ? 4 : 0, d0 = _.start;
14388
14395
  for (_.next(); _.pos > h0; ) {
@@ -14394,7 +14401,7 @@ function jg(n) {
14394
14401
  else _.id >= l && (y0 += 4);
14395
14402
  _.next();
14396
14403
  }
14397
- H = d0, I += G, z += y0;
14404
+ H = d0, I += $, z += y0;
14398
14405
  }
14399
14406
  return (b < 0 || I == k) && (M.size = I, M.start = H, M.skip = z), M.size > 4 ? M : void 0;
14400
14407
  }
@@ -14403,8 +14410,8 @@ function jg(n) {
14403
14410
  if (r.next(), P >= 0 && I < l) {
14404
14411
  let M = _;
14405
14412
  if (P > 4) {
14406
- let K = r.pos - (P - 4);
14407
- for (; r.pos > K; )
14413
+ let X = r.pos - (P - 4);
14414
+ for (; r.pos > X; )
14408
14415
  _ = w(k, b, _);
14409
14416
  }
14410
14417
  b[--_] = M, b[--_] = z - k, b[--_] = H - k, b[--_] = I;
@@ -14796,7 +14803,7 @@ function Zg(n) {
14796
14803
  e = e.next;
14797
14804
  return e || null;
14798
14805
  }
14799
- const R = S2.define, k1 = R(), ae = R(), So = R(ae), Co = R(ae), ce = R(), O1 = R(ce), oi = R(ce), N2 = R(), Pe = R(N2), I2 = R(), R2 = R(), ln = R(), _t = R(ln), D1 = R(), V = {
14806
+ const R = S2.define, k1 = R(), ae = R(), So = R(ae), Co = R(ae), ce = R(), O1 = R(ce), oi = R(ce), N2 = R(), Pe = R(N2), I2 = R(), R2 = R(), ln = R(), _t = R(ln), D1 = R(), E = {
14800
14807
  /**
14801
14808
  A comment.
14802
14809
  */
@@ -15162,41 +15169,41 @@ const R = S2.define, k1 = R(), ae = R(), So = R(ae), Co = R(ae), ce = R(), O1 =
15162
15169
  */
15163
15170
  special: S2.defineModifier("special")
15164
15171
  };
15165
- for (let n in V) {
15166
- let e = V[n];
15172
+ for (let n in E) {
15173
+ let e = E[n];
15167
15174
  e instanceof S2 && (e.name = n);
15168
15175
  }
15169
15176
  cr([
15170
- { tag: V.link, class: "tok-link" },
15171
- { tag: V.heading, class: "tok-heading" },
15172
- { tag: V.emphasis, class: "tok-emphasis" },
15173
- { tag: V.strong, class: "tok-strong" },
15174
- { tag: V.keyword, class: "tok-keyword" },
15175
- { tag: V.atom, class: "tok-atom" },
15176
- { tag: V.bool, class: "tok-bool" },
15177
- { tag: V.url, class: "tok-url" },
15178
- { tag: V.labelName, class: "tok-labelName" },
15179
- { tag: V.inserted, class: "tok-inserted" },
15180
- { tag: V.deleted, class: "tok-deleted" },
15181
- { tag: V.literal, class: "tok-literal" },
15182
- { tag: V.string, class: "tok-string" },
15183
- { tag: V.number, class: "tok-number" },
15184
- { tag: [V.regexp, V.escape, V.special(V.string)], class: "tok-string2" },
15185
- { tag: V.variableName, class: "tok-variableName" },
15186
- { tag: V.local(V.variableName), class: "tok-variableName tok-local" },
15187
- { tag: V.definition(V.variableName), class: "tok-variableName tok-definition" },
15188
- { tag: V.special(V.variableName), class: "tok-variableName2" },
15189
- { tag: V.definition(V.propertyName), class: "tok-propertyName tok-definition" },
15190
- { tag: V.typeName, class: "tok-typeName" },
15191
- { tag: V.namespace, class: "tok-namespace" },
15192
- { tag: V.className, class: "tok-className" },
15193
- { tag: V.macroName, class: "tok-macroName" },
15194
- { tag: V.propertyName, class: "tok-propertyName" },
15195
- { tag: V.operator, class: "tok-operator" },
15196
- { tag: V.comment, class: "tok-comment" },
15197
- { tag: V.meta, class: "tok-meta" },
15198
- { tag: V.invalid, class: "tok-invalid" },
15199
- { tag: V.punctuation, class: "tok-punctuation" }
15177
+ { tag: E.link, class: "tok-link" },
15178
+ { tag: E.heading, class: "tok-heading" },
15179
+ { tag: E.emphasis, class: "tok-emphasis" },
15180
+ { tag: E.strong, class: "tok-strong" },
15181
+ { tag: E.keyword, class: "tok-keyword" },
15182
+ { tag: E.atom, class: "tok-atom" },
15183
+ { tag: E.bool, class: "tok-bool" },
15184
+ { tag: E.url, class: "tok-url" },
15185
+ { tag: E.labelName, class: "tok-labelName" },
15186
+ { tag: E.inserted, class: "tok-inserted" },
15187
+ { tag: E.deleted, class: "tok-deleted" },
15188
+ { tag: E.literal, class: "tok-literal" },
15189
+ { tag: E.string, class: "tok-string" },
15190
+ { tag: E.number, class: "tok-number" },
15191
+ { tag: [E.regexp, E.escape, E.special(E.string)], class: "tok-string2" },
15192
+ { tag: E.variableName, class: "tok-variableName" },
15193
+ { tag: E.local(E.variableName), class: "tok-variableName tok-local" },
15194
+ { tag: E.definition(E.variableName), class: "tok-variableName tok-definition" },
15195
+ { tag: E.special(E.variableName), class: "tok-variableName2" },
15196
+ { tag: E.definition(E.propertyName), class: "tok-propertyName tok-definition" },
15197
+ { tag: E.typeName, class: "tok-typeName" },
15198
+ { tag: E.namespace, class: "tok-namespace" },
15199
+ { tag: E.className, class: "tok-className" },
15200
+ { tag: E.macroName, class: "tok-macroName" },
15201
+ { tag: E.propertyName, class: "tok-propertyName" },
15202
+ { tag: E.operator, class: "tok-operator" },
15203
+ { tag: E.comment, class: "tok-comment" },
15204
+ { tag: E.meta, class: "tok-meta" },
15205
+ { tag: E.invalid, class: "tok-invalid" },
15206
+ { tag: E.punctuation, class: "tok-punctuation" }
15200
15207
  ]);
15201
15208
  var li;
15202
15209
  const Xe = /* @__PURE__ */ new f0();
@@ -16197,80 +16204,80 @@ const zm = /* @__PURE__ */ je.high(/* @__PURE__ */ I0.fromClass(Pm, {
16197
16204
  decorations: (n) => n.decorations
16198
16205
  })), Am = /* @__PURE__ */ B3.define([
16199
16206
  {
16200
- tag: V.meta,
16207
+ tag: E.meta,
16201
16208
  color: "#404740"
16202
16209
  },
16203
16210
  {
16204
- tag: V.link,
16211
+ tag: E.link,
16205
16212
  textDecoration: "underline"
16206
16213
  },
16207
16214
  {
16208
- tag: V.heading,
16215
+ tag: E.heading,
16209
16216
  textDecoration: "underline",
16210
16217
  fontWeight: "bold"
16211
16218
  },
16212
16219
  {
16213
- tag: V.emphasis,
16220
+ tag: E.emphasis,
16214
16221
  fontStyle: "italic"
16215
16222
  },
16216
16223
  {
16217
- tag: V.strong,
16224
+ tag: E.strong,
16218
16225
  fontWeight: "bold"
16219
16226
  },
16220
16227
  {
16221
- tag: V.strikethrough,
16228
+ tag: E.strikethrough,
16222
16229
  textDecoration: "line-through"
16223
16230
  },
16224
16231
  {
16225
- tag: V.keyword,
16232
+ tag: E.keyword,
16226
16233
  color: "#708"
16227
16234
  },
16228
16235
  {
16229
- tag: [V.atom, V.bool, V.url, V.contentSeparator, V.labelName],
16236
+ tag: [E.atom, E.bool, E.url, E.contentSeparator, E.labelName],
16230
16237
  color: "#219"
16231
16238
  },
16232
16239
  {
16233
- tag: [V.literal, V.inserted],
16240
+ tag: [E.literal, E.inserted],
16234
16241
  color: "#164"
16235
16242
  },
16236
16243
  {
16237
- tag: [V.string, V.deleted],
16244
+ tag: [E.string, E.deleted],
16238
16245
  color: "#a11"
16239
16246
  },
16240
16247
  {
16241
- tag: [V.regexp, V.escape, /* @__PURE__ */ V.special(V.string)],
16248
+ tag: [E.regexp, E.escape, /* @__PURE__ */ E.special(E.string)],
16242
16249
  color: "#e40"
16243
16250
  },
16244
16251
  {
16245
- tag: /* @__PURE__ */ V.definition(V.variableName),
16252
+ tag: /* @__PURE__ */ E.definition(E.variableName),
16246
16253
  color: "#00f"
16247
16254
  },
16248
16255
  {
16249
- tag: /* @__PURE__ */ V.local(V.variableName),
16256
+ tag: /* @__PURE__ */ E.local(E.variableName),
16250
16257
  color: "#30a"
16251
16258
  },
16252
16259
  {
16253
- tag: [V.typeName, V.namespace],
16260
+ tag: [E.typeName, E.namespace],
16254
16261
  color: "#085"
16255
16262
  },
16256
16263
  {
16257
- tag: V.className,
16264
+ tag: E.className,
16258
16265
  color: "#167"
16259
16266
  },
16260
16267
  {
16261
- tag: [/* @__PURE__ */ V.special(V.variableName), V.macroName],
16268
+ tag: [/* @__PURE__ */ E.special(E.variableName), E.macroName],
16262
16269
  color: "#256"
16263
16270
  },
16264
16271
  {
16265
- tag: /* @__PURE__ */ V.definition(V.propertyName),
16272
+ tag: /* @__PURE__ */ E.definition(E.propertyName),
16266
16273
  color: "#00c"
16267
16274
  },
16268
16275
  {
16269
- tag: V.comment,
16276
+ tag: E.comment,
16270
16277
  color: "#940"
16271
16278
  },
16272
16279
  {
16273
- tag: V.invalid,
16280
+ tag: E.invalid,
16274
16281
  color: "#f00"
16275
16282
  }
16276
16283
  ]), Vm = /* @__PURE__ */ j.baseTheme({
@@ -16415,7 +16422,7 @@ function jm(n, e) {
16415
16422
  for (let r of e.split(" ")) {
16416
16423
  let a = [];
16417
16424
  for (let h of r.split(".")) {
16418
- let c = n[h] || V[h];
16425
+ let c = n[h] || E[h];
16419
16426
  c ? typeof c == "function" ? a.length ? a = a.map(c) : hi(h, `Modifier ${h} used at start of tag`) : a.length ? hi(h, `Tag ${h} used as modifier`) : a = Array.isArray(c) ? c : [c] : hi(h, `Unknown highlighting tag ${h}`);
16420
16427
  }
16421
16428
  for (let h of a)
@@ -20978,18 +20985,18 @@ function ss(n, e) {
20978
20985
  });
20979
20986
  }
20980
20987
  const tx = ss(Fb, "-->"), ix = ss(qb, "?>"), nx = ss(Yb, "]]>"), sx = rr({
20981
- Text: V.content,
20982
- "StartTag StartCloseTag EndTag SelfCloseEndTag": V.angleBracket,
20983
- TagName: V.tagName,
20984
- "MismatchedCloseTag/TagName": [V.tagName, V.invalid],
20985
- AttributeName: V.attributeName,
20986
- AttributeValue: V.attributeValue,
20987
- Is: V.definitionOperator,
20988
- "EntityReference CharacterReference": V.character,
20989
- Comment: V.blockComment,
20990
- ProcessingInst: V.processingInstruction,
20991
- DoctypeDecl: V.documentMeta,
20992
- Cdata: V.special(V.string)
20988
+ Text: E.content,
20989
+ "StartTag StartCloseTag EndTag SelfCloseEndTag": E.angleBracket,
20990
+ TagName: E.tagName,
20991
+ "MismatchedCloseTag/TagName": [E.tagName, E.invalid],
20992
+ AttributeName: E.attributeName,
20993
+ AttributeValue: E.attributeValue,
20994
+ Is: E.definitionOperator,
20995
+ "EntityReference CharacterReference": E.character,
20996
+ Comment: E.blockComment,
20997
+ ProcessingInst: E.processingInstruction,
20998
+ DoctypeDecl: E.documentMeta,
20999
+ Cdata: E.special(E.string)
20993
21000
  }), ox = C3.deserialize({
20994
21001
  version: 14,
20995
21002
  states: ",lOQOaOOOrOxO'#CfOzOpO'#CiO!tOaO'#CgOOOP'#Cg'#CgO!{OrO'#CrO#TOtO'#CsO#]OpO'#CtOOOP'#DT'#DTOOOP'#Cv'#CvQQOaOOOOOW'#Cw'#CwO#eOxO,59QOOOP,59Q,59QOOOO'#Cx'#CxO#mOpO,59TO#uO!bO,59TOOOP'#C|'#C|O$TOaO,59RO$[OpO'#CoOOOP,59R,59ROOOQ'#C}'#C}O$dOrO,59^OOOP,59^,59^OOOS'#DO'#DOO$lOtO,59_OOOP,59_,59_O$tOpO,59`O$|OpO,59`OOOP-E6t-E6tOOOW-E6u-E6uOOOP1G.l1G.lOOOO-E6v-E6vO%UO!bO1G.oO%UO!bO1G.oO%dOpO'#CkO%lO!bO'#CyO%zO!bO1G.oOOOP1G.o1G.oOOOP1G.w1G.wOOOP-E6z-E6zOOOP1G.m1G.mO&VOpO,59ZO&_OpO,59ZOOOQ-E6{-E6{OOOP1G.x1G.xOOOS-E6|-E6|OOOP1G.y1G.yO&gOpO1G.zO&gOpO1G.zOOOP1G.z1G.zO&oO!bO7+$ZO&}O!bO7+$ZOOOP7+$Z7+$ZOOOP7+$c7+$cO'YOpO,59VO'bOpO,59VO'mO!bO,59eOOOO-E6w-E6wO'{OpO1G.uO'{OpO1G.uOOOP1G.u1G.uO(TOpO7+$fOOOP7+$f7+$fO(]O!bO<<GuOOOP<<Gu<<GuOOOP<<G}<<G}O'bOpO1G.qO'bOpO1G.qO(hO#tO'#CnO(vO&jO'#CnOOOO1G.q1G.qO)UOpO7+$aOOOP7+$a7+$aOOOP<<HQ<<HQOOOPAN=aAN=aOOOPAN=iAN=iO'bOpO7+$]OOOO7+$]7+$]OOOO'#Cz'#CzO)^O#tO,59YOOOO,59Y,59YOOOO'#C{'#C{O)lO&jO,59YOOOP<<G{<<G{OOOO<<Gw<<GwOOOO-E6x-E6xOOOO1G.t1G.tOOOO-E6y-E6y",
@@ -21226,7 +21233,7 @@ const dx = /* @__PURE__ */ j.inputHandler.of((n, e, t, i, s) => {
21226
21233
  blobUrl: String
21227
21234
  },
21228
21235
  setup(n) {
21229
- const e = n, t = i0(() => e.blobUrl), i = N("");
21236
+ const e = n, t = i0(() => e.blobUrl), i = G("");
21230
21237
  return Ie(async () => {
21231
21238
  const o = await (await fetch(t.value)).blob(), l = new FileReader();
21232
21239
  l.onload = function(r) {
@@ -21239,7 +21246,7 @@ const dx = /* @__PURE__ */ j.inputHandler.of((n, e, t, i, s) => {
21239
21246
  parent: document.querySelector("#xml-editor")
21240
21247
  });
21241
21248
  s.dom.style.width = "100%";
21242
- }), (s, o) => (x(), E("div", ux, [
21249
+ }), (s, o) => (x(), B("div", ux, [
21243
21250
  s0("div", fx, null, 512)
21244
21251
  ]));
21245
21252
  }
@@ -21253,8 +21260,8 @@ const dx = /* @__PURE__ */ j.inputHandler.of((n, e, t, i, s) => {
21253
21260
  const e = n, t = i0(() => e.blobUrl), i = i0(() => [e.blobUrl]);
21254
21261
  return (s, o) => {
21255
21262
  const l = J("el-image");
21256
- return x(), E("div", mx, [
21257
- Q(l, {
21263
+ return x(), B("div", mx, [
21264
+ K(l, {
21258
21265
  class: "render-img",
21259
21266
  src: t.value,
21260
21267
  "zoom-rate": 1.2,
@@ -21273,7 +21280,7 @@ const dx = /* @__PURE__ */ j.inputHandler.of((n, e, t, i, s) => {
21273
21280
  blobUrl: String
21274
21281
  },
21275
21282
  setup(n) {
21276
- const e = n, t = i0(() => e.blobUrl), i = N(null);
21283
+ const e = n, t = i0(() => e.blobUrl), i = G(null);
21277
21284
  return Ie(async () => {
21278
21285
  const s = t.value, l = await (await fetch(s)).arrayBuffer();
21279
21286
  x2(() => {
@@ -21283,7 +21290,7 @@ const dx = /* @__PURE__ */ j.inputHandler.of((n, e, t, i, s) => {
21283
21290
  height: h
21284
21291
  }).preview(l);
21285
21292
  });
21286
- }), (s, o) => (x(), E("div", bx, [
21293
+ }), (s, o) => (x(), B("div", bx, [
21287
21294
  s0("div", {
21288
21295
  ref_key: "pptxPreview",
21289
21296
  ref: i,
@@ -21298,13 +21305,13 @@ const dx = /* @__PURE__ */ j.inputHandler.of((n, e, t, i, s) => {
21298
21305
  blobUrl: String
21299
21306
  },
21300
21307
  setup(n) {
21301
- const e = n, t = i0(() => e.blobUrl), i = N("");
21308
+ const e = n, t = i0(() => e.blobUrl), i = G("");
21302
21309
  return Ie(async () => {
21303
21310
  const o = await (await fetch(t.value)).blob(), l = URL.createObjectURL(o);
21304
21311
  i.value = l;
21305
21312
  }), i1(() => {
21306
21313
  i.value && URL.revokeObjectURL(i.value);
21307
- }), (s, o) => (x(), E("div", _x, [
21314
+ }), (s, o) => (x(), B("div", _x, [
21308
21315
  s0("video", {
21309
21316
  src: i.value,
21310
21317
  class: "video-tag",
@@ -21360,7 +21367,7 @@ const dx = /* @__PURE__ */ j.inputHandler.of((n, e, t, i, s) => {
21360
21367
  const z = H.lastIndexOf(".");
21361
21368
  let P = H == null ? void 0 : H.slice(z + 1);
21362
21369
  return P = P == null ? void 0 : P.toLowerCase(), P;
21363
- }), a = N(null), h = i0(() => (o.value, c.value || d.value || u.value));
21370
+ }), a = G(null), h = i0(() => (o.value, c.value || d.value || u.value));
21364
21371
  X2(async () => {
21365
21372
  if (h.value) {
21366
21373
  s.value;
@@ -21371,8 +21378,8 @@ const dx = /* @__PURE__ */ j.inputHandler.of((n, e, t, i, s) => {
21371
21378
  }
21372
21379
  });
21373
21380
  const c = i0(() => (r == null ? void 0 : r.value) === "cpt"), d = i0(() => (r == null ? void 0 : r.value) === "uv"), u = i0(() => (r == null ? void 0 : r.value) === "cyd"), f = i0(() => (r == null ? void 0 : r.value) === "txt"), p = i0(() => {
21374
- var H, z, P, M, K, G;
21375
- return ((z = (H = i.blobUrl) == null ? void 0 : H.toUpperCase()) == null ? void 0 : z.includes(".OBJ")) || ((M = (P = i.blobUrl) == null ? void 0 : P.toUpperCase()) == null ? void 0 : M.includes(".STL")) || ((G = (K = i.blobUrl) == null ? void 0 : K.toUpperCase()) == null ? void 0 : G.includes(".MTL"));
21381
+ var H, z, P, M, X, $;
21382
+ return ((z = (H = i.blobUrl) == null ? void 0 : H.toUpperCase()) == null ? void 0 : z.includes(".OBJ")) || ((M = (P = i.blobUrl) == null ? void 0 : P.toUpperCase()) == null ? void 0 : M.includes(".STL")) || (($ = (X = i.blobUrl) == null ? void 0 : X.toUpperCase()) == null ? void 0 : $.includes(".MTL"));
21376
21383
  }), g = i0(() => (r == null ? void 0 : r.value) === "ls"), v = i0(() => {
21377
21384
  var H, z;
21378
21385
  return (z = (H = i.blobUrl) == null ? void 0 : H.toUpperCase()) == null ? void 0 : z.includes(".URDF");
@@ -21382,72 +21389,72 @@ const dx = /* @__PURE__ */ j.inputHandler.of((n, e, t, i, s) => {
21382
21389
  }), b = i0(() => (r == null ? void 0 : r.value) === "pptx"), _ = i0(() => (r == null ? void 0 : r.value) === "mp4"), I = i0(() => !f && !g && !w && !y && !D && !O && !k && !b);
21383
21390
  return i1(() => {
21384
21391
  t("destroy");
21385
- }), (H, z) => (x(), E("div", Ox, [
21386
- h.value ? (x(), E("div", Dx, [
21387
- Q(j3, {
21392
+ }), (H, z) => (x(), B("div", Ox, [
21393
+ h.value ? (x(), B("div", Dx, [
21394
+ K(j3, {
21388
21395
  isTrackPath: h.value,
21389
21396
  trackFileType: { isCyd: u.value, isUv: d.value, isCpt: c.value },
21390
21397
  threeData: a.value
21391
21398
  }, null, 8, ["isTrackPath", "trackFileType", "threeData"])
21392
- ])) : e0("", !0),
21393
- y.value ? (x(), E("div", Mx, [
21394
- Q(zu, {
21399
+ ])) : t0("", !0),
21400
+ y.value ? (x(), B("div", Mx, [
21401
+ K(zu, {
21395
21402
  fileName: o.value,
21396
21403
  blobUrl: s.value
21397
21404
  }, null, 8, ["fileName", "blobUrl"])
21398
- ])) : e0("", !0),
21399
- p.value ? (x(), E("div", Tx, [
21405
+ ])) : t0("", !0),
21406
+ p.value ? (x(), B("div", Tx, [
21400
21407
  (x(), F(j3, {
21401
21408
  "file-urls": l.value,
21402
21409
  isThreeScene: !1,
21403
21410
  key: i == null ? void 0 : i.fullScreen
21404
21411
  }, null, 8, ["file-urls"]))
21405
- ])) : e0("", !0),
21406
- v.value ? (x(), E("div", Px, [
21412
+ ])) : t0("", !0),
21413
+ v.value ? (x(), B("div", Px, [
21407
21414
  (x(), F(j3, {
21408
21415
  "file-urls": l.value,
21409
21416
  isThreeScene: !0,
21410
21417
  key: i == null ? void 0 : i.fullScreen
21411
21418
  }, null, 8, ["file-urls"]))
21412
- ])) : e0("", !0),
21413
- D.value ? (x(), E("div", zx, [
21414
- Q(Eu, {
21419
+ ])) : t0("", !0),
21420
+ D.value ? (x(), B("div", zx, [
21421
+ K(Eu, {
21415
21422
  fileName: o.value,
21416
21423
  blobUrl: s.value
21417
21424
  }, null, 8, ["fileName", "blobUrl"])
21418
- ])) : e0("", !0),
21419
- O.value ? (x(), E("div", Ax, [
21420
- Q(Iu, {
21425
+ ])) : t0("", !0),
21426
+ O.value ? (x(), B("div", Ax, [
21427
+ K(Iu, {
21421
21428
  fileName: o.value,
21422
21429
  blobUrl: s.value
21423
21430
  }, null, 8, ["fileName", "blobUrl"])
21424
- ])) : e0("", !0),
21425
- k.value ? (x(), E("div", Vx, [
21426
- Q(wx, {
21431
+ ])) : t0("", !0),
21432
+ k.value ? (x(), B("div", Vx, [
21433
+ K(wx, {
21427
21434
  fileName: o.value,
21428
21435
  blobUrl: s.value
21429
21436
  }, null, 8, ["fileName", "blobUrl"])
21430
- ])) : e0("", !0),
21431
- b.value ? (x(), E("div", Ex, [
21432
- Q(yx, {
21437
+ ])) : t0("", !0),
21438
+ b.value ? (x(), B("div", Ex, [
21439
+ K(yx, {
21433
21440
  fileName: o.value,
21434
21441
  blobUrl: s.value
21435
21442
  }, null, 8, ["fileName", "blobUrl"])
21436
- ])) : e0("", !0),
21437
- _.value ? (x(), E("div", Bx, [
21438
- Q(kx, {
21443
+ ])) : t0("", !0),
21444
+ _.value ? (x(), B("div", Bx, [
21445
+ K(kx, {
21439
21446
  fileName: o.value,
21440
21447
  blobUrl: s.value
21441
21448
  }, null, 8, ["fileName", "blobUrl"])
21442
- ])) : !y.value && !D.value && !O.value && !v.value && !k.value && !b.value && !p.value && !_.value && !h.value ? (x(), E("div", Lx, [
21443
- Q(gx, {
21449
+ ])) : !y.value && !D.value && !O.value && !v.value && !k.value && !b.value && !p.value && !_.value && !h.value ? (x(), B("div", Lx, [
21450
+ K(gx, {
21444
21451
  fileName: o.value,
21445
21452
  blobUrl: s.value
21446
21453
  }, null, 8, ["fileName", "blobUrl"])
21447
- ])) : e0("", !0),
21448
- I.value ? (x(), E("div", Hx, z[0] || (z[0] = [
21454
+ ])) : t0("", !0),
21455
+ I.value ? (x(), B("div", Hx, z[0] || (z[0] = [
21449
21456
  s0("div", null, "当前文件格式暂不支持预览", -1)
21450
- ]))) : e0("", !0)
21457
+ ]))) : t0("", !0)
21451
21458
  ]));
21452
21459
  }
21453
21460
  }, O4 = /* @__PURE__ */ A0(Ix, [["__scopeId", "data-v-4dbcf2e2"]]), Rx = { class: "file-preview-container" }, Nx = { class: "container-right" }, Gx = /* @__PURE__ */ _2({
@@ -21459,7 +21466,7 @@ const dx = /* @__PURE__ */ j.inputHandler.of((n, e, t, i, s) => {
21459
21466
  },
21460
21467
  emits: ["destroy"],
21461
21468
  setup(n, { emit: e }) {
21462
- const t = e, i = n, s = N();
21469
+ const t = e, i = n, s = G();
21463
21470
  s2(
21464
21471
  () => i.fileDataList,
21465
21472
  () => {
@@ -21467,7 +21474,7 @@ const dx = /* @__PURE__ */ j.inputHandler.of((n, e, t, i, s) => {
21467
21474
  },
21468
21475
  { deep: !0, immediate: !0 }
21469
21476
  );
21470
- const o = N(i.index || 0), l = i0(() => {
21477
+ const o = G(i.index || 0), l = i0(() => {
21471
21478
  const h = s == null ? void 0 : s.value, c = o.value;
21472
21479
  return h == null ? void 0 : h[c];
21473
21480
  }), r = i0(() => {
@@ -21479,9 +21486,9 @@ const dx = /* @__PURE__ */ j.inputHandler.of((n, e, t, i, s) => {
21479
21486
  });
21480
21487
  return i1(() => {
21481
21488
  t("destroy");
21482
- }), (h, c) => (x(), E("div", Rx, [
21489
+ }), (h, c) => (x(), B("div", Rx, [
21483
21490
  s0("div", Nx, [
21484
- Q(O4, {
21491
+ K(O4, {
21485
21492
  class: "right-item",
21486
21493
  fileName: r.value,
21487
21494
  blobUrl: a.value,
@@ -21500,7 +21507,7 @@ const dx = /* @__PURE__ */ j.inputHandler.of((n, e, t, i, s) => {
21500
21507
  },
21501
21508
  emits: ["destroy"],
21502
21509
  setup(n, { emit: e }) {
21503
- const t = e, i = n, s = N(!0), o = i0(() => i.fileDataList), l = i0(() => i.index), r = i0(() => i.isRevokeBlob), a = i0(() => {
21510
+ const t = e, i = n, s = G(!0), o = i0(() => i.fileDataList), l = i0(() => i.index), r = i0(() => i.isRevokeBlob), a = i0(() => {
21504
21511
  var v;
21505
21512
  const p = o.value;
21506
21513
  return (v = p == null ? void 0 : p[0]) == null ? void 0 : v.name;
@@ -21510,7 +21517,7 @@ const dx = /* @__PURE__ */ j.inputHandler.of((n, e, t, i, s) => {
21510
21517
  p.href = (v = (g = o.value) == null ? void 0 : g[0]) == null ? void 0 : v.blobUrl, p.download = a.value, p.style.display = "none", document.body.appendChild(p), p.click(), setTimeout(() => {
21511
21518
  document.body.removeChild(p);
21512
21519
  }, 100);
21513
- }, c = N(!1), d = () => {
21520
+ }, c = G(!1), d = () => {
21514
21521
  const p = c.value;
21515
21522
  c.value = !p;
21516
21523
  }, u = () => {
@@ -21541,21 +21548,21 @@ const dx = /* @__PURE__ */ j.inputHandler.of((n, e, t, i, s) => {
21541
21548
  title: a.value
21542
21549
  }, $0(a.value), 9, Wx),
21543
21550
  s0("div", jx, [
21544
- Q(v, null, {
21551
+ K(v, null, {
21545
21552
  default: L(() => [
21546
- Q(Je(Y4), { onClick: h })
21553
+ K(Je(Y4), { onClick: h })
21547
21554
  ]),
21548
21555
  _: 1
21549
21556
  }),
21550
- Q(v, null, {
21557
+ K(v, null, {
21551
21558
  default: L(() => [
21552
- Q(Je(K4), { onClick: d })
21559
+ K(Je(K4), { onClick: d })
21553
21560
  ]),
21554
21561
  _: 1
21555
21562
  }),
21556
- Q(v, null, {
21563
+ K(v, null, {
21557
21564
  default: L(() => [
21558
- Q(Je(X4), { onClick: u })
21565
+ K(Je(X4), { onClick: u })
21559
21566
  ]),
21560
21567
  _: 1
21561
21568
  })
@@ -21599,7 +21606,7 @@ const dx = /* @__PURE__ */ j.inputHandler.of((n, e, t, i, s) => {
21599
21606
  },
21600
21607
  emits: ["update:modelValue"],
21601
21608
  setup(n, { emit: e }) {
21602
- const t = n, i = e, s = N(!1), o = N(Array.isArray(t.modelValue) ? t.modelValue : []), l = N(!1), r = N([]), a = N(Array.isArray(t.modelValue) ? t.modelValue : []), h = N(!1), c = N(""), d = N(""), u = N(Array.isArray(t.modelValue) ? t.modelValue : []), f = () => {
21609
+ const t = n, i = e, s = G(!1), o = G(Array.isArray(t.modelValue) ? t.modelValue : []), l = G(!1), r = G([]), a = G(Array.isArray(t.modelValue) ? t.modelValue : []), h = G(!1), c = G(""), d = G(""), u = G(Array.isArray(t.modelValue) ? t.modelValue : []), f = () => {
21603
21610
  h.value = !0, u.value = o.value, a.value = o.value;
21604
21611
  }, p = async (b) => {
21605
21612
  var I, H;
@@ -21617,14 +21624,14 @@ const dx = /* @__PURE__ */ j.inputHandler.of((n, e, t, i, s) => {
21617
21624
  } else
21618
21625
  d.value = b == null ? void 0 : b.url;
21619
21626
  }, g = async (b) => {
21620
- var I, H, z, P, M, K, G, h0, y0;
21627
+ var I, H, z, P, M, X, $, h0, y0;
21621
21628
  if ((b == null ? void 0 : b.oldUrl) || (b == null ? void 0 : b.url)) {
21622
21629
  const d0 = Sd.service({
21623
21630
  lock: !0,
21624
21631
  text: "Loading",
21625
21632
  background: "rgba(0, 0, 0, 0.7)"
21626
21633
  });
21627
- c.value = b != null && b.oldUrl ? (z = b == null ? void 0 : b.oldUrl) == null ? void 0 : z.split("/")[((H = (I = b == null ? void 0 : b.oldUrl) == null ? void 0 : I.split("/")) == null ? void 0 : H.length) - 1] : (b == null ? void 0 : b.name) + "." + ((y0 = (M = (P = j2(b)) == null ? void 0 : P.url) == null ? void 0 : M.split(".")) == null ? void 0 : y0[((h0 = (G = (K = j2(b)) == null ? void 0 : K.url) == null ? void 0 : G.split(".")) == null ? void 0 : h0.length) - 1]), await p(b).finally(() => {
21634
+ c.value = b != null && b.oldUrl ? (z = b == null ? void 0 : b.oldUrl) == null ? void 0 : z.split("/")[((H = (I = b == null ? void 0 : b.oldUrl) == null ? void 0 : I.split("/")) == null ? void 0 : H.length) - 1] : (b == null ? void 0 : b.name) + "." + ((y0 = (M = (P = j2(b)) == null ? void 0 : P.url) == null ? void 0 : M.split(".")) == null ? void 0 : y0[((h0 = ($ = (X = j2(b)) == null ? void 0 : X.url) == null ? void 0 : $.split(".")) == null ? void 0 : h0.length) - 1]), await p(b).finally(() => {
21628
21635
  d0.close();
21629
21636
  });
21630
21637
  } else {
@@ -21661,10 +21668,10 @@ const dx = /* @__PURE__ */ j.inputHandler.of((n, e, t, i, s) => {
21661
21668
  }), _ = await Promise.all(b);
21662
21669
  let I = [];
21663
21670
  _ == null || _.map((z) => {
21664
- var P, M, K, G, h0, y0;
21671
+ var P, M, X, $, h0, y0;
21665
21672
  return I.push({
21666
21673
  name: ((M = (P = z == null ? void 0 : z.data) == null ? void 0 : P.result) == null ? void 0 : M.fileName) ?? (z == null ? void 0 : z.name),
21667
- url: ((G = (K = z == null ? void 0 : z.data) == null ? void 0 : K.result) == null ? void 0 : G.url) ?? (z == null ? void 0 : z.url)
21674
+ url: (($ = (X = z == null ? void 0 : z.data) == null ? void 0 : X.result) == null ? void 0 : $.url) ?? (z == null ? void 0 : z.url)
21668
21675
  }), (y0 = (h0 = z == null ? void 0 : z.data) == null ? void 0 : h0.result) == null ? void 0 : y0.url;
21669
21676
  }), yn.success("上传成功"), o.value = I, i("update:modelValue", I), a.value = [], h.value = !1, s.value = !1;
21670
21677
  }, O = () => {
@@ -21691,38 +21698,38 @@ const dx = /* @__PURE__ */ j.inputHandler.of((n, e, t, i, s) => {
21691
21698
  };
21692
21699
  return (b, _) => {
21693
21700
  const I = J("svg-icon"), H = J("el-icon"), z = J("el-upload"), P = R4("loading");
21694
- return t != null && t.isEdit ? (x(), E("div", qx, [
21695
- Q(ie, {
21701
+ return t != null && t.isEdit ? (x(), B("div", qx, [
21702
+ K(ie, {
21696
21703
  type: "primary",
21697
21704
  onClickTrigger: f,
21698
21705
  class: "upload-button",
21699
21706
  modelValue: "上传"
21700
21707
  }),
21701
21708
  s0("div", Yx, [
21702
- (x(!0), E(C0, null, M0(o.value, (M) => (x(), E("div", {
21709
+ (x(!0), B(C0, null, M0(o.value, (M) => (x(), B("div", {
21703
21710
  class: "upload-content-title",
21704
21711
  key: M,
21705
21712
  style: { display: "flex", "justify-content": "space-between", width: "100%" }
21706
21713
  }, [
21707
21714
  s0("div", null, $0(M == null ? void 0 : M.name), 1),
21708
21715
  s0("div", Kx, [
21709
- Q(I, {
21716
+ K(I, {
21710
21717
  class: "icon-blue",
21711
21718
  name: "EyeFill",
21712
21719
  style: { width: "20px", height: "20px", cursor: "pointer" },
21713
- onClick: (K) => g(M)
21720
+ onClick: (X) => g(M)
21714
21721
  }, null, 8, ["onClick"])
21715
21722
  ])
21716
21723
  ]))), 128))
21717
21724
  ]),
21718
- Q(_n, {
21725
+ K(_n, {
21719
21726
  visible: h.value,
21720
21727
  onBeforeDestroy: O,
21721
21728
  title: "上传文件"
21722
21729
  }, {
21723
21730
  default: L(() => [
21724
- lt((x(), E("div", null, [
21725
- Q(z, {
21731
+ lt((x(), B("div", null, [
21732
+ K(z, {
21726
21733
  "file-list": u.value,
21727
21734
  "onUpdate:fileList": _[0] || (_[0] = (M) => u.value = M),
21728
21735
  multiple: "",
@@ -21737,9 +21744,9 @@ const dx = /* @__PURE__ */ j.inputHandler.of((n, e, t, i, s) => {
21737
21744
  s0("div", { class: "el-upload__tip tip-content" }, " 请上传大小不超过10MB的文件 ", -1)
21738
21745
  ])),
21739
21746
  default: L(() => [
21740
- Q(H, { class: "el-icon--upload" }, {
21747
+ K(H, { class: "el-icon--upload" }, {
21741
21748
  default: L(() => [
21742
- Q(Je(Q4))
21749
+ K(Je(Q4))
21743
21750
  ]),
21744
21751
  _: 1
21745
21752
  }),
@@ -21748,21 +21755,21 @@ const dx = /* @__PURE__ */ j.inputHandler.of((n, e, t, i, s) => {
21748
21755
  s0("em", null, "点击上传")
21749
21756
  ], -1))
21750
21757
  ]),
21751
- file: L(({ file: M, index: K }) => [
21758
+ file: L(({ file: M, index: X }) => [
21752
21759
  s0("div", Xx, [
21753
21760
  s0("div", Qx, $0(M == null ? void 0 : M.name), 1),
21754
21761
  s0("div", Jx, [
21755
- Q(I, {
21762
+ K(I, {
21756
21763
  class: "icon-blue",
21757
21764
  name: "EyeFill",
21758
21765
  style: { width: "20px", height: "20px", cursor: "pointer" },
21759
- onClick: (G) => g(M)
21766
+ onClick: ($) => g(M)
21760
21767
  }, null, 8, ["onClick"]),
21761
- Q(I, {
21768
+ K(I, {
21762
21769
  class: "icon-blue",
21763
21770
  name: "Cancel",
21764
21771
  style: { width: "20px", height: "20px", cursor: "pointer" },
21765
- onClick: (G) => w(K)
21772
+ onClick: ($) => w(X)
21766
21773
  }, null, 8, ["onClick"])
21767
21774
  ])
21768
21775
  ])
@@ -21775,13 +21782,13 @@ const dx = /* @__PURE__ */ j.inputHandler.of((n, e, t, i, s) => {
21775
21782
  ]),
21776
21783
  footer: L(() => [
21777
21784
  s0("div", Zx, [
21778
- Q(ie, {
21785
+ K(ie, {
21779
21786
  onClickTrigger: O,
21780
21787
  id: "themeBorderButton",
21781
21788
  disabled: s.value,
21782
21789
  modelValue: "取消"
21783
21790
  }, null, 8, ["disabled"]),
21784
- Q(ie, {
21791
+ K(ie, {
21785
21792
  type: "primary",
21786
21793
  onClickTrigger: D,
21787
21794
  id: "themeButton",
@@ -21796,8 +21803,8 @@ const dx = /* @__PURE__ */ j.inputHandler.of((n, e, t, i, s) => {
21796
21803
  key: 0,
21797
21804
  fileDataList: r.value,
21798
21805
  onDestroy: v
21799
- }, null, 8, ["fileDataList"])) : e0("", !0)
21800
- ])) : e0("", !0);
21806
+ }, null, 8, ["fileDataList"])) : t0("", !0)
21807
+ ])) : t0("", !0);
21801
21808
  };
21802
21809
  }
21803
21810
  }, ty = /* @__PURE__ */ A0(ey, [["__scopeId", "data-v-58feff8f"]]), iy = /* @__PURE__ */ _2({
@@ -21821,7 +21828,7 @@ const dx = /* @__PURE__ */ j.inputHandler.of((n, e, t, i, s) => {
21821
21828
  id: (w = (v = p == null ? void 0 : p.data) == null ? void 0 : v.result) == null ? void 0 : w.id,
21822
21829
  url: (D = (y = p == null ? void 0 : p.data) == null ? void 0 : y.result) == null ? void 0 : D.url
21823
21830
  }]);
21824
- }, l = N([]);
21831
+ }, l = G([]);
21825
21832
  s2(() => t == null ? void 0 : t.modelValue, (h) => {
21826
21833
  l.value = Array.isArray(h) ? h == null ? void 0 : h.map((c) => ({
21827
21834
  ...c,
@@ -21853,9 +21860,9 @@ const dx = /* @__PURE__ */ j.inputHandler.of((n, e, t, i, s) => {
21853
21860
  "on-remove": r
21854
21861
  }, {
21855
21862
  default: L(() => [
21856
- Q(d, null, {
21863
+ K(d, null, {
21857
21864
  default: L(() => [
21858
- Q(Je(Z4))
21865
+ K(Je(Z4))
21859
21866
  ]),
21860
21867
  _: 1
21861
21868
  })
@@ -22250,7 +22257,7 @@ var cy = /* @__PURE__ */ _2({
22250
22257
  onResizeHandler: null,
22251
22258
  signaturePad: {},
22252
22259
  signatureData: v6
22253
- }), i = N(null), s = i0(() => {
22260
+ }), i = G(null), s = i0(() => {
22254
22261
  if (!i.value)
22255
22262
  throw new Error('No canvas could be found with this "ref" in the template');
22256
22263
  return i.value;
@@ -22418,8 +22425,8 @@ const dy = { class: "signature-wrap" }, uy = { class: "signature-types" }, fy =
22418
22425
  setup(n, { emit: e }) {
22419
22426
  var a;
22420
22427
  const t = n;
22421
- N(t.value);
22422
- const i = N(), s = D3({
22428
+ G(t.value);
22429
+ const i = G(), s = D3({
22423
22430
  loading: !1,
22424
22431
  avatarLoading: !1,
22425
22432
  signDialogVisible: !1,
@@ -22455,14 +22462,14 @@ const dy = { class: "signature-wrap" }, uy = { class: "signature-types" }, fy =
22455
22462
  return (h, c) => {
22456
22463
  var p, g, v;
22457
22464
  const d = J("el-input-number"), u = J("el-color-picker"), f = J("el-button");
22458
- return x(), E(C0, null, [
22465
+ return x(), B(C0, null, [
22459
22466
  s0("div", dy, [
22460
22467
  c0(h.$slots, "signatureRender", {}, void 0, !0),
22461
22468
  s0("div", uy, [
22462
22469
  c0(h.$slots, "signatureTypes", {}, void 0, !0)
22463
22470
  ])
22464
22471
  ]),
22465
- Q(_n, {
22472
+ K(_n, {
22466
22473
  class: "signature-dialog",
22467
22474
  title: (p = n.signPadInfo) == null ? void 0 : p.dialogTitle,
22468
22475
  dialogWidth: `${((g = n.signPadInfo) == null ? void 0 : g.dialogWidth) ?? 30}%`,
@@ -22471,7 +22478,7 @@ const dy = { class: "signature-wrap" }, uy = { class: "signature-types" }, fy =
22471
22478
  }, {
22472
22479
  default: L(() => [
22473
22480
  s0("div", fy, [
22474
- Q(Je(hy), {
22481
+ K(Je(hy), {
22475
22482
  ref_key: "signaturePadRef",
22476
22483
  ref: i,
22477
22484
  options: s.signOptions
@@ -22480,7 +22487,7 @@ const dy = { class: "signature-wrap" }, uy = { class: "signature-types" }, fy =
22480
22487
  s0("div", py, [
22481
22488
  s0("div", null, [
22482
22489
  c[2] || (c[2] = s0("span", null, "画笔粗细:", -1)),
22483
- Q(d, {
22490
+ K(d, {
22484
22491
  modelValue: s.signOptions.minWidth,
22485
22492
  "onUpdate:modelValue": c[0] || (c[0] = (w) => s.signOptions.minWidth = w),
22486
22493
  min: 0.5,
@@ -22491,7 +22498,7 @@ const dy = { class: "signature-wrap" }, uy = { class: "signature-types" }, fy =
22491
22498
  ]),
22492
22499
  s0("div", null, [
22493
22500
  c[3] || (c[3] = s0("span", null, "画笔颜色:", -1)),
22494
- Q(u, {
22501
+ K(u, {
22495
22502
  modelValue: s.signOptions.penColor,
22496
22503
  "onUpdate:modelValue": c[1] || (c[1] = (w) => s.signOptions.penColor = w),
22497
22504
  "color-format": "hex",
@@ -22501,14 +22508,14 @@ const dy = { class: "signature-wrap" }, uy = { class: "signature-types" }, fy =
22501
22508
  ])
22502
22509
  ]),
22503
22510
  footer: L(() => [
22504
- Q(f, { onClick: l }, {
22511
+ K(f, { onClick: l }, {
22505
22512
  default: L(() => c[4] || (c[4] = [
22506
22513
  ge("取消")
22507
22514
  ])),
22508
22515
  _: 1,
22509
22516
  __: [4]
22510
22517
  }),
22511
- Q(f, {
22518
+ K(f, {
22512
22519
  type: "primary",
22513
22520
  onClick: r
22514
22521
  }, {
@@ -22527,7 +22534,7 @@ const dy = { class: "signature-wrap" }, uy = { class: "signature-types" }, fy =
22527
22534
  }, my = /* @__PURE__ */ A0(gy, [["__scopeId", "data-v-e409734b"]]), vy = /* @__PURE__ */ _2({
22528
22535
  __name: "index",
22529
22536
  setup(n) {
22530
- const e = N(null), t = async (i) => {
22537
+ const e = G(null), t = async (i) => {
22531
22538
  var s;
22532
22539
  i && (await x2(), (s = e.value) == null || s.update());
22533
22540
  };
@@ -22535,7 +22542,7 @@ const dy = { class: "signature-wrap" }, uy = { class: "signature-types" }, fy =
22535
22542
  const o = J("el-dropdown-menu"), l = J("el-dropdown");
22536
22543
  return x(), F(l, { onVisibleChange: t }, {
22537
22544
  dropdown: L(() => [
22538
- Q(o, null, {
22545
+ K(o, null, {
22539
22546
  default: L(() => [
22540
22547
  c0(i.$slots, "dropMenu")
22541
22548
  ]),
@@ -22578,9 +22585,9 @@ const dy = { class: "signature-wrap" }, uy = { class: "signature-types" }, fy =
22578
22585
  },
22579
22586
  !0
22580
22587
  );
22581
- const i = N(null);
22588
+ const i = G(null);
22582
22589
  let s;
22583
- const o = N([]), l = e, r = N(t.modelValue), a = N({
22590
+ const o = G([]), l = e, r = G(t.modelValue), a = G({
22584
22591
  theme: "snow",
22585
22592
  modules: {
22586
22593
  toolbar: [
@@ -22678,7 +22685,7 @@ const dy = { class: "signature-wrap" }, uy = { class: "signature-types" }, fy =
22678
22685
  }), f.on("text-change", function() {
22679
22686
  r.value = f.root.innerHTML, l("update:modelValue", r.value);
22680
22687
  });
22681
- }), (f, p) => (x(), E("div", wy, [
22688
+ }), (f, p) => (x(), B("div", wy, [
22682
22689
  s0("div", {
22683
22690
  ref_key: "quillEditorRef",
22684
22691
  ref: i,
@@ -22763,7 +22770,7 @@ const Sy = ["onDblclick"], Cy = {
22763
22770
  },
22764
22771
  emits: ["dblClick", "clickTrigger", "changeTrigger"],
22765
22772
  setup(n, { emit: e }) {
22766
- const t = n, i = e, s = N([]), o = N(""), l = (c) => ls(c), r = (c) => {
22773
+ const t = n, i = e, s = G([]), o = G(""), l = (c) => ls(c), r = (c) => {
22767
22774
  i("dblClick", c);
22768
22775
  }, a = (c) => {
22769
22776
  i("clickTrigger", c);
@@ -22786,19 +22793,19 @@ const Sy = ["onDblclick"], Cy = {
22786
22793
  "tab-position": t == null ? void 0 : t.tabPosition
22787
22794
  }, {
22788
22795
  default: L(() => [
22789
- (x(!0), E(C0, null, M0(s.value, (p, g) => (x(), F(u, {
22796
+ (x(!0), B(C0, null, M0(s.value, (p, g) => (x(), F(u, {
22790
22797
  key: g,
22791
22798
  name: p == null ? void 0 : p.value
22792
22799
  }, {
22793
22800
  label: L(() => {
22794
22801
  var v;
22795
22802
  return [
22796
- p != null && p.label ? (x(), E("div", {
22803
+ p != null && p.label ? (x(), B("div", {
22797
22804
  key: 0,
22798
22805
  onDblclick: (w) => r(p)
22799
- }, $0(p == null ? void 0 : p.label), 41, Sy)) : e0("", !0),
22800
- p != null && p.contents && ((v = p == null ? void 0 : p.contents) == null ? void 0 : v.length) > 0 ? (x(), E("div", Cy, [
22801
- (x(!0), E(C0, null, M0(p == null ? void 0 : p.contents, (w, y) => (x(), E("div", {
22806
+ }, $0(p == null ? void 0 : p.label), 41, Sy)) : t0("", !0),
22807
+ p != null && p.contents && ((v = p == null ? void 0 : p.contents) == null ? void 0 : v.length) > 0 ? (x(), B("div", Cy, [
22808
+ (x(!0), B(C0, null, M0(p == null ? void 0 : p.contents, (w, y) => (x(), B("div", {
22802
22809
  key: y,
22803
22810
  class: "tabs-children"
22804
22811
  }, [
@@ -22807,14 +22814,14 @@ const Sy = ["onDblclick"], Cy = {
22807
22814
  modelValue: w.value,
22808
22815
  "onUpdate:modelValue": (D) => w.value = D,
22809
22816
  content: (w == null ? void 0 : w.contents) ?? []
22810
- }, null, 8, ["modelValue", "onUpdate:modelValue", "content"])) : e0("", !0)
22817
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "content"])) : t0("", !0)
22811
22818
  ]))), 128))
22812
- ])) : e0("", !0),
22819
+ ])) : t0("", !0),
22813
22820
  c0(c.$slots, `${(p == null ? void 0 : p.value) ?? ""}_header`, {}, void 0, !0)
22814
22821
  ];
22815
22822
  }),
22816
22823
  default: L(() => [
22817
- (x(!0), E(C0, null, M0(p == null ? void 0 : p.children, (v, w) => (x(), E("div", {
22824
+ (x(!0), B(C0, null, M0(p == null ? void 0 : p.children, (v, w) => (x(), B("div", {
22818
22825
  key: w,
22819
22826
  class: "tabs-contents"
22820
22827
  }, [
@@ -22834,7 +22841,7 @@ const Sy = ["onDblclick"], Cy = {
22834
22841
  ]),
22835
22842
  key: "0"
22836
22843
  } : void 0
22837
- ]), 1064, ["modelValue", "onUpdate:modelValue", "content"])) : e0("", !0)
22844
+ ]), 1064, ["modelValue", "onUpdate:modelValue", "content"])) : t0("", !0)
22838
22845
  ]))), 128))
22839
22846
  ]),
22840
22847
  _: 2