@guiexpert/table 1.1.27 → 1.1.28

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
@@ -8,14 +8,14 @@ function et(c = 500) {
8
8
  }, o;
9
9
  };
10
10
  }
11
- class L {
11
+ class P {
12
12
  // The constructor is private to prevent direct construction calls
13
13
  // with the `new` operator
14
14
  constructor() {
15
15
  this.alreadySet = !1;
16
16
  }
17
17
  static getInstance() {
18
- return L.instance || (L.instance = new L()), L.instance;
18
+ return P.instance || (P.instance = new P()), P.instance;
19
19
  }
20
20
  /**
21
21
  * Method to set the license key for the application.
@@ -43,8 +43,8 @@ function ye(c) {
43
43
  return c && c.type === "CheckboxColumnDef";
44
44
  }
45
45
  class Q {
46
- constructor(e = -1, t = -1, o = -1, i = -1, s, r, l, n = 0, d = 0, a = 0, h = "") {
47
- this.rowIndex = e, this.rowTop = t, this.columnIndex = o, this.columnLeft = i, this.areaIdent = s, this.sideIdent = r, this.originalEvent = l, this.clickCount = n, this.draggingX = d, this.draggingY = a, this.action = h;
46
+ constructor(e = -1, t = -1, o = -1, i = -1, s, r, l, n = 0, a = 0, d = 0, h = "") {
47
+ this.rowIndex = e, this.rowTop = t, this.columnIndex = o, this.columnLeft = i, this.areaIdent = s, this.sideIdent = r, this.originalEvent = l, this.clickCount = n, this.draggingX = a, this.draggingY = d, this.action = h;
48
48
  }
49
49
  clone() {
50
50
  return new Q(
@@ -169,24 +169,24 @@ class ve {
169
169
  addRowDiv(e, t, o = -1, i, s, r = "") {
170
170
  const l = t.index ?? -1, n = this.getDivOrCreateDiv(l, e);
171
171
  if (this.domService.addClass(n, "ge-table-row-div"), this.domService.addClass(n, `ge-table-row-div-${t.index}`), i === "body" && s === "center") {
172
- const d = ((t == null ? void 0 : t.index) ?? 0) % 2 === 0 ? "even" : "odd";
173
- this.domService.addClass(n, `ge-table-row-${d}`);
172
+ const a = ((t == null ? void 0 : t.index) ?? 0) % 2 === 0 ? "even" : "odd";
173
+ this.domService.addClass(n, `ge-table-row-${a}`);
174
174
  }
175
175
  if (this.domService.setStyle(n, "display", "clip"), this.domService.setStyle(n, "position", "absolute"), this.domService.setStyle(n, "left", `${t.left}px`), this.domService.setStyle(n, "top", `${t.top}px`), this.domService.setStyle(n, "width", `${t.width}px`), this.domService.setStyle(n, "height", `${t.height}px`), this.domService.setAttribute(n, "data-row-index", `${o}`), this.domService.setAttribute(n, "data-area", `${i}`), r) {
176
- const d = this.domService.createText(r);
177
- this.domService.appendChild(n, d);
176
+ const a = this.domService.createText(r);
177
+ this.domService.appendChild(n, a);
178
178
  }
179
179
  return this.domService.appendChild(e.child, n), n;
180
180
  }
181
181
  addColumnDiv(e) {
182
- const { parent: t, geo: o, rowIndex: i = -1, columnIndex: s = -1, areaIdent: r, sideIdent: l, text: n = "", treeArrow: d, tableOptions: a, checkedType: h = void 0, sortState: u } = e, m = a == null ? void 0 : a.treeOptions, b = a == null ? void 0 : a.showCheckboxWihoutExtraColumn, f = this.domService.createElement("div");
182
+ const { parent: t, geo: o, rowIndex: i = -1, columnIndex: s = -1, areaIdent: r, sideIdent: l, text: n = "", treeArrow: a, tableOptions: d, checkedType: h = void 0, sortState: u } = e, m = d == null ? void 0 : d.treeOptions, b = d == null ? void 0 : d.showCheckboxWihoutExtraColumn, f = this.domService.createElement("div");
183
183
  this.domService.addClass(f, "ge-table-col-div"), b && this.domService.addClass(f, "ge-with-checkbox"), this.domService.addClass(f, `ge-table-col-div-${o.index}`), this.domService.setAttribute(f, "data-col-index", `${o.index}`), this.domService.setAttribute(f, "data-row-index", `${i}`), this.domService.setAttribute(f, "data-area", `${r}`);
184
184
  const g = ((o == null ? void 0 : o.index) ?? 0) % 2 === 0 ? "even" : "odd";
185
- if (r === "body" && l === "center" && this.domService.addClass(f, `ge-table-column-${g}`), this.domService.setStyle(f, "display", "clip"), this.domService.setStyle(f, "position", "absolute"), this.domService.setStyle(f, "left", `${o.left}px`), this.domService.setStyle(f, "top", `${o.top}px`), this.domService.setStyle(f, "width", `${o.width}px`), this.domService.setStyle(f, "height", `${o.height}px`), d && d !== "none" && (this.domService.addClass(f, "ge-table-col-tree"), this.addArrowDiv(f, d, m, i, s, r)), b && s === 0 && h && this.addCheckboxToDiv(f, h, r, i), n) {
186
- const p = d !== "none" && s === 0;
185
+ if (r === "body" && l === "center" && this.domService.addClass(f, `ge-table-column-${g}`), this.domService.setStyle(f, "display", "clip"), this.domService.setStyle(f, "position", "absolute"), this.domService.setStyle(f, "left", `${o.left}px`), this.domService.setStyle(f, "top", `${o.top}px`), this.domService.setStyle(f, "width", `${o.width}px`), this.domService.setStyle(f, "height", `${o.height}px`), a && a !== "none" && (this.domService.addClass(f, "ge-table-col-tree"), this.addArrowDiv(f, a, m, i, s, r)), b && s === 0 && h && this.addCheckboxToDiv(f, h, r, i), n) {
186
+ const p = a !== "none" && s === 0;
187
187
  this.addLabelDiv(f, n, p, i, s, r);
188
188
  }
189
- return u && this.addSortedIcon(f, u, a == null ? void 0 : a.sortedOptions, s), this.domService.appendChild(t, f), f;
189
+ return u && this.addSortedIcon(f, u, d == null ? void 0 : d.sortedOptions, s), this.domService.appendChild(t, f), f;
190
190
  }
191
191
  addCheckboxToDiv(e, t, o, i) {
192
192
  const s = this.domService.createElement("div"), r = t === "full" ? "checked" : "";
@@ -208,8 +208,8 @@ class ve {
208
208
  } else {
209
209
  const n = this.domService.createElement("div");
210
210
  this.domService.appendChild(l, n);
211
- const d = this.domService.createText(t);
212
- this.domService.addClass(n, "ge-table-label"), this.domService.appendChild(n, d), this.domService.setAttribute(n, "data-row-index", `${i}`), this.domService.setAttribute(n, "data-col-index", `${s}`), this.domService.setAttribute(n, "data-area", `${r}`);
211
+ const a = this.domService.createText(t);
212
+ this.domService.addClass(n, "ge-table-label"), this.domService.appendChild(n, a), this.domService.setAttribute(n, "data-row-index", `${i}`), this.domService.setAttribute(n, "data-col-index", `${s}`), this.domService.setAttribute(n, "data-area", `${r}`);
213
213
  }
214
214
  return this.domService.appendChild(e, l), l;
215
215
  }
@@ -220,8 +220,8 @@ class ve {
220
220
  t === "asc" ? r = o.iconAsc : t === "desc" ? r = o.iconDesc : r = o.iconPlaceholder;
221
221
  const l = r.content, n = this.domService.createText(l);
222
222
  this.domService.appendChild(s, n), r.style && this.applyStyleString(s, r.style);
223
- for (const d of r.classes)
224
- this.domService.addClass(s, d);
223
+ for (const a of r.classes)
224
+ this.domService.addClass(s, a);
225
225
  return this.domService.appendChild(e, s), s;
226
226
  }
227
227
  addArrowDiv(e, t = "none", o = new fe(), i = -1, s = -1, r = "body") {
@@ -229,8 +229,8 @@ class ve {
229
229
  this.domService.addClass(l, "ge-table-tree-arrow-div"), this.domService.setStyle(l, "display", "inline-block"), this.domService.setStyle(l, "position", ""), this.domService.setStyle(l, "width", "20px"), this.domService.setStyle(l, "background", "transparent"), this.domService.setStyle(l, "cursor", "pointer"), this.domService.setAttribute(l, "data-row-index", `${i}`), this.domService.setAttribute(l, "data-col-index", `${s}`), this.domService.setAttribute(l, "data-area", `${r}`);
230
230
  let n;
231
231
  t === "expanded" ? n = o.arrowExpanded : t === "collapsed" ? n = o.arrowCollapsed : n = o.arrowPlaceholder;
232
- const d = n.content, a = this.domService.createText(d);
233
- this.domService.appendChild(l, a), n.style && this.applyStyleString(l, n.style);
232
+ const a = n.content, d = this.domService.createText(a);
233
+ this.domService.appendChild(l, d), n.style && this.applyStyleString(l, n.style);
234
234
  for (const h of n.classes)
235
235
  this.domService.addClass(l, h);
236
236
  return this.domService.appendChild(e, l), l;
@@ -354,8 +354,8 @@ class Ae {
354
354
  const n = l.getRowByIndex(s);
355
355
  if (o && i === "body" && l.isEditable(s, r) && (this.tableScope.clearSelection(), this.tableScope.initRenderEditor(s, r)), H(n) && r === this.getArrowColumnIndex()) {
356
356
  e.preventDefault(), e.stopPropagation();
357
- const d = n;
358
- d.expanded = !d.expanded, "recalcVisibleTreeRows" in l && l.recalcVisibleTreeRows(), this.tableScope.tableModel.recalcSize(this.tableScope.hostElement.clientWidth), this.tableScope.adjustContainersAndRows(), this.updateCollapsedExpandedState(d);
357
+ const a = n;
358
+ a.expanded = !a.expanded, "recalcVisibleTreeRows" in l && l.recalcVisibleTreeRows(), this.tableScope.tableModel.recalcSize(this.tableScope.hostElement.clientWidth), this.tableScope.adjustContainersAndRows(), this.updateCollapsedExpandedState(a);
359
359
  }
360
360
  }
361
361
  }
@@ -383,8 +383,8 @@ class Ae {
383
383
  var o, i, s, r, l;
384
384
  const t = (i = (o = this.tableScope.tableOptions) == null ? void 0 : o.autoRestoreOptions) == null ? void 0 : i.getRowId;
385
385
  if (t) {
386
- const n = (s = this.tableScope.storeStateCollapsedExpandService) == null ? void 0 : s.collapsedExpandedStateGet().mode, d = n === "collapsed" && !e.expanded || n === "expanded" && e.expanded, a = n === "collapsed" && e.expanded || n === "expanded" && !e.expanded, h = t(e.data);
387
- d ? (r = this.tableScope.storeStateCollapsedExpandService) == null || r.collapsedStateIdsPush(h) : a && ((l = this.tableScope.storeStateCollapsedExpandService) == null || l.collapsedStateIdsRemove(h));
386
+ const n = (s = this.tableScope.storeStateCollapsedExpandService) == null ? void 0 : s.collapsedExpandedStateGet().mode, a = n === "collapsed" && !e.expanded || n === "expanded" && e.expanded, d = n === "collapsed" && e.expanded || n === "expanded" && !e.expanded, h = t(e.data);
387
+ a ? (r = this.tableScope.storeStateCollapsedExpandService) == null || r.collapsedStateIdsPush(h) : d && ((l = this.tableScope.storeStateCollapsedExpandService) == null || l.collapsedStateIdsRemove(h));
388
388
  }
389
389
  }
390
390
  getArrowColumnIndex() {
@@ -537,6 +537,9 @@ class Me {
537
537
  repaintHard() {
538
538
  this.tableScope.repaintHard();
539
539
  }
540
+ recalcColumnWidths(e) {
541
+ this.tableScope.recalcColumnWidths(e);
542
+ }
540
543
  /**
541
544
  * Clears the current selection of the table.
542
545
  * The table will be rendered automatically.
@@ -1020,8 +1023,8 @@ class Fe extends De {
1020
1023
  footer: []
1021
1024
  }, 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), (l = this.tableOptions) != null && l.getFocusModel && (this.getFocusModel = this.tableOptions.getFocusModel), K(t.getAreaModel("body")) && (this.tree = !0), ["header", "body", "footer"].forEach(
1022
1025
  (n) => {
1023
- var d;
1024
- this.colAndRowspanModels[n] = new _e(t, t.getAreaModel(n)), (d = this.colAndRowspanModels[n]) == null || d.init();
1026
+ var a;
1027
+ this.colAndRowspanModels[n] = new _e(t, t.getAreaModel(n)), (a = this.colAndRowspanModels[n]) == null || a.init();
1025
1028
  }
1026
1029
  );
1027
1030
  }
@@ -1087,6 +1090,17 @@ class Fe extends De {
1087
1090
  repaintHard() {
1088
1091
  this.resetSizeOfWrapperDiv(), this.adjustContainersAndRows(), this.adjustAfterScrolling();
1089
1092
  }
1093
+ /**
1094
+ * Recalculates the column widths of the table.
1095
+ *
1096
+ * @param {number} [clientWidth] - The client width of the table. If not provided, the client width of the scroll viewport will be used.
1097
+ *
1098
+ * @return {undefined}
1099
+ */
1100
+ recalcColumnWidths(e) {
1101
+ let t = e || this.scrollViewport.clientWidth;
1102
+ this.tableModel.setParentWidth(t), this.tableModel.init(), this.repaintHard();
1103
+ }
1090
1104
  /**
1091
1105
  * Adjusts the table after scrolling. This method performs various adjustments
1092
1106
  * to the table's appearance and behavior after a scroll event occurs.
@@ -1149,10 +1163,10 @@ class Fe extends De {
1149
1163
  rerenderCellContent({ area: e, rowIndex: t, columnIndex: o, value: i, cssClasses: s }) {
1150
1164
  const r = this.tableModel.getAreaModel(e), l = 'div[data-col-index="' + o + '"][data-row-index="' + t + '"][data-area="' + e + '"]', n = document.querySelector(l);
1151
1165
  if (n) {
1152
- let d;
1166
+ let a;
1153
1167
  const h = this.editorRenderer && this.editorRendererRow === t && this.editorRendererColumn === o ? this.editorRenderer : r.getCellRenderer(t, o);
1154
1168
  if (n.innerText = "", this.applyCssClasses(n, s), h)
1155
- d = h.render(n, t, o, e, r, i, this.dom.domService), d && this.cleanupFunctions[e].push(d);
1169
+ a = h.render(n, t, o, e, r, i, this.dom.domService), a && this.cleanupFunctions[e].push(a);
1156
1170
  else {
1157
1171
  const b = `${i}`;
1158
1172
  this.dom.addLabelDiv(n, b, !1, t, o, e);
@@ -1274,7 +1288,7 @@ class Fe extends De {
1274
1288
  var g;
1275
1289
  const o = this.getArea(e, "west"), i = this.getArea(e, "center"), s = this.getArea(e, "east"), r = i.child.clientHeight;
1276
1290
  o.child.innerText = "", i.child.innerText = "", s.child.innerText = "";
1277
- const l = 0, n = this.areaBodyCenterGeo.width, d = this.tableModel.getPadding(), a = this.tableModel.getAreaModel(e), h = a.getRowCount();
1291
+ const l = 0, n = this.areaBodyCenterGeo.width, a = this.tableModel.getPadding(), d = this.tableModel.getAreaModel(e), h = d.getRowCount();
1278
1292
  for (; this.cleanupFunctions[e].length; ) {
1279
1293
  const p = this.cleanupFunctions[e].shift();
1280
1294
  p && p();
@@ -1290,7 +1304,7 @@ class Fe extends De {
1290
1304
  if (this.adjustColumnsToRowParent({
1291
1305
  areaIdent: e,
1292
1306
  sideIdent: "center",
1293
- areaModel: a,
1307
+ areaModel: d,
1294
1308
  geo: x,
1295
1309
  parent: S,
1296
1310
  rowIndex: p,
@@ -1298,10 +1312,10 @@ class Fe extends De {
1298
1312
  columnIndexEnd: m - b - 1,
1299
1313
  verticalFixed: !1,
1300
1314
  lastRowOfModel: y
1301
- }), d.left > 0 && (x = { left: l, width: this.areaBodyWestGeo.width, height: R, top: C, index: p }, S = this.dom.addRowDiv(o, x, p, e, "west"), this.adjustColumnsToRowParent({
1315
+ }), a.left > 0 && (x = { left: l, width: this.areaBodyWestGeo.width, height: R, top: C, index: p }, S = this.dom.addRowDiv(o, x, p, e, "west"), this.adjustColumnsToRowParent({
1302
1316
  areaIdent: e,
1303
1317
  sideIdent: "west",
1304
- areaModel: a,
1318
+ areaModel: d,
1305
1319
  geo: x,
1306
1320
  parent: S,
1307
1321
  rowIndex: p,
@@ -1309,10 +1323,10 @@ class Fe extends De {
1309
1323
  columnIndexEnd: k - 1,
1310
1324
  verticalFixed: !0,
1311
1325
  lastRowOfModel: y
1312
- })), d.right > 0 && (x = { left: l, width: this.areaBodyEastGeo.width, height: R, top: C, index: p }, S = this.dom.addRowDiv(s, x, p, e, "east"), this.adjustColumnsToRowParent({
1326
+ })), a.right > 0 && (x = { left: l, width: this.areaBodyEastGeo.width, height: R, top: C, index: p }, S = this.dom.addRowDiv(s, x, p, e, "east"), this.adjustColumnsToRowParent({
1313
1327
  areaIdent: e,
1314
1328
  sideIdent: "east",
1315
- areaModel: a,
1329
+ areaModel: d,
1316
1330
  geo: x,
1317
1331
  parent: S,
1318
1332
  rowIndex: p,
@@ -1351,7 +1365,7 @@ class Fe extends De {
1351
1365
  const S = this.areaBodyCenterGeo.width - this.tableModel.getContentWidthInPixel();
1352
1366
  y = this.scrollFactorX * S - this.areaBodyWestGeo.width, x = "center";
1353
1367
  }
1354
- this.drawBigCell(C, y, t, a, R, x);
1368
+ this.drawBigCell(C, y, t, d, R, x);
1355
1369
  }
1356
1370
  }
1357
1371
  }
@@ -1366,10 +1380,10 @@ class Fe extends De {
1366
1380
  * @protected
1367
1381
  */
1368
1382
  drawBigCell(e, t, o, i, s, r) {
1369
- const l = o + this.getRowHeights(0, e.r1 - 1, i).reduce((g, p) => g + p, 0), n = this.tableModel.getColumnCount(), d = this.tableModel.getFixedRightColumnCount();
1370
- let a = 0;
1371
- d > 0 && e.c1 >= n - d && (a = n - d);
1372
- const h = t + this.getColumnWidths(a, e.c1 - 1).reduce((g, p) => g + p, 0), u = this.getRowHeights(e.r1, e.r2, i).reduce((g, p) => g + p, 0), m = this.getColumnWidths(e.c1, e.c2).reduce((g, p) => g + p, 0);
1383
+ const l = o + this.getRowHeights(0, e.r1 - 1, i).reduce((g, p) => g + p, 0), n = this.tableModel.getColumnCount(), a = this.tableModel.getFixedRightColumnCount();
1384
+ let d = 0;
1385
+ a > 0 && e.c1 >= n - a && (d = n - a);
1386
+ const h = t + this.getColumnWidths(d, e.c1 - 1).reduce((g, p) => g + p, 0), u = this.getRowHeights(e.r1, e.r2, i).reduce((g, p) => g + p, 0), m = this.getColumnWidths(e.c1, e.c2).reduce((g, p) => g + p, 0);
1373
1387
  let b = !1;
1374
1388
  const f = this.getSelectionModel ? this.getSelectionModel() : void 0;
1375
1389
  f && (b = f.getSelectionCount(e.r1, e.c1) > 0), e.gammaRange ? this.renderCell({
@@ -1446,13 +1460,13 @@ class Fe extends De {
1446
1460
  rowIndex: r,
1447
1461
  columnIndexStart: l,
1448
1462
  columnIndexEnd: n,
1449
- verticalFixed: d = !1,
1450
- lastRowOfModel: a = !1
1463
+ verticalFixed: a = !1,
1464
+ lastRowOfModel: d = !1
1451
1465
  }) {
1452
1466
  var f;
1453
1467
  this.scrollViewportLeft = this.scrollViewport.scrollLeft;
1454
1468
  let h = 0;
1455
- if (!d) {
1469
+ if (!a) {
1456
1470
  const g = this.areaBodyCenterGeo.width - this.tableModel.getContentWidthInPixel();
1457
1471
  h = this.scrollFactorX * g;
1458
1472
  }
@@ -1485,7 +1499,7 @@ class Fe extends De {
1485
1499
  height: y,
1486
1500
  parent: s,
1487
1501
  cellSelected: M,
1488
- lastRowOfModel: a,
1502
+ lastRowOfModel: d,
1489
1503
  gammaRange: !0
1490
1504
  }), e === "header" && this.tableOptions.columnsResizable && this.renderHeaderCellResizeHandle({
1491
1505
  rowIndex: r,
@@ -1524,12 +1538,12 @@ class Fe extends De {
1524
1538
  left: r,
1525
1539
  width: l,
1526
1540
  height: n,
1527
- top: d,
1528
- parent: a,
1541
+ top: a,
1542
+ parent: d,
1529
1543
  lastRowOfModel: h
1530
1544
  }) {
1531
1545
  var se;
1532
- const m = this.editorRenderer && this.editorRendererRow === i && this.editorRendererColumn === s ? this.editorRenderer : e.getCellRenderer(i, s), b = { left: r, width: l, height: n, top: d, index: s }, f = e.getRowByIndex(i);
1546
+ const m = this.editorRenderer && this.editorRendererRow === i && this.editorRendererColumn === s ? this.editorRenderer : e.getCellRenderer(i, s), b = { left: r, width: l, height: n, top: a, index: s }, f = e.getRowByIndex(i);
1533
1547
  let g = "none";
1534
1548
  if (s === this.getTreeArrowColumnIndex() && H(f)) {
1535
1549
  const v = f;
@@ -1542,7 +1556,7 @@ class Fe extends De {
1542
1556
  }
1543
1557
  const y = e.getValueAt(i, s), R = m ? "" : `${y}`, x = e.isRowChecked(i), S = this.dom.addColumnDiv(
1544
1558
  {
1545
- parent: a,
1559
+ parent: d,
1546
1560
  geo: b,
1547
1561
  rowIndex: i,
1548
1562
  columnIndex: s,
@@ -1561,9 +1575,9 @@ class Fe extends De {
1561
1575
  let E;
1562
1576
  m && (E = m.render(S, i, s, t, e, y, this.dom.domService));
1563
1577
  const W = e.getCustomClassesAt(i, s);
1564
- if (W.length && this.dom.addClasses(W, S), this.dom.addColumnBorderDivs(this.tableOptions, a, b, t, o), h && this.dom.addHorizontalBorder({ left: r, width: l, height: n, top: d + n }, a), this.getFocusModel && t === "body") {
1578
+ if (W.length && this.dom.addClasses(W, S), this.dom.addColumnBorderDivs(this.tableOptions, d, b, t, o), h && this.dom.addHorizontalBorder({ left: r, width: l, height: n, top: a + n }, d), this.getFocusModel && t === "body") {
1565
1579
  const v = this.getFocusModel();
1566
- v != null && v.hasFocus(i, s) && this.dom.addFocusBorderDivs(a, b, {});
1580
+ v != null && v.hasFocus(i, s) && this.dom.addFocusBorderDivs(d, b, {});
1567
1581
  }
1568
1582
  t === "header" && this.dom.setAttribute(S, "data-ge-action", "drag-column");
1569
1583
  const X = e.getCustomStyleAt(i, s);
@@ -1702,12 +1716,12 @@ class Fe extends De {
1702
1716
  if (this.dragging) {
1703
1717
  const r = this.hostElement.clientHeight, l = this.storedColumnWidths[t];
1704
1718
  if ((i = e.originalEvent) != null && i.clientX) {
1705
- const a = { left: ((s = e.originalEvent) == null ? void 0 : s.clientX) - l / 2, width: l, height: r, top: 0, index: t };
1719
+ const d = { left: ((s = e.originalEvent) == null ? void 0 : s.clientX) - l / 2, width: l, height: r, top: 0, index: t };
1706
1720
  this.dom.applyStyle(this.draggingColumn, {
1707
1721
  background: "rgba(128,128,128,0.2)",
1708
1722
  display: "block",
1709
1723
  overfllow: "clip"
1710
- }), this.dom.applyStyleInPx(this.draggingColumn, a), o && this.renderContentOfDraggingColumn(a);
1724
+ }), this.dom.applyStyleInPx(this.draggingColumn, d), o && this.renderContentOfDraggingColumn(d);
1711
1725
  }
1712
1726
  } else
1713
1727
  this.hideDraggingColumn();
@@ -1735,23 +1749,23 @@ class Fe extends De {
1735
1749
  const i = "center", s = this.tableModel.getAreaModel(t), r = s == null ? void 0 : s.getRowCount();
1736
1750
  if (r) {
1737
1751
  const l = e.index ?? 0, n = this.draggingColumn;
1738
- for (let d = 0; d < r; d++) {
1739
- const a = o, h = s.getRowHeight(d), u = { left: 0, width: e.width, height: h, top: a, index: d }, m = s.getValueAt(d, l), b = s.getCellRenderer(d, l), f = b ? "" : `${m}`, g = {
1752
+ for (let a = 0; a < r; a++) {
1753
+ const d = o, h = s.getRowHeight(a), u = { left: 0, width: e.width, height: h, top: d, index: a }, m = s.getValueAt(a, l), b = s.getCellRenderer(a, l), f = b ? "" : `${m}`, g = {
1740
1754
  parent: n,
1741
1755
  geo: u,
1742
- rowIndex: d,
1756
+ rowIndex: a,
1743
1757
  columnIndex: l,
1744
1758
  areaIdent: t,
1745
1759
  sideIdent: i,
1746
1760
  text: f
1747
1761
  }, p = this.dom.addColumnDiv(g);
1748
1762
  let C;
1749
- b && (C = b.render(p, d, l, t, s, m, this.dom.domService), C && this.cleanupFunctions[t].push(C));
1750
- const y = s.getCustomClassesAt(d, l);
1763
+ b && (C = b.render(p, a, l, t, s, m, this.dom.domService), C && this.cleanupFunctions[t].push(C));
1764
+ const y = s.getCustomClassesAt(a, l);
1751
1765
  y.length && this.dom.addClasses(y, p);
1752
1766
  const R = this.tableModel.getColumnDef(l);
1753
1767
  R && R.classes[t] && this.dom.addClasses(R.classes[t], p), this.dom.addColumnBorderDivs(this.tableOptions, n, u, t, i);
1754
- const x = s.getCustomStyleAt(d, l);
1768
+ const x = s.getCustomStyleAt(a, l);
1755
1769
  if (x)
1756
1770
  for (const S in x)
1757
1771
  this.dom.setStyle(p, S, x[S]);
@@ -1804,7 +1818,7 @@ class Fe extends De {
1804
1818
  * @param {number} height - The height of the div.
1805
1819
  * @returns {boolean} - Whether the cell is selected.
1806
1820
  */
1807
- renderSelectedBackgroundDiv(e, t, o, i, s, r, l, n, d, a, h) {
1821
+ renderSelectedBackgroundDiv(e, t, o, i, s, r, l, n, a, d, h) {
1808
1822
  let u = !1;
1809
1823
  if (!e && t && i.isSelectable(s, r) && this.getSelectionModel) {
1810
1824
  const m = this.getSelectionModel();
@@ -1816,7 +1830,7 @@ class Fe extends De {
1816
1830
  // ge-table-body-west-selected-range
1817
1831
  this.dom.createDivWithClass(`ge-table-${i.areaIdent}-${o}-selected-range`, l)
1818
1832
  );
1819
- this.dom.setStyle(g, "left", `${n}px`), this.dom.setStyle(g, "top", `${d}px`), this.dom.setStyle(g, "width", `${a}px`), this.dom.setStyle(g, "height", `${h}px`);
1833
+ this.dom.setStyle(g, "left", `${n}px`), this.dom.setStyle(g, "top", `${a}px`), this.dom.setStyle(g, "width", `${d}px`), this.dom.setStyle(g, "height", `${h}px`);
1820
1834
  }
1821
1835
  }
1822
1836
  }
@@ -1850,8 +1864,8 @@ class Fe extends De {
1850
1864
  left: r,
1851
1865
  top: l,
1852
1866
  width: n,
1853
- height: d,
1854
- parent: a,
1867
+ height: a,
1868
+ parent: d,
1855
1869
  cellSelected: h,
1856
1870
  lastRowOfModel: u
1857
1871
  }) {
@@ -1863,9 +1877,9 @@ class Fe extends De {
1863
1877
  index: s,
1864
1878
  left: r,
1865
1879
  width: n,
1866
- height: d,
1880
+ height: a,
1867
1881
  top: l,
1868
- parent: a,
1882
+ parent: d,
1869
1883
  lastRowOfModel: u
1870
1884
  });
1871
1885
  h && this.dom.addClass(`ge-table-${t}-${o}-selected-range`, m), b && this.cleanupFunctions[t].push(b);
@@ -1885,8 +1899,8 @@ class Fe extends De {
1885
1899
  * @return {void}
1886
1900
  */
1887
1901
  renderHeaderCellResizeHandle({ rowIndex: e, columnIndex: t, cellLeft: o, cellTop: i, cellWidth: s, cellHeight: r, parent: l }) {
1888
- const n = this.dom.domService, d = this.tableOptions.columnResizeHandleWidthInPx ?? 2, a = n.createElement("div");
1889
- n.setAttribute(a, "data-col-index", `${t}`), n.setAttribute(a, "data-row-index", `${e}`), n.setAttribute(a, "data-area", "header"), n.setAttribute(a, "data-ge-action", "resize-column"), n.addClass(a, "ge-table-column-resize-handle"), n.setStyle(a, "display", "clip"), n.setStyle(a, "position", "absolute"), n.setStyle(a, "cursor", "col-resize"), n.setStyle(a, "left", `${o + s - d}px`), n.setStyle(a, "top", `${i}px`), n.setStyle(a, "width", `${d}px`), n.setStyle(a, "height", `${r}px`), n.appendChild(l, a);
1902
+ const n = this.dom.domService, a = this.tableOptions.columnResizeHandleWidthInPx ?? 2, d = n.createElement("div");
1903
+ n.setAttribute(d, "data-col-index", `${t}`), n.setAttribute(d, "data-row-index", `${e}`), n.setAttribute(d, "data-area", "header"), n.setAttribute(d, "data-ge-action", "resize-column"), n.addClass(d, "ge-table-column-resize-handle"), n.setStyle(d, "display", "clip"), n.setStyle(d, "position", "absolute"), n.setStyle(d, "cursor", "col-resize"), n.setStyle(d, "left", `${o + s - a}px`), n.setStyle(d, "top", `${i}px`), n.setStyle(d, "width", `${a}px`), n.setStyle(d, "height", `${r}px`), n.appendChild(l, d);
1890
1904
  }
1891
1905
  }
1892
1906
  class $e {
@@ -1916,7 +1930,7 @@ class Oe {
1916
1930
  }
1917
1931
  }
1918
1932
  }
1919
- class Le {
1933
+ class Pe {
1920
1934
  constructor(e = -1, t = -1) {
1921
1935
  this.rowIndex = e, this.columnIndex = t;
1922
1936
  }
@@ -1926,20 +1940,20 @@ class te {
1926
1940
  this.cells = e;
1927
1941
  }
1928
1942
  static createSingle(e, t) {
1929
- return new te([new Le(e, t)]);
1943
+ return new te([new Pe(e, t)]);
1930
1944
  }
1931
1945
  }
1932
- class Pe {
1946
+ class Le {
1933
1947
  constructor(e) {
1934
1948
  var t, o;
1935
1949
  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);
1936
1950
  }
1937
1951
  onMouseClicked(e, t) {
1938
- var s, r, l, n, d, a, h;
1952
+ var s, r, l, n, a, d, h;
1939
1953
  let o = !1, i = !1;
1940
1954
  if (this.getSelectionModel && this.getFocusModel) {
1941
1955
  const u = this.getSelectionModel(), m = this.getFocusModel();
1942
- u && m && (m.hasFocus(e.rowIndex, e.columnIndex) || (m.setFocus(e.rowIndex, e.columnIndex), this.tableScope.onFocusChanged(m), o = !0), (s = e.originalEvent) != null && s.shiftKey || u.hasSelection() && (u.clear(), o = !0), (r = e.originalEvent) != null && r.shiftKey && this.previousEvt ? (u.addSelection(this.createRangeByEvents(e, this.previousEvt)), i = !0, o = !0) : (l = e.originalEvent) != null && l.altKey && ((n = e.originalEvent) != null && n.ctrlKey || (d = e.originalEvent) != null && d.metaKey) ? (u.removeSelection(A.singleCell(e.rowIndex, e.columnIndex)), i = !0, o = !0) : (a = e.originalEvent) != null && a.ctrlKey || (h = e.originalEvent) != null && h.metaKey ? (u.addSelection(A.singleCell(e.rowIndex, e.columnIndex)), i = !0, o = !0) : (u.firstClick(e.rowIndex, e.columnIndex), o = !0), this.tableScope.onSelectionChanged(u));
1956
+ u && m && (m.hasFocus(e.rowIndex, e.columnIndex) || (m.setFocus(e.rowIndex, e.columnIndex), this.tableScope.onFocusChanged(m), o = !0), (s = e.originalEvent) != null && s.shiftKey || u.hasSelection() && (u.clear(), o = !0), (r = e.originalEvent) != null && r.shiftKey && this.previousEvt ? (u.addSelection(this.createRangeByEvents(e, this.previousEvt)), i = !0, o = !0) : (l = e.originalEvent) != null && l.altKey && ((n = e.originalEvent) != null && n.ctrlKey || (a = e.originalEvent) != null && a.metaKey) ? (u.removeSelection(A.singleCell(e.rowIndex, e.columnIndex)), i = !0, o = !0) : (d = e.originalEvent) != null && d.ctrlKey || (h = e.originalEvent) != null && h.metaKey ? (u.addSelection(A.singleCell(e.rowIndex, e.columnIndex)), i = !0, o = !0) : (u.firstClick(e.rowIndex, e.columnIndex), o = !0), this.tableScope.onSelectionChanged(u));
1943
1957
  }
1944
1958
  return i ? this.previousEvt = void 0 : this.previousEvt = e == null ? void 0 : e.clone(), o;
1945
1959
  }
@@ -2296,7 +2310,7 @@ class U {
2296
2310
  }, this.footerVerticalSeparator = !1, this.headerToggleExpandCollapseIcons = !1, this.headerVerticalSeparator = !1, this.treeOptions = new fe(), this.headerGroupOptions = new oe(), this.showCheckboxWihoutExtraColumn = !1, this.externalFilterFunction = void 0, this.sortedOptions = new me(), this.sortOrder = ["asc", "desc"], this.getEditRenderer = (e, t) => new Ge(), this.getSelectionModel = () => ze, this.getFocusModel = () => je;
2297
2311
  }
2298
2312
  }
2299
- const P = class P {
2313
+ const L = class L {
2300
2314
  /**
2301
2315
  * Returns the content to be copied based on the provided table model, selection model, and focus model.
2302
2316
  *
@@ -2314,14 +2328,14 @@ const P = class P {
2314
2328
  r.c2 = Math.min(r.c2, e.getColumnCount() - 1), r.r2 = Math.min(r.r2, e.getBodyModel().getRowCount() - 1);
2315
2329
  const l = [];
2316
2330
  for (let n = r.r1; n <= r.r2; n++) {
2317
- const d = [];
2318
- for (let a = r.c1; a <= r.c2; a++) {
2319
- const h = t.isSelected(n, a) ? e.getBodyModel().getTextValueAt(n, a) : "";
2320
- d.push(h);
2331
+ const a = [];
2332
+ for (let d = r.c1; d <= r.c2; d++) {
2333
+ const h = t.isSelected(n, d) ? e.getBodyModel().getTextValueAt(n, d) : "";
2334
+ a.push(h);
2321
2335
  }
2322
- l.push(d.join(P.columnSeparatorChar));
2336
+ l.push(a.join(L.columnSeparatorChar));
2323
2337
  }
2324
- return i(l.join(P.rowSeparatorChar));
2338
+ return i(l.join(L.rowSeparatorChar));
2325
2339
  }
2326
2340
  }
2327
2341
  if (o) {
@@ -2378,15 +2392,15 @@ const P = class P {
2378
2392
  return t;
2379
2393
  }
2380
2394
  };
2381
- P.columnSeparatorChar = " ", P.rowSeparatorChar = `
2395
+ L.columnSeparatorChar = " ", L.rowSeparatorChar = `
2382
2396
  `;
2383
- let N = P;
2397
+ let N = L;
2384
2398
  class Se extends Fe {
2385
2399
  constructor(e, t, o, i, s, r = new N()) {
2386
- var d;
2387
- if (super(e, t, new ve(o), i), this.eventListener = s, this.copyService = r, this.licenseManager = L.getInstance(), this.selectionService = new Pe(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, s || (this.eventListener = new re()), (d = this.tableOptions) != null && d.autoRestoreOptions) {
2388
- const a = this.tableOptions.autoRestoreOptions, h = a.getStorageKeyFn;
2389
- h && (a.autoRestoreScrollPosition && (this.storeScrollPosStateService = new Ee(h)), a.autoRestoreCollapsedExpandedState && (this.storeStateCollapsedExpandService = new ke(h)), a.autoRestoreSortingState && (this.storeSortingService = new Te(h)));
2400
+ var a;
2401
+ if (super(e, t, new ve(o), i), this.eventListener = s, 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, s || (this.eventListener = new re()), (a = this.tableOptions) != null && a.autoRestoreOptions) {
2402
+ const d = this.tableOptions.autoRestoreOptions, h = d.getStorageKeyFn;
2403
+ h && (d.autoRestoreScrollPosition && (this.storeScrollPosStateService = new Ee(h)), d.autoRestoreCollapsedExpandedState && (this.storeStateCollapsedExpandService = new ke(h)), d.autoRestoreSortingState && (this.storeSortingService = new Te(h)));
2390
2404
  }
2391
2405
  this.mouseHandler = new Ae(this), this.inputHandler = new Oe(this), this.shortcutService = new Ve(this), this.shortcutService.addListener(this.selectionService);
2392
2406
  const l = this.getSelectionModel ? this.getSelectionModel() : void 0;
@@ -2604,8 +2618,8 @@ class Se extends Fe {
2604
2618
  const i = this.tableModel.getColumnDef(o);
2605
2619
  if (i != null && i.sortable && i.sortable()) {
2606
2620
  e.preventDefault(), e.stopPropagation();
2607
- const l = i.sortStatesOrder ? i.sortStatesOrder : this.tableOptions.sortOrder, n = i.sortState ?? "", d = l[(l.indexOf(n) + 1) % l.length], a = new $e(o, d);
2608
- this.tableModel.doSort([a]) && ((s = this.tableModel.getColumnDefs()) == null || s.forEach((u) => u.sortState = ""), i.sortState = d), this.repaint(), (r = this.storeSortingService) == null || r.setSortItems([a]);
2621
+ const l = i.sortStatesOrder ? i.sortStatesOrder : this.tableOptions.sortOrder, n = i.sortState ?? "", a = l[(l.indexOf(n) + 1) % l.length], d = new $e(o, a);
2622
+ this.tableModel.doSort([d]) && ((s = this.tableModel.getColumnDefs()) == null || s.forEach((u) => u.sortState = ""), i.sortState = a), this.repaint(), (r = this.storeSortingService) == null || r.setSortItems([d]);
2609
2623
  }
2610
2624
  }
2611
2625
  /**
@@ -2752,16 +2766,16 @@ class Se extends Fe {
2752
2766
  const s = this.storeStateCollapsedExpandService.collapsedExpandedStateGet(), r = this.tableModel.getAreaModel("body");
2753
2767
  if (K(r)) {
2754
2768
  const l = r, n = r.getRowCount();
2755
- for (let d = 0; d < n; d++) {
2756
- const a = r.getRowByIndex(d);
2757
- if (a)
2769
+ for (let a = 0; a < n; a++) {
2770
+ const d = r.getRowByIndex(a);
2771
+ if (d)
2758
2772
  if (s.allExpanded)
2759
- a.expanded = !0;
2773
+ d.expanded = !0;
2760
2774
  else if (s.allCollapsed)
2761
- a.expanded = !1;
2775
+ d.expanded = !1;
2762
2776
  else {
2763
- const h = i(a.data);
2764
- s.mode === "expanded" ? a.expanded = this.storeStateCollapsedExpandService.collapsedExpandedStateIncludes(h) : s.mode === "collapsed" && (a.expanded = !this.storeStateCollapsedExpandService.collapsedExpandedStateIncludes(h));
2777
+ const h = i(d.data);
2778
+ s.mode === "expanded" ? d.expanded = this.storeStateCollapsedExpandService.collapsedExpandedStateIncludes(h) : s.mode === "collapsed" && (d.expanded = !this.storeStateCollapsedExpandService.collapsedExpandedStateIncludes(h));
2765
2779
  }
2766
2780
  }
2767
2781
  l.recalcVisibleTreeRows();
@@ -3026,11 +3040,11 @@ class q {
3026
3040
  const r = e[t];
3027
3041
  if (r)
3028
3042
  for (const n of r) {
3029
- const d = new le(n, !0, [], o, i + 1);
3030
- if ((l = o.children) == null || l.push(d), q.buildTreeRow(
3043
+ const a = new le(n, !0, [], o, i + 1);
3044
+ if ((l = o.children) == null || l.push(a), q.buildTreeRow(
3031
3045
  n,
3032
3046
  t,
3033
- d,
3047
+ a,
3034
3048
  i + 1
3035
3049
  ), i > s)
3036
3050
  return console.warn("Max deep limit reached: ", i), o;
@@ -3050,8 +3064,8 @@ class w {
3050
3064
  }
3051
3065
  const Xe = () => !0, ae = () => !1;
3052
3066
  class V {
3053
- constructor(e, t, o = new w(100, "px"), i = new T(), s = new T(), r = new w(100, "px"), l = new w(100, "px"), n, d, a, h, u, m, b, f, g = () => this.visible) {
3054
- this.property = e, this.headerLabel = t, this.width = o, this.classes = i, this.rendererMap = s, this.minWidth = r, this.maxWidth = l, this.sortable = n, 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;
3067
+ constructor(e, t, o = new w(100, "px"), i = new T(), s = new T(), r = new w(100, "px"), l = new w(100, "px"), n, a, d, h, u, m, b, f, g = () => this.visible) {
3068
+ this.property = e, this.headerLabel = t, this.width = o, this.classes = i, this.rendererMap = s, this.minWidth = r, this.maxWidth = l, this.sortable = n, this.sortComparator = a, this.sortState = d, this.sortStatesOrder = h, this.sortIconVisible = u, this.editable = m, this.getEditRenderer = b, this.editInputPipe = f, this.isVisible = g, this.visible = !0, o.unit !== "px" && (this.minWidth = new w(0, "px"), this.maxWidth = new w(1e5, "px"));
3055
3069
  }
3056
3070
  static bodyRenderer(e) {
3057
3071
  return new T(
@@ -3517,14 +3531,17 @@ class Ke {
3517
3531
  }
3518
3532
  }
3519
3533
  class Y {
3520
- constructor(e, t, o, i = 0, s = 0, r = !1, l = new B(), n = [], d = [], a = -1, h = 0, u = 400, m = () => {
3534
+ constructor(e, t, o, i = 0, s = 0, r = !1, l = new B(), n = [], a = [], d = -1, h = 0, u = 400, m = () => {
3521
3535
  }) {
3522
3536
  var b, f, g, p;
3523
- this.headerAreaModel = e, this.bodyAreaModel = t, this.footerAreaModel = o, this.fixedLeftColumnCount = i, this.fixedRightColumnCount = s, this.rowCheckboxVisible = r, this.defaultRowHeights = l, this.columnDefs = n, 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 ue(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());
3537
+ this.headerAreaModel = e, this.bodyAreaModel = t, this.footerAreaModel = o, this.fixedLeftColumnCount = i, this.fixedRightColumnCount = s, this.rowCheckboxVisible = r, this.defaultRowHeights = l, this.columnDefs = n, this.columnSizes = a, this.overridingColumnWidth = d, this.columnCount = h, this.parentSize = u, this.getSelectionModel = m, this.rowCount = 0, this.contentHeightInPx = 0, this.contentWidthInPx = 0, this.padding = new ue(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());
3524
3538
  }
3525
3539
  init() {
3526
3540
  this.recalcSize(this.parentSize), this.overridingColumnWidth === -1 && this.calcXPositions(), this.headerAreaModel && this.headerAreaModel.init(), this.bodyAreaModel && this.bodyAreaModel.init(), this.footerAreaModel && this.footerAreaModel.init();
3527
3541
  }
3542
+ setParentWidth(e) {
3543
+ this.parentSize = e;
3544
+ }
3528
3545
  /**
3529
3546
  * Retrieves the count of columns in the current instance.
3530
3547
  *
@@ -3572,7 +3589,7 @@ class Y {
3572
3589
  * @return {void} - This method does not return a value.
3573
3590
  */
3574
3591
  recalcSize(e) {
3575
- this.recalcColumnWidthes(e), this.recalcHeightAndPadding();
3592
+ this.recalcColumnWidths(e), this.recalcHeightAndPadding();
3576
3593
  }
3577
3594
  /**
3578
3595
  * Recalculates the height and padding for the body area.
@@ -3839,23 +3856,49 @@ class Y {
3839
3856
  var o, i, s;
3840
3857
  this.arrayMove(this.columnDefs, e, t), this.arrayMove(this.columnSizes, e, t), (o = this.headerAreaModel) == null || o.changeColumnOrder(e, t), (i = this.bodyAreaModel) == null || i.changeColumnOrder(e, t), (s = this.footerAreaModel) == null || s.changeColumnOrder(e, t), this.calcXPositions();
3841
3858
  }
3842
- recalcColumnWidthes(e) {
3859
+ recalcColumnWidths(e) {
3843
3860
  var t, o, i;
3844
- !((t = this.columnDefs) != null && t.length) && !((o = this.columnSizes) != null && o.length) && (this.columnSizes = new Array(this.getColumnCount()).fill(this.overridingColumnWidth)), (i = this.columnDefs) != null && i.length && (this.columnSizes = this.columnDefs.map((s) => {
3845
- if (s.width.unit === "%" && e) {
3846
- let r = Math.floor(s.width.value * e / 100);
3847
- if (s.minWidth) {
3848
- const l = s.minWidth.unit === "px" ? s.minWidth.value : Math.floor(s.minWidth.value * e / 100);
3849
- r = Math.max(l, r);
3850
- }
3851
- if (s.maxWidth) {
3852
- const l = s.maxWidth.unit === "px" ? s.maxWidth.value : Math.floor(s.maxWidth.value * e / 100);
3853
- r = Math.min(l, r);
3861
+ if (!((t = this.columnDefs) != null && t.length) && !((o = this.columnSizes) != null && o.length) && (this.columnSizes = new Array(this.getColumnCount()).fill(this.overridingColumnWidth)), (i = this.columnDefs) != null && i.length) {
3862
+ const s = this.columnDefs.filter((n) => {
3863
+ var a;
3864
+ return ((a = n.width) == null ? void 0 : a.unit) === "weight";
3865
+ });
3866
+ this.columnSizes = this.columnDefs.map((n) => {
3867
+ if (n.width.unit === "%" && e) {
3868
+ let a = Math.floor(n.width.value * e / 100);
3869
+ if (n.minWidth) {
3870
+ const d = this.sizeToPixel(n.minWidth, e);
3871
+ a = Math.max(d, a);
3872
+ }
3873
+ if (n.maxWidth) {
3874
+ const d = this.sizeToPixel(n.maxWidth, e);
3875
+ a = Math.min(d, a);
3876
+ }
3877
+ return a;
3878
+ } else if (n.width.unit === "px" && e)
3879
+ return n.width.value;
3880
+ return 0;
3881
+ });
3882
+ const r = this.columnSizes.reduce((n, a) => n + a), l = e - r;
3883
+ if (l > 0 && s.length) {
3884
+ const n = s.map((a) => a.width.value).reduce((a, d) => a + d);
3885
+ for (let a = 0; a < this.columnDefs.length; a++) {
3886
+ const d = this.columnDefs[a];
3887
+ d.width.unit === "weight" && (this.columnSizes[a] = d.width.value * l / n);
3854
3888
  }
3855
- return r;
3856
3889
  }
3857
- return s.width.value;
3858
- }));
3890
+ }
3891
+ }
3892
+ /**
3893
+ * Converts the given `SizeIf` object to pixel units based on the provided `clientWidth`.
3894
+ * The given `SizeIf` must have the uniit '%' or 'px'.
3895
+ *
3896
+ * @param {SizeIf} width - The size object to be converted.
3897
+ * @param {number} clientWidth - The width of the client area in pixels.
3898
+ * @return {number} - The converted size value in pixels. returns -1 if unit is not '%' or 'px'.
3899
+ */
3900
+ sizeToPixel(e, t) {
3901
+ return e.unit === "px" ? e.value : e.unit === "%" ? Math.floor(e.value * t / 100) : -1;
3859
3902
  }
3860
3903
  arrayMove(e, t, o) {
3861
3904
  const i = e.splice(t, 1)[0];
@@ -3938,7 +3981,7 @@ class ge extends Ue {
3938
3981
  }
3939
3982
  class O {
3940
3983
  static createTableModel(e) {
3941
- var t, o, i, s, r, l, n, d, a, h, u, m, b, f;
3984
+ var t, o, i, s, r, l, n, a, d, h, u, m, b, f;
3942
3985
  if (e.defaultRowHeights === void 0)
3943
3986
  if ((t = e.tableOptions) != null && t.defaultRowHeights)
3944
3987
  e.defaultRowHeights = e.tableOptions.defaultRowHeights;
@@ -3956,12 +3999,12 @@ class O {
3956
3999
  g > -1 && (e.defaultRowHeights.footer = g);
3957
4000
  }
3958
4001
  }
3959
- if (e.columnDefs === void 0 && ((o = e.properties) != null && o.length ? e.columnDefs = e.properties.map((g) => new V(g, g.toUpperCase(), de)) : (i = e.rows) != null && i.length ? e.columnDefs = Object.keys(e.rows[0]).map((g) => new V(g, g.toUpperCase(), de)) : e.columnDefs = []), e.columnCount === void 0 && ((s = e.columnDefs) != null && s.length ? e.columnCount = e.columnDefs.length : (r = e.headerData) != null && r.length ? e.columnCount = e.headerData[0].length : (l = e.columnSizes) != null && l.length ? e.columnCount = (n = e.columnSizes) == null ? void 0 : n.length : console.warn('Property "columnCount" is missing and cannot be derived from other properties.')), e.headerAreaModel || ((d = e.headerData) != null && d.length ? e.headerAreaModel = new D(
4002
+ if (e.columnDefs === void 0 && ((o = e.properties) != null && o.length ? e.columnDefs = e.properties.map((g) => new V(g, g.toUpperCase(), de)) : (i = e.rows) != null && i.length ? e.columnDefs = Object.keys(e.rows[0]).map((g) => new V(g, g.toUpperCase(), de)) : e.columnDefs = []), e.columnCount === void 0 && ((s = e.columnDefs) != null && s.length ? e.columnCount = e.columnDefs.length : (r = e.headerData) != null && r.length ? e.columnCount = e.headerData[0].length : (l = e.columnSizes) != null && l.length ? e.columnCount = (n = e.columnSizes) == null ? void 0 : n.length : console.warn('Property "columnCount" is missing and cannot be derived from other properties.')), e.headerAreaModel || ((a = e.headerData) != null && a.length ? e.headerAreaModel = new D(
3960
4003
  "header",
3961
4004
  e.headerData,
3962
4005
  e.defaultRowHeights.header,
3963
4006
  e.columnDefs
3964
- ) : (a = e.columnDefs) != null && a.length ? e.headerAreaModel = new D(
4007
+ ) : (d = e.columnDefs) != null && d.length ? e.headerAreaModel = new D(
3965
4008
  "header",
3966
4009
  [e.columnDefs.map((g) => g.headerLabel)],
3967
4010
  e.defaultRowHeights.header,
@@ -4022,15 +4065,15 @@ class O {
4022
4065
  static buildByTypedRows(e, t, o = new U(), i = 0, s = 0) {
4023
4066
  const r = o.defaultRowHeights, l = t[0].property === "CheckboxColumn";
4024
4067
  if (e != null && e.length && H(e[0])) {
4025
- const n = e, d = new he(
4068
+ const n = e, a = new he(
4026
4069
  "body",
4027
4070
  n,
4028
4071
  r.body,
4029
4072
  t
4030
4073
  );
4031
- return (l || o.showCheckboxWihoutExtraColumn) && (d.rowSelectionModel = new ce(n)), O.createByAreaModelsParam({
4032
- headerAreaModel: new D("header", [t.map((a) => a.headerLabel)], r.header),
4033
- bodyAreaModel: d,
4074
+ return (l || o.showCheckboxWihoutExtraColumn) && (a.rowSelectionModel = new ce(n)), O.createByAreaModelsParam({
4075
+ headerAreaModel: new D("header", [t.map((d) => d.headerLabel)], r.header),
4076
+ bodyAreaModel: a,
4034
4077
  footerAreaModel: new D("footer", [], r.footer),
4035
4078
  columnDefs: t,
4036
4079
  fixedLeftColumnCount: i,
@@ -4064,7 +4107,7 @@ class O {
4064
4107
  e.columnSizes ?? []
4065
4108
  );
4066
4109
  }
4067
- static createByAreaModels(e = new _(), t, o = new _(), i = 0, s = 0, r = !1, l = new B(), n, d = [], a = -1, h) {
4110
+ static createByAreaModels(e = new _(), t, o = new _(), i = 0, s = 0, r = !1, l = new B(), n, a = [], d = -1, h) {
4068
4111
  return new Y(
4069
4112
  e,
4070
4113
  t,
@@ -4074,8 +4117,8 @@ class O {
4074
4117
  r,
4075
4118
  l,
4076
4119
  n,
4077
- d,
4078
4120
  a,
4121
+ d,
4079
4122
  h
4080
4123
  );
4081
4124
  }
@@ -4094,12 +4137,12 @@ class O {
4094
4137
  e.columnCount ?? 0
4095
4138
  );
4096
4139
  }
4097
- static createByObjectArray(e, t = [], o = [], i = 0, s = 0, r = !1, l = new B(), n, d = []) {
4098
- let a;
4099
- t != null && t.length ? a = new D("header", t, l.header, n) : n != null && n.length ? a = new D("header", [n.map((m) => m.headerLabel)], l.header, n) : a = new _();
4140
+ static createByObjectArray(e, t = [], o = [], i = 0, s = 0, r = !1, l = new B(), n, a = []) {
4141
+ let d;
4142
+ t != null && t.length ? d = new D("header", t, l.header, n) : n != null && n.length ? d = new D("header", [n.map((m) => m.headerLabel)], l.header, n) : d = new _();
4100
4143
  const h = o ? new D("footer", o, l.footer, n) : new _(), u = new ge("body", e, n, l.body);
4101
4144
  return new Y(
4102
- a,
4145
+ d,
4103
4146
  u,
4104
4147
  h,
4105
4148
  i,
@@ -4107,7 +4150,7 @@ class O {
4107
4150
  r,
4108
4151
  l,
4109
4152
  n,
4110
- d
4153
+ a
4111
4154
  );
4112
4155
  }
4113
4156
  }
@@ -4162,7 +4205,7 @@ class $t {
4162
4205
  this.index = e, this.px = t;
4163
4206
  }
4164
4207
  }
4165
- const Ot = { body: ["ge-table-text-align-left"] }, Lt = { body: ["ge-table-text-align-center"] }, Pt = { body: ["ge-table-text-align-right"] }, Ht = {
4208
+ const Ot = { body: ["ge-table-text-align-left"] }, Pt = { body: ["ge-table-text-align-center"] }, Lt = { body: ["ge-table-text-align-right"] }, Ht = {
4166
4209
  header: ["ge-table-text-align-left"],
4167
4210
  body: ["ge-table-text-align-left"],
4168
4211
  footer: ["ge-table-text-align-left"]
@@ -4179,7 +4222,7 @@ class pe {
4179
4222
  render(e, t, o, i, s, r, l) {
4180
4223
  if (s.isRowCheckable(t)) {
4181
4224
  l.addClass(e, "ge-table-row-checkbox-div");
4182
- const n = s.isRowChecked(t), d = n === "full" ? "checked" : "", a = n === "semi" ? '<span style="opacity: 0.4;">✓<span>' : "";
4225
+ const n = s.isRowChecked(t), a = n === "full" ? "checked" : "", d = n === "semi" ? '<span style="opacity: 0.4;">✓<span>' : "";
4183
4226
  e.innerHTML = `
4184
4227
  <input
4185
4228
  type="checkbox"
@@ -4187,9 +4230,9 @@ class pe {
4187
4230
  data-row-index="${t}"
4188
4231
  data-col-index="${o}"
4189
4232
  data-input-type="checkbox"
4190
- ${d}
4233
+ ${a}
4191
4234
  class="ge-table-row-checkbox">
4192
- ${a} `;
4235
+ ${d} `;
4193
4236
  }
4194
4237
  }
4195
4238
  }
@@ -4501,8 +4544,8 @@ const j = class j {
4501
4544
  render(e, t, o, i, s, r, l) {
4502
4545
  const n = r != null && r.data ? r.data : "";
4503
4546
  if (r) {
4504
- const { toggle: d, visibility: a, closed: h } = r, u = d ? j.toggleHeaderGroup : "";
4505
- this.addText(e, i, t, o, n, u), d && a !== "always" && this.addArrowDiv(l, e, !h, t, o, i, u);
4547
+ const { toggle: a, visibility: d, closed: h } = r, u = a ? j.toggleHeaderGroup : "";
4548
+ this.addText(e, i, t, o, n, u), a && d !== "always" && this.addArrowDiv(l, e, !h, t, o, i, u);
4506
4549
  } else
4507
4550
  this.addText(e, i, t, o, n, "");
4508
4551
  }
@@ -4517,11 +4560,11 @@ const j = class j {
4517
4560
  addArrowDiv(e, t, o = !0, i = -1, s = -1, r = "header", l) {
4518
4561
  const n = e.createElement("div");
4519
4562
  e.addClass(n, "ge-table-toggle-icon-div"), e.setStyle(n, "display", "inline-block"), e.setStyle(n, "position", ""), e.setStyle(n, "width", "20px"), e.setStyle(n, "background", "transparent"), e.setStyle(n, "cursor", "pointer"), e.setAttribute(n, "data-row-index", `${i}`), e.setAttribute(n, "data-col-index", `${s}`), e.setAttribute(n, "data-area", `${r}`), e.setAttribute(n, "data-ge-action", `${l}`);
4520
- let d;
4521
- o ? d = this.headerGroupOptions.iconExpanded : d = this.headerGroupOptions.iconCollapsed;
4522
- const a = d.content, h = e.createText(a);
4523
- e.appendChild(n, h), d.style && this.applyStyleString(e, n, d.style);
4524
- for (const u of d.classes)
4563
+ let a;
4564
+ o ? a = this.headerGroupOptions.iconExpanded : a = this.headerGroupOptions.iconCollapsed;
4565
+ const d = a.content, h = e.createText(d);
4566
+ e.appendChild(n, h), a.style && this.applyStyleString(e, n, a.style);
4567
+ for (const u of a.classes)
4525
4568
  e.addClass(n, u);
4526
4569
  return e.appendChild(t, n), n;
4527
4570
  }
@@ -4642,17 +4685,17 @@ class Kt {
4642
4685
  if (!t)
4643
4686
  return !0;
4644
4687
  t = t.toLowerCase();
4645
- const i = "+", s = "-", r = t.toLowerCase().split(" ").filter((h) => h !== i && h !== s && h !== ""), l = r.filter((h) => !h.startsWith(i) && !h.startsWith(s)), n = r.filter((h) => h.startsWith(i)).map((h) => h.replace(/\+/g, "")), d = r.filter((h) => h.startsWith(s)).map((h) => h.replace(/-/g, ""));
4646
- let a = !l.length;
4688
+ const i = "+", s = "-", r = t.toLowerCase().split(" ").filter((h) => h !== i && h !== s && h !== ""), l = r.filter((h) => !h.startsWith(i) && !h.startsWith(s)), n = r.filter((h) => h.startsWith(i)).map((h) => h.replace(/\+/g, "")), a = r.filter((h) => h.startsWith(s)).map((h) => h.replace(/-/g, ""));
4689
+ let d = !l.length;
4647
4690
  for (let h = 0; h < l.length; h++)
4648
- (a || o(e).includes(l[h])) && (a = !0);
4649
- if (!a)
4691
+ (d || o(e).includes(l[h])) && (d = !0);
4692
+ if (!d)
4650
4693
  return !1;
4651
4694
  for (let h = 0; h < n.length; h++)
4652
4695
  if (!o(e).includes(n[h]))
4653
4696
  return !1;
4654
- for (let h = 0; h < d.length; h++)
4655
- if (o(e).includes(d[h]))
4697
+ for (let h = 0; h < a.length; h++)
4698
+ if (o(e).includes(a[h]))
4656
4699
  return !1;
4657
4700
  return !0;
4658
4701
  }
@@ -4662,18 +4705,18 @@ class Kt {
4662
4705
  if (!t)
4663
4706
  return [...e];
4664
4707
  t = t.toLowerCase();
4665
- const i = "+", s = "-", r = t.toLowerCase().split(" ").filter((a) => a !== i && a !== s && a !== ""), l = r.filter((a) => !a.startsWith(i) && !a.startsWith(s)), n = r.filter((a) => a.startsWith(i)).map((a) => a.replace(/\+/g, "")), d = r.filter((a) => a.startsWith(s)).map((a) => a.replace(/-/g, ""));
4666
- return e == null ? void 0 : e.filter((a) => {
4708
+ const i = "+", s = "-", r = t.toLowerCase().split(" ").filter((d) => d !== i && d !== s && d !== ""), l = r.filter((d) => !d.startsWith(i) && !d.startsWith(s)), n = r.filter((d) => d.startsWith(i)).map((d) => d.replace(/\+/g, "")), a = r.filter((d) => d.startsWith(s)).map((d) => d.replace(/-/g, ""));
4709
+ return e == null ? void 0 : e.filter((d) => {
4667
4710
  let h = !l.length;
4668
4711
  for (let u = 0; u < l.length; u++)
4669
- (h || o(a).includes(l[u])) && (h = !0);
4712
+ (h || o(d).includes(l[u])) && (h = !0);
4670
4713
  if (!h)
4671
4714
  return !1;
4672
4715
  for (let u = 0; u < n.length; u++)
4673
- if (!o(a).includes(n[u]))
4716
+ if (!o(d).includes(n[u]))
4674
4717
  return !1;
4675
- for (let u = 0; u < d.length; u++)
4676
- if (o(a).includes(d[u]))
4718
+ for (let u = 0; u < a.length; u++)
4719
+ if (o(d).includes(a[u]))
4677
4720
  return !1;
4678
4721
  return !0;
4679
4722
  });
@@ -4701,7 +4744,7 @@ class qt {
4701
4744
  render(e, t, o, i, s, r, l) {
4702
4745
  if (this.readonly || this.skipCheckableCheck || s.isRowCheckable(t)) {
4703
4746
  l.addClass(e, "ge-table-row-checkbox-div");
4704
- const n = s.getRowByIndex(t), a = s.getValueByT(n, this.property) === !0 ? "checked" : "", h = this.readonly ? " readonly " : "";
4747
+ const n = s.getRowByIndex(t), d = s.getValueByT(n, this.property) === !0 ? "checked" : "", h = this.readonly ? " readonly " : "";
4705
4748
  if (l.addClass(e, "ge-padding-property-checkbox"), e.innerHTML = `
4706
4749
  <input
4707
4750
  type="checkbox"
@@ -4710,7 +4753,7 @@ class qt {
4710
4753
  data-col-index="${o}"
4711
4754
  data-property-index="${this.property}"
4712
4755
  data-input-type="checkbox"
4713
- ${a}
4756
+ ${d}
4714
4757
  ${h}
4715
4758
  class="ge-input-checkbox">`, !this.readonly) {
4716
4759
  const u = e.querySelector(".ge-input-checkbox");
@@ -4763,13 +4806,13 @@ class to {
4763
4806
  }
4764
4807
  render(e, t, o, i, s, r, l) {
4765
4808
  if (l.addClass(e, "ge-progressbar-div"), !isNaN(r)) {
4766
- const d = Number(r) * 100 / this.maxValue, a = this.labelVisible ? Math.round(d) + "%" : "";
4809
+ const a = Number(r) * 100 / this.maxValue, d = this.labelVisible ? Math.round(a) + "%" : "";
4767
4810
  e.innerHTML = `
4768
4811
  <div class="ge-table-label-div"
4769
4812
  data-row-index="${t}"
4770
4813
  data-col-index="${o}"
4771
4814
  data-area="${i}"
4772
- title="${a}"
4815
+ title="${d}"
4773
4816
  style="position: relative; background: transparent; width: 100%; height: 100%;">
4774
4817
  <div class="ge-table-progress-container"
4775
4818
  style="width:100%;height:50%;padding:0;margin-top:6px;"
@@ -4777,7 +4820,7 @@ class to {
4777
4820
  data-col-index="${o}"
4778
4821
  data-area="${i}">
4779
4822
  <div class="ge-table-progress-bar"
4780
- style="width:${d}%;height:100%;padding:0;margin:0;"
4823
+ style="width:${a}%;height:100%;padding:0;margin:0;"
4781
4824
  data-row-index="${t}"
4782
4825
  data-col-index="${o}"
4783
4826
  data-area="${i}">&nbsp;
@@ -4811,12 +4854,12 @@ class ro {
4811
4854
  }
4812
4855
  render(e, t, o, i, s, r, l) {
4813
4856
  l.addClass(e, "ge-star-rating-div");
4814
- const n = s.getRowByIndex(t), d = +("" + s.getValueByT(n, this.property));
4815
- if (!isNaN(d)) {
4816
- const a = [];
4817
- for (let u = 0; u < d; u++)
4818
- a.push("★");
4819
- const h = a.join(" ");
4857
+ const n = s.getRowByIndex(t), a = +("" + s.getValueByT(n, this.property));
4858
+ if (!isNaN(a)) {
4859
+ const d = [];
4860
+ for (let u = 0; u < a; u++)
4861
+ d.push("★");
4862
+ const h = d.join(" ");
4820
4863
  e.innerHTML = `
4821
4864
  <div class="ge-table-label-div" data-row-index="${t}" data-col-index="${o}" data-area="${i}" style="position: relative; background: transparent; width: 100%; height: 100%;">
4822
4865
  <div class="ge-table-label" data-row-index="${t}" data-col-index="${o}" data-area="${i}">${h}</div>
@@ -4830,9 +4873,9 @@ class no {
4830
4873
  }
4831
4874
  render(e, t, o, i, s, r, l) {
4832
4875
  l.addClass(e, "ge-star-rating-div");
4833
- const n = s.getRowByIndex(t), d = +("" + s.getValueByT(n, this.property));
4834
- if (!isNaN(d)) {
4835
- const a = d * 100 / this.maxValue, h = this.labelVisible ? Math.round(a) + "%" : "";
4876
+ const n = s.getRowByIndex(t), a = +("" + s.getValueByT(n, this.property));
4877
+ if (!isNaN(a)) {
4878
+ const d = a * 100 / this.maxValue, h = this.labelVisible ? Math.round(d) + "%" : "";
4836
4879
  e.innerHTML = `
4837
4880
  <div class="ge-table-label-div"
4838
4881
  data-row-index="${t}"
@@ -4846,7 +4889,7 @@ class no {
4846
4889
  data-col-index="${o}"
4847
4890
  data-area="${i}">
4848
4891
  <div class="ge-table-progress-bar"
4849
- style="width:${a}%;height:100%;padding:0;margin:0;"
4892
+ style="width:${d}%;height:100%;padding:0;margin:0;"
4850
4893
  data-row-index="${t}"
4851
4894
  data-col-index="${o}"
4852
4895
  data-area="${i}">&nbsp;
@@ -4892,12 +4935,12 @@ class Ce {
4892
4935
  if (s.isEditable(t, o)) {
4893
4936
  l.addClass(e, "ge-table-row-select-div");
4894
4937
  const n = s.getValueAt(t, o);
4895
- let d = [];
4938
+ let a = [];
4896
4939
  for (let h of this.options) {
4897
4940
  const u = h.value === n ? " selected " : "";
4898
- d.push(`<option value="${h.value}" ${u}>${h.label}</option>`);
4941
+ a.push(`<option value="${h.value}" ${u}>${h.label}</option>`);
4899
4942
  }
4900
- const a = d.join("");
4943
+ const d = a.join("");
4901
4944
  e.innerHTML = `
4902
4945
  <select
4903
4946
  type="text"
@@ -4909,7 +4952,7 @@ class Ce {
4909
4952
  data-col-index="${o}"
4910
4953
  data-input-type="text"
4911
4954
  style="width:100%;height:100%;border:0;padding:0 0 0 8px;"
4912
- class="ge-table-cell-editor-select">${a}</select>`;
4955
+ class="ge-table-cell-editor-select">${d}</select>`;
4913
4956
  }
4914
4957
  }
4915
4958
  }
@@ -5011,8 +5054,8 @@ class G {
5011
5054
  return (e - t) / (o - t) * (s - i) + i;
5012
5055
  }
5013
5056
  static getTwoColorGradientRGB(e, t) {
5014
- const o = G.normalize(e, t.minValue, t.maxValue, 0, 1), i = t.maxColor.r - t.minColor.r, s = t.maxColor.g - t.minColor.g, r = t.maxColor.b - t.minColor.b, l = i * o + t.minColor.r, n = s * o + t.minColor.g, d = r * o + t.minColor.b;
5015
- return `rgb(${Math.round(l)}, ${Math.round(n)}, ${Math.round(d)})`;
5057
+ const o = G.normalize(e, t.minValue, t.maxValue, 0, 1), i = t.maxColor.r - t.minColor.r, s = t.maxColor.g - t.minColor.g, r = t.maxColor.b - t.minColor.b, l = i * o + t.minColor.r, n = s * o + t.minColor.g, a = r * o + t.minColor.b;
5058
+ return `rgb(${Math.round(l)}, ${Math.round(n)}, ${Math.round(a)})`;
5016
5059
  }
5017
5060
  static getThreeColorGradientRGB(e, t) {
5018
5061
  return e < t.middleValue ? G.getTwoColorGradientRGB(e, new be(t.minValue, t.minColor, t.middleValue, t.middleColor)) : e > t.middleValue ? G.getTwoColorGradientRGB(e, new be(t.middleValue, t.middleColor, t.maxValue, t.maxColor)) : `rgb(${t.middleColor.r}, ${t.middleColor.g}, ${t.middleColor.b})`;
@@ -5062,7 +5105,7 @@ export {
5062
5105
  re as EventAdapter,
5063
5106
  ae as FalseFn,
5064
5107
  Ne as FocusModel,
5065
- Le as GeCellIndices,
5108
+ Pe as GeCellIndices,
5066
5109
  G as GeCssColorUtil,
5067
5110
  Kt as GeFilterService,
5068
5111
  Nt as GeKeyEvent,
@@ -5073,7 +5116,7 @@ export {
5073
5116
  $t as IndexAndPx,
5074
5117
  Ge as InputCellRenderer,
5075
5118
  Oe as InputHandler,
5076
- L as LicenseManager,
5119
+ P as LicenseManager,
5077
5120
  eo as MaleFemaleToIconCellRenderer,
5078
5121
  Ae as MouseHandler,
5079
5122
  Re as MouseTargetData,
@@ -5089,7 +5132,7 @@ export {
5089
5132
  qe as RequestChunk,
5090
5133
  Ce as SelectCellRenderer,
5091
5134
  we as SelectionModel,
5092
- Pe as SelectionService,
5135
+ Le as SelectionService,
5093
5136
  Ve as ShortcutService,
5094
5137
  We as SimpleDomService,
5095
5138
  w as Size,
@@ -5121,9 +5164,9 @@ export {
5121
5164
  Bt as allCenter,
5122
5165
  Ht as allLeft,
5123
5166
  Vt as allRight,
5124
- Lt as bodyCenter,
5167
+ Pt as bodyCenter,
5125
5168
  Ot as bodyLeft,
5126
- Pt as bodyRight,
5169
+ Lt as bodyRight,
5127
5170
  ao as editInputPipeForNumber,
5128
5171
  Z as getAreaIdentByString,
5129
5172
  K as isAreaModelTree,