@guiexpert/table 1.1.85 → 1.1.86

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 zt(d, e = 500) {
1
+ function Ut(d, 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 zt(d, e = 500) {
7
7
  }, r));
8
8
  };
9
9
  }
10
- function Ue(d, e = 500) {
10
+ function Ye(d, 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 Ue(d, e = 500) {
15
15
  }, e);
16
16
  };
17
17
  }
18
- function jt(d = 500) {
18
+ function Yt(d = 500) {
19
19
  return function(e, t, s) {
20
20
  let o = 0;
21
21
  const i = s.value;
@@ -25,22 +25,17 @@ function jt(d = 500) {
25
25
  }, s;
26
26
  };
27
27
  }
28
- const _e = "any", X = "undefined", Le = "null", Oe = "string", ge = "number", fe = "boolean", Ve = "Array", K = "object", Z = [Le, X, _e];
29
- class He {
28
+ const Le = "any", X = "undefined", Oe = "null", Ve = "string", fe = "number", me = "boolean", He = "Array", K = "object", Q = [Oe, X, Le];
29
+ class $e {
30
30
  constructor(e) {
31
- this.propertyName = e, this.type = _e;
31
+ this.propertyName = e, this.type = Le;
32
32
  }
33
33
  }
34
- class ne {
34
+ class le {
35
35
  constructor(e) {
36
36
  this.propertyName = e, this.type = X;
37
37
  }
38
38
  }
39
- class Ye {
40
- constructor(e) {
41
- this.propertyName = e, this.type = Le;
42
- }
43
- }
44
39
  class Xe {
45
40
  constructor(e) {
46
41
  this.propertyName = e, this.type = Oe;
@@ -48,7 +43,7 @@ class Xe {
48
43
  }
49
44
  class Ke {
50
45
  constructor(e) {
51
- this.propertyName = e, this.type = ge;
46
+ this.propertyName = e, this.type = Ve;
52
47
  }
53
48
  }
54
49
  class Je {
@@ -56,12 +51,17 @@ class Je {
56
51
  this.propertyName = e, this.type = fe;
57
52
  }
58
53
  }
54
+ class qe {
55
+ constructor(e) {
56
+ this.propertyName = e, this.type = me;
57
+ }
58
+ }
59
59
  class B {
60
60
  constructor(e, t = []) {
61
- this.propertyName = e, this.items = t, this.type = Ve;
61
+ this.propertyName = e, this.items = t, this.type = He;
62
62
  }
63
63
  }
64
- class $e {
64
+ class Be {
65
65
  constructor(e, t = []) {
66
66
  this.propertyName = e, this.types = t;
67
67
  }
@@ -74,7 +74,7 @@ class L {
74
74
  this.propertyName = e, this.className = t, this.properties = s, this.type = K;
75
75
  }
76
76
  }
77
- class Ut {
77
+ class Xt {
78
78
  constructor() {
79
79
  this.rootPropertyType = null, this.allowCustomRenderer = !0, this.bufCustomRenderer = [], this.LABEL_MAPPINGS = {
80
80
  Id: "ID",
@@ -111,7 +111,7 @@ class Ut {
111
111
  }
112
112
  iteratePropertyItems(e, t, s = "") {
113
113
  for (let o = 0; o < t.length; o++) {
114
- let r = t[o].types.filter((n) => !Z.includes(n.type));
114
+ let r = t[o].types.filter((n) => !Q.includes(n.type));
115
115
  if (r.length === 1) {
116
116
  let n = r[0];
117
117
  const l = s ? [s, n.propertyName].join(".") : n.propertyName;
@@ -125,14 +125,14 @@ class Ut {
125
125
  }
126
126
  const c = this.getReadableColumnLabel(l);
127
127
  let h = 100, u = "", f = "ge-table-text-align-left";
128
- if (n.type === Ve) {
128
+ if (n.type === He) {
129
129
  if (this.allowCustomRenderer && a) {
130
130
  const p = `${a}ArrayCellRenderer`;
131
131
  u = ` bodyRenderer: new ${p}(),`, f = "", this.renderCumstomCellRenderer(a, p);
132
132
  } else
133
133
  u = " bodyRenderer: new SimpleArrayCellRenderer(),";
134
134
  h = 250;
135
- } else n.type === ge ? (u = " bodyRenderer: new NumberCellRenderer(),", f = "ge-table-text-align-right") : n.type === fe && (u = " bodyRenderer: new TrueFalseCellRenderer(),", f = "ge-table-text-align-center", h = 80);
135
+ } else n.type === fe ? (u = " bodyRenderer: new NumberCellRenderer(),", f = "ge-table-text-align-right") : n.type === me && (u = " bodyRenderer: new TrueFalseCellRenderer(),", f = "ge-table-text-align-center", h = 80);
136
136
  e.push(` ColumnDef.create({
137
137
  property: "${l}",
138
138
  headerLabel: "${c}",
@@ -194,7 +194,7 @@ export class ${t} implements CellRendererIf {
194
194
  `);
195
195
  }
196
196
  }
197
- class ve {
197
+ class Re {
198
198
  /**
199
199
  *
200
200
  * Fixes an invalid json like this:
@@ -260,21 +260,21 @@ class ve {
260
260
  return s;
261
261
  }
262
262
  }
263
- class qe {
263
+ class Ze {
264
264
  constructor() {
265
- this.property = "", this.value = "", this.path = "", this.propertyItem = new $e("", [new He("")]);
265
+ this.property = "", this.value = "", this.path = "", this.propertyItem = new Be("", [new $e("")]);
266
266
  }
267
267
  toString() {
268
268
  var e;
269
269
  return `${this.path} -> : ${((e = this.propertyItem) == null ? void 0 : e.toString()) ?? ""}`;
270
270
  }
271
271
  }
272
- const Re = "Entity";
273
- function Ze(d) {
274
- let e = Qe(et(d));
275
- return e.includes(Re) || (e = e + Re), e;
276
- }
272
+ const Ae = "Entity";
277
273
  function Qe(d) {
274
+ let e = et(tt(d));
275
+ return e.includes(Ae) || (e = e + Ae), e;
276
+ }
277
+ function et(d) {
278
278
  if (!d || d.length === 0) return d;
279
279
  const e = ["Array", "Arr", "List", "s"];
280
280
  for (const t of e)
@@ -282,10 +282,10 @@ function Qe(d) {
282
282
  return d.slice(0, -t.length);
283
283
  return d;
284
284
  }
285
- function et(d) {
285
+ function tt(d) {
286
286
  return !d || d.length === 0 ? "" : d[0].toUpperCase() + d.slice(1);
287
287
  }
288
- class Yt {
288
+ class Kt {
289
289
  constructor() {
290
290
  this.debugging = !1;
291
291
  }
@@ -372,7 +372,7 @@ class Yt {
372
372
  json2PropertyType(e, t = "") {
373
373
  let s;
374
374
  if (typeof e == "string") {
375
- const o = new ve().fixJSON(e);
375
+ const o = new Re().fixJSON(e);
376
376
  s = this.json2Object(o);
377
377
  } else
378
378
  s = e;
@@ -488,7 +488,7 @@ class Yt {
488
488
  json2ValueInfos(e, t = "") {
489
489
  let s;
490
490
  if (typeof e == "string") {
491
- const o = new ve().fixJSON(e);
491
+ const o = new Re().fixJSON(e);
492
492
  s = this.json2Object(o);
493
493
  } else
494
494
  s = e;
@@ -512,7 +512,7 @@ class Yt {
512
512
  const r = s.get(i);
513
513
  if (r) {
514
514
  let n = !1;
515
- const l = r.propertyItem.types.filter((a) => !Z.includes(a.type));
515
+ const l = r.propertyItem.types.filter((a) => !Q.includes(a.type));
516
516
  if (l.length === 1) {
517
517
  const a = l[0];
518
518
  if (a instanceof B) {
@@ -527,7 +527,7 @@ class Yt {
527
527
  }
528
528
  }
529
529
  }
530
- return t || new He("");
530
+ return t || new $e("");
531
531
  }
532
532
  logValueInfos(e) {
533
533
  for (let t = 0; t < e.length; t++) {
@@ -557,7 +557,7 @@ class Yt {
557
557
  const l = this.getFirstValueInfoByPath(e, n);
558
558
  if (Array.isArray(l == null ? void 0 : l.value)) {
559
559
  const a = (l == null ? void 0 : l.value.length) ?? 0, c = this.countPath(e, i.path);
560
- a > c && (i.propertyItem.types.some((h) => h.type === X) || i.propertyItem.types.push(new ne(i.property)));
560
+ a > c && (i.propertyItem.types.some((h) => h.type === X) || i.propertyItem.types.push(new le(i.property)));
561
561
  }
562
562
  }
563
563
  }
@@ -578,7 +578,7 @@ class Yt {
578
578
  }
579
579
  extractValueInfos(e, t) {
580
580
  const s = [], o = (i, r, n) => {
581
- const l = new qe();
581
+ const l = new Ze();
582
582
  let a = r.split("/").pop() || "";
583
583
  if (a === "[]" ? a = n : a === "root" && (a = t), l.property = a, l.value = i, l.path = r, l.propertyItem = this.createPropertyItem(i, l.property), s.push(l), i && typeof i === K && !Array.isArray(i)) {
584
584
  for (const c in i)
@@ -594,15 +594,15 @@ class Yt {
594
594
  return o(e, "root", t), s.sort((i, r) => i.path.localeCompare(r.path));
595
595
  }
596
596
  createPropertyItem(e, t) {
597
- return new $e(t, [
597
+ return new Be(t, [
598
598
  this.createPropertyType(e, t)
599
599
  ]);
600
600
  }
601
601
  createPropertyType(e, t) {
602
- return e === null ? new Ye(t) : e === void 0 ? new ne(t) : typeof e === Oe ? new Xe(t) : typeof e === ge && !isNaN(e) ? new Ke(t) : typeof e === fe ? new Je(t) : Array.isArray(e) ? new B(t) : typeof e === K ? new L(t, Ze(t)) : new ne(t);
602
+ return e === null ? new Xe(t) : e === void 0 ? new le(t) : typeof e === Ve ? new Ke(t) : typeof e === fe && !isNaN(e) ? new Je(t) : typeof e === me ? new qe(t) : Array.isArray(e) ? new B(t) : typeof e === K ? new L(t, Qe(t)) : new le(t);
603
603
  }
604
604
  }
605
- class Xt {
605
+ class Jt {
606
606
  constructor() {
607
607
  this.orOperator = "|", this.rootPropertyType = null, this.rootName = "Root", this.renderTypeScriptInterfacesFifo = [], this.renderTypeScriptInterfacesDone = [];
608
608
  }
@@ -651,7 +651,7 @@ class Xt {
651
651
  var s, o;
652
652
  if (((s = e.types) == null ? void 0 : s.length) === 0) return "any";
653
653
  if (((o = e.types) == null ? void 0 : o.length) === 1) return this.renderType(e.types[0], e);
654
- const t = e.types.map((i) => this.renderType(i, e)).filter((i) => i !== X).sort((i, r) => Z.includes(i) ? 100 : Z.includes(r) ? -100 : i.localeCompare(r)).join(this.orOperator);
654
+ const t = e.types.map((i) => this.renderType(i, e)).filter((i) => i !== X).sort((i, r) => Q.includes(i) ? 100 : Q.includes(r) ? -100 : i.localeCompare(r)).join(this.orOperator);
655
655
  return t.includes(this.orOperator) ? "(" + t + ")" : t;
656
656
  }
657
657
  renderType(e, t) {
@@ -695,18 +695,18 @@ class G {
695
695
  function j(d) {
696
696
  return d && d.type === "TreeRow";
697
697
  }
698
- function ce(d) {
698
+ function de(d) {
699
699
  return d && d.type === "AreaModelTree";
700
700
  }
701
- function tt(d) {
701
+ function st(d) {
702
702
  return d && d.type === "CheckboxColumnDef";
703
703
  }
704
- class me {
704
+ class be {
705
705
  constructor(e = -1, t = -1, s = -1, o = -1, i, r, n, l = 0, a = 0, c = 0, h = "") {
706
706
  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 = h;
707
707
  }
708
708
  clone() {
709
- return new me(
709
+ return new be(
710
710
  this.rowIndex,
711
711
  this.rowTop,
712
712
  this.columnIndex,
@@ -726,7 +726,7 @@ class V {
726
726
  this.content = e, this.style = t, this.classes = s;
727
727
  }
728
728
  }
729
- class Be {
729
+ class We {
730
730
  constructor(e = new V(
731
731
  ">",
732
732
  "transform: rotate(90deg) translate(66%, -66%); transform-origin: 0 0;",
@@ -747,12 +747,12 @@ class Be {
747
747
  this.arrowExpanded = e, this.arrowCollapsed = t, this.arrowPlaceholder = s, this.arrowExpandCollapseAll = o;
748
748
  }
749
749
  }
750
- class We {
750
+ class Ne {
751
751
  constructor(e = new V("↑", "", ["ge-header-sorted-asc"]), t = new V("↓", "", ["ge-header-sorted-desc"]), s = new V("↑", "color:transparent;", [])) {
752
752
  this.iconAsc = e, this.iconDesc = t, this.iconPlaceholder = s;
753
753
  }
754
754
  }
755
- class st {
755
+ class ot {
756
756
  constructor(e) {
757
757
  this.domService = e;
758
758
  }
@@ -872,7 +872,7 @@ class st {
872
872
  }
873
873
  return this.domService.appendChild(e, n), n;
874
874
  }
875
- addSortedIcon(e, t = "", s = new We(), o = -1) {
875
+ addSortedIcon(e, t = "", s = new Ne(), o = -1) {
876
876
  const i = this.domService.createElement("div");
877
877
  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");
878
878
  let r;
@@ -883,7 +883,7 @@ class st {
883
883
  this.domService.addClass(i, a);
884
884
  return this.domService.appendChild(e, i), i;
885
885
  }
886
- addArrowDiv(e, t = "none", s = new Be(), o = -1, i = -1, r = "body") {
886
+ addArrowDiv(e, t = "none", s = new We(), o = -1, i = -1, r = "body") {
887
887
  const n = this.domService.createElement("div");
888
888
  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}`);
889
889
  let l;
@@ -934,23 +934,25 @@ class st {
934
934
  return s ? (s.innerText = "", s) : (s = this.domService.createElement("div"), t.cache[e] = s, s);
935
935
  }
936
936
  }
937
- const re = (d) => d === "header" ? "header" : d === "footer" ? "footer" : "body";
938
- class ot {
937
+ const ne = (d) => d === "header" ? "header" : d === "footer" ? "footer" : "body";
938
+ class it {
939
939
  constructor(e, t) {
940
940
  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)) {
941
941
  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"));
942
942
  const s = e.getAttribute("data-area");
943
- if (s && (this.areaIdent = re(s), this.areaModel = t.tableModel.getAreaModel(this.areaIdent), this.row = this.areaModel.getRowByIndex(this.rowIdx)), e instanceof HTMLInputElement) {
943
+ if (s && (this.areaIdent = ne(s), this.areaModel = t.tableModel.getAreaModel(this.areaIdent), this.row = this.areaModel.getRowByIndex(this.rowIdx)), e instanceof HTMLInputElement) {
944
944
  const o = e;
945
945
  this.value = o.value;
946
946
  }
947
947
  }
948
948
  }
949
949
  }
950
- class it {
950
+ class rt {
951
951
  constructor(e) {
952
- 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)), this.tableScope.scrollViewport.addEventListener("wheel", this.tableScope.onWheel.bind(this.tableScope), { passive: !1 }), [window, this.tableScope.hostElement].forEach(
953
- (t) => t.addEventListener("resize", this.tableScope.adjustContainersAndRows.bind(this.tableScope))
952
+ this.tableScope = e, this.doubleClickDelay = 500, this.expandedAll = !0, this.mouseDown = !1, this.dragging = !1, this.lastClicked = 0;
953
+ const t = this.tableScope.listenerAbortController.signal;
954
+ this.tableScope.hostElement.addEventListener("click", this.onHostElementClicked.bind(this), { signal: t }), this.tableScope.hostElement.addEventListener("dblclick", this.onHostElementDblClicked.bind(this), { signal: t }), this.tableScope.hostElement.addEventListener("mousedown", this.onMouseDown.bind(this), { signal: t }), this.tableScope.hostElement.addEventListener("mousemove", this.onMouseMove.bind(this), { signal: t }), this.tableScope.hostElement.addEventListener("mouseup", this.onMouseUp.bind(this), { signal: t }), this.tableScope.hostElement.addEventListener("contextmenu", this.onContextmenu.bind(this), { signal: t }), this.tableScope.hostElement._MouseHandler = "true", this.tableScope.scrollViewport.addEventListener("scroll", this.tableScope.adjustAfterScrolling.bind(this.tableScope), { signal: t }), this.tableScope.scrollViewport.addEventListener("wheel", this.tableScope.onWheel.bind(this.tableScope), { passive: !1, signal: t }), [window, this.tableScope.hostElement].forEach(
955
+ (s) => s.addEventListener("resize", this.tableScope.adjustContainersAndRows.bind(this.tableScope), { signal: t })
954
956
  );
955
957
  }
956
958
  /**
@@ -979,7 +981,7 @@ class it {
979
981
  return;
980
982
  }
981
983
  this.lastClicked = t;
982
- const s = new ot(e.target, this.tableScope);
984
+ const s = new it(e.target, this.tableScope);
983
985
  if (s.action === "toggleExpandCollapseAll")
984
986
  this.expandedAll = !this.expandedAll, this.tableScope.toggleExpandCollapseAll(this.expandedAll), e.preventDefault(), e.stopPropagation();
985
987
  else if (s.action === "toggleHeaderGroup")
@@ -1008,7 +1010,7 @@ class it {
1008
1010
  */
1009
1011
  onHostElementDblClicked(e) {
1010
1012
  if (this.lastClicked = Date.now(), e.target instanceof HTMLElement) {
1011
- const t = e.target, s = t.getAttribute("data-area"), o = re(s), i = Number(t.getAttribute("data-row-index")), r = Number(t.getAttribute("data-col-index")), n = this.tableScope.tableModel.getAreaModel(o);
1013
+ const t = e.target, s = t.getAttribute("data-area"), o = ne(s), i = Number(t.getAttribute("data-row-index")), r = Number(t.getAttribute("data-col-index")), n = this.tableScope.tableModel.getAreaModel(o);
1012
1014
  if (s && o === "header")
1013
1015
  this.tableScope.tableModel.isSortable(r) && (this.tableScope.clearSelection(), this.tableScope.onHeaderDblClicked(e, i, r));
1014
1016
  else if (t.getAttribute("data-row-index")) {
@@ -1081,7 +1083,7 @@ class it {
1081
1083
  }
1082
1084
  }
1083
1085
  }
1084
- class be {
1086
+ class ye {
1085
1087
  constructor(e, t = [], s = -1) {
1086
1088
  this.areaIdent = e, this.columnDefs = t, this.defaultRowHeight = s, this.rowSelectionModel = void 0, this.yPositions = [], this.cellRenderers = t.map((o) => o.rendererMap[e]);
1087
1089
  }
@@ -1179,7 +1181,7 @@ class be {
1179
1181
  this.yPositions[t + 1] = this.getRowHeight(t) + this.yPositions[t];
1180
1182
  }
1181
1183
  }
1182
- class ye {
1184
+ class we {
1183
1185
  genericSortComparator(e, t, s) {
1184
1186
  if (typeof e == "number" && typeof t == "number")
1185
1187
  return s * (e - t);
@@ -1197,7 +1199,7 @@ class ye {
1197
1199
  return s * ("" + e).localeCompare("" + t);
1198
1200
  }
1199
1201
  }
1200
- class _ extends be {
1202
+ class _ extends ye {
1201
1203
  /**
1202
1204
  * Creates an instance of AreaModelObjectArray.
1203
1205
  *
@@ -1228,7 +1230,7 @@ class _ extends be {
1228
1230
  * );
1229
1231
  */
1230
1232
  constructor(e, t, s, o = [], i = "ge-selected-row", r = "ge-focused-row") {
1231
- super(e, o, s), this.areaIdent = e, this.rows = t, this.defaultRowHeight = s, this.columnDefs = o, this.selectedRowClass = i, this.focusedRowClass = r, this.sorterService = new ye(), this._focusedRowIndex = 0, this.filteredRows = [...t], this.properties = o.map((n) => n.property);
1233
+ super(e, o, s), this.areaIdent = e, this.rows = t, this.defaultRowHeight = s, this.columnDefs = o, this.selectedRowClass = i, this.focusedRowClass = r, this.sorterService = new we(), this._focusedRowIndex = 0, this.filteredRows = [...t], this.properties = o.map((n) => n.property);
1232
1234
  }
1233
1235
  /**
1234
1236
  * Gets the index of the currently focused row.
@@ -1640,7 +1642,7 @@ class _ extends be {
1640
1642
  return o && t.length ? this.getPropertyValue(o, t) : o;
1641
1643
  }
1642
1644
  }
1643
- class rt {
1645
+ class nt {
1644
1646
  constructor(e) {
1645
1647
  this.tableScope = e;
1646
1648
  }
@@ -2030,6 +2032,22 @@ class rt {
2030
2032
  repaint() {
2031
2033
  this.tableScope.repaint();
2032
2034
  }
2035
+ /**
2036
+ * Releases the table: removes all DOM listeners (incl. the window resize listener), stops the
2037
+ * resize observer, calls the cleanup functions of all cell renderers and clears the host element.
2038
+ * The framework wrappers call it automatically when they are unmounted or receive a new table model.
2039
+ *
2040
+ * @example
2041
+ * // Plain TS: replace the table with a new model
2042
+ * tableApi.destroy();
2043
+ * const scope = new TableScope(hostDiv, newModel, new SimpleDomService(), new TableOptions(), new EventAdapter());
2044
+ * scope.firstInit();
2045
+ *
2046
+ * @returns {void}
2047
+ */
2048
+ destroy() {
2049
+ this.tableScope.destroy();
2050
+ }
2033
2051
  /**
2034
2052
  * Performs a complete repaint of the table by triggering a hard repaint on the underlying table scope.
2035
2053
  *
@@ -2988,7 +3006,7 @@ class rt {
2988
3006
  return this.tableScope.loggingActive;
2989
3007
  }
2990
3008
  }
2991
- class we {
3009
+ class xe {
2992
3010
  constructor(e) {
2993
3011
  this.getStorageKeyFn = e;
2994
3012
  }
@@ -3055,7 +3073,7 @@ class we {
3055
3073
  // }
3056
3074
  // }
3057
3075
  }
3058
- class nt extends we {
3076
+ class lt extends xe {
3059
3077
  constructor(e) {
3060
3078
  super(e), this.SCROLL_STATE = "scrollState", this.scrollOffset = [0, 0], this.load();
3061
3079
  }
@@ -3077,14 +3095,14 @@ class nt extends we {
3077
3095
  }
3078
3096
  }
3079
3097
  }
3080
- class lt {
3098
+ class at {
3081
3099
  constructor(e = "collapsed", t = [], s = !1, o = !1) {
3082
3100
  this.mode = e, this.rowIds = t, this.allCollapsed = s, this.allExpanded = o;
3083
3101
  }
3084
3102
  }
3085
- class at extends we {
3103
+ class ct extends xe {
3086
3104
  constructor(e) {
3087
- super(e), this.COLLAPSED_EXPANDED_STATE = "collapsedExpandedState", this.collapsedExpandedState = new lt(), this.load();
3105
+ super(e), this.COLLAPSED_EXPANDED_STATE = "collapsedExpandedState", this.collapsedExpandedState = new at(), this.load();
3088
3106
  }
3089
3107
  collapsedExpandedStateGet() {
3090
3108
  return this.collapsedExpandedState;
@@ -3116,7 +3134,7 @@ class at extends we {
3116
3134
  this.checkAndPersistItem(this.COLLAPSED_EXPANDED_STATE, this.collapsedExpandedState);
3117
3135
  }
3118
3136
  }
3119
- class ct extends we {
3137
+ class dt extends xe {
3120
3138
  constructor(e) {
3121
3139
  super(e), this.SORTING_STATE = "sortingState", this.sortItems = [], this.load();
3122
3140
  }
@@ -3142,7 +3160,7 @@ class O {
3142
3160
  this.left = e, this.width = t, this.height = s, this.top = o, this.index = i;
3143
3161
  }
3144
3162
  }
3145
- const se = class se {
3163
+ const oe = class oe {
3146
3164
  constructor(e, t, s, o) {
3147
3165
  this.hostElement = e, this.tableModel = t, this.dom = s, this.tableOptions = o, this.scrollTop = 0, this.areaBodyWestGeo = new O(), this.areaBodyCenterGeo = new O(), this.areaBodyEastGeo = new O();
3148
3166
  const i = this.hostElement;
@@ -3309,12 +3327,12 @@ const se = class se {
3309
3327
  * @returns {void} Returns nothing.
3310
3328
  */
3311
3329
  resetSizeOfWrapperDiv() {
3312
- const e = `${this.tableModel.getContentWidthInPixel()}px`, t = this.tableModel.getContentHeightInPixel() + 1, s = `${Math.min(t, se.maxScrollHeightInPx)}px`;
3330
+ const e = `${this.tableModel.getContentWidthInPixel()}px`, t = this.tableModel.getContentHeightInPixel() + 1, s = `${Math.min(t, oe.maxScrollHeightInPx)}px`;
3313
3331
  this.dom.setStyle(this.contentWrapperDiv, "width", e), this.dom.setStyle(this.contentWrapperDiv, "height", s);
3314
3332
  }
3315
3333
  };
3316
- se.maxScrollHeightInPx = 8e6;
3317
- let Q = se;
3334
+ oe.maxScrollHeightInPx = 8e6;
3335
+ let ee = oe;
3318
3336
  class M {
3319
3337
  /**
3320
3338
  * Represents a constructor for a class.
@@ -3350,7 +3368,7 @@ class M {
3350
3368
  return e >= this.r1 && e <= this.r2 && t >= this.c1 && t <= this.c2;
3351
3369
  }
3352
3370
  }
3353
- class dt {
3371
+ class ht {
3354
3372
  constructor(e, t) {
3355
3373
  this.tableModel = e, this.areaModel = t, this.colAndRowspanRanges = void 0;
3356
3374
  }
@@ -3388,17 +3406,17 @@ class T {
3388
3406
  this.header = e, this.body = t, this.footer = s;
3389
3407
  }
3390
3408
  }
3391
- class ht extends Q {
3409
+ class ut extends ee {
3392
3410
  constructor(e, t, s, o) {
3393
3411
  var r, n;
3394
3412
  super(e, t, s, o), this.firstVisibleRowIndex = -1, this.lastVisibleRowIndex = -1, this.firstFullVisibleRowIndex = -1, this.lastFullVisibleRowIndex = -1, this.displayedRowCount = 0, this.pixelLimitForFullVisible = 5, this.loggingActive = !1, this.dragging = !1, this.editing = !1, this.storedColumnWidths = [], this.scrollLeft = 0, this.scrollViewportLeft = 0, this.scrollFactorY = 0, this.scrollFactorX = 0, this.cleanupFunctions = {
3395
3413
  header: [],
3396
3414
  body: [],
3397
3415
  footer: []
3398
- }, this.tree = !1, this.colAndRowspanModels = new T(), this.draggingTargetColumnIndex = -1, this.contentScrollTop = 0, 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), ce(t.getAreaModel("body")) && (this.tree = !0), ["header", "body", "footer"].forEach(
3416
+ }, this.tree = !1, this.colAndRowspanModels = new T(), this.draggingTargetColumnIndex = -1, this.contentScrollTop = 0, 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), de(t.getAreaModel("body")) && (this.tree = !0), ["header", "body", "footer"].forEach(
3399
3417
  (l) => {
3400
3418
  var a;
3401
- this.colAndRowspanModels[l] = new dt(t, t.getAreaModel(l)), (a = this.colAndRowspanModels[l]) == null || a.init();
3419
+ this.colAndRowspanModels[l] = new ht(t, t.getAreaModel(l)), (a = this.colAndRowspanModels[l]) == null || a.init();
3402
3420
  }
3403
3421
  );
3404
3422
  }
@@ -3652,7 +3670,7 @@ class ht extends Q {
3652
3670
  * scaled and scrollTop is no longer a content pixel position.
3653
3671
  */
3654
3672
  isScrollHeightCapped() {
3655
- return this.tableModel.getContentHeightInPixel() + 1 > Q.maxScrollHeightInPx;
3673
+ return this.tableModel.getContentHeightInPixel() + 1 > ee.maxScrollHeightInPx;
3656
3674
  }
3657
3675
  /** Scrollable range of the content in content pixels (content height minus visible body height). */
3658
3676
  getContentScrollRangeY() {
@@ -3791,8 +3809,8 @@ class ht extends Q {
3791
3809
  { cursor: "pointer" }
3792
3810
  ), C = this.tableOptions.treeOptions.arrowExpandCollapseAll;
3793
3811
  if (C) {
3794
- const je = this.dom.domService.createText(C.content);
3795
- this.dom.domService.appendChild(U, je), C.style && this.dom.applyStyleString(U, C.style);
3812
+ const Ue = this.dom.domService.createText(C.content);
3813
+ this.dom.domService.appendChild(U, Ue), C.style && this.dom.applyStyleString(U, C.style);
3796
3814
  }
3797
3815
  }
3798
3816
  }
@@ -4152,6 +4170,18 @@ render scope: this.lastFullVisibleRowIndex <- ` + this.lastFullVisibleRowIndex),
4152
4170
  *
4153
4171
  * @return {undefined}
4154
4172
  */
4173
+ /**
4174
+ * Cancels a pending debounced rendering and calls all renderer cleanup functions
4175
+ * (e.g. unmounts framework components rendered into cells). Used by {@link TableScope.destroy}.
4176
+ */
4177
+ disposeRendering() {
4178
+ this.debounceTimeout && (clearTimeout(this.debounceTimeout), this.debounceTimeout = null);
4179
+ for (const e of ["header", "body", "footer"])
4180
+ for (; this.cleanupFunctions[e].length; ) {
4181
+ const t = this.cleanupFunctions[e].shift();
4182
+ t && t();
4183
+ }
4184
+ }
4155
4185
  debounce(e, t = 1e3) {
4156
4186
  this.debounceTimeout && clearTimeout(this.debounceTimeout), this.debounceTimeout = setTimeout(e.bind(this), t);
4157
4187
  }
@@ -4354,14 +4384,18 @@ render scope: this.lastFullVisibleRowIndex <- ` + this.lastFullVisibleRowIndex),
4354
4384
  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);
4355
4385
  }
4356
4386
  }
4357
- class ut {
4387
+ class pt {
4358
4388
  constructor(e, t) {
4359
4389
  this.columnIndex = e, this.sortState = t;
4360
4390
  }
4361
4391
  }
4362
- class pt {
4392
+ class gt {
4363
4393
  constructor(e) {
4364
- this.tableScope = e, this.tableScope.hostElement.addEventListener("change", this.onHostElementChanged.bind(this));
4394
+ this.tableScope = e, this.tableScope.hostElement.addEventListener(
4395
+ "change",
4396
+ this.onHostElementChanged.bind(this),
4397
+ { signal: this.tableScope.listenerAbortController.signal }
4398
+ );
4365
4399
  }
4366
4400
  /**
4367
4401
  * Handles the onHostElementChanged event.
@@ -4375,31 +4409,31 @@ class pt {
4375
4409
  if (e.target instanceof HTMLInputElement || e.target instanceof HTMLSelectElement || e.target instanceof HTMLTextAreaElement) {
4376
4410
  const t = e.target, s = t.getAttribute("data-area"), o = t.getAttribute("data-row-index"), i = t.getAttribute("data-col-index");
4377
4411
  if (s && o && i) {
4378
- const r = re(s), n = Number(o), l = Number(i);
4412
+ const r = ne(s), n = Number(o), l = Number(i);
4379
4413
  this.tableScope.updateModelValueAfterEdit(r, n, l, t.value);
4380
4414
  }
4381
4415
  }
4382
4416
  }
4383
4417
  }
4384
- class gt {
4418
+ class ft {
4385
4419
  constructor(e = -1, t = -1) {
4386
4420
  this.rowIndex = e, this.columnIndex = t;
4387
4421
  }
4388
4422
  }
4389
- class xe {
4423
+ class Se {
4390
4424
  constructor(e) {
4391
4425
  this.cells = e;
4392
4426
  }
4393
4427
  static createSingle(e, t) {
4394
- return new xe([new gt(e, t)]);
4428
+ return new Se([new ft(e, t)]);
4395
4429
  }
4396
4430
  }
4397
- class ft {
4431
+ class mt {
4398
4432
  constructor(e, t, s, o, i, r, n, l) {
4399
4433
  this.scrollTop = e, this.scrollLeft = t, this.scrollHeight = s, this.scrollWidth = o, this.clientHeight = i, this.clientWidth = r, this.scrollFactorY = n, this.scrollFactorX = l;
4400
4434
  }
4401
4435
  }
4402
- class mt {
4436
+ class bt {
4403
4437
  constructor(e) {
4404
4438
  var t, s;
4405
4439
  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);
@@ -4440,7 +4474,7 @@ class mt {
4440
4474
  });
4441
4475
  }
4442
4476
  }
4443
- class bt {
4477
+ class yt {
4444
4478
  get() {
4445
4479
  return {
4446
4480
  f2: "START_EDITING",
@@ -4460,7 +4494,7 @@ class bt {
4460
4494
  };
4461
4495
  }
4462
4496
  }
4463
- class yt {
4497
+ class wt {
4464
4498
  get() {
4465
4499
  return {
4466
4500
  f2: "START_EDITING",
@@ -4482,13 +4516,13 @@ class yt {
4482
4516
  };
4483
4517
  }
4484
4518
  }
4485
- function wt(d) {
4519
+ function xt(d) {
4486
4520
  return d.trim().replace(/\+/g, " ").replace(/ +/g, " ").replace(/⌫/g, "backspace").replace(/↩/g, "enter").replace(/⇧/g, "shift").replace(/⌥/g, "alt").replace(/option/g, "alt").replace(/opt/g, "alt").replace(/⌃/g, "ctrl").replace(/control/g, "ctrl").replace(/command/g, "cmd").replace(/meta/g, "cmd").replace(/escape/g, "esc").replace(/⌘/g, "cmd").replace(/\*/g, "multiply").split(" ").filter((e) => e).filter((e, t, s) => s.indexOf(e) === t).sort((e, t) => {
4487
4521
  const s = { cmd: 1, ctrl: 2, alt: 3, shift: 4 }, o = s[e] || 5, i = s[t] || 5;
4488
4522
  return o !== i ? o - i : e.localeCompare(t);
4489
4523
  }).join(" ");
4490
4524
  }
4491
- function Ae(d) {
4525
+ function Me(d) {
4492
4526
  let e = d.key.toLowerCase();
4493
4527
  if (e === " " && (e = "space"), e === "arrowleft" && (e = "left"), e === "arrowright" && (e = "right"), e === "arrowup" && (e = "up"), e === "arrowdown" && (e = "down"), e === "delete" && d.code === "Delete" && (e = "delete"), e === "backspace" && (e = "backspace"), e === "escape" && (e = "esc"), e === "return" && (e = "enter"), d.code.startsWith("Numpad")) {
4494
4528
  const s = d.code.replace("Numpad", "").toLowerCase();
@@ -4496,9 +4530,9 @@ function Ae(d) {
4496
4530
  }
4497
4531
  d.code.match(/^F\d+$/) && (e = d.code.toLowerCase()), d.code.match(/^Digit\d+$/) && (e = d.code.replace(/Digit/g, ""));
4498
4532
  let t = "";
4499
- return d.ctrlKey && (t += " ctrl"), d.altKey && (t += t + " alt"), d.shiftKey && (t += t + " shift"), d.metaKey && (t += t + " cmd"), wt(t + " " + e);
4533
+ return d.ctrlKey && (t += " ctrl"), d.altKey && (t += t + " alt"), d.shiftKey && (t += t + " shift"), d.metaKey && (t += t + " cmd"), xt(t + " " + e);
4500
4534
  }
4501
- class xt {
4535
+ class St {
4502
4536
  constructor(e) {
4503
4537
  this.tableScope = e, this.shortcutActionIdMapping = {}, this.listener = [], this.listener.push(e), this.init();
4504
4538
  }
@@ -4517,10 +4551,14 @@ class xt {
4517
4551
  */
4518
4552
  init() {
4519
4553
  var e, t;
4520
- (t = (e = this.tableScope) == null ? void 0 : e.tableOptions) != null && t.shortcutActionsDisabled ? this.isDebug() && console.debug("ShortcutService skipped.") : (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)));
4554
+ (t = (e = this.tableScope) == null ? void 0 : e.tableOptions) != null && t.shortcutActionsDisabled ? this.isDebug() && console.debug("ShortcutService skipped.") : (this.assignPredefinedSystemShortcutMappings(), Object.assign(this.shortcutActionIdMapping, this.tableScope.tableOptions.shortcutActionIdMapping), this.isDebug() && console.debug("ShortcutService", this.shortcutActionIdMapping), this.tableScope.hostElement.addEventListener(
4555
+ "keydown",
4556
+ this.onKeyDown.bind(this),
4557
+ { signal: this.tableScope.listenerAbortController.signal }
4558
+ ));
4521
4559
  }
4522
4560
  assignPredefinedSystemShortcutMappings() {
4523
- this.isMacintosh() ? Object.assign(this.shortcutActionIdMapping, new yt().get()) : Object.assign(this.shortcutActionIdMapping, new bt().get());
4561
+ this.isMacintosh() ? Object.assign(this.shortcutActionIdMapping, new wt().get()) : Object.assign(this.shortcutActionIdMapping, new yt().get());
4524
4562
  }
4525
4563
  isMacintosh() {
4526
4564
  return navigator.platform.indexOf("Mac") > -1;
@@ -4543,10 +4581,10 @@ class xt {
4543
4581
  return t;
4544
4582
  }
4545
4583
  findEntity(e) {
4546
- const t = Ae(e);
4584
+ const t = Me(e);
4547
4585
  this.isDebug() && console.debug("ShortcutService shortcut :", t);
4548
4586
  for (const s in this.shortcutActionIdMapping)
4549
- if (Ae(e) === t)
4587
+ if (Me(e) === t)
4550
4588
  return this.isDebug() && console.debug("ShortcutService action :", this.shortcutActionIdMapping[s]), this.shortcutActionIdMapping[s];
4551
4589
  }
4552
4590
  // private areTokensEquals(tokens1: string[], tokens2: string[]): boolean {
@@ -4593,7 +4631,7 @@ class xt {
4593
4631
  return this.shortcutActionIdMapping;
4594
4632
  }
4595
4633
  }
4596
- class de {
4634
+ class he {
4597
4635
  onCheckboxChanged(e) {
4598
4636
  }
4599
4637
  onContextmenu(e) {
@@ -4615,7 +4653,7 @@ class de {
4615
4653
  onFocusChanged(e) {
4616
4654
  }
4617
4655
  }
4618
- class St {
4656
+ class Ct {
4619
4657
  setStyle(e, t, s) {
4620
4658
  return e.style[t] = s, e;
4621
4659
  }
@@ -4642,7 +4680,7 @@ class St {
4642
4680
  e.setAttribute(t, s);
4643
4681
  }
4644
4682
  }
4645
- class Ct {
4683
+ class vt {
4646
4684
  render(e, t, s, o, i, r, n) {
4647
4685
  if (i.isEditable(t, s)) {
4648
4686
  n.addClass(e, "ge-table-row-input-div");
@@ -4663,7 +4701,7 @@ class Ct {
4663
4701
  }
4664
4702
  }
4665
4703
  }
4666
- class Se {
4704
+ class Ce {
4667
4705
  constructor(e = "none", t = "single") {
4668
4706
  this.selectionType = e, this.selectionMode = t, this.ranges = [], this.negativeRanges = [], this.allSelected = !1, this.silent = !1, this.listenerArr = [];
4669
4707
  }
@@ -4745,7 +4783,7 @@ class Se {
4745
4783
  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());
4746
4784
  }
4747
4785
  }
4748
- class vt {
4786
+ class Rt {
4749
4787
  constructor(e = "none") {
4750
4788
  this.selectionType = e, this.rowIndex = -1, this.columnIndex = -1, this.changed = !1, this.listenerArr = [];
4751
4789
  }
@@ -4782,7 +4820,7 @@ class vt {
4782
4820
  return [this.rowIndex, this.columnIndex];
4783
4821
  }
4784
4822
  }
4785
- class Ce {
4823
+ class ve {
4786
4824
  constructor(e = new V(
4787
4825
  "❯",
4788
4826
  "",
@@ -4796,14 +4834,14 @@ class Ce {
4796
4834
  }
4797
4835
  // `⊖ `, `⊕ `;
4798
4836
  }
4799
- const Rt = new Se(), At = new vt("cell");
4837
+ const At = new Ce(), Mt = new Rt("cell");
4800
4838
  class J {
4801
4839
  constructor() {
4802
4840
  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 = {
4803
4841
  header: 34,
4804
4842
  body: 34,
4805
4843
  footer: 34
4806
- }, this.footerVerticalSeparator = !1, this.headerToggleExpandCollapseIcons = !1, this.headerVerticalSeparator = !1, this.treeOptions = new Be(), this.headerGroupOptions = new Ce(), this.showCheckboxWihoutExtraColumn = !1, this.externalFilterFunction = void 0, this.sortedOptions = new We(), this.sortOrder = ["asc", "desc"], this.shortcutActionsDisabled = !1, this.resizeEventDebounceDelay = 500, this.getEditRenderer = (e, t) => new Ct(), this.getSelectionModel = () => Rt, this.getFocusModel = () => At;
4844
+ }, this.footerVerticalSeparator = !1, this.headerToggleExpandCollapseIcons = !1, this.headerVerticalSeparator = !1, this.treeOptions = new We(), this.headerGroupOptions = new ve(), this.showCheckboxWihoutExtraColumn = !1, this.externalFilterFunction = void 0, this.sortedOptions = new Ne(), this.sortOrder = ["asc", "desc"], this.shortcutActionsDisabled = !1, this.resizeEventDebounceDelay = 500, this.getEditRenderer = (e, t) => new vt(), this.getSelectionModel = () => At, this.getFocusModel = () => Mt;
4807
4845
  }
4808
4846
  }
4809
4847
  const z = class z {
@@ -4890,17 +4928,41 @@ const z = class z {
4890
4928
  };
4891
4929
  z.columnSeparatorChar = " ", z.rowSeparatorChar = `
4892
4930
  `;
4893
- let ee = z;
4894
- class Mt {
4931
+ let te = z;
4932
+ class It {
4895
4933
  constructor(e, t = 500) {
4896
- this.tableScope = e, this.debounceDelay = t, new ResizeObserver(Ue(this.handleResize.bind(this), t)).observe(this.tableScope.hostElement);
4934
+ this.tableScope = e, this.debounceDelay = t, this.disconnected = !1, this.resizeObserver = new ResizeObserver(Ye(this.handleResize.bind(this), t)), this.resizeObserver.observe(this.tableScope.hostElement);
4935
+ }
4936
+ /**
4937
+ * Stops observing the host element. Called by {@link TableScope.destroy}.
4938
+ */
4939
+ disconnect() {
4940
+ this.disconnected = !0, this.resizeObserver.disconnect();
4897
4941
  }
4898
4942
  handleResize(e) {
4943
+ if (this.disconnected)
4944
+ return;
4899
4945
  const t = e[0], { width: s } = t.contentRect;
4900
4946
  this.tableScope.recalcColumnWidths(s);
4901
4947
  }
4902
4948
  }
4903
- class It {
4949
+ let q;
4950
+ function Et(d) {
4951
+ if (!q) {
4952
+ q = new Uint32Array(256);
4953
+ for (let t = 0; t < 256; t++) {
4954
+ let s = t;
4955
+ for (let o = 0; o < 8; o++)
4956
+ s = s & 1 ? 3988292384 ^ s >>> 1 : s >>> 1;
4957
+ q[t] = s >>> 0;
4958
+ }
4959
+ }
4960
+ let e = 4294967295;
4961
+ for (let t = 0; t < d.length; t++)
4962
+ e = q[(e ^ d[t]) & 255] ^ e >>> 8;
4963
+ return (e ^ 4294967295) >>> 0;
4964
+ }
4965
+ class Tt {
4904
4966
  /**
4905
4967
  * Downloads a matrix data as an Excel file.
4906
4968
  *
@@ -4938,32 +5000,32 @@ class It {
4938
5000
  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", h), u;
4939
5001
  }
4940
5002
  getX1WorksheetsSheet1Xml(e) {
4941
- const t = [];
4942
- t.push(`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
5003
+ const t = e.reduce((i, r) => Math.max(i, r.length), 1), s = e.length ? `A1:${this.getCellAddress(e.length - 1, t - 1)}` : "A1", o = [];
5004
+ o.push(`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
4943
5005
  <worksheet 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="x14ac xr xr2 xr3" xmlns:x14ac="http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac" xmlns:xr="http://schemas.microsoft.com/office/spreadsheetml/2014/revision" xmlns:xr2="http://schemas.microsoft.com/office/spreadsheetml/2015/revision2" xmlns:xr3="http://schemas.microsoft.com/office/spreadsheetml/2016/revision3" xr:uid="{E15F8FC4-4D40-434C-921A-3D9CFAAA2865}">
4944
- <dimension ref="A1:B3"/>
5006
+ <dimension ref="${s}"/>
4945
5007
  <sheetViews>
4946
5008
  <sheetView tabSelected="1" workbookViewId="0"/></sheetViews>
4947
5009
  <sheetFormatPr baseColWidth="10" defaultRowHeight="16" x14ac:dyDescent="0.2"/>
4948
5010
  <sheetData>`);
4949
- for (let s = 0; s < e.length; s++) {
4950
- const o = e[s];
4951
- t.push('<row r="${r + 1}" spans="1:2" x14ac:dyDescent="0.2">');
4952
- for (let i = 0; i < o.length; i++) {
4953
- const r = o[i], n = this.getCellAddress(s, i);
4954
- if (typeof r == "number")
4955
- t.push(`<c r="${n}"><v>${r}</v></c>`);
4956
- else if (r instanceof Date) {
4957
- const l = r;
4958
- t.push(`<c r="${n}" t="inlineStr"><is><t>${l.toISOString()}</t></is></c>`);
5011
+ for (let i = 0; i < e.length; i++) {
5012
+ const r = e[i];
5013
+ o.push(`<row r="${i + 1}" spans="1:${t}" x14ac:dyDescent="0.2">`);
5014
+ for (let n = 0; n < r.length; n++) {
5015
+ const l = r[n], a = this.getCellAddress(i, n);
5016
+ if (typeof l == "number")
5017
+ o.push(`<c r="${a}"><v>${l}</v></c>`);
5018
+ else if (l instanceof Date) {
5019
+ const c = l;
5020
+ o.push(`<c r="${a}" t="inlineStr"><is><t>${c.toISOString()}</t></is></c>`);
4959
5021
  } else {
4960
- const l = r != null ? this.escapeXml(String(r)) : "";
4961
- t.push(`<c r="${n}" t="inlineStr"><is><t>${l}</t></is></c>`);
5022
+ const c = l != null ? this.escapeXml(String(l)) : "";
5023
+ o.push(`<c r="${a}" t="inlineStr"><is><t>${c}</t></is></c>`);
4962
5024
  }
4963
5025
  }
4964
- t.push("</row>");
5026
+ o.push("</row>");
4965
5027
  }
4966
- return t.push(""), t.push(""), t.push('</sheetData><pageMargins left="0.7" right="0.7" top="0.75" bottom="0.75" header="0.3" footer="0.3"/>'), t.push("</worksheet>"), t.join(`
5028
+ return o.push(""), o.push(""), o.push('</sheetData><pageMargins left="0.7" right="0.7" top="0.75" bottom="0.75" header="0.3" footer="0.3"/>'), o.push("</worksheet>"), o.join(`
4967
5029
  `);
4968
5030
  }
4969
5031
  escapeXml(e) {
@@ -4981,17 +5043,18 @@ class It {
4981
5043
  let s = 0;
4982
5044
  const o = [];
4983
5045
  e.forEach((h, u) => {
4984
- const f = new TextEncoder().encode(u), p = new TextEncoder().encode(h), m = new Uint8Array(30 + f.length), g = new DataView(m.buffer);
4985
- 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({
5046
+ const f = new TextEncoder().encode(u), p = new TextEncoder().encode(h), m = Et(p), g = new Uint8Array(30 + f.length), y = new DataView(g.buffer);
5047
+ g.set([80, 75, 3, 4], 0), y.setUint16(4, 20, !0), y.setUint16(6, 0, !0), y.setUint16(8, 0, !0), y.setUint16(10, 0, !0), y.setUint16(12, 0, !0), y.setUint32(14, m, !0), y.setUint32(18, p.length, !0), y.setUint32(22, p.length, !0), y.setUint16(26, f.length, !0), y.setUint16(28, 0, !0), g.set(f, 30), t.push(g, p), o.push({
4986
5048
  path: u,
4987
5049
  offset: s,
4988
- contentSize: p.length
4989
- }), s += m.length + p.length;
5050
+ contentSize: p.length,
5051
+ crc: m
5052
+ }), s += g.length + p.length;
4990
5053
  });
4991
5054
  const i = s;
4992
5055
  o.forEach((h) => {
4993
5056
  const u = new TextEncoder().encode(h.path), f = new Uint8Array(46 + u.length), p = new DataView(f.buffer);
4994
- 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, h.contentSize, !0), p.setUint32(24, h.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, h.offset, !0), f.set(u, 46), t.push(f), s += f.length;
5057
+ 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, h.crc, !0), p.setUint32(20, h.contentSize, !0), p.setUint32(24, h.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, h.offset, !0), f.set(u, 46), t.push(f), s += f.length;
4995
5058
  });
4996
5059
  const r = new Uint8Array(22), n = new DataView(r.buffer);
4997
5060
  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);
@@ -5006,14 +5069,14 @@ class It {
5006
5069
  return this.createZip(s);
5007
5070
  }
5008
5071
  }
5009
- class Ne extends ht {
5010
- constructor(e, t, s, o, i, r = new ee(), n = new It()) {
5072
+ class Ge extends ut {
5073
+ constructor(e, t, s, o, i, r = new te(), n = new Tt()) {
5011
5074
  var c;
5012
- if (super(e, t, new st(s), o), this.eventListener = i, this.copyService = r, this.excelService = n, this.licenseManager = G.getInstance(), this.selectionService = new mt(this), this.api = new rt(this), this.mouseStartAction = "", this.mouseStartWidth = -1, this.mouseStartColumnIndex = -1, this.dragFrom = -1, this.dragTo = -1, this.lastDragFrom = -1, this.lastDragTo = -1, this.firstDraggingRendering = !0, this.lastContextmenu = Date.now(), t.setTableScope(this), i || (this.eventListener = new de()), (c = this.tableOptions) != null && c.autoRestoreOptions) {
5075
+ if (super(e, t, new ot(s), o), this.eventListener = i, this.copyService = r, this.excelService = n, this.licenseManager = G.getInstance(), this.listenerAbortController = new AbortController(), this.destroyed = !1, this.selectionService = new bt(this), this.api = new nt(this), this.mouseStartAction = "", this.mouseStartWidth = -1, this.mouseStartColumnIndex = -1, this.dragFrom = -1, this.dragTo = -1, this.lastDragFrom = -1, this.lastDragTo = -1, this.firstDraggingRendering = !0, this.lastContextmenu = Date.now(), t.setTableScope(this), i || (this.eventListener = new he()), (c = this.tableOptions) != null && c.autoRestoreOptions) {
5013
5076
  const h = this.tableOptions.autoRestoreOptions, u = h.getStorageKeyFn;
5014
- u && (h.autoRestoreScrollPosition && (this.storeScrollPosStateService = new nt(u)), h.autoRestoreCollapsedExpandedState && (this.storeStateCollapsedExpandService = new at(u)), h.autoRestoreSortingState && (this.storeSortingService = new ct(u)));
5077
+ u && (h.autoRestoreScrollPosition && (this.storeScrollPosStateService = new lt(u)), h.autoRestoreCollapsedExpandedState && (this.storeStateCollapsedExpandService = new ct(u)), h.autoRestoreSortingState && (this.storeSortingService = new dt(u)));
5015
5078
  }
5016
- this.mouseHandler = new it(this), this.inputHandler = new pt(this), this.resizeHandler = new Mt(this, o.resizeEventDebounceDelay), this.shortcutService = new xt(this), this.shortcutService.addListener(this.selectionService);
5079
+ this.mouseHandler = new rt(this), this.inputHandler = new gt(this), this.resizeHandler = new It(this, o.resizeEventDebounceDelay), this.shortcutService = new St(this), this.shortcutService.addListener(this.selectionService);
5017
5080
  const l = this.getSelectionModel ? this.getSelectionModel() : void 0;
5018
5081
  l && l.addEventSelectionChangedListener(this);
5019
5082
  const a = this.getFocusModel ? this.getFocusModel() : void 0;
@@ -5031,8 +5094,8 @@ class Ne extends ht {
5031
5094
  *
5032
5095
  * @return {TableScope} - The newly created TableScope instance.
5033
5096
  */
5034
- static create(e, t, s = new J(), o = new de(), i = new St(), r = new ee()) {
5035
- return new Ne(e, t, i, s, o, r);
5097
+ static create(e, t, s = new J(), o = new he(), i = new Ct(), r = new te()) {
5098
+ return new Ge(e, t, i, s, o, r);
5036
5099
  }
5037
5100
  /**
5038
5101
  * Triggers an action based on the provided actionId.
@@ -5061,7 +5124,7 @@ class Ne extends ht {
5061
5124
  }
5062
5125
  updateModelValueAfterEdit(e, t, s, o) {
5063
5126
  var i, r;
5064
- e === "body" && this.tableModel.getAreaModel(e).setValue(t, s, o) && (this.resetEditorRenderer(), this.repaint(), (r = (i = this.eventListener).onModelChanged) == null || r.call(i, xe.createSingle(t, s)), this.hostElement.focus());
5127
+ e === "body" && this.tableModel.getAreaModel(e).setValue(t, s, o) && (this.resetEditorRenderer(), this.repaint(), (r = (i = this.eventListener).onModelChanged) == null || r.call(i, Se.createSingle(t, s)), this.hostElement.focus());
5065
5128
  }
5066
5129
  /**
5067
5130
  * Retrieves the TableApi object.
@@ -5083,6 +5146,37 @@ class Ne extends ht {
5083
5146
  var e;
5084
5147
  return this.tableModel.init(), (e = this.tableOptions) != null && e.externalFilterFunction && this.externalFilterChanged(!1), this.autoRestoreCollapsedExpandedState(), this.autoRestoreSortingState(), this.resetSizeOfWrapperDiv(), this.adjustContainersAndRows(), this.autoRestoreScrollPosition(), this;
5085
5148
  }
5149
+ /**
5150
+ * Releases the table: removes all DOM listeners (host element, scroll viewport, window resize),
5151
+ * stops the resize observer, unregisters from the selection and focus model, calls the cleanup
5152
+ * functions of all cell renderers and clears the host element.
5153
+ *
5154
+ * Call it before you create a new `TableScope` for the same host element (e.g. when a framework
5155
+ * wrapper receives a new table model) or when the table is removed from the page.
5156
+ * Calling it twice is harmless.
5157
+ *
5158
+ * @example
5159
+ * const scope = new TableScope(hostDiv, tableModel, new SimpleDomService(), new TableOptions(), new EventAdapter());
5160
+ * scope.firstInit();
5161
+ * // later, e.g. when a new model arrives:
5162
+ * scope.destroy();
5163
+ * new TableScope(hostDiv, newTableModel, new SimpleDomService(), new TableOptions(), new EventAdapter()).firstInit();
5164
+ */
5165
+ destroy() {
5166
+ if (this.destroyed)
5167
+ return;
5168
+ this.destroyed = !0, this.listenerAbortController.abort(), this.resizeHandler.disconnect();
5169
+ const e = this.getSelectionModel ? this.getSelectionModel() : void 0;
5170
+ e == null || e.removeEventSelectionChangedListener(this);
5171
+ const t = this.getFocusModel ? this.getFocusModel() : void 0;
5172
+ t == null || t.removeEventFocusChangedListener(this), this.disposeRendering(), this.hostElement.innerText = "";
5173
+ }
5174
+ /**
5175
+ * Returns `true` once {@link destroy} has been called.
5176
+ */
5177
+ isDestroyed() {
5178
+ return this.destroyed;
5179
+ }
5086
5180
  /**
5087
5181
  * Creates a GeMouseEvent object based on a MouseEvent.
5088
5182
  *
@@ -5090,7 +5184,7 @@ class Ne extends ht {
5090
5184
  * @return {GeMouseEvent} - The created GeMouseEvent object.
5091
5185
  */
5092
5186
  createGeMouseEvent(e) {
5093
- const t = new me();
5187
+ const t = new be();
5094
5188
  if (t.originalEvent = e, e) {
5095
5189
  const s = e.target;
5096
5190
  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) {
@@ -5169,7 +5263,7 @@ class Ne extends ht {
5169
5263
  toggleExpandCollapseAll(e = !0) {
5170
5264
  var s;
5171
5265
  const t = this.tableModel.getBodyModel();
5172
- ce(t) && (t.toggleExpandCollapseAll(e), this.repaint(), (s = this.storeStateCollapsedExpandService) == null || s.collapsedStateAll(e));
5266
+ de(t) && (t.toggleExpandCollapseAll(e), this.repaint(), (s = this.storeStateCollapsedExpandService) == null || s.collapsedStateAll(e));
5173
5267
  }
5174
5268
  /**
5175
5269
  * Toggles the checkbox state of a specific row in a table.
@@ -5242,7 +5336,7 @@ class Ne extends ht {
5242
5336
  const o = this.tableModel.getColumnDef(s);
5243
5337
  if (o != null && o.sortable && o.sortable()) {
5244
5338
  e.preventDefault(), e.stopPropagation();
5245
- const n = o.sortStatesOrder ? o.sortStatesOrder : this.tableOptions.sortOrder, l = o.sortState ?? "", a = n[(n.indexOf(l) + 1) % n.length], c = new ut(s, a);
5339
+ const n = o.sortStatesOrder ? o.sortStatesOrder : this.tableOptions.sortOrder, l = o.sortState ?? "", a = n[(n.indexOf(l) + 1) % n.length], c = new pt(s, a);
5246
5340
  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]);
5247
5341
  }
5248
5342
  }
@@ -5280,7 +5374,7 @@ class Ne extends ht {
5280
5374
  var t, s;
5281
5375
  super.adjustAfterScrolling();
5282
5376
  const e = this.scrollViewport;
5283
- (s = (t = this.eventListener).onScroll) == null || s.call(t, new ft(
5377
+ (s = (t = this.eventListener).onScroll) == null || s.call(t, new mt(
5284
5378
  this.scrollTop,
5285
5379
  this.scrollLeft,
5286
5380
  e.scrollHeight,
@@ -5411,7 +5505,7 @@ class Ne extends ht {
5411
5505
  const s = this.tableOptions.autoRestoreOptions, o = s.getRowId;
5412
5506
  if (s.autoRestoreCollapsedExpandedState && o) {
5413
5507
  const i = this.storeStateCollapsedExpandService.collapsedExpandedStateGet(), r = this.tableModel.getAreaModel("body");
5414
- if (ce(r)) {
5508
+ if (de(r)) {
5415
5509
  const n = r, l = r.getRowCount();
5416
5510
  for (let a = 0; a < l; a++) {
5417
5511
  const c = r.getRowByIndex(a);
@@ -5459,10 +5553,10 @@ class Ne extends ht {
5459
5553
  reSort() {
5460
5554
  var t;
5461
5555
  let e = ((t = this.storeSortingService) == null ? void 0 : t.getSortItems()) ?? [];
5462
- this.tableModel.doSort(e);
5556
+ this.tableModel.doSort(e), this.repaint();
5463
5557
  }
5464
5558
  sort(e) {
5465
- this.tableModel.sort(e);
5559
+ this.tableModel.sort(e), this.repaint();
5466
5560
  }
5467
5561
  /**
5468
5562
  * Ensures that a specific row is visible in the viewport by scrolling if necessary.
@@ -5520,16 +5614,16 @@ class Ne extends ht {
5520
5614
  return e < t ? (this.scrollToIndex(0, e), !0) : e > s ? (this.scrollToIndex(0, e - o + 1), !0) : !1;
5521
5615
  }
5522
5616
  }
5523
- class Kt extends de {
5617
+ class qt extends he {
5524
5618
  constructor(e) {
5525
5619
  super(), this.onCheckboxChangedCallback = e, super.onCheckboxChanged = (t) => {
5526
5620
  this.onCheckboxChangedCallback(t);
5527
5621
  };
5528
5622
  }
5529
5623
  }
5530
- const oe = class oe {
5624
+ const ie = class ie {
5531
5625
  };
5532
- oe.themes = ["light", "combat", "paper", "blackboard"], oe.vars = {
5626
+ ie.themes = ["light", "combat", "paper", "blackboard"], ie.vars = {
5533
5627
  light: `html[data-theme="light"] {
5534
5628
  --ge-table-bg: rgba(255,255,255, 0.5);
5535
5629
  --ge-table-header-west-bg: rgba(233, 233, 233, 0.5);
@@ -5763,28 +5857,28 @@ oe.themes = ["light", "combat", "paper", "blackboard"], oe.vars = {
5763
5857
  --ge-table-drop-zone-bg: #758129;
5764
5858
  }`
5765
5859
  };
5766
- let Me = oe;
5767
- class Ie {
5860
+ let Ie = ie;
5861
+ class Ee {
5768
5862
  constructor(e, t = !0, s, o, i = 0, r = !1, n = !1) {
5769
5863
  this.data = e, this.expanded = t, this.children = s, this.parent = o, this.deep = i, this.checked = r, this.keep = n, this.type = "TreeRow";
5770
5864
  }
5771
5865
  }
5772
- class he {
5866
+ class ue {
5773
5867
  static buildTreeRows(e, t = "children", s = 12) {
5774
5868
  const o = [];
5775
5869
  for (const i of e)
5776
- o.push(he.buildTreeRow(i, t, void 0, 0, s));
5870
+ o.push(ue.buildTreeRow(i, t, void 0, 0, s));
5777
5871
  return o;
5778
5872
  }
5779
- static buildTreeRow(e, t = "children", s = new Ie(e, !0, [], void 0, 0), o = 0, i = 12) {
5873
+ static buildTreeRow(e, t = "children", s = new Ee(e, !0, [], void 0, 0), o = 0, i = 12) {
5780
5874
  var n;
5781
5875
  if (o > i)
5782
5876
  return console.warn("Max deep limit reached: ", o), s;
5783
5877
  const r = e[t];
5784
5878
  if (r)
5785
5879
  for (const l of r) {
5786
- const a = new Ie(l, !0, [], s, o + 1);
5787
- if ((n = s.children) == null || n.push(a), he.buildTreeRow(
5880
+ const a = new Ee(l, !0, [], s, o + 1);
5881
+ if ((n = s.children) == null || n.push(a), ue.buildTreeRow(
5788
5882
  l,
5789
5883
  t,
5790
5884
  a,
@@ -5805,7 +5899,7 @@ class b {
5805
5899
  this.value = e, this.unit = t;
5806
5900
  }
5807
5901
  }
5808
- const Et = () => !0, Ee = () => !1;
5902
+ const kt = () => !0, Te = () => !1;
5809
5903
  class W {
5810
5904
  constructor(e, t, s = new b(100, "px"), o = new T(), i = new T(), r = new b(100, "px"), n = new b(100, "px"), l, a, c, h, u, f, p, m, g = () => this.visible) {
5811
5905
  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 = h, this.sortIconVisible = u, this.editable = f, this.getEditRenderer = p, this.editInputPipe = m, this.isVisible = g, this.visible = !0, s.unit !== "px" && (this.minWidth = new b(0, "px"), this.maxWidth = new b(1e5, "px"));
@@ -5826,7 +5920,7 @@ class W {
5826
5920
  e.headerClasses,
5827
5921
  e.bodyClasses,
5828
5922
  e.footerClasses
5829
- ), o = e.sortIconVisible ?? e.sortable ?? Ee, i = e.editable ?? e.editable ?? Ee, r = e.isVisible ?? e.isVisible ?? Et;
5923
+ ), o = e.sortIconVisible ?? e.sortable ?? Te, i = e.editable ?? e.editable ?? Te, r = e.isVisible ?? e.isVisible ?? kt;
5830
5924
  return new W(
5831
5925
  e.property ?? "",
5832
5926
  e.headerLabel ?? "",
@@ -5847,8 +5941,8 @@ class W {
5847
5941
  );
5848
5942
  }
5849
5943
  }
5850
- const Jt = new b(500, "px"), qt = new b(400, "px"), Tt = new b(300, "px"), Zt = new b(290, "px"), Qt = new b(280, "px"), es = new b(270, "px"), ts = new b(260, "px"), ss = new b(250, "px"), os = new b(240, "px"), is = new b(230, "px"), rs = new b(220, "px"), ns = new b(210, "px"), Te = new b(200, "px"), ls = new b(190, "px"), as = new b(180, "px"), cs = new b(170, "px"), ds = new b(160, "px"), hs = new b(150, "px"), us = new b(140, "px"), ps = new b(130, "px"), gs = new b(120, "px"), fs = new b(110, "px"), ms = new b(100, "px"), bs = new b(90, "px"), ys = new b(80, "px"), ws = new b(70, "px"), xs = new b(60, "px"), Ss = new b(50, "px"), Cs = new b(40, "px"), vs = new b(30, "px"), Rs = new b(20, "px"), As = new b(10, "px"), Ms = new b(0, "px");
5851
- class F extends be {
5944
+ const Zt = new b(500, "px"), Qt = new b(400, "px"), Dt = new b(300, "px"), es = new b(290, "px"), ts = new b(280, "px"), ss = new b(270, "px"), os = new b(260, "px"), is = new b(250, "px"), rs = new b(240, "px"), ns = new b(230, "px"), ls = new b(220, "px"), as = new b(210, "px"), ke = new b(200, "px"), cs = new b(190, "px"), ds = new b(180, "px"), hs = new b(170, "px"), us = new b(160, "px"), ps = new b(150, "px"), gs = new b(140, "px"), fs = new b(130, "px"), ms = new b(120, "px"), bs = new b(110, "px"), ys = new b(100, "px"), ws = new b(90, "px"), xs = new b(80, "px"), Ss = new b(70, "px"), Cs = new b(60, "px"), vs = new b(50, "px"), Rs = new b(40, "px"), As = new b(30, "px"), Ms = new b(20, "px"), Is = new b(10, "px"), Es = new b(0, "px");
5945
+ class F extends ye {
5852
5946
  constructor(e, t, s, o = []) {
5853
5947
  super(e, o, s), this.areaIdent = e, this.arr = t, this.defaultRowHeight = s, this.columnDefs = o, this.filteredArr = [...t];
5854
5948
  }
@@ -5959,7 +6053,7 @@ class P {
5959
6053
  changeColumnOrder(e, t) {
5960
6054
  }
5961
6055
  }
5962
- class kt {
6056
+ class Ft {
5963
6057
  flattenTree(e, t = []) {
5964
6058
  var s;
5965
6059
  for (const o of e)
@@ -5970,9 +6064,9 @@ class kt {
5970
6064
  return e.parent ? e.parent.expanded ? this.isVisible(e.parent) : !1 : !0;
5971
6065
  }
5972
6066
  }
5973
- class te extends be {
6067
+ class se extends ye {
5974
6068
  constructor(e, t, s, o = []) {
5975
- 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 kt(), this.properties = o.map((i) => i.property), this.flattenRows = this.service.flattenTree(t), this.filteredFlattenRows = [...this.flattenRows];
6069
+ super(e, o, s), this.areaIdent = e, this.rows = t, this.defaultRowHeight = s, this.columnDefs = o, this.type = "AreaModelTree", this.sorterService = new we(), this.service = new Ft(), this.properties = o.map((i) => i.property), this.flattenRows = this.service.flattenTree(t), this.filteredFlattenRows = [...this.flattenRows];
5976
6070
  }
5977
6071
  changeColumnOrder(e, t) {
5978
6072
  this.arrayMove(this.properties, e, t), super.changeColumnOrder(e, t);
@@ -6008,7 +6102,7 @@ class te extends be {
6008
6102
  * @returns {number | undefined} The constant row height or `undefined`.
6009
6103
  */
6010
6104
  getConstantRowHeight() {
6011
- return this.getRowHeight === te.prototype.getRowHeight && this.defaultRowHeight > 0 ? this.defaultRowHeight : void 0;
6105
+ return this.getRowHeight === se.prototype.getRowHeight && this.defaultRowHeight > 0 ? this.defaultRowHeight : void 0;
6012
6106
  }
6013
6107
  getCustomClassesAt(e, t) {
6014
6108
  return ["ge-table-tree-cell", "ge-table-tree-deep-" + this.filteredFlattenRows[e].deep];
@@ -6085,7 +6179,7 @@ class te extends be {
6085
6179
  o.children && this.treeSort(o.children, t, s);
6086
6180
  }
6087
6181
  }
6088
- class ke {
6182
+ class De {
6089
6183
  constructor(e = []) {
6090
6184
  this.allRootNodes = e;
6091
6185
  }
@@ -6145,12 +6239,12 @@ class ke {
6145
6239
  s.checked && t.push(s), s.children && this.addSelectedRecursive(s.children, t);
6146
6240
  }
6147
6241
  }
6148
- class ue {
6242
+ class pe {
6149
6243
  constructor(e = 0, t = 0, s = 0, o = 0) {
6150
6244
  this.top = e, this.right = t, this.bottom = s, this.left = o;
6151
6245
  }
6152
6246
  }
6153
- class Dt {
6247
+ class Pt {
6154
6248
  constructor() {
6155
6249
  this.checkedRows = [];
6156
6250
  }
@@ -6181,11 +6275,11 @@ class Dt {
6181
6275
  }
6182
6276
  }
6183
6277
  }
6184
- class le {
6278
+ class ae {
6185
6279
  constructor(e, t, s, o = 0, i = 0, r = !1, n = new Y(), l = [], a = [], c = -1, h = 0, u = 400, f = () => {
6186
6280
  }) {
6187
6281
  var p, m, g, y;
6188
- 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 = h, 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)), (y = this.columnDefs) != null && y.length && tt(this.columnDefs[0]) && !t.rowSelectionModel && (t.rowSelectionModel = new Dt());
6282
+ 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 = h, 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)), (y = this.columnDefs) != null && y.length && st(this.columnDefs[0]) && !t.rowSelectionModel && (t.rowSelectionModel = new Pt());
6189
6283
  }
6190
6284
  init() {
6191
6285
  this.recalcSize(this.parentSize), this.overridingColumnWidth === -1 && this.calcXPositions(), this.headerAreaModel && this.headerAreaModel.init(), this.bodyAreaModel && this.bodyAreaModel.init(), this.footerAreaModel && this.footerAreaModel.init();
@@ -6269,7 +6363,7 @@ class le {
6269
6363
  */
6270
6364
  recalcPadding() {
6271
6365
  const e = this.getSideAreaWidth("west"), t = this.getSideAreaWidth("east"), s = this.getAreaHeight("header"), o = this.getAreaHeight("footer");
6272
- this.padding = new ue(
6366
+ this.padding = new pe(
6273
6367
  s,
6274
6368
  t,
6275
6369
  o,
@@ -6574,7 +6668,7 @@ class le {
6574
6668
  return this.tableScope;
6575
6669
  }
6576
6670
  }
6577
- class De extends _ {
6671
+ class Fe extends _ {
6578
6672
  /**
6579
6673
  * Creates an instance of AreaModelObjectArrayWithColumndefs.
6580
6674
  *
@@ -6671,7 +6765,7 @@ class $ {
6671
6765
  g > -1 && (e.defaultRowHeights.footer = g);
6672
6766
  }
6673
6767
  }
6674
- if (e.columnDefs === void 0 && ((s = e.properties) != null && s.length ? e.columnDefs = e.properties.map((g) => new W(g, g.toUpperCase(), Te)) : (o = e.rows) != null && o.length ? e.columnDefs = Object.keys(e.rows[0]).map((g) => new W(g, g.toUpperCase(), Te)) : 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 F(
6768
+ if (e.columnDefs === void 0 && ((s = e.properties) != null && s.length ? e.columnDefs = e.properties.map((g) => new W(g, g.toUpperCase(), ke)) : (o = e.rows) != null && o.length ? e.columnDefs = Object.keys(e.rows[0]).map((g) => new W(g, g.toUpperCase(), ke)) : 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 F(
6675
6769
  "header",
6676
6770
  e.headerData,
6677
6771
  e.defaultRowHeights.header,
@@ -6690,14 +6784,14 @@ class $ {
6690
6784
  if (e.rows)
6691
6785
  if ((u = e.rows) != null && u.length && j(e.rows[0])) {
6692
6786
  const g = e.rows;
6693
- e.bodyAreaModel = new te(
6787
+ e.bodyAreaModel = new se(
6694
6788
  "body",
6695
6789
  g,
6696
6790
  e.defaultRowHeights.body,
6697
6791
  e.columnDefs
6698
- ), (e.columnDefs[0].property === "CheckboxColumn" || (f = e.tableOptions) != null && f.showCheckboxWihoutExtraColumn) && (e.bodyAreaModel.rowSelectionModel = new ke(g));
6792
+ ), (e.columnDefs[0].property === "CheckboxColumn" || (f = e.tableOptions) != null && f.showCheckboxWihoutExtraColumn) && (e.bodyAreaModel.rowSelectionModel = new De(g));
6699
6793
  } else
6700
- e.bodyAreaModel = new De(
6794
+ e.bodyAreaModel = new Fe(
6701
6795
  "body",
6702
6796
  e.rows,
6703
6797
  e.columnDefs,
@@ -6708,7 +6802,7 @@ class $ {
6708
6802
  e.bodyData,
6709
6803
  e.defaultRowHeights.body
6710
6804
  ) : e.bodyAreaModel = new P("body");
6711
- 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 le(
6805
+ 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 ae(
6712
6806
  e.headerAreaModel,
6713
6807
  e.bodyAreaModel,
6714
6808
  e.footerAreaModel,
@@ -6789,13 +6883,13 @@ class $ {
6789
6883
  static buildByTypedRows(e, t, s = new J(), o = 0, i = 0) {
6790
6884
  const r = s.defaultRowHeights, n = t[0].property === "CheckboxColumn";
6791
6885
  if (e != null && e.length && j(e[0])) {
6792
- const a = e, c = new te(
6886
+ const a = e, c = new se(
6793
6887
  "body",
6794
6888
  a,
6795
6889
  r.body,
6796
6890
  t
6797
6891
  );
6798
- return (n || s.showCheckboxWihoutExtraColumn) && (c.rowSelectionModel = new ke(a)), $.createByAreaModelsParam({
6892
+ return (n || s.showCheckboxWihoutExtraColumn) && (c.rowSelectionModel = new De(a)), $.createByAreaModelsParam({
6799
6893
  headerAreaModel: new F("header", [t.map((h) => h.headerLabel)], r.header),
6800
6894
  bodyAreaModel: c,
6801
6895
  footerAreaModel: new F("footer", [], r.footer),
@@ -6917,7 +7011,7 @@ class $ {
6917
7011
  * If a parameter isn't provided, the default value is used.
6918
7012
  */
6919
7013
  static createByAreaModels(e = new P(), t, s = new P(), o = 0, i = 0, r = !1, n = new Y(), l, a = [], c = -1, h) {
6920
- return new le(
7014
+ return new ae(
6921
7015
  e,
6922
7016
  t,
6923
7017
  s,
@@ -7033,8 +7127,8 @@ class $ {
7033
7127
  static createByObjectArray(e, t = [], s = [], o = 0, i = 0, r = !1, n = new Y(), l, a = []) {
7034
7128
  let c;
7035
7129
  t != null && t.length ? c = new F("header", t, n.header, l) : l != null && l.length ? c = new F("header", [l.map((f) => f.headerLabel)], n.header, l) : c = new P();
7036
- const h = s ? new F("footer", s, n.footer, l) : new P(), u = new De("body", e, l, n.body);
7037
- return new le(
7130
+ const h = s ? new F("footer", s, n.footer, l) : new P(), u = new Fe("body", e, l, n.body);
7131
+ return new ae(
7038
7132
  c,
7039
7133
  u,
7040
7134
  h,
@@ -7047,9 +7141,9 @@ class $ {
7047
7141
  );
7048
7142
  }
7049
7143
  }
7050
- class Ft {
7144
+ class _t {
7051
7145
  constructor(e, t, s = 200, o = 300, i = 0, r = 0) {
7052
- this.items = e, this.cellRenderer = t, this.coverWidth = s, this.coverHeight = o, this.width = i, this.firstRowPaddingTop = r, this.rowSelectionModel = void 0, this.areaIdent = "body", this.filteredItems = [], this.sorterService = new ye(), this.filteredItems = e;
7146
+ this.items = e, this.cellRenderer = t, this.coverWidth = s, this.coverHeight = o, this.width = i, this.firstRowPaddingTop = r, this.rowSelectionModel = void 0, this.areaIdent = "body", this.filteredItems = [], this.sorterService = new we(), this.filteredItems = e;
7053
7147
  }
7054
7148
  setParentWidth(e) {
7055
7149
  this.width = e;
@@ -7143,7 +7237,7 @@ class Ft {
7143
7237
  arrayMove(e, t, s) {
7144
7238
  }
7145
7239
  }
7146
- class Pt {
7240
+ class Lt {
7147
7241
  constructor(e, t = 0) {
7148
7242
  this.bodyModel = e, this.paddingTop = t, this.headerAreaModel = new P(), this.footerAreaModel = new P();
7149
7243
  }
@@ -7210,7 +7304,7 @@ class Pt {
7210
7304
  recalcHeightAndPadding() {
7211
7305
  }
7212
7306
  getPadding() {
7213
- return new ue(0, 0, 0, 0);
7307
+ return new pe(0, 0, 0, 0);
7214
7308
  }
7215
7309
  getContentHeightInPixel() {
7216
7310
  return this.paddingTop + this.bodyModel.getRowCount() * this.bodyModel.coverHeight;
@@ -7236,7 +7330,7 @@ class Pt {
7236
7330
  return this.tableScope;
7237
7331
  }
7238
7332
  }
7239
- class _t {
7333
+ class Ot {
7240
7334
  constructor() {
7241
7335
  this.autoRestoreSortingState = !1, this.autoRestoreCollapsedExpandedState = !1, this.autoRestoreScrollPosition = !1, this.autoRestoreCheckedState = !1, this.autoRestoreSelectedState = !1, this.getStorageKeyFn = void 0, this.isSame = (e, t, s) => {
7242
7336
  if (e && t && s.getRowId) {
@@ -7261,10 +7355,10 @@ class _t {
7261
7355
  };
7262
7356
  }
7263
7357
  }
7264
- class Is {
7358
+ class Ts {
7265
7359
  static createCoverGridModel(e, t, s = 200, o = 300, i = 0, r = 0) {
7266
- const n = new Ft(e, t, s, o, i, r);
7267
- return new Pt(n, r);
7360
+ const n = new _t(e, t, s, o, i, r);
7361
+ return new Lt(n, r);
7268
7362
  }
7269
7363
  static createCoverGrisDefaultOptions(e, t = () => "CoverGrid") {
7270
7364
  return {
@@ -7286,7 +7380,7 @@ class Is {
7286
7380
  },
7287
7381
  // externalFilterFunction: this.filterFn.bind(this),
7288
7382
  autoRestoreOptions: {
7289
- ...new _t(),
7383
+ ...new Ot(),
7290
7384
  getStorageKeyFn: t,
7291
7385
  autoRestoreCollapsedExpandedState: !1,
7292
7386
  autoRestoreScrollPosition: !0,
@@ -7296,7 +7390,7 @@ class Is {
7296
7390
  };
7297
7391
  }
7298
7392
  }
7299
- const Es = [
7393
+ const ks = [
7300
7394
  "COPY_2_CLIPBOARD",
7301
7395
  "START_EDITING",
7302
7396
  "TOGGLE_SELECTION",
@@ -7314,17 +7408,17 @@ const Es = [
7314
7408
  // "PAGEUP_PRESSED",
7315
7409
  // "PAGEDOWN_PRESSED"
7316
7410
  ];
7317
- class Lt {
7411
+ class Vt {
7318
7412
  constructor(e, t) {
7319
7413
  this.tableModel = e, this.tableOptions = t;
7320
7414
  }
7321
7415
  }
7322
- class Ot {
7416
+ class Ht {
7323
7417
  constructor(e, t, s, o, i, r, n) {
7324
7418
  this.emmitDataKey = e, this.emmitCancelKey = t, this.queryId = s, this.filter = o, this.sorting = i, this.startIndex = r, this.endIndex = n;
7325
7419
  }
7326
7420
  }
7327
- class Ts extends Ot {
7421
+ class Ds extends Ht {
7328
7422
  constructor(e, t, s, o, i, r, n, l) {
7329
7423
  super(
7330
7424
  e,
@@ -7337,30 +7431,30 @@ class Ts extends Ot {
7337
7431
  ), this.rows = l;
7338
7432
  }
7339
7433
  }
7340
- class Vt {
7434
+ class $t {
7341
7435
  constructor(e, t) {
7342
7436
  this.value = e, this.label = t;
7343
7437
  }
7344
7438
  }
7345
- class ks {
7439
+ class Fs {
7346
7440
  constructor(e, t) {
7347
7441
  this.index = e, this.px = t;
7348
7442
  }
7349
7443
  }
7350
- const Ds = { body: ["ge-table-text-align-left"] }, Fs = { body: ["ge-table-text-align-center"] }, Ps = { body: ["ge-table-text-align-right"] }, _s = {
7444
+ const Ps = { body: ["ge-table-text-align-left"] }, _s = { body: ["ge-table-text-align-center"] }, Ls = { body: ["ge-table-text-align-right"] }, Os = {
7351
7445
  header: ["ge-table-text-align-left"],
7352
7446
  body: ["ge-table-text-align-left"],
7353
7447
  footer: ["ge-table-text-align-left"]
7354
- }, Ls = {
7448
+ }, Vs = {
7355
7449
  header: ["ge-table-text-align-center"],
7356
7450
  body: ["ge-table-text-align-center"],
7357
7451
  footer: ["ge-table-text-align-center"]
7358
- }, Os = {
7452
+ }, Hs = {
7359
7453
  header: ["ge-table-text-align-right"],
7360
7454
  body: ["ge-table-text-align-right"],
7361
7455
  footer: ["ge-table-text-align-right"]
7362
7456
  };
7363
- class Fe {
7457
+ class Pe {
7364
7458
  render(e, t, s, o, i, r, n) {
7365
7459
  if (i.isRowCheckable(t)) {
7366
7460
  n.addClass(e, "ge-table-row-checkbox-div");
@@ -7378,16 +7472,16 @@ class Fe {
7378
7472
  }
7379
7473
  }
7380
7474
  }
7381
- class Vs {
7475
+ class $s {
7382
7476
  constructor() {
7383
- this.type = "CheckboxColumnDef", this.property = "CheckboxColumn", this.headerLabel = "", this.width = new b(50, "px"), this.minWidth = new b(50, "px"), this.maxWidth = new b(100, "px"), this.rendererMap = new T(new Fe(), new Fe(), void 0), this.classes = new T(
7477
+ this.type = "CheckboxColumnDef", this.property = "CheckboxColumn", this.headerLabel = "", this.width = new b(50, "px"), this.minWidth = new b(50, "px"), this.maxWidth = new b(100, "px"), this.rendererMap = new T(new Pe(), new Pe(), void 0), this.classes = new T(
7384
7478
  [],
7385
7479
  ["ge-table-text-align-left"],
7386
7480
  []
7387
7481
  );
7388
7482
  }
7389
7483
  }
7390
- class Hs {
7484
+ class Bs {
7391
7485
  /**
7392
7486
  * A factory that creates a new AreaObjectMap with the given body renderer.
7393
7487
  *
@@ -7402,22 +7496,22 @@ class Hs {
7402
7496
  );
7403
7497
  }
7404
7498
  }
7405
- class $s {
7499
+ class Ws {
7406
7500
  constructor(e = "down", t) {
7407
7501
  this.status = e, this.originalEvent = t;
7408
7502
  }
7409
7503
  }
7410
- class Bs {
7504
+ class Ns {
7411
7505
  constructor(e, t, s, o, i = {}) {
7412
7506
  this.area = e, this.rowIndex = t, this.columnIndex = s, this.value = o, this.cssClasses = i;
7413
7507
  }
7414
7508
  }
7415
- class Ht {
7509
+ class Bt {
7416
7510
  constructor(e, t, s, o = !1, i = "normal", r = void 0) {
7417
7511
  this.data = e, this.property = t, this.toggle = s, this.closed = o, this.visibility = i, this.children = r, this.impl = "CellGroup";
7418
7512
  }
7419
7513
  }
7420
- class $t extends Ht {
7514
+ class Wt extends Bt {
7421
7515
  constructor(e, t = 0, s = 0, o) {
7422
7516
  super(
7423
7517
  e.data,
@@ -7542,7 +7636,7 @@ class E {
7542
7636
  static buildGroupExts(e, t = [], s = 0, o) {
7543
7637
  let i;
7544
7638
  for (let r = 0; r < e.length; r++) {
7545
- const n = e[r], l = new $t(n, s, r, o);
7639
+ const n = e[r], l = new Wt(n, s, r, o);
7546
7640
  i && (l.leftNeighbour = i, i.rightNeighbour = l), t.push(l), n.children && (l.children = E.buildGroupExts(n.children, [], s + 1, l)), i = l;
7547
7641
  }
7548
7642
  return t;
@@ -7584,7 +7678,7 @@ class E {
7584
7678
  e.push(o.data + " rowIndex:" + o.rowIndex), (s = o.children) != null && s.length && E.iterateThrowColumns(e, o.children);
7585
7679
  }
7586
7680
  }
7587
- class Ws {
7681
+ class Gs {
7588
7682
  constructor() {
7589
7683
  this.areaIdent = "body", this.rowSelectionModel = void 0;
7590
7684
  }
@@ -8222,14 +8316,14 @@ class Ws {
8222
8316
  return !1;
8223
8317
  }
8224
8318
  }
8225
- const ie = class ie {
8226
- constructor(e = new Ce()) {
8319
+ const re = class re {
8320
+ constructor(e = new ve()) {
8227
8321
  this.headerGroupOptions = e;
8228
8322
  }
8229
8323
  render(e, t, s, o, i, r, n) {
8230
8324
  const l = r != null && r.data ? r.data : "";
8231
8325
  if (r) {
8232
- const { toggle: a, visibility: c, closed: h } = r, u = a ? ie.toggleHeaderGroup : "";
8326
+ const { toggle: a, visibility: c, closed: h } = r, u = a ? re.toggleHeaderGroup : "";
8233
8327
  this.addText(e, o, t, s, l, u), a && c !== "always" && this.addArrowDiv(n, e, !h, t, s, o, u);
8234
8328
  } else
8235
8329
  this.addText(e, o, t, s, l, "");
@@ -8261,11 +8355,11 @@ const ie = class ie {
8261
8355
  }
8262
8356
  }
8263
8357
  };
8264
- ie.toggleHeaderGroup = "toggleHeaderGroup";
8265
- let pe = ie;
8266
- class Ns {
8267
- constructor(e = "header", t, s = [], o, i = new Ce()) {
8268
- 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 pe(this.headerGroupOptions), this.groupExts = E.buildGroupExts(t), this.init();
8358
+ re.toggleHeaderGroup = "toggleHeaderGroup";
8359
+ let ge = re;
8360
+ class zs {
8361
+ constructor(e = "header", t, s = [], o, i = new ve()) {
8362
+ 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 ge(this.headerGroupOptions), this.groupExts = E.buildGroupExts(t), this.init();
8269
8363
  }
8270
8364
  sort(e) {
8271
8365
  }
@@ -8365,7 +8459,7 @@ class Ns {
8365
8459
  return t != null && t.toggle && t.visibility !== "always" && (t.closed = !t.closed, this.init()), E.buildColumnDefs(this.groupExts);
8366
8460
  }
8367
8461
  }
8368
- class Gs {
8462
+ class js {
8369
8463
  filterPredict(e, t, s = this.objectToString.bind(this)) {
8370
8464
  if (!e)
8371
8465
  return !1;
@@ -8419,12 +8513,12 @@ class Gs {
8419
8513
  return t.join(" ").toLowerCase();
8420
8514
  }
8421
8515
  }
8422
- class zs {
8516
+ class Us {
8423
8517
  static bodyRenderer(e) {
8424
8518
  return new T(void 0, e, void 0);
8425
8519
  }
8426
8520
  }
8427
- class js {
8521
+ class Ys {
8428
8522
  constructor(e, t = !0, s = !1) {
8429
8523
  this.property = e, this.skipCheckableCheck = t, this.readonly = s;
8430
8524
  }
@@ -8449,12 +8543,12 @@ class js {
8449
8543
  }
8450
8544
  }
8451
8545
  }
8452
- class Us {
8546
+ class Xs {
8453
8547
  render(e, t, s, o, i, r, n) {
8454
8548
  r && (e.innerText = new Date(r).toISOString());
8455
8549
  }
8456
8550
  }
8457
- class Ys {
8551
+ class Ks {
8458
8552
  constructor() {
8459
8553
  this.formatter = new Intl.DateTimeFormat("de-DE", {
8460
8554
  year: "numeric",
@@ -8477,17 +8571,17 @@ class Ys {
8477
8571
  }
8478
8572
  }
8479
8573
  }
8480
- class Xs {
8574
+ class Js {
8481
8575
  render(e, t, s, o, i, r, n) {
8482
8576
  r && (e.innerText = new Date(r).toLocaleDateString());
8483
8577
  }
8484
8578
  }
8485
- class Ks {
8579
+ class qs {
8486
8580
  render(e, t, s, o, i, r, n) {
8487
8581
  r === "male" || r === "m" ? e.innerText = "♂" : (r === "female" || r === "f") && (e.innerText = "♀");
8488
8582
  }
8489
8583
  }
8490
- class Js {
8584
+ class Zs {
8491
8585
  constructor(e = 100, t = !1) {
8492
8586
  this.maxValue = e, this.labelVisible = t;
8493
8587
  }
@@ -8517,17 +8611,17 @@ class Js {
8517
8611
  }
8518
8612
  }
8519
8613
  }
8520
- class qs {
8614
+ class Qs {
8521
8615
  render(e, t, s, o, i, r, n) {
8522
8616
  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 = "";
8523
8617
  }
8524
8618
  }
8525
- class Zs {
8619
+ class eo {
8526
8620
  render(e, t, s, o, i, r, n) {
8527
8621
  r && (e.innerText = new Date(r).toISOString().replace(/T/g, " ").replace(/\..*/g, ""));
8528
8622
  }
8529
8623
  }
8530
- class Qs {
8624
+ class to {
8531
8625
  constructor(e = Number.MIN_SAFE_INTEGER, t = Number.MAX_SAFE_INTEGER) {
8532
8626
  this.min = e, this.max = t;
8533
8627
  }
@@ -8538,7 +8632,7 @@ class Qs {
8538
8632
  </div>`, (typeof r == "string" || isNaN(r) || r < this.min || r > this.max) && n.addClass(e, "ge-cell-error"));
8539
8633
  }
8540
8634
  }
8541
- class eo {
8635
+ class so {
8542
8636
  constructor(e) {
8543
8637
  this.property = e;
8544
8638
  }
@@ -8557,7 +8651,7 @@ class eo {
8557
8651
  }
8558
8652
  }
8559
8653
  }
8560
- class to {
8654
+ class oo {
8561
8655
  render(e, t, s, o, i, r, n) {
8562
8656
  if (r != null && r.length) {
8563
8657
  const l = n.createElement("div");
@@ -8570,7 +8664,7 @@ class to {
8570
8664
  e.innerText = "";
8571
8665
  }
8572
8666
  }
8573
- class so {
8667
+ class io {
8574
8668
  constructor(e, t = 100, s = !1) {
8575
8669
  this.property = e, this.maxValue = t, this.labelVisible = s;
8576
8670
  }
@@ -8602,7 +8696,7 @@ class so {
8602
8696
  }
8603
8697
  }
8604
8698
  }
8605
- class oo {
8699
+ class ro {
8606
8700
  render(e, t, s, o, i, r, n) {
8607
8701
  if (r) {
8608
8702
  e.innerHTML = `
@@ -8622,7 +8716,7 @@ class oo {
8622
8716
  }
8623
8717
  }
8624
8718
  }
8625
- class Ge {
8719
+ class ze {
8626
8720
  constructor(e, t, s, o, i, r) {
8627
8721
  this.action = e, this.area = t, this.areaModel = s, this.rowIndex = o, this.columnIndex = i, this.id = r;
8628
8722
  }
@@ -8632,7 +8726,7 @@ class H {
8632
8726
  this.action = e, this.label = t, this.icon = s, this.elementClass = o, this.elementType = i, this.enabled = r;
8633
8727
  }
8634
8728
  }
8635
- class Bt {
8729
+ class Nt {
8636
8730
  constructor(e, t) {
8637
8731
  this.actionEventListener = e, this.crudActions = t;
8638
8732
  }
@@ -8688,8 +8782,8 @@ class Bt {
8688
8782
  createActionEvent(e, t) {
8689
8783
  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";
8690
8784
  if (s && o && i) {
8691
- const l = re(s), a = Number(o), c = Number(i);
8692
- return new Ge(r, l, t, a, c, n);
8785
+ const l = ne(s), a = Number(o), c = Number(i);
8786
+ return new ze(r, l, t, a, c, n);
8693
8787
  }
8694
8788
  return null;
8695
8789
  }
@@ -8697,16 +8791,16 @@ class Bt {
8697
8791
  return Array.isArray(e) && e.every((t) => t instanceof H) ? e : this.crudActions;
8698
8792
  }
8699
8793
  }
8700
- const io = function(d, e, t) {
8794
+ const no = function(d, e, t) {
8701
8795
  return d ? Number(d) : "";
8702
8796
  };
8703
- class ze {
8797
+ class je {
8704
8798
  constructor(e) {
8705
8799
  this.options = e;
8706
8800
  }
8707
8801
  static create(e) {
8708
- return new ze(
8709
- e.map((t) => new Vt(t, t))
8802
+ return new je(
8803
+ e.map((t) => new $t(t, t))
8710
8804
  );
8711
8805
  }
8712
8806
  render(e, t, s, o, i, r, n) {
@@ -8732,7 +8826,7 @@ class ze {
8732
8826
  }
8733
8827
  }
8734
8828
  }
8735
- class ro extends Se {
8829
+ class lo extends Ce {
8736
8830
  constructor(e) {
8737
8831
  super("row", "multi"), this.model = e;
8738
8832
  }
@@ -8815,39 +8909,39 @@ class ro extends Se {
8815
8909
  this.isSelected(e, 0) ? this.unselectRow(e) : this.selectRow(e);
8816
8910
  }
8817
8911
  }
8818
- class no {
8912
+ class ao {
8819
8913
  constructor(e, t, s) {
8820
8914
  this.r = e, this.g = t, this.b = s;
8821
8915
  }
8822
8916
  }
8823
- class Pe {
8917
+ class _e {
8824
8918
  constructor(e, t, s, o) {
8825
8919
  this.minValue = e, this.minColor = t, this.maxValue = s, this.maxColor = o;
8826
8920
  }
8827
8921
  }
8828
- class q {
8922
+ class Z {
8829
8923
  static normalize(e, t, s, o = 0, i = 1) {
8830
8924
  return (e - t) / (s - t) * (i - o) + o;
8831
8925
  }
8832
8926
  static getTwoColorGradientRGB(e, t) {
8833
- const s = q.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;
8927
+ const s = Z.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;
8834
8928
  return `rgb(${Math.round(n)}, ${Math.round(l)}, ${Math.round(a)})`;
8835
8929
  }
8836
8930
  static getThreeColorGradientRGB(e, t) {
8837
- return e < t.middleValue ? q.getTwoColorGradientRGB(e, new Pe(t.minValue, t.minColor, t.middleValue, t.middleColor)) : e > t.middleValue ? q.getTwoColorGradientRGB(e, new Pe(t.middleValue, t.middleColor, t.maxValue, t.maxColor)) : `rgb(${t.middleColor.r}, ${t.middleColor.g}, ${t.middleColor.b})`;
8931
+ return e < t.middleValue ? Z.getTwoColorGradientRGB(e, new _e(t.minValue, t.minColor, t.middleValue, t.middleColor)) : e > t.middleValue ? Z.getTwoColorGradientRGB(e, new _e(t.middleValue, t.middleColor, t.maxValue, t.maxColor)) : `rgb(${t.middleColor.r}, ${t.middleColor.g}, ${t.middleColor.b})`;
8838
8932
  }
8839
8933
  }
8840
- class lo {
8934
+ class co {
8841
8935
  constructor(e, t, s, o, i, r) {
8842
8936
  this.minValue = e, this.minColor = t, this.middleValue = s, this.middleColor = o, this.maxValue = i, this.maxColor = r;
8843
8937
  }
8844
8938
  }
8845
- class Wt {
8939
+ class Gt {
8846
8940
  constructor(e = !0, t = !0, s = (r, n) => r * 10 + 10, o = 50, i = 450) {
8847
8941
  this.autoCalc = e, this.takeHeaderLabelsIntoAccount = t, this.charCountToWidth = s, this.minWidth = o, this.maxWidth = i;
8848
8942
  }
8849
8943
  }
8850
- class Nt {
8944
+ class zt {
8851
8945
  constructor(e) {
8852
8946
  this.object = e;
8853
8947
  }
@@ -8898,7 +8992,7 @@ class Nt {
8898
8992
  return s.join("");
8899
8993
  }
8900
8994
  }
8901
- class ae {
8995
+ class ce {
8902
8996
  constructor(e, t, s = "Edit Item") {
8903
8997
  this.idKey = e, this.dialogTitle = s, this.object = { ...t };
8904
8998
  }
@@ -8979,7 +9073,7 @@ class ae {
8979
9073
  return e.replace(/\./g, " ");
8980
9074
  }
8981
9075
  }
8982
- class Gt {
9076
+ class jt {
8983
9077
  constructor() {
8984
9078
  this.urls = {
8985
9079
  list: {
@@ -8995,7 +9089,7 @@ class Gt {
8995
9089
  ], this.tableActions = [
8996
9090
  new H("CREATE", "Create", "", "", "button"),
8997
9091
  new H("DELETE_SELECTED", "Delete Selected", "", "", "button")
8998
- ], this.autoAddActionColumn = !0, this.columnWidths = new Wt(), this.calcFixedRightColumnCount = (e) => e > 6 ? 1 : 0, this.getHeadersInit = () => ({}), this.getIdKey = () => "id", this.getIdByObject = (e) => (this.getIdKey() ?? "id") in e ? e.id : e, this.fetchList = (e) => {
9092
+ ], this.autoAddActionColumn = !0, this.columnWidths = new Gt(), this.calcFixedRightColumnCount = (e) => e > 6 ? 1 : 0, this.getHeadersInit = () => ({}), this.getIdKey = () => "id", this.getIdByObject = (e) => (this.getIdKey() ?? "id") in e ? e.id : e, this.fetchList = (e) => {
8999
9093
  const t = e.getHeadersInit ? e.getHeadersInit() : {};
9000
9094
  let s = e.urls.list.url, o = e.urls.list.method ?? "GET";
9001
9095
  return fetch(s, {
@@ -9046,9 +9140,9 @@ class Gt {
9046
9140
  };
9047
9141
  }
9048
9142
  }
9049
- class ao {
9143
+ class ho {
9050
9144
  constructor() {
9051
- this.crudOptions = new Gt(), this.listenActionEvent = (e) => {
9145
+ this.crudOptions = new jt(), this.listenActionEvent = (e) => {
9052
9146
  };
9053
9147
  }
9054
9148
  createTableModel(e, t, s = (i) => {
@@ -9057,7 +9151,7 @@ class ao {
9057
9151
  this.crudOptions = e, this.listenActionEvent = o, e.fetchList(e).then((i) => {
9058
9152
  var r, n, l, a;
9059
9153
  if (t.rows = i, i != null && i.length) {
9060
- const c = (r = t.columnDefs) != null && r.length ? t.columnDefs.map((x) => x.property) : this.extractProperties(i[0]), h = new Se("row", "multi"), u = () => h;
9154
+ const c = (r = t.columnDefs) != null && r.length ? t.columnDefs.map((x) => x.property) : this.extractProperties(i[0]), h = new Ce("row", "multi"), u = () => h;
9061
9155
  this.tableOptions = {
9062
9156
  ...new J(),
9063
9157
  ...t.tableOptions,
@@ -9074,12 +9168,12 @@ class ao {
9074
9168
  let x = new W(
9075
9169
  "id",
9076
9170
  "Actions",
9077
- Tt,
9171
+ Dt,
9078
9172
  new T(["ge-table-text-align-left"], ["ge-table-text-align-left ge-table-actions-cell"], void 0)
9079
9173
  );
9080
9174
  x.rendererMap = new T(
9081
9175
  void 0,
9082
- new Bt(this, e.singleRowActions),
9176
+ new Nt(this, e.singleRowActions),
9083
9177
  void 0
9084
9178
  ), p.push(x);
9085
9179
  }
@@ -9091,14 +9185,14 @@ class ao {
9091
9185
  fixedLeftColumnCount: m,
9092
9186
  fixedRightColumnCount: g
9093
9187
  }), this.tableModel.getSelectionModel = u, this.bodyModel = (a = this.tableModel) == null ? void 0 : a.getBodyModel();
9094
- const y = new Lt(this.tableModel, this.tableOptions);
9188
+ const y = new Vt(this.tableModel, this.tableOptions);
9095
9189
  s(y);
9096
9190
  }
9097
9191
  });
9098
9192
  }
9099
9193
  openDialogForCreate() {
9100
9194
  if (this.bodyModel) {
9101
- const e = new Ge("CREATE", "body", this.bodyModel, -1, -1, null);
9195
+ const e = new ze("CREATE", "body", this.bodyModel, -1, -1, null);
9102
9196
  this.onActionEvent(e);
9103
9197
  }
9104
9198
  }
@@ -9106,11 +9200,11 @@ class ao {
9106
9200
  var t, s, o, i;
9107
9201
  if (this.listenActionEvent && this.listenActionEvent(e), e.action === "VIEW") {
9108
9202
  let r = e.id;
9109
- (t = this.crudOptions) == null || t.fetchItem(this.crudOptions, r).then((n) => (console.info(n), new Nt(n).openDialog(), n));
9203
+ (t = this.crudOptions) == null || t.fetchItem(this.crudOptions, r).then((n) => (console.info(n), new zt(n).openDialog(), n));
9110
9204
  } else if (e.action === "EDIT") {
9111
9205
  let r = e.id;
9112
9206
  const n = this.crudOptions.getIdKey() ?? "id";
9113
- (s = this.crudOptions) == null || s.fetchItem(this.crudOptions, r).then((l) => (console.info(l), new ae(
9207
+ (s = this.crudOptions) == null || s.fetchItem(this.crudOptions, r).then((l) => (console.info(l), new ce(
9114
9208
  n,
9115
9209
  l
9116
9210
  ).openDialog((a) => {
@@ -9121,7 +9215,7 @@ class ao {
9121
9215
  const n = this.crudOptions.getIdKey() ?? "id";
9122
9216
  (o = this.crudOptions) == null || o.fetchItem(this.crudOptions, r).then((l) => {
9123
9217
  const a = JSON.parse(JSON.stringify(l));
9124
- return new ae(
9218
+ return new ce(
9125
9219
  n,
9126
9220
  a,
9127
9221
  "Clone Item"
@@ -9131,7 +9225,7 @@ class ao {
9131
9225
  });
9132
9226
  } else if (e.action === "CREATE") {
9133
9227
  const r = this.crudOptions.getIdKey() ?? "id", n = JSON.parse(JSON.stringify(this.crudOptions.getEmptyItem()));
9134
- return new ae(
9228
+ return new ce(
9135
9229
  r,
9136
9230
  n,
9137
9231
  "Create Item"
@@ -9187,196 +9281,196 @@ class ao {
9187
9281
  return s;
9188
9282
  }
9189
9283
  }
9190
- class co {
9284
+ class uo {
9191
9285
  constructor(e, t) {
9192
9286
  this.method = e, this.url = t;
9193
9287
  }
9194
9288
  }
9195
9289
  export {
9196
- be as AbstractAreaModel,
9197
- Ge as ActionEvent,
9198
- Bt as ActionsCellRenderer,
9199
- He as AnyPropertyType,
9200
- Hs as AreaMapFactory,
9201
- Ws as AreaModel,
9290
+ ye as AbstractAreaModel,
9291
+ ze as ActionEvent,
9292
+ Nt as ActionsCellRenderer,
9293
+ $e as AnyPropertyType,
9294
+ Bs as AreaMapFactory,
9295
+ Gs as AreaModel,
9202
9296
  F as AreaModelArrayOfArrays,
9203
- Ns as AreaModelCellGroups,
9297
+ zs as AreaModelCellGroups,
9204
9298
  P as AreaModelHidden,
9205
9299
  _ as AreaModelObjectArray,
9206
- De as AreaModelObjectArrayWithColumndefs,
9207
- te as AreaModelTree,
9300
+ Fe as AreaModelObjectArrayWithColumndefs,
9301
+ se as AreaModelTree,
9208
9302
  T as AreaObjectMap,
9209
9303
  B as ArrayPropertyType,
9210
- _t as AutoRestoreOptions,
9211
- jt as AvoidDoubleExecution,
9212
- Je as BooleanPropertyType,
9213
- Ht as CellGroup,
9214
- $t as CellGroupExt,
9215
- pe as CellGroupExtCellRenderer,
9304
+ Ot as AutoRestoreOptions,
9305
+ Yt as AvoidDoubleExecution,
9306
+ qe as BooleanPropertyType,
9307
+ Bt as CellGroup,
9308
+ Wt as CellGroupExt,
9309
+ ge as CellGroupExtCellRenderer,
9216
9310
  M as CellRange,
9217
9311
  E as CellgroupFactory,
9218
- js as CheckboxBooleanPropertyCellRenderer,
9219
- Fe as CheckboxCellRenderer,
9220
- Vs as CheckboxColumnDef,
9221
- Dt as CheckboxModel,
9222
- Ts as ChunkData,
9223
- dt as ColAndRowspanModel,
9224
- lt as CollapsedExpandedData,
9225
- no as ColorRgb,
9312
+ Ys as CheckboxBooleanPropertyCellRenderer,
9313
+ Pe as CheckboxCellRenderer,
9314
+ $s as CheckboxColumnDef,
9315
+ Pt as CheckboxModel,
9316
+ Ds as ChunkData,
9317
+ ht as ColAndRowspanModel,
9318
+ at as CollapsedExpandedData,
9319
+ ao as ColorRgb,
9226
9320
  W as ColumnDef,
9227
- Ut as ColumnDefGenerator,
9228
- Wt as ColumnWidths,
9229
- st as ConvenienceDomService,
9230
- ee as CopyService,
9231
- Ft as CoverGridBodyModel,
9232
- Is as CoverGridFactory,
9233
- Pt as CoverGridTableModel,
9321
+ Xt as ColumnDefGenerator,
9322
+ Gt as ColumnWidths,
9323
+ ot as ConvenienceDomService,
9324
+ te as CopyService,
9325
+ _t as CoverGridBodyModel,
9326
+ Ts as CoverGridFactory,
9327
+ Lt as CoverGridTableModel,
9234
9328
  H as CrudAction,
9235
- ae as CrudObjectEdit,
9236
- Nt as CrudObjectView,
9237
- Gt as CrudOptions,
9238
- ao as CrudTableModelFactory,
9239
- Me as CssVars,
9240
- Ys as DateToIntlDDMMYYYYCellRenderer,
9241
- Us as DateToIsoCellRenderer,
9242
- Xs as DateToLocaleDateCellRenderer,
9243
- Zs as DateToTecCellRenderer,
9329
+ ce as CrudObjectEdit,
9330
+ zt as CrudObjectView,
9331
+ jt as CrudOptions,
9332
+ ho as CrudTableModelFactory,
9333
+ Ie as CssVars,
9334
+ Ks as DateToIntlDDMMYYYYCellRenderer,
9335
+ Xs as DateToIsoCellRenderer,
9336
+ Js as DateToLocaleDateCellRenderer,
9337
+ eo as DateToTecCellRenderer,
9244
9338
  Y as DefaultRowHeights,
9245
- Q as EleScope,
9246
- de as EventAdapter,
9247
- Kt as EventCheckboxChangedHandler,
9248
- It as ExcelService,
9249
- Ee as FalseFn,
9250
- vt as FocusModel,
9251
- gt as GeCellIndices,
9252
- q as GeCssColorUtil,
9253
- Gs as GeFilterService,
9254
- $s as GeKeyEvent,
9255
- xe as GeModelChangeEvent,
9256
- me as GeMouseEvent,
9257
- ft as GeScrollEvent,
9339
+ ee as EleScope,
9340
+ he as EventAdapter,
9341
+ qt as EventCheckboxChangedHandler,
9342
+ Tt as ExcelService,
9343
+ Te as FalseFn,
9344
+ Rt as FocusModel,
9345
+ ft as GeCellIndices,
9346
+ Z as GeCssColorUtil,
9347
+ js as GeFilterService,
9348
+ Ws as GeKeyEvent,
9349
+ Se as GeModelChangeEvent,
9350
+ be as GeMouseEvent,
9351
+ mt as GeScrollEvent,
9258
9352
  O as GeoData,
9259
9353
  V as Icon,
9260
- ks as IndexAndPx,
9261
- Ct as InputCellRenderer,
9262
- pt as InputHandler,
9263
- ve as JsonService,
9354
+ Fs as IndexAndPx,
9355
+ vt as InputCellRenderer,
9356
+ gt as InputHandler,
9357
+ Re as JsonService,
9264
9358
  G as LicenseManager,
9265
- Ks as MaleFemaleToIconCellRenderer,
9266
- it as MouseHandler,
9267
- ot as MouseTargetData,
9268
- ro as MultiRowsSelectionModel,
9269
- Ye as NullPropertyType,
9270
- Js as NumberCellProgressBarCellRenderer,
9271
- Qs as NumberCellRenderer,
9272
- Ke as NumberPropertyType,
9359
+ qs as MaleFemaleToIconCellRenderer,
9360
+ rt as MouseHandler,
9361
+ it as MouseTargetData,
9362
+ lo as MultiRowsSelectionModel,
9363
+ Xe as NullPropertyType,
9364
+ Zs as NumberCellProgressBarCellRenderer,
9365
+ to as NumberCellRenderer,
9366
+ Je as NumberPropertyType,
9273
9367
  L as ObjectPropertyType,
9274
- yt as OsxShortcutActionIdMapping,
9275
- _e as PROPERTY_TYPE_KEY_ANY,
9276
- Ve as PROPERTY_TYPE_KEY_ARRAY,
9277
- fe as PROPERTY_TYPE_KEY_BOOLEAN,
9278
- Le as PROPERTY_TYPE_KEY_NULL,
9279
- ge as PROPERTY_TYPE_KEY_NUMBER,
9368
+ wt as OsxShortcutActionIdMapping,
9369
+ Le as PROPERTY_TYPE_KEY_ANY,
9370
+ He as PROPERTY_TYPE_KEY_ARRAY,
9371
+ me as PROPERTY_TYPE_KEY_BOOLEAN,
9372
+ Oe as PROPERTY_TYPE_KEY_NULL,
9373
+ fe as PROPERTY_TYPE_KEY_NUMBER,
9280
9374
  K as PROPERTY_TYPE_KEY_OBJECT,
9281
- Oe as PROPERTY_TYPE_KEY_STRING,
9375
+ Ve as PROPERTY_TYPE_KEY_STRING,
9282
9376
  X as PROPERTY_TYPE_KEY_UNDEFINED,
9283
- ue as Padding,
9284
- oo as PositiveAndNegativeNumberRenderer,
9285
- so as ProgressBarCellRenderer,
9286
- $e as PropertyItem,
9287
- Yt as PropertyTypeService,
9288
- ht as RenderScope,
9289
- zs as Renderer,
9290
- Ot as RequestChunk,
9291
- Mt as ResizeHandler,
9292
- Xt as SchemeGenerator,
9293
- ze as SelectCellRenderer,
9294
- Se as SelectionModel,
9295
- mt as SelectionService,
9296
- xt as ShortcutService,
9297
- to as SimpleArrayCellRenderer,
9298
- St as SimpleDomService,
9377
+ pe as Padding,
9378
+ ro as PositiveAndNegativeNumberRenderer,
9379
+ io as ProgressBarCellRenderer,
9380
+ Be as PropertyItem,
9381
+ Kt as PropertyTypeService,
9382
+ ut as RenderScope,
9383
+ Us as Renderer,
9384
+ Ht as RequestChunk,
9385
+ It as ResizeHandler,
9386
+ Jt as SchemeGenerator,
9387
+ je as SelectCellRenderer,
9388
+ Ce as SelectionModel,
9389
+ bt as SelectionService,
9390
+ St as ShortcutService,
9391
+ oo as SimpleArrayCellRenderer,
9392
+ Ct as SimpleDomService,
9299
9393
  b as Size,
9300
- ut as SortItem,
9301
- We as SortedOptions,
9302
- eo as StarRatingCellRenderer,
9303
- at as StoreStateCollapsedExpandService,
9304
- nt as StoreStateScrollPosService,
9305
- ct as StoreStateSortingService,
9306
- Xe as StringPropertyType,
9307
- rt as TableApi,
9308
- Bs as TableCellUpdateEvent,
9394
+ pt as SortItem,
9395
+ Ne as SortedOptions,
9396
+ so as StarRatingCellRenderer,
9397
+ ct as StoreStateCollapsedExpandService,
9398
+ lt as StoreStateScrollPosService,
9399
+ dt as StoreStateSortingService,
9400
+ Ke as StringPropertyType,
9401
+ nt as TableApi,
9402
+ Ns as TableCellUpdateEvent,
9309
9403
  $ as TableFactory,
9310
- le as TableModel,
9311
- Lt as TableModelAndOptions,
9404
+ ae as TableModel,
9405
+ Vt as TableModelAndOptions,
9312
9406
  J as TableOptions,
9313
- Ne as TableScope,
9314
- lo as ThreeColorGradientArg,
9315
- ke as TreeCheckboxModel,
9316
- he as TreeFactory,
9317
- Be as TreeOptions,
9318
- Ie as TreeRow,
9319
- kt as TreeRowService,
9320
- qs as TrueFalseCellRenderer,
9321
- Et as TrueFn,
9322
- Pe as TwoColorGradientArg,
9323
- Z as UNIMPORTANT_TYPES,
9324
- ne as UndefinedPropertyType,
9325
- co as UrlInfo,
9326
- qe as ValueInfo,
9327
- Vt as ValueLabel,
9328
- bt as WindowsShortcutActionIdMapping,
9329
- Es as actionIds,
9330
- Ls as allCenter,
9331
- _s as allLeft,
9332
- Os as allRight,
9333
- Fs as bodyCenter,
9334
- Ds as bodyLeft,
9335
- Ps as bodyRight,
9336
- Ae as createHarmonizedShortcutByKeyboardEvent,
9337
- Ue as debounce,
9338
- io as editInputPipeForNumber,
9339
- Re as entitySuffix,
9340
- et as firstLetterUppercase,
9341
- re as getAreaIdentByString,
9342
- Ze as getEntityName,
9343
- wt as harmonizeShortcut,
9344
- ce as isAreaModelTree,
9345
- tt as isCheckboxColumnDef,
9407
+ Ge as TableScope,
9408
+ co as ThreeColorGradientArg,
9409
+ De as TreeCheckboxModel,
9410
+ ue as TreeFactory,
9411
+ We as TreeOptions,
9412
+ Ee as TreeRow,
9413
+ Ft as TreeRowService,
9414
+ Qs as TrueFalseCellRenderer,
9415
+ kt as TrueFn,
9416
+ _e as TwoColorGradientArg,
9417
+ Q as UNIMPORTANT_TYPES,
9418
+ le as UndefinedPropertyType,
9419
+ uo as UrlInfo,
9420
+ Ze as ValueInfo,
9421
+ $t as ValueLabel,
9422
+ yt as WindowsShortcutActionIdMapping,
9423
+ ks as actionIds,
9424
+ Vs as allCenter,
9425
+ Os as allLeft,
9426
+ Hs as allRight,
9427
+ _s as bodyCenter,
9428
+ Ps as bodyLeft,
9429
+ Ls as bodyRight,
9430
+ Me as createHarmonizedShortcutByKeyboardEvent,
9431
+ Ye as debounce,
9432
+ no as editInputPipeForNumber,
9433
+ Ae as entitySuffix,
9434
+ tt as firstLetterUppercase,
9435
+ ne as getAreaIdentByString,
9436
+ Qe as getEntityName,
9437
+ xt as harmonizeShortcut,
9438
+ de as isAreaModelTree,
9439
+ st as isCheckboxColumnDef,
9346
9440
  j as isTreeRow,
9347
- Ms as px0,
9348
- As as px10,
9349
- ms as px100,
9350
- fs as px110,
9351
- gs as px120,
9352
- ps as px130,
9353
- us as px140,
9354
- hs as px150,
9355
- ds as px160,
9356
- cs as px170,
9357
- as as px180,
9358
- ls as px190,
9359
- Rs as px20,
9360
- Te as px200,
9361
- ns as px210,
9362
- rs as px220,
9363
- is as px230,
9364
- os as px240,
9365
- ss as px250,
9366
- ts as px260,
9367
- es as px270,
9368
- Qt as px280,
9369
- Zt as px290,
9370
- vs as px30,
9371
- Tt as px300,
9372
- Cs as px40,
9373
- qt as px400,
9374
- Ss as px50,
9375
- Jt as px500,
9376
- xs as px60,
9377
- ws as px70,
9378
- ys as px80,
9379
- bs as px90,
9380
- zt as throttle,
9381
- Qe as trimArraySuffixes
9441
+ Es as px0,
9442
+ Is as px10,
9443
+ ys as px100,
9444
+ bs as px110,
9445
+ ms as px120,
9446
+ fs as px130,
9447
+ gs as px140,
9448
+ ps as px150,
9449
+ us as px160,
9450
+ hs as px170,
9451
+ ds as px180,
9452
+ cs as px190,
9453
+ Ms as px20,
9454
+ ke as px200,
9455
+ as as px210,
9456
+ ls as px220,
9457
+ ns as px230,
9458
+ rs as px240,
9459
+ is as px250,
9460
+ os as px260,
9461
+ ss as px270,
9462
+ ts as px280,
9463
+ es as px290,
9464
+ As as px30,
9465
+ Dt as px300,
9466
+ Rs as px40,
9467
+ Qt as px400,
9468
+ vs as px50,
9469
+ Zt as px500,
9470
+ Cs as px60,
9471
+ Ss as px70,
9472
+ xs as px80,
9473
+ ws as px90,
9474
+ Ut as throttle,
9475
+ et as trimArraySuffixes
9382
9476
  };