@guiexpert/table 1.1.5 → 1.1.8

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,11 +1,11 @@
1
- class P {
1
+ class F {
2
2
  // The constructor is private to prevent direct construction calls
3
3
  // with the `new` operator
4
4
  constructor() {
5
5
  this.alreadySet = !1;
6
6
  }
7
7
  static getInstance() {
8
- return P.instance || (P.instance = new P()), P.instance;
8
+ return F.instance || (F.instance = new F()), F.instance;
9
9
  }
10
10
  /**
11
11
  * Method to set the license key for the application.
@@ -29,7 +29,7 @@ function O(h) {
29
29
  function z(h) {
30
30
  return h && h.type === "AreaModelTree";
31
31
  }
32
- function fe(h) {
32
+ function we(h) {
33
33
  return h && h.type === "CheckboxColumnDef";
34
34
  }
35
35
  class K {
@@ -52,25 +52,25 @@ class K {
52
52
  );
53
53
  }
54
54
  }
55
- class F {
55
+ class P {
56
56
  constructor(e = ">", t = "", o = []) {
57
57
  this.content = e, this.style = t, this.classes = o;
58
58
  }
59
59
  }
60
- class he {
61
- constructor(e = new F(
60
+ class ge {
61
+ constructor(e = new P(
62
62
  ">",
63
63
  "transform: rotate(90deg) translate(66%, -66%); transform-origin: 0 0;",
64
64
  ["gt-table-tree-arrow-expanded"]
65
- ), t = new F(
65
+ ), t = new P(
66
66
  ">",
67
67
  "",
68
68
  ["ge-table-tree-arrow-collapsed"]
69
- ), o = new F(
69
+ ), o = new P(
70
70
  ">",
71
71
  "color:transparent;",
72
72
  ["gt-table-tree-arrow-hidden"]
73
- ), s = new F(
73
+ ), s = new P(
74
74
  "↕",
75
75
  "",
76
76
  ["gt-table-tree-arrow-expanded-all"]
@@ -78,12 +78,12 @@ class he {
78
78
  this.arrowExpanded = e, this.arrowCollapsed = t, this.arrowPlaceholder = o, this.arrowExpandCollapseAll = s;
79
79
  }
80
80
  }
81
- class ce {
82
- constructor(e = new F("↑", "", ["ge-header-sorted-asc"]), t = new F("↓", "", ["ge-header-sorted-desc"]), o = new F("↑", "color:transparent;", [])) {
81
+ class be {
82
+ constructor(e = new P("↑", "", ["ge-header-sorted-asc"]), t = new P("↓", "", ["ge-header-sorted-desc"]), o = new P("↑", "color:transparent;", [])) {
83
83
  this.iconAsc = e, this.iconDesc = t, this.iconPlaceholder = o;
84
84
  }
85
85
  }
86
- class me {
86
+ class xe {
87
87
  constructor(e) {
88
88
  this.domService = e;
89
89
  }
@@ -171,8 +171,8 @@ class me {
171
171
  addColumnDiv(e, t, o = -1, s = -1, i, r, l = "", n, d, a = void 0, c) {
172
172
  const u = d == null ? void 0 : d.treeOptions, m = d == null ? void 0 : d.showCheckboxWihoutExtraColumn, b = this.domService.createElement("div");
173
173
  this.domService.addClass(b, "ge-table-col-div"), this.domService.addClass(b, `ge-table-col-div-${t.index}`), this.domService.setAttribute(b, "data-col-index", `${t.index}`), this.domService.setAttribute(b, "data-row-index", `${o}`), this.domService.setAttribute(b, "data-area", `${i}`);
174
- const w = ((t == null ? void 0 : t.index) ?? 0) % 2 === 0 ? "even" : "odd";
175
- if (i === "body" && r === "center" && this.domService.addClass(b, `ge-table-column-${w}`), this.domService.setStyle(b, "display", "clip"), this.domService.setStyle(b, "position", "absolute"), this.domService.setStyle(b, "left", `${t.left}px`), this.domService.setStyle(b, "top", `${t.top}px`), this.domService.setStyle(b, "width", `${t.width}px`), this.domService.setStyle(b, "height", `${t.height}px`), n && n !== "none" && (this.domService.addClass(b, "ge-table-col-tree"), this.addArrowDiv(b, n, u, o, s, i)), m && s === 0 && a && this.addCheckboxToDiv(b, a, i, o), l) {
174
+ const S = ((t == null ? void 0 : t.index) ?? 0) % 2 === 0 ? "even" : "odd";
175
+ if (i === "body" && r === "center" && this.domService.addClass(b, `ge-table-column-${S}`), this.domService.setStyle(b, "display", "clip"), this.domService.setStyle(b, "position", "absolute"), this.domService.setStyle(b, "left", `${t.left}px`), this.domService.setStyle(b, "top", `${t.top}px`), this.domService.setStyle(b, "width", `${t.width}px`), this.domService.setStyle(b, "height", `${t.height}px`), n && n !== "none" && (this.domService.addClass(b, "ge-table-col-tree"), this.addArrowDiv(b, n, u, o, s, i)), m && s === 0 && a && this.addCheckboxToDiv(b, a, i, o), l) {
176
176
  const g = n !== "none" && s === 0;
177
177
  this.addLabelDiv(b, l, g, o, s, i);
178
178
  }
@@ -203,7 +203,7 @@ class me {
203
203
  }
204
204
  return this.domService.appendChild(e, l), l;
205
205
  }
206
- addSortedIcon(e, t = "", o = new ce(), s = -1) {
206
+ addSortedIcon(e, t = "", o = new be(), s = -1) {
207
207
  const i = this.domService.createElement("div");
208
208
  this.domService.addClass(i, "ge-table-sorted-icon-div"), this.domService.setStyle(i, "position", "absolute"), this.domService.setStyle(i, "top", "0"), this.domService.setStyle(i, "right", "0"), this.domService.setStyle(i, "width", "20px"), this.domService.setStyle(i, "background", "transparent"), this.domService.setStyle(i, "cursor", "pointer"), this.domService.setAttribute(i, "data-col-index", `${s}`), this.domService.setAttribute(i, "data-area", "header");
209
209
  let r;
@@ -214,7 +214,7 @@ class me {
214
214
  this.domService.addClass(i, d);
215
215
  return this.domService.appendChild(e, i), i;
216
216
  }
217
- addArrowDiv(e, t = "none", o = new he(), s = -1, i = -1, r = "body") {
217
+ addArrowDiv(e, t = "none", o = new ge(), s = -1, i = -1, r = "body") {
218
218
  const l = this.domService.createElement("div");
219
219
  this.domService.addClass(l, "ge-table-tree-arrow-div"), this.domService.setStyle(l, "display", "inline-block"), this.domService.setStyle(l, "position", ""), this.domService.setStyle(l, "width", "20px"), this.domService.setStyle(l, "background", "transparent"), this.domService.setStyle(l, "cursor", "pointer"), this.domService.setAttribute(l, "data-row-index", `${s}`), this.domService.setAttribute(l, "data-col-index", `${i}`), this.domService.setAttribute(l, "data-area", `${r}`);
220
220
  let n;
@@ -241,8 +241,9 @@ class me {
241
241
  return this.domService.addClass(s, o), this.domService.setStyle(s, "display", "clip"), this.domService.setStyle(s, "position", "absolute"), this.domService.setStyle(s, "left", `${e.left}px`), this.domService.setStyle(s, "top", `${e.top}px`), this.domService.setStyle(s, "width", `${e.width}px`), this.domService.setStyle(s, "height", "1px"), this.domService.appendChild(t, s), s;
242
242
  }
243
243
  addFocusBorderDivs(e, t, o) {
244
+ t = { ...t, width: t.width + 1, height: t.height + 1 };
244
245
  let s = this.domService.createElement("div");
245
- return this.domService.addClass(s, "ge-table-focus-border"), this.domService.setStyle(s, "display", "clip"), this.domService.setStyle(s, "position", "absolute"), this.domService.setStyle(s, "left", `${t.left}px`), this.domService.setStyle(s, "top", `${t.top}px`), this.domService.setStyle(s, "width", "1px"), this.domService.setStyle(s, "height", `${t.height}px`), this.applyStyle(s, o), this.domService.appendChild(e, s), s = this.domService.createElement("div"), this.domService.addClass(s, "ge-table-focus-border"), this.domService.setStyle(s, "display", "clip"), this.domService.setStyle(s, "position", "absolute"), this.domService.setStyle(s, "left", `${t.left + t.width - 1}px`), this.domService.setStyle(s, "top", `${t.top}px`), this.domService.setStyle(s, "width", "1px"), this.domService.setStyle(s, "height", `${t.height}px`), this.applyStyle(s, o), this.domService.appendChild(e, s), s = this.domService.createElement("div"), this.domService.addClass(s, "ge-table-focus-border"), this.domService.setStyle(s, "display", "clip"), this.domService.setStyle(s, "position", "absolute"), this.domService.setStyle(s, "left", `${t.left}px`), this.domService.setStyle(s, "top", `${t.top}px`), this.domService.setStyle(s, "width", `${t.width}px`), this.domService.setStyle(s, "height", "1px"), this.applyStyle(s, o), this.domService.appendChild(e, s), s = this.domService.createElement("div"), this.domService.addClass(s, "ge-table-focus-border"), this.domService.setStyle(s, "display", "clip"), this.domService.setStyle(s, "position", "absolute"), this.domService.setStyle(s, "left", `${t.left}px`), this.domService.setStyle(s, "top", `${t.top + t.height - 1}px`), this.domService.setStyle(s, "width", `${t.width}px`), this.domService.setStyle(s, "height", "1px"), this.applyStyle(s, o), this.domService.appendChild(e, s), e;
246
+ return this.domService.addClass(s, "ge-table-focus-border"), this.domService.setStyle(s, "display", "clip"), this.domService.setStyle(s, "position", "absolute"), this.domService.setStyle(s, "left", `${t.left}px`), this.domService.setStyle(s, "top", `${t.top}px`), this.domService.setStyle(s, "width", "1px"), this.domService.setStyle(s, "height", `${t.height}px`), this.domService.setStyle(s, "z-index", "9999"), this.applyStyle(s, o), this.domService.appendChild(e, s), s = this.domService.createElement("div"), this.domService.addClass(s, "ge-table-focus-border"), this.domService.setStyle(s, "display", "clip"), this.domService.setStyle(s, "position", "absolute"), this.domService.setStyle(s, "left", `${t.left + t.width - 1}px`), this.domService.setStyle(s, "top", `${t.top}px`), this.domService.setStyle(s, "width", "1px"), this.domService.setStyle(s, "height", `${t.height}px`), this.domService.setStyle(s, "z-index", "9999"), this.applyStyle(s, o), this.domService.appendChild(e, s), s = this.domService.createElement("div"), this.domService.addClass(s, "ge-table-focus-border"), this.domService.setStyle(s, "display", "clip"), this.domService.setStyle(s, "position", "absolute"), this.domService.setStyle(s, "left", `${t.left}px`), this.domService.setStyle(s, "top", `${t.top}px`), this.domService.setStyle(s, "width", `${t.width}px`), this.domService.setStyle(s, "height", "1px"), this.domService.setStyle(s, "z-index", "9999"), this.applyStyle(s, o), this.domService.appendChild(e, s), s = this.domService.createElement("div"), this.domService.addClass(s, "ge-table-focus-border"), this.domService.setStyle(s, "display", "clip"), this.domService.setStyle(s, "position", "absolute"), this.domService.setStyle(s, "left", `${t.left}px`), this.domService.setStyle(s, "top", `${t.top + t.height - 1}px`), this.domService.setStyle(s, "width", `${t.width}px`), this.domService.setStyle(s, "height", "1px"), this.domService.setStyle(s, "z-index", "9999"), this.applyStyle(s, o), this.domService.appendChild(e, s), e;
246
247
  }
247
248
  addVerticalBorder(e, t, o = "ge-table-body-center-vertical-border") {
248
249
  const s = this.domService.createElement("div");
@@ -264,22 +265,22 @@ class me {
264
265
  return o ? (o.innerText = "", o) : (o = this.domService.createElement("div"), t.cache[e] = o, o);
265
266
  }
266
267
  }
267
- const Y = (h) => h === "header" ? "header" : h === "footer" ? "footer" : "body";
268
- class we {
268
+ const U = (h) => h === "header" ? "header" : h === "footer" ? "footer" : "body";
269
+ class ye {
269
270
  constructor(e, t) {
270
271
  if (this.rowIdx = -1, this.colIdx = -1, this.action = null, this.inputType = null, this.className = "", e !== null && (e instanceof HTMLDivElement || e instanceof HTMLSpanElement || e instanceof HTMLInputElement)) {
271
272
  this.className = e.className, this.action = e.getAttribute("data-ge-action"), this.inputType = e.getAttribute("data-input-type"), this.rowIdx = Number(e.getAttribute("data-row-index")), this.colIdx = Number(e.getAttribute("data-col-index"));
272
273
  const o = e.getAttribute("data-area");
273
- if (o && (this.areaIdent = Y(o), this.areaModel = t.tableModel.getAreaModel(this.areaIdent), this.row = this.areaModel.getRowByIndex(this.rowIdx)), e instanceof HTMLInputElement) {
274
+ if (o && (this.areaIdent = U(o), this.areaModel = t.tableModel.getAreaModel(this.areaIdent), this.row = this.areaModel.getRowByIndex(this.rowIdx)), e instanceof HTMLInputElement) {
274
275
  const s = e;
275
276
  this.value = s.value;
276
277
  }
277
278
  }
278
279
  }
279
280
  }
280
- class Se {
281
+ class Ce {
281
282
  constructor(e) {
282
- this.tableScope = e, this.expandedAll = !0, this.mouseDown = !1, this.dragging = !1, this.tableScope.hostElement.addEventListener("click", this.onHostElementClicked.bind(this)), this.tableScope.hostElement.addEventListener("dblclick", this.onHostElementDblClicked.bind(this)), this.tableScope.hostElement.addEventListener("mousedown", this.onMouseDown.bind(this)), this.tableScope.hostElement.addEventListener("mousemove", this.onMouseMove.bind(this)), this.tableScope.hostElement.addEventListener("mouseup", this.onMouseUp.bind(this)), this.tableScope.hostElement.addEventListener("contextmenu", this.onContextmenu.bind(this)), this.tableScope.hostElement._MouseHandler = "true", this.tableScope.scrollViewport.addEventListener("scroll", this.tableScope.adjustAfterScrolling.bind(this.tableScope)), [window, this.tableScope.hostElement].forEach(
283
+ this.tableScope = e, this.doubleClickDelay = 500, this.expandedAll = !0, this.mouseDown = !1, this.dragging = !1, this.lastClicked = 0, this.tableScope.hostElement.addEventListener("click", this.onHostElementClicked.bind(this)), this.tableScope.hostElement.addEventListener("dblclick", this.onHostElementDblClicked.bind(this)), this.tableScope.hostElement.addEventListener("mousedown", this.onMouseDown.bind(this)), this.tableScope.hostElement.addEventListener("mousemove", this.onMouseMove.bind(this)), this.tableScope.hostElement.addEventListener("mouseup", this.onMouseUp.bind(this)), this.tableScope.hostElement.addEventListener("contextmenu", this.onContextmenu.bind(this)), this.tableScope.hostElement._MouseHandler = "true", this.tableScope.scrollViewport.addEventListener("scroll", this.tableScope.adjustAfterScrolling.bind(this.tableScope)), [window, this.tableScope.hostElement].forEach(
283
284
  (t) => t.addEventListener("resize", this.tableScope.adjustContainersAndRows.bind(this.tableScope))
284
285
  );
285
286
  }
@@ -303,22 +304,26 @@ class Se {
303
304
  * @return {void}
304
305
  */
305
306
  onHostElementClicked(e) {
306
- const t = new we(e.target, this.tableScope);
307
- if (t.action === "toggleExpandCollapseAll")
307
+ const t = Date.now();
308
+ if (t - this.lastClicked < this.doubleClickDelay)
309
+ return;
310
+ this.lastClicked = t;
311
+ const o = new ye(e.target, this.tableScope);
312
+ if (o.action === "toggleExpandCollapseAll")
308
313
  this.expandedAll = !this.expandedAll, this.tableScope.toggleExpandCollapseAll(this.expandedAll), e.preventDefault(), e.stopPropagation();
309
- else if (t.inputType === "checkbox" && t.areaIdent)
310
- this.tableScope.toggleRowCheckbox(t.rowIdx, t.colIdx, t.areaIdent), e.preventDefault(), e.stopPropagation();
311
- else if (O(t.row) && t.areaModel) {
312
- const o = t.colIdx === this.getArrowColumnIndex() && e.altKey, s = t.className.includes("ge-table-tree-arrow-div");
313
- if (console.info(s, o), o || s) {
314
+ else if (o.inputType === "checkbox" && o.areaIdent)
315
+ this.tableScope.toggleRowCheckbox(o.rowIdx, o.colIdx, o.areaIdent), e.preventDefault(), e.stopPropagation();
316
+ else if (O(o.row) && o.areaModel) {
317
+ const s = o.colIdx === this.getArrowColumnIndex() && e.altKey, i = o.className.includes("ge-table-tree-arrow-div");
318
+ if (console.info(i, s), s || i) {
314
319
  e.preventDefault(), e.stopPropagation();
315
- const i = t.row;
316
- i.expanded = !i.expanded, "recalcVisibleTreeRows" in t.areaModel && t.areaModel.recalcVisibleTreeRows(), this.tableScope.tableModel.recalcSize(this.tableScope.hostElement.clientWidth), this.tableScope.adjustContainersAndRows(), this.updateCollapsedExpandedState(i);
320
+ const r = o.row;
321
+ r.expanded = !r.expanded, "recalcVisibleTreeRows" in o.areaModel && o.areaModel.recalcVisibleTreeRows(), this.tableScope.tableModel.recalcSize(this.tableScope.hostElement.clientWidth), this.tableScope.adjustContainersAndRows(), this.updateCollapsedExpandedState(r);
317
322
  }
318
323
  }
319
- if (t.areaIdent === "body" && this.tableScope.tableOptions.getFocusModel) {
320
- const o = this.tableScope.tableOptions.getFocusModel();
321
- o == null || o.clear(), o == null || o.setFocus(t.rowIdx, t.colIdx);
324
+ if (o.areaIdent === "body" && this.tableScope.tableOptions.getFocusModel) {
325
+ const s = this.tableScope.tableOptions.getFocusModel();
326
+ s == null || s.clear(), s == null || s.setFocus(o.rowIdx, o.colIdx);
322
327
  }
323
328
  this.publishGeMouseEvent(e, 1);
324
329
  }
@@ -329,8 +334,8 @@ class Se {
329
334
  * @param {MouseEvent} event - The double click event.
330
335
  */
331
336
  onHostElementDblClicked(e) {
332
- if (e.target instanceof HTMLElement) {
333
- const t = e.target, o = t.getAttribute("data-area"), s = Y(o), i = Number(t.getAttribute("data-row-index")), r = Number(t.getAttribute("data-col-index")), l = this.tableScope.tableModel.getAreaModel(s);
337
+ if (this.lastClicked = Date.now(), e.target instanceof HTMLElement) {
338
+ const t = e.target, o = t.getAttribute("data-area"), s = U(o), i = Number(t.getAttribute("data-row-index")), r = Number(t.getAttribute("data-col-index")), l = this.tableScope.tableModel.getAreaModel(s);
334
339
  if (o && s === "header")
335
340
  this.tableScope.tableModel.isSortable(r) && (this.tableScope.clearSelection(), this.tableScope.onHeaderDblClicked(e, i, r));
336
341
  else if (t.getAttribute("data-row-index")) {
@@ -354,7 +359,7 @@ class Se {
354
359
  */
355
360
  publishGeMouseEvent(e, t) {
356
361
  var o;
357
- this.mouseEvent = e, this.geMouseEventOld = (o = this.geMouseEvent) == null ? void 0 : o.clone(), this.geMouseEvent = this.tableScope.createGeMouseEvent(e), this.geMouseEvent && (this.geMouseEvent.clickCount = t), this.tableScope.onMouseClicked(this.geMouseEvent, this.geMouseEventOld);
362
+ this.mouseEvent = e, this.geMouseEventOld = (o = this.geMouseEvent) == null ? void 0 : o.clone(), this.geMouseEvent = this.tableScope.createGeMouseEvent(e), this.geMouseEvent && (this.geMouseEvent.clickCount = t), this.tableScope.onMouseClicked(this.geMouseEvent, this.geMouseEventOld), this.tableScope.publishGeMouseEvent(this.geMouseEvent), t === 1 && this.tableScope.debounceRepaint();
358
363
  }
359
364
  /**
360
365
  * Update the collapsed/expanded state of a tree row.
@@ -403,7 +408,7 @@ class Se {
403
408
  }
404
409
  }
405
410
  }
406
- class xe {
411
+ class ve {
407
412
  constructor(e) {
408
413
  this.tableScope = e;
409
414
  }
@@ -509,8 +514,46 @@ class xe {
509
514
  repaint() {
510
515
  this.tableScope.repaint();
511
516
  }
517
+ /**
518
+ * Clears the current selection of the table.
519
+ * The table will be rendered automatically.
520
+ *
521
+ * @returns {void}
522
+ */
523
+ clearSelection() {
524
+ this.tableScope.clearSelection(!0);
525
+ }
526
+ /**
527
+ * Sets the selection model for the table scope.
528
+ *
529
+ * @param {SelectionModel} sm - The selection model to be set.
530
+ * @param {boolean} [repaint=true] - Indicates whether the table should be repainted after setting the selection model. Default value is true.
531
+ *
532
+ * @return {void}
533
+ */
534
+ setSelectionModel(e, t = !0) {
535
+ this.tableScope.setSelectionModel(e, t);
536
+ }
537
+ /**
538
+ * Triggers the action with the given action ID.
539
+ * This function can be invoked programmatically.
540
+ *
541
+ * @param {ActionId} actionId - The ID of the action to trigger.
542
+ * @return {void}
543
+ */
544
+ triggerAction(e) {
545
+ this.tableScope.onActionTriggered(e);
546
+ }
547
+ /**
548
+ * Retrieves the mapping of shortcuts to corresponding action in the current table scope.
549
+ *
550
+ * @return {ShortcutActionIdMapping} The mapping of shortcuts to corresponding action.
551
+ */
552
+ getShortcutActionMapping() {
553
+ return this.tableScope.shortcutService.getShortcutActionMapping();
554
+ }
512
555
  }
513
- class U {
556
+ class q {
514
557
  constructor(e) {
515
558
  this.getStorageKeyFn = e;
516
559
  }
@@ -585,7 +628,7 @@ class U {
585
628
  // }
586
629
  // }
587
630
  }
588
- class ye extends U {
631
+ class Re extends q {
589
632
  constructor(e) {
590
633
  super(e), this.SCROLL_STATE = "scrollState", this.scrollOffset = [0, 0], this.load();
591
634
  }
@@ -607,14 +650,14 @@ class ye extends U {
607
650
  }
608
651
  }
609
652
  }
610
- class Ce {
653
+ class Ae {
611
654
  constructor(e = "collapsed", t = [], o = !1, s = !1) {
612
655
  this.mode = e, this.rowIds = t, this.allCollapsed = o, this.allExpanded = s;
613
656
  }
614
657
  }
615
- class ve extends U {
658
+ class Ee extends q {
616
659
  constructor(e) {
617
- super(e), this.COLLAPSED_EXPANDED_STATE = "collapsedExpandedState", this.collapsedExpandedState = new Ce(), this.load();
660
+ super(e), this.COLLAPSED_EXPANDED_STATE = "collapsedExpandedState", this.collapsedExpandedState = new Ae(), this.load();
618
661
  }
619
662
  collapsedExpandedStateGet() {
620
663
  return this.collapsedExpandedState;
@@ -646,7 +689,7 @@ class ve extends U {
646
689
  this.checkAndPersistItem(this.COLLAPSED_EXPANDED_STATE, this.collapsedExpandedState);
647
690
  }
648
691
  }
649
- class Re extends U {
692
+ class Me extends q {
650
693
  constructor(e) {
651
694
  super(e), this.SORTING_STATE = "sortingState", this.sortItems = [], this.load();
652
695
  }
@@ -673,7 +716,7 @@ class $ {
673
716
  this.left = e, this.width = t, this.height = o, this.top = s, this.index = i;
674
717
  }
675
718
  }
676
- class Ae {
719
+ class ke {
677
720
  constructor(e, t, o, s) {
678
721
  this.hostElement = e, this.tableModel = t, this.dom = o, this.tableOptions = s, this.scrollTop = 0, this.areaBodyWestGeo = new $(), this.areaBodyCenterGeo = new $(), this.areaBodyEastGeo = new $();
679
722
  const i = this.hostElement;
@@ -824,7 +867,7 @@ class Ae {
824
867
  this.dom.setStyle(this.contentWrapperDiv, "width", e), this.dom.setStyle(this.contentWrapperDiv, "height", t);
825
868
  }
826
869
  }
827
- class M {
870
+ class v {
828
871
  /**
829
872
  * Represents a constructor for a class.
830
873
  * @constructor
@@ -838,7 +881,7 @@ class M {
838
881
  this.r1 = e, this.c1 = t, this.r2 = o, this.c2 = s, this.gammaRange = i;
839
882
  }
840
883
  static create(e) {
841
- return e.gammaRange === void 0 && (e.gammaRange = !1), new M(
884
+ return e.gammaRange === void 0 && (e.gammaRange = !1), new v(
842
885
  e.rowIndex1,
843
886
  e.columnIndex1,
844
887
  e.rowIndex2,
@@ -847,19 +890,19 @@ class M {
847
890
  );
848
891
  }
849
892
  static singleCell(e, t) {
850
- return new M(e, t, e, t);
893
+ return new v(e, t, e, t);
851
894
  }
852
895
  static singleRow(e) {
853
- return new M(e, 0, e, Number.MAX_SAFE_INTEGER);
896
+ return new v(e, 0, e, Number.MAX_SAFE_INTEGER);
854
897
  }
855
898
  static singleColumn(e) {
856
- return new M(0, e, Number.MAX_SAFE_INTEGER, e);
899
+ return new v(0, e, Number.MAX_SAFE_INTEGER, e);
857
900
  }
858
901
  isInRange(e, t) {
859
902
  return e >= this.r1 && e <= this.r2 && t >= this.c1 && t <= this.c2;
860
903
  }
861
904
  }
862
- class Ee {
905
+ class Ie {
863
906
  constructor(e, t) {
864
907
  this.tableModel = e, this.areaModel = t, this.colAndRowspanRanges = void 0;
865
908
  }
@@ -875,7 +918,7 @@ class Ee {
875
918
  i === 0 && (i = 1), r === 0 && (r = 1);
876
919
  const l = this.areaModel.hasOwnProperty("gammaCells");
877
920
  this.colAndRowspanRanges.push(
878
- new M(o, s, o + r - 1, s + i - 1, l)
921
+ new v(o, s, o + r - 1, s + i - 1, l)
879
922
  );
880
923
  }
881
924
  }
@@ -897,7 +940,7 @@ class T {
897
940
  this.header = e, this.body = t, this.footer = o;
898
941
  }
899
942
  }
900
- class Me extends Ae {
943
+ class Te extends ke {
901
944
  constructor(e, t, o, s) {
902
945
  var r, l;
903
946
  super(e, t, o, s), this.scrollLeft = 0, this.scrollViewportLeft = 0, this.scrollFactorY = 0, this.scrollFactorX = 0, this.cleanupFunctions = {
@@ -907,7 +950,7 @@ class Me extends Ae {
907
950
  }, this.tree = !1, this.colAndRowspanModels = new T(), this.firstVisibleRowIndex = -1, this.draggingTargetColumnIndex = -1, this.removables = [], this.editing = !1, this.tableModel.getSelectionModel ? this.getSelectionModel = this.tableModel.getSelectionModel : (r = this.tableOptions) != null && r.getSelectionModel && (this.getSelectionModel = this.tableOptions.getSelectionModel), (l = this.tableOptions) != null && l.getFocusModel && (this.getFocusModel = this.tableOptions.getFocusModel), z(t.getAreaModel("body")) && (this.tree = !0), ["header", "body", "footer"].forEach(
908
951
  (n) => {
909
952
  var d;
910
- this.colAndRowspanModels[n] = new Ee(t, t.getAreaModel(n)), (d = this.colAndRowspanModels[n]) == null || d.init();
953
+ this.colAndRowspanModels[n] = new Ie(t, t.getAreaModel(n)), (d = this.colAndRowspanModels[n]) == null || d.init();
911
954
  }
912
955
  );
913
956
  }
@@ -917,10 +960,17 @@ class Me extends Ae {
917
960
  resetEditorRenderer() {
918
961
  this.editorRenderer = void 0, this.editorRendererRow = -1, this.editorRendererColumn = -1, this.editing = !1;
919
962
  }
920
- clearSelection() {
963
+ /**
964
+ * Clears the selection in the component.
965
+ *
966
+ * @param {boolean} rerender - Indicates whether to rerender the component after clearing the selection. Default value is false.
967
+ *
968
+ * @return {void}
969
+ */
970
+ clearSelection(e = !1) {
921
971
  if (this.getSelectionModel) {
922
- const e = this.getSelectionModel();
923
- e == null || e.clear();
972
+ const t = this.getSelectionModel();
973
+ t == null || t.clear(), e && this.repaint();
924
974
  }
925
975
  }
926
976
  initRenderEditor(e, t) {
@@ -1035,13 +1085,13 @@ class Me extends Ae {
1035
1085
  p && p();
1036
1086
  }
1037
1087
  let u = t;
1038
- const m = this.tableModel.getColumnCount(), b = this.tableModel.getFixedRightColumnCount(), w = this.tableModel.getFixedLeftColumnCount();
1088
+ const m = this.tableModel.getColumnCount(), b = this.tableModel.getFixedRightColumnCount(), S = this.tableModel.getFixedLeftColumnCount();
1039
1089
  for (let p = 0; p < c; p++) {
1040
- const R = u, C = p === c - 1, v = this.tableModel.getRowHeight(e, p);
1041
- if (R + v > 0) {
1090
+ const A = u, C = p === c - 1, R = this.tableModel.getRowHeight(e, p);
1091
+ if (A + R > 0) {
1042
1092
  this.firstVisibleRowIndex = p;
1043
- let x = { left: l, width: n, height: v, top: R, index: p }, y = this.dom.addRowDiv(s, x, p, e, "center");
1044
- const A = w;
1093
+ let x = { left: l, width: n, height: R, top: A, index: p }, y = this.dom.addRowDiv(s, x, p, e, "center");
1094
+ const E = S;
1045
1095
  if (this.adjustColumnsToRowParent({
1046
1096
  areaIdent: e,
1047
1097
  sideIdent: "center",
@@ -1049,11 +1099,11 @@ class Me extends Ae {
1049
1099
  geo: x,
1050
1100
  parent: y,
1051
1101
  rowIndex: p,
1052
- columnIndexStart: A,
1102
+ columnIndexStart: E,
1053
1103
  columnIndexEnd: m - b - 1,
1054
1104
  verticalFixed: !1,
1055
1105
  lastRowOfModel: C
1056
- }), d.left > 0 && (x = { left: l, width: this.areaBodyWestGeo.width, height: v, top: R, index: p }, y = this.dom.addRowDiv(o, x, p, e, "west"), this.adjustColumnsToRowParent({
1106
+ }), d.left > 0 && (x = { left: l, width: this.areaBodyWestGeo.width, height: R, top: A, index: p }, y = this.dom.addRowDiv(o, x, p, e, "west"), this.adjustColumnsToRowParent({
1057
1107
  areaIdent: e,
1058
1108
  sideIdent: "west",
1059
1109
  areaModel: a,
@@ -1061,10 +1111,10 @@ class Me extends Ae {
1061
1111
  parent: y,
1062
1112
  rowIndex: p,
1063
1113
  columnIndexStart: 0,
1064
- columnIndexEnd: A - 1,
1114
+ columnIndexEnd: E - 1,
1065
1115
  verticalFixed: !0,
1066
1116
  lastRowOfModel: C
1067
- })), d.right > 0 && (x = { left: l, width: this.areaBodyEastGeo.width, height: v, top: R, index: p }, y = this.dom.addRowDiv(i, x, p, e, "east"), this.adjustColumnsToRowParent({
1117
+ })), d.right > 0 && (x = { left: l, width: this.areaBodyEastGeo.width, height: R, top: A, index: p }, y = this.dom.addRowDiv(i, x, p, e, "east"), this.adjustColumnsToRowParent({
1068
1118
  areaIdent: e,
1069
1119
  sideIdent: "east",
1070
1120
  areaModel: a,
@@ -1076,7 +1126,7 @@ class Me extends Ae {
1076
1126
  verticalFixed: !0,
1077
1127
  lastRowOfModel: C
1078
1128
  })), e === "header" && this.tree && p === c - 1) {
1079
- const E = this.dom.applyStyle(
1129
+ const M = this.dom.applyStyle(
1080
1130
  this.dom.setAttribute(
1081
1131
  this.dom.addDiv(y, new $(16, 20, 20, 8)),
1082
1132
  "data-ge-action",
@@ -1085,28 +1135,28 @@ class Me extends Ae {
1085
1135
  { cursor: "pointer" }
1086
1136
  ), k = this.tableOptions.treeOptions.arrowExpandCollapseAll;
1087
1137
  if (k) {
1088
- const B = this.dom.domService.createText(k.content);
1089
- this.dom.domService.appendChild(E, B), k.style && this.dom.applyStyleString(E, k.style);
1138
+ const H = this.dom.domService.createText(k.content);
1139
+ this.dom.domService.appendChild(M, H), k.style && this.dom.applyStyleString(M, k.style);
1090
1140
  }
1091
1141
  }
1092
1142
  }
1093
- if (u = u + v, u > r)
1143
+ if (u = u + R, u > r)
1094
1144
  break;
1095
1145
  }
1096
1146
  if (this.colAndRowspanModels && this.colAndRowspanModels[e]) {
1097
1147
  const p = ((g = this.colAndRowspanModels[e]) == null ? void 0 : g.getRanges()) ?? [];
1098
1148
  if (p.length)
1099
- for (const R of p) {
1100
- let C = 0, v = s.child, x = "center";
1101
- if (R.c1 < w)
1102
- v = o.child, x = "west";
1103
- else if (b > 0 && R.c1 >= m - b)
1104
- v = i.child, x = "east";
1149
+ for (const A of p) {
1150
+ let C = 0, R = s.child, x = "center";
1151
+ if (A.c1 < S)
1152
+ R = o.child, x = "west";
1153
+ else if (b > 0 && A.c1 >= m - b)
1154
+ R = i.child, x = "east";
1105
1155
  else {
1106
1156
  const y = this.areaBodyCenterGeo.width - this.tableModel.getContentWidthInPixel();
1107
1157
  C = this.scrollFactorX * y - this.areaBodyWestGeo.width, x = "center";
1108
1158
  }
1109
- this.drawBigCell(R, C, t, a, v, x);
1159
+ this.drawBigCell(A, C, t, a, R, x);
1110
1160
  }
1111
1161
  }
1112
1162
  }
@@ -1126,8 +1176,8 @@ class Me extends Ae {
1126
1176
  d > 0 && e.c1 >= n - d && (a = n - d);
1127
1177
  const c = t + this.getColumnWidths(a, e.c1 - 1).reduce((g, p) => g + p, 0), u = this.getRowHeights(e.r1, e.r2, s).reduce((g, p) => g + p, 0), m = this.getColumnWidths(e.c1, e.c2).reduce((g, p) => g + p, 0);
1128
1178
  let b = !1;
1129
- const w = this.getSelectionModel ? this.getSelectionModel() : void 0;
1130
- w && (b = w.getSelectionCount(e.r1, e.c1) > 0), e.gammaRange ? (console.info("TODO here", e), this.renderCell({
1179
+ const S = this.getSelectionModel ? this.getSelectionModel() : void 0;
1180
+ S && (b = S.getSelectionCount(e.r1, e.c1) > 0), e.gammaRange ? (console.info("TODO here", e), this.renderCell({
1131
1181
  areaModel: s,
1132
1182
  areaIdent: s.areaIdent,
1133
1183
  sideIdent: r,
@@ -1188,7 +1238,7 @@ class Me extends Ae {
1188
1238
  verticalFixed: d = !1,
1189
1239
  lastRowOfModel: a = !1
1190
1240
  }) {
1191
- var w;
1241
+ var S;
1192
1242
  this.scrollViewportLeft = this.scrollViewport.scrollLeft;
1193
1243
  let c = 0;
1194
1244
  if (!d) {
@@ -1198,21 +1248,21 @@ class Me extends Ae {
1198
1248
  const u = 0, m = !!(e === "body" && t);
1199
1249
  let b = c;
1200
1250
  for (let g = l; g <= n; g++) {
1201
- const p = b, R = this.tableModel.getColumnWidth(g);
1202
- if (R > 0 && p + R > 0) {
1251
+ const p = b, A = this.tableModel.getColumnWidth(g);
1252
+ if (A > 0 && p + A > 0) {
1203
1253
  let C = s.height;
1204
- const v = o.getRowspanAt(r, g), x = o.getColspanAt(r, g);
1205
- v > 1 && (C = this.getRowHeights(r, r + v - 1, o).reduce((E, k) => E + k, 0));
1206
- let y = R;
1207
- x > 1 && (y = this.getColumnWidths(g, g + x - 1).reduce((E, k) => E + k, 0));
1208
- let A = !1;
1209
- if (this.colAndRowspanModels && this.colAndRowspanModels[e] && (w = this.colAndRowspanModels[e]) != null && w.isInRange(r, g) && (A = !0), this.draggingTargetColumnIndex === g && e !== "header") {
1254
+ const R = o.getRowspanAt(r, g), x = o.getColspanAt(r, g);
1255
+ R > 1 && (C = this.getRowHeights(r, r + R - 1, o).reduce((M, k) => M + k, 0));
1256
+ let y = A;
1257
+ x > 1 && (y = this.getColumnWidths(g, g + x - 1).reduce((M, k) => M + k, 0));
1258
+ let E = !1;
1259
+ if (this.colAndRowspanModels && this.colAndRowspanModels[e] && (S = this.colAndRowspanModels[e]) != null && S.isInRange(r, g) && (E = !0), this.draggingTargetColumnIndex === g && e !== "header") {
1210
1260
  this.renderDragTargetDiv(i, p, u, y, C);
1211
- const E = { left: p, top: u, width: y, height: C };
1212
- this.dom.addColumnBorderDivs(this.tableOptions, i, E, e, t);
1261
+ const M = { left: p, top: u, width: y, height: C };
1262
+ this.dom.addColumnBorderDivs(this.tableOptions, i, M, e, t);
1213
1263
  } else {
1214
- const E = this.renderSelectedBackgroundDiv(A, m, t, o, r, g, i, p, u, y, C);
1215
- A || this.renderCell({
1264
+ const M = this.renderSelectedBackgroundDiv(E, m, t, o, r, g, i, p, u, y, C);
1265
+ E || this.renderCell({
1216
1266
  areaModel: o,
1217
1267
  areaIdent: e,
1218
1268
  sideIdent: t,
@@ -1223,7 +1273,7 @@ class Me extends Ae {
1223
1273
  width: y,
1224
1274
  height: C,
1225
1275
  parent: i,
1226
- cellSelected: E,
1276
+ cellSelected: M,
1227
1277
  lastRowOfModel: a,
1228
1278
  gammaRange: !0
1229
1279
  }), e === "header" && this.tableOptions.columnsResizable && this.renderHeaderCellResizeHandle({
@@ -1237,7 +1287,7 @@ class Me extends Ae {
1237
1287
  });
1238
1288
  }
1239
1289
  }
1240
- if (b = b + R, b > this.areaBodyCenterGeo.width)
1290
+ if (b = b + A, b > this.areaBodyCenterGeo.width)
1241
1291
  break;
1242
1292
  }
1243
1293
  this.tableOptions.verticalBorderVisible && this.dom.addVerticalBorder(new $(b - 1, 1, s.height, 0), i);
@@ -1259,21 +1309,21 @@ class Me extends Ae {
1259
1309
  lastRowOfModel: c,
1260
1310
  gammaRange: u
1261
1311
  }) {
1262
- var Z;
1263
- const b = this.editorRenderer && this.editorRendererRow === s && this.editorRendererColumn === i ? this.editorRenderer : e.getCellRenderer(s, i), w = { left: r, width: l, height: n, top: d, index: i }, g = e.getRowByIndex(s);
1312
+ var te;
1313
+ const b = this.editorRenderer && this.editorRendererRow === s && this.editorRendererColumn === i ? this.editorRenderer : e.getCellRenderer(s, i), S = { left: r, width: l, height: n, top: d, index: i }, g = e.getRowByIndex(s);
1264
1314
  let p = "none";
1265
1315
  if (i === this.getTreeArrowColumnIndex() && O(g)) {
1266
- const S = g;
1267
- (Z = S.children) != null && Z.length ? S.expanded ? p = "expanded" : p = "collapsed" : p = "hidden";
1316
+ const w = g;
1317
+ (te = w.children) != null && te.length ? w.expanded ? p = "expanded" : p = "collapsed" : p = "hidden";
1268
1318
  }
1269
1319
  let C;
1270
1320
  if (t === "header") {
1271
- const S = this.tableModel.getColumnDef(i);
1272
- (!(S != null && S.sortIconVisible) || S != null && S.sortIconVisible()) && (C = S == null ? void 0 : S.sortState);
1321
+ const w = this.tableModel.getColumnDef(i);
1322
+ (!(w != null && w.sortIconVisible) || w != null && w.sortIconVisible()) && (C = w == null ? void 0 : w.sortState);
1273
1323
  }
1274
- const v = e.getValueAt(s, i), x = b ? "" : `${v}`, y = e.isRowChecked(s), A = this.dom.addColumnDiv(
1324
+ const R = e.getValueAt(s, i), x = b ? "" : `${R}`, y = e.isRowChecked(s), E = this.dom.addColumnDiv(
1275
1325
  a,
1276
- w,
1326
+ S,
1277
1327
  s,
1278
1328
  i,
1279
1329
  t,
@@ -1283,23 +1333,23 @@ class Me extends Ae {
1283
1333
  this.tableOptions,
1284
1334
  y,
1285
1335
  C
1286
- ), E = e.getTooltipAt(s, i);
1287
- E && this.dom.setAttribute(A, "title", E);
1336
+ ), M = e.getTooltipAt(s, i);
1337
+ M && this.dom.setAttribute(E, "title", M);
1288
1338
  const k = this.tableModel.getColumnDef(i);
1289
- k && k.classes[t] && this.dom.addClasses(k.classes[t], A);
1290
- let B;
1291
- b && (B = b.render(A, s, i, t, e, v, this.dom.domService));
1292
- const Q = e.getCustomClassesAt(s, i);
1293
- if (Q.length && this.dom.addClasses(Q, A), this.dom.addColumnBorderDivs(this.tableOptions, a, w, t, o), c && this.dom.addHorizontalBorder({ left: r, width: l, height: n, top: d + n }, a), this.getFocusModel && t === "body") {
1294
- const S = this.getFocusModel();
1295
- S != null && S.hasFocus(s, i) && this.dom.addFocusBorderDivs(a, w, {});
1339
+ k && k.classes[t] && this.dom.addClasses(k.classes[t], E);
1340
+ let H;
1341
+ b && (H = b.render(E, s, i, t, e, R, this.dom.domService));
1342
+ const ee = e.getCustomClassesAt(s, i);
1343
+ if (ee.length && this.dom.addClasses(ee, E), this.dom.addColumnBorderDivs(this.tableOptions, a, S, t, o), c && this.dom.addHorizontalBorder({ left: r, width: l, height: n, top: d + n }, a), this.getFocusModel && t === "body") {
1344
+ const w = this.getFocusModel();
1345
+ w != null && w.hasFocus(s, i) && this.dom.addFocusBorderDivs(a, S, {});
1296
1346
  }
1297
- t === "header" && this.dom.setAttribute(A, "data-ge-action", "drag-column");
1347
+ t === "header" && this.dom.setAttribute(E, "data-ge-action", "drag-column");
1298
1348
  const G = e.getCustomStyleAt(s, i);
1299
1349
  if (G)
1300
- for (const S in G)
1301
- this.dom.setStyle(A, S, G[S]);
1302
- return [A, B];
1350
+ for (const w in G)
1351
+ this.dom.setStyle(E, w, G[w]);
1352
+ return [E, H];
1303
1353
  }
1304
1354
  applyCssClasses(e, t = {}) {
1305
1355
  e && Object.entries(t).forEach(([o, s]) => {
@@ -1389,7 +1439,7 @@ class Me extends Ae {
1389
1439
  if (m) {
1390
1440
  const b = m.getSelectionCount(i, r);
1391
1441
  u = b > 0;
1392
- for (let w = 0; w < b; w++) {
1442
+ for (let S = 0; S < b; S++) {
1393
1443
  const g = this.dom.applyStylePosistionAbsolute(
1394
1444
  // ge-table-body-west-selected-range
1395
1445
  this.dom.createDivWithClass(`ge-table-${s.areaIdent}-${o}-selected-range`, l)
@@ -1415,7 +1465,7 @@ class Me extends Ae {
1415
1465
  lastRowOfModel: u,
1416
1466
  gammaRange: m
1417
1467
  }) {
1418
- const [b, w] = this.addAndRenderCellDiv({
1468
+ const [b, S] = this.addAndRenderCellDiv({
1419
1469
  areaModel: e,
1420
1470
  areaIdent: t,
1421
1471
  sideIdent: o,
@@ -1429,19 +1479,19 @@ class Me extends Ae {
1429
1479
  lastRowOfModel: u,
1430
1480
  gammaRange: m
1431
1481
  });
1432
- c && this.dom.addClass(`ge-table-${t}-${o}-selected-range`, b), w && this.cleanupFunctions[t].push(w);
1482
+ c && this.dom.addClass(`ge-table-${t}-${o}-selected-range`, b), S && this.cleanupFunctions[t].push(S);
1433
1483
  }
1434
1484
  renderHeaderCellResizeHandle({ rowIndex: e, columnIndex: t, cellLeft: o, cellTop: s, cellWidth: i, cellHeight: r, parent: l }) {
1435
1485
  const n = this.dom.domService, d = this.tableOptions.columnResizeHandleWidthInPx ?? 2, a = n.createElement("div");
1436
1486
  n.setAttribute(a, "data-col-index", `${t}`), n.setAttribute(a, "data-row-index", `${e}`), n.setAttribute(a, "data-area", "header"), n.setAttribute(a, "data-ge-action", "resize-column"), n.addClass(a, "ge-table-column-resize-handle"), n.setStyle(a, "display", "clip"), n.setStyle(a, "position", "absolute"), n.setStyle(a, "cursor", "col-resize"), n.setStyle(a, "left", `${o + i - d}px`), n.setStyle(a, "top", `${s}px`), n.setStyle(a, "width", `${d}px`), n.setStyle(a, "height", `${r}px`), n.appendChild(l, a);
1437
1487
  }
1438
1488
  }
1439
- class ke {
1489
+ class _e {
1440
1490
  constructor(e, t) {
1441
1491
  this.columnIndex = e, this.sortState = t;
1442
1492
  }
1443
1493
  }
1444
- class Ie {
1494
+ class De {
1445
1495
  constructor(e) {
1446
1496
  this.tableScope = e, this.tableScope.hostElement.addEventListener("change", this.onHostElementChanged.bind(this));
1447
1497
  }
@@ -1457,26 +1507,26 @@ class Ie {
1457
1507
  if (e.target instanceof HTMLInputElement || e.target instanceof HTMLSelectElement || e.target instanceof HTMLTextAreaElement) {
1458
1508
  const t = e.target, o = t.getAttribute("data-area"), s = t.getAttribute("data-row-index"), i = t.getAttribute("data-col-index");
1459
1509
  if (o && s && i) {
1460
- const r = Y(o), l = Number(s), n = Number(i);
1510
+ const r = U(o), l = Number(s), n = Number(i);
1461
1511
  this.tableScope.updateModelValueAfterEdit(r, l, n, t.value);
1462
1512
  }
1463
1513
  }
1464
1514
  }
1465
1515
  }
1466
- class Te {
1516
+ class $e {
1467
1517
  constructor(e = -1, t = -1) {
1468
1518
  this.rowIndex = e, this.columnIndex = t;
1469
1519
  }
1470
1520
  }
1471
- class q {
1521
+ class J {
1472
1522
  constructor(e) {
1473
1523
  this.cells = e;
1474
1524
  }
1475
1525
  static createSingle(e, t) {
1476
- return new q([new Te(e, t)]);
1526
+ return new J([new $e(e, t)]);
1477
1527
  }
1478
1528
  }
1479
- class De {
1529
+ class Pe {
1480
1530
  constructor(e) {
1481
1531
  var t, o;
1482
1532
  this.tableScope = e, (t = this.tableScope.tableOptions) != null && t.getSelectionModel && (this.getSelectionModel = this.tableScope.tableOptions.getSelectionModel), (o = this.tableScope.tableOptions) != null && o.getFocusModel && (this.getFocusModel = this.tableScope.tableOptions.getFocusModel);
@@ -1486,7 +1536,7 @@ class De {
1486
1536
  let o = !1, s = !1;
1487
1537
  if (this.getSelectionModel && this.getFocusModel) {
1488
1538
  const u = this.getSelectionModel(), m = this.getFocusModel();
1489
- u && m && (m.hasFocus(e.rowIndex, e.columnIndex) || (m.setFocus(e.rowIndex, e.columnIndex), o = !0), (i = e.originalEvent) != null && i.shiftKey || u.hasSelection() && (u.clear(), o = !0), (r = e.originalEvent) != null && r.shiftKey && this.previousEvt ? (u.addSelection(this.createRangeByEvents(e, this.previousEvt)), s = !0, o = !0) : (l = e.originalEvent) != null && l.ctrlKey || (n = e.originalEvent) != null && n.metaKey ? (u.addSelection(M.singleCell(e.rowIndex, e.columnIndex)), s = !0, o = !0) : (d = e.originalEvent) != null && d.altKey && ((a = e.originalEvent) != null && a.ctrlKey || (c = e.originalEvent) != null && c.metaKey) && (u.removeSelection(M.singleCell(e.rowIndex, e.columnIndex)), s = !0, o = !0));
1539
+ u && m && (m.hasFocus(e.rowIndex, e.columnIndex) || (m.setFocus(e.rowIndex, e.columnIndex), o = !0), (i = e.originalEvent) != null && i.shiftKey || u.hasSelection() && (u.clear(), o = !0), (r = e.originalEvent) != null && r.shiftKey && this.previousEvt ? (u.addSelection(this.createRangeByEvents(e, this.previousEvt)), s = !0, o = !0) : (l = e.originalEvent) != null && l.altKey && ((n = e.originalEvent) != null && n.ctrlKey || (d = e.originalEvent) != null && d.metaKey) ? (u.removeSelection(v.singleCell(e.rowIndex, e.columnIndex)), s = !0, o = !0) : (a = e.originalEvent) != null && a.ctrlKey || (c = e.originalEvent) != null && c.metaKey ? (u.addSelection(v.singleCell(e.rowIndex, e.columnIndex)), s = !0, o = !0) : (u.firstClick(e.rowIndex, e.columnIndex), o = !0));
1490
1540
  }
1491
1541
  return s ? this.previousEvt = void 0 : this.previousEvt = e == null ? void 0 : e.clone(), o;
1492
1542
  }
@@ -1509,7 +1559,7 @@ class De {
1509
1559
  createRangeByEvents(e, t) {
1510
1560
  t || (t = e);
1511
1561
  const o = Math.min(e.rowIndex, t == null ? void 0 : t.rowIndex), s = 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);
1512
- return M.create({
1562
+ return v.create({
1513
1563
  rowIndex1: o,
1514
1564
  columnIndex1: i,
1515
1565
  rowIndex2: s,
@@ -1517,7 +1567,7 @@ class De {
1517
1567
  });
1518
1568
  }
1519
1569
  }
1520
- class _e {
1570
+ class Le {
1521
1571
  get() {
1522
1572
  return {
1523
1573
  f2: "START_EDITING",
@@ -1527,43 +1577,60 @@ class _e {
1527
1577
  "ctrl+shift+a": "DESELECT_ALL",
1528
1578
  "ctrl+x": "DESELECT_ALL",
1529
1579
  "ctrl+num_subtract": "DESELECT_ALL",
1530
- "cmd -": "DESELECT_ALL",
1580
+ "meta -": "DESELECT_ALL",
1531
1581
  arrowup: "NAVIGATE_UP",
1532
1582
  arrowdown: "NAVIGATE_DOWN",
1533
1583
  arrowleft: "NAVIGATE_LEFT",
1534
- arrowright: "NAVIGATE_RIGHT"
1584
+ arrowright: "NAVIGATE_RIGHT",
1585
+ "meta+c": "COPY_2_CLIPBOARD",
1586
+ "ctrl+c": "COPY_2_CLIPBOARD"
1535
1587
  };
1536
1588
  }
1537
1589
  }
1538
- class $e {
1590
+ class Fe {
1539
1591
  get() {
1540
1592
  return {
1541
1593
  f2: "START_EDITING",
1542
1594
  space: "TOGGLE_SELECTION",
1543
1595
  "ctrl+num_add": "SELECT_ALL",
1544
- "cmd+a": "SELECT_ALL",
1596
+ "meta+a": "SELECT_ALL",
1545
1597
  "ctrl+a": "SELECT_ALL",
1546
- "cmd+x": "DESELECT_ALL",
1547
- "cmd+shift+a": "DESELECT_ALL",
1598
+ "meta+x": "DESELECT_ALL",
1599
+ "meta+shift+a": "DESELECT_ALL",
1548
1600
  "ctrl+shift+a": "DESELECT_ALL",
1549
1601
  "ctrl+num_subtract": "DESELECT_ALL",
1550
1602
  "ctrl -": "DESELECT_ALL",
1551
1603
  arrowup: "NAVIGATE_UP",
1552
1604
  arrowdown: "NAVIGATE_DOWN",
1553
1605
  arrowleft: "NAVIGATE_LEFT",
1554
- arrowright: "NAVIGATE_RIGHT"
1606
+ arrowright: "NAVIGATE_RIGHT",
1607
+ "meta+c": "COPY_2_CLIPBOARD",
1608
+ "ctrl+c": "COPY_2_CLIPBOARD"
1555
1609
  };
1556
1610
  }
1557
1611
  }
1558
- class Fe {
1612
+ class Oe {
1559
1613
  constructor(e) {
1560
1614
  this.tableScope = e, this.shortcutActionIdMapping = {}, this.listener = [], this.listener.push(e), this.init();
1561
1615
  }
1616
+ /**
1617
+ * Adds a listener to the list of listeners.
1618
+ *
1619
+ * @param {OnActionTriggeredIf} listener - The listener to be added.
1620
+ * @returns {void}
1621
+ */
1562
1622
  addListener(e) {
1563
1623
  this.listener.includes(e) || this.listener.push(e);
1564
1624
  }
1625
+ /**
1626
+ * Initializes the ShortcutService by assigning shortcut action id mappings based on the current operating system.
1627
+ * Also adds key down event listener to the table host element.
1628
+ */
1565
1629
  init() {
1566
- this.isMacintosh() ? Object.assign(this.shortcutActionIdMapping, new $e().get()) : Object.assign(this.shortcutActionIdMapping, new _e().get()), Object.assign(this.shortcutActionIdMapping, this.tableScope.tableOptions.shortcutActionIdMapping), this.isDebug() && console.debug("ShortcutService", this.shortcutActionIdMapping), this.tableScope.hostElement.addEventListener("keydown", this.onKeyDown.bind(this));
1630
+ 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));
1631
+ }
1632
+ assignPredefinedSystemShortcutMappings() {
1633
+ this.isMacintosh() ? Object.assign(this.shortcutActionIdMapping, new Fe().get()) : Object.assign(this.shortcutActionIdMapping, new Le().get());
1567
1634
  }
1568
1635
  isMacintosh() {
1569
1636
  return navigator.platform.indexOf("Mac") > -1;
@@ -1575,21 +1642,21 @@ class Fe {
1575
1642
  return location.hostname === "localhost" || location.hostname === "127.0.0.1";
1576
1643
  }
1577
1644
  onKeyDown(e) {
1578
- const t = this.findEnty(e);
1645
+ const t = this.findEntity(e);
1579
1646
  t && this.emit(t) && (e.preventDefault(), e.stopPropagation());
1580
1647
  }
1581
1648
  emit(e) {
1582
- this.isDebug() && console.debug("ShortcutService emit:", e);
1649
+ this.isDebug() && console.debug("ShortcutService emit :", e);
1583
1650
  let t = !1;
1584
1651
  for (const o of this.listener)
1585
1652
  o.onActionTriggered(e) && (t = !0);
1586
1653
  return t;
1587
1654
  }
1588
- findEnty(e) {
1655
+ findEntity(e) {
1589
1656
  const t = this.getTokenByEvent(e);
1590
- this.isDebug() && console.debug("ShortcutService tokens:", t);
1657
+ this.isDebug() && console.debug("ShortcutService tokens :", t);
1591
1658
  for (const o in this.shortcutActionIdMapping) {
1592
- const s = o.replace(/opt/g, "alt").replace(/cmd/g, "meta").split(/[\+ ]/g).sort();
1659
+ const s = o.replace(/opt/g, "alt").replace(/cmd/g, "meta").split(/[+ ]/g).sort();
1593
1660
  if (this.areTokensEquals(t, s))
1594
1661
  return this.shortcutActionIdMapping[o];
1595
1662
  }
@@ -1606,8 +1673,16 @@ class Fe {
1606
1673
  const t = [];
1607
1674
  return e.altKey && t.push("alt"), e.shiftKey && t.push("shift"), e.ctrlKey && t.push("ctrl"), e.metaKey && t.push("meta"), e.code && t.push(e.code.toLowerCase().replace(/key/g, "")), t.sort();
1608
1675
  }
1676
+ /**
1677
+ * Retrieves the shortcut action mapping object.
1678
+ *
1679
+ * @returns {ShortcutActionIdMapping} - The shortcut action mapping object.
1680
+ */
1681
+ getShortcutActionMapping() {
1682
+ return this.shortcutActionIdMapping;
1683
+ }
1609
1684
  }
1610
- class ee {
1685
+ class oe {
1611
1686
  onCheckboxChanged(e) {
1612
1687
  }
1613
1688
  onContextmenu(e) {
@@ -1623,7 +1698,7 @@ class ee {
1623
1698
  onMouseMoved(e) {
1624
1699
  }
1625
1700
  }
1626
- class Le {
1701
+ class Ve {
1627
1702
  setStyle(e, t, o) {
1628
1703
  return e.style[t] = o, e;
1629
1704
  }
@@ -1650,7 +1725,7 @@ class Le {
1650
1725
  e.setAttribute(t, o);
1651
1726
  }
1652
1727
  }
1653
- class Pe {
1728
+ class Be {
1654
1729
  render(e, t, o, s, i, r, l) {
1655
1730
  if (i.isEditable(t, o)) {
1656
1731
  l.addClass(e, "ge-table-row-input-div");
@@ -1671,10 +1746,13 @@ class Pe {
1671
1746
  }
1672
1747
  }
1673
1748
  }
1674
- class Oe {
1749
+ class He {
1675
1750
  constructor(e = "none", t = "single") {
1676
1751
  this.selectionType = e, this.selectionMode = t, this.ranges = [], this.negativeRanges = [], this.allSelected = !1;
1677
1752
  }
1753
+ firstClick(e, t) {
1754
+ this.selectionType === "row" ? this.addRange(v.singleRow(e)) : this.selectionType === "column" && this.addRange(v.singleColumn(t));
1755
+ }
1678
1756
  getSelectionCount(e, t) {
1679
1757
  let o = 0;
1680
1758
  for (const s of this.ranges)
@@ -1706,16 +1784,19 @@ class Oe {
1706
1784
  if (this.selectionType === "none")
1707
1785
  return;
1708
1786
  let t = e;
1709
- this.selectionType === "row" ? t = M.singleRow(e.r1) : this.selectionType === "column" && (t = M.singleColumn(e.c1)), this.negativeRanges.push(t);
1787
+ this.selectionType === "row" ? t = v.singleRow(e.r1) : this.selectionType === "column" && (t = v.singleColumn(e.c1)), this.negativeRanges.push(t);
1710
1788
  }
1711
1789
  togglePoint(e, t) {
1712
- this.getSelectionCount(e, t) > 0 ? this.removeSelection(M.singleCell(e, t)) : this.addSelection(M.singleCell(e, t));
1790
+ this.getSelectionCount(e, t) > 0 ? this.removeSelection(v.singleCell(e, t)) : this.addSelection(v.singleCell(e, t));
1791
+ }
1792
+ isSelected(e, t) {
1793
+ return this.getSelectionCount(e, t) > 0;
1713
1794
  }
1714
1795
  addRange(e) {
1715
1796
  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));
1716
1797
  }
1717
1798
  }
1718
- class Ve {
1799
+ class We {
1719
1800
  constructor(e = "none") {
1720
1801
  this.selectionType = e, this.rowIndex = -1, this.columnIndex = -1, this.changed = !1;
1721
1802
  }
@@ -1738,29 +1819,69 @@ class Ve {
1738
1819
  return [this.rowIndex, this.columnIndex];
1739
1820
  }
1740
1821
  }
1741
- const He = new Oe(), Be = new Ve("cell");
1822
+ const Ge = new He(), Ne = new We("cell");
1742
1823
  class j {
1743
1824
  constructor() {
1744
1825
  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 = {
1745
1826
  header: 34,
1746
1827
  body: 34,
1747
1828
  footer: 34
1748
- }, this.footerVerticalSeparator = !1, this.headerToggleExpandCollapseIcons = !1, this.headerVerticalSeparator = !1, this.treeOptions = new he(), this.showCheckboxWihoutExtraColumn = !1, this.externalFilterFunction = void 0, this.sortedOptions = new ce(), this.sortOrder = ["asc", "desc"], this.getEditRenderer = (e, t) => new Pe(), this.getSelectionModel = () => He, this.getFocusModel = () => Be;
1829
+ }, this.footerVerticalSeparator = !1, this.headerToggleExpandCollapseIcons = !1, this.headerVerticalSeparator = !1, this.treeOptions = new ge(), this.showCheckboxWihoutExtraColumn = !1, this.externalFilterFunction = void 0, this.sortedOptions = new be(), this.sortOrder = ["asc", "desc"], this.getEditRenderer = (e, t) => new Be(), this.getSelectionModel = () => Ge, this.getFocusModel = () => Ne;
1749
1830
  }
1750
1831
  }
1751
- class ue extends Me {
1752
- constructor(e, t, o, s, i) {
1753
- var r;
1832
+ const Q = class X {
1833
+ createContent(e, t, o) {
1834
+ return new Promise((s, i) => {
1835
+ if (t != null && t.hasSelection()) {
1836
+ const r = this.mergeRanges(t.getRanges());
1837
+ if (r) {
1838
+ r.c2 = Math.min(r.c2, e.getColumnCount() - 1), r.r2 = Math.min(r.r2, e.getBodyModel().getRowCount() - 1);
1839
+ const l = [];
1840
+ for (let n = r.r1; n <= r.r2; n++) {
1841
+ const d = [];
1842
+ for (let a = r.c1; a <= r.c2; a++) {
1843
+ const c = t.isSelected(n, a) ? e.getBodyModel().getTextValueAt(n, a) : "";
1844
+ d.push(c);
1845
+ }
1846
+ l.push(d.join(X.columnSeparatorChar));
1847
+ }
1848
+ return s(l.join(X.rowSeparatorChar));
1849
+ }
1850
+ }
1851
+ if (o) {
1852
+ const [r, l] = o.getFocus(), n = e.getBodyModel().getTextValueAt(r, l);
1853
+ return s(n);
1854
+ }
1855
+ i("Cannot copy, neither selection nor focus defined.");
1856
+ });
1857
+ }
1858
+ copyContent(e) {
1859
+ return navigator.clipboard.writeText(e);
1860
+ }
1861
+ mergeRanges(e) {
1862
+ let t;
1863
+ for (const o of e)
1864
+ t ? (t.r1 = Math.min(t.r1, o.r1), t.c1 = Math.min(t.c1, o.c1), t.r2 = Math.max(t.r2, o.r2), t.c2 = Math.max(t.c2, o.c2)) : t = new v(o.r1, o.c1, o.r2, o.c2);
1865
+ return t;
1866
+ }
1867
+ };
1868
+ Q.columnSeparatorChar = " ";
1869
+ Q.rowSeparatorChar = `
1870
+ `;
1871
+ let se = Q;
1872
+ class pe extends Te {
1873
+ constructor(e, t, o, s, i, r = new se()) {
1874
+ var l;
1754
1875
  if (super(
1755
1876
  e,
1756
1877
  t,
1757
- new me(o),
1878
+ new xe(o),
1758
1879
  s
1759
- ), this.eventListener = i, this.licenseManager = P.getInstance(), this.selectionService = new De(this), this.api = new xe(this), this.mouseStartAction = "", this.mouseStartWidth = -1, this.mouseStartColumnIndex = -1, this.dragFrom = -1, this.dragTo = -1, i || (this.eventListener = new ee()), (r = this.tableOptions) != null && r.autoRestoreOptions) {
1760
- const l = this.tableOptions.autoRestoreOptions, n = l.getStorageKeyFn;
1761
- n && (l.autoRestoreScrollPosition && (this.storeScrollPosStateService = new ye(n)), l.autoRestoreCollapsedExpandedState && (this.storeStateCollapsedExpandService = new ve(n)), l.autoRestoreSortingState && (this.storeSortingService = new Re(n)));
1880
+ ), this.eventListener = i, this.copyService = r, this.licenseManager = F.getInstance(), this.selectionService = new Pe(this), this.api = new ve(this), this.mouseStartAction = "", this.mouseStartWidth = -1, this.mouseStartColumnIndex = -1, this.dragFrom = -1, this.dragTo = -1, i || (this.eventListener = new oe()), (l = this.tableOptions) != null && l.autoRestoreOptions) {
1881
+ const n = this.tableOptions.autoRestoreOptions, d = n.getStorageKeyFn;
1882
+ d && (n.autoRestoreScrollPosition && (this.storeScrollPosStateService = new Re(d)), n.autoRestoreCollapsedExpandedState && (this.storeStateCollapsedExpandService = new Ee(d)), n.autoRestoreSortingState && (this.storeSortingService = new Me(d)));
1762
1883
  }
1763
- this.mouseHandler = new Se(this), this.inputHandler = new Ie(this), this.shortcutService = new Fe(this), this.shortcutService.addListener(this.selectionService);
1884
+ this.mouseHandler = new Ce(this), this.inputHandler = new De(this), this.shortcutService = new Oe(this), this.shortcutService.addListener(this.selectionService);
1764
1885
  }
1765
1886
  /**
1766
1887
  * Creates a TableScope instance.
@@ -1773,15 +1894,24 @@ class ue extends Me {
1773
1894
  *
1774
1895
  * @return {TableScope} - The newly created TableScope instance.
1775
1896
  */
1776
- static create(e, t, o = new j(), s = new ee(), i = new Le()) {
1777
- return new ue(
1897
+ static create(e, t, o = new j(), s = new oe(), i = new Ve(), r = new se()) {
1898
+ return new pe(
1778
1899
  e,
1779
1900
  t,
1780
1901
  i,
1781
1902
  o,
1782
- s
1903
+ s,
1904
+ r
1783
1905
  );
1784
1906
  }
1907
+ /**
1908
+ * Triggers an action based on the provided actionId.
1909
+ *
1910
+ * This function can be invoked manually via the table API or by keyboard shortcuts.
1911
+ *
1912
+ * @param {ActionId} actionId - The identifier of the action to be triggered.
1913
+ * @return {boolean} - Returns true if the action was triggered successfully, false otherwise.
1914
+ */
1785
1915
  onActionTriggered(e) {
1786
1916
  if (e === "NAVIGATE_DOWN" && this.changeFocusCell(0, 1) || e === "NAVIGATE_UP" && this.changeFocusCell(0, -1) || e === "NAVIGATE_LEFT" && this.changeFocusCell(-1, 0) || e === "NAVIGATE_RIGHT" && this.changeFocusCell(1, 0))
1787
1917
  return !0;
@@ -1793,10 +1923,14 @@ class ue extends Me {
1793
1923
  }
1794
1924
  return !0;
1795
1925
  }
1926
+ if (e === "COPY_2_CLIPBOARD") {
1927
+ const t = this.getSelectionModel ? this.getSelectionModel() : void 0, o = this.getFocusModel ? this.getFocusModel() : void 0;
1928
+ this.copyService.createContent(this.tableModel, t, o).then((s) => this.copyService.copyContent(s));
1929
+ }
1796
1930
  return !1;
1797
1931
  }
1798
1932
  updateModelValueAfterEdit(e, t, o, s) {
1799
- e === "body" && this.tableModel.getAreaModel(e).setValue(t, o, s) && (this.resetEditorRenderer(), this.repaint(), this.eventListener.onModelChanged(q.createSingle(t, o)), this.hostElement.focus());
1933
+ e === "body" && this.tableModel.getAreaModel(e).setValue(t, o, s) && (this.resetEditorRenderer(), this.repaint(), this.eventListener.onModelChanged(J.createSingle(t, o)), this.hostElement.focus());
1800
1934
  }
1801
1935
  /**
1802
1936
  * Retrieves the TableApi object.
@@ -1922,10 +2056,17 @@ class ue extends Me {
1922
2056
  onMouseClicked(e, t) {
1923
2057
  let o = this.selectionService.onMouseClicked(e, t);
1924
2058
  if (!o && this.getFocusModel) {
2059
+ this.resetEditorRenderer();
1925
2060
  const s = this.getFocusModel();
1926
- s && (o = s.hasChanged(), s.clearChanged(), o && this.resetEditorRenderer());
2061
+ s && (o = s.hasChanged(), s.clearChanged());
1927
2062
  }
1928
- this.eventListener.onMouseClicked(e), o && this.debounce(this.repaint.bind(this), 10);
2063
+ return o;
2064
+ }
2065
+ debounceRepaint() {
2066
+ this.debounce(this.repaint.bind(this), 1);
2067
+ }
2068
+ publishGeMouseEvent(e) {
2069
+ this.eventListener.onMouseClicked(e);
1929
2070
  }
1930
2071
  /**
1931
2072
  * Updates the table (repaint) when an external filter is changed.
@@ -1951,7 +2092,7 @@ class ue extends Me {
1951
2092
  const s = this.tableModel.getColumnDef(o);
1952
2093
  if (s != null && s.sortable && s.sortable()) {
1953
2094
  e.preventDefault(), e.stopPropagation();
1954
- const l = s.sortStatesOrder ? s.sortStatesOrder : this.tableOptions.sortOrder, n = s.sortState ?? "", d = l[(l.indexOf(n) + 1) % l.length], a = new ke(o, d);
2095
+ const l = s.sortStatesOrder ? s.sortStatesOrder : this.tableOptions.sortOrder, n = s.sortState ?? "", d = l[(l.indexOf(n) + 1) % l.length], a = new _e(o, d);
1955
2096
  this.tableModel.doSort([a]) && ((i = this.tableModel.getColumnDefs()) == null || i.forEach((u) => u.sortState = ""), s.sortState = d), this.repaint(), (r = this.storeSortingService) == null || r.setSortItems([a]);
1956
2097
  }
1957
2098
  }
@@ -1996,8 +2137,6 @@ class ue extends Me {
1996
2137
  /**
1997
2138
  * Restores the scroll position of the table if auto restore options are enabled.
1998
2139
  *
1999
- * @private
2000
- * @memberof ClassName
2001
2140
  *
2002
2141
  * @returns {void}
2003
2142
  */
@@ -2082,11 +2221,23 @@ class ue extends Me {
2082
2221
  const s = this.tableModel.getAreaModel("body").getYPosByRowIndex(t);
2083
2222
  this.scrollToPixel(0, s);
2084
2223
  }
2224
+ /**
2225
+ * Sets the selection model for the table.
2226
+ *
2227
+ * @param {SelectionModel} sm - The selection model to be set.
2228
+ * @param {boolean} rerender - Optional parameter indicating whether to rerender the table after setting the selection model. Default value is false.
2229
+ *
2230
+ * @return {void} - This method does not return any value.
2231
+ */
2232
+ setSelectionModel(e, t = !1) {
2233
+ const o = () => e;
2234
+ this.tableOptions.getSelectionModel = o, this.getSelectionModel = o, this.selectionService.getSelectionModel = o, t && this.repaint();
2235
+ }
2085
2236
  }
2086
- class ge {
2237
+ class fe {
2087
2238
  }
2088
- ge.themes = ["light", "combat", "paper", "blackboard"];
2089
- ge.vars = {
2239
+ fe.themes = ["light", "combat", "paper", "blackboard"];
2240
+ fe.vars = {
2090
2241
  light: `html[data-theme="light"] {
2091
2242
  --ge-table-bg: rgba(255,255,255, 0.5);
2092
2243
  --ge-table-header-west-bg: rgba(233, 233, 233, 0.5);
@@ -2320,27 +2471,27 @@ ge.vars = {
2320
2471
  --ge-table-drop-zone-bg: #758129;
2321
2472
  }`
2322
2473
  };
2323
- class te {
2474
+ class ie {
2324
2475
  constructor(e, t = !0, o, s, i = 0, r = !1, l = !1) {
2325
2476
  this.data = e, this.expanded = t, this.children = o, this.parent = s, this.deep = i, this.checked = r, this.keep = l, this.type = "TreeRow";
2326
2477
  }
2327
2478
  }
2328
- class X {
2479
+ class Y {
2329
2480
  static buildTreeRows(e, t = "children", o = 12) {
2330
2481
  const s = [];
2331
2482
  for (const i of e)
2332
- s.push(X.buildTreeRow(i, t, void 0, 0, o));
2483
+ s.push(Y.buildTreeRow(i, t, void 0, 0, o));
2333
2484
  return s;
2334
2485
  }
2335
- static buildTreeRow(e, t = "children", o = new te(e, !0, [], void 0, 0), s = 0, i = 12) {
2486
+ static buildTreeRow(e, t = "children", o = new ie(e, !0, [], void 0, 0), s = 0, i = 12) {
2336
2487
  var l;
2337
2488
  if (s > i)
2338
2489
  return console.warn("Max deep limit reached: ", s), o;
2339
2490
  const r = e[t];
2340
2491
  if (r)
2341
2492
  for (const n of r) {
2342
- const d = new te(n, !0, [], o, s + 1);
2343
- if ((l = o.children) == null || l.push(d), X.buildTreeRow(
2493
+ const d = new ie(n, !0, [], o, s + 1);
2494
+ if ((l = o.children) == null || l.push(d), Y.buildTreeRow(
2344
2495
  n,
2345
2496
  t,
2346
2497
  d,
@@ -2361,10 +2512,10 @@ class f {
2361
2512
  this.value = e, this.unit = t;
2362
2513
  }
2363
2514
  }
2364
- const We = () => !0, oe = () => !1;
2365
- class H {
2366
- constructor(e, t, o = new f(100, "px"), s = new T(), i = new T(), r = new f(100, "px"), l = new f(100, "px"), n, d, a, c, u, m, b, w, g = () => this.visible) {
2367
- this.property = e, this.headerLabel = t, this.width = o, this.classes = s, this.rendererMap = i, this.minWidth = r, this.maxWidth = l, this.sortable = n, this.sortComparator = d, this.sortState = a, this.sortStatesOrder = c, this.sortIconVisible = u, this.editable = m, this.getEditRenderer = b, this.editInputPipe = w, this.isVisible = g, this.visible = !0;
2515
+ const ze = () => !0, re = () => !1;
2516
+ class B {
2517
+ constructor(e, t, o = new f(100, "px"), s = new T(), i = new T(), r = new f(100, "px"), l = new f(100, "px"), n, d, a, c, u, m, b, S, g = () => this.visible) {
2518
+ this.property = e, this.headerLabel = t, this.width = o, this.classes = s, this.rendererMap = i, this.minWidth = r, this.maxWidth = l, this.sortable = n, this.sortComparator = d, this.sortState = a, this.sortStatesOrder = c, this.sortIconVisible = u, this.editable = m, this.getEditRenderer = b, this.editInputPipe = S, this.isVisible = g, this.visible = !0;
2368
2519
  }
2369
2520
  static bodyRenderer(e) {
2370
2521
  return new T(
@@ -2382,8 +2533,8 @@ class H {
2382
2533
  e.headerClasses,
2383
2534
  e.bodyClasses,
2384
2535
  e.footerClasses
2385
- ), s = e.sortIconVisible ?? e.sortable ?? oe, i = e.editable ?? e.editable ?? oe, r = e.isVisible ?? e.isVisible ?? We;
2386
- return new H(
2536
+ ), s = e.sortIconVisible ?? e.sortable ?? re, i = e.editable ?? e.editable ?? re, r = e.isVisible ?? e.isVisible ?? ze;
2537
+ return new B(
2387
2538
  e.property ?? "",
2388
2539
  e.headerLabel ?? "",
2389
2540
  e.width ?? new f(100, "px"),
@@ -2403,11 +2554,14 @@ class H {
2403
2554
  );
2404
2555
  }
2405
2556
  }
2406
- const qe = new f(300, "px"), Je = new f(290, "px"), Qe = new f(280, "px"), Ze = new f(270, "px"), et = new f(260, "px"), tt = new f(250, "px"), ot = new f(240, "px"), st = new f(230, "px"), it = new f(220, "px"), rt = new f(210, "px"), se = new f(200, "px"), lt = new f(190, "px"), nt = new f(180, "px"), at = new f(170, "px"), dt = new f(160, "px"), ht = new f(150, "px"), ct = new f(140, "px"), ut = new f(130, "px"), gt = new f(120, "px"), bt = new f(110, "px"), pt = new f(100, "px"), ft = new f(90, "px"), mt = new f(80, "px"), wt = new f(70, "px"), St = new f(60, "px"), xt = new f(50, "px"), yt = new f(40, "px"), Ct = new f(30, "px"), vt = new f(20, "px"), Rt = new f(10, "px"), At = new f(0, "px");
2407
- class J {
2557
+ const Ze = new f(300, "px"), et = new f(290, "px"), tt = new f(280, "px"), ot = new f(270, "px"), st = new f(260, "px"), it = new f(250, "px"), rt = new f(240, "px"), lt = new f(230, "px"), nt = new f(220, "px"), at = new f(210, "px"), le = new f(200, "px"), dt = new f(190, "px"), ht = new f(180, "px"), ct = new f(170, "px"), ut = new f(160, "px"), gt = new f(150, "px"), bt = new f(140, "px"), pt = new f(130, "px"), ft = new f(120, "px"), mt = new f(110, "px"), St = new f(100, "px"), wt = new f(90, "px"), xt = new f(80, "px"), yt = new f(70, "px"), Ct = new f(60, "px"), vt = new f(50, "px"), Rt = new f(40, "px"), At = new f(30, "px"), Et = new f(20, "px"), Mt = new f(10, "px"), kt = new f(0, "px");
2558
+ class Z {
2408
2559
  constructor(e, t = [], o = -1) {
2409
2560
  this.areaIdent = e, this.columnDefs = t, this.defaultRowHeight = o, this.rowSelectionModel = void 0, this.yPositions = [], this.cellRenderers = t.map((s) => s.rendererMap[e]);
2410
2561
  }
2562
+ getTextValueAt(e, t) {
2563
+ return "" + this.getValueAt(e, t);
2564
+ }
2411
2565
  getTooltipAt(e, t) {
2412
2566
  return "";
2413
2567
  }
@@ -2495,7 +2649,7 @@ class J {
2495
2649
  this.yPositions[t + 1] = this.getRowHeight(t) + this.yPositions[t];
2496
2650
  }
2497
2651
  }
2498
- class D extends J {
2652
+ class _ extends Z {
2499
2653
  constructor(e, t, o, s = []) {
2500
2654
  super(e, s, o), this.areaIdent = e, this.arr = t, this.defaultRowHeight = o, this.columnDefs = s, this.filteredArr = [...t];
2501
2655
  }
@@ -2523,7 +2677,7 @@ class D extends J {
2523
2677
  this.filteredArr.forEach((o) => this.arrayMove(o, e, t)), super.changeColumnOrder(e, t);
2524
2678
  }
2525
2679
  }
2526
- class _ {
2680
+ class D {
2527
2681
  constructor(e = "body") {
2528
2682
  this.areaIdent = e, this.rowSelectionModel = void 0;
2529
2683
  }
@@ -2533,6 +2687,9 @@ class _ {
2533
2687
  getValueAt(e, t) {
2534
2688
  return "";
2535
2689
  }
2690
+ getTextValueAt(e, t) {
2691
+ return "";
2692
+ }
2536
2693
  getCellRenderer(e, t) {
2537
2694
  }
2538
2695
  getRowHeight(e) {
@@ -2592,7 +2749,7 @@ class _ {
2592
2749
  changeColumnOrder(e, t) {
2593
2750
  }
2594
2751
  }
2595
- class Ge {
2752
+ class je {
2596
2753
  flattenTree(e, t = []) {
2597
2754
  var o;
2598
2755
  for (const s of e)
@@ -2603,7 +2760,7 @@ class Ge {
2603
2760
  return e.parent ? e.parent.expanded ? this.isVisible(e.parent) : !1 : !0;
2604
2761
  }
2605
2762
  }
2606
- class be {
2763
+ class me {
2607
2764
  genericSortComparator(e, t, o) {
2608
2765
  if (typeof e == "number" && typeof t == "number")
2609
2766
  return o * (e - t);
@@ -2621,9 +2778,9 @@ class be {
2621
2778
  return o * ("" + e).localeCompare("" + t);
2622
2779
  }
2623
2780
  }
2624
- class ie extends J {
2781
+ class ne extends Z {
2625
2782
  constructor(e, t, o, s = []) {
2626
- super(e, s, o), this.areaIdent = e, this.rows = t, this.defaultRowHeight = o, this.columnDefs = s, this.type = "AreaModelTree", this.sorterService = new be(), this.service = new Ge(), this.properties = s.map((i) => i.property), this.flattenRows = this.service.flattenTree(t), this.filteredFlattenRows = [...this.flattenRows];
2783
+ super(e, s, o), this.areaIdent = e, this.rows = t, this.defaultRowHeight = o, this.columnDefs = s, this.type = "AreaModelTree", this.sorterService = new me(), this.service = new je(), this.properties = s.map((i) => i.property), this.flattenRows = this.service.flattenTree(t), this.filteredFlattenRows = [...this.flattenRows];
2627
2784
  }
2628
2785
  changeColumnOrder(e, t) {
2629
2786
  this.arrayMove(this.properties, e, t), super.changeColumnOrder(e, t);
@@ -2725,7 +2882,7 @@ class ie extends J {
2725
2882
  s.children && this.treeSort(s.children, t, o);
2726
2883
  }
2727
2884
  }
2728
- class re {
2885
+ class ae {
2729
2886
  constructor(e = []) {
2730
2887
  this.allRootNodes = e;
2731
2888
  }
@@ -2785,12 +2942,12 @@ class re {
2785
2942
  o.checked && t.push(o), o.children && this.addSelectedRecursive(o.children, t);
2786
2943
  }
2787
2944
  }
2788
- class le {
2945
+ class de {
2789
2946
  constructor(e = 0, t = 0, o = 0, s = 0) {
2790
2947
  this.top = e, this.right = t, this.bottom = o, this.left = s;
2791
2948
  }
2792
2949
  }
2793
- class Ne {
2950
+ class Xe {
2794
2951
  constructor() {
2795
2952
  this.checkedRows = [];
2796
2953
  }
@@ -2824,8 +2981,8 @@ class Ne {
2824
2981
  class N {
2825
2982
  constructor(e, t, o, s = 0, i = 0, r = !1, l = new V(), n = [], d = [], a = -1, c = 0, u = 400, m = () => {
2826
2983
  }) {
2827
- var b, w, g, p;
2828
- this.headerAreaModel = e, this.bodyAreaModel = t, this.footerAreaModel = o, this.fixedLeftColumnCount = s, this.fixedRightColumnCount = i, this.rowCheckboxVisible = r, this.defaultRowHeights = l, this.columnDefs = n, this.columnSizes = d, this.overridingColumnWidth = a, this.columnCount = c, this.parentSize = u, this.getSelectionModel = m, this.rowCount = 0, this.contentHeightInPx = 0, this.contentWidthInPx = 0, this.padding = new le(0, 0, 0, 0), this.xPositions = [], e.areaIdent = "header", t.areaIdent = "body", o.areaIdent = "footer", this.columnCount || ((b = this.columnDefs) != null && b.length ? this.columnCount = this.columnDefs.length : (w = this.columnSizes) != null && w.length && (this.columnCount = (g = this.columnSizes) == null ? void 0 : g.length)), (p = this.columnDefs) != null && p.length && fe(this.columnDefs[0]) && !t.rowSelectionModel && (t.rowSelectionModel = new Ne());
2984
+ var b, S, g, p;
2985
+ this.headerAreaModel = e, this.bodyAreaModel = t, this.footerAreaModel = o, this.fixedLeftColumnCount = s, this.fixedRightColumnCount = i, this.rowCheckboxVisible = r, this.defaultRowHeights = l, this.columnDefs = n, this.columnSizes = d, this.overridingColumnWidth = a, this.columnCount = c, this.parentSize = u, this.getSelectionModel = m, this.rowCount = 0, this.contentHeightInPx = 0, this.contentWidthInPx = 0, this.padding = new de(0, 0, 0, 0), this.xPositions = [], e.areaIdent = "header", t.areaIdent = "body", o.areaIdent = "footer", this.columnCount || ((b = this.columnDefs) != null && b.length ? this.columnCount = this.columnDefs.length : (S = this.columnSizes) != null && S.length && (this.columnCount = (g = this.columnSizes) == null ? void 0 : g.length)), (p = this.columnDefs) != null && p.length && we(this.columnDefs[0]) && !t.rowSelectionModel && (t.rowSelectionModel = new Xe());
2829
2986
  }
2830
2987
  init() {
2831
2988
  this.recalcSize(this.parentSize), this.overridingColumnWidth === -1 && this.calcXPositions(), this.headerAreaModel && this.headerAreaModel.init(), this.bodyAreaModel && this.bodyAreaModel.init(), this.footerAreaModel && this.footerAreaModel.init();
@@ -2906,7 +3063,7 @@ class N {
2906
3063
  */
2907
3064
  recalcPadding() {
2908
3065
  const e = this.getSideAreaWidth("west"), t = this.getSideAreaWidth("east"), o = this.getAreaHeight("header"), s = this.getAreaHeight("footer");
2909
- this.padding = new le(
3066
+ this.padding = new de(
2910
3067
  o,
2911
3068
  t,
2912
3069
  s,
@@ -3170,9 +3327,9 @@ class N {
3170
3327
  this.xPositions[t + 1] = this.getColumnWidth(t) + this.xPositions[t];
3171
3328
  }
3172
3329
  }
3173
- class ze extends J {
3330
+ class Ye extends Z {
3174
3331
  constructor(e, t, o, s = []) {
3175
- super(e, s, o), this.areaIdent = e, this.rows = t, this.defaultRowHeight = o, this.columnDefs = s, this.sorterService = new be(), this.filteredRows = [...t], this.properties = s.map((i) => i.property);
3332
+ super(e, s, o), this.areaIdent = e, this.rows = t, this.defaultRowHeight = o, this.columnDefs = s, this.sorterService = new me(), this.filteredRows = [...t], this.properties = s.map((i) => i.property);
3176
3333
  }
3177
3334
  getRowCount() {
3178
3335
  var e;
@@ -3223,7 +3380,7 @@ class ze extends J {
3223
3380
  return s && t.length ? this.getPropertyValue(s, t) : s;
3224
3381
  }
3225
3382
  }
3226
- class ne extends ze {
3383
+ class he extends Ye {
3227
3384
  constructor(e, t, o, s) {
3228
3385
  super(
3229
3386
  e,
@@ -3235,7 +3392,7 @@ class ne extends ze {
3235
3392
  }
3236
3393
  class L {
3237
3394
  static createTableModel(e) {
3238
- var t, o, s, i, r, l, n, d, a, c, u, m, b, w;
3395
+ var t, o, s, i, r, l, n, d, a, c, u, m, b, S;
3239
3396
  if (e.defaultRowHeights === void 0)
3240
3397
  if ((t = e.tableOptions) != null && t.defaultRowHeights)
3241
3398
  e.defaultRowHeights = e.tableOptions.defaultRowHeights;
@@ -3253,45 +3410,45 @@ class L {
3253
3410
  g > -1 && (e.defaultRowHeights.footer = g);
3254
3411
  }
3255
3412
  }
3256
- if (e.columnDefs === void 0 && ((o = e.properties) != null && o.length ? e.columnDefs = e.properties.map((g) => new H(g, g.toUpperCase(), se)) : (s = e.rows) != null && s.length ? e.columnDefs = Object.keys(e.rows[0]).map((g) => new H(g, g.toUpperCase(), se)) : e.columnDefs = []), e.columnCount === void 0 && ((i = e.columnDefs) != null && i.length ? e.columnCount = e.columnDefs.length : (r = e.headerData) != null && r.length ? e.columnCount = e.headerData[0].length : (l = e.columnSizes) != null && l.length ? e.columnCount = (n = e.columnSizes) == null ? void 0 : n.length : console.warn('Property "columnCount" is missing and cannot be derived from other properties.')), e.headerAreaModel || ((d = e.headerData) != null && d.length ? e.headerAreaModel = new D(
3413
+ if (e.columnDefs === void 0 && ((o = e.properties) != null && o.length ? e.columnDefs = e.properties.map((g) => new B(g, g.toUpperCase(), le)) : (s = e.rows) != null && s.length ? e.columnDefs = Object.keys(e.rows[0]).map((g) => new B(g, g.toUpperCase(), le)) : e.columnDefs = []), e.columnCount === void 0 && ((i = e.columnDefs) != null && i.length ? e.columnCount = e.columnDefs.length : (r = e.headerData) != null && r.length ? e.columnCount = e.headerData[0].length : (l = e.columnSizes) != null && l.length ? e.columnCount = (n = e.columnSizes) == null ? void 0 : n.length : console.warn('Property "columnCount" is missing and cannot be derived from other properties.')), e.headerAreaModel || ((d = e.headerData) != null && d.length ? e.headerAreaModel = new _(
3257
3414
  "header",
3258
3415
  e.headerData,
3259
3416
  e.defaultRowHeights.header,
3260
3417
  e.columnDefs
3261
- ) : (a = e.columnDefs) != null && a.length ? e.headerAreaModel = new D(
3418
+ ) : (a = e.columnDefs) != null && a.length ? e.headerAreaModel = new _(
3262
3419
  "header",
3263
3420
  [e.columnDefs.map((g) => g.headerLabel)],
3264
3421
  e.defaultRowHeights.header,
3265
3422
  e.columnDefs
3266
- ) : e.headerAreaModel = new _("header")), e.footerAreaModel || ((c = e.footerData) != null && c.length ? e.footerAreaModel = new D(
3423
+ ) : e.headerAreaModel = new D("header")), e.footerAreaModel || ((c = e.footerData) != null && c.length ? e.footerAreaModel = new _(
3267
3424
  "footer",
3268
3425
  e.footerData,
3269
3426
  e.defaultRowHeights.footer,
3270
3427
  e.columnDefs
3271
- ) : e.footerAreaModel = new _("footer")), !e.bodyAreaModel)
3428
+ ) : e.footerAreaModel = new D("footer")), !e.bodyAreaModel)
3272
3429
  if (e.rows)
3273
3430
  if ((u = e.rows) != null && u.length && O(e.rows[0])) {
3274
3431
  const g = e.rows;
3275
- e.bodyAreaModel = new ie(
3432
+ e.bodyAreaModel = new ne(
3276
3433
  "body",
3277
3434
  g,
3278
3435
  e.defaultRowHeights.body,
3279
3436
  e.columnDefs
3280
- ), (e.columnDefs[0].property === "CheckboxColumn" || (m = e.tableOptions) != null && m.showCheckboxWihoutExtraColumn) && (e.bodyAreaModel.rowSelectionModel = new re(g));
3437
+ ), (e.columnDefs[0].property === "CheckboxColumn" || (m = e.tableOptions) != null && m.showCheckboxWihoutExtraColumn) && (e.bodyAreaModel.rowSelectionModel = new ae(g));
3281
3438
  } else
3282
- e.bodyAreaModel = new ne(
3439
+ e.bodyAreaModel = new he(
3283
3440
  "body",
3284
3441
  e.rows,
3285
3442
  e.columnDefs,
3286
3443
  e.defaultRowHeights.body
3287
3444
  );
3288
3445
  else
3289
- e.bodyData ? e.bodyAreaModel = new D(
3446
+ e.bodyData ? e.bodyAreaModel = new _(
3290
3447
  "body",
3291
3448
  e.bodyData,
3292
3449
  e.defaultRowHeights.body
3293
- ) : e.bodyAreaModel = new _("body");
3294
- return e.fixedLeftColumnCount === void 0 && (e.fixedLeftColumnCount = 0), e.fixedRightColumnCount === void 0 && (e.fixedRightColumnCount = 0), e.rowCheckboxVisible === void 0 && (e.rowCheckboxVisible = !1), e.overridingColumnWidth === void 0 && (e.overridingColumnWidth = -1), !e.getSelectionModel && ((b = e.tableOptions) != null && b.getSelectionModel) && (e.getSelectionModel = (w = e.tableOptions) == null ? void 0 : w.getSelectionModel), new N(
3450
+ ) : e.bodyAreaModel = new D("body");
3451
+ return e.fixedLeftColumnCount === void 0 && (e.fixedLeftColumnCount = 0), e.fixedRightColumnCount === void 0 && (e.fixedRightColumnCount = 0), e.rowCheckboxVisible === void 0 && (e.rowCheckboxVisible = !1), e.overridingColumnWidth === void 0 && (e.overridingColumnWidth = -1), !e.getSelectionModel && ((b = e.tableOptions) != null && b.getSelectionModel) && (e.getSelectionModel = (S = e.tableOptions) == null ? void 0 : S.getSelectionModel), new N(
3295
3452
  e.headerAreaModel,
3296
3453
  e.bodyAreaModel,
3297
3454
  e.footerAreaModel,
@@ -3319,16 +3476,16 @@ class L {
3319
3476
  static buildByTypedRows(e, t, o = new j(), s = 0, i = 0) {
3320
3477
  const r = o.defaultRowHeights, l = t[0].property === "CheckboxColumn";
3321
3478
  if (e != null && e.length && O(e[0])) {
3322
- const n = e, d = new ie(
3479
+ const n = e, d = new ne(
3323
3480
  "body",
3324
3481
  n,
3325
3482
  r.body,
3326
3483
  t
3327
3484
  );
3328
- return (l || o.showCheckboxWihoutExtraColumn) && (d.rowSelectionModel = new re(n)), L.createByAreaModelsParam({
3329
- headerAreaModel: new D("header", [t.map((a) => a.headerLabel)], r.header),
3485
+ return (l || o.showCheckboxWihoutExtraColumn) && (d.rowSelectionModel = new ae(n)), L.createByAreaModelsParam({
3486
+ headerAreaModel: new _("header", [t.map((a) => a.headerLabel)], r.header),
3330
3487
  bodyAreaModel: d,
3331
- footerAreaModel: new D("footer", [], r.footer),
3488
+ footerAreaModel: new _("footer", [], r.footer),
3332
3489
  columnDefs: t,
3333
3490
  fixedLeftColumnCount: s,
3334
3491
  fixedRightColumnCount: i,
@@ -3361,7 +3518,7 @@ class L {
3361
3518
  e.columnSizes ?? []
3362
3519
  );
3363
3520
  }
3364
- static createByAreaModels(e = new _(), t, o = new _(), s = 0, i = 0, r = !1, l = new V(), n, d = [], a = -1, c) {
3521
+ static createByAreaModels(e = new D(), t, o = new D(), s = 0, i = 0, r = !1, l = new V(), n, d = [], a = -1, c) {
3365
3522
  return new N(
3366
3523
  e,
3367
3524
  t,
@@ -3378,9 +3535,9 @@ class L {
3378
3535
  }
3379
3536
  static createByAreaModelsParam(e) {
3380
3537
  return L.createByAreaModels(
3381
- e.headerAreaModel ?? new _(),
3538
+ e.headerAreaModel ?? new D(),
3382
3539
  e.bodyAreaModel,
3383
- e.footerAreaModel ?? new _(),
3540
+ e.footerAreaModel ?? new D(),
3384
3541
  e.fixedLeftColumnCount ?? 0,
3385
3542
  e.fixedRightColumnCount ?? 0,
3386
3543
  e.rowCheckboxVisible === void 0 ? !1 : e.rowCheckboxVisible,
@@ -3393,8 +3550,8 @@ class L {
3393
3550
  }
3394
3551
  static createByObjectArray(e, t = [], o = [], s = 0, i = 0, r = !1, l = new V(), n, d = []) {
3395
3552
  let a;
3396
- t != null && t.length ? a = new D("header", t, l.header, n) : n != null && n.length ? a = new D("header", [n.map((m) => m.headerLabel)], l.header, n) : a = new _();
3397
- const c = o ? new D("footer", o, l.footer, n) : new _(), u = new ne("body", e, n, l.body);
3553
+ t != null && t.length ? a = new _("header", t, l.header, n) : n != null && n.length ? a = new _("header", [n.map((m) => m.headerLabel)], l.header, n) : a = new D();
3554
+ const c = o ? new _("footer", o, l.footer, n) : new D(), u = new he("body", e, n, l.body);
3398
3555
  return new N(
3399
3556
  a,
3400
3557
  u,
@@ -3408,8 +3565,8 @@ class L {
3408
3565
  );
3409
3566
  }
3410
3567
  }
3411
- const Et = [
3412
- //"COPY_2_CLIPBOARD",
3568
+ const It = [
3569
+ "COPY_2_CLIPBOARD",
3413
3570
  "START_EDITING",
3414
3571
  "TOGGLE_SELECTION",
3415
3572
  "SELECT_ALL",
@@ -3426,17 +3583,17 @@ const Et = [
3426
3583
  // "PAGEUP_PRESSED",
3427
3584
  // "PAGEDOWN_PRESSED"
3428
3585
  ];
3429
- class Mt {
3586
+ class Tt {
3430
3587
  constructor(e, t) {
3431
3588
  this.tableModel = e, this.tableOptions = t;
3432
3589
  }
3433
3590
  }
3434
- class je {
3591
+ class Ke {
3435
3592
  constructor(e, t, o, s, i, r, l) {
3436
3593
  this.emmitDataKey = e, this.emmitCancelKey = t, this.queryId = o, this.filter = s, this.sorting = i, this.startIndex = r, this.endIndex = l;
3437
3594
  }
3438
3595
  }
3439
- class kt extends je {
3596
+ class _t extends Ke {
3440
3597
  constructor(e, t, o, s, i, r, l, n) {
3441
3598
  super(
3442
3599
  e,
@@ -3449,30 +3606,30 @@ class kt extends je {
3449
3606
  ), this.rows = n;
3450
3607
  }
3451
3608
  }
3452
- class Xe {
3609
+ class Ue {
3453
3610
  constructor(e, t) {
3454
3611
  this.value = e, this.label = t;
3455
3612
  }
3456
3613
  }
3457
- class It {
3614
+ class Dt {
3458
3615
  constructor(e, t) {
3459
3616
  this.index = e, this.px = t;
3460
3617
  }
3461
3618
  }
3462
- const Tt = { body: ["ge-table-text-align-left"] }, Dt = { body: ["ge-table-text-align-center"] }, _t = { body: ["ge-table-text-align-right"] }, $t = {
3619
+ const $t = { body: ["ge-table-text-align-left"] }, Pt = { body: ["ge-table-text-align-center"] }, Lt = { body: ["ge-table-text-align-right"] }, Ft = {
3463
3620
  header: ["ge-table-text-align-left"],
3464
3621
  body: ["ge-table-text-align-left"],
3465
3622
  footer: ["ge-table-text-align-left"]
3466
- }, Ft = {
3623
+ }, Ot = {
3467
3624
  header: ["ge-table-text-align-center"],
3468
3625
  body: ["ge-table-text-align-center"],
3469
3626
  footer: ["ge-table-text-align-center"]
3470
- }, Lt = {
3627
+ }, Vt = {
3471
3628
  header: ["ge-table-text-align-right"],
3472
3629
  body: ["ge-table-text-align-right"],
3473
3630
  footer: ["ge-table-text-align-right"]
3474
3631
  };
3475
- class ae {
3632
+ class ce {
3476
3633
  render(e, t, o, s, i, r, l) {
3477
3634
  if (i.isRowCheckable(t)) {
3478
3635
  l.addClass(e, "ge-table-row-checkbox-div");
@@ -3490,16 +3647,16 @@ class ae {
3490
3647
  }
3491
3648
  }
3492
3649
  }
3493
- class Pt {
3650
+ class Bt {
3494
3651
  constructor() {
3495
- this.type = "CheckboxColumnDef", this.property = "CheckboxColumn", this.headerLabel = "", this.width = new f(50, "px"), this.minWidth = new f(50, "px"), this.maxWidth = new f(100, "px"), this.rendererMap = new T(new ae(), new ae(), void 0), this.classes = new T(
3652
+ this.type = "CheckboxColumnDef", this.property = "CheckboxColumn", this.headerLabel = "", this.width = new f(50, "px"), this.minWidth = new f(50, "px"), this.maxWidth = new f(100, "px"), this.rendererMap = new T(new ce(), new ce(), void 0), this.classes = new T(
3496
3653
  [],
3497
3654
  ["ge-table-text-align-left"],
3498
3655
  []
3499
3656
  );
3500
3657
  }
3501
3658
  }
3502
- class Ot {
3659
+ class Ht {
3503
3660
  /**
3504
3661
  * A factory that creates a new AreaObjectMap with the given body renderer.
3505
3662
  *
@@ -3514,17 +3671,17 @@ class Ot {
3514
3671
  );
3515
3672
  }
3516
3673
  }
3517
- class Vt {
3674
+ class Wt {
3518
3675
  constructor(e = "down", t) {
3519
3676
  this.status = e, this.originalEvent = t;
3520
3677
  }
3521
3678
  }
3522
- class Ht {
3679
+ class Gt {
3523
3680
  constructor(e, t, o, s, i = {}) {
3524
3681
  this.area = e, this.rowIndex = t, this.columnIndex = o, this.value = s, this.cssClasses = i;
3525
3682
  }
3526
3683
  }
3527
- class Bt {
3684
+ class Nt {
3528
3685
  constructor() {
3529
3686
  this.autoRestoreSortingState = !1, this.autoRestoreCollapsedExpandedState = !1, this.autoRestoreScrollPosition = !1, this.autoRestoreCheckedState = !1, this.autoRestoreSelectedState = !1, this.getStorageKeyFn = void 0, this.isSame = (e, t, o) => {
3530
3687
  if (e && t && o.getRowId) {
@@ -3549,12 +3706,12 @@ class Bt {
3549
3706
  };
3550
3707
  }
3551
3708
  }
3552
- class Ke {
3709
+ class qe {
3553
3710
  constructor(e, t, o, s = !1, i = "normal", r = void 0) {
3554
3711
  this.data = e, this.property = t, this.toggle = o, this.closed = s, this.visibility = i, this.children = r, this.impl = "CellGroup";
3555
3712
  }
3556
3713
  }
3557
- class Ye extends Ke {
3714
+ class Je extends qe {
3558
3715
  constructor(e, t = 0, o = 0, s) {
3559
3716
  super(
3560
3717
  e.data,
@@ -3648,7 +3805,7 @@ class I {
3648
3805
  static buildColumnDefs(e, t = []) {
3649
3806
  for (const o of e)
3650
3807
  o.property && t.push(
3651
- H.create({
3808
+ B.create({
3652
3809
  property: o.property,
3653
3810
  headerLabel: o.data ? o.data : o.property,
3654
3811
  isVisible: () => typeof o.isVisible == "function" ? o.isVisible() : !0
@@ -3677,7 +3834,7 @@ class I {
3677
3834
  static buildGroupExts(e, t = [], o = 0, s) {
3678
3835
  let i;
3679
3836
  for (let r = 0; r < e.length; r++) {
3680
- const l = e[r], n = new Ye(l, o, r, s);
3837
+ const l = e[r], n = new Je(l, o, r, s);
3681
3838
  i && (n.leftNeighbour = i, i.rightNeighbour = n), t.push(n), l.children && (n.children = I.buildGroupExts(l.children, [], o + 1, n)), i = n;
3682
3839
  }
3683
3840
  return t;
@@ -3719,7 +3876,7 @@ class I {
3719
3876
  e.push(s.data + " rowIndex:" + s.rowIndex), (o = s.children) != null && o.length && I.iterateThrowColumns(e, s.children);
3720
3877
  }
3721
3878
  }
3722
- class Wt {
3879
+ class zt {
3723
3880
  constructor() {
3724
3881
  this.areaIdent = "body", this.rowSelectionModel = void 0;
3725
3882
  }
@@ -3761,6 +3918,9 @@ class Wt {
3761
3918
  }
3762
3919
  getValueAt(e, t) {
3763
3920
  }
3921
+ getTextValueAt(e, t) {
3922
+ return "";
3923
+ }
3764
3924
  getYPosByRowIndex(e) {
3765
3925
  return 0;
3766
3926
  }
@@ -3786,16 +3946,16 @@ class Wt {
3786
3946
  return !1;
3787
3947
  }
3788
3948
  }
3789
- class Ue {
3949
+ class Qe {
3790
3950
  render(e, t, o, s, i, r, l) {
3791
3951
  const n = r != null && r.data ? r.data : "";
3792
3952
  e.innerHTML = `${n}`;
3793
3953
  }
3794
3954
  }
3795
- class Gt {
3955
+ class jt {
3796
3956
  constructor(e = "header", t, o = [], s) {
3797
3957
  var i;
3798
- this.areaIdent = e, this.groups = t, this.columnDefs = o, this.defaultRowHeight = s, this.gammaCells = !0, this.groupExts = [], this.cellGroupExtCellRenderer = new Ue(), this.groupExts = I.buildGroupExts(t), console.info(this.groupExts), console.info(this.getAllLeafs()), console.info(this.getMaxRowCount());
3958
+ this.areaIdent = e, this.groups = t, this.columnDefs = o, this.defaultRowHeight = s, this.gammaCells = !0, this.groupExts = [], this.cellGroupExtCellRenderer = new Qe(), this.groupExts = I.buildGroupExts(t), console.info(this.groupExts), console.info(this.getAllLeafs()), console.info(this.getMaxRowCount());
3799
3959
  for (const r of this.groupExts)
3800
3960
  r.log(this.getMaxRowCount());
3801
3961
  this.arr = this.buildArray(), !((i = this.columnDefs) != null && i.length) && e === "header" && (this.columnDefs = I.buildColumnDefs(t)), console.info("this.columnDefs", this.columnDefs), console.info("this.arr", this.arr);
@@ -3862,6 +4022,9 @@ class Gt {
3862
4022
  getValueAt(e, t) {
3863
4023
  return this.arr[e][t];
3864
4024
  }
4025
+ getTextValueAt(e, t) {
4026
+ return "" + this.getValueAt(e, t);
4027
+ }
3865
4028
  getYPosByRowIndex(e) {
3866
4029
  return 0;
3867
4030
  }
@@ -3890,7 +4053,7 @@ class Gt {
3890
4053
  return !1;
3891
4054
  }
3892
4055
  }
3893
- class Nt {
4056
+ class Xt {
3894
4057
  filterPredict(e, t, o = this.objectToString.bind(this)) {
3895
4058
  if (!e)
3896
4059
  return !1;
@@ -3944,12 +4107,12 @@ class Nt {
3944
4107
  return t.join(" ").toLowerCase();
3945
4108
  }
3946
4109
  }
3947
- class zt {
4110
+ class Yt {
3948
4111
  static bodyRenderer(e) {
3949
4112
  return new T(void 0, e, void 0);
3950
4113
  }
3951
4114
  }
3952
- class jt {
4115
+ class Kt {
3953
4116
  constructor(e, t = !0, o = !1) {
3954
4117
  this.property = e, this.skipCheckableCheck = t, this.readonly = o;
3955
4118
  }
@@ -3974,12 +4137,12 @@ class jt {
3974
4137
  }
3975
4138
  }
3976
4139
  }
3977
- class Xt {
4140
+ class Ut {
3978
4141
  render(e, t, o, s, i, r, l) {
3979
4142
  r && (e.innerText = new Date(r).toISOString());
3980
4143
  }
3981
4144
  }
3982
- class Kt {
4145
+ class qt {
3983
4146
  constructor() {
3984
4147
  this.formatter = new Intl.DateTimeFormat("de-DE", {
3985
4148
  year: "numeric",
@@ -4002,17 +4165,17 @@ class Kt {
4002
4165
  }
4003
4166
  }
4004
4167
  }
4005
- class Yt {
4168
+ class Jt {
4006
4169
  render(e, t, o, s, i, r, l) {
4007
4170
  r && (e.innerText = new Date(r).toLocaleDateString());
4008
4171
  }
4009
4172
  }
4010
- class Ut {
4173
+ class Qt {
4011
4174
  render(e, t, o, s, i, r, l) {
4012
4175
  r === "male" || r === "m" ? e.innerText = "♂" : (r === "female" || r === "f") && (e.innerText = "♀");
4013
4176
  }
4014
4177
  }
4015
- class qt {
4178
+ class Zt {
4016
4179
  constructor(e = 100, t = !1) {
4017
4180
  this.maxValue = e, this.labelVisible = t;
4018
4181
  }
@@ -4042,17 +4205,17 @@ class qt {
4042
4205
  }
4043
4206
  }
4044
4207
  }
4045
- class Jt {
4208
+ class eo {
4046
4209
  render(e, t, o, s, i, r, l) {
4047
4210
  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 = "";
4048
4211
  }
4049
4212
  }
4050
- class Qt {
4213
+ class to {
4051
4214
  render(e, t, o, s, i, r, l) {
4052
4215
  r && (e.innerText = new Date(r).toISOString().replace(/T/g, " ").replace(/\..*/g, ""));
4053
4216
  }
4054
4217
  }
4055
- class Zt {
4218
+ class oo {
4056
4219
  constructor(e = Number.MIN_SAFE_INTEGER, t = Number.MAX_SAFE_INTEGER) {
4057
4220
  this.min = e, this.max = t;
4058
4221
  }
@@ -4060,7 +4223,7 @@ class Zt {
4060
4223
  r && (e.innerText = r, (typeof r == "string" || isNaN(r) || r < this.min || r > this.max) && l.addClass(e, "ge-cell-error"));
4061
4224
  }
4062
4225
  }
4063
- class eo {
4226
+ class so {
4064
4227
  constructor(e) {
4065
4228
  this.property = e;
4066
4229
  }
@@ -4079,7 +4242,7 @@ class eo {
4079
4242
  }
4080
4243
  }
4081
4244
  }
4082
- class to {
4245
+ class io {
4083
4246
  constructor(e, t = 100, o = !1) {
4084
4247
  this.property = e, this.maxValue = t, this.labelVisible = o;
4085
4248
  }
@@ -4111,16 +4274,36 @@ class to {
4111
4274
  }
4112
4275
  }
4113
4276
  }
4114
- const oo = function(h, e, t) {
4277
+ class ro {
4278
+ render(e, t, o, s, i, r, l) {
4279
+ if (r) {
4280
+ e.innerHTML = `
4281
+ <div
4282
+ class="ge-table-label-div"
4283
+ data-row-index=${t}"
4284
+ data-col-index="${o}"
4285
+ data-area="${s}"
4286
+ style="position: relative; background: transparent; width: 100%; height: 100%;">
4287
+ <div
4288
+ class="ge-table-label"
4289
+ data-row-index="${t}"
4290
+ data-col-index="${o}"
4291
+ data-area="${s}">${r}</div></div>`;
4292
+ const n = Number(r);
4293
+ n > 0 ? l.addClass(e, "ge-positive-text-color") : n < 0 && l.addClass(e, "ge-negative-text-color");
4294
+ }
4295
+ }
4296
+ }
4297
+ const lo = function(h, e, t) {
4115
4298
  return h ? Number(h) : "";
4116
4299
  };
4117
- class pe {
4300
+ class Se {
4118
4301
  constructor(e) {
4119
4302
  this.options = e;
4120
4303
  }
4121
4304
  static create(e) {
4122
- return new pe(
4123
- e.map((t) => new Xe(t, t))
4305
+ return new Se(
4306
+ e.map((t) => new Ue(t, t))
4124
4307
  );
4125
4308
  }
4126
4309
  render(e, t, o, s, i, r, l) {
@@ -4148,12 +4331,12 @@ class pe {
4148
4331
  }
4149
4332
  }
4150
4333
  }
4151
- class so {
4334
+ class no {
4152
4335
  constructor(e, t, o) {
4153
4336
  this.r = e, this.g = t, this.b = o;
4154
4337
  }
4155
4338
  }
4156
- class de {
4339
+ class ue {
4157
4340
  constructor(e, t, o, s) {
4158
4341
  this.minValue = e, this.minColor = t, this.maxValue = o, this.maxColor = s;
4159
4342
  }
@@ -4167,145 +4350,147 @@ class W {
4167
4350
  return `rgb(${Math.round(l)}, ${Math.round(n)}, ${Math.round(d)})`;
4168
4351
  }
4169
4352
  static getThreeColorGradientRGB(e, t) {
4170
- return e < t.middleValue ? W.getTwoColorGradientRGB(e, new de(t.minValue, t.minColor, t.middleValue, t.middleColor)) : e > t.middleValue ? W.getTwoColorGradientRGB(e, new de(t.middleValue, t.middleColor, t.maxValue, t.maxColor)) : `rgb(${t.middleColor.r}, ${t.middleColor.g}, ${t.middleColor.b})`;
4353
+ return e < t.middleValue ? W.getTwoColorGradientRGB(e, new ue(t.minValue, t.minColor, t.middleValue, t.middleColor)) : e > t.middleValue ? W.getTwoColorGradientRGB(e, new ue(t.middleValue, t.middleColor, t.maxValue, t.maxColor)) : `rgb(${t.middleColor.r}, ${t.middleColor.g}, ${t.middleColor.b})`;
4171
4354
  }
4172
4355
  }
4173
- class io {
4356
+ class ao {
4174
4357
  constructor(e, t, o, s, i, r) {
4175
4358
  this.minValue = e, this.minColor = t, this.middleValue = o, this.middleColor = s, this.maxValue = i, this.maxColor = r;
4176
4359
  }
4177
4360
  }
4178
4361
  export {
4179
- J as AbstractAreaModel,
4180
- Ot as AreaMapFactory,
4181
- Wt as AreaModel,
4182
- D as AreaModelArrayOfArrays,
4183
- Gt as AreaModelCellGroups,
4184
- _ as AreaModelHidden,
4185
- ne as AreaModelObjectArrayWithColumndefs,
4186
- ze as AreaModelObjectyArray,
4187
- ie as AreaModelTree,
4362
+ Z as AbstractAreaModel,
4363
+ Ht as AreaMapFactory,
4364
+ zt as AreaModel,
4365
+ _ as AreaModelArrayOfArrays,
4366
+ jt as AreaModelCellGroups,
4367
+ D as AreaModelHidden,
4368
+ he as AreaModelObjectArrayWithColumndefs,
4369
+ Ye as AreaModelObjectyArray,
4370
+ ne as AreaModelTree,
4188
4371
  T as AreaObjectMap,
4189
- Bt as AutoRestoreOptions,
4190
- Ke as CellGroup,
4191
- Ye as CellGroupExt,
4192
- Ue as CellGroupExtCellRenderer,
4193
- M as CellRange,
4372
+ Nt as AutoRestoreOptions,
4373
+ qe as CellGroup,
4374
+ Je as CellGroupExt,
4375
+ Qe as CellGroupExtCellRenderer,
4376
+ v as CellRange,
4194
4377
  I as CellgroupFactory,
4195
- jt as CheckboxBooleanPropertyCellRenderer,
4196
- ae as CheckboxCellRenderer,
4197
- Pt as CheckboxColumnDef,
4198
- Ne as CheckboxModel,
4199
- kt as ChunkData,
4200
- Ee as ColAndRowspanModel,
4201
- Ce as CollapsedExpandedData,
4202
- so as ColorRgb,
4203
- H as ColumnDef,
4204
- me as ConvenienceDomService,
4205
- ge as CssVars,
4206
- Kt as DateToIntlDDMMYYYYCellRenderer,
4207
- Xt as DateToIsoCellRenderer,
4208
- Yt as DateToLocaleDateCellRenderer,
4209
- Qt as DateToTecCellRenderer,
4378
+ Kt as CheckboxBooleanPropertyCellRenderer,
4379
+ ce as CheckboxCellRenderer,
4380
+ Bt as CheckboxColumnDef,
4381
+ Xe as CheckboxModel,
4382
+ _t as ChunkData,
4383
+ Ie as ColAndRowspanModel,
4384
+ Ae as CollapsedExpandedData,
4385
+ no as ColorRgb,
4386
+ B as ColumnDef,
4387
+ xe as ConvenienceDomService,
4388
+ se as CopyService,
4389
+ fe as CssVars,
4390
+ qt as DateToIntlDDMMYYYYCellRenderer,
4391
+ Ut as DateToIsoCellRenderer,
4392
+ Jt as DateToLocaleDateCellRenderer,
4393
+ to as DateToTecCellRenderer,
4210
4394
  V as DefaultRowHeights,
4211
- Ae as EleScope,
4212
- ee as EventAdapter,
4213
- oe as FalseFn,
4214
- Ve as FocusModel,
4215
- Te as GeCellIndices,
4395
+ ke as EleScope,
4396
+ oe as EventAdapter,
4397
+ re as FalseFn,
4398
+ We as FocusModel,
4399
+ $e as GeCellIndices,
4216
4400
  W as GeCssColorUtil,
4217
- Nt as GeFilterService,
4218
- Vt as GeKeyEvent,
4219
- q as GeModelChangeEvent,
4401
+ Xt as GeFilterService,
4402
+ Wt as GeKeyEvent,
4403
+ J as GeModelChangeEvent,
4220
4404
  K as GeMouseEvent,
4221
4405
  $ as GeoData,
4222
- F as Icon,
4223
- It as IndexAndPx,
4224
- Pe as InputCellRenderer,
4225
- Ie as InputHandler,
4226
- P as LicenseManager,
4227
- Ut as MaleFemaleToIconCellRenderer,
4228
- Se as MouseHandler,
4229
- we as MouseTargetData,
4230
- qt as NumberCellProgressBarCellRenderer,
4231
- Zt as NumberCellRenderer,
4232
- $e as OsxShortcutActionIdMapping,
4233
- le as Padding,
4234
- to as ProgressBarCellRenderer,
4235
- Me as RenderScope,
4236
- zt as Renderer,
4237
- je as RequestChunk,
4238
- pe as SelectCellRenderer,
4239
- Oe as SelectionModel,
4240
- De as SelectionService,
4241
- Fe as ShortcutService,
4242
- Le as SimpleDomService,
4406
+ P as Icon,
4407
+ Dt as IndexAndPx,
4408
+ Be as InputCellRenderer,
4409
+ De as InputHandler,
4410
+ F as LicenseManager,
4411
+ Qt as MaleFemaleToIconCellRenderer,
4412
+ Ce as MouseHandler,
4413
+ ye as MouseTargetData,
4414
+ Zt as NumberCellProgressBarCellRenderer,
4415
+ oo as NumberCellRenderer,
4416
+ Fe as OsxShortcutActionIdMapping,
4417
+ de as Padding,
4418
+ ro as PositiveAndNegativeNumberRenderer,
4419
+ io as ProgressBarCellRenderer,
4420
+ Te as RenderScope,
4421
+ Yt as Renderer,
4422
+ Ke as RequestChunk,
4423
+ Se as SelectCellRenderer,
4424
+ He as SelectionModel,
4425
+ Pe as SelectionService,
4426
+ Oe as ShortcutService,
4427
+ Ve as SimpleDomService,
4243
4428
  f as Size,
4244
- ke as SortItem,
4245
- ce as SortedOptions,
4246
- eo as StarRatingCellRenderer,
4247
- ve as StoreStateCollapsedExpandService,
4248
- ye as StoreStateScrollPosService,
4249
- Re as StoreStateSortingService,
4250
- xe as TableApi,
4251
- Ht as TableCellUpdateEvent,
4429
+ _e as SortItem,
4430
+ be as SortedOptions,
4431
+ so as StarRatingCellRenderer,
4432
+ Ee as StoreStateCollapsedExpandService,
4433
+ Re as StoreStateScrollPosService,
4434
+ Me as StoreStateSortingService,
4435
+ ve as TableApi,
4436
+ Gt as TableCellUpdateEvent,
4252
4437
  L as TableFactory,
4253
4438
  N as TableModel,
4254
- Mt as TableModelAndOptions,
4439
+ Tt as TableModelAndOptions,
4255
4440
  j as TableOptions,
4256
- ue as TableScope,
4257
- io as ThreeColorGradientArg,
4258
- re as TreeCheckboxModel,
4259
- X as TreeFactory,
4260
- he as TreeOptions,
4261
- te as TreeRow,
4262
- Ge as TreeRowService,
4263
- Jt as TrueFalseCellRenderer,
4264
- We as TrueFn,
4265
- de as TwoColorGradientArg,
4266
- Xe as ValueLabel,
4267
- _e as WindowsShortcutActionIdMapping,
4268
- Et as actionIds,
4269
- Ft as allCenter,
4270
- $t as allLeft,
4271
- Lt as allRight,
4272
- Dt as bodyCenter,
4273
- Tt as bodyLeft,
4274
- _t as bodyRight,
4275
- oo as editInputPipeForNumber,
4276
- Y as getAreaIdentByString,
4441
+ pe as TableScope,
4442
+ ao as ThreeColorGradientArg,
4443
+ ae as TreeCheckboxModel,
4444
+ Y as TreeFactory,
4445
+ ge as TreeOptions,
4446
+ ie as TreeRow,
4447
+ je as TreeRowService,
4448
+ eo as TrueFalseCellRenderer,
4449
+ ze as TrueFn,
4450
+ ue as TwoColorGradientArg,
4451
+ Ue as ValueLabel,
4452
+ Le as WindowsShortcutActionIdMapping,
4453
+ It as actionIds,
4454
+ Ot as allCenter,
4455
+ Ft as allLeft,
4456
+ Vt as allRight,
4457
+ Pt as bodyCenter,
4458
+ $t as bodyLeft,
4459
+ Lt as bodyRight,
4460
+ lo as editInputPipeForNumber,
4461
+ U as getAreaIdentByString,
4277
4462
  z as isAreaModelTree,
4278
- fe as isCheckboxColumnDef,
4463
+ we as isCheckboxColumnDef,
4279
4464
  O as isTreeRow,
4280
- At as px0,
4281
- Rt as px10,
4282
- pt as px100,
4283
- bt as px110,
4284
- gt as px120,
4285
- ut as px130,
4286
- ct as px140,
4287
- ht as px150,
4288
- dt as px160,
4289
- at as px170,
4290
- nt as px180,
4291
- lt as px190,
4292
- vt as px20,
4293
- se as px200,
4294
- rt as px210,
4295
- it as px220,
4296
- st as px230,
4297
- ot as px240,
4298
- tt as px250,
4299
- et as px260,
4300
- Ze as px270,
4301
- Qe as px280,
4302
- Je as px290,
4303
- Ct as px30,
4304
- qe as px300,
4305
- yt as px40,
4306
- xt as px50,
4307
- St as px60,
4308
- wt as px70,
4309
- mt as px80,
4310
- ft as px90
4465
+ kt as px0,
4466
+ Mt as px10,
4467
+ St as px100,
4468
+ mt as px110,
4469
+ ft as px120,
4470
+ pt as px130,
4471
+ bt as px140,
4472
+ gt as px150,
4473
+ ut as px160,
4474
+ ct as px170,
4475
+ ht as px180,
4476
+ dt as px190,
4477
+ Et as px20,
4478
+ le as px200,
4479
+ at as px210,
4480
+ nt as px220,
4481
+ lt as px230,
4482
+ rt as px240,
4483
+ it as px250,
4484
+ st as px260,
4485
+ ot as px270,
4486
+ tt as px280,
4487
+ et as px290,
4488
+ At as px30,
4489
+ Ze as px300,
4490
+ Rt as px40,
4491
+ vt as px50,
4492
+ Ct as px60,
4493
+ yt as px70,
4494
+ xt as px80,
4495
+ wt as px90
4311
4496
  };