@guiexpert/table 1.1.4 → 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
- function P(h) {
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
+ }
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,12 +303,12 @@ 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)
285
310
  this.tableScope.toggleRowCheckbox(t.rowIdx, t.colIdx, t.areaIdent), e.preventDefault(), e.stopPropagation();
286
- else if (P(t.row) && t.areaModel) {
311
+ else if (O(t.row) && t.areaModel) {
287
312
  const o = t.colIdx === this.getArrowColumnIndex() && e.altKey, s = t.className.includes("ge-table-tree-arrow-div");
288
313
  if (console.info(s, o), o || s) {
289
314
  e.preventDefault(), e.stopPropagation();
@@ -310,7 +335,7 @@ class we {
310
335
  this.tableScope.tableModel.isSortable(r) && (this.tableScope.clearSelection(), this.tableScope.onHeaderDblClicked(e, i, r));
311
336
  else if (t.getAttribute("data-row-index")) {
312
337
  const n = l.getRowByIndex(i);
313
- if (o && s === "body" && l.isEditable(i, r) && (this.tableScope.clearSelection(), this.tableScope.initRenderEditor(i, r)), P(n) && r === this.getArrowColumnIndex()) {
338
+ if (o && s === "body" && l.isEditable(i, r) && (this.tableScope.clearSelection(), this.tableScope.initRenderEditor(i, r)), O(n) && r === this.getArrowColumnIndex()) {
314
339
  e.preventDefault(), e.stopPropagation();
315
340
  const d = n;
316
341
  d.expanded = !d.expanded, "recalcVisibleTreeRows" in l && l.recalcVisibleTreeRows(), this.tableScope.tableModel.recalcSize(this.tableScope.hostElement.clientWidth), this.tableScope.adjustContainersAndRows(), this.updateCollapsedExpandedState(d);
@@ -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
  }
@@ -485,7 +510,7 @@ class Se {
485
510
  this.tableScope.repaint();
486
511
  }
487
512
  }
488
- class K {
513
+ class U {
489
514
  constructor(e) {
490
515
  this.getStorageKeyFn = e;
491
516
  }
@@ -560,7 +585,7 @@ class K {
560
585
  // }
561
586
  // }
562
587
  }
563
- class xe extends K {
588
+ class ye extends U {
564
589
  constructor(e) {
565
590
  super(e), this.SCROLL_STATE = "scrollState", this.scrollOffset = [0, 0], this.load();
566
591
  }
@@ -582,14 +607,14 @@ class xe extends K {
582
607
  }
583
608
  }
584
609
  }
585
- class ye {
610
+ class Ce {
586
611
  constructor(e = "collapsed", t = [], o = !1, s = !1) {
587
612
  this.mode = e, this.rowIds = t, this.allCollapsed = o, this.allExpanded = s;
588
613
  }
589
614
  }
590
- class Ce extends K {
615
+ class ve extends U {
591
616
  constructor(e) {
592
- 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();
593
618
  }
594
619
  collapsedExpandedStateGet() {
595
620
  return this.collapsedExpandedState;
@@ -621,7 +646,7 @@ class Ce extends K {
621
646
  this.checkAndPersistItem(this.COLLAPSED_EXPANDED_STATE, this.collapsedExpandedState);
622
647
  }
623
648
  }
624
- class ve extends K {
649
+ class Re extends U {
625
650
  constructor(e) {
626
651
  super(e), this.SORTING_STATE = "sortingState", this.sortItems = [], this.load();
627
652
  }
@@ -648,7 +673,7 @@ class $ {
648
673
  this.left = e, this.width = t, this.height = o, this.top = s, this.index = i;
649
674
  }
650
675
  }
651
- class Re {
676
+ class Ae {
652
677
  constructor(e, t, o, s) {
653
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 $();
654
679
  const i = this.hostElement;
@@ -834,7 +859,7 @@ class M {
834
859
  return e >= this.r1 && e <= this.r2 && t >= this.c1 && t <= this.c2;
835
860
  }
836
861
  }
837
- class Ae {
862
+ class Ee {
838
863
  constructor(e, t) {
839
864
  this.tableModel = e, this.areaModel = t, this.colAndRowspanRanges = void 0;
840
865
  }
@@ -872,17 +897,17 @@ class T {
872
897
  this.header = e, this.body = t, this.footer = o;
873
898
  }
874
899
  }
875
- class Ee extends Re {
900
+ class Me extends Ae {
876
901
  constructor(e, t, o, s) {
877
902
  var r, l;
878
903
  super(e, t, o, s), this.scrollLeft = 0, this.scrollViewportLeft = 0, this.scrollFactorY = 0, this.scrollFactorX = 0, this.cleanupFunctions = {
879
904
  header: [],
880
905
  body: [],
881
906
  footer: []
882
- }, 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(
883
908
  (n) => {
884
909
  var d;
885
- 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();
886
911
  }
887
912
  );
888
913
  }
@@ -1060,8 +1085,8 @@ class Ee extends Re {
1060
1085
  { cursor: "pointer" }
1061
1086
  ), k = this.tableOptions.treeOptions.arrowExpandCollapseAll;
1062
1087
  if (k) {
1063
- const H = this.dom.domService.createText(k.content);
1064
- this.dom.domService.appendChild(E, H), 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);
1065
1090
  }
1066
1091
  }
1067
1092
  }
@@ -1234,12 +1259,12 @@ class Ee extends Re {
1234
1259
  lastRowOfModel: c,
1235
1260
  gammaRange: u
1236
1261
  }) {
1237
- var Q;
1262
+ var Z;
1238
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);
1239
1264
  let p = "none";
1240
- if (i === this.getTreeArrowColumnIndex() && P(g)) {
1265
+ if (i === this.getTreeArrowColumnIndex() && O(g)) {
1241
1266
  const S = g;
1242
- (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";
1243
1268
  }
1244
1269
  let C;
1245
1270
  if (t === "header") {
@@ -1262,19 +1287,19 @@ class Ee extends Re {
1262
1287
  E && this.dom.setAttribute(A, "title", E);
1263
1288
  const k = this.tableModel.getColumnDef(i);
1264
1289
  k && k.classes[t] && this.dom.addClasses(k.classes[t], A);
1265
- let H;
1266
- b && (H = b.render(A, s, i, t, e, v, this.dom.domService));
1267
- const J = e.getCustomClassesAt(s, i);
1268
- 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") {
1269
1294
  const S = this.getFocusModel();
1270
1295
  S != null && S.hasFocus(s, i) && this.dom.addFocusBorderDivs(a, w, {});
1271
1296
  }
1272
1297
  t === "header" && this.dom.setAttribute(A, "data-ge-action", "drag-column");
1273
- const W = e.getCustomStyleAt(s, i);
1274
- if (W)
1275
- for (const S in W)
1276
- this.dom.setStyle(A, S, W[S]);
1277
- return [A, H];
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];
1278
1303
  }
1279
1304
  applyCssClasses(e, t = {}) {
1280
1305
  e && Object.entries(t).forEach(([o, s]) => {
@@ -1411,12 +1436,12 @@ class Ee extends Re {
1411
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);
1412
1437
  }
1413
1438
  }
1414
- class Me {
1439
+ class ke {
1415
1440
  constructor(e, t) {
1416
1441
  this.columnIndex = e, this.sortState = t;
1417
1442
  }
1418
1443
  }
1419
- class ke {
1444
+ class Ie {
1420
1445
  constructor(e) {
1421
1446
  this.tableScope = e, this.tableScope.hostElement.addEventListener("change", this.onHostElementChanged.bind(this));
1422
1447
  }
@@ -1438,20 +1463,20 @@ class ke {
1438
1463
  }
1439
1464
  }
1440
1465
  }
1441
- class Ie {
1466
+ class Te {
1442
1467
  constructor(e = -1, t = -1) {
1443
1468
  this.rowIndex = e, this.columnIndex = t;
1444
1469
  }
1445
1470
  }
1446
- class U {
1471
+ class q {
1447
1472
  constructor(e) {
1448
1473
  this.cells = e;
1449
1474
  }
1450
1475
  static createSingle(e, t) {
1451
- return new U([new Ie(e, t)]);
1476
+ return new q([new Te(e, t)]);
1452
1477
  }
1453
1478
  }
1454
- class Te {
1479
+ class De {
1455
1480
  constructor(e) {
1456
1481
  var t, o;
1457
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);
@@ -1510,7 +1535,7 @@ class _e {
1510
1535
  };
1511
1536
  }
1512
1537
  }
1513
- class De {
1538
+ class $e {
1514
1539
  get() {
1515
1540
  return {
1516
1541
  f2: "START_EDITING",
@@ -1530,7 +1555,7 @@ class De {
1530
1555
  };
1531
1556
  }
1532
1557
  }
1533
- class $e {
1558
+ class Fe {
1534
1559
  constructor(e) {
1535
1560
  this.tableScope = e, this.shortcutActionIdMapping = {}, this.listener = [], this.listener.push(e), this.init();
1536
1561
  }
@@ -1538,7 +1563,7 @@ class $e {
1538
1563
  this.listener.includes(e) || this.listener.push(e);
1539
1564
  }
1540
1565
  init() {
1541
- 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));
1542
1567
  }
1543
1568
  isMacintosh() {
1544
1569
  return navigator.platform.indexOf("Mac") > -1;
@@ -1582,7 +1607,7 @@ class $e {
1582
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();
1583
1608
  }
1584
1609
  }
1585
- class Z {
1610
+ class ee {
1586
1611
  onCheckboxChanged(e) {
1587
1612
  }
1588
1613
  onContextmenu(e) {
@@ -1598,7 +1623,7 @@ class Z {
1598
1623
  onMouseMoved(e) {
1599
1624
  }
1600
1625
  }
1601
- class Fe {
1626
+ class Le {
1602
1627
  setStyle(e, t, o) {
1603
1628
  return e.style[t] = o, e;
1604
1629
  }
@@ -1625,7 +1650,7 @@ class Fe {
1625
1650
  e.setAttribute(t, o);
1626
1651
  }
1627
1652
  }
1628
- class Le {
1653
+ class Pe {
1629
1654
  render(e, t, o, s, i, r, l) {
1630
1655
  if (i.isEditable(t, o)) {
1631
1656
  l.addClass(e, "ge-table-row-input-div");
@@ -1646,7 +1671,7 @@ class Le {
1646
1671
  }
1647
1672
  }
1648
1673
  }
1649
- class Pe {
1674
+ class Oe {
1650
1675
  constructor(e = "none", t = "single") {
1651
1676
  this.selectionType = e, this.selectionMode = t, this.ranges = [], this.negativeRanges = [], this.allSelected = !1;
1652
1677
  }
@@ -1690,7 +1715,7 @@ class Pe {
1690
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));
1691
1716
  }
1692
1717
  }
1693
- class Oe {
1718
+ class Ve {
1694
1719
  constructor(e = "none") {
1695
1720
  this.selectionType = e, this.rowIndex = -1, this.columnIndex = -1, this.changed = !1;
1696
1721
  }
@@ -1713,29 +1738,29 @@ class Oe {
1713
1738
  return [this.rowIndex, this.columnIndex];
1714
1739
  }
1715
1740
  }
1716
- const Ve = new Pe(), He = new Oe("cell");
1717
- class z {
1741
+ const He = new Oe(), Be = new Ve("cell");
1742
+ class j {
1718
1743
  constructor() {
1719
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 = {
1720
1745
  header: 34,
1721
1746
  body: 34,
1722
1747
  footer: 34
1723
- }, 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 = () => Ve, this.getFocusModel = () => He;
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;
1724
1749
  }
1725
1750
  }
1726
- class ce extends Ee {
1751
+ class ue extends Me {
1727
1752
  constructor(e, t, o, s, i) {
1728
1753
  var r;
1729
1754
  if (super(
1730
1755
  e,
1731
1756
  t,
1732
- new fe(o),
1757
+ new me(o),
1733
1758
  s
1734
- ), 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) {
1735
1760
  const l = this.tableOptions.autoRestoreOptions, n = l.getStorageKeyFn;
1736
- 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)));
1737
1762
  }
1738
- 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);
1739
1764
  }
1740
1765
  /**
1741
1766
  * Creates a TableScope instance.
@@ -1748,8 +1773,8 @@ class ce extends Ee {
1748
1773
  *
1749
1774
  * @return {TableScope} - The newly created TableScope instance.
1750
1775
  */
1751
- static create(e, t, o = new z(), s = new Z(), i = new Fe()) {
1752
- return new ce(
1776
+ static create(e, t, o = new j(), s = new ee(), i = new Le()) {
1777
+ return new ue(
1753
1778
  e,
1754
1779
  t,
1755
1780
  i,
@@ -1771,7 +1796,7 @@ class ce extends Ee {
1771
1796
  return !1;
1772
1797
  }
1773
1798
  updateModelValueAfterEdit(e, t, o, s) {
1774
- 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());
1775
1800
  }
1776
1801
  /**
1777
1802
  * Retrieves the TableApi object.
@@ -1800,7 +1825,7 @@ class ce extends Ee {
1800
1825
  * @return {GeMouseEvent} - The created GeMouseEvent object.
1801
1826
  */
1802
1827
  createGeMouseEvent(e) {
1803
- const t = new X();
1828
+ const t = new K();
1804
1829
  if (t.originalEvent = e, e) {
1805
1830
  const o = e.target;
1806
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) {
@@ -1869,7 +1894,7 @@ class ce extends Ee {
1869
1894
  toggleExpandCollapseAll(e = !0) {
1870
1895
  var o;
1871
1896
  const t = this.tableModel.getBodyModel();
1872
- 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));
1873
1898
  }
1874
1899
  /**
1875
1900
  * Toggles the checkbox state of a specific row in a table.
@@ -1926,7 +1951,7 @@ class ce extends Ee {
1926
1951
  const s = this.tableModel.getColumnDef(o);
1927
1952
  if (s != null && s.sortable && s.sortable()) {
1928
1953
  e.preventDefault(), e.stopPropagation();
1929
- 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);
1930
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]);
1931
1956
  }
1932
1957
  }
@@ -2016,7 +2041,7 @@ class ce extends Ee {
2016
2041
  const o = this.tableOptions.autoRestoreOptions, s = o.getRowId;
2017
2042
  if (o.autoRestoreCollapsedExpandedState && s) {
2018
2043
  const i = this.storeStateCollapsedExpandService.collapsedExpandedStateGet(), r = this.tableModel.getAreaModel("body");
2019
- if (N(r)) {
2044
+ if (z(r)) {
2020
2045
  const l = r, n = r.getRowCount();
2021
2046
  for (let d = 0; d < n; d++) {
2022
2047
  const a = r.getRowByIndex(d);
@@ -2058,10 +2083,10 @@ class ce extends Ee {
2058
2083
  this.scrollToPixel(0, s);
2059
2084
  }
2060
2085
  }
2061
- class ue {
2086
+ class ge {
2062
2087
  }
2063
- ue.themes = ["light", "combat", "paper", "blackboard"];
2064
- ue.vars = {
2088
+ ge.themes = ["light", "combat", "paper", "blackboard"];
2089
+ ge.vars = {
2065
2090
  light: `html[data-theme="light"] {
2066
2091
  --ge-table-bg: rgba(255,255,255, 0.5);
2067
2092
  --ge-table-header-west-bg: rgba(233, 233, 233, 0.5);
@@ -2295,27 +2320,27 @@ ue.vars = {
2295
2320
  --ge-table-drop-zone-bg: #758129;
2296
2321
  }`
2297
2322
  };
2298
- class ee {
2323
+ class te {
2299
2324
  constructor(e, t = !0, o, s, i = 0, r = !1, l = !1) {
2300
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";
2301
2326
  }
2302
2327
  }
2303
- class j {
2328
+ class X {
2304
2329
  static buildTreeRows(e, t = "children", o = 12) {
2305
2330
  const s = [];
2306
2331
  for (const i of e)
2307
- s.push(j.buildTreeRow(i, t, void 0, 0, o));
2332
+ s.push(X.buildTreeRow(i, t, void 0, 0, o));
2308
2333
  return s;
2309
2334
  }
2310
- 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) {
2311
2336
  var l;
2312
2337
  if (s > i)
2313
2338
  return console.warn("Max deep limit reached: ", s), o;
2314
2339
  const r = e[t];
2315
2340
  if (r)
2316
2341
  for (const n of r) {
2317
- const d = new ee(n, !0, [], o, s + 1);
2318
- 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(
2319
2344
  n,
2320
2345
  t,
2321
2346
  d,
@@ -2326,7 +2351,7 @@ class j {
2326
2351
  return o;
2327
2352
  }
2328
2353
  }
2329
- class O {
2354
+ class V {
2330
2355
  constructor(e = 34, t = 34, o = 34) {
2331
2356
  this.header = e, this.body = t, this.footer = o;
2332
2357
  }
@@ -2336,8 +2361,8 @@ class f {
2336
2361
  this.value = e, this.unit = t;
2337
2362
  }
2338
2363
  }
2339
- const Be = () => !0, te = () => !1;
2340
- class V {
2364
+ const We = () => !0, oe = () => !1;
2365
+ class H {
2341
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) {
2342
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;
2343
2368
  }
@@ -2357,8 +2382,8 @@ class V {
2357
2382
  e.headerClasses,
2358
2383
  e.bodyClasses,
2359
2384
  e.footerClasses
2360
- ), s = e.sortIconVisible ?? e.sortable ?? te, i = e.editable ?? e.editable ?? te, r = e.isVisible ?? e.isVisible ?? Be;
2361
- return new V(
2385
+ ), s = e.sortIconVisible ?? e.sortable ?? oe, i = e.editable ?? e.editable ?? oe, r = e.isVisible ?? e.isVisible ?? We;
2386
+ return new H(
2362
2387
  e.property ?? "",
2363
2388
  e.headerLabel ?? "",
2364
2389
  e.width ?? new f(100, "px"),
@@ -2378,8 +2403,8 @@ class V {
2378
2403
  );
2379
2404
  }
2380
2405
  }
2381
- 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");
2382
- 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 {
2383
2408
  constructor(e, t = [], o = -1) {
2384
2409
  this.areaIdent = e, this.columnDefs = t, this.defaultRowHeight = o, this.rowSelectionModel = void 0, this.yPositions = [], this.cellRenderers = t.map((s) => s.rendererMap[e]);
2385
2410
  }
@@ -2470,7 +2495,7 @@ class q {
2470
2495
  this.yPositions[t + 1] = this.getRowHeight(t) + this.yPositions[t];
2471
2496
  }
2472
2497
  }
2473
- class _ extends q {
2498
+ class D extends J {
2474
2499
  constructor(e, t, o, s = []) {
2475
2500
  super(e, s, o), this.areaIdent = e, this.arr = t, this.defaultRowHeight = o, this.columnDefs = s, this.filteredArr = [...t];
2476
2501
  }
@@ -2498,7 +2523,7 @@ class _ extends q {
2498
2523
  this.filteredArr.forEach((o) => this.arrayMove(o, e, t)), super.changeColumnOrder(e, t);
2499
2524
  }
2500
2525
  }
2501
- class D {
2526
+ class _ {
2502
2527
  constructor(e = "body") {
2503
2528
  this.areaIdent = e, this.rowSelectionModel = void 0;
2504
2529
  }
@@ -2567,7 +2592,7 @@ class D {
2567
2592
  changeColumnOrder(e, t) {
2568
2593
  }
2569
2594
  }
2570
- class We {
2595
+ class Ge {
2571
2596
  flattenTree(e, t = []) {
2572
2597
  var o;
2573
2598
  for (const s of e)
@@ -2578,7 +2603,7 @@ class We {
2578
2603
  return e.parent ? e.parent.expanded ? this.isVisible(e.parent) : !1 : !0;
2579
2604
  }
2580
2605
  }
2581
- class ge {
2606
+ class be {
2582
2607
  genericSortComparator(e, t, o) {
2583
2608
  if (typeof e == "number" && typeof t == "number")
2584
2609
  return o * (e - t);
@@ -2596,9 +2621,9 @@ class ge {
2596
2621
  return o * ("" + e).localeCompare("" + t);
2597
2622
  }
2598
2623
  }
2599
- class se extends q {
2624
+ class ie extends J {
2600
2625
  constructor(e, t, o, s = []) {
2601
- 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];
2602
2627
  }
2603
2628
  changeColumnOrder(e, t) {
2604
2629
  this.arrayMove(this.properties, e, t), super.changeColumnOrder(e, t);
@@ -2700,7 +2725,7 @@ class se extends q {
2700
2725
  s.children && this.treeSort(s.children, t, o);
2701
2726
  }
2702
2727
  }
2703
- class ie {
2728
+ class re {
2704
2729
  constructor(e = []) {
2705
2730
  this.allRootNodes = e;
2706
2731
  }
@@ -2760,12 +2785,12 @@ class ie {
2760
2785
  o.checked && t.push(o), o.children && this.addSelectedRecursive(o.children, t);
2761
2786
  }
2762
2787
  }
2763
- class re {
2788
+ class le {
2764
2789
  constructor(e = 0, t = 0, o = 0, s = 0) {
2765
2790
  this.top = e, this.right = t, this.bottom = o, this.left = s;
2766
2791
  }
2767
2792
  }
2768
- class Ge {
2793
+ class Ne {
2769
2794
  constructor() {
2770
2795
  this.checkedRows = [];
2771
2796
  }
@@ -2796,11 +2821,11 @@ class Ge {
2796
2821
  }
2797
2822
  }
2798
2823
  }
2799
- class G {
2800
- constructor(e, t, o, s = 0, i = 0, r = !1, l = new O(), 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 = () => {
2801
2826
  }) {
2802
2827
  var b, w, g, p;
2803
- 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());
2804
2829
  }
2805
2830
  init() {
2806
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();
@@ -2881,7 +2906,7 @@ class G {
2881
2906
  */
2882
2907
  recalcPadding() {
2883
2908
  const e = this.getSideAreaWidth("west"), t = this.getSideAreaWidth("east"), o = this.getAreaHeight("header"), s = this.getAreaHeight("footer");
2884
- this.padding = new re(
2909
+ this.padding = new le(
2885
2910
  o,
2886
2911
  t,
2887
2912
  s,
@@ -3145,9 +3170,9 @@ class G {
3145
3170
  this.xPositions[t + 1] = this.getColumnWidth(t) + this.xPositions[t];
3146
3171
  }
3147
3172
  }
3148
- class Ne extends q {
3173
+ class ze extends J {
3149
3174
  constructor(e, t, o, s = []) {
3150
- 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);
3151
3176
  }
3152
3177
  getRowCount() {
3153
3178
  var e;
@@ -3156,7 +3181,7 @@ class Ne extends q {
3156
3181
  getValueAt(e, t) {
3157
3182
  const o = this.properties[t];
3158
3183
  let s = this.filteredRows[e];
3159
- return P(s) && (s = s.data), s ? this.getValueByT(s, o) : "";
3184
+ return O(s) && (s = s.data), s ? this.getValueByT(s, o) : "";
3160
3185
  }
3161
3186
  getFilteredRows() {
3162
3187
  return this.filteredRows;
@@ -3198,7 +3223,7 @@ class Ne extends q {
3198
3223
  return s && t.length ? this.getPropertyValue(s, t) : s;
3199
3224
  }
3200
3225
  }
3201
- class le extends Ne {
3226
+ class ne extends ze {
3202
3227
  constructor(e, t, o, s) {
3203
3228
  super(
3204
3229
  e,
@@ -3215,7 +3240,7 @@ class L {
3215
3240
  if ((t = e.tableOptions) != null && t.defaultRowHeights)
3216
3241
  e.defaultRowHeights = e.tableOptions.defaultRowHeights;
3217
3242
  else {
3218
- if (e.defaultRowHeights = new O(), e.headerAreaModel && "defaultRowHeight" in e.headerAreaModel) {
3243
+ if (e.defaultRowHeights = new V(), e.headerAreaModel && "defaultRowHeight" in e.headerAreaModel) {
3219
3244
  const g = e.headerAreaModel.defaultRowHeight;
3220
3245
  g > -1 && (e.defaultRowHeights.header = g);
3221
3246
  }
@@ -3228,45 +3253,45 @@ class L {
3228
3253
  g > -1 && (e.defaultRowHeights.footer = g);
3229
3254
  }
3230
3255
  }
3231
- if (e.columnDefs === void 0 && ((o = e.properties) != null && o.length ? e.columnDefs = e.properties.map((g) => new V(g, g.toUpperCase(), oe)) : (s = e.rows) != null && s.length ? e.columnDefs = Object.keys(e.rows[0]).map((g) => new V(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(
3232
3257
  "header",
3233
3258
  e.headerData,
3234
3259
  e.defaultRowHeights.header,
3235
3260
  e.columnDefs
3236
- ) : (a = e.columnDefs) != null && a.length ? e.headerAreaModel = new _(
3261
+ ) : (a = e.columnDefs) != null && a.length ? e.headerAreaModel = new D(
3237
3262
  "header",
3238
3263
  [e.columnDefs.map((g) => g.headerLabel)],
3239
3264
  e.defaultRowHeights.header,
3240
3265
  e.columnDefs
3241
- ) : 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(
3242
3267
  "footer",
3243
3268
  e.footerData,
3244
3269
  e.defaultRowHeights.footer,
3245
3270
  e.columnDefs
3246
- ) : e.footerAreaModel = new D("footer")), !e.bodyAreaModel)
3271
+ ) : e.footerAreaModel = new _("footer")), !e.bodyAreaModel)
3247
3272
  if (e.rows)
3248
- if ((u = e.rows) != null && u.length && P(e.rows[0])) {
3273
+ if ((u = e.rows) != null && u.length && O(e.rows[0])) {
3249
3274
  const g = e.rows;
3250
- e.bodyAreaModel = new se(
3275
+ e.bodyAreaModel = new ie(
3251
3276
  "body",
3252
3277
  g,
3253
3278
  e.defaultRowHeights.body,
3254
3279
  e.columnDefs
3255
- ), (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));
3256
3281
  } else
3257
- e.bodyAreaModel = new le(
3282
+ e.bodyAreaModel = new ne(
3258
3283
  "body",
3259
3284
  e.rows,
3260
3285
  e.columnDefs,
3261
3286
  e.defaultRowHeights.body
3262
3287
  );
3263
3288
  else
3264
- e.bodyData ? e.bodyAreaModel = new _(
3289
+ e.bodyData ? e.bodyAreaModel = new D(
3265
3290
  "body",
3266
3291
  e.bodyData,
3267
3292
  e.defaultRowHeights.body
3268
- ) : e.bodyAreaModel = new D("body");
3269
- 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(
3270
3295
  e.headerAreaModel,
3271
3296
  e.bodyAreaModel,
3272
3297
  e.footerAreaModel,
@@ -3286,24 +3311,24 @@ class L {
3286
3311
  return L.buildByTypedRows(
3287
3312
  e.rows ?? [],
3288
3313
  e.columnDefs,
3289
- e.tableOptions ?? new z(),
3314
+ e.tableOptions ?? new j(),
3290
3315
  e.fixedLeftColumnCount ?? 0,
3291
3316
  e.fixedRightColumnCount ?? 0
3292
3317
  );
3293
3318
  }
3294
- static buildByTypedRows(e, t, o = new z(), s = 0, i = 0) {
3319
+ static buildByTypedRows(e, t, o = new j(), s = 0, i = 0) {
3295
3320
  const r = o.defaultRowHeights, l = t[0].property === "CheckboxColumn";
3296
- if (e != null && e.length && P(e[0])) {
3297
- const n = e, d = new se(
3321
+ if (e != null && e.length && O(e[0])) {
3322
+ const n = e, d = new ie(
3298
3323
  "body",
3299
3324
  n,
3300
3325
  r.body,
3301
3326
  t
3302
3327
  );
3303
- return (l || o.showCheckboxWihoutExtraColumn) && (d.rowSelectionModel = new ie(n)), L.createByAreaModelsParam({
3304
- 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),
3305
3330
  bodyAreaModel: d,
3306
- footerAreaModel: new _("footer", [], r.footer),
3331
+ footerAreaModel: new D("footer", [], r.footer),
3307
3332
  columnDefs: t,
3308
3333
  fixedLeftColumnCount: s,
3309
3334
  fixedRightColumnCount: i,
@@ -3331,13 +3356,13 @@ class L {
3331
3356
  e.fixedLeftColumnCount ?? 0,
3332
3357
  e.fixedRightColumnCount ?? 0,
3333
3358
  t,
3334
- e.defaultRowHeights ?? new O(),
3359
+ e.defaultRowHeights ?? new V(),
3335
3360
  e.columnDefs ?? [],
3336
3361
  e.columnSizes ?? []
3337
3362
  );
3338
3363
  }
3339
- static createByAreaModels(e = new D(), t, o = new D(), s = 0, i = 0, r = !1, l = new O(), n, d = [], a = -1, c) {
3340
- 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(
3341
3366
  e,
3342
3367
  t,
3343
3368
  o,
@@ -3353,9 +3378,9 @@ class L {
3353
3378
  }
3354
3379
  static createByAreaModelsParam(e) {
3355
3380
  return L.createByAreaModels(
3356
- e.headerAreaModel ?? new D(),
3381
+ e.headerAreaModel ?? new _(),
3357
3382
  e.bodyAreaModel,
3358
- e.footerAreaModel ?? new D(),
3383
+ e.footerAreaModel ?? new _(),
3359
3384
  e.fixedLeftColumnCount ?? 0,
3360
3385
  e.fixedRightColumnCount ?? 0,
3361
3386
  e.rowCheckboxVisible === void 0 ? !1 : e.rowCheckboxVisible,
@@ -3366,11 +3391,11 @@ class L {
3366
3391
  e.columnCount ?? 0
3367
3392
  );
3368
3393
  }
3369
- static createByObjectArray(e, t = [], o = [], s = 0, i = 0, r = !1, l = new O(), n, d = []) {
3394
+ static createByObjectArray(e, t = [], o = [], s = 0, i = 0, r = !1, l = new V(), n, d = []) {
3370
3395
  let a;
3371
- 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();
3372
- const c = o ? new _("footer", o, l.footer, n) : new D(), u = new le("body", e, n, l.body);
3373
- 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(
3374
3399
  a,
3375
3400
  u,
3376
3401
  c,
@@ -3383,7 +3408,7 @@ class L {
3383
3408
  );
3384
3409
  }
3385
3410
  }
3386
- const At = [
3411
+ const Et = [
3387
3412
  //"COPY_2_CLIPBOARD",
3388
3413
  "START_EDITING",
3389
3414
  "TOGGLE_SELECTION",
@@ -3401,17 +3426,17 @@ const At = [
3401
3426
  // "PAGEUP_PRESSED",
3402
3427
  // "PAGEDOWN_PRESSED"
3403
3428
  ];
3404
- class Et {
3429
+ class Mt {
3405
3430
  constructor(e, t) {
3406
3431
  this.tableModel = e, this.tableOptions = t;
3407
3432
  }
3408
3433
  }
3409
- class ze {
3434
+ class je {
3410
3435
  constructor(e, t, o, s, i, r, l) {
3411
3436
  this.emmitDataKey = e, this.emmitCancelKey = t, this.queryId = o, this.filter = s, this.sorting = i, this.startIndex = r, this.endIndex = l;
3412
3437
  }
3413
3438
  }
3414
- class Mt extends ze {
3439
+ class kt extends je {
3415
3440
  constructor(e, t, o, s, i, r, l, n) {
3416
3441
  super(
3417
3442
  e,
@@ -3424,30 +3449,30 @@ class Mt extends ze {
3424
3449
  ), this.rows = n;
3425
3450
  }
3426
3451
  }
3427
- class je {
3452
+ class Xe {
3428
3453
  constructor(e, t) {
3429
3454
  this.value = e, this.label = t;
3430
3455
  }
3431
3456
  }
3432
- class kt {
3457
+ class It {
3433
3458
  constructor(e, t) {
3434
3459
  this.index = e, this.px = t;
3435
3460
  }
3436
3461
  }
3437
- 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 = {
3438
3463
  header: ["ge-table-text-align-left"],
3439
3464
  body: ["ge-table-text-align-left"],
3440
3465
  footer: ["ge-table-text-align-left"]
3441
- }, $t = {
3466
+ }, Ft = {
3442
3467
  header: ["ge-table-text-align-center"],
3443
3468
  body: ["ge-table-text-align-center"],
3444
3469
  footer: ["ge-table-text-align-center"]
3445
- }, Ft = {
3470
+ }, Lt = {
3446
3471
  header: ["ge-table-text-align-right"],
3447
3472
  body: ["ge-table-text-align-right"],
3448
3473
  footer: ["ge-table-text-align-right"]
3449
3474
  };
3450
- class ne {
3475
+ class ae {
3451
3476
  render(e, t, o, s, i, r, l) {
3452
3477
  if (i.isRowCheckable(t)) {
3453
3478
  l.addClass(e, "ge-table-row-checkbox-div");
@@ -3465,16 +3490,16 @@ class ne {
3465
3490
  }
3466
3491
  }
3467
3492
  }
3468
- class Lt {
3493
+ class Pt {
3469
3494
  constructor() {
3470
- 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(
3471
3496
  [],
3472
3497
  ["ge-table-text-align-left"],
3473
3498
  []
3474
3499
  );
3475
3500
  }
3476
3501
  }
3477
- class Pt {
3502
+ class Ot {
3478
3503
  /**
3479
3504
  * A factory that creates a new AreaObjectMap with the given body renderer.
3480
3505
  *
@@ -3489,17 +3514,17 @@ class Pt {
3489
3514
  );
3490
3515
  }
3491
3516
  }
3492
- class Ot {
3517
+ class Vt {
3493
3518
  constructor(e = "down", t) {
3494
3519
  this.status = e, this.originalEvent = t;
3495
3520
  }
3496
3521
  }
3497
- class Vt {
3522
+ class Ht {
3498
3523
  constructor(e, t, o, s, i = {}) {
3499
3524
  this.area = e, this.rowIndex = t, this.columnIndex = o, this.value = s, this.cssClasses = i;
3500
3525
  }
3501
3526
  }
3502
- class Ht {
3527
+ class Bt {
3503
3528
  constructor() {
3504
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) => {
3505
3530
  if (e && t && o.getRowId) {
@@ -3524,12 +3549,12 @@ class Ht {
3524
3549
  };
3525
3550
  }
3526
3551
  }
3527
- class Xe {
3552
+ class Ke {
3528
3553
  constructor(e, t, o, s = !1, i = "normal", r = void 0) {
3529
3554
  this.data = e, this.property = t, this.toggle = o, this.closed = s, this.visibility = i, this.children = r, this.impl = "CellGroup";
3530
3555
  }
3531
3556
  }
3532
- class Ye extends Xe {
3557
+ class Ye extends Ke {
3533
3558
  constructor(e, t = 0, o = 0, s) {
3534
3559
  super(
3535
3560
  e.data,
@@ -3623,7 +3648,7 @@ class I {
3623
3648
  static buildColumnDefs(e, t = []) {
3624
3649
  for (const o of e)
3625
3650
  o.property && t.push(
3626
- V.create({
3651
+ H.create({
3627
3652
  property: o.property,
3628
3653
  headerLabel: o.data ? o.data : o.property,
3629
3654
  isVisible: () => typeof o.isVisible == "function" ? o.isVisible() : !0
@@ -3694,7 +3719,7 @@ class I {
3694
3719
  e.push(s.data + " rowIndex:" + s.rowIndex), (o = s.children) != null && o.length && I.iterateThrowColumns(e, s.children);
3695
3720
  }
3696
3721
  }
3697
- class Bt {
3722
+ class Wt {
3698
3723
  constructor() {
3699
3724
  this.areaIdent = "body", this.rowSelectionModel = void 0;
3700
3725
  }
@@ -3761,16 +3786,16 @@ class Bt {
3761
3786
  return !1;
3762
3787
  }
3763
3788
  }
3764
- class Ke {
3789
+ class Ue {
3765
3790
  render(e, t, o, s, i, r, l) {
3766
3791
  const n = r != null && r.data ? r.data : "";
3767
3792
  e.innerHTML = `${n}`;
3768
3793
  }
3769
3794
  }
3770
- class Wt {
3795
+ class Gt {
3771
3796
  constructor(e = "header", t, o = [], s) {
3772
3797
  var i;
3773
- 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());
3774
3799
  for (const r of this.groupExts)
3775
3800
  r.log(this.getMaxRowCount());
3776
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);
@@ -3865,7 +3890,7 @@ class Wt {
3865
3890
  return !1;
3866
3891
  }
3867
3892
  }
3868
- class Gt {
3893
+ class Nt {
3869
3894
  filterPredict(e, t, o = this.objectToString.bind(this)) {
3870
3895
  if (!e)
3871
3896
  return !1;
@@ -3919,12 +3944,12 @@ class Gt {
3919
3944
  return t.join(" ").toLowerCase();
3920
3945
  }
3921
3946
  }
3922
- class Nt {
3947
+ class zt {
3923
3948
  static bodyRenderer(e) {
3924
3949
  return new T(void 0, e, void 0);
3925
3950
  }
3926
3951
  }
3927
- class zt {
3952
+ class jt {
3928
3953
  constructor(e, t = !0, o = !1) {
3929
3954
  this.property = e, this.skipCheckableCheck = t, this.readonly = o;
3930
3955
  }
@@ -3949,12 +3974,12 @@ class zt {
3949
3974
  }
3950
3975
  }
3951
3976
  }
3952
- class jt {
3977
+ class Xt {
3953
3978
  render(e, t, o, s, i, r, l) {
3954
3979
  r && (e.innerText = new Date(r).toISOString());
3955
3980
  }
3956
3981
  }
3957
- class Xt {
3982
+ class Kt {
3958
3983
  constructor() {
3959
3984
  this.formatter = new Intl.DateTimeFormat("de-DE", {
3960
3985
  year: "numeric",
@@ -3982,12 +4007,12 @@ class Yt {
3982
4007
  r && (e.innerText = new Date(r).toLocaleDateString());
3983
4008
  }
3984
4009
  }
3985
- class Kt {
4010
+ class Ut {
3986
4011
  render(e, t, o, s, i, r, l) {
3987
4012
  r === "male" || r === "m" ? e.innerText = "♂" : (r === "female" || r === "f") && (e.innerText = "♀");
3988
4013
  }
3989
4014
  }
3990
- class Ut {
4015
+ class qt {
3991
4016
  constructor(e = 100, t = !1) {
3992
4017
  this.maxValue = e, this.labelVisible = t;
3993
4018
  }
@@ -4017,17 +4042,17 @@ class Ut {
4017
4042
  }
4018
4043
  }
4019
4044
  }
4020
- class qt {
4045
+ class Jt {
4021
4046
  render(e, t, o, s, i, r, l) {
4022
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 = "";
4023
4048
  }
4024
4049
  }
4025
- class Jt {
4050
+ class Qt {
4026
4051
  render(e, t, o, s, i, r, l) {
4027
4052
  r && (e.innerText = new Date(r).toISOString().replace(/T/g, " ").replace(/\..*/g, ""));
4028
4053
  }
4029
4054
  }
4030
- class Qt {
4055
+ class Zt {
4031
4056
  constructor(e = Number.MIN_SAFE_INTEGER, t = Number.MAX_SAFE_INTEGER) {
4032
4057
  this.min = e, this.max = t;
4033
4058
  }
@@ -4035,7 +4060,7 @@ class Qt {
4035
4060
  r && (e.innerText = r, (typeof r == "string" || isNaN(r) || r < this.min || r > this.max) && l.addClass(e, "ge-cell-error"));
4036
4061
  }
4037
4062
  }
4038
- class Zt {
4063
+ class eo {
4039
4064
  constructor(e) {
4040
4065
  this.property = e;
4041
4066
  }
@@ -4054,7 +4079,7 @@ class Zt {
4054
4079
  }
4055
4080
  }
4056
4081
  }
4057
- class eo {
4082
+ class to {
4058
4083
  constructor(e, t = 100, o = !1) {
4059
4084
  this.property = e, this.maxValue = t, this.labelVisible = o;
4060
4085
  }
@@ -4086,16 +4111,16 @@ class eo {
4086
4111
  }
4087
4112
  }
4088
4113
  }
4089
- const to = function(h, e, t) {
4114
+ const oo = function(h, e, t) {
4090
4115
  return h ? Number(h) : "";
4091
4116
  };
4092
- class be {
4117
+ class pe {
4093
4118
  constructor(e) {
4094
4119
  this.options = e;
4095
4120
  }
4096
4121
  static create(e) {
4097
- return new be(
4098
- e.map((t) => new je(t, t))
4122
+ return new pe(
4123
+ e.map((t) => new Xe(t, t))
4099
4124
  );
4100
4125
  }
4101
4126
  render(e, t, o, s, i, r, l) {
@@ -4123,163 +4148,164 @@ class be {
4123
4148
  }
4124
4149
  }
4125
4150
  }
4126
- class oo {
4151
+ class so {
4127
4152
  constructor(e, t, o) {
4128
4153
  this.r = e, this.g = t, this.b = o;
4129
4154
  }
4130
4155
  }
4131
- class ae {
4156
+ class de {
4132
4157
  constructor(e, t, o, s) {
4133
4158
  this.minValue = e, this.minColor = t, this.maxValue = o, this.maxColor = s;
4134
4159
  }
4135
4160
  }
4136
- class B {
4161
+ class W {
4137
4162
  static normalize(e, t, o, s = 0, i = 1) {
4138
4163
  return (e - t) / (o - t) * (i - s) + s;
4139
4164
  }
4140
4165
  static getTwoColorGradientRGB(e, t) {
4141
- 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;
4142
4167
  return `rgb(${Math.round(l)}, ${Math.round(n)}, ${Math.round(d)})`;
4143
4168
  }
4144
4169
  static getThreeColorGradientRGB(e, t) {
4145
- 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})`;
4146
4171
  }
4147
4172
  }
4148
- class so {
4173
+ class io {
4149
4174
  constructor(e, t, o, s, i, r) {
4150
4175
  this.minValue = e, this.minColor = t, this.middleValue = o, this.middleColor = s, this.maxValue = i, this.maxColor = r;
4151
4176
  }
4152
4177
  }
4153
4178
  export {
4154
- q as AbstractAreaModel,
4155
- Pt as AreaMapFactory,
4156
- Bt as AreaModel,
4157
- _ as AreaModelArrayOfArrays,
4158
- Wt as AreaModelCellGroups,
4159
- D as AreaModelHidden,
4160
- le as AreaModelObjectArrayWithColumndefs,
4161
- Ne as AreaModelObjectyArray,
4162
- se as AreaModelTree,
4179
+ J as AbstractAreaModel,
4180
+ Ot as AreaMapFactory,
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,
4163
4188
  T as AreaObjectMap,
4164
- Ht as AutoRestoreOptions,
4165
- Xe as CellGroup,
4189
+ Bt as AutoRestoreOptions,
4190
+ Ke as CellGroup,
4166
4191
  Ye as CellGroupExt,
4167
- Ke as CellGroupExtCellRenderer,
4192
+ Ue as CellGroupExtCellRenderer,
4168
4193
  M as CellRange,
4169
4194
  I as CellgroupFactory,
4170
- zt as CheckboxBooleanPropertyCellRenderer,
4171
- ne as CheckboxCellRenderer,
4172
- Lt as CheckboxColumnDef,
4173
- Ge as CheckboxModel,
4174
- Mt as ChunkData,
4175
- Ae as ColAndRowspanModel,
4176
- ye as CollapsedExpandedData,
4177
- oo as ColorRgb,
4178
- V as ColumnDef,
4179
- fe as ConvenienceDomService,
4180
- ue as CssVars,
4181
- Xt as DateToIntlDDMMYYYYCellRenderer,
4182
- jt as DateToIsoCellRenderer,
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,
4203
+ H as ColumnDef,
4204
+ me as ConvenienceDomService,
4205
+ ge as CssVars,
4206
+ Kt as DateToIntlDDMMYYYYCellRenderer,
4207
+ Xt as DateToIsoCellRenderer,
4183
4208
  Yt as DateToLocaleDateCellRenderer,
4184
- Jt as DateToTecCellRenderer,
4185
- O as DefaultRowHeights,
4186
- Re as EleScope,
4187
- Z as EventAdapter,
4188
- te as FalseFn,
4189
- Oe as FocusModel,
4190
- Ie as GeCellIndices,
4191
- B as GeCssColorUtil,
4192
- Gt as GeFilterService,
4193
- Ot as GeKeyEvent,
4194
- U as GeModelChangeEvent,
4195
- 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,
4196
4221
  $ as GeoData,
4197
4222
  F as Icon,
4198
- kt as IndexAndPx,
4199
- Le as InputCellRenderer,
4200
- ke as InputHandler,
4201
- Kt as MaleFemaleToIconCellRenderer,
4202
- we as MouseHandler,
4203
- me as MouseTargetData,
4204
- Ut as NumberCellProgressBarCellRenderer,
4205
- Qt as NumberCellRenderer,
4206
- De as OsxShortcutActionIdMapping,
4207
- re as Padding,
4208
- eo as ProgressBarCellRenderer,
4209
- Ee as RenderScope,
4210
- Nt as Renderer,
4211
- ze as RequestChunk,
4212
- be as SelectCellRenderer,
4213
- Pe as SelectionModel,
4214
- Te as SelectionService,
4215
- $e as ShortcutService,
4216
- Fe as SimpleDomService,
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,
4239
+ Oe as SelectionModel,
4240
+ De as SelectionService,
4241
+ Fe as ShortcutService,
4242
+ Le as SimpleDomService,
4217
4243
  f as Size,
4218
- Me as SortItem,
4219
- he as SortedOptions,
4220
- Zt as StarRatingCellRenderer,
4221
- Ce as StoreStateCollapsedExpandService,
4222
- xe as StoreStateScrollPosService,
4223
- ve as StoreStateSortingService,
4224
- Se as TableApi,
4225
- Vt as TableCellUpdateEvent,
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,
4251
+ Ht as TableCellUpdateEvent,
4226
4252
  L as TableFactory,
4227
- G as TableModel,
4228
- Et as TableModelAndOptions,
4229
- z as TableOptions,
4230
- ce as TableScope,
4231
- so as ThreeColorGradientArg,
4232
- ie as TreeCheckboxModel,
4233
- j as TreeFactory,
4234
- de as TreeOptions,
4235
- ee as TreeRow,
4236
- We as TreeRowService,
4237
- qt as TrueFalseCellRenderer,
4238
- Be as TrueFn,
4239
- ae as TwoColorGradientArg,
4240
- 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,
4241
4267
  _e as WindowsShortcutActionIdMapping,
4242
- At as actionIds,
4243
- $t as allCenter,
4244
- Dt as allLeft,
4245
- Ft as allRight,
4246
- Tt as bodyCenter,
4247
- 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,
4248
4274
  _t as bodyRight,
4249
- to as editInputPipeForNumber,
4275
+ oo as editInputPipeForNumber,
4250
4276
  Y as getAreaIdentByString,
4251
- N as isAreaModelTree,
4252
- pe as isCheckboxColumnDef,
4253
- P as isTreeRow,
4254
- Rt as px0,
4255
- vt as px10,
4256
- bt as px100,
4257
- gt as px110,
4258
- ut as px120,
4259
- ct as px130,
4260
- ht as px140,
4261
- dt as px150,
4262
- at as px160,
4263
- nt as px170,
4264
- lt as px180,
4265
- rt as px190,
4266
- Ct as px20,
4267
- oe as px200,
4268
- it as px210,
4269
- st as px220,
4270
- ot as px230,
4271
- tt as px240,
4272
- et as px250,
4273
- Ze as px260,
4274
- Qe as px270,
4275
- Je as px280,
4276
- qe as px290,
4277
- yt as px30,
4278
- Ue as px300,
4279
- xt as px40,
4280
- St as px50,
4281
- wt as px60,
4282
- mt as px70,
4283
- ft as px80,
4284
- pt as px90
4277
+ z as isAreaModelTree,
4278
+ fe as isCheckboxColumnDef,
4279
+ O as isTreeRow,
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
4285
4311
  };