g-ui-web 0.11.24 → 0.11.25

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.
package/lib/g-ui-web.js CHANGED
@@ -1,7 +1,7 @@
1
1
  var lie = Object.defineProperty;
2
2
  var uie = (e, t, r) => t in e ? lie(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
3
3
  var R0 = (e, t, r) => uie(e, typeof t != "symbol" ? t + "" : t, r);
4
- import { watch as ke, effectScope as wW, reactive as Nr, computed as R, getCurrentInstance as yr, inject as ft, ref as z, unref as y, shallowRef as Cn, watchEffect as Eo, readonly as J4, getCurrentScope as CW, onScopeDispose as CA, onMounted as Yt, nextTick as Se, customRef as cie, isRef as Ko, warn as die, provide as br, defineComponent as H, openBlock as D, createElementBlock as B, normalizeClass as K, normalizeStyle as mt, createElementVNode as N, renderSlot as we, mergeProps as Nt, useSlots as ln, createBlock as Te, Transition as lo, withCtx as se, withDirectives as Ht, resolveDynamicComponent as vr, createCommentVNode as ae, createTextVNode as fr, toDisplayString as Re, Fragment as ct, createVNode as de, vShow as Ir, toRef as an, onUnmounted as Ni, useAttrs as Ru, withModifiers as Lt, onBeforeUnmount as bn, onActivated as xA, onUpdated as Nc, cloneVNode as fie, Text as xW, Comment as eC, Teleport as SW, onBeforeMount as tC, onDeactivated as EW, renderList as Dt, withKeys as mn, createSlots as zn, normalizeProps as mr, guardReactiveProps as Ar, isVNode as va, toRaw as bw, vModelCheckbox as _w, toRefs as In, vModelRadio as TW, h as J, resolveComponent as ht, onBeforeUpdate as pie, vModelText as rC, toHandlers as hie, TransitionGroup as Vd, markRaw as Tp, resolveDirective as nC, toHandlerKey as vie, render as Bd, createApp as gie, shallowReactive as mie, useCssVars as Il } from "vue";
4
+ import { watch as ke, effectScope as wW, reactive as Nr, computed as R, getCurrentInstance as yr, inject as ft, ref as z, unref as y, shallowRef as Cn, watchEffect as Eo, readonly as J4, getCurrentScope as CW, onScopeDispose as CA, onMounted as Yt, nextTick as xe, customRef as cie, isRef as Ko, warn as die, provide as br, defineComponent as H, openBlock as D, createElementBlock as B, normalizeClass as K, normalizeStyle as mt, createElementVNode as N, renderSlot as we, mergeProps as Nt, useSlots as ln, createBlock as Te, Transition as lo, withCtx as se, withDirectives as Ht, resolveDynamicComponent as vr, createCommentVNode as ae, createTextVNode as fr, toDisplayString as Re, Fragment as ct, createVNode as de, vShow as Ir, toRef as an, onUnmounted as Ni, useAttrs as Ru, withModifiers as Lt, onBeforeUnmount as bn, onActivated as xA, onUpdated as Nc, cloneVNode as fie, Text as xW, Comment as eC, Teleport as SW, onBeforeMount as tC, onDeactivated as EW, renderList as Dt, withKeys as mn, createSlots as zn, normalizeProps as mr, guardReactiveProps as Ar, isVNode as va, toRaw as bw, vModelCheckbox as _w, toRefs as In, vModelRadio as TW, h as J, resolveComponent as ht, onBeforeUpdate as pie, vModelText as rC, toHandlers as hie, TransitionGroup as Vd, markRaw as Tp, resolveDirective as nC, toHandlerKey as vie, render as Bd, createApp as gie, shallowReactive as mie, useCssVars as Il } from "vue";
5
5
  function yie() {
6
6
  return AW().__VUE_DEVTOOLS_GLOBAL_HOOK__;
7
7
  }
@@ -2349,7 +2349,7 @@ function MG(e, t = 200, r = !1, n = !0, a = !1) {
2349
2349
  return AG(Hfe(t, r, n, a), e);
2350
2350
  }
2351
2351
  function UA(e, t = !0) {
2352
- yr() ? Yt(e) : t ? e() : Se(e);
2352
+ yr() ? Yt(e) : t ? e() : xe(e);
2353
2353
  }
2354
2354
  function Wp(e, t, r = {}) {
2355
2355
  const {
@@ -8474,7 +8474,7 @@ function L1({
8474
8474
  const u = (l = s.target) == null ? void 0 : l.value, c = u[u.length - 1] || "";
8475
8475
  r.value = !rwe(c);
8476
8476
  }, o = (s) => {
8477
- t == null || t("compositionend", s), r.value && (r.value = !1, Se(() => e(s)));
8477
+ t == null || t("compositionend", s), r.value && (r.value = !1, xe(() => e(s)));
8478
8478
  };
8479
8479
  return {
8480
8480
  isComposing: r,
@@ -8582,7 +8582,7 @@ const awe = H({
8582
8582
  C.value = {
8583
8583
  overflowY: "hidden",
8584
8584
  ...Ct
8585
- }, Se(() => {
8585
+ }, xe(() => {
8586
8586
  m.value.offsetHeight, C.value = Ct;
8587
8587
  });
8588
8588
  } else
@@ -8608,7 +8608,7 @@ const awe = H({
8608
8608
  pe();
8609
8609
  return;
8610
8610
  }
8611
- r(nr, He), r("input", He), await Se(), pe(), le();
8611
+ r(nr, He), r("input", He), await xe(), pe(), le();
8612
8612
  }
8613
8613
  }, ge = (Le) => {
8614
8614
  r("change", Le.target.value);
@@ -8639,11 +8639,11 @@ const awe = H({
8639
8639
  };
8640
8640
  return ke(() => n.modelValue, () => {
8641
8641
  var Le;
8642
- Se(() => _e()), n.validateEvent && ((Le = c == null ? void 0 : c.validate) == null || Le.call(c, "change").catch((He) => Pr(He)));
8642
+ xe(() => _e()), n.validateEvent && ((Le = c == null ? void 0 : c.validate) == null || Le.call(c, "change").catch((He) => Pr(He)));
8643
8643
  }), ke(W, () => pe()), ke(() => n.type, async () => {
8644
- await Se(), pe(), _e();
8644
+ await xe(), pe(), _e();
8645
8645
  }), Yt(() => {
8646
- !n.formatter && n.parser && Pr("ElInput", "If you set the parser, you also need to set the formatter."), pe(), Se(_e);
8646
+ !n.formatter && n.parser && Pr("ElInput", "If you set the parser, you also need to set the formatter."), pe(), xe(_e);
8647
8647
  }), t({
8648
8648
  input: g,
8649
8649
  textarea: m,
@@ -9093,7 +9093,7 @@ const hwe = et({
9093
9093
  return ke(() => n.noresize, (C) => {
9094
9094
  C ? (o == null || o(), i == null || i()) : ({ stop: o } = qn(d, w), i = nn("resize", w));
9095
9095
  }, { immediate: !0 }), ke(() => [n.maxHeight, n.height], () => {
9096
- n.native || Se(() => {
9096
+ n.native || xe(() => {
9097
9097
  var C;
9098
9098
  w(), c.value && ((C = f.value) == null || C.handleScroll(c.value));
9099
9099
  });
@@ -9103,7 +9103,7 @@ const hwe = et({
9103
9103
  })), xA(() => {
9104
9104
  c.value && (c.value.scrollTop = s, c.value.scrollLeft = l);
9105
9105
  }), Yt(() => {
9106
- n.native || Se(() => {
9106
+ n.native || xe(() => {
9107
9107
  w();
9108
9108
  });
9109
9109
  }), Nc(() => w()), t({
@@ -9617,14 +9617,14 @@ const FR = (e) => {
9617
9617
  }
9618
9618
  };
9619
9619
  async function f() {
9620
- await Se();
9620
+ await xe();
9621
9621
  const h = y(r);
9622
9622
  if (h) {
9623
9623
  VR.push(i);
9624
9624
  const v = h.contains(document.activeElement) ? n : document.activeElement;
9625
9625
  if (n = v, !h.contains(v)) {
9626
9626
  const m = new Event(yS, IR);
9627
- h.addEventListener(yS, l), h.dispatchEvent(m), m.defaultPrevented || Se(() => {
9627
+ h.addEventListener(yS, l), h.dispatchEvent(m), m.defaultPrevented || xe(() => {
9628
9628
  let _ = e.focusStartEl;
9629
9629
  Bt(_) || (lc(_), document.activeElement !== _ && (_ = "first")), _ === "first" && Fwe(SU(h), !0), (document.activeElement === v || _ === "container") && lc(h);
9630
9630
  });
@@ -13850,7 +13850,7 @@ const oK = Qt(vSe, {
13850
13850
  l("change", u(v.checked), h);
13851
13851
  }
13852
13852
  async function f(h) {
13853
- r.value || !n.value && !a.value && o.value && (h.composedPath().some((m) => m.tagName === "LABEL") || (t.value = u([!1, e.falseValue, e.falseLabel].includes(t.value)), await Se(), c(t.value, h)));
13853
+ r.value || !n.value && !a.value && o.value && (h.composedPath().some((m) => m.tagName === "LABEL") || (t.value = u([!1, e.falseValue, e.falseLabel].includes(t.value)), await xe(), c(t.value, h)));
13854
13854
  }
13855
13855
  const p = R(() => (i == null ? void 0 : i.validateEvent) || e.validateEvent);
13856
13856
  return ke(() => e.modelValue, () => {
@@ -14171,7 +14171,7 @@ const kSe = et({
14171
14171
  const r = e, n = qe("checkbox"), { formItem: a } = Ro(), { inputId: o, isLabeledByFormItem: i } = Us(r, {
14172
14172
  formItemContext: a
14173
14173
  }), s = async (u) => {
14174
- t(nr, u), await Se(), t("change", u);
14174
+ t(nr, u), await xe(), t("change", u);
14175
14175
  }, l = R({
14176
14176
  get() {
14177
14177
  return r.modelValue;
@@ -14275,7 +14275,7 @@ const cs = Qt(TSe, {
14275
14275
  setup(e, { emit: t }) {
14276
14276
  const r = e, n = qe("radio"), { radioRef: a, radioGroup: o, focus: i, size: s, disabled: l, modelValue: u, actualValue: c } = gK(r, t);
14277
14277
  function d() {
14278
- Se(() => t("change", u.value));
14278
+ xe(() => t("change", u.value));
14279
14279
  }
14280
14280
  return (f, p) => {
14281
14281
  var h;
@@ -14426,7 +14426,7 @@ const $Se = et({
14426
14426
  const r = e, n = qe("radio"), a = go(), o = z(), { formItem: i } = Ro(), { inputId: s, isLabeledByFormItem: l } = Us(r, {
14427
14427
  formItemContext: i
14428
14428
  }), u = (d) => {
14429
- t(nr, d), Se(() => t("change", d));
14429
+ t(nr, d), xe(() => t("change", d));
14430
14430
  };
14431
14431
  Yt(() => {
14432
14432
  const d = o.value.querySelectorAll("[type=radio]"), f = d[0];
@@ -14923,7 +14923,7 @@ const wK = et({
14923
14923
  }
14924
14924
  }, T = (k, O = !0) => {
14925
14925
  const { checkStrictly: F } = o.value, L = f.value, P = k.filter((V) => !!V && (F || V.isLeaf)), W = i == null ? void 0 : i.getSameNode(d.value), $ = O && W || P[0];
14926
- $ ? $.pathNodes.forEach((V) => m(V, !0)) : d.value = null, L.forEach((V) => V.doCheck(!1)), Nr(P).forEach((V) => V.doCheck(!0)), f.value = P, Se(A);
14926
+ $ ? $.pathNodes.forEach((V) => m(V, !0)) : d.value = null, L.forEach((V) => V.doCheck(!1)), Nr(P).forEach((V) => V.doCheck(!0)), f.value = P, xe(A);
14927
14927
  }, A = () => {
14928
14928
  $r && l.value.forEach((k) => {
14929
14929
  const O = k == null ? void 0 : k.$el;
@@ -15282,9 +15282,9 @@ const Ac = {
15282
15282
  return (fe = (ye = g.value) == null ? void 0 : ye.popperRef) == null ? void 0 : fe.contentRef;
15283
15283
  }), ie = (ye) => {
15284
15284
  var fe, te, Ae;
15285
- L.value || (ye = ye ?? !C.value, ye !== C.value && (C.value = ye, (te = (fe = m.value) == null ? void 0 : fe.input) == null || te.setAttribute("aria-expanded", `${ye}`), ye ? (Ee(), Se((Ae = b.value) == null ? void 0 : Ae.scrollToExpandingNode)) : n.filterable && He(), r("visibleChange", ye)));
15285
+ L.value || (ye = ye ?? !C.value, ye !== C.value && (C.value = ye, (te = (fe = m.value) == null ? void 0 : fe.input) == null || te.setAttribute("aria-expanded", `${ye}`), ye ? (Ee(), xe((Ae = b.value) == null ? void 0 : Ae.scrollToExpandingNode)) : n.filterable && He(), r("visibleChange", ye)));
15286
15286
  }, Ee = () => {
15287
- Se(() => {
15287
+ xe(() => {
15288
15288
  var ye;
15289
15289
  (ye = g.value) == null || ye.updatePopper();
15290
15290
  });
@@ -15357,7 +15357,7 @@ const Ac = {
15357
15357
  ie();
15358
15358
  break;
15359
15359
  case gt.down:
15360
- ie(!0), Se(Be), ye.preventDefault();
15360
+ ie(!0), xe(Be), ye.preventDefault();
15361
15361
  break;
15362
15362
  case gt.esc:
15363
15363
  C.value === !0 && (ye.preventDefault(), ye.stopPropagation(), ie(!1));
@@ -15409,9 +15409,9 @@ const Ac = {
15409
15409
  !C.value && ie(!0), !(fe != null && fe.isComposing) && (ye ? rt() : be());
15410
15410
  }, De = (ye) => Number.parseFloat(Xfe(u.cssVarName("input-height"), ye).value) - 2;
15411
15411
  return ke(S, Ee), ke([q, L, () => n.collapseTags], ze), ke(M, () => {
15412
- Se(() => Xe());
15412
+ xe(() => Xe());
15413
15413
  }), ke($, async () => {
15414
- await Se();
15414
+ await xe();
15415
15415
  const ye = m.value.input;
15416
15416
  i = De(ye) || i, Xe();
15417
15417
  }), ke(le, He, { immediate: !0 }), Yt(() => {
@@ -16669,8 +16669,8 @@ const c6e = H({
16669
16669
  P(!1), V();
16670
16670
  }
16671
16671
  function V() {
16672
- Se(() => {
16673
- n.modelValue ? C.fromString(n.modelValue) : (C.value = "", Se(() => {
16672
+ xe(() => {
16673
+ n.modelValue ? C.fromString(n.modelValue) : (C.value = "", xe(() => {
16674
16674
  S.value = !1;
16675
16675
  }));
16676
16676
  });
@@ -16683,7 +16683,7 @@ const c6e = H({
16683
16683
  }
16684
16684
  function Z() {
16685
16685
  const pe = C.value;
16686
- r(nr, pe), r("change", pe), n.validateEvent && (i == null || i.validate("change").catch((me) => Pr(me))), P(!1), Se(() => {
16686
+ r(nr, pe), r("change", pe), n.validateEvent && (i == null || i.validate("change").catch((me) => Pr(me))), P(!1), xe(() => {
16687
16687
  const me = new ay({
16688
16688
  enableAlpha: n.showAlpha,
16689
16689
  format: n.colorFormat || "",
@@ -16730,7 +16730,7 @@ const c6e = H({
16730
16730
  }), ke(() => C.value, () => {
16731
16731
  !n.modelValue && !S.value && (S.value = !0);
16732
16732
  }), ke(() => x.value, () => {
16733
- Se(() => {
16733
+ xe(() => {
16734
16734
  var pe, me, ge;
16735
16735
  (pe = d.value) == null || pe.update(), (me = f.value) == null || me.update(), (ge = p.value) == null || ge.update();
16736
16736
  });
@@ -17576,9 +17576,9 @@ const Z6e = H({
17576
17576
  ce.value ? "" : l.e("close-icon--hidden")
17577
17577
  ]);
17578
17578
  ke(v, (te) => {
17579
- te ? Se(() => {
17579
+ te ? xe(() => {
17580
17580
  te && (m.value = n.modelValue);
17581
- }) : (Be.value = null, Se(() => {
17581
+ }) : (Be.value = null, xe(() => {
17582
17582
  E(n.modelValue);
17583
17583
  }));
17584
17584
  });
@@ -17662,7 +17662,7 @@ const Z6e = H({
17662
17662
  v.value === !0 && (v.value = !1, te.preventDefault(), te.stopPropagation());
17663
17663
  return;
17664
17664
  }
17665
- if (Ae === gt.down && (St.value.handleFocusPicker && (te.preventDefault(), te.stopPropagation()), v.value === !1 && (v.value = !0, await Se()), St.value.handleFocusPicker)) {
17665
+ if (Ae === gt.down && (St.value.handleFocusPicker && (te.preventDefault(), te.stopPropagation()), v.value === !1 && (v.value = !0, await xe()), St.value.handleFocusPicker)) {
17666
17666
  St.value.handleFocusPicker();
17667
17667
  return;
17668
17668
  }
@@ -18075,7 +18075,7 @@ const J6e = et({
18075
18075
  }, O = (j) => {
18076
18076
  c.value || C("hours");
18077
18077
  const Z = c.value, q = y(g)[Z], ne = c.value === "hours" ? 24 : 60, le = F(Z, q, j, ne);
18078
- L(Z, le), T(Z, le), Se(() => C(Z));
18078
+ L(Z, le), T(Z, le), xe(() => C(Z));
18079
18079
  }, F = (j, Z, q, ne) => {
18080
18080
  let le = (Z + q + ne) % ne;
18081
18081
  const _e = y(m)[j];
@@ -18118,7 +18118,7 @@ const J6e = et({
18118
18118
  j("hours"), j("minutes"), j("seconds");
18119
18119
  };
18120
18120
  Yt(() => {
18121
- Se(() => {
18121
+ xe(() => {
18122
18122
  !r.arrowControl && V(), S(), r.role === "start" && C("hours");
18123
18123
  });
18124
18124
  });
@@ -18708,7 +18708,7 @@ const u8e = Qt(l8e), AC = Symbol(), c8e = et({
18708
18708
  });
18709
18709
  ke(() => e.date, async () => {
18710
18710
  var V;
18711
- (V = y(n)) != null && V.contains(document.activeElement) && (await Se(), await C());
18711
+ (V = y(n)) != null && V.contains(document.activeElement) && (await xe(), await C());
18712
18712
  });
18713
18713
  const C = async () => {
18714
18714
  var V;
@@ -18994,7 +18994,7 @@ const _8e = et({
18994
18994
  };
18995
18995
  return ke(() => n.date, async () => {
18996
18996
  var b, w;
18997
- (b = s.value) != null && b.contains(document.activeElement) && (await Se(), (w = l.value) == null || w.focus());
18997
+ (b = s.value) != null && b.contains(document.activeElement) && (await xe(), (w = l.value) == null || w.focus());
18998
18998
  }), t({
18999
18999
  focus: h
19000
19000
  }), (b, w) => (D(), B("table", {
@@ -19111,7 +19111,7 @@ const C8e = et({
19111
19111
  };
19112
19112
  return ke(() => n.date, async () => {
19113
19113
  var w, C;
19114
- (w = l.value) != null && w.contains(document.activeElement) && (await Se(), (C = u.value) == null || C.focus());
19114
+ (w = l.value) != null && w.contains(document.activeElement) && (await xe(), (C = u.value) == null || C.focus());
19115
19115
  }), t({
19116
19116
  focus: v
19117
19117
  }), (w, C) => (D(), B("table", {
@@ -19167,7 +19167,7 @@ const S8e = /* @__PURE__ */ H({
19167
19167
  if (U.value === "date") {
19168
19168
  De = De;
19169
19169
  let fe = r.parsedValue ? r.parsedValue.year(De.year()).month(De.month()).date(De.date()) : De;
19170
- M(fe) || (fe = E.value[0][0].year(De.year()).month(De.month()).date(De.date())), _.value = fe, O(fe, ue.value || ye), r.type === "datetime" && (await Se(), Ct());
19170
+ M(fe) || (fe = E.value[0][0].year(De.year()).month(De.month()).date(De.date())), _.value = fe, O(fe, ue.value || ye), r.type === "datetime" && (await xe(), Ct());
19171
19171
  } else U.value === "week" ? O(De.date) : U.value === "dates" && O(De, !0);
19172
19172
  }, L = (De) => {
19173
19173
  const ye = De ? "add" : "subtract";
@@ -19197,7 +19197,7 @@ const S8e = /* @__PURE__ */ H({
19197
19197
  const { type: De } = r;
19198
19198
  return ["week", "month", "months", "year", "years", "dates"].includes(De) ? De : "date";
19199
19199
  }), j = R(() => U.value === "dates" || U.value === "months" || U.value === "years"), Z = R(() => U.value === "date" ? W.value : U.value), q = R(() => !!f.length), ne = async (De, ye) => {
19200
- U.value === "month" ? (_.value = Ny(_.value.year(), De, u.value, p), O(_.value, !1)) : U.value === "months" ? O(De, ye ?? !0) : (_.value = Ny(_.value.year(), De, u.value, p), W.value = "date", ["month", "year", "date", "week"].includes(U.value) && (O(_.value, !0), await Se(), Ct())), Ft("month");
19200
+ U.value === "month" ? (_.value = Ny(_.value.year(), De, u.value, p), O(_.value, !1)) : U.value === "months" ? O(De, ye ?? !0) : (_.value = Ny(_.value.year(), De, u.value, p), W.value = "date", ["month", "year", "date", "week"].includes(U.value) && (O(_.value, !0), await xe(), Ct())), Ft("month");
19201
19201
  }, le = async (De, ye) => {
19202
19202
  if (U.value === "year") {
19203
19203
  const fe = _.value.startOf("year").year(De);
@@ -19206,11 +19206,11 @@ const S8e = /* @__PURE__ */ H({
19206
19206
  O(De, ye ?? !0);
19207
19207
  else {
19208
19208
  const fe = _.value.year(De);
19209
- _.value = wE(fe, u.value, p), W.value = "month", ["month", "year", "date", "week"].includes(U.value) && (O(_.value, !0), await Se(), Ct());
19209
+ _.value = wE(fe, u.value, p), W.value = "month", ["month", "year", "date", "week"].includes(U.value) && (O(_.value, !0), await xe(), Ct());
19210
19210
  }
19211
19211
  Ft("year");
19212
19212
  }, _e = async (De) => {
19213
- W.value = De, await Se(), Ct();
19213
+ W.value = De, await xe(), Ct();
19214
19214
  }, ue = R(() => r.type === "datetime" || r.type === "datetimerange"), ce = R(() => {
19215
19215
  const De = ue.value || U.value === "dates", ye = U.value === "years", fe = U.value === "months", te = W.value === "date", Ae = W.value === "year", je = W.value === "month";
19216
19216
  return De && te || ye && Ae || fe && je;
@@ -21271,7 +21271,7 @@ const tj = et({
21271
21271
  e.closeOnPressEscape && S();
21272
21272
  }
21273
21273
  return ke(() => e.modelValue, (L) => {
21274
- L ? (c.value = !1, C(), d.value = !0, f.value = wG(e.zIndex) ? o() : f.value++, Se(() => {
21274
+ L ? (c.value = !1, C(), d.value = !0, f.value = wG(e.zIndex) ? o() : f.value++, xe(() => {
21275
21275
  a("open"), t.value && (t.value.parentElement.scrollTop = 0, t.value.parentElement.scrollLeft = 0, t.value.scrollTop = 0);
21276
21276
  })) : u.value && x();
21277
21277
  }), ke(() => e.fullscreen, (L) => {
@@ -22229,7 +22229,7 @@ const QEe = H({
22229
22229
  break;
22230
22230
  }
22231
22231
  }
22232
- Se(() => {
22232
+ xe(() => {
22233
22233
  FM(w);
22234
22234
  });
22235
22235
  }
@@ -23543,7 +23543,7 @@ var oTe = H({
23543
23543
  } else
23544
23544
  return 0;
23545
23545
  }, l = (c = "update") => {
23546
- Se(() => {
23546
+ xe(() => {
23547
23547
  t.default && e.isAutoWidth && (c === "update" ? i.value = s() : c === "remove" && (r == null || r.deregisterLabelWidth(i.value)));
23548
23548
  });
23549
23549
  }, u = () => l("update");
@@ -23672,7 +23672,7 @@ const iTe = H({
23672
23672
  if (!ce || !r.prop)
23673
23673
  return;
23674
23674
  const pe = M_(ce, r.prop);
23675
- v = !0, pe.value = aR(h), await Se(), q(), v = !1;
23675
+ v = !0, pe.value = aR(h), await xe(), q(), v = !1;
23676
23676
  }, le = (ce) => {
23677
23677
  u.value.includes(ce) || u.value.push(ce);
23678
23678
  }, _e = (ce) => {
@@ -23971,7 +23971,7 @@ const yj = Qt(E5e, {
23971
23971
  a.closeOnPressEscape && E();
23972
23972
  }
23973
23973
  return ke(w, () => {
23974
- Se(() => {
23974
+ xe(() => {
23975
23975
  const Z = c.value[0];
23976
23976
  Z != null && Z.complete || (f.value = !0);
23977
23977
  });
@@ -24240,7 +24240,7 @@ const _j = Qt(fTe), pTe = et({
24240
24240
  var $;
24241
24241
  if (!$r)
24242
24242
  return;
24243
- await Se();
24243
+ await xe();
24244
24244
  const { scrollContainer: V } = r;
24245
24245
  jo(V) ? h.value = V : Bt(V) && V !== "" ? h.value = ($ = document.querySelector(V)) != null ? $ : void 0 : p.value && (h.value = YA(p.value)), h.value && (g = nn(h, "scroll", M), setTimeout(() => A(), 100));
24246
24246
  }
@@ -25576,7 +25576,7 @@ var XTe = H({
25576
25576
  if (u.value === S())
25577
25577
  return;
25578
25578
  const L = () => {
25579
- u.value = -1, Se(() => {
25579
+ u.value = -1, xe(() => {
25580
25580
  u.value = S();
25581
25581
  });
25582
25582
  };
@@ -26049,7 +26049,7 @@ const wAe = H({
26049
26049
  } = _Ae(e, a), { visible: d, hover: f } = In(a), p = yr().proxy;
26050
26050
  l.onOptionCreate(p), bn(() => {
26051
26051
  const v = p.value, { selected: g } = l.states, m = g.some((_) => _.value === p.value);
26052
- Se(() => {
26052
+ xe(() => {
26053
26053
  l.states.cachedOptions.get(v) === p && !m && l.states.cachedOptions.delete(v);
26054
26054
  }), l.onOptionDestroy(v, p);
26055
26055
  });
@@ -26223,7 +26223,7 @@ const TAe = (e, t) => {
26223
26223
  i.isBeforeHide || ge();
26224
26224
  });
26225
26225
  const $e = (it) => {
26226
- i.previousQuery === it || _.value || (i.previousQuery = it, e.filterable && cr(e.filterMethod) ? e.filterMethod(it) : e.filterable && e.remote && cr(e.remoteMethod) && e.remoteMethod(it), e.defaultFirstOption && (e.filterable || e.remote) && ue.value ? Se(Be) : Se(Ze));
26226
+ i.previousQuery === it || _.value || (i.previousQuery = it, e.filterable && cr(e.filterMethod) ? e.filterMethod(it) : e.filterable && e.remote && cr(e.remoteMethod) && e.remoteMethod(it), e.defaultFirstOption && (e.filterable || e.remote) && ue.value ? xe(Be) : xe(Ze));
26227
26227
  }, Be = () => {
26228
26228
  const it = ce.value.filter((rn) => rn.visible && !rn.disabled && !rn.states.groupDisabled), Et = it.find((rn) => rn.created), wr = it[0], oe = ce.value.map((rn) => rn.value);
26229
26229
  i.hoveringIndex = te(oe, Et || wr);
@@ -26317,7 +26317,7 @@ const TAe = (e, t) => {
26317
26317
  oe > -1 ? wr.splice(oe, 1) : (e.multipleLimit <= 0 || wr.length < e.multipleLimit) && wr.push(it.value), t(nr, wr), St(wr), it.created && $e(""), e.filterable && !e.reserveKeyword && (i.inputValue = "");
26318
26318
  } else
26319
26319
  t(nr, it.value), St(it.value), T.value = !1;
26320
- _r(), !T.value && Se(() => {
26320
+ _r(), !T.value && xe(() => {
26321
26321
  Ae(it);
26322
26322
  });
26323
26323
  }, te = (it = [], Et) => Yr(Et) ? -1 : Zr(Et.value) ? it.findIndex((wr) => qa(wa(wr, e.valueKey), ea(Et))) : it.indexOf(Et.value), Ae = (it) => {
@@ -26341,14 +26341,14 @@ const TAe = (e, t) => {
26341
26341
  var it, Et;
26342
26342
  return (Et = (it = u.value) == null ? void 0 : it.popperRef) == null ? void 0 : Et.contentRef;
26343
26343
  }), Jt = () => {
26344
- i.isBeforeHide = !1, Se(() => Ae(i.selected));
26344
+ i.isBeforeHide = !1, xe(() => Ae(i.selected));
26345
26345
  }, _r = () => {
26346
26346
  var it;
26347
26347
  (it = d.value) == null || it.focus();
26348
26348
  }, Ut = () => {
26349
26349
  var it;
26350
26350
  if (T.value) {
26351
- T.value = !1, Se(() => {
26351
+ T.value = !1, xe(() => {
26352
26352
  var Et;
26353
26353
  return (Et = d.value) == null ? void 0 : Et.blur();
26354
26354
  });
@@ -26360,7 +26360,7 @@ const TAe = (e, t) => {
26360
26360
  }, dr = (it) => {
26361
26361
  if (T.value = !1, S.value) {
26362
26362
  const Et = new FocusEvent("focus", it);
26363
- Se(() => E(Et));
26363
+ xe(() => E(Et));
26364
26364
  }
26365
26365
  }, Wt = () => {
26366
26366
  i.inputValue.length > 0 ? i.inputValue = "" : T.value = !1;
@@ -26381,7 +26381,7 @@ const TAe = (e, t) => {
26381
26381
  if (!(i.options.size === 0 || ue.value === 0 || _.value) && !Mn.value) {
26382
26382
  it === "next" ? (i.hoveringIndex++, i.hoveringIndex === i.options.size && (i.hoveringIndex = 0)) : it === "prev" && (i.hoveringIndex--, i.hoveringIndex < 0 && (i.hoveringIndex = i.options.size - 1));
26383
26383
  const Et = ce.value[i.hoveringIndex];
26384
- (Et.isDisabled || !Et.visible) && Kn(it), Se(() => Ae(A.value));
26384
+ (Et.isDisabled || !Et.visible) && Kn(it), xe(() => Ae(A.value));
26385
26385
  }
26386
26386
  }, ya = () => {
26387
26387
  if (!l.value)
@@ -28935,7 +28935,7 @@ const VE = H({
28935
28935
  scrollDir: pp(ue.scrollOffset, ce),
28936
28936
  scrollOffset: ce,
28937
28937
  updateRequested: !1
28938
- }, Se(U);
28938
+ }, xe(U);
28939
28939
  }, F = (q) => {
28940
28940
  const { clientWidth: ne, scrollLeft: le, scrollWidth: _e } = q.currentTarget, ue = y(w);
28941
28941
  if (ue.scrollOffset === le)
@@ -28959,7 +28959,7 @@ const VE = H({
28959
28959
  scrollDir: pp(ue.scrollOffset, pe),
28960
28960
  scrollOffset: pe,
28961
28961
  updateRequested: !1
28962
- }, Se(U);
28962
+ }, xe(U);
28963
28963
  }, L = (q) => {
28964
28964
  y(S) ? F(q) : O(q), k();
28965
28965
  }, P = (q, ne) => {
@@ -28971,7 +28971,7 @@ const VE = H({
28971
28971
  scrollOffset: q,
28972
28972
  scrollDir: pp(y(w).scrollOffset, q),
28973
28973
  updateRequested: !0
28974
- }, Se(U));
28974
+ }, xe(U));
28975
28975
  }, $ = (q, ne = Rs) => {
28976
28976
  const { scrollOffset: le } = y(w);
28977
28977
  q = Math.max(0, Math.min(q, c.total - 1)), W(t(c, q, ne, le, y(v)));
@@ -28993,7 +28993,7 @@ const VE = H({
28993
28993
  }
28994
28994
  return ce;
28995
28995
  }, U = () => {
28996
- w.value.isScrolling = !1, Se(() => {
28996
+ w.value.isScrolling = !1, xe(() => {
28997
28997
  g.value(-1, null, null);
28998
28998
  });
28999
28999
  }, j = () => {
@@ -29537,7 +29537,7 @@ const lke = (e, t) => {
29537
29537
  return;
29538
29538
  }
29539
29539
  const Rt = ((Je = m.value) == null ? void 0 : Je.offsetWidth) || 200;
29540
- !e.fitInputWidth && $.value.length > 0 ? Se(() => {
29540
+ !e.fitInputWidth && $.value.length > 0 ? xe(() => {
29541
29541
  g.value = Math.max(Rt, Xe());
29542
29542
  }) : g.value = Rt;
29543
29543
  }, Xe = () => {
@@ -29594,7 +29594,7 @@ const lke = (e, t) => {
29594
29594
  }, te = () => {
29595
29595
  v.inputValue.length > 0 && !U.value && (U.value = !0), rt(v.inputValue), je(v.inputValue);
29596
29596
  }, Ae = Pi(te, me.value), je = (Je) => {
29597
- v.previousQuery === Je || M.value || (v.previousQuery = Je, e.filterable && cr(e.filterMethod) ? e.filterMethod(Je) : e.filterable && e.remote && cr(e.remoteMethod) && e.remoteMethod(Je), e.defaultFirstOption && (e.filterable || e.remote) && V.value.length ? Se(at) : Se(oe));
29597
+ v.previousQuery === Je || M.value || (v.previousQuery = Je, e.filterable && cr(e.filterMethod) ? e.filterMethod(Je) : e.filterable && e.remote && cr(e.remoteMethod) && e.remoteMethod(Je), e.defaultFirstOption && (e.filterable || e.remote) && V.value.length ? xe(at) : xe(oe));
29598
29598
  }, at = () => {
29599
29599
  const Je = V.value.filter((tr) => !tr.disabled && tr.type !== "Group"), Rt = Je.find((tr) => tr.created), Gt = Je[0];
29600
29600
  v.hoveringIndex = _r(V.value, Rt || Gt);
@@ -29644,7 +29644,7 @@ const lke = (e, t) => {
29644
29644
  }, Ma = () => {
29645
29645
  var Je;
29646
29646
  if (U.value) {
29647
- U.value = !1, Se(() => {
29647
+ U.value = !1, xe(() => {
29648
29648
  var Rt;
29649
29649
  return (Rt = C.value) == null ? void 0 : Rt.blur();
29650
29650
  });
@@ -29698,7 +29698,7 @@ const lke = (e, t) => {
29698
29698
  const Rt = new FocusEvent("focus", Je);
29699
29699
  W(Rt);
29700
29700
  }
29701
- }, un = () => (v.isBeforeHide = !1, Se(() => {
29701
+ }, un = () => (v.isBeforeHide = !1, xe(() => {
29702
29702
  ~bt.value && ta(v.hoveringIndex);
29703
29703
  })), ta = (Je) => {
29704
29704
  E.value.scrollToItem(Je);
@@ -29751,7 +29751,7 @@ const lke = (e, t) => {
29751
29751
  }, {
29752
29752
  deep: !0,
29753
29753
  flush: "post"
29754
- }), ke(() => V.value, () => (Be(), E.value && Se(E.value.resetScrollTop))), Eo(() => {
29754
+ }), ke(() => V.value, () => (Be(), E.value && xe(E.value.resetScrollTop))), Eo(() => {
29755
29755
  v.isBeforeHide || Ee();
29756
29756
  }), Eo(() => {
29757
29757
  const { valueKey: Je, options: Rt } = e, Gt = /* @__PURE__ */ new Map();
@@ -30504,7 +30504,7 @@ const wke = Qt(_ke, {
30504
30504
  Z < 0 ? Z = 0 : Z > 100 && (Z = 100);
30505
30505
  const q = 100 / ((o.value - a.value) / i.value);
30506
30506
  let le = Math.round(Z / q) * q * (o.value - a.value) * 0.01 + a.value;
30507
- le = Number.parseFloat(le.toFixed(l.value)), le !== e.modelValue && r(nr, le), !t.dragging && e.modelValue !== t.oldValue && (t.oldValue = e.modelValue), await Se(), t.dragging && m(), h.value.updatePopper();
30507
+ le = Number.parseFloat(le.toFixed(l.value)), le !== e.modelValue && r(nr, le), !t.dragging && e.modelValue !== t.oldValue && (t.oldValue = e.modelValue), await xe(), t.dragging && m(), h.value.updatePopper();
30508
30508
  };
30509
30509
  return ke(() => t.dragging, (Z) => {
30510
30510
  p(Z);
@@ -30643,7 +30643,7 @@ const Rke = (e, t, r) => {
30643
30643
  }, C = (k) => {
30644
30644
  r(nr, k), r(To, k);
30645
30645
  }, x = async () => {
30646
- await Se(), r(pn, e.range ? [c.value, d.value] : e.modelValue);
30646
+ await xe(), r(pn, e.range ? [c.value, d.value] : e.modelValue);
30647
30647
  }, S = (k) => {
30648
30648
  var O, F, L, P, W, $;
30649
30649
  if (u.value || t.dragging)
@@ -30682,7 +30682,7 @@ const Rke = (e, t, r) => {
30682
30682
  },
30683
30683
  onSliderDown: async (k) => {
30684
30684
  const O = S(k);
30685
- O && (await Se(), O.value.onButtonDown(k));
30685
+ O && (await xe(), O.value.onButtonDown(k));
30686
30686
  },
30687
30687
  onSliderMarkerDown: (k) => {
30688
30688
  u.value || t.dragging || _(k);
@@ -30725,7 +30725,7 @@ const Rke = (e, t, r) => {
30725
30725
  }, Vke = (e, t, r) => {
30726
30726
  const n = z();
30727
30727
  return Yt(async () => {
30728
- e.range ? (xt(e.modelValue) ? (t.firstValue = Math.max(e.min, e.modelValue[0]), t.secondValue = Math.min(e.max, e.modelValue[1])) : (t.firstValue = e.min, t.secondValue = e.max), t.oldValue = [t.firstValue, t.secondValue]) : (!Ot(e.modelValue) || Number.isNaN(e.modelValue) ? t.firstValue = e.min : t.firstValue = Math.min(e.max, Math.max(e.min, e.modelValue)), t.oldValue = t.firstValue), nn(window, "resize", r), await Se(), r();
30728
+ e.range ? (xt(e.modelValue) ? (t.firstValue = Math.max(e.min, e.modelValue[0]), t.secondValue = Math.min(e.max, e.modelValue[1])) : (t.firstValue = e.min, t.secondValue = e.max), t.oldValue = [t.firstValue, t.secondValue]) : (!Ot(e.modelValue) || Number.isNaN(e.modelValue) ? t.firstValue = e.min : t.firstValue = Math.min(e.max, Math.max(e.min, e.modelValue)), t.oldValue = t.firstValue), nn(window, "resize", r), await xe(), r();
30729
30729
  }), {
30730
30730
  sliderWrapper: n
30731
30731
  };
@@ -31515,7 +31515,7 @@ const fDe = Qt(lDe, {
31515
31515
  });
31516
31516
  const _ = () => {
31517
31517
  const C = m.value ? n.inactiveValue : n.activeValue;
31518
- r(nr, C), r(pn, C), r(To, C), Se(() => {
31518
+ r(nr, C), r(pn, C), r(To, C), xe(() => {
31519
31519
  c.value.checked = m.value;
31520
31520
  });
31521
31521
  }, b = () => {
@@ -32373,7 +32373,7 @@ function ODe() {
32373
32373
  removeColumn(i, s, l, u) {
32374
32374
  const c = y(i._columns) || [];
32375
32375
  if (l)
32376
- l.children.splice(l.children.findIndex((f) => f.id === s.id), 1), Se(() => {
32376
+ l.children.splice(l.children.findIndex((f) => f.id === s.id), 1), xe(() => {
32377
32377
  var f;
32378
32378
  ((f = l.children) == null ? void 0 : f.length) === 0 && delete l.children;
32379
32379
  }), i._columns.value = FE(c, l);
@@ -32426,7 +32426,7 @@ function ODe() {
32426
32426
  throw new Error(`Action not found: ${i}`);
32427
32427
  },
32428
32428
  updateTableScrollY: function() {
32429
- Se(() => e.layout.updateScrollY.apply(e.layout));
32429
+ xe(() => e.layout.updateScrollY.apply(e.layout));
32430
32430
  }
32431
32431
  };
32432
32432
  }
@@ -32506,7 +32506,7 @@ class LDe {
32506
32506
  return;
32507
32507
  const n = this.table.vnode.el;
32508
32508
  if (t = CDe(t), this.height.value = Number(t), !n && (t || t === 0))
32509
- return Se(() => this.setHeight(t, r));
32509
+ return xe(() => this.setHeight(t, r));
32510
32510
  Ot(t) ? (n.style[r] = `${t}px`, this.updateElsHeight()) : Bt(t) && (n.style[r] = t, this.updateElsHeight());
32511
32511
  }
32512
32512
  setMaxHeight(t) {
@@ -33067,7 +33067,7 @@ var HDe = H({
33067
33067
  });
33068
33068
  };
33069
33069
  ke(u, d), Yt(async () => {
33070
- await Se(), await Se();
33070
+ await xe(), await xe();
33071
33071
  const { prop: A, order: M } = e.defaultSort;
33072
33072
  n == null || n.store.commit("sort", { prop: A, order: M, init: !0 }), d();
33073
33073
  });
@@ -33737,7 +33737,7 @@ function tOe(e, t, r, n) {
33737
33737
  b.value && t.updateElsHeight(), t.updateColumnsWidth(), requestAnimationFrame(T);
33738
33738
  };
33739
33739
  Yt(async () => {
33740
- await Se(), r.updateColumns(), A(), requestAnimationFrame(C);
33740
+ await xe(), r.updateColumns(), A(), requestAnimationFrame(C);
33741
33741
  const $ = n.vnode.el, V = n.refs.headerWrapper;
33742
33742
  e.flexible && $ && $.parentElement && ($.parentElement.style.minWidth = "0"), l.value = {
33743
33743
  width: d.value = $.offsetWidth,
@@ -35439,7 +35439,7 @@ const ek = Symbol("tableV2"), bY = String, B1 = {
35439
35439
  height: e.height
35440
35440
  })), l = R(() => Wo(y(e.headerHeight))), u = (f) => {
35441
35441
  const p = y(o);
35442
- Se(() => {
35442
+ xe(() => {
35443
35443
  p != null && p.scroll && p.scroll({
35444
35444
  left: f
35445
35445
  });
@@ -35657,7 +35657,7 @@ const FOe = ({ atXEndEdge: e, atXStartEdge: t, atYEndEdge: r, atYStartEdge: n },
35657
35657
  updateRequested: !0,
35658
35658
  xAxisScrollDir: pp(Le.scrollLeft, He),
35659
35659
  yAxisScrollDir: pp(Le.scrollTop, Ze)
35660
- }, Se(() => ce()), pe(), U();
35660
+ }, xe(() => ce()), pe(), U();
35661
35661
  }, Z = (ze, $e) => {
35662
35662
  const Be = y(k), Xe = (P.value - Be) / $e * ze;
35663
35663
  le({
@@ -35698,7 +35698,7 @@ const FOe = ({ atXEndEdge: e, atXStartEdge: t, atYEndEdge: r, atYStartEdge: n },
35698
35698
  scrollLeft: ze,
35699
35699
  scrollTop: $e,
35700
35700
  updateRequested: !0
35701
- }, Se(() => ce()), pe(), U());
35701
+ }, xe(() => ce()), pe(), U());
35702
35702
  }, _e = (ze = 0, $e = 0, Be = Rs) => {
35703
35703
  const Xe = y(A);
35704
35704
  $e = Math.max(0, Math.min($e, v.totalColumn - 1)), ze = Math.max(0, Math.min(ze, v.totalRow - 1));
@@ -35723,7 +35723,7 @@ const FOe = ({ atXEndEdge: e, atXStartEdge: t, atYEndEdge: r, atYStartEdge: n },
35723
35723
  }, Ze[nt];
35724
35724
  }
35725
35725
  }, ce = () => {
35726
- A.value.isScrolling = !1, Se(() => {
35726
+ A.value.isScrolling = !1, xe(() => {
35727
35727
  M.value(-1, null, null);
35728
35728
  });
35729
35729
  };
@@ -36332,7 +36332,7 @@ const nIe = (e) => {
36332
36332
  } = e, {
36333
36333
  height: v
36334
36334
  } = u.getBoundingClientRect();
36335
- r.value = !0, Se(() => {
36335
+ r.value = !0, xe(() => {
36336
36336
  if (l || v !== Number.parseInt(h.height)) {
36337
36337
  const g = c[0], m = (g == null ? void 0 : g.placeholderSign) === Uy;
36338
36338
  d == null || d({
@@ -37178,7 +37178,7 @@ const RIe = Qt(MIe), LIe = Qt(IIe), RC = Symbol("tabsRootContextKey"), PIe = et(
37178
37178
  }
37179
37179
  };
37180
37180
  ke(() => r.tabs, async () => {
37181
- await Se(), u(), d();
37181
+ await xe(), u(), d();
37182
37182
  }, { immediate: !0 });
37183
37183
  const f = qn(i, () => u());
37184
37184
  return bn(() => {
@@ -37246,7 +37246,7 @@ const FIe = et({
37246
37246
  const E = l.value;
37247
37247
  if (!d.value || !u.value || !s.value || !E)
37248
37248
  return;
37249
- await Se();
37249
+ await xe();
37250
37250
  const T = u.value.querySelector(".is-active");
37251
37251
  if (!T)
37252
37252
  return;
@@ -37412,7 +37412,7 @@ const FIe = et({
37412
37412
  };
37413
37413
  ke(() => e.modelValue, (m) => f(m)), ke(d, async () => {
37414
37414
  var m;
37415
- await Se(), (m = c.value) == null || m.scrollToActiveTab();
37415
+ await xe(), (m = c.value) == null || m.scrollToActiveTab();
37416
37416
  }), br(RC, {
37417
37417
  props: e,
37418
37418
  currentName: d,
@@ -40286,7 +40286,7 @@ const B9e = H({
40286
40286
  }), ke(() => e.node.checked, (T) => {
40287
40287
  v(T, e.node.indeterminate);
40288
40288
  }), ke(() => e.node.childNodes.length, () => e.node.reInitChecked()), ke(() => e.node.expanded, (T) => {
40289
- Se(() => o.value = T), T && (i.value = !0);
40289
+ xe(() => o.value = T), T && (i.value = !0);
40290
40290
  });
40291
40291
  const p = (T) => mk(a.props.nodeKey, T.data), h = (T) => {
40292
40292
  const A = e.props.class;
@@ -40319,7 +40319,7 @@ const B9e = H({
40319
40319
  t.emit("node-expand", e.node.data, e.node, d);
40320
40320
  }));
40321
40321
  }, b = (T, A) => {
40322
- e.node.setChecked(A.target.checked, !a.props.checkStrictly), Se(() => {
40322
+ e.node.setChecked(A.target.checked, !a.props.checkStrictly), xe(() => {
40323
40323
  const M = a.store.value;
40324
40324
  a.ctx.emit("check", e.node.data, {
40325
40325
  checkedNodes: M.getCheckedNodes(),
@@ -40799,7 +40799,7 @@ const jy = Qt(G9e), U9e = (e, { attrs: t, emit: r }, {
40799
40799
  }) => {
40800
40800
  const i = qe("tree-select");
40801
40801
  return ke(() => e.data, () => {
40802
- e.filterable && Se(() => {
40802
+ e.filterable && xe(() => {
40803
40803
  var l, u;
40804
40804
  (u = a.value) == null || u.filter((l = n.value) == null ? void 0 : l.states.inputValue);
40805
40805
  });
@@ -40823,7 +40823,7 @@ const jy = Qt(G9e), U9e = (e, { attrs: t, emit: r }, {
40823
40823
  const r = By.setup(e, t);
40824
40824
  delete r.selectOptionClick;
40825
40825
  const n = yr().proxy;
40826
- return Se(() => {
40826
+ return xe(() => {
40827
40827
  r.select.states.cachedOptions.get(n.value) || r.select.onOptionCreate(n);
40828
40828
  }), ke(() => t.attrs.visible, (a) => {
40829
40829
  r.states.visible = a;
@@ -40875,7 +40875,7 @@ const j9e = (e, { attrs: t, slots: r, emit: n }, {
40875
40875
  key: i
40876
40876
  }) => {
40877
40877
  ke(() => e.modelValue, () => {
40878
- e.showCheckbox && Se(() => {
40878
+ e.showCheckbox && xe(() => {
40879
40879
  const f = o.value;
40880
40880
  f && !qa(f.getCheckedKeys(), Vh(e.modelValue)) && f.setCheckedKeys(Vh(e.modelValue));
40881
40881
  });
@@ -40955,7 +40955,7 @@ const j9e = (e, { attrs: t, slots: r, emit: n }, {
40955
40955
  const w = W_([f], (S) => !yk(l("children", S)) && !l("disabled", S), (S) => l("children", S)), C = w ? l("value", w) : void 0, x = o5(e.modelValue) && !!W_([f], (S) => l("value", S) === e.modelValue, (S) => l("children", S));
40956
40956
  n(nr, C === e.modelValue || x ? void 0 : C);
40957
40957
  }
40958
- Se(() => {
40958
+ xe(() => {
40959
40959
  var w;
40960
40960
  const C = Vh(e.modelValue);
40961
40961
  o.value.setCheckedKeys(C), (w = t.onCheck) == null || w.call(t, f, {
@@ -40968,7 +40968,7 @@ const j9e = (e, { attrs: t, slots: r, emit: n }, {
40968
40968
  },
40969
40969
  onNodeExpand: (f, p, h) => {
40970
40970
  var v;
40971
- (v = t.onNodeExpand) == null || v.call(t, f, p, h), Se(() => {
40971
+ (v = t.onNodeExpand) == null || v.call(t, f, p, h), xe(() => {
40972
40972
  if (!e.checkStrictly && e.lazy && e.multiple && p.checked) {
40973
40973
  const g = {}, m = o.value.getCheckedKeys();
40974
40974
  G_([o.value.store.root], (w) => g[w.key] = w, (w) => w.childNodes);
@@ -41195,7 +41195,7 @@ const aq = {
41195
41195
  };
41196
41196
  function nLe(e, t) {
41197
41197
  const r = z(/* @__PURE__ */ new Set()), n = z(/* @__PURE__ */ new Set()), { emit: a } = yr();
41198
- ke([() => t.value, () => e.defaultCheckedKeys], () => Se(() => {
41198
+ ke([() => t.value, () => e.defaultCheckedKeys], () => xe(() => {
41199
41199
  _(e.defaultCheckedKeys);
41200
41200
  }), {
41201
41201
  immediate: !0
@@ -41284,7 +41284,7 @@ function nLe(e, t) {
41284
41284
  };
41285
41285
  }
41286
41286
  function g(b) {
41287
- r.value.clear(), n.value.clear(), Se(() => {
41287
+ r.value.clear(), n.value.clear(), xe(() => {
41288
41288
  _(b);
41289
41289
  });
41290
41290
  }
@@ -41508,7 +41508,7 @@ function oLe(e, t) {
41508
41508
  n.value = ie;
41509
41509
  }
41510
41510
  function ce(ie) {
41511
- Se(() => a.value = E(ie));
41511
+ xe(() => a.value = E(ie));
41512
41512
  }
41513
41513
  function pe(ie) {
41514
41514
  var Ee;
@@ -43591,7 +43591,7 @@ const xPe = et({
43591
43591
  l(d, t.href);
43592
43592
  };
43593
43593
  return ke(() => t.href, (d, f) => {
43594
- Se(() => {
43594
+ xe(() => {
43595
43595
  f && s(f), d && i({
43596
43596
  href: d,
43597
43597
  el: r.value
@@ -43937,7 +43937,7 @@ const RPe = Qt(IPe), LPe = (e, t) => {
43937
43937
  g(b);
43938
43938
  return;
43939
43939
  }
43940
- Se(() => m(C));
43940
+ xe(() => m(C));
43941
43941
  }, m = (b) => {
43942
43942
  var w, C, x, S;
43943
43943
  const { options: E } = n, T = E.findIndex((M) => M.value === b.value), A = (w = l.value) == null ? void 0 : w[T];
@@ -44077,7 +44077,7 @@ const GPe = H({
44077
44077
  const _e = q.slice(0, U) + q.slice(W + 1);
44078
44078
  r(nr, _e);
44079
44079
  const ue = U;
44080
- Se(() => {
44080
+ xe(() => {
44081
44081
  Z.selectionStart = ue, Z.selectionEnd = ue, M();
44082
44082
  });
44083
44083
  }
@@ -44108,7 +44108,7 @@ const GPe = H({
44108
44108
  const F = O.value, { split: L } = n, P = F.slice(p.value.end), W = P.startsWith(L), $ = `${k.value}${W ? "" : L}`, V = F.slice(0, p.value.start) + $ + P;
44109
44109
  r(nr, V), r("select", k, p.value.prefix);
44110
44110
  const U = p.value.start + $.length + (W ? 1 : 0);
44111
- Se(() => {
44111
+ xe(() => {
44112
44112
  O.selectionStart = U, O.selectionEnd = U, O.focus(), M();
44113
44113
  });
44114
44114
  }, E = () => {
@@ -44116,7 +44116,7 @@ const GPe = H({
44116
44116
  return n.type === "textarea" ? (k = l.value) == null ? void 0 : k.textarea : (O = l.value) == null ? void 0 : O.input;
44117
44117
  }, T = () => {
44118
44118
  setTimeout(() => {
44119
- A(), M(), Se(() => {
44119
+ A(), M(), xe(() => {
44120
44120
  var k;
44121
44121
  return (k = u.value) == null ? void 0 : k.updatePopper();
44122
44122
  });
@@ -44383,7 +44383,7 @@ function HS(e, t) {
44383
44383
  const eNe = {
44384
44384
  async mounted(e, t) {
44385
44385
  const { instance: r, value: n } = t;
44386
- cr(n) || ia(Ms, "'v-infinite-scroll' binding value must be a function"), await Se();
44386
+ cr(n) || ia(Ms, "'v-infinite-scroll' binding value must be a function"), await xe();
44387
44387
  const { delay: a, immediate: o } = wk(e, r), i = YA(e, !0), s = i === window ? document.documentElement : i, l = Ap(JPe.bind(null, e, n), a);
44388
44388
  if (i) {
44389
44389
  if (e[Ms] = {
@@ -44409,7 +44409,7 @@ const eNe = {
44409
44409
  },
44410
44410
  async updated(e) {
44411
44411
  if (!e[Ms])
44412
- await Se();
44412
+ await xe();
44413
44413
  else {
44414
44414
  const { containerEl: t, cb: r, observer: n } = e[Ms];
44415
44415
  t.clientHeight && n && HS(e, r);
@@ -44526,7 +44526,7 @@ const u5 = function(e = {}) {
44526
44526
  });
44527
44527
  aNe(t, t.parent, r), mL(t, t.parent, r), t.parent.vLoadingAddClassList = () => mL(t, t.parent, r);
44528
44528
  let n = t.parent.getAttribute("loading-number");
44529
- return n ? n = `${Number.parseInt(n) + 1}` : n = "1", t.parent.setAttribute("loading-number", n), t.parent.appendChild(r.$el), Se(() => r.visible.value = t.visible), t.fullscreen && (rb = r), r;
44529
+ return n ? n = `${Number.parseInt(n) + 1}` : n = "1", t.parent.setAttribute("loading-number", n), t.parent.appendChild(r.$el), xe(() => r.visible.value = t.visible), t.fullscreen && (rb = r), r;
44530
44530
  }, nNe = (e) => {
44531
44531
  var t, r, n, a;
44532
44532
  let o;
@@ -44550,7 +44550,7 @@ const u5 = function(e = {}) {
44550
44550
  if (e.fullscreen)
44551
44551
  r.originalPosition.value = fc(document.body, "position"), r.originalOverflow.value = fc(document.body, "overflow"), a.zIndex = n();
44552
44552
  else if (e.parent === document.body) {
44553
- r.originalPosition.value = fc(document.body, "position"), await Se();
44553
+ r.originalPosition.value = fc(document.body, "position"), await xe();
44554
44554
  for (const o of ["top", "left"]) {
44555
44555
  const i = o === "top" ? "scrollTop" : "scrollLeft";
44556
44556
  a[o] = `${e.target.getBoundingClientRect()[o] + document.body[i] + document.documentElement[i] - Number.parseInt(fc(document.body, `margin-${o}`), 10)}px`;
@@ -44906,7 +44906,7 @@ const bl = UG(wg, "$message"), c5 = "_trap-focus-children", vp = [], _L = (e) =>
44906
44906
  e[c5] = DR(e), vp.push(e), vp.length <= 1 && document.addEventListener("keydown", _L);
44907
44907
  },
44908
44908
  updated(e) {
44909
- Se(() => {
44909
+ xe(() => {
44910
44910
  e[c5] = DR(e);
44911
44911
  });
44912
44912
  },
@@ -45020,22 +45020,22 @@ const bl = UG(wg, "$message"), c5 = "_trap-focus-children", vp = [], _L = (e) =>
45020
45020
  return { [a.bm("icon", P)]: P && zd[P] };
45021
45021
  }), d = go(), f = go(), p = R(() => u.icon || zd[u.type] || ""), h = R(() => !!u.message), v = z(), g = z(), m = z(), _ = z(), b = z(), w = R(() => u.confirmButtonClass);
45022
45022
  ke(() => u.inputValue, async (P) => {
45023
- await Se(), e.boxType === "prompt" && P !== null && k();
45023
+ await xe(), e.boxType === "prompt" && P !== null && k();
45024
45024
  }, { immediate: !0 }), ke(() => l.value, (P) => {
45025
45025
  var W, $;
45026
- P && (e.boxType !== "prompt" && (u.autofocus ? m.value = ($ = (W = b.value) == null ? void 0 : W.$el) != null ? $ : v.value : m.value = v.value), u.zIndex = s()), e.boxType === "prompt" && (P ? Se().then(() => {
45026
+ P && (e.boxType !== "prompt" && (u.autofocus ? m.value = ($ = (W = b.value) == null ? void 0 : W.$el) != null ? $ : v.value : m.value = v.value), u.zIndex = s()), e.boxType === "prompt" && (P ? xe().then(() => {
45027
45027
  var V;
45028
45028
  _.value && _.value.$el && (u.autofocus ? m.value = (V = O()) != null ? V : v.value : m.value = v.value);
45029
45029
  }) : (u.editorErrorMessage = "", u.validateError = !1));
45030
45030
  });
45031
45031
  const C = R(() => e.draggable), x = R(() => e.overflow);
45032
45032
  ej(v, g, C, x), Yt(async () => {
45033
- await Se(), e.closeOnHashChange && window.addEventListener("hashchange", S);
45033
+ await xe(), e.closeOnHashChange && window.addEventListener("hashchange", S);
45034
45034
  }), bn(() => {
45035
45035
  e.closeOnHashChange && window.removeEventListener("hashchange", S);
45036
45036
  });
45037
45037
  function S() {
45038
- l.value && (l.value = !1, Se(() => {
45038
+ l.value && (l.value = !1, xe(() => {
45039
45039
  u.action && t("action", u.action);
45040
45040
  }));
45041
45041
  }
@@ -46579,7 +46579,7 @@ const zNe = {
46579
46579
  { name: "黑金", value: "black-gold" }
46580
46580
  ], Rr = () => K_[YNe()], YNe = () => Dn.state["gui-theme"] || "white-blue", nb = Rr(), f5 = {
46581
46581
  start: function(e = "body", t = "sm") {
46582
- Se(() => {
46582
+ xe(() => {
46583
46583
  const r = e ? document.querySelector(e) : document.body;
46584
46584
  if (!r)
46585
46585
  return;
@@ -46613,7 +46613,7 @@ const zNe = {
46613
46613
  });
46614
46614
  },
46615
46615
  done: function(e, t = 0) {
46616
- Se(() => {
46616
+ xe(() => {
46617
46617
  setTimeout(() => {
46618
46618
  globalThis.gui.loading = f5, document.body.style.overflow = "";
46619
46619
  const r = e ? document.querySelector(`${e} .loading-next`) : document.querySelector(".loading-next");
@@ -48522,7 +48522,7 @@ class jS {
48522
48522
  }
48523
48523
  }
48524
48524
  loadStaticData(t) {
48525
- this.data = t, Se(() => {
48525
+ this.data = t, xe(() => {
48526
48526
  this.trigger("load", this.data);
48527
48527
  });
48528
48528
  }
@@ -93143,8 +93143,8 @@ const Uu = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAABfCAYAAAAjzQNcAA
93143
93143
  window.removeEventListener("resize", m);
93144
93144
  }), Ni(() => {
93145
93145
  v(), o.value = null;
93146
- }), Yt(() => {
93147
- p.value = n.theme, h(p.value);
93146
+ }), Yt(async () => {
93147
+ await xe(), p.value = n.theme, h(p.value);
93148
93148
  });
93149
93149
  const h = (C) => {
93150
93150
  o.value = i.init(a.value, C), d.value && f.value && i.registerMap(d.value, f.value), s("chart", o.value), _(c.value), b(), dit(a.value, m);
@@ -93157,13 +93157,13 @@ const Uu = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAABfCAYAAAAjzQNcAA
93157
93157
  }, m = uR(
93158
93158
  async () => {
93159
93159
  var C;
93160
- await Se(), (C = o.value) == null || C.resize();
93160
+ await xe(), (C = o.value) == null || C.resize();
93161
93161
  },
93162
93162
  300,
93163
93163
  !0
93164
93164
  ), _ = uR(
93165
93165
  async (C) => {
93166
- o.value && (await Se(), o.value.setOption(C), m());
93166
+ o.value && (await xe(), o.value.setOption(C), m());
93167
93167
  },
93168
93168
  300,
93169
93169
  !0
@@ -93180,19 +93180,19 @@ const Uu = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAABfCAYAAAAjzQNcAA
93180
93180
  return ke(
93181
93181
  c,
93182
93182
  async (C) => {
93183
- await Se(), g(), _(C);
93183
+ C && (await xe(), g(), _(C));
93184
93184
  },
93185
93185
  { deep: !0 }
93186
93186
  ), ke(
93187
93187
  () => n.theme,
93188
93188
  async (C) => {
93189
- await Se(), v(), h(C);
93189
+ await xe(), v(), h(C);
93190
93190
  },
93191
93191
  { deep: !0 }
93192
93192
  ), ke(
93193
93193
  () => n["gui-theme"],
93194
93194
  async (C) => {
93195
- await Se(), v(), h(n.theme);
93195
+ await xe(), v(), h(n.theme);
93196
93196
  },
93197
93197
  { deep: !0 }
93198
93198
  ), t({ myChart: o }), (C, x) => (D(), B("div", Nt({ class: "g-chart" }, C.$attrs), [
@@ -93222,7 +93222,7 @@ const Uu = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAABfCAYAAAAjzQNcAA
93222
93222
  for (const [n, a] of t)
93223
93223
  r[n] = a;
93224
93224
  return r;
93225
- }, vit = /* @__PURE__ */ ma(hit, [["__scopeId", "data-v-322ab29e"]]), ar = (e, t) => (e.install = (r) => {
93225
+ }, vit = /* @__PURE__ */ ma(hit, [["__scopeId", "data-v-1da8477a"]]), ar = (e, t) => (e.install = (r) => {
93226
93226
  for (const n of [e, ...Object.values({})])
93227
93227
  r.component(n.name, n);
93228
93228
  }, e), git = ar(vit), mit = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABcAAAAiCAYAAAC0nUK+AAAAAXNSR0IArs4c6QAABO5JREFUSEvtlm1sU1UYx3/n3rZrmaOwsaEskzGHIwQ3cMAHRqKIQRIngxgIMRGFKBJRUBIjMX5AkIQXhyTIJESiJIQEEjOXhSBxGzOEmYgOeXWT4DpYB4O9uEHXduvt0XPvStvRbcBnz6fm9Jzf85z/+T/PuYIEY97+s7vcLr1ga/FkjDDsqvHg7QlSWpJnrt5R/TdNnQHKlk5FAF/+7MHT6R998u1nZ8Xi1H/3jXn762vdLvtzCh4OS0prPXi7gpQuseDbq5po7vSzd9kAvLaZ1qCDE6/lxPH+hz+MLL+fcrsccx9G8xv9Ln5cPnFkzZ//5uziMU57+daXcx/oQnef8uK59c/2mtUzN47olsiC8+3+NqGJjNKTTcO5pe9al7+wODf14mDbJXRL7KKLXYGqL05en+/t9MVZ0dMVpGzplAsFaa78RHZWcyPCZcOaF+o6Jr61qWHhzNLFU6TatK2qiRTZcnpf/pHvxdQDxx4d3vhuPXllhQJMcOyQjWsviry90x4JLq+8n0Q47BN5e23yW5ykYjdBnfSLlQRk43ut3OnLFTP39yYKMKws8sz8HEJ9Ddw+bccuIDyA0MAMY8u7wKiMFWJ27R8PDJfqLiq0w9jEckJDHTomkMGvCONFUcKdYa0oK8lEaC0YMYfS7GB3Q2oRGHeh+wL0d0G4P8pyAQFjmljEpchknCyynGyS9Sb8kaycMH0PpEwGGdEkZmvoDpx5Hfq7rUkHYIgiURyqi7OiPIpOkuYDkWQaY2wh5O9KAE0gU1s1NGwGocMoIGikimK67mUuy/Xv0HjDBKfOhmd2PhjYTFGDK9vBe8z6DTWixJhvwuVRnsStNxNQRxsHcyogHEx8k5pG6wefM279mzgmTrDWqIzbK+DqIQjcsuTpNVRtgKzQPv1vxRbCBkzfDWNmJAQHLl2lY98hZMgg4+N3cGRnRi3TdtgKcvkr0HQ1f3AAbmsE+TT2MTD3OBiRG43GkIaBd/0WJuzcyI2NO0n/cFUU7jsPvj9B2KDpCATaVcrtFvwnXaJqzJ1vuUMaQ5tbCLzrNkfhWhLcPKQo1p62Oug6Z7YtISWCaj2MT8ITr8DkDcNXTSx8UhZ0HIfQgBXVzu5GaK02L1aYFkzVQyY8dQZM2020zhPEicA3rMYx+jL0345f1P0XtFZZcFOWSl2afSM5C7KKwTUJ3HMGKnBQMxQ63nWbSF/5FI4Jtvujx8piuUWvAeahOyFvtWVDdfN6CjjGg+a0IMGbEO7B+1k96Ssn4chUNR8zlMeby6H3hpL85oBb9FVoHDA/r7JfBdf4mB2xmQvzefFuuTwEXFlxT6SQvrbgqldn6n6zpzjckLsivinFZQfezZdIX5UTn7k66fVKuHsNkoC7xqxo+f+gfYImthKWkFYAGUVRew1SNujxYX/cheY0S90anefgVh0IIZFUiRJjQXxXrNCvAVmmZ9MKYXzR0CeIQFXGHfUWWGmmshbGY+IlfIPgpCD0HrMepARnGmQuAGc6hNWrEaO/qkajF1pOgK9FZQzJqqfYc8SiQJOKfd8zJ0+QTMD2G0JOsYIY4BgLznGQNNbKN+QDfxv42yN9RM32EbbniSUBz71DDVWOstL2EVLuMMPfeycimcfklAL0UCYWG2sHs0b+bqnQ1oBYCLIARPYAQEn3C4hT9IW2iWUkbEb/AgjkQJpKWiYWAAAAAElFTkSuQmCC", yit = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABcAAAAiCAYAAAC0nUK+AAAAAXNSR0IArs4c6QAABQRJREFUSEvtVktIo1cUPjfJH/Py0ehiYnxUY0bGWiRWGxupYkoZ66IuBKGL0u2AUNGCYMEiSne2VCiMWbiwIHQ9Fo0PYh2pmoeuxqZ0Qm0yEhMf4yMx5mG85VzzZxKNWrvugV/0/iff+c53vnMNgQzxwjHTy4m4KlVpGcAFwJ7PA5FIFIpKK1i23+eB6FkY1GUPQQCX76ORqPxR7ePPUuFIJvDfN2Z+FQm5ZlVJOVBKYW/HA9FoFNQ8uNcNsUgYisoq2cf3dl6BTCIGlcaQhvc/+H1kMS+JhKKm+2gul2bBg/IP7tb8j42ZL4Ui8eiD4rJ/NdCjfR+cBgPmR7Wtn9zpFkzwvHRo8vLf2iCE5Ox63Te6RSgUwuGe/4uiCv1PV52X0S2pSYHXfz3f83k+jEQiV6wYgaK3H/rPCVQqlZrjTJa+E/zZ/HxJoYKYFZK4tDDhc+wkEon53P54T1tb21omYDy7E3xhYWFRoVC0NzQ0nFwFsVgs80aj8eP/BG4ymTitVhs1Go2EUkpcLpcYgba3t+MtLS3nFotlVyKRlBoMhrN7y7K0tFRMKbVJpdIDmUz2zsXFBcMghMDZ2ZkzFov9GY/H+5ubm533ArdarU+kUunTcDh8U9fsXCwWQzgc/sFsNn81ODh4WT0R1zTf3NwUh0KhIKWUS00UCATAcZdHsViM+R8fPkQiEf6qrq2t9WYEn5qakqnV6tPz8/Nk+yqVCgoKCtKAeGlOTk7A7XYn30mlUuzi3fr6+hfX3GKz2WIAwChkZWVBZWXlNdBMGnk8Hjg+vrQ6duByuUSdnZ3xpCxWq7WXEPIdJshkMtBoNLdqnaYtIbC1tQWBQIAdU0qn9Hr9pwzc4XDkSiSSo1AoBLjO1dXVwDuDB5mcnARkiFFVVQXt7e1vBkcI7O7uwv7+PqCk2HUsFnuPgfOscUDl5eWgUCjSWI+MjEBxcTF0dHSw84mJCTg9PYXu7m4mGw7b6/VCPB6Hg4MDZlVK6RgDt9lsvwGAIRPrw8NDMJlM0N/fn9Qf84aHh6GnpwdwiNgxDhdBERyLAMA+A19fX6d4IJfLmda8xTB5dXUVVlZWoLe3N812Q0NDjDl26ff7kzIGg0FcsEu34Vo7nc4LPFQqlaBWq9MkSS3Ev7DZbGA2m2FgYACwM/znzQcCIxYPLnA6nXE8QOao+U2BnSwvL8Pc3Bz09fWx4V3dYPybdw3vForuwFXOy8uDnJwcZsfUDcTtHB0dZdp2dXUx0IS2aVxQfxw2Y54YqBUA3sdB5efnJx2AC4EDw7bHxsagpqYG6urqGOOb4ujoiF0PAPCagdvt9h5K6ffIFMGxCB/Y0fj4OLS2tkJJScmtG4uyod8T8TMDn56ezqqoqAhjVWSLg+Ulwc1bXFwErVabBozvDQZD8jJDHNQa5ZJIJGjPN18FrFbrt4SQrzEJB4uaY/h8PsCiVwPBsWDiNmRS8HmUUqter29I3i2UUoHdbsfLm92rWAAfBMF2MwXfHc4k9eIKBoOFTU1NO2mfcjgcKpFI5OV9iw7Jzc1l653qHL4QFkX38HbEhQoEAh/p9XpL0i2prNbW1ooEAsErQnC/KP5gFsX28UFAdAvKgCT4rpBIKBRqbmxsfJ4sfpOl7Hb70+zs7CfI7LbA2YRCoV84jvtcp9OlDefWrxazs7NypVL5DaX0MQDUpBahlL4khDzjOO5HnU73dyYC/wAsHe5mVuipnwAAAABJRU5ErkJggg==", bit = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABcAAAAiCAYAAAC0nUK+AAAAAXNSR0IArs4c6QAABfRJREFUSEvtlntMU1ccx7/nPnuh4AvlIQJLRRQlbs45dahThwbnZIXo3MOZ/eETZ6ImW3zENIuoy6buodNl7o+5mKhMXrrpZlDmNBHGdDMqoqAg0lqgLdRC29vee5d7C4Ui+NjfO380uef8zuf3O7/z/f1OCfoYVQdWrWf48NT49A8A+GGpLIT4sAWJM5Zp1uq3p60RibPXgFK/LxfB52wKT1mx7+2eONInfP/qMkYXPmPEtKVQFAWWP4/D57IhYWYnvDwfXqcVSRm5AAgeVBZCkJyIeW9XCO9/+DOk5UDu7wwfNv1Zch4mOxH97lPk/Oa3uWsZPvzL+PT3n+pCbX+XwNVqOT162b7MJ6pFNbCWHjEMSBx7GUCkuaJ/tdA0g6abZUvj5+Ue6q28PtXS08hde+28pfz4NJ+rpZcUm1QpWt2UmDLYMLGtL0k/Ea7ULkmw3x1yuuWOJCTM6ta55LM9GDlJXEdSD17qC6zOPRlelXsOTGsWST7s7A1RqlefISnfZPwnuFK5nEUkJ5JRe4migJz6OpNTQRV2t2QylfmVW7lNELhEMmKP+5nTYqtYPYLIUsX5s802gWPGyoqiMdTjekR/1chR+lsx8fzGqCkHq54JXrzNuJLnmf1en9TfqbV5lqHg8/u/uCI+v8FkMsmPleIx00KO52QXoLBdhoQQUBQNQR+pTbldTsiyDEXpZjEUBb9HHJ5lKjEH9/X0dML0Rhgl8O1+KbCJEAqpE9LxXMr4EFBgjcBqrsdff/wCWQqcTscx8Hl9afM3F157RC3F27N9ABh1QT9gCGbOf0eL8HFDdXL54m8w11drt8HQFNorCbMoP18KSrF4e856QNmlggZFxeKVOTla6T/NUB1UlhXjgblBM1cUnHhzc8ECDX5s58IBA1nS6vb6wXI6ZC5aAUnyh3ALj/6AxoZ6bS559DjMnZ8dXFfT9+D2JVy/dg1utxscS6NDlF7U4MXbjOtBkV2yLGHKazmIih4e3ChJEvZ+/gnGT3gZ6TPVeiHIP/w9HLYWrN6wRQuTohk0XC2FV/Th+o0qUBSlzh/Q4EV52RcJwVSW5ZG5eBUkv5r6wLh/rw4lPx1G7oYtwTTRNI0vdm7FsjUfQScIcNkb0WapAUXTuFFVDY/HAyho0eAnd+Yokqxg8NA4TM1Qc919iX6/X3PG64SgQ5plsSdvM5av/RhCmB7mqguQpUBAjWYzmpttAbWpZV265y253SMiwTAOaZNe7fcObc1WiKIXp4rzERufiHlZC9FSdxWedkdwj91uR/29+5pUiWIyUaWRVVK7x4dh0TF4aVZOv/CiYz9C9HphbrwH4+KliGRFdLQ1h9g77A7U3WsIwNWVkh05iiq7iAg9RhoMGBiXjPBBcVBkSTPqkqSqCvXb9dCO7/buxoK508FxwULWnFitTTBbrCCks+UW5RnLCSGTOI7DuLFjtIqjGA68EIlzF8uRMjoVBkMyxA4HPC4H/GIHTvx6AVMmpiFqyMAekiSoqbmDhy4XFMDeGblxnaKQ3WqEqWNSwPN8cEPN3QZU19Tj9Yz04BzLMjhadAaZs6dC0HXbatV65R/tdACOaL9ffZjJp40c6HG2eyEIAkanJAdToTos+PmcFqEhKR6SJOP6zVro9WGYPvmFkHyrF+lwOMCzNESvNCVY/kXbs/MIsEmFxcXFInrY0OBGWVZQ12CGxdoChqaRlBCLmGFRIe2ho8ON6lu3u6Iuz9pUMDkIV1VTwl31qC1apcbGxiAmelgIgKKIWhzoejQ0LRPA+dCF2tq7WjAMTeDxK3E5mwssIW/o8bzsWIGhzL7Olhuh1yMpMQEMyzzSxLQeTyjcrauHzW7XIg7XsXB6xdnZGwvPao57i/r4p9nxrIQGBBRI1JYbGRGBsLAw6HS81jc8Xg9crg44nc5AH1GPS1Pw+eQZWVsKzncx+339i3cY9+t1/EqXWwz679Z79zaBZ+D2SidlUVpiNBW19gz2sX8tDn02J3yAT78VwFwA40NOSXAbMkpkittr3Hikrq+y/heoYPkNLz8/aQAAAABJRU5ErkJggg==", _it = { class: "funds-ranking-list" }, wit = { class: "left" }, Cit = ["src"], xit = ["src"], Sit = ["src"], Eit = {
@@ -93299,7 +93299,7 @@ const Uu = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAABfCAYAAAAjzQNcAA
93299
93299
  {
93300
93300
  deep: !0
93301
93301
  }
93302
- ), Se(async () => {
93302
+ ), xe(async () => {
93303
93303
  u.value = or(r.dbOptions.data), u.value.on("load", (f) => {
93304
93304
  f && d(f);
93305
93305
  });
@@ -93436,7 +93436,7 @@ const Uu = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAABfCAYAAAAjzQNcAA
93436
93436
  {
93437
93437
  deep: !0
93438
93438
  }
93439
- ), Se(async () => {
93439
+ ), xe(async () => {
93440
93440
  u.value = or(r.dbOptions.data), u.value.on("load", (f) => {
93441
93441
  d(f);
93442
93442
  });
@@ -93614,7 +93614,7 @@ const Uu = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAABfCAYAAAAjzQNcAA
93614
93614
  {
93615
93615
  deep: !0
93616
93616
  }
93617
- ), Se(async () => {
93617
+ ), xe(async () => {
93618
93618
  c.value = or(r.dbOptions.data), c.value.on("load", (w) => {
93619
93619
  w && p(w);
93620
93620
  });
@@ -93800,7 +93800,7 @@ const Uu = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAABfCAYAAAAjzQNcAA
93800
93800
  {
93801
93801
  deep: !0
93802
93802
  }
93803
- ), Se(async () => {
93803
+ ), xe(async () => {
93804
93804
  d.value = or(r.dbOptions.data), d.value.on("load", (g) => {
93805
93805
  g && v(g);
93806
93806
  });
@@ -94079,14 +94079,14 @@ const Uu = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAABfCAYAAAAjzQNcAA
94079
94079
  ), ke(
94080
94080
  () => n["gui-theme"],
94081
94081
  async (C) => {
94082
- _.value = null, Se(async () => {
94082
+ _.value = null, xe(async () => {
94083
94083
  u++, _.value = or(l.dbOptions.data), b(_.value.data), _.value.on("load", (x) => {
94084
94084
  b(x);
94085
94085
  });
94086
94086
  });
94087
94087
  },
94088
94088
  { deep: !0 }
94089
- ), Se(async () => {
94089
+ ), xe(async () => {
94090
94090
  _.value = or(l.dbOptions.data), _.value.on("load", (C) => {
94091
94091
  b(C);
94092
94092
  });
@@ -94155,7 +94155,7 @@ const Uu = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAABfCAYAAAAjzQNcAA
94155
94155
  },
94156
94156
  setup(e, { expose: t }) {
94157
94157
  Il((S) => ({
94158
- "6b6ea508": _.value
94158
+ "4116bcf1": _.value
94159
94159
  }));
94160
94160
  const r = e, n = z(!1), a = z({}), o = z([]), i = z(0), s = z(null), l = {
94161
94161
  "提前/按时完成": {
@@ -94230,7 +94230,7 @@ const Uu = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAABfCAYAAAAjzQNcAA
94230
94230
  return u.notYetDue.remark;
94231
94231
  }
94232
94232
  }, w = (S) => new Date(S).getTime() < (/* @__PURE__ */ new Date()).getTime(), C = () => {
94233
- Se(() => {
94233
+ xe(() => {
94234
94234
  if (i.value > 3) {
94235
94235
  let S = s.value;
94236
94236
  window.testBox = S, S.scrollLeft = (i.value - 3) * 235;
@@ -94271,7 +94271,7 @@ const Uu = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAABfCAYAAAAjzQNcAA
94271
94271
  {
94272
94272
  deep: !0
94273
94273
  }
94274
- ), Se(async () => {
94274
+ ), xe(async () => {
94275
94275
  p.value = or(r.dbOptions.data), p.value.on("load", (S) => {
94276
94276
  S && x(S);
94277
94277
  });
@@ -94381,7 +94381,7 @@ const Uu = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAABfCAYAAAAjzQNcAA
94381
94381
  ], 64);
94382
94382
  };
94383
94383
  }
94384
- }), Vst = /* @__PURE__ */ ma(Nst, [["__scopeId", "data-v-2437a980"]]), Bst = ar(Vst), Fst = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAJOSURBVHgB7ZjbbdswFIZ/skVQ9EkjuBM42kD2k6G+tBPUGzidwMoGzgRNJ2he6gYo0HAD2+kC6gZ+6lNB9pAyClmUeJHdXJB8QGJJOKI+8XJ4bOCZRwZDT1aTbEAfGTgGUEh2rW3xB2s6L9PvYo0eRAmtsizhrzADY1O6c+AMJikodSmBz+m1KHFsoc0km4OzMzpMEItUxfBanIeEeoX00HDGvlDkKQ6BekwqNfL1FguQufEOzxGl2J3JBErxrvtiZKRUb/RfSKxu00yBrue2Xfw5Gc9jeka/bcxK0vNxlWcFQoT0UEmuzvCf4WAznUbs6zYZ+izteBK8hvXilhCN7xx3BPXSB/taDbMdHHtVuRnstqB2oYOTXx+4mSK10zr3IYT9EeF4YDx+IcnURxpb785N28NFFRvHy8Z56Ynfpl/FQh9s8jH9V60pQkKdp99EYeLejub/Crg2FPYKOd5oScBNcpuPP+mD4fJH0dZTRmZZydxOKFZ5kqxLSO9HCvjlvl9Nu6SaMoqrKdxYe6A1hxjYJTzYUhWRMmaeNa9ZQvJELkyxHiFVJ1TGPEPhCj6h9EpQILtAAE2pYBlUvdNWsnRWjJt8tKKPsMxNE5PktoyxDGGUw+VNa0HXmYeoAnwPfxqooC0nRobaHnU35cDU1ZxKWRytAjAyrurSman1jbu3KXE4a5+MJvyLYj4uwNTMm+jsJ5hFUk8P7vAITDH1Au+4YjN4hlEnWJ3T5G+5SIXwppFeQntyeXZqfmiQtBLrPzbo4T2BoPRR4pmnwF/jahGPZ+zHnQAAAABJRU5ErkJggg==", $st = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAKKSURBVHgB7ZhBbtNAFIbfzDhRFyxyA5xdBUEKN0iXkA05QVoRkFg1N2g4AekKiRY1nCBCEFgSToClRohdzQ3M1vHM403aSm6c8YzT1Gql/ovEGT/bn948v/knAPe6Y2KwprbH7/1KtdpCpXwFrKbHOGDEkAVSqPB3+3UAa6gQkD8+qT2oqn26aBcB/bxYBAgpbpjE889/Om9C2DRQY/LxgB7Tp8MaFFNEjxnO2i/fugRbgba/n/hCyTEFNuEa0hmT8XzHli1mhUH1g2H+9GwSipUF4wrFTRcWg8Gf9OH0VlEGfK9aGZvOrwTSBewKwxh8mrVftWbt3lN9DG5qNr4cDVbeb3lAT5Wn5C9weJs0wOnz3m567Mm34xEidMGuyItFPejsRenBTIaETF6sC6OlxxwzVUu8pL88mJ0yzvehAMx5fzrX5bErFHLWzQXS02WrnSwMDlKPGBSB0gWulyAjUGUubc0vMsOshoJFpzaLC9FK//au3Iph09Ira4+/HvU55w8RsW8OW0ABovoHlnrkjPlGIBcxxt4RjEMkDigWiorDLdPtBmKch1CytKFL/74CJDifQskScm4GCp7thfT1F0oSlXwYLK362RpSOIKyJFXGRWaAvMQbgqWZbUKUnUhIOQUb0GL1VXgINyzaJBwGK0yasXM1Jsfagjj5aNpZ1GFrC8i2nLnE69o5bffqq84Z+5DHRYc6bQgOIgd4VgRGkIXNOW9Wk1Z/SVYWN+SrL2GCHJOf26l1GxCM77hmyqLABqNVYKOoPTA7gILSb5MuYPLdA8d4d+kpTFRCxot3HaaRGiyOvNgbLvvmjQGl9WjyoSkk9y881IXnoT8baD2cx/G0yH7+Xnda/wEnsSndVBsOjwAAAABJRU5ErkJggg==", zst = { class: "reach-table-head" }, Hst = { class: "txt" }, Wst = { class: "name" }, Gst = {
94384
+ }), Vst = /* @__PURE__ */ ma(Nst, [["__scopeId", "data-v-11c564a2"]]), Bst = ar(Vst), Fst = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAJOSURBVHgB7ZjbbdswFIZ/skVQ9EkjuBM42kD2k6G+tBPUGzidwMoGzgRNJ2he6gYo0HAD2+kC6gZ+6lNB9pAyClmUeJHdXJB8QGJJOKI+8XJ4bOCZRwZDT1aTbEAfGTgGUEh2rW3xB2s6L9PvYo0eRAmtsizhrzADY1O6c+AMJikodSmBz+m1KHFsoc0km4OzMzpMEItUxfBanIeEeoX00HDGvlDkKQ6BekwqNfL1FguQufEOzxGl2J3JBErxrvtiZKRUb/RfSKxu00yBrue2Xfw5Gc9jeka/bcxK0vNxlWcFQoT0UEmuzvCf4WAznUbs6zYZ+izteBK8hvXilhCN7xx3BPXSB/taDbMdHHtVuRnstqB2oYOTXx+4mSK10zr3IYT9EeF4YDx+IcnURxpb785N28NFFRvHy8Z56Ynfpl/FQh9s8jH9V60pQkKdp99EYeLejub/Crg2FPYKOd5oScBNcpuPP+mD4fJH0dZTRmZZydxOKFZ5kqxLSO9HCvjlvl9Nu6SaMoqrKdxYe6A1hxjYJTzYUhWRMmaeNa9ZQvJELkyxHiFVJ1TGPEPhCj6h9EpQILtAAE2pYBlUvdNWsnRWjJt8tKKPsMxNE5PktoyxDGGUw+VNa0HXmYeoAnwPfxqooC0nRobaHnU35cDU1ZxKWRytAjAyrurSman1jbu3KXE4a5+MJvyLYj4uwNTMm+jsJ5hFUk8P7vAITDH1Au+4YjN4hlEnWJ3T5G+5SIXwppFeQntyeXZqfmiQtBLrPzbo4T2BoPRR4pmnwF/jahGPZ+zHnQAAAABJRU5ErkJggg==", $st = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAKKSURBVHgB7ZhBbtNAFIbfzDhRFyxyA5xdBUEKN0iXkA05QVoRkFg1N2g4AekKiRY1nCBCEFgSToClRohdzQ3M1vHM403aSm6c8YzT1Gql/ovEGT/bn948v/knAPe6Y2KwprbH7/1KtdpCpXwFrKbHOGDEkAVSqPB3+3UAa6gQkD8+qT2oqn26aBcB/bxYBAgpbpjE889/Om9C2DRQY/LxgB7Tp8MaFFNEjxnO2i/fugRbgba/n/hCyTEFNuEa0hmT8XzHli1mhUH1g2H+9GwSipUF4wrFTRcWg8Gf9OH0VlEGfK9aGZvOrwTSBewKwxh8mrVftWbt3lN9DG5qNr4cDVbeb3lAT5Wn5C9weJs0wOnz3m567Mm34xEidMGuyItFPejsRenBTIaETF6sC6OlxxwzVUu8pL88mJ0yzvehAMx5fzrX5bErFHLWzQXS02WrnSwMDlKPGBSB0gWulyAjUGUubc0vMsOshoJFpzaLC9FK//au3Iph09Ira4+/HvU55w8RsW8OW0ABovoHlnrkjPlGIBcxxt4RjEMkDigWiorDLdPtBmKch1CytKFL/74CJDifQskScm4GCp7thfT1F0oSlXwYLK362RpSOIKyJFXGRWaAvMQbgqWZbUKUnUhIOQUb0GL1VXgINyzaJBwGK0yasXM1Jsfagjj5aNpZ1GFrC8i2nLnE69o5bffqq84Z+5DHRYc6bQgOIgd4VgRGkIXNOW9Wk1Z/SVYWN+SrL2GCHJOf26l1GxCM77hmyqLABqNVYKOoPTA7gILSb5MuYPLdA8d4d+kpTFRCxot3HaaRGiyOvNgbLvvmjQGl9WjyoSkk9y881IXnoT8baD2cx/G0yH7+Xnda/wEnsSndVBsOjwAAAABJRU5ErkJggg==", zst = { class: "reach-table-head" }, Hst = { class: "txt" }, Wst = { class: "name" }, Gst = {
94385
94385
  key: 1,
94386
94386
  class: "name"
94387
94387
  }, Ust = {
@@ -94447,9 +94447,7 @@ const Uu = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAABfCAYAAAAjzQNcAA
94447
94447
  // align: "right",
94448
94448
  width: 160
94449
94449
  };
94450
- s.value.unshift({ title: "", field: "name", tag: "", align: "right", width: 130 }), r.dbOptions.columns.find(
94451
- (b) => b.field === r.dbOptions.nodeNameField
94452
- );
94450
+ s.value.unshift({ title: "", field: "name", tag: "", align: "right", width: 130 });
94453
94451
  const _ = r.dbOptions.displayNodes && r.dbOptions.displayNodes.length > 0 ? p.value.filter(
94454
94452
  (b) => r.dbOptions.displayNodes.includes(b[r.dbOptions.nodeCodeField])
94455
94453
  ) : p.value;
@@ -94498,7 +94496,7 @@ const Uu = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAABfCAYAAAAjzQNcAA
94498
94496
  {
94499
94497
  deep: !0
94500
94498
  }
94501
- ), Se(async () => {
94499
+ ), xe(async () => {
94502
94500
  h.value = or(r.dbOptions.data), h.value.on("load", (g) => {
94503
94501
  v(g);
94504
94502
  });
@@ -94582,7 +94580,7 @@ const Uu = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAABfCAYAAAAjzQNcAA
94582
94580
  ], 64);
94583
94581
  };
94584
94582
  }
94585
- }), Qst = /* @__PURE__ */ ma(Zst, [["__scopeId", "data-v-eb4543c9"]]), Jst = ar(Qst), elt = {
94583
+ }), Qst = /* @__PURE__ */ ma(Zst, [["__scopeId", "data-v-fde9b87f"]]), Jst = ar(Qst), elt = {
94586
94584
  formatter: (e) => isNaN(e) ? "" : e < 10 ? `0${e}` : e.toString()
94587
94585
  };
94588
94586
  function G$(e = "YYYY-MM-DD hh:mm:ss", t = "") {
@@ -94929,7 +94927,7 @@ const olt = (e, t) => {
94929
94927
  {
94930
94928
  deep: !0
94931
94929
  }
94932
- ), Se(async () => {
94930
+ ), xe(async () => {
94933
94931
  u.value = or(a.dbOptions.data), u.value.on("load", (f) => {
94934
94932
  c(f);
94935
94933
  });
@@ -95131,14 +95129,14 @@ const olt = (e, t) => {
95131
95129
  ), ke(
95132
95130
  () => n["gui-theme"],
95133
95131
  async (v) => {
95134
- d.value = null, Se(async () => {
95132
+ d.value = null, xe(async () => {
95135
95133
  l++, d.value = or(o.dbOptions.data), p(d.value.data), d.value.on("load", (g) => {
95136
95134
  p(g);
95137
95135
  });
95138
95136
  });
95139
95137
  },
95140
95138
  { deep: !0 }
95141
- ), Se(async () => {
95139
+ ), xe(async () => {
95142
95140
  d.value = or(o.dbOptions.data), d.value.on("load", (v) => {
95143
95141
  p(v);
95144
95142
  });
@@ -95356,14 +95354,14 @@ const olt = (e, t) => {
95356
95354
  ), ke(
95357
95355
  () => n["gui-theme"],
95358
95356
  async (v) => {
95359
- c.value = null, Se(async () => {
95357
+ c.value = null, xe(async () => {
95360
95358
  i++, c.value = or(o.dbOptions.data), p(c.value.data), c.value.on("load", (g) => {
95361
95359
  p(g);
95362
95360
  });
95363
95361
  });
95364
95362
  },
95365
95363
  { deep: !0 }
95366
- ), Se(async () => {
95364
+ ), xe(async () => {
95367
95365
  c.value = or(o.dbOptions.data), c.value.on("load", (v) => {
95368
95366
  p(v);
95369
95367
  });
@@ -95626,14 +95624,14 @@ const olt = (e, t) => {
95626
95624
  ), ke(
95627
95625
  () => n["gui-theme"],
95628
95626
  async (x) => {
95629
- d.value = null, Se(async () => {
95627
+ d.value = null, xe(async () => {
95630
95628
  c++, d.value = or(s.dbOptions.data), b(d.value.data), d.value.on("load", (S) => {
95631
95629
  b(S);
95632
95630
  });
95633
95631
  });
95634
95632
  },
95635
95633
  { deep: !0 }
95636
- ), Se(async () => {
95634
+ ), xe(async () => {
95637
95635
  d.value = or(s.dbOptions.data), d.value.on("load", (x) => {
95638
95636
  b(x);
95639
95637
  });
@@ -95826,14 +95824,14 @@ const olt = (e, t) => {
95826
95824
  ), ke(
95827
95825
  () => n["gui-theme"],
95828
95826
  async (v) => {
95829
- u.value = null, Se(async () => {
95827
+ u.value = null, xe(async () => {
95830
95828
  i++, u.value = or(o.dbOptions.data), p(u.value.data), u.value.on("load", (g) => {
95831
95829
  p(g);
95832
95830
  });
95833
95831
  });
95834
95832
  },
95835
95833
  { deep: !0 }
95836
- ), Se(async () => {
95834
+ ), xe(async () => {
95837
95835
  u.value = or(o.dbOptions.data), u.value.on("load", (v) => {
95838
95836
  p(v);
95839
95837
  });
@@ -95990,14 +95988,14 @@ const olt = (e, t) => {
95990
95988
  ), ke(
95991
95989
  () => n["gui-theme"],
95992
95990
  async (b) => {
95993
- f.value = null, Se(async () => {
95991
+ f.value = null, xe(async () => {
95994
95992
  l++, f.value = or(o.dbOptions.data), m(f.value.data), f.value.on("load", (w) => {
95995
95993
  m(w);
95996
95994
  });
95997
95995
  });
95998
95996
  },
95999
95997
  { deep: !0 }
96000
- ), Se(async () => {
95998
+ ), xe(async () => {
96001
95999
  f.value = or(o.dbOptions.data), f.value.on("load", (b) => {
96002
96000
  m(b);
96003
96001
  });
@@ -96022,7 +96020,7 @@ const olt = (e, t) => {
96022
96020
  ]);
96023
96021
  };
96024
96022
  }
96025
- }), qlt = /* @__PURE__ */ ma(Ylt, [["__scopeId", "data-v-ae641d74"]]), Xlt = ar(qlt), Z$ = Rr(), xm = document.documentElement, Zlt = (e) => e || "-", Qlt = (e) => e || "", Jlt = (e) => e || "", eut = (e, t) => ({
96023
+ }), qlt = /* @__PURE__ */ ma(Ylt, [["__scopeId", "data-v-6757647c"]]), Xlt = ar(qlt), Z$ = Rr(), xm = document.documentElement, Zlt = (e) => e || "-", Qlt = (e) => e || "", Jlt = (e) => e || "", eut = (e, t) => ({
96026
96024
  backgroundColor: Z$.chartOption.backgroundColor,
96027
96025
  color: JSON.parse(getComputedStyle(xm).getPropertyValue("--ui-chart-colors")),
96028
96026
  tooltip: {
@@ -96161,14 +96159,14 @@ const olt = (e, t) => {
96161
96159
  ), ke(
96162
96160
  () => n["gui-theme"],
96163
96161
  async (_) => {
96164
- h.value = null, Se(async () => {
96162
+ h.value = null, xe(async () => {
96165
96163
  l++, h.value = or(o.dbOptions.data), g(h.value.data), h.value.on("load", (b) => {
96166
96164
  g(b);
96167
96165
  });
96168
96166
  });
96169
96167
  },
96170
96168
  { deep: !0 }
96171
- ), Se(async () => {
96169
+ ), xe(async () => {
96172
96170
  h.value = or(o.dbOptions.data), h.value.on("load", (_) => {
96173
96171
  g(_);
96174
96172
  });
@@ -96276,14 +96274,14 @@ const olt = (e, t) => {
96276
96274
  ), ke(
96277
96275
  () => n["gui-theme"],
96278
96276
  async (v) => {
96279
- f.value = null, Se(async () => {
96277
+ f.value = null, xe(async () => {
96280
96278
  i++, f.value = or(o.dbOptions.data), p(f.value.data), f.value.on("load", (g) => {
96281
96279
  p(g);
96282
96280
  });
96283
96281
  });
96284
96282
  },
96285
96283
  { deep: !0 }
96286
- ), Se(async () => {
96284
+ ), xe(async () => {
96287
96285
  f.value = or(o.dbOptions.data), f.value.on("load", (v) => {
96288
96286
  p(v);
96289
96287
  });
@@ -96562,7 +96560,7 @@ const vut = /* @__PURE__ */ Vl(hut), gut = ["id"], mut = /* @__PURE__ */ H({
96562
96560
  {
96563
96561
  deep: !0
96564
96562
  }
96565
- ), Se(async () => {
96563
+ ), xe(async () => {
96566
96564
  s.value = or(n.dbOptions.data), s.value.on("load", (f) => {
96567
96565
  c(f), u();
96568
96566
  });
@@ -96641,15 +96639,15 @@ const vut = /* @__PURE__ */ Vl(hut), gut = ["id"], mut = /* @__PURE__ */ H({
96641
96639
  emits: ["click"],
96642
96640
  setup(e, { expose: t, emit: r }) {
96643
96641
  Il((A) => ({
96644
- "546cbc2c": l.value,
96645
- "0ff543de": u.value,
96646
- a2478166: c.value,
96647
- "043fd852": d.value,
96648
- "034c5599": f.value,
96649
- "5489aebd": g.value,
96650
- f1dfcab8: h.value,
96651
- "7b4e4c2a": v.value,
96652
- cddfa7b4: m.value
96642
+ "57a0331d": l.value,
96643
+ e613fbe2: u.value,
96644
+ "5c197188": c.value,
96645
+ "00061001": d.value,
96646
+ "6a4ffe88": f.value,
96647
+ "58bb2d6e": g.value,
96648
+ "0410d8d5": h.value,
96649
+ "83c1dccc": v.value,
96650
+ "1610ea57": m.value
96653
96651
  }));
96654
96652
  const n = Rr(), a = e, o = R(() => a.bg && a.type != "default" ? `g-target-s-top-${a.size} g-target-s-${a.type} g-target-s-bg` : a.border && !a.bg ? `g-target-s-top-${a.size} g-target-s-${a.type} g-target-s-border` : `g-target-s-top-${a.size} g-target-s-${a.type}`), i = R(() => a.bg && a.type != "default" ? `g-target-s-bottom-${a.size} g-target-s-${a.type} g-target-s-bg` : a.border && !a.bg ? `g-target-s-bottom-${a.size} g-target-s-${a.type} g-target-s-border` : `g-target-s-bottom-${a.size} g-target-s-${a.type}`), s = R(() => a.bg && a.type != "default" ? `g-target-s-left-${a.size} g-target-s-${a.type} g-target-s-bg` : a.border && !a.bg ? `g-target-s-left-${a.size} g-target-s-${a.type} g-target-s-border` : `g-target-s-left-${a.size} g-target-s-${a.type}`), l = R(() => a.border ? "1px solid" : "0"), u = R(() => a.border ? "var(--border-radius-base)" : ""), c = R(() => a.bg ? n.name.includes("white") ? `var(--color-${a.type}-lights-7)` : `var(--color-${a.type}-lights-6)` : ""), d = R(() => a.bg ? `var(--color-${a.type})` : ""), f = R(() => a.border ? `var(--color-${a.type})` : ""), p = R(() => {
96655
96653
  if (a.aspect)
@@ -96668,7 +96666,7 @@ const vut = /* @__PURE__ */ Vl(hut), gut = ["id"], mut = /* @__PURE__ */ H({
96668
96666
  border: "none"
96669
96667
  };
96670
96668
  } else {
96671
- if (a.boder)
96669
+ if (a.border)
96672
96670
  return {
96673
96671
  right: 0,
96674
96672
  "border-radius": "0 var(--border-radius-base) 0 calc(var(--border-radius-base) * 0.6)"
@@ -96710,7 +96708,7 @@ const vut = /* @__PURE__ */ Vl(hut), gut = ["id"], mut = /* @__PURE__ */ H({
96710
96708
  {
96711
96709
  deep: !0
96712
96710
  }
96713
- ), Se(async () => {
96711
+ ), xe(async () => {
96714
96712
  C.value = or(a.dbOptions.data), C.value.on("load", (A) => {
96715
96713
  E(A);
96716
96714
  });
@@ -96887,7 +96885,7 @@ const vut = /* @__PURE__ */ Vl(hut), gut = ["id"], mut = /* @__PURE__ */ H({
96887
96885
  ], 64);
96888
96886
  };
96889
96887
  }
96890
- }), $ut = /* @__PURE__ */ ma(Fut, [["__scopeId", "data-v-3e4d5c82"]]), zut = ar($ut), Hut = { class: "left" }, Wut = { class: "right" }, Gut = { class: "top" }, Uut = { class: "bottom" }, Kut = H({
96888
+ }), $ut = /* @__PURE__ */ ma(Fut, [["__scopeId", "data-v-c263245b"]]), zut = ar($ut), Hut = { class: "left" }, Wut = { class: "right" }, Gut = { class: "top" }, Uut = { class: "bottom" }, Kut = H({
96891
96889
  name: "GTargetR"
96892
96890
  }), jut = /* @__PURE__ */ H({
96893
96891
  ...Kut,
@@ -96947,14 +96945,14 @@ const vut = /* @__PURE__ */ Vl(hut), gut = ["id"], mut = /* @__PURE__ */ H({
96947
96945
  },
96948
96946
  setup(e, { expose: t }) {
96949
96947
  Il((O) => ({
96950
- "2793940b": v.value,
96951
- "2d8dd686": C.value,
96952
- "1e8f1ffa": g.value,
96953
- "0db47ad4": w.value,
96954
- "4495fb18": b.value,
96955
- "5ae7e374": p.value,
96956
- "1a58690f": d.value,
96957
- "31374b8e": f.value
96948
+ "3972e58c": v.value,
96949
+ "09821adc": C.value,
96950
+ "23e54c0a": g.value,
96951
+ "27092f1a": w.value,
96952
+ a5998716: b.value,
96953
+ e5f0445a: p.value,
96954
+ e8f31060: d.value,
96955
+ "07ad6058": f.value
96958
96956
  }));
96959
96957
  let r = Dn.state;
96960
96958
  const n = Rr(), a = document.documentElement, o = e, i = z({
@@ -96979,12 +96977,7 @@ const vut = /* @__PURE__ */ Vl(hut), gut = ["id"], mut = /* @__PURE__ */ H({
96979
96977
  border: "none"
96980
96978
  };
96981
96979
  }
96982
- });
96983
- R(() => {
96984
- if (o.aspect)
96985
- return `var(--color-${o.type}-lights-1)`;
96986
- });
96987
- const b = R(() => {
96980
+ }), b = R(() => {
96988
96981
  if (o.aspect)
96989
96982
  return o.type != "default" ? `var(--color-${o.type})` : "var(--color-primary)";
96990
96983
  }), w = R(() => {
@@ -97056,14 +97049,14 @@ const vut = /* @__PURE__ */ Vl(hut), gut = ["id"], mut = /* @__PURE__ */ H({
97056
97049
  ), ke(
97057
97050
  () => r["gui-theme"],
97058
97051
  async (O) => {
97059
- T.value = null, Se(async () => {
97052
+ T.value = null, xe(async () => {
97060
97053
  T.value = or(o.dbOptions.data), M(T.value.data), T.value.on("load", (F) => {
97061
97054
  M(F);
97062
97055
  });
97063
97056
  });
97064
97057
  },
97065
97058
  { deep: !0 }
97066
- ), Se(async () => {
97059
+ ), xe(async () => {
97067
97060
  T.value = or(o.dbOptions.data), T.value.on("load", (O) => {
97068
97061
  M(O);
97069
97062
  });
@@ -97160,7 +97153,7 @@ const vut = /* @__PURE__ */ Vl(hut), gut = ["id"], mut = /* @__PURE__ */ H({
97160
97153
  ], 64);
97161
97154
  };
97162
97155
  }
97163
- }), Yut = /* @__PURE__ */ ma(jut, [["__scopeId", "data-v-c3e8f1c6"]]), qut = ar(Yut), Xut = { class: "outbox" }, Zut = { class: "inbox" }, Qut = { class: "top" }, Jut = {
97156
+ }), Yut = /* @__PURE__ */ ma(jut, [["__scopeId", "data-v-bb513d3f"]]), qut = ar(Yut), Xut = { class: "outbox" }, Zut = { class: "inbox" }, Qut = { class: "top" }, Jut = {
97164
97157
  key: 0,
97165
97158
  class: "title"
97166
97159
  }, ect = { class: "bottom" }, tct = { class: "field" }, rct = {
@@ -97298,7 +97291,7 @@ const vut = /* @__PURE__ */ Vl(hut), gut = ["id"], mut = /* @__PURE__ */ H({
97298
97291
  {
97299
97292
  deep: !0
97300
97293
  }
97301
- ), Se(async () => {
97294
+ ), xe(async () => {
97302
97295
  C.value = or(a.dbOptions.data), C.value.on("load", (E) => {
97303
97296
  S(E);
97304
97297
  });
@@ -97500,13 +97493,13 @@ const vut = /* @__PURE__ */ Vl(hut), gut = ["id"], mut = /* @__PURE__ */ H({
97500
97493
  setup(e, { expose: t, emit: r }) {
97501
97494
  var x;
97502
97495
  Il((S) => ({
97503
- a81100ec: u.value,
97504
- "754857e8": v.value,
97505
- 16105052: l.value,
97506
- "558bb80a": g.value,
97507
- "171ddaca": p.value,
97508
- "5ac65f82": d.value,
97509
- "1b10fd66": f.value
97496
+ "56d9f390": u.value,
97497
+ "15b8b7d4": v.value,
97498
+ "61b23be4": l.value,
97499
+ c069d4ae: g.value,
97500
+ "6445a5c9": p.value,
97501
+ "4abca8a0": d.value,
97502
+ "75ea1142": f.value
97510
97503
  }));
97511
97504
  const n = Rr(), a = z(null), o = e, i = R(() => {
97512
97505
  if (o.bg)
@@ -97550,9 +97543,7 @@ const vut = /* @__PURE__ */ Vl(hut), gut = ["id"], mut = /* @__PURE__ */ H({
97550
97543
  right: 0,
97551
97544
  "border-radius": "0 var(--border-radius-base) 0 calc(var(--border-radius-base) * 0.6)"
97552
97545
  };
97553
- });
97554
- R(() => o.aspect ? "calc(var(--layout-padding-default) * 2.1)" : "0");
97555
- const v = R(() => o.aspect ? "var(--border-radius-base)" : "none"), g = R(() => {
97546
+ }), v = R(() => o.aspect ? "var(--border-radius-base)" : "none"), g = R(() => {
97556
97547
  if (o.fontSizeLevel == 1)
97557
97548
  return "calc(var(--font-size-base) * 1.71)";
97558
97549
  if (o.fontSizeLevel == 2)
@@ -97835,14 +97826,14 @@ const vut = /* @__PURE__ */ Vl(hut), gut = ["id"], mut = /* @__PURE__ */ H({
97835
97826
  ), ke(
97836
97827
  () => n["gui-theme"],
97837
97828
  async (p) => {
97838
- c.value = null, Se(async () => {
97829
+ c.value = null, xe(async () => {
97839
97830
  i++, c.value = or(o.dbOptions.data), d(c.value.data), c.value.on("load", (h) => {
97840
97831
  d(h);
97841
97832
  });
97842
97833
  });
97843
97834
  },
97844
97835
  { deep: !0 }
97845
- ), Se(async () => {
97836
+ ), xe(async () => {
97846
97837
  c.value = or(o.dbOptions.data), c.value.on("load", (p) => {
97847
97838
  d(p);
97848
97839
  });
@@ -97997,14 +97988,14 @@ const vut = /* @__PURE__ */ Vl(hut), gut = ["id"], mut = /* @__PURE__ */ H({
97997
97988
  ), ke(
97998
97989
  () => n["gui-theme"],
97999
97990
  async (_) => {
98000
- v.value = null, Se(async () => {
97991
+ v.value = null, xe(async () => {
98001
97992
  i++, v.value = or(o.dbOptions.data), g(v.value.data), v.value.on("load", (b) => {
98002
97993
  g(b);
98003
97994
  });
98004
97995
  });
98005
97996
  },
98006
97997
  { deep: !0 }
98007
- ), Se(async () => {
97998
+ ), xe(async () => {
98008
97999
  v.value = or(o.dbOptions.data), v.value.on("load", (_) => {
98009
98000
  g(_);
98010
98001
  });
@@ -98226,14 +98217,14 @@ const vut = /* @__PURE__ */ Vl(hut), gut = ["id"], mut = /* @__PURE__ */ H({
98226
98217
  ), ke(
98227
98218
  () => r["gui-theme"],
98228
98219
  async (M) => {
98229
- E.value = null, Se(async () => {
98220
+ E.value = null, xe(async () => {
98230
98221
  E.value = or(a.dbOptions.data), A(E.value.data), E.value.on("load", (k) => {
98231
98222
  A(k);
98232
98223
  });
98233
98224
  });
98234
98225
  },
98235
98226
  { deep: !0 }
98236
- ), Se(async () => {
98227
+ ), xe(async () => {
98237
98228
  E.value = or(a.dbOptions.data), E.value.on("load", (M) => {
98238
98229
  A(M);
98239
98230
  });
@@ -102703,7 +102694,7 @@ const { getI18n: TSt, renderer: KH, renderEmptyElement: F8 } = st, fv = "body",
102703
102694
  rt && (be.preventDefault(), i.lastScrollTop = Ct, i.lastScrollLeft = Mt, o.lastScrollTime = Date.now(), (ut.isHover || ze) && t.clearHoverRow(), ge(be, bt, He, St, rt), $e && t.triggerScrollYEvent(be));
102704
102695
  };
102705
102696
  return Yt(() => {
102706
- Se(() => {
102697
+ xe(() => {
102707
102698
  const { fixedType: be } = e, { elemStore: Ve } = i, Ne = `${be || "main"}-body-`;
102708
102699
  Ve[`${Ne}wrapper`] = F, Ve[`${Ne}table`] = L, Ve[`${Ne}colgroup`] = P, Ve[`${Ne}list`] = W, Ve[`${Ne}xSpace`] = $, Ve[`${Ne}ySpace`] = V, Ve[`${Ne}emptyBlock`] = U;
102709
102700
  });
@@ -103028,7 +103019,7 @@ const { getI18n: TSt, renderer: KH, renderEmptyElement: F8 } = st, fv = "body",
103028
103019
  ]);
103029
103020
  };
103030
103021
  return ke(() => e.tableColumn, x), Yt(() => {
103031
- Se(() => {
103022
+ xe(() => {
103032
103023
  const { fixedType: M } = e, { internalData: k } = t, { elemStore: O } = k, F = `${M || "main"}-header-`;
103033
103024
  O[`${F}wrapper`] = g, O[`${F}table`] = m, O[`${F}colgroup`] = _, O[`${F}list`] = b, O[`${F}xSpace`] = w, O[`${F}repair`] = C, x();
103034
103025
  });
@@ -103229,7 +103220,7 @@ const XH = H({
103229
103220
  ]);
103230
103221
  };
103231
103222
  return Yt(() => {
103232
- Se(() => {
103223
+ xe(() => {
103233
103224
  const { fixedType: C } = e, { elemStore: x } = o, S = `${C || "main"}-footer-`;
103234
103225
  x[`${S}wrapper`] = f, x[`${S}table`] = p, x[`${S}colgroup`] = h, x[`${S}list`] = v, x[`${S}xSpace`] = g;
103235
103226
  });
@@ -104218,7 +104209,7 @@ const XH = H({
104218
104209
  const me = c.value;
104219
104210
  return ["modal", "drawer", "popup"].includes(`${me.mode}`) ? ce() : ue();
104220
104211
  };
104221
- return process.env.NODE_ENV === "development" && Se(() => {
104212
+ return process.env.NODE_ENV === "development" && xe(() => {
104222
104213
  const me = c.value, { mode: ge } = me;
104223
104214
  t || Zt("vxe.error.reqComp", ["vxe-modal"]), !r && ge === "drawer" && Zt("vxe.error.reqComp", ["vxe-drawer"]), n || Zt("vxe.error.reqComp", ["vxe-button"]), a || Zt("vxe.error.reqComp", ["vxe-number-input"]), o || Zt("vxe.error.reqComp", ["vxe-radio-group"]);
104224
104215
  }), pe;
@@ -104393,7 +104384,7 @@ const XH = H({
104393
104384
  Object.assign(m, eoe(w), { file: w });
104394
104385
  }).catch((b) => b);
104395
104386
  }, p = () => {
104396
- Se(() => {
104387
+ xe(() => {
104397
104388
  const m = s.value;
104398
104389
  m && m.focus();
104399
104390
  });
@@ -104524,7 +104515,7 @@ const XH = H({
104524
104515
  }
104525
104516
  }) : ae();
104526
104517
  };
104527
- return process.env.NODE_ENV === "development" && Se(() => {
104518
+ return process.env.NODE_ENV === "development" && xe(() => {
104528
104519
  t || Zt("vxe.error.reqComp", ["vxe-modal"]), r || Zt("vxe.error.reqComp", ["vxe-button"]), n || Zt("vxe.error.reqComp", ["vxe-select"]);
104529
104520
  }), g;
104530
104521
  }
@@ -104571,7 +104562,7 @@ const XH = H({
104571
104562
  F.disabled || (F.checked = O, F.halfChecked = !1);
104572
104563
  }), u.isAll = O, _();
104573
104564
  }, C = () => {
104574
- Se(() => {
104565
+ xe(() => {
104575
104566
  const k = d.value, O = f.value, F = c.value, L = k || O || F;
104576
104567
  L && L.focus();
104577
104568
  }), _();
@@ -104876,7 +104867,7 @@ const XH = H({
104876
104867
  }
104877
104868
  }) : ae();
104878
104869
  };
104879
- return process.env.NODE_ENV === "development" && Se(() => {
104870
+ return process.env.NODE_ENV === "development" && xe(() => {
104880
104871
  t || Zt("vxe.error.reqComp", ["vxe-modal"]), r || Zt("vxe.error.reqComp", ["vxe-button"]), n || Zt("vxe.error.reqComp", ["vxe-select"]), a || Zt("vxe.error.reqComp", ["vxe-input"]), o || Zt("vxe.error.reqComp", ["vxe-checkbox"]);
104881
104872
  }), M;
104882
104873
  }
@@ -105479,10 +105470,10 @@ const XH = H({
105479
105470
  const { visibleColumn: I } = c, G = C.value, Y = G ? G.$el : null;
105480
105471
  if (Y) {
105481
105472
  const { scrollLeft: Q, clientWidth: re } = Y, ve = Q + re;
105482
- let he = -1, Ce = 0, xe = 0;
105483
- for (let Ie = 0, Oe = I.length; Ie < Oe && (Ce += I[Ie].renderWidth, he === -1 && Q < Ce && (he = Ie), !(he >= 0 && (xe++, Ce > ve))); Ie++)
105473
+ let he = -1, Ce = 0, Se = 0;
105474
+ for (let Ie = 0, Oe = I.length; Ie < Oe && (Ce += I[Ie].renderWidth, he === -1 && Q < Ce && (he = Ie), !(he >= 0 && (Se++, Ce > ve))); Ie++)
105484
105475
  ;
105485
- return { toVisibleIndex: Math.max(0, he), visibleSize: Math.max(6, xe) };
105476
+ return { toVisibleIndex: Math.max(0, he), visibleSize: Math.max(6, Se) };
105486
105477
  }
105487
105478
  return { toVisibleIndex: 0, visibleSize: 6 };
105488
105479
  }, Rt = () => {
@@ -105497,10 +105488,10 @@ const XH = H({
105497
105488
  }, Gt = () => {
105498
105489
  const { showOverflow: I } = e, { scrollYStore: G, afterFullData: Y, fullAllDataRowIdData: Q } = c, re = C.value, ve = re ? re.$el : null, { rowHeight: he } = G;
105499
105490
  if (ve) {
105500
- const { scrollTop: Ce, clientHeight: xe } = ve, Ie = Ce + xe;
105491
+ const { scrollTop: Ce, clientHeight: Se } = ve, Ie = Ce + Se;
105501
105492
  let Oe = -1, Ge = 0, Pe = 0;
105502
105493
  if (I)
105503
- Oe = Math.floor(Ce / he), Pe = Math.ceil(xe / he) + 1;
105494
+ Oe = Math.floor(Ce / he), Pe = Math.ceil(Se / he) + 1;
105504
105495
  else
105505
105496
  for (let Ke = 0, Ye = Y.length; Ke < Ye; Ke++) {
105506
105497
  const Fe = Y[Ke], Qe = wt(oe, Fe), yt = Q[Qe];
@@ -105512,28 +105503,28 @@ const XH = H({
105512
105503
  return { toVisibleIndex: 0, visibleSize: 8 };
105513
105504
  }, tr = (I, G, Y) => {
105514
105505
  for (let Q = 0, re = I.length; Q < re; Q++) {
105515
- const ve = I[Q], { startIndex: he, endIndex: Ce } = G, xe = ve[Y], Ie = ve[Y + "span"], Oe = xe + Ie;
105516
- xe < he && he < Oe && (G.startIndex = xe), xe < Ce && Ce < Oe && (G.endIndex = Oe), (G.startIndex !== he || G.endIndex !== Ce) && (Q = -1);
105506
+ const ve = I[Q], { startIndex: he, endIndex: Ce } = G, Se = ve[Y], Ie = ve[Y + "span"], Oe = Se + Ie;
105507
+ Se < he && he < Oe && (G.startIndex = Se), Se < Ce && Ce < Oe && (G.endIndex = Oe), (G.startIndex !== he || G.endIndex !== Ce) && (Q = -1);
105517
105508
  }
105518
105509
  }, En = (I, G, Y) => {
105519
105510
  if (I) {
105520
105511
  const { treeConfig: Q } = e, { visibleColumn: re } = c;
105521
105512
  X.isArray(I) || (I = [I]), Q && I.length && Zt("vxe.error.noTree", ["merge-cells | merge-footer-items"]), I.forEach((ve) => {
105522
- let { row: he, col: Ce, rowspan: xe, colspan: Ie } = ve;
105523
- if (Y && X.isNumber(he) && (he = Y[he]), X.isNumber(Ce) && (Ce = re[Ce]), (Y ? he : X.isNumber(he)) && Ce && (xe || Ie) && (xe = X.toNumber(xe) || 1, Ie = X.toNumber(Ie) || 1, xe > 1 || Ie > 1)) {
105513
+ let { row: he, col: Ce, rowspan: Se, colspan: Ie } = ve;
105514
+ if (Y && X.isNumber(he) && (he = Y[he]), X.isNumber(Ce) && (Ce = re[Ce]), (Y ? he : X.isNumber(he)) && Ce && (Se || Ie) && (Se = X.toNumber(Se) || 1, Ie = X.toNumber(Ie) || 1, Se > 1 || Ie > 1)) {
105524
105515
  const Oe = X.findIndexOf(G, (Pe) => (Pe._row === he || wt(oe, Pe._row) === wt(oe, he)) && (Pe._col.id === Ce || Pe._col.id === Ce.id)), Ge = G[Oe];
105525
105516
  if (Ge)
105526
- Ge.rowspan = xe, Ge.colspan = Ie, Ge._rowspan = xe, Ge._colspan = Ie;
105517
+ Ge.rowspan = Se, Ge.colspan = Ie, Ge._rowspan = Se, Ge._colspan = Ie;
105527
105518
  else {
105528
105519
  const Pe = Y ? oe.findRowIndexOf(Y, he) : he, Ke = d.getVTColumnIndex(Ce);
105529
105520
  G.push({
105530
105521
  row: Pe,
105531
105522
  col: Ke,
105532
- rowspan: xe,
105523
+ rowspan: Se,
105533
105524
  colspan: Ie,
105534
105525
  _row: he,
105535
105526
  _col: Ce,
105536
- _rowspan: xe,
105527
+ _rowspan: Se,
105537
105528
  _colspan: Ie
105538
105529
  });
105539
105530
  }
@@ -105545,9 +105536,9 @@ const XH = H({
105545
105536
  if (I) {
105546
105537
  const { treeConfig: re } = e, { visibleColumn: ve } = c;
105547
105538
  X.isArray(I) || (I = [I]), re && I.length && Zt("vxe.error.noTree", ["merge-cells | merge-footer-items"]), I.forEach((he) => {
105548
- let { row: Ce, col: xe } = he;
105549
- Y && X.isNumber(Ce) && (Ce = Y[Ce]), X.isNumber(xe) && (xe = ve[xe]);
105550
- const Ie = X.findIndexOf(G, (Oe) => (Oe._row === Ce || wt(oe, Oe._row) === wt(oe, Ce)) && (Oe._col.id === xe || Oe._col.id === xe.id));
105539
+ let { row: Ce, col: Se } = he;
105540
+ Y && X.isNumber(Ce) && (Ce = Y[Ce]), X.isNumber(Se) && (Se = ve[Se]);
105541
+ const Ie = X.findIndexOf(G, (Oe) => (Oe._row === Ce || wt(oe, Oe._row) === wt(oe, Ce)) && (Oe._col.id === Se || Oe._col.id === Se.id));
105551
105542
  if (Ie > -1) {
105552
105543
  const Oe = G.splice(Ie, 1);
105553
105544
  Q.push(Oe[0]);
@@ -105575,13 +105566,13 @@ const XH = H({
105575
105566
  let { collectColumn: G } = c;
105576
105567
  const { resizableData: Y, sortData: Q, visibleData: re, fixedData: ve } = I;
105577
105568
  let he = !1;
105578
- Y || Q || re || ve ? (X.eachTree(G, (Ce, xe, Ie, Oe, Ge) => {
105569
+ Y || Q || re || ve ? (X.eachTree(G, (Ce, Se, Ie, Oe, Ge) => {
105579
105570
  const Pe = Ce.getKey();
105580
105571
  Ge || (ve && ve[Pe] !== void 0 && (Ce.fixed = ve[Pe]), Q && X.isNumber(Q[Pe]) && (he = !0, Ce.renderSortNumber = Q[Pe])), Y && X.isNumber(Y[Pe]) && (Ce.resizeWidth = Y[Pe]), re && X.isBoolean(re[Pe]) && (Ce.visible = re[Pe]);
105581
105572
  }), he && (G = X.orderBy(G, "renderSortNumber"), c.collectColumn = G, c.tableFullColumn = I2(G)), u.isCustomStatus = !0) : u.isCustomStatus = !1;
105582
105573
  }, ff = () => {
105583
- const { customConfig: I } = e, G = pe.value, Y = Hn.value, { storage: Q, restoreStore: re } = Y, ve = Q === !0, he = ve ? {} : Object.assign({}, Q || {}), Ce = ve || he.resizable, xe = ve || he.visible, Ie = ve || he.fixed, Oe = ve || he.sort;
105584
- if ((I ? Vr(Y) : Y.enabled) && (Ce || xe || Ie || Oe)) {
105574
+ const { customConfig: I } = e, G = pe.value, Y = Hn.value, { storage: Q, restoreStore: re } = Y, ve = Q === !0, he = ve ? {} : Object.assign({}, Q || {}), Ce = ve || he.resizable, Se = ve || he.visible, Ie = ve || he.fixed, Oe = ve || he.sort;
105575
+ if ((I ? Vr(Y) : Y.enabled) && (Ce || Se || Ie || Oe)) {
105585
105576
  if (!G) {
105586
105577
  Zt("vxe.error.reqProp", ["id"]);
105587
105578
  return;
@@ -105593,11 +105584,11 @@ const XH = H({
105593
105584
  }).catch((Pe) => Pe) : $i(Ge);
105594
105585
  }
105595
105586
  }, pf = () => {
105596
- const { tableFullColumn: I, collectColumn: G } = c, Y = c.fullColumnIdData = {}, Q = c.fullColumnFieldData = {}, re = Ft.value, ve = Ne.value, he = Xe.value, { isCrossDrag: Ce, isSelfToChildDrag: xe } = he, Ie = Hn.value, { storage: Oe } = Ie, Ge = $e.value, Pe = G.some(Vv);
105587
+ const { tableFullColumn: I, collectColumn: G } = c, Y = c.fullColumnIdData = {}, Q = c.fullColumnFieldData = {}, re = Ft.value, ve = Ne.value, he = Xe.value, { isCrossDrag: Ce, isSelfToChildDrag: Se } = he, Ie = Hn.value, { storage: Oe } = Ie, Ge = $e.value, Pe = G.some(Vv);
105597
105588
  let Ke = !!e.showOverflow, Ye, Fe, Qe, yt, We;
105598
105589
  const _t = (kt, Kt, Xt, Or, kr) => {
105599
105590
  const { id: Cr, field: hr, fixed: Xr, type: ur, treeNode: Tr } = kt, An = { $index: -1, _index: -1, column: kt, colid: Cr, index: Kt, items: Xt, parent: kr || null, width: 0 };
105600
- hr ? (Q[hr] && Zt("vxe.error.colRepet", ["field", hr]), Q[hr] = An) : (Oe || Ce || xe) && Zt("vxe.error.reqProp", [`${kt.getTitle() || ur || ""} -> column.field`]), !We && ur === "html" && (We = kt), Tr ? (process.env.NODE_ENV === "development" && Fe && Mr("vxe.error.colRepet", ["tree-node", Tr]), Fe || (Fe = kt)) : ur === "expand" && (process.env.NODE_ENV === "development" && Ye && Mr("vxe.error.colRepet", ["type", ur]), Ye || (Ye = kt)), process.env.NODE_ENV === "development" && (ur === "checkbox" ? (Qe && Mr("vxe.error.colRepet", ["type", ur]), Qe || (Qe = kt)) : ur === "radio" && (yt && Mr("vxe.error.colRepet", ["type", ur]), yt || (yt = kt))), Ke && kt.showOverflow === !1 && (Ke = !1), Y[Cr] && Zt("vxe.error.colRepet", ["colId", Cr]), Y[Cr] = An;
105591
+ hr ? (Q[hr] && Zt("vxe.error.colRepet", ["field", hr]), Q[hr] = An) : (Oe || Ce || Se) && Zt("vxe.error.reqProp", [`${kt.getTitle() || ur || ""} -> column.field`]), !We && ur === "html" && (We = kt), Tr ? (process.env.NODE_ENV === "development" && Fe && Mr("vxe.error.colRepet", ["tree-node", Tr]), Fe || (Fe = kt)) : ur === "expand" && (process.env.NODE_ENV === "development" && Ye && Mr("vxe.error.colRepet", ["type", ur]), Ye || (Ye = kt)), process.env.NODE_ENV === "development" && (ur === "checkbox" ? (Qe && Mr("vxe.error.colRepet", ["type", ur]), Qe || (Qe = kt)) : ur === "radio" && (yt && Mr("vxe.error.colRepet", ["type", ur]), yt || (yt = kt))), Ke && kt.showOverflow === !1 && (Ke = !1), Y[Cr] && Zt("vxe.error.colRepet", ["colId", Cr]), Y[Cr] = An;
105601
105592
  };
105602
105593
  Pe ? X.eachTree(G, (kt, Kt, Xt, Or, kr, Cr) => {
105603
105594
  kt.level = Cr.length, _t(kt, Kt, Xt, Or, kr);
@@ -105613,9 +105604,9 @@ const XH = H({
105613
105604
  }
105614
105605
  let ve = I.renderAutoWidth - re;
105615
105606
  return X.arrayEach(Y, (he) => {
105616
- const Ce = he, xe = Ce.parentElement;
105607
+ const Ce = he, Se = Ce.parentElement;
105617
105608
  let Ie = 0;
105618
- if (`${xe.tagName}`.toLowerCase() === "th")
105609
+ if (`${Se.tagName}`.toLowerCase() === "th")
105619
105610
  X.arrayEach(Ce.children, (Oe) => {
105620
105611
  Ie += Oe.offsetWidth + 1;
105621
105612
  });
@@ -105627,7 +105618,7 @@ const XH = H({
105627
105618
  }), ve + re;
105628
105619
  }, hf = () => {
105629
105620
  const I = Ma.value;
105630
- return u.isCalcColumn = !0, Se().then(() => {
105621
+ return u.isCalcColumn = !0, xe().then(() => {
105631
105622
  const { fullColumnIdData: G } = c, Y = p.value;
105632
105623
  Y && (I.forEach((Q) => {
105633
105624
  const re = Q.id, ve = G[re], he = Eh(Q, Y);
@@ -105639,8 +105630,8 @@ const XH = H({
105639
105630
  if (!Q)
105640
105631
  return;
105641
105632
  let he = 0;
105642
- const Ce = 40, xe = Q.clientWidth - 1;
105643
- let Ie = xe, Oe = Ie / 100;
105633
+ const Ce = 40, Se = Q.clientWidth - 1;
105634
+ let Ie = Se, Oe = Ie / 100;
105644
105635
  const { fit: Ge } = e, { columnStore: Pe } = u, { resizeList: Ke, pxMinList: Ye, autoMinList: Fe, pxList: Qe, scaleList: yt, scaleMinList: We, autoList: _t, remainList: kt } = Pe;
105645
105636
  if (Ye.forEach((ur) => {
105646
105637
  const Tr = X.toInteger(ur.minWidth);
@@ -105672,11 +105663,11 @@ const XH = H({
105672
105663
  const ur = yt.concat(We).concat(Ye).concat(Fe).concat(kt);
105673
105664
  let Tr = ur.length - 1;
105674
105665
  if (Tr > 0) {
105675
- let An = xe - he;
105666
+ let An = Se - he;
105676
105667
  if (An > 0) {
105677
105668
  for (; An > 0 && Tr >= 0; )
105678
105669
  An--, ur[Tr--].renderWidth++;
105679
- he = xe;
105670
+ he = Se;
105680
105671
  }
105681
105672
  }
105682
105673
  }
@@ -105684,17 +105675,17 @@ const XH = H({
105684
105675
  let Or = 0;
105685
105676
  Xt && (Or = Math.max(Q.offsetWidth - Q.clientWidth, 0)), u.scrollbarWidth = Or, u.overflowY = Xt, c.tableWidth = he, c.tableHeight = Kt;
105686
105677
  let kr = 0;
105687
- re && (kr = re.clientHeight, Se(() => {
105678
+ re && (kr = re.clientHeight, xe(() => {
105688
105679
  re && Q && re.scrollLeft !== Q.scrollLeft && (re.scrollLeft = Q.scrollLeft);
105689
105680
  })), c.headerHeight = kr;
105690
105681
  let Cr = !1, hr = 0, Xr = 0;
105691
- ve ? (hr = ve.offsetHeight, Cr = he > ve.clientWidth, Xr = Math.max(hr - ve.clientHeight, 0)) : (Cr = he > xe, Xr = Math.max(Kt - Q.clientHeight, 0)), c.footerHeight = hr, u.overflowX = Cr, u.scrollbarHeight = Xr, zi(), u.parentHeight = Math.max(c.headerHeight + hr + 20, f.getParentHeight()), Cr && f.checkScrolling();
105682
+ ve ? (hr = ve.offsetHeight, Cr = he > ve.clientWidth, Xr = Math.max(hr - ve.clientHeight, 0)) : (Cr = he > Se, Xr = Math.max(Kt - Q.clientHeight, 0)), c.footerHeight = hr, u.overflowX = Cr, u.scrollbarHeight = Xr, zi(), u.parentHeight = Math.max(c.headerHeight + hr + 20, f.getParentHeight()), Cr && f.checkScrolling();
105692
105683
  }, Xu = () => {
105693
105684
  const { showOverflow: I } = e, { tableData: G, scrollXLoad: Y } = u, { fullAllDataRowIdData: Q } = c, re = p.value;
105694
105685
  if (!I && re) {
105695
105686
  let ve = 0, he = 0, Ce = !1;
105696
- G.forEach((xe) => {
105697
- const Ie = wt(oe, xe), Oe = Q[Ie], Ge = re.querySelectorAll(`.vxe-body--row[rowid="${Ie}"]>.vxe-body--column>.vxe-cell`);
105687
+ G.forEach((Se) => {
105688
+ const Ie = wt(oe, Se), Oe = Q[Ie], Ge = re.querySelectorAll(`.vxe-body--row[rowid="${Ie}"]>.vxe-body--column>.vxe-cell`);
105698
105689
  if (Oe && Ge.length) {
105699
105690
  let Pe = 0;
105700
105691
  for (let Ke = 0; Ke < Ge.length; Ke++) {
@@ -105717,30 +105708,30 @@ const XH = H({
105717
105708
  };
105718
105709
  }, Kc = () => {
105719
105710
  const { treeConfig: I } = e, { afterFullData: G, fullDataRowIdData: Y, fullAllDataRowIdData: Q, afterTreeFullData: re } = c, ve = qt.value, he = ve.children || ve.childrenField, Ce = {};
105720
- I ? X.eachTree(re, (xe, Ie, Oe, Ge) => {
105721
- const Pe = wt(oe, xe), Ke = Q[Pe], Ye = Ge.map((Fe, Qe) => Qe % 2 === 0 ? Number(Fe) + 1 : ".").join("");
105711
+ I ? X.eachTree(re, (Se, Ie, Oe, Ge) => {
105712
+ const Pe = wt(oe, Se), Ke = Q[Pe], Ye = Ge.map((Fe, Qe) => Qe % 2 === 0 ? Number(Fe) + 1 : ".").join("");
105722
105713
  if (Ke)
105723
105714
  Ke.seq = Ye, Ke._index = Ie;
105724
105715
  else {
105725
- const Fe = { row: xe, rowid: Pe, seq: Ye, index: -1, $index: -1, _index: -1, items: [], parent: null, level: 0, height: 0, oTop: 0 };
105716
+ const Fe = { row: Se, rowid: Pe, seq: Ye, index: -1, $index: -1, _index: -1, items: [], parent: null, level: 0, height: 0, oTop: 0 };
105726
105717
  Q[Pe] = Fe, Y[Pe] = Fe;
105727
105718
  }
105728
- Ce[Pe] = xe;
105729
- }, { children: ve.transform ? ve.mapChildrenField : he }) : G.forEach((xe, Ie) => {
105730
- const Oe = wt(oe, xe), Ge = Q[Oe], Pe = Ie + 1;
105719
+ Ce[Pe] = Se;
105720
+ }, { children: ve.transform ? ve.mapChildrenField : he }) : G.forEach((Se, Ie) => {
105721
+ const Oe = wt(oe, Se), Ge = Q[Oe], Pe = Ie + 1;
105731
105722
  if (Ge)
105732
105723
  Ge.seq = Pe, Ge._index = Ie;
105733
105724
  else {
105734
- const Ke = { row: xe, rowid: Oe, seq: Pe, index: -1, $index: -1, _index: Ie, items: [], parent: null, level: 0, height: 0, oTop: 0 };
105725
+ const Ke = { row: Se, rowid: Oe, seq: Pe, index: -1, $index: -1, _index: Ie, items: [], parent: null, level: 0, height: 0, oTop: 0 };
105735
105726
  Q[Oe] = Ke, Y[Oe] = Ke;
105736
105727
  }
105737
- Ce[Oe] = xe;
105728
+ Ce[Oe] = Se;
105738
105729
  }), c.afterFullRowMaps = Ce;
105739
105730
  }, Hi = () => {
105740
105731
  const { treeConfig: I } = e, { treeExpandedMaps: G } = u, { fullAllDataRowIdData: Y } = c, Q = qt.value, re = Q.children || Q.childrenField;
105741
105732
  if (I && Q.transform) {
105742
105733
  const ve = [], he = {};
105743
- return X.eachTree(c.afterTreeFullData, (Ce, xe, Ie, Oe, Ge) => {
105734
+ return X.eachTree(c.afterTreeFullData, (Ce, Se, Ie, Oe, Ge) => {
105744
105735
  const Pe = wt(oe, Ce), Ke = wt(oe, Ge);
105745
105736
  if (!Ge || he[Ke] && G[Ke]) {
105746
105737
  const Ye = Y[Pe];
@@ -105750,7 +105741,7 @@ const XH = H({
105750
105741
  }
105751
105742
  return c.afterFullData;
105752
105743
  }, Th = () => {
105753
- const { treeConfig: I } = e, { tableFullColumn: G, tableFullData: Y, tableFullTreeData: Q } = c, re = rt.value, ve = St.value, he = qt.value, Ce = he.children || he.childrenField, { transform: xe } = he, { remote: Ie, filterMethod: Oe } = re, { remote: Ge, sortMethod: Pe, multiple: Ke, chronological: Ye } = ve;
105744
+ const { treeConfig: I } = e, { tableFullColumn: G, tableFullData: Y, tableFullTreeData: Q } = c, re = rt.value, ve = St.value, he = qt.value, Ce = he.children || he.childrenField, { transform: Se } = he, { remote: Ie, filterMethod: Oe } = re, { remote: Ge, sortMethod: Pe, multiple: Ke, chronological: Ye } = ve;
105754
105745
  let Fe = [], Qe = [];
105755
105746
  if (!Ie || !Ge) {
105756
105747
  const yt = [];
@@ -105769,21 +105760,21 @@ const XH = H({
105769
105760
  const { filterMethod: kr, filterRender: Cr } = Kt, hr = Vr(Cr) ? QH.get(Cr.name) : null, Xr = hr ? hr.tableFilterMethod || hr.filterMethod : null, ur = hr ? hr.tableFilterDefaultMethod || hr.defaultTableFilterMethod || hr.defaultFilterMethod : null, Tr = Ka(kt, Kt);
105770
105761
  return kr ? Or.some((An) => kr({ value: An.value, option: An, cellValue: Tr, row: kt, column: Kt, $table: oe })) : Xr ? Or.some((An) => Xr({ value: An.value, option: An, cellValue: Tr, row: kt, column: Kt, $table: oe })) : Oe ? Oe({ options: Or, values: Xt, cellValue: Tr, row: kt, column: Kt }) : ur ? Or.some((An) => ur({ value: An.value, option: An, cellValue: Tr, row: kt, column: Kt, $table: oe })) : Xt.indexOf(X.get(kt, Kt.field)) > -1;
105771
105762
  });
105772
- I && xe ? (Qe = X.searchTree(Q, _t, {
105763
+ I && Se ? (Qe = X.searchTree(Q, _t, {
105773
105764
  original: !0,
105774
105765
  isEvery: !0,
105775
105766
  children: he.mapChildrenField,
105776
105767
  mapChildren: Ce
105777
105768
  }), Fe = Qe) : (Fe = I ? Q.filter(_t) : Y.filter(_t), Qe = Fe);
105778
105769
  } else
105779
- I && xe ? (Qe = X.searchTree(Q, () => !0, {
105770
+ I && Se ? (Qe = X.searchTree(Q, () => !0, {
105780
105771
  original: !0,
105781
105772
  isEvery: !0,
105782
105773
  children: he.mapChildrenField,
105783
105774
  mapChildren: Ce
105784
105775
  }), Fe = Qe) : (Fe = I ? Q.slice(0) : Y.slice(0), Qe = Fe);
105785
105776
  if (!Ge && We.length)
105786
- if (I && xe) {
105777
+ if (I && Se) {
105787
105778
  if (Pe) {
105788
105779
  const _t = Pe({ data: Qe, sortList: We, $table: oe });
105789
105780
  Qe = X.isArray(_t) ? _t : Qe;
@@ -105799,7 +105790,7 @@ const XH = H({
105799
105790
  Qe = Fe;
105800
105791
  }
105801
105792
  } else
105802
- I && xe ? (Qe = X.searchTree(Q, () => !0, {
105793
+ I && Se ? (Qe = X.searchTree(Q, () => !0, {
105803
105794
  original: !0,
105804
105795
  isEvery: !0,
105805
105796
  children: he.mapChildrenField,
@@ -105807,7 +105798,7 @@ const XH = H({
105807
105798
  }), Fe = Qe) : (Fe = I ? Q.slice(0) : Y.slice(0), Qe = Fe);
105808
105799
  c.afterFullData = Fe, c.afterTreeFullData = Qe, Kc();
105809
105800
  }, eo = () => {
105810
- const { border: I, showFooter: G, showOverflow: Y, showHeaderOverflow: Q, showFooterOverflow: re, mouseConfig: ve, spanMethod: he, footerSpanMethod: Ce } = e, { isGroup: xe, currentRow: Ie, tableColumn: Oe, scrollXLoad: Ge, scrollYLoad: Pe, overflowX: Ke, scrollbarWidth: Ye, scrollbarHeight: Fe, columnStore: Qe, editStore: yt, isAllOverflow: We, expandColumn: _t } = u;
105801
+ const { border: I, showFooter: G, showOverflow: Y, showHeaderOverflow: Q, showFooterOverflow: re, mouseConfig: ve, spanMethod: he, footerSpanMethod: Ce } = e, { isGroup: Se, currentRow: Ie, tableColumn: Oe, scrollXLoad: Ge, scrollYLoad: Pe, overflowX: Ke, scrollbarWidth: Ye, scrollbarHeight: Fe, columnStore: Qe, editStore: yt, isAllOverflow: We, expandColumn: _t } = u;
105811
105802
  let { visibleColumn: kt, fullColumnIdData: Kt, tableHeight: Xt, tableWidth: Or, headerHeight: kr, footerHeight: Cr, elemStore: hr, customHeight: Xr, customMinHeight: ur, customMaxHeight: Tr } = c;
105812
105803
  const An = ["main", "left", "right"], Gl = W.value, gs = Mn.value, Qu = Ft.value, el = si(hr["main-body-wrapper"]);
105813
105804
  Gl && (Gl.style.top = `${kr}px`, Gl.style.height = el ? `${el.offsetHeight - Fe}px` : ""), Xr > 0 && G && (Xr += Fe);
@@ -105826,11 +105817,11 @@ const XH = H({
105826
105817
  const aa = si(hr[`${Na}-${fa}-wrapper`]), to = si(hr[`${Na}-${fa}-table`]);
105827
105818
  if (fa === "header") {
105828
105819
  let ro = Or, ba = Oe;
105829
- xe ? ba = kt : Va && (ba = kt, (Ge || Pe || Q) && (he || Ce ? ba = kt : ba = na || [])), ro = ba.reduce((Po, Ki) => Po + Ki.renderWidth, 0), to && (to.style.width = ro ? `${ro + Ye}px` : "");
105820
+ Se ? ba = kt : Va && (ba = kt, (Ge || Pe || Q) && (he || Ce ? ba = kt : ba = na || [])), ro = ba.reduce((Po, Ki) => Po + Ki.renderWidth, 0), to && (to.style.width = ro ? `${ro + Ye}px` : "");
105830
105821
  const Ui = si(hr[`${Na}-${fa}-repair`]);
105831
105822
  Ui && (Ui.style.width = `${Or}px`);
105832
105823
  const ka = si(hr[`${Na}-${fa}-list`]);
105833
- xe && ka && X.arrayEach(ka.querySelectorAll(".col--group"), (Po) => {
105824
+ Se && ka && X.arrayEach(ka.querySelectorAll(".col--group"), (Po) => {
105834
105825
  const Ki = d.getColumnNode(Po);
105835
105826
  if (Ki) {
105836
105827
  const bf = Ki.item, { showHeaderOverflow: Kl } = bf, k0 = X.isBoolean(Kl) ? Kl : Q, D0 = k0 === "title" || (k0 === !0 || k0 === "tooltip") || k0 === "ellipsis";
@@ -105885,8 +105876,8 @@ const XH = H({
105885
105876
  }
105886
105877
  });
105887
105878
  });
105888
- }), Ie && d.setCurrentRow(Ie), ve && Qu.selected && yt.selected.row && yt.selected.column && oe.addCellSelectedClass(), Se();
105889
- }, hs = (I) => oe.triggerValidate ? oe.triggerValidate(I) : Se(), Js = (I, G) => {
105879
+ }), Ie && d.setCurrentRow(Ie), ve && Qu.selected && yt.selected.row && yt.selected.column && oe.addCellSelectedClass(), xe();
105880
+ }, hs = (I) => oe.triggerValidate ? oe.triggerValidate(I) : xe(), Js = (I, G) => {
105890
105881
  hs("blur").catch((Y) => Y).then(() => {
105891
105882
  oe.handleEdit(G, I).then(() => hs("change")).catch((Y) => Y);
105892
105883
  });
@@ -105948,9 +105939,9 @@ const XH = H({
105948
105939
  }
105949
105940
  }, vf = (I, G) => {
105950
105941
  const Y = Le.value, { checkMethod: Q } = Y;
105951
- return I && (G || !Q || Q({ row: I })) && (u.selectRadioRow = I, A2(I)), Se();
105952
- }, ni = (I, G, Y) => (I && !X.isArray(I) && (I = [I]), oe.handleBatchSelectRows(I, !!G, Y), oe.checkSelectionStatus(), Se()), Ua = (I, G) => {
105953
- const { treeConfig: Y } = e, { selectCheckboxMaps: Q } = u, { afterFullData: re, checkboxReserveRowMap: ve } = c, he = qt.value, Ce = he.children || he.childrenField, xe = He.value, { checkField: Ie, reserve: Oe, checkMethod: Ge } = xe, Pe = xe.indeterminateField || xe.halfField, Ke = {};
105942
+ return I && (G || !Q || Q({ row: I })) && (u.selectRadioRow = I, A2(I)), xe();
105943
+ }, ni = (I, G, Y) => (I && !X.isArray(I) && (I = [I]), oe.handleBatchSelectRows(I, !!G, Y), oe.checkSelectionStatus(), xe()), Ua = (I, G) => {
105944
+ const { treeConfig: Y } = e, { selectCheckboxMaps: Q } = u, { afterFullData: re, checkboxReserveRowMap: ve } = c, he = qt.value, Ce = he.children || he.childrenField, Se = He.value, { checkField: Ie, reserve: Oe, checkMethod: Ge } = Se, Pe = Se.indeterminateField || Se.halfField, Ke = {};
105954
105945
  if (Ie) {
105955
105946
  const Ye = (Fe) => {
105956
105947
  (G || !Ge || Ge({ row: Fe })) && (I && (Ke[wt(oe, Fe)] = Fe), X.set(Fe, Ie, I)), Y && Pe && X.set(Fe, Pe, !1);
@@ -105973,14 +105964,14 @@ const XH = H({
105973
105964
  });
105974
105965
  return Oe && (I ? X.each(Ke, (Ye, Fe) => {
105975
105966
  ve[Fe] = Ye;
105976
- }) : re.forEach((Ye) => Wi(Ye, !1))), u.selectCheckboxMaps = Ie ? {} : Ke, u.isAllSelected = I, u.isIndeterminate = !1, u.treeIndeterminateMaps = {}, c.treeIndeterminateRowMaps = {}, f.checkSelectionStatus(), Se();
105967
+ }) : re.forEach((Ye) => Wi(Ye, !1))), u.selectCheckboxMaps = Ie ? {} : Ke, u.isAllSelected = I, u.isIndeterminate = !1, u.treeIndeterminateMaps = {}, c.treeIndeterminateRowMaps = {}, f.checkSelectionStatus(), xe();
105977
105968
  }, gf = () => {
105978
- const { treeConfig: I } = e, { expandColumn: G, currentRow: Y, selectCheckboxMaps: Q, selectRadioRow: re, rowExpandedMaps: ve, treeExpandedMaps: he } = u, { fullDataRowIdData: Ce, fullAllDataRowIdData: xe, radioReserveRow: Ie } = c, Oe = Wt.value, Ge = qt.value, Pe = Le.value, Ke = He.value;
105979
- if (re && !xe[wt(oe, re)] && (u.selectRadioRow = null), Pe.reserve && Ie) {
105969
+ const { treeConfig: I } = e, { expandColumn: G, currentRow: Y, selectCheckboxMaps: Q, selectRadioRow: re, rowExpandedMaps: ve, treeExpandedMaps: he } = u, { fullDataRowIdData: Ce, fullAllDataRowIdData: Se, radioReserveRow: Ie } = c, Oe = Wt.value, Ge = qt.value, Pe = Le.value, Ke = He.value;
105970
+ if (re && !Se[wt(oe, re)] && (u.selectRadioRow = null), Pe.reserve && Ie) {
105980
105971
  const Ye = wt(oe, Ie);
105981
105972
  Ce[Ye] && vf(Ce[Ye].row, !0);
105982
105973
  }
105983
- u.selectCheckboxMaps = jn(Q), Ke.reserve && ni(Vn(c.checkboxReserveRowMap), !0, !0), Y && !xe[wt(oe, Y)] && (u.currentRow = null), u.rowExpandedMaps = G ? jn(ve) : {}, G && Oe.reserve && d.setRowExpand(Vn(c.rowExpandedReserveRowMap), !0), u.treeExpandedMaps = I ? jn(he) : {}, I && Ge.reserve && d.setTreeExpand(Vn(c.treeExpandedReserveRowMap), !0);
105974
+ u.selectCheckboxMaps = jn(Q), Ke.reserve && ni(Vn(c.checkboxReserveRowMap), !0, !0), Y && !Se[wt(oe, Y)] && (u.currentRow = null), u.rowExpandedMaps = G ? jn(ve) : {}, G && Oe.reserve && d.setRowExpand(Vn(c.rowExpandedReserveRowMap), !0), u.treeExpandedMaps = I ? jn(he) : {}, I && Ge.reserve && d.setTreeExpand(Vn(c.treeExpandedReserveRowMap), !0);
105984
105975
  }, M2 = () => {
105985
105976
  const { treeConfig: I } = e;
105986
105977
  if (I) {
@@ -105989,8 +105980,8 @@ const XH = H({
105989
105980
  d.setAllTreeExpand(!0);
105990
105981
  else if (re) {
105991
105982
  const he = [], Ce = sc(oe);
105992
- re.forEach((xe) => {
105993
- const Ie = X.findTree(G, (Oe) => xe === X.get(Oe, Ce), { children: ve });
105983
+ re.forEach((Se) => {
105984
+ const Ie = X.findTree(G, (Oe) => Se === X.get(Oe, Ce), { children: ve });
105994
105985
  Ie && he.push(Ie.item);
105995
105986
  }), d.setTreeExpand(he, !0);
105996
105987
  }
@@ -105999,21 +105990,21 @@ const XH = H({
105999
105990
  const G = qt.value, Y = He.value, { transform: Q, loadMethod: re } = G, { checkStrictly: ve } = Y;
106000
105991
  return new Promise((he) => {
106001
105992
  if (re) {
106002
- const { treeExpandLazyLoadedMaps: Ce } = u, { fullAllDataRowIdData: xe } = c, Ie = wt(oe, I), Oe = xe[Ie];
105993
+ const { treeExpandLazyLoadedMaps: Ce } = u, { fullAllDataRowIdData: Se } = c, Ie = wt(oe, I), Oe = Se[Ie];
106003
105994
  Ce[Ie] = I, Promise.resolve(re({ $table: oe, row: I })).then((Ge) => {
106004
105995
  if (Oe && (Oe.treeLoaded = !0), Ce[Ie] && delete Ce[Ie], X.isArray(Ge) || (Ge = []), Ge)
106005
105996
  return d.loadTreeChildren(I, Ge).then((Pe) => {
106006
105997
  const { treeExpandedMaps: Ke } = u;
106007
- return Pe.length && !Ke[Ie] && (Ke[Ie] = I), !ve && d.isCheckedByCheckboxRow(I) && ni(Pe, !0), Se().then(() => {
105998
+ return Pe.length && !Ke[Ie] && (Ke[Ie] = I), !ve && d.isCheckedByCheckboxRow(I) && ni(Pe, !0), xe().then(() => {
106008
105999
  if (Q)
106009
- return f.handleTableData(), Kc(), Se();
106000
+ return f.handleTableData(), Kc(), xe();
106010
106001
  });
106011
106002
  });
106012
106003
  }).catch(() => {
106013
106004
  const { treeExpandLazyLoadedMaps: Ge } = u;
106014
106005
  Oe && (Oe.treeLoaded = !1), Ge[Ie] && delete Ge[Ie];
106015
106006
  }).finally(() => {
106016
- Se().then(() => d.recalculate()).then(() => he());
106007
+ xe().then(() => d.recalculate()).then(() => he());
106017
106008
  });
106018
106009
  } else
106019
106010
  he();
@@ -106029,13 +106020,13 @@ const XH = H({
106029
106020
  if (Q) {
106030
106021
  const { fullAllDataRowIdData: re } = c, ve = Object.assign({}, u.rowExpandLazyLoadedMaps), he = wt(oe, I), Ce = re[he];
106031
106022
  ve[he] = I, u.rowExpandLazyLoadedMaps = ve, Q({ $table: oe, row: I, rowIndex: d.getRowIndex(I), $rowIndex: d.getVMRowIndex(I) }).then(() => {
106032
- const xe = Object.assign({}, u.rowExpandedMaps);
106033
- Ce && (Ce.expandLoaded = !0), xe[he] = I, u.rowExpandedMaps = xe;
106023
+ const Se = Object.assign({}, u.rowExpandedMaps);
106024
+ Ce && (Ce.expandLoaded = !0), Se[he] = I, u.rowExpandedMaps = Se;
106034
106025
  }).catch(() => {
106035
106026
  Ce && (Ce.expandLoaded = !1);
106036
106027
  }).finally(() => {
106037
- const xe = Object.assign({}, u.rowExpandLazyLoadedMaps);
106038
- xe[he] && delete xe[he], u.rowExpandLazyLoadedMaps = xe, Se().then(() => d.recalculate()).then(() => G());
106028
+ const Se = Object.assign({}, u.rowExpandLazyLoadedMaps);
106029
+ Se[he] && delete Se[he], u.rowExpandLazyLoadedMaps = Se, xe().then(() => d.recalculate()).then(() => G());
106039
106030
  });
106040
106031
  } else
106041
106032
  G();
@@ -106051,11 +106042,11 @@ const XH = H({
106051
106042
  }, vs = () => {
106052
106043
  const { mergeFooterItems: I } = e;
106053
106044
  I && d.setMergeFooterItems(I);
106054
- }, Wl = () => Se().then(() => {
106045
+ }, Wl = () => xe().then(() => {
106055
106046
  const { scrollXLoad: I, scrollYLoad: G } = u, { scrollXStore: Y, scrollYStore: Q } = c, re = Ee.value, ve = ge.value;
106056
106047
  if (I) {
106057
- const { visibleSize: xe } = Je(), Ie = Math.max(0, ve.oSize ? X.toNumber(ve.oSize) : Bv.edge ? 5 : 0);
106058
- Y.offsetSize = Ie, Y.visibleSize = xe, Y.endIndex = Math.max(Y.startIndex + Y.visibleSize + Ie, Y.endIndex), f.updateScrollXData().then(() => {
106048
+ const { visibleSize: Se } = Je(), Ie = Math.max(0, ve.oSize ? X.toNumber(ve.oSize) : Bv.edge ? 5 : 0);
106049
+ Y.offsetSize = Ie, Y.visibleSize = Se, Y.endIndex = Math.max(Y.startIndex + Y.visibleSize + Ie, Y.endIndex), f.updateScrollXData().then(() => {
106059
106050
  yf();
106060
106051
  });
106061
106052
  } else
@@ -106065,21 +106056,21 @@ const XH = H({
106065
106056
  Q.rowHeight = he, u.rowHeight = he;
106066
106057
  const { visibleSize: Ce } = Gt();
106067
106058
  if (G) {
106068
- const xe = Math.max(0, re.oSize ? X.toNumber(re.oSize) : Bv.edge ? 10 : 0);
106069
- Q.offsetSize = xe, Q.visibleSize = Ce, Q.endIndex = Math.max(Q.startIndex + Ce + xe, Q.endIndex), f.updateScrollYData().then(() => {
106059
+ const Se = Math.max(0, re.oSize ? X.toNumber(re.oSize) : Bv.edge ? 10 : 0);
106060
+ Q.offsetSize = Se, Q.visibleSize = Ce, Q.endIndex = Math.max(Q.startIndex + Ce + Se, Q.endIndex), f.updateScrollYData().then(() => {
106070
106061
  T0();
106071
106062
  });
106072
106063
  } else
106073
106064
  f.updateScrollYSpace();
106074
- Se(eo);
106065
+ xe(eo);
106075
106066
  }), Zx = (I) => {
106076
106067
  const G = p.value;
106077
- return c.rceRunTime = Date.now(), !G || !G.clientWidth ? Se() : (hf(), Uc(), Wl().then(() => {
106068
+ return c.rceRunTime = Date.now(), !G || !G.clientWidth ? xe() : (hf(), Uc(), Wl().then(() => {
106078
106069
  if (I === !0)
106079
106070
  return Xu(), hf(), Uc(), Wl();
106080
106071
  }));
106081
106072
  }, D2 = (I) => {
106082
- const { keepSource: G, treeConfig: Y, showOverflow: Q } = e, { editStore: re, scrollYLoad: ve } = u, { scrollYStore: he, scrollXStore: Ce, lastScrollLeft: xe, lastScrollTop: Ie } = c, Oe = qt.value, Ge = $e.value, { transform: Pe } = Oe, Ke = Oe.children || Oe.childrenField;
106073
+ const { keepSource: G, treeConfig: Y, showOverflow: Q } = e, { editStore: re, scrollYLoad: ve } = u, { scrollYStore: he, scrollXStore: Ce, lastScrollLeft: Se, lastScrollTop: Ie } = c, Oe = qt.value, Ge = $e.value, { transform: Pe } = Oe, Ke = Oe.children || Oe.childrenField;
106083
106074
  let Ye = [], Fe = Nr(I ? I.slice(0) : []);
106084
106075
  Y && (Pe ? (process.env.NODE_ENV === "development" && (Oe.rowField || Zt("vxe.error.reqProp", ["tree-config.rowField"]), Oe.parentField || Zt("vxe.error.reqProp", ["tree-config.parentField"]), Ke || Zt("vxe.error.reqProp", ["tree-config.childrenField"]), Oe.mapChildrenField || Zt("vxe.error.reqProp", ["tree-config.mapChildrenField"]), Ke === Oe.mapChildrenField && Zt("vxe.error.errConflicts", ["tree-config.childrenField", "tree-config.mapChildrenField"])), Ye = X.toArrayTree(Fe, {
106085
106076
  key: Oe.rowField,
@@ -106095,26 +106086,26 @@ const XH = H({
106095
106086
  }
106096
106087
  process.env.NODE_ENV === "development" && (e.height || e.maxHeight || Zt("vxe.error.reqProp", ["table.height | table.max-height | table.scroll-y={enabled: false}"]), e.spanMethod && Mr("vxe.error.scrollErrProp", ["table.span-method"]));
106097
106088
  }
106098
- return oe.clearCellAreas && e.mouseConfig && (oe.clearCellAreas(), oe.clearCopyCellArea()), d.clearMergeCells(), d.clearMergeFooterItems(), f.handleTableData(!0), d.updateFooter(), Se().then(() => {
106089
+ return oe.clearCellAreas && e.mouseConfig && (oe.clearCellAreas(), oe.clearCopyCellArea()), d.clearMergeCells(), d.clearMergeFooterItems(), f.handleTableData(!0), d.updateFooter(), xe().then(() => {
106099
106090
  zi(), eo();
106100
106091
  }).then(() => {
106101
106092
  Wl();
106102
106093
  }).then(() => (Qe && (he.endIndex = he.visibleSize), gf(), f.checkSelectionStatus(), new Promise((yt) => {
106103
- Se().then(() => d.recalculate()).then(() => {
106104
- let We = xe, _t = Ie;
106094
+ xe().then(() => d.recalculate()).then(() => {
106095
+ let We = Se, _t = Ie;
106105
106096
  const kt = ge.value, Kt = Ee.value;
106106
106097
  kt.scrollToLeftOnChange && (We = 0), Kt.scrollToTopOnChange && (_t = 0), ve === Qe ? V8(oe, We, _t).then(yt) : setTimeout(() => V8(oe, We, _t).then(yt));
106107
106098
  });
106108
106099
  })));
106109
106100
  }, O2 = () => {
106110
- T2(), Zu(), Xx(), M2(), ra(), vs(), Se(() => setTimeout(() => d.recalculate()));
106101
+ T2(), Zu(), Xx(), M2(), ra(), vs(), xe(() => setTimeout(() => d.recalculate()));
106111
106102
  }, Loe = () => {
106112
106103
  Ah();
106113
106104
  }, Qx = () => {
106114
106105
  const { scrollXLoad: I } = u, { visibleColumn: G, scrollXStore: Y, fullColumnIdData: Q } = c, re = I ? G.slice(Y.startIndex, Y.endIndex) : G.slice(0);
106115
106106
  re.forEach((ve, he) => {
106116
- const Ce = ve.id, xe = Q[Ce];
106117
- xe && (xe.$index = he);
106107
+ const Ce = ve.id, Se = Q[Ce];
106108
+ Se && (Se.$index = he);
106118
106109
  }), u.tableColumn = re;
106119
106110
  }, yI = () => {
106120
106111
  const I = X.orderBy(c.collectColumn, "renderSortNumber");
@@ -106122,12 +106113,12 @@ const XH = H({
106122
106113
  const G = I2(I);
106123
106114
  c.tableFullColumn = G, pf();
106124
106115
  }, yf = () => {
106125
- const { mergeList: I, mergeFooterList: G } = u, { scrollXStore: Y } = c, { startIndex: Q, endIndex: re, offsetSize: ve } = Y, { toVisibleIndex: he, visibleSize: Ce } = Je(), xe = {
106116
+ const { mergeList: I, mergeFooterList: G } = u, { scrollXStore: Y } = c, { startIndex: Q, endIndex: re, offsetSize: ve } = Y, { toVisibleIndex: he, visibleSize: Ce } = Je(), Se = {
106126
106117
  startIndex: Math.max(0, he - 1 - ve),
106127
106118
  endIndex: he + Ce + ve
106128
106119
  };
106129
- tr(I.concat(G), xe, "col");
106130
- const { startIndex: Ie, endIndex: Oe } = xe;
106120
+ tr(I.concat(G), Se, "col");
106121
+ const { startIndex: Ie, endIndex: Oe } = Se;
106131
106122
  (he <= Q || he >= re - Ce - 1) && (Q !== Ie || re !== Oe) && (Y.startIndex = Ie, Y.endIndex = Oe, f.updateScrollXData()), d.closeTooltip();
106132
106123
  }, I2 = (I) => {
106133
106124
  const G = [];
@@ -106135,7 +106126,7 @@ const XH = H({
106135
106126
  G.push(...Y.children && Y.children.length ? I2(Y.children) : [Y]);
106136
106127
  }), G;
106137
106128
  }, Jx = (I) => {
106138
- const { showOverflow: G } = e, Y = $e.value, Q = [], re = [], ve = [], { isGroup: he, columnStore: Ce } = u, xe = ge.value, { collectColumn: Ie, tableFullColumn: Oe, scrollXStore: Ge, fullColumnIdData: Pe } = c;
106129
+ const { showOverflow: G } = e, Y = $e.value, Q = [], re = [], ve = [], { isGroup: he, columnStore: Ce } = u, Se = ge.value, { collectColumn: Ie, tableFullColumn: Oe, scrollXStore: Ge, fullColumnIdData: Pe } = c;
106139
106130
  if (he) {
106140
106131
  const Fe = [], Qe = [], yt = [];
106141
106132
  X.eachTree(Ie, (We, _t, kt, Kt, Xt) => {
@@ -106148,7 +106139,7 @@ const XH = H({
106148
106139
  Oe.forEach((Fe) => {
106149
106140
  Fe.visible && (Fe.fixed === "left" ? Q.push(Fe) : Fe.fixed === "right" ? ve.push(Fe) : re.push(Fe));
106150
106141
  });
106151
- const Ke = Q.concat(re).concat(ve), Ye = !!xe.enabled && xe.gt > -1 && (xe.gt === 0 || xe.gt < Oe.length);
106142
+ const Ke = Q.concat(re).concat(ve), Ye = !!Se.enabled && Se.gt > -1 && (Se.gt === 0 || Se.gt < Oe.length);
106152
106143
  if (u.hasFixedColumn = Q.length > 0 || ve.length > 0, Object.assign(Ce, { leftList: Q, centerList: re, rightList: ve }), Ye) {
106153
106144
  if (G && !Y.height) {
106154
106145
  const Fe = c.tableFullColumn.find((Qe) => Qe.showOverflow === !1);
@@ -106174,7 +106165,7 @@ const XH = H({
106174
106165
  const G = I2(I);
106175
106166
  return c.tableFullColumn = G, u._isLoading = !0, u.isDragColMove = !1, Poe(), Promise.resolve(ff()).then(() => (u._isLoading = !1, pf(), Jx(!0).then(() => {
106176
106167
  u.scrollXLoad && yf();
106177
- }), d.clearMergeCells(), d.clearMergeFooterItems(), f.handleTableData(!0), process.env.NODE_ENV === "development" && (u.scrollXLoad || u.scrollYLoad) && u.expandColumn && Mr("vxe.error.scrollErrProp", ["column.type=expand"]), Se().then(() => (ce && ce.syncUpdate({
106168
+ }), d.clearMergeCells(), d.clearMergeFooterItems(), f.handleTableData(!0), process.env.NODE_ENV === "development" && (u.scrollXLoad || u.scrollYLoad) && u.expandColumn && Mr("vxe.error.scrollErrProp", ["column.type=expand"]), xe().then(() => (ce && ce.syncUpdate({
106178
106169
  collectColumn: c.collectColumn,
106179
106170
  $table: oe
106180
106171
  }), oe.handleUpdateCustomColumn && oe.handleUpdateCustomColumn(), d.recalculate()))));
@@ -106182,7 +106173,7 @@ const XH = H({
106182
106173
  const { treeConfig: G } = e, Y = Ee.value, Q = qt.value, { transform: re } = Q, ve = I || c.tableFullData, he = (re || !G) && !!Y.enabled && Y.gt > -1 && (Y.gt === 0 || Y.gt < ve.length);
106183
106174
  return u.scrollYLoad = he, he;
106184
106175
  }, _I = (I, G) => {
106185
- const { treeExpandedMaps: Y, treeExpandLazyLoadedMaps: Q, treeNodeColumn: re } = u, ve = Object.assign({}, Y), { fullAllDataRowIdData: he, tableFullData: Ce } = c, xe = qt.value, { reserve: Ie, lazy: Oe, accordion: Ge, toggleMethod: Pe } = xe, Ke = xe.children || xe.childrenField, Ye = xe.hasChild || xe.hasChildField, Fe = [], Qe = d.getColumnIndex(re), yt = d.getVMColumnIndex(re);
106176
+ const { treeExpandedMaps: Y, treeExpandLazyLoadedMaps: Q, treeNodeColumn: re } = u, ve = Object.assign({}, Y), { fullAllDataRowIdData: he, tableFullData: Ce } = c, Se = qt.value, { reserve: Ie, lazy: Oe, accordion: Ge, toggleMethod: Pe } = Se, Ke = Se.children || Se.childrenField, Ye = Se.hasChild || Se.hasChildField, Fe = [], Qe = d.getColumnIndex(re), yt = d.getVMColumnIndex(re);
106186
106177
  let We = Pe ? I.filter((_t) => Pe({ $table: oe, expanded: G, column: re, columnIndex: Qe, $columnIndex: yt, row: _t })) : I;
106187
106178
  if (Ge) {
106188
106179
  We = We.length ? [We[We.length - 1]] : [];
@@ -106216,13 +106207,13 @@ const XH = H({
106216
106207
  checked: G
106217
106208
  }, I);
106218
106209
  }, T0 = () => {
106219
- const { showOverflow: I } = e, { mergeList: G } = u, { tableHeight: Y, scrollYStore: Q } = c, { startIndex: re, endIndex: ve, offsetSize: he } = Q, Ce = I ? he : he + Math.min(8, Math.ceil(Y / 200)), { toVisibleIndex: xe, visibleSize: Ie } = Gt(), Oe = {
106220
- startIndex: Math.max(0, xe - 1 - he),
106221
- endIndex: xe + Ie + Ce
106210
+ const { showOverflow: I } = e, { mergeList: G } = u, { tableHeight: Y, scrollYStore: Q } = c, { startIndex: re, endIndex: ve, offsetSize: he } = Q, Ce = I ? he : he + Math.min(8, Math.ceil(Y / 200)), { toVisibleIndex: Se, visibleSize: Ie } = Gt(), Oe = {
106211
+ startIndex: Math.max(0, Se - 1 - he),
106212
+ endIndex: Se + Ie + Ce
106222
106213
  };
106223
106214
  tr(G, Oe, "row");
106224
106215
  const { startIndex: Ge, endIndex: Pe } = Oe;
106225
- (xe <= re || xe >= ve - Ie - 1) && (re !== Ge || ve !== Pe) && (Q.startIndex = Ge, Q.endIndex = Pe, oe.updateScrollYData());
106216
+ (Se <= re || Se >= ve - Ie - 1) && (re !== Ge || ve !== Pe) && (Q.startIndex = Ge, Q.endIndex = Pe, oe.updateScrollYData());
106226
106217
  }, L2 = (I) => function(G) {
106227
106218
  const { fullAllDataRowIdData: Y } = c;
106228
106219
  if (G) {
@@ -106253,11 +106244,11 @@ const XH = H({
106253
106244
  const { intoRunScroll: G, inFooterScroll: Y, inBodyScroll: Q, lastScrollTop: re } = c;
106254
106245
  if (!G && (Y || Q))
106255
106246
  return;
106256
- const ve = w.value, he = C.value, Ce = x.value, xe = he.$el, Ie = ve ? ve.$el : null, Oe = Ce ? Ce.$el : null, Ge = ne.value, Pe = I.currentTarget, { scrollLeft: Ke } = Pe, Ye = Ge || xe;
106247
+ const ve = w.value, he = C.value, Ce = x.value, Se = he.$el, Ie = ve ? ve.$el : null, Oe = Ce ? Ce.$el : null, Ge = ne.value, Pe = I.currentTarget, { scrollLeft: Ke } = Pe, Ye = Ge || Se;
106257
106248
  let Fe = 0;
106258
106249
  Ye && (Fe = Ye.scrollTop);
106259
106250
  const Qe = !0, yt = Fe !== re;
106260
- c.inVirtualScroll = !0, Fa(xe, Ke), Fa(Ie, Ke), Fa(Oe, Ke), oe.triggerScrollXEvent(I), oe.handleScrollEvent(I, yt, Qe, Fe, Ke, {
106251
+ c.inVirtualScroll = !0, Fa(Se, Ke), Fa(Ie, Ke), Fa(Oe, Ke), oe.triggerScrollXEvent(I), oe.handleScrollEvent(I, yt, Qe, Fe, Ke, {
106261
106252
  type: "table",
106262
106253
  fixed: ""
106263
106254
  });
@@ -106265,11 +106256,11 @@ const XH = H({
106265
106256
  const { intoRunScroll: G, inFooterScroll: Y, inBodyScroll: Q, lastScrollLeft: re } = c;
106266
106257
  if (!G && (Y || Q))
106267
106258
  return;
106268
- const ve = C.value, he = E.value, Ce = M.value, xe = ve.$el, Ie = he ? he.$el : null, Oe = Ce ? Ce.$el : null, Ge = q.value, Pe = I.currentTarget, { scrollTop: Ke } = Pe, Ye = Ge || xe;
106259
+ const ve = C.value, he = E.value, Ce = M.value, Se = ve.$el, Ie = he ? he.$el : null, Oe = Ce ? Ce.$el : null, Ge = q.value, Pe = I.currentTarget, { scrollTop: Ke } = Pe, Ye = Ge || Se;
106269
106260
  let Fe = 0;
106270
106261
  Ye && (Fe = Ye.scrollLeft);
106271
106262
  const Qe = Fe !== re, yt = !0;
106272
- c.inVirtualScroll = !0, _a(xe, Ke), _a(Ie, Ke), _a(Oe, Ke), oe.triggerScrollYEvent(I), oe.handleScrollEvent(I, yt, Qe, Ke, Fe, {
106263
+ c.inVirtualScroll = !0, _a(Se, Ke), _a(Ie, Ke), _a(Oe, Ke), oe.triggerScrollYEvent(I), oe.handleScrollEvent(I, yt, Qe, Ke, Fe, {
106273
106264
  type: "table",
106274
106265
  fixed: ""
106275
106266
  });
@@ -106288,7 +106279,7 @@ const XH = H({
106288
106279
  n(I, $St(Y, { $table: oe, $grid: ue }, G));
106289
106280
  }, Hoe = (I, G) => {
106290
106281
  const { fullColumnIdData: Y } = c, Q = Da(oe, I);
106291
- return Q && Y[Q.id] ? zH(oe, Q, G) : Se();
106282
+ return Q && Y[Q.id] ? zH(oe, Q, G) : xe();
106292
106283
  };
106293
106284
  d = {
106294
106285
  dispatchEvent: kn,
@@ -106304,7 +106295,7 @@ const XH = H({
106304
106295
  * 对于某些特殊的场景,比如深层树节点元素发生变动时可能会用到
106305
106296
  */
106306
106297
  syncData() {
106307
- return Mr("vxe.error.delFunc", ["syncData", "getData"]), Se().then(() => (u.tableData = [], n("update:data", c.tableFullData), Se()));
106298
+ return Mr("vxe.error.delFunc", ["syncData", "getData"]), xe().then(() => (u.tableData = [], n("update:data", c.tableFullData), xe()));
106308
106299
  },
106309
106300
  /**
106310
106301
  * 手动处理数据,用于手动排序与筛选
@@ -106347,7 +106338,7 @@ const XH = H({
106347
106338
  X.set(he, Q, ve), Object.assign(re, he);
106348
106339
  });
106349
106340
  }
106350
- return Se();
106341
+ return xe();
106351
106342
  },
106352
106343
  /**
106353
106344
  * 局部加载行数据并恢复到初始状态
@@ -106362,16 +106353,16 @@ const XH = H({
106362
106353
  const he = d.getRowIndex(I), Ce = ve[he];
106363
106354
  if (Ce && I)
106364
106355
  if (Y) {
106365
- const xe = X.clone(X.get(G || I, Y), !0);
106366
- X.set(I, Y, xe), X.set(Ce, Y, xe);
106356
+ const Se = X.clone(X.get(G || I, Y), !0);
106357
+ X.set(I, Y, Se), X.set(Ce, Y, Se);
106367
106358
  } else {
106368
- const xe = sc(oe), Ie = wt(oe, I), Oe = X.clone(Object.assign({}, G), !0);
106369
- X.set(Oe, xe, Ie), X.destructuring(Ce, Object.assign(I, Oe));
106359
+ const Se = sc(oe), Ie = wt(oe, I), Oe = X.clone(Object.assign({}, G), !0);
106360
+ X.set(Oe, Se, Ie), X.destructuring(Ce, Object.assign(I, Oe));
106370
106361
  }
106371
106362
  u.tableData = re.slice(0);
106372
106363
  } else
106373
106364
  process.env.NODE_ENV === "development" && Mr("vxe.error.reqProp", ["keep-source"]);
106374
- return Se();
106365
+ return xe();
106375
106366
  },
106376
106367
  getParams() {
106377
106368
  return e.params;
@@ -106380,7 +106371,7 @@ const XH = H({
106380
106371
  * 用于树结构,给行数据加载子节点
106381
106372
  */
106382
106373
  loadTreeChildren(I, G) {
106383
- const { keepSource: Y } = e, { tableSourceData: Q, fullDataRowIdData: re, fullAllDataRowIdData: ve, sourceDataRowIdData: he } = c, Ce = qt.value, { transform: xe, mapChildrenField: Ie } = Ce, Oe = Ce.children || Ce.childrenField, Ge = ve[wt(oe, I)], Pe = Ge ? Ge.level : 0;
106374
+ const { keepSource: Y } = e, { tableSourceData: Q, fullDataRowIdData: re, fullAllDataRowIdData: ve, sourceDataRowIdData: he } = c, Ce = qt.value, { transform: Se, mapChildrenField: Ie } = Ce, Oe = Ce.children || Ce.childrenField, Ge = ve[wt(oe, I)], Pe = Ge ? Ge.level : 0;
106384
106375
  return d.createData(G).then((Ke) => {
106385
106376
  if (Y) {
106386
106377
  const Ye = wt(oe, I), Fe = X.findTree(Q, (Qe) => Ye === wt(oe, Qe), { children: Oe });
@@ -106392,7 +106383,7 @@ const XH = H({
106392
106383
  return X.eachTree(Ke, (Ye, Fe, Qe, yt, We, _t) => {
106393
106384
  const kt = wt(oe, Ye), Kt = We || Ge.row, Xt = { row: Ye, rowid: kt, seq: -1, index: Fe, _index: -1, $index: -1, items: Qe, parent: Kt, level: Pe + _t.length, height: 0, oTop: 0 };
106394
106385
  re[kt] = Xt, ve[kt] = Xt;
106395
- }, { children: Oe }), I[Oe] = Ke, xe && (I[Ie] = X.clone(Ke, !1)), Kc(), Ke;
106386
+ }, { children: Oe }), I[Oe] = Ke, Se && (I[Ie] = X.clone(Ke, !1)), Kc(), Ke;
106396
106387
  });
106397
106388
  },
106398
106389
  /**
@@ -106495,7 +106486,7 @@ const XH = H({
106495
106486
  * @param {Array} records 新数据
106496
106487
  */
106497
106488
  createData(I) {
106498
- return Se().then(() => Nr(f.defineField(I)));
106489
+ return xe().then(() => Nr(f.defineField(I)));
106499
106490
  },
106500
106491
  /**
106501
106492
  * 创建 Row|Rows 对象
@@ -106533,14 +106524,14 @@ const XH = H({
106533
106524
  revertData(I, G) {
106534
106525
  const { keepSource: Y } = e, { tableSourceData: Q, sourceDataRowIdData: re } = c;
106535
106526
  if (!Y)
106536
- return process.env.NODE_ENV === "development" && Mr("vxe.error.reqProp", ["keep-source"]), Se();
106527
+ return process.env.NODE_ENV === "development" && Mr("vxe.error.reqProp", ["keep-source"]), xe();
106537
106528
  let ve = I;
106538
106529
  return I ? X.isArray(I) || (ve = [I]) : ve = X.toArray(oe.getUpdateRecords()), ve.length && ve.forEach((he) => {
106539
106530
  if (!d.isInsertByRow(he)) {
106540
- const Ce = wt(oe, he), xe = re[Ce];
106541
- xe && he && (G ? X.set(he, G, X.clone(X.get(xe, G), !0)) : X.destructuring(he, X.clone(xe, !0)));
106531
+ const Ce = wt(oe, he), Se = re[Ce];
106532
+ Se && he && (G ? X.set(he, G, X.clone(X.get(Se, G), !0)) : X.destructuring(he, X.clone(Se, !0)));
106542
106533
  }
106543
- }), I ? Se() : d.reloadData(Q);
106534
+ }), I ? xe() : d.reloadData(Q);
106544
106535
  },
106545
106536
  /**
106546
106537
  * 清空单元格内容
@@ -106557,7 +106548,7 @@ const XH = H({
106557
106548
  Q.forEach((ve) => {
106558
106549
  ve.field && du(re, ve, null);
106559
106550
  });
106560
- }), Se();
106551
+ }), xe();
106561
106552
  },
106562
106553
  getCellElement(I, G) {
106563
106554
  const Y = Da(oe, G);
@@ -106575,8 +106566,8 @@ const XH = H({
106575
106566
  let ve = re;
106576
106567
  if (Q) {
106577
106568
  let he;
106578
- const { fullAllDataRowIdData: Ce } = c, xe = wt(oe, I), Ie = Y.id, Oe = Ce[xe];
106579
- if (Oe && (he = Oe.formatData, he || (he = Ce[xe].formatData = {}), Oe && he[Ie] && he[Ie].value === re))
106569
+ const { fullAllDataRowIdData: Ce } = c, Se = wt(oe, I), Ie = Y.id, Oe = Ce[Se];
106570
+ if (Oe && (he = Oe.formatData, he || (he = Ce[Se].formatData = {}), Oe && he[Ie] && he[Ie].value === re))
106580
106571
  return he[Ie].label;
106581
106572
  const Ge = { cellValue: re, row: I, rowIndex: d.getRowIndex(I), column: Y, columnIndex: d.getColumnIndex(Y) };
106582
106573
  if (X.isString(Q)) {
@@ -106622,8 +106613,8 @@ const XH = H({
106622
106613
  if (Ce) {
106623
106614
  if (arguments.length > 1)
106624
106615
  return !rn(Ce, I, G);
106625
- for (let xe = 0, Ie = Q.length; xe < Ie; xe++) {
106626
- const Oe = Q[xe].field;
106616
+ for (let Se = 0, Ie = Q.length; Se < Ie; Se++) {
106617
+ const Oe = Q[Se].field;
106627
106618
  if (Oe && !rn(Ce, I, Oe))
106628
106619
  return !0;
106629
106620
  }
@@ -106696,7 +106687,7 @@ const XH = H({
106696
106687
  * 用于多选行,获取已选中的数据
106697
106688
  */
106698
106689
  getCheckboxRecords(I) {
106699
- const { treeConfig: G } = e, { tableFullData: Y, afterFullData: Q, afterTreeFullData: re, tableFullTreeData: ve, fullDataRowIdData: he, afterFullRowMaps: Ce } = c, xe = qt.value, Ie = He.value, { transform: Oe, mapChildrenField: Ge } = xe, { checkField: Pe } = Ie, Ke = xe.children || xe.childrenField;
106690
+ const { treeConfig: G } = e, { tableFullData: Y, afterFullData: Q, afterTreeFullData: re, tableFullTreeData: ve, fullDataRowIdData: he, afterFullRowMaps: Ce } = c, Se = qt.value, Ie = He.value, { transform: Oe, mapChildrenField: Ge } = Se, { checkField: Pe } = Ie, Ke = Se.children || Se.childrenField;
106700
106691
  let Ye = [];
106701
106692
  const Fe = I ? Oe ? ve : Y : Oe ? re : Q;
106702
106693
  if (Pe)
@@ -106717,7 +106708,7 @@ const XH = H({
106717
106708
  if (I && G) {
106718
106709
  let Ce;
106719
106710
  if (X.isString(I) ? Ce = I : Ce = wt(oe, I), Ce) {
106720
- const xe = Y[Ce], Ie = xe ? xe.row : null;
106711
+ const Se = Y[Ce], Ie = Se ? Se.row : null;
106721
106712
  if (Ie)
106722
106713
  return Ie[re ? ve : he] || [];
106723
106714
  }
@@ -106790,19 +106781,19 @@ const XH = H({
106790
106781
  let Y = !1;
106791
106782
  const Q = X.isArray(I) ? I : [I], re = Ne.value, ve = ya.value;
106792
106783
  for (let he = 0; he < Q.length; he++) {
106793
- const Ce = Q[he], xe = Da(oe, Ce), Ie = FH(oe, xe);
106784
+ const Ce = Q[he], Se = Da(oe, Ce), Ie = FH(oe, Se);
106794
106785
  if (Ie && Ie.fixed !== G) {
106795
106786
  if (!Ie.fixed && ve)
106796
106787
  return st.modal && st.modal.message({
106797
106788
  status: "error",
106798
106789
  content: ld("vxe.table.maxFixedCol", [re.maxFixedSize])
106799
- }), Se();
106790
+ }), xe();
106800
106791
  X.eachTree([Ie], (Oe) => {
106801
106792
  Oe.fixed = G;
106802
106793
  }), f.saveCustomStore("update:fixed"), Y || (Y = !0);
106803
106794
  }
106804
106795
  }
106805
- return Y ? d.refreshColumn() : Se();
106796
+ return Y ? d.refreshColumn() : xe();
106806
106797
  },
106807
106798
  /**
106808
106799
  * 取消指定固定列
@@ -106814,7 +106805,7 @@ const XH = H({
106814
106805
  ve && ve.fixed && (X.eachTree([ve], (he) => {
106815
106806
  he.fixed = null;
106816
106807
  }), f.saveCustomStore("update:fixed"), G || (G = !0));
106817
- }), G ? d.refreshColumn() : Se();
106808
+ }), G ? d.refreshColumn() : xe();
106818
106809
  },
106819
106810
  /**
106820
106811
  * 隐藏指定列
@@ -106824,7 +106815,7 @@ const XH = H({
106824
106815
  return (X.isArray(I) ? I : [I]).forEach((Q) => {
106825
106816
  const re = Da(oe, Q);
106826
106817
  re && re.visible && (re.visible = !1, G || (G = !0));
106827
- }), G ? f.handleCustom() : Se();
106818
+ }), G ? f.handleCustom() : xe();
106828
106819
  },
106829
106820
  /**
106830
106821
  * 显示指定列
@@ -106834,7 +106825,7 @@ const XH = H({
106834
106825
  return (X.isArray(I) ? I : [I]).forEach((Q) => {
106835
106826
  const re = Da(oe, Q);
106836
106827
  re && !re.visible && (re.visible = !0, G || (G = !0));
106837
- }), G ? f.handleCustom() : Se();
106828
+ }), G ? f.handleCustom() : xe();
106838
106829
  },
106839
106830
  setColumnWidth(I, G) {
106840
106831
  let Y = !1;
@@ -106844,12 +106835,12 @@ const XH = H({
106844
106835
  const he = X.toInteger(G);
106845
106836
  let Ce = he;
106846
106837
  if (Qm(G)) {
106847
- const xe = C.value, Ie = xe ? xe.$el : null, Oe = Ie ? Ie.clientWidth - 1 : 0;
106838
+ const Se = C.value, Ie = Se ? Se.$el : null, Oe = Ie ? Ie.clientWidth - 1 : 0;
106848
106839
  Ce = Math.floor(he * Oe);
106849
106840
  }
106850
106841
  ve.resizeWidth = Ce, Y || (Y = !0);
106851
106842
  }
106852
- }), Y ? d.refreshColumn() : Se();
106843
+ }), Y ? d.refreshColumn() : xe();
106853
106844
  },
106854
106845
  getColumnWidth(I) {
106855
106846
  const G = Da(oe, I);
@@ -106875,13 +106866,13 @@ const XH = H({
106875
106866
  * 刷新滚动操作,手动同步滚动相关位置(对于某些特殊的操作,比如滚动条错位、固定列不同步)
106876
106867
  */
106877
106868
  refreshScroll() {
106878
- const { lastScrollLeft: I, lastScrollTop: G } = c, Y = C.value, Q = x.value, re = E.value, ve = M.value, he = Y ? Y.$el : null, Ce = re ? re.$el : null, xe = ve ? ve.$el : null, Ie = Q ? Q.$el : null;
106869
+ const { lastScrollLeft: I, lastScrollTop: G } = c, Y = C.value, Q = x.value, re = E.value, ve = M.value, he = Y ? Y.$el : null, Ce = re ? re.$el : null, Se = ve ? ve.$el : null, Ie = Q ? Q.$el : null;
106879
106870
  return new Promise((Oe) => {
106880
106871
  if (I || G)
106881
106872
  return V8(oe, I, G).then().then(() => {
106882
106873
  setTimeout(Oe, 30);
106883
106874
  });
106884
- _a(he, G), _a(Ce, G), _a(xe, G), Fa(Ie, I), setTimeout(Oe, 30);
106875
+ _a(he, G), _a(Ce, G), _a(Se, G), Fa(Ie, I), setTimeout(Oe, 30);
106885
106876
  });
106886
106877
  },
106887
106878
  /**
@@ -106891,7 +106882,7 @@ const XH = H({
106891
106882
  recalculate(I) {
106892
106883
  return new Promise((G) => {
106893
106884
  const { rceTimeout: Y, rceRunTime: Q } = c, ve = ut.value.refreshDelay || 20, he = p.value;
106894
- he && he.clientWidth && Uc(), Y ? (clearTimeout(Y), Q && Q + (ve - 5) < Date.now() ? G(Zx(!!I)) : Se(() => {
106885
+ he && he.clientWidth && Uc(), Y ? (clearTimeout(Y), Q && Q + (ve - 5) < Date.now() ? G(Zx(!!I)) : xe(() => {
106895
106886
  G();
106896
106887
  })) : G(Zx(!!I)), c.rceTimeout = setTimeout(() => {
106897
106888
  c.rceTimeout = void 0, Zx(!!I);
@@ -106900,7 +106891,7 @@ const XH = H({
106900
106891
  },
106901
106892
  openTooltip(I, G) {
106902
106893
  const Y = v.value;
106903
- return Y && Y.open ? Y.open(I, G) : Se();
106894
+ return Y && Y.open ? Y.open(I, G) : xe();
106904
106895
  },
106905
106896
  /**
106906
106897
  * 关闭 tooltip
@@ -106913,7 +106904,7 @@ const XH = H({
106913
106904
  content: null,
106914
106905
  visible: !1,
106915
106906
  currOpts: {}
106916
- }), G && G.close && G.close()), Y && Y.close && Y.close(), Se();
106907
+ }), G && G.close && G.close()), Y && Y.close && Y.close(), xe();
106917
106908
  },
106918
106909
  /**
106919
106910
  * 判断列头复选框是否被选中
@@ -106982,7 +106973,7 @@ const XH = H({
106982
106973
  */
106983
106974
  toggleCheckboxRow(I) {
106984
106975
  const { selectCheckboxMaps: G } = u, Y = He.value, { checkField: Q } = Y, re = Q ? !X.get(I, Q) : !G[wt(oe, I)];
106985
- return f.handleBatchSelectRows([I], re, !0), f.checkSelectionStatus(), Se();
106976
+ return f.handleBatchSelectRows([I], re, !0), f.checkSelectionStatus(), xe();
106986
106977
  },
106987
106978
  /**
106988
106979
  * 用于多选行,设置所有行的选中状态
@@ -106997,29 +106988,29 @@ const XH = H({
106997
106988
  getRadioReserveRecord(I) {
106998
106989
  const { treeConfig: G } = e, { fullDataRowIdData: Y, radioReserveRow: Q, afterFullData: re } = c, ve = Le.value, he = qt.value, Ce = he.children || he.childrenField;
106999
106990
  if (ve.reserve && Q) {
107000
- const xe = wt(oe, Q);
106991
+ const Se = wt(oe, Q);
107001
106992
  if (I) {
107002
- if (!Y[xe])
106993
+ if (!Y[Se])
107003
106994
  return Q;
107004
106995
  } else {
107005
106996
  const Ie = sc(oe);
107006
106997
  if (G) {
107007
- if (X.findTree(re, (Ge) => xe === X.get(Ge, Ie), { children: Ce }))
106998
+ if (X.findTree(re, (Ge) => Se === X.get(Ge, Ie), { children: Ce }))
107008
106999
  return Q;
107009
- } else if (!re.some((Oe) => xe === X.get(Oe, Ie)))
107000
+ } else if (!re.some((Oe) => Se === X.get(Oe, Ie)))
107010
107001
  return Q;
107011
107002
  }
107012
107003
  }
107013
107004
  return null;
107014
107005
  },
107015
107006
  clearRadioReserve() {
107016
- return c.radioReserveRow = null, Se();
107007
+ return c.radioReserveRow = null, xe();
107017
107008
  },
107018
107009
  /**
107019
107010
  * 获取复选框保留选中的行
107020
107011
  */
107021
107012
  getCheckboxReserveRecords(I) {
107022
- const { treeConfig: G } = e, { afterFullData: Y, fullDataRowIdData: Q, checkboxReserveRowMap: re } = c, ve = He.value, he = qt.value, Ce = he.children || he.childrenField, xe = [];
107013
+ const { treeConfig: G } = e, { afterFullData: Y, fullDataRowIdData: Q, checkboxReserveRowMap: re } = c, ve = He.value, he = qt.value, Ce = he.children || he.childrenField, Se = [];
107023
107014
  if (ve.reserve) {
107024
107015
  const Ie = {};
107025
107016
  G ? X.eachTree(Y, (Oe) => {
@@ -107027,19 +107018,19 @@ const XH = H({
107027
107018
  }, { children: Ce }) : Y.forEach((Oe) => {
107028
107019
  Ie[wt(oe, Oe)] = 1;
107029
107020
  }), X.each(re, (Oe, Ge) => {
107030
- Oe && (I ? Q[Ge] || xe.push(Oe) : Ie[Ge] || xe.push(Oe));
107021
+ Oe && (I ? Q[Ge] || Se.push(Oe) : Ie[Ge] || Se.push(Oe));
107031
107022
  });
107032
107023
  }
107033
- return xe;
107024
+ return Se;
107034
107025
  },
107035
107026
  clearCheckboxReserve() {
107036
- return c.checkboxReserveRowMap = {}, Se();
107027
+ return c.checkboxReserveRowMap = {}, xe();
107037
107028
  },
107038
107029
  /**
107039
107030
  * 多选,切换所有行的选中状态
107040
107031
  */
107041
107032
  toggleAllCheckboxRow() {
107042
- return wI(null, !u.isAllSelected), Se();
107033
+ return wI(null, !u.isAllSelected), xe();
107043
107034
  },
107044
107035
  /**
107045
107036
  * 用于多选行,手动清空用户的选择
@@ -107048,12 +107039,12 @@ const XH = H({
107048
107039
  clearCheckboxRow() {
107049
107040
  const { treeConfig: I } = e, { tableFullData: G } = c, Y = qt.value, Q = Y.children || Y.childrenField, re = He.value, { checkField: ve, reserve: he } = re, Ce = re.indeterminateField || re.halfField;
107050
107041
  if (ve) {
107051
- const xe = (Ie) => {
107042
+ const Se = (Ie) => {
107052
107043
  I && Ce && X.set(Ie, Ce, !1), X.set(Ie, ve, !1);
107053
107044
  };
107054
- I ? X.eachTree(G, xe, { children: Q }) : G.forEach(xe);
107045
+ I ? X.eachTree(G, Se, { children: Q }) : G.forEach(Se);
107055
107046
  }
107056
- return he && G.forEach((xe) => Wi(xe, !1)), u.isAllSelected = !1, u.isIndeterminate = !1, u.selectCheckboxMaps = {}, u.treeIndeterminateMaps = {}, Se();
107047
+ return he && G.forEach((Se) => Wi(Se, !1)), u.isAllSelected = !1, u.isIndeterminate = !1, u.selectCheckboxMaps = {}, u.treeIndeterminateMaps = {}, xe();
107057
107048
  },
107058
107049
  /**
107059
107050
  * 用于当前行,设置某一行为高亮状态
@@ -107061,7 +107052,7 @@ const XH = H({
107061
107052
  */
107062
107053
  setCurrentRow(I) {
107063
107054
  const G = $e.value, Y = p.value;
107064
- return d.clearCurrentRow(), u.currentRow = I, (G.isCurrent || e.highlightCurrentRow) && Y && X.arrayEach(Y.querySelectorAll(`[rowid="${wt(oe, I)}"]`), (Q) => cu(Q, "row--current")), Se();
107055
+ return d.clearCurrentRow(), u.currentRow = I, (G.isCurrent || e.highlightCurrentRow) && Y && X.arrayEach(Y.querySelectorAll(`[rowid="${wt(oe, I)}"]`), (Q) => cu(Q, "row--current")), xe();
107065
107056
  },
107066
107057
  isCheckedByRadioRow(I) {
107067
107058
  const { selectRadioRow: G } = u;
@@ -107084,20 +107075,20 @@ const XH = H({
107084
107075
  */
107085
107076
  setRadioRowKey(I) {
107086
107077
  const { fullAllDataRowIdData: G } = c, Y = G[I];
107087
- return Y ? vf(Y.row, !0) : Se();
107078
+ return Y ? vf(Y.row, !0) : xe();
107088
107079
  },
107089
107080
  /**
107090
107081
  * 用于当前行,手动清空当前高亮的状态
107091
107082
  */
107092
107083
  clearCurrentRow() {
107093
107084
  const I = p.value;
107094
- return u.currentRow = null, c.hoverRow = null, I && X.arrayEach(I.querySelectorAll(".row--current"), (G) => Ji(G, "row--current")), Se();
107085
+ return u.currentRow = null, c.hoverRow = null, I && X.arrayEach(I.querySelectorAll(".row--current"), (G) => Ji(G, "row--current")), xe();
107095
107086
  },
107096
107087
  /**
107097
107088
  * 用于单选行,手动清空用户的选择
107098
107089
  */
107099
107090
  clearRadioRow() {
107100
- return u.selectRadioRow = null, Se();
107091
+ return u.selectRadioRow = null, xe();
107101
107092
  },
107102
107093
  /**
107103
107094
  * 用于当前行,获取当前行的数据
@@ -107128,13 +107119,13 @@ const XH = H({
107128
107119
  */
107129
107120
  setCurrentColumn(I) {
107130
107121
  const G = Da(oe, I);
107131
- return G && (d.clearCurrentColumn(), u.currentColumn = G), Se();
107122
+ return G && (d.clearCurrentColumn(), u.currentColumn = G), xe();
107132
107123
  },
107133
107124
  /**
107134
107125
  * 用于当前列,手动清空当前高亮的状态
107135
107126
  */
107136
107127
  clearCurrentColumn() {
107137
- return u.currentColumn = null, Se();
107128
+ return u.currentColumn = null, xe();
107138
107129
  },
107139
107130
  setPendingRow(I, G) {
107140
107131
  const Y = Object.assign({}, u.pendingRowMaps);
@@ -107144,14 +107135,14 @@ const XH = H({
107144
107135
  }) : I.forEach((Q) => {
107145
107136
  const re = wt(oe, Q);
107146
107137
  re && Y[re] && delete Y[re];
107147
- }), u.pendingRowMaps = Y, Se();
107138
+ }), u.pendingRowMaps = Y, xe();
107148
107139
  },
107149
107140
  togglePendingRow(I) {
107150
107141
  const G = Object.assign({}, u.pendingRowMaps);
107151
107142
  return I && !X.isArray(I) && (I = [I]), I.forEach((Y) => {
107152
107143
  const Q = wt(oe, Y);
107153
107144
  Q && (G[Q] ? delete G[Q] : G[Q] = Y);
107154
- }), u.pendingRowMaps = G, Se();
107145
+ }), u.pendingRowMaps = G, xe();
107155
107146
  },
107156
107147
  hasPendingByRow(I) {
107157
107148
  return d.isPendingByRow(I);
@@ -107167,28 +107158,28 @@ const XH = H({
107167
107158
  }), Y;
107168
107159
  },
107169
107160
  clearPendingRow() {
107170
- return u.pendingRowMaps = {}, Se();
107161
+ return u.pendingRowMaps = {}, xe();
107171
107162
  },
107172
107163
  sort(I, G) {
107173
107164
  const Y = St.value, { multiple: Q, remote: re, orders: ve } = Y;
107174
107165
  return I && X.isString(I) && (I = [
107175
107166
  { field: I, order: G }
107176
107167
  ]), X.isArray(I) || (I = [I]), I.length ? (Q || ps(), (Q ? I : [I[0]]).forEach((he, Ce) => {
107177
- let { field: xe, order: Ie } = he, Oe = xe;
107178
- X.isString(xe) && (Oe = d.getColumnByField(xe)), Oe && Oe.sortable && (ve.indexOf(Ie) === -1 && (Ie = Ln(Oe)), Oe.order !== Ie && (Oe.order = Ie), Oe.sortTime = Date.now() + Ce);
107179
- }), re || f.handleTableData(!0), Se().then(() => (d.updateCellAreas(), eo()))) : Se();
107168
+ let { field: Se, order: Ie } = he, Oe = Se;
107169
+ X.isString(Se) && (Oe = d.getColumnByField(Se)), Oe && Oe.sortable && (ve.indexOf(Ie) === -1 && (Ie = Ln(Oe)), Oe.order !== Ie && (Oe.order = Ie), Oe.sortTime = Date.now() + Ce);
107170
+ }), re || f.handleTableData(!0), xe().then(() => (d.updateCellAreas(), eo()))) : xe();
107180
107171
  },
107181
107172
  setSort(I, G) {
107182
107173
  const Y = St.value, { multiple: Q, remote: re, orders: ve } = Y;
107183
107174
  if (X.isArray(I) || (I = [I]), I && I.length) {
107184
107175
  Q || (I = [I[0]], ps());
107185
107176
  let he = null;
107186
- return I.forEach((Ce, xe) => {
107177
+ return I.forEach((Ce, Se) => {
107187
107178
  let { field: Ie, order: Oe } = Ce, Ge = Ie;
107188
- X.isString(Ie) && (Ge = d.getColumnByField(Ie)), he || (he = Ge), Ge && Ge.sortable && (ve.indexOf(Oe) === -1 && (Oe = Ln(Ge)), Ge.order !== Oe && (Ge.order = Oe), Ge.sortTime = Date.now() + xe);
107189
- }), G && (re || f.handleTableData(!0), oe.handleColumnSortEvent(new Event("click"), he)), Se().then(() => (d.updateCellAreas(), eo()));
107179
+ X.isString(Ie) && (Ge = d.getColumnByField(Ie)), he || (he = Ge), Ge && Ge.sortable && (ve.indexOf(Oe) === -1 && (Oe = Ln(Ge)), Ge.order !== Oe && (Ge.order = Oe), Ge.sortTime = Date.now() + Se);
107180
+ }), G && (re || f.handleTableData(!0), oe.handleColumnSortEvent(new Event("click"), he)), xe().then(() => (d.updateCellAreas(), eo()));
107190
107181
  }
107191
- return Se();
107182
+ return xe();
107192
107183
  },
107193
107184
  /**
107194
107185
  * 清空指定列的排序条件
@@ -107202,7 +107193,7 @@ const XH = H({
107202
107193
  Y && (Y.order = null);
107203
107194
  } else
107204
107195
  ps();
107205
- return G.remote || f.handleTableData(!0), Se().then(eo);
107196
+ return G.remote || f.handleTableData(!0), xe().then(eo);
107206
107197
  },
107207
107198
  isSort(I) {
107208
107199
  if (I) {
@@ -107229,7 +107220,7 @@ const XH = H({
107229
107220
  isIndeterminate: !1,
107230
107221
  options: [],
107231
107222
  visible: !1
107232
- }), Y && kn("filter-visible", { column: G, property: G.field, field: G.field, filterList: oe.getCheckedFilters(), visible: !1 }, null), Se();
107223
+ }), Y && kn("filter-visible", { column: G, property: G.field, field: G.field, filterList: oe.getCheckedFilters(), visible: !1 }, null), xe();
107233
107224
  },
107234
107225
  /**
107235
107226
  * 判断指定列是否为筛选状态,如果为空则判断所有列
@@ -107252,7 +107243,7 @@ const XH = H({
107252
107243
  },
107253
107244
  clearRowExpandLoaded(I) {
107254
107245
  const G = Object.assign({}, u.rowExpandLazyLoadedMaps), { fullAllDataRowIdData: Y } = c, Q = Wt.value, { lazy: re } = Q, ve = wt(oe, I), he = Y[ve];
107255
- return re && he && (he.expandLoaded = !1, delete G[ve]), u.rowExpandLazyLoadedMaps = G, Se();
107246
+ return re && he && (he.expandLoaded = !1, delete G[ve]), u.rowExpandLazyLoadedMaps = G, xe();
107256
107247
  },
107257
107248
  /**
107258
107249
  * 重新懒加载展开行,并展开内容
@@ -107260,7 +107251,7 @@ const XH = H({
107260
107251
  */
107261
107252
  reloadRowExpand(I) {
107262
107253
  const { rowExpandLazyLoadedMaps: G } = u, Y = Wt.value, { lazy: Q } = Y, re = wt(oe, I);
107263
- return Q && !G[re] && d.clearRowExpandLoaded(I).then(() => E0(I)), Se();
107254
+ return Q && !G[re] && d.clearRowExpandLoaded(I).then(() => E0(I)), xe();
107264
107255
  },
107265
107256
  reloadExpandContent(I) {
107266
107257
  return process.env.NODE_ENV === "development" && Mr("vxe.error.delFunc", ["reloadExpandContent", "reloadRowExpand"]), d.reloadRowExpand(I);
@@ -107292,7 +107283,7 @@ const XH = H({
107292
107283
  setRowExpand(I, G) {
107293
107284
  const { rowExpandedMaps: Y, rowExpandLazyLoadedMaps: Q, expandColumn: re } = u, { fullAllDataRowIdData: ve } = c;
107294
107285
  let he = Object.assign({}, Y);
107295
- const Ce = Wt.value, { reserve: xe, lazy: Ie, accordion: Oe, toggleMethod: Ge } = Ce, Pe = [], Ke = d.getColumnIndex(re), Ye = d.getVMColumnIndex(re);
107286
+ const Ce = Wt.value, { reserve: Se, lazy: Ie, accordion: Oe, toggleMethod: Ge } = Ce, Pe = [], Ke = d.getColumnIndex(re), Ye = d.getVMColumnIndex(re);
107296
107287
  if (I) {
107297
107288
  X.isArray(I) || (I = [I]), Oe && (he = {}, I = I.slice(I.length - 1, I.length));
107298
107289
  const Fe = Ge ? I.filter((Qe) => Ge({ $table: oe, expanded: G, column: re, columnIndex: Ke, $columnIndex: Ye, row: Qe, rowIndex: d.getRowIndex(Qe), $rowIndex: d.getVMRowIndex(Qe) })) : I;
@@ -107305,7 +107296,7 @@ const XH = H({
107305
107296
  }) : Fe.forEach((Qe) => {
107306
107297
  const yt = wt(oe, Qe);
107307
107298
  he[yt] && delete he[yt];
107308
- }), xe && Fe.forEach((Qe) => k2(Qe, G));
107299
+ }), Se && Fe.forEach((Qe) => k2(Qe, G));
107309
107300
  }
107310
107301
  return u.rowExpandedMaps = he, Promise.all(Pe).then(() => d.recalculate());
107311
107302
  },
@@ -107325,12 +107316,12 @@ const XH = H({
107325
107316
  */
107326
107317
  clearRowExpand() {
107327
107318
  const { tableFullData: I } = c, G = Wt.value, { reserve: Y } = G, Q = d.getRowExpandRecords();
107328
- return u.rowExpandedMaps = {}, Y && I.forEach((re) => k2(re, !1)), Se().then(() => {
107319
+ return u.rowExpandedMaps = {}, Y && I.forEach((re) => k2(re, !1)), xe().then(() => {
107329
107320
  Q.length && d.recalculate();
107330
107321
  });
107331
107322
  },
107332
107323
  clearRowExpandReserve() {
107333
- return c.rowExpandedReserveRowMap = {}, Se();
107324
+ return c.rowExpandedReserveRowMap = {}, xe();
107334
107325
  },
107335
107326
  getRowExpandRecords() {
107336
107327
  const I = [];
@@ -107357,7 +107348,7 @@ const XH = H({
107357
107348
  return I && (X.isArray(I) || (I = [I]), I.forEach((ve) => {
107358
107349
  const he = wt(oe, ve), Ce = Y[he];
107359
107350
  Ce && (Ce.treeLoaded = !1, G[he] && delete G[he]);
107360
- })), u.treeExpandedMaps = G, re ? (Hi(), f.handleTableData()) : Se();
107351
+ })), u.treeExpandedMaps = G, re ? (Hi(), f.handleTableData()) : xe();
107361
107352
  },
107362
107353
  /**
107363
107354
  * 重新懒加载树节点,并展开该节点
@@ -107368,7 +107359,7 @@ const XH = H({
107368
107359
  return ve && I[Q] && !G[he] ? d.clearTreeExpandLoaded(I).then(() => jc(I)).then(() => {
107369
107360
  if (re)
107370
107361
  return Hi(), f.handleTableData();
107371
- }).then(() => d.recalculate()) : Se();
107362
+ }).then(() => d.recalculate()) : xe();
107372
107363
  },
107373
107364
  reloadTreeChilds(I) {
107374
107365
  return process.env.NODE_ENV === "development" && Mr("vxe.error.delFunc", ["reloadTreeChilds", "reloadTreeExpand"]), d.reloadTreeExpand(I);
@@ -107386,8 +107377,8 @@ const XH = H({
107386
107377
  setAllTreeExpand(I) {
107387
107378
  const { tableFullData: G } = c, Y = qt.value, { transform: Q, lazy: re } = Y, ve = Y.children || Y.childrenField, he = [];
107388
107379
  return X.eachTree(G, (Ce) => {
107389
- const xe = Ce[ve];
107390
- (re || xe && xe.length) && he.push(Ce);
107380
+ const Se = Ce[ve];
107381
+ (re || Se && Se.length) && he.push(Ce);
107391
107382
  }, { children: ve }), d.setTreeExpand(he, I).then(() => {
107392
107383
  if (Q)
107393
107384
  return Hi(), d.recalculate();
@@ -107402,7 +107393,7 @@ const XH = H({
107402
107393
  */
107403
107394
  setTreeExpand(I, G) {
107404
107395
  const Y = qt.value, { transform: Q } = Y;
107405
- return I && (X.isArray(I) || (I = [I]), I.length) ? Q ? Noe(I, G) : _I(I, G) : Se();
107396
+ return I && (X.isArray(I) || (I = [I]), I.length) ? Q ? Noe(I, G) : _I(I, G) : xe();
107406
107397
  },
107407
107398
  /**
107408
107399
  * 判断行是否为树形节点展开状态
@@ -107426,7 +107417,7 @@ const XH = H({
107426
107417
  });
107427
107418
  },
107428
107419
  clearTreeExpandReserve() {
107429
- return c.treeExpandedReserveRowMap = {}, Se();
107420
+ return c.treeExpandedReserveRowMap = {}, xe();
107430
107421
  },
107431
107422
  /**
107432
107423
  * 获取表格的滚动状态
@@ -107446,22 +107437,22 @@ const XH = H({
107446
107437
  * @param {Number} scrollTop 上距离
107447
107438
  */
107448
107439
  scrollTo(I, G) {
107449
- const Y = C.value, Q = w.value, re = x.value, ve = E.value, he = M.value, Ce = Y ? Y.$el : null, xe = ve ? ve.$el : null, Ie = he ? he.$el : null, Oe = Q ? Q.$el : null, Ge = re ? re.$el : null;
107440
+ const Y = C.value, Q = w.value, re = x.value, ve = E.value, he = M.value, Ce = Y ? Y.$el : null, Se = ve ? ve.$el : null, Ie = he ? he.$el : null, Oe = Q ? Q.$el : null, Ge = re ? re.$el : null;
107450
107441
  if (c.intoRunScroll = !0, X.isNumber(I)) {
107451
107442
  const Pe = q.value;
107452
107443
  Pe ? Fa(Pe, I) : (Fa(Ce, I), Fa(Oe, I), Fa(Ge, I));
107453
107444
  }
107454
107445
  if (X.isNumber(G)) {
107455
107446
  const Pe = ne.value;
107456
- Pe ? _a(Pe, G) : (_a(Ce, G), _a(xe, G), _a(Ie, G));
107447
+ Pe ? _a(Pe, G) : (_a(Ce, G), _a(Se, G), _a(Ie, G));
107457
107448
  }
107458
107449
  return u.scrollXLoad || u.scrollYLoad ? new Promise((Pe) => {
107459
107450
  setTimeout(() => {
107460
- Se(() => {
107451
+ xe(() => {
107461
107452
  c.intoRunScroll = !1, Pe();
107462
107453
  });
107463
107454
  }, 30);
107464
- }) : Se();
107455
+ }) : xe();
107465
107456
  },
107466
107457
  /**
107467
107458
  * 如果有滚动条,则滚动到对应的行
@@ -107472,7 +107463,7 @@ const XH = H({
107472
107463
  const { showOverflow: Y } = e, { scrollYLoad: Q, scrollXLoad: re } = u, ve = [];
107473
107464
  return I && (e.treeConfig ? ve.push(f.scrollToTreeRow(I)) : ve.push($H(oe, I))), G && ve.push(Hoe(G, I)), Promise.all(ve).then(() => {
107474
107465
  if (I)
107475
- return !Y && (Q || re) && (Xu(), hf()), Se();
107466
+ return !Y && (Q || re) && (Xu(), hf()), xe();
107476
107467
  });
107477
107468
  },
107478
107469
  /**
@@ -107480,17 +107471,17 @@ const XH = H({
107480
107471
  */
107481
107472
  scrollToColumn(I) {
107482
107473
  const { fullColumnIdData: G } = c, Y = Da(oe, I);
107483
- return Y && G[Y.id] ? zH(oe, Y) : Se();
107474
+ return Y && G[Y.id] ? zH(oe, Y) : xe();
107484
107475
  },
107485
107476
  /**
107486
107477
  * 手动清除滚动相关信息,还原到初始状态
107487
107478
  */
107488
107479
  clearScroll() {
107489
- const { scrollXStore: I, scrollYStore: G } = c, Y = C.value, Q = w.value, re = x.value, ve = E.value, he = M.value, Ce = ve ? ve.$el : null, xe = Y ? Y.$el : null, Ie = he ? he.$el : null, Oe = Q ? Q.$el : null, Ge = re ? re.$el : null, Pe = q.value;
107490
- Pe ? Fa(Pe, 0) : (Fa(xe, 0), Fa(Oe, 0), Fa(Ge, 0));
107480
+ const { scrollXStore: I, scrollYStore: G } = c, Y = C.value, Q = w.value, re = x.value, ve = E.value, he = M.value, Ce = ve ? ve.$el : null, Se = Y ? Y.$el : null, Ie = he ? he.$el : null, Oe = Q ? Q.$el : null, Ge = re ? re.$el : null, Pe = q.value;
107481
+ Pe ? Fa(Pe, 0) : (Fa(Se, 0), Fa(Oe, 0), Fa(Ge, 0));
107491
107482
  const Ke = ne.value;
107492
- return Ke ? _a(Ke, 0) : (_a(xe, 0), _a(Ce, 0), _a(Ie, 0)), I.startIndex = 0, I.endIndex = I.visibleSize, G.startIndex = 0, G.endIndex = G.visibleSize, Se().then(() => {
107493
- Fa(xe, 0), Fa(Oe, 0), Fa(Ge, 0), _a(xe, 0), _a(Ce, 0), _a(Ie, 0);
107483
+ return Ke ? _a(Ke, 0) : (_a(Se, 0), _a(Ce, 0), _a(Ie, 0)), I.startIndex = 0, I.endIndex = I.visibleSize, G.startIndex = 0, G.endIndex = G.visibleSize, xe().then(() => {
107484
+ Fa(Se, 0), Fa(Oe, 0), Fa(Ge, 0), _a(Se, 0), _a(Ce, 0), _a(Ie, 0);
107494
107485
  });
107495
107486
  },
107496
107487
  /**
@@ -107499,7 +107490,7 @@ const XH = H({
107499
107490
  updateFooter() {
107500
107491
  const { showFooter: I, footerData: G, footerMethod: Y } = e, { visibleColumn: Q, afterFullData: re } = c;
107501
107492
  let ve = [];
107502
- return I && G && G.length ? ve = G.slice(0) : I && Y && (ve = Q.length ? Y({ columns: Q, data: re, $table: oe, $grid: ue }) : []), u.footerTableData = ve, Se();
107493
+ return I && G && G.length ? ve = G.slice(0) : I && Y && (ve = Q.length ? Y({ columns: Q, data: re, $table: oe, $grid: ue }) : []), u.footerTableData = ve, xe();
107503
107494
  },
107504
107495
  /**
107505
107496
  * 更新列状态 updateStatus({ row, column }, cellValue)
@@ -107508,14 +107499,14 @@ const XH = H({
107508
107499
  */
107509
107500
  updateStatus(I, G) {
107510
107501
  const Y = !X.isUndefined(G);
107511
- return Se().then(() => {
107502
+ return xe().then(() => {
107512
107503
  const { editRules: Q } = e, { validStore: re } = u, ve = C.value;
107513
107504
  if (I && ve && Q) {
107514
- const { row: he, column: Ce } = I, xe = "change";
107515
- if (oe.hasCellRules && oe.hasCellRules(xe, he, Ce)) {
107505
+ const { row: he, column: Ce } = I, Se = "change";
107506
+ if (oe.hasCellRules && oe.hasCellRules(Se, he, Ce)) {
107516
107507
  const Ie = d.getCellElement(he, Ce);
107517
107508
  if (Ie)
107518
- return oe.validCellRules(xe, he, Ce, G).then(() => {
107509
+ return oe.validCellRules(Se, he, Ce, G).then(() => {
107519
107510
  Y && re.visible && du(he, Ce, G), oe.clearValidate(he, Ce);
107520
107511
  }).catch(({ rule: Oe }) => {
107521
107512
  Y && du(he, Ce, G), oe.showValidTooltip({ rule: Oe, row: he, column: Ce, cell: Ie });
@@ -107529,7 +107520,7 @@ const XH = H({
107529
107520
  * @param {TableMergeConfig[]} merges { row: Row|number, column: ColumnInfo|number, rowspan: number, colspan: number }
107530
107521
  */
107531
107522
  setMergeCells(I) {
107532
- return e.spanMethod && Zt("vxe.error.errConflicts", ["merge-cells", "span-method"]), En(I, u.mergeList, c.afterFullData), Se().then(() => (d.updateCellAreas(), eo()));
107523
+ return e.spanMethod && Zt("vxe.error.errConflicts", ["merge-cells", "span-method"]), En(I, u.mergeList, c.afterFullData), xe().then(() => (d.updateCellAreas(), eo()));
107533
107524
  },
107534
107525
  /**
107535
107526
  * 移除单元格合并
@@ -107538,7 +107529,7 @@ const XH = H({
107538
107529
  removeMergeCells(I) {
107539
107530
  e.spanMethod && Zt("vxe.error.errConflicts", ["merge-cells", "span-method"]);
107540
107531
  const G = Ga(I, u.mergeList, c.afterFullData);
107541
- return Se().then(() => (d.updateCellAreas(), eo(), G));
107532
+ return xe().then(() => (d.updateCellAreas(), eo(), G));
107542
107533
  },
107543
107534
  /**
107544
107535
  * 获取所有被合并的单元格
@@ -107550,15 +107541,15 @@ const XH = H({
107550
107541
  * 清除所有单元格合并
107551
107542
  */
107552
107543
  clearMergeCells() {
107553
- return u.mergeList = [], Se().then(() => eo());
107544
+ return u.mergeList = [], xe().then(() => eo());
107554
107545
  },
107555
107546
  setMergeFooterItems(I) {
107556
- return e.footerSpanMethod && Zt("vxe.error.errConflicts", ["merge-footer-items", "footer-span-method"]), En(I, u.mergeFooterList), Se().then(() => (d.updateCellAreas(), eo()));
107547
+ return e.footerSpanMethod && Zt("vxe.error.errConflicts", ["merge-footer-items", "footer-span-method"]), En(I, u.mergeFooterList), xe().then(() => (d.updateCellAreas(), eo()));
107557
107548
  },
107558
107549
  removeMergeFooterItems(I) {
107559
107550
  e.footerSpanMethod && Zt("vxe.error.errConflicts", ["merge-footer-items", "footer-span-method"]);
107560
107551
  const G = Ga(I, u.mergeFooterList);
107561
- return Se().then(() => (d.updateCellAreas(), eo(), G));
107552
+ return xe().then(() => (d.updateCellAreas(), eo(), G));
107562
107553
  },
107563
107554
  /**
107564
107555
  * 获取所有被合并的表尾
@@ -107570,21 +107561,21 @@ const XH = H({
107570
107561
  * 清除所有表尾合并
107571
107562
  */
107572
107563
  clearMergeFooterItems() {
107573
- return u.mergeFooterList = [], Se().then(() => eo());
107564
+ return u.mergeFooterList = [], xe().then(() => eo());
107574
107565
  },
107575
107566
  updateCellAreas() {
107576
107567
  const { mouseConfig: I } = e, G = Ft.value;
107577
- return I && G.area && oe.handleRecalculateCellAreas ? oe.handleRecalculateCellAreas() : Se();
107568
+ return I && G.area && oe.handleRecalculateCellAreas ? oe.handleRecalculateCellAreas() : xe();
107578
107569
  },
107579
107570
  getCustomStoreData() {
107580
- const { id: I } = e, G = Hn.value, { collectColumn: Y } = c, { checkMethod: Q } = G, re = {}, ve = {}, he = {}, Ce = {}, xe = {
107571
+ const { id: I } = e, G = Hn.value, { collectColumn: Y } = c, { checkMethod: Q } = G, re = {}, ve = {}, he = {}, Ce = {}, Se = {
107581
107572
  resizableData: void 0,
107582
107573
  sortData: void 0,
107583
107574
  visibleData: void 0,
107584
107575
  fixedData: void 0
107585
107576
  };
107586
107577
  if (!I)
107587
- return Zt("vxe.error.reqProp", ["id"]), xe;
107578
+ return Zt("vxe.error.reqProp", ["id"]), Se;
107588
107579
  let Ie = 0, Oe = 0, Ge = 0, Pe = 0;
107589
107580
  return X.eachTree(Y, (Ke, Ye, Fe, Qe, yt) => {
107590
107581
  if (!yt && (Y.forEach((We) => {
@@ -107607,32 +107598,32 @@ const XH = H({
107607
107598
  We && (Pe = 1, he[We] = !0);
107608
107599
  }
107609
107600
  }
107610
- }), Ie && (xe.resizableData = re), Oe && (xe.sortData = ve), Ge && (xe.fixedData = Ce), Pe && (xe.visibleData = he), xe;
107601
+ }), Ie && (Se.resizableData = re), Oe && (Se.sortData = ve), Ge && (Se.fixedData = Ce), Pe && (Se.visibleData = he), Se;
107611
107602
  },
107612
107603
  focus() {
107613
- return c.isActivated = !0, Se();
107604
+ return c.isActivated = !0, xe();
107614
107605
  },
107615
107606
  blur() {
107616
- return c.isActivated = !1, Se();
107607
+ return c.isActivated = !1, xe();
107617
107608
  },
107618
107609
  /**
107619
107610
  * 连接工具栏
107620
107611
  * @param $toolbar
107621
107612
  */
107622
107613
  connect(I) {
107623
- return I ? (ce = I, ce.syncUpdate({ collectColumn: c.collectColumn, $table: oe })) : Zt("vxe.error.barUnableLink"), Se();
107614
+ return I ? (ce = I, ce.syncUpdate({ collectColumn: c.collectColumn, $table: oe })) : Zt("vxe.error.barUnableLink"), xe();
107624
107615
  }
107625
107616
  };
107626
107617
  const Woe = (I) => {
107627
- const { editStore: G, ctxMenuStore: Y, filterStore: Q, customStore: re } = u, { mouseConfig: ve, editRules: he } = e, Ce = p.value, xe = Mt.value, Ie = me.value, Oe = De.value, { actived: Ge } = G, Pe = g.value, Ke = _.value, Ye = b.value, Fe = m.value;
107618
+ const { editStore: G, ctxMenuStore: Y, filterStore: Q, customStore: re } = u, { mouseConfig: ve, editRules: he } = e, Ce = p.value, Se = Mt.value, Ie = me.value, Oe = De.value, { actived: Ge } = G, Pe = g.value, Ke = _.value, Ye = b.value, Fe = m.value;
107628
107619
  if (Ke && (dn(I, Ce, "vxe-cell--filter").flag || dn(I, Ke.$el).flag || dn(I, document.body, "vxe-table--ignore-clear").flag || f.preventEvent(I, "event.clearFilter", Q.args, d.closeFilter)), Ye && (re.btnEl === I.target || dn(I, document.body, "vxe-toolbar-custom-target").flag || dn(I, Ye.$el).flag || dn(I, document.body, "vxe-table--ignore-clear").flag || f.preventEvent(I, "event.clearCustom", {}, () => {
107629
107620
  oe.closeCustom && oe.closeCustom();
107630
107621
  })), Ge.row) {
107631
- if (xe.autoClear !== !1) {
107622
+ if (Se.autoClear !== !1) {
107632
107623
  const yt = Ge.args.cell;
107633
107624
  (!yt || !dn(I, yt).flag) && (Pe && dn(I, Pe.$el).flag || (!c._lastCallTime || c._lastCallTime + 50 < Date.now()) && (dn(I, document.body, "vxe-table--ignore-clear").flag || f.preventEvent(I, "event.clearEdit", Ge.args, () => {
107634
107625
  let We;
107635
- if (xe.mode === "row") {
107626
+ if (Se.mode === "row") {
107636
107627
  const _t = dn(I, Ce, "vxe-body--row"), kt = _t.flag ? d.getRowNode(_t.targetElem) : null;
107637
107628
  We = kt ? !oe.eqRow(kt.item, Ge.args.row) : !1;
107638
107629
  } else
@@ -107663,19 +107654,19 @@ const XH = H({
107663
107654
  }, Uoe = () => {
107664
107655
  d.closeTooltip(), oe.closeMenu && oe.closeMenu();
107665
107656
  }, Koe = (I) => {
107666
- const { mouseConfig: G, keyboardConfig: Y } = e, { filterStore: Q, ctxMenuStore: re, editStore: ve } = u, he = Ft.value, Ce = ye.value, { actived: xe } = ve;
107657
+ const { mouseConfig: G, keyboardConfig: Y } = e, { filterStore: Q, ctxMenuStore: re, editStore: ve } = u, he = Ft.value, Ce = ye.value, { actived: Se } = ve;
107667
107658
  Nn.hasKey(I, Yi.ESCAPE) && f.preventEvent(I, "event.keydown", null, () => {
107668
107659
  if (kn("keydown-start", {}, I), Y && G && he.area && oe.handleKeyboardCellAreaEvent)
107669
107660
  oe.handleKeyboardCellAreaEvent(I);
107670
- else if ((xe.row || Q.visible || re.visible) && (I.stopPropagation(), oe.closeMenu && oe.closeMenu(), d.closeFilter(), Y && Ce.isEsc && xe.row)) {
107671
- const Oe = xe.args;
107672
- oe.handleClearEdit(I), he.selected && Se(() => oe.handleSelected(Oe, I));
107661
+ else if ((Se.row || Q.visible || re.visible) && (I.stopPropagation(), oe.closeMenu && oe.closeMenu(), d.closeFilter(), Y && Ce.isEsc && Se.row)) {
107662
+ const Oe = Se.args;
107663
+ oe.handleClearEdit(I), he.selected && xe(() => oe.handleSelected(Oe, I));
107673
107664
  }
107674
107665
  kn("keydown", {}, I), kn("keydown-end", {}, I);
107675
107666
  });
107676
107667
  }, joe = (I) => {
107677
107668
  c.isActivated && f.preventEvent(I, "event.keydown", null, () => {
107678
- const { mouseConfig: G, keyboardConfig: Y, treeConfig: Q, editConfig: re, highlightCurrentRow: ve } = e, { ctxMenuStore: he, editStore: Ce, currentRow: xe } = u, { afterFullData: Ie } = c, Oe = Jt.value, Ge = at.value, Pe = ye.value, Ke = Ft.value, Ye = Mt.value, Fe = qt.value, Qe = _r.value, yt = $e.value, { selected: We, actived: _t } = Ce, kt = Fe.children || Fe.childrenField, Kt = I.keyCode, Xt = Nn.hasKey(I, Yi.ESCAPE), Or = Nn.hasKey(I, Yi.BACKSPACE), kr = Nn.hasKey(I, Yi.TAB), Cr = Nn.hasKey(I, Yi.ENTER), hr = Nn.hasKey(I, Yi.SPACEBAR), Xr = Nn.hasKey(I, Yi.ARROW_LEFT), ur = Nn.hasKey(I, Yi.ARROW_UP), Tr = Nn.hasKey(I, Yi.ARROW_RIGHT), An = Nn.hasKey(I, Yi.ARROW_DOWN), Gl = Nn.hasKey(I, Yi.DELETE), gs = Nn.hasKey(I, Yi.F2), Qu = Nn.hasKey(I, Yi.CONTEXT_MENU), el = I.metaKey, Gi = I.ctrlKey, ai = I.shiftKey, Na = I.altKey, _i = Xr || ur || Tr || An, Va = Oe && he.visible && (Cr || hr || _i), Ju = Vr(re) && _t.column && _t.row, Ul = Ye.beforeEditMethod || Ye.activeMethod;
107669
+ const { mouseConfig: G, keyboardConfig: Y, treeConfig: Q, editConfig: re, highlightCurrentRow: ve } = e, { ctxMenuStore: he, editStore: Ce, currentRow: Se } = u, { afterFullData: Ie } = c, Oe = Jt.value, Ge = at.value, Pe = ye.value, Ke = Ft.value, Ye = Mt.value, Fe = qt.value, Qe = _r.value, yt = $e.value, { selected: We, actived: _t } = Ce, kt = Fe.children || Fe.childrenField, Kt = I.keyCode, Xt = Nn.hasKey(I, Yi.ESCAPE), Or = Nn.hasKey(I, Yi.BACKSPACE), kr = Nn.hasKey(I, Yi.TAB), Cr = Nn.hasKey(I, Yi.ENTER), hr = Nn.hasKey(I, Yi.SPACEBAR), Xr = Nn.hasKey(I, Yi.ARROW_LEFT), ur = Nn.hasKey(I, Yi.ARROW_UP), Tr = Nn.hasKey(I, Yi.ARROW_RIGHT), An = Nn.hasKey(I, Yi.ARROW_DOWN), Gl = Nn.hasKey(I, Yi.DELETE), gs = Nn.hasKey(I, Yi.F2), Qu = Nn.hasKey(I, Yi.CONTEXT_MENU), el = I.metaKey, Gi = I.ctrlKey, ai = I.shiftKey, Na = I.altKey, _i = Xr || ur || Tr || An, Va = Oe && he.visible && (Cr || hr || _i), Ju = Vr(re) && _t.column && _t.row, Ul = Ye.beforeEditMethod || Ye.activeMethod;
107679
107670
  if (Va)
107680
107671
  I.preventDefault(), he.showChild && Vv(he.selected) ? oe.moveCtxMenu(I, he, "selectChild", Xr, !1, he.selected.children) : oe.moveCtxMenu(I, he, "selected", Tr, !0, Qe);
107681
107672
  else if (Y && G && Ke.area && oe.handleKeyboardCellAreaEvent)
@@ -107683,7 +107674,7 @@ const XH = H({
107683
107674
  else if (Xt) {
107684
107675
  if (oe.closeMenu && oe.closeMenu(), d.closeFilter(), Y && Pe.isEsc && _t.row) {
107685
107676
  const na = _t.args;
107686
- oe.handleClearEdit(I), Ke.selected && Se(() => oe.handleSelected(na, I));
107677
+ oe.handleClearEdit(I), Ke.selected && xe(() => oe.handleSelected(na, I));
107687
107678
  }
107688
107679
  } else if (hr && Y && Pe.isChecked && We.row && We.column && (We.column.type === "checkbox" || We.column.type === "radio"))
107689
107680
  I.preventDefault(), We.column.type === "checkbox" ? f.handleToggleCheckRowEvent(I, We.args) : f.triggerRadioRowEvent(I, We.args);
@@ -107693,12 +107684,12 @@ const XH = H({
107693
107684
  c._keyCtx = We.row && We.column && Ge.length, clearTimeout(CI), CI = setTimeout(() => {
107694
107685
  c._keyCtx = !1;
107695
107686
  }, 1e3);
107696
- else if (Cr && !Na && Y && Pe.isEnter && (We.row || _t.row || Q && (yt.isCurrent || ve) && xe)) {
107687
+ else if (Cr && !Na && Y && Pe.isEnter && (We.row || _t.row || Q && (yt.isCurrent || ve) && Se)) {
107697
107688
  const { isLastEnterAppendRow: na, beforeEnterMethod: da, enterMethod: fa } = Pe;
107698
107689
  if (Gi) {
107699
107690
  if (_t.row) {
107700
107691
  const aa = _t.args;
107701
- oe.handleClearEdit(I), Ke.selected && Se(() => {
107692
+ oe.handleClearEdit(I), Ke.selected && xe(() => {
107702
107693
  oe.handleSelected(aa, I);
107703
107694
  });
107704
107695
  }
@@ -107730,8 +107721,8 @@ const XH = H({
107730
107721
  oe.moveSelected(aa, Xr, !1, Tr, !0, I), fa && fa(ba);
107731
107722
  }
107732
107723
  }
107733
- } else if (Q && (yt.isCurrent || ve) && xe) {
107734
- const aa = xe[kt];
107724
+ } else if (Q && (yt.isCurrent || ve) && Se) {
107725
+ const aa = Se[kt];
107735
107726
  if (aa && aa.length) {
107736
107727
  I.preventDefault();
107737
107728
  const to = aa[0], wi = {
@@ -107740,7 +107731,7 @@ const XH = H({
107740
107731
  rowIndex: d.getRowIndex(to),
107741
107732
  $rowIndex: d.getVMRowIndex(to)
107742
107733
  };
107743
- d.setTreeExpand(xe, !0).then(() => d.scrollToRow(to)).then(() => f.triggerCurrentRowEvent(I, wi));
107734
+ d.setTreeExpand(Se, !0).then(() => d.scrollToRow(to)).then(() => f.triggerCurrentRowEvent(I, wi));
107744
107735
  }
107745
107736
  }
107746
107737
  } else if (_i && Y && Pe.isArrow)
@@ -107774,8 +107765,8 @@ const XH = H({
107774
107765
  (!Ul || Ul(da)) && (na ? na(da) : (du(We.row, We.column, null), oe.handleEdit(We.args, I)), kn("cell-backspace-value", da, I));
107775
107766
  }
107776
107767
  }
107777
- } else if (Or && Y && Q && Pe.isBack && (yt.isCurrent || ve) && xe) {
107778
- const { parent: na } = X.findTree(c.afterTreeFullData, (da) => da === xe, { children: kt });
107768
+ } else if (Or && Y && Q && Pe.isBack && (yt.isCurrent || ve) && Se) {
107769
+ const { parent: na } = X.findTree(c.afterTreeFullData, (da) => da === Se, { children: kt });
107779
107770
  if (na) {
107780
107771
  I.preventDefault();
107781
107772
  const da = {
@@ -107804,19 +107795,19 @@ const XH = H({
107804
107795
  kn("keydown", {}, I);
107805
107796
  });
107806
107797
  }, Yoe = (I) => {
107807
- const { keyboardConfig: G, mouseConfig: Y } = e, { editStore: Q, filterStore: re } = u, { isActivated: ve } = c, he = Ft.value, Ce = ye.value, { actived: xe } = Q;
107808
- ve && !re.visible && (xe.row || xe.column || G && Ce.isClip && Y && he.area && oe.handlePasteCellAreaEvent && oe.handlePasteCellAreaEvent(I), kn("paste", {}, I));
107798
+ const { keyboardConfig: G, mouseConfig: Y } = e, { editStore: Q, filterStore: re } = u, { isActivated: ve } = c, he = Ft.value, Ce = ye.value, { actived: Se } = Q;
107799
+ ve && !re.visible && (Se.row || Se.column || G && Ce.isClip && Y && he.area && oe.handlePasteCellAreaEvent && oe.handlePasteCellAreaEvent(I), kn("paste", {}, I));
107809
107800
  }, qoe = (I) => {
107810
- const { keyboardConfig: G, mouseConfig: Y } = e, { editStore: Q, filterStore: re } = u, { isActivated: ve } = c, he = Ft.value, Ce = ye.value, { actived: xe } = Q;
107811
- ve && !re.visible && (xe.row || xe.column || G && Ce.isClip && Y && he.area && oe.handleCopyCellAreaEvent && oe.handleCopyCellAreaEvent(I), kn("copy", {}, I));
107801
+ const { keyboardConfig: G, mouseConfig: Y } = e, { editStore: Q, filterStore: re } = u, { isActivated: ve } = c, he = Ft.value, Ce = ye.value, { actived: Se } = Q;
107802
+ ve && !re.visible && (Se.row || Se.column || G && Ce.isClip && Y && he.area && oe.handleCopyCellAreaEvent && oe.handleCopyCellAreaEvent(I), kn("copy", {}, I));
107812
107803
  }, Xoe = (I) => {
107813
- const { keyboardConfig: G, mouseConfig: Y } = e, { editStore: Q, filterStore: re } = u, { isActivated: ve } = c, he = Ft.value, Ce = ye.value, { actived: xe } = Q;
107814
- ve && !re.visible && (xe.row || xe.column || G && Ce.isClip && Y && he.area && oe.handleCutCellAreaEvent && oe.handleCutCellAreaEvent(I), kn("cut", {}, I));
107804
+ const { keyboardConfig: G, mouseConfig: Y } = e, { editStore: Q, filterStore: re } = u, { isActivated: ve } = c, he = Ft.value, Ce = ye.value, { actived: Se } = Q;
107805
+ ve && !re.visible && (Se.row || Se.column || G && Ce.isClip && Y && he.area && oe.handleCutCellAreaEvent && oe.handleCutCellAreaEvent(I), kn("cut", {}, I));
107815
107806
  }, xI = () => {
107816
107807
  oe.closeMenu && oe.closeMenu();
107817
107808
  const I = p.value;
107818
107809
  if (!I || !I.clientWidth)
107819
- return Se();
107810
+ return xe();
107820
107811
  d.recalculate(!0), d.updateCellAreas();
107821
107812
  }, P2 = (I) => {
107822
107813
  const G = h.value;
@@ -107876,7 +107867,7 @@ const XH = H({
107876
107867
  const ve = p.value;
107877
107868
  if (!ve)
107878
107869
  return;
107879
- const { scrollbarWidth: he, scrollbarHeight: Ce } = u, { prevDragToChild: xe } = c, Ie = ve.getBoundingClientRect(), Oe = ve.clientWidth, Ge = ve.clientHeight;
107870
+ const { scrollbarWidth: he, scrollbarHeight: Ce } = u, { prevDragToChild: Se } = c, Ie = ve.getBoundingClientRect(), Oe = ve.clientWidth, Ge = ve.clientHeight;
107880
107871
  if (G) {
107881
107872
  const Ke = V.value;
107882
107873
  if (Ke)
@@ -107884,7 +107875,7 @@ const XH = H({
107884
107875
  const Ye = G.getBoundingClientRect();
107885
107876
  let Fe = G.clientHeight;
107886
107877
  const Qe = Math.max(1, Ye.y - Ie.y);
107887
- Qe + Fe > Ge - Ce && (Fe = Ge - Qe - Ce), Ke.style.display = "block", Ke.style.top = `${Qe}px`, Ke.style.height = `${Fe}px`, Ke.style.width = `${Oe - he}px`, Ke.setAttribute("drag-pos", re), Ke.setAttribute("drag-to-child", xe ? "y" : "n");
107878
+ Qe + Fe > Ge - Ce && (Fe = Ge - Qe - Ce), Ke.style.display = "block", Ke.style.top = `${Qe}px`, Ke.style.height = `${Fe}px`, Ke.style.width = `${Oe - he}px`, Ke.setAttribute("drag-pos", re), Ke.setAttribute("drag-to-child", Se ? "y" : "n");
107888
107879
  } else
107889
107880
  Ke.style.display = "";
107890
107881
  } else if (Y) {
@@ -107897,27 +107888,27 @@ const XH = H({
107897
107888
  let Xt = We.x - Ie.x;
107898
107889
  Xt < Kt && (_t -= Kt - Xt, Xt = Kt);
107899
107890
  const Or = Oe - yt - (yt ? 0 : he);
107900
- Xt + _t > Or && (_t = Or - Xt), Ke.style.display = "block", Ke.style.top = `${kt}px`, Ke.style.left = `${Xt}px`, Ke.style.width = `${_t}px`, xe ? Ke.style.height = `${We.height}px` : Ke.style.height = `${Ge - kt - Ce}px`, Ke.setAttribute("drag-pos", re), Ke.setAttribute("drag-to-child", xe ? "y" : "n");
107891
+ Xt + _t > Or && (_t = Or - Xt), Ke.style.display = "block", Ke.style.top = `${kt}px`, Ke.style.left = `${Xt}px`, Ke.style.width = `${_t}px`, Se ? Ke.style.height = `${We.height}px` : Ke.style.height = `${Ge - kt - Ce}px`, Ke.setAttribute("drag-pos", re), Ke.setAttribute("drag-to-child", Se ? "y" : "n");
107901
107892
  } else
107902
107893
  Ke.style.display = "";
107903
107894
  }
107904
107895
  const Pe = $.value;
107905
- Pe && (Pe.style.display = "block", Pe.style.top = `${Math.min(ve.clientHeight - ve.scrollTop - Pe.clientHeight, I.clientY - Ie.y)}px`, Pe.style.left = `${Math.min(ve.clientWidth - ve.scrollLeft - Pe.clientWidth - 16, I.clientX - Ie.x)}px`, Pe.setAttribute("drag-status", Q ? xe ? "sub" : "normal" : "disabled"));
107896
+ Pe && (Pe.style.display = "block", Pe.style.top = `${Math.min(ve.clientHeight - ve.scrollTop - Pe.clientHeight, I.clientY - Ie.y)}px`, Pe.style.left = `${Math.min(ve.clientWidth - ve.scrollLeft - Pe.clientWidth - 16, I.clientX - Ie.x)}px`, Pe.setAttribute("drag-status", Q ? Se ? "sub" : "normal" : "disabled"));
107906
107897
  }, Mh = () => {
107907
107898
  const I = $.value, G = V.value, Y = U.value;
107908
107899
  I && (I.style.display = ""), G && (G.style.display = ""), Y && (Y.style.display = "");
107909
107900
  }, rS = (I, G, Y, Q, re) => {
107910
107901
  re.cell = G;
107911
- const { tooltipStore: ve } = u, he = tt.value, { column: Ce, row: xe } = re, { showAll: Ie, contentMethod: Oe } = he, Ge = Oe ? Oe(re) : null, Pe = Oe && !X.eqNull(Ge), Ke = Pe ? Ge : X.toString(Ce.type === "html" ? Y.innerText : Y.textContent).trim(), Ye = Y.scrollWidth > Y.clientWidth;
107902
+ const { tooltipStore: ve } = u, he = tt.value, { column: Ce, row: Se } = re, { showAll: Ie, contentMethod: Oe } = he, Ge = Oe ? Oe(re) : null, Pe = Oe && !X.eqNull(Ge), Ke = Pe ? Ge : X.toString(Ce.type === "html" ? Y.innerText : Y.textContent).trim(), Ye = Y.scrollWidth > Y.clientWidth;
107912
107903
  return Ke && (Ie || Pe || Ye) && (Object.assign(ve, {
107913
- row: xe,
107904
+ row: Se,
107914
107905
  column: Ce,
107915
107906
  visible: !0,
107916
107907
  currOpts: {}
107917
- }), Se(() => {
107908
+ }), xe(() => {
107918
107909
  const Fe = h.value;
107919
107910
  Fe && Fe.open && Fe.open(Ye ? Y : Q || Y, za(Ke));
107920
- })), Se();
107911
+ })), xe();
107921
107912
  }, A0 = (I, G) => {
107922
107913
  if (I) {
107923
107914
  if (ue)
@@ -107969,19 +107960,19 @@ const XH = H({
107969
107960
  */
107970
107961
  defineField(I) {
107971
107962
  const { treeConfig: G } = e, Y = Wt.value, Q = qt.value, re = Le.value, ve = He.value, he = Q.children || Q.childrenField, Ce = sc(oe);
107972
- return X.isArray(I) || (I = [I]), I.map((xe) => (c.tableFullColumn.forEach((Oe) => {
107963
+ return X.isArray(I) || (I = [I]), I.map((Se) => (c.tableFullColumn.forEach((Oe) => {
107973
107964
  const { field: Ge, editRender: Pe } = Oe;
107974
- if (Ge && !X.has(xe, Ge) && !xe[Ge]) {
107965
+ if (Ge && !X.has(Se, Ge) && !Se[Ge]) {
107975
107966
  let Ke = null;
107976
107967
  if (Pe) {
107977
107968
  const { defaultValue: Ye } = Pe;
107978
107969
  X.isFunction(Ye) ? Ke = Ye({ column: Oe }) : X.isUndefined(Ye) || (Ke = Ye);
107979
107970
  }
107980
- X.set(xe, Ge, Ke);
107971
+ X.set(Se, Ge, Ke);
107981
107972
  }
107982
107973
  }), [re.labelField, ve.checkField, ve.labelField, Y.labelField].forEach((Oe) => {
107983
- Oe && uu(X.get(xe, Oe)) && X.set(xe, Oe, null);
107984
- }), G && Q.lazy && X.isUndefined(xe[he]) && (xe[he] = null), uu(X.get(xe, Ce)) && X.set(xe, Ce, B8()), xe));
107974
+ Oe && uu(X.get(Se, Oe)) && X.set(Se, Oe, null);
107975
+ }), G && Q.lazy && X.isUndefined(Se[he]) && (Se[he] = null), uu(X.get(Se, Ce)) && X.set(Se, Ce, B8()), Se));
107985
107976
  },
107986
107977
  handleTableData(I) {
107987
107978
  const { scrollYLoad: G } = u, { scrollYStore: Y, fullDataRowIdData: Q } = c;
@@ -107989,19 +107980,19 @@ const XH = H({
107989
107980
  I && (Th(), re = Hi());
107990
107981
  const ve = G ? re.slice(Y.startIndex, Y.endIndex) : re.slice(0);
107991
107982
  return ve.forEach((he, Ce) => {
107992
- const xe = wt(oe, he), Ie = Q[xe];
107983
+ const Se = wt(oe, he), Ie = Q[Se];
107993
107984
  Ie && (Ie.$index = Ce);
107994
- }), u.tableData = ve, Se();
107985
+ }), u.tableData = ve, xe();
107995
107986
  },
107996
107987
  /**
107997
107988
  * 更新数据行的 Map
107998
107989
  * 牺牲数据组装的耗时,用来换取使用过程中的流畅
107999
107990
  */
108000
107991
  cacheRowMap(I) {
108001
- const { treeConfig: G } = e, Y = qt.value, { fullAllDataRowIdData: Q, tableFullData: re, tableFullTreeData: ve } = c, he = Y.children || Y.childrenField, Ce = Y.hasChild || Y.hasChildField, xe = sc(oe), Ie = G && Y.lazy, Oe = {}, Ge = {}, Pe = (Ke, Ye, Fe, Qe, yt, We) => {
107992
+ const { treeConfig: G } = e, Y = qt.value, { fullAllDataRowIdData: Q, tableFullData: re, tableFullTreeData: ve } = c, he = Y.children || Y.childrenField, Ce = Y.hasChild || Y.hasChildField, Se = sc(oe), Ie = G && Y.lazy, Oe = {}, Ge = {}, Pe = (Ke, Ye, Fe, Qe, yt, We) => {
108002
107993
  let _t = wt(oe, Ke);
108003
107994
  const kt = G && Qe ? pSt(Qe) : Ye + 1, Kt = We ? We.length - 1 : 0;
108004
- uu(_t) && (_t = B8(), X.set(Ke, xe, _t)), Ie && Ke[Ce] && X.isUndefined(Ke[he]) && (Ke[he] = null);
107995
+ uu(_t) && (_t = B8(), X.set(Ke, Se, _t)), Ie && Ke[Ce] && X.isUndefined(Ke[he]) && (Ke[he] = null);
108005
107996
  let Xt = Q[_t];
108006
107997
  Xt || (Xt = { row: Ke, rowid: _t, seq: kt, index: -1, _index: -1, $index: -1, items: Fe, parent: yt, level: Kt, height: 0, oTop: 0 }), Xt.row = Ke, Xt.items = Fe, Xt.parent = yt, Xt.level = Kt, Xt.index = G && yt ? -1 : Ye, I && (Ge[_t] = Xt), Oe[_t] = Xt;
108007
107998
  };
@@ -108013,8 +108004,8 @@ const XH = H({
108013
108004
  const re = X.clone(I, !0), ve = sc(oe);
108014
108005
  Q = c.sourceDataRowIdData = {};
108015
108006
  const he = (Ce) => {
108016
- let xe = wt(oe, Ce);
108017
- uu(xe) && (xe = B8(), X.set(Ce, ve, xe)), Q[xe] = Ce;
108007
+ let Se = wt(oe, Ce);
108008
+ uu(Se) && (Se = B8(), X.set(Ce, ve, Se)), Q[Se] = Ce;
108018
108009
  };
108019
108010
  if (G) {
108020
108011
  const Ce = Y.children || Y.childrenField;
@@ -108027,26 +108018,26 @@ const XH = H({
108027
108018
  * 指定列宽的列进行拆分
108028
108019
  */
108029
108020
  analyColumnWidth() {
108030
- const { tableFullColumn: I } = c, G = Ne.value, { width: Y, minWidth: Q } = G, re = [], ve = [], he = [], Ce = [], xe = [], Ie = [], Oe = [], Ge = [];
108021
+ const { tableFullColumn: I } = c, G = Ne.value, { width: Y, minWidth: Q } = G, re = [], ve = [], he = [], Ce = [], Se = [], Ie = [], Oe = [], Ge = [];
108031
108022
  I.forEach((Pe) => {
108032
- Y && !Pe.width && (Pe.width = Y), Q && !Pe.minWidth && (Pe.minWidth = Q), Pe.visible && (Pe.resizeWidth ? re.push(Pe) : Pe.width === "auto" ? Oe.push(Pe) : yA(Pe.width) ? ve.push(Pe) : Qm(Pe.width) ? xe.push(Pe) : yA(Pe.minWidth) ? he.push(Pe) : Pe.minWidth === "auto" ? Ce.push(Pe) : Qm(Pe.minWidth) ? Ie.push(Pe) : Ge.push(Pe));
108033
- }), Object.assign(u.columnStore, { resizeList: re, pxList: ve, pxMinList: he, autoMinList: Ce, scaleList: xe, scaleMinList: Ie, autoList: Oe, remainList: Ge });
108023
+ Y && !Pe.width && (Pe.width = Y), Q && !Pe.minWidth && (Pe.minWidth = Q), Pe.visible && (Pe.resizeWidth ? re.push(Pe) : Pe.width === "auto" ? Oe.push(Pe) : yA(Pe.width) ? ve.push(Pe) : Qm(Pe.width) ? Se.push(Pe) : yA(Pe.minWidth) ? he.push(Pe) : Pe.minWidth === "auto" ? Ce.push(Pe) : Qm(Pe.minWidth) ? Ie.push(Pe) : Ge.push(Pe));
108024
+ }), Object.assign(u.columnStore, { resizeList: re, pxList: ve, pxMinList: he, autoMinList: Ce, scaleList: Se, scaleMinList: Ie, autoList: Oe, remainList: Ge });
108034
108025
  },
108035
108026
  handleResizeDblclickEvent(I, G) {
108036
108027
  const Y = Ze.value, { isDblclickAutoWidth: Q } = Y, re = p.value;
108037
108028
  if (Q && re) {
108038
- const { fullColumnIdData: ve } = c, { column: he } = G, Ce = he.id, xe = ve[Ce], Oe = I.target.parentNode, Ge = Object.assign(G, { cell: Oe }), Pe = doe(Ge);
108029
+ const { fullColumnIdData: ve } = c, { column: he } = G, Ce = he.id, Se = ve[Ce], Oe = I.target.parentNode, Ge = Object.assign(G, { cell: Oe }), Pe = doe(Ge);
108039
108030
  let Ke = Eh(he, re);
108040
- xe && (Ke = Math.max(Ke, xe.width)), he.resizeWidth = Math.max(Pe, Ke), u._isResize = !1, c._lastResizeTime = Date.now(), oe.analyColumnWidth(), oe.recalculate(!0).then(() => {
108031
+ Se && (Ke = Math.max(Ke, Se.width)), he.resizeWidth = Math.max(Pe, Ke), u._isResize = !1, c._lastResizeTime = Date.now(), oe.analyColumnWidth(), oe.recalculate(!0).then(() => {
108041
108032
  oe.saveCustomStore("update:visible"), oe.updateCellAreas(), oe.dispatchEvent("resizable-change", Object.assign(Object.assign({}, G), { resizeWidth: Ke }), I), setTimeout(() => oe.recalculate(!0), 300);
108042
108033
  });
108043
108034
  }
108044
108035
  },
108045
108036
  saveCustomStore(I) {
108046
- const { customConfig: G } = e, Y = pe.value, Q = Hn.value, { updateStore: re, storage: ve } = Q, he = ve === !0, Ce = he ? {} : Object.assign({}, ve || {}), xe = he || Ce.resizable, Ie = he || Ce.visible, Oe = he || Ce.fixed, Ge = he || Ce.sort;
108047
- if (I !== "reset" && (u.isCustomStatus = !0), (G ? Vr(Q) : Q.enabled) && (xe || Ie || Oe || Ge)) {
108037
+ const { customConfig: G } = e, Y = pe.value, Q = Hn.value, { updateStore: re, storage: ve } = Q, he = ve === !0, Ce = he ? {} : Object.assign({}, ve || {}), Se = he || Ce.resizable, Ie = he || Ce.visible, Oe = he || Ce.fixed, Ge = he || Ce.sort;
108038
+ if (I !== "reset" && (u.isCustomStatus = !0), (G ? Vr(Q) : Q.enabled) && (Se || Ie || Oe || Ge)) {
108048
108039
  if (!Y)
108049
- return Zt("vxe.error.reqProp", ["id"]), Se();
108040
+ return Zt("vxe.error.reqProp", ["id"]), xe();
108050
108041
  const Pe = I === "reset" ? {
108051
108042
  resizableData: {},
108052
108043
  sortData: {},
@@ -108061,7 +108052,7 @@ const XH = H({
108061
108052
  });
108062
108053
  ta(Y, I === "reset" ? null : Pe);
108063
108054
  }
108064
- return Se();
108055
+ return xe();
108065
108056
  },
108066
108057
  handleCustom() {
108067
108058
  const { mouseConfig: I } = e;
@@ -108080,14 +108071,14 @@ const XH = H({
108080
108071
  return ve.some((Ce) => Ce(Object.assign({ $grid: ue, $table: oe, $event: I }, Y)) === !1) || Q && (he = Q()), re && re(), he;
108081
108072
  },
108082
108073
  updateCheckboxStatus() {
108083
- const { treeConfig: I } = e, { selectCheckboxMaps: G, treeIndeterminateMaps: Y } = u, Q = Object.assign({}, G), re = Object.assign({}, Y), ve = qt.value, { transform: he, mapChildrenField: Ce } = ve, xe = ve.children || ve.childrenField, Ie = He.value, { checkField: Oe, checkStrictly: Ge, checkMethod: Pe } = Ie, { afterTreeFullData: Ke } = c;
108074
+ const { treeConfig: I } = e, { selectCheckboxMaps: G, treeIndeterminateMaps: Y } = u, Q = Object.assign({}, G), re = Object.assign({}, Y), ve = qt.value, { transform: he, mapChildrenField: Ce } = ve, Se = ve.children || ve.childrenField, Ie = He.value, { checkField: Oe, checkStrictly: Ge, checkMethod: Pe } = Ie, { afterTreeFullData: Ke } = c;
108084
108075
  if (!Ge) {
108085
108076
  if (I) {
108086
108077
  const Ye = {}, Fe = [];
108087
108078
  X.eachTree(Ke, (Qe) => {
108088
- const yt = wt(oe, Qe), We = Qe[he ? Ce : xe];
108079
+ const yt = wt(oe, Qe), We = Qe[he ? Ce : Se];
108089
108080
  We && We.length && !Ye[yt] && (Ye[yt] = 1, Fe.unshift([Qe, yt, We]));
108090
- }, { children: he ? Ce : xe }), Fe.forEach((Qe) => {
108081
+ }, { children: he ? Ce : Se }), Fe.forEach((Qe) => {
108091
108082
  const yt = Qe[0], We = Qe[1], _t = Qe[2];
108092
108083
  let kt = 0, Kt = 0, Xt = 0;
108093
108084
  _t.forEach(Pe ? (Cr) => {
@@ -108106,16 +108097,16 @@ const XH = H({
108106
108097
  },
108107
108098
  updateAllCheckboxStatus() {
108108
108099
  const { treeConfig: I } = e, { selectCheckboxMaps: G, treeIndeterminateMaps: Y } = u, Q = He.value, { checkField: re, checkMethod: ve } = Q, { afterFullData: he, afterTreeFullData: Ce } = c;
108109
- let xe = 0, Ie = 0, Oe = 0;
108100
+ let Se = 0, Ie = 0, Oe = 0;
108110
108101
  const Ge = I ? Ce : he;
108111
108102
  Ge.forEach(ve ? (Ye) => {
108112
108103
  const Fe = wt(oe, Ye), Qe = re ? X.get(Ye, re) : G[Fe];
108113
- ve({ row: Ye }) ? (Qe ? xe++ : Y[Fe] && Ie++, Oe++) : Qe ? xe++ : Y[Fe] && Ie++;
108104
+ ve({ row: Ye }) ? (Qe ? Se++ : Y[Fe] && Ie++, Oe++) : Qe ? Se++ : Y[Fe] && Ie++;
108114
108105
  } : (Ye) => {
108115
108106
  const Fe = wt(oe, Ye);
108116
- (re ? X.get(Ye, re) : G[Fe]) ? xe++ : Y[Fe] && Ie++, Oe++;
108107
+ (re ? X.get(Ye, re) : G[Fe]) ? Se++ : Y[Fe] && Ie++, Oe++;
108117
108108
  });
108118
- const Pe = Ge.length > 0 && xe >= Oe, Ke = !Pe && (xe >= 1 || Ie >= 1);
108109
+ const Pe = Ge.length > 0 && Se >= Oe, Ke = !Pe && (Se >= 1 || Ie >= 1);
108119
108110
  u.isAllSelected = Pe, u.isIndeterminate = Ke;
108120
108111
  },
108121
108112
  checkSelectionStatus() {
@@ -108126,12 +108117,12 @@ const XH = H({
108126
108117
  * 多选,行选中事件
108127
108118
  */
108128
108119
  handleBatchSelectRows(I, G, Y) {
108129
- const { treeConfig: Q } = e, { selectCheckboxMaps: re } = u, ve = Object.assign({}, re), he = qt.value, { transform: Ce, mapChildrenField: xe } = he, Ie = he.children || he.childrenField, Oe = He.value, { checkField: Ge, checkStrictly: Pe, checkMethod: Ke } = Oe, Ye = Oe.indeterminateField || Oe.halfField;
108120
+ const { treeConfig: Q } = e, { selectCheckboxMaps: re } = u, ve = Object.assign({}, re), he = qt.value, { transform: Ce, mapChildrenField: Se } = he, Ie = he.children || he.childrenField, Oe = He.value, { checkField: Ge, checkStrictly: Pe, checkMethod: Ke } = Oe, Ye = Oe.indeterminateField || Oe.halfField;
108130
108121
  if (Ge) {
108131
108122
  if (Q && !Pe) {
108132
108123
  X.eachTree(I, (Fe) => {
108133
108124
  (Y || !Ke || Ke({ row: Fe })) && (X.set(Fe, Ge, G), Ye && X.set(Fe, Ye, !1), Wi(Fe, G));
108134
- }, { children: Ce ? xe : Ie }), u.selectCheckboxMaps = ve;
108125
+ }, { children: Ce ? Se : Ie }), u.selectCheckboxMaps = ve;
108135
108126
  return;
108136
108127
  } else
108137
108128
  I.forEach((Fe) => {
@@ -108144,7 +108135,7 @@ const XH = H({
108144
108135
  X.eachTree(I, (Fe) => {
108145
108136
  const Qe = wt(oe, Fe);
108146
108137
  (Y || !Ke || Ke({ row: Fe })) && (G ? ve[Qe] = Fe : ve[Qe] && delete ve[Qe], Wi(Fe, G));
108147
- }, { children: Ce ? xe : Ie }), u.selectCheckboxMaps = ve;
108138
+ }, { children: Ce ? Se : Ie }), u.selectCheckboxMaps = ve;
108148
108139
  return;
108149
108140
  }
108150
108141
  I.forEach((Fe) => {
@@ -108163,7 +108154,7 @@ const XH = H({
108163
108154
  const Q = G.content || G.message;
108164
108155
  if (Q) {
108165
108156
  const { tooltipStore: re } = u, { column: ve } = Y, he = Iu(Q);
108166
- P2(!0), re.row = null, re.column = ve, re.visible = !0, re.currOpts = G, Se(() => {
108157
+ P2(!0), re.row = null, re.column = ve, re.visible = !0, re.currOpts = G, xe(() => {
108167
108158
  const Ce = h.value;
108168
108159
  Ce && Ce.open && Ce.open(I.currentTarget, he);
108169
108160
  });
@@ -108180,10 +108171,10 @@ const XH = H({
108180
108171
  * 触发单元格 tooltip 事件
108181
108172
  */
108182
108173
  triggerBodyTooltipEvent(I, G) {
108183
- const { editConfig: Y } = e, { editStore: Q } = u, { tooltipStore: re } = u, ve = Mt.value, { actived: he } = Q, { row: Ce, column: xe } = G, Ie = I.currentTarget;
108184
- if (P2(re.column !== xe || re.row !== Ce), !(xe.editRender && Vr(Y) && (ve.mode === "row" && he.row === Ce || he.row === Ce && he.column === xe)) && (re.column !== xe || re.row !== Ce || !re.visible)) {
108174
+ const { editConfig: Y } = e, { editStore: Q } = u, { tooltipStore: re } = u, ve = Mt.value, { actived: he } = Q, { row: Ce, column: Se } = G, Ie = I.currentTarget;
108175
+ if (P2(re.column !== Se || re.row !== Ce), !(Se.editRender && Vr(Y) && (ve.mode === "row" && he.row === Ce || he.row === Ce && he.column === Se)) && (re.column !== Se || re.row !== Ce || !re.visible)) {
108185
108176
  let Oe, Ge;
108186
- xe.treeNode ? (Oe = Ie.querySelector(".vxe-tree-cell"), xe.type === "html" && (Ge = Ie.querySelector(".vxe-cell--html"))) : Ge = Ie.querySelector(xe.type === "html" ? ".vxe-cell--html" : ".vxe-cell--label"), rS(I, Ie, Oe || Ie.children[0], Ge, G);
108177
+ Se.treeNode ? (Oe = Ie.querySelector(".vxe-tree-cell"), Se.type === "html" && (Ge = Ie.querySelector(".vxe-cell--html"))) : Ge = Ie.querySelector(Se.type === "html" ? ".vxe-cell--html" : ".vxe-cell--label"), rS(I, Ie, Oe || Ie.children[0], Ge, G);
108187
108178
  }
108188
108179
  },
108189
108180
  /**
@@ -108201,8 +108192,8 @@ const XH = H({
108201
108192
  }, I.leaveDelay) : d.closeTooltip();
108202
108193
  },
108203
108194
  triggerHeaderCellClickEvent(I, G) {
108204
- const { _lastResizeTime: Y } = c, Q = St.value, re = Ne.value, { column: ve } = G, he = I.currentTarget, Ce = Y && Y > Date.now() - 300, xe = dn(I, he, "vxe-cell--sort").flag, Ie = dn(I, he, "vxe-cell--filter").flag;
108205
- Q.trigger === "cell" && !(Ce || xe || Ie) && f.triggerSortEvent(I, ve, Ln(ve)), kn("header-cell-click", Object.assign({ triggerResizable: Ce, triggerSort: xe, triggerFilter: Ie, cell: he }, G), I), (re.isCurrent || e.highlightCurrentColumn) && f.triggerCurrentColumnEvent(I, G);
108195
+ const { _lastResizeTime: Y } = c, Q = St.value, re = Ne.value, { column: ve } = G, he = I.currentTarget, Ce = Y && Y > Date.now() - 300, Se = dn(I, he, "vxe-cell--sort").flag, Ie = dn(I, he, "vxe-cell--filter").flag;
108196
+ Q.trigger === "cell" && !(Ce || Se || Ie) && f.triggerSortEvent(I, ve, Ln(ve)), kn("header-cell-click", Object.assign({ triggerResizable: Ce, triggerSort: Se, triggerFilter: Ie, cell: he }, G), I), (re.isCurrent || e.highlightCurrentColumn) && f.triggerCurrentColumnEvent(I, G);
108206
108197
  },
108207
108198
  triggerHeaderCellDblclickEvent(I, G) {
108208
108199
  kn("header-cell-dblclick", Object.assign({ cell: I.currentTarget }, G), I);
@@ -108213,8 +108204,8 @@ const XH = H({
108213
108204
  * 如果是双击模式,则单击后选中状态
108214
108205
  */
108215
108206
  triggerCellClickEvent(I, G) {
108216
- const { highlightCurrentRow: Y, editConfig: Q } = e, { editStore: re } = u, ve = Wt.value, he = Mt.value, Ce = qt.value, xe = Le.value, Ie = He.value, Oe = ye.value, Ge = $e.value, { actived: Pe, focused: Ke } = re, { row: Ye, column: Fe } = G, { type: Qe, treeNode: yt } = Fe, We = Qe === "radio", _t = Qe === "checkbox", kt = Qe === "expand", Kt = I.currentTarget, Xt = We && dn(I, Kt, "vxe-cell--radio").flag, Or = _t && dn(I, Kt, "vxe-cell--checkbox").flag, kr = yt && dn(I, Kt, "vxe-tree--btn-wrapper").flag, Cr = kt && dn(I, Kt, "vxe-table--expanded").flag;
108217
- G = Object.assign({ cell: Kt, triggerRadio: Xt, triggerCheckbox: Or, triggerTreeNode: kr, triggerExpandNode: Cr }, G), !Or && !Xt && (!Cr && (ve.trigger === "row" || kt && ve.trigger === "cell") && f.triggerRowExpandEvent(I, G), (Ce.trigger === "row" || yt && Ce.trigger === "cell") && f.triggerTreeExpandEvent(I, G)), kr || (Cr || ((Ge.isCurrent || Y) && !Or && !Xt && f.triggerCurrentRowEvent(I, G), !Xt && (xe.trigger === "row" || We && xe.trigger === "cell") && f.triggerRadioRowEvent(I, G), !Or && (Ie.trigger === "row" || _t && Ie.trigger === "cell") && f.handleToggleCheckRowEvent(I, G)), Vr(Q) && (Oe.arrowCursorLock && I && he.mode === "cell" && I.target && /^input|textarea$/i.test(I.target.tagName) && (Ke.column = Fe, Ke.row = Ye), he.trigger === "manual" ? Pe.args && Pe.row === Ye && Fe !== Pe.column && Js(I, G) : (!Pe.args || Ye !== Pe.row || Fe !== Pe.column) && (he.trigger === "click" || he.trigger === "dblclick" && he.mode === "row" && Pe.row === Ye) && Js(I, G))), Vr(Q) && he.trigger === "dblclick" && Pe.row && Pe.column && (he.mode === "row" ? oe.eqRow(Pe.row, Ye) || oe.handleClearEdit(I) : he.mode === "cell" && (!oe.eqRow(Pe.row, Ye) || Pe.column.id !== Fe.id) && oe.handleClearEdit(I)), kn("cell-click", G, I);
108207
+ const { highlightCurrentRow: Y, editConfig: Q } = e, { editStore: re } = u, ve = Wt.value, he = Mt.value, Ce = qt.value, Se = Le.value, Ie = He.value, Oe = ye.value, Ge = $e.value, { actived: Pe, focused: Ke } = re, { row: Ye, column: Fe } = G, { type: Qe, treeNode: yt } = Fe, We = Qe === "radio", _t = Qe === "checkbox", kt = Qe === "expand", Kt = I.currentTarget, Xt = We && dn(I, Kt, "vxe-cell--radio").flag, Or = _t && dn(I, Kt, "vxe-cell--checkbox").flag, kr = yt && dn(I, Kt, "vxe-tree--btn-wrapper").flag, Cr = kt && dn(I, Kt, "vxe-table--expanded").flag;
108208
+ G = Object.assign({ cell: Kt, triggerRadio: Xt, triggerCheckbox: Or, triggerTreeNode: kr, triggerExpandNode: Cr }, G), !Or && !Xt && (!Cr && (ve.trigger === "row" || kt && ve.trigger === "cell") && f.triggerRowExpandEvent(I, G), (Ce.trigger === "row" || yt && Ce.trigger === "cell") && f.triggerTreeExpandEvent(I, G)), kr || (Cr || ((Ge.isCurrent || Y) && !Or && !Xt && f.triggerCurrentRowEvent(I, G), !Xt && (Se.trigger === "row" || We && Se.trigger === "cell") && f.triggerRadioRowEvent(I, G), !Or && (Ie.trigger === "row" || _t && Ie.trigger === "cell") && f.handleToggleCheckRowEvent(I, G)), Vr(Q) && (Oe.arrowCursorLock && I && he.mode === "cell" && I.target && /^input|textarea$/i.test(I.target.tagName) && (Ke.column = Fe, Ke.row = Ye), he.trigger === "manual" ? Pe.args && Pe.row === Ye && Fe !== Pe.column && Js(I, G) : (!Pe.args || Ye !== Pe.row || Fe !== Pe.column) && (he.trigger === "click" || he.trigger === "dblclick" && he.mode === "row" && Pe.row === Ye) && Js(I, G))), Vr(Q) && he.trigger === "dblclick" && Pe.row && Pe.column && (he.mode === "row" ? oe.eqRow(Pe.row, Ye) || oe.handleClearEdit(I) : he.mode === "cell" && (!oe.eqRow(Pe.row, Ye) || Pe.column.id !== Fe.id) && oe.handleClearEdit(I)), kn("cell-click", G, I);
108218
108209
  },
108219
108210
  /**
108220
108211
  * 列双击点击事件
@@ -108237,9 +108228,9 @@ const XH = H({
108237
108228
  const Q = He.value, { row: re } = G, { afterFullData: ve } = c, { checkMethod: he, trigger: Ce } = Q;
108238
108229
  if (Ce !== "manual") {
108239
108230
  if (I.stopPropagation(), Q.isShiftKey && I.shiftKey && !e.treeConfig) {
108240
- const xe = d.getCheckboxRecords();
108241
- if (xe.length) {
108242
- const Ie = xe[0], Oe = d.getVTRowIndex(re), Ge = d.getVTRowIndex(Ie);
108231
+ const Se = d.getCheckboxRecords();
108232
+ if (Se.length) {
108233
+ const Ie = Se[0], Oe = d.getVTRowIndex(re), Ge = d.getVTRowIndex(Ie);
108243
108234
  if (Oe !== Ge) {
108244
108235
  d.setAllCheckboxRow(!1);
108245
108236
  const Pe = Oe < Ge ? ve.slice(Oe, Ge + 1) : ve.slice(Ge, Oe + 1);
@@ -108290,8 +108281,8 @@ const XH = H({
108290
108281
  if (Ce === "manual")
108291
108282
  return;
108292
108283
  I.stopPropagation();
108293
- const xe = wt(oe, ve);
108294
- if (!he || !Y[xe]) {
108284
+ const Se = wt(oe, ve);
108285
+ if (!he || !Y[Se]) {
108295
108286
  const Ie = !d.isRowExpandByRow(ve), Oe = d.getColumnIndex(Q), Ge = d.getVMColumnIndex(Q);
108296
108287
  d.setRowExpand(ve, Ie), kn("toggle-row-expand", {
108297
108288
  expanded: Ie,
@@ -108312,8 +108303,8 @@ const XH = H({
108312
108303
  if (Ce === "manual")
108313
108304
  return;
108314
108305
  I.stopPropagation();
108315
- const xe = wt(oe, re);
108316
- if (!he || !Y[xe]) {
108306
+ const Se = wt(oe, re);
108307
+ if (!he || !Y[Se]) {
108317
108308
  const Ie = !d.isTreeExpandByRow(re), Oe = d.getColumnIndex(ve), Ge = d.getVMColumnIndex(ve);
108318
108309
  d.setTreeExpand(re, Ie), kn("toggle-tree-expand", { expanded: Ie, column: ve, columnIndex: Oe, $columnIndex: Ge, row: re }, I);
108319
108310
  }
@@ -108336,12 +108327,12 @@ const XH = H({
108336
108327
  * 表头单元格按下事件
108337
108328
  */
108338
108329
  triggerHeaderCellMousedownEvent(I, G) {
108339
- const { mouseConfig: Y } = e, Q = Ft.value, re = Ne.value, ve = Xe.value, { trigger: he, isCrossDrag: Ce, isPeerDrag: xe, disabledMethod: Ie } = ve, Oe = I.currentTarget, Ge = Oe && Oe.tagName && Oe.tagName.toLowerCase() === "input", Pe = dn(I, Oe, "vxe-cell--checkbox").flag, Ke = dn(I, Oe, "vxe-cell--sort").flag, Ye = dn(I, Oe, "vxe-cell--filter").flag;
108330
+ const { mouseConfig: Y } = e, Q = Ft.value, re = Ne.value, ve = Xe.value, { trigger: he, isCrossDrag: Ce, isPeerDrag: Se, disabledMethod: Ie } = ve, Oe = I.currentTarget, Ge = Oe && Oe.tagName && Oe.tagName.toLowerCase() === "input", Pe = dn(I, Oe, "vxe-cell--checkbox").flag, Ke = dn(I, Oe, "vxe-cell--sort").flag, Ye = dn(I, Oe, "vxe-cell--filter").flag;
108340
108331
  let Fe = !1;
108341
108332
  const Qe = re.drag && he === "cell";
108342
108333
  if (!(Ge || Pe || Ke || Ye)) {
108343
108334
  const { column: yt } = G;
108344
- Qe && !yt.fixed && (Ce || xe || !yt.parentId) && !(Ie && Ie(G)) && (Fe = !0, oe.handleHeaderCellDragMousedownEvent(I, G));
108335
+ Qe && !yt.fixed && (Ce || Se || !yt.parentId) && !(Ie && Ie(G)) && (Fe = !0, oe.handleHeaderCellDragMousedownEvent(I, G));
108345
108336
  }
108346
108337
  !Fe && Y && Q.area && oe.handleHeaderCellAreaEvent && oe.handleHeaderCellAreaEvent(I, Object.assign({ cell: Oe, triggerSort: Ke, triggerFilter: Ye }, G)), oe.focus(), oe.closeMenu && oe.closeMenu();
108347
108338
  },
@@ -108349,11 +108340,11 @@ const XH = H({
108349
108340
  * 单元格按下事件
108350
108341
  */
108351
108342
  triggerCellMousedownEvent(I, G) {
108352
- const { column: Y } = G, { type: Q, treeNode: re } = Y, ve = Q === "radio", he = Q === "checkbox", Ce = Q === "expand", xe = $e.value, Ie = Be.value, { trigger: Oe, isCrossDrag: Ge, isPeerDrag: Pe, disabledMethod: Ke } = Ie, Ye = I.currentTarget;
108343
+ const { column: Y } = G, { type: Q, treeNode: re } = Y, ve = Q === "radio", he = Q === "checkbox", Ce = Q === "expand", Se = $e.value, Ie = Be.value, { trigger: Oe, isCrossDrag: Ge, isPeerDrag: Pe, disabledMethod: Ke } = Ie, Ye = I.currentTarget;
108353
108344
  G.cell = Ye;
108354
108345
  const Fe = Ye && Ye.tagName && Ye.tagName.toLowerCase() === "input", Qe = ve && dn(I, Ye, "vxe-cell--radio").flag, yt = he && dn(I, Ye, "vxe-cell--checkbox").flag, We = re && dn(I, Ye, "vxe-tree--btn-wrapper").flag, _t = Ce && dn(I, Ye, "vxe-table--expanded").flag;
108355
108346
  let kt = !1;
108356
- xe.drag && (kt = Oe === "row" || Y.dragSort && Oe === "cell");
108347
+ Se.drag && (kt = Oe === "row" || Y.dragSort && Oe === "cell");
108357
108348
  let Kt = !1;
108358
108349
  Fe || Qe || yt || We || _t || kt && (Ge || Pe || !G.level) && !(Ke && Ke(G)) && (Kt = !0, oe.handleCellDragMousedownEvent(I, G)), !Kt && oe.handleCellMousedownEvent && oe.handleCellMousedownEvent(I, G), oe.focus(), oe.closeFilter(), oe.closeMenu && oe.closeMenu();
108359
108350
  },
@@ -108367,7 +108358,7 @@ const XH = H({
108367
108358
  I.dataTransfer && I.dataTransfer.setDragImage(mA(), 0, 0);
108368
108359
  },
108369
108360
  handleRowDragSwapEvent(I, G, Y, Q, re, ve) {
108370
- const { treeConfig: he, dragConfig: Ce } = e, xe = Be.value, { fullAllDataRowIdData: Ie } = c, { isPeerDrag: Oe, isCrossDrag: Ge, isSelfToChildDrag: Pe, dragEndMethod: Ke } = xe, Ye = qt.value, { transform: Fe, rowField: Qe, mapChildrenField: yt, parentField: We } = Ye, _t = Ye.children || Ye.childrenField, { afterFullData: kt, tableFullData: Kt } = c, Xt = Ke || (Ce ? Ce.dragEndMethod : null), Or = re === "bottom" ? 1 : 0;
108361
+ const { treeConfig: he, dragConfig: Ce } = e, Se = Be.value, { fullAllDataRowIdData: Ie } = c, { isPeerDrag: Oe, isCrossDrag: Ge, isSelfToChildDrag: Pe, dragEndMethod: Ke } = Se, Ye = qt.value, { transform: Fe, rowField: Qe, mapChildrenField: yt, parentField: We } = Ye, _t = Ye.children || Ye.childrenField, { afterFullData: kt, tableFullData: Kt } = c, Xt = Ke || (Ce ? Ce.dragEndMethod : null), Or = re === "bottom" ? 1 : 0;
108371
108362
  return Q && Y && Q !== Y ? Promise.resolve(Xt ? Xt({
108372
108363
  oldRow: Y,
108373
108364
  newRow: Q,
@@ -108438,7 +108429,7 @@ const XH = H({
108438
108429
  const An = Tr + Or;
108439
108430
  kt.splice(hr, 0, Y), Kt.splice(An, 0, Y);
108440
108431
  }
108441
- u.isDragRowMove = !0, oe.handleTableData(he && Fe), oe.cacheRowMap(), R2(), he && Fe || oe.updateAfterDataIndex(), oe.checkSelectionStatus(), u.scrollYLoad && oe.updateScrollYSpace(), Se().then(() => {
108432
+ u.isDragRowMove = !0, oe.handleTableData(he && Fe), oe.cacheRowMap(), R2(), he && Fe || oe.updateAfterDataIndex(), oe.checkSelectionStatus(), u.scrollYLoad && oe.updateScrollYSpace(), xe().then(() => {
108442
108433
  oe.updateCellAreas(), oe.recalculate();
108443
108434
  }), kn("row-dragend", {
108444
108435
  oldRow: Y,
@@ -108455,20 +108446,20 @@ const XH = H({
108455
108446
  }) : Promise.resolve();
108456
108447
  },
108457
108448
  handleRowDragDragendEvent(I) {
108458
- const { treeConfig: G } = e, { fullAllDataRowIdData: Y, prevDragToChild: Q } = c, { dragRow: re } = u, ve = qt.value, { lazy: he } = ve, Ce = ve.hasChild || ve.hasChildField, { prevDragRow: xe, prevDragPos: Ie } = c;
108449
+ const { treeConfig: G } = e, { fullAllDataRowIdData: Y, prevDragToChild: Q } = c, { dragRow: re } = u, ve = qt.value, { lazy: he } = ve, Ce = ve.hasChild || ve.hasChildField, { prevDragRow: Se, prevDragPos: Ie } = c;
108459
108450
  if (G && Q) {
108460
108451
  if (he) {
108461
- const Oe = wt(oe, xe), Ge = Y[Oe];
108462
- xe[Ce] ? Ge && Ge.treeLoaded && oe.handleRowDragSwapEvent(I, !0, re, xe, Ie, Q) : oe.handleRowDragSwapEvent(I, !0, re, xe, Ie, Q);
108452
+ const Oe = wt(oe, Se), Ge = Y[Oe];
108453
+ Se[Ce] ? Ge && Ge.treeLoaded && oe.handleRowDragSwapEvent(I, !0, re, Se, Ie, Q) : oe.handleRowDragSwapEvent(I, !0, re, Se, Ie, Q);
108463
108454
  }
108464
108455
  } else
108465
- oe.handleRowDragSwapEvent(I, !0, re, xe, Ie, Q);
108456
+ oe.handleRowDragSwapEvent(I, !0, re, Se, Ie, Q);
108466
108457
  Mh(), tS(), c.prevDragToChild = !1, u.dragRow = null, u.dragCol = null, setTimeout(() => {
108467
108458
  u.isDragRowMove = !1;
108468
108459
  }, 500);
108469
108460
  },
108470
108461
  handleRowDragDragoverEvent(I) {
108471
- const { treeConfig: G } = e, { fullAllDataRowIdData: Y } = c, { dragRow: Q } = u, re = qt.value, { lazy: ve, transform: he, parentField: Ce } = re, xe = re.hasChild || re.hasChildField, Ie = Be.value, { isPeerDrag: Oe, isCrossDrag: Ge, isToChildDrag: Pe } = Ie;
108462
+ const { treeConfig: G } = e, { fullAllDataRowIdData: Y } = c, { dragRow: Q } = u, re = qt.value, { lazy: ve, transform: he, parentField: Ce } = re, Se = re.hasChild || re.hasChildField, Ie = Be.value, { isPeerDrag: Oe, isCrossDrag: Ge, isToChildDrag: Pe } = Ie;
108472
108463
  if (!Q) {
108473
108464
  I.preventDefault();
108474
108465
  return;
@@ -108478,7 +108469,7 @@ const XH = H({
108478
108469
  const yt = Qe.row, We = wt(oe, yt), _t = Y[We];
108479
108470
  I.preventDefault();
108480
108471
  const { dragRow: kt } = u, Xt = I.clientY - Ye.getBoundingClientRect().y < Ye.clientHeight / 2 ? "top" : "bottom";
108481
- if (c.prevDragToChild = !!(G && he && Ge && Pe && Ke), c.prevDragRow = yt, c.prevDragPos = Xt, oe.eqRow(kt, yt) || Ke && G && ve && yt[xe] && _t && !_t.treeLoaded || !Ge && G && he && (Oe ? kt[Ce] !== yt[Ce] : Qe.level)) {
108472
+ if (c.prevDragToChild = !!(G && he && Ge && Pe && Ke), c.prevDragRow = yt, c.prevDragPos = Xt, oe.eqRow(kt, yt) || Ke && G && ve && yt[Se] && _t && !_t.treeLoaded || !Ge && G && he && (Oe ? kt[Ce] !== yt[Ce] : Qe.level)) {
108482
108473
  V2(I, Ye, null, !1, Xt);
108483
108474
  return;
108484
108475
  }
@@ -108492,7 +108483,7 @@ const XH = H({
108492
108483
  handleCellDragMousedownEvent(I, G) {
108493
108484
  var Y;
108494
108485
  I.stopPropagation();
108495
- const { dragConfig: Q } = e, re = Be.value, { trigger: ve, dragStartMethod: he } = re, { row: Ce } = G, xe = I.currentTarget, Ie = ve === "cell" || ve === "row" ? xe : (Y = xe.parentElement) === null || Y === void 0 ? void 0 : Y.parentElement, Oe = Ie.parentElement, Ge = he || (Q ? Q.dragStartMethod : null);
108486
+ const { dragConfig: Q } = e, re = Be.value, { trigger: ve, dragStartMethod: he } = re, { row: Ce } = G, Se = I.currentTarget, Ie = ve === "cell" || ve === "row" ? Se : (Y = Se.parentElement) === null || Y === void 0 ? void 0 : Y.parentElement, Oe = Ie.parentElement, Ge = he || (Q ? Q.dragStartMethod : null);
108496
108487
  if (tS(), Ge && !Ge(G)) {
108497
108488
  Oe.draggable = !1, u.dragRow = null, u.dragCol = null, Mh();
108498
108489
  return;
@@ -108514,7 +108505,7 @@ const XH = H({
108514
108505
  });
108515
108506
  },
108516
108507
  handleColDragSwapEvent(I, G, Y, Q, re, ve) {
108517
- const { mouseConfig: he } = e, Ce = Xe.value, { isPeerDrag: xe, isCrossDrag: Ie, isSelfToChildDrag: Oe, isToChildDrag: Ge, dragEndMethod: Pe } = Ce, { collectColumn: Ke } = c, Ye = re === "right" ? 1 : 0;
108508
+ const { mouseConfig: he } = e, Ce = Xe.value, { isPeerDrag: Se, isCrossDrag: Ie, isSelfToChildDrag: Oe, isToChildDrag: Ge, dragEndMethod: Pe } = Ce, { collectColumn: Ke } = c, Ye = re === "right" ? 1 : 0;
108518
108509
  if (Q && Y && Q !== Y) {
108519
108510
  const Fe = Y, Qe = Q;
108520
108511
  return Promise.resolve(Pe ? Pe({
@@ -108533,7 +108524,7 @@ const XH = H({
108533
108524
  });
108534
108525
  let Kt = !1;
108535
108526
  if (Fe.parentId && Qe.parentId)
108536
- if (xe && !Ie) {
108527
+ if (Se && !Ie) {
108537
108528
  if (Fe.parentId !== Qe.parentId)
108538
108529
  return;
108539
108530
  } else {
@@ -108613,7 +108604,7 @@ const XH = H({
108613
108604
  I.preventDefault();
108614
108605
  return;
108615
108606
  }
108616
- const he = I.ctrlKey, Ce = I.currentTarget, xe = Ce.getAttribute("colid"), Ie = oe.getColumnById(xe);
108607
+ const he = I.ctrlKey, Ce = I.currentTarget, Se = Ce.getAttribute("colid"), Ie = oe.getColumnById(Se);
108617
108608
  if (Ie) {
108618
108609
  I.preventDefault();
108619
108610
  const { clientX: Oe } = I, Pe = Oe - Ce.getBoundingClientRect().x < Ce.clientWidth / 2 ? "left" : "right";
@@ -108645,18 +108636,18 @@ const XH = H({
108645
108636
  handleHeaderCellDragMousedownEvent(I, G) {
108646
108637
  var Y;
108647
108638
  I.stopPropagation();
108648
- const Q = Xe.value, { trigger: re, dragStartMethod: ve } = Q, { column: he } = G, Ce = I.currentTarget, xe = re === "cell" ? Ce : (Y = Ce.parentElement) === null || Y === void 0 ? void 0 : Y.parentElement;
108639
+ const Q = Xe.value, { trigger: re, dragStartMethod: ve } = Q, { column: he } = G, Ce = I.currentTarget, Se = re === "cell" ? Ce : (Y = Ce.parentElement) === null || Y === void 0 ? void 0 : Y.parentElement;
108649
108640
  if (u.isDragColMove = !1, N2(), ve && !ve(G)) {
108650
- xe.draggable = !1, u.dragRow = null, u.dragCol = null, Mh();
108641
+ Se.draggable = !1, u.dragRow = null, u.dragCol = null, Mh();
108651
108642
  return;
108652
108643
  }
108653
- u.dragCol = he, u.dragRow = null, xe.draggable = !0, Joe(he), eie(xe), kn("column-dragstart", G, I);
108644
+ u.dragCol = he, u.dragRow = null, Se.draggable = !0, Joe(he), eie(Se), kn("column-dragstart", G, I);
108654
108645
  },
108655
108646
  handleHeaderCellDragMouseupEvent() {
108656
108647
  N2(), Mh(), u.dragRow = null, u.dragCol = null, u.isDragColMove = !1;
108657
108648
  },
108658
108649
  handleScrollEvent(I, G, Y, Q, re, ve) {
108659
- const { highlightHoverRow: he } = e, { lastScrollLeft: Ce, lastScrollTop: xe } = c, Ie = C.value, Oe = Ie ? Ie.$el : null, Ge = $e.value, Pe = g.value, Ke = h.value, Ye = Oe ? Oe.clientHeight : 0, Fe = Oe ? Oe.clientWidth : 0, Qe = Oe ? Oe.scrollHeight : 0, yt = Oe ? Oe.scrollWidth : 0;
108650
+ const { highlightHoverRow: he } = e, { lastScrollLeft: Ce, lastScrollTop: Se } = c, Ie = C.value, Oe = Ie ? Ie.$el : null, Ge = $e.value, Pe = g.value, Ke = h.value, Ye = Oe ? Oe.clientHeight : 0, Fe = Oe ? Oe.clientWidth : 0, Qe = Oe ? Oe.scrollHeight : 0, yt = Oe ? Oe.scrollWidth : 0;
108660
108651
  let We = !1, _t = !1, kt = !1, Kt = !1, Xt = "", Or = !1, kr = !1, Cr = !1, hr = !1;
108661
108652
  if (Y) {
108662
108653
  const ur = ie.value;
@@ -108664,7 +108655,7 @@ const XH = H({
108664
108655
  }
108665
108656
  if (G) {
108666
108657
  const ur = be.value;
108667
- We = Q <= 0, We || (_t = Q + Ye >= Qe), Q > xe ? (Xt = "bottom", Q + Ye >= Qe - ur && (kr = !0)) : (Xt = "top", Q <= ur && (Or = !0)), c.lastScrollTop = Q;
108658
+ We = Q <= 0, We || (_t = Q + Ye >= Qe), Q > Se ? (Xt = "bottom", Q + Ye >= Qe - ur && (kr = !0)) : (Xt = "top", Q <= ur && (Or = !0)), c.lastScrollTop = Q;
108668
108659
  }
108669
108660
  u.isDragColMove = !1, u.isDragRowMove = !1, u.lastScrollTime = Date.now();
108670
108661
  const Xr = Object.assign({
@@ -108707,8 +108698,8 @@ const XH = H({
108707
108698
  const re = qt.value, ve = re.children || re.childrenField, he = X.findTree(Y, (Ce) => oe.eqRow(Ce, I), { children: ve });
108708
108699
  if (he) {
108709
108700
  const Ce = he.nodes;
108710
- Ce.forEach((xe, Ie) => {
108711
- Ie < Ce.length - 1 && !d.isTreeExpandByRow(xe) && Q.push(d.setTreeExpand(xe, !0));
108701
+ Ce.forEach((Se, Ie) => {
108702
+ Ie < Ce.length - 1 && !d.isTreeExpandByRow(Se) && Q.push(d.setTreeExpand(Se, !0));
108712
108703
  });
108713
108704
  }
108714
108705
  }
@@ -108717,7 +108708,7 @@ const XH = H({
108717
108708
  updateScrollYStatus: R2,
108718
108709
  // 更新横向 X 可视渲染上下剩余空间大小
108719
108710
  updateScrollXSpace() {
108720
- const { isGroup: I, scrollXLoad: G, scrollbarWidth: Y } = u, { visibleColumn: Q, scrollXStore: re, elemStore: ve, tableWidth: he } = c, Ce = w.value, xe = C.value, Ie = x.value, Oe = xe ? xe.$el : null;
108711
+ const { isGroup: I, scrollXLoad: G, scrollbarWidth: Y } = u, { visibleColumn: Q, scrollXStore: re, elemStore: ve, tableWidth: he } = c, Ce = w.value, Se = C.value, Ie = x.value, Oe = Se ? Se.$el : null;
108721
108712
  if (Oe) {
108722
108713
  const Ge = Ce ? Ce.$el : null, Pe = Ie ? Ie.$el : null, Ke = Ge ? Ge.querySelector(".vxe-table--header") : null, Ye = Oe.querySelector(".vxe-table--body"), Fe = Pe ? Pe.querySelector(".vxe-table--footer") : null, Qe = Q.slice(0, re.startIndex).reduce((kt, Kt) => kt + Kt.renderWidth, 0);
108723
108714
  let yt = "";
@@ -108728,7 +108719,7 @@ const XH = H({
108728
108719
  });
108729
108720
  });
108730
108721
  const _t = le.value;
108731
- _t && (_t.style.width = `${he + Y}px`), Se(() => {
108722
+ _t && (_t.style.width = `${he + Y}px`), xe(() => {
108732
108723
  eo();
108733
108724
  });
108734
108725
  }
@@ -108736,23 +108727,23 @@ const XH = H({
108736
108727
  // 更新纵向 Y 可视渲染上下剩余空间大小
108737
108728
  updateScrollYSpace() {
108738
108729
  const { showOverflow: I } = e, { scrollYLoad: G } = u, { scrollYStore: Y, elemStore: Q, afterFullData: re, fullAllDataRowIdData: ve } = c, { startIndex: he, rowHeight: Ce } = Y;
108739
- let xe = 0, Ie = 0;
108730
+ let Se = 0, Ie = 0;
108740
108731
  const Oe = ["main", "left", "right"];
108741
108732
  let Ge = "", Pe = "";
108742
108733
  if (G) {
108743
108734
  if (I)
108744
- xe = re.length * Ce, Ie = Math.max(0, he * Ce);
108735
+ Se = re.length * Ce, Ie = Math.max(0, he * Ce);
108745
108736
  else {
108746
108737
  for (let Ye = 0; Ye < re.length; Ye++) {
108747
108738
  const Fe = re[Ye], Qe = wt(oe, Fe), yt = ve[Qe];
108748
- yt && (xe += yt.height || Ce);
108739
+ yt && (Se += yt.height || Ce);
108749
108740
  }
108750
108741
  for (let Ye = 0; Ye < he; Ye++) {
108751
108742
  const Fe = re[Ye], Qe = wt(oe, Fe), yt = ve[Qe];
108752
108743
  yt && (Ie += yt.height || Ce);
108753
108744
  }
108754
108745
  }
108755
- Ge = `${Ie}px`, Pe = `${xe}px`;
108746
+ Ge = `${Ie}px`, Pe = `${Se}px`;
108756
108747
  }
108757
108748
  Oe.forEach((Ye) => {
108758
108749
  const Fe = ["header", "body", "footer"], Qe = si(Q[`${Ye}-body-table`]);
@@ -108762,16 +108753,16 @@ const XH = H({
108762
108753
  });
108763
108754
  });
108764
108755
  const Ke = _e.value;
108765
- Ke && (Ke.style.height = Pe), Se(eo);
108756
+ Ke && (Ke.style.height = Pe), xe(eo);
108766
108757
  },
108767
108758
  updateScrollXData() {
108768
108759
  const { showOverflow: I } = e;
108769
- return Qx(), Xu(), Se().then(() => {
108760
+ return Qx(), Xu(), xe().then(() => {
108770
108761
  Xu(), Qx(), f.updateScrollXSpace(), I || f.updateScrollYSpace();
108771
108762
  });
108772
108763
  },
108773
108764
  updateScrollYData() {
108774
- return f.handleTableData(), Xu(), Se().then(() => {
108765
+ return f.handleTableData(), Xu(), xe().then(() => {
108775
108766
  Xu(), f.handleTableData(), f.updateScrollYSpace();
108776
108767
  });
108777
108768
  },
@@ -108823,13 +108814,13 @@ const XH = H({
108823
108814
  };
108824
108815
  })), Object.assign(oe, d, f);
108825
108816
  const EI = (I) => {
108826
- const { showHeader: G, showFooter: Y } = e, { tableData: Q, tableColumn: re, tableGroupColumn: ve, columnStore: he, footerTableData: Ce } = u, xe = I === "left", Ie = xe ? he.leftList : he.rightList;
108817
+ const { showHeader: G, showFooter: Y } = e, { tableData: Q, tableColumn: re, tableGroupColumn: ve, columnStore: he, footerTableData: Ce } = u, Se = I === "left", Ie = Se ? he.leftList : he.rightList;
108827
108818
  return J("div", {
108828
- ref: xe ? O : F,
108819
+ ref: Se ? O : F,
108829
108820
  class: `vxe-table--fixed-${I}-wrapper`
108830
108821
  }, [
108831
108822
  G ? J(qH, {
108832
- ref: xe ? S : A,
108823
+ ref: Se ? S : A,
108833
108824
  fixedType: I,
108834
108825
  tableData: Q,
108835
108826
  tableColumn: re,
@@ -108837,14 +108828,14 @@ const XH = H({
108837
108828
  fixedColumn: Ie
108838
108829
  }) : wo(oe),
108839
108830
  J(jH, {
108840
- ref: xe ? E : M,
108831
+ ref: Se ? E : M,
108841
108832
  fixedType: I,
108842
108833
  tableData: Q,
108843
108834
  tableColumn: re,
108844
108835
  fixedColumn: Ie
108845
108836
  }),
108846
108837
  Y ? J(XH, {
108847
- ref: xe ? T : k,
108838
+ ref: Se ? T : k,
108848
108839
  footerTableData: Ce,
108849
108840
  tableColumn: re,
108850
108841
  fixedColumn: Ie,
@@ -108913,7 +108904,7 @@ const XH = H({
108913
108904
  I && I.clientWidth && I.clientHeight && d.recalculate();
108914
108905
  }
108915
108906
  const aie = () => {
108916
- const { loading: I, stripe: G, showHeader: Y, height: Q, treeConfig: re, mouseConfig: ve, showFooter: he, highlightCell: Ce, highlightHoverRow: xe, highlightHoverColumn: Ie, editConfig: Oe, editRules: Ge } = e, { isCalcColumn: Pe, isGroup: Ke, overflowX: Ye, overflowY: Fe, scrollXLoad: Qe, scrollYLoad: yt, scrollbarHeight: We, tableData: _t, tableColumn: kt, tableGroupColumn: Kt, footerTableData: Xt, initStore: Or, columnStore: kr, filterStore: Cr, customStore: hr, tooltipStore: Xr } = u, { leftList: ur, rightList: Tr } = kr, An = r.loading, Gl = bt.value, gs = me.value, Qu = He.value, el = qt.value, Gi = $e.value, ai = Ne.value, Na = l.value, _i = qr.value, Va = Ft.value, Ju = De.value, Ul = Ct.value, na = ea.value, da = Jt.value, fa = u._isLoading || I, aa = it.value, to = Ze.value, wi = ve && Va.area, ro = Xe.value;
108907
+ const { loading: I, stripe: G, showHeader: Y, height: Q, treeConfig: re, mouseConfig: ve, showFooter: he, highlightCell: Ce, highlightHoverRow: Se, highlightHoverColumn: Ie, editConfig: Oe, editRules: Ge } = e, { isCalcColumn: Pe, isGroup: Ke, overflowX: Ye, overflowY: Fe, scrollXLoad: Qe, scrollYLoad: yt, scrollbarHeight: We, tableData: _t, tableColumn: kt, tableGroupColumn: Kt, footerTableData: Xt, initStore: Or, columnStore: kr, filterStore: Cr, customStore: hr, tooltipStore: Xr } = u, { leftList: ur, rightList: Tr } = kr, An = r.loading, Gl = bt.value, gs = me.value, Qu = He.value, el = qt.value, Gi = $e.value, ai = Ne.value, Na = l.value, _i = qr.value, Va = Ft.value, Ju = De.value, Ul = Ct.value, na = ea.value, da = Jt.value, fa = u._isLoading || I, aa = it.value, to = Ze.value, wi = ve && Va.area, ro = Xe.value;
108917
108908
  return J("div", {
108918
108909
  ref: p,
108919
108910
  class: ["vxe-table", "vxe-table--render-default", `tid_${a}`, `border--${_i}`, {
@@ -108926,7 +108917,7 @@ const XH = H({
108926
108917
  "cell--area": wi,
108927
108918
  "header-cell--area": wi && Ju.selectCellByHeader,
108928
108919
  "body-cell--area": wi && Ju.selectCellByBody,
108929
- "row--highlight": Gi.isHover || xe,
108920
+ "row--highlight": Gi.isHover || Se,
108930
108921
  "column--highlight": ai.isHover || Ie,
108931
108922
  "checkbox--range": Qu.range,
108932
108923
  "column--calc": Pe,
@@ -109179,19 +109170,19 @@ const XH = H({
109179
109170
  }), ke(iS, () => {
109180
109171
  f.analyColumnWidth();
109181
109172
  }), ke(() => u.upDataFlag, () => {
109182
- Se(() => {
109173
+ xe(() => {
109183
109174
  d.updateData();
109184
109175
  });
109185
109176
  }), ke(() => u.reColumnFlag, () => {
109186
- Se(() => {
109177
+ xe(() => {
109187
109178
  d.refreshColumn();
109188
109179
  });
109189
109180
  }), ke(() => e.showHeader, () => {
109190
- Se(() => {
109181
+ xe(() => {
109191
109182
  d.recalculate(!0).then(() => d.refreshScroll());
109192
109183
  });
109193
109184
  }), ke(() => e.showFooter, () => {
109194
- Se(() => {
109185
+ xe(() => {
109195
109186
  d.recalculate(!0).then(() => d.refreshScroll());
109196
109187
  });
109197
109188
  });
@@ -109203,15 +109194,15 @@ const XH = H({
109203
109194
  }), ke(sS, () => {
109204
109195
  d.updateFooter();
109205
109196
  }), ke(() => e.height, () => {
109206
- Se(() => d.recalculate(!0));
109197
+ xe(() => d.recalculate(!0));
109207
109198
  }), ke(() => e.maxHeight, () => {
109208
- Se(() => d.recalculate(!0));
109199
+ xe(() => d.recalculate(!0));
109209
109200
  }), ke(l, () => {
109210
- Se(() => {
109201
+ xe(() => {
109211
109202
  d.recalculate(!0).then(() => d.refreshScroll());
109212
109203
  });
109213
109204
  }), ke(() => e.syncResize, (I) => {
109214
- I && (nS(), Se(() => {
109205
+ I && (nS(), xe(() => {
109215
109206
  nS(), setTimeout(() => nS());
109216
109207
  }));
109217
109208
  });
@@ -109221,7 +109212,7 @@ const XH = H({
109221
109212
  }), ke(() => e.mergeCells, () => {
109222
109213
  lS.value++;
109223
109214
  }), ke(lS, () => {
109224
- d.clearMergeCells(), Se(() => {
109215
+ d.clearMergeCells(), xe(() => {
109225
109216
  e.mergeCells && d.setMergeCells(e.mergeCells);
109226
109217
  });
109227
109218
  });
@@ -109231,7 +109222,7 @@ const XH = H({
109231
109222
  }), ke(() => e.mergeFooterItems, () => {
109232
109223
  uS.value++;
109233
109224
  }), ke(uS, () => {
109234
- d.clearMergeFooterItems(), Se(() => {
109225
+ d.clearMergeFooterItems(), xe(() => {
109235
109226
  e.mergeFooterItems && d.setMergeFooterItems(e.mergeFooterItems);
109236
109227
  });
109237
109228
  }), s && ke(() => s ? s.reactData.resizeFlag : null, () => {
@@ -109250,8 +109241,8 @@ const XH = H({
109250
109241
  c.isActivated = !1, f.preventEvent(null, "deactivated", { $table: oe });
109251
109242
  }), Yt(() => {
109252
109243
  const I = Ne.value, G = $e.value, Y = Hn.value;
109253
- (I.drag || G.drag || Y.allowSort) && ioe(), Se(() => {
109254
- const { data: Q, treeConfig: re, showOverflow: ve } = e, { scrollXStore: he, scrollYStore: Ce } = c, xe = Ee.value, Ie = Mt.value, Oe = qt.value, Ge = Le.value, Pe = He.value, Ke = Wt.value, Ye = $e.value;
109244
+ (I.drag || G.drag || Y.allowSort) && ioe(), xe(() => {
109245
+ const { data: Q, treeConfig: re, showOverflow: ve } = e, { scrollXStore: he, scrollYStore: Ce } = c, Se = Ee.value, Ie = Mt.value, Oe = qt.value, Ge = Le.value, Pe = He.value, Ke = Wt.value, Ye = $e.value;
109255
109246
  if (process.env.NODE_ENV === "development") {
109256
109247
  e.rowId && Mr("vxe.error.delProp", ["row-id", "row-config.keyField"]), e.rowKey && Mr("vxe.error.delProp", ["row-key", "row-config.useKey"]), e.columnKey && Mr("vxe.error.delProp", ["column-id", "column-config.useKey"]), !(e.rowId || Ye.keyField) && (Pe.reserve || Pe.checkRowKeys || Ge.reserve || Ge.checkRowKey || Ke.expandRowKeys || Oe.expandRowKeys) && Mr("vxe.error.reqProp", ["row-config.keyField"]), e.editConfig && (Ie.showStatus || Ie.showUpdateStatus || Ie.showInsertStatus) && !e.keepSource && Mr("vxe.error.reqProp", ["keep-source"]), re && (Oe.showLine || Oe.line) && (!(e.rowKey || Ye.useKey) || !ve) && Mr("vxe.error.reqProp", ["row-config.useKey | show-overflow"]), re && !Oe.transform && e.stripe && Mr("vxe.error.noTree", ["stripe"]), e.showFooter && !(e.footerMethod || e.footerData) && Mr("vxe.error.reqProp", ["footer-data | footer-method"]);
109257
109248
  const { exportConfig: Fe, importConfig: Qe } = e, yt = Ut.value, We = rr.value;
@@ -109269,7 +109260,7 @@ const XH = H({
109269
109260
  startIndex: 0,
109270
109261
  endIndex: 0,
109271
109262
  visibleSize: 0,
109272
- adaptive: xe.adaptive !== !1
109263
+ adaptive: Se.adaptive !== !1
109273
109264
  }), Object.assign(he, {
109274
109265
  startIndex: 0,
109275
109266
  endIndex: 0,
@@ -109287,7 +109278,7 @@ const XH = H({
109287
109278
  M0 && M0.disconnect(), d.closeFilter(), oe.closeMenu && oe.closeMenu(), f.preventEvent(null, "beforeUnmount", { $table: oe });
109288
109279
  }), Ni(() => {
109289
109280
  Nn.off(oe, "paste"), Nn.off(oe, "copy"), Nn.off(oe, "cut"), Nn.off(oe, "mousedown"), Nn.off(oe, "blur"), Nn.off(oe, "mousewheel"), Nn.off(oe, "keydown"), Nn.off(oe, "resize"), Nn.off(oe, "contextmenu"), f.preventEvent(null, "unmounted", { $table: oe });
109290
- }), process.env.NODE_ENV === "development" && Se(() => {
109281
+ }), process.env.NODE_ENV === "development" && xe(() => {
109291
109282
  e.loading && !o && !r.loading && Zt("vxe.error.reqComp", ["vxe-loading"]), (e.showOverflow === !0 || e.showOverflow === "tooltip" || e.showHeaderOverflow === !0 || e.showHeaderOverflow === "tooltip" || e.showFooterOverflow === !0 || e.showFooterOverflow === "tooltip" || e.tooltipConfig || e.editRules) && (i || Zt("vxe.error.reqComp", ["vxe-tooltip"]));
109292
109283
  }), br("$xeColgroup", null), br("$xeTable", oe), oe.renderVN = aie, oe;
109293
109284
  },
@@ -109368,7 +109359,7 @@ USt.add("tableFilterModule", {
109368
109359
  }), b.options.forEach((k) => {
109369
109360
  const { _checked: O, checked: F } = k;
109370
109361
  k._checked = F, !F && O !== F && M && M({ option: k, column: g, $table: e });
109371
- }), this.checkFilterOptions(), b.visible = !0, _.filter = !0, Se(() => {
109362
+ }), this.checkFilterOptions(), b.visible = !0, _.filter = !0, xe(() => {
109372
109363
  const k = a.value, O = o.value, F = k ? k.$el : null, L = O.$el;
109373
109364
  if (!L)
109374
109365
  return;
@@ -109455,7 +109446,7 @@ USt.add("tableFilterModule", {
109455
109446
  }
109456
109447
  });
109457
109448
  }
109458
- return Se();
109449
+ return xe();
109459
109450
  },
109460
109451
  /**
109461
109452
  * 修改筛选条件列表
@@ -109464,7 +109455,7 @@ USt.add("tableFilterModule", {
109464
109455
  */
109465
109456
  setFilter(v, g, m) {
109466
109457
  const _ = Da(e, v);
109467
- return _ && _.filters && (_.filters = coe(g || []), m) ? e.handleColumnConfirmFilter(_, new Event("click")) : Se();
109458
+ return _ && _.filters && (_.filters = coe(g || []), m) ? e.handleColumnConfirmFilter(_, new Event("click")) : xe();
109468
109459
  },
109469
109460
  /**
109470
109461
  * 清空指定列的筛选条件
@@ -109482,13 +109473,13 @@ USt.add("tableFilterModule", {
109482
109473
  column: null,
109483
109474
  multiple: !1,
109484
109475
  visible: !1
109485
- }), _.remote ? Se() : e.updateData();
109476
+ }), _.remote ? xe() : e.updateData();
109486
109477
  },
109487
109478
  saveFilterPanel() {
109488
- return u(null), Se();
109479
+ return u(null), xe();
109489
109480
  },
109490
109481
  resetFilterPanel() {
109491
- return f(null), Se();
109482
+ return f(null), xe();
109492
109483
  },
109493
109484
  getCheckedFilters() {
109494
109485
  const { tableFullColumn: v } = n, g = [];
@@ -109500,7 +109491,7 @@ USt.add("tableFilterModule", {
109500
109491
  }), g;
109501
109492
  },
109502
109493
  updateFilterOptionStatus(v, g) {
109503
- return v._checked = g, v.checked = g, Se();
109494
+ return v._checked = g, v.checked = g, xe();
109504
109495
  }
109505
109496
  }), p);
109506
109497
  },
@@ -109534,7 +109525,7 @@ YSt.add("tableMenuModule", {
109534
109525
  top: `${k}px`,
109535
109526
  left: `${O}px`
109536
109527
  }
109537
- }), Se(() => {
109528
+ }), xe(() => {
109538
109529
  const V = s.value.getRefMaps().refElem.value, U = V.clientHeight, j = V.clientWidth, { boundingTop: Z, boundingLeft: q } = gw(V), ne = Z + U - A, le = q + j - M;
109539
109530
  ne > -10 && (m.style.top = `${Math.max(E + 2, k - U - 2)}px`), le > -10 && (m.style.left = `${Math.max(T + 2, O - j - 2)}px`);
109540
109531
  });
@@ -109563,7 +109554,7 @@ YSt.add("tableMenuModule", {
109563
109554
  selected: null,
109564
109555
  selectChild: null,
109565
109556
  showChild: !1
109566
- }), Se();
109557
+ }), xe();
109567
109558
  }
109568
109559
  }, f = {
109569
109560
  /**
@@ -109636,7 +109627,7 @@ YSt.add("tableMenuModule", {
109636
109627
  },
109637
109628
  ctxMenuMouseoverEvent(h, v, g) {
109638
109629
  const m = h.currentTarget, { ctxMenuStore: _ } = n;
109639
- h.preventDefault(), h.stopPropagation(), _.selected = v, _.selectChild = g, g || (_.showChild = Vv(v), _.showChild && Se(() => {
109630
+ h.preventDefault(), h.stopPropagation(), _.selected = v, _.selectChild = g, g || (_.showChild = Vv(v), _.showChild && xe(() => {
109640
109631
  const b = m.nextElementSibling;
109641
109632
  if (b) {
109642
109633
  const { boundingTop: w, boundingLeft: C, visibleHeight: x, visibleWidth: S } = gw(m), E = w + m.offsetHeight, T = C + m.offsetWidth;
@@ -109763,7 +109754,7 @@ QSt.add("tableEditModule", {
109763
109754
  return U.forEach((Z) => {
109764
109755
  const q = wt(e, Z);
109765
109756
  j[q] = Z;
109766
- }), e.cacheRowMap(), e.updateScrollYStatus(), e.handleTableData(S && P), S && P || e.updateAfterDataIndex(), e.updateFooter(), e.checkSelectionStatus(), r.scrollYLoad && e.updateScrollYSpace(), Se().then(() => (e.updateCellAreas(), e.recalculate())).then(() => ({
109757
+ }), e.cacheRowMap(), e.updateScrollYStatus(), e.handleTableData(S && P), S && P || e.updateAfterDataIndex(), e.updateFooter(), e.checkSelectionStatus(), r.scrollYLoad && e.updateScrollYSpace(), xe().then(() => (e.updateCellAreas(), e.recalculate())).then(() => ({
109767
109758
  row: U.length ? U[U.length - 1] : null,
109768
109759
  rows: U
109769
109760
  }));
@@ -109774,7 +109765,7 @@ QSt.add("tableEditModule", {
109774
109765
  const { mouseConfig: x } = t, { editStore: S } = r, { actived: E, focused: T } = S, { row: A, column: M } = E, k = u.value, O = o.value;
109775
109766
  if (A || M) {
109776
109767
  if (C && wt(e, C) !== wt(e, A))
109777
- return Se();
109768
+ return xe();
109778
109769
  v(), E.args = null, E.row = null, E.column = null, e.updateFooter(), e.dispatchEvent("edit-closed", {
109779
109770
  row: A,
109780
109771
  rowIndex: e.getRowIndex(A),
@@ -109784,10 +109775,10 @@ QSt.add("tableEditModule", {
109784
109775
  $columnIndex: e.getVMColumnIndex(M)
109785
109776
  }, w || null);
109786
109777
  }
109787
- return Se(() => {
109778
+ return xe(() => {
109788
109779
  if (x && O.area && e.handleRecalculateCellAreas)
109789
109780
  return e.handleRecalculateCellAreas();
109790
- }), k.autoClear && (k.msgMode !== "full" || XSt().cellVaildMode === "obsolete") && e.clearValidate ? e.clearValidate() : (T.row = null, T.column = null, Se());
109781
+ }), k.autoClear && (k.msgMode !== "full" || XSt().cellVaildMode === "obsolete") && e.clearValidate ? e.clearValidate() : (T.row = null, T.column = null, xe());
109791
109782
  };
109792
109783
  return c = {
109793
109784
  /**
@@ -109866,7 +109857,7 @@ QSt.add("tableEditModule", {
109866
109857
  }), W.row && e.findRowIndexOf(w, W.row) > -1 && c.clearEdit(), w.forEach((q) => {
109867
109858
  const ne = wt(e, q);
109868
109859
  V[ne] && delete V[ne], U[ne] && delete U[ne];
109869
- }), S.insertMaps = V, r.pendingRowMaps = U, e.updateFooter(), e.cacheRowMap(), e.handleTableData(C && F), C && F || e.updateAfterDataIndex(), e.checkSelectionStatus(), r.scrollYLoad && e.updateScrollYSpace(), Se().then(() => (e.updateCellAreas(), e.recalculate())).then(() => ({ row: Z.length ? Z[Z.length - 1] : null, rows: Z }));
109860
+ }), S.insertMaps = V, r.pendingRowMaps = U, e.updateFooter(), e.cacheRowMap(), e.handleTableData(C && F), C && F || e.updateAfterDataIndex(), e.checkSelectionStatus(), r.scrollYLoad && e.updateScrollYSpace(), xe().then(() => (e.updateCellAreas(), e.recalculate())).then(() => ({ row: Z.length ? Z[Z.length - 1] : null, rows: Z }));
109870
109861
  },
109871
109862
  /**
109872
109863
  * 删除复选框选中的数据
@@ -109955,7 +109946,7 @@ QSt.add("tableEditModule", {
109955
109946
  */
109956
109947
  clearSelected() {
109957
109948
  const { editStore: w } = r, { selected: C } = w;
109958
- return C.row = null, C.column = null, h(), Se();
109949
+ return C.row = null, C.column = null, h(), xe();
109959
109950
  },
109960
109951
  isActiveByRow(w) {
109961
109952
  return process.env.NODE_ENV === "development" && Mr("vxe.error.delFunc", ["isActiveByRow", "isEditByRow"]), this.isEditByRow(w);
@@ -109996,8 +109987,8 @@ QSt.add("tableEditModule", {
109996
109987
  columnIndex: e.getColumnIndex(S),
109997
109988
  cell: E,
109998
109989
  $table: e
109999
- }), n._lastCallTime = Date.now()), Se();
110000
- }) : Se();
109990
+ }), n._lastCallTime = Date.now()), xe();
109991
+ }) : xe();
110001
109992
  },
110002
109993
  /**
110003
109994
  * 只对 trigger=dblclick 有效,选中单元格
@@ -110017,7 +110008,7 @@ QSt.add("tableEditModule", {
110017
110008
  e.handleSelected(M, {});
110018
110009
  }
110019
110010
  }
110020
- return Se();
110011
+ return xe();
110021
110012
  }
110022
110013
  }, d = {
110023
110014
  /**
@@ -110031,7 +110022,7 @@ QSt.add("tableEditModule", {
110031
110022
  if (!$ || $(Object.assign(Object.assign({}, w), { $table: e, $grid: e.xegrid }))) {
110032
110023
  S && (c.clearSelected(), e.clearCellAreas && (e.clearCellAreas(), e.clearCopyCellArea())), e.closeTooltip(), k.column && b(C), V = "edit-activated", L.renderHeight = W.offsetHeight, k.args = w, k.row = F, k.column = L, M === "row" ? T.forEach((j) => f(F, j)) : f(F, L);
110033
110024
  const U = A.afterEditMethod;
110034
- Se(() => {
110025
+ xe(() => {
110035
110026
  d.handleFocus(w, C), U && U(Object.assign(Object.assign({}, w), { $table: e, $grid: e.xegrid }));
110036
110027
  });
110037
110028
  }
@@ -110062,7 +110053,7 @@ QSt.add("tableEditModule", {
110062
110053
  }
110063
110054
  O.column = null, O.row = null, e.focus();
110064
110055
  }
110065
- return Se();
110056
+ return xe();
110066
110057
  },
110067
110058
  /**
110068
110059
  * @deprecated
@@ -110100,7 +110091,7 @@ QSt.add("tableEditModule", {
110100
110091
  */
110101
110092
  handleSelected(w, C) {
110102
110093
  const { mouseConfig: x } = t, { editStore: S } = r, E = o.value, T = i.value, { actived: A, selected: M } = S, { row: k, column: O } = w, F = x && E.selected;
110103
- return F && (M.row !== k || M.column !== O) && (A.row !== k || T.mode === "cell" && A.column !== O) && (b(C), c.clearSelected(), e.clearCellAreas && (e.clearCellAreas(), e.clearCopyCellArea()), M.args = w, M.row = k, M.column = O, F && d.addCellSelectedClass(), e.focus(), C && e.dispatchEvent("cell-selected", w, C)), Se();
110094
+ return F && (M.row !== k || M.column !== O) && (A.row !== k || T.mode === "cell" && A.column !== O) && (b(C), c.clearSelected(), e.clearCellAreas && (e.clearCellAreas(), e.clearCopyCellArea()), M.args = w, M.row = k, M.column = O, F && d.addCellSelectedClass(), e.focus(), C && e.dispatchEvent("cell-selected", w, C)), xe();
110104
110095
  },
110105
110096
  addCellSelectedClass() {
110106
110097
  const { editStore: w } = r, { selected: C } = w, { row: x, column: S } = C;
@@ -110697,7 +110688,7 @@ n3t.add("tableExportModule", {
110697
110688
  options: Be,
110698
110689
  $table: e,
110699
110690
  $grid: p
110700
- }) : me.sheetName = `${Ct}`), tt.some((rt) => rt.value === Mt) || (me.mode = tt[0].value), He.some((rt) => rt.value === St) || (me.type = He[0].value), ne.export = !0, Se();
110691
+ }) : me.sheetName = `${Ct}`), tt.some((rt) => rt.value === Mt) || (me.mode = tt[0].value), He.some((rt) => rt.value === St) || (me.type = He[0].value), ne.export = !0, xe();
110701
110692
  }, W = () => st.modal ? st.modal.close("VXE_EXPORT_MODAL") : Promise.resolve(), $ = {
110702
110693
  /**
110703
110694
  * 导出文件,支持 csv/html/xml/txt
@@ -111133,14 +111124,14 @@ y3t.add("tableValidatorModule", {
111133
111124
  };
111134
111125
  return C ? X.eachTree(A, F, { children: E }) : A.forEach(F), Promise.all(M).then(() => {
111135
111126
  const L = Object.keys(b);
111136
- return r.validErrorMaps = f(k), Se().then(() => {
111127
+ return r.validErrorMaps = f(k), xe().then(() => {
111137
111128
  if (L.length)
111138
111129
  return Promise.reject(b[L[0]][0]);
111139
111130
  m && m();
111140
111131
  });
111141
111132
  }).catch((L) => new Promise((P, W) => {
111142
111133
  const $ = () => {
111143
- Se(() => {
111134
+ xe(() => {
111144
111135
  m ? (m(b), P()) : g3t().validToReject === "obsolete" ? W(b) : P(b);
111145
111136
  });
111146
111137
  }, V = () => {
@@ -111155,7 +111146,7 @@ y3t.add("tableValidatorModule", {
111155
111146
  }));
111156
111147
  } else
111157
111148
  r.validErrorMaps = {};
111158
- return Se().then(() => {
111149
+ return xe().then(() => {
111159
111150
  m && m();
111160
111151
  });
111161
111152
  };
@@ -111177,20 +111168,20 @@ y3t.add("tableValidatorModule", {
111177
111168
  */
111178
111169
  fullValidateField(v, g) {
111179
111170
  const m = (X.isArray(g) ? g : g ? [g] : []).map((_) => Da(e, _));
111180
- return m.length ? p(v, m, null, !0) : Se();
111171
+ return m.length ? p(v, m, null, !0) : xe();
111181
111172
  },
111182
111173
  /**
111183
111174
  * 快速校验单元格,如果存在记录不通过的记录,则返回不再继续校验(异步校验除外)
111184
111175
  */
111185
111176
  validateField(v, g) {
111186
111177
  const m = (X.isArray(g) ? g : g ? [g] : []).map((_) => Da(e, _));
111187
- return m.length ? p(v, m, null) : Se();
111178
+ return m.length ? p(v, m, null) : xe();
111188
111179
  },
111189
111180
  clearValidate(v, g) {
111190
111181
  const { validErrorMaps: m } = r, _ = a.value, b = o.value, w = X.isArray(v) ? v : v ? [v] : [], C = (X.isArray(g) ? g : g ? [g] : []).map((S) => Da(e, S));
111191
111182
  let x = {};
111192
111183
  if (_ && _.reactData.visible && _.close(), b.msgMode === "single")
111193
- return r.validErrorMaps = {}, Se();
111184
+ return r.validErrorMaps = {}, xe();
111194
111185
  if (w.length && C.length)
111195
111186
  x = Object.assign({}, m), w.forEach((S) => {
111196
111187
  C.forEach((E) => {
@@ -111209,7 +111200,7 @@ y3t.add("tableValidatorModule", {
111209
111200
  S.indexOf(T.split(":")[1]) > -1 && (x[T] = E);
111210
111201
  });
111211
111202
  }
111212
- return r.validErrorMaps = x, Se();
111203
+ return r.validErrorMaps = x, xe();
111213
111204
  }
111214
111205
  };
111215
111206
  const h = (v, g) => {
@@ -111328,7 +111319,7 @@ y3t.add("tableValidatorModule", {
111328
111319
  rule: w,
111329
111320
  content: A
111330
111321
  }
111331
- }), e.dispatchEvent("valid-error", v, null), T && T && (E.message === "tooltip" || E.message === "default" && !g && m.length < 2) ? T.open(S, A) : Se();
111322
+ }), e.dispatchEvent("valid-error", v, null), T && T && (E.message === "tooltip" || E.message === "default" && !g && m.length < 2) ? T.open(S, A) : xe();
111332
111323
  }
111333
111324
  }, Object.assign(Object.assign({}, l), u);
111334
111325
  },
@@ -111345,7 +111336,7 @@ st.hooks.add("tableCustomModule", {
111345
111336
  _ && (b = _.clientHeight - 28), m.maxHeight = Math.max(88, b);
111346
111337
  }, s = () => {
111347
111338
  const { initStore: m, customStore: _ } = t;
111348
- return _.visible = !0, m.custom = !0, l(), h(), i(), Se().then(() => i());
111339
+ return _.visible = !0, m.custom = !0, l(), h(), i(), xe().then(() => i());
111349
111340
  }, l = () => {
111350
111341
  const { customStore: m } = t, { collectColumn: _ } = r;
111351
111342
  if (m.visible) {
@@ -111357,7 +111348,7 @@ st.hooks.add("tableCustomModule", {
111357
111348
  }
111358
111349
  }, u = () => {
111359
111350
  const { customStore: m } = t, _ = n.value;
111360
- return m.visible && (m.visible = !1, _.immediate || e.handleCustom()), Se();
111351
+ return m.visible && (m.visible = !1, _.immediate || e.handleCustom()), xe();
111361
111352
  }, c = () => {
111362
111353
  const { customColumnList: m } = t, _ = n.value, { allowVisible: b, allowSort: w, allowFixed: C, allowResizable: x } = _;
111363
111354
  return X.eachTree(m, (S, E, T, A, M) => {
@@ -111379,14 +111370,14 @@ st.hooks.add("tableCustomModule", {
111379
111370
  return X.eachTree(m, (M) => {
111380
111371
  const k = M.getKey(), O = !!C[k], F = w[k] || "";
111381
111372
  S && (M.renderVisible = O, M.visible = O), T && (M.renderFixed = F, M.fixed = F), E && (M.renderSortNumber = b[k] || 0), A && (M.renderResizeWidth = M.renderWidth);
111382
- }, { children: "children" }), Se();
111373
+ }, { children: "children" }), xe();
111383
111374
  }, f = (m) => {
111384
111375
  const { customStore: _ } = t, { customColumnList: b } = t, w = n.value, { checkMethod: C, visibleMethod: x } = w, S = !!m;
111385
111376
  return w.immediate ? (X.eachTree(b, (E) => {
111386
111377
  x && !x({ column: E }) || C && !C({ column: E }) || (E.visible = S, E.renderVisible = S, E.halfVisible = !1);
111387
111378
  }), _.isAll = S, t.isCustomStatus = !0, e.handleCustom(), e.saveCustomStore("update:visible")) : (X.eachTree(b, (E) => {
111388
111379
  x && !x({ column: E }) || C && !C({ column: E }) || (E.renderVisible = S, E.halfVisible = !1);
111389
- }), _.isAll = S), e.checkCustomStatus(), Se();
111380
+ }), _.isAll = S), e.checkCustomStatus(), xe();
111390
111381
  }, p = {
111391
111382
  openCustom: s,
111392
111383
  closeCustom: u,
@@ -112339,7 +112330,7 @@ const { getConfig: nl, getIcon: ud, getI18n: mv, renderer: hW, commands: vW, cre
112339
112330
  ])
112340
112331
  ]);
112341
112332
  };
112342
- return d.renderVN = ue, Se(() => {
112333
+ return d.renderVN = ue, xe(() => {
112343
112334
  const { refresh: ce } = e, pe = h.value, me = pe.queryMethod || pe.query;
112344
112335
  ce && !p && !me && Mr("vxe.error.notFunc", ["queryMethod"]);
112345
112336
  const ge = b.value;
@@ -112458,7 +112449,7 @@ const { getConfig: ic, getI18n: yv, commands: L3t, hooks: P3t, useFns: N3t, crea
112458
112449
  getComputeMaps: () => U
112459
112450
  }, Z = () => {
112460
112451
  const fe = k.value;
112461
- e.toolbarConfig && Vr(fe) && Se(() => {
112452
+ e.toolbarConfig && Vr(fe) && xe(() => {
112462
112453
  const te = f.value, Ae = h.value;
112463
112454
  te && Ae && te.connect(Ae);
112464
112455
  });
@@ -112518,10 +112509,10 @@ const { getConfig: ic, getI18n: yv, commands: L3t, hooks: P3t, useFns: N3t, crea
112518
112509
  rt.dispatchEvent("form-submit-invalid", fe, fe.$event);
112519
112510
  }, be = (fe) => {
112520
112511
  const { $event: te } = fe;
112521
- Se(() => x.recalculate(!0)), rt.dispatchEvent("form-toggle-collapse", fe, te), rt.dispatchEvent("form-collapse", fe, te);
112512
+ xe(() => x.recalculate(!0)), rt.dispatchEvent("form-toggle-collapse", fe, te), rt.dispatchEvent("form-collapse", fe, te);
112522
112513
  }, Ve = (fe) => {
112523
112514
  const { isZMax: te } = c;
112524
- return (fe ? !te : te) && (c.isZMax = !te, c.tZindex < roe() && (c.tZindex = toe())), Se().then(() => x.recalculate(!0)).then(() => c.isZMax);
112515
+ return (fe ? !te : te) && (c.isZMax = !te, c.tZindex < roe() && (c.tZindex = toe())), xe().then(() => x.recalculate(!0)).then(() => c.isZMax);
112525
112516
  }, Ne = (fe, te) => {
112526
112517
  const Ae = fe[te];
112527
112518
  if (Ae)
@@ -112705,7 +112696,7 @@ const { getConfig: ic, getI18n: yv, commands: L3t, hooks: P3t, useFns: N3t, crea
112705
112696
  }
112706
112697
  }), c.formData = At;
112707
112698
  }
112708
- Ae || (c.proxyInited = !0, je.autoLoad !== !1 && Se().then(() => rt.commitProxy("_init")).then((At) => {
112699
+ Ae || (c.proxyInited = !0, je.autoLoad !== !1 && xe().then(() => rt.commitProxy("_init")).then((At) => {
112709
112700
  rt.dispatchEvent("proxy-query", Object.assign(Object.assign({}, At), { isInited: !0 }), new Event("init"));
112710
112701
  }));
112711
112702
  }
@@ -112845,7 +112836,7 @@ const { getConfig: ic, getI18n: yv, commands: L3t, hooks: P3t, useFns: N3t, crea
112845
112836
  }
112846
112837
  }
112847
112838
  }
112848
- return Se();
112839
+ return xe();
112849
112840
  },
112850
112841
  zoom() {
112851
112842
  return c.isZMax ? rt.revert() : rt.maximize();
@@ -112907,7 +112898,7 @@ const { getConfig: ic, getI18n: yv, commands: L3t, hooks: P3t, useFns: N3t, crea
112907
112898
  Ae.slots && X.each(Ae.slots, (je) => {
112908
112899
  X.isFunction(je) || n[je] || Zt("vxe.error.notSlot", [je]);
112909
112900
  });
112910
- }), te ? te.loadColumn(fe) : Se();
112901
+ }), te ? te.loadColumn(fe) : xe();
112911
112902
  }, rt.reloadColumn = (fe) => (x.clearAll(), rt.loadColumn(fe)));
112912
112903
  const Ft = {
112913
112904
  extendTableMethods: C,
@@ -112948,7 +112939,7 @@ const { getConfig: ic, getI18n: yv, commands: L3t, hooks: P3t, useFns: N3t, crea
112948
112939
  }), ke(() => e.columns, () => {
112949
112940
  De.value++;
112950
112941
  }), ke(De, () => {
112951
- Se(() => j.loadColumn(e.columns || []));
112942
+ xe(() => j.loadColumn(e.columns || []));
112952
112943
  }), ke(() => e.toolbarConfig, () => {
112953
112944
  Z();
112954
112945
  }), ke($, () => {
@@ -112962,9 +112953,9 @@ const { getConfig: ic, getI18n: yv, commands: L3t, hooks: P3t, useFns: N3t, crea
112962
112953
  Ae && X.isObject(Ae) && Object.assign(j, Ae);
112963
112954
  }
112964
112955
  }), ne(), Yt(() => {
112965
- process.env.NODE_ENV === "development" && Se(() => {
112956
+ process.env.NODE_ENV === "development" && xe(() => {
112966
112957
  e.formConfig && (i || Zt("vxe.error.reqComp", ["vxe-form"])), e.pagerConfig && (s || Zt("vxe.error.reqComp", ["vxe-pager"]));
112967
- }), Se(() => {
112958
+ }), xe(() => {
112968
112959
  const { columns: fe } = e;
112969
112960
  fe && fe.length && j.loadColumn(fe), Z(), Ct();
112970
112961
  }), K8.on(j, "keydown", Mt);
@@ -113754,7 +113745,7 @@ const W3t = { class: "g-datatable" }, G3t = H({
113754
113745
  {
113755
113746
  deep: !0
113756
113747
  }
113757
- ), Se(async () => {
113748
+ ), xe(async () => {
113758
113749
  s.value = or(n.dbOptions.data), s.value.on("load", (u) => {
113759
113750
  l(u);
113760
113751
  });
@@ -113891,7 +113882,7 @@ const W3t = { class: "g-datatable" }, G3t = H({
113891
113882
  {
113892
113883
  deep: !0
113893
113884
  }
113894
- ), Se(async () => {
113885
+ ), xe(async () => {
113895
113886
  w.value = or(a.dbOptions.data), w.value.on("load", (S) => {
113896
113887
  C(S);
113897
113888
  });
@@ -114115,14 +114106,14 @@ const W3t = { class: "g-datatable" }, G3t = H({
114115
114106
  ), ke(
114116
114107
  () => r["gui-theme"],
114117
114108
  async (C) => {
114118
- p.value = null, Se(async () => {
114109
+ p.value = null, xe(async () => {
114119
114110
  s++, p.value = or(a.dbOptions.data), w(p.value.data), p.value.on("load", (x) => {
114120
114111
  w(x);
114121
114112
  });
114122
114113
  });
114123
114114
  },
114124
114115
  { deep: !0 }
114125
- ), Se(async () => {
114116
+ ), xe(async () => {
114126
114117
  p.value = or(a.dbOptions.data), p.value.on("load", (C) => {
114127
114118
  w(C);
114128
114119
  });
@@ -114429,14 +114420,14 @@ const W3t = { class: "g-datatable" }, G3t = H({
114429
114420
  ), ke(
114430
114421
  () => n["gui-theme"],
114431
114422
  async (E) => {
114432
- b.value = null, Se(async () => {
114423
+ b.value = null, xe(async () => {
114433
114424
  l++, b.value = or(s.dbOptions.data), C(b.value.data), b.value.on("load", (T) => {
114434
114425
  C(T);
114435
114426
  });
114436
114427
  });
114437
114428
  },
114438
114429
  { deep: !0 }
114439
- ), Se(async () => {
114430
+ ), xe(async () => {
114440
114431
  b.value = or(s.dbOptions.data), b.value.on("load", (E) => {
114441
114432
  C(E);
114442
114433
  });
@@ -114522,7 +114513,7 @@ const W3t = { class: "g-datatable" }, G3t = H({
114522
114513
  {
114523
114514
  deep: !0
114524
114515
  }
114525
- ), Se(async () => {
114516
+ ), xe(async () => {
114526
114517
  c.value = or(n.dbOptions.data), c.value.on("load", (h) => {
114527
114518
  p(h);
114528
114519
  });
@@ -114958,7 +114949,7 @@ const W3t = { class: "g-datatable" }, G3t = H({
114958
114949
  };
114959
114950
  let m = z(null);
114960
114951
  const _ = (w) => {
114961
- Se(() => {
114952
+ xe(() => {
114962
114953
  if (!u.value) return;
114963
114954
  const C = u.value.myChart;
114964
114955
  w ? (m.value = w, c.value = j8(
@@ -115022,14 +115013,14 @@ const W3t = { class: "g-datatable" }, G3t = H({
115022
115013
  ), ke(
115023
115014
  () => n["gui-theme"],
115024
115015
  async (w) => {
115025
- h.value = null, Se(async () => {
115016
+ h.value = null, xe(async () => {
115026
115017
  i++, h.value = or(o.dbOptions.data), g(h.value.data), h.value.on("load", (C) => {
115027
115018
  g(C);
115028
115019
  });
115029
115020
  });
115030
115021
  },
115031
115022
  { deep: !0 }
115032
- ), Se(async () => {
115023
+ ), xe(async () => {
115033
115024
  h.value = or(o.dbOptions.data), h.value.on("load", (w) => {
115034
115025
  g(w);
115035
115026
  });
@@ -115154,12 +115145,12 @@ const W3t = { class: "g-datatable" }, G3t = H({
115154
115145
  {
115155
115146
  deep: !0
115156
115147
  }
115157
- ), Se(async () => {
115148
+ ), xe(async () => {
115158
115149
  a.value = or(t.dbOptions.data), a.value.on("load", (k) => {
115159
115150
  A(k);
115160
115151
  });
115161
115152
  }), Yt(() => {
115162
- Se(() => {
115153
+ xe(() => {
115163
115154
  b(t.dateType);
115164
115155
  });
115165
115156
  }), (k, O) => {