@guiexpert/table 1.1.15 → 1.1.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -29,7 +29,7 @@ function L(c) {
29
29
  function z(c) {
30
30
  return c && c.type === "AreaModelTree";
31
31
  }
32
- function Ce(c) {
32
+ function ye(c) {
33
33
  return c && c.type === "CheckboxColumnDef";
34
34
  }
35
35
  class K {
@@ -83,7 +83,7 @@ class pe {
83
83
  this.iconAsc = e, this.iconDesc = t, this.iconPlaceholder = o;
84
84
  }
85
85
  }
86
- class ye {
86
+ class ve {
87
87
  constructor(e) {
88
88
  this.domService = e;
89
89
  }
@@ -266,7 +266,7 @@ class ye {
266
266
  }
267
267
  }
268
268
  const U = (c) => c === "header" ? "header" : c === "footer" ? "footer" : "body";
269
- class ve {
269
+ class Re {
270
270
  constructor(e, t) {
271
271
  if (this.rowIdx = -1, this.colIdx = -1, this.action = null, this.inputType = null, this.className = "", e !== null && (e instanceof HTMLDivElement || e instanceof HTMLSpanElement || e instanceof HTMLInputElement)) {
272
272
  this.className = e.className, this.action = e.getAttribute("data-ge-action"), this.inputType = e.getAttribute("data-input-type"), this.rowIdx = Number(e.getAttribute("data-row-index")), this.colIdx = Number(e.getAttribute("data-col-index"));
@@ -278,7 +278,7 @@ class ve {
278
278
  }
279
279
  }
280
280
  }
281
- class Re {
281
+ class Ae {
282
282
  constructor(e) {
283
283
  this.tableScope = e, this.doubleClickDelay = 500, this.expandedAll = !0, this.mouseDown = !1, this.dragging = !1, this.lastClicked = 0, this.tableScope.hostElement.addEventListener("click", this.onHostElementClicked.bind(this)), this.tableScope.hostElement.addEventListener("dblclick", this.onHostElementDblClicked.bind(this)), this.tableScope.hostElement.addEventListener("mousedown", this.onMouseDown.bind(this)), this.tableScope.hostElement.addEventListener("mousemove", this.onMouseMove.bind(this)), this.tableScope.hostElement.addEventListener("mouseup", this.onMouseUp.bind(this)), this.tableScope.hostElement.addEventListener("contextmenu", this.onContextmenu.bind(this)), this.tableScope.hostElement._MouseHandler = "true", this.tableScope.scrollViewport.addEventListener("scroll", this.tableScope.adjustAfterScrolling.bind(this.tableScope)), [window, this.tableScope.hostElement].forEach(
284
284
  (t) => t.addEventListener("resize", this.tableScope.adjustContainersAndRows.bind(this.tableScope))
@@ -308,7 +308,7 @@ class Re {
308
308
  if (t - this.lastClicked < this.doubleClickDelay)
309
309
  return;
310
310
  this.lastClicked = t;
311
- const o = new ve(e.target, this.tableScope);
311
+ const o = new Re(e.target, this.tableScope);
312
312
  if (o.action === "toggleExpandCollapseAll")
313
313
  this.expandedAll = !this.expandedAll, this.tableScope.toggleExpandCollapseAll(this.expandedAll), e.preventDefault(), e.stopPropagation();
314
314
  else if (o.action === "toggleHeaderGroup")
@@ -410,7 +410,7 @@ class Re {
410
410
  }
411
411
  }
412
412
  }
413
- class Ae {
413
+ class Me {
414
414
  constructor(e) {
415
415
  this.tableScope = e;
416
416
  }
@@ -670,7 +670,7 @@ class q {
670
670
  // }
671
671
  // }
672
672
  }
673
- class Me extends q {
673
+ class Ee extends q {
674
674
  constructor(e) {
675
675
  super(e), this.SCROLL_STATE = "scrollState", this.scrollOffset = [0, 0], this.load();
676
676
  }
@@ -692,14 +692,14 @@ class Me extends q {
692
692
  }
693
693
  }
694
694
  }
695
- class Ee {
695
+ class Ie {
696
696
  constructor(e = "collapsed", t = [], o = !1, s = !1) {
697
697
  this.mode = e, this.rowIds = t, this.allCollapsed = o, this.allExpanded = s;
698
698
  }
699
699
  }
700
- class Ie extends q {
700
+ class ke extends q {
701
701
  constructor(e) {
702
- super(e), this.COLLAPSED_EXPANDED_STATE = "collapsedExpandedState", this.collapsedExpandedState = new Ee(), this.load();
702
+ super(e), this.COLLAPSED_EXPANDED_STATE = "collapsedExpandedState", this.collapsedExpandedState = new Ie(), this.load();
703
703
  }
704
704
  collapsedExpandedStateGet() {
705
705
  return this.collapsedExpandedState;
@@ -731,7 +731,7 @@ class Ie extends q {
731
731
  this.checkAndPersistItem(this.COLLAPSED_EXPANDED_STATE, this.collapsedExpandedState);
732
732
  }
733
733
  }
734
- class ke extends q {
734
+ class Te extends q {
735
735
  constructor(e) {
736
736
  super(e), this.SORTING_STATE = "sortingState", this.sortItems = [], this.load();
737
737
  }
@@ -746,8 +746,7 @@ class ke extends q {
746
746
  if (e) {
747
747
  const t = e();
748
748
  if (t) {
749
- const o = t + this.SORTING_STATE;
750
- let s = this.loadFromLocalStorage(o);
749
+ const o = t + this.SORTING_STATE, s = this.loadFromLocalStorage(o);
751
750
  this.sortItems = s || [];
752
751
  }
753
752
  }
@@ -758,7 +757,7 @@ class $ {
758
757
  this.left = e, this.width = t, this.height = o, this.top = s, this.index = i;
759
758
  }
760
759
  }
761
- class Te {
760
+ class De {
762
761
  constructor(e, t, o, s) {
763
762
  this.hostElement = e, this.tableModel = t, this.dom = o, this.tableOptions = s, this.scrollTop = 0, this.areaBodyWestGeo = new $(), this.areaBodyCenterGeo = new $(), this.areaBodyEastGeo = new $();
764
763
  const i = this.hostElement;
@@ -964,7 +963,7 @@ class A {
964
963
  return e >= this.r1 && e <= this.r2 && t >= this.c1 && t <= this.c2;
965
964
  }
966
965
  }
967
- class De {
966
+ class _e {
968
967
  constructor(e, t) {
969
968
  this.tableModel = e, this.areaModel = t, this.colAndRowspanRanges = void 0;
970
969
  }
@@ -1002,7 +1001,7 @@ class T {
1002
1001
  this.header = e, this.body = t, this.footer = o;
1003
1002
  }
1004
1003
  }
1005
- class _e extends Te {
1004
+ class $e extends De {
1006
1005
  constructor(e, t, o, s) {
1007
1006
  var r, n;
1008
1007
  super(e, t, o, s), this.dragging = !1, this.editing = !1, this.storedColumnWidths = [], this.scrollLeft = 0, this.scrollViewportLeft = 0, this.scrollFactorY = 0, this.scrollFactorX = 0, this.cleanupFunctions = {
@@ -1012,7 +1011,7 @@ class _e extends Te {
1012
1011
  }, this.tree = !1, this.colAndRowspanModels = new T(), this.firstVisibleRowIndex = -1, this.draggingTargetColumnIndex = -1, this.removables = [], this.tableModel.getSelectionModel ? this.getSelectionModel = this.tableModel.getSelectionModel : (r = this.tableOptions) != null && r.getSelectionModel && (this.getSelectionModel = this.tableOptions.getSelectionModel), (n = this.tableOptions) != null && n.getFocusModel && (this.getFocusModel = this.tableOptions.getFocusModel), z(t.getAreaModel("body")) && (this.tree = !0), ["header", "body", "footer"].forEach(
1013
1012
  (l) => {
1014
1013
  var d;
1015
- this.colAndRowspanModels[l] = new De(t, t.getAreaModel(l)), (d = this.colAndRowspanModels[l]) == null || d.init();
1014
+ this.colAndRowspanModels[l] = new _e(t, t.getAreaModel(l)), (d = this.colAndRowspanModels[l]) == null || d.init();
1016
1015
  }
1017
1016
  );
1018
1017
  }
@@ -1276,36 +1275,36 @@ class _e extends Te {
1276
1275
  const C = u, y = p === h - 1, R = this.tableModel.getRowHeight(e, p);
1277
1276
  if (C + R > 0) {
1278
1277
  this.firstVisibleRowIndex = p;
1279
- let x = { left: n, width: l, height: R, top: C, index: p }, S = this.dom.addRowDiv(s, x, p, e, "center");
1278
+ let x = { left: n, width: l, height: R, top: C, index: p }, w = this.dom.addRowDiv(s, x, p, e, "center");
1280
1279
  const k = f;
1281
1280
  if (this.adjustColumnsToRowParent({
1282
1281
  areaIdent: e,
1283
1282
  sideIdent: "center",
1284
1283
  areaModel: a,
1285
1284
  geo: x,
1286
- parent: S,
1285
+ parent: w,
1287
1286
  rowIndex: p,
1288
1287
  columnIndexStart: k,
1289
1288
  columnIndexEnd: m - b - 1,
1290
1289
  verticalFixed: !1,
1291
1290
  lastRowOfModel: y
1292
- }), d.left > 0 && (x = { left: n, width: this.areaBodyWestGeo.width, height: R, top: C, index: p }, S = this.dom.addRowDiv(o, x, p, e, "west"), this.adjustColumnsToRowParent({
1291
+ }), d.left > 0 && (x = { left: n, width: this.areaBodyWestGeo.width, height: R, top: C, index: p }, w = this.dom.addRowDiv(o, x, p, e, "west"), this.adjustColumnsToRowParent({
1293
1292
  areaIdent: e,
1294
1293
  sideIdent: "west",
1295
1294
  areaModel: a,
1296
1295
  geo: x,
1297
- parent: S,
1296
+ parent: w,
1298
1297
  rowIndex: p,
1299
1298
  columnIndexStart: 0,
1300
1299
  columnIndexEnd: k - 1,
1301
1300
  verticalFixed: !0,
1302
1301
  lastRowOfModel: y
1303
- })), d.right > 0 && (x = { left: n, width: this.areaBodyEastGeo.width, height: R, top: C, index: p }, S = this.dom.addRowDiv(i, x, p, e, "east"), this.adjustColumnsToRowParent({
1302
+ })), d.right > 0 && (x = { left: n, width: this.areaBodyEastGeo.width, height: R, top: C, index: p }, w = this.dom.addRowDiv(i, x, p, e, "east"), this.adjustColumnsToRowParent({
1304
1303
  areaIdent: e,
1305
1304
  sideIdent: "east",
1306
1305
  areaModel: a,
1307
1306
  geo: x,
1308
- parent: S,
1307
+ parent: w,
1309
1308
  rowIndex: p,
1310
1309
  columnIndexStart: m - b,
1311
1310
  columnIndexEnd: m - 1,
@@ -1314,7 +1313,7 @@ class _e extends Te {
1314
1313
  })), e === "header" && this.tree && p === h - 1) {
1315
1314
  const M = this.dom.applyStyle(
1316
1315
  this.dom.setAttribute(
1317
- this.dom.addDiv(S, new $(16, 20, 20, 8)),
1316
+ this.dom.addDiv(w, new $(16, 20, 20, 8)),
1318
1317
  "data-ge-action",
1319
1318
  "toggleExpandCollapseAll"
1320
1319
  ),
@@ -1339,8 +1338,8 @@ class _e extends Te {
1339
1338
  else if (b > 0 && C.c1 >= m - b)
1340
1339
  R = i.child, x = "east";
1341
1340
  else {
1342
- const S = this.areaBodyCenterGeo.width - this.tableModel.getContentWidthInPixel();
1343
- y = this.scrollFactorX * S - this.areaBodyWestGeo.width, x = "center";
1341
+ const w = this.areaBodyCenterGeo.width - this.tableModel.getContentWidthInPixel();
1342
+ y = this.scrollFactorX * w - this.areaBodyWestGeo.width, x = "center";
1344
1343
  }
1345
1344
  this.drawBigCell(C, y, t, a, R, x);
1346
1345
  }
@@ -1455,15 +1454,15 @@ class _e extends Te {
1455
1454
  let y = s.height;
1456
1455
  const R = o.getRowspanAt(r, g), x = o.getColspanAt(r, g);
1457
1456
  R > 1 && (y = this.getRowHeights(r, r + R - 1, o).reduce((M, E) => M + E, 0));
1458
- let S = C;
1459
- x > 1 && (S = this.getColumnWidths(g, g + x - 1).reduce((M, E) => M + E, 0));
1457
+ let w = C;
1458
+ x > 1 && (w = this.getColumnWidths(g, g + x - 1).reduce((M, E) => M + E, 0));
1460
1459
  let k = !1;
1461
1460
  if (this.colAndRowspanModels && this.colAndRowspanModels[e] && (f = this.colAndRowspanModels[e]) != null && f.isInRange(r, g) && (k = !0), this.draggingTargetColumnIndex === g && e !== "header") {
1462
- this.renderDragTargetDiv(i, p, u, S, y);
1463
- const M = { left: p, top: u, width: S, height: y };
1461
+ this.renderDragTargetDiv(i, p, u, w, y);
1462
+ const M = { left: p, top: u, width: w, height: y };
1464
1463
  this.dom.addColumnBorderDivs(this.tableOptions, i, M, e, t);
1465
1464
  } else {
1466
- const M = this.renderSelectedBackgroundDiv(k, m, t, o, r, g, i, p, u, S, y);
1465
+ const M = this.renderSelectedBackgroundDiv(k, m, t, o, r, g, i, p, u, w, y);
1467
1466
  "gammaCells" in o && o.getValueAt(r, g) && (k = !1), k || this.renderCell({
1468
1467
  areaModel: o,
1469
1468
  areaIdent: e,
@@ -1472,7 +1471,7 @@ class _e extends Te {
1472
1471
  columnIndex: g,
1473
1472
  left: p,
1474
1473
  top: u,
1475
- width: S,
1474
+ width: w,
1476
1475
  height: y,
1477
1476
  parent: i,
1478
1477
  cellSelected: M,
@@ -1483,7 +1482,7 @@ class _e extends Te {
1483
1482
  columnIndex: g,
1484
1483
  cellLeft: p,
1485
1484
  cellTop: u,
1486
- cellWidth: S,
1485
+ cellWidth: w,
1487
1486
  cellHeight: y,
1488
1487
  parent: i
1489
1488
  });
@@ -1531,7 +1530,7 @@ class _e extends Te {
1531
1530
  const v = this.tableModel.getColumnDef(i);
1532
1531
  (!(v != null && v.sortIconVisible) || v != null && v.sortIconVisible()) && (C = v == null ? void 0 : v.sortState);
1533
1532
  }
1534
- const y = e.getValueAt(s, i), R = m ? "" : `${y}`, x = e.isRowChecked(s), S = this.dom.addColumnDiv(
1533
+ const y = e.getValueAt(s, i), R = m ? "" : `${y}`, x = e.isRowChecked(s), w = this.dom.addColumnDiv(
1535
1534
  {
1536
1535
  parent: a,
1537
1536
  geo: b,
@@ -1546,22 +1545,22 @@ class _e extends Te {
1546
1545
  sortState: C
1547
1546
  }
1548
1547
  ), k = e.getTooltipAt(s, i);
1549
- k && this.dom.setAttribute(S, "title", k);
1548
+ k && this.dom.setAttribute(w, "title", k);
1550
1549
  const M = this.tableModel.getColumnDef(i);
1551
- M && M.classes[t] && this.dom.addClasses(M.classes[t], S);
1550
+ M && M.classes[t] && this.dom.addClasses(M.classes[t], w);
1552
1551
  let E;
1553
- m && (E = m.render(S, s, i, t, e, y, this.dom.domService));
1552
+ m && (E = m.render(w, s, i, t, e, y, this.dom.domService));
1554
1553
  const B = e.getCustomClassesAt(s, i);
1555
- if (B.length && this.dom.addClasses(B, S), this.dom.addColumnBorderDivs(this.tableOptions, a, b, t, o), h && this.dom.addHorizontalBorder({ left: r, width: n, height: l, top: d + l }, a), this.getFocusModel && t === "body") {
1554
+ if (B.length && this.dom.addClasses(B, w), this.dom.addColumnBorderDivs(this.tableOptions, a, b, t, o), h && this.dom.addHorizontalBorder({ left: r, width: n, height: l, top: d + l }, a), this.getFocusModel && t === "body") {
1556
1555
  const v = this.getFocusModel();
1557
1556
  v != null && v.hasFocus(s, i) && this.dom.addFocusBorderDivs(a, b, {});
1558
1557
  }
1559
- t === "header" && this.dom.setAttribute(S, "data-ge-action", "drag-column");
1558
+ t === "header" && this.dom.setAttribute(w, "data-ge-action", "drag-column");
1560
1559
  const G = e.getCustomStyleAt(s, i);
1561
1560
  if (G)
1562
1561
  for (const v in G)
1563
- this.dom.setStyle(S, v, G[v]);
1564
- return [S, E];
1562
+ this.dom.setStyle(w, v, G[v]);
1563
+ return [w, E];
1565
1564
  }
1566
1565
  /**
1567
1566
  * Applies CSS classes to an HTML element.
@@ -1744,8 +1743,8 @@ class _e extends Te {
1744
1743
  R && R.classes[t] && this.dom.addClasses(R.classes[t], p), this.dom.addColumnBorderDivs(this.tableOptions, l, u, t, s);
1745
1744
  const x = i.getCustomStyleAt(d, n);
1746
1745
  if (x)
1747
- for (const S in x)
1748
- this.dom.setStyle(p, S, x[S]);
1746
+ for (const w in x)
1747
+ this.dom.setStyle(p, w, x[w]);
1749
1748
  o = o + h;
1750
1749
  }
1751
1750
  }
@@ -1880,12 +1879,12 @@ class _e extends Te {
1880
1879
  l.setAttribute(a, "data-col-index", `${t}`), l.setAttribute(a, "data-row-index", `${e}`), l.setAttribute(a, "data-area", "header"), l.setAttribute(a, "data-ge-action", "resize-column"), l.addClass(a, "ge-table-column-resize-handle"), l.setStyle(a, "display", "clip"), l.setStyle(a, "position", "absolute"), l.setStyle(a, "cursor", "col-resize"), l.setStyle(a, "left", `${o + i - d}px`), l.setStyle(a, "top", `${s}px`), l.setStyle(a, "width", `${d}px`), l.setStyle(a, "height", `${r}px`), l.appendChild(n, a);
1881
1880
  }
1882
1881
  }
1883
- class $e {
1882
+ class Oe {
1884
1883
  constructor(e, t) {
1885
1884
  this.columnIndex = e, this.sortState = t;
1886
1885
  }
1887
1886
  }
1888
- class Oe {
1887
+ class Fe {
1889
1888
  constructor(e) {
1890
1889
  this.tableScope = e, this.tableScope.hostElement.addEventListener("change", this.onHostElementChanged.bind(this));
1891
1890
  }
@@ -1907,7 +1906,7 @@ class Oe {
1907
1906
  }
1908
1907
  }
1909
1908
  }
1910
- class Fe {
1909
+ class Pe {
1911
1910
  constructor(e = -1, t = -1) {
1912
1911
  this.rowIndex = e, this.columnIndex = t;
1913
1912
  }
@@ -1917,10 +1916,10 @@ class J {
1917
1916
  this.cells = e;
1918
1917
  }
1919
1918
  static createSingle(e, t) {
1920
- return new J([new Fe(e, t)]);
1919
+ return new J([new Pe(e, t)]);
1921
1920
  }
1922
1921
  }
1923
- class Pe {
1922
+ class Le {
1924
1923
  constructor(e) {
1925
1924
  var t, o;
1926
1925
  this.tableScope = e, (t = this.tableScope.tableOptions) != null && t.getSelectionModel && (this.getSelectionModel = this.tableScope.tableOptions.getSelectionModel), (o = this.tableScope.tableOptions) != null && o.getFocusModel && (this.getFocusModel = this.tableScope.tableOptions.getFocusModel);
@@ -1930,7 +1929,7 @@ class Pe {
1930
1929
  let o = !1, s = !1;
1931
1930
  if (this.getSelectionModel && this.getFocusModel) {
1932
1931
  const u = this.getSelectionModel(), m = this.getFocusModel();
1933
- u && m && (m.hasFocus(e.rowIndex, e.columnIndex) || (m.setFocus(e.rowIndex, e.columnIndex), o = !0), (i = e.originalEvent) != null && i.shiftKey || u.hasSelection() && (u.clear(), o = !0), (r = e.originalEvent) != null && r.shiftKey && this.previousEvt ? (u.addSelection(this.createRangeByEvents(e, this.previousEvt)), s = !0, o = !0) : (n = e.originalEvent) != null && n.altKey && ((l = e.originalEvent) != null && l.ctrlKey || (d = e.originalEvent) != null && d.metaKey) ? (u.removeSelection(A.singleCell(e.rowIndex, e.columnIndex)), s = !0, o = !0) : (a = e.originalEvent) != null && a.ctrlKey || (h = e.originalEvent) != null && h.metaKey ? (u.addSelection(A.singleCell(e.rowIndex, e.columnIndex)), s = !0, o = !0) : (u.firstClick(e.rowIndex, e.columnIndex), o = !0));
1932
+ u && m && (m.hasFocus(e.rowIndex, e.columnIndex) || (m.setFocus(e.rowIndex, e.columnIndex), this.tableScope.eventListener.onFocusChanged(m), o = !0), (i = e.originalEvent) != null && i.shiftKey || u.hasSelection() && (u.clear(), o = !0), (r = e.originalEvent) != null && r.shiftKey && this.previousEvt ? (u.addSelection(this.createRangeByEvents(e, this.previousEvt)), s = !0, o = !0) : (n = e.originalEvent) != null && n.altKey && ((l = e.originalEvent) != null && l.ctrlKey || (d = e.originalEvent) != null && d.metaKey) ? (u.removeSelection(A.singleCell(e.rowIndex, e.columnIndex)), s = !0, o = !0) : (a = e.originalEvent) != null && a.ctrlKey || (h = e.originalEvent) != null && h.metaKey ? (u.addSelection(A.singleCell(e.rowIndex, e.columnIndex)), s = !0, o = !0) : (u.firstClick(e.rowIndex, e.columnIndex), o = !0), this.tableScope.eventListener.onSelectionChanged(u));
1934
1933
  }
1935
1934
  return s ? this.previousEvt = void 0 : this.previousEvt = e == null ? void 0 : e.clone(), o;
1936
1935
  }
@@ -1961,7 +1960,7 @@ class Pe {
1961
1960
  });
1962
1961
  }
1963
1962
  }
1964
- class Le {
1963
+ class He {
1965
1964
  get() {
1966
1965
  return {
1967
1966
  f2: "START_EDITING",
@@ -1981,7 +1980,7 @@ class Le {
1981
1980
  };
1982
1981
  }
1983
1982
  }
1984
- class He {
1983
+ class Ve {
1985
1984
  get() {
1986
1985
  return {
1987
1986
  f2: "START_EDITING",
@@ -2003,7 +2002,7 @@ class He {
2003
2002
  };
2004
2003
  }
2005
2004
  }
2006
- class Ve {
2005
+ class Be {
2007
2006
  constructor(e) {
2008
2007
  this.tableScope = e, this.shortcutActionIdMapping = {}, this.listener = [], this.listener.push(e), this.init();
2009
2008
  }
@@ -2024,7 +2023,7 @@ class Ve {
2024
2023
  this.assignPredefinedSystemShortcutMappings(), Object.assign(this.shortcutActionIdMapping, this.tableScope.tableOptions.shortcutActionIdMapping), this.isDebug() && console.debug("ShortcutService", this.shortcutActionIdMapping), this.tableScope.hostElement.addEventListener("keydown", this.onKeyDown.bind(this));
2025
2024
  }
2026
2025
  assignPredefinedSystemShortcutMappings() {
2027
- this.isMacintosh() ? Object.assign(this.shortcutActionIdMapping, new He().get()) : Object.assign(this.shortcutActionIdMapping, new Le().get());
2026
+ this.isMacintosh() ? Object.assign(this.shortcutActionIdMapping, new Ve().get()) : Object.assign(this.shortcutActionIdMapping, new He().get());
2028
2027
  }
2029
2028
  isMacintosh() {
2030
2029
  return navigator.platform.indexOf("Mac") > -1;
@@ -2091,8 +2090,12 @@ class oe {
2091
2090
  }
2092
2091
  onMouseMoved(e) {
2093
2092
  }
2093
+ onSelectionChanged(e) {
2094
+ }
2095
+ onFocusChanged(e) {
2096
+ }
2094
2097
  }
2095
- class Be {
2098
+ class We {
2096
2099
  setStyle(e, t, o) {
2097
2100
  return e.style[t] = o, e;
2098
2101
  }
@@ -2119,7 +2122,7 @@ class Be {
2119
2122
  e.setAttribute(t, o);
2120
2123
  }
2121
2124
  }
2122
- class We {
2125
+ class Ge {
2123
2126
  render(e, t, o, s, i, r, n) {
2124
2127
  if (i.isEditable(t, o)) {
2125
2128
  n.addClass(e, "ge-table-row-input-div");
@@ -2140,7 +2143,7 @@ class We {
2140
2143
  }
2141
2144
  }
2142
2145
  }
2143
- class Ge {
2146
+ class be {
2144
2147
  constructor(e = "none", t = "single") {
2145
2148
  this.selectionType = e, this.selectionMode = t, this.ranges = [], this.negativeRanges = [], this.allSelected = !1;
2146
2149
  }
@@ -2166,7 +2169,22 @@ class Ge {
2166
2169
  this.ranges = [], this.negativeRanges = [], this.allSelected = !1;
2167
2170
  }
2168
2171
  hasSelection() {
2169
- return !!this.ranges.length;
2172
+ return this.allSelected || !!this.ranges.length;
2173
+ }
2174
+ hasNoSelection() {
2175
+ return !this.hasSelection();
2176
+ }
2177
+ /**
2178
+ * Retrieves the merged row indices from the given range selection.
2179
+ *
2180
+ * @returns {number[]} Array of merged row indices
2181
+ */
2182
+ getMergedRowIndices() {
2183
+ const e = /* @__PURE__ */ new Set();
2184
+ for (const t of this.ranges)
2185
+ for (let o = t.r1; o <= t.r2; o++)
2186
+ !e.has(o) && !this.isInNegativeRange(o, 0) && e.add(o);
2187
+ return Array.from(e);
2170
2188
  }
2171
2189
  selectAll() {
2172
2190
  this.allSelected = !0;
@@ -2189,18 +2207,6 @@ class Ge {
2189
2207
  isSelected(e, t) {
2190
2208
  return this.getSelectionCount(e, t) > 0;
2191
2209
  }
2192
- /**
2193
- * Retrieves the merged row indices from the given range selection.
2194
- *
2195
- * @returns {number[]} Array of merged row indices
2196
- */
2197
- getMergedRowIndices() {
2198
- const e = [];
2199
- for (const t of this.ranges)
2200
- for (let o = t.r1; o <= t.r2; o++)
2201
- !e.includes(o) && !this.isInNegativeRange(o, 0) && e.push(o);
2202
- return e;
2203
- }
2204
2210
  addRange(e) {
2205
2211
  this.selectionType !== "none" && (this.allSelected = !1, this.selectionMode === "single" && (this.ranges = []), this.selectionType === "row" ? (e.c1 = 0, e.c2 = Number.MAX_SAFE_INTEGER) : this.selectionType === "column" ? (e.r1 = 0, e.r2 = Number.MAX_SAFE_INTEGER) : this.selectionType === "cell" ? (e.r2 = e.r1, e.c2 = e.c1) : this.selectionType, this.ranges.push(e));
2206
2212
  }
@@ -2242,14 +2248,14 @@ class Q {
2242
2248
  }
2243
2249
  // `⊖ `, `⊕ `;
2244
2250
  }
2245
- const ze = new Ge(), je = new Ne("cell");
2251
+ const ze = new be(), je = new Ne("cell");
2246
2252
  class j {
2247
2253
  constructor() {
2248
2254
  this.overflowX = "auto", this.overflowY = "auto", this.horizontalBorderVisible = !0, this.verticalBorderVisible = !0, this.footerSeparatorBorderVisible = !0, this.headerSeparatorBorderVisible = !0, this.fixedEastSeparatorBorderVisible = !0, this.fixedWestSeparatorBorderVisible = !0, this.tableTopBorderVisible = !0, this.tableBottomBorderVisible = !0, this.hoverRowVisible = !0, this.hoverColumnVisible = !0, this.columnsResizable = !0, this.columnsDraggable = !0, this.columnResizeHandleWidthInPx = 4, this.defaultRowHeights = {
2249
2255
  header: 34,
2250
2256
  body: 34,
2251
2257
  footer: 34
2252
- }, this.footerVerticalSeparator = !1, this.headerToggleExpandCollapseIcons = !1, this.headerVerticalSeparator = !1, this.treeOptions = new ge(), this.headerGroupOptions = new Q(), this.showCheckboxWihoutExtraColumn = !1, this.externalFilterFunction = void 0, this.sortedOptions = new pe(), this.sortOrder = ["asc", "desc"], this.getEditRenderer = (e, t) => new We(), this.getSelectionModel = () => ze, this.getFocusModel = () => je;
2258
+ }, this.footerVerticalSeparator = !1, this.headerToggleExpandCollapseIcons = !1, this.headerVerticalSeparator = !1, this.treeOptions = new ge(), this.headerGroupOptions = new Q(), this.showCheckboxWihoutExtraColumn = !1, this.externalFilterFunction = void 0, this.sortedOptions = new pe(), this.sortOrder = ["asc", "desc"], this.getEditRenderer = (e, t) => new Ge(), this.getSelectionModel = () => ze, this.getFocusModel = () => je;
2253
2259
  }
2254
2260
  }
2255
2261
  const Z = class X {
@@ -2338,19 +2344,19 @@ Z.columnSeparatorChar = " ";
2338
2344
  Z.rowSeparatorChar = `
2339
2345
  `;
2340
2346
  let se = Z;
2341
- class be extends _e {
2347
+ class fe extends $e {
2342
2348
  constructor(e, t, o, s, i, r = new se()) {
2343
2349
  var n;
2344
2350
  if (super(
2345
2351
  e,
2346
2352
  t,
2347
- new ye(o),
2353
+ new ve(o),
2348
2354
  s
2349
- ), this.eventListener = i, this.copyService = r, this.licenseManager = P.getInstance(), this.selectionService = new Pe(this), this.api = new Ae(this), this.mouseStartAction = "", this.mouseStartWidth = -1, this.mouseStartColumnIndex = -1, this.dragFrom = -1, this.dragTo = -1, this.lastDragFrom = -1, this.lastDragTo = -1, this.firstDraggingRendering = !0, i || (this.eventListener = new oe()), (n = this.tableOptions) != null && n.autoRestoreOptions) {
2355
+ ), this.eventListener = i, this.copyService = r, this.licenseManager = P.getInstance(), this.selectionService = new Le(this), this.api = new Me(this), this.mouseStartAction = "", this.mouseStartWidth = -1, this.mouseStartColumnIndex = -1, this.dragFrom = -1, this.dragTo = -1, this.lastDragFrom = -1, this.lastDragTo = -1, this.firstDraggingRendering = !0, i || (this.eventListener = new oe()), (n = this.tableOptions) != null && n.autoRestoreOptions) {
2350
2356
  const l = this.tableOptions.autoRestoreOptions, d = l.getStorageKeyFn;
2351
- d && (l.autoRestoreScrollPosition && (this.storeScrollPosStateService = new Me(d)), l.autoRestoreCollapsedExpandedState && (this.storeStateCollapsedExpandService = new Ie(d)), l.autoRestoreSortingState && (this.storeSortingService = new ke(d)));
2357
+ d && (l.autoRestoreScrollPosition && (this.storeScrollPosStateService = new Ee(d)), l.autoRestoreCollapsedExpandedState && (this.storeStateCollapsedExpandService = new ke(d)), l.autoRestoreSortingState && (this.storeSortingService = new Te(d)));
2352
2358
  }
2353
- this.mouseHandler = new Re(this), this.inputHandler = new Oe(this), this.shortcutService = new Ve(this), this.shortcutService.addListener(this.selectionService);
2359
+ this.mouseHandler = new Ae(this), this.inputHandler = new Fe(this), this.shortcutService = new Be(this), this.shortcutService.addListener(this.selectionService);
2354
2360
  }
2355
2361
  /**
2356
2362
  * Creates a TableScope instance.
@@ -2360,11 +2366,12 @@ class be extends _e {
2360
2366
  * @param {TableOptionsIf} [tableOptions=new TableOptions()] - The optional table options object.
2361
2367
  * @param {EventListenerIf} [eventListener=new EventAdapter()] - The optional event listener object.
2362
2368
  * @param {DomServiceIf} [domService=new SimpleDomService()] - The optional DOM service object.
2369
+ * @param {CopyServiceIf} [copyService=new CopyService()] - The optional copy service object.
2363
2370
  *
2364
2371
  * @return {TableScope} - The newly created TableScope instance.
2365
2372
  */
2366
- static create(e, t, o = new j(), s = new oe(), i = new Be(), r = new se()) {
2367
- return new be(
2373
+ static create(e, t, o = new j(), s = new oe(), i = new We(), r = new se()) {
2374
+ return new fe(
2368
2375
  e,
2369
2376
  t,
2370
2377
  i,
@@ -2562,7 +2569,7 @@ class be extends _e {
2562
2569
  const s = this.tableModel.getColumnDef(o);
2563
2570
  if (s != null && s.sortable && s.sortable()) {
2564
2571
  e.preventDefault(), e.stopPropagation();
2565
- const n = s.sortStatesOrder ? s.sortStatesOrder : this.tableOptions.sortOrder, l = s.sortState ?? "", d = n[(n.indexOf(l) + 1) % n.length], a = new $e(o, d);
2572
+ const n = s.sortStatesOrder ? s.sortStatesOrder : this.tableOptions.sortOrder, l = s.sortState ?? "", d = n[(n.indexOf(l) + 1) % n.length], a = new Oe(o, d);
2566
2573
  this.tableModel.doSort([a]) && ((i = this.tableModel.getColumnDefs()) == null || i.forEach((u) => u.sortState = ""), s.sortState = d), this.repaint(), (r = this.storeSortingService) == null || r.setSortItems([a]);
2567
2574
  }
2568
2575
  }
@@ -2728,10 +2735,10 @@ class be extends _e {
2728
2735
  }
2729
2736
  }
2730
2737
  }
2731
- class fe {
2738
+ class me {
2732
2739
  }
2733
- fe.themes = ["light", "combat", "paper", "blackboard"];
2734
- fe.vars = {
2740
+ me.themes = ["light", "combat", "paper", "blackboard"];
2741
+ me.vars = {
2735
2742
  light: `html[data-theme="light"] {
2736
2743
  --ge-table-bg: rgba(255,255,255, 0.5);
2737
2744
  --ge-table-header-west-bg: rgba(233, 233, 233, 0.5);
@@ -3001,14 +3008,14 @@ class H {
3001
3008
  this.header = e, this.body = t, this.footer = o;
3002
3009
  }
3003
3010
  }
3004
- class w {
3011
+ class S {
3005
3012
  constructor(e = 100, t = "px") {
3006
3013
  this.value = e, this.unit = t;
3007
3014
  }
3008
3015
  }
3009
3016
  const Xe = () => !0, re = () => !1;
3010
3017
  class V {
3011
- constructor(e, t, o = new w(100, "px"), s = new T(), i = new T(), r = new w(100, "px"), n = new w(100, "px"), l, d, a, h, u, m, b, f, g = () => this.visible) {
3018
+ constructor(e, t, o = new S(100, "px"), s = new T(), i = new T(), r = new S(100, "px"), n = new S(100, "px"), l, d, a, h, u, m, b, f, g = () => this.visible) {
3012
3019
  this.property = e, this.headerLabel = t, this.width = o, this.classes = s, this.rendererMap = i, this.minWidth = r, this.maxWidth = n, this.sortable = l, this.sortComparator = d, this.sortState = a, this.sortStatesOrder = h, this.sortIconVisible = u, this.editable = m, this.getEditRenderer = b, this.editInputPipe = f, this.isVisible = g, this.visible = !0;
3013
3020
  }
3014
3021
  static bodyRenderer(e) {
@@ -3031,11 +3038,11 @@ class V {
3031
3038
  return new V(
3032
3039
  e.property ?? "",
3033
3040
  e.headerLabel ?? "",
3034
- e.width ?? new w(100, "px"),
3041
+ e.width ?? new S(100, "px"),
3035
3042
  o,
3036
3043
  t,
3037
- e.minWidth ?? new w(100, "px"),
3038
- e.maxWidth ?? new w(100, "px"),
3044
+ e.minWidth ?? new S(100, "px"),
3045
+ e.maxWidth ?? new S(100, "px"),
3039
3046
  e.sortable,
3040
3047
  e.sortComparator,
3041
3048
  e.sortState,
@@ -3048,7 +3055,7 @@ class V {
3048
3055
  );
3049
3056
  }
3050
3057
  }
3051
- const tt = new w(300, "px"), ot = new w(290, "px"), st = new w(280, "px"), it = new w(270, "px"), rt = new w(260, "px"), lt = new w(250, "px"), nt = new w(240, "px"), at = new w(230, "px"), dt = new w(220, "px"), ht = new w(210, "px"), le = new w(200, "px"), ct = new w(190, "px"), ut = new w(180, "px"), gt = new w(170, "px"), pt = new w(160, "px"), bt = new w(150, "px"), ft = new w(140, "px"), mt = new w(130, "px"), wt = new w(120, "px"), St = new w(110, "px"), xt = new w(100, "px"), Ct = new w(90, "px"), yt = new w(80, "px"), vt = new w(70, "px"), Rt = new w(60, "px"), At = new w(50, "px"), Mt = new w(40, "px"), Et = new w(30, "px"), It = new w(20, "px"), kt = new w(10, "px"), Tt = new w(0, "px");
3058
+ const tt = new S(300, "px"), ot = new S(290, "px"), st = new S(280, "px"), it = new S(270, "px"), rt = new S(260, "px"), lt = new S(250, "px"), nt = new S(240, "px"), at = new S(230, "px"), dt = new S(220, "px"), ht = new S(210, "px"), le = new S(200, "px"), ct = new S(190, "px"), ut = new S(180, "px"), gt = new S(170, "px"), pt = new S(160, "px"), bt = new S(150, "px"), ft = new S(140, "px"), mt = new S(130, "px"), St = new S(120, "px"), wt = new S(110, "px"), xt = new S(100, "px"), Ct = new S(90, "px"), yt = new S(80, "px"), vt = new S(70, "px"), Rt = new S(60, "px"), At = new S(50, "px"), Mt = new S(40, "px"), Et = new S(30, "px"), It = new S(20, "px"), kt = new S(10, "px"), Tt = new S(0, "px");
3052
3059
  class ee {
3053
3060
  constructor(e, t = [], o = -1) {
3054
3061
  this.areaIdent = e, this.columnDefs = t, this.defaultRowHeight = o, this.rowSelectionModel = void 0, this.yPositions = [], this.cellRenderers = t.map((s) => s.rendererMap[e]);
@@ -3256,7 +3263,7 @@ class Ye {
3256
3263
  return e.parent ? e.parent.expanded ? this.isVisible(e.parent) : !1 : !0;
3257
3264
  }
3258
3265
  }
3259
- class me {
3266
+ class Se {
3260
3267
  genericSortComparator(e, t, o) {
3261
3268
  if (typeof e == "number" && typeof t == "number")
3262
3269
  return o * (e - t);
@@ -3276,7 +3283,7 @@ class me {
3276
3283
  }
3277
3284
  class ne extends ee {
3278
3285
  constructor(e, t, o, s = []) {
3279
- super(e, s, o), this.areaIdent = e, this.rows = t, this.defaultRowHeight = o, this.columnDefs = s, this.type = "AreaModelTree", this.sorterService = new me(), this.service = new Ye(), this.properties = s.map((i) => i.property), this.flattenRows = this.service.flattenTree(t), this.filteredFlattenRows = [...this.flattenRows];
3286
+ super(e, s, o), this.areaIdent = e, this.rows = t, this.defaultRowHeight = o, this.columnDefs = s, this.type = "AreaModelTree", this.sorterService = new Se(), this.service = new Ye(), this.properties = s.map((i) => i.property), this.flattenRows = this.service.flattenTree(t), this.filteredFlattenRows = [...this.flattenRows];
3280
3287
  }
3281
3288
  changeColumnOrder(e, t) {
3282
3289
  this.arrayMove(this.properties, e, t), super.changeColumnOrder(e, t);
@@ -3478,7 +3485,7 @@ class N {
3478
3485
  constructor(e, t, o, s = 0, i = 0, r = !1, n = new H(), l = [], d = [], a = -1, h = 0, u = 400, m = () => {
3479
3486
  }) {
3480
3487
  var b, f, g, p;
3481
- this.headerAreaModel = e, this.bodyAreaModel = t, this.footerAreaModel = o, this.fixedLeftColumnCount = s, this.fixedRightColumnCount = i, this.rowCheckboxVisible = r, this.defaultRowHeights = n, this.columnDefs = l, this.columnSizes = d, this.overridingColumnWidth = a, this.columnCount = h, this.parentSize = u, this.getSelectionModel = m, this.rowCount = 0, this.contentHeightInPx = 0, this.contentWidthInPx = 0, this.padding = new de(0, 0, 0, 0), this.xPositions = [], e.areaIdent = "header", t.areaIdent = "body", o.areaIdent = "footer", this.columnCount || ((b = this.columnDefs) != null && b.length ? this.columnCount = this.columnDefs.length : (f = this.columnSizes) != null && f.length && (this.columnCount = (g = this.columnSizes) == null ? void 0 : g.length)), (p = this.columnDefs) != null && p.length && Ce(this.columnDefs[0]) && !t.rowSelectionModel && (t.rowSelectionModel = new Ke());
3488
+ this.headerAreaModel = e, this.bodyAreaModel = t, this.footerAreaModel = o, this.fixedLeftColumnCount = s, this.fixedRightColumnCount = i, this.rowCheckboxVisible = r, this.defaultRowHeights = n, this.columnDefs = l, this.columnSizes = d, this.overridingColumnWidth = a, this.columnCount = h, this.parentSize = u, this.getSelectionModel = m, this.rowCount = 0, this.contentHeightInPx = 0, this.contentWidthInPx = 0, this.padding = new de(0, 0, 0, 0), this.xPositions = [], e.areaIdent = "header", t.areaIdent = "body", o.areaIdent = "footer", this.columnCount || ((b = this.columnDefs) != null && b.length ? this.columnCount = this.columnDefs.length : (f = this.columnSizes) != null && f.length && (this.columnCount = (g = this.columnSizes) == null ? void 0 : g.length)), (p = this.columnDefs) != null && p.length && ye(this.columnDefs[0]) && !t.rowSelectionModel && (t.rowSelectionModel = new Ke());
3482
3489
  }
3483
3490
  init() {
3484
3491
  this.recalcSize(this.parentSize), this.overridingColumnWidth === -1 && this.calcXPositions(), this.headerAreaModel && this.headerAreaModel.init(), this.bodyAreaModel && this.bodyAreaModel.init(), this.footerAreaModel && this.footerAreaModel.init();
@@ -3831,7 +3838,7 @@ class N {
3831
3838
  }
3832
3839
  class Ue extends ee {
3833
3840
  constructor(e, t, o, s = []) {
3834
- super(e, s, o), this.areaIdent = e, this.rows = t, this.defaultRowHeight = o, this.columnDefs = s, this.sorterService = new me(), this.filteredRows = [...t], this.properties = s.map((i) => i.property);
3841
+ super(e, s, o), this.areaIdent = e, this.rows = t, this.defaultRowHeight = o, this.columnDefs = s, this.sorterService = new Se(), this.filteredRows = [...t], this.properties = s.map((i) => i.property);
3835
3842
  }
3836
3843
  setRows(e) {
3837
3844
  this.rows = e, this.filteredRows = [...e];
@@ -3880,8 +3887,7 @@ class Ue extends ee {
3880
3887
  };
3881
3888
  }
3882
3889
  getPropertyValue(e, t) {
3883
- const o = t.shift();
3884
- let s = e[o];
3890
+ const o = t.shift(), s = e[o];
3885
3891
  return s && t.length ? this.getPropertyValue(s, t) : s;
3886
3892
  }
3887
3893
  }
@@ -4154,7 +4160,7 @@ class ce {
4154
4160
  }
4155
4161
  class Wt {
4156
4162
  constructor() {
4157
- this.type = "CheckboxColumnDef", this.property = "CheckboxColumn", this.headerLabel = "", this.width = new w(50, "px"), this.minWidth = new w(50, "px"), this.maxWidth = new w(100, "px"), this.rendererMap = new T(new ce(), new ce(), void 0), this.classes = new T(
4163
+ this.type = "CheckboxColumnDef", this.property = "CheckboxColumn", this.headerLabel = "", this.width = new S(50, "px"), this.minWidth = new S(50, "px"), this.maxWidth = new S(100, "px"), this.rendererMap = new T(new ce(), new ce(), void 0), this.classes = new T(
4158
4164
  [],
4159
4165
  ["ge-table-text-align-left"],
4160
4166
  []
@@ -4453,14 +4459,14 @@ class Xt {
4453
4459
  return !1;
4454
4460
  }
4455
4461
  }
4456
- const we = class Se {
4462
+ const we = class xe {
4457
4463
  constructor(e = new Q()) {
4458
4464
  this.headerGroupOptions = e;
4459
4465
  }
4460
4466
  render(e, t, o, s, i, r, n) {
4461
4467
  const l = r != null && r.data ? r.data : "";
4462
4468
  if (r) {
4463
- const { toggle: d, visibility: a, closed: h } = r, u = d ? Se.toggleHeaderGroup : "";
4469
+ const { toggle: d, visibility: a, closed: h } = r, u = d ? xe.toggleHeaderGroup : "";
4464
4470
  this.addText(e, s, t, o, l, u), d && a !== "always" && this.addArrowDiv(n, e, !h, t, o, s, u);
4465
4471
  } else
4466
4472
  this.addText(e, s, t, o, l, "");
@@ -4838,12 +4844,12 @@ class no {
4838
4844
  const ao = function(c, e, t) {
4839
4845
  return c ? Number(c) : "";
4840
4846
  };
4841
- class xe {
4847
+ class Ce {
4842
4848
  constructor(e) {
4843
4849
  this.options = e;
4844
4850
  }
4845
4851
  static create(e) {
4846
- return new xe(
4852
+ return new Ce(
4847
4853
  e.map((t) => new Je(t, t))
4848
4854
  );
4849
4855
  }
@@ -4872,7 +4878,55 @@ class xe {
4872
4878
  }
4873
4879
  }
4874
4880
  }
4875
- class ho {
4881
+ class ho extends be {
4882
+ constructor(e) {
4883
+ super("row", "multi"), this.model = e;
4884
+ }
4885
+ /**
4886
+ * Retrieves the selected rows from an array of all table rows.
4887
+ *
4888
+ * @param {T[]} allrows - The array of all rows from the table model.
4889
+ * @returns {T[]} - The selected rows from the given array.
4890
+ */
4891
+ getSelectedRowItems(e) {
4892
+ const t = this.getMergedRowIndices();
4893
+ return this.isAllSelected() ? e : e.filter((o, s) => t.includes(s));
4894
+ }
4895
+ /**
4896
+ * Selects the specified row.
4897
+ *
4898
+ * @param {number} rowIndex - The index of the row to be selected.
4899
+ */
4900
+ selectRow(e) {
4901
+ this.addRange(A.singleRow(e));
4902
+ }
4903
+ /**
4904
+ * Unselects the specified row.
4905
+ *
4906
+ * @param {number} rowIndex - The index of the row to be unselected.
4907
+ * @return {void}
4908
+ */
4909
+ unselectRow(e) {
4910
+ this.removeSelection(A.singleRow(e));
4911
+ }
4912
+ /**
4913
+ * Toggles the selection of items based on current selection state.
4914
+ */
4915
+ toggleSelection() {
4916
+ this.isAllSelected() ? this.clear() : this.hasNoSelection() ? this.selectAll() : this.toggleSelection();
4917
+ }
4918
+ /**
4919
+ * Toggles the selection state of a row.
4920
+ *
4921
+ * @param {number} rowIndex - The index of the row to toggle.
4922
+ *
4923
+ * @return {void}
4924
+ */
4925
+ toggleRow(e) {
4926
+ this.isSelected(e, 0) ? this.unselectRow(e) : this.selectRow(e);
4927
+ }
4928
+ }
4929
+ class co {
4876
4930
  constructor(e, t, o) {
4877
4931
  this.r = e, this.g = t, this.b = o;
4878
4932
  }
@@ -4894,7 +4948,7 @@ class W {
4894
4948
  return e < t.middleValue ? W.getTwoColorGradientRGB(e, new ue(t.minValue, t.minColor, t.middleValue, t.middleColor)) : e > t.middleValue ? W.getTwoColorGradientRGB(e, new ue(t.middleValue, t.middleColor, t.maxValue, t.maxColor)) : `rgb(${t.middleColor.r}, ${t.middleColor.g}, ${t.middleColor.b})`;
4895
4949
  }
4896
4950
  }
4897
- class co {
4951
+ class uo {
4898
4952
  constructor(e, t, o, s, i, r) {
4899
4953
  this.minValue = e, this.minColor = t, this.middleValue = o, this.middleColor = s, this.maxValue = i, this.maxColor = r;
4900
4954
  }
@@ -4906,8 +4960,8 @@ export {
4906
4960
  D as AreaModelArrayOfArrays,
4907
4961
  Yt as AreaModelCellGroups,
4908
4962
  _ as AreaModelHidden,
4963
+ Ue as AreaModelObjectArray,
4909
4964
  he as AreaModelObjectArrayWithColumndefs,
4910
- Ue as AreaModelObjectyArray,
4911
4965
  ne as AreaModelTree,
4912
4966
  T as AreaObjectMap,
4913
4967
  jt as AutoRestoreOptions,
@@ -4921,23 +4975,23 @@ export {
4921
4975
  Wt as CheckboxColumnDef,
4922
4976
  Ke as CheckboxModel,
4923
4977
  $t as ChunkData,
4924
- De as ColAndRowspanModel,
4925
- Ee as CollapsedExpandedData,
4926
- ho as ColorRgb,
4978
+ _e as ColAndRowspanModel,
4979
+ Ie as CollapsedExpandedData,
4980
+ co as ColorRgb,
4927
4981
  V as ColumnDef,
4928
- ye as ConvenienceDomService,
4982
+ ve as ConvenienceDomService,
4929
4983
  se as CopyService,
4930
- fe as CssVars,
4984
+ me as CssVars,
4931
4985
  Qt as DateToIntlDDMMYYYYCellRenderer,
4932
4986
  Jt as DateToIsoCellRenderer,
4933
4987
  Zt as DateToLocaleDateCellRenderer,
4934
4988
  so as DateToTecCellRenderer,
4935
4989
  H as DefaultRowHeights,
4936
- Te as EleScope,
4990
+ De as EleScope,
4937
4991
  oe as EventAdapter,
4938
4992
  re as FalseFn,
4939
4993
  Ne as FocusModel,
4940
- Fe as GeCellIndices,
4994
+ Pe as GeCellIndices,
4941
4995
  W as GeCssColorUtil,
4942
4996
  Kt as GeFilterService,
4943
4997
  Nt as GeKeyEvent,
@@ -4946,41 +5000,42 @@ export {
4946
5000
  $ as GeoData,
4947
5001
  O as Icon,
4948
5002
  Ot as IndexAndPx,
4949
- We as InputCellRenderer,
4950
- Oe as InputHandler,
5003
+ Ge as InputCellRenderer,
5004
+ Fe as InputHandler,
4951
5005
  P as LicenseManager,
4952
5006
  eo as MaleFemaleToIconCellRenderer,
4953
- Re as MouseHandler,
4954
- ve as MouseTargetData,
5007
+ Ae as MouseHandler,
5008
+ Re as MouseTargetData,
5009
+ ho as MultiRowsSelectionModel,
4955
5010
  to as NumberCellProgressBarCellRenderer,
4956
5011
  io as NumberCellRenderer,
4957
- He as OsxShortcutActionIdMapping,
5012
+ Ve as OsxShortcutActionIdMapping,
4958
5013
  de as Padding,
4959
5014
  no as PositiveAndNegativeNumberRenderer,
4960
5015
  lo as ProgressBarCellRenderer,
4961
- _e as RenderScope,
5016
+ $e as RenderScope,
4962
5017
  Ut as Renderer,
4963
5018
  qe as RequestChunk,
4964
- xe as SelectCellRenderer,
4965
- Ge as SelectionModel,
4966
- Pe as SelectionService,
4967
- Ve as ShortcutService,
4968
- Be as SimpleDomService,
4969
- w as Size,
4970
- $e as SortItem,
5019
+ Ce as SelectCellRenderer,
5020
+ be as SelectionModel,
5021
+ Le as SelectionService,
5022
+ Be as ShortcutService,
5023
+ We as SimpleDomService,
5024
+ S as Size,
5025
+ Oe as SortItem,
4971
5026
  pe as SortedOptions,
4972
5027
  ro as StarRatingCellRenderer,
4973
- Ie as StoreStateCollapsedExpandService,
4974
- Me as StoreStateScrollPosService,
4975
- ke as StoreStateSortingService,
4976
- Ae as TableApi,
5028
+ ke as StoreStateCollapsedExpandService,
5029
+ Ee as StoreStateScrollPosService,
5030
+ Te as StoreStateSortingService,
5031
+ Me as TableApi,
4977
5032
  zt as TableCellUpdateEvent,
4978
5033
  F as TableFactory,
4979
5034
  N as TableModel,
4980
5035
  _t as TableModelAndOptions,
4981
5036
  j as TableOptions,
4982
- be as TableScope,
4983
- co as ThreeColorGradientArg,
5037
+ fe as TableScope,
5038
+ uo as ThreeColorGradientArg,
4984
5039
  ae as TreeCheckboxModel,
4985
5040
  Y as TreeFactory,
4986
5041
  ge as TreeOptions,
@@ -4990,7 +5045,7 @@ export {
4990
5045
  Xe as TrueFn,
4991
5046
  ue as TwoColorGradientArg,
4992
5047
  Je as ValueLabel,
4993
- Le as WindowsShortcutActionIdMapping,
5048
+ He as WindowsShortcutActionIdMapping,
4994
5049
  Dt as actionIds,
4995
5050
  Vt as allCenter,
4996
5051
  Ht as allLeft,
@@ -5001,13 +5056,13 @@ export {
5001
5056
  ao as editInputPipeForNumber,
5002
5057
  U as getAreaIdentByString,
5003
5058
  z as isAreaModelTree,
5004
- Ce as isCheckboxColumnDef,
5059
+ ye as isCheckboxColumnDef,
5005
5060
  L as isTreeRow,
5006
5061
  Tt as px0,
5007
5062
  kt as px10,
5008
5063
  xt as px100,
5009
- St as px110,
5010
- wt as px120,
5064
+ wt as px110,
5065
+ St as px120,
5011
5066
  mt as px130,
5012
5067
  ft as px140,
5013
5068
  bt as px150,