@guiexpert/table 1.1.7 → 1.1.9

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.
Files changed (29) hide show
  1. package/index.cjs +26 -19
  2. package/index.d.ts +2 -0
  3. package/index.js +933 -691
  4. package/lib/table/action/action-id.type.d.ts +1 -1
  5. package/lib/table/action/osx-shortcut-actionId-mapping.d.ts +2 -0
  6. package/lib/table/action/shortcut.service.d.ts +19 -1
  7. package/lib/table/action/windows-shortcut-actionId-mapping.d.ts +2 -0
  8. package/lib/table/data/common/args-render-cell-div.d.ts +0 -2
  9. package/lib/table/data/options/header-group-options.d.ts +7 -0
  10. package/lib/table/data/options/header-group-options.if.d.ts +5 -0
  11. package/lib/table/data/options/table-options.d.ts +2 -0
  12. package/lib/table/data/options/table-options.if.d.ts +3 -8
  13. package/lib/table/data/tablemodel/areamodel/abstract-area-model.d.ts +1 -0
  14. package/lib/table/data/tablemodel/areamodel/area-model-cell-groups.d.ts +19 -14
  15. package/lib/table/data/tablemodel/areamodel/area-model-hidden.d.ts +1 -0
  16. package/lib/table/data/tablemodel/areamodel/area-model.d.ts +1 -0
  17. package/lib/table/data/tablemodel/areamodel/area-model.if.d.ts +5 -0
  18. package/lib/table/data/tablemodel/cellgroup/cell-group-ext.d.ts +1 -1
  19. package/lib/table/render-scope.d.ts +1 -1
  20. package/lib/table/renderer/cell-group-ext-cell-renderer.d.ts +14 -7
  21. package/lib/table/selection/selection-model.d.ts +4 -3
  22. package/lib/table/selection/selection-model.if.d.ts +1 -0
  23. package/lib/table/selection/selection.type.d.ts +2 -1
  24. package/lib/table/service/convenience-dom.service.d.ts +15 -1
  25. package/lib/table/service/copy-service.d.ts +41 -0
  26. package/lib/table/service/copy-service.if.d.ts +32 -0
  27. package/lib/table/table-api.d.ts +22 -0
  28. package/lib/table/table-scope.d.ts +70 -45
  29. package/package.json +1 -1
package/index.js CHANGED
@@ -1,11 +1,11 @@
1
- class P {
1
+ class F {
2
2
  // The constructor is private to prevent direct construction calls
3
3
  // with the `new` operator
4
4
  constructor() {
5
5
  this.alreadySet = !1;
6
6
  }
7
7
  static getInstance() {
8
- return P.instance || (P.instance = new P()), P.instance;
8
+ return F.instance || (F.instance = new F()), F.instance;
9
9
  }
10
10
  /**
11
11
  * Method to set the license key for the application.
@@ -23,18 +23,18 @@ class P {
23
23
  }
24
24
  }
25
25
  }
26
- function O(h) {
27
- return h && h.type === "TreeRow";
26
+ function L(c) {
27
+ return c && c.type === "TreeRow";
28
28
  }
29
- function z(h) {
30
- return h && h.type === "AreaModelTree";
29
+ function z(c) {
30
+ return c && c.type === "AreaModelTree";
31
31
  }
32
- function fe(h) {
33
- return h && h.type === "CheckboxColumnDef";
32
+ function ye(c) {
33
+ return c && c.type === "CheckboxColumnDef";
34
34
  }
35
35
  class K {
36
- constructor(e = -1, t = -1, o = -1, s = -1, i, r, l, n = 0, d = 0, a = 0, c = "") {
37
- this.rowIndex = e, this.rowTop = t, this.columnIndex = o, this.columnLeft = s, this.areaIdent = i, this.sideIdent = r, this.originalEvent = l, this.clickCount = n, this.draggingX = d, this.draggingY = a, this.action = c;
36
+ constructor(e = -1, t = -1, o = -1, s = -1, i, r, n, l = 0, d = 0, a = 0, h = "") {
37
+ this.rowIndex = e, this.rowTop = t, this.columnIndex = o, this.columnLeft = s, this.areaIdent = i, this.sideIdent = r, this.originalEvent = n, this.clickCount = l, this.draggingX = d, this.draggingY = a, this.action = h;
38
38
  }
39
39
  clone() {
40
40
  return new K(
@@ -52,25 +52,25 @@ class K {
52
52
  );
53
53
  }
54
54
  }
55
- class F {
55
+ class O {
56
56
  constructor(e = ">", t = "", o = []) {
57
57
  this.content = e, this.style = t, this.classes = o;
58
58
  }
59
59
  }
60
- class he {
61
- constructor(e = new F(
60
+ class ge {
61
+ constructor(e = new O(
62
62
  ">",
63
63
  "transform: rotate(90deg) translate(66%, -66%); transform-origin: 0 0;",
64
64
  ["gt-table-tree-arrow-expanded"]
65
- ), t = new F(
65
+ ), t = new O(
66
66
  ">",
67
67
  "",
68
68
  ["ge-table-tree-arrow-collapsed"]
69
- ), o = new F(
69
+ ), o = new O(
70
70
  ">",
71
71
  "color:transparent;",
72
72
  ["gt-table-tree-arrow-hidden"]
73
- ), s = new F(
73
+ ), s = new O(
74
74
  "↕",
75
75
  "",
76
76
  ["gt-table-tree-arrow-expanded-all"]
@@ -78,12 +78,12 @@ class he {
78
78
  this.arrowExpanded = e, this.arrowCollapsed = t, this.arrowPlaceholder = o, this.arrowExpandCollapseAll = s;
79
79
  }
80
80
  }
81
- class ce {
82
- constructor(e = new F("↑", "", ["ge-header-sorted-asc"]), t = new F("↓", "", ["ge-header-sorted-desc"]), o = new F("↑", "color:transparent;", [])) {
81
+ class be {
82
+ constructor(e = new O("↑", "", ["ge-header-sorted-asc"]), t = new O("↓", "", ["ge-header-sorted-desc"]), o = new O("↑", "color:transparent;", [])) {
83
83
  this.iconAsc = e, this.iconDesc = t, this.iconPlaceholder = o;
84
84
  }
85
85
  }
86
- class me {
86
+ class Ce {
87
87
  constructor(e) {
88
88
  this.domService = e;
89
89
  }
@@ -157,26 +157,26 @@ class me {
157
157
  return this.addClass(e, o), this.domService.appendChild(t, o), o;
158
158
  }
159
159
  addRowDiv(e, t, o = -1, s, i, r = "") {
160
- const l = t.index ?? -1, n = this.getDivOrCreateDiv(l, e);
161
- if (this.domService.addClass(n, "ge-table-row-div"), this.domService.addClass(n, `ge-table-row-div-${t.index}`), s === "body" && i === "center") {
160
+ const n = t.index ?? -1, l = this.getDivOrCreateDiv(n, e);
161
+ if (this.domService.addClass(l, "ge-table-row-div"), this.domService.addClass(l, `ge-table-row-div-${t.index}`), s === "body" && i === "center") {
162
162
  const d = ((t == null ? void 0 : t.index) ?? 0) % 2 === 0 ? "even" : "odd";
163
- this.domService.addClass(n, `ge-table-row-${d}`);
163
+ this.domService.addClass(l, `ge-table-row-${d}`);
164
164
  }
165
- if (this.domService.setStyle(n, "display", "clip"), this.domService.setStyle(n, "position", "absolute"), this.domService.setStyle(n, "left", `${t.left}px`), this.domService.setStyle(n, "top", `${t.top}px`), this.domService.setStyle(n, "width", `${t.width}px`), this.domService.setStyle(n, "height", `${t.height}px`), this.domService.setAttribute(n, "data-row-index", `${o}`), this.domService.setAttribute(n, "data-area", `${s}`), r) {
165
+ if (this.domService.setStyle(l, "display", "clip"), this.domService.setStyle(l, "position", "absolute"), this.domService.setStyle(l, "left", `${t.left}px`), this.domService.setStyle(l, "top", `${t.top}px`), this.domService.setStyle(l, "width", `${t.width}px`), this.domService.setStyle(l, "height", `${t.height}px`), this.domService.setAttribute(l, "data-row-index", `${o}`), this.domService.setAttribute(l, "data-area", `${s}`), r) {
166
166
  const d = this.domService.createText(r);
167
- this.domService.appendChild(n, d);
167
+ this.domService.appendChild(l, d);
168
168
  }
169
- return this.domService.appendChild(e.child, n), n;
170
- }
171
- addColumnDiv(e, t, o = -1, s = -1, i, r, l = "", n, d, a = void 0, c) {
172
- const u = d == null ? void 0 : d.treeOptions, m = d == null ? void 0 : d.showCheckboxWihoutExtraColumn, b = this.domService.createElement("div");
173
- this.domService.addClass(b, "ge-table-col-div"), this.domService.addClass(b, `ge-table-col-div-${t.index}`), this.domService.setAttribute(b, "data-col-index", `${t.index}`), this.domService.setAttribute(b, "data-row-index", `${o}`), this.domService.setAttribute(b, "data-area", `${i}`);
174
- const w = ((t == null ? void 0 : t.index) ?? 0) % 2 === 0 ? "even" : "odd";
175
- if (i === "body" && r === "center" && this.domService.addClass(b, `ge-table-column-${w}`), this.domService.setStyle(b, "display", "clip"), this.domService.setStyle(b, "position", "absolute"), this.domService.setStyle(b, "left", `${t.left}px`), this.domService.setStyle(b, "top", `${t.top}px`), this.domService.setStyle(b, "width", `${t.width}px`), this.domService.setStyle(b, "height", `${t.height}px`), n && n !== "none" && (this.domService.addClass(b, "ge-table-col-tree"), this.addArrowDiv(b, n, u, o, s, i)), m && s === 0 && a && this.addCheckboxToDiv(b, a, i, o), l) {
176
- const g = n !== "none" && s === 0;
177
- this.addLabelDiv(b, l, g, o, s, i);
169
+ return this.domService.appendChild(e.child, l), l;
170
+ }
171
+ addColumnDiv(e) {
172
+ const { parent: t, geo: o, rowIndex: s = -1, columnIndex: i = -1, areaIdent: r, sideIdent: n, text: l = "", treeArrow: d, tableOptions: a, checkedType: h = void 0, sortState: u } = e, w = a == null ? void 0 : a.treeOptions, f = a == null ? void 0 : a.showCheckboxWihoutExtraColumn, p = this.domService.createElement("div");
173
+ this.domService.addClass(p, "ge-table-col-div"), this.domService.addClass(p, `ge-table-col-div-${o.index}`), this.domService.setAttribute(p, "data-col-index", `${o.index}`), this.domService.setAttribute(p, "data-row-index", `${s}`), this.domService.setAttribute(p, "data-area", `${r}`);
174
+ const g = ((o == null ? void 0 : o.index) ?? 0) % 2 === 0 ? "even" : "odd";
175
+ if (r === "body" && n === "center" && this.domService.addClass(p, `ge-table-column-${g}`), this.domService.setStyle(p, "display", "clip"), this.domService.setStyle(p, "position", "absolute"), this.domService.setStyle(p, "left", `${o.left}px`), this.domService.setStyle(p, "top", `${o.top}px`), this.domService.setStyle(p, "width", `${o.width}px`), this.domService.setStyle(p, "height", `${o.height}px`), d && d !== "none" && (this.domService.addClass(p, "ge-table-col-tree"), this.addArrowDiv(p, d, w, s, i, r)), f && i === 0 && h && this.addCheckboxToDiv(p, h, r, s), l) {
176
+ const b = d !== "none" && i === 0;
177
+ this.addLabelDiv(p, l, b, s, i, r);
178
178
  }
179
- return c && this.addSortedIcon(b, c, d == null ? void 0 : d.sortedOptions, s), this.domService.appendChild(e, b), b;
179
+ return u && this.addSortedIcon(p, u, a == null ? void 0 : a.sortedOptions, i), this.domService.appendChild(t, p), p;
180
180
  }
181
181
  addCheckboxToDiv(e, t, o, s) {
182
182
  const i = this.domService.createElement("div"), r = t === "full" ? "checked" : "";
@@ -190,40 +190,40 @@ class me {
190
190
  class="ge-table-row-checkbox"> `, this.domService.setStyle(i, "display", "inline"), this.domService.setStyle(i, "width", "inherit"), this.domService.setAttribute(i, "data-row-index", `${s}`), this.domService.appendChild(e, i), i;
191
191
  }
192
192
  addLabelDiv(e, t = "", o = !1, s = -1, i = -1, r = "body") {
193
- const l = this.domService.createElement("div");
194
- if (this.domService.addClass(l, "ge-table-label-div"), this.domService.setStyle(l, "position", "relative"), this.domService.setStyle(l, "background", "transparent"), this.domService.setStyle(l, "width", "100%"), this.domService.setStyle(l, "height", "100%"), this.domService.setAttribute(l, "data-row-index", `${s}`), this.domService.setAttribute(l, "data-col-index", `${i}`), this.domService.setAttribute(l, "data-area", `${r}`), t)
193
+ const n = this.domService.createElement("div");
194
+ if (this.domService.addClass(n, "ge-table-label-div"), this.domService.setStyle(n, "position", "relative"), this.domService.setStyle(n, "background", "transparent"), this.domService.setStyle(n, "width", "100%"), this.domService.setStyle(n, "height", "100%"), this.domService.setAttribute(n, "data-row-index", `${s}`), this.domService.setAttribute(n, "data-col-index", `${i}`), this.domService.setAttribute(n, "data-area", `${r}`), t)
195
195
  if (o) {
196
- const n = this.domService.createText(t);
197
- this.domService.appendChild(l, n);
196
+ const l = this.domService.createText(t);
197
+ this.domService.appendChild(n, l);
198
198
  } else {
199
- const n = this.domService.createElement("div");
200
- this.domService.appendChild(l, n);
199
+ const l = this.domService.createElement("div");
200
+ this.domService.appendChild(n, l);
201
201
  const d = this.domService.createText(t);
202
- this.domService.addClass(n, "ge-table-label"), this.domService.appendChild(n, d), this.domService.setAttribute(n, "data-row-index", `${s}`), this.domService.setAttribute(n, "data-col-index", `${i}`), this.domService.setAttribute(n, "data-area", `${r}`);
202
+ this.domService.addClass(l, "ge-table-label"), this.domService.appendChild(l, d), this.domService.setAttribute(l, "data-row-index", `${s}`), this.domService.setAttribute(l, "data-col-index", `${i}`), this.domService.setAttribute(l, "data-area", `${r}`);
203
203
  }
204
- return this.domService.appendChild(e, l), l;
204
+ return this.domService.appendChild(e, n), n;
205
205
  }
206
- addSortedIcon(e, t = "", o = new ce(), s = -1) {
206
+ addSortedIcon(e, t = "", o = new be(), s = -1) {
207
207
  const i = this.domService.createElement("div");
208
208
  this.domService.addClass(i, "ge-table-sorted-icon-div"), this.domService.setStyle(i, "position", "absolute"), this.domService.setStyle(i, "top", "0"), this.domService.setStyle(i, "right", "0"), this.domService.setStyle(i, "width", "20px"), this.domService.setStyle(i, "background", "transparent"), this.domService.setStyle(i, "cursor", "pointer"), this.domService.setAttribute(i, "data-col-index", `${s}`), this.domService.setAttribute(i, "data-area", "header");
209
209
  let r;
210
210
  t === "asc" ? r = o.iconAsc : t === "desc" ? r = o.iconDesc : r = o.iconPlaceholder;
211
- const l = r.content, n = this.domService.createText(l);
212
- this.domService.appendChild(i, n), r.style && this.applyStyleString(i, r.style);
211
+ const n = r.content, l = this.domService.createText(n);
212
+ this.domService.appendChild(i, l), r.style && this.applyStyleString(i, r.style);
213
213
  for (const d of r.classes)
214
214
  this.domService.addClass(i, d);
215
215
  return this.domService.appendChild(e, i), i;
216
216
  }
217
- addArrowDiv(e, t = "none", o = new he(), s = -1, i = -1, r = "body") {
218
- const l = this.domService.createElement("div");
219
- this.domService.addClass(l, "ge-table-tree-arrow-div"), this.domService.setStyle(l, "display", "inline-block"), this.domService.setStyle(l, "position", ""), this.domService.setStyle(l, "width", "20px"), this.domService.setStyle(l, "background", "transparent"), this.domService.setStyle(l, "cursor", "pointer"), this.domService.setAttribute(l, "data-row-index", `${s}`), this.domService.setAttribute(l, "data-col-index", `${i}`), this.domService.setAttribute(l, "data-area", `${r}`);
220
- let n;
221
- t === "expanded" ? n = o.arrowExpanded : t === "collapsed" ? n = o.arrowCollapsed : n = o.arrowPlaceholder;
222
- const d = n.content, a = this.domService.createText(d);
223
- this.domService.appendChild(l, a), n.style && this.applyStyleString(l, n.style);
224
- for (const c of n.classes)
225
- this.domService.addClass(l, c);
226
- return this.domService.appendChild(e, l), l;
217
+ addArrowDiv(e, t = "none", o = new ge(), s = -1, i = -1, r = "body") {
218
+ const n = this.domService.createElement("div");
219
+ 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", `${s}`), this.domService.setAttribute(n, "data-col-index", `${i}`), this.domService.setAttribute(n, "data-area", `${r}`);
220
+ let l;
221
+ t === "expanded" ? l = o.arrowExpanded : t === "collapsed" ? l = o.arrowCollapsed : l = o.arrowPlaceholder;
222
+ const d = l.content, a = this.domService.createText(d);
223
+ this.domService.appendChild(n, a), l.style && this.applyStyleString(n, l.style);
224
+ for (const h of l.classes)
225
+ this.domService.addClass(n, h);
226
+ return this.domService.appendChild(e, n), n;
227
227
  }
228
228
  addColumnBorderDivs(e, t, o, s, i) {
229
229
  if (e.verticalBorderVisible) {
@@ -265,20 +265,20 @@ class me {
265
265
  return o ? (o.innerText = "", o) : (o = this.domService.createElement("div"), t.cache[e] = o, o);
266
266
  }
267
267
  }
268
- const Y = (h) => h === "header" ? "header" : h === "footer" ? "footer" : "body";
269
- class we {
268
+ const U = (c) => c === "header" ? "header" : c === "footer" ? "footer" : "body";
269
+ class ve {
270
270
  constructor(e, t) {
271
271
  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)) {
272
272
  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"));
273
273
  const o = e.getAttribute("data-area");
274
- if (o && (this.areaIdent = Y(o), this.areaModel = t.tableModel.getAreaModel(this.areaIdent), this.row = this.areaModel.getRowByIndex(this.rowIdx)), e instanceof HTMLInputElement) {
274
+ if (o && (this.areaIdent = U(o), this.areaModel = t.tableModel.getAreaModel(this.areaIdent), this.row = this.areaModel.getRowByIndex(this.rowIdx)), e instanceof HTMLInputElement) {
275
275
  const s = e;
276
276
  this.value = s.value;
277
277
  }
278
278
  }
279
279
  }
280
280
  }
281
- class Se {
281
+ class Re {
282
282
  constructor(e) {
283
283
  this.tableScope = e, this.doubleClickDelay = 500, this.expandedAll = !0, this.mouseDown = !1, this.dragging = !1, this.lastClicked = 0, this.tableScope.hostElement.addEventListener("click", this.onHostElementClicked.bind(this)), this.tableScope.hostElement.addEventListener("dblclick", this.onHostElementDblClicked.bind(this)), this.tableScope.hostElement.addEventListener("mousedown", this.onMouseDown.bind(this)), this.tableScope.hostElement.addEventListener("mousemove", this.onMouseMove.bind(this)), this.tableScope.hostElement.addEventListener("mouseup", this.onMouseUp.bind(this)), this.tableScope.hostElement.addEventListener("contextmenu", this.onContextmenu.bind(this)), this.tableScope.hostElement._MouseHandler = "true", this.tableScope.scrollViewport.addEventListener("scroll", this.tableScope.adjustAfterScrolling.bind(this.tableScope)), [window, this.tableScope.hostElement].forEach(
284
284
  (t) => t.addEventListener("resize", this.tableScope.adjustContainersAndRows.bind(this.tableScope))
@@ -308,12 +308,14 @@ class Se {
308
308
  if (t - this.lastClicked < this.doubleClickDelay)
309
309
  return;
310
310
  this.lastClicked = t;
311
- const o = new we(e.target, this.tableScope);
311
+ const o = new ve(e.target, this.tableScope);
312
312
  if (o.action === "toggleExpandCollapseAll")
313
313
  this.expandedAll = !this.expandedAll, this.tableScope.toggleExpandCollapseAll(this.expandedAll), e.preventDefault(), e.stopPropagation();
314
+ else if (o.action === "toggleHeaderGroup")
315
+ this.tableScope.toggleHeaderGroup(o), e.preventDefault(), e.stopPropagation();
314
316
  else if (o.inputType === "checkbox" && o.areaIdent)
315
317
  this.tableScope.toggleRowCheckbox(o.rowIdx, o.colIdx, o.areaIdent), e.preventDefault(), e.stopPropagation();
316
- else if (O(o.row) && o.areaModel) {
318
+ else if (L(o.row) && o.areaModel) {
317
319
  const s = o.colIdx === this.getArrowColumnIndex() && e.altKey, i = o.className.includes("ge-table-tree-arrow-div");
318
320
  if (console.info(i, s), s || i) {
319
321
  e.preventDefault(), e.stopPropagation();
@@ -335,15 +337,15 @@ class Se {
335
337
  */
336
338
  onHostElementDblClicked(e) {
337
339
  if (this.lastClicked = Date.now(), e.target instanceof HTMLElement) {
338
- const t = e.target, o = t.getAttribute("data-area"), s = Y(o), i = Number(t.getAttribute("data-row-index")), r = Number(t.getAttribute("data-col-index")), l = this.tableScope.tableModel.getAreaModel(s);
340
+ const t = e.target, o = t.getAttribute("data-area"), s = U(o), i = Number(t.getAttribute("data-row-index")), r = Number(t.getAttribute("data-col-index")), n = this.tableScope.tableModel.getAreaModel(s);
339
341
  if (o && s === "header")
340
342
  this.tableScope.tableModel.isSortable(r) && (this.tableScope.clearSelection(), this.tableScope.onHeaderDblClicked(e, i, r));
341
343
  else if (t.getAttribute("data-row-index")) {
342
- const n = l.getRowByIndex(i);
343
- if (o && s === "body" && l.isEditable(i, r) && (this.tableScope.clearSelection(), this.tableScope.initRenderEditor(i, r)), O(n) && r === this.getArrowColumnIndex()) {
344
+ const l = n.getRowByIndex(i);
345
+ if (o && s === "body" && n.isEditable(i, r) && (this.tableScope.clearSelection(), this.tableScope.initRenderEditor(i, r)), L(l) && r === this.getArrowColumnIndex()) {
344
346
  e.preventDefault(), e.stopPropagation();
345
- const d = n;
346
- d.expanded = !d.expanded, "recalcVisibleTreeRows" in l && l.recalcVisibleTreeRows(), this.tableScope.tableModel.recalcSize(this.tableScope.hostElement.clientWidth), this.tableScope.adjustContainersAndRows(), this.updateCollapsedExpandedState(d);
347
+ const d = l;
348
+ d.expanded = !d.expanded, "recalcVisibleTreeRows" in n && n.recalcVisibleTreeRows(), this.tableScope.tableModel.recalcSize(this.tableScope.hostElement.clientWidth), this.tableScope.adjustContainersAndRows(), this.updateCollapsedExpandedState(d);
347
349
  }
348
350
  }
349
351
  }
@@ -368,11 +370,11 @@ class Se {
368
370
  * @returns {void}
369
371
  */
370
372
  updateCollapsedExpandedState(e) {
371
- var o, s, i, r, l;
373
+ var o, s, i, r, n;
372
374
  const t = (s = (o = this.tableScope.tableOptions) == null ? void 0 : o.autoRestoreOptions) == null ? void 0 : s.getRowId;
373
375
  if (t) {
374
- const n = (i = this.tableScope.storeStateCollapsedExpandService) == null ? void 0 : i.collapsedExpandedStateGet().mode, d = n === "collapsed" && !e.expanded || n === "expanded" && e.expanded, a = n === "collapsed" && e.expanded || n === "expanded" && !e.expanded, c = t(e.data);
375
- d ? (r = this.tableScope.storeStateCollapsedExpandService) == null || r.collapsedStateIdsPush(c) : a && ((l = this.tableScope.storeStateCollapsedExpandService) == null || l.collapsedStateIdsRemove(c));
376
+ const l = (i = this.tableScope.storeStateCollapsedExpandService) == null ? void 0 : i.collapsedExpandedStateGet().mode, d = l === "collapsed" && !e.expanded || l === "expanded" && e.expanded, a = l === "collapsed" && e.expanded || l === "expanded" && !e.expanded, h = t(e.data);
377
+ d ? (r = this.tableScope.storeStateCollapsedExpandService) == null || r.collapsedStateIdsPush(h) : a && ((n = this.tableScope.storeStateCollapsedExpandService) == null || n.collapsedStateIdsRemove(h));
376
378
  }
377
379
  }
378
380
  getArrowColumnIndex() {
@@ -408,7 +410,7 @@ class Se {
408
410
  }
409
411
  }
410
412
  }
411
- class xe {
413
+ class Ae {
412
414
  constructor(e) {
413
415
  this.tableScope = e;
414
416
  }
@@ -534,8 +536,38 @@ class xe {
534
536
  setSelectionModel(e, t = !0) {
535
537
  this.tableScope.setSelectionModel(e, t);
536
538
  }
539
+ /**
540
+ * Triggers the action with the given action ID.
541
+ * This function can be invoked programmatically.
542
+ *
543
+ * @param {ActionId} actionId - The ID of the action to trigger.
544
+ * @return {void}
545
+ */
546
+ triggerAction(e) {
547
+ this.tableScope.onActionTriggered(e);
548
+ }
549
+ /**
550
+ * Retrieves the mapping of shortcuts to corresponding action in the current table scope.
551
+ *
552
+ * @return {ShortcutActionIdMapping} The mapping of shortcuts to corresponding action.
553
+ */
554
+ getShortcutActionMapping() {
555
+ return this.tableScope.shortcutService.getShortcutActionMapping();
556
+ }
557
+ /**
558
+ * Copies the selected data from the table to the clipboard.
559
+ *
560
+ * @return {Promise<string>} - A promise that resolves with the copied data as a string.
561
+ */
562
+ copyToClipboard() {
563
+ return this.tableScope.copyService.copyToClipboard(
564
+ this.tableScope.tableModel,
565
+ this.tableScope.selectionModel(),
566
+ this.tableScope.focusModel()
567
+ );
568
+ }
537
569
  }
538
- class U {
570
+ class q {
539
571
  constructor(e) {
540
572
  this.getStorageKeyFn = e;
541
573
  }
@@ -610,7 +642,7 @@ class U {
610
642
  // }
611
643
  // }
612
644
  }
613
- class ye extends U {
645
+ class Me extends q {
614
646
  constructor(e) {
615
647
  super(e), this.SCROLL_STATE = "scrollState", this.scrollOffset = [0, 0], this.load();
616
648
  }
@@ -632,14 +664,14 @@ class ye extends U {
632
664
  }
633
665
  }
634
666
  }
635
- class Ce {
667
+ class Ee {
636
668
  constructor(e = "collapsed", t = [], o = !1, s = !1) {
637
669
  this.mode = e, this.rowIds = t, this.allCollapsed = o, this.allExpanded = s;
638
670
  }
639
671
  }
640
- class ve extends U {
672
+ class Ie extends q {
641
673
  constructor(e) {
642
- super(e), this.COLLAPSED_EXPANDED_STATE = "collapsedExpandedState", this.collapsedExpandedState = new Ce(), this.load();
674
+ super(e), this.COLLAPSED_EXPANDED_STATE = "collapsedExpandedState", this.collapsedExpandedState = new Ee(), this.load();
643
675
  }
644
676
  collapsedExpandedStateGet() {
645
677
  return this.collapsedExpandedState;
@@ -671,7 +703,7 @@ class ve extends U {
671
703
  this.checkAndPersistItem(this.COLLAPSED_EXPANDED_STATE, this.collapsedExpandedState);
672
704
  }
673
705
  }
674
- class Re extends U {
706
+ class ke extends q {
675
707
  constructor(e) {
676
708
  super(e), this.SORTING_STATE = "sortingState", this.sortItems = [], this.load();
677
709
  }
@@ -698,7 +730,7 @@ class $ {
698
730
  this.left = e, this.width = t, this.height = o, this.top = s, this.index = i;
699
731
  }
700
732
  }
701
- class Ae {
733
+ class Te {
702
734
  constructor(e, t, o, s) {
703
735
  this.hostElement = e, this.tableModel = t, this.dom = o, this.tableOptions = s, this.scrollTop = 0, this.areaBodyWestGeo = new $(), this.areaBodyCenterGeo = new $(), this.areaBodyEastGeo = new $();
704
736
  const i = this.hostElement;
@@ -884,7 +916,7 @@ class R {
884
916
  return e >= this.r1 && e <= this.r2 && t >= this.c1 && t <= this.c2;
885
917
  }
886
918
  }
887
- class Ee {
919
+ class _e {
888
920
  constructor(e, t) {
889
921
  this.tableModel = e, this.areaModel = t, this.colAndRowspanRanges = void 0;
890
922
  }
@@ -898,9 +930,9 @@ class Ee {
898
930
  let i = this.areaModel.getColspanAt(o, s), r = this.areaModel.getRowspanAt(o, s);
899
931
  if (i > 1 || r > 1) {
900
932
  i === 0 && (i = 1), r === 0 && (r = 1);
901
- const l = this.areaModel.hasOwnProperty("gammaCells");
933
+ const n = "gammaCells" in this.areaModel;
902
934
  this.colAndRowspanRanges.push(
903
- new R(o, s, o + r - 1, s + i - 1, l)
935
+ new R(o, s, o + r - 1, s + i - 1, n)
904
936
  );
905
937
  }
906
938
  }
@@ -922,17 +954,17 @@ class T {
922
954
  this.header = e, this.body = t, this.footer = o;
923
955
  }
924
956
  }
925
- class Me extends Ae {
957
+ class De extends Te {
926
958
  constructor(e, t, o, s) {
927
- var r, l;
959
+ var r, n;
928
960
  super(e, t, o, s), this.scrollLeft = 0, this.scrollViewportLeft = 0, this.scrollFactorY = 0, this.scrollFactorX = 0, this.cleanupFunctions = {
929
961
  header: [],
930
962
  body: [],
931
963
  footer: []
932
- }, this.tree = !1, this.colAndRowspanModels = new T(), this.firstVisibleRowIndex = -1, this.draggingTargetColumnIndex = -1, this.removables = [], this.editing = !1, this.tableModel.getSelectionModel ? this.getSelectionModel = this.tableModel.getSelectionModel : (r = this.tableOptions) != null && r.getSelectionModel && (this.getSelectionModel = this.tableOptions.getSelectionModel), (l = this.tableOptions) != null && l.getFocusModel && (this.getFocusModel = this.tableOptions.getFocusModel), z(t.getAreaModel("body")) && (this.tree = !0), ["header", "body", "footer"].forEach(
933
- (n) => {
964
+ }, this.tree = !1, this.colAndRowspanModels = new T(), this.firstVisibleRowIndex = -1, this.draggingTargetColumnIndex = -1, this.removables = [], this.editing = !1, this.tableModel.getSelectionModel ? this.getSelectionModel = this.tableModel.getSelectionModel : (r = this.tableOptions) != null && r.getSelectionModel && (this.getSelectionModel = this.tableOptions.getSelectionModel), (n = this.tableOptions) != null && n.getFocusModel && (this.getFocusModel = this.tableOptions.getFocusModel), z(t.getAreaModel("body")) && (this.tree = !0), ["header", "body", "footer"].forEach(
965
+ (l) => {
934
966
  var d;
935
- this.colAndRowspanModels[n] = new Ee(t, t.getAreaModel(n)), (d = this.colAndRowspanModels[n]) == null || d.init();
967
+ this.colAndRowspanModels[l] = new _e(t, t.getAreaModel(l)), (d = this.colAndRowspanModels[l]) == null || d.init();
936
968
  }
937
969
  );
938
970
  }
@@ -1061,84 +1093,84 @@ class Me extends Ae {
1061
1093
  var g;
1062
1094
  const o = this.getArea(e, "west"), s = this.getArea(e, "center"), i = this.getArea(e, "east"), r = s.child.clientHeight;
1063
1095
  o.child.innerText = "", s.child.innerText = "", i.child.innerText = "";
1064
- const l = 0, n = this.areaBodyCenterGeo.width, d = this.tableModel.getPadding(), a = this.tableModel.getAreaModel(e), c = a.getRowCount();
1065
- for (; this.cleanupFunctions[e].length; ) {
1066
- const p = this.cleanupFunctions[e].shift();
1067
- p && p();
1096
+ const n = 0, l = this.areaBodyCenterGeo.width, d = this.tableModel.getPadding(), a = this.tableModel.getAreaModel(e), h = a.getRowCount();
1097
+ for (e === "header" && console.info("rowCount", h); this.cleanupFunctions[e].length; ) {
1098
+ const b = this.cleanupFunctions[e].shift();
1099
+ b && b();
1068
1100
  }
1069
1101
  let u = t;
1070
- const m = this.tableModel.getColumnCount(), b = this.tableModel.getFixedRightColumnCount(), w = this.tableModel.getFixedLeftColumnCount();
1071
- for (let p = 0; p < c; p++) {
1072
- const A = u, C = p === c - 1, v = this.tableModel.getRowHeight(e, p);
1073
- if (A + v > 0) {
1074
- this.firstVisibleRowIndex = p;
1075
- let x = { left: l, width: n, height: v, top: A, index: p }, y = this.dom.addRowDiv(s, x, p, e, "center");
1076
- const E = w;
1102
+ const w = this.tableModel.getColumnCount(), f = this.tableModel.getFixedRightColumnCount(), p = this.tableModel.getFixedLeftColumnCount();
1103
+ for (let b = 0; b < h; b++) {
1104
+ const C = u, v = b === h - 1, A = this.tableModel.getRowHeight(e, b);
1105
+ if (C + A > 0) {
1106
+ this.firstVisibleRowIndex = b;
1107
+ let y = { left: n, width: l, height: A, top: C, index: b }, S = this.dom.addRowDiv(s, y, b, e, "center");
1108
+ const k = p;
1077
1109
  if (this.adjustColumnsToRowParent({
1078
1110
  areaIdent: e,
1079
1111
  sideIdent: "center",
1080
1112
  areaModel: a,
1081
- geo: x,
1082
- parent: y,
1083
- rowIndex: p,
1084
- columnIndexStart: E,
1085
- columnIndexEnd: m - b - 1,
1113
+ geo: y,
1114
+ parent: S,
1115
+ rowIndex: b,
1116
+ columnIndexStart: k,
1117
+ columnIndexEnd: w - f - 1,
1086
1118
  verticalFixed: !1,
1087
- lastRowOfModel: C
1088
- }), d.left > 0 && (x = { left: l, width: this.areaBodyWestGeo.width, height: v, top: A, index: p }, y = this.dom.addRowDiv(o, x, p, e, "west"), this.adjustColumnsToRowParent({
1119
+ lastRowOfModel: v
1120
+ }), d.left > 0 && (y = { left: n, width: this.areaBodyWestGeo.width, height: A, top: C, index: b }, S = this.dom.addRowDiv(o, y, b, e, "west"), this.adjustColumnsToRowParent({
1089
1121
  areaIdent: e,
1090
1122
  sideIdent: "west",
1091
1123
  areaModel: a,
1092
- geo: x,
1093
- parent: y,
1094
- rowIndex: p,
1124
+ geo: y,
1125
+ parent: S,
1126
+ rowIndex: b,
1095
1127
  columnIndexStart: 0,
1096
- columnIndexEnd: E - 1,
1128
+ columnIndexEnd: k - 1,
1097
1129
  verticalFixed: !0,
1098
- lastRowOfModel: C
1099
- })), d.right > 0 && (x = { left: l, width: this.areaBodyEastGeo.width, height: v, top: A, index: p }, y = this.dom.addRowDiv(i, x, p, e, "east"), this.adjustColumnsToRowParent({
1130
+ lastRowOfModel: v
1131
+ })), d.right > 0 && (y = { left: n, width: this.areaBodyEastGeo.width, height: A, top: C, index: b }, S = this.dom.addRowDiv(i, y, b, e, "east"), this.adjustColumnsToRowParent({
1100
1132
  areaIdent: e,
1101
1133
  sideIdent: "east",
1102
1134
  areaModel: a,
1103
- geo: x,
1104
- parent: y,
1105
- rowIndex: p,
1106
- columnIndexStart: m - b,
1107
- columnIndexEnd: m - 1,
1135
+ geo: y,
1136
+ parent: S,
1137
+ rowIndex: b,
1138
+ columnIndexStart: w - f,
1139
+ columnIndexEnd: w - 1,
1108
1140
  verticalFixed: !0,
1109
- lastRowOfModel: C
1110
- })), e === "header" && this.tree && p === c - 1) {
1141
+ lastRowOfModel: v
1142
+ })), e === "header" && this.tree && b === h - 1) {
1111
1143
  const M = this.dom.applyStyle(
1112
1144
  this.dom.setAttribute(
1113
- this.dom.addDiv(y, new $(16, 20, 20, 8)),
1145
+ this.dom.addDiv(S, new $(16, 20, 20, 8)),
1114
1146
  "data-ge-action",
1115
1147
  "toggleExpandCollapseAll"
1116
1148
  ),
1117
1149
  { cursor: "pointer" }
1118
- ), k = this.tableOptions.treeOptions.arrowExpandCollapseAll;
1119
- if (k) {
1120
- const B = this.dom.domService.createText(k.content);
1121
- this.dom.domService.appendChild(M, B), k.style && this.dom.applyStyleString(M, k.style);
1150
+ ), E = this.tableOptions.treeOptions.arrowExpandCollapseAll;
1151
+ if (E) {
1152
+ const B = this.dom.domService.createText(E.content);
1153
+ this.dom.domService.appendChild(M, B), E.style && this.dom.applyStyleString(M, E.style);
1122
1154
  }
1123
1155
  }
1124
1156
  }
1125
- if (u = u + v, u > r)
1157
+ if (u = u + A, u > r)
1126
1158
  break;
1127
1159
  }
1128
1160
  if (this.colAndRowspanModels && this.colAndRowspanModels[e]) {
1129
- const p = ((g = this.colAndRowspanModels[e]) == null ? void 0 : g.getRanges()) ?? [];
1130
- if (p.length)
1131
- for (const A of p) {
1132
- let C = 0, v = s.child, x = "center";
1133
- if (A.c1 < w)
1134
- v = o.child, x = "west";
1135
- else if (b > 0 && A.c1 >= m - b)
1136
- v = i.child, x = "east";
1161
+ const b = ((g = this.colAndRowspanModels[e]) == null ? void 0 : g.getRanges()) ?? [];
1162
+ if (b.length)
1163
+ for (const C of b) {
1164
+ let v = 0, A = s.child, y = "center";
1165
+ if (C.c1 < p)
1166
+ A = o.child, y = "west";
1167
+ else if (f > 0 && C.c1 >= w - f)
1168
+ A = i.child, y = "east";
1137
1169
  else {
1138
- const y = this.areaBodyCenterGeo.width - this.tableModel.getContentWidthInPixel();
1139
- C = this.scrollFactorX * y - this.areaBodyWestGeo.width, x = "center";
1170
+ const S = this.areaBodyCenterGeo.width - this.tableModel.getContentWidthInPixel();
1171
+ v = this.scrollFactorX * S - this.areaBodyWestGeo.width, y = "center";
1140
1172
  }
1141
- this.drawBigCell(A, C, t, a, v, x);
1173
+ this.drawBigCell(C, v, t, a, A, y);
1142
1174
  }
1143
1175
  }
1144
1176
  }
@@ -1153,46 +1185,46 @@ class Me extends Ae {
1153
1185
  * @protected
1154
1186
  */
1155
1187
  drawBigCell(e, t, o, s, i, r) {
1156
- const l = o + this.getRowHeights(0, e.r1 - 1, s).reduce((g, p) => g + p, 0), n = this.tableModel.getColumnCount(), d = this.tableModel.getFixedRightColumnCount();
1188
+ const n = o + this.getRowHeights(0, e.r1 - 1, s).reduce((g, b) => g + b, 0), l = this.tableModel.getColumnCount(), d = this.tableModel.getFixedRightColumnCount();
1157
1189
  let a = 0;
1158
- d > 0 && e.c1 >= n - d && (a = n - d);
1159
- const c = t + this.getColumnWidths(a, e.c1 - 1).reduce((g, p) => g + p, 0), u = this.getRowHeights(e.r1, e.r2, s).reduce((g, p) => g + p, 0), m = this.getColumnWidths(e.c1, e.c2).reduce((g, p) => g + p, 0);
1160
- let b = !1;
1161
- const w = this.getSelectionModel ? this.getSelectionModel() : void 0;
1162
- w && (b = w.getSelectionCount(e.r1, e.c1) > 0), e.gammaRange ? (console.info("TODO here", e), this.renderCell({
1190
+ d > 0 && e.c1 >= l - d && (a = l - d);
1191
+ const h = t + this.getColumnWidths(a, e.c1 - 1).reduce((g, b) => g + b, 0), u = this.getRowHeights(e.r1, e.r2, s).reduce((g, b) => g + b, 0), w = this.getColumnWidths(e.c1, e.c2).reduce((g, b) => g + b, 0);
1192
+ let f = !1;
1193
+ const p = this.getSelectionModel ? this.getSelectionModel() : void 0;
1194
+ p && (f = p.getSelectionCount(e.r1, e.c1) > 0), e.gammaRange ? this.renderCell({
1163
1195
  areaModel: s,
1164
1196
  areaIdent: s.areaIdent,
1165
1197
  sideIdent: r,
1166
1198
  rowIndex: e.r1,
1167
1199
  columnIndex: e.c1,
1168
- left: c,
1169
- top: l,
1170
- width: m,
1200
+ left: h,
1201
+ top: n,
1202
+ width: w,
1171
1203
  height: u,
1172
1204
  parent: i,
1173
- cellSelected: b,
1205
+ cellSelected: f,
1174
1206
  lastRowOfModel: !0,
1175
1207
  gammaRange: e.gammaRange
1176
- })) : this.renderCell({
1208
+ }) : this.renderCell({
1177
1209
  areaModel: s,
1178
1210
  areaIdent: s.areaIdent,
1179
1211
  sideIdent: r,
1180
1212
  rowIndex: e.r1,
1181
1213
  columnIndex: e.c1,
1182
- left: c,
1183
- top: l,
1184
- width: m,
1214
+ left: h,
1215
+ top: n,
1216
+ width: w,
1185
1217
  height: u,
1186
1218
  parent: i,
1187
- cellSelected: b,
1219
+ cellSelected: f,
1188
1220
  lastRowOfModel: !0,
1189
1221
  gammaRange: e.gammaRange
1190
1222
  }), s.areaIdent === "header" && this.tableOptions.columnsResizable && this.renderHeaderCellResizeHandle({
1191
1223
  rowIndex: e.r1,
1192
1224
  columnIndex: e.c1,
1193
- cellLeft: c,
1194
- cellTop: l,
1195
- cellWidth: m,
1225
+ cellLeft: h,
1226
+ cellTop: n,
1227
+ cellWidth: w,
1196
1228
  cellHeight: u,
1197
1229
  parent: i
1198
1230
  });
@@ -1215,45 +1247,45 @@ class Me extends Ae {
1215
1247
  geo: s,
1216
1248
  parent: i,
1217
1249
  rowIndex: r,
1218
- columnIndexStart: l,
1219
- columnIndexEnd: n,
1250
+ columnIndexStart: n,
1251
+ columnIndexEnd: l,
1220
1252
  verticalFixed: d = !1,
1221
1253
  lastRowOfModel: a = !1
1222
1254
  }) {
1223
- var w;
1255
+ var p;
1224
1256
  this.scrollViewportLeft = this.scrollViewport.scrollLeft;
1225
- let c = 0;
1257
+ let h = 0;
1226
1258
  if (!d) {
1227
1259
  const g = this.areaBodyCenterGeo.width - this.tableModel.getContentWidthInPixel();
1228
- c = this.scrollFactorX * g;
1260
+ h = this.scrollFactorX * g;
1229
1261
  }
1230
- const u = 0, m = !!(e === "body" && t);
1231
- let b = c;
1232
- for (let g = l; g <= n; g++) {
1233
- const p = b, A = this.tableModel.getColumnWidth(g);
1234
- if (A > 0 && p + A > 0) {
1235
- let C = s.height;
1236
- const v = o.getRowspanAt(r, g), x = o.getColspanAt(r, g);
1237
- v > 1 && (C = this.getRowHeights(r, r + v - 1, o).reduce((M, k) => M + k, 0));
1238
- let y = A;
1239
- x > 1 && (y = this.getColumnWidths(g, g + x - 1).reduce((M, k) => M + k, 0));
1240
- let E = !1;
1241
- if (this.colAndRowspanModels && this.colAndRowspanModels[e] && (w = this.colAndRowspanModels[e]) != null && w.isInRange(r, g) && (E = !0), this.draggingTargetColumnIndex === g && e !== "header") {
1242
- this.renderDragTargetDiv(i, p, u, y, C);
1243
- const M = { left: p, top: u, width: y, height: C };
1262
+ const u = 0, w = !!(e === "body" && t);
1263
+ let f = h;
1264
+ for (let g = n; g <= l; g++) {
1265
+ const b = f, C = this.tableModel.getColumnWidth(g);
1266
+ if (C > 0 && b + C > 0) {
1267
+ let v = s.height;
1268
+ const A = o.getRowspanAt(r, g), y = o.getColspanAt(r, g);
1269
+ A > 1 && (v = this.getRowHeights(r, r + A - 1, o).reduce((M, E) => M + E, 0));
1270
+ let S = C;
1271
+ y > 1 && (S = this.getColumnWidths(g, g + y - 1).reduce((M, E) => M + E, 0));
1272
+ let k = !1;
1273
+ if (this.colAndRowspanModels && this.colAndRowspanModels[e] && (p = this.colAndRowspanModels[e]) != null && p.isInRange(r, g) && (k = !0), this.draggingTargetColumnIndex === g && e !== "header") {
1274
+ this.renderDragTargetDiv(i, b, u, S, v);
1275
+ const M = { left: b, top: u, width: S, height: v };
1244
1276
  this.dom.addColumnBorderDivs(this.tableOptions, i, M, e, t);
1245
1277
  } else {
1246
- const M = this.renderSelectedBackgroundDiv(E, m, t, o, r, g, i, p, u, y, C);
1247
- E || this.renderCell({
1278
+ const M = this.renderSelectedBackgroundDiv(k, w, t, o, r, g, i, b, u, S, v);
1279
+ "gammaCells" in o && o.getValueAt(r, g) && (k = !1), k || this.renderCell({
1248
1280
  areaModel: o,
1249
1281
  areaIdent: e,
1250
1282
  sideIdent: t,
1251
1283
  rowIndex: r,
1252
1284
  columnIndex: g,
1253
- left: p,
1285
+ left: b,
1254
1286
  top: u,
1255
- width: y,
1256
- height: C,
1287
+ width: S,
1288
+ height: v,
1257
1289
  parent: i,
1258
1290
  cellSelected: M,
1259
1291
  lastRowOfModel: a,
@@ -1261,18 +1293,18 @@ class Me extends Ae {
1261
1293
  }), e === "header" && this.tableOptions.columnsResizable && this.renderHeaderCellResizeHandle({
1262
1294
  rowIndex: r,
1263
1295
  columnIndex: g,
1264
- cellLeft: p,
1296
+ cellLeft: b,
1265
1297
  cellTop: u,
1266
- cellWidth: y,
1267
- cellHeight: C,
1298
+ cellWidth: S,
1299
+ cellHeight: v,
1268
1300
  parent: i
1269
1301
  });
1270
1302
  }
1271
1303
  }
1272
- if (b = b + A, b > this.areaBodyCenterGeo.width)
1304
+ if (f = f + C, f > this.areaBodyCenterGeo.width)
1273
1305
  break;
1274
1306
  }
1275
- this.tableOptions.verticalBorderVisible && this.dom.addVerticalBorder(new $(b - 1, 1, s.height, 0), i);
1307
+ this.tableOptions.verticalBorderVisible && this.dom.addVerticalBorder(new $(f - 1, 1, s.height, 0), i);
1276
1308
  }
1277
1309
  getTreeArrowColumnIndex() {
1278
1310
  return this.tableOptions.showCheckboxWihoutExtraColumn ? 0 : this.tableModel.isRowCheckboxVisible() ? 1 : 0;
@@ -1284,54 +1316,55 @@ class Me extends Ae {
1284
1316
  rowIndex: s,
1285
1317
  index: i,
1286
1318
  left: r,
1287
- width: l,
1288
- height: n,
1319
+ width: n,
1320
+ height: l,
1289
1321
  top: d,
1290
1322
  parent: a,
1291
- lastRowOfModel: c,
1292
- gammaRange: u
1323
+ lastRowOfModel: h
1293
1324
  }) {
1294
- var Z;
1295
- const b = this.editorRenderer && this.editorRendererRow === s && this.editorRendererColumn === i ? this.editorRenderer : e.getCellRenderer(s, i), w = { left: r, width: l, height: n, top: d, index: i }, g = e.getRowByIndex(s);
1296
- let p = "none";
1297
- if (i === this.getTreeArrowColumnIndex() && O(g)) {
1298
- const S = g;
1299
- (Z = S.children) != null && Z.length ? S.expanded ? p = "expanded" : p = "collapsed" : p = "hidden";
1325
+ var te;
1326
+ const w = this.editorRenderer && this.editorRendererRow === s && this.editorRendererColumn === i ? this.editorRenderer : e.getCellRenderer(s, i), f = { left: r, width: n, height: l, top: d, index: i }, p = e.getRowByIndex(s);
1327
+ let g = "none";
1328
+ if (i === this.getTreeArrowColumnIndex() && L(p)) {
1329
+ const x = p;
1330
+ (te = x.children) != null && te.length ? x.expanded ? g = "expanded" : g = "collapsed" : g = "hidden";
1300
1331
  }
1301
1332
  let C;
1302
1333
  if (t === "header") {
1303
- const S = this.tableModel.getColumnDef(i);
1304
- (!(S != null && S.sortIconVisible) || S != null && S.sortIconVisible()) && (C = S == null ? void 0 : S.sortState);
1334
+ const x = this.tableModel.getColumnDef(i);
1335
+ (!(x != null && x.sortIconVisible) || x != null && x.sortIconVisible()) && (C = x == null ? void 0 : x.sortState);
1305
1336
  }
1306
- const v = e.getValueAt(s, i), x = b ? "" : `${v}`, y = e.isRowChecked(s), E = this.dom.addColumnDiv(
1307
- a,
1308
- w,
1309
- s,
1310
- i,
1311
- t,
1312
- o,
1313
- x,
1314
- p,
1315
- this.tableOptions,
1316
- y,
1317
- C
1318
- ), M = e.getTooltipAt(s, i);
1319
- M && this.dom.setAttribute(E, "title", M);
1320
- const k = this.tableModel.getColumnDef(i);
1321
- k && k.classes[t] && this.dom.addClasses(k.classes[t], E);
1322
- let B;
1323
- b && (B = b.render(E, s, i, t, e, v, this.dom.domService));
1324
- const Q = e.getCustomClassesAt(s, i);
1325
- if (Q.length && this.dom.addClasses(Q, E), this.dom.addColumnBorderDivs(this.tableOptions, a, w, t, o), c && this.dom.addHorizontalBorder({ left: r, width: l, height: n, top: d + n }, a), this.getFocusModel && t === "body") {
1326
- const S = this.getFocusModel();
1327
- S != null && S.hasFocus(s, i) && this.dom.addFocusBorderDivs(a, w, {});
1337
+ const v = e.getValueAt(s, i), A = w ? "" : `${v}`, y = e.isRowChecked(s), S = this.dom.addColumnDiv(
1338
+ {
1339
+ parent: a,
1340
+ geo: f,
1341
+ rowIndex: s,
1342
+ columnIndex: i,
1343
+ areaIdent: t,
1344
+ sideIdent: o,
1345
+ text: A,
1346
+ treeArrow: g,
1347
+ tableOptions: this.tableOptions,
1348
+ checkedType: y,
1349
+ sortState: C
1350
+ }
1351
+ ), k = e.getTooltipAt(s, i);
1352
+ k && this.dom.setAttribute(S, "title", k);
1353
+ const M = this.tableModel.getColumnDef(i);
1354
+ M && M.classes[t] && this.dom.addClasses(M.classes[t], S);
1355
+ let E;
1356
+ w && (E = w.render(S, s, i, t, e, v, this.dom.domService));
1357
+ const B = e.getCustomClassesAt(s, i);
1358
+ if (B.length && this.dom.addClasses(B, S), this.dom.addColumnBorderDivs(this.tableOptions, a, f, t, o), h && this.dom.addHorizontalBorder({ left: r, width: n, height: l, top: d + l }, a), this.getFocusModel && t === "body") {
1359
+ const x = this.getFocusModel();
1360
+ x != null && x.hasFocus(s, i) && this.dom.addFocusBorderDivs(a, f, {});
1328
1361
  }
1329
- t === "header" && this.dom.setAttribute(E, "data-ge-action", "drag-column");
1362
+ t === "header" && this.dom.setAttribute(S, "data-ge-action", "drag-column");
1330
1363
  const G = e.getCustomStyleAt(s, i);
1331
1364
  if (G)
1332
- for (const S in G)
1333
- this.dom.setStyle(E, S, G[S]);
1334
- return [E, B];
1365
+ for (const x in G)
1366
+ this.dom.setStyle(S, x, G[x]);
1367
+ return [S, E];
1335
1368
  }
1336
1369
  applyCssClasses(e, t = {}) {
1337
1370
  e && Object.entries(t).forEach(([o, s]) => {
@@ -1339,22 +1372,22 @@ class Me extends Ae {
1339
1372
  });
1340
1373
  }
1341
1374
  rerenderCellContent({ area: e, rowIndex: t, columnIndex: o, value: s, cssClasses: i }) {
1342
- const r = this.tableModel.getAreaModel(e), l = 'div[data-col-index="' + o + '"][data-row-index="' + t + '"][data-area="' + e + '"]', n = document.querySelector(l);
1343
- if (n) {
1375
+ const r = this.tableModel.getAreaModel(e), n = 'div[data-col-index="' + o + '"][data-row-index="' + t + '"][data-area="' + e + '"]', l = document.querySelector(n);
1376
+ if (l) {
1344
1377
  let d;
1345
- const c = this.editorRenderer && this.editorRendererRow === t && this.editorRendererColumn === o ? this.editorRenderer : r.getCellRenderer(t, o);
1346
- if (n.innerText = "", this.applyCssClasses(n, i), c)
1347
- d = c.render(n, t, o, e, r, s, this.dom.domService), d && this.cleanupFunctions[e].push(d);
1378
+ const h = this.editorRenderer && this.editorRendererRow === t && this.editorRendererColumn === o ? this.editorRenderer : r.getCellRenderer(t, o);
1379
+ if (l.innerText = "", this.applyCssClasses(l, i), h)
1380
+ d = h.render(l, t, o, e, r, s, this.dom.domService), d && this.cleanupFunctions[e].push(d);
1348
1381
  else {
1349
- const b = `${s}`;
1350
- this.dom.addLabelDiv(n, b, !1, t, o, e);
1382
+ const f = `${s}`;
1383
+ this.dom.addLabelDiv(l, f, !1, t, o, e);
1351
1384
  }
1352
1385
  const u = r.getCustomClassesAt(t, o);
1353
- u.length && this.dom.addClasses(u, n);
1354
- const m = r.getCustomStyleAt(t, o);
1355
- if (m)
1356
- for (const b in m)
1357
- this.dom.setStyle(n, b, m[b]);
1386
+ u.length && this.dom.addClasses(u, l);
1387
+ const w = r.getCustomStyleAt(t, o);
1388
+ if (w)
1389
+ for (const f in w)
1390
+ this.dom.setStyle(l, f, w[f]);
1358
1391
  }
1359
1392
  }
1360
1393
  getColumnWidths(e, t) {
@@ -1414,19 +1447,19 @@ class Me extends Ae {
1414
1447
  );
1415
1448
  return this.dom.setStyle(r, "left", `${t}px`), this.dom.setStyle(r, "top", `${o}px`), this.dom.setStyle(r, "width", `${s}px`), this.dom.setStyle(r, "height", `${i}px`), r;
1416
1449
  }
1417
- renderSelectedBackgroundDiv(e, t, o, s, i, r, l, n, d, a, c) {
1450
+ renderSelectedBackgroundDiv(e, t, o, s, i, r, n, l, d, a, h) {
1418
1451
  let u = !1;
1419
1452
  if (!e && t && s.isSelectable(i, r) && this.getSelectionModel) {
1420
- const m = this.getSelectionModel();
1421
- if (m) {
1422
- const b = m.getSelectionCount(i, r);
1423
- u = b > 0;
1424
- for (let w = 0; w < b; w++) {
1453
+ const w = this.getSelectionModel();
1454
+ if (w) {
1455
+ const f = w.getSelectionCount(i, r);
1456
+ u = f > 0;
1457
+ for (let p = 0; p < f; p++) {
1425
1458
  const g = this.dom.applyStylePosistionAbsolute(
1426
1459
  // ge-table-body-west-selected-range
1427
- this.dom.createDivWithClass(`ge-table-${s.areaIdent}-${o}-selected-range`, l)
1460
+ this.dom.createDivWithClass(`ge-table-${s.areaIdent}-${o}-selected-range`, n)
1428
1461
  );
1429
- this.dom.setStyle(g, "left", `${n}px`), this.dom.setStyle(g, "top", `${d}px`), this.dom.setStyle(g, "width", `${a}px`), this.dom.setStyle(g, "height", `${c}px`);
1462
+ this.dom.setStyle(g, "left", `${l}px`), this.dom.setStyle(g, "top", `${d}px`), this.dom.setStyle(g, "width", `${a}px`), this.dom.setStyle(g, "height", `${h}px`);
1430
1463
  }
1431
1464
  }
1432
1465
  }
@@ -1439,41 +1472,39 @@ class Me extends Ae {
1439
1472
  rowIndex: s,
1440
1473
  columnIndex: i,
1441
1474
  left: r,
1442
- top: l,
1443
- width: n,
1475
+ top: n,
1476
+ width: l,
1444
1477
  height: d,
1445
1478
  parent: a,
1446
- cellSelected: c,
1447
- lastRowOfModel: u,
1448
- gammaRange: m
1479
+ cellSelected: h,
1480
+ lastRowOfModel: u
1449
1481
  }) {
1450
- const [b, w] = this.addAndRenderCellDiv({
1482
+ const [w, f] = this.addAndRenderCellDiv({
1451
1483
  areaModel: e,
1452
1484
  areaIdent: t,
1453
1485
  sideIdent: o,
1454
1486
  rowIndex: s,
1455
1487
  index: i,
1456
1488
  left: r,
1457
- width: n,
1489
+ width: l,
1458
1490
  height: d,
1459
- top: l,
1491
+ top: n,
1460
1492
  parent: a,
1461
- lastRowOfModel: u,
1462
- gammaRange: m
1493
+ lastRowOfModel: u
1463
1494
  });
1464
- c && this.dom.addClass(`ge-table-${t}-${o}-selected-range`, b), w && this.cleanupFunctions[t].push(w);
1495
+ h && this.dom.addClass(`ge-table-${t}-${o}-selected-range`, w), f && this.cleanupFunctions[t].push(f);
1465
1496
  }
1466
- renderHeaderCellResizeHandle({ rowIndex: e, columnIndex: t, cellLeft: o, cellTop: s, cellWidth: i, cellHeight: r, parent: l }) {
1467
- const n = this.dom.domService, d = this.tableOptions.columnResizeHandleWidthInPx ?? 2, a = n.createElement("div");
1468
- n.setAttribute(a, "data-col-index", `${t}`), n.setAttribute(a, "data-row-index", `${e}`), n.setAttribute(a, "data-area", "header"), n.setAttribute(a, "data-ge-action", "resize-column"), n.addClass(a, "ge-table-column-resize-handle"), n.setStyle(a, "display", "clip"), n.setStyle(a, "position", "absolute"), n.setStyle(a, "cursor", "col-resize"), n.setStyle(a, "left", `${o + i - d}px`), n.setStyle(a, "top", `${s}px`), n.setStyle(a, "width", `${d}px`), n.setStyle(a, "height", `${r}px`), n.appendChild(l, a);
1497
+ renderHeaderCellResizeHandle({ rowIndex: e, columnIndex: t, cellLeft: o, cellTop: s, cellWidth: i, cellHeight: r, parent: n }) {
1498
+ const l = this.dom.domService, d = this.tableOptions.columnResizeHandleWidthInPx ?? 2, a = l.createElement("div");
1499
+ l.setAttribute(a, "data-col-index", `${t}`), l.setAttribute(a, "data-row-index", `${e}`), l.setAttribute(a, "data-area", "header"), l.setAttribute(a, "data-ge-action", "resize-column"), l.addClass(a, "ge-table-column-resize-handle"), l.setStyle(a, "display", "clip"), l.setStyle(a, "position", "absolute"), l.setStyle(a, "cursor", "col-resize"), l.setStyle(a, "left", `${o + i - d}px`), l.setStyle(a, "top", `${s}px`), l.setStyle(a, "width", `${d}px`), l.setStyle(a, "height", `${r}px`), l.appendChild(n, a);
1469
1500
  }
1470
1501
  }
1471
- class ke {
1502
+ class $e {
1472
1503
  constructor(e, t) {
1473
1504
  this.columnIndex = e, this.sortState = t;
1474
1505
  }
1475
1506
  }
1476
- class Ie {
1507
+ class Oe {
1477
1508
  constructor(e) {
1478
1509
  this.tableScope = e, this.tableScope.hostElement.addEventListener("change", this.onHostElementChanged.bind(this));
1479
1510
  }
@@ -1489,36 +1520,36 @@ class Ie {
1489
1520
  if (e.target instanceof HTMLInputElement || e.target instanceof HTMLSelectElement || e.target instanceof HTMLTextAreaElement) {
1490
1521
  const t = e.target, o = t.getAttribute("data-area"), s = t.getAttribute("data-row-index"), i = t.getAttribute("data-col-index");
1491
1522
  if (o && s && i) {
1492
- const r = Y(o), l = Number(s), n = Number(i);
1493
- this.tableScope.updateModelValueAfterEdit(r, l, n, t.value);
1523
+ const r = U(o), n = Number(s), l = Number(i);
1524
+ this.tableScope.updateModelValueAfterEdit(r, n, l, t.value);
1494
1525
  }
1495
1526
  }
1496
1527
  }
1497
1528
  }
1498
- class Te {
1529
+ class Pe {
1499
1530
  constructor(e = -1, t = -1) {
1500
1531
  this.rowIndex = e, this.columnIndex = t;
1501
1532
  }
1502
1533
  }
1503
- class q {
1534
+ class J {
1504
1535
  constructor(e) {
1505
1536
  this.cells = e;
1506
1537
  }
1507
1538
  static createSingle(e, t) {
1508
- return new q([new Te(e, t)]);
1539
+ return new J([new Pe(e, t)]);
1509
1540
  }
1510
1541
  }
1511
- class De {
1542
+ class Fe {
1512
1543
  constructor(e) {
1513
1544
  var t, o;
1514
1545
  this.tableScope = e, (t = this.tableScope.tableOptions) != null && t.getSelectionModel && (this.getSelectionModel = this.tableScope.tableOptions.getSelectionModel), (o = this.tableScope.tableOptions) != null && o.getFocusModel && (this.getFocusModel = this.tableScope.tableOptions.getFocusModel);
1515
1546
  }
1516
1547
  onMouseClicked(e, t) {
1517
- var i, r, l, n, d, a, c;
1548
+ var i, r, n, l, d, a, h;
1518
1549
  let o = !1, s = !1;
1519
1550
  if (this.getSelectionModel && this.getFocusModel) {
1520
- const u = this.getSelectionModel(), m = this.getFocusModel();
1521
- u && m && (m.hasFocus(e.rowIndex, e.columnIndex) || (m.setFocus(e.rowIndex, e.columnIndex), o = !0), (i = e.originalEvent) != null && i.shiftKey || u.hasSelection() && (u.clear(), o = !0), (r = e.originalEvent) != null && r.shiftKey && this.previousEvt ? (u.addSelection(this.createRangeByEvents(e, this.previousEvt)), s = !0, o = !0) : (l = e.originalEvent) != null && l.altKey && ((n = e.originalEvent) != null && n.ctrlKey || (d = e.originalEvent) != null && d.metaKey) ? (u.removeSelection(R.singleCell(e.rowIndex, e.columnIndex)), s = !0, o = !0) : (a = e.originalEvent) != null && a.ctrlKey || (c = e.originalEvent) != null && c.metaKey ? (u.addSelection(R.singleCell(e.rowIndex, e.columnIndex)), s = !0, o = !0) : (u.firstClick(e.rowIndex, e.columnIndex), o = !0));
1551
+ const u = this.getSelectionModel(), w = this.getFocusModel();
1552
+ u && w && (w.hasFocus(e.rowIndex, e.columnIndex) || (w.setFocus(e.rowIndex, e.columnIndex), o = !0), (i = e.originalEvent) != null && i.shiftKey || u.hasSelection() && (u.clear(), o = !0), (r = e.originalEvent) != null && r.shiftKey && this.previousEvt ? (u.addSelection(this.createRangeByEvents(e, this.previousEvt)), s = !0, o = !0) : (n = e.originalEvent) != null && n.altKey && ((l = e.originalEvent) != null && l.ctrlKey || (d = e.originalEvent) != null && d.metaKey) ? (u.removeSelection(R.singleCell(e.rowIndex, e.columnIndex)), s = !0, o = !0) : (a = e.originalEvent) != null && a.ctrlKey || (h = e.originalEvent) != null && h.metaKey ? (u.addSelection(R.singleCell(e.rowIndex, e.columnIndex)), s = !0, o = !0) : (u.firstClick(e.rowIndex, e.columnIndex), o = !0));
1522
1553
  }
1523
1554
  return s ? this.previousEvt = void 0 : this.previousEvt = e == null ? void 0 : e.clone(), o;
1524
1555
  }
@@ -1549,7 +1580,7 @@ class De {
1549
1580
  });
1550
1581
  }
1551
1582
  }
1552
- class _e {
1583
+ class Le {
1553
1584
  get() {
1554
1585
  return {
1555
1586
  f2: "START_EDITING",
@@ -1559,43 +1590,60 @@ class _e {
1559
1590
  "ctrl+shift+a": "DESELECT_ALL",
1560
1591
  "ctrl+x": "DESELECT_ALL",
1561
1592
  "ctrl+num_subtract": "DESELECT_ALL",
1562
- "cmd -": "DESELECT_ALL",
1593
+ "meta -": "DESELECT_ALL",
1563
1594
  arrowup: "NAVIGATE_UP",
1564
1595
  arrowdown: "NAVIGATE_DOWN",
1565
1596
  arrowleft: "NAVIGATE_LEFT",
1566
- arrowright: "NAVIGATE_RIGHT"
1597
+ arrowright: "NAVIGATE_RIGHT",
1598
+ "meta+c": "COPY_2_CLIPBOARD",
1599
+ "ctrl+c": "COPY_2_CLIPBOARD"
1567
1600
  };
1568
1601
  }
1569
1602
  }
1570
- class $e {
1603
+ class He {
1571
1604
  get() {
1572
1605
  return {
1573
1606
  f2: "START_EDITING",
1574
1607
  space: "TOGGLE_SELECTION",
1575
1608
  "ctrl+num_add": "SELECT_ALL",
1576
- "cmd+a": "SELECT_ALL",
1609
+ "meta+a": "SELECT_ALL",
1577
1610
  "ctrl+a": "SELECT_ALL",
1578
- "cmd+x": "DESELECT_ALL",
1579
- "cmd+shift+a": "DESELECT_ALL",
1611
+ "meta+x": "DESELECT_ALL",
1612
+ "meta+shift+a": "DESELECT_ALL",
1580
1613
  "ctrl+shift+a": "DESELECT_ALL",
1581
1614
  "ctrl+num_subtract": "DESELECT_ALL",
1582
1615
  "ctrl -": "DESELECT_ALL",
1583
1616
  arrowup: "NAVIGATE_UP",
1584
1617
  arrowdown: "NAVIGATE_DOWN",
1585
1618
  arrowleft: "NAVIGATE_LEFT",
1586
- arrowright: "NAVIGATE_RIGHT"
1619
+ arrowright: "NAVIGATE_RIGHT",
1620
+ "meta+c": "COPY_2_CLIPBOARD",
1621
+ "ctrl+c": "COPY_2_CLIPBOARD"
1587
1622
  };
1588
1623
  }
1589
1624
  }
1590
- class Fe {
1625
+ class Ve {
1591
1626
  constructor(e) {
1592
1627
  this.tableScope = e, this.shortcutActionIdMapping = {}, this.listener = [], this.listener.push(e), this.init();
1593
1628
  }
1629
+ /**
1630
+ * Adds a listener to the list of listeners.
1631
+ *
1632
+ * @param {OnActionTriggeredIf} listener - The listener to be added.
1633
+ * @returns {void}
1634
+ */
1594
1635
  addListener(e) {
1595
1636
  this.listener.includes(e) || this.listener.push(e);
1596
1637
  }
1638
+ /**
1639
+ * Initializes the ShortcutService by assigning shortcut action id mappings based on the current operating system.
1640
+ * Also adds key down event listener to the table host element.
1641
+ */
1597
1642
  init() {
1598
- this.isMacintosh() ? Object.assign(this.shortcutActionIdMapping, new $e().get()) : Object.assign(this.shortcutActionIdMapping, new _e().get()), Object.assign(this.shortcutActionIdMapping, this.tableScope.tableOptions.shortcutActionIdMapping), this.isDebug() && console.debug("ShortcutService", this.shortcutActionIdMapping), this.tableScope.hostElement.addEventListener("keydown", this.onKeyDown.bind(this));
1643
+ 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));
1644
+ }
1645
+ assignPredefinedSystemShortcutMappings() {
1646
+ this.isMacintosh() ? Object.assign(this.shortcutActionIdMapping, new He().get()) : Object.assign(this.shortcutActionIdMapping, new Le().get());
1599
1647
  }
1600
1648
  isMacintosh() {
1601
1649
  return navigator.platform.indexOf("Mac") > -1;
@@ -1607,19 +1655,19 @@ class Fe {
1607
1655
  return location.hostname === "localhost" || location.hostname === "127.0.0.1";
1608
1656
  }
1609
1657
  onKeyDown(e) {
1610
- const t = this.findEnty(e);
1658
+ const t = this.findEntity(e);
1611
1659
  t && this.emit(t) && (e.preventDefault(), e.stopPropagation());
1612
1660
  }
1613
1661
  emit(e) {
1614
- this.isDebug() && console.debug("ShortcutService emit:", e);
1662
+ this.isDebug() && console.debug("ShortcutService emit :", e);
1615
1663
  let t = !1;
1616
1664
  for (const o of this.listener)
1617
1665
  o.onActionTriggered(e) && (t = !0);
1618
1666
  return t;
1619
1667
  }
1620
- findEnty(e) {
1668
+ findEntity(e) {
1621
1669
  const t = this.getTokenByEvent(e);
1622
- this.isDebug() && console.debug("ShortcutService tokens:", t);
1670
+ this.isDebug() && console.debug("ShortcutService tokens :", t);
1623
1671
  for (const o in this.shortcutActionIdMapping) {
1624
1672
  const s = o.replace(/opt/g, "alt").replace(/cmd/g, "meta").split(/[+ ]/g).sort();
1625
1673
  if (this.areTokensEquals(t, s))
@@ -1638,8 +1686,16 @@ class Fe {
1638
1686
  const t = [];
1639
1687
  return e.altKey && t.push("alt"), e.shiftKey && t.push("shift"), e.ctrlKey && t.push("ctrl"), e.metaKey && t.push("meta"), e.code && t.push(e.code.toLowerCase().replace(/key/g, "")), t.sort();
1640
1688
  }
1689
+ /**
1690
+ * Retrieves the shortcut action mapping object.
1691
+ *
1692
+ * @returns {ShortcutActionIdMapping} - The shortcut action mapping object.
1693
+ */
1694
+ getShortcutActionMapping() {
1695
+ return this.shortcutActionIdMapping;
1696
+ }
1641
1697
  }
1642
- class ee {
1698
+ class oe {
1643
1699
  onCheckboxChanged(e) {
1644
1700
  }
1645
1701
  onContextmenu(e) {
@@ -1655,7 +1711,7 @@ class ee {
1655
1711
  onMouseMoved(e) {
1656
1712
  }
1657
1713
  }
1658
- class Le {
1714
+ class Be {
1659
1715
  setStyle(e, t, o) {
1660
1716
  return e.style[t] = o, e;
1661
1717
  }
@@ -1682,15 +1738,15 @@ class Le {
1682
1738
  e.setAttribute(t, o);
1683
1739
  }
1684
1740
  }
1685
- class Pe {
1686
- render(e, t, o, s, i, r, l) {
1741
+ class We {
1742
+ render(e, t, o, s, i, r, n) {
1687
1743
  if (i.isEditable(t, o)) {
1688
- l.addClass(e, "ge-table-row-input-div");
1689
- const n = i.getValueAt(t, o);
1744
+ n.addClass(e, "ge-table-row-input-div");
1745
+ const l = i.getValueAt(t, o);
1690
1746
  e.innerHTML = `
1691
1747
  <input
1692
1748
  type="text"
1693
- value="${n}"
1749
+ value="${l}"
1694
1750
  autofocus
1695
1751
  onfocus="this.setSelectionRange(0, this.value.length)"
1696
1752
  data-listen="change"
@@ -1703,7 +1759,7 @@ class Pe {
1703
1759
  }
1704
1760
  }
1705
1761
  }
1706
- class Oe {
1762
+ class Ge {
1707
1763
  constructor(e = "none", t = "single") {
1708
1764
  this.selectionType = e, this.selectionMode = t, this.ranges = [], this.negativeRanges = [], this.allSelected = !1;
1709
1765
  }
@@ -1746,11 +1802,14 @@ class Oe {
1746
1802
  togglePoint(e, t) {
1747
1803
  this.getSelectionCount(e, t) > 0 ? this.removeSelection(R.singleCell(e, t)) : this.addSelection(R.singleCell(e, t));
1748
1804
  }
1805
+ isSelected(e, t) {
1806
+ return this.getSelectionCount(e, t) > 0;
1807
+ }
1749
1808
  addRange(e) {
1750
1809
  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));
1751
1810
  }
1752
1811
  }
1753
- class He {
1812
+ class Ne {
1754
1813
  constructor(e = "none") {
1755
1814
  this.selectionType = e, this.rowIndex = -1, this.columnIndex = -1, this.changed = !1;
1756
1815
  }
@@ -1773,29 +1832,129 @@ class He {
1773
1832
  return [this.rowIndex, this.columnIndex];
1774
1833
  }
1775
1834
  }
1776
- const Ve = new Oe(), Be = new He("cell");
1835
+ class Q {
1836
+ constructor(e = new O(
1837
+ "❯",
1838
+ "",
1839
+ ["gt-table-icon-expanded"]
1840
+ ), t = new O(
1841
+ "❯",
1842
+ "transform: rotate(180deg) translate(-100%, -100%); transform-origin: 0 0;",
1843
+ ["ge-table-icon-collapsed"]
1844
+ )) {
1845
+ this.iconExpanded = e, this.iconCollapsed = t;
1846
+ }
1847
+ // `⊖ `, `⊕ `;
1848
+ }
1849
+ const ze = new Ge(), je = new Ne("cell");
1777
1850
  class j {
1778
1851
  constructor() {
1779
1852
  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 = {
1780
1853
  header: 34,
1781
1854
  body: 34,
1782
1855
  footer: 34
1783
- }, this.footerVerticalSeparator = !1, this.headerToggleExpandCollapseIcons = !1, this.headerVerticalSeparator = !1, this.treeOptions = new he(), this.showCheckboxWihoutExtraColumn = !1, this.externalFilterFunction = void 0, this.sortedOptions = new ce(), this.sortOrder = ["asc", "desc"], this.getEditRenderer = (e, t) => new Pe(), this.getSelectionModel = () => Ve, this.getFocusModel = () => Be;
1856
+ }, this.footerVerticalSeparator = !1, this.headerToggleExpandCollapseIcons = !1, this.headerVerticalSeparator = !1, this.treeOptions = new ge(), this.headerGroupOptions = new Q(), this.showCheckboxWihoutExtraColumn = !1, this.externalFilterFunction = void 0, this.sortedOptions = new be(), this.sortOrder = ["asc", "desc"], this.getEditRenderer = (e, t) => new We(), this.getSelectionModel = () => ze, this.getFocusModel = () => je;
1784
1857
  }
1785
1858
  }
1786
- class ue extends Me {
1787
- constructor(e, t, o, s, i) {
1788
- var r;
1859
+ const Z = class X {
1860
+ /**
1861
+ * Returns the content to be copied based on the provided table model, selection model, and focus model.
1862
+ *
1863
+ * @param {TableModelIf} tableModel - The table model for data retrieval.
1864
+ * @param {SelectionModelIf} selectionModel - The selection model to determine the selected range.
1865
+ * @param {FocusModelIf} focusModel - The focus model to determine the focused cell.
1866
+ * @return {Promise<string>} A promise that resolves to the copied content as a string.
1867
+ * @throws {string} Throws an error if neither selection nor focus is defined.
1868
+ */
1869
+ createContent(e, t, o) {
1870
+ return new Promise((s, i) => {
1871
+ if (t != null && t.hasSelection()) {
1872
+ const r = this.mergeRanges(t.getRanges());
1873
+ if (r) {
1874
+ r.c2 = Math.min(r.c2, e.getColumnCount() - 1), r.r2 = Math.min(r.r2, e.getBodyModel().getRowCount() - 1);
1875
+ const n = [];
1876
+ for (let l = r.r1; l <= r.r2; l++) {
1877
+ const d = [];
1878
+ for (let a = r.c1; a <= r.c2; a++) {
1879
+ const h = t.isSelected(l, a) ? e.getBodyModel().getTextValueAt(l, a) : "";
1880
+ d.push(h);
1881
+ }
1882
+ n.push(d.join(X.columnSeparatorChar));
1883
+ }
1884
+ return s(n.join(X.rowSeparatorChar));
1885
+ }
1886
+ }
1887
+ if (o) {
1888
+ const [r, n] = o.getFocus(), l = e.getBodyModel().getTextValueAt(r, n);
1889
+ return s(l);
1890
+ }
1891
+ i("Cannot copy, neither selection nor focus defined.");
1892
+ });
1893
+ }
1894
+ /**
1895
+ * Copy the provided content to the clipboard.
1896
+ *
1897
+ * @param {string} content - The content to be copied.
1898
+ * @return {Promise<void>} A promise that resolves when the content has been successfully copied to the clipboard.
1899
+ */
1900
+ copyContent(e) {
1901
+ return navigator.clipboard.writeText(e);
1902
+ }
1903
+ /**
1904
+ * Asynchronously copies the content of a table to the clipboard.
1905
+ *
1906
+ * @param {TableModelIf} tableModel - The table model to copy from.
1907
+ * @param {SelectionModelIf} selectionModel - The selection model of the table.
1908
+ * @param {FocusModelIf} focusModel - The focus model of the table.
1909
+ * @returns {Promise<string>} A promise that resolves with the copied text if successful, or rejects if an error occurs.
1910
+ */
1911
+ copyToClipboard(e, t, o) {
1912
+ return new Promise((s, i) => {
1913
+ this.createContent(
1914
+ e,
1915
+ t,
1916
+ o
1917
+ ).then((r) => {
1918
+ r && this.copyContent(r).then((n) => {
1919
+ s(r);
1920
+ }).catch((n) => {
1921
+ i();
1922
+ });
1923
+ }).catch((r) => {
1924
+ i();
1925
+ });
1926
+ });
1927
+ }
1928
+ /**
1929
+ * Merges an array of CellRanges into a single merged CellRange.
1930
+ *
1931
+ * @param {CellRange[]} ranges - The array of CellRanges to be merged.
1932
+ * @return {CellRange | undefined} - The merged CellRange, or undefined if the ranges array is empty.
1933
+ */
1934
+ mergeRanges(e) {
1935
+ let t;
1936
+ for (const o of e)
1937
+ t ? (t.r1 = Math.min(t.r1, o.r1), t.c1 = Math.min(t.c1, o.c1), t.r2 = Math.max(t.r2, o.r2), t.c2 = Math.max(t.c2, o.c2)) : t = new R(o.r1, o.c1, o.r2, o.c2);
1938
+ return t;
1939
+ }
1940
+ };
1941
+ Z.columnSeparatorChar = " ";
1942
+ Z.rowSeparatorChar = `
1943
+ `;
1944
+ let se = Z;
1945
+ class pe extends De {
1946
+ constructor(e, t, o, s, i, r = new se()) {
1947
+ var n;
1789
1948
  if (super(
1790
1949
  e,
1791
1950
  t,
1792
- new me(o),
1951
+ new Ce(o),
1793
1952
  s
1794
- ), this.eventListener = i, this.licenseManager = P.getInstance(), this.selectionService = new De(this), this.api = new xe(this), this.mouseStartAction = "", this.mouseStartWidth = -1, this.mouseStartColumnIndex = -1, this.dragFrom = -1, this.dragTo = -1, i || (this.eventListener = new ee()), (r = this.tableOptions) != null && r.autoRestoreOptions) {
1795
- const l = this.tableOptions.autoRestoreOptions, n = l.getStorageKeyFn;
1796
- n && (l.autoRestoreScrollPosition && (this.storeScrollPosStateService = new ye(n)), l.autoRestoreCollapsedExpandedState && (this.storeStateCollapsedExpandService = new ve(n)), l.autoRestoreSortingState && (this.storeSortingService = new Re(n)));
1953
+ ), this.eventListener = i, this.copyService = r, this.licenseManager = F.getInstance(), this.selectionService = new Fe(this), this.api = new Ae(this), this.mouseStartAction = "", this.mouseStartWidth = -1, this.mouseStartColumnIndex = -1, this.dragFrom = -1, this.dragTo = -1, i || (this.eventListener = new oe()), (n = this.tableOptions) != null && n.autoRestoreOptions) {
1954
+ const l = this.tableOptions.autoRestoreOptions, d = l.getStorageKeyFn;
1955
+ d && (l.autoRestoreScrollPosition && (this.storeScrollPosStateService = new Me(d)), l.autoRestoreCollapsedExpandedState && (this.storeStateCollapsedExpandService = new Ie(d)), l.autoRestoreSortingState && (this.storeSortingService = new ke(d)));
1797
1956
  }
1798
- this.mouseHandler = new Se(this), this.inputHandler = new Ie(this), this.shortcutService = new Fe(this), this.shortcutService.addListener(this.selectionService);
1957
+ this.mouseHandler = new Re(this), this.inputHandler = new Oe(this), this.shortcutService = new Ve(this), this.shortcutService.addListener(this.selectionService);
1799
1958
  }
1800
1959
  /**
1801
1960
  * Creates a TableScope instance.
@@ -1808,15 +1967,24 @@ class ue extends Me {
1808
1967
  *
1809
1968
  * @return {TableScope} - The newly created TableScope instance.
1810
1969
  */
1811
- static create(e, t, o = new j(), s = new ee(), i = new Le()) {
1812
- return new ue(
1970
+ static create(e, t, o = new j(), s = new oe(), i = new Be(), r = new se()) {
1971
+ return new pe(
1813
1972
  e,
1814
1973
  t,
1815
1974
  i,
1816
1975
  o,
1817
- s
1976
+ s,
1977
+ r
1818
1978
  );
1819
1979
  }
1980
+ /**
1981
+ * Triggers an action based on the provided actionId.
1982
+ *
1983
+ * This function can be invoked manually via the table API or by keyboard shortcuts.
1984
+ *
1985
+ * @param {ActionId} actionId - The identifier of the action to be triggered.
1986
+ * @return {boolean} - Returns true if the action was triggered successfully, false otherwise.
1987
+ */
1820
1988
  onActionTriggered(e) {
1821
1989
  if (e === "NAVIGATE_DOWN" && this.changeFocusCell(0, 1) || e === "NAVIGATE_UP" && this.changeFocusCell(0, -1) || e === "NAVIGATE_LEFT" && this.changeFocusCell(-1, 0) || e === "NAVIGATE_RIGHT" && this.changeFocusCell(1, 0))
1822
1990
  return !0;
@@ -1828,10 +1996,14 @@ class ue extends Me {
1828
1996
  }
1829
1997
  return !0;
1830
1998
  }
1999
+ if (e === "COPY_2_CLIPBOARD") {
2000
+ const t = this.getSelectionModel ? this.getSelectionModel() : void 0, o = this.getFocusModel ? this.getFocusModel() : void 0;
2001
+ this.copyService.createContent(this.tableModel, t, o).then((s) => this.copyService.copyContent(s));
2002
+ }
1831
2003
  return !1;
1832
2004
  }
1833
2005
  updateModelValueAfterEdit(e, t, o, s) {
1834
- e === "body" && this.tableModel.getAreaModel(e).setValue(t, o, s) && (this.resetEditorRenderer(), this.repaint(), this.eventListener.onModelChanged(q.createSingle(t, o)), this.hostElement.focus());
2006
+ e === "body" && this.tableModel.getAreaModel(e).setValue(t, o, s) && (this.resetEditorRenderer(), this.repaint(), this.eventListener.onModelChanged(J.createSingle(t, o)), this.hostElement.focus());
1835
2007
  }
1836
2008
  /**
1837
2009
  * Retrieves the TableApi object.
@@ -1941,11 +2113,11 @@ class ue extends Me {
1941
2113
  * @return {void} - This method does not return anything.
1942
2114
  */
1943
2115
  toggleRowCheckbox(e, t, o) {
1944
- var n;
2116
+ var l;
1945
2117
  const s = this.tableModel.getAreaModel(o), i = s.isRowChecked(e), r = i === void 0 || i === "semi" || i === "none";
1946
2118
  s.setRowChecked(e, r), this.repaint();
1947
- const l = (n = s.rowSelectionModel) == null ? void 0 : n.getCheckedRows();
1948
- this.eventListener.onCheckboxChanged(l || []);
2119
+ const n = (l = s.rowSelectionModel) == null ? void 0 : l.getCheckedRows();
2120
+ this.eventListener.onCheckboxChanged(n || []);
1949
2121
  }
1950
2122
  /**
1951
2123
  * Handle mouse click events.
@@ -1993,10 +2165,65 @@ class ue extends Me {
1993
2165
  const s = this.tableModel.getColumnDef(o);
1994
2166
  if (s != null && s.sortable && s.sortable()) {
1995
2167
  e.preventDefault(), e.stopPropagation();
1996
- const l = s.sortStatesOrder ? s.sortStatesOrder : this.tableOptions.sortOrder, n = s.sortState ?? "", d = l[(l.indexOf(n) + 1) % l.length], a = new ke(o, d);
2168
+ const n = s.sortStatesOrder ? s.sortStatesOrder : this.tableOptions.sortOrder, l = s.sortState ?? "", d = n[(n.indexOf(l) + 1) % n.length], a = new $e(o, d);
1997
2169
  this.tableModel.doSort([a]) && ((i = this.tableModel.getColumnDefs()) == null || i.forEach((u) => u.sortState = ""), s.sortState = d), this.repaint(), (r = this.storeSortingService) == null || r.setSortItems([a]);
1998
2170
  }
1999
2171
  }
2172
+ /**
2173
+ * Scrolls the viewport to the specified pixel coordinates.
2174
+ *
2175
+ * @param {number} px - The horizontal pixel coordinate to scroll to.
2176
+ * @param {number} py - The vertical pixel coordinate to scroll to.
2177
+ *
2178
+ * @return {void}
2179
+ */
2180
+ scrollToPixel(e, t) {
2181
+ this.scrollViewport.scrollTo(e, t);
2182
+ }
2183
+ /**
2184
+ * Scrolls to the specified index in the table.
2185
+ *
2186
+ * @param {number} _indexX - The horizontal index of the table where scrolling is needed.
2187
+ * @param {number} indexY - The vertical index of the table where scrolling is needed.
2188
+ * @return {void}
2189
+ */
2190
+ scrollToIndex(e, t) {
2191
+ const s = this.tableModel.getAreaModel("body").getYPosByRowIndex(t);
2192
+ this.scrollToPixel(0, s);
2193
+ }
2194
+ /**
2195
+ * Sets the selection model for the table.
2196
+ *
2197
+ * @param {SelectionModel} sm - The selection model to be set.
2198
+ * @param {boolean} rerender - Optional parameter indicating whether to rerender the table after setting the selection model. Default value is false.
2199
+ *
2200
+ * @return {void} - This method does not return any value.
2201
+ */
2202
+ setSelectionModel(e, t = !1) {
2203
+ const o = () => e;
2204
+ this.tableOptions.getSelectionModel = o, this.getSelectionModel = o, this.selectionService.getSelectionModel = o, t && this.repaint();
2205
+ }
2206
+ toggleHeaderGroup(e) {
2207
+ const t = this.tableModel.getAreaModel("header");
2208
+ "columnDefs" in this.tableModel && (this.tableModel.columnDefs = t.toggleHeaderGroup(e), console.info("####### !!!!!! *******, this.tableModel.columnDefs")), this.firstInit();
2209
+ }
2210
+ /**
2211
+ * Retrieves the selection model.
2212
+ * @returns {SelectionModelIf | undefined} The selection model if available, otherwise undefined.
2213
+ */
2214
+ selectionModel() {
2215
+ if (this != null && this.getSelectionModel)
2216
+ return this.getSelectionModel();
2217
+ }
2218
+ /**
2219
+ * Retrieves the focus model.
2220
+ *
2221
+ * @returns {FocusModelIf | undefined} The focus model if it exists, or undefined otherwise.
2222
+ */
2223
+ focusModel() {
2224
+ if (this != null && this.getFocusModel)
2225
+ return this.getFocusModel();
2226
+ }
2000
2227
  /**
2001
2228
  * Changes the focus cell using the specified deltas.
2002
2229
  *
@@ -2082,8 +2309,8 @@ class ue extends Me {
2082
2309
  if (o.autoRestoreCollapsedExpandedState && s) {
2083
2310
  const i = this.storeStateCollapsedExpandService.collapsedExpandedStateGet(), r = this.tableModel.getAreaModel("body");
2084
2311
  if (z(r)) {
2085
- const l = r, n = r.getRowCount();
2086
- for (let d = 0; d < n; d++) {
2312
+ const n = r, l = r.getRowCount();
2313
+ for (let d = 0; d < l; d++) {
2087
2314
  const a = r.getRowByIndex(d);
2088
2315
  if (a)
2089
2316
  if (i.allExpanded)
@@ -2091,54 +2318,20 @@ class ue extends Me {
2091
2318
  else if (i.allCollapsed)
2092
2319
  a.expanded = !1;
2093
2320
  else {
2094
- const c = s(a.data);
2095
- i.mode === "expanded" ? a.expanded = this.storeStateCollapsedExpandService.collapsedExpandedStateIncludes(c) : i.mode === "collapsed" && (a.expanded = !this.storeStateCollapsedExpandService.collapsedExpandedStateIncludes(c));
2321
+ const h = s(a.data);
2322
+ i.mode === "expanded" ? a.expanded = this.storeStateCollapsedExpandService.collapsedExpandedStateIncludes(h) : i.mode === "collapsed" && (a.expanded = !this.storeStateCollapsedExpandService.collapsedExpandedStateIncludes(h));
2096
2323
  }
2097
2324
  }
2098
- l.recalcVisibleTreeRows();
2325
+ n.recalcVisibleTreeRows();
2099
2326
  }
2100
2327
  }
2101
2328
  }
2102
2329
  }
2103
- /**
2104
- * Scrolls the viewport to the specified pixel coordinates.
2105
- *
2106
- * @param {number} px - The horizontal pixel coordinate to scroll to.
2107
- * @param {number} py - The vertical pixel coordinate to scroll to.
2108
- *
2109
- * @return {void}
2110
- */
2111
- scrollToPixel(e, t) {
2112
- this.scrollViewport.scrollTo(e, t);
2113
- }
2114
- /**
2115
- * Scrolls to the specified index in the table.
2116
- *
2117
- * @param {number} _indexX - The horizontal index of the table where scrolling is needed.
2118
- * @param {number} indexY - The vertical index of the table where scrolling is needed.
2119
- * @return {void}
2120
- */
2121
- scrollToIndex(e, t) {
2122
- const s = this.tableModel.getAreaModel("body").getYPosByRowIndex(t);
2123
- this.scrollToPixel(0, s);
2124
- }
2125
- /**
2126
- * Sets the selection model for the table.
2127
- *
2128
- * @param {SelectionModel} sm - The selection model to be set.
2129
- * @param {boolean} rerender - Optional parameter indicating whether to rerender the table after setting the selection model. Default value is false.
2130
- *
2131
- * @return {void} - This method does not return any value.
2132
- */
2133
- setSelectionModel(e, t = !1) {
2134
- const o = () => e;
2135
- this.tableOptions.getSelectionModel = o, this.getSelectionModel = o, this.selectionService.getSelectionModel = o, t && this.repaint();
2136
- }
2137
2330
  }
2138
- class ge {
2331
+ class fe {
2139
2332
  }
2140
- ge.themes = ["light", "combat", "paper", "blackboard"];
2141
- ge.vars = {
2333
+ fe.themes = ["light", "combat", "paper", "blackboard"];
2334
+ fe.vars = {
2142
2335
  light: `html[data-theme="light"] {
2143
2336
  --ge-table-bg: rgba(255,255,255, 0.5);
2144
2337
  --ge-table-header-west-bg: rgba(233, 233, 233, 0.5);
@@ -2372,28 +2565,28 @@ ge.vars = {
2372
2565
  --ge-table-drop-zone-bg: #758129;
2373
2566
  }`
2374
2567
  };
2375
- class te {
2376
- constructor(e, t = !0, o, s, i = 0, r = !1, l = !1) {
2377
- this.data = e, this.expanded = t, this.children = o, this.parent = s, this.deep = i, this.checked = r, this.keep = l, this.type = "TreeRow";
2568
+ class ie {
2569
+ constructor(e, t = !0, o, s, i = 0, r = !1, n = !1) {
2570
+ this.data = e, this.expanded = t, this.children = o, this.parent = s, this.deep = i, this.checked = r, this.keep = n, this.type = "TreeRow";
2378
2571
  }
2379
2572
  }
2380
- class X {
2573
+ class Y {
2381
2574
  static buildTreeRows(e, t = "children", o = 12) {
2382
2575
  const s = [];
2383
2576
  for (const i of e)
2384
- s.push(X.buildTreeRow(i, t, void 0, 0, o));
2577
+ s.push(Y.buildTreeRow(i, t, void 0, 0, o));
2385
2578
  return s;
2386
2579
  }
2387
- static buildTreeRow(e, t = "children", o = new te(e, !0, [], void 0, 0), s = 0, i = 12) {
2388
- var l;
2580
+ static buildTreeRow(e, t = "children", o = new ie(e, !0, [], void 0, 0), s = 0, i = 12) {
2581
+ var n;
2389
2582
  if (s > i)
2390
2583
  return console.warn("Max deep limit reached: ", s), o;
2391
2584
  const r = e[t];
2392
2585
  if (r)
2393
- for (const n of r) {
2394
- const d = new te(n, !0, [], o, s + 1);
2395
- if ((l = o.children) == null || l.push(d), X.buildTreeRow(
2396
- n,
2586
+ for (const l of r) {
2587
+ const d = new ie(l, !0, [], o, s + 1);
2588
+ if ((n = o.children) == null || n.push(d), Y.buildTreeRow(
2589
+ l,
2397
2590
  t,
2398
2591
  d,
2399
2592
  s + 1
@@ -2408,15 +2601,15 @@ class H {
2408
2601
  this.header = e, this.body = t, this.footer = o;
2409
2602
  }
2410
2603
  }
2411
- class f {
2604
+ class m {
2412
2605
  constructor(e = 100, t = "px") {
2413
2606
  this.value = e, this.unit = t;
2414
2607
  }
2415
2608
  }
2416
- const We = () => !0, oe = () => !1;
2609
+ const Xe = () => !0, re = () => !1;
2417
2610
  class V {
2418
- constructor(e, t, o = new f(100, "px"), s = new T(), i = new T(), r = new f(100, "px"), l = new f(100, "px"), n, d, a, c, u, m, b, w, g = () => this.visible) {
2419
- this.property = e, this.headerLabel = t, this.width = o, this.classes = s, this.rendererMap = i, this.minWidth = r, this.maxWidth = l, this.sortable = n, this.sortComparator = d, this.sortState = a, this.sortStatesOrder = c, this.sortIconVisible = u, this.editable = m, this.getEditRenderer = b, this.editInputPipe = w, this.isVisible = g, this.visible = !0;
2611
+ constructor(e, t, o = new m(100, "px"), s = new T(), i = new T(), r = new m(100, "px"), n = new m(100, "px"), l, d, a, h, u, w, f, p, g = () => this.visible) {
2612
+ this.property = e, this.headerLabel = t, this.width = o, this.classes = s, this.rendererMap = i, this.minWidth = r, this.maxWidth = n, this.sortable = l, this.sortComparator = d, this.sortState = a, this.sortStatesOrder = h, this.sortIconVisible = u, this.editable = w, this.getEditRenderer = f, this.editInputPipe = p, this.isVisible = g, this.visible = !0;
2420
2613
  }
2421
2614
  static bodyRenderer(e) {
2422
2615
  return new T(
@@ -2434,15 +2627,15 @@ class V {
2434
2627
  e.headerClasses,
2435
2628
  e.bodyClasses,
2436
2629
  e.footerClasses
2437
- ), s = e.sortIconVisible ?? e.sortable ?? oe, i = e.editable ?? e.editable ?? oe, r = e.isVisible ?? e.isVisible ?? We;
2630
+ ), s = e.sortIconVisible ?? e.sortable ?? re, i = e.editable ?? e.editable ?? re, r = e.isVisible ?? e.isVisible ?? Xe;
2438
2631
  return new V(
2439
2632
  e.property ?? "",
2440
2633
  e.headerLabel ?? "",
2441
- e.width ?? new f(100, "px"),
2634
+ e.width ?? new m(100, "px"),
2442
2635
  o,
2443
2636
  t,
2444
- e.minWidth ?? new f(100, "px"),
2445
- e.maxWidth ?? new f(100, "px"),
2637
+ e.minWidth ?? new m(100, "px"),
2638
+ e.maxWidth ?? new m(100, "px"),
2446
2639
  e.sortable,
2447
2640
  e.sortComparator,
2448
2641
  e.sortState,
@@ -2455,11 +2648,14 @@ class V {
2455
2648
  );
2456
2649
  }
2457
2650
  }
2458
- const qe = new f(300, "px"), Je = new f(290, "px"), Qe = new f(280, "px"), Ze = new f(270, "px"), et = new f(260, "px"), tt = new f(250, "px"), ot = new f(240, "px"), st = new f(230, "px"), it = new f(220, "px"), rt = new f(210, "px"), se = new f(200, "px"), lt = new f(190, "px"), nt = new f(180, "px"), at = new f(170, "px"), dt = new f(160, "px"), ht = new f(150, "px"), ct = new f(140, "px"), ut = new f(130, "px"), gt = new f(120, "px"), bt = new f(110, "px"), pt = new f(100, "px"), ft = new f(90, "px"), mt = new f(80, "px"), wt = new f(70, "px"), St = new f(60, "px"), xt = new f(50, "px"), yt = new f(40, "px"), Ct = new f(30, "px"), vt = new f(20, "px"), Rt = new f(10, "px"), At = new f(0, "px");
2459
- class J {
2651
+ const tt = new m(300, "px"), ot = new m(290, "px"), st = new m(280, "px"), it = new m(270, "px"), rt = new m(260, "px"), lt = new m(250, "px"), nt = new m(240, "px"), at = new m(230, "px"), dt = new m(220, "px"), ht = new m(210, "px"), le = new m(200, "px"), ct = new m(190, "px"), ut = new m(180, "px"), gt = new m(170, "px"), bt = new m(160, "px"), pt = new m(150, "px"), ft = new m(140, "px"), mt = new m(130, "px"), wt = new m(120, "px"), St = new m(110, "px"), xt = new m(100, "px"), yt = new m(90, "px"), Ct = new m(80, "px"), vt = new m(70, "px"), Rt = new m(60, "px"), At = new m(50, "px"), Mt = new m(40, "px"), Et = new m(30, "px"), It = new m(20, "px"), kt = new m(10, "px"), Tt = new m(0, "px");
2652
+ class ee {
2460
2653
  constructor(e, t = [], o = -1) {
2461
2654
  this.areaIdent = e, this.columnDefs = t, this.defaultRowHeight = o, this.rowSelectionModel = void 0, this.yPositions = [], this.cellRenderers = t.map((s) => s.rendererMap[e]);
2462
2655
  }
2656
+ getTextValueAt(e, t) {
2657
+ return "" + this.getValueAt(e, t);
2658
+ }
2463
2659
  getTooltipAt(e, t) {
2464
2660
  return "";
2465
2661
  }
@@ -2516,8 +2712,8 @@ class J {
2516
2712
  return this.columnDefs && t < this.columnDefs.length && this.columnDefs[t].editable ? this.columnDefs[t].editable() : !1;
2517
2713
  }
2518
2714
  setValue(e, t, o) {
2519
- var l;
2520
- const s = (l = this.columnDefs[t]) == null ? void 0 : l.editInputPipe;
2715
+ var n;
2716
+ const s = (n = this.columnDefs[t]) == null ? void 0 : n.editInputPipe;
2521
2717
  s && (o = s(o, e, t));
2522
2718
  const i = this.getRowByIndex(e), r = this.columnDefs[t].property;
2523
2719
  return r.includes(".") ? this.setPropertyValue(i, r.split("."), o) : (i[r] = o, !0);
@@ -2547,7 +2743,7 @@ class J {
2547
2743
  this.yPositions[t + 1] = this.getRowHeight(t) + this.yPositions[t];
2548
2744
  }
2549
2745
  }
2550
- class D extends J {
2746
+ class _ extends ee {
2551
2747
  constructor(e, t, o, s = []) {
2552
2748
  super(e, s, o), this.areaIdent = e, this.arr = t, this.defaultRowHeight = o, this.columnDefs = s, this.filteredArr = [...t];
2553
2749
  }
@@ -2575,7 +2771,7 @@ class D extends J {
2575
2771
  this.filteredArr.forEach((o) => this.arrayMove(o, e, t)), super.changeColumnOrder(e, t);
2576
2772
  }
2577
2773
  }
2578
- class _ {
2774
+ class D {
2579
2775
  constructor(e = "body") {
2580
2776
  this.areaIdent = e, this.rowSelectionModel = void 0;
2581
2777
  }
@@ -2585,6 +2781,9 @@ class _ {
2585
2781
  getValueAt(e, t) {
2586
2782
  return "";
2587
2783
  }
2784
+ getTextValueAt(e, t) {
2785
+ return "";
2786
+ }
2588
2787
  getCellRenderer(e, t) {
2589
2788
  }
2590
2789
  getRowHeight(e) {
@@ -2644,7 +2843,7 @@ class _ {
2644
2843
  changeColumnOrder(e, t) {
2645
2844
  }
2646
2845
  }
2647
- class Ge {
2846
+ class Ye {
2648
2847
  flattenTree(e, t = []) {
2649
2848
  var o;
2650
2849
  for (const s of e)
@@ -2655,7 +2854,7 @@ class Ge {
2655
2854
  return e.parent ? e.parent.expanded ? this.isVisible(e.parent) : !1 : !0;
2656
2855
  }
2657
2856
  }
2658
- class be {
2857
+ class me {
2659
2858
  genericSortComparator(e, t, o) {
2660
2859
  if (typeof e == "number" && typeof t == "number")
2661
2860
  return o * (e - t);
@@ -2673,9 +2872,9 @@ class be {
2673
2872
  return o * ("" + e).localeCompare("" + t);
2674
2873
  }
2675
2874
  }
2676
- class ie extends J {
2875
+ class ne extends ee {
2677
2876
  constructor(e, t, o, s = []) {
2678
- super(e, s, o), this.areaIdent = e, this.rows = t, this.defaultRowHeight = o, this.columnDefs = s, this.type = "AreaModelTree", this.sorterService = new be(), this.service = new Ge(), this.properties = s.map((i) => i.property), this.flattenRows = this.service.flattenTree(t), this.filteredFlattenRows = [...this.flattenRows];
2877
+ super(e, s, o), this.areaIdent = e, this.rows = t, this.defaultRowHeight = o, this.columnDefs = s, this.type = "AreaModelTree", this.sorterService = new me(), this.service = new Ye(), this.properties = s.map((i) => i.property), this.flattenRows = this.service.flattenTree(t), this.filteredFlattenRows = [...this.flattenRows];
2679
2878
  }
2680
2879
  changeColumnOrder(e, t) {
2681
2880
  this.arrayMove(this.properties, e, t), super.changeColumnOrder(e, t);
@@ -2732,8 +2931,8 @@ class ie extends J {
2732
2931
  s && (o = s(o, e, t));
2733
2932
  const i = this.getRowByIndex(e);
2734
2933
  if (i) {
2735
- const l = i.data, n = this.columnDefs[t].property;
2736
- return n.includes(".") ? this.setPropertyValue(l, n.split("."), o) : (l[n] = o, !0);
2934
+ const n = i.data, l = this.columnDefs[t].property;
2935
+ return l.includes(".") ? this.setPropertyValue(n, l.split("."), o) : (n[l] = o, !0);
2737
2936
  }
2738
2937
  return !1;
2739
2938
  }
@@ -2777,7 +2976,7 @@ class ie extends J {
2777
2976
  s.children && this.treeSort(s.children, t, o);
2778
2977
  }
2779
2978
  }
2780
- class re {
2979
+ class ae {
2781
2980
  constructor(e = []) {
2782
2981
  this.allRootNodes = e;
2783
2982
  }
@@ -2837,12 +3036,12 @@ class re {
2837
3036
  o.checked && t.push(o), o.children && this.addSelectedRecursive(o.children, t);
2838
3037
  }
2839
3038
  }
2840
- class le {
3039
+ class de {
2841
3040
  constructor(e = 0, t = 0, o = 0, s = 0) {
2842
3041
  this.top = e, this.right = t, this.bottom = o, this.left = s;
2843
3042
  }
2844
3043
  }
2845
- class Ne {
3044
+ class Ke {
2846
3045
  constructor() {
2847
3046
  this.checkedRows = [];
2848
3047
  }
@@ -2874,10 +3073,10 @@ class Ne {
2874
3073
  }
2875
3074
  }
2876
3075
  class N {
2877
- constructor(e, t, o, s = 0, i = 0, r = !1, l = new H(), n = [], d = [], a = -1, c = 0, u = 400, m = () => {
3076
+ constructor(e, t, o, s = 0, i = 0, r = !1, n = new H(), l = [], d = [], a = -1, h = 0, u = 400, w = () => {
2878
3077
  }) {
2879
- var b, w, g, p;
2880
- this.headerAreaModel = e, this.bodyAreaModel = t, this.footerAreaModel = o, this.fixedLeftColumnCount = s, this.fixedRightColumnCount = i, this.rowCheckboxVisible = r, this.defaultRowHeights = l, this.columnDefs = n, this.columnSizes = d, this.overridingColumnWidth = a, this.columnCount = c, this.parentSize = u, this.getSelectionModel = m, this.rowCount = 0, this.contentHeightInPx = 0, this.contentWidthInPx = 0, this.padding = new le(0, 0, 0, 0), this.xPositions = [], e.areaIdent = "header", t.areaIdent = "body", o.areaIdent = "footer", this.columnCount || ((b = this.columnDefs) != null && b.length ? this.columnCount = this.columnDefs.length : (w = this.columnSizes) != null && w.length && (this.columnCount = (g = this.columnSizes) == null ? void 0 : g.length)), (p = this.columnDefs) != null && p.length && fe(this.columnDefs[0]) && !t.rowSelectionModel && (t.rowSelectionModel = new Ne());
3078
+ var f, p, g, b;
3079
+ this.headerAreaModel = e, this.bodyAreaModel = t, this.footerAreaModel = o, this.fixedLeftColumnCount = s, this.fixedRightColumnCount = i, this.rowCheckboxVisible = r, this.defaultRowHeights = n, this.columnDefs = l, this.columnSizes = d, this.overridingColumnWidth = a, this.columnCount = h, this.parentSize = u, this.getSelectionModel = w, this.rowCount = 0, this.contentHeightInPx = 0, this.contentWidthInPx = 0, this.padding = new de(0, 0, 0, 0), this.xPositions = [], e.areaIdent = "header", t.areaIdent = "body", o.areaIdent = "footer", this.columnCount || ((f = this.columnDefs) != null && f.length ? this.columnCount = this.columnDefs.length : (p = this.columnSizes) != null && p.length && (this.columnCount = (g = this.columnSizes) == null ? void 0 : g.length)), (b = this.columnDefs) != null && b.length && ye(this.columnDefs[0]) && !t.rowSelectionModel && (t.rowSelectionModel = new Ke());
2881
3080
  }
2882
3081
  init() {
2883
3082
  this.recalcSize(this.parentSize), this.overridingColumnWidth === -1 && this.calcXPositions(), this.headerAreaModel && this.headerAreaModel.init(), this.bodyAreaModel && this.bodyAreaModel.init(), this.footerAreaModel && this.footerAreaModel.init();
@@ -2958,7 +3157,7 @@ class N {
2958
3157
  */
2959
3158
  recalcPadding() {
2960
3159
  const e = this.getSideAreaWidth("west"), t = this.getSideAreaWidth("east"), o = this.getAreaHeight("header"), s = this.getAreaHeight("footer");
2961
- this.padding = new le(
3160
+ this.padding = new de(
2962
3161
  o,
2963
3162
  t,
2964
3163
  s,
@@ -3196,12 +3395,12 @@ class N {
3196
3395
  if (i.width.unit === "%" && e) {
3197
3396
  let r = Math.floor(i.width.value * e / 100);
3198
3397
  if (i.minWidth) {
3199
- let l = i.minWidth.unit === "px" ? i.minWidth.value : Math.floor(i.minWidth.value * e / 100);
3200
- r = Math.max(l, r);
3398
+ let n = i.minWidth.unit === "px" ? i.minWidth.value : Math.floor(i.minWidth.value * e / 100);
3399
+ r = Math.max(n, r);
3201
3400
  }
3202
3401
  if (i.maxWidth) {
3203
- let l = i.maxWidth.unit === "px" ? i.maxWidth.value : Math.floor(i.maxWidth.value * e / 100);
3204
- r = Math.min(l, r);
3402
+ let n = i.maxWidth.unit === "px" ? i.maxWidth.value : Math.floor(i.maxWidth.value * e / 100);
3403
+ r = Math.min(n, r);
3205
3404
  }
3206
3405
  return r;
3207
3406
  }
@@ -3222,9 +3421,9 @@ class N {
3222
3421
  this.xPositions[t + 1] = this.getColumnWidth(t) + this.xPositions[t];
3223
3422
  }
3224
3423
  }
3225
- class ze extends J {
3424
+ class Ue extends ee {
3226
3425
  constructor(e, t, o, s = []) {
3227
- super(e, s, o), this.areaIdent = e, this.rows = t, this.defaultRowHeight = o, this.columnDefs = s, this.sorterService = new be(), this.filteredRows = [...t], this.properties = s.map((i) => i.property);
3426
+ super(e, s, o), this.areaIdent = e, this.rows = t, this.defaultRowHeight = o, this.columnDefs = s, this.sorterService = new me(), this.filteredRows = [...t], this.properties = s.map((i) => i.property);
3228
3427
  }
3229
3428
  getRowCount() {
3230
3429
  var e;
@@ -3233,7 +3432,7 @@ class ze extends J {
3233
3432
  getValueAt(e, t) {
3234
3433
  const o = this.properties[t];
3235
3434
  let s = this.filteredRows[e];
3236
- return O(s) && (s = s.data), s ? this.getValueByT(s, o) : "";
3435
+ return L(s) && (s = s.data), s ? this.getValueByT(s, o) : "";
3237
3436
  }
3238
3437
  getFilteredRows() {
3239
3438
  return this.filteredRows;
@@ -3275,7 +3474,7 @@ class ze extends J {
3275
3474
  return s && t.length ? this.getPropertyValue(s, t) : s;
3276
3475
  }
3277
3476
  }
3278
- class ne extends ze {
3477
+ class he extends Ue {
3279
3478
  constructor(e, t, o, s) {
3280
3479
  super(
3281
3480
  e,
@@ -3285,9 +3484,9 @@ class ne extends ze {
3285
3484
  ), this.areaIdent = e, this.rows = t, this.columnDefs = o, this.defaultRowHeight = s;
3286
3485
  }
3287
3486
  }
3288
- class L {
3487
+ class P {
3289
3488
  static createTableModel(e) {
3290
- var t, o, s, i, r, l, n, d, a, c, u, m, b, w;
3489
+ var t, o, s, i, r, n, l, d, a, h, u, w, f, p;
3291
3490
  if (e.defaultRowHeights === void 0)
3292
3491
  if ((t = e.tableOptions) != null && t.defaultRowHeights)
3293
3492
  e.defaultRowHeights = e.tableOptions.defaultRowHeights;
@@ -3305,45 +3504,45 @@ class L {
3305
3504
  g > -1 && (e.defaultRowHeights.footer = g);
3306
3505
  }
3307
3506
  }
3308
- if (e.columnDefs === void 0 && ((o = e.properties) != null && o.length ? e.columnDefs = e.properties.map((g) => new V(g, g.toUpperCase(), se)) : (s = e.rows) != null && s.length ? e.columnDefs = Object.keys(e.rows[0]).map((g) => new V(g, g.toUpperCase(), se)) : e.columnDefs = []), e.columnCount === void 0 && ((i = e.columnDefs) != null && i.length ? e.columnCount = e.columnDefs.length : (r = e.headerData) != null && r.length ? e.columnCount = e.headerData[0].length : (l = e.columnSizes) != null && l.length ? e.columnCount = (n = e.columnSizes) == null ? void 0 : n.length : console.warn('Property "columnCount" is missing and cannot be derived from other properties.')), e.headerAreaModel || ((d = e.headerData) != null && d.length ? e.headerAreaModel = new D(
3507
+ if (e.columnDefs === void 0 && ((o = e.properties) != null && o.length ? e.columnDefs = e.properties.map((g) => new V(g, g.toUpperCase(), le)) : (s = e.rows) != null && s.length ? e.columnDefs = Object.keys(e.rows[0]).map((g) => new V(g, g.toUpperCase(), le)) : 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 || ((d = e.headerData) != null && d.length ? e.headerAreaModel = new _(
3309
3508
  "header",
3310
3509
  e.headerData,
3311
3510
  e.defaultRowHeights.header,
3312
3511
  e.columnDefs
3313
- ) : (a = e.columnDefs) != null && a.length ? e.headerAreaModel = new D(
3512
+ ) : (a = e.columnDefs) != null && a.length ? e.headerAreaModel = new _(
3314
3513
  "header",
3315
3514
  [e.columnDefs.map((g) => g.headerLabel)],
3316
3515
  e.defaultRowHeights.header,
3317
3516
  e.columnDefs
3318
- ) : e.headerAreaModel = new _("header")), e.footerAreaModel || ((c = e.footerData) != null && c.length ? e.footerAreaModel = new D(
3517
+ ) : e.headerAreaModel = new D("header")), e.footerAreaModel || ((h = e.footerData) != null && h.length ? e.footerAreaModel = new _(
3319
3518
  "footer",
3320
3519
  e.footerData,
3321
3520
  e.defaultRowHeights.footer,
3322
3521
  e.columnDefs
3323
- ) : e.footerAreaModel = new _("footer")), !e.bodyAreaModel)
3522
+ ) : e.footerAreaModel = new D("footer")), !e.bodyAreaModel)
3324
3523
  if (e.rows)
3325
- if ((u = e.rows) != null && u.length && O(e.rows[0])) {
3524
+ if ((u = e.rows) != null && u.length && L(e.rows[0])) {
3326
3525
  const g = e.rows;
3327
- e.bodyAreaModel = new ie(
3526
+ e.bodyAreaModel = new ne(
3328
3527
  "body",
3329
3528
  g,
3330
3529
  e.defaultRowHeights.body,
3331
3530
  e.columnDefs
3332
- ), (e.columnDefs[0].property === "CheckboxColumn" || (m = e.tableOptions) != null && m.showCheckboxWihoutExtraColumn) && (e.bodyAreaModel.rowSelectionModel = new re(g));
3531
+ ), (e.columnDefs[0].property === "CheckboxColumn" || (w = e.tableOptions) != null && w.showCheckboxWihoutExtraColumn) && (e.bodyAreaModel.rowSelectionModel = new ae(g));
3333
3532
  } else
3334
- e.bodyAreaModel = new ne(
3533
+ e.bodyAreaModel = new he(
3335
3534
  "body",
3336
3535
  e.rows,
3337
3536
  e.columnDefs,
3338
3537
  e.defaultRowHeights.body
3339
3538
  );
3340
3539
  else
3341
- e.bodyData ? e.bodyAreaModel = new D(
3540
+ e.bodyData ? e.bodyAreaModel = new _(
3342
3541
  "body",
3343
3542
  e.bodyData,
3344
3543
  e.defaultRowHeights.body
3345
- ) : e.bodyAreaModel = new _("body");
3346
- return e.fixedLeftColumnCount === void 0 && (e.fixedLeftColumnCount = 0), e.fixedRightColumnCount === void 0 && (e.fixedRightColumnCount = 0), e.rowCheckboxVisible === void 0 && (e.rowCheckboxVisible = !1), e.overridingColumnWidth === void 0 && (e.overridingColumnWidth = -1), !e.getSelectionModel && ((b = e.tableOptions) != null && b.getSelectionModel) && (e.getSelectionModel = (w = e.tableOptions) == null ? void 0 : w.getSelectionModel), new N(
3544
+ ) : e.bodyAreaModel = new D("body");
3545
+ 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 && ((f = e.tableOptions) != null && f.getSelectionModel) && (e.getSelectionModel = (p = e.tableOptions) == null ? void 0 : p.getSelectionModel), new N(
3347
3546
  e.headerAreaModel,
3348
3547
  e.bodyAreaModel,
3349
3548
  e.footerAreaModel,
@@ -3360,7 +3559,7 @@ class L {
3360
3559
  );
3361
3560
  }
3362
3561
  static buildByTypedRowsParam(e) {
3363
- return L.buildByTypedRows(
3562
+ return P.buildByTypedRows(
3364
3563
  e.rows ?? [],
3365
3564
  e.columnDefs,
3366
3565
  e.tableOptions ?? new j(),
@@ -3369,18 +3568,18 @@ class L {
3369
3568
  );
3370
3569
  }
3371
3570
  static buildByTypedRows(e, t, o = new j(), s = 0, i = 0) {
3372
- const r = o.defaultRowHeights, l = t[0].property === "CheckboxColumn";
3373
- if (e != null && e.length && O(e[0])) {
3374
- const n = e, d = new ie(
3571
+ const r = o.defaultRowHeights, n = t[0].property === "CheckboxColumn";
3572
+ if (e != null && e.length && L(e[0])) {
3573
+ const l = e, d = new ne(
3375
3574
  "body",
3376
- n,
3575
+ l,
3377
3576
  r.body,
3378
3577
  t
3379
3578
  );
3380
- return (l || o.showCheckboxWihoutExtraColumn) && (d.rowSelectionModel = new re(n)), L.createByAreaModelsParam({
3381
- headerAreaModel: new D("header", [t.map((a) => a.headerLabel)], r.header),
3579
+ return (n || o.showCheckboxWihoutExtraColumn) && (d.rowSelectionModel = new ae(l)), P.createByAreaModelsParam({
3580
+ headerAreaModel: new _("header", [t.map((a) => a.headerLabel)], r.header),
3382
3581
  bodyAreaModel: d,
3383
- footerAreaModel: new D("footer", [], r.footer),
3582
+ footerAreaModel: new _("footer", [], r.footer),
3384
3583
  columnDefs: t,
3385
3584
  fixedLeftColumnCount: s,
3386
3585
  fixedRightColumnCount: i,
@@ -3391,7 +3590,7 @@ class L {
3391
3590
  overridingColumnWidth: -1
3392
3591
  });
3393
3592
  }
3394
- return L.createByObjectArrayParam({
3593
+ return P.createByObjectArrayParam({
3395
3594
  rows: e,
3396
3595
  columnDefs: t,
3397
3596
  fixedLeftColumnCount: s,
@@ -3401,7 +3600,7 @@ class L {
3401
3600
  }
3402
3601
  static createByObjectArrayParam(e) {
3403
3602
  const t = e.rowCheckboxVisible !== void 0 ? e.rowCheckboxVisible : !1;
3404
- return L.createByObjectArray(
3603
+ return P.createByObjectArray(
3405
3604
  e.rows,
3406
3605
  e.header ?? [],
3407
3606
  e.footer ?? [],
@@ -3413,7 +3612,7 @@ class L {
3413
3612
  e.columnSizes ?? []
3414
3613
  );
3415
3614
  }
3416
- static createByAreaModels(e = new _(), t, o = new _(), s = 0, i = 0, r = !1, l = new H(), n, d = [], a = -1, c) {
3615
+ static createByAreaModels(e = new D(), t, o = new D(), s = 0, i = 0, r = !1, n = new H(), l, d = [], a = -1, h) {
3417
3616
  return new N(
3418
3617
  e,
3419
3618
  t,
@@ -3421,18 +3620,18 @@ class L {
3421
3620
  s,
3422
3621
  i,
3423
3622
  r,
3424
- l,
3425
3623
  n,
3624
+ l,
3426
3625
  d,
3427
3626
  a,
3428
- c
3627
+ h
3429
3628
  );
3430
3629
  }
3431
3630
  static createByAreaModelsParam(e) {
3432
- return L.createByAreaModels(
3433
- e.headerAreaModel ?? new _(),
3631
+ return P.createByAreaModels(
3632
+ e.headerAreaModel ?? new D(),
3434
3633
  e.bodyAreaModel,
3435
- e.footerAreaModel ?? new _(),
3634
+ e.footerAreaModel ?? new D(),
3436
3635
  e.fixedLeftColumnCount ?? 0,
3437
3636
  e.fixedRightColumnCount ?? 0,
3438
3637
  e.rowCheckboxVisible === void 0 ? !1 : e.rowCheckboxVisible,
@@ -3443,25 +3642,25 @@ class L {
3443
3642
  e.columnCount ?? 0
3444
3643
  );
3445
3644
  }
3446
- static createByObjectArray(e, t = [], o = [], s = 0, i = 0, r = !1, l = new H(), n, d = []) {
3645
+ static createByObjectArray(e, t = [], o = [], s = 0, i = 0, r = !1, n = new H(), l, d = []) {
3447
3646
  let a;
3448
- t != null && t.length ? a = new D("header", t, l.header, n) : n != null && n.length ? a = new D("header", [n.map((m) => m.headerLabel)], l.header, n) : a = new _();
3449
- const c = o ? new D("footer", o, l.footer, n) : new _(), u = new ne("body", e, n, l.body);
3647
+ t != null && t.length ? a = new _("header", t, n.header, l) : l != null && l.length ? a = new _("header", [l.map((w) => w.headerLabel)], n.header, l) : a = new D();
3648
+ const h = o ? new _("footer", o, n.footer, l) : new D(), u = new he("body", e, l, n.body);
3450
3649
  return new N(
3451
3650
  a,
3452
3651
  u,
3453
- c,
3652
+ h,
3454
3653
  s,
3455
3654
  i,
3456
3655
  r,
3457
- l,
3458
3656
  n,
3657
+ l,
3459
3658
  d
3460
3659
  );
3461
3660
  }
3462
3661
  }
3463
- const Et = [
3464
- //"COPY_2_CLIPBOARD",
3662
+ const _t = [
3663
+ "COPY_2_CLIPBOARD",
3465
3664
  "START_EDITING",
3466
3665
  "TOGGLE_SELECTION",
3467
3666
  "SELECT_ALL",
@@ -3478,18 +3677,18 @@ const Et = [
3478
3677
  // "PAGEUP_PRESSED",
3479
3678
  // "PAGEDOWN_PRESSED"
3480
3679
  ];
3481
- class Mt {
3680
+ class Dt {
3482
3681
  constructor(e, t) {
3483
3682
  this.tableModel = e, this.tableOptions = t;
3484
3683
  }
3485
3684
  }
3486
- class je {
3487
- constructor(e, t, o, s, i, r, l) {
3488
- this.emmitDataKey = e, this.emmitCancelKey = t, this.queryId = o, this.filter = s, this.sorting = i, this.startIndex = r, this.endIndex = l;
3685
+ class qe {
3686
+ constructor(e, t, o, s, i, r, n) {
3687
+ this.emmitDataKey = e, this.emmitCancelKey = t, this.queryId = o, this.filter = s, this.sorting = i, this.startIndex = r, this.endIndex = n;
3489
3688
  }
3490
3689
  }
3491
- class kt extends je {
3492
- constructor(e, t, o, s, i, r, l, n) {
3690
+ class $t extends qe {
3691
+ constructor(e, t, o, s, i, r, n, l) {
3493
3692
  super(
3494
3693
  e,
3495
3694
  t,
@@ -3497,38 +3696,38 @@ class kt extends je {
3497
3696
  s,
3498
3697
  i,
3499
3698
  r,
3500
- l
3501
- ), this.rows = n;
3699
+ n
3700
+ ), this.rows = l;
3502
3701
  }
3503
3702
  }
3504
- class Xe {
3703
+ class Je {
3505
3704
  constructor(e, t) {
3506
3705
  this.value = e, this.label = t;
3507
3706
  }
3508
3707
  }
3509
- class It {
3708
+ class Ot {
3510
3709
  constructor(e, t) {
3511
3710
  this.index = e, this.px = t;
3512
3711
  }
3513
3712
  }
3514
- const Tt = { body: ["ge-table-text-align-left"] }, Dt = { body: ["ge-table-text-align-center"] }, _t = { body: ["ge-table-text-align-right"] }, $t = {
3713
+ const Pt = { body: ["ge-table-text-align-left"] }, Ft = { body: ["ge-table-text-align-center"] }, Lt = { body: ["ge-table-text-align-right"] }, Ht = {
3515
3714
  header: ["ge-table-text-align-left"],
3516
3715
  body: ["ge-table-text-align-left"],
3517
3716
  footer: ["ge-table-text-align-left"]
3518
- }, Ft = {
3717
+ }, Vt = {
3519
3718
  header: ["ge-table-text-align-center"],
3520
3719
  body: ["ge-table-text-align-center"],
3521
3720
  footer: ["ge-table-text-align-center"]
3522
- }, Lt = {
3721
+ }, Bt = {
3523
3722
  header: ["ge-table-text-align-right"],
3524
3723
  body: ["ge-table-text-align-right"],
3525
3724
  footer: ["ge-table-text-align-right"]
3526
3725
  };
3527
- class ae {
3528
- render(e, t, o, s, i, r, l) {
3726
+ class ce {
3727
+ render(e, t, o, s, i, r, n) {
3529
3728
  if (i.isRowCheckable(t)) {
3530
- l.addClass(e, "ge-table-row-checkbox-div");
3531
- const n = i.isRowChecked(t), d = n === "full" ? "checked" : "", a = n === "semi" ? '<span style="opacity: 0.4;">✓<span>' : "";
3729
+ n.addClass(e, "ge-table-row-checkbox-div");
3730
+ const l = i.isRowChecked(t), d = l === "full" ? "checked" : "", a = l === "semi" ? '<span style="opacity: 0.4;">✓<span>' : "";
3532
3731
  e.innerHTML = `
3533
3732
  <input
3534
3733
  type="checkbox"
@@ -3542,16 +3741,16 @@ class ae {
3542
3741
  }
3543
3742
  }
3544
3743
  }
3545
- class Pt {
3744
+ class Wt {
3546
3745
  constructor() {
3547
- this.type = "CheckboxColumnDef", this.property = "CheckboxColumn", this.headerLabel = "", this.width = new f(50, "px"), this.minWidth = new f(50, "px"), this.maxWidth = new f(100, "px"), this.rendererMap = new T(new ae(), new ae(), void 0), this.classes = new T(
3746
+ this.type = "CheckboxColumnDef", this.property = "CheckboxColumn", this.headerLabel = "", this.width = new m(50, "px"), this.minWidth = new m(50, "px"), this.maxWidth = new m(100, "px"), this.rendererMap = new T(new ce(), new ce(), void 0), this.classes = new T(
3548
3747
  [],
3549
3748
  ["ge-table-text-align-left"],
3550
3749
  []
3551
3750
  );
3552
3751
  }
3553
3752
  }
3554
- class Ot {
3753
+ class Gt {
3555
3754
  /**
3556
3755
  * A factory that creates a new AreaObjectMap with the given body renderer.
3557
3756
  *
@@ -3566,17 +3765,17 @@ class Ot {
3566
3765
  );
3567
3766
  }
3568
3767
  }
3569
- class Ht {
3768
+ class Nt {
3570
3769
  constructor(e = "down", t) {
3571
3770
  this.status = e, this.originalEvent = t;
3572
3771
  }
3573
3772
  }
3574
- class Vt {
3773
+ class zt {
3575
3774
  constructor(e, t, o, s, i = {}) {
3576
3775
  this.area = e, this.rowIndex = t, this.columnIndex = o, this.value = s, this.cssClasses = i;
3577
3776
  }
3578
3777
  }
3579
- class Bt {
3778
+ class jt {
3580
3779
  constructor() {
3581
3780
  this.autoRestoreSortingState = !1, this.autoRestoreCollapsedExpandedState = !1, this.autoRestoreScrollPosition = !1, this.autoRestoreCheckedState = !1, this.autoRestoreSelectedState = !1, this.getStorageKeyFn = void 0, this.isSame = (e, t, o) => {
3582
3781
  if (e && t && o.getRowId) {
@@ -3601,12 +3800,12 @@ class Bt {
3601
3800
  };
3602
3801
  }
3603
3802
  }
3604
- class Ke {
3803
+ class Qe {
3605
3804
  constructor(e, t, o, s = !1, i = "normal", r = void 0) {
3606
3805
  this.data = e, this.property = t, this.toggle = o, this.closed = s, this.visibility = i, this.children = r, this.impl = "CellGroup";
3607
3806
  }
3608
3807
  }
3609
- class Ye extends Ke {
3808
+ class Ze extends Qe {
3610
3809
  constructor(e, t = 0, o = 0, s) {
3611
3810
  super(
3612
3811
  e.data,
@@ -3678,22 +3877,24 @@ class Ye extends Ke {
3678
3877
  getParentCount(e = this, t = 0) {
3679
3878
  return e.parent && (t = t + 1 + this.getParentCount(e.parent, t)), t;
3680
3879
  }
3681
- log(e) {
3682
- const t = " ".substring(0, 2 * this.rowIndex), o = `${this.getColumnIndex()}`, s = `${this.getColumnCount(this)}`, i = `${this.getRowSpan(this, e)}`, r = `${this.getParentCount(this)}`;
3683
- if (console.info(`${t + this.data}
3880
+ log(e = 10) {
3881
+ const t = " ".substring(0, 2 * this.rowIndex), o = `${this.getColumnIndex()}`, s = `${this.getColumnCount(this)}`, i = `${this.getRowSpan(this, e)}`, r = `${this.getParentCount(this)}`, n = `${t + this.data}
3684
3882
  childIndex:${this.childIndex}
3685
3883
  row:${this.rowIndex}
3686
3884
  col:${o}
3687
3885
  vis:${this.visibility}
3886
+ toggle:${this.toggle}
3688
3887
  closed:${this.closed}
3689
3888
  isVisible:${this.isVisible()}
3690
3889
  ownColumn:${this.ownColumn()}
3691
3890
  claimsSpace:${this.claimsSpace()}
3692
3891
  colCount:${s}
3693
3892
  rowSpan:${i}
3694
- pc:${r}`.replace(/[ \n]+/g, " ")), this.children)
3893
+ pc:${r}`.replace(/[ \n]+/g, " ");
3894
+ if (this.children)
3695
3895
  for (const l of this.children)
3696
3896
  l.log(e);
3897
+ return n;
3697
3898
  }
3698
3899
  }
3699
3900
  class I {
@@ -3729,8 +3930,8 @@ class I {
3729
3930
  static buildGroupExts(e, t = [], o = 0, s) {
3730
3931
  let i;
3731
3932
  for (let r = 0; r < e.length; r++) {
3732
- const l = e[r], n = new Ye(l, o, r, s);
3733
- i && (n.leftNeighbour = i, i.rightNeighbour = n), t.push(n), l.children && (n.children = I.buildGroupExts(l.children, [], o + 1, n)), i = n;
3933
+ const n = e[r], l = new Ze(n, o, r, s);
3934
+ i && (l.leftNeighbour = i, i.rightNeighbour = l), t.push(l), n.children && (l.children = I.buildGroupExts(n.children, [], o + 1, l)), i = l;
3734
3935
  }
3735
3936
  return t;
3736
3937
  }
@@ -3752,15 +3953,15 @@ class I {
3752
3953
  for (const r of e) {
3753
3954
  if (r.rowIndex <= s) {
3754
3955
  o++;
3755
- for (let l = 0; l < t.length; l++)
3756
- t[l][o] = null;
3956
+ for (let n = 0; n < t.length; n++)
3957
+ t[n][o] = null;
3757
3958
  }
3758
3959
  if (t[r.rowIndex][o] = r, s = r.rowIndex, r.ownColumn() && ((i = r.children) != null && i.length)) {
3759
- for (let l = r.rowIndex + 1; l < t.length; l++)
3760
- t[l][o] = void 0;
3960
+ for (let n = r.rowIndex + 1; n < t.length; n++)
3961
+ t[n][o] = void 0;
3761
3962
  o++;
3762
- for (let l = 0; l < t.length; l++)
3763
- t[l][o] = null;
3963
+ for (let n = 0; n < t.length; n++)
3964
+ t[n][o] = null;
3764
3965
  }
3765
3966
  }
3766
3967
  return t;
@@ -3771,7 +3972,7 @@ class I {
3771
3972
  e.push(s.data + " rowIndex:" + s.rowIndex), (o = s.children) != null && o.length && I.iterateThrowColumns(e, s.children);
3772
3973
  }
3773
3974
  }
3774
- class Wt {
3975
+ class Xt {
3775
3976
  constructor() {
3776
3977
  this.areaIdent = "body", this.rowSelectionModel = void 0;
3777
3978
  }
@@ -3813,6 +4014,9 @@ class Wt {
3813
4014
  }
3814
4015
  getValueAt(e, t) {
3815
4016
  }
4017
+ getTextValueAt(e, t) {
4018
+ return "";
4019
+ }
3816
4020
  getYPosByRowIndex(e) {
3817
4021
  return 0;
3818
4022
  }
@@ -3838,19 +4042,56 @@ class Wt {
3838
4042
  return !1;
3839
4043
  }
3840
4044
  }
3841
- class Ue {
3842
- render(e, t, o, s, i, r, l) {
3843
- const n = r != null && r.data ? r.data : "";
3844
- e.innerHTML = `${n}`;
4045
+ const we = class Se {
4046
+ constructor(e = new Q()) {
4047
+ this.headerGroupOptions = e;
3845
4048
  }
3846
- }
3847
- class Gt {
3848
- constructor(e = "header", t, o = [], s) {
3849
- var i;
3850
- this.areaIdent = e, this.groups = t, this.columnDefs = o, this.defaultRowHeight = s, this.gammaCells = !0, this.groupExts = [], this.cellGroupExtCellRenderer = new Ue(), this.groupExts = I.buildGroupExts(t), console.info(this.groupExts), console.info(this.getAllLeafs()), console.info(this.getMaxRowCount());
3851
- for (const r of this.groupExts)
3852
- r.log(this.getMaxRowCount());
3853
- this.arr = this.buildArray(), !((i = this.columnDefs) != null && i.length) && e === "header" && (this.columnDefs = I.buildColumnDefs(t)), console.info("this.columnDefs", this.columnDefs), console.info("this.arr", this.arr);
4049
+ render(e, t, o, s, i, r, n) {
4050
+ const l = r != null && r.data ? r.data : "";
4051
+ if (r) {
4052
+ const { toggle: d, visibility: a, closed: h } = r, u = d ? Se.toggleHeaderGroup : "";
4053
+ this.addText(e, s, t, o, l, u), d && a !== "always" && this.addArrowDiv(n, e, !h, t, o, s, u);
4054
+ } else
4055
+ this.addText(e, s, t, o, l, "");
4056
+ }
4057
+ addText(e, t, o, s, i, r) {
4058
+ e.innerHTML = `<span
4059
+ data-ge-action="${r}"
4060
+ data-area="${t}"
4061
+ data-row-index="${o}"
4062
+ data-col-index="${s}"
4063
+ >${i}</span>`;
4064
+ }
4065
+ addArrowDiv(e, t, o = !0, s = -1, i = -1, r = "header", n) {
4066
+ const l = e.createElement("div");
4067
+ e.addClass(l, "ge-table-toggle-icon-div"), e.setStyle(l, "display", "inline-block"), e.setStyle(l, "position", ""), e.setStyle(l, "width", "20px"), e.setStyle(l, "background", "transparent"), e.setStyle(l, "cursor", "pointer"), e.setAttribute(l, "data-row-index", `${s}`), e.setAttribute(l, "data-col-index", `${i}`), e.setAttribute(l, "data-area", `${r}`), e.setAttribute(l, "data-ge-action", `${n}`);
4068
+ let d;
4069
+ o ? d = this.headerGroupOptions.iconExpanded : d = this.headerGroupOptions.iconCollapsed;
4070
+ const a = d.content, h = e.createText(a);
4071
+ e.appendChild(l, h), d.style && this.applyStyleString(e, l, d.style);
4072
+ for (const u of d.classes)
4073
+ e.addClass(l, u);
4074
+ return e.appendChild(t, l), l;
4075
+ }
4076
+ applyStyleString(e, t, o) {
4077
+ const s = o.split(";").map((i) => i.trim()).filter((i) => i);
4078
+ for (const i of s) {
4079
+ const [r, n] = i.split(":");
4080
+ e.setStyle(t, r.trim(), n.trim());
4081
+ }
4082
+ }
4083
+ };
4084
+ we.toggleHeaderGroup = "toggleHeaderGroup";
4085
+ let et = we;
4086
+ class Yt {
4087
+ constructor(e = "header", t, o = [], s, i = new Q()) {
4088
+ this.areaIdent = e, this.groups = t, this.columnDefs = o, this.defaultRowHeight = s, this.headerGroupOptions = i, this.gammaCells = !0, this.arr = [], this.groupExts = [], this.cellGroupExtCellRenderer = new et(this.headerGroupOptions), this.groupExts = I.buildGroupExts(t), this.init();
4089
+ }
4090
+ init() {
4091
+ var e;
4092
+ for (const t of this.groupExts)
4093
+ t.log(this.getMaxRowCount());
4094
+ this.arr = this.buildArray(), !((e = this.columnDefs) != null && e.length) && this.areaIdent === "header" && (this.columnDefs = I.buildColumnDefs(this.groups)), console.info("this.arr", this.arr);
3854
4095
  }
3855
4096
  getAllLeafs() {
3856
4097
  return I.flattenGroupExts(this.groupExts).filter((t) => !t.children);
@@ -3860,15 +4101,10 @@ class Gt {
3860
4101
  return e != null && e.length ? 1 + Math.max(...e.map((t) => t.getParentCount(t))) : 0;
3861
4102
  }
3862
4103
  buildArray() {
3863
- console.info("");
3864
- let e = I.flattenGroupExts(this.groupExts);
3865
- const t = e.length, o = 1 + Math.max(...e.map((l) => l.rowIndex));
3866
- console.info("max row/col:", o + "/" + t);
3867
- const s = [];
3868
- I.iterateThrowColumns(s, this.groupExts), console.info(s);
3869
- const i = Array.from(Array(o).keys()).map((l) => []);
3870
- let r = I.buildArrayOfArrays(e, i);
3871
- return console.table(r), r;
4104
+ const e = I.flattenGroupExts(this.groupExts), t = 1 + Math.max(...e.map((r) => r.rowIndex)), o = [];
4105
+ I.iterateThrowColumns(o, this.groupExts);
4106
+ const s = Array.from(Array(t).keys()).map((r) => []), i = I.buildArrayOfArrays(e, s);
4107
+ return console.table(i), i;
3872
4108
  }
3873
4109
  changeColumnOrder(e, t) {
3874
4110
  }
@@ -3914,11 +4150,12 @@ class Gt {
3914
4150
  getValueAt(e, t) {
3915
4151
  return this.arr[e][t];
3916
4152
  }
4153
+ getTextValueAt(e, t) {
4154
+ return "" + this.getValueAt(e, t);
4155
+ }
3917
4156
  getYPosByRowIndex(e) {
3918
4157
  return 0;
3919
4158
  }
3920
- init() {
3921
- }
3922
4159
  getRowHeight(e) {
3923
4160
  return this.defaultRowHeight;
3924
4161
  }
@@ -3941,25 +4178,29 @@ class Gt {
3941
4178
  setValue(e, t, o) {
3942
4179
  return !1;
3943
4180
  }
4181
+ toggleHeaderGroup(e) {
4182
+ const t = this.arr[e.rowIdx][e.colIdx];
4183
+ return t != null && t.toggle && t.visibility !== "always" && (t.closed = !t.closed, this.init()), I.buildColumnDefs(this.groupExts);
4184
+ }
3944
4185
  }
3945
- class Nt {
4186
+ class Kt {
3946
4187
  filterPredict(e, t, o = this.objectToString.bind(this)) {
3947
4188
  if (!e)
3948
4189
  return !1;
3949
4190
  if (!t)
3950
4191
  return !0;
3951
4192
  t = t.toLowerCase();
3952
- const s = "+", i = "-", r = t.toLowerCase().split(" ").filter((c) => c !== s && c !== i && c !== ""), l = r.filter((c) => !c.startsWith(s) && !c.startsWith(i)), n = r.filter((c) => c.startsWith(s)).map((c) => c.replace(/\+/g, "")), d = r.filter((c) => c.startsWith(i)).map((c) => c.replace(/-/g, ""));
3953
- let a = !l.length;
3954
- for (let c = 0; c < l.length; c++)
3955
- (a || o(e).includes(l[c])) && (a = !0);
4193
+ const s = "+", i = "-", r = t.toLowerCase().split(" ").filter((h) => h !== s && h !== i && h !== ""), n = r.filter((h) => !h.startsWith(s) && !h.startsWith(i)), l = r.filter((h) => h.startsWith(s)).map((h) => h.replace(/\+/g, "")), d = r.filter((h) => h.startsWith(i)).map((h) => h.replace(/-/g, ""));
4194
+ let a = !n.length;
4195
+ for (let h = 0; h < n.length; h++)
4196
+ (a || o(e).includes(n[h])) && (a = !0);
3956
4197
  if (!a)
3957
4198
  return !1;
3958
- for (let c = 0; c < n.length; c++)
3959
- if (!o(e).includes(n[c]))
4199
+ for (let h = 0; h < l.length; h++)
4200
+ if (!o(e).includes(l[h]))
3960
4201
  return !1;
3961
- for (let c = 0; c < d.length; c++)
3962
- if (o(e).includes(d[c]))
4202
+ for (let h = 0; h < d.length; h++)
4203
+ if (o(e).includes(d[h]))
3963
4204
  return !1;
3964
4205
  return !0;
3965
4206
  }
@@ -3969,15 +4210,15 @@ class Nt {
3969
4210
  if (!t)
3970
4211
  return [...e];
3971
4212
  t = t.toLowerCase();
3972
- const s = "+", i = "-", r = t.toLowerCase().split(" ").filter((a) => a !== s && a !== i && a !== ""), l = r.filter((a) => !a.startsWith(s) && !a.startsWith(i)), n = r.filter((a) => a.startsWith(s)).map((a) => a.replace(/\+/g, "")), d = r.filter((a) => a.startsWith(i)).map((a) => a.replace(/-/g, ""));
4213
+ const s = "+", i = "-", r = t.toLowerCase().split(" ").filter((a) => a !== s && a !== i && a !== ""), n = r.filter((a) => !a.startsWith(s) && !a.startsWith(i)), l = r.filter((a) => a.startsWith(s)).map((a) => a.replace(/\+/g, "")), d = r.filter((a) => a.startsWith(i)).map((a) => a.replace(/-/g, ""));
3973
4214
  return e == null ? void 0 : e.filter((a) => {
3974
- let c = !l.length;
3975
- for (let u = 0; u < l.length; u++)
3976
- (c || o(a).includes(l[u])) && (c = !0);
3977
- if (!c)
3978
- return !1;
4215
+ let h = !n.length;
3979
4216
  for (let u = 0; u < n.length; u++)
3980
- if (!o(a).includes(n[u]))
4217
+ (h || o(a).includes(n[u])) && (h = !0);
4218
+ if (!h)
4219
+ return !1;
4220
+ for (let u = 0; u < l.length; u++)
4221
+ if (!o(a).includes(l[u]))
3981
4222
  return !1;
3982
4223
  for (let u = 0; u < d.length; u++)
3983
4224
  if (o(a).includes(d[u]))
@@ -3996,20 +4237,20 @@ class Nt {
3996
4237
  return t.join(" ").toLowerCase();
3997
4238
  }
3998
4239
  }
3999
- class zt {
4240
+ class Ut {
4000
4241
  static bodyRenderer(e) {
4001
4242
  return new T(void 0, e, void 0);
4002
4243
  }
4003
4244
  }
4004
- class jt {
4245
+ class qt {
4005
4246
  constructor(e, t = !0, o = !1) {
4006
4247
  this.property = e, this.skipCheckableCheck = t, this.readonly = o;
4007
4248
  }
4008
- render(e, t, o, s, i, r, l) {
4249
+ render(e, t, o, s, i, r, n) {
4009
4250
  if (this.readonly || this.skipCheckableCheck || i.isRowCheckable(t)) {
4010
- l.addClass(e, "ge-table-row-checkbox-div");
4011
- const n = i.getRowByIndex(t), a = i.getValueByT(n, this.property) === !0 ? "checked" : "", c = this.readonly ? " readonly " : "";
4012
- if (l.addClass(e, "ge-padding-property-checkbox"), e.innerHTML = `
4251
+ n.addClass(e, "ge-table-row-checkbox-div");
4252
+ const l = i.getRowByIndex(t), a = i.getValueByT(l, this.property) === !0 ? "checked" : "", h = this.readonly ? " readonly " : "";
4253
+ if (n.addClass(e, "ge-padding-property-checkbox"), e.innerHTML = `
4013
4254
  <input
4014
4255
  type="checkbox"
4015
4256
  data-area="${s}"
@@ -4018,20 +4259,20 @@ class jt {
4018
4259
  data-property-index="${this.property}"
4019
4260
  data-input-type="checkbox"
4020
4261
  ${a}
4021
- ${c}
4262
+ ${h}
4022
4263
  class="ge-input-checkbox">`, !this.readonly) {
4023
4264
  const u = e.querySelector(".ge-input-checkbox");
4024
- u && u.addEventListener("click", (m, b) => (n[this.property] = !n[this.property], !0));
4265
+ u && u.addEventListener("click", (w, f) => (l[this.property] = !l[this.property], !0));
4025
4266
  }
4026
4267
  }
4027
4268
  }
4028
4269
  }
4029
- class Xt {
4030
- render(e, t, o, s, i, r, l) {
4270
+ class Jt {
4271
+ render(e, t, o, s, i, r, n) {
4031
4272
  r && (e.innerText = new Date(r).toISOString());
4032
4273
  }
4033
4274
  }
4034
- class Kt {
4275
+ class Qt {
4035
4276
  constructor() {
4036
4277
  this.formatter = new Intl.DateTimeFormat("de-DE", {
4037
4278
  year: "numeric",
@@ -4039,37 +4280,37 @@ class Kt {
4039
4280
  day: "2-digit"
4040
4281
  });
4041
4282
  }
4042
- render(e, t, o, s, i, r, l) {
4283
+ render(e, t, o, s, i, r, n) {
4043
4284
  if (r) {
4044
- let n = "";
4285
+ let l = "";
4045
4286
  try {
4046
- n = this.formatter.format(new Date(r));
4287
+ l = this.formatter.format(new Date(r));
4047
4288
  } catch {
4048
- n = r;
4289
+ l = r;
4049
4290
  }
4050
4291
  e.innerHTML = `
4051
4292
  <div class="ge-table-label-div" data-row-index="${t}" data-col-index="${o}" data-area="${s}" style="position: relative; background: transparent; width: 100%; height: 100%;">
4052
- <div class="ge-table-label" data-row-index="${t}" data-col-index="${o}" data-area="${s}">${n}</div>
4293
+ <div class="ge-table-label" data-row-index="${t}" data-col-index="${o}" data-area="${s}">${l}</div>
4053
4294
  </div>`;
4054
4295
  }
4055
4296
  }
4056
4297
  }
4057
- class Yt {
4058
- render(e, t, o, s, i, r, l) {
4298
+ class Zt {
4299
+ render(e, t, o, s, i, r, n) {
4059
4300
  r && (e.innerText = new Date(r).toLocaleDateString());
4060
4301
  }
4061
4302
  }
4062
- class Ut {
4063
- render(e, t, o, s, i, r, l) {
4303
+ class eo {
4304
+ render(e, t, o, s, i, r, n) {
4064
4305
  r === "male" || r === "m" ? e.innerText = "♂" : (r === "female" || r === "f") && (e.innerText = "♀");
4065
4306
  }
4066
4307
  }
4067
- class qt {
4308
+ class to {
4068
4309
  constructor(e = 100, t = !1) {
4069
4310
  this.maxValue = e, this.labelVisible = t;
4070
4311
  }
4071
- render(e, t, o, s, i, r, l) {
4072
- if (l.addClass(e, "ge-progressbar-div"), !isNaN(r)) {
4312
+ render(e, t, o, s, i, r, n) {
4313
+ if (n.addClass(e, "ge-progressbar-div"), !isNaN(r)) {
4073
4314
  const d = Number(r) * 100 / this.maxValue, a = this.labelVisible ? Math.round(d) + "%" : "";
4074
4315
  e.innerHTML = `
4075
4316
  <div class="ge-table-label-div"
@@ -4094,58 +4335,58 @@ class qt {
4094
4335
  }
4095
4336
  }
4096
4337
  }
4097
- class Jt {
4098
- render(e, t, o, s, i, r, l) {
4338
+ class oo {
4339
+ render(e, t, o, s, i, r, n) {
4099
4340
  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 = "";
4100
4341
  }
4101
4342
  }
4102
- class Qt {
4103
- render(e, t, o, s, i, r, l) {
4343
+ class so {
4344
+ render(e, t, o, s, i, r, n) {
4104
4345
  r && (e.innerText = new Date(r).toISOString().replace(/T/g, " ").replace(/\..*/g, ""));
4105
4346
  }
4106
4347
  }
4107
- class Zt {
4348
+ class io {
4108
4349
  constructor(e = Number.MIN_SAFE_INTEGER, t = Number.MAX_SAFE_INTEGER) {
4109
4350
  this.min = e, this.max = t;
4110
4351
  }
4111
- render(e, t, o, s, i, r, l) {
4112
- r && (e.innerText = r, (typeof r == "string" || isNaN(r) || r < this.min || r > this.max) && l.addClass(e, "ge-cell-error"));
4352
+ render(e, t, o, s, i, r, n) {
4353
+ r && (e.innerText = r, (typeof r == "string" || isNaN(r) || r < this.min || r > this.max) && n.addClass(e, "ge-cell-error"));
4113
4354
  }
4114
4355
  }
4115
- class eo {
4356
+ class ro {
4116
4357
  constructor(e) {
4117
4358
  this.property = e;
4118
4359
  }
4119
- render(e, t, o, s, i, r, l) {
4120
- l.addClass(e, "ge-star-rating-div");
4121
- const n = i.getRowByIndex(t), d = +("" + i.getValueByT(n, this.property));
4360
+ render(e, t, o, s, i, r, n) {
4361
+ n.addClass(e, "ge-star-rating-div");
4362
+ const l = i.getRowByIndex(t), d = +("" + i.getValueByT(l, this.property));
4122
4363
  if (!isNaN(d)) {
4123
4364
  const a = [];
4124
4365
  for (let u = 0; u < d; u++)
4125
4366
  a.push("★");
4126
- const c = a.join(" ");
4367
+ const h = a.join(" ");
4127
4368
  e.innerHTML = `
4128
4369
  <div class="ge-table-label-div" data-row-index="${t}" data-col-index="${o}" data-area="${s}" style="position: relative; background: transparent; width: 100%; height: 100%;">
4129
- <div class="ge-table-label" data-row-index="${t}" data-col-index="${o}" data-area="${s}">${c}</div>
4370
+ <div class="ge-table-label" data-row-index="${t}" data-col-index="${o}" data-area="${s}">${h}</div>
4130
4371
  </div>`;
4131
4372
  }
4132
4373
  }
4133
4374
  }
4134
- class to {
4375
+ class lo {
4135
4376
  constructor(e, t = 100, o = !1) {
4136
4377
  this.property = e, this.maxValue = t, this.labelVisible = o;
4137
4378
  }
4138
- render(e, t, o, s, i, r, l) {
4139
- l.addClass(e, "ge-star-rating-div");
4140
- const n = i.getRowByIndex(t), d = +("" + i.getValueByT(n, this.property));
4379
+ render(e, t, o, s, i, r, n) {
4380
+ n.addClass(e, "ge-star-rating-div");
4381
+ const l = i.getRowByIndex(t), d = +("" + i.getValueByT(l, this.property));
4141
4382
  if (!isNaN(d)) {
4142
- const a = d * 100 / this.maxValue, c = this.labelVisible ? Math.round(a) + "%" : "";
4383
+ const a = d * 100 / this.maxValue, h = this.labelVisible ? Math.round(a) + "%" : "";
4143
4384
  e.innerHTML = `
4144
4385
  <div class="ge-table-label-div"
4145
4386
  data-row-index="${t}"
4146
4387
  data-col-index="${o}"
4147
4388
  data-area="${s}"
4148
- title="${c}"
4389
+ title="${h}"
4149
4390
  style="position: relative; background: transparent; width: 100%; height: 100%;">
4150
4391
  <div class="ge-table-progress-container"
4151
4392
  style="width:100%;height:50%;padding:0;margin-top:6px;"
@@ -4163,8 +4404,8 @@ class to {
4163
4404
  }
4164
4405
  }
4165
4406
  }
4166
- class oo {
4167
- render(e, t, o, s, i, r, l) {
4407
+ class no {
4408
+ render(e, t, o, s, i, r, n) {
4168
4409
  if (r) {
4169
4410
  e.innerHTML = `
4170
4411
  <div
@@ -4178,37 +4419,37 @@ class oo {
4178
4419
  data-row-index="${t}"
4179
4420
  data-col-index="${o}"
4180
4421
  data-area="${s}">${r}</div></div>`;
4181
- const n = Number(r);
4182
- n > 0 ? l.addClass(e, "ge-positive-text-color") : n < 0 && l.addClass(e, "ge-negative-text-color");
4422
+ const l = Number(r);
4423
+ l > 0 ? n.addClass(e, "ge-positive-text-color") : l < 0 && n.addClass(e, "ge-negative-text-color");
4183
4424
  }
4184
4425
  }
4185
4426
  }
4186
- const so = function(h, e, t) {
4187
- return h ? Number(h) : "";
4427
+ const ao = function(c, e, t) {
4428
+ return c ? Number(c) : "";
4188
4429
  };
4189
- class pe {
4430
+ class xe {
4190
4431
  constructor(e) {
4191
4432
  this.options = e;
4192
4433
  }
4193
4434
  static create(e) {
4194
- return new pe(
4195
- e.map((t) => new Xe(t, t))
4435
+ return new xe(
4436
+ e.map((t) => new Je(t, t))
4196
4437
  );
4197
4438
  }
4198
- render(e, t, o, s, i, r, l) {
4439
+ render(e, t, o, s, i, r, n) {
4199
4440
  if (i.isEditable(t, o)) {
4200
- l.addClass(e, "ge-table-row-select-div");
4201
- const n = i.getValueAt(t, o);
4441
+ n.addClass(e, "ge-table-row-select-div");
4442
+ const l = i.getValueAt(t, o);
4202
4443
  let d = [];
4203
- for (let c of this.options) {
4204
- const u = c.value === n ? " selected " : "";
4205
- d.push(`<option value="${c.value}" ${u}>${c.label}</option>`);
4444
+ for (let h of this.options) {
4445
+ const u = h.value === l ? " selected " : "";
4446
+ d.push(`<option value="${h.value}" ${u}>${h.label}</option>`);
4206
4447
  }
4207
4448
  const a = d.join("");
4208
4449
  e.innerHTML = `
4209
4450
  <select
4210
4451
  type="text"
4211
- value="${n}"
4452
+ value="${l}"
4212
4453
  autofocus
4213
4454
  data-listen="change"
4214
4455
  data-area="${s}"
@@ -4220,12 +4461,12 @@ class pe {
4220
4461
  }
4221
4462
  }
4222
4463
  }
4223
- class io {
4464
+ class ho {
4224
4465
  constructor(e, t, o) {
4225
4466
  this.r = e, this.g = t, this.b = o;
4226
4467
  }
4227
4468
  }
4228
- class de {
4469
+ class ue {
4229
4470
  constructor(e, t, o, s) {
4230
4471
  this.minValue = e, this.minColor = t, this.maxValue = o, this.maxColor = s;
4231
4472
  }
@@ -4235,150 +4476,151 @@ class W {
4235
4476
  return (e - t) / (o - t) * (i - s) + s;
4236
4477
  }
4237
4478
  static getTwoColorGradientRGB(e, t) {
4238
- const o = W.normalize(e, t.minValue, t.maxValue, 0, 1), s = t.maxColor.r - t.minColor.r, i = t.maxColor.g - t.minColor.g, r = t.maxColor.b - t.minColor.b, l = s * o + t.minColor.r, n = i * o + t.minColor.g, d = r * o + t.minColor.b;
4239
- return `rgb(${Math.round(l)}, ${Math.round(n)}, ${Math.round(d)})`;
4479
+ const o = W.normalize(e, t.minValue, t.maxValue, 0, 1), s = t.maxColor.r - t.minColor.r, i = t.maxColor.g - t.minColor.g, r = t.maxColor.b - t.minColor.b, n = s * o + t.minColor.r, l = i * o + t.minColor.g, d = r * o + t.minColor.b;
4480
+ return `rgb(${Math.round(n)}, ${Math.round(l)}, ${Math.round(d)})`;
4240
4481
  }
4241
4482
  static getThreeColorGradientRGB(e, t) {
4242
- return e < t.middleValue ? W.getTwoColorGradientRGB(e, new de(t.minValue, t.minColor, t.middleValue, t.middleColor)) : e > t.middleValue ? W.getTwoColorGradientRGB(e, new de(t.middleValue, t.middleColor, t.maxValue, t.maxColor)) : `rgb(${t.middleColor.r}, ${t.middleColor.g}, ${t.middleColor.b})`;
4483
+ return e < t.middleValue ? W.getTwoColorGradientRGB(e, new ue(t.minValue, t.minColor, t.middleValue, t.middleColor)) : e > t.middleValue ? W.getTwoColorGradientRGB(e, new ue(t.middleValue, t.middleColor, t.maxValue, t.maxColor)) : `rgb(${t.middleColor.r}, ${t.middleColor.g}, ${t.middleColor.b})`;
4243
4484
  }
4244
4485
  }
4245
- class ro {
4486
+ class co {
4246
4487
  constructor(e, t, o, s, i, r) {
4247
4488
  this.minValue = e, this.minColor = t, this.middleValue = o, this.middleColor = s, this.maxValue = i, this.maxColor = r;
4248
4489
  }
4249
4490
  }
4250
4491
  export {
4251
- J as AbstractAreaModel,
4252
- Ot as AreaMapFactory,
4253
- Wt as AreaModel,
4254
- D as AreaModelArrayOfArrays,
4255
- Gt as AreaModelCellGroups,
4256
- _ as AreaModelHidden,
4257
- ne as AreaModelObjectArrayWithColumndefs,
4258
- ze as AreaModelObjectyArray,
4259
- ie as AreaModelTree,
4492
+ ee as AbstractAreaModel,
4493
+ Gt as AreaMapFactory,
4494
+ Xt as AreaModel,
4495
+ _ as AreaModelArrayOfArrays,
4496
+ Yt as AreaModelCellGroups,
4497
+ D as AreaModelHidden,
4498
+ he as AreaModelObjectArrayWithColumndefs,
4499
+ Ue as AreaModelObjectyArray,
4500
+ ne as AreaModelTree,
4260
4501
  T as AreaObjectMap,
4261
- Bt as AutoRestoreOptions,
4262
- Ke as CellGroup,
4263
- Ye as CellGroupExt,
4264
- Ue as CellGroupExtCellRenderer,
4502
+ jt as AutoRestoreOptions,
4503
+ Qe as CellGroup,
4504
+ Ze as CellGroupExt,
4505
+ et as CellGroupExtCellRenderer,
4265
4506
  R as CellRange,
4266
4507
  I as CellgroupFactory,
4267
- jt as CheckboxBooleanPropertyCellRenderer,
4268
- ae as CheckboxCellRenderer,
4269
- Pt as CheckboxColumnDef,
4270
- Ne as CheckboxModel,
4271
- kt as ChunkData,
4272
- Ee as ColAndRowspanModel,
4273
- Ce as CollapsedExpandedData,
4274
- io as ColorRgb,
4508
+ qt as CheckboxBooleanPropertyCellRenderer,
4509
+ ce as CheckboxCellRenderer,
4510
+ Wt as CheckboxColumnDef,
4511
+ Ke as CheckboxModel,
4512
+ $t as ChunkData,
4513
+ _e as ColAndRowspanModel,
4514
+ Ee as CollapsedExpandedData,
4515
+ ho as ColorRgb,
4275
4516
  V as ColumnDef,
4276
- me as ConvenienceDomService,
4277
- ge as CssVars,
4278
- Kt as DateToIntlDDMMYYYYCellRenderer,
4279
- Xt as DateToIsoCellRenderer,
4280
- Yt as DateToLocaleDateCellRenderer,
4281
- Qt as DateToTecCellRenderer,
4517
+ Ce as ConvenienceDomService,
4518
+ se as CopyService,
4519
+ fe as CssVars,
4520
+ Qt as DateToIntlDDMMYYYYCellRenderer,
4521
+ Jt as DateToIsoCellRenderer,
4522
+ Zt as DateToLocaleDateCellRenderer,
4523
+ so as DateToTecCellRenderer,
4282
4524
  H as DefaultRowHeights,
4283
- Ae as EleScope,
4284
- ee as EventAdapter,
4285
- oe as FalseFn,
4286
- He as FocusModel,
4287
- Te as GeCellIndices,
4525
+ Te as EleScope,
4526
+ oe as EventAdapter,
4527
+ re as FalseFn,
4528
+ Ne as FocusModel,
4529
+ Pe as GeCellIndices,
4288
4530
  W as GeCssColorUtil,
4289
- Nt as GeFilterService,
4290
- Ht as GeKeyEvent,
4291
- q as GeModelChangeEvent,
4531
+ Kt as GeFilterService,
4532
+ Nt as GeKeyEvent,
4533
+ J as GeModelChangeEvent,
4292
4534
  K as GeMouseEvent,
4293
4535
  $ as GeoData,
4294
- F as Icon,
4295
- It as IndexAndPx,
4296
- Pe as InputCellRenderer,
4297
- Ie as InputHandler,
4298
- P as LicenseManager,
4299
- Ut as MaleFemaleToIconCellRenderer,
4300
- Se as MouseHandler,
4301
- we as MouseTargetData,
4302
- qt as NumberCellProgressBarCellRenderer,
4303
- Zt as NumberCellRenderer,
4304
- $e as OsxShortcutActionIdMapping,
4305
- le as Padding,
4306
- oo as PositiveAndNegativeNumberRenderer,
4307
- to as ProgressBarCellRenderer,
4308
- Me as RenderScope,
4309
- zt as Renderer,
4310
- je as RequestChunk,
4311
- pe as SelectCellRenderer,
4312
- Oe as SelectionModel,
4313
- De as SelectionService,
4314
- Fe as ShortcutService,
4315
- Le as SimpleDomService,
4316
- f as Size,
4317
- ke as SortItem,
4318
- ce as SortedOptions,
4319
- eo as StarRatingCellRenderer,
4320
- ve as StoreStateCollapsedExpandService,
4321
- ye as StoreStateScrollPosService,
4322
- Re as StoreStateSortingService,
4323
- xe as TableApi,
4324
- Vt as TableCellUpdateEvent,
4325
- L as TableFactory,
4536
+ O as Icon,
4537
+ Ot as IndexAndPx,
4538
+ We as InputCellRenderer,
4539
+ Oe as InputHandler,
4540
+ F as LicenseManager,
4541
+ eo as MaleFemaleToIconCellRenderer,
4542
+ Re as MouseHandler,
4543
+ ve as MouseTargetData,
4544
+ to as NumberCellProgressBarCellRenderer,
4545
+ io as NumberCellRenderer,
4546
+ He as OsxShortcutActionIdMapping,
4547
+ de as Padding,
4548
+ no as PositiveAndNegativeNumberRenderer,
4549
+ lo as ProgressBarCellRenderer,
4550
+ De as RenderScope,
4551
+ Ut as Renderer,
4552
+ qe as RequestChunk,
4553
+ xe as SelectCellRenderer,
4554
+ Ge as SelectionModel,
4555
+ Fe as SelectionService,
4556
+ Ve as ShortcutService,
4557
+ Be as SimpleDomService,
4558
+ m as Size,
4559
+ $e as SortItem,
4560
+ be as SortedOptions,
4561
+ ro as StarRatingCellRenderer,
4562
+ Ie as StoreStateCollapsedExpandService,
4563
+ Me as StoreStateScrollPosService,
4564
+ ke as StoreStateSortingService,
4565
+ Ae as TableApi,
4566
+ zt as TableCellUpdateEvent,
4567
+ P as TableFactory,
4326
4568
  N as TableModel,
4327
- Mt as TableModelAndOptions,
4569
+ Dt as TableModelAndOptions,
4328
4570
  j as TableOptions,
4329
- ue as TableScope,
4330
- ro as ThreeColorGradientArg,
4331
- re as TreeCheckboxModel,
4332
- X as TreeFactory,
4333
- he as TreeOptions,
4334
- te as TreeRow,
4335
- Ge as TreeRowService,
4336
- Jt as TrueFalseCellRenderer,
4337
- We as TrueFn,
4338
- de as TwoColorGradientArg,
4339
- Xe as ValueLabel,
4340
- _e as WindowsShortcutActionIdMapping,
4341
- Et as actionIds,
4342
- Ft as allCenter,
4343
- $t as allLeft,
4344
- Lt as allRight,
4345
- Dt as bodyCenter,
4346
- Tt as bodyLeft,
4347
- _t as bodyRight,
4348
- so as editInputPipeForNumber,
4349
- Y as getAreaIdentByString,
4571
+ pe as TableScope,
4572
+ co as ThreeColorGradientArg,
4573
+ ae as TreeCheckboxModel,
4574
+ Y as TreeFactory,
4575
+ ge as TreeOptions,
4576
+ ie as TreeRow,
4577
+ Ye as TreeRowService,
4578
+ oo as TrueFalseCellRenderer,
4579
+ Xe as TrueFn,
4580
+ ue as TwoColorGradientArg,
4581
+ Je as ValueLabel,
4582
+ Le as WindowsShortcutActionIdMapping,
4583
+ _t as actionIds,
4584
+ Vt as allCenter,
4585
+ Ht as allLeft,
4586
+ Bt as allRight,
4587
+ Ft as bodyCenter,
4588
+ Pt as bodyLeft,
4589
+ Lt as bodyRight,
4590
+ ao as editInputPipeForNumber,
4591
+ U as getAreaIdentByString,
4350
4592
  z as isAreaModelTree,
4351
- fe as isCheckboxColumnDef,
4352
- O as isTreeRow,
4353
- At as px0,
4354
- Rt as px10,
4355
- pt as px100,
4356
- bt as px110,
4357
- gt as px120,
4358
- ut as px130,
4359
- ct as px140,
4360
- ht as px150,
4361
- dt as px160,
4362
- at as px170,
4363
- nt as px180,
4364
- lt as px190,
4365
- vt as px20,
4366
- se as px200,
4367
- rt as px210,
4368
- it as px220,
4369
- st as px230,
4370
- ot as px240,
4371
- tt as px250,
4372
- et as px260,
4373
- Ze as px270,
4374
- Qe as px280,
4375
- Je as px290,
4376
- Ct as px30,
4377
- qe as px300,
4378
- yt as px40,
4379
- xt as px50,
4380
- St as px60,
4381
- wt as px70,
4382
- mt as px80,
4383
- ft as px90
4593
+ ye as isCheckboxColumnDef,
4594
+ L as isTreeRow,
4595
+ Tt as px0,
4596
+ kt as px10,
4597
+ xt as px100,
4598
+ St as px110,
4599
+ wt as px120,
4600
+ mt as px130,
4601
+ ft as px140,
4602
+ pt as px150,
4603
+ bt as px160,
4604
+ gt as px170,
4605
+ ut as px180,
4606
+ ct as px190,
4607
+ It as px20,
4608
+ le as px200,
4609
+ ht as px210,
4610
+ dt as px220,
4611
+ at as px230,
4612
+ nt as px240,
4613
+ lt as px250,
4614
+ rt as px260,
4615
+ it as px270,
4616
+ st as px280,
4617
+ ot as px290,
4618
+ Et as px30,
4619
+ tt as px300,
4620
+ Mt as px40,
4621
+ At as px50,
4622
+ Rt as px60,
4623
+ vt as px70,
4624
+ Ct as px80,
4625
+ yt as px90
4384
4626
  };