@guiexpert/table 1.1.33 → 1.1.36

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,4 +1,4 @@
1
- function ot(h, e = 500) {
1
+ function at(h, e = 500) {
2
2
  let t = null, s = 0;
3
3
  return function(...o) {
4
4
  const i = Date.now(), r = e - (i - s);
@@ -7,7 +7,7 @@ function ot(h, e = 500) {
7
7
  }, r));
8
8
  };
9
9
  }
10
- function Ce(h, e = 500) {
10
+ function ve(h, e = 500) {
11
11
  let t = null;
12
12
  return function(...s) {
13
13
  t && window.clearTimeout(t), t = window.setTimeout(() => {
@@ -15,7 +15,7 @@ function Ce(h, e = 500) {
15
15
  }, e);
16
16
  };
17
17
  }
18
- function it(h = 500) {
18
+ function dt(h = 500) {
19
19
  return function(e, t, s) {
20
20
  let o = 0;
21
21
  const i = s.value;
@@ -25,14 +25,14 @@ function it(h = 500) {
25
25
  }, s;
26
26
  };
27
27
  }
28
- class O {
28
+ class B {
29
29
  // The constructor is private to prevent direct construction calls
30
30
  // with the `new` operator
31
31
  constructor() {
32
32
  this.alreadySet = !1;
33
33
  }
34
34
  static getInstance() {
35
- return O.instance || (O.instance = new O()), O.instance;
35
+ return B.instance || (B.instance = new B()), B.instance;
36
36
  }
37
37
  /**
38
38
  * Method to set the license key for the application.
@@ -50,21 +50,21 @@ class O {
50
50
  }
51
51
  }
52
52
  }
53
- function $(h) {
53
+ function V(h) {
54
54
  return h && h.type === "TreeRow";
55
55
  }
56
- function Y(h) {
56
+ function J(h) {
57
57
  return h && h.type === "AreaModelTree";
58
58
  }
59
- function ve(h) {
59
+ function Ae(h) {
60
60
  return h && h.type === "CheckboxColumnDef";
61
61
  }
62
- class Z {
63
- constructor(e = -1, t = -1, s = -1, o = -1, i, r, n, l = 0, a = 0, c = 0, d = "") {
64
- this.rowIndex = e, this.rowTop = t, this.columnIndex = s, this.columnLeft = o, this.areaIdent = i, this.sideIdent = r, this.originalEvent = n, this.clickCount = l, this.draggingX = a, this.draggingY = c, this.action = d;
62
+ class te {
63
+ constructor(e = -1, t = -1, s = -1, o = -1, i, r, n, l = 0, a = 0, d = 0, c = "") {
64
+ this.rowIndex = e, this.rowTop = t, this.columnIndex = s, this.columnLeft = o, this.areaIdent = i, this.sideIdent = r, this.originalEvent = n, this.clickCount = l, this.draggingX = a, this.draggingY = d, this.action = c;
65
65
  }
66
66
  clone() {
67
- return new Z(
67
+ return new te(
68
68
  this.rowIndex,
69
69
  this.rowTop,
70
70
  this.columnIndex,
@@ -84,7 +84,7 @@ class P {
84
84
  this.content = e, this.style = t, this.classes = s;
85
85
  }
86
86
  }
87
- class me {
87
+ class xe {
88
88
  constructor(e = new P(
89
89
  ">",
90
90
  "transform: rotate(90deg) translate(66%, -66%); transform-origin: 0 0;",
@@ -105,7 +105,7 @@ class me {
105
105
  this.arrowExpanded = e, this.arrowCollapsed = t, this.arrowPlaceholder = s, this.arrowExpandCollapseAll = o;
106
106
  }
107
107
  }
108
- class be {
108
+ class we {
109
109
  constructor(e = new P("↑", "", ["ge-header-sorted-asc"]), t = new P("↓", "", ["ge-header-sorted-desc"]), s = new P("↑", "color:transparent;", [])) {
110
110
  this.iconAsc = e, this.iconDesc = t, this.iconPlaceholder = s;
111
111
  }
@@ -196,14 +196,14 @@ class Re {
196
196
  return this.domService.appendChild(e.child, l), l;
197
197
  }
198
198
  addColumnDiv(e) {
199
- const { parent: t, geo: s, rowIndex: o = -1, columnIndex: i = -1, areaIdent: r, sideIdent: n, text: l = "", treeArrow: a, tableOptions: c, checkedType: d = void 0, sortState: u } = e, f = c == null ? void 0 : c.treeOptions, p = c == null ? void 0 : c.showCheckboxWihoutExtraColumn, m = this.domService.createElement("div");
199
+ const { parent: t, geo: s, rowIndex: o = -1, columnIndex: i = -1, areaIdent: r, sideIdent: n, text: l = "", treeArrow: a, tableOptions: d, checkedType: c = void 0, sortState: u } = e, f = d == null ? void 0 : d.treeOptions, p = d == null ? void 0 : d.showCheckboxWihoutExtraColumn, m = this.domService.createElement("div");
200
200
  this.domService.addClass(m, "ge-table-col-div"), p && this.domService.addClass(m, "ge-with-checkbox"), this.domService.addClass(m, `ge-table-col-div-${s.index}`), this.domService.setAttribute(m, "data-col-index", `${s.index}`), this.domService.setAttribute(m, "data-row-index", `${o}`), this.domService.setAttribute(m, "data-area", `${r}`);
201
201
  const g = ((s == null ? void 0 : s.index) ?? 0) % 2 === 0 ? "even" : "odd";
202
- if (r === "body" && n === "center" && this.domService.addClass(m, `ge-table-column-${g}`), this.domService.setStyle(m, "display", "clip"), this.domService.setStyle(m, "position", "absolute"), this.domService.setStyle(m, "left", `${s.left}px`), this.domService.setStyle(m, "top", `${s.top}px`), this.domService.setStyle(m, "width", `${s.width}px`), this.domService.setStyle(m, "height", `${s.height}px`), a && a !== "none" && (this.domService.addClass(m, "ge-table-col-tree"), this.addArrowDiv(m, a, f, o, i, r)), p && i === 0 && d && this.addCheckboxToDiv(m, d, r, o), l) {
202
+ if (r === "body" && n === "center" && this.domService.addClass(m, `ge-table-column-${g}`), this.domService.setStyle(m, "display", "clip"), this.domService.setStyle(m, "position", "absolute"), this.domService.setStyle(m, "left", `${s.left}px`), this.domService.setStyle(m, "top", `${s.top}px`), this.domService.setStyle(m, "width", `${s.width}px`), this.domService.setStyle(m, "height", `${s.height}px`), a && a !== "none" && (this.domService.addClass(m, "ge-table-col-tree"), this.addArrowDiv(m, a, f, o, i, r)), p && i === 0 && c && this.addCheckboxToDiv(m, c, r, o), l) {
203
203
  const b = a !== "none" && i === 0;
204
204
  this.addLabelDiv(m, l, b, o, i, r);
205
205
  }
206
- return u && this.addSortedIcon(m, u, c == null ? void 0 : c.sortedOptions, i), this.domService.appendChild(t, m), m;
206
+ return u && this.addSortedIcon(m, u, d == null ? void 0 : d.sortedOptions, i), this.domService.appendChild(t, m), m;
207
207
  }
208
208
  addCheckboxToDiv(e, t, s, o) {
209
209
  const i = this.domService.createElement("div"), r = t === "full" ? "checked" : "";
@@ -230,7 +230,7 @@ class Re {
230
230
  }
231
231
  return this.domService.appendChild(e, n), n;
232
232
  }
233
- addSortedIcon(e, t = "", s = new be(), o = -1) {
233
+ addSortedIcon(e, t = "", s = new we(), o = -1) {
234
234
  const i = this.domService.createElement("div");
235
235
  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", `${o}`), this.domService.setAttribute(i, "data-area", "header");
236
236
  let r;
@@ -241,15 +241,15 @@ class Re {
241
241
  this.domService.addClass(i, a);
242
242
  return this.domService.appendChild(e, i), i;
243
243
  }
244
- addArrowDiv(e, t = "none", s = new me(), o = -1, i = -1, r = "body") {
244
+ addArrowDiv(e, t = "none", s = new xe(), o = -1, i = -1, r = "body") {
245
245
  const n = this.domService.createElement("div");
246
246
  this.domService.addClass(n, "ge-table-tree-arrow-div"), this.domService.setStyle(n, "display", "inline-block"), this.domService.setStyle(n, "position", ""), this.domService.setStyle(n, "width", "20px"), this.domService.setStyle(n, "background", "transparent"), this.domService.setStyle(n, "cursor", "pointer"), this.domService.setAttribute(n, "data-row-index", `${o}`), this.domService.setAttribute(n, "data-col-index", `${i}`), this.domService.setAttribute(n, "data-area", `${r}`);
247
247
  let l;
248
248
  t === "expanded" ? l = s.arrowExpanded : t === "collapsed" ? l = s.arrowCollapsed : l = s.arrowPlaceholder;
249
- const a = l.content, c = this.domService.createText(a);
250
- this.domService.appendChild(n, c), l.style && this.applyStyleString(n, l.style);
251
- for (const d of l.classes)
252
- this.domService.addClass(n, d);
249
+ const a = l.content, d = this.domService.createText(a);
250
+ this.domService.appendChild(n, d), l.style && this.applyStyleString(n, l.style);
251
+ for (const c of l.classes)
252
+ this.domService.addClass(n, c);
253
253
  return this.domService.appendChild(e, n), n;
254
254
  }
255
255
  addColumnBorderDivs(e, t, s, o, i) {
@@ -292,20 +292,20 @@ class Re {
292
292
  return s ? (s.innerText = "", s) : (s = this.domService.createElement("div"), t.cache[e] = s, s);
293
293
  }
294
294
  }
295
- const Q = (h) => h === "header" ? "header" : h === "footer" ? "footer" : "body";
296
- class Ae {
295
+ const Y = (h) => h === "header" ? "header" : h === "footer" ? "footer" : "body";
296
+ class Ee {
297
297
  constructor(e, t) {
298
298
  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)) {
299
299
  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"));
300
300
  const s = e.getAttribute("data-area");
301
- if (s && (this.areaIdent = Q(s), this.areaModel = t.tableModel.getAreaModel(this.areaIdent), this.row = this.areaModel.getRowByIndex(this.rowIdx)), e instanceof HTMLInputElement) {
301
+ if (s && (this.areaIdent = Y(s), this.areaModel = t.tableModel.getAreaModel(this.areaIdent), this.row = this.areaModel.getRowByIndex(this.rowIdx)), e instanceof HTMLInputElement) {
302
302
  const o = e;
303
303
  this.value = o.value;
304
304
  }
305
305
  }
306
306
  }
307
307
  }
308
- class Ee {
308
+ class Me {
309
309
  constructor(e) {
310
310
  this.tableScope = e, this.doubleClickDelay = 500, this.expandedAll = !0, this.mouseDown = !1, this.dragging = !1, this.lastClicked = 0, this.tableScope.hostElement.addEventListener("click", this.onHostElementClicked.bind(this)), this.tableScope.hostElement.addEventListener("dblclick", this.onHostElementDblClicked.bind(this)), this.tableScope.hostElement.addEventListener("mousedown", this.onMouseDown.bind(this)), this.tableScope.hostElement.addEventListener("mousemove", this.onMouseMove.bind(this)), this.tableScope.hostElement.addEventListener("mouseup", this.onMouseUp.bind(this)), this.tableScope.hostElement.addEventListener("contextmenu", this.onContextmenu.bind(this)), this.tableScope.hostElement._MouseHandler = "true", this.tableScope.scrollViewport.addEventListener("scroll", this.tableScope.adjustAfterScrolling.bind(this.tableScope)), [window, this.tableScope.hostElement].forEach(
311
311
  (t) => t.addEventListener("resize", this.tableScope.adjustContainersAndRows.bind(this.tableScope))
@@ -335,14 +335,14 @@ class Ee {
335
335
  if (t - this.lastClicked < this.doubleClickDelay)
336
336
  return;
337
337
  this.lastClicked = t;
338
- const s = new Ae(e.target, this.tableScope);
338
+ const s = new Ee(e.target, this.tableScope);
339
339
  if (s.action === "toggleExpandCollapseAll")
340
340
  this.expandedAll = !this.expandedAll, this.tableScope.toggleExpandCollapseAll(this.expandedAll), e.preventDefault(), e.stopPropagation();
341
341
  else if (s.action === "toggleHeaderGroup")
342
342
  this.tableScope.toggleHeaderGroup(s), e.preventDefault(), e.stopPropagation();
343
343
  else if (s.inputType === "checkbox" && s.areaIdent)
344
344
  this.tableScope.toggleRowCheckbox(s.rowIdx, s.colIdx, s.areaIdent), e.preventDefault(), e.stopPropagation();
345
- else if ($(s.row) && s.areaModel) {
345
+ else if (V(s.row) && s.areaModel) {
346
346
  const o = s.colIdx === this.getArrowColumnIndex() && e.altKey, i = s.className.includes("ge-table-tree-arrow-div");
347
347
  if (o || i) {
348
348
  e.preventDefault(), e.stopPropagation();
@@ -364,12 +364,12 @@ class Ee {
364
364
  */
365
365
  onHostElementDblClicked(e) {
366
366
  if (this.lastClicked = Date.now(), e.target instanceof HTMLElement) {
367
- const t = e.target, s = t.getAttribute("data-area"), o = Q(s), i = Number(t.getAttribute("data-row-index")), r = Number(t.getAttribute("data-col-index")), n = this.tableScope.tableModel.getAreaModel(o);
367
+ const t = e.target, s = t.getAttribute("data-area"), o = Y(s), i = Number(t.getAttribute("data-row-index")), r = Number(t.getAttribute("data-col-index")), n = this.tableScope.tableModel.getAreaModel(o);
368
368
  if (s && o === "header")
369
369
  this.tableScope.tableModel.isSortable(r) && (this.tableScope.clearSelection(), this.tableScope.onHeaderDblClicked(e, i, r));
370
370
  else if (t.getAttribute("data-row-index")) {
371
371
  const l = n.getRowByIndex(i);
372
- if (s && o === "body" && n.isEditable(i, r) && (this.tableScope.clearSelection(), this.tableScope.initRenderEditor(i, r)), $(l) && r === this.getArrowColumnIndex()) {
372
+ if (s && o === "body" && n.isEditable(i, r) && (this.tableScope.clearSelection(), this.tableScope.initRenderEditor(i, r)), V(l) && r === this.getArrowColumnIndex()) {
373
373
  e.preventDefault(), e.stopPropagation();
374
374
  const a = l;
375
375
  a.expanded = !a.expanded, "recalcVisibleTreeRows" in n && n.recalcVisibleTreeRows(), this.tableScope.tableModel.recalcSize(this.tableScope.hostElement.clientWidth), this.tableScope.adjustContainersAndRows(), this.updateCollapsedExpandedState(a);
@@ -400,8 +400,8 @@ class Ee {
400
400
  var s, o, i, r, n;
401
401
  const t = (o = (s = this.tableScope.tableOptions) == null ? void 0 : s.autoRestoreOptions) == null ? void 0 : o.getRowId;
402
402
  if (t) {
403
- const l = (i = this.tableScope.storeStateCollapsedExpandService) == null ? void 0 : i.collapsedExpandedStateGet().mode, a = l === "collapsed" && !e.expanded || l === "expanded" && e.expanded, c = l === "collapsed" && e.expanded || l === "expanded" && !e.expanded, d = t(e.data);
404
- a ? (r = this.tableScope.storeStateCollapsedExpandService) == null || r.collapsedStateIdsPush(d) : c && ((n = this.tableScope.storeStateCollapsedExpandService) == null || n.collapsedStateIdsRemove(d));
403
+ const l = (i = this.tableScope.storeStateCollapsedExpandService) == null ? void 0 : i.collapsedExpandedStateGet().mode, a = l === "collapsed" && !e.expanded || l === "expanded" && e.expanded, d = l === "collapsed" && e.expanded || l === "expanded" && !e.expanded, c = t(e.data);
404
+ a ? (r = this.tableScope.storeStateCollapsedExpandService) == null || r.collapsedStateIdsPush(c) : d && ((n = this.tableScope.storeStateCollapsedExpandService) == null || n.collapsedStateIdsRemove(c));
405
405
  }
406
406
  }
407
407
  getArrowColumnIndex() {
@@ -437,7 +437,7 @@ class Ee {
437
437
  }
438
438
  }
439
439
  }
440
- class Me {
440
+ class Te {
441
441
  constructor(e) {
442
442
  this.tableScope = e;
443
443
  }
@@ -626,10 +626,10 @@ class Me {
626
626
  for (const r of i) {
627
627
  const n = this.tableScope.tableModel.getAreaModel(r), l = (n == null ? void 0 : n.getRowCount()) ?? 0;
628
628
  for (let a = 0; a < l; a++) {
629
- const c = [];
630
- s.push(c);
631
- for (let d = 0; d < o; d++)
632
- c.push(n.getValueAt(a, d));
629
+ const d = [];
630
+ s.push(d);
631
+ for (let c = 0; c < o; c++)
632
+ d.push(n.getValueAt(a, c));
633
633
  }
634
634
  }
635
635
  return this.tableScope.excelService.downloadExcel(s, e, t);
@@ -652,7 +652,7 @@ class Me {
652
652
  return this.tableScope.selectionModel();
653
653
  }
654
654
  }
655
- class ee {
655
+ class se {
656
656
  constructor(e) {
657
657
  this.getStorageKeyFn = e;
658
658
  }
@@ -727,7 +727,7 @@ class ee {
727
727
  // }
728
728
  // }
729
729
  }
730
- class Te extends ee {
730
+ class ke extends se {
731
731
  constructor(e) {
732
732
  super(e), this.SCROLL_STATE = "scrollState", this.scrollOffset = [0, 0], this.load();
733
733
  }
@@ -749,14 +749,14 @@ class Te extends ee {
749
749
  }
750
750
  }
751
751
  }
752
- class ke {
752
+ class Ie {
753
753
  constructor(e = "collapsed", t = [], s = !1, o = !1) {
754
754
  this.mode = e, this.rowIds = t, this.allCollapsed = s, this.allExpanded = o;
755
755
  }
756
756
  }
757
- class Ie extends ee {
757
+ class De extends se {
758
758
  constructor(e) {
759
- super(e), this.COLLAPSED_EXPANDED_STATE = "collapsedExpandedState", this.collapsedExpandedState = new ke(), this.load();
759
+ super(e), this.COLLAPSED_EXPANDED_STATE = "collapsedExpandedState", this.collapsedExpandedState = new Ie(), this.load();
760
760
  }
761
761
  collapsedExpandedStateGet() {
762
762
  return this.collapsedExpandedState;
@@ -788,7 +788,7 @@ class Ie extends ee {
788
788
  this.checkAndPersistItem(this.COLLAPSED_EXPANDED_STATE, this.collapsedExpandedState);
789
789
  }
790
790
  }
791
- class De extends ee {
791
+ class Fe extends se {
792
792
  constructor(e) {
793
793
  super(e), this.SORTING_STATE = "sortingState", this.sortItems = [], this.load();
794
794
  }
@@ -814,7 +814,7 @@ class L {
814
814
  this.left = e, this.width = t, this.height = s, this.top = o, this.index = i;
815
815
  }
816
816
  }
817
- class Fe {
817
+ class Le {
818
818
  constructor(e, t, s, o) {
819
819
  this.hostElement = e, this.tableModel = t, this.dom = s, this.tableOptions = o, this.scrollTop = 0, this.areaBodyWestGeo = new L(), this.areaBodyCenterGeo = new L(), this.areaBodyEastGeo = new L();
820
820
  const i = this.hostElement;
@@ -985,7 +985,7 @@ class Fe {
985
985
  this.dom.setStyle(this.contentWrapperDiv, "width", e), this.dom.setStyle(this.contentWrapperDiv, "height", t);
986
986
  }
987
987
  }
988
- class A {
988
+ class R {
989
989
  /**
990
990
  * Represents a constructor for a class.
991
991
  * @constructor
@@ -999,7 +999,7 @@ class A {
999
999
  this.r1 = e, this.c1 = t, this.r2 = s, this.c2 = o, this.gammaRange = i;
1000
1000
  }
1001
1001
  static create(e) {
1002
- return e.gammaRange === void 0 && (e.gammaRange = !1), new A(
1002
+ return e.gammaRange === void 0 && (e.gammaRange = !1), new R(
1003
1003
  e.rowIndex1,
1004
1004
  e.columnIndex1,
1005
1005
  e.rowIndex2,
@@ -1008,19 +1008,19 @@ class A {
1008
1008
  );
1009
1009
  }
1010
1010
  static singleCell(e, t) {
1011
- return new A(e, t, e, t);
1011
+ return new R(e, t, e, t);
1012
1012
  }
1013
1013
  static singleRow(e) {
1014
- return new A(e, 0, e, Number.MAX_SAFE_INTEGER);
1014
+ return new R(e, 0, e, Number.MAX_SAFE_INTEGER);
1015
1015
  }
1016
1016
  static singleColumn(e) {
1017
- return new A(0, e, Number.MAX_SAFE_INTEGER, e);
1017
+ return new R(0, e, Number.MAX_SAFE_INTEGER, e);
1018
1018
  }
1019
1019
  isInRange(e, t) {
1020
1020
  return e >= this.r1 && e <= this.r2 && t >= this.c1 && t <= this.c2;
1021
1021
  }
1022
1022
  }
1023
- class Le {
1023
+ class Pe {
1024
1024
  constructor(e, t) {
1025
1025
  this.tableModel = e, this.areaModel = t, this.colAndRowspanRanges = void 0;
1026
1026
  }
@@ -1036,7 +1036,7 @@ class Le {
1036
1036
  i === 0 && (i = 1), r === 0 && (r = 1);
1037
1037
  const n = "gammaCells" in this.areaModel;
1038
1038
  this.colAndRowspanRanges.push(
1039
- new A(s, o, s + r - 1, o + i - 1, n)
1039
+ new R(s, o, s + r - 1, o + i - 1, n)
1040
1040
  );
1041
1041
  }
1042
1042
  }
@@ -1053,22 +1053,22 @@ class Le {
1053
1053
  return !1;
1054
1054
  }
1055
1055
  }
1056
- class I {
1056
+ class k {
1057
1057
  constructor(e, t, s) {
1058
1058
  this.header = e, this.body = t, this.footer = s;
1059
1059
  }
1060
1060
  }
1061
- class Pe extends Fe {
1061
+ class _e extends Le {
1062
1062
  constructor(e, t, s, o) {
1063
1063
  var r, n;
1064
1064
  super(e, t, s, o), this.dragging = !1, this.editing = !1, this.storedColumnWidths = [], this.scrollLeft = 0, this.scrollViewportLeft = 0, this.scrollFactorY = 0, this.scrollFactorX = 0, this.cleanupFunctions = {
1065
1065
  header: [],
1066
1066
  body: [],
1067
1067
  footer: []
1068
- }, this.tree = !1, this.colAndRowspanModels = new I(), this.firstVisibleRowIndex = -1, this.draggingTargetColumnIndex = -1, this.removables = [], this.tableModel.getSelectionModel ? this.getSelectionModel = this.tableModel.getSelectionModel : (r = this.tableOptions) != null && r.getSelectionModel && (this.getSelectionModel = this.tableOptions.getSelectionModel), (n = this.tableOptions) != null && n.getFocusModel && (this.getFocusModel = this.tableOptions.getFocusModel), Y(t.getAreaModel("body")) && (this.tree = !0), ["header", "body", "footer"].forEach(
1068
+ }, this.tree = !1, this.colAndRowspanModels = new k(), this.firstVisibleRowIndex = -1, this.draggingTargetColumnIndex = -1, this.removables = [], this.tableModel.getSelectionModel ? this.getSelectionModel = this.tableModel.getSelectionModel : (r = this.tableOptions) != null && r.getSelectionModel && (this.getSelectionModel = this.tableOptions.getSelectionModel), (n = this.tableOptions) != null && n.getFocusModel && (this.getFocusModel = this.tableOptions.getFocusModel), J(t.getAreaModel("body")) && (this.tree = !0), ["header", "body", "footer"].forEach(
1069
1069
  (l) => {
1070
1070
  var a;
1071
- this.colAndRowspanModels[l] = new Le(t, t.getAreaModel(l)), (a = this.colAndRowspanModels[l]) == null || a.init();
1071
+ this.colAndRowspanModels[l] = new Pe(t, t.getAreaModel(l)), (a = this.colAndRowspanModels[l]) == null || a.init();
1072
1072
  }
1073
1073
  );
1074
1074
  }
@@ -1208,10 +1208,10 @@ class Pe extends Fe {
1208
1208
  const r = this.tableModel.getAreaModel(e), n = 'div[data-col-index="' + s + '"][data-row-index="' + t + '"][data-area="' + e + '"]', l = document.querySelector(n);
1209
1209
  if (l) {
1210
1210
  let a;
1211
- const c = this.editorRenderer && this.editorRendererRow === t && this.editorRendererColumn === s;
1212
- let d;
1213
- if (c ? d = this.editorRenderer : d = r.getCellRenderer(t, s), l.innerText = "", this.applyCssClasses(l, i), d)
1214
- a = d.render(l, t, s, e, r, o, this.dom.domService), a && this.cleanupFunctions[e].push(a);
1211
+ const d = this.editorRenderer && this.editorRendererRow === t && this.editorRendererColumn === s;
1212
+ let c;
1213
+ if (d ? c = this.editorRenderer : c = r.getCellRenderer(t, s), l.innerText = "", this.applyCssClasses(l, i), c)
1214
+ a = c.render(l, t, s, e, r, o, this.dom.domService), a && this.cleanupFunctions[e].push(a);
1215
1215
  else {
1216
1216
  const p = `${o}`;
1217
1217
  this.dom.addLabelDiv(l, p, !1, t, s, e);
@@ -1333,45 +1333,45 @@ class Pe extends Fe {
1333
1333
  var g;
1334
1334
  const s = this.getArea(e, "west"), o = this.getArea(e, "center"), i = this.getArea(e, "east"), r = o.child.clientHeight;
1335
1335
  s.child.innerText = "", o.child.innerText = "", i.child.innerText = "";
1336
- const n = 0, l = this.areaBodyCenterGeo.width, a = this.tableModel.getPadding(), c = this.tableModel.getAreaModel(e), d = c.getRowCount();
1336
+ const n = 0, l = this.areaBodyCenterGeo.width, a = this.tableModel.getPadding(), d = this.tableModel.getAreaModel(e), c = d.getRowCount();
1337
1337
  for (; this.cleanupFunctions[e].length; ) {
1338
1338
  const b = this.cleanupFunctions[e].shift();
1339
1339
  b && b();
1340
1340
  }
1341
1341
  let u = t;
1342
1342
  const f = this.tableModel.getColumnCount(), p = this.tableModel.getFixedRightColumnCount(), m = this.tableModel.getFixedLeftColumnCount();
1343
- for (let b = 0; b < d; b++) {
1344
- const y = u, C = b === d - 1, R = this.tableModel.getRowHeight(e, b);
1345
- if (y + R > 0) {
1343
+ for (let b = 0; b < c; b++) {
1344
+ const y = u, C = b === c - 1, A = this.tableModel.getRowHeight(e, b);
1345
+ if (y + A > 0) {
1346
1346
  this.firstVisibleRowIndex = b;
1347
- let S = { left: n, width: l, height: R, top: y, index: b }, w = this.dom.addRowDiv(o, S, b, e, "center");
1348
- const k = m;
1347
+ let S = { left: n, width: l, height: A, top: y, index: b }, w = this.dom.addRowDiv(o, S, b, e, "center");
1348
+ const I = m;
1349
1349
  if (this.adjustColumnsToRowParent({
1350
1350
  areaIdent: e,
1351
1351
  sideIdent: "center",
1352
- areaModel: c,
1352
+ areaModel: d,
1353
1353
  geo: S,
1354
1354
  parent: w,
1355
1355
  rowIndex: b,
1356
- columnIndexStart: k,
1356
+ columnIndexStart: I,
1357
1357
  columnIndexEnd: f - p - 1,
1358
1358
  verticalFixed: !1,
1359
1359
  lastRowOfModel: C
1360
- }), a.left > 0 && (S = { left: n, width: this.areaBodyWestGeo.width, height: R, top: y, index: b }, w = this.dom.addRowDiv(s, S, b, e, "west"), this.adjustColumnsToRowParent({
1360
+ }), a.left > 0 && (S = { left: n, width: this.areaBodyWestGeo.width, height: A, top: y, index: b }, w = this.dom.addRowDiv(s, S, b, e, "west"), this.adjustColumnsToRowParent({
1361
1361
  areaIdent: e,
1362
1362
  sideIdent: "west",
1363
- areaModel: c,
1363
+ areaModel: d,
1364
1364
  geo: S,
1365
1365
  parent: w,
1366
1366
  rowIndex: b,
1367
1367
  columnIndexStart: 0,
1368
- columnIndexEnd: k - 1,
1368
+ columnIndexEnd: I - 1,
1369
1369
  verticalFixed: !0,
1370
1370
  lastRowOfModel: C
1371
- })), a.right > 0 && (S = { left: n, width: this.areaBodyEastGeo.width, height: R, top: y, index: b }, w = this.dom.addRowDiv(i, S, b, e, "east"), this.adjustColumnsToRowParent({
1371
+ })), a.right > 0 && (S = { left: n, width: this.areaBodyEastGeo.width, height: A, top: y, index: b }, w = this.dom.addRowDiv(i, S, b, e, "east"), this.adjustColumnsToRowParent({
1372
1372
  areaIdent: e,
1373
1373
  sideIdent: "east",
1374
- areaModel: c,
1374
+ areaModel: d,
1375
1375
  geo: S,
1376
1376
  parent: w,
1377
1377
  rowIndex: b,
@@ -1379,7 +1379,7 @@ class Pe extends Fe {
1379
1379
  columnIndexEnd: f - 1,
1380
1380
  verticalFixed: !0,
1381
1381
  lastRowOfModel: C
1382
- })), e === "header" && this.tree && b === d - 1) {
1382
+ })), e === "header" && this.tree && b === c - 1) {
1383
1383
  const E = this.dom.applyStyle(
1384
1384
  this.dom.setAttribute(
1385
1385
  this.dom.addDiv(w, new L(16, 20, 20, 8)),
@@ -1389,28 +1389,28 @@ class Pe extends Fe {
1389
1389
  { cursor: "pointer" }
1390
1390
  ), M = this.tableOptions.treeOptions.arrowExpandCollapseAll;
1391
1391
  if (M) {
1392
- const W = this.dom.domService.createText(M.content);
1393
- this.dom.domService.appendChild(E, W), M.style && this.dom.applyStyleString(E, M.style);
1392
+ const N = this.dom.domService.createText(M.content);
1393
+ this.dom.domService.appendChild(E, N), M.style && this.dom.applyStyleString(E, M.style);
1394
1394
  }
1395
1395
  }
1396
1396
  }
1397
- if (u = u + R, u > r)
1397
+ if (u = u + A, u > r)
1398
1398
  break;
1399
1399
  }
1400
1400
  if (this.colAndRowspanModels && this.colAndRowspanModels[e]) {
1401
1401
  const b = ((g = this.colAndRowspanModels[e]) == null ? void 0 : g.getRanges()) ?? [];
1402
1402
  if (b.length)
1403
1403
  for (const y of b) {
1404
- let C = 0, R = o.child, S = "center";
1404
+ let C = 0, A = o.child, S = "center";
1405
1405
  if (y.c1 < m)
1406
- R = s.child, S = "west";
1406
+ A = s.child, S = "west";
1407
1407
  else if (p > 0 && y.c1 >= f - p)
1408
- R = i.child, S = "east";
1408
+ A = i.child, S = "east";
1409
1409
  else {
1410
1410
  const w = this.areaBodyCenterGeo.width - this.tableModel.getContentWidthInPixel();
1411
1411
  C = this.scrollFactorX * w - this.areaBodyWestGeo.width, S = "center";
1412
1412
  }
1413
- this.drawBigCell(y, C, t, c, R, S);
1413
+ this.drawBigCell(y, C, t, d, A, S);
1414
1414
  }
1415
1415
  }
1416
1416
  }
@@ -1426,9 +1426,9 @@ class Pe extends Fe {
1426
1426
  */
1427
1427
  drawBigCell(e, t, s, o, i, r) {
1428
1428
  const n = s + this.getRowHeights(0, e.r1 - 1, o).reduce((g, b) => g + b, 0), l = this.tableModel.getColumnCount(), a = this.tableModel.getFixedRightColumnCount();
1429
- let c = 0;
1430
- a > 0 && e.c1 >= l - a && (c = l - a);
1431
- const d = t + this.getColumnWidths(c, e.c1 - 1).reduce((g, b) => g + b, 0), u = this.getRowHeights(e.r1, e.r2, o).reduce((g, b) => g + b, 0), f = this.getColumnWidths(e.c1, e.c2).reduce((g, b) => g + b, 0);
1429
+ let d = 0;
1430
+ a > 0 && e.c1 >= l - a && (d = l - a);
1431
+ const c = t + this.getColumnWidths(d, e.c1 - 1).reduce((g, b) => g + b, 0), u = this.getRowHeights(e.r1, e.r2, o).reduce((g, b) => g + b, 0), f = this.getColumnWidths(e.c1, e.c2).reduce((g, b) => g + b, 0);
1432
1432
  let p = !1;
1433
1433
  const m = this.getSelectionModel ? this.getSelectionModel() : void 0;
1434
1434
  m && (p = m.getSelectionCount(e.r1, e.c1) > 0), e.gammaRange ? this.renderCell({
@@ -1437,7 +1437,7 @@ class Pe extends Fe {
1437
1437
  sideIdent: r,
1438
1438
  rowIndex: e.r1,
1439
1439
  columnIndex: e.c1,
1440
- left: d,
1440
+ left: c,
1441
1441
  top: n,
1442
1442
  width: f,
1443
1443
  height: u,
@@ -1451,7 +1451,7 @@ class Pe extends Fe {
1451
1451
  sideIdent: r,
1452
1452
  rowIndex: e.r1,
1453
1453
  columnIndex: e.c1,
1454
- left: d,
1454
+ left: c,
1455
1455
  top: n,
1456
1456
  width: f,
1457
1457
  height: u,
@@ -1462,7 +1462,7 @@ class Pe extends Fe {
1462
1462
  }), o.areaIdent === "header" && this.tableOptions.columnsResizable && this.renderHeaderCellResizeHandle({
1463
1463
  rowIndex: e.r1,
1464
1464
  columnIndex: e.c1,
1465
- cellLeft: d,
1465
+ cellLeft: c,
1466
1466
  cellTop: n,
1467
1467
  cellWidth: f,
1468
1468
  cellHeight: u,
@@ -1506,33 +1506,33 @@ class Pe extends Fe {
1506
1506
  columnIndexStart: n,
1507
1507
  columnIndexEnd: l,
1508
1508
  verticalFixed: a = !1,
1509
- lastRowOfModel: c = !1
1509
+ lastRowOfModel: d = !1
1510
1510
  }) {
1511
1511
  var m;
1512
1512
  this.scrollViewportLeft = this.scrollViewport.scrollLeft;
1513
- let d = 0;
1513
+ let c = 0;
1514
1514
  if (!a) {
1515
1515
  const g = this.areaBodyCenterGeo.width - this.tableModel.getContentWidthInPixel();
1516
- d = this.scrollFactorX * g;
1516
+ c = this.scrollFactorX * g;
1517
1517
  }
1518
1518
  const u = 0, f = !!(e === "body" && t);
1519
- let p = d;
1519
+ let p = c;
1520
1520
  for (let g = n; g <= l; g++) {
1521
1521
  const b = p, y = this.tableModel.getColumnWidth(g);
1522
1522
  if (y > 0 && b + y > 0) {
1523
1523
  let C = o.height;
1524
- const R = s.getRowspanAt(r, g), S = s.getColspanAt(r, g);
1525
- R > 1 && (C = this.getRowHeights(r, r + R - 1, s).reduce((E, M) => E + M, 0));
1524
+ const A = s.getRowspanAt(r, g), S = s.getColspanAt(r, g);
1525
+ A > 1 && (C = this.getRowHeights(r, r + A - 1, s).reduce((E, M) => E + M, 0));
1526
1526
  let w = y;
1527
1527
  S > 1 && (w = this.getColumnWidths(g, g + S - 1).reduce((E, M) => E + M, 0));
1528
- let k = !1;
1529
- if (this.colAndRowspanModels && this.colAndRowspanModels[e] && (m = this.colAndRowspanModels[e]) != null && m.isInRange(r, g) && (k = !0), this.draggingTargetColumnIndex === g && e !== "header") {
1528
+ let I = !1;
1529
+ if (this.colAndRowspanModels && this.colAndRowspanModels[e] && (m = this.colAndRowspanModels[e]) != null && m.isInRange(r, g) && (I = !0), this.draggingTargetColumnIndex === g && e !== "header") {
1530
1530
  this.renderDragTargetDiv(i, b, u, w, C);
1531
1531
  const E = { left: b, top: u, width: w, height: C };
1532
1532
  this.dom.addColumnBorderDivs(this.tableOptions, i, E, e, t);
1533
1533
  } else {
1534
- const E = this.renderSelectedBackgroundDiv(k, f, t, s, r, g, i, b, u, w, C);
1535
- "gammaCells" in s && s.getValueAt(r, g) && (k = !1), k || this.renderCell({
1534
+ const E = this.renderSelectedBackgroundDiv(I, f, t, s, r, g, i, b, u, w, C);
1535
+ "gammaCells" in s && s.getValueAt(r, g) && (I = !1), I || this.renderCell({
1536
1536
  areaModel: s,
1537
1537
  areaIdent: e,
1538
1538
  sideIdent: t,
@@ -1544,7 +1544,7 @@ class Pe extends Fe {
1544
1544
  height: C,
1545
1545
  parent: i,
1546
1546
  cellSelected: E,
1547
- lastRowOfModel: c,
1547
+ lastRowOfModel: d,
1548
1548
  gammaRange: !0
1549
1549
  }), e === "header" && this.tableOptions.columnsResizable && this.renderHeaderCellResizeHandle({
1550
1550
  rowIndex: r,
@@ -1584,51 +1584,51 @@ class Pe extends Fe {
1584
1584
  width: n,
1585
1585
  height: l,
1586
1586
  top: a,
1587
- parent: c,
1588
- lastRowOfModel: d
1587
+ parent: d,
1588
+ lastRowOfModel: c
1589
1589
  }) {
1590
- var ie;
1590
+ var ne;
1591
1591
  const f = this.editorRenderer && this.editorRendererRow === o && this.editorRendererColumn === i ? this.editorRenderer : e.getCellRenderer(o, i), p = { left: r, width: n, height: l, top: a, index: i }, m = e.getRowByIndex(o);
1592
1592
  let g = "none";
1593
- if (i === this.getTreeArrowColumnIndex() && $(m)) {
1593
+ if (i === this.getTreeArrowColumnIndex() && V(m)) {
1594
1594
  const v = m;
1595
- (ie = v.children) != null && ie.length ? v.expanded ? g = "expanded" : g = "collapsed" : g = "hidden";
1595
+ (ne = v.children) != null && ne.length ? v.expanded ? g = "expanded" : g = "collapsed" : g = "hidden";
1596
1596
  }
1597
1597
  let y;
1598
1598
  if (t === "header") {
1599
1599
  const v = this.tableModel.getColumnDef(i);
1600
1600
  (!(v != null && v.sortIconVisible) || v != null && v.sortIconVisible()) && (y = v == null ? void 0 : v.sortState);
1601
1601
  }
1602
- const C = e.getValueAt(o, i), R = f ? "" : `${C}`, S = e.isRowChecked(o), w = this.dom.addColumnDiv(
1602
+ const C = e.getValueAt(o, i), A = f ? "" : `${C}`, S = e.isRowChecked(o), w = this.dom.addColumnDiv(
1603
1603
  {
1604
- parent: c,
1604
+ parent: d,
1605
1605
  geo: p,
1606
1606
  rowIndex: o,
1607
1607
  columnIndex: i,
1608
1608
  areaIdent: t,
1609
1609
  sideIdent: s,
1610
- text: R,
1610
+ text: A,
1611
1611
  treeArrow: g,
1612
1612
  tableOptions: this.tableOptions,
1613
1613
  checkedType: S,
1614
1614
  sortState: y
1615
1615
  }
1616
- ), k = e.getTooltipAt(o, i);
1617
- k && this.dom.setAttribute(w, "title", k);
1616
+ ), I = e.getTooltipAt(o, i);
1617
+ I && this.dom.setAttribute(w, "title", I);
1618
1618
  const E = this.tableModel.getColumnDef(i);
1619
1619
  E && E.classes[t] && this.dom.addClasses(E.classes[t], w);
1620
1620
  let M;
1621
1621
  f && (M = f.render(w, o, i, t, e, C, this.dom.domService));
1622
- const W = e.getCustomClassesAt(o, i);
1623
- if (W.length && this.dom.addClasses(W, w), this.dom.addColumnBorderDivs(this.tableOptions, c, p, t, s), d && this.dom.addHorizontalBorder({ left: r, width: n, height: l, top: a + l }, c), this.getFocusModel && t === "body") {
1622
+ const N = e.getCustomClassesAt(o, i);
1623
+ if (N.length && this.dom.addClasses(N, w), this.dom.addColumnBorderDivs(this.tableOptions, d, p, t, s), c && this.dom.addHorizontalBorder({ left: r, width: n, height: l, top: a + l }, d), this.getFocusModel && t === "body") {
1624
1624
  const v = this.getFocusModel();
1625
- v != null && v.hasFocus(o, i) && this.dom.addFocusBorderDivs(c, p, {});
1625
+ v != null && v.hasFocus(o, i) && this.dom.addFocusBorderDivs(d, p, {});
1626
1626
  }
1627
1627
  t === "header" && this.dom.setAttribute(w, "data-ge-action", "drag-column");
1628
- const j = e.getCustomStyleAt(o, i);
1629
- if (j)
1630
- for (const v in j)
1631
- this.dom.setStyle(w, v, j[v]);
1628
+ const K = e.getCustomStyleAt(o, i);
1629
+ if (K)
1630
+ for (const v in K)
1631
+ this.dom.setStyle(w, v, K[v]);
1632
1632
  return [w, M];
1633
1633
  }
1634
1634
  /**
@@ -1761,12 +1761,12 @@ class Pe extends Fe {
1761
1761
  if (this.dragging) {
1762
1762
  const r = this.hostElement.clientHeight, n = this.storedColumnWidths[t];
1763
1763
  if ((o = e.originalEvent) != null && o.clientX) {
1764
- const c = { left: ((i = e.originalEvent) == null ? void 0 : i.clientX) - n / 2, width: n, height: r, top: 0, index: t };
1764
+ const d = { left: ((i = e.originalEvent) == null ? void 0 : i.clientX) - n / 2, width: n, height: r, top: 0, index: t };
1765
1765
  this.dom.applyStyle(this.draggingColumn, {
1766
1766
  background: "rgba(128,128,128,0.2)",
1767
1767
  display: "block",
1768
1768
  overfllow: "clip"
1769
- }), this.dom.applyStyleInPx(this.draggingColumn, c), s && this.renderContentOfDraggingColumn(c);
1769
+ }), this.dom.applyStyleInPx(this.draggingColumn, d), s && this.renderContentOfDraggingColumn(d);
1770
1770
  }
1771
1771
  } else
1772
1772
  this.hideDraggingColumn();
@@ -1795,7 +1795,7 @@ class Pe extends Fe {
1795
1795
  if (r) {
1796
1796
  const n = e.index ?? 0, l = this.draggingColumn;
1797
1797
  for (let a = 0; a < r; a++) {
1798
- const c = s, d = i.getRowHeight(a), u = { left: 0, width: e.width, height: d, top: c, index: a }, f = i.getValueAt(a, n), p = i.getCellRenderer(a, n), m = p ? "" : `${f}`, g = {
1798
+ const d = s, c = i.getRowHeight(a), u = { left: 0, width: e.width, height: c, top: d, index: a }, f = i.getValueAt(a, n), p = i.getCellRenderer(a, n), m = p ? "" : `${f}`, g = {
1799
1799
  parent: l,
1800
1800
  geo: u,
1801
1801
  rowIndex: a,
@@ -1808,13 +1808,13 @@ class Pe extends Fe {
1808
1808
  p && (y = p.render(b, a, n, t, i, f, this.dom.domService), y && this.cleanupFunctions[t].push(y));
1809
1809
  const C = i.getCustomClassesAt(a, n);
1810
1810
  C.length && this.dom.addClasses(C, b);
1811
- const R = this.tableModel.getColumnDef(n);
1812
- R && R.classes[t] && this.dom.addClasses(R.classes[t], b), this.dom.addColumnBorderDivs(this.tableOptions, l, u, t, o);
1811
+ const A = this.tableModel.getColumnDef(n);
1812
+ A && A.classes[t] && this.dom.addClasses(A.classes[t], b), this.dom.addColumnBorderDivs(this.tableOptions, l, u, t, o);
1813
1813
  const S = i.getCustomStyleAt(a, n);
1814
1814
  if (S)
1815
1815
  for (const w in S)
1816
1816
  this.dom.setStyle(b, w, S[w]);
1817
- s = s + d;
1817
+ s = s + c;
1818
1818
  }
1819
1819
  }
1820
1820
  return s;
@@ -1863,7 +1863,7 @@ class Pe extends Fe {
1863
1863
  * @param {number} height - The height of the div.
1864
1864
  * @returns {boolean} - Whether the cell is selected.
1865
1865
  */
1866
- renderSelectedBackgroundDiv(e, t, s, o, i, r, n, l, a, c, d) {
1866
+ renderSelectedBackgroundDiv(e, t, s, o, i, r, n, l, a, d, c) {
1867
1867
  let u = !1;
1868
1868
  if (!e && t && o.isSelectable(i, r) && this.getSelectionModel) {
1869
1869
  const f = this.getSelectionModel();
@@ -1875,7 +1875,7 @@ class Pe extends Fe {
1875
1875
  // ge-table-body-west-selected-range
1876
1876
  this.dom.createDivWithClass(`ge-table-${o.areaIdent}-${s}-selected-range`, n)
1877
1877
  );
1878
- this.dom.setStyle(g, "left", `${l}px`), this.dom.setStyle(g, "top", `${a}px`), this.dom.setStyle(g, "width", `${c}px`), this.dom.setStyle(g, "height", `${d}px`);
1878
+ this.dom.setStyle(g, "left", `${l}px`), this.dom.setStyle(g, "top", `${a}px`), this.dom.setStyle(g, "width", `${d}px`), this.dom.setStyle(g, "height", `${c}px`);
1879
1879
  }
1880
1880
  }
1881
1881
  }
@@ -1910,8 +1910,8 @@ class Pe extends Fe {
1910
1910
  top: n,
1911
1911
  width: l,
1912
1912
  height: a,
1913
- parent: c,
1914
- cellSelected: d,
1913
+ parent: d,
1914
+ cellSelected: c,
1915
1915
  lastRowOfModel: u
1916
1916
  }) {
1917
1917
  const [f, p] = this.addAndRenderCellDiv({
@@ -1924,10 +1924,10 @@ class Pe extends Fe {
1924
1924
  width: l,
1925
1925
  height: a,
1926
1926
  top: n,
1927
- parent: c,
1927
+ parent: d,
1928
1928
  lastRowOfModel: u
1929
1929
  });
1930
- d && this.dom.addClass(`ge-table-${t}-${s}-selected-range`, f), p && this.cleanupFunctions[t].push(p);
1930
+ c && this.dom.addClass(`ge-table-${t}-${s}-selected-range`, f), p && this.cleanupFunctions[t].push(p);
1931
1931
  }
1932
1932
  /**
1933
1933
  * Render the header cell resize handle.
@@ -1944,11 +1944,11 @@ class Pe extends Fe {
1944
1944
  * @return {void}
1945
1945
  */
1946
1946
  renderHeaderCellResizeHandle({ rowIndex: e, columnIndex: t, cellLeft: s, cellTop: o, cellWidth: i, cellHeight: r, parent: n }) {
1947
- const l = this.dom.domService, a = this.tableOptions.columnResizeHandleWidthInPx ?? 2, c = l.createElement("div");
1948
- l.setAttribute(c, "data-col-index", `${t}`), l.setAttribute(c, "data-row-index", `${e}`), l.setAttribute(c, "data-area", "header"), l.setAttribute(c, "data-ge-action", "resize-column"), l.addClass(c, "ge-table-column-resize-handle"), l.setStyle(c, "display", "clip"), l.setStyle(c, "position", "absolute"), l.setStyle(c, "cursor", "col-resize"), l.setStyle(c, "left", `${s + i - a}px`), l.setStyle(c, "top", `${o}px`), l.setStyle(c, "width", `${a}px`), l.setStyle(c, "height", `${r}px`), l.appendChild(n, c);
1947
+ const l = this.dom.domService, a = this.tableOptions.columnResizeHandleWidthInPx ?? 2, d = l.createElement("div");
1948
+ l.setAttribute(d, "data-col-index", `${t}`), l.setAttribute(d, "data-row-index", `${e}`), l.setAttribute(d, "data-area", "header"), l.setAttribute(d, "data-ge-action", "resize-column"), l.addClass(d, "ge-table-column-resize-handle"), l.setStyle(d, "display", "clip"), l.setStyle(d, "position", "absolute"), l.setStyle(d, "cursor", "col-resize"), l.setStyle(d, "left", `${s + i - a}px`), l.setStyle(d, "top", `${o}px`), l.setStyle(d, "width", `${a}px`), l.setStyle(d, "height", `${r}px`), l.appendChild(n, d);
1949
1949
  }
1950
1950
  }
1951
- class _e {
1951
+ class $e {
1952
1952
  constructor(e, t) {
1953
1953
  this.columnIndex = e, this.sortState = t;
1954
1954
  }
@@ -1969,7 +1969,7 @@ class Oe {
1969
1969
  if (e.target instanceof HTMLInputElement || e.target instanceof HTMLSelectElement || e.target instanceof HTMLTextAreaElement) {
1970
1970
  const t = e.target, s = t.getAttribute("data-area"), o = t.getAttribute("data-row-index"), i = t.getAttribute("data-col-index");
1971
1971
  if (s && o && i) {
1972
- const r = Q(s), n = Number(o), l = Number(i);
1972
+ const r = Y(s), n = Number(o), l = Number(i);
1973
1973
  this.tableScope.updateModelValueAfterEdit(r, n, l, t.value);
1974
1974
  }
1975
1975
  }
@@ -1980,25 +1980,25 @@ class Be {
1980
1980
  this.rowIndex = e, this.columnIndex = t;
1981
1981
  }
1982
1982
  }
1983
- class te {
1983
+ class oe {
1984
1984
  constructor(e) {
1985
1985
  this.cells = e;
1986
1986
  }
1987
1987
  static createSingle(e, t) {
1988
- return new te([new Be(e, t)]);
1988
+ return new oe([new Be(e, t)]);
1989
1989
  }
1990
1990
  }
1991
- class $e {
1991
+ class He {
1992
1992
  constructor(e) {
1993
1993
  var t, s;
1994
1994
  this.tableScope = e, (t = this.tableScope.tableOptions) != null && t.getSelectionModel && (this.getSelectionModel = this.tableScope.tableOptions.getSelectionModel), (s = this.tableScope.tableOptions) != null && s.getFocusModel && (this.getFocusModel = this.tableScope.tableOptions.getFocusModel);
1995
1995
  }
1996
1996
  onMouseClicked(e, t) {
1997
- var i, r, n, l, a, c, d;
1997
+ var i, r, n, l, a, d, c;
1998
1998
  let s = !1, o = !1;
1999
1999
  if (this.getSelectionModel && this.getFocusModel) {
2000
2000
  const u = this.getSelectionModel(), f = this.getFocusModel();
2001
- u && f && (f.hasFocus(e.rowIndex, e.columnIndex) || (f.setFocus(e.rowIndex, e.columnIndex), this.tableScope.onFocusChanged(f), s = !0), (i = e.originalEvent) != null && i.shiftKey || u.hasSelection() && (u.clear(), s = !0), (r = e.originalEvent) != null && r.shiftKey && this.previousEvt ? (u.addSelection(this.createRangeByEvents(e, this.previousEvt)), o = !0, s = !0) : (n = e.originalEvent) != null && n.altKey && ((l = e.originalEvent) != null && l.ctrlKey || (a = e.originalEvent) != null && a.metaKey) ? (u.removeSelection(A.singleCell(e.rowIndex, e.columnIndex)), o = !0, s = !0) : (c = e.originalEvent) != null && c.ctrlKey || (d = e.originalEvent) != null && d.metaKey ? (u.addSelection(A.singleCell(e.rowIndex, e.columnIndex)), o = !0, s = !0) : (u.firstClick(e.rowIndex, e.columnIndex), s = !0), this.tableScope.onSelectionChanged(u));
2001
+ u && f && (f.hasFocus(e.rowIndex, e.columnIndex) || (f.setFocus(e.rowIndex, e.columnIndex), this.tableScope.onFocusChanged(f), s = !0), (i = e.originalEvent) != null && i.shiftKey || u.hasSelection() && (u.clear(), s = !0), (r = e.originalEvent) != null && r.shiftKey && this.previousEvt ? (u.addSelection(this.createRangeByEvents(e, this.previousEvt)), o = !0, s = !0) : (n = e.originalEvent) != null && n.altKey && ((l = e.originalEvent) != null && l.ctrlKey || (a = e.originalEvent) != null && a.metaKey) ? (u.removeSelection(R.singleCell(e.rowIndex, e.columnIndex)), o = !0, s = !0) : (d = e.originalEvent) != null && d.ctrlKey || (c = e.originalEvent) != null && c.metaKey ? (u.addSelection(R.singleCell(e.rowIndex, e.columnIndex)), o = !0, s = !0) : (u.firstClick(e.rowIndex, e.columnIndex), s = !0), this.tableScope.onSelectionChanged(u));
2002
2002
  }
2003
2003
  return o ? this.previousEvt = void 0 : this.previousEvt = e == null ? void 0 : e.clone(), s;
2004
2004
  }
@@ -2021,7 +2021,7 @@ class $e {
2021
2021
  createRangeByEvents(e, t) {
2022
2022
  t || (t = e);
2023
2023
  const s = Math.min(e.rowIndex, t == null ? void 0 : t.rowIndex), o = Math.max(e.rowIndex, t == null ? void 0 : t.rowIndex), i = Math.min(e.columnIndex, t == null ? void 0 : t.columnIndex), r = Math.max(e.columnIndex, t == null ? void 0 : t.columnIndex);
2024
- return A.create({
2024
+ return R.create({
2025
2025
  rowIndex1: s,
2026
2026
  columnIndex1: i,
2027
2027
  rowIndex2: o,
@@ -2029,7 +2029,7 @@ class $e {
2029
2029
  });
2030
2030
  }
2031
2031
  }
2032
- class He {
2032
+ class Ve {
2033
2033
  get() {
2034
2034
  return {
2035
2035
  f2: "START_EDITING",
@@ -2049,7 +2049,7 @@ class He {
2049
2049
  };
2050
2050
  }
2051
2051
  }
2052
- class Ve {
2052
+ class We {
2053
2053
  get() {
2054
2054
  return {
2055
2055
  f2: "START_EDITING",
@@ -2071,7 +2071,7 @@ class Ve {
2071
2071
  };
2072
2072
  }
2073
2073
  }
2074
- class We {
2074
+ class Ne {
2075
2075
  constructor(e) {
2076
2076
  this.tableScope = e, this.shortcutActionIdMapping = {}, this.listener = [], this.listener.push(e), this.init();
2077
2077
  }
@@ -2092,7 +2092,7 @@ class We {
2092
2092
  this.assignPredefinedSystemShortcutMappings(), Object.assign(this.shortcutActionIdMapping, this.tableScope.tableOptions.shortcutActionIdMapping), this.isDebug() && console.debug("ShortcutService", this.shortcutActionIdMapping), this.tableScope.hostElement.addEventListener("keydown", this.onKeyDown.bind(this));
2093
2093
  }
2094
2094
  assignPredefinedSystemShortcutMappings() {
2095
- this.isMacintosh() ? Object.assign(this.shortcutActionIdMapping, new Ve().get()) : Object.assign(this.shortcutActionIdMapping, new He().get());
2095
+ this.isMacintosh() ? Object.assign(this.shortcutActionIdMapping, new We().get()) : Object.assign(this.shortcutActionIdMapping, new Ve().get());
2096
2096
  }
2097
2097
  isMacintosh() {
2098
2098
  return navigator.platform.indexOf("Mac") > -1;
@@ -2144,7 +2144,7 @@ class We {
2144
2144
  return this.shortcutActionIdMapping;
2145
2145
  }
2146
2146
  }
2147
- class re {
2147
+ class ae {
2148
2148
  onCheckboxChanged(e) {
2149
2149
  }
2150
2150
  onContextmenu(e) {
@@ -2164,7 +2164,7 @@ class re {
2164
2164
  onFocusChanged(e) {
2165
2165
  }
2166
2166
  }
2167
- class Ne {
2167
+ class Ge {
2168
2168
  setStyle(e, t, s) {
2169
2169
  return e.style[t] = s, e;
2170
2170
  }
@@ -2191,7 +2191,7 @@ class Ne {
2191
2191
  e.setAttribute(t, s);
2192
2192
  }
2193
2193
  }
2194
- class Ge {
2194
+ class ze {
2195
2195
  render(e, t, s, o, i, r, n) {
2196
2196
  if (i.isEditable(t, s)) {
2197
2197
  n.addClass(e, "ge-table-row-input-div");
@@ -2212,7 +2212,7 @@ class Ge {
2212
2212
  }
2213
2213
  }
2214
2214
  }
2215
- class xe {
2215
+ class ie {
2216
2216
  constructor(e = "none", t = "single") {
2217
2217
  this.selectionType = e, this.selectionMode = t, this.ranges = [], this.negativeRanges = [], this.allSelected = !1, this.silent = !1, this.listenerArr = [];
2218
2218
  }
@@ -2231,7 +2231,7 @@ class xe {
2231
2231
  this.silent || this.listenerArr.forEach((e) => e.onSelectionChanged(this));
2232
2232
  }
2233
2233
  firstClick(e, t) {
2234
- this.selectionType === "row" ? this.addRange(A.singleRow(e)) : this.selectionType === "column" && this.addRange(A.singleColumn(t));
2234
+ this.selectionType === "row" ? this.addRange(R.singleRow(e)) : this.selectionType === "column" && this.addRange(R.singleColumn(t));
2235
2235
  }
2236
2236
  getSelectionCount(e, t) {
2237
2237
  let s = 0;
@@ -2282,10 +2282,10 @@ class xe {
2282
2282
  if (this.selectionType === "none")
2283
2283
  return;
2284
2284
  let t = e;
2285
- this.selectionType === "row" ? t = A.singleRow(e.r1) : this.selectionType === "column" && (t = A.singleColumn(e.c1)), this.negativeRanges.push(t), this.fireChangeEvent();
2285
+ this.selectionType === "row" ? t = R.singleRow(e.r1) : this.selectionType === "column" && (t = R.singleColumn(e.c1)), this.negativeRanges.push(t), this.fireChangeEvent();
2286
2286
  }
2287
2287
  togglePoint(e, t) {
2288
- this.getSelectionCount(e, t) > 0 ? this.removeSelection(A.singleCell(e, t)) : this.addSelection(A.singleCell(e, t));
2288
+ this.getSelectionCount(e, t) > 0 ? this.removeSelection(R.singleCell(e, t)) : this.addSelection(R.singleCell(e, t));
2289
2289
  }
2290
2290
  isSelected(e, t) {
2291
2291
  return this.getSelectionCount(e, t) > 0;
@@ -2294,7 +2294,7 @@ class xe {
2294
2294
  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), this.fireChangeEvent());
2295
2295
  }
2296
2296
  }
2297
- class ze {
2297
+ class Ue {
2298
2298
  constructor(e = "none") {
2299
2299
  this.selectionType = e, this.rowIndex = -1, this.columnIndex = -1, this.changed = !1, this.listenerArr = [];
2300
2300
  }
@@ -2331,7 +2331,7 @@ class ze {
2331
2331
  return [this.rowIndex, this.columnIndex];
2332
2332
  }
2333
2333
  }
2334
- class se {
2334
+ class re {
2335
2335
  constructor(e = new P(
2336
2336
  "❯",
2337
2337
  "",
@@ -2345,17 +2345,17 @@ class se {
2345
2345
  }
2346
2346
  // `⊖ `, `⊕ `;
2347
2347
  }
2348
- const Ue = new xe(), je = new ze("cell");
2349
- class K {
2348
+ const je = new ie(), Xe = new Ue("cell");
2349
+ class z {
2350
2350
  constructor() {
2351
2351
  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 = {
2352
2352
  header: 34,
2353
2353
  body: 34,
2354
2354
  footer: 34
2355
- }, this.footerVerticalSeparator = !1, this.headerToggleExpandCollapseIcons = !1, this.headerVerticalSeparator = !1, this.treeOptions = new me(), this.headerGroupOptions = new se(), this.showCheckboxWihoutExtraColumn = !1, this.externalFilterFunction = void 0, this.sortedOptions = new be(), this.sortOrder = ["asc", "desc"], this.resizeEventDebounceDelay = 500, this.getEditRenderer = (e, t) => new Ge(), this.getSelectionModel = () => Ue, this.getFocusModel = () => je;
2355
+ }, this.footerVerticalSeparator = !1, this.headerToggleExpandCollapseIcons = !1, this.headerVerticalSeparator = !1, this.treeOptions = new xe(), this.headerGroupOptions = new re(), this.showCheckboxWihoutExtraColumn = !1, this.externalFilterFunction = void 0, this.sortedOptions = new we(), this.sortOrder = ["asc", "desc"], this.resizeEventDebounceDelay = 500, this.getEditRenderer = (e, t) => new ze(), this.getSelectionModel = () => je, this.getFocusModel = () => Xe;
2356
2356
  }
2357
2357
  }
2358
- const B = class B {
2358
+ const H = class H {
2359
2359
  /**
2360
2360
  * Returns the content to be copied based on the provided table model, selection model, and focus model.
2361
2361
  *
@@ -2374,13 +2374,13 @@ const B = class B {
2374
2374
  const n = [];
2375
2375
  for (let l = r.r1; l <= r.r2; l++) {
2376
2376
  const a = [];
2377
- for (let c = r.c1; c <= r.c2; c++) {
2378
- const d = t.isSelected(l, c) ? e.getBodyModel().getTextValueAt(l, c) : "";
2379
- a.push(d);
2377
+ for (let d = r.c1; d <= r.c2; d++) {
2378
+ const c = t.isSelected(l, d) ? e.getBodyModel().getTextValueAt(l, d) : "";
2379
+ a.push(c);
2380
2380
  }
2381
- n.push(a.join(B.columnSeparatorChar));
2381
+ n.push(a.join(H.columnSeparatorChar));
2382
2382
  }
2383
- return o(n.join(B.rowSeparatorChar));
2383
+ return o(n.join(H.rowSeparatorChar));
2384
2384
  }
2385
2385
  }
2386
2386
  if (s) {
@@ -2433,23 +2433,23 @@ const B = class B {
2433
2433
  mergeRanges(e) {
2434
2434
  let t;
2435
2435
  for (const s of e)
2436
- t ? (t.r1 = Math.min(t.r1, s.r1), t.c1 = Math.min(t.c1, s.c1), t.r2 = Math.max(t.r2, s.r2), t.c2 = Math.max(t.c2, s.c2)) : t = new A(s.r1, s.c1, s.r2, s.c2);
2436
+ t ? (t.r1 = Math.min(t.r1, s.r1), t.c1 = Math.min(t.c1, s.c1), t.r2 = Math.max(t.r2, s.r2), t.c2 = Math.max(t.c2, s.c2)) : t = new R(s.r1, s.c1, s.r2, s.c2);
2437
2437
  return t;
2438
2438
  }
2439
2439
  };
2440
- B.columnSeparatorChar = " ", B.rowSeparatorChar = `
2440
+ H.columnSeparatorChar = " ", H.rowSeparatorChar = `
2441
2441
  `;
2442
- let G = B;
2443
- class Xe {
2442
+ let U = H;
2443
+ class Ye {
2444
2444
  constructor(e, t = 500) {
2445
- this.tableScope = e, this.debounceDelay = t, new ResizeObserver(Ce(this.handleResize.bind(this), t)).observe(this.tableScope.hostElement);
2445
+ this.tableScope = e, this.debounceDelay = t, new ResizeObserver(ve(this.handleResize.bind(this), t)).observe(this.tableScope.hostElement);
2446
2446
  }
2447
2447
  handleResize(e) {
2448
2448
  const t = e[0], { width: s } = t.contentRect;
2449
2449
  this.tableScope.recalcColumnWidths(s);
2450
2450
  }
2451
2451
  }
2452
- class Ye {
2452
+ class Ke {
2453
2453
  /**
2454
2454
  * Downloads a matrix data as an Excel file.
2455
2455
  *
@@ -2481,10 +2481,10 @@ class Ye {
2481
2481
  <Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Id="rId3" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles" Target="styles.xml"/><Relationship Id="rId2" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme" Target="theme/theme1.xml"/><Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet" Target="worksheets/sheet1.xml"/><Relationship Id="rId4" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings" Target="sharedStrings.xml"/></Relationships>`, n = `<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2482
2482
  <a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme"><a:themeElements><a:clrScheme name="Office"><a:dk1><a:sysClr val="windowText" lastClr="000000"/></a:dk1><a:lt1><a:sysClr val="window" lastClr="FFFFFF"/></a:lt1><a:dk2><a:srgbClr val="0E2841"/></a:dk2><a:lt2><a:srgbClr val="E8E8E8"/></a:lt2><a:accent1><a:srgbClr val="156082"/></a:accent1><a:accent2><a:srgbClr val="E97132"/></a:accent2><a:accent3><a:srgbClr val="196B24"/></a:accent3><a:accent4><a:srgbClr val="0F9ED5"/></a:accent4><a:accent5><a:srgbClr val="A02B93"/></a:accent5><a:accent6><a:srgbClr val="4EA72E"/></a:accent6><a:hlink><a:srgbClr val="467886"/></a:hlink><a:folHlink><a:srgbClr val="96607D"/></a:folHlink></a:clrScheme><a:fontScheme name="Office"><a:majorFont><a:latin typeface="Aptos Display" panose="02110004020202020204"/><a:ea typeface=""/><a:cs typeface=""/><a:font script="Jpan" typeface="游ゴシック Light"/><a:font script="Hang" typeface="맑은 고딕"/><a:font script="Hans" typeface="等线 Light"/><a:font script="Hant" typeface="新細明體"/><a:font script="Arab" typeface="Times New Roman"/><a:font script="Hebr" typeface="Times New Roman"/><a:font script="Thai" typeface="Tahoma"/><a:font script="Ethi" typeface="Nyala"/><a:font script="Beng" typeface="Vrinda"/><a:font script="Gujr" typeface="Shruti"/><a:font script="Khmr" typeface="MoolBoran"/><a:font script="Knda" typeface="Tunga"/><a:font script="Guru" typeface="Raavi"/><a:font script="Cans" typeface="Euphemia"/><a:font script="Cher" typeface="Plantagenet Cherokee"/><a:font script="Yiii" typeface="Microsoft Yi Baiti"/><a:font script="Tibt" typeface="Microsoft Himalaya"/><a:font script="Thaa" typeface="MV Boli"/><a:font script="Deva" typeface="Mangal"/><a:font script="Telu" typeface="Gautami"/><a:font script="Taml" typeface="Latha"/><a:font script="Syrc" typeface="Estrangelo Edessa"/><a:font script="Orya" typeface="Kalinga"/><a:font script="Mlym" typeface="Kartika"/><a:font script="Laoo" typeface="DokChampa"/><a:font script="Sinh" typeface="Iskoola Pota"/><a:font script="Mong" typeface="Mongolian Baiti"/><a:font script="Viet" typeface="Times New Roman"/><a:font script="Uigh" typeface="Microsoft Uighur"/><a:font script="Geor" typeface="Sylfaen"/><a:font script="Armn" typeface="Arial"/><a:font script="Bugi" typeface="Leelawadee UI"/><a:font script="Bopo" typeface="Microsoft JhengHei"/><a:font script="Java" typeface="Javanese Text"/><a:font script="Lisu" typeface="Segoe UI"/><a:font script="Mymr" typeface="Myanmar Text"/><a:font script="Nkoo" typeface="Ebrima"/><a:font script="Olck" typeface="Nirmala UI"/><a:font script="Osma" typeface="Ebrima"/><a:font script="Phag" typeface="Phagspa"/><a:font script="Syrn" typeface="Estrangelo Edessa"/><a:font script="Syrj" typeface="Estrangelo Edessa"/><a:font script="Syre" typeface="Estrangelo Edessa"/><a:font script="Sora" typeface="Nirmala UI"/><a:font script="Tale" typeface="Microsoft Tai Le"/><a:font script="Talu" typeface="Microsoft New Tai Lue"/><a:font script="Tfng" typeface="Ebrima"/></a:majorFont><a:minorFont><a:latin typeface="Aptos Narrow" panose="02110004020202020204"/><a:ea typeface=""/><a:cs typeface=""/><a:font script="Jpan" typeface="游ゴシック"/><a:font script="Hang" typeface="맑은 고딕"/><a:font script="Hans" typeface="等线"/><a:font script="Hant" typeface="新細明體"/><a:font script="Arab" typeface="Arial"/><a:font script="Hebr" typeface="Arial"/><a:font script="Thai" typeface="Tahoma"/><a:font script="Ethi" typeface="Nyala"/><a:font script="Beng" typeface="Vrinda"/><a:font script="Gujr" typeface="Shruti"/><a:font script="Khmr" typeface="DaunPenh"/><a:font script="Knda" typeface="Tunga"/><a:font script="Guru" typeface="Raavi"/><a:font script="Cans" typeface="Euphemia"/><a:font script="Cher" typeface="Plantagenet Cherokee"/><a:font script="Yiii" typeface="Microsoft Yi Baiti"/><a:font script="Tibt" typeface="Microsoft Himalaya"/><a:font script="Thaa" typeface="MV Boli"/><a:font script="Deva" typeface="Mangal"/><a:font script="Telu" typeface="Gautami"/><a:font script="Taml" typeface="Latha"/><a:font script="Syrc" typeface="Estrangelo Edessa"/><a:font script="Orya" typeface="Kalinga"/><a:font script="Mlym" typeface="Kartika"/><a:font script="Laoo" typeface="DokChampa"/><a:font script="Sinh" typeface="Iskoola Pota"/><a:font script="Mong" typeface="Mongolian Baiti"/><a:font script="Viet" typeface="Arial"/><a:font script="Uigh" typeface="Microsoft Uighur"/><a:font script="Geor" typeface="Sylfaen"/><a:font script="Armn" typeface="Arial"/><a:font script="Bugi" typeface="Leelawadee UI"/><a:font script="Bopo" typeface="Microsoft JhengHei"/><a:font script="Java" typeface="Javanese Text"/><a:font script="Lisu" typeface="Segoe UI"/><a:font script="Mymr" typeface="Myanmar Text"/><a:font script="Nkoo" typeface="Ebrima"/><a:font script="Olck" typeface="Nirmala UI"/><a:font script="Osma" typeface="Ebrima"/><a:font script="Phag" typeface="Phagspa"/><a:font script="Syrn" typeface="Estrangelo Edessa"/><a:font script="Syrj" typeface="Estrangelo Edessa"/><a:font script="Syre" typeface="Estrangelo Edessa"/><a:font script="Sora" typeface="Nirmala UI"/><a:font script="Tale" typeface="Microsoft Tai Le"/><a:font script="Talu" typeface="Microsoft New Tai Lue"/><a:font script="Tfng" typeface="Ebrima"/></a:minorFont></a:fontScheme><a:fmtScheme name="Office"><a:fillStyleLst><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:lumMod val="110000"/><a:satMod val="105000"/><a:tint val="67000"/></a:schemeClr></a:gs><a:gs pos="50000"><a:schemeClr val="phClr"><a:lumMod val="105000"/><a:satMod val="103000"/><a:tint val="73000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:lumMod val="105000"/><a:satMod val="109000"/><a:tint val="81000"/></a:schemeClr></a:gs></a:gsLst><a:lin ang="5400000" scaled="0"/></a:gradFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:satMod val="103000"/><a:lumMod val="102000"/><a:tint val="94000"/></a:schemeClr></a:gs><a:gs pos="50000"><a:schemeClr val="phClr"><a:satMod val="110000"/><a:lumMod val="100000"/><a:shade val="100000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:lumMod val="99000"/><a:satMod val="120000"/><a:shade val="78000"/></a:schemeClr></a:gs></a:gsLst><a:lin ang="5400000" scaled="0"/></a:gradFill></a:fillStyleLst><a:lnStyleLst><a:ln w="12700" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/><a:miter lim="800000"/></a:ln><a:ln w="19050" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/><a:miter lim="800000"/></a:ln><a:ln w="25400" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/><a:miter lim="800000"/></a:ln></a:lnStyleLst><a:effectStyleLst><a:effectStyle><a:effectLst/></a:effectStyle><a:effectStyle><a:effectLst/></a:effectStyle><a:effectStyle><a:effectLst><a:outerShdw blurRad="57150" dist="19050" dir="5400000" algn="ctr" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="63000"/></a:srgbClr></a:outerShdw></a:effectLst></a:effectStyle></a:effectStyleLst><a:bgFillStyleLst><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:solidFill><a:schemeClr val="phClr"><a:tint val="95000"/><a:satMod val="170000"/></a:schemeClr></a:solidFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="93000"/><a:satMod val="150000"/><a:shade val="98000"/><a:lumMod val="102000"/></a:schemeClr></a:gs><a:gs pos="50000"><a:schemeClr val="phClr"><a:tint val="98000"/><a:satMod val="130000"/><a:shade val="90000"/><a:lumMod val="103000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="63000"/><a:satMod val="120000"/></a:schemeClr></a:gs></a:gsLst><a:lin ang="5400000" scaled="0"/></a:gradFill></a:bgFillStyleLst></a:fmtScheme></a:themeElements><a:objectDefaults><a:lnDef><a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="2"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="0"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="1"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="tx1"/></a:fontRef></a:style></a:lnDef></a:objectDefaults><a:extraClrSchemeLst/><a:extLst><a:ext uri="{05A4C25C-085E-4340-85A3-A5531E510DB2}"><thm15:themeFamily xmlns:thm15="http://schemas.microsoft.com/office/thememl/2012/main" name="Office Theme" id="{2E142A2C-CD16-42D6-873A-C26D2A0506FA}" vid="{1BDDFF52-6CD6-40A5-AB3C-68EB2F1E4D0A}"/></a:ext></a:extLst></a:theme>`, l = `<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2483
2483
  <sst xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" count="3" uniqueCount="3"><si><t>a</t></si><si><t>b</t></si><si><t>c</t></si></sst>`, a = `<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2484
- <styleSheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="x14ac x16r2 xr" xmlns:x14ac="http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac" xmlns:x16r2="http://schemas.microsoft.com/office/spreadsheetml/2015/02/main" xmlns:xr="http://schemas.microsoft.com/office/spreadsheetml/2014/revision"><fonts count="1" x14ac:knownFonts="1"><font><sz val="12"/><color theme="1"/><name val="Aptos Narrow"/><family val="2"/><scheme val="minor"/></font></fonts><fills count="2"><fill><patternFill patternType="none"/></fill><fill><patternFill patternType="gray125"/></fill></fills><borders count="1"><border><left/><right/><top/><bottom/><diagonal/></border></borders><cellStyleXfs count="1"><xf numFmtId="0" fontId="0" fillId="0" borderId="0"/></cellStyleXfs><cellXfs count="1"><xf numFmtId="0" fontId="0" fillId="0" borderId="0" xfId="0"/></cellXfs><cellStyles count="1"><cellStyle name="Normal" xfId="0" builtinId="0"/></cellStyles><dxfs count="0"/><tableStyles count="0" defaultTableStyle="TableStyleMedium2" defaultPivotStyle="PivotStyleLight16"/><extLst><ext uri="{EB79DEF2-80B8-43e5-95BD-54CBDDF9020C}" xmlns:x14="http://schemas.microsoft.com/office/spreadsheetml/2009/9/main"><x14:slicerStyles defaultSlicerStyle="SlicerStyleLight1"/></ext><ext uri="{9260A510-F301-46a8-8635-F512D64BE5F5}" xmlns:x15="http://schemas.microsoft.com/office/spreadsheetml/2010/11/main"><x15:timelineStyles defaultTimelineStyle="TimeSlicerStyleLight1"/></ext></extLst></styleSheet>`, c = `<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2485
- <workbook xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="x15 xr xr6 xr10 xr2" xmlns:x15="http://schemas.microsoft.com/office/spreadsheetml/2010/11/main" xmlns:xr="http://schemas.microsoft.com/office/spreadsheetml/2014/revision" xmlns:xr6="http://schemas.microsoft.com/office/spreadsheetml/2016/revision6" xmlns:xr10="http://schemas.microsoft.com/office/spreadsheetml/2016/revision10" xmlns:xr2="http://schemas.microsoft.com/office/spreadsheetml/2015/revision2"><fileVersion appName="xl" lastEdited="7" lowestEdited="7" rupBuild="11207"/><workbookPr defaultThemeVersion="202300"/><mc:AlternateContent xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"><mc:Choice Requires="x15"><x15ac:absPath url="/" xmlns:x15ac="http://schemas.microsoft.com/office/spreadsheetml/2010/11/ac"/></mc:Choice></mc:AlternateContent><xr:revisionPtr revIDLastSave="0" documentId="8_{292BF245-1F37-B045-B1A5-26C42FB62779}" xr6:coauthVersionLast="47" xr6:coauthVersionMax="47" xr10:uidLastSave="{00000000-0000-0000-0000-000000000000}"/><bookViews><workbookView xWindow="11340" yWindow="5060" windowWidth="28040" windowHeight="17440" xr2:uid="{858B8D3F-6246-774D-8903-6D38687B7BC6}"/></bookViews><sheets><sheet name="Sheet1" sheetId="1" r:id="rId1"/></sheets><calcPr calcId="181029"/><extLst><ext uri="{140A7094-0E35-4892-8432-C4D2E57EDEB5}" xmlns:x15="http://schemas.microsoft.com/office/spreadsheetml/2010/11/main"><x15:workbookPr chartTrackingRefBase="1"/></ext><ext uri="{B58B0392-4F1F-4190-BB64-5DF3571DCE5F}" xmlns:xcalcf="http://schemas.microsoft.com/office/spreadsheetml/2018/calcfeatures"><xcalcf:calcFeatures><xcalcf:feature name="microsoft.com:RD"/><xcalcf:feature name="microsoft.com:Single"/><xcalcf:feature name="microsoft.com:FV"/><xcalcf:feature name="microsoft.com:CNMTM"/><xcalcf:feature name="microsoft.com:LET_WF"/><xcalcf:feature name="microsoft.com:LAMBDA_WF"/><xcalcf:feature name="microsoft.com:ARRAYTEXT_WF"/></xcalcf:calcFeatures></ext></extLst></workbook>`, d = `<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2484
+ <styleSheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="x14ac x16r2 xr" xmlns:x14ac="http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac" xmlns:x16r2="http://schemas.microsoft.com/office/spreadsheetml/2015/02/main" xmlns:xr="http://schemas.microsoft.com/office/spreadsheetml/2014/revision"><fonts count="1" x14ac:knownFonts="1"><font><sz val="12"/><color theme="1"/><name val="Aptos Narrow"/><family val="2"/><scheme val="minor"/></font></fonts><fills count="2"><fill><patternFill patternType="none"/></fill><fill><patternFill patternType="gray125"/></fill></fills><borders count="1"><border><left/><right/><top/><bottom/><diagonal/></border></borders><cellStyleXfs count="1"><xf numFmtId="0" fontId="0" fillId="0" borderId="0"/></cellStyleXfs><cellXfs count="1"><xf numFmtId="0" fontId="0" fillId="0" borderId="0" xfId="0"/></cellXfs><cellStyles count="1"><cellStyle name="Normal" xfId="0" builtinId="0"/></cellStyles><dxfs count="0"/><tableStyles count="0" defaultTableStyle="TableStyleMedium2" defaultPivotStyle="PivotStyleLight16"/><extLst><ext uri="{EB79DEF2-80B8-43e5-95BD-54CBDDF9020C}" xmlns:x14="http://schemas.microsoft.com/office/spreadsheetml/2009/9/main"><x14:slicerStyles defaultSlicerStyle="SlicerStyleLight1"/></ext><ext uri="{9260A510-F301-46a8-8635-F512D64BE5F5}" xmlns:x15="http://schemas.microsoft.com/office/spreadsheetml/2010/11/main"><x15:timelineStyles defaultTimelineStyle="TimeSlicerStyleLight1"/></ext></extLst></styleSheet>`, d = `<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2485
+ <workbook xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="x15 xr xr6 xr10 xr2" xmlns:x15="http://schemas.microsoft.com/office/spreadsheetml/2010/11/main" xmlns:xr="http://schemas.microsoft.com/office/spreadsheetml/2014/revision" xmlns:xr6="http://schemas.microsoft.com/office/spreadsheetml/2016/revision6" xmlns:xr10="http://schemas.microsoft.com/office/spreadsheetml/2016/revision10" xmlns:xr2="http://schemas.microsoft.com/office/spreadsheetml/2015/revision2"><fileVersion appName="xl" lastEdited="7" lowestEdited="7" rupBuild="11207"/><workbookPr defaultThemeVersion="202300"/><mc:AlternateContent xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"><mc:Choice Requires="x15"><x15ac:absPath url="/" xmlns:x15ac="http://schemas.microsoft.com/office/spreadsheetml/2010/11/ac"/></mc:Choice></mc:AlternateContent><xr:revisionPtr revIDLastSave="0" documentId="8_{292BF245-1F37-B045-B1A5-26C42FB62779}" xr6:coauthVersionLast="47" xr6:coauthVersionMax="47" xr10:uidLastSave="{00000000-0000-0000-0000-000000000000}"/><bookViews><workbookView xWindow="11340" yWindow="5060" windowWidth="28040" windowHeight="17440" xr2:uid="{858B8D3F-6246-774D-8903-6D38687B7BC6}"/></bookViews><sheets><sheet name="Sheet1" sheetId="1" r:id="rId1"/></sheets><calcPr calcId="181029"/><extLst><ext uri="{140A7094-0E35-4892-8432-C4D2E57EDEB5}" xmlns:x15="http://schemas.microsoft.com/office/spreadsheetml/2010/11/main"><x15:workbookPr chartTrackingRefBase="1"/></ext><ext uri="{B58B0392-4F1F-4190-BB64-5DF3571DCE5F}" xmlns:xcalcf="http://schemas.microsoft.com/office/spreadsheetml/2018/calcfeatures"><xcalcf:calcFeatures><xcalcf:feature name="microsoft.com:RD"/><xcalcf:feature name="microsoft.com:Single"/><xcalcf:feature name="microsoft.com:FV"/><xcalcf:feature name="microsoft.com:CNMTM"/><xcalcf:feature name="microsoft.com:LET_WF"/><xcalcf:feature name="microsoft.com:LAMBDA_WF"/><xcalcf:feature name="microsoft.com:ARRAYTEXT_WF"/></xcalcf:calcFeatures></ext></extLst></workbook>`, c = `<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2486
2486
  <Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types"><Default Extension="rels" ContentType="application/vnd.openxmlformats-package.relationships+xml"/><Default Extension="xml" ContentType="application/xml"/><Override PartName="/xl/workbook.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml"/><Override PartName="/xl/worksheets/sheet1.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml"/><Override PartName="/xl/theme/theme1.xml" ContentType="application/vnd.openxmlformats-officedocument.theme+xml"/><Override PartName="/xl/styles.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml"/><Override PartName="/xl/sharedStrings.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml"/><Override PartName="/docProps/core.xml" ContentType="application/vnd.openxmlformats-package.core-properties+xml"/><Override PartName="/docProps/app.xml" ContentType="application/vnd.openxmlformats-officedocument.extended-properties+xml"/></Types>`, u = /* @__PURE__ */ new Map();
2487
- return u.set("_rels/.rels", s), u.set("docProps/app.xml", o), u.set("docProps/core.xml", i), u.set("xl/_rels/workbook.xml.rels", r), u.set("xl/theme/theme1.xml", n), u.set("xl/worksheets/sheet1.xml", this.getX1WorksheetsSheet1Xml(e)), u.set("xl/sharedStrings.xml", l), u.set("xl/styles.xml", a), u.set("xl/workbook.xml", c), u.set("[Content_Types].xml", d), u;
2487
+ return u.set("_rels/.rels", s), u.set("docProps/app.xml", o), u.set("docProps/core.xml", i), u.set("xl/_rels/workbook.xml.rels", r), u.set("xl/theme/theme1.xml", n), u.set("xl/worksheets/sheet1.xml", this.getX1WorksheetsSheet1Xml(e)), u.set("xl/sharedStrings.xml", l), u.set("xl/styles.xml", a), u.set("xl/workbook.xml", d), u.set("[Content_Types].xml", c), u;
2488
2488
  }
2489
2489
  getX1WorksheetsSheet1Xml(e) {
2490
2490
  const t = [];
@@ -2529,8 +2529,8 @@ class Ye {
2529
2529
  const t = [];
2530
2530
  let s = 0;
2531
2531
  const o = [];
2532
- e.forEach((d, u) => {
2533
- const f = new TextEncoder().encode(u), p = new TextEncoder().encode(d), m = new Uint8Array(30 + f.length), g = new DataView(m.buffer);
2532
+ e.forEach((c, u) => {
2533
+ const f = new TextEncoder().encode(u), p = new TextEncoder().encode(c), m = new Uint8Array(30 + f.length), g = new DataView(m.buffer);
2534
2534
  m.set([80, 75, 3, 4], 0), g.setUint16(4, 20, !0), g.setUint16(6, 0, !0), g.setUint16(8, 0, !0), g.setUint16(10, 0, !0), g.setUint16(12, 0, !0), g.setUint32(14, 0, !0), g.setUint32(18, p.length, !0), g.setUint32(22, p.length, !0), g.setUint16(26, f.length, !0), g.setUint16(28, 0, !0), m.set(f, 30), t.push(m, p), o.push({
2535
2535
  path: u,
2536
2536
  offset: s,
@@ -2538,16 +2538,16 @@ class Ye {
2538
2538
  }), s += m.length + p.length;
2539
2539
  });
2540
2540
  const i = s;
2541
- o.forEach((d) => {
2542
- const u = new TextEncoder().encode(d.path), f = new Uint8Array(46 + u.length), p = new DataView(f.buffer);
2543
- f.set([80, 75, 1, 2], 0), p.setUint16(4, 20, !0), p.setUint16(6, 20, !0), p.setUint16(8, 0, !0), p.setUint16(10, 0, !0), p.setUint16(12, 0, !0), p.setUint16(14, 0, !0), p.setUint32(16, 0, !0), p.setUint32(20, d.contentSize, !0), p.setUint32(24, d.contentSize, !0), p.setUint16(28, u.length, !0), p.setUint16(30, 0, !0), p.setUint16(32, 0, !0), p.setUint16(34, 0, !0), p.setUint16(36, 0, !0), p.setUint32(38, 0, !0), p.setUint32(42, d.offset, !0), f.set(u, 46), t.push(f), s += f.length;
2541
+ o.forEach((c) => {
2542
+ const u = new TextEncoder().encode(c.path), f = new Uint8Array(46 + u.length), p = new DataView(f.buffer);
2543
+ f.set([80, 75, 1, 2], 0), p.setUint16(4, 20, !0), p.setUint16(6, 20, !0), p.setUint16(8, 0, !0), p.setUint16(10, 0, !0), p.setUint16(12, 0, !0), p.setUint16(14, 0, !0), p.setUint32(16, 0, !0), p.setUint32(20, c.contentSize, !0), p.setUint32(24, c.contentSize, !0), p.setUint16(28, u.length, !0), p.setUint16(30, 0, !0), p.setUint16(32, 0, !0), p.setUint16(34, 0, !0), p.setUint16(36, 0, !0), p.setUint32(38, 0, !0), p.setUint32(42, c.offset, !0), f.set(u, 46), t.push(f), s += f.length;
2544
2544
  });
2545
2545
  const r = new Uint8Array(22), n = new DataView(r.buffer);
2546
2546
  r.set([80, 75, 5, 6], 0), n.setUint16(4, 0, !0), n.setUint16(6, 0, !0), n.setUint16(8, o.length, !0), n.setUint16(10, o.length, !0), n.setUint32(12, s - i, !0), n.setUint32(16, i, !0), n.setUint16(20, 0, !0), t.push(r);
2547
- const l = t.reduce((d, u) => d + u.length, 0), a = new Uint8Array(l);
2548
- let c = 0;
2549
- for (const d of t)
2550
- a.set(d, c), c += d.length;
2547
+ const l = t.reduce((c, u) => c + u.length, 0), a = new Uint8Array(l);
2548
+ let d = 0;
2549
+ for (const c of t)
2550
+ a.set(c, d), d += c.length;
2551
2551
  return a;
2552
2552
  }
2553
2553
  generateBuffer(e, t = "") {
@@ -2555,14 +2555,14 @@ class Ye {
2555
2555
  return this.createZip(s);
2556
2556
  }
2557
2557
  }
2558
- class we extends Pe {
2559
- constructor(e, t, s, o, i, r = new G(), n = new Ye()) {
2560
- var c;
2561
- if (super(e, t, new Re(s), o), this.eventListener = i, this.copyService = r, this.excelService = n, this.licenseManager = O.getInstance(), this.selectionService = new $e(this), this.api = new Me(this), this.mouseStartAction = "", this.mouseStartWidth = -1, this.mouseStartColumnIndex = -1, this.dragFrom = -1, this.dragTo = -1, this.lastDragFrom = -1, this.lastDragTo = -1, this.firstDraggingRendering = !0, i || (this.eventListener = new re()), (c = this.tableOptions) != null && c.autoRestoreOptions) {
2562
- const d = this.tableOptions.autoRestoreOptions, u = d.getStorageKeyFn;
2563
- u && (d.autoRestoreScrollPosition && (this.storeScrollPosStateService = new Te(u)), d.autoRestoreCollapsedExpandedState && (this.storeStateCollapsedExpandService = new Ie(u)), d.autoRestoreSortingState && (this.storeSortingService = new De(u)));
2558
+ class Se extends _e {
2559
+ constructor(e, t, s, o, i, r = new U(), n = new Ke()) {
2560
+ var d;
2561
+ if (super(e, t, new Re(s), o), this.eventListener = i, this.copyService = r, this.excelService = n, this.licenseManager = B.getInstance(), this.selectionService = new He(this), this.api = new Te(this), this.mouseStartAction = "", this.mouseStartWidth = -1, this.mouseStartColumnIndex = -1, this.dragFrom = -1, this.dragTo = -1, this.lastDragFrom = -1, this.lastDragTo = -1, this.firstDraggingRendering = !0, t.setTableScope(this), i || (this.eventListener = new ae()), (d = this.tableOptions) != null && d.autoRestoreOptions) {
2562
+ const c = this.tableOptions.autoRestoreOptions, u = c.getStorageKeyFn;
2563
+ u && (c.autoRestoreScrollPosition && (this.storeScrollPosStateService = new ke(u)), c.autoRestoreCollapsedExpandedState && (this.storeStateCollapsedExpandService = new De(u)), c.autoRestoreSortingState && (this.storeSortingService = new Fe(u)));
2564
2564
  }
2565
- this.mouseHandler = new Ee(this), this.inputHandler = new Oe(this), this.resizeHandler = new Xe(this, o.resizeEventDebounceDelay), this.shortcutService = new We(this), this.shortcutService.addListener(this.selectionService);
2565
+ this.mouseHandler = new Me(this), this.inputHandler = new Oe(this), this.resizeHandler = new Ye(this, o.resizeEventDebounceDelay), this.shortcutService = new Ne(this), this.shortcutService.addListener(this.selectionService);
2566
2566
  const l = this.getSelectionModel ? this.getSelectionModel() : void 0;
2567
2567
  l && l.addEventSelectionChangedListener(this);
2568
2568
  const a = this.getFocusModel ? this.getFocusModel() : void 0;
@@ -2580,8 +2580,8 @@ class we extends Pe {
2580
2580
  *
2581
2581
  * @return {TableScope} - The newly created TableScope instance.
2582
2582
  */
2583
- static create(e, t, s = new K(), o = new re(), i = new Ne(), r = new G()) {
2584
- return new we(e, t, i, s, o, r);
2583
+ static create(e, t, s = new z(), o = new ae(), i = new Ge(), r = new U()) {
2584
+ return new Se(e, t, i, s, o, r);
2585
2585
  }
2586
2586
  /**
2587
2587
  * Triggers an action based on the provided actionId.
@@ -2609,7 +2609,7 @@ class we extends Pe {
2609
2609
  return !1;
2610
2610
  }
2611
2611
  updateModelValueAfterEdit(e, t, s, o) {
2612
- e === "body" && this.tableModel.getAreaModel(e).setValue(t, s, o) && (this.resetEditorRenderer(), this.repaint(), this.eventListener.onModelChanged(te.createSingle(t, s)), this.hostElement.focus());
2612
+ e === "body" && this.tableModel.getAreaModel(e).setValue(t, s, o) && (this.resetEditorRenderer(), this.repaint(), this.eventListener.onModelChanged(oe.createSingle(t, s)), this.hostElement.focus());
2613
2613
  }
2614
2614
  /**
2615
2615
  * Retrieves the TableApi object.
@@ -2638,7 +2638,7 @@ class we extends Pe {
2638
2638
  * @return {GeMouseEvent} - The created GeMouseEvent object.
2639
2639
  */
2640
2640
  createGeMouseEvent(e) {
2641
- const t = new Z();
2641
+ const t = new te();
2642
2642
  if (t.originalEvent = e, e) {
2643
2643
  const s = e.target;
2644
2644
  if ([t.areaIdent, t.sideIdent] = this.getAreaAndSideIdentByAttr(s), t.rowIndex = this.getNumberByAttr(s, "data-row-index"), t.columnIndex = this.getNumberByAttr(s, "data-col-index"), t.action = this.getStringByAttr(s, "data-ge-action"), t.areaIdent) {
@@ -2708,7 +2708,7 @@ class we extends Pe {
2708
2708
  toggleExpandCollapseAll(e = !0) {
2709
2709
  var s;
2710
2710
  const t = this.tableModel.getBodyModel();
2711
- Y(t) && (t.toggleExpandCollapseAll(e), this.repaint(), (s = this.storeStateCollapsedExpandService) == null || s.collapsedStateAll(e));
2711
+ J(t) && (t.toggleExpandCollapseAll(e), this.repaint(), (s = this.storeStateCollapsedExpandService) == null || s.collapsedStateAll(e));
2712
2712
  }
2713
2713
  /**
2714
2714
  * Toggles the checkbox state of a specific row in a table.
@@ -2778,8 +2778,8 @@ class we extends Pe {
2778
2778
  const o = this.tableModel.getColumnDef(s);
2779
2779
  if (o != null && o.sortable && o.sortable()) {
2780
2780
  e.preventDefault(), e.stopPropagation();
2781
- const n = o.sortStatesOrder ? o.sortStatesOrder : this.tableOptions.sortOrder, l = o.sortState ?? "", a = n[(n.indexOf(l) + 1) % n.length], c = new _e(s, a);
2782
- this.tableModel.doSort([c]) && ((i = this.tableModel.getColumnDefs()) == null || i.forEach((u) => u.sortState = ""), o.sortState = a), this.repaint(), (r = this.storeSortingService) == null || r.setSortItems([c]);
2781
+ const n = o.sortStatesOrder ? o.sortStatesOrder : this.tableOptions.sortOrder, l = o.sortState ?? "", a = n[(n.indexOf(l) + 1) % n.length], d = new $e(s, a);
2782
+ this.tableModel.doSort([d]) && ((i = this.tableModel.getColumnDefs()) == null || i.forEach((u) => u.sortState = ""), o.sortState = a), this.repaint(), (r = this.storeSortingService) == null || r.setSortItems([d]);
2783
2783
  }
2784
2784
  }
2785
2785
  /**
@@ -2924,18 +2924,18 @@ class we extends Pe {
2924
2924
  const s = this.tableOptions.autoRestoreOptions, o = s.getRowId;
2925
2925
  if (s.autoRestoreCollapsedExpandedState && o) {
2926
2926
  const i = this.storeStateCollapsedExpandService.collapsedExpandedStateGet(), r = this.tableModel.getAreaModel("body");
2927
- if (Y(r)) {
2927
+ if (J(r)) {
2928
2928
  const n = r, l = r.getRowCount();
2929
2929
  for (let a = 0; a < l; a++) {
2930
- const c = r.getRowByIndex(a);
2931
- if (c)
2930
+ const d = r.getRowByIndex(a);
2931
+ if (d)
2932
2932
  if (i.allExpanded)
2933
- c.expanded = !0;
2933
+ d.expanded = !0;
2934
2934
  else if (i.allCollapsed)
2935
- c.expanded = !1;
2935
+ d.expanded = !1;
2936
2936
  else {
2937
- const d = o(c.data);
2938
- i.mode === "expanded" ? c.expanded = this.storeStateCollapsedExpandService.collapsedExpandedStateIncludes(d) : i.mode === "collapsed" && (c.expanded = !this.storeStateCollapsedExpandService.collapsedExpandedStateIncludes(d));
2937
+ const c = o(d.data);
2938
+ i.mode === "expanded" ? d.expanded = this.storeStateCollapsedExpandService.collapsedExpandedStateIncludes(c) : i.mode === "collapsed" && (d.expanded = !this.storeStateCollapsedExpandService.collapsedExpandedStateIncludes(c));
2939
2939
  }
2940
2940
  }
2941
2941
  n.recalcVisibleTreeRows();
@@ -2944,9 +2944,9 @@ class we extends Pe {
2944
2944
  }
2945
2945
  }
2946
2946
  }
2947
- const z = class z {
2947
+ const j = class j {
2948
2948
  };
2949
- z.themes = ["light", "combat", "paper", "blackboard"], z.vars = {
2949
+ j.themes = ["light", "combat", "paper", "blackboard"], j.vars = {
2950
2950
  light: `html[data-theme="light"] {
2951
2951
  --ge-table-bg: rgba(255,255,255, 0.5);
2952
2952
  --ge-table-header-west-bg: rgba(233, 233, 233, 0.5);
@@ -3180,28 +3180,28 @@ z.themes = ["light", "combat", "paper", "blackboard"], z.vars = {
3180
3180
  --ge-table-drop-zone-bg: #758129;
3181
3181
  }`
3182
3182
  };
3183
- let le = z;
3184
- class ne {
3183
+ let de = j;
3184
+ class ce {
3185
3185
  constructor(e, t = !0, s, o, i = 0, r = !1, n = !1) {
3186
3186
  this.data = e, this.expanded = t, this.children = s, this.parent = o, this.deep = i, this.checked = r, this.keep = n, this.type = "TreeRow";
3187
3187
  }
3188
3188
  }
3189
- class q {
3189
+ class Z {
3190
3190
  static buildTreeRows(e, t = "children", s = 12) {
3191
3191
  const o = [];
3192
3192
  for (const i of e)
3193
- o.push(q.buildTreeRow(i, t, void 0, 0, s));
3193
+ o.push(Z.buildTreeRow(i, t, void 0, 0, s));
3194
3194
  return o;
3195
3195
  }
3196
- static buildTreeRow(e, t = "children", s = new ne(e, !0, [], void 0, 0), o = 0, i = 12) {
3196
+ static buildTreeRow(e, t = "children", s = new ce(e, !0, [], void 0, 0), o = 0, i = 12) {
3197
3197
  var n;
3198
3198
  if (o > i)
3199
3199
  return console.warn("Max deep limit reached: ", o), s;
3200
3200
  const r = e[t];
3201
3201
  if (r)
3202
3202
  for (const l of r) {
3203
- const a = new ne(l, !0, [], s, o + 1);
3204
- if ((n = s.children) == null || n.push(a), q.buildTreeRow(
3203
+ const a = new ce(l, !0, [], s, o + 1);
3204
+ if ((n = s.children) == null || n.push(a), Z.buildTreeRow(
3205
3205
  l,
3206
3206
  t,
3207
3207
  a,
@@ -3212,7 +3212,7 @@ class q {
3212
3212
  return s;
3213
3213
  }
3214
3214
  }
3215
- class H {
3215
+ class W {
3216
3216
  constructor(e = 34, t = 34, s = 34) {
3217
3217
  this.header = e, this.body = t, this.footer = s;
3218
3218
  }
@@ -3222,29 +3222,29 @@ class x {
3222
3222
  this.value = e, this.unit = t;
3223
3223
  }
3224
3224
  }
3225
- const Ke = () => !0, ae = () => !1;
3226
- class V {
3227
- constructor(e, t, s = new x(100, "px"), o = new I(), i = new I(), r = new x(100, "px"), n = new x(100, "px"), l, a, c, d, u, f, p, m, g = () => this.visible) {
3228
- this.property = e, this.headerLabel = t, this.width = s, this.classes = o, this.rendererMap = i, this.minWidth = r, this.maxWidth = n, this.sortable = l, this.sortComparator = a, this.sortState = c, this.sortStatesOrder = d, this.sortIconVisible = u, this.editable = f, this.getEditRenderer = p, this.editInputPipe = m, this.isVisible = g, this.visible = !0, s.unit !== "px" && (this.minWidth = new x(0, "px"), this.maxWidth = new x(1e5, "px"));
3225
+ const qe = () => !0, he = () => !1;
3226
+ class O {
3227
+ constructor(e, t, s = new x(100, "px"), o = new k(), i = new k(), r = new x(100, "px"), n = new x(100, "px"), l, a, d, c, u, f, p, m, g = () => this.visible) {
3228
+ this.property = e, this.headerLabel = t, this.width = s, this.classes = o, this.rendererMap = i, this.minWidth = r, this.maxWidth = n, this.sortable = l, this.sortComparator = a, this.sortState = d, this.sortStatesOrder = c, this.sortIconVisible = u, this.editable = f, this.getEditRenderer = p, this.editInputPipe = m, this.isVisible = g, this.visible = !0, s.unit !== "px" && (this.minWidth = new x(0, "px"), this.maxWidth = new x(1e5, "px"));
3229
3229
  }
3230
3230
  static bodyRenderer(e) {
3231
- return new I(
3231
+ return new k(
3232
3232
  void 0,
3233
3233
  e,
3234
3234
  void 0
3235
3235
  );
3236
3236
  }
3237
3237
  static create(e) {
3238
- const t = new I(
3238
+ const t = new k(
3239
3239
  e.headerRenderer,
3240
3240
  e.bodyRenderer,
3241
3241
  e.footerRenderer
3242
- ), s = new I(
3242
+ ), s = new k(
3243
3243
  e.headerClasses,
3244
3244
  e.bodyClasses,
3245
3245
  e.footerClasses
3246
- ), o = e.sortIconVisible ?? e.sortable ?? ae, i = e.editable ?? e.editable ?? ae, r = e.isVisible ?? e.isVisible ?? Ke;
3247
- return new V(
3246
+ ), o = e.sortIconVisible ?? e.sortable ?? he, i = e.editable ?? e.editable ?? he, r = e.isVisible ?? e.isVisible ?? qe;
3247
+ return new O(
3248
3248
  e.property ?? "",
3249
3249
  e.headerLabel ?? "",
3250
3250
  e.width ?? new x(100, "px"),
@@ -3264,8 +3264,8 @@ class V {
3264
3264
  );
3265
3265
  }
3266
3266
  }
3267
- const rt = new x(300, "px"), lt = new x(290, "px"), nt = new x(280, "px"), at = new x(270, "px"), ct = new x(260, "px"), dt = new x(250, "px"), ht = new x(240, "px"), ut = new x(230, "px"), gt = new x(220, "px"), pt = new x(210, "px"), ce = new x(200, "px"), ft = new x(190, "px"), mt = new x(180, "px"), bt = new x(170, "px"), xt = new x(160, "px"), wt = new x(150, "px"), St = new x(140, "px"), yt = new x(130, "px"), Ct = new x(120, "px"), vt = new x(110, "px"), Rt = new x(100, "px"), At = new x(90, "px"), Et = new x(80, "px"), Mt = new x(70, "px"), Tt = new x(60, "px"), kt = new x(50, "px"), It = new x(40, "px"), Dt = new x(30, "px"), Ft = new x(20, "px"), Lt = new x(10, "px"), Pt = new x(0, "px");
3268
- class oe {
3267
+ const ct = new x(500, "px"), Je = new x(400, "px"), ht = new x(300, "px"), ut = new x(290, "px"), gt = new x(280, "px"), pt = new x(270, "px"), ft = new x(260, "px"), mt = new x(250, "px"), bt = new x(240, "px"), xt = new x(230, "px"), wt = new x(220, "px"), St = new x(210, "px"), Q = new x(200, "px"), yt = new x(190, "px"), Ct = new x(180, "px"), vt = new x(170, "px"), At = new x(160, "px"), Rt = new x(150, "px"), Et = new x(140, "px"), Mt = new x(130, "px"), Tt = new x(120, "px"), kt = new x(110, "px"), It = new x(100, "px"), Dt = new x(90, "px"), Ft = new x(80, "px"), Lt = new x(70, "px"), Pt = new x(60, "px"), _t = new x(50, "px"), $t = new x(40, "px"), Ot = new x(30, "px"), Bt = new x(20, "px"), Ht = new x(10, "px"), Vt = new x(0, "px");
3268
+ class le {
3269
3269
  constructor(e, t = [], s = -1) {
3270
3270
  this.areaIdent = e, this.columnDefs = t, this.defaultRowHeight = s, this.rowSelectionModel = void 0, this.yPositions = [], this.cellRenderers = t.map((o) => o.rendererMap[e]);
3271
3271
  }
@@ -3361,7 +3361,7 @@ class oe {
3361
3361
  this.yPositions[t + 1] = this.getRowHeight(t) + this.yPositions[t];
3362
3362
  }
3363
3363
  }
3364
- class D extends oe {
3364
+ class D extends le {
3365
3365
  constructor(e, t, s, o = []) {
3366
3366
  super(e, o, s), this.areaIdent = e, this.arr = t, this.defaultRowHeight = s, this.columnDefs = o, this.filteredArr = [...t];
3367
3367
  }
@@ -3461,7 +3461,7 @@ class F {
3461
3461
  changeColumnOrder(e, t) {
3462
3462
  }
3463
3463
  }
3464
- class qe {
3464
+ class Ze {
3465
3465
  flattenTree(e, t = []) {
3466
3466
  var s;
3467
3467
  for (const o of e)
@@ -3472,7 +3472,7 @@ class qe {
3472
3472
  return e.parent ? e.parent.expanded ? this.isVisible(e.parent) : !1 : !0;
3473
3473
  }
3474
3474
  }
3475
- class Se {
3475
+ class ye {
3476
3476
  genericSortComparator(e, t, s) {
3477
3477
  if (typeof e == "number" && typeof t == "number")
3478
3478
  return s * (e - t);
@@ -3490,9 +3490,9 @@ class Se {
3490
3490
  return s * ("" + e).localeCompare("" + t);
3491
3491
  }
3492
3492
  }
3493
- class de extends oe {
3493
+ class ue extends le {
3494
3494
  constructor(e, t, s, o = []) {
3495
- super(e, o, s), this.areaIdent = e, this.rows = t, this.defaultRowHeight = s, this.columnDefs = o, this.type = "AreaModelTree", this.sorterService = new Se(), this.service = new qe(), this.properties = o.map((i) => i.property), this.flattenRows = this.service.flattenTree(t), this.filteredFlattenRows = [...this.flattenRows];
3495
+ super(e, o, s), this.areaIdent = e, this.rows = t, this.defaultRowHeight = s, this.columnDefs = o, this.type = "AreaModelTree", this.sorterService = new ye(), this.service = new Ze(), this.properties = o.map((i) => i.property), this.flattenRows = this.service.flattenTree(t), this.filteredFlattenRows = [...this.flattenRows];
3496
3496
  }
3497
3497
  changeColumnOrder(e, t) {
3498
3498
  this.arrayMove(this.properties, e, t), super.changeColumnOrder(e, t);
@@ -3594,7 +3594,7 @@ class de extends oe {
3594
3594
  o.children && this.treeSort(o.children, t, s);
3595
3595
  }
3596
3596
  }
3597
- class he {
3597
+ class ge {
3598
3598
  constructor(e = []) {
3599
3599
  this.allRootNodes = e;
3600
3600
  }
@@ -3654,12 +3654,12 @@ class he {
3654
3654
  s.checked && t.push(s), s.children && this.addSelectedRecursive(s.children, t);
3655
3655
  }
3656
3656
  }
3657
- class ue {
3657
+ class pe {
3658
3658
  constructor(e = 0, t = 0, s = 0, o = 0) {
3659
3659
  this.top = e, this.right = t, this.bottom = s, this.left = o;
3660
3660
  }
3661
3661
  }
3662
- class Je {
3662
+ class Qe {
3663
3663
  constructor() {
3664
3664
  this.checkedRows = [];
3665
3665
  }
@@ -3690,11 +3690,11 @@ class Je {
3690
3690
  }
3691
3691
  }
3692
3692
  }
3693
- class X {
3694
- constructor(e, t, s, o = 0, i = 0, r = !1, n = new H(), l = [], a = [], c = -1, d = 0, u = 400, f = () => {
3693
+ class q {
3694
+ constructor(e, t, s, o = 0, i = 0, r = !1, n = new W(), l = [], a = [], d = -1, c = 0, u = 400, f = () => {
3695
3695
  }) {
3696
3696
  var p, m, g, b;
3697
- this.headerAreaModel = e, this.bodyAreaModel = t, this.footerAreaModel = s, this.fixedLeftColumnCount = o, this.fixedRightColumnCount = i, this.rowCheckboxVisible = r, this.defaultRowHeights = n, this.columnDefs = l, this.columnSizes = a, this.overridingColumnWidth = c, this.columnCount = d, this.parentSize = u, this.getSelectionModel = f, this.rowCount = 0, this.contentHeightInPx = 0, this.contentWidthInPx = 0, this.padding = new ue(0, 0, 0, 0), this.xPositions = [], e.areaIdent = "header", t.areaIdent = "body", s.areaIdent = "footer", this.columnCount || ((p = this.columnDefs) != null && p.length ? this.columnCount = this.columnDefs.length : (m = this.columnSizes) != null && m.length && (this.columnCount = (g = this.columnSizes) == null ? void 0 : g.length)), (b = this.columnDefs) != null && b.length && ve(this.columnDefs[0]) && !t.rowSelectionModel && (t.rowSelectionModel = new Je());
3697
+ this.headerAreaModel = e, this.bodyAreaModel = t, this.footerAreaModel = s, this.fixedLeftColumnCount = o, this.fixedRightColumnCount = i, this.rowCheckboxVisible = r, this.defaultRowHeights = n, this.columnDefs = l, this.columnSizes = a, this.overridingColumnWidth = d, this.columnCount = c, this.parentSize = u, this.getSelectionModel = f, this.rowCount = 0, this.contentHeightInPx = 0, this.contentWidthInPx = 0, this.padding = new pe(0, 0, 0, 0), this.xPositions = [], e.areaIdent = "header", t.areaIdent = "body", s.areaIdent = "footer", this.columnCount || ((p = this.columnDefs) != null && p.length ? this.columnCount = this.columnDefs.length : (m = this.columnSizes) != null && m.length && (this.columnCount = (g = this.columnSizes) == null ? void 0 : g.length)), (b = this.columnDefs) != null && b.length && Ae(this.columnDefs[0]) && !t.rowSelectionModel && (t.rowSelectionModel = new Qe());
3698
3698
  }
3699
3699
  init() {
3700
3700
  this.recalcSize(this.parentSize), this.overridingColumnWidth === -1 && this.calcXPositions(), this.headerAreaModel && this.headerAreaModel.init(), this.bodyAreaModel && this.bodyAreaModel.init(), this.footerAreaModel && this.footerAreaModel.init();
@@ -3778,7 +3778,7 @@ class X {
3778
3778
  */
3779
3779
  recalcPadding() {
3780
3780
  const e = this.getSideAreaWidth("west"), t = this.getSideAreaWidth("east"), s = this.getAreaHeight("header"), o = this.getAreaHeight("footer");
3781
- this.padding = new ue(
3781
+ this.padding = new pe(
3782
3782
  s,
3783
3783
  t,
3784
3784
  o,
@@ -4027,12 +4027,12 @@ class X {
4027
4027
  if (l.width.unit === "%" && e) {
4028
4028
  let a = Math.floor(l.width.value * e / 100);
4029
4029
  if (l.minWidth) {
4030
- const c = this.sizeToPixel(l.minWidth, e);
4031
- a = Math.max(c, a);
4030
+ const d = this.sizeToPixel(l.minWidth, e);
4031
+ a = Math.max(d, a);
4032
4032
  }
4033
4033
  if (l.maxWidth) {
4034
- const c = this.sizeToPixel(l.maxWidth, e);
4035
- a = Math.min(c, a);
4034
+ const d = this.sizeToPixel(l.maxWidth, e);
4035
+ a = Math.min(d, a);
4036
4036
  }
4037
4037
  return a;
4038
4038
  } else if (l.width.unit === "px" && e)
@@ -4041,10 +4041,10 @@ class X {
4041
4041
  });
4042
4042
  const r = this.columnSizes.reduce((l, a) => l + a), n = e - r;
4043
4043
  if (n > 0 && i.length) {
4044
- const l = i.map((a) => a.width.value).reduce((a, c) => a + c);
4044
+ const l = i.map((a) => a.width.value).reduce((a, d) => a + d);
4045
4045
  for (let a = 0; a < this.columnDefs.length; a++) {
4046
- const c = this.columnDefs[a];
4047
- c.width.unit === "weight" && (this.columnSizes[a] = c.width.value * n / l);
4046
+ const d = this.columnDefs[a];
4047
+ d.width.unit === "weight" && (this.columnSizes[a] = d.width.value * n / l);
4048
4048
  }
4049
4049
  }
4050
4050
  }
@@ -4073,14 +4073,23 @@ class X {
4073
4073
  for (let t = 0; t < e; t++)
4074
4074
  this.xPositions[t + 1] = this.getColumnWidth(t) + this.xPositions[t];
4075
4075
  }
4076
+ setTableScope(e) {
4077
+ this.tableScope = e;
4078
+ }
4079
+ getTableScope() {
4080
+ return this.tableScope;
4081
+ }
4076
4082
  }
4077
- class Ze extends oe {
4083
+ class et extends le {
4078
4084
  constructor(e, t, s, o = []) {
4079
- super(e, o, s), this.areaIdent = e, this.rows = t, this.defaultRowHeight = s, this.columnDefs = o, this.sorterService = new Se(), this.filteredRows = [...t], this.properties = o.map((i) => i.property);
4085
+ super(e, o, s), this.areaIdent = e, this.rows = t, this.defaultRowHeight = s, this.columnDefs = o, this.sorterService = new ye(), this.filteredRows = [...t], this.properties = o.map((i) => i.property);
4080
4086
  }
4081
4087
  setRows(e) {
4082
4088
  this.rows = e, this.filteredRows = [...e];
4083
4089
  }
4090
+ filterRowsByPredict(e) {
4091
+ this.rows = this.rows.filter(e), this.filteredRows = this.filteredRows.filter(e);
4092
+ }
4084
4093
  getRowCount() {
4085
4094
  var e;
4086
4095
  return ((e = this.filteredRows) == null ? void 0 : e.length) ?? 0;
@@ -4088,7 +4097,7 @@ class Ze extends oe {
4088
4097
  getValueAt(e, t) {
4089
4098
  const s = this.properties[t];
4090
4099
  let o = this.filteredRows[e];
4091
- return $(o) && (o = o.data), o ? this.getValueByT(o, s) : "";
4100
+ return V(o) && (o = o.data), o ? this.getValueByT(o, s) : "";
4092
4101
  }
4093
4102
  getFilteredRows() {
4094
4103
  return this.filteredRows;
@@ -4129,7 +4138,7 @@ class Ze extends oe {
4129
4138
  return o && t.length ? this.getPropertyValue(o, t) : o;
4130
4139
  }
4131
4140
  }
4132
- class ge extends Ze {
4141
+ class fe extends et {
4133
4142
  constructor(e, t, s, o) {
4134
4143
  super(
4135
4144
  e,
@@ -4139,7 +4148,7 @@ class ge extends Ze {
4139
4148
  ), this.areaIdent = e, this.rows = t, this.columnDefs = s, this.defaultRowHeight = o;
4140
4149
  }
4141
4150
  }
4142
- class _ {
4151
+ class $ {
4143
4152
  /**
4144
4153
  * TableFactory
4145
4154
  *
@@ -4177,12 +4186,12 @@ class _ {
4177
4186
  * Please consult each method's documentation for detailed explanation of their functionality.
4178
4187
  */
4179
4188
  static createTableModel(e) {
4180
- var t, s, o, i, r, n, l, a, c, d, u, f, p, m;
4189
+ var t, s, o, i, r, n, l, a, d, c, u, f, p, m;
4181
4190
  if (e.defaultRowHeights === void 0)
4182
4191
  if ((t = e.tableOptions) != null && t.defaultRowHeights)
4183
4192
  e.defaultRowHeights = e.tableOptions.defaultRowHeights;
4184
4193
  else {
4185
- if (e.defaultRowHeights = new H(), e.headerAreaModel && "defaultRowHeight" in e.headerAreaModel) {
4194
+ if (e.defaultRowHeights = new W(), e.headerAreaModel && "defaultRowHeight" in e.headerAreaModel) {
4186
4195
  const g = e.headerAreaModel.defaultRowHeight;
4187
4196
  g > -1 && (e.defaultRowHeights.header = g);
4188
4197
  }
@@ -4195,33 +4204,33 @@ class _ {
4195
4204
  g > -1 && (e.defaultRowHeights.footer = g);
4196
4205
  }
4197
4206
  }
4198
- if (e.columnDefs === void 0 && ((s = e.properties) != null && s.length ? e.columnDefs = e.properties.map((g) => new V(g, g.toUpperCase(), ce)) : (o = e.rows) != null && o.length ? e.columnDefs = Object.keys(e.rows[0]).map((g) => new V(g, g.toUpperCase(), ce)) : 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 : (n = e.columnSizes) != null && n.length ? e.columnCount = (l = e.columnSizes) == null ? void 0 : l.length : console.warn('Property "columnCount" is missing and cannot be derived from other properties.')), e.headerAreaModel || ((a = e.headerData) != null && a.length ? e.headerAreaModel = new D(
4207
+ if (e.columnDefs === void 0 && ((s = e.properties) != null && s.length ? e.columnDefs = e.properties.map((g) => new O(g, g.toUpperCase(), Q)) : (o = e.rows) != null && o.length ? e.columnDefs = Object.keys(e.rows[0]).map((g) => new O(g, g.toUpperCase(), Q)) : 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 : (n = e.columnSizes) != null && n.length ? e.columnCount = (l = e.columnSizes) == null ? void 0 : l.length : console.warn('Property "columnCount" is missing and cannot be derived from other properties.')), e.headerAreaModel || ((a = e.headerData) != null && a.length ? e.headerAreaModel = new D(
4199
4208
  "header",
4200
4209
  e.headerData,
4201
4210
  e.defaultRowHeights.header,
4202
4211
  e.columnDefs
4203
- ) : (c = e.columnDefs) != null && c.length ? e.headerAreaModel = new D(
4212
+ ) : (d = e.columnDefs) != null && d.length ? e.headerAreaModel = new D(
4204
4213
  "header",
4205
4214
  [e.columnDefs.map((g) => g.headerLabel)],
4206
4215
  e.defaultRowHeights.header,
4207
4216
  e.columnDefs
4208
- ) : e.headerAreaModel = new F("header")), e.footerAreaModel || ((d = e.footerData) != null && d.length ? e.footerAreaModel = new D(
4217
+ ) : e.headerAreaModel = new F("header")), e.footerAreaModel || ((c = e.footerData) != null && c.length ? e.footerAreaModel = new D(
4209
4218
  "footer",
4210
4219
  e.footerData,
4211
4220
  e.defaultRowHeights.footer,
4212
4221
  e.columnDefs
4213
4222
  ) : e.footerAreaModel = new F("footer")), !e.bodyAreaModel)
4214
4223
  if (e.rows)
4215
- if ((u = e.rows) != null && u.length && $(e.rows[0])) {
4224
+ if ((u = e.rows) != null && u.length && V(e.rows[0])) {
4216
4225
  const g = e.rows;
4217
- e.bodyAreaModel = new de(
4226
+ e.bodyAreaModel = new ue(
4218
4227
  "body",
4219
4228
  g,
4220
4229
  e.defaultRowHeights.body,
4221
4230
  e.columnDefs
4222
- ), (e.columnDefs[0].property === "CheckboxColumn" || (f = e.tableOptions) != null && f.showCheckboxWihoutExtraColumn) && (e.bodyAreaModel.rowSelectionModel = new he(g));
4231
+ ), (e.columnDefs[0].property === "CheckboxColumn" || (f = e.tableOptions) != null && f.showCheckboxWihoutExtraColumn) && (e.bodyAreaModel.rowSelectionModel = new ge(g));
4223
4232
  } else
4224
- e.bodyAreaModel = new ge(
4233
+ e.bodyAreaModel = new fe(
4225
4234
  "body",
4226
4235
  e.rows,
4227
4236
  e.columnDefs,
@@ -4233,7 +4242,7 @@ class _ {
4233
4242
  e.bodyData,
4234
4243
  e.defaultRowHeights.body
4235
4244
  ) : e.bodyAreaModel = new F("body");
4236
- 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 && ((p = e.tableOptions) != null && p.getSelectionModel) && (e.getSelectionModel = (m = e.tableOptions) == null ? void 0 : m.getSelectionModel), new X(
4245
+ 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 && ((p = e.tableOptions) != null && p.getSelectionModel) && (e.getSelectionModel = (m = e.tableOptions) == null ? void 0 : m.getSelectionModel), new q(
4237
4246
  e.headerAreaModel,
4238
4247
  e.bodyAreaModel,
4239
4248
  e.footerAreaModel,
@@ -4267,10 +4276,10 @@ class _ {
4267
4276
  * @method
4268
4277
  */
4269
4278
  static buildByTypedRowsParam(e) {
4270
- return _.buildByTypedRows(
4279
+ return $.buildByTypedRows(
4271
4280
  e.rows ?? [],
4272
4281
  e.columnDefs,
4273
- e.tableOptions ?? new K(),
4282
+ e.tableOptions ?? new z(),
4274
4283
  e.fixedLeftColumnCount ?? 0,
4275
4284
  e.fixedRightColumnCount ?? 0
4276
4285
  );
@@ -4311,18 +4320,18 @@ class _ {
4311
4320
  * columnDef is "CheckboxColumn". If the first column is not a checkbox column, ensure that the first columnDef does not have "CheckboxColumn"
4312
4321
  * as its property.
4313
4322
  */
4314
- static buildByTypedRows(e, t, s = new K(), o = 0, i = 0) {
4323
+ static buildByTypedRows(e, t, s = new z(), o = 0, i = 0) {
4315
4324
  const r = s.defaultRowHeights, n = t[0].property === "CheckboxColumn";
4316
- if (e != null && e.length && $(e[0])) {
4317
- const l = e, a = new de(
4325
+ if (e != null && e.length && V(e[0])) {
4326
+ const a = e, d = new ue(
4318
4327
  "body",
4319
- l,
4328
+ a,
4320
4329
  r.body,
4321
4330
  t
4322
4331
  );
4323
- return (n || s.showCheckboxWihoutExtraColumn) && (a.rowSelectionModel = new he(l)), _.createByAreaModelsParam({
4332
+ return (n || s.showCheckboxWihoutExtraColumn) && (d.rowSelectionModel = new ge(a)), $.createByAreaModelsParam({
4324
4333
  headerAreaModel: new D("header", [t.map((c) => c.headerLabel)], r.header),
4325
- bodyAreaModel: a,
4334
+ bodyAreaModel: d,
4326
4335
  footerAreaModel: new D("footer", [], r.footer),
4327
4336
  columnDefs: t,
4328
4337
  fixedLeftColumnCount: o,
@@ -4334,7 +4343,7 @@ class _ {
4334
4343
  overridingColumnWidth: -1
4335
4344
  });
4336
4345
  }
4337
- return _.createByObjectArrayParam({
4346
+ return $.createByObjectArrayParam({
4338
4347
  rows: e,
4339
4348
  columnDefs: t,
4340
4349
  fixedLeftColumnCount: o,
@@ -4388,14 +4397,14 @@ class _ {
4388
4397
  */
4389
4398
  static createByObjectArrayParam(e) {
4390
4399
  const t = e.rowCheckboxVisible !== void 0 ? e.rowCheckboxVisible : !1;
4391
- return _.createByObjectArray(
4400
+ return $.createByObjectArray(
4392
4401
  e.rows,
4393
4402
  e.header ?? [],
4394
4403
  e.footer ?? [],
4395
4404
  e.fixedLeftColumnCount ?? 0,
4396
4405
  e.fixedRightColumnCount ?? 0,
4397
4406
  t,
4398
- e.defaultRowHeights ?? new H(),
4407
+ e.defaultRowHeights ?? new W(),
4399
4408
  e.columnDefs ?? [],
4400
4409
  e.columnSizes ?? []
4401
4410
  );
@@ -4441,8 +4450,8 @@ class _ {
4441
4450
  * @return A new instance of `TableModel` is created using the provided parameters.
4442
4451
  * If a parameter isn't provided, the default value is used.
4443
4452
  */
4444
- static createByAreaModels(e = new F(), t, s = new F(), o = 0, i = 0, r = !1, n = new H(), l, a = [], c = -1, d) {
4445
- return new X(
4453
+ static createByAreaModels(e = new F(), t, s = new F(), o = 0, i = 0, r = !1, n = new W(), l, a = [], d = -1, c) {
4454
+ return new q(
4446
4455
  e,
4447
4456
  t,
4448
4457
  s,
@@ -4452,8 +4461,8 @@ class _ {
4452
4461
  n,
4453
4462
  l,
4454
4463
  a,
4455
- c,
4456
- d
4464
+ d,
4465
+ c
4457
4466
  );
4458
4467
  }
4459
4468
  /**
@@ -4493,7 +4502,7 @@ class _ {
4493
4502
  * });
4494
4503
  */
4495
4504
  static createByAreaModelsParam(e) {
4496
- return _.createByAreaModels(
4505
+ return $.createByAreaModels(
4497
4506
  e.headerAreaModel ?? new F(),
4498
4507
  e.bodyAreaModel,
4499
4508
  e.footerAreaModel ?? new F(),
@@ -4555,14 +4564,14 @@ class _ {
4555
4564
  *
4556
4565
  * Reference: For more details regarding the `DefaultRowHeightsIf`, `ColumnDefIf`, `AreaModelIf`, and `AreaModelArrayOfArrays` classes/interfaces, please refer to the respective API documents.
4557
4566
  */
4558
- static createByObjectArray(e, t = [], s = [], o = 0, i = 0, r = !1, n = new H(), l, a = []) {
4559
- let c;
4560
- t != null && t.length ? c = new D("header", t, n.header, l) : l != null && l.length ? c = new D("header", [l.map((f) => f.headerLabel)], n.header, l) : c = new F();
4561
- const d = s ? new D("footer", s, n.footer, l) : new F(), u = new ge("body", e, l, n.body);
4562
- return new X(
4563
- c,
4564
- u,
4567
+ static createByObjectArray(e, t = [], s = [], o = 0, i = 0, r = !1, n = new W(), l, a = []) {
4568
+ let d;
4569
+ t != null && t.length ? d = new D("header", t, n.header, l) : l != null && l.length ? d = new D("header", [l.map((f) => f.headerLabel)], n.header, l) : d = new F();
4570
+ const c = s ? new D("footer", s, n.footer, l) : new F(), u = new fe("body", e, l, n.body);
4571
+ return new q(
4565
4572
  d,
4573
+ u,
4574
+ c,
4566
4575
  o,
4567
4576
  i,
4568
4577
  r,
@@ -4572,7 +4581,7 @@ class _ {
4572
4581
  );
4573
4582
  }
4574
4583
  }
4575
- const _t = [
4584
+ const Wt = [
4576
4585
  "COPY_2_CLIPBOARD",
4577
4586
  "START_EDITING",
4578
4587
  "TOGGLE_SELECTION",
@@ -4590,17 +4599,17 @@ const _t = [
4590
4599
  // "PAGEUP_PRESSED",
4591
4600
  // "PAGEDOWN_PRESSED"
4592
4601
  ];
4593
- class Ot {
4602
+ class tt {
4594
4603
  constructor(e, t) {
4595
4604
  this.tableModel = e, this.tableOptions = t;
4596
4605
  }
4597
4606
  }
4598
- class Qe {
4607
+ class st {
4599
4608
  constructor(e, t, s, o, i, r, n) {
4600
4609
  this.emmitDataKey = e, this.emmitCancelKey = t, this.queryId = s, this.filter = o, this.sorting = i, this.startIndex = r, this.endIndex = n;
4601
4610
  }
4602
4611
  }
4603
- class Bt extends Qe {
4612
+ class Nt extends st {
4604
4613
  constructor(e, t, s, o, i, r, n, l) {
4605
4614
  super(
4606
4615
  e,
@@ -4613,34 +4622,34 @@ class Bt extends Qe {
4613
4622
  ), this.rows = l;
4614
4623
  }
4615
4624
  }
4616
- class et {
4625
+ class ot {
4617
4626
  constructor(e, t) {
4618
4627
  this.value = e, this.label = t;
4619
4628
  }
4620
4629
  }
4621
- class $t {
4630
+ class Gt {
4622
4631
  constructor(e, t) {
4623
4632
  this.index = e, this.px = t;
4624
4633
  }
4625
4634
  }
4626
- const Ht = { body: ["ge-table-text-align-left"] }, Vt = { body: ["ge-table-text-align-center"] }, Wt = { body: ["ge-table-text-align-right"] }, Nt = {
4635
+ const zt = { body: ["ge-table-text-align-left"] }, Ut = { body: ["ge-table-text-align-center"] }, jt = { body: ["ge-table-text-align-right"] }, Xt = {
4627
4636
  header: ["ge-table-text-align-left"],
4628
4637
  body: ["ge-table-text-align-left"],
4629
4638
  footer: ["ge-table-text-align-left"]
4630
- }, Gt = {
4639
+ }, Yt = {
4631
4640
  header: ["ge-table-text-align-center"],
4632
4641
  body: ["ge-table-text-align-center"],
4633
4642
  footer: ["ge-table-text-align-center"]
4634
- }, zt = {
4643
+ }, Kt = {
4635
4644
  header: ["ge-table-text-align-right"],
4636
4645
  body: ["ge-table-text-align-right"],
4637
4646
  footer: ["ge-table-text-align-right"]
4638
4647
  };
4639
- class pe {
4648
+ class me {
4640
4649
  render(e, t, s, o, i, r, n) {
4641
4650
  if (i.isRowCheckable(t)) {
4642
4651
  n.addClass(e, "ge-table-row-checkbox-div");
4643
- const l = i.isRowChecked(t), a = l === "full" ? "checked" : "", c = l === "semi" ? '<span style="opacity: 0.4;">✓<span>' : "";
4652
+ const l = i.isRowChecked(t), a = l === "full" ? "checked" : "", d = l === "semi" ? '<span style="opacity: 0.4;">✓<span>' : "";
4644
4653
  e.innerHTML = `
4645
4654
  <input
4646
4655
  type="checkbox"
@@ -4650,20 +4659,20 @@ class pe {
4650
4659
  data-input-type="checkbox"
4651
4660
  ${a}
4652
4661
  class="ge-table-row-checkbox">
4653
- ${c} `;
4662
+ ${d} `;
4654
4663
  }
4655
4664
  }
4656
4665
  }
4657
- class Ut {
4666
+ class qt {
4658
4667
  constructor() {
4659
- this.type = "CheckboxColumnDef", this.property = "CheckboxColumn", this.headerLabel = "", this.width = new x(50, "px"), this.minWidth = new x(50, "px"), this.maxWidth = new x(100, "px"), this.rendererMap = new I(new pe(), new pe(), void 0), this.classes = new I(
4668
+ this.type = "CheckboxColumnDef", this.property = "CheckboxColumn", this.headerLabel = "", this.width = new x(50, "px"), this.minWidth = new x(50, "px"), this.maxWidth = new x(100, "px"), this.rendererMap = new k(new me(), new me(), void 0), this.classes = new k(
4660
4669
  [],
4661
4670
  ["ge-table-text-align-left"],
4662
4671
  []
4663
4672
  );
4664
4673
  }
4665
4674
  }
4666
- class jt {
4675
+ class Jt {
4667
4676
  /**
4668
4677
  * A factory that creates a new AreaObjectMap with the given body renderer.
4669
4678
  *
@@ -4671,24 +4680,24 @@ class jt {
4671
4680
  * @returns {AreaObjectMap<CellRendererIf>} The newly created AreaObjectMap.
4672
4681
  */
4673
4682
  static body(e) {
4674
- return new I(
4683
+ return new k(
4675
4684
  void 0,
4676
4685
  e,
4677
4686
  void 0
4678
4687
  );
4679
4688
  }
4680
4689
  }
4681
- class Xt {
4690
+ class Zt {
4682
4691
  constructor(e = "down", t) {
4683
4692
  this.status = e, this.originalEvent = t;
4684
4693
  }
4685
4694
  }
4686
- class Yt {
4695
+ class Qt {
4687
4696
  constructor(e, t, s, o, i = {}) {
4688
4697
  this.area = e, this.rowIndex = t, this.columnIndex = s, this.value = o, this.cssClasses = i;
4689
4698
  }
4690
4699
  }
4691
- class Kt {
4700
+ class es {
4692
4701
  constructor() {
4693
4702
  this.autoRestoreSortingState = !1, this.autoRestoreCollapsedExpandedState = !1, this.autoRestoreScrollPosition = !1, this.autoRestoreCheckedState = !1, this.autoRestoreSelectedState = !1, this.getStorageKeyFn = void 0, this.isSame = (e, t, s) => {
4694
4703
  if (e && t && s.getRowId) {
@@ -4713,12 +4722,12 @@ class Kt {
4713
4722
  };
4714
4723
  }
4715
4724
  }
4716
- class tt {
4725
+ class it {
4717
4726
  constructor(e, t, s, o = !1, i = "normal", r = void 0) {
4718
4727
  this.data = e, this.property = t, this.toggle = s, this.closed = o, this.visibility = i, this.children = r, this.impl = "CellGroup";
4719
4728
  }
4720
4729
  }
4721
- class st extends tt {
4730
+ class rt extends it {
4722
4731
  constructor(e, t = 0, s = 0, o) {
4723
4732
  super(
4724
4733
  e.data,
@@ -4814,7 +4823,7 @@ class T {
4814
4823
  static buildColumnDefs(e, t = []) {
4815
4824
  for (const s of e)
4816
4825
  s.property && t.push(
4817
- V.create({
4826
+ O.create({
4818
4827
  property: s.property,
4819
4828
  headerLabel: s.data ? s.data : s.property,
4820
4829
  isVisible: () => typeof s.isVisible == "function" ? s.isVisible() : !0
@@ -4843,7 +4852,7 @@ class T {
4843
4852
  static buildGroupExts(e, t = [], s = 0, o) {
4844
4853
  let i;
4845
4854
  for (let r = 0; r < e.length; r++) {
4846
- const n = e[r], l = new st(n, s, r, o);
4855
+ const n = e[r], l = new rt(n, s, r, o);
4847
4856
  i && (l.leftNeighbour = i, i.rightNeighbour = l), t.push(l), n.children && (l.children = T.buildGroupExts(n.children, [], s + 1, l)), i = l;
4848
4857
  }
4849
4858
  return t;
@@ -4885,7 +4894,7 @@ class T {
4885
4894
  e.push(o.data + " rowIndex:" + o.rowIndex), (s = o.children) != null && s.length && T.iterateThrowColumns(e, o.children);
4886
4895
  }
4887
4896
  }
4888
- class qt {
4897
+ class ts {
4889
4898
  constructor() {
4890
4899
  this.areaIdent = "body", this.rowSelectionModel = void 0;
4891
4900
  }
@@ -4955,15 +4964,15 @@ class qt {
4955
4964
  return !1;
4956
4965
  }
4957
4966
  }
4958
- const U = class U {
4959
- constructor(e = new se()) {
4967
+ const X = class X {
4968
+ constructor(e = new re()) {
4960
4969
  this.headerGroupOptions = e;
4961
4970
  }
4962
4971
  render(e, t, s, o, i, r, n) {
4963
4972
  const l = r != null && r.data ? r.data : "";
4964
4973
  if (r) {
4965
- const { toggle: a, visibility: c, closed: d } = r, u = a ? U.toggleHeaderGroup : "";
4966
- this.addText(e, o, t, s, l, u), a && c !== "always" && this.addArrowDiv(n, e, !d, t, s, o, u);
4974
+ const { toggle: a, visibility: d, closed: c } = r, u = a ? X.toggleHeaderGroup : "";
4975
+ this.addText(e, o, t, s, l, u), a && d !== "always" && this.addArrowDiv(n, e, !c, t, s, o, u);
4967
4976
  } else
4968
4977
  this.addText(e, o, t, s, l, "");
4969
4978
  }
@@ -4980,8 +4989,8 @@ const U = class U {
4980
4989
  e.addClass(l, "ge-table-toggle-icon-div"), e.setStyle(l, "display", "inline-block"), e.setStyle(l, "position", ""), e.setStyle(l, "width", "20px"), e.setStyle(l, "background", "transparent"), e.setStyle(l, "cursor", "pointer"), e.setAttribute(l, "data-row-index", `${o}`), e.setAttribute(l, "data-col-index", `${i}`), e.setAttribute(l, "data-area", `${r}`), e.setAttribute(l, "data-ge-action", `${n}`);
4981
4990
  let a;
4982
4991
  s ? a = this.headerGroupOptions.iconExpanded : a = this.headerGroupOptions.iconCollapsed;
4983
- const c = a.content, d = e.createText(c);
4984
- e.appendChild(l, d), a.style && this.applyStyleString(e, l, a.style);
4992
+ const d = a.content, c = e.createText(d);
4993
+ e.appendChild(l, c), a.style && this.applyStyleString(e, l, a.style);
4985
4994
  for (const u of a.classes)
4986
4995
  e.addClass(l, u);
4987
4996
  return e.appendChild(t, l), l;
@@ -4994,11 +5003,11 @@ const U = class U {
4994
5003
  }
4995
5004
  }
4996
5005
  };
4997
- U.toggleHeaderGroup = "toggleHeaderGroup";
4998
- let J = U;
4999
- class Jt {
5000
- constructor(e = "header", t, s = [], o, i = new se()) {
5001
- this.areaIdent = e, this.groups = t, this.columnDefs = s, this.defaultRowHeight = o, this.headerGroupOptions = i, this.gammaCells = !0, this.arr = [], this.groupExts = [], this.cellGroupExtCellRenderer = new J(this.headerGroupOptions), this.groupExts = T.buildGroupExts(t), this.init();
5006
+ X.toggleHeaderGroup = "toggleHeaderGroup";
5007
+ let ee = X;
5008
+ class ss {
5009
+ constructor(e = "header", t, s = [], o, i = new re()) {
5010
+ this.areaIdent = e, this.groups = t, this.columnDefs = s, this.defaultRowHeight = o, this.headerGroupOptions = i, this.gammaCells = !0, this.arr = [], this.groupExts = [], this.cellGroupExtCellRenderer = new ee(this.headerGroupOptions), this.groupExts = T.buildGroupExts(t), this.init();
5002
5011
  }
5003
5012
  init() {
5004
5013
  var e;
@@ -5096,24 +5105,24 @@ class Jt {
5096
5105
  return t != null && t.toggle && t.visibility !== "always" && (t.closed = !t.closed, this.init()), T.buildColumnDefs(this.groupExts);
5097
5106
  }
5098
5107
  }
5099
- class Zt {
5108
+ class os {
5100
5109
  filterPredict(e, t, s = this.objectToString.bind(this)) {
5101
5110
  if (!e)
5102
5111
  return !1;
5103
5112
  if (!t)
5104
5113
  return !0;
5105
5114
  t = t.toLowerCase();
5106
- const o = "+", i = "-", r = t.toLowerCase().split(" ").filter((d) => d !== o && d !== i && d !== ""), n = r.filter((d) => !d.startsWith(o) && !d.startsWith(i)), l = r.filter((d) => d.startsWith(o)).map((d) => d.replace(/\+/g, "")), a = r.filter((d) => d.startsWith(i)).map((d) => d.replace(/-/g, ""));
5107
- let c = !n.length;
5108
- for (let d = 0; d < n.length; d++)
5109
- (c || s(e).includes(n[d])) && (c = !0);
5110
- if (!c)
5115
+ const o = "+", i = "-", r = t.toLowerCase().split(" ").filter((c) => c !== o && c !== i && c !== ""), n = r.filter((c) => !c.startsWith(o) && !c.startsWith(i)), l = r.filter((c) => c.startsWith(o)).map((c) => c.replace(/\+/g, "")), a = r.filter((c) => c.startsWith(i)).map((c) => c.replace(/-/g, ""));
5116
+ let d = !n.length;
5117
+ for (let c = 0; c < n.length; c++)
5118
+ (d || s(e).includes(n[c])) && (d = !0);
5119
+ if (!d)
5111
5120
  return !1;
5112
- for (let d = 0; d < l.length; d++)
5113
- if (!s(e).includes(l[d]))
5121
+ for (let c = 0; c < l.length; c++)
5122
+ if (!s(e).includes(l[c]))
5114
5123
  return !1;
5115
- for (let d = 0; d < a.length; d++)
5116
- if (s(e).includes(a[d]))
5124
+ for (let c = 0; c < a.length; c++)
5125
+ if (s(e).includes(a[c]))
5117
5126
  return !1;
5118
5127
  return !0;
5119
5128
  }
@@ -5123,18 +5132,18 @@ class Zt {
5123
5132
  if (!t)
5124
5133
  return [...e];
5125
5134
  t = t.toLowerCase();
5126
- const o = "+", i = "-", r = t.toLowerCase().split(" ").filter((c) => c !== o && c !== i && c !== ""), n = r.filter((c) => !c.startsWith(o) && !c.startsWith(i)), l = r.filter((c) => c.startsWith(o)).map((c) => c.replace(/\+/g, "")), a = r.filter((c) => c.startsWith(i)).map((c) => c.replace(/-/g, ""));
5127
- return e == null ? void 0 : e.filter((c) => {
5128
- let d = !n.length;
5135
+ const o = "+", i = "-", r = t.toLowerCase().split(" ").filter((d) => d !== o && d !== i && d !== ""), n = r.filter((d) => !d.startsWith(o) && !d.startsWith(i)), l = r.filter((d) => d.startsWith(o)).map((d) => d.replace(/\+/g, "")), a = r.filter((d) => d.startsWith(i)).map((d) => d.replace(/-/g, ""));
5136
+ return e == null ? void 0 : e.filter((d) => {
5137
+ let c = !n.length;
5129
5138
  for (let u = 0; u < n.length; u++)
5130
- (d || s(c).includes(n[u])) && (d = !0);
5131
- if (!d)
5139
+ (c || s(d).includes(n[u])) && (c = !0);
5140
+ if (!c)
5132
5141
  return !1;
5133
5142
  for (let u = 0; u < l.length; u++)
5134
- if (!s(c).includes(l[u]))
5143
+ if (!s(d).includes(l[u]))
5135
5144
  return !1;
5136
5145
  for (let u = 0; u < a.length; u++)
5137
- if (s(c).includes(a[u]))
5146
+ if (s(d).includes(a[u]))
5138
5147
  return !1;
5139
5148
  return !0;
5140
5149
  });
@@ -5150,19 +5159,19 @@ class Zt {
5150
5159
  return t.join(" ").toLowerCase();
5151
5160
  }
5152
5161
  }
5153
- class Qt {
5162
+ class is {
5154
5163
  static bodyRenderer(e) {
5155
- return new I(void 0, e, void 0);
5164
+ return new k(void 0, e, void 0);
5156
5165
  }
5157
5166
  }
5158
- class es {
5167
+ class rs {
5159
5168
  constructor(e, t = !0, s = !1) {
5160
5169
  this.property = e, this.skipCheckableCheck = t, this.readonly = s;
5161
5170
  }
5162
5171
  render(e, t, s, o, i, r, n) {
5163
5172
  if (this.readonly || this.skipCheckableCheck || i.isRowCheckable(t)) {
5164
5173
  n.addClass(e, "ge-table-row-checkbox-div");
5165
- const l = i.getRowByIndex(t), c = i.getValueByT(l, this.property) === !0 ? "checked" : "", d = this.readonly ? " readonly " : "";
5174
+ const l = i.getRowByIndex(t), d = i.getValueByT(l, this.property) === !0 ? "checked" : "", c = this.readonly ? " readonly " : "";
5166
5175
  if (n.addClass(e, "ge-padding-property-checkbox"), e.innerHTML = `
5167
5176
  <input
5168
5177
  type="checkbox"
@@ -5171,8 +5180,8 @@ class es {
5171
5180
  data-col-index="${s}"
5172
5181
  data-property-index="${this.property}"
5173
5182
  data-input-type="checkbox"
5174
- ${c}
5175
5183
  ${d}
5184
+ ${c}
5176
5185
  class="ge-input-checkbox">`, !this.readonly) {
5177
5186
  const u = e.querySelector(".ge-input-checkbox");
5178
5187
  u && u.addEventListener("click", (f, p) => (l[this.property] = !l[this.property], !0));
@@ -5180,12 +5189,12 @@ class es {
5180
5189
  }
5181
5190
  }
5182
5191
  }
5183
- class ts {
5192
+ class ls {
5184
5193
  render(e, t, s, o, i, r, n) {
5185
5194
  r && (e.innerText = new Date(r).toISOString());
5186
5195
  }
5187
5196
  }
5188
- class ss {
5197
+ class ns {
5189
5198
  constructor() {
5190
5199
  this.formatter = new Intl.DateTimeFormat("de-DE", {
5191
5200
  year: "numeric",
@@ -5208,29 +5217,29 @@ class ss {
5208
5217
  }
5209
5218
  }
5210
5219
  }
5211
- class os {
5220
+ class as {
5212
5221
  render(e, t, s, o, i, r, n) {
5213
5222
  r && (e.innerText = new Date(r).toLocaleDateString());
5214
5223
  }
5215
5224
  }
5216
- class is {
5225
+ class ds {
5217
5226
  render(e, t, s, o, i, r, n) {
5218
5227
  r === "male" || r === "m" ? e.innerText = "♂" : (r === "female" || r === "f") && (e.innerText = "♀");
5219
5228
  }
5220
5229
  }
5221
- class rs {
5230
+ class cs {
5222
5231
  constructor(e = 100, t = !1) {
5223
5232
  this.maxValue = e, this.labelVisible = t;
5224
5233
  }
5225
5234
  render(e, t, s, o, i, r, n) {
5226
5235
  if (n.addClass(e, "ge-progressbar-div"), !isNaN(r)) {
5227
- const a = Number(r) * 100 / this.maxValue, c = this.labelVisible ? Math.round(a) + "%" : "";
5236
+ const a = Number(r) * 100 / this.maxValue, d = this.labelVisible ? Math.round(a) + "%" : "";
5228
5237
  e.innerHTML = `
5229
5238
  <div class="ge-table-label-div"
5230
5239
  data-row-index="${t}"
5231
5240
  data-col-index="${s}"
5232
5241
  data-area="${o}"
5233
- title="${c}"
5242
+ title="${d}"
5234
5243
  style="position: relative; background: transparent; width: 100%; height: 100%;">
5235
5244
  <div class="ge-table-progress-container"
5236
5245
  style="width:100%;height:50%;padding:0;margin-top:6px;"
@@ -5248,17 +5257,17 @@ class rs {
5248
5257
  }
5249
5258
  }
5250
5259
  }
5251
- class ls {
5260
+ class hs {
5252
5261
  render(e, t, s, o, i, r, n) {
5253
5262
  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 = "";
5254
5263
  }
5255
5264
  }
5256
- class ns {
5265
+ class us {
5257
5266
  render(e, t, s, o, i, r, n) {
5258
5267
  r && (e.innerText = new Date(r).toISOString().replace(/T/g, " ").replace(/\..*/g, ""));
5259
5268
  }
5260
5269
  }
5261
- class as {
5270
+ class gs {
5262
5271
  constructor(e = Number.MIN_SAFE_INTEGER, t = Number.MAX_SAFE_INTEGER) {
5263
5272
  this.min = e, this.max = t;
5264
5273
  }
@@ -5266,7 +5275,7 @@ class as {
5266
5275
  r && (e.innerText = r, (typeof r == "string" || isNaN(r) || r < this.min || r > this.max) && n.addClass(e, "ge-cell-error"));
5267
5276
  }
5268
5277
  }
5269
- class cs {
5278
+ class ps {
5270
5279
  constructor(e) {
5271
5280
  this.property = e;
5272
5281
  }
@@ -5274,18 +5283,18 @@ class cs {
5274
5283
  n.addClass(e, "ge-star-rating-div");
5275
5284
  const l = i.getRowByIndex(t), a = +("" + i.getValueByT(l, this.property));
5276
5285
  if (!isNaN(a)) {
5277
- const c = [];
5286
+ const d = [];
5278
5287
  for (let u = 0; u < a; u++)
5279
- c.push("★");
5280
- const d = c.join(" ");
5288
+ d.push("★");
5289
+ const c = d.join(" ");
5281
5290
  e.innerHTML = `
5282
5291
  <div class="ge-table-label-div" data-row-index="${t}" data-col-index="${s}" data-area="${o}" style="position: relative; background: transparent; width: 100%; height: 100%;">
5283
- <div class="ge-table-label" data-row-index="${t}" data-col-index="${s}" data-area="${o}">${d}</div>
5292
+ <div class="ge-table-label" data-row-index="${t}" data-col-index="${s}" data-area="${o}">${c}</div>
5284
5293
  </div>`;
5285
5294
  }
5286
5295
  }
5287
5296
  }
5288
- class ds {
5297
+ class fs {
5289
5298
  constructor(e, t = 100, s = !1) {
5290
5299
  this.property = e, this.maxValue = t, this.labelVisible = s;
5291
5300
  }
@@ -5293,13 +5302,13 @@ class ds {
5293
5302
  n.addClass(e, "ge-star-rating-div");
5294
5303
  const l = i.getRowByIndex(t), a = +("" + i.getValueByT(l, this.property));
5295
5304
  if (!isNaN(a)) {
5296
- const c = a * 100 / this.maxValue, d = this.labelVisible ? Math.round(c) + "%" : "";
5305
+ const d = a * 100 / this.maxValue, c = this.labelVisible ? Math.round(d) + "%" : "";
5297
5306
  e.innerHTML = `
5298
5307
  <div class="ge-table-label-div"
5299
5308
  data-row-index="${t}"
5300
5309
  data-col-index="${s}"
5301
5310
  data-area="${o}"
5302
- title="${d}"
5311
+ title="${c}"
5303
5312
  style="position: relative; background: transparent; width: 100%; height: 100%;">
5304
5313
  <div class="ge-table-progress-container"
5305
5314
  style="width:100%;height:50%;padding:0;margin-top:6px;"
@@ -5307,7 +5316,7 @@ class ds {
5307
5316
  data-col-index="${s}"
5308
5317
  data-area="${o}">
5309
5318
  <div class="ge-table-progress-bar"
5310
- style="width:${c}%;height:100%;padding:0;margin:0;"
5319
+ style="width:${d}%;height:100%;padding:0;margin:0;"
5311
5320
  data-row-index="${t}"
5312
5321
  data-col-index="${s}"
5313
5322
  data-area="${o}">&nbsp;
@@ -5317,7 +5326,7 @@ class ds {
5317
5326
  }
5318
5327
  }
5319
5328
  }
5320
- class hs {
5329
+ class ms {
5321
5330
  render(e, t, s, o, i, r, n) {
5322
5331
  if (r) {
5323
5332
  e.innerHTML = `
@@ -5337,16 +5346,91 @@ class hs {
5337
5346
  }
5338
5347
  }
5339
5348
  }
5340
- const us = function(h, e, t) {
5349
+ class lt {
5350
+ constructor(e, t, s, o, i, r) {
5351
+ this.action = e, this.area = t, this.areaModel = s, this.rowIndex = o, this.columnIndex = i, this.id = r;
5352
+ }
5353
+ }
5354
+ class _ {
5355
+ constructor(e, t, s = "", o = "", i = "button", r = !0) {
5356
+ this.action = e, this.label = t, this.icon = s, this.elementClass = o, this.elementType = i, this.enabled = r;
5357
+ }
5358
+ }
5359
+ class nt {
5360
+ constructor(e, t) {
5361
+ this.actionEventListener = e, this.crudActions = t;
5362
+ }
5363
+ render(e, t, s, o, i, r, n) {
5364
+ n.addClass(e, "ge-table-row-action-div");
5365
+ const l = r, d = this.getCrudActions(r).map(
5366
+ (c) => c.elementType === "button" ? this.buildButtonHtml(c, o, t, s, l) : this.buildLinkHtml(c, o, t, s, l)
5367
+ );
5368
+ e.innerHTML = d.join(""), this.addClickEventListeners(e, o, i);
5369
+ }
5370
+ buildButtonHtml(e, t, s, o, i) {
5371
+ const r = e.enabled ? 'data-listen="click"' : "disabled";
5372
+ return `
5373
+ <button
5374
+ type="button"
5375
+ data-area="${t}"
5376
+ data-action="${e.action}"
5377
+ data-id="${i}"
5378
+ data-row-index="${s}"
5379
+ data-col-index="${o}"
5380
+ style="height: 100%;line-height: 1;"
5381
+ ${r}
5382
+ class="ge-table-cell-action ge-table-cell-button ${e.elementClass}">
5383
+ ${e.label}
5384
+ </button>`;
5385
+ }
5386
+ buildLinkHtml(e, t, s, o, i) {
5387
+ const r = e.enabled ? 'data-listen="click"' : "disabled";
5388
+ return `
5389
+ <a
5390
+ href="javascript:void(0)"
5391
+ data-area="${t}"
5392
+ data-action="${e.action}"
5393
+ data-id="${i}"
5394
+ data-row-index="${s}"
5395
+ data-col-index="${o}"
5396
+ ${r}
5397
+ class="ge-table-cell-action ge-table-cell-link ${e.elementClass}">
5398
+ ${e.label}
5399
+ </a>`;
5400
+ }
5401
+ addClickEventListeners(e, t, s) {
5402
+ e.querySelectorAll(".ge-table-cell-action").forEach((i) => {
5403
+ i.addEventListener("click", (r) => {
5404
+ const n = r.target;
5405
+ if (n) {
5406
+ const l = this.createActionEvent(n, s);
5407
+ l && this.actionEventListener.onActionEvent(l);
5408
+ }
5409
+ });
5410
+ });
5411
+ }
5412
+ createActionEvent(e, t) {
5413
+ const s = e.getAttribute("data-area"), o = e.getAttribute("data-row-index"), i = e.getAttribute("data-col-index"), r = e.getAttribute("data-action") ?? "unknown", n = e.getAttribute("data-id") ?? "unknown";
5414
+ if (s && o && i) {
5415
+ const l = Y(s), a = Number(o), d = Number(i);
5416
+ return new lt(r, l, t, a, d, n);
5417
+ }
5418
+ return null;
5419
+ }
5420
+ getCrudActions(e) {
5421
+ return Array.isArray(e) && e.every((t) => t instanceof _) ? e : this.crudActions;
5422
+ }
5423
+ }
5424
+ const bs = function(h, e, t) {
5341
5425
  return h ? Number(h) : "";
5342
5426
  };
5343
- class ye {
5427
+ class Ce {
5344
5428
  constructor(e) {
5345
5429
  this.options = e;
5346
5430
  }
5347
5431
  static create(e) {
5348
- return new ye(
5349
- e.map((t) => new et(t, t))
5432
+ return new Ce(
5433
+ e.map((t) => new ot(t, t))
5350
5434
  );
5351
5435
  }
5352
5436
  render(e, t, s, o, i, r, n) {
@@ -5354,11 +5438,11 @@ class ye {
5354
5438
  n.addClass(e, "ge-table-row-select-div");
5355
5439
  const l = i.getValueAt(t, s);
5356
5440
  let a = [];
5357
- for (let d of this.options) {
5358
- const u = d.value === l ? " selected " : "";
5359
- a.push(`<option value="${d.value}" ${u}>${d.label}</option>`);
5441
+ for (let c of this.options) {
5442
+ const u = c.value === l ? " selected " : "";
5443
+ a.push(`<option value="${c.value}" ${u}>${c.label}</option>`);
5360
5444
  }
5361
- const c = a.join("");
5445
+ const d = a.join("");
5362
5446
  e.innerHTML = `
5363
5447
  <select
5364
5448
  type="text"
@@ -5370,11 +5454,11 @@ class ye {
5370
5454
  data-col-index="${s}"
5371
5455
  data-input-type="text"
5372
5456
  style="width:100%;height:100%;border:0;padding:0 0 0 8px;"
5373
- class="ge-table-cell-editor-select">${c}</select>`;
5457
+ class="ge-table-cell-editor-select">${d}</select>`;
5374
5458
  }
5375
5459
  }
5376
5460
  }
5377
- class gs extends xe {
5461
+ class xs extends ie {
5378
5462
  constructor(e) {
5379
5463
  super("row", "multi"), this.model = e;
5380
5464
  }
@@ -5394,7 +5478,7 @@ class gs extends xe {
5394
5478
  * @param {number} rowIndex - The index of the row to be selected.
5395
5479
  */
5396
5480
  selectRow(e) {
5397
- this.addRange(A.singleRow(e));
5481
+ this.addRange(R.singleRow(e));
5398
5482
  }
5399
5483
  /**
5400
5484
  * Unselects the specified row.
@@ -5403,7 +5487,7 @@ class gs extends xe {
5403
5487
  * @return {void}
5404
5488
  */
5405
5489
  unselectRow(e) {
5406
- this.removeSelection(A.singleRow(e));
5490
+ this.removeSelection(R.singleRow(e));
5407
5491
  }
5408
5492
  /**
5409
5493
  * Toggles the selection of items based on current selection state.
@@ -5457,172 +5541,282 @@ class gs extends xe {
5457
5541
  this.isSelected(e, 0) ? this.unselectRow(e) : this.selectRow(e);
5458
5542
  }
5459
5543
  }
5460
- class ps {
5544
+ class ws {
5461
5545
  constructor(e, t, s) {
5462
5546
  this.r = e, this.g = t, this.b = s;
5463
5547
  }
5464
5548
  }
5465
- class fe {
5549
+ class be {
5466
5550
  constructor(e, t, s, o) {
5467
5551
  this.minValue = e, this.minColor = t, this.maxValue = s, this.maxColor = o;
5468
5552
  }
5469
5553
  }
5470
- class N {
5554
+ class G {
5471
5555
  static normalize(e, t, s, o = 0, i = 1) {
5472
5556
  return (e - t) / (s - t) * (i - o) + o;
5473
5557
  }
5474
5558
  static getTwoColorGradientRGB(e, t) {
5475
- const s = N.normalize(e, t.minValue, t.maxValue, 0, 1), o = t.maxColor.r - t.minColor.r, i = t.maxColor.g - t.minColor.g, r = t.maxColor.b - t.minColor.b, n = o * s + t.minColor.r, l = i * s + t.minColor.g, a = r * s + t.minColor.b;
5559
+ const s = G.normalize(e, t.minValue, t.maxValue, 0, 1), o = t.maxColor.r - t.minColor.r, i = t.maxColor.g - t.minColor.g, r = t.maxColor.b - t.minColor.b, n = o * s + t.minColor.r, l = i * s + t.minColor.g, a = r * s + t.minColor.b;
5476
5560
  return `rgb(${Math.round(n)}, ${Math.round(l)}, ${Math.round(a)})`;
5477
5561
  }
5478
5562
  static getThreeColorGradientRGB(e, t) {
5479
- return e < t.middleValue ? N.getTwoColorGradientRGB(e, new fe(t.minValue, t.minColor, t.middleValue, t.middleColor)) : e > t.middleValue ? N.getTwoColorGradientRGB(e, new fe(t.middleValue, t.middleColor, t.maxValue, t.maxColor)) : `rgb(${t.middleColor.r}, ${t.middleColor.g}, ${t.middleColor.b})`;
5563
+ return e < t.middleValue ? G.getTwoColorGradientRGB(e, new be(t.minValue, t.minColor, t.middleValue, t.middleColor)) : e > t.middleValue ? G.getTwoColorGradientRGB(e, new be(t.middleValue, t.middleColor, t.maxValue, t.maxColor)) : `rgb(${t.middleColor.r}, ${t.middleColor.g}, ${t.middleColor.b})`;
5480
5564
  }
5481
5565
  }
5482
- class fs {
5566
+ class Ss {
5483
5567
  constructor(e, t, s, o, i, r) {
5484
5568
  this.minValue = e, this.minColor = t, this.middleValue = s, this.middleColor = o, this.maxValue = i, this.maxColor = r;
5485
5569
  }
5486
5570
  }
5571
+ class ys {
5572
+ constructor() {
5573
+ this.urls = {
5574
+ list: {
5575
+ url: "",
5576
+ method: "GET"
5577
+ }
5578
+ }, this.singleRowActions = [
5579
+ new _("VIEW", "View", "", "", "link"),
5580
+ new _("EDIT", "Edit", "", "", "link"),
5581
+ new _("CLONE", "Clone", "", "", "link"),
5582
+ new _("DELETE", "Delete", "", "", "link")
5583
+ ], this.tableActions = [
5584
+ new _("CREATE", "Create", "", "", "button"),
5585
+ new _("DELETE_SELECTED", "Delete Selected", "", "", "button")
5586
+ ], this.autoAddActionColumn = !0, this.getHeadersInit = () => ({}), this.getIdByObject = (e) => "id" in e ? e.id : e, this.fetchList = (e) => {
5587
+ const t = e.getHeadersInit ? e.getHeadersInit() : {};
5588
+ let s = e.urls.list.url, o = e.urls.list.method ?? "GET";
5589
+ return fetch(s, {
5590
+ headers: t,
5591
+ method: o
5592
+ }).then((i) => i.json());
5593
+ }, this.fetchItem = (e, t) => {
5594
+ var r, n;
5595
+ const s = e.getHeadersInit ? e.getHeadersInit() : {};
5596
+ let o = ((r = e.urls.read) == null ? void 0 : r.url) ?? "";
5597
+ o = o.replace("{id}", t);
5598
+ let i = ((n = e.urls.read) == null ? void 0 : n.method) ?? "GET";
5599
+ return fetch(o, {
5600
+ headers: s,
5601
+ method: i
5602
+ }).then((l) => l.json());
5603
+ }, this.deleteItem = (e, t) => {
5604
+ var r, n;
5605
+ const s = e.getHeadersInit ? e.getHeadersInit() : {};
5606
+ let o = ((r = e.urls.delete) == null ? void 0 : r.url) ?? "";
5607
+ o = o.replace("{id}", t);
5608
+ let i = ((n = e.urls.delete) == null ? void 0 : n.method) ?? "GET";
5609
+ return fetch(o, {
5610
+ headers: s,
5611
+ method: i
5612
+ }).then((l) => l.json());
5613
+ }, this.getId = (e) => e.id;
5614
+ }
5615
+ }
5616
+ class Cs {
5617
+ createTableModel(e, t, s = (o) => {
5618
+ }) {
5619
+ this.crudOptions = e, e.fetchList(e).then((o) => {
5620
+ var c, u;
5621
+ t.rows = o;
5622
+ const i = new ie("row", "multi"), r = () => i;
5623
+ this.tableOptions = {
5624
+ ...new z(),
5625
+ ...t.tableOptions,
5626
+ hoverColumnVisible: !1,
5627
+ getSelectionModel: r
5628
+ };
5629
+ const n = (c = t.columnDefs) != null && c.length ? t.columnDefs : Object.keys(t.rows[0]).map((f) => new O(f, f.toUpperCase(), Q));
5630
+ if (e.autoAddActionColumn) {
5631
+ let f = new O(
5632
+ "id",
5633
+ "Actions",
5634
+ Je,
5635
+ new k(["ge-table-text-align-left"], ["ge-table-text-align-left ge-table-actions-cell"], void 0)
5636
+ );
5637
+ f.rendererMap = new k(
5638
+ void 0,
5639
+ new nt(this, e.singleRowActions),
5640
+ void 0
5641
+ ), n.push(f);
5642
+ }
5643
+ const l = 0, a = 0;
5644
+ this.tableModel = $.buildByTypedRowsParam({
5645
+ rows: o,
5646
+ columnDefs: n,
5647
+ tableOptions: this.tableOptions,
5648
+ fixedLeftColumnCount: l,
5649
+ fixedRightColumnCount: a
5650
+ }), this.tableModel.getSelectionModel = r, this.bodyModel = (u = this.tableModel) == null ? void 0 : u.getBodyModel();
5651
+ const d = new tt(this.tableModel, this.tableOptions);
5652
+ s(d);
5653
+ });
5654
+ }
5655
+ onActionEvent(e) {
5656
+ var t, s;
5657
+ if (console.info("TODO Action event", e), e.action === "VIEW") {
5658
+ let o = e.id;
5659
+ (t = this.crudOptions) == null || t.fetchItem(this.crudOptions, o).then((i) => (console.info(i), i));
5660
+ } else if (e.action === "DELETE") {
5661
+ let o = e.id;
5662
+ (s = this.crudOptions) == null || s.deleteItem(this.crudOptions, o).then((i) => {
5663
+ var r, n, l, a, d, c, u;
5664
+ return console.info(i), console.info("all", (r = this.bodyModel) == null ? void 0 : r.getAllRows().length), (n = this.bodyModel) == null || n.filterRowsByPredict((f) => f.id != o), console.info("all", (l = this.bodyModel) == null ? void 0 : l.getAllRows().length), (d = (a = this.tableModel) == null ? void 0 : a.getTableScope()) == null || d.clearSelection(!0), (u = (c = this.tableModel) == null ? void 0 : c.getTableScope()) == null || u.repaintHard(), i;
5665
+ });
5666
+ }
5667
+ }
5668
+ }
5669
+ class vs {
5670
+ constructor(e, t) {
5671
+ this.method = e, this.url = t;
5672
+ }
5673
+ }
5487
5674
  export {
5488
- oe as AbstractAreaModel,
5489
- jt as AreaMapFactory,
5490
- qt as AreaModel,
5675
+ le as AbstractAreaModel,
5676
+ lt as ActionEvent,
5677
+ nt as ActionsCellRenderer,
5678
+ Jt as AreaMapFactory,
5679
+ ts as AreaModel,
5491
5680
  D as AreaModelArrayOfArrays,
5492
- Jt as AreaModelCellGroups,
5681
+ ss as AreaModelCellGroups,
5493
5682
  F as AreaModelHidden,
5494
- Ze as AreaModelObjectArray,
5495
- ge as AreaModelObjectArrayWithColumndefs,
5496
- de as AreaModelTree,
5497
- I as AreaObjectMap,
5498
- Kt as AutoRestoreOptions,
5499
- it as AvoidDoubleExecution,
5500
- tt as CellGroup,
5501
- st as CellGroupExt,
5502
- J as CellGroupExtCellRenderer,
5503
- A as CellRange,
5683
+ et as AreaModelObjectArray,
5684
+ fe as AreaModelObjectArrayWithColumndefs,
5685
+ ue as AreaModelTree,
5686
+ k as AreaObjectMap,
5687
+ es as AutoRestoreOptions,
5688
+ dt as AvoidDoubleExecution,
5689
+ it as CellGroup,
5690
+ rt as CellGroupExt,
5691
+ ee as CellGroupExtCellRenderer,
5692
+ R as CellRange,
5504
5693
  T as CellgroupFactory,
5505
- es as CheckboxBooleanPropertyCellRenderer,
5506
- pe as CheckboxCellRenderer,
5507
- Ut as CheckboxColumnDef,
5508
- Je as CheckboxModel,
5509
- Bt as ChunkData,
5510
- Le as ColAndRowspanModel,
5511
- ke as CollapsedExpandedData,
5512
- ps as ColorRgb,
5513
- V as ColumnDef,
5694
+ rs as CheckboxBooleanPropertyCellRenderer,
5695
+ me as CheckboxCellRenderer,
5696
+ qt as CheckboxColumnDef,
5697
+ Qe as CheckboxModel,
5698
+ Nt as ChunkData,
5699
+ Pe as ColAndRowspanModel,
5700
+ Ie as CollapsedExpandedData,
5701
+ ws as ColorRgb,
5702
+ O as ColumnDef,
5514
5703
  Re as ConvenienceDomService,
5515
- G as CopyService,
5516
- le as CssVars,
5517
- ss as DateToIntlDDMMYYYYCellRenderer,
5518
- ts as DateToIsoCellRenderer,
5519
- os as DateToLocaleDateCellRenderer,
5520
- ns as DateToTecCellRenderer,
5521
- H as DefaultRowHeights,
5522
- Fe as EleScope,
5523
- re as EventAdapter,
5524
- Ye as ExcelService,
5525
- ae as FalseFn,
5526
- ze as FocusModel,
5704
+ U as CopyService,
5705
+ ys as CrudOptions,
5706
+ Cs as CrudTableModelFactory,
5707
+ de as CssVars,
5708
+ ns as DateToIntlDDMMYYYYCellRenderer,
5709
+ ls as DateToIsoCellRenderer,
5710
+ as as DateToLocaleDateCellRenderer,
5711
+ us as DateToTecCellRenderer,
5712
+ W as DefaultRowHeights,
5713
+ Le as EleScope,
5714
+ ae as EventAdapter,
5715
+ Ke as ExcelService,
5716
+ he as FalseFn,
5717
+ Ue as FocusModel,
5527
5718
  Be as GeCellIndices,
5528
- N as GeCssColorUtil,
5529
- Zt as GeFilterService,
5530
- Xt as GeKeyEvent,
5531
- te as GeModelChangeEvent,
5532
- Z as GeMouseEvent,
5719
+ G as GeCssColorUtil,
5720
+ os as GeFilterService,
5721
+ Zt as GeKeyEvent,
5722
+ oe as GeModelChangeEvent,
5723
+ te as GeMouseEvent,
5533
5724
  L as GeoData,
5534
5725
  P as Icon,
5535
- $t as IndexAndPx,
5536
- Ge as InputCellRenderer,
5726
+ Gt as IndexAndPx,
5727
+ ze as InputCellRenderer,
5537
5728
  Oe as InputHandler,
5538
- O as LicenseManager,
5539
- is as MaleFemaleToIconCellRenderer,
5540
- Ee as MouseHandler,
5541
- Ae as MouseTargetData,
5542
- gs as MultiRowsSelectionModel,
5543
- rs as NumberCellProgressBarCellRenderer,
5544
- as as NumberCellRenderer,
5545
- Ve as OsxShortcutActionIdMapping,
5546
- ue as Padding,
5547
- hs as PositiveAndNegativeNumberRenderer,
5548
- ds as ProgressBarCellRenderer,
5549
- Pe as RenderScope,
5550
- Qt as Renderer,
5551
- Qe as RequestChunk,
5552
- Xe as ResizeHandler,
5553
- ye as SelectCellRenderer,
5554
- xe as SelectionModel,
5555
- $e as SelectionService,
5556
- We as ShortcutService,
5557
- Ne as SimpleDomService,
5729
+ B as LicenseManager,
5730
+ ds as MaleFemaleToIconCellRenderer,
5731
+ Me as MouseHandler,
5732
+ Ee as MouseTargetData,
5733
+ xs as MultiRowsSelectionModel,
5734
+ cs as NumberCellProgressBarCellRenderer,
5735
+ gs as NumberCellRenderer,
5736
+ We as OsxShortcutActionIdMapping,
5737
+ pe as Padding,
5738
+ ms as PositiveAndNegativeNumberRenderer,
5739
+ fs as ProgressBarCellRenderer,
5740
+ _e as RenderScope,
5741
+ is as Renderer,
5742
+ st as RequestChunk,
5743
+ Ye as ResizeHandler,
5744
+ Ce as SelectCellRenderer,
5745
+ ie as SelectionModel,
5746
+ He as SelectionService,
5747
+ Ne as ShortcutService,
5748
+ Ge as SimpleDomService,
5558
5749
  x as Size,
5559
- _e as SortItem,
5560
- be as SortedOptions,
5561
- cs as StarRatingCellRenderer,
5562
- Ie as StoreStateCollapsedExpandService,
5563
- Te as StoreStateScrollPosService,
5564
- De as StoreStateSortingService,
5565
- Me as TableApi,
5566
- Yt as TableCellUpdateEvent,
5567
- _ as TableFactory,
5568
- X as TableModel,
5569
- Ot as TableModelAndOptions,
5570
- K as TableOptions,
5571
- we as TableScope,
5572
- fs as ThreeColorGradientArg,
5573
- he as TreeCheckboxModel,
5574
- q as TreeFactory,
5575
- me as TreeOptions,
5576
- ne as TreeRow,
5577
- qe as TreeRowService,
5578
- ls as TrueFalseCellRenderer,
5579
- Ke as TrueFn,
5580
- fe as TwoColorGradientArg,
5581
- et as ValueLabel,
5582
- He as WindowsShortcutActionIdMapping,
5583
- _t as actionIds,
5584
- Gt as allCenter,
5585
- Nt as allLeft,
5586
- zt as allRight,
5587
- Vt as bodyCenter,
5588
- Ht as bodyLeft,
5589
- Wt as bodyRight,
5590
- Ce as debounce,
5591
- us as editInputPipeForNumber,
5592
- Q as getAreaIdentByString,
5593
- Y as isAreaModelTree,
5594
- ve as isCheckboxColumnDef,
5595
- $ as isTreeRow,
5596
- Pt as px0,
5597
- Lt as px10,
5598
- Rt as px100,
5599
- vt as px110,
5600
- Ct as px120,
5601
- yt as px130,
5602
- St as px140,
5603
- wt as px150,
5604
- xt as px160,
5605
- bt as px170,
5606
- mt as px180,
5607
- ft as px190,
5608
- Ft as px20,
5609
- ce as px200,
5610
- pt as px210,
5611
- gt as px220,
5612
- ut as px230,
5613
- ht as px240,
5614
- dt as px250,
5615
- ct as px260,
5616
- at as px270,
5617
- nt as px280,
5618
- lt as px290,
5619
- Dt as px30,
5620
- rt as px300,
5621
- It as px40,
5622
- kt as px50,
5623
- Tt as px60,
5624
- Mt as px70,
5625
- Et as px80,
5626
- At as px90,
5627
- ot as throttle
5750
+ $e as SortItem,
5751
+ we as SortedOptions,
5752
+ ps as StarRatingCellRenderer,
5753
+ De as StoreStateCollapsedExpandService,
5754
+ ke as StoreStateScrollPosService,
5755
+ Fe as StoreStateSortingService,
5756
+ Te as TableApi,
5757
+ Qt as TableCellUpdateEvent,
5758
+ $ as TableFactory,
5759
+ q as TableModel,
5760
+ tt as TableModelAndOptions,
5761
+ z as TableOptions,
5762
+ Se as TableScope,
5763
+ Ss as ThreeColorGradientArg,
5764
+ ge as TreeCheckboxModel,
5765
+ Z as TreeFactory,
5766
+ xe as TreeOptions,
5767
+ ce as TreeRow,
5768
+ Ze as TreeRowService,
5769
+ hs as TrueFalseCellRenderer,
5770
+ qe as TrueFn,
5771
+ be as TwoColorGradientArg,
5772
+ vs as UrlInfo,
5773
+ ot as ValueLabel,
5774
+ Ve as WindowsShortcutActionIdMapping,
5775
+ Wt as actionIds,
5776
+ Yt as allCenter,
5777
+ Xt as allLeft,
5778
+ Kt as allRight,
5779
+ Ut as bodyCenter,
5780
+ zt as bodyLeft,
5781
+ jt as bodyRight,
5782
+ ve as debounce,
5783
+ bs as editInputPipeForNumber,
5784
+ Y as getAreaIdentByString,
5785
+ J as isAreaModelTree,
5786
+ Ae as isCheckboxColumnDef,
5787
+ V as isTreeRow,
5788
+ Vt as px0,
5789
+ Ht as px10,
5790
+ It as px100,
5791
+ kt as px110,
5792
+ Tt as px120,
5793
+ Mt as px130,
5794
+ Et as px140,
5795
+ Rt as px150,
5796
+ At as px160,
5797
+ vt as px170,
5798
+ Ct as px180,
5799
+ yt as px190,
5800
+ Bt as px20,
5801
+ Q as px200,
5802
+ St as px210,
5803
+ wt as px220,
5804
+ xt as px230,
5805
+ bt as px240,
5806
+ mt as px250,
5807
+ ft as px260,
5808
+ pt as px270,
5809
+ gt as px280,
5810
+ ut as px290,
5811
+ Ot as px30,
5812
+ ht as px300,
5813
+ $t as px40,
5814
+ Je as px400,
5815
+ _t as px50,
5816
+ ct as px500,
5817
+ Pt as px60,
5818
+ Lt as px70,
5819
+ Ft as px80,
5820
+ Dt as px90,
5821
+ at as throttle
5628
5822
  };