ss-component-new 1.3.263 → 1.3.265

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 (116) hide show
  1. package/dist/{MTLLoader-Di_vHXvU.cjs → MTLLoader-BRfS13hK.cjs} +1 -1
  2. package/dist/{MTLLoader-CMHj3O6V.js → MTLLoader-D8VMNtGp.js} +1 -1
  3. package/dist/{OrbitControls-BafesYOu.js → OrbitControls-BvLzK-Di.js} +1 -1
  4. package/dist/{OrbitControls-Dm84cbvs.cjs → OrbitControls-BxF-qiPO.cjs} +1 -1
  5. package/dist/{URDFLoader-RpVi-sG9.js → URDFLoader-ConNNaVO.js} +2 -2
  6. package/dist/{URDFLoader-BbO2ANmG.cjs → URDFLoader-gjI3v2LR.cjs} +1 -1
  7. package/dist/{animationData-Dx5mlcwZ.cjs → animationData-BhJXWLhV.cjs} +1 -1
  8. package/dist/{animationData-U9Ahgu5Q.js → animationData-CJS9oyum.js} +3 -3
  9. package/dist/{array-eoEZosoh.js → array-CO-1w6WF.js} +94 -94
  10. package/dist/{array-Dran49KI.cjs → array-Do8KzaU2.cjs} +1 -1
  11. package/dist/clone-BP7V3hfh.cjs +1 -0
  12. package/dist/{clone-B213wVHW.js → clone-D7E5hREr.js} +1 -1
  13. package/dist/{eleIcon-CKmHXMMs.cjs → eleIcon-C11KaYQa.cjs} +1 -1
  14. package/dist/{eleIcon-B9v9qivK.js → eleIcon-Qs-IhlZG.js} +1 -1
  15. package/dist/{iconfont-Ad0qAXrD.js → iconfont-C1RXSbUW.js} +2 -2
  16. package/dist/{iconfont-CdUY4jGY.cjs → iconfont-DC_0E2eX.cjs} +1 -1
  17. package/dist/{index-C8iHedd-.cjs → index-7XL99-I7.cjs} +1 -1
  18. package/dist/{index-tR1QzToB.cjs → index-BFh4Zgbo.cjs} +1 -1
  19. package/dist/{index-BzcWcIFK.cjs → index-BJFdzcu-.cjs} +1 -1
  20. package/dist/{index-DZ3VfxFJ.js → index-BJQRsidd.js} +27 -27
  21. package/dist/{index-C3Ptg78M.cjs → index-BKrFs-sr.cjs} +1 -1
  22. package/dist/{index-4153BFWl.cjs → index-BO6uJOQU.cjs} +1 -1
  23. package/dist/{index-B1hvIsWF.cjs → index-BOiOA0aY.cjs} +1 -1
  24. package/dist/{index-BAfClAl7.cjs → index-BWFaeJP2.cjs} +1 -1
  25. package/dist/{index-CaefM49R.js → index-BZlTMv49.js} +308 -312
  26. package/dist/{index-8WGtmbRz.cjs → index-BbSn9a8D.cjs} +1 -1
  27. package/dist/{index-BNICiMKI.js → index-BfJGUzJg.js} +1 -1
  28. package/dist/{index-Cv-caPmS.js → index-Bkb9eoPQ.js} +3 -3
  29. package/dist/{index-BMKOhAua.js → index-BofZR5RH.js} +2 -2
  30. package/dist/{index-CWePfaws.js → index-Bpy_AyO6.js} +4177 -4096
  31. package/dist/{index-Cp4vuXJ2.js → index-BvSxcyl4.js} +1380 -1379
  32. package/dist/{index-DiRRa2aL.cjs → index-BzhbKt4T.cjs} +1 -1
  33. package/dist/{index-jU-5AL6b.cjs → index-C4Y7wcXY.cjs} +1 -1
  34. package/dist/{index-CPkQWJ4L.cjs → index-C595AB38.cjs} +1 -1
  35. package/dist/{index-CuXU0jDA.cjs → index-C8ao-G6c.cjs} +1 -1
  36. package/dist/{index-C6TMhjBL.js → index-CFDR92ln.js} +1 -1
  37. package/dist/{index-CFQ2i3H-.js → index-CKD1gD0J.js} +2 -2
  38. package/dist/{index-CDIharql.cjs → index-CLmX_Tff.cjs} +1 -1
  39. package/dist/{index-BHbbxGc-.js → index-CU-e0rmf.js} +1 -1
  40. package/dist/{index-DY-ufi0D.js → index-CafTV2An.js} +2 -2
  41. package/dist/{index-CR0p1rBc.js → index-Cavn-YZm.js} +10 -10
  42. package/dist/{index-DTCwgUtZ.cjs → index-CdTt_3JS.cjs} +1 -1
  43. package/dist/{index-CYMg6uja.cjs → index-Cf4IsSFa.cjs} +1 -1
  44. package/dist/{index-y8S00w40.js → index-ChhoW6TZ.js} +1 -1
  45. package/dist/{index-vzXAzEFZ.js → index-Chwd-jFh.js} +1 -1
  46. package/dist/{index-Gsgko7hZ.cjs → index-CmHq3tFQ.cjs} +1 -1
  47. package/dist/{index-D3GXDtyf.js → index-CmNUI9Dx.js} +4 -4
  48. package/dist/{index-BScuBbm4.js → index-Cxf4L2C4.js} +1 -1
  49. package/dist/{index-BEYWVksD.cjs → index-CyeEgU-n.cjs} +1 -1
  50. package/dist/{index-BBMjIUUH.js → index-D7qyfjt3.js} +2 -2
  51. package/dist/{index-BaZZkDhO.js → index-D7sije4o.js} +5 -5
  52. package/dist/{index-nm88GmCB.cjs → index-DCG57Oaz.cjs} +1 -1
  53. package/dist/{index-BEIhV9SX.js → index-DHzkGq3t.js} +4 -4
  54. package/dist/{index-BZaGEU1N.js → index-DK0qUFSH.js} +3 -3
  55. package/dist/{index-CS-flako.js → index-DPpmke3g.js} +11 -11
  56. package/dist/{index-CwH35J8v.js → index-DUZrxSPf.js} +2 -2
  57. package/dist/{index-CqSs1WV7.cjs → index-DV5lzA9Q.cjs} +1 -1
  58. package/dist/{index-D2U6CU-M.js → index-DVDjoRsO.js} +9 -9
  59. package/dist/index-DYYEj539.cjs +1 -0
  60. package/dist/{index-CkCH4z-k.js → index-DYz0ZI-L.js} +2 -2
  61. package/dist/{index-Bl3A_LXg.cjs → index-DgW4sDF7.cjs} +1 -1
  62. package/dist/{index-D8Mby6nK.cjs → index-DhfYAy_9.cjs} +1 -1
  63. package/dist/{index-C2veg6vn.cjs → index-Dl4HowOE.cjs} +1 -1
  64. package/dist/{index-D1QwVcxQ.js → index-DmO1nv0b.js} +4 -4
  65. package/dist/{index-uvNkzWF3.js → index-Dr3OIHpL.js} +6 -6
  66. package/dist/{index-CRZHUWpC.js → index-DuO-4UHD.js} +4 -4
  67. package/dist/{index-BT9aMk1B.cjs → index-DvJs92nq.cjs} +1 -1
  68. package/dist/index-DvP-61i9.cjs +25 -0
  69. package/dist/{index-Bz81pzIe.cjs → index-DxG5XEpB.cjs} +1 -1
  70. package/dist/{index-BzPHIMQx.js → index-DxisqTQD.js} +2 -2
  71. package/dist/{index-B8C1fJsm.js → index-HINEykmd.js} +2 -2
  72. package/dist/{index-DsTdVkqf.cjs → index-JhrF__bR.cjs} +1 -1
  73. package/dist/{index-CmV4n5g0.js → index-Sn8IBb_S.js} +2 -2
  74. package/dist/{index-MKPfUvIM.cjs → index-U3fT_6OJ.cjs} +1 -1
  75. package/dist/{index-Bb7RsNv1.cjs → index-ef_JkQ_m.cjs} +1 -1
  76. package/dist/{index-Bw2EYWc_.js → index-exGY0x5Q.js} +1 -1
  77. package/dist/{index-BMJrv3M8.js → index-g7SNeY5K.js} +3 -3
  78. package/dist/{index-CDAD78uL.cjs → index-j6fW0QJu.cjs} +1 -1
  79. package/dist/{index-Cm-U9tfu.cjs → index-kHutaAUM.cjs} +1 -1
  80. package/dist/index-y1vX8Bel.cjs +15 -0
  81. package/dist/{index.vue_vue_type_style_index_0_scoped_6b92e250_lang-QdQaZtjW.js → index.vue_vue_type_style_index_0_scoped_6b92e250_lang-Agf6lYax.js} +6 -6
  82. package/dist/{index.vue_vue_type_style_index_0_scoped_6b92e250_lang-DpyjUeBm.cjs → index.vue_vue_type_style_index_0_scoped_6b92e250_lang-CmAhf3IM.cjs} +2 -2
  83. package/dist/{isString-BHK7vN98.js → isString-5gdZqrH_.js} +3 -3
  84. package/dist/{isString-Jc6FCt92.cjs → isString-Dnr13OoL.cjs} +1 -1
  85. package/dist/{main-rVXsTF8F.cjs → main-BG8jFyLW.cjs} +1 -1
  86. package/dist/{main-NwPOo-yo.js → main-gnkUq3Tg.js} +4 -4
  87. package/dist/{menuIndex-C-KEoRiC.js → menuIndex--SYWTQkJ.js} +1 -1
  88. package/dist/{menuIndex-zfzmkCa8.cjs → menuIndex-C4yFm5YT.cjs} +1 -1
  89. package/dist/{request-BBDPqFah.cjs → request-D7fe_DR0.cjs} +6 -6
  90. package/dist/{request-DeDL4lsA.js → request-jbRhtseH.js} +75 -73
  91. package/dist/ss-component.cjs +1 -1
  92. package/dist/ss-component.css +2 -2
  93. package/dist/ss-component.js +12 -12
  94. package/dist/ss-component2.cjs +1 -1
  95. package/dist/ss-component2.js +13 -13
  96. package/dist/{threeModel-CSaOx5lv.js → threeModel-B0Uia8ZI.js} +5 -5
  97. package/dist/{threeModel-eVInH7HH.cjs → threeModel-BQsHSk0V.cjs} +1 -1
  98. package/dist/{threePreview-BYlnXcXx.js → threePreview-BIyY9BEI.js} +5 -5
  99. package/dist/{threePreview-CtxHQbWO.cjs → threePreview-BnQQdRAk.cjs} +1 -1
  100. package/dist/{threeSceneView-BGJJb7MR.js → threeSceneView-BDZfUrOx.js} +12 -12
  101. package/dist/{threeSceneView-DjOeIm6C.cjs → threeSceneView-DR7Lpd4V.cjs} +1 -1
  102. package/dist/{threeSceneViewForCPMPIP-DRuYDJgc.js → threeSceneViewForCPMPIP-Bkg9mJ4o.js} +9 -9
  103. package/dist/{threeSceneViewForCPMPIP-BimvMbbp.cjs → threeSceneViewForCPMPIP-EdQPv11A.cjs} +1 -1
  104. package/dist/{threeTrackPathView-DW3j8iWv.cjs → threeTrackPathView-BHtoT2fJ.cjs} +1 -1
  105. package/dist/{threeTrackPathView-DZikD8gq.js → threeTrackPathView-pK2CNU6U.js} +6 -6
  106. package/dist/{threeViewerHost-BDeO3Dsm.js → threeViewerHost-BDUjZjRT.js} +3 -3
  107. package/dist/{threeViewerHost-CtuY-X_d.cjs → threeViewerHost-CFIUA0KH.cjs} +1 -1
  108. package/dist/{urdfTree-CGYdreFc.js → urdfTree-Ch4bMDN_.js} +1 -1
  109. package/dist/{urdfTree-BdN94tte.cjs → urdfTree-D4xJ2Tm1.cjs} +1 -1
  110. package/dist/{workpieceTreePanel-Dz5kCzkH.js → workpieceTreePanel-BaKNnSn7.js} +4 -4
  111. package/dist/{workpieceTreePanel-CJe7DqlA.cjs → workpieceTreePanel-CfLpfmqR.cjs} +1 -1
  112. package/package.json +1 -1
  113. package/dist/clone-DkmYhMPj.cjs +0 -1
  114. package/dist/index-CHq0b-zB.cjs +0 -1
  115. package/dist/index-ClouXXMe.cjs +0 -25
  116. package/dist/index-DgroST_b.cjs +0 -15
@@ -1,15 +1,15 @@
1
1
  import { ref as G, resolveComponent as X, createBlock as F, openBlock as _, computed as n2, watch as q2, createElementBlock as E, createVNode as t2, withCtx as H, createElementVNode as o2, Fragment as _2, renderList as T2, withModifiers as De, normalizeClass as Xe, toDisplayString as L2, createSlots as ve, renderSlot as w2, nextTick as C0, defineComponent as t0, onMounted as _e, createTextVNode as B0, isRef as rr, isReactive as ar, toRaw as cr, createCommentVNode as c2, onBeforeUnmount as O4, normalizeStyle as A0, withDirectives as $t, resolveDynamicComponent as s3, vShow as U1, normalizeProps as hr, guardReactiveProps as dr, unref as E0, mergeProps as u1, reactive as E3, inject as Q3, watchEffect as Ve, onUnmounted as f1, resolveDirective as ur, h as Si, toRefs as fr } from "vue";
2
- import { ad as pr, ae as gr, U as Bs, g as mr, af as vr, ag as wr, ah as xr, ab as Ci, ai as br, aj as _r, ak as yr, al as Sr, am as ki, an as Di } from "./index.vue_vue_type_style_index_0_scoped_6b92e250_lang-QdQaZtjW.js";
2
+ import { ad as pr, ae as gr, U as Bs, g as mr, af as vr, ag as wr, ah as xr, ab as Ci, ai as br, aj as _r, ak as yr, al as Sr, am as ki, an as Di } from "./index.vue_vue_type_style_index_0_scoped_6b92e250_lang-Agf6lYax.js";
3
3
  import { _ as P2 } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
4
  import { S as xt } from "./index-BHtNKL1L.js";
5
- import { k as Ls, l as Hs, E as B3, g as M6, at as Cr, s as kr, au as Dr, ak as Or, al as Mr, as as Tr, b as zr } from "./request-DeDL4lsA.js";
6
- import { a9 as Pr, aa as Oi, a as M4, p as ut, s as bt, u as T4, c as L0, a5 as ue, h as Vr, k as Is, t as Ar, a7 as T6, j as Er } from "./index-y8S00w40.js";
5
+ import { m as Ls, n as Hs, E as B3, i as M6, av as Cr, s as kr, aw as Dr, am as Or, an as Mr, au as Tr, b as zr } from "./request-jbRhtseH.js";
6
+ import { a9 as Pr, aa as Oi, a as M4, p as ut, s as bt, u as T4, c as L0, a5 as ue, h as Vr, k as Is, t as Ar, a7 as T6, j as Er } from "./index-ChhoW6TZ.js";
7
7
  import { _ as ge } from "./index.vue_vue_type_script_setup_true_lang-DRzriV-s.js";
8
- import { e as Mi, G as Gs } from "./index-D1QwVcxQ.js";
8
+ import { e as Mi, G as Gs } from "./index-DmO1nv0b.js";
9
9
  /* empty css */
10
10
  import { s as z4 } from "./index-CnjGqJZS.js";
11
- import { T as Ti, a as Br } from "./threeViewerHost-BDeO3Dsm.js";
12
- import { A as Lr } from "./index-DZ3VfxFJ.js";
11
+ import { T as Ti, a as Br } from "./threeViewerHost-BDUjZjRT.js";
12
+ import { A as Lr } from "./index-BJQRsidd.js";
13
13
  var Hr = "[object Date]";
14
14
  function Ir(n) {
15
15
  return Ls(n) && Hs(n) == Hr;
@@ -108,64 +108,61 @@ const Nr = {
108
108
  get() {
109
109
  return t.modelValue ?? t.value ?? "";
110
110
  },
111
- set(v) {
112
- i("update:modelValue", v), i("update:value", v);
111
+ set(m) {
112
+ i("update:modelValue", m), i("update:value", m);
113
113
  }
114
114
  }), o = G(s.value), l = G(null), r = G(null), a = G(!1), h = G(-1);
115
- q2(() => s.value, (v) => {
116
- o.value = v ?? "";
117
- }, { immediate: !0 }), q2(() => t.suggestList, (v) => {
118
- v && v.length > 0 && o.value ? (a.value = !0, h.value = -1) : a.value = !1;
115
+ q2(() => s.value, (m) => {
116
+ o.value = m ?? "";
117
+ }, { immediate: !0 }), q2(() => t.suggestList, (m) => {
118
+ m && m.length > 0 && o.value ? (a.value = !0, h.value = -1) : a.value = !1;
119
119
  });
120
- const c = () => {
121
- i("change", o.value), i("blurChange");
122
- }, d = (v) => {
123
- var D;
124
- const y = v && typeof v == "object" ? ((D = v == null ? void 0 : v.target) == null ? void 0 : D.value) ?? "" : v;
125
- o.value = y, s.value = y, i("input", y), y && t.suggestList && t.suggestList.length > 0 ? (a.value = !0, h.value = -1) : y || (a.value = !1);
126
- }, u = (v) => {
127
- !a.value || t.suggestList.length === 0 || (v.key === "ArrowDown" ? (v.preventDefault(), h.value = Math.min(h.value + 1, t.suggestList.length - 1), f()) : v.key === "ArrowUp" ? (v.preventDefault(), h.value = Math.max(h.value - 1, -1), f()) : v.key === "Enter" && h.value >= 0 ? (v.preventDefault(), p(t.suggestList[h.value])) : v.key === "Escape" && (a.value = !1, h.value = -1));
128
- }, f = () => {
120
+ const c = (m) => {
121
+ var y;
122
+ const v = m && typeof m == "object" ? ((y = m == null ? void 0 : m.target) == null ? void 0 : y.value) ?? "" : m;
123
+ o.value = v, s.value = v, i("input", v), v && t.suggestList && t.suggestList.length > 0 ? (a.value = !0, h.value = -1) : v || (a.value = !1);
124
+ }, d = (m) => {
125
+ !a.value || t.suggestList.length === 0 || (m.key === "ArrowDown" ? (m.preventDefault(), h.value = Math.min(h.value + 1, t.suggestList.length - 1), u()) : m.key === "ArrowUp" ? (m.preventDefault(), h.value = Math.max(h.value - 1, -1), u()) : m.key === "Enter" && h.value >= 0 ? (m.preventDefault(), f(t.suggestList[h.value])) : m.key === "Escape" && (a.value = !1, h.value = -1));
126
+ }, u = () => {
129
127
  C0(() => {
130
128
  if (r.value && h.value >= 0) {
131
- const v = r.value.querySelectorAll(".suggest-item");
132
- v[h.value] && v[h.value].scrollIntoView({ block: "nearest", behavior: "smooth" });
129
+ const m = r.value.querySelectorAll(".suggest-item");
130
+ m[h.value] && m[h.value].scrollIntoView({ block: "nearest", behavior: "smooth" });
133
131
  }
134
132
  });
135
- }, p = (v) => {
136
- v && (o.value = v.label, s.value = v.label, a.value = !1, h.value = -1, i("selectSuggest", v), C0(() => {
137
- var y, D;
133
+ }, f = (m) => {
134
+ m && (o.value = m.label, s.value = m.label, a.value = !1, h.value = -1, i("selectSuggest", m), C0(() => {
135
+ var v, y;
138
136
  try {
139
- (D = (y = l.value) == null ? void 0 : y.focus) == null || D.call(y);
137
+ (y = (v = l.value) == null ? void 0 : v.focus) == null || y.call(v);
140
138
  } catch {
141
139
  }
142
140
  }));
143
- }, g = (v) => {
141
+ }, p = (m) => {
144
142
  i("blur"), setTimeout(() => {
145
143
  a.value = !1, h.value = -1;
146
144
  }, 10);
147
- }, m = () => {
145
+ }, g = () => {
148
146
  i("focus"), o.value && t.suggestList && t.suggestList.length > 0 && (a.value = !0);
149
147
  };
150
- return (v, y) => {
151
- const D = X("el-input"), O = X("el-popover");
152
- return Array.isArray(o.value) ? (_(), F(D, {
148
+ return (m, v) => {
149
+ const y = X("el-input"), M = X("el-popover");
150
+ return Array.isArray(o.value) ? (_(), F(y, {
153
151
  key: 1,
154
152
  modelValue: o.value,
155
- "onUpdate:modelValue": y[2] || (y[2] = (S) => o.value = S),
153
+ "onUpdate:modelValue": v[2] || (v[2] = (D) => o.value = D),
156
154
  disabled: !(t != null && t.isEdit) || (t == null ? void 0 : t.disabled),
157
- clearable: "",
158
- onChange: c
155
+ clearable: ""
159
156
  }, ve({ _: 2 }, [
160
157
  n.appendShow ? {
161
158
  name: "append",
162
159
  fn: H(() => [
163
- w2(v.$slots, "append", {}, void 0, !0)
160
+ w2(m.$slots, "append", {}, void 0, !0)
164
161
  ]),
165
162
  key: "0"
166
163
  } : void 0
167
164
  ]), 1032, ["modelValue", "disabled"])) : (_(), E("div", Rr, [
168
- t2(O, {
165
+ t2(M, {
169
166
  visible: a.value && n.suggestList.length > 0,
170
167
  trigger: "manual",
171
168
  placement: "bottom-start",
@@ -174,23 +171,22 @@ const Nr = {
174
171
  "popper-class": "input-suggest-popper"
175
172
  }, {
176
173
  reference: H(() => [
177
- t2(D, {
174
+ t2(y, {
178
175
  modelValue: o.value,
179
- "onUpdate:modelValue": y[0] || (y[0] = (S) => o.value = S),
176
+ "onUpdate:modelValue": v[0] || (v[0] = (D) => o.value = D),
180
177
  disabled: !(t != null && t.isEdit) || (t == null ? void 0 : t.disabled),
181
178
  clearable: "",
182
- onChange: c,
183
- onInput: d,
184
- onKeydown: u,
185
- onBlur: g,
186
- onFocus: m,
179
+ onInput: c,
180
+ onKeydown: d,
181
+ onBlur: p,
182
+ onFocus: g,
187
183
  ref_key: "inputRef",
188
184
  ref: l
189
185
  }, ve({ _: 2 }, [
190
186
  n.appendShow ? {
191
187
  name: "append",
192
188
  fn: H(() => [
193
- w2(v.$slots, "append", {}, void 0, !0)
189
+ w2(m.$slots, "append", {}, void 0, !0)
194
190
  ]),
195
191
  key: "0"
196
192
  } : void 0
@@ -202,14 +198,14 @@ const Nr = {
202
198
  ref_key: "suggestDropdownRef",
203
199
  ref: r
204
200
  }, [
205
- (_(!0), E(_2, null, T2(n.suggestList, (S, x) => (_(), E("div", {
206
- key: x,
207
- class: Xe(["suggest-item", { highlight: x === h.value }]),
208
- onMousedown: y[1] || (y[1] = De(() => {
201
+ (_(!0), E(_2, null, T2(n.suggestList, (D, S) => (_(), E("div", {
202
+ key: S,
203
+ class: Xe(["suggest-item", { highlight: S === h.value }]),
204
+ onMousedown: v[1] || (v[1] = De(() => {
209
205
  }, ["prevent", "stop"])),
210
- onClick: De((C) => p(S), ["stop"]),
211
- onMouseenter: (C) => h.value = x
212
- }, L2(S.label), 43, $r))), 128))
206
+ onClick: De((x) => f(D), ["stop"]),
207
+ onMouseenter: (x) => h.value = S
208
+ }, L2(D.label), 43, $r))), 128))
213
209
  ], 512)
214
210
  ]),
215
211
  _: 3
@@ -217,7 +213,7 @@ const Nr = {
217
213
  ]));
218
214
  };
219
215
  }
220
- }), L3 = /* @__PURE__ */ P2(jr, [["__scopeId", "data-v-54a4898d"]]), Wr = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1751963315312'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='4705'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='16'%20height='16'%3e%3cpath%20d='M363.485867%20865.117867h305.5616c21.6576%200%2039.2192-17.194667%2039.2192-38.4s-17.5616-38.4-39.2192-38.4H363.485867c-21.6576%200-39.2192%2017.194667-39.2192%2038.4s17.5616%2038.4%2039.2192%2038.4z'%20p-id='4706'%3e%3c/path%3e%3cpath%20d='M945.288533%20699.835733a40.448%2040.448%200%200%200-43.195733%2043.1872v147.037867a46.865067%2046.865067%200%200%201-45.960533%2048.708267H166.766933a46.882133%2046.882133%200%200%201-45.038933-48.708267v-147.029333a40.439467%2040.439467%200%201%200-80.887467%200v147.029333a125.883733%20125.883733%200%200%200%20125.9264%20128.657067h693.0432c70.203733-1.006933%20126.4384-58.461867%20125.9264-128.657067v-147.029333a40.430933%2040.430933%200%200%200-40.448-43.195734zM40.840533%20127.735467v147.959466a39.517867%2039.517867%200%200%200%2079.044267%200V127.735467a45.943467%2045.943467%200%200%201%2046.882133-47.786667h693.0432a46.882133%2046.882133%200%200%201%2045.960534%2047.786667v147.959466a39.509333%2039.509333%200%200%200%2039.517866%2039.509334%2040.448%2040.448%200%200%200%2040.448-39.509334V127.735467C986.248533%2058.052267%20930.423467%201.024%20860.7232%200H166.775467A125.934933%20125.934933%200%200%200%2040.840533%20127.744z%20m168.4992%20427.972266H326.229333L357.316267%20640H418.133333L295.150933%20315.733333h-52.701866L119.466667%20640h60.817066l29.056-84.292267zM269.124267%20392.533333L307.2%20503.466667h-76.8l38.724267-110.933334z%20m231.552%20131.959467h32.631466a123.246933%20123.246933%200%200%200%2088.192-28.535467c23.389867-19.959467%2036.394667-49.134933%2035.413334-79.488%201.6384-28.245333-9.838933-55.722667-31.249067-74.743466a127.573333%20127.573333%200%200%200-84.0192-25.813334H443.733333V640h56.942934V524.4928zM503.466667%20366.933333h32.136533c42.180267%200%2061.602133%2017.493333%2061.602133%2053.162667%201.092267%2016.0256-4.8128%2031.701333-16.068266%2042.666667a71.364267%2071.364267%200%200%201-51.5584%2014.677333H503.466667V366.933333z%20m286.293333-51.0976H691.2V640h57.3184V524.4672h32.853333c31.837867%201.928533%2063.189333-8.311467%2087.381334-28.544%2023.543467-19.959467%2036.625067-49.152%2035.643733-79.505067%201.536-28.100267-9.710933-55.441067-30.754133-74.752a131.84%20131.84%200%200%200-83.882667-25.8304z%20m39.4752%20147.131734a73.813333%2073.813333%200%200%201-49.527467%2014.72H750.933333V366.933333h32.119467c42.1632%200%2061.576533%2017.527467%2061.576533%2053.2736%201.262933%2015.957333-4.394667%2031.650133-15.394133%2042.752z'%20p-id='4707'%3e%3c/path%3e%3c/svg%3e", Ur = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
216
+ }), L3 = /* @__PURE__ */ P2(jr, [["__scopeId", "data-v-4bd8aff6"]]), Wr = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1751963315312'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='4705'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='16'%20height='16'%3e%3cpath%20d='M363.485867%20865.117867h305.5616c21.6576%200%2039.2192-17.194667%2039.2192-38.4s-17.5616-38.4-39.2192-38.4H363.485867c-21.6576%200-39.2192%2017.194667-39.2192%2038.4s17.5616%2038.4%2039.2192%2038.4z'%20p-id='4706'%3e%3c/path%3e%3cpath%20d='M945.288533%20699.835733a40.448%2040.448%200%200%200-43.195733%2043.1872v147.037867a46.865067%2046.865067%200%200%201-45.960533%2048.708267H166.766933a46.882133%2046.882133%200%200%201-45.038933-48.708267v-147.029333a40.439467%2040.439467%200%201%200-80.887467%200v147.029333a125.883733%20125.883733%200%200%200%20125.9264%20128.657067h693.0432c70.203733-1.006933%20126.4384-58.461867%20125.9264-128.657067v-147.029333a40.430933%2040.430933%200%200%200-40.448-43.195734zM40.840533%20127.735467v147.959466a39.517867%2039.517867%200%200%200%2079.044267%200V127.735467a45.943467%2045.943467%200%200%201%2046.882133-47.786667h693.0432a46.882133%2046.882133%200%200%201%2045.960534%2047.786667v147.959466a39.509333%2039.509333%200%200%200%2039.517866%2039.509334%2040.448%2040.448%200%200%200%2040.448-39.509334V127.735467C986.248533%2058.052267%20930.423467%201.024%20860.7232%200H166.775467A125.934933%20125.934933%200%200%200%2040.840533%20127.744z%20m168.4992%20427.972266H326.229333L357.316267%20640H418.133333L295.150933%20315.733333h-52.701866L119.466667%20640h60.817066l29.056-84.292267zM269.124267%20392.533333L307.2%20503.466667h-76.8l38.724267-110.933334z%20m231.552%20131.959467h32.631466a123.246933%20123.246933%200%200%200%2088.192-28.535467c23.389867-19.959467%2036.394667-49.134933%2035.413334-79.488%201.6384-28.245333-9.838933-55.722667-31.249067-74.743466a127.573333%20127.573333%200%200%200-84.0192-25.813334H443.733333V640h56.942934V524.4928zM503.466667%20366.933333h32.136533c42.180267%200%2061.602133%2017.493333%2061.602133%2053.162667%201.092267%2016.0256-4.8128%2031.701333-16.068266%2042.666667a71.364267%2071.364267%200%200%201-51.5584%2014.677333H503.466667V366.933333z%20m286.293333-51.0976H691.2V640h57.3184V524.4672h32.853333c31.837867%201.928533%2063.189333-8.311467%2087.381334-28.544%2023.543467-19.959467%2036.625067-49.152%2035.643733-79.505067%201.536-28.100267-9.710933-55.441067-30.754133-74.752a131.84%20131.84%200%200%200-83.882667-25.8304z%20m39.4752%20147.131734a73.813333%2073.813333%200%200%201-49.527467%2014.72H750.933333V366.933333h32.119467c42.1632%200%2061.576533%2017.527467%2061.576533%2053.2736%201.262933%2015.957333-4.394667%2031.650133-15.394133%2042.752z'%20p-id='4707'%3e%3c/path%3e%3c/svg%3e", Ur = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
221
217
  __proto__: null,
222
218
  default: Wr
223
219
  }, Symbol.toStringTag, { value: "Module" })), Fr = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1750407294483'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='13930'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cpath%20d='M925.866667%20797.866667c-12.8-25.6-34.133333-46.933333-64-64-29.866667-21.333333-68.266667-34.133333-119.466667-42.666667-4.266667%200-29.866667-4.266667-59.733333-12.8-21.333333-4.266667-34.133333-8.533333-38.4-12.8v-17.066667c4.266667-51.2%2029.866667-76.8%2055.466666-106.666666%208.533333-8.533333%2017.066667-21.333333%2025.6-29.866667%2029.866667-42.666667%2034.133333-89.6%2034.133334-98.133333%200-8.533333%200-17.066667-4.266667-21.333334-4.266667-8.533333-8.533333-12.8-12.8-21.333333%200-12.8%204.266667-21.333333%204.266667-29.866667%200-21.333333%204.266667-55.466667-4.266667-89.6%200-8.533333-4.266667-12.8-4.266667-21.333333-8.533333-25.6-17.066667-46.933333-34.133333-68.266667-4.266667-12.8-64-72.533333-234.666667-85.333333H401.066667c-4.266667%200-17.066667%200-25.6%204.266667-21.333333%204.266667-38.4%2021.333333-42.666667%2042.666666v21.333334c-8.533333%208.533333-55.466667%2051.2-55.466667%20102.4-4.266667%2034.133333-4.266667%2085.333333%200%20123.733333-8.533333%208.533333-17.066667%2021.333333-12.8%2042.666667%200%2012.8%204.266667%2055.466667%2034.133334%2098.133333%208.533333%208.533333%2017.066667%2017.066667%2025.6%2029.866667%2025.6%2029.866667%2051.2%2055.466667%2055.466666%20106.666666v17.066667c-4.266667%204.266667-17.066667%208.533333-38.4%2012.8-29.866667%208.533333-59.733333%2012.8-64%2012.8-46.933333%208.533333-85.333333%2021.333333-115.2%2042.666667-25.6%2017.066667-46.933333%2038.4-64%2064-25.6%2038.4-25.6%2076.8-25.6%2085.333333v21.333333c0%2025.6%2021.333333%2046.933333%2046.933334%2046.933334H896c25.6%200%2046.933333-21.333333%2046.933333-46.933334v-17.066666c8.533333-12.8%208.533333-51.2-17.066666-89.6z%20m-546.133334-128c0%204.266667%200%204.266667%200%200v4.266666c-4.266667%200-4.266667%200%200-4.266666z%20m503.466667%20213.333333l-742.4%204.266667v-4.266667s0-25.6%2012.8-51.2c8.533333-17.066667%2025.6-29.866667%2042.666667-42.666667%2025.6-17.066667%2055.466667-25.6%2089.6-34.133333%204.266667%200%2034.133333-4.266667%2068.266666-12.8%2051.2-12.8%2076.8-29.866667%2085.333334-46.933333%200-4.266667%200-4.266667%204.266666-8.533334v-42.666666c-8.533333-72.533333-42.666667-115.2-72.533333-145.066667-8.533333-8.533333-12.8-17.066667-21.333333-21.333333-21.333333-29.866667-21.333333-59.733333-21.333334-64l4.266667-4.266667%208.533333-8.533333c4.266667-17.066667%200-25.6%200-29.866667-4.266667-34.133333-4.266667-81.066667%200-119.466667%200-29.866667%2029.866667-55.466667%2029.866667-55.466666%208.533333-4.266667%2017.066667-12.8%2021.333333-21.333334%200-4.266667%204.266667-4.266667%204.266667-8.533333v-25.6H465.066667c140.8%208.533333%20192%2059.733333%20192%2059.733333%208.533333%2012.8%2017.066667%2025.6%2021.333333%2042.666667%204.266667%204.266667%204.266667%208.533333%204.266667%2012.8%204.266667%2029.866667%204.266667%2055.466667%204.266666%2076.8%200%2012.8%200%2021.333333-4.266666%2038.4%200%2012.8%200%2025.6%208.533333%2029.866667l4.266667%204.266666%204.266666%204.266667s0%2034.133333-21.333333%2064c-4.266667%208.533333-12.8%2012.8-21.333333%2021.333333-29.866667%2029.866667-64%2072.533333-72.533334%20145.066667v42.666667c0%204.266667%200%204.266667%204.266667%208.533333%208.533333%2021.333333%2034.133333%2034.133333%2085.333333%2046.933333%2034.133333%208.533333%2064%2012.8%2068.266667%2012.8%2038.4%208.533333%2068.266667%2017.066667%2093.866667%2034.133334%2017.066667%2012.8%2034.133333%2025.6%2042.666666%2042.666666%208.533333%2025.6%208.533333%2051.2%204.266667%2055.466667z'%20p-id='13931'%3e%3c/path%3e%3c/svg%3e", qr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
@@ -1313,9 +1309,9 @@ const lp = { class: "icon-popover" }, rp = ["onClick"], ap = /* @__PURE__ */ t0(
1313
1309
  setup(n, { emit: e }) {
1314
1310
  const t = n, i = e, s = G(t.value), o = G(), l = G(!1), r = G(), a = G([]), h = G(/* @__PURE__ */ new Map()), c = G(null), d = G(!1);
1315
1311
  _e(async () => {
1316
- var M;
1312
+ var O;
1317
1313
  r.value = t == null ? void 0 : t.content, a.value = t == null ? void 0 : t.selectedTagList, await C0();
1318
- const A = (M = c.value) == null ? void 0 : M.$el;
1314
+ const A = (O = c.value) == null ? void 0 : O.$el;
1319
1315
  d.value = !!(A != null && A.closest(".el-dialog"));
1320
1316
  });
1321
1317
  const u = () => {
@@ -1337,41 +1333,41 @@ const lp = { class: "icon-popover" }, rp = ["onClick"], ap = /* @__PURE__ */ t0(
1337
1333
  return C.value && A.push("multiple"), A;
1338
1334
  }), y = (A) => {
1339
1335
  var q;
1340
- const { value: M } = A;
1341
- return Array.isArray(a.value) || (a.value = []), ((q = a.value) == null ? void 0 : q.find((i2) => M == i2)) && C.value ? "active" : "";
1342
- }, D = (A) => {
1343
- let M = Ue(a.value);
1336
+ const { value: O } = A;
1337
+ return Array.isArray(a.value) || (a.value = []), ((q = a.value) == null ? void 0 : q.find((i2) => O == i2)) && C.value ? "active" : "";
1338
+ }, M = (A) => {
1339
+ let O = Ue(a.value);
1344
1340
  const L = /* @__PURE__ */ new Set();
1345
1341
  for (let q = 0; q < A.length; q++) {
1346
1342
  const i2 = A[q];
1347
1343
  L.add(i2);
1348
1344
  }
1349
- M = M.filter((q) => L.has(q)), Bs(a.value, M) || (a.value = M, i("tagChange", M));
1350
- }, O = (A) => {
1351
- const { value: M } = A, L = Ue(a.value), q = L.findIndex((i2) => i2 === M);
1352
- return q >= 0 ? L.splice(q, 1) : L.push(M), L;
1345
+ O = O.filter((q) => L.has(q)), Bs(a.value, O) || (a.value = O, i("tagChange", O));
1346
+ }, D = (A) => {
1347
+ const { value: O } = A, L = Ue(a.value), q = L.findIndex((i2) => i2 === O);
1348
+ return q >= 0 ? L.splice(q, 1) : L.push(O), L;
1353
1349
  }, S = (A) => {
1354
1350
  if (!C.value)
1355
1351
  return;
1356
- const M = O(A);
1357
- a.value = M, i("tagChange", M);
1352
+ const O = D(A);
1353
+ a.value = O, i("tagChange", O);
1358
1354
  }, x = (A) => {
1359
- i("blurChange"), C.value && D(A);
1355
+ i("blurChange"), C.value && M(A);
1360
1356
  }, C = n2(() => {
1361
1357
  const A = t.optionUrl;
1362
1358
  return !!(A != null && A.multiple);
1363
1359
  }), I = n2(() => {
1364
- var A, M, L;
1365
- return !((A = t.optionUrl) != null && A.multipleLimit) && ((M = t.optionUrl) == null ? void 0 : M.multipleLimit) !== 0 ? 1 : parseInt((L = t.optionUrl) == null ? void 0 : L.multipleLimit);
1360
+ var A, O, L;
1361
+ return !((A = t.optionUrl) != null && A.multipleLimit) && ((O = t.optionUrl) == null ? void 0 : O.multipleLimit) !== 0 ? 1 : parseInt((L = t.optionUrl) == null ? void 0 : L.multipleLimit);
1366
1362
  }), R = n2(() => {
1367
1363
  var A;
1368
1364
  return (A = r.value) == null ? void 0 : A.filter(
1369
- (M, L, q) => L === q.findIndex((i2) => i2.value === M.value)
1365
+ (O, L, q) => L === q.findIndex((i2) => i2.value === O.value)
1370
1366
  );
1371
1367
  }), V = (A) => {
1372
1368
  if (!A) return "";
1373
- const M = /* @__PURE__ */ new Set(["id", "create_time", "update_time", "sort", "create_user_id", "update_user_id", "department_id"]);
1374
- return Object.keys(A).filter((q) => !M.has(q) && A[q] !== void 0 && A[q] !== "").map((q) => `${q}: ${A[q]}`).join("<br/>");
1369
+ const O = /* @__PURE__ */ new Set(["id", "create_time", "update_time", "sort", "create_user_id", "update_user_id", "department_id"]);
1370
+ return Object.keys(A).filter((q) => !O.has(q) && A[q] !== void 0 && A[q] !== "").map((q) => `${q}: ${A[q]}`).join("<br/>");
1375
1371
  }, j = (A) => {
1376
1372
  var q, i2, u2, D2;
1377
1373
  if (!(A != null && A.value) || !(((q = t.optionUrl) == null ? void 0 : q.mainKey) && Array.isArray((i2 = t.optionUrl) == null ? void 0 : i2.menus) && t.optionUrl.menus.length > 0) || !((D2 = (u2 = t.optionUrl) == null ? void 0 : u2.words) != null && D2.length)) return "";
@@ -1396,8 +1392,8 @@ const lp = { class: "icon-popover" }, rp = ["onClick"], ap = /* @__PURE__ */ t0(
1396
1392
  }
1397
1393
  }
1398
1394
  }, a2 = async () => {
1399
- var A, M, L, q, i2, u2, D2, y2, w, H2, I2, G2, r0, u0, w0, I0;
1400
- if (((M = (A = t.optionUrl) == null ? void 0 : A.allSelectionContents) == null ? void 0 : M.length) > 0) {
1395
+ var A, O, L, q, i2, u2, D2, y2, w, H2, I2, G2, r0, u0, w0, I0;
1396
+ if (((O = (A = t.optionUrl) == null ? void 0 : A.allSelectionContents) == null ? void 0 : O.length) > 0) {
1401
1397
  let O2 = [], q0 = [], M0 = (L = t.optionUrl) == null ? void 0 : L.filterContent;
1402
1398
  Array.isArray(M0) || (M0 = (i2 = (q = M0 == null ? void 0 : M0.replaceAll("(", "")) == null ? void 0 : q.replaceAll(")", "")) == null ? void 0 : i2.split("||")), M0 == null || M0.forEach((z2) => {
1403
1399
  var a0;
@@ -1427,12 +1423,12 @@ const lp = { class: "icon-popover" }, rp = ["onClick"], ap = /* @__PURE__ */ t0(
1427
1423
  }
1428
1424
  await T((I0 = r.value) == null ? void 0 : I0.map((O2) => O2 == null ? void 0 : O2.value)), i("click");
1429
1425
  };
1430
- return (A, M) => {
1426
+ return (A, O) => {
1431
1427
  const L = X("el-tooltip"), q = X("el-option"), i2 = X("el-select");
1432
1428
  return l.value ? l.value ? (_(), F(L3, {
1433
1429
  key: 1,
1434
1430
  modelValue: o.value,
1435
- "onUpdate:modelValue": M[1] || (M[1] = (u2) => o.value = u2),
1431
+ "onUpdate:modelValue": O[1] || (O[1] = (u2) => o.value = u2),
1436
1432
  onChange: m,
1437
1433
  onBlur: p
1438
1434
  }, null, 8, ["modelValue"])) : c2("", !0) : (_(), F(i2, {
@@ -1442,7 +1438,7 @@ const lp = { class: "icon-popover" }, rp = ["onClick"], ap = /* @__PURE__ */ t0(
1442
1438
  class: Xe(["ss-select", v.value]),
1443
1439
  loading: t == null ? void 0 : t.loading,
1444
1440
  modelValue: s.value,
1445
- "onUpdate:modelValue": M[0] || (M[0] = (u2) => s.value = u2),
1441
+ "onUpdate:modelValue": O[0] || (O[0] = (u2) => s.value = u2),
1446
1442
  filterable: "",
1447
1443
  "allow-create": "true",
1448
1444
  "default-first-option": "true",
@@ -1552,59 +1548,59 @@ const lp = { class: "icon-popover" }, rp = ["onClick"], ap = /* @__PURE__ */ t0(
1552
1548
  A();
1553
1549
  });
1554
1550
  const r = e, a = G(null), h = G(null), c = G(), d = G(), u = G(0), f = n2(() => {
1555
- var M;
1556
- return (M = Gs) == null ? void 0 : M.map((L) => ({
1551
+ var O;
1552
+ return (O = Gs) == null ? void 0 : O.map((L) => ({
1557
1553
  value: L == null ? void 0 : L.key,
1558
1554
  label: L == null ? void 0 : L.key
1559
1555
  }));
1560
- }), p = (M) => {
1561
- r("routeUrl", M);
1556
+ }), p = (O) => {
1557
+ r("routeUrl", O);
1562
1558
  }, g = n2(() => {
1563
1559
  var q;
1564
- const M = (q = l.value) == null ? void 0 : q.split("/");
1565
- return (M == null ? void 0 : M.some((i2) => (i2 == null ? void 0 : i2.includes("updateLoading")) || (i2 == null ? void 0 : i2.includes("loading")))) ? !1 : s.value === "view" && (t == null ? void 0 : t.showOperator);
1566
- }), m = (M) => gi(M), v = () => {
1560
+ const O = (q = l.value) == null ? void 0 : q.split("/");
1561
+ return (O == null ? void 0 : O.some((i2) => (i2 == null ? void 0 : i2.includes("updateLoading")) || (i2 == null ? void 0 : i2.includes("loading")))) ? !1 : s.value === "view" && (t == null ? void 0 : t.showOperator);
1562
+ }), m = (O) => gi(O), v = () => {
1567
1563
  r("fixChangeValue");
1568
- }, y = (M) => {
1569
- r("clickTrigger", M);
1570
- }, D = (M) => {
1571
- r("preview", M);
1572
- }, O = () => {
1564
+ }, y = (O) => {
1565
+ r("clickTrigger", O);
1566
+ }, M = (O) => {
1567
+ r("preview", O);
1568
+ }, D = () => {
1573
1569
  r("blur", d.value);
1574
- }, S = (M, L) => {
1570
+ }, S = (O, L) => {
1575
1571
  r("tagChange", {
1576
- value: M,
1572
+ value: O,
1577
1573
  key: L
1578
1574
  });
1579
- }, x = (M) => {
1575
+ }, x = (O) => {
1580
1576
  r("blurChange", d.value, {
1581
- changeProp: M
1577
+ changeProp: O
1582
1578
  });
1583
- }, C = (M, L) => {
1579
+ }, C = (O, L) => {
1584
1580
  r("create", {
1585
- item: M,
1581
+ item: O,
1586
1582
  value: L
1587
1583
  });
1588
1584
  }, I = () => {
1589
1585
  C0(() => {
1590
1586
  u.value++;
1591
1587
  });
1592
- }, R = (M, L) => L, V = (M) => {
1593
- r("changeVisible", M);
1594
- }, j = (M, L) => {
1595
- r("handleColEditChange", M, L);
1596
- }, T = async (M, L) => {
1597
- await C0(), r("handleColTypeChange", M, L);
1588
+ }, R = (O, L) => L, V = (O) => {
1589
+ r("changeVisible", O);
1590
+ }, j = (O, L) => {
1591
+ r("handleColEditChange", O, L);
1592
+ }, T = async (O, L) => {
1593
+ await C0(), r("handleColTypeChange", O, L);
1598
1594
  };
1599
1595
  q2(
1600
1596
  () => t == null ? void 0 : t.rowContents,
1601
1597
  () => {
1602
1598
  var L, q;
1603
1599
  if (((L = t == null ? void 0 : t.rowContents) == null ? void 0 : L.length) === 0) return;
1604
- const M = {};
1600
+ const O = {};
1605
1601
  (q = L0(t == null ? void 0 : t.rowContents)) == null || q.forEach((i2) => {
1606
- M[(i2 == null ? void 0 : i2.prop) ?? (i2 == null ? void 0 : i2.name)] = R(i2 == null ? void 0 : i2.type, i2 == null ? void 0 : i2.value);
1607
- }), c.value = M, d.value = M, I();
1602
+ O[(i2 == null ? void 0 : i2.prop) ?? (i2 == null ? void 0 : i2.name)] = R(i2 == null ? void 0 : i2.type, i2 == null ? void 0 : i2.value);
1603
+ }), c.value = O, d.value = O, I();
1608
1604
  },
1609
1605
  { deep: !0, immediate: !0 }
1610
1606
  ), n2(() => {
@@ -1617,14 +1613,14 @@ const lp = { class: "icon-popover" }, rp = ["onClick"], ap = /* @__PURE__ */ t0(
1617
1613
  return H2 && I2 && r0 && u0;
1618
1614
  });
1619
1615
  });
1620
- const a2 = async (M, L) => {
1616
+ const a2 = async (O, L) => {
1621
1617
  if (await C0(), !!L) {
1622
- if (M === "取消")
1618
+ if (O === "取消")
1623
1619
  return r(
1624
1620
  "onButtonClick",
1625
1621
  {
1626
1622
  content: null,
1627
- buttonName: M
1623
+ buttonName: O
1628
1624
  }
1629
1625
  );
1630
1626
  await (L == null ? void 0 : L.validate((q, i2) => {
@@ -1632,7 +1628,7 @@ const lp = { class: "icon-popover" }, rp = ["onClick"], ap = /* @__PURE__ */ t0(
1632
1628
  "onButtonClick",
1633
1629
  {
1634
1630
  content: d.value,
1635
- buttonName: M
1631
+ buttonName: O
1636
1632
  }
1637
1633
  ) : console.log("表单校验失败", i2);
1638
1634
  }));
@@ -1643,21 +1639,21 @@ const lp = { class: "icon-popover" }, rp = ["onClick"], ap = /* @__PURE__ */ t0(
1643
1639
  });
1644
1640
  const A = () => {
1645
1641
  if (d.value) {
1646
- let M = {};
1642
+ let O = {};
1647
1643
  for (let L in d.value)
1648
- Pi(d.value[L]) ? M[L] = ue(d.value[L]).format("YYYY年MM月DD日") : M[L] = d.value[L];
1649
- r("change", M);
1644
+ Pi(d.value[L]) ? O[L] = ue(d.value[L]).format("YYYY年MM月DD日") : O[L] = d.value[L];
1645
+ r("change", O);
1650
1646
  }
1651
1647
  };
1652
1648
  return q2(
1653
1649
  () => d.value,
1654
1650
  () => {
1655
1651
  if (d.value)
1656
- for (let M in d.value)
1657
- Pi(d.value[M]) ? ue(d.value[M]).format("YYYY年MM月DD日") : d.value[M];
1652
+ for (let O in d.value)
1653
+ Pi(d.value[O]) ? ue(d.value[O]).format("YYYY年MM月DD日") : d.value[O];
1658
1654
  },
1659
1655
  { deep: !0 }
1660
- ), (M, L) => {
1656
+ ), (O, L) => {
1661
1657
  var D2;
1662
1658
  const q = X("el-form-item"), i2 = X("el-form"), u2 = X("el-button");
1663
1659
  return _(), E("div", {
@@ -1665,7 +1661,7 @@ const lp = { class: "icon-popover" }, rp = ["onClick"], ap = /* @__PURE__ */ t0(
1665
1661
  style: A0({ flexDirection: n.isButtonRow ? "row" : "column" })
1666
1662
  }, [
1667
1663
  g.value ? (_(), E("div", bp, [
1668
- w2(M.$slots, "operateCol", {
1664
+ w2(O.$slots, "operateCol", {
1669
1665
  renderColumns: n.rowContents,
1670
1666
  formDisabled: n.formDisabled,
1671
1667
  formLabelsOperable: n.formLabelsOperable
@@ -1710,7 +1706,7 @@ const lp = { class: "icon-popover" }, rp = ["onClick"], ap = /* @__PURE__ */ t0(
1710
1706
  onClickTrigger: y,
1711
1707
  originalValue: d.value[(w == null ? void 0 : w.prop) ?? (w == null ? void 0 : w.name)],
1712
1708
  onChange: A,
1713
- onBlur: O,
1709
+ onBlur: D,
1714
1710
  key: w == null ? void 0 : w.type,
1715
1711
  optionUrl: w,
1716
1712
  onChangeVisible: V,
@@ -1731,7 +1727,7 @@ const lp = { class: "icon-popover" }, rp = ["onClick"], ap = /* @__PURE__ */ t0(
1731
1727
  typeof d.value[(w == null ? void 0 : w.prop) ?? w.name] == "string" && ((I2 = d.value[(w == null ? void 0 : w.prop) ?? w.name]) != null && I2.includes(".stl") || (G2 = d.value[(w == null ? void 0 : w.prop) ?? w.name]) != null && G2.includes(".obj") || (r0 = d.value[(w == null ? void 0 : w.prop) ?? w.name]) != null && r0.includes(".urdf") || (u0 = d.value[(w == null ? void 0 : w.prop) ?? w.name]) != null && u0.includes(".STL") || (w0 = d.value[(w == null ? void 0 : w.prop) ?? w.name]) != null && w0.includes(".ls") || (I0 = d.value[(w == null ? void 0 : w.prop) ?? w.name]) != null && I0.includes(".uv") || (O2 = d.value[(w == null ? void 0 : w.prop) ?? w.name]) != null && O2.includes(".UV") || (q0 = d.value[(w == null ? void 0 : w.prop) ?? w.name]) != null && q0.includes(".cpt") || (M0 = d.value[(w == null ? void 0 : w.prop) ?? w.name]) != null && M0.includes(".CPT") || (J0 = d.value[(w == null ? void 0 : w.prop) ?? w.name]) != null && J0.includes(".cyd") || (Ne = d.value[(w == null ? void 0 : w.prop) ?? w.name]) != null && Ne.includes(".CYD") || (nt = d.value[(w == null ? void 0 : w.prop) ?? w.name]) != null && nt.includes(".nc") || (z2 = d.value[(w == null ? void 0 : w.prop) ?? w.name]) != null && z2.includes(".NC") || (a0 = d.value[(w == null ? void 0 : w.prop) ?? w.name]) != null && a0.includes(".csv")) ? (_(), F(ge, {
1732
1728
  key: 2,
1733
1729
  class: "calculator-content form-preview",
1734
- onClickTrigger: (x0) => D(d.value[(w == null ? void 0 : w.prop) ?? w.name]),
1730
+ onClickTrigger: (x0) => M(d.value[(w == null ? void 0 : w.prop) ?? w.name]),
1735
1731
  modelValue: "预览"
1736
1732
  }, null, 8, ["onClickTrigger"])) : c2("", !0)
1737
1733
  ];
@@ -2097,12 +2093,12 @@ const Lp = /* @__PURE__ */ P2(Ep, [["render", Bp]]), Hp = { class: "extra-button
2097
2093
  $index: v.$index,
2098
2094
  scope: v
2099
2095
  }),
2100
- (_(!0), E(_2, null, T2(n.column.children, (y, D) => (_(), F(o, {
2101
- key: D,
2096
+ (_(!0), E(_2, null, T2(n.column.children, (y, M) => (_(), F(o, {
2097
+ key: M,
2102
2098
  column: y,
2103
2099
  tableData: n.tableData
2104
2100
  }, ve({ _: 2 }, [
2105
- T2(e.$slots, (O, S) => ({
2101
+ T2(e.$slots, (D, S) => ({
2106
2102
  name: S,
2107
2103
  fn: H(({ row: x, slotData: C, item: I, column: R }) => [
2108
2104
  w2(e.$slots, S, u1({ ref_for: !0 }, C ?? x, {
@@ -2162,7 +2158,7 @@ const Lp = /* @__PURE__ */ P2(Ep, [["render", Bp]]), Hp = { class: "extra-button
2162
2158
  })) : !1;
2163
2159
  };
2164
2160
  return (d, u) => {
2165
- var g, m, v, y, D, O, S, x, C, I;
2161
+ var g, m, v, y, M, D, S, x, C, I;
2166
2162
  const f = X("svg-icon"), p = X("el-table-column");
2167
2163
  return n.column.isTableColHidden ? c2("", !0) : (_(), F(p, {
2168
2164
  key: 0,
@@ -2171,7 +2167,7 @@ const Lp = /* @__PURE__ */ P2(Ep, [["render", Bp]]), Hp = { class: "extra-button
2171
2167
  fixed: ((g = n.column) == null ? void 0 : g.prop) === "operate" ? "right" : (m = n.column) == null ? void 0 : m.fixed,
2172
2168
  align: "center",
2173
2169
  "header-align": (((y = (v = n.column) == null ? void 0 : v.children) == null ? void 0 : y.length) > 0, "center"),
2174
- sortable: ((D = n.column) == null ? void 0 : D.prop) === "operate" ? !1 : (O = n.column) != null && O.sortable ? "custom" : !1,
2170
+ sortable: ((M = n.column) == null ? void 0 : M.prop) === "operate" ? !1 : (D = n.column) != null && D.sortable ? "custom" : !1,
2175
2171
  filters: (S = n.column) != null && S.filterable ? c(n.column) : null,
2176
2172
  "filter-method": l,
2177
2173
  "show-overflow-tooltip": ((x = n.column) == null ? void 0 : x.showOverflowTooltip) ?? !0,
@@ -2236,10 +2232,10 @@ const Lp = /* @__PURE__ */ P2(Ep, [["render", Bp]]), Hp = { class: "extra-button
2236
2232
  }, ve({ _: 2 }, [
2237
2233
  T2(d.$slots, (T, a2) => ({
2238
2234
  name: a2,
2239
- fn: H(({ row: A, slotData: M, item: L, column: q }) => [
2240
- w2(d.$slots, a2, u1({ ref_for: !0 }, M ?? A, {
2235
+ fn: H(({ row: A, slotData: O, item: L, column: q }) => [
2236
+ w2(d.$slots, a2, u1({ ref_for: !0 }, O ?? A, {
2241
2237
  item: L ?? V,
2242
- slotData: M ?? A,
2238
+ slotData: O ?? A,
2243
2239
  row: A,
2244
2240
  column: q,
2245
2241
  columnProp: V
@@ -2405,7 +2401,7 @@ const Lp = /* @__PURE__ */ P2(Ep, [["render", Bp]]), Hp = { class: "extra-button
2405
2401
  }), d = E3({ x: 0, y: 0 }), u = G([]), f = G([]), p = G(0), g = G(null), m = G(null), v = G(null), y = n2(() => {
2406
2402
  var b, k;
2407
2403
  return Array.isArray(u.value) && ((k = (b = u.value) == null ? void 0 : b[0]) == null ? void 0 : k.prop) === "disabled";
2408
- }), D = n2(() => t.allowRowAddOrDelete && !y.value), O = e;
2404
+ }), M = n2(() => t.allowRowAddOrDelete && !y.value), D = e;
2409
2405
  Q3("contentRef"), _e(() => {
2410
2406
  var k, z, B, Z, e2;
2411
2407
  C = x(), u.value = t == null ? void 0 : t.columns, f.value = (k = t == null ? void 0 : t.tableData) == null ? void 0 : k.map((l2) => {
@@ -2532,9 +2528,9 @@ const Lp = /* @__PURE__ */ P2(Ep, [["render", Bp]]), Hp = { class: "extra-button
2532
2528
  }, 10));
2533
2529
  }, { immediate: !0 });
2534
2530
  const R = (b, k) => {
2535
- O("handleColEditChange", b, k);
2531
+ D("handleColEditChange", b, k);
2536
2532
  }, V = (b, k) => {
2537
- O("handleColTypeChange", b, k);
2533
+ D("handleColTypeChange", b, k);
2538
2534
  }, j = (b) => {
2539
2535
  var z, B, Z, e2;
2540
2536
  if (r.value = !1, !t.isEditViewport) return;
@@ -2542,7 +2538,7 @@ const Lp = /* @__PURE__ */ P2(Ep, [["render", Bp]]), Hp = { class: "extra-button
2542
2538
  (B = (z = g.value) == null ? void 0 : z.$el) != null && B.contains(k) || (Z = k == null ? void 0 : k.closest) != null && Z.call(k, "#themeButton, #themeBorderButton,#tableHeaderButton") || (e2 = k == null ? void 0 : k.closest) != null && e2.call(
2543
2539
  k,
2544
2540
  ".el-popper, .el-select__popper, .el-select-dropdown, .el-picker__popper, .el-picker-panel,.el-dialog__wrapper, .el-overlay, .el-message-box__wrapper, .el-popover"
2545
- ) || O("submitEditingTable");
2541
+ ) || D("submitEditingTable");
2546
2542
  }, T = n2(() => {
2547
2543
  var b;
2548
2544
  return (b = t == null ? void 0 : t.extraButton) == null ? void 0 : b.filter((k) => {
@@ -2555,19 +2551,19 @@ const Lp = /* @__PURE__ */ P2(Ep, [["render", Bp]]), Hp = { class: "extra-button
2555
2551
  var z;
2556
2552
  return (z = k == null ? void 0 : k.label) == null ? void 0 : z.includes("批量");
2557
2553
  });
2558
- }), A = G(0), M = G(!1), L = (b, k, z) => {
2554
+ }), A = G(0), O = G(!1), L = (b, k, z) => {
2559
2555
  A.value = b == null ? void 0 : b.id;
2560
2556
  }, q = (b, k, z) => {
2561
2557
  A.value = 0;
2562
2558
  }, i2 = () => {
2563
- M.value = !1;
2559
+ O.value = !1;
2564
2560
  }, u2 = Q3("getSuggestListForCell", () => []), D2 = Q3("getSuggestLoadingForCell", () => !1), y2 = (b, k, z, B) => {
2565
2561
  const Z = (B == null ? void 0 : B.formType) || (B == null ? void 0 : B.columnType) || "";
2566
- Z && Z.toUpperCase() !== "INPUT" && Z !== "" || O("cellInput", k, z, b);
2562
+ Z && Z.toUpperCase() !== "INPUT" && Z !== "" || D("cellInput", k, z, b);
2567
2563
  }, w = (b, k, z, B) => {
2568
- O("selectSuggest", k, z, b);
2564
+ D("selectSuggest", k, z, b);
2569
2565
  }, H2 = (b) => {
2570
- O("selectChange", b);
2566
+ D("selectChange", b);
2571
2567
  }, I2 = (b, k) => {
2572
2568
  var z, B, Z;
2573
2569
  if (typeof t.selectable == "function")
@@ -2584,24 +2580,24 @@ const Lp = /* @__PURE__ */ P2(Ep, [["render", Bp]]), Hp = { class: "extra-button
2584
2580
  }), r0 = (b) => {
2585
2581
  var B, Z, e2;
2586
2582
  let k = (Z = (B = u.value) == null ? void 0 : B[0]) == null ? void 0 : Z.prop, z = (e2 = f.value) == null ? void 0 : e2.map((l2) => l2 == null ? void 0 : l2[k]);
2587
- O("rowClick", {
2583
+ D("rowClick", {
2588
2584
  row: b,
2589
2585
  type: "table",
2590
2586
  usingRow: u.value,
2591
2587
  firstContents: z
2592
2588
  });
2593
2589
  }, u0 = (b, k, z, B) => {
2594
- if (!D.value) return;
2590
+ if (!M.value) return;
2595
2591
  const Z = z == null ? void 0 : z.innerText, e2 = Yp(Z);
2596
2592
  d.x = B.clientX, d.y = B.clientY, r.value = !0, e2 && (a.value = z.innerText), h.value = b;
2597
2593
  }, w0 = () => {
2598
- O("clickButton", "删除", h.value, { extra: { label: "删除" } }), r.value = !1;
2594
+ D("clickButton", "删除", h.value, { extra: { label: "删除" } }), r.value = !1;
2599
2595
  }, I0 = () => {
2600
- O("clickButton", "批量删除", null, { extra: { label: "批量删除" } }), r.value = !1;
2596
+ D("clickButton", "批量删除", null, { extra: { label: "批量删除" } }), r.value = !1;
2601
2597
  }, O2 = (b) => {
2602
- O("buttonClick", b);
2598
+ D("buttonClick", b);
2603
2599
  }, q0 = ({ prop: b, order: k }) => {
2604
- O("sortChange", { prop: b, order: k });
2600
+ D("sortChange", { prop: b, order: k });
2605
2601
  };
2606
2602
  q2(
2607
2603
  () => t == null ? void 0 : t.tableData,
@@ -2624,19 +2620,19 @@ const Lp = /* @__PURE__ */ P2(Ep, [["render", Bp]]), Hp = { class: "extra-button
2624
2620
  { deep: !0 }
2625
2621
  );
2626
2622
  const M0 = (b) => gi(b), J0 = (b, k, z) => {
2627
- O("clickButton", b, k, z);
2623
+ D("clickButton", b, k, z);
2628
2624
  }, Ne = (b) => {
2629
- O("doCurrentChange", b);
2625
+ D("doCurrentChange", b);
2630
2626
  }, nt = (b, k) => {
2631
- O("dbClickRow", b, k);
2627
+ D("dbClickRow", b, k);
2632
2628
  }, z2 = (b) => {
2633
- O("doSizeChange", b);
2629
+ D("doSizeChange", b);
2634
2630
  }, a0 = (b) => {
2635
- O("fixRow", b);
2631
+ D("fixRow", b);
2636
2632
  }, x0 = (b) => {
2637
- O("deleteRow", b);
2633
+ D("deleteRow", b);
2638
2634
  }, jl = (b, k) => {
2639
- O("clickButton", "删除", b, { extra: { label: "删除" }, index: k });
2635
+ D("clickButton", "删除", b, { extra: { label: "删除" }, index: k });
2640
2636
  }, mi = (b, k) => {
2641
2637
  var e2, l2, Y, s2;
2642
2638
  if ((b == null ? void 0 : b.id) === "__empty__") {
@@ -2644,7 +2640,7 @@ const Lp = /* @__PURE__ */ P2(Ep, [["render", Bp]]), Hp = { class: "extra-button
2644
2640
  (e2 = u.value) == null || e2.forEach((U) => {
2645
2641
  const h2 = U == null ? void 0 : U.prop;
2646
2642
  !h2 || h2 === "operate" || (r2[h2] = "");
2647
- }), r2.id = `${Date.now()}_${Math.random().toString(16).slice(2)}`, r2._isTemp = !0, O("addNewRow", { newRow: r2, targetIndex: 0 });
2643
+ }), r2.id = `${Date.now()}_${Math.random().toString(16).slice(2)}`, r2._isTemp = !0, D("addNewRow", { newRow: r2, targetIndex: 0 });
2648
2644
  return;
2649
2645
  }
2650
2646
  const z = {};
@@ -2653,9 +2649,9 @@ const Lp = /* @__PURE__ */ P2(Ep, [["render", Bp]]), Hp = { class: "extra-button
2653
2649
  !U || U === "operate" || (z[U] = "");
2654
2650
  }), z.id = `${Date.now()}_${Math.random().toString(16).slice(2)}`, z._isTemp = !0, (b == null ? void 0 : b.level) !== void 0 && (z.level = b.level), (b == null ? void 0 : b.tableEditType) !== void 0 && (z.tableEditType = b.tableEditType);
2655
2651
  const B = typeof k == "number" ? k : (Y = f.value) == null ? void 0 : Y.findIndex((r2) => (r2 == null ? void 0 : r2.id) === (b == null ? void 0 : b.id)), Z = B >= 0 ? B + 1 : ((s2 = f.value) == null ? void 0 : s2.length) ?? 0;
2656
- O("addNewRow", { newRow: z, targetIndex: Z });
2652
+ D("addNewRow", { newRow: z, targetIndex: Z });
2657
2653
  }, Wl = (b, k, z, B) => {
2658
- O("contentClick", b, k, z, B);
2654
+ D("contentClick", b, k, z, B);
2659
2655
  }, vi = () => {
2660
2656
  var k;
2661
2657
  const b = (k = g.value) == null ? void 0 : k.$el.querySelector(".el-table__header-wrapper tr");
@@ -2830,7 +2826,7 @@ const Lp = /* @__PURE__ */ P2(Ep, [["render", Bp]]), Hp = { class: "extra-button
2830
2826
  }
2831
2827
  k[z.prop] = B;
2832
2828
  }
2833
- O("cellChange", k, z, B);
2829
+ D("cellChange", k, z, B);
2834
2830
  }, tr = (b) => b == null ? void 0 : b.toLocaleString("zh-CN", {
2835
2831
  minimumFractionDigits: 2,
2836
2832
  maximumFractionDigits: 2
@@ -2996,11 +2992,11 @@ const Lp = /* @__PURE__ */ P2(Ep, [["render", Bp]]), Hp = { class: "extra-button
2996
2992
  empty: H(() => [
2997
2993
  o2("div", {
2998
2994
  class: "ss-empty-wrapper",
2999
- onMouseenter: k[1] || (k[1] = (g2) => M.value = !0),
3000
- onMouseleave: k[2] || (k[2] = (g2) => M.value = !1)
2995
+ onMouseenter: k[1] || (k[1] = (g2) => O.value = !0),
2996
+ onMouseleave: k[2] || (k[2] = (g2) => O.value = !1)
3001
2997
  }, [
3002
2998
  k[5] || (k[5] = o2("div", { class: "ss-empty-text" }, "暂无数据", -1)),
3003
- D.value ? $t((_(), E("span", {
2999
+ M.value ? $t((_(), E("span", {
3004
3000
  key: 0,
3005
3001
  title: "新增行",
3006
3002
  class: "ss-empty-add",
@@ -3013,14 +3009,14 @@ const Lp = /* @__PURE__ */ P2(Ep, [["render", Bp]]), Hp = { class: "extra-button
3013
3009
  _: 1
3014
3010
  })
3015
3011
  ], 512)), [
3016
- [U1, M.value]
3012
+ [U1, O.value]
3017
3013
  ]) : c2("", !0)
3018
3014
  ], 32)
3019
3015
  ]),
3020
3016
  default: H(() => {
3021
3017
  var g2, b2, m2, V2, T0, f0;
3022
3018
  return [
3023
- D.value ? (_(), F(Z, {
3019
+ M.value ? (_(), F(Z, {
3024
3020
  key: 0,
3025
3021
  width: 55,
3026
3022
  fixed: "",
@@ -3184,7 +3180,7 @@ const Lp = /* @__PURE__ */ P2(Ep, [["render", Bp]]), Hp = { class: "extra-button
3184
3180
  onInput: (p2) => y2(p2, f2, i0, st ?? U2 ?? $),
3185
3181
  onSelectSuggest: (p2) => w(p2, f2, i0),
3186
3182
  onChange: (p2) => {
3187
- er(p2, f2, $), O("cellChange", f2, i0, p2);
3183
+ er(p2, f2, $), D("cellChange", f2, i0, p2);
3188
3184
  }
3189
3185
  }, null, 40, ["modelValue", "onUpdate:modelValue", "content", "optionUrl", "suggest-list", "loading", "onFocus", "onInput", "onSelectSuggest", "onChange"]))
3190
3186
  ])) : c2("", !0)
@@ -3250,7 +3246,7 @@ const Lp = /* @__PURE__ */ P2(Ep, [["render", Bp]]), Hp = { class: "extra-button
3250
3246
  ]),
3251
3247
  _: 1
3252
3248
  }, 8, ["style"]), [
3253
- [U1, r.value && D.value]
3249
+ [U1, r.value && M.value]
3254
3250
  ])
3255
3251
  ], 512);
3256
3252
  };
@@ -3503,8 +3499,8 @@ const Lp = /* @__PURE__ */ P2(Ep, [["render", Bp]]), Hp = { class: "extra-button
3503
3499
  h("closeMenu", m);
3504
3500
  }, p = n2(() => r.value ? (a == null ? void 0 : a.mode) === "vertical" ? r.value : o.value : (a == null ? void 0 : a.mode) === "vertical" ? i.value : o.value), g = n2(() => s.value);
3505
3501
  return (m, v) => {
3506
- const y = X("el-sub-menu"), D = X("el-menu-item"), O = X("el-menu");
3507
- return _(), F(O, {
3502
+ const y = X("el-sub-menu"), M = X("el-menu-item"), D = X("el-menu");
3503
+ return _(), F(D, {
3508
3504
  class: "menu-wrap",
3509
3505
  mode: n.mode,
3510
3506
  "default-active": p.value,
@@ -3547,7 +3543,7 @@ const Lp = /* @__PURE__ */ P2(Ep, [["render", Bp]]), Hp = { class: "extra-button
3547
3543
  ]), 1032, ["menuList"])
3548
3544
  ]),
3549
3545
  _: 2
3550
- }, 1032, ["index", "style"])) : S.show ? (_(), F(D, {
3546
+ }, 1032, ["index", "style"])) : S.show ? (_(), F(M, {
3551
3547
  index: S.path,
3552
3548
  key: S.path,
3553
3549
  style: A0(S.style),
@@ -6836,28 +6832,28 @@ function fm(n, e, t, i, s, o, l, r) {
6836
6832
  if (s == "nearest")
6837
6833
  e.top < u.top ? (v = e.top - (u.top + l), t > 0 && e.bottom > u.bottom + v && (v = e.bottom - u.bottom + l)) : e.bottom > u.bottom && (v = e.bottom - u.bottom + l, t < 0 && e.top - v < u.top && (v = e.top - (u.top + l)));
6838
6834
  else {
6839
- let y = e.bottom - e.top, D = u.bottom - u.top;
6840
- v = (s == "center" && y <= D ? e.top + y / 2 - D / 2 : s == "start" || s == "center" && t < 0 ? e.top - l : e.bottom - D + l) - u.top;
6835
+ let y = e.bottom - e.top, M = u.bottom - u.top;
6836
+ v = (s == "center" && y <= M ? e.top + y / 2 - M / 2 : s == "start" || s == "center" && t < 0 ? e.top - l : e.bottom - M + l) - u.top;
6841
6837
  }
6842
6838
  if (i == "nearest" ? e.left < u.left ? (m = e.left - (u.left + o), t > 0 && e.right > u.right + m && (m = e.right - u.right + o)) : e.right > u.right && (m = e.right - u.right + o, t < 0 && e.left < u.left + m && (m = e.left - (u.left + o))) : m = (i == "center" ? e.left + (e.right - e.left) / 2 - (u.right - u.left) / 2 : i == "start" == r ? e.left - o : e.right - (u.right - u.left) + o) - u.left, m || v)
6843
6839
  if (f)
6844
6840
  h.scrollBy(m, v);
6845
6841
  else {
6846
- let y = 0, D = 0;
6842
+ let y = 0, M = 0;
6847
6843
  if (v) {
6848
- let O = c.scrollTop;
6849
- c.scrollTop += v / g, D = (c.scrollTop - O) * g;
6844
+ let D = c.scrollTop;
6845
+ c.scrollTop += v / g, M = (c.scrollTop - D) * g;
6850
6846
  }
6851
6847
  if (m) {
6852
- let O = c.scrollLeft;
6853
- c.scrollLeft += m / p, y = (c.scrollLeft - O) * p;
6848
+ let D = c.scrollLeft;
6849
+ c.scrollLeft += m / p, y = (c.scrollLeft - D) * p;
6854
6850
  }
6855
6851
  e = {
6856
6852
  left: e.left - y,
6857
- top: e.top - D,
6853
+ top: e.top - M,
6858
6854
  right: e.right - y,
6859
- bottom: e.bottom - D
6860
- }, y && Math.abs(y - m) < 1 && (i = "nearest"), D && Math.abs(D - v) < 1 && (s = "nearest");
6855
+ bottom: e.bottom - M
6856
+ }, y && Math.abs(y - m) < 1 && (i = "nearest"), M && Math.abs(M - v) < 1 && (s = "nearest");
6861
6857
  }
6862
6858
  if (f)
6863
6859
  break;
@@ -8611,14 +8607,14 @@ class Qi extends B2 {
8611
8607
  break;
8612
8608
  let { fromA: a, toA: h, fromB: c, toB: d } = r, u, f, p, g;
8613
8609
  if (i && i.range.fromB < d && i.range.toB > c) {
8614
- let O = Ft.build(this.view.state.doc, c, i.range.fromB, this.decorations, this.dynamicDecorationMap), S = Ft.build(this.view.state.doc, i.range.toB, d, this.decorations, this.dynamicDecorationMap);
8615
- f = O.breakAtStart, p = O.openStart, g = S.openEnd;
8610
+ let D = Ft.build(this.view.state.doc, c, i.range.fromB, this.decorations, this.dynamicDecorationMap), S = Ft.build(this.view.state.doc, i.range.toB, d, this.decorations, this.dynamicDecorationMap);
8611
+ f = D.breakAtStart, p = D.openStart, g = S.openEnd;
8616
8612
  let x = this.compositionView(i);
8617
- S.breakAtStart ? x.breakAfter = 1 : S.content.length && x.merge(x.length, x.length, S.content[0], !1, S.openStart, 0) && (x.breakAfter = S.content[0].breakAfter, S.content.shift()), O.content.length && x.merge(0, 0, O.content[O.content.length - 1], !0, 0, O.openEnd) && O.content.pop(), u = O.content.concat(x).concat(S.content);
8613
+ S.breakAtStart ? x.breakAfter = 1 : S.content.length && x.merge(x.length, x.length, S.content[0], !1, S.openStart, 0) && (x.breakAfter = S.content[0].breakAfter, S.content.shift()), D.content.length && x.merge(0, 0, D.content[D.content.length - 1], !0, 0, D.openEnd) && D.content.pop(), u = D.content.concat(x).concat(S.content);
8618
8614
  } else
8619
8615
  ({ content: u, breakAtStart: f, openStart: p, openEnd: g } = Ft.build(this.view.state.doc, c, d, this.decorations, this.dynamicDecorationMap));
8620
- let { i: m, off: v } = o.findPos(h, 1), { i: y, off: D } = o.findPos(a, -1);
8621
- mo(this, y, D, m, v, u, f, p, g);
8616
+ let { i: m, off: v } = o.findPos(h, 1), { i: y, off: M } = o.findPos(a, -1);
8617
+ mo(this, y, M, m, v, u, f, p, g);
8622
8618
  }
8623
8619
  i && this.fixCompositionDOM(i);
8624
8620
  }
@@ -9030,10 +9026,10 @@ function i4(n, e, t) {
9030
9026
  for (let m = 0; m < g.length; m++) {
9031
9027
  let v = g[m];
9032
9028
  s && n6(s, v) && (v = Ji(Zi(v, s.bottom), s.top));
9033
- let y = jm(e, v), D = Wm(t, v);
9034
- if (y == 0 && D == 0)
9029
+ let y = jm(e, v), M = Wm(t, v);
9030
+ if (y == 0 && M == 0)
9035
9031
  return p.nodeType == 3 ? en(p, e, t) : i4(p, e, t);
9036
- (!i || l > D || l == D && o > y) && (i = p, s = v, o = y, l = D, r = y ? e < v.left ? m > 0 : m < g.length - 1 : !0), y == 0 ? t > v.bottom && (!c || c.bottom < v.bottom) ? (a = p, c = v) : t < v.top && (!d || d.top > v.top) && (h = p, d = v) : c && n6(c, v) ? c = Zi(c, v.bottom) : d && n6(d, v) && (d = Ji(d, v.top));
9032
+ (!i || l > M || l == M && o > y) && (i = p, s = v, o = y, l = M, r = y ? e < v.left ? m > 0 : m < g.length - 1 : !0), y == 0 ? t > v.bottom && (!c || c.bottom < v.bottom) ? (a = p, c = v) : t < v.top && (!d || d.top > v.top) && (h = p, d = v) : c && n6(c, v) ? c = Zi(c, v.bottom) : d && n6(d, v) && (d = Ji(d, v.top));
9037
9033
  }
9038
9034
  }
9039
9035
  if (c && c.bottom >= t ? (i = a, s = c) : d && d.top <= t && (i = h, s = d), !i)
@@ -9073,8 +9069,8 @@ function Wo(n, e, t, i = -1) {
9073
9069
  return 0;
9074
9070
  if (u > h)
9075
9071
  return n.state.doc.length;
9076
- for (let O = n.viewState.heightOracle.textHeight / 2, S = !1; a = n.elementAtHeight(u), a.type != m0.Text; )
9077
- for (; u = i > 0 ? a.bottom + O : a.top - O, !(u >= 0 && u <= h); ) {
9072
+ for (let D = n.viewState.heightOracle.textHeight / 2, S = !1; a = n.elementAtHeight(u), a.type != m0.Text; )
9073
+ for (; u = i > 0 ? a.bottom + D : a.top - D, !(u >= 0 && u <= h); ) {
9078
9074
  if (S)
9079
9075
  return t ? null : 0;
9080
9076
  S = !0, i = -i;
@@ -9090,28 +9086,28 @@ function Wo(n, e, t, i = -1) {
9090
9086
  let v, y = -1;
9091
9087
  if (m && ((s = n.docView.nearest(m)) === null || s === void 0 ? void 0 : s.isEditable) != !1) {
9092
9088
  if (p.caretPositionFromPoint) {
9093
- let O = p.caretPositionFromPoint(c, d);
9094
- O && ({ offsetNode: v, offset: y } = O);
9089
+ let D = p.caretPositionFromPoint(c, d);
9090
+ D && ({ offsetNode: v, offset: y } = D);
9095
9091
  } else if (p.caretRangeFromPoint) {
9096
- let O = p.caretRangeFromPoint(c, d);
9097
- O && ({ startContainer: v, startOffset: y } = O, (!n.contentDOM.contains(v) || K.safari && Um(v, y, c) || K.chrome && Fm(v, y, c)) && (v = void 0));
9092
+ let D = p.caretRangeFromPoint(c, d);
9093
+ D && ({ startContainer: v, startOffset: y } = D, (!n.contentDOM.contains(v) || K.safari && Um(v, y, c) || K.chrome && Fm(v, y, c)) && (v = void 0));
9098
9094
  }
9099
9095
  v && (y = Math.min(ce(v), y));
9100
9096
  }
9101
9097
  if (!v || !n.docView.dom.contains(v)) {
9102
- let O = F2.find(n.docView, f);
9103
- if (!O)
9098
+ let D = F2.find(n.docView, f);
9099
+ if (!D)
9104
9100
  return u > a.top + a.height / 2 ? a.to : a.from;
9105
- ({ node: v, offset: y } = i4(O.dom, c, d));
9101
+ ({ node: v, offset: y } = i4(D.dom, c, d));
9106
9102
  }
9107
- let D = n.docView.nearest(v);
9108
- if (!D)
9103
+ let M = n.docView.nearest(v);
9104
+ if (!M)
9109
9105
  return null;
9110
- if (D.isWidget && ((o = D.dom) === null || o === void 0 ? void 0 : o.nodeType) == 1) {
9111
- let O = D.dom.getBoundingClientRect();
9112
- return e.y < O.top || e.y <= O.bottom && e.x <= (O.left + O.right) / 2 ? D.posAtStart : D.posAtEnd;
9106
+ if (M.isWidget && ((o = M.dom) === null || o === void 0 ? void 0 : o.nodeType) == 1) {
9107
+ let D = M.dom.getBoundingClientRect();
9108
+ return e.y < D.top || e.y <= D.bottom && e.x <= (D.left + D.right) / 2 ? M.posAtStart : M.posAtEnd;
9113
9109
  } else
9114
- return D.localPosFromDOM(v, y) + D.posAtStart;
9110
+ return M.localPosFromDOM(v, y) + M.posAtStart;
9115
9111
  }
9116
9112
  function tn(n, e, t, i, s) {
9117
9113
  let o = Math.round((i - e.left) * n.defaultCharacterWidth);
@@ -10513,8 +10509,8 @@ class vn {
10513
10509
  this.contentDOMHeight = r.height, this.mustMeasureContent = !1;
10514
10510
  let h = 0, c = 0;
10515
10511
  if (r.width && r.height) {
10516
- let { scaleX: O, scaleY: S } = ao(t, r);
10517
- (O > 5e-3 && Math.abs(this.scaleX - O) > 5e-3 || S > 5e-3 && Math.abs(this.scaleY - S) > 5e-3) && (this.scaleX = O, this.scaleY = S, h |= 16, l = a = !0);
10512
+ let { scaleX: D, scaleY: S } = ao(t, r);
10513
+ (D > 5e-3 && Math.abs(this.scaleX - D) > 5e-3 || S > 5e-3 && Math.abs(this.scaleY - S) > 5e-3) && (this.scaleX = D, this.scaleY = S, h |= 16, l = a = !0);
10518
10514
  }
10519
10515
  let d = (parseInt(i.paddingTop) || 0) * this.scaleY, u = (parseInt(i.paddingBottom) || 0) * this.scaleY;
10520
10516
  (this.paddingTop != d || this.paddingBottom != u) && (this.paddingTop = d, this.paddingBottom = u, h |= 18), this.editorWidth != e.scrollDOM.clientWidth && (s.lineWrapping && (a = !0), this.editorWidth = e.scrollDOM.clientWidth, h |= 16);
@@ -10527,20 +10523,20 @@ class vn {
10527
10523
  return 0;
10528
10524
  let y = r.width;
10529
10525
  if ((this.contentDOMWidth != y || this.editorHeight != e.scrollDOM.clientHeight) && (this.contentDOMWidth = r.width, this.editorHeight = e.scrollDOM.clientHeight, h |= 16), a) {
10530
- let O = e.docView.measureVisibleLineHeights(this.viewport);
10531
- if (s.mustRefreshForHeights(O) && (l = !0), l || s.lineWrapping && Math.abs(y - this.contentDOMWidth) > s.charWidth) {
10526
+ let D = e.docView.measureVisibleLineHeights(this.viewport);
10527
+ if (s.mustRefreshForHeights(D) && (l = !0), l || s.lineWrapping && Math.abs(y - this.contentDOMWidth) > s.charWidth) {
10532
10528
  let { lineHeight: S, charWidth: x, textHeight: C } = e.docView.measureTextSize();
10533
- l = S > 0 && s.refresh(o, S, x, C, Math.max(5, y / x), O), l && (e.docView.minWidth = 0, h |= 16);
10529
+ l = S > 0 && s.refresh(o, S, x, C, Math.max(5, y / x), D), l && (e.docView.minWidth = 0, h |= 16);
10534
10530
  }
10535
10531
  g > 0 && m > 0 ? c = Math.max(g, m) : g < 0 && m < 0 && (c = Math.min(g, m)), gn();
10536
10532
  for (let S of this.viewports) {
10537
- let x = S.from == this.viewport.from ? O : e.docView.measureVisibleLineHeights(S);
10533
+ let x = S.from == this.viewport.from ? D : e.docView.measureVisibleLineHeights(S);
10538
10534
  this.heightMap = (l ? v0.empty().applyChanges(this.stateDeco, k2.empty, this.heightOracle, [new j0(0, 0, 0, e.state.doc.length)]) : this.heightMap).updateHeight(s, 0, l, new _v(S.from, x));
10539
10535
  }
10540
10536
  Ct && (h |= 2);
10541
10537
  }
10542
- let D = !this.viewportIsAppropriate(this.viewport, c) || this.scrollTarget && (this.scrollTarget.range.head < this.viewport.from || this.scrollTarget.range.head > this.viewport.to);
10543
- return D && (h & 2 && (h |= this.updateScaler()), this.viewport = this.getViewport(c, this.scrollTarget), h |= this.updateForViewport()), (h & 2 || D) && this.updateViewportLines(), (this.lineGaps.length || this.viewport.to - this.viewport.from > 4e3) && this.updateLineGaps(this.ensureLineGaps(l ? [] : this.lineGaps, e)), h |= this.computeVisibleRanges(), this.mustEnforceCursorAssoc && (this.mustEnforceCursorAssoc = !1, e.docView.enforceCursorAssoc()), h;
10538
+ let M = !this.viewportIsAppropriate(this.viewport, c) || this.scrollTarget && (this.scrollTarget.range.head < this.viewport.from || this.scrollTarget.range.head > this.viewport.to);
10539
+ return M && (h & 2 && (h |= this.updateScaler()), this.viewport = this.getViewport(c, this.scrollTarget), h |= this.updateForViewport()), (h & 2 || M) && this.updateViewportLines(), (this.lineGaps.length || this.viewport.to - this.viewport.from > 4e3) && this.updateLineGaps(this.ensureLineGaps(l ? [] : this.lineGaps, e)), h |= this.computeVisibleRanges(), this.mustEnforceCursorAssoc && (this.mustEnforceCursorAssoc = !1, e.docView.enforceCursorAssoc()), h;
10544
10540
  }
10545
10541
  get visibleTop() {
10546
10542
  return this.scaler.fromDOM(this.pixelViewport.top);
@@ -10610,9 +10606,9 @@ class vn {
10610
10606
  }
10611
10607
  let m = Pv(e, (v) => v.from >= u.from && v.to <= u.to && Math.abs(v.from - c) < o && Math.abs(v.to - d) < o && !g.some((y) => v.from < y && v.to > y));
10612
10608
  if (!m) {
10613
- if (d < u.to && t && i && t.visibleRanges.some((D) => D.from <= d && D.to >= d)) {
10614
- let D = t.moveToLineBoundary(P.cursor(d), !1, !0).head;
10615
- D > c && (d = D);
10609
+ if (d < u.to && t && i && t.visibleRanges.some((M) => M.from <= d && M.to >= d)) {
10610
+ let M = t.moveToLineBoundary(P.cursor(d), !1, !0).head;
10611
+ M > c && (d = M);
10616
10612
  }
10617
10613
  let v = this.gapSize(u, c, d, f), y = i || v < 2e6 ? v : 2e6;
10618
10614
  m = new o6(c, d, v, y);
@@ -10628,8 +10624,8 @@ class vn {
10628
10624
  if (i) {
10629
10625
  let g = s / this.heightOracle.lineLength * this.heightOracle.lineHeight, m, v;
10630
10626
  if (u != null) {
10631
- let y = z1(d, u), D = ((this.visibleBottom - this.visibleTop) / 2 + g) / c.height;
10632
- m = y - D, v = y + D;
10627
+ let y = z1(d, u), M = ((this.visibleBottom - this.visibleTop) / 2 + g) / c.height;
10628
+ m = y - M, v = y + M;
10633
10629
  } else
10634
10630
  m = (this.visibleTop - c.top - g) / c.height, v = (this.visibleBottom - c.top + g) / c.height;
10635
10631
  f = T1(d, m), p = T1(d, v);
@@ -10638,13 +10634,13 @@ class vn {
10638
10634
  if (g > 2e6)
10639
10635
  for (let x of e)
10640
10636
  x.from >= c.from && x.from < c.to && x.size != x.displaySize && x.from * this.heightOracle.charWidth + v < this.pixelViewport.left && (v = x.size - x.displaySize);
10641
- let y = this.pixelViewport.left + v, D = this.pixelViewport.right + v, O, S;
10637
+ let y = this.pixelViewport.left + v, M = this.pixelViewport.right + v, D, S;
10642
10638
  if (u != null) {
10643
- let x = z1(d, u), C = ((D - y) / 2 + m) / g;
10644
- O = x - C, S = x + C;
10639
+ let x = z1(d, u), C = ((M - y) / 2 + m) / g;
10640
+ D = x - C, S = x + C;
10645
10641
  } else
10646
- O = (y - m) / g, S = (D + m) / g;
10647
- f = T1(d, O), p = T1(d, S);
10642
+ D = (y - m) / g, S = (M + m) / g;
10643
+ f = T1(d, D), p = T1(d, S);
10648
10644
  }
10649
10645
  f > c.from && a(c.from, f, c, d), p < c.to && a(p, c.to, c, d);
10650
10646
  };
@@ -12292,10 +12288,10 @@ function jv(n, e = Iv) {
12292
12288
  s(y, !0), f[y] || (f[y] = {
12293
12289
  preventDefault: !0,
12294
12290
  stopPropagation: !1,
12295
- run: [(D) => {
12296
- let O = ke = { view: D, prefix: y, scope: l };
12291
+ run: [(M) => {
12292
+ let D = ke = { view: M, prefix: y, scope: l };
12297
12293
  return setTimeout(() => {
12298
- ke == O && (ke = null);
12294
+ ke == D && (ke = null);
12299
12295
  }, $v), !0;
12300
12296
  }]
12301
12297
  });
@@ -12399,9 +12395,9 @@ function Wv(n, e, t) {
12399
12395
  return [];
12400
12396
  let i = Math.max(t.from, n.viewport.from), s = Math.min(t.to, n.viewport.to), o = n.textDirection == R2.LTR, l = n.contentDOM, r = l.getBoundingClientRect(), a = l8(n), h = l.querySelector(".cm-line"), c = h && window.getComputedStyle(h), d = r.left + (c ? parseInt(c.paddingLeft) + Math.min(0, parseInt(c.textIndent)) : 0), u = r.right - (c ? parseInt(c.paddingRight) : 0), f = n4(n, i, 1), p = n4(n, s, -1), g = f.type == m0.Text ? f : null, m = p.type == m0.Text ? p : null;
12401
12397
  if (g && (n.lineWrapping || f.widgetLineBreaks) && (g = Cn(n, i, 1, g)), m && (n.lineWrapping || p.widgetLineBreaks) && (m = Cn(n, s, -1, m)), g && m && g.from == m.from && g.to == m.to)
12402
- return y(D(t.from, t.to, g));
12398
+ return y(M(t.from, t.to, g));
12403
12399
  {
12404
- let S = g ? D(t.from, null, g) : O(f, !1), x = m ? D(null, t.to, m) : O(p, !0), C = [];
12400
+ let S = g ? M(t.from, null, g) : D(f, !1), x = m ? M(null, t.to, m) : D(p, !0), C = [];
12405
12401
  return (g || f).to < (m || p).from - (g && m ? 1 : 0) || f.widgetLineBreaks > 1 && S.bottom + n.defaultLineHeight / 2 < x.top ? C.push(v(d, S.bottom, u, x.top)) : S.bottom < x.top && n.elementAtHeight((S.bottom + x.top) / 2).type == m0.Text && (S.bottom = x.top = (S.bottom + x.top) / 2), y(S).concat(C).concat(y(x));
12406
12402
  }
12407
12403
  function v(S, x, C, I) {
@@ -12413,29 +12409,29 @@ function Wv(n, e, t) {
12413
12409
  I.push(v(C[R], S, C[R + 1], x));
12414
12410
  return I;
12415
12411
  }
12416
- function D(S, x, C) {
12412
+ function M(S, x, C) {
12417
12413
  let I = 1e9, R = -1e9, V = [];
12418
- function j(A, M, L, q, i2) {
12414
+ function j(A, O, L, q, i2) {
12419
12415
  let u2 = n.coordsAtPos(A, A == C.to ? -2 : 2), D2 = n.coordsAtPos(L, L == C.from ? 2 : -2);
12420
- !u2 || !D2 || (I = Math.min(u2.top, D2.top, I), R = Math.max(u2.bottom, D2.bottom, R), i2 == R2.LTR ? V.push(o && M ? d : u2.left, o && q ? u : D2.right) : V.push(!o && q ? d : D2.left, !o && M ? u : u2.right));
12416
+ !u2 || !D2 || (I = Math.min(u2.top, D2.top, I), R = Math.max(u2.bottom, D2.bottom, R), i2 == R2.LTR ? V.push(o && O ? d : u2.left, o && q ? u : D2.right) : V.push(!o && q ? d : D2.left, !o && O ? u : u2.right));
12421
12417
  }
12422
12418
  let T = S ?? C.from, a2 = x ?? C.to;
12423
12419
  for (let A of n.visibleRanges)
12424
12420
  if (A.to > T && A.from < a2)
12425
- for (let M = Math.max(A.from, T), L = Math.min(A.to, a2); ; ) {
12426
- let q = n.state.doc.lineAt(M);
12421
+ for (let O = Math.max(A.from, T), L = Math.min(A.to, a2); ; ) {
12422
+ let q = n.state.doc.lineAt(O);
12427
12423
  for (let i2 of n.bidiSpans(q)) {
12428
12424
  let u2 = i2.from + q.from, D2 = i2.to + q.from;
12429
12425
  if (u2 >= L)
12430
12426
  break;
12431
- D2 > M && j(Math.max(u2, M), S == null && u2 <= T, Math.min(D2, L), x == null && D2 >= a2, i2.dir);
12427
+ D2 > O && j(Math.max(u2, O), S == null && u2 <= T, Math.min(D2, L), x == null && D2 >= a2, i2.dir);
12432
12428
  }
12433
- if (M = q.to + 1, M >= L)
12429
+ if (O = q.to + 1, O >= L)
12434
12430
  break;
12435
12431
  }
12436
12432
  return V.length == 0 && j(T, S == null, a2, x == null, n.textDirection), { top: I, bottom: R, horizontal: V };
12437
12433
  }
12438
- function O(S, x) {
12434
+ function D(S, x) {
12439
12435
  let C = r.top + (x ? S.top : S.bottom);
12440
12436
  return { top: C, bottom: C, horizontal: [] };
12441
12437
  }
@@ -13092,9 +13088,9 @@ const a6 = /* @__PURE__ */ J.define({
13092
13088
  c.style.top = Et;
13093
13089
  continue;
13094
13090
  }
13095
- let f = a.arrow ? h.dom.querySelector(".cm-tooltip-arrow") : null, p = f ? 7 : 0, g = u.right - u.left, m = (e = Tn.get(h)) !== null && e !== void 0 ? e : u.bottom - u.top, v = h.offset || yw, y = this.view.textDirection == R2.LTR, D = u.width > i.right - i.left ? y ? i.left : i.right - u.width : y ? Math.max(i.left, Math.min(d.left - (f ? 14 : 0) + v.x, i.right - g)) : Math.min(Math.max(i.left, d.left - g + (f ? 14 : 0) - v.x), i.right - g), O = this.above[r];
13096
- !a.strictSide && (O ? d.top - m - p - v.y < i.top : d.bottom + m + p + v.y > i.bottom) && O == i.bottom - d.bottom > d.top - i.top && (O = this.above[r] = !O);
13097
- let S = (O ? d.top - i.top : i.bottom - d.bottom) - p;
13091
+ let f = a.arrow ? h.dom.querySelector(".cm-tooltip-arrow") : null, p = f ? 7 : 0, g = u.right - u.left, m = (e = Tn.get(h)) !== null && e !== void 0 ? e : u.bottom - u.top, v = h.offset || yw, y = this.view.textDirection == R2.LTR, M = u.width > i.right - i.left ? y ? i.left : i.right - u.width : y ? Math.max(i.left, Math.min(d.left - (f ? 14 : 0) + v.x, i.right - g)) : Math.min(Math.max(i.left, d.left - g + (f ? 14 : 0) - v.x), i.right - g), D = this.above[r];
13092
+ !a.strictSide && (D ? d.top - m - p - v.y < i.top : d.bottom + m + p + v.y > i.bottom) && D == i.bottom - d.bottom > d.top - i.top && (D = this.above[r] = !D);
13093
+ let S = (D ? d.top - i.top : i.bottom - d.bottom) - p;
13098
13094
  if (S < m && h.resize !== !1) {
13099
13095
  if (S < this.view.defaultLineHeight) {
13100
13096
  c.style.top = Et;
@@ -13102,15 +13098,15 @@ const a6 = /* @__PURE__ */ J.define({
13102
13098
  }
13103
13099
  Tn.set(h, m), c.style.height = (m = S) / o + "px";
13104
13100
  } else c.style.height && (c.style.height = "");
13105
- let x = O ? d.top - m - p - v.y : d.bottom + p + v.y, C = D + g;
13101
+ let x = D ? d.top - m - p - v.y : d.bottom + p + v.y, C = M + g;
13106
13102
  if (h.overlap !== !0)
13107
13103
  for (let I of l)
13108
- I.left < C && I.right > D && I.top < x + m && I.bottom > x && (x = O ? I.top - m - 2 - p : I.bottom + p + 2);
13109
- if (this.position == "absolute" ? (c.style.top = (x - n.parent.top) / o + "px", zn(c, (D - n.parent.left) / s)) : (c.style.top = x / o + "px", zn(c, D / s)), f) {
13110
- let I = d.left + (y ? v.x : -v.x) - (D + 14 - 7);
13104
+ I.left < C && I.right > M && I.top < x + m && I.bottom > x && (x = D ? I.top - m - 2 - p : I.bottom + p + 2);
13105
+ if (this.position == "absolute" ? (c.style.top = (x - n.parent.top) / o + "px", zn(c, (M - n.parent.left) / s)) : (c.style.top = x / o + "px", zn(c, M / s)), f) {
13106
+ let I = d.left + (y ? v.x : -v.x) - (M + 14 - 7);
13111
13107
  f.style.left = I / s + "px";
13112
13108
  }
13113
- h.overlap !== !0 && l.push({ left: D, top: x, right: C, bottom: x + m }), c.classList.toggle("cm-tooltip-above", O), c.classList.toggle("cm-tooltip-below", !O), h.positioned && h.positioned(n.space);
13109
+ h.overlap !== !0 && l.push({ left: M, top: x, right: C, bottom: x + m }), c.classList.toggle("cm-tooltip-above", D), c.classList.toggle("cm-tooltip-below", !D), h.positioned && h.positioned(n.space);
13114
13110
  }
13115
13111
  }
13116
13112
  maybeMeasure() {
@@ -14909,7 +14905,7 @@ function qw(n) {
14909
14905
  var e;
14910
14906
  let { buffer: t, nodeSet: i, maxBufferLength: s = g8, reused: o = [], minRepeatType: l = i.types.length } = n, r = Array.isArray(t) ? new X4(t, t.length) : t, a = i.types, h = 0, c = 0;
14911
14907
  function d(S, x, C, I, R, V) {
14912
- let { id: j, start: T, end: a2, size: A } = r, M = c, L = h;
14908
+ let { id: j, start: T, end: a2, size: A } = r, O = c, L = h;
14913
14909
  for (; A < 0; )
14914
14910
  if (r.next(), A == -1) {
14915
14911
  let y2 = o[j];
@@ -14934,20 +14930,20 @@ function qw(n) {
14934
14930
  r.next();
14935
14931
  let w = [], H2 = [], I2 = j >= l ? j : -1, G2 = 0, r0 = a2;
14936
14932
  for (; r.pos > y2; )
14937
- I2 >= 0 && r.id == I2 && r.size >= 0 ? (r.end <= r0 - s && (p(w, H2, T, G2, r.end, r0, I2, M, L), G2 = w.length, r0 = r.end), r.next()) : V > 2500 ? u(T, y2, w, H2) : d(T, y2, w, H2, I2, V + 1);
14938
- if (I2 >= 0 && G2 > 0 && G2 < w.length && p(w, H2, T, G2, T, r0, I2, M, L), w.reverse(), H2.reverse(), I2 > -1 && G2 > 0) {
14933
+ I2 >= 0 && r.id == I2 && r.size >= 0 ? (r.end <= r0 - s && (p(w, H2, T, G2, r.end, r0, I2, O, L), G2 = w.length, r0 = r.end), r.next()) : V > 2500 ? u(T, y2, w, H2) : d(T, y2, w, H2, I2, V + 1);
14934
+ if (I2 >= 0 && G2 > 0 && G2 < w.length && p(w, H2, T, G2, T, r0, I2, O, L), w.reverse(), H2.reverse(), I2 > -1 && G2 > 0) {
14939
14935
  let u0 = f(q, L);
14940
14936
  i2 = J4(q, w, H2, 0, w.length, 0, a2 - T, u0, u0);
14941
14937
  } else
14942
- i2 = g(q, w, H2, a2 - T, M - a2, L);
14938
+ i2 = g(q, w, H2, a2 - T, O - a2, L);
14943
14939
  }
14944
14940
  C.push(i2), I.push(D2);
14945
14941
  }
14946
14942
  function u(S, x, C, I) {
14947
14943
  let R = [], V = 0, j = -1;
14948
14944
  for (; r.pos > x; ) {
14949
- let { id: T, start: a2, end: A, size: M } = r;
14950
- if (M > 4)
14945
+ let { id: T, start: a2, end: A, size: O } = r;
14946
+ if (O > 4)
14951
14947
  r.next();
14952
14948
  else {
14953
14949
  if (j > -1 && a2 < j)
@@ -14957,8 +14953,8 @@ function qw(n) {
14957
14953
  }
14958
14954
  if (V) {
14959
14955
  let T = new Uint16Array(V * 4), a2 = R[R.length - 2];
14960
- for (let A = R.length - 3, M = 0; A >= 0; A -= 3)
14961
- T[M++] = R[A], T[M++] = R[A + 1] - a2, T[M++] = R[A + 2] - a2, T[M++] = M;
14956
+ for (let A = R.length - 3, O = 0; A >= 0; A -= 3)
14957
+ T[O++] = R[A], T[O++] = R[A + 1] - a2, T[O++] = R[A + 2] - a2, T[O++] = O;
14962
14958
  C.push(new Le(T, R[2] - a2, i)), I.push(a2 - S);
14963
14959
  }
14964
14960
  }
@@ -14974,10 +14970,10 @@ function qw(n) {
14974
14970
  };
14975
14971
  }
14976
14972
  function p(S, x, C, I, R, V, j, T, a2) {
14977
- let A = [], M = [];
14973
+ let A = [], O = [];
14978
14974
  for (; S.length > I; )
14979
- A.push(S.pop()), M.push(x.pop() + C - R);
14980
- S.push(g(i.types[j], A, M, V - R, T - V, a2)), x.push(R - C);
14975
+ A.push(S.pop()), O.push(x.pop() + C - R);
14976
+ S.push(g(i.types[j], A, O, V - R, T - V, a2)), x.push(R - C);
14981
14977
  }
14982
14978
  function g(S, x, C, I, R, V, j) {
14983
14979
  if (V) {
@@ -14998,11 +14994,11 @@ function qw(n) {
14998
14994
  T.size = I, T.start = R, T.skip = V, V += 4, I += 4, C.next();
14999
14995
  continue;
15000
14996
  }
15001
- let M = C.pos - A;
15002
- if (A < 0 || M < a2 || C.start < j)
14997
+ let O = C.pos - A;
14998
+ if (A < 0 || O < a2 || C.start < j)
15003
14999
  break;
15004
15000
  let L = C.id >= l ? 4 : 0, q = C.start;
15005
- for (C.next(); C.pos > M; ) {
15001
+ for (C.next(); C.pos > O; ) {
15006
15002
  if (C.size < 0)
15007
15003
  if (C.size == -3)
15008
15004
  L += 4;
@@ -15028,11 +15024,11 @@ function qw(n) {
15028
15024
  } else j == -3 ? h = I : j == -4 && (c = I);
15029
15025
  return C;
15030
15026
  }
15031
- let y = [], D = [];
15027
+ let y = [], M = [];
15032
15028
  for (; r.pos > 0; )
15033
- d(n.start || 0, n.bufferStart || 0, y, D, -1, 0);
15034
- let O = (e = n.length) !== null && e !== void 0 ? e : y.length ? D[0] + y[0].length : 0;
15035
- return new Y2(a[n.topID], y.reverse(), D.reverse(), O);
15029
+ d(n.start || 0, n.bufferStart || 0, y, M, -1, 0);
15030
+ let D = (e = n.length) !== null && e !== void 0 ? e : y.length ? M[0] + y[0].length : 0;
15031
+ return new Y2(a[n.topID], y.reverse(), M.reverse(), D);
15036
15032
  }
15037
15033
  const Gn = /* @__PURE__ */ new WeakMap();
15038
15034
  function t3(n, e) {
@@ -15061,24 +15057,24 @@ function J4(n, e, t, i, s, o, l, r, a) {
15061
15057
  /* Balance.BranchFactor */
15062
15058
  ), d = [], u = [];
15063
15059
  function f(p, g, m, v, y) {
15064
- for (let D = m; D < v; ) {
15065
- let O = D, S = g[D], x = t3(n, p[D]);
15066
- for (D++; D < v; D++) {
15067
- let C = t3(n, p[D]);
15060
+ for (let M = m; M < v; ) {
15061
+ let D = M, S = g[M], x = t3(n, p[M]);
15062
+ for (M++; M < v; M++) {
15063
+ let C = t3(n, p[M]);
15068
15064
  if (x + C >= c)
15069
15065
  break;
15070
15066
  x += C;
15071
15067
  }
15072
- if (D == O + 1) {
15068
+ if (M == D + 1) {
15073
15069
  if (x > c) {
15074
- let C = p[O];
15075
- f(C.children, C.positions, 0, C.children.length, g[O] + y);
15070
+ let C = p[D];
15071
+ f(C.children, C.positions, 0, C.children.length, g[D] + y);
15076
15072
  continue;
15077
15073
  }
15078
- d.push(p[O]);
15074
+ d.push(p[D]);
15079
15075
  } else {
15080
- let C = g[D - 1] + p[D - 1].length - S;
15081
- d.push(J4(n, p, g, O, D, S, C, null, a));
15076
+ let C = g[M - 1] + p[M - 1].length - S;
15077
+ d.push(J4(n, p, g, D, M, S, C, null, a));
15082
15078
  }
15083
15079
  u.push(S + y - o);
15084
15080
  }
@@ -15385,11 +15381,11 @@ class tx {
15385
15381
  if (u && u.overlay) {
15386
15382
  let f = e.node.enter(u.overlay[0].from + r, 1), p = this.highlighters.filter((m) => !m.scope || m.scope(u.tree.type)), g = e.firstChild();
15387
15383
  for (let m = 0, v = r; ; m++) {
15388
- let y = m < u.overlay.length ? u.overlay[m] : null, D = y ? y.from + r : a, O = Math.max(t, v), S = Math.min(i, D);
15389
- if (O < S && g)
15390
- for (; e.from < S && (this.highlightRange(e, O, S, s, o), this.startSpan(Math.min(S, e.to), h), !(e.to >= D || !e.nextSibling())); )
15384
+ let y = m < u.overlay.length ? u.overlay[m] : null, M = y ? y.from + r : a, D = Math.max(t, v), S = Math.min(i, M);
15385
+ if (D < S && g)
15386
+ for (; e.from < S && (this.highlightRange(e, D, S, s, o), this.startSpan(Math.min(S, e.to), h), !(e.to >= M || !e.nextSibling())); )
15391
15387
  ;
15392
- if (!y || D > i)
15388
+ if (!y || M > i)
15393
15389
  break;
15394
15390
  v = y.to + r, v > t && (this.highlightRange(f.cursor(), Math.max(t, y.from + r), Math.min(i, v), "", p), this.startSpan(Math.min(i, v), h));
15395
15391
  }
@@ -18771,31 +18767,31 @@ class I_ {
18771
18767
  return null;
18772
18768
  let { chars: t, folded: i, any: s, precise: o, byWord: l } = this;
18773
18769
  if (t.length == 1) {
18774
- let y = _0(e, 0), D = se(y), O = D == e.length ? 0 : -100;
18770
+ let y = _0(e, 0), M = se(y), D = M == e.length ? 0 : -100;
18775
18771
  if (y != t[0]) if (y == i[0])
18776
- O += -200;
18772
+ D += -200;
18777
18773
  else
18778
18774
  return null;
18779
- return this.ret(O, [0, D]);
18775
+ return this.ret(D, [0, M]);
18780
18776
  }
18781
18777
  let r = e.indexOf(this.pattern);
18782
18778
  if (r == 0)
18783
18779
  return this.ret(e.length == this.pattern.length ? 0 : -100, [0, this.pattern.length]);
18784
18780
  let a = t.length, h = 0;
18785
18781
  if (r < 0) {
18786
- for (let y = 0, D = Math.min(e.length, 200); y < D && h < a; ) {
18787
- let O = _0(e, y);
18788
- (O == t[h] || O == i[h]) && (s[h++] = y), y += se(O);
18782
+ for (let y = 0, M = Math.min(e.length, 200); y < M && h < a; ) {
18783
+ let D = _0(e, y);
18784
+ (D == t[h] || D == i[h]) && (s[h++] = y), y += se(D);
18789
18785
  }
18790
18786
  if (h < a)
18791
18787
  return null;
18792
18788
  }
18793
18789
  let c = 0, d = 0, u = !1, f = 0, p = -1, g = -1, m = /[a-z]/.test(e), v = !0;
18794
- for (let y = 0, D = Math.min(e.length, 200), O = 0; y < D && d < a; ) {
18790
+ for (let y = 0, M = Math.min(e.length, 200), D = 0; y < M && d < a; ) {
18795
18791
  let S = _0(e, y);
18796
18792
  r < 0 && (c < a && S == t[c] && (o[c++] = y), f < a && (S == t[f] || S == i[f] ? (f == 0 && (p = y), g = y + 1, f++) : f = 0));
18797
18793
  let x, C = S < 255 ? S >= 48 && S <= 57 || S >= 97 && S <= 122 ? 2 : S >= 65 && S <= 90 ? 1 : 0 : (x = V4(S)) != x.toLowerCase() ? 1 : x != x.toUpperCase() ? 2 : 0;
18798
- (!y || C == 1 && m || O == 0 && C != 0) && (t[d] == S || i[d] == S && (u = !0) ? l[d++] = y : l.length && (v = !1)), O = C, y += se(S);
18794
+ (!y || C == 1 && m || D == 0 && C != 0) && (t[d] == S || i[d] == S && (u = !0) ? l[d++] = y : l.length && (v = !1)), D = C, y += se(S);
18799
18795
  }
18800
18796
  return d == a && l[0] == 0 && v ? this.result(-100 + (u ? -200 : 0), l, e) : f == a && p == 0 ? this.ret(-200 - e.length + (g == e.length ? 0 : -100), [0, g]) : r > -1 ? this.ret(-700 - e.length, [r, r + this.pattern.length]) : f == a ? this.ret(-900 - e.length, [p, g]) : d == a ? this.result(-100 + (u ? -200 : 0) + -700 + (v ? 0 : -1100), l, e) : t.length == 2 ? null : this.result((s[0] ? -700 : 0) + -200 + -1100, s, e);
18801
18797
  }
@@ -21747,14 +21743,14 @@ function uS(n, e) {
21747
21743
  } else if (u == "tag") {
21748
21744
  let g = k6(c, p), m = r[g], v = [], y = p && p.lastChild;
21749
21745
  g && (!y || y.name != "CloseTag" || n3(c, y) != g) && v.push(m ? m.closeCompletion : { label: "</" + g + ">", type: "type", boost: 2 });
21750
- let D = v.concat(((m == null ? void 0 : m.children) || (p ? o : l)).map((O) => O.openCompletion));
21746
+ let M = v.concat(((m == null ? void 0 : m.children) || (p ? o : l)).map((D) => D.openCompletion));
21751
21747
  if (p && (m != null && m.text.length)) {
21752
- let O = p.firstChild;
21753
- O.to > a.pos - 20 && !/\S/.test(a.state.sliceDoc(O.to, a.pos)) && (D = D.concat(m.text));
21748
+ let D = p.firstChild;
21749
+ D.to > a.pos - 20 && !/\S/.test(a.state.sliceDoc(D.to, a.pos)) && (M = M.concat(m.text));
21754
21750
  }
21755
21751
  return {
21756
21752
  from: f,
21757
- options: D,
21753
+ options: M,
21758
21754
  validFor: /^<\/?[:\-\.\w\u00b7-\uffff]*$/
21759
21755
  };
21760
21756
  } else
@@ -21988,15 +21984,15 @@ const pS = /* @__PURE__ */ Q.inputHandler.of((n, e, t, i, s) => {
21988
21984
  isNc: u.value
21989
21985
  }));
21990
21986
  const h = n2(() => (r == null ? void 0 : r.value) === "cpt"), c = n2(() => (r == null ? void 0 : r.value) === "uv"), d = n2(() => (r == null ? void 0 : r.value) === "cyd"), u = n2(() => (r == null ? void 0 : r.value) === "nc"), f = n2(() => (r == null ? void 0 : r.value) === "txt"), p = n2(() => {
21991
- var V, j, T, a2, A, M;
21992
- return ((j = (V = i.blobUrl) == null ? void 0 : V.toUpperCase()) == null ? void 0 : j.includes(".OBJ")) || ((a2 = (T = i.blobUrl) == null ? void 0 : T.toUpperCase()) == null ? void 0 : a2.includes(".STL")) || ((M = (A = i.blobUrl) == null ? void 0 : A.toUpperCase()) == null ? void 0 : M.includes(".MTL")) || (r == null ? void 0 : r.value) === "obj" || (r == null ? void 0 : r.value) === "stl";
21987
+ var V, j, T, a2, A, O;
21988
+ return ((j = (V = i.blobUrl) == null ? void 0 : V.toUpperCase()) == null ? void 0 : j.includes(".OBJ")) || ((a2 = (T = i.blobUrl) == null ? void 0 : T.toUpperCase()) == null ? void 0 : a2.includes(".STL")) || ((O = (A = i.blobUrl) == null ? void 0 : A.toUpperCase()) == null ? void 0 : O.includes(".MTL")) || (r == null ? void 0 : r.value) === "obj" || (r == null ? void 0 : r.value) === "stl";
21993
21989
  }), g = n2(() => (r == null ? void 0 : r.value) === "ls"), m = n2(() => {
21994
21990
  var V, j;
21995
21991
  return ((j = (V = i.blobUrl) == null ? void 0 : V.toUpperCase()) == null ? void 0 : j.includes(".URDF")) || (r == null ? void 0 : r.value) === "urdf";
21996
- }), v = n2(() => m.value), y = n2(() => (r == null ? void 0 : r.value) === "docx"), D = n2(() => (r == null ? void 0 : r.value) === "csv"), O = n2(() => (r == null ? void 0 : r.value) === "xlsx"), S = n2(() => (r == null ? void 0 : r.value) === "pdf"), x = n2(() => {
21992
+ }), v = n2(() => m.value), y = n2(() => (r == null ? void 0 : r.value) === "docx"), M = n2(() => (r == null ? void 0 : r.value) === "csv"), D = n2(() => (r == null ? void 0 : r.value) === "xlsx"), S = n2(() => (r == null ? void 0 : r.value) === "pdf"), x = n2(() => {
21997
21993
  const V = r == null ? void 0 : r.value;
21998
21994
  return V === "jpg" || V === "jpeg" || V === "png" || V === "gif" || V === "webp" || V === "bmp";
21999
- }), C = n2(() => (r == null ? void 0 : r.value) === "pptx"), I = n2(() => (r == null ? void 0 : r.value) === "mp4"), R = n2(() => !f && !g && !v && !y && !O && !S && !x && !C);
21995
+ }), C = n2(() => (r == null ? void 0 : r.value) === "pptx"), I = n2(() => (r == null ? void 0 : r.value) === "mp4"), R = n2(() => !f && !g && !v && !y && !D && !S && !x && !C);
22000
21996
  return f1(() => {
22001
21997
  t("destroy");
22002
21998
  }), (V, j) => (_(), E("div", TS, [
@@ -22027,13 +22023,13 @@ const pS = /* @__PURE__ */ Q.inputHandler.of((n, e, t, i, s) => {
22027
22023
  key: i == null ? void 0 : i.fullScreen
22028
22024
  }, null, 8, ["files"]))
22029
22025
  ])) : c2("", !0),
22030
- O.value ? (_(), E("div", AS, [
22026
+ D.value ? (_(), E("div", AS, [
22031
22027
  t2(Vg, {
22032
22028
  fileName: o.value,
22033
22029
  blobUrl: s.value
22034
22030
  }, null, 8, ["fileName", "blobUrl"])
22035
22031
  ])) : c2("", !0),
22036
- D.value ? (_(), E("div", ES, [
22032
+ M.value ? (_(), E("div", ES, [
22037
22033
  t2(Lg, {
22038
22034
  fileName: o.value,
22039
22035
  blobUrl: s.value
@@ -22062,7 +22058,7 @@ const pS = /* @__PURE__ */ Q.inputHandler.of((n, e, t, i, s) => {
22062
22058
  fileName: o.value,
22063
22059
  blobUrl: s.value
22064
22060
  }, null, 8, ["fileName", "blobUrl"])
22065
- ])) : !y.value && !O.value && !S.value && !m.value && !x.value && !C.value && !p.value && !I.value && !a.value && !D.value ? (_(), E("div", GS, [
22061
+ ])) : !y.value && !D.value && !S.value && !m.value && !x.value && !C.value && !p.value && !I.value && !a.value && !M.value ? (_(), E("div", GS, [
22066
22062
  t2(wS, {
22067
22063
  fileName: o.value,
22068
22064
  blobUrl: s.value
@@ -22150,9 +22146,9 @@ const pS = /* @__PURE__ */ Q.inputHandler.of((n, e, t, i, s) => {
22150
22146
  const p = o.value;
22151
22147
  return (m = p == null ? void 0 : p[0]) == null ? void 0 : m.name;
22152
22148
  }), h = () => {
22153
- var m, v, y, D;
22149
+ var m, v, y, M;
22154
22150
  var p = document.createElement("a"), g = (v = (m = o.value) == null ? void 0 : m[0]) == null ? void 0 : v.blobUrl;
22155
- p.style.display = "none", p.href = g, p.download = decodeURI((D = (y = o.value) == null ? void 0 : y[0]) == null ? void 0 : D.name), document.body.appendChild(p), p.click(), document.body.removeChild(p);
22151
+ p.style.display = "none", p.href = g, p.download = decodeURI((M = (y = o.value) == null ? void 0 : y[0]) == null ? void 0 : M.name), document.body.appendChild(p), p.click(), document.body.removeChild(p);
22156
22152
  }, c = G(!1), d = () => {
22157
22153
  const p = c.value;
22158
22154
  c.value = !p;
@@ -22267,14 +22263,14 @@ const pS = /* @__PURE__ */ Q.inputHandler.of((n, e, t, i, s) => {
22267
22263
  d.value = x == null ? void 0 : x.url;
22268
22264
  return d.value;
22269
22265
  }, g = async (x) => {
22270
- var I, R, V, j, T, a2, A, M, L;
22266
+ var I, R, V, j, T, a2, A, O, L;
22271
22267
  if ((x == null ? void 0 : x.oldUrl) || (x == null ? void 0 : x.url)) {
22272
22268
  const q = Ar.service({
22273
22269
  lock: !0,
22274
22270
  text: "Loading",
22275
22271
  background: "rgba(0, 0, 0, 0.7)"
22276
22272
  });
22277
- c.value = x != null && x.oldUrl ? (V = x == null ? void 0 : x.oldUrl) == null ? void 0 : V.split("/")[((R = (I = x == null ? void 0 : x.oldUrl) == null ? void 0 : I.split("/")) == null ? void 0 : R.length) - 1] : (x == null ? void 0 : x.name) + "." + ((L = (T = (j = L0(x)) == null ? void 0 : j.url) == null ? void 0 : T.split(".")) == null ? void 0 : L[((M = (A = (a2 = L0(x)) == null ? void 0 : a2.url) == null ? void 0 : A.split(".")) == null ? void 0 : M.length) - 1]), d.value = await p(x).finally(() => {
22273
+ c.value = x != null && x.oldUrl ? (V = x == null ? void 0 : x.oldUrl) == null ? void 0 : V.split("/")[((R = (I = x == null ? void 0 : x.oldUrl) == null ? void 0 : I.split("/")) == null ? void 0 : R.length) - 1] : (x == null ? void 0 : x.name) + "." + ((L = (T = (j = L0(x)) == null ? void 0 : j.url) == null ? void 0 : T.split(".")) == null ? void 0 : L[((O = (A = (a2 = L0(x)) == null ? void 0 : a2.url) == null ? void 0 : A.split(".")) == null ? void 0 : O.length) - 1]), d.value = await p(x).finally(() => {
22278
22274
  q.close();
22279
22275
  });
22280
22276
  } else {
@@ -22299,7 +22295,7 @@ const pS = /* @__PURE__ */ Q.inputHandler.of((n, e, t, i, s) => {
22299
22295
  for (; V--; )
22300
22296
  j[V] = R.charCodeAt(V);
22301
22297
  return new Blob([j], { type: I });
22302
- }, D = async () => {
22298
+ }, M = async () => {
22303
22299
  var R;
22304
22300
  s.value = !0;
22305
22301
  const x = (R = a.value) == null ? void 0 : R.map(async (V) => {
@@ -22314,13 +22310,13 @@ const pS = /* @__PURE__ */ Q.inputHandler.of((n, e, t, i, s) => {
22314
22310
  }), C = await Promise.all(x);
22315
22311
  let I = [];
22316
22312
  C == null || C.map((V) => {
22317
- var j, T, a2, A, M, L;
22313
+ var j, T, a2, A, O, L;
22318
22314
  return I.push({
22319
22315
  name: ((T = (j = V == null ? void 0 : V.data) == null ? void 0 : j.result) == null ? void 0 : T.fileName) ?? (V == null ? void 0 : V.name),
22320
22316
  url: ((A = (a2 = V == null ? void 0 : V.data) == null ? void 0 : a2.result) == null ? void 0 : A.url) ?? (V == null ? void 0 : V.url)
22321
- }), (L = (M = V == null ? void 0 : V.data) == null ? void 0 : M.result) == null ? void 0 : L.url;
22317
+ }), (L = (O = V == null ? void 0 : V.data) == null ? void 0 : O.result) == null ? void 0 : L.url;
22322
22318
  }), B3.success("上传成功"), o.value = I, i("update:modelValue", I), i("change", I), a.value = [], h.value = !1, s.value = !1;
22323
- }, O = () => {
22319
+ }, D = () => {
22324
22320
  h.value = !1, a.value = o.value, u.value = o.value;
22325
22321
  }, S = (x) => {
22326
22322
  if (!x) return;
@@ -22353,7 +22349,7 @@ const pS = /* @__PURE__ */ Q.inputHandler.of((n, e, t, i, s) => {
22353
22349
  }),
22354
22350
  o2("div", ZS, [
22355
22351
  (_(!0), E(_2, null, T2(o.value, (T) => {
22356
- var a2, A, M, L, q, i2;
22352
+ var a2, A, O, L, q, i2;
22357
22353
  return _(), E("div", {
22358
22354
  class: "upload-content-title",
22359
22355
  key: T,
@@ -22362,7 +22358,7 @@ const pS = /* @__PURE__ */ Q.inputHandler.of((n, e, t, i, s) => {
22362
22358
  o2("div", {
22363
22359
  style: { width: "90%", overflow: "hidden", "text-overflow": "ellipsis", "white-space": "nowrap" },
22364
22360
  title: T == null ? void 0 : T.name
22365
- }, L2((A = (a2 = T == null ? void 0 : T.url) == null ? void 0 : a2.split(".")) != null && A[1] ? (T == null ? void 0 : T.name) + "." + ((i2 = (M = T == null ? void 0 : T.url) == null ? void 0 : M.split(".")) == null ? void 0 : i2[((q = (L = T == null ? void 0 : T.url) == null ? void 0 : L.split(".")) == null ? void 0 : q.length) - 1]) : T == null ? void 0 : T.name), 9, eC),
22361
+ }, L2((A = (a2 = T == null ? void 0 : T.url) == null ? void 0 : a2.split(".")) != null && A[1] ? (T == null ? void 0 : T.name) + "." + ((i2 = (O = T == null ? void 0 : T.url) == null ? void 0 : O.split(".")) == null ? void 0 : i2[((q = (L = T == null ? void 0 : T.url) == null ? void 0 : L.split(".")) == null ? void 0 : q.length) - 1]) : T == null ? void 0 : T.name), 9, eC),
22366
22362
  o2("div", tC, [
22367
22363
  t2(I, {
22368
22364
  class: "icon-blue",
@@ -22376,7 +22372,7 @@ const pS = /* @__PURE__ */ Q.inputHandler.of((n, e, t, i, s) => {
22376
22372
  ]),
22377
22373
  t2(z4, {
22378
22374
  visible: h.value,
22379
- onBeforeDestroy: O,
22375
+ onBeforeDestroy: D,
22380
22376
  title: "上传文件"
22381
22377
  }, {
22382
22378
  default: H(() => [
@@ -22408,10 +22404,10 @@ const pS = /* @__PURE__ */ Q.inputHandler.of((n, e, t, i, s) => {
22408
22404
  ], -1))
22409
22405
  ]),
22410
22406
  file: H(({ file: T, index: a2 }) => {
22411
- var A, M, L, q;
22407
+ var A, O, L, q;
22412
22408
  return [
22413
22409
  o2("div", iC, [
22414
- o2("div", nC, L2((M = (A = T == null ? void 0 : T.url) == null ? void 0 : A.split(".")) != null && M[1] ? (T == null ? void 0 : T.name) + "." + ((q = (L = T == null ? void 0 : T.url) == null ? void 0 : L.split(".")) == null ? void 0 : q[1]) : T == null ? void 0 : T.name), 1),
22410
+ o2("div", nC, L2((O = (A = T == null ? void 0 : T.url) == null ? void 0 : A.split(".")) != null && O[1] ? (T == null ? void 0 : T.name) + "." + ((q = (L = T == null ? void 0 : T.url) == null ? void 0 : L.split(".")) == null ? void 0 : q[1]) : T == null ? void 0 : T.name), 1),
22415
22411
  o2("div", sC, [
22416
22412
  t2(I, {
22417
22413
  class: "icon-blue",
@@ -22438,14 +22434,14 @@ const pS = /* @__PURE__ */ Q.inputHandler.of((n, e, t, i, s) => {
22438
22434
  footer: H(() => [
22439
22435
  o2("div", oC, [
22440
22436
  t2(ge, {
22441
- onClickTrigger: O,
22437
+ onClickTrigger: D,
22442
22438
  id: "themeBorderButton",
22443
22439
  disabled: s.value,
22444
22440
  modelValue: "取消"
22445
22441
  }, null, 8, ["disabled"]),
22446
22442
  t2(ge, {
22447
22443
  type: "primary",
22448
- onClickTrigger: D,
22444
+ onClickTrigger: M,
22449
22445
  id: "themeButton",
22450
22446
  disabled: s.value,
22451
22447
  modelValue: "确认"
@@ -22473,7 +22469,7 @@ const pS = /* @__PURE__ */ Q.inputHandler.of((n, e, t, i, s) => {
22473
22469
  emits: ["update:modelValue", "change"],
22474
22470
  setup(n, { emit: e }) {
22475
22471
  const t = n, i = n2(() => "http://222.92.178.198:62001"), s = e, o = async (h) => {
22476
- var g, m, v, y, D;
22472
+ var g, m, v, y, M;
22477
22473
  const { file: c, onSuccess: d, onError: u } = h, f = new FormData();
22478
22474
  f.append("file", c);
22479
22475
  const p = await T6(f);
@@ -22481,7 +22477,7 @@ const pS = /* @__PURE__ */ Q.inputHandler.of((n, e, t, i, s) => {
22481
22477
  name: c == null ? void 0 : c.name,
22482
22478
  uid: c == null ? void 0 : c.uid,
22483
22479
  id: (v = (m = p == null ? void 0 : p.data) == null ? void 0 : m.result) == null ? void 0 : v.id,
22484
- url: (D = (y = p == null ? void 0 : p.data) == null ? void 0 : y.result) == null ? void 0 : D.url
22480
+ url: (M = (y = p == null ? void 0 : p.data) == null ? void 0 : y.result) == null ? void 0 : M.url
22485
22481
  }]);
22486
22482
  }, l = G([]);
22487
22483
  q2(() => t == null ? void 0 : t.modelValue, (h) => {
@@ -22998,10 +22994,10 @@ var gC = /* @__PURE__ */ t0({
22998
22994
  function y() {
22999
22995
  return t.signaturePad.isEmpty();
23000
22996
  }
23001
- function D() {
22997
+ function M() {
23002
22998
  return o.value;
23003
22999
  }
23004
- function O() {
23000
+ function D() {
23005
23001
  return t.cacheImages = [], t.cacheImages;
23006
23002
  }
23007
23003
  function S() {
@@ -23034,8 +23030,8 @@ var gC = /* @__PURE__ */ t0({
23034
23030
  lockSignaturePad: m,
23035
23031
  openSignaturePad: v,
23036
23032
  isEmpty: y,
23037
- getPropImagesAndCacheImages: D,
23038
- clearCacheImages: O,
23033
+ getPropImagesAndCacheImages: M,
23034
+ clearCacheImages: D,
23039
23035
  clearSignature: S
23040
23036
  };
23041
23037
  },
@@ -23297,18 +23293,18 @@ const vC = { class: "signature-wrap" }, wC = { class: "signature-types" }, xC =
23297
23293
  const p = /{\\pict[\s\S]+?({\\\*\\blipuid\s?[\da-fA-F]+)[\s}]*/, g = new RegExp("(?:(" + p.source + "))([\\da-fA-F\\s]+)\\}", "g"), m = f.match(g), v = [];
23298
23294
  if (m)
23299
23295
  for (const y of m) {
23300
- let D = !1;
23301
- y.includes("\\pngblip") ? D = "image/png" : y.includes("\\jpegblip") && (D = "image/jpeg"), D && v.push({
23296
+ let M = !1;
23297
+ y.includes("\\pngblip") ? M = "image/png" : y.includes("\\jpegblip") && (M = "image/jpeg"), M && v.push({
23302
23298
  hex: y.replace(p, "").replace(/[^\da-fA-F]/g, ""),
23303
- type: D
23299
+ type: M
23304
23300
  });
23305
23301
  }
23306
23302
  return v;
23307
23303
  }, c = (f) => btoa(f.match(/\w{2}/g).map((p) => String.fromCharCode(parseInt(p, 16))).join("")), d = (f, p = "file") => {
23308
- let g = f.split(","), m = g[0].match(/:(.*?);/)[1], v = m.split("/")[1], y = atob(g[1]), D = y.length, O = new Uint8Array(D);
23309
- for (; D--; )
23310
- O[D] = y.charCodeAt(D);
23311
- return new File([O], `${p}.${v}`, {
23304
+ let g = f.split(","), m = g[0].match(/:(.*?);/)[1], v = m.split("/")[1], y = atob(g[1]), M = y.length, D = new Uint8Array(M);
23305
+ for (; M--; )
23306
+ D[M] = y.charCodeAt(M);
23307
+ return new File([D], `${p}.${v}`, {
23312
23308
  type: m
23313
23309
  });
23314
23310
  }, u = async (f, p) => {
@@ -23563,7 +23559,7 @@ const AC = ["onDblclick"], EC = {
23563
23559
  v != null && v.value || (v == null ? void 0 : v.value) === "" ? (_(), F(s3(l(v == null ? void 0 : v.type)), {
23564
23560
  key: 0,
23565
23561
  modelValue: v.value,
23566
- "onUpdate:modelValue": (D) => v.value = D,
23562
+ "onUpdate:modelValue": (M) => v.value = M,
23567
23563
  content: (v == null ? void 0 : v.contents) ?? []
23568
23564
  }, null, 8, ["modelValue", "onUpdate:modelValue", "content"])) : c2("", !0)
23569
23565
  ]))), 128))