@guiexpert/table 1.1.3 → 1.1.5

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
@@ -1,18 +1,43 @@
1
+ class P {
2
+ // The constructor is private to prevent direct construction calls
3
+ // with the `new` operator
4
+ constructor() {
5
+ this.alreadySet = !1;
6
+ }
7
+ static getInstance() {
8
+ return P.instance || (P.instance = new P()), P.instance;
9
+ }
10
+ /**
11
+ * Method to set the license key for the application.
12
+ * A 'meta' element is created with content as 'guiexperttable=<license key>'
13
+ * and appended into the head section of the document
14
+ *
15
+ * @param {string} key - The license key to set for the application.
16
+ *
17
+ * @return {void} - This method does not return anything
18
+ */
19
+ setLicenseKey(e) {
20
+ if (e && !this.alreadySet) {
21
+ const t = document.createElement("meta");
22
+ t.content = "license=" + e, t.name = "guiexperttable", document.getElementsByTagName("head")[0].appendChild(t), this.alreadySet = !0;
23
+ }
24
+ }
25
+ }
1
26
  function O(h) {
2
27
  return h && h.type === "TreeRow";
3
28
  }
4
- function N(h) {
29
+ function z(h) {
5
30
  return h && h.type === "AreaModelTree";
6
31
  }
7
- function pe(h) {
32
+ function fe(h) {
8
33
  return h && h.type === "CheckboxColumnDef";
9
34
  }
10
- class X {
35
+ class K {
11
36
  constructor(e = -1, t = -1, o = -1, s = -1, i, r, l, n = 0, d = 0, a = 0, c = "") {
12
37
  this.rowIndex = e, this.rowTop = t, this.columnIndex = o, this.columnLeft = s, this.areaIdent = i, this.sideIdent = r, this.originalEvent = l, this.clickCount = n, this.draggingX = d, this.draggingY = a, this.action = c;
13
38
  }
14
39
  clone() {
15
- return new X(
40
+ return new K(
16
41
  this.rowIndex,
17
42
  this.rowTop,
18
43
  this.columnIndex,
@@ -32,7 +57,7 @@ class F {
32
57
  this.content = e, this.style = t, this.classes = o;
33
58
  }
34
59
  }
35
- class de {
60
+ class he {
36
61
  constructor(e = new F(
37
62
  ">",
38
63
  "transform: rotate(90deg) translate(66%, -66%); transform-origin: 0 0;",
@@ -53,12 +78,12 @@ class de {
53
78
  this.arrowExpanded = e, this.arrowCollapsed = t, this.arrowPlaceholder = o, this.arrowExpandCollapseAll = s;
54
79
  }
55
80
  }
56
- class he {
81
+ class ce {
57
82
  constructor(e = new F("↑", "", ["ge-header-sorted-asc"]), t = new F("↓", "", ["ge-header-sorted-desc"]), o = new F("↑", "color:transparent;", [])) {
58
83
  this.iconAsc = e, this.iconDesc = t, this.iconPlaceholder = o;
59
84
  }
60
85
  }
61
- class fe {
86
+ class me {
62
87
  constructor(e) {
63
88
  this.domService = e;
64
89
  }
@@ -178,7 +203,7 @@ class fe {
178
203
  }
179
204
  return this.domService.appendChild(e, l), l;
180
205
  }
181
- addSortedIcon(e, t = "", o = new he(), s = -1) {
206
+ addSortedIcon(e, t = "", o = new ce(), s = -1) {
182
207
  const i = this.domService.createElement("div");
183
208
  this.domService.addClass(i, "ge-table-sorted-icon-div"), this.domService.setStyle(i, "position", "absolute"), this.domService.setStyle(i, "top", "0"), this.domService.setStyle(i, "right", "0"), this.domService.setStyle(i, "width", "20px"), this.domService.setStyle(i, "background", "transparent"), this.domService.setStyle(i, "cursor", "pointer"), this.domService.setAttribute(i, "data-col-index", `${s}`), this.domService.setAttribute(i, "data-area", "header");
184
209
  let r;
@@ -189,7 +214,7 @@ class fe {
189
214
  this.domService.addClass(i, d);
190
215
  return this.domService.appendChild(e, i), i;
191
216
  }
192
- addArrowDiv(e, t = "none", o = new de(), s = -1, i = -1, r = "body") {
217
+ addArrowDiv(e, t = "none", o = new he(), s = -1, i = -1, r = "body") {
193
218
  const l = this.domService.createElement("div");
194
219
  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", `${s}`), this.domService.setAttribute(l, "data-col-index", `${i}`), this.domService.setAttribute(l, "data-area", `${r}`);
195
220
  let n;
@@ -240,7 +265,7 @@ class fe {
240
265
  }
241
266
  }
242
267
  const Y = (h) => h === "header" ? "header" : h === "footer" ? "footer" : "body";
243
- class me {
268
+ class we {
244
269
  constructor(e, t) {
245
270
  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)) {
246
271
  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"));
@@ -252,7 +277,7 @@ class me {
252
277
  }
253
278
  }
254
279
  }
255
- class we {
280
+ class Se {
256
281
  constructor(e) {
257
282
  this.tableScope = e, this.expandedAll = !0, this.mouseDown = !1, this.dragging = !1, 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(
258
283
  (t) => t.addEventListener("resize", this.tableScope.adjustContainersAndRows.bind(this.tableScope))
@@ -278,7 +303,7 @@ class we {
278
303
  * @return {void}
279
304
  */
280
305
  onHostElementClicked(e) {
281
- const t = new me(e.target, this.tableScope);
306
+ const t = new we(e.target, this.tableScope);
282
307
  if (t.action === "toggleExpandCollapseAll")
283
308
  this.expandedAll = !this.expandedAll, this.tableScope.toggleExpandCollapseAll(this.expandedAll), e.preventDefault(), e.stopPropagation();
284
309
  else if (t.inputType === "checkbox" && t.areaIdent)
@@ -378,7 +403,7 @@ class we {
378
403
  }
379
404
  }
380
405
  }
381
- class Se {
406
+ class xe {
382
407
  constructor(e) {
383
408
  this.tableScope = e;
384
409
  }
@@ -404,21 +429,23 @@ class Se {
404
429
  /**
405
430
  * Scrolls the table body to the specified pixel coordinates.
406
431
  *
407
- * @param {number} _px - The horizontal pixel coordinate to scroll to. Defaults to 0.
408
- * @param {number} _py - The vertical pixel coordinate to scroll to. Defaults to 0.
432
+ * @param {number} px - The horizontal pixel coordinate to scroll to. Defaults to 0.
433
+ * @param {number} py - The vertical pixel coordinate to scroll to. Defaults to 0.
409
434
  * @return {void}
410
435
  */
411
436
  scrollToPixel(e = 0, t = 0) {
437
+ this.tableScope.scrollToPixel(e, t);
412
438
  }
413
439
  /**
414
440
  * Scrolls to the specified index in both horizontal and vertical directions.
415
441
  *
416
- * @param {number} _indexX - The index of the column to scroll to in the horizontal direction. Default is 0.
417
- * @param {number} _indexY - The index of the row to scroll to in the vertical direction. Default is 0.
442
+ * @param {number} indexX - The index of the column to scroll to in the horizontal direction. Default is 0.
443
+ * @param {number} indexY - The index of the row to scroll to in the vertical direction. Default is 0.
418
444
  *
419
445
  * @return undefined
420
446
  */
421
447
  scrollToIndex(e = 0, t = 0) {
448
+ this.tableScope.scrollToIndex(e, t);
422
449
  }
423
450
  /**
424
451
  * Sets whether the header is visible or not.
@@ -483,7 +510,7 @@ class Se {
483
510
  this.tableScope.repaint();
484
511
  }
485
512
  }
486
- class K {
513
+ class U {
487
514
  constructor(e) {
488
515
  this.getStorageKeyFn = e;
489
516
  }
@@ -558,7 +585,7 @@ class K {
558
585
  // }
559
586
  // }
560
587
  }
561
- class xe extends K {
588
+ class ye extends U {
562
589
  constructor(e) {
563
590
  super(e), this.SCROLL_STATE = "scrollState", this.scrollOffset = [0, 0], this.load();
564
591
  }
@@ -580,14 +607,14 @@ class xe extends K {
580
607
  }
581
608
  }
582
609
  }
583
- class ye {
610
+ class Ce {
584
611
  constructor(e = "collapsed", t = [], o = !1, s = !1) {
585
612
  this.mode = e, this.rowIds = t, this.allCollapsed = o, this.allExpanded = s;
586
613
  }
587
614
  }
588
- class Ce extends K {
615
+ class ve extends U {
589
616
  constructor(e) {
590
- super(e), this.COLLAPSED_EXPANDED_STATE = "collapsedExpandedState", this.collapsedExpandedState = new ye(), this.load();
617
+ super(e), this.COLLAPSED_EXPANDED_STATE = "collapsedExpandedState", this.collapsedExpandedState = new Ce(), this.load();
591
618
  }
592
619
  collapsedExpandedStateGet() {
593
620
  return this.collapsedExpandedState;
@@ -619,7 +646,7 @@ class Ce extends K {
619
646
  this.checkAndPersistItem(this.COLLAPSED_EXPANDED_STATE, this.collapsedExpandedState);
620
647
  }
621
648
  }
622
- class ve extends K {
649
+ class Re extends U {
623
650
  constructor(e) {
624
651
  super(e), this.SORTING_STATE = "sortingState", this.sortItems = [], this.load();
625
652
  }
@@ -646,7 +673,7 @@ class $ {
646
673
  this.left = e, this.width = t, this.height = o, this.top = s, this.index = i;
647
674
  }
648
675
  }
649
- class Re {
676
+ class Ae {
650
677
  constructor(e, t, o, s) {
651
678
  this.hostElement = e, this.tableModel = t, this.dom = o, this.tableOptions = s, this.scrollTop = 0, this.areaBodyWestGeo = new $(), this.areaBodyCenterGeo = new $(), this.areaBodyEastGeo = new $();
652
679
  const i = this.hostElement;
@@ -832,7 +859,7 @@ class M {
832
859
  return e >= this.r1 && e <= this.r2 && t >= this.c1 && t <= this.c2;
833
860
  }
834
861
  }
835
- class Ae {
862
+ class Ee {
836
863
  constructor(e, t) {
837
864
  this.tableModel = e, this.areaModel = t, this.colAndRowspanRanges = void 0;
838
865
  }
@@ -870,17 +897,17 @@ class T {
870
897
  this.header = e, this.body = t, this.footer = o;
871
898
  }
872
899
  }
873
- class Ee extends Re {
900
+ class Me extends Ae {
874
901
  constructor(e, t, o, s) {
875
902
  var r, l;
876
903
  super(e, t, o, s), this.scrollLeft = 0, this.scrollViewportLeft = 0, this.scrollFactorY = 0, this.scrollFactorX = 0, this.cleanupFunctions = {
877
904
  header: [],
878
905
  body: [],
879
906
  footer: []
880
- }, this.tree = !1, this.colAndRowspanModels = new T(), this.firstVisibleRowIndex = -1, this.draggingTargetColumnIndex = -1, this.removables = [], this.editing = !1, 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), N(t.getAreaModel("body")) && (this.tree = !0), ["header", "body", "footer"].forEach(
907
+ }, this.tree = !1, this.colAndRowspanModels = new T(), this.firstVisibleRowIndex = -1, this.draggingTargetColumnIndex = -1, this.removables = [], this.editing = !1, 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), z(t.getAreaModel("body")) && (this.tree = !0), ["header", "body", "footer"].forEach(
881
908
  (n) => {
882
909
  var d;
883
- this.colAndRowspanModels[n] = new Ae(t, t.getAreaModel(n)), (d = this.colAndRowspanModels[n]) == null || d.init();
910
+ this.colAndRowspanModels[n] = new Ee(t, t.getAreaModel(n)), (d = this.colAndRowspanModels[n]) == null || d.init();
884
911
  }
885
912
  );
886
913
  }
@@ -1058,8 +1085,8 @@ class Ee extends Re {
1058
1085
  { cursor: "pointer" }
1059
1086
  ), k = this.tableOptions.treeOptions.arrowExpandCollapseAll;
1060
1087
  if (k) {
1061
- const V = this.dom.domService.createText(k.content);
1062
- this.dom.domService.appendChild(E, V), k.style && this.dom.applyStyleString(E, k.style);
1088
+ const B = this.dom.domService.createText(k.content);
1089
+ this.dom.domService.appendChild(E, B), k.style && this.dom.applyStyleString(E, k.style);
1063
1090
  }
1064
1091
  }
1065
1092
  }
@@ -1232,12 +1259,12 @@ class Ee extends Re {
1232
1259
  lastRowOfModel: c,
1233
1260
  gammaRange: u
1234
1261
  }) {
1235
- var Q;
1262
+ var Z;
1236
1263
  const b = this.editorRenderer && this.editorRendererRow === s && this.editorRendererColumn === i ? this.editorRenderer : e.getCellRenderer(s, i), w = { left: r, width: l, height: n, top: d, index: i }, g = e.getRowByIndex(s);
1237
1264
  let p = "none";
1238
1265
  if (i === this.getTreeArrowColumnIndex() && O(g)) {
1239
1266
  const S = g;
1240
- (Q = S.children) != null && Q.length ? S.expanded ? p = "expanded" : p = "collapsed" : p = "hidden";
1267
+ (Z = S.children) != null && Z.length ? S.expanded ? p = "expanded" : p = "collapsed" : p = "hidden";
1241
1268
  }
1242
1269
  let C;
1243
1270
  if (t === "header") {
@@ -1260,19 +1287,19 @@ class Ee extends Re {
1260
1287
  E && this.dom.setAttribute(A, "title", E);
1261
1288
  const k = this.tableModel.getColumnDef(i);
1262
1289
  k && k.classes[t] && this.dom.addClasses(k.classes[t], A);
1263
- let V;
1264
- b && (V = b.render(A, s, i, t, e, v, this.dom.domService));
1265
- const J = e.getCustomClassesAt(s, i);
1266
- if (J.length && this.dom.addClasses(J, A), this.dom.addColumnBorderDivs(this.tableOptions, a, w, t, o), c && this.dom.addHorizontalBorder({ left: r, width: l, height: n, top: d + n }, a), this.getFocusModel && t === "body") {
1290
+ let B;
1291
+ b && (B = b.render(A, s, i, t, e, v, this.dom.domService));
1292
+ const Q = e.getCustomClassesAt(s, i);
1293
+ if (Q.length && this.dom.addClasses(Q, A), this.dom.addColumnBorderDivs(this.tableOptions, a, w, t, o), c && this.dom.addHorizontalBorder({ left: r, width: l, height: n, top: d + n }, a), this.getFocusModel && t === "body") {
1267
1294
  const S = this.getFocusModel();
1268
1295
  S != null && S.hasFocus(s, i) && this.dom.addFocusBorderDivs(a, w, {});
1269
1296
  }
1270
1297
  t === "header" && this.dom.setAttribute(A, "data-ge-action", "drag-column");
1271
- const W = e.getCustomStyleAt(s, i);
1272
- if (W)
1273
- for (const S in W)
1274
- this.dom.setStyle(A, S, W[S]);
1275
- return [A, V];
1298
+ const G = e.getCustomStyleAt(s, i);
1299
+ if (G)
1300
+ for (const S in G)
1301
+ this.dom.setStyle(A, S, G[S]);
1302
+ return [A, B];
1276
1303
  }
1277
1304
  applyCssClasses(e, t = {}) {
1278
1305
  e && Object.entries(t).forEach(([o, s]) => {
@@ -1409,12 +1436,12 @@ class Ee extends Re {
1409
1436
  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 + i - d}px`), n.setStyle(a, "top", `${s}px`), n.setStyle(a, "width", `${d}px`), n.setStyle(a, "height", `${r}px`), n.appendChild(l, a);
1410
1437
  }
1411
1438
  }
1412
- class Me {
1439
+ class ke {
1413
1440
  constructor(e, t) {
1414
1441
  this.columnIndex = e, this.sortState = t;
1415
1442
  }
1416
1443
  }
1417
- class ke {
1444
+ class Ie {
1418
1445
  constructor(e) {
1419
1446
  this.tableScope = e, this.tableScope.hostElement.addEventListener("change", this.onHostElementChanged.bind(this));
1420
1447
  }
@@ -1436,20 +1463,20 @@ class ke {
1436
1463
  }
1437
1464
  }
1438
1465
  }
1439
- class Ie {
1466
+ class Te {
1440
1467
  constructor(e = -1, t = -1) {
1441
1468
  this.rowIndex = e, this.columnIndex = t;
1442
1469
  }
1443
1470
  }
1444
- class U {
1471
+ class q {
1445
1472
  constructor(e) {
1446
1473
  this.cells = e;
1447
1474
  }
1448
1475
  static createSingle(e, t) {
1449
- return new U([new Ie(e, t)]);
1476
+ return new q([new Te(e, t)]);
1450
1477
  }
1451
1478
  }
1452
- class Te {
1479
+ class De {
1453
1480
  constructor(e) {
1454
1481
  var t, o;
1455
1482
  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);
@@ -1508,7 +1535,7 @@ class _e {
1508
1535
  };
1509
1536
  }
1510
1537
  }
1511
- class De {
1538
+ class $e {
1512
1539
  get() {
1513
1540
  return {
1514
1541
  f2: "START_EDITING",
@@ -1528,7 +1555,7 @@ class De {
1528
1555
  };
1529
1556
  }
1530
1557
  }
1531
- class $e {
1558
+ class Fe {
1532
1559
  constructor(e) {
1533
1560
  this.tableScope = e, this.shortcutActionIdMapping = {}, this.listener = [], this.listener.push(e), this.init();
1534
1561
  }
@@ -1536,7 +1563,7 @@ class $e {
1536
1563
  this.listener.includes(e) || this.listener.push(e);
1537
1564
  }
1538
1565
  init() {
1539
- this.isMacintosh() ? Object.assign(this.shortcutActionIdMapping, new De().get()) : Object.assign(this.shortcutActionIdMapping, new _e().get()), Object.assign(this.shortcutActionIdMapping, this.tableScope.tableOptions.shortcutActionIdMapping), this.isDebug() && console.debug("ShortcutService", this.shortcutActionIdMapping), this.tableScope.hostElement.addEventListener("keydown", this.onKeyDown.bind(this));
1566
+ this.isMacintosh() ? Object.assign(this.shortcutActionIdMapping, new $e().get()) : Object.assign(this.shortcutActionIdMapping, new _e().get()), Object.assign(this.shortcutActionIdMapping, this.tableScope.tableOptions.shortcutActionIdMapping), this.isDebug() && console.debug("ShortcutService", this.shortcutActionIdMapping), this.tableScope.hostElement.addEventListener("keydown", this.onKeyDown.bind(this));
1540
1567
  }
1541
1568
  isMacintosh() {
1542
1569
  return navigator.platform.indexOf("Mac") > -1;
@@ -1580,7 +1607,7 @@ class $e {
1580
1607
  return e.altKey && t.push("alt"), e.shiftKey && t.push("shift"), e.ctrlKey && t.push("ctrl"), e.metaKey && t.push("meta"), e.code && t.push(e.code.toLowerCase().replace(/key/g, "")), t.sort();
1581
1608
  }
1582
1609
  }
1583
- class Z {
1610
+ class ee {
1584
1611
  onCheckboxChanged(e) {
1585
1612
  }
1586
1613
  onContextmenu(e) {
@@ -1596,7 +1623,7 @@ class Z {
1596
1623
  onMouseMoved(e) {
1597
1624
  }
1598
1625
  }
1599
- class Fe {
1626
+ class Le {
1600
1627
  setStyle(e, t, o) {
1601
1628
  return e.style[t] = o, e;
1602
1629
  }
@@ -1623,7 +1650,7 @@ class Fe {
1623
1650
  e.setAttribute(t, o);
1624
1651
  }
1625
1652
  }
1626
- class Le {
1653
+ class Pe {
1627
1654
  render(e, t, o, s, i, r, l) {
1628
1655
  if (i.isEditable(t, o)) {
1629
1656
  l.addClass(e, "ge-table-row-input-div");
@@ -1688,7 +1715,7 @@ class Oe {
1688
1715
  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));
1689
1716
  }
1690
1717
  }
1691
- class Pe {
1718
+ class Ve {
1692
1719
  constructor(e = "none") {
1693
1720
  this.selectionType = e, this.rowIndex = -1, this.columnIndex = -1, this.changed = !1;
1694
1721
  }
@@ -1711,29 +1738,29 @@ class Pe {
1711
1738
  return [this.rowIndex, this.columnIndex];
1712
1739
  }
1713
1740
  }
1714
- const He = new Oe(), Ve = new Pe("cell");
1715
- class z {
1741
+ const He = new Oe(), Be = new Ve("cell");
1742
+ class j {
1716
1743
  constructor() {
1717
1744
  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 = {
1718
1745
  header: 34,
1719
1746
  body: 34,
1720
1747
  footer: 34
1721
- }, this.footerVerticalSeparator = !1, this.headerToggleExpandCollapseIcons = !1, this.headerVerticalSeparator = !1, this.treeOptions = new de(), this.showCheckboxWihoutExtraColumn = !1, this.externalFilterFunction = void 0, this.sortedOptions = new he(), this.sortOrder = ["asc", "desc"], this.getEditRenderer = (e, t) => new Le(), this.getSelectionModel = () => He, this.getFocusModel = () => Ve;
1748
+ }, this.footerVerticalSeparator = !1, this.headerToggleExpandCollapseIcons = !1, this.headerVerticalSeparator = !1, this.treeOptions = new he(), this.showCheckboxWihoutExtraColumn = !1, this.externalFilterFunction = void 0, this.sortedOptions = new ce(), this.sortOrder = ["asc", "desc"], this.getEditRenderer = (e, t) => new Pe(), this.getSelectionModel = () => He, this.getFocusModel = () => Be;
1722
1749
  }
1723
1750
  }
1724
- class ce extends Ee {
1751
+ class ue extends Me {
1725
1752
  constructor(e, t, o, s, i) {
1726
1753
  var r;
1727
1754
  if (super(
1728
1755
  e,
1729
1756
  t,
1730
- new fe(o),
1757
+ new me(o),
1731
1758
  s
1732
- ), this.eventListener = i, this.selectionService = new Te(this), this.api = new Se(this), this.mouseStartAction = "", this.mouseStartWidth = -1, this.mouseStartColumnIndex = -1, this.dragFrom = -1, this.dragTo = -1, i || (this.eventListener = new Z()), (r = this.tableOptions) != null && r.autoRestoreOptions) {
1759
+ ), this.eventListener = i, this.licenseManager = P.getInstance(), this.selectionService = new De(this), this.api = new xe(this), this.mouseStartAction = "", this.mouseStartWidth = -1, this.mouseStartColumnIndex = -1, this.dragFrom = -1, this.dragTo = -1, i || (this.eventListener = new ee()), (r = this.tableOptions) != null && r.autoRestoreOptions) {
1733
1760
  const l = this.tableOptions.autoRestoreOptions, n = l.getStorageKeyFn;
1734
- n && (l.autoRestoreScrollPosition && (this.storeScrollPosStateService = new xe(n)), l.autoRestoreCollapsedExpandedState && (this.storeStateCollapsedExpandService = new Ce(n)), l.autoRestoreSortingState && (this.storeSortingService = new ve(n)));
1761
+ n && (l.autoRestoreScrollPosition && (this.storeScrollPosStateService = new ye(n)), l.autoRestoreCollapsedExpandedState && (this.storeStateCollapsedExpandService = new ve(n)), l.autoRestoreSortingState && (this.storeSortingService = new Re(n)));
1735
1762
  }
1736
- this.mouseHandler = new we(this), this.inputHandler = new ke(this), this.shortcutService = new $e(this), this.shortcutService.addListener(this.selectionService);
1763
+ this.mouseHandler = new Se(this), this.inputHandler = new Ie(this), this.shortcutService = new Fe(this), this.shortcutService.addListener(this.selectionService);
1737
1764
  }
1738
1765
  /**
1739
1766
  * Creates a TableScope instance.
@@ -1746,8 +1773,8 @@ class ce extends Ee {
1746
1773
  *
1747
1774
  * @return {TableScope} - The newly created TableScope instance.
1748
1775
  */
1749
- static create(e, t, o = new z(), s = new Z(), i = new Fe()) {
1750
- return new ce(
1776
+ static create(e, t, o = new j(), s = new ee(), i = new Le()) {
1777
+ return new ue(
1751
1778
  e,
1752
1779
  t,
1753
1780
  i,
@@ -1769,7 +1796,7 @@ class ce extends Ee {
1769
1796
  return !1;
1770
1797
  }
1771
1798
  updateModelValueAfterEdit(e, t, o, s) {
1772
- e === "body" && this.tableModel.getAreaModel(e).setValue(t, o, s) && (this.resetEditorRenderer(), this.repaint(), this.eventListener.onModelChanged(U.createSingle(t, o)), this.hostElement.focus());
1799
+ e === "body" && this.tableModel.getAreaModel(e).setValue(t, o, s) && (this.resetEditorRenderer(), this.repaint(), this.eventListener.onModelChanged(q.createSingle(t, o)), this.hostElement.focus());
1773
1800
  }
1774
1801
  /**
1775
1802
  * Retrieves the TableApi object.
@@ -1798,7 +1825,7 @@ class ce extends Ee {
1798
1825
  * @return {GeMouseEvent} - The created GeMouseEvent object.
1799
1826
  */
1800
1827
  createGeMouseEvent(e) {
1801
- const t = new X();
1828
+ const t = new K();
1802
1829
  if (t.originalEvent = e, e) {
1803
1830
  const o = e.target;
1804
1831
  if ([t.areaIdent, t.sideIdent] = this.getAreaAndSideIdentByAttr(o), t.rowIndex = this.getNumberByAttr(o, "data-row-index"), t.columnIndex = this.getNumberByAttr(o, "data-col-index"), t.action = this.getStringByAttr(o, "data-ge-action"), t.areaIdent) {
@@ -1867,7 +1894,7 @@ class ce extends Ee {
1867
1894
  toggleExpandCollapseAll(e = !0) {
1868
1895
  var o;
1869
1896
  const t = this.tableModel.getBodyModel();
1870
- N(t) && (t.toggleExpandCollapseAll(e), this.repaint(), (o = this.storeStateCollapsedExpandService) == null || o.collapsedStateAll(e));
1897
+ z(t) && (t.toggleExpandCollapseAll(e), this.repaint(), (o = this.storeStateCollapsedExpandService) == null || o.collapsedStateAll(e));
1871
1898
  }
1872
1899
  /**
1873
1900
  * Toggles the checkbox state of a specific row in a table.
@@ -1924,7 +1951,7 @@ class ce extends Ee {
1924
1951
  const s = this.tableModel.getColumnDef(o);
1925
1952
  if (s != null && s.sortable && s.sortable()) {
1926
1953
  e.preventDefault(), e.stopPropagation();
1927
- const l = s.sortStatesOrder ? s.sortStatesOrder : this.tableOptions.sortOrder, n = s.sortState ?? "", d = l[(l.indexOf(n) + 1) % l.length], a = new Me(o, d);
1954
+ const l = s.sortStatesOrder ? s.sortStatesOrder : this.tableOptions.sortOrder, n = s.sortState ?? "", d = l[(l.indexOf(n) + 1) % l.length], a = new ke(o, d);
1928
1955
  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]);
1929
1956
  }
1930
1957
  }
@@ -2014,7 +2041,7 @@ class ce extends Ee {
2014
2041
  const o = this.tableOptions.autoRestoreOptions, s = o.getRowId;
2015
2042
  if (o.autoRestoreCollapsedExpandedState && s) {
2016
2043
  const i = this.storeStateCollapsedExpandService.collapsedExpandedStateGet(), r = this.tableModel.getAreaModel("body");
2017
- if (N(r)) {
2044
+ if (z(r)) {
2018
2045
  const l = r, n = r.getRowCount();
2019
2046
  for (let d = 0; d < n; d++) {
2020
2047
  const a = r.getRowByIndex(d);
@@ -2033,11 +2060,33 @@ class ce extends Ee {
2033
2060
  }
2034
2061
  }
2035
2062
  }
2063
+ /**
2064
+ * Scrolls the viewport to the specified pixel coordinates.
2065
+ *
2066
+ * @param {number} px - The horizontal pixel coordinate to scroll to.
2067
+ * @param {number} py - The vertical pixel coordinate to scroll to.
2068
+ *
2069
+ * @return {void}
2070
+ */
2071
+ scrollToPixel(e, t) {
2072
+ this.scrollViewport.scrollTo(e, t);
2073
+ }
2074
+ /**
2075
+ * Scrolls to the specified index in the table.
2076
+ *
2077
+ * @param {number} _indexX - The horizontal index of the table where scrolling is needed.
2078
+ * @param {number} indexY - The vertical index of the table where scrolling is needed.
2079
+ * @return {void}
2080
+ */
2081
+ scrollToIndex(e, t) {
2082
+ const s = this.tableModel.getAreaModel("body").getYPosByRowIndex(t);
2083
+ this.scrollToPixel(0, s);
2084
+ }
2036
2085
  }
2037
- class ue {
2086
+ class ge {
2038
2087
  }
2039
- ue.themes = ["light", "combat", "paper", "blackboard"];
2040
- ue.vars = {
2088
+ ge.themes = ["light", "combat", "paper", "blackboard"];
2089
+ ge.vars = {
2041
2090
  light: `html[data-theme="light"] {
2042
2091
  --ge-table-bg: rgba(255,255,255, 0.5);
2043
2092
  --ge-table-header-west-bg: rgba(233, 233, 233, 0.5);
@@ -2271,27 +2320,27 @@ ue.vars = {
2271
2320
  --ge-table-drop-zone-bg: #758129;
2272
2321
  }`
2273
2322
  };
2274
- class ee {
2323
+ class te {
2275
2324
  constructor(e, t = !0, o, s, i = 0, r = !1, l = !1) {
2276
2325
  this.data = e, this.expanded = t, this.children = o, this.parent = s, this.deep = i, this.checked = r, this.keep = l, this.type = "TreeRow";
2277
2326
  }
2278
2327
  }
2279
- class j {
2328
+ class X {
2280
2329
  static buildTreeRows(e, t = "children", o = 12) {
2281
2330
  const s = [];
2282
2331
  for (const i of e)
2283
- s.push(j.buildTreeRow(i, t, void 0, 0, o));
2332
+ s.push(X.buildTreeRow(i, t, void 0, 0, o));
2284
2333
  return s;
2285
2334
  }
2286
- static buildTreeRow(e, t = "children", o = new ee(e, !0, [], void 0, 0), s = 0, i = 12) {
2335
+ static buildTreeRow(e, t = "children", o = new te(e, !0, [], void 0, 0), s = 0, i = 12) {
2287
2336
  var l;
2288
2337
  if (s > i)
2289
2338
  return console.warn("Max deep limit reached: ", s), o;
2290
2339
  const r = e[t];
2291
2340
  if (r)
2292
2341
  for (const n of r) {
2293
- const d = new ee(n, !0, [], o, s + 1);
2294
- if ((l = o.children) == null || l.push(d), j.buildTreeRow(
2342
+ const d = new te(n, !0, [], o, s + 1);
2343
+ if ((l = o.children) == null || l.push(d), X.buildTreeRow(
2295
2344
  n,
2296
2345
  t,
2297
2346
  d,
@@ -2302,7 +2351,7 @@ class j {
2302
2351
  return o;
2303
2352
  }
2304
2353
  }
2305
- class P {
2354
+ class V {
2306
2355
  constructor(e = 34, t = 34, o = 34) {
2307
2356
  this.header = e, this.body = t, this.footer = o;
2308
2357
  }
@@ -2312,7 +2361,7 @@ class f {
2312
2361
  this.value = e, this.unit = t;
2313
2362
  }
2314
2363
  }
2315
- const Be = () => !0, te = () => !1;
2364
+ const We = () => !0, oe = () => !1;
2316
2365
  class H {
2317
2366
  constructor(e, t, o = new f(100, "px"), s = new T(), i = new T(), r = new f(100, "px"), l = new f(100, "px"), n, d, a, c, u, m, b, w, g = () => this.visible) {
2318
2367
  this.property = e, this.headerLabel = t, this.width = o, this.classes = s, this.rendererMap = i, this.minWidth = r, this.maxWidth = l, this.sortable = n, this.sortComparator = d, this.sortState = a, this.sortStatesOrder = c, this.sortIconVisible = u, this.editable = m, this.getEditRenderer = b, this.editInputPipe = w, this.isVisible = g, this.visible = !0;
@@ -2333,7 +2382,7 @@ class H {
2333
2382
  e.headerClasses,
2334
2383
  e.bodyClasses,
2335
2384
  e.footerClasses
2336
- ), s = e.sortIconVisible ?? e.sortable ?? te, i = e.editable ?? e.editable ?? te, r = e.isVisible ?? e.isVisible ?? Be;
2385
+ ), s = e.sortIconVisible ?? e.sortable ?? oe, i = e.editable ?? e.editable ?? oe, r = e.isVisible ?? e.isVisible ?? We;
2337
2386
  return new H(
2338
2387
  e.property ?? "",
2339
2388
  e.headerLabel ?? "",
@@ -2354,8 +2403,8 @@ class H {
2354
2403
  );
2355
2404
  }
2356
2405
  }
2357
- const Ue = new f(300, "px"), qe = new f(290, "px"), Je = new f(280, "px"), Qe = new f(270, "px"), Ze = new f(260, "px"), et = new f(250, "px"), tt = new f(240, "px"), ot = new f(230, "px"), st = new f(220, "px"), it = new f(210, "px"), oe = new f(200, "px"), rt = new f(190, "px"), lt = new f(180, "px"), nt = new f(170, "px"), at = new f(160, "px"), dt = new f(150, "px"), ht = new f(140, "px"), ct = new f(130, "px"), ut = new f(120, "px"), gt = new f(110, "px"), bt = new f(100, "px"), pt = new f(90, "px"), ft = new f(80, "px"), mt = new f(70, "px"), wt = new f(60, "px"), St = new f(50, "px"), xt = new f(40, "px"), yt = new f(30, "px"), Ct = new f(20, "px"), vt = new f(10, "px"), Rt = new f(0, "px");
2358
- class q {
2406
+ const qe = new f(300, "px"), Je = new f(290, "px"), Qe = new f(280, "px"), Ze = new f(270, "px"), et = new f(260, "px"), tt = new f(250, "px"), ot = new f(240, "px"), st = new f(230, "px"), it = new f(220, "px"), rt = new f(210, "px"), se = new f(200, "px"), lt = new f(190, "px"), nt = new f(180, "px"), at = new f(170, "px"), dt = new f(160, "px"), ht = new f(150, "px"), ct = new f(140, "px"), ut = new f(130, "px"), gt = new f(120, "px"), bt = new f(110, "px"), pt = new f(100, "px"), ft = new f(90, "px"), mt = new f(80, "px"), wt = new f(70, "px"), St = new f(60, "px"), xt = new f(50, "px"), yt = new f(40, "px"), Ct = new f(30, "px"), vt = new f(20, "px"), Rt = new f(10, "px"), At = new f(0, "px");
2407
+ class J {
2359
2408
  constructor(e, t = [], o = -1) {
2360
2409
  this.areaIdent = e, this.columnDefs = t, this.defaultRowHeight = o, this.rowSelectionModel = void 0, this.yPositions = [], this.cellRenderers = t.map((s) => s.rendererMap[e]);
2361
2410
  }
@@ -2446,7 +2495,7 @@ class q {
2446
2495
  this.yPositions[t + 1] = this.getRowHeight(t) + this.yPositions[t];
2447
2496
  }
2448
2497
  }
2449
- class _ extends q {
2498
+ class D extends J {
2450
2499
  constructor(e, t, o, s = []) {
2451
2500
  super(e, s, o), this.areaIdent = e, this.arr = t, this.defaultRowHeight = o, this.columnDefs = s, this.filteredArr = [...t];
2452
2501
  }
@@ -2474,7 +2523,7 @@ class _ extends q {
2474
2523
  this.filteredArr.forEach((o) => this.arrayMove(o, e, t)), super.changeColumnOrder(e, t);
2475
2524
  }
2476
2525
  }
2477
- class D {
2526
+ class _ {
2478
2527
  constructor(e = "body") {
2479
2528
  this.areaIdent = e, this.rowSelectionModel = void 0;
2480
2529
  }
@@ -2543,7 +2592,7 @@ class D {
2543
2592
  changeColumnOrder(e, t) {
2544
2593
  }
2545
2594
  }
2546
- class We {
2595
+ class Ge {
2547
2596
  flattenTree(e, t = []) {
2548
2597
  var o;
2549
2598
  for (const s of e)
@@ -2554,7 +2603,7 @@ class We {
2554
2603
  return e.parent ? e.parent.expanded ? this.isVisible(e.parent) : !1 : !0;
2555
2604
  }
2556
2605
  }
2557
- class ge {
2606
+ class be {
2558
2607
  genericSortComparator(e, t, o) {
2559
2608
  if (typeof e == "number" && typeof t == "number")
2560
2609
  return o * (e - t);
@@ -2572,9 +2621,9 @@ class ge {
2572
2621
  return o * ("" + e).localeCompare("" + t);
2573
2622
  }
2574
2623
  }
2575
- class se extends q {
2624
+ class ie extends J {
2576
2625
  constructor(e, t, o, s = []) {
2577
- super(e, s, o), this.areaIdent = e, this.rows = t, this.defaultRowHeight = o, this.columnDefs = s, this.type = "AreaModelTree", this.sorterService = new ge(), this.service = new We(), this.properties = s.map((i) => i.property), this.flattenRows = this.service.flattenTree(t), this.filteredFlattenRows = [...this.flattenRows];
2626
+ super(e, s, o), this.areaIdent = e, this.rows = t, this.defaultRowHeight = o, this.columnDefs = s, this.type = "AreaModelTree", this.sorterService = new be(), this.service = new Ge(), this.properties = s.map((i) => i.property), this.flattenRows = this.service.flattenTree(t), this.filteredFlattenRows = [...this.flattenRows];
2578
2627
  }
2579
2628
  changeColumnOrder(e, t) {
2580
2629
  this.arrayMove(this.properties, e, t), super.changeColumnOrder(e, t);
@@ -2676,7 +2725,7 @@ class se extends q {
2676
2725
  s.children && this.treeSort(s.children, t, o);
2677
2726
  }
2678
2727
  }
2679
- class ie {
2728
+ class re {
2680
2729
  constructor(e = []) {
2681
2730
  this.allRootNodes = e;
2682
2731
  }
@@ -2736,12 +2785,12 @@ class ie {
2736
2785
  o.checked && t.push(o), o.children && this.addSelectedRecursive(o.children, t);
2737
2786
  }
2738
2787
  }
2739
- class re {
2788
+ class le {
2740
2789
  constructor(e = 0, t = 0, o = 0, s = 0) {
2741
2790
  this.top = e, this.right = t, this.bottom = o, this.left = s;
2742
2791
  }
2743
2792
  }
2744
- class Ge {
2793
+ class Ne {
2745
2794
  constructor() {
2746
2795
  this.checkedRows = [];
2747
2796
  }
@@ -2772,11 +2821,11 @@ class Ge {
2772
2821
  }
2773
2822
  }
2774
2823
  }
2775
- class G {
2776
- constructor(e, t, o, s = 0, i = 0, r = !1, l = new P(), n = [], d = [], a = -1, c = 0, u = 400, m = () => {
2824
+ class N {
2825
+ constructor(e, t, o, s = 0, i = 0, r = !1, l = new V(), n = [], d = [], a = -1, c = 0, u = 400, m = () => {
2777
2826
  }) {
2778
2827
  var b, w, g, p;
2779
- this.headerAreaModel = e, this.bodyAreaModel = t, this.footerAreaModel = o, this.fixedLeftColumnCount = s, this.fixedRightColumnCount = i, this.rowCheckboxVisible = r, this.defaultRowHeights = l, this.columnDefs = n, this.columnSizes = d, this.overridingColumnWidth = a, this.columnCount = c, this.parentSize = u, this.getSelectionModel = m, this.rowCount = 0, this.contentHeightInPx = 0, this.contentWidthInPx = 0, this.padding = new re(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 : (w = this.columnSizes) != null && w.length && (this.columnCount = (g = this.columnSizes) == null ? void 0 : g.length)), (p = this.columnDefs) != null && p.length && pe(this.columnDefs[0]) && !t.rowSelectionModel && (t.rowSelectionModel = new Ge());
2828
+ this.headerAreaModel = e, this.bodyAreaModel = t, this.footerAreaModel = o, this.fixedLeftColumnCount = s, this.fixedRightColumnCount = i, this.rowCheckboxVisible = r, this.defaultRowHeights = l, this.columnDefs = n, this.columnSizes = d, this.overridingColumnWidth = a, this.columnCount = c, this.parentSize = u, this.getSelectionModel = m, this.rowCount = 0, this.contentHeightInPx = 0, this.contentWidthInPx = 0, this.padding = new le(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 : (w = this.columnSizes) != null && w.length && (this.columnCount = (g = this.columnSizes) == null ? void 0 : g.length)), (p = this.columnDefs) != null && p.length && fe(this.columnDefs[0]) && !t.rowSelectionModel && (t.rowSelectionModel = new Ne());
2780
2829
  }
2781
2830
  init() {
2782
2831
  this.recalcSize(this.parentSize), this.overridingColumnWidth === -1 && this.calcXPositions(), this.headerAreaModel && this.headerAreaModel.init(), this.bodyAreaModel && this.bodyAreaModel.init(), this.footerAreaModel && this.footerAreaModel.init();
@@ -2857,7 +2906,7 @@ class G {
2857
2906
  */
2858
2907
  recalcPadding() {
2859
2908
  const e = this.getSideAreaWidth("west"), t = this.getSideAreaWidth("east"), o = this.getAreaHeight("header"), s = this.getAreaHeight("footer");
2860
- this.padding = new re(
2909
+ this.padding = new le(
2861
2910
  o,
2862
2911
  t,
2863
2912
  s,
@@ -3121,9 +3170,9 @@ class G {
3121
3170
  this.xPositions[t + 1] = this.getColumnWidth(t) + this.xPositions[t];
3122
3171
  }
3123
3172
  }
3124
- class Ne extends q {
3173
+ class ze extends J {
3125
3174
  constructor(e, t, o, s = []) {
3126
- super(e, s, o), this.areaIdent = e, this.rows = t, this.defaultRowHeight = o, this.columnDefs = s, this.sorterService = new ge(), this.filteredRows = [...t], this.properties = s.map((i) => i.property);
3175
+ super(e, s, o), this.areaIdent = e, this.rows = t, this.defaultRowHeight = o, this.columnDefs = s, this.sorterService = new be(), this.filteredRows = [...t], this.properties = s.map((i) => i.property);
3127
3176
  }
3128
3177
  getRowCount() {
3129
3178
  var e;
@@ -3174,7 +3223,7 @@ class Ne extends q {
3174
3223
  return s && t.length ? this.getPropertyValue(s, t) : s;
3175
3224
  }
3176
3225
  }
3177
- class le extends Ne {
3226
+ class ne extends ze {
3178
3227
  constructor(e, t, o, s) {
3179
3228
  super(
3180
3229
  e,
@@ -3191,7 +3240,7 @@ class L {
3191
3240
  if ((t = e.tableOptions) != null && t.defaultRowHeights)
3192
3241
  e.defaultRowHeights = e.tableOptions.defaultRowHeights;
3193
3242
  else {
3194
- if (e.defaultRowHeights = new P(), e.headerAreaModel && "defaultRowHeight" in e.headerAreaModel) {
3243
+ if (e.defaultRowHeights = new V(), e.headerAreaModel && "defaultRowHeight" in e.headerAreaModel) {
3195
3244
  const g = e.headerAreaModel.defaultRowHeight;
3196
3245
  g > -1 && (e.defaultRowHeights.header = g);
3197
3246
  }
@@ -3204,45 +3253,45 @@ class L {
3204
3253
  g > -1 && (e.defaultRowHeights.footer = g);
3205
3254
  }
3206
3255
  }
3207
- if (e.columnDefs === void 0 && ((o = e.properties) != null && o.length ? e.columnDefs = e.properties.map((g) => new H(g, g.toUpperCase(), oe)) : (s = e.rows) != null && s.length ? e.columnDefs = Object.keys(e.rows[0]).map((g) => new H(g, g.toUpperCase(), oe)) : e.columnDefs = []), e.columnCount === void 0 && ((i = e.columnDefs) != null && i.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 _(
3256
+ if (e.columnDefs === void 0 && ((o = e.properties) != null && o.length ? e.columnDefs = e.properties.map((g) => new H(g, g.toUpperCase(), se)) : (s = e.rows) != null && s.length ? e.columnDefs = Object.keys(e.rows[0]).map((g) => new H(g, g.toUpperCase(), se)) : e.columnDefs = []), e.columnCount === void 0 && ((i = e.columnDefs) != null && i.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(
3208
3257
  "header",
3209
3258
  e.headerData,
3210
3259
  e.defaultRowHeights.header,
3211
3260
  e.columnDefs
3212
- ) : (a = e.columnDefs) != null && a.length ? e.headerAreaModel = new _(
3261
+ ) : (a = e.columnDefs) != null && a.length ? e.headerAreaModel = new D(
3213
3262
  "header",
3214
3263
  [e.columnDefs.map((g) => g.headerLabel)],
3215
3264
  e.defaultRowHeights.header,
3216
3265
  e.columnDefs
3217
- ) : e.headerAreaModel = new D("header")), e.footerAreaModel || ((c = e.footerData) != null && c.length ? e.footerAreaModel = new _(
3266
+ ) : e.headerAreaModel = new _("header")), e.footerAreaModel || ((c = e.footerData) != null && c.length ? e.footerAreaModel = new D(
3218
3267
  "footer",
3219
3268
  e.footerData,
3220
3269
  e.defaultRowHeights.footer,
3221
3270
  e.columnDefs
3222
- ) : e.footerAreaModel = new D("footer")), !e.bodyAreaModel)
3271
+ ) : e.footerAreaModel = new _("footer")), !e.bodyAreaModel)
3223
3272
  if (e.rows)
3224
3273
  if ((u = e.rows) != null && u.length && O(e.rows[0])) {
3225
3274
  const g = e.rows;
3226
- e.bodyAreaModel = new se(
3275
+ e.bodyAreaModel = new ie(
3227
3276
  "body",
3228
3277
  g,
3229
3278
  e.defaultRowHeights.body,
3230
3279
  e.columnDefs
3231
- ), (e.columnDefs[0].property === "CheckboxColumn" || (m = e.tableOptions) != null && m.showCheckboxWihoutExtraColumn) && (e.bodyAreaModel.rowSelectionModel = new ie(g));
3280
+ ), (e.columnDefs[0].property === "CheckboxColumn" || (m = e.tableOptions) != null && m.showCheckboxWihoutExtraColumn) && (e.bodyAreaModel.rowSelectionModel = new re(g));
3232
3281
  } else
3233
- e.bodyAreaModel = new le(
3282
+ e.bodyAreaModel = new ne(
3234
3283
  "body",
3235
3284
  e.rows,
3236
3285
  e.columnDefs,
3237
3286
  e.defaultRowHeights.body
3238
3287
  );
3239
3288
  else
3240
- e.bodyData ? e.bodyAreaModel = new _(
3289
+ e.bodyData ? e.bodyAreaModel = new D(
3241
3290
  "body",
3242
3291
  e.bodyData,
3243
3292
  e.defaultRowHeights.body
3244
- ) : e.bodyAreaModel = new D("body");
3245
- return e.fixedLeftColumnCount === void 0 && (e.fixedLeftColumnCount = 0), e.fixedRightColumnCount === void 0 && (e.fixedRightColumnCount = 0), e.rowCheckboxVisible === void 0 && (e.rowCheckboxVisible = !1), e.overridingColumnWidth === void 0 && (e.overridingColumnWidth = -1), !e.getSelectionModel && ((b = e.tableOptions) != null && b.getSelectionModel) && (e.getSelectionModel = (w = e.tableOptions) == null ? void 0 : w.getSelectionModel), new G(
3293
+ ) : e.bodyAreaModel = new _("body");
3294
+ return e.fixedLeftColumnCount === void 0 && (e.fixedLeftColumnCount = 0), e.fixedRightColumnCount === void 0 && (e.fixedRightColumnCount = 0), e.rowCheckboxVisible === void 0 && (e.rowCheckboxVisible = !1), e.overridingColumnWidth === void 0 && (e.overridingColumnWidth = -1), !e.getSelectionModel && ((b = e.tableOptions) != null && b.getSelectionModel) && (e.getSelectionModel = (w = e.tableOptions) == null ? void 0 : w.getSelectionModel), new N(
3246
3295
  e.headerAreaModel,
3247
3296
  e.bodyAreaModel,
3248
3297
  e.footerAreaModel,
@@ -3262,24 +3311,24 @@ class L {
3262
3311
  return L.buildByTypedRows(
3263
3312
  e.rows ?? [],
3264
3313
  e.columnDefs,
3265
- e.tableOptions ?? new z(),
3314
+ e.tableOptions ?? new j(),
3266
3315
  e.fixedLeftColumnCount ?? 0,
3267
3316
  e.fixedRightColumnCount ?? 0
3268
3317
  );
3269
3318
  }
3270
- static buildByTypedRows(e, t, o = new z(), s = 0, i = 0) {
3319
+ static buildByTypedRows(e, t, o = new j(), s = 0, i = 0) {
3271
3320
  const r = o.defaultRowHeights, l = t[0].property === "CheckboxColumn";
3272
3321
  if (e != null && e.length && O(e[0])) {
3273
- const n = e, d = new se(
3322
+ const n = e, d = new ie(
3274
3323
  "body",
3275
3324
  n,
3276
3325
  r.body,
3277
3326
  t
3278
3327
  );
3279
- return (l || o.showCheckboxWihoutExtraColumn) && (d.rowSelectionModel = new ie(n)), L.createByAreaModelsParam({
3280
- headerAreaModel: new _("header", [t.map((a) => a.headerLabel)], r.header),
3328
+ return (l || o.showCheckboxWihoutExtraColumn) && (d.rowSelectionModel = new re(n)), L.createByAreaModelsParam({
3329
+ headerAreaModel: new D("header", [t.map((a) => a.headerLabel)], r.header),
3281
3330
  bodyAreaModel: d,
3282
- footerAreaModel: new _("footer", [], r.footer),
3331
+ footerAreaModel: new D("footer", [], r.footer),
3283
3332
  columnDefs: t,
3284
3333
  fixedLeftColumnCount: s,
3285
3334
  fixedRightColumnCount: i,
@@ -3307,13 +3356,13 @@ class L {
3307
3356
  e.fixedLeftColumnCount ?? 0,
3308
3357
  e.fixedRightColumnCount ?? 0,
3309
3358
  t,
3310
- e.defaultRowHeights ?? new P(),
3359
+ e.defaultRowHeights ?? new V(),
3311
3360
  e.columnDefs ?? [],
3312
3361
  e.columnSizes ?? []
3313
3362
  );
3314
3363
  }
3315
- static createByAreaModels(e = new D(), t, o = new D(), s = 0, i = 0, r = !1, l = new P(), n, d = [], a = -1, c) {
3316
- return new G(
3364
+ static createByAreaModels(e = new _(), t, o = new _(), s = 0, i = 0, r = !1, l = new V(), n, d = [], a = -1, c) {
3365
+ return new N(
3317
3366
  e,
3318
3367
  t,
3319
3368
  o,
@@ -3329,9 +3378,9 @@ class L {
3329
3378
  }
3330
3379
  static createByAreaModelsParam(e) {
3331
3380
  return L.createByAreaModels(
3332
- e.headerAreaModel ?? new D(),
3381
+ e.headerAreaModel ?? new _(),
3333
3382
  e.bodyAreaModel,
3334
- e.footerAreaModel ?? new D(),
3383
+ e.footerAreaModel ?? new _(),
3335
3384
  e.fixedLeftColumnCount ?? 0,
3336
3385
  e.fixedRightColumnCount ?? 0,
3337
3386
  e.rowCheckboxVisible === void 0 ? !1 : e.rowCheckboxVisible,
@@ -3342,11 +3391,11 @@ class L {
3342
3391
  e.columnCount ?? 0
3343
3392
  );
3344
3393
  }
3345
- static createByObjectArray(e, t = [], o = [], s = 0, i = 0, r = !1, l = new P(), n, d = []) {
3394
+ static createByObjectArray(e, t = [], o = [], s = 0, i = 0, r = !1, l = new V(), n, d = []) {
3346
3395
  let a;
3347
- t != null && t.length ? a = new _("header", t, l.header, n) : n != null && n.length ? a = new _("header", [n.map((m) => m.headerLabel)], l.header, n) : a = new D();
3348
- const c = o ? new _("footer", o, l.footer, n) : new D(), u = new le("body", e, n, l.body);
3349
- return new G(
3396
+ 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 _();
3397
+ const c = o ? new D("footer", o, l.footer, n) : new _(), u = new ne("body", e, n, l.body);
3398
+ return new N(
3350
3399
  a,
3351
3400
  u,
3352
3401
  c,
@@ -3359,7 +3408,7 @@ class L {
3359
3408
  );
3360
3409
  }
3361
3410
  }
3362
- const At = [
3411
+ const Et = [
3363
3412
  //"COPY_2_CLIPBOARD",
3364
3413
  "START_EDITING",
3365
3414
  "TOGGLE_SELECTION",
@@ -3377,17 +3426,17 @@ const At = [
3377
3426
  // "PAGEUP_PRESSED",
3378
3427
  // "PAGEDOWN_PRESSED"
3379
3428
  ];
3380
- class Et {
3429
+ class Mt {
3381
3430
  constructor(e, t) {
3382
3431
  this.tableModel = e, this.tableOptions = t;
3383
3432
  }
3384
3433
  }
3385
- class ze {
3434
+ class je {
3386
3435
  constructor(e, t, o, s, i, r, l) {
3387
3436
  this.emmitDataKey = e, this.emmitCancelKey = t, this.queryId = o, this.filter = s, this.sorting = i, this.startIndex = r, this.endIndex = l;
3388
3437
  }
3389
3438
  }
3390
- class Mt extends ze {
3439
+ class kt extends je {
3391
3440
  constructor(e, t, o, s, i, r, l, n) {
3392
3441
  super(
3393
3442
  e,
@@ -3400,30 +3449,30 @@ class Mt extends ze {
3400
3449
  ), this.rows = n;
3401
3450
  }
3402
3451
  }
3403
- class je {
3452
+ class Xe {
3404
3453
  constructor(e, t) {
3405
3454
  this.value = e, this.label = t;
3406
3455
  }
3407
3456
  }
3408
- class kt {
3457
+ class It {
3409
3458
  constructor(e, t) {
3410
3459
  this.index = e, this.px = t;
3411
3460
  }
3412
3461
  }
3413
- const It = { body: ["ge-table-text-align-left"] }, Tt = { body: ["ge-table-text-align-center"] }, _t = { body: ["ge-table-text-align-right"] }, Dt = {
3462
+ const Tt = { body: ["ge-table-text-align-left"] }, Dt = { body: ["ge-table-text-align-center"] }, _t = { body: ["ge-table-text-align-right"] }, $t = {
3414
3463
  header: ["ge-table-text-align-left"],
3415
3464
  body: ["ge-table-text-align-left"],
3416
3465
  footer: ["ge-table-text-align-left"]
3417
- }, $t = {
3466
+ }, Ft = {
3418
3467
  header: ["ge-table-text-align-center"],
3419
3468
  body: ["ge-table-text-align-center"],
3420
3469
  footer: ["ge-table-text-align-center"]
3421
- }, Ft = {
3470
+ }, Lt = {
3422
3471
  header: ["ge-table-text-align-right"],
3423
3472
  body: ["ge-table-text-align-right"],
3424
3473
  footer: ["ge-table-text-align-right"]
3425
3474
  };
3426
- class ne {
3475
+ class ae {
3427
3476
  render(e, t, o, s, i, r, l) {
3428
3477
  if (i.isRowCheckable(t)) {
3429
3478
  l.addClass(e, "ge-table-row-checkbox-div");
@@ -3441,9 +3490,9 @@ class ne {
3441
3490
  }
3442
3491
  }
3443
3492
  }
3444
- class Lt {
3493
+ class Pt {
3445
3494
  constructor() {
3446
- this.type = "CheckboxColumnDef", this.property = "CheckboxColumn", this.headerLabel = "", this.width = new f(50, "px"), this.minWidth = new f(50, "px"), this.maxWidth = new f(100, "px"), this.rendererMap = new T(new ne(), new ne(), void 0), this.classes = new T(
3495
+ this.type = "CheckboxColumnDef", this.property = "CheckboxColumn", this.headerLabel = "", this.width = new f(50, "px"), this.minWidth = new f(50, "px"), this.maxWidth = new f(100, "px"), this.rendererMap = new T(new ae(), new ae(), void 0), this.classes = new T(
3447
3496
  [],
3448
3497
  ["ge-table-text-align-left"],
3449
3498
  []
@@ -3465,7 +3514,7 @@ class Ot {
3465
3514
  );
3466
3515
  }
3467
3516
  }
3468
- class Pt {
3517
+ class Vt {
3469
3518
  constructor(e = "down", t) {
3470
3519
  this.status = e, this.originalEvent = t;
3471
3520
  }
@@ -3475,7 +3524,7 @@ class Ht {
3475
3524
  this.area = e, this.rowIndex = t, this.columnIndex = o, this.value = s, this.cssClasses = i;
3476
3525
  }
3477
3526
  }
3478
- class Vt {
3527
+ class Bt {
3479
3528
  constructor() {
3480
3529
  this.autoRestoreSortingState = !1, this.autoRestoreCollapsedExpandedState = !1, this.autoRestoreScrollPosition = !1, this.autoRestoreCheckedState = !1, this.autoRestoreSelectedState = !1, this.getStorageKeyFn = void 0, this.isSame = (e, t, o) => {
3481
3530
  if (e && t && o.getRowId) {
@@ -3500,12 +3549,12 @@ class Vt {
3500
3549
  };
3501
3550
  }
3502
3551
  }
3503
- class Xe {
3552
+ class Ke {
3504
3553
  constructor(e, t, o, s = !1, i = "normal", r = void 0) {
3505
3554
  this.data = e, this.property = t, this.toggle = o, this.closed = s, this.visibility = i, this.children = r, this.impl = "CellGroup";
3506
3555
  }
3507
3556
  }
3508
- class Ye extends Xe {
3557
+ class Ye extends Ke {
3509
3558
  constructor(e, t = 0, o = 0, s) {
3510
3559
  super(
3511
3560
  e.data,
@@ -3670,7 +3719,7 @@ class I {
3670
3719
  e.push(s.data + " rowIndex:" + s.rowIndex), (o = s.children) != null && o.length && I.iterateThrowColumns(e, s.children);
3671
3720
  }
3672
3721
  }
3673
- class Bt {
3722
+ class Wt {
3674
3723
  constructor() {
3675
3724
  this.areaIdent = "body", this.rowSelectionModel = void 0;
3676
3725
  }
@@ -3737,16 +3786,16 @@ class Bt {
3737
3786
  return !1;
3738
3787
  }
3739
3788
  }
3740
- class Ke {
3789
+ class Ue {
3741
3790
  render(e, t, o, s, i, r, l) {
3742
3791
  const n = r != null && r.data ? r.data : "";
3743
3792
  e.innerHTML = `${n}`;
3744
3793
  }
3745
3794
  }
3746
- class Wt {
3795
+ class Gt {
3747
3796
  constructor(e = "header", t, o = [], s) {
3748
3797
  var i;
3749
- this.areaIdent = e, this.groups = t, this.columnDefs = o, this.defaultRowHeight = s, this.gammaCells = !0, this.groupExts = [], this.cellGroupExtCellRenderer = new Ke(), this.groupExts = I.buildGroupExts(t), console.info(this.groupExts), console.info(this.getAllLeafs()), console.info(this.getMaxRowCount());
3798
+ this.areaIdent = e, this.groups = t, this.columnDefs = o, this.defaultRowHeight = s, this.gammaCells = !0, this.groupExts = [], this.cellGroupExtCellRenderer = new Ue(), this.groupExts = I.buildGroupExts(t), console.info(this.groupExts), console.info(this.getAllLeafs()), console.info(this.getMaxRowCount());
3750
3799
  for (const r of this.groupExts)
3751
3800
  r.log(this.getMaxRowCount());
3752
3801
  this.arr = this.buildArray(), !((i = this.columnDefs) != null && i.length) && e === "header" && (this.columnDefs = I.buildColumnDefs(t)), console.info("this.columnDefs", this.columnDefs), console.info("this.arr", this.arr);
@@ -3841,7 +3890,7 @@ class Wt {
3841
3890
  return !1;
3842
3891
  }
3843
3892
  }
3844
- class Gt {
3893
+ class Nt {
3845
3894
  filterPredict(e, t, o = this.objectToString.bind(this)) {
3846
3895
  if (!e)
3847
3896
  return !1;
@@ -3895,12 +3944,12 @@ class Gt {
3895
3944
  return t.join(" ").toLowerCase();
3896
3945
  }
3897
3946
  }
3898
- class Nt {
3947
+ class zt {
3899
3948
  static bodyRenderer(e) {
3900
3949
  return new T(void 0, e, void 0);
3901
3950
  }
3902
3951
  }
3903
- class zt {
3952
+ class jt {
3904
3953
  constructor(e, t = !0, o = !1) {
3905
3954
  this.property = e, this.skipCheckableCheck = t, this.readonly = o;
3906
3955
  }
@@ -3925,12 +3974,12 @@ class zt {
3925
3974
  }
3926
3975
  }
3927
3976
  }
3928
- class jt {
3977
+ class Xt {
3929
3978
  render(e, t, o, s, i, r, l) {
3930
3979
  r && (e.innerText = new Date(r).toISOString());
3931
3980
  }
3932
3981
  }
3933
- class Xt {
3982
+ class Kt {
3934
3983
  constructor() {
3935
3984
  this.formatter = new Intl.DateTimeFormat("de-DE", {
3936
3985
  year: "numeric",
@@ -3958,22 +4007,52 @@ class Yt {
3958
4007
  r && (e.innerText = new Date(r).toLocaleDateString());
3959
4008
  }
3960
4009
  }
3961
- class Kt {
4010
+ class Ut {
3962
4011
  render(e, t, o, s, i, r, l) {
3963
4012
  r === "male" || r === "m" ? e.innerText = "♂" : (r === "female" || r === "f") && (e.innerText = "♀");
3964
4013
  }
3965
4014
  }
3966
- class Ut {
4015
+ class qt {
4016
+ constructor(e = 100, t = !1) {
4017
+ this.maxValue = e, this.labelVisible = t;
4018
+ }
4019
+ render(e, t, o, s, i, r, l) {
4020
+ if (l.addClass(e, "ge-progressbar-div"), !isNaN(r)) {
4021
+ const d = Number(r) * 100 / this.maxValue, a = this.labelVisible ? Math.round(d) + "%" : "";
4022
+ e.innerHTML = `
4023
+ <div class="ge-table-label-div"
4024
+ data-row-index="${t}"
4025
+ data-col-index="${o}"
4026
+ data-area="${s}"
4027
+ title="${a}"
4028
+ style="position: relative; background: transparent; width: 100%; height: 100%;">
4029
+ <div class="ge-table-progress-container"
4030
+ style="width:100%;height:50%;padding:0;margin-top:6px;"
4031
+ data-row-index="${t}"
4032
+ data-col-index="${o}"
4033
+ data-area="${s}">
4034
+ <div class="ge-table-progress-bar"
4035
+ style="width:${d}%;height:100%;padding:0;margin:0;"
4036
+ data-row-index="${t}"
4037
+ data-col-index="${o}"
4038
+ data-area="${s}">&nbsp;
4039
+ </div>
4040
+ </div>
4041
+ </div>`;
4042
+ }
4043
+ }
4044
+ }
4045
+ class Jt {
3967
4046
  render(e, t, o, s, i, r, l) {
3968
4047
  r === "true" || r === !0 ? e.innerHTML = '<span class="ge-true-text-color">✅</span>' : r === "false" || r === !1 ? e.innerHTML = '<span class="ge-false-text-color">❌</span>' : e.innerText = "";
3969
4048
  }
3970
4049
  }
3971
- class qt {
4050
+ class Qt {
3972
4051
  render(e, t, o, s, i, r, l) {
3973
4052
  r && (e.innerText = new Date(r).toISOString().replace(/T/g, " ").replace(/\..*/g, ""));
3974
4053
  }
3975
4054
  }
3976
- class Jt {
4055
+ class Zt {
3977
4056
  constructor(e = Number.MIN_SAFE_INTEGER, t = Number.MAX_SAFE_INTEGER) {
3978
4057
  this.min = e, this.max = t;
3979
4058
  }
@@ -3981,7 +4060,7 @@ class Jt {
3981
4060
  r && (e.innerText = r, (typeof r == "string" || isNaN(r) || r < this.min || r > this.max) && l.addClass(e, "ge-cell-error"));
3982
4061
  }
3983
4062
  }
3984
- class Qt {
4063
+ class eo {
3985
4064
  constructor(e) {
3986
4065
  this.property = e;
3987
4066
  }
@@ -4000,7 +4079,7 @@ class Qt {
4000
4079
  }
4001
4080
  }
4002
4081
  }
4003
- class Zt {
4082
+ class to {
4004
4083
  constructor(e, t = 100, o = !1) {
4005
4084
  this.property = e, this.maxValue = t, this.labelVisible = o;
4006
4085
  }
@@ -4032,16 +4111,16 @@ class Zt {
4032
4111
  }
4033
4112
  }
4034
4113
  }
4035
- const eo = function(h, e, t) {
4114
+ const oo = function(h, e, t) {
4036
4115
  return h ? Number(h) : "";
4037
4116
  };
4038
- class be {
4117
+ class pe {
4039
4118
  constructor(e) {
4040
4119
  this.options = e;
4041
4120
  }
4042
4121
  static create(e) {
4043
- return new be(
4044
- e.map((t) => new je(t, t))
4122
+ return new pe(
4123
+ e.map((t) => new Xe(t, t))
4045
4124
  );
4046
4125
  }
4047
4126
  render(e, t, o, s, i, r, l) {
@@ -4069,162 +4148,164 @@ class be {
4069
4148
  }
4070
4149
  }
4071
4150
  }
4072
- class to {
4151
+ class so {
4073
4152
  constructor(e, t, o) {
4074
4153
  this.r = e, this.g = t, this.b = o;
4075
4154
  }
4076
4155
  }
4077
- class ae {
4156
+ class de {
4078
4157
  constructor(e, t, o, s) {
4079
4158
  this.minValue = e, this.minColor = t, this.maxValue = o, this.maxColor = s;
4080
4159
  }
4081
4160
  }
4082
- class B {
4161
+ class W {
4083
4162
  static normalize(e, t, o, s = 0, i = 1) {
4084
4163
  return (e - t) / (o - t) * (i - s) + s;
4085
4164
  }
4086
4165
  static getTwoColorGradientRGB(e, t) {
4087
- const o = B.normalize(e, t.minValue, t.maxValue, 0, 1), s = t.maxColor.r - t.minColor.r, i = t.maxColor.g - t.minColor.g, r = t.maxColor.b - t.minColor.b, l = s * o + t.minColor.r, n = i * o + t.minColor.g, d = r * o + t.minColor.b;
4166
+ const o = W.normalize(e, t.minValue, t.maxValue, 0, 1), s = t.maxColor.r - t.minColor.r, i = t.maxColor.g - t.minColor.g, r = t.maxColor.b - t.minColor.b, l = s * o + t.minColor.r, n = i * o + t.minColor.g, d = r * o + t.minColor.b;
4088
4167
  return `rgb(${Math.round(l)}, ${Math.round(n)}, ${Math.round(d)})`;
4089
4168
  }
4090
4169
  static getThreeColorGradientRGB(e, t) {
4091
- return e < t.middleValue ? B.getTwoColorGradientRGB(e, new ae(t.minValue, t.minColor, t.middleValue, t.middleColor)) : e > t.middleValue ? B.getTwoColorGradientRGB(e, new ae(t.middleValue, t.middleColor, t.maxValue, t.maxColor)) : `rgb(${t.middleColor.r}, ${t.middleColor.g}, ${t.middleColor.b})`;
4170
+ return e < t.middleValue ? W.getTwoColorGradientRGB(e, new de(t.minValue, t.minColor, t.middleValue, t.middleColor)) : e > t.middleValue ? W.getTwoColorGradientRGB(e, new de(t.middleValue, t.middleColor, t.maxValue, t.maxColor)) : `rgb(${t.middleColor.r}, ${t.middleColor.g}, ${t.middleColor.b})`;
4092
4171
  }
4093
4172
  }
4094
- class oo {
4173
+ class io {
4095
4174
  constructor(e, t, o, s, i, r) {
4096
4175
  this.minValue = e, this.minColor = t, this.middleValue = o, this.middleColor = s, this.maxValue = i, this.maxColor = r;
4097
4176
  }
4098
4177
  }
4099
4178
  export {
4100
- q as AbstractAreaModel,
4179
+ J as AbstractAreaModel,
4101
4180
  Ot as AreaMapFactory,
4102
- Bt as AreaModel,
4103
- _ as AreaModelArrayOfArrays,
4104
- Wt as AreaModelCellGroups,
4105
- D as AreaModelHidden,
4106
- le as AreaModelObjectArrayWithColumndefs,
4107
- Ne as AreaModelObjectyArray,
4108
- se as AreaModelTree,
4181
+ Wt as AreaModel,
4182
+ D as AreaModelArrayOfArrays,
4183
+ Gt as AreaModelCellGroups,
4184
+ _ as AreaModelHidden,
4185
+ ne as AreaModelObjectArrayWithColumndefs,
4186
+ ze as AreaModelObjectyArray,
4187
+ ie as AreaModelTree,
4109
4188
  T as AreaObjectMap,
4110
- Vt as AutoRestoreOptions,
4111
- Xe as CellGroup,
4189
+ Bt as AutoRestoreOptions,
4190
+ Ke as CellGroup,
4112
4191
  Ye as CellGroupExt,
4113
- Ke as CellGroupExtCellRenderer,
4192
+ Ue as CellGroupExtCellRenderer,
4114
4193
  M as CellRange,
4115
4194
  I as CellgroupFactory,
4116
- zt as CheckboxBooleanPropertyCellRenderer,
4117
- ne as CheckboxCellRenderer,
4118
- Lt as CheckboxColumnDef,
4119
- Ge as CheckboxModel,
4120
- Mt as ChunkData,
4121
- Ae as ColAndRowspanModel,
4122
- ye as CollapsedExpandedData,
4123
- to as ColorRgb,
4195
+ jt as CheckboxBooleanPropertyCellRenderer,
4196
+ ae as CheckboxCellRenderer,
4197
+ Pt as CheckboxColumnDef,
4198
+ Ne as CheckboxModel,
4199
+ kt as ChunkData,
4200
+ Ee as ColAndRowspanModel,
4201
+ Ce as CollapsedExpandedData,
4202
+ so as ColorRgb,
4124
4203
  H as ColumnDef,
4125
- fe as ConvenienceDomService,
4126
- ue as CssVars,
4127
- Xt as DateToIntlDDMMYYYYCellRenderer,
4128
- jt as DateToIsoCellRenderer,
4204
+ me as ConvenienceDomService,
4205
+ ge as CssVars,
4206
+ Kt as DateToIntlDDMMYYYYCellRenderer,
4207
+ Xt as DateToIsoCellRenderer,
4129
4208
  Yt as DateToLocaleDateCellRenderer,
4130
- qt as DateToTecCellRenderer,
4131
- P as DefaultRowHeights,
4132
- Re as EleScope,
4133
- Z as EventAdapter,
4134
- te as FalseFn,
4135
- Pe as FocusModel,
4136
- Ie as GeCellIndices,
4137
- B as GeCssColorUtil,
4138
- Gt as GeFilterService,
4139
- Pt as GeKeyEvent,
4140
- U as GeModelChangeEvent,
4141
- X as GeMouseEvent,
4209
+ Qt as DateToTecCellRenderer,
4210
+ V as DefaultRowHeights,
4211
+ Ae as EleScope,
4212
+ ee as EventAdapter,
4213
+ oe as FalseFn,
4214
+ Ve as FocusModel,
4215
+ Te as GeCellIndices,
4216
+ W as GeCssColorUtil,
4217
+ Nt as GeFilterService,
4218
+ Vt as GeKeyEvent,
4219
+ q as GeModelChangeEvent,
4220
+ K as GeMouseEvent,
4142
4221
  $ as GeoData,
4143
4222
  F as Icon,
4144
- kt as IndexAndPx,
4145
- Le as InputCellRenderer,
4146
- ke as InputHandler,
4147
- Kt as MaleFemaleToIconCellRenderer,
4148
- we as MouseHandler,
4149
- me as MouseTargetData,
4150
- Jt as NumberCellRenderer,
4151
- De as OsxShortcutActionIdMapping,
4152
- re as Padding,
4153
- Zt as ProgressBarCellRenderer,
4154
- Ee as RenderScope,
4155
- Nt as Renderer,
4156
- ze as RequestChunk,
4157
- be as SelectCellRenderer,
4223
+ It as IndexAndPx,
4224
+ Pe as InputCellRenderer,
4225
+ Ie as InputHandler,
4226
+ P as LicenseManager,
4227
+ Ut as MaleFemaleToIconCellRenderer,
4228
+ Se as MouseHandler,
4229
+ we as MouseTargetData,
4230
+ qt as NumberCellProgressBarCellRenderer,
4231
+ Zt as NumberCellRenderer,
4232
+ $e as OsxShortcutActionIdMapping,
4233
+ le as Padding,
4234
+ to as ProgressBarCellRenderer,
4235
+ Me as RenderScope,
4236
+ zt as Renderer,
4237
+ je as RequestChunk,
4238
+ pe as SelectCellRenderer,
4158
4239
  Oe as SelectionModel,
4159
- Te as SelectionService,
4160
- $e as ShortcutService,
4161
- Fe as SimpleDomService,
4240
+ De as SelectionService,
4241
+ Fe as ShortcutService,
4242
+ Le as SimpleDomService,
4162
4243
  f as Size,
4163
- Me as SortItem,
4164
- he as SortedOptions,
4165
- Qt as StarRatingCellRenderer,
4166
- Ce as StoreStateCollapsedExpandService,
4167
- xe as StoreStateScrollPosService,
4168
- ve as StoreStateSortingService,
4169
- Se as TableApi,
4244
+ ke as SortItem,
4245
+ ce as SortedOptions,
4246
+ eo as StarRatingCellRenderer,
4247
+ ve as StoreStateCollapsedExpandService,
4248
+ ye as StoreStateScrollPosService,
4249
+ Re as StoreStateSortingService,
4250
+ xe as TableApi,
4170
4251
  Ht as TableCellUpdateEvent,
4171
4252
  L as TableFactory,
4172
- G as TableModel,
4173
- Et as TableModelAndOptions,
4174
- z as TableOptions,
4175
- ce as TableScope,
4176
- oo as ThreeColorGradientArg,
4177
- ie as TreeCheckboxModel,
4178
- j as TreeFactory,
4179
- de as TreeOptions,
4180
- ee as TreeRow,
4181
- We as TreeRowService,
4182
- Ut as TrueFalseCellRenderer,
4183
- Be as TrueFn,
4184
- ae as TwoColorGradientArg,
4185
- je as ValueLabel,
4253
+ N as TableModel,
4254
+ Mt as TableModelAndOptions,
4255
+ j as TableOptions,
4256
+ ue as TableScope,
4257
+ io as ThreeColorGradientArg,
4258
+ re as TreeCheckboxModel,
4259
+ X as TreeFactory,
4260
+ he as TreeOptions,
4261
+ te as TreeRow,
4262
+ Ge as TreeRowService,
4263
+ Jt as TrueFalseCellRenderer,
4264
+ We as TrueFn,
4265
+ de as TwoColorGradientArg,
4266
+ Xe as ValueLabel,
4186
4267
  _e as WindowsShortcutActionIdMapping,
4187
- At as actionIds,
4188
- $t as allCenter,
4189
- Dt as allLeft,
4190
- Ft as allRight,
4191
- Tt as bodyCenter,
4192
- It as bodyLeft,
4268
+ Et as actionIds,
4269
+ Ft as allCenter,
4270
+ $t as allLeft,
4271
+ Lt as allRight,
4272
+ Dt as bodyCenter,
4273
+ Tt as bodyLeft,
4193
4274
  _t as bodyRight,
4194
- eo as editInputPipeForNumber,
4275
+ oo as editInputPipeForNumber,
4195
4276
  Y as getAreaIdentByString,
4196
- N as isAreaModelTree,
4197
- pe as isCheckboxColumnDef,
4277
+ z as isAreaModelTree,
4278
+ fe as isCheckboxColumnDef,
4198
4279
  O as isTreeRow,
4199
- Rt as px0,
4200
- vt as px10,
4201
- bt as px100,
4202
- gt as px110,
4203
- ut as px120,
4204
- ct as px130,
4205
- ht as px140,
4206
- dt as px150,
4207
- at as px160,
4208
- nt as px170,
4209
- lt as px180,
4210
- rt as px190,
4211
- Ct as px20,
4212
- oe as px200,
4213
- it as px210,
4214
- st as px220,
4215
- ot as px230,
4216
- tt as px240,
4217
- et as px250,
4218
- Ze as px260,
4219
- Qe as px270,
4220
- Je as px280,
4221
- qe as px290,
4222
- yt as px30,
4223
- Ue as px300,
4224
- xt as px40,
4225
- St as px50,
4226
- wt as px60,
4227
- mt as px70,
4228
- ft as px80,
4229
- pt as px90
4280
+ At as px0,
4281
+ Rt as px10,
4282
+ pt as px100,
4283
+ bt as px110,
4284
+ gt as px120,
4285
+ ut as px130,
4286
+ ct as px140,
4287
+ ht as px150,
4288
+ dt as px160,
4289
+ at as px170,
4290
+ nt as px180,
4291
+ lt as px190,
4292
+ vt as px20,
4293
+ se as px200,
4294
+ rt as px210,
4295
+ it as px220,
4296
+ st as px230,
4297
+ ot as px240,
4298
+ tt as px250,
4299
+ et as px260,
4300
+ Ze as px270,
4301
+ Qe as px280,
4302
+ Je as px290,
4303
+ Ct as px30,
4304
+ qe as px300,
4305
+ yt as px40,
4306
+ xt as px50,
4307
+ St as px60,
4308
+ wt as px70,
4309
+ mt as px80,
4310
+ ft as px90
4230
4311
  };