ss-component-new 1.1.693 → 1.1.694

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 (56) hide show
  1. package/dist/{index-DaVcFmtW.cjs → index-3KbnXDaT.cjs} +1 -1
  2. package/dist/{index-BtOgrGi7.js → index-3okZjs5B.js} +1 -1
  3. package/dist/{index-56gpxrjZ.js → index-A-taUOit.js} +1 -1
  4. package/dist/{index-n5DJCJIN.cjs → index-BBSPbEbw.cjs} +1 -1
  5. package/dist/{index-W6RyI5Bk.js → index-BByN6sng.js} +2 -2
  6. package/dist/{index-BnE1Kqmy.cjs → index-BGnqSXsM.cjs} +1 -1
  7. package/dist/{index-C4wK0fQZ.js → index-BY6icLE5.js} +1 -1
  8. package/dist/{index-B2DvfJrb.cjs → index-BaenyMCV.cjs} +1 -1
  9. package/dist/{index-CboyS6Va.cjs → index-BcCP1oal.cjs} +1 -1
  10. package/dist/{index-BO3elsh-.cjs → index-BfpHmqEV.cjs} +1 -1
  11. package/dist/{index-Tg0diUmU.cjs → index-BgFmbRIH.cjs} +1 -1
  12. package/dist/{index-Huzr1vzU.js → index-BnRcpT_T.js} +1 -1
  13. package/dist/{index-DwwFJcHk.js → index-BxUQoC9Z.js} +4 -4
  14. package/dist/{index-9utM8s4g.cjs → index-CaRTRULq.cjs} +6 -6
  15. package/dist/{index-DwLmh7Dj.cjs → index-Cmhvuxao.cjs} +1 -1
  16. package/dist/{index-lGZhA_bZ.js → index-CoNDs5B_.js} +1 -1
  17. package/dist/{index-t1RvP68x.js → index-CqHNjQcE.js} +4 -4
  18. package/dist/{index-BVyl195w.js → index-Cqa_rbSi.js} +2 -2
  19. package/dist/{index-Dst9cxlJ.js → index-Cr0ZkdxV.js} +15 -15
  20. package/dist/{index-BGMKKTK2.js → index-CzRqJqyA.js} +2 -2
  21. package/dist/{index-BHNPpHu7.cjs → index-D1Z0idRA.cjs} +1 -1
  22. package/dist/{index-eK48WX6h.cjs → index-D6Qn8t_Y.cjs} +2 -2
  23. package/dist/{index-DgzqTQff.js → index-DNcULVa1.js} +3 -3
  24. package/dist/{index-CqVIXRaM.js → index-DU_gpFDl.js} +2 -2
  25. package/dist/{index-C3Vd_xjv.js → index-D_aaFuMD.js} +5 -5
  26. package/dist/{index-DM_JXQfT.cjs → index-DbUTgcpC.cjs} +1 -1
  27. package/dist/{index-DD8danbv.js → index-DiasHZKs.js} +1 -1
  28. package/dist/{index-7SymWlke.cjs → index-RFdUIF3u.cjs} +1 -1
  29. package/dist/{index-Dq-Clg0f.js → index-Rg7QR0ET.js} +240 -240
  30. package/dist/{index-CUwxGU65.cjs → index-YTgiRG5n.cjs} +1 -1
  31. package/dist/{index-DCFyDsxb.cjs → index-f5HYi-wc.cjs} +1 -1
  32. package/dist/{index-7VP49GUN.cjs → index-kfJONCM6.cjs} +1 -1
  33. package/dist/{index-TjTRoHph.cjs → index-l1qJOF-L.cjs} +1 -1
  34. package/dist/{index-DVgJBRb_.js → index-x_O_YF4W.js} +2 -2
  35. package/dist/{index.vue_vue_type_script_setup_true_lang-CYRs-sk0.cjs → index.vue_vue_type_script_setup_true_lang-DF9XGIz3.cjs} +1 -1
  36. package/dist/{index.vue_vue_type_script_setup_true_lang-DCR5UXCh.js → index.vue_vue_type_script_setup_true_lang-LHENnk2N.js} +1 -1
  37. package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CU7QBR_x.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-C1DluSxa.cjs} +76 -76
  38. package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-in36Ors1.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CwuI0Ee7.js} +5297 -5274
  39. package/dist/{index.vue_vue_type_style_index_0_scoped_2be0f146_lang-D85TtKdn.js → index.vue_vue_type_style_index_0_scoped_8606206c_lang-BRe0ZOKp.js} +209 -205
  40. package/dist/{index.vue_vue_type_style_index_0_scoped_2be0f146_lang-BbfrGQV7.cjs → index.vue_vue_type_style_index_0_scoped_8606206c_lang-D2FKUBBW.cjs} +2 -2
  41. package/dist/{index.vue_vue_type_style_index_0_scoped_c81d0427_lang-h9gYtPJ5.cjs → index.vue_vue_type_style_index_0_scoped_c81d0427_lang-CJTS3KF1.cjs} +1 -1
  42. package/dist/{index.vue_vue_type_style_index_0_scoped_c81d0427_lang-Bsw7WEwx.js → index.vue_vue_type_style_index_0_scoped_c81d0427_lang-DTtvCDfz.js} +4 -4
  43. package/dist/{main-DIzUbAUx.cjs → main-DYdqysWL.cjs} +1 -1
  44. package/dist/{main-CzmuIr4M.js → main-KZ_ESpJb.js} +2 -2
  45. package/dist/obj/model.mtl +42 -0
  46. package/dist/obj/model.obj +26110 -0
  47. package/dist/ss-component.cjs +1 -1
  48. package/dist/ss-component.css +2 -2
  49. package/dist/ss-component.js +7 -7
  50. package/dist/ss-component2.cjs +1 -1
  51. package/dist/ss-component2.js +8 -8
  52. package/dist/{threeModel-CKedZjkc.cjs → threeModel-D4XEOs2e.cjs} +1 -1
  53. package/dist/{threeModel-DZOhVXaf.js → threeModel-TwH55MhO.js} +1 -1
  54. package/package.json +1 -1
  55. package/public/obj/model.mtl +42 -0
  56. package/public/obj/model.obj +26110 -0
@@ -1,11 +1,11 @@
1
- import { ref as $, resolveComponent as F, createBlock as G, openBlock as C, createCommentVNode as te, defineComponent as kt, onMounted as Kt, withCtx as V, createVNode as q, createElementVNode as K, createElementBlock as B, Fragment as pe, renderList as ve, createTextVNode as Et, toDisplayString as Ee, watch as ct, normalizeStyle as ze, unref as S0, createSlots as jt, resolveDynamicComponent as w2, normalizeClass as Fl, nextTick as b0, renderSlot as se, normalizeProps as qa, guardReactiveProps as Ya, mergeProps as L2, reactive as Us, computed as oe, withDirectives as Vo, withModifiers as Ka, vShow as Eo, watchEffect as G0, onUnmounted as nn, h as Bo, onBeforeUnmount as Xa, toRefs as Qa } from "vue";
1
+ import { ref as $, resolveComponent as F, createBlock as G, openBlock as C, createCommentVNode as ie, defineComponent as kt, onMounted as Kt, withCtx as V, createVNode as q, createElementVNode as K, createElementBlock as E, Fragment as pe, renderList as ve, createTextVNode as Et, toDisplayString as Ee, watch as ct, normalizeStyle as ze, unref as S0, createSlots as jt, resolveDynamicComponent as w2, normalizeClass as Fl, nextTick as b0, renderSlot as se, normalizeProps as qa, guardReactiveProps as Ya, mergeProps as L2, reactive as Us, computed as oe, withDirectives as Vo, withModifiers as Ka, vShow as Eo, watchEffect as G0, onUnmounted as nn, h as Bo, onBeforeUnmount as Xa, toRefs as Qa } from "vue";
2
2
  import { S as Lo } from "./index-BHtNKL1L.js";
3
- import { h as Ro, Z as Io, T as Ja, _ as Za, $ as ec, a0 as Ho, a1 as No } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-in36Ors1.js";
3
+ import { h as Ro, Z as Io, T as Ja, _ as Za, $ as ec, a0 as Ho, a1 as No } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CwuI0Ee7.js";
4
4
  import { _ as Se } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
5
  import { c as xt, p as tc, u as ic, s as nc } from "./menu-C0-tjFtV.js";
6
6
  import { bp as sc, bq as oc, s as sn, E as jl, bt as rc, bL as lc, aB as ac, ad as cc } from "./index-BQbrejA1.js";
7
7
  import { u as hc } from "./modelComp-ulXkhiT8.js";
8
- import { _ as uc } from "./index.vue_vue_type_script_setup_true_lang-DCR5UXCh.js";
8
+ import { _ as uc } from "./index.vue_vue_type_script_setup_true_lang-LHENnk2N.js";
9
9
  var dc = "[object Number]";
10
10
  function $o(n) {
11
11
  return typeof n == "number" || sc(n) && oc(n) == dc;
@@ -62,7 +62,7 @@ const fc = {
62
62
  const e = n, t = $(e.value);
63
63
  return (i, s) => {
64
64
  const o = F("el-input");
65
- return Array.isArray(t.value) ? te("", !0) : (C(), G(o, {
65
+ return Array.isArray(t.value) ? ie("", !0) : (C(), G(o, {
66
66
  key: 0,
67
67
  modelValue: t.value,
68
68
  "onUpdate:modelValue": s[0] || (s[0] = (r) => t.value = r),
@@ -476,7 +476,7 @@ const W8 = { class: "icon-popover" }, G8 = ["onClick"], F8 = /* @__PURE__ */ kt(
476
476
  }, {
477
477
  default: V(() => [
478
478
  K("div", W8, [
479
- (C(!0), B(pe, null, ve(r.value, (p, g) => (C(), B("div", {
479
+ (C(!0), E(pe, null, ve(r.value, (p, g) => (C(), E("div", {
480
480
  key: g,
481
481
  class: "icon-wrap",
482
482
  onClick: (m) => h(p)
@@ -723,7 +723,7 @@ const W8 = { class: "icon-popover" }, G8 = ["onClick"], F8 = /* @__PURE__ */ kt(
723
723
  ), (b, y) => {
724
724
  var k;
725
725
  const _ = F("el-form-item"), x = F("el-form"), S = F("el-button");
726
- return C(), B("div", {
726
+ return C(), E("div", {
727
727
  class: "form-content",
728
728
  style: ze({ flexDirection: n.isButtonRow ? "row" : "column" })
729
729
  }, [
@@ -739,16 +739,16 @@ const W8 = { class: "icon-popover" }, G8 = ["onClick"], F8 = /* @__PURE__ */ kt(
739
739
  default: V(() => {
740
740
  var T, z;
741
741
  return [
742
- (T = b.item) != null && T.isFormColHidden ? te("", !0) : (C(!0), B(pe, { key: 0 }, ve(S0(xt)(t == null ? void 0 : t.rowContents), (w, j) => (C(), G(_, {
742
+ (T = b.item) != null && T.isFormColHidden ? ie("", !0) : (C(!0), E(pe, { key: 0 }, ve(S0(xt)(t == null ? void 0 : t.rowContents), (w, j) => (C(), G(_, {
743
743
  key: j,
744
744
  class: "form-item",
745
745
  prop: (w == null ? void 0 : w.prop) ?? (w == null ? void 0 : w.name),
746
746
  style: ze({ flexDirection: n.isRowFlex ? "row" : "column", alignItems: n.isRowFlex ? "center" : "start", height: n.isRowFlex ? "100%" : "auto" })
747
747
  }, jt({
748
748
  default: V(() => {
749
- var W, Q, J, ie, ye;
749
+ var W, Q, J, ne, ye;
750
750
  return [
751
- w != null && w.isFormColHidden ? te("", !0) : (C(), G(w2(h((w == null ? void 0 : w.type) ?? "Input")), {
751
+ w != null && w.isFormColHidden ? ie("", !0) : (C(), G(w2(h((w == null ? void 0 : w.type) ?? "Input")), {
752
752
  modelValue: l.value[(w == null ? void 0 : w.prop) ?? (w == null ? void 0 : w.name)],
753
753
  "onUpdate:modelValue": (fe) => l.value[(w == null ? void 0 : w.prop) ?? (w == null ? void 0 : w.name)] = fe,
754
754
  key: w == null ? void 0 : w.type,
@@ -761,12 +761,12 @@ const W8 = { class: "icon-popover" }, G8 = ["onClick"], F8 = /* @__PURE__ */ kt(
761
761
  onBlurChange: (fe) => f((w == null ? void 0 : w.prop) ?? (w == null ? void 0 : w.name)),
762
762
  config: w == null ? void 0 : w.config
763
763
  }, null, 40, ["modelValue", "onUpdate:modelValue", "content", "isEdit", "optionUrl", "onBlurChange", "config"])),
764
- typeof l.value[(w == null ? void 0 : w.prop) ?? w.name] == "string" && ((W = l.value[(w == null ? void 0 : w.prop) ?? w.name]) != null && W.includes(".stl") || (Q = l.value[(w == null ? void 0 : w.prop) ?? w.name]) != null && Q.includes(".obj") || (J = l.value[(w == null ? void 0 : w.prop) ?? w.name]) != null && J.includes(".urdf") || (ie = l.value[(w == null ? void 0 : w.prop) ?? w.name]) != null && ie.includes(".STL") || (ye = l.value[(w == null ? void 0 : w.prop) ?? w.name]) != null && ye.includes(".ls")) ? (C(), G(b2, {
764
+ typeof l.value[(w == null ? void 0 : w.prop) ?? w.name] == "string" && ((W = l.value[(w == null ? void 0 : w.prop) ?? w.name]) != null && W.includes(".stl") || (Q = l.value[(w == null ? void 0 : w.prop) ?? w.name]) != null && Q.includes(".obj") || (J = l.value[(w == null ? void 0 : w.prop) ?? w.name]) != null && J.includes(".urdf") || (ne = l.value[(w == null ? void 0 : w.prop) ?? w.name]) != null && ne.includes(".STL") || (ye = l.value[(w == null ? void 0 : w.prop) ?? w.name]) != null && ye.includes(".ls")) ? (C(), G(b2, {
765
765
  key: 1,
766
766
  class: "calculator-content form-preview",
767
767
  onClickTrigger: (fe) => u(l.value[(w == null ? void 0 : w.prop) ?? w.name]),
768
768
  modelValue: "预览"
769
- }, null, 8, ["onClickTrigger"])) : te("", !0)
769
+ }, null, 8, ["onClickTrigger"])) : ie("", !0)
770
770
  ];
771
771
  }),
772
772
  _: 2
@@ -774,34 +774,34 @@ const W8 = { class: "icon-popover" }, G8 = ["onClick"], F8 = /* @__PURE__ */ kt(
774
774
  w != null && w.isFormColHidden ? void 0 : {
775
775
  name: "label",
776
776
  fn: V(() => [
777
- w != null && w.label ? (C(), B("div", {
777
+ w != null && w.label ? (C(), E("div", {
778
778
  key: 0,
779
779
  class: "from-item-label",
780
780
  style: ze({ width: n.isRowFlex ? "72px" : "260px", minWidth: n.isRowFlex ? "72px" : "260px" })
781
781
  }, [
782
782
  K("div", X8, Ee(w == null ? void 0 : w.label), 1)
783
- ], 4)) : te("", !0)
783
+ ], 4)) : ie("", !0)
784
784
  ]),
785
785
  key: "0"
786
786
  }
787
787
  ]), 1032, ["prop", "style"]))), 128)),
788
- ((z = t.buttonValue) == null ? void 0 : z.length) > 0 && n.isButtonRow ? (C(), B("div", {
788
+ ((z = t.buttonValue) == null ? void 0 : z.length) > 0 && n.isButtonRow ? (C(), E("div", {
789
789
  key: 1,
790
790
  class: "form-button",
791
791
  style: ze({ paddingTop: n.isRowFlex ? "0" : "26px", justifyContent: n.isStartJustify ? "start" : "end" })
792
792
  }, [
793
- (C(!0), B(pe, null, ve(t == null ? void 0 : t.buttonValue, (w, j) => (C(), B("div", {
793
+ (C(!0), E(pe, null, ve(t == null ? void 0 : t.buttonValue, (w, j) => (C(), E("div", {
794
794
  key: j,
795
795
  class: "form-button-content"
796
796
  }, [
797
- w ? (C(), B("div", {
797
+ w ? (C(), E("div", {
798
798
  key: 0,
799
799
  class: "form-button-item",
800
800
  style: ze({ background: (w == null ? void 0 : w.background) ?? "var(--ssComponent-primary-color)" }),
801
801
  onClick: (W) => v(w == null ? void 0 : w.label, s.value)
802
- }, Ee(w == null ? void 0 : w.label), 13, Q8)) : te("", !0)
802
+ }, Ee(w == null ? void 0 : w.label), 13, Q8)) : ie("", !0)
803
803
  ]))), 128))
804
- ], 4)) : te("", !0)
804
+ ], 4)) : ie("", !0)
805
805
  ];
806
806
  }),
807
807
  _: 1
@@ -816,7 +816,7 @@ const W8 = { class: "icon-popover" }, G8 = ["onClick"], F8 = /* @__PURE__ */ kt(
816
816
  default: V(() => {
817
817
  var T, z;
818
818
  return [
819
- (T = b.item) != null && T.isFormColHidden ? te("", !0) : (C(!0), B(pe, { key: 0 }, ve(S0(xt)(t == null ? void 0 : t.rowContents), (w, j) => (C(), G(_, {
819
+ (T = b.item) != null && T.isFormColHidden ? ie("", !0) : (C(!0), E(pe, { key: 0 }, ve(S0(xt)(t == null ? void 0 : t.rowContents), (w, j) => (C(), G(_, {
820
820
  key: j,
821
821
  class: Fl(["form-item", { "form-row-content": !n.isRowFlex }]),
822
822
  prop: (w == null ? void 0 : w.prop) ?? (w == null ? void 0 : w.name),
@@ -829,9 +829,9 @@ const W8 = { class: "icon-popover" }, G8 = ["onClick"], F8 = /* @__PURE__ */ kt(
829
829
  })
830
830
  }, jt({
831
831
  default: V(() => {
832
- var W, Q, J, ie, ye;
832
+ var W, Q, J, ne, ye;
833
833
  return [
834
- w != null && w.isFormColHidden ? te("", !0) : (C(), G(w2(h((w == null ? void 0 : w.type) ?? "Input")), {
834
+ w != null && w.isFormColHidden ? ie("", !0) : (C(), G(w2(h((w == null ? void 0 : w.type) ?? "Input")), {
835
835
  modelValue: l.value[(w == null ? void 0 : w.prop) ?? (w == null ? void 0 : w.name)],
836
836
  "onUpdate:modelValue": (fe) => l.value[(w == null ? void 0 : w.prop) ?? (w == null ? void 0 : w.name)] = fe,
837
837
  isEdit: t == null ? void 0 : t.isEdit,
@@ -844,12 +844,12 @@ const W8 = { class: "icon-popover" }, G8 = ["onClick"], F8 = /* @__PURE__ */ kt(
844
844
  onBlurChange: (fe) => f((w == null ? void 0 : w.prop) ?? (w == null ? void 0 : w.name)),
845
845
  config: w == null ? void 0 : w.config
846
846
  }, null, 40, ["modelValue", "onUpdate:modelValue", "isEdit", "content", "optionUrl", "onBlurChange", "config"])),
847
- typeof l.value[(w == null ? void 0 : w.prop) ?? w.name] == "string" && ((W = l.value[(w == null ? void 0 : w.prop) ?? w.name]) != null && W.includes(".stl") || (Q = l.value[(w == null ? void 0 : w.prop) ?? w.name]) != null && Q.includes(".obj") || (J = l.value[(w == null ? void 0 : w.prop) ?? w.name]) != null && J.includes(".urdf") || (ie = l.value[(w == null ? void 0 : w.prop) ?? w.name]) != null && ie.includes(".STL") || (ye = l.value[(w == null ? void 0 : w.prop) ?? w.name]) != null && ye.includes(".ls")) ? (C(), G(b2, {
847
+ typeof l.value[(w == null ? void 0 : w.prop) ?? w.name] == "string" && ((W = l.value[(w == null ? void 0 : w.prop) ?? w.name]) != null && W.includes(".stl") || (Q = l.value[(w == null ? void 0 : w.prop) ?? w.name]) != null && Q.includes(".obj") || (J = l.value[(w == null ? void 0 : w.prop) ?? w.name]) != null && J.includes(".urdf") || (ne = l.value[(w == null ? void 0 : w.prop) ?? w.name]) != null && ne.includes(".STL") || (ye = l.value[(w == null ? void 0 : w.prop) ?? w.name]) != null && ye.includes(".ls")) ? (C(), G(b2, {
848
848
  key: 1,
849
849
  class: "calculator-content form-preview",
850
850
  onClickTrigger: (fe) => u(l.value[(w == null ? void 0 : w.prop) ?? w.name]),
851
851
  modelValue: "预览"
852
- }, null, 8, ["onClickTrigger"])) : te("", !0)
852
+ }, null, 8, ["onClickTrigger"])) : ie("", !0)
853
853
  ];
854
854
  }),
855
855
  _: 2
@@ -857,45 +857,45 @@ const W8 = { class: "icon-popover" }, G8 = ["onClick"], F8 = /* @__PURE__ */ kt(
857
857
  w != null && w.isFormColHidden ? void 0 : {
858
858
  name: "label",
859
859
  fn: V(() => [
860
- w != null && w.label ? (C(), B("div", {
860
+ w != null && w.label ? (C(), E("div", {
861
861
  key: 0,
862
862
  class: "from-item-label",
863
863
  style: ze({ width: n.isRowFlex ? "72px" : "auto", minWidth: n.isRowFlex ? "72px" : `calc((100% / ${(w == null ? void 0 : w.width) ?? 1}) - 8px)` })
864
864
  }, [
865
865
  K("div", J8, Ee(w == null ? void 0 : w.label), 1)
866
- ], 4)) : te("", !0)
866
+ ], 4)) : ie("", !0)
867
867
  ]),
868
868
  key: "0"
869
869
  }
870
870
  ]), 1032, ["prop", "class", "style"]))), 128)),
871
- ((z = t.buttonValue) == null ? void 0 : z.length) > 0 && n.isButtonRow ? (C(), B("div", {
871
+ ((z = t.buttonValue) == null ? void 0 : z.length) > 0 && n.isButtonRow ? (C(), E("div", {
872
872
  key: 1,
873
873
  class: "form-button",
874
874
  style: ze({ paddingTop: n.isRowFlex ? "0" : "26px", justifyContent: n.isStartJustify ? "start" : "end" })
875
875
  }, [
876
- (C(!0), B(pe, null, ve(t == null ? void 0 : t.buttonValue, (w, j) => (C(), B("div", {
876
+ (C(!0), E(pe, null, ve(t == null ? void 0 : t.buttonValue, (w, j) => (C(), E("div", {
877
877
  key: j,
878
878
  class: "form-button-content"
879
879
  }, [
880
- w ? (C(), B("div", {
880
+ w ? (C(), E("div", {
881
881
  key: 0,
882
882
  class: "form-button-item",
883
883
  style: ze({ background: (w == null ? void 0 : w.background) ?? "var(--ssComponent-primary-color)" }),
884
884
  onClick: (W) => v(w == null ? void 0 : w.label, o.value)
885
- }, Ee(w == null ? void 0 : w.label), 13, Z8)) : te("", !0)
885
+ }, Ee(w == null ? void 0 : w.label), 13, Z8)) : ie("", !0)
886
886
  ]))), 128))
887
- ], 4)) : te("", !0)
887
+ ], 4)) : ie("", !0)
888
888
  ];
889
889
  }),
890
890
  _: 1
891
891
  }, 8, ["model", "rules"]))
892
892
  ]),
893
- ((k = t.buttonValue) == null ? void 0 : k.length) > 0 && !n.isButtonRow ? (C(), B("div", {
893
+ ((k = t.buttonValue) == null ? void 0 : k.length) > 0 && !n.isButtonRow ? (C(), E("div", {
894
894
  key: 0,
895
895
  class: "form-button",
896
896
  style: ze({ justifyContent: n.isStartJustify ? "start" : "end" })
897
897
  }, [
898
- (C(!0), B(pe, null, ve(t == null ? void 0 : t.buttonValue, (T, z) => (C(), B("div", {
898
+ (C(!0), E(pe, null, ve(t == null ? void 0 : t.buttonValue, (T, z) => (C(), E("div", {
899
899
  key: z,
900
900
  class: "form-button-content",
901
901
  onClick: (w) => v(T == null ? void 0 : T.label, t.isEnableWrap ? s.value : o.value)
@@ -910,7 +910,7 @@ const W8 = { class: "icon-popover" }, G8 = ["onClick"], F8 = /* @__PURE__ */ kt(
910
910
  _: 2
911
911
  }, 1032, ["style"])
912
912
  ], 8, eu))), 128))
913
- ], 4)) : te("", !0)
913
+ ], 4)) : ie("", !0)
914
914
  ], 4);
915
915
  };
916
916
  }
@@ -981,7 +981,7 @@ const W8 = { class: "icon-popover" }, G8 = ["onClick"], F8 = /* @__PURE__ */ kt(
981
981
  onChange: l[1] || (l[1] = (c) => o(c))
982
982
  }, {
983
983
  default: V(() => [
984
- (C(!0), B(pe, null, ve(t.content, (c, u) => (C(), G(a, {
984
+ (C(!0), E(pe, null, ve(t.content, (c, u) => (C(), G(a, {
985
985
  key: u,
986
986
  label: c.value
987
987
  }, {
@@ -1031,7 +1031,7 @@ const W8 = { class: "icon-popover" }, G8 = ["onClick"], F8 = /* @__PURE__ */ kt(
1031
1031
  onChange: l[1] || (l[1] = (c) => o(c))
1032
1032
  }, {
1033
1033
  default: V(() => [
1034
- (C(!0), B(pe, null, ve(n.content, (c) => (C(), G(a, {
1034
+ (C(!0), E(pe, null, ve(n.content, (c) => (C(), G(a, {
1035
1035
  key: c.label,
1036
1036
  label: c.label,
1037
1037
  value: c.label,
@@ -1125,7 +1125,7 @@ const hu = /* @__PURE__ */ Se(au, [["render", cu]]), uu = { class: "extra-button
1125
1125
  s(t.columns);
1126
1126
  },
1127
1127
  { deep: !0, immediate: !0 }
1128
- ), (o, r) => (C(), B("div", uu, [
1128
+ ), (o, r) => (C(), E("div", uu, [
1129
1129
  se(o.$slots, "headerButton", {}, void 0, !0)
1130
1130
  ]));
1131
1131
  }
@@ -1141,7 +1141,7 @@ const hu = /* @__PURE__ */ Se(au, [["render", cu]]), uu = { class: "extra-button
1141
1141
  return (e, t) => {
1142
1142
  var l, a, h, c, u, d, f, p, g, m;
1143
1143
  const i = F("svg-icon"), s = F("el-tooltip"), o = F("RecurseCol", !0), r = F("el-table-column");
1144
- return n.column.isHidden ? te("", !0) : (C(), G(r, {
1144
+ return n.column.isHidden ? ie("", !0) : (C(), G(r, {
1145
1145
  key: 0,
1146
1146
  label: n.column.label,
1147
1147
  prop: n.column.prop,
@@ -1154,7 +1154,7 @@ const hu = /* @__PURE__ */ Se(au, [["render", cu]]), uu = { class: "extra-button
1154
1154
  "class-name": (((m = n.column) == null ? void 0 : m.isNotDrag) ?? !1) === !0 ? "is-not-drag" : "is-drag"
1155
1155
  }, {
1156
1156
  header: V(() => [
1157
- n.column.label !== "操作" ? (C(), B("span", pu, Ee(n.column.label), 1)) : (C(), G(s, {
1157
+ n.column.label !== "操作" ? (C(), E("span", pu, Ee(n.column.label), 1)) : (C(), G(s, {
1158
1158
  key: 1,
1159
1159
  content: "操作",
1160
1160
  placement: "left-start",
@@ -1175,7 +1175,7 @@ const hu = /* @__PURE__ */ Se(au, [["render", cu]]), uu = { class: "extra-button
1175
1175
  column: v.column,
1176
1176
  $index: v.$index
1177
1177
  }),
1178
- (C(!0), B(pe, null, ve(n.column.children, (b, y) => (C(), G(o, {
1178
+ (C(!0), E(pe, null, ve(n.column.children, (b, y) => (C(), G(o, {
1179
1179
  key: y,
1180
1180
  column: b
1181
1181
  }, jt({ _: 2 }, [
@@ -1207,7 +1207,7 @@ const hu = /* @__PURE__ */ Se(au, [["render", cu]]), uu = { class: "extra-button
1207
1207
  return (e, t) => {
1208
1208
  var s, o, r, l, a, h, c, u, d, f;
1209
1209
  const i = F("el-table-column");
1210
- return n.column.isTableColHidden ? te("", !0) : (C(), G(i, {
1210
+ return n.column.isTableColHidden ? ie("", !0) : (C(), G(i, {
1211
1211
  key: 0,
1212
1212
  label: n.column.label,
1213
1213
  prop: n.column.prop,
@@ -1220,7 +1220,7 @@ const hu = /* @__PURE__ */ Se(au, [["render", cu]]), uu = { class: "extra-button
1220
1220
  "class-name": ((d = n.column) == null ? void 0 : d.prop) === "operate" ? "action" : (((f = n.column) == null ? void 0 : f.isNotDrag) ?? !1) === !0 ? "is-not-drag" : "is-drag"
1221
1221
  }, {
1222
1222
  header: V(() => [
1223
- n.column.label !== "操作" ? (C(), B("span", {
1223
+ n.column.label !== "操作" ? (C(), E("span", {
1224
1224
  key: 0,
1225
1225
  title: n.column.label
1226
1226
  }, Ee(n.column.label), 9, mu)) : se(e.$slots, "operateHeader", { key: 1 })
@@ -1232,7 +1232,7 @@ const hu = /* @__PURE__ */ Se(au, [["render", cu]]), uu = { class: "extra-button
1232
1232
  $index: p.$index,
1233
1233
  scope: p
1234
1234
  }),
1235
- (C(!0), B(pe, null, ve(n.column.children, (g, m) => (C(), G(gu, {
1235
+ (C(!0), E(pe, null, ve(n.column.children, (g, m) => (C(), G(gu, {
1236
1236
  key: m,
1237
1237
  column: g
1238
1238
  }, jt({ _: 2 }, [
@@ -1335,42 +1335,42 @@ const bu = { class: "table-content-show" }, xu = {
1335
1335
  Kt(() => {
1336
1336
  var M;
1337
1337
  r.value = t == null ? void 0 : t.columns, l.value = (M = t == null ? void 0 : t.tableData) == null ? void 0 : M.map((H) => {
1338
- var ne;
1339
- let E = {};
1338
+ var ee;
1339
+ let L = {};
1340
1340
  for (let Y in H)
1341
- E[Y] = $o(H[Y]) && H[Y] === 0 ? (ne = H[Y]) == null ? void 0 : ne.toString() : H[Y];
1342
- return E;
1343
- }), ie(), fe(), document.addEventListener("click", () => {
1341
+ L[Y] = $o(H[Y]) && H[Y] === 0 ? (ee = H[Y]) == null ? void 0 : ee.toString() : H[Y];
1342
+ return L;
1343
+ }), ne(), fe(), document.addEventListener("click", () => {
1344
1344
  i.value = !1;
1345
1345
  });
1346
1346
  });
1347
1347
  const d = oe(() => {
1348
1348
  var M;
1349
1349
  return (M = t == null ? void 0 : t.extraButton) == null ? void 0 : M.filter((H) => {
1350
- var E;
1351
- return !((E = H == null ? void 0 : H.label) != null && E.includes("批量"));
1350
+ var L;
1351
+ return !((L = H == null ? void 0 : H.label) != null && L.includes("批量"));
1352
1352
  });
1353
1353
  }), f = oe(() => {
1354
1354
  var M;
1355
1355
  return (M = t == null ? void 0 : t.extraButton) == null ? void 0 : M.filter((H) => {
1356
- var E;
1357
- return (E = H == null ? void 0 : H.label) == null ? void 0 : E.includes("批量");
1356
+ var L;
1357
+ return (L = H == null ? void 0 : H.label) == null ? void 0 : L.includes("批量");
1358
1358
  });
1359
- }), p = $(0), g = (M, H, E) => {
1359
+ }), p = $(0), g = (M, H, L) => {
1360
1360
  p.value = M == null ? void 0 : M.id;
1361
- }, m = (M, H, E) => {
1361
+ }, m = (M, H, L) => {
1362
1362
  p.value = 0;
1363
- }, v = (M, H, E) => {
1364
- u("cellChange", H, E, M);
1363
+ }, v = (M, H, L) => {
1364
+ u("cellChange", H, L, M);
1365
1365
  }, b = (M) => {
1366
1366
  u("selectChange", M);
1367
- }, y = (M, H, E, ne) => oe(() => {
1368
- var _e, A, be, ge, N, ee, ce, Te, Ue, Re;
1369
- let Y = M != null && M[H == null ? void 0 : H.prop] ? ((A = (_e = M == null ? void 0 : M[H == null ? void 0 : H.prop]) == null ? void 0 : _e[0]) == null ? void 0 : A.contents) ?? (M == null ? void 0 : M[H == null ? void 0 : H.prop]) : ((ge = (be = M == null ? void 0 : M[E == null ? void 0 : E.prop]) == null ? void 0 : be[0]) == null ? void 0 : ge.contents) ?? (M == null ? void 0 : M[E == null ? void 0 : E.prop]) ?? ((ee = (N = ne == null ? void 0 : ne[E == null ? void 0 : E.prop]) == null ? void 0 : N[0]) == null ? void 0 : ee.contents) ?? (ne == null ? void 0 : ne[E == null ? void 0 : E.prop]) ?? ((Ue = (Te = M == null ? void 0 : M[(ce = E == null ? void 0 : E.child) == null ? void 0 : ce.prop]) == null ? void 0 : Te[0]) == null ? void 0 : Ue.contents) ?? (M == null ? void 0 : M[(Re = E == null ? void 0 : E.child) == null ? void 0 : Re.prop]);
1367
+ }, y = (M, H, L, ee) => oe(() => {
1368
+ var _e, A, be, ge, N, te, ce, Te, Ue, Re;
1369
+ let Y = M != null && M[H == null ? void 0 : H.prop] ? ((A = (_e = M == null ? void 0 : M[H == null ? void 0 : H.prop]) == null ? void 0 : _e[0]) == null ? void 0 : A.contents) ?? (M == null ? void 0 : M[H == null ? void 0 : H.prop]) : ((ge = (be = M == null ? void 0 : M[L == null ? void 0 : L.prop]) == null ? void 0 : be[0]) == null ? void 0 : ge.contents) ?? (M == null ? void 0 : M[L == null ? void 0 : L.prop]) ?? ((te = (N = ee == null ? void 0 : ee[L == null ? void 0 : L.prop]) == null ? void 0 : N[0]) == null ? void 0 : te.contents) ?? (ee == null ? void 0 : ee[L == null ? void 0 : L.prop]) ?? ((Ue = (Te = M == null ? void 0 : M[(ce = L == null ? void 0 : L.child) == null ? void 0 : ce.prop]) == null ? void 0 : Te[0]) == null ? void 0 : Ue.contents) ?? (M == null ? void 0 : M[(Re = L == null ? void 0 : L.child) == null ? void 0 : Re.prop]);
1370
1370
  return Array.isArray(Y) && !(Y != null && Y.every((Ie) => typeof Ie == "string" || typeof Ie == "number")) ? "查看" : Y;
1371
- }), _ = (M, H, E, ne) => {
1371
+ }), _ = (M, H, L, ee) => {
1372
1372
  var Y, _e, A, be;
1373
- s.value = void 0, ((Y = E.innerText) != null && Y.includes(".urdf") || (_e = E.innerText) != null && _e.includes(".stl") || (A = E.innerText) != null && A.includes(".obj") || (be = E.innerText) != null && be.includes(".STL")) && (o.x = ne.clientX, o.y = ne.clientY, i.value = !0, s.value = E.innerText);
1373
+ s.value = void 0, ((Y = L.innerText) != null && Y.includes(".urdf") || (_e = L.innerText) != null && _e.includes(".stl") || (A = L.innerText) != null && A.includes(".obj") || (be = L.innerText) != null && be.includes(".STL")) && (o.x = ee.clientX, o.y = ee.clientY, i.value = !0, s.value = L.innerText);
1374
1374
  }, x = () => {
1375
1375
  s.value && u("preview", {
1376
1376
  row: s.value,
@@ -1389,11 +1389,11 @@ const bu = { class: "table-content-show" }, xu = {
1389
1389
  () => {
1390
1390
  var M;
1391
1391
  l.value = (M = t == null ? void 0 : t.tableData) == null ? void 0 : M.map((H) => {
1392
- var ne;
1393
- let E = {};
1392
+ var ee;
1393
+ let L = {};
1394
1394
  for (let Y in H)
1395
- E[Y] = $o(H[Y]) && H[Y] === 0 ? (ne = H[Y]) == null ? void 0 : ne.toString() : H[Y];
1396
- return E;
1395
+ L[Y] = $o(H[Y]) && H[Y] === 0 ? (ee = H[Y]) == null ? void 0 : ee.toString() : H[Y];
1396
+ return L;
1397
1397
  });
1398
1398
  },
1399
1399
  { deep: !0 }
@@ -1408,9 +1408,9 @@ const bu = { class: "table-content-show" }, xu = {
1408
1408
  u("fixRow", M);
1409
1409
  }, Q = (M) => {
1410
1410
  u("deleteRow", M);
1411
- }, J = (M, H, E, ne) => {
1412
- u("contentClick", M, H, E, ne);
1413
- }, ie = () => {
1411
+ }, J = (M, H, L, ee) => {
1412
+ u("contentClick", M, H, L, ee);
1413
+ }, ne = () => {
1414
1414
  var H;
1415
1415
  const M = (H = h.value) == null ? void 0 : H.$el.querySelector(".el-table__header-wrapper tr");
1416
1416
  !M || !t.isMoveColumn || Io.create(M, {
@@ -1418,12 +1418,12 @@ const bu = { class: "table-content-show" }, xu = {
1418
1418
  delay: 0,
1419
1419
  handle: ".is-drag .cell",
1420
1420
  // 可拖拽区域为单元格
1421
- onMove: (E) => !E.related.classList.contains("is-not-drag"),
1422
- onEnd: (E) => {
1421
+ onMove: (L) => !L.related.classList.contains("is-not-drag"),
1422
+ onEnd: (L) => {
1423
1423
  a.value++;
1424
- const ne = E.oldIndex, Y = E.newIndex, _e = r.value.splice(ne, 1)[0];
1424
+ const ee = L.oldIndex - 3, Y = L.newIndex - 3, _e = r.value.splice(ee, 1)[0];
1425
1425
  r.value.splice(Y, 0, _e), t.isMoveColumn && b0(() => {
1426
- ie(), fe();
1426
+ ne(), fe();
1427
1427
  });
1428
1428
  }
1429
1429
  });
@@ -1432,7 +1432,7 @@ const bu = { class: "table-content-show" }, xu = {
1432
1432
  () => t.isMoveColumn,
1433
1433
  () => {
1434
1434
  t.isMoveColumn && b0(() => {
1435
- ie(), fe();
1435
+ ne(), fe();
1436
1436
  });
1437
1437
  }
1438
1438
  );
@@ -1443,43 +1443,43 @@ const bu = { class: "table-content-show" }, xu = {
1443
1443
  animation: 150,
1444
1444
  handle: ".custom-drag-icon",
1445
1445
  ghostClass: "sortable-ghost",
1446
- onEnd: ({ newIndex: E, oldIndex: ne }) => {
1447
- const Y = [...l.value], [_e] = Y.splice(ne, 1);
1448
- Y.splice(E, 0, _e), l.value = Y, b0(() => {
1446
+ onEnd: ({ newIndex: L, oldIndex: ee }) => {
1447
+ const Y = [...l.value], [_e] = Y.splice(ee, 1);
1448
+ Y.splice(ee, 0, _e), l.value = Y, b0(() => {
1449
1449
  fe();
1450
1450
  });
1451
1451
  }
1452
1452
  });
1453
1453
  }, ht = (M) => new Promise((H) => {
1454
- const E = new FileReader();
1455
- E.onloadend = () => H(E.result), E.readAsDataURL(M);
1454
+ const L = new FileReader();
1455
+ L.onloadend = () => H(L.result), L.readAsDataURL(M);
1456
1456
  }), De = (M, H = "file") => {
1457
- let E = M.split(","), ne = E[0].match(/:(.*?);/)[1], Y = ne.split("/")[1], _e = atob(E[1]), A = _e.length, be = new Uint8Array(A);
1457
+ let L = M.split(","), ee = L[0].match(/:(.*?);/)[1], Y = ee.split("/")[1], _e = atob(L[1]), A = _e.length, be = new Uint8Array(A);
1458
1458
  for (; A--; )
1459
1459
  be[A] = _e.charCodeAt(A);
1460
1460
  return new File([be], `${H}.${Y}`, {
1461
- type: ne
1461
+ type: ee
1462
1462
  });
1463
1463
  }, Xe = async (M) => {
1464
1464
  const H = await ht(M);
1465
- let E = De(H), ne = new FormData();
1466
- ne.append("file", E);
1465
+ let L = De(H), ee = new FormData();
1466
+ ee.append("file", L);
1467
1467
  let Y;
1468
- return await Ul(ne).then((_e) => {
1469
- var A, be, ge, N, ee, ce, Te;
1468
+ return await Ul(ee).then((_e) => {
1469
+ var A, be, ge, N, te, ce, Te;
1470
1470
  Y = {
1471
1471
  url: (A = _e.data.result) == null ? void 0 : A.url,
1472
- name: (Te = (ge = (be = _e.data.result) == null ? void 0 : be.url) == null ? void 0 : ge.split("/")) == null ? void 0 : Te[((ce = (ee = (N = _e.data.result) == null ? void 0 : N.url) == null ? void 0 : ee.split("/")) == null ? void 0 : ce.length) - 1]
1472
+ name: (Te = (ge = (be = _e.data.result) == null ? void 0 : be.url) == null ? void 0 : ge.split("/")) == null ? void 0 : Te[((ce = (te = (N = _e.data.result) == null ? void 0 : N.url) == null ? void 0 : te.split("/")) == null ? void 0 : ce.length) - 1]
1473
1473
  };
1474
1474
  }), Y;
1475
1475
  }, bt = async (M) => {
1476
1476
  var H;
1477
1477
  try {
1478
- const E = M.clipboardData || (window == null ? void 0 : window.clipboardData), ne = E.getData("text/plain");
1479
- if (ne === void 0) return;
1480
- if (ne.includes("<table")) {
1478
+ const L = M.clipboardData || (window == null ? void 0 : window.clipboardData), ee = L.getData("text/plain");
1479
+ if (ee === void 0) return;
1480
+ if (ee.includes("<table")) {
1481
1481
  M.preventDefault();
1482
- const Y = Qe(ne);
1482
+ const Y = Qe(ee);
1483
1483
  if (!Y.length) return;
1484
1484
  const { rowIndex: _e, columnIndex: A } = c.value || { rowIndex: 0, columnIndex: 0 }, be = [];
1485
1485
  if (Y == null || Y.forEach((ge) => {
@@ -1495,19 +1495,19 @@ const bu = { class: "table-content-show" }, xu = {
1495
1495
  return;
1496
1496
  }
1497
1497
  for (let ge = 0; ge < Y.length; ge++) {
1498
- const N = Y[ge], ee = l.value[_e + ge], ce = xt(r.value).map((Te) => Te.prop);
1498
+ const N = Y[ge], te = l.value[_e + ge], ce = xt(r.value).map((Te) => Te.prop);
1499
1499
  for (let Te = 0; Te < N.length && A + Te < ce.length; Te++) {
1500
1500
  const Ue = ce[A + Te];
1501
- (ee == null ? void 0 : ee[Ue]) !== void 0 && (ee[Ue] = N[Te] || "");
1501
+ (te == null ? void 0 : te[Ue]) !== void 0 && (te[Ue] = N[Te] || "");
1502
1502
  }
1503
1503
  }
1504
1504
  } else {
1505
- const Y = E.getData("text/html");
1505
+ const Y = L.getData("text/html");
1506
1506
  if (Y === void 0) return;
1507
1507
  const A = new DOMParser().parseFromString(Y, "text/html"), be = A.querySelectorAll("table");
1508
1508
  if ((be == null ? void 0 : be.length) > 0) {
1509
1509
  M.preventDefault();
1510
- const N = be[0].querySelectorAll("tr"), ee = [];
1510
+ const N = be[0].querySelectorAll("tr"), te = [];
1511
1511
  for (const Ue of N) {
1512
1512
  const Re = Ue.querySelectorAll("td, th"), Ie = [];
1513
1513
  for (const e2 of Re) {
@@ -1532,12 +1532,12 @@ const bu = { class: "table-content-show" }, xu = {
1532
1532
  content: e2.textContent.trim()
1533
1533
  });
1534
1534
  }
1535
- ee.push(Ie);
1535
+ te.push(Ie);
1536
1536
  }
1537
1537
  const { rowIndex: ce, columnProp: Te } = c.value || { rowIndex: 0, columnIndex: 0 };
1538
- if (Array.isArray(ee) && ee.length) {
1538
+ if (Array.isArray(te) && te.length) {
1539
1539
  const Ue = [];
1540
- ee.forEach((Ie) => {
1540
+ te.forEach((Ie) => {
1541
1541
  if (Ie != null && Ie.length) {
1542
1542
  const e2 = {}, f0 = t.columns;
1543
1543
  for (let T0 = 0; T0 < (f0 == null ? void 0 : f0.length); T0++) {
@@ -1554,40 +1554,40 @@ const bu = { class: "table-content-show" }, xu = {
1554
1554
  const ge = A.querySelectorAll("span");
1555
1555
  let N = "";
1556
1556
  if (ge.length === 0) {
1557
- const ee = (H = M.clipboardData) == null ? void 0 : H.items;
1557
+ const te = (H = M.clipboardData) == null ? void 0 : H.items;
1558
1558
  N = [];
1559
- for (const ce of ee)
1559
+ for (const ce of te)
1560
1560
  if ((ce == null ? void 0 : ce.type) === "image/png") {
1561
1561
  const Te = await Xe(ce == null ? void 0 : ce.getAsFile());
1562
1562
  N.push(Te);
1563
1563
  } else
1564
1564
  N = M.clipboardData.getData("text/plain");
1565
1565
  } else
1566
- for (const ee of ge)
1567
- N = N + ee.textContent.trim();
1566
+ for (const te of ge)
1567
+ N = N + te.textContent.trim();
1568
1568
  if (Array.isArray(N)) {
1569
1569
  M.preventDefault();
1570
- const { rowIndex: ee, columnProp: ce } = c.value || { rowIndex: 0, columnIndex: 0 }, Te = {}, Ue = l.value;
1571
- Ue[ee][ce] = N;
1570
+ const { rowIndex: te, columnProp: ce } = c.value || { rowIndex: 0, columnIndex: 0 }, Te = {}, Ue = l.value;
1571
+ Ue[te][ce] = N;
1572
1572
  }
1573
1573
  }
1574
1574
  }
1575
- } catch (E) {
1576
- console.error("粘贴失败:", E);
1575
+ } catch (L) {
1576
+ console.error("粘贴失败:", L);
1577
1577
  }
1578
- }, Qe = (M) => M.trim().split(/\r\n|\n|\r/).map((ne) => ne.trim() ? ne.split(" ").map((Y) => Y.replace(/^"(.*)"$/, "$1")) : [""]), ut = (M) => {
1578
+ }, Qe = (M) => M.trim().split(/\r\n|\n|\r/).map((ee) => ee.trim() ? ee.split(" ").map((Y) => Y.replace(/^"(.*)"$/, "$1")) : [""]), ut = (M) => {
1579
1579
  var H;
1580
1580
  M && (c.value = {
1581
1581
  rowIndex: M == null ? void 0 : M.$index,
1582
1582
  columnIndex: M == null ? void 0 : M.cellIndex,
1583
1583
  columnProp: (H = M.column) == null ? void 0 : H.property
1584
1584
  });
1585
- }, $t = ({ row: M, rowIndex: H }) => H % 2 === 0 ? "default-row" : "special-row", Qt = (M, H, E) => {
1586
- u("change", M, H, E);
1585
+ }, $t = ({ row: M, rowIndex: H }) => H % 2 === 0 ? "default-row" : "special-row", Qt = (M, H, L) => {
1586
+ u("change", M, H, L);
1587
1587
  };
1588
1588
  return (M, H) => {
1589
- const E = F("el-table-column"), ne = F("svg-icon"), Y = F("el-table"), _e = F("el-pagination");
1590
- return C(), B("div", bu, [
1589
+ const L = F("el-table-column"), ee = F("svg-icon"), Y = F("el-table"), _e = F("el-pagination");
1590
+ return C(), E("div", bu, [
1591
1591
  q(fu, {
1592
1592
  buttons: d.value,
1593
1593
  onButtonClick: k,
@@ -1625,17 +1625,17 @@ const bu = { class: "table-content-show" }, xu = {
1625
1625
  }, ["prevent"]))
1626
1626
  }, {
1627
1627
  default: V(() => [
1628
- q(E, {
1628
+ q(L, {
1629
1629
  type: "selection",
1630
1630
  fixed: "left"
1631
1631
  }),
1632
- q(E, {
1632
+ q(L, {
1633
1633
  "min-width": "10",
1634
1634
  "show-overflow-tooltip": !1
1635
1635
  }, {
1636
1636
  default: V(({ row: A, column: be, $index: ge }) => [
1637
1637
  Vo(K("span", xu, [
1638
- q(ne, {
1638
+ q(ee, {
1639
1639
  name: "drag",
1640
1640
  style: { width: "15px", height: "15px", cursor: "move" }
1641
1641
  })
@@ -1645,7 +1645,7 @@ const bu = { class: "table-content-show" }, xu = {
1645
1645
  ]),
1646
1646
  _: 1
1647
1647
  }),
1648
- q(E, {
1648
+ q(L, {
1649
1649
  type: "index",
1650
1650
  "min-width": "40",
1651
1651
  label: "序号"
@@ -1658,15 +1658,15 @@ const bu = { class: "table-content-show" }, xu = {
1658
1658
  ge === ((N = l.value) == null ? void 0 : N.length) - 1 ? se(M.$slots, "rowCreate", {
1659
1659
  key: 0,
1660
1660
  row: A
1661
- }, void 0, !0) : te("", !0)
1661
+ }, void 0, !0) : ie("", !0)
1662
1662
  ];
1663
1663
  }),
1664
1664
  key: "0"
1665
1665
  } : void 0
1666
1666
  ]), 1024),
1667
- (C(!0), B(pe, null, ve(r.value, (A, be) => {
1667
+ (C(!0), E(pe, null, ve(r.value, (A, be) => {
1668
1668
  var ge;
1669
- return C(), B(pe, null, [
1669
+ return C(), E(pe, null, [
1670
1670
  (ge = n.checkedColumns) != null && ge.includes(A == null ? void 0 : A.label) ? (C(), G(vu, {
1671
1671
  key: 0,
1672
1672
  column: A
@@ -1674,17 +1674,17 @@ const bu = { class: "table-content-show" }, xu = {
1674
1674
  operateHeader: V(() => [
1675
1675
  se(M.$slots, "operateCol", {}, void 0, !0)
1676
1676
  ]),
1677
- content: V(({ row: N, item: ee, slotData: ce, scope: Te }) => {
1677
+ content: V(({ row: N, item: te, slotData: ce, scope: Te }) => {
1678
1678
  var Ue;
1679
1679
  return [
1680
- ((A == null ? void 0 : A.type) ?? "text") === "text" && ((N == null ? void 0 : N.tableEditType) ?? "text") === "text" ? (C(), B("span", {
1680
+ ((A == null ? void 0 : A.type) ?? "text") === "text" && ((N == null ? void 0 : N.tableEditType) ?? "text") === "text" ? (C(), E("span", {
1681
1681
  key: 0,
1682
1682
  class: "table-content",
1683
1683
  style: ze({ cursor: N != null && N.children ? "pointer" : "default" }),
1684
1684
  onClick: (Re) => {
1685
1685
  var Ie;
1686
- return J(N != null && N[A == null ? void 0 : A.prop] ? N == null ? void 0 : N[A == null ? void 0 : A.prop] : (N == null ? void 0 : N[ee == null ? void 0 : ee.prop]) ?? (ce == null ? void 0 : ce[ee == null ? void 0 : ee.prop]) ?? (N == null ? void 0 : N[(Ie = ee == null ? void 0 : ee.child) == null ? void 0 : Ie.prop]), ee == null ? void 0 : ee.prop, N ?? ce, {
1687
- data: y(N, A, ee, ce).value
1686
+ return J(N != null && N[A == null ? void 0 : A.prop] ? N == null ? void 0 : N[A == null ? void 0 : A.prop] : (N == null ? void 0 : N[te == null ? void 0 : te.prop]) ?? (ce == null ? void 0 : ce[te == null ? void 0 : te.prop]) ?? (N == null ? void 0 : N[(Ie = te == null ? void 0 : te.child) == null ? void 0 : Ie.prop]), te == null ? void 0 : te.prop, N ?? ce, {
1687
+ data: y(N, A, te, ce).value
1688
1688
  });
1689
1689
  }
1690
1690
  }, [
@@ -1692,13 +1692,13 @@ const bu = { class: "table-content-show" }, xu = {
1692
1692
  key: 0,
1693
1693
  row: N,
1694
1694
  column: A,
1695
- item: ee,
1695
+ item: te,
1696
1696
  slotData: ce
1697
- }, void 0, !0) : (C(), B(pe, { key: 1 }, [
1698
- Et(Ee(y(N, A, ee, ce)), 1)
1697
+ }, void 0, !0) : (C(), E(pe, { key: 1 }, [
1698
+ Et(Ee(y(N, A, te, ce)), 1)
1699
1699
  ], 64))
1700
- ], 12, yu)) : te("", !0),
1701
- ((A == null ? void 0 : A.type) ?? "text") === "operate" ? (C(), B("span", {
1700
+ ], 12, yu)) : ie("", !0),
1701
+ ((A == null ? void 0 : A.type) ?? "text") === "operate" ? (C(), E("span", {
1702
1702
  key: 1,
1703
1703
  class: "table-operate",
1704
1704
  style: ze({
@@ -1706,18 +1706,18 @@ const bu = { class: "table-content-show" }, xu = {
1706
1706
  })
1707
1707
  }, [
1708
1708
  se(M.$slots, "actions", { item: N }, void 0, !0),
1709
- n.isShowEdit ? (C(), B("span", {
1709
+ n.isShowEdit ? (C(), E("span", {
1710
1710
  key: 0,
1711
1711
  onClick: (Re) => W(N),
1712
1712
  class: "blue-table-operate table-operate-content"
1713
- }, "编辑", 8, Su)) : te("", !0),
1714
- n.isShowDelete ? (C(), B("span", {
1713
+ }, "编辑", 8, Su)) : ie("", !0),
1714
+ n.isShowDelete ? (C(), E("span", {
1715
1715
  key: 1,
1716
1716
  onClick: (Re) => Q(N),
1717
1717
  class: "red-table-operate table-operate-content"
1718
- }, "删除", 8, _u)) : te("", !0)
1719
- ], 4)) : te("", !0),
1720
- ((A == null ? void 0 : A.type) ?? "text") === "edit" && ((N == null ? void 0 : N.tableEditType) ?? "text") !== "edit" || ((A == null ? void 0 : A.type) ?? "text") === "text" && ((N == null ? void 0 : N.tableEditType) ?? "text") === "edit" ? (C(), B("span", ku, [
1718
+ }, "删除", 8, _u)) : ie("", !0)
1719
+ ], 4)) : ie("", !0),
1720
+ ((A == null ? void 0 : A.type) ?? "text") === "edit" && ((N == null ? void 0 : N.tableEditType) ?? "text") !== "edit" || ((A == null ? void 0 : A.type) ?? "text") === "text" && ((N == null ? void 0 : N.tableEditType) ?? "text") === "edit" ? (C(), E("span", ku, [
1721
1721
  (C(), G(w2(T(N != null && N[A == null ? void 0 : A.prop] && Array.isArray(N[A.prop]) && ((Ue = N[A.prop]) != null && Ue.every((Re) => typeof Re == "Object")) ? "Upload" : (A == null ? void 0 : A.columnType) === "" || !(A != null && A.columnType) ? "Input" : A == null ? void 0 : A.columnType)), {
1722
1722
  modelValue: N[A.prop],
1723
1723
  "onUpdate:modelValue": (Re) => N[A.prop] = Re,
@@ -1728,11 +1728,11 @@ const bu = { class: "table-content-show" }, xu = {
1728
1728
  onChange: (Re) => Qt(Re, N, A),
1729
1729
  onInput: (Re) => v(Re, N, A)
1730
1730
  }, null, 40, ["modelValue", "onUpdate:modelValue", "content", "optionUrl", "onFocus", "onChange", "onInput"]))
1731
- ])) : te("", !0)
1731
+ ])) : ie("", !0)
1732
1732
  ];
1733
1733
  }),
1734
1734
  _: 2
1735
- }, 1032, ["column"])) : te("", !0)
1735
+ }, 1032, ["column"])) : ie("", !0)
1736
1736
  ], 64);
1737
1737
  }), 256))
1738
1738
  ]),
@@ -1752,7 +1752,7 @@ const bu = { class: "table-content-show" }, xu = {
1752
1752
  "page-size": (t == null ? void 0 : t.pageSize) ?? 10,
1753
1753
  layout: "total, sizes, prev, pager, next, jumper",
1754
1754
  total: (t == null ? void 0 : t.total) ?? 0
1755
- }, null, 8, ["current-page", "page-size", "total"])) : te("", !0)
1755
+ }, null, 8, ["current-page", "page-size", "total"])) : ie("", !0)
1756
1756
  ]),
1757
1757
  Vo(q(hu, {
1758
1758
  style: ze({ top: o.y + "px", left: o.x + "px", position: "fixed", zIndex: 999 })
@@ -1780,7 +1780,7 @@ const bu = { class: "table-content-show" }, xu = {
1780
1780
  ]);
1781
1781
  };
1782
1782
  }
1783
- }, Du = /* @__PURE__ */ Se(Mu, [["__scopeId", "data-v-7443c733"]]), Tu = {
1783
+ }, Du = /* @__PURE__ */ Se(Mu, [["__scopeId", "data-v-68816b65"]]), Tu = {
1784
1784
  __name: "index",
1785
1785
  props: {
1786
1786
  value: String,
@@ -1818,7 +1818,7 @@ const bu = { class: "table-content-show" }, xu = {
1818
1818
  };
1819
1819
  return (r, l) => {
1820
1820
  var a, h, c, u, d, f, p;
1821
- return C(), B(pe, null, [
1821
+ return C(), E(pe, null, [
1822
1822
  se(r.$slots, `${(a = t == null ? void 0 : t.content) == null ? void 0 : a.value}_tableHeader`),
1823
1823
  (C(), G(Du, {
1824
1824
  columns: ((h = t == null ? void 0 : t.content) == null ? void 0 : h.columns) ?? [],
@@ -1924,7 +1924,7 @@ const bu = { class: "table-content-show" }, xu = {
1924
1924
  onClick: a
1925
1925
  }, {
1926
1926
  default: V(() => [
1927
- (C(!0), B(pe, null, ve(o.value, (f) => (C(), G(u, {
1927
+ (C(!0), E(pe, null, ve(o.value, (f) => (C(), G(u, {
1928
1928
  key: f.value,
1929
1929
  label: f.label,
1930
1930
  value: f.value
@@ -1995,7 +1995,7 @@ const bu = { class: "table-content-show" }, xu = {
1995
1995
  style: { width: "100%" }
1996
1996
  }, {
1997
1997
  default: V(() => [
1998
- (C(!0), B(pe, null, ve(e == null ? void 0 : e.content, (l) => (C(), G(o, {
1998
+ (C(!0), E(pe, null, ve(e == null ? void 0 : e.content, (l) => (C(), G(o, {
1999
1999
  key: l.value,
2000
2000
  label: l.label,
2001
2001
  value: l.value
@@ -2026,7 +2026,7 @@ const bu = { class: "table-content-show" }, xu = {
2026
2026
  return Kt(() => {
2027
2027
  }), (r, l) => {
2028
2028
  const a = F("MenuItem", !0), h = F("el-sub-menu"), c = F("el-menu-item");
2029
- return C(!0), B(pe, null, ve(n.menuList, (u) => (C(), B(pe, null, [
2029
+ return C(!0), E(pe, null, ve(n.menuList, (u) => (C(), E(pe, null, [
2030
2030
  u.show && u.children && u.children.length > 0 ? (C(), G(h, {
2031
2031
  index: u.path,
2032
2032
  key: u.path
@@ -2059,7 +2059,7 @@ const bu = { class: "table-content-show" }, xu = {
2059
2059
  se(r.$slots, "title", { menu: u })
2060
2060
  ]),
2061
2061
  _: 2
2062
- }, 1032, ["index", "onClick"])) : te("", !0)
2062
+ }, 1032, ["index", "onClick"])) : ie("", !0)
2063
2063
  ], 64))), 256);
2064
2064
  };
2065
2065
  }
@@ -2100,7 +2100,7 @@ const bu = { class: "table-content-show" }, xu = {
2100
2100
  onClose: c
2101
2101
  }, {
2102
2102
  default: V(() => [
2103
- (C(!0), B(pe, null, ve(n.menuList, (b) => (C(), B(pe, null, [
2103
+ (C(!0), E(pe, null, ve(n.menuList, (b) => (C(), E(pe, null, [
2104
2104
  b.show && b.children && b.children.length > 0 ? (C(), G(g, {
2105
2105
  index: b.path,
2106
2106
  key: b.path,
@@ -2133,7 +2133,7 @@ const bu = { class: "table-content-show" }, xu = {
2133
2133
  se(f.$slots, "title", { menu: b }, void 0, !0)
2134
2134
  ]),
2135
2135
  _: 2
2136
- }, 1032, ["index", "style", "onClick"])) : te("", !0)
2136
+ }, 1032, ["index", "style", "onClick"])) : ie("", !0)
2137
2137
  ], 64))), 256))
2138
2138
  ]),
2139
2139
  _: 3
@@ -2317,7 +2317,7 @@ const Wu = { class: "txt-renderer" }, Gu = { class: "txt-wrapper" }, Fu = {
2317
2317
  r.onload = function(l) {
2318
2318
  i.value = l.target.result;
2319
2319
  }, r.readAsText(o);
2320
- }), (s, o) => (C(), B("div", Wu, [
2320
+ }), (s, o) => (C(), E("div", Wu, [
2321
2321
  K("pre", Gu, Ee(i.value), 1)
2322
2322
  ]));
2323
2323
  }
@@ -2333,7 +2333,7 @@ const Wu = { class: "txt-renderer" }, Gu = { class: "txt-wrapper" }, Fu = {
2333
2333
  t.value;
2334
2334
  const o = await (await fetch(t.value)).blob();
2335
2335
  await Za(o, i.value, null, {});
2336
- }), (s, o) => (C(), B("div", Uu, [
2336
+ }), (s, o) => (C(), E("div", Uu, [
2337
2337
  K("div", {
2338
2338
  ref_key: "docxPreview",
2339
2339
  ref: i,
@@ -2357,7 +2357,7 @@ const Wu = { class: "txt-renderer" }, Gu = { class: "txt-wrapper" }, Fu = {
2357
2357
  }).catch((r) => {
2358
2358
  console.log("预览失败", r);
2359
2359
  });
2360
- }), (s, o) => (C(), B("div", Ku, o[0] || (o[0] = [
2360
+ }), (s, o) => (C(), E("div", Ku, o[0] || (o[0] = [
2361
2361
  K("div", { id: "excel" }, null, -1)
2362
2362
  ])));
2363
2363
  }
@@ -2375,7 +2375,7 @@ const Wu = { class: "txt-renderer" }, Gu = { class: "txt-wrapper" }, Fu = {
2375
2375
  i.value = l;
2376
2376
  }), nn(() => {
2377
2377
  i.value && URL.revokeObjectURL(i.value);
2378
- }), (s, o) => (C(), B("div", Ju, [
2378
+ }), (s, o) => (C(), E("div", Ju, [
2379
2379
  K("iframe", {
2380
2380
  src: i.value,
2381
2381
  class: "pdf-iframe"
@@ -5761,7 +5761,7 @@ function S3(n, e, t, i, s, o) {
5761
5761
  }
5762
5762
  let et = typeof navigator < "u" ? navigator : { userAgent: "", vendor: "", platform: "" }, us = typeof document < "u" ? document : { documentElement: { style: {} } };
5763
5763
  const ds = /* @__PURE__ */ /Edge\/(\d+)/.exec(et.userAgent), _3 = /* @__PURE__ */ /MSIE \d/.test(et.userAgent), fs = /* @__PURE__ */ /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(et.userAgent), ln = !!(_3 || fs || ds), nr = !ln && /* @__PURE__ */ /gecko\/(\d+)/i.test(et.userAgent), Sn = !ln && /* @__PURE__ */ /Chrome\/(\d+)/.exec(et.userAgent), P5 = "webkitFontSmoothing" in us.documentElement.style, k3 = !ln && /* @__PURE__ */ /Apple Computer/.test(et.vendor), sr = k3 && (/* @__PURE__ */ /Mobile\/\w+/.test(et.userAgent) || et.maxTouchPoints > 2);
5764
- var L = {
5764
+ var B = {
5765
5765
  mac: sr || /* @__PURE__ */ /Mac/.test(et.platform),
5766
5766
  windows: /* @__PURE__ */ /Win/.test(et.platform),
5767
5767
  linux: /* @__PURE__ */ /Linux|X11/.test(et.platform),
@@ -5858,12 +5858,12 @@ function V5(n, e, t) {
5858
5858
  let i = n.nodeValue.length;
5859
5859
  e > i && (e = i);
5860
5860
  let s = e, o = e, r = 0;
5861
- e == 0 && t < 0 || e == i && t >= 0 ? L.chrome || L.gecko || (e ? (s--, r = 1) : o < i && (o++, r = -1)) : t < 0 ? s-- : o < i && o++;
5861
+ e == 0 && t < 0 || e == i && t >= 0 ? B.chrome || B.gecko || (e ? (s--, r = 1) : o < i && (o++, r = -1)) : t < 0 ? s-- : o < i && o++;
5862
5862
  let l = C0(n, s, o).getClientRects();
5863
5863
  if (!l.length)
5864
5864
  return null;
5865
5865
  let a = l[(r ? r < 0 : t >= 0) ? 0 : l.length - 1];
5866
- return L.safari && !r && a.width == 0 && (a = Array.prototype.find.call(l, (h) => h.width) || a), r ? rn(a, r < 0) : a || null;
5866
+ return B.safari && !r && a.width == 0 && (a = Array.prototype.find.call(l, (h) => h.width) || a), r ? rn(a, r < 0) : a || null;
5867
5867
  }
5868
5868
  class i0 extends de {
5869
5869
  static create(e, t, i) {
@@ -6336,7 +6336,7 @@ class Ce extends de {
6336
6336
  let s = this.dom.lastChild;
6337
6337
  for (; s && de.get(s) instanceof qt; )
6338
6338
  s = s.lastChild;
6339
- if (!s || !this.length || s.nodeName != "BR" && ((i = de.get(s)) === null || i === void 0 ? void 0 : i.isEditable) == !1 && (!L.ios || !this.children.some((o) => o instanceof St))) {
6339
+ if (!s || !this.length || s.nodeName != "BR" && ((i = de.get(s)) === null || i === void 0 ? void 0 : i.isEditable) == !1 && (!B.ios || !this.children.some((o) => o instanceof St))) {
6340
6340
  let o = document.createElement("BR");
6341
6341
  o.cmIgnore = !0, this.dom.appendChild(o);
6342
6342
  }
@@ -7115,7 +7115,7 @@ class lr extends de {
7115
7115
  let { from: h, to: c } = this.hasComposition;
7116
7116
  i = new gt(h, c, e.changes.mapPos(h, -1), e.changes.mapPos(c, 1)).addToSet(i.slice());
7117
7117
  }
7118
- this.hasComposition = o ? { from: o.range.fromB, to: o.range.toB } : null, (L.ie || L.chrome) && !o && e && e.state.doc.lines != e.startState.doc.lines && (this.forceSelection = !0);
7118
+ this.hasComposition = o ? { from: o.range.fromB, to: o.range.toB } : null, (B.ie || B.chrome) && !o && e && e.state.doc.lines != e.startState.doc.lines && (this.forceSelection = !0);
7119
7119
  let r = this.decorations, l = this.updateDeco(), a = J5(r, l, e.changes);
7120
7120
  return i = gt.extendWithRanges(i, a), !(this.flags & 7) && i.length == 0 ? !1 : (this.updateInner(i, e.startState.doc.length, o), e.transactions.length && (this.lastUpdate = Date.now()), !0);
7121
7121
  }
@@ -7126,7 +7126,7 @@ class lr extends de {
7126
7126
  let { observer: s } = this.view;
7127
7127
  s.ignore(() => {
7128
7128
  this.dom.style.height = this.view.viewState.contentHeight / this.view.scaleY + "px", this.dom.style.flexBasis = this.minWidth ? this.minWidth + "px" : "";
7129
- let r = L.chrome || L.ios ? { node: s.selectionRange.focusNode, written: !1 } : void 0;
7129
+ let r = B.chrome || B.ios ? { node: s.selectionRange.focusNode, written: !1 } : void 0;
7130
7130
  this.sync(this.view, r), this.flags &= -8, r && (r.written || s.selectionRange.focusNode != r.node) && (this.forceSelection = !0), this.dom.style.height = "";
7131
7131
  }), this.markedForComposition.forEach(
7132
7132
  (r) => r.flags &= -9
@@ -7193,16 +7193,16 @@ class lr extends de {
7193
7193
  let r = this.forceSelection;
7194
7194
  this.forceSelection = !1;
7195
7195
  let l = this.view.state.selection.main, a = this.moveToLine(this.domAtPos(l.anchor)), h = l.empty ? a : this.moveToLine(this.domAtPos(l.head));
7196
- if (L.gecko && l.empty && !this.hasComposition && Y5(a)) {
7196
+ if (B.gecko && l.empty && !this.hasComposition && Y5(a)) {
7197
7197
  let u = document.createTextNode("");
7198
7198
  this.view.observer.ignore(() => a.node.insertBefore(u, a.node.childNodes[a.offset] || null)), a = h = new Fe(u, 0), r = !0;
7199
7199
  }
7200
7200
  let c = this.view.observer.selectionRange;
7201
7201
  (r || !c.focusNode || (!f2(a.node, a.offset, c.anchorNode, c.anchorOffset) || !f2(h.node, h.offset, c.focusNode, c.focusOffset)) && !this.suppressWidgetCursorChange(c, l)) && (this.view.observer.ignore(() => {
7202
- L.android && L.chrome && this.dom.contains(c.focusNode) && Z5(c.focusNode, this.dom) && (this.dom.blur(), this.dom.focus({ preventScroll: !0 }));
7202
+ B.android && B.chrome && this.dom.contains(c.focusNode) && Z5(c.focusNode, this.dom) && (this.dom.blur(), this.dom.focus({ preventScroll: !0 }));
7203
7203
  let u = _2(this.view.root);
7204
7204
  if (u) if (l.empty) {
7205
- if (L.gecko) {
7205
+ if (B.gecko) {
7206
7206
  let d = X5(a.node, a.offset);
7207
7207
  if (d && d != 3) {
7208
7208
  let f = (d == 1 ? w3 : b3)(a.node, a.offset);
@@ -7593,7 +7593,7 @@ function hr(n, e, t) {
7593
7593
  let u = (c.top > t ? c.top - t : t - c.bottom) - 1;
7594
7594
  if (c.left - 1 <= e && c.right + 1 >= e && u < o) {
7595
7595
  let d = e >= (c.left + c.right) / 2, f = d;
7596
- if ((L.chrome || L.gecko) && C0(n, l).getBoundingClientRect().left == c.right && (f = !d), u <= 0)
7596
+ if ((B.chrome || B.gecko) && C0(n, l).getBoundingClientRect().left == c.right && (f = !d), u <= 0)
7597
7597
  return { node: n, offset: l + (f ? 1 : 0) };
7598
7598
  s = l + (f ? 1 : 0), o = u;
7599
7599
  }
@@ -7629,7 +7629,7 @@ function K3(n, e, t, i = -1) {
7629
7629
  _ && ({ offsetNode: v, offset: b } = _);
7630
7630
  } else if (p.caretRangeFromPoint) {
7631
7631
  let _ = p.caretRangeFromPoint(c, u);
7632
- _ && ({ startContainer: v, startOffset: b } = _, (!n.contentDOM.contains(v) || L.safari && sd(v, b, c) || L.chrome && od(v, b, c)) && (v = void 0));
7632
+ _ && ({ startContainer: v, startOffset: b } = _, (!n.contentDOM.contains(v) || B.safari && sd(v, b, c) || B.chrome && od(v, b, c)) && (v = void 0));
7633
7633
  }
7634
7634
  v && (b = Math.min(It(v), b));
7635
7635
  }
@@ -7870,7 +7870,7 @@ class ud {
7870
7870
  a.readRange(this.bounds.startDOM, this.bounds.endDOM), this.text = a.text, this.newSel = gd(l, this.bounds.from);
7871
7871
  } else {
7872
7872
  let l = e.observer.selectionRange, a = o && o.node == l.focusNode && o.offset == l.focusOffset || !hs(e.contentDOM, l.focusNode) ? e.state.selection.main.head : e.docView.posFromDOM(l.focusNode, l.focusOffset), h = r && r.node == l.anchorNode && r.offset == l.anchorOffset || !hs(e.contentDOM, l.anchorNode) ? e.state.selection.main.anchor : e.docView.posFromDOM(l.anchorNode, l.anchorOffset), c = e.viewport;
7873
- if ((L.ios || L.chrome) && e.state.selection.main.empty && a != h && (c.from > 0 || c.to < e.state.doc.length)) {
7873
+ if ((B.ios || B.chrome) && e.state.selection.main.empty && a != h && (c.from > 0 || c.to < e.state.doc.length)) {
7874
7874
  let u = Math.min(a, h), d = Math.max(a, h), f = c.from - u, p = c.to - d;
7875
7875
  (f == 0 || f == 1 || u == 0) && (p == 0 || p == -1 || d == e.state.doc.length) && (a = 0, h = e.state.doc.length);
7876
7876
  }
@@ -7882,9 +7882,9 @@ function X3(n, e) {
7882
7882
  let t, { newSel: i } = e, s = n.state.selection.main, o = n.inputState.lastKeyTime > Date.now() - 100 ? n.inputState.lastKeyCode : -1;
7883
7883
  if (e.bounds) {
7884
7884
  let { from: r, to: l } = e.bounds, a = s.from, h = null;
7885
- (o === 8 || L.android && e.text.length < l - r) && (a = s.to, h = "end");
7885
+ (o === 8 || B.android && e.text.length < l - r) && (a = s.to, h = "end");
7886
7886
  let c = fd(n.state.doc.sliceString(r, l, a2), e.text, a - r, h);
7887
- c && (L.chrome && o == 13 && c.toB == c.from + 2 && e.text.slice(c.from, c.toB) == a2 + a2 && c.toB--, t = {
7887
+ c && (B.chrome && o == 13 && c.toB == c.from + 2 && e.text.slice(c.from, c.toB) == a2 + a2 && c.toB--, t = {
7888
7888
  from: r + c.from,
7889
7889
  to: r + c.toA,
7890
7890
  insert: ae.of(e.text.slice(c.from, c.toB).split(a2))
@@ -7892,11 +7892,11 @@ function X3(n, e) {
7892
7892
  } else i && (!n.hasFocus && n.state.facet(Gt) || i.main.eq(s)) && (i = null);
7893
7893
  if (!t && !i)
7894
7894
  return !1;
7895
- if (!t && e.typeOver && !s.empty && i && i.main.empty ? t = { from: s.from, to: s.to, insert: n.state.doc.slice(s.from, s.to) } : (L.mac || L.android) && t && t.from == t.to && t.from == s.head - 1 && /^\. ?$/.test(t.insert.toString()) && n.contentDOM.getAttribute("autocorrect") == "off" ? (i && t.insert.length == 2 && (i = O.single(i.main.anchor - 1, i.main.head - 1)), t = { from: t.from, to: t.to, insert: ae.of([t.insert.toString().replace(".", " ")]) }) : t && t.from >= s.from && t.to <= s.to && (t.from != s.from || t.to != s.to) && s.to - s.from - (t.to - t.from) <= 4 ? t = {
7895
+ if (!t && e.typeOver && !s.empty && i && i.main.empty ? t = { from: s.from, to: s.to, insert: n.state.doc.slice(s.from, s.to) } : (B.mac || B.android) && t && t.from == t.to && t.from == s.head - 1 && /^\. ?$/.test(t.insert.toString()) && n.contentDOM.getAttribute("autocorrect") == "off" ? (i && t.insert.length == 2 && (i = O.single(i.main.anchor - 1, i.main.head - 1)), t = { from: t.from, to: t.to, insert: ae.of([t.insert.toString().replace(".", " ")]) }) : t && t.from >= s.from && t.to <= s.to && (t.from != s.from || t.to != s.to) && s.to - s.from - (t.to - t.from) <= 4 ? t = {
7896
7896
  from: s.from,
7897
7897
  to: s.to,
7898
7898
  insert: n.state.doc.slice(s.from, t.from).append(t.insert).append(n.state.doc.slice(t.to, s.to))
7899
- } : L.chrome && t && t.from == t.to && t.from == s.head && t.insert.toString() == `
7899
+ } : B.chrome && t && t.from == t.to && t.from == s.head && t.insert.toString() == `
7900
7900
  ` && n.lineWrapping && (i && (i = O.single(i.main.anchor - 1, i.main.head - 1)), t = { from: s.from, to: s.to, insert: ae.of([" "]) }), t)
7901
7901
  return so(n, t, i, o);
7902
7902
  if (i && !i.main.eq(s)) {
@@ -7906,10 +7906,10 @@ function X3(n, e) {
7906
7906
  return !1;
7907
7907
  }
7908
7908
  function so(n, e, t, i = -1) {
7909
- if (L.ios && n.inputState.flushIOSKey(e))
7909
+ if (B.ios && n.inputState.flushIOSKey(e))
7910
7910
  return !0;
7911
7911
  let s = n.state.selection.main;
7912
- if (L.android && (e.to == s.to && // GBoard will sometimes remove a space it just inserted
7912
+ if (B.android && (e.to == s.to && // GBoard will sometimes remove a space it just inserted
7913
7913
  // after a completion when you press enter
7914
7914
  (e.from == s.from || e.from == s.from - 1 && n.state.sliceDoc(e.from, s.from) == " ") && e.insert.length == 1 && e.insert.lines == 2 && I0(n.contentDOM, "Enter", 13) || (e.from == s.from - 1 && e.to == s.to && e.insert.length == 0 || i == 8 && e.insert.length < e.to - e.from && e.to > s.head) && I0(n.contentDOM, "Backspace", 8) || e.from == s.from && e.to == s.to + 1 && e.insert.length == 0 && I0(n.contentDOM, "Delete", 46)))
7915
7915
  return !0;
@@ -7998,7 +7998,7 @@ class md {
7998
7998
  this.lastSelectionOrigin = e, this.lastSelectionTime = Date.now();
7999
7999
  }
8000
8000
  constructor(e) {
8001
- this.view = e, this.lastKeyCode = 0, this.lastKeyTime = 0, this.lastTouchTime = 0, this.lastFocusTime = 0, this.lastScrollTop = 0, this.lastScrollLeft = 0, this.pendingIOSKey = void 0, this.tabFocusMode = -1, this.lastSelectionOrigin = null, this.lastSelectionTime = 0, this.lastContextMenu = 0, this.scrollHandlers = [], this.handlers = /* @__PURE__ */ Object.create(null), this.composing = -1, this.compositionFirstChange = null, this.compositionEndedAt = 0, this.compositionPendingKey = !1, this.compositionPendingChange = !1, this.mouseSelection = null, this.draggedContent = null, this.handleEvent = this.handleEvent.bind(this), this.notifiedFocused = e.hasFocus, L.safari && e.contentDOM.addEventListener("input", () => null), L.gecko && zd(e.contentDOM.ownerDocument);
8001
+ this.view = e, this.lastKeyCode = 0, this.lastKeyTime = 0, this.lastTouchTime = 0, this.lastFocusTime = 0, this.lastScrollTop = 0, this.lastScrollLeft = 0, this.pendingIOSKey = void 0, this.tabFocusMode = -1, this.lastSelectionOrigin = null, this.lastSelectionTime = 0, this.lastContextMenu = 0, this.scrollHandlers = [], this.handlers = /* @__PURE__ */ Object.create(null), this.composing = -1, this.compositionFirstChange = null, this.compositionEndedAt = 0, this.compositionPendingKey = !1, this.compositionPendingChange = !1, this.mouseSelection = null, this.draggedContent = null, this.handleEvent = this.handleEvent.bind(this), this.notifiedFocused = e.hasFocus, B.safari && e.contentDOM.addEventListener("input", () => null), B.gecko && zd(e.contentDOM.ownerDocument);
8002
8002
  }
8003
8003
  handleEvent(e) {
8004
8004
  !kd(this.view, e) || this.ignoreDuringComposition(e) || e.type == "keydown" && this.keydown(e) || (this.view.updateState != 0 ? Promise.resolve().then(() => this.runHandlers(e.type, e)) : this.runHandlers(e.type, e));
@@ -8032,17 +8032,17 @@ class md {
8032
8032
  keydown(e) {
8033
8033
  if (this.lastKeyCode = e.keyCode, this.lastKeyTime = Date.now(), e.keyCode == 9 && this.tabFocusMode > -1 && (!this.tabFocusMode || Date.now() <= this.tabFocusMode))
8034
8034
  return !0;
8035
- if (this.tabFocusMode > 0 && e.keyCode != 27 && J3.indexOf(e.keyCode) < 0 && (this.tabFocusMode = -1), L.android && L.chrome && !e.synthetic && (e.keyCode == 13 || e.keyCode == 8))
8035
+ if (this.tabFocusMode > 0 && e.keyCode != 27 && J3.indexOf(e.keyCode) < 0 && (this.tabFocusMode = -1), B.android && B.chrome && !e.synthetic && (e.keyCode == 13 || e.keyCode == 8))
8036
8036
  return this.view.observer.delayAndroidKey(e.key, e.keyCode), !0;
8037
8037
  let t;
8038
- return L.ios && !e.synthetic && !e.altKey && !e.metaKey && ((t = Q3.find((i) => i.keyCode == e.keyCode)) && !e.ctrlKey || wd.indexOf(e.key) > -1 && e.ctrlKey && !e.shiftKey) ? (this.pendingIOSKey = t || e, setTimeout(() => this.flushIOSKey(), 250), !0) : (e.keyCode != 229 && this.view.observer.forceFlush(), !1);
8038
+ return B.ios && !e.synthetic && !e.altKey && !e.metaKey && ((t = Q3.find((i) => i.keyCode == e.keyCode)) && !e.ctrlKey || wd.indexOf(e.key) > -1 && e.ctrlKey && !e.shiftKey) ? (this.pendingIOSKey = t || e, setTimeout(() => this.flushIOSKey(), 250), !0) : (e.keyCode != 229 && this.view.observer.forceFlush(), !1);
8039
8039
  }
8040
8040
  flushIOSKey(e) {
8041
8041
  let t = this.pendingIOSKey;
8042
8042
  return !t || t.key == "Enter" && e && e.from < e.to && /^\S+$/.test(e.insert.toString()) ? !1 : (this.pendingIOSKey = void 0, I0(this.view.contentDOM, t.key, t.keyCode, t instanceof KeyboardEvent ? t : void 0));
8043
8043
  }
8044
8044
  ignoreDuringComposition(e) {
8045
- return /^key/.test(e.type) ? this.composing > 0 ? !0 : L.safari && !L.ios && this.compositionPendingKey && Date.now() - this.compositionEndedAt < 100 ? (this.compositionPendingKey = !1, !0) : !1 : !1;
8045
+ return /^key/.test(e.type) ? this.composing > 0 ? !0 : B.safari && !B.ios && this.compositionPendingKey && Date.now() - this.compositionEndedAt < 100 ? (this.compositionPendingKey = !1, !0) : !1 : !1;
8046
8046
  }
8047
8047
  startMouseSelection(e) {
8048
8048
  this.mouseSelection && this.mouseSelection.destroy(), this.mouseSelection = e;
@@ -8162,11 +8162,11 @@ class xd {
8162
8162
  }
8163
8163
  function yd(n, e) {
8164
8164
  let t = n.state.facet(E3);
8165
- return t.length ? t[0](e) : L.mac ? e.metaKey : e.ctrlKey;
8165
+ return t.length ? t[0](e) : B.mac ? e.metaKey : e.ctrlKey;
8166
8166
  }
8167
8167
  function Sd(n, e) {
8168
8168
  let t = n.state.facet(B3);
8169
- return t.length ? t[0](e) : L.mac ? !e.altKey : !e.ctrlKey;
8169
+ return t.length ? t[0](e) : B.mac ? !e.altKey : !e.ctrlKey;
8170
8170
  }
8171
8171
  function _d(n, e) {
8172
8172
  let { main: t } = n.state.selection;
@@ -8193,7 +8193,7 @@ function kd(n, e) {
8193
8193
  return !1;
8194
8194
  return !0;
8195
8195
  }
8196
- const _t = /* @__PURE__ */ Object.create(null), vt = /* @__PURE__ */ Object.create(null), Z3 = L.ie && L.ie_version < 15 || L.ios && L.webkit_version < 604;
8196
+ const _t = /* @__PURE__ */ Object.create(null), vt = /* @__PURE__ */ Object.create(null), Z3 = B.ie && B.ie_version < 15 || B.ios && B.webkit_version < 604;
8197
8197
  function Cd(n) {
8198
8198
  let e = n.dom.parentNode;
8199
8199
  if (!e)
@@ -8296,7 +8296,7 @@ function vr(n, e) {
8296
8296
  let t = n.posAtCoords({ x: e.clientX, y: e.clientY }, !1);
8297
8297
  return { pos: t, bias: Od(n, t, e.clientX, e.clientY) };
8298
8298
  }
8299
- const Md = L.ie && L.ie_version <= 11;
8299
+ const Md = B.ie && B.ie_version <= 11;
8300
8300
  let wr = null, br = 0, xr = 0;
8301
8301
  function t1(n) {
8302
8302
  if (!Md)
@@ -8446,7 +8446,7 @@ vt.compositionstart = vt.compositionupdate = (n) => {
8446
8446
  n.observer.editContext || (n.inputState.compositionFirstChange == null && (n.inputState.compositionFirstChange = !0), n.inputState.composing < 0 && (n.inputState.composing = 0));
8447
8447
  };
8448
8448
  vt.compositionend = (n) => {
8449
- n.observer.editContext || (n.inputState.composing = -1, n.inputState.compositionEndedAt = Date.now(), n.inputState.compositionPendingKey = !0, n.inputState.compositionPendingChange = n.observer.pendingRecords().length > 0, n.inputState.compositionFirstChange = null, L.chrome && L.android ? n.observer.flushSoon() : n.inputState.compositionPendingChange ? Promise.resolve().then(() => n.observer.flush()) : setTimeout(() => {
8449
+ n.observer.editContext || (n.inputState.composing = -1, n.inputState.compositionEndedAt = Date.now(), n.inputState.compositionPendingKey = !0, n.inputState.compositionPendingChange = n.observer.pendingRecords().length > 0, n.inputState.compositionFirstChange = null, B.chrome && B.android ? n.observer.flushSoon() : n.inputState.compositionPendingChange ? Promise.resolve().then(() => n.observer.flush()) : setTimeout(() => {
8450
8450
  n.inputState.composing < 0 && n.docView.hasComposition && n.update([]);
8451
8451
  }, 50));
8452
8452
  };
@@ -8463,14 +8463,14 @@ _t.beforeinput = (n, e) => {
8463
8463
  }
8464
8464
  }
8465
8465
  let s;
8466
- if (L.chrome && L.android && (s = Q3.find((o) => o.inputType == e.inputType)) && (n.observer.delayAndroidKey(s.key, s.keyCode), s.key == "Backspace" || s.key == "Delete")) {
8466
+ if (B.chrome && B.android && (s = Q3.find((o) => o.inputType == e.inputType)) && (n.observer.delayAndroidKey(s.key, s.keyCode), s.key == "Backspace" || s.key == "Delete")) {
8467
8467
  let o = ((i = window.visualViewport) === null || i === void 0 ? void 0 : i.height) || 0;
8468
8468
  setTimeout(() => {
8469
8469
  var r;
8470
8470
  (((r = window.visualViewport) === null || r === void 0 ? void 0 : r.height) || 0) > o + 10 && n.hasFocus && (n.contentDOM.blur(), n.focus());
8471
8471
  }, 100);
8472
8472
  }
8473
- return L.ios && e.inputType == "deleteContentForward" && n.observer.flushSoon(), L.safari && e.inputType == "insertText" && n.inputState.composing >= 0 && setTimeout(() => vt.compositionend(n, e), 20), !1;
8473
+ return B.ios && e.inputType == "deleteContentForward" && n.observer.flushSoon(), B.safari && e.inputType == "insertText" && n.inputState.composing >= 0 && setTimeout(() => vt.compositionend(n, e), 20), !1;
8474
8474
  };
8475
8475
  const Sr = /* @__PURE__ */ new Set();
8476
8476
  function zd(n) {
@@ -9619,15 +9619,15 @@ const jd = /* @__PURE__ */ Os("." + Cs, {
9619
9619
  subtree: !0,
9620
9620
  attributes: !0,
9621
9621
  characterDataOldValue: !0
9622
- }, Mn = L.ie && L.ie_version <= 11;
9622
+ }, Mn = B.ie && B.ie_version <= 11;
9623
9623
  class qd {
9624
9624
  constructor(e) {
9625
9625
  this.view = e, this.active = !1, this.editContext = null, this.selectionRange = new D5(), this.selectionChanged = !1, this.delayedFlush = -1, this.resizeTimeout = -1, this.queue = [], this.delayedAndroidKey = null, this.flushingAndroidKey = -1, this.lastChange = 0, this.scrollTargets = [], this.intersection = null, this.resizeScroll = null, this.intersecting = !1, this.gapIntersection = null, this.gaps = [], this.printQuery = null, this.parentCheck = -1, this.dom = e.contentDOM, this.observer = new MutationObserver((t) => {
9626
9626
  for (let i of t)
9627
9627
  this.queue.push(i);
9628
- (L.ie && L.ie_version <= 11 || L.ios && e.composing) && t.some((i) => i.type == "childList" && i.removedNodes.length || i.type == "characterData" && i.oldValue.length > i.target.nodeValue.length) ? this.flushSoon() : this.flush();
9629
- }), window.EditContext && L.android && e.constructor.EDIT_CONTEXT !== !1 && // Chrome <126 doesn't support inverted selections in edit context (#1392)
9630
- !(L.chrome && L.chrome_version < 126) && (this.editContext = new Kd(e), e.state.facet(Gt) && (e.contentDOM.editContext = this.editContext.editContext)), Mn && (this.onCharData = (t) => {
9628
+ (B.ie && B.ie_version <= 11 || B.ios && e.composing) && t.some((i) => i.type == "childList" && i.removedNodes.length || i.type == "characterData" && i.oldValue.length > i.target.nodeValue.length) ? this.flushSoon() : this.flush();
9629
+ }), window.EditContext && B.android && e.constructor.EDIT_CONTEXT !== !1 && // Chrome <126 doesn't support inverted selections in edit context (#1392)
9630
+ !(B.chrome && B.chrome_version < 126) && (this.editContext = new Kd(e), e.state.facet(Gt) && (e.contentDOM.editContext = this.editContext.editContext)), Mn && (this.onCharData = (t) => {
9631
9631
  this.queue.push({
9632
9632
  target: t.target,
9633
9633
  type: "characterData",
@@ -9678,14 +9678,14 @@ class qd {
9678
9678
  t || (this.selectionChanged = !1);
9679
9679
  return;
9680
9680
  }
9681
- (L.ie && L.ie_version <= 11 || L.android && L.chrome) && !i.state.selection.main.empty && // (Selection.isCollapsed isn't reliable on IE)
9681
+ (B.ie && B.ie_version <= 11 || B.android && B.chrome) && !i.state.selection.main.empty && // (Selection.isCollapsed isn't reliable on IE)
9682
9682
  s.focusNode && f2(s.focusNode, s.focusOffset, s.anchorNode, s.anchorOffset) ? this.flushSoon() : this.flush(!1);
9683
9683
  }
9684
9684
  readSelectionRange() {
9685
9685
  let { view: e } = this, t = _2(e.root);
9686
9686
  if (!t)
9687
9687
  return !1;
9688
- let i = L.safari && e.root.nodeType == 11 && e.root.activeElement == this.dom && Yd(this.view, t) || t;
9688
+ let i = B.safari && e.root.nodeType == 11 && e.root.activeElement == this.dom && Yd(this.view, t) || t;
9689
9689
  if (!i || this.selectionRange.eq(i))
9690
9690
  return !1;
9691
9691
  let s = mi(this.dom, i);
@@ -9882,7 +9882,7 @@ class Kd {
9882
9882
  c.main.eq(s) || e.dispatch({ selection: c, userEvent: "select" });
9883
9883
  return;
9884
9884
  }
9885
- if ((L.mac || L.android) && h.from == r - 1 && /^\. ?$/.test(i.text) && e.contentDOM.getAttribute("autocorrect") == "off" && (h = { from: l, to: a, insert: ae.of([i.text.replace(".", " ")]) }), this.pendingContextChange = h, !e.state.readOnly) {
9885
+ if ((B.mac || B.android) && h.from == r - 1 && /^\. ?$/.test(i.text) && e.contentDOM.getAttribute("autocorrect") == "off" && (h = { from: l, to: a, insert: ae.of([i.text.replace(".", " ")]) }), this.pendingContextChange = h, !e.state.readOnly) {
9886
9886
  let c = this.to - this.from + (h.to - h.from + h.insert.length);
9887
9887
  so(e, h, O.single(this.toEditorPos(i.selectionStart, c), this.toEditorPos(i.selectionEnd, c)));
9888
9888
  }
@@ -10276,7 +10276,7 @@ class R {
10276
10276
  translate: "no",
10277
10277
  contenteditable: this.state.facet(Gt) ? "true" : "false",
10278
10278
  class: "cm-content",
10279
- style: `${L.tabSize}: ${this.state.tabSize}`,
10279
+ style: `${B.tabSize}: ${this.state.tabSize}`,
10280
10280
  role: "textbox",
10281
10281
  "aria-multiline": "true"
10282
10282
  };
@@ -10590,7 +10590,7 @@ class R {
10590
10590
  */
10591
10591
  get hasFocus() {
10592
10592
  var e;
10593
- return (this.dom.ownerDocument.hasFocus() || L.safari && ((e = this.inputState) === null || e === void 0 ? void 0 : e.lastContextMenu) > Date.now() - 3e4) && this.root.activeElement == this.contentDOM;
10593
+ return (this.dom.ownerDocument.hasFocus() || B.safari && ((e = this.inputState) === null || e === void 0 ? void 0 : e.lastContextMenu) > Date.now() - 3e4) && this.root.activeElement == this.contentDOM;
10594
10594
  }
10595
10595
  /**
10596
10596
  Put focus on the editor.
@@ -10772,7 +10772,7 @@ function Pr(n, e, t) {
10772
10772
  }
10773
10773
  return t;
10774
10774
  }
10775
- const Qd = L.mac ? "mac" : L.windows ? "win" : L.linux ? "linux" : "key";
10775
+ const Qd = B.mac ? "mac" : B.windows ? "win" : B.linux ? "linux" : "key";
10776
10776
  function Jd(n, e) {
10777
10777
  const t = n.split(/-(?!$)/);
10778
10778
  let i = t[t.length - 1];
@@ -10876,8 +10876,8 @@ function h1(n, e, t, i) {
10876
10876
  return !1;
10877
10877
  }, f = n[i], p, g;
10878
10878
  return f && (d(f[l + ti(s, e, !r)]) ? a = !0 : r && (e.altKey || e.metaKey || e.ctrlKey) && // Ctrl-Alt may be used for AltGr on Windows
10879
- !(L.windows && e.ctrlKey && e.altKey) && // Alt-combinations on macOS tend to be typed characters
10880
- !(L.mac && e.altKey && !e.ctrlKey) && (p = l0[e.keyCode]) && p != s ? (d(f[l + ti(p, e, !0)]) || e.shiftKey && (g = S2[e.keyCode]) != s && g != p && d(f[l + ti(g, e, !1)])) && (a = !0) : r && e.shiftKey && d(f[l + ti(s, e, !0)]) && (a = !0), !a && d(f._any) && (a = !0)), h && (a = !0), a && c && e.stopPropagation(), Ms = null, a;
10879
+ !(B.windows && e.ctrlKey && e.altKey) && // Alt-combinations on macOS tend to be typed characters
10880
+ !(B.mac && e.altKey && !e.ctrlKey) && (p = l0[e.keyCode]) && p != s ? (d(f[l + ti(p, e, !0)]) || e.shiftKey && (g = S2[e.keyCode]) != s && g != p && d(f[l + ti(g, e, !1)])) && (a = !0) : r && e.shiftKey && d(f[l + ti(s, e, !0)]) && (a = !0), !a && d(f._any) && (a = !0)), h && (a = !0), a && c && e.stopPropagation(), Ms = null, a;
10881
10881
  }
10882
10882
  class H2 {
10883
10883
  /**
@@ -10950,22 +10950,22 @@ function sf(n, e, t) {
10950
10950
  }
10951
10951
  function y(x, S, k) {
10952
10952
  let T = 1e9, z = -1e9, w = [];
10953
- function j(J, ie, ye, fe, ht) {
10953
+ function j(J, ne, ye, fe, ht) {
10954
10954
  let De = n.coordsAtPos(J, J == k.to ? -2 : 2), Xe = n.coordsAtPos(ye, ye == k.from ? 2 : -2);
10955
- !De || !Xe || (T = Math.min(De.top, Xe.top, T), z = Math.max(De.bottom, Xe.bottom, z), ht == we.LTR ? w.push(o && ie ? u : De.left, o && fe ? d : Xe.right) : w.push(!o && fe ? u : Xe.left, !o && ie ? d : De.right));
10955
+ !De || !Xe || (T = Math.min(De.top, Xe.top, T), z = Math.max(De.bottom, Xe.bottom, z), ht == we.LTR ? w.push(o && ne ? u : De.left, o && fe ? d : Xe.right) : w.push(!o && fe ? u : Xe.left, !o && ne ? d : De.right));
10956
10956
  }
10957
10957
  let W = x ?? k.from, Q = S ?? k.to;
10958
10958
  for (let J of n.visibleRanges)
10959
10959
  if (J.to > W && J.from < Q)
10960
- for (let ie = Math.max(J.from, W), ye = Math.min(J.to, Q); ; ) {
10961
- let fe = n.state.doc.lineAt(ie);
10960
+ for (let ne = Math.max(J.from, W), ye = Math.min(J.to, Q); ; ) {
10961
+ let fe = n.state.doc.lineAt(ne);
10962
10962
  for (let ht of n.bidiSpans(fe)) {
10963
10963
  let De = ht.from + fe.from, Xe = ht.to + fe.from;
10964
10964
  if (De >= ye)
10965
10965
  break;
10966
- Xe > ie && j(Math.max(De, ie), x == null && De <= W, Math.min(Xe, ye), S == null && Xe >= Q, ht.dir);
10966
+ Xe > ne && j(Math.max(De, ne), x == null && De <= W, Math.min(Xe, ye), S == null && Xe >= Q, ht.dir);
10967
10967
  }
10968
- if (ie = fe.to + 1, ie >= ye)
10968
+ if (ne = fe.to + 1, ne >= ye)
10969
10969
  break;
10970
10970
  }
10971
10971
  return w.length == 0 && j(W, x == null, Q, S == null, n.textDirection), { top: T, bottom: z, horizontal: w };
@@ -11512,7 +11512,7 @@ const Tn = /* @__PURE__ */ I.define({
11512
11512
  combine: (n) => {
11513
11513
  var e, t, i;
11514
11514
  return {
11515
- position: L.ios ? "absolute" : ((e = n.find((s) => s.position)) === null || e === void 0 ? void 0 : e.position) || "fixed",
11515
+ position: B.ios ? "absolute" : ((e = n.find((s) => s.position)) === null || e === void 0 ? void 0 : e.position) || "fixed",
11516
11516
  parent: ((t = n.find((s) => s.parent)) === null || t === void 0 ? void 0 : t.parent) || null,
11517
11517
  tooltipSpace: ((i = n.find((s) => s.tooltipSpace)) === null || i === void 0 ? void 0 : i.tooltipSpace) || Ef
11518
11518
  };
@@ -11580,7 +11580,7 @@ const Tn = /* @__PURE__ */ I.define({
11580
11580
  let n = 1, e = 1, t = !1;
11581
11581
  if (this.position == "fixed" && this.manager.tooltipViews.length) {
11582
11582
  let { dom: o } = this.manager.tooltipViews[0];
11583
- if (L.gecko)
11583
+ if (B.gecko)
11584
11584
  t = o.offsetParent != this.container.ownerDocument.body;
11585
11585
  else if (o.style.top == n2 && o.style.left == "0px") {
11586
11586
  let r = o.getBoundingClientRect();
@@ -13444,7 +13444,7 @@ function l7(n) {
13444
13444
  var e;
13445
13445
  let { buffer: t, nodeSet: i, maxBufferLength: s = x1, reused: o = [], minRepeatType: r = i.types.length } = n, l = Array.isArray(t) ? new uo(t, t.length) : t, a = i.types, h = 0, c = 0;
13446
13446
  function u(x, S, k, T, z, w) {
13447
- let { id: j, start: W, end: Q, size: J } = l, ie = c, ye = h;
13447
+ let { id: j, start: W, end: Q, size: J } = l, ne = c, ye = h;
13448
13448
  for (; J < 0; )
13449
13449
  if (l.next(), J == -1) {
13450
13450
  let bt = o[j];
@@ -13469,20 +13469,20 @@ function l7(n) {
13469
13469
  l.next();
13470
13470
  let Qe = [], ut = [], $t = j >= r ? j : -1, Qt = 0, M = Q;
13471
13471
  for (; l.pos > bt; )
13472
- $t >= 0 && l.id == $t && l.size >= 0 ? (l.end <= M - s && (p(Qe, ut, W, Qt, l.end, M, $t, ie, ye), Qt = Qe.length, M = l.end), l.next()) : w > 2500 ? d(W, bt, Qe, ut) : u(W, bt, Qe, ut, $t, w + 1);
13473
- if ($t >= 0 && Qt > 0 && Qt < Qe.length && p(Qe, ut, W, Qt, W, M, $t, ie, ye), Qe.reverse(), ut.reverse(), $t > -1 && Qt > 0) {
13472
+ $t >= 0 && l.id == $t && l.size >= 0 ? (l.end <= M - s && (p(Qe, ut, W, Qt, l.end, M, $t, ne, ye), Qt = Qe.length, M = l.end), l.next()) : w > 2500 ? d(W, bt, Qe, ut) : u(W, bt, Qe, ut, $t, w + 1);
13473
+ if ($t >= 0 && Qt > 0 && Qt < Qe.length && p(Qe, ut, W, Qt, W, M, $t, ne, ye), Qe.reverse(), ut.reverse(), $t > -1 && Qt > 0) {
13474
13474
  let H = f(fe, ye);
13475
13475
  ht = po(fe, Qe, ut, 0, Qe.length, 0, Q - W, H, H);
13476
13476
  } else
13477
- ht = g(fe, Qe, ut, Q - W, ie - Q, ye);
13477
+ ht = g(fe, Qe, ut, Q - W, ne - Q, ye);
13478
13478
  }
13479
13479
  k.push(ht), T.push(Xe);
13480
13480
  }
13481
13481
  function d(x, S, k, T) {
13482
13482
  let z = [], w = 0, j = -1;
13483
13483
  for (; l.pos > S; ) {
13484
- let { id: W, start: Q, end: J, size: ie } = l;
13485
- if (ie > 4)
13484
+ let { id: W, start: Q, end: J, size: ne } = l;
13485
+ if (ne > 4)
13486
13486
  l.next();
13487
13487
  else {
13488
13488
  if (j > -1 && Q < j)
@@ -13492,8 +13492,8 @@ function l7(n) {
13492
13492
  }
13493
13493
  if (w) {
13494
13494
  let W = new Uint16Array(w * 4), Q = z[z.length - 2];
13495
- for (let J = z.length - 3, ie = 0; J >= 0; J -= 3)
13496
- W[ie++] = z[J], W[ie++] = z[J + 1] - Q, W[ie++] = z[J + 2] - Q, W[ie++] = ie;
13495
+ for (let J = z.length - 3, ne = 0; J >= 0; J -= 3)
13496
+ W[ne++] = z[J], W[ne++] = z[J + 1] - Q, W[ne++] = z[J + 2] - Q, W[ne++] = ne;
13497
13497
  k.push(new c0(W, z[2] - Q, i)), T.push(Q - x);
13498
13498
  }
13499
13499
  }
@@ -13509,10 +13509,10 @@ function l7(n) {
13509
13509
  };
13510
13510
  }
13511
13511
  function p(x, S, k, T, z, w, j, W, Q) {
13512
- let J = [], ie = [];
13512
+ let J = [], ne = [];
13513
13513
  for (; x.length > T; )
13514
- J.push(x.pop()), ie.push(S.pop() + k - z);
13515
- x.push(g(i.types[j], J, ie, w - z, W - w, Q)), S.push(z - k);
13514
+ J.push(x.pop()), ne.push(S.pop() + k - z);
13515
+ x.push(g(i.types[j], J, ne, w - z, W - w, Q)), S.push(z - k);
13516
13516
  }
13517
13517
  function g(x, S, k, T, z, w, j) {
13518
13518
  if (w) {
@@ -13533,11 +13533,11 @@ function l7(n) {
13533
13533
  W.size = T, W.start = z, W.skip = w, w += 4, T += 4, k.next();
13534
13534
  continue;
13535
13535
  }
13536
- let ie = k.pos - J;
13537
- if (J < 0 || ie < Q || k.start < j)
13536
+ let ne = k.pos - J;
13537
+ if (J < 0 || ne < Q || k.start < j)
13538
13538
  break;
13539
13539
  let ye = k.id >= r ? 4 : 0, fe = k.start;
13540
- for (k.next(); k.pos > ie; ) {
13540
+ for (k.next(); k.pos > ne; ) {
13541
13541
  if (k.size < 0)
13542
13542
  if (k.size == -3)
13543
13543
  ye += 4;
@@ -20391,7 +20391,7 @@ const Dm = /* @__PURE__ */ R.inputHandler.of((n, e, t, i, s) => {
20391
20391
  parent: document.querySelector("#xml-editor")
20392
20392
  });
20393
20393
  s.dom.style.width = "100%";
20394
- }), (s, o) => (C(), B("div", Tm, [
20394
+ }), (s, o) => (C(), E("div", Tm, [
20395
20395
  K("div", Am, null, 512)
20396
20396
  ]));
20397
20397
  }
@@ -20405,7 +20405,7 @@ const Dm = /* @__PURE__ */ R.inputHandler.of((n, e, t, i, s) => {
20405
20405
  const e = n, t = oe(() => e.blobUrl), i = oe(() => [e.blobUrl]);
20406
20406
  return (s, o) => {
20407
20407
  const r = F("el-image");
20408
- return C(), B("div", Vm, [
20408
+ return C(), E("div", Vm, [
20409
20409
  q(r, {
20410
20410
  class: "render-img",
20411
20411
  src: t.value,
@@ -20458,45 +20458,45 @@ const Dm = /* @__PURE__ */ R.inputHandler.of((n, e, t, i, s) => {
20458
20458
  }), g = oe(() => !l && !a && !c && !u && !d && !f && !p);
20459
20459
  return nn(() => {
20460
20460
  t("destroy");
20461
- }), (m, v) => (C(), B("div", Lm, [
20462
- u.value ? (C(), B("div", Rm, [
20461
+ }), (m, v) => (C(), E("div", Lm, [
20462
+ u.value ? (C(), E("div", Rm, [
20463
20463
  q(Yu, {
20464
20464
  fileName: o.value,
20465
20465
  blobUrl: s.value
20466
20466
  }, null, 8, ["fileName", "blobUrl"])
20467
- ])) : te("", !0),
20468
- d.value ? (C(), B("div", Im, [
20467
+ ])) : ie("", !0),
20468
+ d.value ? (C(), E("div", Im, [
20469
20469
  q(Qu, {
20470
20470
  fileName: o.value,
20471
20471
  blobUrl: s.value
20472
20472
  }, null, 8, ["fileName", "blobUrl"])
20473
- ])) : te("", !0),
20474
- f.value ? (C(), B("div", Hm, [
20473
+ ])) : ie("", !0),
20474
+ f.value ? (C(), E("div", Hm, [
20475
20475
  q(t5, {
20476
20476
  fileName: o.value,
20477
20477
  blobUrl: s.value
20478
20478
  }, null, 8, ["fileName", "blobUrl"])
20479
- ])) : te("", !0),
20480
- h.value ? (C(), B("div", Nm, [
20479
+ ])) : ie("", !0),
20480
+ h.value ? (C(), E("div", Nm, [
20481
20481
  q(zm, {
20482
20482
  fileName: o.value,
20483
20483
  blobUrl: s.value
20484
20484
  }, null, 8, ["fileName", "blobUrl"])
20485
- ])) : te("", !0),
20486
- p.value ? (C(), B("div", $m, [
20485
+ ])) : ie("", !0),
20486
+ p.value ? (C(), E("div", $m, [
20487
20487
  q(Bm, {
20488
20488
  fileName: o.value,
20489
20489
  blobUrl: s.value
20490
20490
  }, null, 8, ["fileName", "blobUrl"])
20491
- ])) : !u.value && !d.value && !f.value && !h.value && !p.value ? (C(), B("div", Wm, [
20491
+ ])) : !u.value && !d.value && !f.value && !h.value && !p.value ? (C(), E("div", Wm, [
20492
20492
  q(ju, {
20493
20493
  fileName: o.value,
20494
20494
  blobUrl: s.value
20495
20495
  }, null, 8, ["fileName", "blobUrl"])
20496
- ])) : te("", !0),
20497
- g.value ? (C(), B("div", Gm, v[0] || (v[0] = [
20496
+ ])) : ie("", !0),
20497
+ g.value ? (C(), E("div", Gm, v[0] || (v[0] = [
20498
20498
  K("div", null, "当前文件格式暂不支持预览", -1)
20499
- ]))) : te("", !0)
20499
+ ]))) : ie("", !0)
20500
20500
  ]));
20501
20501
  }
20502
20502
  }, Ao = /* @__PURE__ */ Se(Fm, [["__scopeId", "data-v-4049578c"]]), jm = {
@@ -20589,7 +20589,7 @@ const Dm = /* @__PURE__ */ R.inputHandler.of((n, e, t, i, s) => {
20589
20589
  };
20590
20590
  return (y, _) => {
20591
20591
  const x = F("el-button"), S = F("svg-icon"), k = F("el-icon"), T = F("el-upload");
20592
- return t != null && t.isEdit ? (C(), B("div", jm, [
20592
+ return t != null && t.isEdit ? (C(), E("div", jm, [
20593
20593
  q(x, {
20594
20594
  type: "primary",
20595
20595
  onClick: u,
@@ -20602,7 +20602,7 @@ const Dm = /* @__PURE__ */ R.inputHandler.of((n, e, t, i, s) => {
20602
20602
  __: [2]
20603
20603
  }),
20604
20604
  K("div", Um, [
20605
- (C(!0), B(pe, null, ve(s.value, (z) => (C(), B("div", {
20605
+ (C(!0), E(pe, null, ve(s.value, (z) => (C(), E("div", {
20606
20606
  class: "upload-content-title",
20607
20607
  key: z,
20608
20608
  style: { display: "flex", "justify-content": "space-between", width: "100%" }
@@ -20710,7 +20710,7 @@ const Dm = /* @__PURE__ */ R.inputHandler.of((n, e, t, i, s) => {
20710
20710
  ]),
20711
20711
  _: 1
20712
20712
  }, 8, ["visible"])
20713
- ])) : te("", !0);
20713
+ ])) : ie("", !0);
20714
20714
  };
20715
20715
  }
20716
20716
  }, ev = /* @__PURE__ */ Se(Zm, [["__scopeId", "data-v-c950e225"]]);
@@ -21304,7 +21304,7 @@ const av = { class: "signature-wrap" }, cv = { class: "signature-types" }, hv =
21304
21304
  return (h, c) => {
21305
21305
  var p, g, m;
21306
21306
  const u = F("el-input-number"), d = F("el-color-picker"), f = F("el-button");
21307
- return C(), B(pe, null, [
21307
+ return C(), E(pe, null, [
21308
21308
  K("div", av, [
21309
21309
  se(h.$slots, "signatureRender", {}, void 0, !0),
21310
21310
  K("div", cv, [
@@ -21437,9 +21437,9 @@ const av = { class: "signature-wrap" }, cv = { class: "signature-types" }, hv =
21437
21437
  t("destroy");
21438
21438
  }), (u, d) => {
21439
21439
  const f = F("el-icon");
21440
- return C(), B("div", gv, [
21440
+ return C(), E("div", gv, [
21441
21441
  K("div", mv, [
21442
- (C(!0), B(pe, null, ve(s.value, (p, g) => (C(), B("div", {
21442
+ (C(!0), E(pe, null, ve(s.value, (p, g) => (C(), E("div", {
21443
21443
  key: g,
21444
21444
  class: Fl(["left-item", {
21445
21445
  "active-item": g == o.value
@@ -21671,7 +21671,7 @@ const av = { class: "signature-wrap" }, cv = { class: "signature-types" }, hv =
21671
21671
  }), f.on("text-change", function() {
21672
21672
  l.value = f.root.innerHTML, r("update:modelValue", l.value);
21673
21673
  });
21674
- }), (f, p) => (C(), B("div", Mv, [
21674
+ }), (f, p) => (C(), E("div", Mv, [
21675
21675
  K("div", {
21676
21676
  ref_key: "quillEditorRef",
21677
21677
  ref: i,
@@ -21752,19 +21752,19 @@ const Pv = ["onDblclick"], zv = {
21752
21752
  "tab-position": t == null ? void 0 : t.tabPosition
21753
21753
  }, {
21754
21754
  default: V(() => [
21755
- (C(!0), B(pe, null, ve(s.value, (p, g) => (C(), G(d, {
21755
+ (C(!0), E(pe, null, ve(s.value, (p, g) => (C(), G(d, {
21756
21756
  key: g,
21757
21757
  name: p == null ? void 0 : p.value
21758
21758
  }, {
21759
21759
  label: V(() => {
21760
21760
  var m;
21761
21761
  return [
21762
- p != null && p.label ? (C(), B("div", {
21762
+ p != null && p.label ? (C(), E("div", {
21763
21763
  key: 0,
21764
21764
  onDblclick: (v) => l(p)
21765
- }, Ee(p == null ? void 0 : p.label), 41, Pv)) : te("", !0),
21766
- p != null && p.contents && ((m = p == null ? void 0 : p.contents) == null ? void 0 : m.length) > 0 ? (C(), B("div", zv, [
21767
- (C(!0), B(pe, null, ve(p == null ? void 0 : p.contents, (v, b) => (C(), B("div", {
21765
+ }, Ee(p == null ? void 0 : p.label), 41, Pv)) : ie("", !0),
21766
+ p != null && p.contents && ((m = p == null ? void 0 : p.contents) == null ? void 0 : m.length) > 0 ? (C(), E("div", zv, [
21767
+ (C(!0), E(pe, null, ve(p == null ? void 0 : p.contents, (v, b) => (C(), E("div", {
21768
21768
  key: b,
21769
21769
  class: "tabs-children"
21770
21770
  }, [
@@ -21773,14 +21773,14 @@ const Pv = ["onDblclick"], zv = {
21773
21773
  modelValue: v.value,
21774
21774
  "onUpdate:modelValue": (y) => v.value = y,
21775
21775
  content: (v == null ? void 0 : v.contents) ?? []
21776
- }, null, 8, ["modelValue", "onUpdate:modelValue", "content"])) : te("", !0)
21776
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "content"])) : ie("", !0)
21777
21777
  ]))), 128))
21778
- ])) : te("", !0),
21778
+ ])) : ie("", !0),
21779
21779
  se(c.$slots, `${(p == null ? void 0 : p.value) ?? ""}_header`, {}, void 0, !0)
21780
21780
  ];
21781
21781
  }),
21782
21782
  default: V(() => [
21783
- (C(!0), B(pe, null, ve(p == null ? void 0 : p.children, (m, v) => (C(), B("div", {
21783
+ (C(!0), E(pe, null, ve(p == null ? void 0 : p.children, (m, v) => (C(), E("div", {
21784
21784
  key: v,
21785
21785
  class: "tabs-contents"
21786
21786
  }, [
@@ -21800,7 +21800,7 @@ const Pv = ["onDblclick"], zv = {
21800
21800
  ]),
21801
21801
  key: "0"
21802
21802
  } : void 0
21803
- ]), 1064, ["modelValue", "onUpdate:modelValue", "content"])) : te("", !0)
21803
+ ]), 1064, ["modelValue", "onUpdate:modelValue", "content"])) : ie("", !0)
21804
21804
  ]))), 128))
21805
21805
  ]),
21806
21806
  _: 2