lengyue-editor 1.1.0-alpha.6 → 1.2.0

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.
@@ -3,7 +3,7 @@ var X$ = (t, e, n) => e in t ? G$(t, e, { enumerable: !0, configurable: !0, writ
3
3
  var $a = (t, e, n) => X$(t, typeof e != "symbol" ? e + "" : e, n);
4
4
  import "./style.css";
5
5
  import * as J$ from "vue";
6
- import { getCurrentInstance as dn, inject as Z, computed as R, ref as N, h as yt, provide as Tt, defineComponent as te, createVNode as h, onMounted as Ue, nextTick as Je, isVNode as xn, Fragment as Se, watch as ue, Teleport as Ha, mergeProps as Te, toRefs as Ge, reactive as hn, createApp as hu, onUnmounted as ka, Comment as wC, onActivated as Z$, onDeactivated as Q$, onBeforeUnmount as Xt, onUpdated as Xl, Text as CC, withDirectives as ya, vShow as vo, Transition as Oc, watchEffect as $c, createTextVNode as Re, onBeforeMount as kC, unref as k, getCurrentScope as e3, onScopeDispose as t3, TransitionGroup as n3, readonly as xC, resolveDirective as SC, shallowRef as Wv, openBlock as B, createElementBlock as ie, createElementVNode as H, renderList as ot, toDisplayString as de, normalizeClass as et, createBlock as q, createCommentVNode as re, resolveDynamicComponent as OC, withCtx as Y, renderSlot as Vt, isRef as tt, normalizeStyle as Dt, useAttrs as r3, withModifiers as a3, normalizeProps as Ro, guardReactiveProps as Bo, createSlots as Uv } from "vue";
6
+ import { getCurrentInstance as dn, inject as J, computed as R, ref as N, h as yt, provide as Tt, defineComponent as te, createVNode as h, onMounted as Ue, nextTick as Je, isVNode as xn, Fragment as Se, watch as ue, Teleport as Ha, mergeProps as Te, toRefs as Ge, reactive as hn, createApp as hu, onUnmounted as ka, Comment as wC, onActivated as Z$, onDeactivated as Q$, onBeforeUnmount as Xt, onUpdated as Xl, Text as CC, withDirectives as ya, vShow as vo, Transition as Oc, watchEffect as $c, createTextVNode as Re, onBeforeMount as kC, unref as k, getCurrentScope as e3, onScopeDispose as t3, TransitionGroup as n3, readonly as xC, resolveDirective as SC, shallowRef as Wv, openBlock as B, createElementBlock as ie, createElementVNode as H, renderList as ot, toDisplayString as de, normalizeClass as et, createBlock as q, createCommentVNode as re, resolveDynamicComponent as OC, withCtx as Y, renderSlot as Vt, isRef as tt, normalizeStyle as Dt, useAttrs as r3, withModifiers as a3, normalizeProps as Ro, guardReactiveProps as Bo, createSlots as Uv } from "vue";
7
7
  import { useStorage as xl, useFullscreen as o3, onClickOutside as fo, useClipboard as gu, useFileDialog as cm, useImage as l3, useThrottleFn as dm, useResizeObserver as i3, useDateFormat as u3, useNow as s3, useTimeAgo as c3, useOnline as d3, useTimestamp as v3, isDefined as ol } from "@vueuse/core";
8
8
  import { isRecord as Ia, isString as er, isFunction as Fi, isPromise as f3, isAsyncFunction as Ld, isNumber as ro, isBoolean as bo } from "@tool-belt/type-predicates";
9
9
  import { createI18n as m3 } from "vue-i18n";
@@ -65,7 +65,7 @@ import xi from "nzh/cn";
65
65
  import zd from "mammoth";
66
66
  import { ObjectSchema as m5 } from "@eslint/object-schema";
67
67
  /**
68
- * lengyue-editor 1.1.0-alpha.6
68
+ * lengyue-editor 1.2.0
69
69
  * @license MIT
70
70
  * @author umodoc https://www.umodoc.com
71
71
  * @see https://www.umodoc.com
@@ -1611,8 +1611,8 @@ var M2 = { exports: {} };
1611
1611
  if (typeof F == "string" && !/Z$/i.test(F)) {
1612
1612
  var L = F.match(b);
1613
1613
  if (L) {
1614
- var G = L[2] - 1 || 0, J = (L[7] || "0").substring(0, 3);
1615
- return z ? new Date(Date.UTC(L[1], G, L[3] || 1, L[4] || 0, L[5] || 0, L[6] || 0, J)) : new Date(L[1], G, L[3] || 1, L[4] || 0, L[5] || 0, L[6] || 0, J);
1614
+ var G = L[2] - 1 || 0, Z = (L[7] || "0").substring(0, 3);
1615
+ return z ? new Date(Date.UTC(L[1], G, L[3] || 1, L[4] || 0, L[5] || 0, L[6] || 0, Z)) : new Date(L[1], G, L[3] || 1, L[4] || 0, L[5] || 0, L[6] || 0, Z);
1616
1616
  }
1617
1617
  }
1618
1618
  return new Date(F);
@@ -1641,7 +1641,7 @@ var M2 = { exports: {} };
1641
1641
  var F = this, z = !!T.u(A) || A, L = T.p(S), G = function(oe, le) {
1642
1642
  var se = T.w(F.$u ? Date.UTC(F.$y, le, oe) : new Date(F.$y, le, oe), F);
1643
1643
  return z ? se : se.endOf(s);
1644
- }, J = function(oe, le) {
1644
+ }, Z = function(oe, le) {
1645
1645
  return T.w(F.toDate()[oe].apply(F.toDate("s"), (z ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(le)), F);
1646
1646
  }, ee = this.$W, W = this.$M, V = this.$D, U = "set" + (this.$u ? "UTC" : "");
1647
1647
  switch (L) {
@@ -1654,24 +1654,24 @@ var M2 = { exports: {} };
1654
1654
  return G(z ? V - Q : V + (6 - Q), W);
1655
1655
  case s:
1656
1656
  case m:
1657
- return J(U + "Hours", 0);
1657
+ return Z(U + "Hours", 0);
1658
1658
  case u:
1659
- return J(U + "Minutes", 1);
1659
+ return Z(U + "Minutes", 1);
1660
1660
  case i:
1661
- return J(U + "Seconds", 2);
1661
+ return Z(U + "Seconds", 2);
1662
1662
  case l:
1663
- return J(U + "Milliseconds", 3);
1663
+ return Z(U + "Milliseconds", 3);
1664
1664
  default:
1665
1665
  return this.clone();
1666
1666
  }
1667
1667
  }, $.endOf = function(S) {
1668
1668
  return this.startOf(S, !1);
1669
1669
  }, $.$set = function(S, A) {
1670
- var F, z = T.p(S), L = "set" + (this.$u ? "UTC" : ""), G = (F = {}, F[s] = L + "Date", F[m] = L + "Date", F[d] = L + "Month", F[f] = L + "FullYear", F[u] = L + "Hours", F[i] = L + "Minutes", F[l] = L + "Seconds", F[o] = L + "Milliseconds", F)[z], J = z === s ? this.$D + (A - this.$W) : A;
1670
+ var F, z = T.p(S), L = "set" + (this.$u ? "UTC" : ""), G = (F = {}, F[s] = L + "Date", F[m] = L + "Date", F[d] = L + "Month", F[f] = L + "FullYear", F[u] = L + "Hours", F[i] = L + "Minutes", F[l] = L + "Seconds", F[o] = L + "Milliseconds", F)[z], Z = z === s ? this.$D + (A - this.$W) : A;
1671
1671
  if (z === d || z === f) {
1672
1672
  var ee = this.clone().set(m, 1);
1673
- ee.$d[G](J), ee.init(), this.$d = ee.set(m, Math.min(this.$D, ee.daysInMonth())).$d;
1674
- } else G && this.$d[G](J);
1673
+ ee.$d[G](Z), ee.init(), this.$d = ee.set(m, Math.min(this.$D, ee.daysInMonth())).$d;
1674
+ } else G && this.$d[G](Z);
1675
1675
  return this.init(), this;
1676
1676
  }, $.set = function(S, A) {
1677
1677
  return this.clone().$set(S, A);
@@ -1688,14 +1688,14 @@ var M2 = { exports: {} };
1688
1688
  if (L === f) return this.set(f, this.$y + S);
1689
1689
  if (L === s) return G(1);
1690
1690
  if (L === c) return G(7);
1691
- var J = (F = {}, F[i] = r, F[u] = a, F[l] = n, F)[L] || 1, ee = this.$d.getTime() + S * J;
1691
+ var Z = (F = {}, F[i] = r, F[u] = a, F[l] = n, F)[L] || 1, ee = this.$d.getTime() + S * Z;
1692
1692
  return T.w(ee, this);
1693
1693
  }, $.subtract = function(S, A) {
1694
1694
  return this.add(-1 * S, A);
1695
1695
  }, $.format = function(S) {
1696
1696
  var A = this, F = this.$locale();
1697
1697
  if (!this.isValid()) return F.invalidDate || p;
1698
- var z = S || "YYYY-MM-DDTHH:mm:ssZ", L = T.z(this), G = this.$H, J = this.$m, ee = this.$M, W = F.weekdays, V = F.months, U = F.meridiem, X = function(le, se, be, _e) {
1698
+ var z = S || "YYYY-MM-DDTHH:mm:ssZ", L = T.z(this), G = this.$H, Z = this.$m, ee = this.$M, W = F.weekdays, V = F.months, U = F.meridiem, X = function(le, se, be, _e) {
1699
1699
  return le && (le[se] || le(A, z)) || be[se].slice(0, _e);
1700
1700
  }, Q = function(le) {
1701
1701
  return T.s(G % 12 || 12, le, "0");
@@ -1739,13 +1739,13 @@ var M2 = { exports: {} };
1739
1739
  case "hh":
1740
1740
  return Q(2);
1741
1741
  case "a":
1742
- return oe(G, J, !0);
1742
+ return oe(G, Z, !0);
1743
1743
  case "A":
1744
- return oe(G, J, !1);
1744
+ return oe(G, Z, !1);
1745
1745
  case "m":
1746
- return String(J);
1746
+ return String(Z);
1747
1747
  case "mm":
1748
- return T.s(J, 2, "0");
1748
+ return T.s(Z, 2, "0");
1749
1749
  case "s":
1750
1750
  return String(A.$s);
1751
1751
  case "ss":
@@ -1761,8 +1761,8 @@ var M2 = { exports: {} };
1761
1761
  }, $.utcOffset = function() {
1762
1762
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
1763
1763
  }, $.diff = function(S, A, F) {
1764
- var z, L = this, G = T.p(A), J = M(S), ee = (J.utcOffset() - this.utcOffset()) * r, W = this - J, V = function() {
1765
- return T.m(L, J);
1764
+ var z, L = this, G = T.p(A), Z = M(S), ee = (Z.utcOffset() - this.utcOffset()) * r, W = this - Z, V = function() {
1765
+ return T.m(L, Z);
1766
1766
  };
1767
1767
  switch (G) {
1768
1768
  case f:
@@ -2067,7 +2067,7 @@ var Kc = /* @__PURE__ */ function(t) {
2067
2067
  */
2068
2068
  var nf = N();
2069
2069
  function _t() {
2070
- var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : void 0, e = arguments.length > 1 ? arguments[1] : void 0, n = dn() ? Z(j2, null) : nf, r = R(function() {
2070
+ var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : void 0, e = arguments.length > 1 ? arguments[1] : void 0, n = dn() ? J(j2, null) : nf, r = R(function() {
2071
2071
  return (n == null ? void 0 : n.value) || D2;
2072
2072
  }), a = R(function() {
2073
2073
  return Object.assign({}, r.value[t], e);
@@ -3241,7 +3241,7 @@ const Tn = /* @__PURE__ */ Ot(ON);
3241
3241
  function An(t) {
3242
3242
  var e = dn(), n = R(function() {
3243
3243
  return e.props.disabled;
3244
- }), r = Z("formDisabled", /* @__PURE__ */ Object.create(null));
3244
+ }), r = J("formDisabled", /* @__PURE__ */ Object.create(null));
3245
3245
  return R(function() {
3246
3246
  var a, o, l;
3247
3247
  return Tn(t == null || (a = t.beforeDisabled) === null || a === void 0 ? void 0 : a.value) ? t.beforeDisabled.value : Tn(n.value) ? n.value : Tn(t == null || (o = t.afterDisabled) === null || o === void 0 ? void 0 : o.value) ? t.afterDisabled.value : Tn((l = r.disabled) === null || l === void 0 ? void 0 : l.value) ? r.disabled.value : !1;
@@ -6104,8 +6104,8 @@ var wk = _k.exports;
6104
6104
  };
6105
6105
  function S(A, F) {
6106
6106
  for (M = A, T = F, a = 0; !I && j && !z && a < D.length; a++) {
6107
- var z, L = D[a], G = $.p, J = L[2];
6108
- A > 3 ? (z = J === F) && (T = L[(M = L[4]) ? 5 : (M = 3, 3)], L[4] = L[5] = r) : L[0] <= G && ((z = A < 2 && G < L[1]) ? (M = 0, $.v = F, $.n = L[1]) : G < J && (z = A < 3 || L[0] > F || F > J) && (L[4] = A, L[5] = F, $.n = J, M = 0));
6107
+ var z, L = D[a], G = $.p, Z = L[2];
6108
+ A > 3 ? (z = Z === F) && (T = L[(M = L[4]) ? 5 : (M = 3, 3)], L[4] = L[5] = r) : L[0] <= G && ((z = A < 2 && G < L[1]) ? (M = 0, $.v = F, $.n = L[1]) : G < Z && (z = A < 3 || L[0] > F || F > Z) && (L[4] = A, L[5] = F, $.n = Z, M = 0));
6109
6109
  }
6110
6110
  if (z || A > 1) return s;
6111
6111
  throw I = !0, F;
@@ -7052,8 +7052,8 @@ function Iz(t) {
7052
7052
  });
7053
7053
  if (U)
7054
7054
  return E = U, "break";
7055
- }, J = L; J > 0; J--) {
7056
- var ee = G(J);
7055
+ }, Z = L; Z > 0; Z--) {
7056
+ var ee = G(Z);
7057
7057
  if (ee === "break") break;
7058
7058
  }
7059
7059
  e.placement !== E && (e.modifiersData[r]._skip = !0, e.placement = E, e.reset = !0);
@@ -7171,10 +7171,10 @@ function Wz(t) {
7171
7171
  };
7172
7172
  if (x) {
7173
7173
  if (o) {
7174
- var D, I = _ === "y" ? cr : dr, $ = _ === "y" ? Fr : Rr, S = _ === "y" ? "height" : "width", A = x[_], F = A + b[I], z = A - b[$], L = f ? -P[S] / 2 : 0, G = g === Bl ? O[S] : P[S], J = g === Bl ? -P[S] : -O[S], ee = e.elements.arrow, W = f && ee ? Vm(ee) : {
7174
+ var D, I = _ === "y" ? cr : dr, $ = _ === "y" ? Fr : Rr, S = _ === "y" ? "height" : "width", A = x[_], F = A + b[I], z = A - b[$], L = f ? -P[S] / 2 : 0, G = g === Bl ? O[S] : P[S], Z = g === Bl ? -P[S] : -O[S], ee = e.elements.arrow, W = f && ee ? Vm(ee) : {
7175
7175
  width: 0,
7176
7176
  height: 0
7177
- }, V = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : Ik(), U = V[I], X = V[$], Q = Yi(0, O[S], W[S]), oe = w ? O[S] / 2 - L - Q - U - M.mainAxis : G - Q - U - M.mainAxis, le = w ? -O[S] / 2 + L + Q + X + M.mainAxis : J + Q + X + M.mainAxis, se = e.elements.arrow && Eu(e.elements.arrow), be = se ? _ === "y" ? se.clientTop || 0 : se.clientLeft || 0 : 0, _e = (D = T == null ? void 0 : T[_]) != null ? D : 0, Pe = A + oe - _e - be, ke = A + le - _e, we = Yi(f ? ec(F, Pe) : F, A, f ? jo(z, ke) : z);
7177
+ }, V = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : Ik(), U = V[I], X = V[$], Q = Yi(0, O[S], W[S]), oe = w ? O[S] / 2 - L - Q - U - M.mainAxis : G - Q - U - M.mainAxis, le = w ? -O[S] / 2 + L + Q + X + M.mainAxis : Z + Q + X + M.mainAxis, se = e.elements.arrow && Eu(e.elements.arrow), be = se ? _ === "y" ? se.clientTop || 0 : se.clientLeft || 0 : 0, _e = (D = T == null ? void 0 : T[_]) != null ? D : 0, Pe = A + oe - _e - be, ke = A + le - _e, we = Yi(f ? ec(F, Pe) : F, A, f ? jo(z, ke) : z);
7178
7178
  x[_] = we, j[_] = we - A;
7179
7179
  }
7180
7180
  if (i) {
@@ -7595,7 +7595,7 @@ var PV = function(e) {
7595
7595
  var F = A == null || (S = A.getBoundingClientRect()) === null || S === void 0 ? void 0 : S.height;
7596
7596
  v.cachedScrollY[g] = r.value.scrollTop - w, v.cachedHeight[g] = F;
7597
7597
  for (var z = g + 1; z <= ((L = v.visibleData[v.visibleData.length - 1]) === null || L === void 0 ? void 0 : L.$index); z++) {
7598
- var L, G = p.get(z), J = (G == null ? void 0 : G.getBoundingClientRect()) || {}, ee = J.height;
7598
+ var L, G = p.get(z), Z = (G == null ? void 0 : G.getBoundingClientRect()) || {}, ee = Z.height;
7599
7599
  v.cachedHeight[z] = ee;
7600
7600
  var W = v.cachedScrollY[z - 1] + v.cachedHeight[z - 1];
7601
7601
  v.cachedScrollY.splice(z, 1, W);
@@ -8062,10 +8062,10 @@ var BV = te({
8062
8062
  }
8063
8063
  }),
8064
8064
  setup: function(e, n) {
8065
- var r, a = n.expose, o = Ge(e), l = o.visible, i = o.modelValue, u = Cn(l, i, e.defaultVisible, e.onVisibleChange, "visible"), s = Ne(u, 2), c = s[0], d = s[1], v = pt(), f = nr(), m, p, b, y = N(null), g = N(null), w = N(null), _ = N(null), C = N(!1), x = typeof process != "undefined" && (r = process.env) !== null && r !== void 0 && r.TEST ? "" : Date.now().toString(36), O = Z(i0, void 0);
8065
+ var r, a = n.expose, o = Ge(e), l = o.visible, i = o.modelValue, u = Cn(l, i, e.defaultVisible, e.onVisibleChange, "visible"), s = Ne(u, 2), c = s[0], d = s[1], v = pt(), f = nr(), m, p, b, y = N(null), g = N(null), w = N(null), _ = N(null), C = N(!1), x = typeof process != "undefined" && (r = process.env) !== null && r !== void 0 && r.TEST ? "" : Date.now().toString(36), O = J(i0, void 0);
8066
8066
  Tt(i0, {
8067
8067
  id: x,
8068
- assertMouseLeave: J
8068
+ assertMouseLeave: Z
8069
8069
  });
8070
8070
  var P = Oe("popup"), E = Pn(), M = E.STATUS, T = R(function() {
8071
8071
  var X, Q, oe = e.trigger !== "hover" ? [0, 0] : [].concat((X = e.delay) !== null && X !== void 0 ? X : [250, 150]);
@@ -8227,7 +8227,7 @@ var BV = te({
8227
8227
  }) || F(X);
8228
8228
  }
8229
8229
  }
8230
- function J(X) {
8230
+ function Z(X) {
8231
8231
  if (C.value = !1, !(e.trigger !== "hover" || y.value.contains(X.target))) {
8232
8232
  var Q = Jd(x).some(function(oe) {
8233
8233
  var le = oe.getBoundingClientRect();
@@ -8245,7 +8245,7 @@ var BV = te({
8245
8245
  e: X
8246
8246
  });
8247
8247
  }
8248
- var V = Z("updateScrollTop", void 0);
8248
+ var V = J("updateScrollTop", void 0);
8249
8249
  function U(X) {
8250
8250
  var Q, oe = X.target, le = oe.scrollTop, se = oe.clientHeight, be = oe.scrollHeight, _e = vi(function(Pe) {
8251
8251
  var ke;
@@ -8274,7 +8274,7 @@ var BV = te({
8274
8274
  }],
8275
8275
  onClick: W,
8276
8276
  onMouseenter: ee,
8277
- onMouseleave: J
8277
+ onMouseleave: Z
8278
8278
  }), [h("div", {
8279
8279
  class: ["".concat(P.value, "__content"), K(K(K({}, "".concat(P.value, "__content--text"), Pt(e.content)), "".concat(P.value, "__content--arrow"), e.showArrow), M.value.disabled, e.disabled), e.overlayInnerClassName],
8280
8280
  ref: g,
@@ -9197,7 +9197,7 @@ var LH = {
9197
9197
  function Tu(t) {
9198
9198
  var e = dn(), n = R(function() {
9199
9199
  return e.props.readonly;
9200
- }), r = Z("formReadonly", /* @__PURE__ */ Object.create(null));
9200
+ }), r = J("formReadonly", /* @__PURE__ */ Object.create(null));
9201
9201
  return R(function() {
9202
9202
  var a, o, l;
9203
9203
  return Tn(t == null || (a = t.beforeReadonly) === null || a === void 0 ? void 0 : a.value) ? t.beforeReadonly.value : Tn(n == null ? void 0 : n.value) ? n.value : Tn(t == null || (o = t.afterReadonly) === null || o === void 0 ? void 0 : o.value) ? t.afterReadonly.value : Tn((l = r.readonly) === null || l === void 0 ? void 0 : l.value) ? r.readonly.value : !1;
@@ -9358,7 +9358,7 @@ function zH(t, e) {
9358
9358
  U = U.parentNode;
9359
9359
  }
9360
9360
  return !1;
9361
- }, z = Z(Xm, void 0), L = function(V) {
9361
+ }, z = J(Xm, void 0), L = function(V) {
9362
9362
  if (F())
9363
9363
  E();
9364
9364
  else {
@@ -9372,7 +9372,7 @@ function zH(t, e) {
9372
9372
  l.value = !1, i.value = "", S(V), (U = t.onCompositionend) === null || U === void 0 || U.call(t, String(f.value), {
9373
9373
  e: V
9374
9374
  });
9375
- }, J = function(V) {
9375
+ }, Z = function(V) {
9376
9376
  var U;
9377
9377
  l.value = !0;
9378
9378
  var X = V.currentTarget.value;
@@ -9428,7 +9428,7 @@ function zH(t, e) {
9428
9428
  emitFocus: T,
9429
9429
  formatAndEmitBlur: L,
9430
9430
  onHandleCompositionend: G,
9431
- onHandleCompositionstart: J,
9431
+ onHandleCompositionstart: Z,
9432
9432
  onRootClick: ee,
9433
9433
  emitPassword: I,
9434
9434
  handleInput: A,
@@ -9614,7 +9614,7 @@ var UH = te({
9614
9614
  unselectable: c.value ? "on" : void 0,
9615
9615
  spellcheck: e.spellCheck
9616
9616
  });
9617
- }), J = R(function() {
9617
+ }), Z = R(function() {
9618
9618
  return [f.value, K({}, "".concat(v.value, "--auto-width"), e.autoWidth && !e.keepWrapperWidth)];
9619
9619
  }), ee = C0({
9620
9620
  onFocus: S.emitFocus,
@@ -9659,7 +9659,7 @@ var UH = te({
9659
9659
  }, null));
9660
9660
  var ke = [v.value, e.inputClass, K(K(K(K(K(K(K(K(K(K({}, y.value[e.size], e.size !== "medium"), b.value.disabled, d.value), b.value.focused, d.value ? !1 : M.value), "".concat(g.value, "-is-").concat(x.value), x.value && x.value !== "default"), "".concat(g.value, "-align-").concat(e.align), e.align !== "left"), "".concat(g.value, "-is-readonly"), c.value), "".concat(v.value, "--prefix"), U || be), "".concat(v.value, "--suffix"), X || _e), "".concat(v.value, "--borderless"), e.borderless), "".concat(v.value, "--focused"), M.value)], we = w("tips"), ge = [m.value, "".concat(g.value, "-tips"), "".concat(g.value, "-is-").concat(x.value || "default")];
9661
9661
  return ya(h("div", {
9662
- class: J.value
9662
+ class: Z.value
9663
9663
  }, [h("div", {
9664
9664
  class: ke,
9665
9665
  onClick: S.onRootClick,
@@ -10084,24 +10084,24 @@ function sK(t) {
10084
10084
  }
10085
10085
  return V;
10086
10086
  };
10087
- ue(v, function(J) {
10088
- var ee = t.largeNumber, W = t.decimalPlaces, V = [void 0, null].includes(J) ? "" : String(J);
10087
+ ue(v, function(Z) {
10088
+ var ee = t.largeNumber, W = t.decimalPlaces, V = [void 0, null].includes(Z) ? "" : String(Z);
10089
10089
  if (!ee && !Number.isNaN(p.value)) {
10090
- parseFloat(p.value) !== J && (p.value = P(V));
10090
+ parseFloat(p.value) !== Z && (p.value = P(V));
10091
10091
  var U = Number(rc(V, W, ee));
10092
- W !== void 0 && ![void 0, null].includes(J) && Number(U) !== Number(v.value) && f(U, {
10092
+ W !== void 0 && ![void 0, null].includes(Z) && Number(U) !== Number(v.value) && f(U, {
10093
10093
  type: "props",
10094
10094
  e: void 0
10095
10095
  });
10096
10096
  }
10097
- ee && (p.value = P(V), W !== void 0 && rc(V, W, ee) !== J && f(p.value, {
10097
+ ee && (p.value = P(V), W !== void 0 && rc(V, W, ee) !== Z && f(p.value, {
10098
10098
  type: "props",
10099
10099
  e: void 0
10100
10100
  }));
10101
10101
  }, {
10102
10102
  immediate: !0
10103
10103
  }), ue([v, u, s], function() {
10104
- var J;
10104
+ var Z;
10105
10105
  if (![void 0, "", null].includes(v.value)) {
10106
10106
  var ee = t.max, W = t.min, V = t.largeNumber, U = tv({
10107
10107
  value: v.value,
@@ -10109,7 +10109,7 @@ function sK(t) {
10109
10109
  max: ee,
10110
10110
  min: W
10111
10111
  });
10112
- g.value = U, (J = t.onValidate) === null || J === void 0 || J.call(t, {
10112
+ g.value = U, (Z = t.onValidate) === null || Z === void 0 || Z.call(t, {
10113
10113
  error: U
10114
10114
  });
10115
10115
  }
@@ -10632,20 +10632,20 @@ function dW(t, e, n) {
10632
10632
  showClearIconOnEmpty: !!(t.clearable && (f.value || j) && !b.value && !t.readonly)
10633
10633
  }, t.inputProps), $ = e.slots;
10634
10634
  $.tips;
10635
- var S = qo($, iW), A = E ? ["".concat(u.value, "-input--focused"), "".concat(u.value, "-is-focused"), I == null ? void 0 : I.inputClass] : I == null ? void 0 : I.inputClass, F = function(J, ee) {
10635
+ var S = qo($, iW), A = E ? ["".concat(u.value, "-input--focused"), "".concat(u.value, "-is-focused"), I == null ? void 0 : I.inputClass] : I == null ? void 0 : I.inputClass, F = function(Z, ee) {
10636
10636
  var W;
10637
10637
  (W = t.onEnter) === null || W === void 0 || W.call(t, o.value, Qn(Qn({}, ee), {}, {
10638
- inputValue: J
10638
+ inputValue: Z
10639
10639
  }));
10640
- }, z = function(J, ee) {
10640
+ }, z = function(Z, ee) {
10641
10641
  var W, V, U = (W = n.value) === null || W === void 0 ? void 0 : W.getOverlayState();
10642
10642
  s.value || U != null && U.hover || (s.value = !0, (V = t.onFocus) === null || V === void 0 || V.call(t, o.value, Qn(Qn({}, ee), {}, {
10643
- inputValue: J
10643
+ inputValue: Z
10644
10644
  })));
10645
- }, L = function(J, ee) {
10645
+ }, L = function(Z, ee) {
10646
10646
  var W, V, U = (W = n.value) === null || W === void 0 ? void 0 : W.getOverlayState();
10647
10647
  U != null && U.hover || (s.value = !1, (V = t.onBlur) === null || V === void 0 || V.call(t, o.value, Qn(Qn({}, ee), {}, {
10648
- inputValue: J
10648
+ inputValue: Z
10649
10649
  })));
10650
10650
  };
10651
10651
  return h(Fn, Te({
@@ -12218,9 +12218,9 @@ var GW = function() {
12218
12218
  x: !0,
12219
12219
  targetClassNameRegExp: new RegExp("^".concat(T.value, "-tag"))
12220
12220
  }
12221
- })), I = D.getDragProps, $ = fW(e), S = $.scrollToRight, A = $.onWheel, F = $.scrollToRightOnEnter, z = $.scrollToLeftOnLeave, L = $.tagInputRef, G = $.isScrollable, J = UW(hn(_o(_o({}, Ge(e)), {}, {
12221
+ })), I = D.getDragProps, $ = fW(e), S = $.scrollToRight, A = $.onWheel, F = $.scrollToRightOnEnter, z = $.scrollToLeftOnLeave, L = $.tagInputRef, G = $.isScrollable, Z = UW(hn(_o(_o({}, Ge(e)), {}, {
12222
12222
  getDragProps: I
12223
- }))), ee = J.tagValue, W = J.onInnerEnter, V = J.onInputBackspaceKeyUp, U = J.onInputBackspaceKeyDown, X = J.clearAll, Q = J.renderLabel, oe = J.onClose, le = R(function() {
12223
+ }))), ee = Z.tagValue, W = Z.onInnerEnter, V = Z.onInputBackspaceKeyUp, U = Z.onInputBackspaceKeyDown, X = Z.clearAll, Q = Z.renderLabel, oe = Z.onClose, le = R(function() {
12224
12224
  var Ie = !(jt(ee.value) && ee.value.length);
12225
12225
  return [r.value, K(K(K({}, o.value, g.value === "break-line"), "".concat(T.value, "-is-empty"), Ie), "".concat(T.value, "-tag-input--with-tag"), !Ie)];
12226
12226
  }), se = R(function() {
@@ -12617,8 +12617,8 @@ var rU = function() {
12617
12617
  var z;
12618
12618
  return ["".concat(a.value), K(K(K(K({}, l.value, m.value), o.value, y.value), i.value, (z = b.value) !== null && z !== void 0 ? z : _.value), u.value, p.value instanceof Array ? !p.value.length : !p.value)];
12619
12619
  }), A = function(L) {
12620
- var G, J = L.code || ((G = L.key) === null || G === void 0 ? void 0 : G.trim());
12621
- if (/(ArrowDown|ArrowUp)/.test(J) && !b.value) {
12620
+ var G, Z = L.code || ((G = L.key) === null || G === void 0 ? void 0 : G.trim());
12621
+ if (/(ArrowDown|ArrowUp)/.test(Z) && !b.value) {
12622
12622
  var ee, W = Ea(Ea({}, n), {}, {
12623
12623
  trigger: "trigger-element-focus"
12624
12624
  });
@@ -12634,8 +12634,8 @@ var rU = function() {
12634
12634
  d.value.removeEventListener("keydown", A);
12635
12635
  });
12636
12636
  var F = function(L) {
12637
- var G, J;
12638
- (G = L.e) === null || G === void 0 || G.stopPropagation(), !(L.e.target.tabIndex >= 0) && e.multiple && ((J = D.value) === null || J === void 0 || J.focus());
12637
+ var G, Z;
12638
+ (G = L.e) === null || G === void 0 || G.stopPropagation(), !(L.e.target.tabIndex >= 0) && e.multiple && ((Z = D.value) === null || Z === void 0 || Z.focus());
12639
12639
  };
12640
12640
  return {
12641
12641
  classPrefix: s,
@@ -12872,7 +12872,7 @@ var gx = te({
12872
12872
  setup: function(e) {
12873
12873
  var n = N();
12874
12874
  e.needRipple && Xc(n);
12875
- var r = Pn(), a = r.STATUS, o = Ge(e), l = o.checked, i = o.modelValue, u = o.lazyLoad, s = Cn(l, i, e.defaultChecked, e.onChange, "checked"), c = Ne(s, 2), d = c[0], v = c[1], f = Z(hx, void 0), m = N();
12875
+ var r = Pn(), a = r.STATUS, o = Ge(e), l = o.checked, i = o.modelValue, u = o.lazyLoad, s = Cn(l, i, e.defaultChecked, e.onChange, "checked"), c = Ne(s, 2), d = c[0], v = c[1], f = J(hx, void 0), m = N();
12876
12876
  ue(function() {
12877
12877
  return [e.name, f == null ? void 0 : f.value.name].join("_");
12878
12878
  }, function() {
@@ -13248,7 +13248,7 @@ var yf = te({
13248
13248
  }),
13249
13249
  emits: ["row-mounted"],
13250
13250
  setup: function(e, n) {
13251
- var r = Z(nd), a = An(), o = R(function() {
13251
+ var r = J(nd), a = An(), o = R(function() {
13252
13252
  return r.value.max !== 0 && r.value.max <= r.value.selectValue.length;
13253
13253
  }), l = R(function() {
13254
13254
  return a.value || e.multiple && o.value && !m.value && !r.value.isCheckAll;
@@ -13383,7 +13383,7 @@ var _x = te({
13383
13383
  name: "TOptionGroup",
13384
13384
  props: hU({}, pU),
13385
13385
  setup: function(e) {
13386
- var n = Z(nd), r = Oe("select-option-group"), a = Pn(), o = a.SIZE, l = pt(), i = R(function() {
13386
+ var n = J(nd), r = Oe("select-option-group"), a = Pn(), o = a.SIZE, l = pt(), i = R(function() {
13387
13387
  return [r.value, o.value[n.value.size], K({}, "".concat(r.value, "__divider"), e.divider)];
13388
13388
  });
13389
13389
  return function() {
@@ -13631,7 +13631,7 @@ var yU = te({
13631
13631
  size: yr.size
13632
13632
  },
13633
13633
  setup: function(e, n) {
13634
- var r = n.expose, a = Oe("select"), o = pt(), l = Xo(), i = _t("select"), u = i.t, s = i.globalConfig, c = Z(nd), d = N(null), v = R(function() {
13634
+ var r = n.expose, a = Oe("select"), o = pt(), l = Xo(), i = _t("select"), u = i.t, s = i.globalConfig, c = J(nd), d = N(null), v = R(function() {
13635
13635
  return c.value.popupContentRef.value;
13636
13636
  }), f = R(function() {
13637
13637
  return e.creatable && e.filterable && e.inputValue;
@@ -14087,7 +14087,7 @@ var OU = te({
14087
14087
  }, F = In(v, !1, function(me, pe) {
14088
14088
  var xe;
14089
14089
  (xe = e.onPopupVisibleChange) === null || xe === void 0 || xe.call(e, me, pe);
14090
- }, "popupVisible"), z = Ne(F, 2), L = z[0], G = z[1], J = R(function() {
14090
+ }, "popupVisible"), z = Ne(F, 2), L = z[0], G = z[1], Z = R(function() {
14091
14091
  var me;
14092
14092
  return (me = !e.multiple && L.value && bf(S.value, j) || e.placeholder) !== null && me !== void 0 ? me : c(s.value.placeholder);
14093
14093
  }), ee = R(function() {
@@ -14288,7 +14288,7 @@ var OU = te({
14288
14288
  disabled: o.value,
14289
14289
  popupVisible: L.value,
14290
14290
  inputValue: L.value ? g.value : "",
14291
- placeholder: "".concat(J.value),
14291
+ placeholder: "".concat(Z.value),
14292
14292
  allowInput: V.value,
14293
14293
  "collapsed-items": e.collapsedItems,
14294
14294
  inputProps: da(da({
@@ -14607,7 +14607,7 @@ var jU = ["pageCount"], wo = 1, IU = te({
14607
14607
  ChevronLeftDoubleIcon: KN,
14608
14608
  ChevronRightDoubleIcon: GN,
14609
14609
  EllipsisIcon: iL
14610
- }), x = C.PageFirstIcon, O = C.PageLastIcon, P = C.ChevronLeftIcon, E = C.ChevronRightIcon, M = C.ChevronLeftDoubleIcon, T = C.ChevronRightDoubleIcon, j = C.EllipsisIcon, D = AU(e, d, p, _), I = D.pageCount, $ = qo(D, jU), S = DU(e, I, d), A = S.prevMore, F = S.isPrevMoreShow, z = S.curPageLeftCount, L = S.nextMore, G = S.isNextMoreShow, J = S.curPageRightCount, ee = N(d.value), W = R(function() {
14610
+ }), x = C.PageFirstIcon, O = C.PageLastIcon, P = C.ChevronLeftIcon, E = C.ChevronRightIcon, M = C.ChevronLeftDoubleIcon, T = C.ChevronRightDoubleIcon, j = C.EllipsisIcon, D = AU(e, d, p, _), I = D.pageCount, $ = qo(D, jU), S = DU(e, I, d), A = S.prevMore, F = S.isPrevMoreShow, z = S.curPageLeftCount, L = S.nextMore, G = S.isNextMoreShow, Z = S.curPageRightCount, ee = N(d.value), W = R(function() {
14611
14611
  return I.value > e.maxPageBtn;
14612
14612
  }), V = R(function() {
14613
14613
  var be = e.pageSizeOptions, _e = be.map(function(Pe) {
@@ -14627,7 +14627,7 @@ var jU = ["pageCount"], wo = 1, IU = te({
14627
14627
  var be = [], _e, Pe;
14628
14628
  if (W.value)
14629
14629
  if (F.value && G.value)
14630
- _e = d.value - z.value, Pe = d.value + J.value;
14630
+ _e = d.value - z.value, Pe = d.value + Z.value;
14631
14631
  else {
14632
14632
  var ke = U.value ? 2 : 1, we = U.value ? I.value - 1 : I.value;
14633
14633
  F.value ? _e = Math.min(d.value - 1, I.value - e.foldedMaxPageBtn + 1) : _e = ke, G.value ? Pe = Math.max(d.value + 1, e.foldedMaxPageBtn) : Pe = we;
@@ -16553,7 +16553,7 @@ var xx = kx.exports, Sx = { exports: {} };
16553
16553
  M && (j = O[2]), i = this.$locale(), !E && j && (i = y.Ls[j]), this.$d = function(S, A, F) {
16554
16554
  try {
16555
16555
  if (["x", "X"].indexOf(A) > -1) return new Date((A === "X" ? 1e3 : 1) * S);
16556
- var z = m(A)(S), L = z.year, G = z.month, J = z.day, ee = z.hours, W = z.minutes, V = z.seconds, U = z.milliseconds, X = z.zone, Q = /* @__PURE__ */ new Date(), oe = J || (L || G ? 1 : Q.getDate()), le = L || Q.getFullYear(), se = 0;
16556
+ var z = m(A)(S), L = z.year, G = z.month, Z = z.day, ee = z.hours, W = z.minutes, V = z.seconds, U = z.milliseconds, X = z.zone, Q = /* @__PURE__ */ new Date(), oe = Z || (L || G ? 1 : Q.getDate()), le = L || Q.getFullYear(), se = 0;
16557
16557
  L && !G || (se = G > 0 ? G - 1 : Q.getMonth());
16558
16558
  var be = ee || 0, _e = W || 0, Pe = V || 0, ke = U || 0;
16559
16559
  return X ? new Date(Date.UTC(le, se, oe, be, _e, Pe, ke + 60 * X.offset * 1e3)) : F ? new Date(Date.UTC(le, se, oe, be, _e, Pe, ke)) : new Date(le, se, oe, be, _e, Pe, ke);
@@ -18038,7 +18038,7 @@ var Ma = [ln.hour, ln.minute, ln.second, ln.milliSecond], tG = {
18038
18038
  }, function() {
18039
18039
  v.value && E(!0);
18040
18040
  }), Ue(function() {
18041
- var T = c.value.match(nY), j = Ne(T, 7), D = j[1], I = j[2], $ = j[3], S = j[4], A = j[5], F = j[6], z = ln.meridiem, L = ln.hour, G = ln.minute, J = ln.second, ee = ln.milliSecond, W = [D && z, I && L, $ && G, S && J, A && ee, F && z].filter(function(V) {
18041
+ var T = c.value.match(nY), j = Ne(T, 7), D = j[1], I = j[2], $ = j[3], S = j[4], A = j[5], F = j[6], z = ln.meridiem, L = ln.hour, G = ln.minute, Z = ln.second, ee = ln.milliSecond, W = [D && z, I && L, $ && G, S && Z, A && ee, F && z].filter(function(V) {
18042
18042
  return !!V;
18043
18043
  });
18044
18044
  f.value = W;
@@ -18084,7 +18084,7 @@ var Ma = [ln.hour, ln.minute, ln.second, ln.milliSecond], tG = {
18084
18084
  }, x = function(j, D, I) {
18085
18085
  var $, S, A, F;
18086
18086
  if (e.isShowPanel) {
18087
- var z = ((($ = b[D]) === null || $ === void 0 ? void 0 : $.scrollTop) || 0) + tG.top, L = g(), G = L.offsetHeight, J = L.margin, ee = G + J, W = Math.abs(Math.round(z / ee + 0.5)), V = p1[Math.min(W - 1, 1)].toLowerCase();
18087
+ var z = ((($ = b[D]) === null || $ === void 0 ? void 0 : $.scrollTop) || 0) + tG.top, L = g(), G = L.offsetHeight, Z = L.margin, ee = G + Z, W = Math.abs(Math.round(z / ee + 0.5)), V = p1[Math.min(W - 1, 1)].toLowerCase();
18088
18088
  if (Number.isNaN(W) && (W = 1), Ma.includes(j)) {
18089
18089
  var U = 59;
18090
18090
  j === ln.hour ? U = /[h]{1}/.test(c.value) ? 11 : 23 : j === ln.milliSecond && (U = 999);
@@ -18860,15 +18860,15 @@ var _G = te({
18860
18860
  year: 120
18861
18861
  }, z = F[e.mode] || 0, L = new Date(d.value, v.value), G = null;
18862
18862
  A === "prev" ? G = ld(L, z) : A === "current" ? G = /* @__PURE__ */ new Date() : A === "next" && (G = id(L, z));
18863
- var J = G.getFullYear(), ee = G.getMonth();
18864
- d.value = J, v.value = ee;
18863
+ var Z = G.getFullYear(), ee = G.getMonth();
18864
+ d.value = Z, v.value = ee;
18865
18865
  }
18866
18866
  function M(S) {
18867
18867
  var A;
18868
18868
  f.value = S;
18869
- var F = Hl(S), z = F.hours, L = F.minutes, G = F.seconds, J = F.milliseconds, ee = F.meridiem, W = z;
18869
+ var F = Hl(S), z = F.hours, L = F.minutes, G = F.seconds, Z = F.milliseconds, ee = F.meridiem, W = z;
18870
18870
  /am/i.test(ee) && W === 12 && (W -= 12), /pm/i.test(ee) && W < 12 && (W += 12);
18871
- var V = Me(a.value, _.value.format).isValid() ? Me(a.value, _.value.format) : Me(), U = V.hour(W).minute(L).second(G).millisecond(J).toDate();
18871
+ var V = Me(a.value, _.value.format).isValid() ? Me(a.value, _.value.format) : Me(), U = V.hour(W).minute(L).second(G).millisecond(Z).toDate();
18872
18872
  a.value = dt(U, {
18873
18873
  format: _.value.format
18874
18874
  }), s.value = dt(U, {
@@ -19462,20 +19462,20 @@ var qx = te({
19462
19462
  firstInputElement: T.firstInputRef.value,
19463
19463
  secondInputElement: T.secondInputRef.value,
19464
19464
  focus: function(z) {
19465
- var L, G = z || {}, J = G.position, ee = J === void 0 ? "first" : J;
19465
+ var L, G = z || {}, Z = G.position, ee = Z === void 0 ? "first" : Z;
19466
19466
  (L = T["".concat(ee, "InputRef")].value) === null || L === void 0 || L.focus();
19467
19467
  },
19468
19468
  blur: function(z) {
19469
- var L, G = z || {}, J = G.position, ee = J === void 0 ? "first" : J;
19469
+ var L, G = z || {}, Z = G.position, ee = Z === void 0 ? "first" : Z;
19470
19470
  (L = T["".concat(ee, "InputRef")].value) === null || L === void 0 || L.blur();
19471
19471
  },
19472
19472
  select: function(z) {
19473
- var L, G = z || {}, J = G.position, ee = J === void 0 ? "first" : J;
19473
+ var L, G = z || {}, Z = G.position, ee = Z === void 0 ? "first" : Z;
19474
19474
  (L = T["".concat(ee, "InputRef")].value) === null || L === void 0 || L.select();
19475
19475
  }
19476
19476
  }), function() {
19477
- var F, z, L = b("label"), G = b("prefixIcon"), J = b("suffix"), ee = b("suffixIcon"), W = b("tips"), V = b("separator"), U = h("div", Te(a, {
19478
- class: [f.value, K(K(K(K(K(K(K(K({}, c.value[e.size], e.size !== "medium"), s.value.disabled, v.value), s.value.focused, y.value), s.value.success, e.status === "success"), s.value.warning, e.status === "warning"), s.value.error, e.status === "error"), "".concat(f.value, "--prefix"), G || L), "".concat(f.value, "--suffix"), J || ee)],
19477
+ var F, z, L = b("label"), G = b("prefixIcon"), Z = b("suffix"), ee = b("suffixIcon"), W = b("tips"), V = b("separator"), U = h("div", Te(a, {
19478
+ class: [f.value, K(K(K(K(K(K(K(K({}, c.value[e.size], e.size !== "medium"), s.value.disabled, v.value), s.value.focused, y.value), s.value.success, e.status === "success"), s.value.warning, e.status === "warning"), s.value.error, e.status === "error"), "".concat(f.value, "--prefix"), G || L), "".concat(f.value, "--suffix"), Z || ee)],
19479
19479
  onMouseenter: S,
19480
19480
  onMouseleave: A
19481
19481
  }), [h("div", {
@@ -19588,9 +19588,9 @@ var qx = te({
19588
19588
  trigger: "input"
19589
19589
  });
19590
19590
  }
19591
- }, _.value[1]), null), J ? h("div", {
19591
+ }, _.value[1]), null), Z ? h("div", {
19592
19592
  class: "".concat(f.value, "__suffix")
19593
- }, [J]) : null, ee && h("span", {
19593
+ }, [Z]) : null, ee && h("span", {
19594
19594
  class: "".concat(f.value, "__suffix ").concat(f.value, "__suffix-icon")
19595
19595
  }, [M.value ? h(p, {
19596
19596
  class: "".concat(f.value, "__suffix-clear"),
@@ -20238,8 +20238,8 @@ var MG = te({
20238
20238
  })), y.value)
20239
20239
  i.value = !1;
20240
20240
  else {
20241
- var J = G;
20242
- J === -1 && (J = p.value ? 0 : 1), p.value = J, y.value = !0;
20241
+ var Z = G;
20242
+ Z === -1 && (Z = p.value ? 0 : 1), p.value = Z, y.value = !0;
20243
20243
  }
20244
20244
  }
20245
20245
  }
@@ -20250,8 +20250,8 @@ var MG = te({
20250
20250
  month: 12,
20251
20251
  quarter: 12,
20252
20252
  year: 120
20253
- }, G = L[e.mode] || 0, J = new Date(d.value[z], v.value[z]), ee = null;
20254
- A === "prev" ? ee = ld(J, G) : A === "current" ? ee = /* @__PURE__ */ new Date() : A === "next" && (ee = id(J, G));
20253
+ }, G = L[e.mode] || 0, Z = new Date(d.value[z], v.value[z]), ee = null;
20254
+ A === "prev" ? ee = ld(Z, G) : A === "current" ? ee = /* @__PURE__ */ new Date() : A === "next" && (ee = id(Z, G));
20255
20255
  var W = Fe(d.value);
20256
20256
  W[z] = ee.getFullYear();
20257
20257
  var V = Fe(v.value);
@@ -20260,8 +20260,8 @@ var MG = te({
20260
20260
  W = X.nextYear, V = X.nextMonth, d.value = W, v.value = V;
20261
20261
  }
20262
20262
  function M(S) {
20263
- var A = Hl(S), F = A.hours, z = A.minutes, L = A.seconds, G = A.milliseconds, J = A.meridiem, ee = Fe(l.value), W = l.value[p.value], V = Me(W, _.value.format).isValid() ? Me(W, _.value.format) : Me().year(d.value[p.value]).month(v.value[p.value]), U = F;
20264
- /am/i.test(J) && U === 12 && (U -= 12), /pm/i.test(J) && U < 12 && (U += 12);
20263
+ var A = Hl(S), F = A.hours, z = A.minutes, L = A.seconds, G = A.milliseconds, Z = A.meridiem, ee = Fe(l.value), W = l.value[p.value], V = Me(W, _.value.format).isValid() ? Me(W, _.value.format) : Me().year(d.value[p.value]).month(v.value[p.value]), U = F;
20264
+ /am/i.test(Z) && U === 12 && (U -= 12), /pm/i.test(Z) && U < 12 && (U += 12);
20265
20265
  var X = V.hour(U).minute(z).second(L).millisecond(G).toDate();
20266
20266
  ee[p.value] = X;
20267
20267
  var Q = Fe(f.value);
@@ -20272,8 +20272,8 @@ var MG = te({
20272
20272
  });
20273
20273
  }
20274
20274
  function T(S) {
20275
- var A = S.e, F = Fe(l.value), z = F.findIndex(function(J) {
20276
- return !J || !Kn(J, _.value.format);
20275
+ var A = S.e, F = Fe(l.value), z = F.findIndex(function(Z) {
20276
+ return !Z || !Kn(Z, _.value.format);
20277
20277
  });
20278
20278
  if (z === -1 && F.length === 2)
20279
20279
  if (!y.value && at(F[0], _.value.format).isAfter(at(F[1], _.value.format)))
@@ -20281,8 +20281,8 @@ var MG = te({
20281
20281
  else {
20282
20282
  var L;
20283
20283
  e == null || (L = e.onConfirm) === null || L === void 0 || L.call(e, {
20284
- date: F.map(function(J) {
20285
- return Me(J).toDate();
20284
+ date: F.map(function(Z) {
20285
+ return Me(Z).toDate();
20286
20286
  }),
20287
20287
  e: A,
20288
20288
  partial: p.value ? "end" : "start"
@@ -20291,8 +20291,8 @@ var MG = te({
20291
20291
  targetFormat: _.value.valueType,
20292
20292
  autoSwap: !0
20293
20293
  }), {
20294
- dayjsValue: F.map(function(J) {
20295
- return at(J, _.value.format);
20294
+ dayjsValue: F.map(function(Z) {
20295
+ return at(Z, _.value.format);
20296
20296
  }),
20297
20297
  trigger: "confirm"
20298
20298
  });
@@ -20325,8 +20325,8 @@ var MG = te({
20325
20325
  e.enableTimePicker && (z = p.value);
20326
20326
  var L = Fe(d.value), G = Fe(v.value);
20327
20327
  L[z] = S;
20328
- var J = ["year", "quarter", "month"].includes(e.mode), ee = uc(z, L, G, J);
20329
- L = ee.nextYear, G = ee.nextMonth, d.value = L, J || (v.value = G);
20328
+ var Z = ["year", "quarter", "month"].includes(e.mode), ee = uc(z, L, G, Z);
20329
+ L = ee.nextYear, G = ee.nextMonth, d.value = L, Z || (v.value = G);
20330
20330
  }
20331
20331
  function I(S, A) {
20332
20332
  var F = A.partial, z = F === "start" ? 0 : 1;
@@ -20334,8 +20334,8 @@ var MG = te({
20334
20334
  var L = Fe(v.value);
20335
20335
  if (L[z] = S, d.value[0] === d.value[1]) {
20336
20336
  if (z === 0 && L[1] <= L[0] && (L[1] = L[0] + 1, L[1] === 12)) {
20337
- var G, J;
20338
- L[1] = 0, d.value = [(G = d.value) === null || G === void 0 ? void 0 : G[0], ((J = d.value) === null || J === void 0 ? void 0 : J[1]) + 1];
20337
+ var G, Z;
20338
+ L[1] = 0, d.value = [(G = d.value) === null || G === void 0 ? void 0 : G[0], ((Z = d.value) === null || Z === void 0 ? void 0 : Z[1]) + 1];
20339
20339
  }
20340
20340
  if (z === 1 && (L[0] = Math.min(L[0], L[1]), L[0] >= L[1] && (L[0] -= 1, L[0] === -1))) {
20341
20341
  var ee, W;
@@ -20518,8 +20518,8 @@ var DG = te({
20518
20518
  if (F = G.nextYear, z = G.nextMonth, a.value.some(function(W) {
20519
20519
  return !F.includes(W);
20520
20520
  })) {
20521
- var J;
20522
- (J = e.onYearChange) === null || J === void 0 || J.call(e, {
20521
+ var Z;
20522
+ (Z = e.onYearChange) === null || Z === void 0 || Z.call(e, {
20523
20523
  partial: T,
20524
20524
  year: F[j],
20525
20525
  date: r.value.map(function(W) {
@@ -20548,8 +20548,8 @@ var DG = te({
20548
20548
  /am/i.test(S) && L === 12 && (L -= 12), /pm/i.test(S) && L < 12 && (L += 12);
20549
20549
  var G = z.hour(L).minute(D).second(I).millisecond($).toDate();
20550
20550
  A[m.value] = G;
20551
- var J = Fe(l.value);
20552
- J[m.value] = E, l.value = J, d.value = !0, i.value = dt(A, {
20551
+ var Z = Fe(l.value);
20552
+ Z[m.value] = E, l.value = Z, d.value = !0, i.value = dt(A, {
20553
20553
  format: c.value.format
20554
20554
  }), (M = e.onTimeChange) === null || M === void 0 || M.call(e, {
20555
20555
  time: E,
@@ -21410,7 +21410,7 @@ var WG = te({
21410
21410
  CheckCircleFilledIcon: Jc,
21411
21411
  CloseCircleFilledIcon: $u,
21412
21412
  ErrorCircleFilledIcon: Qc
21413
- }), s = u.CheckCircleFilledIcon, c = u.CloseCircleFilledIcon, d = u.ErrorCircleFilledIcon, v = Z(Zk, void 0), f = Oe(), m = Oe("form-item"), p = R(function() {
21413
+ }), s = u.CheckCircleFilledIcon, c = u.CloseCircleFilledIcon, d = u.ErrorCircleFilledIcon, v = J(Zk, void 0), f = Oe(), m = Oe("form-item"), p = R(function() {
21414
21414
  var ce, ve, fe = (ce = (ve = e.requiredMark) !== null && ve !== void 0 ? ve : v == null ? void 0 : v.requiredMark) !== null && ce !== void 0 ? ce : i.value.requiredMark, Ae = G.value.filter(function(je) {
21415
21415
  return je.required;
21416
21416
  }).length > 0;
@@ -21525,7 +21525,7 @@ var WG = te({
21525
21525
  if (!e.name) return [];
21526
21526
  var ve = "".concat(e.name).lastIndexOf(".") || -1, fe = "".concat(e.name).slice(ve + 1);
21527
21527
  return $e(v == null ? void 0 : v.rules, e.name) || $e(v == null ? void 0 : v.rules, fe) || [];
21528
- }), J = /* @__PURE__ */ function() {
21528
+ }), Z = /* @__PURE__ */ function() {
21529
21529
  var ce = Hn(/* @__PURE__ */ zt.mark(function ve(fe) {
21530
21530
  var Ae, je;
21531
21531
  return zt.wrap(function(Le) {
@@ -21577,7 +21577,7 @@ var WG = te({
21577
21577
  return zt.wrap(function(pe) {
21578
21578
  for (; ; ) switch (pe.prev = pe.next) {
21579
21579
  case 0:
21580
- return $.value = !0, se.value = Ae, pe.next = 4, J(fe);
21580
+ return $.value = !0, se.value = Ae, pe.next = 4, Z(fe);
21581
21581
  case 4:
21582
21582
  return je = pe.sent, Ye = je.successList, Le = je.errorList, Ie = je.rules, Ee = je.resultList, ye = je.allowSetValue, ye && (D.value = Ye, j.value = Le), Ie.length && (I.value = Le.length ? Aa.FAIL : Aa.SUCCESS), S.value && A(), $.value = !1, pe.abrupt("return", K({}, e.name, Le.length === 0 ? !0 : Ee));
21583
21583
  case 15:
@@ -21595,7 +21595,7 @@ var WG = te({
21595
21595
  return zt.wrap(function(Ie) {
21596
21596
  for (; ; ) switch (Ie.prev = Ie.next) {
21597
21597
  case 0:
21598
- return Ie.next = 2, J(fe);
21598
+ return Ie.next = 2, Z(fe);
21599
21599
  case 2:
21600
21600
  return Ae = Ie.sent, je = Ae.errorList, Ye = Ae.resultList, Ie.abrupt("return", K({}, e.name, je.length === 0 ? !0 : Ye));
21601
21601
  case 6:
@@ -21860,7 +21860,7 @@ var YG = te({
21860
21860
  W[V] === !0 && delete W[V];
21861
21861
  }), lu(W) ? !0 : W;
21862
21862
  }, j = /* @__PURE__ */ function() {
21863
- var J = Hn(/* @__PURE__ */ zt.mark(function ee(W) {
21863
+ var Z = Hn(/* @__PURE__ */ zt.mark(function ee(W) {
21864
21864
  var V, U, X, Q, oe, le, se, be, _e, Pe;
21865
21865
  return zt.wrap(function(we) {
21866
21866
  for (; ; ) switch (we.prev = we.next) {
@@ -21882,10 +21882,10 @@ var YG = te({
21882
21882
  }, ee);
21883
21883
  }));
21884
21884
  return function(W) {
21885
- return J.apply(this, arguments);
21885
+ return Z.apply(this, arguments);
21886
21886
  };
21887
21887
  }(), D = /* @__PURE__ */ function() {
21888
- var J = Hn(/* @__PURE__ */ zt.mark(function ee(W) {
21888
+ var Z = Hn(/* @__PURE__ */ zt.mark(function ee(W) {
21889
21889
  var V, U, X, Q, oe, le;
21890
21890
  return zt.wrap(function(be) {
21891
21891
  for (; ; ) switch (be.prev = be.next) {
@@ -21904,7 +21904,7 @@ var YG = te({
21904
21904
  }, ee);
21905
21905
  }));
21906
21906
  return function(W) {
21907
- return J.apply(this, arguments);
21907
+ return Z.apply(this, arguments);
21908
21908
  };
21909
21909
  }(), I = N(), $ = function(ee) {
21910
21910
  e.preventSubmitDefault && ee && (ee.preventDefault(), ee.stopPropagation()), j(I.value).then(function(W) {
@@ -21916,7 +21916,7 @@ var YG = te({
21916
21916
  });
21917
21917
  }), I.value = void 0;
21918
21918
  }, S = /* @__PURE__ */ function() {
21919
- var J = Hn(/* @__PURE__ */ zt.mark(function ee(W) {
21919
+ var Z = Hn(/* @__PURE__ */ zt.mark(function ee(W) {
21920
21920
  return zt.wrap(function(U) {
21921
21921
  for (; ; ) switch (U.prev = U.next) {
21922
21922
  case 0:
@@ -21928,7 +21928,7 @@ var YG = te({
21928
21928
  }, ee);
21929
21929
  }));
21930
21930
  return function(W) {
21931
- return J.apply(this, arguments);
21931
+ return Z.apply(this, arguments);
21932
21932
  };
21933
21933
  }(), A = N(), F = function(ee) {
21934
21934
  var W;
@@ -22068,7 +22068,7 @@ var rp = te({
22068
22068
  setup: function(e, n) {
22069
22069
  var r = n.attrs, a = N(), o = Ge(e), l = o.checked, i = o.modelValue, u = Cn(l, i, e.defaultChecked, e.onChange, "checked"), s = Ne(u, 2), c = s[0], d = s[1], v = R(function() {
22070
22070
  return f ? e.value === f.value : c.value;
22071
- }), f = Z(Qx, void 0), m = R(function() {
22071
+ }), f = J(Qx, void 0), m = R(function() {
22072
22072
  return !!(e.allowUncheck || f != null && f.allowUncheck);
22073
22073
  }), p = function($) {
22074
22074
  $.stopPropagation();
@@ -22113,7 +22113,7 @@ var rp = te({
22113
22113
  readonly: e.readonly,
22114
22114
  value: e.value
22115
22115
  };
22116
- }), x = Pn(), O = x.STATUS, P = Z(eS, void 0), E = Oe("radio-button"), M = Oe("radio"), T = R(function() {
22116
+ }), x = Pn(), O = x.STATUS, P = J(eS, void 0), E = Oe("radio-button"), M = Oe("radio"), T = R(function() {
22117
22117
  return P ? E.value : M.value;
22118
22118
  }), j = R(function() {
22119
22119
  return ["".concat(T.value), K(K({}, O.value.checked, C.value.checked), O.value.disabled, C.value.disabled)];
@@ -22679,7 +22679,7 @@ var Tf = te({
22679
22679
  setup: function(e, n) {
22680
22680
  var r = Oe("slider__button"), a = R(function() {
22681
22681
  return e;
22682
- }), o = mX(a), l = o.tooltipRef, i = o.tooltipProps, u = o.toggleTooltip, s = o.showTooltip, c = Z(nS), d = N(), v = N(!1), f = hn({
22682
+ }), o = mX(a), l = o.tooltipRef, i = o.tooltipProps, u = o.toggleTooltip, s = o.showTooltip, c = J(nS), d = N(), v = N(!1), f = hn({
22683
22683
  dragging: !1,
22684
22684
  isClick: !1,
22685
22685
  startX: 0,
@@ -23052,7 +23052,7 @@ var yX = te({
23052
23052
  }
23053
23053
  var ce;
23054
23054
  Math.abs(j.value - ge) < Math.abs(D.value - ge) ? ce = y.value < g.value ? "button1" : "button2" : ce = y.value > g.value ? "button1" : "button2", ce === "button1" && p.value && p.value.setPosition(we), ce === "button2" && b.value && b.value.setPosition(we);
23055
- }, J = function() {
23055
+ }, Z = function() {
23056
23056
  var we = e.range ? [y.value, g.value] : y.value;
23057
23057
  return S(we);
23058
23058
  }, ee = function(we) {
@@ -23067,7 +23067,7 @@ var yX = te({
23067
23067
  var fe = m.value.getBoundingClientRect().left;
23068
23068
  ce = (we.clientX - fe) / _.value * 100, G(ce);
23069
23069
  }
23070
- var Ae = J();
23070
+ var Ae = Z();
23071
23071
  (ge = e.onChangeEnd) === null || ge === void 0 || ge.call(e, Ae);
23072
23072
  }
23073
23073
  }, W = function(we) {
@@ -23076,7 +23076,7 @@ var yX = te({
23076
23076
  F();
23077
23077
  var ce = Number(we / T.value * 100);
23078
23078
  G(ce), A(we);
23079
- var ve = J();
23079
+ var ve = Z();
23080
23080
  (ge = e.onChangeEnd) === null || ge === void 0 || ge.call(e, ve);
23081
23081
  }
23082
23082
  };
@@ -23173,7 +23173,7 @@ var yX = te({
23173
23173
  y.value = we;
23174
23174
  },
23175
23175
  onMouseup: function() {
23176
- var we, ge = J();
23176
+ var we, ge = Z();
23177
23177
  (we = e.onChangeEnd) === null || we === void 0 || we.call(e, ge);
23178
23178
  }
23179
23179
  }, null), e.range && h(Tf, {
@@ -23189,7 +23189,7 @@ var yX = te({
23189
23189
  g.value = we;
23190
23190
  },
23191
23191
  onMouseup: function() {
23192
- var we, ge = J();
23192
+ var we, ge = Z();
23193
23193
  (we = e.onChangeEnd) === null || we === void 0 || we.call(e, ge);
23194
23194
  }
23195
23195
  }, null), e.showStep && h("div", {
@@ -23417,7 +23417,7 @@ var SX = te({
23417
23417
  O(), !b.value && (w.value = !0, (oe = e.onFocus) === null || oe === void 0 || oe.call(e, m.value, {
23418
23418
  e: Q
23419
23419
  }));
23420
- }, F = Z(Xm, void 0), z = function(Q) {
23420
+ }, F = J(Xm, void 0), z = function(Q) {
23421
23421
  var oe;
23422
23422
  O(), w.value = !1, (oe = e.onBlur) === null || oe === void 0 || oe.call(e, m.value, {
23423
23423
  e: Q
@@ -23433,7 +23433,7 @@ var SX = te({
23433
23433
  maxlength: !e.allowInputOverMax && e.maxlength || void 0,
23434
23434
  name: e.name || void 0
23435
23435
  });
23436
- }), J = R(function() {
23436
+ }), Z = R(function() {
23437
23437
  var X = Do(String(m.value || ""));
23438
23438
  return Qt(X) === "object" ? X.length : X;
23439
23439
  }), ee = R(function() {
@@ -23487,7 +23487,7 @@ var SX = te({
23487
23487
  class: "".concat(i.value, " ").concat(l.value, "__tips--").concat(e.status || "normal")
23488
23488
  }, [be]), Pe = e.maxcharacter && h("span", {
23489
23489
  class: u.value
23490
- }, ["".concat(J.value, "/").concat(e.maxcharacter)]) || !e.maxcharacter && e.maxlength && h("span", {
23490
+ }, ["".concat(Z.value, "/").concat(e.maxcharacter)]) || !e.maxcharacter && e.maxlength && h("span", {
23491
23491
  class: u.value
23492
23492
  }, ["".concat(m.value ? (X = String(m.value)) === null || X === void 0 ? void 0 : X.length : 0, "/").concat(e.maxlength)]);
23493
23493
  return h("div", Te({
@@ -24278,24 +24278,24 @@ function pJ(t) {
24278
24278
  var F = t.node, z = F.level, L = "--level: ".concat(z, ";"), G = "".concat(L);
24279
24279
  return G;
24280
24280
  }, I = function() {
24281
- var F = t.node, z = w.isDragOver, L = w.isDragging, G = w.dropPosition, J = [];
24282
- return J.push("".concat(i, "__item")), J.push(K(K(K({}, "".concat(i, "__item--open"), F.expanded), "".concat(l, "-is-active"), F.isActivable() ? F.actived : !1), "".concat(l, "-is-disabled"), F.isDisabled())), J.push(K({}, "".concat(i, "__item--draggable"), F.isDraggable())), F.visible ? J.push("".concat(i, "__item--visible")) : J.push("".concat(i, "__item--hidden")), F.vmIsLocked && J.push("".concat(i, "__item--locked")), F.vmIsRest && J.push("".concat(i, "__item--matched")), J.push(K(K(K(K({}, "".concat(i, "__item--dragging"), L), "".concat(i, "__item--tip-top"), z && G < 0), "".concat(i, "__item--tip-bottom"), z && G > 0), "".concat(i, "__item--tip-highlight"), !L && z && G === 0)), J;
24281
+ var F = t.node, z = w.isDragOver, L = w.isDragging, G = w.dropPosition, Z = [];
24282
+ return Z.push("".concat(i, "__item")), Z.push(K(K(K({}, "".concat(i, "__item--open"), F.expanded), "".concat(l, "-is-active"), F.isActivable() ? F.actived : !1), "".concat(l, "-is-disabled"), F.isDisabled())), Z.push(K({}, "".concat(i, "__item--draggable"), F.isDraggable())), F.visible ? Z.push("".concat(i, "__item--visible")) : Z.push("".concat(i, "__item--hidden")), F.vmIsLocked && Z.push("".concat(i, "__item--locked")), F.vmIsRest && Z.push("".concat(i, "__item--matched")), Z.push(K(K(K(K({}, "".concat(i, "__item--dragging"), L), "".concat(i, "__item--tip-top"), z && G < 0), "".concat(i, "__item--tip-bottom"), z && G > 0), "".concat(i, "__item--tip-highlight"), !L && z && G === 0)), Z;
24283
24283
  }, $ = function(F) {
24284
24284
  var z = [], L = d(F), G = p(F);
24285
24285
  G && z.push(G), L && z.push(L);
24286
- var J = f(F);
24287
- J && z.push(J);
24286
+ var Z = f(F);
24287
+ Z && z.push(Z);
24288
24288
  var ee = y(F);
24289
24289
  return ee && z.push(ee), z;
24290
24290
  }, S = function(F) {
24291
24291
  var z = t.node, L = t.props;
24292
24292
  if (!z) return null;
24293
- var G = z.level, J = z.value, ee = D(), W = I(), V = t;
24293
+ var G = z.level, Z = z.value, ee = D(), W = I(), V = t;
24294
24294
  V.stateId = L.stateId;
24295
24295
  var U = h("div", {
24296
24296
  ref: "treeItemRef",
24297
24297
  class: W,
24298
- "data-value": J,
24298
+ "data-value": Z,
24299
24299
  "data-level": G,
24300
24300
  style: ee,
24301
24301
  onClick: function(Q) {
@@ -26886,7 +26886,7 @@ var pS = te({
26886
26886
  C.value.alpha = V, $("palette-alpha-bar");
26887
26887
  }, G = function(V, U) {
26888
26888
  C.value.update(V), C.value.alpha = U, $("input");
26889
- }, J = function(V) {
26889
+ }, Z = function(V) {
26890
26890
  var U = V.key, X = V.payload, Q = "palette-saturation-brightness";
26891
26891
  switch (U) {
26892
26892
  case "degree":
@@ -26919,7 +26919,7 @@ var pS = te({
26919
26919
  handleSatAndValueChange: F,
26920
26920
  handleHueChange: z,
26921
26921
  handleAlphaChange: L,
26922
- handleGradientChange: J,
26922
+ handleGradientChange: Z,
26923
26923
  handleSetColor: ee,
26924
26924
  handleFormatModeChange: A,
26925
26925
  handleInputChange: G,
@@ -27621,7 +27621,7 @@ var bS = te({
27621
27621
  i.value = !1, u.value = !1, o.value && _(x.value);
27622
27622
  }, _ = /* @__PURE__ */ function() {
27623
27623
  var E = Hn(/* @__PURE__ */ zt.mark(function M(T) {
27624
- var j, D, I, $, S, A, F, z, L, G, J, ee, W;
27624
+ var j, D, I, $, S, A, F, z, L, G, Z, ee, W;
27625
27625
  return zt.wrap(function(U) {
27626
27626
  for (; ; ) switch (U.prev = U.next) {
27627
27627
  case 0:
@@ -27639,7 +27639,7 @@ var bS = te({
27639
27639
  mode: "closed"
27640
27640
  }), A = document.createElement("div"), A.style.background = "transparent", A.innerHTML = I, S.appendChild(A), F = A.querySelector("svg"), F && (z = F.getAttribute("viewBox"), z ? (L = z.split(/[\s\,]/).filter(function(X) {
27641
27641
  return X;
27642
- }).map(parseFloat), G = L[2], J = L[3], A.style.width = "".concat(G, "px"), A.style.height = "".concat(J, "px")) : (ee = F.getBBox(), W = "".concat(ee.x, " ").concat(ee.y, " ").concat(ee.width, " ").concat(ee.height), F.setAttribute("viewBox", W), A.style.width = "".concat(ee.width, "px"), A.style.height = "".concat(ee.height, "px"))), u.value = !0;
27642
+ }).map(parseFloat), G = L[2], Z = L[3], A.style.width = "".concat(G, "px"), A.style.height = "".concat(Z, "px")) : (ee = F.getBBox(), W = "".concat(ee.x, " ").concat(ee.y, " ").concat(ee.width, " ").concat(ee.height), F.setAttribute("viewBox", W), A.style.width = "".concat(ee.width, "px"), A.style.height = "".concat(ee.height, "px"))), u.value = !0;
27643
27643
  case 20:
27644
27644
  case "end":
27645
27645
  return U.stop();
@@ -28094,14 +28094,14 @@ var NZ = 1, wS = te({
28094
28094
  Xi && u.value && (u.value.style.transformOrigin = "".concat(Xi.x - u.value.offsetLeft, "px ").concat(Xi.y - u.value.offsetTop, "px"));
28095
28095
  })), (ve = document.activeElement) === null || ve === void 0 || ve.blur();
28096
28096
  } else
28097
- J();
28097
+ Z();
28098
28098
  ee(ce);
28099
28099
  });
28100
28100
  function G() {
28101
28101
  var ce, ve;
28102
28102
  (ce = O.value.parentNode) === null || ce === void 0 || (ve = ce.removeChild) === null || ve === void 0 || ve.call(ce, O.value);
28103
28103
  }
28104
- function J() {
28104
+ function Z() {
28105
28105
  clearTimeout(x.value), x.value = setTimeout(function() {
28106
28106
  G();
28107
28107
  }, 150);
@@ -28785,7 +28785,7 @@ var XZ = te({
28785
28785
  return (Ye = e.zIndex) !== null && Ye !== void 0 ? Ye : 2600;
28786
28786
  }), M = function() {
28787
28787
  l.value = !l.value;
28788
- }, T = TZ(), j = T.mirror, D = T.onMirror, I = T.resetMirror, $ = AZ(e.imageScale), S = $.scale, A = $.onZoomIn, F = $.onZoomOut, z = $.resetScale, L = DZ(), G = L.rotate, J = L.onRotate, ee = L.resetRotate, W = function() {
28788
+ }, T = TZ(), j = T.mirror, D = T.onMirror, I = T.resetMirror, $ = AZ(e.imageScale), S = $.scale, A = $.onZoomIn, F = $.onZoomOut, z = $.resetScale, L = DZ(), G = L.rotate, Z = L.onRotate, ee = L.resetRotate, W = function() {
28789
28789
  I(), z(), ee();
28790
28790
  }, V = R(function() {
28791
28791
  return UZ(e.images);
@@ -28929,7 +28929,7 @@ var XZ = te({
28929
28929
  rotate: G.value,
28930
28930
  mirror: j.value,
28931
28931
  currentImage: U.value,
28932
- onRotate: J,
28932
+ onRotate: Z,
28933
28933
  onZoomIn: A,
28934
28934
  onZoomOut: F,
28935
28935
  onMirror: D,
@@ -28968,7 +28968,7 @@ var XZ = te({
28968
28968
  onZoomOut: F,
28969
28969
  onMirror: D,
28970
28970
  onReset: W,
28971
- onRotate: J,
28971
+ onRotate: Z,
28972
28972
  scale: S.value,
28973
28973
  currentImage: U.value
28974
28974
  }, null), h(bS, {
@@ -29610,10 +29610,10 @@ function lQ(t) {
29610
29610
  return D[S];
29611
29611
  }, p = function j(D, I) {
29612
29612
  D && (d.value = D, D.forEach(function($, S) {
29613
- var A = m(D, S - 1, "prev"), F = m(D, S + 1, "next"), z = I ? c.value[I.colKey].prev : F, L = I ? c.value[I.colKey].next : A, G = S === 0 ? z : A, J = S === D.length - 1 ? L : F;
29613
+ var A = m(D, S - 1, "prev"), F = m(D, S + 1, "next"), z = I ? c.value[I.colKey].prev : F, L = I ? c.value[I.colKey].next : A, G = S === 0 ? z : A, Z = S === D.length - 1 ? L : F;
29614
29614
  c.value[$.colKey] = {
29615
29615
  prev: G,
29616
- next: J,
29616
+ next: Z,
29617
29617
  current: {
29618
29618
  prevSibling: m(D, S - 1, "prev"),
29619
29619
  nextSibling: m(D, S + 1, "next")
@@ -29640,8 +29640,8 @@ function lQ(t) {
29640
29640
  })) {
29641
29641
  var A = $.getBoundingClientRect(), F = A.right - D.pageX <= Jy, z = D.pageX - A.left <= Jy, L = g(I);
29642
29642
  if (F || L) {
29643
- var G, J = (G = I.resizable) !== null && G !== void 0 ? G : !0;
29644
- if (J) {
29643
+ var G, Z = (G = I.resizable) !== null && G !== void 0 ? G : !0;
29644
+ if (Z) {
29645
29645
  $.style.cursor = F || L && z ? "col-resize" : "";
29646
29646
  var ee = F && !L || L && z;
29647
29647
  b.draggingCol = ee ? $ : $.nextElementSibling, b.effectCol = "next";
@@ -29667,18 +29667,18 @@ function lQ(t) {
29667
29667
  maxColWidth: (($ = D.resize) === null || $ === void 0 ? void 0 : $.maxWidth) || oQ
29668
29668
  };
29669
29669
  }, C = function(D, I, $, S) {
29670
- var A = $.right - S.left, F = $.left - S.left, z = b.effectCol === "next" ? D : I, L = _(z), G = L.minColWidth, J = L.maxColWidth;
29670
+ var A = $.right - S.left, F = $.left - S.left, z = b.effectCol === "next" ? D : I, L = _(z), G = L.minColWidth, Z = L.maxColWidth;
29671
29671
  return {
29672
29672
  resizeLinePos: A,
29673
29673
  minResizeLineLeft: F + G,
29674
- maxResizeLineLeft: F + J
29674
+ maxResizeLineLeft: F + Z
29675
29675
  };
29676
29676
  }, x = function(D, I, $, S, A) {
29677
- var F = S.left - A.left, z = D.dataset.colkey === I.colKey ? I : $, L = S.left - A.left, G = _(z), J = G.minColWidth, ee = G.maxColWidth;
29677
+ var F = S.left - A.left, z = D.dataset.colkey === I.colKey ? I : $, L = S.left - A.left, G = _(z), Z = G.minColWidth, ee = G.maxColWidth;
29678
29678
  return {
29679
29679
  resizeLinePos: F,
29680
29680
  minResizeLineLeft: L + (S.width - ee),
29681
- maxResizeLineLeft: L + (S.width - J)
29681
+ maxResizeLineLeft: L + (S.width - Z)
29682
29682
  };
29683
29683
  }, O = function(D, I) {
29684
29684
  var $ = D.left - I.left, S = D.left - I.left;
@@ -29704,7 +29704,7 @@ function lQ(t) {
29704
29704
  }, T = function(D, I, $) {
29705
29705
  var S, A, F;
29706
29706
  if (b.draggingCol) {
29707
- var z = b.draggingCol, L = z.getBoundingClientRect(), G = (S = n.value) === null || S === void 0 ? void 0 : S.getBoundingClientRect(), J = (A = c.value[I.colKey]) === null || A === void 0 ? void 0 : A.next, ee = (F = c.value[I.colKey]) === null || F === void 0 ? void 0 : F.prev, W = g(I) ? x(z, I, J, L, G) : M(I, J, L, G), V = W.resizeLinePos, U = W.minResizeLineLeft, X = W.maxResizeLineLeft;
29707
+ var z = b.draggingCol, L = z.getBoundingClientRect(), G = (S = n.value) === null || S === void 0 ? void 0 : S.getBoundingClientRect(), Z = (A = c.value[I.colKey]) === null || A === void 0 ? void 0 : A.next, ee = (F = c.value[I.colKey]) === null || F === void 0 ? void 0 : F.prev, W = g(I) ? x(z, I, Z, L, G) : M(I, Z, L, G), V = W.resizeLinePos, U = W.minResizeLineLeft, X = W.maxResizeLineLeft;
29708
29708
  if (b.isDragging = !0, b.draggingStart = D.x, s != null && s.value) {
29709
29709
  y.display = "block", y.height = "".concat(G.bottom - L.top, "px"), y.left = "".concat(V, "px");
29710
29710
  var Q = n.value.parentElement.getBoundingClientRect();
@@ -29716,7 +29716,7 @@ function lQ(t) {
29716
29716
  var _e = V - parseFloat(y.left) || 0, Pe = a("calculate"), ke = (be = c.value[I.colKey]) === null || be === void 0 ? void 0 : be.current;
29717
29717
  if (ke) {
29718
29718
  var we = b.effectCol === "next" ? ke.nextSibling : ke.prevSibling, ge = rQ({}, Pe), ce = I.resizable !== !1 ? I : we, ve = b.effectCol === "next" ? ke.nextSibling : I, fe = E(ge, ve, _e, $);
29719
- b.effectCol === "next" ? g(I) ? z.dataset.colkey !== I.colKey ? ge[J.colKey] += _e : ge[ce.colKey] += _e : (ge[ce.colKey] -= _e, fe && (ge[J.colKey] += _e)) : b.effectCol === "prev" && (fe && (ge[ce.colKey] += _e), ee && (ge[ee.colKey] -= _e)), o(ge);
29719
+ b.effectCol === "next" ? g(I) ? z.dataset.colkey !== I.colKey ? ge[Z.colKey] += _e : ge[ce.colKey] += _e : (ge[ce.colKey] -= _e, fe && (ge[Z.colKey] += _e)) : b.effectCol === "prev" && (fe && (ge[ce.colKey] += _e), ee && (ge[ee.colKey] -= _e)), o(ge);
29720
29720
  var Ae = P(ge);
29721
29721
  l(Math.round(Ae)), i(), b.isDragging = !1, b.draggingCol = null, b.effectCol = null, z.style.cursor = "", y.display = "none", y.left = "0", Nt(document, "mouseup", se), Nt(document, "mousemove", le), document.onselectstart = v, document.ondragstart = f, u == null || u({
29722
29722
  columnsWidth: ge
@@ -29882,7 +29882,7 @@ function FQ(t, e, n, r) {
29882
29882
  var ft = ye[Ze], St = xe === 0 && (pe == null ? void 0 : pe.left) || 0, Kt = me.get((ft == null ? void 0 : ft.colKey) || xe - 1);
29883
29883
  He && (He.left = ((Kt == null ? void 0 : Kt.left) || St) + ((Kt == null ? void 0 : Kt.width) || 0)), (Ke = qe.children) !== null && Ke !== void 0 && Ke.length && Ee(qe.children, me, He);
29884
29884
  }
29885
- }, J = function Ee(ye, me) {
29885
+ }, Z = function Ee(ye, me) {
29886
29886
  for (var pe = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, xe = ye.length - 1; xe >= 0; xe--) {
29887
29887
  var De, Ke = ye[xe];
29888
29888
  if (Ke.fixed === "left") return;
@@ -29902,7 +29902,7 @@ function FQ(t, e, n, r) {
29902
29902
  width: Ze.getBoundingClientRect().width
29903
29903
  }));
29904
29904
  }
29905
- G(o.value, me), J(o.value, me);
29905
+ G(o.value, me), Z(o.value, me);
29906
29906
  }
29907
29907
  }, W = function(ye, me, pe, xe) {
29908
29908
  for (var De = u.value || [], Ke = Ne(De, 2), qe = Ke[0], He = Ke[1], Ze = t.data, ft = t.rowKey, St = ft === void 0 ? "id" : ft, Kt = 0; Kt < qe; Kt++) {
@@ -30287,12 +30287,12 @@ function NQ(t) {
30287
30287
  return {
30288
30288
  removeElementTouchScrollListener: be
30289
30289
  };
30290
- }, G = [], J = function() {
30290
+ }, G = [], Z = function() {
30291
30291
  G.forEach(function(Q) {
30292
30292
  return Q();
30293
30293
  }), G.length = 0;
30294
30294
  }, ee = function() {
30295
- Nt(window, "mousedown", $), Nt(window, "mouseup", S), J(), n.value && (Nt(n.value, "mouseenter", E), Nt(n.value, "mouseleave", M)), r.value && (Nt(r.value, "mouseenter", O), Nt(r.value, "mouseleave", P)), e.value && (Nt(e.value, "mouseenter", D), Nt(e.value, "mouseleave", I)), a.value && (Nt(a.value, "mouseenter", T), Nt(a.value, "mouseleave", j));
30295
+ Nt(window, "mousedown", $), Nt(window, "mouseup", S), Z(), n.value && (Nt(n.value, "mouseenter", E), Nt(n.value, "mouseleave", M)), r.value && (Nt(r.value, "mouseenter", O), Nt(r.value, "mouseleave", P)), e.value && (Nt(e.value, "mouseenter", D), Nt(e.value, "mouseleave", I)), a.value && (Nt(a.value, "mouseenter", T), Nt(a.value, "mouseleave", j));
30296
30296
  }, W = function() {
30297
30297
  if (qt(window, "mousedown", $), qt(window, "mouseup", S), ee(), n.value) {
30298
30298
  qt(n.value, "mouseenter", E), qt(n.value, "mouseleave", M);
@@ -30620,9 +30620,9 @@ var HQ = te({
30620
30620
  e: V
30621
30621
  });
30622
30622
  T.stopPropagation && V.stopPropagation(), (U = e.onCellClick) === null || U === void 0 || U.call(e, X);
30623
- }, J = Ve(T.attrs) ? T.attrs(ir(ir({}, E), {}, {
30623
+ }, Z = Ve(T.attrs) ? T.attrs(ir(ir({}, E), {}, {
30624
30624
  type: "td"
30625
- })) : T.attrs, ee = ir(ir({}, J), I);
30625
+ })) : T.attrs, ee = ir(ir({}, Z), I);
30626
30626
  return h("td", Te({
30627
30627
  key: T.colKey || j,
30628
30628
  class: L,
@@ -30642,8 +30642,8 @@ var HQ = te({
30642
30642
  colIndex: A
30643
30643
  }, L = null;
30644
30644
  if (e.skipSpansMap.size) {
30645
- var G, J, ee = vu(j, e.rowKey, S.colKey, A);
30646
- if (L = T.get(ee) || {}, ((G = L) === null || G === void 0 ? void 0 : G.rowspan) > 1 && (F.rowspan = L.rowspan), ((J = L) === null || J === void 0 ? void 0 : J.colspan) > 1 && (F.colspan = L.colspan), L.skipped) return null;
30645
+ var G, Z, ee = vu(j, e.rowKey, S.colKey, A);
30646
+ if (L = T.get(ee) || {}, ((G = L) === null || G === void 0 ? void 0 : G.rowspan) > 1 && (F.rowspan = L.rowspan), ((Z = L) === null || Z === void 0 ? void 0 : Z.colspan) > 1 && (F.colspan = L.colspan), L.skipped) return null;
30647
30647
  }
30648
30648
  return P(z, {
30649
30649
  dataLength: D,
@@ -30939,8 +30939,8 @@ var a_ = te({
30939
30939
  }
30940
30940
  if (!x)
30941
30941
  var L = setTimeout(function() {
30942
- var G, J = e.theadRef.querySelectorAll("th");
30943
- (G = J[v]) === null || G === void 0 || G.removeAttribute("draggable"), clearTimeout(L);
30942
+ var G, Z = e.theadRef.querySelectorAll("th");
30943
+ (G = Z[v]) === null || G === void 0 || G.removeAttribute("draggable"), clearTimeout(L);
30944
30944
  }, 10);
30945
30945
  },
30946
30946
  onMousemove: function(A) {
@@ -31114,9 +31114,9 @@ function UQ(t, e) {
31114
31114
  for (var F = m.value.filter(function(ee) {
31115
31115
  return ee !== S;
31116
31116
  }), z = [], L = 0, G = r.value.length; L < G; L++) {
31117
- var J = r.value[L];
31118
- F.includes($e(J, t.rowKey)) && z.push({
31119
- row: J,
31117
+ var Z = r.value[L];
31118
+ F.includes($e(Z, t.rowKey)) && z.push({
31119
+ row: Z,
31120
31120
  rowIndex: L
31121
31121
  });
31122
31122
  }
@@ -31421,7 +31421,7 @@ var TS = te({
31421
31421
  horizontalScrollAffixRef: A,
31422
31422
  headerTopAffixRef: F,
31423
31423
  footerBottomAffixRef: z
31424
- }), G = L.scrollbarWidth, J = L.virtualScrollHeaderPos, ee = L.tableWidth, W = L.tableElmWidth, V = L.tableContentRef, U = L.isFixedHeader, X = L.isWidthOverflow, Q = L.isFixedColumn, oe = L.thWidthList, le = L.showColumnShadow, se = L.rowAndColFixedPosition, be = L.setData, _e = L.refreshTable, Pe = L.setTableElmWidth, ke = L.emitScrollEvent, we = L.setUseFixedTableElmRef, ge = L.updateColumnFixedShadow, ce = L.getThWidthList, ve = L.updateThWidthList, fe = L.addTableResizeObserver, Ae = L.updateTableAfterColumnResize, je = NQ(e), Ye = je.affixHeaderRef, Le = je.affixFooterRef, Ie = je.horizontalScrollbarRef, Ee = je.paginationRef, ye = je.showAffixHeader, me = je.showAffixFooter, pe = je.showAffixPagination, xe = je.onHorizontalScroll, De = je.setTableContentRef, Ke = je.updateAffixHeaderOrFooter, qe = BQ(e, n), He = qe.dataSource, Ze = qe.innerPagination, ft = qe.isPaginateData, St = qe.renderPagination, Kt = lQ({
31424
+ }), G = L.scrollbarWidth, Z = L.virtualScrollHeaderPos, ee = L.tableWidth, W = L.tableElmWidth, V = L.tableContentRef, U = L.isFixedHeader, X = L.isWidthOverflow, Q = L.isFixedColumn, oe = L.thWidthList, le = L.showColumnShadow, se = L.rowAndColFixedPosition, be = L.setData, _e = L.refreshTable, Pe = L.setTableElmWidth, ke = L.emitScrollEvent, we = L.setUseFixedTableElmRef, ge = L.updateColumnFixedShadow, ce = L.getThWidthList, ve = L.updateThWidthList, fe = L.addTableResizeObserver, Ae = L.updateTableAfterColumnResize, je = NQ(e), Ye = je.affixHeaderRef, Le = je.affixFooterRef, Ie = je.horizontalScrollbarRef, Ee = je.paginationRef, ye = je.showAffixHeader, me = je.showAffixFooter, pe = je.showAffixPagination, xe = je.onHorizontalScroll, De = je.setTableContentRef, Ke = je.updateAffixHeaderOrFooter, qe = BQ(e, n), He = qe.dataSource, Ze = qe.innerPagination, ft = qe.isPaginateData, St = qe.renderPagination, Kt = lQ({
31425
31425
  isWidthOverflow: X,
31426
31426
  tableContentRef: V,
31427
31427
  showColumnShadow: le,
@@ -31535,7 +31535,7 @@ var TS = te({
31535
31535
  innerPagination: Ze,
31536
31536
  globalConfig: O,
31537
31537
  tableFootHeight: c,
31538
- virtualScrollHeaderPos: J,
31538
+ virtualScrollHeaderPos: Z,
31539
31539
  tableSize: D,
31540
31540
  tableWidth: ee,
31541
31541
  tableElmWidth: W,
@@ -31789,9 +31789,9 @@ var TS = te({
31789
31789
  footerSummary: this.footerSummary,
31790
31790
  rowspanAndColspanInFooter: this.rowspanAndColspanInFooter,
31791
31791
  virtualScroll: this.virtualConfig.isVirtualScroll.value
31792
- }, this.$slots)])]), J = Ve(this.loading) ? this.loading : this.$slots.loading, ee = this.loading !== void 0 && h(Go, Te({
31792
+ }, this.$slots)])]), Z = Ve(this.loading) ? this.loading : this.$slots.loading, ee = this.loading !== void 0 && h(Go, Te({
31793
31793
  loading: !!this.loading,
31794
- text: J,
31794
+ text: Z,
31795
31795
  attach: this.tableRef ? function() {
31796
31796
  return r.tableRef;
31797
31797
  } : void 0,
@@ -32148,13 +32148,13 @@ function XQ(t, e) {
32148
32148
  if (!(I != null && I.length)) return [];
32149
32149
  var $ = [], S = function A(F) {
32150
32150
  for (var z = 0, L = F.length; z < L; z++) {
32151
- for (var G, J = F[z], ee = x(J, z), W = 0, V = I.length; W < V; W++) {
32151
+ for (var G, Z = F[z], ee = x(Z, z), W = 0, V = I.length; W < V; W++) {
32152
32152
  var U, X = I[W];
32153
- X.columns.includes(J.colKey) && ((U = $[W]) !== null && U !== void 0 && (U = U.options) !== null && U !== void 0 && U.length ? $[W].options.push(ee) : $[W] = yv(yv({}, I[W]), {}, {
32153
+ X.columns.includes(Z.colKey) && ((U = $[W]) !== null && U !== void 0 && (U = U.options) !== null && U !== void 0 && U.length ? $[W].options.push(ee) : $[W] = yv(yv({}, I[W]), {}, {
32154
32154
  options: [ee]
32155
32155
  }));
32156
32156
  }
32157
- (G = J.children) !== null && G !== void 0 && G.length && A(J.children);
32157
+ (G = Z.children) !== null && G !== void 0 && G.length && A(Z.children);
32158
32158
  }
32159
32159
  };
32160
32160
  return S(j), $;
@@ -32193,10 +32193,10 @@ function XQ(t, e) {
32193
32193
  class: "".concat(r.value, "-table__column-controller-body")
32194
32194
  }, [Ve(F) ? F(yt) : f("columnControllerTopContent"), a.value.columnConfigDescriptionText && h("p", {
32195
32195
  class: "".concat(r.value, "-table__column-controller-desc")
32196
- }, [a.value.columnConfigDescriptionText]), C.value.map(function(G, J) {
32197
- var ee, W, V = (ee = s.value) !== null && ee !== void 0 && (ee = ee.groupColumns) !== null && ee !== void 0 && ee.length ? String(G.value || J) : void 0;
32196
+ }, [a.value.columnConfigDescriptionText]), C.value.map(function(G, Z) {
32197
+ var ee, W, V = (ee = s.value) !== null && ee !== void 0 && (ee = ee.groupColumns) !== null && ee !== void 0 && ee.length ? String(G.value || Z) : void 0;
32198
32198
  return h(GQ, {
32199
- key: G.value || J,
32199
+ key: G.value || Z,
32200
32200
  uniqueKey: V,
32201
32201
  value: _.value,
32202
32202
  label: G.label,
@@ -32447,10 +32447,10 @@ function QQ(t, e) {
32447
32447
  return !S || !p.value || !("allowUncheck" in (($ = p.value) === null || $ === void 0 ? void 0 : $.checkProps)) ? !1 : p.value.checkProps.allowUncheck;
32448
32448
  });
32449
32449
  ue([l, a, v, p, o], function() {
32450
- var $, S = function(J) {
32451
- return p.value.disabled(J) ? e.disabled : "";
32452
- }, A = ($ = p.value) !== null && $ !== void 0 && $.disabled ? S : void 0, F = new Set(v.value), z = function(J) {
32453
- var ee = J.row, W = $e(ee, t.rowKey || "id");
32450
+ var $, S = function(Z) {
32451
+ return p.value.disabled(Z) ? e.disabled : "";
32452
+ }, A = ($ = p.value) !== null && $ !== void 0 && $.disabled ? S : void 0, F = new Set(v.value), z = function(Z) {
32453
+ var ee = Z.row, W = $e(ee, t.rowKey || "id");
32454
32454
  return F.has(W) ? e.selected : "";
32455
32455
  }, L = F.size ? z : void 0;
32456
32456
  s.value = [A, L];
@@ -32485,10 +32485,10 @@ function QQ(t, e) {
32485
32485
  };
32486
32486
  }
32487
32487
  function O($) {
32488
- var S = $.col, A = $.row, F = A === void 0 ? {} : A, z = v.value.includes($e(F, t.rowKey || "id")), L = x($), G = L.disabled, J = L.checkProps, ee = hs(hs({
32488
+ var S = $.col, A = $.row, F = A === void 0 ? {} : A, z = v.value.includes($e(F, t.rowKey || "id")), L = x($), G = L.disabled, Z = L.checkProps, ee = hs(hs({
32489
32489
  checked: z,
32490
32490
  disabled: G
32491
- }, J), {}, {
32491
+ }, Z), {}, {
32492
32492
  onClick: function(X) {
32493
32493
  if (Qt(X) === "object" && "e" in X) {
32494
32494
  var Q;
@@ -32554,8 +32554,8 @@ function QQ(t, e) {
32554
32554
  }) : $;
32555
32555
  }
32556
32556
  var T = function(S) {
32557
- var A = S.row, F = S.index, z = t.columns.findIndex(function(J) {
32558
- return J.colKey === "row-select";
32557
+ var A = S.row, F = S.index, z = t.columns.findIndex(function(Z) {
32558
+ return Z.colKey === "row-select";
32559
32559
  }), L = !1;
32560
32560
  if (z !== -1) {
32561
32561
  var G;
@@ -32609,14 +32609,14 @@ function QQ(t, e) {
32609
32609
  var L = z.map(function(U) {
32610
32610
  var X = U.row;
32611
32611
  return $e(X, t.rowKey);
32612
- }), G = Vo(v.value, L), J = G.length !== L.length, ee = v.value.filter(function(U) {
32612
+ }), G = Vo(v.value, L), Z = G.length !== L.length, ee = v.value.filter(function(U) {
32613
32613
  return !L.includes(U);
32614
- }), W = J ? Fe(new Set(v.value.concat(L))) : ee, V = F === "space-one-selection" ? A[0].row : void 0;
32614
+ }), W = Z ? Fe(new Set(v.value.concat(L))) : ee, V = F === "space-one-selection" ? A[0].row : void 0;
32615
32615
  f(W, {
32616
32616
  selectedRowData: A,
32617
32617
  currentRowKey: $e(V, t.rowKey),
32618
32618
  currentRowData: V,
32619
- type: J ? "check" : "uncheck"
32619
+ type: Z ? "check" : "uncheck"
32620
32620
  });
32621
32621
  }
32622
32622
  }
@@ -32767,9 +32767,9 @@ function ree(t, e) {
32767
32767
  }), l.value;
32768
32768
  var $ = j instanceof Array ? j : [j], S = f.value.slice().sort(function(A, F) {
32769
32769
  for (var z = 0, L = 0, G = $.length; L < G; L++) {
32770
- var J = $[L], ee = p.value[J.sortBy];
32770
+ var Z = $[L], ee = p.value[Z.sortBy];
32771
32771
  if (z === 0 && ee)
32772
- z = J.descending ? ee(F, A) : ee(A, F);
32772
+ z = Z.descending ? ee(F, A) : ee(A, F);
32773
32773
  else
32774
32774
  break;
32775
32775
  }
@@ -32845,11 +32845,11 @@ function ree(t, e) {
32845
32845
  var I = jt(j) ? j : [j], $ = jt(D) ? D : [D];
32846
32846
  if (I.length && !D) return !1;
32847
32847
  for (var S = function() {
32848
- var G = I[F], J = $.find(function(ee) {
32848
+ var G = I[F], Z = $.find(function(ee) {
32849
32849
  return ee.sortBy === G.sortBy;
32850
32850
  });
32851
- return J ? {
32852
- v: G.descending === J.descending
32851
+ return Z ? {
32852
+ v: G.descending === Z.descending
32853
32853
  } : {
32854
32854
  v: !1
32855
32855
  };
@@ -33116,7 +33116,7 @@ function lee(t, e) {
33116
33116
  }), z = G.join();
33117
33117
  }
33118
33118
  if (jS(z)) {
33119
- var J, ee, W = Ve((J = A.filter) === null || J === void 0 ? void 0 : J.label) ? A.filter.label(yt) : (ee = A.filter) === null || ee === void 0 ? void 0 : ee.label, V = dd(e.slots, A, F);
33119
+ var Z, ee, W = Ve((Z = A.filter) === null || Z === void 0 ? void 0 : Z.label) ? A.filter.label(yt) : (ee = A.filter) === null || ee === void 0 ? void 0 : ee.label, V = dd(e.slots, A, F);
33120
33120
  $.push("".concat(W || V, ":").concat(z));
33121
33121
  }
33122
33122
  }), $.join(";");
@@ -34008,8 +34008,8 @@ lt.prototype = /** @lends Sortable.prototype */
34008
34008
  fromSortable: v,
34009
34009
  target: r,
34010
34010
  completed: g,
34011
- onMove: function(G, J) {
34012
- return Cs(fn, n, ze, a, G, $n(G), e, J);
34011
+ onMove: function(G, Z) {
34012
+ return Cs(fn, n, ze, a, G, $n(G), e, Z);
34013
34013
  },
34014
34014
  changed: w
34015
34015
  }, z));
@@ -34575,7 +34575,7 @@ function jee(t, e, n) {
34575
34575
  var S;
34576
34576
  if ($.newIndex !== $.oldIndex) {
34577
34577
  j && (P_($.item), E_($.from, $.item, $.oldIndex));
34578
- var A = $.oldIndex, F = $.newIndex, z = $.target, L = j ? A : F, G = j ? F : A, J = z.children[L], ee = z.children[G], W = pc(f.value, J.dataset.colkey), V = pc(f.value, ee.dataset.colkey);
34578
+ var A = $.oldIndex, F = $.newIndex, z = $.target, L = j ? A : F, G = j ? F : A, Z = z.children[L], ee = z.children[G], W = pc(f.value, Z.dataset.colkey), V = pc(f.value, ee.dataset.colkey);
34579
34579
  (!W || !W.colKey) && $t.error("Table", "colKey is missing in ".concat(JSON.stringify(W))), (!V || !V.colKey) && $t.error("Table", "colKey is missing in ".concat(JSON.stringify(V))), L = v_(t.columns, W.colKey), G = v_(t.columns, V.colKey);
34580
34580
  var U = {
34581
34581
  data: f.value,
@@ -34811,10 +34811,10 @@ var Ree = te({
34811
34811
  return;
34812
34812
  }
34813
34813
  np(s.value, z).then(function(G) {
34814
- var J, ee = G == null ? void 0 : G.filter(function(W) {
34814
+ var Z, ee = G == null ? void 0 : G.filter(function(W) {
34815
34815
  return !W.result;
34816
34816
  });
34817
- F.result[0].errorList = ee, (J = e.onValidate) === null || J === void 0 || J.call(e, F), !ee || !ee.length ? (c.value = [], A(!0)) : (c.value = ee, A(ee));
34817
+ F.result[0].errorList = ee, (Z = e.onValidate) === null || Z === void 0 || Z.call(e, F), !ee || !ee.length ? (c.value = [], A(!0)) : (c.value = ee, A(ee));
34818
34818
  });
34819
34819
  });
34820
34820
  }, O = function(S, A) {
@@ -34823,10 +34823,10 @@ var Ree = te({
34823
34823
  for (var F = arguments.length, z = new Array(F > 2 ? F - 2 : 0), L = 2; L < F; L++)
34824
34824
  z[L - 2] = arguments[L];
34825
34825
  x("self").then(function(G) {
34826
- var J, ee;
34826
+ var Z, ee;
34827
34827
  if (G === !0) {
34828
34828
  var W = $e(o.value, l.value.colKey);
34829
- O(s.value, W) || (s.value = W, S == null || S.apply(void 0, z)), (J = (ee = p.value)[A]) === null || J === void 0 || J.call(ee, z[2]);
34829
+ O(s.value, W) || (s.value = W, S == null || S.apply(void 0, z)), (Z = (ee = p.value)[A]) === null || Z === void 0 || Z.call(ee, z[2]);
34830
34830
  var V = setTimeout(function() {
34831
34831
  var U;
34832
34832
  i.value || (u.value = !1), c.value = [], (U = e.onEditableChange) === null || U === void 0 || U.call(e, Ut(Ut({}, b.value), {}, {
@@ -34845,24 +34845,24 @@ var Ree = te({
34845
34845
  var F = {}, z = S == null ? void 0 : S.onEdited;
34846
34846
  return S.abortEditOnEvent.forEach(function(L) {
34847
34847
  L !== "onChange" && (F[L] = function() {
34848
- for (var G = arguments.length, J = new Array(G), ee = 0; ee < G; ee++)
34849
- J[ee] = arguments[ee];
34848
+ for (var G = arguments.length, Z = new Array(G), ee = 0; ee < G; ee++)
34849
+ Z[ee] = arguments[ee];
34850
34850
  P.apply(void 0, [z, L, Ut(Ut({}, b.value), {}, {
34851
34851
  trigger: L,
34852
34852
  newRowData: y.value
34853
- })].concat(J));
34853
+ })].concat(Z));
34854
34854
  });
34855
34855
  }), F;
34856
34856
  }
34857
34857
  }), M = function(S) {
34858
- var A, F, z, L, G, J, ee;
34858
+ var A, F, z, L, G, Z, ee;
34859
34859
  s.value = S;
34860
34860
  for (var W = Ut(Ut({}, b.value), {}, {
34861
34861
  value: S,
34862
34862
  editedRow: Ut(Ut({}, e.row), {}, K({}, e.col.colKey, S))
34863
34863
  }), V = arguments.length, U = new Array(V > 1 ? V - 1 : 0), X = 1; X < V; X++)
34864
34864
  U[X - 1] = arguments[X];
34865
- (A = w.value) === null || A === void 0 || (F = A.onChange) === null || F === void 0 || F.call.apply(F, [A, S].concat(U)), (z = e.onChange) === null || z === void 0 || z.call(e, W), (L = e.onRuleChange) === null || L === void 0 || L.call(e, W), (G = p.value) === null || G === void 0 || (J = G.onChange) === null || J === void 0 || J.call(G, W);
34865
+ (A = w.value) === null || A === void 0 || (F = A.onChange) === null || F === void 0 || F.call.apply(F, [A, S].concat(U)), (z = e.onChange) === null || z === void 0 || z.call(e, W), (L = e.onRuleChange) === null || L === void 0 || L.call(e, W), (G = p.value) === null || G === void 0 || (Z = G.onChange) === null || Z === void 0 || Z.call(G, W);
34866
34866
  var Q = e.editable === void 0;
34867
34867
  if (Q && C.value) {
34868
34868
  var oe, le = (oe = l.value.edit) === null || oe === void 0 ? void 0 : oe.onEdited;
@@ -34876,8 +34876,8 @@ var Ree = te({
34876
34876
  var A;
34877
34877
  if (!(!l.value.edit || !l.value.edit.component) && u.value) {
34878
34878
  var F = ((A = S.composedPath) === null || A === void 0 ? void 0 : A.call(S)) || S.path || [], z = F.find(function(G) {
34879
- var J;
34880
- return (J = G.classList) === null || J === void 0 ? void 0 : J.contains("".concat(d.value, "-popup__content"));
34879
+ var Z;
34880
+ return (Z = G.classList) === null || Z === void 0 ? void 0 : Z.contains("".concat(d.value, "-popup__content"));
34881
34881
  });
34882
34882
  if (!z) {
34883
34883
  var L = l.value.edit.onEdited;
@@ -34947,9 +34947,9 @@ var Ree = te({
34947
34947
  var L = ($ = l.value.edit) === null || $ === void 0 ? void 0 : $.component;
34948
34948
  if (!L)
34949
34949
  return $t.error("Table", "edit.component is required."), null;
34950
- var G = (S = c.value) === null || S === void 0 || (S = S[0]) === null || S === void 0 ? void 0 : S.message, J = Ut({}, p.value);
34951
- return delete J.onChange, (A = l.value.edit) !== null && A !== void 0 && (A = A.abortEditOnEvent) !== null && A !== void 0 && A.length && l.value.edit.abortEditOnEvent.forEach(function(ee) {
34952
- J[ee] && delete J[ee];
34950
+ var G = (S = c.value) === null || S === void 0 || (S = S[0]) === null || S === void 0 ? void 0 : S.message, Z = Ut({}, p.value);
34951
+ return delete Z.onChange, (A = l.value.edit) !== null && A !== void 0 && (A = A.abortEditOnEvent) !== null && A !== void 0 && A.length && l.value.edit.abortEditOnEvent.forEach(function(ee) {
34952
+ Z[ee] && delete Z[ee];
34953
34953
  }), h("div", {
34954
34954
  class: e.tableBaseClass.cellEditWrap,
34955
34955
  onClick: function(W) {
@@ -34959,7 +34959,7 @@ var Ree = te({
34959
34959
  }, [h(L, Te({
34960
34960
  status: G ? ((F = c.value) === null || F === void 0 || (F = F[0]) === null || F === void 0 ? void 0 : F.type) || "error" : void 0,
34961
34961
  tips: G
34962
- }, _.value, E.value, J, {
34962
+ }, _.value, E.value, Z, {
34963
34963
  value: s.value,
34964
34964
  onChange: M
34965
34965
  }), null)]);
@@ -35170,7 +35170,7 @@ var Nee = ["hideSortTips", "dragSort", "defaultExpandedRowKeys", "defaultSelecte
35170
35170
  var r = pt(), a = Ge(e), o = a.columns, l = a.columnController, i = N(null), u = N(!1), s = hr(), c = s.classPrefix, d = s.tableDraggableClasses, v = s.tableBaseClass, f = s.tableSelectedClasses, m = s.tableSortClasses, p = _t("table", e.locale), b = p.globalConfig, y = MS(e), g = y.sizeClassNames, w = R(function() {
35171
35171
  var Qe;
35172
35172
  return (Qe = e.size) !== null && Qe !== void 0 ? Qe : b.value.size;
35173
- }), _ = XQ(e, n), C = _.tDisplayColumns, x = _.renderColumnController, O = JQ(e, n), P = O.showExpandedRow, E = O.showExpandIconColumn, M = O.getExpandColumn, T = O.renderExpandedRow, j = O.onInnerExpandRowClick, D = ree(e, n), I = D.renderSortIcon, $ = QQ(e, f), S = $.selectColumn, A = $.showRowSelect, F = $.selectedRowClassNames, z = $.currentPaginateData, L = $.formatToRowSelectColumn, G = $.setTSelectedRowKeys, J = $.onInnerSelectRowClick, ee = $.handleRowSelectWithAreaSelection, W = lee(e, n), V = W.hasEmptyCondition, U = W.isTableOverflowHidden, X = W.renderFilterIcon, Q = W.renderFirstFilterRow, oe = W.setFilterPrimaryTableRef, le = R(function() {
35173
+ }), _ = XQ(e, n), C = _.tDisplayColumns, x = _.renderColumnController, O = JQ(e, n), P = O.showExpandedRow, E = O.showExpandIconColumn, M = O.getExpandColumn, T = O.renderExpandedRow, j = O.onInnerExpandRowClick, D = ree(e, n), I = D.renderSortIcon, $ = QQ(e, f), S = $.selectColumn, A = $.showRowSelect, F = $.selectedRowClassNames, z = $.currentPaginateData, L = $.formatToRowSelectColumn, G = $.setTSelectedRowKeys, Z = $.onInnerSelectRowClick, ee = $.handleRowSelectWithAreaSelection, W = lee(e, n), V = W.hasEmptyCondition, U = W.isTableOverflowHidden, X = W.renderFilterIcon, Q = W.renderFirstFilterRow, oe = W.setFilterPrimaryTableRef, le = R(function() {
35174
35174
  return {
35175
35175
  showElement: u.value
35176
35176
  };
@@ -35295,7 +35295,7 @@ var Nee = ["hideSortTips", "dragSort", "defaultExpandedRowKeys", "defaultSelecte
35295
35295
  var ct;
35296
35296
  (ct = e.onActiveRowAction) === null || ct === void 0 || ct.call(e, Xe), ee(Xe);
35297
35297
  }, Be = function(Xe) {
35298
- e.expandOnRowClick && j(Xe), e.selectOnRowClick && J(Xe);
35298
+ e.expandOnRowClick && j(Xe), e.selectOnRowClick && Z(Xe);
35299
35299
  }, nt, Ct = 250, ut = function(Xe) {
35300
35300
  if (!e.onRowDblclick) {
35301
35301
  Be(Xe);
@@ -36139,7 +36139,7 @@ function Kee(t, e) {
36139
36139
  function G(Q) {
36140
36140
  f.value = Fe(d.value.removeChildren(Q, f.value, y.value));
36141
36141
  }
36142
- function J() {
36142
+ function Z() {
36143
36143
  var Q = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", oe = arguments.length > 1 ? arguments[1] : void 0;
36144
36144
  if (!Q) {
36145
36145
  f.value = d.value.appendToRoot(oe, f.value, y.value);
@@ -36181,7 +36181,7 @@ function Kee(t, e) {
36181
36181
  getData: z,
36182
36182
  remove: L,
36183
36183
  removeChildren: G,
36184
- appendTo: J,
36184
+ appendTo: Z,
36185
36185
  insertAfter: ee,
36186
36186
  insertBefore: W,
36187
36187
  formatTreeColumn: A,
@@ -36576,9 +36576,9 @@ function Qee(t, e) {
36576
36576
  var E = new Image();
36577
36577
  E.crossOrigin = "anonymous", E.referrerPolicy = "no-referrer", E.src = x, E.onload = function() {
36578
36578
  if (f.drawImage(E, 0, C.top * m, n * m, r * m), P) {
36579
- for (var L = f.getImageData(0, 0, f.canvas.width, f.canvas.height), G = L.data, J = 0; J < G.length; J += 4) {
36580
- var ee = (G[J] + G[J + 1] + G[J + 2]) / 3;
36581
- G[J] = ee, G[J + 1] = ee, G[J + 2] = ee;
36579
+ for (var L = f.getImageData(0, 0, f.canvas.width, f.canvas.height), G = L.data, Z = 0; Z < G.length; Z += 4) {
36580
+ var ee = (G[Z] + G[Z + 1] + G[Z + 2]) / 3;
36581
+ G[Z] = ee, G[Z + 1] = ee, G[Z + 2] = ee;
36582
36582
  }
36583
36583
  f.putImageData(L, 0, 0);
36584
36584
  }
@@ -37078,7 +37078,7 @@ var cte = 1, dte = te({
37078
37078
  trigger: "close-btn",
37079
37079
  e: V
37080
37080
  });
37081
- }, J = function(V) {
37081
+ }, Z = function(V) {
37082
37082
  var U, X;
37083
37083
  (U = e.onOverlayClick) === null || U === void 0 || U.call(e, {
37084
37084
  e: V
@@ -37121,7 +37121,7 @@ var cte = 1, dte = te({
37121
37121
  tabindex: 0
37122
37122
  }, n.attrs), [e.showOverlay && h("div", {
37123
37123
  class: "".concat(f.value, "__mask"),
37124
- onClick: J
37124
+ onClick: Z
37125
37125
  }, null), h("div", {
37126
37126
  class: j.value,
37127
37127
  style: T.value
@@ -38818,7 +38818,7 @@ Black`
38818
38818
  }, el = () => hp, jne = { class: "keyboard-shortcuts" }, Ine = { class: "keyboard-shortcuts-title" }, Fne = { class: "keyboard-shortcuts" }, Rne = ["innerHTML"], Bne = { class: "keyboard-shortcut" }, Nne = { key: 0 }, Lne = ["textContent"], zne = /* @__PURE__ */ te({
38819
38819
  __name: "shortcuts",
38820
38820
  setup(t) {
38821
- const e = Z("options"), n = tn("document", e), r = N([
38821
+ const e = J("options"), n = tn("document", e), r = N([
38822
38822
  {
38823
38823
  title: ae("shortcut.commonlyUsed"),
38824
38824
  items: [
@@ -40847,7 +40847,7 @@ function cpe(t) {
40847
40847
  */
40848
40848
  var dpe = N();
40849
40849
  function Ci() {
40850
- var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : void 0, e = arguments.length > 1 ? arguments[1] : void 0, n = dn() ? Z(hse, null) : dpe, r = R(function() {
40850
+ var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : void 0, e = arguments.length > 1 ? arguments[1] : void 0, n = dn() ? J(hse, null) : dpe, r = R(function() {
40851
40851
  return (n == null ? void 0 : n.value) || pse;
40852
40852
  }), a = R(function() {
40853
40853
  return Object.assign({}, r.value[t], e);
@@ -42042,7 +42042,7 @@ var oo = e0e;
42042
42042
  function Fp(t) {
42043
42043
  var e = dn(), n = R(function() {
42044
42044
  return e.props.disabled;
42045
- }), r = Z("formDisabled", /* @__PURE__ */ Object.create(null));
42045
+ }), r = J("formDisabled", /* @__PURE__ */ Object.create(null));
42046
42046
  return R(function() {
42047
42047
  var a;
42048
42048
  return oo(void 0) ? t.beforeDisabled.value : oo(n.value) ? n.value : oo(void 0) ? t.afterDisabled.value : oo((a = r.disabled) === null || a === void 0 ? void 0 : a.value) ? r.disabled.value : !1;
@@ -42907,7 +42907,7 @@ var u1e = {
42907
42907
  function s1e(t) {
42908
42908
  var e = dn(), n = R(function() {
42909
42909
  return e.props.readonly;
42910
- }), r = Z("formReadonly", /* @__PURE__ */ Object.create(null));
42910
+ }), r = J("formReadonly", /* @__PURE__ */ Object.create(null));
42911
42911
  return R(function() {
42912
42912
  var a;
42913
42913
  return oo(void 0) ? t.beforeReadonly.value : oo(n == null ? void 0 : n.value) ? n.value : oo(void 0) ? t.afterReadonly.value : oo((a = r.readonly) === null || a === void 0 ? void 0 : a.value) ? r.readonly.value : !1;
@@ -43043,7 +43043,7 @@ function v1e(t, e) {
43043
43043
  U = U.parentNode;
43044
43044
  }
43045
43045
  return !1;
43046
- }, z = Z(c1e, void 0), L = function(V) {
43046
+ }, z = J(c1e, void 0), L = function(V) {
43047
43047
  if (F())
43048
43048
  E();
43049
43049
  else {
@@ -43057,7 +43057,7 @@ function v1e(t, e) {
43057
43057
  l.value = !1, i.value = "", S(V), (U = t.onCompositionend) === null || U === void 0 || U.call(t, String(f.value), {
43058
43058
  e: V
43059
43059
  });
43060
- }, J = function(V) {
43060
+ }, Z = function(V) {
43061
43061
  var U;
43062
43062
  l.value = !0;
43063
43063
  var X = V.currentTarget.value;
@@ -43113,7 +43113,7 @@ function v1e(t, e) {
43113
43113
  emitFocus: T,
43114
43114
  formatAndEmitBlur: L,
43115
43115
  onHandleCompositionend: G,
43116
- onHandleCompositionstart: J,
43116
+ onHandleCompositionstart: Z,
43117
43117
  onRootClick: ee,
43118
43118
  emitPassword: I,
43119
43119
  handleInput: A,
@@ -43299,7 +43299,7 @@ var g1e = te({
43299
43299
  unselectable: c.value ? "on" : void 0,
43300
43300
  spellcheck: e.spellCheck
43301
43301
  });
43302
- }), J = R(function() {
43302
+ }), Z = R(function() {
43303
43303
  return [f.value, mt({}, "".concat(v.value, "--auto-width"), e.autoWidth && !e.keepWrapperWidth)];
43304
43304
  }), ee = rC({
43305
43305
  onFocus: S.emitFocus,
@@ -43344,7 +43344,7 @@ var g1e = te({
43344
43344
  }, null));
43345
43345
  var ke = [v.value, e.inputClass, mt(mt(mt(mt(mt(mt(mt(mt(mt(mt({}, y.value[e.size], e.size !== "medium"), b.value.disabled, d.value), b.value.focused, d.value ? !1 : M.value), "".concat(g.value, "-is-").concat(x.value), x.value && x.value !== "default"), "".concat(g.value, "-align-").concat(e.align), e.align !== "left"), "".concat(g.value, "-is-readonly"), c.value), "".concat(v.value, "--prefix"), U || be), "".concat(v.value, "--suffix"), X || _e), "".concat(v.value, "--borderless"), e.borderless), "".concat(v.value, "--focused"), M.value)], we = w("tips"), ge = [m.value, "".concat(g.value, "-tips"), "".concat(g.value, "-is-").concat(x.value || "default")];
43346
43346
  return ya(h("div", {
43347
- class: J.value
43347
+ class: Z.value
43348
43348
  }, [h("div", {
43349
43349
  class: ke,
43350
43350
  onClick: S.onRootClick,
@@ -43798,14 +43798,14 @@ var A1e = 1, _4 = te({
43798
43798
  ru && u.value && (u.value.style.transformOrigin = "".concat(ru.x - u.value.offsetLeft, "px ").concat(ru.y - u.value.offsetTop, "px"));
43799
43799
  })), (ve = document.activeElement) === null || ve === void 0 || ve.blur();
43800
43800
  } else
43801
- J();
43801
+ Z();
43802
43802
  ee(ce);
43803
43803
  });
43804
43804
  function G() {
43805
43805
  var ce, ve;
43806
43806
  (ce = O.value.parentNode) === null || ce === void 0 || (ve = ce.removeChild) === null || ve === void 0 || ve.call(ce, O.value);
43807
43807
  }
43808
- function J() {
43808
+ function Z() {
43809
43809
  clearTimeout(x.value), x.value = setTimeout(function() {
43810
43810
  G();
43811
43811
  }, 150);
@@ -44096,10 +44096,10 @@ var I1e = qu(_4);
44096
44096
  const rr = /* @__PURE__ */ te({
44097
44097
  __name: "modal",
44098
44098
  setup(t) {
44099
- const e = Z("container", "body"), n = dn(), r = (a) => n.expose = a;
44099
+ const e = J("container", "body"), n = dn(), r = (a) => n.expose = a;
44100
44100
  return (a, o) => (B(), q(OC(yt(k(I1e), { ...a.$attrs, attach: k(e), ref: r }, a.$slots))));
44101
44101
  }
44102
- }), F1e = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='460.224'%20height='128'%3e%3cg%20fill='none'%3e%3cpath%20d='M450.627%2039.41l9.597%2013.658c-2.724%2015.076-5.577%2030.28-8.3%2045.486-4.886%204.594-9.771%209.19-14.654%2013.787h-65.878c-3.113-4.768-6.355-9.406-9.467-14.174%202.723-15.076%205.576-30.023%208.3-45.099l14.524-13.658h65.878zm-240.182-1.057l-8.99%2049.222h41.483l4.238-22.936%2020.678%2017.653-2.826%2015.205-14.512%2013.787h-65.244l-9.375-13.787%2010.66-59.144h23.888zm57.537%200l32.574%2029.302%2045.733-29.302h15.636l-16.027%2072.931h-27.492l7.297-33.34-31.662%2017.712-45.213-38.55%204.17-18.753h14.984zM430.397%2062.99H396.16l-4.539%203.866c-1.037%205.798-2.205%2011.725-3.242%2017.653l3.112%204.252h35.014c1.297-1.289%202.594-2.577%203.632-3.737.291-1.514.575-3.028.855-4.542l1.661-9.084.855-4.542-3.112-3.866h.001zM78.005%200L65.638%2082.444l-48.62%206.342-.846%205.496%2062.256-1.48%2011.31-68.28%2041.75-10.464-15.855%2091.851-32.026%2021.985H0L18.074%2015.432%2078.005%200zM56.971%2064.581l-37.523%209.302-.422%202.854%2037.522-9.302.423-2.854zm2.431-15.009L21.88%2058.874l-.423%202.853%2037.522-9.301.423-2.854zm2.431-15.009L24.31%2043.865l-.422%202.853%2037.522-9.301.423-2.854zm2.431-15.115L26.742%2028.75l-.423%202.854%2037.522-9.302.423-2.854z'%20fill='%234376F8'/%3e%3cpath%20fill-opacity='.7'%20fill='%23FFF'%20d='M115.633%20106.015l-28.855-.106L83.607%20128z'/%3e%3c/g%3e%3cscript/%3e%3c/svg%3e", R1e = "1.1.0-alpha.6", B1e = "https://www.umodoc.com", am = {
44102
+ }), F1e = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='460.224'%20height='128'%3e%3cg%20fill='none'%3e%3cpath%20d='M450.627%2039.41l9.597%2013.658c-2.724%2015.076-5.577%2030.28-8.3%2045.486-4.886%204.594-9.771%209.19-14.654%2013.787h-65.878c-3.113-4.768-6.355-9.406-9.467-14.174%202.723-15.076%205.576-30.023%208.3-45.099l14.524-13.658h65.878zm-240.182-1.057l-8.99%2049.222h41.483l4.238-22.936%2020.678%2017.653-2.826%2015.205-14.512%2013.787h-65.244l-9.375-13.787%2010.66-59.144h23.888zm57.537%200l32.574%2029.302%2045.733-29.302h15.636l-16.027%2072.931h-27.492l7.297-33.34-31.662%2017.712-45.213-38.55%204.17-18.753h14.984zM430.397%2062.99H396.16l-4.539%203.866c-1.037%205.798-2.205%2011.725-3.242%2017.653l3.112%204.252h35.014c1.297-1.289%202.594-2.577%203.632-3.737.291-1.514.575-3.028.855-4.542l1.661-9.084.855-4.542-3.112-3.866h.001zM78.005%200L65.638%2082.444l-48.62%206.342-.846%205.496%2062.256-1.48%2011.31-68.28%2041.75-10.464-15.855%2091.851-32.026%2021.985H0L18.074%2015.432%2078.005%200zM56.971%2064.581l-37.523%209.302-.422%202.854%2037.522-9.302.423-2.854zm2.431-15.009L21.88%2058.874l-.423%202.853%2037.522-9.301.423-2.854zm2.431-15.009L24.31%2043.865l-.422%202.853%2037.522-9.301.423-2.854zm2.431-15.115L26.742%2028.75l-.423%202.854%2037.522-9.302.423-2.854z'%20fill='%234376F8'/%3e%3cpath%20fill-opacity='.7'%20fill='%23FFF'%20d='M115.633%20106.015l-28.855-.106L83.607%20128z'/%3e%3c/g%3e%3cscript/%3e%3c/svg%3e", R1e = "1.2.0", B1e = "https://www.umodoc.com", am = {
44103
44103
  version: R1e,
44104
44104
  homepage: B1e
44105
44105
  }, N1e = () => {
@@ -44251,7 +44251,7 @@ const rr = /* @__PURE__ */ te({
44251
44251
  },
44252
44252
  emits: ["countdown-change", "exit-preivew", "close"],
44253
44253
  setup(t, { emit: e }) {
44254
- const n = e, r = Z("container"), a = {
44254
+ const n = e, r = J("container"), a = {
44255
44255
  modifiers: [
44256
44256
  {
44257
44257
  name: "offset",
@@ -44476,7 +44476,7 @@ const rr = /* @__PURE__ */ te({
44476
44476
  }
44477
44477
  },
44478
44478
  setup(t) {
44479
- const e = Z("container");
44479
+ const e = J("container");
44480
44480
  return (n, r) => {
44481
44481
  const a = uo;
44482
44482
  return B(), q(a, {
@@ -44522,7 +44522,7 @@ const rr = /* @__PURE__ */ te({
44522
44522
  }, dye = { class: "umo-shortcuts-drawer-header" }, vye = /* @__PURE__ */ te({
44523
44523
  __name: "index",
44524
44524
  setup(t) {
44525
- const { locale: e } = el(), n = Z("container"), r = Z("editor"), a = Z("page"), o = Z("options"), l = tn("document", o), i = N(!1), u = Z("reset"), s = N(!1), c = R(() => {
44525
+ const { locale: e } = el(), n = J("container"), r = J("editor"), a = J("page"), o = J("options"), l = tn("document", o), i = N(!1), u = J("reset"), s = N(!1), c = R(() => {
44526
44526
  if (r.value) {
44527
44527
  const { selection: S } = r.value.state;
44528
44528
  return r.value.state.doc.textBetween(
@@ -44539,7 +44539,7 @@ const rr = /* @__PURE__ */ te({
44539
44539
  E();
44540
44540
  }
44541
44541
  );
44542
- const p = Z("fullscreen"), b = () => {
44542
+ const p = J("fullscreen"), b = () => {
44543
44543
  p.value = !p.value;
44544
44544
  };
44545
44545
  let y = N(null);
@@ -44605,9 +44605,9 @@ const rr = /* @__PURE__ */ te({
44605
44605
  try {
44606
44606
  const L = document.querySelector(
44607
44607
  `${n} .umo-zoomable-container`
44608
- ), G = L == null ? void 0 : L.querySelector(".umo-page-content"), J = (F = L == null ? void 0 : L.clientWidth) != null ? F : 0, ee = (z = G == null ? void 0 : G.clientWidth) != null ? z : 0;
44608
+ ), G = L == null ? void 0 : L.querySelector(".umo-page-content"), Z = (F = L == null ? void 0 : L.clientWidth) != null ? F : 0, ee = (z = G == null ? void 0 : G.clientWidth) != null ? z : 0;
44609
44609
  a.value.zoomLevel = Math.floor(
44610
- Number((J - A * 2) / ee) * 100
44610
+ Number((Z - A * 2) / ee) * 100
44611
44611
  ), a.value.autoWidth = !0;
44612
44612
  } catch (L) {
44613
44613
  a.value.autoWidth = !1, At("error", {
@@ -44625,7 +44625,7 @@ const rr = /* @__PURE__ */ te({
44625
44625
  const T = [
44626
44626
  { content: "🇨🇳 简体中文", value: "zh-CN" },
44627
44627
  { content: "🇱🇷 English", value: "en-US" }
44628
- ], j = Z("setLocale"), D = R(
44628
+ ], j = J("setLocale"), D = R(
44629
44629
  () => {
44630
44630
  var S;
44631
44631
  return (S = T.find((A) => A.value === e.value)) == null ? void 0 : S.content;
@@ -44661,7 +44661,7 @@ const rr = /* @__PURE__ */ te({
44661
44661
  { immediate: !0 }
44662
44662
  ), (S, A) => {
44663
44663
  var le, se, be, _e, Pe, ke, we;
44664
- const F = wt, z = Zt, L = ki, G = Sa, J = aa, ee = fi, W = Un, V = rS, U = X1e, X = W1e, Q = Vne, oe = vte;
44664
+ const F = wt, z = Zt, L = ki, G = Sa, Z = aa, ee = fi, W = Un, V = rS, U = X1e, X = W1e, Q = Vne, oe = vte;
44665
44665
  return B(), ie(Se, null, [
44666
44666
  (le = k(a).preview) != null && le.enabled ? (B(), ie("div", sye, [
44667
44667
  k(C) !== "" ? (B(), ie("div", cye, de(k(C)), 1)) : re("", !0),
@@ -44889,7 +44889,7 @@ const rr = /* @__PURE__ */ te({
44889
44889
  ]),
44890
44890
  _: 1
44891
44891
  }),
44892
- h(J, null, {
44892
+ h(Z, null, {
44893
44893
  default: Y(() => [
44894
44894
  (B(!0), ie(Se, null, ot(k(f), (ge) => (B(), q(G, {
44895
44895
  key: ge.value,
@@ -45162,7 +45162,7 @@ const rr = /* @__PURE__ */ te({
45162
45162
  }), fye = /* @__PURE__ */ vt(vye, [["__scopeId", "data-v-bd4b5717"]]), mye = ["srcdoc"], pye = /* @__PURE__ */ te({
45163
45163
  __name: "print",
45164
45164
  setup(t) {
45165
- const e = Z("container"), n = Z("editor"), r = Z("printing"), a = Z("exportFile"), o = Z("page"), l = Z("options"), i = N(null);
45165
+ const e = J("container"), n = J("editor"), r = J("printing"), a = J("exportFile"), o = J("page"), l = J("options"), i = N(null);
45166
45166
  let u = N("");
45167
45167
  const s = () => Array.from(document.querySelectorAll("link, style")).map((b) => b.outerHTML).join(""), c = () => {
45168
45168
  var b, y;
@@ -45349,7 +45349,7 @@ function Rv(t, e, n, r) {
45349
45349
  const bye = { class: "umo-search-replace-container" }, yye = { class: "umo-search-text" }, _ye = { class: "umo-replace-text" }, wye = { class: "umo-advanced-options" }, Cye = { class: "umo-button-actions" }, kye = /* @__PURE__ */ te({
45350
45350
  __name: "search-replace",
45351
45351
  setup(t) {
45352
- const e = Z("editor"), n = Z("searchReplace");
45352
+ const e = J("editor"), n = J("searchReplace");
45353
45353
  let r = N(""), a = N("");
45354
45354
  const o = N(!1), l = R(
45355
45355
  () => {
@@ -45629,7 +45629,7 @@ const Sye = { class: "umo-button-content" }, Oye = ["innerHTML"], $ye = { class:
45629
45629
  },
45630
45630
  emits: ["toggle-popup"],
45631
45631
  setup(t, { emit: e }) {
45632
- const { selectVisible: n } = w4(), r = t, a = e, o = r3(), l = Z("container"), i = Z("editor"), u = Z("options"), s = tn("toolbar", u), c = (...g) => {
45632
+ const { selectVisible: n } = w4(), r = t, a = e, o = r3(), l = J("container"), i = J("editor"), u = J("options"), s = tn("toolbar", u), c = (...g) => {
45633
45633
  o.onMenuClickThrough ? o.onMenuClickThrough(...g) : o.onMenuClick && o.onMenuClick(...g);
45634
45634
  }, d = N(!1);
45635
45635
  let v = N(!1);
@@ -46010,7 +46010,7 @@ const Sye = { class: "umo-button-content" }, Oye = ["innerHTML"], $ye = { class:
46010
46010
  __name: "unlink",
46011
46011
  emits: ["hide-bubble"],
46012
46012
  setup(t, { emit: e }) {
46013
- const n = e, r = Z("editor"), a = () => {
46013
+ const n = e, r = J("editor"), a = () => {
46014
46014
  r.value.commands.unsetLink(), n("hide-bubble");
46015
46015
  };
46016
46016
  return (o, l) => {
@@ -46034,7 +46034,7 @@ const Gye = /* @__PURE__ */ te({
46034
46034
  __name: "edit",
46035
46035
  emits: ["show-bubble", "hide-bubble"],
46036
46036
  setup(t, { emit: e }) {
46037
- const n = e, { popupVisible: r, togglePopup: a } = vn(), o = Z("editor");
46037
+ const n = e, { popupVisible: r, togglePopup: a } = vn(), o = J("editor");
46038
46038
  let l = N(""), i = N("");
46039
46039
  const u = N({ text: !1, href: !1 }), s = () => {
46040
46040
  if (l.value === "") {
@@ -46148,7 +46148,7 @@ const Gye = /* @__PURE__ */ te({
46148
46148
  __name: "open",
46149
46149
  emits: ["hide-bubble"],
46150
46150
  setup(t, { emit: e }) {
46151
- const n = Z("editor"), r = e, a = () => {
46151
+ const n = J("editor"), r = e, a = () => {
46152
46152
  setTimeout(() => {
46153
46153
  r("hide-bubble");
46154
46154
  }, 100);
@@ -46177,7 +46177,7 @@ const Gye = /* @__PURE__ */ te({
46177
46177
  __name: "copy",
46178
46178
  emits: ["hide-bubble"],
46179
46179
  setup(t, { emit: e }) {
46180
- const n = e, r = Z("container"), a = Z("editor"), o = () => {
46180
+ const n = e, r = J("container"), a = J("editor"), o = () => {
46181
46181
  const { meta: l } = a.value.storage.link, { copy: i } = gu({
46182
46182
  source: N(l.href)
46183
46183
  });
@@ -46199,7 +46199,7 @@ const Gye = /* @__PURE__ */ te({
46199
46199
  }), t_e = /* @__PURE__ */ te({
46200
46200
  __name: "index",
46201
46201
  setup(t) {
46202
- const e = N(null), n = Z("container"), r = Z("editor");
46202
+ const e = N(null), n = J("container"), r = J("editor");
46203
46203
  let a = null;
46204
46204
  Ue(() => {
46205
46205
  const { meta: i } = r.value.storage.link, u = document.querySelector(
@@ -46256,7 +46256,7 @@ const Gye = /* @__PURE__ */ te({
46256
46256
  }, g_e = { class: "secondary" }, b_e = /* @__PURE__ */ te({
46257
46257
  __name: "input",
46258
46258
  setup(t) {
46259
- const e = Z("container"), n = Z("editor"), r = Z("assistant"), a = Z("options"), o = N(null);
46259
+ const e = J("container"), n = J("editor"), r = J("assistant"), a = J("options"), o = N(null);
46260
46260
  let l = N("");
46261
46261
  const i = N({
46262
46262
  prompt: "",
@@ -46548,7 +46548,7 @@ const Gye = /* @__PURE__ */ te({
46548
46548
  },
46549
46549
  emits: ["change"],
46550
46550
  setup(t, { emit: e }) {
46551
- const n = t, r = e, a = Z("container"), o = Z("editor"), l = Z("options"), i = tn("recent", l), u = ["#B12318", "#EB3323", "#F6C143", "#FFFE55", "#A0CD63", "#4FAD5B", "#4CAFEA", "#2D70BA", "#06215C", "#68389B"], s = N(n.defaultColor), c = N(!1), d = (f, m) => {
46551
+ const n = t, r = e, a = J("container"), o = J("editor"), l = J("options"), i = tn("recent", l), u = ["#B12318", "#EB3323", "#F6C143", "#FFFE55", "#A0CD63", "#4FAD5B", "#4CAFEA", "#2D70BA", "#06215C", "#68389B"], s = N(n.defaultColor), c = N(!1), d = (f, m) => {
46552
46552
  m && m.trigger !== "palette-saturation-brightness" || (i.value.colors.forEach((p, b) => {
46553
46553
  p === f && i.value.colors.splice(b, 1);
46554
46554
  }), i.value.colors.unshift(f), i.value.colors.length > 10 && i.value.colors.splice(10, 1), r("change", f));
@@ -46652,7 +46652,7 @@ const Gye = /* @__PURE__ */ te({
46652
46652
  __name: "background",
46653
46653
  emits: ["change"],
46654
46654
  setup(t, { emit: e }) {
46655
- const { popupVisible: n, togglePopup: r } = vn(), a = Z("editor"), o = (l) => {
46655
+ const { popupVisible: n, togglePopup: r } = vn(), a = J("editor"), o = (l) => {
46656
46656
  var s;
46657
46657
  n.value = !1;
46658
46658
  const i = l === "" ? null : l, u = a.value ? Gt(a.value) : null;
@@ -46683,7 +46683,7 @@ const Gye = /* @__PURE__ */ te({
46683
46683
  }), I_e = { class: "umo-textbox-border-dropdown" }, F_e = { class: "arrow" }, R_e = { class: "umo-textbox-border-color-picker" }, B_e = { class: "umo-textbox-border-dropdown-item" }, N_e = { class: "arrow" }, L_e = /* @__PURE__ */ te({
46684
46684
  __name: "border",
46685
46685
  setup(t) {
46686
- const { popupVisible: e, togglePopup: n } = vn(), r = Z("container"), a = Z("editor"), o = [
46686
+ const { popupVisible: e, togglePopup: n } = vn(), r = J("container"), a = J("editor"), o = [
46687
46687
  { style: "solid", width: 1 },
46688
46688
  { style: "dotted", width: 1 },
46689
46689
  { style: "dashed", width: 1 },
@@ -46824,7 +46824,7 @@ const Gye = /* @__PURE__ */ te({
46824
46824
  }), z_e = ["textContent"], V_e = /* @__PURE__ */ te({
46825
46825
  __name: "highlight",
46826
46826
  setup(t) {
46827
- const e = Z("editor"), n = [
46827
+ const e = J("editor"), n = [
46828
46828
  { label: ae("base.highlight.yellowBg"), value: 1, bgcolor: "#ffff8a" },
46829
46829
  { label: ae("base.highlight.greenBg"), value: 2, bgcolor: "#a7ffa7" },
46830
46830
  { label: ae("base.highlight.purpleBg"), value: 3, bgcolor: "#e6afff" },
@@ -46915,7 +46915,7 @@ const Gye = /* @__PURE__ */ te({
46915
46915
  }), Bp = /* @__PURE__ */ vt(V_e, [["__scopeId", "data-v-ee0367c6"]]), H_e = { class: "umo-link-container" }, K_e = /* @__PURE__ */ te({
46916
46916
  __name: "link",
46917
46917
  setup(t) {
46918
- const { popupVisible: e, togglePopup: n } = vn(), r = Z("editor");
46918
+ const { popupVisible: e, togglePopup: n } = vn(), r = J("editor");
46919
46919
  let a = N(""), o = N("");
46920
46920
  const l = N({ text: !1, href: !1 }), i = () => {
46921
46921
  var s, c;
@@ -47020,7 +47020,7 @@ const Gye = /* @__PURE__ */ te({
47020
47020
  }), Np = /* @__PURE__ */ vt(K_e, [["__scopeId", "data-v-f76885f9"]]), C4 = /* @__PURE__ */ te({
47021
47021
  __name: "align-distributed",
47022
47022
  setup(t) {
47023
- const e = Z("editor");
47023
+ const e = J("editor");
47024
47024
  return (n, r) => {
47025
47025
  var o, l;
47026
47026
  const a = Ce;
@@ -47041,7 +47041,7 @@ const Gye = /* @__PURE__ */ te({
47041
47041
  }), k4 = /* @__PURE__ */ te({
47042
47042
  __name: "align-justify",
47043
47043
  setup(t) {
47044
- const e = Z("editor");
47044
+ const e = J("editor");
47045
47045
  return (n, r) => {
47046
47046
  var o, l;
47047
47047
  const a = Ce;
@@ -47062,7 +47062,7 @@ const Gye = /* @__PURE__ */ te({
47062
47062
  }), Ed = /* @__PURE__ */ te({
47063
47063
  __name: "align-right",
47064
47064
  setup(t) {
47065
- const e = Z("editor"), n = () => {
47065
+ const e = J("editor"), n = () => {
47066
47066
  var r, a;
47067
47067
  (r = e.value) != null && r.can().chain().focus().setTextAlign("right").run() && e.value.chain().focus().setTextAlign("right").run(), (a = e.value) != null && a.can().chain().focus().setNodeAlign("flex-end").run() && e.value.chain().focus().setNodeAlign("flex-end").run();
47068
47068
  };
@@ -47083,7 +47083,7 @@ const Gye = /* @__PURE__ */ te({
47083
47083
  }), Md = /* @__PURE__ */ te({
47084
47084
  __name: "align-center",
47085
47085
  setup(t) {
47086
- const e = Z("editor"), n = () => {
47086
+ const e = J("editor"), n = () => {
47087
47087
  var r, a;
47088
47088
  (r = e.value) != null && r.can().chain().focus().setTextAlign("center").run() && e.value.chain().focus().setTextAlign("center").run(), (a = e.value) != null && a.can().chain().focus().setNodeAlign("center").run() && e.value.chain().focus().setNodeAlign("center").run();
47089
47089
  };
@@ -47104,7 +47104,7 @@ const Gye = /* @__PURE__ */ te({
47104
47104
  }), Td = {
47105
47105
  __name: "align-left",
47106
47106
  setup(t) {
47107
- const e = Z("editor"), n = () => {
47107
+ const e = J("editor"), n = () => {
47108
47108
  var r, a;
47109
47109
  (r = e.value) != null && r.can().chain().focus().setTextAlign("left").run() && e.value.chain().focus().setTextAlign("left").run(), (a = e.value) != null && a.can().chain().focus().setNodeAlign("flex-start").run() && e.value.chain().focus().setNodeAlign("flex-start").run();
47110
47110
  };
@@ -47125,7 +47125,7 @@ const Gye = /* @__PURE__ */ te({
47125
47125
  }, W_e = { class: "umo-text-align-group" }, U_e = /* @__PURE__ */ te({
47126
47126
  __name: "align-dropdown",
47127
47127
  setup(t) {
47128
- const { popupVisible: e, togglePopup: n } = vn(), r = Z("editor"), a = R(() => !r.value || r.value.isActive({ textAlign: "justify" }) ? "left" : r.value.isActive({ textAlign: "center" }) ? "center" : r.value.isActive({ textAlign: "right" }) ? "right" : r.value.isActive({ textAlign: "justify" }) ? "justify" : "left");
47128
+ const { popupVisible: e, togglePopup: n } = vn(), r = J("editor"), a = R(() => !r.value || r.value.isActive({ textAlign: "justify" }) ? "left" : r.value.isActive({ textAlign: "center" }) ? "center" : r.value.isActive({ textAlign: "right" }) ? "right" : r.value.isActive({ textAlign: "justify" }) ? "justify" : "left");
47129
47129
  return (o, l) => {
47130
47130
  var f;
47131
47131
  const i = Td, u = Md, s = Ed, c = k4, d = C4, v = Ce;
@@ -47154,7 +47154,7 @@ const Gye = /* @__PURE__ */ te({
47154
47154
  }), x4 = /* @__PURE__ */ vt(U_e, [["__scopeId", "data-v-6f745d9e"]]), Lp = /* @__PURE__ */ te({
47155
47155
  __name: "strike",
47156
47156
  setup(t) {
47157
- const e = Z("editor");
47157
+ const e = J("editor");
47158
47158
  return (n, r) => {
47159
47159
  var o, l;
47160
47160
  const a = Ce;
@@ -47175,7 +47175,7 @@ const Gye = /* @__PURE__ */ te({
47175
47175
  }), zp = /* @__PURE__ */ te({
47176
47176
  __name: "underline",
47177
47177
  setup(t) {
47178
- const e = Z("editor");
47178
+ const e = J("editor");
47179
47179
  return (n, r) => {
47180
47180
  var o, l;
47181
47181
  const a = Ce;
@@ -47196,7 +47196,7 @@ const Gye = /* @__PURE__ */ te({
47196
47196
  }), q_e = /* @__PURE__ */ te({
47197
47197
  __name: "assistant",
47198
47198
  setup(t) {
47199
- const e = Z("editor"), n = Z("assistant"), r = () => {
47199
+ const e = J("editor"), n = J("assistant"), r = () => {
47200
47200
  var a;
47201
47201
  n.value = !0, (a = e.value) == null || a.commands.focus();
47202
47202
  };
@@ -47219,8 +47219,8 @@ const Gye = /* @__PURE__ */ te({
47219
47219
  },
47220
47220
  setup(t) {
47221
47221
  const { popupVisible: e, togglePopup: n } = vn();
47222
- Z("container");
47223
- const r = Z("editor"), a = t;
47222
+ J("container");
47223
+ const r = J("editor"), a = t;
47224
47224
  let o = N([]), l = N("checkbox"), i = N(!1);
47225
47225
  const u = () => {
47226
47226
  o.value = [], l.value = "checkbox", i.value = !1;
@@ -47467,7 +47467,7 @@ const Gye = /* @__PURE__ */ te({
47467
47467
  },
47468
47468
  emits: ["change"],
47469
47469
  setup(t, { emit: e }) {
47470
- const n = t, r = e, { popupVisible: a, togglePopup: o } = vn(), l = Z("editor");
47470
+ const n = t, r = e, { popupVisible: a, togglePopup: o } = vn(), l = J("editor");
47471
47471
  let i = N();
47472
47472
  const u = (s) => {
47473
47473
  var c, d;
@@ -47527,7 +47527,7 @@ const Gye = /* @__PURE__ */ te({
47527
47527
  },
47528
47528
  emits: ["change"],
47529
47529
  setup(t, { emit: e }) {
47530
- const n = t, r = e, { popupVisible: a, togglePopup: o } = vn(), l = Z("editor");
47530
+ const n = t, r = e, { popupVisible: a, togglePopup: o } = vn(), l = J("editor");
47531
47531
  let i = N();
47532
47532
  const u = (s) => {
47533
47533
  var c, d;
@@ -47573,7 +47573,7 @@ const Gye = /* @__PURE__ */ te({
47573
47573
  }), rl = /* @__PURE__ */ vt(awe, [["__scopeId", "data-v-204c01ab"]]), Ad = /* @__PURE__ */ te({
47574
47574
  __name: "italic",
47575
47575
  setup(t) {
47576
- const e = Z("editor");
47576
+ const e = J("editor");
47577
47577
  return (n, r) => {
47578
47578
  var o, l;
47579
47579
  const a = Ce;
@@ -47594,7 +47594,7 @@ const Gye = /* @__PURE__ */ te({
47594
47594
  }), Xu = /* @__PURE__ */ te({
47595
47595
  __name: "bold",
47596
47596
  setup(t) {
47597
- const e = Z("editor");
47597
+ const e = J("editor");
47598
47598
  return (n, r) => {
47599
47599
  var o, l;
47600
47600
  const a = Ce;
@@ -47621,7 +47621,7 @@ const Gye = /* @__PURE__ */ te({
47621
47621
  }
47622
47622
  },
47623
47623
  setup(t) {
47624
- const e = Z("editor"), n = Z("options"), r = Z("typeWriterIsRunning"), a = (s) => n.value.disableExtensions.includes(s), o = [
47624
+ const e = J("editor"), n = J("options"), r = J("typeWriterIsRunning"), a = (s) => n.value.disableExtensions.includes(s), o = [
47625
47625
  { label: ae("base.fontSize.default"), value: "14px", order: 4 },
47626
47626
  { label: ae("base.fontSize.42pt"), value: "42pt", order: 20 },
47627
47627
  // 56
@@ -47833,7 +47833,7 @@ const Kp = (t, e = "script", n = "") => {
47833
47833
  }
47834
47834
  },
47835
47835
  setup(t) {
47836
- const e = Z("container"), n = Z("editor"), r = Z("options");
47836
+ const e = J("container"), n = J("editor"), r = J("options");
47837
47837
  let a = N(!1), o = N(!0), l = N(0), i = N(null), u = N(null), s = null, c = null, d = N(0), v = N({ data: [], config: {} }), f = {};
47838
47838
  const m = () => {
47839
47839
  var O, P, E, M, T, j;
@@ -48155,8 +48155,8 @@ const Kp = (t, e = "script", n = "") => {
48155
48155
  class: "demo-select-base"
48156
48156
  }, {
48157
48157
  default: Y(() => [
48158
- (B(!0), ie(Se, null, ot(k(f).seriesType, (G, J) => (B(), q(j, {
48159
- key: J,
48158
+ (B(!0), ie(Se, null, ot(k(f).seriesType, (G, Z) => (B(), q(j, {
48159
+ key: Z,
48160
48160
  value: G.code,
48161
48161
  label: G.name
48162
48162
  }, {
@@ -48212,8 +48212,8 @@ const Kp = (t, e = "script", n = "") => {
48212
48212
  class: "demo-select-base"
48213
48213
  }, {
48214
48214
  default: Y(() => [
48215
- (B(!0), ie(Se, null, ot(k(f).legendorient, (G, J) => (B(), q(j, {
48216
- key: J,
48215
+ (B(!0), ie(Se, null, ot(k(f).legendorient, (G, Z) => (B(), q(j, {
48216
+ key: Z,
48217
48217
  value: G.code,
48218
48218
  label: G.name
48219
48219
  }, {
@@ -48240,8 +48240,8 @@ const Kp = (t, e = "script", n = "") => {
48240
48240
  class: "demo-select-base"
48241
48241
  }, {
48242
48242
  default: Y(() => [
48243
- (B(!0), ie(Se, null, ot(k(f).legendlocation, (G, J) => (B(), q(j, {
48244
- key: J,
48243
+ (B(!0), ie(Se, null, ot(k(f).legendlocation, (G, Z) => (B(), q(j, {
48244
+ key: Z,
48245
48245
  value: G.code,
48246
48246
  label: G.name
48247
48247
  }, {
@@ -48268,8 +48268,8 @@ const Kp = (t, e = "script", n = "") => {
48268
48268
  class: "demo-select-base"
48269
48269
  }, {
48270
48270
  default: Y(() => [
48271
- (B(!0), ie(Se, null, ot(k(f).titleleft, (G, J) => (B(), q(j, {
48272
- key: J,
48271
+ (B(!0), ie(Se, null, ot(k(f).titleleft, (G, Z) => (B(), q(j, {
48272
+ key: Z,
48273
48273
  value: G.code,
48274
48274
  label: G.name
48275
48275
  }, {
@@ -48309,8 +48309,8 @@ const Kp = (t, e = "script", n = "") => {
48309
48309
  class: "demo-select-base"
48310
48310
  }, {
48311
48311
  default: Y(() => [
48312
- (B(!0), ie(Se, null, ot(k(f).titleleft, (G, J) => (B(), q(j, {
48313
- key: J,
48312
+ (B(!0), ie(Se, null, ot(k(f).titleleft, (G, Z) => (B(), q(j, {
48313
+ key: Z,
48314
48314
  value: G.code,
48315
48315
  label: G.name
48316
48316
  }, {
@@ -48359,7 +48359,7 @@ const Kp = (t, e = "script", n = "") => {
48359
48359
  }), Dd = /* @__PURE__ */ vt(vwe, [["__scopeId", "data-v-94a1ebca"]]), fwe = /* @__PURE__ */ te({
48360
48360
  __name: "delete",
48361
48361
  setup(t) {
48362
- const e = Z("editor");
48362
+ const e = J("editor");
48363
48363
  return (n, r) => {
48364
48364
  const a = Ce;
48365
48365
  return B(), q(a, {
@@ -48376,7 +48376,7 @@ const Kp = (t, e = "script", n = "") => {
48376
48376
  __name: "background",
48377
48377
  emits: ["change"],
48378
48378
  setup(t, { emit: e }) {
48379
- const { popupVisible: n, togglePopup: r } = vn(), a = Z("editor"), o = (l) => {
48379
+ const { popupVisible: n, togglePopup: r } = vn(), a = J("editor"), o = (l) => {
48380
48380
  var s, c, d, v, f;
48381
48381
  n.value = !1;
48382
48382
  const i = l === "" ? null : l;
@@ -48409,7 +48409,7 @@ const Kp = (t, e = "script", n = "") => {
48409
48409
  __name: "color",
48410
48410
  emits: ["change"],
48411
48411
  setup(t, { emit: e }) {
48412
- const { popupVisible: n, togglePopup: r } = vn(), a = Z("editor"), o = (l) => {
48412
+ const { popupVisible: n, togglePopup: r } = vn(), a = J("editor"), o = (l) => {
48413
48413
  var s, c, d, v, f;
48414
48414
  n.value = !1;
48415
48415
  const i = l === "" ? null : l;
@@ -48470,7 +48470,7 @@ const Kp = (t, e = "script", n = "") => {
48470
48470
  backgroundColor: "rgb(205, 245, 235)",
48471
48471
  type: "success"
48472
48472
  }
48473
- ], n = Z("editor"), r = (a) => {
48473
+ ], n = J("editor"), r = (a) => {
48474
48474
  var l, i, u, s, c;
48475
48475
  ((s = (u = (i = (l = n.value) == null ? void 0 : l.state) == null ? void 0 : i.selection) == null ? void 0 : u.$from) == null ? void 0 : s.node()) && ((c = n.value) == null || c.commands.updateAttributes("tag", {
48476
48476
  type: a.type,
@@ -48505,7 +48505,7 @@ const Kp = (t, e = "script", n = "") => {
48505
48505
  }), _we = { class: "umo-bubble-tag-input" }, wwe = /* @__PURE__ */ te({
48506
48506
  __name: "input",
48507
48507
  setup(t) {
48508
- const e = Z("editor");
48508
+ const e = J("editor");
48509
48509
  let n = N("");
48510
48510
  const r = () => {
48511
48511
  var l;
@@ -48553,7 +48553,7 @@ const Kp = (t, e = "script", n = "") => {
48553
48553
  }), Cwe = /* @__PURE__ */ vt(wwe, [["__scopeId", "data-v-c8c55495"]]), Wp = /* @__PURE__ */ te({
48554
48554
  __name: "split-cell",
48555
48555
  setup(t) {
48556
- const e = Z("editor"), n = Z("options"), r = tn("toolbar", n);
48556
+ const e = J("editor"), n = J("options"), r = tn("toolbar", n);
48557
48557
  return (a, o) => {
48558
48558
  var i;
48559
48559
  const l = Ce;
@@ -48572,7 +48572,7 @@ const Kp = (t, e = "script", n = "") => {
48572
48572
  }), Up = /* @__PURE__ */ te({
48573
48573
  __name: "merge-cells",
48574
48574
  setup(t) {
48575
- const e = Z("editor"), n = Z("options"), r = tn("toolbar", n);
48575
+ const e = J("editor"), n = J("options"), r = tn("toolbar", n);
48576
48576
  return (a, o) => {
48577
48577
  var i;
48578
48578
  const l = Ce;
@@ -48591,7 +48591,7 @@ const Kp = (t, e = "script", n = "") => {
48591
48591
  }), qp = /* @__PURE__ */ te({
48592
48592
  __name: "delete-column",
48593
48593
  setup(t) {
48594
- const e = Z("container"), n = Z("editor"), r = Z("options"), a = tn("toolbar", r), o = () => {
48594
+ const e = J("container"), n = J("editor"), r = J("options"), a = tn("toolbar", r), o = () => {
48595
48595
  const l = co({
48596
48596
  attach: e,
48597
48597
  theme: "danger",
@@ -48625,7 +48625,7 @@ const Kp = (t, e = "script", n = "") => {
48625
48625
  }), Yp = /* @__PURE__ */ te({
48626
48626
  __name: "delete-row",
48627
48627
  setup(t) {
48628
- const e = Z("container"), n = Z("editor"), r = Z("options"), a = tn("toolbar", r), o = () => {
48628
+ const e = J("container"), n = J("editor"), r = J("options"), a = tn("toolbar", r), o = () => {
48629
48629
  const l = co({
48630
48630
  attach: e,
48631
48631
  theme: "danger",
@@ -48659,7 +48659,7 @@ const Kp = (t, e = "script", n = "") => {
48659
48659
  }), Gp = /* @__PURE__ */ te({
48660
48660
  __name: "add-column-after",
48661
48661
  setup(t) {
48662
- const e = Z("editor"), n = Z("options"), r = tn("toolbar", n);
48662
+ const e = J("editor"), n = J("options"), r = tn("toolbar", n);
48663
48663
  return (a, o) => {
48664
48664
  var i;
48665
48665
  const l = Ce;
@@ -48678,7 +48678,7 @@ const Kp = (t, e = "script", n = "") => {
48678
48678
  }), Xp = /* @__PURE__ */ te({
48679
48679
  __name: "add-column-before",
48680
48680
  setup(t) {
48681
- const e = Z("editor"), n = Z("options"), r = tn("toolbar", n);
48681
+ const e = J("editor"), n = J("options"), r = tn("toolbar", n);
48682
48682
  return (a, o) => {
48683
48683
  var i;
48684
48684
  const l = Ce;
@@ -48697,7 +48697,7 @@ const Kp = (t, e = "script", n = "") => {
48697
48697
  }), Jp = /* @__PURE__ */ te({
48698
48698
  __name: "add-row-after",
48699
48699
  setup(t) {
48700
- const e = Z("editor"), n = Z("options"), r = tn("toolbar", n);
48700
+ const e = J("editor"), n = J("options"), r = tn("toolbar", n);
48701
48701
  return (a, o) => {
48702
48702
  var i;
48703
48703
  const l = Ce;
@@ -48716,7 +48716,7 @@ const Kp = (t, e = "script", n = "") => {
48716
48716
  }), Zp = /* @__PURE__ */ te({
48717
48717
  __name: "add-row-before",
48718
48718
  setup(t) {
48719
- const e = Z("editor"), n = Z("options"), r = tn("toolbar", n);
48719
+ const e = J("editor"), n = J("options"), r = tn("toolbar", n);
48720
48720
  return (a, o) => {
48721
48721
  var i;
48722
48722
  const l = Ce;
@@ -48736,7 +48736,7 @@ const Kp = (t, e = "script", n = "") => {
48736
48736
  __name: "cells-background",
48737
48737
  emits: ["change"],
48738
48738
  setup(t, { emit: e }) {
48739
- const { popupVisible: n, togglePopup: r } = vn(), a = Z("editor"), o = (l) => {
48739
+ const { popupVisible: n, togglePopup: r } = vn(), a = J("editor"), o = (l) => {
48740
48740
  var u;
48741
48741
  n.value = !1;
48742
48742
  const i = l === "" ? null : l;
@@ -48768,7 +48768,7 @@ const Kp = (t, e = "script", n = "") => {
48768
48768
  }), eh = /* @__PURE__ */ te({
48769
48769
  __name: "cells-align",
48770
48770
  setup(t) {
48771
- const e = Z("editor"), n = [
48771
+ const e = J("editor"), n = [
48772
48772
  { content: ae("table.cellAlign.lt"), value: "left-top" },
48773
48773
  { content: ae("table.cellAlign.ct"), value: "center-top" },
48774
48774
  { content: ae("table.cellAlign.rt"), value: "right-top" },
@@ -48803,7 +48803,7 @@ const Kp = (t, e = "script", n = "") => {
48803
48803
  }), kwe = /* @__PURE__ */ te({
48804
48804
  __name: "download",
48805
48805
  setup(t) {
48806
- const e = Z("editor"), n = () => {
48806
+ const e = J("editor"), n = () => {
48807
48807
  const r = e.value ? Gt(e.value) : null, a = document.createElement("a");
48808
48808
  a.href = r == null ? void 0 : r.attrs.url, a.download = r == null ? void 0 : r.attrs.name, a && (document.body.appendChild(a), a.click(), document.body.removeChild(a));
48809
48809
  };
@@ -48821,7 +48821,7 @@ const Kp = (t, e = "script", n = "") => {
48821
48821
  }), xwe = /* @__PURE__ */ te({
48822
48822
  __name: "open",
48823
48823
  setup(t) {
48824
- const e = Z("editor"), n = () => {
48824
+ const e = J("editor"), n = () => {
48825
48825
  const r = e.value ? Gt(e == null ? void 0 : e.value) : null;
48826
48826
  if (r) {
48827
48827
  const a = document.createElement("a");
@@ -48850,7 +48850,7 @@ const Kp = (t, e = "script", n = "") => {
48850
48850
  }
48851
48851
  },
48852
48852
  setup(t) {
48853
- const e = t, n = Z("editor"), r = Z("options");
48853
+ const e = t, n = J("editor"), r = J("options");
48854
48854
  let a = N(!1);
48855
48855
  const o = N([
48856
48856
  {
@@ -48989,7 +48989,7 @@ const Kp = (t, e = "script", n = "") => {
48989
48989
  }), jd = /* @__PURE__ */ vt(Ewe, [["__scopeId", "data-v-c2156e9f"]]), Mwe = /* @__PURE__ */ te({
48990
48990
  __name: "clickable",
48991
48991
  setup(t) {
48992
- const e = Z("editor"), n = () => {
48992
+ const e = J("editor"), n = () => {
48993
48993
  var a, o;
48994
48994
  const r = e.value ? Gt(e.value) : null;
48995
48995
  r && ((o = e.value) == null || o.commands.setIframe({
@@ -49011,7 +49011,7 @@ const Kp = (t, e = "script", n = "") => {
49011
49011
  }), O4 = /* @__PURE__ */ te({
49012
49012
  __name: "delete",
49013
49013
  setup(t) {
49014
- const e = Z("editor");
49014
+ const e = J("editor");
49015
49015
  return (n, r) => {
49016
49016
  const a = Ce;
49017
49017
  return B(), q(a, {
@@ -49028,7 +49028,7 @@ const Kp = (t, e = "script", n = "") => {
49028
49028
  }), Twe = /* @__PURE__ */ te({
49029
49029
  __name: "convert",
49030
49030
  setup(t) {
49031
- const e = Z("editor"), n = R(() => {
49031
+ const e = J("editor"), n = R(() => {
49032
49032
  var o;
49033
49033
  const a = e.value ? Gt(e.value) : null;
49034
49034
  return ((o = a == null ? void 0 : a.type) == null ? void 0 : o.name) === "inlineImage";
@@ -49057,7 +49057,7 @@ const Kp = (t, e = "script", n = "") => {
49057
49057
  }), Awe = /* @__PURE__ */ te({
49058
49058
  __name: "tofile",
49059
49059
  setup(t) {
49060
- const e = Z("editor"), n = () => {
49060
+ const e = J("editor"), n = () => {
49061
49061
  var a;
49062
49062
  const { attrs: r } = Gt(e.value);
49063
49063
  return r ? (e.value.commands.insertContent({
@@ -49080,7 +49080,7 @@ const Kp = (t, e = "script", n = "") => {
49080
49080
  }), Dwe = /* @__PURE__ */ te({
49081
49081
  __name: "duplicate",
49082
49082
  setup(t) {
49083
- const e = Z("editor"), n = () => {
49083
+ const e = J("editor"), n = () => {
49084
49084
  var l;
49085
49085
  const r = e.value ? Gt(e.value) : null, a = () => {
49086
49086
  var u;
@@ -49110,7 +49110,7 @@ const Kp = (t, e = "script", n = "") => {
49110
49110
  }), jwe = /* @__PURE__ */ te({
49111
49111
  __name: "open",
49112
49112
  setup(t) {
49113
- const e = Z("editor"), n = () => {
49113
+ const e = J("editor"), n = () => {
49114
49114
  const r = e.value ? Gt(e == null ? void 0 : e.value) : null, a = document.createElement("a");
49115
49115
  a.href = r == null ? void 0 : r.attrs.src, a.target = "_blank", document.body.appendChild(a), a.click(), document.body.removeChild(a);
49116
49116
  };
@@ -49135,7 +49135,7 @@ a-->b`, Lwe = /* @__PURE__ */ te({
49135
49135
  setup(t) {
49136
49136
  const e = t;
49137
49137
  let n = N(!1);
49138
- const r = Z("editor"), a = Z("container"), o = Z("uploadFileMap"), l = () => {
49138
+ const r = J("editor"), a = J("container"), o = J("uploadFileMap"), l = () => {
49139
49139
  fh.initialize({
49140
49140
  darkMode: !1,
49141
49141
  startOnLoad: !1,
@@ -49358,7 +49358,7 @@ const Hwe = {
49358
49358
  },
49359
49359
  setup(t) {
49360
49360
  var d, v, f, m;
49361
- const e = t, n = Z("container"), r = Z("editor"), a = Z("options"), o = Z("uploadFileMap");
49361
+ const e = t, n = J("container"), r = J("editor"), a = J("options"), o = J("uploadFileMap");
49362
49362
  let l = N(!1), i = N(!1);
49363
49363
  const u = new Vwe({
49364
49364
  domain: (v = (d = a.value.diagrams) == null ? void 0 : d.domain) != null ? v : "",
@@ -49449,7 +49449,7 @@ const Hwe = {
49449
49449
  var w;
49450
49450
  const { popupVisible: e, togglePopup: n } = vn();
49451
49451
  let r = N(!1);
49452
- const a = Z("container"), o = Z("editor"), l = Z("options"), i = Z("uploadFileMap"), u = [
49452
+ const a = J("container"), o = J("editor"), l = J("options"), i = J("uploadFileMap"), u = [
49453
49453
  { label: "CODE128", value: "CODE128" },
49454
49454
  { label: "CODE128 A", value: "CODE128A" },
49455
49455
  { label: "CODE128 B", value: "CODE128B" },
@@ -49555,7 +49555,7 @@ const Hwe = {
49555
49555
  ).run()), r.value = !1;
49556
49556
  };
49557
49557
  return (_, C) => {
49558
- const x = wt, O = Ce, P = Rl, E = rl, M = Gu, T = Xu, j = Ad, D = Td, I = Md, $ = Ed, S = rS, A = go, F = Nr, z = Qo, L = Lr, G = ho, J = Fn, ee = rr;
49558
+ const x = wt, O = Ce, P = Rl, E = rl, M = Gu, T = Xu, j = Ad, D = Td, I = Md, $ = Ed, S = rS, A = go, F = Nr, z = Qo, L = Lr, G = ho, Z = Fn, ee = rr;
49559
49559
  return B(), q(O, {
49560
49560
  ico: t.content ? "edit" : "barcode",
49561
49561
  text: t.content ? _.t("tools.barcode.edit") : _.t("tools.barcode.text"),
@@ -49797,7 +49797,7 @@ const Hwe = {
49797
49797
  }, 8, ["text", "popup-visible", "onTogglePopup"])
49798
49798
  ]),
49799
49799
  H("div", qwe, [
49800
- h(J, {
49800
+ h(Z, {
49801
49801
  modelValue: k(v).content,
49802
49802
  "onUpdate:modelValue": C[17] || (C[17] = (V) => k(v).content = V),
49803
49803
  maxlength: "44",
@@ -49858,7 +49858,7 @@ const Hwe = {
49858
49858
  },
49859
49859
  setup(t) {
49860
49860
  let e = N(!1);
49861
- const n = Z("editor"), r = Z("container"), a = Z("uploadFileMap"), o = () => {
49861
+ const n = J("editor"), r = J("container"), a = J("uploadFileMap"), o = () => {
49862
49862
  v(), e.value = !0;
49863
49863
  }, l = [
49864
49864
  { label: ae("tools.qrcode.levelL"), value: "L" },
@@ -50073,7 +50073,7 @@ const Hwe = {
50073
50073
  }), Bd = /* @__PURE__ */ vt(dCe, [["__scopeId", "data-v-acfc0ffd"]]), vCe = /* @__PURE__ */ te({
50074
50074
  __name: "edit",
50075
50075
  setup(t) {
50076
- const e = Z("editor"), n = R(() => {
50076
+ const e = J("editor"), n = R(() => {
50077
50077
  var a;
50078
50078
  return (a = e.value) == null ? void 0 : a.getAttributes("image").type;
50079
50079
  }), r = R(() => {
@@ -50105,7 +50105,7 @@ const Hwe = {
50105
50105
  }), fCe = /* @__PURE__ */ te({
50106
50106
  __name: "preview",
50107
50107
  setup(t) {
50108
- const e = Z("editor"), n = Z("imageViewer"), r = () => {
50108
+ const e = J("editor"), n = J("imageViewer"), r = () => {
50109
50109
  const a = Gt(e.value);
50110
50110
  n.value.current = a.attrs.id, n.value.visible = !0;
50111
50111
  };
@@ -50220,7 +50220,7 @@ const Hwe = {
50220
50220
  __name: "node-view",
50221
50221
  props: Hr,
50222
50222
  setup(t) {
50223
- const e = Z("editor"), n = Z("options"), r = Z("container"), a = Z("uploadFileMap"), o = N(null), l = R(() => {
50223
+ const e = J("editor"), n = J("options"), r = J("container"), a = J("uploadFileMap"), o = N(null), l = R(() => {
50224
50224
  const { nodeAlign: f, margin: m } = t.node.attrs, p = m != null && m.top && (m == null ? void 0 : m.top) !== "" ? `${m.top}px` : void 0, b = m != null && m.bottom && (m == null ? void 0 : m.bottom) !== "" ? `${m.bottom}px` : void 0;
50225
50225
  return {
50226
50226
  "justify-content": f,
@@ -50578,8 +50578,8 @@ const Hwe = {
50578
50578
  }, ACe = /* @__PURE__ */ te({
50579
50579
  __name: "remove-background",
50580
50580
  setup(t) {
50581
- const e = Z("editor"), n = Z("options");
50582
- Z("uploadFileMap");
50581
+ const e = J("editor"), n = J("options");
50582
+ J("uploadFileMap");
50583
50583
  let r = N(!1);
50584
50584
  const a = async () => {
50585
50585
  var c, d, v, f, m;
@@ -50628,7 +50628,7 @@ const Hwe = {
50628
50628
  }), DCe = /* @__PURE__ */ vt(ACe, [["__scopeId", "data-v-1b42c548"]]), jCe = /* @__PURE__ */ te({
50629
50629
  __name: "reset",
50630
50630
  setup(t) {
50631
- const e = Z("editor"), n = () => {
50631
+ const e = J("editor"), n = () => {
50632
50632
  var a;
50633
50633
  const r = e.value ? Gt(e.value) : null;
50634
50634
  r && ((a = e.value) == null || a.commands.updateAttributes(r.type, {
@@ -50653,7 +50653,7 @@ const Hwe = {
50653
50653
  }), ICe = /* @__PURE__ */ te({
50654
50654
  __name: "draggable",
50655
50655
  setup(t) {
50656
- const e = Z("editor"), n = () => {
50656
+ const e = J("editor"), n = () => {
50657
50657
  var a;
50658
50658
  const r = e.value ? Gt(e.value) : null;
50659
50659
  r && ((a = e.value) == null || a.commands.updateAttributes(r.type, {
@@ -50674,7 +50674,7 @@ const Hwe = {
50674
50674
  }), FCe = /* @__PURE__ */ te({
50675
50675
  __name: "proportion",
50676
50676
  setup(t) {
50677
- const e = Z("editor"), n = R(() => {
50677
+ const e = J("editor"), n = R(() => {
50678
50678
  var o, l, i, u;
50679
50679
  const a = e.value ? Gt(e.value) : null;
50680
50680
  return (o = a == null ? void 0 : a.type) != null && o.name ? (u = (i = e.value) == null ? void 0 : i.getAttributes((l = a == null ? void 0 : a.type) == null ? void 0 : l.name)) == null ? void 0 : u.equalProportion : !1;
@@ -50698,7 +50698,7 @@ const Hwe = {
50698
50698
  }), RCe = /* @__PURE__ */ te({
50699
50699
  __name: "flip",
50700
50700
  setup(t) {
50701
- const e = Z("editor"), n = R(() => {
50701
+ const e = J("editor"), n = R(() => {
50702
50702
  var l, i, u, s;
50703
50703
  const o = e.value ? Gt(e.value) : null;
50704
50704
  return (l = o == null ? void 0 : o.type) != null && l.name ? (s = (u = e.value) == null ? void 0 : u.getAttributes((i = o == null ? void 0 : o.type) == null ? void 0 : i.name)) == null ? void 0 : s.flipY : !1;
@@ -50746,7 +50746,7 @@ const Hwe = {
50746
50746
  }, NCe = /* @__PURE__ */ te({
50747
50747
  __name: "menus",
50748
50748
  setup(t) {
50749
- const e = Z("editor"), n = Z("options"), r = (o) => n.value.disableExtensions.includes(o), a = (o) => {
50749
+ const e = J("editor"), n = J("options"), r = (o) => n.value.disableExtensions.includes(o), a = (o) => {
50750
50750
  const { state: l } = e.value, { selection: i } = l, { $from: u } = i, s = i.node || u.parent;
50751
50751
  if (o === "name")
50752
50752
  return s.type.name;
@@ -50755,7 +50755,7 @@ const Hwe = {
50755
50755
  };
50756
50756
  return (o, l) => {
50757
50757
  var fe, Ae, je, Ye, Le, Ie, Ee, ye, me, pe, xe, De, Ke, qe, He, Ze, ft, St, Kt, En, ne, he, Be, nt, Ct, ut, Ft, Qe, Xe, ct, it, ht, Jt, Sn, Rt, Wt, on, kn, qn, yn, bt, Dn, Rn, gr, ar, Bn, Nn, ua, sa, Pr, kt, xt;
50758
- const i = Td, u = Md, s = Ed, c = RCe, d = FCe, v = ICe, f = jCe, m = DCe, p = fCe, b = vCe, y = jwe, g = Dwe, w = Awe, _ = Twe, C = O4, x = Mwe, O = jd, P = xwe, E = kwe, M = eh, T = Qp, j = Zp, D = Jp, I = Xp, $ = Gp, S = Yp, A = qp, F = Up, z = Wp, L = Cwe, G = ywe, J = pwe, ee = mwe, W = fwe, V = Dd, U = Hp, X = Xu, Q = Ad, oe = rl, le = Gu, se = Vp, be = q_e, _e = zp, Pe = Lp, ke = x4, we = Np, ge = Bp, ce = L_e, ve = j_e;
50758
+ const i = Td, u = Md, s = Ed, c = RCe, d = FCe, v = ICe, f = jCe, m = DCe, p = fCe, b = vCe, y = jwe, g = Dwe, w = Awe, _ = Twe, C = O4, x = Mwe, O = jd, P = xwe, E = kwe, M = eh, T = Qp, j = Zp, D = Jp, I = Xp, $ = Gp, S = Yp, A = qp, F = Up, z = Wp, L = Cwe, G = ywe, Z = pwe, ee = mwe, W = fwe, V = Dd, U = Hp, X = Xu, Q = Ad, oe = rl, le = Gu, se = Vp, be = q_e, _e = zp, Pe = Lp, ke = x4, we = Np, ge = Bp, ce = L_e, ve = j_e;
50759
50759
  return (fe = k(e)) != null && fe.isActive("toc") || (Ae = k(e)) != null && Ae.isActive("pageBreak") || (je = k(e)) != null && je.isActive("horizontalRule") || (Ye = k(e)) != null && Ye.isActive("codeBlock") || (Le = k(e)) != null && Le.getAttributes("image").error ? (B(), ie(Se, { key: 0 }, [], 64)) : (B(), ie(Se, { key: 1 }, [
50760
50760
  (Ie = k(e)) != null && Ie.isActive("image") && !((Ee = k(e)) != null && Ee.getAttributes("image").error) ? (B(), ie(Se, { key: 0 }, [
50761
50761
  h(i),
@@ -50835,7 +50835,7 @@ const Hwe = {
50835
50835
  h(L),
50836
50836
  h(G),
50837
50837
  l[11] || (l[11] = H("div", { class: "umo-bubble-menu-divider" }, null, -1)),
50838
- h(J),
50838
+ h(Z),
50839
50839
  h(ee),
50840
50840
  l[12] || (l[12] = H("div", { class: "umo-bubble-menu-divider" }, null, -1)),
50841
50841
  h(W)
@@ -50896,7 +50896,7 @@ const Hwe = {
50896
50896
  }), LCe = /* @__PURE__ */ te({
50897
50897
  __name: "index",
50898
50898
  setup(t) {
50899
- const e = Z("container"), n = Z("editor"), r = Z("assistant"), a = Z("options");
50899
+ const e = J("container"), n = J("editor"), r = J("assistant"), a = J("options");
50900
50900
  let o = N(null);
50901
50901
  const l = N({
50902
50902
  appendTo: () => document.querySelector(`${e} .umo-zoomable-container`),
@@ -50953,7 +50953,7 @@ const Hwe = {
50953
50953
  },
50954
50954
  emits: ["dropdownVisible"],
50955
50955
  setup(t, { emit: e }) {
50956
- const n = t, r = e, a = Z("container"), o = Z("editor"), l = Z("blockMenu");
50956
+ const n = t, r = e, a = J("container"), o = J("editor"), l = J("blockMenu");
50957
50957
  let i = N(!1);
50958
50958
  const u = {
50959
50959
  attach: `${a} .umo-main-container`,
@@ -51233,7 +51233,7 @@ const Hwe = {
51233
51233
  setup(t) {
51234
51234
  const e = typeof Yv == "function";
51235
51235
  let n = N(!1);
51236
- const r = Z("editor"), a = Z("options"), o = Z("container"), l = Z("uploadFileMap");
51236
+ const r = J("editor"), a = J("options"), o = J("container"), l = J("uploadFileMap");
51237
51237
  let i = N(null), u = N(null), s = N(null);
51238
51238
  const c = () => {
51239
51239
  const { open: v, onChange: f } = cm({
@@ -51334,7 +51334,7 @@ const Hwe = {
51334
51334
  }), th = /* @__PURE__ */ vt(YCe, [["__scopeId", "data-v-12fb28c3"]]), GCe = { class: "umo-signature-toolbar" }, XCe = ["data-tip"], JCe = /* @__PURE__ */ te({
51335
51335
  __name: "signature",
51336
51336
  setup(t) {
51337
- const e = Z("editor"), n = Z("container"), r = Z("uploadFileMap");
51337
+ const e = J("editor"), n = J("container"), r = J("uploadFileMap");
51338
51338
  let a = N(!1), o = N(!1);
51339
51339
  const l = N([
51340
51340
  { content: "2", value: 2 },
@@ -51489,7 +51489,7 @@ const Hwe = {
51489
51489
  }), nh = /* @__PURE__ */ vt(JCe, [["__scopeId", "data-v-49cdadbf"]]), rh = /* @__PURE__ */ te({
51490
51490
  __name: "text-box",
51491
51491
  setup(t) {
51492
- const e = Z("editor");
51492
+ const e = J("editor");
51493
51493
  return (n, r) => {
51494
51494
  const a = Ce;
51495
51495
  return B(), q(a, {
@@ -51506,7 +51506,7 @@ const Hwe = {
51506
51506
  }), ah = /* @__PURE__ */ te({
51507
51507
  __name: "toc",
51508
51508
  setup(t) {
51509
- const e = Z("editor");
51509
+ const e = J("editor");
51510
51510
  return (n, r) => {
51511
51511
  const a = Ce;
51512
51512
  return B(), q(a, {
@@ -51523,7 +51523,7 @@ const Hwe = {
51523
51523
  }), oh = /* @__PURE__ */ te({
51524
51524
  __name: "callout",
51525
51525
  setup(t) {
51526
- const e = Z("editor");
51526
+ const e = J("editor");
51527
51527
  return (n, r) => {
51528
51528
  const a = Ce;
51529
51529
  return B(), q(a, {
@@ -51540,7 +51540,7 @@ const Hwe = {
51540
51540
  }), lh = /* @__PURE__ */ te({
51541
51541
  __name: "code-block",
51542
51542
  setup(t) {
51543
- const e = Z("editor");
51543
+ const e = J("editor");
51544
51544
  return (n, r) => {
51545
51545
  const a = Ce;
51546
51546
  return B(), q(a, {
@@ -51558,7 +51558,7 @@ const Hwe = {
51558
51558
  }), ih = /* @__PURE__ */ te({
51559
51559
  __name: "file",
51560
51560
  setup(t) {
51561
- const e = Z("container"), n = Z("editor"), r = Z("uploadFileMap");
51561
+ const e = J("container"), n = J("editor"), r = J("uploadFileMap");
51562
51562
  return (a, o) => {
51563
51563
  const l = Ce;
51564
51564
  return B(), q(l, {
@@ -51575,35 +51575,37 @@ const Hwe = {
51575
51575
  }), uh = /* @__PURE__ */ te({
51576
51576
  __name: "audio",
51577
51577
  setup(t) {
51578
- const e = Z("container"), n = Z("editor"), r = Z("uploadFileMap");
51579
- return (a, o) => {
51580
- const l = Ce;
51581
- return B(), q(l, {
51578
+ const e = J("container"), n = J("editor"), r = J("uploadFileMap"), o = J("options").value.toolbar;
51579
+ return (l, i) => {
51580
+ const u = Ce;
51581
+ return k(o).showAudio ? (B(), q(u, {
51582
+ key: 0,
51582
51583
  ico: "audio",
51583
- text: a.t("insert.audio"),
51584
+ text: l.t("insert.audio"),
51584
51585
  huge: "",
51585
- onMenuClick: o[0] || (o[0] = (i) => {
51586
- var u;
51587
- return (u = k(n)) == null ? void 0 : u.chain().focus().selectFiles("audio", k(e), k(r)).run();
51586
+ onMenuClick: i[0] || (i[0] = (s) => {
51587
+ var c;
51588
+ return (c = k(n)) == null ? void 0 : c.chain().focus().selectFiles("audio", k(e), k(r)).run();
51588
51589
  })
51589
- }, null, 8, ["text"]);
51590
+ }, null, 8, ["text"])) : re("", !0);
51590
51591
  };
51591
51592
  }
51592
51593
  }), sh = /* @__PURE__ */ te({
51593
51594
  __name: "video",
51594
51595
  setup(t) {
51595
- const e = Z("container"), n = Z("editor"), r = Z("uploadFileMap");
51596
- return (a, o) => {
51597
- const l = Ce;
51598
- return B(), q(l, {
51596
+ const e = J("container"), n = J("editor"), r = J("uploadFileMap"), o = J("options").value.toolbar;
51597
+ return (l, i) => {
51598
+ const u = Ce;
51599
+ return k(o).showVideo ? (B(), q(u, {
51600
+ key: 0,
51599
51601
  ico: "video",
51600
- text: a.t("insert.video"),
51602
+ text: l.t("insert.video"),
51601
51603
  huge: "",
51602
- onMenuClick: o[0] || (o[0] = (i) => {
51603
- var u;
51604
- return (u = k(n)) == null ? void 0 : u.chain().focus().selectFiles("video", k(e), k(r)).run();
51604
+ onMenuClick: i[0] || (i[0] = (s) => {
51605
+ var c;
51606
+ return (c = k(n)) == null ? void 0 : c.chain().focus().selectFiles("video", k(e), k(r)).run();
51605
51607
  })
51606
- }, null, 8, ["text"]);
51608
+ }, null, 8, ["text"])) : re("", !0);
51607
51609
  };
51608
51610
  }
51609
51611
  }), ZCe = { class: "umo-image-dropdown" }, QCe = ["title", "onClick"], e2e = { class: "umo-image-item-title" }, t2e = {
@@ -51612,7 +51614,7 @@ const Hwe = {
51612
51614
  }, n2e = /* @__PURE__ */ te({
51613
51615
  __name: "image",
51614
51616
  setup(t) {
51615
- const { popupVisible: e, togglePopup: n } = vn(), r = Z("container"), a = Z("editor"), o = Z("uploadFileMap"), l = [
51617
+ const { popupVisible: e, togglePopup: n } = vn(), r = J("container"), a = J("editor"), o = J("uploadFileMap"), l = [
51616
51618
  {
51617
51619
  title: ae("insert.image.block"),
51618
51620
  value: "image",
@@ -51658,7 +51660,7 @@ const Hwe = {
51658
51660
  __name: "node",
51659
51661
  emits: ["dropdownVisible"],
51660
51662
  setup(t, { emit: e }) {
51661
- const n = e, r = Z("container"), a = Z("editor"), o = Z("blockMenu"), l = Z("assistant"), i = Z("options");
51663
+ const n = e, r = J("container"), a = J("editor"), o = J("blockMenu"), l = J("assistant"), i = J("options");
51662
51664
  let u = N(!1);
51663
51665
  const s = {
51664
51666
  attach: `${r} .umo-main-container`,
@@ -51692,9 +51694,9 @@ const Hwe = {
51692
51694
  }, null, 8, ["menu-active"]),
51693
51695
  h(A, null, {
51694
51696
  default: Y(() => {
51695
- var z, L, G, J, ee, W, V, U;
51697
+ var z, L, G, Z, ee, W, V, U;
51696
51698
  return [
51697
- (L = (z = k(i).ai) == null ? void 0 : z.assistant) != null && L.enabled && ((G = k(a)) != null && G.isActive("paragraph") || (J = k(a)) != null && J.isActive("heading")) && ((U = (V = (W = (ee = k(a)) == null ? void 0 : ee.state) == null ? void 0 : W.selection) == null ? void 0 : V.$from) != null && U.nodeAfter) ? (B(), q(b, {
51699
+ (L = (z = k(i).ai) == null ? void 0 : z.assistant) != null && L.enabled && ((G = k(a)) != null && G.isActive("paragraph") || (Z = k(a)) != null && Z.isActive("heading")) && ((U = (V = (W = (ee = k(a)) == null ? void 0 : ee.state) == null ? void 0 : W.selection) == null ? void 0 : V.$from) != null && U.nodeAfter) ? (B(), q(b, {
51698
51700
  key: 0,
51699
51701
  divider: ""
51700
51702
  }, {
@@ -52212,7 +52214,7 @@ const c2e = te({ name: "DragHandleVue", props: { pluginKey: { type: [String, Obj
52212
52214
  } }), d2e = /* @__PURE__ */ te({
52213
52215
  __name: "index",
52214
52216
  setup(t) {
52215
- const e = Z("editor");
52217
+ const e = J("editor");
52216
52218
  let n = N(null), r = N(null), a = N(null);
52217
52219
  const o = N({
52218
52220
  zIndex: 20,
@@ -52664,7 +52666,7 @@ const S2e = ({ getId: t, anchorTypes: e = ["heading"] }) => new ta({ key: new Vr
52664
52666
  __name: "node-view",
52665
52667
  props: Hr,
52666
52668
  setup(t) {
52667
- const e = Z("options"), n = Z("editor"), r = Z("uploadFileMap"), a = N(null), o = N(null);
52669
+ const e = J("options"), n = J("editor"), r = J("uploadFileMap"), a = N(null), o = N(null);
52668
52670
  let l = N(null), i = N(!1);
52669
52671
  const u = R(() => {
52670
52672
  const { nodeAlign: s, margin: c } = t.node.attrs, d = c != null && c.top && (c == null ? void 0 : c.top) !== "" ? `${c.top}px` : void 0, v = c != null && c.bottom && (c == null ? void 0 : c.bottom) !== "" ? `${c.bottom}px` : void 0;
@@ -53011,7 +53013,7 @@ const V2e = L2e.configure({
53011
53013
  __name: "background",
53012
53014
  emits: ["change"],
53013
53015
  setup(t, { emit: e }) {
53014
- const { popupVisible: n, togglePopup: r } = vn(), a = Z("editor"), o = (l) => {
53016
+ const { popupVisible: n, togglePopup: r } = vn(), a = J("editor"), o = (l) => {
53015
53017
  var s;
53016
53018
  n.value = !1;
53017
53019
  const i = l === "" ? null : l;
@@ -53044,7 +53046,7 @@ const V2e = L2e.configure({
53044
53046
  __name: "emoji-remove",
53045
53047
  emits: ["change"],
53046
53048
  setup(t, { emit: e }) {
53047
- const n = Z("editor"), r = () => {
53049
+ const n = J("editor"), r = () => {
53048
53050
  var o;
53049
53051
  (n.value ? Gt(n.value) : null) && ((o = n.value) == null || o.commands.updateAttributes("callout", {
53050
53052
  icon: null
@@ -53065,7 +53067,7 @@ const V2e = L2e.configure({
53065
53067
  onSelectEmoji: void 0
53066
53068
  },
53067
53069
  setup(t) {
53068
- const e = t, { popupVisible: n, togglePopup: r } = vn(), a = Z("editor"), o = Z("options"), l = (i) => {
53070
+ const e = t, { popupVisible: n, togglePopup: r } = vn(), a = J("editor"), o = J("options"), l = (i) => {
53069
53071
  var u;
53070
53072
  e.onSelectEmoji ? e.onSelectEmoji(i) : (u = a.value) == null || u.chain().focus().insertContent(i).run(), n.value = !1;
53071
53073
  };
@@ -53135,7 +53137,7 @@ const V2e = L2e.configure({
53135
53137
  icon: "✅",
53136
53138
  backgroundColor: "rgb(205, 245, 235)"
53137
53139
  }
53138
- ], n = Z("editor"), r = (a) => {
53140
+ ], n = J("editor"), r = (a) => {
53139
53141
  var l;
53140
53142
  (n.value ? Gt(n.value) : null) && ((l = n.value) == null || l.commands.updateAttributes("callout", {
53141
53143
  type: a.type,
@@ -53175,7 +53177,7 @@ const V2e = L2e.configure({
53175
53177
  __name: "node-view",
53176
53178
  props: Hr,
53177
53179
  setup(t) {
53178
- const e = Z("container"), n = N(!1), r = (a) => {
53180
+ const e = J("container"), n = N(!1), r = (a) => {
53179
53181
  t.updateAttributes({
53180
53182
  icon: a
53181
53183
  });
@@ -53307,7 +53309,7 @@ const V2e = L2e.configure({
53307
53309
  __name: "node-view",
53308
53310
  props: Hr,
53309
53311
  setup(t) {
53310
- const e = TC(AC), n = Z("container"), r = Z("options"), a = Z("editor"), o = N(null), l = e.listLanguages().map((c) => ({ label: c, value: c })), i = [
53312
+ const e = TC(AC), n = J("container"), r = J("options"), a = J("editor"), o = N(null), l = e.listLanguages().map((c) => ({ label: c, value: c })), i = [
53311
53313
  { label: ae("bubbleMenu.code.themes.dark"), value: "dark" },
53312
53314
  { label: ae("bubbleMenu.code.themes.light"), value: "light" }
53313
53315
  ], u = (c, d) => {
@@ -53435,7 +53437,7 @@ const V2e = L2e.configure({
53435
53437
  __name: "node-view",
53436
53438
  props: Hr,
53437
53439
  setup(t) {
53438
- const e = Z("container"), n = Z("options"), r = Z("page");
53440
+ const e = J("container"), n = J("options"), r = J("page");
53439
53441
  let a = N(!1);
53440
53442
  const o = (i) => {
53441
53443
  const u = (s) => {
@@ -53540,7 +53542,7 @@ const V2e = L2e.configure({
53540
53542
  __name: "node-view",
53541
53543
  props: Hr,
53542
53544
  setup(t) {
53543
- const e = Z("options"), n = N(null);
53545
+ const e = J("options"), n = N(null);
53544
53546
  let r = N(0), a = N(!1), o = null, l = N(null);
53545
53547
  Ue(async () => {
53546
53548
  var c;
@@ -53939,7 +53941,7 @@ const V2e = L2e.configure({
53939
53941
  __name: "node-view",
53940
53942
  props: Hr,
53941
53943
  setup(t) {
53942
- const e = Z("options"), n = N(null);
53944
+ const e = J("options"), n = N(null);
53943
53945
  let r = N(!1), a = N(0);
53944
53946
  const o = R(() => {
53945
53947
  const { nodeAlign: i, margin: u } = t.node.attrs, s = u != null && u.top && (u == null ? void 0 : u.top) !== "" ? `${u.top}px` : void 0, c = u != null && u.bottom && (u == null ? void 0 : u.bottom) !== "" ? `${u.bottom}px` : void 0;
@@ -54052,12 +54054,10 @@ const V2e = L2e.configure({
54052
54054
  __name: "node-view",
54053
54055
  props: Hr,
54054
54056
  setup(t) {
54055
- const e = Z("container"), n = Z("editor"), r = Z("uploadFileMap"), a = Z("imageViewer"), o = Z("options"), { isLoading: l, error: i } = l3({ src: t.node.attrs.src }), u = N(null), s = N(null);
54057
+ const e = J("container"), n = J("editor"), r = J("uploadFileMap"), a = J("imageViewer"), o = J("options"), { isLoading: l, error: i } = l3({ src: t.node.attrs.src }), u = N(null), s = N(null);
54056
54058
  let c = N(!1), d = N(0), v = N(0);
54057
54059
  const f = R(() => {
54058
- const { nodeAlign: x, margin: O } = t.node.attrs;
54059
- console.log("nodeStyle", t.node);
54060
- const P = O != null && O.top && (O == null ? void 0 : O.top) !== "" ? `${O.top}px` : void 0, E = O != null && O.bottom && (O == null ? void 0 : O.bottom) !== "" ? `${O.bottom}px` : void 0;
54060
+ const { nodeAlign: x, margin: O } = t.node.attrs, P = O != null && O.top && (O == null ? void 0 : O.top) !== "" ? `${O.top}px` : void 0, E = O != null && O.bottom && (O == null ? void 0 : O.bottom) !== "" ? `${O.bottom}px` : void 0;
54061
54061
  return {
54062
54062
  justifyContent: x,
54063
54063
  marginTop: P,
@@ -54801,7 +54801,7 @@ const Ake = tr.create({
54801
54801
  __name: "node-view",
54802
54802
  props: Hr,
54803
54803
  setup(t) {
54804
- const e = Z("options"), n = Z("page"), r = Z("editor"), a = t, { updateAttributes: o } = a, l = R(() => {
54804
+ const e = J("options"), n = J("page"), r = J("editor"), a = t, { updateAttributes: o } = a, l = R(() => {
54805
54805
  var p, b;
54806
54806
  return (b = (p = a.node.attrs) == null ? void 0 : p.boxType) != null ? b : "checkbox";
54807
54807
  }), i = R(() => {
@@ -55098,7 +55098,7 @@ const Ake = tr.create({
55098
55098
  __name: "node-view",
55099
55099
  props: Hr,
55100
55100
  setup(t) {
55101
- const e = Z("options"), n = Z("editor");
55101
+ const e = J("options"), n = J("editor");
55102
55102
  return (r, a) => (B(), q(k(Sr), {
55103
55103
  as: "span",
55104
55104
  class: "umo-node-tag"
@@ -55188,7 +55188,7 @@ const Ake = tr.create({
55188
55188
  __name: "node-view",
55189
55189
  props: Hr,
55190
55190
  setup(t) {
55191
- const e = Z("options"), n = N(null), r = N(null);
55191
+ const e = J("options"), n = N(null), r = N(null);
55192
55192
  let a = N(!1), o = N(!1);
55193
55193
  const l = ({ angle: c }) => {
55194
55194
  t.updateAttributes({ angle: c });
@@ -55329,7 +55329,7 @@ const Ake = tr.create({
55329
55329
  __name: "node-view",
55330
55330
  emits: ["close"],
55331
55331
  setup(t) {
55332
- const e = Z("container"), n = Z("editor");
55332
+ const e = J("container"), n = J("editor");
55333
55333
  let r = N([]), a = [];
55334
55334
  const o = (i) => {
55335
55335
  const u = [], s = [];
@@ -55572,7 +55572,7 @@ const mxe = tr.create({
55572
55572
  __name: "node-view",
55573
55573
  props: Hr,
55574
55574
  setup(t) {
55575
- const e = Z("options"), n = Z("editor"), r = Z("container"), a = Z("uploadFileMap"), o = N(null);
55575
+ const e = J("options"), n = J("editor"), r = J("container"), a = J("uploadFileMap"), o = N(null);
55576
55576
  let l = N(!1);
55577
55577
  const i = N(null);
55578
55578
  let u = N(null), s = N(0), c = N(0);
@@ -55961,12 +55961,12 @@ const mxe = tr.create({
55961
55961
  __name: "index",
55962
55962
  setup(t) {
55963
55963
  var f, m, p, b, y;
55964
- const e = Z("destroyed"), n = Z("page"), r = Z("options"), a = Z("uploadFileMap"), o = Z("historyRecords"), l = Z("assistant"), i = tn("document", r), u = R(
55964
+ const e = J("destroyed"), n = J("page"), r = J("options"), a = J("uploadFileMap"), o = J("historyRecords"), l = J("assistant"), i = tn("document", r), u = R(
55965
55965
  () => {
55966
55966
  var g, w, _;
55967
55967
  return (_ = (w = (g = r.value.dicts) == null ? void 0 : g.lineHeights) == null ? void 0 : w.find((C) => C.default)) == null ? void 0 : _.value;
55968
55968
  }
55969
- ), s = Z("container"), c = _xe({
55969
+ ), s = J("container"), c = _xe({
55970
55970
  container: s,
55971
55971
  options: r,
55972
55972
  uploadFileMap: a
@@ -55990,7 +55990,7 @@ const mxe = tr.create({
55990
55990
  i.value.content = g.getHTML(), Za(o, "editor", (_ = g == null ? void 0 : g.state) == null ? void 0 : _.history$);
55991
55991
  }, 1e3)();
55992
55992
  }
55993
- }), v = Z("editor");
55993
+ }), v = J("editor");
55994
55994
  return v.value = d, v.value.storage.container = s, ue(
55995
55995
  () => r.value,
55996
55996
  () => {
@@ -56006,7 +56006,7 @@ const mxe = tr.create({
56006
56006
  }), Xt(() => {
56007
56007
  d.destroy();
56008
56008
  }), (g, w) => {
56009
- var O, P, E, M, T, j, D, I, $, S, A, F, z, L, G, J, ee;
56009
+ var O, P, E, M, T, j, D, I, $, S, A, F, z, L, G, Z, ee;
56010
56010
  const _ = d2e, C = LCe, x = t_e;
56011
56011
  return B(), ie(Se, null, [
56012
56012
  h(k($3), {
@@ -56034,7 +56034,7 @@ const mxe = tr.create({
56034
56034
  }, 512)), [
56035
56035
  [vo, !((z = (F = (A = k(v)) == null ? void 0 : A.view) == null ? void 0 : F.painter) != null && z.enabled) && !((L = k(v)) != null && L.isEmpty)]
56036
56036
  ]) : re("", !0),
56037
- (ee = (J = (G = k(v)) == null ? void 0 : G.storage) == null ? void 0 : J.link) != null && ee.edit ? (B(), q(x, { key: 2 })) : re("", !0)
56037
+ (ee = (Z = (G = k(v)) == null ? void 0 : G.storage) == null ? void 0 : Z.link) != null && ee.edit ? (B(), q(x, { key: 2 })) : re("", !0)
56038
56038
  ], 64)) : re("", !0)
56039
56039
  ], 64);
56040
56040
  };
@@ -56043,7 +56043,7 @@ const mxe = tr.create({
56043
56043
  __name: "toc",
56044
56044
  emits: ["close"],
56045
56045
  setup(t) {
56046
- const e = Z("container"), n = Z("editor"), r = Z("page");
56046
+ const e = J("container"), n = J("editor"), r = J("page");
56047
56047
  let a = N([]), o = [];
56048
56048
  const l = (b) => {
56049
56049
  const y = [], g = [];
@@ -56165,7 +56165,7 @@ const mxe = tr.create({
56165
56165
  __name: "page",
56166
56166
  setup(t) {
56167
56167
  var g, w, _, C, x, O, P, E, M, T;
56168
- const e = Z("container"), n = Z("imageViewer"), r = Z("page"), a = R(() => {
56168
+ const e = J("container"), n = J("imageViewer"), r = J("page"), a = R(() => {
56169
56169
  var I;
56170
56170
  const { width: j, height: D } = (I = r.value.size) != null ? I : { width: 0, height: 0 };
56171
56171
  return {
@@ -56201,7 +56201,7 @@ const mxe = tr.create({
56201
56201
  },
56202
56202
  { deep: !0 }
56203
56203
  );
56204
- const u = Z("editor");
56204
+ const u = J("editor");
56205
56205
  ue(
56206
56206
  () => {
56207
56207
  var j;
@@ -56240,9 +56240,9 @@ const mxe = tr.create({
56240
56240
  });
56241
56241
  }
56242
56242
  );
56243
- const v = Z("options"), f = Z("viewer");
56243
+ const v = J("options"), f = J("viewer");
56244
56244
  let m = N(!1);
56245
- const { locale: p } = el(), b = Z("getVanillaHTML"), y = N({
56245
+ const { locale: p } = el(), b = J("getVanillaHTML"), y = N({
56246
56246
  lang: p.value,
56247
56247
  theme: v.value.theme,
56248
56248
  mode: ["html"],
@@ -56256,7 +56256,7 @@ const mxe = tr.create({
56256
56256
  return ue(f, async (j) => {
56257
56257
  y.value.html = j ? await b() : "", m.value = j;
56258
56258
  }), (j, D) => {
56259
- var G, J, ee, W, V, U, X, Q;
56259
+ var G, Z, ee, W, V, U, X, Q;
56260
56260
  const I = Mxe, $ = Sxe, S = ote, A = JZ, F = HU, z = xye, L = hye;
56261
56261
  return B(), ie(Se, null, [
56262
56262
  H("div", Txe, [
@@ -56279,7 +56279,7 @@ const mxe = tr.create({
56279
56279
  style: {
56280
56280
  "--umo-page-orientation": k(r).orientation,
56281
56281
  "--umo-page-background": k(r).background,
56282
- "--umo-page-margin-top": ((J = (G = k(r).margin) == null ? void 0 : G.top) != null ? J : "0") + "cm",
56282
+ "--umo-page-margin-top": ((Z = (G = k(r).margin) == null ? void 0 : G.top) != null ? Z : "0") + "cm",
56283
56283
  "--umo-page-margin-bottom": ((W = (ee = k(r).margin) == null ? void 0 : ee.bottom) != null ? W : "0") + "cm",
56284
56284
  "--umo-page-margin-left": ((U = (V = k(r).margin) == null ? void 0 : V.left) != null ? U : "0") + "cm",
56285
56285
  "--umo-page-margin-right": ((Q = (X = k(r).margin) == null ? void 0 : X.right) != null ? Q : "0") + "cm",
@@ -56395,7 +56395,7 @@ const mxe = tr.create({
56395
56395
  }), V4 = /* @__PURE__ */ vt(Ixe, [["__scopeId", "data-v-27ac3707"]]), Fxe = { class: "umo-embed-container" }, Rxe = ["textContent"], Bxe = /* @__PURE__ */ te({
56396
56396
  __name: "embed",
56397
56397
  setup(t) {
56398
- const e = Z("options"), n = Z("container");
56398
+ const e = J("options"), n = J("container");
56399
56399
  let r = N(!1);
56400
56400
  const a = R(() => `<iframe src="${e.value.shareUrl}" width="100%" height="720px" frameborder="0" allowfullscreen="true"></iframe>`), o = () => {
56401
56401
  const { copy: l } = gu({ source: a });
@@ -56446,7 +56446,7 @@ const mxe = tr.create({
56446
56446
  }), H4 = /* @__PURE__ */ vt(Bxe, [["__scopeId", "data-v-ff2a2183"]]), Nxe = { class: "umo-share-container" }, Lxe = ["textContent"], zxe = /* @__PURE__ */ te({
56447
56447
  __name: "share",
56448
56448
  setup(t) {
56449
- const e = Z("options"), n = Z("container");
56449
+ const e = J("options"), n = J("container");
56450
56450
  let r = N(!1);
56451
56451
  const a = () => {
56452
56452
  const { copy: o } = gu({ source: e.value.shareUrl });
@@ -56497,7 +56497,7 @@ const mxe = tr.create({
56497
56497
  }), K4 = /* @__PURE__ */ vt(zxe, [["__scopeId", "data-v-5d68a93f"]]), W4 = /* @__PURE__ */ te({
56498
56498
  __name: "text",
56499
56499
  setup(t) {
56500
- const e = Z("editor"), n = Z("options"), r = () => {
56500
+ const e = J("editor"), n = J("options"), r = () => {
56501
56501
  var i, u, s;
56502
56502
  if (!e.value)
56503
56503
  return;
@@ -56519,7 +56519,7 @@ const mxe = tr.create({
56519
56519
  }), U4 = /* @__PURE__ */ te({
56520
56520
  __name: "pdf",
56521
56521
  setup(t) {
56522
- const e = Z("exportFile");
56522
+ const e = J("exportFile");
56523
56523
  return (n, r) => {
56524
56524
  const a = Ce;
56525
56525
  return B(), q(a, {
@@ -56533,7 +56533,7 @@ const mxe = tr.create({
56533
56533
  }), q4 = /* @__PURE__ */ te({
56534
56534
  __name: "image",
56535
56535
  setup(t) {
56536
- const { toBlob: e } = jC, n = Z("container"), r = Z("exportFile"), a = Z("page"), o = Z("options"), l = [
56536
+ const { toBlob: e } = jC, n = J("container"), r = J("exportFile"), a = J("page"), o = J("options"), l = [
56537
56537
  { content: ae("export.image.png"), value: "png" },
56538
56538
  { content: ae("export.image.jpg"), value: "jpg" }
56539
56539
  ], i = async ({
@@ -56583,7 +56583,7 @@ const mxe = tr.create({
56583
56583
  }), Y4 = /* @__PURE__ */ te({
56584
56584
  __name: "preview",
56585
56585
  setup(t) {
56586
- const e = Z("page");
56586
+ const e = J("page");
56587
56587
  return (n, r) => {
56588
56588
  const a = Ce;
56589
56589
  return k(e).preview.isShow ? (B(), q(a, {
@@ -56599,7 +56599,7 @@ const mxe = tr.create({
56599
56599
  }), Vxe = { class: "umo-background-container" }, Hxe = ["onClick"], Kxe = { class: "umo-background-more-menu" }, Wxe = ["textContent"], Uxe = { class: "umo-background-more-arrow" }, qxe = /* @__PURE__ */ te({
56600
56600
  __name: "background",
56601
56601
  setup(t) {
56602
- const { popupVisible: e, togglePopup: n } = vn(), r = Z("container"), a = Z("page"), o = Z("options"), l = [
56602
+ const { popupVisible: e, togglePopup: n } = vn(), r = J("container"), a = J("page"), o = J("options"), l = [
56603
56603
  { label: ae("page.bg.default"), value: o.value.page.defaultBackground },
56604
56604
  { label: ae("page.bg.color1"), value: "rgb(233, 246, 227)" },
56605
56605
  { label: ae("page.bg.color2"), value: "rgb(252, 242, 224)" },
@@ -56672,7 +56672,7 @@ const mxe = tr.create({
56672
56672
  __name: "watermark",
56673
56673
  setup(t) {
56674
56674
  var u;
56675
- const { popupVisible: e, togglePopup: n } = vn(), r = Z("page"), o = (u = Z("options").value.dicts) == null ? void 0 : u.fonts.map((s) => {
56675
+ const { popupVisible: e, togglePopup: n } = vn(), r = J("page"), o = (u = J("options").value.dicts) == null ? void 0 : u.fonts.map((s) => {
56676
56676
  var c;
56677
56677
  return {
56678
56678
  label: Zr(s.label),
@@ -56798,7 +56798,7 @@ const mxe = tr.create({
56798
56798
  }), X4 = /* @__PURE__ */ vt(eSe, [["__scopeId", "data-v-fad6eb89"]]), J4 = /* @__PURE__ */ te({
56799
56799
  __name: "line-number",
56800
56800
  setup(t) {
56801
- const e = Z("page");
56801
+ const e = J("page");
56802
56802
  return (n, r) => {
56803
56803
  const a = Ce;
56804
56804
  return B(), q(a, {
@@ -56813,7 +56813,7 @@ const mxe = tr.create({
56813
56813
  }), Z4 = /* @__PURE__ */ te({
56814
56814
  __name: "break-marks",
56815
56815
  setup(t) {
56816
- const e = Z("editor"), n = Z("page"), r = () => {
56816
+ const e = J("editor"), n = J("page"), r = () => {
56817
56817
  n.value.showBreakMarks = !n.value.showBreakMarks, n.value.showBreakMarks ? e.value.commands.showInvisibleCharacters() : e.value.commands.hideInvisibleCharacters();
56818
56818
  };
56819
56819
  return (a, o) => {
@@ -56830,7 +56830,7 @@ const mxe = tr.create({
56830
56830
  }), Q4 = /* @__PURE__ */ te({
56831
56831
  __name: "break",
56832
56832
  setup(t) {
56833
- const e = Z("editor"), n = () => {
56833
+ const e = J("editor"), n = () => {
56834
56834
  var r;
56835
56835
  (r = e.value) == null || r.chain().focus().setPageBreak().run();
56836
56836
  };
@@ -56848,7 +56848,7 @@ const mxe = tr.create({
56848
56848
  }), tSe = { class: "label" }, e$ = /* @__PURE__ */ te({
56849
56849
  __name: "orientation",
56850
56850
  setup(t) {
56851
- const e = Z("page"), n = [
56851
+ const e = J("page"), n = [
56852
56852
  { label: ae("page.orientation.landscape"), value: "landscape" },
56853
56853
  { label: ae("page.orientation.portrait"), value: "portrait" }
56854
56854
  ];
@@ -56897,7 +56897,7 @@ const mxe = tr.create({
56897
56897
  },
56898
56898
  emits: ["close"],
56899
56899
  setup(t, { emit: e }) {
56900
- const n = t, r = e, a = Z("container"), o = Z("page"), l = Z("options");
56900
+ const n = t, r = e, a = J("container"), o = J("page"), l = J("options");
56901
56901
  let i = N({});
56902
56902
  ue(
56903
56903
  () => n.visible,
@@ -57212,7 +57212,7 @@ const mxe = tr.create({
57212
57212
  }), t$ = /* @__PURE__ */ vt(bSe, [["__scopeId", "data-v-9ca9d4d8"]]), ySe = ["textContent"], _Se = { class: "desc" }, wSe = ["textContent"], n$ = /* @__PURE__ */ te({
57213
57213
  __name: "size",
57214
57214
  setup(t) {
57215
- const e = Z("page"), n = Z("options"), r = N(!1);
57215
+ const e = J("page"), n = J("options"), r = N(!1);
57216
57216
  return (a, o) => {
57217
57217
  const l = Sa, i = aa, u = t$, s = Ce;
57218
57218
  return B(), q(s, {
@@ -57297,7 +57297,7 @@ const mxe = tr.create({
57297
57297
  }), a$ = /* @__PURE__ */ te({
57298
57298
  __name: "toggle-toc",
57299
57299
  setup(t) {
57300
- const e = Z("page");
57300
+ const e = J("page");
57301
57301
  return (n, r) => {
57302
57302
  const a = Ce;
57303
57303
  return B(), q(a, {
@@ -57312,7 +57312,7 @@ const mxe = tr.create({
57312
57312
  }), CSe = { class: "label" }, kSe = { class: "desc" }, o$ = /* @__PURE__ */ te({
57313
57313
  __name: "chinese-case",
57314
57314
  setup(t) {
57315
- const e = Z("editor"), n = Z("container"), r = [
57315
+ const e = J("editor"), n = J("container"), r = [
57316
57316
  {
57317
57317
  label: "数字小写金额 → 中文大写金额",
57318
57318
  desc: "人民币伍佰肆拾叁元贰角壹分",
@@ -57408,7 +57408,7 @@ const mxe = tr.create({
57408
57408
  }), l$ = /* @__PURE__ */ te({
57409
57409
  __name: "delete",
57410
57410
  setup(t) {
57411
- const e = Z("container"), n = Z("editor"), r = () => {
57411
+ const e = J("container"), n = J("editor"), r = () => {
57412
57412
  const a = co({
57413
57413
  attach: e,
57414
57414
  theme: "danger",
@@ -57442,7 +57442,7 @@ const mxe = tr.create({
57442
57442
  }), i$ = /* @__PURE__ */ te({
57443
57443
  __name: "previous-cell",
57444
57444
  setup(t) {
57445
- const e = Z("editor"), n = Z("options"), r = tn("toolbar", n);
57445
+ const e = J("editor"), n = J("options"), r = tn("toolbar", n);
57446
57446
  return (a, o) => {
57447
57447
  var i;
57448
57448
  const l = Ce;
@@ -57462,7 +57462,7 @@ const mxe = tr.create({
57462
57462
  }), u$ = /* @__PURE__ */ te({
57463
57463
  __name: "next-cell",
57464
57464
  setup(t) {
57465
- const e = Z("editor"), n = Z("options"), r = tn("toolbar", n);
57465
+ const e = J("editor"), n = J("options"), r = tn("toolbar", n);
57466
57466
  return (a, o) => {
57467
57467
  var i;
57468
57468
  const l = Ce;
@@ -57482,7 +57482,7 @@ const mxe = tr.create({
57482
57482
  }), s$ = /* @__PURE__ */ te({
57483
57483
  __name: "toggle-header-cell",
57484
57484
  setup(t) {
57485
- const e = Z("editor"), n = Z("options"), r = tn("toolbar", n);
57485
+ const e = J("editor"), n = J("options"), r = tn("toolbar", n);
57486
57486
  return (a, o) => {
57487
57487
  var i;
57488
57488
  const l = Ce;
@@ -57501,7 +57501,7 @@ const mxe = tr.create({
57501
57501
  }), c$ = /* @__PURE__ */ te({
57502
57502
  __name: "toggle-header-column",
57503
57503
  setup(t) {
57504
- const e = Z("editor"), n = Z("options"), r = tn("toolbar", n);
57504
+ const e = J("editor"), n = J("options"), r = tn("toolbar", n);
57505
57505
  return (a, o) => {
57506
57506
  var i;
57507
57507
  const l = Ce;
@@ -57520,7 +57520,7 @@ const mxe = tr.create({
57520
57520
  }), d$ = /* @__PURE__ */ te({
57521
57521
  __name: "toggle-header-row",
57522
57522
  setup(t) {
57523
- const e = Z("editor"), n = Z("options"), r = tn("toolbar", n);
57523
+ const e = J("editor"), n = J("options"), r = tn("toolbar", n);
57524
57524
  return (a, o) => {
57525
57525
  var i;
57526
57526
  const l = Ce;
@@ -57539,7 +57539,7 @@ const mxe = tr.create({
57539
57539
  }), v$ = /* @__PURE__ */ te({
57540
57540
  __name: "fix",
57541
57541
  setup(t) {
57542
- const e = Z("editor");
57542
+ const e = J("editor");
57543
57543
  return (n, r) => {
57544
57544
  var o;
57545
57545
  const a = Ce;
@@ -57559,7 +57559,7 @@ const mxe = tr.create({
57559
57559
  }), xSe = ["onMouseover"], SSe = { class: "umo-table-custom" }, OSe = ["textContent"], $Se = /* @__PURE__ */ te({
57560
57560
  __name: "insert",
57561
57561
  setup(t) {
57562
- const { popupVisible: e, togglePopup: n } = vn(), r = Z("editor"), a = Array.from(
57562
+ const { popupVisible: e, togglePopup: n } = vn(), r = J("editor"), a = Array.from(
57563
57563
  { length: 8 },
57564
57564
  () => Array.from({ length: 10 }, () => "")
57565
57565
  ), o = N({ rows: 0, cols: 0 }), l = N(!0), i = (d, v) => o.value.rows && o.value.rows > d && o.value.cols && o.value.cols > v, u = (d, v) => {
@@ -57651,7 +57651,7 @@ const mxe = tr.create({
57651
57651
  }, m$ = /* @__PURE__ */ te({
57652
57652
  __name: "template",
57653
57653
  setup(t) {
57654
- const e = Z("editor"), n = Z("options"), r = ({ content: a }) => {
57654
+ const e = J("editor"), n = J("options"), r = ({ content: a }) => {
57655
57655
  !a || !e.value || e.value.commands.insertContent(a);
57656
57656
  };
57657
57657
  return (a, o) => {
@@ -57693,7 +57693,7 @@ const mxe = tr.create({
57693
57693
  }), MSe = { class: "umo-page-divider-dropdown" }, TSe = { class: "umo-page-divider-item-title" }, ASe = ["textContent"], DSe = ["value", "title", "onClick"], jSe = ["data-type"], ISe = ["textContent"], FSe = { class: "arrow" }, RSe = { class: "umo-page-divider-color-picker" }, BSe = /* @__PURE__ */ te({
57694
57694
  __name: "hr",
57695
57695
  setup(t) {
57696
- const { popupVisible: e, togglePopup: n } = vn(), r = Z("container"), a = Z("editor"), o = [
57696
+ const { popupVisible: e, togglePopup: n } = vn(), r = J("container"), a = J("editor"), o = [
57697
57697
  { label: ae("insert.hr.signle"), value: "signle" },
57698
57698
  { label: ae("insert.hr.double"), value: "double" },
57699
57699
  { label: ae("insert.hr.dotted"), value: "dotted" },
@@ -57778,7 +57778,7 @@ const mxe = tr.create({
57778
57778
  }), p$ = /* @__PURE__ */ vt(BSe, [["__scopeId", "data-v-bfff8903"]]), h$ = /* @__PURE__ */ te({
57779
57779
  __name: "hard-break",
57780
57780
  setup(t) {
57781
- const e = Z("editor");
57781
+ const e = J("editor");
57782
57782
  return (n, r) => {
57783
57783
  const a = Ce;
57784
57784
  return B(), q(a, {
@@ -57796,7 +57796,7 @@ const mxe = tr.create({
57796
57796
  }), NSe = { class: "umo-bookmark-container" }, LSe = /* @__PURE__ */ te({
57797
57797
  __name: "bookmark",
57798
57798
  setup(t) {
57799
- const e = Z("container"), n = Z("editor"), r = Z("page");
57799
+ const e = J("container"), n = J("editor"), r = J("page");
57800
57800
  let a = N(!1), o = N(""), l = [];
57801
57801
  const i = [
57802
57802
  {
@@ -57986,7 +57986,7 @@ const mxe = tr.create({
57986
57986
  }), g$ = /* @__PURE__ */ vt(LSe, [["__scopeId", "data-v-52c6e95c"]]), b$ = /* @__PURE__ */ te({
57987
57987
  __name: "mention",
57988
57988
  setup(t) {
57989
- const e = Z("editor");
57989
+ const e = J("editor");
57990
57990
  return (n, r) => {
57991
57991
  const a = Ce;
57992
57992
  return B(), q(a, {
@@ -58003,7 +58003,7 @@ const mxe = tr.create({
58003
58003
  }), y$ = /* @__PURE__ */ te({
58004
58004
  __name: "tag",
58005
58005
  setup(t) {
58006
- const e = Z("editor");
58006
+ const e = J("editor");
58007
58007
  return (n, r) => {
58008
58008
  const a = Ce;
58009
58009
  return B(), q(a, {
@@ -58020,7 +58020,7 @@ const mxe = tr.create({
58020
58020
  }), zSe = { class: "umo-columns-container" }, VSe = ["onMouseenter", "onClick"], HSe = /* @__PURE__ */ te({
58021
58021
  __name: "columns",
58022
58022
  setup(t) {
58023
- const { popupVisible: e, togglePopup: n } = vn(), r = Z("editor");
58023
+ const { popupVisible: e, togglePopup: n } = vn(), r = J("editor");
58024
58024
  let a = N(0);
58025
58025
  const o = [1, 2, 3, 4, 5, 6], l = (u) => {
58026
58026
  a.value = u;
@@ -58060,7 +58060,7 @@ const mxe = tr.create({
58060
58060
  }), _$ = /* @__PURE__ */ vt(HSe, [["__scopeId", "data-v-4363cacd"]]), w$ = /* @__PURE__ */ te({
58061
58061
  __name: "math",
58062
58062
  setup(t) {
58063
- const e = Z("editor");
58063
+ const e = J("editor");
58064
58064
  return (n, r) => {
58065
58065
  const a = Ce;
58066
58066
  return B(), q(a, {
@@ -58126,7 +58126,7 @@ const mxe = tr.create({
58126
58126
  format: "YYYY年M月",
58127
58127
  capitalize: !0
58128
58128
  }
58129
- ], a = Z("editor"), o = ({ content: l, format: i, capitalize: u, value: s }) => {
58129
+ ], a = J("editor"), o = ({ content: l, format: i, capitalize: u, value: s }) => {
58130
58130
  var c;
58131
58131
  l && ((c = a.value) == null || c.chain().insertDatetime({
58132
58132
  text: l.includes("自定义") ? `[${l}]` : l,
@@ -58152,7 +58152,7 @@ const mxe = tr.create({
58152
58152
  }), KSe = { class: "umo-symbols-container narrow-scrollbar" }, WSe = ["textContent"], USe = { class: "umo-symbols-group-container" }, qSe = ["onClick"], YSe = /* @__PURE__ */ te({
58153
58153
  __name: "symbol",
58154
58154
  setup(t) {
58155
- const { popupVisible: e, togglePopup: n } = vn(), r = Z("editor"), a = Z("options"), o = (l) => {
58155
+ const { popupVisible: e, togglePopup: n } = vn(), r = J("editor"), a = J("options"), o = (l) => {
58156
58156
  var i;
58157
58157
  (i = r.value) == null || i.chain().focus().insertContent(l).run(), e.value = !1;
58158
58158
  };
@@ -58193,7 +58193,7 @@ const mxe = tr.create({
58193
58193
  }), k$ = /* @__PURE__ */ vt(YSe, [["__scopeId", "data-v-1bca6bad"]]), x$ = /* @__PURE__ */ te({
58194
58194
  __name: "print",
58195
58195
  setup(t) {
58196
- const e = Z("editor"), n = Z("printing");
58196
+ const e = J("editor"), n = J("printing");
58197
58197
  return (r, a) => {
58198
58198
  var l;
58199
58199
  const o = Ce;
@@ -58210,7 +58210,7 @@ const mxe = tr.create({
58210
58210
  }), S$ = /* @__PURE__ */ te({
58211
58211
  __name: "viewer",
58212
58212
  setup(t) {
58213
- const e = Z("viewer");
58213
+ const e = J("viewer");
58214
58214
  return (n, r) => {
58215
58215
  const a = Ce;
58216
58216
  return B(), q(a, {
@@ -58224,7 +58224,7 @@ const mxe = tr.create({
58224
58224
  }), O$ = /* @__PURE__ */ te({
58225
58225
  __name: "search-replace",
58226
58226
  setup(t) {
58227
- const e = Z("searchReplace");
58227
+ const e = J("searchReplace");
58228
58228
  return (n, r) => {
58229
58229
  const a = Ce;
58230
58230
  return B(), q(a, {
@@ -58239,7 +58239,7 @@ const mxe = tr.create({
58239
58239
  }), $$ = /* @__PURE__ */ te({
58240
58240
  __name: "markdown",
58241
58241
  setup(t) {
58242
- const e = Z("container"), n = Z("destroyed"), r = Z("options"), a = tn("document", r), o = () => {
58242
+ const e = J("container"), n = J("destroyed"), r = J("options"), a = tn("document", r), o = () => {
58243
58243
  const l = co({
58244
58244
  attach: e,
58245
58245
  theme: "warning",
@@ -58269,7 +58269,7 @@ const mxe = tr.create({
58269
58269
  }), P$ = /* @__PURE__ */ te({
58270
58270
  __name: "import-word",
58271
58271
  setup(t) {
58272
- const e = Z("container"), n = Z("editor"), a = Z("options").value.importWord, o = () => {
58272
+ const e = J("container"), n = J("editor"), a = J("options").value.importWord, o = () => {
58273
58273
  if (!zd) {
58274
58274
  const u = ba({
58275
58275
  attach: e,
@@ -58390,7 +58390,7 @@ const mxe = tr.create({
58390
58390
  }), E$ = /* @__PURE__ */ te({
58391
58391
  __name: "select-all",
58392
58392
  setup(t) {
58393
- const e = Z("editor");
58393
+ const e = J("editor");
58394
58394
  return (n, r) => {
58395
58395
  const a = Ce;
58396
58396
  return B(), q(a, {
@@ -58408,7 +58408,7 @@ const mxe = tr.create({
58408
58408
  }), M$ = /* @__PURE__ */ te({
58409
58409
  __name: "code",
58410
58410
  setup(t) {
58411
- const e = Z("editor");
58411
+ const e = J("editor");
58412
58412
  return (n, r) => {
58413
58413
  var o, l;
58414
58414
  const a = Ce;
@@ -58429,7 +58429,7 @@ const mxe = tr.create({
58429
58429
  }), T$ = /* @__PURE__ */ te({
58430
58430
  __name: "quote",
58431
58431
  setup(t) {
58432
- const e = Z("editor");
58432
+ const e = J("editor");
58433
58433
  return (n, r) => {
58434
58434
  var o, l;
58435
58435
  const a = Ce;
@@ -58450,7 +58450,7 @@ const mxe = tr.create({
58450
58450
  }), GSe = { class: "umo-node-margin-input" }, XSe = /* @__PURE__ */ te({
58451
58451
  __name: "margin",
58452
58452
  setup(t) {
58453
- const { popupVisible: e, togglePopup: n } = vn(), r = Z("editor");
58453
+ const { popupVisible: e, togglePopup: n } = vn(), r = J("editor");
58454
58454
  let a = N(""), o = N("");
58455
58455
  const l = () => {
58456
58456
  var s;
@@ -58539,7 +58539,7 @@ const mxe = tr.create({
58539
58539
  }), A$ = /* @__PURE__ */ vt(XSe, [["__scopeId", "data-v-6948498d"]]), D$ = /* @__PURE__ */ te({
58540
58540
  __name: "line-height",
58541
58541
  setup(t) {
58542
- const e = Z("editor"), n = Z("options"), r = R(() => {
58542
+ const e = J("editor"), n = J("options"), r = R(() => {
58543
58543
  var o;
58544
58544
  return (o = n.value.dicts) == null ? void 0 : o.lineHeights.map((l) => {
58545
58545
  var i;
@@ -58571,7 +58571,7 @@ const mxe = tr.create({
58571
58571
  }), j$ = /* @__PURE__ */ te({
58572
58572
  __name: "outdent",
58573
58573
  setup(t) {
58574
- const e = Z("editor");
58574
+ const e = J("editor");
58575
58575
  return (n, r) => {
58576
58576
  const a = Ce;
58577
58577
  return B(), q(a, {
@@ -58589,7 +58589,7 @@ const mxe = tr.create({
58589
58589
  }), I$ = /* @__PURE__ */ te({
58590
58590
  __name: "indent",
58591
58591
  setup(t) {
58592
- const e = Z("editor");
58592
+ const e = J("editor");
58593
58593
  return (n, r) => {
58594
58594
  const a = Ce;
58595
58595
  return B(), q(a, {
@@ -58607,7 +58607,7 @@ const mxe = tr.create({
58607
58607
  }), F$ = /* @__PURE__ */ te({
58608
58608
  __name: "task-list",
58609
58609
  setup(t) {
58610
- const e = Z("editor");
58610
+ const e = J("editor");
58611
58611
  return (n, r) => {
58612
58612
  var i;
58613
58613
  const a = Sa, o = aa, l = Ce;
@@ -58677,7 +58677,7 @@ const mxe = tr.create({
58677
58677
  }), JSe = { class: "umo-bullet-list-group" }, ZSe = ["onClick"], QSe = /* @__PURE__ */ te({
58678
58678
  __name: "bullet-list",
58679
58679
  setup(t) {
58680
- const { popupVisible: e, togglePopup: n } = vn(), r = Z("editor"), a = [
58680
+ const { popupVisible: e, togglePopup: n } = vn(), r = J("editor"), a = [
58681
58681
  { label: ae("list.bullet.disc"), value: "disc" },
58682
58682
  { label: ae("list.bullet.circle"), value: "circle" },
58683
58683
  { label: ae("list.bullet.square"), value: "square" }
@@ -58740,7 +58740,7 @@ const mxe = tr.create({
58740
58740
  }), R$ = /* @__PURE__ */ vt(QSe, [["__scopeId", "data-v-6ce714c7"]]), eOe = { class: "umo-ordered-list-group" }, tOe = ["onClick"], nOe = ["textContent"], rOe = { class: "umo-ordered-list-properties" }, aOe = ["textContent"], oOe = /* @__PURE__ */ te({
58741
58741
  __name: "ordered-list",
58742
58742
  setup(t) {
58743
- const { popupVisible: e, togglePopup: n } = vn(), r = Z("editor"), a = [
58743
+ const { popupVisible: e, togglePopup: n } = vn(), r = J("editor"), a = [
58744
58744
  { label: ae("list.ordered.decimal"), value: "decimal" },
58745
58745
  {
58746
58746
  label: ae("list.ordered.decimalLeadingZero"),
@@ -58848,7 +58848,7 @@ const mxe = tr.create({
58848
58848
  }), B$ = /* @__PURE__ */ vt(oOe, [["__scopeId", "data-v-2fc7c396"]]), N$ = /* @__PURE__ */ te({
58849
58849
  __name: "superscript",
58850
58850
  setup(t) {
58851
- const e = Z("editor");
58851
+ const e = J("editor");
58852
58852
  return (n, r) => {
58853
58853
  var o, l;
58854
58854
  const a = Ce;
@@ -58869,7 +58869,7 @@ const mxe = tr.create({
58869
58869
  }), L$ = /* @__PURE__ */ te({
58870
58870
  __name: "subscript",
58871
58871
  setup(t) {
58872
- const e = Z("editor");
58872
+ const e = J("editor");
58873
58873
  return (n, r) => {
58874
58874
  var o, l;
58875
58875
  const a = Ce;
@@ -58890,7 +58890,7 @@ const mxe = tr.create({
58890
58890
  }), lOe = ["textContent"], iOe = ["title"], z$ = /* @__PURE__ */ te({
58891
58891
  __name: "font-family",
58892
58892
  setup(t) {
58893
- const e = Z("editor"), n = Z("options"), r = tn("toolbar", n), a = tn("recent", n), o = Z("typeWriterIsRunning"), l = N([]), i = (d) => {
58893
+ const e = J("editor"), n = J("options"), r = tn("toolbar", n), a = tn("recent", n), o = J("typeWriterIsRunning"), l = N([]), i = (d) => {
58894
58894
  if (!d)
58895
58895
  return !0;
58896
58896
  if (!er(d))
@@ -59004,7 +59004,7 @@ const mxe = tr.create({
59004
59004
  }), uOe = ["disabled"], sOe = { class: "umo-heading-container" }, cOe = ["onClick"], dOe = { class: "subtitle" }, vOe = ["onClick"], fOe = { class: "subtitle" }, mOe = /* @__PURE__ */ te({
59005
59005
  __name: "heading",
59006
59006
  setup(t) {
59007
- const { popupVisible: e } = vn(), n = Z("container"), r = Z("editor"), a = tn("toolbar", Z("options")), o = N(null), l = N([
59007
+ const { popupVisible: e } = vn(), n = J("container"), r = J("editor"), a = tn("toolbar", J("options")), o = N(null), l = N([
59008
59008
  { label: ae("base.heading.paragraph"), desc: "text", value: "paragraph" }
59009
59009
  ]);
59010
59010
  for (const s of Array.from({ length: 6 }).keys()) {
@@ -59155,7 +59155,7 @@ const mxe = tr.create({
59155
59155
  }), V$ = /* @__PURE__ */ vt(mOe, [["__scopeId", "data-v-d1635b72"]]), H$ = /* @__PURE__ */ te({
59156
59156
  __name: "clear-format",
59157
59157
  setup(t) {
59158
- const e = Z("editor");
59158
+ const e = J("editor");
59159
59159
  return (n, r) => {
59160
59160
  const a = Ce;
59161
59161
  return B(), q(a, {
@@ -59172,7 +59172,7 @@ const mxe = tr.create({
59172
59172
  }), K$ = /* @__PURE__ */ te({
59173
59173
  __name: "format-painter",
59174
59174
  setup(t) {
59175
- const e = Z("editor"), n = (r) => {
59175
+ const e = J("editor"), n = (r) => {
59176
59176
  var a, o, l, i, u;
59177
59177
  if ((l = (o = (a = e.value) == null ? void 0 : a.view) == null ? void 0 : o.painter) != null && l.enabled) {
59178
59178
  (i = e.value) == null || i.commands.unsetFormatPainter();
@@ -59198,7 +59198,7 @@ const mxe = tr.create({
59198
59198
  }), W$ = /* @__PURE__ */ te({
59199
59199
  __name: "redo",
59200
59200
  setup(t) {
59201
- const e = Z("historyRecords"), n = Z("redoHistory");
59201
+ const e = J("historyRecords"), n = J("redoHistory");
59202
59202
  return (r, a) => {
59203
59203
  const o = Ce;
59204
59204
  return B(), q(o, {
@@ -59214,7 +59214,7 @@ const mxe = tr.create({
59214
59214
  }), U$ = /* @__PURE__ */ te({
59215
59215
  __name: "undo",
59216
59216
  setup(t) {
59217
- const e = Z("historyRecords"), n = Z("undoHistory");
59217
+ const e = J("historyRecords"), n = J("undoHistory");
59218
59218
  return (r, a) => {
59219
59219
  const o = Ce;
59220
59220
  return B(), q(o, {
@@ -59251,7 +59251,7 @@ const hOe = { class: "umo-classic-menu" }, gOe = {
59251
59251
  },
59252
59252
  emits: ["menu-change"],
59253
59253
  setup(t, { emit: e }) {
59254
- const n = t, { selectVisible: r } = w4(), a = e, o = Z("container"), l = Z("options"), i = Z("page"), u = (v) => l.value.disableExtensions.includes(v);
59254
+ const n = t, { selectVisible: r } = w4(), a = e, o = J("container"), l = J("options"), i = J("page"), u = (v) => l.value.disableExtensions.includes(v);
59255
59255
  let s = N("");
59256
59256
  ue(
59257
59257
  () => n.currentMenu,
@@ -59266,7 +59266,7 @@ const hOe = { class: "umo-classic-menu" }, gOe = {
59266
59266
  a("menu-change", v), await Je(), (f = c.value) == null || f.update();
59267
59267
  };
59268
59268
  return (v, f) => {
59269
- const m = wt, p = po, b = Lr, y = U$, g = W$, w = K$, _ = H$, C = V$, x = z$, O = Hp, P = Xu, E = Ad, M = zp, T = Lp, j = L$, D = N$, I = rl, $ = Gu, S = Bp, A = B$, F = R$, z = F$, L = I$, G = j$, J = D$, ee = A$, W = x4, V = T$, U = M$, X = E$, Q = P$, oe = $$, le = O$, se = S$, be = x$, _e = Np, Pe = ch, ke = sh, we = uh, ge = ih, ce = lh, ve = k$, fe = C$, Ae = vh, je = w$, Ye = _$, Le = y$, Ie = oh, Ee = b$, ye = g$, me = Vp, pe = h$, xe = p$, De = ah, Ke = rh, qe = m$, He = jd, Ze = f$, ft = v$, St = eh, Kt = Qp, En = Zp, ne = Jp, he = Xp, Be = Gp, nt = Yp, Ct = qp, ut = Up, Ft = Wp, Qe = d$, Xe = c$, ct = s$, it = u$, ht = i$, Jt = l$, Sn = Bd, Rt = Rd, Wt = nh, on = th, kn = Fd, qn = Dd, yn = Id, bt = o$, Dn = a$, Rn = r$, gr = n$, ar = e$, Bn = Q4, Nn = Z4, ua = J4, sa = X4, Pr = G4, kt = Y4, xt = q4, Ht = U4, gn = W4, Yn = K4, ca = H4, al = V4;
59269
+ const m = wt, p = po, b = Lr, y = U$, g = W$, w = K$, _ = H$, C = V$, x = z$, O = Hp, P = Xu, E = Ad, M = zp, T = Lp, j = L$, D = N$, I = rl, $ = Gu, S = Bp, A = B$, F = R$, z = F$, L = I$, G = j$, Z = D$, ee = A$, W = x4, V = T$, U = M$, X = E$, Q = P$, oe = $$, le = O$, se = S$, be = x$, _e = Np, Pe = ch, ke = sh, we = uh, ge = ih, ce = lh, ve = k$, fe = C$, Ae = vh, je = w$, Ye = _$, Le = y$, Ie = oh, Ee = b$, ye = g$, me = Vp, pe = h$, xe = p$, De = ah, Ke = rh, qe = m$, He = jd, Ze = f$, ft = v$, St = eh, Kt = Qp, En = Zp, ne = Jp, he = Xp, Be = Gp, nt = Yp, Ct = qp, ut = Up, Ft = Wp, Qe = d$, Xe = c$, ct = s$, it = u$, ht = i$, Jt = l$, Sn = Bd, Rt = Rd, Wt = nh, on = th, kn = Fd, qn = Dd, yn = Id, bt = o$, Dn = a$, Rn = r$, gr = n$, ar = e$, Bn = Q4, Nn = Z4, ua = J4, sa = X4, Pr = G4, kt = Y4, xt = q4, Ht = U4, gn = W4, Yn = K4, ca = H4, al = V4;
59270
59270
  return B(), q(al, {
59271
59271
  ref_key: "scrollableRef",
59272
59272
  ref: c,
@@ -59328,7 +59328,7 @@ const hOe = { class: "umo-classic-menu" }, gOe = {
59328
59328
  u("task-list") ? re("", !0) : (B(), q(z, { key: 2 })),
59329
59329
  h(L),
59330
59330
  h(G),
59331
- u("line-height") ? re("", !0) : (B(), q(J, { key: 3 })),
59331
+ u("line-height") ? re("", !0) : (B(), q(Z, { key: 3 })),
59332
59332
  u("margin") ? re("", !0) : (B(), q(ee, { key: 4 })),
59333
59333
  h(W),
59334
59334
  u("quote") ? re("", !0) : (B(), q(V, { key: 5 })),
@@ -59497,12 +59497,12 @@ const hOe = { class: "umo-classic-menu" }, gOe = {
59497
59497
  },
59498
59498
  emits: ["menu-change"],
59499
59499
  setup(t, { emit: e }) {
59500
- const n = e, r = Z("options"), a = Z("page"), o = (u) => r.value.disableExtensions.includes(u), l = N(), i = async (u) => {
59500
+ const n = e, r = J("options"), a = J("page"), o = (u) => r.value.disableExtensions.includes(u), l = N(), i = async (u) => {
59501
59501
  var s;
59502
59502
  n("menu-change", u), await Je(), (s = l.value) == null || s.update();
59503
59503
  };
59504
59504
  return (u, s) => {
59505
- const c = U$, d = W$, v = K$, f = H$, m = z$, p = Hp, b = Xu, y = Ad, g = zp, w = Lp, _ = L$, C = N$, x = rl, O = Gu, P = Bp, E = B$, M = R$, T = F$, j = I$, D = j$, I = D$, $ = A$, S = Td, A = Md, F = Ed, z = k4, L = C4, G = T$, J = M$, ee = E$, W = V$, V = P$, U = $$, X = O$, Q = S$, oe = x$, le = Np, se = ch, be = sh, _e = uh, Pe = ih, ke = lh, we = k$, ge = C$, ce = vh, ve = w$, fe = y$, Ae = _$, je = oh, Ye = b$, Le = g$, Ie = Vp, Ee = h$, ye = p$, me = ah, pe = rh, xe = m$, De = jd, Ke = f$, qe = v$, He = eh, Ze = Qp, ft = Zp, St = Jp, Kt = Yp, En = Xp, ne = Gp, he = qp, Be = Up, nt = Wp, Ct = d$, ut = c$, Ft = s$, Qe = u$, Xe = i$, ct = l$, it = Bd, ht = Rd, Jt = nh, Sn = th, Rt = Fd, Wt = Dd, on = Id, kn = o$, qn = a$, yn = r$, bt = n$, Dn = e$, Rn = Q4, gr = Z4, ar = J4, Bn = X4, Nn = G4, ua = Y4, sa = q4, Pr = U4, kt = W4, xt = K4, Ht = H4, gn = V4;
59505
+ const c = U$, d = W$, v = K$, f = H$, m = z$, p = Hp, b = Xu, y = Ad, g = zp, w = Lp, _ = L$, C = N$, x = rl, O = Gu, P = Bp, E = B$, M = R$, T = F$, j = I$, D = j$, I = D$, $ = A$, S = Td, A = Md, F = Ed, z = k4, L = C4, G = T$, Z = M$, ee = E$, W = V$, V = P$, U = $$, X = O$, Q = S$, oe = x$, le = Np, se = ch, be = sh, _e = uh, Pe = ih, ke = lh, we = k$, ge = C$, ce = vh, ve = w$, fe = y$, Ae = _$, je = oh, Ye = b$, Le = g$, Ie = Vp, Ee = h$, ye = p$, me = ah, pe = rh, xe = m$, De = jd, Ke = f$, qe = v$, He = eh, Ze = Qp, ft = Zp, St = Jp, Kt = Yp, En = Xp, ne = Gp, he = qp, Be = Up, nt = Wp, Ct = d$, ut = c$, Ft = s$, Qe = u$, Xe = i$, ct = l$, it = Bd, ht = Rd, Jt = nh, Sn = th, Rt = Fd, Wt = Dd, on = Id, kn = o$, qn = a$, yn = r$, bt = n$, Dn = e$, Rn = Q4, gr = Z4, ar = J4, Bn = X4, Nn = G4, ua = Y4, sa = q4, Pr = U4, kt = W4, xt = K4, Ht = H4, gn = V4;
59506
59506
  return B(), ie("div", QOe, [
59507
59507
  t.menus.length > 1 ? (B(), ie("div", e4e, [
59508
59508
  (B(!0), ie(Se, null, ot(t.menus, (Yn) => (B(), ie("div", {
@@ -59563,7 +59563,7 @@ const hOe = { class: "umo-classic-menu" }, gOe = {
59563
59563
  h(z),
59564
59564
  h(L),
59565
59565
  o("quote") ? re("", !0) : (B(), q(G, { key: 0 })),
59566
- o("code") ? re("", !0) : (B(), q(J, { key: 1 })),
59566
+ o("code") ? re("", !0) : (B(), q(Z, { key: 1 })),
59567
59567
  o("select-all") ? re("", !0) : (B(), q(ee, { key: 2 }))
59568
59568
  ])
59569
59569
  ]),
@@ -59764,7 +59764,7 @@ const hOe = { class: "umo-classic-menu" }, gOe = {
59764
59764
  emits: ["menu-change"],
59765
59765
  setup(t, { emit: e }) {
59766
59766
  var w, _;
59767
- const n = e, r = Z("container"), a = Z("editor"), o = Z("savedAt"), l = Z("options"), i = tn("toolbar", l);
59767
+ const n = e, r = J("container"), a = J("editor"), o = J("savedAt"), l = J("options"), i = tn("toolbar", l);
59768
59768
  let u = N(!1);
59769
59769
  const s = d3(), c = [
59770
59770
  { label: ae("toolbar.base"), value: "base" },
@@ -59809,7 +59809,7 @@ const hOe = { class: "umo-classic-menu" }, gOe = {
59809
59809
  }
59810
59810
  ], p = ({ value: C }) => {
59811
59811
  C === "hideToolbar" ? i.value.show = !1 : (i.value.show = !0, i.value.mode = C);
59812
- }, b = Z("saveContent"), y = () => {
59812
+ }, b = J("saveContent"), y = () => {
59813
59813
  b(), u.value = !1;
59814
59814
  }, g = () => {
59815
59815
  var O;
@@ -60640,6 +60640,8 @@ const m$e = {
60640
60640
  fullscreenZIndex: 10,
60641
60641
  dicts: p$e,
60642
60642
  toolbar: {
60643
+ showAudio: !1,
60644
+ showVideo: !1,
60643
60645
  showSaveLabel: !0,
60644
60646
  defaultMode: "ribbon",
60645
60647
  menus: ["base", "insert", "table", "tools", "page", "export"],
@@ -60938,6 +60940,16 @@ const m$e = {
60938
60940
  merge: "replace",
60939
60941
  validate: "object",
60940
60942
  schema: {
60943
+ showAudio: {
60944
+ merge: "replace",
60945
+ validate: "boolean",
60946
+ required: !1
60947
+ },
60948
+ showVideo: {
60949
+ merge: "replace",
60950
+ validate: "boolean",
60951
+ required: !1
60952
+ },
60941
60953
  showSaveLabel: {
60942
60954
  merge: "replace",
60943
60955
  validate: "boolean",
@@ -61589,7 +61601,7 @@ const m$e = {
61589
61601
  // 能重做的记录数组
61590
61602
  isUndoRedo: !1
61591
61603
  // 标记是否正在执行撤销/重做操作
61592
- }), s = N(`#umo-editor-${Yt(4)}`), c = Z("defaultOptions", {}), d = N(yC(l, c)), v = N(null), f = N(null), m = N({}), p = N(!1), b = N(!1), y = N({ visible: !1, current: null }), g = N(!1), w = N(!1), _ = N(!1), C = N(!1), x = N({ pdf: !1, image: !1 }), O = N(/* @__PURE__ */ new Map()), P = N(!1), E = N(!1);
61604
+ }), s = N(`#umo-editor-${Yt(4)}`), c = J("defaultOptions", {}), d = N(yC(l, c)), v = N(null), f = N(null), m = N({}), p = N(!1), b = N(!1), y = N({ visible: !1, current: null }), g = N(!1), w = N(!1), _ = N(!1), C = N(!1), x = N({ pdf: !1, image: !1 }), O = N(/* @__PURE__ */ new Map()), P = N(!1), E = N(!1);
61593
61605
  Tt("container", s.value), Tt("options", d), Tt("editor", v), Tt("savedAt", f), Tt("page", m), Tt("blockMenu", p), Tt("assistant", b), Tt("imageViewer", y), Tt("searchReplace", g), Tt("viewer", w), Tt("printing", _), Tt("fullscreen", C), Tt("exportFile", x), Tt("uploadFileMap", O), Tt("destroyed", P), Tt("historyRecords", u), Tt("typeWriterIsRunning", E), ue(
61594
61606
  () => d.value.page,
61595
61607
  ({
@@ -61821,8 +61833,8 @@ const m$e = {
61821
61833
  return Ia(he) ? he : {};
61822
61834
  };
61823
61835
  z(F.value, G(F.value));
61824
- const { appContext: J } = (En = dn()) != null ? En : {};
61825
- J && (J.config.globalProperties.t = A, J.config.globalProperties.l = Zr), ue(
61836
+ const { appContext: Z } = (En = dn()) != null ? En : {};
61837
+ Z && (Z.config.globalProperties.t = A, Z.config.globalProperties.l = Zr), ue(
61826
61838
  () => F.value,
61827
61839
  (ne, he) => {
61828
61840
  i("changed:locale", { locale: ne, oldLocale: he });