hs-admin-ui 16.9.2 → 16.9.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (26) hide show
  1. package/dist/{bcVisual.vue_vue_type_style_index_0_scoped_cae31cec_lang-ByEz_9_E.js → bcVisual.vue_vue_type_style_index_0_scoped_cae31cec_lang-CQcvD_dZ.js} +30185 -29228
  2. package/dist/{components-IEmDaz88.js → components-DsVuYHOj.js} +695 -695
  3. package/dist/element-plus-ui.mjs +10 -10
  4. package/dist/h5.mjs +39 -39
  5. package/dist/index-CIXY2Jmv.js +31435 -0
  6. package/dist/index-Daf_CLzJ.js +2848 -0
  7. package/dist/{index-Dp6xNYD5.js → index-Dz4wai8P.js} +13 -13
  8. package/dist/index.mjs +6634 -7088
  9. package/dist/style.css +1 -1
  10. package/dist/types/element-plus.d.ts +1204 -338
  11. package/dist/types/src/components/business/bcDivider/bcDivider.vue.d.ts +1 -1
  12. package/dist/types/src/components/business/bcFace/bcFace.vue.d.ts +1 -1
  13. package/dist/types/src/components/business/bcForm/baseForm.vue.d.ts +1 -184
  14. package/dist/types/src/components/business/bcForm/useGuide.d.ts +3 -551
  15. package/dist/types/src/components/business/bcTable/components/query/drag.vue.d.ts +2 -184
  16. package/dist/types/src/components/business/bcTable/components/query/query.vue.d.ts +2 -186
  17. package/dist/types/src/components/business/bcTable/utils/parseTable.d.ts +3 -3
  18. package/dist/types/src/components/business/bcTable/utils/useBcTable.d.ts +76 -64
  19. package/dist/types/src/components/business/bcTabs/bcTabs.vue.d.ts +1 -1
  20. package/dist/types/src/components/business/bcUpload/upload.vue.d.ts +2 -2
  21. package/dist/types/src/utils/number.d.ts +1 -1
  22. package/dist/types/src/utils/showPopup/showPopup.vue.d.ts +1 -1
  23. package/dist/vxe-table-ui.mjs +8 -8
  24. package/package.json +1 -1
  25. package/dist/index-CEphpvut.js +0 -3095
  26. package/dist/index-D1L5ekWB.js +0 -31584
@@ -1,9 +1,9 @@
1
- import { bw as ge, ed as i, ee as qi } from "./bcVisual.vue_vue_type_style_index_0_scoped_cae31cec_lang-ByEz_9_E.js";
1
+ import { bw as ge, eE as i, eF as qi } from "./bcVisual.vue_vue_type_style_index_0_scoped_cae31cec_lang-CQcvD_dZ.js";
2
2
  import { watch as Dt, reactive as wl, nextTick as fe, h as g, defineComponent as Ko, ref as je, inject as Lo, createCommentVNode as lt, onMounted as Jl, onUnmounted as en, provide as Ql, TransitionGroup as Bn, computed as Pe, Teleport as Xi, onActivated as ic, onDeactivated as ac, onBeforeUnmount as cc, resolveComponent as dc } from "vue";
3
3
  function vt(e) {
4
4
  return e && e.enabled !== !1;
5
5
  }
6
- function Ts(e) {
6
+ function Fs(e) {
7
7
  return e == null || e === "";
8
8
  }
9
9
  function Ki(e) {
@@ -27,14 +27,14 @@ function yl(e, l) {
27
27
  return "";
28
28
  }
29
29
  function wo(e, l) {
30
- return "" + (Ts(e) ? l ? ge.getConfig().emptyCell : "" : e);
30
+ return "" + (Fs(e) ? l ? ge.getConfig().emptyCell : "" : e);
31
31
  }
32
32
  function El(e) {
33
33
  return e === "" || i.eqNull(e);
34
34
  }
35
- const Fs = "4.13.18";
36
- ge.version = Fs;
37
- ge.tableVersion = Fs;
35
+ const Ts = "4.13.18";
36
+ ge.version = Ts;
37
+ ge.tableVersion = Ts;
38
38
  ge.setConfig({
39
39
  emptyCell: " ",
40
40
  table: {
@@ -344,7 +344,7 @@ ge.setIcon({
344
344
  TOOLBAR_TOOLS_FIXED_RIGHT: At + "fixed-right",
345
345
  TOOLBAR_TOOLS_FIXED_RIGHT_ACTIVE: At + "fixed-right-fill"
346
346
  });
347
- const uc = ge.setTheme, fc = ge.getTheme, pc = ge.setConfig, gc = ge.getConfig, hc = ge.setIcon, mc = ge.getIcon, bc = ge.setLanguage, xc = ge.setI18n, vc = ge.getI18n, Cc = ge.globalEvents, wc = ge.globalResize, Ec = ge.renderer, yc = ge.validators, Rc = ge.menus, Sc = ge.formats, Oc = ge.commands, Dc = ge.interceptor, Mc = ge.clipboard, Tc = ge.log, Fc = ge.hooks, Ic = ge.use, Zi = (e) => ge.setConfig(e);
347
+ const uc = ge.setTheme, fc = ge.getTheme, pc = ge.setConfig, gc = ge.getConfig, hc = ge.setIcon, mc = ge.getIcon, bc = ge.setLanguage, xc = ge.setI18n, vc = ge.getI18n, Cc = ge.globalEvents, wc = ge.globalResize, Ec = ge.renderer, yc = ge.validators, Rc = ge.menus, Sc = ge.formats, Oc = ge.commands, Dc = ge.interceptor, Mc = ge.clipboard, Fc = ge.log, Tc = ge.hooks, Ic = ge.use, Zi = (e) => ge.setConfig(e);
348
348
  ge.setup = Zi;
349
349
  const Qi = (e) => ge.setConfig(e);
350
350
  ge.config = Qi;
@@ -541,7 +541,7 @@ function na(e) {
541
541
  function Ds(e) {
542
542
  return e && /^\d+(px)?$/.test(e);
543
543
  }
544
- function Fn(e) {
544
+ function Tn(e) {
545
545
  return e && /^\d+%$/.test(e);
546
546
  }
547
547
  function Pl(e, l) {
@@ -743,13 +743,13 @@ function fi(e) {
743
743
  const { elemStore: se } = x, { showHeaderOverflow: f } = E, { showHeaderOverflow: d, minWidth: j } = c, z = i.isUndefined(d) || i.isNull(d) ? f : d, $ = z === "title" || (z === !0 || z === "tooltip") || z === "ellipsis", W = i.floor((i.toNumber(getComputedStyle(p).fontSize) || 14) * 1.6), ee = Rr(p) + Rr(Sl(p, ""));
744
744
  let J = W + ee;
745
745
  if ($) {
746
- const pe = Rr(Sl(p, ">.vxe-cell--drag-handle")), te = Rr(Sl(p, ">.vxe-cell--checkbox")), w = En(Sl(p, ">.vxe-cell--required-icon")), R = En(Sl(p, ">.vxe-cell--edit-icon")), F = En(Sl(p, ">.vxe-cell-title-prefix-icon")), oe = En(Sl(p, ">.vxe-cell-title-suffix-icon")), q = En(Sl(p, ">.vxe-cell--sort")), O = En(Sl(p, ">.vxe-cell--filter"));
747
- J += pe + te + w + R + F + oe + O + q;
746
+ const pe = Rr(Sl(p, ">.vxe-cell--drag-handle")), te = Rr(Sl(p, ">.vxe-cell--checkbox")), w = En(Sl(p, ">.vxe-cell--required-icon")), R = En(Sl(p, ">.vxe-cell--edit-icon")), T = En(Sl(p, ">.vxe-cell-title-prefix-icon")), oe = En(Sl(p, ">.vxe-cell-title-suffix-icon")), q = En(Sl(p, ">.vxe-cell--sort")), O = En(Sl(p, ">.vxe-cell--filter"));
747
+ J += pe + te + w + R + T + oe + O + q;
748
748
  }
749
749
  if (j) {
750
750
  const pe = ot(se["main-body-scroll"]);
751
751
  if (pe) {
752
- if (Fn(j)) {
752
+ if (Tn(j)) {
753
753
  const w = (pe.clientWidth - 1) / 100;
754
754
  return Math.max(J, Math.floor(i.toInteger(j) * w));
755
755
  } else if (Ds(j))
@@ -827,9 +827,9 @@ function Kc(e) {
827
827
  function gi(e, l) {
828
828
  const c = e.props, p = e.reactData, E = e.internalData, { computeLeftFixedWidth: x, computeRightFixedWidth: S, computeRowOpts: A, computeCellOpts: P, computeDefaultRowHeight: se } = e.getComputeMaps(), { showOverflow: f } = c, { scrollYLoad: d } = p, { elemStore: j, afterFullData: z, fullAllDataRowIdData: H, isResizeCellHeight: V } = E, Y = A.value, $ = P.value, W = se.value, ee = x.value, J = S.value, pe = ot(j["main-body-scroll"]), te = Be(e, l);
829
829
  if (pe) {
830
- const w = pe.clientHeight, R = pe.scrollTop, F = pe.querySelector(`[rowid="${te}"]`);
831
- if (F) {
832
- const oe = F.offsetParent, q = F.offsetTop + (oe ? oe.offsetTop : 0), O = F.clientHeight;
830
+ const w = pe.clientHeight, R = pe.scrollTop, T = pe.querySelector(`[rowid="${te}"]`);
831
+ if (T) {
832
+ const oe = T.offsetParent, q = T.offsetTop + (oe ? oe.offsetTop : 0), O = T.clientHeight;
833
833
  if (q < R || q > R + w)
834
834
  return e.scrollTo(null, q);
835
835
  if (q + O >= w + R)
@@ -908,7 +908,7 @@ function ha(e) {
908
908
  }
909
909
  return "change";
910
910
  }
911
- function Fo(e) {
911
+ function To(e) {
912
912
  return e == null ? [] : i.isArray(e) ? e : [e];
913
913
  }
914
914
  const { getI18n: Un, getIcon: eo, renderer: tr, formats: mi, renderEmptyElement: Yl } = ge;
@@ -983,7 +983,7 @@ function kl(e, l) {
983
983
  }), (H || d) && (V.onMouseleave = (Y) => {
984
984
  x.isDragResize || (H || d) && c.handleTargetLeaveEvent(Y);
985
985
  }), [
986
- P === "html" && i.isString(l) ? g("span", Object.assign({ class: "vxe-cell--title", innerHTML: l }, V)) : g("span", Object.assign({ class: "vxe-cell--title" }, V), Fo(l))
986
+ P === "html" && i.isString(l) ? g("span", Object.assign({ class: "vxe-cell--title", innerHTML: l }, V)) : g("span", Object.assign({ class: "vxe-cell--title" }, V), To(l))
987
987
  ];
988
988
  }
989
989
  function Qc(e) {
@@ -1018,7 +1018,7 @@ function Qc(e) {
1018
1018
  if (H) {
1019
1019
  const V = H.renderTableFooter || H.renderFooter;
1020
1020
  if (V)
1021
- return Fo(V(f, z));
1021
+ return To(V(f, z));
1022
1022
  }
1023
1023
  }
1024
1024
  return [
@@ -1091,7 +1091,7 @@ const ft = {
1091
1091
  if (P) {
1092
1092
  const se = P.renderTableHeader || P.renderHeader;
1093
1093
  if (se)
1094
- return kl(e, Fo(se(S, e)));
1094
+ return kl(e, To(se(S, e)));
1095
1095
  }
1096
1096
  }
1097
1097
  return kl(e, wo(c.getTitle(), 1));
@@ -1108,17 +1108,17 @@ const ft = {
1108
1108
  if (V) {
1109
1109
  const Y = V.renderTableCell || V.renderCell, $ = V.renderTableDefault || V.renderDefault, W = P ? Y : $;
1110
1110
  if (W)
1111
- return Oo(e, Fo(W(d, Object.assign({ $type: P ? "edit" : "cell" }, e))));
1111
+ return Oo(e, To(W(d, Object.assign({ $type: P ? "edit" : "cell" }, e))));
1112
1112
  }
1113
1113
  }
1114
1114
  let z = "";
1115
1115
  if (S && f && c.isAggregate) {
1116
1116
  const { fullColumnFieldData: V } = x, { computeRowGroupOpts: Y } = l.getComputeMaps(), $ = Y.value, { showTotal: W, totalMethod: ee, contentMethod: J, mapChildrenField: pe } = $, te = c.groupField;
1117
1117
  z = c.groupContent;
1118
- const w = pe ? c[pe] || [] : [], R = w.length, F = V[te] || {}, oe = {
1118
+ const w = pe ? c[pe] || [] : [], R = w.length, T = V[te] || {}, oe = {
1119
1119
  $table: l,
1120
1120
  groupField: te,
1121
- groupColumn: F ? F.column : null,
1121
+ groupColumn: T ? T.column : null,
1122
1122
  column: p,
1123
1123
  groupValue: z,
1124
1124
  children: w,
@@ -1179,14 +1179,14 @@ const ft = {
1179
1179
  const { $table: c, isHidden: p } = e, E = c.reactData, x = c.internalData, { row: S, column: A, level: P } = e, { slots: se } = A, f = se ? se.icon : null;
1180
1180
  if (f)
1181
1181
  return c.callSlot(f, e);
1182
- const { computeTreeOpts: d } = c.getComputeMaps(), { treeExpandedFlag: j } = E, { fullAllDataRowIdData: z, treeExpandedMaps: H, treeExpandLazyLoadedMaps: V } = x, Y = d.value, { padding: $, indent: W, lazy: ee, trigger: J, iconLoaded: pe, showIcon: te, iconOpen: w, iconClose: R } = Y, F = Y.children || Y.childrenField, oe = Y.hasChild || Y.hasChildField, q = S[F], O = q && q.length;
1182
+ const { computeTreeOpts: d } = c.getComputeMaps(), { treeExpandedFlag: j } = E, { fullAllDataRowIdData: z, treeExpandedMaps: H, treeExpandLazyLoadedMaps: V } = x, Y = d.value, { padding: $, indent: W, lazy: ee, trigger: J, iconLoaded: pe, showIcon: te, iconOpen: w, iconClose: R } = Y, T = Y.children || Y.childrenField, oe = Y.hasChild || Y.hasChildField, q = S[T], O = q && q.length;
1183
1183
  let X = !1, ue = !1, ke = !1, Re = !1;
1184
1184
  const Se = {};
1185
1185
  if (!p) {
1186
1186
  const ve = Be(c, S);
1187
1187
  if (ue = !!j && !!H[ve], ee) {
1188
- const Fe = z[ve];
1189
- ke = !!V[ve], X = S[oe], Re = !!Fe.treeLoaded;
1188
+ const Te = z[ve];
1189
+ ke = !!V[ve], X = S[oe], Re = !!Te.treeLoaded;
1190
1190
  }
1191
1191
  }
1192
1192
  return (!J || J === "default") && (Se.onClick = (ve) => {
@@ -1309,10 +1309,10 @@ const ft = {
1309
1309
  let pe = !1, te = !1;
1310
1310
  const w = !$ || $({ $table: l, row: c });
1311
1311
  let R = !!Y;
1312
- const F = {};
1312
+ const T = {};
1313
1313
  if (!E) {
1314
1314
  const O = Be(l, c);
1315
- te = !!se && !!d[O], F.onClick = (X) => {
1315
+ te = !!se && !!d[O], T.onClick = (X) => {
1316
1316
  !R && w && l.triggerCheckRowEvent(X, e, !te);
1317
1317
  }, Y && (R = !Y({ $table: l, row: c })), (P || f) && (pe = !!j[O]);
1318
1318
  }
@@ -1330,7 +1330,7 @@ const ft = {
1330
1330
  "is--disabled": R,
1331
1331
  "is--indeterminate": pe,
1332
1332
  "is--hidden": !w
1333
- }] }, F), q)
1333
+ }] }, T), q)
1334
1334
  ]);
1335
1335
  },
1336
1336
  renderDeepSelectionCell(e) {
@@ -1340,15 +1340,15 @@ const ft = {
1340
1340
  const { $table: l, row: c, column: p, isHidden: E } = e, x = l.props, S = l.reactData, A = l.internalData, { treeConfig: P } = x, { updateCheckboxFlag: se, isRowGroupStatus: f } = S, { treeIndeterminateRowMaps: d } = A, { computeCheckboxOpts: j } = l.getComputeMaps(), z = j.value, { labelField: H, checkField: V, checkMethod: Y, visibleMethod: $ } = z, W = z.indeterminateField || z.halfField, { slots: ee } = p, J = ee ? ee.default : null, pe = ee ? ee.checkbox : null;
1341
1341
  let te = !1, w = !1;
1342
1342
  const R = !$ || $({ $table: l, row: c });
1343
- let F = !!Y;
1343
+ let T = !!Y;
1344
1344
  const oe = {};
1345
1345
  if (!E) {
1346
1346
  const X = Be(l, c);
1347
1347
  w = !!se && i.get(c, V), oe.onClick = (ue) => {
1348
- !F && R && l.triggerCheckRowEvent(ue, e, !w);
1349
- }, Y && (F = !Y({ $table: l, row: c })), (P || f) && (te = !!d[X]);
1348
+ !T && R && l.triggerCheckRowEvent(ue, e, !w);
1349
+ }, Y && (T = !Y({ $table: l, row: c })), (P || f) && (te = !!d[X]);
1350
1350
  }
1351
- const q = Object.assign(Object.assign({}, e), { checked: w, disabled: F, visible: R, indeterminate: te });
1351
+ const q = Object.assign(Object.assign({}, e), { checked: w, disabled: T, visible: R, indeterminate: te });
1352
1352
  if (pe)
1353
1353
  return Oo(e, l.callSlot(pe, q));
1354
1354
  const O = [];
@@ -1359,7 +1359,7 @@ const ft = {
1359
1359
  }, J ? l.callSlot(J, q) : i.get(c, H)))), Oo(e, [
1360
1360
  g("span", Object.assign({ class: ["vxe-cell--checkbox", {
1361
1361
  "is--checked": w,
1362
- "is--disabled": F,
1362
+ "is--disabled": T,
1363
1363
  "is--indeterminate": W && !w ? c[W] : te,
1364
1364
  "is--hidden": !R
1365
1365
  }] }, oe), O)
@@ -1412,7 +1412,7 @@ const ft = {
1412
1412
  if (S) {
1413
1413
  const A = S.renderTableExpand || S.renderExpand;
1414
1414
  if (A)
1415
- return Fo(A(E, e));
1415
+ return To(A(E, e));
1416
1416
  }
1417
1417
  }
1418
1418
  return [];
@@ -1533,7 +1533,7 @@ const ft = {
1533
1533
  },
1534
1534
  runRenderer(e, l) {
1535
1535
  const { $table: c, column: p } = e, { slots: E, editRender: x, formatter: S } = p, A = E ? E.default : null, P = E ? E.edit : null, se = tr.get(x.name), f = se ? se.renderTableEdit || se.renderEdit : null, d = Object.assign({ $type: "", isEdit: l }, e);
1536
- return l ? (d.$type = "edit", P ? c.callSlot(P, d) : f ? Fo(f(x, d)) : []) : A ? Oo(e, c.callSlot(A, d)) : S ? Oo(e, [
1536
+ return l ? (d.$type = "edit", P ? c.callSlot(P, d) : f ? To(f(x, d)) : []) : A ? Oo(e, c.callSlot(A, d)) : S ? Oo(e, [
1537
1537
  g("span", {
1538
1538
  class: "vxe-cell--label"
1539
1539
  }, xi(d))
@@ -1728,16 +1728,16 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
1728
1728
  }
1729
1729
  },
1730
1730
  setup(e) {
1731
- const l = Lo("$xeTable", {}), { xID: c, props: p, context: E, reactData: x, internalData: S } = l, { computeEditOpts: A, computeMouseOpts: P, computeCellOffsetWidth: se, computeAreaOpts: f, computeDefaultRowHeight: d, computeEmptyOpts: j, computeTooltipOpts: z, computeRadioOpts: H, computeExpandOpts: V, computeTreeOpts: Y, computeCheckboxOpts: $, computeCellOpts: W, computeValidOpts: ee, computeRowOpts: J, computeColumnOpts: pe, computeRowDragOpts: te, computeColumnDragOpts: w, computeResizableOpts: R, computeVirtualXOpts: F, computeVirtualYOpts: oe } = l.getComputeMaps(), q = je(), O = je(), X = je(), ue = je(), ke = je(), Re = je(), Se = je(), ve = je(), Fe = () => {
1731
+ const l = Lo("$xeTable", {}), { xID: c, props: p, context: E, reactData: x, internalData: S } = l, { computeEditOpts: A, computeMouseOpts: P, computeCellOffsetWidth: se, computeAreaOpts: f, computeDefaultRowHeight: d, computeEmptyOpts: j, computeTooltipOpts: z, computeRadioOpts: H, computeExpandOpts: V, computeTreeOpts: Y, computeCheckboxOpts: $, computeCellOpts: W, computeValidOpts: ee, computeRowOpts: J, computeColumnOpts: pe, computeRowDragOpts: te, computeColumnDragOpts: w, computeResizableOpts: R, computeVirtualXOpts: T, computeVirtualYOpts: oe } = l.getComputeMaps(), q = je(), O = je(), X = je(), ue = je(), ke = je(), Re = je(), Se = je(), ve = je(), Te = () => {
1732
1732
  const { delayHover: le } = p, { lastScrollTime: U, isDragResize: ne } = x;
1733
1733
  return !!(ne || U && Date.now() < U + le);
1734
1734
  }, we = (le, U, ne) => {
1735
1735
  const { row: be, column: re } = U, { afterFullData: ye } = S, { treeConfig: ie } = p, ce = Y.value, { slots: Me, treeNode: me } = re, { fullAllDataRowIdData: Z } = S;
1736
1736
  if (Me && Me.line)
1737
1737
  return l.callSlot(Me.line, U);
1738
- const Te = Z[le];
1738
+ const Fe = Z[le];
1739
1739
  let Ce = 0, Ue = null;
1740
- return Te && (Ce = Te.level, Ue = Te.items[Te.treeIndex - 1]), ie && me && (ce.showLine || ce.line) ? [
1740
+ return Fe && (Ce = Fe.level, Ue = Fe.items[Fe.treeIndex - 1]), ie && me && (ce.showLine || ce.line) ? [
1741
1741
  g("div", {
1742
1742
  key: "tl",
1743
1743
  class: "vxe-tree--line-wrapper"
@@ -1752,10 +1752,10 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
1752
1752
  })
1753
1753
  ])
1754
1754
  ] : [];
1755
- }, B = (le, U, ne, be, re, ye, ie, ce, Me, me, Z, Te, Ce) => {
1756
- const Ue = l.xeGrid, { columnKey: Ge, resizable: Xe, showOverflow: Le, border: nt, height: Rt, treeConfig: Ct, cellClassName: ct, cellStyle: st, align: xt, spanMethod: Ze, mouseConfig: ze, editConfig: Ye, editRules: pt, tooltipConfig: Ae, padding: Oe } = p, { tableData: He, dragRow: mt, overflowX: Je, currentColumn: Q, scrollXLoad: he, scrollYLoad: K, mergeBodyFlag: De, calcCellHeightFlag: _e, resizeHeightFlag: tt, resizeWidthFlag: rt, editStore: wt, isAllOverflow: ht, validErrorMaps: $t } = x, { fullAllDataRowIdData: Mt, fullColumnIdData: We, mergeBodyCellMaps: zt, visibleColumn: jt, afterFullData: Zt, mergeBodyList: Jt, scrollXStore: Qt, scrollYStore: fo } = S, St = W.value, to = ee.value, et = $.value, Pt = A.value, ho = z.value, Tt = R.value, po = F.value, Lt = oe.value, { isAllColumnDrag: ao, isAllRowDrag: Eo } = Tt, Gt = J.value, oo = te.value, Io = d.value, yo = _e ? St.height || Gt.height : 0, { disabledMethod: co, isCrossDrag: Do, isPeerDrag: yt } = oo, it = pe.value, mo = P.value, cl = f.value, dl = se.value, { selectCellToRow: Mo } = cl, { type: tn, cellRender: ir, editRender: on, align: ar, showOverflow: cr, className: Kr, treeNode: Yr, rowResize: Ur, padding: dr, verticalAlign: ur, slots: r } = me, { verticalAlign: fr } = St, { actived: ln } = wt, nn = Mt[U] || {}, Dl = me.id, rn = We[Dl] || {}, sn = on || ir, Yo = sn ? vi.get(sn.name) : null, an = Yo ? Yo.tableCellClassName || Yo.cellClassName : null, $n = Yo ? Yo.tableCellStyle || Yo.cellStyle : "", Nl = ho.showAll, Pn = rn.index, Ml = rn._index, pr = vt(on), Zr = tt ? nn.resizeHeight : 0;
1755
+ }, B = (le, U, ne, be, re, ye, ie, ce, Me, me, Z, Fe, Ce) => {
1756
+ const Ue = l.xeGrid, { columnKey: Ge, resizable: Xe, showOverflow: Le, border: nt, height: Rt, treeConfig: Ct, cellClassName: ct, cellStyle: st, align: xt, spanMethod: Ze, mouseConfig: ze, editConfig: Ye, editRules: pt, tooltipConfig: Ae, padding: Oe } = p, { tableData: He, dragRow: mt, overflowX: Je, currentColumn: Q, scrollXLoad: he, scrollYLoad: K, mergeBodyFlag: De, calcCellHeightFlag: _e, resizeHeightFlag: tt, resizeWidthFlag: rt, editStore: wt, isAllOverflow: ht, validErrorMaps: $t } = x, { fullAllDataRowIdData: Mt, fullColumnIdData: We, mergeBodyCellMaps: zt, visibleColumn: jt, afterFullData: Zt, mergeBodyList: Jt, scrollXStore: Qt, scrollYStore: fo } = S, St = W.value, to = ee.value, et = $.value, Pt = A.value, ho = z.value, Ft = R.value, po = T.value, Lt = oe.value, { isAllColumnDrag: ao, isAllRowDrag: Eo } = Ft, Gt = J.value, oo = te.value, Io = d.value, yo = _e ? St.height || Gt.height : 0, { disabledMethod: co, isCrossDrag: Do, isPeerDrag: yt } = oo, it = pe.value, mo = P.value, cl = f.value, dl = se.value, { selectCellToRow: Mo } = cl, { type: tn, cellRender: ir, editRender: on, align: ar, showOverflow: cr, className: Kr, treeNode: Yr, rowResize: Ur, padding: dr, verticalAlign: ur, slots: r } = me, { verticalAlign: fr } = St, { actived: ln } = wt, nn = Mt[U] || {}, Dl = me.id, rn = We[Dl] || {}, sn = on || ir, Yo = sn ? vi.get(sn.name) : null, an = Yo ? Yo.tableCellClassName || Yo.cellClassName : null, $n = Yo ? Yo.tableCellStyle || Yo.cellStyle : "", Nl = ho.showAll, Pn = rn.index, Ml = rn._index, pr = vt(on), Zr = tt ? nn.resizeHeight : 0;
1757
1757
  let Uo = ne ? me.fixed !== ne : me.fixed && Je;
1758
- const Nn = i.eqNull(dr) ? Oe === null ? St.padding : Oe : dr, Tl = i.eqNull(cr) ? Le : cr, cn = Tl === "ellipsis", Fl = Tl === "title", ul = Tl === !0 || Tl === "tooltip", Vl = ht || Fl || ul || cn, gr = i.isBoolean(me.resizable) ? me.resizable : it.resizable || Xe, dn = !!yo, un = Zr > 0;
1758
+ const Nn = i.eqNull(dr) ? Oe === null ? St.padding : Oe : dr, Fl = i.eqNull(cr) ? Le : cr, cn = Fl === "ellipsis", Tl = Fl === "title", ul = Fl === !0 || Fl === "tooltip", Vl = ht || Tl || ul || cn, gr = i.isBoolean(me.resizable) ? me.resizable : it.resizable || Xe, dn = !!yo, un = Zr > 0;
1759
1759
  let Vn;
1760
1760
  const Zo = {}, fn = ar || (Yo ? Yo.tableCellAlign : "") || xt, jn = i.eqNull(ur) ? fr : ur, _o = $t[`${U}:${Dl}`], ll = pt && to.showMessage && (to.message === "default" ? Rt || He.length > 1 : to.message === "inline"), fl = { colid: Dl }, Nt = {
1761
1761
  $table: l,
@@ -1780,45 +1780,45 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
1780
1780
  items: Ce
1781
1781
  };
1782
1782
  let nl = !1, pn = !1;
1783
- Gt.drag && (nl = oo.trigger === "row" || me.dragSort && oo.trigger === "cell"), nl && (pn = !!(co && co(Nt))), (Fl || ul || Nl || Ae) && (Zo.onMouseenter = (Ft) => {
1784
- Fe() || (Fl ? Is(Ft.currentTarget, me) : (ul || Nl) && l.triggerBodyTooltipEvent(Ft, Nt), l.dispatchEvent("cell-mouseenter", Object.assign({ cell: Ft.currentTarget }, Nt), Ft));
1785
- }), (ul || Nl || Ae) && (Zo.onMouseleave = (Ft) => {
1786
- Fe() || ((ul || Nl) && l.handleTargetLeaveEvent(Ft), l.dispatchEvent("cell-mouseleave", Object.assign({ cell: Ft.currentTarget }, Nt), Ft));
1787
- }), (nl || et.range || ze) && (Zo.onMousedown = (Ft) => {
1788
- l.triggerCellMousedownEvent(Ft, Nt);
1789
- }), nl && (Zo.onMouseup = l.triggerCellMouseupEvent), Zo.onClick = (Ft) => {
1790
- l.triggerCellClickEvent(Ft, Nt);
1791
- }, Zo.onDblclick = (Ft) => {
1792
- l.triggerCellDblclickEvent(Ft, Nt);
1783
+ Gt.drag && (nl = oo.trigger === "row" || me.dragSort && oo.trigger === "cell"), nl && (pn = !!(co && co(Nt))), (Tl || ul || Nl || Ae) && (Zo.onMouseenter = (Tt) => {
1784
+ Te() || (Tl ? Is(Tt.currentTarget, me) : (ul || Nl) && l.triggerBodyTooltipEvent(Tt, Nt), l.dispatchEvent("cell-mouseenter", Object.assign({ cell: Tt.currentTarget }, Nt), Tt));
1785
+ }), (ul || Nl || Ae) && (Zo.onMouseleave = (Tt) => {
1786
+ Te() || ((ul || Nl) && l.handleTargetLeaveEvent(Tt), l.dispatchEvent("cell-mouseleave", Object.assign({ cell: Tt.currentTarget }, Nt), Tt));
1787
+ }), (nl || et.range || ze) && (Zo.onMousedown = (Tt) => {
1788
+ l.triggerCellMousedownEvent(Tt, Nt);
1789
+ }), nl && (Zo.onMouseup = l.triggerCellMouseupEvent), Zo.onClick = (Tt) => {
1790
+ l.triggerCellClickEvent(Tt, Nt);
1791
+ }, Zo.onDblclick = (Tt) => {
1792
+ l.triggerCellDblclickEvent(Tt, Nt);
1793
1793
  };
1794
1794
  let gn = !1;
1795
1795
  if (De && Jt.length) {
1796
- const Ft = zt[`${Me}:${Ml}`];
1797
- if (Ft) {
1798
- const { rowspan: ko, colspan: Jo } = Ft;
1796
+ const Tt = zt[`${Me}:${Ml}`];
1797
+ if (Tt) {
1798
+ const { rowspan: ko, colspan: Jo } = Tt;
1799
1799
  if (!ko || !Jo)
1800
1800
  return null;
1801
1801
  ko > 1 && (gn = !0, fl.rowspan = ko), Jo > 1 && (gn = !0, fl.colspan = Jo);
1802
1802
  }
1803
1803
  } else if (Ze) {
1804
- const { rowspan: Ft = 1, colspan: ko = 1 } = Ze(Nt) || {};
1805
- if (!Ft || !ko)
1804
+ const { rowspan: Tt = 1, colspan: ko = 1 } = Ze(Nt) || {};
1805
+ if (!Tt || !ko)
1806
1806
  return null;
1807
- Ft > 1 && (fl.rowspan = Ft), ko > 1 && (fl.colspan = ko);
1807
+ Tt > 1 && (fl.rowspan = Tt), ko > 1 && (fl.colspan = ko);
1808
1808
  }
1809
1809
  Uo && gn && (fl.colspan > 1 || fl.rowspan > 1) && (Uo = !1), !Uo && Ye && (on || ir) && (Pt.showStatus || Pt.showUpdateStatus) && (Vn = l.isUpdateByRow(ye, me.field));
1810
- const Qr = K && !Vl, zn = nn.resizeHeight || St.height || Gt.height || nn.height || Io, Jr = Z === Te.length - 1, es = !me.resizeWidth && (me.minWidth === "auto" || me.width === "auto");
1810
+ const Qr = K && !Vl, zn = nn.resizeHeight || St.height || Gt.height || nn.height || Io, Jr = Z === Fe.length - 1, es = !me.resizeWidth && (me.minWidth === "auto" || me.width === "auto");
1811
1811
  let Qo = !1;
1812
1812
  gn || (!mt || Be(l, mt) !== U) && (K && !Ct && !Lt.immediate && (Me < fo.visibleStartIndex - fo.preloadSize || Me > fo.visibleEndIndex + fo.preloadSize) || he && !po.immediate && !me.fixed && (Ml < Qt.visibleStartIndex - Qt.preloadSize || Ml > Qt.visibleEndIndex + Qt.preloadSize)) && (Qo = !0);
1813
1813
  const rl = {};
1814
1814
  if (Vl && rt) {
1815
- let Ft = fl.colspan || 0;
1816
- if (Ft > 1)
1817
- for (let ko = 1; ko < Ft; ko++) {
1815
+ let Tt = fl.colspan || 0;
1816
+ if (Tt > 1)
1817
+ for (let ko = 1; ko < Tt; ko++) {
1818
1818
  const Jo = jt[Pn + ko];
1819
- Jo && (Ft += Jo.renderWidth);
1819
+ Jo && (Tt += Jo.renderWidth);
1820
1820
  }
1821
- rl.width = `${me.renderWidth - dl * Ft}px`;
1821
+ rl.width = `${me.renderWidth - dl * Tt}px`;
1822
1822
  }
1823
1823
  K || Vl || dn || un ? rl.height = `${zn}px` : rl.minHeight = `${zn}px`;
1824
1824
  const Po = [];
@@ -1826,7 +1826,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
1826
1826
  Po.push(g("div", {
1827
1827
  key: "tc",
1828
1828
  class: ["vxe-cell", {
1829
- "c--title": Fl,
1829
+ "c--title": Tl,
1830
1830
  "c--tooltip": ul,
1831
1831
  "c--ellipsis": cn
1832
1832
  }],
@@ -1835,12 +1835,12 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
1835
1835
  else if (Po.push(...we(U, Nt, zn), g("div", {
1836
1836
  key: "tc",
1837
1837
  class: ["vxe-cell", {
1838
- "c--title": Fl,
1838
+ "c--title": Tl,
1839
1839
  "c--tooltip": ul,
1840
1840
  "c--ellipsis": cn
1841
1841
  }],
1842
1842
  style: rl,
1843
- title: Fl ? l.getCellLabel(ye, me) : null
1843
+ title: Tl ? l.getCellLabel(ye, me) : null
1844
1844
  }, Qo ? [] : [
1845
1845
  g("div", {
1846
1846
  colid: Dl,
@@ -1848,12 +1848,12 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
1848
1848
  class: "vxe-cell--wrapper"
1849
1849
  }, me.renderCell(Nt))
1850
1850
  ])), ll && _o) {
1851
- const Ft = _o.rule, ko = r ? r.valid : null, Jo = Object.assign(Object.assign(Object.assign({}, Nt), _o), { rule: _o });
1851
+ const Tt = _o.rule, ko = r ? r.valid : null, Jo = Object.assign(Object.assign(Object.assign({}, Nt), _o), { rule: _o });
1852
1852
  Po.push(g("div", {
1853
1853
  key: "tcv",
1854
1854
  class: ["vxe-cell--valid-error-tip", Ll(to.className, Jo)],
1855
- style: Ft && Ft.maxWidth ? {
1856
- width: `${Ft.maxWidth}px`
1855
+ style: Tt && Tt.maxWidth ? {
1856
+ width: `${Tt.maxWidth}px`
1857
1857
  } : null
1858
1858
  }, [
1859
1859
  g("div", {
@@ -1873,13 +1873,13 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
1873
1873
  class: ["vxe-cell--col-resizable", {
1874
1874
  "is--line": !nt || nt === "none"
1875
1875
  }],
1876
- onMousedown: (Ft) => l.handleColResizeMousedownEvent(Ft, ne, Nt),
1877
- onDblclick: (Ft) => l.handleColResizeDblclickEvent(Ft, Nt)
1876
+ onMousedown: (Tt) => l.handleColResizeMousedownEvent(Tt, ne, Nt),
1877
+ onDblclick: (Tt) => l.handleColResizeDblclickEvent(Tt, Nt)
1878
1878
  })), (Ur || Eo) && Gt.resizable && Po.push(g("div", {
1879
1879
  key: "tcr",
1880
1880
  class: "vxe-cell--row-resizable",
1881
- onMousedown: (Ft) => l.handleRowResizeMousedownEvent(Ft, Nt),
1882
- onDblclick: (Ft) => l.handleRowResizeDblclickEvent(Ft, Nt)
1881
+ onMousedown: (Tt) => l.handleRowResizeMousedownEvent(Tt, Nt),
1882
+ onDblclick: (Tt) => l.handleRowResizeDblclickEvent(Tt, Nt)
1883
1883
  })), g("td", Object.assign(Object.assign(Object.assign({ class: [
1884
1884
  "vxe-body--column",
1885
1885
  Dl,
@@ -1911,19 +1911,19 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
1911
1911
  Ll(ct, Nt)
1912
1912
  ], key: Ge || he || K || it.useKey || Gt.useKey || it.drag ? Dl : Z }, fl), { style: Object.assign({}, i.isFunction($n) ? $n(Nt) : $n, i.isFunction(st) ? st(Nt) : st) }), Zo), be && Uo ? [] : Po);
1913
1913
  }, de = (le, U, ne, be) => {
1914
- const re = l.xeGrid, { stripe: ye, rowKey: ie, highlightHoverRow: ce, rowClassName: Me, rowStyle: me, editConfig: Z, treeConfig: Te } = p, { hasFixedColumn: Ce, treeExpandedFlag: Ue, isColLoading: Ge, scrollXLoad: Xe, scrollYLoad: Le, isAllOverflow: nt, rowExpandedFlag: Rt, expandColumn: Ct, selectRadioRow: ct, pendingRowFlag: st, isDragColMove: xt, rowExpandHeightFlag: Ze, isRowGroupStatus: ze } = x, { fullAllDataRowIdData: Ye, fullColumnIdData: pt, treeExpandedMaps: Ae, pendingRowMaps: Oe, rowExpandedMaps: He } = S, mt = $.value, Je = H.value, Q = Y.value, he = A.value, K = J.value, De = pe.value, _e = w.value, { transform: tt, seqMode: rt } = Q, wt = Q.children || Q.childrenField, ht = [], { handleGetRowId: $t } = go(l), Mt = Te || ze;
1914
+ const re = l.xeGrid, { stripe: ye, rowKey: ie, highlightHoverRow: ce, rowClassName: Me, rowStyle: me, editConfig: Z, treeConfig: Fe } = p, { hasFixedColumn: Ce, treeExpandedFlag: Ue, isColLoading: Ge, scrollXLoad: Xe, scrollYLoad: Le, isAllOverflow: nt, rowExpandedFlag: Rt, expandColumn: Ct, selectRadioRow: ct, pendingRowFlag: st, isDragColMove: xt, rowExpandHeightFlag: Ze, isRowGroupStatus: ze } = x, { fullAllDataRowIdData: Ye, fullColumnIdData: pt, treeExpandedMaps: Ae, pendingRowMaps: Oe, rowExpandedMaps: He } = S, mt = $.value, Je = H.value, Q = Y.value, he = A.value, K = J.value, De = pe.value, _e = w.value, { transform: tt, seqMode: rt } = Q, wt = Q.children || Q.childrenField, ht = [], { handleGetRowId: $t } = go(l), Mt = Fe || ze;
1915
1915
  return ne.forEach((We, zt) => {
1916
1916
  const jt = $t(We), Zt = Ye[jt] || {};
1917
1917
  let Jt = zt, Qt = 0, fo = -1, St = -1;
1918
1918
  const to = ze && We.isAggregate, et = {};
1919
1919
  (K.isHover || ce) && (et.onMouseenter = (Gt) => {
1920
- Fe() || l.triggerHoverEvent(Gt, { row: We, rowIndex: Jt });
1920
+ Te() || l.triggerHoverEvent(Gt, { row: We, rowIndex: Jt });
1921
1921
  }, et.onMouseleave = () => {
1922
- Fe() || l.clearHoverRow();
1923
- }), Zt && (Qt = Zt.level, to || Te && tt && rt === "increasing" ? fo = Zt._index + 1 : fo = Zt.seq, Jt = Zt.index, St = Zt._index);
1922
+ Te() || l.clearHoverRow();
1923
+ }), Zt && (Qt = Zt.level, to || Fe && tt && rt === "increasing" ? fo = Zt._index + 1 : fo = Zt.seq, Jt = Zt.index, St = Zt._index);
1924
1924
  const Pt = { $table: l, seq: fo, rowid: jt, fixed: le, type: Sr, level: Qt, row: We, rowIndex: Jt, $rowIndex: zt, _rowIndex: St }, ho = Ct && !!Rt && !!He[jt];
1925
- let Tt = !1, po = [], Lt = !1;
1926
- Z && (Lt = l.isInsertByRow(We)), Te && !Le && !tt && (po = We[wt], Tt = !!Ue && po && po.length > 0 && !!Ae[jt]), K.drag && !ze && (!Te || tt) && (et.onDragstart = l.handleRowDragDragstartEvent, et.onDragend = l.handleRowDragDragendEvent, et.onDragover = l.handleRowDragDragoverEvent);
1925
+ let Ft = !1, po = [], Lt = !1;
1926
+ Z && (Lt = l.isInsertByRow(We)), Fe && !Le && !tt && (po = We[wt], Ft = !!Ue && po && po.length > 0 && !!Ae[jt]), K.drag && !ze && (!Fe || tt) && (et.onDragstart = l.handleRowDragDragstartEvent, et.onDragend = l.handleRowDragDragendEvent, et.onDragover = l.handleRowDragDragoverEvent);
1927
1927
  const ao = [
1928
1928
  "vxe-body--row",
1929
1929
  Mt ? `row--level-${Qt}` : "",
@@ -1931,7 +1931,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
1931
1931
  "row--stripe": ye && (St + 1) % 2 === 0,
1932
1932
  "is--new": Lt,
1933
1933
  "is--expand-row": ho,
1934
- "is--expand-tree": Tt,
1934
+ "is--expand-tree": Ft,
1935
1935
  "row--new": Lt && (he.showStatus || he.showInsertStatus),
1936
1936
  "row--radio": Je.highlight && l.eqRow(ct, We),
1937
1937
  "row--checked": mt.highlight && l.isCheckedByCheckboxRow(We),
@@ -1940,9 +1940,9 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
1940
1940
  },
1941
1941
  Ll(Me, Pt)
1942
1942
  ], Eo = be.map((Gt, oo) => B(fo, jt, le, U, Qt, We, Jt, zt, St, Gt, oo, be, ne));
1943
- if (ht.push(!Ge && De.drag && _e.animation ? g(Bn, Object.assign({ name: `vxe-header--col-list${xt ? "" : "-disabled"}`, tag: "tr", class: ao, rowid: jt, style: me ? i.isFunction(me) ? me(Pt) : me : null, key: ie || Xe || Le || K.useKey || K.drag || De.drag || ze || Te ? jt : zt }, et), {
1943
+ if (ht.push(!Ge && De.drag && _e.animation ? g(Bn, Object.assign({ name: `vxe-header--col-list${xt ? "" : "-disabled"}`, tag: "tr", class: ao, rowid: jt, style: me ? i.isFunction(me) ? me(Pt) : me : null, key: ie || Xe || Le || K.useKey || K.drag || De.drag || ze || Fe ? jt : zt }, et), {
1944
1944
  default: () => Eo
1945
- }) : g("tr", Object.assign({ class: ao, rowid: jt, style: me ? i.isFunction(me) ? me(Pt) : me : null, key: ie || Xe || Le || K.useKey || K.drag || De.drag || ze || Te ? jt : zt }, et), Eo)), ho) {
1945
+ }) : g("tr", Object.assign({ class: ao, rowid: jt, style: me ? i.isFunction(me) ? me(Pt) : me : null, key: ie || Xe || Le || K.useKey || K.drag || De.drag || ze || Fe ? jt : zt }, et), Eo)), ho) {
1946
1946
  const Gt = V.value, { height: oo, padding: Io, mode: yo } = Gt;
1947
1947
  if (yo === "fixed")
1948
1948
  ht.push(g("tr", {
@@ -1960,7 +1960,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
1960
1960
  ]));
1961
1961
  else {
1962
1962
  const co = {};
1963
- oo && (co.height = `${oo}px`), Te && (co.paddingLeft = `${Qt * Q.indent + 30}px`);
1963
+ oo && (co.height = `${oo}px`), Fe && (co.paddingLeft = `${Qt * Q.indent + 30}px`);
1964
1964
  const { showOverflow: Do } = Ct || {}, yt = Ct.id, it = pt[yt] || {}, mo = i.isUndefined(Do) || i.isNull(Do) ? nt : Do;
1965
1965
  let cl = -1, dl = -1, Mo = -1;
1966
1966
  it && (cl = it.index, dl = it.$index, Mo = it._index);
@@ -2011,7 +2011,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
2011
2011
  ]));
2012
2012
  }
2013
2013
  }
2014
- Tt && ht.push(...de(le, U, po, be));
2014
+ Ft && ht.push(...de(le, U, po, be));
2015
2015
  }), ht;
2016
2016
  };
2017
2017
  return Jl(() => {
@@ -2023,9 +2023,9 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
2023
2023
  const { fixedType: le } = e, { elemStore: U } = S, ne = `${le || "main"}-body-`;
2024
2024
  U[`${ne}wrapper`] = null, U[`${ne}scroll`] = null, U[`${ne}table`] = null, U[`${ne}colgroup`] = null, U[`${ne}list`] = null, U[`${ne}xSpace`] = null, U[`${ne}ySpace`] = null, U[`${ne}emptyBlock`] = null;
2025
2025
  }), () => {
2026
- const { slots: le } = E, U = l.xeGrid, { fixedColumn: ne, fixedType: be, tableColumn: re } = e, { spanMethod: ye, footerSpanMethod: ie, mouseConfig: ce } = p, { isGroup: Me, tableData: me, isRowLoading: Z, isColLoading: Te, overflowX: Ce, scrollXLoad: Ue, scrollYLoad: Ge, isAllOverflow: Xe, isDragRowMove: Le, expandColumn: nt, dragRow: Rt, dragCol: Ct } = x, { visibleColumn: ct, fullAllDataRowIdData: st, fullColumnIdData: xt } = S, Ze = J.value, ze = j.value, Ye = P.value, pt = te.value, Ae = V.value;
2026
+ const { slots: le } = E, U = l.xeGrid, { fixedColumn: ne, fixedType: be, tableColumn: re } = e, { spanMethod: ye, footerSpanMethod: ie, mouseConfig: ce } = p, { isGroup: Me, tableData: me, isRowLoading: Z, isColLoading: Fe, overflowX: Ce, scrollXLoad: Ue, scrollYLoad: Ge, isAllOverflow: Xe, isDragRowMove: Le, expandColumn: nt, dragRow: Rt, dragCol: Ct } = x, { visibleColumn: ct, fullAllDataRowIdData: st, fullColumnIdData: xt } = S, Ze = J.value, ze = j.value, Ye = P.value, pt = te.value, Ae = V.value;
2027
2027
  let Oe = me, He = re, mt = !1;
2028
- if ((Ue || Ge || Xe) && (nt && Ae.mode !== "fixed" || ye || ie || (mt = !0)), !Te && (be || !Ce) && (He = ct), be && mt && (He = ne || []), Ge && Rt && Oe.length > 2) {
2028
+ if ((Ue || Ge || Xe) && (nt && Ae.mode !== "fixed" || ye || ie || (mt = !0)), !Fe && (be || !Ce) && (He = ct), be && mt && (He = ne || []), Ge && Rt && Oe.length > 2) {
2029
2029
  const K = st[Be(l, Rt)];
2030
2030
  if (K) {
2031
2031
  const De = K._index, _e = Oe[0], tt = Oe[Oe.length - 1], rt = st[Be(l, _e)], wt = st[Be(l, tt)];
@@ -2051,7 +2051,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
2051
2051
  Je = l.callSlot(Q, { $table: l, $grid: U });
2052
2052
  else {
2053
2053
  const K = ze.name ? vi.get(ze.name) : null, De = K ? K.renderTableEmpty || K.renderTableEmptyView || K.renderEmpty : null;
2054
- De ? Je = Fo(De(ze, { $table: l })) : Je = p.emptyText || nd("vxe.table.emptyText");
2054
+ De ? Je = To(De(ze, { $table: l })) : Je = p.emptyText || nd("vxe.table.emptyText");
2055
2055
  }
2056
2056
  const he = {
2057
2057
  onScroll(K) {
@@ -2095,7 +2095,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
2095
2095
  /**
2096
2096
  * 内容
2097
2097
  */
2098
- !(Z || Te) && Ze.drag && pt.animation ? g(Bn, {
2098
+ !(Z || Fe) && Ze.drag && pt.animation ? g(Bn, {
2099
2099
  ref: ke,
2100
2100
  name: `vxe-body--row-list${Le ? "" : "-disabled"}`,
2101
2101
  tag: "tbody"
@@ -2163,12 +2163,12 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
2163
2163
  },
2164
2164
  setup(e) {
2165
2165
  const l = Lo("$xeTable", {}), { xID: c, props: p, reactData: E, internalData: x } = l, { computeColumnOpts: S, computeColumnDragOpts: A, computeCellOpts: P, computeMouseOpts: se, computeHeaderCellOpts: f, computeDefaultRowHeight: d, computeVirtualXOpts: j } = l.getComputeMaps(), z = je([]), H = je(), V = je(), Y = je(), $ = je(), W = je(), ee = je(), J = je(), pe = () => {
2166
- const { isGroup: F } = E;
2167
- z.value = F ? Vc(e.tableGroupColumn) : [];
2168
- }, te = (F, oe, q, O) => {
2169
- const X = l.xeGrid, { fixedType: ue } = e, { resizable: ke, columnKey: Re, headerCellClassName: Se, headerCellStyle: ve, showHeaderOverflow: Fe, headerAlign: we, align: B, mouseConfig: de } = p, { currentColumn: ae, dragCol: le, scrollXLoad: U, scrollYLoad: ne, overflowX: be } = E, { fullColumnIdData: re, scrollXStore: ye } = x, ie = j.value, ce = S.value, Me = A.value, me = P.value, Z = d.value, Te = f.value, Ce = Pr(Te.height) || Z, { disabledMethod: Ue, isCrossDrag: Ge, isPeerDrag: Xe } = Me;
2166
+ const { isGroup: T } = E;
2167
+ z.value = T ? Vc(e.tableGroupColumn) : [];
2168
+ }, te = (T, oe, q, O) => {
2169
+ const X = l.xeGrid, { fixedType: ue } = e, { resizable: ke, columnKey: Re, headerCellClassName: Se, headerCellStyle: ve, showHeaderOverflow: Te, headerAlign: we, align: B, mouseConfig: de } = p, { currentColumn: ae, dragCol: le, scrollXLoad: U, scrollYLoad: ne, overflowX: be } = E, { fullColumnIdData: re, scrollXStore: ye } = x, ie = j.value, ce = S.value, Me = A.value, me = P.value, Z = d.value, Fe = f.value, Ce = Pr(Fe.height) || Z, { disabledMethod: Ue, isCrossDrag: Ge, isPeerDrag: Xe } = Me;
2170
2170
  return q.map((Le, nt) => {
2171
- const { type: Rt, showHeaderOverflow: Ct, headerAlign: ct, align: st, filters: xt, headerClassName: Ze, editRender: ze, cellRender: Ye } = Le, pt = Le.id, Ae = re[pt] || {}, Oe = ze || Ye, He = Oe ? rd.get(Oe.name) : null, mt = Le.children && Le.children.length, Je = ue ? Le.fixed !== ue && !mt : !!Le.fixed && be, Q = i.isBoolean(Te.padding) ? Te.padding : me.padding, he = i.eqNull(Ct) ? Fe : Ct, K = ct || (He ? He.tableHeaderCellAlign : "") || we || st || (He ? He.tableCellAlign : "") || B, De = he === "ellipsis", _e = he === "title", tt = he === !0 || he === "tooltip", rt = _e || tt || De;
2171
+ const { type: Rt, showHeaderOverflow: Ct, headerAlign: ct, align: st, filters: xt, headerClassName: Ze, editRender: ze, cellRender: Ye } = Le, pt = Le.id, Ae = re[pt] || {}, Oe = ze || Ye, He = Oe ? rd.get(Oe.name) : null, mt = Le.children && Le.children.length, Je = ue ? Le.fixed !== ue && !mt : !!Le.fixed && be, Q = i.isBoolean(Fe.padding) ? Fe.padding : me.padding, he = i.eqNull(Ct) ? Te : Ct, K = ct || (He ? He.tableHeaderCellAlign : "") || we || st || (He ? He.tableCellAlign : "") || B, De = he === "ellipsis", _e = he === "title", tt = he === !0 || he === "tooltip", rt = _e || tt || De;
2172
2172
  let wt = !1, ht = null;
2173
2173
  xt && (ht = xt[0], wt = xt.some((Pt) => Pt.checked));
2174
2174
  const $t = Ae.index, Mt = Ae._index, We = {
@@ -2196,7 +2196,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
2196
2196
  Zt && (Jt = !!(Ue && Ue(We))), (de || Zt) && (jt.onMousedown = (Pt) => l.triggerHeaderCellMousedownEvent(Pt, We)), ce.drag && (jt.onDragstart = l.handleHeaderCellDragDragstartEvent, jt.onDragend = l.handleHeaderCellDragDragendEvent, jt.onDragover = l.handleHeaderCellDragDragoverEvent, Zt && (jt.onMouseup = l.handleHeaderCellDragMouseupEvent));
2197
2197
  const Qt = nt === q.length - 1, fo = i.isBoolean(Le.resizable) ? Le.resizable : ce.resizable || ke, St = !Le.resizeWidth && (Le.minWidth === "auto" || Le.width === "auto");
2198
2198
  let to = !1;
2199
- oe && !F && (!le || le.id !== pt) && U && !Le.fixed && !ie.immediate && (Mt < ye.visibleStartIndex - ye.preloadSize || Mt > ye.visibleEndIndex + ye.preloadSize) && (to = !0);
2199
+ oe && !T && (!le || le.id !== pt) && U && !Le.fixed && !ie.immediate && (Mt < ye.visibleStartIndex - ye.preloadSize || Mt > ye.visibleEndIndex + ye.preloadSize) && (to = !0);
2200
2200
  const et = {};
2201
2201
  return rt ? et.height = `${Ce}px` : et.minHeight = `${Ce}px`, g("th", Object.assign(Object.assign(Object.assign({ class: [
2202
2202
  "vxe-header--column",
@@ -2244,9 +2244,9 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
2244
2244
  }) : xs(l)
2245
2245
  ]);
2246
2246
  });
2247
- }, w = (F, oe, q) => {
2247
+ }, w = (T, oe, q) => {
2248
2248
  const { fixedType: O } = e, { headerRowClassName: X, headerRowStyle: ue } = p, { isColLoading: ke, isDragColMove: Re } = E, Se = S.value, ve = A.value;
2249
- return q.map((Fe, we) => {
2249
+ return q.map((Te, we) => {
2250
2250
  const B = { $table: l, $rowIndex: we, fixed: O, type: wi };
2251
2251
  return !ke && Se.drag && ve.animation ? g(Bn, {
2252
2252
  key: we,
@@ -2258,7 +2258,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
2258
2258
  ],
2259
2259
  style: ue ? i.isFunction(ue) ? ue(B) : ue : null
2260
2260
  }, {
2261
- default: () => te(F, oe, Fe, we)
2261
+ default: () => te(T, oe, Te, we)
2262
2262
  }) : g("tr", {
2263
2263
  key: we,
2264
2264
  class: [
@@ -2266,12 +2266,12 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
2266
2266
  X ? i.isFunction(X) ? X(B) : X : ""
2267
2267
  ],
2268
2268
  style: ue ? i.isFunction(ue) ? ue(B) : ue : null
2269
- }, te(F, oe, Fe, we));
2269
+ }, te(T, oe, Te, we));
2270
2270
  });
2271
2271
  }, R = () => {
2272
- const { fixedType: F, fixedColumn: oe, tableColumn: q } = e, { mouseConfig: O, showHeaderOverflow: X, spanMethod: ue, footerSpanMethod: ke } = p, { isGroup: Re, isColLoading: Se, overflowX: ve, scrollXLoad: Fe, dragCol: we } = E, { visibleColumn: B, fullColumnIdData: de } = x, ae = se.value;
2272
+ const { fixedType: T, fixedColumn: oe, tableColumn: q } = e, { mouseConfig: O, showHeaderOverflow: X, spanMethod: ue, footerSpanMethod: ke } = p, { isGroup: Re, isColLoading: Se, overflowX: ve, scrollXLoad: Te, dragCol: we } = E, { visibleColumn: B, fullColumnIdData: de } = x, ae = se.value;
2273
2273
  let le = z.value, U = q, ne = !1;
2274
- if (Re ? U = B : (Fe && X && (ue || ke || (ne = !0)), (!ne || !Se && (F || !ve)) && (U = B), F && ne && (U = oe || []), le = [U]), !F && !Re && Fe && we && U.length > 2) {
2274
+ if (Re ? U = B : (Te && X && (ue || ke || (ne = !0)), (!ne || !Se && (T || !ve)) && (U = B), T && ne && (U = oe || []), le = [U]), !T && !Re && Te && we && U.length > 2) {
2275
2275
  const be = de[we.id];
2276
2276
  if (be) {
2277
2277
  const re = be._index, ye = U[0], ie = U[U.length - 1], ce = de[ye.id], Me = de[ie.id];
@@ -2283,17 +2283,17 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
2283
2283
  }
2284
2284
  return g("div", {
2285
2285
  ref: H,
2286
- class: ["vxe-table--header-wrapper", F ? `fixed-${F}--wrapper` : "body--wrapper"],
2286
+ class: ["vxe-table--header-wrapper", T ? `fixed-${T}--wrapper` : "body--wrapper"],
2287
2287
  xid: c
2288
2288
  }, [
2289
2289
  g("div", {
2290
2290
  ref: V,
2291
2291
  class: "vxe-table--header-inner-wrapper",
2292
2292
  onScroll(be) {
2293
- l.triggerHeaderScrollEvent(be, F);
2293
+ l.triggerHeaderScrollEvent(be, T);
2294
2294
  }
2295
2295
  }, [
2296
- F ? xs(l) : g("div", {
2296
+ T ? xs(l) : g("div", {
2297
2297
  ref: ee,
2298
2298
  class: "vxe-body--x-space"
2299
2299
  }),
@@ -2352,11 +2352,11 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
2352
2352
  };
2353
2353
  return Dt(() => e.tableColumn, pe), Jl(() => {
2354
2354
  fe(() => {
2355
- const { fixedType: F } = e, { internalData: oe } = l, { elemStore: q } = oe, O = `${F || "main"}-header-`;
2355
+ const { fixedType: T } = e, { internalData: oe } = l, { elemStore: q } = oe, O = `${T || "main"}-header-`;
2356
2356
  q[`${O}wrapper`] = H, q[`${O}scroll`] = V, q[`${O}table`] = Y, q[`${O}colgroup`] = $, q[`${O}list`] = W, q[`${O}xSpace`] = ee, q[`${O}repair`] = J, pe();
2357
2357
  });
2358
2358
  }), en(() => {
2359
- const { fixedType: F } = e, { internalData: oe } = l, { elemStore: q } = oe, O = `${F || "main"}-header-`;
2359
+ const { fixedType: T } = e, { internalData: oe } = l, { elemStore: q } = oe, O = `${T || "main"}-header-`;
2360
2360
  q[`${O}wrapper`] = null, q[`${O}scroll`] = null, q[`${O}table`] = null, q[`${O}colgroup`] = null, q[`${O}list`] = null, q[`${O}xSpace`] = null, q[`${O}repair`] = null;
2361
2361
  }), R;
2362
2362
  }
@@ -2381,10 +2381,10 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
2381
2381
  }
2382
2382
  },
2383
2383
  setup(e) {
2384
- const l = Lo("$xeTable", {}), { xID: c, props: p, reactData: E, internalData: x } = l, { computeTooltipOpts: S, computeColumnOpts: A, computeColumnDragOpts: P, computeCellOpts: se, computeFooterCellOpts: f, computeDefaultRowHeight: d, computeResizableOpts: j, computeVirtualXOpts: z } = l.getComputeMaps(), H = je(), V = je(), Y = je(), $ = je(), W = je(), ee = je(), J = (w, R, F, oe, q, O) => {
2385
- const X = l.xeGrid, { fixedType: ue } = e, { resizable: ke, border: Re, footerCellClassName: Se, footerCellStyle: ve, footerAlign: Fe, footerSpanMethod: we, align: B, columnKey: de, showFooterOverflow: ae } = p, { scrollXLoad: le, scrollYLoad: U, overflowX: ne, currentColumn: be } = E, { fullColumnIdData: re, mergeFooterList: ye, mergeFooterCellMaps: ie, scrollXStore: ce } = x, Me = z.value, me = S.value, Z = j.value, { isAllColumnDrag: Te } = Z, Ce = A.value, Ue = d.value, Ge = se.value, Xe = f.value, Le = Pr(Xe.height) || Ue;
2384
+ const l = Lo("$xeTable", {}), { xID: c, props: p, reactData: E, internalData: x } = l, { computeTooltipOpts: S, computeColumnOpts: A, computeColumnDragOpts: P, computeCellOpts: se, computeFooterCellOpts: f, computeDefaultRowHeight: d, computeResizableOpts: j, computeVirtualXOpts: z } = l.getComputeMaps(), H = je(), V = je(), Y = je(), $ = je(), W = je(), ee = je(), J = (w, R, T, oe, q, O) => {
2385
+ const X = l.xeGrid, { fixedType: ue } = e, { resizable: ke, border: Re, footerCellClassName: Se, footerCellStyle: ve, footerAlign: Te, footerSpanMethod: we, align: B, columnKey: de, showFooterOverflow: ae } = p, { scrollXLoad: le, scrollYLoad: U, overflowX: ne, currentColumn: be } = E, { fullColumnIdData: re, mergeFooterList: ye, mergeFooterCellMaps: ie, scrollXStore: ce } = x, Me = z.value, me = S.value, Z = j.value, { isAllColumnDrag: Fe } = Z, Ce = A.value, Ue = d.value, Ge = se.value, Xe = f.value, Le = Pr(Xe.height) || Ue;
2386
2386
  return R.map((nt, Rt) => {
2387
- const { type: Ct, showFooterOverflow: ct, footerAlign: st, align: xt, footerClassName: Ze, editRender: ze, cellRender: Ye } = nt, pt = nt.id, Ae = re[pt] || {}, Oe = ze || Ye, He = Oe ? sd.get(Oe.name) : null, mt = me.showAll, Je = nt.children && nt.children.length, Q = ue ? nt.fixed !== ue && !Je : nt.fixed && ne, he = i.isBoolean(Xe.padding) ? Xe.padding : Ge.padding, K = i.eqNull(ct) ? ae : ct, De = st || (He ? He.tableFooterCellAlign : "") || Fe || xt || (He ? He.tableCellAlign : "") || B, _e = K === "ellipsis", tt = K === "title", rt = K === !0 || K === "tooltip", wt = tt || rt || _e, ht = i.isBoolean(nt.resizable) ? nt.resizable : Ce.resizable || ke, $t = { colid: pt }, Mt = {}, We = Ae.index, zt = Ae._index, Zt = {
2387
+ const { type: Ct, showFooterOverflow: ct, footerAlign: st, align: xt, footerClassName: Ze, editRender: ze, cellRender: Ye } = nt, pt = nt.id, Ae = re[pt] || {}, Oe = ze || Ye, He = Oe ? sd.get(Oe.name) : null, mt = me.showAll, Je = nt.children && nt.children.length, Q = ue ? nt.fixed !== ue && !Je : nt.fixed && ne, he = i.isBoolean(Xe.padding) ? Xe.padding : Ge.padding, K = i.eqNull(ct) ? ae : ct, De = st || (He ? He.tableFooterCellAlign : "") || Te || xt || (He ? He.tableCellAlign : "") || B, _e = K === "ellipsis", tt = K === "title", rt = K === !0 || K === "tooltip", wt = tt || rt || _e, ht = i.isBoolean(nt.resizable) ? nt.resizable : Ce.resizable || ke, $t = { colid: pt }, Mt = {}, We = Ae.index, zt = Ae._index, Zt = {
2388
2388
  $table: l,
2389
2389
  $grid: X,
2390
2390
  row: oe,
@@ -2399,7 +2399,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
2399
2399
  items: oe,
2400
2400
  fixed: ue,
2401
2401
  type: Ri,
2402
- data: F
2402
+ data: T
2403
2403
  };
2404
2404
  (tt || rt || mt) && (Mt.onMouseenter = (et) => {
2405
2405
  tt ? Is(et.currentTarget, nt) : (rt || mt) && l.triggerFooterTooltipEvent(et, Zt);
@@ -2455,7 +2455,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
2455
2455
  /**
2456
2456
  * 列宽拖动
2457
2457
  */
2458
- !Q && ht && Te ? g("div", {
2458
+ !Q && ht && Fe ? g("div", {
2459
2459
  class: ["vxe-cell--col-resizable", {
2460
2460
  "is--line": !Re || Re === "none"
2461
2461
  }],
@@ -2465,9 +2465,9 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
2465
2465
  ]);
2466
2466
  });
2467
2467
  }, pe = (w, R) => {
2468
- const { fixedType: F, footerTableData: oe } = e, { footerRowClassName: q, footerRowStyle: O } = p, { isColLoading: X, isDragColMove: ue } = E, ke = A.value, Re = P.value;
2468
+ const { fixedType: T, footerTableData: oe } = e, { footerRowClassName: q, footerRowStyle: O } = p, { isColLoading: X, isDragColMove: ue } = E, ke = A.value, Re = P.value;
2469
2469
  return oe.map((Se, ve) => {
2470
- const Fe = ve, we = { $table: l, row: Se, _rowIndex: Fe, $rowIndex: ve, fixed: F, type: Ri };
2470
+ const Te = ve, we = { $table: l, row: Se, _rowIndex: Te, $rowIndex: ve, fixed: T, type: Ri };
2471
2471
  return !X && ke.drag && Re.animation ? g(Bn, {
2472
2472
  key: ve,
2473
2473
  name: `vxe-header--col-list${ue ? "" : "-disabled"}`,
@@ -2478,7 +2478,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
2478
2478
  ],
2479
2479
  style: O ? i.isFunction(O) ? O(we) : O : null
2480
2480
  }, {
2481
- default: () => J(w, R, oe, Se, ve, Fe)
2481
+ default: () => J(w, R, oe, Se, ve, Te)
2482
2482
  }) : g("tr", {
2483
2483
  key: ve,
2484
2484
  class: [
@@ -2486,18 +2486,18 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
2486
2486
  q ? i.isFunction(q) ? q(we) : q : ""
2487
2487
  ],
2488
2488
  style: O ? i.isFunction(O) ? O(we) : O : null
2489
- }, J(w, R, oe, Se, ve, Fe));
2489
+ }, J(w, R, oe, Se, ve, Te));
2490
2490
  });
2491
2491
  }, te = () => {
2492
- const { fixedType: w, fixedColumn: R, tableColumn: F } = e, { spanMethod: oe, footerSpanMethod: q, showFooterOverflow: O } = p, { visibleColumn: X, fullColumnIdData: ue } = x, { isGroup: ke, isColLoading: Re, overflowX: Se, scrollXLoad: ve, dragCol: Fe } = E;
2493
- let we = F, B = !1;
2494
- if (ve && O && (oe || q || (B = !0)), (!B || !Re && (w || !Se)) && (we = X), w && B && (we = R || []), !w && !ke && ve && Fe && we.length > 2) {
2495
- const de = ue[Fe.id];
2492
+ const { fixedType: w, fixedColumn: R, tableColumn: T } = e, { spanMethod: oe, footerSpanMethod: q, showFooterOverflow: O } = p, { visibleColumn: X, fullColumnIdData: ue } = x, { isGroup: ke, isColLoading: Re, overflowX: Se, scrollXLoad: ve, dragCol: Te } = E;
2493
+ let we = T, B = !1;
2494
+ if (ve && O && (oe || q || (B = !0)), (!B || !Re && (w || !Se)) && (we = X), w && B && (we = R || []), !w && !ke && ve && Te && we.length > 2) {
2495
+ const de = ue[Te.id];
2496
2496
  if (de) {
2497
2497
  const ae = de._index, le = we[0], U = we[we.length - 1], ne = ue[le.id], be = ue[U.id];
2498
2498
  if (ne && be) {
2499
2499
  const re = ne._index, ye = be._index;
2500
- ae < re ? we = [Fe].concat(we) : ae > ye && (we = we.concat([Fe]));
2500
+ ae < re ? we = [Te].concat(we) : ae > ye && (we = we.concat([Te]));
2501
2501
  }
2502
2502
  }
2503
2503
  }
@@ -2550,12 +2550,12 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
2550
2550
  };
2551
2551
  return Jl(() => {
2552
2552
  fe(() => {
2553
- const { fixedType: w } = e, { elemStore: R } = x, F = `${w || "main"}-footer-`;
2554
- R[`${F}wrapper`] = H, R[`${F}scroll`] = V, R[`${F}table`] = Y, R[`${F}colgroup`] = $, R[`${F}list`] = W, R[`${F}xSpace`] = ee;
2553
+ const { fixedType: w } = e, { elemStore: R } = x, T = `${w || "main"}-footer-`;
2554
+ R[`${T}wrapper`] = H, R[`${T}scroll`] = V, R[`${T}table`] = Y, R[`${T}colgroup`] = $, R[`${T}list`] = W, R[`${T}xSpace`] = ee;
2555
2555
  });
2556
2556
  }), en(() => {
2557
- const { fixedType: w } = e, { elemStore: R } = x, F = `${w || "main"}-footer-`;
2558
- R[`${F}wrapper`] = null, R[`${F}scroll`] = null, R[`${F}table`] = null, R[`${F}colgroup`] = null, R[`${F}list`] = null, R[`${F}xSpace`] = null;
2557
+ const { fixedType: w } = e, { elemStore: R } = x, T = `${w || "main"}-footer-`;
2558
+ R[`${T}wrapper`] = null, R[`${T}scroll`] = null, R[`${T}table`] = null, R[`${T}colgroup`] = null, R[`${T}list`] = null, R[`${T}xSpace`] = null;
2559
2559
  }), te;
2560
2560
  }
2561
2561
  }), { getConfig: io } = ge, Nr = {
@@ -2940,7 +2940,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
2940
2940
  ce.activeWrapper = !1, setTimeout(() => {
2941
2941
  !ce.activeBtn && !ce.activeWrapper && S.customCloseEvent(ie);
2942
2942
  }, 300);
2943
- }, F = ({ $event: ie }) => {
2943
+ }, T = ({ $event: ie }) => {
2944
2944
  P.isCustomStatus = !0, S.saveCustom(), S.closeCustom(), S.emitCustomEvent("confirm", ie);
2945
2945
  }, oe = ({ $event: ie }) => {
2946
2946
  S.closeCustom(), S.emitCustomEvent("close", ie);
@@ -2984,27 +2984,27 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
2984
2984
  });
2985
2985
  }, ve = () => {
2986
2986
  S.toggleCustomAllCheckbox();
2987
- }, Fe = (ie, ce, Me, me) => {
2987
+ }, Te = (ie, ce, Me, me) => {
2988
2988
  const Z = Y.value;
2989
2989
  if (!Z)
2990
2990
  return;
2991
- const Te = Z.getBoundingClientRect();
2991
+ const Fe = Z.getBoundingClientRect();
2992
2992
  if (ce) {
2993
2993
  const Ue = $.value;
2994
2994
  if (Ue)
2995
2995
  if (Me) {
2996
2996
  const Ge = ce.getBoundingClientRect();
2997
- Ue.style.display = "block", Ue.style.top = `${Math.max(1, Ge.y + Z.scrollTop - Te.y)}px`, Ue.style.height = `${Ge.height}px`, Ue.style.width = `${Ge.width}px`, Ue.setAttribute("drag-pos", me), Ue.setAttribute("drag-to-child", pe ? "y" : "n");
2997
+ Ue.style.display = "block", Ue.style.top = `${Math.max(1, Ge.y + Z.scrollTop - Fe.y)}px`, Ue.style.height = `${Ge.height}px`, Ue.style.width = `${Ge.width}px`, Ue.setAttribute("drag-pos", me), Ue.setAttribute("drag-to-child", pe ? "y" : "n");
2998
2998
  } else
2999
2999
  Ue.style.display = "";
3000
3000
  }
3001
3001
  const Ce = W.value;
3002
- Ce && (Ce.style.display = "block", Ce.style.top = `${Math.min(Z.clientHeight + Z.scrollTop - Ce.clientHeight, ie.clientY + Z.scrollTop - Te.y)}px`, Ce.style.left = `${Math.min(Z.clientWidth + Z.scrollLeft - Ce.clientWidth, ie.clientX + Z.scrollLeft - Te.x)}px`, Ce.setAttribute("drag-status", Me ? pe ? "sub" : "normal" : "disabled"));
3002
+ Ce && (Ce.style.display = "block", Ce.style.top = `${Math.min(Z.clientHeight + Z.scrollTop - Ce.clientHeight, ie.clientY + Z.scrollTop - Fe.y)}px`, Ce.style.left = `${Math.min(Z.clientWidth + Z.scrollLeft - Ce.clientWidth, ie.clientX + Z.scrollLeft - Fe.x)}px`, Ce.setAttribute("drag-status", Me ? pe ? "sub" : "normal" : "disabled"));
3003
3003
  }, we = () => {
3004
3004
  const ie = W.value, ce = $.value;
3005
3005
  ie && (ie.style.display = ""), ce && (ce.style.display = "");
3006
3006
  }, B = (ie) => {
3007
- const Z = ie.currentTarget.parentElement.parentElement.parentElement, Te = Z.getAttribute("colid"), Ce = S.getColumnById(Te);
3007
+ const Z = ie.currentTarget.parentElement.parentElement.parentElement, Fe = Z.getAttribute("colid"), Ce = S.getColumnById(Fe);
3008
3008
  Z.draggable = !0, ee.value = Ce, al(Z, "active--drag-origin");
3009
3009
  }, de = (ie) => {
3010
3010
  const Z = ie.currentTarget.parentElement.parentElement.parentElement;
@@ -3012,7 +3012,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
3012
3012
  }, ae = (ie) => {
3013
3013
  ie.dataTransfer && ie.dataTransfer.setDragImage(Os(), 0, 0);
3014
3014
  }, le = (ie) => {
3015
- const { mouseConfig: ce } = A, { customColumnList: Me } = P, { collectColumn: me } = se, Z = f.value, { immediate: Te } = Z, Ce = ie.currentTarget, Ue = ee.value, Ge = d.value, { isCrossDrag: Xe, isSelfToChildDrag: Le, isToChildDrag: nt, dragEndMethod: Rt } = Ge, Ct = te === "bottom" ? 1 : 0;
3015
+ const { mouseConfig: ce } = A, { customColumnList: Me } = P, { collectColumn: me } = se, Z = f.value, { immediate: Fe } = Z, Ce = ie.currentTarget, Ue = ee.value, Ge = d.value, { isCrossDrag: Xe, isSelfToChildDrag: Le, isToChildDrag: nt, dragEndMethod: Rt } = Ge, Ct = te === "bottom" ? 1 : 0;
3016
3016
  if (J && Ue && J !== Ue) {
3017
3017
  const ct = Ue, st = J;
3018
3018
  Promise.resolve(Rt ? Rt({
@@ -3031,7 +3031,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
3031
3031
  Ye[Ae.id] = Ae;
3032
3032
  });
3033
3033
  let pt = !1;
3034
- if (Te) {
3034
+ if (Fe) {
3035
3035
  if (ct.parentId && st.parentId) {
3036
3036
  if (!Xe)
3037
3037
  return;
@@ -3091,21 +3091,21 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
3091
3091
  newIndex: ze,
3092
3092
  oldIndex: Ze
3093
3093
  }
3094
- }, ie), Te && (P.customColumnList = me.slice(0), S.handleColDragSwapColumn());
3094
+ }, ie), Fe && (P.customColumnList = me.slice(0), S.handleColDragSwapColumn());
3095
3095
  }).catch(() => {
3096
3096
  });
3097
3097
  }
3098
3098
  we(), ee.value = null, Ce.draggable = !1, Ce.removeAttribute("drag-pos"), jo(Ce, "active--drag-target"), jo(Ce, "active--drag-origin");
3099
3099
  }, U = (ie) => {
3100
- const ce = f.value, { immediate: Me } = ce, me = d.value, { isCrossDrag: Z, isToChildDrag: Te } = me, Ce = ie.currentTarget, Ue = lr(ie), Ge = Ce.getAttribute("colid"), Xe = S.getColumnById(Ge), Le = ee.value;
3100
+ const ce = f.value, { immediate: Me } = ce, me = d.value, { isCrossDrag: Z, isToChildDrag: Fe } = me, Ce = ie.currentTarget, Ue = lr(ie), Ge = Ce.getAttribute("colid"), Xe = S.getColumnById(Ge), Le = ee.value;
3101
3101
  if (Xe && (Z || Xe.level === 1)) {
3102
3102
  ie.preventDefault();
3103
3103
  const Rt = ie.clientY - Ce.getBoundingClientRect().y < Ce.clientHeight / 2 ? "top" : "bottom";
3104
3104
  if (Le && Le.id === Xe.id || !Z && Xe.level > 1 || !Me && Xe.level > 1 || Xe.renderFixed) {
3105
- Fe(ie, Ce, !1, Rt);
3105
+ Te(ie, Ce, !1, Rt);
3106
3106
  return;
3107
3107
  }
3108
- pe = !!(Z && Te && Ue && Me), J = Xe, te = Rt, Fe(ie, Ce, !0, Rt);
3108
+ pe = !!(Z && Fe && Ue && Me), J = Xe, te = Rt, Te(ie, Ce, !0, Rt);
3109
3109
  }
3110
3110
  }, ne = () => {
3111
3111
  const ie = ee.value, ce = d.value;
@@ -3143,7 +3143,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
3143
3143
  ])
3144
3144
  ]);
3145
3145
  }, be = () => {
3146
- const ie = S.xeGrid, { customStore: ce } = e, { isCustomStatus: Me, customColumnList: me } = P, Z = f.value, { immediate: Te } = Z, Ce = d.value, { maxHeight: Ue } = ce, { checkMethod: Ge, visibleMethod: Xe, allowVisible: Le, allowSort: nt, allowFixed: Rt, trigger: Ct, placement: ct } = Z, st = z.value, { isCrossDrag: xt } = Ce, Ze = Z.slots || {}, ze = Ze.header, Ye = Ze.top, pt = Ze.bottom, Ae = Ze.default, Oe = Ze.footer, He = [], mt = {}, Je = ce.isAll, Q = ce.isIndeterminate;
3146
+ const ie = S.xeGrid, { customStore: ce } = e, { isCustomStatus: Me, customColumnList: me } = P, Z = f.value, { immediate: Fe } = Z, Ce = d.value, { maxHeight: Ue } = ce, { checkMethod: Ge, visibleMethod: Xe, allowVisible: Le, allowSort: nt, allowFixed: Rt, trigger: Ct, placement: ct } = Z, st = z.value, { isCrossDrag: xt } = Ce, Ze = Z.slots || {}, ze = Ze.header, Ye = Ze.top, pt = Ze.bottom, Ae = Ze.default, Oe = Ze.footer, He = [], mt = {}, Je = ce.isAll, Q = ce.isIndeterminate;
3147
3147
  Ct === "hover" && (mt.onMouseenter = w, mt.onMouseleave = R);
3148
3148
  const he = {
3149
3149
  $table: S,
@@ -3185,7 +3185,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
3185
3185
  g("div", {
3186
3186
  class: "vxe-table-custom--name-option"
3187
3187
  }, [
3188
- nt && (xt && Te || K.level === 1) ? g("div", {
3188
+ nt && (xt && Fe || K.level === 1) ? g("div", {
3189
3189
  class: "vxe-table-custom--sort-option"
3190
3190
  }, [
3191
3191
  g("span", Object.assign({ class: ["vxe-table-custom--sort-btn", {
@@ -3302,7 +3302,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
3302
3302
  disabled: !Me,
3303
3303
  onClick: X
3304
3304
  }) : lt(),
3305
- Te ? p ? g(p, {
3305
+ Fe ? p ? g(p, {
3306
3306
  mode: "text",
3307
3307
  content: Z.closeButtonText || Xt("vxe.table.customClose"),
3308
3308
  onClick: oe
@@ -3311,17 +3311,17 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
3311
3311
  content: Z.cancelButtonText || Xt("vxe.table.customCancel"),
3312
3312
  onClick: q
3313
3313
  }) : lt(),
3314
- Te ? lt() : p ? g(p, {
3314
+ Fe ? lt() : p ? g(p, {
3315
3315
  mode: "text",
3316
3316
  status: "primary",
3317
3317
  content: Z.confirmButtonText || Xt("vxe.table.customConfirm"),
3318
- onClick: F
3318
+ onClick: T
3319
3319
  }) : lt()
3320
3320
  ])
3321
3321
  ]) : null
3322
3322
  ] : []);
3323
3323
  }, re = () => {
3324
- const ie = S.xeGrid, { customStore: ce } = e, { resizable: Me } = A, { isCustomStatus: me, customColumnList: Z } = P, Te = f.value, { immediate: Ce } = Te, Ue = d.value, { mode: Ge, modalOptions: Xe, drawerOptions: Le, allowVisible: nt, allowSort: Rt, allowFixed: Ct, allowResizable: ct, checkMethod: st, visibleMethod: xt } = Te, Ze = j.value, { maxFixedSize: ze } = Ze, Ye = H.value, { minWidth: pt, maxWidth: Ae } = Ye, Oe = Object.assign({}, Xe), He = Object.assign({}, Le), mt = z.value, { isCrossDrag: Je } = Ue, Q = Te.slots || {}, he = Q.header, K = Q.top, De = Q.bottom, _e = Q.default, tt = Q.footer, rt = [], wt = ce.isAll, ht = ce.isIndeterminate, $t = {
3324
+ const ie = S.xeGrid, { customStore: ce } = e, { resizable: Me } = A, { isCustomStatus: me, customColumnList: Z } = P, Fe = f.value, { immediate: Ce } = Fe, Ue = d.value, { mode: Ge, modalOptions: Xe, drawerOptions: Le, allowVisible: nt, allowSort: Rt, allowFixed: Ct, allowResizable: ct, checkMethod: st, visibleMethod: xt } = Fe, Ze = j.value, { maxFixedSize: ze } = Ze, Ye = H.value, { minWidth: pt, maxWidth: Ae } = Ye, Oe = Object.assign({}, Xe), He = Object.assign({}, Le), mt = z.value, { isCrossDrag: Je } = Ue, Q = Fe.slots || {}, he = Q.header, K = Q.top, De = Q.bottom, _e = Q.default, tt = Q.footer, rt = [], wt = ce.isAll, ht = ce.isIndeterminate, $t = {
3325
3325
  $table: S,
3326
3326
  $grid: ie,
3327
3327
  columns: Z,
@@ -3342,7 +3342,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
3342
3342
  };
3343
3343
  pt && (fo = i.toNumber(i.isFunction(pt) ? pt(Lt) : pt)), Ae && (St = i.toNumber(i.isFunction(Ae) ? Ae(Lt) : Ae));
3344
3344
  }
3345
- const to = We.renderVisible, et = We.halfVisible, Pt = wo(We.getTitle(), 1), ho = We.children && We.children.length, Tt = st ? !st({ $table: S, column: We }) : !1, po = !to;
3345
+ const to = We.renderVisible, et = We.halfVisible, Pt = wo(We.getTitle(), 1), ho = We.children && We.children.length, Ft = st ? !st({ $table: S, column: We }) : !1, po = !to;
3346
3346
  rt.push(g("tr", {
3347
3347
  key: We.id,
3348
3348
  colid: We.id,
@@ -3360,11 +3360,11 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
3360
3360
  class: ["vxe-table-custom--checkbox-option", {
3361
3361
  "is--checked": to,
3362
3362
  "is--indeterminate": et,
3363
- "is--disabled": Tt
3363
+ "is--disabled": Ft
3364
3364
  }],
3365
3365
  title: Xt("vxe.custom.setting.colVisible"),
3366
3366
  onClick: () => {
3367
- Tt || ke(We);
3367
+ Ft || ke(We);
3368
3368
  }
3369
3369
  }, [
3370
3370
  g("span", {
@@ -3379,8 +3379,8 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
3379
3379
  class: "vxe-table-custom-popup--name"
3380
3380
  }, [
3381
3381
  Rt ? Je && Ce || We.level === 1 ? g("div", Object.assign({ class: ["vxe-table-custom-popup--column-sort-btn", {
3382
- "is--disabled": Tt || po || We.renderFixed
3383
- }], title: Xt("vxe.custom.setting.sortHelpTip") }, Tt || po || We.renderFixed ? {} : {
3382
+ "is--disabled": Ft || po || We.renderFixed
3383
+ }], title: Xt("vxe.custom.setting.sortHelpTip") }, Ft || po || We.renderFixed ? {} : {
3384
3384
  onMousedown: B,
3385
3385
  onMouseup: de
3386
3386
  }), [
@@ -3407,7 +3407,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
3407
3407
  We.children && We.children.length || !(i.isBoolean(We.resizable) ? We.resizable : Ze.resizable || Me) ? g("span", "-") : E ? g(E, {
3408
3408
  type: "integer",
3409
3409
  immediate: !1,
3410
- disabled: Tt || po,
3410
+ disabled: Ft || po,
3411
3411
  modelValue: We.renderResizeWidth,
3412
3412
  min: fo || void 0,
3413
3413
  max: St || void 0,
@@ -3427,11 +3427,11 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
3427
3427
  modelValue: We.renderFixed || "",
3428
3428
  type: "button",
3429
3429
  size: "mini",
3430
- disabled: Tt || po,
3430
+ disabled: Ft || po,
3431
3431
  options: [
3432
- { label: Xt("vxe.custom.setting.fixedLeft"), value: "left", disabled: Tt || po || mt },
3433
- { label: Xt("vxe.custom.setting.fixedUnset"), value: "", disabled: Tt || po },
3434
- { label: Xt("vxe.custom.setting.fixedRight"), value: "right", disabled: Tt || po || mt }
3432
+ { label: Xt("vxe.custom.setting.fixedLeft"), value: "left", disabled: Ft || po || mt },
3433
+ { label: Xt("vxe.custom.setting.fixedUnset"), value: "", disabled: Ft || po },
3434
+ { label: Xt("vxe.custom.setting.fixedRight"), value: "right", disabled: Ft || po || mt }
3435
3435
  ],
3436
3436
  "onUpdate:modelValue"(Lt) {
3437
3437
  Se(We, Lt);
@@ -3509,21 +3509,21 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
3509
3509
  class: "vxe-table-custom-popup--footer"
3510
3510
  }, [
3511
3511
  p ? g(p, {
3512
- content: Te.resetButtonText || Xt("vxe.custom.cstmRestore"),
3512
+ content: Fe.resetButtonText || Xt("vxe.custom.cstmRestore"),
3513
3513
  disabled: !me,
3514
3514
  onClick: X
3515
3515
  }) : lt(),
3516
3516
  Ce ? p ? g(p, {
3517
- content: Te.closeButtonText || Xt("vxe.table.customClose"),
3517
+ content: Fe.closeButtonText || Xt("vxe.table.customClose"),
3518
3518
  onClick: oe
3519
3519
  }) : lt() : p ? g(p, {
3520
- content: Te.cancelButtonText || Xt("vxe.table.customCancel"),
3520
+ content: Fe.cancelButtonText || Xt("vxe.table.customCancel"),
3521
3521
  onClick: q
3522
3522
  }) : lt(),
3523
3523
  Ce ? lt() : p ? g(p, {
3524
3524
  status: "primary",
3525
- content: Te.confirmButtonText || Xt("vxe.custom.cstmConfirm"),
3526
- onClick: F
3525
+ content: Fe.confirmButtonText || Xt("vxe.custom.cstmConfirm"),
3526
+ onClick: T
3527
3527
  }) : lt()
3528
3528
  ])
3529
3529
  };
@@ -3591,23 +3591,23 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
3591
3591
  const { filterStore: w } = e;
3592
3592
  return w && w.options.some((R) => R.checked);
3593
3593
  }), j = (w, R) => {
3594
- const { filterStore: F } = e;
3595
- F.options.forEach((oe) => {
3594
+ const { filterStore: T } = e;
3595
+ T.options.forEach((oe) => {
3596
3596
  oe._checked = R, oe.checked = R;
3597
- }), F.isAllSelected = R, F.isIndeterminate = !1;
3597
+ }), T.isAllSelected = R, T.isIndeterminate = !1;
3598
3598
  }, z = (w) => {
3599
3599
  p.handleFilterConfirmFilter(w);
3600
- }, H = (w, R, F) => {
3601
- p.handleFilterChangeRadioOption(w, R, F);
3600
+ }, H = (w, R, T) => {
3601
+ p.handleFilterChangeRadioOption(w, R, T);
3602
3602
  }, V = (w) => {
3603
3603
  p.handleFilterResetFilter(w);
3604
- }, Y = (w, R, F) => {
3605
- p.handleFilterChangeMultipleOption(w, R, F);
3606
- }, $ = (w, R, F) => {
3607
- p.handleFilterChangeOption(w, R, F);
3604
+ }, Y = (w, R, T) => {
3605
+ p.handleFilterChangeMultipleOption(w, R, T);
3606
+ }, $ = (w, R, T) => {
3607
+ p.handleFilterChangeOption(w, R, T);
3608
3608
  }, W = (w, R) => {
3609
- const { filterStore: F } = e;
3610
- F.multiple ? j(w, R) : V(w);
3609
+ const { filterStore: T } = e;
3610
+ T.multiple ? j(w, R) : V(w);
3611
3611
  };
3612
3612
  Object.assign(f, {
3613
3613
  changeRadioOption: H,
@@ -3618,7 +3618,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
3618
3618
  resetFilter: V
3619
3619
  });
3620
3620
  const J = (w, R) => {
3621
- const { filterStore: F } = e, { column: oe, multiple: q, maxHeight: O } = F, X = oe ? oe.slots : null, ue = X ? X.filter : null, ke = Object.assign({}, x._currFilterParams, { $panel: f, $table: p }), Re = R ? R.renderTableFilter || R.renderFilter : null;
3621
+ const { filterStore: T } = e, { column: oe, multiple: q, maxHeight: O } = T, X = oe ? oe.slots : null, ue = X ? X.filter : null, ke = Object.assign({}, x._currFilterParams, { $panel: f, $table: p }), Re = R ? R.renderTableFilter || R.renderFilter : null;
3622
3622
  if (ue)
3623
3623
  return [
3624
3624
  g("div", {
@@ -3635,9 +3635,9 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
3635
3635
  style: O ? {
3636
3636
  maxHeight: `${O}px`
3637
3637
  } : {}
3638
- }, Fo(Re(w, ke)))
3638
+ }, To(Re(w, ke)))
3639
3639
  ];
3640
- const Se = q ? F.isAllSelected : !F.options.some((Fe) => Fe._checked), ve = q && F.isIndeterminate;
3640
+ const Se = q ? T.isAllSelected : !T.options.some((Te) => Te._checked), ve = q && T.isIndeterminate;
3641
3641
  return [
3642
3642
  g("ul", {
3643
3643
  class: "vxe-table--filter-header"
@@ -3648,8 +3648,8 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
3648
3648
  "is--indeterminate": ve
3649
3649
  }],
3650
3650
  title: Dr(q ? "vxe.table.allTitle" : "vxe.table.allFilter"),
3651
- onClick: (Fe) => {
3652
- W(Fe, !F.isAllSelected);
3651
+ onClick: (Te) => {
3652
+ W(Te, !T.isAllSelected);
3653
3653
  }
3654
3654
  }, (q ? [
3655
3655
  g("span", {
@@ -3666,15 +3666,15 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
3666
3666
  style: O ? {
3667
3667
  maxHeight: `${O}px`
3668
3668
  } : {}
3669
- }, F.options.map((Fe) => {
3670
- const we = Fe._checked;
3669
+ }, T.options.map((Te) => {
3670
+ const we = Te._checked;
3671
3671
  return g("li", {
3672
3672
  class: ["vxe-table--filter-option", {
3673
- "is--checked": Fe._checked
3673
+ "is--checked": Te._checked
3674
3674
  }],
3675
- title: Fe.label,
3675
+ title: Te.label,
3676
3676
  onClick: (B) => {
3677
- $(B, !Fe._checked, Fe);
3677
+ $(B, !Te._checked, Te);
3678
3678
  }
3679
3679
  }, (q ? [
3680
3680
  g("span", {
@@ -3683,13 +3683,13 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
3683
3683
  ] : []).concat([
3684
3684
  g("span", {
3685
3685
  class: "vxe-checkbox--label"
3686
- }, wo(Fe.label, 1))
3686
+ }, wo(Te.label, 1))
3687
3687
  ]));
3688
3688
  }))
3689
3689
  ];
3690
3690
  }, pe = () => {
3691
- const { filterStore: w } = e, { column: R, multiple: F } = w, oe = A.value, q = d.value, { filterRender: O } = R, X = vt(O) ? Oi.get(O.name) : null, ue = !q && !w.isAllSelected && !w.isIndeterminate;
3692
- return F && (!X || !(X.showTableFilterFooter === !1 || X.showFilterFooter === !1 || X.isFooter === !1)) ? [
3691
+ const { filterStore: w } = e, { column: R, multiple: T } = w, oe = A.value, q = d.value, { filterRender: O } = R, X = vt(O) ? Oi.get(O.name) : null, ue = !q && !w.isAllSelected && !w.isIndeterminate;
3692
+ return T && (!X || !(X.showTableFilterFooter === !1 || X.showFilterFooter === !1 || X.isFooter === !1)) ? [
3693
3693
  g("div", {
3694
3694
  class: "vxe-table--filter-footer"
3695
3695
  }, [
@@ -3706,7 +3706,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
3706
3706
  ])
3707
3707
  ] : [];
3708
3708
  }, te = () => {
3709
- const { filterStore: w } = e, { initStore: R } = E, { visible: F, multiple: oe, column: q } = w, O = q ? q.filterRender : null, X = vt(O) ? Oi.get(O.name) : null, ue = X ? X.tableFilterClassName || X.filterClassName : "", ke = Object.assign({}, x._currFilterParams, { $panel: f, $table: p }), Re = p.props, { computeSize: Se } = p.getComputeMaps(), ve = Se.value, Fe = A.value, { transfer: we, destroyOnClose: B } = Fe;
3709
+ const { filterStore: w } = e, { initStore: R } = E, { visible: T, multiple: oe, column: q } = w, O = q ? q.filterRender : null, X = vt(O) ? Oi.get(O.name) : null, ue = X ? X.tableFilterClassName || X.filterClassName : "", ke = Object.assign({}, x._currFilterParams, { $panel: f, $table: p }), Re = p.props, { computeSize: Se } = p.getComputeMaps(), ve = Se.value, Te = A.value, { transfer: we, destroyOnClose: B } = Te;
3710
3710
  return g(Xi, {
3711
3711
  to: "body",
3712
3712
  disabled: !we
@@ -3721,11 +3721,11 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
3721
3721
  [`size--${ve}`]: ve,
3722
3722
  "is--animat": Re.animat,
3723
3723
  "is--multiple": oe,
3724
- "is--active": F
3724
+ "is--active": T
3725
3725
  }
3726
3726
  ],
3727
3727
  style: w.style
3728
- }, R.filter && (!B || F) && q ? J(O, X).concat(pe()) : [])
3728
+ }, R.filter && (!B || T) && q ? J(O, X).concat(pe()) : [])
3729
3729
  ]);
3730
3730
  };
3731
3731
  return f.renderVN = te, f;
@@ -3784,7 +3784,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
3784
3784
  S.loading = !1;
3785
3785
  });
3786
3786
  }, Y = () => {
3787
- const $ = E.xeGrid, { defaultOptions: W, storeData: ee } = e, J = P.value, pe = se.value, te = f.value, w = W.slots || {}, R = w.top, F = w.bottom, oe = w.default, q = w.footer;
3787
+ const $ = E.xeGrid, { defaultOptions: W, storeData: ee } = e, J = P.value, pe = se.value, te = f.value, w = W.slots || {}, R = w.top, T = w.bottom, oe = w.default, q = w.footer;
3788
3788
  return l ? g(l, {
3789
3789
  id: "VXE_IMPORT_MODAL",
3790
3790
  modelValue: ee.visible,
@@ -3867,9 +3867,9 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
3867
3867
  ])
3868
3868
  ])
3869
3869
  ]),
3870
- F ? g("div", {
3870
+ T ? g("div", {
3871
3871
  class: "vxe-table-export--panel-bottom"
3872
- }, E.callSlot(F, O)) : lt()
3872
+ }, E.callSlot(T, O)) : lt()
3873
3873
  ]);
3874
3874
  },
3875
3875
  footer() {
@@ -3952,7 +3952,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
3952
3952
  ke && ke.focus();
3953
3953
  }), W();
3954
3954
  }, te = () => {
3955
- const { storeData: O, defaultOptions: X } = e, { hasMerge: ue, columns: ke } = O, Re = z.value, Se = V.value, ve = i.searchTree(ke, (Fe) => Fe.checked, { children: "children", mapChildren: "childNodes", original: !0 });
3955
+ const { storeData: O, defaultOptions: X } = e, { hasMerge: ue, columns: ke } = O, Re = z.value, Se = V.value, ve = i.searchTree(ke, (Te) => Te.checked, { children: "children", mapChildren: "childNodes", original: !0 });
3956
3956
  return Object.assign({}, X, {
3957
3957
  columns: ve,
3958
3958
  isMerge: ue && Se && Re ? X.isMerge : !1
@@ -3967,16 +3967,16 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
3967
3967
  }).catch(() => {
3968
3968
  se.loading = !1;
3969
3969
  });
3970
- }, F = () => {
3970
+ }, T = () => {
3971
3971
  const { storeData: O } = e;
3972
3972
  O.visible = !1;
3973
3973
  }, oe = () => {
3974
3974
  const { storeData: O } = e;
3975
3975
  O.isPrint ? w() : R();
3976
3976
  }, q = () => {
3977
- const O = S.xeGrid, { defaultOptions: X, storeData: ue } = e, { isAll: ke, isIndeterminate: Re } = se, { hasTree: Se, hasMerge: ve, isPrint: Fe, hasColgroup: we, columns: B } = ue, { isHeader: de } = X, ae = [], le = z.value, U = H.value, ne = V.value, be = Y.value, re = X.slots || {}, ye = re.top, ie = re.bottom, ce = re.default, Me = re.footer, me = re.parameter;
3977
+ const O = S.xeGrid, { defaultOptions: X, storeData: ue } = e, { isAll: ke, isIndeterminate: Re } = se, { hasTree: Se, hasMerge: ve, isPrint: Te, hasColgroup: we, columns: B } = ue, { isHeader: de } = X, ae = [], le = z.value, U = H.value, ne = V.value, be = Y.value, re = X.slots || {}, ye = re.top, ie = re.bottom, ce = re.default, Me = re.footer, me = re.parameter;
3978
3978
  return i.eachTree(B, (Z) => {
3979
- const Te = wo(Z.getTitle(), 1), Ce = Z.children && Z.children.length, Ue = Z.checked, Ge = Z.halfChecked, Xe = Z.type === "html";
3979
+ const Fe = wo(Z.getTitle(), 1), Ce = Z.children && Z.children.length, Ue = Z.checked, Ge = Z.halfChecked, Xe = Z.type === "html";
3980
3980
  ae.push(g("li", {
3981
3981
  key: Z.id,
3982
3982
  class: ["vxe-table-export--panel-column-option", `level--${Z.level}`, {
@@ -3985,7 +3985,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
3985
3985
  "is--indeterminate": Ge,
3986
3986
  "is--disabled": Z.disabled
3987
3987
  }],
3988
- title: Xe ? "" : Te,
3988
+ title: Xe ? "" : Fe,
3989
3989
  onClick: () => {
3990
3990
  Z.disabled || ee(Z);
3991
3991
  }
@@ -3996,16 +3996,16 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
3996
3996
  Xe ? g("span", {
3997
3997
  key: "1",
3998
3998
  class: "vxe-checkbox--label",
3999
- innerHTML: Te
3999
+ innerHTML: Fe
4000
4000
  }) : g("span", {
4001
4001
  key: "0",
4002
4002
  class: "vxe-checkbox--label"
4003
- }, Te)
4003
+ }, Fe)
4004
4004
  ]));
4005
4005
  }), l ? g(l, {
4006
4006
  id: "VXE_EXPORT_MODAL",
4007
4007
  modelValue: ue.visible,
4008
- title: Ut(Fe ? "vxe.export.printTitle" : "vxe.export.expTitle"),
4008
+ title: Ut(Te ? "vxe.export.printTitle" : "vxe.export.expTitle"),
4009
4009
  className: "vxe-table-export-popup-wrapper",
4010
4010
  width: 660,
4011
4011
  minWidth: 500,
@@ -4030,7 +4030,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
4030
4030
  options: X,
4031
4031
  columns: B,
4032
4032
  params: X.params
4033
- }, Te = X.mode === "empty";
4033
+ }, Fe = X.mode === "empty";
4034
4034
  return g("div", {
4035
4035
  class: "vxe-table-export--panel"
4036
4036
  }, [
@@ -4048,7 +4048,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
4048
4048
  }, [
4049
4049
  g("tbody", [
4050
4050
  [
4051
- Fe ? lt() : g("tr", [
4051
+ Te ? lt() : g("tr", [
4052
4052
  g("td", Ut("vxe.export.expName")),
4053
4053
  g("td", [
4054
4054
  E ? g(E, {
@@ -4063,7 +4063,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
4063
4063
  }) : lt()
4064
4064
  ])
4065
4065
  ]),
4066
- Fe ? lt() : g("tr", [
4066
+ Te ? lt() : g("tr", [
4067
4067
  g("td", Ut("vxe.export.expType")),
4068
4068
  g("td", [
4069
4069
  p ? g(p, {
@@ -4075,7 +4075,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
4075
4075
  }) : lt()
4076
4076
  ])
4077
4077
  ]),
4078
- Fe || U ? g("tr", [
4078
+ Te || U ? g("tr", [
4079
4079
  g("td", Ut("vxe.export.expSheetName")),
4080
4080
  g("td", [
4081
4081
  E ? g(E, {
@@ -4147,8 +4147,8 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
4147
4147
  class: "vxe-table-export--panel-option-row"
4148
4148
  }, [
4149
4149
  x ? g(x, {
4150
- modelValue: Te || de,
4151
- disabled: Te,
4150
+ modelValue: Fe || de,
4151
+ disabled: Fe,
4152
4152
  title: Ut("vxe.export.expHeaderTitle"),
4153
4153
  content: Ut("vxe.export.expOptHeader"),
4154
4154
  "onUpdate:modelValue"(Ce) {
@@ -4178,8 +4178,8 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
4178
4178
  class: "vxe-table-export--panel-option-row"
4179
4179
  }, [
4180
4180
  x ? g(x, {
4181
- modelValue: Te ? !1 : X.original,
4182
- disabled: Te,
4181
+ modelValue: Fe ? !1 : X.original,
4182
+ disabled: Fe,
4183
4183
  title: Ut("vxe.export.expOriginalTitle"),
4184
4184
  content: Ut("vxe.export.expOptOriginal"),
4185
4185
  "onUpdate:modelValue"(Ce) {
@@ -4189,13 +4189,13 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
4189
4189
  x ? g(x, {
4190
4190
  modelValue: ve && ne && le ? X.isMerge : !1,
4191
4191
  title: Ut("vxe.export.expMergeTitle"),
4192
- disabled: Te || !ve || !ne || !le,
4192
+ disabled: Fe || !ve || !ne || !le,
4193
4193
  content: Ut("vxe.export.expOptMerge"),
4194
4194
  "onUpdate:modelValue"(Ce) {
4195
4195
  X.isMerge = Ce;
4196
4196
  }
4197
4197
  }) : lt(),
4198
- Fe || !x ? lt() : g(x, {
4198
+ Te || !x ? lt() : g(x, {
4199
4199
  modelValue: be ? X.useStyle : !1,
4200
4200
  disabled: !be,
4201
4201
  title: Ut("vxe.export.expUseStyleTitle"),
@@ -4206,7 +4206,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
4206
4206
  }),
4207
4207
  x ? g(x, {
4208
4208
  modelValue: Se ? X.isAllExpand : !1,
4209
- disabled: Te || !Se,
4209
+ disabled: Fe || !Se,
4210
4210
  title: Ut("vxe.export.expAllExpandTitle"),
4211
4211
  content: Ut("vxe.export.expOptAllExpand"),
4212
4212
  "onUpdate:modelValue"(Ce) {
@@ -4254,12 +4254,12 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
4254
4254
  }, [
4255
4255
  c ? g(c, {
4256
4256
  content: Ut("vxe.export.expCancel"),
4257
- onClick: F
4257
+ onClick: T
4258
4258
  }) : lt(),
4259
4259
  c ? g(c, {
4260
4260
  ref: f,
4261
4261
  status: "primary",
4262
- content: Ut(Fe ? "vxe.export.expPrint" : "vxe.export.expConfirm"),
4262
+ content: Ut(Te ? "vxe.export.expPrint" : "vxe.export.expConfirm"),
4263
4263
  onClick: oe
4264
4264
  }) : lt()
4265
4265
  ])
@@ -4353,14 +4353,14 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
4353
4353
  }, [
4354
4354
  g("a", {
4355
4355
  class: "vxe-context-menu--link",
4356
- onClick(F) {
4357
- p.ctxMenuLinkEvent(F, J);
4356
+ onClick(T) {
4357
+ p.ctxMenuLinkEvent(T, J);
4358
4358
  },
4359
- onMouseover(F) {
4360
- p.ctxMenuMouseoverEvent(F, H, J);
4359
+ onMouseover(T) {
4360
+ p.ctxMenuMouseoverEvent(T, H, J);
4361
4361
  },
4362
- onMouseout(F) {
4363
- p.ctxMenuMouseoutEvent(F, H);
4362
+ onMouseout(T) {
4363
+ p.ctxMenuMouseoutEvent(T, H);
4364
4364
  }
4365
4365
  }, [
4366
4366
  g("div", {
@@ -4395,7 +4395,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
4395
4395
  render() {
4396
4396
  return this.renderVN();
4397
4397
  }
4398
- }), { getConfig: Ot, getIcon: Mr, getI18n: hl, renderer: Di, formats: Mi, createEvent: gd, globalResize: hd, interceptor: Ti, hooks: md, globalEvents: Kt, GLOBAL_EVENT_KEYS: qo, useFns: bd, renderEmptyElement: To } = ge, Fi = 5e6, Ii = "VXE_CUSTOM_STORE", Xl = 5e6, Rn = 5e6, Ul = Ko({
4398
+ }), { getConfig: Ot, getIcon: Mr, getI18n: hl, renderer: Di, formats: Mi, createEvent: gd, globalResize: hd, interceptor: Fi, hooks: md, globalEvents: Kt, GLOBAL_EVENT_KEYS: qo, useFns: bd, renderEmptyElement: Fo } = ge, Ti = 5e6, Ii = "VXE_CUSTOM_STORE", Xl = 5e6, Rn = 5e6, Ul = Ko({
4399
4399
  name: "VxeTable",
4400
4400
  props: Nr,
4401
4401
  emits: Ls,
@@ -4747,7 +4747,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
4747
4747
  isActivated: !1
4748
4748
  };
4749
4749
  let j = {}, z = {};
4750
- const H = je(), V = je(), Y = je(), $ = je(), W = je(), ee = je(), J = je(), pe = je(), te = je(), w = je(), R = je(), F = je(), oe = je(), q = je(), O = je(), X = je(), ue = je(), ke = je(), Re = je(), Se = je(), ve = je(), Fe = je(), we = je(), B = je(), de = je(), ae = je(), le = je(), U = je(), ne = je(), be = je(), re = je(), ye = je(), ie = je(), ce = je(), Me = je(), me = je(), Z = je(), Te = je(), Ce = je(), Ue = je(), Ge = Lo("$xeGrid", null);
4750
+ const H = je(), V = je(), Y = je(), $ = je(), W = je(), ee = je(), J = je(), pe = je(), te = je(), w = je(), R = je(), T = je(), oe = je(), q = je(), O = je(), X = je(), ue = je(), ke = je(), Re = je(), Se = je(), ve = je(), Te = je(), we = je(), B = je(), de = je(), ae = je(), le = je(), U = je(), ne = je(), be = je(), re = je(), ye = je(), ie = je(), ce = je(), Me = je(), me = je(), Z = je(), Fe = je(), Ce = je(), Ue = je(), Ge = Lo("$xeGrid", null);
4751
4751
  let Xe;
4752
4752
  const Le = Pe(() => {
4753
4753
  const { id: t } = e;
@@ -4782,7 +4782,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
4782
4782
  }), Zt = Pe(() => {
4783
4783
  const t = zt.value;
4784
4784
  return Object.assign({}, t);
4785
- }), Jt = Pe(() => Object.assign({}, Ot().table.editConfig, e.editConfig)), Qt = Pe(() => Object.assign({ orders: ["asc", "desc", null] }, Ot().table.sortConfig, e.sortConfig)), fo = Pe(() => Object.assign({}, Ot().table.filterConfig, e.filterConfig)), St = Pe(() => Object.assign({}, Ot().table.mouseConfig, e.mouseConfig)), to = Pe(() => Object.assign({}, Ot().table.areaConfig, e.areaConfig)), et = Pe(() => Object.assign({}, Ot().table.keyboardConfig, e.keyboardConfig)), Pt = Pe(() => Object.assign({}, Ot().table.clipConfig, e.clipConfig)), ho = Pe(() => Object.assign({}, Ot().table.fnrConfig, e.fnrConfig)), Tt = Pe(() => Object.assign({}, Ot().table.menuConfig, e.menuConfig)), po = Pe(() => {
4785
+ }), Jt = Pe(() => Object.assign({}, Ot().table.editConfig, e.editConfig)), Qt = Pe(() => Object.assign({ orders: ["asc", "desc", null] }, Ot().table.sortConfig, e.sortConfig)), fo = Pe(() => Object.assign({}, Ot().table.filterConfig, e.filterConfig)), St = Pe(() => Object.assign({}, Ot().table.mouseConfig, e.mouseConfig)), to = Pe(() => Object.assign({}, Ot().table.areaConfig, e.areaConfig)), et = Pe(() => Object.assign({}, Ot().table.keyboardConfig, e.keyboardConfig)), Pt = Pe(() => Object.assign({}, Ot().table.clipConfig, e.clipConfig)), ho = Pe(() => Object.assign({}, Ot().table.fnrConfig, e.fnrConfig)), Ft = Pe(() => Object.assign({}, Ot().table.menuConfig, e.menuConfig)), po = Pe(() => {
4786
4786
  const { columnStore: t } = f, { leftList: o } = t;
4787
4787
  let n = 0;
4788
4788
  for (let s = 0; s < o.length; s++) {
@@ -4799,16 +4799,16 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
4799
4799
  }
4800
4800
  return n;
4801
4801
  }), ao = Pe(() => {
4802
- const o = Tt.value.header;
4802
+ const o = Ft.value.header;
4803
4803
  return o && o.options ? o.options : [];
4804
4804
  }), Eo = Pe(() => {
4805
- const o = Tt.value.body;
4805
+ const o = Ft.value.body;
4806
4806
  return o && o.options ? o.options : [];
4807
4807
  }), Gt = Pe(() => {
4808
- const o = Tt.value.footer;
4808
+ const o = Ft.value.footer;
4809
4809
  return o && o.options ? o.options : [];
4810
4810
  }), oo = Pe(() => {
4811
- const t = Tt.value, o = ao.value, n = Eo.value, s = Gt.value;
4811
+ const t = Ft.value, o = ao.value, n = Eo.value, s = Gt.value;
4812
4812
  return !!(e.menuConfig && vt(t) && (o.length || n.length || s.length));
4813
4813
  }), Io = Pe(() => {
4814
4814
  const { ctxMenuStore: t } = f, o = [];
@@ -4821,8 +4821,8 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
4821
4821
  const { treeConfig: t } = e, { rowExpandedFlag: o, expandColumn: n, rowGroupExpandedFlag: s, treeExpandedFlag: a, isRowGroupStatus: u } = f, { visibleDataRowIdData: h, rowExpandedMaps: m } = d, b = it.value, { transform: v } = b, C = [];
4822
4822
  if (n && o && s && a)
4823
4823
  if (u || t && v)
4824
- i.each(m, (D, T) => {
4825
- h[T] && C.push(D);
4824
+ i.each(m, (D, F) => {
4825
+ h[F] && C.push(D);
4826
4826
  });
4827
4827
  else
4828
4828
  return i.values(m);
@@ -4860,7 +4860,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
4860
4860
  refTableMenu: ee,
4861
4861
  refTableHeader: w,
4862
4862
  refTableBody: R,
4863
- refTableFooter: F,
4863
+ refTableFooter: T,
4864
4864
  refTableLeftHeader: oe,
4865
4865
  refTableLeftBody: q,
4866
4866
  refTableLeftFooter: O,
@@ -4870,7 +4870,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
4870
4870
  refLeftContainer: Re,
4871
4871
  refRightContainer: Se,
4872
4872
  refColResizeBar: ve,
4873
- refRowResizeBar: Fe,
4873
+ refRowResizeBar: Te,
4874
4874
  refScrollXVirtualElem: ne,
4875
4875
  refScrollYVirtualElem: be,
4876
4876
  refScrollXHandleElem: re,
@@ -4919,7 +4919,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
4919
4919
  computeFooterMenu: Gt,
4920
4920
  computeIsMenu: oo,
4921
4921
  computeMenuList: Io,
4922
- computeMenuOpts: Tt,
4922
+ computeMenuOpts: Ft,
4923
4923
  computeExportOpts: yo,
4924
4924
  computeImportOpts: co,
4925
4925
  computePrintOpts: Do,
@@ -4976,13 +4976,13 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
4976
4976
  let v = m.scrollLeft;
4977
4977
  t && (v = Math.ceil((o - b) * Math.min(1, v / (Rn - b))));
4978
4978
  const C = v + u, D = v + b - h;
4979
- let T = 0, k = s.length;
4980
- for (; T < k; ) {
4981
- const I = Math.floor((T + k) / 2), G = s[I].id;
4982
- (a[G] || {}).oLeft <= C ? T = I + 1 : k = I;
4979
+ let F = 0, k = s.length;
4980
+ for (; F < k; ) {
4981
+ const I = Math.floor((F + k) / 2), G = s[I].id;
4982
+ (a[G] || {}).oLeft <= C ? F = I + 1 : k = I;
4983
4983
  }
4984
4984
  let L = 0;
4985
- const _ = Math.max(0, T < s.length ? T - 2 : 0);
4985
+ const _ = Math.max(0, F < s.length ? F - 2 : 0);
4986
4986
  for (let I = _, M = s.length; I < M; I++) {
4987
4987
  const N = s[I].id, y = a[N] || {};
4988
4988
  if (L++, y.oLeft > D || L >= 60)
@@ -5010,13 +5010,13 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
5010
5010
  }, Nl = () => {
5011
5011
  const { isAllOverflow: t, expandColumn: o, isScrollYBig: n, scrollYHeight: s } = f, { elemStore: a, isResizeCellHeight: u, afterFullData: h, fullAllDataRowIdData: m } = d, b = K.value, v = Je.value, C = Oe.value, D = ot(a["main-body-scroll"]);
5012
5012
  if (D) {
5013
- const T = D.clientHeight;
5013
+ const F = D.clientHeight;
5014
5014
  let k = D.scrollTop;
5015
- n && (k = Math.ceil((s - T) * Math.min(1, k / (Xl - T))));
5016
- const L = k, _ = k + T;
5015
+ n && (k = Math.ceil((s - F) * Math.min(1, k / (Xl - F))));
5016
+ const L = k, _ = k + F;
5017
5017
  let I = -1, M = 0;
5018
5018
  if (!(u || v.height || b.height) && !o && t)
5019
- I = Math.floor(L / C) - 1, M = Math.ceil(T / C) + 1;
5019
+ I = Math.floor(L / C) - 1, M = Math.ceil(F / C) + 1;
5020
5020
  else {
5021
5021
  const { handleGetRowId: N } = go(r);
5022
5022
  let y = 0, Ie = h.length;
@@ -5062,7 +5062,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
5062
5062
  if (t) {
5063
5063
  const { handleGetRowId: m } = go(r);
5064
5064
  i.isArray(t) || (t = [t]), t.forEach((b) => {
5065
- let { row: v, col: C, rowspan: D, colspan: T } = b, k = -1, L = -1;
5065
+ let { row: v, col: C, rowspan: D, colspan: F } = b, k = -1, L = -1;
5066
5066
  if (i.isNumber(v))
5067
5067
  k = v;
5068
5068
  else {
@@ -5075,18 +5075,18 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
5075
5075
  const _ = C ? C.id : null, I = _ ? n[_] : null;
5076
5076
  I && (L = I._index);
5077
5077
  }
5078
- if (k > -1 && L > -1 && (D || T) && (D = i.toNumber(D) || 1, T = i.toNumber(T) || 1, D > 1 || T > 1)) {
5078
+ if (k > -1 && L > -1 && (D || F) && (D = i.toNumber(D) || 1, F = i.toNumber(F) || 1, D > 1 || F > 1)) {
5079
5079
  const _ = a[k], I = s[L];
5080
5080
  let M = h[`${k}:${L}`];
5081
- M ? (M.rowspan = D, M.colspan = T, M._rowspan = D, M._colspan = T) : (M = {
5081
+ M ? (M.rowspan = D, M.colspan = F, M._rowspan = D, M._colspan = F) : (M = {
5082
5082
  row: k,
5083
5083
  col: L,
5084
5084
  rowspan: D,
5085
- colspan: T,
5085
+ colspan: F,
5086
5086
  _row: _,
5087
5087
  _col: I,
5088
5088
  _rowspan: D,
5089
- _colspan: T
5089
+ _colspan: F
5090
5090
  }, h[`${k}:${L}`] = M, u.push(M));
5091
5091
  }
5092
5092
  });
@@ -5100,14 +5100,14 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
5100
5100
  const C = i.isNumber(h) ? h : -1;
5101
5101
  let D = -1;
5102
5102
  if (i.isNumber(m) && (D = m), C > -1 && D > -1 && (b || v) && (b = i.toNumber(b) || 1, v = i.toNumber(v) || 1, b > 1 || v > 1)) {
5103
- const T = o[C], k = a[D];
5103
+ const F = o[C], k = a[D];
5104
5104
  let L = s[`${C}:${D}`];
5105
5105
  L ? (L.rowspan = b, L.colspan = v, L._rowspan = b, L._colspan = v) : (L = {
5106
5106
  row: C,
5107
5107
  col: D,
5108
5108
  rowspan: b,
5109
5109
  colspan: v,
5110
- _row: T,
5110
+ _row: F,
5111
5111
  _col: k,
5112
5112
  _rowspan: b,
5113
5113
  _colspan: v
@@ -5135,7 +5135,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
5135
5135
  t.forEach((o) => {
5136
5136
  o.order = null;
5137
5137
  });
5138
- }, Tl = (t) => {
5138
+ }, Fl = (t) => {
5139
5139
  const { parentHeight: o } = f, n = e[t];
5140
5140
  let s = 0;
5141
5141
  if (n)
@@ -5143,7 +5143,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
5143
5143
  s = o;
5144
5144
  else {
5145
5145
  const a = r.getExcludeHeight();
5146
- Fn(n) ? s = Math.floor((i.toInteger(n) || 1) / 100 * o) : s = i.toNumber(n), s = Math.max(40, s - a);
5146
+ Tn(n) ? s = Math.floor((i.toInteger(n) || 1) / 100 * o) : s = i.toNumber(n), s = Math.max(40, s - a);
5147
5147
  }
5148
5148
  return s;
5149
5149
  }, cn = (t) => {
@@ -5151,10 +5151,10 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
5151
5151
  const { resizableData: n, sortData: s, visibleData: a, fixedData: u } = t;
5152
5152
  let h = !1;
5153
5153
  n || s || a || u ? (i.eachTree(o, (m, b, v, C, D) => {
5154
- const T = m.getKey();
5155
- D || (u && u[T] !== void 0 && (m.fixed = u[T]), s && i.isNumber(s[T]) && (h = !0, m.renderSortNumber = s[T])), n && i.isNumber(n[T]) && (m.resizeWidth = n[T]), a && i.isBoolean(a[T]) && (m.visible = a[T]);
5154
+ const F = m.getKey();
5155
+ D || (u && u[F] !== void 0 && (m.fixed = u[F]), s && i.isNumber(s[F]) && (h = !0, m.renderSortNumber = s[F])), n && i.isNumber(n[F]) && (m.resizeWidth = n[F]), a && i.isBoolean(a[F]) && (m.visible = a[F]);
5156
5156
  }), h && (o = i.orderBy(o, "renderSortNumber"), d.collectColumn = o, d.tableFullColumn = xr(o)), f.isCustomStatus = !0) : f.isCustomStatus = !1;
5157
- }, Fl = () => {
5157
+ }, Tl = () => {
5158
5158
  const { customConfig: t } = e, o = Le.value, n = Mo.value, { storage: s, restoreStore: a } = n, u = s === !0, h = u ? {} : Object.assign({}, s || {}), m = u || h.resizable, b = u || h.visible, v = u || h.fixed, C = u || h.sort;
5159
5159
  if ((t ? vt(n) : n.enabled) && (m || b || v || C)) {
5160
5160
  if (!o) {
@@ -5162,23 +5162,23 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
5162
5162
  return;
5163
5163
  }
5164
5164
  const D = nn(o);
5165
- return a ? Promise.resolve(a({ $table: r, id: o, type: "restore", storeData: D })).then((T) => {
5166
- if (T)
5167
- return cn(T);
5168
- }).catch((T) => T) : cn(D);
5165
+ return a ? Promise.resolve(a({ $table: r, id: o, type: "restore", storeData: D })).then((F) => {
5166
+ if (F)
5167
+ return cn(F);
5168
+ }).catch((F) => F) : cn(D);
5169
5169
  }
5170
5170
  }, ul = () => {
5171
- const { tableFullColumn: t, collectColumn: o } = d, n = d.fullColumnIdData = {}, s = d.fullColumnFieldData = {}, a = St.value, u = yt.value, h = He.value, m = rt.value, b = xt.value, { isCrossDrag: v, isSelfToChildDrag: C } = m, D = Mo.value, { storage: T } = D, k = K.value, L = o.some(kn);
5171
+ const { tableFullColumn: t, collectColumn: o } = d, n = d.fullColumnIdData = {}, s = d.fullColumnFieldData = {}, a = St.value, u = yt.value, h = He.value, m = rt.value, b = xt.value, { isCrossDrag: v, isSelfToChildDrag: C } = m, D = Mo.value, { storage: F } = D, k = K.value, L = o.some(kn);
5172
5172
  let _ = !!e.showOverflow, I, M, G, N, y, Ie;
5173
5173
  const xe = (Ee, Ke, Ne, $e, Qe) => {
5174
5174
  const { id: Ve, field: gt, fixed: bt, type: dt, treeNode: ut, rowGroupNode: Et } = Ee, lo = { $index: -1, _index: -1, column: Ee, colid: Ve, index: Ke, items: Ne, parent: Qe || null, width: 0, oLeft: 0 };
5175
- gt ? (s[gt] && qe("vxe.error.colRepet", ["field", gt]), s[gt] = lo) : (T && !dt || h.drag && (v || C)) && qe("vxe.error.reqProp", [`${Ee.getTitle() || dt || ""} -> column.field=?`]), !Ie && dt === "html" && (Ie = Ee), ut && (G && at("vxe.error.colRepet", ["tree-node", ut]), G || (G = Ee)), Et && (G && at("vxe.error.colRepet", ["row-group-node", Et]), I || (I = Ee)), dt === "expand" && (M && at("vxe.error.colRepet", ["type", dt]), M || (M = Ee)), dt === "checkbox" ? (N && at("vxe.error.colRepet", ["type", dt]), N || (N = Ee)) : dt === "radio" && (y && at("vxe.error.colRepet", ["type", dt]), y || (y = Ee)), _ && Ee.showOverflow === !1 && (_ = !1), n[Ve] && qe("vxe.error.colRepet", ["colId", Ve]), n[Ve] = lo;
5175
+ gt ? (s[gt] && qe("vxe.error.colRepet", ["field", gt]), s[gt] = lo) : (F && !dt || h.drag && (v || C)) && qe("vxe.error.reqProp", [`${Ee.getTitle() || dt || ""} -> column.field=?`]), !Ie && dt === "html" && (Ie = Ee), ut && (G && at("vxe.error.colRepet", ["tree-node", ut]), G || (G = Ee)), Et && (G && at("vxe.error.colRepet", ["row-group-node", Et]), I || (I = Ee)), dt === "expand" && (M && at("vxe.error.colRepet", ["type", dt]), M || (M = Ee)), dt === "checkbox" ? (N && at("vxe.error.colRepet", ["type", dt]), N || (N = Ee)) : dt === "radio" && (y && at("vxe.error.colRepet", ["type", dt]), y || (y = Ee)), _ && Ee.showOverflow === !1 && (_ = !1), n[Ve] && qe("vxe.error.colRepet", ["colId", Ve]), n[Ve] = lo;
5176
5176
  };
5177
5177
  L ? i.eachTree(o, (Ee, Ke, Ne, $e, Qe, Ve) => {
5178
5178
  Ee.level = Ve.length, xe(Ee, Ke, Ne, $e, Qe);
5179
5179
  }) : t.forEach(xe), M && u.mode !== "fixed" && b.enabled && at("vxe.error.notConflictProp", ['column.type="expand', "virtual-y-config.enabled=false"]), M && u.mode !== "fixed" && a.area && qe("vxe.error.errConflicts", ["mouse-config.area", "column.type=expand"]), Ie && (h.useKey || qe("vxe.error.reqProp", ["column-config.useKey & column.type=html"]), k.useKey || qe("vxe.error.reqProp", ["row-config.useKey & column.type=html"])), f.isGroup = L, f.rowGroupColumn = I, f.treeNodeColumn = G, f.expandColumn = M, f.isAllOverflow = _;
5180
5180
  }, Vl = () => {
5181
- d.customHeight = Tl("height"), d.customMinHeight = Tl("minHeight"), d.customMaxHeight = Tl("maxHeight"), f.scrollYLoad && !(d.customHeight || d.customMinHeight) && (d.customHeight = 300);
5181
+ d.customHeight = Fl("height"), d.customMinHeight = Fl("minHeight"), d.customMaxHeight = Fl("maxHeight"), f.scrollYLoad && !(d.customHeight || d.customMinHeight) && (d.customHeight = 300);
5182
5182
  }, gr = (t, o) => {
5183
5183
  const n = o.querySelectorAll(`.vxe-cell--wrapper[colid="${t.id}"]`);
5184
5184
  let s = 0;
@@ -5206,8 +5206,8 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
5206
5206
  let a = 0;
5207
5207
  const u = 40, h = o.clientWidth;
5208
5208
  let m = h, b = m / 100;
5209
- const { fit: v } = e, { columnStore: C } = f, { resizeList: D, pxMinList: T, autoMinList: k, pxList: L, scaleList: _, scaleMinList: I, autoList: M, remainList: G } = C;
5210
- if (T.forEach((N) => {
5209
+ const { fit: v } = e, { columnStore: C } = f, { resizeList: D, pxMinList: F, autoMinList: k, pxList: L, scaleList: _, scaleMinList: I, autoList: M, remainList: G } = C;
5210
+ if (F.forEach((N) => {
5211
5211
  const y = i.toInteger(N.minWidth);
5212
5212
  a += y, N.renderWidth = y;
5213
5213
  }), k.forEach((N) => {
@@ -5228,13 +5228,13 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
5228
5228
  }), D.forEach((N) => {
5229
5229
  const y = i.toInteger(N.resizeWidth);
5230
5230
  a += y, N.renderWidth = y;
5231
- }), m -= a, b = m > 0 ? Math.floor(m / (I.length + T.length + k.length + G.length)) : 0, v ? m > 0 && I.concat(T).concat(k).forEach((N) => {
5231
+ }), m -= a, b = m > 0 ? Math.floor(m / (I.length + F.length + k.length + G.length)) : 0, v ? m > 0 && I.concat(F).concat(k).forEach((N) => {
5232
5232
  a += b, N.renderWidth += b;
5233
5233
  }) : b = u, G.forEach((N) => {
5234
5234
  const y = Math.max(b, u);
5235
5235
  N.renderWidth = y, a += y;
5236
5236
  }), v) {
5237
- const N = _.concat(I).concat(T).concat(k).concat(G);
5237
+ const N = _.concat(I).concat(F).concat(k).concat(G);
5238
5238
  let y = N.length - 1;
5239
5239
  if (y > 0) {
5240
5240
  let Ie = h - a;
@@ -5289,8 +5289,8 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
5289
5289
  const { treeConfig: t } = e, { fullDataRowIdData: o, fullAllDataRowIdData: n, afterTreeFullData: s } = d, a = it.value, { transform: u } = a, h = a.children || a.childrenField, m = {};
5290
5290
  if (t) {
5291
5291
  const { handleGetRowId: b } = go(r);
5292
- i.eachTree(s, (v, C, D, T) => {
5293
- const k = b(v), L = n[k], _ = T.map((I, M) => M % 2 === 0 ? Number(I) + 1 : ".").join("");
5292
+ i.eachTree(s, (v, C, D, F) => {
5293
+ const k = b(v), L = n[k], _ = F.map((I, M) => M % 2 === 0 ? Number(I) + 1 : ".").join("");
5294
5294
  if (L)
5295
5295
  L.seq = _, L.treeIndex = C;
5296
5296
  else {
@@ -5305,7 +5305,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
5305
5305
  const { treeConfig: t } = e, { isRowGroupStatus: o } = f, { fullAllDataRowIdData: n, treeExpandedMaps: s, rowGroupExpandedMaps: a } = d, u = De.value, h = it.value, { handleGetRowId: m } = go(r), b = [], v = {};
5306
5306
  if (t && h.transform) {
5307
5307
  const C = h.children || h.childrenField;
5308
- return i.eachTree(d.afterTreeFullData, (D, T, k, L, _) => {
5308
+ return i.eachTree(d.afterTreeFullData, (D, F, k, L, _) => {
5309
5309
  const I = m(D), M = m(_);
5310
5310
  if (!_ || v[M] && s[M]) {
5311
5311
  const G = n[I];
@@ -5314,7 +5314,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
5314
5314
  }, { children: C }), d.afterFullData = b, _n(b), b;
5315
5315
  } else if (o) {
5316
5316
  const { childrenField: C } = u;
5317
- return i.eachTree(d.afterGroupFullData, (D, T, k, L, _) => {
5317
+ return i.eachTree(d.afterGroupFullData, (D, F, k, L, _) => {
5318
5318
  const I = m(D), M = m(_);
5319
5319
  if (!_ || v[M] && a[M]) {
5320
5320
  const G = n[I];
@@ -5324,7 +5324,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
5324
5324
  }
5325
5325
  return d.afterFullData;
5326
5326
  }, fl = () => {
5327
- const { treeConfig: t } = e, { isRowGroupStatus: o } = f, { tableFullColumn: n, tableFullData: s, tableFullTreeData: a, tableFullGroupData: u } = d, h = fo.value, m = Qt.value, b = De.value, v = it.value, C = v.children || v.childrenField, { transform: D, rowField: T, parentField: k, mapChildrenField: L } = v, { isEvery: _, remote: I, filterMethod: M } = h, { remote: G, sortMethod: N, multiple: y, chronological: Ie } = m;
5327
+ const { treeConfig: t } = e, { isRowGroupStatus: o } = f, { tableFullColumn: n, tableFullData: s, tableFullTreeData: a, tableFullGroupData: u } = d, h = fo.value, m = Qt.value, b = De.value, v = it.value, C = v.children || v.childrenField, { transform: D, rowField: F, parentField: k, mapChildrenField: L } = v, { isEvery: _, remote: I, filterMethod: M } = h, { remote: G, sortMethod: N, multiple: y, chronological: Ie } = m;
5328
5328
  let xe = [], Ee = [];
5329
5329
  if (!I || !G) {
5330
5330
  const Ke = [];
@@ -5394,7 +5394,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
5394
5394
  children: L
5395
5395
  });
5396
5396
  Ee = i.toArrayTree(i.orderBy($e, Ne.map(({ column: Qe, order: Ve }) => [fn(Qe), Ve])), {
5397
- key: T,
5397
+ key: F,
5398
5398
  parentKey: k,
5399
5399
  children: C,
5400
5400
  mapChildren: L
@@ -5423,10 +5423,10 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
5423
5423
  }), xe = Ee) : (xe = t ? a.slice(0) : s.slice(0), Ee = xe);
5424
5424
  d.afterFullData = xe, d.afterTreeFullData = Ee, d.afterGroupFullData = Ee, _o();
5425
5425
  }, Nt = () => {
5426
- const { showHeaderOverflow: t, showFooterOverflow: o, mouseConfig: n, spanMethod: s, footerSpanMethod: a } = e, { isGroup: u, currentRow: h, tableColumn: m, scrollXLoad: b, scrollYLoad: v, overflowX: C, scrollbarWidth: D, overflowY: T, scrollbarHeight: k, scrollXWidth: L, columnStore: _, editStore: I, isAllOverflow: M, expandColumn: G, isColLoading: N } = f, { visibleColumn: y, tableHeight: Ie, headerHeight: xe, footerHeight: Ee, elemStore: Ke, customHeight: Ne, customMinHeight: $e, customMaxHeight: Qe } = d, Ve = H.value;
5426
+ const { showHeaderOverflow: t, showFooterOverflow: o, mouseConfig: n, spanMethod: s, footerSpanMethod: a } = e, { isGroup: u, currentRow: h, tableColumn: m, scrollXLoad: b, scrollYLoad: v, overflowX: C, scrollbarWidth: D, overflowY: F, scrollbarHeight: k, scrollXWidth: L, columnStore: _, editStore: I, isAllOverflow: M, expandColumn: G, isColLoading: N } = f, { visibleColumn: y, tableHeight: Ie, headerHeight: xe, footerHeight: Ee, elemStore: Ke, customHeight: Ne, customMinHeight: $e, customMaxHeight: Qe } = d, Ve = H.value;
5427
5427
  if (!Ve)
5428
5428
  return;
5429
- const gt = ["main", "left", "right"], bt = T ? D : 0, dt = C ? k : 0, ut = we.value, Et = St.value, lo = yt.value, Yt = ot(Ke["main-body-wrapper"]), no = ot(Ke["main-body-table"]);
5429
+ const gt = ["main", "left", "right"], bt = F ? D : 0, dt = C ? k : 0, ut = we.value, Et = St.value, lo = yt.value, Yt = ot(Ke["main-body-wrapper"]), no = ot(Ke["main-body-table"]);
5430
5430
  ut && (ut.style.top = `${xe}px`, ut.style.height = Yt ? `${Yt.offsetHeight - dt}px` : "");
5431
5431
  let It = 0, bo = 0;
5432
5432
  const ro = $e - xe - Ee - dt;
@@ -5436,13 +5436,13 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
5436
5436
  const kt = me.value;
5437
5437
  kt && (kt.style.left = Ro ? `${bt}px` : "", kt.style.width = `${Ve.clientWidth - bt}px`), qt && (qt.style.width = Ro ? `${bt}px` : "", qt.style.display = Ro && C && dt ? "block" : ""), so && (so.style.width = Ro ? "" : `${bt}px`, so.style.display = Ro ? "" : C && dt ? "block" : "");
5438
5438
  const Ho = be.value;
5439
- Ho && (Ho.style.width = `${bt}px`, Ho.style.height = `${It + xe + Ee}px`, Ho.style.visibility = T ? "visible" : "hidden");
5439
+ Ho && (Ho.style.width = `${bt}px`, Ho.style.height = `${It + xe + Ee}px`, Ho.style.visibility = F ? "visible" : "hidden");
5440
5440
  const Co = Me.value;
5441
- Co && (Co.style.height = `${xe}px`, Co.style.display = T && xe ? "block" : "");
5441
+ Co && (Co.style.height = `${xe}px`, Co.style.display = F && xe ? "block" : "");
5442
5442
  const Bo = Z.value;
5443
5443
  Bo && (Bo.style.height = `${It}px`, Bo.style.top = `${xe}px`);
5444
- const $o = Te.value;
5445
- $o && ($o.style.height = `${Ee}px`, $o.style.top = `${xe + It}px`, $o.style.display = T && Ee ? "block" : "");
5444
+ const $o = Fe.value;
5445
+ $o && ($o.style.height = `${Ee}px`, $o.style.top = `${xe + It}px`, $o.style.display = F && Ee ? "block" : "");
5446
5446
  const Rl = le.value;
5447
5447
  return Rl && (Rl.style.height = `${It}px`, Rl.style.top = `${xe}px`), gt.forEach((Wo, yr) => {
5448
5448
  const sl = yr > 0 ? Wo : "", sc = ["header", "body", "footer"], ri = sl === "left";
@@ -5534,7 +5534,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
5534
5534
  const n = Mt.value, { checkMethod: s } = n;
5535
5535
  return t && (o || !s || s({ $table: r, row: t })) && (f.selectRadioRow = t, es(t)), fe();
5536
5536
  }, Po = (t, o, n) => (t && !i.isArray(t) && (t = [t]), r.handleBatchSelectRows(t, !!o, n), r.checkSelectionStatus(), fe()), hn = (t, o) => {
5537
- const { treeConfig: n } = e, { isRowGroupStatus: s } = f, { afterFullData: a, afterTreeFullData: u, afterGroupFullData: h, checkboxReserveRowMap: m, selectCheckboxMaps: b } = d, v = it.value, C = De.value, D = v.children || v.childrenField, T = We.value, { checkField: k, reserve: L, checkMethod: _ } = T, { handleGetRowId: I } = go(r), M = T.indeterminateField || T.halfField, G = {};
5537
+ const { treeConfig: n } = e, { isRowGroupStatus: s } = f, { afterFullData: a, afterTreeFullData: u, afterGroupFullData: h, checkboxReserveRowMap: m, selectCheckboxMaps: b } = d, v = it.value, C = De.value, D = v.children || v.childrenField, F = We.value, { checkField: k, reserve: L, checkMethod: _ } = F, { handleGetRowId: I } = go(r), M = F.indeterminateField || F.halfField, G = {};
5538
5538
  if (k) {
5539
5539
  const N = (y) => {
5540
5540
  (o || !_ || _({ $table: r, row: y })) && (t && (G[I(y)] = y), i.set(y, k, t)), (n || s) && M && i.set(y, M, !1);
@@ -5570,9 +5570,9 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
5570
5570
  return L && (t ? i.each(G, (N, y) => {
5571
5571
  m[y] = N;
5572
5572
  }) : a.forEach((N) => Qo(N, !1))), f.updateCheckboxFlag++, d.selectCheckboxMaps = k ? {} : G, f.isAllSelected = t, f.isIndeterminate = !1, d.treeIndeterminateRowMaps = {}, r.checkSelectionStatus(), fe();
5573
- }, Ft = () => {
5574
- const { treeConfig: t } = e, { expandColumn: o, currentRow: n, selectRadioRow: s } = f, { fullDataRowIdData: a, fullAllDataRowIdData: u, radioReserveRow: h, selectCheckboxMaps: m, treeExpandedMaps: b, rowExpandedMaps: v } = d, C = yt.value, D = it.value, T = Mt.value, k = We.value;
5575
- if (s && !u[Be(r, s)] && (f.selectRadioRow = null), T.reserve && h) {
5573
+ }, Tt = () => {
5574
+ const { treeConfig: t } = e, { expandColumn: o, currentRow: n, selectRadioRow: s } = f, { fullDataRowIdData: a, fullAllDataRowIdData: u, radioReserveRow: h, selectCheckboxMaps: m, treeExpandedMaps: b, rowExpandedMaps: v } = d, C = yt.value, D = it.value, F = Mt.value, k = We.value;
5575
+ if (s && !u[Be(r, s)] && (f.selectRadioRow = null), F.reserve && h) {
5576
5576
  const L = Be(r, h);
5577
5577
  a[L] && rl(a[L].row, !0);
5578
5578
  }
@@ -5598,9 +5598,9 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
5598
5598
  const { fullAllDataRowIdData: m, treeExpandLazyLoadedMaps: b } = d, v = Be(r, t), C = m[v];
5599
5599
  b[v] = t, Promise.resolve(a({ $table: r, row: t })).then((D) => {
5600
5600
  if (C && (C.treeLoaded = !0), b[v] && delete b[v], i.isArray(D) || (D = []), D)
5601
- return r.loadTreeChildren(t, D).then((T) => {
5601
+ return r.loadTreeChildren(t, D).then((F) => {
5602
5602
  const { treeExpandedMaps: k } = d;
5603
- return T.length && !k[v] && (k[v] = t), f.treeExpandedFlag++, !u && r.isCheckedByCheckboxRow(t) && Po(T, !0), fe().then(() => {
5603
+ return F.length && !k[v] && (k[v] = t), f.treeExpandedFlag++, !u && r.isCheckedByCheckboxRow(t) && Po(F, !0), fe().then(() => {
5604
5604
  if (s)
5605
5605
  return r.handleTableData(), _o(), fe();
5606
5606
  });
@@ -5641,10 +5641,10 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
5641
5641
  const a = Be(r, t);
5642
5642
  o ? n[a] = t : n[a] && delete n[a];
5643
5643
  }
5644
- }, Ta = () => {
5644
+ }, Fa = () => {
5645
5645
  const { mergeCells: t } = e;
5646
5646
  t && r.setMergeCells(t);
5647
- }, Fa = () => {
5647
+ }, Ta = () => {
5648
5648
  const { mergeFooterItems: t } = e;
5649
5649
  t && r.setMergeFooterItems(t);
5650
5650
  }, ts = () => fe().then(() => {
@@ -5671,8 +5671,8 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
5671
5671
  let v = !1, C = !1;
5672
5672
  if (a) {
5673
5673
  v = o > a.clientHeight, b && (f.scrollbarWidth = s.width || b.offsetWidth - b.clientWidth || 14), f.overflowY = v, C = t > a.clientWidth, m && (f.scrollbarHeight = s.height || m.offsetHeight - m.clientHeight || 14);
5674
- const D = u ? u.clientHeight : 0, T = h ? h.clientHeight : 0;
5675
- d.tableHeight = a.offsetHeight, d.headerHeight = D, d.footerHeight = T, f.overflowX = C, f.parentHeight = Math.max(d.headerHeight + T + 20, r.getParentHeight());
5674
+ const D = u ? u.clientHeight : 0, F = h ? h.clientHeight : 0;
5675
+ d.tableHeight = a.offsetHeight, d.headerHeight = D, d.footerHeight = F, f.overflowX = C, f.parentHeight = Math.max(d.headerHeight + F + 20, r.getParentHeight());
5676
5676
  }
5677
5677
  C && r.checkScrolling();
5678
5678
  }, mn = (t) => {
@@ -5695,10 +5695,10 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
5695
5695
  }, _s = (t, o) => {
5696
5696
  let n = t, s = t;
5697
5697
  if (o) {
5698
- const a = De.value, { rowField: u, parentField: h, childrenField: m, mapChildrenField: b } = a, v = We.value, { checkField: C } = v, D = v.indeterminateField || v.halfField, T = o[0];
5699
- if (T && u && h && m && b) {
5698
+ const a = De.value, { rowField: u, parentField: h, childrenField: m, mapChildrenField: b } = a, v = We.value, { checkField: C } = v, D = v.indeterminateField || v.halfField, F = o[0];
5699
+ if (F && u && h && m && b) {
5700
5700
  n = [], s = [];
5701
- const k = T.field, L = r.getColumnByField(k), _ = {}, I = xl(r);
5701
+ const k = F.field, L = r.getColumnByField(k), _ = {}, I = xl(r);
5702
5702
  t.forEach((M) => {
5703
5703
  const G = L ? r.getCellLabel(M, L) : i.get(M, k), N = i.eqNull(G) ? "" : G;
5704
5704
  let y = _[N];
@@ -5723,19 +5723,19 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
5723
5723
  fullData: n
5724
5724
  };
5725
5725
  }, bn = (t, o) => {
5726
- const { keepSource: n, treeConfig: s, rowGroupConfig: a } = e, { rowGroupList: u, scrollYLoad: h } = f, { scrollYStore: m, scrollXStore: b, lastScrollLeft: v, lastScrollTop: C } = d, D = K.value, T = it.value, k = yt.value, { transform: L } = T, _ = T.children || T.childrenField;
5726
+ const { keepSource: n, treeConfig: s, rowGroupConfig: a } = e, { rowGroupList: u, scrollYLoad: h } = f, { scrollYStore: m, scrollXStore: b, lastScrollLeft: v, lastScrollTop: C } = d, D = K.value, F = it.value, k = yt.value, { transform: L } = F, _ = F.children || F.childrenField;
5727
5727
  let I = [], M = wl(t ? t.slice(0) : []);
5728
- if (M.length > Fi && qe("vxe.error.errMaxRow", [Fi]), s && u.length)
5728
+ if (M.length > Ti && qe("vxe.error.errMaxRow", [Ti]), s && u.length)
5729
5729
  return qe("vxe.error.noTree", ["row-group-config"]), fe();
5730
5730
  if (D.drag && u.length)
5731
5731
  return qe("vxe.error.errConflicts", ["row-config.drag", "row-group-config"]), fe();
5732
5732
  let G = !1;
5733
5733
  if (s)
5734
- L ? (T.rowField || qe("vxe.error.reqProp", ["tree-config.rowField"]), T.parentField || qe("vxe.error.reqProp", ["tree-config.parentField"]), _ || qe("vxe.error.reqProp", ["tree-config.childrenField"]), T.mapChildrenField || qe("vxe.error.reqProp", ["tree-config.mapChildrenField"]), _ === T.mapChildrenField && qe("vxe.error.errConflicts", ["tree-config.childrenField", "tree-config.mapChildrenField"]), I = i.toArrayTree(M, {
5735
- key: T.rowField,
5736
- parentKey: T.parentField,
5734
+ L ? (F.rowField || qe("vxe.error.reqProp", ["tree-config.rowField"]), F.parentField || qe("vxe.error.reqProp", ["tree-config.parentField"]), _ || qe("vxe.error.reqProp", ["tree-config.childrenField"]), F.mapChildrenField || qe("vxe.error.reqProp", ["tree-config.mapChildrenField"]), _ === F.mapChildrenField && qe("vxe.error.errConflicts", ["tree-config.childrenField", "tree-config.mapChildrenField"]), I = i.toArrayTree(M, {
5735
+ key: F.rowField,
5736
+ parentKey: F.parentField,
5737
5737
  children: _,
5738
- mapChildren: T.mapChildrenField
5738
+ mapChildren: F.mapChildrenField
5739
5739
  }), M = I.slice(0)) : I = M.slice(0);
5740
5740
  else if (a && u.length) {
5741
5741
  const y = _s(M, u);
@@ -5747,7 +5747,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
5747
5747
  Vl(), Nt();
5748
5748
  }).then(() => {
5749
5749
  ts();
5750
- }).then(() => (N && (m.endIndex = m.visibleSize), N && (f.expandColumn && k.mode !== "fixed" && qe("vxe.error.notConflictProp", ['column.type="expand', 'expand-config.mode="fixed"']), e.height || e.maxHeight || qe("vxe.error.reqProp", ["height | max-height | virtual-y-config={enabled: false}"]), e.spanMethod && qe("vxe.error.scrollErrProp", ["table.span-method"])), Ft(), r.checkSelectionStatus(), new Promise((y) => {
5750
+ }).then(() => (N && (m.endIndex = m.visibleSize), N && (f.expandColumn && k.mode !== "fixed" && qe("vxe.error.notConflictProp", ['column.type="expand', 'expand-config.mode="fixed"']), e.height || e.maxHeight || qe("vxe.error.reqProp", ["height | max-height | virtual-y-config={enabled: false}"]), e.spanMethod && qe("vxe.error.scrollErrProp", ["table.span-method"])), Tt(), r.checkSelectionStatus(), new Promise((y) => {
5751
5751
  fe().then(() => mn(!1)).then(() => (Zo(), pl(), mn(!1))).then(() => {
5752
5752
  let Ie = v, xe = C;
5753
5753
  const Ee = st.value, Ke = xt.value;
@@ -5761,7 +5761,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
5761
5761
  });
5762
5762
  })));
5763
5763
  }, br = () => {
5764
- Qr(), zn(), Jr(), ko(), Ta(), Fa(), fe(() => setTimeout(() => r.recalculate()));
5764
+ Qr(), zn(), Jr(), ko(), Fa(), Ta(), fe(() => setTimeout(() => r.recalculate()));
5765
5765
  }, Ia = () => {
5766
5766
  gn();
5767
5767
  }, os = () => {
@@ -5781,8 +5781,8 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
5781
5781
  endIndex: t ? b + v : b + v + m + a
5782
5782
  };
5783
5783
  s.visibleStartIndex = b - 1, s.visibleEndIndex = b + v + 1, Pn(o.concat(n), C, "col");
5784
- const { startIndex: D, endIndex: T } = C;
5785
- (b <= u || b >= h - v - 1) && (u !== D || h !== T) && (s.startIndex = D, s.endIndex = T, r.updateScrollXData()), r.closeTooltip();
5784
+ const { startIndex: D, endIndex: F } = C;
5785
+ (b <= u || b >= h - v - 1) && (u !== D || h !== F) && (s.startIndex = D, s.endIndex = F, r.updateScrollXData()), r.closeTooltip();
5786
5786
  }, xr = (t) => {
5787
5787
  const o = [];
5788
5788
  return t.forEach((n) => {
@@ -5802,12 +5802,12 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
5802
5802
  b.forEach((k) => {
5803
5803
  k.visible && (k.fixed === "left" ? o.push(k) : k.fixed === "right" ? s.push(k) : n.push(k));
5804
5804
  });
5805
- const D = o.concat(n).concat(s), T = !!h.enabled && h.gt > -1 && (h.gt === 0 || h.gt < b.length);
5806
- if (f.hasFixedColumn = o.length > 0 || s.length > 0, Object.assign(u, { leftList: o, centerList: n, rightList: s }), T && (e.spanMethod && at("vxe.error.scrollErrProp", ["span-method"]), e.footerSpanMethod && at("vxe.error.scrollErrProp", ["footer-span-method"]), t)) {
5805
+ const D = o.concat(n).concat(s), F = !!h.enabled && h.gt > -1 && (h.gt === 0 || h.gt < b.length);
5806
+ if (f.hasFixedColumn = o.length > 0 || s.length > 0, Object.assign(u, { leftList: o, centerList: n, rightList: s }), F && (e.spanMethod && at("vxe.error.scrollErrProp", ["span-method"]), e.footerSpanMethod && at("vxe.error.scrollErrProp", ["footer-span-method"]), t)) {
5807
5807
  const { visibleSize: k } = Yo();
5808
5808
  v.startIndex = 0, v.endIndex = k, v.visibleSize = k, v.visibleStartIndex = 0, v.visibleEndIndex = k;
5809
5809
  }
5810
- return (D.length !== d.visibleColumn.length || !d.visibleColumn.every((k, L) => k === D[L])) && (r.clearMergeCells(), r.clearMergeFooterItems()), f.scrollXLoad = T, D.forEach((k, L) => {
5810
+ return (D.length !== d.visibleColumn.length || !d.visibleColumn.every((k, L) => k === D[L])) && (r.clearMergeCells(), r.clearMergeFooterItems()), f.scrollXLoad = F, D.forEach((k, L) => {
5811
5811
  const _ = k.id, I = C[_];
5812
5812
  I && (I._index = L);
5813
5813
  }), d.visibleColumn = D, os(), t ? (Us(), r.updateFooter().then(() => r.recalculate()).then(() => (r.updateCellAreas(), r.recalculate()))) : r.updateFooter();
@@ -5821,7 +5821,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
5821
5821
  const o = yt.value;
5822
5822
  d.collectColumn = t;
5823
5823
  const n = xr(t);
5824
- return d.tableFullColumn = n, f.isColLoading = !0, f.isDragColMove = !1, ka(), Promise.resolve(Fl()).then(() => {
5824
+ return d.tableFullColumn = n, f.isColLoading = !0, f.isDragColMove = !1, ka(), Promise.resolve(Tl()).then(() => {
5825
5825
  const { scrollXLoad: s, scrollYLoad: a, expandColumn: u } = f;
5826
5826
  return ul(), ls(!0).then(() => {
5827
5827
  f.scrollXLoad && jl();
@@ -5834,11 +5834,11 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
5834
5834
  const { treeConfig: o } = e, n = xt.value, s = it.value, { transform: a } = s, u = t || d.tableFullData, h = (a || !o) && !!n.enabled && n.gt > -1 && (n.gt === 0 || n.gt < u.length);
5835
5835
  return f.scrollYLoad = h, h;
5836
5836
  }, qs = (t, o) => {
5837
- const { treeNodeColumn: n } = f, { fullAllDataRowIdData: s, tableFullTreeData: a, treeExpandedMaps: u, treeExpandLazyLoadedMaps: h } = d, m = it.value, { reserve: b, lazy: v, accordion: C, toggleMethod: D } = m, T = m.children || m.childrenField, k = m.hasChild || m.hasChildField, L = [], _ = r.getColumnIndex(n), I = r.getVMColumnIndex(n), { handleGetRowId: M } = go(r);
5837
+ const { treeNodeColumn: n } = f, { fullAllDataRowIdData: s, tableFullTreeData: a, treeExpandedMaps: u, treeExpandLazyLoadedMaps: h } = d, m = it.value, { reserve: b, lazy: v, accordion: C, toggleMethod: D } = m, F = m.children || m.childrenField, k = m.hasChild || m.hasChildField, L = [], _ = r.getColumnIndex(n), I = r.getVMColumnIndex(n), { handleGetRowId: M } = go(r);
5838
5838
  let G = D ? t.filter((N) => D({ $table: r, expanded: o, column: n, columnIndex: _, $columnIndex: I, row: N })) : t;
5839
5839
  if (C) {
5840
5840
  G = G.length ? [G[G.length - 1]] : [];
5841
- const N = i.findTree(a, (y) => y === G[0], { children: T });
5841
+ const N = i.findTree(a, (y) => y === G[0], { children: F });
5842
5842
  N && N.items.forEach((y) => {
5843
5843
  const Ie = M(y);
5844
5844
  u[Ie] && delete u[Ie];
@@ -5848,7 +5848,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
5848
5848
  const y = M(N);
5849
5849
  if (!u[y]) {
5850
5850
  const Ie = s[y];
5851
- Ie && (v && N[k] && !Ie.treeLoaded && !h[y] ? L.push(Jo(N)) : N[T] && N[T].length && (u[y] = N));
5851
+ Ie && (v && N[k] && !Ie.treeLoaded && !h[y] ? L.push(Jo(N)) : N[F] && N[F].length && (u[y] = N));
5852
5852
  }
5853
5853
  }) : G.forEach((N) => {
5854
5854
  const y = M(N);
@@ -5866,8 +5866,8 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
5866
5866
  v = v.length ? [v[v.length - 1]] : [];
5867
5867
  const C = i.findTree(s, (D) => Be(r, D) === Be(r, v[0]), { children: h });
5868
5868
  C && C.items.forEach((D) => {
5869
- const T = b(D);
5870
- a[T] && delete a[T];
5869
+ const F = b(D);
5870
+ a[F] && delete a[F];
5871
5871
  });
5872
5872
  }
5873
5873
  o ? v.forEach((C) => {
@@ -5896,8 +5896,8 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
5896
5896
  endIndex: o ? v + C : v + C + b + a
5897
5897
  };
5898
5898
  s.visibleStartIndex = v - 1, s.visibleEndIndex = v + C + 1, Pn(n, D, "row");
5899
- const { startIndex: T, endIndex: k } = D;
5900
- (v <= u || v >= h - C - 1) && (u !== T || h !== k) && (s.startIndex = T, s.endIndex = k, r.updateScrollYData());
5899
+ const { startIndex: F, endIndex: k } = D;
5900
+ (v <= u || v >= h - C - 1) && (u !== F || h !== k) && (s.startIndex = F, s.endIndex = k, r.updateScrollYData());
5901
5901
  }, vr = (t) => {
5902
5902
  const { handleGetRowId: o } = go(r);
5903
5903
  return function(n) {
@@ -5979,19 +5979,19 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
5979
5979
  const { expandColumn: t } = f, { afterFullData: o, fullAllDataRowIdData: n, rowExpandedMaps: s } = d, a = yt.value, u = K.value, h = Je.value, m = Oe.value, { handleGetRowId: b } = go(r);
5980
5980
  let v = 0;
5981
5981
  for (let C = 0, D = o.length; C < D; C++) {
5982
- const T = o[C], k = b(T), L = n[k] || {};
5982
+ const F = o[C], k = b(F), L = n[k] || {};
5983
5983
  L.oTop = v, v += L.resizeHeight || h.height || u.height || L.height || m, t && s[k] && (v += L.expandHeight || a.height || 0);
5984
5984
  }
5985
5985
  }, zl = () => {
5986
5986
  const { expandColumn: t, scrollYLoad: o, scrollYTop: n, isScrollYBig: s } = f, a = yt.value, u = K.value, h = Je.value, m = Oe.value, { mode: b } = a;
5987
5987
  if (t && b === "fixed") {
5988
- const { elemStore: v, fullAllDataRowIdData: C } = d, D = le.value, T = ot(v["main-body-scroll"]);
5989
- if (D && T) {
5988
+ const { elemStore: v, fullAllDataRowIdData: C } = d, D = le.value, F = ot(v["main-body-scroll"]);
5989
+ if (D && F) {
5990
5990
  let k = !1;
5991
5991
  i.arrayEach(D.children, (L) => {
5992
5992
  const _ = L, I = _.getAttribute("rowid") || "", M = C[I];
5993
5993
  if (M) {
5994
- const G = _.offsetHeight + 1, N = T.querySelector(`.vxe-body--row[rowid="${I}"]`);
5994
+ const G = _.offsetHeight + 1, N = F.querySelector(`.vxe-body--row[rowid="${I}"]`);
5995
5995
  let y = 0;
5996
5996
  o ? s && N ? y = N.offsetTop + N.offsetHeight : y = M.oTop + (M.resizeHeight || h.height || u.height || M.height || m) : N && (y = N.offsetTop + N.offsetHeight), s && (y += n), _.style.top = rr(y), k || M.expandHeight !== G && (k = !0), M.expandHeight = G;
5997
5997
  }
@@ -6097,7 +6097,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
6097
6097
  * 用于树结构,给行数据加载子节点
6098
6098
  */
6099
6099
  loadTreeChildren(t, o) {
6100
- const { keepSource: n } = e, { tableSourceData: s, fullDataRowIdData: a, fullAllDataRowIdData: u, sourceDataRowIdData: h } = d, m = it.value, { transform: b, mapChildrenField: v } = m, C = m.children || m.childrenField, D = u[Be(r, t)], T = D ? D.level : 0;
6100
+ const { keepSource: n } = e, { tableSourceData: s, fullDataRowIdData: a, fullAllDataRowIdData: u, sourceDataRowIdData: h } = d, m = it.value, { transform: b, mapChildrenField: v } = m, C = m.children || m.childrenField, D = u[Be(r, t)], F = D ? D.level : 0;
6101
6101
  return j.createData(o).then((k) => {
6102
6102
  if (n) {
6103
6103
  const L = Be(r, t), _ = i.findTree(s, (I) => L === Be(r, I), { children: C });
@@ -6107,7 +6107,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
6107
6107
  });
6108
6108
  }
6109
6109
  return i.eachTree(k, (L, _, I, M, G, N) => {
6110
- const y = Be(r, L), Ie = G || D.row, xe = { row: L, rowid: y, seq: -1, index: _, _index: -1, $index: -1, treeIndex: -1, items: I, parent: Ie, level: T + N.length, height: 0, resizeHeight: 0, oTop: 0, expandHeight: 0 };
6110
+ const y = Be(r, L), Ie = G || D.row, xe = { row: L, rowid: y, seq: -1, index: _, _index: -1, $index: -1, treeIndex: -1, items: I, parent: Ie, level: F + N.length, height: 0, resizeHeight: 0, oTop: 0, expandHeight: 0 };
6111
6111
  a[y] = xe, u[y] = xe;
6112
6112
  }, { children: C }), t[C] = k, b && (t[v] = i.clone(k, !1)), _o(), k;
6113
6113
  });
@@ -6231,7 +6231,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
6231
6231
  * 如果还额外传了 field 则还原指定的单元格数据
6232
6232
  */
6233
6233
  revertData(t, o) {
6234
- const { keepSource: n, treeConfig: s } = e, { fullAllDataRowIdData: a, fullDataRowIdData: u, tableSourceData: h, sourceDataRowIdData: m, tableFullData: b, afterFullData: v, removeRowMaps: C } = d, D = it.value, { transform: T } = D, { handleGetRowId: k } = go(r);
6234
+ const { keepSource: n, treeConfig: s } = e, { fullAllDataRowIdData: a, fullDataRowIdData: u, tableSourceData: h, sourceDataRowIdData: m, tableFullData: b, afterFullData: v, removeRowMaps: C } = d, D = it.value, { transform: F } = D, { handleGetRowId: k } = go(r);
6235
6235
  if (!n)
6236
6236
  return process.env.NODE_ENV === "development" && qe("vxe.error.reqProp", ["keep-source"]), fe();
6237
6237
  let L = t;
@@ -6246,7 +6246,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
6246
6246
  y && N && (o ? i.set(N, o, i.clone(i.get(y, o), !0)) : i.destructuring(N, i.clone(y, !0)), !u[M] && r.isRemoveByRow(N) && (C[M] && delete C[M], b.unshift(N), v.unshift(N), _ = !0));
6247
6247
  }
6248
6248
  }
6249
- }), t ? (_ && (f.removeRowFlag++, r.updateFooter(), r.cacheRowMap(!1), r.handleTableData(s && T), s && T || r.updateAfterDataIndex(), r.checkSelectionStatus(), f.scrollYLoad && r.updateScrollYSpace()), fe().then(() => (r.updateCellAreas(), r.recalculate()))) : r.reloadData(h);
6249
+ }), t ? (_ && (f.removeRowFlag++, r.updateFooter(), r.cacheRowMap(!1), r.handleTableData(s && F), s && F || r.updateAfterDataIndex(), r.checkSelectionStatus(), f.scrollYLoad && r.updateScrollYSpace()), fe().then(() => (r.updateCellAreas(), r.recalculate()))) : r.reloadData(h);
6250
6250
  },
6251
6251
  /**
6252
6252
  * 清空单元格内容
@@ -6286,10 +6286,10 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
6286
6286
  return h[v].label;
6287
6287
  const D = { cellValue: a, row: t, rowIndex: j.getRowIndex(t), column: n, columnIndex: j.getColumnIndex(n) };
6288
6288
  if (i.isString(s)) {
6289
- const T = Mi.get(s), k = T ? T.tableCellFormatMethod || T.cellFormatMethod : null;
6289
+ const F = Mi.get(s), k = F ? F.tableCellFormatMethod || F.cellFormatMethod : null;
6290
6290
  u = k ? k(D) : "";
6291
6291
  } else if (i.isArray(s)) {
6292
- const T = Mi.get(s[0]), k = T ? T.tableCellFormatMethod || T.cellFormatMethod : null;
6292
+ const F = Mi.get(s[0]), k = F ? F.tableCellFormatMethod || F.cellFormatMethod : null;
6293
6293
  u = k ? k(D, ...s.slice(1)) : "";
6294
6294
  } else
6295
6295
  u = s(D);
@@ -6332,8 +6332,8 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
6332
6332
  if (arguments.length > 1)
6333
6333
  return !fr(v, b, o);
6334
6334
  for (let C = 0, D = s.length; C < D; C++) {
6335
- const T = s[C].field;
6336
- if (T && !fr(v, b, T))
6335
+ const F = s[C].field;
6336
+ if (F && !fr(v, b, F))
6337
6337
  return !0;
6338
6338
  }
6339
6339
  }
@@ -6400,13 +6400,13 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
6400
6400
  let D = "left";
6401
6401
  if (i.isNumber(o)) {
6402
6402
  if (C && o) {
6403
- let T = C.items, k = C._index + o;
6404
- m && (T = a, k = C._index + o), k > 0 && k < T.length - 1 && (v = T[k]), o > 0 && (D = "right");
6403
+ let F = C.items, k = C._index + o;
6404
+ m && (F = a, k = C._index + o), k > 0 && k < F.length - 1 && (v = F[k]), o > 0 && (D = "right");
6405
6405
  }
6406
6406
  } else {
6407
6407
  v = uo(r, o);
6408
- const T = v ? s[v.id] : null;
6409
- C && T && T._index > C._index && (D = "right");
6408
+ const F = v ? s[v.id] : null;
6409
+ C && F && F._index > C._index && (D = "right");
6410
6410
  }
6411
6411
  return r.handleColDragSwapEvent(null, !0, b, v, h || D, u === !0);
6412
6412
  },
@@ -6418,19 +6418,19 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
6418
6418
  */
6419
6419
  moveRowTo(t, o, n) {
6420
6420
  const { treeConfig: s } = e, { fullAllDataRowIdData: a, afterFullData: u } = d, { dragToChild: h, dragPos: m, isCrossDrag: b } = Object.assign({}, n), v = it.value, C = di(r, t);
6421
- let D = null, T = "top";
6421
+ let D = null, F = "top";
6422
6422
  const k = C ? a[Be(r, C)] : null;
6423
6423
  if (i.isNumber(o)) {
6424
6424
  if (k && o) {
6425
6425
  let L = u, _ = k._index + o;
6426
- s && (L = k.items, v.transform && (_ = k.treeIndex + o, b && (L = u, _ = k._index + o))), _ >= 0 && _ <= L.length - 1 && (D = L[_]), o > 0 && (T = "bottom");
6426
+ s && (L = k.items, v.transform && (_ = k.treeIndex + o, b && (L = u, _ = k._index + o))), _ >= 0 && _ <= L.length - 1 && (D = L[_]), o > 0 && (F = "bottom");
6427
6427
  }
6428
6428
  } else {
6429
6429
  D = di(r, o);
6430
6430
  const L = D ? a[Be(r, D)] : null;
6431
- k && L && L._index > k._index && (T = "bottom");
6431
+ k && L && L._index > k._index && (F = "bottom");
6432
6432
  }
6433
- return r.handleRowDragSwapEvent(null, !0, C, D, m || T, h === !0);
6433
+ return r.handleRowDragSwapEvent(null, !0, C, D, m || F, h === !0);
6434
6434
  },
6435
6435
  /**
6436
6436
  * 获取表格的全量列
@@ -6450,13 +6450,13 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
6450
6450
  * 用于多选行,获取已选中的数据
6451
6451
  */
6452
6452
  getCheckboxRecords(t) {
6453
- const { treeConfig: o } = e, { updateCheckboxFlag: n } = f, { tableFullData: s, afterFullData: a, tableFullTreeData: u, fullDataRowIdData: h, afterFullRowMaps: m, selectCheckboxMaps: b } = d, v = it.value, C = We.value, { transform: D, mapChildrenField: T } = v, { checkField: k } = C, L = v.children || v.childrenField;
6453
+ const { treeConfig: o } = e, { updateCheckboxFlag: n } = f, { tableFullData: s, afterFullData: a, tableFullTreeData: u, fullDataRowIdData: h, afterFullRowMaps: m, selectCheckboxMaps: b } = d, v = it.value, C = We.value, { transform: D, mapChildrenField: F } = v, { checkField: k } = C, L = v.children || v.childrenField;
6454
6454
  let _ = [];
6455
6455
  if (n)
6456
6456
  if (k)
6457
6457
  if (o) {
6458
6458
  const I = t ? D ? u : s : D ? u : a;
6459
- _ = i.filterTree(I, (M) => i.get(M, k), { children: D ? T : L });
6459
+ _ = i.filterTree(I, (M) => i.get(M, k), { children: D ? F : L });
6460
6460
  } else
6461
6461
  _ = (t ? s : a).filter((M) => i.get(M, k));
6462
6462
  else {
@@ -6604,7 +6604,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
6604
6604
  let s = !1;
6605
6605
  const a = i.isArray(t) ? t : [t];
6606
6606
  let u = i.toInteger(o);
6607
- if (Fn(o)) {
6607
+ if (Tn(o)) {
6608
6608
  const h = ot(n["main-body-scroll"]), m = h ? h.clientWidth - 1 : 0;
6609
6609
  u = Math.floor(u * m);
6610
6610
  }
@@ -6651,8 +6651,8 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
6651
6651
  if (C) {
6652
6652
  const D = C.resizeHeight;
6653
6653
  if (D || t) {
6654
- const T = D || u.height || a.height || C.height || h;
6655
- m[v] = T;
6654
+ const F = D || u.height || a.height || C.height || h;
6655
+ m[v] = F;
6656
6656
  }
6657
6657
  }
6658
6658
  }), m;
@@ -6662,7 +6662,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
6662
6662
  let s = !1;
6663
6663
  const a = i.isArray(t) ? t : [t];
6664
6664
  let u = i.toInteger(o);
6665
- if (Fn(o)) {
6665
+ if (Tn(o)) {
6666
6666
  const h = R.value, m = h ? h.$el : null, b = m ? m.clientHeight - 1 : 0;
6667
6667
  u = Math.floor(u * b);
6668
6668
  }
@@ -6836,8 +6836,8 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
6836
6836
  C[v(D)] = 1;
6837
6837
  }, { children: m }) : n.forEach((D) => {
6838
6838
  C[v(D)] = 1;
6839
- }), i.each(a, (D, T) => {
6840
- D && (t ? s[T] || b.push(D) : C[T] || b.push(D));
6839
+ }), i.each(a, (D, F) => {
6840
+ D && (t ? s[F] || b.push(D) : C[F] || b.push(D));
6841
6841
  });
6842
6842
  }
6843
6843
  return b;
@@ -7105,7 +7105,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
7105
7105
  setRowExpand(t, o) {
7106
7106
  const { expandColumn: n } = f;
7107
7107
  let { fullAllDataRowIdData: s, rowExpandedMaps: a, rowExpandLazyLoadedMaps: u } = d;
7108
- const { handleGetRowId: h } = go(r), m = yt.value, { reserve: b, lazy: v, accordion: C, toggleMethod: D } = m, T = [], k = n ? r.getColumnIndex(n) : -1, L = n ? r.getVMColumnIndex(n) : -1;
7108
+ const { handleGetRowId: h } = go(r), m = yt.value, { reserve: b, lazy: v, accordion: C, toggleMethod: D } = m, F = [], k = n ? r.getColumnIndex(n) : -1, L = n ? r.getVMColumnIndex(n) : -1;
7109
7109
  if (t) {
7110
7110
  i.isArray(t) || (t = [t]), C && (a = {}, d.rowExpandedMaps = a, t = t.slice(t.length - 1, t.length));
7111
7111
  const _ = D ? t.filter((I) => D({ $table: r, expanded: o, column: n, columnIndex: k, $columnIndex: L, row: I, rowIndex: r.getRowIndex(I), $rowIndex: r.getVMRowIndex(I) })) : t;
@@ -7113,14 +7113,14 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
7113
7113
  const M = h(I);
7114
7114
  if (!a[M]) {
7115
7115
  const G = s[M];
7116
- v && !G.expandLoaded && !u[M] ? T.push(js(I)) : a[M] = I;
7116
+ v && !G.expandLoaded && !u[M] ? F.push(js(I)) : a[M] = I;
7117
7117
  }
7118
7118
  }) : _.forEach((I) => {
7119
7119
  const M = h(I);
7120
7120
  a[M] && delete a[M];
7121
7121
  }), b && _.forEach((I) => zs(I, o));
7122
7122
  }
7123
- return f.rowExpandedFlag++, Promise.all(T).then(() => fe()).then(() => r.recalculate(!0)).then(() => (pl(), zl(), Zs(), r.updateCellAreas()));
7123
+ return f.rowExpandedFlag++, Promise.all(F).then(() => fe()).then(() => r.recalculate(!0)).then(() => (pl(), zl(), Zs(), r.updateCellAreas()));
7124
7124
  },
7125
7125
  /**
7126
7126
  * 判断行是否为展开状态
@@ -7398,7 +7398,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
7398
7398
  return t && o.area && r.handleRecalculateCellAreaEvent ? r.handleRecalculateCellAreaEvent() : fe();
7399
7399
  },
7400
7400
  getCustomStoreData() {
7401
- const { id: t } = e, o = Mo.value, { collectColumn: n } = d, { storage: s, checkMethod: a } = o, u = s === !0, h = u ? {} : Object.assign({}, s || {}), m = u || h.resizable, b = u || h.visible, v = u || h.fixed, C = u || h.sort, D = {}, T = {}, k = {}, L = {}, _ = {
7401
+ const { id: t } = e, o = Mo.value, { collectColumn: n } = d, { storage: s, checkMethod: a } = o, u = s === !0, h = u ? {} : Object.assign({}, s || {}), m = u || h.resizable, b = u || h.visible, v = u || h.fixed, C = u || h.sort, D = {}, F = {}, k = {}, L = {}, _ = {
7402
7402
  resizableData: void 0,
7403
7403
  sortData: void 0,
7404
7404
  visibleData: void 0,
@@ -7413,8 +7413,8 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
7413
7413
  qe("vxe.error.reqProp", [`${y.getTitle() || y.type || ""} -> column.field=?`]);
7414
7414
  return;
7415
7415
  }
7416
- Ke || (C && (M = 1, T[Ne] = y.renderSortNumber), v && y.fixed !== y.defaultFixed && (G = 1, L[Ne] = y.fixed)), m && y.resizeWidth && (I = 1, D[Ne] = y.renderWidth), b && (!a || a({ $table: r, column: y })) && (!y.visible && y.defaultVisible ? (N = 1, k[Ne] = !1) : y.visible && !y.defaultVisible && (N = 1, k[Ne] = !0));
7417
- }), I && (_.resizableData = D), M && (_.sortData = T), G && (_.fixedData = L), N && (_.visibleData = k), _;
7416
+ Ke || (C && (M = 1, F[Ne] = y.renderSortNumber), v && y.fixed !== y.defaultFixed && (G = 1, L[Ne] = y.fixed)), m && y.resizeWidth && (I = 1, D[Ne] = y.renderWidth), b && (!a || a({ $table: r, column: y })) && (!y.visible && y.defaultVisible ? (N = 1, k[Ne] = !1) : y.visible && !y.defaultVisible && (N = 1, k[Ne] = !0));
7417
+ }), I && (_.resizableData = D), M && (_.sortData = F), G && (_.fixedData = L), N && (_.visibleData = k), _;
7418
7418
  },
7419
7419
  focus() {
7420
7420
  return d.isActivated = !0, fe();
@@ -7431,13 +7431,13 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
7431
7431
  }
7432
7432
  };
7433
7433
  const _a = (t) => {
7434
- const { editStore: o, ctxMenuStore: n, filterStore: s, customStore: a } = f, { mouseConfig: u, editRules: h } = e, m = H.value, b = Jt.value, v = nt.value, C = to.value, { actived: D } = o, T = W.value, k = J.value, L = pe.value, _ = ee.value;
7434
+ const { editStore: o, ctxMenuStore: n, filterStore: s, customStore: a } = f, { mouseConfig: u, editRules: h } = e, m = H.value, b = Jt.value, v = nt.value, C = to.value, { actived: D } = o, F = W.value, k = J.value, L = pe.value, _ = ee.value;
7435
7435
  if (k && (Bt(t, m, "vxe-cell--filter").flag || Bt(t, k.getRefMaps().refElem.value).flag || Bt(t, document.body, "vxe-table--ignore-clear").flag || z.preventEvent(t, "event.clearFilter", s.args, j.closeFilter)), L && (a.btnEl === t.target || Bt(t, document.body, "vxe-toolbar-custom-target").flag || Bt(t, L.$el).flag || Bt(t, document.body, "vxe-table--ignore-clear").flag || z.preventEvent(t, "event.clearCustom", {}, () => {
7436
7436
  r.closeCustom && r.closeCustom();
7437
7437
  })), D.row) {
7438
7438
  if (b.autoClear !== !1) {
7439
7439
  const M = D.args.cell;
7440
- (!M || !Bt(t, M).flag) && (T && Bt(t, T.$el).flag || (!d._lastCallTime || d._lastCallTime + 50 < Date.now()) && (Bt(t, document.body, "vxe-table--ignore-clear").flag || z.preventEvent(t, "event.clearEdit", D.args, () => {
7440
+ (!M || !Bt(t, M).flag) && (F && Bt(t, F.$el).flag || (!d._lastCallTime || d._lastCallTime + 50 < Date.now()) && (Bt(t, document.body, "vxe-table--ignore-clear").flag || z.preventEvent(t, "event.clearEdit", D.args, () => {
7441
7441
  let G;
7442
7442
  if (b.mode === "row") {
7443
7443
  const N = Bt(t, m, "vxe-body--row"), y = N.flag ? j.getRowNode(N.targetElem) : null;
@@ -7482,7 +7482,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
7482
7482
  });
7483
7483
  }, Xa = (t) => {
7484
7484
  d.isActivated && r.preventEvent(t, "event.keydown", null, () => {
7485
- const { mouseConfig: o, keyboardConfig: n, treeConfig: s, editConfig: a, highlightCurrentRow: u, highlightCurrentColumn: h } = e, { ctxMenuStore: m, editStore: b, currentRow: v } = f, { afterFullData: C } = d, D = oo.value, T = Eo.value, k = et.value, L = St.value, _ = Jt.value, I = it.value, M = Io.value, G = K.value, N = He.value, { selected: y, actived: Ie } = b, xe = I.children || I.childrenField, Ee = t.keyCode, Ke = Kt.hasKey(t, qo.ESCAPE), Ne = Kt.hasKey(t, qo.BACKSPACE), $e = Kt.hasKey(t, qo.TAB), Qe = Kt.hasKey(t, qo.ENTER), Ve = Kt.hasKey(t, qo.SPACEBAR), gt = Kt.hasKey(t, qo.ARROW_LEFT), bt = Kt.hasKey(t, qo.ARROW_UP), dt = Kt.hasKey(t, qo.ARROW_RIGHT), ut = Kt.hasKey(t, qo.ARROW_DOWN), Et = Kt.hasKey(t, qo.DELETE), lo = Kt.hasKey(t, qo.F2), Yt = Kt.hasKey(t, qo.CONTEXT_MENU), no = lr(t), It = t.shiftKey, bo = t.altKey, ro = gt || bt || dt || ut, Ro = D && m.visible && (Qe || Ve || ro), qt = vt(a) && Ie.column && Ie.row, so = _.beforeEditMethod || _.activeMethod;
7485
+ const { mouseConfig: o, keyboardConfig: n, treeConfig: s, editConfig: a, highlightCurrentRow: u, highlightCurrentColumn: h } = e, { ctxMenuStore: m, editStore: b, currentRow: v } = f, { afterFullData: C } = d, D = oo.value, F = Eo.value, k = et.value, L = St.value, _ = Jt.value, I = it.value, M = Io.value, G = K.value, N = He.value, { selected: y, actived: Ie } = b, xe = I.children || I.childrenField, Ee = t.keyCode, Ke = Kt.hasKey(t, qo.ESCAPE), Ne = Kt.hasKey(t, qo.BACKSPACE), $e = Kt.hasKey(t, qo.TAB), Qe = Kt.hasKey(t, qo.ENTER), Ve = Kt.hasKey(t, qo.SPACEBAR), gt = Kt.hasKey(t, qo.ARROW_LEFT), bt = Kt.hasKey(t, qo.ARROW_UP), dt = Kt.hasKey(t, qo.ARROW_RIGHT), ut = Kt.hasKey(t, qo.ARROW_DOWN), Et = Kt.hasKey(t, qo.DELETE), lo = Kt.hasKey(t, qo.F2), Yt = Kt.hasKey(t, qo.CONTEXT_MENU), no = lr(t), It = t.shiftKey, bo = t.altKey, ro = gt || bt || dt || ut, Ro = D && m.visible && (Qe || Ve || ro), qt = vt(a) && Ie.column && Ie.row, so = _.beforeEditMethod || _.activeMethod;
7486
7486
  if (Ro)
7487
7487
  t.preventDefault(), m.showChild && kn(m.selected) ? r.moveCtxMenu(t, m, "selectChild", gt, !1, m.selected.children) : r.moveCtxMenu(t, m, "selected", dt, !0, M);
7488
7488
  else if (n && o && L.area && r.handleKeyboardCellAreaEvent)
@@ -7497,7 +7497,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
7497
7497
  else if (lo && vt(a))
7498
7498
  qt || y.row && y.column && (t.preventDefault(), r.handleEdit(y.args, t));
7499
7499
  else if (Yt)
7500
- d._keyCtx = y.row && y.column && T.length, clearTimeout(d.keyCtxTimeout), d.keyCtxTimeout = setTimeout(() => {
7500
+ d._keyCtx = y.row && y.column && F.length, clearTimeout(d.keyCtxTimeout), d.keyCtxTimeout = setTimeout(() => {
7501
7501
  d._keyCtx = !1;
7502
7502
  }, 1e3);
7503
7503
  else if (Qe && !bo && n && k.isEnter && (y.row || Ie.row || s && (G.isCurrent || u) && v)) {
@@ -7685,7 +7685,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
7685
7685
  const u = H.value;
7686
7686
  if (!u)
7687
7687
  return;
7688
- const { overflowX: h, scrollbarWidth: m, overflowY: b, scrollbarHeight: v } = f, { prevDragToChild: C } = d, D = u.getBoundingClientRect(), T = b ? m : 0, k = h ? v : 0, L = u.clientWidth, _ = u.clientHeight;
7688
+ const { overflowX: h, scrollbarWidth: m, overflowY: b, scrollbarHeight: v } = f, { prevDragToChild: C } = d, D = u.getBoundingClientRect(), F = b ? m : 0, k = h ? v : 0, L = u.clientWidth, _ = u.clientHeight;
7689
7689
  if (o) {
7690
7690
  const M = de.value;
7691
7691
  if (M)
@@ -7693,7 +7693,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
7693
7693
  const G = Ye.value, N = o.getBoundingClientRect();
7694
7694
  let y = o.clientHeight;
7695
7695
  const Ie = Math.max(1, N.y - D.y);
7696
- Ie + y > _ - k && (y = _ - Ie - k), M.style.display = "block", M.style.left = `${G ? T : 0}px`, M.style.top = `${Ie}px`, M.style.height = `${y}px`, M.style.width = `${L - T}px`, M.setAttribute("drag-pos", a), M.setAttribute("drag-to-child", C ? "y" : "n");
7696
+ Ie + y > _ - k && (y = _ - Ie - k), M.style.display = "block", M.style.left = `${G ? F : 0}px`, M.style.top = `${Ie}px`, M.style.height = `${y}px`, M.style.width = `${L - F}px`, M.setAttribute("drag-pos", a), M.setAttribute("drag-to-child", C ? "y" : "n");
7697
7697
  } else
7698
7698
  M.style.display = "";
7699
7699
  } else if (n) {
@@ -7705,7 +7705,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
7705
7705
  const Ne = Math.max(0, Ee.y - D.y), $e = y;
7706
7706
  let Qe = Ee.x - D.x;
7707
7707
  Qe < $e && (Ke -= $e - Qe, Qe = $e);
7708
- const Ve = L - xe - (xe ? 0 : T);
7708
+ const Ve = L - xe - (xe ? 0 : F);
7709
7709
  Qe + Ke > Ve && (Ke = Ve - Qe), M.style.display = "block", M.style.top = `${Ne}px`, M.style.left = `${Qe}px`, M.style.width = `${Ke}px`, C ? M.style.height = `${Ee.height}px` : M.style.height = `${_ - Ne - (G ? 0 : k)}px`, M.setAttribute("drag-pos", a), M.setAttribute("drag-to-child", C ? "y" : "n");
7710
7710
  } else
7711
7711
  M.style.display = "";
@@ -7720,7 +7720,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
7720
7720
  if (!u)
7721
7721
  return fe();
7722
7722
  a.cell = o;
7723
- const { tooltipStore: h } = f, m = zt.value, { column: b, row: v } = a, { showAll: C, contentMethod: D } = m, T = D ? D(a) : null, k = D && !i.eqNull(T), L = k ? T : i.toString(b.type === "html" ? u.innerText : u.textContent).trim(), _ = u.scrollWidth > u.clientWidth;
7723
+ const { tooltipStore: h } = f, m = zt.value, { column: b, row: v } = a, { showAll: C, contentMethod: D } = m, F = D ? D(a) : null, k = D && !i.eqNull(F), L = k ? F : i.toString(b.type === "html" ? u.innerText : u.textContent).trim(), _ = u.scrollWidth > u.clientWidth;
7724
7724
  return L && (C || k || _) && (Object.assign(h, {
7725
7725
  row: v,
7726
7726
  column: b,
@@ -7735,7 +7735,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
7735
7735
  if (Ge)
7736
7736
  return Ge.callSlot(t, o);
7737
7737
  if (i.isFunction(t))
7738
- return Fo(t(o));
7738
+ return To(t(o));
7739
7739
  }
7740
7740
  return [];
7741
7741
  };
@@ -7783,11 +7783,11 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
7783
7783
  defineField(t) {
7784
7784
  const { treeConfig: o } = e, n = yt.value, s = it.value, a = Mt.value, u = We.value, h = s.children || s.childrenField, m = xl(r);
7785
7785
  return i.isArray(t) || (t = [t]), t.map((b) => (d.tableFullColumn.forEach((C) => {
7786
- const { field: D, editRender: T } = C;
7786
+ const { field: D, editRender: F } = C;
7787
7787
  if (D && !i.has(b, D) && !b[D]) {
7788
7788
  let k = null;
7789
- if (T) {
7790
- const { defaultValue: L } = T;
7789
+ if (F) {
7790
+ const { defaultValue: L } = F;
7791
7791
  i.isFunction(L) ? k = L({ column: C }) : i.isUndefined(L) || (k = L);
7792
7792
  }
7793
7793
  i.set(b, D, k);
@@ -7810,25 +7810,25 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
7810
7810
  * 更新数据行的 Map
7811
7811
  */
7812
7812
  cacheRowMap(t) {
7813
- const { treeConfig: o } = e, { isRowGroupStatus: n } = f, { fullAllDataRowIdData: s, tableFullData: a, tableFullTreeData: u, tableFullGroupData: h, treeExpandedMaps: m } = d, b = t ? {} : Object.assign({}, s), v = {}, { handleUpdateRowId: C } = ci(r), D = (T, k, L, _, I, M, G, N) => {
7813
+ const { treeConfig: o } = e, { isRowGroupStatus: n } = f, { fullAllDataRowIdData: s, tableFullData: a, tableFullTreeData: u, tableFullGroupData: h, treeExpandedMaps: m } = d, b = t ? {} : Object.assign({}, s), v = {}, { handleUpdateRowId: C } = ci(r), D = (F, k, L, _, I, M, G, N) => {
7814
7814
  let y = b[M];
7815
- y || (y = { row: T, rowid: M, seq: N, index: -1, _index: -1, $index: -1, treeIndex: k, items: L, parent: I, level: G, height: 0, resizeHeight: 0, oTop: 0, expandHeight: 0 }, v[M] = y, b[M] = y), y.treeLoaded = !1, y.expandLoaded = !1, y.row = T, y.items = L, y.parent = I, y.level = G, y.index = _, y.treeIndex = k, v[M] = y, b[M] = y;
7815
+ y || (y = { row: F, rowid: M, seq: N, index: -1, _index: -1, $index: -1, treeIndex: k, items: L, parent: I, level: G, height: 0, resizeHeight: 0, oTop: 0, expandHeight: 0 }, v[M] = y, b[M] = y), y.treeLoaded = !1, y.expandLoaded = !1, y.row = F, y.items = L, y.parent = I, y.level = G, y.index = _, y.treeIndex = k, v[M] = y, b[M] = y;
7816
7816
  };
7817
7817
  if (o) {
7818
- const T = it.value, { lazy: k } = T, L = T.children || T.childrenField, _ = T.hasChild || T.hasChildField;
7818
+ const F = it.value, { lazy: k } = F, L = F.children || F.childrenField, _ = F.hasChild || F.hasChildField;
7819
7819
  i.eachTree(u, (I, M, G, N, y, Ie) => {
7820
7820
  const xe = C(I);
7821
7821
  o && k && (I[_] && I[L] === void 0 && (I[L] = null), m[xe] && (!I[L] || !I[L].length) && delete m[xe]), D(I, M, G, y ? -1 : M, y, xe, Ie.length - 1, ui(N));
7822
7822
  }, { children: L });
7823
7823
  } else if (n) {
7824
- const T = De.value, { mapChildrenField: k } = T;
7824
+ const F = De.value, { mapChildrenField: k } = F;
7825
7825
  i.eachTree(h, (L, _, I, M, G, N) => {
7826
7826
  const y = C(L);
7827
7827
  D(L, _, I, G ? -1 : _, G, y, N.length - 1, ui(M));
7828
7828
  }, { children: k });
7829
7829
  } else
7830
- a.forEach((T, k, L) => {
7831
- D(T, k, L, k, null, C(T), 0, k + 1);
7830
+ a.forEach((F, k, L) => {
7831
+ D(F, k, L, k, null, C(F), 0, k + 1);
7832
7832
  });
7833
7833
  d.fullDataRowIdData = v, d.fullAllDataRowIdData = b, f.treeExpandedFlag++;
7834
7834
  },
@@ -7849,13 +7849,13 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
7849
7849
  */
7850
7850
  analyColumnWidth() {
7851
7851
  const { tableFullColumn: t } = d, o = He.value, { width: n, minWidth: s } = o, a = [], u = [], h = [], m = [], b = [], v = [], C = [], D = [];
7852
- t.forEach((T) => {
7853
- n && !T.width && (T.width = n), s && !T.minWidth && (T.minWidth = s), T.visible && (T.resizeWidth ? a.push(T) : T.width === "auto" ? C.push(T) : Ds(T.width) ? u.push(T) : Fn(T.width) ? b.push(T) : Ds(T.minWidth) ? h.push(T) : T.minWidth === "auto" ? m.push(T) : Fn(T.minWidth) ? v.push(T) : D.push(T));
7852
+ t.forEach((F) => {
7853
+ n && !F.width && (F.width = n), s && !F.minWidth && (F.minWidth = s), F.visible && (F.resizeWidth ? a.push(F) : F.width === "auto" ? C.push(F) : Ds(F.width) ? u.push(F) : Tn(F.width) ? b.push(F) : Ds(F.minWidth) ? h.push(F) : F.minWidth === "auto" ? m.push(F) : Tn(F.minWidth) ? v.push(F) : D.push(F));
7854
7854
  }), Object.assign(f.columnStore, { resizeList: a, pxList: u, pxMinList: h, autoMinList: m, scaleList: b, scaleMinList: v, autoList: C, remainList: D });
7855
7855
  },
7856
7856
  handleColResizeMousedownEvent(t, o, n) {
7857
7857
  t.stopPropagation(), t.preventDefault();
7858
- const { column: s } = n, { columnStore: a, overflowX: u, scrollbarHeight: h } = f, { elemStore: m, visibleColumn: b } = d, { leftList: v, rightList: C } = a, D = ht.value, T = u ? h : 0, k = H.value, L = Re.value, _ = Se.value, I = ve.value;
7858
+ const { column: s } = n, { columnStore: a, overflowX: u, scrollbarHeight: h } = f, { elemStore: m, visibleColumn: b } = d, { leftList: v, rightList: C } = a, D = ht.value, F = u ? h : 0, k = H.value, L = Re.value, _ = Se.value, I = ve.value;
7859
7859
  if (!I)
7860
7860
  return;
7861
7861
  const M = o === "left", G = o === "right", N = I.firstElementChild, y = ze.value, { clientX: Ie } = t, xe = t.target;
@@ -7883,7 +7883,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
7883
7883
  let kt = lo + Ht;
7884
7884
  M ? gt && (kt = Math.min(kt, gt.x - Ve.x - bo - Yt)) : G && (L && (kt = Math.max(kt, L.clientWidth + ro + Yt)), kt = Math.min(kt, It)), $e = Math.max(kt, no);
7885
7885
  const Ho = Math.max(1, $e);
7886
- if (I.style.left = `${Ho}px`, I.style.top = `${y ? T : 0}px`, I.style.height = `${y ? so - T : so}px`, D.showDragTip && N) {
7886
+ if (I.style.left = `${Ho}px`, I.style.top = `${y ? F : 0}px`, I.style.height = `${y ? so - F : so}px`, D.showDragTip && N) {
7887
7887
  N.textContent = hl("vxe.table.resizeColTip", [Math.floor(Ee.renderWidth + (G ? lo - $e : $e - lo))]);
7888
7888
  const Co = k.clientWidth, Bo = I.clientWidth, $o = N.clientWidth, Rl = N.clientHeight;
7889
7889
  let Wo = -$o;
@@ -7910,7 +7910,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
7910
7910
  h.children && h.children.length && i.eachTree(h.children, (I) => {
7911
7911
  m = I;
7912
7912
  });
7913
- const b = m.id, v = u[b], D = t.target.parentNode, T = Object.assign(o, { cell: D }), k = fi(T);
7913
+ const b = m.id, v = u[b], D = t.target.parentNode, F = Object.assign(o, { cell: D }), k = fi(F);
7914
7914
  a.setAttribute("data-calc-col", "Y");
7915
7915
  let L = gr(m, a);
7916
7916
  a.removeAttribute("data-calc-col"), v && (L = Math.max(L, v.width)), L = Math.max(k, L);
@@ -7920,7 +7920,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
7920
7920
  },
7921
7921
  handleRowResizeMousedownEvent(t, o) {
7922
7922
  t.stopPropagation(), t.preventDefault();
7923
- const { row: n } = o, { overflowX: s, scrollbarWidth: a, overflowY: u, scrollbarHeight: h } = f, { elemStore: m, fullAllDataRowIdData: b } = d, v = u ? a : 0, C = s ? h : 0, D = Ye.value, T = ht.value, k = K.value, L = Je.value, _ = H.value, I = Fe.value;
7923
+ const { row: n } = o, { overflowX: s, scrollbarWidth: a, overflowY: u, scrollbarHeight: h } = f, { elemStore: m, fullAllDataRowIdData: b } = d, v = u ? a : 0, C = s ? h : 0, D = Ye.value, F = ht.value, k = K.value, L = Je.value, _ = H.value, I = Te.value;
7924
7924
  if (!I)
7925
7925
  return;
7926
7926
  const { clientY: M } = t, G = I.firstElementChild, y = t.currentTarget.parentNode, Ie = y.parentNode;
@@ -7941,7 +7941,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
7941
7941
  Yt.stopPropagation(), Yt.preventDefault();
7942
7942
  const no = _.clientWidth - v, It = _.clientHeight - C;
7943
7943
  let bo = Yt.clientY - Qe.y - gt;
7944
- if (bo < Et ? bo = Et : bt = Math.max(ut, $e + Yt.clientY - M), I.style.left = `${D ? v : 0}px`, I.style.top = `${bo}px`, I.style.width = `${no}px`, T.showDragTip && G) {
7944
+ if (bo < Et ? bo = Et : bt = Math.max(ut, $e + Yt.clientY - M), I.style.left = `${D ? v : 0}px`, I.style.top = `${bo}px`, I.style.width = `${no}px`, F.showDragTip && G) {
7945
7945
  G.textContent = hl("vxe.table.resizeRowTip", [bt]);
7946
7946
  const ro = G.clientWidth, Ro = G.clientHeight;
7947
7947
  let qt = Math.max(2, Yt.clientX - Qe.x), so = 0;
@@ -7968,10 +7968,10 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
7968
7968
  return;
7969
7969
  const D = () => {
7970
7970
  a.setAttribute("data-calc-row", "Y");
7971
- const T = Vn(C, a);
7971
+ const F = Vn(C, a);
7972
7972
  a.removeAttribute("data-calc-row");
7973
- const k = Object.assign(Object.assign({}, o), { resizeHeight: T, resizeRow: b });
7974
- f.isDragResize = !1, d._lastResizeTime = Date.now(), r.handleRowResizeDblclickCellAreaEvent ? r.handleRowResizeDblclickCellAreaEvent(t, k) : (C.resizeHeight = T, Ys(t, k));
7973
+ const k = Object.assign(Object.assign({}, o), { resizeHeight: F, resizeRow: b });
7974
+ f.isDragResize = !1, d._lastResizeTime = Date.now(), r.handleRowResizeDblclickCellAreaEvent ? r.handleRowResizeDblclickCellAreaEvent(t, k) : (C.resizeHeight = F, Ys(t, k));
7975
7975
  };
7976
7976
  m.row || m.column ? r.clearEdit().then(D) : D();
7977
7977
  }
@@ -7981,7 +7981,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
7981
7981
  if (t !== "reset" && (f.isCustomStatus = !0), (o ? vt(s) : s.enabled) && (b || v || C || D)) {
7982
7982
  if (!n)
7983
7983
  return qe("vxe.error.reqProp", ["id"]), fe();
7984
- const T = t === "reset" ? {
7984
+ const F = t === "reset" ? {
7985
7985
  resizableData: {},
7986
7986
  sortData: {},
7987
7987
  visibleData: {},
@@ -7992,9 +7992,9 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
7992
7992
  $table: r,
7993
7993
  id: n,
7994
7994
  type: t,
7995
- storeData: T
7995
+ storeData: F
7996
7996
  });
7997
- Dl(n, t === "reset" ? null : T);
7997
+ Dl(n, t === "reset" ? null : F);
7998
7998
  }
7999
7999
  return fe();
8000
8000
  },
@@ -8009,8 +8009,8 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
8009
8009
  f.reColumnFlag++;
8010
8010
  },
8011
8011
  preventEvent(t, o, n, s, a) {
8012
- let u = Ti.get(o);
8013
- !u.length && o === "event.clearEdit" && (u = Ti.get("event.clearActived"), process.env.NODE_ENV === "development" && u.length && at("vxe.error.delEvent", ["event.clearActived", "event.clearEdit"]));
8012
+ let u = Fi.get(o);
8013
+ !u.length && o === "event.clearEdit" && (u = Fi.get("event.clearActived"), process.env.NODE_ENV === "development" && u.length && at("vxe.error.delEvent", ["event.clearActived", "event.clearEdit"]));
8014
8014
  let h = null, m = !1;
8015
8015
  for (let b = 0; b < u.length; b++) {
8016
8016
  const v = u[b], C = v(Object.assign({ $grid: Ge, $table: r, $event: t }, n));
@@ -8025,7 +8025,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
8025
8025
  return m || s && (h = s()), a && a(), h;
8026
8026
  },
8027
8027
  updateCheckboxStatus() {
8028
- const { treeConfig: t } = e, { isRowGroupStatus: o } = f, { afterTreeFullData: n, afterGroupFullData: s, selectCheckboxMaps: a, treeIndeterminateRowMaps: u } = d, h = De.value, m = it.value, b = m.children || m.childrenField, v = We.value, { checkField: C, checkStrictly: D, checkMethod: T } = v;
8028
+ const { treeConfig: t } = e, { isRowGroupStatus: o } = f, { afterTreeFullData: n, afterGroupFullData: s, selectCheckboxMaps: a, treeIndeterminateRowMaps: u } = d, h = De.value, m = it.value, b = m.children || m.childrenField, v = We.value, { checkField: C, checkStrictly: D, checkMethod: F } = v;
8029
8029
  if (!D) {
8030
8030
  if (o || t) {
8031
8031
  const { handleGetRowId: k } = go(r), L = {}, _ = [];
@@ -8045,9 +8045,9 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
8045
8045
  _.forEach((I) => {
8046
8046
  const M = I[0], G = I[1], N = I[2];
8047
8047
  let y = 0, Ie = 0, xe = 0;
8048
- N.forEach(T ? (Ne) => {
8048
+ N.forEach(F ? (Ne) => {
8049
8049
  const $e = k(Ne), Qe = C ? i.get(Ne, C) : a[$e];
8050
- T({ $table: r, row: Ne }) ? (Qe ? y++ : u[$e] && Ie++, xe++) : Qe ? y++ : u[$e] && Ie++;
8050
+ F({ $table: r, row: Ne }) ? (Qe ? y++ : u[$e] && Ie++, xe++) : Qe ? y++ : u[$e] && Ie++;
8051
8051
  } : (Ne) => {
8052
8052
  const $e = k(Ne);
8053
8053
  (C ? i.get(Ne, C) : a[$e]) ? y++ : u[$e] && Ie++, xe++;
@@ -8060,14 +8060,14 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
8060
8060
  }
8061
8061
  },
8062
8062
  updateAllCheckboxStatus() {
8063
- const { treeConfig: t } = e, { isRowGroupStatus: o } = f, { afterFullData: n, afterTreeFullData: s, afterGroupFullData: a, checkboxReserveRowMap: u, selectCheckboxMaps: h, treeIndeterminateRowMaps: m } = d, b = We.value, { checkField: v, checkMethod: C, showReserveStatus: D } = b, { handleGetRowId: T } = go(r);
8063
+ const { treeConfig: t } = e, { isRowGroupStatus: o } = f, { afterFullData: n, afterTreeFullData: s, afterGroupFullData: a, checkboxReserveRowMap: u, selectCheckboxMaps: h, treeIndeterminateRowMaps: m } = d, b = We.value, { checkField: v, checkMethod: C, showReserveStatus: D } = b, { handleGetRowId: F } = go(r);
8064
8064
  let k = 0, L = 0, _ = 0;
8065
8065
  const I = t ? s : o ? a : n;
8066
8066
  I.forEach(C ? (N) => {
8067
- const y = T(N), Ie = v ? i.get(N, v) : h[y];
8067
+ const y = F(N), Ie = v ? i.get(N, v) : h[y];
8068
8068
  C({ $table: r, row: N }) ? (Ie ? k++ : m[y] && L++, _++) : Ie ? k++ : m[y] && L++;
8069
8069
  } : (N) => {
8070
- const y = T(N);
8070
+ const y = F(N);
8071
8071
  (v ? i.get(N, v) : h[y]) ? k++ : m[y] && L++, _++;
8072
8072
  });
8073
8073
  const M = I.length > 0 ? _ > 0 ? k >= _ : k >= I.length : !1;
@@ -8082,16 +8082,16 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
8082
8082
  * 多选,行选中事件
8083
8083
  */
8084
8084
  handleBatchSelectRows(t, o, n) {
8085
- const { treeConfig: s } = e, { isRowGroupStatus: a } = f, { selectCheckboxMaps: u } = d, h = De.value, m = it.value, { transform: b, mapChildrenField: v } = m, C = m.children || m.childrenField, D = We.value, { checkField: T, checkStrictly: k, checkMethod: L } = D, { handleGetRowId: _ } = go(r), I = D.indeterminateField || D.halfField;
8086
- if (T) {
8085
+ const { treeConfig: s } = e, { isRowGroupStatus: a } = f, { selectCheckboxMaps: u } = d, h = De.value, m = it.value, { transform: b, mapChildrenField: v } = m, C = m.children || m.childrenField, D = We.value, { checkField: F, checkStrictly: k, checkMethod: L } = D, { handleGetRowId: _ } = go(r), I = D.indeterminateField || D.halfField;
8086
+ if (F) {
8087
8087
  if ((s || a) && !k) {
8088
8088
  i.eachTree(t, (M) => {
8089
- (n || !L || L({ $table: r, row: M })) && (i.set(M, T, o), I && i.set(M, I, !1), Qo(M, o));
8089
+ (n || !L || L({ $table: r, row: M })) && (i.set(M, F, o), I && i.set(M, I, !1), Qo(M, o));
8090
8090
  }, { children: b ? v : C }), f.updateCheckboxFlag++;
8091
8091
  return;
8092
8092
  }
8093
8093
  t.forEach((M) => {
8094
- (n || !L || L({ $table: r, row: M })) && (i.set(M, T, o), Qo(M, o));
8094
+ (n || !L || L({ $table: r, row: M })) && (i.set(M, F, o), Qo(M, o));
8095
8095
  }), f.updateCheckboxFlag++;
8096
8096
  return;
8097
8097
  }
@@ -8195,8 +8195,8 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
8195
8195
  const { highlightCurrentRow: n, highlightCurrentColumn: s, editConfig: a } = e, { editStore: u, isDragResize: h } = f;
8196
8196
  if (h)
8197
8197
  return;
8198
- const m = yt.value, b = Jt.value, v = it.value, C = Mt.value, D = We.value, T = et.value, k = De.value, L = K.value, _ = He.value, I = mt.value, { actived: M, focused: G } = u, { row: N, column: y } = o, { type: Ie, treeNode: xe, rowGroupNode: Ee } = y, Ke = Ie === "radio", Ne = Ie === "checkbox", $e = Ie === "expand", Qe = t.currentTarget, Ve = Ke && Bt(t, Qe, "vxe-cell--radio").flag, gt = Ne && Bt(t, Qe, "vxe-cell--checkbox").flag, bt = xe && Bt(t, Qe, "vxe-cell--tree-btn").flag, dt = $e && Bt(t, Qe, "vxe-table--expanded").flag, ut = $e && Bt(t, Qe, "vxe-row-group--node-btn").flag;
8199
- o = Object.assign({ cell: Qe, triggerRadio: Ve, triggerCheckbox: gt, triggerTreeNode: bt, triggerExpandNode: dt }, o), !gt && !Ve && (!dt && (m.trigger === "row" || $e && m.trigger === "cell") && r.triggerRowExpandEvent(t, o), (v.trigger === "row" || xe && v.trigger === "cell") && r.triggerTreeExpandEvent(t, o), (k.trigger === "row" || Ee && k.trigger === "cell") && r.triggerRowGroupExpandEvent(t, o)), bt || (!dt && !ut && ((L.isCurrent || n) && !gt && !Ve && r.triggerCurrentRowEvent(t, o), (_.isCurrent || s) && (!I.trigger || ["cell", "default"].includes(I.trigger)) && !gt && !Ve && r.triggerCurrentColumnEvent(t, o), !Ve && (C.trigger === "row" || Ke && C.trigger === "cell") && r.triggerRadioRowEvent(t, o), !gt && (D.trigger === "row" || Ne && D.trigger === "cell") && r.handleToggleCheckRowEvent(t, o)), vt(a) && (T.arrowCursorLock && t && b.mode === "cell" && t.target && /^input|textarea$/i.test(t.target.tagName) && (G.column = y, G.row = N), b.trigger === "manual" ? M.args && M.row === N && y !== M.column && pn(t, o) : (!M.args || N !== M.row || y !== M.column) && (b.trigger === "click" || b.trigger === "dblclick" && b.mode === "row" && M.row === N) && pn(t, o))), vt(a) && b.trigger === "dblclick" && M.row && M.column && (b.mode === "row" ? r.eqRow(M.row, N) || r.handleClearEdit(t) : b.mode === "cell" && (!r.eqRow(M.row, N) || M.column.id !== y.id) && r.handleClearEdit(t)), Vt("cell-click", o, t);
8198
+ const m = yt.value, b = Jt.value, v = it.value, C = Mt.value, D = We.value, F = et.value, k = De.value, L = K.value, _ = He.value, I = mt.value, { actived: M, focused: G } = u, { row: N, column: y } = o, { type: Ie, treeNode: xe, rowGroupNode: Ee } = y, Ke = Ie === "radio", Ne = Ie === "checkbox", $e = Ie === "expand", Qe = t.currentTarget, Ve = Ke && Bt(t, Qe, "vxe-cell--radio").flag, gt = Ne && Bt(t, Qe, "vxe-cell--checkbox").flag, bt = xe && Bt(t, Qe, "vxe-cell--tree-btn").flag, dt = $e && Bt(t, Qe, "vxe-table--expanded").flag, ut = $e && Bt(t, Qe, "vxe-row-group--node-btn").flag;
8199
+ o = Object.assign({ cell: Qe, triggerRadio: Ve, triggerCheckbox: gt, triggerTreeNode: bt, triggerExpandNode: dt }, o), !gt && !Ve && (!dt && (m.trigger === "row" || $e && m.trigger === "cell") && r.triggerRowExpandEvent(t, o), (v.trigger === "row" || xe && v.trigger === "cell") && r.triggerTreeExpandEvent(t, o), (k.trigger === "row" || Ee && k.trigger === "cell") && r.triggerRowGroupExpandEvent(t, o)), bt || (!dt && !ut && ((L.isCurrent || n) && !gt && !Ve && r.triggerCurrentRowEvent(t, o), (_.isCurrent || s) && (!I.trigger || ["cell", "default"].includes(I.trigger)) && !gt && !Ve && r.triggerCurrentColumnEvent(t, o), !Ve && (C.trigger === "row" || Ke && C.trigger === "cell") && r.triggerRadioRowEvent(t, o), !gt && (D.trigger === "row" || Ne && D.trigger === "cell") && r.handleToggleCheckRowEvent(t, o)), vt(a) && (F.arrowCursorLock && t && b.mode === "cell" && t.target && /^input|textarea$/i.test(t.target.tagName) && (G.column = y, G.row = N), b.trigger === "manual" ? M.args && M.row === N && y !== M.column && pn(t, o) : (!M.args || N !== M.row || y !== M.column) && (b.trigger === "click" || b.trigger === "dblclick" && b.mode === "row" && M.row === N) && pn(t, o))), vt(a) && b.trigger === "dblclick" && M.row && M.column && (b.mode === "row" ? r.eqRow(M.row, N) || r.handleClearEdit(t) : b.mode === "cell" && (!r.eqRow(M.row, N) || M.column.id !== y.id) && r.handleClearEdit(t)), Vt("cell-click", o, t);
8200
8200
  },
8201
8201
  /**
8202
8202
  * 列双击点击事件
@@ -8224,10 +8224,10 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
8224
8224
  if (t.stopPropagation(), m.isShiftKey && t.shiftKey && !(s || u)) {
8225
8225
  const C = r.getCheckboxRecords();
8226
8226
  if (C.length) {
8227
- const D = C[0], T = r.getVTRowIndex(a), k = r.getVTRowIndex(D);
8228
- if (T !== k) {
8227
+ const D = C[0], F = r.getVTRowIndex(a), k = r.getVTRowIndex(D);
8228
+ if (F !== k) {
8229
8229
  r.setAllCheckboxRow(!1);
8230
- const L = T < k ? h.slice(T, k + 1) : h.slice(k, T + 1);
8230
+ const L = F < k ? h.slice(F, k + 1) : h.slice(k, F + 1);
8231
8231
  fe(() => {
8232
8232
  Po(L, !0, !1);
8233
8233
  }), Vt("checkbox-range-select", Object.assign({ rangeRecords: L }, o), t);
@@ -8318,12 +8318,12 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
8318
8318
  t.stopPropagation();
8319
8319
  const C = Be(r, u);
8320
8320
  if (!m || !n[C]) {
8321
- const D = !r.isTreeExpandByRow(u), T = r.getColumnIndex(h), k = r.getVMColumnIndex(h);
8321
+ const D = !r.isTreeExpandByRow(u), F = r.getColumnIndex(h), k = r.getVMColumnIndex(h);
8322
8322
  s && clearTimeout(s), r.setTreeExpand(u, D).then(() => {
8323
8323
  v && (d.treeEATime = setTimeout(() => {
8324
8324
  d.treeEATime = void 0, r.scrollToRow(u);
8325
8325
  }, 30));
8326
- }), Vt("toggle-tree-expand", { expanded: D, column: h, columnIndex: T, $columnIndex: k, row: u }, t);
8326
+ }), Vt("toggle-tree-expand", { expanded: D, column: h, columnIndex: F, $columnIndex: k, row: u }, t);
8327
8327
  }
8328
8328
  },
8329
8329
  handleColumnSortEvent(t, o) {
@@ -8359,10 +8359,10 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
8359
8359
  * 表头单元格按下事件
8360
8360
  */
8361
8361
  triggerHeaderCellMousedownEvent(t, o) {
8362
- const { mouseConfig: n } = e, s = St.value, a = He.value, u = rt.value, { trigger: h, isCrossDrag: m, isPeerDrag: b, disabledMethod: v } = u, C = t.currentTarget, D = C && C.tagName && C.tagName.toLowerCase() === "input", T = Bt(t, C, "vxe-cell--checkbox").flag, k = Bt(t, C, "vxe-cell--sort").flag, L = Bt(t, C, "vxe-cell--filter").flag;
8362
+ const { mouseConfig: n } = e, s = St.value, a = He.value, u = rt.value, { trigger: h, isCrossDrag: m, isPeerDrag: b, disabledMethod: v } = u, C = t.currentTarget, D = C && C.tagName && C.tagName.toLowerCase() === "input", F = Bt(t, C, "vxe-cell--checkbox").flag, k = Bt(t, C, "vxe-cell--sort").flag, L = Bt(t, C, "vxe-cell--filter").flag;
8363
8363
  let _ = !1;
8364
8364
  const I = a.drag && h === "cell";
8365
- if (!(D || T || k || L)) {
8365
+ if (!(D || F || k || L)) {
8366
8366
  const { column: M } = o;
8367
8367
  I && !M.fixed && (m || b || !M.parentId) && !(v && v(o)) && (_ = !0, r.handleHeaderCellDragMousedownEvent(t, o));
8368
8368
  }
@@ -8372,13 +8372,13 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
8372
8372
  * 单元格按下事件
8373
8373
  */
8374
8374
  triggerCellMousedownEvent(t, o) {
8375
- const { column: n } = o, { type: s, treeNode: a } = n, u = s === "radio", h = s === "checkbox", m = s === "expand", b = K.value, v = tt.value, { trigger: C, isCrossDrag: D, isPeerDrag: T, disabledMethod: k } = v, L = t.currentTarget;
8375
+ const { column: n } = o, { type: s, treeNode: a } = n, u = s === "radio", h = s === "checkbox", m = s === "expand", b = K.value, v = tt.value, { trigger: C, isCrossDrag: D, isPeerDrag: F, disabledMethod: k } = v, L = t.currentTarget;
8376
8376
  o.cell = L;
8377
8377
  const _ = L && L.tagName && L.tagName.toLowerCase() === "input", I = u && Bt(t, L, "vxe-cell--radio").flag, M = h && Bt(t, L, "vxe-cell--checkbox").flag, G = a && Bt(t, L, "vxe-cell--tree-btn").flag, N = m && Bt(t, L, "vxe-table--expanded").flag;
8378
8378
  let y = !1;
8379
8379
  b.drag && (y = C === "row" || n.dragSort && C === "cell");
8380
8380
  let Ie = !1;
8381
- _ || I || M || G || N || y && (D || T || !o.level) && !(k && k(o)) && (Ie = !0, r.handleCellDragMousedownEvent(t, o)), !Ie && r.handleCellMousedownEvent && r.handleCellMousedownEvent(t, o), r.focus(), r.closeFilter(), r.closeMenu && r.closeMenu();
8381
+ _ || I || M || G || N || y && (D || F || !o.level) && !(k && k(o)) && (Ie = !0, r.handleCellDragMousedownEvent(t, o)), !Ie && r.handleCellMousedownEvent && r.handleCellMousedownEvent(t, o), r.focus(), r.closeFilter(), r.closeMenu && r.closeMenu();
8382
8382
  },
8383
8383
  triggerCellMouseupEvent() {
8384
8384
  Js();
@@ -8390,7 +8390,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
8390
8390
  t.dataTransfer && t.dataTransfer.setDragImage(Os(), 0, 0);
8391
8391
  },
8392
8392
  handleRowDragSwapEvent(t, o, n, s, a, u) {
8393
- const { treeConfig: h, dragConfig: m } = e, b = tt.value, { afterFullData: v, tableFullData: C, fullAllDataRowIdData: D } = d, { isPeerDrag: T, isCrossDrag: k, isSelfToChildDrag: L, dragEndMethod: _, dragToChildMethod: I } = b, M = it.value, { transform: G, rowField: N, mapChildrenField: y, parentField: Ie } = M, xe = M.children || M.childrenField, Ee = _ || (m ? m.dragEndMethod : null), Ke = a === "bottom" ? 1 : 0, Ne = {
8393
+ const { treeConfig: h, dragConfig: m } = e, b = tt.value, { afterFullData: v, tableFullData: C, fullAllDataRowIdData: D } = d, { isPeerDrag: F, isCrossDrag: k, isSelfToChildDrag: L, dragEndMethod: _, dragToChildMethod: I } = b, M = it.value, { transform: G, rowField: N, mapChildrenField: y, parentField: Ie } = M, xe = M.children || M.childrenField, Ee = _ || (m ? m.dragEndMethod : null), Ke = a === "bottom" ? 1 : 0, Ne = {
8394
8394
  status: !1
8395
8395
  };
8396
8396
  if (s && n && s !== n) {
@@ -8416,7 +8416,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
8416
8416
  }, { children: y });
8417
8417
  let bo = !1;
8418
8418
  if (Yt && no)
8419
- if (T && !k) {
8419
+ if (F && !k) {
8420
8420
  if (ut.row[Ie] !== lo.row[Ie])
8421
8421
  return Ne;
8422
8422
  } else {
@@ -8498,7 +8498,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
8498
8498
  }, 500);
8499
8499
  },
8500
8500
  handleRowDragDragoverEvent(t) {
8501
- const { treeConfig: o } = e, { fullAllDataRowIdData: n } = d, { dragRow: s } = f, a = it.value, { lazy: u, transform: h, parentField: m } = a, b = a.hasChild || a.hasChildField, v = tt.value, { isPeerDrag: C, isCrossDrag: D, isToChildDrag: T } = v;
8501
+ const { treeConfig: o } = e, { fullAllDataRowIdData: n } = d, { dragRow: s } = f, a = it.value, { lazy: u, transform: h, parentField: m } = a, b = a.hasChild || a.hasChildField, v = tt.value, { isPeerDrag: C, isCrossDrag: D, isToChildDrag: F } = v;
8502
8502
  if (!s) {
8503
8503
  t.preventDefault();
8504
8504
  return;
@@ -8508,7 +8508,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
8508
8508
  const M = I.row, G = Be(r, M), N = n[G];
8509
8509
  t.preventDefault();
8510
8510
  const { dragRow: y } = f, xe = t.clientY - L.getBoundingClientRect().y < L.clientHeight / 2 ? "top" : "bottom";
8511
- if (d.prevDragToChild = !!(o && h && D && T && k), d.prevDragRow = M, d.prevDragPos = xe, r.eqRow(y, M) || k && o && u && M[b] && N && !N.treeLoaded || !D && o && h && (C ? y[m] !== M[m] : I.level)) {
8511
+ if (d.prevDragToChild = !!(o && h && D && F && k), d.prevDragRow = M, d.prevDragPos = xe, r.eqRow(y, M) || k && o && u && M[b] && N && !N.treeLoaded || !D && o && h && (C ? y[m] !== M[m] : I.level)) {
8512
8512
  Er(t, L, null, !1, xe);
8513
8513
  return;
8514
8514
  }
@@ -8544,7 +8544,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
8544
8544
  });
8545
8545
  },
8546
8546
  handleColDragSwapEvent(t, o, n, s, a, u) {
8547
- const { mouseConfig: h } = e, m = rt.value, { isPeerDrag: b, isCrossDrag: v, isSelfToChildDrag: C, isToChildDrag: D, dragEndMethod: T, dragToChildMethod: k } = m, { collectColumn: L } = d, _ = a === "right" ? 1 : 0, I = {
8547
+ const { mouseConfig: h } = e, m = rt.value, { isPeerDrag: b, isCrossDrag: v, isSelfToChildDrag: C, isToChildDrag: D, dragEndMethod: F, dragToChildMethod: k } = m, { collectColumn: L } = d, _ = a === "right" ? 1 : 0, I = {
8548
8548
  status: !1
8549
8549
  };
8550
8550
  if (s && n && s !== n) {
@@ -8556,7 +8556,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
8556
8556
  dragToChild: !!u,
8557
8557
  offsetIndex: _
8558
8558
  }, y = C && k ? k(N) : u;
8559
- return Promise.resolve(T ? T(N) : !0).then((Ie) => {
8559
+ return Promise.resolve(F ? F(N) : !0).then((Ie) => {
8560
8560
  if (!Ie)
8561
8561
  return I;
8562
8562
  let xe = -1, Ee = -1;
@@ -8647,15 +8647,15 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
8647
8647
  const h = lr(t), m = t.currentTarget, b = m.getAttribute("colid"), v = r.getColumnById(b);
8648
8648
  if (v) {
8649
8649
  t.preventDefault();
8650
- const { clientX: C } = t, T = C - m.getBoundingClientRect().x < m.clientWidth / 2 ? "left" : "right";
8651
- if (d.prevDragToChild = !!(u && s && h), d.prevDragCol = v, d.prevDragPos = T, v.fixed || o && o.id === v.id || !u && (a ? o.parentId !== v.parentId : v.parentId)) {
8652
- Er(t, null, m, !1, T);
8650
+ const { clientX: C } = t, F = C - m.getBoundingClientRect().x < m.clientWidth / 2 ? "left" : "right";
8651
+ if (d.prevDragToChild = !!(u && s && h), d.prevDragCol = v, d.prevDragPos = F, v.fixed || o && o.id === v.id || !u && (a ? o.parentId !== v.parentId : v.parentId)) {
8652
+ Er(t, null, m, !1, F);
8653
8653
  return;
8654
8654
  }
8655
- Er(t, null, m, !0, T), Vt("column-dragover", {
8655
+ Er(t, null, m, !0, F), Vt("column-dragover", {
8656
8656
  oldColumn: o,
8657
8657
  targetColumn: v,
8658
- dragPos: T
8658
+ dragPos: F
8659
8659
  }, t);
8660
8660
  const k = H.value;
8661
8661
  if (!k)
@@ -8690,7 +8690,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
8690
8690
  const { highlightHoverRow: h } = e, { lastScrollLeft: m, lastScrollTop: b } = d, v = re.value, C = ce.value;
8691
8691
  if (!v || !C)
8692
8692
  return;
8693
- const D = K.value, T = W.value, k = Y.value, L = C.clientHeight, _ = v.clientWidth, I = C.scrollHeight, M = v.scrollWidth;
8693
+ const D = K.value, F = W.value, k = Y.value, L = C.clientHeight, _ = v.clientWidth, I = C.scrollHeight, M = v.scrollWidth;
8694
8694
  let G = !1, N = !1, y = !1, Ie = !1, xe = "", Ee = !1, Ke = !1, Ne = !1, $e = !1;
8695
8695
  if (n) {
8696
8696
  const Ve = Ct.value;
@@ -8716,7 +8716,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
8716
8716
  isRight: Ie,
8717
8717
  direction: xe
8718
8718
  }, u);
8719
- zl(), Pa(n, o), n && r.closeFilter(), (D.isHover || h) && r.clearHoverRow(), T && T.reactData.visible && T.close(), k && k.reactData.visible && k.close(), (Ke || Ee || $e || Ne) && Vt("scroll-boundary", Qe, t), Vt("scroll", Qe, t);
8719
+ zl(), Pa(n, o), n && r.closeFilter(), (D.isHover || h) && r.clearHoverRow(), F && F.reactData.visible && F.close(), k && k.reactData.visible && k.close(), (Ke || Ee || $e || Ne) && Vt("scroll-boundary", Qe, t), Vt("scroll", Qe, t);
8720
8720
  },
8721
8721
  /**
8722
8722
  * 横向 X 可视渲染事件处理
@@ -8731,11 +8731,11 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
8731
8731
  xt.value.immediate ? Wn() : $a();
8732
8732
  },
8733
8733
  triggerBodyScrollEvent(t, o) {
8734
- const { scrollYLoad: n, scrollXLoad: s } = f, { elemStore: a, intoRunScroll: u, lastScrollTop: h, lastScrollLeft: m, inWheelScroll: b, inVirtualScroll: v, inHeaderScroll: C, inBodyScroll: D, scrollRenderType: T, inFooterScroll: k } = d;
8734
+ const { scrollYLoad: n, scrollXLoad: s } = f, { elemStore: a, intoRunScroll: u, lastScrollTop: h, lastScrollLeft: m, inWheelScroll: b, inVirtualScroll: v, inHeaderScroll: C, inBodyScroll: D, scrollRenderType: F, inFooterScroll: k } = d;
8735
8735
  if (b || v || C || k)
8736
8736
  return;
8737
8737
  const L = re.value, _ = ce.value, I = ot(a["left-body-scroll"]), M = ot(a["main-body-scroll"]), G = ot(a["right-body-scroll"]), N = ot(a["main-header-scroll"]), y = ot(a["main-footer-scroll"]), Ie = le.value;
8738
- if (u || !M || !L || !_ || D && T !== o)
8738
+ if (u || !M || !L || !_ || D && F !== o)
8739
8739
  return;
8740
8740
  let xe = _.scrollTop, Ee = L.scrollLeft;
8741
8741
  I && o === "left" ? xe = I.scrollTop : G && o === "right" ? xe = G.scrollTop : (xe = M.scrollTop, Ee = M.scrollLeft);
@@ -8749,10 +8749,10 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
8749
8749
  const { scrollXLoad: n } = f, { elemStore: s, intoRunScroll: a, inWheelScroll: u, inVirtualScroll: h, inBodyScroll: m, inFooterScroll: b } = d;
8750
8750
  if (u || h || m || b)
8751
8751
  return;
8752
- const v = ce.value, C = re.value, D = ot(s["main-body-scroll"]), T = ot(s["main-header-scroll"]), k = ot(s["main-footer-scroll"]);
8753
- if (a || !T || !C || !v)
8752
+ const v = ce.value, C = re.value, D = ot(s["main-body-scroll"]), F = ot(s["main-header-scroll"]), k = ot(s["main-footer-scroll"]);
8753
+ if (a || !F || !C || !v)
8754
8754
  return;
8755
- const L = v.scrollTop, _ = T.scrollLeft, I = !0, M = !1;
8755
+ const L = v.scrollTop, _ = F.scrollLeft, I = !0, M = !1;
8756
8756
  d.inHeaderScroll = !0, Wt(C, _), Wt(k, _), Wt(D, _), n && r.triggerScrollXEvent(t), r.handleScrollEvent(t, M, I, L, _, {
8757
8757
  type: "header",
8758
8758
  fixed: o
@@ -8762,11 +8762,11 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
8762
8762
  const { scrollXLoad: n } = f, { elemStore: s, intoRunScroll: a, inWheelScroll: u, inVirtualScroll: h, inHeaderScroll: m, inBodyScroll: b } = d;
8763
8763
  if (u || h || m || b)
8764
8764
  return;
8765
- const v = ce.value, C = re.value, D = ot(s["main-body-scroll"]), T = ot(s["main-header-scroll"]), k = ot(s["main-footer-scroll"]);
8765
+ const v = ce.value, C = re.value, D = ot(s["main-body-scroll"]), F = ot(s["main-header-scroll"]), k = ot(s["main-footer-scroll"]);
8766
8766
  if (a || !k || !C || !v)
8767
8767
  return;
8768
8768
  const L = v.scrollTop, _ = k.scrollLeft, I = !0, M = !1;
8769
- d.inFooterScroll = !0, Wt(C, _), Wt(T, _), Wt(D, _), n && r.triggerScrollXEvent(t), r.handleScrollEvent(t, M, I, L, _, {
8769
+ d.inFooterScroll = !0, Wt(C, _), Wt(F, _), Wt(D, _), n && r.triggerScrollXEvent(t), r.handleScrollEvent(t, M, I, L, _, {
8770
8770
  type: "footer",
8771
8771
  fixed: o
8772
8772
  });
@@ -8778,13 +8778,13 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
8778
8778
  const { highlightHoverRow: u } = Nr, { scrollXLoad: h, scrollYLoad: m, expandColumn: b } = f, v = po.value, C = Lt.value;
8779
8779
  if (!(v || C || b))
8780
8780
  return;
8781
- const { elemStore: D, lastScrollTop: T, lastScrollLeft: k } = d, L = K.value, _ = re.value, I = ce.value, M = ot(D["left-body-scroll"]), G = ot(D["main-header-scroll"]), N = ot(D["main-body-scroll"]), y = ot(D["main-footer-scroll"]), Ie = ot(D["right-body-scroll"]), xe = le.value;
8781
+ const { elemStore: D, lastScrollTop: F, lastScrollLeft: k } = d, L = K.value, _ = re.value, I = ce.value, M = ot(D["left-body-scroll"]), G = ot(D["main-header-scroll"]), N = ot(D["main-body-scroll"]), y = ot(D["main-footer-scroll"]), Ie = ot(D["right-body-scroll"]), xe = le.value;
8782
8782
  if (!_ || !I || !N)
8783
8783
  return;
8784
8784
  const Ee = Na(f.lastScrollTime), Ke = a ? 0 : Math.ceil(n * Ee), Ne = a ? Math.ceil((a && n || s) * Ee) : 0, $e = Ke < 0, Qe = N.scrollTop;
8785
8785
  if ($e ? Qe <= 0 : Qe >= N.scrollHeight - N.clientHeight)
8786
8786
  return;
8787
- const Ve = Qe + Ke, gt = N.scrollLeft + Ne, bt = gt !== k, dt = Ve !== T;
8787
+ const Ve = Qe + Ke, gt = N.scrollLeft + Ne, bt = gt !== k, dt = Ve !== F;
8788
8788
  if ((L.isHover || u) && r.clearHoverRow(), bt)
8789
8789
  if (t.preventDefault(), d.inWheelScroll = !0, x.firefox || x.safari) {
8790
8790
  const ut = gt;
@@ -8822,7 +8822,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
8822
8822
  const { scrollXLoad: o } = f, { elemStore: n, inWheelScroll: s, lastScrollTop: a, inHeaderScroll: u, inBodyScroll: h, inFooterScroll: m } = d;
8823
8823
  if (u || h || m || s)
8824
8824
  return;
8825
- const b = ot(n["main-header-scroll"]), v = ot(n["main-body-scroll"]), C = ot(n["main-footer-scroll"]), D = ce.value, T = t.currentTarget, { scrollLeft: k } = T, L = D || v;
8825
+ const b = ot(n["main-header-scroll"]), v = ot(n["main-body-scroll"]), C = ot(n["main-footer-scroll"]), D = ce.value, F = t.currentTarget, { scrollLeft: k } = F, L = D || v;
8826
8826
  let _ = 0;
8827
8827
  L && (_ = L.scrollTop);
8828
8828
  const I = !0, M = _ !== a;
@@ -8835,7 +8835,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
8835
8835
  const { scrollYLoad: o } = f, { elemStore: n, inWheelScroll: s, lastScrollLeft: a, inHeaderScroll: u, inBodyScroll: h, inFooterScroll: m } = d;
8836
8836
  if (u || h || m || s)
8837
8837
  return;
8838
- const b = ot(n["left-body-scroll"]), v = ot(n["main-body-scroll"]), C = ot(n["right-body-scroll"]), D = le.value, T = re.value, k = t.currentTarget, { scrollTop: L } = k, _ = T || v;
8838
+ const b = ot(n["left-body-scroll"]), v = ot(n["main-body-scroll"]), C = ot(n["right-body-scroll"]), D = le.value, F = re.value, k = t.currentTarget, { scrollTop: L } = k, _ = F || v;
8839
8839
  let I = 0;
8840
8840
  _ && (I = _.scrollLeft);
8841
8841
  const M = I !== a, G = !0;
@@ -8867,14 +8867,14 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
8867
8867
  updateScrollXSpace() {
8868
8868
  const { scrollXLoad: t, overflowX: o, scrollXWidth: n } = f, { visibleColumn: s, scrollXStore: a, elemStore: u, fullColumnIdData: h } = d, m = St.value, b = R.value;
8869
8869
  if (b ? b.$el : null) {
8870
- const C = ot(u["main-body-scroll"]), D = ot(u["main-body-table"]), T = ot(u["main-header-table"]), k = ot(u["main-footer-table"]);
8870
+ const C = ot(u["main-body-scroll"]), D = ot(u["main-body-table"]), F = ot(u["main-header-table"]), k = ot(u["main-footer-table"]);
8871
8871
  let L = 0;
8872
8872
  const _ = s[a.startIndex];
8873
8873
  _ && (L = (h[_.id] || {}).oLeft);
8874
8874
  let I = 0;
8875
8875
  C && (I = C.clientWidth);
8876
8876
  let M = !1, G = n;
8877
- n > Rn && (C && D && C.scrollLeft + I >= Rn ? L = Rn - D.clientWidth : L = (Rn - I) * (L / (n - I)), G = Rn, M = !0), t && o || (L = 0), T && (T.style.transform = T.getAttribute("xvm") ? `translate(${L}px, 0px)` : ""), D && (D.style.transform = `translate(${L}px, ${f.scrollYTop || 0}px)`), k && (k.style.transform = k.getAttribute("xvm") ? `translate(${L}px, 0px)` : ""), ["main"].forEach((Ie) => {
8877
+ n > Rn && (C && D && C.scrollLeft + I >= Rn ? L = Rn - D.clientWidth : L = (Rn - I) * (L / (n - I)), G = Rn, M = !0), t && o || (L = 0), F && (F.style.transform = F.getAttribute("xvm") ? `translate(${L}px, 0px)` : ""), D && (D.style.transform = `translate(${L}px, ${f.scrollYTop || 0}px)`), k && (k.style.transform = k.getAttribute("xvm") ? `translate(${L}px, 0px)` : ""), ["main"].forEach((Ie) => {
8878
8878
  ["header", "body", "footer"].forEach((Ee) => {
8879
8879
  const Ke = ot(u[`${Ie}-${Ee}-xSpace`]);
8880
8880
  Ke && (Ke.style.width = t ? `${G}px` : "");
@@ -8888,7 +8888,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
8888
8888
  },
8889
8889
  // 更新纵向 Y 可视渲染上下剩余空间大小
8890
8890
  updateScrollYSpace() {
8891
- const { isAllOverflow: t, overflowY: o, scrollYLoad: n, expandColumn: s } = f, { scrollYStore: a, elemStore: u, isResizeCellHeight: h, afterFullData: m, fullAllDataRowIdData: b, rowExpandedMaps: v } = d, { startIndex: C } = a, D = St.value, T = yt.value, k = K.value, L = Je.value, _ = Oe.value, I = ot(u["main-body-scroll"]), M = ot(u["main-body-table"]), G = ot(u["left-body-table"]), N = ot(u["right-body-table"]), y = ["main", "left", "right"];
8891
+ const { isAllOverflow: t, overflowY: o, scrollYLoad: n, expandColumn: s } = f, { scrollYStore: a, elemStore: u, isResizeCellHeight: h, afterFullData: m, fullAllDataRowIdData: b, rowExpandedMaps: v } = d, { startIndex: C } = a, D = St.value, F = yt.value, k = K.value, L = Je.value, _ = Oe.value, I = ot(u["main-body-scroll"]), M = ot(u["main-body-table"]), G = ot(u["left-body-table"]), N = ot(u["right-body-table"]), y = ["main", "left", "right"];
8892
8892
  let Ie = 0, xe = 0, Ee = !1;
8893
8893
  if (n)
8894
8894
  if (!(h || L.height || k.height) && !s && t)
@@ -8898,7 +8898,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
8898
8898
  let dt = Be(r, bt), ut = b[dt] || {};
8899
8899
  Ie = ut.oTop || 0;
8900
8900
  const Et = m[m.length - 1];
8901
- dt = Be(r, Et), ut = b[dt] || {}, xe = (ut.oTop || 0) + (ut.resizeHeight || L.height || k.height || ut.height || _), s && v[dt] && (xe += ut.expandHeight || T.height || 0), xe > Xl && (Ee = !0);
8901
+ dt = Be(r, Et), ut = b[dt] || {}, xe = (ut.oTop || 0) + (ut.resizeHeight || L.height || k.height || ut.height || _), s && v[dt] && (xe += ut.expandHeight || F.height || 0), xe > Xl && (Ee = !0);
8902
8902
  }
8903
8903
  else
8904
8904
  M && (xe = M.clientHeight);
@@ -8989,7 +8989,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
8989
8989
  tableColumn: a,
8990
8990
  tableGroupColumn: u,
8991
8991
  fixedColumn: v
8992
- }) : To(r),
8992
+ }) : Fo(r),
8993
8993
  g(Ci, {
8994
8994
  ref: b ? q : ue,
8995
8995
  fixedType: t,
@@ -9003,7 +9003,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
9003
9003
  tableColumn: a,
9004
9004
  fixedColumn: v,
9005
9005
  fixedType: t
9006
- }) : To(r)
9006
+ }) : Fo(r)
9007
9007
  ]);
9008
9008
  }, tc = () => {
9009
9009
  const t = mo.value, o = { $table: r };
@@ -9012,7 +9012,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
9012
9012
  {
9013
9013
  const n = t.name ? Di.get(t.name) : null, s = n ? n.renderTableEmpty || n.renderTableEmptyView || n.renderEmpty : null;
9014
9014
  if (s)
9015
- return Fo(s(t, o));
9015
+ return To(s(t, o));
9016
9016
  }
9017
9017
  return yl(e.emptyText) || hl("vxe.table.emptyText");
9018
9018
  }, oc = () => {
@@ -9059,12 +9059,12 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
9059
9059
  class: "vxe-table--drag-sort-tip-content"
9060
9060
  }, oc())
9061
9061
  ])
9062
- ]) : To(r)
9063
- ]) : To(r);
9062
+ ]) : Fo(r)
9063
+ ]) : Fo(r);
9064
9064
  }, nc = () => {
9065
9065
  const { treeConfig: t } = e, { expandColumn: o, isRowGroupStatus: n } = f, s = tn.value, a = yt.value, { mode: u } = a;
9066
9066
  if (u !== "fixed")
9067
- return To(r);
9067
+ return Fo(r);
9068
9068
  const h = [
9069
9069
  g("div", {
9070
9070
  key: "repY",
@@ -9074,9 +9074,9 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
9074
9074
  if (o) {
9075
9075
  const { handleGetRowId: m } = go(r);
9076
9076
  s.forEach((b) => {
9077
- const v = yt.value, { height: C, padding: D, indent: T } = v, { fullAllDataRowIdData: k, fullColumnIdData: L } = d, _ = it.value, { transform: I, seqMode: M } = _, G = {}, N = m(b), y = k[N], Ie = o.id, xe = L[Ie] || {};
9077
+ const v = yt.value, { height: C, padding: D, indent: F } = v, { fullAllDataRowIdData: k, fullColumnIdData: L } = d, _ = it.value, { transform: I, seqMode: M } = _, G = {}, N = m(b), y = k[N], Ie = o.id, xe = L[Ie] || {};
9078
9078
  let Ee = 0, Ke = -1, Ne = -1, $e = -1, Qe = -1;
9079
- y && (Ee = y.level, n || t && I && M === "increasing" ? Ke = y._index + 1 : Ke = y.seq, $e = y.index, Qe = y.$index, Ne = y._index), C && (G.height = `${C}px`), (n || t) && (G.paddingLeft = `${Ee * (i.isNumber(T) ? T : _.indent) + 30}px`);
9079
+ y && (Ee = y.level, n || t && I && M === "increasing" ? Ke = y._index + 1 : Ke = y.seq, $e = y.index, Qe = y.$index, Ne = y._index), C && (G.height = `${C}px`), (n || t) && (G.paddingLeft = `${Ee * (i.isNumber(F) ? F : _.indent) + 30}px`);
9080
9080
  let Ve = -1, gt = -1, bt = -1;
9081
9081
  xe && (Ve = xe.index, gt = xe.$index, bt = xe._index);
9082
9082
  const dt = {
@@ -9168,7 +9168,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
9168
9168
  ])
9169
9169
  ]),
9170
9170
  g("div", {
9171
- ref: Te,
9171
+ ref: Fe,
9172
9172
  class: "vxe-table--scroll-y-bottom-corner"
9173
9173
  })
9174
9174
  ]), li = () => {
@@ -9188,7 +9188,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
9188
9188
  tableData: s,
9189
9189
  tableColumn: a,
9190
9190
  tableGroupColumn: u
9191
- }) : To(r),
9191
+ }) : Fo(r),
9192
9192
  /**
9193
9193
  * 表体
9194
9194
  */
@@ -9201,16 +9201,16 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
9201
9201
  * 表尾
9202
9202
  */
9203
9203
  o ? g(Si, {
9204
- ref: F,
9204
+ ref: T,
9205
9205
  footerTableData: h,
9206
9206
  tableColumn: a
9207
- }) : To(r)
9207
+ }) : Fo(r)
9208
9208
  ]),
9209
9209
  g("div", {
9210
9210
  class: "vxe-table--fixed-wrapper"
9211
9211
  }, [
9212
- b && b.length && n ? ei("left") : To(r),
9213
- v && v.length && n ? ei("right") : To(r)
9212
+ b && b.length && n ? ei("left") : Fo(r),
9213
+ v && v.length && n ? ei("right") : Fo(r)
9214
9214
  ]),
9215
9215
  nc()
9216
9216
  ]);
@@ -9226,7 +9226,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
9226
9226
  oi()
9227
9227
  ]);
9228
9228
  }, rc = () => {
9229
- const { loading: t, stripe: o, showHeader: n, height: s, treeConfig: a, mouseConfig: u, showFooter: h, highlightCell: m, highlightHoverRow: b, highlightHoverColumn: v, editConfig: C, editRules: D } = e, { isGroup: T, overflowX: k, overflowY: L, scrollXLoad: _, scrollYLoad: I, tableData: M, initStore: G, isRowGroupStatus: N, columnStore: y, filterStore: Ie, customStore: xe } = f, { leftList: Ee, rightList: Ke } = y, Ne = c.loading, $e = jt.value, Qe = Zt.value, Ve = nt.value, gt = We.value, bt = it.value, dt = K.value, ut = He.value, Et = se.value, lo = cr.value, Yt = St.value, no = to.value, It = cl.value, bo = oo.value, ro = f.isColLoading || f.isRowLoading || t, Ro = ht.value, qt = u && Yt.area, so = rt.value, Ht = ze.value, kt = Ye.value;
9229
+ const { loading: t, stripe: o, showHeader: n, height: s, treeConfig: a, mouseConfig: u, showFooter: h, highlightCell: m, highlightHoverRow: b, highlightHoverColumn: v, editConfig: C, editRules: D } = e, { isGroup: F, overflowX: k, overflowY: L, scrollXLoad: _, scrollYLoad: I, tableData: M, initStore: G, isRowGroupStatus: N, columnStore: y, filterStore: Ie, customStore: xe } = f, { leftList: Ee, rightList: Ke } = y, Ne = c.loading, $e = jt.value, Qe = Zt.value, Ve = nt.value, gt = We.value, bt = it.value, dt = K.value, ut = He.value, Et = se.value, lo = cr.value, Yt = St.value, no = to.value, It = cl.value, bo = oo.value, ro = f.isColLoading || f.isRowLoading || t, Ro = ht.value, qt = u && Yt.area, so = rt.value, Ht = ze.value, kt = Ye.value;
9230
9230
  return g("div", {
9231
9231
  ref: H,
9232
9232
  class: ["vxe-table", "vxe-table--render-default", `tid_${E}`, `border--${lo}`, `sx-pos--${Ht ? "top" : "bottom"}`, `sy-pos--${kt ? "left" : "right"}`, {
@@ -9245,7 +9245,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
9245
9245
  "col--drag-cell": ut.drag && so.trigger === "cell",
9246
9246
  "is--header": n,
9247
9247
  "is--footer": h,
9248
- "is--group": T,
9248
+ "is--group": F,
9249
9249
  "is-row-group": N,
9250
9250
  "is--tree-line": a && (bt.showLine || bt.line),
9251
9251
  "is--fixed-left": Ee.length,
@@ -9332,7 +9332,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
9332
9332
  */
9333
9333
  g("div", {
9334
9334
  key: "trl",
9335
- ref: Fe,
9335
+ ref: Te,
9336
9336
  class: "vxe-table--resizable-row-bar"
9337
9337
  }, Ro.showDragTip ? [
9338
9338
  g("div", {
@@ -9354,7 +9354,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
9354
9354
  class: ["vxe-loading--custom-wrapper", {
9355
9355
  "is--visible": ro
9356
9356
  }]
9357
- }, Gn(Ne, { $table: r, $grid: Ge, loading: ro })) : To(r),
9357
+ }, Gn(Ne, { $table: r, $grid: Ge, loading: ro })) : Fo(r),
9358
9358
  /**
9359
9359
  * 自定义列
9360
9360
  */
@@ -9362,7 +9362,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
9362
9362
  key: "cs",
9363
9363
  ref: pe,
9364
9364
  customStore: xe
9365
- }) : To(r),
9365
+ }) : Fo(r),
9366
9366
  /**
9367
9367
  * 筛选
9368
9368
  */
@@ -9370,7 +9370,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
9370
9370
  key: "tf",
9371
9371
  ref: J,
9372
9372
  filterStore: Ie
9373
- }) : To(r),
9373
+ }) : Fo(r),
9374
9374
  /**
9375
9375
  * 导入
9376
9376
  */
@@ -9378,7 +9378,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
9378
9378
  key: "it",
9379
9379
  defaultOptions: f.importParams,
9380
9380
  storeData: f.importStore
9381
- }) : To(r),
9381
+ }) : Fo(r),
9382
9382
  /**
9383
9383
  * 导出
9384
9384
  */
@@ -9386,14 +9386,14 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
9386
9386
  key: "et",
9387
9387
  defaultOptions: f.exportParams,
9388
9388
  storeData: f.exportStore
9389
- }) : To(r),
9389
+ }) : Fo(r),
9390
9390
  /**
9391
9391
  * 快捷菜单
9392
9392
  */
9393
9393
  bo ? g(pd, {
9394
9394
  key: "tm",
9395
9395
  ref: ee
9396
- }) : To(r),
9396
+ }) : Fo(r),
9397
9397
  /**
9398
9398
  * 拖拽排序提示
9399
9399
  */
@@ -9436,8 +9436,8 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
9436
9436
  enterable: Qe.enterable,
9437
9437
  enterDelay: Qe.enterDelay,
9438
9438
  leaveDelay: Qe.leaveDelay
9439
- }) : To(r)
9440
- ]) : To(r)
9439
+ }) : Fo(r)
9440
+ ]) : Fo(r)
9441
9441
  ]);
9442
9442
  }, as = je(0);
9443
9443
  Dt(() => e.data ? e.data.length : -1, () => {
@@ -9555,12 +9555,12 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
9555
9555
  }), Jl(() => {
9556
9556
  const t = He.value, o = K.value, n = Mo.value, s = De.value, { groupFields: a } = s;
9557
9557
  (t.drag || o.drag || n.allowSort) && la(), mr(a), fe(() => {
9558
- const { data: h, exportConfig: m, importConfig: b, treeConfig: v, showOverflow: C, highlightCurrentRow: D, highlightCurrentColumn: T } = e, { scrollXStore: k, scrollYStore: L } = d, _ = Jt.value, I = it.value, M = Mt.value, G = We.value, N = yt.value, y = K.value, Ie = Mo.value, xe = St.value, Ee = yo.value, Ke = co.value, Ne = _e.value, $e = mt.value, Qe = et.value;
9558
+ const { data: h, exportConfig: m, importConfig: b, treeConfig: v, showOverflow: C, highlightCurrentRow: D, highlightCurrentColumn: F } = e, { scrollXStore: k, scrollYStore: L } = d, _ = Jt.value, I = it.value, M = Mt.value, G = We.value, N = yt.value, y = K.value, Ie = Mo.value, xe = St.value, Ee = yo.value, Ke = co.value, Ne = _e.value, $e = mt.value, Qe = et.value;
9559
9559
  if (e.rowId && at("vxe.error.delProp", ["row-id", "row-config.keyField"]), e.rowKey && at("vxe.error.delProp", ["row-key", "row-config.useKey"]), e.columnKey && at("vxe.error.delProp", ["column-id", "column-config.useKey"]), !(e.rowId || y.keyField) && (G.reserve || G.checkRowKeys || M.reserve || M.checkRowKey || N.expandRowKeys || I.expandRowKeys) && at("vxe.error.reqProp", ["row-config.keyField"]), e.editConfig && (_.showStatus || _.showUpdateStatus || _.showInsertStatus) && !e.keepSource && at("vxe.error.reqProp", ["keep-source"]), v && (I.showLine || I.line) && (!(e.rowKey || y.useKey) || !C) && at("vxe.error.reqProp", ["row-config.useKey | show-overflow"]), v && !I.transform && e.stripe && at("vxe.error.noTree", ["stripe"]), e.showFooter && !(e.footerMethod || e.footerData) && at("vxe.error.reqProp", ["footer-data | footer-method"]), y.height && at("vxe.error.delProp", ["row-config.height", "cell-config.height"]), e.highlightCurrentRow && at("vxe.error.delProp", ["highlight-current-row", "row-config.isCurrent"]), e.highlightHoverRow && at("vxe.error.delProp", ["highlight-hover-row", "row-config.isHover"]), e.highlightCurrentColumn && at("vxe.error.delProp", ["highlight-current-column", "column-config.isCurrent"]), e.highlightHoverColumn && at("vxe.error.delProp", ["highlight-hover-column", "column-config.isHover"]), e.resizable && at("vxe.error.delProp", ["resizable", "column-config.resizable"]), b && Ke.types && !Ke.importMethod && !i.includeArrays(i.keys(Ke._typeMaps), Ke.types) && at("vxe.error.errProp", [`export-config.types=${Ke.types.join(",")}`, Ke.types.filter((Ve) => i.includes(i.keys(Ke._typeMaps), Ve)).join(",") || i.keys(Ke._typeMaps).join(",")]), m && Ee.types && !Ee.exportMethod && !i.includeArrays(i.keys(Ee._typeMaps), Ee.types) && at("vxe.error.errProp", [`export-config.types=${Ee.types.join(",")}`, Ee.types.filter((Ve) => i.includes(i.keys(Ee._typeMaps), Ve)).join(",") || i.keys(Ee._typeMaps).join(",")]), e.id || (e.customConfig ? vt(Ie) : Ie.enabled) && Ie.storage && qe("vxe.error.reqProp", ["id"]), e.treeConfig && G.range && qe("vxe.error.noTree", ["checkbox-config.range"]), y.height && !e.showOverflow && at("vxe.error.notProp", ["table.show-overflow"]), !r.triggerCellAreaMousedownEvent && (e.areaConfig && at("vxe.error.notProp", ["area-config"]), e.clipConfig && at("vxe.error.notProp", ["clip-config"]), e.fnrConfig && at("vxe.error.notProp", ["fnr-config"]), xe.area)) {
9560
9560
  qe("vxe.error.notProp", ["mouse-config.area"]);
9561
9561
  return;
9562
9562
  }
9563
- if (v && y.drag && !I.transform && qe("vxe.error.notSupportProp", ["column-config.drag", "tree-config.transform=false", "tree-config.transform=true"]), e.dragConfig && at("vxe.error.delProp", ["drag-config", "row-drag-config"]), e.treeConfig && I.children && at("vxe.error.delProp", ["tree-config.children", "tree-config.childrenField"]), e.treeConfig && I.line && at("vxe.error.delProp", ["tree-config.line", "tree-config.showLine"]), xe.area && xe.selected && at("vxe.error.errConflicts", ["mouse-config.area", "mouse-config.selected"]), xe.area && e.treeConfig && !I.transform && qe("vxe.error.noTree", ["mouse-config.area"]), e.editConfig && _.activeMethod && at("vxe.error.delProp", ["edit-config.activeMethod", "edit-config.beforeEditMethod"]), e.treeConfig && G.isShiftKey && qe("vxe.error.errConflicts", ["tree-config", "checkbox-config.isShiftKey"]), G.halfField && at("vxe.error.delProp", ["checkbox-config.halfField", "checkbox-config.indeterminateField"]), y.currentMethod && at("vxe.error.delProp", ["row-config.currentMethod", "current-row-config.beforeSelectMethod"]), t.currentMethod && at("vxe.error.delProp", ["row-config.currentMethod", "current-column-config.beforeSelectMethod"]), (y.isCurrent || D) && e.keyboardConfig && Qe.isArrow && !i.isBoolean(Ne.isFollowSelected) && at("vxe.error.notConflictProp", ["row-config.isCurrent", "current-row-config.isFollowSelected"]), (t.isCurrent || T) && e.keyboardConfig && Qe.isArrow && !i.isBoolean($e.isFollowSelected) && at("vxe.error.notConflictProp", ["column-config.isCurrent", "current-column-config.isFollowSelected"]), e.editConfig && !r.insert && qe("vxe.error.reqModule", ["Edit"]), e.editRules && !r.validate && qe("vxe.error.reqModule", ["Validator"]), (G.range || e.keyboardConfig || e.mouseConfig) && !r.handleCellMousedownEvent && qe("vxe.error.reqModule", ["Keyboard"]), (e.printConfig || e.importConfig || e.exportConfig) && !r.exportData && qe("vxe.error.reqModule", ["Export"]), Object.assign(L, {
9563
+ if (v && y.drag && !I.transform && qe("vxe.error.notSupportProp", ["column-config.drag", "tree-config.transform=false", "tree-config.transform=true"]), e.dragConfig && at("vxe.error.delProp", ["drag-config", "row-drag-config"]), e.treeConfig && I.children && at("vxe.error.delProp", ["tree-config.children", "tree-config.childrenField"]), e.treeConfig && I.line && at("vxe.error.delProp", ["tree-config.line", "tree-config.showLine"]), xe.area && xe.selected && at("vxe.error.errConflicts", ["mouse-config.area", "mouse-config.selected"]), xe.area && e.treeConfig && !I.transform && qe("vxe.error.noTree", ["mouse-config.area"]), e.editConfig && _.activeMethod && at("vxe.error.delProp", ["edit-config.activeMethod", "edit-config.beforeEditMethod"]), e.treeConfig && G.isShiftKey && qe("vxe.error.errConflicts", ["tree-config", "checkbox-config.isShiftKey"]), G.halfField && at("vxe.error.delProp", ["checkbox-config.halfField", "checkbox-config.indeterminateField"]), y.currentMethod && at("vxe.error.delProp", ["row-config.currentMethod", "current-row-config.beforeSelectMethod"]), t.currentMethod && at("vxe.error.delProp", ["row-config.currentMethod", "current-column-config.beforeSelectMethod"]), (y.isCurrent || D) && e.keyboardConfig && Qe.isArrow && !i.isBoolean(Ne.isFollowSelected) && at("vxe.error.notConflictProp", ["row-config.isCurrent", "current-row-config.isFollowSelected"]), (t.isCurrent || F) && e.keyboardConfig && Qe.isArrow && !i.isBoolean($e.isFollowSelected) && at("vxe.error.notConflictProp", ["column-config.isCurrent", "current-column-config.isFollowSelected"]), e.editConfig && !r.insert && qe("vxe.error.reqModule", ["Edit"]), e.editRules && !r.validate && qe("vxe.error.reqModule", ["Validator"]), (G.range || e.keyboardConfig || e.mouseConfig) && !r.handleCellMousedownEvent && qe("vxe.error.reqModule", ["Keyboard"]), (e.printConfig || e.importConfig || e.exportConfig) && !r.exportData && qe("vxe.error.reqModule", ["Export"]), Object.assign(L, {
9564
9564
  startIndex: 0,
9565
9565
  endIndex: 0,
9566
9566
  visibleSize: 0
@@ -9659,7 +9659,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
9659
9659
  }, R = ({ $event: re }) => {
9660
9660
  const { connectTable: ye } = P, ie = ye;
9661
9661
  ie ? ie.customOpenEvent(re) : qe("vxe.error.reqModule", ["VxeTableCustomModule"]);
9662
- }, F = ({ $event: re }) => {
9662
+ }, T = ({ $event: re }) => {
9663
9663
  const { connectTable: ye } = P, ie = ye;
9664
9664
  if (ie) {
9665
9665
  const { customStore: ce } = ie.reactData;
@@ -9694,8 +9694,8 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
9694
9694
  else {
9695
9695
  const me = Ai.get(Me), Z = { code: Me, button: ye, $table: ce, $grid: z, $event: re };
9696
9696
  if (me) {
9697
- const Te = me.tableCommandMethod || me.commandMethod;
9698
- Te ? Te(Z) : qe("vxe.error.notCommands", [Me]);
9697
+ const Fe = me.tableCommandMethod || me.commandMethod;
9698
+ Fe ? Fe(Z) : qe("vxe.error.notCommands", [Me]);
9699
9699
  }
9700
9700
  d.dispatchEvent("button-click", Z, re);
9701
9701
  }
@@ -9707,8 +9707,8 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
9707
9707
  else {
9708
9708
  const me = Ai.get(Me), Z = { code: Me, tool: ye, $table: ce, $grid: z, $event: re };
9709
9709
  if (me) {
9710
- const Te = me.tableCommandMethod || me.commandMethod;
9711
- Te ? Te(Z) : qe("vxe.error.notCommands", [Me]);
9710
+ const Fe = me.tableCommandMethod || me.commandMethod;
9711
+ Fe ? Fe(Z) : qe("vxe.error.notCommands", [Me]);
9712
9712
  }
9713
9713
  d.dispatchEvent("tool-click", Z, re);
9714
9714
  }
@@ -9756,21 +9756,21 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
9756
9756
  suffixTooltip: Me.suffixTooltip,
9757
9757
  onClick: ({ $event: Z }) => ye ? O(Z, Me) : X(Z, Me)
9758
9758
  }) : lt()) : ce;
9759
- }, Fe = () => {
9759
+ }, Te = () => {
9760
9760
  const { buttons: re } = e, { connectTable: ye } = P, ie = ye, ce = c.buttonPrefix || c["button-prefix"], Me = c.buttonSuffix || c["button-suffix"], me = [];
9761
- return ce && me.push(...Fo(ce({ buttons: re || [], $grid: z, $table: ie }))), re && re.forEach((Z, Te) => {
9761
+ return ce && me.push(...To(ce({ buttons: re || [], $grid: z, $table: ie }))), re && re.forEach((Z, Fe) => {
9762
9762
  const { dropdowns: Ce, buttonRender: Ue } = Z;
9763
9763
  if (Z.visible !== !1) {
9764
9764
  const Ge = Ue ? ki.get(Ue.name) : null;
9765
9765
  if (Ue && Ge && Ge.renderToolbarButton) {
9766
9766
  const Xe = Ge.toolbarButtonClassName, Le = { $grid: z, $table: ie, button: Z };
9767
9767
  me.push(g("span", {
9768
- key: `br${Z.code || Te}`,
9768
+ key: `br${Z.code || Fe}`,
9769
9769
  class: ["vxe-button--item", Xe ? i.isFunction(Xe) ? Xe(Le) : Xe : ""]
9770
- }, Fo(Ge.renderToolbarButton(Ue, Le))));
9770
+ }, To(Ge.renderToolbarButton(Ue, Le))));
9771
9771
  } else
9772
9772
  x && me.push(g(x, {
9773
- key: `bd${Z.code || Te}`,
9773
+ key: `bd${Z.code || Fe}`,
9774
9774
  disabled: Z.disabled,
9775
9775
  loading: Z.loading,
9776
9776
  type: Z.type,
@@ -9793,10 +9793,10 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
9793
9793
  dropdowns: () => ve(Z, !0)
9794
9794
  } : {}));
9795
9795
  }
9796
- }), Me && me.push(...Fo(Me({ buttons: re || [], $grid: z, $table: ie }))), me;
9796
+ }), Me && me.push(...To(Me({ buttons: re || [], $grid: z, $table: ie }))), me;
9797
9797
  }, we = () => {
9798
9798
  const { tools: re } = e, { connectTable: ye } = P, ie = ye, ce = c.toolPrefix || c["tool-prefix"], Me = c.toolSuffix || c["tool-suffix"], me = [];
9799
- return ce && me.push(...Fo(ce({ tools: re || [], $grid: z, $table: ie }))), re && re.forEach((Z, Te) => {
9799
+ return ce && me.push(...To(ce({ tools: re || [], $grid: z, $table: ie }))), re && re.forEach((Z, Fe) => {
9800
9800
  const { dropdowns: Ce, toolRender: Ue } = Z;
9801
9801
  if (Z.visible !== !1) {
9802
9802
  const Ge = Ue ? Ue.name : null, Xe = Ue ? ki.get(Ge) : null;
@@ -9805,10 +9805,10 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
9805
9805
  me.push(g("span", {
9806
9806
  key: Ge,
9807
9807
  class: ["vxe-tool--item", Le ? i.isFunction(Le) ? Le(nt) : Le : ""]
9808
- }, Fo(Xe.renderToolbarTool(Ue, nt))));
9808
+ }, To(Xe.renderToolbarTool(Ue, nt))));
9809
9809
  } else
9810
9810
  x && me.push(g(x, {
9811
- key: Te,
9811
+ key: Fe,
9812
9812
  disabled: Z.disabled,
9813
9813
  loading: Z.loading,
9814
9814
  type: Z.type,
@@ -9831,7 +9831,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
9831
9831
  dropdowns: () => ve(Z, !1)
9832
9832
  } : {}));
9833
9833
  }
9834
- }), Me && me.push(...Fo(Me({ tools: re || [], $grid: z, $table: ie }))), me;
9834
+ }), Me && me.push(...To(Me({ tools: re || [], $grid: z, $table: ie }))), me;
9835
9835
  }, B = () => {
9836
9836
  const re = V.value;
9837
9837
  return x ? g(x, {
@@ -9879,20 +9879,20 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
9879
9879
  }) : lt();
9880
9880
  }, ne = () => {
9881
9881
  const re = ee.value, ye = pe.value, ie = {};
9882
- return ye === "manual" || (ye === "hover" ? (ie.onMouseenter = R, ie.onMouseleave = F) : ie.onClick = w), x ? g(x, Object.assign({ key: "custom", circle: !0, icon: re.icon || Al().TOOLBAR_TOOLS_CUSTOM, title: Sn("vxe.toolbar.custom"), className: "vxe-toolbar-custom-target" }, ie)) : lt();
9882
+ return ye === "manual" || (ye === "hover" ? (ie.onMouseenter = R, ie.onMouseleave = T) : ie.onClick = w), x ? g(x, Object.assign({ key: "custom", circle: !0, icon: re.icon || Al().TOOLBAR_TOOLS_CUSTOM, title: Sn("vxe.toolbar.custom"), className: "vxe-toolbar-custom-target" }, ie)) : lt();
9883
9883
  }, be = () => {
9884
- const { perfect: re, loading: ye, refresh: ie, zoom: ce, custom: Me, className: me } = e, { connectTable: Z } = P, Te = S.value, Ce = c.tools, Ue = c.buttons, Ge = Z;
9884
+ const { perfect: re, loading: ye, refresh: ie, zoom: ce, custom: Me, className: me } = e, { connectTable: Z } = P, Fe = S.value, Ce = c.tools, Ue = c.buttons, Ge = Z;
9885
9885
  return g("div", {
9886
9886
  ref: se,
9887
9887
  class: ["vxe-toolbar", me ? i.isFunction(me) ? me({ $toolbar: d }) : me : "", {
9888
- [`size--${Te}`]: Te,
9888
+ [`size--${Fe}`]: Fe,
9889
9889
  "is--perfect": re,
9890
9890
  "is--loading": ye
9891
9891
  }]
9892
9892
  }, [
9893
9893
  g("div", {
9894
9894
  class: "vxe-buttons--wrapper"
9895
- }, Ue ? Ue({ $grid: z, $table: Ge }) : Fe()),
9895
+ }, Ue ? Ue({ $grid: z, $table: Ge }) : Te()),
9896
9896
  g("div", {
9897
9897
  class: "vxe-tools--wrapper"
9898
9898
  }, Ce ? Ce({ $grid: z, $table: Ge }) : we()),
@@ -9975,7 +9975,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
9975
9975
  const w = Pe(() => i.merge({}, i.clone(Ol().grid.proxyConfig, !0), e.proxyConfig)), R = Pe(() => {
9976
9976
  const Q = w.value;
9977
9977
  return i.isBoolean(Q.message) ? Q.message : Q.showResponseMsg;
9978
- }), F = Pe(() => w.value.showActiveMsg), oe = Pe(() => Object.assign({}, Ol().grid.pagerConfig, e.pagerConfig)), q = Pe(() => Object.assign({}, Ol().grid.formConfig, e.formConfig)), O = Pe(() => Object.assign({}, Ol().grid.toolbarConfig, e.toolbarConfig)), X = Pe(() => Object.assign({}, Ol().grid.zoomConfig, e.zoomConfig)), ue = Pe(() => {
9978
+ }), T = Pe(() => w.value.showActiveMsg), oe = Pe(() => Object.assign({}, Ol().grid.pagerConfig, e.pagerConfig)), q = Pe(() => Object.assign({}, Ol().grid.formConfig, e.formConfig)), O = Pe(() => Object.assign({}, Ol().grid.toolbarConfig, e.toolbarConfig)), X = Pe(() => Object.assign({}, Ol().grid.zoomConfig, e.zoomConfig)), ue = Pe(() => {
9979
9979
  const { height: Q, maxHeight: he } = e, { isZMax: K, tZindex: De } = f, _e = {};
9980
9980
  return K ? _e.zIndex = De : (Q && (_e.height = Q === "auto" || Q === "100%" ? "100%" : rr(Q)), he && (_e.maxHeight = he === "auto" || he === "100%" ? "100%" : rr(he))), _e;
9981
9981
  }), ke = Pe(() => {
@@ -9999,7 +9999,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
9999
9999
  }), ve = Pe(() => {
10000
10000
  const Q = oe.value;
10001
10001
  return `${Q.currentPage}${Q.pageSize}`;
10002
- }), Fe = {
10002
+ }), Te = {
10003
10003
  refElem: d,
10004
10004
  refTable: j,
10005
10005
  refForm: z,
@@ -10016,7 +10016,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
10016
10016
  props: e,
10017
10017
  context: l,
10018
10018
  reactData: f,
10019
- getRefMaps: () => Fe,
10019
+ getRefMaps: () => Te,
10020
10020
  getComputeMaps: () => we
10021
10021
  }, de = () => {
10022
10022
  const Q = O.value;
@@ -10031,14 +10031,14 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
10031
10031
  const { tablePage: Q } = f, { pagerConfig: he } = e, K = oe.value, { currentPage: De, pageSize: _e } = K;
10032
10032
  he && vt(K) && (De && (Q.currentPage = De), _e && (Q.pageSize = _e));
10033
10033
  }, U = (Q) => {
10034
- const he = F.value, K = j.value, De = K.getCheckboxRecords();
10034
+ const he = T.value, K = j.value, De = K.getCheckboxRecords();
10035
10035
  De.length ? (K.togglePendingRow(De), te.clearCheckboxRow()) : he && ge.modal && ge.modal.message({ id: Q, content: On("vxe.grid.selectOneRecord"), status: "warning" });
10036
10036
  }, ne = (Q, he) => {
10037
10037
  const K = w.value, _e = (K.response || K.props || {}).message;
10038
10038
  let tt;
10039
10039
  return Q && _e && (tt = i.isFunction(_e) ? _e({ data: Q, $grid: B }) : i.get(Q, _e)), tt || On(he);
10040
10040
  }, be = (Q, he, K) => {
10041
- const De = F.value, _e = te.getCheckboxRecords();
10041
+ const De = T.value, _e = te.getCheckboxRecords();
10042
10042
  if (De)
10043
10043
  if (_e.length) {
10044
10044
  if (ge.modal)
@@ -10081,7 +10081,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
10081
10081
  }, Z = (Q) => {
10082
10082
  const { $event: he } = Q;
10083
10083
  Oe.dispatchEvent("form-toggle-collapse", Q, he), Oe.dispatchEvent("form-collapse", Q, he);
10084
- }, Te = (Q) => {
10084
+ }, Fe = (Q) => {
10085
10085
  const { isZMax: he } = f;
10086
10086
  return (Q ? !he : he) && (f.isZMax = !he, f.tZindex < Ui() && (f.tZindex = Yi())), fe().then(() => te.recalculate(!0)).then(() => (setTimeout(() => te.recalculate(!0), 15), f.isZMax));
10087
10087
  }, Ce = (Q, he) => {
@@ -10282,15 +10282,15 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
10282
10282
  * @param {String/Object} code 字符串或对象
10283
10283
  */
10284
10284
  commitProxy(Q, ...he) {
10285
- const { toolbarConfig: K, pagerConfig: De, editRules: _e, validConfig: tt } = e, { tablePage: rt } = f, wt = F.value, ht = R.value, $t = w.value, Mt = oe.value, We = O.value, { beforeQuery: zt, afterQuery: jt, beforeDelete: Zt, afterDelete: Jt, beforeSave: Qt, afterSave: fo, ajax: St = {} } = $t, to = $t.response || $t.props || {}, et = j.value, Pt = ae();
10286
- let ho = null, Tt = null;
10285
+ const { toolbarConfig: K, pagerConfig: De, editRules: _e, validConfig: tt } = e, { tablePage: rt } = f, wt = T.value, ht = R.value, $t = w.value, Mt = oe.value, We = O.value, { beforeQuery: zt, afterQuery: jt, beforeDelete: Zt, afterDelete: Jt, beforeSave: Qt, afterSave: fo, ajax: St = {} } = $t, to = $t.response || $t.props || {}, et = j.value, Pt = ae();
10286
+ let ho = null, Ft = null;
10287
10287
  if (i.isString(Q)) {
10288
10288
  const { buttons: Lt } = We, ao = K && vt(We) && Lt ? i.findTree(Lt, (Eo) => Eo.code === Q, { children: "dropdowns" }) : null;
10289
- ho = ao ? ao.item : null, Tt = Q;
10289
+ ho = ao ? ao.item : null, Ft = Q;
10290
10290
  } else
10291
- ho = Q, Tt = ho.code;
10291
+ ho = Q, Ft = ho.code;
10292
10292
  const po = ho ? ho.params : null;
10293
- switch (Tt) {
10293
+ switch (Ft) {
10294
10294
  case "insert":
10295
10295
  return et.insert({});
10296
10296
  case "insert_edit":
@@ -10298,10 +10298,10 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
10298
10298
  case "insert_actived":
10299
10299
  return et.insert({}).then(({ row: Lt }) => et.setEditRow(Lt));
10300
10300
  case "mark_cancel":
10301
- U(Tt);
10301
+ U(Ft);
10302
10302
  break;
10303
10303
  case "remove":
10304
- return be(Tt, "vxe.grid.removeSelectRecord", () => et.removeCheckboxRow());
10304
+ return be(Ft, "vxe.grid.removeSelectRecord", () => et.removeCheckboxRow());
10305
10305
  case "import":
10306
10306
  et.importData(po);
10307
10307
  break;
@@ -10321,7 +10321,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
10321
10321
  case "query": {
10322
10322
  const Lt = St.query, ao = St.querySuccess, Eo = St.queryError;
10323
10323
  if (Lt) {
10324
- const Gt = Tt === "_init", oo = Tt === "reload";
10324
+ const Gt = Ft === "_init", oo = Ft === "reload";
10325
10325
  if (!Gt && f.tableLoading)
10326
10326
  return fe();
10327
10327
  let Io = [], yo = [], co = {};
@@ -10339,7 +10339,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
10339
10339
  } else
10340
10340
  et && (oo ? et.clearAll() : (Io = et.getSortColumns(), yo = et.getCheckedFilters()));
10341
10341
  const Do = {
10342
- code: Tt,
10342
+ code: Ft,
10343
10343
  button: ho,
10344
10344
  isInited: Gt,
10345
10345
  isReload: oo,
@@ -10376,10 +10376,10 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
10376
10376
  case "delete": {
10377
10377
  const Lt = St.delete, ao = St.deleteSuccess, Eo = St.deleteError;
10378
10378
  if (Lt) {
10379
- const Gt = te.getCheckboxRecords(), oo = Gt.filter((co) => !et.isInsertByRow(co)), yo = { $grid: B, code: Tt, button: ho, body: { removeRecords: oo }, form: Pt, options: Lt };
10379
+ const Gt = te.getCheckboxRecords(), oo = Gt.filter((co) => !et.isInsertByRow(co)), yo = { $grid: B, code: Ft, button: ho, body: { removeRecords: oo }, form: Pt, options: Lt };
10380
10380
  if (Gt.length)
10381
- return be(Tt, "vxe.grid.deleteSelectRecord", () => oo.length ? (f.tableLoading = !0, Promise.resolve((Zt || Lt)(yo, ...he)).then((co) => (f.tableLoading = !1, et.setPendingRow(oo, !1), ht && ge.modal && ge.modal.message({ content: ne(co, "vxe.grid.delSuccess"), status: "success" }), Jt ? Jt(yo, ...he) : Oe.commitProxy("query"), ao && ao(Object.assign(Object.assign({}, yo), { response: co })), { status: !0 })).catch((co) => (f.tableLoading = !1, ht && ge.modal && ge.modal.message({ id: Tt, content: ne(co, "vxe.grid.operError"), status: "error" }), Eo && Eo(Object.assign(Object.assign({}, yo), { response: co })), { status: !1 }))) : et.remove(Gt));
10382
- wt && ge.modal && ge.modal.message({ id: Tt, content: On("vxe.grid.selectOneRecord"), status: "warning" });
10381
+ return be(Ft, "vxe.grid.deleteSelectRecord", () => oo.length ? (f.tableLoading = !0, Promise.resolve((Zt || Lt)(yo, ...he)).then((co) => (f.tableLoading = !1, et.setPendingRow(oo, !1), ht && ge.modal && ge.modal.message({ content: ne(co, "vxe.grid.delSuccess"), status: "success" }), Jt ? Jt(yo, ...he) : Oe.commitProxy("query"), ao && ao(Object.assign(Object.assign({}, yo), { response: co })), { status: !0 })).catch((co) => (f.tableLoading = !1, ht && ge.modal && ge.modal.message({ id: Ft, content: ne(co, "vxe.grid.operError"), status: "error" }), Eo && Eo(Object.assign(Object.assign({}, yo), { response: co })), { status: !1 }))) : et.remove(Gt));
10382
+ wt && ge.modal && ge.modal.message({ id: Ft, content: On("vxe.grid.selectOneRecord"), status: "warning" });
10383
10383
  } else
10384
10384
  qe("vxe.error.notFunc", ["proxy-config.ajax.delete"]);
10385
10385
  break;
@@ -10387,14 +10387,14 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
10387
10387
  case "save": {
10388
10388
  const Lt = St.save, ao = St.saveSuccess, Eo = St.saveError;
10389
10389
  if (Lt) {
10390
- const Gt = et.getRecordset(), { insertRecords: oo, removeRecords: Io, updateRecords: yo, pendingRecords: co } = Gt, Do = { $grid: B, code: Tt, button: ho, body: Gt, form: Pt, options: Lt };
10390
+ const Gt = et.getRecordset(), { insertRecords: oo, removeRecords: Io, updateRecords: yo, pendingRecords: co } = Gt, Do = { $grid: B, code: Ft, button: ho, body: Gt, form: Pt, options: Lt };
10391
10391
  oo.length && (Gt.pendingRecords = co.filter((it) => et.findRowIndexOf(oo, it) === -1)), co.length && (Gt.insertRecords = oo.filter((it) => et.findRowIndexOf(co, it) === -1));
10392
10392
  let yt = Promise.resolve();
10393
10393
  return _e && (yt = et[tt && tt.msgMode === "full" ? "fullValidate" : "validate"](Gt.insertRecords.concat(yo))), yt.then((it) => {
10394
10394
  if (!it) {
10395
10395
  if (Gt.insertRecords.length || Io.length || yo.length || Gt.pendingRecords.length)
10396
- return f.tableLoading = !0, Promise.resolve((Qt || Lt)(Do, ...he)).then((mo) => (f.tableLoading = !1, et.clearPendingRow(), ht && ge.modal && ge.modal.message({ content: ne(mo, "vxe.grid.saveSuccess"), status: "success" }), fo ? fo(Do, ...he) : Oe.commitProxy("query"), ao && ao(Object.assign(Object.assign({}, Do), { response: mo })), { status: !0 })).catch((mo) => (f.tableLoading = !1, ht && ge.modal && ge.modal.message({ id: Tt, content: ne(mo, "vxe.grid.operError"), status: "error" }), Eo && Eo(Object.assign(Object.assign({}, Do), { response: mo })), { status: !1 }));
10397
- wt && ge.modal && ge.modal.message({ id: Tt, content: On("vxe.grid.dataUnchanged"), status: "info" });
10396
+ return f.tableLoading = !0, Promise.resolve((Qt || Lt)(Do, ...he)).then((mo) => (f.tableLoading = !1, et.clearPendingRow(), ht && ge.modal && ge.modal.message({ content: ne(mo, "vxe.grid.saveSuccess"), status: "success" }), fo ? fo(Do, ...he) : Oe.commitProxy("query"), ao && ao(Object.assign(Object.assign({}, Do), { response: mo })), { status: !0 })).catch((mo) => (f.tableLoading = !1, ht && ge.modal && ge.modal.message({ id: Ft, content: ne(mo, "vxe.grid.operError"), status: "error" }), Eo && Eo(Object.assign(Object.assign({}, Do), { response: mo })), { status: !1 }));
10397
+ wt && ge.modal && ge.modal.message({ id: Ft, content: On("vxe.grid.dataUnchanged"), status: "info" });
10398
10398
  }
10399
10399
  });
10400
10400
  } else
@@ -10402,10 +10402,10 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
10402
10402
  break;
10403
10403
  }
10404
10404
  default: {
10405
- const Lt = Cd.get(Tt);
10405
+ const Lt = Cd.get(Ft);
10406
10406
  if (Lt) {
10407
10407
  const ao = Lt.tableCommandMethod || Lt.commandMethod;
10408
- ao ? ao({ code: Tt, button: ho, $grid: B, $table: et }, ...he) : qe("vxe.error.notCommands", [Tt]);
10408
+ ao ? ao({ code: Ft, button: ho, $grid: B, $table: et }, ...he) : qe("vxe.error.notCommands", [Ft]);
10409
10409
  }
10410
10410
  }
10411
10411
  }
@@ -10418,10 +10418,10 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
10418
10418
  return f.isZMax;
10419
10419
  },
10420
10420
  maximize() {
10421
- return Te(!0);
10421
+ return Fe(!0);
10422
10422
  },
10423
10423
  revert() {
10424
- return Te();
10424
+ return Fe();
10425
10425
  },
10426
10426
  getFormData: ae,
10427
10427
  getFormItems(Q) {
@@ -10476,7 +10476,7 @@ const ld = As, { getI18n: nd, renderer: vi, renderEmptyElement: bs } = ge, Sr =
10476
10476
  const He = {
10477
10477
  extendTableMethods: pe,
10478
10478
  callSlot(Q, he) {
10479
- return Q && (i.isString(Q) && (Q = p[Q] || null), i.isFunction(Q)) ? Fo(Q(he)) : [];
10479
+ return Q && (i.isString(Q) && (Q = p[Q] || null), i.isFunction(Q)) ? To(Q(he)) : [];
10480
10480
  },
10481
10481
  /**
10482
10482
  * 获取需要排除的高度
@@ -10595,8 +10595,8 @@ function Md(e) {
10595
10595
  cellOptions: p
10596
10596
  };
10597
10597
  }
10598
- const { renderer: Hi, hooks: Td } = ge, Fd = ["openFilter", "setFilter", "clearFilter", "saveFilterPanel", "resetFilterPanel", "getCheckedFilters", "updateFilterOptionStatus"];
10599
- Td.add("tableFilterModule", {
10598
+ const { renderer: Hi, hooks: Fd } = ge, Td = ["openFilter", "setFilter", "clearFilter", "saveFilterPanel", "resetFilterPanel", "getCheckedFilters", "updateFilterOptionStatus"];
10599
+ Fd.add("tableFilterModule", {
10600
10600
  setupTable(e) {
10601
10601
  const { props: l, reactData: c, internalData: p } = e, { refElem: E, refTableFilter: x } = e.getRefMaps(), { computeFilterOpts: S, computeMouseOpts: A } = e.getComputeMaps(), P = (H) => {
10602
10602
  const { filterStore: V } = c;
@@ -10632,19 +10632,19 @@ Td.add("tableFilterModule", {
10632
10632
  if (W.column === V && W.visible)
10633
10633
  W.visible = !1;
10634
10634
  else {
10635
- const J = E.value, { scrollTop: pe, scrollLeft: te, visibleHeight: w, visibleWidth: R } = Wr(), F = S.value, { transfer: oe } = F, q = J.getBoundingClientRect(), O = H.currentTarget, { filters: X, filterMultiple: ue, filterRender: ke } = V, Re = vt(ke) ? Hi.get(ke.name) : null, Se = V.filterRecoverMethod || (Re ? Re.tableFilterRecoverMethod || Re.filterRecoverMethod : null);
10635
+ const J = E.value, { scrollTop: pe, scrollLeft: te, visibleHeight: w, visibleWidth: R } = Wr(), T = S.value, { transfer: oe } = T, q = J.getBoundingClientRect(), O = H.currentTarget, { filters: X, filterMultiple: ue, filterRender: ke } = V, Re = vt(ke) ? Hi.get(ke.name) : null, Se = V.filterRecoverMethod || (Re ? Re.tableFilterRecoverMethod || Re.filterRecoverMethod : null);
10636
10636
  p._currFilterParams = Y, Object.assign(W, {
10637
10637
  multiple: ue,
10638
10638
  options: X,
10639
10639
  column: V,
10640
10640
  style: null
10641
10641
  }), W.options.forEach((ve) => {
10642
- const { _checked: Fe, checked: we } = ve;
10643
- ve._checked = we, !we && Fe !== we && Se && Se({ option: ve, column: V, $table: e });
10642
+ const { _checked: Te, checked: we } = ve;
10643
+ ve._checked = we, !we && Te !== we && Se && Se({ option: ve, column: V, $table: e });
10644
10644
  }), this.checkFilterOptions(), W.visible = !0, $.filter = !0, fe(() => {
10645
10645
  if (!ot(ee["main-header-scroll"]))
10646
10646
  return;
10647
- const Fe = x.value, we = Fe ? Fe.getRefMaps().refElem.value : null;
10647
+ const Te = x.value, we = Te ? Te.getRefMaps().refElem.value : null;
10648
10648
  if (!we)
10649
10649
  return;
10650
10650
  const B = O.getBoundingClientRect(), de = we.querySelector(".vxe-table--filter-header"), ae = we.querySelector(".vxe-table--filter-footer"), le = we.offsetWidth, U = le / 2;
@@ -10673,8 +10673,8 @@ Td.add("tableFilterModule", {
10673
10673
  H.filters.forEach((oe) => {
10674
10674
  oe.checked && (te.push(oe.value), w.push(oe.data));
10675
10675
  });
10676
- const R = e.getCheckedFilters(), F = { $table: e, $event: V, column: H, field: pe, property: pe, values: te, datas: w, filters: R, filterList: R };
10677
- return ee.remote || (e.handleTableData(!0), e.checkSelectionStatus()), Y && J.area && e.handleFilterEvent && e.handleFilterEvent(V, F), V && e.dispatchEvent("filter-change", F, V), e.closeFilter(), e.updateFooter().then(() => {
10676
+ const R = e.getCheckedFilters(), T = { $table: e, $event: V, column: H, field: pe, property: pe, values: te, datas: w, filters: R, filterList: R };
10677
+ return ee.remote || (e.handleTableData(!0), e.checkSelectionStatus()), Y && J.area && e.handleFilterEvent && e.handleFilterEvent(V, T), V && e.dispatchEvent("filter-change", T, V), e.closeFilter(), e.updateFooter().then(() => {
10678
10678
  const { scrollXLoad: oe, scrollYLoad: q } = c;
10679
10679
  if ($ || oe || W || q)
10680
10680
  return ($ || oe) && e.updateScrollXSpace(), (W || q) && e.updateScrollYSpace(), e.refreshScroll();
@@ -10774,10 +10774,10 @@ Td.add("tableFilterModule", {
10774
10774
  }), j);
10775
10775
  },
10776
10776
  setupGrid(e) {
10777
- return e.extendTableMethods(Fd);
10777
+ return e.extendTableMethods(Td);
10778
10778
  }
10779
10779
  });
10780
- const { menus: Id, hooks: kd, globalEvents: Tr, GLOBAL_EVENT_KEYS: Fr } = ge, Ad = ["closeMenu"];
10780
+ const { menus: Id, hooks: kd, globalEvents: Fr, GLOBAL_EVENT_KEYS: Tr } = ge, Ad = ["closeMenu"];
10781
10781
  kd.add("tableMenuModule", {
10782
10782
  setupTable(e) {
10783
10783
  const { xID: l, props: c, reactData: p, internalData: E } = e, { refElem: x, refTableFilter: S, refTableMenu: A } = e.getRefMaps(), { computeMouseOpts: P, computeIsMenu: se, computeMenuOpts: f } = e.getComputeMaps();
@@ -10789,8 +10789,8 @@ kd.add("tableMenuModule", {
10789
10789
  w ? H.preventDefault() : W && te && te.length && (Y.options = te, e.preventEvent(H, "event.showMenu", Y, () => {
10790
10790
  if (!pe || pe(Y)) {
10791
10791
  H.preventDefault(), e.updateZindex();
10792
- const { scrollTop: R, scrollLeft: F, visibleHeight: oe, visibleWidth: q } = Wr();
10793
- let O = H.clientY + R, X = H.clientX + F;
10792
+ const { scrollTop: R, scrollLeft: T, visibleHeight: oe, visibleWidth: q } = Wr();
10793
+ let O = H.clientY + R, X = H.clientX + T;
10794
10794
  const ue = () => {
10795
10795
  E._currMenuParams = Y, Object.assign($, {
10796
10796
  visible: !0,
@@ -10804,15 +10804,15 @@ kd.add("tableMenuModule", {
10804
10804
  left: `${X}px`
10805
10805
  }
10806
10806
  }), fe(() => {
10807
- const Fe = A.value.getRefMaps().refElem.value, we = Fe.clientHeight, B = Fe.clientWidth, { boundingTop: de, boundingLeft: ae } = Hr(Fe), le = de + we - oe, U = ae + B - q;
10808
- le > -10 && ($.style.top = `${Math.max(R + 2, O - we - 2)}px`), U > -10 && ($.style.left = `${Math.max(F + 2, X - B - 2)}px`);
10807
+ const Te = A.value.getRefMaps().refElem.value, we = Te.clientHeight, B = Te.clientWidth, { boundingTop: de, boundingLeft: ae } = Hr(Te), le = de + we - oe, U = ae + B - q;
10808
+ le > -10 && ($.style.top = `${Math.max(R + 2, O - we - 2)}px`), U > -10 && ($.style.left = `${Math.max(T + 2, X - B - 2)}px`);
10809
10809
  });
10810
10810
  }, { keyboard: ke, row: Re, column: Se } = Y;
10811
10811
  ke && Re && Se ? e.scrollToRow(Re, Se).then(() => {
10812
10812
  const ve = e.getCellElement(Re, Se);
10813
10813
  if (ve) {
10814
- const { boundingTop: Fe, boundingLeft: we } = Hr(ve);
10815
- O = Fe + R + Math.floor(ve.offsetHeight / 2), X = we + F + Math.floor(ve.offsetWidth / 2);
10814
+ const { boundingTop: Te, boundingLeft: we } = Hr(ve);
10815
+ O = Te + R + Math.floor(ve.offsetHeight / 2), X = we + T + Math.floor(ve.offsetWidth / 2);
10816
10816
  }
10817
10817
  ue();
10818
10818
  }) : ue();
@@ -10843,28 +10843,28 @@ kd.add("tableMenuModule", {
10843
10843
  const pe = i.findIndexOf(ee, (te) => V[Y] === te);
10844
10844
  if ($)
10845
10845
  W && kn(V.selected) ? V.showChild = !0 : (V.showChild = !1, V.selectChild = null);
10846
- else if (Tr.hasKey(H, Fr.ARROW_UP)) {
10846
+ else if (Fr.hasKey(H, Tr.ARROW_UP)) {
10847
10847
  for (let te = pe - 1; te >= 0; te--)
10848
10848
  if (ee[te].visible !== !1) {
10849
10849
  J = ee[te];
10850
10850
  break;
10851
10851
  }
10852
10852
  V[Y] = J || ee[ee.length - 1];
10853
- } else if (Tr.hasKey(H, Fr.ARROW_DOWN)) {
10853
+ } else if (Fr.hasKey(H, Tr.ARROW_DOWN)) {
10854
10854
  for (let te = pe + 1; te < ee.length; te++)
10855
10855
  if (ee[te].visible !== !1) {
10856
10856
  J = ee[te];
10857
10857
  break;
10858
10858
  }
10859
10859
  V[Y] = J || ee[0];
10860
- } else V[Y] && (Tr.hasKey(H, Fr.ENTER) || Tr.hasKey(H, Fr.SPACEBAR)) && e.ctxMenuLinkEvent(H, V[Y]);
10860
+ } else V[Y] && (Fr.hasKey(H, Tr.ENTER) || Fr.hasKey(H, Tr.SPACEBAR)) && e.ctxMenuLinkEvent(H, V[Y]);
10861
10861
  },
10862
10862
  handleOpenMenuEvent: z,
10863
10863
  /**
10864
10864
  * 快捷菜单事件处理
10865
10865
  */
10866
10866
  handleGlobalContextmenuEvent(H) {
10867
- const { mouseConfig: V, menuConfig: Y } = c, { editStore: $, ctxMenuStore: W } = p, { visibleColumn: ee } = E, J = S.value, pe = A.value, te = P.value, w = f.value, R = x.value, { selected: F } = $, oe = ["header", "body", "footer"];
10867
+ const { mouseConfig: V, menuConfig: Y } = c, { editStore: $, ctxMenuStore: W } = p, { visibleColumn: ee } = E, J = S.value, pe = A.value, te = P.value, w = f.value, R = x.value, { selected: T } = $, oe = ["header", "body", "footer"];
10868
10868
  if (vt(Y)) {
10869
10869
  if (W.visible && pe && Bt(H, pe.getRefMaps().refElem.value).flag) {
10870
10870
  H.preventDefault();
@@ -10878,8 +10878,8 @@ kd.add("tableMenuModule", {
10878
10878
  O.row = X.row, O.column = X.column, z(H, q, O);
10879
10879
  return;
10880
10880
  }
10881
- } else if (V && te.selected && F.row && F.column) {
10882
- O.row = F.row, O.column = F.column, z(H, q, O);
10881
+ } else if (V && te.selected && T.row && T.column) {
10882
+ O.row = T.row, O.column = T.column, z(H, q, O);
10883
10883
  return;
10884
10884
  }
10885
10885
  }
@@ -10892,8 +10892,8 @@ kd.add("tableMenuModule", {
10892
10892
  const we = e.getRowNode(ke.parentNode), B = we ? we.item : null;
10893
10893
  ve = "", B && (ue.row = B, ue.rowIndex = e.getRowIndex(B));
10894
10894
  }
10895
- const Fe = `${ve}cell-menu`;
10896
- z(H, O, ue), e.dispatchEvent(Fe, ue, H);
10895
+ const Te = `${ve}cell-menu`;
10896
+ z(H, O, ue), e.dispatchEvent(Te, ue, H);
10897
10897
  return;
10898
10898
  } else if (Bt(H, R, `vxe-table--${O}-wrapper`, (ke) => ke.getAttribute("xid") === l).flag) {
10899
10899
  w.trigger === "cell" ? H.preventDefault() : z(H, O, ue);
@@ -10908,9 +10908,9 @@ kd.add("tableMenuModule", {
10908
10908
  H.preventDefault(), H.stopPropagation(), W.selected = V, W.selectChild = Y, Y || (W.showChild = kn(V), W.showChild && fe(() => {
10909
10909
  const ee = $.nextElementSibling;
10910
10910
  if (ee) {
10911
- const { boundingTop: J, boundingLeft: pe, visibleHeight: te, visibleWidth: w } = Hr($), R = J + $.offsetHeight, F = pe + $.offsetWidth;
10911
+ const { boundingTop: J, boundingLeft: pe, visibleHeight: te, visibleWidth: w } = Hr($), R = J + $.offsetHeight, T = pe + $.offsetWidth;
10912
10912
  let oe = "", q = "";
10913
- F + ee.offsetWidth > w - 10 && (oe = "auto", q = `${$.offsetWidth}px`);
10913
+ T + ee.offsetWidth > w - 10 && (oe = "auto", q = `${$.offsetWidth}px`);
10914
10914
  let O = "", X = "";
10915
10915
  R + ee.offsetHeight > te - 10 && (O = "auto", X = "0"), ee.style.left = oe, ee.style.right = q, ee.style.top = O, ee.style.bottom = X;
10916
10916
  }
@@ -10942,11 +10942,11 @@ Bd.add("tableEditModule", {
10942
10942
  const { props: l, reactData: c, internalData: p } = e, { refElem: E } = e.getRefMaps(), { computeMouseOpts: x, computeEditOpts: S, computeCheckboxOpts: A, computeTreeOpts: P, computeValidOpts: se } = e.getComputeMaps(), f = i.browse();
10943
10943
  let d = {}, j = {};
10944
10944
  const z = (w, R) => {
10945
- const { model: F, editRender: oe } = R;
10946
- oe && (F.value = vo(w, R), F.update = !1);
10945
+ const { model: T, editRender: oe } = R;
10946
+ oe && (T.value = vo(w, R), T.update = !1);
10947
10947
  }, H = (w, R) => {
10948
- const { model: F, editRender: oe } = R;
10949
- oe && F.update && (vl(w, R, F.value), F.update = !1, F.value = null);
10948
+ const { model: T, editRender: oe } = R;
10949
+ oe && T.update && (vl(w, R, T.value), T.update = !1, T.value = null);
10950
10950
  }, V = () => {
10951
10951
  const w = E.value;
10952
10952
  if (w) {
@@ -10954,30 +10954,30 @@ Bd.add("tableEditModule", {
10954
10954
  R && jo(R, "col--selected");
10955
10955
  }
10956
10956
  }, Y = () => {
10957
- const { editStore: w, tableColumn: R } = c, F = S.value, { actived: oe } = w, { row: q, column: O } = oe;
10958
- (q || O) && (F.mode === "row" ? R.forEach((X) => H(q, X)) : H(q, O));
10957
+ const { editStore: w, tableColumn: R } = c, T = S.value, { actived: oe } = w, { row: q, column: O } = oe;
10958
+ (q || O) && (T.mode === "row" ? R.forEach((X) => H(q, X)) : H(q, O));
10959
10959
  }, $ = (w, R) => {
10960
- const { tableFullTreeData: F, afterFullData: oe, fullDataRowIdData: q, fullAllDataRowIdData: O } = p, X = P.value, { rowField: ue, parentField: ke, mapChildrenField: Re } = X, Se = X.children || X.childrenField, ve = R ? "push" : "unshift";
10961
- w.forEach((Fe) => {
10962
- const we = Fe[ke], B = Be(e, Fe), de = we ? i.findTree(F, (ae) => we === ae[ue], { children: Re }) : null;
10960
+ const { tableFullTreeData: T, afterFullData: oe, fullDataRowIdData: q, fullAllDataRowIdData: O } = p, X = P.value, { rowField: ue, parentField: ke, mapChildrenField: Re } = X, Se = X.children || X.childrenField, ve = R ? "push" : "unshift";
10961
+ w.forEach((Te) => {
10962
+ const we = Te[ke], B = Be(e, Te), de = we ? i.findTree(T, (ae) => we === ae[ue], { children: Re }) : null;
10963
10963
  if (de) {
10964
10964
  const { item: ae } = de, le = O[Be(e, ae)], U = le ? le.level : 0;
10965
10965
  let ne = ae[Se], be = ae[Re];
10966
- i.isArray(ne) || (ne = ae[Se] = []), i.isArray(be) || (be = ae[Se] = []), ne[ve](Fe), be[ve](Fe);
10967
- const re = { row: Fe, rowid: B, seq: -1, index: -1, _index: -1, $index: -1, treeIndex: -1, items: ne, parent: ae, level: U + 1, height: 0, resizeHeight: 0, oTop: 0, expandHeight: 0 };
10966
+ i.isArray(ne) || (ne = ae[Se] = []), i.isArray(be) || (be = ae[Se] = []), ne[ve](Te), be[ve](Te);
10967
+ const re = { row: Te, rowid: B, seq: -1, index: -1, _index: -1, $index: -1, treeIndex: -1, items: ne, parent: ae, level: U + 1, height: 0, resizeHeight: 0, oTop: 0, expandHeight: 0 };
10968
10968
  q[B] = re, O[B] = re;
10969
10969
  } else {
10970
- process.env.NODE_ENV === "development" && we && at("vxe.error.unableInsert"), oe[ve](Fe), F[ve](Fe);
10971
- const ae = { row: Fe, rowid: B, seq: -1, index: -1, _index: -1, $index: -1, treeIndex: -1, items: F, parent: null, level: 0, height: 0, resizeHeight: 0, oTop: 0, expandHeight: 0 };
10970
+ process.env.NODE_ENV === "development" && we && at("vxe.error.unableInsert"), oe[ve](Te), T[ve](Te);
10971
+ const ae = { row: Te, rowid: B, seq: -1, index: -1, _index: -1, $index: -1, treeIndex: -1, items: T, parent: null, level: 0, height: 0, resizeHeight: 0, oTop: 0, expandHeight: 0 };
10972
10972
  q[B] = ae, O[B] = ae;
10973
10973
  }
10974
10974
  });
10975
- }, W = (w, R, F) => {
10976
- const { treeConfig: oe } = l, { tableFullTreeData: q, afterFullData: O, mergeBodyList: X, tableFullData: ue, fullDataRowIdData: ke, fullAllDataRowIdData: Re, insertRowMaps: Se } = p, ve = P.value, { transform: Fe, rowField: we, mapChildrenField: B } = ve, de = ve.children || ve.childrenField;
10975
+ }, W = (w, R, T) => {
10976
+ const { treeConfig: oe } = l, { tableFullTreeData: q, afterFullData: O, mergeBodyList: X, tableFullData: ue, fullDataRowIdData: ke, fullAllDataRowIdData: Re, insertRowMaps: Se } = p, ve = P.value, { transform: Te, rowField: we, mapChildrenField: B } = ve, de = ve.children || ve.childrenField;
10977
10977
  i.isArray(w) || (w = [w]);
10978
- const ae = wl(e.defineField(w.map((le) => Object.assign(oe && Fe ? { [B]: [], [de]: [] } : {}, le))));
10978
+ const ae = wl(e.defineField(w.map((le) => Object.assign(oe && Te ? { [B]: [], [de]: [] } : {}, le))));
10979
10979
  if (i.eqNull(R))
10980
- oe && Fe ? $(ae, !1) : (ae.forEach((le) => {
10980
+ oe && Te ? $(ae, !1) : (ae.forEach((le) => {
10981
10981
  const U = Be(e, le), ne = { row: le, rowid: U, seq: -1, index: -1, _index: -1, $index: -1, treeIndex: -1, items: O, parent: null, level: 0, height: 0, resizeHeight: 0, oTop: 0, expandHeight: 0 };
10982
10982
  ke[U] = ne, Re[U] = ne, O.unshift(le), ue.unshift(le);
10983
10983
  }), X.forEach((le) => {
@@ -10985,14 +10985,14 @@ Bd.add("tableEditModule", {
10985
10985
  U > 0 && (le.row = U + ae.length);
10986
10986
  }));
10987
10987
  else if (R === -1)
10988
- oe && Fe ? $(ae, !0) : (ae.forEach((le) => {
10988
+ oe && Te ? $(ae, !0) : (ae.forEach((le) => {
10989
10989
  const U = Be(e, le), ne = { row: le, rowid: U, seq: -1, index: -1, _index: -1, treeIndex: -1, $index: -1, items: O, parent: null, level: 0, height: 0, resizeHeight: 0, oTop: 0, expandHeight: 0 };
10990
10990
  ke[U] = ne, Re[U] = ne, O.push(le), ue.push(le);
10991
10991
  }), X.forEach((le) => {
10992
10992
  const { row: U, rowspan: ne } = le;
10993
10993
  U + ne > O.length && (le.rowspan = ne + ae.length);
10994
10994
  }));
10995
- else if (oe && Fe) {
10995
+ else if (oe && Te) {
10996
10996
  const le = i.findTree(q, (U) => R[we] === U[we], { children: B });
10997
10997
  if (le) {
10998
10998
  const { parent: U } = le, ne = U ? U[B] : q, be = Re[Be(e, U)], re = be ? be.level : 0;
@@ -11000,7 +11000,7 @@ Bd.add("tableEditModule", {
11000
11000
  const ce = Be(e, ye);
11001
11001
  process.env.NODE_ENV === "development" && ye[ve.parentField] && U && ye[ve.parentField] !== U[we] && qe("vxe.error.errProp", [`${ve.parentField}=${ye[ve.parentField]}`, `${ve.parentField}=${U[we]}`]), U && (ye[ve.parentField] = U[we]);
11002
11002
  let Me = le.index + ie;
11003
- F && (Me = Me + 1), ne.splice(Me, 0, ye);
11003
+ T && (Me = Me + 1), ne.splice(Me, 0, ye);
11004
11004
  const me = { row: ye, rowid: ce, seq: -1, index: -1, _index: -1, $index: -1, treeIndex: -1, items: ne, parent: U, level: re + 1, height: 0, resizeHeight: 0, oTop: 0, expandHeight: 0 };
11005
11005
  ke[ce] = me, Re[ce] = me;
11006
11006
  }), U) {
@@ -11008,7 +11008,7 @@ Bd.add("tableEditModule", {
11008
11008
  if (ye) {
11009
11009
  const ie = ye.items;
11010
11010
  let ce = ye.index;
11011
- F && (ce = ce + 1), ie.splice(ce, 0, ...ae);
11011
+ T && (ce = ce + 1), ie.splice(ce, 0, ...ae);
11012
11012
  }
11013
11013
  }
11014
11014
  } else
@@ -11017,11 +11017,11 @@ Bd.add("tableEditModule", {
11017
11017
  if (oe)
11018
11018
  throw new Error(Bi("vxe.error.noTree", ["insert"]));
11019
11019
  let le = -1;
11020
- if (i.isNumber(R) ? R < O.length && (le = R) : le = e.findRowIndexOf(O, R), F && (le = Math.min(O.length, le + 1)), le === -1)
11020
+ if (i.isNumber(R) ? R < O.length && (le = R) : le = e.findRowIndexOf(O, R), T && (le = Math.min(O.length, le + 1)), le === -1)
11021
11021
  throw new Error(Bi("vxe.error.unableInsert"));
11022
11022
  O.splice(le, 0, ...ae);
11023
11023
  const U = e.findRowIndexOf(ue, R);
11024
- U > -1 ? ue.splice(U + (F ? 1 : 0), 0, ...ae) : ue.push(...ae), X.forEach((ne) => {
11024
+ U > -1 ? ue.splice(U + (T ? 1 : 0), 0, ...ae) : ue.push(...ae), X.forEach((ne) => {
11025
11025
  const { row: be, rowspan: re } = ne;
11026
11026
  be > le ? ne.row = be + ae.length : be + re > le && (ne.rowspan = re + ae.length);
11027
11027
  });
@@ -11029,15 +11029,15 @@ Bd.add("tableEditModule", {
11029
11029
  return ae.forEach((le) => {
11030
11030
  const U = Be(e, le);
11031
11031
  Se[U] = le;
11032
- }), c.insertRowFlag++, e.cacheRowMap(!1), e.updateScrollYStatus(), e.handleTableData(oe && Fe), oe && Fe || e.updateAfterDataIndex(), e.updateFooter(), e.handleUpdateBodyMerge(), e.checkSelectionStatus(), c.scrollYLoad && e.updateScrollYSpace(), fe().then(() => (e.updateCellAreas(), e.recalculate())).then(() => ({
11032
+ }), c.insertRowFlag++, e.cacheRowMap(!1), e.updateScrollYStatus(), e.handleTableData(oe && Te), oe && Te || e.updateAfterDataIndex(), e.updateFooter(), e.handleUpdateBodyMerge(), e.checkSelectionStatus(), c.scrollYLoad && e.updateScrollYSpace(), fe().then(() => (e.updateCellAreas(), e.recalculate())).then(() => ({
11033
11033
  row: ae.length ? ae[ae.length - 1] : null,
11034
11034
  rows: ae
11035
11035
  }));
11036
- }, ee = (w, R, F, oe) => {
11036
+ }, ee = (w, R, T, oe) => {
11037
11037
  const { treeConfig: q } = l, O = P.value, { transform: X, rowField: ue, parentField: ke } = O;
11038
- return q && X ? (i.isArray(w) || (w = [w]), W(w.map((Re) => Object.assign({}, Re, { [ke]: R[ue] })), F, oe)) : (qe("vxe.error.errProp", ["tree-config.transform=false", "tree-config.transform=true"]), Promise.resolve({ row: null, rows: [] }));
11038
+ return q && X ? (i.isArray(w) || (w = [w]), W(w.map((Re) => Object.assign({}, Re, { [ke]: R[ue] })), T, oe)) : (qe("vxe.error.errProp", ["tree-config.transform=false", "tree-config.transform=true"]), Promise.resolve({ row: null, rows: [] }));
11039
11039
  }, J = (w, R) => {
11040
- const { editStore: F } = c, { actived: oe, focused: q } = F, { row: O, column: X } = oe, ue = se.value;
11040
+ const { editStore: T } = c, { actived: oe, focused: q } = T, { row: O, column: X } = oe, ue = se.value;
11041
11041
  if (O || X) {
11042
11042
  if (R && Be(e, R) !== Be(e, O))
11043
11043
  return fe();
@@ -11051,8 +11051,8 @@ Bd.add("tableEditModule", {
11051
11051
  }, w || null);
11052
11052
  }
11053
11053
  return q.row = null, q.column = null, ue.autoClear && (ue.msgMode !== "full" || Ld().cellVaildMode === "obsolete") && e.clearValidate ? e.clearValidate() : fe().then(() => e.updateCellAreas());
11054
- }, pe = (w, R, F, oe) => {
11055
- const q = e.xeGrid, { editConfig: O, mouseConfig: X } = l, { editStore: ue, tableColumn: ke } = c, Re = S.value, { mode: Se } = Re, { actived: ve, focused: Fe } = ue, { row: we, column: B } = w, { editRender: de } = B, ae = w.cell || e.getCellElement(we, B), le = Re.beforeEditMethod || Re.activeMethod;
11054
+ }, pe = (w, R, T, oe) => {
11055
+ const q = e.xeGrid, { editConfig: O, mouseConfig: X } = l, { editStore: ue, tableColumn: ke } = c, Re = S.value, { mode: Se } = Re, { actived: ve, focused: Te } = ue, { row: we, column: B } = w, { editRender: de } = B, ae = w.cell || e.getCellElement(we, B), le = Re.beforeEditMethod || Re.activeMethod;
11056
11056
  if (w.cell = ae, ae && vt(O) && vt(de) && !e.isPendingByRow(we)) {
11057
11057
  if (ve.row !== we || Se === "cell" && ve.column !== B) {
11058
11058
  let U = "edit-disabled";
@@ -11060,7 +11060,7 @@ Bd.add("tableEditModule", {
11060
11060
  X && (e.clearSelected(), e.clearCellAreas && (e.clearCellAreas(), e.clearCopyCellArea())), e.closeTooltip(), ve.column && J(R), U = "edit-activated", B.renderHeight = ae.offsetHeight, ve.args = w, ve.row = we, ve.column = B, Se === "row" ? ke.forEach((be) => z(we, be)) : z(we, B);
11061
11061
  const ne = Re.afterEditMethod;
11062
11062
  fe(() => {
11063
- F && e.handleFocus(w, R), ne && ne(Object.assign(Object.assign({}, w), { $table: e, $grid: q }));
11063
+ T && e.handleFocus(w, R), ne && ne(Object.assign(Object.assign({}, w), { $table: e, $grid: q }));
11064
11064
  });
11065
11065
  }
11066
11066
  e.dispatchEvent(U, {
@@ -11088,12 +11088,12 @@ Bd.add("tableEditModule", {
11088
11088
  e.handleFocus(w, R);
11089
11089
  });
11090
11090
  }
11091
- Fe.column = null, Fe.row = null, e.focus();
11091
+ Te.column = null, Te.row = null, e.focus();
11092
11092
  }
11093
11093
  return fe();
11094
- }, te = (w, R, F) => {
11094
+ }, te = (w, R, T) => {
11095
11095
  const { editConfig: oe } = l, q = i.isString(R) ? e.getColumnByField(R) : R;
11096
- return w && q && vt(oe) && vt(q.editRender) ? Promise.resolve(F ? e.scrollToRow(w, q) : null).then(() => {
11096
+ return w && q && vt(oe) && vt(q.editRender) ? Promise.resolve(T ? e.scrollToRow(w, q) : null).then(() => {
11097
11097
  const O = e.getCellElement(w, q);
11098
11098
  return O && (pe({
11099
11099
  row: w,
@@ -11102,7 +11102,7 @@ Bd.add("tableEditModule", {
11102
11102
  columnIndex: e.getColumnIndex(q),
11103
11103
  cell: O,
11104
11104
  $table: e
11105
- }, null, F, F), p._lastCallTime = Date.now()), fe();
11105
+ }, null, T, T), p._lastCallTime = Date.now()), fe();
11106
11106
  }) : fe();
11107
11107
  };
11108
11108
  return d = {
@@ -11131,11 +11131,11 @@ Bd.add("tableEditModule", {
11131
11131
  insertChild(w, R) {
11132
11132
  return ee(w, R, null);
11133
11133
  },
11134
- insertChildAt(w, R, F) {
11135
- return ee(w, R, F);
11134
+ insertChildAt(w, R, T) {
11135
+ return ee(w, R, T);
11136
11136
  },
11137
- insertChildNextAt(w, R, F) {
11138
- return ee(w, R, F, !0);
11137
+ insertChildNextAt(w, R, T) {
11138
+ return ee(w, R, T, !0);
11139
11139
  },
11140
11140
  /**
11141
11141
  * 删除指定行数据
@@ -11144,7 +11144,7 @@ Bd.add("tableEditModule", {
11144
11144
  * 如果为空则删除所有
11145
11145
  */
11146
11146
  remove(w) {
11147
- const { treeConfig: R } = l, { editStore: F } = c, { tableFullTreeData: oe, selectCheckboxMaps: q, afterFullData: O, mergeBodyList: X, tableFullData: ue, pendingRowMaps: ke, insertRowMaps: Re, removeRowMaps: Se } = p, ve = A.value, Fe = P.value, { transform: we, mapChildrenField: B } = Fe, de = Fe.children || Fe.childrenField, { actived: ae } = F, { checkField: le } = ve;
11147
+ const { treeConfig: R } = l, { editStore: T } = c, { tableFullTreeData: oe, selectCheckboxMaps: q, afterFullData: O, mergeBodyList: X, tableFullData: ue, pendingRowMaps: ke, insertRowMaps: Re, removeRowMaps: Se } = p, ve = A.value, Te = P.value, { transform: we, mapChildrenField: B } = Te, de = Te.children || Te.childrenField, { actived: ae } = T, { checkField: le } = ve;
11148
11148
  let U = [];
11149
11149
  return w ? i.isArray(w) || (w = [w]) : w = ue, w.forEach((ne) => {
11150
11150
  if (!e.isInsertByRow(ne)) {
@@ -11204,7 +11204,7 @@ Bd.add("tableEditModule", {
11204
11204
  * 获取表格数据集,包含新增、删除、修改、标记
11205
11205
  */
11206
11206
  getRecordset() {
11207
- const w = d.getRemoveRecords(), R = e.getPendingRecords(), F = w.concat(R), oe = d.getUpdateRecords().filter((q) => !F.some((O) => e.eqRow(O, q)));
11207
+ const w = d.getRemoveRecords(), R = e.getPendingRecords(), T = w.concat(R), oe = d.getUpdateRecords().filter((q) => !T.some((O) => e.eqRow(O, q)));
11208
11208
  return {
11209
11209
  insertRecords: d.getInsertRecords(),
11210
11210
  removeRecords: w,
@@ -11216,18 +11216,18 @@ Bd.add("tableEditModule", {
11216
11216
  * 获取新增的临时数据
11217
11217
  */
11218
11218
  getInsertRecords() {
11219
- const { fullAllDataRowIdData: w, insertRowMaps: R } = p, F = [];
11219
+ const { fullAllDataRowIdData: w, insertRowMaps: R } = p, T = [];
11220
11220
  return i.each(R, (oe, q) => {
11221
- w[q] && F.push(oe);
11222
- }), F;
11221
+ w[q] && T.push(oe);
11222
+ }), T;
11223
11223
  },
11224
11224
  /**
11225
11225
  * 获取已删除的数据
11226
11226
  */
11227
11227
  getRemoveRecords() {
11228
11228
  const { removeRowMaps: w } = p, R = [];
11229
- return i.each(w, (F) => {
11230
- R.push(F);
11229
+ return i.each(w, (T) => {
11230
+ R.push(T);
11231
11231
  }), R;
11232
11232
  },
11233
11233
  /**
@@ -11236,22 +11236,22 @@ Bd.add("tableEditModule", {
11236
11236
  * 如果是树表格,子节点更改状态不会影响父节点的更新状态
11237
11237
  */
11238
11238
  getUpdateRecords() {
11239
- const { keepSource: w, treeConfig: R } = l, { tableFullData: F } = p, oe = P.value;
11240
- return w ? (Y(), R ? i.filterTree(F, (q) => e.isUpdateByRow(q), oe) : F.filter((q) => e.isUpdateByRow(q))) : [];
11239
+ const { keepSource: w, treeConfig: R } = l, { tableFullData: T } = p, oe = P.value;
11240
+ return w ? (Y(), R ? i.filterTree(T, (q) => e.isUpdateByRow(q), oe) : T.filter((q) => e.isUpdateByRow(q))) : [];
11241
11241
  },
11242
11242
  getActiveRecord() {
11243
11243
  return process.env.NODE_ENV === "development" && at("vxe.error.delFunc", ["getActiveRecord", "getEditRecord"]), e.getEditRecord();
11244
11244
  },
11245
11245
  getEditRecord() {
11246
- const { editStore: w } = c, { afterFullData: R } = p, F = E.value, { args: oe, row: q } = w.actived;
11247
- return oe && e.findRowIndexOf(R, q) > -1 && F.querySelectorAll(".vxe-body--column.col--active").length ? Object.assign({}, oe) : null;
11246
+ const { editStore: w } = c, { afterFullData: R } = p, T = E.value, { args: oe, row: q } = w.actived;
11247
+ return oe && e.findRowIndexOf(R, q) > -1 && T.querySelectorAll(".vxe-body--column.col--active").length ? Object.assign({}, oe) : null;
11248
11248
  },
11249
11249
  /**
11250
11250
  * 获取选中的单元格
11251
11251
  */
11252
11252
  getSelectedCell() {
11253
- const { editStore: w } = c, { args: R, column: F } = w.selected;
11254
- return R && F ? Object.assign({}, R) : null;
11253
+ const { editStore: w } = c, { args: R, column: T } = w.selected;
11254
+ return R && T ? Object.assign({}, R) : null;
11255
11255
  },
11256
11256
  clearActived(w) {
11257
11257
  return process.env.NODE_ENV === "development" && at("vxe.error.delFunc", ["clearActived", "clearEdit"]), e.clearEdit(w);
@@ -11287,8 +11287,8 @@ Bd.add("tableEditModule", {
11287
11287
  * 激活行编辑
11288
11288
  */
11289
11289
  setEditRow(w, R) {
11290
- const { visibleColumn: F } = p;
11291
- let oe = i.find(F, (O) => vt(O.editRender)), q = !1;
11290
+ const { visibleColumn: T } = p;
11291
+ let oe = i.find(T, (O) => vt(O.editRender)), q = !1;
11292
11292
  return R && (q = !0, R !== !0 && (oe = i.isString(R) ? e.getColumnByField(R) : R)), te(w, oe, q);
11293
11293
  },
11294
11294
  setActiveCell(w, R) {
@@ -11304,9 +11304,9 @@ Bd.add("tableEditModule", {
11304
11304
  * 只对 trigger=dblclick 有效,选中单元格
11305
11305
  */
11306
11306
  setSelectCell(w, R) {
11307
- const { tableData: F } = c, oe = S.value, q = i.isString(R) ? e.getColumnByField(R) : R;
11307
+ const { tableData: T } = c, oe = S.value, q = i.isString(R) ? e.getColumnByField(R) : R;
11308
11308
  if (w && q && oe.trigger !== "manual") {
11309
- const O = e.findRowIndexOf(F, w);
11309
+ const O = e.findRowIndexOf(T, w);
11310
11310
  if (O > -1 && q) {
11311
11311
  const X = e.getCellElement(w, q), ue = {
11312
11312
  row: w,
@@ -11343,7 +11343,7 @@ Bd.add("tableEditModule", {
11343
11343
  * 处理聚焦
11344
11344
  */
11345
11345
  handleFocus(w) {
11346
- const { row: R, column: F, cell: oe } = w, { editRender: q } = F, O = S.value;
11346
+ const { row: R, column: T, cell: oe } = w, { editRender: q } = T, O = S.value;
11347
11347
  if (vt(q)) {
11348
11348
  const X = Hd.get(q.name);
11349
11349
  let ue = q.autofocus || q.autoFocus, ke = q.autoSelect || q.autoselect, Re;
@@ -11355,20 +11355,20 @@ Bd.add("tableEditModule", {
11355
11355
  Se.collapse(!1), Se.select();
11356
11356
  }
11357
11357
  } else
11358
- O.autoPos && (F.fixed || e.scrollToRow(R, F));
11358
+ O.autoPos && (T.fixed || e.scrollToRow(R, T));
11359
11359
  }
11360
11360
  },
11361
11361
  /**
11362
11362
  * 处理选中源
11363
11363
  */
11364
11364
  handleSelected(w, R) {
11365
- const { mouseConfig: F } = l, { editStore: oe } = c, q = x.value, O = S.value, { actived: X, selected: ue } = oe, { row: ke, column: Re } = w, Se = F && q.selected;
11365
+ const { mouseConfig: T } = l, { editStore: oe } = c, q = x.value, O = S.value, { actived: X, selected: ue } = oe, { row: ke, column: Re } = w, Se = T && q.selected;
11366
11366
  return Se && (ue.row !== ke || ue.column !== Re) && (X.row !== ke || O.mode === "cell" && X.column !== Re) && (J(R), e.clearSelected(), e.clearCellAreas && (e.clearCellAreas(), e.clearCopyCellArea()), ue.args = w, ue.row = ke, ue.column = Re, Se && j.addCellSelectedClass(), e.focus(), R && e.dispatchEvent("cell-selected", w, R)), fe();
11367
11367
  },
11368
11368
  addCellSelectedClass() {
11369
- const { editStore: w } = c, { selected: R } = w, { row: F, column: oe } = R;
11370
- if (V(), F && oe) {
11371
- const q = e.getCellElement(F, oe);
11369
+ const { editStore: w } = c, { selected: R } = w, { row: T, column: oe } = R;
11370
+ if (V(), T && oe) {
11371
+ const q = e.getCellElement(T, oe);
11372
11372
  q && al(q, "col--selected");
11373
11373
  }
11374
11374
  }
@@ -11459,7 +11459,7 @@ function Gd(e, l) {
11459
11459
  }
11460
11460
  return l;
11461
11461
  }
11462
- function Tn(e) {
11462
+ function Fn(e) {
11463
11463
  return /[",\s\n]/.test(e) ? `"${e.replace(/"/g, '""')}"` : e;
11464
11464
  }
11465
11465
  function Xo(e, l) {
@@ -11588,7 +11588,7 @@ jd.add("tableExportModule", {
11588
11588
  const { isAllExpand: le, mode: U } = B, { treeConfig: ne } = l, be = f.value, re = d.value, ye = E.value, ie = j.value;
11589
11589
  if (Dn || (Dn = document.createElement("div")), ne) {
11590
11590
  const ce = ye.children || ye.childrenField, Me = [], me = /* @__PURE__ */ new Map();
11591
- return i.eachTree(ae, (Z, Te, Ce, Ue, Ge, Xe) => {
11591
+ return i.eachTree(ae, (Z, Fe, Ce, Ue, Ge, Xe) => {
11592
11592
  const Le = Z._row || Z, nt = Ge && Ge._row ? Ge._row : Ge;
11593
11593
  if (le || !nt || me.has(nt) && e.isTreeExpandByRow(nt)) {
11594
11594
  const Rt = H(Le), Ct = {
@@ -11611,7 +11611,7 @@ jd.add("tableExportModule", {
11611
11611
  switch (ct.type) {
11612
11612
  case "seq": {
11613
11613
  const Ye = Ue.map((pt, Ae) => Ae % 2 === 0 ? Number(pt) + 1 : ".").join("");
11614
- xt = U === "all" ? Ye : V(Ye, Le, Te, ct, st);
11614
+ xt = U === "all" ? Ye : V(Ye, Le, Fe, ct, st);
11615
11615
  break;
11616
11616
  }
11617
11617
  case "checkbox":
@@ -11639,7 +11639,7 @@ jd.add("tableExportModule", {
11639
11639
  const me = {
11640
11640
  _row: ce
11641
11641
  };
11642
- return de.forEach((Z, Te) => {
11642
+ return de.forEach((Z, Fe) => {
11643
11643
  let Ce = "";
11644
11644
  const Ue = Z.editRender || Z.cellRender;
11645
11645
  let Ge = Z.exportMethod || ie.exportMethod;
@@ -11653,7 +11653,7 @@ jd.add("tableExportModule", {
11653
11653
  switch (Z.type) {
11654
11654
  case "seq": {
11655
11655
  const Xe = Me + 1;
11656
- Ce = U === "all" ? Xe : V(Xe, ce, Me, Z, Te);
11656
+ Ce = U === "all" ? Xe : V(Xe, ce, Me, Z, Fe);
11657
11657
  break;
11658
11658
  }
11659
11659
  case "checkbox":
@@ -11691,23 +11691,23 @@ jd.add("tableExportModule", {
11691
11691
  return ne ? ne({ $table: e, items: de, itemIndex: be, row: de, _columnIndex: be, column: ae, options: B }) : i.isArray(de) ? i.toValueString(de[be]) : i.get(de, ae.field);
11692
11692
  }, te = (B, de, ae, le) => {
11693
11693
  let U = zd;
11694
- if (de.isHeader && (U += ae.map((ne) => Tn(Y(de, ne))).join(",") + Kl), le.forEach((ne) => {
11695
- U += ae.map((be) => Tn(Gd(be, ne[be.id]))).join(",") + Kl;
11694
+ if (de.isHeader && (U += ae.map((ne) => Fn(Y(de, ne))).join(",") + Kl), le.forEach((ne) => {
11695
+ U += ae.map((be) => Fn(Gd(be, ne[be.id]))).join(",") + Kl;
11696
11696
  }), de.isFooter) {
11697
11697
  const { footerTableData: ne } = c;
11698
11698
  kr(B, de, ne).forEach((re) => {
11699
- U += ae.map((ye) => Tn(pe(de, re, ye))).join(",") + Kl;
11699
+ U += ae.map((ye) => Fn(pe(de, re, ye))).join(",") + Kl;
11700
11700
  });
11701
11701
  }
11702
11702
  return U;
11703
11703
  }, w = (B, de, ae, le) => {
11704
11704
  let U = "";
11705
- if (de.isHeader && (U += ae.map((ne) => Tn(Y(de, ne))).join(" ") + Kl), le.forEach((ne) => {
11706
- U += ae.map((be) => Tn(ne[be.id])).join(" ") + Kl;
11705
+ if (de.isHeader && (U += ae.map((ne) => Fn(Y(de, ne))).join(" ") + Kl), le.forEach((ne) => {
11706
+ U += ae.map((be) => Fn(ne[be.id])).join(" ") + Kl;
11707
11707
  }), de.isFooter) {
11708
11708
  const { footerTableData: ne } = c;
11709
11709
  kr(B, de, ne).forEach((re) => {
11710
- U += ae.map((ye) => Tn(pe(de, re, ye))).join(" ") + Kl;
11710
+ U += ae.map((ye) => Fn(pe(de, re, ye))).join(" ") + Kl;
11711
11711
  });
11712
11712
  }
11713
11713
  return U;
@@ -11716,8 +11716,8 @@ jd.add("tableExportModule", {
11716
11716
  let ye = U === "title" || (U === !0 || U === "tooltip") || U === "ellipsis";
11717
11717
  const { scrollXLoad: ie, scrollYLoad: ce } = c;
11718
11718
  return (ie || ce) && !ye && (ye = !0), ye;
11719
- }, F = (B, de, ae) => {
11720
- const { id: le, border: U, treeConfig: ne, headerAlign: be, align: re, footerAlign: ye, showOverflow: ie, showHeaderOverflow: ce } = l, { isAllSelected: Me, isIndeterminate: me } = c, { mergeBodyCellMaps: Z } = p, Te = E.value, { print: Ce, isHeader: Ue, isFooter: Ge, isColgroup: Xe, isMerge: Le, colgroups: nt, original: Rt } = B, Ct = "check-all", st = [
11719
+ }, T = (B, de, ae) => {
11720
+ const { id: le, border: U, treeConfig: ne, headerAlign: be, align: re, footerAlign: ye, showOverflow: ie, showHeaderOverflow: ce } = l, { isAllSelected: Me, isIndeterminate: me } = c, { mergeBodyCellMaps: Z } = p, Fe = E.value, { print: Ce, isHeader: Ue, isFooter: Ge, isColgroup: Xe, isMerge: Le, colgroups: nt, original: Rt } = B, Ct = "check-all", st = [
11721
11721
  `<table class="${[
11722
11722
  "vxe-table",
11723
11723
  `border--${Wd(U)}`,
@@ -11744,7 +11744,7 @@ jd.add("tableExportModule", {
11744
11744
  const Ye = ze.id, pt = ze.align || re, Ae = R(ze, "showOverflow", ie) ? ["col--ellipsis"] : [], Oe = Ze[Ye];
11745
11745
  if (pt && Ae.push(`col--${pt}`), ze.treeNode) {
11746
11746
  let He = "";
11747
- return Ze._hasChild && (He = `<i class="${Ze._expand ? "vxe-table--tree-fold-icon" : "vxe-table--tree-unfold-icon"}"></i>`), Ae.push("vxe-table--tree-node"), ze.type === "radio" ? `<td class="${Ae.join(" ")}" title="${Oe}"><div ${Ce ? "" : `style="width: ${ze.renderWidth}px"`}><div class="vxe-table--tree-node-wrapper" style="padding-left: ${Ze._level * Te.indent}px"><div class="vxe-table--tree-icon-wrapper">${He}</div><div class="vxe-table--tree-cell"><input type="radio" name="radio_${le}" ${Ze._radioDisabled ? "disabled " : ""}${Mn(Oe) ? "checked" : ""}><span>${Ze._radioLabel}</span></div></div></div></td>` : ze.type === "checkbox" ? `<td class="${Ae.join(" ")}" title="${Oe}"><div ${Ce ? "" : `style="width: ${ze.renderWidth}px"`}><div class="vxe-table--tree-node-wrapper" style="padding-left: ${Ze._level * Te.indent}px"><div class="vxe-table--tree-icon-wrapper">${He}</div><div class="vxe-table--tree-cell"><input type="checkbox" ${Ze._checkboxDisabled ? "disabled " : ""}${Mn(Oe) ? "checked" : ""}><span>${Ze._checkboxLabel}</span></div></div></div></td>` : `<td class="${Ae.join(" ")}" title="${Oe}"><div ${Ce ? "" : `style="width: ${ze.renderWidth}px"`}><div class="vxe-table--tree-node-wrapper" style="padding-left: ${Ze._level * Te.indent}px"><div class="vxe-table--tree-icon-wrapper">${He}</div><div class="vxe-table--tree-cell">${Oe}</div></div></div></td>`;
11747
+ return Ze._hasChild && (He = `<i class="${Ze._expand ? "vxe-table--tree-fold-icon" : "vxe-table--tree-unfold-icon"}"></i>`), Ae.push("vxe-table--tree-node"), ze.type === "radio" ? `<td class="${Ae.join(" ")}" title="${Oe}"><div ${Ce ? "" : `style="width: ${ze.renderWidth}px"`}><div class="vxe-table--tree-node-wrapper" style="padding-left: ${Ze._level * Fe.indent}px"><div class="vxe-table--tree-icon-wrapper">${He}</div><div class="vxe-table--tree-cell"><input type="radio" name="radio_${le}" ${Ze._radioDisabled ? "disabled " : ""}${Mn(Oe) ? "checked" : ""}><span>${Ze._radioLabel}</span></div></div></div></td>` : ze.type === "checkbox" ? `<td class="${Ae.join(" ")}" title="${Oe}"><div ${Ce ? "" : `style="width: ${ze.renderWidth}px"`}><div class="vxe-table--tree-node-wrapper" style="padding-left: ${Ze._level * Fe.indent}px"><div class="vxe-table--tree-icon-wrapper">${He}</div><div class="vxe-table--tree-cell"><input type="checkbox" ${Ze._checkboxDisabled ? "disabled " : ""}${Mn(Oe) ? "checked" : ""}><span>${Ze._checkboxLabel}</span></div></div></div></td>` : `<td class="${Ae.join(" ")}" title="${Oe}"><div ${Ce ? "" : `style="width: ${ze.renderWidth}px"`}><div class="vxe-table--tree-node-wrapper" style="padding-left: ${Ze._level * Fe.indent}px"><div class="vxe-table--tree-icon-wrapper">${He}</div><div class="vxe-table--tree-cell">${Oe}</div></div></div></td>`;
11748
11748
  }
11749
11749
  return ze.type === "radio" ? `<td class="${Ae.join(" ")}"><div ${Ce ? "" : `style="width: ${ze.renderWidth}px"`}><input type="radio" name="radio_${le}" ${Ze._radioDisabled ? "disabled " : ""}${Mn(Oe) ? "checked" : ""}><span>${Ze._radioLabel}</span></div></td>` : ze.type === "checkbox" ? `<td class="${Ae.join(" ")}"><div ${Ce ? "" : `style="width: ${ze.renderWidth}px"`}><input type="checkbox" ${Ze._checkboxDisabled ? "disabled " : ""}${Mn(Oe) ? "checked" : ""}><span>${Ze._checkboxLabel}</span></div></td>` : `<td class="${Ae.join(" ")}" title="${Oe}"><div ${Ce ? "" : `style="width: ${ze.renderWidth}px"`}>${wo(Oe, !0)}</div></td>`;
11750
11750
  }).join("") + "</tr>");
@@ -11811,7 +11811,7 @@ jd.add("tableExportModule", {
11811
11811
  case "txt":
11812
11812
  return w(B, de, ae, le);
11813
11813
  case "html":
11814
- return F(de, ae, le);
11814
+ return T(de, ae, le);
11815
11815
  case "xml":
11816
11816
  return oe(de, ae, le);
11817
11817
  }
@@ -11845,8 +11845,8 @@ jd.add("tableExportModule", {
11845
11845
  let ne = { fields: [], rows: [] };
11846
11846
  const be = {}, re = {};
11847
11847
  ae.forEach((me) => {
11848
- const Z = me.field, Te = me.getTitle();
11849
- Z && (be[Z] = me), Te && (re[me.getTitle()] = me);
11848
+ const Z = me.field, Fe = me.getTitle();
11849
+ Z && (be[Z] = me), Fe && (re[me.getTitle()] = me);
11850
11850
  });
11851
11851
  const ye = {
11852
11852
  fieldMaps: be,
@@ -11897,12 +11897,12 @@ jd.add("tableExportModule", {
11897
11897
  else {
11898
11898
  const { tableFullColumn: Z } = p;
11899
11899
  e.preventEvent(null, "event.import", { file: B, options: me, columns: Z }, () => {
11900
- const Te = new FileReader();
11901
- Te.onerror = () => {
11900
+ const Fe = new FileReader();
11901
+ Fe.onerror = () => {
11902
11902
  qe("vxe.error.notType", [U]), Me({ status: !1 });
11903
- }, Te.onload = (Ce) => {
11903
+ }, Fe.onload = (Ce) => {
11904
11904
  ue(Ce.target.result, me);
11905
- }, Te.readAsText(B, me.encoding || "UTF-8");
11905
+ }, Fe.readAsText(B, me.encoding || "UTF-8");
11906
11906
  });
11907
11907
  }
11908
11908
  } else
@@ -11928,7 +11928,7 @@ jd.add("tableExportModule", {
11928
11928
  }
11929
11929
  return !1;
11930
11930
  }), Se = (B, de, ae, le) => le && i.includes(le, de.field) ? !1 : ae ? !!i.includes(ae, de.field) : B.original ? de.field : Ir(de), ve = (B, de) => {
11931
- const { treeConfig: ae, showHeader: le, showFooter: U } = l, { initStore: ne, isGroup: be, footerTableData: re, exportStore: ye, exportParams: ie } = c, { collectColumn: ce, mergeBodyList: Me, mergeFooterList: me } = p, Z = S.value, Te = ae, Ce = P.value, Ue = e.getCheckboxRecords(), Ge = z ? z.getComputeMaps().computeProxyOpts.value : {}, Xe = !!re.length, Le = !!(Me.length || me.length), nt = Object.assign({
11931
+ const { treeConfig: ae, showHeader: le, showFooter: U } = l, { initStore: ne, isGroup: be, footerTableData: re, exportStore: ye, exportParams: ie } = c, { collectColumn: ce, mergeBodyList: Me, mergeFooterList: me } = p, Z = S.value, Fe = ae, Ce = P.value, Ue = e.getCheckboxRecords(), Ge = z ? z.getComputeMaps().computeProxyOpts.value : {}, Xe = !!re.length, Le = !!(Me.length || me.length), nt = Object.assign({
11932
11932
  message: !0,
11933
11933
  isHeader: le,
11934
11934
  isTitle: le,
@@ -11958,7 +11958,7 @@ jd.add("tableExportModule", {
11958
11958
  modeList: pt,
11959
11959
  hasFooter: Xe,
11960
11960
  hasMerge: Le,
11961
- hasTree: Te,
11961
+ hasTree: Fe,
11962
11962
  isPrint: de,
11963
11963
  hasColgroup: be,
11964
11964
  visible: !0
@@ -11975,7 +11975,7 @@ jd.add("tableExportModule", {
11975
11975
  $table: e,
11976
11976
  $grid: z
11977
11977
  }) : ie.sheetName = `${Oe}`), pt.some((Je) => Je.value === He) || (ie.mode = pt[0].value), Ye.some((Je) => Je.value === mt) || (ie.type = Ye[0].value), ne.export = !0, fe();
11978
- }, Fe = () => ge.modal ? ge.modal.close("VXE_EXPORT_MODAL") : Promise.resolve(), we = {
11978
+ }, Te = () => ge.modal ? ge.modal.close("VXE_EXPORT_MODAL") : Promise.resolve(), we = {
11979
11979
  /**
11980
11980
  * 导出文件,支持 csv/html/xml/txt
11981
11981
  * 如果是树表格,则默认是导出所有节点
@@ -11983,7 +11983,7 @@ jd.add("tableExportModule", {
11983
11983
  * @param {Object} options 参数
11984
11984
  */
11985
11985
  exportData(B) {
11986
- const { treeConfig: de, showHeader: ae, showFooter: le } = l, { isGroup: U } = c, { tableFullColumn: ne, afterFullData: be, collectColumn: re, mergeBodyList: ye, mergeFooterList: ie } = p, ce = S.value, Me = E.value, me = z ? z.getComputeMaps().computeProxyOpts.value : {}, Z = !!(ye.length || ie.length), Te = Object.assign({
11986
+ const { treeConfig: de, showHeader: ae, showFooter: le } = l, { isGroup: U } = c, { tableFullColumn: ne, afterFullData: be, collectColumn: re, mergeBodyList: ye, mergeFooterList: ie } = p, ce = S.value, Me = E.value, me = z ? z.getComputeMaps().computeProxyOpts.value : {}, Z = !!(ye.length || ie.length), Fe = Object.assign({
11987
11987
  message: !0,
11988
11988
  isHeader: ae,
11989
11989
  isTitle: ae,
@@ -12008,14 +12008,14 @@ jd.add("tableExportModule", {
12008
12008
  // beforeExportMethod: null,
12009
12009
  // afterExportMethod: null
12010
12010
  }, ce, B);
12011
- let { filename: Ce, sheetName: Ue, type: Ge, mode: Xe, columns: Le, original: nt, columnFilterMethod: Rt, beforeExportMethod: Ct, includeFields: ct, excludeFields: st } = Te, xt = [];
12011
+ let { filename: Ce, sheetName: Ue, type: Ge, mode: Xe, columns: Le, original: nt, columnFilterMethod: Rt, beforeExportMethod: Ct, includeFields: ct, excludeFields: st } = Fe, xt = [];
12012
12012
  const Ze = e.getCheckboxRecords();
12013
12013
  Xe || (Xe = Ze.length ? "selected" : "current");
12014
12014
  const ze = Le && Le.length ? Le : i.searchTree(re, (Ae) => {
12015
12015
  const Oe = Ae.children && Ae.children.length;
12016
12016
  let He = !1;
12017
- return Le && Le.length ? He = Re(Te, Ae, Le) : st || ct ? He = Se(Te, Ae, ct, st) : He = Ae.visible && (Oe || Ir(Ae)), He;
12018
- }, { children: "children", mapChildren: "childNodes", original: !0 }), Ye = Object.assign({}, Te, { filename: "", sheetName: "" });
12017
+ return Le && Le.length ? He = Re(Fe, Ae, Le) : st || ct ? He = Se(Fe, Ae, ct, st) : He = Ae.visible && (Oe || Ir(Ae)), He;
12018
+ }, { children: "children", mapChildren: "childNodes", original: !0 }), Ye = Object.assign({}, Fe, { filename: "", sheetName: "" });
12019
12019
  !ze && !Rt && (Ye.columnFilterMethod = ({ column: Ae }) => st && i.includes(st, Ae.field) ? !1 : ct ? !!i.includes(ct, Ae.field) : nt ? Ae.field : Ir(Ae)), ze ? (Ye._isCustomColumn = !0, xt = i.searchTree(i.mapTree(ze, (Ae) => {
12020
12020
  let Oe;
12021
12021
  if (Ae) {
@@ -12041,11 +12041,11 @@ jd.add("tableExportModule", {
12041
12041
  if (i.eachTree(xt, (Ae) => {
12042
12042
  Ae.children && Ae.children.length || pt.push(Ae);
12043
12043
  }, { children: "childNodes" }), Ye.columns = pt, Ye.colgroups = _d(xt), Ce && (i.isFunction(Ce) ? Ye.filename = Ce({
12044
- options: Te,
12044
+ options: Fe,
12045
12045
  $table: e,
12046
12046
  $grid: z
12047
12047
  }) : Ye.filename = `${Ce}`), Ye.filename || (Ye.filename = bl(Ye.original ? "vxe.table.expOriginFilename" : "vxe.table.expFilename", [i.toDateString(Date.now(), "yyyyMMddHHmmss")])), Ue && (i.isFunction(Ue) ? Ye.sheetName = Ue({
12048
- options: Te,
12048
+ options: Fe,
12049
12049
  $table: e,
12050
12050
  $grid: z
12051
12051
  }) : Ye.sheetName = `${Ue}`), Ye.sheetName || (Ye.sheetName = document.title || ""), !Ye.exportMethod && !i.includes(i.keys(ce._typeMaps), Ge)) {
@@ -12190,7 +12190,7 @@ jd.add("tableExportModule", {
12190
12190
  visible: !0
12191
12191
  }), Object.assign(ne, re), me.some((Z) => Z.value === ne.mode) || (ne.mode = me[0].value), le.import = !0;
12192
12192
  },
12193
- closeExport: Fe,
12193
+ closeExport: Te,
12194
12194
  openExport(B) {
12195
12195
  const de = S.value, ae = Object.assign({
12196
12196
  message: !0,
@@ -12198,7 +12198,7 @@ jd.add("tableExportModule", {
12198
12198
  }, de, B);
12199
12199
  l.exportConfig || qe("vxe.error.reqProp", ["export-config"]), ve(ae);
12200
12200
  },
12201
- closePrint: Fe,
12201
+ closePrint: Te,
12202
12202
  openPrint(B) {
12203
12203
  const de = x.value, ae = Object.assign({
12204
12204
  message: !0
@@ -12230,29 +12230,29 @@ function Jd(e, l) {
12230
12230
  Zd.add("tableKeyboardModule", {
12231
12231
  setupTable(e) {
12232
12232
  const { props: l, reactData: c, internalData: p } = e, { refElem: E } = e.getRefMaps(), { computeEditOpts: x, computeCheckboxOpts: S, computeMouseOpts: A, computeTreeOpts: P, computeRowOpts: se, computeColumnOpts: f, computeCellOpts: d, computeDefaultRowHeight: j, computeCurrentRowOpts: z, computeCurrentColumnOpts: H } = e.getComputeMaps();
12233
- function V(J, pe, te, w, R, F) {
12233
+ function V(J, pe, te, w, R, T) {
12234
12234
  const { showOverflow: oe } = l, { fullAllDataRowIdData: q, isResizeCellHeight: O } = p, X = se.value, ue = d.value, ke = j.value, { row: Re } = pe;
12235
- let Se = 0, ve = [], Fe = 0;
12236
- const we = F > 0, { scrollYLoad: B } = c, { afterFullData: de } = p;
12237
- if (we ? Fe = R + F : Fe = w.height - R + Math.abs(F), B) {
12235
+ let Se = 0, ve = [], Te = 0;
12236
+ const we = T > 0, { scrollYLoad: B } = c, { afterFullData: de } = p;
12237
+ if (we ? Te = R + T : Te = w.height - R + Math.abs(T), B) {
12238
12238
  const ae = e.getVTRowIndex(Re);
12239
12239
  if (!(O || ue.height || X.height) && oe)
12240
- we ? ve = de.slice(ae, ae + Math.ceil(Fe / ke)) : ve = de.slice(ae - Math.floor(Fe / ke), ae + 1);
12240
+ we ? ve = de.slice(ae, ae + Math.ceil(Te / ke)) : ve = de.slice(ae - Math.floor(Te / ke), ae + 1);
12241
12241
  else if (we)
12242
12242
  for (let U = ae; U < de.length; U++) {
12243
12243
  const ne = de[U], be = e.getRowid(ne), re = q[be] || {};
12244
- if (Se += re.resizeHeight || ue.height || X.height || re.height || ke, ve.push(ne), Se > Fe)
12244
+ if (Se += re.resizeHeight || ue.height || X.height || re.height || ke, ve.push(ne), Se > Te)
12245
12245
  return ve;
12246
12246
  }
12247
12247
  else
12248
12248
  for (let U = ae; U >= 0; U--) {
12249
12249
  const ne = de[U], be = e.getRowid(ne), re = q[be] || {};
12250
- if (Se += re.resizeHeight || ue.height || X.height || re.height || ke, ve.push(ne), Se > Fe)
12250
+ if (Se += re.resizeHeight || ue.height || X.height || re.height || ke, ve.push(ne), Se > Te)
12251
12251
  return ve;
12252
12252
  }
12253
12253
  } else {
12254
12254
  const ae = we ? "next" : "previous";
12255
- for (; te && Se < Fe; ) {
12255
+ for (; te && Se < Te; ) {
12256
12256
  const le = e.getRowNode(te);
12257
12257
  le && (ve.push(le.item), Se += te.offsetHeight, te = te[`${ae}ElementSibling`]);
12258
12258
  }
@@ -12260,66 +12260,66 @@ Zd.add("tableKeyboardModule", {
12260
12260
  return ve;
12261
12261
  }
12262
12262
  const Y = (J, pe) => {
12263
- const { elemStore: te } = p, w = ot(te["main-body-scroll"]), R = ot(te["left-body-scroll"]), F = ot(te["right-body-scroll"]), { column: oe, cell: q } = pe;
12263
+ const { elemStore: te } = p, w = ot(te["main-body-scroll"]), R = ot(te["left-body-scroll"]), T = ot(te["right-body-scroll"]), { column: oe, cell: q } = pe;
12264
12264
  if (oe.type === "checkbox") {
12265
12265
  let O = w;
12266
- if (R && oe.fixed === "left" ? O = R : F && oe.fixed === "right" && (O = F), !O)
12266
+ if (R && oe.fixed === "left" ? O = R : T && oe.fixed === "right" && (O = T), !O)
12267
12267
  return;
12268
12268
  const X = E.value, ue = J.clientX, ke = J.clientY, Re = O.querySelector(".vxe-table--checkbox-range"), Se = q.parentElement, ve = e.getCheckboxRecords();
12269
- let Fe = [];
12269
+ let Te = [];
12270
12270
  const we = 1, B = Jd(J.target, O), de = B.offsetTop + J.offsetY, ae = B.offsetLeft + J.offsetX, le = O.scrollTop, U = Se.offsetHeight, ne = Se.getBoundingClientRect(), be = ke - ne.y;
12271
12271
  let re = null, ye = !1, ie = 1;
12272
- const ce = (Te, Ce) => {
12273
- e.dispatchEvent(`checkbox-range-${Te}`, { records: e.getCheckboxRecords(), reserves: e.getCheckboxReserveRecords() }, Ce);
12274
- }, Me = (Te) => {
12275
- const { clientX: Ce, clientY: Ue } = Te, Ge = Ce - ue, Xe = Ue - ke + (O.scrollTop - le);
12272
+ const ce = (Fe, Ce) => {
12273
+ e.dispatchEvent(`checkbox-range-${Fe}`, { records: e.getCheckboxRecords(), reserves: e.getCheckboxReserveRecords() }, Ce);
12274
+ }, Me = (Fe) => {
12275
+ const { clientX: Ce, clientY: Ue } = Fe, Ge = Ce - ue, Xe = Ue - ke + (O.scrollTop - le);
12276
12276
  let Le = Math.abs(Xe), nt = Math.abs(Ge), Rt = de, Ct = ae;
12277
12277
  Xe < we ? (Rt += Xe, Rt < we && (Rt = we, Le = de)) : Le = Math.min(Le, O.scrollHeight - de - we), Ge < we ? (Ct += Ge, nt > ae && (Ct = we, nt = ae)) : nt = Math.min(nt, O.clientWidth - ae - we), Re.style.height = `${Le}px`, Re.style.width = `${nt}px`, Re.style.left = `${Ct}px`, Re.style.top = `${Rt}px`, Re.style.display = "block";
12278
- const ct = V(Te, pe, Se, ne, be, Xe < we ? -Le : Le);
12279
- if (Le > 10 && ct.length !== Fe.length) {
12280
- const st = lr(Te);
12281
- Fe = ct, st ? ct.forEach((xt) => {
12278
+ const ct = V(Fe, pe, Se, ne, be, Xe < we ? -Le : Le);
12279
+ if (Le > 10 && ct.length !== Te.length) {
12280
+ const st = lr(Fe);
12281
+ Te = ct, st ? ct.forEach((xt) => {
12282
12282
  e.handleBatchSelectRows([xt], ve.indexOf(xt) === -1);
12283
- }) : (e.setAllCheckboxRow(!1), e.handleCheckedCheckboxRow(ct, !0, !1)), ce("change", Te);
12283
+ }) : (e.setAllCheckboxRow(!1), e.handleCheckedCheckboxRow(ct, !0, !1)), ce("change", Fe);
12284
12284
  }
12285
12285
  }, me = () => {
12286
12286
  clearTimeout(re), re = null;
12287
- }, Z = (Te) => {
12287
+ }, Z = (Fe) => {
12288
12288
  me(), re = setTimeout(() => {
12289
12289
  if (re) {
12290
12290
  const { scrollLeft: Ce, scrollTop: Ue, clientHeight: Ge, scrollHeight: Xe } = O, Le = Math.ceil(ie * 50 / U);
12291
- ye ? Ue + Ge < Xe ? (e.scrollTo(Ce, Ue + Le), Z(Te), Me(Te)) : me() : Ue ? (e.scrollTo(Ce, Ue - Le), Z(Te), Me(Te)) : me();
12291
+ ye ? Ue + Ge < Xe ? (e.scrollTo(Ce, Ue + Le), Z(Fe), Me(Fe)) : me() : Ue ? (e.scrollTo(Ce, Ue - Le), Z(Fe), Me(Fe)) : me();
12292
12292
  }
12293
12293
  }, 50);
12294
12294
  };
12295
- al(X, "drag--range"), document.onmousemove = (Te) => {
12296
- Te.preventDefault(), Te.stopPropagation();
12297
- const { clientY: Ce } = Te, { boundingTop: Ue } = Hr(O);
12298
- Ce < Ue ? (ye = !1, ie = Ue - Ce, re || Z(Te)) : Ce > Ue + O.clientHeight ? (ye = !0, ie = Ce - Ue - O.clientHeight, re || Z(Te)) : re && me(), Me(Te);
12299
- }, document.onmouseup = (Te) => {
12300
- me(), jo(X, "drag--range"), Re.removeAttribute("style"), document.onmousemove = null, document.onmouseup = null, ce("end", Te);
12295
+ al(X, "drag--range"), document.onmousemove = (Fe) => {
12296
+ Fe.preventDefault(), Fe.stopPropagation();
12297
+ const { clientY: Ce } = Fe, { boundingTop: Ue } = Hr(O);
12298
+ Ce < Ue ? (ye = !1, ie = Ue - Ce, re || Z(Fe)) : Ce > Ue + O.clientHeight ? (ye = !0, ie = Ce - Ue - O.clientHeight, re || Z(Fe)) : re && me(), Me(Fe);
12299
+ }, document.onmouseup = (Fe) => {
12300
+ me(), jo(X, "drag--range"), Re.removeAttribute("style"), document.onmousemove = null, document.onmouseup = null, ce("end", Fe);
12301
12301
  }, ce("start", J);
12302
12302
  }
12303
12303
  }, $ = (J, pe) => {
12304
- const { editConfig: te, checkboxConfig: w, mouseConfig: R } = l, F = S.value, oe = A.value, q = x.value;
12304
+ const { editConfig: te, checkboxConfig: w, mouseConfig: R } = l, T = S.value, oe = A.value, q = x.value;
12305
12305
  if (R && oe.area && e.triggerCellAreaMousedownEvent)
12306
12306
  return e.triggerCellAreaMousedownEvent(J, pe);
12307
- w && F.range && Y(J, pe), R && oe.selected && (!te || q.mode === "cell") && e.handleSelected(pe, J);
12308
- }, W = (J, pe, te, w, R, F) => {
12307
+ w && T.range && Y(J, pe), R && oe.selected && (!te || q.mode === "cell") && e.handleSelected(pe, J);
12308
+ }, W = (J, pe, te, w, R, T) => {
12309
12309
  const { afterFullData: oe, visibleColumn: q } = p, O = Object.assign({}, pe), X = e.getVTRowIndex(O.row), ue = e.getVTColumnIndex(O.column);
12310
- return J.preventDefault(), w && X > 0 ? (O.rowIndex = X - 1, O.row = oe[O.rowIndex]) : F && X < oe.length - 1 ? (O.rowIndex = X + 1, O.row = oe[O.rowIndex]) : te && ue ? (O.columnIndex = ue - 1, O.column = q[O.columnIndex]) : R && ue < q.length - 1 && (O.columnIndex = ue + 1, O.column = q[O.columnIndex]), e.scrollToRow(O.row, O.column).then(() => {
12310
+ return J.preventDefault(), w && X > 0 ? (O.rowIndex = X - 1, O.row = oe[O.rowIndex]) : T && X < oe.length - 1 ? (O.rowIndex = X + 1, O.row = oe[O.rowIndex]) : te && ue ? (O.columnIndex = ue - 1, O.column = q[O.columnIndex]) : R && ue < q.length - 1 && (O.columnIndex = ue + 1, O.column = q[O.columnIndex]), e.scrollToRow(O.row, O.column).then(() => {
12311
12311
  O.cell = e.getCellElement(O.row, O.column), e.handleSelected(O, J);
12312
12312
  }), O;
12313
12313
  };
12314
12314
  return {
12315
12315
  // 处理 Tab 键移动
12316
12316
  moveTabSelected(J, pe, te) {
12317
- const { editConfig: w } = l, { afterFullData: R, visibleColumn: F } = p, oe = x.value, q = se.value, O = z.value, X = f.value, ue = H.value;
12317
+ const { editConfig: w } = l, { afterFullData: R, visibleColumn: T } = p, oe = x.value, q = se.value, O = z.value, X = f.value, ue = H.value;
12318
12318
  let ke, Re, Se;
12319
- const ve = Object.assign({}, J), Fe = e.getVTRowIndex(ve.row), we = e.getVTColumnIndex(ve.column);
12320
- te.preventDefault(), pe ? we <= 0 ? Fe > 0 && (Re = Fe - 1, ke = R[Re], Se = F.length - 1) : Se = we - 1 : we >= F.length - 1 ? Fe < R.length - 1 && (Re = Fe + 1, ke = R[Re], Se = 0) : Se = we + 1;
12321
- const B = F[Se];
12322
- B && (ke ? (ve.rowIndex = Re, ve.row = ke) : ve.rowIndex = Fe, ve.columnIndex = Se, ve.column = B, ve.cell = e.getCellElement(ve.row, ve.column), q.isCurrent && O.isFollowSelected && e.triggerCurrentRowEvent(te, ve), X.isCurrent && ue.isFollowSelected && e.triggerCurrentColumnEvent(te, ve), w ? (oe.trigger === "click" || oe.trigger === "dblclick") && (oe.mode === "row" ? e.handleEdit(ve, te) : e.scrollToRow(ve.row, ve.column).then(() => {
12319
+ const ve = Object.assign({}, J), Te = e.getVTRowIndex(ve.row), we = e.getVTColumnIndex(ve.column);
12320
+ te.preventDefault(), pe ? we <= 0 ? Te > 0 && (Re = Te - 1, ke = R[Re], Se = T.length - 1) : Se = we - 1 : we >= T.length - 1 ? Te < R.length - 1 && (Re = Te + 1, ke = R[Re], Se = 0) : Se = we + 1;
12321
+ const B = T[Se];
12322
+ B && (ke ? (ve.rowIndex = Re, ve.row = ke) : ve.rowIndex = Te, ve.columnIndex = Se, ve.column = B, ve.cell = e.getCellElement(ve.row, ve.column), q.isCurrent && O.isFollowSelected && e.triggerCurrentRowEvent(te, ve), X.isCurrent && ue.isFollowSelected && e.triggerCurrentColumnEvent(te, ve), w ? (oe.trigger === "click" || oe.trigger === "dblclick") && (oe.mode === "row" ? e.handleEdit(ve, te) : e.scrollToRow(ve.row, ve.column).then(() => {
12323
12323
  e.handleSelected(ve, te);
12324
12324
  })) : e.scrollToRow(ve.row, ve.column).then(() => {
12325
12325
  e.handleSelected(ve, te);
@@ -12327,18 +12327,18 @@ Zd.add("tableKeyboardModule", {
12327
12327
  },
12328
12328
  // 处理当前行方向键移动
12329
12329
  moveCurrentRow(J, pe, te) {
12330
- const { treeConfig: w } = l, { currentRow: R } = c, { afterFullData: F } = p, oe = P.value, q = oe.children || oe.childrenField;
12330
+ const { treeConfig: w } = l, { currentRow: R } = c, { afterFullData: T } = p, oe = P.value, q = oe.children || oe.childrenField;
12331
12331
  let O;
12332
12332
  if (R)
12333
12333
  if (w) {
12334
- const { index: X, items: ue } = i.findTree(F, (ke) => ke === R, { children: q });
12334
+ const { index: X, items: ue } = i.findTree(T, (ke) => ke === R, { children: q });
12335
12335
  J && X > 0 ? O = ue[X - 1] : pe && X < ue.length - 1 && (O = ue[X + 1]);
12336
12336
  } else {
12337
12337
  const X = e.getVTRowIndex(R);
12338
- J && X > 0 ? O = F[X - 1] : pe && X < F.length - 1 && (O = F[X + 1]);
12338
+ J && X > 0 ? O = T[X - 1] : pe && X < T.length - 1 && (O = T[X + 1]);
12339
12339
  }
12340
12340
  else
12341
- O = F[0];
12341
+ O = T[0];
12342
12342
  if (O) {
12343
12343
  te.preventDefault();
12344
12344
  const X = {
@@ -12353,35 +12353,35 @@ Zd.add("tableKeyboardModule", {
12353
12353
  // 处理当前列方向键移动
12354
12354
  moveCurrentColumn(J, pe, te) {
12355
12355
  const { currentColumn: w } = c, { visibleColumn: R } = p;
12356
- let F = null;
12356
+ let T = null;
12357
12357
  if (w) {
12358
12358
  const oe = e.getVTColumnIndex(w);
12359
- J && oe > 0 ? F = R[oe - 1] : pe && oe < R.length - 1 && (F = R[oe + 1]);
12359
+ J && oe > 0 ? T = R[oe - 1] : pe && oe < R.length - 1 && (T = R[oe + 1]);
12360
12360
  } else
12361
- F = R[0];
12362
- if (F) {
12361
+ T = R[0];
12362
+ if (T) {
12363
12363
  te.preventDefault();
12364
12364
  const oe = {
12365
12365
  $table: e,
12366
- column: F,
12367
- columnIndex: e.getColumnIndex(F),
12368
- $columnIndex: e.getVMColumnIndex(F)
12366
+ column: T,
12367
+ columnIndex: e.getColumnIndex(T),
12368
+ $columnIndex: e.getVMColumnIndex(T)
12369
12369
  };
12370
- e.scrollToColumn(F).then(() => e.triggerCurrentColumnEvent(te, oe));
12370
+ e.scrollToColumn(T).then(() => e.triggerCurrentColumnEvent(te, oe));
12371
12371
  }
12372
12372
  },
12373
12373
  // 处理可编辑方向键移动
12374
- moveArrowSelected(J, pe, te, w, R, F) {
12375
- const { highlightCurrentRow: oe, highlightCurrentColumn: q } = l, O = se.value, X = z.value, ue = f.value, ke = H.value, Re = W(F, J, pe, te, w, R);
12376
- (O.isCurrent || oe) && (X.isFollowSelected ? e.triggerCurrentRowEvent(F, Re) : (te || R) && (O.isCurrent || oe) && e.moveCurrentRow(te, R, F)), (ue.isCurrent || q) && (ke.isFollowSelected ? e.triggerCurrentColumnEvent(F, Re) : (pe || w) && (ue.isCurrent || q) && e.moveCurrentColumn(pe, w, F));
12374
+ moveArrowSelected(J, pe, te, w, R, T) {
12375
+ const { highlightCurrentRow: oe, highlightCurrentColumn: q } = l, O = se.value, X = z.value, ue = f.value, ke = H.value, Re = W(T, J, pe, te, w, R);
12376
+ (O.isCurrent || oe) && (X.isFollowSelected ? e.triggerCurrentRowEvent(T, Re) : (te || R) && (O.isCurrent || oe) && e.moveCurrentRow(te, R, T)), (ue.isCurrent || q) && (ke.isFollowSelected ? e.triggerCurrentColumnEvent(T, Re) : (pe || w) && (ue.isCurrent || q) && e.moveCurrentColumn(pe, w, T));
12377
12377
  },
12378
- moveEnterSelected(J, pe, te, w, R, F) {
12379
- const { highlightCurrentRow: oe, highlightCurrentColumn: q } = l, O = se.value, X = z.value, ue = f.value, ke = H.value, Re = W(F, J, pe, te, w, R);
12380
- (O.isCurrent || oe) && X.isFollowSelected && e.triggerCurrentRowEvent(F, Re), (ue.isCurrent || q) && ke.isFollowSelected && e.triggerCurrentColumnEvent(F, Re);
12378
+ moveEnterSelected(J, pe, te, w, R, T) {
12379
+ const { highlightCurrentRow: oe, highlightCurrentColumn: q } = l, O = se.value, X = z.value, ue = f.value, ke = H.value, Re = W(T, J, pe, te, w, R);
12380
+ (O.isCurrent || oe) && X.isFollowSelected && e.triggerCurrentRowEvent(T, Re), (ue.isCurrent || q) && ke.isFollowSelected && e.triggerCurrentColumnEvent(T, Re);
12381
12381
  },
12382
12382
  // 已废弃,待删除
12383
- moveSelected(J, pe, te, w, R, F) {
12384
- W(F, J, pe, te, w, R);
12383
+ moveSelected(J, pe, te, w, R, T) {
12384
+ W(T, J, pe, te, w, R);
12385
12385
  },
12386
12386
  handleCellMousedownEvent: $
12387
12387
  };
@@ -12433,7 +12433,7 @@ ou.add("tableValidatorModule", {
12433
12433
  }
12434
12434
  return V;
12435
12435
  }, z = (V, Y, $, W) => {
12436
- const ee = {}, { editRules: J, treeConfig: pe } = l, { afterFullData: te, pendingRowMaps: w, removeRowMaps: R } = p, F = S.value, oe = F.children || F.childrenField, q = x.value;
12436
+ const ee = {}, { editRules: J, treeConfig: pe } = l, { afterFullData: te, pendingRowMaps: w, removeRowMaps: R } = p, T = S.value, oe = T.children || T.childrenField, q = x.value;
12437
12437
  let O;
12438
12438
  V === !0 ? O = te : V && (i.isFunction(V) ? $ = V : O = i.isArray(V) ? V : [V]), O || (e.getInsertRecords ? O = e.getInsertRecords().concat(e.getUpdateRecords()) : O = []);
12439
12439
  const X = [];
@@ -12443,10 +12443,10 @@ ou.add("tableValidatorModule", {
12443
12443
  const ke = Y && Y.length ? Y : e.getColumns(), Re = (Se) => {
12444
12444
  const ve = Be(e, Se);
12445
12445
  if (!R[ve] && !w[ve] && (W || !f)) {
12446
- const Fe = [];
12446
+ const Te = [];
12447
12447
  ke.forEach((we) => {
12448
12448
  const B = i.isString(we) ? we : we.field;
12449
- (W || !f) && i.has(J, B) && Fe.push(se.validCellRules("all", Se, we).catch(({ rule: de, rules: ae }) => {
12449
+ (W || !f) && i.has(J, B) && Te.push(se.validCellRules("all", Se, we).catch(({ rule: de, rules: ae }) => {
12450
12450
  const le = {
12451
12451
  rule: de,
12452
12452
  rules: ae,
@@ -12465,7 +12465,7 @@ ou.add("tableValidatorModule", {
12465
12465
  }, ee[B].push(le), !W)
12466
12466
  return f = !0, Promise.reject(le);
12467
12467
  }));
12468
- }), X.push(Promise.all(Fe));
12468
+ }), X.push(Promise.all(Te));
12469
12469
  }
12470
12470
  };
12471
12471
  return pe ? i.eachTree(O, Re, { children: oe }) : O.forEach(Re), Promise.all(X).then(() => {
@@ -12475,10 +12475,10 @@ ou.add("tableValidatorModule", {
12475
12475
  return Promise.reject(ee[Se[0]][0]);
12476
12476
  $ && $();
12477
12477
  });
12478
- }).catch((Se) => new Promise((ve, Fe) => {
12478
+ }).catch((Se) => new Promise((ve, Te) => {
12479
12479
  const we = () => {
12480
12480
  fe(() => {
12481
- $ ? ($(ee), ve()) : eu().validToReject === "obsolete" ? Fe(ee) : ve(ee);
12481
+ $ ? ($(ee), ve()) : eu().validToReject === "obsolete" ? Te(ee) : ve(ee);
12482
12482
  });
12483
12483
  }, B = () => {
12484
12484
  Se.cell = e.getCellElement(Se.row, Se.column), Pc(Se.cell), d(Se).then(we);
@@ -12531,19 +12531,19 @@ ou.add("tableValidatorModule", {
12531
12531
  if (J.length && pe.length)
12532
12532
  te = Object.assign({}, $), J.forEach((w) => {
12533
12533
  pe.forEach((R) => {
12534
- const F = `${Be(e, w)}:${R.id}`;
12535
- te[F] && delete te[F];
12534
+ const T = `${Be(e, w)}:${R.id}`;
12535
+ te[T] && delete te[T];
12536
12536
  });
12537
12537
  });
12538
12538
  else if (J.length) {
12539
12539
  const w = J.map((R) => `${Be(e, R)}`);
12540
- i.each($, (R, F) => {
12541
- w.indexOf(F.split(":")[0]) > -1 && (te[F] = R);
12540
+ i.each($, (R, T) => {
12541
+ w.indexOf(T.split(":")[0]) > -1 && (te[T] = R);
12542
12542
  });
12543
12543
  } else if (pe.length) {
12544
12544
  const w = pe.map((R) => `${R.id}`);
12545
- i.each($, (R, F) => {
12546
- w.indexOf(F.split(":")[1]) > -1 && (te[F] = R);
12545
+ i.each($, (R, T) => {
12546
+ w.indexOf(T.split(":")[1]) > -1 && (te[T] = R);
12547
12547
  });
12548
12548
  }
12549
12549
  return c.validErrorMaps = te, fe();
@@ -12573,13 +12573,13 @@ ou.add("tableValidatorModule", {
12573
12573
  if (pe && J) {
12574
12574
  const R = i.get(J, pe);
12575
12575
  if (R) {
12576
- const F = i.isUndefined(W) ? i.get(Y, pe) : W;
12576
+ const T = i.isUndefined(W) ? i.get(Y, pe) : W;
12577
12577
  R.forEach((oe) => {
12578
12578
  const { type: q, trigger: O, required: X, validator: ue } = oe;
12579
12579
  if (V === "all" || !O || V === O)
12580
12580
  if (ue) {
12581
12581
  const ke = {
12582
- cellValue: F,
12582
+ cellValue: T,
12583
12583
  rule: oe,
12584
12584
  rules: R,
12585
12585
  row: Y,
@@ -12604,9 +12604,9 @@ ou.add("tableValidatorModule", {
12604
12604
  f = !0, te.push(new Qn({ type: "custom", trigger: O, content: Se && Se.message ? Se.message : oe.content || oe.message, rule: new Qn(oe) }));
12605
12605
  })));
12606
12606
  } else {
12607
- const ke = q === "array", Re = i.isArray(F);
12607
+ const ke = q === "array", Re = i.isArray(T);
12608
12608
  let Se = !0;
12609
- ke || Re ? Se = !Re || !F.length : i.isString(F) ? Se = El(F.trim()) : Se = El(F), (X ? Se || H(oe, F) : !Se && H(oe, F)) && (f = !0, te.push(new Qn(oe)));
12609
+ ke || Re ? Se = !Re || !T.length : i.isString(T) ? Se = El(T.trim()) : Se = El(T), (X ? Se || H(oe, T) : !Se && H(oe, T)) && (f = !0, te.push(new Qn(oe)));
12610
12610
  }
12611
12611
  });
12612
12612
  }
@@ -12636,9 +12636,9 @@ ou.add("tableValidatorModule", {
12636
12636
  if (se.hasCellRules(V, te, w))
12637
12637
  return se.validCellRules(V, te, w).then(() => {
12638
12638
  J.mode === "row" && P.clearValidate(te, w);
12639
- }).catch(({ rule: F }) => {
12640
- if (!F.trigger || V === F.trigger) {
12641
- const oe = { rule: F, row: te, column: w, cell: R };
12639
+ }).catch(({ rule: T }) => {
12640
+ if (!T.trigger || V === T.trigger) {
12641
+ const oe = { rule: T, row: te, column: w, cell: R };
12642
12642
  return se.showValidTooltip(oe), Promise.reject(oe);
12643
12643
  }
12644
12644
  return Promise.resolve();
@@ -12650,7 +12650,7 @@ ou.add("tableValidatorModule", {
12650
12650
  * 弹出校验错误提示
12651
12651
  */
12652
12652
  showValidTooltip(V) {
12653
- const { height: Y } = l, { tableData: $, validStore: W, validErrorMaps: ee } = c, { rule: J, row: pe, column: te, cell: w } = V, R = x.value, F = E.value, oe = J.content;
12653
+ const { height: Y } = l, { tableData: $, validStore: W, validErrorMaps: ee } = c, { rule: J, row: pe, column: te, cell: w } = V, R = x.value, T = E.value, oe = J.content;
12654
12654
  return W.visible = !0, R.msgMode === "single" ? c.validErrorMaps = {
12655
12655
  [`${Be(e, pe)}:${te.id}`]: {
12656
12656
  column: te,
@@ -12665,7 +12665,7 @@ ou.add("tableValidatorModule", {
12665
12665
  rule: J,
12666
12666
  content: oe
12667
12667
  }
12668
- }), e.dispatchEvent("valid-error", V, null), F && F && (R.message === "tooltip" || R.message === "default" && !Y && $.length < 2) ? F.open(w, oe) : fe();
12668
+ }), e.dispatchEvent("valid-error", V, null), T && T && (R.message === "tooltip" || R.message === "default" && !Y && $.length < 2) ? T.open(w, oe) : fe();
12669
12669
  }
12670
12670
  }, Object.assign(Object.assign({}, P), se);
12671
12671
  },
@@ -12697,7 +12697,7 @@ ge.hooks.add("tableCustomModule", {
12697
12697
  return $.visible && ($.visible = !1, W.immediate || e.handleCustom()), fe();
12698
12698
  }, f = () => {
12699
12699
  const { customColumnList: $ } = l, W = p.value, { allowVisible: ee, allowSort: J, allowFixed: pe, allowResizable: te } = W;
12700
- return i.eachTree($, (w, R, F, oe, q) => {
12700
+ return i.eachTree($, (w, R, T, oe, q) => {
12701
12701
  if (q)
12702
12702
  w.fixed = q.fixed;
12703
12703
  else {
@@ -12712,10 +12712,10 @@ ge.hooks.add("tableCustomModule", {
12712
12712
  l.isDragColMove = !1;
12713
12713
  }, 1e3), e.saveCustomStore("confirm");
12714
12714
  }, d = () => {
12715
- const { customColumnList: $, customStore: W } = l, { oldSortMaps: ee, oldFixedMaps: J, oldVisibleMaps: pe } = W, te = p.value, { allowVisible: w, allowSort: R, allowFixed: F, allowResizable: oe } = te;
12715
+ const { customColumnList: $, customStore: W } = l, { oldSortMaps: ee, oldFixedMaps: J, oldVisibleMaps: pe } = W, te = p.value, { allowVisible: w, allowSort: R, allowFixed: T, allowResizable: oe } = te;
12716
12716
  return i.eachTree($, (q) => {
12717
12717
  const O = q.getKey(), X = !!pe[O], ue = J[O] || "";
12718
- w && (q.renderVisible = X, q.visible = X), F && (q.renderFixed = ue, q.fixed = ue), R && (q.renderSortNumber = ee[O] || 0), oe && (q.renderResizeWidth = q.renderWidth);
12718
+ w && (q.renderVisible = X, q.visible = X), T && (q.renderFixed = ue, q.fixed = ue), R && (q.renderSortNumber = ee[O] || 0), oe && (q.renderResizeWidth = q.renderWidth);
12719
12719
  }, { children: "children" }), fe();
12720
12720
  }, j = ($) => {
12721
12721
  const { customStore: W } = l, { customColumnList: ee } = l, J = p.value, { checkMethod: pe, visibleMethod: te } = J, w = !!$;
@@ -12829,7 +12829,7 @@ function Vo(e, l, c, p) {
12829
12829
  return [
12830
12830
  g("span", {
12831
12831
  class: ["vxe-cell--label", p ? p.class : ""]
12832
- }, E && Ts(c) ? [
12832
+ }, E && Fs(c) ? [
12833
12833
  g("span", {
12834
12834
  class: "vxe-cell--placeholder"
12835
12835
  }, wo(yl(E), 1))
@@ -13080,7 +13080,7 @@ function Rs(e) {
13080
13080
  function Gi(e, l) {
13081
13081
  const { props: c = {}, showNegativeStatus: p } = e, { row: E, column: x } = l, { type: S } = c;
13082
13082
  let A = i.get(E, x.field), P = !1;
13083
- if (!Ts(A)) {
13083
+ if (!Fs(A)) {
13084
13084
  const se = $r().numberInput || {};
13085
13085
  if (S === "float") {
13086
13086
  const f = Cl(c.autoFill, se.autoFill, !0), d = Cl(c.digits, se.digits, 1);
@@ -14205,10 +14205,10 @@ const Eu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
14205
14205
  getTheme: fc,
14206
14206
  globalEvents: Cc,
14207
14207
  globalResize: wc,
14208
- hooks: Fc,
14208
+ hooks: Tc,
14209
14209
  install: vu,
14210
14210
  interceptor: Dc,
14211
- log: Tc,
14211
+ log: Fc,
14212
14212
  menus: Rc,
14213
14213
  modal: Bc,
14214
14214
  print: Hc,
@@ -14224,7 +14224,7 @@ const Eu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
14224
14224
  t: Ji,
14225
14225
  use: Ic,
14226
14226
  validators: yc,
14227
- version: Fs
14227
+ version: Ts
14228
14228
  }, Symbol.toStringTag, { value: "Module" }));
14229
14229
  export {
14230
14230
  Eu as V,