@guiexpert/table 1.1.33 → 1.1.37

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- function ot(h, e = 500) {
1
+ function dt(h, e = 500) {
2
2
  let t = null, s = 0;
3
3
  return function(...o) {
4
4
  const i = Date.now(), r = e - (i - s);
@@ -7,7 +7,7 @@ function ot(h, e = 500) {
7
7
  }, r));
8
8
  };
9
9
  }
10
- function Ce(h, e = 500) {
10
+ function ve(h, e = 500) {
11
11
  let t = null;
12
12
  return function(...s) {
13
13
  t && window.clearTimeout(t), t = window.setTimeout(() => {
@@ -15,7 +15,7 @@ function Ce(h, e = 500) {
15
15
  }, e);
16
16
  };
17
17
  }
18
- function it(h = 500) {
18
+ function ht(h = 500) {
19
19
  return function(e, t, s) {
20
20
  let o = 0;
21
21
  const i = s.value;
@@ -25,14 +25,14 @@ function it(h = 500) {
25
25
  }, s;
26
26
  };
27
27
  }
28
- class O {
28
+ class B {
29
29
  // The constructor is private to prevent direct construction calls
30
30
  // with the `new` operator
31
31
  constructor() {
32
32
  this.alreadySet = !1;
33
33
  }
34
34
  static getInstance() {
35
- return O.instance || (O.instance = new O()), O.instance;
35
+ return B.instance || (B.instance = new B()), B.instance;
36
36
  }
37
37
  /**
38
38
  * Method to set the license key for the application.
@@ -50,21 +50,21 @@ class O {
50
50
  }
51
51
  }
52
52
  }
53
- function $(h) {
53
+ function W(h) {
54
54
  return h && h.type === "TreeRow";
55
55
  }
56
- function Y(h) {
56
+ function J(h) {
57
57
  return h && h.type === "AreaModelTree";
58
58
  }
59
- function ve(h) {
59
+ function Ae(h) {
60
60
  return h && h.type === "CheckboxColumnDef";
61
61
  }
62
- class Z {
63
- constructor(e = -1, t = -1, s = -1, o = -1, i, r, n, l = 0, a = 0, c = 0, d = "") {
64
- this.rowIndex = e, this.rowTop = t, this.columnIndex = s, this.columnLeft = o, this.areaIdent = i, this.sideIdent = r, this.originalEvent = n, this.clickCount = l, this.draggingX = a, this.draggingY = c, this.action = d;
62
+ class ee {
63
+ constructor(e = -1, t = -1, s = -1, o = -1, i, r, l, n = 0, c = 0, a = 0, d = "") {
64
+ this.rowIndex = e, this.rowTop = t, this.columnIndex = s, this.columnLeft = o, this.areaIdent = i, this.sideIdent = r, this.originalEvent = l, this.clickCount = n, this.draggingX = c, this.draggingY = a, this.action = d;
65
65
  }
66
66
  clone() {
67
- return new Z(
67
+ return new ee(
68
68
  this.rowIndex,
69
69
  this.rowTop,
70
70
  this.columnIndex,
@@ -84,7 +84,7 @@ class P {
84
84
  this.content = e, this.style = t, this.classes = s;
85
85
  }
86
86
  }
87
- class me {
87
+ class xe {
88
88
  constructor(e = new P(
89
89
  ">",
90
90
  "transform: rotate(90deg) translate(66%, -66%); transform-origin: 0 0;",
@@ -105,7 +105,7 @@ class me {
105
105
  this.arrowExpanded = e, this.arrowCollapsed = t, this.arrowPlaceholder = s, this.arrowExpandCollapseAll = o;
106
106
  }
107
107
  }
108
- class be {
108
+ class we {
109
109
  constructor(e = new P("↑", "", ["ge-header-sorted-asc"]), t = new P("↓", "", ["ge-header-sorted-desc"]), s = new P("↑", "color:transparent;", [])) {
110
110
  this.iconAsc = e, this.iconDesc = t, this.iconPlaceholder = s;
111
111
  }
@@ -184,26 +184,26 @@ class Re {
184
184
  return this.addClass(e, s), this.domService.appendChild(t, s), s;
185
185
  }
186
186
  addRowDiv(e, t, s = -1, o, i, r = "") {
187
- const n = t.index ?? -1, l = this.getDivOrCreateDiv(n, e);
188
- if (this.domService.addClass(l, "ge-table-row-div"), this.domService.addClass(l, `ge-table-row-div-${t.index}`), o === "body" && i === "center") {
189
- const a = ((t == null ? void 0 : t.index) ?? 0) % 2 === 0 ? "even" : "odd";
190
- this.domService.addClass(l, `ge-table-row-${a}`);
187
+ const l = t.index ?? -1, n = this.getDivOrCreateDiv(l, e);
188
+ if (this.domService.addClass(n, "ge-table-row-div"), this.domService.addClass(n, `ge-table-row-div-${t.index}`), o === "body" && i === "center") {
189
+ const c = ((t == null ? void 0 : t.index) ?? 0) % 2 === 0 ? "even" : "odd";
190
+ this.domService.addClass(n, `ge-table-row-${c}`);
191
191
  }
192
- 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", `${s}`), this.domService.setAttribute(l, "data-area", `${o}`), r) {
193
- const a = this.domService.createText(r);
194
- this.domService.appendChild(l, a);
192
+ 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", `${s}`), this.domService.setAttribute(n, "data-area", `${o}`), r) {
193
+ const c = this.domService.createText(r);
194
+ this.domService.appendChild(n, c);
195
195
  }
196
- return this.domService.appendChild(e.child, l), l;
196
+ return this.domService.appendChild(e.child, n), n;
197
197
  }
198
198
  addColumnDiv(e) {
199
- const { parent: t, geo: s, rowIndex: o = -1, columnIndex: i = -1, areaIdent: r, sideIdent: n, text: l = "", treeArrow: a, tableOptions: c, checkedType: d = void 0, sortState: u } = e, f = c == null ? void 0 : c.treeOptions, p = c == null ? void 0 : c.showCheckboxWihoutExtraColumn, m = this.domService.createElement("div");
199
+ const { parent: t, geo: s, rowIndex: o = -1, columnIndex: i = -1, areaIdent: r, sideIdent: l, text: n = "", treeArrow: c, tableOptions: a, checkedType: d = void 0, sortState: u } = e, f = a == null ? void 0 : a.treeOptions, p = a == null ? void 0 : a.showCheckboxWihoutExtraColumn, m = this.domService.createElement("div");
200
200
  this.domService.addClass(m, "ge-table-col-div"), p && this.domService.addClass(m, "ge-with-checkbox"), this.domService.addClass(m, `ge-table-col-div-${s.index}`), this.domService.setAttribute(m, "data-col-index", `${s.index}`), this.domService.setAttribute(m, "data-row-index", `${o}`), this.domService.setAttribute(m, "data-area", `${r}`);
201
201
  const g = ((s == null ? void 0 : s.index) ?? 0) % 2 === 0 ? "even" : "odd";
202
- if (r === "body" && n === "center" && this.domService.addClass(m, `ge-table-column-${g}`), this.domService.setStyle(m, "display", "clip"), this.domService.setStyle(m, "position", "absolute"), this.domService.setStyle(m, "left", `${s.left}px`), this.domService.setStyle(m, "top", `${s.top}px`), this.domService.setStyle(m, "width", `${s.width}px`), this.domService.setStyle(m, "height", `${s.height}px`), a && a !== "none" && (this.domService.addClass(m, "ge-table-col-tree"), this.addArrowDiv(m, a, f, o, i, r)), p && i === 0 && d && this.addCheckboxToDiv(m, d, r, o), l) {
203
- const b = a !== "none" && i === 0;
204
- this.addLabelDiv(m, l, b, o, i, r);
202
+ if (r === "body" && l === "center" && this.domService.addClass(m, `ge-table-column-${g}`), this.domService.setStyle(m, "display", "clip"), this.domService.setStyle(m, "position", "absolute"), this.domService.setStyle(m, "left", `${s.left}px`), this.domService.setStyle(m, "top", `${s.top}px`), this.domService.setStyle(m, "width", `${s.width}px`), this.domService.setStyle(m, "height", `${s.height}px`), c && c !== "none" && (this.domService.addClass(m, "ge-table-col-tree"), this.addArrowDiv(m, c, f, o, i, r)), p && i === 0 && d && this.addCheckboxToDiv(m, d, r, o), n) {
203
+ const b = c !== "none" && i === 0;
204
+ this.addLabelDiv(m, n, b, o, i, r);
205
205
  }
206
- return u && this.addSortedIcon(m, u, c == null ? void 0 : c.sortedOptions, i), this.domService.appendChild(t, m), m;
206
+ return u && this.addSortedIcon(m, u, a == null ? void 0 : a.sortedOptions, i), this.domService.appendChild(t, m), m;
207
207
  }
208
208
  addCheckboxToDiv(e, t, s, o) {
209
209
  const i = this.domService.createElement("div"), r = t === "full" ? "checked" : "";
@@ -217,40 +217,40 @@ class Re {
217
217
  class="ge-table-row-checkbox"> `, this.domService.setStyle(i, "display", "inline"), this.domService.setStyle(i, "width", "inherit"), this.domService.setAttribute(i, "data-row-index", `${o}`), this.domService.appendChild(e, i), i;
218
218
  }
219
219
  addLabelDiv(e, t = "", s = !1, o = -1, i = -1, r = "body") {
220
- const n = this.domService.createElement("div");
221
- 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", `${o}`), this.domService.setAttribute(n, "data-col-index", `${i}`), this.domService.setAttribute(n, "data-area", `${r}`), t)
220
+ const l = this.domService.createElement("div");
221
+ 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", `${o}`), this.domService.setAttribute(l, "data-col-index", `${i}`), this.domService.setAttribute(l, "data-area", `${r}`), t)
222
222
  if (s) {
223
- const l = this.domService.createText(t);
224
- this.domService.appendChild(n, l);
223
+ const n = this.domService.createText(t);
224
+ this.domService.appendChild(l, n);
225
225
  } else {
226
- const l = this.domService.createElement("div");
227
- this.domService.appendChild(n, l);
228
- const a = this.domService.createText(t);
229
- this.domService.addClass(l, "ge-table-label"), this.domService.appendChild(l, a), this.domService.setAttribute(l, "data-row-index", `${o}`), this.domService.setAttribute(l, "data-col-index", `${i}`), this.domService.setAttribute(l, "data-area", `${r}`);
226
+ const n = this.domService.createElement("div");
227
+ this.domService.appendChild(l, n);
228
+ const c = this.domService.createText(t);
229
+ this.domService.addClass(n, "ge-table-label"), this.domService.appendChild(n, c), this.domService.setAttribute(n, "data-row-index", `${o}`), this.domService.setAttribute(n, "data-col-index", `${i}`), this.domService.setAttribute(n, "data-area", `${r}`);
230
230
  }
231
- return this.domService.appendChild(e, n), n;
231
+ return this.domService.appendChild(e, l), l;
232
232
  }
233
- addSortedIcon(e, t = "", s = new be(), o = -1) {
233
+ addSortedIcon(e, t = "", s = new we(), o = -1) {
234
234
  const i = this.domService.createElement("div");
235
235
  this.domService.addClass(i, "ge-table-sorted-icon-div"), this.domService.setStyle(i, "position", "absolute"), this.domService.setStyle(i, "top", "0"), this.domService.setStyle(i, "right", "0"), this.domService.setStyle(i, "width", "20px"), this.domService.setStyle(i, "background", "transparent"), this.domService.setStyle(i, "cursor", "pointer"), this.domService.setAttribute(i, "data-col-index", `${o}`), this.domService.setAttribute(i, "data-area", "header");
236
236
  let r;
237
237
  t === "asc" ? r = s.iconAsc : t === "desc" ? r = s.iconDesc : r = s.iconPlaceholder;
238
- const n = r.content, l = this.domService.createText(n);
239
- this.domService.appendChild(i, l), r.style && this.applyStyleString(i, r.style);
240
- for (const a of r.classes)
241
- this.domService.addClass(i, a);
238
+ const l = r.content, n = this.domService.createText(l);
239
+ this.domService.appendChild(i, n), r.style && this.applyStyleString(i, r.style);
240
+ for (const c of r.classes)
241
+ this.domService.addClass(i, c);
242
242
  return this.domService.appendChild(e, i), i;
243
243
  }
244
- addArrowDiv(e, t = "none", s = new me(), o = -1, i = -1, r = "body") {
245
- const n = this.domService.createElement("div");
246
- this.domService.addClass(n, "ge-table-tree-arrow-div"), this.domService.setStyle(n, "display", "inline-block"), this.domService.setStyle(n, "position", ""), this.domService.setStyle(n, "width", "20px"), this.domService.setStyle(n, "background", "transparent"), this.domService.setStyle(n, "cursor", "pointer"), this.domService.setAttribute(n, "data-row-index", `${o}`), this.domService.setAttribute(n, "data-col-index", `${i}`), this.domService.setAttribute(n, "data-area", `${r}`);
247
- let l;
248
- t === "expanded" ? l = s.arrowExpanded : t === "collapsed" ? l = s.arrowCollapsed : l = s.arrowPlaceholder;
249
- const a = l.content, c = this.domService.createText(a);
250
- this.domService.appendChild(n, c), l.style && this.applyStyleString(n, l.style);
251
- for (const d of l.classes)
252
- this.domService.addClass(n, d);
253
- return this.domService.appendChild(e, n), n;
244
+ addArrowDiv(e, t = "none", s = new xe(), o = -1, i = -1, r = "body") {
245
+ const l = this.domService.createElement("div");
246
+ 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", `${o}`), this.domService.setAttribute(l, "data-col-index", `${i}`), this.domService.setAttribute(l, "data-area", `${r}`);
247
+ let n;
248
+ t === "expanded" ? n = s.arrowExpanded : t === "collapsed" ? n = s.arrowCollapsed : n = s.arrowPlaceholder;
249
+ const c = n.content, a = this.domService.createText(c);
250
+ this.domService.appendChild(l, a), n.style && this.applyStyleString(l, n.style);
251
+ for (const d of n.classes)
252
+ this.domService.addClass(l, d);
253
+ return this.domService.appendChild(e, l), l;
254
254
  }
255
255
  addColumnBorderDivs(e, t, s, o, i) {
256
256
  if (e.verticalBorderVisible) {
@@ -292,20 +292,20 @@ class Re {
292
292
  return s ? (s.innerText = "", s) : (s = this.domService.createElement("div"), t.cache[e] = s, s);
293
293
  }
294
294
  }
295
- const Q = (h) => h === "header" ? "header" : h === "footer" ? "footer" : "body";
296
- class Ae {
295
+ const Y = (h) => h === "header" ? "header" : h === "footer" ? "footer" : "body";
296
+ class Ee {
297
297
  constructor(e, t) {
298
298
  if (this.rowIdx = -1, this.colIdx = -1, this.action = null, this.inputType = null, this.className = "", e !== null && (e instanceof HTMLDivElement || e instanceof HTMLSpanElement || e instanceof HTMLInputElement)) {
299
299
  this.className = e.className, this.action = e.getAttribute("data-ge-action"), this.inputType = e.getAttribute("data-input-type"), this.rowIdx = Number(e.getAttribute("data-row-index")), this.colIdx = Number(e.getAttribute("data-col-index"));
300
300
  const s = e.getAttribute("data-area");
301
- if (s && (this.areaIdent = Q(s), this.areaModel = t.tableModel.getAreaModel(this.areaIdent), this.row = this.areaModel.getRowByIndex(this.rowIdx)), e instanceof HTMLInputElement) {
301
+ if (s && (this.areaIdent = Y(s), this.areaModel = t.tableModel.getAreaModel(this.areaIdent), this.row = this.areaModel.getRowByIndex(this.rowIdx)), e instanceof HTMLInputElement) {
302
302
  const o = e;
303
303
  this.value = o.value;
304
304
  }
305
305
  }
306
306
  }
307
307
  }
308
- class Ee {
308
+ class Me {
309
309
  constructor(e) {
310
310
  this.tableScope = e, this.doubleClickDelay = 500, this.expandedAll = !0, this.mouseDown = !1, this.dragging = !1, this.lastClicked = 0, this.tableScope.hostElement.addEventListener("click", this.onHostElementClicked.bind(this)), this.tableScope.hostElement.addEventListener("dblclick", this.onHostElementDblClicked.bind(this)), this.tableScope.hostElement.addEventListener("mousedown", this.onMouseDown.bind(this)), this.tableScope.hostElement.addEventListener("mousemove", this.onMouseMove.bind(this)), this.tableScope.hostElement.addEventListener("mouseup", this.onMouseUp.bind(this)), this.tableScope.hostElement.addEventListener("contextmenu", this.onContextmenu.bind(this)), this.tableScope.hostElement._MouseHandler = "true", this.tableScope.scrollViewport.addEventListener("scroll", this.tableScope.adjustAfterScrolling.bind(this.tableScope)), [window, this.tableScope.hostElement].forEach(
311
311
  (t) => t.addEventListener("resize", this.tableScope.adjustContainersAndRows.bind(this.tableScope))
@@ -335,14 +335,14 @@ class Ee {
335
335
  if (t - this.lastClicked < this.doubleClickDelay)
336
336
  return;
337
337
  this.lastClicked = t;
338
- const s = new Ae(e.target, this.tableScope);
338
+ const s = new Ee(e.target, this.tableScope);
339
339
  if (s.action === "toggleExpandCollapseAll")
340
340
  this.expandedAll = !this.expandedAll, this.tableScope.toggleExpandCollapseAll(this.expandedAll), e.preventDefault(), e.stopPropagation();
341
341
  else if (s.action === "toggleHeaderGroup")
342
342
  this.tableScope.toggleHeaderGroup(s), e.preventDefault(), e.stopPropagation();
343
343
  else if (s.inputType === "checkbox" && s.areaIdent)
344
344
  this.tableScope.toggleRowCheckbox(s.rowIdx, s.colIdx, s.areaIdent), e.preventDefault(), e.stopPropagation();
345
- else if ($(s.row) && s.areaModel) {
345
+ else if (W(s.row) && s.areaModel) {
346
346
  const o = s.colIdx === this.getArrowColumnIndex() && e.altKey, i = s.className.includes("ge-table-tree-arrow-div");
347
347
  if (o || i) {
348
348
  e.preventDefault(), e.stopPropagation();
@@ -364,15 +364,15 @@ class Ee {
364
364
  */
365
365
  onHostElementDblClicked(e) {
366
366
  if (this.lastClicked = Date.now(), e.target instanceof HTMLElement) {
367
- const t = e.target, s = t.getAttribute("data-area"), o = Q(s), i = Number(t.getAttribute("data-row-index")), r = Number(t.getAttribute("data-col-index")), n = this.tableScope.tableModel.getAreaModel(o);
367
+ const t = e.target, s = t.getAttribute("data-area"), o = Y(s), i = Number(t.getAttribute("data-row-index")), r = Number(t.getAttribute("data-col-index")), l = this.tableScope.tableModel.getAreaModel(o);
368
368
  if (s && o === "header")
369
369
  this.tableScope.tableModel.isSortable(r) && (this.tableScope.clearSelection(), this.tableScope.onHeaderDblClicked(e, i, r));
370
370
  else if (t.getAttribute("data-row-index")) {
371
- const l = n.getRowByIndex(i);
372
- if (s && o === "body" && n.isEditable(i, r) && (this.tableScope.clearSelection(), this.tableScope.initRenderEditor(i, r)), $(l) && r === this.getArrowColumnIndex()) {
371
+ const n = l.getRowByIndex(i);
372
+ if (s && o === "body" && l.isEditable(i, r) && (this.tableScope.clearSelection(), this.tableScope.initRenderEditor(i, r)), W(n) && r === this.getArrowColumnIndex()) {
373
373
  e.preventDefault(), e.stopPropagation();
374
- const a = l;
375
- a.expanded = !a.expanded, "recalcVisibleTreeRows" in n && n.recalcVisibleTreeRows(), this.tableScope.tableModel.recalcSize(this.tableScope.hostElement.clientWidth), this.tableScope.adjustContainersAndRows(), this.updateCollapsedExpandedState(a);
374
+ const c = n;
375
+ c.expanded = !c.expanded, "recalcVisibleTreeRows" in l && l.recalcVisibleTreeRows(), this.tableScope.tableModel.recalcSize(this.tableScope.hostElement.clientWidth), this.tableScope.adjustContainersAndRows(), this.updateCollapsedExpandedState(c);
376
376
  }
377
377
  }
378
378
  }
@@ -397,11 +397,11 @@ class Ee {
397
397
  * @returns {void}
398
398
  */
399
399
  updateCollapsedExpandedState(e) {
400
- var s, o, i, r, n;
400
+ var s, o, i, r, l;
401
401
  const t = (o = (s = this.tableScope.tableOptions) == null ? void 0 : s.autoRestoreOptions) == null ? void 0 : o.getRowId;
402
402
  if (t) {
403
- const l = (i = this.tableScope.storeStateCollapsedExpandService) == null ? void 0 : i.collapsedExpandedStateGet().mode, a = l === "collapsed" && !e.expanded || l === "expanded" && e.expanded, c = l === "collapsed" && e.expanded || l === "expanded" && !e.expanded, d = t(e.data);
404
- a ? (r = this.tableScope.storeStateCollapsedExpandService) == null || r.collapsedStateIdsPush(d) : c && ((n = this.tableScope.storeStateCollapsedExpandService) == null || n.collapsedStateIdsRemove(d));
403
+ const n = (i = this.tableScope.storeStateCollapsedExpandService) == null ? void 0 : i.collapsedExpandedStateGet().mode, c = n === "collapsed" && !e.expanded || n === "expanded" && e.expanded, a = n === "collapsed" && e.expanded || n === "expanded" && !e.expanded, d = t(e.data);
404
+ c ? (r = this.tableScope.storeStateCollapsedExpandService) == null || r.collapsedStateIdsPush(d) : a && ((l = this.tableScope.storeStateCollapsedExpandService) == null || l.collapsedStateIdsRemove(d));
405
405
  }
406
406
  }
407
407
  getArrowColumnIndex() {
@@ -437,7 +437,7 @@ class Ee {
437
437
  }
438
438
  }
439
439
  }
440
- class Me {
440
+ class Te {
441
441
  constructor(e) {
442
442
  this.tableScope = e;
443
443
  }
@@ -624,12 +624,12 @@ class Me {
624
624
  downloadExcel(e = "table.xlsx", t = "") {
625
625
  const s = [], o = this.tableScope.tableModel.getColumnCount(), i = ["header", "body", "footer"];
626
626
  for (const r of i) {
627
- const n = this.tableScope.tableModel.getAreaModel(r), l = (n == null ? void 0 : n.getRowCount()) ?? 0;
628
- for (let a = 0; a < l; a++) {
629
- const c = [];
630
- s.push(c);
627
+ const l = this.tableScope.tableModel.getAreaModel(r), n = (l == null ? void 0 : l.getRowCount()) ?? 0;
628
+ for (let c = 0; c < n; c++) {
629
+ const a = [];
630
+ s.push(a);
631
631
  for (let d = 0; d < o; d++)
632
- c.push(n.getValueAt(a, d));
632
+ a.push(l.getValueAt(c, d));
633
633
  }
634
634
  }
635
635
  return this.tableScope.excelService.downloadExcel(s, e, t);
@@ -651,8 +651,20 @@ class Me {
651
651
  getSelectionModel() {
652
652
  return this.tableScope.selectionModel();
653
653
  }
654
+ autoResizeColumns(e = !0) {
655
+ this.tableScope.autoResizeColumns(e);
656
+ }
657
+ recalcWrappers() {
658
+ this.tableScope.recalcWrappers();
659
+ }
660
+ setColumnWidth(e, t) {
661
+ this.tableScope.setColumnWidth(e, t);
662
+ }
663
+ getTableModel() {
664
+ return this.tableScope.tableModel;
665
+ }
654
666
  }
655
- class ee {
667
+ class te {
656
668
  constructor(e) {
657
669
  this.getStorageKeyFn = e;
658
670
  }
@@ -727,7 +739,7 @@ class ee {
727
739
  // }
728
740
  // }
729
741
  }
730
- class Te extends ee {
742
+ class ke extends te {
731
743
  constructor(e) {
732
744
  super(e), this.SCROLL_STATE = "scrollState", this.scrollOffset = [0, 0], this.load();
733
745
  }
@@ -749,14 +761,14 @@ class Te extends ee {
749
761
  }
750
762
  }
751
763
  }
752
- class ke {
764
+ class Ie {
753
765
  constructor(e = "collapsed", t = [], s = !1, o = !1) {
754
766
  this.mode = e, this.rowIds = t, this.allCollapsed = s, this.allExpanded = o;
755
767
  }
756
768
  }
757
- class Ie extends ee {
769
+ class De extends te {
758
770
  constructor(e) {
759
- super(e), this.COLLAPSED_EXPANDED_STATE = "collapsedExpandedState", this.collapsedExpandedState = new ke(), this.load();
771
+ super(e), this.COLLAPSED_EXPANDED_STATE = "collapsedExpandedState", this.collapsedExpandedState = new Ie(), this.load();
760
772
  }
761
773
  collapsedExpandedStateGet() {
762
774
  return this.collapsedExpandedState;
@@ -788,7 +800,7 @@ class Ie extends ee {
788
800
  this.checkAndPersistItem(this.COLLAPSED_EXPANDED_STATE, this.collapsedExpandedState);
789
801
  }
790
802
  }
791
- class De extends ee {
803
+ class Fe extends te {
792
804
  constructor(e) {
793
805
  super(e), this.SORTING_STATE = "sortingState", this.sortItems = [], this.load();
794
806
  }
@@ -814,7 +826,7 @@ class L {
814
826
  this.left = e, this.width = t, this.height = s, this.top = o, this.index = i;
815
827
  }
816
828
  }
817
- class Fe {
829
+ class Le {
818
830
  constructor(e, t, s, o) {
819
831
  this.hostElement = e, this.tableModel = t, this.dom = s, this.tableOptions = o, this.scrollTop = 0, this.areaBodyWestGeo = new L(), this.areaBodyCenterGeo = new L(), this.areaBodyEastGeo = new L();
820
832
  const i = this.hostElement;
@@ -985,7 +997,7 @@ class Fe {
985
997
  this.dom.setStyle(this.contentWrapperDiv, "width", e), this.dom.setStyle(this.contentWrapperDiv, "height", t);
986
998
  }
987
999
  }
988
- class A {
1000
+ class R {
989
1001
  /**
990
1002
  * Represents a constructor for a class.
991
1003
  * @constructor
@@ -999,7 +1011,7 @@ class A {
999
1011
  this.r1 = e, this.c1 = t, this.r2 = s, this.c2 = o, this.gammaRange = i;
1000
1012
  }
1001
1013
  static create(e) {
1002
- return e.gammaRange === void 0 && (e.gammaRange = !1), new A(
1014
+ return e.gammaRange === void 0 && (e.gammaRange = !1), new R(
1003
1015
  e.rowIndex1,
1004
1016
  e.columnIndex1,
1005
1017
  e.rowIndex2,
@@ -1008,19 +1020,19 @@ class A {
1008
1020
  );
1009
1021
  }
1010
1022
  static singleCell(e, t) {
1011
- return new A(e, t, e, t);
1023
+ return new R(e, t, e, t);
1012
1024
  }
1013
1025
  static singleRow(e) {
1014
- return new A(e, 0, e, Number.MAX_SAFE_INTEGER);
1026
+ return new R(e, 0, e, Number.MAX_SAFE_INTEGER);
1015
1027
  }
1016
1028
  static singleColumn(e) {
1017
- return new A(0, e, Number.MAX_SAFE_INTEGER, e);
1029
+ return new R(0, e, Number.MAX_SAFE_INTEGER, e);
1018
1030
  }
1019
1031
  isInRange(e, t) {
1020
1032
  return e >= this.r1 && e <= this.r2 && t >= this.c1 && t <= this.c2;
1021
1033
  }
1022
1034
  }
1023
- class Le {
1035
+ class Pe {
1024
1036
  constructor(e, t) {
1025
1037
  this.tableModel = e, this.areaModel = t, this.colAndRowspanRanges = void 0;
1026
1038
  }
@@ -1034,9 +1046,9 @@ class Le {
1034
1046
  let i = this.areaModel.getColspanAt(s, o), r = this.areaModel.getRowspanAt(s, o);
1035
1047
  if (i > 1 || r > 1) {
1036
1048
  i === 0 && (i = 1), r === 0 && (r = 1);
1037
- const n = "gammaCells" in this.areaModel;
1049
+ const l = "gammaCells" in this.areaModel;
1038
1050
  this.colAndRowspanRanges.push(
1039
- new A(s, o, s + r - 1, o + i - 1, n)
1051
+ new R(s, o, s + r - 1, o + i - 1, l)
1040
1052
  );
1041
1053
  }
1042
1054
  }
@@ -1053,22 +1065,22 @@ class Le {
1053
1065
  return !1;
1054
1066
  }
1055
1067
  }
1056
- class I {
1068
+ class k {
1057
1069
  constructor(e, t, s) {
1058
1070
  this.header = e, this.body = t, this.footer = s;
1059
1071
  }
1060
1072
  }
1061
- class Pe extends Fe {
1073
+ class _e extends Le {
1062
1074
  constructor(e, t, s, o) {
1063
- var r, n;
1075
+ var r, l;
1064
1076
  super(e, t, s, o), this.dragging = !1, this.editing = !1, this.storedColumnWidths = [], this.scrollLeft = 0, this.scrollViewportLeft = 0, this.scrollFactorY = 0, this.scrollFactorX = 0, this.cleanupFunctions = {
1065
1077
  header: [],
1066
1078
  body: [],
1067
1079
  footer: []
1068
- }, this.tree = !1, this.colAndRowspanModels = new I(), this.firstVisibleRowIndex = -1, this.draggingTargetColumnIndex = -1, this.removables = [], this.tableModel.getSelectionModel ? this.getSelectionModel = this.tableModel.getSelectionModel : (r = this.tableOptions) != null && r.getSelectionModel && (this.getSelectionModel = this.tableOptions.getSelectionModel), (n = this.tableOptions) != null && n.getFocusModel && (this.getFocusModel = this.tableOptions.getFocusModel), Y(t.getAreaModel("body")) && (this.tree = !0), ["header", "body", "footer"].forEach(
1069
- (l) => {
1070
- var a;
1071
- this.colAndRowspanModels[l] = new Le(t, t.getAreaModel(l)), (a = this.colAndRowspanModels[l]) == null || a.init();
1080
+ }, this.tree = !1, this.colAndRowspanModels = new k(), this.firstVisibleRowIndex = -1, this.draggingTargetColumnIndex = -1, this.removables = [], this.tableModel.getSelectionModel ? this.getSelectionModel = this.tableModel.getSelectionModel : (r = this.tableOptions) != null && r.getSelectionModel && (this.getSelectionModel = this.tableOptions.getSelectionModel), (l = this.tableOptions) != null && l.getFocusModel && (this.getFocusModel = this.tableOptions.getFocusModel), J(t.getAreaModel("body")) && (this.tree = !0), ["header", "body", "footer"].forEach(
1081
+ (n) => {
1082
+ var c;
1083
+ this.colAndRowspanModels[n] = new Pe(t, t.getAreaModel(n)), (c = this.colAndRowspanModels[n]) == null || c.init();
1072
1084
  }
1073
1085
  );
1074
1086
  }
@@ -1205,23 +1217,23 @@ class Pe extends Fe {
1205
1217
  * @param {string[]} cssClasses - An array of CSS classes to be applied to the cell.
1206
1218
  */
1207
1219
  rerenderCellContent({ area: e, rowIndex: t, columnIndex: s, value: o, cssClasses: i }) {
1208
- const r = this.tableModel.getAreaModel(e), n = 'div[data-col-index="' + s + '"][data-row-index="' + t + '"][data-area="' + e + '"]', l = document.querySelector(n);
1209
- if (l) {
1210
- let a;
1211
- const c = this.editorRenderer && this.editorRendererRow === t && this.editorRendererColumn === s;
1220
+ const r = this.tableModel.getAreaModel(e), l = 'div[data-col-index="' + s + '"][data-row-index="' + t + '"][data-area="' + e + '"]', n = document.querySelector(l);
1221
+ if (n) {
1222
+ let c;
1223
+ const a = this.editorRenderer && this.editorRendererRow === t && this.editorRendererColumn === s;
1212
1224
  let d;
1213
- if (c ? d = this.editorRenderer : d = r.getCellRenderer(t, s), l.innerText = "", this.applyCssClasses(l, i), d)
1214
- a = d.render(l, t, s, e, r, o, this.dom.domService), a && this.cleanupFunctions[e].push(a);
1225
+ if (a ? d = this.editorRenderer : d = r.getCellRenderer(t, s), n.innerText = "", this.applyCssClasses(n, i), d)
1226
+ c = d.render(n, t, s, e, r, o, this.dom.domService), c && this.cleanupFunctions[e].push(c);
1215
1227
  else {
1216
1228
  const p = `${o}`;
1217
- this.dom.addLabelDiv(l, p, !1, t, s, e);
1229
+ this.dom.addLabelDiv(n, p, !1, t, s, e);
1218
1230
  }
1219
1231
  const u = r.getCustomClassesAt(t, s);
1220
- u.length && this.dom.addClasses(u, l);
1232
+ u.length && this.dom.addClasses(u, n);
1221
1233
  const f = r.getCustomStyleAt(t, s);
1222
1234
  if (f)
1223
1235
  for (const p in f)
1224
- this.dom.setStyle(l, p, f[p]);
1236
+ this.dom.setStyle(n, p, f[p]);
1225
1237
  }
1226
1238
  }
1227
1239
  /**
@@ -1333,7 +1345,7 @@ class Pe extends Fe {
1333
1345
  var g;
1334
1346
  const s = this.getArea(e, "west"), o = this.getArea(e, "center"), i = this.getArea(e, "east"), r = o.child.clientHeight;
1335
1347
  s.child.innerText = "", o.child.innerText = "", i.child.innerText = "";
1336
- const n = 0, l = this.areaBodyCenterGeo.width, a = this.tableModel.getPadding(), c = this.tableModel.getAreaModel(e), d = c.getRowCount();
1348
+ const l = 0, n = this.areaBodyCenterGeo.width, c = this.tableModel.getPadding(), a = this.tableModel.getAreaModel(e), d = a.getRowCount();
1337
1349
  for (; this.cleanupFunctions[e].length; ) {
1338
1350
  const b = this.cleanupFunctions[e].shift();
1339
1351
  b && b();
@@ -1341,37 +1353,37 @@ class Pe extends Fe {
1341
1353
  let u = t;
1342
1354
  const f = this.tableModel.getColumnCount(), p = this.tableModel.getFixedRightColumnCount(), m = this.tableModel.getFixedLeftColumnCount();
1343
1355
  for (let b = 0; b < d; b++) {
1344
- const y = u, C = b === d - 1, R = this.tableModel.getRowHeight(e, b);
1345
- if (y + R > 0) {
1356
+ const y = u, C = b === d - 1, A = this.tableModel.getRowHeight(e, b);
1357
+ if (y + A > 0) {
1346
1358
  this.firstVisibleRowIndex = b;
1347
- let S = { left: n, width: l, height: R, top: y, index: b }, w = this.dom.addRowDiv(o, S, b, e, "center");
1348
- const k = m;
1359
+ let S = { left: l, width: n, height: A, top: y, index: b }, w = this.dom.addRowDiv(o, S, b, e, "center");
1360
+ const I = m;
1349
1361
  if (this.adjustColumnsToRowParent({
1350
1362
  areaIdent: e,
1351
1363
  sideIdent: "center",
1352
- areaModel: c,
1364
+ areaModel: a,
1353
1365
  geo: S,
1354
1366
  parent: w,
1355
1367
  rowIndex: b,
1356
- columnIndexStart: k,
1368
+ columnIndexStart: I,
1357
1369
  columnIndexEnd: f - p - 1,
1358
1370
  verticalFixed: !1,
1359
1371
  lastRowOfModel: C
1360
- }), a.left > 0 && (S = { left: n, width: this.areaBodyWestGeo.width, height: R, top: y, index: b }, w = this.dom.addRowDiv(s, S, b, e, "west"), this.adjustColumnsToRowParent({
1372
+ }), c.left > 0 && (S = { left: l, width: this.areaBodyWestGeo.width, height: A, top: y, index: b }, w = this.dom.addRowDiv(s, S, b, e, "west"), this.adjustColumnsToRowParent({
1361
1373
  areaIdent: e,
1362
1374
  sideIdent: "west",
1363
- areaModel: c,
1375
+ areaModel: a,
1364
1376
  geo: S,
1365
1377
  parent: w,
1366
1378
  rowIndex: b,
1367
1379
  columnIndexStart: 0,
1368
- columnIndexEnd: k - 1,
1380
+ columnIndexEnd: I - 1,
1369
1381
  verticalFixed: !0,
1370
1382
  lastRowOfModel: C
1371
- })), a.right > 0 && (S = { left: n, width: this.areaBodyEastGeo.width, height: R, top: y, index: b }, w = this.dom.addRowDiv(i, S, b, e, "east"), this.adjustColumnsToRowParent({
1383
+ })), c.right > 0 && (S = { left: l, width: this.areaBodyEastGeo.width, height: A, top: y, index: b }, w = this.dom.addRowDiv(i, S, b, e, "east"), this.adjustColumnsToRowParent({
1372
1384
  areaIdent: e,
1373
1385
  sideIdent: "east",
1374
- areaModel: c,
1386
+ areaModel: a,
1375
1387
  geo: S,
1376
1388
  parent: w,
1377
1389
  rowIndex: b,
@@ -1389,28 +1401,28 @@ class Pe extends Fe {
1389
1401
  { cursor: "pointer" }
1390
1402
  ), M = this.tableOptions.treeOptions.arrowExpandCollapseAll;
1391
1403
  if (M) {
1392
- const W = this.dom.domService.createText(M.content);
1393
- this.dom.domService.appendChild(E, W), M.style && this.dom.applyStyleString(E, M.style);
1404
+ const N = this.dom.domService.createText(M.content);
1405
+ this.dom.domService.appendChild(E, N), M.style && this.dom.applyStyleString(E, M.style);
1394
1406
  }
1395
1407
  }
1396
1408
  }
1397
- if (u = u + R, u > r)
1409
+ if (u = u + A, u > r)
1398
1410
  break;
1399
1411
  }
1400
1412
  if (this.colAndRowspanModels && this.colAndRowspanModels[e]) {
1401
1413
  const b = ((g = this.colAndRowspanModels[e]) == null ? void 0 : g.getRanges()) ?? [];
1402
1414
  if (b.length)
1403
1415
  for (const y of b) {
1404
- let C = 0, R = o.child, S = "center";
1416
+ let C = 0, A = o.child, S = "center";
1405
1417
  if (y.c1 < m)
1406
- R = s.child, S = "west";
1418
+ A = s.child, S = "west";
1407
1419
  else if (p > 0 && y.c1 >= f - p)
1408
- R = i.child, S = "east";
1420
+ A = i.child, S = "east";
1409
1421
  else {
1410
1422
  const w = this.areaBodyCenterGeo.width - this.tableModel.getContentWidthInPixel();
1411
1423
  C = this.scrollFactorX * w - this.areaBodyWestGeo.width, S = "center";
1412
1424
  }
1413
- this.drawBigCell(y, C, t, c, R, S);
1425
+ this.drawBigCell(y, C, t, a, A, S);
1414
1426
  }
1415
1427
  }
1416
1428
  }
@@ -1425,10 +1437,10 @@ class Pe extends Fe {
1425
1437
  * @protected
1426
1438
  */
1427
1439
  drawBigCell(e, t, s, o, i, r) {
1428
- const n = s + this.getRowHeights(0, e.r1 - 1, o).reduce((g, b) => g + b, 0), l = this.tableModel.getColumnCount(), a = this.tableModel.getFixedRightColumnCount();
1429
- let c = 0;
1430
- a > 0 && e.c1 >= l - a && (c = l - a);
1431
- const d = t + this.getColumnWidths(c, e.c1 - 1).reduce((g, b) => g + b, 0), u = this.getRowHeights(e.r1, e.r2, o).reduce((g, b) => g + b, 0), f = this.getColumnWidths(e.c1, e.c2).reduce((g, b) => g + b, 0);
1440
+ const l = s + this.getRowHeights(0, e.r1 - 1, o).reduce((g, b) => g + b, 0), n = this.tableModel.getColumnCount(), c = this.tableModel.getFixedRightColumnCount();
1441
+ let a = 0;
1442
+ c > 0 && e.c1 >= n - c && (a = n - c);
1443
+ const d = t + this.getColumnWidths(a, e.c1 - 1).reduce((g, b) => g + b, 0), u = this.getRowHeights(e.r1, e.r2, o).reduce((g, b) => g + b, 0), f = this.getColumnWidths(e.c1, e.c2).reduce((g, b) => g + b, 0);
1432
1444
  let p = !1;
1433
1445
  const m = this.getSelectionModel ? this.getSelectionModel() : void 0;
1434
1446
  m && (p = m.getSelectionCount(e.r1, e.c1) > 0), e.gammaRange ? this.renderCell({
@@ -1438,7 +1450,7 @@ class Pe extends Fe {
1438
1450
  rowIndex: e.r1,
1439
1451
  columnIndex: e.c1,
1440
1452
  left: d,
1441
- top: n,
1453
+ top: l,
1442
1454
  width: f,
1443
1455
  height: u,
1444
1456
  parent: i,
@@ -1452,7 +1464,7 @@ class Pe extends Fe {
1452
1464
  rowIndex: e.r1,
1453
1465
  columnIndex: e.c1,
1454
1466
  left: d,
1455
- top: n,
1467
+ top: l,
1456
1468
  width: f,
1457
1469
  height: u,
1458
1470
  parent: i,
@@ -1463,7 +1475,7 @@ class Pe extends Fe {
1463
1475
  rowIndex: e.r1,
1464
1476
  columnIndex: e.c1,
1465
1477
  cellLeft: d,
1466
- cellTop: n,
1478
+ cellTop: l,
1467
1479
  cellWidth: f,
1468
1480
  cellHeight: u,
1469
1481
  parent: i
@@ -1503,36 +1515,36 @@ class Pe extends Fe {
1503
1515
  geo: o,
1504
1516
  parent: i,
1505
1517
  rowIndex: r,
1506
- columnIndexStart: n,
1507
- columnIndexEnd: l,
1508
- verticalFixed: a = !1,
1509
- lastRowOfModel: c = !1
1518
+ columnIndexStart: l,
1519
+ columnIndexEnd: n,
1520
+ verticalFixed: c = !1,
1521
+ lastRowOfModel: a = !1
1510
1522
  }) {
1511
1523
  var m;
1512
1524
  this.scrollViewportLeft = this.scrollViewport.scrollLeft;
1513
1525
  let d = 0;
1514
- if (!a) {
1526
+ if (!c) {
1515
1527
  const g = this.areaBodyCenterGeo.width - this.tableModel.getContentWidthInPixel();
1516
1528
  d = this.scrollFactorX * g;
1517
1529
  }
1518
1530
  const u = 0, f = !!(e === "body" && t);
1519
1531
  let p = d;
1520
- for (let g = n; g <= l; g++) {
1532
+ for (let g = l; g <= n; g++) {
1521
1533
  const b = p, y = this.tableModel.getColumnWidth(g);
1522
1534
  if (y > 0 && b + y > 0) {
1523
1535
  let C = o.height;
1524
- const R = s.getRowspanAt(r, g), S = s.getColspanAt(r, g);
1525
- R > 1 && (C = this.getRowHeights(r, r + R - 1, s).reduce((E, M) => E + M, 0));
1536
+ const A = s.getRowspanAt(r, g), S = s.getColspanAt(r, g);
1537
+ A > 1 && (C = this.getRowHeights(r, r + A - 1, s).reduce((E, M) => E + M, 0));
1526
1538
  let w = y;
1527
1539
  S > 1 && (w = this.getColumnWidths(g, g + S - 1).reduce((E, M) => E + M, 0));
1528
- let k = !1;
1529
- if (this.colAndRowspanModels && this.colAndRowspanModels[e] && (m = this.colAndRowspanModels[e]) != null && m.isInRange(r, g) && (k = !0), this.draggingTargetColumnIndex === g && e !== "header") {
1540
+ let I = !1;
1541
+ if (this.colAndRowspanModels && this.colAndRowspanModels[e] && (m = this.colAndRowspanModels[e]) != null && m.isInRange(r, g) && (I = !0), this.draggingTargetColumnIndex === g && e !== "header") {
1530
1542
  this.renderDragTargetDiv(i, b, u, w, C);
1531
1543
  const E = { left: b, top: u, width: w, height: C };
1532
1544
  this.dom.addColumnBorderDivs(this.tableOptions, i, E, e, t);
1533
1545
  } else {
1534
- const E = this.renderSelectedBackgroundDiv(k, f, t, s, r, g, i, b, u, w, C);
1535
- "gammaCells" in s && s.getValueAt(r, g) && (k = !1), k || this.renderCell({
1546
+ const E = this.renderSelectedBackgroundDiv(I, f, t, s, r, g, i, b, u, w, C);
1547
+ "gammaCells" in s && s.getValueAt(r, g) && (I = !1), I || this.renderCell({
1536
1548
  areaModel: s,
1537
1549
  areaIdent: e,
1538
1550
  sideIdent: t,
@@ -1544,7 +1556,7 @@ class Pe extends Fe {
1544
1556
  height: C,
1545
1557
  parent: i,
1546
1558
  cellSelected: E,
1547
- lastRowOfModel: c,
1559
+ lastRowOfModel: a,
1548
1560
  gammaRange: !0
1549
1561
  }), e === "header" && this.tableOptions.columnsResizable && this.renderHeaderCellResizeHandle({
1550
1562
  rowIndex: r,
@@ -1581,54 +1593,54 @@ class Pe extends Fe {
1581
1593
  rowIndex: o,
1582
1594
  index: i,
1583
1595
  left: r,
1584
- width: n,
1585
- height: l,
1586
- top: a,
1587
- parent: c,
1596
+ width: l,
1597
+ height: n,
1598
+ top: c,
1599
+ parent: a,
1588
1600
  lastRowOfModel: d
1589
1601
  }) {
1590
- var ie;
1591
- const f = this.editorRenderer && this.editorRendererRow === o && this.editorRendererColumn === i ? this.editorRenderer : e.getCellRenderer(o, i), p = { left: r, width: n, height: l, top: a, index: i }, m = e.getRowByIndex(o);
1602
+ var ne;
1603
+ const f = this.editorRenderer && this.editorRendererRow === o && this.editorRendererColumn === i ? this.editorRenderer : e.getCellRenderer(o, i), p = { left: r, width: l, height: n, top: c, index: i }, m = e.getRowByIndex(o);
1592
1604
  let g = "none";
1593
- if (i === this.getTreeArrowColumnIndex() && $(m)) {
1605
+ if (i === this.getTreeArrowColumnIndex() && W(m)) {
1594
1606
  const v = m;
1595
- (ie = v.children) != null && ie.length ? v.expanded ? g = "expanded" : g = "collapsed" : g = "hidden";
1607
+ (ne = v.children) != null && ne.length ? v.expanded ? g = "expanded" : g = "collapsed" : g = "hidden";
1596
1608
  }
1597
1609
  let y;
1598
1610
  if (t === "header") {
1599
1611
  const v = this.tableModel.getColumnDef(i);
1600
1612
  (!(v != null && v.sortIconVisible) || v != null && v.sortIconVisible()) && (y = v == null ? void 0 : v.sortState);
1601
1613
  }
1602
- const C = e.getValueAt(o, i), R = f ? "" : `${C}`, S = e.isRowChecked(o), w = this.dom.addColumnDiv(
1614
+ const C = e.getValueAt(o, i), A = f ? "" : `${C}`, S = e.isRowChecked(o), w = this.dom.addColumnDiv(
1603
1615
  {
1604
- parent: c,
1616
+ parent: a,
1605
1617
  geo: p,
1606
1618
  rowIndex: o,
1607
1619
  columnIndex: i,
1608
1620
  areaIdent: t,
1609
1621
  sideIdent: s,
1610
- text: R,
1622
+ text: A,
1611
1623
  treeArrow: g,
1612
1624
  tableOptions: this.tableOptions,
1613
1625
  checkedType: S,
1614
1626
  sortState: y
1615
1627
  }
1616
- ), k = e.getTooltipAt(o, i);
1617
- k && this.dom.setAttribute(w, "title", k);
1628
+ ), I = e.getTooltipAt(o, i);
1629
+ I && this.dom.setAttribute(w, "title", I);
1618
1630
  const E = this.tableModel.getColumnDef(i);
1619
1631
  E && E.classes[t] && this.dom.addClasses(E.classes[t], w);
1620
1632
  let M;
1621
1633
  f && (M = f.render(w, o, i, t, e, C, this.dom.domService));
1622
- const W = e.getCustomClassesAt(o, i);
1623
- if (W.length && this.dom.addClasses(W, w), this.dom.addColumnBorderDivs(this.tableOptions, c, p, t, s), d && this.dom.addHorizontalBorder({ left: r, width: n, height: l, top: a + l }, c), this.getFocusModel && t === "body") {
1634
+ const N = e.getCustomClassesAt(o, i);
1635
+ if (N.length && this.dom.addClasses(N, w), this.dom.addColumnBorderDivs(this.tableOptions, a, p, t, s), d && this.dom.addHorizontalBorder({ left: r, width: l, height: n, top: c + n }, a), this.getFocusModel && t === "body") {
1624
1636
  const v = this.getFocusModel();
1625
- v != null && v.hasFocus(o, i) && this.dom.addFocusBorderDivs(c, p, {});
1637
+ v != null && v.hasFocus(o, i) && this.dom.addFocusBorderDivs(a, p, {});
1626
1638
  }
1627
1639
  t === "header" && this.dom.setAttribute(w, "data-ge-action", "drag-column");
1628
- const j = e.getCustomStyleAt(o, i);
1629
- if (j)
1630
- for (const v in j)
1631
- this.dom.setStyle(w, v, j[v]);
1640
+ const K = e.getCustomStyleAt(o, i);
1641
+ if (K)
1642
+ for (const v in K)
1643
+ this.dom.setStyle(w, v, K[v]);
1632
1644
  return [w, M];
1633
1645
  }
1634
1646
  /**
@@ -1759,14 +1771,14 @@ class Pe extends Fe {
1759
1771
  adjustDraggingColumn(e, t, s) {
1760
1772
  var o, i;
1761
1773
  if (this.dragging) {
1762
- const r = this.hostElement.clientHeight, n = this.storedColumnWidths[t];
1774
+ const r = this.hostElement.clientHeight, l = this.storedColumnWidths[t];
1763
1775
  if ((o = e.originalEvent) != null && o.clientX) {
1764
- const c = { left: ((i = e.originalEvent) == null ? void 0 : i.clientX) - n / 2, width: n, height: r, top: 0, index: t };
1776
+ const a = { left: ((i = e.originalEvent) == null ? void 0 : i.clientX) - l / 2, width: l, height: r, top: 0, index: t };
1765
1777
  this.dom.applyStyle(this.draggingColumn, {
1766
1778
  background: "rgba(128,128,128,0.2)",
1767
1779
  display: "block",
1768
1780
  overfllow: "clip"
1769
- }), this.dom.applyStyleInPx(this.draggingColumn, c), s && this.renderContentOfDraggingColumn(c);
1781
+ }), this.dom.applyStyleInPx(this.draggingColumn, a), s && this.renderContentOfDraggingColumn(a);
1770
1782
  }
1771
1783
  } else
1772
1784
  this.hideDraggingColumn();
@@ -1793,24 +1805,24 @@ class Pe extends Fe {
1793
1805
  renderContentOfDraggingColumnForArea(e, t, s = 0) {
1794
1806
  const o = "center", i = this.tableModel.getAreaModel(t), r = i == null ? void 0 : i.getRowCount();
1795
1807
  if (r) {
1796
- const n = e.index ?? 0, l = this.draggingColumn;
1797
- for (let a = 0; a < r; a++) {
1798
- const c = s, d = i.getRowHeight(a), u = { left: 0, width: e.width, height: d, top: c, index: a }, f = i.getValueAt(a, n), p = i.getCellRenderer(a, n), m = p ? "" : `${f}`, g = {
1799
- parent: l,
1808
+ const l = e.index ?? 0, n = this.draggingColumn;
1809
+ for (let c = 0; c < r; c++) {
1810
+ const a = s, d = i.getRowHeight(c), u = { left: 0, width: e.width, height: d, top: a, index: c }, f = i.getValueAt(c, l), p = i.getCellRenderer(c, l), m = p ? "" : `${f}`, g = {
1811
+ parent: n,
1800
1812
  geo: u,
1801
- rowIndex: a,
1802
- columnIndex: n,
1813
+ rowIndex: c,
1814
+ columnIndex: l,
1803
1815
  areaIdent: t,
1804
1816
  sideIdent: o,
1805
1817
  text: m
1806
1818
  }, b = this.dom.addColumnDiv(g);
1807
1819
  let y;
1808
- p && (y = p.render(b, a, n, t, i, f, this.dom.domService), y && this.cleanupFunctions[t].push(y));
1809
- const C = i.getCustomClassesAt(a, n);
1820
+ p && (y = p.render(b, c, l, t, i, f, this.dom.domService), y && this.cleanupFunctions[t].push(y));
1821
+ const C = i.getCustomClassesAt(c, l);
1810
1822
  C.length && this.dom.addClasses(C, b);
1811
- const R = this.tableModel.getColumnDef(n);
1812
- R && R.classes[t] && this.dom.addClasses(R.classes[t], b), this.dom.addColumnBorderDivs(this.tableOptions, l, u, t, o);
1813
- const S = i.getCustomStyleAt(a, n);
1823
+ const A = this.tableModel.getColumnDef(l);
1824
+ A && A.classes[t] && this.dom.addClasses(A.classes[t], b), this.dom.addColumnBorderDivs(this.tableOptions, n, u, t, o);
1825
+ const S = i.getCustomStyleAt(c, l);
1814
1826
  if (S)
1815
1827
  for (const w in S)
1816
1828
  this.dom.setStyle(b, w, S[w]);
@@ -1863,7 +1875,7 @@ class Pe extends Fe {
1863
1875
  * @param {number} height - The height of the div.
1864
1876
  * @returns {boolean} - Whether the cell is selected.
1865
1877
  */
1866
- renderSelectedBackgroundDiv(e, t, s, o, i, r, n, l, a, c, d) {
1878
+ renderSelectedBackgroundDiv(e, t, s, o, i, r, l, n, c, a, d) {
1867
1879
  let u = !1;
1868
1880
  if (!e && t && o.isSelectable(i, r) && this.getSelectionModel) {
1869
1881
  const f = this.getSelectionModel();
@@ -1873,9 +1885,9 @@ class Pe extends Fe {
1873
1885
  for (let m = 0; m < p; m++) {
1874
1886
  const g = this.dom.applyStylePosistionAbsolute(
1875
1887
  // ge-table-body-west-selected-range
1876
- this.dom.createDivWithClass(`ge-table-${o.areaIdent}-${s}-selected-range`, n)
1888
+ this.dom.createDivWithClass(`ge-table-${o.areaIdent}-${s}-selected-range`, l)
1877
1889
  );
1878
- this.dom.setStyle(g, "left", `${l}px`), this.dom.setStyle(g, "top", `${a}px`), this.dom.setStyle(g, "width", `${c}px`), this.dom.setStyle(g, "height", `${d}px`);
1890
+ this.dom.setStyle(g, "left", `${n}px`), this.dom.setStyle(g, "top", `${c}px`), this.dom.setStyle(g, "width", `${a}px`), this.dom.setStyle(g, "height", `${d}px`);
1879
1891
  }
1880
1892
  }
1881
1893
  }
@@ -1907,10 +1919,10 @@ class Pe extends Fe {
1907
1919
  rowIndex: o,
1908
1920
  columnIndex: i,
1909
1921
  left: r,
1910
- top: n,
1911
- width: l,
1912
- height: a,
1913
- parent: c,
1922
+ top: l,
1923
+ width: n,
1924
+ height: c,
1925
+ parent: a,
1914
1926
  cellSelected: d,
1915
1927
  lastRowOfModel: u
1916
1928
  }) {
@@ -1921,10 +1933,10 @@ class Pe extends Fe {
1921
1933
  rowIndex: o,
1922
1934
  index: i,
1923
1935
  left: r,
1924
- width: l,
1925
- height: a,
1926
- top: n,
1927
- parent: c,
1936
+ width: n,
1937
+ height: c,
1938
+ top: l,
1939
+ parent: a,
1928
1940
  lastRowOfModel: u
1929
1941
  });
1930
1942
  d && this.dom.addClass(`ge-table-${t}-${s}-selected-range`, f), p && this.cleanupFunctions[t].push(p);
@@ -1943,17 +1955,17 @@ class Pe extends Fe {
1943
1955
  *
1944
1956
  * @return {void}
1945
1957
  */
1946
- renderHeaderCellResizeHandle({ rowIndex: e, columnIndex: t, cellLeft: s, cellTop: o, cellWidth: i, cellHeight: r, parent: n }) {
1947
- const l = this.dom.domService, a = this.tableOptions.columnResizeHandleWidthInPx ?? 2, c = l.createElement("div");
1948
- l.setAttribute(c, "data-col-index", `${t}`), l.setAttribute(c, "data-row-index", `${e}`), l.setAttribute(c, "data-area", "header"), l.setAttribute(c, "data-ge-action", "resize-column"), l.addClass(c, "ge-table-column-resize-handle"), l.setStyle(c, "display", "clip"), l.setStyle(c, "position", "absolute"), l.setStyle(c, "cursor", "col-resize"), l.setStyle(c, "left", `${s + i - a}px`), l.setStyle(c, "top", `${o}px`), l.setStyle(c, "width", `${a}px`), l.setStyle(c, "height", `${r}px`), l.appendChild(n, c);
1958
+ renderHeaderCellResizeHandle({ rowIndex: e, columnIndex: t, cellLeft: s, cellTop: o, cellWidth: i, cellHeight: r, parent: l }) {
1959
+ const n = this.dom.domService, c = this.tableOptions.columnResizeHandleWidthInPx ?? 2, a = n.createElement("div");
1960
+ 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", `${s + i - c}px`), n.setStyle(a, "top", `${o}px`), n.setStyle(a, "width", `${c}px`), n.setStyle(a, "height", `${r}px`), n.appendChild(l, a);
1949
1961
  }
1950
1962
  }
1951
- class _e {
1963
+ class Oe {
1952
1964
  constructor(e, t) {
1953
1965
  this.columnIndex = e, this.sortState = t;
1954
1966
  }
1955
1967
  }
1956
- class Oe {
1968
+ class $e {
1957
1969
  constructor(e) {
1958
1970
  this.tableScope = e, this.tableScope.hostElement.addEventListener("change", this.onHostElementChanged.bind(this));
1959
1971
  }
@@ -1969,8 +1981,8 @@ class Oe {
1969
1981
  if (e.target instanceof HTMLInputElement || e.target instanceof HTMLSelectElement || e.target instanceof HTMLTextAreaElement) {
1970
1982
  const t = e.target, s = t.getAttribute("data-area"), o = t.getAttribute("data-row-index"), i = t.getAttribute("data-col-index");
1971
1983
  if (s && o && i) {
1972
- const r = Q(s), n = Number(o), l = Number(i);
1973
- this.tableScope.updateModelValueAfterEdit(r, n, l, t.value);
1984
+ const r = Y(s), l = Number(o), n = Number(i);
1985
+ this.tableScope.updateModelValueAfterEdit(r, l, n, t.value);
1974
1986
  }
1975
1987
  }
1976
1988
  }
@@ -1980,25 +1992,25 @@ class Be {
1980
1992
  this.rowIndex = e, this.columnIndex = t;
1981
1993
  }
1982
1994
  }
1983
- class te {
1995
+ class se {
1984
1996
  constructor(e) {
1985
1997
  this.cells = e;
1986
1998
  }
1987
1999
  static createSingle(e, t) {
1988
- return new te([new Be(e, t)]);
2000
+ return new se([new Be(e, t)]);
1989
2001
  }
1990
2002
  }
1991
- class $e {
2003
+ class He {
1992
2004
  constructor(e) {
1993
2005
  var t, s;
1994
2006
  this.tableScope = e, (t = this.tableScope.tableOptions) != null && t.getSelectionModel && (this.getSelectionModel = this.tableScope.tableOptions.getSelectionModel), (s = this.tableScope.tableOptions) != null && s.getFocusModel && (this.getFocusModel = this.tableScope.tableOptions.getFocusModel);
1995
2007
  }
1996
2008
  onMouseClicked(e, t) {
1997
- var i, r, n, l, a, c, d;
2009
+ var i, r, l, n, c, a, d;
1998
2010
  let s = !1, o = !1;
1999
2011
  if (this.getSelectionModel && this.getFocusModel) {
2000
2012
  const u = this.getSelectionModel(), f = this.getFocusModel();
2001
- u && f && (f.hasFocus(e.rowIndex, e.columnIndex) || (f.setFocus(e.rowIndex, e.columnIndex), this.tableScope.onFocusChanged(f), s = !0), (i = e.originalEvent) != null && i.shiftKey || u.hasSelection() && (u.clear(), s = !0), (r = e.originalEvent) != null && r.shiftKey && this.previousEvt ? (u.addSelection(this.createRangeByEvents(e, this.previousEvt)), o = !0, s = !0) : (n = e.originalEvent) != null && n.altKey && ((l = e.originalEvent) != null && l.ctrlKey || (a = e.originalEvent) != null && a.metaKey) ? (u.removeSelection(A.singleCell(e.rowIndex, e.columnIndex)), o = !0, s = !0) : (c = e.originalEvent) != null && c.ctrlKey || (d = e.originalEvent) != null && d.metaKey ? (u.addSelection(A.singleCell(e.rowIndex, e.columnIndex)), o = !0, s = !0) : (u.firstClick(e.rowIndex, e.columnIndex), s = !0), this.tableScope.onSelectionChanged(u));
2013
+ u && f && (f.hasFocus(e.rowIndex, e.columnIndex) || (f.setFocus(e.rowIndex, e.columnIndex), this.tableScope.onFocusChanged(f), s = !0), (i = e.originalEvent) != null && i.shiftKey || u.hasSelection() && (u.clear(), s = !0), (r = e.originalEvent) != null && r.shiftKey && this.previousEvt ? (u.addSelection(this.createRangeByEvents(e, this.previousEvt)), o = !0, s = !0) : (l = e.originalEvent) != null && l.altKey && ((n = e.originalEvent) != null && n.ctrlKey || (c = e.originalEvent) != null && c.metaKey) ? (u.removeSelection(R.singleCell(e.rowIndex, e.columnIndex)), o = !0, s = !0) : (a = e.originalEvent) != null && a.ctrlKey || (d = e.originalEvent) != null && d.metaKey ? (u.addSelection(R.singleCell(e.rowIndex, e.columnIndex)), o = !0, s = !0) : (u.firstClick(e.rowIndex, e.columnIndex), s = !0), this.tableScope.onSelectionChanged(u));
2002
2014
  }
2003
2015
  return o ? this.previousEvt = void 0 : this.previousEvt = e == null ? void 0 : e.clone(), s;
2004
2016
  }
@@ -2021,7 +2033,7 @@ class $e {
2021
2033
  createRangeByEvents(e, t) {
2022
2034
  t || (t = e);
2023
2035
  const s = Math.min(e.rowIndex, t == null ? void 0 : t.rowIndex), o = Math.max(e.rowIndex, t == null ? void 0 : t.rowIndex), i = Math.min(e.columnIndex, t == null ? void 0 : t.columnIndex), r = Math.max(e.columnIndex, t == null ? void 0 : t.columnIndex);
2024
- return A.create({
2036
+ return R.create({
2025
2037
  rowIndex1: s,
2026
2038
  columnIndex1: i,
2027
2039
  rowIndex2: o,
@@ -2029,7 +2041,7 @@ class $e {
2029
2041
  });
2030
2042
  }
2031
2043
  }
2032
- class He {
2044
+ class We {
2033
2045
  get() {
2034
2046
  return {
2035
2047
  f2: "START_EDITING",
@@ -2071,7 +2083,7 @@ class Ve {
2071
2083
  };
2072
2084
  }
2073
2085
  }
2074
- class We {
2086
+ class Ne {
2075
2087
  constructor(e) {
2076
2088
  this.tableScope = e, this.shortcutActionIdMapping = {}, this.listener = [], this.listener.push(e), this.init();
2077
2089
  }
@@ -2092,7 +2104,7 @@ class We {
2092
2104
  this.assignPredefinedSystemShortcutMappings(), Object.assign(this.shortcutActionIdMapping, this.tableScope.tableOptions.shortcutActionIdMapping), this.isDebug() && console.debug("ShortcutService", this.shortcutActionIdMapping), this.tableScope.hostElement.addEventListener("keydown", this.onKeyDown.bind(this));
2093
2105
  }
2094
2106
  assignPredefinedSystemShortcutMappings() {
2095
- this.isMacintosh() ? Object.assign(this.shortcutActionIdMapping, new Ve().get()) : Object.assign(this.shortcutActionIdMapping, new He().get());
2107
+ this.isMacintosh() ? Object.assign(this.shortcutActionIdMapping, new Ve().get()) : Object.assign(this.shortcutActionIdMapping, new We().get());
2096
2108
  }
2097
2109
  isMacintosh() {
2098
2110
  return navigator.platform.indexOf("Mac") > -1;
@@ -2144,7 +2156,7 @@ class We {
2144
2156
  return this.shortcutActionIdMapping;
2145
2157
  }
2146
2158
  }
2147
- class re {
2159
+ class le {
2148
2160
  onCheckboxChanged(e) {
2149
2161
  }
2150
2162
  onContextmenu(e) {
@@ -2164,7 +2176,7 @@ class re {
2164
2176
  onFocusChanged(e) {
2165
2177
  }
2166
2178
  }
2167
- class Ne {
2179
+ class Ge {
2168
2180
  setStyle(e, t, s) {
2169
2181
  return e.style[t] = s, e;
2170
2182
  }
@@ -2191,15 +2203,15 @@ class Ne {
2191
2203
  e.setAttribute(t, s);
2192
2204
  }
2193
2205
  }
2194
- class Ge {
2195
- render(e, t, s, o, i, r, n) {
2206
+ class ze {
2207
+ render(e, t, s, o, i, r, l) {
2196
2208
  if (i.isEditable(t, s)) {
2197
- n.addClass(e, "ge-table-row-input-div");
2198
- const l = i.getValueAt(t, s);
2209
+ l.addClass(e, "ge-table-row-input-div");
2210
+ const n = i.getValueAt(t, s);
2199
2211
  e.innerHTML = `
2200
2212
  <input
2201
2213
  type="text"
2202
- value="${l}"
2214
+ value="${n}"
2203
2215
  autofocus
2204
2216
  onfocus="this.setSelectionRange(0, this.value.length)"
2205
2217
  data-listen="change"
@@ -2212,7 +2224,7 @@ class Ge {
2212
2224
  }
2213
2225
  }
2214
2226
  }
2215
- class xe {
2227
+ class oe {
2216
2228
  constructor(e = "none", t = "single") {
2217
2229
  this.selectionType = e, this.selectionMode = t, this.ranges = [], this.negativeRanges = [], this.allSelected = !1, this.silent = !1, this.listenerArr = [];
2218
2230
  }
@@ -2231,7 +2243,7 @@ class xe {
2231
2243
  this.silent || this.listenerArr.forEach((e) => e.onSelectionChanged(this));
2232
2244
  }
2233
2245
  firstClick(e, t) {
2234
- this.selectionType === "row" ? this.addRange(A.singleRow(e)) : this.selectionType === "column" && this.addRange(A.singleColumn(t));
2246
+ this.selectionType === "row" ? this.addRange(R.singleRow(e)) : this.selectionType === "column" && this.addRange(R.singleColumn(t));
2235
2247
  }
2236
2248
  getSelectionCount(e, t) {
2237
2249
  let s = 0;
@@ -2282,10 +2294,10 @@ class xe {
2282
2294
  if (this.selectionType === "none")
2283
2295
  return;
2284
2296
  let t = e;
2285
- this.selectionType === "row" ? t = A.singleRow(e.r1) : this.selectionType === "column" && (t = A.singleColumn(e.c1)), this.negativeRanges.push(t), this.fireChangeEvent();
2297
+ this.selectionType === "row" ? t = R.singleRow(e.r1) : this.selectionType === "column" && (t = R.singleColumn(e.c1)), this.negativeRanges.push(t), this.fireChangeEvent();
2286
2298
  }
2287
2299
  togglePoint(e, t) {
2288
- this.getSelectionCount(e, t) > 0 ? this.removeSelection(A.singleCell(e, t)) : this.addSelection(A.singleCell(e, t));
2300
+ this.getSelectionCount(e, t) > 0 ? this.removeSelection(R.singleCell(e, t)) : this.addSelection(R.singleCell(e, t));
2289
2301
  }
2290
2302
  isSelected(e, t) {
2291
2303
  return this.getSelectionCount(e, t) > 0;
@@ -2294,7 +2306,7 @@ class xe {
2294
2306
  this.selectionType !== "none" && (this.allSelected = !1, this.selectionMode === "single" && (this.ranges = []), this.selectionType === "row" ? (e.c1 = 0, e.c2 = Number.MAX_SAFE_INTEGER) : this.selectionType === "column" ? (e.r1 = 0, e.r2 = Number.MAX_SAFE_INTEGER) : this.selectionType === "cell" ? (e.r2 = e.r1, e.c2 = e.c1) : this.selectionType, this.ranges.push(e), this.fireChangeEvent());
2295
2307
  }
2296
2308
  }
2297
- class ze {
2309
+ class Ue {
2298
2310
  constructor(e = "none") {
2299
2311
  this.selectionType = e, this.rowIndex = -1, this.columnIndex = -1, this.changed = !1, this.listenerArr = [];
2300
2312
  }
@@ -2331,7 +2343,7 @@ class ze {
2331
2343
  return [this.rowIndex, this.columnIndex];
2332
2344
  }
2333
2345
  }
2334
- class se {
2346
+ class ie {
2335
2347
  constructor(e = new P(
2336
2348
  "❯",
2337
2349
  "",
@@ -2345,17 +2357,17 @@ class se {
2345
2357
  }
2346
2358
  // `⊖ `, `⊕ `;
2347
2359
  }
2348
- const Ue = new xe(), je = new ze("cell");
2349
- class K {
2360
+ const je = new oe(), Xe = new Ue("cell");
2361
+ class z {
2350
2362
  constructor() {
2351
2363
  this.overflowX = "auto", this.overflowY = "auto", this.horizontalBorderVisible = !0, this.verticalBorderVisible = !0, this.footerSeparatorBorderVisible = !0, this.headerSeparatorBorderVisible = !0, this.fixedEastSeparatorBorderVisible = !0, this.fixedWestSeparatorBorderVisible = !0, this.tableTopBorderVisible = !0, this.tableBottomBorderVisible = !0, this.hoverRowVisible = !0, this.hoverColumnVisible = !0, this.columnsResizable = !0, this.columnsDraggable = !0, this.columnResizeHandleWidthInPx = 4, this.defaultRowHeights = {
2352
2364
  header: 34,
2353
2365
  body: 34,
2354
2366
  footer: 34
2355
- }, this.footerVerticalSeparator = !1, this.headerToggleExpandCollapseIcons = !1, this.headerVerticalSeparator = !1, this.treeOptions = new me(), this.headerGroupOptions = new se(), this.showCheckboxWihoutExtraColumn = !1, this.externalFilterFunction = void 0, this.sortedOptions = new be(), this.sortOrder = ["asc", "desc"], this.resizeEventDebounceDelay = 500, this.getEditRenderer = (e, t) => new Ge(), this.getSelectionModel = () => Ue, this.getFocusModel = () => je;
2367
+ }, this.footerVerticalSeparator = !1, this.headerToggleExpandCollapseIcons = !1, this.headerVerticalSeparator = !1, this.treeOptions = new xe(), this.headerGroupOptions = new ie(), this.showCheckboxWihoutExtraColumn = !1, this.externalFilterFunction = void 0, this.sortedOptions = new we(), this.sortOrder = ["asc", "desc"], this.resizeEventDebounceDelay = 500, this.getEditRenderer = (e, t) => new ze(), this.getSelectionModel = () => je, this.getFocusModel = () => Xe;
2356
2368
  }
2357
2369
  }
2358
- const B = class B {
2370
+ const H = class H {
2359
2371
  /**
2360
2372
  * Returns the content to be copied based on the provided table model, selection model, and focus model.
2361
2373
  *
@@ -2371,21 +2383,21 @@ const B = class B {
2371
2383
  const r = this.mergeRanges(t.getRanges());
2372
2384
  if (r) {
2373
2385
  r.c2 = Math.min(r.c2, e.getColumnCount() - 1), r.r2 = Math.min(r.r2, e.getBodyModel().getRowCount() - 1);
2374
- const n = [];
2375
- for (let l = r.r1; l <= r.r2; l++) {
2376
- const a = [];
2377
- for (let c = r.c1; c <= r.c2; c++) {
2378
- const d = t.isSelected(l, c) ? e.getBodyModel().getTextValueAt(l, c) : "";
2379
- a.push(d);
2386
+ const l = [];
2387
+ for (let n = r.r1; n <= r.r2; n++) {
2388
+ const c = [];
2389
+ for (let a = r.c1; a <= r.c2; a++) {
2390
+ const d = t.isSelected(n, a) ? e.getBodyModel().getTextValueAt(n, a) : "";
2391
+ c.push(d);
2380
2392
  }
2381
- n.push(a.join(B.columnSeparatorChar));
2393
+ l.push(c.join(H.columnSeparatorChar));
2382
2394
  }
2383
- return o(n.join(B.rowSeparatorChar));
2395
+ return o(l.join(H.rowSeparatorChar));
2384
2396
  }
2385
2397
  }
2386
2398
  if (s) {
2387
- const [r, n] = s.getFocus(), l = e.getBodyModel().getTextValueAt(r, n);
2388
- return o(l);
2399
+ const [r, l] = s.getFocus(), n = e.getBodyModel().getTextValueAt(r, l);
2400
+ return o(n);
2389
2401
  }
2390
2402
  i("Cannot copy, neither selection nor focus defined.");
2391
2403
  });
@@ -2414,9 +2426,9 @@ const B = class B {
2414
2426
  t,
2415
2427
  s
2416
2428
  ).then((r) => {
2417
- r && this.copyContent(r).then((n) => {
2429
+ r && this.copyContent(r).then((l) => {
2418
2430
  o(r);
2419
- }).catch((n) => {
2431
+ }).catch((l) => {
2420
2432
  i();
2421
2433
  });
2422
2434
  }).catch((r) => {
@@ -2433,23 +2445,23 @@ const B = class B {
2433
2445
  mergeRanges(e) {
2434
2446
  let t;
2435
2447
  for (const s of e)
2436
- t ? (t.r1 = Math.min(t.r1, s.r1), t.c1 = Math.min(t.c1, s.c1), t.r2 = Math.max(t.r2, s.r2), t.c2 = Math.max(t.c2, s.c2)) : t = new A(s.r1, s.c1, s.r2, s.c2);
2448
+ t ? (t.r1 = Math.min(t.r1, s.r1), t.c1 = Math.min(t.c1, s.c1), t.r2 = Math.max(t.r2, s.r2), t.c2 = Math.max(t.c2, s.c2)) : t = new R(s.r1, s.c1, s.r2, s.c2);
2437
2449
  return t;
2438
2450
  }
2439
2451
  };
2440
- B.columnSeparatorChar = " ", B.rowSeparatorChar = `
2452
+ H.columnSeparatorChar = " ", H.rowSeparatorChar = `
2441
2453
  `;
2442
- let G = B;
2443
- class Xe {
2454
+ let U = H;
2455
+ class Ye {
2444
2456
  constructor(e, t = 500) {
2445
- this.tableScope = e, this.debounceDelay = t, new ResizeObserver(Ce(this.handleResize.bind(this), t)).observe(this.tableScope.hostElement);
2457
+ this.tableScope = e, this.debounceDelay = t, new ResizeObserver(ve(this.handleResize.bind(this), t)).observe(this.tableScope.hostElement);
2446
2458
  }
2447
2459
  handleResize(e) {
2448
2460
  const t = e[0], { width: s } = t.contentRect;
2449
2461
  this.tableScope.recalcColumnWidths(s);
2450
2462
  }
2451
2463
  }
2452
- class Ye {
2464
+ class Ke {
2453
2465
  /**
2454
2466
  * Downloads a matrix data as an Excel file.
2455
2467
  *
@@ -2478,13 +2490,13 @@ class Ye {
2478
2490
  <Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Id="rId3" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties" Target="docProps/app.xml"/><Relationship Id="rId2" Type="http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties" Target="docProps/core.xml"/><Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="xl/workbook.xml"/></Relationships>`, o = `<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2479
2491
  <Properties xmlns="http://schemas.openxmlformats.org/officeDocument/2006/extended-properties" xmlns:vt="http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"><Application>Microsoft Macintosh Excel</Application><DocSecurity>0</DocSecurity><ScaleCrop>false</ScaleCrop><HeadingPairs><vt:vector size="2" baseType="variant"><vt:variant><vt:lpstr>Worksheets</vt:lpstr></vt:variant><vt:variant><vt:i4>1</vt:i4></vt:variant></vt:vector></HeadingPairs><TitlesOfParts><vt:vector size="1" baseType="lpstr"><vt:lpstr>Sheet1</vt:lpstr></vt:vector></TitlesOfParts><Company></Company><LinksUpToDate>false</LinksUpToDate><SharedDoc>false</SharedDoc><HyperlinksChanged>false</HyperlinksChanged><AppVersion>16.0300</AppVersion></Properties>`, i = `<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2480
2492
  <cp:coreProperties xmlns:cp="http://schemas.openxmlformats.org/package/2006/metadata/core-properties" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:dcmitype="http://purl.org/dc/dcmitype/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><dc:creator>${t}</dc:creator><cp:lastModifiedBy>${t}</cp:lastModifiedBy><dcterms:created xsi:type="dcterms:W3CDTF">2024-12-13T19:45:08Z</dcterms:created><dcterms:modified xsi:type="dcterms:W3CDTF">2024-12-13T19:45:35Z</dcterms:modified></cp:coreProperties>`, r = `<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2481
- <Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Id="rId3" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles" Target="styles.xml"/><Relationship Id="rId2" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme" Target="theme/theme1.xml"/><Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet" Target="worksheets/sheet1.xml"/><Relationship Id="rId4" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings" Target="sharedStrings.xml"/></Relationships>`, n = `<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2482
- <a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme"><a:themeElements><a:clrScheme name="Office"><a:dk1><a:sysClr val="windowText" lastClr="000000"/></a:dk1><a:lt1><a:sysClr val="window" lastClr="FFFFFF"/></a:lt1><a:dk2><a:srgbClr val="0E2841"/></a:dk2><a:lt2><a:srgbClr val="E8E8E8"/></a:lt2><a:accent1><a:srgbClr val="156082"/></a:accent1><a:accent2><a:srgbClr val="E97132"/></a:accent2><a:accent3><a:srgbClr val="196B24"/></a:accent3><a:accent4><a:srgbClr val="0F9ED5"/></a:accent4><a:accent5><a:srgbClr val="A02B93"/></a:accent5><a:accent6><a:srgbClr val="4EA72E"/></a:accent6><a:hlink><a:srgbClr val="467886"/></a:hlink><a:folHlink><a:srgbClr val="96607D"/></a:folHlink></a:clrScheme><a:fontScheme name="Office"><a:majorFont><a:latin typeface="Aptos Display" panose="02110004020202020204"/><a:ea typeface=""/><a:cs typeface=""/><a:font script="Jpan" typeface="游ゴシック Light"/><a:font script="Hang" typeface="맑은 고딕"/><a:font script="Hans" typeface="等线 Light"/><a:font script="Hant" typeface="新細明體"/><a:font script="Arab" typeface="Times New Roman"/><a:font script="Hebr" typeface="Times New Roman"/><a:font script="Thai" typeface="Tahoma"/><a:font script="Ethi" typeface="Nyala"/><a:font script="Beng" typeface="Vrinda"/><a:font script="Gujr" typeface="Shruti"/><a:font script="Khmr" typeface="MoolBoran"/><a:font script="Knda" typeface="Tunga"/><a:font script="Guru" typeface="Raavi"/><a:font script="Cans" typeface="Euphemia"/><a:font script="Cher" typeface="Plantagenet Cherokee"/><a:font script="Yiii" typeface="Microsoft Yi Baiti"/><a:font script="Tibt" typeface="Microsoft Himalaya"/><a:font script="Thaa" typeface="MV Boli"/><a:font script="Deva" typeface="Mangal"/><a:font script="Telu" typeface="Gautami"/><a:font script="Taml" typeface="Latha"/><a:font script="Syrc" typeface="Estrangelo Edessa"/><a:font script="Orya" typeface="Kalinga"/><a:font script="Mlym" typeface="Kartika"/><a:font script="Laoo" typeface="DokChampa"/><a:font script="Sinh" typeface="Iskoola Pota"/><a:font script="Mong" typeface="Mongolian Baiti"/><a:font script="Viet" typeface="Times New Roman"/><a:font script="Uigh" typeface="Microsoft Uighur"/><a:font script="Geor" typeface="Sylfaen"/><a:font script="Armn" typeface="Arial"/><a:font script="Bugi" typeface="Leelawadee UI"/><a:font script="Bopo" typeface="Microsoft JhengHei"/><a:font script="Java" typeface="Javanese Text"/><a:font script="Lisu" typeface="Segoe UI"/><a:font script="Mymr" typeface="Myanmar Text"/><a:font script="Nkoo" typeface="Ebrima"/><a:font script="Olck" typeface="Nirmala UI"/><a:font script="Osma" typeface="Ebrima"/><a:font script="Phag" typeface="Phagspa"/><a:font script="Syrn" typeface="Estrangelo Edessa"/><a:font script="Syrj" typeface="Estrangelo Edessa"/><a:font script="Syre" typeface="Estrangelo Edessa"/><a:font script="Sora" typeface="Nirmala UI"/><a:font script="Tale" typeface="Microsoft Tai Le"/><a:font script="Talu" typeface="Microsoft New Tai Lue"/><a:font script="Tfng" typeface="Ebrima"/></a:majorFont><a:minorFont><a:latin typeface="Aptos Narrow" panose="02110004020202020204"/><a:ea typeface=""/><a:cs typeface=""/><a:font script="Jpan" typeface="游ゴシック"/><a:font script="Hang" typeface="맑은 고딕"/><a:font script="Hans" typeface="等线"/><a:font script="Hant" typeface="新細明體"/><a:font script="Arab" typeface="Arial"/><a:font script="Hebr" typeface="Arial"/><a:font script="Thai" typeface="Tahoma"/><a:font script="Ethi" typeface="Nyala"/><a:font script="Beng" typeface="Vrinda"/><a:font script="Gujr" typeface="Shruti"/><a:font script="Khmr" typeface="DaunPenh"/><a:font script="Knda" typeface="Tunga"/><a:font script="Guru" typeface="Raavi"/><a:font script="Cans" typeface="Euphemia"/><a:font script="Cher" typeface="Plantagenet Cherokee"/><a:font script="Yiii" typeface="Microsoft Yi Baiti"/><a:font script="Tibt" typeface="Microsoft Himalaya"/><a:font script="Thaa" typeface="MV Boli"/><a:font script="Deva" typeface="Mangal"/><a:font script="Telu" typeface="Gautami"/><a:font script="Taml" typeface="Latha"/><a:font script="Syrc" typeface="Estrangelo Edessa"/><a:font script="Orya" typeface="Kalinga"/><a:font script="Mlym" typeface="Kartika"/><a:font script="Laoo" typeface="DokChampa"/><a:font script="Sinh" typeface="Iskoola Pota"/><a:font script="Mong" typeface="Mongolian Baiti"/><a:font script="Viet" typeface="Arial"/><a:font script="Uigh" typeface="Microsoft Uighur"/><a:font script="Geor" typeface="Sylfaen"/><a:font script="Armn" typeface="Arial"/><a:font script="Bugi" typeface="Leelawadee UI"/><a:font script="Bopo" typeface="Microsoft JhengHei"/><a:font script="Java" typeface="Javanese Text"/><a:font script="Lisu" typeface="Segoe UI"/><a:font script="Mymr" typeface="Myanmar Text"/><a:font script="Nkoo" typeface="Ebrima"/><a:font script="Olck" typeface="Nirmala UI"/><a:font script="Osma" typeface="Ebrima"/><a:font script="Phag" typeface="Phagspa"/><a:font script="Syrn" typeface="Estrangelo Edessa"/><a:font script="Syrj" typeface="Estrangelo Edessa"/><a:font script="Syre" typeface="Estrangelo Edessa"/><a:font script="Sora" typeface="Nirmala UI"/><a:font script="Tale" typeface="Microsoft Tai Le"/><a:font script="Talu" typeface="Microsoft New Tai Lue"/><a:font script="Tfng" typeface="Ebrima"/></a:minorFont></a:fontScheme><a:fmtScheme name="Office"><a:fillStyleLst><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:lumMod val="110000"/><a:satMod val="105000"/><a:tint val="67000"/></a:schemeClr></a:gs><a:gs pos="50000"><a:schemeClr val="phClr"><a:lumMod val="105000"/><a:satMod val="103000"/><a:tint val="73000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:lumMod val="105000"/><a:satMod val="109000"/><a:tint val="81000"/></a:schemeClr></a:gs></a:gsLst><a:lin ang="5400000" scaled="0"/></a:gradFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:satMod val="103000"/><a:lumMod val="102000"/><a:tint val="94000"/></a:schemeClr></a:gs><a:gs pos="50000"><a:schemeClr val="phClr"><a:satMod val="110000"/><a:lumMod val="100000"/><a:shade val="100000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:lumMod val="99000"/><a:satMod val="120000"/><a:shade val="78000"/></a:schemeClr></a:gs></a:gsLst><a:lin ang="5400000" scaled="0"/></a:gradFill></a:fillStyleLst><a:lnStyleLst><a:ln w="12700" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/><a:miter lim="800000"/></a:ln><a:ln w="19050" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/><a:miter lim="800000"/></a:ln><a:ln w="25400" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/><a:miter lim="800000"/></a:ln></a:lnStyleLst><a:effectStyleLst><a:effectStyle><a:effectLst/></a:effectStyle><a:effectStyle><a:effectLst/></a:effectStyle><a:effectStyle><a:effectLst><a:outerShdw blurRad="57150" dist="19050" dir="5400000" algn="ctr" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="63000"/></a:srgbClr></a:outerShdw></a:effectLst></a:effectStyle></a:effectStyleLst><a:bgFillStyleLst><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:solidFill><a:schemeClr val="phClr"><a:tint val="95000"/><a:satMod val="170000"/></a:schemeClr></a:solidFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="93000"/><a:satMod val="150000"/><a:shade val="98000"/><a:lumMod val="102000"/></a:schemeClr></a:gs><a:gs pos="50000"><a:schemeClr val="phClr"><a:tint val="98000"/><a:satMod val="130000"/><a:shade val="90000"/><a:lumMod val="103000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="63000"/><a:satMod val="120000"/></a:schemeClr></a:gs></a:gsLst><a:lin ang="5400000" scaled="0"/></a:gradFill></a:bgFillStyleLst></a:fmtScheme></a:themeElements><a:objectDefaults><a:lnDef><a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="2"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="0"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="1"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="tx1"/></a:fontRef></a:style></a:lnDef></a:objectDefaults><a:extraClrSchemeLst/><a:extLst><a:ext uri="{05A4C25C-085E-4340-85A3-A5531E510DB2}"><thm15:themeFamily xmlns:thm15="http://schemas.microsoft.com/office/thememl/2012/main" name="Office Theme" id="{2E142A2C-CD16-42D6-873A-C26D2A0506FA}" vid="{1BDDFF52-6CD6-40A5-AB3C-68EB2F1E4D0A}"/></a:ext></a:extLst></a:theme>`, l = `<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2483
- <sst xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" count="3" uniqueCount="3"><si><t>a</t></si><si><t>b</t></si><si><t>c</t></si></sst>`, a = `<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2484
- <styleSheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="x14ac x16r2 xr" xmlns:x14ac="http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac" xmlns:x16r2="http://schemas.microsoft.com/office/spreadsheetml/2015/02/main" xmlns:xr="http://schemas.microsoft.com/office/spreadsheetml/2014/revision"><fonts count="1" x14ac:knownFonts="1"><font><sz val="12"/><color theme="1"/><name val="Aptos Narrow"/><family val="2"/><scheme val="minor"/></font></fonts><fills count="2"><fill><patternFill patternType="none"/></fill><fill><patternFill patternType="gray125"/></fill></fills><borders count="1"><border><left/><right/><top/><bottom/><diagonal/></border></borders><cellStyleXfs count="1"><xf numFmtId="0" fontId="0" fillId="0" borderId="0"/></cellStyleXfs><cellXfs count="1"><xf numFmtId="0" fontId="0" fillId="0" borderId="0" xfId="0"/></cellXfs><cellStyles count="1"><cellStyle name="Normal" xfId="0" builtinId="0"/></cellStyles><dxfs count="0"/><tableStyles count="0" defaultTableStyle="TableStyleMedium2" defaultPivotStyle="PivotStyleLight16"/><extLst><ext uri="{EB79DEF2-80B8-43e5-95BD-54CBDDF9020C}" xmlns:x14="http://schemas.microsoft.com/office/spreadsheetml/2009/9/main"><x14:slicerStyles defaultSlicerStyle="SlicerStyleLight1"/></ext><ext uri="{9260A510-F301-46a8-8635-F512D64BE5F5}" xmlns:x15="http://schemas.microsoft.com/office/spreadsheetml/2010/11/main"><x15:timelineStyles defaultTimelineStyle="TimeSlicerStyleLight1"/></ext></extLst></styleSheet>`, c = `<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2493
+ <Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Id="rId3" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles" Target="styles.xml"/><Relationship Id="rId2" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme" Target="theme/theme1.xml"/><Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet" Target="worksheets/sheet1.xml"/><Relationship Id="rId4" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings" Target="sharedStrings.xml"/></Relationships>`, l = `<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2494
+ <a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme"><a:themeElements><a:clrScheme name="Office"><a:dk1><a:sysClr val="windowText" lastClr="000000"/></a:dk1><a:lt1><a:sysClr val="window" lastClr="FFFFFF"/></a:lt1><a:dk2><a:srgbClr val="0E2841"/></a:dk2><a:lt2><a:srgbClr val="E8E8E8"/></a:lt2><a:accent1><a:srgbClr val="156082"/></a:accent1><a:accent2><a:srgbClr val="E97132"/></a:accent2><a:accent3><a:srgbClr val="196B24"/></a:accent3><a:accent4><a:srgbClr val="0F9ED5"/></a:accent4><a:accent5><a:srgbClr val="A02B93"/></a:accent5><a:accent6><a:srgbClr val="4EA72E"/></a:accent6><a:hlink><a:srgbClr val="467886"/></a:hlink><a:folHlink><a:srgbClr val="96607D"/></a:folHlink></a:clrScheme><a:fontScheme name="Office"><a:majorFont><a:latin typeface="Aptos Display" panose="02110004020202020204"/><a:ea typeface=""/><a:cs typeface=""/><a:font script="Jpan" typeface="游ゴシック Light"/><a:font script="Hang" typeface="맑은 고딕"/><a:font script="Hans" typeface="等线 Light"/><a:font script="Hant" typeface="新細明體"/><a:font script="Arab" typeface="Times New Roman"/><a:font script="Hebr" typeface="Times New Roman"/><a:font script="Thai" typeface="Tahoma"/><a:font script="Ethi" typeface="Nyala"/><a:font script="Beng" typeface="Vrinda"/><a:font script="Gujr" typeface="Shruti"/><a:font script="Khmr" typeface="MoolBoran"/><a:font script="Knda" typeface="Tunga"/><a:font script="Guru" typeface="Raavi"/><a:font script="Cans" typeface="Euphemia"/><a:font script="Cher" typeface="Plantagenet Cherokee"/><a:font script="Yiii" typeface="Microsoft Yi Baiti"/><a:font script="Tibt" typeface="Microsoft Himalaya"/><a:font script="Thaa" typeface="MV Boli"/><a:font script="Deva" typeface="Mangal"/><a:font script="Telu" typeface="Gautami"/><a:font script="Taml" typeface="Latha"/><a:font script="Syrc" typeface="Estrangelo Edessa"/><a:font script="Orya" typeface="Kalinga"/><a:font script="Mlym" typeface="Kartika"/><a:font script="Laoo" typeface="DokChampa"/><a:font script="Sinh" typeface="Iskoola Pota"/><a:font script="Mong" typeface="Mongolian Baiti"/><a:font script="Viet" typeface="Times New Roman"/><a:font script="Uigh" typeface="Microsoft Uighur"/><a:font script="Geor" typeface="Sylfaen"/><a:font script="Armn" typeface="Arial"/><a:font script="Bugi" typeface="Leelawadee UI"/><a:font script="Bopo" typeface="Microsoft JhengHei"/><a:font script="Java" typeface="Javanese Text"/><a:font script="Lisu" typeface="Segoe UI"/><a:font script="Mymr" typeface="Myanmar Text"/><a:font script="Nkoo" typeface="Ebrima"/><a:font script="Olck" typeface="Nirmala UI"/><a:font script="Osma" typeface="Ebrima"/><a:font script="Phag" typeface="Phagspa"/><a:font script="Syrn" typeface="Estrangelo Edessa"/><a:font script="Syrj" typeface="Estrangelo Edessa"/><a:font script="Syre" typeface="Estrangelo Edessa"/><a:font script="Sora" typeface="Nirmala UI"/><a:font script="Tale" typeface="Microsoft Tai Le"/><a:font script="Talu" typeface="Microsoft New Tai Lue"/><a:font script="Tfng" typeface="Ebrima"/></a:majorFont><a:minorFont><a:latin typeface="Aptos Narrow" panose="02110004020202020204"/><a:ea typeface=""/><a:cs typeface=""/><a:font script="Jpan" typeface="游ゴシック"/><a:font script="Hang" typeface="맑은 고딕"/><a:font script="Hans" typeface="等线"/><a:font script="Hant" typeface="新細明體"/><a:font script="Arab" typeface="Arial"/><a:font script="Hebr" typeface="Arial"/><a:font script="Thai" typeface="Tahoma"/><a:font script="Ethi" typeface="Nyala"/><a:font script="Beng" typeface="Vrinda"/><a:font script="Gujr" typeface="Shruti"/><a:font script="Khmr" typeface="DaunPenh"/><a:font script="Knda" typeface="Tunga"/><a:font script="Guru" typeface="Raavi"/><a:font script="Cans" typeface="Euphemia"/><a:font script="Cher" typeface="Plantagenet Cherokee"/><a:font script="Yiii" typeface="Microsoft Yi Baiti"/><a:font script="Tibt" typeface="Microsoft Himalaya"/><a:font script="Thaa" typeface="MV Boli"/><a:font script="Deva" typeface="Mangal"/><a:font script="Telu" typeface="Gautami"/><a:font script="Taml" typeface="Latha"/><a:font script="Syrc" typeface="Estrangelo Edessa"/><a:font script="Orya" typeface="Kalinga"/><a:font script="Mlym" typeface="Kartika"/><a:font script="Laoo" typeface="DokChampa"/><a:font script="Sinh" typeface="Iskoola Pota"/><a:font script="Mong" typeface="Mongolian Baiti"/><a:font script="Viet" typeface="Arial"/><a:font script="Uigh" typeface="Microsoft Uighur"/><a:font script="Geor" typeface="Sylfaen"/><a:font script="Armn" typeface="Arial"/><a:font script="Bugi" typeface="Leelawadee UI"/><a:font script="Bopo" typeface="Microsoft JhengHei"/><a:font script="Java" typeface="Javanese Text"/><a:font script="Lisu" typeface="Segoe UI"/><a:font script="Mymr" typeface="Myanmar Text"/><a:font script="Nkoo" typeface="Ebrima"/><a:font script="Olck" typeface="Nirmala UI"/><a:font script="Osma" typeface="Ebrima"/><a:font script="Phag" typeface="Phagspa"/><a:font script="Syrn" typeface="Estrangelo Edessa"/><a:font script="Syrj" typeface="Estrangelo Edessa"/><a:font script="Syre" typeface="Estrangelo Edessa"/><a:font script="Sora" typeface="Nirmala UI"/><a:font script="Tale" typeface="Microsoft Tai Le"/><a:font script="Talu" typeface="Microsoft New Tai Lue"/><a:font script="Tfng" typeface="Ebrima"/></a:minorFont></a:fontScheme><a:fmtScheme name="Office"><a:fillStyleLst><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:lumMod val="110000"/><a:satMod val="105000"/><a:tint val="67000"/></a:schemeClr></a:gs><a:gs pos="50000"><a:schemeClr val="phClr"><a:lumMod val="105000"/><a:satMod val="103000"/><a:tint val="73000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:lumMod val="105000"/><a:satMod val="109000"/><a:tint val="81000"/></a:schemeClr></a:gs></a:gsLst><a:lin ang="5400000" scaled="0"/></a:gradFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:satMod val="103000"/><a:lumMod val="102000"/><a:tint val="94000"/></a:schemeClr></a:gs><a:gs pos="50000"><a:schemeClr val="phClr"><a:satMod val="110000"/><a:lumMod val="100000"/><a:shade val="100000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:lumMod val="99000"/><a:satMod val="120000"/><a:shade val="78000"/></a:schemeClr></a:gs></a:gsLst><a:lin ang="5400000" scaled="0"/></a:gradFill></a:fillStyleLst><a:lnStyleLst><a:ln w="12700" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/><a:miter lim="800000"/></a:ln><a:ln w="19050" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/><a:miter lim="800000"/></a:ln><a:ln w="25400" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/><a:miter lim="800000"/></a:ln></a:lnStyleLst><a:effectStyleLst><a:effectStyle><a:effectLst/></a:effectStyle><a:effectStyle><a:effectLst/></a:effectStyle><a:effectStyle><a:effectLst><a:outerShdw blurRad="57150" dist="19050" dir="5400000" algn="ctr" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="63000"/></a:srgbClr></a:outerShdw></a:effectLst></a:effectStyle></a:effectStyleLst><a:bgFillStyleLst><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:solidFill><a:schemeClr val="phClr"><a:tint val="95000"/><a:satMod val="170000"/></a:schemeClr></a:solidFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="93000"/><a:satMod val="150000"/><a:shade val="98000"/><a:lumMod val="102000"/></a:schemeClr></a:gs><a:gs pos="50000"><a:schemeClr val="phClr"><a:tint val="98000"/><a:satMod val="130000"/><a:shade val="90000"/><a:lumMod val="103000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="63000"/><a:satMod val="120000"/></a:schemeClr></a:gs></a:gsLst><a:lin ang="5400000" scaled="0"/></a:gradFill></a:bgFillStyleLst></a:fmtScheme></a:themeElements><a:objectDefaults><a:lnDef><a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="2"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="0"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="1"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="tx1"/></a:fontRef></a:style></a:lnDef></a:objectDefaults><a:extraClrSchemeLst/><a:extLst><a:ext uri="{05A4C25C-085E-4340-85A3-A5531E510DB2}"><thm15:themeFamily xmlns:thm15="http://schemas.microsoft.com/office/thememl/2012/main" name="Office Theme" id="{2E142A2C-CD16-42D6-873A-C26D2A0506FA}" vid="{1BDDFF52-6CD6-40A5-AB3C-68EB2F1E4D0A}"/></a:ext></a:extLst></a:theme>`, n = `<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2495
+ <sst xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" count="3" uniqueCount="3"><si><t>a</t></si><si><t>b</t></si><si><t>c</t></si></sst>`, c = `<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2496
+ <styleSheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="x14ac x16r2 xr" xmlns:x14ac="http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac" xmlns:x16r2="http://schemas.microsoft.com/office/spreadsheetml/2015/02/main" xmlns:xr="http://schemas.microsoft.com/office/spreadsheetml/2014/revision"><fonts count="1" x14ac:knownFonts="1"><font><sz val="12"/><color theme="1"/><name val="Aptos Narrow"/><family val="2"/><scheme val="minor"/></font></fonts><fills count="2"><fill><patternFill patternType="none"/></fill><fill><patternFill patternType="gray125"/></fill></fills><borders count="1"><border><left/><right/><top/><bottom/><diagonal/></border></borders><cellStyleXfs count="1"><xf numFmtId="0" fontId="0" fillId="0" borderId="0"/></cellStyleXfs><cellXfs count="1"><xf numFmtId="0" fontId="0" fillId="0" borderId="0" xfId="0"/></cellXfs><cellStyles count="1"><cellStyle name="Normal" xfId="0" builtinId="0"/></cellStyles><dxfs count="0"/><tableStyles count="0" defaultTableStyle="TableStyleMedium2" defaultPivotStyle="PivotStyleLight16"/><extLst><ext uri="{EB79DEF2-80B8-43e5-95BD-54CBDDF9020C}" xmlns:x14="http://schemas.microsoft.com/office/spreadsheetml/2009/9/main"><x14:slicerStyles defaultSlicerStyle="SlicerStyleLight1"/></ext><ext uri="{9260A510-F301-46a8-8635-F512D64BE5F5}" xmlns:x15="http://schemas.microsoft.com/office/spreadsheetml/2010/11/main"><x15:timelineStyles defaultTimelineStyle="TimeSlicerStyleLight1"/></ext></extLst></styleSheet>`, a = `<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2485
2497
  <workbook xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="x15 xr xr6 xr10 xr2" xmlns:x15="http://schemas.microsoft.com/office/spreadsheetml/2010/11/main" xmlns:xr="http://schemas.microsoft.com/office/spreadsheetml/2014/revision" xmlns:xr6="http://schemas.microsoft.com/office/spreadsheetml/2016/revision6" xmlns:xr10="http://schemas.microsoft.com/office/spreadsheetml/2016/revision10" xmlns:xr2="http://schemas.microsoft.com/office/spreadsheetml/2015/revision2"><fileVersion appName="xl" lastEdited="7" lowestEdited="7" rupBuild="11207"/><workbookPr defaultThemeVersion="202300"/><mc:AlternateContent xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"><mc:Choice Requires="x15"><x15ac:absPath url="/" xmlns:x15ac="http://schemas.microsoft.com/office/spreadsheetml/2010/11/ac"/></mc:Choice></mc:AlternateContent><xr:revisionPtr revIDLastSave="0" documentId="8_{292BF245-1F37-B045-B1A5-26C42FB62779}" xr6:coauthVersionLast="47" xr6:coauthVersionMax="47" xr10:uidLastSave="{00000000-0000-0000-0000-000000000000}"/><bookViews><workbookView xWindow="11340" yWindow="5060" windowWidth="28040" windowHeight="17440" xr2:uid="{858B8D3F-6246-774D-8903-6D38687B7BC6}"/></bookViews><sheets><sheet name="Sheet1" sheetId="1" r:id="rId1"/></sheets><calcPr calcId="181029"/><extLst><ext uri="{140A7094-0E35-4892-8432-C4D2E57EDEB5}" xmlns:x15="http://schemas.microsoft.com/office/spreadsheetml/2010/11/main"><x15:workbookPr chartTrackingRefBase="1"/></ext><ext uri="{B58B0392-4F1F-4190-BB64-5DF3571DCE5F}" xmlns:xcalcf="http://schemas.microsoft.com/office/spreadsheetml/2018/calcfeatures"><xcalcf:calcFeatures><xcalcf:feature name="microsoft.com:RD"/><xcalcf:feature name="microsoft.com:Single"/><xcalcf:feature name="microsoft.com:FV"/><xcalcf:feature name="microsoft.com:CNMTM"/><xcalcf:feature name="microsoft.com:LET_WF"/><xcalcf:feature name="microsoft.com:LAMBDA_WF"/><xcalcf:feature name="microsoft.com:ARRAYTEXT_WF"/></xcalcf:calcFeatures></ext></extLst></workbook>`, d = `<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2486
2498
  <Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types"><Default Extension="rels" ContentType="application/vnd.openxmlformats-package.relationships+xml"/><Default Extension="xml" ContentType="application/xml"/><Override PartName="/xl/workbook.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml"/><Override PartName="/xl/worksheets/sheet1.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml"/><Override PartName="/xl/theme/theme1.xml" ContentType="application/vnd.openxmlformats-officedocument.theme+xml"/><Override PartName="/xl/styles.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml"/><Override PartName="/xl/sharedStrings.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml"/><Override PartName="/docProps/core.xml" ContentType="application/vnd.openxmlformats-package.core-properties+xml"/><Override PartName="/docProps/app.xml" ContentType="application/vnd.openxmlformats-officedocument.extended-properties+xml"/></Types>`, u = /* @__PURE__ */ new Map();
2487
- return u.set("_rels/.rels", s), u.set("docProps/app.xml", o), u.set("docProps/core.xml", i), u.set("xl/_rels/workbook.xml.rels", r), u.set("xl/theme/theme1.xml", n), u.set("xl/worksheets/sheet1.xml", this.getX1WorksheetsSheet1Xml(e)), u.set("xl/sharedStrings.xml", l), u.set("xl/styles.xml", a), u.set("xl/workbook.xml", c), u.set("[Content_Types].xml", d), u;
2499
+ return u.set("_rels/.rels", s), u.set("docProps/app.xml", o), u.set("docProps/core.xml", i), u.set("xl/_rels/workbook.xml.rels", r), u.set("xl/theme/theme1.xml", l), u.set("xl/worksheets/sheet1.xml", this.getX1WorksheetsSheet1Xml(e)), u.set("xl/sharedStrings.xml", n), u.set("xl/styles.xml", c), u.set("xl/workbook.xml", a), u.set("[Content_Types].xml", d), u;
2488
2500
  }
2489
2501
  getX1WorksheetsSheet1Xml(e) {
2490
2502
  const t = [];
@@ -2499,15 +2511,15 @@ class Ye {
2499
2511
  const o = e[s];
2500
2512
  t.push('<row r="${r + 1}" spans="1:2" x14ac:dyDescent="0.2">');
2501
2513
  for (let i = 0; i < o.length; i++) {
2502
- const r = o[i], n = this.getCellAddress(s, i);
2514
+ const r = o[i], l = this.getCellAddress(s, i);
2503
2515
  if (typeof r == "number")
2504
- t.push(`<c r="${n}"><v>${r}</v></c>`);
2516
+ t.push(`<c r="${l}"><v>${r}</v></c>`);
2505
2517
  else if (r instanceof Date) {
2506
- const l = r;
2507
- t.push(`<c r="${n}" t="inlineStr"><is><t>${l.toISOString()}</t></is></c>`);
2518
+ const n = r;
2519
+ t.push(`<c r="${l}" t="inlineStr"><is><t>${n.toISOString()}</t></is></c>`);
2508
2520
  } else {
2509
- const l = r != null ? this.escapeXml(String(r)) : "";
2510
- t.push(`<c r="${n}" t="inlineStr"><is><t>${l}</t></is></c>`);
2521
+ const n = r != null ? this.escapeXml(String(r)) : "";
2522
+ t.push(`<c r="${l}" t="inlineStr"><is><t>${n}</t></is></c>`);
2511
2523
  }
2512
2524
  }
2513
2525
  t.push("</row>");
@@ -2542,31 +2554,31 @@ class Ye {
2542
2554
  const u = new TextEncoder().encode(d.path), f = new Uint8Array(46 + u.length), p = new DataView(f.buffer);
2543
2555
  f.set([80, 75, 1, 2], 0), p.setUint16(4, 20, !0), p.setUint16(6, 20, !0), p.setUint16(8, 0, !0), p.setUint16(10, 0, !0), p.setUint16(12, 0, !0), p.setUint16(14, 0, !0), p.setUint32(16, 0, !0), p.setUint32(20, d.contentSize, !0), p.setUint32(24, d.contentSize, !0), p.setUint16(28, u.length, !0), p.setUint16(30, 0, !0), p.setUint16(32, 0, !0), p.setUint16(34, 0, !0), p.setUint16(36, 0, !0), p.setUint32(38, 0, !0), p.setUint32(42, d.offset, !0), f.set(u, 46), t.push(f), s += f.length;
2544
2556
  });
2545
- const r = new Uint8Array(22), n = new DataView(r.buffer);
2546
- r.set([80, 75, 5, 6], 0), n.setUint16(4, 0, !0), n.setUint16(6, 0, !0), n.setUint16(8, o.length, !0), n.setUint16(10, o.length, !0), n.setUint32(12, s - i, !0), n.setUint32(16, i, !0), n.setUint16(20, 0, !0), t.push(r);
2547
- const l = t.reduce((d, u) => d + u.length, 0), a = new Uint8Array(l);
2548
- let c = 0;
2557
+ const r = new Uint8Array(22), l = new DataView(r.buffer);
2558
+ r.set([80, 75, 5, 6], 0), l.setUint16(4, 0, !0), l.setUint16(6, 0, !0), l.setUint16(8, o.length, !0), l.setUint16(10, o.length, !0), l.setUint32(12, s - i, !0), l.setUint32(16, i, !0), l.setUint16(20, 0, !0), t.push(r);
2559
+ const n = t.reduce((d, u) => d + u.length, 0), c = new Uint8Array(n);
2560
+ let a = 0;
2549
2561
  for (const d of t)
2550
- a.set(d, c), c += d.length;
2551
- return a;
2562
+ c.set(d, a), a += d.length;
2563
+ return c;
2552
2564
  }
2553
2565
  generateBuffer(e, t = "") {
2554
2566
  const s = this.generateMap(e, t);
2555
2567
  return this.createZip(s);
2556
2568
  }
2557
2569
  }
2558
- class we extends Pe {
2559
- constructor(e, t, s, o, i, r = new G(), n = new Ye()) {
2560
- var c;
2561
- if (super(e, t, new Re(s), o), this.eventListener = i, this.copyService = r, this.excelService = n, this.licenseManager = O.getInstance(), this.selectionService = new $e(this), this.api = new Me(this), this.mouseStartAction = "", this.mouseStartWidth = -1, this.mouseStartColumnIndex = -1, this.dragFrom = -1, this.dragTo = -1, this.lastDragFrom = -1, this.lastDragTo = -1, this.firstDraggingRendering = !0, i || (this.eventListener = new re()), (c = this.tableOptions) != null && c.autoRestoreOptions) {
2570
+ class Se extends _e {
2571
+ constructor(e, t, s, o, i, r = new U(), l = new Ke()) {
2572
+ var a;
2573
+ if (super(e, t, new Re(s), o), this.eventListener = i, this.copyService = r, this.excelService = l, this.licenseManager = B.getInstance(), this.selectionService = new He(this), this.api = new Te(this), this.mouseStartAction = "", this.mouseStartWidth = -1, this.mouseStartColumnIndex = -1, this.dragFrom = -1, this.dragTo = -1, this.lastDragFrom = -1, this.lastDragTo = -1, this.firstDraggingRendering = !0, t.setTableScope(this), i || (this.eventListener = new le()), (a = this.tableOptions) != null && a.autoRestoreOptions) {
2562
2574
  const d = this.tableOptions.autoRestoreOptions, u = d.getStorageKeyFn;
2563
- u && (d.autoRestoreScrollPosition && (this.storeScrollPosStateService = new Te(u)), d.autoRestoreCollapsedExpandedState && (this.storeStateCollapsedExpandService = new Ie(u)), d.autoRestoreSortingState && (this.storeSortingService = new De(u)));
2575
+ u && (d.autoRestoreScrollPosition && (this.storeScrollPosStateService = new ke(u)), d.autoRestoreCollapsedExpandedState && (this.storeStateCollapsedExpandService = new De(u)), d.autoRestoreSortingState && (this.storeSortingService = new Fe(u)));
2564
2576
  }
2565
- this.mouseHandler = new Ee(this), this.inputHandler = new Oe(this), this.resizeHandler = new Xe(this, o.resizeEventDebounceDelay), this.shortcutService = new We(this), this.shortcutService.addListener(this.selectionService);
2566
- const l = this.getSelectionModel ? this.getSelectionModel() : void 0;
2567
- l && l.addEventSelectionChangedListener(this);
2568
- const a = this.getFocusModel ? this.getFocusModel() : void 0;
2569
- a && a.addEventFocusChangedListener(this);
2577
+ this.mouseHandler = new Me(this), this.inputHandler = new $e(this), this.resizeHandler = new Ye(this, o.resizeEventDebounceDelay), this.shortcutService = new Ne(this), this.shortcutService.addListener(this.selectionService);
2578
+ const n = this.getSelectionModel ? this.getSelectionModel() : void 0;
2579
+ n && n.addEventSelectionChangedListener(this);
2580
+ const c = this.getFocusModel ? this.getFocusModel() : void 0;
2581
+ c && c.addEventFocusChangedListener(this);
2570
2582
  }
2571
2583
  /**
2572
2584
  * Creates a TableScope instance.
@@ -2580,8 +2592,8 @@ class we extends Pe {
2580
2592
  *
2581
2593
  * @return {TableScope} - The newly created TableScope instance.
2582
2594
  */
2583
- static create(e, t, s = new K(), o = new re(), i = new Ne(), r = new G()) {
2584
- return new we(e, t, i, s, o, r);
2595
+ static create(e, t, s = new z(), o = new le(), i = new Ge(), r = new U()) {
2596
+ return new Se(e, t, i, s, o, r);
2585
2597
  }
2586
2598
  /**
2587
2599
  * Triggers an action based on the provided actionId.
@@ -2609,7 +2621,7 @@ class we extends Pe {
2609
2621
  return !1;
2610
2622
  }
2611
2623
  updateModelValueAfterEdit(e, t, s, o) {
2612
- e === "body" && this.tableModel.getAreaModel(e).setValue(t, s, o) && (this.resetEditorRenderer(), this.repaint(), this.eventListener.onModelChanged(te.createSingle(t, s)), this.hostElement.focus());
2624
+ e === "body" && this.tableModel.getAreaModel(e).setValue(t, s, o) && (this.resetEditorRenderer(), this.repaint(), this.eventListener.onModelChanged(se.createSingle(t, s)), this.hostElement.focus());
2613
2625
  }
2614
2626
  /**
2615
2627
  * Retrieves the TableApi object.
@@ -2638,7 +2650,7 @@ class we extends Pe {
2638
2650
  * @return {GeMouseEvent} - The created GeMouseEvent object.
2639
2651
  */
2640
2652
  createGeMouseEvent(e) {
2641
- const t = new Z();
2653
+ const t = new ee();
2642
2654
  if (t.originalEvent = e, e) {
2643
2655
  const s = e.target;
2644
2656
  if ([t.areaIdent, t.sideIdent] = this.getAreaAndSideIdentByAttr(s), t.rowIndex = this.getNumberByAttr(s, "data-row-index"), t.columnIndex = this.getNumberByAttr(s, "data-col-index"), t.action = this.getStringByAttr(s, "data-ge-action"), t.areaIdent) {
@@ -2708,7 +2720,7 @@ class we extends Pe {
2708
2720
  toggleExpandCollapseAll(e = !0) {
2709
2721
  var s;
2710
2722
  const t = this.tableModel.getBodyModel();
2711
- Y(t) && (t.toggleExpandCollapseAll(e), this.repaint(), (s = this.storeStateCollapsedExpandService) == null || s.collapsedStateAll(e));
2723
+ J(t) && (t.toggleExpandCollapseAll(e), this.repaint(), (s = this.storeStateCollapsedExpandService) == null || s.collapsedStateAll(e));
2712
2724
  }
2713
2725
  /**
2714
2726
  * Toggles the checkbox state of a specific row in a table.
@@ -2720,11 +2732,11 @@ class we extends Pe {
2720
2732
  * @return {void} - This method does not return anything.
2721
2733
  */
2722
2734
  toggleRowCheckbox(e, t, s) {
2723
- var l;
2735
+ var n;
2724
2736
  const o = this.tableModel.getAreaModel(s), i = o.isRowChecked(e), r = i === void 0 || i === "semi" || i === "none";
2725
2737
  o.setRowChecked(e, r), this.repaint();
2726
- const n = (l = o.rowSelectionModel) == null ? void 0 : l.getCheckedRows();
2727
- this.eventListener.onCheckboxChanged(n || []);
2738
+ const l = (n = o.rowSelectionModel) == null ? void 0 : n.getCheckedRows();
2739
+ this.eventListener.onCheckboxChanged(l || []);
2728
2740
  }
2729
2741
  /**
2730
2742
  * Handle mouse click events.
@@ -2778,8 +2790,8 @@ class we extends Pe {
2778
2790
  const o = this.tableModel.getColumnDef(s);
2779
2791
  if (o != null && o.sortable && o.sortable()) {
2780
2792
  e.preventDefault(), e.stopPropagation();
2781
- const n = o.sortStatesOrder ? o.sortStatesOrder : this.tableOptions.sortOrder, l = o.sortState ?? "", a = n[(n.indexOf(l) + 1) % n.length], c = new _e(s, a);
2782
- this.tableModel.doSort([c]) && ((i = this.tableModel.getColumnDefs()) == null || i.forEach((u) => u.sortState = ""), o.sortState = a), this.repaint(), (r = this.storeSortingService) == null || r.setSortItems([c]);
2793
+ const l = o.sortStatesOrder ? o.sortStatesOrder : this.tableOptions.sortOrder, n = o.sortState ?? "", c = l[(l.indexOf(n) + 1) % l.length], a = new Oe(s, c);
2794
+ this.tableModel.doSort([a]) && ((i = this.tableModel.getColumnDefs()) == null || i.forEach((u) => u.sortState = ""), o.sortState = c), this.repaint(), (r = this.storeSortingService) == null || r.setSortItems([a]);
2783
2795
  }
2784
2796
  }
2785
2797
  /**
@@ -2924,29 +2936,55 @@ class we extends Pe {
2924
2936
  const s = this.tableOptions.autoRestoreOptions, o = s.getRowId;
2925
2937
  if (s.autoRestoreCollapsedExpandedState && o) {
2926
2938
  const i = this.storeStateCollapsedExpandService.collapsedExpandedStateGet(), r = this.tableModel.getAreaModel("body");
2927
- if (Y(r)) {
2928
- const n = r, l = r.getRowCount();
2929
- for (let a = 0; a < l; a++) {
2930
- const c = r.getRowByIndex(a);
2931
- if (c)
2939
+ if (J(r)) {
2940
+ const l = r, n = r.getRowCount();
2941
+ for (let c = 0; c < n; c++) {
2942
+ const a = r.getRowByIndex(c);
2943
+ if (a)
2932
2944
  if (i.allExpanded)
2933
- c.expanded = !0;
2945
+ a.expanded = !0;
2934
2946
  else if (i.allCollapsed)
2935
- c.expanded = !1;
2947
+ a.expanded = !1;
2936
2948
  else {
2937
- const d = o(c.data);
2938
- i.mode === "expanded" ? c.expanded = this.storeStateCollapsedExpandService.collapsedExpandedStateIncludes(d) : i.mode === "collapsed" && (c.expanded = !this.storeStateCollapsedExpandService.collapsedExpandedStateIncludes(d));
2949
+ const d = o(a.data);
2950
+ i.mode === "expanded" ? a.expanded = this.storeStateCollapsedExpandService.collapsedExpandedStateIncludes(d) : i.mode === "collapsed" && (a.expanded = !this.storeStateCollapsedExpandService.collapsedExpandedStateIncludes(d));
2939
2951
  }
2940
2952
  }
2941
- n.recalcVisibleTreeRows();
2953
+ l.recalcVisibleTreeRows();
2942
2954
  }
2943
2955
  }
2944
2956
  }
2945
2957
  }
2958
+ calcAutoColumnWidths() {
2959
+ const e = this.tableModel.getBodyModel(), t = this.tableModel.getColumnCount(), s = (e == null ? void 0 : e.getRowCount()) ?? 0;
2960
+ if (!e)
2961
+ return console.warn("Body model is not available."), [];
2962
+ const o = new Array(t).fill(0);
2963
+ for (let i = 0; i < s; i++)
2964
+ for (let r = 0; r < t; r++) {
2965
+ const l = e.getValueAt(i, r), n = (l == null ? void 0 : l.toString().length) || 0;
2966
+ n > o[r] && (o[r] = n);
2967
+ }
2968
+ return o.map((i) => Math.max(i * 10, 50));
2969
+ }
2970
+ setColumnWidth(e, t) {
2971
+ this.tableModel.setColumnWidth(e, t);
2972
+ }
2973
+ autoResizeColumns(e = !0) {
2974
+ const t = this.calcAutoColumnWidths();
2975
+ for (let s = 0; s < t.length; s++) {
2976
+ const o = t[s];
2977
+ this.tableModel.setColumnWidth(s, o);
2978
+ }
2979
+ e && this.recalcWrappers();
2980
+ }
2981
+ recalcWrappers() {
2982
+ this.tableModel.recalcPadding(), this.resetSizeOfWrapperDiv(), this.adjustContainersAndRows();
2983
+ }
2946
2984
  }
2947
- const z = class z {
2985
+ const j = class j {
2948
2986
  };
2949
- z.themes = ["light", "combat", "paper", "blackboard"], z.vars = {
2987
+ j.themes = ["light", "combat", "paper", "blackboard"], j.vars = {
2950
2988
  light: `html[data-theme="light"] {
2951
2989
  --ge-table-bg: rgba(255,255,255, 0.5);
2952
2990
  --ge-table-header-west-bg: rgba(233, 233, 233, 0.5);
@@ -3180,31 +3218,31 @@ z.themes = ["light", "combat", "paper", "blackboard"], z.vars = {
3180
3218
  --ge-table-drop-zone-bg: #758129;
3181
3219
  }`
3182
3220
  };
3183
- let le = z;
3184
- class ne {
3185
- constructor(e, t = !0, s, o, i = 0, r = !1, n = !1) {
3186
- this.data = e, this.expanded = t, this.children = s, this.parent = o, this.deep = i, this.checked = r, this.keep = n, this.type = "TreeRow";
3221
+ let ae = j;
3222
+ class ce {
3223
+ constructor(e, t = !0, s, o, i = 0, r = !1, l = !1) {
3224
+ this.data = e, this.expanded = t, this.children = s, this.parent = o, this.deep = i, this.checked = r, this.keep = l, this.type = "TreeRow";
3187
3225
  }
3188
3226
  }
3189
- class q {
3227
+ class Z {
3190
3228
  static buildTreeRows(e, t = "children", s = 12) {
3191
3229
  const o = [];
3192
3230
  for (const i of e)
3193
- o.push(q.buildTreeRow(i, t, void 0, 0, s));
3231
+ o.push(Z.buildTreeRow(i, t, void 0, 0, s));
3194
3232
  return o;
3195
3233
  }
3196
- static buildTreeRow(e, t = "children", s = new ne(e, !0, [], void 0, 0), o = 0, i = 12) {
3197
- var n;
3234
+ static buildTreeRow(e, t = "children", s = new ce(e, !0, [], void 0, 0), o = 0, i = 12) {
3235
+ var l;
3198
3236
  if (o > i)
3199
3237
  return console.warn("Max deep limit reached: ", o), s;
3200
3238
  const r = e[t];
3201
3239
  if (r)
3202
- for (const l of r) {
3203
- const a = new ne(l, !0, [], s, o + 1);
3204
- if ((n = s.children) == null || n.push(a), q.buildTreeRow(
3205
- l,
3240
+ for (const n of r) {
3241
+ const c = new ce(n, !0, [], s, o + 1);
3242
+ if ((l = s.children) == null || l.push(c), Z.buildTreeRow(
3243
+ n,
3206
3244
  t,
3207
- a,
3245
+ c,
3208
3246
  o + 1
3209
3247
  ), o > i)
3210
3248
  return console.warn("Max deep limit reached: ", o), s;
@@ -3212,7 +3250,7 @@ class q {
3212
3250
  return s;
3213
3251
  }
3214
3252
  }
3215
- class H {
3253
+ class V {
3216
3254
  constructor(e = 34, t = 34, s = 34) {
3217
3255
  this.header = e, this.body = t, this.footer = s;
3218
3256
  }
@@ -3222,29 +3260,29 @@ class x {
3222
3260
  this.value = e, this.unit = t;
3223
3261
  }
3224
3262
  }
3225
- const Ke = () => !0, ae = () => !1;
3226
- class V {
3227
- constructor(e, t, s = new x(100, "px"), o = new I(), i = new I(), r = new x(100, "px"), n = new x(100, "px"), l, a, c, d, u, f, p, m, g = () => this.visible) {
3228
- this.property = e, this.headerLabel = t, this.width = s, this.classes = o, this.rendererMap = i, this.minWidth = r, this.maxWidth = n, this.sortable = l, this.sortComparator = a, this.sortState = c, this.sortStatesOrder = d, this.sortIconVisible = u, this.editable = f, this.getEditRenderer = p, this.editInputPipe = m, this.isVisible = g, this.visible = !0, s.unit !== "px" && (this.minWidth = new x(0, "px"), this.maxWidth = new x(1e5, "px"));
3263
+ const qe = () => !0, de = () => !1;
3264
+ class $ {
3265
+ constructor(e, t, s = new x(100, "px"), o = new k(), i = new k(), r = new x(100, "px"), l = new x(100, "px"), n, c, a, d, u, f, p, m, g = () => this.visible) {
3266
+ this.property = e, this.headerLabel = t, this.width = s, this.classes = o, this.rendererMap = i, this.minWidth = r, this.maxWidth = l, this.sortable = n, this.sortComparator = c, this.sortState = a, this.sortStatesOrder = d, this.sortIconVisible = u, this.editable = f, this.getEditRenderer = p, this.editInputPipe = m, this.isVisible = g, this.visible = !0, s.unit !== "px" && (this.minWidth = new x(0, "px"), this.maxWidth = new x(1e5, "px"));
3229
3267
  }
3230
3268
  static bodyRenderer(e) {
3231
- return new I(
3269
+ return new k(
3232
3270
  void 0,
3233
3271
  e,
3234
3272
  void 0
3235
3273
  );
3236
3274
  }
3237
3275
  static create(e) {
3238
- const t = new I(
3276
+ const t = new k(
3239
3277
  e.headerRenderer,
3240
3278
  e.bodyRenderer,
3241
3279
  e.footerRenderer
3242
- ), s = new I(
3280
+ ), s = new k(
3243
3281
  e.headerClasses,
3244
3282
  e.bodyClasses,
3245
3283
  e.footerClasses
3246
- ), o = e.sortIconVisible ?? e.sortable ?? ae, i = e.editable ?? e.editable ?? ae, r = e.isVisible ?? e.isVisible ?? Ke;
3247
- return new V(
3284
+ ), o = e.sortIconVisible ?? e.sortable ?? de, i = e.editable ?? e.editable ?? de, r = e.isVisible ?? e.isVisible ?? qe;
3285
+ return new $(
3248
3286
  e.property ?? "",
3249
3287
  e.headerLabel ?? "",
3250
3288
  e.width ?? new x(100, "px"),
@@ -3264,8 +3302,8 @@ class V {
3264
3302
  );
3265
3303
  }
3266
3304
  }
3267
- const rt = new x(300, "px"), lt = new x(290, "px"), nt = new x(280, "px"), at = new x(270, "px"), ct = new x(260, "px"), dt = new x(250, "px"), ht = new x(240, "px"), ut = new x(230, "px"), gt = new x(220, "px"), pt = new x(210, "px"), ce = new x(200, "px"), ft = new x(190, "px"), mt = new x(180, "px"), bt = new x(170, "px"), xt = new x(160, "px"), wt = new x(150, "px"), St = new x(140, "px"), yt = new x(130, "px"), Ct = new x(120, "px"), vt = new x(110, "px"), Rt = new x(100, "px"), At = new x(90, "px"), Et = new x(80, "px"), Mt = new x(70, "px"), Tt = new x(60, "px"), kt = new x(50, "px"), It = new x(40, "px"), Dt = new x(30, "px"), Ft = new x(20, "px"), Lt = new x(10, "px"), Pt = new x(0, "px");
3268
- class oe {
3305
+ const ut = new x(500, "px"), gt = new x(400, "px"), Je = new x(300, "px"), pt = new x(290, "px"), ft = new x(280, "px"), mt = new x(270, "px"), bt = new x(260, "px"), xt = new x(250, "px"), wt = new x(240, "px"), St = new x(230, "px"), yt = new x(220, "px"), Ct = new x(210, "px"), he = new x(200, "px"), vt = new x(190, "px"), At = new x(180, "px"), Rt = new x(170, "px"), Et = new x(160, "px"), Mt = new x(150, "px"), Tt = new x(140, "px"), kt = new x(130, "px"), It = new x(120, "px"), Dt = new x(110, "px"), Ft = new x(100, "px"), Lt = new x(90, "px"), Pt = new x(80, "px"), _t = new x(70, "px"), Ot = new x(60, "px"), $t = new x(50, "px"), Bt = new x(40, "px"), Ht = new x(30, "px"), Wt = new x(20, "px"), Vt = new x(10, "px"), Nt = new x(0, "px");
3306
+ class re {
3269
3307
  constructor(e, t = [], s = -1) {
3270
3308
  this.areaIdent = e, this.columnDefs = t, this.defaultRowHeight = s, this.rowSelectionModel = void 0, this.yPositions = [], this.cellRenderers = t.map((o) => o.rendererMap[e]);
3271
3309
  }
@@ -3330,8 +3368,8 @@ class oe {
3330
3368
  return ((i = s == null ? void 0 : s.editable) == null ? void 0 : i.call(s)) ?? !1;
3331
3369
  }
3332
3370
  setValue(e, t, s) {
3333
- var n;
3334
- const o = (n = this.columnDefs[t]) == null ? void 0 : n.editInputPipe;
3371
+ var l;
3372
+ const o = (l = this.columnDefs[t]) == null ? void 0 : l.editInputPipe;
3335
3373
  o && (s = o(s, e, t));
3336
3374
  const i = this.getRowByIndex(e), r = this.columnDefs[t].property;
3337
3375
  return r.includes(".") ? this.setPropertyValue(i, r.split("."), s) : (i[r] = s, !0);
@@ -3361,7 +3399,7 @@ class oe {
3361
3399
  this.yPositions[t + 1] = this.getRowHeight(t) + this.yPositions[t];
3362
3400
  }
3363
3401
  }
3364
- class D extends oe {
3402
+ class D extends re {
3365
3403
  constructor(e, t, s, o = []) {
3366
3404
  super(e, o, s), this.areaIdent = e, this.arr = t, this.defaultRowHeight = s, this.columnDefs = o, this.filteredArr = [...t];
3367
3405
  }
@@ -3461,7 +3499,7 @@ class F {
3461
3499
  changeColumnOrder(e, t) {
3462
3500
  }
3463
3501
  }
3464
- class qe {
3502
+ class Ze {
3465
3503
  flattenTree(e, t = []) {
3466
3504
  var s;
3467
3505
  for (const o of e)
@@ -3472,7 +3510,7 @@ class qe {
3472
3510
  return e.parent ? e.parent.expanded ? this.isVisible(e.parent) : !1 : !0;
3473
3511
  }
3474
3512
  }
3475
- class Se {
3513
+ class ye {
3476
3514
  genericSortComparator(e, t, s) {
3477
3515
  if (typeof e == "number" && typeof t == "number")
3478
3516
  return s * (e - t);
@@ -3490,9 +3528,9 @@ class Se {
3490
3528
  return s * ("" + e).localeCompare("" + t);
3491
3529
  }
3492
3530
  }
3493
- class de extends oe {
3531
+ class ue extends re {
3494
3532
  constructor(e, t, s, o = []) {
3495
- super(e, o, s), this.areaIdent = e, this.rows = t, this.defaultRowHeight = s, this.columnDefs = o, this.type = "AreaModelTree", this.sorterService = new Se(), this.service = new qe(), this.properties = o.map((i) => i.property), this.flattenRows = this.service.flattenTree(t), this.filteredFlattenRows = [...this.flattenRows];
3533
+ super(e, o, s), this.areaIdent = e, this.rows = t, this.defaultRowHeight = s, this.columnDefs = o, this.type = "AreaModelTree", this.sorterService = new ye(), this.service = new Ze(), this.properties = o.map((i) => i.property), this.flattenRows = this.service.flattenTree(t), this.filteredFlattenRows = [...this.flattenRows];
3496
3534
  }
3497
3535
  changeColumnOrder(e, t) {
3498
3536
  this.arrayMove(this.properties, e, t), super.changeColumnOrder(e, t);
@@ -3549,8 +3587,8 @@ class de extends oe {
3549
3587
  o && (s = o(s, e, t));
3550
3588
  const i = this.getRowByIndex(e);
3551
3589
  if (i) {
3552
- const n = i.data, l = this.columnDefs[t].property;
3553
- return l.includes(".") ? this.setPropertyValue(n, l.split("."), s) : (n[l] = s, !0);
3590
+ const l = i.data, n = this.columnDefs[t].property;
3591
+ return n.includes(".") ? this.setPropertyValue(l, n.split("."), s) : (l[n] = s, !0);
3554
3592
  }
3555
3593
  return !1;
3556
3594
  }
@@ -3594,7 +3632,7 @@ class de extends oe {
3594
3632
  o.children && this.treeSort(o.children, t, s);
3595
3633
  }
3596
3634
  }
3597
- class he {
3635
+ class ge {
3598
3636
  constructor(e = []) {
3599
3637
  this.allRootNodes = e;
3600
3638
  }
@@ -3654,12 +3692,12 @@ class he {
3654
3692
  s.checked && t.push(s), s.children && this.addSelectedRecursive(s.children, t);
3655
3693
  }
3656
3694
  }
3657
- class ue {
3695
+ class pe {
3658
3696
  constructor(e = 0, t = 0, s = 0, o = 0) {
3659
3697
  this.top = e, this.right = t, this.bottom = s, this.left = o;
3660
3698
  }
3661
3699
  }
3662
- class Je {
3700
+ class Qe {
3663
3701
  constructor() {
3664
3702
  this.checkedRows = [];
3665
3703
  }
@@ -3690,11 +3728,11 @@ class Je {
3690
3728
  }
3691
3729
  }
3692
3730
  }
3693
- class X {
3694
- constructor(e, t, s, o = 0, i = 0, r = !1, n = new H(), l = [], a = [], c = -1, d = 0, u = 400, f = () => {
3731
+ class q {
3732
+ constructor(e, t, s, o = 0, i = 0, r = !1, l = new V(), n = [], c = [], a = -1, d = 0, u = 400, f = () => {
3695
3733
  }) {
3696
3734
  var p, m, g, b;
3697
- this.headerAreaModel = e, this.bodyAreaModel = t, this.footerAreaModel = s, this.fixedLeftColumnCount = o, this.fixedRightColumnCount = i, this.rowCheckboxVisible = r, this.defaultRowHeights = n, this.columnDefs = l, this.columnSizes = a, this.overridingColumnWidth = c, this.columnCount = d, this.parentSize = u, this.getSelectionModel = f, this.rowCount = 0, this.contentHeightInPx = 0, this.contentWidthInPx = 0, this.padding = new ue(0, 0, 0, 0), this.xPositions = [], e.areaIdent = "header", t.areaIdent = "body", s.areaIdent = "footer", this.columnCount || ((p = this.columnDefs) != null && p.length ? this.columnCount = this.columnDefs.length : (m = this.columnSizes) != null && m.length && (this.columnCount = (g = this.columnSizes) == null ? void 0 : g.length)), (b = this.columnDefs) != null && b.length && ve(this.columnDefs[0]) && !t.rowSelectionModel && (t.rowSelectionModel = new Je());
3735
+ this.headerAreaModel = e, this.bodyAreaModel = t, this.footerAreaModel = s, this.fixedLeftColumnCount = o, this.fixedRightColumnCount = i, this.rowCheckboxVisible = r, this.defaultRowHeights = l, this.columnDefs = n, this.columnSizes = c, this.overridingColumnWidth = a, this.columnCount = d, this.parentSize = u, this.getSelectionModel = f, this.rowCount = 0, this.contentHeightInPx = 0, this.contentWidthInPx = 0, this.padding = new pe(0, 0, 0, 0), this.xPositions = [], e.areaIdent = "header", t.areaIdent = "body", s.areaIdent = "footer", this.columnCount || ((p = this.columnDefs) != null && p.length ? this.columnCount = this.columnDefs.length : (m = this.columnSizes) != null && m.length && (this.columnCount = (g = this.columnSizes) == null ? void 0 : g.length)), (b = this.columnDefs) != null && b.length && Ae(this.columnDefs[0]) && !t.rowSelectionModel && (t.rowSelectionModel = new Qe());
3698
3736
  }
3699
3737
  init() {
3700
3738
  this.recalcSize(this.parentSize), this.overridingColumnWidth === -1 && this.calcXPositions(), this.headerAreaModel && this.headerAreaModel.init(), this.bodyAreaModel && this.bodyAreaModel.init(), this.footerAreaModel && this.footerAreaModel.init();
@@ -3778,7 +3816,7 @@ class X {
3778
3816
  */
3779
3817
  recalcPadding() {
3780
3818
  const e = this.getSideAreaWidth("west"), t = this.getSideAreaWidth("east"), s = this.getAreaHeight("header"), o = this.getAreaHeight("footer");
3781
- this.padding = new ue(
3819
+ this.padding = new pe(
3782
3820
  s,
3783
3821
  t,
3784
3822
  o,
@@ -4019,32 +4057,32 @@ class X {
4019
4057
  recalcColumnWidths(e) {
4020
4058
  var t, s, o;
4021
4059
  if (!((t = this.columnDefs) != null && t.length) && !((s = this.columnSizes) != null && s.length) && (this.columnSizes = new Array(this.getColumnCount()).fill(this.overridingColumnWidth)), (o = this.columnDefs) != null && o.length) {
4022
- const i = this.columnDefs.filter((l) => {
4023
- var a;
4024
- return ((a = l.width) == null ? void 0 : a.unit) === "weight";
4060
+ const i = this.columnDefs.filter((n) => {
4061
+ var c;
4062
+ return ((c = n.width) == null ? void 0 : c.unit) === "weight";
4025
4063
  });
4026
- this.columnSizes = this.columnDefs.map((l) => {
4027
- if (l.width.unit === "%" && e) {
4028
- let a = Math.floor(l.width.value * e / 100);
4029
- if (l.minWidth) {
4030
- const c = this.sizeToPixel(l.minWidth, e);
4031
- a = Math.max(c, a);
4064
+ this.columnSizes = this.columnDefs.map((n) => {
4065
+ if (n.width.unit === "%" && e) {
4066
+ let c = Math.floor(n.width.value * e / 100);
4067
+ if (n.minWidth) {
4068
+ const a = this.sizeToPixel(n.minWidth, e);
4069
+ c = Math.max(a, c);
4032
4070
  }
4033
- if (l.maxWidth) {
4034
- const c = this.sizeToPixel(l.maxWidth, e);
4035
- a = Math.min(c, a);
4071
+ if (n.maxWidth) {
4072
+ const a = this.sizeToPixel(n.maxWidth, e);
4073
+ c = Math.min(a, c);
4036
4074
  }
4037
- return a;
4038
- } else if (l.width.unit === "px" && e)
4039
- return l.width.value;
4075
+ return c;
4076
+ } else if (n.width.unit === "px" && e)
4077
+ return n.width.value;
4040
4078
  return 0;
4041
4079
  });
4042
- const r = this.columnSizes.reduce((l, a) => l + a), n = e - r;
4043
- if (n > 0 && i.length) {
4044
- const l = i.map((a) => a.width.value).reduce((a, c) => a + c);
4045
- for (let a = 0; a < this.columnDefs.length; a++) {
4046
- const c = this.columnDefs[a];
4047
- c.width.unit === "weight" && (this.columnSizes[a] = c.width.value * n / l);
4080
+ const r = this.columnSizes.reduce((n, c) => n + c), l = e - r;
4081
+ if (l > 0 && i.length) {
4082
+ const n = i.map((c) => c.width.value).reduce((c, a) => c + a);
4083
+ for (let c = 0; c < this.columnDefs.length; c++) {
4084
+ const a = this.columnDefs[c];
4085
+ a.width.unit === "weight" && (this.columnSizes[c] = a.width.value * l / n);
4048
4086
  }
4049
4087
  }
4050
4088
  }
@@ -4073,14 +4111,23 @@ class X {
4073
4111
  for (let t = 0; t < e; t++)
4074
4112
  this.xPositions[t + 1] = this.getColumnWidth(t) + this.xPositions[t];
4075
4113
  }
4114
+ setTableScope(e) {
4115
+ this.tableScope = e;
4116
+ }
4117
+ getTableScope() {
4118
+ return this.tableScope;
4119
+ }
4076
4120
  }
4077
- class Ze extends oe {
4121
+ class et extends re {
4078
4122
  constructor(e, t, s, o = []) {
4079
- super(e, o, s), this.areaIdent = e, this.rows = t, this.defaultRowHeight = s, this.columnDefs = o, this.sorterService = new Se(), this.filteredRows = [...t], this.properties = o.map((i) => i.property);
4123
+ super(e, o, s), this.areaIdent = e, this.rows = t, this.defaultRowHeight = s, this.columnDefs = o, this.sorterService = new ye(), this.filteredRows = [...t], this.properties = o.map((i) => i.property);
4080
4124
  }
4081
4125
  setRows(e) {
4082
4126
  this.rows = e, this.filteredRows = [...e];
4083
4127
  }
4128
+ filterRowsByPredict(e) {
4129
+ this.rows = this.rows.filter(e), this.filteredRows = this.filteredRows.filter(e);
4130
+ }
4084
4131
  getRowCount() {
4085
4132
  var e;
4086
4133
  return ((e = this.filteredRows) == null ? void 0 : e.length) ?? 0;
@@ -4088,7 +4135,7 @@ class Ze extends oe {
4088
4135
  getValueAt(e, t) {
4089
4136
  const s = this.properties[t];
4090
4137
  let o = this.filteredRows[e];
4091
- return $(o) && (o = o.data), o ? this.getValueByT(o, s) : "";
4138
+ return W(o) && (o = o.data), o ? this.getValueByT(o, s) : "";
4092
4139
  }
4093
4140
  getFilteredRows() {
4094
4141
  return this.filteredRows;
@@ -4129,7 +4176,7 @@ class Ze extends oe {
4129
4176
  return o && t.length ? this.getPropertyValue(o, t) : o;
4130
4177
  }
4131
4178
  }
4132
- class ge extends Ze {
4179
+ class fe extends et {
4133
4180
  constructor(e, t, s, o) {
4134
4181
  super(
4135
4182
  e,
@@ -4139,7 +4186,7 @@ class ge extends Ze {
4139
4186
  ), this.areaIdent = e, this.rows = t, this.columnDefs = s, this.defaultRowHeight = o;
4140
4187
  }
4141
4188
  }
4142
- class _ {
4189
+ class O {
4143
4190
  /**
4144
4191
  * TableFactory
4145
4192
  *
@@ -4177,12 +4224,12 @@ class _ {
4177
4224
  * Please consult each method's documentation for detailed explanation of their functionality.
4178
4225
  */
4179
4226
  static createTableModel(e) {
4180
- var t, s, o, i, r, n, l, a, c, d, u, f, p, m;
4227
+ var t, s, o, i, r, l, n, c, a, d, u, f, p, m;
4181
4228
  if (e.defaultRowHeights === void 0)
4182
4229
  if ((t = e.tableOptions) != null && t.defaultRowHeights)
4183
4230
  e.defaultRowHeights = e.tableOptions.defaultRowHeights;
4184
4231
  else {
4185
- if (e.defaultRowHeights = new H(), e.headerAreaModel && "defaultRowHeight" in e.headerAreaModel) {
4232
+ if (e.defaultRowHeights = new V(), e.headerAreaModel && "defaultRowHeight" in e.headerAreaModel) {
4186
4233
  const g = e.headerAreaModel.defaultRowHeight;
4187
4234
  g > -1 && (e.defaultRowHeights.header = g);
4188
4235
  }
@@ -4195,12 +4242,12 @@ class _ {
4195
4242
  g > -1 && (e.defaultRowHeights.footer = g);
4196
4243
  }
4197
4244
  }
4198
- if (e.columnDefs === void 0 && ((s = e.properties) != null && s.length ? e.columnDefs = e.properties.map((g) => new V(g, g.toUpperCase(), ce)) : (o = e.rows) != null && o.length ? e.columnDefs = Object.keys(e.rows[0]).map((g) => new V(g, g.toUpperCase(), ce)) : e.columnDefs = []), e.columnCount === void 0 && ((i = e.columnDefs) != null && i.length ? e.columnCount = e.columnDefs.length : (r = e.headerData) != null && r.length ? e.columnCount = e.headerData[0].length : (n = e.columnSizes) != null && n.length ? e.columnCount = (l = e.columnSizes) == null ? void 0 : l.length : console.warn('Property "columnCount" is missing and cannot be derived from other properties.')), e.headerAreaModel || ((a = e.headerData) != null && a.length ? e.headerAreaModel = new D(
4245
+ if (e.columnDefs === void 0 && ((s = e.properties) != null && s.length ? e.columnDefs = e.properties.map((g) => new $(g, g.toUpperCase(), he)) : (o = e.rows) != null && o.length ? e.columnDefs = Object.keys(e.rows[0]).map((g) => new $(g, g.toUpperCase(), he)) : 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 || ((c = e.headerData) != null && c.length ? e.headerAreaModel = new D(
4199
4246
  "header",
4200
4247
  e.headerData,
4201
4248
  e.defaultRowHeights.header,
4202
4249
  e.columnDefs
4203
- ) : (c = e.columnDefs) != null && c.length ? e.headerAreaModel = new D(
4250
+ ) : (a = e.columnDefs) != null && a.length ? e.headerAreaModel = new D(
4204
4251
  "header",
4205
4252
  [e.columnDefs.map((g) => g.headerLabel)],
4206
4253
  e.defaultRowHeights.header,
@@ -4212,16 +4259,16 @@ class _ {
4212
4259
  e.columnDefs
4213
4260
  ) : e.footerAreaModel = new F("footer")), !e.bodyAreaModel)
4214
4261
  if (e.rows)
4215
- if ((u = e.rows) != null && u.length && $(e.rows[0])) {
4262
+ if ((u = e.rows) != null && u.length && W(e.rows[0])) {
4216
4263
  const g = e.rows;
4217
- e.bodyAreaModel = new de(
4264
+ e.bodyAreaModel = new ue(
4218
4265
  "body",
4219
4266
  g,
4220
4267
  e.defaultRowHeights.body,
4221
4268
  e.columnDefs
4222
- ), (e.columnDefs[0].property === "CheckboxColumn" || (f = e.tableOptions) != null && f.showCheckboxWihoutExtraColumn) && (e.bodyAreaModel.rowSelectionModel = new he(g));
4269
+ ), (e.columnDefs[0].property === "CheckboxColumn" || (f = e.tableOptions) != null && f.showCheckboxWihoutExtraColumn) && (e.bodyAreaModel.rowSelectionModel = new ge(g));
4223
4270
  } else
4224
- e.bodyAreaModel = new ge(
4271
+ e.bodyAreaModel = new fe(
4225
4272
  "body",
4226
4273
  e.rows,
4227
4274
  e.columnDefs,
@@ -4233,7 +4280,7 @@ class _ {
4233
4280
  e.bodyData,
4234
4281
  e.defaultRowHeights.body
4235
4282
  ) : e.bodyAreaModel = new F("body");
4236
- return e.fixedLeftColumnCount === void 0 && (e.fixedLeftColumnCount = 0), e.fixedRightColumnCount === void 0 && (e.fixedRightColumnCount = 0), e.rowCheckboxVisible === void 0 && (e.rowCheckboxVisible = !1), e.overridingColumnWidth === void 0 && (e.overridingColumnWidth = -1), !e.getSelectionModel && ((p = e.tableOptions) != null && p.getSelectionModel) && (e.getSelectionModel = (m = e.tableOptions) == null ? void 0 : m.getSelectionModel), new X(
4283
+ return e.fixedLeftColumnCount === void 0 && (e.fixedLeftColumnCount = 0), e.fixedRightColumnCount === void 0 && (e.fixedRightColumnCount = 0), e.rowCheckboxVisible === void 0 && (e.rowCheckboxVisible = !1), e.overridingColumnWidth === void 0 && (e.overridingColumnWidth = -1), !e.getSelectionModel && ((p = e.tableOptions) != null && p.getSelectionModel) && (e.getSelectionModel = (m = e.tableOptions) == null ? void 0 : m.getSelectionModel), new q(
4237
4284
  e.headerAreaModel,
4238
4285
  e.bodyAreaModel,
4239
4286
  e.footerAreaModel,
@@ -4267,10 +4314,10 @@ class _ {
4267
4314
  * @method
4268
4315
  */
4269
4316
  static buildByTypedRowsParam(e) {
4270
- return _.buildByTypedRows(
4317
+ return O.buildByTypedRows(
4271
4318
  e.rows ?? [],
4272
4319
  e.columnDefs,
4273
- e.tableOptions ?? new K(),
4320
+ e.tableOptions ?? new z(),
4274
4321
  e.fixedLeftColumnCount ?? 0,
4275
4322
  e.fixedRightColumnCount ?? 0
4276
4323
  );
@@ -4311,17 +4358,17 @@ class _ {
4311
4358
  * columnDef is "CheckboxColumn". If the first column is not a checkbox column, ensure that the first columnDef does not have "CheckboxColumn"
4312
4359
  * as its property.
4313
4360
  */
4314
- static buildByTypedRows(e, t, s = new K(), o = 0, i = 0) {
4315
- const r = s.defaultRowHeights, n = t[0].property === "CheckboxColumn";
4316
- if (e != null && e.length && $(e[0])) {
4317
- const l = e, a = new de(
4361
+ static buildByTypedRows(e, t, s = new z(), o = 0, i = 0) {
4362
+ const r = s.defaultRowHeights, l = t[0].property === "CheckboxColumn";
4363
+ if (e != null && e.length && W(e[0])) {
4364
+ const c = e, a = new ue(
4318
4365
  "body",
4319
- l,
4366
+ c,
4320
4367
  r.body,
4321
4368
  t
4322
4369
  );
4323
- return (n || s.showCheckboxWihoutExtraColumn) && (a.rowSelectionModel = new he(l)), _.createByAreaModelsParam({
4324
- headerAreaModel: new D("header", [t.map((c) => c.headerLabel)], r.header),
4370
+ return (l || s.showCheckboxWihoutExtraColumn) && (a.rowSelectionModel = new ge(c)), O.createByAreaModelsParam({
4371
+ headerAreaModel: new D("header", [t.map((d) => d.headerLabel)], r.header),
4325
4372
  bodyAreaModel: a,
4326
4373
  footerAreaModel: new D("footer", [], r.footer),
4327
4374
  columnDefs: t,
@@ -4334,7 +4381,7 @@ class _ {
4334
4381
  overridingColumnWidth: -1
4335
4382
  });
4336
4383
  }
4337
- return _.createByObjectArrayParam({
4384
+ return O.createByObjectArrayParam({
4338
4385
  rows: e,
4339
4386
  columnDefs: t,
4340
4387
  fixedLeftColumnCount: o,
@@ -4388,14 +4435,14 @@ class _ {
4388
4435
  */
4389
4436
  static createByObjectArrayParam(e) {
4390
4437
  const t = e.rowCheckboxVisible !== void 0 ? e.rowCheckboxVisible : !1;
4391
- return _.createByObjectArray(
4438
+ return O.createByObjectArray(
4392
4439
  e.rows,
4393
4440
  e.header ?? [],
4394
4441
  e.footer ?? [],
4395
4442
  e.fixedLeftColumnCount ?? 0,
4396
4443
  e.fixedRightColumnCount ?? 0,
4397
4444
  t,
4398
- e.defaultRowHeights ?? new H(),
4445
+ e.defaultRowHeights ?? new V(),
4399
4446
  e.columnDefs ?? [],
4400
4447
  e.columnSizes ?? []
4401
4448
  );
@@ -4441,18 +4488,18 @@ class _ {
4441
4488
  * @return A new instance of `TableModel` is created using the provided parameters.
4442
4489
  * If a parameter isn't provided, the default value is used.
4443
4490
  */
4444
- static createByAreaModels(e = new F(), t, s = new F(), o = 0, i = 0, r = !1, n = new H(), l, a = [], c = -1, d) {
4445
- return new X(
4491
+ static createByAreaModels(e = new F(), t, s = new F(), o = 0, i = 0, r = !1, l = new V(), n, c = [], a = -1, d) {
4492
+ return new q(
4446
4493
  e,
4447
4494
  t,
4448
4495
  s,
4449
4496
  o,
4450
4497
  i,
4451
4498
  r,
4452
- n,
4453
4499
  l,
4454
- a,
4500
+ n,
4455
4501
  c,
4502
+ a,
4456
4503
  d
4457
4504
  );
4458
4505
  }
@@ -4493,7 +4540,7 @@ class _ {
4493
4540
  * });
4494
4541
  */
4495
4542
  static createByAreaModelsParam(e) {
4496
- return _.createByAreaModels(
4543
+ return O.createByAreaModels(
4497
4544
  e.headerAreaModel ?? new F(),
4498
4545
  e.bodyAreaModel,
4499
4546
  e.footerAreaModel ?? new F(),
@@ -4555,24 +4602,24 @@ class _ {
4555
4602
  *
4556
4603
  * Reference: For more details regarding the `DefaultRowHeightsIf`, `ColumnDefIf`, `AreaModelIf`, and `AreaModelArrayOfArrays` classes/interfaces, please refer to the respective API documents.
4557
4604
  */
4558
- static createByObjectArray(e, t = [], s = [], o = 0, i = 0, r = !1, n = new H(), l, a = []) {
4559
- let c;
4560
- t != null && t.length ? c = new D("header", t, n.header, l) : l != null && l.length ? c = new D("header", [l.map((f) => f.headerLabel)], n.header, l) : c = new F();
4561
- const d = s ? new D("footer", s, n.footer, l) : new F(), u = new ge("body", e, l, n.body);
4562
- return new X(
4563
- c,
4605
+ static createByObjectArray(e, t = [], s = [], o = 0, i = 0, r = !1, l = new V(), n, c = []) {
4606
+ let a;
4607
+ t != null && t.length ? a = new D("header", t, l.header, n) : n != null && n.length ? a = new D("header", [n.map((f) => f.headerLabel)], l.header, n) : a = new F();
4608
+ const d = s ? new D("footer", s, l.footer, n) : new F(), u = new fe("body", e, n, l.body);
4609
+ return new q(
4610
+ a,
4564
4611
  u,
4565
4612
  d,
4566
4613
  o,
4567
4614
  i,
4568
4615
  r,
4569
- n,
4570
4616
  l,
4571
- a
4617
+ n,
4618
+ c
4572
4619
  );
4573
4620
  }
4574
4621
  }
4575
- const _t = [
4622
+ const Gt = [
4576
4623
  "COPY_2_CLIPBOARD",
4577
4624
  "START_EDITING",
4578
4625
  "TOGGLE_SELECTION",
@@ -4590,18 +4637,18 @@ const _t = [
4590
4637
  // "PAGEUP_PRESSED",
4591
4638
  // "PAGEDOWN_PRESSED"
4592
4639
  ];
4593
- class Ot {
4640
+ class tt {
4594
4641
  constructor(e, t) {
4595
4642
  this.tableModel = e, this.tableOptions = t;
4596
4643
  }
4597
4644
  }
4598
- class Qe {
4599
- constructor(e, t, s, o, i, r, n) {
4600
- this.emmitDataKey = e, this.emmitCancelKey = t, this.queryId = s, this.filter = o, this.sorting = i, this.startIndex = r, this.endIndex = n;
4645
+ class st {
4646
+ constructor(e, t, s, o, i, r, l) {
4647
+ this.emmitDataKey = e, this.emmitCancelKey = t, this.queryId = s, this.filter = o, this.sorting = i, this.startIndex = r, this.endIndex = l;
4601
4648
  }
4602
4649
  }
4603
- class Bt extends Qe {
4604
- constructor(e, t, s, o, i, r, n, l) {
4650
+ class zt extends st {
4651
+ constructor(e, t, s, o, i, r, l, n) {
4605
4652
  super(
4606
4653
  e,
4607
4654
  t,
@@ -4609,38 +4656,38 @@ class Bt extends Qe {
4609
4656
  o,
4610
4657
  i,
4611
4658
  r,
4612
- n
4613
- ), this.rows = l;
4659
+ l
4660
+ ), this.rows = n;
4614
4661
  }
4615
4662
  }
4616
- class et {
4663
+ class ot {
4617
4664
  constructor(e, t) {
4618
4665
  this.value = e, this.label = t;
4619
4666
  }
4620
4667
  }
4621
- class $t {
4668
+ class Ut {
4622
4669
  constructor(e, t) {
4623
4670
  this.index = e, this.px = t;
4624
4671
  }
4625
4672
  }
4626
- const Ht = { body: ["ge-table-text-align-left"] }, Vt = { body: ["ge-table-text-align-center"] }, Wt = { body: ["ge-table-text-align-right"] }, Nt = {
4673
+ const jt = { body: ["ge-table-text-align-left"] }, Xt = { body: ["ge-table-text-align-center"] }, Yt = { body: ["ge-table-text-align-right"] }, Kt = {
4627
4674
  header: ["ge-table-text-align-left"],
4628
4675
  body: ["ge-table-text-align-left"],
4629
4676
  footer: ["ge-table-text-align-left"]
4630
- }, Gt = {
4677
+ }, qt = {
4631
4678
  header: ["ge-table-text-align-center"],
4632
4679
  body: ["ge-table-text-align-center"],
4633
4680
  footer: ["ge-table-text-align-center"]
4634
- }, zt = {
4681
+ }, Jt = {
4635
4682
  header: ["ge-table-text-align-right"],
4636
4683
  body: ["ge-table-text-align-right"],
4637
4684
  footer: ["ge-table-text-align-right"]
4638
4685
  };
4639
- class pe {
4640
- render(e, t, s, o, i, r, n) {
4686
+ class me {
4687
+ render(e, t, s, o, i, r, l) {
4641
4688
  if (i.isRowCheckable(t)) {
4642
- n.addClass(e, "ge-table-row-checkbox-div");
4643
- const l = i.isRowChecked(t), a = l === "full" ? "checked" : "", c = l === "semi" ? '<span style="opacity: 0.4;">✓<span>' : "";
4689
+ l.addClass(e, "ge-table-row-checkbox-div");
4690
+ const n = i.isRowChecked(t), c = n === "full" ? "checked" : "", a = n === "semi" ? '<span style="opacity: 0.4;">✓<span>' : "";
4644
4691
  e.innerHTML = `
4645
4692
  <input
4646
4693
  type="checkbox"
@@ -4648,22 +4695,22 @@ class pe {
4648
4695
  data-row-index="${t}"
4649
4696
  data-col-index="${s}"
4650
4697
  data-input-type="checkbox"
4651
- ${a}
4698
+ ${c}
4652
4699
  class="ge-table-row-checkbox">
4653
- ${c} `;
4700
+ ${a} `;
4654
4701
  }
4655
4702
  }
4656
4703
  }
4657
- class Ut {
4704
+ class Zt {
4658
4705
  constructor() {
4659
- this.type = "CheckboxColumnDef", this.property = "CheckboxColumn", this.headerLabel = "", this.width = new x(50, "px"), this.minWidth = new x(50, "px"), this.maxWidth = new x(100, "px"), this.rendererMap = new I(new pe(), new pe(), void 0), this.classes = new I(
4706
+ this.type = "CheckboxColumnDef", this.property = "CheckboxColumn", this.headerLabel = "", this.width = new x(50, "px"), this.minWidth = new x(50, "px"), this.maxWidth = new x(100, "px"), this.rendererMap = new k(new me(), new me(), void 0), this.classes = new k(
4660
4707
  [],
4661
4708
  ["ge-table-text-align-left"],
4662
4709
  []
4663
4710
  );
4664
4711
  }
4665
4712
  }
4666
- class jt {
4713
+ class Qt {
4667
4714
  /**
4668
4715
  * A factory that creates a new AreaObjectMap with the given body renderer.
4669
4716
  *
@@ -4671,24 +4718,24 @@ class jt {
4671
4718
  * @returns {AreaObjectMap<CellRendererIf>} The newly created AreaObjectMap.
4672
4719
  */
4673
4720
  static body(e) {
4674
- return new I(
4721
+ return new k(
4675
4722
  void 0,
4676
4723
  e,
4677
4724
  void 0
4678
4725
  );
4679
4726
  }
4680
4727
  }
4681
- class Xt {
4728
+ class es {
4682
4729
  constructor(e = "down", t) {
4683
4730
  this.status = e, this.originalEvent = t;
4684
4731
  }
4685
4732
  }
4686
- class Yt {
4733
+ class ts {
4687
4734
  constructor(e, t, s, o, i = {}) {
4688
4735
  this.area = e, this.rowIndex = t, this.columnIndex = s, this.value = o, this.cssClasses = i;
4689
4736
  }
4690
4737
  }
4691
- class Kt {
4738
+ class ss {
4692
4739
  constructor() {
4693
4740
  this.autoRestoreSortingState = !1, this.autoRestoreCollapsedExpandedState = !1, this.autoRestoreScrollPosition = !1, this.autoRestoreCheckedState = !1, this.autoRestoreSelectedState = !1, this.getStorageKeyFn = void 0, this.isSame = (e, t, s) => {
4694
4741
  if (e && t && s.getRowId) {
@@ -4713,12 +4760,12 @@ class Kt {
4713
4760
  };
4714
4761
  }
4715
4762
  }
4716
- class tt {
4763
+ class it {
4717
4764
  constructor(e, t, s, o = !1, i = "normal", r = void 0) {
4718
4765
  this.data = e, this.property = t, this.toggle = s, this.closed = o, this.visibility = i, this.children = r, this.impl = "CellGroup";
4719
4766
  }
4720
4767
  }
4721
- class st extends tt {
4768
+ class rt extends it {
4722
4769
  constructor(e, t = 0, s = 0, o) {
4723
4770
  super(
4724
4771
  e.data,
@@ -4791,7 +4838,7 @@ class st extends tt {
4791
4838
  return e.parent && (t = t + 1 + this.getParentCount(e.parent, t)), t;
4792
4839
  }
4793
4840
  log(e = 10) {
4794
- const t = " ".substring(0, 2 * this.rowIndex), s = `${this.getColumnIndex()}`, o = `${this.getColumnCount(this)}`, i = `${this.getRowSpan(this, e)}`, r = `${this.getParentCount(this)}`, n = `${t + this.data}
4841
+ const t = " ".substring(0, 2 * this.rowIndex), s = `${this.getColumnIndex()}`, o = `${this.getColumnCount(this)}`, i = `${this.getRowSpan(this, e)}`, r = `${this.getParentCount(this)}`, l = `${t + this.data}
4795
4842
  childIndex:${this.childIndex}
4796
4843
  row:${this.rowIndex}
4797
4844
  col:${s}
@@ -4805,16 +4852,16 @@ class st extends tt {
4805
4852
  rowSpan:${i}
4806
4853
  pc:${r}`.replace(/[ \n]+/g, " ");
4807
4854
  if (this.children)
4808
- for (const l of this.children)
4809
- l.log(e);
4810
- return n;
4855
+ for (const n of this.children)
4856
+ n.log(e);
4857
+ return l;
4811
4858
  }
4812
4859
  }
4813
4860
  class T {
4814
4861
  static buildColumnDefs(e, t = []) {
4815
4862
  for (const s of e)
4816
4863
  s.property && t.push(
4817
- V.create({
4864
+ $.create({
4818
4865
  property: s.property,
4819
4866
  headerLabel: s.data ? s.data : s.property,
4820
4867
  isVisible: () => typeof s.isVisible == "function" ? s.isVisible() : !0
@@ -4843,8 +4890,8 @@ class T {
4843
4890
  static buildGroupExts(e, t = [], s = 0, o) {
4844
4891
  let i;
4845
4892
  for (let r = 0; r < e.length; r++) {
4846
- const n = e[r], l = new st(n, s, r, o);
4847
- i && (l.leftNeighbour = i, i.rightNeighbour = l), t.push(l), n.children && (l.children = T.buildGroupExts(n.children, [], s + 1, l)), i = l;
4893
+ const l = e[r], n = new rt(l, s, r, o);
4894
+ i && (n.leftNeighbour = i, i.rightNeighbour = n), t.push(n), l.children && (n.children = T.buildGroupExts(l.children, [], s + 1, n)), i = n;
4848
4895
  }
4849
4896
  return t;
4850
4897
  }
@@ -4866,15 +4913,15 @@ class T {
4866
4913
  for (const r of e) {
4867
4914
  if (r.rowIndex <= o) {
4868
4915
  s++;
4869
- for (let n = 0; n < t.length; n++)
4870
- t[n][s] = null;
4916
+ for (let l = 0; l < t.length; l++)
4917
+ t[l][s] = null;
4871
4918
  }
4872
4919
  if (t[r.rowIndex][s] = r, o = r.rowIndex, r.ownColumn() && ((i = r.children) != null && i.length)) {
4873
- for (let n = r.rowIndex + 1; n < t.length; n++)
4874
- t[n][s] = void 0;
4920
+ for (let l = r.rowIndex + 1; l < t.length; l++)
4921
+ t[l][s] = void 0;
4875
4922
  s++;
4876
- for (let n = 0; n < t.length; n++)
4877
- t[n][s] = null;
4923
+ for (let l = 0; l < t.length; l++)
4924
+ t[l][s] = null;
4878
4925
  }
4879
4926
  }
4880
4927
  return t;
@@ -4885,7 +4932,7 @@ class T {
4885
4932
  e.push(o.data + " rowIndex:" + o.rowIndex), (s = o.children) != null && s.length && T.iterateThrowColumns(e, o.children);
4886
4933
  }
4887
4934
  }
4888
- class qt {
4935
+ class os {
4889
4936
  constructor() {
4890
4937
  this.areaIdent = "body", this.rowSelectionModel = void 0;
4891
4938
  }
@@ -4955,17 +5002,17 @@ class qt {
4955
5002
  return !1;
4956
5003
  }
4957
5004
  }
4958
- const U = class U {
4959
- constructor(e = new se()) {
5005
+ const X = class X {
5006
+ constructor(e = new ie()) {
4960
5007
  this.headerGroupOptions = e;
4961
5008
  }
4962
- render(e, t, s, o, i, r, n) {
4963
- const l = r != null && r.data ? r.data : "";
5009
+ render(e, t, s, o, i, r, l) {
5010
+ const n = r != null && r.data ? r.data : "";
4964
5011
  if (r) {
4965
- const { toggle: a, visibility: c, closed: d } = r, u = a ? U.toggleHeaderGroup : "";
4966
- this.addText(e, o, t, s, l, u), a && c !== "always" && this.addArrowDiv(n, e, !d, t, s, o, u);
5012
+ const { toggle: c, visibility: a, closed: d } = r, u = c ? X.toggleHeaderGroup : "";
5013
+ this.addText(e, o, t, s, n, u), c && a !== "always" && this.addArrowDiv(l, e, !d, t, s, o, u);
4967
5014
  } else
4968
- this.addText(e, o, t, s, l, "");
5015
+ this.addText(e, o, t, s, n, "");
4969
5016
  }
4970
5017
  addText(e, t, s, o, i, r) {
4971
5018
  e.innerHTML = `<span
@@ -4975,30 +5022,30 @@ const U = class U {
4975
5022
  data-col-index="${o}"
4976
5023
  >${i}</span>`;
4977
5024
  }
4978
- addArrowDiv(e, t, s = !0, o = -1, i = -1, r = "header", n) {
4979
- const l = e.createElement("div");
4980
- e.addClass(l, "ge-table-toggle-icon-div"), e.setStyle(l, "display", "inline-block"), e.setStyle(l, "position", ""), e.setStyle(l, "width", "20px"), e.setStyle(l, "background", "transparent"), e.setStyle(l, "cursor", "pointer"), e.setAttribute(l, "data-row-index", `${o}`), e.setAttribute(l, "data-col-index", `${i}`), e.setAttribute(l, "data-area", `${r}`), e.setAttribute(l, "data-ge-action", `${n}`);
4981
- let a;
4982
- s ? a = this.headerGroupOptions.iconExpanded : a = this.headerGroupOptions.iconCollapsed;
4983
- const c = a.content, d = e.createText(c);
4984
- e.appendChild(l, d), a.style && this.applyStyleString(e, l, a.style);
4985
- for (const u of a.classes)
4986
- e.addClass(l, u);
4987
- return e.appendChild(t, l), l;
5025
+ addArrowDiv(e, t, s = !0, o = -1, i = -1, r = "header", l) {
5026
+ const n = e.createElement("div");
5027
+ e.addClass(n, "ge-table-toggle-icon-div"), e.setStyle(n, "display", "inline-block"), e.setStyle(n, "position", ""), e.setStyle(n, "width", "20px"), e.setStyle(n, "background", "transparent"), e.setStyle(n, "cursor", "pointer"), e.setAttribute(n, "data-row-index", `${o}`), e.setAttribute(n, "data-col-index", `${i}`), e.setAttribute(n, "data-area", `${r}`), e.setAttribute(n, "data-ge-action", `${l}`);
5028
+ let c;
5029
+ s ? c = this.headerGroupOptions.iconExpanded : c = this.headerGroupOptions.iconCollapsed;
5030
+ const a = c.content, d = e.createText(a);
5031
+ e.appendChild(n, d), c.style && this.applyStyleString(e, n, c.style);
5032
+ for (const u of c.classes)
5033
+ e.addClass(n, u);
5034
+ return e.appendChild(t, n), n;
4988
5035
  }
4989
5036
  applyStyleString(e, t, s) {
4990
5037
  const o = s.split(";").map((i) => i.trim()).filter((i) => i);
4991
5038
  for (const i of o) {
4992
- const [r, n] = i.split(":");
4993
- e.setStyle(t, r.trim(), n.trim());
5039
+ const [r, l] = i.split(":");
5040
+ e.setStyle(t, r.trim(), l.trim());
4994
5041
  }
4995
5042
  }
4996
5043
  };
4997
- U.toggleHeaderGroup = "toggleHeaderGroup";
4998
- let J = U;
4999
- class Jt {
5000
- constructor(e = "header", t, s = [], o, i = new se()) {
5001
- this.areaIdent = e, this.groups = t, this.columnDefs = s, this.defaultRowHeight = o, this.headerGroupOptions = i, this.gammaCells = !0, this.arr = [], this.groupExts = [], this.cellGroupExtCellRenderer = new J(this.headerGroupOptions), this.groupExts = T.buildGroupExts(t), this.init();
5044
+ X.toggleHeaderGroup = "toggleHeaderGroup";
5045
+ let Q = X;
5046
+ class is {
5047
+ constructor(e = "header", t, s = [], o, i = new ie()) {
5048
+ this.areaIdent = e, this.groups = t, this.columnDefs = s, this.defaultRowHeight = o, this.headerGroupOptions = i, this.gammaCells = !0, this.arr = [], this.groupExts = [], this.cellGroupExtCellRenderer = new Q(this.headerGroupOptions), this.groupExts = T.buildGroupExts(t), this.init();
5002
5049
  }
5003
5050
  init() {
5004
5051
  var e;
@@ -5096,24 +5143,24 @@ class Jt {
5096
5143
  return t != null && t.toggle && t.visibility !== "always" && (t.closed = !t.closed, this.init()), T.buildColumnDefs(this.groupExts);
5097
5144
  }
5098
5145
  }
5099
- class Zt {
5146
+ class rs {
5100
5147
  filterPredict(e, t, s = this.objectToString.bind(this)) {
5101
5148
  if (!e)
5102
5149
  return !1;
5103
5150
  if (!t)
5104
5151
  return !0;
5105
5152
  t = t.toLowerCase();
5106
- const o = "+", i = "-", r = t.toLowerCase().split(" ").filter((d) => d !== o && d !== i && d !== ""), n = r.filter((d) => !d.startsWith(o) && !d.startsWith(i)), l = r.filter((d) => d.startsWith(o)).map((d) => d.replace(/\+/g, "")), a = r.filter((d) => d.startsWith(i)).map((d) => d.replace(/-/g, ""));
5107
- let c = !n.length;
5108
- for (let d = 0; d < n.length; d++)
5109
- (c || s(e).includes(n[d])) && (c = !0);
5110
- if (!c)
5111
- return !1;
5153
+ const o = "+", i = "-", r = t.toLowerCase().split(" ").filter((d) => d !== o && d !== i && d !== ""), l = r.filter((d) => !d.startsWith(o) && !d.startsWith(i)), n = r.filter((d) => d.startsWith(o)).map((d) => d.replace(/\+/g, "")), c = r.filter((d) => d.startsWith(i)).map((d) => d.replace(/-/g, ""));
5154
+ let a = !l.length;
5112
5155
  for (let d = 0; d < l.length; d++)
5113
- if (!s(e).includes(l[d]))
5156
+ (a || s(e).includes(l[d])) && (a = !0);
5157
+ if (!a)
5158
+ return !1;
5159
+ for (let d = 0; d < n.length; d++)
5160
+ if (!s(e).includes(n[d]))
5114
5161
  return !1;
5115
- for (let d = 0; d < a.length; d++)
5116
- if (s(e).includes(a[d]))
5162
+ for (let d = 0; d < c.length; d++)
5163
+ if (s(e).includes(c[d]))
5117
5164
  return !1;
5118
5165
  return !0;
5119
5166
  }
@@ -5123,18 +5170,18 @@ class Zt {
5123
5170
  if (!t)
5124
5171
  return [...e];
5125
5172
  t = t.toLowerCase();
5126
- const o = "+", i = "-", r = t.toLowerCase().split(" ").filter((c) => c !== o && c !== i && c !== ""), n = r.filter((c) => !c.startsWith(o) && !c.startsWith(i)), l = r.filter((c) => c.startsWith(o)).map((c) => c.replace(/\+/g, "")), a = r.filter((c) => c.startsWith(i)).map((c) => c.replace(/-/g, ""));
5127
- return e == null ? void 0 : e.filter((c) => {
5128
- let d = !n.length;
5129
- for (let u = 0; u < n.length; u++)
5130
- (d || s(c).includes(n[u])) && (d = !0);
5173
+ const o = "+", i = "-", r = t.toLowerCase().split(" ").filter((a) => a !== o && a !== i && a !== ""), l = r.filter((a) => !a.startsWith(o) && !a.startsWith(i)), n = r.filter((a) => a.startsWith(o)).map((a) => a.replace(/\+/g, "")), c = r.filter((a) => a.startsWith(i)).map((a) => a.replace(/-/g, ""));
5174
+ return e == null ? void 0 : e.filter((a) => {
5175
+ let d = !l.length;
5176
+ for (let u = 0; u < l.length; u++)
5177
+ (d || s(a).includes(l[u])) && (d = !0);
5131
5178
  if (!d)
5132
5179
  return !1;
5133
- for (let u = 0; u < l.length; u++)
5134
- if (!s(c).includes(l[u]))
5180
+ for (let u = 0; u < n.length; u++)
5181
+ if (!s(a).includes(n[u]))
5135
5182
  return !1;
5136
- for (let u = 0; u < a.length; u++)
5137
- if (s(c).includes(a[u]))
5183
+ for (let u = 0; u < c.length; u++)
5184
+ if (s(a).includes(c[u]))
5138
5185
  return !1;
5139
5186
  return !0;
5140
5187
  });
@@ -5150,20 +5197,20 @@ class Zt {
5150
5197
  return t.join(" ").toLowerCase();
5151
5198
  }
5152
5199
  }
5153
- class Qt {
5200
+ class ns {
5154
5201
  static bodyRenderer(e) {
5155
- return new I(void 0, e, void 0);
5202
+ return new k(void 0, e, void 0);
5156
5203
  }
5157
5204
  }
5158
- class es {
5205
+ class ls {
5159
5206
  constructor(e, t = !0, s = !1) {
5160
5207
  this.property = e, this.skipCheckableCheck = t, this.readonly = s;
5161
5208
  }
5162
- render(e, t, s, o, i, r, n) {
5209
+ render(e, t, s, o, i, r, l) {
5163
5210
  if (this.readonly || this.skipCheckableCheck || i.isRowCheckable(t)) {
5164
- n.addClass(e, "ge-table-row-checkbox-div");
5165
- const l = i.getRowByIndex(t), c = i.getValueByT(l, this.property) === !0 ? "checked" : "", d = this.readonly ? " readonly " : "";
5166
- if (n.addClass(e, "ge-padding-property-checkbox"), e.innerHTML = `
5211
+ l.addClass(e, "ge-table-row-checkbox-div");
5212
+ const n = i.getRowByIndex(t), a = i.getValueByT(n, this.property) === !0 ? "checked" : "", d = this.readonly ? " readonly " : "";
5213
+ if (l.addClass(e, "ge-padding-property-checkbox"), e.innerHTML = `
5167
5214
  <input
5168
5215
  type="checkbox"
5169
5216
  data-area="${o}"
@@ -5171,21 +5218,21 @@ class es {
5171
5218
  data-col-index="${s}"
5172
5219
  data-property-index="${this.property}"
5173
5220
  data-input-type="checkbox"
5174
- ${c}
5221
+ ${a}
5175
5222
  ${d}
5176
5223
  class="ge-input-checkbox">`, !this.readonly) {
5177
5224
  const u = e.querySelector(".ge-input-checkbox");
5178
- u && u.addEventListener("click", (f, p) => (l[this.property] = !l[this.property], !0));
5225
+ u && u.addEventListener("click", (f, p) => (n[this.property] = !n[this.property], !0));
5179
5226
  }
5180
5227
  }
5181
5228
  }
5182
5229
  }
5183
- class ts {
5184
- render(e, t, s, o, i, r, n) {
5230
+ class as {
5231
+ render(e, t, s, o, i, r, l) {
5185
5232
  r && (e.innerText = new Date(r).toISOString());
5186
5233
  }
5187
5234
  }
5188
- class ss {
5235
+ class cs {
5189
5236
  constructor() {
5190
5237
  this.formatter = new Intl.DateTimeFormat("de-DE", {
5191
5238
  year: "numeric",
@@ -5193,44 +5240,44 @@ class ss {
5193
5240
  day: "2-digit"
5194
5241
  });
5195
5242
  }
5196
- render(e, t, s, o, i, r, n) {
5243
+ render(e, t, s, o, i, r, l) {
5197
5244
  if (r) {
5198
- let l = "";
5245
+ let n = "";
5199
5246
  try {
5200
- l = this.formatter.format(new Date(r));
5247
+ n = this.formatter.format(new Date(r));
5201
5248
  } catch {
5202
- l = r;
5249
+ n = r;
5203
5250
  }
5204
5251
  e.innerHTML = `
5205
5252
  <div class="ge-table-label-div" data-row-index="${t}" data-col-index="${s}" data-area="${o}" style="position: relative; background: transparent; width: 100%; height: 100%;">
5206
- <div class="ge-table-label" data-row-index="${t}" data-col-index="${s}" data-area="${o}">${l}</div>
5253
+ <div class="ge-table-label" data-row-index="${t}" data-col-index="${s}" data-area="${o}">${n}</div>
5207
5254
  </div>`;
5208
5255
  }
5209
5256
  }
5210
5257
  }
5211
- class os {
5212
- render(e, t, s, o, i, r, n) {
5258
+ class ds {
5259
+ render(e, t, s, o, i, r, l) {
5213
5260
  r && (e.innerText = new Date(r).toLocaleDateString());
5214
5261
  }
5215
5262
  }
5216
- class is {
5217
- render(e, t, s, o, i, r, n) {
5263
+ class hs {
5264
+ render(e, t, s, o, i, r, l) {
5218
5265
  r === "male" || r === "m" ? e.innerText = "♂" : (r === "female" || r === "f") && (e.innerText = "♀");
5219
5266
  }
5220
5267
  }
5221
- class rs {
5268
+ class us {
5222
5269
  constructor(e = 100, t = !1) {
5223
5270
  this.maxValue = e, this.labelVisible = t;
5224
5271
  }
5225
- render(e, t, s, o, i, r, n) {
5226
- if (n.addClass(e, "ge-progressbar-div"), !isNaN(r)) {
5227
- const a = Number(r) * 100 / this.maxValue, c = this.labelVisible ? Math.round(a) + "%" : "";
5272
+ render(e, t, s, o, i, r, l) {
5273
+ if (l.addClass(e, "ge-progressbar-div"), !isNaN(r)) {
5274
+ const c = Number(r) * 100 / this.maxValue, a = this.labelVisible ? Math.round(c) + "%" : "";
5228
5275
  e.innerHTML = `
5229
5276
  <div class="ge-table-label-div"
5230
5277
  data-row-index="${t}"
5231
5278
  data-col-index="${s}"
5232
5279
  data-area="${o}"
5233
- title="${c}"
5280
+ title="${a}"
5234
5281
  style="position: relative; background: transparent; width: 100%; height: 100%;">
5235
5282
  <div class="ge-table-progress-container"
5236
5283
  style="width:100%;height:50%;padding:0;margin-top:6px;"
@@ -5238,7 +5285,7 @@ class rs {
5238
5285
  data-col-index="${s}"
5239
5286
  data-area="${o}">
5240
5287
  <div class="ge-table-progress-bar"
5241
- style="width:${a}%;height:100%;padding:0;margin:0;"
5288
+ style="width:${c}%;height:100%;padding:0;margin:0;"
5242
5289
  data-row-index="${t}"
5243
5290
  data-col-index="${s}"
5244
5291
  data-area="${o}">&nbsp;
@@ -5248,36 +5295,36 @@ class rs {
5248
5295
  }
5249
5296
  }
5250
5297
  }
5251
- class ls {
5252
- render(e, t, s, o, i, r, n) {
5298
+ class gs {
5299
+ render(e, t, s, o, i, r, l) {
5253
5300
  r === "true" || r === !0 ? e.innerHTML = '<span class="ge-true-text-color">✅</span>' : r === "false" || r === !1 ? e.innerHTML = '<span class="ge-false-text-color">❌</span>' : e.innerText = "";
5254
5301
  }
5255
5302
  }
5256
- class ns {
5257
- render(e, t, s, o, i, r, n) {
5303
+ class ps {
5304
+ render(e, t, s, o, i, r, l) {
5258
5305
  r && (e.innerText = new Date(r).toISOString().replace(/T/g, " ").replace(/\..*/g, ""));
5259
5306
  }
5260
5307
  }
5261
- class as {
5308
+ class fs {
5262
5309
  constructor(e = Number.MIN_SAFE_INTEGER, t = Number.MAX_SAFE_INTEGER) {
5263
5310
  this.min = e, this.max = t;
5264
5311
  }
5265
- render(e, t, s, o, i, r, n) {
5266
- r && (e.innerText = r, (typeof r == "string" || isNaN(r) || r < this.min || r > this.max) && n.addClass(e, "ge-cell-error"));
5312
+ render(e, t, s, o, i, r, l) {
5313
+ r && (e.innerText = r, (typeof r == "string" || isNaN(r) || r < this.min || r > this.max) && l.addClass(e, "ge-cell-error"));
5267
5314
  }
5268
5315
  }
5269
- class cs {
5316
+ class ms {
5270
5317
  constructor(e) {
5271
5318
  this.property = e;
5272
5319
  }
5273
- render(e, t, s, o, i, r, n) {
5274
- n.addClass(e, "ge-star-rating-div");
5275
- const l = i.getRowByIndex(t), a = +("" + i.getValueByT(l, this.property));
5276
- if (!isNaN(a)) {
5277
- const c = [];
5278
- for (let u = 0; u < a; u++)
5279
- c.push("★");
5280
- const d = c.join(" ");
5320
+ render(e, t, s, o, i, r, l) {
5321
+ l.addClass(e, "ge-star-rating-div");
5322
+ const n = i.getRowByIndex(t), c = +("" + i.getValueByT(n, this.property));
5323
+ if (!isNaN(c)) {
5324
+ const a = [];
5325
+ for (let u = 0; u < c; u++)
5326
+ a.push("★");
5327
+ const d = a.join(" ");
5281
5328
  e.innerHTML = `
5282
5329
  <div class="ge-table-label-div" data-row-index="${t}" data-col-index="${s}" data-area="${o}" style="position: relative; background: transparent; width: 100%; height: 100%;">
5283
5330
  <div class="ge-table-label" data-row-index="${t}" data-col-index="${s}" data-area="${o}">${d}</div>
@@ -5285,15 +5332,15 @@ class cs {
5285
5332
  }
5286
5333
  }
5287
5334
  }
5288
- class ds {
5335
+ class bs {
5289
5336
  constructor(e, t = 100, s = !1) {
5290
5337
  this.property = e, this.maxValue = t, this.labelVisible = s;
5291
5338
  }
5292
- render(e, t, s, o, i, r, n) {
5293
- n.addClass(e, "ge-star-rating-div");
5294
- const l = i.getRowByIndex(t), a = +("" + i.getValueByT(l, this.property));
5295
- if (!isNaN(a)) {
5296
- const c = a * 100 / this.maxValue, d = this.labelVisible ? Math.round(c) + "%" : "";
5339
+ render(e, t, s, o, i, r, l) {
5340
+ l.addClass(e, "ge-star-rating-div");
5341
+ const n = i.getRowByIndex(t), c = +("" + i.getValueByT(n, this.property));
5342
+ if (!isNaN(c)) {
5343
+ const a = c * 100 / this.maxValue, d = this.labelVisible ? Math.round(a) + "%" : "";
5297
5344
  e.innerHTML = `
5298
5345
  <div class="ge-table-label-div"
5299
5346
  data-row-index="${t}"
@@ -5307,7 +5354,7 @@ class ds {
5307
5354
  data-col-index="${s}"
5308
5355
  data-area="${o}">
5309
5356
  <div class="ge-table-progress-bar"
5310
- style="width:${c}%;height:100%;padding:0;margin:0;"
5357
+ style="width:${a}%;height:100%;padding:0;margin:0;"
5311
5358
  data-row-index="${t}"
5312
5359
  data-col-index="${s}"
5313
5360
  data-area="${o}">&nbsp;
@@ -5317,8 +5364,8 @@ class ds {
5317
5364
  }
5318
5365
  }
5319
5366
  }
5320
- class hs {
5321
- render(e, t, s, o, i, r, n) {
5367
+ class xs {
5368
+ render(e, t, s, o, i, r, l) {
5322
5369
  if (r) {
5323
5370
  e.innerHTML = `
5324
5371
  <div
@@ -5332,37 +5379,112 @@ class hs {
5332
5379
  data-row-index="${t}"
5333
5380
  data-col-index="${s}"
5334
5381
  data-area="${o}">${r}</div></div>`;
5335
- const l = Number(r);
5336
- l > 0 ? n.addClass(e, "ge-positive-text-color") : l < 0 && n.addClass(e, "ge-negative-text-color");
5382
+ const n = Number(r);
5383
+ n > 0 ? l.addClass(e, "ge-positive-text-color") : n < 0 && l.addClass(e, "ge-negative-text-color");
5384
+ }
5385
+ }
5386
+ }
5387
+ class nt {
5388
+ constructor(e, t, s, o, i, r) {
5389
+ this.action = e, this.area = t, this.areaModel = s, this.rowIndex = o, this.columnIndex = i, this.id = r;
5390
+ }
5391
+ }
5392
+ class _ {
5393
+ constructor(e, t, s = "", o = "", i = "button", r = !0) {
5394
+ this.action = e, this.label = t, this.icon = s, this.elementClass = o, this.elementType = i, this.enabled = r;
5395
+ }
5396
+ }
5397
+ class lt {
5398
+ constructor(e, t) {
5399
+ this.actionEventListener = e, this.crudActions = t;
5400
+ }
5401
+ render(e, t, s, o, i, r, l) {
5402
+ l.addClass(e, "ge-table-row-action-div");
5403
+ const n = r, a = this.getCrudActions(r).map(
5404
+ (d) => d.elementType === "button" ? this.buildButtonHtml(d, o, t, s, n) : this.buildLinkHtml(d, o, t, s, n)
5405
+ );
5406
+ e.innerHTML = a.join(""), this.addClickEventListeners(e, o, i);
5407
+ }
5408
+ buildButtonHtml(e, t, s, o, i) {
5409
+ const r = e.enabled ? 'data-listen="click"' : "disabled";
5410
+ return `
5411
+ <button
5412
+ type="button"
5413
+ data-area="${t}"
5414
+ data-action="${e.action}"
5415
+ data-id="${i}"
5416
+ data-row-index="${s}"
5417
+ data-col-index="${o}"
5418
+ style="height: 100%;line-height: 1;"
5419
+ ${r}
5420
+ class="ge-table-cell-action ge-table-cell-button ${e.elementClass}">
5421
+ ${e.label}
5422
+ </button>`;
5423
+ }
5424
+ buildLinkHtml(e, t, s, o, i) {
5425
+ const r = e.enabled ? 'data-listen="click"' : "disabled";
5426
+ return `
5427
+ <a
5428
+ href="javascript:void(0)"
5429
+ data-area="${t}"
5430
+ data-action="${e.action}"
5431
+ data-id="${i}"
5432
+ data-row-index="${s}"
5433
+ data-col-index="${o}"
5434
+ ${r}
5435
+ class="ge-table-cell-action ge-table-cell-link ${e.elementClass}">
5436
+ ${e.label}
5437
+ </a>`;
5438
+ }
5439
+ addClickEventListeners(e, t, s) {
5440
+ e.querySelectorAll(".ge-table-cell-action").forEach((i) => {
5441
+ i.addEventListener("click", (r) => {
5442
+ const l = r.target;
5443
+ if (l) {
5444
+ const n = this.createActionEvent(l, s);
5445
+ n && this.actionEventListener.onActionEvent(n);
5446
+ }
5447
+ });
5448
+ });
5449
+ }
5450
+ createActionEvent(e, t) {
5451
+ const s = e.getAttribute("data-area"), o = e.getAttribute("data-row-index"), i = e.getAttribute("data-col-index"), r = e.getAttribute("data-action") ?? "unknown", l = e.getAttribute("data-id") ?? "unknown";
5452
+ if (s && o && i) {
5453
+ const n = Y(s), c = Number(o), a = Number(i);
5454
+ return new nt(r, n, t, c, a, l);
5337
5455
  }
5456
+ return null;
5457
+ }
5458
+ getCrudActions(e) {
5459
+ return Array.isArray(e) && e.every((t) => t instanceof _) ? e : this.crudActions;
5338
5460
  }
5339
5461
  }
5340
- const us = function(h, e, t) {
5462
+ const ws = function(h, e, t) {
5341
5463
  return h ? Number(h) : "";
5342
5464
  };
5343
- class ye {
5465
+ class Ce {
5344
5466
  constructor(e) {
5345
5467
  this.options = e;
5346
5468
  }
5347
5469
  static create(e) {
5348
- return new ye(
5349
- e.map((t) => new et(t, t))
5470
+ return new Ce(
5471
+ e.map((t) => new ot(t, t))
5350
5472
  );
5351
5473
  }
5352
- render(e, t, s, o, i, r, n) {
5474
+ render(e, t, s, o, i, r, l) {
5353
5475
  if (i.isEditable(t, s)) {
5354
- n.addClass(e, "ge-table-row-select-div");
5355
- const l = i.getValueAt(t, s);
5356
- let a = [];
5476
+ l.addClass(e, "ge-table-row-select-div");
5477
+ const n = i.getValueAt(t, s);
5478
+ let c = [];
5357
5479
  for (let d of this.options) {
5358
- const u = d.value === l ? " selected " : "";
5359
- a.push(`<option value="${d.value}" ${u}>${d.label}</option>`);
5480
+ const u = d.value === n ? " selected " : "";
5481
+ c.push(`<option value="${d.value}" ${u}>${d.label}</option>`);
5360
5482
  }
5361
- const c = a.join("");
5483
+ const a = c.join("");
5362
5484
  e.innerHTML = `
5363
5485
  <select
5364
5486
  type="text"
5365
- value="${l}"
5487
+ value="${n}"
5366
5488
  autofocus
5367
5489
  data-listen="change"
5368
5490
  data-area="${o}"
@@ -5370,11 +5492,11 @@ class ye {
5370
5492
  data-col-index="${s}"
5371
5493
  data-input-type="text"
5372
5494
  style="width:100%;height:100%;border:0;padding:0 0 0 8px;"
5373
- class="ge-table-cell-editor-select">${c}</select>`;
5495
+ class="ge-table-cell-editor-select">${a}</select>`;
5374
5496
  }
5375
5497
  }
5376
5498
  }
5377
- class gs extends xe {
5499
+ class Ss extends oe {
5378
5500
  constructor(e) {
5379
5501
  super("row", "multi"), this.model = e;
5380
5502
  }
@@ -5394,7 +5516,7 @@ class gs extends xe {
5394
5516
  * @param {number} rowIndex - The index of the row to be selected.
5395
5517
  */
5396
5518
  selectRow(e) {
5397
- this.addRange(A.singleRow(e));
5519
+ this.addRange(R.singleRow(e));
5398
5520
  }
5399
5521
  /**
5400
5522
  * Unselects the specified row.
@@ -5403,7 +5525,7 @@ class gs extends xe {
5403
5525
  * @return {void}
5404
5526
  */
5405
5527
  unselectRow(e) {
5406
- this.removeSelection(A.singleRow(e));
5528
+ this.removeSelection(R.singleRow(e));
5407
5529
  }
5408
5530
  /**
5409
5531
  * Toggles the selection of items based on current selection state.
@@ -5457,172 +5579,335 @@ class gs extends xe {
5457
5579
  this.isSelected(e, 0) ? this.unselectRow(e) : this.selectRow(e);
5458
5580
  }
5459
5581
  }
5460
- class ps {
5582
+ class ys {
5461
5583
  constructor(e, t, s) {
5462
5584
  this.r = e, this.g = t, this.b = s;
5463
5585
  }
5464
5586
  }
5465
- class fe {
5587
+ class be {
5466
5588
  constructor(e, t, s, o) {
5467
5589
  this.minValue = e, this.minColor = t, this.maxValue = s, this.maxColor = o;
5468
5590
  }
5469
5591
  }
5470
- class N {
5592
+ class G {
5471
5593
  static normalize(e, t, s, o = 0, i = 1) {
5472
5594
  return (e - t) / (s - t) * (i - o) + o;
5473
5595
  }
5474
5596
  static getTwoColorGradientRGB(e, t) {
5475
- const s = N.normalize(e, t.minValue, t.maxValue, 0, 1), o = t.maxColor.r - t.minColor.r, i = t.maxColor.g - t.minColor.g, r = t.maxColor.b - t.minColor.b, n = o * s + t.minColor.r, l = i * s + t.minColor.g, a = r * s + t.minColor.b;
5476
- return `rgb(${Math.round(n)}, ${Math.round(l)}, ${Math.round(a)})`;
5597
+ const s = G.normalize(e, t.minValue, t.maxValue, 0, 1), o = t.maxColor.r - t.minColor.r, i = t.maxColor.g - t.minColor.g, r = t.maxColor.b - t.minColor.b, l = o * s + t.minColor.r, n = i * s + t.minColor.g, c = r * s + t.minColor.b;
5598
+ return `rgb(${Math.round(l)}, ${Math.round(n)}, ${Math.round(c)})`;
5477
5599
  }
5478
5600
  static getThreeColorGradientRGB(e, t) {
5479
- return e < t.middleValue ? N.getTwoColorGradientRGB(e, new fe(t.minValue, t.minColor, t.middleValue, t.middleColor)) : e > t.middleValue ? N.getTwoColorGradientRGB(e, new fe(t.middleValue, t.middleColor, t.maxValue, t.maxColor)) : `rgb(${t.middleColor.r}, ${t.middleColor.g}, ${t.middleColor.b})`;
5601
+ return e < t.middleValue ? G.getTwoColorGradientRGB(e, new be(t.minValue, t.minColor, t.middleValue, t.middleColor)) : e > t.middleValue ? G.getTwoColorGradientRGB(e, new be(t.middleValue, t.middleColor, t.maxValue, t.maxColor)) : `rgb(${t.middleColor.r}, ${t.middleColor.g}, ${t.middleColor.b})`;
5480
5602
  }
5481
5603
  }
5482
- class fs {
5604
+ class Cs {
5483
5605
  constructor(e, t, s, o, i, r) {
5484
5606
  this.minValue = e, this.minColor = t, this.middleValue = s, this.middleColor = o, this.maxValue = i, this.maxColor = r;
5485
5607
  }
5486
5608
  }
5609
+ class at {
5610
+ constructor(e = !0, t = !0, s = (r, l) => r * 10 + 10, o = 50, i = 450) {
5611
+ this.autoCalc = e, this.takeHeaderLabelsIntoAccount = t, this.charCountToWidth = s, this.minWidth = o, this.maxWidth = i;
5612
+ }
5613
+ }
5614
+ class ct {
5615
+ constructor() {
5616
+ this.urls = {
5617
+ list: {
5618
+ url: "",
5619
+ method: "GET"
5620
+ }
5621
+ }, this.singleRowActions = [
5622
+ new _("VIEW", "View", "", "", "link"),
5623
+ new _("EDIT", "Edit", "", "", "link"),
5624
+ new _("CLONE", "Clone", "", "", "link"),
5625
+ new _("DELETE", "Delete", "", "", "link")
5626
+ ], this.tableActions = [
5627
+ new _("CREATE", "Create", "", "", "button"),
5628
+ new _("DELETE_SELECTED", "Delete Selected", "", "", "button")
5629
+ ], this.autoAddActionColumn = !0, this.columnWidths = new at(), this.calcFixedRightColumnCount = (e) => e > 6 ? 1 : 0, this.getHeadersInit = () => ({}), this.getIdByObject = (e) => "id" in e ? e.id : e, this.fetchList = (e) => {
5630
+ const t = e.getHeadersInit ? e.getHeadersInit() : {};
5631
+ let s = e.urls.list.url, o = e.urls.list.method ?? "GET";
5632
+ return fetch(s, {
5633
+ headers: t,
5634
+ method: o
5635
+ }).then((i) => i.json());
5636
+ }, this.fetchItem = (e, t) => {
5637
+ var r, l;
5638
+ const s = e.getHeadersInit ? e.getHeadersInit() : {};
5639
+ let o = ((r = e.urls.read) == null ? void 0 : r.url) ?? "";
5640
+ o = o.replace("{id}", t);
5641
+ let i = ((l = e.urls.read) == null ? void 0 : l.method) ?? "GET";
5642
+ return fetch(o, {
5643
+ headers: s,
5644
+ method: i
5645
+ }).then((n) => n.json());
5646
+ }, this.deleteItem = (e, t) => {
5647
+ var r, l;
5648
+ const s = e.getHeadersInit ? e.getHeadersInit() : {};
5649
+ let o = ((r = e.urls.delete) == null ? void 0 : r.url) ?? "";
5650
+ o = o.replace("{id}", t);
5651
+ let i = ((l = e.urls.delete) == null ? void 0 : l.method) ?? "GET";
5652
+ return fetch(o, {
5653
+ headers: s,
5654
+ method: i
5655
+ }).then((n) => n.json());
5656
+ }, this.getId = (e) => e.id;
5657
+ }
5658
+ }
5659
+ class vs {
5660
+ constructor() {
5661
+ this.crudOptions = new ct(), this.listenActionEvent = (e) => {
5662
+ };
5663
+ }
5664
+ createTableModel(e, t, s = (i) => {
5665
+ }, o = (i) => {
5666
+ }) {
5667
+ this.crudOptions = e, this.listenActionEvent = o, e.fetchList(e).then((i) => {
5668
+ var r, l;
5669
+ if (t.rows = i, i != null && i.length) {
5670
+ const n = this.extractProperties(i[0]), c = new oe("row", "multi"), a = () => c;
5671
+ this.tableOptions = {
5672
+ ...new z(),
5673
+ ...t.tableOptions,
5674
+ hoverColumnVisible: !1,
5675
+ getSelectionModel: a
5676
+ };
5677
+ const d = this.calcAutoColumnWidths(i, n), u = (r = t.columnDefs) != null && r.length ? t.columnDefs : n.map((g, b) => new $(g, g.toUpperCase(), new x(d[b], "px")));
5678
+ if (e.autoAddActionColumn) {
5679
+ let g = new $(
5680
+ "id",
5681
+ "Actions",
5682
+ Je,
5683
+ new k(["ge-table-text-align-left"], ["ge-table-text-align-left ge-table-actions-cell"], void 0)
5684
+ );
5685
+ g.rendererMap = new k(
5686
+ void 0,
5687
+ new lt(this, e.singleRowActions),
5688
+ void 0
5689
+ ), u.push(g);
5690
+ }
5691
+ const f = 0, p = e.calcFixedRightColumnCount(u.length);
5692
+ this.tableModel = O.buildByTypedRowsParam({
5693
+ rows: i,
5694
+ columnDefs: u,
5695
+ tableOptions: this.tableOptions,
5696
+ fixedLeftColumnCount: f,
5697
+ fixedRightColumnCount: p
5698
+ }), this.tableModel.getSelectionModel = a, this.bodyModel = (l = this.tableModel) == null ? void 0 : l.getBodyModel();
5699
+ const m = new tt(this.tableModel, this.tableOptions);
5700
+ s(m);
5701
+ }
5702
+ });
5703
+ }
5704
+ onActionEvent(e) {
5705
+ var t, s;
5706
+ if (this.listenActionEvent && this.listenActionEvent(e), e.action === "VIEW") {
5707
+ let o = e.id;
5708
+ (t = this.crudOptions) == null || t.fetchItem(this.crudOptions, o).then((i) => (console.info(i), i));
5709
+ } else if (e.action === "DELETE") {
5710
+ let o = e.id;
5711
+ (s = this.crudOptions) == null || s.deleteItem(this.crudOptions, o).then((i) => {
5712
+ var r, l, n, c, a;
5713
+ return (r = this.bodyModel) == null || r.filterRowsByPredict((d) => d.id != o), (n = (l = this.tableModel) == null ? void 0 : l.getTableScope()) == null || n.clearSelection(!0), (a = (c = this.tableModel) == null ? void 0 : c.getTableScope()) == null || a.repaintHard(), i;
5714
+ });
5715
+ }
5716
+ }
5717
+ calcAutoColumnWidths(e, t, s = t) {
5718
+ var c;
5719
+ const o = t.length;
5720
+ if (!((c = this.crudOptions.columnWidths) != null && c.autoCalc))
5721
+ return new Array(o).fill(200);
5722
+ const i = e.length ?? 0, r = new Array(o).fill(0);
5723
+ for (let a = 0; a < i; a++)
5724
+ for (let d = 0; d < o; d++) {
5725
+ const u = t[d], f = this.getValueByT(e[a], u), p = (f == null ? void 0 : f.toString().length) || 0;
5726
+ p > r[d] && (r[d] = p);
5727
+ }
5728
+ if (this.crudOptions.columnWidths.takeHeaderLabelsIntoAccount)
5729
+ for (let a = 0; a < o; a++) {
5730
+ const d = s[a].length || 0;
5731
+ d > r[a] && (r[a] = d);
5732
+ }
5733
+ const l = this.crudOptions.columnWidths.minWidth, n = this.crudOptions.columnWidths.maxWidth;
5734
+ return r.map((a, d) => Math.min(
5735
+ n,
5736
+ Math.max(
5737
+ this.crudOptions.columnWidths.charCountToWidth(a, d),
5738
+ l
5739
+ )
5740
+ ));
5741
+ }
5742
+ getValueByT(e, t) {
5743
+ return t.includes(".") ? this.getPropertyValue(e, t.split(".")) : e[t];
5744
+ }
5745
+ getPropertyValue(e, t) {
5746
+ const s = t.shift(), o = e[s];
5747
+ return o && t.length ? this.getPropertyValue(o, t) : o;
5748
+ }
5749
+ extractProperties(e, t = "", s = []) {
5750
+ for (const o in e)
5751
+ if (e.hasOwnProperty(o)) {
5752
+ const i = t ? `${t}.${o}` : o;
5753
+ typeof e[o] == "object" && e[o] !== null && !Array.isArray(e[o]) ? this.extractProperties(e[o], i, s) : s.push(i);
5754
+ }
5755
+ return s;
5756
+ }
5757
+ }
5758
+ class As {
5759
+ constructor(e, t) {
5760
+ this.method = e, this.url = t;
5761
+ }
5762
+ }
5487
5763
  export {
5488
- oe as AbstractAreaModel,
5489
- jt as AreaMapFactory,
5490
- qt as AreaModel,
5764
+ re as AbstractAreaModel,
5765
+ nt as ActionEvent,
5766
+ lt as ActionsCellRenderer,
5767
+ Qt as AreaMapFactory,
5768
+ os as AreaModel,
5491
5769
  D as AreaModelArrayOfArrays,
5492
- Jt as AreaModelCellGroups,
5770
+ is as AreaModelCellGroups,
5493
5771
  F as AreaModelHidden,
5494
- Ze as AreaModelObjectArray,
5495
- ge as AreaModelObjectArrayWithColumndefs,
5496
- de as AreaModelTree,
5497
- I as AreaObjectMap,
5498
- Kt as AutoRestoreOptions,
5499
- it as AvoidDoubleExecution,
5500
- tt as CellGroup,
5501
- st as CellGroupExt,
5502
- J as CellGroupExtCellRenderer,
5503
- A as CellRange,
5772
+ et as AreaModelObjectArray,
5773
+ fe as AreaModelObjectArrayWithColumndefs,
5774
+ ue as AreaModelTree,
5775
+ k as AreaObjectMap,
5776
+ ss as AutoRestoreOptions,
5777
+ ht as AvoidDoubleExecution,
5778
+ it as CellGroup,
5779
+ rt as CellGroupExt,
5780
+ Q as CellGroupExtCellRenderer,
5781
+ R as CellRange,
5504
5782
  T as CellgroupFactory,
5505
- es as CheckboxBooleanPropertyCellRenderer,
5506
- pe as CheckboxCellRenderer,
5507
- Ut as CheckboxColumnDef,
5508
- Je as CheckboxModel,
5509
- Bt as ChunkData,
5510
- Le as ColAndRowspanModel,
5511
- ke as CollapsedExpandedData,
5512
- ps as ColorRgb,
5513
- V as ColumnDef,
5783
+ ls as CheckboxBooleanPropertyCellRenderer,
5784
+ me as CheckboxCellRenderer,
5785
+ Zt as CheckboxColumnDef,
5786
+ Qe as CheckboxModel,
5787
+ zt as ChunkData,
5788
+ Pe as ColAndRowspanModel,
5789
+ Ie as CollapsedExpandedData,
5790
+ ys as ColorRgb,
5791
+ $ as ColumnDef,
5792
+ at as ColumnWidths,
5514
5793
  Re as ConvenienceDomService,
5515
- G as CopyService,
5516
- le as CssVars,
5517
- ss as DateToIntlDDMMYYYYCellRenderer,
5518
- ts as DateToIsoCellRenderer,
5519
- os as DateToLocaleDateCellRenderer,
5520
- ns as DateToTecCellRenderer,
5521
- H as DefaultRowHeights,
5522
- Fe as EleScope,
5523
- re as EventAdapter,
5524
- Ye as ExcelService,
5525
- ae as FalseFn,
5526
- ze as FocusModel,
5794
+ U as CopyService,
5795
+ _ as CrudAction,
5796
+ ct as CrudOptions,
5797
+ vs as CrudTableModelFactory,
5798
+ ae as CssVars,
5799
+ cs as DateToIntlDDMMYYYYCellRenderer,
5800
+ as as DateToIsoCellRenderer,
5801
+ ds as DateToLocaleDateCellRenderer,
5802
+ ps as DateToTecCellRenderer,
5803
+ V as DefaultRowHeights,
5804
+ Le as EleScope,
5805
+ le as EventAdapter,
5806
+ Ke as ExcelService,
5807
+ de as FalseFn,
5808
+ Ue as FocusModel,
5527
5809
  Be as GeCellIndices,
5528
- N as GeCssColorUtil,
5529
- Zt as GeFilterService,
5530
- Xt as GeKeyEvent,
5531
- te as GeModelChangeEvent,
5532
- Z as GeMouseEvent,
5810
+ G as GeCssColorUtil,
5811
+ rs as GeFilterService,
5812
+ es as GeKeyEvent,
5813
+ se as GeModelChangeEvent,
5814
+ ee as GeMouseEvent,
5533
5815
  L as GeoData,
5534
5816
  P as Icon,
5535
- $t as IndexAndPx,
5536
- Ge as InputCellRenderer,
5537
- Oe as InputHandler,
5538
- O as LicenseManager,
5539
- is as MaleFemaleToIconCellRenderer,
5540
- Ee as MouseHandler,
5541
- Ae as MouseTargetData,
5542
- gs as MultiRowsSelectionModel,
5543
- rs as NumberCellProgressBarCellRenderer,
5544
- as as NumberCellRenderer,
5817
+ Ut as IndexAndPx,
5818
+ ze as InputCellRenderer,
5819
+ $e as InputHandler,
5820
+ B as LicenseManager,
5821
+ hs as MaleFemaleToIconCellRenderer,
5822
+ Me as MouseHandler,
5823
+ Ee as MouseTargetData,
5824
+ Ss as MultiRowsSelectionModel,
5825
+ us as NumberCellProgressBarCellRenderer,
5826
+ fs as NumberCellRenderer,
5545
5827
  Ve as OsxShortcutActionIdMapping,
5546
- ue as Padding,
5547
- hs as PositiveAndNegativeNumberRenderer,
5548
- ds as ProgressBarCellRenderer,
5549
- Pe as RenderScope,
5550
- Qt as Renderer,
5551
- Qe as RequestChunk,
5552
- Xe as ResizeHandler,
5553
- ye as SelectCellRenderer,
5554
- xe as SelectionModel,
5555
- $e as SelectionService,
5556
- We as ShortcutService,
5557
- Ne as SimpleDomService,
5828
+ pe as Padding,
5829
+ xs as PositiveAndNegativeNumberRenderer,
5830
+ bs as ProgressBarCellRenderer,
5831
+ _e as RenderScope,
5832
+ ns as Renderer,
5833
+ st as RequestChunk,
5834
+ Ye as ResizeHandler,
5835
+ Ce as SelectCellRenderer,
5836
+ oe as SelectionModel,
5837
+ He as SelectionService,
5838
+ Ne as ShortcutService,
5839
+ Ge as SimpleDomService,
5558
5840
  x as Size,
5559
- _e as SortItem,
5560
- be as SortedOptions,
5561
- cs as StarRatingCellRenderer,
5562
- Ie as StoreStateCollapsedExpandService,
5563
- Te as StoreStateScrollPosService,
5564
- De as StoreStateSortingService,
5565
- Me as TableApi,
5566
- Yt as TableCellUpdateEvent,
5567
- _ as TableFactory,
5568
- X as TableModel,
5569
- Ot as TableModelAndOptions,
5570
- K as TableOptions,
5571
- we as TableScope,
5572
- fs as ThreeColorGradientArg,
5573
- he as TreeCheckboxModel,
5574
- q as TreeFactory,
5575
- me as TreeOptions,
5576
- ne as TreeRow,
5577
- qe as TreeRowService,
5578
- ls as TrueFalseCellRenderer,
5579
- Ke as TrueFn,
5580
- fe as TwoColorGradientArg,
5581
- et as ValueLabel,
5582
- He as WindowsShortcutActionIdMapping,
5583
- _t as actionIds,
5584
- Gt as allCenter,
5585
- Nt as allLeft,
5586
- zt as allRight,
5587
- Vt as bodyCenter,
5588
- Ht as bodyLeft,
5589
- Wt as bodyRight,
5590
- Ce as debounce,
5591
- us as editInputPipeForNumber,
5592
- Q as getAreaIdentByString,
5593
- Y as isAreaModelTree,
5594
- ve as isCheckboxColumnDef,
5595
- $ as isTreeRow,
5596
- Pt as px0,
5597
- Lt as px10,
5598
- Rt as px100,
5599
- vt as px110,
5600
- Ct as px120,
5601
- yt as px130,
5602
- St as px140,
5603
- wt as px150,
5604
- xt as px160,
5605
- bt as px170,
5606
- mt as px180,
5607
- ft as px190,
5608
- Ft as px20,
5609
- ce as px200,
5610
- pt as px210,
5611
- gt as px220,
5612
- ut as px230,
5613
- ht as px240,
5614
- dt as px250,
5615
- ct as px260,
5616
- at as px270,
5617
- nt as px280,
5618
- lt as px290,
5619
- Dt as px30,
5620
- rt as px300,
5621
- It as px40,
5622
- kt as px50,
5623
- Tt as px60,
5624
- Mt as px70,
5625
- Et as px80,
5626
- At as px90,
5627
- ot as throttle
5841
+ Oe as SortItem,
5842
+ we as SortedOptions,
5843
+ ms as StarRatingCellRenderer,
5844
+ De as StoreStateCollapsedExpandService,
5845
+ ke as StoreStateScrollPosService,
5846
+ Fe as StoreStateSortingService,
5847
+ Te as TableApi,
5848
+ ts as TableCellUpdateEvent,
5849
+ O as TableFactory,
5850
+ q as TableModel,
5851
+ tt as TableModelAndOptions,
5852
+ z as TableOptions,
5853
+ Se as TableScope,
5854
+ Cs as ThreeColorGradientArg,
5855
+ ge as TreeCheckboxModel,
5856
+ Z as TreeFactory,
5857
+ xe as TreeOptions,
5858
+ ce as TreeRow,
5859
+ Ze as TreeRowService,
5860
+ gs as TrueFalseCellRenderer,
5861
+ qe as TrueFn,
5862
+ be as TwoColorGradientArg,
5863
+ As as UrlInfo,
5864
+ ot as ValueLabel,
5865
+ We as WindowsShortcutActionIdMapping,
5866
+ Gt as actionIds,
5867
+ qt as allCenter,
5868
+ Kt as allLeft,
5869
+ Jt as allRight,
5870
+ Xt as bodyCenter,
5871
+ jt as bodyLeft,
5872
+ Yt as bodyRight,
5873
+ ve as debounce,
5874
+ ws as editInputPipeForNumber,
5875
+ Y as getAreaIdentByString,
5876
+ J as isAreaModelTree,
5877
+ Ae as isCheckboxColumnDef,
5878
+ W as isTreeRow,
5879
+ Nt as px0,
5880
+ Vt as px10,
5881
+ Ft as px100,
5882
+ Dt as px110,
5883
+ It as px120,
5884
+ kt as px130,
5885
+ Tt as px140,
5886
+ Mt as px150,
5887
+ Et as px160,
5888
+ Rt as px170,
5889
+ At as px180,
5890
+ vt as px190,
5891
+ Wt as px20,
5892
+ he as px200,
5893
+ Ct as px210,
5894
+ yt as px220,
5895
+ St as px230,
5896
+ wt as px240,
5897
+ xt as px250,
5898
+ bt as px260,
5899
+ mt as px270,
5900
+ ft as px280,
5901
+ pt as px290,
5902
+ Ht as px30,
5903
+ Je as px300,
5904
+ Bt as px40,
5905
+ gt as px400,
5906
+ $t as px50,
5907
+ ut as px500,
5908
+ Ot as px60,
5909
+ _t as px70,
5910
+ Pt as px80,
5911
+ Lt as px90,
5912
+ dt as throttle
5628
5913
  };