@ecan-bi/pivot-table 1.0.58 → 1.0.60

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.
@@ -1,4 +1,4 @@
1
- /*! @ecan-bi/pivot-table@1.0.58 */
1
+ /*! @ecan-bi/pivot-table@1.0.60 */
2
2
  import { defineComponent as Ze, ref as J, inject as ue, watch as Ne, unref as I, computed as ne, resolveComponent as bt, openBlock as mt, createBlock as _e, withCtx as Mt, createVNode as ct, createTextVNode as hi, createCommentVNode as Ce, createElementBlock as Et, normalizeClass as Co, Fragment as bi, createElementVNode as Ht, normalizeStyle as Qt, renderList as un, withDirectives as yh, toDisplayString as qe, vShow as ju, h as fC, nextTick as Wi, withModifiers as vr, onMounted as rs, onUnmounted as um, Transition as hR, withKeys as z2, provide as pn, Teleport as dR, onBeforeUnmount as uR, toRaw as W2, resolveDynamicComponent as N2, mergeProps as j2, reactive as Vu, resolveDirective as V2, defineAsyncComponent as $2, watchEffect as G2 } from "vue";
3
3
  import mr from "dayjs";
4
4
  import { cloneDeep as fi } from "lodash-es";
@@ -24918,7 +24918,7 @@ function QT(i) {
24918
24918
  function cn(i, t, e) {
24919
24919
  return i.start.col <= t && t <= i.end.col && i.start.row <= e && e <= i.end.row || i.end.col <= t && t <= i.start.col && i.end.row <= e && e <= i.start.row || i.end.col <= t && t <= i.start.col && i.start.row <= e && e <= i.end.row || i.start.col <= t && t <= i.end.col && i.end.row <= e && e <= i.start.row;
24920
24920
  }
24921
- function t6(i, t, e) {
24921
+ function t5(i, t, e) {
24922
24922
  for (let n = 0; n < i.length; n++) {
24923
24923
  const o = i[n], r = Math.min(o.start.col, o.end.col), s = Math.max(o.start.col, o.end.col), l = Math.min(o.start.row, o.end.row), a = Math.max(o.start.row, o.end.row);
24924
24924
  if (r <= t && t <= s && l <= e && e <= a || s <= t && t <= r && a <= e && e <= l)
@@ -24938,11 +24938,11 @@ function vw(i) {
24938
24938
  }
24939
24939
  };
24940
24940
  }
24941
- function e6(i, t) {
24941
+ function e5(i, t) {
24942
24942
  const e = vw(i), n = vw(t);
24943
24943
  return Math.max(e.start.col, n.start.col) <= Math.min(e.end.col, n.end.col) && Math.max(e.start.row, n.start.row) <= Math.min(e.end.row, n.end.row);
24944
24944
  }
24945
- const i6 = {
24945
+ const i5 = {
24946
24946
  IE: KW,
24947
24947
  Edge: YW,
24948
24948
  Chrome: fw,
@@ -24953,11 +24953,11 @@ const i6 = {
24953
24953
  isObject: qW
24954
24954
  }, qd = {
24955
24955
  endsWith: ZW
24956
- }, n6 = {
24956
+ }, n5 = {
24957
24957
  isTouchEvent: JW
24958
- }, o6 = {
24958
+ }, o5 = {
24959
24959
  toBoxArray: QT
24960
- }, r6 = Function.prototype, dt = {
24960
+ }, r5 = Function.prototype, dt = {
24961
24961
  CLICK_CELL: "click_cell",
24962
24962
  DBLCLICK_CELL: "dblclick_cell",
24963
24963
  MOUSEDOWN_CELL: "mousedown_cell",
@@ -25011,7 +25011,7 @@ const i6 = {
25011
25011
  DRAG_FILL_HANDLE_END: "drag_fill_handle_end",
25012
25012
  MOUSEDOWN_FILL_HANDLE: "mousedown_fill_handle",
25013
25013
  DBLCLICK_FILL_HANDLE: "dblclick_fill_handle"
25014
- }, s6 = (i) => {
25014
+ }, s5 = (i) => {
25015
25015
  switch (Object.prototype.toString.call(i)) {
25016
25016
  case "[object Object]":
25017
25017
  return "object";
@@ -25044,7 +25044,7 @@ const i6 = {
25044
25044
  default:
25045
25045
  return null;
25046
25046
  }
25047
- }, l6 = (i, t) => s6(i) === t, a6 = (i) => l6(i, "object");
25047
+ }, l5 = (i, t) => s5(i) === t, a5 = (i) => l5(i, "object");
25048
25048
  function eM(i, t, e) {
25049
25049
  let n, o, r, s, l, a, h = 0, d = !1, u = !1, c = !0;
25050
25050
  const g = !t && t !== 0 && typeof requestAnimationFrame == "function";
@@ -25072,7 +25072,7 @@ function eM(i, t, e) {
25072
25072
  return d ? Math.min(C, r - _) : C;
25073
25073
  }(b));
25074
25074
  }
25075
- return t = +t || 0, a6(e) && (u = !!e.leading, d = "maxWait" in e, d && (r = Math.max(+e.maxWait || 0, t)), c = "trailing" in e ? !!e.trailing : c), function(...b) {
25075
+ return t = +t || 0, a5(e) && (u = !!e.leading, d = "maxWait" in e, d && (r = Math.max(+e.maxWait || 0, t)), c = "trailing" in e ? !!e.trailing : c), function(...b) {
25076
25076
  const y = Date.now(), _ = v(y);
25077
25077
  if (n = b, o = this, a = y, _) {
25078
25078
  if (l === void 0)
@@ -25085,7 +25085,7 @@ function eM(i, t, e) {
25085
25085
  return l === void 0 && (l = p(m, t)), s;
25086
25086
  };
25087
25087
  }
25088
- let h6 = 1, d6 = class {
25088
+ let h5 = 1, d5 = class {
25089
25089
  constructor(t, e, n) {
25090
25090
  var o;
25091
25091
  if (this.resizeTime = 100, this.lastSize = {
@@ -25134,12 +25134,12 @@ class vf {
25134
25134
  on(t, e, n, ...o) {
25135
25135
  if (fe.mode === "node")
25136
25136
  return -1;
25137
- const r = h6++;
25137
+ const r = h5++;
25138
25138
  if (t != null && t.addEventListener)
25139
25139
  if (e !== "resize" || t === window)
25140
25140
  t == null || t.addEventListener(e, n, ...o);
25141
25141
  else {
25142
- const l = new d6(t, n, this.resizeTime);
25142
+ const l = new d5(t, n, this.resizeTime);
25143
25143
  this.reseizeListeners[r] = l;
25144
25144
  }
25145
25145
  const s = {
@@ -25387,7 +25387,7 @@ let Ps = class Iv {
25387
25387
  return this.bounds.contains(t, e);
25388
25388
  }
25389
25389
  };
25390
- function u6(i) {
25390
+ function u5(i) {
25391
25391
  const { row: t, table: e } = i;
25392
25392
  return 1 & t - e.frozenRowCount ? "#282a2e" : "#2d3137";
25393
25393
  }
@@ -25424,7 +25424,7 @@ const mw = {
25424
25424
  cornerHeaderStyle: {},
25425
25425
  bodyStyle: {
25426
25426
  color: "#e5e7ea",
25427
- bgColor: u6,
25427
+ bgColor: u5,
25428
25428
  fontSize: 12,
25429
25429
  fontFamily: "PingFang SC",
25430
25430
  fontWeight: 500,
@@ -25484,7 +25484,7 @@ const mw = {
25484
25484
  dragReorder_color_opacity: "0.75"
25485
25485
  }
25486
25486
  };
25487
- function c6(i) {
25487
+ function c5(i) {
25488
25488
  const { row: t, table: e } = i;
25489
25489
  return 1 & t - e.frozenRowCount ? "#FFF" : "#F4F8FF";
25490
25490
  }
@@ -25509,7 +25509,7 @@ const bw = {
25509
25509
  },
25510
25510
  bodyStyle: {
25511
25511
  color: "#000",
25512
- bgColor: c6,
25512
+ bgColor: c5,
25513
25513
  borderColor: "#E0EAFE",
25514
25514
  hover: {
25515
25515
  cellBgColor: "#E9EFFD"
@@ -25548,7 +25548,7 @@ const bw = {
25548
25548
  fontFamily: "Arial,sans-serif"
25549
25549
  }
25550
25550
  };
25551
- function g6(i) {
25551
+ function g5(i) {
25552
25552
  const { row: t, table: e } = i;
25553
25553
  return 1 & t - e.frozenRowCount ? "#fbfbfc" : "#FFF";
25554
25554
  }
@@ -25611,7 +25611,7 @@ const Cw = {
25611
25611
  fontFamily: "Arial,sans-serif",
25612
25612
  fontWeight: 400,
25613
25613
  textAlign: "left",
25614
- bgColor: g6,
25614
+ bgColor: g5,
25615
25615
  borderColor: "#e1e4e8",
25616
25616
  lineHeight: 14,
25617
25617
  hover: {
@@ -25655,7 +25655,7 @@ const Cw = {
25655
25655
  fontFamily: "Arial,sans-serif"
25656
25656
  }
25657
25657
  };
25658
- function f6(i) {
25658
+ function f5(i) {
25659
25659
  const { row: t, table: e } = i;
25660
25660
  return 1 & t - e.frozenRowCount ? "#FDFDFD" : "#FAF9FB";
25661
25661
  }
@@ -25693,7 +25693,7 @@ const yw = {
25693
25693
  },
25694
25694
  bodyStyle: {
25695
25695
  fontSize: 14,
25696
- bgColor: f6,
25696
+ bgColor: f5,
25697
25697
  hover: {
25698
25698
  cellBgColor: "#CCE0FF",
25699
25699
  inlineRowBgColor: "#F3F8FF",
@@ -25735,11 +25735,11 @@ const yw = {
25735
25735
  fontFamily: "Arial,sans-serif"
25736
25736
  }
25737
25737
  };
25738
- function p6(i) {
25738
+ function p5(i) {
25739
25739
  const { row: t, table: { frozenRowCount: e } } = i;
25740
25740
  return e - 1 === t ? ["#f2f2f2", "#f2f2f2", "#ccc7c7", "#f2f2f2"] : ["#f2f2f2"];
25741
25741
  }
25742
- function v6(i) {
25742
+ function v5(i) {
25743
25743
  const { col: t, table: e } = i, { colCount: n, frozenColCount: o } = e, r = "#ccc7c7";
25744
25744
  return o - 1 === t || n - 1 === t ? [r, "#f2f2f2", "#ccc7c7", null] : [r, null, "#ccc7c7", null];
25745
25745
  }
@@ -25747,7 +25747,7 @@ const _w = {
25747
25747
  name: "SIMPLIFY",
25748
25748
  underlayBackgroundColor: "#FFF",
25749
25749
  defaultStyle: {
25750
- borderColor: v6,
25750
+ borderColor: v5,
25751
25751
  hover: {
25752
25752
  cellBorderColor: "#0000FF",
25753
25753
  cellBgColor: "#D0E0E3"
@@ -25756,7 +25756,7 @@ const _w = {
25756
25756
  },
25757
25757
  headerStyle: {
25758
25758
  color: "rgba(0, 0, 0, 0.87)",
25759
- borderColor: p6
25759
+ borderColor: p5
25760
25760
  },
25761
25761
  bodyStyle: {
25762
25762
  color: "rgba(0, 0, 0, 0.87)"
@@ -25780,10 +25780,10 @@ const _w = {
25780
25780
  fontSize: 12,
25781
25781
  fontFamily: "Arial,sans-serif"
25782
25782
  }
25783
- }, Zc = {}, ww = 16, Sw = "Arial,sans-serif", m6 = "#FFF", b6 = "#000", C6 = 1, y6 = [], _6 = "#000", ab = /^(https?|ftp|file):\/\/[-A-Za-z0-9+&@#/%?=~_|!:,.;]+[-A-Za-z0-9+&@#/%=~_|]/, iM = 16, w6 = 16, hn = "$$indicator$$", S6 = '<svg class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><rect x="0" y="0" width="1024" height="1024" rx="20%" ry="20%" fill="#ffffff" /><path d="M810.666667 85.333333c70.688 0 128 57.312 128 128v597.333334c0 70.688-57.312 128-128 128H213.333333c-70.688 0-128-57.312-128-128V213.333333c0-70.688 57.312-128 128-128h597.333334z m0 85.333334H213.333333a42.666667 42.666667 0 0 0-42.613333 40.533333L170.666667 213.333333v597.333334a42.666667 42.666667 0 0 0 40.533333 42.613333L213.333333 853.333333h597.333334a42.666667 42.666667 0 0 0 42.613333-40.533333L853.333333 810.666667V213.333333a42.666667 42.666667 0 0 0-40.533333-42.613333L810.666667 170.666667zM549.333333 288a5.333333 5.333333 0 0 1 5.333334 5.333333V469.333333h176a5.333333 5.333333 0 0 1 5.333333 5.333334v74.666666a5.333333 5.333333 0 0 1-5.333333 5.333334H554.666667v176a5.333333 5.333333 0 0 1-5.333334 5.333333h-74.666666a5.333333 5.333333 0 0 1-5.333334-5.333333V554.666667H293.333333a5.333333 5.333333 0 0 1-5.333333-5.333334v-74.666666a5.333333 5.333333 0 0 1 5.333333-5.333334H469.333333V293.333333a5.333333 5.333333 0 0 1 5.333334-5.333333h74.666666z"></path></svg>', x6 = '<svg class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><rect x="0" y="0" width="1024" height="1024" rx="20%" ry="20%" fill="#ffffff" /><path d="M810.666667 85.333333c70.688 0 128 57.312 128 128v597.333334c0 70.688-57.312 128-128 128H213.333333c-70.688 0-128-57.312-128-128V213.333333c0-70.688 57.312-128 128-128h597.333334z m0 85.333334H213.333333a42.666667 42.666667 0 0 0-42.613333 40.533333L170.666667 213.333333v597.333334a42.666667 42.666667 0 0 0 40.533333 42.613333L213.333333 853.333333h597.333334a42.666667 42.666667 0 0 0 42.613333-40.533333L853.333333 810.666667V213.333333a42.666667 42.666667 0 0 0-40.533333-42.613333L810.666667 170.666667zM693.333333 469.333333a42.666667 42.666667 0 1 1 0 85.333334H330.666667a42.666667 42.666667 0 1 1 0-85.333334h362.666666z"></path></svg>', R6 = {
25783
+ }, Zc = {}, ww = 16, Sw = "Arial,sans-serif", m5 = "#FFF", b5 = "#000", C5 = 1, y5 = [], _5 = "#000", ab = /^(https?|ftp|file):\/\/[-A-Za-z0-9+&@#/%?=~_|!:,.;]+[-A-Za-z0-9+&@#/%=~_|]/, iM = 16, w5 = 16, hn = "$$indicator$$", S5 = '<svg class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><rect x="0" y="0" width="1024" height="1024" rx="20%" ry="20%" fill="#ffffff" /><path d="M810.666667 85.333333c70.688 0 128 57.312 128 128v597.333334c0 70.688-57.312 128-128 128H213.333333c-70.688 0-128-57.312-128-128V213.333333c0-70.688 57.312-128 128-128h597.333334z m0 85.333334H213.333333a42.666667 42.666667 0 0 0-42.613333 40.533333L170.666667 213.333333v597.333334a42.666667 42.666667 0 0 0 40.533333 42.613333L213.333333 853.333333h597.333334a42.666667 42.666667 0 0 0 42.613333-40.533333L853.333333 810.666667V213.333333a42.666667 42.666667 0 0 0-40.533333-42.613333L810.666667 170.666667zM549.333333 288a5.333333 5.333333 0 0 1 5.333334 5.333333V469.333333h176a5.333333 5.333333 0 0 1 5.333333 5.333334v74.666666a5.333333 5.333333 0 0 1-5.333333 5.333334H554.666667v176a5.333333 5.333333 0 0 1-5.333334 5.333333h-74.666666a5.333333 5.333333 0 0 1-5.333334-5.333333V554.666667H293.333333a5.333333 5.333333 0 0 1-5.333333-5.333334v-74.666666a5.333333 5.333333 0 0 1 5.333333-5.333334H469.333333V293.333333a5.333333 5.333333 0 0 1 5.333334-5.333333h74.666666z"></path></svg>', x5 = '<svg class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><rect x="0" y="0" width="1024" height="1024" rx="20%" ry="20%" fill="#ffffff" /><path d="M810.666667 85.333333c70.688 0 128 57.312 128 128v597.333334c0 70.688-57.312 128-128 128H213.333333c-70.688 0-128-57.312-128-128V213.333333c0-70.688 57.312-128 128-128h597.333334z m0 85.333334H213.333333a42.666667 42.666667 0 0 0-42.613333 40.533333L170.666667 213.333333v597.333334a42.666667 42.666667 0 0 0 40.533333 42.613333L213.333333 853.333333h597.333334a42.666667 42.666667 0 0 0 42.613333-40.533333L853.333333 810.666667V213.333333a42.666667 42.666667 0 0 0-40.533333-42.613333L810.666667 170.666667zM693.333333 469.333333a42.666667 42.666667 0 1 1 0 85.333334H330.666667a42.666667 42.666667 0 1 1 0-85.333334h362.666666z"></path></svg>', R5 = {
25784
25784
  type: "line"
25785
25785
  };
25786
- function A6(i) {
25786
+ function A5(i) {
25787
25787
  return {
25788
25788
  defaultAxisStyle: Ea(i.defaultAxisStyle),
25789
25789
  leftAxisStyle: Ea(i.leftAxisStyle),
@@ -25795,7 +25795,7 @@ function A6(i) {
25795
25795
  function Ea(i) {
25796
25796
  return i || {};
25797
25797
  }
25798
- const T6 = {
25798
+ const T5 = {
25799
25799
  visible: !0,
25800
25800
  position: "auto",
25801
25801
  padding: 8,
@@ -25886,23 +25886,23 @@ class wn {
25886
25886
  },
25887
25887
  get bgColor() {
25888
25888
  var r;
25889
- return (r = o.bgColor) !== null && r !== void 0 ? r : m6;
25889
+ return (r = o.bgColor) !== null && r !== void 0 ? r : m5;
25890
25890
  },
25891
25891
  get color() {
25892
25892
  var r;
25893
- return (r = o.color) !== null && r !== void 0 ? r : _6;
25893
+ return (r = o.color) !== null && r !== void 0 ? r : _5;
25894
25894
  },
25895
25895
  get borderColor() {
25896
25896
  var r;
25897
- return (r = o.borderColor) !== null && r !== void 0 ? r : b6;
25897
+ return (r = o.borderColor) !== null && r !== void 0 ? r : b5;
25898
25898
  },
25899
25899
  get borderLineWidth() {
25900
25900
  var r;
25901
- return (r = o.borderLineWidth) !== null && r !== void 0 ? r : C6;
25901
+ return (r = o.borderLineWidth) !== null && r !== void 0 ? r : C5;
25902
25902
  },
25903
25903
  get borderLineDash() {
25904
25904
  var r;
25905
- return (r = o.borderLineDash) !== null && r !== void 0 ? r : y6;
25905
+ return (r = o.borderLineDash) !== null && r !== void 0 ? r : y5;
25906
25906
  },
25907
25907
  get hover() {
25908
25908
  if (o.hover)
@@ -26353,7 +26353,7 @@ class wn {
26353
26353
  get axisStyle() {
26354
26354
  if (!this._axisStyle) {
26355
26355
  const { obj: t, superTheme: e } = this.internalTheme, n = ti({}, e.axisStyle, t.axisStyle);
26356
- this._axisStyle = A6(n);
26356
+ this._axisStyle = A5(n);
26357
26357
  }
26358
26358
  return this._axisStyle;
26359
26359
  }
@@ -26373,7 +26373,7 @@ class wn {
26373
26373
  }
26374
26374
  get textPopTipStyle() {
26375
26375
  if (!this._textPopTipStyle) {
26376
- const { obj: t, superTheme: e } = this.internalTheme, n = ti({}, T6, e.textPopTipStyle, t.textPopTipStyle);
26376
+ const { obj: t, superTheme: e } = this.internalTheme, n = ti({}, T5, e.textPopTipStyle, t.textPopTipStyle);
26377
26377
  this._textPopTipStyle = n;
26378
26378
  }
26379
26379
  return this._textPopTipStyle;
@@ -26549,7 +26549,7 @@ function xw(i, t) {
26549
26549
  return !1;
26550
26550
  return !!e;
26551
26551
  }
26552
- const hb = new wn(mw, mw), db = new wn(bw, bw), ub = new wn(Cw, Cw), cb = new wn(yw, yw), gb = new wn(_w, _w), M6 = {
26552
+ const hb = new wn(mw, mw), db = new wn(bw, bw), ub = new wn(Cw, Cw), cb = new wn(yw, yw), gb = new wn(_w, _w), M5 = {
26553
26553
  DEFAULT: cb,
26554
26554
  SIMPLIFY: gb,
26555
26555
  ARCO: ub,
@@ -26568,7 +26568,7 @@ function oM(i) {
26568
26568
  return i instanceof wn ? i : new wn(i, i);
26569
26569
  }
26570
26570
  function fb() {
26571
- return pd(M6, Zc);
26571
+ return pd(M5, Zc);
26572
26572
  }
26573
26573
  const hr = {
26574
26574
  DARK: hb,
@@ -26579,7 +26579,7 @@ const hr = {
26579
26579
  theme: nM,
26580
26580
  of: oM,
26581
26581
  get: fb
26582
- }, B6 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
26582
+ }, B5 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
26583
26583
  __proto__: null,
26584
26584
  ARCO: ub,
26585
26585
  BRIGHT: db,
@@ -26625,14 +26625,14 @@ class Dt {
26625
26625
  }
26626
26626
  }
26627
26627
  Dt._components = {}, Dt._functions = {}, Dt._cellTypes = {};
26628
- function P6(i, t) {
26628
+ function P5(i, t) {
26629
26629
  const e = new Array(t);
26630
26630
  for (let n = 0; n < t; n++)
26631
26631
  e[n] = i(n);
26632
26632
  return e;
26633
26633
  }
26634
- function H6(i, t, e, n, o, r) {
26635
- const s = P6(i, e);
26634
+ function H5(i, t, e, n, o, r) {
26635
+ const s = P5(i, e);
26636
26636
  s.sort((l, a) => n(r(l), r(a), o));
26637
26637
  for (let l = 0; l < e; l++)
26638
26638
  t(l, s[l]);
@@ -26696,7 +26696,7 @@ class sM extends Hr {
26696
26696
  recalculate() {
26697
26697
  }
26698
26698
  }
26699
- class L6 extends Hr {
26699
+ class L5 extends Hr {
26700
26700
  constructor(t) {
26701
26701
  super(t), this.type = Yt.CUSTOM, this.isRecord = !0, this.values = [], this.aggregationFun = t.aggregationFun;
26702
26702
  }
@@ -26719,7 +26719,7 @@ class L6 extends Hr {
26719
26719
  recalculate() {
26720
26720
  }
26721
26721
  }
26722
- class E6 extends Hr {
26722
+ class E5 extends Hr {
26723
26723
  constructor(t) {
26724
26724
  super(t), this.type = Yt.RECALCULATE, this.isRecord = !0, this.calculateFun = t.calculateFun, this.dependAggregators = t.dependAggregators, this.dependIndicatorKeys = t.dependIndicatorKeys;
26725
26725
  }
@@ -26735,7 +26735,7 @@ class E6 extends Hr {
26735
26735
  value() {
26736
26736
  var t;
26737
26737
  if (!this.fieldValue) {
26738
- const e = I6(this.dependAggregators, this.dependIndicatorKeys);
26738
+ const e = I5(this.dependAggregators, this.dependIndicatorKeys);
26739
26739
  this.fieldValue = (t = this.calculateFun) === null || t === void 0 ? void 0 : t.call(this, e, this.records, this.field);
26740
26740
  }
26741
26741
  return this.fieldValue;
@@ -26925,7 +26925,7 @@ class uM extends Hr {
26925
26925
  }
26926
26926
  }
26927
26927
  }
26928
- function F6(i, t, e) {
26928
+ function F5(i, t, e) {
26929
26929
  if (e === Pi.NORMAL || e === Pi.normal)
26930
26930
  return 0;
26931
26931
  const n = e === Pi.DESC || e === Pi.desc ? -1 : 1;
@@ -26968,7 +26968,7 @@ function wu(i, t, e) {
26968
26968
  return o.test(l) && o.test(h) ? (l.replace(r, ".0") - h.replace(r, ".0")) * c : (l > h ? 1 : -1) * c;
26969
26969
  return (s.length - a.length) * c;
26970
26970
  }
26971
- function k6(i) {
26971
+ function k5(i) {
26972
26972
  let t;
26973
26973
  const e = {}, n = {};
26974
26974
  for (let o = 0; o < i.length; o++)
@@ -26981,7 +26981,7 @@ function k6(i) {
26981
26981
  return e[o] !== null && e[o] !== void 0 && e[r] !== null && e[r] !== void 0 ? a = e[o] - e[r] : e[o] !== null && e[o] !== void 0 ? a = -1 : e[r] !== null && e[r] !== void 0 ? a = 1 : n[o] !== null && e[o] !== void 0 && n[r] !== null && e[r] !== void 0 ? a = n[o] - n[r] : n[o] === null || e[o] === void 0 || n[r] === null || e[r] === void 0 ? a = 0 : n[o] !== null && e[o] !== void 0 ? a = -1 : n[r] !== null && e[r] !== void 0 && (a = 1), z(a) ? a * l : wu(o, r, s);
26982
26982
  };
26983
26983
  }
26984
- function I6(i, t) {
26984
+ function I5(i, t) {
26985
26985
  const e = {};
26986
26986
  for (let n = 0; n < (t == null ? void 0 : t.length); n++) {
26987
26987
  const o = i.find((r) => r.key === t[n]);
@@ -26989,7 +26989,7 @@ function I6(i, t) {
26989
26989
  }
26990
26990
  return e;
26991
26991
  }
26992
- function D6(i) {
26992
+ function D5(i) {
26993
26993
  if (tM.isObject(i)) {
26994
26994
  const t = i;
26995
26995
  if (z(t.get) && z(t.set))
@@ -27014,7 +27014,7 @@ function Jc(i, t, e, n, o, r) {
27014
27014
  return;
27015
27015
  if (Ho(i))
27016
27016
  return i.then((a) => Jc(a, t, e, n, o, r));
27017
- const s = D6(t) ? t.get : t;
27017
+ const s = D5(t) ? t.get : t;
27018
27018
  if (s in i)
27019
27019
  return Hs(i[s], r);
27020
27020
  if (typeof s == "function")
@@ -27022,7 +27022,7 @@ function Jc(i, t, e, n, o, r) {
27022
27022
  if (Array.isArray(s))
27023
27023
  return Hs($W(i, [...s]), r);
27024
27024
  const l = `${s}`.split(".");
27025
- return l.length <= 1 ? Hs(i[s], r) : Hs(JT(i, (a, h) => Jc(a, h, e, n, o, r6), ...l), r);
27025
+ return l.length <= 1 ? Hs(i[s], r) : Hs(JT(i, (a, h) => Jc(a, h, e, n, o, r5), ...l), r);
27026
27026
  }
27027
27027
  function cl(i, t) {
27028
27028
  if (!i)
@@ -27065,7 +27065,7 @@ class is extends fd {
27065
27065
  this.registedAggregators[t] = e;
27066
27066
  }
27067
27067
  registerAggregators() {
27068
- this.registerAggregator(Yt.RECORD, rM), this.registerAggregator(Yt.SUM, lM), this.registerAggregator(Yt.COUNT, aM), this.registerAggregator(Yt.MAX, dM), this.registerAggregator(Yt.MIN, uM), this.registerAggregator(Yt.AVG, hM), this.registerAggregator(Yt.NONE, sM), this.registerAggregator(Yt.CUSTOM, L6);
27068
+ this.registerAggregator(Yt.RECORD, rM), this.registerAggregator(Yt.SUM, lM), this.registerAggregator(Yt.COUNT, aM), this.registerAggregator(Yt.MAX, dM), this.registerAggregator(Yt.MIN, uM), this.registerAggregator(Yt.AVG, hM), this.registerAggregator(Yt.NONE, sM), this.registerAggregator(Yt.CUSTOM, L5);
27069
27069
  }
27070
27070
  updateColumns(t) {
27071
27071
  this.columns = t;
@@ -27232,7 +27232,7 @@ class is extends fd {
27232
27232
  length: l.length
27233
27233
  }, (h, d) => d);
27234
27234
  (o = this.lastSortStates) === null || o === void 0 || o.forEach((h) => {
27235
- h.order !== "normal" && H6((d) => z(a[d]) ? a[d] : a[d] = d, (d, u) => {
27235
+ h.order !== "normal" && H5((d) => z(a[d]) ? a[d] : a[d] = d, (d, u) => {
27236
27236
  a[d] = u;
27237
27237
  }, l.length, h.orderFn, h.order, (d) => this.getOriginalField(Array.isArray(t) ? t.concat([d]) : [t, d], h.field));
27238
27238
  });
@@ -27636,7 +27636,7 @@ is.EMPTY = new is({
27636
27636
  },
27637
27637
  length: 0
27638
27638
  });
27639
- function O6(i, t, e, n) {
27639
+ function O5(i, t, e, n) {
27640
27640
  (i[t] || (i[t] = /* @__PURE__ */ new Map())).set(e, n);
27641
27641
  }
27642
27642
  class vd extends is {
@@ -27673,7 +27673,7 @@ class vd extends is {
27673
27673
  this._recordCache && (this._recordCache = []), this._fieldCache && (this._fieldCache = {});
27674
27674
  }
27675
27675
  fieldPromiseCallBack(t, e, n) {
27676
- O6(this._fieldCache, t, e, n);
27676
+ O5(this._fieldCache, t, e, n);
27677
27677
  }
27678
27678
  recordPromiseCallBack(t, e) {
27679
27679
  this._recordCache && (this._recordCache[t] = e);
@@ -27776,19 +27776,19 @@ function cM(i, t, e, n) {
27776
27776
  z(s) && (s.hierarchyState = i[o].hierarchyState), ut(r.children) && ut(s.children) && r.map.size !== 0 && s.map.size !== 0 && cM(r.children, s.children, r.map, s.map);
27777
27777
  }
27778
27778
  }
27779
- const z6 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
27779
+ const z5 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
27780
27780
  __proto__: null,
27781
27781
  CachedDataSource: vd,
27782
27782
  DataSource: is
27783
27783
  }, Symbol.toStringTag, { value: "Module" }));
27784
- var Qc = {}, W6 = {
27784
+ var Qc = {}, W5 = {
27785
27785
  get exports() {
27786
27786
  return Qc;
27787
27787
  },
27788
27788
  set exports(i) {
27789
27789
  Qc = i;
27790
27790
  }
27791
- }, Jd = {}, N6 = new RegExp([
27791
+ }, Jd = {}, N5 = new RegExp([
27792
27792
  "^\\s*(?=(?:(?:[-a-z]+\\s*){0,2}(italic|oblique))?)",
27793
27793
  "(?=(?:(?:[-a-z]+\\s*){0,2}(small-caps))?)",
27794
27794
  "(?=(?:(?:[-a-z]+\\s*){0,2}(bold(?:er)?|lighter|[1-9]00 ))?)",
@@ -27796,15 +27796,15 @@ var Qc = {}, W6 = {
27796
27796
  "(?:small|large)|medium|smaller|larger|[\\.\\d]+(?:\\%|in|[cem]m|ex|p[ctx]))",
27797
27797
  "(?:\\s*\\/\\s*(normal|[\\.\\d]+(?:\\%|in|[cem]m|ex|p[ctx])?))",
27798
27798
  `?\\s*([-,\\"\\'\\sa-z]+?)\\s*$`
27799
- ].join(""), "i"), j6 = [
27799
+ ].join(""), "i"), j5 = [
27800
27800
  "style",
27801
27801
  "variant",
27802
27802
  "weight",
27803
27803
  "size",
27804
27804
  "lineHeight",
27805
27805
  "family"
27806
- ], V6 = /([\.0-9]+)(.*)/, Aw = function(i, t, e) {
27807
- var n = i.match(V6);
27806
+ ], V5 = /([\.0-9]+)(.*)/, Aw = function(i, t, e) {
27807
+ var n = i.match(V5);
27808
27808
  if (n) {
27809
27809
  i = parseFloat(n[1]);
27810
27810
  var o = n[2].toLowerCase().trim(), r = Math.round(i);
@@ -27836,20 +27836,20 @@ var Qc = {}, W6 = {
27836
27836
  cursive: 1,
27837
27837
  fantasy: 1,
27838
27838
  monospace: 1
27839
- }, $6 = W6.exports = function(i, t, e) {
27839
+ }, $5 = W5.exports = function(i, t, e) {
27840
27840
  var n = i + "-" + (t || "null") + "@" + e;
27841
27841
  if (e = e || 96, typeof Jd[n] < "u")
27842
27842
  return Jd[n];
27843
- if (t && (t = $6(t, null, e)), i === "inherit")
27843
+ if (t && (t = $5(t, null, e)), i === "inherit")
27844
27844
  return t;
27845
- var o = N6.exec(i);
27845
+ var o = N5.exec(i);
27846
27846
  if (!o) {
27847
27847
  Jd[n] = null;
27848
27848
  return;
27849
27849
  }
27850
27850
  o.shift();
27851
27851
  for (var r = {}, s = 0; s < o.length; s++) {
27852
- var l = j6[s], a = o[s];
27852
+ var l = j5[s], a = o[s];
27853
27853
  if (Tw[l] && a) {
27854
27854
  var h = t && t[l] || null, d = Tw[l](a, h, e);
27855
27855
  typeof d > "u" && l === "lineHeight" && a ? a = r.size * parseFloat(a) : a = d;
@@ -27880,7 +27880,7 @@ var Qc = {}, W6 = {
27880
27880
  }), r;
27881
27881
  };
27882
27882
  Qc.generics = gM;
27883
- function G6(i) {
27883
+ function G5(i) {
27884
27884
  return Qc(i);
27885
27885
  }
27886
27886
  function he(i) {
@@ -27891,32 +27891,32 @@ function he(i) {
27891
27891
  }
27892
27892
  return i && (isFinite(i.bottom) || isFinite(i.left) || isFinite(i.right) || isFinite(i.top)) ? [(t = i.top) !== null && t !== void 0 ? t : 0, (e = i.right) !== null && e !== void 0 ? e : 0, (n = i.bottom) !== null && n !== void 0 ? n : 0, (o = i.left) !== null && o !== void 0 ? o : 0] : [0, 0, 0, 0];
27893
27893
  }
27894
- const Su = 0, fM = 1, tg = 2, pM = 3, vM = 10, mM = 11, bM = 12, U6 = 9, K6 = 13, Y6 = 10, X6 = 12, q6 = 32, Z6 = 37, J6 = 46, Q6 = 48, t5 = 57, e5 = 65, i5 = 90, n5 = 97, o5 = 122;
27895
- function r5(i) {
27896
- return i >= e5 && i <= i5;
27894
+ const Su = 0, fM = 1, tg = 2, pM = 3, vM = 10, mM = 11, bM = 12, U5 = 9, K5 = 13, Y5 = 10, X5 = 12, q5 = 32, Z5 = 37, J5 = 46, Q5 = 48, t6 = 57, e6 = 65, i6 = 90, n6 = 97, o6 = 122;
27895
+ function r6(i) {
27896
+ return i >= e6 && i <= i6;
27897
27897
  }
27898
- function s5(i) {
27899
- return i >= n5 && i <= o5;
27898
+ function s6(i) {
27899
+ return i >= n6 && i <= o6;
27900
27900
  }
27901
- function l5(i) {
27902
- return s5(i) || r5(i);
27901
+ function l6(i) {
27902
+ return s6(i) || r6(i);
27903
27903
  }
27904
- function a5(i) {
27905
- return i === U6 || i === Y6 || i === X6 || i === K6 || i === q6;
27904
+ function a6(i) {
27905
+ return i === U5 || i === Y5 || i === X5 || i === K5 || i === q5;
27906
27906
  }
27907
27907
  function Rp(i) {
27908
- return i >= Q6 && i <= t5;
27908
+ return i >= Q5 && i <= t6;
27909
27909
  }
27910
27910
  function Mw(i) {
27911
- return i === J6;
27911
+ return i === J5;
27912
27912
  }
27913
27913
  function Bw(i) {
27914
- return l5(i) || i === Z6;
27914
+ return l6(i) || i === Z5;
27915
27915
  }
27916
27916
  function ah(i) {
27917
27917
  return new Error(`calc parse error: ${i}`);
27918
27918
  }
27919
- function h5(i) {
27919
+ function h6(i) {
27920
27920
  const t = i.replace(/calc\(/g, "(").trim(), e = [], n = t.length;
27921
27921
  for (let l = 0; l < n; l++) {
27922
27922
  const a = t[l], h = a.charCodeAt(0);
@@ -27934,7 +27934,7 @@ function h5(i) {
27934
27934
  l = o(a, l + 1) - 1;
27935
27935
  else if (Rp(h) || Mw(h))
27936
27936
  l = r(a, l + 1) - 1;
27937
- else if (!a5(h))
27937
+ else if (!a6(h))
27938
27938
  throw ah(i);
27939
27939
  }
27940
27940
  function o(l, a) {
@@ -28047,8 +28047,8 @@ function CM(i, t) {
28047
28047
  n.push(e(n));
28048
28048
  return n[0];
28049
28049
  }
28050
- function d5(i) {
28051
- return CM(h5(i), i);
28050
+ function d6(i) {
28051
+ return CM(h6(i), i);
28052
28052
  }
28053
28053
  function Ov(i, t) {
28054
28054
  if (i.nodeType === mM) {
@@ -28078,26 +28078,26 @@ function Ov(i, t) {
28078
28078
  return i.value;
28079
28079
  throw new Error("calc error.");
28080
28080
  }
28081
- function u5(i, t) {
28082
- return Ov(d5(i), t);
28081
+ function u6(i, t) {
28082
+ return Ov(d6(i), t);
28083
28083
  }
28084
- function c5(i, t) {
28085
- return typeof i == "string" ? u5(i.trim(), t) : i - 0;
28084
+ function c6(i, t) {
28085
+ return typeof i == "string" ? u6(i.trim(), t) : i - 0;
28086
28086
  }
28087
- function g5(i) {
28087
+ function g6(i) {
28088
28088
  return !kt(i) && (!!vt(i) || +i == +i);
28089
28089
  }
28090
28090
  function Ap(i) {
28091
- return !!Se(i) && !!i.endsWith("%") && g5(i.substring(0, i.length - 1));
28091
+ return !!Se(i) && !!i.endsWith("%") && g6(i.substring(0, i.length - 1));
28092
28092
  }
28093
- function f5(i, t = "vtable") {
28093
+ function f6(i, t = "vtable") {
28094
28094
  var e, n;
28095
28095
  const o = document.createElement("div");
28096
28096
  o.setAttribute("tabindex", "0"), o.classList.add(t), o.style.outline = "none", o.style.margin = `${i.top}px ${i.right}px ${i.bottom}px ${i.left}px`;
28097
28097
  const r = (o.offsetWidth || ((e = o.parentElement) === null || e === void 0 ? void 0 : e.offsetWidth) || 1) - 1, s = (o.offsetHeight || ((n = o.parentElement) === null || n === void 0 ? void 0 : n.offsetHeight) || 1) - 1;
28098
28098
  return o.style.width = r && r - i.left - i.right + "px" || "0px", o.style.height = s && s - i.top - i.bottom + "px" || "0px", o;
28099
28099
  }
28100
- function p5(i, t) {
28100
+ function p6(i, t) {
28101
28101
  var e, n;
28102
28102
  i.style.margin = `${t.top}px ${t.right}px ${t.bottom}px ${t.left}px`;
28103
28103
  const o = (i.offsetWidth || ((e = i.parentElement) === null || e === void 0 ? void 0 : e.offsetWidth) || 1) - 1, r = (i.offsetHeight || ((n = i.parentElement) === null || n === void 0 ? void 0 : n.offsetHeight) || 1) - 1;
@@ -28112,11 +28112,11 @@ function yM(i, t) {
28112
28112
  function Hw(i, t = []) {
28113
28113
  yM(i, () => {
28114
28114
  i.internalProps.records = t;
28115
- const e = i.internalProps.dataSource = vd.ofArray(t, i.internalProps.dataConfig, i.pagination, i.internalProps.columns, i.internalProps.layoutMap.rowHierarchyType, v5(i));
28115
+ const e = i.internalProps.dataSource = vd.ofArray(t, i.internalProps.dataConfig, i.pagination, i.internalProps.columns, i.internalProps.layoutMap.rowHierarchyType, v6(i));
28116
28116
  i.addReleaseObj(e);
28117
28117
  });
28118
28118
  }
28119
- function v5(i) {
28119
+ function v6(i) {
28120
28120
  var t;
28121
28121
  return i.options.hierarchyExpandLevel ? i.options.hierarchyExpandLevel : i.options.groupBy ? 1 / 0 : !((t = i._hasHierarchyTreeHeader) === null || t === void 0) && t.call(i) ? 1 : void 0;
28122
28122
  }
@@ -28134,7 +28134,7 @@ function zv(i, t) {
28134
28134
  i.internalProps.records = null;
28135
28135
  });
28136
28136
  }
28137
- function m5(i, t) {
28137
+ function m6(i, t) {
28138
28138
  if (!i.internalProps.frozenRowCount)
28139
28139
  return null;
28140
28140
  let { scrollTop: e } = i;
@@ -28152,7 +28152,7 @@ function m5(i, t) {
28152
28152
  }
28153
28153
  return null;
28154
28154
  }
28155
- function b5(i, t) {
28155
+ function b6(i, t) {
28156
28156
  if (!i.internalProps.frozenColCount)
28157
28157
  return null;
28158
28158
  let { scrollLeft: e } = i;
@@ -28171,12 +28171,12 @@ function b5(i, t) {
28171
28171
  return null;
28172
28172
  }
28173
28173
  function Fa(i, t) {
28174
- return Math.round(c5(t, i.internalProps.calcWidthContext));
28174
+ return Math.round(c6(t, i.internalProps.calcWidthContext));
28175
28175
  }
28176
- function C5(i, t) {
28176
+ function C6(i, t) {
28177
28177
  return i ? i.min && i.min > t ? i.min : i.max && i.max < t ? i.max : t : t;
28178
28178
  }
28179
- function y5(i) {
28179
+ function y6(i) {
28180
28180
  let t = 0, e = 0;
28181
28181
  i.frozenColCount > 0 && (t = i.getFrozenColsWidth()), i.rightFrozenColCount > 0 && (e = i.getRightFrozenColsWidth());
28182
28182
  let n = 0, o = 0;
@@ -28186,7 +28186,7 @@ function as(i, t, e, n, o, r = !0) {
28186
28186
  const s = he(o("padding", i, e, n, t)), l = o("bgColor", i, e, n, t), a = o("font", i, e, n, t);
28187
28187
  let h, d, u, c, g;
28188
28188
  if (a) {
28189
- const { family: H, size: E, weight: k, style: L, variant: D } = G6(a);
28189
+ const { family: H, size: E, weight: k, style: L, variant: D } = G5(a);
28190
28190
  h = H.join(" "), d = E, u = k, c = L, c = D;
28191
28191
  } else
28192
28192
  h = o("fontFamily", i, e, n, t), d = o("fontSize", i, e, n, t), u = o("fontWeight", i, e, n, t), c = o("fontStyle", i, e, n, t), g = o("fontVariant", i, e, n, t);
@@ -28311,7 +28311,7 @@ function tu(i) {
28311
28311
  }
28312
28312
  }
28313
28313
  }
28314
- function _5(i) {
28314
+ function _6(i) {
28315
28315
  for (let t = 0; t < i.length; t++)
28316
28316
  if (i[t].aggregation)
28317
28317
  return !0;
@@ -28368,7 +28368,7 @@ function Nh(i) {
28368
28368
  renderDefault: !0
28369
28369
  };
28370
28370
  }
28371
- class w5 {
28371
+ class w6 {
28372
28372
  constructor(t, e) {
28373
28373
  this.removeAllContainer = t, this.table = e, this.customLayoutFuncCache = /* @__PURE__ */ new Map(), this.reactRemoveGraphicCache = /* @__PURE__ */ new Map(), this.headerCustomLayoutFuncCache = /* @__PURE__ */ new Map(), this.headerReactRemoveGraphicCache = /* @__PURE__ */ new Map();
28374
28374
  }
@@ -28384,7 +28384,7 @@ class w5 {
28384
28384
  updateCustomCell(t, e) {
28385
28385
  const n = this.table;
28386
28386
  if (n.isPivotTable()) {
28387
- const o = x5(t, n, e);
28387
+ const o = x6(t, n, e);
28388
28388
  for (let r = 0; r < o.length; r++) {
28389
28389
  const s = o[r];
28390
28390
  for (let l = s.start.col; l <= s.end.col; l++)
@@ -28392,7 +28392,7 @@ class w5 {
28392
28392
  n.scenegraph.updateCellContent(l, a);
28393
28393
  }
28394
28394
  } else {
28395
- const o = S5(t, n, e);
28395
+ const o = S6(t, n, e);
28396
28396
  for (let r = o.start.col; r <= o.end.col; r++)
28397
28397
  for (let s = o.start.row; s <= o.end.row; s++)
28398
28398
  n.scenegraph.updateCellContent(r, s);
@@ -28423,7 +28423,7 @@ class w5 {
28423
28423
  this.removeAllContainer();
28424
28424
  }
28425
28425
  }
28426
- function S5(i, t, e) {
28426
+ function S6(i, t, e) {
28427
28427
  const n = t.internalProps.rowSeriesNumber ? 1 : 0;
28428
28428
  if (e) {
28429
28429
  const r = t.internalProps.layoutMap, { headerObjects: s } = t.internalProps.layoutMap;
@@ -28462,7 +28462,7 @@ function S5(i, t, e) {
28462
28462
  }
28463
28463
  };
28464
28464
  }
28465
- function x5(i, t, e) {
28465
+ function x6(i, t, e) {
28466
28466
  const n = t.internalProps.rowSeriesNumber ? 1 : 0, o = [], r = t.internalProps.layoutMap;
28467
28467
  if (e) {
28468
28468
  const { headerObjects: s } = r, l = [];
@@ -28525,7 +28525,7 @@ function zi(i) {
28525
28525
  row: e.row,
28526
28526
  event: i,
28527
28527
  targetCell: e,
28528
- mergeInfo: R5(e),
28528
+ mergeInfo: R6(e),
28529
28529
  target: i.target
28530
28530
  }), t;
28531
28531
  }
@@ -28537,7 +28537,7 @@ function ns(i) {
28537
28537
  }
28538
28538
  return null;
28539
28539
  }
28540
- function R5(i) {
28540
+ function R6(i) {
28541
28541
  if (z(i.mergeStartCol) && z(i.mergeStartRow) && z(i.mergeEndCol) && z(i.mergeEndRow))
28542
28542
  return {
28543
28543
  colStart: i.mergeStartCol,
@@ -28546,7 +28546,7 @@ function R5(i) {
28546
28546
  rowEnd: i.mergeEndRow
28547
28547
  };
28548
28548
  }
28549
- const A5 = /radio-\d+-\d+-(\d+)/, _M = "_custom_", Xo = "custom-container", eg = _M + "_0";
28549
+ const A6 = /radio-\d+-\d+-(\d+)/, _M = "_custom_", Xo = "custom-container", eg = _M + "_0";
28550
28550
  function os(i, t, e, n, o, r, s, l, a, h, d) {
28551
28551
  var u, c, g;
28552
28552
  let f, p, v, m, b = !0, y = !1;
@@ -28592,7 +28592,7 @@ function os(i, t, e, n, o, r, s, l, a, h, d) {
28592
28592
  _ && (v = _.elements, b = _.renderDefault, f = _.expectedWidth, p = _.expectedHeight);
28593
28593
  } else
28594
28594
  t && (f = t.expectedWidth, p = t.expectedHeight, v = t.elements, b = t.renderDefault);
28595
- return v && (m = T5(v, s ? f : o, l ? p : r, d.getCellValue(e, n))), y && m.setAttributes({
28595
+ return v && (m = T6(v, s ? f : o, l ? p : r, d.getCellValue(e, n))), y && m.setAttributes({
28596
28596
  x: a[3],
28597
28597
  y: a[0],
28598
28598
  width: o - a[1] - a[3],
@@ -28602,7 +28602,7 @@ function os(i, t, e, n, o, r, s, l, a, h, d) {
28602
28602
  renderDefault: b
28603
28603
  };
28604
28604
  }
28605
- function T5(i, t, e, n) {
28605
+ function T6(i, t, e, n) {
28606
28606
  const o = new jn({
28607
28607
  x: 0,
28608
28608
  y: 0,
@@ -28612,7 +28612,7 @@ function T5(i, t, e, n) {
28612
28612
  stroke: !1,
28613
28613
  pickable: !1
28614
28614
  });
28615
- return o.name = Xo, M5(i, t, e, n).forEach((r) => {
28615
+ return o.name = Xo, M6(i, t, e, n).forEach((r) => {
28616
28616
  var s, l, a, h, d, u, c, g, f, p, v, m, b, y, _, C, w, R, x, S, A, T, M, B, F, P, H, E;
28617
28617
  switch (r.clickable && (r.pickable = r.clickable), r.type) {
28618
28618
  case "arc":
@@ -28728,7 +28728,7 @@ function T5(i, t, e, n) {
28728
28728
  }
28729
28729
  }), o;
28730
28730
  }
28731
- function M5(i, t, e, n) {
28731
+ function M6(i, t, e, n) {
28732
28732
  const o = [], r = [0, 0, 0, 0];
28733
28733
  for (let s = 0; s < i.length; s++) {
28734
28734
  const l = i[s], a = Object.assign({}, l);
@@ -28754,7 +28754,7 @@ function jh(i, t) {
28754
28754
  const e = i.type, { attribute: n, children: o, stateProxy: r, animation: s } = i.props, l = e({
28755
28755
  attribute: n
28756
28756
  });
28757
- if (B5(l, i.props), r && (l.stateProxy = r), l.id = n.id, l.name = n.name, ut(o) ? o.forEach((a) => {
28757
+ if (B6(l, i.props), r && (l.stateProxy = r), l.id = n.id, l.name = n.name, ut(o) ? o.forEach((a) => {
28758
28758
  const h = jh(a, t);
28759
28759
  h && h.type && l.add(h);
28760
28760
  }) : o && l.add(jh(o, t)), ut(s) && t) {
@@ -28765,7 +28765,7 @@ function jh(i, t) {
28765
28765
  }
28766
28766
  return l;
28767
28767
  }
28768
- function B5(i, t) {
28768
+ function B6(i, t) {
28769
28769
  let e = !1;
28770
28770
  switch (i.type) {
28771
28771
  case "richtext":
@@ -28780,11 +28780,11 @@ function B5(i, t) {
28780
28780
  });
28781
28781
  }
28782
28782
  function wM(i, t, e, n, o) {
28783
- i && (i.name = `${_M}${o ?? ""}_${n}`, i.onBeforeAttributeUpdate = P5, i.type === "group" && i.childrenCount && i.forEachChildren((r, s) => {
28783
+ i && (i.name = `${_M}${o ?? ""}_${n}`, i.onBeforeAttributeUpdate = P6, i.type === "group" && i.childrenCount && i.forEachChildren((r, s) => {
28784
28784
  wM(r, t, e, s, (o ?? "") + "_" + n);
28785
28785
  }));
28786
28786
  }
28787
- function P5(i, t) {
28787
+ function P6(i, t) {
28788
28788
  const e = this;
28789
28789
  if (e.skipMergeUpdate)
28790
28790
  return;
@@ -28835,7 +28835,7 @@ function eu(i) {
28835
28835
  var t, e, n, o, r, s, l, a, h, d, u, c, g, f, p, v, m, b, y, _, C, w, R, x;
28836
28836
  Ka = (t = i == null ? void 0 : i.sort_color) !== null && t !== void 0 ? t : "#282F38", Ya = (e = i == null ? void 0 : i.sort_color_opacity) !== null && e !== void 0 ? e : "0.35", Wv = (n = i == null ? void 0 : i.sort_color_2) !== null && n !== void 0 ? n : "#416EFF", Nv = (o = i == null ? void 0 : i.sort_color_opacity_2) !== null && o !== void 0 ? o : "1", bs = (r = i == null ? void 0 : i.sort_size) !== null && r !== void 0 ? r : 16, Cs = (s = i == null ? void 0 : i.sort_size_2) !== null && s !== void 0 ? s : 22, jv = (l = i == null ? void 0 : i.frozen_color) !== null && l !== void 0 ? l : "#282F38", xM = (a = i == null ? void 0 : i.frozen_color_opacity) !== null && a !== void 0 ? a : "0.35", RM = (h = i == null ? void 0 : i.frozen_color_opacity) !== null && h !== void 0 ? h : "0.2", AM = (d = i == null ? void 0 : i.frozen_color_2) !== null && d !== void 0 ? d : "#416EFF", TM = (u = i == null ? void 0 : i.frozen_color_opacity_2) !== null && u !== void 0 ? u : "1", ys = (c = i == null ? void 0 : i.frozen_size) !== null && c !== void 0 ? c : 22, _s = (g = i == null ? void 0 : i.frozen_size_2) !== null && g !== void 0 ? g : 22, MM = (f = i == null ? void 0 : i.collapse_color) !== null && f !== void 0 ? f : "#141414", BM = (p = i == null ? void 0 : i.collapse_color_opacity) !== null && p !== void 0 ? p : "0.65", Xa = (v = i == null ? void 0 : i.collapse_size) !== null && v !== void 0 ? v : 16, qa = (m = i == null ? void 0 : i.frozen_size_2) !== null && m !== void 0 ? m : 22, PM = (b = i == null ? void 0 : i.expand_color) !== null && b !== void 0 ? b : "#141414", HM = (y = i == null ? void 0 : i.expand_color_opacity) !== null && y !== void 0 ? y : "0.65", Vv = (_ = i == null ? void 0 : i.expand_size) !== null && _ !== void 0 ? _ : 16, $v = (C = i == null ? void 0 : i.expand_size_2) !== null && C !== void 0 ? C : 22, ws = (w = i == null ? void 0 : i.dragReorder_color) !== null && w !== void 0 ? w : "#666666", Ss = (R = i == null ? void 0 : i.dragReorder_color_opacity) !== null && R !== void 0 ? R : "1", Gv = (x = i == null ? void 0 : i.dragReorder_size) !== null && x !== void 0 ? x : 20;
28837
28837
  }
28838
- const H5 = {
28838
+ const H6 = {
28839
28839
  get sort_downward() {
28840
28840
  return {
28841
28841
  type: "svg",
@@ -29076,7 +29076,7 @@ const H5 = {
29076
29076
  type: "svg",
29077
29077
  positionType: Re.absolute,
29078
29078
  funcType: Pe.drillDown,
29079
- svg: S6,
29079
+ svg: S5,
29080
29080
  width: 13,
29081
29081
  height: 13,
29082
29082
  cursor: "pointer"
@@ -29088,7 +29088,7 @@ const H5 = {
29088
29088
  type: "svg",
29089
29089
  positionType: Re.absolute,
29090
29090
  funcType: Pe.drillUp,
29091
- svg: x6,
29091
+ svg: x5,
29092
29092
  width: 13,
29093
29093
  height: 13,
29094
29094
  cursor: "pointer"
@@ -29110,7 +29110,7 @@ const H5 = {
29110
29110
  }
29111
29111
  };
29112
29112
  function Wn() {
29113
- return pd(H5, ig);
29113
+ return pd(H6, ig);
29114
29114
  }
29115
29115
  let we = class extends jn {
29116
29116
  clear() {
@@ -29212,7 +29212,7 @@ let we = class extends jn {
29212
29212
  if (!this.shouldUpdateAABBBounds())
29213
29213
  return this._AABBBounds;
29214
29214
  const t = this.shouldSelfChangeUpdateAABBBounds(), e = this.doUpdateAABBBounds();
29215
- return this.addUpdateLayoutTag(), L5(this, t), e;
29215
+ return this.addUpdateLayoutTag(), L6(this, t), e;
29216
29216
  }
29217
29217
  return super.tryUpdateAABBBounds();
29218
29218
  }
@@ -29230,7 +29230,7 @@ let we = class extends jn {
29230
29230
  this.colHeight ? this.colHeight += t : this.colHeight = t;
29231
29231
  }
29232
29232
  };
29233
- function L5(i, t) {
29233
+ function L6(i, t) {
29234
29234
  i.stage && i.stage.dirtyBounds && i.stage.renderCount && (i.isContainer && !t || i.stage.dirty(i.globalAABBBounds));
29235
29235
  }
29236
29236
  function Cf(i, t, e, n) {
@@ -29279,7 +29279,7 @@ function el(i, t, e, n) {
29279
29279
  let w = (r = (o = e == null ? void 0 : e.group) === null || o === void 0 ? void 0 : o.strokeArrayWidth) !== null && r !== void 0 ? r : void 0;
29280
29280
  return n.theme.cellInnerBorder || !DW(n.theme.frameStyle.borderLineWidth) || OW(n.theme.frameStyle.borderLineWidth) || (i === 0 && (w = w ?? [(s = e == null ? void 0 : e.group) === null || s === void 0 ? void 0 : s.lineWidth, (l = e == null ? void 0 : e.group) === null || l === void 0 ? void 0 : l.lineWidth, (a = e == null ? void 0 : e.group) === null || a === void 0 ? void 0 : a.lineWidth, (h = e == null ? void 0 : e.group) === null || h === void 0 ? void 0 : h.lineWidth], w[3] = 0), i === n.colCount - 1 && (w = w ?? [(d = e == null ? void 0 : e.group) === null || d === void 0 ? void 0 : d.lineWidth, (u = e == null ? void 0 : e.group) === null || u === void 0 ? void 0 : u.lineWidth, (c = e == null ? void 0 : e.group) === null || c === void 0 ? void 0 : c.lineWidth, (g = e == null ? void 0 : e.group) === null || g === void 0 ? void 0 : g.lineWidth], w[1] = 0), t === 0 && (w = w ?? [(f = e == null ? void 0 : e.group) === null || f === void 0 ? void 0 : f.lineWidth, (p = e == null ? void 0 : e.group) === null || p === void 0 ? void 0 : p.lineWidth, (v = e == null ? void 0 : e.group) === null || v === void 0 ? void 0 : v.lineWidth, (m = e == null ? void 0 : e.group) === null || m === void 0 ? void 0 : m.lineWidth], w[0] = 0), t === n.rowCount - 1 && (w = w ?? [(b = e == null ? void 0 : e.group) === null || b === void 0 ? void 0 : b.lineWidth, (y = e == null ? void 0 : e.group) === null || y === void 0 ? void 0 : y.lineWidth, (_ = e == null ? void 0 : e.group) === null || _ === void 0 ? void 0 : _.lineWidth, (C = e == null ? void 0 : e.group) === null || C === void 0 ? void 0 : C.lineWidth], w[2] = 0)), w;
29281
29281
  }
29282
- class E5 extends we {
29282
+ class E6 extends we {
29283
29283
  constructor(t) {
29284
29284
  super(t), this._autoWidth = !1, this._autoHeight = !1, this._leftGroup = new we({
29285
29285
  pickable: !1,
@@ -29394,7 +29394,7 @@ function Vh(i, t) {
29394
29394
  moreThanMaxCharacters: r
29395
29395
  };
29396
29396
  }
29397
- function F5(i, t, e, n, o, r, s, l, a, h, d, u, c, g, f) {
29397
+ function F6(i, t, e, n, o, r, s, l, a, h, d, u, c, g, f) {
29398
29398
  var p, v, m, b, y, _, C, w, R;
29399
29399
  let x, S = 0, A = 0, T = 0;
29400
29400
  if (Array.isArray(t) && t.length !== 0) {
@@ -29431,10 +29431,10 @@ function F5(i, t, e, n, o, r, s, l, a, h, d, u, c, g, f) {
29431
29431
  verticalDirection: r && s ? "top" : u,
29432
29432
  ellipsis: N.ellipsis
29433
29433
  });
29434
- $.name = "text", O = $, $.bindIconEvent(), !f || f.start.col === f.end.col && f.start.row === f.end.row || ($.onBeforeAttributeUpdate = I5);
29434
+ $.name = "text", O = $, $.bindIconEvent(), !f || f.start.col === f.end.col && f.start.row === f.end.row || ($.onBeforeAttributeUpdate = I6);
29435
29435
  }
29436
29436
  if (H.length !== 0 || E.length !== 0) {
29437
- const N = new E5({
29437
+ const N = new E6({
29438
29438
  x: 0,
29439
29439
  y: 0,
29440
29440
  fill: !1,
@@ -29531,7 +29531,7 @@ function og(i, t, e, n, o, r, s, l, a) {
29531
29531
  w.name === "mark" && w.setAttribute("x", i.attribute.width);
29532
29532
  }), o) {
29533
29533
  let w = Math.max(p, _, m);
29534
- if (k5(a, i, Math.round(w + r[0] + r[2]), C))
29534
+ if (k6(a, i, Math.round(w + r[0] + r[2]), C))
29535
29535
  return !0;
29536
29536
  w = ((c = i.contentHeight) !== null && c !== void 0 ? c : e) - (r[0] + r[2]), i.forEachChildren((R) => {
29537
29537
  R.type !== "rect" && R.type !== "chart" && R.name !== Xo && (R.name === "mark" ? R.setAttribute("y", 0) : l === "middle" ? R.setAttribute("y", r[0] + (w - R.AABBBounds.height()) / 2) : l === "bottom" ? R.setAttribute("y", r[0] + w - R.AABBBounds.height()) : R.setAttribute("y", r[0]));
@@ -29553,7 +29553,7 @@ function rg(i, t, e, n, o, r, s, l) {
29553
29553
  u.setAttribute("dy", 0), u.type === "rect" || u.type === "chart" || u.name === Xo || (u.name === "mark" ? u.setAttribute("y", 0) : s === "middle" ? u.setAttribute("y", o[0] + (h - u.AABBBounds.height()) / 2) : s === "bottom" ? u.setAttribute("y", o[0] + h - u.AABBBounds.height()) : u.setAttribute("y", o[0]));
29554
29554
  });
29555
29555
  }
29556
- function k5(i, t, e, n) {
29556
+ function k6(i, t, e, n) {
29557
29557
  const o = i.table, r = Ai(o, t.col, t.row);
29558
29558
  if (r && r.end.row - r.start.row) {
29559
29559
  n /= r.end.row - r.start.row + 1, e /= r.end.row - r.start.row + 1;
@@ -29628,7 +29628,7 @@ function _f(i, t, e, n) {
29628
29628
  absoluteRightIconWidth: m
29629
29629
  };
29630
29630
  }
29631
- function I5(i, t) {
29631
+ function I6(i, t) {
29632
29632
  if (i.hasOwnProperty("hoverIconId")) {
29633
29633
  const e = this;
29634
29634
  if (e.skipMergeUpdate)
@@ -29661,7 +29661,7 @@ function I5(i, t) {
29661
29661
  }
29662
29662
  }
29663
29663
  }
29664
- function D5(i, t, e, n, o, r, s, l, a, h, d, u, c, g, f, p, v) {
29664
+ function D6(i, t, e, n, o, r, s, l, a, h, d, u, c, g, f, p, v) {
29665
29665
  var m, b, y, _, C, w, R, x, S, A, T, M, B, F, P, H, E, k, L, D, O, N, W, $, K, Y, V, G, X, at;
29666
29666
  const pt = g._getCellStyle(n, o), St = yf("padding", pt, n, o, g);
29667
29667
  !((m = g.options.customConfig) === null || m === void 0) && m.imageMargin ? h = he((b = g.options.customConfig) === null || b === void 0 ? void 0 : b.imageMargin) : z(St) && (h = St), !((y = f == null ? void 0 : f.text) === null || y === void 0) && y.textAlign && (d = (_ = f == null ? void 0 : f.text) === null || _ === void 0 ? void 0 : _.textAlign), !((C = f == null ? void 0 : f.text) === null || C === void 0) && C.textBaseline && (u = (w = f == null ? void 0 : f.text) === null || w === void 0 ? void 0 : w.textBaseline);
@@ -29852,16 +29852,16 @@ function EM(i, t, e) {
29852
29852
  }).catch((n) => {
29853
29853
  });
29854
29854
  }
29855
- function O5(i, t) {
29855
+ function O6(i, t) {
29856
29856
  return !i && !t || !(!i || !t) && i.start.col === t.start.col && i.start.row === t.start.row && i.end.col === t.end.col && i.end.row === t.end.row;
29857
29857
  }
29858
- class z5 {
29858
+ class z6 {
29859
29859
  constructor(t, e) {
29860
29860
  var n, o;
29861
29861
  this.table = t, this._fill = (n = e == null ? void 0 : e.fill) !== null && n !== void 0 ? n : "#000", this._opacity = (o = e == null ? void 0 : e.opacity) !== null && o !== void 0 ? o : 0.5;
29862
29862
  }
29863
29863
  setInvertHighlightRange(t) {
29864
- O5(this.range, t) || (this.range = t, t ? this.updateCellGroupShadow() : this.deleteAllCellGroupShadow(), this.table.scenegraph.updateNextFrame());
29864
+ O6(this.range, t) || (this.range = t, t ? this.updateCellGroupShadow() : this.deleteAllCellGroupShadow(), this.table.scenegraph.updateNextFrame());
29865
29865
  }
29866
29866
  deleteAllCellGroupShadow() {
29867
29867
  this.table.isPivotTable() || (this.updateCellGroupShadowInContainer(this.table.scenegraph.rowHeaderGroup), this.updateCellGroupShadowInContainer(this.table.scenegraph.leftBottomCornerGroup)), this.updateCellGroupShadowInContainer(this.table.scenegraph.bodyGroup), this.updateCellGroupShadowInContainer(this.table.scenegraph.rightFrozenGroup), this.updateCellGroupShadowInContainer(this.table.scenegraph.bottomFrozenGroup), this.updateCellGroupShadowInContainer(this.table.scenegraph.rightBottomCornerGroup);
@@ -29985,7 +29985,7 @@ function Go(i, t, e, n, o) {
29985
29985
  O = it, it && (D = !0, e.options.groupTitleCustomLayout && (F = os(e.options.groupTitleCustomLayout, void 0, M.start.col, M.start.row, e.getColsWidth(M.start.col, M.end.col), e.getRowsHeight(M.start.row, M.end.row), !1, e.isAutoRowHeight(t), [0, 0, 0, 0], M, e))), tt && (P = tt);
29986
29986
  }
29987
29987
  const N = B || e._getCellStyle(M ? M.start.col : i, M ? M.start.row : t), W = (r = N.autoWrapText) !== null && r !== void 0 ? r : e.internalProps.autoWrapText, $ = as(N, e, T ? M.start.col : i, T ? M.start.row : t, At).theme;
29988
- if ($.group.cornerRadius = mf(i, t, e), !n && !T && !(L != null && L.customLayout || L != null && L.customRender || L != null && L.headerCustomLayout || L != null && L.headerCustomRender) && W5(i, t, S, W, D, e)) {
29988
+ if ($.group.cornerRadius = mf(i, t, e), !n && !T && !(L != null && L.customLayout || L != null && L.customRender || L != null && L.headerCustomLayout || L != null && L.headerCustomRender) && W6(i, t, S, W, D, e)) {
29989
29989
  const St = e.getColWidth(i), tt = e.getRowHeight(t);
29990
29990
  S.setAttributes({
29991
29991
  width: St,
@@ -30037,7 +30037,7 @@ function Go(i, t, e, n, o) {
30037
30037
  return;
30038
30038
  const K = O || H ? "text" : e.isHeader(i, t) ? (R = e._getHeaderLayoutMap(i, t).headerType) !== null && R !== void 0 ? R : "text" : (x = e.getBodyColumnType(i, t)) !== null && x !== void 0 ? x : "text", Y = $._vtable.padding, V = $.text.textAlign, G = $.text.textBaseline;
30039
30039
  let X, at, pt;
30040
- if (M ? (at = e.getColsWidth(M.start.col, M.end.col), pt = e.getRowsHeight(M.start.row, M.end.row)) : (at = e.getColWidth(i), pt = e.getRowHeight(t)), Ho(P) ? (S.removeAllChild(), EM(P, e, N5.bind(null, {
30040
+ if (M ? (at = e.getColsWidth(M.start.col, M.end.col), pt = e.getRowsHeight(M.start.row, M.end.row)) : (at = e.getColWidth(i), pt = e.getRowHeight(t)), Ho(P) ? (S.removeAllChild(), EM(P, e, N6.bind(null, {
30041
30041
  type: K,
30042
30042
  value: P,
30043
30043
  define: L,
@@ -30057,7 +30057,7 @@ function Go(i, t, e, n, o) {
30057
30057
  customStyle: B
30058
30058
  }))) : X = kM(K, P, L, e, i, t, at, pt, S, Y, V, G, D, n, $, M, F), T) {
30059
30059
  const { width: St } = X.attribute, { height: tt } = X.attribute;
30060
- X.contentWidth = St, X.contentHeight = tt, o ? j5(M, at, pt, Y, V, G, e, X) : IM(M, at, pt, Y, V, G, e);
30060
+ X.contentWidth = St, X.contentHeight = tt, o ? j6(M, at, pt, Y, V, G, e, X) : IM(M, at, pt, Y, V, G, e);
30061
30061
  }
30062
30062
  return X;
30063
30063
  }
@@ -30075,12 +30075,12 @@ function kM(i, t, e, n, o, r, s, l, a, h, d, u, c, g, f, p, v) {
30075
30075
  const y = mb(i, t, e, n, o, r, n.getColWidth(o), s, l, g ? n.scenegraph.getColGroup(o) : a.parent, g ? 0 : n.scenegraph.getCellGroupY(r), h, d, u, c, f, p, v);
30076
30076
  return !g && a.parent && (a.parent.insertAfter(y, a), a.parent.removeChild(a), !((m = n.scenegraph) === null || m === void 0) && m.proxy.cellCache.get(o) && ((b = n.scenegraph) === null || b === void 0 || b.proxy.cellCache.set(o, y))), y;
30077
30077
  }
30078
- function W5(i, t, e, n, o, r) {
30078
+ function W6(i, t, e, n, o, r) {
30079
30079
  var s;
30080
30080
  const l = r.getBodyColumnType(i, t), a = r.isAutoRowHeight(t), h = r.getCellValue(i, t);
30081
30081
  return !(r.isHeader(i, t) || e.role !== "cell" || l !== "text" || n || a || o || ((s = e.firstChild) === null || s === void 0 ? void 0 : s.type) !== "text" || Ho(h));
30082
30082
  }
30083
- function N5(i) {
30083
+ function N6(i) {
30084
30084
  const { type: t, value: e, define: n, table: o, col: r, row: s, cellWidth: l, cellHeight: a, oldCellGroup: h, padding: d, textAlign: u, textBaseline: c, mayHaveIcon: g, addNew: f, range: p, customResult: v, customStyle: m } = i, b = m || o._getCellStyle(p ? p.start.col : r, p ? p.start.row : s), y = as(b, o, p ? p.start.col : r, p ? p.start.row : s, At).theme;
30085
30085
  y.group.cornerRadius = mf(r, s, o), kM(t, e, n, o, r, s, l, a, h, d, u, c, g, f, y, p, v);
30086
30086
  }
@@ -30095,7 +30095,7 @@ function IM(i, t, e, n, o, r, s) {
30095
30095
  md(h, s.getColWidth(l), d, i, s);
30096
30096
  }
30097
30097
  }
30098
- function j5(i, t, e, n, o, r, s, l) {
30098
+ function j6(i, t, e, n, o, r, s, l) {
30099
30099
  const { col: a, row: h } = l;
30100
30100
  i.start.row !== i.end.row && l.contentHeight !== e && rg(l, e, e, s.isAutoRowHeight(h), n, o, r, s), i.start.col !== i.end.col && l.contentWidth !== t && og(l, t, e, 0, s.isAutoRowHeight(h), n, o, r, s.scenegraph), l.contentWidth = t, l.contentHeight = e;
30101
30101
  const d = s.getRowHeight(h);
@@ -30152,7 +30152,7 @@ function qr(i) {
30152
30152
  return !!(i.role === "cell" && vt(i.mergeStartCol) && vt(i.mergeStartRow) && vt(i.mergeEndCol) && vt(i.mergeEndRow));
30153
30153
  }
30154
30154
  const Tp = new ts({}), Mp = new gd({});
30155
- function V5(i, t, e, n, o, r, s, l, a, h, d, u, c, g, f) {
30155
+ function V6(i, t, e, n, o, r, s, l, a, h, d, u, c, g, f) {
30156
30156
  const p = Te(i) ? i.text : i, v = rb(p).split(`
30157
30157
  `) || [], m = f.getColsWidth(t, n), b = At("size", o, t, e, f);
30158
30158
  let y = 0;
@@ -30184,7 +30184,7 @@ function V5(i, t, e, n, o, r, s, l, a, h, d, u, c, g, f) {
30184
30184
  y = Math.max(b, v.length * u);
30185
30185
  return y;
30186
30186
  }
30187
- function $5(i, t, e, n, o, r, s, l, a, h, d, u, c, g, f) {
30187
+ function $6(i, t, e, n, o, r, s, l, a, h, d, u, c, g, f) {
30188
30188
  var p;
30189
30189
  if (ut(i)) {
30190
30190
  let v = 0;
@@ -30229,9 +30229,9 @@ function Bp(i, t, e, n, o, r, s, l, a, h, d, u, c, g, f) {
30229
30229
  return C;
30230
30230
  }
30231
30231
  let DM = "", Gh = "quick";
30232
- const G5 = new ee((i, t, e, n) => {
30232
+ const G6 = new ee((i, t, e, n) => {
30233
30233
  e(yr) ? n(yr).to(Fw).inSingletonScope() : i(yr).to(Fw).inSingletonScope();
30234
- }), U5 = new ee((i, t, e, n) => {
30234
+ }), U6 = new ee((i, t, e, n) => {
30235
30235
  e(yr) ? n(yr).to(Xl).inSingletonScope() : i(yr).to(Xl).inSingletonScope();
30236
30236
  }), Uv = /* @__PURE__ */ new Map();
30237
30237
  function lg(i, t, e, n = "normal") {
@@ -30264,7 +30264,7 @@ class Fw extends Xl {
30264
30264
  return lg(n, r, o, s).measure(t, Gh);
30265
30265
  }
30266
30266
  }
30267
- class K5 {
30267
+ class K6 {
30268
30268
  measureText(t, e) {
30269
30269
  const { fontSize: n, fontFamily: o = "Arial,sans-serif", fontWeight: r = "normal", fontStyle: s = "normal" } = e;
30270
30270
  return lg(n, r, o, s).measure(t, Gh);
@@ -30345,12 +30345,12 @@ class K5 {
30345
30345
  return l.str += o, l.width += s, l;
30346
30346
  }
30347
30347
  }
30348
- const OM = new K5();
30349
- function Y5(i) {
30348
+ const OM = new K6();
30349
+ function Y6(i) {
30350
30350
  DM = i, Uv.clear();
30351
30351
  }
30352
- function X5() {
30353
- Gh = "canvas", Jt.load(U5);
30352
+ function X6() {
30353
+ Gh = "canvas", Jt.load(U6);
30354
30354
  }
30355
30355
  const kw = new Xi({
30356
30356
  ignoreBuf: !0
@@ -30379,7 +30379,7 @@ function oo(i, t, e, n = !0, o) {
30379
30379
  t = t ?? 0, e = e ?? i.rowCount - 1, (t === 0 && e === i.rowCount - 1 || n) && i._clearRowRangeHeightsMap();
30380
30380
  for (let C = t; C < i.columnHeaderLevelCount; C++) {
30381
30381
  let w = 0, R = i.colCount - 1;
30382
- if ((i.isPivotTable() && !i.isPivotChart() || i.isPivotChart() && !i.internalProps.layoutMap.indicatorsAsCol) && J5(i, C) && !Ai(i, i.rowHeaderLevelCount, C) && (w = 0, R = i.rowHeaderLevelCount), _ || i.getDefaultRowHeight(C) === "auto") {
30382
+ if ((i.isPivotTable() && !i.isPivotChart() || i.isPivotChart() && !i.internalProps.layoutMap.indicatorsAsCol) && J6(i, C) && !Ai(i, i.rowHeaderLevelCount, C) && (w = 0, R = i.rowHeaderLevelCount), _ || i.getDefaultRowHeight(C) === "auto") {
30383
30383
  const x = yn(C, w, R, i);
30384
30384
  m[C] = Math.round(x), i.heightAdaptiveMode !== "only-body" && o || i._setRowHeight(C, x);
30385
30385
  }
@@ -30390,11 +30390,11 @@ function oo(i, t, e, n = !0, o) {
30390
30390
  o ? m[C] = Math.round(w) : i._setRowHeight(C, w);
30391
30391
  }
30392
30392
  if (!(e < i.columnHeaderLevelCount || !_))
30393
- if (i.internalProps.transpose || i.isPivotTable() && !i.internalProps.layoutMap.indicatorsAsCol || !q5(i))
30393
+ if (i.internalProps.transpose || i.isPivotTable() && !i.internalProps.layoutMap.indicatorsAsCol || !q6(i))
30394
30394
  if (i.internalProps.transpose || i.isPivotTable() && !i.internalProps.layoutMap.indicatorsAsCol)
30395
30395
  for (let C = Math.max(t, i.columnHeaderLevelCount); C <= e; C++) {
30396
30396
  let w;
30397
- w = Z5(i, C) ? yn(C, 0, i.rowHeaderLevelCount, i) : yn(C, 0, i.colCount - 1, i), o ? m[C] = Math.round(w) : i._setRowHeight(C, w);
30397
+ w = Z6(i, C) ? yn(C, 0, i.rowHeaderLevelCount, i) : yn(C, 0, i.colCount - 1, i), o ? m[C] = Math.round(w) : i._setRowHeight(C, w);
30398
30398
  }
30399
30399
  else
30400
30400
  for (let C = Math.max(t, i.columnHeaderLevelCount); C <= e; C++) {
@@ -30402,7 +30402,7 @@ function oo(i, t, e, n = !0, o) {
30402
30402
  o ? m[C] = Math.round(w) : i._setRowHeight(C, w);
30403
30403
  }
30404
30404
  else {
30405
- Q5(yn(i.columnHeaderLevelCount, 0, i.colCount - 1, i), i.columnHeaderLevelCount, i.rowCount - 1 - i.bottomFrozenRowCount, i, o ? m : void 0);
30405
+ Q6(yn(i.columnHeaderLevelCount, 0, i.colCount - 1, i), i.columnHeaderLevelCount, i.rowCount - 1 - i.bottomFrozenRowCount, i, o ? m : void 0);
30406
30406
  for (let C = i.rowCount - i.bottomFrozenRowCount; C <= e; C++) {
30407
30407
  const w = yn(C, 0, i.colCount - 1, i);
30408
30408
  o ? m[C] = Math.round(w) : i._setRowHeight(C, w);
@@ -30501,7 +30501,7 @@ function yn(i, t, e, n) {
30501
30501
  const s = n.getDefaultRowHeight(i);
30502
30502
  return vt(s) ? s : n.defaultRowHeight;
30503
30503
  }
30504
- function q5(i) {
30504
+ function q6(i) {
30505
30505
  var t, e, n;
30506
30506
  const { layoutMap: o } = i.internalProps, r = i.columnHeaderLevelCount;
30507
30507
  if ((i.internalProps.autoWrapText || i.internalProps.enableLineBreak || i.isPivotChart()) && (i.options.heightMode === "autoHeight" || i.options.heightMode === "adaptive"))
@@ -30516,7 +30516,7 @@ function q5(i) {
30516
30516
  }
30517
30517
  return !0;
30518
30518
  }
30519
- function Z5(i, t) {
30519
+ function Z6(i, t) {
30520
30520
  var e, n, o;
30521
30521
  const { layoutMap: r } = i.internalProps;
30522
30522
  if ((i.internalProps.autoWrapText || i.internalProps.enableLineBreak) && (i.options.heightMode === "autoHeight" || i.options.heightMode === "adaptive"))
@@ -30527,7 +30527,7 @@ function Z5(i, t) {
30527
30527
  const l = i._getCellStyle(i.rowHeaderLevelCount, t);
30528
30528
  return typeof l.padding != "function" && typeof l.fontSize != "function" && typeof l.lineHeight != "function" && l.autoWrapText !== !0;
30529
30529
  }
30530
- function J5(i, t) {
30530
+ function J6(i, t) {
30531
30531
  var e, n, o;
30532
30532
  const { layoutMap: r } = i.internalProps;
30533
30533
  if (i.internalProps.autoWrapText && (i.options.heightMode === "autoHeight" || i.options.heightMode === "adaptive"))
@@ -30538,7 +30538,7 @@ function J5(i, t) {
30538
30538
  const l = i._getCellStyle(i.rowHeaderLevelCount, t);
30539
30539
  return typeof l.padding != "function" && typeof l.fontSize != "function" && typeof l.lineHeight != "function" && l.autoWrapText !== !0;
30540
30540
  }
30541
- function Q5(i, t, e, n, o) {
30541
+ function Q6(i, t, e, n, o) {
30542
30542
  if (!n.internalProps.useOneRowHeightFillAll) {
30543
30543
  for (let r = t; r <= e; r++)
30544
30544
  o ? o[r] = i : n._setRowHeight(r, i);
@@ -30612,9 +30612,9 @@ function eN(i, t, e, n) {
30612
30612
  if (e !== "text" && e !== "link" && e !== "progressbar" && e !== "checkbox" && e !== "radio")
30613
30613
  l = R;
30614
30614
  else if (e === "checkbox")
30615
- l = V5(a, i, t, b, h, S, u, _, C, w, x, R, A, y, n);
30615
+ l = V6(a, i, t, b, h, S, u, _, C, w, x, R, A, y, n);
30616
30616
  else if (e === "radio")
30617
- l = $5(a, i, t, b, h, S, u, _, C, w, x, R, A, y, n);
30617
+ l = $6(a, i, t, b, h, S, u, _, C, w, x, R, A, y, n);
30618
30618
  else {
30619
30619
  T = a;
30620
30620
  const M = Vh(T, n).text, B = n.getColsWidth(i, b);
@@ -35565,7 +35565,7 @@ function O8(i, t) {
35565
35565
  n.rect.setAttributes(i);
35566
35566
  }), t.updateNextFrame();
35567
35567
  }
35568
- XT(), Jt.load(AN), Jt.load(G5);
35568
+ XT(), Jt.load(AN), Jt.load(G6);
35569
35569
  class z8 {
35570
35570
  constructor(t) {
35571
35571
  let e, n;
@@ -36159,7 +36159,7 @@ class z8 {
36159
36159
  row: -1
36160
36160
  };
36161
36161
  }
36162
- getResizeRowAt(t, e, n, o = w6 / 2) {
36162
+ getResizeRowAt(t, e, n, o = w5 / 2) {
36163
36163
  if (n) {
36164
36164
  let r;
36165
36165
  if (e < n.globalAABBBounds.y1 + o ? r = {
@@ -36274,7 +36274,7 @@ function W8(i, t, e) {
36274
36274
  function N8(i, t, e, n) {
36275
36275
  for (let o = 0; o < e.length; o++) {
36276
36276
  const r = e[o];
36277
- if (e6(r, {
36277
+ if (e5(r, {
36278
36278
  start: i,
36279
36279
  end: t
36280
36280
  }))
@@ -38338,7 +38338,7 @@ function z9(i) {
38338
38338
  target: (a = d == null ? void 0 : d.eventArgs) === null || a === void 0 ? void 0 : a.target,
38339
38339
  mergeCellInfo: (h = d.eventArgs) === null || h === void 0 ? void 0 : h.mergeInfo
38340
38340
  });
38341
- t6(t.stateManager.select.ranges, u, c) ? v.cells = t.getSelectedCellInfos() : v.cells = [[g]], t.fireListeners(dt.CONTEXTMENU_CELL, v);
38341
+ t5(t.stateManager.select.ranges, u, c) ? v.cells = t.getSelectedCellInfos() : v.cells = [[g]], t.fireListeners(dt.CONTEXTMENU_CELL, v);
38342
38342
  }
38343
38343
  }
38344
38344
  }), t.scenegraph.tableGroup.addEventListener("pointertap", (r) => {
@@ -38435,7 +38435,7 @@ function z9(i) {
38435
38435
  t.fireListeners(dt.CHECKBOX_STATE_CHANGE, g), t.scenegraph.updateNextFrame();
38436
38436
  }), t.scenegraph.tableGroup.addEventListener("radio_checked", (r) => {
38437
38437
  var s, l, a;
38438
- const h = zi(r), { col: d, row: u, target: c } = h.eventArgs, g = t.getCellInfo(d, u), f = (s = A5.exec(c.id)) === null || s === void 0 ? void 0 : s[1], p = Ai(t, d, u);
38438
+ const h = zi(r), { col: d, row: u, target: c } = h.eventArgs, g = t.getCellInfo(d, u), f = (s = A6.exec(c.id)) === null || s === void 0 ? void 0 : s[1], p = Ai(t, d, u);
38439
38439
  if (p)
38440
38440
  for (let y = p.start.col; y <= p.end.col; y++)
38441
38441
  for (let _ = p.start.row; _ <= p.end.row; _++)
@@ -38695,7 +38695,7 @@ function V9(i) {
38695
38695
  })
38696
38696
  })]);
38697
38697
  } else
38698
- i6.IE ? window.clipboardData.setData("Text", m) : f.clipboardData.setData("text/plain", m);
38698
+ i5.IE ? window.clipboardData.setData("Text", m) : f.clipboardData.setData("text/plain", m);
38699
38699
  t.fireListeners(dt.COPY_DATA, {
38700
38700
  cellRange: t.stateManager.select.ranges,
38701
38701
  copyData: m
@@ -41024,7 +41024,7 @@ function on(i, t) {
41024
41024
  }), i;
41025
41025
  }
41026
41026
  function hB(i, t) {
41027
- const e = m5(t, i);
41027
+ const e = m6(t, i);
41028
41028
  if (e)
41029
41029
  return e;
41030
41030
  let n = wb(i, t);
@@ -41036,7 +41036,7 @@ function hB(i, t) {
41036
41036
  }), n;
41037
41037
  }
41038
41038
  function dB(i, t) {
41039
- const e = b5(t, i);
41039
+ const e = b6(t, i);
41040
41040
  if (e)
41041
41041
  return e;
41042
41042
  let n = _b(i, t);
@@ -41765,7 +41765,7 @@ class H7 {
41765
41765
  this.timeline.clear(), this.ticker.stop();
41766
41766
  }
41767
41767
  }
41768
- const { toBoxArray: $S } = o6, { isTouchEvent: L7 } = n6, E7 = /^\$(\d+)\$(\d+)$/;
41768
+ const { toBoxArray: $S } = o5, { isTouchEvent: L7 } = n5, E7 = /^\$(\d+)\$(\d+)$/;
41769
41769
  FW();
41770
41770
  class Sf extends fd {
41771
41771
  static get EVENT_TYPE() {
@@ -41783,7 +41783,7 @@ class Sf extends fd {
41783
41783
  bottom: 0
41784
41784
  }, E && (typeof E == "number" ? (this.padding.top = E, this.padding.left = E, this.padding.bottom = E, this.padding.right = E) : (E.top && (this.padding.top = E.top), E.bottom && (this.padding.bottom = E.bottom), E.left && (this.padding.left = E.left), E.right && (this.padding.right = E.right))), z(G) && z(V) && (this.canvasSizeSeted = !0), this.tableNoFrameWidth = 0, this.tableNoFrameHeight = 0, this.canvasWidth = V, this.canvasHeight = G, this.columnWidthComputeMode = (n = e.columnWidthComputeMode) !== null && n !== void 0 ? n : "normal";
41785
41785
  const tt = this.internalProps = {};
41786
- if (P !== void 0 && (this.showFrozenIcon = P), typeof H == "number" && H <= 0 && (this.showFrozenIcon = !1), this.options.canvas ? (tt.element = this.options.canvas.parentElement, tt.element.style.position = "relative", tt.focusControl = new ES(this, tt.element), tt.canvas = this.options.canvas, tt.context = tt.canvas.getContext("2d")) : fe.mode !== "node" && (tt.element = f5(this.padding), tt.focusControl = new ES(this, tt.element), tt.canvas = document.createElement("canvas"), tt.element.appendChild(tt.canvas), tt.context = tt.canvas.getContext("2d"), !((o = e.customConfig) === null || o === void 0) && o.createReactContainer && s8(this)), tt.handler = new vf(), vt(this.options.resizeTime) && (tt.handler.resizeTime = this.options.resizeTime), tt.pixelRatio = N, tt.frozenColCount = g, tt.frozenRowCount = f, tt.defaultRowHeight = p, tt.defaultHeaderRowHeight = v ?? p, tt.defaultColWidth = m, tt.defaultHeaderColWidth = b ?? m, tt.keyboardOptions = S, tt.eventOptions = A, tt.rowSeriesNumber = T, tt.columnResizeMode = M, tt.rowResizeMode = B, tt.dragHeaderMode = F ?? "none", tt.renderChartAsync = W, Vw($), tt.overscrollBehavior = X ?? "auto", tt._rowHeightsMap = new FS(this), tt._rowRangeHeightsMap = /* @__PURE__ */ new Map(), tt._colRangeWidthsMap = /* @__PURE__ */ new Map(), tt._widthResizedColMap = /* @__PURE__ */ new Set(), tt._heightResizedRowMap = /* @__PURE__ */ new Set(), this.colWidthsMap = new Kr(), this.colContentWidthsMap = new Kr(), this.colWidthsLimit = {}, tt.calcWidthContext = {
41786
+ if (P !== void 0 && (this.showFrozenIcon = P), typeof H == "number" && H <= 0 && (this.showFrozenIcon = !1), this.options.canvas ? (tt.element = this.options.canvas.parentElement, tt.element.style.position = "relative", tt.focusControl = new ES(this, tt.element), tt.canvas = this.options.canvas, tt.context = tt.canvas.getContext("2d")) : fe.mode !== "node" && (tt.element = f6(this.padding), tt.focusControl = new ES(this, tt.element), tt.canvas = document.createElement("canvas"), tt.element.appendChild(tt.canvas), tt.context = tt.canvas.getContext("2d"), !((o = e.customConfig) === null || o === void 0) && o.createReactContainer && s8(this)), tt.handler = new vf(), vt(this.options.resizeTime) && (tt.handler.resizeTime = this.options.resizeTime), tt.pixelRatio = N, tt.frozenColCount = g, tt.frozenRowCount = f, tt.defaultRowHeight = p, tt.defaultHeaderRowHeight = v ?? p, tt.defaultColWidth = m, tt.defaultHeaderColWidth = b ?? m, tt.keyboardOptions = S, tt.eventOptions = A, tt.rowSeriesNumber = T, tt.columnResizeMode = M, tt.rowResizeMode = B, tt.dragHeaderMode = F ?? "none", tt.renderChartAsync = W, Vw($), tt.overscrollBehavior = X ?? "auto", tt._rowHeightsMap = new FS(this), tt._rowRangeHeightsMap = /* @__PURE__ */ new Map(), tt._colRangeWidthsMap = /* @__PURE__ */ new Map(), tt._widthResizedColMap = /* @__PURE__ */ new Set(), tt._heightResizedRowMap = /* @__PURE__ */ new Set(), this.colWidthsMap = new Kr(), this.colContentWidthsMap = new Kr(), this.colWidthsLimit = {}, tt.calcWidthContext = {
41787
41787
  _: tt,
41788
41788
  get full() {
41789
41789
  var it;
@@ -42014,7 +42014,7 @@ class Sf extends fd {
42014
42014
  }
42015
42015
  _adjustColWidth(t, e) {
42016
42016
  const n = this._getColWidthLimits(t);
42017
- return Math.max(C5(n, e), 0);
42017
+ return Math.max(C6(n, e), 0);
42018
42018
  }
42019
42019
  setPixelRatio(t) {
42020
42020
  if (t !== this.internalProps.pixelRatio) {
@@ -42306,7 +42306,7 @@ class Sf extends fd {
42306
42306
  const n = this.isFrozenCell(t, e);
42307
42307
  if (n && n.col && n.row)
42308
42308
  return;
42309
- const o = this.getCellRect(t, e), r = y5(this);
42309
+ const o = this.getCellRect(t, e), r = y6(this);
42310
42310
  if (r.contains(o))
42311
42311
  return;
42312
42312
  n && n.col || this.getColsWidth(0, this.frozenColCount - 1) + o.width > this.canvas.width || (o.left < r.left ? this.scrollLeft -= r.left - o.left : r.right < o.right && (this.scrollLeft -= r.right - o.right)), n && n.row || this.getRowsHeight(0, this.frozenRowCount - 1) + o.height > this.canvas.height || (o.top < r.top ? this.scrollTop -= r.top - o.top : r.bottom < o.bottom && (this.scrollTop -= r.bottom - o.bottom));
@@ -42442,7 +42442,7 @@ class Sf extends fd {
42442
42442
  const { frozenColCount: f = 0, defaultRowHeight: p = 40, defaultHeaderRowHeight: v, defaultColWidth: m = 80, defaultHeaderColWidth: b = 80, keyboardOptions: y, eventOptions: _, rowSeriesNumber: C, columnResizeMode: w, rowResizeMode: R = "none", dragHeaderMode: x, showFrozenIcon: S, allowFrozenColCount: A, padding: T, hover: M, menu: B, select: F, pixelRatio: P, widthMode: H, heightMode: E, autoFillWidth: k, autoFillHeight: L, widthAdaptiveMode: D, heightAdaptiveMode: O, customRender: N, renderChartAsync: W, renderChartAsyncBatchCount: $, overscrollBehavior: K, limitMinWidth: Y, limitMinHeight: V } = t;
42443
42443
  P && P !== this.internalProps.pixelRatio && (this.internalProps.pixelRatio = P), T && (typeof T == "number" ? (this.padding.top = T, this.padding.left = T, this.padding.bottom = T, this.padding.right = T) : (T.top && (this.padding.top = T.top), T.bottom && (this.padding.bottom = T.bottom), T.left && (this.padding.left = T.left), T.right && (this.padding.right = T.right))), this.showFrozenIcon = typeof S != "boolean" || S, typeof A == "number" && A <= 0 && (this.showFrozenIcon = !1), this.widthMode = H ?? "standard", this.heightMode = E ?? "standard", this._widthAdaptiveMode = D ?? "only-body", this._heightAdaptiveMode = O ?? "only-body", this.autoFillWidth = k != null && k, this.autoFillHeight = L != null && L, this.customRender = N;
42444
42444
  const G = this.internalProps;
42445
- if (fe.mode === "node" || t.canvas || p5(G.element, this.padding), this.columnWidthComputeMode = (e = t.columnWidthComputeMode) !== null && e !== void 0 ? e : "normal", G.frozenColCount = f, G.defaultRowHeight = p, G.defaultHeaderRowHeight = v ?? p, G.defaultColWidth = m, G.defaultHeaderColWidth = b ?? m, G.keyboardOptions = y, G.eventOptions = _, G.rowSeriesNumber = C, G.columnResizeMode = w, G.rowResizeMode = R, G.dragHeaderMode = x ?? "none", G.renderChartAsync = W, Vw($), G.overscrollBehavior = K ?? "auto", G.cellTextOverflows = {}, G._rowHeightsMap = new FS(this), G._rowRangeHeightsMap = /* @__PURE__ */ new Map(), G._colRangeWidthsMap = /* @__PURE__ */ new Map(), G._widthResizedColMap = /* @__PURE__ */ new Set(), G._heightResizedRowMap = /* @__PURE__ */ new Set(), this.colWidthsMap = new Kr(), this.colContentWidthsMap = new Kr(), this.colWidthsLimit = {}, G.stick.changedCells.clear(), G.theme = hr.of((n = t.theme) !== null && n !== void 0 ? n : hr.DEFAULT), G.theme.isPivot = this.isPivotTable(), eu(G.theme.functionalIconsStyle), this.scenegraph.updateStageBackground(), G.autoWrapText = t.autoWrapText, G.enableLineBreak = t.enableLineBreak, G.allowFrozenColCount = (o = t.allowFrozenColCount) !== null && o !== void 0 ? o : 0, G.limitMaxAutoWidth = (r = t.limitMaxAutoWidth) !== null && r !== void 0 ? r : 450, G.limitMinWidth = Y != null ? typeof Y == "number" ? Y : Y ? 10 : 0 : 10, G.limitMinHeight = V != null ? typeof V == "number" ? V : V ? 10 : 0 : 10, (s = G.legends) === null || s === void 0 || s.forEach((X) => {
42445
+ if (fe.mode === "node" || t.canvas || p6(G.element, this.padding), this.columnWidthComputeMode = (e = t.columnWidthComputeMode) !== null && e !== void 0 ? e : "normal", G.frozenColCount = f, G.defaultRowHeight = p, G.defaultHeaderRowHeight = v ?? p, G.defaultColWidth = m, G.defaultHeaderColWidth = b ?? m, G.keyboardOptions = y, G.eventOptions = _, G.rowSeriesNumber = C, G.columnResizeMode = w, G.rowResizeMode = R, G.dragHeaderMode = x ?? "none", G.renderChartAsync = W, Vw($), G.overscrollBehavior = K ?? "auto", G.cellTextOverflows = {}, G._rowHeightsMap = new FS(this), G._rowRangeHeightsMap = /* @__PURE__ */ new Map(), G._colRangeWidthsMap = /* @__PURE__ */ new Map(), G._widthResizedColMap = /* @__PURE__ */ new Set(), G._heightResizedRowMap = /* @__PURE__ */ new Set(), this.colWidthsMap = new Kr(), this.colContentWidthsMap = new Kr(), this.colWidthsLimit = {}, G.stick.changedCells.clear(), G.theme = hr.of((n = t.theme) !== null && n !== void 0 ? n : hr.DEFAULT), G.theme.isPivot = this.isPivotTable(), eu(G.theme.functionalIconsStyle), this.scenegraph.updateStageBackground(), G.autoWrapText = t.autoWrapText, G.enableLineBreak = t.enableLineBreak, G.allowFrozenColCount = (o = t.allowFrozenColCount) !== null && o !== void 0 ? o : 0, G.limitMaxAutoWidth = (r = t.limitMaxAutoWidth) !== null && r !== void 0 ? r : 450, G.limitMinWidth = Y != null ? typeof Y == "number" ? Y : Y ? 10 : 0 : 10, G.limitMinHeight = V != null ? typeof V == "number" ? V : V ? 10 : 0 : 10, (s = G.legends) === null || s === void 0 || s.forEach((X) => {
42446
42446
  X == null || X.release();
42447
42447
  }), (l = G.title) === null || l === void 0 || l.release(), G.title = null, (a = G.emptyTip) === null || a === void 0 || a.release(), G.emptyTip = null, G.layoutMap.release(), this.scenegraph.clearCells(), this.scenegraph.updateComponent(), this.stateManager.updateOptionSetState(), this._updateSize(), this.eventManager.updateEventBinder(), t.legends) {
42448
42448
  G.legends = [];
@@ -43262,7 +43262,7 @@ class Sf extends fd {
43262
43262
  (n = this.dataSource) === null || n === void 0 || n.setSortedIndexMap(t, e);
43263
43263
  }
43264
43264
  checkReactCustomLayout(t) {
43265
- this.reactCustomLayout || (this.reactCustomLayout = new w5(t, this));
43265
+ this.reactCustomLayout || (this.reactCustomLayout = new w6(t, this));
43266
43266
  }
43267
43267
  get bodyDomContainer() {
43268
43268
  return this.internalProps.bodyDomContainer;
@@ -44867,7 +44867,7 @@ class aj {
44867
44867
  cellType: (u = (d = l.cellType) !== null && d !== void 0 ? d : l.columnType) !== null && u !== void 0 ? u : "text",
44868
44868
  chartModule: "chartModule" in l ? l.chartModule : null,
44869
44869
  chartSpec: "chartSpec" in l ? l.chartSpec : null,
44870
- sparklineSpec: "sparklineSpec" in l ? l.sparklineSpec : R6,
44870
+ sparklineSpec: "sparklineSpec" in l ? l.sparklineSpec : R5,
44871
44871
  style: l.style,
44872
44872
  define: l,
44873
44873
  columnWidthComputeMode: l.columnWidthComputeMode,
@@ -45675,7 +45675,7 @@ class yB extends Sf {
45675
45675
  col: this.stateManager.hover.cellPos.col,
45676
45676
  row: this.stateManager.hover.cellPos.row
45677
45677
  };
45678
- this.internalProps.columns = _o(t, ["children"]), tu(this), this.options.columns = t, this.internalProps.headerHelper.setTableColumnsEditor(), this._hasAutoImageColumn = void 0, this.refreshHeader(), (n = (e = this.dataSource).updateColumns) === null || n === void 0 || n.call(e, this.internalProps.columns), this.records && _5(t) && this.dataSource.processRecords((r = (o = this.dataSource.dataSourceObj) === null || o === void 0 ? void 0 : o.records) !== null && r !== void 0 ? r : this.dataSource.dataSourceObj), this.internalProps.useOneRowHeightFillAll = !1, this.scenegraph.clearCells(), this.headerStyleCache = /* @__PURE__ */ new Map(), this.bodyStyleCache = /* @__PURE__ */ new Map(), this.bodyBottomStyleCache = /* @__PURE__ */ new Map(), this.scenegraph.createSceneGraph(), this.stateManager.updateHoverPos(s.col, s.row), this.renderAsync(), this.eventManager.updateEventBinder();
45678
+ this.internalProps.columns = _o(t, ["children"]), tu(this), this.options.columns = t, this.internalProps.headerHelper.setTableColumnsEditor(), this._hasAutoImageColumn = void 0, this.refreshHeader(), (n = (e = this.dataSource).updateColumns) === null || n === void 0 || n.call(e, this.internalProps.columns), this.records && _6(t) && this.dataSource.processRecords((r = (o = this.dataSource.dataSourceObj) === null || o === void 0 ? void 0 : o.records) !== null && r !== void 0 ? r : this.dataSource.dataSourceObj), this.internalProps.useOneRowHeightFillAll = !1, this.scenegraph.clearCells(), this.headerStyleCache = /* @__PURE__ */ new Map(), this.bodyStyleCache = /* @__PURE__ */ new Map(), this.bodyBottomStyleCache = /* @__PURE__ */ new Map(), this.scenegraph.createSceneGraph(), this.stateManager.updateHoverPos(s.col, s.row), this.renderAsync(), this.eventManager.updateEventBinder();
45679
45679
  }
45680
45680
  get columns() {
45681
45681
  return this.internalProps.layoutMap.columnTree.getCopiedTree();
@@ -48565,7 +48565,7 @@ function CV(i, t, e, n, o, r, s, l, a, h, d, u, c, g, f, p, v, m, b) {
48565
48565
  let xt = r, yt = s;
48566
48566
  m && (xt = m.start.col, yt = m.start.row), ie = i.getCellIcons(xt, yt);
48567
48567
  }
48568
- if (F5(ft, ie, Ut, d, ot, ht, gt, typeof lt == "number" ? lt : void 0, ft.attribute.width, ft.attribute.height, u, c, i, v, m), (St = v == null ? void 0 : v._vtable) === null || St === void 0 ? void 0 : St.marked) {
48568
+ if (F6(ft, ie, Ut, d, ot, ht, gt, typeof lt == "number" ? lt : void 0, ft.attribute.width, ft.attribute.height, u, c, i, v, m), (St = v == null ? void 0 : v._vtable) === null || St === void 0 ? void 0 : St.marked) {
48569
48569
  const xt = Gm({
48570
48570
  x: ft.attribute.width,
48571
48571
  y: 0,
@@ -48967,7 +48967,7 @@ const Lf = () => {
48967
48967
  }, Ef = () => {
48968
48968
  Dt.registerFunction("createCheckboxCellGroup", dV);
48969
48969
  }, Ff = () => {
48970
- Dt.registerFunction("createImageCellGroup", D5);
48970
+ Dt.registerFunction("createImageCellGroup", D6);
48971
48971
  }, kf = () => {
48972
48972
  Dt.registerFunction("createProgressBarCell", yV);
48973
48973
  }, If = () => {
@@ -50834,7 +50834,7 @@ class Xh {
50834
50834
  this.aggregators[t] = e;
50835
50835
  }
50836
50836
  registerAggregators() {
50837
- this.registerAggregator(Yt.RECORD, rM), this.registerAggregator(Yt.SUM, lM), this.registerAggregator(Yt.COUNT, aM), this.registerAggregator(Yt.MAX, dM), this.registerAggregator(Yt.MIN, uM), this.registerAggregator(Yt.AVG, hM), this.registerAggregator(Yt.NONE, sM), this.registerAggregator(Yt.RECALCULATE, E6);
50837
+ this.registerAggregator(Yt.RECORD, rM), this.registerAggregator(Yt.SUM, lM), this.registerAggregator(Yt.COUNT, aM), this.registerAggregator(Yt.MAX, dM), this.registerAggregator(Yt.MIN, uM), this.registerAggregator(Yt.AVG, hM), this.registerAggregator(Yt.NONE, sM), this.registerAggregator(Yt.RECALCULATE, E5);
50838
50838
  }
50839
50839
  processCollectedValuesWithSumBy() {
50840
50840
  var t, e, n, o, r, s;
@@ -51215,7 +51215,7 @@ class Xh {
51215
51215
  return n.rowHierarchyType === "grid" && a.length < n.rows.length && a[a.length - 1] !== n.rowSubTotalLabel && a[a.length - 1] !== n.rowGrandTotalLabel && a.push(n.rowSubTotalLabel), h.length < n.columns.length && h[h.length - 1] !== n.colSubTotalLabel && h[h.length - 1] !== n.colGrandTotalLabel && h.push(n.colSubTotalLabel), n.getAggregator(a, h, t.sortByIndicator).value();
51216
51216
  };
51217
51217
  return e ? wu(l(o, t.query), l(r, t.query), s) : wu(l(t.query, o), l(t.query, r), s);
51218
- } : t.sortBy ? k6(t.sortBy) : t.sortFunc ? t.sortFunc : t.sortType ? F6 : wu;
51218
+ } : t.sortBy ? k5(t.sortBy) : t.sortFunc ? t.sortFunc : t.sortType ? F5 : wu;
51219
51219
  }
51220
51220
  totalStatistics() {
51221
51221
  var t, e, n, o, r, s, l, a, h, d, u, c, g, f;
@@ -53482,7 +53482,7 @@ const t$ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
53482
53482
  DataStatistics: $7,
53483
53483
  EventTarget: fd,
53484
53484
  HeaderHighlightPlugin: qV,
53485
- InvertHighlightPlugin: z5,
53485
+ InvertHighlightPlugin: z6,
53486
53486
  ListTable: wV,
53487
53487
  ListTableSimple: SV,
53488
53488
  PIVOT_CHART_EVENT_TYPE: oB,
@@ -53509,7 +53509,7 @@ const t$ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
53509
53509
  VText: MD,
53510
53510
  clearGlobal: QV,
53511
53511
  core: F7,
53512
- data: z6,
53512
+ data: z5,
53513
53513
  getDataCellPath: VV,
53514
53514
  getIcons: JV,
53515
53515
  getTargetCell: ns,
@@ -53532,9 +53532,9 @@ const t$ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
53532
53532
  registerTooltip: Hf,
53533
53533
  registerVideoCell: Of,
53534
53534
  renderChart: Cb,
53535
- restoreMeasureText: X5,
53536
- setCustomAlphabetCharSet: Y5,
53537
- themes: B6,
53535
+ restoreMeasureText: X6,
53536
+ setCustomAlphabetCharSet: Y6,
53537
+ themes: B5,
53538
53538
  updateCell: Go,
53539
53539
  version: ZV
53540
53540
  }, Symbol.toStringTag, { value: "Module" })), ds = U2.create({
@@ -53724,7 +53724,7 @@ const i$ = Ze({
53724
53724
  const St = pt.left / (((X = I(b)) == null ? void 0 : X.widthScale) || 1) + "px", tt = (pt.top + pt.height) / (((at = I(b)) == null ? void 0 : at.heightScale) || 1) + "px";
53725
53725
  setTimeout(() => {
53726
53726
  var wt, ht;
53727
- const it = document.querySelectorAll(".ecan-range-picker-dropdown"), _t = Array.from(it).filter((ot) => window.getComputedStyle(ot).display !== "none");
53727
+ const it = document.querySelectorAll(".pivot-table-range-date-dropdown"), _t = Array.from(it).filter((ot) => window.getComputedStyle(ot).display !== "none");
53728
53728
  if (_t != null && _t.length) {
53729
53729
  const ot = document.getElementsByClassName("filter-modal")[0];
53730
53730
  _t[0].classList.add("filter-range-picker-dropdown"), (wt = ot == null ? void 0 : ot.style) == null || wt.setProperty("--range-picker-dropdown-left", St), (ht = ot == null ? void 0 : ot.style) == null || ht.setProperty("--range-picker-dropdown-top", tt), v.value = {
@@ -53956,7 +53956,7 @@ function f$(i, t, e, n, o, r) {
53956
53956
  }, null, 8, ["value", "picker", "format", "getPopupContainer"])
53957
53957
  ])) : i.dateSelectType === "range" ? (mt(), Et("div", h$, [
53958
53958
  ct(c, {
53959
- dropdownClassName: "ecan-range-picker-dropdown",
53959
+ dropdownClassName: "ecan-range-picker-dropdown pivot-table-range-date-dropdown",
53960
53960
  value: i.filterValue,
53961
53961
  "onUpdate:value": t[5] || (t[5] = (v) => i.filterValue = v),
53962
53962
  picker: i.dateType,
@@ -54018,7 +54018,7 @@ function f$(i, t, e, n, o, r) {
54018
54018
  _: 1
54019
54019
  }, 8, ["wrapClassName", "visible", "title", "bodyStyle", "getContainer", "onOk"]);
54020
54020
  }
54021
- const AB = /* @__PURE__ */ Zi(i$, [["render", f$], ["__scopeId", "data-v-09adb33c"]]);
54021
+ const AB = /* @__PURE__ */ Zi(i$, [["render", f$], ["__scopeId", "data-v-947f155b"]]);
54022
54022
  const p$ = Ze({
54023
54023
  name: "PivotProperty",
54024
54024
  props: {},
@@ -59715,6 +59715,10 @@ const mX = /* @__PURE__ */ Zi(pX, [["render", vX], ["__scopeId", "data-v-01e4c58
59715
59715
  isAllowSaveConfig: {
59716
59716
  type: Boolean,
59717
59717
  default: !0
59718
+ },
59719
+ defaultFontSize: {
59720
+ type: Number,
59721
+ default: 16
59718
59722
  }
59719
59723
  }, t0 = {
59720
59724
  LAST_DATA: "上期值",
@@ -59787,7 +59791,7 @@ const SX = Ze({
59787
59791
  IndSourceList: fX,
59788
59792
  DragArea: mX,
59789
59793
  PivotDetail: WY,
59790
- DrillModal: wX(() => import("./DrillModal-bffe6815.mjs")),
59794
+ DrillModal: wX(() => import("./DrillModal-8aa4e6e6.mjs")),
59791
59795
  SettingOutlined: hU,
59792
59796
  DatabaseOutlined: MG,
59793
59797
  ArrowsAltOutlined: cG,
@@ -59803,7 +59807,7 @@ const SX = Ze({
59803
59807
  let n = null;
59804
59808
  const o = J(!1), r = J(""), s = J({}), l = J(), a = J({}), h = J({}), d = J({}), u = J(), c = J({}), g = J(), f = J(), p = J(), v = J(), m = J(), b = J(), y = J(), _ = J(), C = J(), w = J(), R = J({}), x = J(!1), S = J({}), A = J({}), T = J({}), M = J(), B = J({}), F = J("200px"), P = J("200px"), H = J(300), E = J({}), k = J(), L = J(i.showLeftTree), D = J(!1), O = J({}), N = J(0), W = J(0), $ = J(), K = J(!1), Y = J(), V = J(25), G = J(!0), X = J({
59805
59809
  dateFormat: "YYYY-MM-DD"
59806
- }), at = J(14), pt = 40, St = 6, tt = 10, it = 15, _t = 20, wt = 24, ht = J([]);
59810
+ }), at = J(16), pt = 40, St = 6, tt = 10, it = 15, _t = 20, wt = 24, ht = J([]);
59807
59811
  let ot = `|${th(6)}|`;
59808
59812
  pn("splitSymbol", ot), pn("indicatorUrl", i.indicatorUrl), pn("indicatorToken", i.indicatorToken), pn("theme", i.theme), pn("pageId", i.pageId), pn("context", i.context), pn("graphicConfig", i.graphicConfig), pn("theDateInfo", X), pn("scaleValue", i.scaleValue), pn("getContainer", () => document.querySelector(i.modalContainer) || document.body);
59809
59813
  const gt = J({}), lt = () => {
@@ -59893,7 +59897,7 @@ const SX = Ze({
59893
59897
  left: -(Z - parseFloat(i.width)) / 2 + "px",
59894
59898
  top: -(et - parseFloat(i.height)) / 2 + "px",
59895
59899
  paddingLeft: I(V) + "px"
59896
- }, at.value = 16 * j, Q.defaultRowHeight = pt * U, Q.theme.scrollStyle.width = St * j, Q.theme.scrollStyle.scrollSliderCornerRadius = tt * j, Q.theme.tooltipStyle.fontSize = at.value, NY(t$, {
59900
+ }, at.value = i.defaultFontSize * j, Q.defaultRowHeight = pt * U, Q.theme.scrollStyle.width = St * j, Q.theme.scrollStyle.scrollSliderCornerRadius = tt * j, Q.theme.tooltipStyle.fontSize = at.value, NY(t$, {
59897
59901
  sortNotActiveColor: I(yt).sortNotActiveColor,
59898
59902
  sortActiveColor: I(yt).sortActiveColor,
59899
59903
  iconSize: it * j,
@@ -61763,7 +61767,7 @@ function HX(i, t, e, n, o, r) {
61763
61767
  }, null, 8, ["scaleValue", "isIframeMode"])
61764
61768
  ], 8, ["to", "disabled"]));
61765
61769
  }
61766
- const LX = /* @__PURE__ */ Zi(SX, [["render", HX], ["__scopeId", "data-v-6c4da1ce"]]), EX = X2(LX), aR = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
61770
+ const LX = /* @__PURE__ */ Zi(SX, [["render", HX], ["__scopeId", "data-v-3ce09276"]]), EX = X2(LX), aR = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
61767
61771
  __proto__: null,
61768
61772
  EcanPivotTable: EX
61769
61773
  }, Symbol.toStringTag, { value: "Module" })), FX = (i, t) => {
@@ -61783,4 +61787,4 @@ export {
61783
61787
  lq as i,
61784
61788
  th as n
61785
61789
  };
61786
- //# sourceMappingURL=index-02780d26.mjs.map
61790
+ //# sourceMappingURL=index-1e9eac99.mjs.map