@guiexpert/react-table 18.1.83 → 18.1.84

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
- import { jsx as oe } from "react/jsx-runtime";
2
- import { useRef as ie, useEffect as re } from "react";
3
- import ae from "react-dom";
4
- function le(p, e = 500) {
1
+ import { jsx as Z } from "react/jsx-runtime";
2
+ import { useRef as Q, useEffect as ee } from "react";
3
+ import te from "react-dom";
4
+ function se(d, e = 500) {
5
5
  let t = null;
6
6
  return function(...s) {
7
7
  t && window.clearTimeout(t), t = window.setTimeout(() => {
8
- p.apply(this, s), t = null;
8
+ d.apply(this, s), t = null;
9
9
  }, e);
10
10
  };
11
11
  }
@@ -34,18 +34,18 @@ class I {
34
34
  }
35
35
  }
36
36
  }
37
- function B(p) {
38
- return p && p.type === "TreeRow";
37
+ function V(d) {
38
+ return d && d.type === "TreeRow";
39
39
  }
40
- function $(p) {
41
- return p && p.type === "AreaModelTree";
40
+ function W(d) {
41
+ return d && d.type === "AreaModelTree";
42
42
  }
43
- class _ {
44
- constructor(e = -1, t = -1, s = -1, o = -1, i, r, l, a = 0, n = 0, c = 0, h = "") {
45
- this.rowIndex = e, this.rowTop = t, this.columnIndex = s, this.columnLeft = o, this.areaIdent = i, this.sideIdent = r, this.originalEvent = l, this.clickCount = a, this.draggingX = n, this.draggingY = c, this.action = h;
43
+ class H {
44
+ constructor(e = -1, t = -1, s = -1, i = -1, o, r, l, a = 0, n = 0, c = 0, p = "") {
45
+ this.rowIndex = e, this.rowTop = t, this.columnIndex = s, this.columnLeft = i, this.areaIdent = o, this.sideIdent = r, this.originalEvent = l, this.clickCount = a, this.draggingX = n, this.draggingY = c, this.action = p;
46
46
  }
47
47
  clone() {
48
- return new _(
48
+ return new H(
49
49
  this.rowIndex,
50
50
  this.rowTop,
51
51
  this.columnIndex,
@@ -65,7 +65,7 @@ class F {
65
65
  this.content = e, this.style = t, this.classes = s;
66
66
  }
67
67
  }
68
- class Z {
68
+ class K {
69
69
  constructor(e = new F(
70
70
  ">",
71
71
  "transform: rotate(90deg) translate(66%, -66%); transform-origin: 0 0;",
@@ -78,20 +78,20 @@ class Z {
78
78
  ">",
79
79
  "color:transparent;",
80
80
  ["gt-table-tree-arrow-hidden"]
81
- ), o = new F(
81
+ ), i = new F(
82
82
  "↕",
83
83
  "",
84
84
  ["gt-table-tree-arrow-expanded-all"]
85
85
  )) {
86
- this.arrowExpanded = e, this.arrowCollapsed = t, this.arrowPlaceholder = s, this.arrowExpandCollapseAll = o;
86
+ this.arrowExpanded = e, this.arrowCollapsed = t, this.arrowPlaceholder = s, this.arrowExpandCollapseAll = i;
87
87
  }
88
88
  }
89
- class Q {
89
+ class Y {
90
90
  constructor(e = new F("↑", "", ["ge-header-sorted-asc"]), t = new F("↓", "", ["ge-header-sorted-desc"]), s = new F("↑", "color:transparent;", [])) {
91
91
  this.iconAsc = e, this.iconDesc = t, this.iconPlaceholder = s;
92
92
  }
93
93
  }
94
- class ne {
94
+ class ie {
95
95
  constructor(e) {
96
96
  this.domService = e;
97
97
  }
@@ -110,7 +110,7 @@ class ne {
110
110
  return this.domService.setStyle(e, "display", "block"), e;
111
111
  }
112
112
  applyStyleInPx(e, t) {
113
- return Object.entries(t).forEach(([s, o]) => this.domService.setStyle(e, s, o + "px")), e;
113
+ return Object.entries(t).forEach(([s, i]) => this.domService.setStyle(e, s, i + "px")), e;
114
114
  }
115
115
  applyStylePosistionRelative(e) {
116
116
  return this.domService.setStyle(e, "position", "relative"), this.domService.setStyle(e, "overflow", "clip"), e;
@@ -156,50 +156,50 @@ class ne {
156
156
  setAttribute(e, t, s) {
157
157
  return t && s && this.domService.setAttribute(e, t, s), e;
158
158
  }
159
- createAreaDivWithClass(e, t, s, o) {
160
- const i = this.domService.createElement("div");
161
- return this.addClass(e, i), this.domService.setAttribute(i, "data-area", s), this.domService.setAttribute(i, "data-side", o), this.domService.appendChild(t, i), i;
159
+ createAreaDivWithClass(e, t, s, i) {
160
+ const o = this.domService.createElement("div");
161
+ return this.addClass(e, o), this.domService.setAttribute(o, "data-area", s), this.domService.setAttribute(o, "data-side", i), this.domService.appendChild(t, o), o;
162
162
  }
163
163
  createDivWithClass(e, t) {
164
164
  const s = this.domService.createElement("div");
165
165
  return this.addClass(e, s), this.domService.appendChild(t, s), s;
166
166
  }
167
- addRowDiv(e, t, s = -1, o, i, r = "") {
167
+ addRowDiv(e, t, s = -1, i, o, r = "") {
168
168
  const l = t.index ?? -1, a = this.getDivOrCreateDiv(l, e);
169
- if (this.domService.addClass(a, "ge-table-row-div"), this.domService.addClass(a, `ge-table-row-div-${t.index}`), o === "body" && i === "center") {
169
+ if (this.domService.addClass(a, "ge-table-row-div"), this.domService.addClass(a, `ge-table-row-div-${t.index}`), i === "body" && o === "center") {
170
170
  const n = ((t == null ? void 0 : t.index) ?? 0) % 2 === 0 ? "even" : "odd";
171
171
  this.domService.addClass(a, `ge-table-row-${n}`);
172
172
  }
173
- if (this.domService.setStyle(a, "display", "clip"), this.domService.setStyle(a, "position", "absolute"), this.domService.setStyle(a, "left", `${t.left}px`), this.domService.setStyle(a, "top", `${t.top}px`), this.domService.setStyle(a, "width", `${t.width}px`), this.domService.setStyle(a, "height", `${t.height}px`), this.domService.setAttribute(a, "data-row-index", `${s}`), this.domService.setAttribute(a, "data-area", `${o}`), r) {
173
+ if (this.domService.setStyle(a, "display", "clip"), this.domService.setStyle(a, "position", "absolute"), this.domService.setStyle(a, "left", `${t.left}px`), this.domService.setStyle(a, "top", `${t.top}px`), this.domService.setStyle(a, "width", `${t.width}px`), this.domService.setStyle(a, "height", `${t.height}px`), this.domService.setAttribute(a, "data-row-index", `${s}`), this.domService.setAttribute(a, "data-area", `${i}`), r) {
174
174
  const n = this.domService.createText(r);
175
175
  this.domService.appendChild(a, n);
176
176
  }
177
177
  return this.domService.appendChild(e.child, a), a;
178
178
  }
179
179
  addColumnDiv(e) {
180
- const { parent: t, geo: s, rowIndex: o = -1, columnIndex: i = -1, areaIdent: r, sideIdent: l, text: a = "", treeArrow: n, tableOptions: c, checkedType: h = void 0, sortState: d } = e, m = c == null ? void 0 : c.treeOptions, g = c == null ? void 0 : c.showCheckboxWihoutExtraColumn, b = this.domService.createElement("div");
181
- this.domService.addClass(b, "ge-table-col-div"), g && this.domService.addClass(b, "ge-with-checkbox"), this.domService.addClass(b, `ge-table-col-div-${s.index}`), this.domService.setAttribute(b, "data-col-index", `${s.index}`), this.domService.setAttribute(b, "data-row-index", `${o}`), this.domService.setAttribute(b, "data-area", `${r}`);
180
+ const { parent: t, geo: s, rowIndex: i = -1, columnIndex: o = -1, areaIdent: r, sideIdent: l, text: a = "", treeArrow: n, tableOptions: c, checkedType: p = void 0, sortState: h } = e, g = c == null ? void 0 : c.treeOptions, u = c == null ? void 0 : c.showCheckboxWihoutExtraColumn, S = this.domService.createElement("div");
181
+ this.domService.addClass(S, "ge-table-col-div"), u && this.domService.addClass(S, "ge-with-checkbox"), this.domService.addClass(S, `ge-table-col-div-${s.index}`), this.domService.setAttribute(S, "data-col-index", `${s.index}`), this.domService.setAttribute(S, "data-row-index", `${i}`), this.domService.setAttribute(S, "data-area", `${r}`);
182
182
  const f = ((s == null ? void 0 : s.index) ?? 0) % 2 === 0 ? "even" : "odd";
183
- if (r === "body" && l === "center" && this.domService.addClass(b, `ge-table-column-${f}`), this.domService.setStyle(b, "display", "clip"), this.domService.setStyle(b, "position", "absolute"), this.domService.setStyle(b, "left", `${s.left}px`), this.domService.setStyle(b, "top", `${s.top}px`), this.domService.setStyle(b, "width", `${s.width}px`), this.domService.setStyle(b, "height", `${s.height}px`), n && n !== "none" && (this.domService.addClass(b, "ge-table-col-tree"), this.addArrowDiv(b, n, m, o, i, r)), g && i === 0 && h && this.addCheckboxToDiv(b, h, r, o), a) {
184
- const u = n !== "none" && i === 0;
185
- this.addLabelDiv(b, a, u, o, i, r);
183
+ if (r === "body" && l === "center" && this.domService.addClass(S, `ge-table-column-${f}`), this.domService.setStyle(S, "display", "clip"), this.domService.setStyle(S, "position", "absolute"), this.domService.setStyle(S, "left", `${s.left}px`), this.domService.setStyle(S, "top", `${s.top}px`), this.domService.setStyle(S, "width", `${s.width}px`), this.domService.setStyle(S, "height", `${s.height}px`), n && n !== "none" && (this.domService.addClass(S, "ge-table-col-tree"), this.addArrowDiv(S, n, g, i, o, r)), u && o === 0 && p && this.addCheckboxToDiv(S, p, r, i), a) {
184
+ const m = n !== "none" && o === 0;
185
+ this.addLabelDiv(S, a, m, i, o, r);
186
186
  }
187
- return d && this.addSortedIcon(b, d, c == null ? void 0 : c.sortedOptions, i), this.domService.appendChild(t, b), b;
187
+ return h && this.addSortedIcon(S, h, c == null ? void 0 : c.sortedOptions, o), this.domService.appendChild(t, S), S;
188
188
  }
189
- addCheckboxToDiv(e, t, s, o) {
190
- const i = this.domService.createElement("div"), r = t === "full" ? "checked" : "";
191
- return i.innerHTML = `
189
+ addCheckboxToDiv(e, t, s, i) {
190
+ const o = this.domService.createElement("div"), r = t === "full" ? "checked" : "";
191
+ return o.innerHTML = `
192
192
  <input
193
193
  type="checkbox"
194
194
  data-area="${s}"
195
- data-row-index="${o}"
195
+ data-row-index="${i}"
196
196
  data-input-type="checkbox"
197
197
  ${r}
198
- class="ge-table-row-checkbox"> `, this.domService.setStyle(i, "display", "inline"), this.domService.setStyle(i, "width", "inherit"), this.domService.setAttribute(i, "data-row-index", `${o}`), this.domService.appendChild(e, i), i;
198
+ class="ge-table-row-checkbox"> `, this.domService.setStyle(o, "display", "inline"), this.domService.setStyle(o, "width", "inherit"), this.domService.setAttribute(o, "data-row-index", `${i}`), this.domService.appendChild(e, o), o;
199
199
  }
200
- addLabelDiv(e, t = "", s = !1, o = -1, i = -1, r = "body") {
200
+ addLabelDiv(e, t = "", s = !1, i = -1, o = -1, r = "body") {
201
201
  const l = this.domService.createElement("div");
202
- if (this.domService.addClass(l, "ge-table-label-div"), this.domService.setStyle(l, "position", "relative"), this.domService.setStyle(l, "background", "transparent"), this.domService.setStyle(l, "width", "100%"), this.domService.setStyle(l, "height", "100%"), this.domService.setAttribute(l, "data-row-index", `${o}`), this.domService.setAttribute(l, "data-col-index", `${i}`), this.domService.setAttribute(l, "data-area", `${r}`), t)
202
+ if (this.domService.addClass(l, "ge-table-label-div"), this.domService.setStyle(l, "position", "relative"), this.domService.setStyle(l, "background", "transparent"), this.domService.setStyle(l, "width", "100%"), this.domService.setStyle(l, "height", "100%"), this.domService.setAttribute(l, "data-row-index", `${i}`), this.domService.setAttribute(l, "data-col-index", `${o}`), this.domService.setAttribute(l, "data-area", `${r}`), t)
203
203
  if (s) {
204
204
  const a = this.domService.createText(t);
205
205
  this.domService.appendChild(l, a);
@@ -207,65 +207,65 @@ class ne {
207
207
  const a = this.domService.createElement("div");
208
208
  this.domService.appendChild(l, a);
209
209
  const n = this.domService.createText(t);
210
- this.domService.addClass(a, "ge-table-label"), this.domService.appendChild(a, n), this.domService.setAttribute(a, "data-row-index", `${o}`), this.domService.setAttribute(a, "data-col-index", `${i}`), this.domService.setAttribute(a, "data-area", `${r}`);
210
+ this.domService.addClass(a, "ge-table-label"), this.domService.appendChild(a, n), this.domService.setAttribute(a, "data-row-index", `${i}`), this.domService.setAttribute(a, "data-col-index", `${o}`), this.domService.setAttribute(a, "data-area", `${r}`);
211
211
  }
212
212
  return this.domService.appendChild(e, l), l;
213
213
  }
214
- addSortedIcon(e, t = "", s = new Q(), o = -1) {
215
- const i = this.domService.createElement("div");
216
- this.domService.addClass(i, "ge-table-sorted-icon-div"), this.domService.setStyle(i, "position", "absolute"), this.domService.setStyle(i, "top", "0"), this.domService.setStyle(i, "right", "0"), this.domService.setStyle(i, "width", "20px"), this.domService.setStyle(i, "background", "transparent"), this.domService.setStyle(i, "cursor", "pointer"), this.domService.setAttribute(i, "data-col-index", `${o}`), this.domService.setAttribute(i, "data-area", "header");
214
+ addSortedIcon(e, t = "", s = new Y(), i = -1) {
215
+ const o = this.domService.createElement("div");
216
+ this.domService.addClass(o, "ge-table-sorted-icon-div"), this.domService.setStyle(o, "position", "absolute"), this.domService.setStyle(o, "top", "0"), this.domService.setStyle(o, "right", "0"), this.domService.setStyle(o, "width", "20px"), this.domService.setStyle(o, "background", "transparent"), this.domService.setStyle(o, "cursor", "pointer"), this.domService.setAttribute(o, "data-col-index", `${i}`), this.domService.setAttribute(o, "data-area", "header");
217
217
  let r;
218
218
  t === "asc" ? r = s.iconAsc : t === "desc" ? r = s.iconDesc : r = s.iconPlaceholder;
219
219
  const l = r.content, a = this.domService.createText(l);
220
- this.domService.appendChild(i, a), r.style && this.applyStyleString(i, r.style);
220
+ this.domService.appendChild(o, a), r.style && this.applyStyleString(o, r.style);
221
221
  for (const n of r.classes)
222
- this.domService.addClass(i, n);
223
- return this.domService.appendChild(e, i), i;
222
+ this.domService.addClass(o, n);
223
+ return this.domService.appendChild(e, o), o;
224
224
  }
225
- addArrowDiv(e, t = "none", s = new Z(), o = -1, i = -1, r = "body") {
225
+ addArrowDiv(e, t = "none", s = new K(), i = -1, o = -1, r = "body") {
226
226
  const l = this.domService.createElement("div");
227
- this.domService.addClass(l, "ge-table-tree-arrow-div"), this.domService.setStyle(l, "display", "inline-block"), this.domService.setStyle(l, "position", ""), this.domService.setStyle(l, "width", "20px"), this.domService.setStyle(l, "background", "transparent"), this.domService.setStyle(l, "cursor", "pointer"), this.domService.setAttribute(l, "data-row-index", `${o}`), this.domService.setAttribute(l, "data-col-index", `${i}`), this.domService.setAttribute(l, "data-area", `${r}`);
227
+ 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", `${i}`), this.domService.setAttribute(l, "data-col-index", `${o}`), this.domService.setAttribute(l, "data-area", `${r}`);
228
228
  let a;
229
229
  t === "expanded" ? a = s.arrowExpanded : t === "collapsed" ? a = s.arrowCollapsed : a = s.arrowPlaceholder;
230
230
  const n = a.content, c = this.domService.createText(n);
231
231
  this.domService.appendChild(l, c), a.style && this.applyStyleString(l, a.style);
232
- for (const h of a.classes)
233
- this.domService.addClass(l, h);
232
+ for (const p of a.classes)
233
+ this.domService.addClass(l, p);
234
234
  return this.domService.appendChild(e, l), l;
235
235
  }
236
- addColumnBorderDivs(e, t, s, o, i) {
236
+ addColumnBorderDivs(e, t, s, i, o) {
237
237
  if (e.verticalBorderVisible) {
238
- const r = `ge-table-${o}-${i}-vertical-border`;
238
+ const r = `ge-table-${i}-${o}-vertical-border`;
239
239
  this.addVerticalBorder(s, t, r);
240
240
  }
241
241
  if (e.horizontalBorderVisible) {
242
- const r = `ge-table-${o}-${i}-horizontal-border`;
242
+ const r = `ge-table-${i}-${o}-horizontal-border`;
243
243
  this.addHorizontalBorder(s, t, r);
244
244
  }
245
245
  return t;
246
246
  }
247
247
  addHorizontalBorder(e, t, s = "ge-table-body-center-horizontal-border") {
248
- const o = this.domService.createElement("div");
249
- return this.domService.addClass(o, s), this.domService.setStyle(o, "display", "clip"), this.domService.setStyle(o, "position", "absolute"), this.domService.setStyle(o, "left", `${e.left}px`), this.domService.setStyle(o, "top", `${e.top}px`), this.domService.setStyle(o, "width", `${e.width}px`), this.domService.setStyle(o, "height", "1px"), this.domService.appendChild(t, o), o;
248
+ const i = this.domService.createElement("div");
249
+ return this.domService.addClass(i, s), this.domService.setStyle(i, "display", "clip"), this.domService.setStyle(i, "position", "absolute"), this.domService.setStyle(i, "left", `${e.left}px`), this.domService.setStyle(i, "top", `${e.top}px`), this.domService.setStyle(i, "width", `${e.width}px`), this.domService.setStyle(i, "height", "1px"), this.domService.appendChild(t, i), i;
250
250
  }
251
251
  addFocusBorderDivs(e, t, s) {
252
252
  t = { ...t, width: t.width + 1, height: t.height + 1 };
253
- let o = this.domService.createElement("div");
254
- return this.domService.addClass(o, "ge-table-focus-border"), this.domService.setStyle(o, "display", "clip"), this.domService.setStyle(o, "position", "absolute"), this.domService.setStyle(o, "left", `${t.left}px`), this.domService.setStyle(o, "top", `${t.top}px`), this.domService.setStyle(o, "width", "1px"), this.domService.setStyle(o, "height", `${t.height}px`), this.domService.setStyle(o, "z-index", "9999"), this.applyStyle(o, s), this.domService.appendChild(e, o), o = this.domService.createElement("div"), this.domService.addClass(o, "ge-table-focus-border"), this.domService.setStyle(o, "display", "clip"), this.domService.setStyle(o, "position", "absolute"), this.domService.setStyle(o, "left", `${t.left + t.width - 1}px`), this.domService.setStyle(o, "top", `${t.top}px`), this.domService.setStyle(o, "width", "1px"), this.domService.setStyle(o, "height", `${t.height}px`), this.domService.setStyle(o, "z-index", "9999"), this.applyStyle(o, s), this.domService.appendChild(e, o), o = this.domService.createElement("div"), this.domService.addClass(o, "ge-table-focus-border"), this.domService.setStyle(o, "display", "clip"), this.domService.setStyle(o, "position", "absolute"), this.domService.setStyle(o, "left", `${t.left}px`), this.domService.setStyle(o, "top", `${t.top}px`), this.domService.setStyle(o, "width", `${t.width}px`), this.domService.setStyle(o, "height", "1px"), this.domService.setStyle(o, "z-index", "9999"), this.applyStyle(o, s), this.domService.appendChild(e, o), o = this.domService.createElement("div"), this.domService.addClass(o, "ge-table-focus-border"), this.domService.setStyle(o, "display", "clip"), this.domService.setStyle(o, "position", "absolute"), this.domService.setStyle(o, "left", `${t.left}px`), this.domService.setStyle(o, "top", `${t.top + t.height - 1}px`), this.domService.setStyle(o, "width", `${t.width}px`), this.domService.setStyle(o, "height", "1px"), this.domService.setStyle(o, "z-index", "9999"), this.applyStyle(o, s), this.domService.appendChild(e, o), e;
253
+ let i = this.domService.createElement("div");
254
+ return this.domService.addClass(i, "ge-table-focus-border"), this.domService.setStyle(i, "display", "clip"), this.domService.setStyle(i, "position", "absolute"), this.domService.setStyle(i, "left", `${t.left}px`), this.domService.setStyle(i, "top", `${t.top}px`), this.domService.setStyle(i, "width", "1px"), this.domService.setStyle(i, "height", `${t.height}px`), this.domService.setStyle(i, "z-index", "9999"), this.applyStyle(i, s), this.domService.appendChild(e, i), i = this.domService.createElement("div"), this.domService.addClass(i, "ge-table-focus-border"), this.domService.setStyle(i, "display", "clip"), this.domService.setStyle(i, "position", "absolute"), this.domService.setStyle(i, "left", `${t.left + t.width - 1}px`), this.domService.setStyle(i, "top", `${t.top}px`), this.domService.setStyle(i, "width", "1px"), this.domService.setStyle(i, "height", `${t.height}px`), this.domService.setStyle(i, "z-index", "9999"), this.applyStyle(i, s), this.domService.appendChild(e, i), i = this.domService.createElement("div"), this.domService.addClass(i, "ge-table-focus-border"), this.domService.setStyle(i, "display", "clip"), this.domService.setStyle(i, "position", "absolute"), this.domService.setStyle(i, "left", `${t.left}px`), this.domService.setStyle(i, "top", `${t.top}px`), this.domService.setStyle(i, "width", `${t.width}px`), this.domService.setStyle(i, "height", "1px"), this.domService.setStyle(i, "z-index", "9999"), this.applyStyle(i, s), this.domService.appendChild(e, i), i = this.domService.createElement("div"), this.domService.addClass(i, "ge-table-focus-border"), this.domService.setStyle(i, "display", "clip"), this.domService.setStyle(i, "position", "absolute"), this.domService.setStyle(i, "left", `${t.left}px`), this.domService.setStyle(i, "top", `${t.top + t.height - 1}px`), this.domService.setStyle(i, "width", `${t.width}px`), this.domService.setStyle(i, "height", "1px"), this.domService.setStyle(i, "z-index", "9999"), this.applyStyle(i, s), this.domService.appendChild(e, i), e;
255
255
  }
256
256
  addVerticalBorder(e, t, s = "ge-table-body-center-vertical-border") {
257
- const o = this.domService.createElement("div");
258
- return this.domService.addClass(o, s), this.domService.setStyle(o, "display", "clip"), this.domService.setStyle(o, "position", "absolute"), this.domService.setStyle(o, "left", `${e.left}px`), this.domService.setStyle(o, "top", `${e.top}px`), this.domService.setStyle(o, "width", "1px"), this.domService.setStyle(o, "height", `${e.height}px`), this.domService.appendChild(t, o), o;
257
+ const i = this.domService.createElement("div");
258
+ return this.domService.addClass(i, s), this.domService.setStyle(i, "display", "clip"), this.domService.setStyle(i, "position", "absolute"), this.domService.setStyle(i, "left", `${e.left}px`), this.domService.setStyle(i, "top", `${e.top}px`), this.domService.setStyle(i, "width", "1px"), this.domService.setStyle(i, "height", `${e.height}px`), this.domService.appendChild(t, i), i;
259
259
  }
260
260
  addDiv(e, t, s = "") {
261
- const o = this.domService.createElement("div");
262
- return s && this.domService.addClass(o, s), this.domService.setStyle(o, "display", "clip"), this.domService.setStyle(o, "position", "absolute"), this.domService.setStyle(o, "left", `${t.left}px`), this.domService.setStyle(o, "top", `${t.top}px`), this.domService.setStyle(o, "width", `${t.width}px`), this.domService.setStyle(o, "height", `${t.height}px`), this.domService.appendChild(e, o), o;
261
+ const i = this.domService.createElement("div");
262
+ return s && this.domService.addClass(i, s), this.domService.setStyle(i, "display", "clip"), this.domService.setStyle(i, "position", "absolute"), this.domService.setStyle(i, "left", `${t.left}px`), this.domService.setStyle(i, "top", `${t.top}px`), this.domService.setStyle(i, "width", `${t.width}px`), this.domService.setStyle(i, "height", `${t.height}px`), this.domService.appendChild(e, i), i;
263
263
  }
264
264
  applyStyleString(e, t) {
265
- const s = t.split(";").map((o) => o.trim()).filter((o) => o);
266
- for (const o of s) {
267
- const [i, r] = o.split(":");
268
- this.domService.setStyle(e, i.trim(), r.trim());
265
+ const s = t.split(";").map((i) => i.trim()).filter((i) => i);
266
+ for (const i of s) {
267
+ const [o, r] = i.split(":");
268
+ this.domService.setStyle(e, o.trim(), r.trim());
269
269
  }
270
270
  }
271
271
  getDivOrCreateDiv(e, t) {
@@ -273,20 +273,20 @@ class ne {
273
273
  return s ? (s.innerText = "", s) : (s = this.domService.createElement("div"), t.cache[e] = s, s);
274
274
  }
275
275
  }
276
- const N = (p) => p === "header" ? "header" : p === "footer" ? "footer" : "body";
277
- class ce {
276
+ const $ = (d) => d === "header" ? "header" : d === "footer" ? "footer" : "body";
277
+ class oe {
278
278
  constructor(e, t) {
279
279
  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)) {
280
280
  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"));
281
281
  const s = e.getAttribute("data-area");
282
- if (s && (this.areaIdent = N(s), this.areaModel = t.tableModel.getAreaModel(this.areaIdent), this.row = this.areaModel.getRowByIndex(this.rowIdx)), e instanceof HTMLInputElement) {
283
- const o = e;
284
- this.value = o.value;
282
+ if (s && (this.areaIdent = $(s), this.areaModel = t.tableModel.getAreaModel(this.areaIdent), this.row = this.areaModel.getRowByIndex(this.rowIdx)), e instanceof HTMLInputElement) {
283
+ const i = e;
284
+ this.value = i.value;
285
285
  }
286
286
  }
287
287
  }
288
288
  }
289
- class de {
289
+ class re {
290
290
  constructor(e) {
291
291
  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(
292
292
  (t) => t.addEventListener("resize", this.tableScope.adjustContainersAndRows.bind(this.tableScope))
@@ -318,24 +318,24 @@ class de {
318
318
  return;
319
319
  }
320
320
  this.lastClicked = t;
321
- const s = new ce(e.target, this.tableScope);
321
+ const s = new oe(e.target, this.tableScope);
322
322
  if (s.action === "toggleExpandCollapseAll")
323
323
  this.expandedAll = !this.expandedAll, this.tableScope.toggleExpandCollapseAll(this.expandedAll), e.preventDefault(), e.stopPropagation();
324
324
  else if (s.action === "toggleHeaderGroup")
325
325
  this.tableScope.toggleHeaderGroup(s), e.preventDefault(), e.stopPropagation();
326
326
  else if (s.inputType === "checkbox" && s.areaIdent)
327
327
  this.tableScope.toggleRowCheckbox(s.rowIdx, s.colIdx, s.areaIdent), e.preventDefault(), e.stopPropagation();
328
- else if (B(s.row) && s.areaModel) {
329
- const o = s.colIdx === this.getArrowColumnIndex() && e.altKey, i = s.className.includes("ge-table-tree-arrow-div");
330
- if (o || i) {
328
+ else if (V(s.row) && s.areaModel) {
329
+ const i = s.colIdx === this.getArrowColumnIndex() && e.altKey, o = s.className.includes("ge-table-tree-arrow-div");
330
+ if (i || o) {
331
331
  e.preventDefault(), e.stopPropagation();
332
332
  const r = s.row;
333
333
  r.expanded = !r.expanded, "recalcVisibleTreeRows" in s.areaModel && s.areaModel.recalcVisibleTreeRows(), this.tableScope.tableModel.recalcSize(this.tableScope.hostElement.clientWidth), this.tableScope.adjustContainersAndRows(), this.updateCollapsedExpandedState(r);
334
334
  }
335
335
  }
336
336
  if (s.areaIdent === "body" && this.tableScope.tableOptions.getFocusModel) {
337
- const o = this.tableScope.tableOptions.getFocusModel();
338
- o == null || o.clear(), o == null || o.setFocus(s.rowIdx, s.colIdx);
337
+ const i = this.tableScope.tableOptions.getFocusModel();
338
+ i == null || i.clear(), i == null || i.setFocus(s.rowIdx, s.colIdx);
339
339
  }
340
340
  this.publishGeMouseEvent(e, 1);
341
341
  }
@@ -347,12 +347,12 @@ class de {
347
347
  */
348
348
  onHostElementDblClicked(e) {
349
349
  if (this.lastClicked = Date.now(), e.target instanceof HTMLElement) {
350
- const t = e.target, s = t.getAttribute("data-area"), o = N(s), i = Number(t.getAttribute("data-row-index")), r = Number(t.getAttribute("data-col-index")), l = this.tableScope.tableModel.getAreaModel(o);
351
- if (s && o === "header")
352
- this.tableScope.tableModel.isSortable(r) && (this.tableScope.clearSelection(), this.tableScope.onHeaderDblClicked(e, i, r));
350
+ const t = e.target, s = t.getAttribute("data-area"), i = $(s), o = Number(t.getAttribute("data-row-index")), r = Number(t.getAttribute("data-col-index")), l = this.tableScope.tableModel.getAreaModel(i);
351
+ if (s && i === "header")
352
+ this.tableScope.tableModel.isSortable(r) && (this.tableScope.clearSelection(), this.tableScope.onHeaderDblClicked(e, o, r));
353
353
  else if (t.getAttribute("data-row-index")) {
354
- const a = l.getRowByIndex(i);
355
- if (s && o === "body" && l.isEditable(i, r) && (this.tableScope.clearSelection(), this.tableScope.initRenderEditor(i, r)), B(a) && r === this.getArrowColumnIndex()) {
354
+ const a = l.getRowByIndex(o);
355
+ if (s && i === "body" && l.isEditable(o, r) && (this.tableScope.clearSelection(), this.tableScope.initRenderEditor(o, r)), V(a) && r === this.getArrowColumnIndex()) {
356
356
  e.preventDefault(), e.stopPropagation();
357
357
  const n = a;
358
358
  n.expanded = !n.expanded, "recalcVisibleTreeRows" in l && l.recalcVisibleTreeRows(), this.tableScope.tableModel.recalcSize(this.tableScope.hostElement.clientWidth), this.tableScope.adjustContainersAndRows(), this.updateCollapsedExpandedState(n);
@@ -380,11 +380,11 @@ class de {
380
380
  * @returns {void}
381
381
  */
382
382
  updateCollapsedExpandedState(e) {
383
- var s, o, i, r, l;
384
- const t = (o = (s = this.tableScope.tableOptions) == null ? void 0 : s.autoRestoreOptions) == null ? void 0 : o.getRowId;
383
+ var s, i, o, r, l;
384
+ const t = (i = (s = this.tableScope.tableOptions) == null ? void 0 : s.autoRestoreOptions) == null ? void 0 : i.getRowId;
385
385
  if (t) {
386
- const a = (i = this.tableScope.storeStateCollapsedExpandService) == null ? void 0 : i.collapsedExpandedStateGet().mode, n = a === "collapsed" && !e.expanded || a === "expanded" && e.expanded, c = a === "collapsed" && e.expanded || a === "expanded" && !e.expanded, h = t(e.data);
387
- n ? (r = this.tableScope.storeStateCollapsedExpandService) == null || r.collapsedStateIdsPush(h) : c && ((l = this.tableScope.storeStateCollapsedExpandService) == null || l.collapsedStateIdsRemove(h));
386
+ const a = (o = this.tableScope.storeStateCollapsedExpandService) == null ? void 0 : o.collapsedExpandedStateGet().mode, n = a === "collapsed" && !e.expanded || a === "expanded" && e.expanded, c = a === "collapsed" && e.expanded || a === "expanded" && !e.expanded, p = t(e.data);
387
+ n ? (r = this.tableScope.storeStateCollapsedExpandService) == null || r.collapsedStateIdsPush(p) : c && ((l = this.tableScope.storeStateCollapsedExpandService) == null || l.collapsedStateIdsRemove(p));
388
388
  }
389
389
  }
390
390
  getArrowColumnIndex() {
@@ -420,9 +420,9 @@ class de {
420
420
  }
421
421
  }
422
422
  }
423
- class he {
423
+ class le {
424
424
  constructor(e, t = [], s = -1) {
425
- this.areaIdent = e, this.columnDefs = t, this.defaultRowHeight = s, this.rowSelectionModel = void 0, this.yPositions = [], this.cellRenderers = t.map((o) => o.rendererMap[e]);
425
+ this.areaIdent = e, this.columnDefs = t, this.defaultRowHeight = s, this.rowSelectionModel = void 0, this.yPositions = [], this.cellRenderers = t.map((i) => i.rendererMap[e]);
426
426
  }
427
427
  getTextValueAt(e, t) {
428
428
  return "" + this.getValueAt(e, t);
@@ -482,16 +482,16 @@ class he {
482
482
  sort(e) {
483
483
  }
484
484
  isEditable(e, t) {
485
- var o, i;
486
- const s = (o = this.columnDefs) == null ? void 0 : o[t];
487
- return ((i = s == null ? void 0 : s.editable) == null ? void 0 : i.call(s)) ?? !1;
485
+ var i, o;
486
+ const s = (i = this.columnDefs) == null ? void 0 : i[t];
487
+ return ((o = s == null ? void 0 : s.editable) == null ? void 0 : o.call(s)) ?? !1;
488
488
  }
489
489
  setValue(e, t, s) {
490
490
  var l;
491
- const o = (l = this.columnDefs[t]) == null ? void 0 : l.editInputPipe;
492
- o && (s = o(s, e, t));
493
- const i = this.getRowByIndex(e), r = this.columnDefs[t].property;
494
- return r.includes(".") ? this.setPropertyValue(i, r.split("."), s) : (i[r] = s, !0);
491
+ const i = (l = this.columnDefs[t]) == null ? void 0 : l.editInputPipe;
492
+ i && (s = i(s, e, t));
493
+ const o = this.getRowByIndex(e), r = this.columnDefs[t].property;
494
+ return r.includes(".") ? this.setPropertyValue(o, r.split("."), s) : (o[r] = s, !0);
495
495
  }
496
496
  isSelectable(e, t) {
497
497
  return !0;
@@ -500,16 +500,16 @@ class he {
500
500
  this.arrayMove(this.cellRenderers, e, t);
501
501
  }
502
502
  setPropertyValue(e, t, s) {
503
- const o = t.shift();
504
- if (o) {
505
- const i = e[o];
506
- return i && t.length ? this.setPropertyValue(i, t, s) : (e[o] = s, !0);
503
+ const i = t.shift();
504
+ if (i) {
505
+ const o = e[i];
506
+ return o && t.length ? this.setPropertyValue(o, t, s) : (e[i] = s, !0);
507
507
  }
508
508
  return !1;
509
509
  }
510
510
  arrayMove(e, t, s) {
511
- const o = e.splice(t, 1)[0];
512
- return e.splice(s, 0, o), e;
511
+ const i = e.splice(t, 1)[0];
512
+ return e.splice(s, 0, i), e;
513
513
  }
514
514
  calcYPositions() {
515
515
  const e = this.getRowCount();
@@ -518,7 +518,7 @@ class he {
518
518
  this.yPositions[t + 1] = this.getRowHeight(t) + this.yPositions[t];
519
519
  }
520
520
  }
521
- class pe {
521
+ class ae {
522
522
  genericSortComparator(e, t, s) {
523
523
  if (typeof e == "number" && typeof t == "number")
524
524
  return s * (e - t);
@@ -529,14 +529,14 @@ class pe {
529
529
  if (e instanceof Date && t instanceof Date)
530
530
  return s * (e.getTime() - t.getTime());
531
531
  if (e instanceof Array && t instanceof Array) {
532
- const o = e, i = t;
533
- if (o.length && i.length)
534
- return this.genericSortComparator(o[0], i[0], s);
532
+ const i = e, o = t;
533
+ if (i.length && o.length)
534
+ return this.genericSortComparator(i[0], o[0], s);
535
535
  }
536
536
  return s * ("" + e).localeCompare("" + t);
537
537
  }
538
538
  }
539
- class D extends he {
539
+ class D extends le {
540
540
  /**
541
541
  * Creates an instance of AreaModelObjectArray.
542
542
  *
@@ -566,8 +566,8 @@ class D extends he {
566
566
  * columnDefs
567
567
  * );
568
568
  */
569
- constructor(e, t, s, o = [], i = "ge-selected-row", r = "ge-focused-row") {
570
- super(e, o, s), this.areaIdent = e, this.rows = t, this.defaultRowHeight = s, this.columnDefs = o, this.selectedRowClass = i, this.focusedRowClass = r, this.sorterService = new pe(), this._focusedRowIndex = 0, this.filteredRows = [...t], this.properties = o.map((l) => l.property);
569
+ constructor(e, t, s, i = [], o = "ge-selected-row", r = "ge-focused-row") {
570
+ super(e, i, s), this.areaIdent = e, this.rows = t, this.defaultRowHeight = s, this.columnDefs = i, this.selectedRowClass = o, this.focusedRowClass = r, this.sorterService = new ae(), this._focusedRowIndex = 0, this.filteredRows = [...t], this.properties = i.map((l) => l.property);
571
571
  }
572
572
  /**
573
573
  * Gets the index of the currently focused row.
@@ -661,8 +661,8 @@ class D extends he {
661
661
  */
662
662
  getValueAt(e, t) {
663
663
  const s = this.properties[t];
664
- let o = this.filteredRows[e];
665
- return B(o) && (o = o.data), o ? this.getValueByT(o, s) : "";
664
+ let i = this.filteredRows[e];
665
+ return V(i) && (i = i.data), i ? this.getValueByT(i, s) : "";
666
666
  }
667
667
  /**
668
668
  * Retrieves the filtered and sorted rows from the dataset.
@@ -839,8 +839,8 @@ class D extends he {
839
839
  */
840
840
  doSort(e) {
841
841
  for (const t of e) {
842
- const { columnIndex: s, sortState: o } = t, i = o === "asc" ? 1 : o === "desc" ? -1 : 0, r = this.properties[s];
843
- this.filteredRows = this.filteredRows.sort(this.genericFlatTableSortComparator(r, i));
842
+ const { columnIndex: s, sortState: i } = t, o = i === "asc" ? 1 : i === "desc" ? -1 : 0, r = this.properties[s];
843
+ this.filteredRows = this.filteredRows.sort(this.genericFlatTableSortComparator(r, o));
844
844
  }
845
845
  return !0;
846
846
  }
@@ -949,10 +949,10 @@ class D extends he {
949
949
  * const sortedRows = [...bodyAreaModel.getFilteredRows()].sort(comparator);
950
950
  */
951
951
  genericFlatTableSortComparator(e, t) {
952
- const s = this.columnDefs.find((o) => o.property === e);
953
- return (o, i) => {
954
- const r = this.getValueByT(o, e), l = this.getValueByT(i, e);
955
- return s != null && s.sortComparator ? t * s.sortComparator(r, l, o, i, t) : this.sorterService.genericSortComparator(r, l, t);
952
+ const s = this.columnDefs.find((i) => i.property === e);
953
+ return (i, o) => {
954
+ const r = this.getValueByT(i, e), l = this.getValueByT(o, e);
955
+ return s != null && s.sortComparator ? t * s.sortComparator(r, l, i, o, t) : this.sorterService.genericSortComparator(r, l, t);
956
956
  };
957
957
  }
958
958
  /**
@@ -966,11 +966,11 @@ class D extends he {
966
966
  * @private
967
967
  */
968
968
  getPropertyValue(e, t) {
969
- const s = t.shift(), o = e[s];
970
- return o && t.length ? this.getPropertyValue(o, t) : o;
969
+ const s = t.shift(), i = e[s];
970
+ return i && t.length ? this.getPropertyValue(i, t) : i;
971
971
  }
972
972
  }
973
- class ge {
973
+ class ne {
974
974
  constructor(e) {
975
975
  this.tableScope = e;
976
976
  }
@@ -1586,14 +1586,14 @@ class ge {
1586
1586
  * tableApi.downloadExcel('quarterly-data.xlsx');
1587
1587
  */
1588
1588
  downloadExcel(e = "table.xlsx", t = "") {
1589
- const s = [], o = this.tableScope.tableModel.getColumnCount(), i = ["header", "body", "footer"];
1590
- for (const r of i) {
1589
+ const s = [], i = this.tableScope.tableModel.getColumnCount(), o = ["header", "body", "footer"];
1590
+ for (const r of o) {
1591
1591
  const l = this.tableScope.tableModel.getAreaModel(r), a = (l == null ? void 0 : l.getRowCount()) ?? 0;
1592
1592
  for (let n = 0; n < a; n++) {
1593
1593
  const c = [];
1594
1594
  s.push(c);
1595
- for (let h = 0; h < o; h++)
1596
- c.push(l.getValueAt(n, h));
1595
+ for (let p = 0; p < i; p++)
1596
+ c.push(l.getValueAt(n, p));
1597
1597
  }
1598
1598
  }
1599
1599
  return this.tableScope.excelService.downloadExcel(s, e, t);
@@ -1751,8 +1751,8 @@ class ge {
1751
1751
  const t = this.getBodyModel();
1752
1752
  if (t instanceof D) {
1753
1753
  const s = t;
1754
- let o = s.getAllRows();
1755
- s.setRows([...o, ...e]);
1754
+ let i = s.getAllRows();
1755
+ s.setRows([...i, ...e]);
1756
1756
  } else
1757
1757
  console.warn("addRows<T>(rows: T[]) only works with AreaModelObjectArray<T>, but this body area model is ", typeof t, t);
1758
1758
  }
@@ -1775,9 +1775,9 @@ class ge {
1775
1775
  addRowsAt(e, t) {
1776
1776
  const s = this.getBodyModel();
1777
1777
  if (s instanceof D) {
1778
- const o = s;
1779
- let i = o.getAllRows();
1780
- o.setRows([...i.slice(0, t), ...e, ...i.slice(t)]);
1778
+ const i = s;
1779
+ let o = i.getAllRows();
1780
+ i.setRows([...o.slice(0, t), ...e, ...o.slice(t)]);
1781
1781
  } else
1782
1782
  console.warn("addRowsAt<T>(rows: T[]) only works with AreaModelObjectArray<T>, but this body area model is ", typeof s, s);
1783
1783
  }
@@ -1798,11 +1798,11 @@ class ge {
1798
1798
  *
1799
1799
  * @throws {Warning} Logs a console warning if the table's body model is not an AreaModelObjectArray
1800
1800
  */
1801
- removeRows(e, t = (s, o) => s === o) {
1801
+ removeRows(e, t = (s, i) => s === i) {
1802
1802
  const s = this.getBodyModel();
1803
1803
  if (s instanceof D) {
1804
- const o = s, i = o.getAllRows().filter((r) => !e.some((l) => t(r, l)));
1805
- o.setRows(i);
1804
+ const i = s, o = i.getAllRows().filter((r) => !e.some((l) => t(r, l)));
1805
+ i.setRows(o);
1806
1806
  } else
1807
1807
  console.warn("removeRows<T>(rows: T[]) only works with AreaModelObjectArray<T>, but this body area model is ", typeof s, s);
1808
1808
  }
@@ -1839,9 +1839,9 @@ class ge {
1839
1839
  *
1840
1840
  * @throws {Warning} Logs a console warning if the table's body model is not an AreaModelObjectArray
1841
1841
  */
1842
- findRows(e, t = (s, o) => s === o) {
1842
+ findRows(e, t = (s, i) => s === i) {
1843
1843
  const s = this.getBodyModel();
1844
- return s instanceof D ? s.getAllRows().filter((i) => e.some((r) => t(i, r))) : (console.warn("findRows<T>(rows: T[], predicate: (a: T, b: T) => boolean) only works with AreaModelObjectArray<T>, but this body area model is ", typeof s, s), []);
1844
+ return s instanceof D ? s.getAllRows().filter((o) => e.some((r) => t(o, r))) : (console.warn("findRows<T>(rows: T[], predicate: (a: T, b: T) => boolean) only works with AreaModelObjectArray<T>, but this body area model is ", typeof s, s), []);
1845
1845
  }
1846
1846
  /**
1847
1847
  * Searches through the filtered rows of the table to find a row that matches specific criteria.
@@ -1899,7 +1899,7 @@ class ge {
1899
1899
  findRowFromFilteredRowsByAllCriteria(e, t) {
1900
1900
  const s = this.getBodyModel();
1901
1901
  if (s instanceof D)
1902
- return s.getFilteredRows().find((i) => t(e, i));
1902
+ return s.getFilteredRows().find((o) => t(e, o));
1903
1903
  console.warn("findRowFromFilteredRowsByAllCriteria(...) only works with AreaModelObjectArray<T>, but this body area model is ", typeof s, s);
1904
1904
  }
1905
1905
  /**
@@ -1946,7 +1946,7 @@ class ge {
1946
1946
  findRowFromAllRowsByAllCriteria(e, t) {
1947
1947
  const s = this.getBodyModel();
1948
1948
  if (s instanceof D)
1949
- return s.getAllRows().find((i) => t(e, i));
1949
+ return s.getAllRows().find((o) => t(e, o));
1950
1950
  console.warn("findRowFromAllRowsByAllCriteria(...) only works with AreaModelObjectArray<T>, but this body area model is ", typeof s, s);
1951
1951
  }
1952
1952
  /**
@@ -1968,11 +1968,11 @@ class ge {
1968
1968
  *
1969
1969
  * @throws {Warning} Logs a console warning if the table's body model is not an AreaModelObjectArray
1970
1970
  */
1971
- updateRows(e, t = (s, o) => s === o) {
1971
+ updateRows(e, t = (s, i) => s === i) {
1972
1972
  const s = this.getBodyModel();
1973
1973
  if (s instanceof D) {
1974
- let i = s.getAllRows();
1975
- for (const r of i)
1974
+ let o = s.getAllRows();
1975
+ for (const r of o)
1976
1976
  for (const l of e)
1977
1977
  if (t(r, l))
1978
1978
  for (const a of Object.keys(l))
@@ -2318,27 +2318,27 @@ class ge {
2318
2318
  return this.tableScope.loggingActive;
2319
2319
  }
2320
2320
  }
2321
- class G {
2321
+ class _ {
2322
2322
  constructor(e) {
2323
2323
  this.getStorageKeyFn = e;
2324
2324
  }
2325
2325
  autoConvertMapToObject(e) {
2326
2326
  const t = {};
2327
- return e instanceof Map && e.forEach((o, i) => {
2328
- t[o] = i;
2327
+ return e instanceof Map && e.forEach((i, o) => {
2328
+ t[i] = o;
2329
2329
  }), t;
2330
2330
  }
2331
2331
  checkAndPersistItem(e, t) {
2332
2332
  const s = this.getStorageKeyFn;
2333
2333
  if (s) {
2334
- const o = s();
2335
- if (o) {
2336
- const i = o + e;
2334
+ const i = s();
2335
+ if (i) {
2336
+ const o = i + e;
2337
2337
  if ((t + "").includes("Map")) {
2338
2338
  const r = this.autoConvertMapToObject(t);
2339
- this.persistItem(i, r);
2339
+ this.persistItem(o, r);
2340
2340
  } else
2341
- this.persistItem(i, t);
2341
+ this.persistItem(o, t);
2342
2342
  }
2343
2343
  }
2344
2344
  }
@@ -2385,7 +2385,7 @@ class G {
2385
2385
  // }
2386
2386
  // }
2387
2387
  }
2388
- class fe extends G {
2388
+ class ce extends _ {
2389
2389
  constructor(e) {
2390
2390
  super(e), this.SCROLL_STATE = "scrollState", this.scrollOffset = [0, 0], this.load();
2391
2391
  }
@@ -2401,20 +2401,20 @@ class fe extends G {
2401
2401
  const t = e();
2402
2402
  if (t) {
2403
2403
  const s = t + this.SCROLL_STATE;
2404
- let o = this.loadFromLocalStorage(s);
2405
- this.scrollOffset = o || [0, 0];
2404
+ let i = this.loadFromLocalStorage(s);
2405
+ this.scrollOffset = i || [0, 0];
2406
2406
  }
2407
2407
  }
2408
2408
  }
2409
2409
  }
2410
- class ue {
2411
- constructor(e = "collapsed", t = [], s = !1, o = !1) {
2412
- this.mode = e, this.rowIds = t, this.allCollapsed = s, this.allExpanded = o;
2410
+ class de {
2411
+ constructor(e = "collapsed", t = [], s = !1, i = !1) {
2412
+ this.mode = e, this.rowIds = t, this.allCollapsed = s, this.allExpanded = i;
2413
2413
  }
2414
2414
  }
2415
- class me extends G {
2415
+ class he extends _ {
2416
2416
  constructor(e) {
2417
- super(e), this.COLLAPSED_EXPANDED_STATE = "collapsedExpandedState", this.collapsedExpandedState = new ue(), this.load();
2417
+ super(e), this.COLLAPSED_EXPANDED_STATE = "collapsedExpandedState", this.collapsedExpandedState = new de(), this.load();
2418
2418
  }
2419
2419
  collapsedExpandedStateGet() {
2420
2420
  return this.collapsedExpandedState;
@@ -2437,8 +2437,8 @@ class me extends G {
2437
2437
  if (e) {
2438
2438
  const t = e();
2439
2439
  if (t) {
2440
- const s = t + this.COLLAPSED_EXPANDED_STATE, o = this.loadFromLocalStorage(s);
2441
- o && (this.collapsedExpandedState = o);
2440
+ const s = t + this.COLLAPSED_EXPANDED_STATE, i = this.loadFromLocalStorage(s);
2441
+ i && (this.collapsedExpandedState = i);
2442
2442
  }
2443
2443
  }
2444
2444
  }
@@ -2446,7 +2446,7 @@ class me extends G {
2446
2446
  this.checkAndPersistItem(this.COLLAPSED_EXPANDED_STATE, this.collapsedExpandedState);
2447
2447
  }
2448
2448
  }
2449
- class be extends G {
2449
+ class pe extends _ {
2450
2450
  constructor(e) {
2451
2451
  super(e), this.SORTING_STATE = "sortingState", this.sortItems = [], this.load();
2452
2452
  }
@@ -2461,69 +2461,69 @@ class be extends G {
2461
2461
  if (e) {
2462
2462
  const t = e();
2463
2463
  if (t) {
2464
- const s = t + this.SORTING_STATE, o = this.loadFromLocalStorage(s);
2465
- this.sortItems = o || [];
2464
+ const s = t + this.SORTING_STATE, i = this.loadFromLocalStorage(s);
2465
+ this.sortItems = i || [];
2466
2466
  }
2467
2467
  }
2468
2468
  }
2469
2469
  }
2470
2470
  class T {
2471
- constructor(e = 0, t = 0, s = 0, o = 0, i) {
2472
- this.left = e, this.width = t, this.height = s, this.top = o, this.index = i;
2471
+ constructor(e = 0, t = 0, s = 0, i = 0, o) {
2472
+ this.left = e, this.width = t, this.height = s, this.top = i, this.index = o;
2473
2473
  }
2474
2474
  }
2475
- class Se {
2476
- constructor(e, t, s, o) {
2477
- this.hostElement = e, this.tableModel = t, this.dom = s, this.tableOptions = o, this.scrollTop = 0, this.areaBodyWestGeo = new T(), this.areaBodyCenterGeo = new T(), this.areaBodyEastGeo = new T();
2478
- const i = this.hostElement;
2479
- i.innerText = "", this.dom.setAttribute(i, "tabindex", "0"), this.dom.setStyle(
2480
- this.dom.addClass("ge-table", i),
2475
+ class ue {
2476
+ constructor(e, t, s, i) {
2477
+ this.hostElement = e, this.tableModel = t, this.dom = s, this.tableOptions = i, this.scrollTop = 0, this.areaBodyWestGeo = new T(), this.areaBodyCenterGeo = new T(), this.areaBodyEastGeo = new T();
2478
+ const o = this.hostElement;
2479
+ o.innerText = "", this.dom.setAttribute(o, "tabindex", "0"), this.dom.setStyle(
2480
+ this.dom.addClass("ge-table", o),
2481
2481
  "position",
2482
2482
  "relative"
2483
2483
  ), this.hoverRow = s.applyStylePosistionAbsolute(
2484
- s.createDivWithClass("ge-table-hover-row", i)
2484
+ s.createDivWithClass("ge-table-hover-row", o)
2485
2485
  ), this.hoverColumn = s.applyStylePosistionAbsolute(
2486
- s.createDivWithClass("ge-table-hover-column", i)
2486
+ s.createDivWithClass("ge-table-hover-column", o)
2487
2487
  ), this.draggingColumn = s.applyStylePosistionAbsolute(
2488
- s.createDivWithClass("ge-table-dragging-column", i)
2488
+ s.createDivWithClass("ge-table-dragging-column", o)
2489
2489
  ), this.areaHeaderWest = s.appendRelativeChildDiv(
2490
2490
  s.applyStylePosistionAbsolute(
2491
- s.createAreaDivWithClass("ge-table-header ge-table-header-west", i, "header", "west")
2491
+ s.createAreaDivWithClass("ge-table-header ge-table-header-west", o, "header", "west")
2492
2492
  )
2493
2493
  ), this.areaHeaderCenter = s.appendRelativeChildDiv(
2494
2494
  s.applyStylePosistionAbsolute(
2495
- s.createAreaDivWithClass("ge-table-header ge-table-header-center", i, "header", "center")
2495
+ s.createAreaDivWithClass("ge-table-header ge-table-header-center", o, "header", "center")
2496
2496
  )
2497
2497
  ), this.areaHeaderEast = s.appendRelativeChildDiv(
2498
2498
  s.applyStylePosistionAbsolute(
2499
- s.createAreaDivWithClass("ge-table-header ge-table-header-east", i, "body", "east")
2499
+ s.createAreaDivWithClass("ge-table-header ge-table-header-east", o, "body", "east")
2500
2500
  )
2501
2501
  ), this.areaBodyWest = s.appendRelativeChildDiv(
2502
2502
  s.applyStylePosistionAbsolute(
2503
- s.createAreaDivWithClass("ge-table-body ge-table-body-west", i, "body", "west")
2503
+ s.createAreaDivWithClass("ge-table-body ge-table-body-west", o, "body", "west")
2504
2504
  )
2505
2505
  ), this.areaBodyEast = s.appendRelativeChildDiv(
2506
2506
  s.applyStylePosistionAbsolute(
2507
- s.createAreaDivWithClass("ge-table-body ge-table-body-east", i, "body", "east")
2507
+ s.createAreaDivWithClass("ge-table-body ge-table-body-east", o, "body", "east")
2508
2508
  )
2509
2509
  ), this.areaFooterWest = s.appendRelativeChildDiv(
2510
2510
  s.applyStylePosistionAbsolute(
2511
- s.createAreaDivWithClass("ge-table-footer ge-table-footer-west", i, "footer", "west")
2511
+ s.createAreaDivWithClass("ge-table-footer ge-table-footer-west", o, "footer", "west")
2512
2512
  )
2513
2513
  ), this.areaFooterCenter = s.appendRelativeChildDiv(
2514
2514
  s.applyStylePosistionAbsolute(
2515
- s.createAreaDivWithClass("ge-table-footer ge-table-footer-center", i, "footer", "center")
2515
+ s.createAreaDivWithClass("ge-table-footer ge-table-footer-center", o, "footer", "center")
2516
2516
  )
2517
2517
  ), this.areaFooterEast = s.appendRelativeChildDiv(
2518
2518
  s.applyStylePosistionAbsolute(
2519
- s.createAreaDivWithClass("ge-table-footer ge-table-footer-east", i, "footer", "east")
2519
+ s.createAreaDivWithClass("ge-table-footer ge-table-footer-east", o, "footer", "east")
2520
2520
  )
2521
2521
  ), this.scrollViewport = s.applyStyleOverflowAuto(
2522
2522
  this.tableOptions.overflowX ?? "auto",
2523
2523
  this.tableOptions.overflowY ?? "auto",
2524
2524
  s.applyStyleNoPadding(
2525
2525
  s.applyStylePosistionAbsolute(
2526
- s.createAreaDivWithClass("ge-table-scroll-viewport", i, "body", "center")
2526
+ s.createAreaDivWithClass("ge-table-scroll-viewport", o, "body", "center")
2527
2527
  )
2528
2528
  )
2529
2529
  ), this.contentWrapperDiv = s.applyStyleNoPadding(
@@ -2537,13 +2537,13 @@ class Se {
2537
2537
  ), this.areaBodyCenter = s.appendRelativeChildDiv(
2538
2538
  s.createDivWithClass("ge-table-body-center", this.contentDiv)
2539
2539
  ), this.borderHeaderBottom = s.applyStylePosistionAbsolute(
2540
- s.createDivWithClass("ge-table-header-border", i)
2540
+ s.createDivWithClass("ge-table-header-border", o)
2541
2541
  ), this.borderFixedWest = s.applyStylePosistionAbsolute(
2542
- s.createDivWithClass("ge-table-west-fixed-column-border", i)
2542
+ s.createDivWithClass("ge-table-west-fixed-column-border", o)
2543
2543
  ), this.borderFixedEast = s.applyStylePosistionAbsolute(
2544
- s.createDivWithClass("ge-table-east-fixed-column-border", i)
2544
+ s.createDivWithClass("ge-table-east-fixed-column-border", o)
2545
2545
  ), this.borderFooterTop = s.applyStylePosistionAbsolute(
2546
- s.createDivWithClass("ge-table-footer-border", i)
2546
+ s.createDivWithClass("ge-table-footer-border", o)
2547
2547
  );
2548
2548
  }
2549
2549
  /**
@@ -2653,8 +2653,8 @@ class R {
2653
2653
  * @param {number} c2 - The value for c2.
2654
2654
  * @param {boolean} [gammaRange=false] - The value for gammaRange. Defaults to false. gammaRange will be used for AreaModelCellGroups, but it's not implemented yet!
2655
2655
  */
2656
- constructor(e, t, s, o, i = !1) {
2657
- this.r1 = e, this.c1 = t, this.r2 = s, this.c2 = o, this.gammaRange = i;
2656
+ constructor(e, t, s, i, o = !1) {
2657
+ this.r1 = e, this.c1 = t, this.r2 = s, this.c2 = i, this.gammaRange = o;
2658
2658
  }
2659
2659
  static create(e) {
2660
2660
  return e.gammaRange === void 0 && (e.gammaRange = !1), new R(
@@ -2678,7 +2678,7 @@ class R {
2678
2678
  return e >= this.r1 && e <= this.r2 && t >= this.c1 && t <= this.c2;
2679
2679
  }
2680
2680
  }
2681
- class ye {
2681
+ class fe {
2682
2682
  constructor(e, t) {
2683
2683
  this.tableModel = e, this.areaModel = t, this.colAndRowspanRanges = void 0;
2684
2684
  }
@@ -2688,13 +2688,13 @@ class ye {
2688
2688
  this.colAndRowspanRanges = [];
2689
2689
  const e = this.areaModel.getRowCount(), t = this.tableModel.getColumnCount();
2690
2690
  for (let s = 0; s < e; s++)
2691
- for (let o = 0; o < t; o++) {
2692
- let i = this.areaModel.getColspanAt(s, o), r = this.areaModel.getRowspanAt(s, o);
2693
- if (i > 1 || r > 1) {
2694
- i === 0 && (i = 1), r === 0 && (r = 1);
2691
+ for (let i = 0; i < t; i++) {
2692
+ let o = this.areaModel.getColspanAt(s, i), r = this.areaModel.getRowspanAt(s, i);
2693
+ if (o > 1 || r > 1) {
2694
+ o === 0 && (o = 1), r === 0 && (r = 1);
2695
2695
  const l = "gammaCells" in this.areaModel;
2696
2696
  this.colAndRowspanRanges.push(
2697
- new R(s, o, s + r - 1, o + i - 1, l)
2697
+ new R(s, i, s + r - 1, i + o - 1, l)
2698
2698
  );
2699
2699
  }
2700
2700
  }
@@ -2711,22 +2711,22 @@ class ye {
2711
2711
  return !1;
2712
2712
  }
2713
2713
  }
2714
- class we {
2714
+ class me {
2715
2715
  constructor(e, t, s) {
2716
2716
  this.header = e, this.body = t, this.footer = s;
2717
2717
  }
2718
2718
  }
2719
- class xe extends Se {
2720
- constructor(e, t, s, o) {
2719
+ class ge extends ue {
2720
+ constructor(e, t, s, i) {
2721
2721
  var r, l;
2722
- super(e, t, s, o), this.firstVisibleRowIndex = -1, this.lastVisibleRowIndex = -1, this.firstFullVisibleRowIndex = -1, this.lastFullVisibleRowIndex = -1, this.displayedRowCount = 0, this.pixelLimitForFullVisible = 5, this.loggingActive = !1, this.dragging = !1, this.editing = !1, this.storedColumnWidths = [], this.scrollLeft = 0, this.scrollViewportLeft = 0, this.scrollFactorY = 0, this.scrollFactorX = 0, this.cleanupFunctions = {
2722
+ super(e, t, s, i), this.firstVisibleRowIndex = -1, this.lastVisibleRowIndex = -1, this.firstFullVisibleRowIndex = -1, this.lastFullVisibleRowIndex = -1, this.displayedRowCount = 0, this.pixelLimitForFullVisible = 5, this.loggingActive = !1, this.dragging = !1, this.editing = !1, this.storedColumnWidths = [], this.scrollLeft = 0, this.scrollViewportLeft = 0, this.scrollFactorY = 0, this.scrollFactorX = 0, this.cleanupFunctions = {
2723
2723
  header: [],
2724
2724
  body: [],
2725
2725
  footer: []
2726
- }, this.tree = !1, this.colAndRowspanModels = new we(), this.draggingTargetColumnIndex = -1, this.removables = [], this.tableModel.getSelectionModel ? this.getSelectionModel = this.tableModel.getSelectionModel : (r = this.tableOptions) != null && r.getSelectionModel && (this.getSelectionModel = this.tableOptions.getSelectionModel), (l = this.tableOptions) != null && l.getFocusModel && (this.getFocusModel = this.tableOptions.getFocusModel), $(t.getAreaModel("body")) && (this.tree = !0), ["header", "body", "footer"].forEach(
2726
+ }, this.tree = !1, this.colAndRowspanModels = new me(), this.draggingTargetColumnIndex = -1, this.removables = [], this.tableModel.getSelectionModel ? this.getSelectionModel = this.tableModel.getSelectionModel : (r = this.tableOptions) != null && r.getSelectionModel && (this.getSelectionModel = this.tableOptions.getSelectionModel), (l = this.tableOptions) != null && l.getFocusModel && (this.getFocusModel = this.tableOptions.getFocusModel), W(t.getAreaModel("body")) && (this.tree = !0), ["header", "body", "footer"].forEach(
2727
2727
  (a) => {
2728
2728
  var n;
2729
- this.colAndRowspanModels[a] = new ye(t, t.getAreaModel(a)), (n = this.colAndRowspanModels[a]) == null || n.init();
2729
+ this.colAndRowspanModels[a] = new fe(t, t.getAreaModel(a)), (n = this.colAndRowspanModels[a]) == null || n.init();
2730
2730
  }
2731
2731
  );
2732
2732
  }
@@ -2764,13 +2764,13 @@ class xe extends Se {
2764
2764
  * @param {number} colIdx - The index of the column.
2765
2765
  */
2766
2766
  initRenderEditor(e, t) {
2767
- var o;
2768
- let s = (o = this.tableModel.getColumnDef(t)) == null ? void 0 : o.getEditRenderer;
2767
+ var i;
2768
+ let s = (i = this.tableModel.getColumnDef(t)) == null ? void 0 : i.getEditRenderer;
2769
2769
  if (s || (s = this.tableOptions.getEditRenderer), s)
2770
2770
  if (this.editorRenderer = s(e, t), this.editorRenderer) {
2771
2771
  this.editorRendererRow = e, this.editorRendererColumn = t, this.editing = !0, this.repaint();
2772
- const i = document.querySelector("input.ge-table-cell-editor-input");
2773
- i && i.focus();
2772
+ const o = document.querySelector("input.ge-table-cell-editor-input");
2773
+ o && o.focus();
2774
2774
  } else
2775
2775
  this.resetEditorRenderer();
2776
2776
  }
@@ -2862,24 +2862,24 @@ class xe extends Se {
2862
2862
  * @param {any} value - The new value to be displayed in the cell.
2863
2863
  * @param {string[]} cssClasses - An array of CSS classes to be applied to the cell.
2864
2864
  */
2865
- rerenderCellContent({ area: e, rowIndex: t, columnIndex: s, value: o, cssClasses: i }) {
2865
+ rerenderCellContent({ area: e, rowIndex: t, columnIndex: s, value: i, cssClasses: o }) {
2866
2866
  const r = this.tableModel.getAreaModel(e), l = 'div[data-col-index="' + s + '"][data-row-index="' + t + '"][data-area="' + e + '"]', a = document.querySelector(l);
2867
2867
  if (a) {
2868
2868
  let n;
2869
2869
  const c = this.editorRenderer && this.editorRendererRow === t && this.editorRendererColumn === s;
2870
- let h;
2871
- if (c ? h = this.editorRenderer : h = r.getCellRenderer(t, s), a.innerText = "", this.applyCssClasses(a, i), h)
2872
- n = h.render(a, t, s, e, r, o, this.dom.domService), n && this.cleanupFunctions[e].push(n);
2870
+ let p;
2871
+ if (c ? p = this.editorRenderer : p = r.getCellRenderer(t, s), a.innerText = "", this.applyCssClasses(a, o), p)
2872
+ n = p.render(a, t, s, e, r, i, this.dom.domService), n && this.cleanupFunctions[e].push(n);
2873
2873
  else {
2874
- const g = `${o}`;
2875
- this.dom.addLabelDiv(a, g, !1, t, s, e);
2874
+ const u = `${i}`;
2875
+ this.dom.addLabelDiv(a, u, !1, t, s, e);
2876
2876
  }
2877
- const d = r.getCustomClassesAt(t, s);
2878
- d.length && this.dom.addClasses(d, a);
2879
- const m = r.getCustomStyleAt(t, s);
2880
- if (m)
2881
- for (const g in m)
2882
- this.dom.setStyle(a, g, m[g]);
2877
+ const h = r.getCustomClassesAt(t, s);
2878
+ h.length && this.dom.addClasses(h, a);
2879
+ const g = r.getCustomStyleAt(t, s);
2880
+ if (g)
2881
+ for (const u in g)
2882
+ this.dom.setStyle(a, u, g[u]);
2883
2883
  }
2884
2884
  }
2885
2885
  getFirstVisibleRowIndex() {
@@ -2962,8 +2962,8 @@ class xe extends Se {
2962
2962
  getNumberByAttr(e, t) {
2963
2963
  var s;
2964
2964
  if (e) {
2965
- const o = (s = e.closest("[" + t + "]")) == null ? void 0 : s.getAttribute(t);
2966
- if (o) return Number(o);
2965
+ const i = (s = e.closest("[" + t + "]")) == null ? void 0 : s.getAttribute(t);
2966
+ if (i) return Number(i);
2967
2967
  }
2968
2968
  return -1;
2969
2969
  }
@@ -2978,8 +2978,8 @@ class xe extends Se {
2978
2978
  getStringByAttr(e, t) {
2979
2979
  var s;
2980
2980
  if (e) {
2981
- const o = (s = e.closest("[" + t + "]")) == null ? void 0 : s.getAttribute(t);
2982
- if (o) return o;
2981
+ const i = (s = e.closest("[" + t + "]")) == null ? void 0 : s.getAttribute(t);
2982
+ if (i) return i;
2983
2983
  }
2984
2984
  return "";
2985
2985
  }
@@ -2993,72 +2993,72 @@ class xe extends Se {
2993
2993
  */
2994
2994
  adjustArea(e, t = 0) {
2995
2995
  var f;
2996
- const s = this.getArea(e, "west"), o = this.getArea(e, "center"), i = this.getArea(e, "east"), r = o.child.clientHeight;
2997
- s.child.innerText = "", o.child.innerText = "", i.child.innerText = "";
2998
- const l = 0, a = this.areaBodyCenterGeo.width, n = this.tableModel.getPadding(), c = this.tableModel.getAreaModel(e), h = c.getRowCount();
2996
+ const s = this.getArea(e, "west"), i = this.getArea(e, "center"), o = this.getArea(e, "east"), r = i.child.clientHeight;
2997
+ s.child.innerText = "", i.child.innerText = "", o.child.innerText = "";
2998
+ const l = 0, a = this.areaBodyCenterGeo.width, n = this.tableModel.getPadding(), c = this.tableModel.getAreaModel(e), p = c.getRowCount();
2999
2999
  for (; this.cleanupFunctions[e].length; ) {
3000
- const u = this.cleanupFunctions[e].shift();
3001
- u && u();
3000
+ const m = this.cleanupFunctions[e].shift();
3001
+ m && m();
3002
3002
  }
3003
- let d = t;
3004
- const m = this.tableModel.getColumnCount(), g = this.tableModel.getFixedRightColumnCount(), b = this.tableModel.getFixedLeftColumnCount();
3003
+ let h = t;
3004
+ const g = this.tableModel.getColumnCount(), u = this.tableModel.getFixedRightColumnCount(), S = this.tableModel.getFixedLeftColumnCount();
3005
3005
  e === "body" && (this.firstVisibleRowIndex = -1, this.firstFullVisibleRowIndex = -1, this.lastVisibleRowIndex = -1, this.lastFullVisibleRowIndex = -1);
3006
- for (let u = 0; u < h; u++) {
3007
- const w = d, S = u === h - 1, v = this.tableModel.getRowHeight(e, u);
3008
- if (w + v > 0) {
3009
- e === "body" && this.firstVisibleRowIndex === -1 && (this.firstVisibleRowIndex = u, this.firstFullVisibleRowIndex = w < -this.pixelLimitForFullVisible ? this.firstVisibleRowIndex + 1 : this.firstVisibleRowIndex);
3010
- let x = { left: l, width: a, height: v, top: w, index: u }, y = this.dom.addRowDiv(o, x, u, e, "center");
3011
- const M = b;
3006
+ for (let m = 0; m < p; m++) {
3007
+ const x = h, y = m === p - 1, v = this.tableModel.getRowHeight(e, m);
3008
+ if (x + v > 0) {
3009
+ e === "body" && this.firstVisibleRowIndex === -1 && (this.firstVisibleRowIndex = m, this.firstFullVisibleRowIndex = x < -this.pixelLimitForFullVisible ? this.firstVisibleRowIndex + 1 : this.firstVisibleRowIndex);
3010
+ let w = { left: l, width: a, height: v, top: x, index: m }, b = this.dom.addRowDiv(i, w, m, e, "center");
3011
+ const M = S;
3012
3012
  if (this.adjustColumnsToRowParent({
3013
3013
  areaIdent: e,
3014
3014
  sideIdent: "center",
3015
3015
  areaModel: c,
3016
- geo: x,
3017
- parent: y,
3018
- rowIndex: u,
3016
+ geo: w,
3017
+ parent: b,
3018
+ rowIndex: m,
3019
3019
  columnIndexStart: M,
3020
- columnIndexEnd: m - g - 1,
3020
+ columnIndexEnd: g - u - 1,
3021
3021
  verticalFixed: !1,
3022
- lastRowOfModel: S
3023
- }), n.left > 0 && (x = { left: l, width: this.areaBodyWestGeo.width, height: v, top: w, index: u }, y = this.dom.addRowDiv(s, x, u, e, "west"), this.adjustColumnsToRowParent({
3022
+ lastRowOfModel: y
3023
+ }), n.left > 0 && (w = { left: l, width: this.areaBodyWestGeo.width, height: v, top: x, index: m }, b = this.dom.addRowDiv(s, w, m, e, "west"), this.adjustColumnsToRowParent({
3024
3024
  areaIdent: e,
3025
3025
  sideIdent: "west",
3026
3026
  areaModel: c,
3027
- geo: x,
3028
- parent: y,
3029
- rowIndex: u,
3027
+ geo: w,
3028
+ parent: b,
3029
+ rowIndex: m,
3030
3030
  columnIndexStart: 0,
3031
3031
  columnIndexEnd: M - 1,
3032
3032
  verticalFixed: !0,
3033
- lastRowOfModel: S
3034
- })), n.right > 0 && (x = { left: l, width: this.areaBodyEastGeo.width, height: v, top: w, index: u }, y = this.dom.addRowDiv(i, x, u, e, "east"), this.adjustColumnsToRowParent({
3033
+ lastRowOfModel: y
3034
+ })), n.right > 0 && (w = { left: l, width: this.areaBodyEastGeo.width, height: v, top: x, index: m }, b = this.dom.addRowDiv(o, w, m, e, "east"), this.adjustColumnsToRowParent({
3035
3035
  areaIdent: e,
3036
3036
  sideIdent: "east",
3037
3037
  areaModel: c,
3038
- geo: x,
3039
- parent: y,
3040
- rowIndex: u,
3041
- columnIndexStart: m - g,
3042
- columnIndexEnd: m - 1,
3038
+ geo: w,
3039
+ parent: b,
3040
+ rowIndex: m,
3041
+ columnIndexStart: g - u,
3042
+ columnIndexEnd: g - 1,
3043
3043
  verticalFixed: !0,
3044
- lastRowOfModel: S
3045
- })), e === "header" && this.tree && u === h - 1) {
3044
+ lastRowOfModel: y
3045
+ })), e === "header" && this.tree && m === p - 1) {
3046
3046
  const A = this.dom.applyStyle(
3047
3047
  this.dom.setAttribute(
3048
- this.dom.addDiv(y, new T(16, 20, 20, 8)),
3048
+ this.dom.addDiv(b, new T(16, 20, 20, 8)),
3049
3049
  "data-ge-action",
3050
3050
  "toggleExpandCollapseAll"
3051
3051
  ),
3052
3052
  { cursor: "pointer" }
3053
3053
  ), E = this.tableOptions.treeOptions.arrowExpandCollapseAll;
3054
3054
  if (E) {
3055
- const O = this.dom.domService.createText(E.content);
3056
- this.dom.domService.appendChild(A, O), E.style && this.dom.applyStyleString(A, E.style);
3055
+ const B = this.dom.domService.createText(E.content);
3056
+ this.dom.domService.appendChild(A, B), E.style && this.dom.applyStyleString(A, E.style);
3057
3057
  }
3058
3058
  }
3059
3059
  }
3060
- if (d = d + v, d > r) {
3061
- e === "body" && (this.lastVisibleRowIndex = u, this.lastFullVisibleRowIndex = r - d < -this.pixelLimitForFullVisible ? u - 1 : u, this.displayedRowCount = this.lastFullVisibleRowIndex - this.firstFullVisibleRowIndex + 1);
3060
+ if (h = h + v, h > r) {
3061
+ e === "body" && (this.lastVisibleRowIndex = m, this.lastFullVisibleRowIndex = r - h < -this.pixelLimitForFullVisible ? m - 1 : m, this.displayedRowCount = this.lastFullVisibleRowIndex - this.firstFullVisibleRowIndex + 1);
3062
3062
  break;
3063
3063
  }
3064
3064
  }
@@ -3066,19 +3066,19 @@ class xe extends Se {
3066
3066
  render scope: this.firstFullVisibleRowIndex <- ` + this.firstFullVisibleRowIndex + `
3067
3067
  render scope: this.lastVisibleRowIndex <- ` + this.lastVisibleRowIndex + `
3068
3068
  render scope: this.lastFullVisibleRowIndex <- ` + this.lastFullVisibleRowIndex), this.colAndRowspanModels && this.colAndRowspanModels[e]) {
3069
- const u = ((f = this.colAndRowspanModels[e]) == null ? void 0 : f.getRanges()) ?? [];
3070
- if (u.length)
3071
- for (const w of u) {
3072
- let S = 0, v = o.child, x = "center";
3073
- if (w.c1 < b)
3074
- v = s.child, x = "west";
3075
- else if (g > 0 && w.c1 >= m - g)
3076
- v = i.child, x = "east";
3069
+ const m = ((f = this.colAndRowspanModels[e]) == null ? void 0 : f.getRanges()) ?? [];
3070
+ if (m.length)
3071
+ for (const x of m) {
3072
+ let y = 0, v = i.child, w = "center";
3073
+ if (x.c1 < S)
3074
+ v = s.child, w = "west";
3075
+ else if (u > 0 && x.c1 >= g - u)
3076
+ v = o.child, w = "east";
3077
3077
  else {
3078
- const y = this.areaBodyCenterGeo.width - this.tableModel.getContentWidthInPixel();
3079
- S = this.scrollFactorX * y - this.areaBodyWestGeo.width, x = "center";
3078
+ const b = this.areaBodyCenterGeo.width - this.tableModel.getContentWidthInPixel();
3079
+ y = this.scrollFactorX * b - this.areaBodyWestGeo.width, w = "center";
3080
3080
  }
3081
- this.drawBigCell(w, S, t, c, v, x);
3081
+ this.drawBigCell(x, y, t, c, v, w);
3082
3082
  }
3083
3083
  }
3084
3084
  }
@@ -3092,49 +3092,49 @@ render scope: this.lastFullVisibleRowIndex <- ` + this.lastFullVisibleRowIndex),
3092
3092
  * @param sideIdent SideIdent (west,center,east)
3093
3093
  * @protected
3094
3094
  */
3095
- drawBigCell(e, t, s, o, i, r) {
3096
- const l = s + this.getRowHeights(0, e.r1 - 1, o).reduce((f, u) => f + u, 0), a = this.tableModel.getColumnCount(), n = this.tableModel.getFixedRightColumnCount();
3095
+ drawBigCell(e, t, s, i, o, r) {
3096
+ const l = s + this.getRowHeights(0, e.r1 - 1, i).reduce((f, m) => f + m, 0), a = this.tableModel.getColumnCount(), n = this.tableModel.getFixedRightColumnCount();
3097
3097
  let c = 0;
3098
3098
  n > 0 && e.c1 >= a - n && (c = a - n);
3099
- const h = t + this.getColumnWidths(c, e.c1 - 1).reduce((f, u) => f + u, 0), d = this.getRowHeights(e.r1, e.r2, o).reduce((f, u) => f + u, 0), m = this.getColumnWidths(e.c1, e.c2).reduce((f, u) => f + u, 0);
3100
- let g = !1;
3101
- const b = this.getSelectionModel ? this.getSelectionModel() : void 0;
3102
- b && (g = b.getSelectionCount(e.r1, e.c1) > 0), e.gammaRange ? this.renderCell({
3103
- areaModel: o,
3104
- areaIdent: o.areaIdent,
3099
+ const p = t + this.getColumnWidths(c, e.c1 - 1).reduce((f, m) => f + m, 0), h = this.getRowHeights(e.r1, e.r2, i).reduce((f, m) => f + m, 0), g = this.getColumnWidths(e.c1, e.c2).reduce((f, m) => f + m, 0);
3100
+ let u = !1;
3101
+ const S = this.getSelectionModel ? this.getSelectionModel() : void 0;
3102
+ S && (u = S.getSelectionCount(e.r1, e.c1) > 0), e.gammaRange ? this.renderCell({
3103
+ areaModel: i,
3104
+ areaIdent: i.areaIdent,
3105
3105
  sideIdent: r,
3106
3106
  rowIndex: e.r1,
3107
3107
  columnIndex: e.c1,
3108
- left: h,
3108
+ left: p,
3109
3109
  top: l,
3110
- width: m,
3111
- height: d,
3112
- parent: i,
3113
- cellSelected: g,
3110
+ width: g,
3111
+ height: h,
3112
+ parent: o,
3113
+ cellSelected: u,
3114
3114
  lastRowOfModel: !0,
3115
3115
  gammaRange: e.gammaRange
3116
3116
  }) : this.renderCell({
3117
- areaModel: o,
3118
- areaIdent: o.areaIdent,
3117
+ areaModel: i,
3118
+ areaIdent: i.areaIdent,
3119
3119
  sideIdent: r,
3120
3120
  rowIndex: e.r1,
3121
3121
  columnIndex: e.c1,
3122
- left: h,
3122
+ left: p,
3123
3123
  top: l,
3124
- width: m,
3125
- height: d,
3126
- parent: i,
3127
- cellSelected: g,
3124
+ width: g,
3125
+ height: h,
3126
+ parent: o,
3127
+ cellSelected: u,
3128
3128
  lastRowOfModel: !0,
3129
3129
  gammaRange: e.gammaRange
3130
- }), o.areaIdent === "header" && this.tableOptions.columnsResizable && this.renderHeaderCellResizeHandle({
3130
+ }), i.areaIdent === "header" && this.tableOptions.columnsResizable && this.renderHeaderCellResizeHandle({
3131
3131
  rowIndex: e.r1,
3132
3132
  columnIndex: e.c1,
3133
- cellLeft: h,
3133
+ cellLeft: p,
3134
3134
  cellTop: l,
3135
- cellWidth: m,
3136
- cellHeight: d,
3137
- parent: i
3135
+ cellWidth: g,
3136
+ cellHeight: h,
3137
+ parent: o
3138
3138
  });
3139
3139
  }
3140
3140
  /**
@@ -3147,12 +3147,12 @@ render scope: this.lastFullVisibleRowIndex <- ` + this.lastFullVisibleRowIndex),
3147
3147
  * @protected
3148
3148
  */
3149
3149
  findRowOfImportantRowspanCell(e, t, s) {
3150
- const o = e.getMaxRowspan();
3151
- for (let i = t - 1; i > -1; i--) {
3152
- const r = e.getRowspanAt(i, s);
3153
- if (r > 1 && i + r + 1 >= t)
3154
- return i;
3155
- if (t - i > o)
3150
+ const i = e.getMaxRowspan();
3151
+ for (let o = t - 1; o > -1; o--) {
3152
+ const r = e.getRowspanAt(o, s);
3153
+ if (r > 1 && o + r + 1 >= t)
3154
+ return o;
3155
+ if (t - o > i)
3156
3156
  return -1;
3157
3157
  }
3158
3158
  return -1;
@@ -3168,67 +3168,67 @@ render scope: this.lastFullVisibleRowIndex <- ` + this.lastFullVisibleRowIndex),
3168
3168
  areaIdent: e,
3169
3169
  sideIdent: t,
3170
3170
  areaModel: s,
3171
- geo: o,
3172
- parent: i,
3171
+ geo: i,
3172
+ parent: o,
3173
3173
  rowIndex: r,
3174
3174
  columnIndexStart: l,
3175
3175
  columnIndexEnd: a,
3176
3176
  verticalFixed: n = !1,
3177
3177
  lastRowOfModel: c = !1
3178
3178
  }) {
3179
- var b;
3179
+ var S;
3180
3180
  this.scrollViewportLeft = this.scrollViewport.scrollLeft;
3181
- let h = 0;
3181
+ let p = 0;
3182
3182
  if (!n) {
3183
3183
  const f = this.areaBodyCenterGeo.width - this.tableModel.getContentWidthInPixel();
3184
- h = this.scrollFactorX * f;
3184
+ p = this.scrollFactorX * f;
3185
3185
  }
3186
- const d = 0, m = !!(e === "body" && t);
3187
- let g = h;
3186
+ const h = 0, g = !!(e === "body" && t);
3187
+ let u = p;
3188
3188
  for (let f = l; f <= a; f++) {
3189
- const u = g, w = this.tableModel.getColumnWidth(f);
3190
- if (w > 0 && u + w > 0) {
3191
- let S = o.height;
3192
- const v = s.getRowspanAt(r, f), x = s.getColspanAt(r, f);
3193
- v > 1 && (S = this.getRowHeights(r, r + v - 1, s).reduce((A, E) => A + E, 0));
3194
- let y = w;
3195
- x > 1 && (y = this.getColumnWidths(f, f + x - 1).reduce((A, E) => A + E, 0));
3189
+ const m = u, x = this.tableModel.getColumnWidth(f);
3190
+ if (x > 0 && m + x > 0) {
3191
+ let y = i.height;
3192
+ const v = s.getRowspanAt(r, f), w = s.getColspanAt(r, f);
3193
+ v > 1 && (y = this.getRowHeights(r, r + v - 1, s).reduce((A, E) => A + E, 0));
3194
+ let b = x;
3195
+ w > 1 && (b = this.getColumnWidths(f, f + w - 1).reduce((A, E) => A + E, 0));
3196
3196
  let M = !1;
3197
- if (this.colAndRowspanModels && this.colAndRowspanModels[e] && (b = this.colAndRowspanModels[e]) != null && b.isInRange(r, f) && (M = !0), this.draggingTargetColumnIndex === f && e !== "header") {
3198
- this.renderDragTargetDiv(i, u, d, y, S);
3199
- const A = { left: u, top: d, width: y, height: S };
3200
- this.dom.addColumnBorderDivs(this.tableOptions, i, A, e, t);
3197
+ if (this.colAndRowspanModels && this.colAndRowspanModels[e] && (S = this.colAndRowspanModels[e]) != null && S.isInRange(r, f) && (M = !0), this.draggingTargetColumnIndex === f && e !== "header") {
3198
+ this.renderDragTargetDiv(o, m, h, b, y);
3199
+ const A = { left: m, top: h, width: b, height: y };
3200
+ this.dom.addColumnBorderDivs(this.tableOptions, o, A, e, t);
3201
3201
  } else {
3202
- const A = this.renderSelectedBackgroundDiv(M, m, t, s, r, f, i, u, d, y, S);
3202
+ const A = this.renderSelectedBackgroundDiv(M, g, t, s, r, f, o, m, h, b, y);
3203
3203
  "gammaCells" in s && s.getValueAt(r, f) && (M = !1), M || this.renderCell({
3204
3204
  areaModel: s,
3205
3205
  areaIdent: e,
3206
3206
  sideIdent: t,
3207
3207
  rowIndex: r,
3208
3208
  columnIndex: f,
3209
- left: u,
3210
- top: d,
3211
- width: y,
3212
- height: S,
3213
- parent: i,
3209
+ left: m,
3210
+ top: h,
3211
+ width: b,
3212
+ height: y,
3213
+ parent: o,
3214
3214
  cellSelected: A,
3215
3215
  lastRowOfModel: c,
3216
3216
  gammaRange: !0
3217
3217
  }), e === "header" && this.tableOptions.columnsResizable && this.renderHeaderCellResizeHandle({
3218
3218
  rowIndex: r,
3219
3219
  columnIndex: f,
3220
- cellLeft: u,
3221
- cellTop: d,
3222
- cellWidth: y,
3223
- cellHeight: S,
3224
- parent: i
3220
+ cellLeft: m,
3221
+ cellTop: h,
3222
+ cellWidth: b,
3223
+ cellHeight: y,
3224
+ parent: o
3225
3225
  });
3226
3226
  }
3227
3227
  }
3228
- if (g = g + w, g > this.areaBodyCenterGeo.width)
3228
+ if (u = u + x, u > this.areaBodyCenterGeo.width)
3229
3229
  break;
3230
3230
  }
3231
- this.tableOptions.verticalBorderVisible && this.dom.addVerticalBorder(new T(g - 1, 1, o.height, 0), i);
3231
+ this.tableOptions.verticalBorderVisible && this.dom.addVerticalBorder(new T(u - 1, 1, i.height, 0), o);
3232
3232
  }
3233
3233
  /**
3234
3234
  * Retrieves the column index of the tree arrow column in the table.
@@ -3246,58 +3246,58 @@ render scope: this.lastFullVisibleRowIndex <- ` + this.lastFullVisibleRowIndex),
3246
3246
  areaModel: e,
3247
3247
  areaIdent: t,
3248
3248
  sideIdent: s,
3249
- rowIndex: o,
3250
- index: i,
3249
+ rowIndex: i,
3250
+ index: o,
3251
3251
  left: r,
3252
3252
  width: l,
3253
3253
  height: a,
3254
3254
  top: n,
3255
3255
  parent: c,
3256
- lastRowOfModel: h
3256
+ lastRowOfModel: p
3257
3257
  }) {
3258
- var j;
3259
- const m = this.editorRenderer && this.editorRendererRow === o && this.editorRendererColumn === i ? this.editorRenderer : e.getCellRenderer(o, i), g = { left: r, width: l, height: a, top: n, index: i }, b = e.getRowByIndex(o);
3258
+ var U;
3259
+ const g = this.editorRenderer && this.editorRendererRow === i && this.editorRendererColumn === o ? this.editorRenderer : e.getCellRenderer(i, o), u = { left: r, width: l, height: a, top: n, index: o }, S = e.getRowByIndex(i);
3260
3260
  let f = "none";
3261
- if (i === this.getTreeArrowColumnIndex() && B(b)) {
3262
- const C = b;
3263
- (j = C.children) != null && j.length ? C.expanded ? f = "expanded" : f = "collapsed" : f = "hidden";
3261
+ if (o === this.getTreeArrowColumnIndex() && V(S)) {
3262
+ const C = S;
3263
+ (U = C.children) != null && U.length ? C.expanded ? f = "expanded" : f = "collapsed" : f = "hidden";
3264
3264
  }
3265
- let w;
3265
+ let x;
3266
3266
  if (t === "header") {
3267
- const C = this.tableModel.getColumnDef(i);
3268
- (!(C != null && C.sortIconVisible) || C != null && C.sortIconVisible()) && (w = C == null ? void 0 : C.sortState);
3267
+ const C = this.tableModel.getColumnDef(o);
3268
+ (!(C != null && C.sortIconVisible) || C != null && C.sortIconVisible()) && (x = C == null ? void 0 : C.sortState);
3269
3269
  }
3270
- const S = e.getValueAt(o, i), v = m ? "" : `${S}`, x = e.isRowChecked(o), y = this.dom.addColumnDiv(
3270
+ const y = e.getValueAt(i, o), v = g ? "" : `${y}`, w = e.isRowChecked(i), b = this.dom.addColumnDiv(
3271
3271
  {
3272
3272
  parent: c,
3273
- geo: g,
3274
- rowIndex: o,
3275
- columnIndex: i,
3273
+ geo: u,
3274
+ rowIndex: i,
3275
+ columnIndex: o,
3276
3276
  areaIdent: t,
3277
3277
  sideIdent: s,
3278
3278
  text: v,
3279
3279
  treeArrow: f,
3280
3280
  tableOptions: this.tableOptions,
3281
- checkedType: x,
3282
- sortState: w
3281
+ checkedType: w,
3282
+ sortState: x
3283
3283
  }
3284
- ), M = e.getTooltipAt(o, i);
3285
- M && this.dom.setAttribute(y, "title", M);
3286
- const A = this.tableModel.getColumnDef(i);
3287
- A && A.classes[t] && this.dom.addClasses(A.classes[t], y);
3284
+ ), M = e.getTooltipAt(i, o);
3285
+ M && this.dom.setAttribute(b, "title", M);
3286
+ const A = this.tableModel.getColumnDef(o);
3287
+ A && A.classes[t] && this.dom.addClasses(A.classes[t], b);
3288
3288
  let E;
3289
- m && (E = m.render(y, o, i, t, e, S, this.dom.domService));
3290
- const O = e.getCustomClassesAt(o, i);
3291
- if (O.length && this.dom.addClasses(O, y), this.dom.addColumnBorderDivs(this.tableOptions, c, g, t, s), h && this.dom.addHorizontalBorder({ left: r, width: l, height: a, top: n + a }, c), this.getFocusModel && t === "body") {
3289
+ g && (E = g.render(b, i, o, t, e, y, this.dom.domService));
3290
+ const B = e.getCustomClassesAt(i, o);
3291
+ if (B.length && this.dom.addClasses(B, b), this.dom.addColumnBorderDivs(this.tableOptions, c, u, t, s), p && this.dom.addHorizontalBorder({ left: r, width: l, height: a, top: n + a }, c), this.getFocusModel && t === "body") {
3292
3292
  const C = this.getFocusModel();
3293
- C != null && C.hasFocus(o, i) && this.dom.addFocusBorderDivs(c, g, {});
3293
+ C != null && C.hasFocus(i, o) && this.dom.addFocusBorderDivs(c, u, {});
3294
3294
  }
3295
- t === "header" && this.dom.setAttribute(y, "data-ge-action", "drag-column");
3296
- const H = e.getCustomStyleAt(o, i);
3297
- if (H)
3298
- for (const C in H)
3299
- this.dom.setStyle(y, C, H[C]);
3300
- return [y, E];
3295
+ t === "header" && this.dom.setAttribute(b, "data-ge-action", "drag-column");
3296
+ const k = e.getCustomStyleAt(i, o);
3297
+ if (k)
3298
+ for (const C in k)
3299
+ this.dom.setStyle(b, C, k[C]);
3300
+ return [b, E];
3301
3301
  }
3302
3302
  /**
3303
3303
  * Applies CSS classes to an HTML element.
@@ -3307,8 +3307,8 @@ render scope: this.lastFullVisibleRowIndex <- ` + this.lastFullVisibleRowIndex),
3307
3307
  * @protected
3308
3308
  */
3309
3309
  applyCssClasses(e, t = {}) {
3310
- e && Object.entries(t).forEach(([s, o]) => {
3311
- o ? this.dom.addClass(s, e) : this.dom.removeClass(s, e);
3310
+ e && Object.entries(t).forEach(([s, i]) => {
3311
+ i ? this.dom.addClass(s, e) : this.dom.removeClass(s, e);
3312
3312
  });
3313
3313
  }
3314
3314
  /**
@@ -3321,8 +3321,8 @@ render scope: this.lastFullVisibleRowIndex <- ` + this.lastFullVisibleRowIndex),
3321
3321
  */
3322
3322
  getColumnWidths(e, t) {
3323
3323
  const s = [];
3324
- for (let o = e; o <= t; o++)
3325
- s.push(this.tableModel.getColumnWidth(o));
3324
+ for (let i = e; i <= t; i++)
3325
+ s.push(this.tableModel.getColumnWidth(i));
3326
3326
  return s;
3327
3327
  }
3328
3328
  /**
@@ -3334,10 +3334,10 @@ render scope: this.lastFullVisibleRowIndex <- ` + this.lastFullVisibleRowIndex),
3334
3334
  * @return {number[]} - An array containing the heights of the rows within the specified range.
3335
3335
  */
3336
3336
  getRowHeights(e, t, s) {
3337
- const o = [];
3338
- for (let i = e; i <= t; i++)
3339
- o.push(s.getRowHeight(i));
3340
- return o;
3337
+ const i = [];
3338
+ for (let o = e; o <= t; o++)
3339
+ i.push(s.getRowHeight(o));
3340
+ return i;
3341
3341
  }
3342
3342
  /**
3343
3343
  * Adjusts the position and size of the hover row based on the mouse move event.
@@ -3348,10 +3348,10 @@ render scope: this.lastFullVisibleRowIndex <- ` + this.lastFullVisibleRowIndex),
3348
3348
  */
3349
3349
  adjustHoverRows(e) {
3350
3350
  if (this.tableOptions.hoverRowVisible && e.rowIndex > -1) {
3351
- const t = this.hostElement.clientWidth, s = this.tableModel.getAreaModel("body").getRowHeight(e.rowIndex), o = e.rowTop + this.areaHeaderCenter.parent.clientHeight - this.scrollTop;
3351
+ const t = this.hostElement.clientWidth, s = this.tableModel.getAreaModel("body").getRowHeight(e.rowIndex), i = e.rowTop + this.areaHeaderCenter.parent.clientHeight - this.scrollTop;
3352
3352
  this.dom.applyStyle(this.hoverRow, {
3353
3353
  left: "0",
3354
- top: o + "px",
3354
+ top: i + "px",
3355
3355
  width: t + "px",
3356
3356
  height: s + "px",
3357
3357
  display: "block"
@@ -3381,9 +3381,9 @@ render scope: this.lastFullVisibleRowIndex <- ` + this.lastFullVisibleRowIndex),
3381
3381
  */
3382
3382
  adjustHoverColumns(e) {
3383
3383
  if (this.tableOptions.hoverColumnVisible && e.rowIndex > -1) {
3384
- const t = this.hostElement.clientHeight, s = this.tableModel.getColumnWidth(e.columnIndex), o = this.areaBodyWestGeo.width, i = e.columnLeft + this.tableModel.getPadding().left - this.scrollLeft - o;
3384
+ const t = this.hostElement.clientHeight, s = this.tableModel.getColumnWidth(e.columnIndex), i = this.areaBodyWestGeo.width, o = e.columnLeft + this.tableModel.getPadding().left - this.scrollLeft - i;
3385
3385
  this.dom.applyStyle(this.hoverColumn, {
3386
- left: i + "px",
3386
+ left: o + "px",
3387
3387
  top: "0px",
3388
3388
  width: s + "px",
3389
3389
  height: t + "px",
@@ -3425,11 +3425,11 @@ render scope: this.lastFullVisibleRowIndex <- ` + this.lastFullVisibleRowIndex),
3425
3425
  * @param {boolean} firstDraggingRendering - Indicates if it's the first rendering of the dragging column.
3426
3426
  */
3427
3427
  adjustDraggingColumn(e, t, s) {
3428
- var o, i;
3428
+ var i, o;
3429
3429
  if (this.dragging) {
3430
3430
  const r = this.hostElement.clientHeight, l = this.storedColumnWidths[t];
3431
- if ((o = e.originalEvent) != null && o.clientX) {
3432
- const c = { left: ((i = e.originalEvent) == null ? void 0 : i.clientX) - l / 2, width: l, height: r, top: 0, index: t };
3431
+ if ((i = e.originalEvent) != null && i.clientX) {
3432
+ const c = { left: ((o = e.originalEvent) == null ? void 0 : o.clientX) - l / 2, width: l, height: r, top: 0, index: t };
3433
3433
  this.dom.applyStyle(this.draggingColumn, {
3434
3434
  background: "rgba(128,128,128,0.2)",
3435
3435
  display: "block",
@@ -3459,30 +3459,30 @@ render scope: this.lastFullVisibleRowIndex <- ` + this.lastFullVisibleRowIndex),
3459
3459
  * @return {number} The final y-position after rendering all the content.
3460
3460
  */
3461
3461
  renderContentOfDraggingColumnForArea(e, t, s = 0) {
3462
- const o = "center", i = this.tableModel.getAreaModel(t), r = i == null ? void 0 : i.getRowCount();
3462
+ const i = "center", o = this.tableModel.getAreaModel(t), r = o == null ? void 0 : o.getRowCount();
3463
3463
  if (r) {
3464
3464
  const l = e.index ?? 0, a = this.draggingColumn;
3465
3465
  for (let n = 0; n < r; n++) {
3466
- const c = s, h = i.getRowHeight(n), d = { left: 0, width: e.width, height: h, top: c, index: n }, m = i.getValueAt(n, l), g = i.getCellRenderer(n, l), b = g ? "" : `${m}`, f = {
3466
+ const c = s, p = o.getRowHeight(n), h = { left: 0, width: e.width, height: p, top: c, index: n }, g = o.getValueAt(n, l), u = o.getCellRenderer(n, l), S = u ? "" : `${g}`, f = {
3467
3467
  parent: a,
3468
- geo: d,
3468
+ geo: h,
3469
3469
  rowIndex: n,
3470
3470
  columnIndex: l,
3471
3471
  areaIdent: t,
3472
- sideIdent: o,
3473
- text: b
3474
- }, u = this.dom.addColumnDiv(f);
3475
- let w;
3476
- g && (w = g.render(u, n, l, t, i, m, this.dom.domService), w && this.cleanupFunctions[t].push(w));
3477
- const S = i.getCustomClassesAt(n, l);
3478
- S.length && this.dom.addClasses(S, u);
3472
+ sideIdent: i,
3473
+ text: S
3474
+ }, m = this.dom.addColumnDiv(f);
3475
+ let x;
3476
+ u && (x = u.render(m, n, l, t, o, g, this.dom.domService), x && this.cleanupFunctions[t].push(x));
3477
+ const y = o.getCustomClassesAt(n, l);
3478
+ y.length && this.dom.addClasses(y, m);
3479
3479
  const v = this.tableModel.getColumnDef(l);
3480
- v && v.classes[t] && this.dom.addClasses(v.classes[t], u), this.dom.addColumnBorderDivs(this.tableOptions, a, d, t, o);
3481
- const x = i.getCustomStyleAt(n, l);
3482
- if (x)
3483
- for (const y in x)
3484
- this.dom.setStyle(u, y, x[y]);
3485
- s = s + h;
3480
+ v && v.classes[t] && this.dom.addClasses(v.classes[t], m), this.dom.addColumnBorderDivs(this.tableOptions, a, h, t, i);
3481
+ const w = o.getCustomStyleAt(n, l);
3482
+ if (w)
3483
+ for (const b in w)
3484
+ this.dom.setStyle(m, b, w[b]);
3485
+ s = s + p;
3486
3486
  }
3487
3487
  }
3488
3488
  return s;
@@ -3508,11 +3508,11 @@ render scope: this.lastFullVisibleRowIndex <- ` + this.lastFullVisibleRowIndex),
3508
3508
  * @param {number} height - The height of the target div in pixels.
3509
3509
  * @return {HTMLDivElement} - The rendered draggable target div element.
3510
3510
  */
3511
- renderDragTargetDiv(e, t, s, o, i) {
3511
+ renderDragTargetDiv(e, t, s, i, o) {
3512
3512
  const r = this.dom.applyStylePosistionAbsolute(
3513
3513
  this.dom.createDivWithClass("ge-table-drop-zone", e)
3514
3514
  );
3515
- return this.dom.setStyle(r, "left", `${t}px`), this.dom.setStyle(r, "top", `${s}px`), this.dom.setStyle(r, "width", `${o}px`), this.dom.setStyle(r, "height", `${i}px`), r;
3515
+ return this.dom.setStyle(r, "left", `${t}px`), this.dom.setStyle(r, "top", `${s}px`), this.dom.setStyle(r, "width", `${i}px`), this.dom.setStyle(r, "height", `${o}px`), r;
3516
3516
  }
3517
3517
  /**
3518
3518
  * Render selected background div.
@@ -3531,23 +3531,23 @@ render scope: this.lastFullVisibleRowIndex <- ` + this.lastFullVisibleRowIndex),
3531
3531
  * @param {number} height - The height of the div.
3532
3532
  * @returns {boolean} - Whether the cell is selected.
3533
3533
  */
3534
- renderSelectedBackgroundDiv(e, t, s, o, i, r, l, a, n, c, h) {
3535
- let d = !1;
3536
- if (!e && t && o.isSelectable(i, r) && this.getSelectionModel) {
3537
- const m = this.getSelectionModel();
3538
- if (m) {
3539
- const g = m.getSelectionCount(i, r);
3540
- d = g > 0;
3541
- for (let b = 0; b < g; b++) {
3534
+ renderSelectedBackgroundDiv(e, t, s, i, o, r, l, a, n, c, p) {
3535
+ let h = !1;
3536
+ if (!e && t && i.isSelectable(o, r) && this.getSelectionModel) {
3537
+ const g = this.getSelectionModel();
3538
+ if (g) {
3539
+ const u = g.getSelectionCount(o, r);
3540
+ h = u > 0;
3541
+ for (let S = 0; S < u; S++) {
3542
3542
  const f = this.dom.applyStylePosistionAbsolute(
3543
3543
  // ge-table-body-west-selected-range
3544
- this.dom.createDivWithClass(`ge-table-${o.areaIdent}-${s}-selected-range`, l)
3544
+ this.dom.createDivWithClass(`ge-table-${i.areaIdent}-${s}-selected-range`, l)
3545
3545
  );
3546
- this.dom.setStyle(f, "left", `${a}px`), this.dom.setStyle(f, "top", `${n}px`), this.dom.setStyle(f, "width", `${c}px`), this.dom.setStyle(f, "height", `${h}px`);
3546
+ this.dom.setStyle(f, "left", `${a}px`), this.dom.setStyle(f, "top", `${n}px`), this.dom.setStyle(f, "width", `${c}px`), this.dom.setStyle(f, "height", `${p}px`);
3547
3547
  }
3548
3548
  }
3549
3549
  }
3550
- return d;
3550
+ return h;
3551
3551
  }
3552
3552
  /**
3553
3553
  * Renders a cell in the grid.
@@ -3572,30 +3572,30 @@ render scope: this.lastFullVisibleRowIndex <- ` + this.lastFullVisibleRowIndex),
3572
3572
  areaModel: e,
3573
3573
  areaIdent: t,
3574
3574
  sideIdent: s,
3575
- rowIndex: o,
3576
- columnIndex: i,
3575
+ rowIndex: i,
3576
+ columnIndex: o,
3577
3577
  left: r,
3578
3578
  top: l,
3579
3579
  width: a,
3580
3580
  height: n,
3581
3581
  parent: c,
3582
- cellSelected: h,
3583
- lastRowOfModel: d
3582
+ cellSelected: p,
3583
+ lastRowOfModel: h
3584
3584
  }) {
3585
- const [m, g] = this.addAndRenderCellDiv({
3585
+ const [g, u] = this.addAndRenderCellDiv({
3586
3586
  areaModel: e,
3587
3587
  areaIdent: t,
3588
3588
  sideIdent: s,
3589
- rowIndex: o,
3590
- index: i,
3589
+ rowIndex: i,
3590
+ index: o,
3591
3591
  left: r,
3592
3592
  width: a,
3593
3593
  height: n,
3594
3594
  top: l,
3595
3595
  parent: c,
3596
- lastRowOfModel: d
3596
+ lastRowOfModel: h
3597
3597
  });
3598
- h && this.dom.addClass(`ge-table-${t}-${s}-selected-range`, m), g && this.cleanupFunctions[t].push(g);
3598
+ p && this.dom.addClass(`ge-table-${t}-${s}-selected-range`, g), u && this.cleanupFunctions[t].push(u);
3599
3599
  }
3600
3600
  /**
3601
3601
  * Render the header cell resize handle.
@@ -3611,17 +3611,17 @@ render scope: this.lastFullVisibleRowIndex <- ` + this.lastFullVisibleRowIndex),
3611
3611
  *
3612
3612
  * @return {void}
3613
3613
  */
3614
- renderHeaderCellResizeHandle({ rowIndex: e, columnIndex: t, cellLeft: s, cellTop: o, cellWidth: i, cellHeight: r, parent: l }) {
3614
+ renderHeaderCellResizeHandle({ rowIndex: e, columnIndex: t, cellLeft: s, cellTop: i, cellWidth: o, cellHeight: r, parent: l }) {
3615
3615
  const a = this.dom.domService, n = this.tableOptions.columnResizeHandleWidthInPx ?? 2, c = a.createElement("div");
3616
- a.setAttribute(c, "data-col-index", `${t}`), a.setAttribute(c, "data-row-index", `${e}`), a.setAttribute(c, "data-area", "header"), a.setAttribute(c, "data-ge-action", "resize-column"), a.addClass(c, "ge-table-column-resize-handle"), a.setStyle(c, "display", "clip"), a.setStyle(c, "position", "absolute"), a.setStyle(c, "cursor", "col-resize"), a.setStyle(c, "left", `${s + i - n}px`), a.setStyle(c, "top", `${o}px`), a.setStyle(c, "width", `${n}px`), a.setStyle(c, "height", `${r}px`), a.appendChild(l, c);
3616
+ a.setAttribute(c, "data-col-index", `${t}`), a.setAttribute(c, "data-row-index", `${e}`), a.setAttribute(c, "data-area", "header"), a.setAttribute(c, "data-ge-action", "resize-column"), a.addClass(c, "ge-table-column-resize-handle"), a.setStyle(c, "display", "clip"), a.setStyle(c, "position", "absolute"), a.setStyle(c, "cursor", "col-resize"), a.setStyle(c, "left", `${s + o - n}px`), a.setStyle(c, "top", `${i}px`), a.setStyle(c, "width", `${n}px`), a.setStyle(c, "height", `${r}px`), a.appendChild(l, c);
3617
3617
  }
3618
3618
  }
3619
- class Ce {
3619
+ class Se {
3620
3620
  constructor(e, t) {
3621
3621
  this.columnIndex = e, this.sortState = t;
3622
3622
  }
3623
3623
  }
3624
- class ve {
3624
+ class ye {
3625
3625
  constructor(e) {
3626
3626
  this.tableScope = e, this.tableScope.hostElement.addEventListener("change", this.onHostElementChanged.bind(this));
3627
3627
  }
@@ -3635,45 +3635,45 @@ class ve {
3635
3635
  */
3636
3636
  onHostElementChanged(e) {
3637
3637
  if (e.target instanceof HTMLInputElement || e.target instanceof HTMLSelectElement || e.target instanceof HTMLTextAreaElement) {
3638
- const t = e.target, s = t.getAttribute("data-area"), o = t.getAttribute("data-row-index"), i = t.getAttribute("data-col-index");
3639
- if (s && o && i) {
3640
- const r = N(s), l = Number(o), a = Number(i);
3638
+ const t = e.target, s = t.getAttribute("data-area"), i = t.getAttribute("data-row-index"), o = t.getAttribute("data-col-index");
3639
+ if (s && i && o) {
3640
+ const r = $(s), l = Number(i), a = Number(o);
3641
3641
  this.tableScope.updateModelValueAfterEdit(r, l, a, t.value);
3642
3642
  }
3643
3643
  }
3644
3644
  }
3645
3645
  }
3646
- class Re {
3646
+ class be {
3647
3647
  constructor(e = -1, t = -1) {
3648
3648
  this.rowIndex = e, this.columnIndex = t;
3649
3649
  }
3650
3650
  }
3651
- class z {
3651
+ class N {
3652
3652
  constructor(e) {
3653
3653
  this.cells = e;
3654
3654
  }
3655
3655
  static createSingle(e, t) {
3656
- return new z([new Re(e, t)]);
3656
+ return new N([new be(e, t)]);
3657
3657
  }
3658
3658
  }
3659
- class Ae {
3660
- constructor(e, t, s, o, i, r, l, a) {
3661
- this.scrollTop = e, this.scrollLeft = t, this.scrollHeight = s, this.scrollWidth = o, this.clientHeight = i, this.clientWidth = r, this.scrollFactorY = l, this.scrollFactorX = a;
3659
+ class xe {
3660
+ constructor(e, t, s, i, o, r, l, a) {
3661
+ this.scrollTop = e, this.scrollLeft = t, this.scrollHeight = s, this.scrollWidth = i, this.clientHeight = o, this.clientWidth = r, this.scrollFactorY = l, this.scrollFactorX = a;
3662
3662
  }
3663
3663
  }
3664
- class Ee {
3664
+ class we {
3665
3665
  constructor(e) {
3666
3666
  var t, s;
3667
3667
  this.tableScope = e, (t = this.tableScope.tableOptions) != null && t.getSelectionModel && (this.getSelectionModel = this.tableScope.tableOptions.getSelectionModel), (s = this.tableScope.tableOptions) != null && s.getFocusModel && (this.getFocusModel = this.tableScope.tableOptions.getFocusModel);
3668
3668
  }
3669
3669
  onMouseClicked(e, t) {
3670
- var i, r, l, a, n, c, h;
3671
- let s = !1, o = !1;
3670
+ var o, r, l, a, n, c, p;
3671
+ let s = !1, i = !1;
3672
3672
  if (this.getSelectionModel && this.getFocusModel) {
3673
- const d = this.getSelectionModel(), m = this.getFocusModel();
3674
- d && m && (m.hasFocus(e.rowIndex, e.columnIndex) || (m.setFocus(e.rowIndex, e.columnIndex), this.tableScope.onFocusChanged(m), s = !0), (i = e.originalEvent) != null && i.shiftKey || d.hasSelection() && (d.clear(), s = !0), (r = e.originalEvent) != null && r.shiftKey && this.previousEvt ? (d.addSelection(this.createRangeByEvents(e, this.previousEvt)), o = !0, s = !0) : (l = e.originalEvent) != null && l.altKey && ((a = e.originalEvent) != null && a.ctrlKey || (n = e.originalEvent) != null && n.metaKey) ? (d.removeSelection(R.singleCell(e.rowIndex, e.columnIndex)), o = !0, s = !0) : (c = e.originalEvent) != null && c.ctrlKey || (h = e.originalEvent) != null && h.metaKey ? (d.addSelection(R.singleCell(e.rowIndex, e.columnIndex)), o = !0, s = !0) : (d.firstClick(e.rowIndex, e.columnIndex), s = !0), this.tableScope.onSelectionChanged(d));
3673
+ const h = this.getSelectionModel(), g = this.getFocusModel();
3674
+ h && g && (g.hasFocus(e.rowIndex, e.columnIndex) || (g.setFocus(e.rowIndex, e.columnIndex), this.tableScope.onFocusChanged(g), s = !0), (o = e.originalEvent) != null && o.shiftKey || h.hasSelection() && (h.clear(), s = !0), (r = e.originalEvent) != null && r.shiftKey && this.previousEvt ? (h.addSelection(this.createRangeByEvents(e, this.previousEvt)), i = !0, s = !0) : (l = e.originalEvent) != null && l.altKey && ((a = e.originalEvent) != null && a.ctrlKey || (n = e.originalEvent) != null && n.metaKey) ? (h.removeSelection(R.singleCell(e.rowIndex, e.columnIndex)), i = !0, s = !0) : (c = e.originalEvent) != null && c.ctrlKey || (p = e.originalEvent) != null && p.metaKey ? (h.addSelection(R.singleCell(e.rowIndex, e.columnIndex)), i = !0, s = !0) : (h.firstClick(e.rowIndex, e.columnIndex), s = !0), this.tableScope.onSelectionChanged(h));
3675
3675
  }
3676
- return o ? this.previousEvt = void 0 : this.previousEvt = e == null ? void 0 : e.clone(), s;
3676
+ return i ? this.previousEvt = void 0 : this.previousEvt = e == null ? void 0 : e.clone(), s;
3677
3677
  }
3678
3678
  onActionTriggered(e) {
3679
3679
  if (this.getSelectionModel && this.getFocusModel) {
@@ -3684,8 +3684,8 @@ class Ee {
3684
3684
  if (e === "DESELECT_ALL")
3685
3685
  return t.clear(), this.tableScope.repaint(), !0;
3686
3686
  if (e === "TOGGLE_SELECTION") {
3687
- const [o, i] = s.getFocus();
3688
- return t.togglePoint(o, i), this.tableScope.repaint(), !0;
3687
+ const [i, o] = s.getFocus();
3688
+ return t.togglePoint(i, o), this.tableScope.repaint(), !0;
3689
3689
  }
3690
3690
  }
3691
3691
  }
@@ -3693,16 +3693,16 @@ class Ee {
3693
3693
  }
3694
3694
  createRangeByEvents(e, t) {
3695
3695
  t || (t = e);
3696
- const s = Math.min(e.rowIndex, t == null ? void 0 : t.rowIndex), o = Math.max(e.rowIndex, t == null ? void 0 : t.rowIndex), i = Math.min(e.columnIndex, t == null ? void 0 : t.columnIndex), r = Math.max(e.columnIndex, t == null ? void 0 : t.columnIndex);
3696
+ const s = Math.min(e.rowIndex, t == null ? void 0 : t.rowIndex), i = Math.max(e.rowIndex, t == null ? void 0 : t.rowIndex), o = Math.min(e.columnIndex, t == null ? void 0 : t.columnIndex), r = Math.max(e.columnIndex, t == null ? void 0 : t.columnIndex);
3697
3697
  return R.create({
3698
3698
  rowIndex1: s,
3699
- columnIndex1: i,
3700
- rowIndex2: o,
3699
+ columnIndex1: o,
3700
+ rowIndex2: i,
3701
3701
  columnIndex2: r
3702
3702
  });
3703
3703
  }
3704
3704
  }
3705
- class Me {
3705
+ class Ce {
3706
3706
  get() {
3707
3707
  return {
3708
3708
  f2: "START_EDITING",
@@ -3722,7 +3722,7 @@ class Me {
3722
3722
  };
3723
3723
  }
3724
3724
  }
3725
- class Te {
3725
+ class ve {
3726
3726
  get() {
3727
3727
  return {
3728
3728
  f2: "START_EDITING",
@@ -3744,23 +3744,23 @@ class Te {
3744
3744
  };
3745
3745
  }
3746
3746
  }
3747
- function Fe(p) {
3748
- return p.trim().replace(/\+/g, " ").replace(/ +/g, " ").replace(/⌫/g, "backspace").replace(/↩/g, "enter").replace(/⇧/g, "shift").replace(/⌥/g, "alt").replace(/option/g, "alt").replace(/opt/g, "alt").replace(/⌃/g, "ctrl").replace(/control/g, "ctrl").replace(/command/g, "cmd").replace(/meta/g, "cmd").replace(/escape/g, "esc").replace(/⌘/g, "cmd").replace(/\*/g, "multiply").split(" ").filter((e) => e).filter((e, t, s) => s.indexOf(e) === t).sort((e, t) => {
3749
- const s = { cmd: 1, ctrl: 2, alt: 3, shift: 4 }, o = s[e] || 5, i = s[t] || 5;
3750
- return o !== i ? o - i : e.localeCompare(t);
3747
+ function Re(d) {
3748
+ return d.trim().replace(/\+/g, " ").replace(/ +/g, " ").replace(/⌫/g, "backspace").replace(/↩/g, "enter").replace(/⇧/g, "shift").replace(/⌥/g, "alt").replace(/option/g, "alt").replace(/opt/g, "alt").replace(/⌃/g, "ctrl").replace(/control/g, "ctrl").replace(/command/g, "cmd").replace(/meta/g, "cmd").replace(/escape/g, "esc").replace(/⌘/g, "cmd").replace(/\*/g, "multiply").split(" ").filter((e) => e).filter((e, t, s) => s.indexOf(e) === t).sort((e, t) => {
3749
+ const s = { cmd: 1, ctrl: 2, alt: 3, shift: 4 }, i = s[e] || 5, o = s[t] || 5;
3750
+ return i !== o ? i - o : e.localeCompare(t);
3751
3751
  }).join(" ");
3752
3752
  }
3753
- function X(p) {
3754
- let e = p.key.toLowerCase();
3755
- if (e === " " && (e = "space"), e === "arrowleft" && (e = "left"), e === "arrowright" && (e = "right"), e === "arrowup" && (e = "up"), e === "arrowdown" && (e = "down"), e === "delete" && p.code === "Delete" && (e = "delete"), e === "backspace" && (e = "backspace"), e === "escape" && (e = "esc"), e === "return" && (e = "enter"), p.code.startsWith("Numpad")) {
3756
- const s = p.code.replace("Numpad", "").toLowerCase();
3753
+ function j(d) {
3754
+ let e = d.key.toLowerCase();
3755
+ if (e === " " && (e = "space"), e === "arrowleft" && (e = "left"), e === "arrowright" && (e = "right"), e === "arrowup" && (e = "up"), e === "arrowdown" && (e = "down"), e === "delete" && d.code === "Delete" && (e = "delete"), e === "backspace" && (e = "backspace"), e === "escape" && (e = "esc"), e === "return" && (e = "enter"), d.code.startsWith("Numpad")) {
3756
+ const s = d.code.replace("Numpad", "").toLowerCase();
3757
3757
  s === "add" ? e = "num_add" : s === "subtract" ? e = "num_subtract" : s === "multiply" ? e = "num_multiply" : s === "divide" ? e = "num_divide" : s === "decimal" ? e = "num_decimal" : s === "enter" ? e = "num_enter" : e = "num_" + s;
3758
3758
  }
3759
- p.code.match(/^F\d+$/) && (e = p.code.toLowerCase()), p.code.match(/^Digit\d+$/) && (e = p.code.replace(/Digit/g, ""));
3759
+ d.code.match(/^F\d+$/) && (e = d.code.toLowerCase()), d.code.match(/^Digit\d+$/) && (e = d.code.replace(/Digit/g, ""));
3760
3760
  let t = "";
3761
- return p.ctrlKey && (t += " ctrl"), p.altKey && (t += t + " alt"), p.shiftKey && (t += t + " shift"), p.metaKey && (t += t + " cmd"), Fe(t + " " + e);
3761
+ return d.ctrlKey && (t += " ctrl"), d.altKey && (t += t + " alt"), d.shiftKey && (t += t + " shift"), d.metaKey && (t += t + " cmd"), Re(t + " " + e);
3762
3762
  }
3763
- class De {
3763
+ class Ae {
3764
3764
  constructor(e) {
3765
3765
  this.tableScope = e, this.shortcutActionIdMapping = {}, this.listener = [], this.listener.push(e), this.init();
3766
3766
  }
@@ -3782,7 +3782,7 @@ class De {
3782
3782
  (t = (e = this.tableScope) == null ? void 0 : e.tableOptions) != null && t.shortcutActionsDisabled ? this.isDebug() && console.debug("ShortcutService skipped.") : (this.assignPredefinedSystemShortcutMappings(), Object.assign(this.shortcutActionIdMapping, this.tableScope.tableOptions.shortcutActionIdMapping), this.isDebug() && console.debug("ShortcutService", this.shortcutActionIdMapping), this.tableScope.hostElement.addEventListener("keydown", this.onKeyDown.bind(this)));
3783
3783
  }
3784
3784
  assignPredefinedSystemShortcutMappings() {
3785
- this.isMacintosh() ? Object.assign(this.shortcutActionIdMapping, new Te().get()) : Object.assign(this.shortcutActionIdMapping, new Me().get());
3785
+ this.isMacintosh() ? Object.assign(this.shortcutActionIdMapping, new ve().get()) : Object.assign(this.shortcutActionIdMapping, new Ce().get());
3786
3786
  }
3787
3787
  isMacintosh() {
3788
3788
  return navigator.platform.indexOf("Mac") > -1;
@@ -3805,10 +3805,10 @@ class De {
3805
3805
  return t;
3806
3806
  }
3807
3807
  findEntity(e) {
3808
- const t = X(e);
3808
+ const t = j(e);
3809
3809
  this.isDebug() && console.debug("ShortcutService shortcut :", t);
3810
3810
  for (const s in this.shortcutActionIdMapping)
3811
- if (X(e) === t)
3811
+ if (j(e) === t)
3812
3812
  return this.isDebug() && console.debug("ShortcutService action :", this.shortcutActionIdMapping[s]), this.shortcutActionIdMapping[s];
3813
3813
  }
3814
3814
  // private areTokensEquals(tokens1: string[], tokens2: string[]): boolean {
@@ -3855,7 +3855,7 @@ class De {
3855
3855
  return this.shortcutActionIdMapping;
3856
3856
  }
3857
3857
  }
3858
- class K {
3858
+ class z {
3859
3859
  onCheckboxChanged(e) {
3860
3860
  }
3861
3861
  onContextmenu(e) {
@@ -3877,7 +3877,7 @@ class K {
3877
3877
  onFocusChanged(e) {
3878
3878
  }
3879
3879
  }
3880
- class ee {
3880
+ class q {
3881
3881
  setStyle(e, t, s) {
3882
3882
  return e.style[t] = s, e;
3883
3883
  }
@@ -3904,11 +3904,11 @@ class ee {
3904
3904
  e.setAttribute(t, s);
3905
3905
  }
3906
3906
  }
3907
- class Ie {
3908
- render(e, t, s, o, i, r, l) {
3909
- if (i.isEditable(t, s)) {
3907
+ class Ee {
3908
+ render(e, t, s, i, o, r, l) {
3909
+ if (o.isEditable(t, s)) {
3910
3910
  l.addClass(e, "ge-table-row-input-div");
3911
- const a = i.getValueAt(t, s);
3911
+ const a = o.getValueAt(t, s);
3912
3912
  e.innerHTML = `
3913
3913
  <input
3914
3914
  type="text"
@@ -3916,7 +3916,7 @@ class Ie {
3916
3916
  autofocus
3917
3917
  onfocus="this.setSelectionRange(0, this.value.length)"
3918
3918
  data-listen="change"
3919
- data-area="${o}"
3919
+ data-area="${i}"
3920
3920
  data-row-index="${t}"
3921
3921
  data-col-index="${s}"
3922
3922
  data-input-type="text"
@@ -3925,7 +3925,7 @@ class Ie {
3925
3925
  }
3926
3926
  }
3927
3927
  }
3928
- class ke {
3928
+ class Me {
3929
3929
  constructor(e = "none", t = "single") {
3930
3930
  this.selectionType = e, this.selectionMode = t, this.ranges = [], this.negativeRanges = [], this.allSelected = !1, this.silent = !1, this.listenerArr = [];
3931
3931
  }
@@ -3948,8 +3948,8 @@ class ke {
3948
3948
  }
3949
3949
  getSelectionCount(e, t) {
3950
3950
  let s = 0;
3951
- for (const o of this.ranges)
3952
- o.isInRange(e, t) && s++;
3951
+ for (const i of this.ranges)
3952
+ i.isInRange(e, t) && s++;
3953
3953
  return this.allSelected && s++, this.isInNegativeRange(e, t) && (s = 0), s;
3954
3954
  }
3955
3955
  isInNegativeRange(e, t) {
@@ -4007,7 +4007,7 @@ class ke {
4007
4007
  this.selectionType !== "none" && (this.allSelected = !1, this.selectionMode === "single" && (this.ranges = []), this.selectionType === "row" ? (e.c1 = 0, e.c2 = Number.MAX_SAFE_INTEGER) : this.selectionType === "column" ? (e.r1 = 0, e.r2 = Number.MAX_SAFE_INTEGER) : this.selectionType === "cell" ? (e.r2 = e.r1, e.c2 = e.c1) : this.selectionType, this.ranges.push(e), this.fireChangeEvent());
4008
4008
  }
4009
4009
  }
4010
- class Le {
4010
+ class Te {
4011
4011
  constructor(e = "none") {
4012
4012
  this.selectionType = e, this.rowIndex = -1, this.columnIndex = -1, this.changed = !1, this.listenerArr = [];
4013
4013
  }
@@ -4044,7 +4044,7 @@ class Le {
4044
4044
  return [this.rowIndex, this.columnIndex];
4045
4045
  }
4046
4046
  }
4047
- class te {
4047
+ class Fe {
4048
4048
  constructor(e = new F(
4049
4049
  "❯",
4050
4050
  "",
@@ -4058,17 +4058,17 @@ class te {
4058
4058
  }
4059
4059
  // `⊖ `, `⊕ `;
4060
4060
  }
4061
- const Oe = new ke(), Be = new Le("cell");
4062
- class se {
4061
+ const De = new Me(), Ie = new Te("cell");
4062
+ class J {
4063
4063
  constructor() {
4064
4064
  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 = {
4065
4065
  header: 34,
4066
4066
  body: 34,
4067
4067
  footer: 34
4068
- }, this.footerVerticalSeparator = !1, this.headerToggleExpandCollapseIcons = !1, this.headerVerticalSeparator = !1, this.treeOptions = new Z(), this.headerGroupOptions = new te(), this.showCheckboxWihoutExtraColumn = !1, this.externalFilterFunction = void 0, this.sortedOptions = new Q(), this.sortOrder = ["asc", "desc"], this.shortcutActionsDisabled = !1, this.resizeEventDebounceDelay = 500, this.getEditRenderer = (e, t) => new Ie(), this.getSelectionModel = () => Oe, this.getFocusModel = () => Be;
4068
+ }, this.footerVerticalSeparator = !1, this.headerToggleExpandCollapseIcons = !1, this.headerVerticalSeparator = !1, this.treeOptions = new K(), this.headerGroupOptions = new Fe(), this.showCheckboxWihoutExtraColumn = !1, this.externalFilterFunction = void 0, this.sortedOptions = new Y(), this.sortOrder = ["asc", "desc"], this.shortcutActionsDisabled = !1, this.resizeEventDebounceDelay = 500, this.getEditRenderer = (e, t) => new Ee(), this.getSelectionModel = () => De, this.getFocusModel = () => Ie;
4069
4069
  }
4070
4070
  }
4071
- const L = class L {
4071
+ const O = class O {
4072
4072
  /**
4073
4073
  * Returns the content to be copied based on the provided table model, selection model, and focus model.
4074
4074
  *
@@ -4079,7 +4079,7 @@ const L = class L {
4079
4079
  * @throws {string} Throws an error if neither selection nor focus is defined.
4080
4080
  */
4081
4081
  createContent(e, t, s) {
4082
- return new Promise((o, i) => {
4082
+ return new Promise((i, o) => {
4083
4083
  if (t != null && t.hasSelection()) {
4084
4084
  const r = this.mergeRanges(t.getRanges());
4085
4085
  if (r) {
@@ -4088,19 +4088,19 @@ const L = class L {
4088
4088
  for (let a = r.r1; a <= r.r2; a++) {
4089
4089
  const n = [];
4090
4090
  for (let c = r.c1; c <= r.c2; c++) {
4091
- const h = t.isSelected(a, c) ? e.getBodyModel().getTextValueAt(a, c) : "";
4092
- n.push(h);
4091
+ const p = t.isSelected(a, c) ? e.getBodyModel().getTextValueAt(a, c) : "";
4092
+ n.push(p);
4093
4093
  }
4094
- l.push(n.join(L.columnSeparatorChar));
4094
+ l.push(n.join(O.columnSeparatorChar));
4095
4095
  }
4096
- return o(l.join(L.rowSeparatorChar));
4096
+ return i(l.join(O.rowSeparatorChar));
4097
4097
  }
4098
4098
  }
4099
4099
  if (s) {
4100
4100
  const [r, l] = s.getFocus(), a = e.getBodyModel().getTextValueAt(r, l);
4101
- return o(a);
4101
+ return i(a);
4102
4102
  }
4103
- i("Cannot copy, neither selection nor focus defined.");
4103
+ o("Cannot copy, neither selection nor focus defined.");
4104
4104
  });
4105
4105
  }
4106
4106
  /**
@@ -4121,19 +4121,19 @@ const L = class L {
4121
4121
  * @returns {Promise<string>} A promise that resolves with the copied text if successful, or rejects if an error occurs.
4122
4122
  */
4123
4123
  copyToClipboard(e, t, s) {
4124
- return new Promise((o, i) => {
4124
+ return new Promise((i, o) => {
4125
4125
  this.createContent(
4126
4126
  e,
4127
4127
  t,
4128
4128
  s
4129
4129
  ).then((r) => {
4130
4130
  r && this.copyContent(r).then((l) => {
4131
- o(r);
4131
+ i(r);
4132
4132
  }).catch((l) => {
4133
- i();
4133
+ o();
4134
4134
  });
4135
4135
  }).catch((r) => {
4136
- i();
4136
+ o();
4137
4137
  });
4138
4138
  });
4139
4139
  }
@@ -4150,19 +4150,19 @@ const L = class L {
4150
4150
  return t;
4151
4151
  }
4152
4152
  };
4153
- L.columnSeparatorChar = " ", L.rowSeparatorChar = `
4153
+ O.columnSeparatorChar = " ", O.rowSeparatorChar = `
4154
4154
  `;
4155
- let P = L;
4156
- class Pe {
4155
+ let P = O;
4156
+ class Le {
4157
4157
  constructor(e, t = 500) {
4158
- this.tableScope = e, this.debounceDelay = t, new ResizeObserver(le(this.handleResize.bind(this), t)).observe(this.tableScope.hostElement);
4158
+ this.tableScope = e, this.debounceDelay = t, new ResizeObserver(se(this.handleResize.bind(this), t)).observe(this.tableScope.hostElement);
4159
4159
  }
4160
4160
  handleResize(e) {
4161
4161
  const t = e[0], { width: s } = t.contentRect;
4162
4162
  this.tableScope.recalcColumnWidths(s);
4163
4163
  }
4164
4164
  }
4165
- class Ve {
4165
+ class Oe {
4166
4166
  /**
4167
4167
  * Downloads a matrix data as an Excel file.
4168
4168
  *
@@ -4173,31 +4173,31 @@ class Ve {
4173
4173
  * @throws {Error} Throws an error if the input matrix is not a valid 2D array or if the filename is an empty string.
4174
4174
  */
4175
4175
  downloadExcel(e, t = "file.xlsx", s = "") {
4176
- if (!Array.isArray(e) || e.some((o) => !Array.isArray(o)))
4176
+ if (!Array.isArray(e) || e.some((i) => !Array.isArray(i)))
4177
4177
  throw new Error("Invalid matrix format. Expected a 2D array.");
4178
4178
  if ((t == null ? void 0 : t.trim()) === "")
4179
4179
  throw new Error("Invalid filename. Filename must be a non-empty string.");
4180
4180
  try {
4181
- const o = this.generateBuffer(e, s), i = new Blob([o], {
4181
+ const i = this.generateBuffer(e, s), o = new Blob([i], {
4182
4182
  type: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
4183
4183
  }), r = document.createElement("a");
4184
- r.href = URL.createObjectURL(i), r.download = t, document.body.appendChild(r), r.click(), document.body.removeChild(r);
4185
- } catch (o) {
4186
- throw console.error("Error generating Excel file:", o), new Error("Failed to download Excel file.");
4184
+ r.href = URL.createObjectURL(o), r.download = t, document.body.appendChild(r), r.click(), document.body.removeChild(r);
4185
+ } catch (i) {
4186
+ throw console.error("Error generating Excel file:", i), new Error("Failed to download Excel file.");
4187
4187
  }
4188
4188
  }
4189
4189
  generateMap(e, t = "") {
4190
4190
  const s = `<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
4191
- <Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Id="rId3" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties" Target="docProps/app.xml"/><Relationship Id="rId2" Type="http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties" Target="docProps/core.xml"/><Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="xl/workbook.xml"/></Relationships>`, o = `<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
4192
- <Properties xmlns="http://schemas.openxmlformats.org/officeDocument/2006/extended-properties" xmlns:vt="http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"><Application>Microsoft Macintosh Excel</Application><DocSecurity>0</DocSecurity><ScaleCrop>false</ScaleCrop><HeadingPairs><vt:vector size="2" baseType="variant"><vt:variant><vt:lpstr>Worksheets</vt:lpstr></vt:variant><vt:variant><vt:i4>1</vt:i4></vt:variant></vt:vector></HeadingPairs><TitlesOfParts><vt:vector size="1" baseType="lpstr"><vt:lpstr>Sheet1</vt:lpstr></vt:vector></TitlesOfParts><Company></Company><LinksUpToDate>false</LinksUpToDate><SharedDoc>false</SharedDoc><HyperlinksChanged>false</HyperlinksChanged><AppVersion>16.0300</AppVersion></Properties>`, i = `<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
4191
+ <Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Id="rId3" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties" Target="docProps/app.xml"/><Relationship Id="rId2" Type="http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties" Target="docProps/core.xml"/><Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="xl/workbook.xml"/></Relationships>`, i = `<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
4192
+ <Properties xmlns="http://schemas.openxmlformats.org/officeDocument/2006/extended-properties" xmlns:vt="http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"><Application>Microsoft Macintosh Excel</Application><DocSecurity>0</DocSecurity><ScaleCrop>false</ScaleCrop><HeadingPairs><vt:vector size="2" baseType="variant"><vt:variant><vt:lpstr>Worksheets</vt:lpstr></vt:variant><vt:variant><vt:i4>1</vt:i4></vt:variant></vt:vector></HeadingPairs><TitlesOfParts><vt:vector size="1" baseType="lpstr"><vt:lpstr>Sheet1</vt:lpstr></vt:vector></TitlesOfParts><Company></Company><LinksUpToDate>false</LinksUpToDate><SharedDoc>false</SharedDoc><HyperlinksChanged>false</HyperlinksChanged><AppVersion>16.0300</AppVersion></Properties>`, o = `<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
4193
4193
  <cp:coreProperties xmlns:cp="http://schemas.openxmlformats.org/package/2006/metadata/core-properties" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:dcmitype="http://purl.org/dc/dcmitype/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><dc:creator>${t}</dc:creator><cp:lastModifiedBy>${t}</cp:lastModifiedBy><dcterms:created xsi:type="dcterms:W3CDTF">2024-12-13T19:45:08Z</dcterms:created><dcterms:modified xsi:type="dcterms:W3CDTF">2024-12-13T19:45:35Z</dcterms:modified></cp:coreProperties>`, r = `<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
4194
4194
  <Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Id="rId3" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles" Target="styles.xml"/><Relationship Id="rId2" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme" Target="theme/theme1.xml"/><Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet" Target="worksheets/sheet1.xml"/><Relationship Id="rId4" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings" Target="sharedStrings.xml"/></Relationships>`, l = `<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
4195
4195
  <a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme"><a:themeElements><a:clrScheme name="Office"><a:dk1><a:sysClr val="windowText" lastClr="000000"/></a:dk1><a:lt1><a:sysClr val="window" lastClr="FFFFFF"/></a:lt1><a:dk2><a:srgbClr val="0E2841"/></a:dk2><a:lt2><a:srgbClr val="E8E8E8"/></a:lt2><a:accent1><a:srgbClr val="156082"/></a:accent1><a:accent2><a:srgbClr val="E97132"/></a:accent2><a:accent3><a:srgbClr val="196B24"/></a:accent3><a:accent4><a:srgbClr val="0F9ED5"/></a:accent4><a:accent5><a:srgbClr val="A02B93"/></a:accent5><a:accent6><a:srgbClr val="4EA72E"/></a:accent6><a:hlink><a:srgbClr val="467886"/></a:hlink><a:folHlink><a:srgbClr val="96607D"/></a:folHlink></a:clrScheme><a:fontScheme name="Office"><a:majorFont><a:latin typeface="Aptos Display" panose="02110004020202020204"/><a:ea typeface=""/><a:cs typeface=""/><a:font script="Jpan" typeface="游ゴシック Light"/><a:font script="Hang" typeface="맑은 고딕"/><a:font script="Hans" typeface="等线 Light"/><a:font script="Hant" typeface="新細明體"/><a:font script="Arab" typeface="Times New Roman"/><a:font script="Hebr" typeface="Times New Roman"/><a:font script="Thai" typeface="Tahoma"/><a:font script="Ethi" typeface="Nyala"/><a:font script="Beng" typeface="Vrinda"/><a:font script="Gujr" typeface="Shruti"/><a:font script="Khmr" typeface="MoolBoran"/><a:font script="Knda" typeface="Tunga"/><a:font script="Guru" typeface="Raavi"/><a:font script="Cans" typeface="Euphemia"/><a:font script="Cher" typeface="Plantagenet Cherokee"/><a:font script="Yiii" typeface="Microsoft Yi Baiti"/><a:font script="Tibt" typeface="Microsoft Himalaya"/><a:font script="Thaa" typeface="MV Boli"/><a:font script="Deva" typeface="Mangal"/><a:font script="Telu" typeface="Gautami"/><a:font script="Taml" typeface="Latha"/><a:font script="Syrc" typeface="Estrangelo Edessa"/><a:font script="Orya" typeface="Kalinga"/><a:font script="Mlym" typeface="Kartika"/><a:font script="Laoo" typeface="DokChampa"/><a:font script="Sinh" typeface="Iskoola Pota"/><a:font script="Mong" typeface="Mongolian Baiti"/><a:font script="Viet" typeface="Times New Roman"/><a:font script="Uigh" typeface="Microsoft Uighur"/><a:font script="Geor" typeface="Sylfaen"/><a:font script="Armn" typeface="Arial"/><a:font script="Bugi" typeface="Leelawadee UI"/><a:font script="Bopo" typeface="Microsoft JhengHei"/><a:font script="Java" typeface="Javanese Text"/><a:font script="Lisu" typeface="Segoe UI"/><a:font script="Mymr" typeface="Myanmar Text"/><a:font script="Nkoo" typeface="Ebrima"/><a:font script="Olck" typeface="Nirmala UI"/><a:font script="Osma" typeface="Ebrima"/><a:font script="Phag" typeface="Phagspa"/><a:font script="Syrn" typeface="Estrangelo Edessa"/><a:font script="Syrj" typeface="Estrangelo Edessa"/><a:font script="Syre" typeface="Estrangelo Edessa"/><a:font script="Sora" typeface="Nirmala UI"/><a:font script="Tale" typeface="Microsoft Tai Le"/><a:font script="Talu" typeface="Microsoft New Tai Lue"/><a:font script="Tfng" typeface="Ebrima"/></a:majorFont><a:minorFont><a:latin typeface="Aptos Narrow" panose="02110004020202020204"/><a:ea typeface=""/><a:cs typeface=""/><a:font script="Jpan" typeface="游ゴシック"/><a:font script="Hang" typeface="맑은 고딕"/><a:font script="Hans" typeface="等线"/><a:font script="Hant" typeface="新細明體"/><a:font script="Arab" typeface="Arial"/><a:font script="Hebr" typeface="Arial"/><a:font script="Thai" typeface="Tahoma"/><a:font script="Ethi" typeface="Nyala"/><a:font script="Beng" typeface="Vrinda"/><a:font script="Gujr" typeface="Shruti"/><a:font script="Khmr" typeface="DaunPenh"/><a:font script="Knda" typeface="Tunga"/><a:font script="Guru" typeface="Raavi"/><a:font script="Cans" typeface="Euphemia"/><a:font script="Cher" typeface="Plantagenet Cherokee"/><a:font script="Yiii" typeface="Microsoft Yi Baiti"/><a:font script="Tibt" typeface="Microsoft Himalaya"/><a:font script="Thaa" typeface="MV Boli"/><a:font script="Deva" typeface="Mangal"/><a:font script="Telu" typeface="Gautami"/><a:font script="Taml" typeface="Latha"/><a:font script="Syrc" typeface="Estrangelo Edessa"/><a:font script="Orya" typeface="Kalinga"/><a:font script="Mlym" typeface="Kartika"/><a:font script="Laoo" typeface="DokChampa"/><a:font script="Sinh" typeface="Iskoola Pota"/><a:font script="Mong" typeface="Mongolian Baiti"/><a:font script="Viet" typeface="Arial"/><a:font script="Uigh" typeface="Microsoft Uighur"/><a:font script="Geor" typeface="Sylfaen"/><a:font script="Armn" typeface="Arial"/><a:font script="Bugi" typeface="Leelawadee UI"/><a:font script="Bopo" typeface="Microsoft JhengHei"/><a:font script="Java" typeface="Javanese Text"/><a:font script="Lisu" typeface="Segoe UI"/><a:font script="Mymr" typeface="Myanmar Text"/><a:font script="Nkoo" typeface="Ebrima"/><a:font script="Olck" typeface="Nirmala UI"/><a:font script="Osma" typeface="Ebrima"/><a:font script="Phag" typeface="Phagspa"/><a:font script="Syrn" typeface="Estrangelo Edessa"/><a:font script="Syrj" typeface="Estrangelo Edessa"/><a:font script="Syre" typeface="Estrangelo Edessa"/><a:font script="Sora" typeface="Nirmala UI"/><a:font script="Tale" typeface="Microsoft Tai Le"/><a:font script="Talu" typeface="Microsoft New Tai Lue"/><a:font script="Tfng" typeface="Ebrima"/></a:minorFont></a:fontScheme><a:fmtScheme name="Office"><a:fillStyleLst><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:lumMod val="110000"/><a:satMod val="105000"/><a:tint val="67000"/></a:schemeClr></a:gs><a:gs pos="50000"><a:schemeClr val="phClr"><a:lumMod val="105000"/><a:satMod val="103000"/><a:tint val="73000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:lumMod val="105000"/><a:satMod val="109000"/><a:tint val="81000"/></a:schemeClr></a:gs></a:gsLst><a:lin ang="5400000" scaled="0"/></a:gradFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:satMod val="103000"/><a:lumMod val="102000"/><a:tint val="94000"/></a:schemeClr></a:gs><a:gs pos="50000"><a:schemeClr val="phClr"><a:satMod val="110000"/><a:lumMod val="100000"/><a:shade val="100000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:lumMod val="99000"/><a:satMod val="120000"/><a:shade val="78000"/></a:schemeClr></a:gs></a:gsLst><a:lin ang="5400000" scaled="0"/></a:gradFill></a:fillStyleLst><a:lnStyleLst><a:ln w="12700" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/><a:miter lim="800000"/></a:ln><a:ln w="19050" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/><a:miter lim="800000"/></a:ln><a:ln w="25400" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/><a:miter lim="800000"/></a:ln></a:lnStyleLst><a:effectStyleLst><a:effectStyle><a:effectLst/></a:effectStyle><a:effectStyle><a:effectLst/></a:effectStyle><a:effectStyle><a:effectLst><a:outerShdw blurRad="57150" dist="19050" dir="5400000" algn="ctr" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="63000"/></a:srgbClr></a:outerShdw></a:effectLst></a:effectStyle></a:effectStyleLst><a:bgFillStyleLst><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:solidFill><a:schemeClr val="phClr"><a:tint val="95000"/><a:satMod val="170000"/></a:schemeClr></a:solidFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="93000"/><a:satMod val="150000"/><a:shade val="98000"/><a:lumMod val="102000"/></a:schemeClr></a:gs><a:gs pos="50000"><a:schemeClr val="phClr"><a:tint val="98000"/><a:satMod val="130000"/><a:shade val="90000"/><a:lumMod val="103000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="63000"/><a:satMod val="120000"/></a:schemeClr></a:gs></a:gsLst><a:lin ang="5400000" scaled="0"/></a:gradFill></a:bgFillStyleLst></a:fmtScheme></a:themeElements><a:objectDefaults><a:lnDef><a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="2"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="0"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="1"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="tx1"/></a:fontRef></a:style></a:lnDef></a:objectDefaults><a:extraClrSchemeLst/><a:extLst><a:ext uri="{05A4C25C-085E-4340-85A3-A5531E510DB2}"><thm15:themeFamily xmlns:thm15="http://schemas.microsoft.com/office/thememl/2012/main" name="Office Theme" id="{2E142A2C-CD16-42D6-873A-C26D2A0506FA}" vid="{1BDDFF52-6CD6-40A5-AB3C-68EB2F1E4D0A}"/></a:ext></a:extLst></a:theme>`, a = `<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
4196
4196
  <sst xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" count="3" uniqueCount="3"><si><t>a</t></si><si><t>b</t></si><si><t>c</t></si></sst>`, n = `<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
4197
4197
  <styleSheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="x14ac x16r2 xr" xmlns:x14ac="http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac" xmlns:x16r2="http://schemas.microsoft.com/office/spreadsheetml/2015/02/main" xmlns:xr="http://schemas.microsoft.com/office/spreadsheetml/2014/revision"><fonts count="1" x14ac:knownFonts="1"><font><sz val="12"/><color theme="1"/><name val="Aptos Narrow"/><family val="2"/><scheme val="minor"/></font></fonts><fills count="2"><fill><patternFill patternType="none"/></fill><fill><patternFill patternType="gray125"/></fill></fills><borders count="1"><border><left/><right/><top/><bottom/><diagonal/></border></borders><cellStyleXfs count="1"><xf numFmtId="0" fontId="0" fillId="0" borderId="0"/></cellStyleXfs><cellXfs count="1"><xf numFmtId="0" fontId="0" fillId="0" borderId="0" xfId="0"/></cellXfs><cellStyles count="1"><cellStyle name="Normal" xfId="0" builtinId="0"/></cellStyles><dxfs count="0"/><tableStyles count="0" defaultTableStyle="TableStyleMedium2" defaultPivotStyle="PivotStyleLight16"/><extLst><ext uri="{EB79DEF2-80B8-43e5-95BD-54CBDDF9020C}" xmlns:x14="http://schemas.microsoft.com/office/spreadsheetml/2009/9/main"><x14:slicerStyles defaultSlicerStyle="SlicerStyleLight1"/></ext><ext uri="{9260A510-F301-46a8-8635-F512D64BE5F5}" xmlns:x15="http://schemas.microsoft.com/office/spreadsheetml/2010/11/main"><x15:timelineStyles defaultTimelineStyle="TimeSlicerStyleLight1"/></ext></extLst></styleSheet>`, c = `<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
4198
- <workbook xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="x15 xr xr6 xr10 xr2" xmlns:x15="http://schemas.microsoft.com/office/spreadsheetml/2010/11/main" xmlns:xr="http://schemas.microsoft.com/office/spreadsheetml/2014/revision" xmlns:xr6="http://schemas.microsoft.com/office/spreadsheetml/2016/revision6" xmlns:xr10="http://schemas.microsoft.com/office/spreadsheetml/2016/revision10" xmlns:xr2="http://schemas.microsoft.com/office/spreadsheetml/2015/revision2"><fileVersion appName="xl" lastEdited="7" lowestEdited="7" rupBuild="11207"/><workbookPr defaultThemeVersion="202300"/><mc:AlternateContent xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"><mc:Choice Requires="x15"><x15ac:absPath url="/" xmlns:x15ac="http://schemas.microsoft.com/office/spreadsheetml/2010/11/ac"/></mc:Choice></mc:AlternateContent><xr:revisionPtr revIDLastSave="0" documentId="8_{292BF245-1F37-B045-B1A5-26C42FB62779}" xr6:coauthVersionLast="47" xr6:coauthVersionMax="47" xr10:uidLastSave="{00000000-0000-0000-0000-000000000000}"/><bookViews><workbookView xWindow="11340" yWindow="5060" windowWidth="28040" windowHeight="17440" xr2:uid="{858B8D3F-6246-774D-8903-6D38687B7BC6}"/></bookViews><sheets><sheet name="Sheet1" sheetId="1" r:id="rId1"/></sheets><calcPr calcId="181029"/><extLst><ext uri="{140A7094-0E35-4892-8432-C4D2E57EDEB5}" xmlns:x15="http://schemas.microsoft.com/office/spreadsheetml/2010/11/main"><x15:workbookPr chartTrackingRefBase="1"/></ext><ext uri="{B58B0392-4F1F-4190-BB64-5DF3571DCE5F}" xmlns:xcalcf="http://schemas.microsoft.com/office/spreadsheetml/2018/calcfeatures"><xcalcf:calcFeatures><xcalcf:feature name="microsoft.com:RD"/><xcalcf:feature name="microsoft.com:Single"/><xcalcf:feature name="microsoft.com:FV"/><xcalcf:feature name="microsoft.com:CNMTM"/><xcalcf:feature name="microsoft.com:LET_WF"/><xcalcf:feature name="microsoft.com:LAMBDA_WF"/><xcalcf:feature name="microsoft.com:ARRAYTEXT_WF"/></xcalcf:calcFeatures></ext></extLst></workbook>`, h = `<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
4199
- <Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types"><Default Extension="rels" ContentType="application/vnd.openxmlformats-package.relationships+xml"/><Default Extension="xml" ContentType="application/xml"/><Override PartName="/xl/workbook.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml"/><Override PartName="/xl/worksheets/sheet1.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml"/><Override PartName="/xl/theme/theme1.xml" ContentType="application/vnd.openxmlformats-officedocument.theme+xml"/><Override PartName="/xl/styles.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml"/><Override PartName="/xl/sharedStrings.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml"/><Override PartName="/docProps/core.xml" ContentType="application/vnd.openxmlformats-package.core-properties+xml"/><Override PartName="/docProps/app.xml" ContentType="application/vnd.openxmlformats-officedocument.extended-properties+xml"/></Types>`, d = /* @__PURE__ */ new Map();
4200
- return d.set("_rels/.rels", s), d.set("docProps/app.xml", o), d.set("docProps/core.xml", i), d.set("xl/_rels/workbook.xml.rels", r), d.set("xl/theme/theme1.xml", l), d.set("xl/worksheets/sheet1.xml", this.getX1WorksheetsSheet1Xml(e)), d.set("xl/sharedStrings.xml", a), d.set("xl/styles.xml", n), d.set("xl/workbook.xml", c), d.set("[Content_Types].xml", h), d;
4198
+ <workbook xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="x15 xr xr6 xr10 xr2" xmlns:x15="http://schemas.microsoft.com/office/spreadsheetml/2010/11/main" xmlns:xr="http://schemas.microsoft.com/office/spreadsheetml/2014/revision" xmlns:xr6="http://schemas.microsoft.com/office/spreadsheetml/2016/revision6" xmlns:xr10="http://schemas.microsoft.com/office/spreadsheetml/2016/revision10" xmlns:xr2="http://schemas.microsoft.com/office/spreadsheetml/2015/revision2"><fileVersion appName="xl" lastEdited="7" lowestEdited="7" rupBuild="11207"/><workbookPr defaultThemeVersion="202300"/><mc:AlternateContent xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"><mc:Choice Requires="x15"><x15ac:absPath url="/" xmlns:x15ac="http://schemas.microsoft.com/office/spreadsheetml/2010/11/ac"/></mc:Choice></mc:AlternateContent><xr:revisionPtr revIDLastSave="0" documentId="8_{292BF245-1F37-B045-B1A5-26C42FB62779}" xr6:coauthVersionLast="47" xr6:coauthVersionMax="47" xr10:uidLastSave="{00000000-0000-0000-0000-000000000000}"/><bookViews><workbookView xWindow="11340" yWindow="5060" windowWidth="28040" windowHeight="17440" xr2:uid="{858B8D3F-6246-774D-8903-6D38687B7BC6}"/></bookViews><sheets><sheet name="Sheet1" sheetId="1" r:id="rId1"/></sheets><calcPr calcId="181029"/><extLst><ext uri="{140A7094-0E35-4892-8432-C4D2E57EDEB5}" xmlns:x15="http://schemas.microsoft.com/office/spreadsheetml/2010/11/main"><x15:workbookPr chartTrackingRefBase="1"/></ext><ext uri="{B58B0392-4F1F-4190-BB64-5DF3571DCE5F}" xmlns:xcalcf="http://schemas.microsoft.com/office/spreadsheetml/2018/calcfeatures"><xcalcf:calcFeatures><xcalcf:feature name="microsoft.com:RD"/><xcalcf:feature name="microsoft.com:Single"/><xcalcf:feature name="microsoft.com:FV"/><xcalcf:feature name="microsoft.com:CNMTM"/><xcalcf:feature name="microsoft.com:LET_WF"/><xcalcf:feature name="microsoft.com:LAMBDA_WF"/><xcalcf:feature name="microsoft.com:ARRAYTEXT_WF"/></xcalcf:calcFeatures></ext></extLst></workbook>`, p = `<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
4199
+ <Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types"><Default Extension="rels" ContentType="application/vnd.openxmlformats-package.relationships+xml"/><Default Extension="xml" ContentType="application/xml"/><Override PartName="/xl/workbook.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml"/><Override PartName="/xl/worksheets/sheet1.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml"/><Override PartName="/xl/theme/theme1.xml" ContentType="application/vnd.openxmlformats-officedocument.theme+xml"/><Override PartName="/xl/styles.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml"/><Override PartName="/xl/sharedStrings.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml"/><Override PartName="/docProps/core.xml" ContentType="application/vnd.openxmlformats-package.core-properties+xml"/><Override PartName="/docProps/app.xml" ContentType="application/vnd.openxmlformats-officedocument.extended-properties+xml"/></Types>`, h = /* @__PURE__ */ new Map();
4200
+ return h.set("_rels/.rels", s), h.set("docProps/app.xml", i), h.set("docProps/core.xml", o), h.set("xl/_rels/workbook.xml.rels", r), h.set("xl/theme/theme1.xml", l), h.set("xl/worksheets/sheet1.xml", this.getX1WorksheetsSheet1Xml(e)), h.set("xl/sharedStrings.xml", a), h.set("xl/styles.xml", n), h.set("xl/workbook.xml", c), h.set("[Content_Types].xml", p), h;
4201
4201
  }
4202
4202
  getX1WorksheetsSheet1Xml(e) {
4203
4203
  const t = [];
@@ -4209,10 +4209,10 @@ class Ve {
4209
4209
  <sheetFormatPr baseColWidth="10" defaultRowHeight="16" x14ac:dyDescent="0.2"/>
4210
4210
  <sheetData>`);
4211
4211
  for (let s = 0; s < e.length; s++) {
4212
- const o = e[s];
4212
+ const i = e[s];
4213
4213
  t.push('<row r="${r + 1}" spans="1:2" x14ac:dyDescent="0.2">');
4214
- for (let i = 0; i < o.length; i++) {
4215
- const r = o[i], l = this.getCellAddress(s, i);
4214
+ for (let o = 0; o < i.length; o++) {
4215
+ const r = i[o], l = this.getCellAddress(s, o);
4216
4216
  if (typeof r == "number")
4217
4217
  t.push(`<c r="${l}"><v>${r}</v></c>`);
4218
4218
  else if (r instanceof Date) {
@@ -4233,34 +4233,34 @@ class Ve {
4233
4233
  }
4234
4234
  getCellAddress(e, t) {
4235
4235
  const s = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
4236
- let o = "";
4236
+ let i = "";
4237
4237
  for (; t >= 0; )
4238
- o = s[t % 26] + o, t = Math.floor(t / 26) - 1;
4239
- return `${o}${e + 1}`;
4238
+ i = s[t % 26] + i, t = Math.floor(t / 26) - 1;
4239
+ return `${i}${e + 1}`;
4240
4240
  }
4241
4241
  createZip(e) {
4242
4242
  const t = [];
4243
4243
  let s = 0;
4244
- const o = [];
4245
- e.forEach((h, d) => {
4246
- const m = new TextEncoder().encode(d), g = new TextEncoder().encode(h), b = new Uint8Array(30 + m.length), f = new DataView(b.buffer);
4247
- b.set([80, 75, 3, 4], 0), f.setUint16(4, 20, !0), f.setUint16(6, 0, !0), f.setUint16(8, 0, !0), f.setUint16(10, 0, !0), f.setUint16(12, 0, !0), f.setUint32(14, 0, !0), f.setUint32(18, g.length, !0), f.setUint32(22, g.length, !0), f.setUint16(26, m.length, !0), f.setUint16(28, 0, !0), b.set(m, 30), t.push(b, g), o.push({
4248
- path: d,
4244
+ const i = [];
4245
+ e.forEach((p, h) => {
4246
+ const g = new TextEncoder().encode(h), u = new TextEncoder().encode(p), S = new Uint8Array(30 + g.length), f = new DataView(S.buffer);
4247
+ S.set([80, 75, 3, 4], 0), f.setUint16(4, 20, !0), f.setUint16(6, 0, !0), f.setUint16(8, 0, !0), f.setUint16(10, 0, !0), f.setUint16(12, 0, !0), f.setUint32(14, 0, !0), f.setUint32(18, u.length, !0), f.setUint32(22, u.length, !0), f.setUint16(26, g.length, !0), f.setUint16(28, 0, !0), S.set(g, 30), t.push(S, u), i.push({
4248
+ path: h,
4249
4249
  offset: s,
4250
- contentSize: g.length
4251
- }), s += b.length + g.length;
4250
+ contentSize: u.length
4251
+ }), s += S.length + u.length;
4252
4252
  });
4253
- const i = s;
4254
- o.forEach((h) => {
4255
- const d = new TextEncoder().encode(h.path), m = new Uint8Array(46 + d.length), g = new DataView(m.buffer);
4256
- m.set([80, 75, 1, 2], 0), g.setUint16(4, 20, !0), g.setUint16(6, 20, !0), g.setUint16(8, 0, !0), g.setUint16(10, 0, !0), g.setUint16(12, 0, !0), g.setUint16(14, 0, !0), g.setUint32(16, 0, !0), g.setUint32(20, h.contentSize, !0), g.setUint32(24, h.contentSize, !0), g.setUint16(28, d.length, !0), g.setUint16(30, 0, !0), g.setUint16(32, 0, !0), g.setUint16(34, 0, !0), g.setUint16(36, 0, !0), g.setUint32(38, 0, !0), g.setUint32(42, h.offset, !0), m.set(d, 46), t.push(m), s += m.length;
4253
+ const o = s;
4254
+ i.forEach((p) => {
4255
+ const h = new TextEncoder().encode(p.path), g = new Uint8Array(46 + h.length), u = new DataView(g.buffer);
4256
+ g.set([80, 75, 1, 2], 0), u.setUint16(4, 20, !0), u.setUint16(6, 20, !0), u.setUint16(8, 0, !0), u.setUint16(10, 0, !0), u.setUint16(12, 0, !0), u.setUint16(14, 0, !0), u.setUint32(16, 0, !0), u.setUint32(20, p.contentSize, !0), u.setUint32(24, p.contentSize, !0), u.setUint16(28, h.length, !0), u.setUint16(30, 0, !0), u.setUint16(32, 0, !0), u.setUint16(34, 0, !0), u.setUint16(36, 0, !0), u.setUint32(38, 0, !0), u.setUint32(42, p.offset, !0), g.set(h, 46), t.push(g), s += g.length;
4257
4257
  });
4258
4258
  const r = new Uint8Array(22), l = new DataView(r.buffer);
4259
- r.set([80, 75, 5, 6], 0), l.setUint16(4, 0, !0), l.setUint16(6, 0, !0), l.setUint16(8, o.length, !0), l.setUint16(10, o.length, !0), l.setUint32(12, s - i, !0), l.setUint32(16, i, !0), l.setUint16(20, 0, !0), t.push(r);
4260
- const a = t.reduce((h, d) => h + d.length, 0), n = new Uint8Array(a);
4259
+ r.set([80, 75, 5, 6], 0), l.setUint16(4, 0, !0), l.setUint16(6, 0, !0), l.setUint16(8, i.length, !0), l.setUint16(10, i.length, !0), l.setUint32(12, s - o, !0), l.setUint32(16, o, !0), l.setUint16(20, 0, !0), t.push(r);
4260
+ const a = t.reduce((p, h) => p + h.length, 0), n = new Uint8Array(a);
4261
4261
  let c = 0;
4262
- for (const h of t)
4263
- n.set(h, c), c += h.length;
4262
+ for (const p of t)
4263
+ n.set(p, c), c += p.length;
4264
4264
  return n;
4265
4265
  }
4266
4266
  generateBuffer(e, t = "") {
@@ -4268,14 +4268,14 @@ class Ve {
4268
4268
  return this.createZip(s);
4269
4269
  }
4270
4270
  }
4271
- class U extends xe {
4272
- constructor(e, t, s, o, i, r = new P(), l = new Ve()) {
4271
+ class G extends ge {
4272
+ constructor(e, t, s, i, o, r = new P(), l = new Oe()) {
4273
4273
  var c;
4274
- if (super(e, t, new ne(s), o), this.eventListener = i, this.copyService = r, this.excelService = l, this.licenseManager = I.getInstance(), this.selectionService = new Ee(this), this.api = new ge(this), this.mouseStartAction = "", this.mouseStartWidth = -1, this.mouseStartColumnIndex = -1, this.dragFrom = -1, this.dragTo = -1, this.lastDragFrom = -1, this.lastDragTo = -1, this.firstDraggingRendering = !0, this.lastContextmenu = Date.now(), t.setTableScope(this), i || (this.eventListener = new K()), (c = this.tableOptions) != null && c.autoRestoreOptions) {
4275
- const h = this.tableOptions.autoRestoreOptions, d = h.getStorageKeyFn;
4276
- d && (h.autoRestoreScrollPosition && (this.storeScrollPosStateService = new fe(d)), h.autoRestoreCollapsedExpandedState && (this.storeStateCollapsedExpandService = new me(d)), h.autoRestoreSortingState && (this.storeSortingService = new be(d)));
4274
+ if (super(e, t, new ie(s), i), this.eventListener = o, this.copyService = r, this.excelService = l, this.licenseManager = I.getInstance(), this.selectionService = new we(this), this.api = new ne(this), this.mouseStartAction = "", this.mouseStartWidth = -1, this.mouseStartColumnIndex = -1, this.dragFrom = -1, this.dragTo = -1, this.lastDragFrom = -1, this.lastDragTo = -1, this.firstDraggingRendering = !0, this.lastContextmenu = Date.now(), t.setTableScope(this), o || (this.eventListener = new z()), (c = this.tableOptions) != null && c.autoRestoreOptions) {
4275
+ const p = this.tableOptions.autoRestoreOptions, h = p.getStorageKeyFn;
4276
+ h && (p.autoRestoreScrollPosition && (this.storeScrollPosStateService = new ce(h)), p.autoRestoreCollapsedExpandedState && (this.storeStateCollapsedExpandService = new he(h)), p.autoRestoreSortingState && (this.storeSortingService = new pe(h)));
4277
4277
  }
4278
- this.mouseHandler = new de(this), this.inputHandler = new ve(this), this.resizeHandler = new Pe(this, o.resizeEventDebounceDelay), this.shortcutService = new De(this), this.shortcutService.addListener(this.selectionService);
4278
+ this.mouseHandler = new re(this), this.inputHandler = new ye(this), this.resizeHandler = new Le(this, i.resizeEventDebounceDelay), this.shortcutService = new Ae(this), this.shortcutService.addListener(this.selectionService);
4279
4279
  const a = this.getSelectionModel ? this.getSelectionModel() : void 0;
4280
4280
  a && a.addEventSelectionChangedListener(this);
4281
4281
  const n = this.getFocusModel ? this.getFocusModel() : void 0;
@@ -4293,8 +4293,8 @@ class U extends xe {
4293
4293
  *
4294
4294
  * @return {TableScope} - The newly created TableScope instance.
4295
4295
  */
4296
- static create(e, t, s = new se(), o = new K(), i = new ee(), r = new P()) {
4297
- return new U(e, t, i, s, o, r);
4296
+ static create(e, t, s = new J(), i = new z(), o = new q(), r = new P()) {
4297
+ return new G(e, t, o, s, i, r);
4298
4298
  }
4299
4299
  /**
4300
4300
  * Triggers an action based on the provided actionId.
@@ -4310,19 +4310,19 @@ class U extends xe {
4310
4310
  if (e === "START_EDITING" && this.getFocusModel) {
4311
4311
  const t = this.getFocusModel();
4312
4312
  if (t) {
4313
- const [s, o] = t.getFocus();
4314
- this.tableModel.getBodyModel().isEditable(s, o) && (this.clearSelection(), this.initRenderEditor(s, o));
4313
+ const [s, i] = t.getFocus();
4314
+ this.tableModel.getBodyModel().isEditable(s, i) && (this.clearSelection(), this.initRenderEditor(s, i));
4315
4315
  }
4316
4316
  return !0;
4317
4317
  }
4318
4318
  if (e === "COPY_2_CLIPBOARD") {
4319
4319
  const t = this.getSelectionModel ? this.getSelectionModel() : void 0, s = this.getFocusModel ? this.getFocusModel() : void 0;
4320
- this.copyService.createContent(this.tableModel, t, s).then((o) => this.copyService.copyContent(o));
4320
+ this.copyService.createContent(this.tableModel, t, s).then((i) => this.copyService.copyContent(i));
4321
4321
  }
4322
4322
  return !1;
4323
4323
  }
4324
- updateModelValueAfterEdit(e, t, s, o) {
4325
- e === "body" && this.tableModel.getAreaModel(e).setValue(t, s, o) && (this.resetEditorRenderer(), this.repaint(), this.eventListener.onModelChanged(z.createSingle(t, s)), this.hostElement.focus());
4324
+ updateModelValueAfterEdit(e, t, s, i) {
4325
+ e === "body" && this.tableModel.getAreaModel(e).setValue(t, s, i) && (this.resetEditorRenderer(), this.repaint(), this.eventListener.onModelChanged(N.createSingle(t, s)), this.hostElement.focus());
4326
4326
  }
4327
4327
  /**
4328
4328
  * Retrieves the TableApi object.
@@ -4351,16 +4351,16 @@ class U extends xe {
4351
4351
  * @return {GeMouseEvent} - The created GeMouseEvent object.
4352
4352
  */
4353
4353
  createGeMouseEvent(e) {
4354
- const t = new _();
4354
+ const t = new H();
4355
4355
  if (t.originalEvent = e, e) {
4356
4356
  const s = e.target;
4357
4357
  if ([t.areaIdent, t.sideIdent] = this.getAreaAndSideIdentByAttr(s), t.rowIndex = this.getNumberByAttr(s, "data-row-index"), t.columnIndex = this.getNumberByAttr(s, "data-col-index"), t.action = this.getStringByAttr(s, "data-ge-action"), t.areaIdent) {
4358
- const o = this.tableModel.getAreaModel(t.areaIdent);
4359
- t.rowTop = o.getYPosByRowIndex(t.rowIndex);
4358
+ const i = this.tableModel.getAreaModel(t.areaIdent);
4359
+ t.rowTop = i.getYPosByRowIndex(t.rowIndex);
4360
4360
  }
4361
4361
  if (t.columnLeft = this.tableModel.getXPosByColumnIndex(t.columnIndex), e.ctrlKey && e.altKey) {
4362
- const o = e.clientY - this.hostElement.offsetTop - this.areaHeaderCenter.parent.clientHeight, i = e.clientX - this.hostElement.offsetLeft - this.areaBodyWestGeo.width;
4363
- this.debugOnce(i, o);
4362
+ const i = e.clientY - this.hostElement.offsetTop - this.areaHeaderCenter.parent.clientHeight, o = e.clientX - this.hostElement.offsetLeft - this.areaBodyWestGeo.width;
4363
+ this.debugOnce(o, i);
4364
4364
  }
4365
4365
  }
4366
4366
  return t;
@@ -4409,10 +4409,10 @@ class U extends xe {
4409
4409
  * @return {void}
4410
4410
  */
4411
4411
  contextmenu(e) {
4412
- var s, o;
4412
+ var s, i;
4413
4413
  const t = Date.now();
4414
4414
  if (t - this.lastContextmenu < 50) {
4415
- this.lastContextmenu = t, (s = e.originalEvent) == null || s.preventDefault(), (o = e.originalEvent) == null || o.stopImmediatePropagation();
4415
+ this.lastContextmenu = t, (s = e.originalEvent) == null || s.preventDefault(), (i = e.originalEvent) == null || i.stopImmediatePropagation();
4416
4416
  return;
4417
4417
  }
4418
4418
  this.lastContextmenu = t, this.eventListener.onContextmenu(e);
@@ -4427,7 +4427,7 @@ class U extends xe {
4427
4427
  toggleExpandCollapseAll(e = !0) {
4428
4428
  var s;
4429
4429
  const t = this.tableModel.getBodyModel();
4430
- $(t) && (t.toggleExpandCollapseAll(e), this.repaint(), (s = this.storeStateCollapsedExpandService) == null || s.collapsedStateAll(e));
4430
+ W(t) && (t.toggleExpandCollapseAll(e), this.repaint(), (s = this.storeStateCollapsedExpandService) == null || s.collapsedStateAll(e));
4431
4431
  }
4432
4432
  /**
4433
4433
  * Toggles the checkbox state of a specific row in a table.
@@ -4440,9 +4440,9 @@ class U extends xe {
4440
4440
  */
4441
4441
  toggleRowCheckbox(e, t, s) {
4442
4442
  var a;
4443
- const o = this.tableModel.getAreaModel(s), i = o.isRowChecked(e), r = i === void 0 || i === "semi" || i === "none";
4444
- o.setRowChecked(e, r), this.repaint();
4445
- const l = (a = o.rowSelectionModel) == null ? void 0 : a.getCheckedRows();
4443
+ const i = this.tableModel.getAreaModel(s), o = i.isRowChecked(e), r = o === void 0 || o === "semi" || o === "none";
4444
+ i.setRowChecked(e, r), this.repaint();
4445
+ const l = (a = i.rowSelectionModel) == null ? void 0 : a.getCheckedRows();
4446
4446
  this.eventListener.onCheckboxChanged(l || []);
4447
4447
  }
4448
4448
  /**
@@ -4456,8 +4456,8 @@ class U extends xe {
4456
4456
  let s = this.selectionService.onMouseClicked(e, t);
4457
4457
  if (!s && this.getFocusModel) {
4458
4458
  this.resetEditorRenderer();
4459
- const o = this.getFocusModel();
4460
- o && (s = o.hasChanged(), o.clearChanged());
4459
+ const i = this.getFocusModel();
4460
+ i && (s = i.hasChanged(), i.clearChanged());
4461
4461
  }
4462
4462
  return s;
4463
4463
  }
@@ -4493,12 +4493,12 @@ class U extends xe {
4493
4493
  * @return {void}
4494
4494
  */
4495
4495
  onHeaderDblClicked(e, t, s) {
4496
- var i, r;
4497
- const o = this.tableModel.getColumnDef(s);
4498
- if (o != null && o.sortable && o.sortable()) {
4496
+ var o, r;
4497
+ const i = this.tableModel.getColumnDef(s);
4498
+ if (i != null && i.sortable && i.sortable()) {
4499
4499
  e.preventDefault(), e.stopPropagation();
4500
- const l = o.sortStatesOrder ? o.sortStatesOrder : this.tableOptions.sortOrder, a = o.sortState ?? "", n = l[(l.indexOf(a) + 1) % l.length], c = new Ce(s, n);
4501
- this.tableModel.doSort([c]) && ((i = this.tableModel.getColumnDefs()) == null || i.forEach((d) => d.sortState = ""), o.sortState = n), this.repaint(), (r = this.storeSortingService) == null || r.setSortItems([c]);
4500
+ const l = i.sortStatesOrder ? i.sortStatesOrder : this.tableOptions.sortOrder, a = i.sortState ?? "", n = l[(l.indexOf(a) + 1) % l.length], c = new Se(s, n);
4501
+ this.tableModel.doSort([c]) && ((o = this.tableModel.getColumnDefs()) == null || o.forEach((h) => h.sortState = ""), i.sortState = n), this.repaint(), (r = this.storeSortingService) == null || r.setSortItems([c]);
4502
4502
  }
4503
4503
  }
4504
4504
  /**
@@ -4520,13 +4520,13 @@ class U extends xe {
4520
4520
  * @return {void}
4521
4521
  */
4522
4522
  scrollToIndex(e, t) {
4523
- const o = this.tableModel.getAreaModel("body").getYPosByRowIndex(t);
4524
- this.scrollToPixel(0, o);
4523
+ const i = this.tableModel.getAreaModel("body").getYPosByRowIndex(t);
4524
+ this.scrollToPixel(0, i);
4525
4525
  }
4526
4526
  adjustAfterScrolling() {
4527
4527
  super.adjustAfterScrolling();
4528
4528
  const e = this.scrollViewport;
4529
- this.eventListener.onScroll(new Ae(
4529
+ this.eventListener.onScroll(new xe(
4530
4530
  this.scrollTop,
4531
4531
  this.scrollLeft,
4532
4532
  e.scrollHeight,
@@ -4584,8 +4584,8 @@ class U extends xe {
4584
4584
  if (!this.isEditing() && this.getFocusModel) {
4585
4585
  const s = this.getFocusModel();
4586
4586
  if (s) {
4587
- const [o, i] = s.getFocus();
4588
- return s.setFocus(o + t, i + e), this.repaint(), !0;
4587
+ const [i, o] = s.getFocus();
4588
+ return s.setFocus(i + t, o + e), this.repaint(), !0;
4589
4589
  }
4590
4590
  }
4591
4591
  return !1;
@@ -4654,21 +4654,21 @@ class U extends xe {
4654
4654
  autoRestoreCollapsedExpandedState() {
4655
4655
  var e, t;
4656
4656
  if ((t = (e = this.tableOptions) == null ? void 0 : e.autoRestoreOptions) != null && t.getRowId && this.storeStateCollapsedExpandService) {
4657
- const s = this.tableOptions.autoRestoreOptions, o = s.getRowId;
4658
- if (s.autoRestoreCollapsedExpandedState && o) {
4659
- const i = this.storeStateCollapsedExpandService.collapsedExpandedStateGet(), r = this.tableModel.getAreaModel("body");
4660
- if ($(r)) {
4657
+ const s = this.tableOptions.autoRestoreOptions, i = s.getRowId;
4658
+ if (s.autoRestoreCollapsedExpandedState && i) {
4659
+ const o = this.storeStateCollapsedExpandService.collapsedExpandedStateGet(), r = this.tableModel.getAreaModel("body");
4660
+ if (W(r)) {
4661
4661
  const l = r, a = r.getRowCount();
4662
4662
  for (let n = 0; n < a; n++) {
4663
4663
  const c = r.getRowByIndex(n);
4664
4664
  if (c)
4665
- if (i.allExpanded)
4665
+ if (o.allExpanded)
4666
4666
  c.expanded = !0;
4667
- else if (i.allCollapsed)
4667
+ else if (o.allCollapsed)
4668
4668
  c.expanded = !1;
4669
4669
  else {
4670
- const h = o(c.data);
4671
- i.mode === "expanded" ? c.expanded = this.storeStateCollapsedExpandService.collapsedExpandedStateIncludes(h) : i.mode === "collapsed" && (c.expanded = !this.storeStateCollapsedExpandService.collapsedExpandedStateIncludes(h));
4670
+ const p = i(c.data);
4671
+ o.mode === "expanded" ? c.expanded = this.storeStateCollapsedExpandService.collapsedExpandedStateIncludes(p) : o.mode === "collapsed" && (c.expanded = !this.storeStateCollapsedExpandService.collapsedExpandedStateIncludes(p));
4672
4672
  }
4673
4673
  }
4674
4674
  l.recalcVisibleTreeRows();
@@ -4680,13 +4680,13 @@ class U extends xe {
4680
4680
  const e = this.tableModel.getBodyModel(), t = this.tableModel.getColumnCount(), s = (e == null ? void 0 : e.getRowCount()) ?? 0;
4681
4681
  if (!e)
4682
4682
  return console.warn("Body model is not available."), [];
4683
- const o = new Array(t).fill(0);
4684
- for (let i = 0; i < s; i++)
4683
+ const i = new Array(t).fill(0);
4684
+ for (let o = 0; o < s; o++)
4685
4685
  for (let r = 0; r < t; r++) {
4686
- const l = e.getValueAt(i, r), a = (l == null ? void 0 : l.toString().length) || 0;
4687
- a > o[r] && (o[r] = a);
4686
+ const l = e.getValueAt(o, r), a = (l == null ? void 0 : l.toString().length) || 0;
4687
+ a > i[r] && (i[r] = a);
4688
4688
  }
4689
- return o.map((i) => Math.max(i * 10, 50));
4689
+ return i.map((o) => Math.max(o * 10, 50));
4690
4690
  }
4691
4691
  setColumnWidth(e, t) {
4692
4692
  this.tableModel.setColumnWidth(e, t);
@@ -4694,8 +4694,8 @@ class U extends xe {
4694
4694
  autoResizeColumns(e = !0) {
4695
4695
  const t = this.calcAutoColumnWidths();
4696
4696
  for (let s = 0; s < t.length; s++) {
4697
- const o = t[s];
4698
- this.tableModel.setColumnWidth(s, o);
4697
+ const i = t[s];
4698
+ this.tableModel.setColumnWidth(s, i);
4699
4699
  }
4700
4700
  e && this.recalcWrappers();
4701
4701
  }
@@ -4762,352 +4762,74 @@ class U extends xe {
4762
4762
  * @see {@link getDisplayedRowCount} - Related method for getting visible row count
4763
4763
  */
4764
4764
  ensureRowIsVisible(e) {
4765
- const t = this.getFirstFullVisibleRowIndex(), s = this.getLastFullVisibleRowIndex(), o = this.getDisplayedRowCount();
4766
- return e < t ? (this.scrollToIndex(0, e), !0) : e > s ? (this.scrollToIndex(0, e - o + 1), !0) : !1;
4765
+ const t = this.getFirstFullVisibleRowIndex(), s = this.getLastFullVisibleRowIndex(), i = this.getDisplayedRowCount();
4766
+ return e < t ? (this.scrollToIndex(0, e), !0) : e > s ? (this.scrollToIndex(0, e - i + 1), !0) : !1;
4767
4767
  }
4768
4768
  }
4769
- const V = class V {
4770
- };
4771
- V.themes = ["light", "combat", "paper", "blackboard"], V.vars = {
4772
- light: `html[data-theme="light"] {
4773
- --ge-table-bg: rgba(255,255,255, 0.5);
4774
- --ge-table-header-west-bg: rgba(233, 233, 233, 0.5);
4775
- --ge-table-header-center-bg: rgba(233, 233, 233, 0.5);
4776
- --ge-table-header-east-bg: rgba(233, 233, 233, 0.5);
4777
- --ge-table-header-west-text: #000;
4778
- --ge-table-header-center-text: #000;
4779
- --ge-table-header-east-text: #000;
4780
- --ge-table-header-west-horizontal-border: #ddd;
4781
- --ge-table-header-west-vertical-border: #ccc;
4782
- --ge-table-header-center-horizontal-border: #ddd;
4783
- --ge-table-header-center-vertical-border: #ccc;
4784
- --ge-table-header-east-horizontal-border: #ddd;
4785
- --ge-table-header-east-vertical-border: #ccc;
4786
- --ge-table-body-west-bg: rgba(233, 233, 233, 0.5);
4787
- --ge-table-body-center-bg: rgba(255,255,255, 0.5);
4788
- --ge-table-body-east-bg: rgba(233, 233, 233, 0.5);
4789
- --ge-table-body-west-text: #000;
4790
- --ge-table-body-center-text: #000;
4791
- --ge-table-body-east-text: #000;
4792
- --ge-table-body-west-horizontal-border: #ddd;
4793
- --ge-table-body-west-vertical-border: #ccc;
4794
- --ge-table-body-center-horizontal-border: #bbb;
4795
- --ge-table-body-center-vertical-border: #ddd;
4796
- --ge-table-body-east-horizontal-border: #ddd;
4797
- --ge-table-body-east-vertical-border: #ccc;
4798
- --ge-table-body-west-selected-range-bg: rgba(0, 152, 219, 0.4);
4799
- --ge-table-body-center-selected-range-bg: rgba(0, 152, 219, 0.4);
4800
- --ge-table-body-east-selected-range-bg: rgba(0, 152, 219, 0.4);
4801
- --ge-table-body-west-selected-range-text: #000;
4802
- --ge-table-body-center-selected-range-text: #000;
4803
- --ge-table-body-east-selected-range-text: #000;
4804
- --ge-table-footer-west-bg: rgba(233, 233, 233, 0.5);
4805
- --ge-table-footer-center-bg: rgba(233, 233, 233, 0.5);
4806
- --ge-table-footer-east-bg: rgba(233, 233, 233, 0.5);
4807
- --ge-table-footer-west-text: #000;
4808
- --ge-table-footer-center-text: #000;
4809
- --ge-table-footer-east-text: #000;
4810
- --ge-table-footer-west-horizontal-border: #ddd;
4811
- --ge-table-footer-west-vertical-border: #ccc;
4812
- --ge-table-footer-center-horizontal-border: #ddd;
4813
- --ge-table-footer-center-vertical-border: #ccc;
4814
- --ge-table-footer-east-horizontal-border: #ddd;
4815
- --ge-table-footer-east-vertical-border: #ccc;
4816
- --ge-table-border: #ccc;
4817
- --ge-table-row-odd-bg: transparent;
4818
- --ge-table-row-even-bg: transparent;
4819
- --ge-table-column-odd-bg: transparent;
4820
- --ge-table-column-even-bg: transparent;
4821
- --ge-table-hover-column-bg: rgba(0, 224, 255, 0.27);
4822
- --ge-table-hover-row-bg: rgba(0, 224, 255, 0.27);
4823
- --ge-table-focus-border: rgb(0, 255, 255);
4824
- --ge-table-color-error-text: #e00034;
4825
- --ge-table-tree-arrow-collapsed-color: #e00034;
4826
- --ge-table-column-resize-handle-border: rgb(0, 255, 255);
4827
- --ge-table-dragged-col-div-bg: lightcyan;
4828
- --ge-table-drop-zone-bg: rgba(244, 255, 242, 0.6);
4829
- }`,
4830
- combat: `html[data-theme="combat"] {
4831
- --ge-table-bg: #101010;
4832
- --ge-table-header-west-bg: #101010;
4833
- --ge-table-header-center-bg: #101010;
4834
- --ge-table-header-east-bg: #101010;
4835
- --ge-table-header-west-text: oklch(100% 0 0);
4836
- --ge-table-header-center-text: oklch(100% 0 0);
4837
- --ge-table-header-east-text: oklch(100% 0 0);
4838
- --ge-table-header-west-horizontal-border: oklch(100% 0 0 / 0%);
4839
- --ge-table-header-west-vertical-border: oklch(100% 0 0 / 0%);
4840
- --ge-table-header-center-horizontal-border: oklch(100% 0 0 / 0%);
4841
- --ge-table-header-center-vertical-border: oklch(100% 0 0 / 0%);
4842
- --ge-table-header-east-horizontal-border: oklch(100% 0 0 / 0%);
4843
- --ge-table-header-east-vertical-border: oklch(100% 0 0 / 0%);
4844
- --ge-table-body-west-bg: #101010;
4845
- --ge-table-body-center-bg: #101010;
4846
- --ge-table-body-east-bg: #101010;
4847
- --ge-table-body-west-text: #b6b4b4;
4848
- --ge-table-body-center-text: #b6b4b4;
4849
- --ge-table-body-east-text: #b6b4b4;
4850
- --ge-table-body-west-horizontal-border: oklch(100% 0 0 / 0%);
4851
- --ge-table-body-west-vertical-border: oklch(100% 0 0 / 0%);
4852
- --ge-table-body-center-horizontal-border: oklch(100% 0 0 / 0%);
4853
- --ge-table-body-center-vertical-border: oklch(100% 0 0 / 0%);
4854
- --ge-table-body-east-horizontal-border: oklch(100% 0 0 / 0%);
4855
- --ge-table-body-east-vertical-border: oklch(100% 0 0 / 0%);
4856
- --ge-table-body-west-selected-range-bg: oklch(20% 0.2 39.6 / 37%);
4857
- --ge-table-body-center-selected-range-bg: oklch(20% 0.2 39.6 / 37%);
4858
- --ge-table-body-east-selected-range-bg: oklch(20% 0.2 39.6 / 37%);
4859
- --ge-table-body-west-selected-range-text: #f00032;
4860
- --ge-table-body-center-selected-range-text: #f00032;
4861
- --ge-table-body-east-selected-range-text: #f00032;
4862
- --ge-table-footer-west-bg: #101010;
4863
- --ge-table-footer-center-bg: #101010;
4864
- --ge-table-footer-east-bg: #101010;
4865
- --ge-table-footer-west-text: oklch(100% 0 0);
4866
- --ge-table-footer-center-text: oklch(100% 0 0);
4867
- --ge-table-footer-east-text: oklch(100% 0 0);
4868
- --ge-table-footer-west-horizontal-border: oklch(100% 0 0 / 0%);
4869
- --ge-table-footer-west-vertical-border: oklch(100% 0 0 / 0%);
4870
- --ge-table-footer-center-horizontal-border: oklch(100% 0 0 / 0%);
4871
- --ge-table-footer-center-vertical-border: oklch(100% 0 0 / 0%);
4872
- --ge-table-footer-east-horizontal-border: oklch(100% 0 0 / 0%);
4873
- --ge-table-footer-east-vertical-border: oklch(100% 0 0 / 0%);
4874
- --ge-table-border: oklch(100% 0 0 / 0%);
4875
- --ge-table-row-odd-bg: oklch(100% 0 0 / 0%);
4876
- --ge-table-row-even-bg: oklch(100% 0 0 / 0%);
4877
- --ge-table-column-odd-bg: oklch(100% 0 0 / 0%);
4878
- --ge-table-column-even-bg: oklch(100% 0 0 / 0%);
4879
- --ge-table-hover-column-bg: oklch(34% 0.25 3.6 / 27%);
4880
- --ge-table-hover-row-bg: oklch(34% 0.25 3.6 / 27%);
4881
- --ge-table-focus-border: oklch(40% 0.25 3.6);
4882
- --ge-table-color-error-text: oklch(65% 0.31 43.2);
4883
- --ge-table-tree-arrow-collapsed-color: #e00034;
4884
- --ge-table-column-resize-handle-border: oklch(63% 0.31 43.2);
4885
- --ge-table-dragged-col-div-bg: #2c2e33;
4886
- --ge-table-drop-zone-bg: #101010;
4887
- }`,
4888
- paper: `html[data-theme="paper"] {
4889
- --ge-table-bg: #e7e5df;
4890
- --ge-table-header-west-bg: oklch(80% 0.02 99 / 48%);
4891
- --ge-table-header-center-bg: oklch(80% 0.02 99 / 48%);
4892
- --ge-table-header-east-bg: oklch(80% 0.02 99 / 48%);
4893
- --ge-table-header-west-text: #111;
4894
- --ge-table-header-center-text: #111;
4895
- --ge-table-header-east-text: #111;
4896
- --ge-table-header-west-horizontal-border: oklch(100% 0 0 / 0%);
4897
- --ge-table-header-west-vertical-border: oklch(100% 0 0 / 0%);
4898
- --ge-table-header-center-horizontal-border: oklch(100% 0 0 / 0%);
4899
- --ge-table-header-center-vertical-border: oklch(100% 0 0 / 0%);
4900
- --ge-table-header-east-horizontal-border: oklch(100% 0 0 / 0%);
4901
- --ge-table-header-east-vertical-border: oklch(100% 0 0 / 0%);
4902
- --ge-table-body-west-bg: oklch(80% 0.02 99 / 48%);
4903
- --ge-table-body-center-bg: #e7e5df;
4904
- --ge-table-body-east-bg: oklch(80% 0.02 99 / 48%);
4905
- --ge-table-body-west-text: #000;
4906
- --ge-table-body-center-text: #000;
4907
- --ge-table-body-east-text: #000;
4908
- --ge-table-body-west-horizontal-border: oklch(100% 0 0 / 0%);
4909
- --ge-table-body-west-vertical-border: oklch(100% 0 0 / 0%);
4910
- --ge-table-body-center-horizontal-border: oklch(100% 0 0 / 0%);
4911
- --ge-table-body-center-vertical-border: oklch(100% 0 0 / 0%);
4912
- --ge-table-body-east-horizontal-border: oklch(100% 0 0 / 0%);
4913
- --ge-table-body-east-vertical-border: oklch(100% 0 0 / 0%);
4914
- --ge-table-body-west-selected-range-bg: #cfcdc2;
4915
- --ge-table-body-center-selected-range-bg: #cfcdc2;
4916
- --ge-table-body-east-selected-range-bg: #cfcdc2;
4917
- --ge-table-body-west-selected-range-text: #000;
4918
- --ge-table-body-center-selected-range-text: #000;
4919
- --ge-table-body-east-selected-range-text: #000;
4920
- --ge-table-footer-west-bg: oklch(80% 0.02 99 / 48%);
4921
- --ge-table-footer-center-bg: oklch(80% 0.02 99 / 48%);
4922
- --ge-table-footer-east-bg: oklch(80% 0.02 99 / 48%);
4923
- --ge-table-footer-west-text: #111;
4924
- --ge-table-footer-center-text: #111;
4925
- --ge-table-footer-east-text: #111;
4926
- --ge-table-footer-west-horizontal-border: oklch(100% 0 0 / 0%);
4927
- --ge-table-footer-west-vertical-border: oklch(100% 0 0 / 0%);
4928
- --ge-table-footer-center-horizontal-border: oklch(100% 0 0 / 0%);
4929
- --ge-table-footer-center-vertical-border: oklch(100% 0 0 / 0%);
4930
- --ge-table-footer-east-horizontal-border: oklch(100% 0 0 / 0%);
4931
- --ge-table-footer-east-vertical-border: oklch(100% 0 0 / 0%);
4932
- --ge-table-border: oklch(100% 0 0 / 0%);
4933
- --ge-table-row-odd-bg: oklch(100% 0 0 / 0%);
4934
- --ge-table-row-even-bg: oklch(100% 0 0 / 0%);
4935
- --ge-table-column-odd-bg: oklch(100% 0 0 / 0%);
4936
- --ge-table-column-even-bg: oklch(100% 0 0 / 0%);
4937
- --ge-table-hover-column-bg: oklch(5% 0.2 266.40000000000003 / 9%);
4938
- --ge-table-hover-row-bg: oklch(5% 0.2 266.40000000000003 / 9%);
4939
- --ge-table-focus-border: oklch(100% 0.19 205.20000000000002);
4940
- --ge-table-color-error-text: oklch(45% 0.25 43.2);
4941
- --ge-table-tree-arrow-collapsed-color: #e00034;
4942
- --ge-table-column-resize-handle-border: oklch(100% 0.19 205.20000000000002 / 71%);
4943
- --ge-table-dragged-col-div-bg: #2c2e33;
4944
- --ge-table-drop-zone-bg: #e7e5df;
4945
- }`,
4946
- blackboard: `html[data-theme="dark"] {
4947
- --ge-table-bg: #0c1021;
4948
- --ge-table-header-west-bg: #0c1021;
4949
- --ge-table-header-center-bg: #0c1021;
4950
- --ge-table-header-east-bg: #0c1021;
4951
- --ge-table-header-west-text: #e0df85;
4952
- --ge-table-header-center-text: #e0df85;
4953
- --ge-table-header-east-text: #e0df85;
4954
- --ge-table-header-west-horizontal-border: transparent;
4955
- --ge-table-header-west-vertical-border: transparent;
4956
- --ge-table-header-center-horizontal-border: transparent;
4957
- --ge-table-header-center-vertical-border: transparent;
4958
- --ge-table-header-east-horizontal-border: transparent;
4959
- --ge-table-header-east-vertical-border: transparent;
4960
- --ge-table-body-west-bg: #0c1021;
4961
- --ge-table-body-center-bg: #0c1021;
4962
- --ge-table-body-east-bg: #0c1021;
4963
- --ge-table-body-west-text: #a7a7a7;
4964
- --ge-table-body-center-text: #a7a7a7;
4965
- --ge-table-body-east-text: #a7a7a7;
4966
- --ge-table-body-west-horizontal-border: transparent;
4967
- --ge-table-body-west-vertical-border: transparent;
4968
- --ge-table-body-center-horizontal-border: transparent;
4969
- --ge-table-body-center-vertical-border: transparent;
4970
- --ge-table-body-east-horizontal-border: transparent;
4971
- --ge-table-body-east-vertical-border: transparent;
4972
- --ge-table-body-west-selected-range-bg: #758129;
4973
- --ge-table-body-center-selected-range-bg: #758129;
4974
- --ge-table-body-east-selected-range-bg: #758129;
4975
- --ge-table-body-west-selected-range-text: oklch(100% 0 0);
4976
- --ge-table-body-center-selected-range-text: oklch(100% 0 0);
4977
- --ge-table-body-east-selected-range-text: oklch(100% 0 0);
4978
- --ge-table-footer-west-bg: #0c1021;
4979
- --ge-table-footer-center-bg: #0c1021;
4980
- --ge-table-footer-east-bg: #0c1021;
4981
- --ge-table-footer-west-text: #e0df85;
4982
- --ge-table-footer-center-text: #e0df85;
4983
- --ge-table-footer-east-text: #e0df85;
4984
- --ge-table-footer-west-horizontal-border: transparent;
4985
- --ge-table-footer-west-vertical-border: transparent;
4986
- --ge-table-footer-center-horizontal-border: transparent;
4987
- --ge-table-footer-center-vertical-border: otransparent;
4988
- --ge-table-footer-east-horizontal-border: transparent;
4989
- --ge-table-footer-east-vertical-border: transparent;
4990
- --ge-table-border: oklch(0% 0 0);
4991
- --ge-table-row-odd-bg: oklch(100% 0 0 / 0%);
4992
- --ge-table-row-even-bg: oklch(100% 0 0 / 0%);
4993
- --ge-table-column-odd-bg: oklch(100% 0 0 / 0%);
4994
- --ge-table-column-even-bg: oklch(100% 0 0 / 0%);
4995
- --ge-table-hover-column-bg: #a9a9a9;
4996
- --ge-table-hover-row-bg: #a9a9a9;
4997
- --ge-table-focus-border: #e1ff00;
4998
- --ge-table-color-error-text: #ff0040;
4999
- --ge-table-tree-arrow-collapsed-color: #e00034;
5000
- --ge-table-column-resize-handle-border: oklch(0% 0 0);
5001
- --ge-table-dragged-col-div-bg: #2c2e33;
5002
- --ge-table-drop-zone-bg: #758129;
5003
- }`
5004
- };
5005
- let Y = V;
5006
- const W = class W {
5007
- constructor(e = new te()) {
5008
- this.headerGroupOptions = e;
5009
- }
5010
- render(e, t, s, o, i, r, l) {
5011
- const a = r != null && r.data ? r.data : "";
5012
- if (r) {
5013
- const { toggle: n, visibility: c, closed: h } = r, d = n ? W.toggleHeaderGroup : "";
5014
- this.addText(e, o, t, s, a, d), n && c !== "always" && this.addArrowDiv(l, e, !h, t, s, o, d);
5015
- } else
5016
- this.addText(e, o, t, s, a, "");
5017
- }
5018
- addText(e, t, s, o, i, r) {
5019
- e.innerHTML = `<span
5020
- data-ge-action="${r}"
5021
- data-area="${t}"
5022
- data-row-index="${s}"
5023
- data-col-index="${o}"
5024
- >${i}</span>`;
5025
- }
5026
- addArrowDiv(e, t, s = !0, o = -1, i = -1, r = "header", l) {
5027
- const a = e.createElement("div");
5028
- e.addClass(a, "ge-table-toggle-icon-div"), e.setStyle(a, "display", "inline-block"), e.setStyle(a, "position", ""), e.setStyle(a, "width", "20px"), e.setStyle(a, "background", "transparent"), e.setStyle(a, "cursor", "pointer"), e.setAttribute(a, "data-row-index", `${o}`), e.setAttribute(a, "data-col-index", `${i}`), e.setAttribute(a, "data-area", `${r}`), e.setAttribute(a, "data-ge-action", `${l}`);
5029
- let n;
5030
- s ? n = this.headerGroupOptions.iconExpanded : n = this.headerGroupOptions.iconCollapsed;
5031
- const c = n.content, h = e.createText(c);
5032
- e.appendChild(a, h), n.style && this.applyStyleString(e, a, n.style);
5033
- for (const d of n.classes)
5034
- e.addClass(a, d);
5035
- return e.appendChild(t, a), a;
5036
- }
5037
- applyStyleString(e, t, s) {
5038
- const o = s.split(";").map((i) => i.trim()).filter((i) => i);
5039
- for (const i of o) {
5040
- const [r, l] = i.split(":");
5041
- e.setStyle(t, r.trim(), l.trim());
5042
- }
5043
- }
5044
- };
5045
- W.toggleHeaderGroup = "toggleHeaderGroup";
5046
- let q = W;
5047
- function Ge({
5048
- tableModel: p,
5049
- tableOptions: e = new se(),
4769
+ function He({
4770
+ tableModel: d,
4771
+ tableOptions: e = new J(),
5050
4772
  mouseMoved: t,
5051
4773
  checkboxChanged: s,
5052
- contextmenu: o,
5053
- modelChanged: i,
4774
+ contextmenu: i,
4775
+ modelChanged: o,
5054
4776
  mouseClicked: r,
5055
4777
  mouseDragging: l,
5056
4778
  mouseDraggingEnd: a,
5057
4779
  selectionChanged: n,
5058
4780
  focusChanged: c,
5059
- tableReady: h,
5060
- licenseKey: d
4781
+ tableReady: p,
4782
+ licenseKey: h
5061
4783
  }) {
5062
- const m = ie(null);
5063
- let g = !1;
5064
- re(() => {
5065
- m.current && !g && (b(m.current), g = !0);
4784
+ const g = Q(null);
4785
+ let u = !1;
4786
+ ee(() => {
4787
+ g.current && !u && (S(g.current), u = !0);
5066
4788
  });
5067
- const b = (f) => {
5068
- const u = {
5069
- onSelectionChanged(S) {
5070
- n && n(S);
4789
+ const S = (f) => {
4790
+ const m = {
4791
+ onSelectionChanged(y) {
4792
+ n && n(y);
5071
4793
  },
5072
- onFocusChanged(S) {
5073
- c && c(S);
4794
+ onFocusChanged(y) {
4795
+ c && c(y);
5074
4796
  },
5075
- onCheckboxChanged: (S) => {
5076
- s && s(S);
4797
+ onCheckboxChanged: (y) => {
4798
+ s && s(y);
5077
4799
  },
5078
- onContextmenu: (S) => {
5079
- o && o(S);
4800
+ onContextmenu: (y) => {
4801
+ i && i(y);
5080
4802
  },
5081
- onModelChanged: (S) => {
5082
- i && i(S);
4803
+ onModelChanged: (y) => {
4804
+ o && o(y);
5083
4805
  },
5084
- onMouseClicked: (S) => {
5085
- r && r(S);
4806
+ onMouseClicked: (y) => {
4807
+ r && r(y);
5086
4808
  },
5087
- onMouseDragging: (S) => {
5088
- l && l(S);
4809
+ onMouseDragging: (y) => {
4810
+ l && l(y);
5089
4811
  },
5090
- onMouseDraggingEnd: (S) => {
5091
- a && a(S);
4812
+ onMouseDraggingEnd: (y) => {
4813
+ a && a(y);
5092
4814
  },
5093
- onMouseMoved: (S) => {
5094
- t && t(S);
4815
+ onMouseMoved: (y) => {
4816
+ t && t(y);
5095
4817
  },
5096
- onScroll(S) {
4818
+ onScroll(y) {
5097
4819
  }
5098
- }, w = new U(
4820
+ }, x = new G(
5099
4821
  f,
5100
- p,
5101
- new ee(),
4822
+ d,
4823
+ new q(),
5102
4824
  e,
5103
- u
4825
+ m
5104
4826
  );
5105
- w.firstInit(), h && h(w.getApi()), d && I.getInstance().setLicenseKey(d);
4827
+ x.firstInit(), p && p(x.getApi()), h && I.getInstance().setLicenseKey(h);
5106
4828
  };
5107
- return /* @__PURE__ */ oe(
4829
+ return /* @__PURE__ */ Z(
5108
4830
  "div",
5109
4831
  {
5110
- ref: m,
4832
+ ref: g,
5111
4833
  className: "container-div",
5112
4834
  style: {
5113
4835
  width: "100%",
@@ -5119,53 +4841,53 @@ function Ge({
5119
4841
  }
5120
4842
  );
5121
4843
  }
5122
- var k = {}, J;
5123
- function We() {
5124
- if (J) return k;
5125
- J = 1;
5126
- var p = ae;
4844
+ var L = {}, X;
4845
+ function Be() {
4846
+ if (X) return L;
4847
+ X = 1;
4848
+ var d = te;
5127
4849
  if (process.env.NODE_ENV === "production")
5128
- k.createRoot = p.createRoot, k.hydrateRoot = p.hydrateRoot;
4850
+ L.createRoot = d.createRoot, L.hydrateRoot = d.hydrateRoot;
5129
4851
  else {
5130
- var e = p.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
5131
- k.createRoot = function(t, s) {
4852
+ var e = d.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
4853
+ L.createRoot = function(t, s) {
5132
4854
  e.usingClientEntryPoint = !0;
5133
4855
  try {
5134
- return p.createRoot(t, s);
4856
+ return d.createRoot(t, s);
5135
4857
  } finally {
5136
4858
  e.usingClientEntryPoint = !1;
5137
4859
  }
5138
- }, k.hydrateRoot = function(t, s, o) {
4860
+ }, L.hydrateRoot = function(t, s, i) {
5139
4861
  e.usingClientEntryPoint = !0;
5140
4862
  try {
5141
- return p.hydrateRoot(t, s, o);
4863
+ return d.hydrateRoot(t, s, i);
5142
4864
  } finally {
5143
4865
  e.usingClientEntryPoint = !1;
5144
4866
  }
5145
4867
  };
5146
4868
  }
5147
- return k;
4869
+ return L;
5148
4870
  }
5149
- var He = We();
5150
- class ze {
4871
+ var Ve = Be();
4872
+ class $e {
5151
4873
  constructor(e) {
5152
4874
  this.Component = e, console.info(e);
5153
4875
  }
5154
- render(e, t, s, o, i, r, l) {
4876
+ render(e, t, s, i, o, r, l) {
5155
4877
  const a = {
5156
4878
  cellDiv: e,
5157
4879
  rowIndex: t,
5158
4880
  columnIndex: s,
5159
- areaIdent: o,
5160
- areaModel: i,
4881
+ areaIdent: i,
4882
+ areaModel: o,
5161
4883
  cellValue: r
5162
- }, n = He.createRoot(e, {});
4884
+ }, n = Ve.createRoot(e, {});
5163
4885
  return n.render(this.Component(a)), () => {
5164
4886
  n.unmount();
5165
4887
  };
5166
4888
  }
5167
4889
  }
5168
4890
  export {
5169
- ze as ComponentRendererWrapper,
5170
- Ge as GuiexpertTable
4891
+ $e as ComponentRendererWrapper,
4892
+ He as GuiexpertTable
5171
4893
  };