@guiexpert/table 1.1.39 → 1.1.40

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- function ht(h, e = 500) {
1
+ function ut(h, e = 500) {
2
2
  let t = null, s = 0;
3
3
  return function(...o) {
4
4
  const i = Date.now(), r = e - (i - s);
@@ -7,7 +7,7 @@ function ht(h, e = 500) {
7
7
  }, r));
8
8
  };
9
9
  }
10
- function ve(h, e = 500) {
10
+ function Re(h, e = 500) {
11
11
  let t = null;
12
12
  return function(...s) {
13
13
  t && window.clearTimeout(t), t = window.setTimeout(() => {
@@ -15,7 +15,7 @@ function ve(h, e = 500) {
15
15
  }, e);
16
16
  };
17
17
  }
18
- function ut(h = 500) {
18
+ function gt(h = 500) {
19
19
  return function(e, t, s) {
20
20
  let o = 0;
21
21
  const i = s.value;
@@ -53,18 +53,18 @@ class B {
53
53
  function W(h) {
54
54
  return h && h.type === "TreeRow";
55
55
  }
56
- function J(h) {
56
+ function Z(h) {
57
57
  return h && h.type === "AreaModelTree";
58
58
  }
59
- function Ae(h) {
59
+ function Ee(h) {
60
60
  return h && h.type === "CheckboxColumnDef";
61
61
  }
62
- class ee {
63
- constructor(e = -1, t = -1, s = -1, o = -1, i, r, l, n = 0, c = 0, a = 0, d = "") {
64
- this.rowIndex = e, this.rowTop = t, this.columnIndex = s, this.columnLeft = o, this.areaIdent = i, this.sideIdent = r, this.originalEvent = l, this.clickCount = n, this.draggingX = c, this.draggingY = a, this.action = d;
62
+ class te {
63
+ constructor(e = -1, t = -1, s = -1, o = -1, i, r, n, l = 0, c = 0, a = 0, d = "") {
64
+ this.rowIndex = e, this.rowTop = t, this.columnIndex = s, this.columnLeft = o, this.areaIdent = i, this.sideIdent = r, this.originalEvent = n, this.clickCount = l, this.draggingX = c, this.draggingY = a, this.action = d;
65
65
  }
66
66
  clone() {
67
- return new ee(
67
+ return new te(
68
68
  this.rowIndex,
69
69
  this.rowTop,
70
70
  this.columnIndex,
@@ -79,25 +79,25 @@ class ee {
79
79
  );
80
80
  }
81
81
  }
82
- class P {
82
+ class $ {
83
83
  constructor(e = ">", t = "", s = []) {
84
84
  this.content = e, this.style = t, this.classes = s;
85
85
  }
86
86
  }
87
- class xe {
88
- constructor(e = new P(
87
+ class we {
88
+ constructor(e = new $(
89
89
  ">",
90
90
  "transform: rotate(90deg) translate(66%, -66%); transform-origin: 0 0;",
91
91
  ["gt-table-tree-arrow-expanded"]
92
- ), t = new P(
92
+ ), t = new $(
93
93
  ">",
94
94
  "",
95
95
  ["ge-table-tree-arrow-collapsed"]
96
- ), s = new P(
96
+ ), s = new $(
97
97
  ">",
98
98
  "color:transparent;",
99
99
  ["gt-table-tree-arrow-hidden"]
100
- ), o = new P(
100
+ ), o = new $(
101
101
  "↕",
102
102
  "",
103
103
  ["gt-table-tree-arrow-expanded-all"]
@@ -105,12 +105,12 @@ class xe {
105
105
  this.arrowExpanded = e, this.arrowCollapsed = t, this.arrowPlaceholder = s, this.arrowExpandCollapseAll = o;
106
106
  }
107
107
  }
108
- class we {
109
- constructor(e = new P("↑", "", ["ge-header-sorted-asc"]), t = new P("↓", "", ["ge-header-sorted-desc"]), s = new P("↑", "color:transparent;", [])) {
108
+ class ye {
109
+ constructor(e = new $("↑", "", ["ge-header-sorted-asc"]), t = new $("↓", "", ["ge-header-sorted-desc"]), s = new $("↑", "color:transparent;", [])) {
110
110
  this.iconAsc = e, this.iconDesc = t, this.iconPlaceholder = s;
111
111
  }
112
112
  }
113
- class Re {
113
+ class Me {
114
114
  constructor(e) {
115
115
  this.domService = e;
116
116
  }
@@ -184,24 +184,24 @@ class Re {
184
184
  return this.addClass(e, s), this.domService.appendChild(t, s), s;
185
185
  }
186
186
  addRowDiv(e, t, s = -1, o, i, r = "") {
187
- const l = t.index ?? -1, n = this.getDivOrCreateDiv(l, e);
188
- if (this.domService.addClass(n, "ge-table-row-div"), this.domService.addClass(n, `ge-table-row-div-${t.index}`), o === "body" && i === "center") {
187
+ const n = t.index ?? -1, l = this.getDivOrCreateDiv(n, e);
188
+ if (this.domService.addClass(l, "ge-table-row-div"), this.domService.addClass(l, `ge-table-row-div-${t.index}`), o === "body" && i === "center") {
189
189
  const c = ((t == null ? void 0 : t.index) ?? 0) % 2 === 0 ? "even" : "odd";
190
- this.domService.addClass(n, `ge-table-row-${c}`);
190
+ this.domService.addClass(l, `ge-table-row-${c}`);
191
191
  }
192
- if (this.domService.setStyle(n, "display", "clip"), this.domService.setStyle(n, "position", "absolute"), this.domService.setStyle(n, "left", `${t.left}px`), this.domService.setStyle(n, "top", `${t.top}px`), this.domService.setStyle(n, "width", `${t.width}px`), this.domService.setStyle(n, "height", `${t.height}px`), this.domService.setAttribute(n, "data-row-index", `${s}`), this.domService.setAttribute(n, "data-area", `${o}`), r) {
192
+ if (this.domService.setStyle(l, "display", "clip"), this.domService.setStyle(l, "position", "absolute"), this.domService.setStyle(l, "left", `${t.left}px`), this.domService.setStyle(l, "top", `${t.top}px`), this.domService.setStyle(l, "width", `${t.width}px`), this.domService.setStyle(l, "height", `${t.height}px`), this.domService.setAttribute(l, "data-row-index", `${s}`), this.domService.setAttribute(l, "data-area", `${o}`), r) {
193
193
  const c = this.domService.createText(r);
194
- this.domService.appendChild(n, c);
194
+ this.domService.appendChild(l, c);
195
195
  }
196
- return this.domService.appendChild(e.child, n), n;
196
+ return this.domService.appendChild(e.child, l), l;
197
197
  }
198
198
  addColumnDiv(e) {
199
- const { parent: t, geo: s, rowIndex: o = -1, columnIndex: i = -1, areaIdent: r, sideIdent: l, text: n = "", treeArrow: c, tableOptions: a, checkedType: d = void 0, sortState: u } = e, f = a == null ? void 0 : a.treeOptions, p = a == null ? void 0 : a.showCheckboxWihoutExtraColumn, m = this.domService.createElement("div");
199
+ const { parent: t, geo: s, rowIndex: o = -1, columnIndex: i = -1, areaIdent: r, sideIdent: n, text: l = "", treeArrow: c, tableOptions: a, checkedType: d = void 0, sortState: u } = e, f = a == null ? void 0 : a.treeOptions, p = a == null ? void 0 : a.showCheckboxWihoutExtraColumn, m = this.domService.createElement("div");
200
200
  this.domService.addClass(m, "ge-table-col-div"), p && this.domService.addClass(m, "ge-with-checkbox"), this.domService.addClass(m, `ge-table-col-div-${s.index}`), this.domService.setAttribute(m, "data-col-index", `${s.index}`), this.domService.setAttribute(m, "data-row-index", `${o}`), this.domService.setAttribute(m, "data-area", `${r}`);
201
201
  const g = ((s == null ? void 0 : s.index) ?? 0) % 2 === 0 ? "even" : "odd";
202
- if (r === "body" && l === "center" && this.domService.addClass(m, `ge-table-column-${g}`), this.domService.setStyle(m, "display", "clip"), this.domService.setStyle(m, "position", "absolute"), this.domService.setStyle(m, "left", `${s.left}px`), this.domService.setStyle(m, "top", `${s.top}px`), this.domService.setStyle(m, "width", `${s.width}px`), this.domService.setStyle(m, "height", `${s.height}px`), c && c !== "none" && (this.domService.addClass(m, "ge-table-col-tree"), this.addArrowDiv(m, c, f, o, i, r)), p && i === 0 && d && this.addCheckboxToDiv(m, d, r, o), n) {
202
+ if (r === "body" && n === "center" && this.domService.addClass(m, `ge-table-column-${g}`), this.domService.setStyle(m, "display", "clip"), this.domService.setStyle(m, "position", "absolute"), this.domService.setStyle(m, "left", `${s.left}px`), this.domService.setStyle(m, "top", `${s.top}px`), this.domService.setStyle(m, "width", `${s.width}px`), this.domService.setStyle(m, "height", `${s.height}px`), c && c !== "none" && (this.domService.addClass(m, "ge-table-col-tree"), this.addArrowDiv(m, c, f, o, i, r)), p && i === 0 && d && this.addCheckboxToDiv(m, d, r, o), l) {
203
203
  const b = c !== "none" && i === 0;
204
- this.addLabelDiv(m, n, b, o, i, r);
204
+ this.addLabelDiv(m, l, b, o, i, r);
205
205
  }
206
206
  return u && this.addSortedIcon(m, u, a == null ? void 0 : a.sortedOptions, i), this.domService.appendChild(t, m), m;
207
207
  }
@@ -217,40 +217,40 @@ class Re {
217
217
  class="ge-table-row-checkbox"> `, this.domService.setStyle(i, "display", "inline"), this.domService.setStyle(i, "width", "inherit"), this.domService.setAttribute(i, "data-row-index", `${o}`), this.domService.appendChild(e, i), i;
218
218
  }
219
219
  addLabelDiv(e, t = "", s = !1, o = -1, i = -1, r = "body") {
220
- const l = this.domService.createElement("div");
221
- if (this.domService.addClass(l, "ge-table-label-div"), this.domService.setStyle(l, "position", "relative"), this.domService.setStyle(l, "background", "transparent"), this.domService.setStyle(l, "width", "100%"), this.domService.setStyle(l, "height", "100%"), this.domService.setAttribute(l, "data-row-index", `${o}`), this.domService.setAttribute(l, "data-col-index", `${i}`), this.domService.setAttribute(l, "data-area", `${r}`), t)
220
+ const n = this.domService.createElement("div");
221
+ if (this.domService.addClass(n, "ge-table-label-div"), this.domService.setStyle(n, "position", "relative"), this.domService.setStyle(n, "background", "transparent"), this.domService.setStyle(n, "width", "100%"), this.domService.setStyle(n, "height", "100%"), this.domService.setAttribute(n, "data-row-index", `${o}`), this.domService.setAttribute(n, "data-col-index", `${i}`), this.domService.setAttribute(n, "data-area", `${r}`), t)
222
222
  if (s) {
223
- const n = this.domService.createText(t);
224
- this.domService.appendChild(l, n);
223
+ const l = this.domService.createText(t);
224
+ this.domService.appendChild(n, l);
225
225
  } else {
226
- const n = this.domService.createElement("div");
227
- this.domService.appendChild(l, n);
226
+ const l = this.domService.createElement("div");
227
+ this.domService.appendChild(n, l);
228
228
  const c = this.domService.createText(t);
229
- this.domService.addClass(n, "ge-table-label"), this.domService.appendChild(n, c), this.domService.setAttribute(n, "data-row-index", `${o}`), this.domService.setAttribute(n, "data-col-index", `${i}`), this.domService.setAttribute(n, "data-area", `${r}`);
229
+ this.domService.addClass(l, "ge-table-label"), this.domService.appendChild(l, c), this.domService.setAttribute(l, "data-row-index", `${o}`), this.domService.setAttribute(l, "data-col-index", `${i}`), this.domService.setAttribute(l, "data-area", `${r}`);
230
230
  }
231
- return this.domService.appendChild(e, l), l;
231
+ return this.domService.appendChild(e, n), n;
232
232
  }
233
- addSortedIcon(e, t = "", s = new we(), o = -1) {
233
+ addSortedIcon(e, t = "", s = new ye(), o = -1) {
234
234
  const i = this.domService.createElement("div");
235
235
  this.domService.addClass(i, "ge-table-sorted-icon-div"), this.domService.setStyle(i, "position", "absolute"), this.domService.setStyle(i, "top", "0"), this.domService.setStyle(i, "right", "0"), this.domService.setStyle(i, "width", "20px"), this.domService.setStyle(i, "background", "transparent"), this.domService.setStyle(i, "cursor", "pointer"), this.domService.setAttribute(i, "data-col-index", `${o}`), this.domService.setAttribute(i, "data-area", "header");
236
236
  let r;
237
237
  t === "asc" ? r = s.iconAsc : t === "desc" ? r = s.iconDesc : r = s.iconPlaceholder;
238
- const l = r.content, n = this.domService.createText(l);
239
- this.domService.appendChild(i, n), r.style && this.applyStyleString(i, r.style);
238
+ const n = r.content, l = this.domService.createText(n);
239
+ this.domService.appendChild(i, l), r.style && this.applyStyleString(i, r.style);
240
240
  for (const c of r.classes)
241
241
  this.domService.addClass(i, c);
242
242
  return this.domService.appendChild(e, i), i;
243
243
  }
244
- addArrowDiv(e, t = "none", s = new xe(), o = -1, i = -1, r = "body") {
245
- const l = this.domService.createElement("div");
246
- this.domService.addClass(l, "ge-table-tree-arrow-div"), this.domService.setStyle(l, "display", "inline-block"), this.domService.setStyle(l, "position", ""), this.domService.setStyle(l, "width", "20px"), this.domService.setStyle(l, "background", "transparent"), this.domService.setStyle(l, "cursor", "pointer"), this.domService.setAttribute(l, "data-row-index", `${o}`), this.domService.setAttribute(l, "data-col-index", `${i}`), this.domService.setAttribute(l, "data-area", `${r}`);
247
- let n;
248
- t === "expanded" ? n = s.arrowExpanded : t === "collapsed" ? n = s.arrowCollapsed : n = s.arrowPlaceholder;
249
- const c = n.content, a = this.domService.createText(c);
250
- this.domService.appendChild(l, a), n.style && this.applyStyleString(l, n.style);
251
- for (const d of n.classes)
252
- this.domService.addClass(l, d);
253
- return this.domService.appendChild(e, l), l;
244
+ addArrowDiv(e, t = "none", s = new we(), o = -1, i = -1, r = "body") {
245
+ const n = this.domService.createElement("div");
246
+ this.domService.addClass(n, "ge-table-tree-arrow-div"), this.domService.setStyle(n, "display", "inline-block"), this.domService.setStyle(n, "position", ""), this.domService.setStyle(n, "width", "20px"), this.domService.setStyle(n, "background", "transparent"), this.domService.setStyle(n, "cursor", "pointer"), this.domService.setAttribute(n, "data-row-index", `${o}`), this.domService.setAttribute(n, "data-col-index", `${i}`), this.domService.setAttribute(n, "data-area", `${r}`);
247
+ let l;
248
+ t === "expanded" ? l = s.arrowExpanded : t === "collapsed" ? l = s.arrowCollapsed : l = s.arrowPlaceholder;
249
+ const c = l.content, a = this.domService.createText(c);
250
+ this.domService.appendChild(n, a), l.style && this.applyStyleString(n, l.style);
251
+ for (const d of l.classes)
252
+ this.domService.addClass(n, d);
253
+ return this.domService.appendChild(e, n), n;
254
254
  }
255
255
  addColumnBorderDivs(e, t, s, o, i) {
256
256
  if (e.verticalBorderVisible) {
@@ -292,20 +292,20 @@ class Re {
292
292
  return s ? (s.innerText = "", s) : (s = this.domService.createElement("div"), t.cache[e] = s, s);
293
293
  }
294
294
  }
295
- const Y = (h) => h === "header" ? "header" : h === "footer" ? "footer" : "body";
296
- class Ee {
295
+ const K = (h) => h === "header" ? "header" : h === "footer" ? "footer" : "body";
296
+ class Te {
297
297
  constructor(e, t) {
298
298
  if (this.rowIdx = -1, this.colIdx = -1, this.action = null, this.inputType = null, this.className = "", e !== null && (e instanceof HTMLDivElement || e instanceof HTMLSpanElement || e instanceof HTMLInputElement)) {
299
299
  this.className = e.className, this.action = e.getAttribute("data-ge-action"), this.inputType = e.getAttribute("data-input-type"), this.rowIdx = Number(e.getAttribute("data-row-index")), this.colIdx = Number(e.getAttribute("data-col-index"));
300
300
  const s = e.getAttribute("data-area");
301
- if (s && (this.areaIdent = Y(s), this.areaModel = t.tableModel.getAreaModel(this.areaIdent), this.row = this.areaModel.getRowByIndex(this.rowIdx)), e instanceof HTMLInputElement) {
301
+ if (s && (this.areaIdent = K(s), this.areaModel = t.tableModel.getAreaModel(this.areaIdent), this.row = this.areaModel.getRowByIndex(this.rowIdx)), e instanceof HTMLInputElement) {
302
302
  const o = e;
303
303
  this.value = o.value;
304
304
  }
305
305
  }
306
306
  }
307
307
  }
308
- class Me {
308
+ class ke {
309
309
  constructor(e) {
310
310
  this.tableScope = e, this.doubleClickDelay = 500, this.expandedAll = !0, this.mouseDown = !1, this.dragging = !1, this.lastClicked = 0, this.tableScope.hostElement.addEventListener("click", this.onHostElementClicked.bind(this)), this.tableScope.hostElement.addEventListener("dblclick", this.onHostElementDblClicked.bind(this)), this.tableScope.hostElement.addEventListener("mousedown", this.onMouseDown.bind(this)), this.tableScope.hostElement.addEventListener("mousemove", this.onMouseMove.bind(this)), this.tableScope.hostElement.addEventListener("mouseup", this.onMouseUp.bind(this)), this.tableScope.hostElement.addEventListener("contextmenu", this.onContextmenu.bind(this)), this.tableScope.hostElement._MouseHandler = "true", this.tableScope.scrollViewport.addEventListener("scroll", this.tableScope.adjustAfterScrolling.bind(this.tableScope)), [window, this.tableScope.hostElement].forEach(
311
311
  (t) => t.addEventListener("resize", this.tableScope.adjustContainersAndRows.bind(this.tableScope))
@@ -335,7 +335,7 @@ class Me {
335
335
  if (t - this.lastClicked < this.doubleClickDelay)
336
336
  return;
337
337
  this.lastClicked = t;
338
- const s = new Ee(e.target, this.tableScope);
338
+ const s = new Te(e.target, this.tableScope);
339
339
  if (s.action === "toggleExpandCollapseAll")
340
340
  this.expandedAll = !this.expandedAll, this.tableScope.toggleExpandCollapseAll(this.expandedAll), e.preventDefault(), e.stopPropagation();
341
341
  else if (s.action === "toggleHeaderGroup")
@@ -364,15 +364,15 @@ class Me {
364
364
  */
365
365
  onHostElementDblClicked(e) {
366
366
  if (this.lastClicked = Date.now(), e.target instanceof HTMLElement) {
367
- const t = e.target, s = t.getAttribute("data-area"), o = Y(s), i = Number(t.getAttribute("data-row-index")), r = Number(t.getAttribute("data-col-index")), l = this.tableScope.tableModel.getAreaModel(o);
367
+ const t = e.target, s = t.getAttribute("data-area"), o = K(s), i = Number(t.getAttribute("data-row-index")), r = Number(t.getAttribute("data-col-index")), n = this.tableScope.tableModel.getAreaModel(o);
368
368
  if (s && o === "header")
369
369
  this.tableScope.tableModel.isSortable(r) && (this.tableScope.clearSelection(), this.tableScope.onHeaderDblClicked(e, i, r));
370
370
  else if (t.getAttribute("data-row-index")) {
371
- const n = l.getRowByIndex(i);
372
- if (s && o === "body" && l.isEditable(i, r) && (this.tableScope.clearSelection(), this.tableScope.initRenderEditor(i, r)), W(n) && r === this.getArrowColumnIndex()) {
371
+ const l = n.getRowByIndex(i);
372
+ if (s && o === "body" && n.isEditable(i, r) && (this.tableScope.clearSelection(), this.tableScope.initRenderEditor(i, r)), W(l) && r === this.getArrowColumnIndex()) {
373
373
  e.preventDefault(), e.stopPropagation();
374
- const c = n;
375
- c.expanded = !c.expanded, "recalcVisibleTreeRows" in l && l.recalcVisibleTreeRows(), this.tableScope.tableModel.recalcSize(this.tableScope.hostElement.clientWidth), this.tableScope.adjustContainersAndRows(), this.updateCollapsedExpandedState(c);
374
+ const c = l;
375
+ c.expanded = !c.expanded, "recalcVisibleTreeRows" in n && n.recalcVisibleTreeRows(), this.tableScope.tableModel.recalcSize(this.tableScope.hostElement.clientWidth), this.tableScope.adjustContainersAndRows(), this.updateCollapsedExpandedState(c);
376
376
  }
377
377
  }
378
378
  }
@@ -397,11 +397,11 @@ class Me {
397
397
  * @returns {void}
398
398
  */
399
399
  updateCollapsedExpandedState(e) {
400
- var s, o, i, r, l;
400
+ var s, o, i, r, n;
401
401
  const t = (o = (s = this.tableScope.tableOptions) == null ? void 0 : s.autoRestoreOptions) == null ? void 0 : o.getRowId;
402
402
  if (t) {
403
- const n = (i = this.tableScope.storeStateCollapsedExpandService) == null ? void 0 : i.collapsedExpandedStateGet().mode, c = n === "collapsed" && !e.expanded || n === "expanded" && e.expanded, a = n === "collapsed" && e.expanded || n === "expanded" && !e.expanded, d = t(e.data);
404
- c ? (r = this.tableScope.storeStateCollapsedExpandService) == null || r.collapsedStateIdsPush(d) : a && ((l = this.tableScope.storeStateCollapsedExpandService) == null || l.collapsedStateIdsRemove(d));
403
+ const l = (i = this.tableScope.storeStateCollapsedExpandService) == null ? void 0 : i.collapsedExpandedStateGet().mode, c = l === "collapsed" && !e.expanded || l === "expanded" && e.expanded, a = l === "collapsed" && e.expanded || l === "expanded" && !e.expanded, d = t(e.data);
404
+ c ? (r = this.tableScope.storeStateCollapsedExpandService) == null || r.collapsedStateIdsPush(d) : a && ((n = this.tableScope.storeStateCollapsedExpandService) == null || n.collapsedStateIdsRemove(d));
405
405
  }
406
406
  }
407
407
  getArrowColumnIndex() {
@@ -437,7 +437,7 @@ class Me {
437
437
  }
438
438
  }
439
439
  }
440
- class Te {
440
+ class Ie {
441
441
  constructor(e) {
442
442
  this.tableScope = e;
443
443
  }
@@ -624,12 +624,12 @@ class Te {
624
624
  downloadExcel(e = "table.xlsx", t = "") {
625
625
  const s = [], o = this.tableScope.tableModel.getColumnCount(), i = ["header", "body", "footer"];
626
626
  for (const r of i) {
627
- const l = this.tableScope.tableModel.getAreaModel(r), n = (l == null ? void 0 : l.getRowCount()) ?? 0;
628
- for (let c = 0; c < n; c++) {
627
+ const n = this.tableScope.tableModel.getAreaModel(r), l = (n == null ? void 0 : n.getRowCount()) ?? 0;
628
+ for (let c = 0; c < l; c++) {
629
629
  const a = [];
630
630
  s.push(a);
631
631
  for (let d = 0; d < o; d++)
632
- a.push(l.getValueAt(c, d));
632
+ a.push(n.getValueAt(c, d));
633
633
  }
634
634
  }
635
635
  return this.tableScope.excelService.downloadExcel(s, e, t);
@@ -664,7 +664,7 @@ class Te {
664
664
  return this.tableScope.tableModel;
665
665
  }
666
666
  }
667
- class te {
667
+ class se {
668
668
  constructor(e) {
669
669
  this.getStorageKeyFn = e;
670
670
  }
@@ -739,7 +739,7 @@ class te {
739
739
  // }
740
740
  // }
741
741
  }
742
- class ke extends te {
742
+ class De extends se {
743
743
  constructor(e) {
744
744
  super(e), this.SCROLL_STATE = "scrollState", this.scrollOffset = [0, 0], this.load();
745
745
  }
@@ -761,14 +761,14 @@ class ke extends te {
761
761
  }
762
762
  }
763
763
  }
764
- class Ie {
764
+ class Fe {
765
765
  constructor(e = "collapsed", t = [], s = !1, o = !1) {
766
766
  this.mode = e, this.rowIds = t, this.allCollapsed = s, this.allExpanded = o;
767
767
  }
768
768
  }
769
- class De extends te {
769
+ class Le extends se {
770
770
  constructor(e) {
771
- super(e), this.COLLAPSED_EXPANDED_STATE = "collapsedExpandedState", this.collapsedExpandedState = new Ie(), this.load();
771
+ super(e), this.COLLAPSED_EXPANDED_STATE = "collapsedExpandedState", this.collapsedExpandedState = new Fe(), this.load();
772
772
  }
773
773
  collapsedExpandedStateGet() {
774
774
  return this.collapsedExpandedState;
@@ -800,7 +800,7 @@ class De extends te {
800
800
  this.checkAndPersistItem(this.COLLAPSED_EXPANDED_STATE, this.collapsedExpandedState);
801
801
  }
802
802
  }
803
- class Fe extends te {
803
+ class $e extends se {
804
804
  constructor(e) {
805
805
  super(e), this.SORTING_STATE = "sortingState", this.sortItems = [], this.load();
806
806
  }
@@ -826,7 +826,7 @@ class L {
826
826
  this.left = e, this.width = t, this.height = s, this.top = o, this.index = i;
827
827
  }
828
828
  }
829
- class Le {
829
+ class Pe {
830
830
  constructor(e, t, s, o) {
831
831
  this.hostElement = e, this.tableModel = t, this.dom = s, this.tableOptions = o, this.scrollTop = 0, this.areaBodyWestGeo = new L(), this.areaBodyCenterGeo = new L(), this.areaBodyEastGeo = new L();
832
832
  const i = this.hostElement;
@@ -1032,7 +1032,7 @@ class R {
1032
1032
  return e >= this.r1 && e <= this.r2 && t >= this.c1 && t <= this.c2;
1033
1033
  }
1034
1034
  }
1035
- class Pe {
1035
+ class Oe {
1036
1036
  constructor(e, t) {
1037
1037
  this.tableModel = e, this.areaModel = t, this.colAndRowspanRanges = void 0;
1038
1038
  }
@@ -1046,9 +1046,9 @@ class Pe {
1046
1046
  let i = this.areaModel.getColspanAt(s, o), r = this.areaModel.getRowspanAt(s, o);
1047
1047
  if (i > 1 || r > 1) {
1048
1048
  i === 0 && (i = 1), r === 0 && (r = 1);
1049
- const l = "gammaCells" in this.areaModel;
1049
+ const n = "gammaCells" in this.areaModel;
1050
1050
  this.colAndRowspanRanges.push(
1051
- new R(s, o, s + r - 1, o + i - 1, l)
1051
+ new R(s, o, s + r - 1, o + i - 1, n)
1052
1052
  );
1053
1053
  }
1054
1054
  }
@@ -1070,17 +1070,17 @@ class k {
1070
1070
  this.header = e, this.body = t, this.footer = s;
1071
1071
  }
1072
1072
  }
1073
- class $e extends Le {
1073
+ class _e extends Pe {
1074
1074
  constructor(e, t, s, o) {
1075
- var r, l;
1075
+ var r, n;
1076
1076
  super(e, t, s, o), this.dragging = !1, this.editing = !1, this.storedColumnWidths = [], this.scrollLeft = 0, this.scrollViewportLeft = 0, this.scrollFactorY = 0, this.scrollFactorX = 0, this.cleanupFunctions = {
1077
1077
  header: [],
1078
1078
  body: [],
1079
1079
  footer: []
1080
- }, this.tree = !1, this.colAndRowspanModels = new k(), this.firstVisibleRowIndex = -1, this.draggingTargetColumnIndex = -1, this.removables = [], this.tableModel.getSelectionModel ? this.getSelectionModel = this.tableModel.getSelectionModel : (r = this.tableOptions) != null && r.getSelectionModel && (this.getSelectionModel = this.tableOptions.getSelectionModel), (l = this.tableOptions) != null && l.getFocusModel && (this.getFocusModel = this.tableOptions.getFocusModel), J(t.getAreaModel("body")) && (this.tree = !0), ["header", "body", "footer"].forEach(
1081
- (n) => {
1080
+ }, this.tree = !1, this.colAndRowspanModels = new k(), this.firstVisibleRowIndex = -1, this.draggingTargetColumnIndex = -1, this.removables = [], this.tableModel.getSelectionModel ? this.getSelectionModel = this.tableModel.getSelectionModel : (r = this.tableOptions) != null && r.getSelectionModel && (this.getSelectionModel = this.tableOptions.getSelectionModel), (n = this.tableOptions) != null && n.getFocusModel && (this.getFocusModel = this.tableOptions.getFocusModel), Z(t.getAreaModel("body")) && (this.tree = !0), ["header", "body", "footer"].forEach(
1081
+ (l) => {
1082
1082
  var c;
1083
- this.colAndRowspanModels[n] = new Pe(t, t.getAreaModel(n)), (c = this.colAndRowspanModels[n]) == null || c.init();
1083
+ this.colAndRowspanModels[l] = new Oe(t, t.getAreaModel(l)), (c = this.colAndRowspanModels[l]) == null || c.init();
1084
1084
  }
1085
1085
  );
1086
1086
  }
@@ -1217,23 +1217,23 @@ class $e extends Le {
1217
1217
  * @param {string[]} cssClasses - An array of CSS classes to be applied to the cell.
1218
1218
  */
1219
1219
  rerenderCellContent({ area: e, rowIndex: t, columnIndex: s, value: o, cssClasses: i }) {
1220
- const r = this.tableModel.getAreaModel(e), l = 'div[data-col-index="' + s + '"][data-row-index="' + t + '"][data-area="' + e + '"]', n = document.querySelector(l);
1221
- if (n) {
1220
+ const r = this.tableModel.getAreaModel(e), n = 'div[data-col-index="' + s + '"][data-row-index="' + t + '"][data-area="' + e + '"]', l = document.querySelector(n);
1221
+ if (l) {
1222
1222
  let c;
1223
1223
  const a = this.editorRenderer && this.editorRendererRow === t && this.editorRendererColumn === s;
1224
1224
  let d;
1225
- if (a ? d = this.editorRenderer : d = r.getCellRenderer(t, s), n.innerText = "", this.applyCssClasses(n, i), d)
1226
- c = d.render(n, t, s, e, r, o, this.dom.domService), c && this.cleanupFunctions[e].push(c);
1225
+ if (a ? d = this.editorRenderer : d = r.getCellRenderer(t, s), l.innerText = "", this.applyCssClasses(l, i), d)
1226
+ c = d.render(l, t, s, e, r, o, this.dom.domService), c && this.cleanupFunctions[e].push(c);
1227
1227
  else {
1228
1228
  const p = `${o}`;
1229
- this.dom.addLabelDiv(n, p, !1, t, s, e);
1229
+ this.dom.addLabelDiv(l, p, !1, t, s, e);
1230
1230
  }
1231
1231
  const u = r.getCustomClassesAt(t, s);
1232
- u.length && this.dom.addClasses(u, n);
1232
+ u.length && this.dom.addClasses(u, l);
1233
1233
  const f = r.getCustomStyleAt(t, s);
1234
1234
  if (f)
1235
1235
  for (const p in f)
1236
- this.dom.setStyle(n, p, f[p]);
1236
+ this.dom.setStyle(l, p, f[p]);
1237
1237
  }
1238
1238
  }
1239
1239
  /**
@@ -1345,7 +1345,7 @@ class $e extends Le {
1345
1345
  var g;
1346
1346
  const s = this.getArea(e, "west"), o = this.getArea(e, "center"), i = this.getArea(e, "east"), r = o.child.clientHeight;
1347
1347
  s.child.innerText = "", o.child.innerText = "", i.child.innerText = "";
1348
- const l = 0, n = this.areaBodyCenterGeo.width, c = this.tableModel.getPadding(), a = this.tableModel.getAreaModel(e), d = a.getRowCount();
1348
+ const n = 0, l = this.areaBodyCenterGeo.width, c = this.tableModel.getPadding(), a = this.tableModel.getAreaModel(e), d = a.getRowCount();
1349
1349
  for (; this.cleanupFunctions[e].length; ) {
1350
1350
  const b = this.cleanupFunctions[e].shift();
1351
1351
  b && b();
@@ -1353,38 +1353,38 @@ class $e extends Le {
1353
1353
  let u = t;
1354
1354
  const f = this.tableModel.getColumnCount(), p = this.tableModel.getFixedRightColumnCount(), m = this.tableModel.getFixedLeftColumnCount();
1355
1355
  for (let b = 0; b < d; b++) {
1356
- const y = u, C = b === d - 1, A = this.tableModel.getRowHeight(e, b);
1357
- if (y + A > 0) {
1356
+ const S = u, C = b === d - 1, A = this.tableModel.getRowHeight(e, b);
1357
+ if (S + A > 0) {
1358
1358
  this.firstVisibleRowIndex = b;
1359
- let S = { left: l, width: n, height: A, top: y, index: b }, w = this.dom.addRowDiv(o, S, b, e, "center");
1359
+ let y = { left: n, width: l, height: A, top: S, index: b }, w = this.dom.addRowDiv(o, y, b, e, "center");
1360
1360
  const I = m;
1361
1361
  if (this.adjustColumnsToRowParent({
1362
1362
  areaIdent: e,
1363
1363
  sideIdent: "center",
1364
1364
  areaModel: a,
1365
- geo: S,
1365
+ geo: y,
1366
1366
  parent: w,
1367
1367
  rowIndex: b,
1368
1368
  columnIndexStart: I,
1369
1369
  columnIndexEnd: f - p - 1,
1370
1370
  verticalFixed: !1,
1371
1371
  lastRowOfModel: C
1372
- }), c.left > 0 && (S = { left: l, width: this.areaBodyWestGeo.width, height: A, top: y, index: b }, w = this.dom.addRowDiv(s, S, b, e, "west"), this.adjustColumnsToRowParent({
1372
+ }), c.left > 0 && (y = { left: n, width: this.areaBodyWestGeo.width, height: A, top: S, index: b }, w = this.dom.addRowDiv(s, y, b, e, "west"), this.adjustColumnsToRowParent({
1373
1373
  areaIdent: e,
1374
1374
  sideIdent: "west",
1375
1375
  areaModel: a,
1376
- geo: S,
1376
+ geo: y,
1377
1377
  parent: w,
1378
1378
  rowIndex: b,
1379
1379
  columnIndexStart: 0,
1380
1380
  columnIndexEnd: I - 1,
1381
1381
  verticalFixed: !0,
1382
1382
  lastRowOfModel: C
1383
- })), c.right > 0 && (S = { left: l, width: this.areaBodyEastGeo.width, height: A, top: y, index: b }, w = this.dom.addRowDiv(i, S, b, e, "east"), this.adjustColumnsToRowParent({
1383
+ })), c.right > 0 && (y = { left: n, width: this.areaBodyEastGeo.width, height: A, top: S, index: b }, w = this.dom.addRowDiv(i, y, b, e, "east"), this.adjustColumnsToRowParent({
1384
1384
  areaIdent: e,
1385
1385
  sideIdent: "east",
1386
1386
  areaModel: a,
1387
- geo: S,
1387
+ geo: y,
1388
1388
  parent: w,
1389
1389
  rowIndex: b,
1390
1390
  columnIndexStart: f - p,
@@ -1412,17 +1412,17 @@ class $e extends Le {
1412
1412
  if (this.colAndRowspanModels && this.colAndRowspanModels[e]) {
1413
1413
  const b = ((g = this.colAndRowspanModels[e]) == null ? void 0 : g.getRanges()) ?? [];
1414
1414
  if (b.length)
1415
- for (const y of b) {
1416
- let C = 0, A = o.child, S = "center";
1417
- if (y.c1 < m)
1418
- A = s.child, S = "west";
1419
- else if (p > 0 && y.c1 >= f - p)
1420
- A = i.child, S = "east";
1415
+ for (const S of b) {
1416
+ let C = 0, A = o.child, y = "center";
1417
+ if (S.c1 < m)
1418
+ A = s.child, y = "west";
1419
+ else if (p > 0 && S.c1 >= f - p)
1420
+ A = i.child, y = "east";
1421
1421
  else {
1422
1422
  const w = this.areaBodyCenterGeo.width - this.tableModel.getContentWidthInPixel();
1423
- C = this.scrollFactorX * w - this.areaBodyWestGeo.width, S = "center";
1423
+ C = this.scrollFactorX * w - this.areaBodyWestGeo.width, y = "center";
1424
1424
  }
1425
- this.drawBigCell(y, C, t, a, A, S);
1425
+ this.drawBigCell(S, C, t, a, A, y);
1426
1426
  }
1427
1427
  }
1428
1428
  }
@@ -1437,9 +1437,9 @@ class $e extends Le {
1437
1437
  * @protected
1438
1438
  */
1439
1439
  drawBigCell(e, t, s, o, i, r) {
1440
- const l = s + this.getRowHeights(0, e.r1 - 1, o).reduce((g, b) => g + b, 0), n = this.tableModel.getColumnCount(), c = this.tableModel.getFixedRightColumnCount();
1440
+ const n = s + this.getRowHeights(0, e.r1 - 1, o).reduce((g, b) => g + b, 0), l = this.tableModel.getColumnCount(), c = this.tableModel.getFixedRightColumnCount();
1441
1441
  let a = 0;
1442
- c > 0 && e.c1 >= n - c && (a = n - c);
1442
+ c > 0 && e.c1 >= l - c && (a = l - c);
1443
1443
  const d = t + this.getColumnWidths(a, e.c1 - 1).reduce((g, b) => g + b, 0), u = this.getRowHeights(e.r1, e.r2, o).reduce((g, b) => g + b, 0), f = this.getColumnWidths(e.c1, e.c2).reduce((g, b) => g + b, 0);
1444
1444
  let p = !1;
1445
1445
  const m = this.getSelectionModel ? this.getSelectionModel() : void 0;
@@ -1450,7 +1450,7 @@ class $e extends Le {
1450
1450
  rowIndex: e.r1,
1451
1451
  columnIndex: e.c1,
1452
1452
  left: d,
1453
- top: l,
1453
+ top: n,
1454
1454
  width: f,
1455
1455
  height: u,
1456
1456
  parent: i,
@@ -1464,7 +1464,7 @@ class $e extends Le {
1464
1464
  rowIndex: e.r1,
1465
1465
  columnIndex: e.c1,
1466
1466
  left: d,
1467
- top: l,
1467
+ top: n,
1468
1468
  width: f,
1469
1469
  height: u,
1470
1470
  parent: i,
@@ -1475,7 +1475,7 @@ class $e extends Le {
1475
1475
  rowIndex: e.r1,
1476
1476
  columnIndex: e.c1,
1477
1477
  cellLeft: d,
1478
- cellTop: l,
1478
+ cellTop: n,
1479
1479
  cellWidth: f,
1480
1480
  cellHeight: u,
1481
1481
  parent: i
@@ -1515,8 +1515,8 @@ class $e extends Le {
1515
1515
  geo: o,
1516
1516
  parent: i,
1517
1517
  rowIndex: r,
1518
- columnIndexStart: l,
1519
- columnIndexEnd: n,
1518
+ columnIndexStart: n,
1519
+ columnIndexEnd: l,
1520
1520
  verticalFixed: c = !1,
1521
1521
  lastRowOfModel: a = !1
1522
1522
  }) {
@@ -1529,14 +1529,14 @@ class $e extends Le {
1529
1529
  }
1530
1530
  const u = 0, f = !!(e === "body" && t);
1531
1531
  let p = d;
1532
- for (let g = l; g <= n; g++) {
1533
- const b = p, y = this.tableModel.getColumnWidth(g);
1534
- if (y > 0 && b + y > 0) {
1532
+ for (let g = n; g <= l; g++) {
1533
+ const b = p, S = this.tableModel.getColumnWidth(g);
1534
+ if (S > 0 && b + S > 0) {
1535
1535
  let C = o.height;
1536
- const A = s.getRowspanAt(r, g), S = s.getColspanAt(r, g);
1536
+ const A = s.getRowspanAt(r, g), y = s.getColspanAt(r, g);
1537
1537
  A > 1 && (C = this.getRowHeights(r, r + A - 1, s).reduce((E, M) => E + M, 0));
1538
- let w = y;
1539
- S > 1 && (w = this.getColumnWidths(g, g + S - 1).reduce((E, M) => E + M, 0));
1538
+ let w = S;
1539
+ y > 1 && (w = this.getColumnWidths(g, g + y - 1).reduce((E, M) => E + M, 0));
1540
1540
  let I = !1;
1541
1541
  if (this.colAndRowspanModels && this.colAndRowspanModels[e] && (m = this.colAndRowspanModels[e]) != null && m.isInRange(r, g) && (I = !0), this.draggingTargetColumnIndex === g && e !== "header") {
1542
1542
  this.renderDragTargetDiv(i, b, u, w, C);
@@ -1569,7 +1569,7 @@ class $e extends Le {
1569
1569
  });
1570
1570
  }
1571
1571
  }
1572
- if (p = p + y, p > this.areaBodyCenterGeo.width)
1572
+ if (p = p + S, p > this.areaBodyCenterGeo.width)
1573
1573
  break;
1574
1574
  }
1575
1575
  this.tableOptions.verticalBorderVisible && this.dom.addVerticalBorder(new L(p - 1, 1, o.height, 0), i);
@@ -1593,25 +1593,25 @@ class $e extends Le {
1593
1593
  rowIndex: o,
1594
1594
  index: i,
1595
1595
  left: r,
1596
- width: l,
1597
- height: n,
1596
+ width: n,
1597
+ height: l,
1598
1598
  top: c,
1599
1599
  parent: a,
1600
1600
  lastRowOfModel: d
1601
1601
  }) {
1602
- var ne;
1603
- const f = this.editorRenderer && this.editorRendererRow === o && this.editorRendererColumn === i ? this.editorRenderer : e.getCellRenderer(o, i), p = { left: r, width: l, height: n, top: c, index: i }, m = e.getRowByIndex(o);
1602
+ var le;
1603
+ const f = this.editorRenderer && this.editorRendererRow === o && this.editorRendererColumn === i ? this.editorRenderer : e.getCellRenderer(o, i), p = { left: r, width: n, height: l, top: c, index: i }, m = e.getRowByIndex(o);
1604
1604
  let g = "none";
1605
1605
  if (i === this.getTreeArrowColumnIndex() && W(m)) {
1606
1606
  const v = m;
1607
- (ne = v.children) != null && ne.length ? v.expanded ? g = "expanded" : g = "collapsed" : g = "hidden";
1607
+ (le = v.children) != null && le.length ? v.expanded ? g = "expanded" : g = "collapsed" : g = "hidden";
1608
1608
  }
1609
- let y;
1609
+ let S;
1610
1610
  if (t === "header") {
1611
1611
  const v = this.tableModel.getColumnDef(i);
1612
- (!(v != null && v.sortIconVisible) || v != null && v.sortIconVisible()) && (y = v == null ? void 0 : v.sortState);
1612
+ (!(v != null && v.sortIconVisible) || v != null && v.sortIconVisible()) && (S = v == null ? void 0 : v.sortState);
1613
1613
  }
1614
- const C = e.getValueAt(o, i), A = f ? "" : `${C}`, S = e.isRowChecked(o), w = this.dom.addColumnDiv(
1614
+ const C = e.getValueAt(o, i), A = f ? "" : `${C}`, y = e.isRowChecked(o), w = this.dom.addColumnDiv(
1615
1615
  {
1616
1616
  parent: a,
1617
1617
  geo: p,
@@ -1622,8 +1622,8 @@ class $e extends Le {
1622
1622
  text: A,
1623
1623
  treeArrow: g,
1624
1624
  tableOptions: this.tableOptions,
1625
- checkedType: S,
1626
- sortState: y
1625
+ checkedType: y,
1626
+ sortState: S
1627
1627
  }
1628
1628
  ), I = e.getTooltipAt(o, i);
1629
1629
  I && this.dom.setAttribute(w, "title", I);
@@ -1632,15 +1632,15 @@ class $e extends Le {
1632
1632
  let M;
1633
1633
  f && (M = f.render(w, o, i, t, e, C, this.dom.domService));
1634
1634
  const N = e.getCustomClassesAt(o, i);
1635
- if (N.length && this.dom.addClasses(N, w), this.dom.addColumnBorderDivs(this.tableOptions, a, p, t, s), d && this.dom.addHorizontalBorder({ left: r, width: l, height: n, top: c + n }, a), this.getFocusModel && t === "body") {
1635
+ if (N.length && this.dom.addClasses(N, w), this.dom.addColumnBorderDivs(this.tableOptions, a, p, t, s), d && this.dom.addHorizontalBorder({ left: r, width: n, height: l, top: c + l }, a), this.getFocusModel && t === "body") {
1636
1636
  const v = this.getFocusModel();
1637
1637
  v != null && v.hasFocus(o, i) && this.dom.addFocusBorderDivs(a, p, {});
1638
1638
  }
1639
1639
  t === "header" && this.dom.setAttribute(w, "data-ge-action", "drag-column");
1640
- const K = e.getCustomStyleAt(o, i);
1641
- if (K)
1642
- for (const v in K)
1643
- this.dom.setStyle(w, v, K[v]);
1640
+ const Y = e.getCustomStyleAt(o, i);
1641
+ if (Y)
1642
+ for (const v in Y)
1643
+ this.dom.setStyle(w, v, Y[v]);
1644
1644
  return [w, M];
1645
1645
  }
1646
1646
  /**
@@ -1771,9 +1771,9 @@ class $e extends Le {
1771
1771
  adjustDraggingColumn(e, t, s) {
1772
1772
  var o, i;
1773
1773
  if (this.dragging) {
1774
- const r = this.hostElement.clientHeight, l = this.storedColumnWidths[t];
1774
+ const r = this.hostElement.clientHeight, n = this.storedColumnWidths[t];
1775
1775
  if ((o = e.originalEvent) != null && o.clientX) {
1776
- const a = { left: ((i = e.originalEvent) == null ? void 0 : i.clientX) - l / 2, width: l, height: r, top: 0, index: t };
1776
+ const a = { left: ((i = e.originalEvent) == null ? void 0 : i.clientX) - n / 2, width: n, height: r, top: 0, index: t };
1777
1777
  this.dom.applyStyle(this.draggingColumn, {
1778
1778
  background: "rgba(128,128,128,0.2)",
1779
1779
  display: "block",
@@ -1805,27 +1805,27 @@ class $e extends Le {
1805
1805
  renderContentOfDraggingColumnForArea(e, t, s = 0) {
1806
1806
  const o = "center", i = this.tableModel.getAreaModel(t), r = i == null ? void 0 : i.getRowCount();
1807
1807
  if (r) {
1808
- const l = e.index ?? 0, n = this.draggingColumn;
1808
+ const n = e.index ?? 0, l = this.draggingColumn;
1809
1809
  for (let c = 0; c < r; c++) {
1810
- const a = s, d = i.getRowHeight(c), u = { left: 0, width: e.width, height: d, top: a, index: c }, f = i.getValueAt(c, l), p = i.getCellRenderer(c, l), m = p ? "" : `${f}`, g = {
1811
- parent: n,
1810
+ const a = s, d = i.getRowHeight(c), u = { left: 0, width: e.width, height: d, top: a, index: c }, f = i.getValueAt(c, n), p = i.getCellRenderer(c, n), m = p ? "" : `${f}`, g = {
1811
+ parent: l,
1812
1812
  geo: u,
1813
1813
  rowIndex: c,
1814
- columnIndex: l,
1814
+ columnIndex: n,
1815
1815
  areaIdent: t,
1816
1816
  sideIdent: o,
1817
1817
  text: m
1818
1818
  }, b = this.dom.addColumnDiv(g);
1819
- let y;
1820
- p && (y = p.render(b, c, l, t, i, f, this.dom.domService), y && this.cleanupFunctions[t].push(y));
1821
- const C = i.getCustomClassesAt(c, l);
1819
+ let S;
1820
+ p && (S = p.render(b, c, n, t, i, f, this.dom.domService), S && this.cleanupFunctions[t].push(S));
1821
+ const C = i.getCustomClassesAt(c, n);
1822
1822
  C.length && this.dom.addClasses(C, b);
1823
- const A = this.tableModel.getColumnDef(l);
1824
- A && A.classes[t] && this.dom.addClasses(A.classes[t], b), this.dom.addColumnBorderDivs(this.tableOptions, n, u, t, o);
1825
- const S = i.getCustomStyleAt(c, l);
1826
- if (S)
1827
- for (const w in S)
1828
- this.dom.setStyle(b, w, S[w]);
1823
+ const A = this.tableModel.getColumnDef(n);
1824
+ A && A.classes[t] && this.dom.addClasses(A.classes[t], b), this.dom.addColumnBorderDivs(this.tableOptions, l, u, t, o);
1825
+ const y = i.getCustomStyleAt(c, n);
1826
+ if (y)
1827
+ for (const w in y)
1828
+ this.dom.setStyle(b, w, y[w]);
1829
1829
  s = s + d;
1830
1830
  }
1831
1831
  }
@@ -1875,7 +1875,7 @@ class $e extends Le {
1875
1875
  * @param {number} height - The height of the div.
1876
1876
  * @returns {boolean} - Whether the cell is selected.
1877
1877
  */
1878
- renderSelectedBackgroundDiv(e, t, s, o, i, r, l, n, c, a, d) {
1878
+ renderSelectedBackgroundDiv(e, t, s, o, i, r, n, l, c, a, d) {
1879
1879
  let u = !1;
1880
1880
  if (!e && t && o.isSelectable(i, r) && this.getSelectionModel) {
1881
1881
  const f = this.getSelectionModel();
@@ -1885,9 +1885,9 @@ class $e extends Le {
1885
1885
  for (let m = 0; m < p; m++) {
1886
1886
  const g = this.dom.applyStylePosistionAbsolute(
1887
1887
  // ge-table-body-west-selected-range
1888
- this.dom.createDivWithClass(`ge-table-${o.areaIdent}-${s}-selected-range`, l)
1888
+ this.dom.createDivWithClass(`ge-table-${o.areaIdent}-${s}-selected-range`, n)
1889
1889
  );
1890
- this.dom.setStyle(g, "left", `${n}px`), this.dom.setStyle(g, "top", `${c}px`), this.dom.setStyle(g, "width", `${a}px`), this.dom.setStyle(g, "height", `${d}px`);
1890
+ this.dom.setStyle(g, "left", `${l}px`), this.dom.setStyle(g, "top", `${c}px`), this.dom.setStyle(g, "width", `${a}px`), this.dom.setStyle(g, "height", `${d}px`);
1891
1891
  }
1892
1892
  }
1893
1893
  }
@@ -1919,8 +1919,8 @@ class $e extends Le {
1919
1919
  rowIndex: o,
1920
1920
  columnIndex: i,
1921
1921
  left: r,
1922
- top: l,
1923
- width: n,
1922
+ top: n,
1923
+ width: l,
1924
1924
  height: c,
1925
1925
  parent: a,
1926
1926
  cellSelected: d,
@@ -1933,9 +1933,9 @@ class $e extends Le {
1933
1933
  rowIndex: o,
1934
1934
  index: i,
1935
1935
  left: r,
1936
- width: n,
1936
+ width: l,
1937
1937
  height: c,
1938
- top: l,
1938
+ top: n,
1939
1939
  parent: a,
1940
1940
  lastRowOfModel: u
1941
1941
  });
@@ -1955,17 +1955,17 @@ class $e extends Le {
1955
1955
  *
1956
1956
  * @return {void}
1957
1957
  */
1958
- renderHeaderCellResizeHandle({ rowIndex: e, columnIndex: t, cellLeft: s, cellTop: o, cellWidth: i, cellHeight: r, parent: l }) {
1959
- const n = this.dom.domService, c = this.tableOptions.columnResizeHandleWidthInPx ?? 2, a = n.createElement("div");
1960
- n.setAttribute(a, "data-col-index", `${t}`), n.setAttribute(a, "data-row-index", `${e}`), n.setAttribute(a, "data-area", "header"), n.setAttribute(a, "data-ge-action", "resize-column"), n.addClass(a, "ge-table-column-resize-handle"), n.setStyle(a, "display", "clip"), n.setStyle(a, "position", "absolute"), n.setStyle(a, "cursor", "col-resize"), n.setStyle(a, "left", `${s + i - c}px`), n.setStyle(a, "top", `${o}px`), n.setStyle(a, "width", `${c}px`), n.setStyle(a, "height", `${r}px`), n.appendChild(l, a);
1958
+ renderHeaderCellResizeHandle({ rowIndex: e, columnIndex: t, cellLeft: s, cellTop: o, cellWidth: i, cellHeight: r, parent: n }) {
1959
+ const l = this.dom.domService, c = this.tableOptions.columnResizeHandleWidthInPx ?? 2, a = l.createElement("div");
1960
+ l.setAttribute(a, "data-col-index", `${t}`), l.setAttribute(a, "data-row-index", `${e}`), l.setAttribute(a, "data-area", "header"), l.setAttribute(a, "data-ge-action", "resize-column"), l.addClass(a, "ge-table-column-resize-handle"), l.setStyle(a, "display", "clip"), l.setStyle(a, "position", "absolute"), l.setStyle(a, "cursor", "col-resize"), l.setStyle(a, "left", `${s + i - c}px`), l.setStyle(a, "top", `${o}px`), l.setStyle(a, "width", `${c}px`), l.setStyle(a, "height", `${r}px`), l.appendChild(n, a);
1961
1961
  }
1962
1962
  }
1963
- class _e {
1963
+ class Be {
1964
1964
  constructor(e, t) {
1965
1965
  this.columnIndex = e, this.sortState = t;
1966
1966
  }
1967
1967
  }
1968
- class Oe {
1968
+ class He {
1969
1969
  constructor(e) {
1970
1970
  this.tableScope = e, this.tableScope.hostElement.addEventListener("change", this.onHostElementChanged.bind(this));
1971
1971
  }
@@ -1981,36 +1981,36 @@ class Oe {
1981
1981
  if (e.target instanceof HTMLInputElement || e.target instanceof HTMLSelectElement || e.target instanceof HTMLTextAreaElement) {
1982
1982
  const t = e.target, s = t.getAttribute("data-area"), o = t.getAttribute("data-row-index"), i = t.getAttribute("data-col-index");
1983
1983
  if (s && o && i) {
1984
- const r = Y(s), l = Number(o), n = Number(i);
1985
- this.tableScope.updateModelValueAfterEdit(r, l, n, t.value);
1984
+ const r = K(s), n = Number(o), l = Number(i);
1985
+ this.tableScope.updateModelValueAfterEdit(r, n, l, t.value);
1986
1986
  }
1987
1987
  }
1988
1988
  }
1989
1989
  }
1990
- class Be {
1990
+ class We {
1991
1991
  constructor(e = -1, t = -1) {
1992
1992
  this.rowIndex = e, this.columnIndex = t;
1993
1993
  }
1994
1994
  }
1995
- class se {
1995
+ class oe {
1996
1996
  constructor(e) {
1997
1997
  this.cells = e;
1998
1998
  }
1999
1999
  static createSingle(e, t) {
2000
- return new se([new Be(e, t)]);
2000
+ return new oe([new We(e, t)]);
2001
2001
  }
2002
2002
  }
2003
- class He {
2003
+ class Ve {
2004
2004
  constructor(e) {
2005
2005
  var t, s;
2006
2006
  this.tableScope = e, (t = this.tableScope.tableOptions) != null && t.getSelectionModel && (this.getSelectionModel = this.tableScope.tableOptions.getSelectionModel), (s = this.tableScope.tableOptions) != null && s.getFocusModel && (this.getFocusModel = this.tableScope.tableOptions.getFocusModel);
2007
2007
  }
2008
2008
  onMouseClicked(e, t) {
2009
- var i, r, l, n, c, a, d;
2009
+ var i, r, n, l, c, a, d;
2010
2010
  let s = !1, o = !1;
2011
2011
  if (this.getSelectionModel && this.getFocusModel) {
2012
2012
  const u = this.getSelectionModel(), f = this.getFocusModel();
2013
- u && f && (f.hasFocus(e.rowIndex, e.columnIndex) || (f.setFocus(e.rowIndex, e.columnIndex), this.tableScope.onFocusChanged(f), s = !0), (i = e.originalEvent) != null && i.shiftKey || u.hasSelection() && (u.clear(), s = !0), (r = e.originalEvent) != null && r.shiftKey && this.previousEvt ? (u.addSelection(this.createRangeByEvents(e, this.previousEvt)), o = !0, s = !0) : (l = e.originalEvent) != null && l.altKey && ((n = e.originalEvent) != null && n.ctrlKey || (c = e.originalEvent) != null && c.metaKey) ? (u.removeSelection(R.singleCell(e.rowIndex, e.columnIndex)), o = !0, s = !0) : (a = e.originalEvent) != null && a.ctrlKey || (d = e.originalEvent) != null && d.metaKey ? (u.addSelection(R.singleCell(e.rowIndex, e.columnIndex)), o = !0, s = !0) : (u.firstClick(e.rowIndex, e.columnIndex), s = !0), this.tableScope.onSelectionChanged(u));
2013
+ u && f && (f.hasFocus(e.rowIndex, e.columnIndex) || (f.setFocus(e.rowIndex, e.columnIndex), this.tableScope.onFocusChanged(f), s = !0), (i = e.originalEvent) != null && i.shiftKey || u.hasSelection() && (u.clear(), s = !0), (r = e.originalEvent) != null && r.shiftKey && this.previousEvt ? (u.addSelection(this.createRangeByEvents(e, this.previousEvt)), o = !0, s = !0) : (n = e.originalEvent) != null && n.altKey && ((l = e.originalEvent) != null && l.ctrlKey || (c = e.originalEvent) != null && c.metaKey) ? (u.removeSelection(R.singleCell(e.rowIndex, e.columnIndex)), o = !0, s = !0) : (a = e.originalEvent) != null && a.ctrlKey || (d = e.originalEvent) != null && d.metaKey ? (u.addSelection(R.singleCell(e.rowIndex, e.columnIndex)), o = !0, s = !0) : (u.firstClick(e.rowIndex, e.columnIndex), s = !0), this.tableScope.onSelectionChanged(u));
2014
2014
  }
2015
2015
  return o ? this.previousEvt = void 0 : this.previousEvt = e == null ? void 0 : e.clone(), s;
2016
2016
  }
@@ -2041,7 +2041,7 @@ class He {
2041
2041
  });
2042
2042
  }
2043
2043
  }
2044
- class We {
2044
+ class Ne {
2045
2045
  get() {
2046
2046
  return {
2047
2047
  f2: "START_EDITING",
@@ -2061,7 +2061,7 @@ class We {
2061
2061
  };
2062
2062
  }
2063
2063
  }
2064
- class Ve {
2064
+ class Ge {
2065
2065
  get() {
2066
2066
  return {
2067
2067
  f2: "START_EDITING",
@@ -2083,7 +2083,7 @@ class Ve {
2083
2083
  };
2084
2084
  }
2085
2085
  }
2086
- class Ne {
2086
+ class ze {
2087
2087
  constructor(e) {
2088
2088
  this.tableScope = e, this.shortcutActionIdMapping = {}, this.listener = [], this.listener.push(e), this.init();
2089
2089
  }
@@ -2104,7 +2104,7 @@ class Ne {
2104
2104
  this.assignPredefinedSystemShortcutMappings(), Object.assign(this.shortcutActionIdMapping, this.tableScope.tableOptions.shortcutActionIdMapping), this.isDebug() && console.debug("ShortcutService", this.shortcutActionIdMapping), this.tableScope.hostElement.addEventListener("keydown", this.onKeyDown.bind(this));
2105
2105
  }
2106
2106
  assignPredefinedSystemShortcutMappings() {
2107
- this.isMacintosh() ? Object.assign(this.shortcutActionIdMapping, new Ve().get()) : Object.assign(this.shortcutActionIdMapping, new We().get());
2107
+ this.isMacintosh() ? Object.assign(this.shortcutActionIdMapping, new Ge().get()) : Object.assign(this.shortcutActionIdMapping, new Ne().get());
2108
2108
  }
2109
2109
  isMacintosh() {
2110
2110
  return navigator.platform.indexOf("Mac") > -1;
@@ -2156,7 +2156,7 @@ class Ne {
2156
2156
  return this.shortcutActionIdMapping;
2157
2157
  }
2158
2158
  }
2159
- class le {
2159
+ class ae {
2160
2160
  onCheckboxChanged(e) {
2161
2161
  }
2162
2162
  onContextmenu(e) {
@@ -2176,7 +2176,7 @@ class le {
2176
2176
  onFocusChanged(e) {
2177
2177
  }
2178
2178
  }
2179
- class Ge {
2179
+ class Ue {
2180
2180
  setStyle(e, t, s) {
2181
2181
  return e.style[t] = s, e;
2182
2182
  }
@@ -2203,15 +2203,15 @@ class Ge {
2203
2203
  e.setAttribute(t, s);
2204
2204
  }
2205
2205
  }
2206
- class ze {
2207
- render(e, t, s, o, i, r, l) {
2206
+ class je {
2207
+ render(e, t, s, o, i, r, n) {
2208
2208
  if (i.isEditable(t, s)) {
2209
- l.addClass(e, "ge-table-row-input-div");
2210
- const n = i.getValueAt(t, s);
2209
+ n.addClass(e, "ge-table-row-input-div");
2210
+ const l = i.getValueAt(t, s);
2211
2211
  e.innerHTML = `
2212
2212
  <input
2213
2213
  type="text"
2214
- value="${n}"
2214
+ value="${l}"
2215
2215
  autofocus
2216
2216
  onfocus="this.setSelectionRange(0, this.value.length)"
2217
2217
  data-listen="change"
@@ -2224,7 +2224,7 @@ class ze {
2224
2224
  }
2225
2225
  }
2226
2226
  }
2227
- class oe {
2227
+ class ie {
2228
2228
  constructor(e = "none", t = "single") {
2229
2229
  this.selectionType = e, this.selectionMode = t, this.ranges = [], this.negativeRanges = [], this.allSelected = !1, this.silent = !1, this.listenerArr = [];
2230
2230
  }
@@ -2306,7 +2306,7 @@ class oe {
2306
2306
  this.selectionType !== "none" && (this.allSelected = !1, this.selectionMode === "single" && (this.ranges = []), this.selectionType === "row" ? (e.c1 = 0, e.c2 = Number.MAX_SAFE_INTEGER) : this.selectionType === "column" ? (e.r1 = 0, e.r2 = Number.MAX_SAFE_INTEGER) : this.selectionType === "cell" ? (e.r2 = e.r1, e.c2 = e.c1) : this.selectionType, this.ranges.push(e), this.fireChangeEvent());
2307
2307
  }
2308
2308
  }
2309
- class Ue {
2309
+ class Xe {
2310
2310
  constructor(e = "none") {
2311
2311
  this.selectionType = e, this.rowIndex = -1, this.columnIndex = -1, this.changed = !1, this.listenerArr = [];
2312
2312
  }
@@ -2343,12 +2343,12 @@ class Ue {
2343
2343
  return [this.rowIndex, this.columnIndex];
2344
2344
  }
2345
2345
  }
2346
- class ie {
2347
- constructor(e = new P(
2346
+ class re {
2347
+ constructor(e = new $(
2348
2348
  "❯",
2349
2349
  "",
2350
2350
  ["gt-table-icon-expanded"]
2351
- ), t = new P(
2351
+ ), t = new $(
2352
2352
  "❯",
2353
2353
  "transform: rotate(180deg) translate(-100%, -100%); transform-origin: 0 0;",
2354
2354
  ["ge-table-icon-collapsed"]
@@ -2357,14 +2357,14 @@ class ie {
2357
2357
  }
2358
2358
  // `⊖ `, `⊕ `;
2359
2359
  }
2360
- const je = new oe(), Xe = new Ue("cell");
2360
+ const Ke = new ie(), Ye = new Xe("cell");
2361
2361
  class z {
2362
2362
  constructor() {
2363
2363
  this.overflowX = "auto", this.overflowY = "auto", this.horizontalBorderVisible = !0, this.verticalBorderVisible = !0, this.footerSeparatorBorderVisible = !0, this.headerSeparatorBorderVisible = !0, this.fixedEastSeparatorBorderVisible = !0, this.fixedWestSeparatorBorderVisible = !0, this.tableTopBorderVisible = !0, this.tableBottomBorderVisible = !0, this.hoverRowVisible = !0, this.hoverColumnVisible = !0, this.columnsResizable = !0, this.columnsDraggable = !0, this.columnResizeHandleWidthInPx = 4, this.defaultRowHeights = {
2364
2364
  header: 34,
2365
2365
  body: 34,
2366
2366
  footer: 34
2367
- }, this.footerVerticalSeparator = !1, this.headerToggleExpandCollapseIcons = !1, this.headerVerticalSeparator = !1, this.treeOptions = new xe(), this.headerGroupOptions = new ie(), this.showCheckboxWihoutExtraColumn = !1, this.externalFilterFunction = void 0, this.sortedOptions = new we(), this.sortOrder = ["asc", "desc"], this.resizeEventDebounceDelay = 500, this.getEditRenderer = (e, t) => new ze(), this.getSelectionModel = () => je, this.getFocusModel = () => Xe;
2367
+ }, this.footerVerticalSeparator = !1, this.headerToggleExpandCollapseIcons = !1, this.headerVerticalSeparator = !1, this.treeOptions = new we(), this.headerGroupOptions = new re(), this.showCheckboxWihoutExtraColumn = !1, this.externalFilterFunction = void 0, this.sortedOptions = new ye(), this.sortOrder = ["asc", "desc"], this.resizeEventDebounceDelay = 500, this.getEditRenderer = (e, t) => new je(), this.getSelectionModel = () => Ke, this.getFocusModel = () => Ye;
2368
2368
  }
2369
2369
  }
2370
2370
  const H = class H {
@@ -2383,21 +2383,21 @@ const H = class H {
2383
2383
  const r = this.mergeRanges(t.getRanges());
2384
2384
  if (r) {
2385
2385
  r.c2 = Math.min(r.c2, e.getColumnCount() - 1), r.r2 = Math.min(r.r2, e.getBodyModel().getRowCount() - 1);
2386
- const l = [];
2387
- for (let n = r.r1; n <= r.r2; n++) {
2386
+ const n = [];
2387
+ for (let l = r.r1; l <= r.r2; l++) {
2388
2388
  const c = [];
2389
2389
  for (let a = r.c1; a <= r.c2; a++) {
2390
- const d = t.isSelected(n, a) ? e.getBodyModel().getTextValueAt(n, a) : "";
2390
+ const d = t.isSelected(l, a) ? e.getBodyModel().getTextValueAt(l, a) : "";
2391
2391
  c.push(d);
2392
2392
  }
2393
- l.push(c.join(H.columnSeparatorChar));
2393
+ n.push(c.join(H.columnSeparatorChar));
2394
2394
  }
2395
- return o(l.join(H.rowSeparatorChar));
2395
+ return o(n.join(H.rowSeparatorChar));
2396
2396
  }
2397
2397
  }
2398
2398
  if (s) {
2399
- const [r, l] = s.getFocus(), n = e.getBodyModel().getTextValueAt(r, l);
2400
- return o(n);
2399
+ const [r, n] = s.getFocus(), l = e.getBodyModel().getTextValueAt(r, n);
2400
+ return o(l);
2401
2401
  }
2402
2402
  i("Cannot copy, neither selection nor focus defined.");
2403
2403
  });
@@ -2426,9 +2426,9 @@ const H = class H {
2426
2426
  t,
2427
2427
  s
2428
2428
  ).then((r) => {
2429
- r && this.copyContent(r).then((l) => {
2429
+ r && this.copyContent(r).then((n) => {
2430
2430
  o(r);
2431
- }).catch((l) => {
2431
+ }).catch((n) => {
2432
2432
  i();
2433
2433
  });
2434
2434
  }).catch((r) => {
@@ -2452,16 +2452,16 @@ const H = class H {
2452
2452
  H.columnSeparatorChar = " ", H.rowSeparatorChar = `
2453
2453
  `;
2454
2454
  let U = H;
2455
- class Ye {
2455
+ class Je {
2456
2456
  constructor(e, t = 500) {
2457
- this.tableScope = e, this.debounceDelay = t, new ResizeObserver(ve(this.handleResize.bind(this), t)).observe(this.tableScope.hostElement);
2457
+ this.tableScope = e, this.debounceDelay = t, new ResizeObserver(Re(this.handleResize.bind(this), t)).observe(this.tableScope.hostElement);
2458
2458
  }
2459
2459
  handleResize(e) {
2460
2460
  const t = e[0], { width: s } = t.contentRect;
2461
2461
  this.tableScope.recalcColumnWidths(s);
2462
2462
  }
2463
2463
  }
2464
- class Ke {
2464
+ class qe {
2465
2465
  /**
2466
2466
  * Downloads a matrix data as an Excel file.
2467
2467
  *
@@ -2490,13 +2490,13 @@ class Ke {
2490
2490
  <Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Id="rId3" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties" Target="docProps/app.xml"/><Relationship Id="rId2" Type="http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties" Target="docProps/core.xml"/><Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="xl/workbook.xml"/></Relationships>`, o = `<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2491
2491
  <Properties xmlns="http://schemas.openxmlformats.org/officeDocument/2006/extended-properties" xmlns:vt="http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"><Application>Microsoft Macintosh Excel</Application><DocSecurity>0</DocSecurity><ScaleCrop>false</ScaleCrop><HeadingPairs><vt:vector size="2" baseType="variant"><vt:variant><vt:lpstr>Worksheets</vt:lpstr></vt:variant><vt:variant><vt:i4>1</vt:i4></vt:variant></vt:vector></HeadingPairs><TitlesOfParts><vt:vector size="1" baseType="lpstr"><vt:lpstr>Sheet1</vt:lpstr></vt:vector></TitlesOfParts><Company></Company><LinksUpToDate>false</LinksUpToDate><SharedDoc>false</SharedDoc><HyperlinksChanged>false</HyperlinksChanged><AppVersion>16.0300</AppVersion></Properties>`, i = `<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2492
2492
  <cp:coreProperties xmlns:cp="http://schemas.openxmlformats.org/package/2006/metadata/core-properties" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:dcmitype="http://purl.org/dc/dcmitype/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><dc:creator>${t}</dc:creator><cp:lastModifiedBy>${t}</cp:lastModifiedBy><dcterms:created xsi:type="dcterms:W3CDTF">2024-12-13T19:45:08Z</dcterms:created><dcterms:modified xsi:type="dcterms:W3CDTF">2024-12-13T19:45:35Z</dcterms:modified></cp:coreProperties>`, r = `<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2493
- <Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Id="rId3" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles" Target="styles.xml"/><Relationship Id="rId2" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme" Target="theme/theme1.xml"/><Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet" Target="worksheets/sheet1.xml"/><Relationship Id="rId4" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings" Target="sharedStrings.xml"/></Relationships>`, l = `<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2494
- <a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme"><a:themeElements><a:clrScheme name="Office"><a:dk1><a:sysClr val="windowText" lastClr="000000"/></a:dk1><a:lt1><a:sysClr val="window" lastClr="FFFFFF"/></a:lt1><a:dk2><a:srgbClr val="0E2841"/></a:dk2><a:lt2><a:srgbClr val="E8E8E8"/></a:lt2><a:accent1><a:srgbClr val="156082"/></a:accent1><a:accent2><a:srgbClr val="E97132"/></a:accent2><a:accent3><a:srgbClr val="196B24"/></a:accent3><a:accent4><a:srgbClr val="0F9ED5"/></a:accent4><a:accent5><a:srgbClr val="A02B93"/></a:accent5><a:accent6><a:srgbClr val="4EA72E"/></a:accent6><a:hlink><a:srgbClr val="467886"/></a:hlink><a:folHlink><a:srgbClr val="96607D"/></a:folHlink></a:clrScheme><a:fontScheme name="Office"><a:majorFont><a:latin typeface="Aptos Display" panose="02110004020202020204"/><a:ea typeface=""/><a:cs typeface=""/><a:font script="Jpan" typeface="游ゴシック Light"/><a:font script="Hang" typeface="맑은 고딕"/><a:font script="Hans" typeface="等线 Light"/><a:font script="Hant" typeface="新細明體"/><a:font script="Arab" typeface="Times New Roman"/><a:font script="Hebr" typeface="Times New Roman"/><a:font script="Thai" typeface="Tahoma"/><a:font script="Ethi" typeface="Nyala"/><a:font script="Beng" typeface="Vrinda"/><a:font script="Gujr" typeface="Shruti"/><a:font script="Khmr" typeface="MoolBoran"/><a:font script="Knda" typeface="Tunga"/><a:font script="Guru" typeface="Raavi"/><a:font script="Cans" typeface="Euphemia"/><a:font script="Cher" typeface="Plantagenet Cherokee"/><a:font script="Yiii" typeface="Microsoft Yi Baiti"/><a:font script="Tibt" typeface="Microsoft Himalaya"/><a:font script="Thaa" typeface="MV Boli"/><a:font script="Deva" typeface="Mangal"/><a:font script="Telu" typeface="Gautami"/><a:font script="Taml" typeface="Latha"/><a:font script="Syrc" typeface="Estrangelo Edessa"/><a:font script="Orya" typeface="Kalinga"/><a:font script="Mlym" typeface="Kartika"/><a:font script="Laoo" typeface="DokChampa"/><a:font script="Sinh" typeface="Iskoola Pota"/><a:font script="Mong" typeface="Mongolian Baiti"/><a:font script="Viet" typeface="Times New Roman"/><a:font script="Uigh" typeface="Microsoft Uighur"/><a:font script="Geor" typeface="Sylfaen"/><a:font script="Armn" typeface="Arial"/><a:font script="Bugi" typeface="Leelawadee UI"/><a:font script="Bopo" typeface="Microsoft JhengHei"/><a:font script="Java" typeface="Javanese Text"/><a:font script="Lisu" typeface="Segoe UI"/><a:font script="Mymr" typeface="Myanmar Text"/><a:font script="Nkoo" typeface="Ebrima"/><a:font script="Olck" typeface="Nirmala UI"/><a:font script="Osma" typeface="Ebrima"/><a:font script="Phag" typeface="Phagspa"/><a:font script="Syrn" typeface="Estrangelo Edessa"/><a:font script="Syrj" typeface="Estrangelo Edessa"/><a:font script="Syre" typeface="Estrangelo Edessa"/><a:font script="Sora" typeface="Nirmala UI"/><a:font script="Tale" typeface="Microsoft Tai Le"/><a:font script="Talu" typeface="Microsoft New Tai Lue"/><a:font script="Tfng" typeface="Ebrima"/></a:majorFont><a:minorFont><a:latin typeface="Aptos Narrow" panose="02110004020202020204"/><a:ea typeface=""/><a:cs typeface=""/><a:font script="Jpan" typeface="游ゴシック"/><a:font script="Hang" typeface="맑은 고딕"/><a:font script="Hans" typeface="等线"/><a:font script="Hant" typeface="新細明體"/><a:font script="Arab" typeface="Arial"/><a:font script="Hebr" typeface="Arial"/><a:font script="Thai" typeface="Tahoma"/><a:font script="Ethi" typeface="Nyala"/><a:font script="Beng" typeface="Vrinda"/><a:font script="Gujr" typeface="Shruti"/><a:font script="Khmr" typeface="DaunPenh"/><a:font script="Knda" typeface="Tunga"/><a:font script="Guru" typeface="Raavi"/><a:font script="Cans" typeface="Euphemia"/><a:font script="Cher" typeface="Plantagenet Cherokee"/><a:font script="Yiii" typeface="Microsoft Yi Baiti"/><a:font script="Tibt" typeface="Microsoft Himalaya"/><a:font script="Thaa" typeface="MV Boli"/><a:font script="Deva" typeface="Mangal"/><a:font script="Telu" typeface="Gautami"/><a:font script="Taml" typeface="Latha"/><a:font script="Syrc" typeface="Estrangelo Edessa"/><a:font script="Orya" typeface="Kalinga"/><a:font script="Mlym" typeface="Kartika"/><a:font script="Laoo" typeface="DokChampa"/><a:font script="Sinh" typeface="Iskoola Pota"/><a:font script="Mong" typeface="Mongolian Baiti"/><a:font script="Viet" typeface="Arial"/><a:font script="Uigh" typeface="Microsoft Uighur"/><a:font script="Geor" typeface="Sylfaen"/><a:font script="Armn" typeface="Arial"/><a:font script="Bugi" typeface="Leelawadee UI"/><a:font script="Bopo" typeface="Microsoft JhengHei"/><a:font script="Java" typeface="Javanese Text"/><a:font script="Lisu" typeface="Segoe UI"/><a:font script="Mymr" typeface="Myanmar Text"/><a:font script="Nkoo" typeface="Ebrima"/><a:font script="Olck" typeface="Nirmala UI"/><a:font script="Osma" typeface="Ebrima"/><a:font script="Phag" typeface="Phagspa"/><a:font script="Syrn" typeface="Estrangelo Edessa"/><a:font script="Syrj" typeface="Estrangelo Edessa"/><a:font script="Syre" typeface="Estrangelo Edessa"/><a:font script="Sora" typeface="Nirmala UI"/><a:font script="Tale" typeface="Microsoft Tai Le"/><a:font script="Talu" typeface="Microsoft New Tai Lue"/><a:font script="Tfng" typeface="Ebrima"/></a:minorFont></a:fontScheme><a:fmtScheme name="Office"><a:fillStyleLst><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:lumMod val="110000"/><a:satMod val="105000"/><a:tint val="67000"/></a:schemeClr></a:gs><a:gs pos="50000"><a:schemeClr val="phClr"><a:lumMod val="105000"/><a:satMod val="103000"/><a:tint val="73000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:lumMod val="105000"/><a:satMod val="109000"/><a:tint val="81000"/></a:schemeClr></a:gs></a:gsLst><a:lin ang="5400000" scaled="0"/></a:gradFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:satMod val="103000"/><a:lumMod val="102000"/><a:tint val="94000"/></a:schemeClr></a:gs><a:gs pos="50000"><a:schemeClr val="phClr"><a:satMod val="110000"/><a:lumMod val="100000"/><a:shade val="100000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:lumMod val="99000"/><a:satMod val="120000"/><a:shade val="78000"/></a:schemeClr></a:gs></a:gsLst><a:lin ang="5400000" scaled="0"/></a:gradFill></a:fillStyleLst><a:lnStyleLst><a:ln w="12700" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/><a:miter lim="800000"/></a:ln><a:ln w="19050" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/><a:miter lim="800000"/></a:ln><a:ln w="25400" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/><a:miter lim="800000"/></a:ln></a:lnStyleLst><a:effectStyleLst><a:effectStyle><a:effectLst/></a:effectStyle><a:effectStyle><a:effectLst/></a:effectStyle><a:effectStyle><a:effectLst><a:outerShdw blurRad="57150" dist="19050" dir="5400000" algn="ctr" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="63000"/></a:srgbClr></a:outerShdw></a:effectLst></a:effectStyle></a:effectStyleLst><a:bgFillStyleLst><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:solidFill><a:schemeClr val="phClr"><a:tint val="95000"/><a:satMod val="170000"/></a:schemeClr></a:solidFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="93000"/><a:satMod val="150000"/><a:shade val="98000"/><a:lumMod val="102000"/></a:schemeClr></a:gs><a:gs pos="50000"><a:schemeClr val="phClr"><a:tint val="98000"/><a:satMod val="130000"/><a:shade val="90000"/><a:lumMod val="103000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="63000"/><a:satMod val="120000"/></a:schemeClr></a:gs></a:gsLst><a:lin ang="5400000" scaled="0"/></a:gradFill></a:bgFillStyleLst></a:fmtScheme></a:themeElements><a:objectDefaults><a:lnDef><a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="2"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="0"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="1"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="tx1"/></a:fontRef></a:style></a:lnDef></a:objectDefaults><a:extraClrSchemeLst/><a:extLst><a:ext uri="{05A4C25C-085E-4340-85A3-A5531E510DB2}"><thm15:themeFamily xmlns:thm15="http://schemas.microsoft.com/office/thememl/2012/main" name="Office Theme" id="{2E142A2C-CD16-42D6-873A-C26D2A0506FA}" vid="{1BDDFF52-6CD6-40A5-AB3C-68EB2F1E4D0A}"/></a:ext></a:extLst></a:theme>`, n = `<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2493
+ <Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Id="rId3" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles" Target="styles.xml"/><Relationship Id="rId2" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme" Target="theme/theme1.xml"/><Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet" Target="worksheets/sheet1.xml"/><Relationship Id="rId4" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings" Target="sharedStrings.xml"/></Relationships>`, n = `<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2494
+ <a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme"><a:themeElements><a:clrScheme name="Office"><a:dk1><a:sysClr val="windowText" lastClr="000000"/></a:dk1><a:lt1><a:sysClr val="window" lastClr="FFFFFF"/></a:lt1><a:dk2><a:srgbClr val="0E2841"/></a:dk2><a:lt2><a:srgbClr val="E8E8E8"/></a:lt2><a:accent1><a:srgbClr val="156082"/></a:accent1><a:accent2><a:srgbClr val="E97132"/></a:accent2><a:accent3><a:srgbClr val="196B24"/></a:accent3><a:accent4><a:srgbClr val="0F9ED5"/></a:accent4><a:accent5><a:srgbClr val="A02B93"/></a:accent5><a:accent6><a:srgbClr val="4EA72E"/></a:accent6><a:hlink><a:srgbClr val="467886"/></a:hlink><a:folHlink><a:srgbClr val="96607D"/></a:folHlink></a:clrScheme><a:fontScheme name="Office"><a:majorFont><a:latin typeface="Aptos Display" panose="02110004020202020204"/><a:ea typeface=""/><a:cs typeface=""/><a:font script="Jpan" typeface="游ゴシック Light"/><a:font script="Hang" typeface="맑은 고딕"/><a:font script="Hans" typeface="等线 Light"/><a:font script="Hant" typeface="新細明體"/><a:font script="Arab" typeface="Times New Roman"/><a:font script="Hebr" typeface="Times New Roman"/><a:font script="Thai" typeface="Tahoma"/><a:font script="Ethi" typeface="Nyala"/><a:font script="Beng" typeface="Vrinda"/><a:font script="Gujr" typeface="Shruti"/><a:font script="Khmr" typeface="MoolBoran"/><a:font script="Knda" typeface="Tunga"/><a:font script="Guru" typeface="Raavi"/><a:font script="Cans" typeface="Euphemia"/><a:font script="Cher" typeface="Plantagenet Cherokee"/><a:font script="Yiii" typeface="Microsoft Yi Baiti"/><a:font script="Tibt" typeface="Microsoft Himalaya"/><a:font script="Thaa" typeface="MV Boli"/><a:font script="Deva" typeface="Mangal"/><a:font script="Telu" typeface="Gautami"/><a:font script="Taml" typeface="Latha"/><a:font script="Syrc" typeface="Estrangelo Edessa"/><a:font script="Orya" typeface="Kalinga"/><a:font script="Mlym" typeface="Kartika"/><a:font script="Laoo" typeface="DokChampa"/><a:font script="Sinh" typeface="Iskoola Pota"/><a:font script="Mong" typeface="Mongolian Baiti"/><a:font script="Viet" typeface="Times New Roman"/><a:font script="Uigh" typeface="Microsoft Uighur"/><a:font script="Geor" typeface="Sylfaen"/><a:font script="Armn" typeface="Arial"/><a:font script="Bugi" typeface="Leelawadee UI"/><a:font script="Bopo" typeface="Microsoft JhengHei"/><a:font script="Java" typeface="Javanese Text"/><a:font script="Lisu" typeface="Segoe UI"/><a:font script="Mymr" typeface="Myanmar Text"/><a:font script="Nkoo" typeface="Ebrima"/><a:font script="Olck" typeface="Nirmala UI"/><a:font script="Osma" typeface="Ebrima"/><a:font script="Phag" typeface="Phagspa"/><a:font script="Syrn" typeface="Estrangelo Edessa"/><a:font script="Syrj" typeface="Estrangelo Edessa"/><a:font script="Syre" typeface="Estrangelo Edessa"/><a:font script="Sora" typeface="Nirmala UI"/><a:font script="Tale" typeface="Microsoft Tai Le"/><a:font script="Talu" typeface="Microsoft New Tai Lue"/><a:font script="Tfng" typeface="Ebrima"/></a:majorFont><a:minorFont><a:latin typeface="Aptos Narrow" panose="02110004020202020204"/><a:ea typeface=""/><a:cs typeface=""/><a:font script="Jpan" typeface="游ゴシック"/><a:font script="Hang" typeface="맑은 고딕"/><a:font script="Hans" typeface="等线"/><a:font script="Hant" typeface="新細明體"/><a:font script="Arab" typeface="Arial"/><a:font script="Hebr" typeface="Arial"/><a:font script="Thai" typeface="Tahoma"/><a:font script="Ethi" typeface="Nyala"/><a:font script="Beng" typeface="Vrinda"/><a:font script="Gujr" typeface="Shruti"/><a:font script="Khmr" typeface="DaunPenh"/><a:font script="Knda" typeface="Tunga"/><a:font script="Guru" typeface="Raavi"/><a:font script="Cans" typeface="Euphemia"/><a:font script="Cher" typeface="Plantagenet Cherokee"/><a:font script="Yiii" typeface="Microsoft Yi Baiti"/><a:font script="Tibt" typeface="Microsoft Himalaya"/><a:font script="Thaa" typeface="MV Boli"/><a:font script="Deva" typeface="Mangal"/><a:font script="Telu" typeface="Gautami"/><a:font script="Taml" typeface="Latha"/><a:font script="Syrc" typeface="Estrangelo Edessa"/><a:font script="Orya" typeface="Kalinga"/><a:font script="Mlym" typeface="Kartika"/><a:font script="Laoo" typeface="DokChampa"/><a:font script="Sinh" typeface="Iskoola Pota"/><a:font script="Mong" typeface="Mongolian Baiti"/><a:font script="Viet" typeface="Arial"/><a:font script="Uigh" typeface="Microsoft Uighur"/><a:font script="Geor" typeface="Sylfaen"/><a:font script="Armn" typeface="Arial"/><a:font script="Bugi" typeface="Leelawadee UI"/><a:font script="Bopo" typeface="Microsoft JhengHei"/><a:font script="Java" typeface="Javanese Text"/><a:font script="Lisu" typeface="Segoe UI"/><a:font script="Mymr" typeface="Myanmar Text"/><a:font script="Nkoo" typeface="Ebrima"/><a:font script="Olck" typeface="Nirmala UI"/><a:font script="Osma" typeface="Ebrima"/><a:font script="Phag" typeface="Phagspa"/><a:font script="Syrn" typeface="Estrangelo Edessa"/><a:font script="Syrj" typeface="Estrangelo Edessa"/><a:font script="Syre" typeface="Estrangelo Edessa"/><a:font script="Sora" typeface="Nirmala UI"/><a:font script="Tale" typeface="Microsoft Tai Le"/><a:font script="Talu" typeface="Microsoft New Tai Lue"/><a:font script="Tfng" typeface="Ebrima"/></a:minorFont></a:fontScheme><a:fmtScheme name="Office"><a:fillStyleLst><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:lumMod val="110000"/><a:satMod val="105000"/><a:tint val="67000"/></a:schemeClr></a:gs><a:gs pos="50000"><a:schemeClr val="phClr"><a:lumMod val="105000"/><a:satMod val="103000"/><a:tint val="73000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:lumMod val="105000"/><a:satMod val="109000"/><a:tint val="81000"/></a:schemeClr></a:gs></a:gsLst><a:lin ang="5400000" scaled="0"/></a:gradFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:satMod val="103000"/><a:lumMod val="102000"/><a:tint val="94000"/></a:schemeClr></a:gs><a:gs pos="50000"><a:schemeClr val="phClr"><a:satMod val="110000"/><a:lumMod val="100000"/><a:shade val="100000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:lumMod val="99000"/><a:satMod val="120000"/><a:shade val="78000"/></a:schemeClr></a:gs></a:gsLst><a:lin ang="5400000" scaled="0"/></a:gradFill></a:fillStyleLst><a:lnStyleLst><a:ln w="12700" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/><a:miter lim="800000"/></a:ln><a:ln w="19050" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/><a:miter lim="800000"/></a:ln><a:ln w="25400" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/><a:miter lim="800000"/></a:ln></a:lnStyleLst><a:effectStyleLst><a:effectStyle><a:effectLst/></a:effectStyle><a:effectStyle><a:effectLst/></a:effectStyle><a:effectStyle><a:effectLst><a:outerShdw blurRad="57150" dist="19050" dir="5400000" algn="ctr" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="63000"/></a:srgbClr></a:outerShdw></a:effectLst></a:effectStyle></a:effectStyleLst><a:bgFillStyleLst><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:solidFill><a:schemeClr val="phClr"><a:tint val="95000"/><a:satMod val="170000"/></a:schemeClr></a:solidFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="93000"/><a:satMod val="150000"/><a:shade val="98000"/><a:lumMod val="102000"/></a:schemeClr></a:gs><a:gs pos="50000"><a:schemeClr val="phClr"><a:tint val="98000"/><a:satMod val="130000"/><a:shade val="90000"/><a:lumMod val="103000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="63000"/><a:satMod val="120000"/></a:schemeClr></a:gs></a:gsLst><a:lin ang="5400000" scaled="0"/></a:gradFill></a:bgFillStyleLst></a:fmtScheme></a:themeElements><a:objectDefaults><a:lnDef><a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="2"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="0"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="1"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="tx1"/></a:fontRef></a:style></a:lnDef></a:objectDefaults><a:extraClrSchemeLst/><a:extLst><a:ext uri="{05A4C25C-085E-4340-85A3-A5531E510DB2}"><thm15:themeFamily xmlns:thm15="http://schemas.microsoft.com/office/thememl/2012/main" name="Office Theme" id="{2E142A2C-CD16-42D6-873A-C26D2A0506FA}" vid="{1BDDFF52-6CD6-40A5-AB3C-68EB2F1E4D0A}"/></a:ext></a:extLst></a:theme>`, l = `<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2495
2495
  <sst xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" count="3" uniqueCount="3"><si><t>a</t></si><si><t>b</t></si><si><t>c</t></si></sst>`, c = `<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2496
2496
  <styleSheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="x14ac x16r2 xr" xmlns:x14ac="http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac" xmlns:x16r2="http://schemas.microsoft.com/office/spreadsheetml/2015/02/main" xmlns:xr="http://schemas.microsoft.com/office/spreadsheetml/2014/revision"><fonts count="1" x14ac:knownFonts="1"><font><sz val="12"/><color theme="1"/><name val="Aptos Narrow"/><family val="2"/><scheme val="minor"/></font></fonts><fills count="2"><fill><patternFill patternType="none"/></fill><fill><patternFill patternType="gray125"/></fill></fills><borders count="1"><border><left/><right/><top/><bottom/><diagonal/></border></borders><cellStyleXfs count="1"><xf numFmtId="0" fontId="0" fillId="0" borderId="0"/></cellStyleXfs><cellXfs count="1"><xf numFmtId="0" fontId="0" fillId="0" borderId="0" xfId="0"/></cellXfs><cellStyles count="1"><cellStyle name="Normal" xfId="0" builtinId="0"/></cellStyles><dxfs count="0"/><tableStyles count="0" defaultTableStyle="TableStyleMedium2" defaultPivotStyle="PivotStyleLight16"/><extLst><ext uri="{EB79DEF2-80B8-43e5-95BD-54CBDDF9020C}" xmlns:x14="http://schemas.microsoft.com/office/spreadsheetml/2009/9/main"><x14:slicerStyles defaultSlicerStyle="SlicerStyleLight1"/></ext><ext uri="{9260A510-F301-46a8-8635-F512D64BE5F5}" xmlns:x15="http://schemas.microsoft.com/office/spreadsheetml/2010/11/main"><x15:timelineStyles defaultTimelineStyle="TimeSlicerStyleLight1"/></ext></extLst></styleSheet>`, a = `<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2497
2497
  <workbook xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="x15 xr xr6 xr10 xr2" xmlns:x15="http://schemas.microsoft.com/office/spreadsheetml/2010/11/main" xmlns:xr="http://schemas.microsoft.com/office/spreadsheetml/2014/revision" xmlns:xr6="http://schemas.microsoft.com/office/spreadsheetml/2016/revision6" xmlns:xr10="http://schemas.microsoft.com/office/spreadsheetml/2016/revision10" xmlns:xr2="http://schemas.microsoft.com/office/spreadsheetml/2015/revision2"><fileVersion appName="xl" lastEdited="7" lowestEdited="7" rupBuild="11207"/><workbookPr defaultThemeVersion="202300"/><mc:AlternateContent xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"><mc:Choice Requires="x15"><x15ac:absPath url="/" xmlns:x15ac="http://schemas.microsoft.com/office/spreadsheetml/2010/11/ac"/></mc:Choice></mc:AlternateContent><xr:revisionPtr revIDLastSave="0" documentId="8_{292BF245-1F37-B045-B1A5-26C42FB62779}" xr6:coauthVersionLast="47" xr6:coauthVersionMax="47" xr10:uidLastSave="{00000000-0000-0000-0000-000000000000}"/><bookViews><workbookView xWindow="11340" yWindow="5060" windowWidth="28040" windowHeight="17440" xr2:uid="{858B8D3F-6246-774D-8903-6D38687B7BC6}"/></bookViews><sheets><sheet name="Sheet1" sheetId="1" r:id="rId1"/></sheets><calcPr calcId="181029"/><extLst><ext uri="{140A7094-0E35-4892-8432-C4D2E57EDEB5}" xmlns:x15="http://schemas.microsoft.com/office/spreadsheetml/2010/11/main"><x15:workbookPr chartTrackingRefBase="1"/></ext><ext uri="{B58B0392-4F1F-4190-BB64-5DF3571DCE5F}" xmlns:xcalcf="http://schemas.microsoft.com/office/spreadsheetml/2018/calcfeatures"><xcalcf:calcFeatures><xcalcf:feature name="microsoft.com:RD"/><xcalcf:feature name="microsoft.com:Single"/><xcalcf:feature name="microsoft.com:FV"/><xcalcf:feature name="microsoft.com:CNMTM"/><xcalcf:feature name="microsoft.com:LET_WF"/><xcalcf:feature name="microsoft.com:LAMBDA_WF"/><xcalcf:feature name="microsoft.com:ARRAYTEXT_WF"/></xcalcf:calcFeatures></ext></extLst></workbook>`, d = `<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2498
2498
  <Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types"><Default Extension="rels" ContentType="application/vnd.openxmlformats-package.relationships+xml"/><Default Extension="xml" ContentType="application/xml"/><Override PartName="/xl/workbook.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml"/><Override PartName="/xl/worksheets/sheet1.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml"/><Override PartName="/xl/theme/theme1.xml" ContentType="application/vnd.openxmlformats-officedocument.theme+xml"/><Override PartName="/xl/styles.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml"/><Override PartName="/xl/sharedStrings.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml"/><Override PartName="/docProps/core.xml" ContentType="application/vnd.openxmlformats-package.core-properties+xml"/><Override PartName="/docProps/app.xml" ContentType="application/vnd.openxmlformats-officedocument.extended-properties+xml"/></Types>`, u = /* @__PURE__ */ new Map();
2499
- return u.set("_rels/.rels", s), u.set("docProps/app.xml", o), u.set("docProps/core.xml", i), u.set("xl/_rels/workbook.xml.rels", r), u.set("xl/theme/theme1.xml", l), u.set("xl/worksheets/sheet1.xml", this.getX1WorksheetsSheet1Xml(e)), u.set("xl/sharedStrings.xml", n), u.set("xl/styles.xml", c), u.set("xl/workbook.xml", a), u.set("[Content_Types].xml", d), u;
2499
+ return u.set("_rels/.rels", s), u.set("docProps/app.xml", o), u.set("docProps/core.xml", i), u.set("xl/_rels/workbook.xml.rels", r), u.set("xl/theme/theme1.xml", n), u.set("xl/worksheets/sheet1.xml", this.getX1WorksheetsSheet1Xml(e)), u.set("xl/sharedStrings.xml", l), u.set("xl/styles.xml", c), u.set("xl/workbook.xml", a), u.set("[Content_Types].xml", d), u;
2500
2500
  }
2501
2501
  getX1WorksheetsSheet1Xml(e) {
2502
2502
  const t = [];
@@ -2511,15 +2511,15 @@ class Ke {
2511
2511
  const o = e[s];
2512
2512
  t.push('<row r="${r + 1}" spans="1:2" x14ac:dyDescent="0.2">');
2513
2513
  for (let i = 0; i < o.length; i++) {
2514
- const r = o[i], l = this.getCellAddress(s, i);
2514
+ const r = o[i], n = this.getCellAddress(s, i);
2515
2515
  if (typeof r == "number")
2516
- t.push(`<c r="${l}"><v>${r}</v></c>`);
2516
+ t.push(`<c r="${n}"><v>${r}</v></c>`);
2517
2517
  else if (r instanceof Date) {
2518
- const n = r;
2519
- t.push(`<c r="${l}" t="inlineStr"><is><t>${n.toISOString()}</t></is></c>`);
2518
+ const l = r;
2519
+ t.push(`<c r="${n}" t="inlineStr"><is><t>${l.toISOString()}</t></is></c>`);
2520
2520
  } else {
2521
- const n = r != null ? this.escapeXml(String(r)) : "";
2522
- t.push(`<c r="${l}" t="inlineStr"><is><t>${n}</t></is></c>`);
2521
+ const l = r != null ? this.escapeXml(String(r)) : "";
2522
+ t.push(`<c r="${n}" t="inlineStr"><is><t>${l}</t></is></c>`);
2523
2523
  }
2524
2524
  }
2525
2525
  t.push("</row>");
@@ -2554,9 +2554,9 @@ class Ke {
2554
2554
  const u = new TextEncoder().encode(d.path), f = new Uint8Array(46 + u.length), p = new DataView(f.buffer);
2555
2555
  f.set([80, 75, 1, 2], 0), p.setUint16(4, 20, !0), p.setUint16(6, 20, !0), p.setUint16(8, 0, !0), p.setUint16(10, 0, !0), p.setUint16(12, 0, !0), p.setUint16(14, 0, !0), p.setUint32(16, 0, !0), p.setUint32(20, d.contentSize, !0), p.setUint32(24, d.contentSize, !0), p.setUint16(28, u.length, !0), p.setUint16(30, 0, !0), p.setUint16(32, 0, !0), p.setUint16(34, 0, !0), p.setUint16(36, 0, !0), p.setUint32(38, 0, !0), p.setUint32(42, d.offset, !0), f.set(u, 46), t.push(f), s += f.length;
2556
2556
  });
2557
- const r = new Uint8Array(22), l = new DataView(r.buffer);
2558
- r.set([80, 75, 5, 6], 0), l.setUint16(4, 0, !0), l.setUint16(6, 0, !0), l.setUint16(8, o.length, !0), l.setUint16(10, o.length, !0), l.setUint32(12, s - i, !0), l.setUint32(16, i, !0), l.setUint16(20, 0, !0), t.push(r);
2559
- const n = t.reduce((d, u) => d + u.length, 0), c = new Uint8Array(n);
2557
+ const r = new Uint8Array(22), n = new DataView(r.buffer);
2558
+ r.set([80, 75, 5, 6], 0), n.setUint16(4, 0, !0), n.setUint16(6, 0, !0), n.setUint16(8, o.length, !0), n.setUint16(10, o.length, !0), n.setUint32(12, s - i, !0), n.setUint32(16, i, !0), n.setUint16(20, 0, !0), t.push(r);
2559
+ const l = t.reduce((d, u) => d + u.length, 0), c = new Uint8Array(l);
2560
2560
  let a = 0;
2561
2561
  for (const d of t)
2562
2562
  c.set(d, a), a += d.length;
@@ -2567,16 +2567,16 @@ class Ke {
2567
2567
  return this.createZip(s);
2568
2568
  }
2569
2569
  }
2570
- class Se extends $e {
2571
- constructor(e, t, s, o, i, r = new U(), l = new Ke()) {
2570
+ class Se extends _e {
2571
+ constructor(e, t, s, o, i, r = new U(), n = new qe()) {
2572
2572
  var a;
2573
- if (super(e, t, new Re(s), o), this.eventListener = i, this.copyService = r, this.excelService = l, this.licenseManager = B.getInstance(), this.selectionService = new He(this), this.api = new Te(this), this.mouseStartAction = "", this.mouseStartWidth = -1, this.mouseStartColumnIndex = -1, this.dragFrom = -1, this.dragTo = -1, this.lastDragFrom = -1, this.lastDragTo = -1, this.firstDraggingRendering = !0, t.setTableScope(this), i || (this.eventListener = new le()), (a = this.tableOptions) != null && a.autoRestoreOptions) {
2573
+ if (super(e, t, new Me(s), o), this.eventListener = i, this.copyService = r, this.excelService = n, this.licenseManager = B.getInstance(), this.selectionService = new Ve(this), this.api = new Ie(this), this.mouseStartAction = "", this.mouseStartWidth = -1, this.mouseStartColumnIndex = -1, this.dragFrom = -1, this.dragTo = -1, this.lastDragFrom = -1, this.lastDragTo = -1, this.firstDraggingRendering = !0, t.setTableScope(this), i || (this.eventListener = new ae()), (a = this.tableOptions) != null && a.autoRestoreOptions) {
2574
2574
  const d = this.tableOptions.autoRestoreOptions, u = d.getStorageKeyFn;
2575
- u && (d.autoRestoreScrollPosition && (this.storeScrollPosStateService = new ke(u)), d.autoRestoreCollapsedExpandedState && (this.storeStateCollapsedExpandService = new De(u)), d.autoRestoreSortingState && (this.storeSortingService = new Fe(u)));
2575
+ u && (d.autoRestoreScrollPosition && (this.storeScrollPosStateService = new De(u)), d.autoRestoreCollapsedExpandedState && (this.storeStateCollapsedExpandService = new Le(u)), d.autoRestoreSortingState && (this.storeSortingService = new $e(u)));
2576
2576
  }
2577
- this.mouseHandler = new Me(this), this.inputHandler = new Oe(this), this.resizeHandler = new Ye(this, o.resizeEventDebounceDelay), this.shortcutService = new Ne(this), this.shortcutService.addListener(this.selectionService);
2578
- const n = this.getSelectionModel ? this.getSelectionModel() : void 0;
2579
- n && n.addEventSelectionChangedListener(this);
2577
+ this.mouseHandler = new ke(this), this.inputHandler = new He(this), this.resizeHandler = new Je(this, o.resizeEventDebounceDelay), this.shortcutService = new ze(this), this.shortcutService.addListener(this.selectionService);
2578
+ const l = this.getSelectionModel ? this.getSelectionModel() : void 0;
2579
+ l && l.addEventSelectionChangedListener(this);
2580
2580
  const c = this.getFocusModel ? this.getFocusModel() : void 0;
2581
2581
  c && c.addEventFocusChangedListener(this);
2582
2582
  }
@@ -2592,7 +2592,7 @@ class Se extends $e {
2592
2592
  *
2593
2593
  * @return {TableScope} - The newly created TableScope instance.
2594
2594
  */
2595
- static create(e, t, s = new z(), o = new le(), i = new Ge(), r = new U()) {
2595
+ static create(e, t, s = new z(), o = new ae(), i = new Ue(), r = new U()) {
2596
2596
  return new Se(e, t, i, s, o, r);
2597
2597
  }
2598
2598
  /**
@@ -2621,7 +2621,7 @@ class Se extends $e {
2621
2621
  return !1;
2622
2622
  }
2623
2623
  updateModelValueAfterEdit(e, t, s, o) {
2624
- e === "body" && this.tableModel.getAreaModel(e).setValue(t, s, o) && (this.resetEditorRenderer(), this.repaint(), this.eventListener.onModelChanged(se.createSingle(t, s)), this.hostElement.focus());
2624
+ e === "body" && this.tableModel.getAreaModel(e).setValue(t, s, o) && (this.resetEditorRenderer(), this.repaint(), this.eventListener.onModelChanged(oe.createSingle(t, s)), this.hostElement.focus());
2625
2625
  }
2626
2626
  /**
2627
2627
  * Retrieves the TableApi object.
@@ -2650,7 +2650,7 @@ class Se extends $e {
2650
2650
  * @return {GeMouseEvent} - The created GeMouseEvent object.
2651
2651
  */
2652
2652
  createGeMouseEvent(e) {
2653
- const t = new ee();
2653
+ const t = new te();
2654
2654
  if (t.originalEvent = e, e) {
2655
2655
  const s = e.target;
2656
2656
  if ([t.areaIdent, t.sideIdent] = this.getAreaAndSideIdentByAttr(s), t.rowIndex = this.getNumberByAttr(s, "data-row-index"), t.columnIndex = this.getNumberByAttr(s, "data-col-index"), t.action = this.getStringByAttr(s, "data-ge-action"), t.areaIdent) {
@@ -2720,7 +2720,7 @@ class Se extends $e {
2720
2720
  toggleExpandCollapseAll(e = !0) {
2721
2721
  var s;
2722
2722
  const t = this.tableModel.getBodyModel();
2723
- J(t) && (t.toggleExpandCollapseAll(e), this.repaint(), (s = this.storeStateCollapsedExpandService) == null || s.collapsedStateAll(e));
2723
+ Z(t) && (t.toggleExpandCollapseAll(e), this.repaint(), (s = this.storeStateCollapsedExpandService) == null || s.collapsedStateAll(e));
2724
2724
  }
2725
2725
  /**
2726
2726
  * Toggles the checkbox state of a specific row in a table.
@@ -2732,11 +2732,11 @@ class Se extends $e {
2732
2732
  * @return {void} - This method does not return anything.
2733
2733
  */
2734
2734
  toggleRowCheckbox(e, t, s) {
2735
- var n;
2735
+ var l;
2736
2736
  const o = this.tableModel.getAreaModel(s), i = o.isRowChecked(e), r = i === void 0 || i === "semi" || i === "none";
2737
2737
  o.setRowChecked(e, r), this.repaint();
2738
- const l = (n = o.rowSelectionModel) == null ? void 0 : n.getCheckedRows();
2739
- this.eventListener.onCheckboxChanged(l || []);
2738
+ const n = (l = o.rowSelectionModel) == null ? void 0 : l.getCheckedRows();
2739
+ this.eventListener.onCheckboxChanged(n || []);
2740
2740
  }
2741
2741
  /**
2742
2742
  * Handle mouse click events.
@@ -2790,7 +2790,7 @@ class Se extends $e {
2790
2790
  const o = this.tableModel.getColumnDef(s);
2791
2791
  if (o != null && o.sortable && o.sortable()) {
2792
2792
  e.preventDefault(), e.stopPropagation();
2793
- const l = o.sortStatesOrder ? o.sortStatesOrder : this.tableOptions.sortOrder, n = o.sortState ?? "", c = l[(l.indexOf(n) + 1) % l.length], a = new _e(s, c);
2793
+ const n = o.sortStatesOrder ? o.sortStatesOrder : this.tableOptions.sortOrder, l = o.sortState ?? "", c = n[(n.indexOf(l) + 1) % n.length], a = new Be(s, c);
2794
2794
  this.tableModel.doSort([a]) && ((i = this.tableModel.getColumnDefs()) == null || i.forEach((u) => u.sortState = ""), o.sortState = c), this.repaint(), (r = this.storeSortingService) == null || r.setSortItems([a]);
2795
2795
  }
2796
2796
  }
@@ -2936,9 +2936,9 @@ class Se extends $e {
2936
2936
  const s = this.tableOptions.autoRestoreOptions, o = s.getRowId;
2937
2937
  if (s.autoRestoreCollapsedExpandedState && o) {
2938
2938
  const i = this.storeStateCollapsedExpandService.collapsedExpandedStateGet(), r = this.tableModel.getAreaModel("body");
2939
- if (J(r)) {
2940
- const l = r, n = r.getRowCount();
2941
- for (let c = 0; c < n; c++) {
2939
+ if (Z(r)) {
2940
+ const n = r, l = r.getRowCount();
2941
+ for (let c = 0; c < l; c++) {
2942
2942
  const a = r.getRowByIndex(c);
2943
2943
  if (a)
2944
2944
  if (i.allExpanded)
@@ -2950,7 +2950,7 @@ class Se extends $e {
2950
2950
  i.mode === "expanded" ? a.expanded = this.storeStateCollapsedExpandService.collapsedExpandedStateIncludes(d) : i.mode === "collapsed" && (a.expanded = !this.storeStateCollapsedExpandService.collapsedExpandedStateIncludes(d));
2951
2951
  }
2952
2952
  }
2953
- l.recalcVisibleTreeRows();
2953
+ n.recalcVisibleTreeRows();
2954
2954
  }
2955
2955
  }
2956
2956
  }
@@ -2962,8 +2962,8 @@ class Se extends $e {
2962
2962
  const o = new Array(t).fill(0);
2963
2963
  for (let i = 0; i < s; i++)
2964
2964
  for (let r = 0; r < t; r++) {
2965
- const l = e.getValueAt(i, r), n = (l == null ? void 0 : l.toString().length) || 0;
2966
- n > o[r] && (o[r] = n);
2965
+ const n = e.getValueAt(i, r), l = (n == null ? void 0 : n.toString().length) || 0;
2966
+ l > o[r] && (o[r] = l);
2967
2967
  }
2968
2968
  return o.map((i) => Math.max(i * 10, 50));
2969
2969
  }
@@ -3218,29 +3218,29 @@ j.themes = ["light", "combat", "paper", "blackboard"], j.vars = {
3218
3218
  --ge-table-drop-zone-bg: #758129;
3219
3219
  }`
3220
3220
  };
3221
- let ae = j;
3222
- class ce {
3223
- constructor(e, t = !0, s, o, i = 0, r = !1, l = !1) {
3224
- this.data = e, this.expanded = t, this.children = s, this.parent = o, this.deep = i, this.checked = r, this.keep = l, this.type = "TreeRow";
3221
+ let ce = j;
3222
+ class de {
3223
+ constructor(e, t = !0, s, o, i = 0, r = !1, n = !1) {
3224
+ this.data = e, this.expanded = t, this.children = s, this.parent = o, this.deep = i, this.checked = r, this.keep = n, this.type = "TreeRow";
3225
3225
  }
3226
3226
  }
3227
- class Z {
3227
+ class Q {
3228
3228
  static buildTreeRows(e, t = "children", s = 12) {
3229
3229
  const o = [];
3230
3230
  for (const i of e)
3231
- o.push(Z.buildTreeRow(i, t, void 0, 0, s));
3231
+ o.push(Q.buildTreeRow(i, t, void 0, 0, s));
3232
3232
  return o;
3233
3233
  }
3234
- static buildTreeRow(e, t = "children", s = new ce(e, !0, [], void 0, 0), o = 0, i = 12) {
3235
- var l;
3234
+ static buildTreeRow(e, t = "children", s = new de(e, !0, [], void 0, 0), o = 0, i = 12) {
3235
+ var n;
3236
3236
  if (o > i)
3237
3237
  return console.warn("Max deep limit reached: ", o), s;
3238
3238
  const r = e[t];
3239
3239
  if (r)
3240
- for (const n of r) {
3241
- const c = new ce(n, !0, [], s, o + 1);
3242
- if ((l = s.children) == null || l.push(c), Z.buildTreeRow(
3243
- n,
3240
+ for (const l of r) {
3241
+ const c = new de(l, !0, [], s, o + 1);
3242
+ if ((n = s.children) == null || n.push(c), Q.buildTreeRow(
3243
+ l,
3244
3244
  t,
3245
3245
  c,
3246
3246
  o + 1
@@ -3260,10 +3260,10 @@ class x {
3260
3260
  this.value = e, this.unit = t;
3261
3261
  }
3262
3262
  }
3263
- const qe = () => !0, de = () => !1;
3264
- class O {
3265
- constructor(e, t, s = new x(100, "px"), o = new k(), i = new k(), r = new x(100, "px"), l = new x(100, "px"), n, c, a, d, u, f, p, m, g = () => this.visible) {
3266
- this.property = e, this.headerLabel = t, this.width = s, this.classes = o, this.rendererMap = i, this.minWidth = r, this.maxWidth = l, this.sortable = n, this.sortComparator = c, this.sortState = a, this.sortStatesOrder = d, this.sortIconVisible = u, this.editable = f, this.getEditRenderer = p, this.editInputPipe = m, this.isVisible = g, this.visible = !0, s.unit !== "px" && (this.minWidth = new x(0, "px"), this.maxWidth = new x(1e5, "px"));
3263
+ const Ze = () => !0, he = () => !1;
3264
+ class _ {
3265
+ constructor(e, t, s = new x(100, "px"), o = new k(), i = new k(), r = new x(100, "px"), n = new x(100, "px"), l, c, a, d, u, f, p, m, g = () => this.visible) {
3266
+ this.property = e, this.headerLabel = t, this.width = s, this.classes = o, this.rendererMap = i, this.minWidth = r, this.maxWidth = n, this.sortable = l, this.sortComparator = c, this.sortState = a, this.sortStatesOrder = d, this.sortIconVisible = u, this.editable = f, this.getEditRenderer = p, this.editInputPipe = m, this.isVisible = g, this.visible = !0, s.unit !== "px" && (this.minWidth = new x(0, "px"), this.maxWidth = new x(1e5, "px"));
3267
3267
  }
3268
3268
  static bodyRenderer(e) {
3269
3269
  return new k(
@@ -3281,8 +3281,8 @@ class O {
3281
3281
  e.headerClasses,
3282
3282
  e.bodyClasses,
3283
3283
  e.footerClasses
3284
- ), o = e.sortIconVisible ?? e.sortable ?? de, i = e.editable ?? e.editable ?? de, r = e.isVisible ?? e.isVisible ?? qe;
3285
- return new O(
3284
+ ), o = e.sortIconVisible ?? e.sortable ?? he, i = e.editable ?? e.editable ?? he, r = e.isVisible ?? e.isVisible ?? Ze;
3285
+ return new _(
3286
3286
  e.property ?? "",
3287
3287
  e.headerLabel ?? "",
3288
3288
  e.width ?? new x(100, "px"),
@@ -3302,8 +3302,8 @@ class O {
3302
3302
  );
3303
3303
  }
3304
3304
  }
3305
- const gt = new x(500, "px"), pt = new x(400, "px"), Je = new x(300, "px"), ft = new x(290, "px"), mt = new x(280, "px"), bt = new x(270, "px"), xt = new x(260, "px"), wt = new x(250, "px"), St = new x(240, "px"), yt = new x(230, "px"), Ct = new x(220, "px"), vt = new x(210, "px"), he = new x(200, "px"), At = new x(190, "px"), Rt = new x(180, "px"), Et = new x(170, "px"), Mt = new x(160, "px"), Tt = new x(150, "px"), kt = new x(140, "px"), It = new x(130, "px"), Dt = new x(120, "px"), Ft = new x(110, "px"), Lt = new x(100, "px"), Pt = new x(90, "px"), $t = new x(80, "px"), _t = new x(70, "px"), Ot = new x(60, "px"), Bt = new x(50, "px"), Ht = new x(40, "px"), Wt = new x(30, "px"), Vt = new x(20, "px"), Nt = new x(10, "px"), Gt = new x(0, "px");
3306
- class re {
3305
+ const pt = new x(500, "px"), ft = new x(400, "px"), Qe = new x(300, "px"), mt = new x(290, "px"), bt = new x(280, "px"), xt = new x(270, "px"), wt = new x(260, "px"), yt = new x(250, "px"), St = new x(240, "px"), Ct = new x(230, "px"), vt = new x(220, "px"), At = new x(210, "px"), ue = new x(200, "px"), Rt = new x(190, "px"), Et = new x(180, "px"), Mt = new x(170, "px"), Tt = new x(160, "px"), kt = new x(150, "px"), It = new x(140, "px"), Dt = new x(130, "px"), Ft = new x(120, "px"), Lt = new x(110, "px"), $t = new x(100, "px"), Pt = new x(90, "px"), Ot = new x(80, "px"), _t = new x(70, "px"), Bt = new x(60, "px"), Ht = new x(50, "px"), Wt = new x(40, "px"), Vt = new x(30, "px"), Nt = new x(20, "px"), Gt = new x(10, "px"), zt = new x(0, "px");
3306
+ class ne {
3307
3307
  constructor(e, t = [], s = -1) {
3308
3308
  this.areaIdent = e, this.columnDefs = t, this.defaultRowHeight = s, this.rowSelectionModel = void 0, this.yPositions = [], this.cellRenderers = t.map((o) => o.rendererMap[e]);
3309
3309
  }
@@ -3368,8 +3368,8 @@ class re {
3368
3368
  return ((i = s == null ? void 0 : s.editable) == null ? void 0 : i.call(s)) ?? !1;
3369
3369
  }
3370
3370
  setValue(e, t, s) {
3371
- var l;
3372
- const o = (l = this.columnDefs[t]) == null ? void 0 : l.editInputPipe;
3371
+ var n;
3372
+ const o = (n = this.columnDefs[t]) == null ? void 0 : n.editInputPipe;
3373
3373
  o && (s = o(s, e, t));
3374
3374
  const i = this.getRowByIndex(e), r = this.columnDefs[t].property;
3375
3375
  return r.includes(".") ? this.setPropertyValue(i, r.split("."), s) : (i[r] = s, !0);
@@ -3399,7 +3399,7 @@ class re {
3399
3399
  this.yPositions[t + 1] = this.getRowHeight(t) + this.yPositions[t];
3400
3400
  }
3401
3401
  }
3402
- class D extends re {
3402
+ class D extends ne {
3403
3403
  constructor(e, t, s, o = []) {
3404
3404
  super(e, o, s), this.areaIdent = e, this.arr = t, this.defaultRowHeight = s, this.columnDefs = o, this.filteredArr = [...t];
3405
3405
  }
@@ -3499,7 +3499,7 @@ class F {
3499
3499
  changeColumnOrder(e, t) {
3500
3500
  }
3501
3501
  }
3502
- class Ze {
3502
+ class et {
3503
3503
  flattenTree(e, t = []) {
3504
3504
  var s;
3505
3505
  for (const o of e)
@@ -3510,7 +3510,7 @@ class Ze {
3510
3510
  return e.parent ? e.parent.expanded ? this.isVisible(e.parent) : !1 : !0;
3511
3511
  }
3512
3512
  }
3513
- class ye {
3513
+ class Ce {
3514
3514
  genericSortComparator(e, t, s) {
3515
3515
  if (typeof e == "number" && typeof t == "number")
3516
3516
  return s * (e - t);
@@ -3528,9 +3528,9 @@ class ye {
3528
3528
  return s * ("" + e).localeCompare("" + t);
3529
3529
  }
3530
3530
  }
3531
- class ue extends re {
3531
+ class ge extends ne {
3532
3532
  constructor(e, t, s, o = []) {
3533
- super(e, o, s), this.areaIdent = e, this.rows = t, this.defaultRowHeight = s, this.columnDefs = o, this.type = "AreaModelTree", this.sorterService = new ye(), this.service = new Ze(), this.properties = o.map((i) => i.property), this.flattenRows = this.service.flattenTree(t), this.filteredFlattenRows = [...this.flattenRows];
3533
+ super(e, o, s), this.areaIdent = e, this.rows = t, this.defaultRowHeight = s, this.columnDefs = o, this.type = "AreaModelTree", this.sorterService = new Ce(), this.service = new et(), this.properties = o.map((i) => i.property), this.flattenRows = this.service.flattenTree(t), this.filteredFlattenRows = [...this.flattenRows];
3534
3534
  }
3535
3535
  changeColumnOrder(e, t) {
3536
3536
  this.arrayMove(this.properties, e, t), super.changeColumnOrder(e, t);
@@ -3587,8 +3587,8 @@ class ue extends re {
3587
3587
  o && (s = o(s, e, t));
3588
3588
  const i = this.getRowByIndex(e);
3589
3589
  if (i) {
3590
- const l = i.data, n = this.columnDefs[t].property;
3591
- return n.includes(".") ? this.setPropertyValue(l, n.split("."), s) : (l[n] = s, !0);
3590
+ const n = i.data, l = this.columnDefs[t].property;
3591
+ return l.includes(".") ? this.setPropertyValue(n, l.split("."), s) : (n[l] = s, !0);
3592
3592
  }
3593
3593
  return !1;
3594
3594
  }
@@ -3632,7 +3632,7 @@ class ue extends re {
3632
3632
  o.children && this.treeSort(o.children, t, s);
3633
3633
  }
3634
3634
  }
3635
- class ge {
3635
+ class pe {
3636
3636
  constructor(e = []) {
3637
3637
  this.allRootNodes = e;
3638
3638
  }
@@ -3692,12 +3692,12 @@ class ge {
3692
3692
  s.checked && t.push(s), s.children && this.addSelectedRecursive(s.children, t);
3693
3693
  }
3694
3694
  }
3695
- class pe {
3695
+ class fe {
3696
3696
  constructor(e = 0, t = 0, s = 0, o = 0) {
3697
3697
  this.top = e, this.right = t, this.bottom = s, this.left = o;
3698
3698
  }
3699
3699
  }
3700
- class Qe {
3700
+ class tt {
3701
3701
  constructor() {
3702
3702
  this.checkedRows = [];
3703
3703
  }
@@ -3728,11 +3728,11 @@ class Qe {
3728
3728
  }
3729
3729
  }
3730
3730
  }
3731
- class q {
3732
- constructor(e, t, s, o = 0, i = 0, r = !1, l = new V(), n = [], c = [], a = -1, d = 0, u = 400, f = () => {
3731
+ class J {
3732
+ constructor(e, t, s, o = 0, i = 0, r = !1, n = new V(), l = [], c = [], a = -1, d = 0, u = 400, f = () => {
3733
3733
  }) {
3734
3734
  var p, m, g, b;
3735
- this.headerAreaModel = e, this.bodyAreaModel = t, this.footerAreaModel = s, this.fixedLeftColumnCount = o, this.fixedRightColumnCount = i, this.rowCheckboxVisible = r, this.defaultRowHeights = l, this.columnDefs = n, this.columnSizes = c, this.overridingColumnWidth = a, this.columnCount = d, this.parentSize = u, this.getSelectionModel = f, this.rowCount = 0, this.contentHeightInPx = 0, this.contentWidthInPx = 0, this.padding = new pe(0, 0, 0, 0), this.xPositions = [], e.areaIdent = "header", t.areaIdent = "body", s.areaIdent = "footer", this.columnCount || ((p = this.columnDefs) != null && p.length ? this.columnCount = this.columnDefs.length : (m = this.columnSizes) != null && m.length && (this.columnCount = (g = this.columnSizes) == null ? void 0 : g.length)), (b = this.columnDefs) != null && b.length && Ae(this.columnDefs[0]) && !t.rowSelectionModel && (t.rowSelectionModel = new Qe());
3735
+ this.headerAreaModel = e, this.bodyAreaModel = t, this.footerAreaModel = s, this.fixedLeftColumnCount = o, this.fixedRightColumnCount = i, this.rowCheckboxVisible = r, this.defaultRowHeights = n, this.columnDefs = l, this.columnSizes = c, this.overridingColumnWidth = a, this.columnCount = d, this.parentSize = u, this.getSelectionModel = f, this.rowCount = 0, this.contentHeightInPx = 0, this.contentWidthInPx = 0, this.padding = new fe(0, 0, 0, 0), this.xPositions = [], e.areaIdent = "header", t.areaIdent = "body", s.areaIdent = "footer", this.columnCount || ((p = this.columnDefs) != null && p.length ? this.columnCount = this.columnDefs.length : (m = this.columnSizes) != null && m.length && (this.columnCount = (g = this.columnSizes) == null ? void 0 : g.length)), (b = this.columnDefs) != null && b.length && Ee(this.columnDefs[0]) && !t.rowSelectionModel && (t.rowSelectionModel = new tt());
3736
3736
  }
3737
3737
  init() {
3738
3738
  this.recalcSize(this.parentSize), this.overridingColumnWidth === -1 && this.calcXPositions(), this.headerAreaModel && this.headerAreaModel.init(), this.bodyAreaModel && this.bodyAreaModel.init(), this.footerAreaModel && this.footerAreaModel.init();
@@ -3816,7 +3816,7 @@ class q {
3816
3816
  */
3817
3817
  recalcPadding() {
3818
3818
  const e = this.getSideAreaWidth("west"), t = this.getSideAreaWidth("east"), s = this.getAreaHeight("header"), o = this.getAreaHeight("footer");
3819
- this.padding = new pe(
3819
+ this.padding = new fe(
3820
3820
  s,
3821
3821
  t,
3822
3822
  o,
@@ -4057,32 +4057,32 @@ class q {
4057
4057
  recalcColumnWidths(e) {
4058
4058
  var t, s, o;
4059
4059
  if (!((t = this.columnDefs) != null && t.length) && !((s = this.columnSizes) != null && s.length) && (this.columnSizes = new Array(this.getColumnCount()).fill(this.overridingColumnWidth)), (o = this.columnDefs) != null && o.length) {
4060
- const i = this.columnDefs.filter((n) => {
4060
+ const i = this.columnDefs.filter((l) => {
4061
4061
  var c;
4062
- return ((c = n.width) == null ? void 0 : c.unit) === "weight";
4062
+ return ((c = l.width) == null ? void 0 : c.unit) === "weight";
4063
4063
  });
4064
- this.columnSizes = this.columnDefs.map((n) => {
4065
- if (n.width.unit === "%" && e) {
4066
- let c = Math.floor(n.width.value * e / 100);
4067
- if (n.minWidth) {
4068
- const a = this.sizeToPixel(n.minWidth, e);
4064
+ this.columnSizes = this.columnDefs.map((l) => {
4065
+ if (l.width.unit === "%" && e) {
4066
+ let c = Math.floor(l.width.value * e / 100);
4067
+ if (l.minWidth) {
4068
+ const a = this.sizeToPixel(l.minWidth, e);
4069
4069
  c = Math.max(a, c);
4070
4070
  }
4071
- if (n.maxWidth) {
4072
- const a = this.sizeToPixel(n.maxWidth, e);
4071
+ if (l.maxWidth) {
4072
+ const a = this.sizeToPixel(l.maxWidth, e);
4073
4073
  c = Math.min(a, c);
4074
4074
  }
4075
4075
  return c;
4076
- } else if (n.width.unit === "px" && e)
4077
- return n.width.value;
4076
+ } else if (l.width.unit === "px" && e)
4077
+ return l.width.value;
4078
4078
  return 0;
4079
4079
  });
4080
- const r = this.columnSizes.reduce((n, c) => n + c), l = e - r;
4081
- if (l > 0 && i.length) {
4082
- const n = i.map((c) => c.width.value).reduce((c, a) => c + a);
4080
+ const r = this.columnSizes.reduce((l, c) => l + c), n = e - r;
4081
+ if (n > 0 && i.length) {
4082
+ const l = i.map((c) => c.width.value).reduce((c, a) => c + a);
4083
4083
  for (let c = 0; c < this.columnDefs.length; c++) {
4084
4084
  const a = this.columnDefs[c];
4085
- a.width.unit === "weight" && (this.columnSizes[c] = a.width.value * l / n);
4085
+ a.width.unit === "weight" && (this.columnSizes[c] = a.width.value * n / l);
4086
4086
  }
4087
4087
  }
4088
4088
  }
@@ -4118,9 +4118,9 @@ class q {
4118
4118
  return this.tableScope;
4119
4119
  }
4120
4120
  }
4121
- class et extends re {
4121
+ class st extends ne {
4122
4122
  constructor(e, t, s, o = []) {
4123
- super(e, o, s), this.areaIdent = e, this.rows = t, this.defaultRowHeight = s, this.columnDefs = o, this.sorterService = new ye(), this.filteredRows = [...t], this.properties = o.map((i) => i.property);
4123
+ super(e, o, s), this.areaIdent = e, this.rows = t, this.defaultRowHeight = s, this.columnDefs = o, this.sorterService = new Ce(), this.filteredRows = [...t], this.properties = o.map((i) => i.property);
4124
4124
  }
4125
4125
  setRows(e) {
4126
4126
  this.rows = e, this.filteredRows = [...e];
@@ -4176,7 +4176,7 @@ class et extends re {
4176
4176
  return o && t.length ? this.getPropertyValue(o, t) : o;
4177
4177
  }
4178
4178
  }
4179
- class fe extends et {
4179
+ class me extends st {
4180
4180
  constructor(e, t, s, o) {
4181
4181
  super(
4182
4182
  e,
@@ -4186,7 +4186,7 @@ class fe extends et {
4186
4186
  ), this.areaIdent = e, this.rows = t, this.columnDefs = s, this.defaultRowHeight = o;
4187
4187
  }
4188
4188
  }
4189
- class _ {
4189
+ class O {
4190
4190
  /**
4191
4191
  * TableFactory
4192
4192
  *
@@ -4224,7 +4224,7 @@ class _ {
4224
4224
  * Please consult each method's documentation for detailed explanation of their functionality.
4225
4225
  */
4226
4226
  static createTableModel(e) {
4227
- var t, s, o, i, r, l, n, c, a, d, u, f, p, m;
4227
+ var t, s, o, i, r, n, l, c, a, d, u, f, p, m;
4228
4228
  if (e.defaultRowHeights === void 0)
4229
4229
  if ((t = e.tableOptions) != null && t.defaultRowHeights)
4230
4230
  e.defaultRowHeights = e.tableOptions.defaultRowHeights;
@@ -4242,7 +4242,7 @@ class _ {
4242
4242
  g > -1 && (e.defaultRowHeights.footer = g);
4243
4243
  }
4244
4244
  }
4245
- if (e.columnDefs === void 0 && ((s = e.properties) != null && s.length ? e.columnDefs = e.properties.map((g) => new O(g, g.toUpperCase(), he)) : (o = e.rows) != null && o.length ? e.columnDefs = Object.keys(e.rows[0]).map((g) => new O(g, g.toUpperCase(), he)) : e.columnDefs = []), e.columnCount === void 0 && ((i = e.columnDefs) != null && i.length ? e.columnCount = e.columnDefs.length : (r = e.headerData) != null && r.length ? e.columnCount = e.headerData[0].length : (l = e.columnSizes) != null && l.length ? e.columnCount = (n = e.columnSizes) == null ? void 0 : n.length : console.warn('Property "columnCount" is missing and cannot be derived from other properties.')), e.headerAreaModel || ((c = e.headerData) != null && c.length ? e.headerAreaModel = new D(
4245
+ if (e.columnDefs === void 0 && ((s = e.properties) != null && s.length ? e.columnDefs = e.properties.map((g) => new _(g, g.toUpperCase(), ue)) : (o = e.rows) != null && o.length ? e.columnDefs = Object.keys(e.rows[0]).map((g) => new _(g, g.toUpperCase(), ue)) : e.columnDefs = []), e.columnCount === void 0 && ((i = e.columnDefs) != null && i.length ? e.columnCount = e.columnDefs.length : (r = e.headerData) != null && r.length ? e.columnCount = e.headerData[0].length : (n = e.columnSizes) != null && n.length ? e.columnCount = (l = e.columnSizes) == null ? void 0 : l.length : console.warn('Property "columnCount" is missing and cannot be derived from other properties.')), e.headerAreaModel || ((c = e.headerData) != null && c.length ? e.headerAreaModel = new D(
4246
4246
  "header",
4247
4247
  e.headerData,
4248
4248
  e.defaultRowHeights.header,
@@ -4261,14 +4261,14 @@ class _ {
4261
4261
  if (e.rows)
4262
4262
  if ((u = e.rows) != null && u.length && W(e.rows[0])) {
4263
4263
  const g = e.rows;
4264
- e.bodyAreaModel = new ue(
4264
+ e.bodyAreaModel = new ge(
4265
4265
  "body",
4266
4266
  g,
4267
4267
  e.defaultRowHeights.body,
4268
4268
  e.columnDefs
4269
- ), (e.columnDefs[0].property === "CheckboxColumn" || (f = e.tableOptions) != null && f.showCheckboxWihoutExtraColumn) && (e.bodyAreaModel.rowSelectionModel = new ge(g));
4269
+ ), (e.columnDefs[0].property === "CheckboxColumn" || (f = e.tableOptions) != null && f.showCheckboxWihoutExtraColumn) && (e.bodyAreaModel.rowSelectionModel = new pe(g));
4270
4270
  } else
4271
- e.bodyAreaModel = new fe(
4271
+ e.bodyAreaModel = new me(
4272
4272
  "body",
4273
4273
  e.rows,
4274
4274
  e.columnDefs,
@@ -4280,7 +4280,7 @@ class _ {
4280
4280
  e.bodyData,
4281
4281
  e.defaultRowHeights.body
4282
4282
  ) : e.bodyAreaModel = new F("body");
4283
- return e.fixedLeftColumnCount === void 0 && (e.fixedLeftColumnCount = 0), e.fixedRightColumnCount === void 0 && (e.fixedRightColumnCount = 0), e.rowCheckboxVisible === void 0 && (e.rowCheckboxVisible = !1), e.overridingColumnWidth === void 0 && (e.overridingColumnWidth = -1), !e.getSelectionModel && ((p = e.tableOptions) != null && p.getSelectionModel) && (e.getSelectionModel = (m = e.tableOptions) == null ? void 0 : m.getSelectionModel), new q(
4283
+ return e.fixedLeftColumnCount === void 0 && (e.fixedLeftColumnCount = 0), e.fixedRightColumnCount === void 0 && (e.fixedRightColumnCount = 0), e.rowCheckboxVisible === void 0 && (e.rowCheckboxVisible = !1), e.overridingColumnWidth === void 0 && (e.overridingColumnWidth = -1), !e.getSelectionModel && ((p = e.tableOptions) != null && p.getSelectionModel) && (e.getSelectionModel = (m = e.tableOptions) == null ? void 0 : m.getSelectionModel), new J(
4284
4284
  e.headerAreaModel,
4285
4285
  e.bodyAreaModel,
4286
4286
  e.footerAreaModel,
@@ -4314,7 +4314,7 @@ class _ {
4314
4314
  * @method
4315
4315
  */
4316
4316
  static buildByTypedRowsParam(e) {
4317
- return _.buildByTypedRows(
4317
+ return O.buildByTypedRows(
4318
4318
  e.rows ?? [],
4319
4319
  e.columnDefs,
4320
4320
  e.tableOptions ?? new z(),
@@ -4359,15 +4359,15 @@ class _ {
4359
4359
  * as its property.
4360
4360
  */
4361
4361
  static buildByTypedRows(e, t, s = new z(), o = 0, i = 0) {
4362
- const r = s.defaultRowHeights, l = t[0].property === "CheckboxColumn";
4362
+ const r = s.defaultRowHeights, n = t[0].property === "CheckboxColumn";
4363
4363
  if (e != null && e.length && W(e[0])) {
4364
- const c = e, a = new ue(
4364
+ const c = e, a = new ge(
4365
4365
  "body",
4366
4366
  c,
4367
4367
  r.body,
4368
4368
  t
4369
4369
  );
4370
- return (l || s.showCheckboxWihoutExtraColumn) && (a.rowSelectionModel = new ge(c)), _.createByAreaModelsParam({
4370
+ return (n || s.showCheckboxWihoutExtraColumn) && (a.rowSelectionModel = new pe(c)), O.createByAreaModelsParam({
4371
4371
  headerAreaModel: new D("header", [t.map((d) => d.headerLabel)], r.header),
4372
4372
  bodyAreaModel: a,
4373
4373
  footerAreaModel: new D("footer", [], r.footer),
@@ -4381,7 +4381,7 @@ class _ {
4381
4381
  overridingColumnWidth: -1
4382
4382
  });
4383
4383
  }
4384
- return _.createByObjectArrayParam({
4384
+ return O.createByObjectArrayParam({
4385
4385
  rows: e,
4386
4386
  columnDefs: t,
4387
4387
  fixedLeftColumnCount: o,
@@ -4435,7 +4435,7 @@ class _ {
4435
4435
  */
4436
4436
  static createByObjectArrayParam(e) {
4437
4437
  const t = e.rowCheckboxVisible !== void 0 ? e.rowCheckboxVisible : !1;
4438
- return _.createByObjectArray(
4438
+ return O.createByObjectArray(
4439
4439
  e.rows,
4440
4440
  e.header ?? [],
4441
4441
  e.footer ?? [],
@@ -4488,16 +4488,16 @@ class _ {
4488
4488
  * @return A new instance of `TableModel` is created using the provided parameters.
4489
4489
  * If a parameter isn't provided, the default value is used.
4490
4490
  */
4491
- static createByAreaModels(e = new F(), t, s = new F(), o = 0, i = 0, r = !1, l = new V(), n, c = [], a = -1, d) {
4492
- return new q(
4491
+ static createByAreaModels(e = new F(), t, s = new F(), o = 0, i = 0, r = !1, n = new V(), l, c = [], a = -1, d) {
4492
+ return new J(
4493
4493
  e,
4494
4494
  t,
4495
4495
  s,
4496
4496
  o,
4497
4497
  i,
4498
4498
  r,
4499
- l,
4500
4499
  n,
4500
+ l,
4501
4501
  c,
4502
4502
  a,
4503
4503
  d
@@ -4540,7 +4540,7 @@ class _ {
4540
4540
  * });
4541
4541
  */
4542
4542
  static createByAreaModelsParam(e) {
4543
- return _.createByAreaModels(
4543
+ return O.createByAreaModels(
4544
4544
  e.headerAreaModel ?? new F(),
4545
4545
  e.bodyAreaModel,
4546
4546
  e.footerAreaModel ?? new F(),
@@ -4602,24 +4602,24 @@ class _ {
4602
4602
  *
4603
4603
  * Reference: For more details regarding the `DefaultRowHeightsIf`, `ColumnDefIf`, `AreaModelIf`, and `AreaModelArrayOfArrays` classes/interfaces, please refer to the respective API documents.
4604
4604
  */
4605
- static createByObjectArray(e, t = [], s = [], o = 0, i = 0, r = !1, l = new V(), n, c = []) {
4605
+ static createByObjectArray(e, t = [], s = [], o = 0, i = 0, r = !1, n = new V(), l, c = []) {
4606
4606
  let a;
4607
- t != null && t.length ? a = new D("header", t, l.header, n) : n != null && n.length ? a = new D("header", [n.map((f) => f.headerLabel)], l.header, n) : a = new F();
4608
- const d = s ? new D("footer", s, l.footer, n) : new F(), u = new fe("body", e, n, l.body);
4609
- return new q(
4607
+ t != null && t.length ? a = new D("header", t, n.header, l) : l != null && l.length ? a = new D("header", [l.map((f) => f.headerLabel)], n.header, l) : a = new F();
4608
+ const d = s ? new D("footer", s, n.footer, l) : new F(), u = new me("body", e, l, n.body);
4609
+ return new J(
4610
4610
  a,
4611
4611
  u,
4612
4612
  d,
4613
4613
  o,
4614
4614
  i,
4615
4615
  r,
4616
- l,
4617
4616
  n,
4617
+ l,
4618
4618
  c
4619
4619
  );
4620
4620
  }
4621
4621
  }
4622
- const zt = [
4622
+ const Ut = [
4623
4623
  "COPY_2_CLIPBOARD",
4624
4624
  "START_EDITING",
4625
4625
  "TOGGLE_SELECTION",
@@ -4637,18 +4637,18 @@ const zt = [
4637
4637
  // "PAGEUP_PRESSED",
4638
4638
  // "PAGEDOWN_PRESSED"
4639
4639
  ];
4640
- class tt {
4640
+ class ot {
4641
4641
  constructor(e, t) {
4642
4642
  this.tableModel = e, this.tableOptions = t;
4643
4643
  }
4644
4644
  }
4645
- class st {
4646
- constructor(e, t, s, o, i, r, l) {
4647
- this.emmitDataKey = e, this.emmitCancelKey = t, this.queryId = s, this.filter = o, this.sorting = i, this.startIndex = r, this.endIndex = l;
4645
+ class it {
4646
+ constructor(e, t, s, o, i, r, n) {
4647
+ this.emmitDataKey = e, this.emmitCancelKey = t, this.queryId = s, this.filter = o, this.sorting = i, this.startIndex = r, this.endIndex = n;
4648
4648
  }
4649
4649
  }
4650
- class Ut extends st {
4651
- constructor(e, t, s, o, i, r, l, n) {
4650
+ class jt extends it {
4651
+ constructor(e, t, s, o, i, r, n, l) {
4652
4652
  super(
4653
4653
  e,
4654
4654
  t,
@@ -4656,38 +4656,38 @@ class Ut extends st {
4656
4656
  o,
4657
4657
  i,
4658
4658
  r,
4659
- l
4660
- ), this.rows = n;
4659
+ n
4660
+ ), this.rows = l;
4661
4661
  }
4662
4662
  }
4663
- class ot {
4663
+ class rt {
4664
4664
  constructor(e, t) {
4665
4665
  this.value = e, this.label = t;
4666
4666
  }
4667
4667
  }
4668
- class jt {
4668
+ class Xt {
4669
4669
  constructor(e, t) {
4670
4670
  this.index = e, this.px = t;
4671
4671
  }
4672
4672
  }
4673
- const Xt = { body: ["ge-table-text-align-left"] }, Yt = { body: ["ge-table-text-align-center"] }, Kt = { body: ["ge-table-text-align-right"] }, qt = {
4673
+ const Kt = { body: ["ge-table-text-align-left"] }, Yt = { body: ["ge-table-text-align-center"] }, Jt = { body: ["ge-table-text-align-right"] }, qt = {
4674
4674
  header: ["ge-table-text-align-left"],
4675
4675
  body: ["ge-table-text-align-left"],
4676
4676
  footer: ["ge-table-text-align-left"]
4677
- }, Jt = {
4677
+ }, Zt = {
4678
4678
  header: ["ge-table-text-align-center"],
4679
4679
  body: ["ge-table-text-align-center"],
4680
4680
  footer: ["ge-table-text-align-center"]
4681
- }, Zt = {
4681
+ }, Qt = {
4682
4682
  header: ["ge-table-text-align-right"],
4683
4683
  body: ["ge-table-text-align-right"],
4684
4684
  footer: ["ge-table-text-align-right"]
4685
4685
  };
4686
- class me {
4687
- render(e, t, s, o, i, r, l) {
4686
+ class be {
4687
+ render(e, t, s, o, i, r, n) {
4688
4688
  if (i.isRowCheckable(t)) {
4689
- l.addClass(e, "ge-table-row-checkbox-div");
4690
- const n = i.isRowChecked(t), c = n === "full" ? "checked" : "", a = n === "semi" ? '<span style="opacity: 0.4;">✓<span>' : "";
4689
+ n.addClass(e, "ge-table-row-checkbox-div");
4690
+ const l = i.isRowChecked(t), c = l === "full" ? "checked" : "", a = l === "semi" ? '<span style="opacity: 0.4;">✓<span>' : "";
4691
4691
  e.innerHTML = `
4692
4692
  <input
4693
4693
  type="checkbox"
@@ -4701,16 +4701,16 @@ class me {
4701
4701
  }
4702
4702
  }
4703
4703
  }
4704
- class Qt {
4704
+ class es {
4705
4705
  constructor() {
4706
- this.type = "CheckboxColumnDef", this.property = "CheckboxColumn", this.headerLabel = "", this.width = new x(50, "px"), this.minWidth = new x(50, "px"), this.maxWidth = new x(100, "px"), this.rendererMap = new k(new me(), new me(), void 0), this.classes = new k(
4706
+ this.type = "CheckboxColumnDef", this.property = "CheckboxColumn", this.headerLabel = "", this.width = new x(50, "px"), this.minWidth = new x(50, "px"), this.maxWidth = new x(100, "px"), this.rendererMap = new k(new be(), new be(), void 0), this.classes = new k(
4707
4707
  [],
4708
4708
  ["ge-table-text-align-left"],
4709
4709
  []
4710
4710
  );
4711
4711
  }
4712
4712
  }
4713
- class es {
4713
+ class ts {
4714
4714
  /**
4715
4715
  * A factory that creates a new AreaObjectMap with the given body renderer.
4716
4716
  *
@@ -4725,17 +4725,17 @@ class es {
4725
4725
  );
4726
4726
  }
4727
4727
  }
4728
- class ts {
4728
+ class ss {
4729
4729
  constructor(e = "down", t) {
4730
4730
  this.status = e, this.originalEvent = t;
4731
4731
  }
4732
4732
  }
4733
- class ss {
4733
+ class os {
4734
4734
  constructor(e, t, s, o, i = {}) {
4735
4735
  this.area = e, this.rowIndex = t, this.columnIndex = s, this.value = o, this.cssClasses = i;
4736
4736
  }
4737
4737
  }
4738
- class os {
4738
+ class is {
4739
4739
  constructor() {
4740
4740
  this.autoRestoreSortingState = !1, this.autoRestoreCollapsedExpandedState = !1, this.autoRestoreScrollPosition = !1, this.autoRestoreCheckedState = !1, this.autoRestoreSelectedState = !1, this.getStorageKeyFn = void 0, this.isSame = (e, t, s) => {
4741
4741
  if (e && t && s.getRowId) {
@@ -4760,12 +4760,12 @@ class os {
4760
4760
  };
4761
4761
  }
4762
4762
  }
4763
- class it {
4763
+ class nt {
4764
4764
  constructor(e, t, s, o = !1, i = "normal", r = void 0) {
4765
4765
  this.data = e, this.property = t, this.toggle = s, this.closed = o, this.visibility = i, this.children = r, this.impl = "CellGroup";
4766
4766
  }
4767
4767
  }
4768
- class rt extends it {
4768
+ class lt extends nt {
4769
4769
  constructor(e, t = 0, s = 0, o) {
4770
4770
  super(
4771
4771
  e.data,
@@ -4838,7 +4838,7 @@ class rt extends it {
4838
4838
  return e.parent && (t = t + 1 + this.getParentCount(e.parent, t)), t;
4839
4839
  }
4840
4840
  log(e = 10) {
4841
- const t = " ".substring(0, 2 * this.rowIndex), s = `${this.getColumnIndex()}`, o = `${this.getColumnCount(this)}`, i = `${this.getRowSpan(this, e)}`, r = `${this.getParentCount(this)}`, l = `${t + this.data}
4841
+ const t = " ".substring(0, 2 * this.rowIndex), s = `${this.getColumnIndex()}`, o = `${this.getColumnCount(this)}`, i = `${this.getRowSpan(this, e)}`, r = `${this.getParentCount(this)}`, n = `${t + this.data}
4842
4842
  childIndex:${this.childIndex}
4843
4843
  row:${this.rowIndex}
4844
4844
  col:${s}
@@ -4852,16 +4852,16 @@ class rt extends it {
4852
4852
  rowSpan:${i}
4853
4853
  pc:${r}`.replace(/[ \n]+/g, " ");
4854
4854
  if (this.children)
4855
- for (const n of this.children)
4856
- n.log(e);
4857
- return l;
4855
+ for (const l of this.children)
4856
+ l.log(e);
4857
+ return n;
4858
4858
  }
4859
4859
  }
4860
4860
  class T {
4861
4861
  static buildColumnDefs(e, t = []) {
4862
4862
  for (const s of e)
4863
4863
  s.property && t.push(
4864
- O.create({
4864
+ _.create({
4865
4865
  property: s.property,
4866
4866
  headerLabel: s.data ? s.data : s.property,
4867
4867
  isVisible: () => typeof s.isVisible == "function" ? s.isVisible() : !0
@@ -4890,8 +4890,8 @@ class T {
4890
4890
  static buildGroupExts(e, t = [], s = 0, o) {
4891
4891
  let i;
4892
4892
  for (let r = 0; r < e.length; r++) {
4893
- const l = e[r], n = new rt(l, s, r, o);
4894
- i && (n.leftNeighbour = i, i.rightNeighbour = n), t.push(n), l.children && (n.children = T.buildGroupExts(l.children, [], s + 1, n)), i = n;
4893
+ const n = e[r], l = new lt(n, s, r, o);
4894
+ i && (l.leftNeighbour = i, i.rightNeighbour = l), t.push(l), n.children && (l.children = T.buildGroupExts(n.children, [], s + 1, l)), i = l;
4895
4895
  }
4896
4896
  return t;
4897
4897
  }
@@ -4913,15 +4913,15 @@ class T {
4913
4913
  for (const r of e) {
4914
4914
  if (r.rowIndex <= o) {
4915
4915
  s++;
4916
- for (let l = 0; l < t.length; l++)
4917
- t[l][s] = null;
4916
+ for (let n = 0; n < t.length; n++)
4917
+ t[n][s] = null;
4918
4918
  }
4919
4919
  if (t[r.rowIndex][s] = r, o = r.rowIndex, r.ownColumn() && ((i = r.children) != null && i.length)) {
4920
- for (let l = r.rowIndex + 1; l < t.length; l++)
4921
- t[l][s] = void 0;
4920
+ for (let n = r.rowIndex + 1; n < t.length; n++)
4921
+ t[n][s] = void 0;
4922
4922
  s++;
4923
- for (let l = 0; l < t.length; l++)
4924
- t[l][s] = null;
4923
+ for (let n = 0; n < t.length; n++)
4924
+ t[n][s] = null;
4925
4925
  }
4926
4926
  }
4927
4927
  return t;
@@ -4932,7 +4932,7 @@ class T {
4932
4932
  e.push(o.data + " rowIndex:" + o.rowIndex), (s = o.children) != null && s.length && T.iterateThrowColumns(e, o.children);
4933
4933
  }
4934
4934
  }
4935
- class is {
4935
+ class rs {
4936
4936
  constructor() {
4937
4937
  this.areaIdent = "body", this.rowSelectionModel = void 0;
4938
4938
  }
@@ -5003,16 +5003,16 @@ class is {
5003
5003
  }
5004
5004
  }
5005
5005
  const X = class X {
5006
- constructor(e = new ie()) {
5006
+ constructor(e = new re()) {
5007
5007
  this.headerGroupOptions = e;
5008
5008
  }
5009
- render(e, t, s, o, i, r, l) {
5010
- const n = r != null && r.data ? r.data : "";
5009
+ render(e, t, s, o, i, r, n) {
5010
+ const l = r != null && r.data ? r.data : "";
5011
5011
  if (r) {
5012
5012
  const { toggle: c, visibility: a, closed: d } = r, u = c ? X.toggleHeaderGroup : "";
5013
- this.addText(e, o, t, s, n, u), c && a !== "always" && this.addArrowDiv(l, e, !d, t, s, o, u);
5013
+ this.addText(e, o, t, s, l, u), c && a !== "always" && this.addArrowDiv(n, e, !d, t, s, o, u);
5014
5014
  } else
5015
- this.addText(e, o, t, s, n, "");
5015
+ this.addText(e, o, t, s, l, "");
5016
5016
  }
5017
5017
  addText(e, t, s, o, i, r) {
5018
5018
  e.innerHTML = `<span
@@ -5022,30 +5022,30 @@ const X = class X {
5022
5022
  data-col-index="${o}"
5023
5023
  >${i}</span>`;
5024
5024
  }
5025
- addArrowDiv(e, t, s = !0, o = -1, i = -1, r = "header", l) {
5026
- const n = e.createElement("div");
5027
- e.addClass(n, "ge-table-toggle-icon-div"), e.setStyle(n, "display", "inline-block"), e.setStyle(n, "position", ""), e.setStyle(n, "width", "20px"), e.setStyle(n, "background", "transparent"), e.setStyle(n, "cursor", "pointer"), e.setAttribute(n, "data-row-index", `${o}`), e.setAttribute(n, "data-col-index", `${i}`), e.setAttribute(n, "data-area", `${r}`), e.setAttribute(n, "data-ge-action", `${l}`);
5025
+ addArrowDiv(e, t, s = !0, o = -1, i = -1, r = "header", n) {
5026
+ const l = e.createElement("div");
5027
+ e.addClass(l, "ge-table-toggle-icon-div"), e.setStyle(l, "display", "inline-block"), e.setStyle(l, "position", ""), e.setStyle(l, "width", "20px"), e.setStyle(l, "background", "transparent"), e.setStyle(l, "cursor", "pointer"), e.setAttribute(l, "data-row-index", `${o}`), e.setAttribute(l, "data-col-index", `${i}`), e.setAttribute(l, "data-area", `${r}`), e.setAttribute(l, "data-ge-action", `${n}`);
5028
5028
  let c;
5029
5029
  s ? c = this.headerGroupOptions.iconExpanded : c = this.headerGroupOptions.iconCollapsed;
5030
5030
  const a = c.content, d = e.createText(a);
5031
- e.appendChild(n, d), c.style && this.applyStyleString(e, n, c.style);
5031
+ e.appendChild(l, d), c.style && this.applyStyleString(e, l, c.style);
5032
5032
  for (const u of c.classes)
5033
- e.addClass(n, u);
5034
- return e.appendChild(t, n), n;
5033
+ e.addClass(l, u);
5034
+ return e.appendChild(t, l), l;
5035
5035
  }
5036
5036
  applyStyleString(e, t, s) {
5037
5037
  const o = s.split(";").map((i) => i.trim()).filter((i) => i);
5038
5038
  for (const i of o) {
5039
- const [r, l] = i.split(":");
5040
- e.setStyle(t, r.trim(), l.trim());
5039
+ const [r, n] = i.split(":");
5040
+ e.setStyle(t, r.trim(), n.trim());
5041
5041
  }
5042
5042
  }
5043
5043
  };
5044
5044
  X.toggleHeaderGroup = "toggleHeaderGroup";
5045
- let Q = X;
5046
- class rs {
5047
- constructor(e = "header", t, s = [], o, i = new ie()) {
5048
- this.areaIdent = e, this.groups = t, this.columnDefs = s, this.defaultRowHeight = o, this.headerGroupOptions = i, this.gammaCells = !0, this.arr = [], this.groupExts = [], this.cellGroupExtCellRenderer = new Q(this.headerGroupOptions), this.groupExts = T.buildGroupExts(t), this.init();
5045
+ let ee = X;
5046
+ class ns {
5047
+ constructor(e = "header", t, s = [], o, i = new re()) {
5048
+ this.areaIdent = e, this.groups = t, this.columnDefs = s, this.defaultRowHeight = o, this.headerGroupOptions = i, this.gammaCells = !0, this.arr = [], this.groupExts = [], this.cellGroupExtCellRenderer = new ee(this.headerGroupOptions), this.groupExts = T.buildGroupExts(t), this.init();
5049
5049
  }
5050
5050
  init() {
5051
5051
  var e;
@@ -5143,21 +5143,21 @@ class rs {
5143
5143
  return t != null && t.toggle && t.visibility !== "always" && (t.closed = !t.closed, this.init()), T.buildColumnDefs(this.groupExts);
5144
5144
  }
5145
5145
  }
5146
- class ns {
5146
+ class ls {
5147
5147
  filterPredict(e, t, s = this.objectToString.bind(this)) {
5148
5148
  if (!e)
5149
5149
  return !1;
5150
5150
  if (!t)
5151
5151
  return !0;
5152
5152
  t = t.toLowerCase();
5153
- const o = "+", i = "-", r = t.toLowerCase().split(" ").filter((d) => d !== o && d !== i && d !== ""), l = r.filter((d) => !d.startsWith(o) && !d.startsWith(i)), n = r.filter((d) => d.startsWith(o)).map((d) => d.replace(/\+/g, "")), c = r.filter((d) => d.startsWith(i)).map((d) => d.replace(/-/g, ""));
5154
- let a = !l.length;
5155
- for (let d = 0; d < l.length; d++)
5156
- (a || s(e).includes(l[d])) && (a = !0);
5153
+ const o = "+", i = "-", r = t.toLowerCase().split(" ").filter((d) => d !== o && d !== i && d !== ""), n = r.filter((d) => !d.startsWith(o) && !d.startsWith(i)), l = r.filter((d) => d.startsWith(o)).map((d) => d.replace(/\+/g, "")), c = r.filter((d) => d.startsWith(i)).map((d) => d.replace(/-/g, ""));
5154
+ let a = !n.length;
5155
+ for (let d = 0; d < n.length; d++)
5156
+ (a || s(e).includes(n[d])) && (a = !0);
5157
5157
  if (!a)
5158
5158
  return !1;
5159
- for (let d = 0; d < n.length; d++)
5160
- if (!s(e).includes(n[d]))
5159
+ for (let d = 0; d < l.length; d++)
5160
+ if (!s(e).includes(l[d]))
5161
5161
  return !1;
5162
5162
  for (let d = 0; d < c.length; d++)
5163
5163
  if (s(e).includes(c[d]))
@@ -5170,15 +5170,15 @@ class ns {
5170
5170
  if (!t)
5171
5171
  return [...e];
5172
5172
  t = t.toLowerCase();
5173
- const o = "+", i = "-", r = t.toLowerCase().split(" ").filter((a) => a !== o && a !== i && a !== ""), l = r.filter((a) => !a.startsWith(o) && !a.startsWith(i)), n = r.filter((a) => a.startsWith(o)).map((a) => a.replace(/\+/g, "")), c = r.filter((a) => a.startsWith(i)).map((a) => a.replace(/-/g, ""));
5173
+ const o = "+", i = "-", r = t.toLowerCase().split(" ").filter((a) => a !== o && a !== i && a !== ""), n = r.filter((a) => !a.startsWith(o) && !a.startsWith(i)), l = r.filter((a) => a.startsWith(o)).map((a) => a.replace(/\+/g, "")), c = r.filter((a) => a.startsWith(i)).map((a) => a.replace(/-/g, ""));
5174
5174
  return e == null ? void 0 : e.filter((a) => {
5175
- let d = !l.length;
5176
- for (let u = 0; u < l.length; u++)
5177
- (d || s(a).includes(l[u])) && (d = !0);
5175
+ let d = !n.length;
5176
+ for (let u = 0; u < n.length; u++)
5177
+ (d || s(a).includes(n[u])) && (d = !0);
5178
5178
  if (!d)
5179
5179
  return !1;
5180
- for (let u = 0; u < n.length; u++)
5181
- if (!s(a).includes(n[u]))
5180
+ for (let u = 0; u < l.length; u++)
5181
+ if (!s(a).includes(l[u]))
5182
5182
  return !1;
5183
5183
  for (let u = 0; u < c.length; u++)
5184
5184
  if (s(a).includes(c[u]))
@@ -5197,20 +5197,20 @@ class ns {
5197
5197
  return t.join(" ").toLowerCase();
5198
5198
  }
5199
5199
  }
5200
- class ls {
5200
+ class as {
5201
5201
  static bodyRenderer(e) {
5202
5202
  return new k(void 0, e, void 0);
5203
5203
  }
5204
5204
  }
5205
- class as {
5205
+ class cs {
5206
5206
  constructor(e, t = !0, s = !1) {
5207
5207
  this.property = e, this.skipCheckableCheck = t, this.readonly = s;
5208
5208
  }
5209
- render(e, t, s, o, i, r, l) {
5209
+ render(e, t, s, o, i, r, n) {
5210
5210
  if (this.readonly || this.skipCheckableCheck || i.isRowCheckable(t)) {
5211
- l.addClass(e, "ge-table-row-checkbox-div");
5212
- const n = i.getRowByIndex(t), a = i.getValueByT(n, this.property) === !0 ? "checked" : "", d = this.readonly ? " readonly " : "";
5213
- if (l.addClass(e, "ge-padding-property-checkbox"), e.innerHTML = `
5211
+ n.addClass(e, "ge-table-row-checkbox-div");
5212
+ const l = i.getRowByIndex(t), a = i.getValueByT(l, this.property) === !0 ? "checked" : "", d = this.readonly ? " readonly " : "";
5213
+ if (n.addClass(e, "ge-padding-property-checkbox"), e.innerHTML = `
5214
5214
  <input
5215
5215
  type="checkbox"
5216
5216
  data-area="${o}"
@@ -5222,17 +5222,17 @@ class as {
5222
5222
  ${d}
5223
5223
  class="ge-input-checkbox">`, !this.readonly) {
5224
5224
  const u = e.querySelector(".ge-input-checkbox");
5225
- u && u.addEventListener("click", (f, p) => (n[this.property] = !n[this.property], !0));
5225
+ u && u.addEventListener("click", (f, p) => (l[this.property] = !l[this.property], !0));
5226
5226
  }
5227
5227
  }
5228
5228
  }
5229
5229
  }
5230
- class cs {
5231
- render(e, t, s, o, i, r, l) {
5230
+ class ds {
5231
+ render(e, t, s, o, i, r, n) {
5232
5232
  r && (e.innerText = new Date(r).toISOString());
5233
5233
  }
5234
5234
  }
5235
- class ds {
5235
+ class hs {
5236
5236
  constructor() {
5237
5237
  this.formatter = new Intl.DateTimeFormat("de-DE", {
5238
5238
  year: "numeric",
@@ -5240,37 +5240,37 @@ class ds {
5240
5240
  day: "2-digit"
5241
5241
  });
5242
5242
  }
5243
- render(e, t, s, o, i, r, l) {
5243
+ render(e, t, s, o, i, r, n) {
5244
5244
  if (r) {
5245
- let n = "";
5245
+ let l = "";
5246
5246
  try {
5247
- n = this.formatter.format(new Date(r));
5247
+ l = this.formatter.format(new Date(r));
5248
5248
  } catch {
5249
- n = r;
5249
+ l = r;
5250
5250
  }
5251
5251
  e.innerHTML = `
5252
5252
  <div class="ge-table-label-div" data-row-index="${t}" data-col-index="${s}" data-area="${o}" style="position: relative; background: transparent; width: 100%; height: 100%;">
5253
- <div class="ge-table-label" data-row-index="${t}" data-col-index="${s}" data-area="${o}">${n}</div>
5253
+ <div class="ge-table-label" data-row-index="${t}" data-col-index="${s}" data-area="${o}">${l}</div>
5254
5254
  </div>`;
5255
5255
  }
5256
5256
  }
5257
5257
  }
5258
- class hs {
5259
- render(e, t, s, o, i, r, l) {
5258
+ class us {
5259
+ render(e, t, s, o, i, r, n) {
5260
5260
  r && (e.innerText = new Date(r).toLocaleDateString());
5261
5261
  }
5262
5262
  }
5263
- class us {
5264
- render(e, t, s, o, i, r, l) {
5263
+ class gs {
5264
+ render(e, t, s, o, i, r, n) {
5265
5265
  r === "male" || r === "m" ? e.innerText = "♂" : (r === "female" || r === "f") && (e.innerText = "♀");
5266
5266
  }
5267
5267
  }
5268
- class gs {
5268
+ class ps {
5269
5269
  constructor(e = 100, t = !1) {
5270
5270
  this.maxValue = e, this.labelVisible = t;
5271
5271
  }
5272
- render(e, t, s, o, i, r, l) {
5273
- if (l.addClass(e, "ge-progressbar-div"), !isNaN(r)) {
5272
+ render(e, t, s, o, i, r, n) {
5273
+ if (n.addClass(e, "ge-progressbar-div"), !isNaN(r)) {
5274
5274
  const c = Number(r) * 100 / this.maxValue, a = this.labelVisible ? Math.round(c) + "%" : "";
5275
5275
  e.innerHTML = `
5276
5276
  <div class="ge-table-label-div"
@@ -5295,31 +5295,31 @@ class gs {
5295
5295
  }
5296
5296
  }
5297
5297
  }
5298
- class ps {
5299
- render(e, t, s, o, i, r, l) {
5298
+ class fs {
5299
+ render(e, t, s, o, i, r, n) {
5300
5300
  r === "true" || r === !0 ? e.innerHTML = '<span class="ge-true-text-color">✅</span>' : r === "false" || r === !1 ? e.innerHTML = '<span class="ge-false-text-color">❌</span>' : e.innerText = "";
5301
5301
  }
5302
5302
  }
5303
- class fs {
5304
- render(e, t, s, o, i, r, l) {
5303
+ class ms {
5304
+ render(e, t, s, o, i, r, n) {
5305
5305
  r && (e.innerText = new Date(r).toISOString().replace(/T/g, " ").replace(/\..*/g, ""));
5306
5306
  }
5307
5307
  }
5308
- class ms {
5308
+ class bs {
5309
5309
  constructor(e = Number.MIN_SAFE_INTEGER, t = Number.MAX_SAFE_INTEGER) {
5310
5310
  this.min = e, this.max = t;
5311
5311
  }
5312
- render(e, t, s, o, i, r, l) {
5313
- r && (e.innerText = r, (typeof r == "string" || isNaN(r) || r < this.min || r > this.max) && l.addClass(e, "ge-cell-error"));
5312
+ render(e, t, s, o, i, r, n) {
5313
+ r && (e.innerText = r, (typeof r == "string" || isNaN(r) || r < this.min || r > this.max) && n.addClass(e, "ge-cell-error"));
5314
5314
  }
5315
5315
  }
5316
- class bs {
5316
+ class xs {
5317
5317
  constructor(e) {
5318
5318
  this.property = e;
5319
5319
  }
5320
- render(e, t, s, o, i, r, l) {
5321
- l.addClass(e, "ge-star-rating-div");
5322
- const n = i.getRowByIndex(t), c = +("" + i.getValueByT(n, this.property));
5320
+ render(e, t, s, o, i, r, n) {
5321
+ n.addClass(e, "ge-star-rating-div");
5322
+ const l = i.getRowByIndex(t), c = +("" + i.getValueByT(l, this.property));
5323
5323
  if (!isNaN(c)) {
5324
5324
  const a = [];
5325
5325
  for (let u = 0; u < c; u++)
@@ -5332,13 +5332,13 @@ class bs {
5332
5332
  }
5333
5333
  }
5334
5334
  }
5335
- class xs {
5335
+ class ws {
5336
5336
  constructor(e, t = 100, s = !1) {
5337
5337
  this.property = e, this.maxValue = t, this.labelVisible = s;
5338
5338
  }
5339
- render(e, t, s, o, i, r, l) {
5340
- l.addClass(e, "ge-star-rating-div");
5341
- const n = i.getRowByIndex(t), c = +("" + i.getValueByT(n, this.property));
5339
+ render(e, t, s, o, i, r, n) {
5340
+ n.addClass(e, "ge-star-rating-div");
5341
+ const l = i.getRowByIndex(t), c = +("" + i.getValueByT(l, this.property));
5342
5342
  if (!isNaN(c)) {
5343
5343
  const a = c * 100 / this.maxValue, d = this.labelVisible ? Math.round(a) + "%" : "";
5344
5344
  e.innerHTML = `
@@ -5364,8 +5364,8 @@ class xs {
5364
5364
  }
5365
5365
  }
5366
5366
  }
5367
- class ws {
5368
- render(e, t, s, o, i, r, l) {
5367
+ class ys {
5368
+ render(e, t, s, o, i, r, n) {
5369
5369
  if (r) {
5370
5370
  e.innerHTML = `
5371
5371
  <div
@@ -5379,29 +5379,29 @@ class ws {
5379
5379
  data-row-index="${t}"
5380
5380
  data-col-index="${s}"
5381
5381
  data-area="${o}">${r}</div></div>`;
5382
- const n = Number(r);
5383
- n > 0 ? l.addClass(e, "ge-positive-text-color") : n < 0 && l.addClass(e, "ge-negative-text-color");
5382
+ const l = Number(r);
5383
+ l > 0 ? n.addClass(e, "ge-positive-text-color") : l < 0 && n.addClass(e, "ge-negative-text-color");
5384
5384
  }
5385
5385
  }
5386
5386
  }
5387
- class nt {
5387
+ class ve {
5388
5388
  constructor(e, t, s, o, i, r) {
5389
5389
  this.action = e, this.area = t, this.areaModel = s, this.rowIndex = o, this.columnIndex = i, this.id = r;
5390
5390
  }
5391
5391
  }
5392
- class $ {
5392
+ class P {
5393
5393
  constructor(e, t, s = "", o = "", i = "button", r = !0) {
5394
5394
  this.action = e, this.label = t, this.icon = s, this.elementClass = o, this.elementType = i, this.enabled = r;
5395
5395
  }
5396
5396
  }
5397
- class lt {
5397
+ class at {
5398
5398
  constructor(e, t) {
5399
5399
  this.actionEventListener = e, this.crudActions = t;
5400
5400
  }
5401
- render(e, t, s, o, i, r, l) {
5402
- l.addClass(e, "ge-table-row-action-div");
5403
- const n = r, a = this.getCrudActions(r).map(
5404
- (d) => d.elementType === "button" ? this.buildButtonHtml(d, o, t, s, n) : this.buildLinkHtml(d, o, t, s, n)
5401
+ render(e, t, s, o, i, r, n) {
5402
+ n.addClass(e, "ge-table-row-action-div");
5403
+ const l = r, a = this.getCrudActions(r).map(
5404
+ (d) => d.elementType === "button" ? this.buildButtonHtml(d, o, t, s, l) : this.buildLinkHtml(d, o, t, s, l)
5405
5405
  );
5406
5406
  e.innerHTML = a.join(""), this.addClickEventListeners(e, o, i);
5407
5407
  }
@@ -5439,52 +5439,52 @@ class lt {
5439
5439
  addClickEventListeners(e, t, s) {
5440
5440
  e.querySelectorAll(".ge-table-cell-action").forEach((i) => {
5441
5441
  i.addEventListener("click", (r) => {
5442
- const l = r.target;
5443
- if (l) {
5444
- const n = this.createActionEvent(l, s);
5445
- n && this.actionEventListener.onActionEvent(n);
5442
+ const n = r.target;
5443
+ if (n) {
5444
+ const l = this.createActionEvent(n, s);
5445
+ l && this.actionEventListener.onActionEvent(l);
5446
5446
  }
5447
5447
  });
5448
5448
  });
5449
5449
  }
5450
5450
  createActionEvent(e, t) {
5451
- const s = e.getAttribute("data-area"), o = e.getAttribute("data-row-index"), i = e.getAttribute("data-col-index"), r = e.getAttribute("data-action") ?? "unknown", l = e.getAttribute("data-id") ?? "unknown";
5451
+ const s = e.getAttribute("data-area"), o = e.getAttribute("data-row-index"), i = e.getAttribute("data-col-index"), r = e.getAttribute("data-action") ?? "unknown", n = e.getAttribute("data-id") ?? "unknown";
5452
5452
  if (s && o && i) {
5453
- const n = Y(s), c = Number(o), a = Number(i);
5454
- return new nt(r, n, t, c, a, l);
5453
+ const l = K(s), c = Number(o), a = Number(i);
5454
+ return new ve(r, l, t, c, a, n);
5455
5455
  }
5456
5456
  return null;
5457
5457
  }
5458
5458
  getCrudActions(e) {
5459
- return Array.isArray(e) && e.every((t) => t instanceof $) ? e : this.crudActions;
5459
+ return Array.isArray(e) && e.every((t) => t instanceof P) ? e : this.crudActions;
5460
5460
  }
5461
5461
  }
5462
5462
  const Ss = function(h, e, t) {
5463
5463
  return h ? Number(h) : "";
5464
5464
  };
5465
- class Ce {
5465
+ class Ae {
5466
5466
  constructor(e) {
5467
5467
  this.options = e;
5468
5468
  }
5469
5469
  static create(e) {
5470
- return new Ce(
5471
- e.map((t) => new ot(t, t))
5470
+ return new Ae(
5471
+ e.map((t) => new rt(t, t))
5472
5472
  );
5473
5473
  }
5474
- render(e, t, s, o, i, r, l) {
5474
+ render(e, t, s, o, i, r, n) {
5475
5475
  if (i.isEditable(t, s)) {
5476
- l.addClass(e, "ge-table-row-select-div");
5477
- const n = i.getValueAt(t, s);
5476
+ n.addClass(e, "ge-table-row-select-div");
5477
+ const l = i.getValueAt(t, s);
5478
5478
  let c = [];
5479
5479
  for (let d of this.options) {
5480
- const u = d.value === n ? " selected " : "";
5480
+ const u = d.value === l ? " selected " : "";
5481
5481
  c.push(`<option value="${d.value}" ${u}>${d.label}</option>`);
5482
5482
  }
5483
5483
  const a = c.join("");
5484
5484
  e.innerHTML = `
5485
5485
  <select
5486
5486
  type="text"
5487
- value="${n}"
5487
+ value="${l}"
5488
5488
  autofocus
5489
5489
  data-listen="change"
5490
5490
  data-area="${o}"
@@ -5496,7 +5496,7 @@ class Ce {
5496
5496
  }
5497
5497
  }
5498
5498
  }
5499
- class ys extends oe {
5499
+ class Cs extends ie {
5500
5500
  constructor(e) {
5501
5501
  super("row", "multi"), this.model = e;
5502
5502
  }
@@ -5579,12 +5579,12 @@ class ys extends oe {
5579
5579
  this.isSelected(e, 0) ? this.unselectRow(e) : this.selectRow(e);
5580
5580
  }
5581
5581
  }
5582
- class Cs {
5582
+ class vs {
5583
5583
  constructor(e, t, s) {
5584
5584
  this.r = e, this.g = t, this.b = s;
5585
5585
  }
5586
5586
  }
5587
- class be {
5587
+ class xe {
5588
5588
  constructor(e, t, s, o) {
5589
5589
  this.minValue = e, this.minColor = t, this.maxValue = s, this.maxColor = o;
5590
5590
  }
@@ -5594,24 +5594,24 @@ class G {
5594
5594
  return (e - t) / (s - t) * (i - o) + o;
5595
5595
  }
5596
5596
  static getTwoColorGradientRGB(e, t) {
5597
- const s = G.normalize(e, t.minValue, t.maxValue, 0, 1), o = t.maxColor.r - t.minColor.r, i = t.maxColor.g - t.minColor.g, r = t.maxColor.b - t.minColor.b, l = o * s + t.minColor.r, n = i * s + t.minColor.g, c = r * s + t.minColor.b;
5598
- return `rgb(${Math.round(l)}, ${Math.round(n)}, ${Math.round(c)})`;
5597
+ const s = G.normalize(e, t.minValue, t.maxValue, 0, 1), o = t.maxColor.r - t.minColor.r, i = t.maxColor.g - t.minColor.g, r = t.maxColor.b - t.minColor.b, n = o * s + t.minColor.r, l = i * s + t.minColor.g, c = r * s + t.minColor.b;
5598
+ return `rgb(${Math.round(n)}, ${Math.round(l)}, ${Math.round(c)})`;
5599
5599
  }
5600
5600
  static getThreeColorGradientRGB(e, t) {
5601
- return e < t.middleValue ? G.getTwoColorGradientRGB(e, new be(t.minValue, t.minColor, t.middleValue, t.middleColor)) : e > t.middleValue ? G.getTwoColorGradientRGB(e, new be(t.middleValue, t.middleColor, t.maxValue, t.maxColor)) : `rgb(${t.middleColor.r}, ${t.middleColor.g}, ${t.middleColor.b})`;
5601
+ return e < t.middleValue ? G.getTwoColorGradientRGB(e, new xe(t.minValue, t.minColor, t.middleValue, t.middleColor)) : e > t.middleValue ? G.getTwoColorGradientRGB(e, new xe(t.middleValue, t.middleColor, t.maxValue, t.maxColor)) : `rgb(${t.middleColor.r}, ${t.middleColor.g}, ${t.middleColor.b})`;
5602
5602
  }
5603
5603
  }
5604
- class vs {
5604
+ class As {
5605
5605
  constructor(e, t, s, o, i, r) {
5606
5606
  this.minValue = e, this.minColor = t, this.middleValue = s, this.middleColor = o, this.maxValue = i, this.maxColor = r;
5607
5607
  }
5608
5608
  }
5609
- class at {
5610
- constructor(e = !0, t = !0, s = (r, l) => r * 10 + 10, o = 50, i = 450) {
5609
+ class ct {
5610
+ constructor(e = !0, t = !0, s = (r, n) => r * 10 + 10, o = 50, i = 450) {
5611
5611
  this.autoCalc = e, this.takeHeaderLabelsIntoAccount = t, this.charCountToWidth = s, this.minWidth = o, this.maxWidth = i;
5612
5612
  }
5613
5613
  }
5614
- class ct {
5614
+ class dt {
5615
5615
  constructor(e) {
5616
5616
  this.object = e;
5617
5617
  }
@@ -5623,7 +5623,7 @@ class ct {
5623
5623
  ${this.generateHtmlTable(this.object)}
5624
5624
  </div>
5625
5625
  <div class="ge-table-dialog-footer">
5626
- <button class="ge-table-dialog-footer-close-button" style="">Close</button>
5626
+ <button class="ge-table-dialog-footer-close-button primary" style="">Close</button>
5627
5627
  </div>
5628
5628
  `, document.body.appendChild(e), e.querySelector(".ge-table-dialog-footer-close-button").addEventListener("click", () => {
5629
5629
  e.close("close"), e.remove();
@@ -5649,21 +5649,103 @@ class ct {
5649
5649
  </table>`;
5650
5650
  }
5651
5651
  generateTableRows(e, t = "") {
5652
- const s = [], o = (i, r = null, l = !1) => `
5652
+ const s = [], o = (i, r = null, n = !1) => `
5653
5653
  <tr>
5654
- <td${l ? ' class="ge-table-crud-object-view-object-child"' : ""}>${i}</td>
5654
+ <td${n ? ' class="ge-table-crud-object-view-object-child"' : ""}>${i}</td>
5655
5655
  <td>${r ?? ""}</td>
5656
5656
  </tr>`;
5657
5657
  for (const i in e) {
5658
5658
  if (!e.hasOwnProperty(i))
5659
5659
  continue;
5660
- const r = e[i], l = this.getCombinedKey(t, i), n = this.getLabel(l);
5661
- typeof r == "object" && r !== null ? (s.push(o(n, null, !0)), s.push(this.generateTableRows(r, l))) : s.push(o(n, String(r)));
5660
+ const r = e[i], n = this.getCombinedKey(t, i), l = this.getLabel(n);
5661
+ typeof r == "object" && r !== null ? (s.push(o(l, null, !0)), s.push(this.generateTableRows(r, n))) : s.push(o(l, String(r)));
5662
5662
  }
5663
5663
  return s.join("");
5664
5664
  }
5665
5665
  }
5666
- class dt {
5666
+ class q {
5667
+ constructor(e, t, s = "Edit Item") {
5668
+ this.idKey = e, this.dialogTitle = s, this.object = { ...t };
5669
+ }
5670
+ openDialog(e) {
5671
+ const t = document.createElement("dialog");
5672
+ t.classList.add("ge-table-crud-object-edit"), t.innerHTML = `
5673
+ <div class="ge-table-dialog-header">${this.dialogTitle}</div>
5674
+ <div class="ge-table-dialog-content">
5675
+ ${this.generateForm(this.object)}
5676
+ </div>
5677
+ <div class="ge-table-dialog-footer">
5678
+ <button class="ge-table-dialog-footer-save-button primary">Save</button>
5679
+ <button class="ge-table-dialog-footer-cancel-button">Cancel</button>
5680
+ </div>
5681
+ `, document.body.appendChild(t);
5682
+ const s = t.querySelector(".ge-table-dialog-footer-save-button"), o = t.querySelector(".ge-table-dialog-footer-cancel-button");
5683
+ s.addEventListener("click", () => {
5684
+ const i = t.querySelector("form"), r = new FormData(i);
5685
+ for (const [n, l] of r)
5686
+ this.setNestedValue(this.object, n, l);
5687
+ e(this.object), t.close(), t.remove();
5688
+ }), o.addEventListener("click", () => {
5689
+ t.close(), t.remove();
5690
+ }), t.showModal();
5691
+ }
5692
+ generateForm(e, t = "") {
5693
+ const s = [];
5694
+ for (const o in e) {
5695
+ if (!e.hasOwnProperty(o) || this.idKey === o)
5696
+ continue;
5697
+ const i = this.getCombinedKey(t, o), r = this.getLabel(i), n = e[o];
5698
+ if (typeof n == "object" && n !== null)
5699
+ s.push(this.generateForm(n, i));
5700
+ else {
5701
+ let l;
5702
+ typeof n == "string" ? l = `<input type="text" id="${i}" name="${i}" value="${n}" />` : typeof n == "number" ? l = `<input type="number" id="${i}" name="${i}" value="${n}" />` : typeof n == "boolean" ? l = `<input type="checkbox" id="${i}" name="${i}" ${n ? "checked" : ""} />` : l = `<input type="text" id="${i}" name="${i}" value="${n}" />`, s.push(`
5703
+ <div class="form-field">
5704
+ <label for="${i}">${r}</label>
5705
+ ${l}
5706
+ </div>
5707
+ `);
5708
+ }
5709
+ }
5710
+ return `<form>${s.join("")}</form>`;
5711
+ }
5712
+ /*
5713
+ private generateForm(obj: any, parentKey: string = ''): string {
5714
+ const fields: string[] = [];
5715
+ for (const property in obj) {
5716
+ if (!obj.hasOwnProperty(property)) continue;
5717
+ const combinedKey = this.getCombinedKey(parentKey, property);
5718
+ const label = this.getLabel(combinedKey);
5719
+ const value = obj[property];
5720
+ if (typeof value === 'object' && value !== null) {
5721
+ fields.push(this.generateForm(value, combinedKey));
5722
+ } else {
5723
+ fields.push(`
5724
+ <div class="form-field">
5725
+ <label for="${combinedKey}">${label}</label>
5726
+ <input type="text" id="${combinedKey}" name="${combinedKey}" value="${value}" />
5727
+ </div>
5728
+ `);
5729
+ }
5730
+ }
5731
+ return `<form>${fields.join('')}</form>`;
5732
+ }
5733
+ */
5734
+ setNestedValue(e, t, s) {
5735
+ const o = t.split(".");
5736
+ let i = e;
5737
+ for (let r = 0; r < o.length - 1; r++)
5738
+ i[o[r]] || (i[o[r]] = {}), i = i[o[r]];
5739
+ i[o[o.length - 1]] = s;
5740
+ }
5741
+ getCombinedKey(e, t) {
5742
+ return e ? `${e}.${t}` : t;
5743
+ }
5744
+ getLabel(e) {
5745
+ return e.replace(/\./g, " ");
5746
+ }
5747
+ }
5748
+ class ht {
5667
5749
  constructor() {
5668
5750
  this.urls = {
5669
5751
  list: {
@@ -5671,14 +5753,15 @@ class dt {
5671
5753
  method: "GET"
5672
5754
  }
5673
5755
  }, this.singleRowActions = [
5674
- new $("VIEW", "View", "", "", "link"),
5675
- new $("EDIT", "Edit", "", "", "link"),
5676
- new $("CLONE", "Clone", "", "", "link"),
5677
- new $("DELETE", "Delete", "", "", "link")
5756
+ new P("VIEW", "View", "", "", "link"),
5757
+ new P("EDIT", "Edit", "", "", "link"),
5758
+ new P("CLONE", "Clone", "", "", "link"),
5759
+ new P("DELETE", "Delete", "", "", "link")
5760
+ // new CrudAction('CREATE', 'Create', '', '', 'link'),
5678
5761
  ], this.tableActions = [
5679
- new $("CREATE", "Create", "", "", "button"),
5680
- new $("DELETE_SELECTED", "Delete Selected", "", "", "button")
5681
- ], this.autoAddActionColumn = !0, this.columnWidths = new at(), this.calcFixedRightColumnCount = (e) => e > 6 ? 1 : 0, this.getHeadersInit = () => ({}), this.getIdByObject = (e) => "id" in e ? e.id : e, this.fetchList = (e) => {
5762
+ new P("CREATE", "Create", "", "", "button"),
5763
+ new P("DELETE_SELECTED", "Delete Selected", "", "", "button")
5764
+ ], this.autoAddActionColumn = !0, this.columnWidths = new ct(), this.calcFixedRightColumnCount = (e) => e > 6 ? 1 : 0, this.getHeadersInit = () => ({}), this.getIdKey = () => "id", this.getIdByObject = (e) => (this.getIdKey() ?? "id") in e ? e.id : e, this.fetchList = (e) => {
5682
5765
  const t = e.getHeadersInit ? e.getHeadersInit() : {};
5683
5766
  let s = e.urls.list.url, o = e.urls.list.method ?? "GET";
5684
5767
  return fetch(s, {
@@ -5686,83 +5769,141 @@ class dt {
5686
5769
  method: o
5687
5770
  }).then((i) => i.json());
5688
5771
  }, this.fetchItem = (e, t) => {
5689
- var r, l;
5772
+ var r, n;
5690
5773
  const s = e.getHeadersInit ? e.getHeadersInit() : {};
5691
5774
  let o = ((r = e.urls.read) == null ? void 0 : r.url) ?? "";
5692
5775
  o = o.replace("{id}", t);
5693
- let i = ((l = e.urls.read) == null ? void 0 : l.method) ?? "GET";
5776
+ let i = ((n = e.urls.read) == null ? void 0 : n.method) ?? "GET";
5694
5777
  return fetch(o, {
5695
5778
  headers: s,
5696
5779
  method: i
5697
- }).then((n) => n.json());
5780
+ }).then((l) => l.json());
5781
+ }, this.updateItem = (e, t, s) => {
5782
+ var n, l;
5783
+ const o = e.getHeadersInit ? e.getHeadersInit() : {};
5784
+ let i = ((n = e.urls.update) == null ? void 0 : n.url) ?? "";
5785
+ i = i.replace("{id}", t);
5786
+ let r = ((l = e.urls.update) == null ? void 0 : l.method) ?? "PATCH";
5787
+ return fetch(i, {
5788
+ headers: o,
5789
+ method: r,
5790
+ body: JSON.stringify(s)
5791
+ }).then((c) => c.json());
5792
+ }, this.createItem = (e, t) => {
5793
+ var r, n;
5794
+ const s = e.getHeadersInit ? e.getHeadersInit() : {};
5795
+ let o = ((r = e.urls.create) == null ? void 0 : r.url) ?? "", i = ((n = e.urls.create) == null ? void 0 : n.method) ?? "POST";
5796
+ return fetch(o, {
5797
+ headers: s,
5798
+ method: i,
5799
+ body: JSON.stringify(t)
5800
+ }).then((l) => l.json());
5698
5801
  }, this.deleteItem = (e, t) => {
5699
- var r, l;
5802
+ var r, n;
5700
5803
  const s = e.getHeadersInit ? e.getHeadersInit() : {};
5701
5804
  let o = ((r = e.urls.delete) == null ? void 0 : r.url) ?? "";
5702
5805
  o = o.replace("{id}", t);
5703
- let i = ((l = e.urls.delete) == null ? void 0 : l.method) ?? "GET";
5806
+ let i = ((n = e.urls.delete) == null ? void 0 : n.method) ?? "GET";
5704
5807
  return fetch(o, {
5705
5808
  headers: s,
5706
5809
  method: i
5707
- }).then((n) => n.json());
5708
- }, this.getId = (e) => e.id;
5810
+ }).then((l) => l.json());
5811
+ }, this.getEmptyItem = () => {
5812
+ };
5709
5813
  }
5710
5814
  }
5711
- class As {
5815
+ class Rs {
5712
5816
  constructor() {
5713
- this.crudOptions = new dt(), this.listenActionEvent = (e) => {
5817
+ this.crudOptions = new ht(), this.listenActionEvent = (e) => {
5714
5818
  };
5715
5819
  }
5716
5820
  createTableModel(e, t, s = (i) => {
5717
5821
  }, o = (i) => {
5718
5822
  }) {
5719
5823
  this.crudOptions = e, this.listenActionEvent = o, e.fetchList(e).then((i) => {
5720
- var r, l;
5824
+ var r, n;
5721
5825
  if (t.rows = i, i != null && i.length) {
5722
- const n = this.extractProperties(i[0]), c = new oe("row", "multi"), a = () => c;
5826
+ const l = this.extractProperties(i[0]), c = new ie("row", "multi"), a = () => c;
5723
5827
  this.tableOptions = {
5724
5828
  ...new z(),
5725
5829
  ...t.tableOptions,
5726
5830
  hoverColumnVisible: !1,
5727
5831
  getSelectionModel: a
5728
5832
  };
5729
- const d = this.calcAutoColumnWidths(i, n), u = (r = t.columnDefs) != null && r.length ? t.columnDefs : n.map((g, b) => new O(g, g.toUpperCase(), new x(d[b], "px")));
5833
+ const d = this.calcAutoColumnWidths(i, l), u = (r = t.columnDefs) != null && r.length ? t.columnDefs : l.map((g, b) => new _(g, g.toUpperCase(), new x(d[b], "px")));
5730
5834
  if (e.autoAddActionColumn) {
5731
- let g = new O(
5835
+ let g = new _(
5732
5836
  "id",
5733
5837
  "Actions",
5734
- Je,
5838
+ Qe,
5735
5839
  new k(["ge-table-text-align-left"], ["ge-table-text-align-left ge-table-actions-cell"], void 0)
5736
5840
  );
5737
5841
  g.rendererMap = new k(
5738
5842
  void 0,
5739
- new lt(this, e.singleRowActions),
5843
+ new at(this, e.singleRowActions),
5740
5844
  void 0
5741
5845
  ), u.push(g);
5742
5846
  }
5743
5847
  const f = 0, p = e.calcFixedRightColumnCount(u.length);
5744
- this.tableModel = _.buildByTypedRowsParam({
5848
+ this.tableModel = O.buildByTypedRowsParam({
5745
5849
  rows: i,
5746
5850
  columnDefs: u,
5747
5851
  tableOptions: this.tableOptions,
5748
5852
  fixedLeftColumnCount: f,
5749
5853
  fixedRightColumnCount: p
5750
- }), this.tableModel.getSelectionModel = a, this.bodyModel = (l = this.tableModel) == null ? void 0 : l.getBodyModel();
5751
- const m = new tt(this.tableModel, this.tableOptions);
5854
+ }), this.tableModel.getSelectionModel = a, this.bodyModel = (n = this.tableModel) == null ? void 0 : n.getBodyModel();
5855
+ const m = new ot(this.tableModel, this.tableOptions);
5752
5856
  s(m);
5753
5857
  }
5754
5858
  });
5755
5859
  }
5860
+ openDialogForCreate() {
5861
+ if (this.bodyModel) {
5862
+ const e = new ve("CREATE", "body", this.bodyModel, -1, -1, null);
5863
+ this.onActionEvent(e);
5864
+ }
5865
+ }
5756
5866
  onActionEvent(e) {
5757
- var t, s;
5867
+ var t, s, o, i;
5758
5868
  if (this.listenActionEvent && this.listenActionEvent(e), e.action === "VIEW") {
5759
- let o = e.id;
5760
- (t = this.crudOptions) == null || t.fetchItem(this.crudOptions, o).then((i) => (console.info(i), new ct(i).openDialog(), i));
5869
+ let r = e.id;
5870
+ (t = this.crudOptions) == null || t.fetchItem(this.crudOptions, r).then((n) => (console.info(n), new dt(n).openDialog(), n));
5871
+ } else if (e.action === "EDIT") {
5872
+ let r = e.id;
5873
+ const n = this.crudOptions.getIdKey() ?? "id";
5874
+ (s = this.crudOptions) == null || s.fetchItem(this.crudOptions, r).then((l) => (console.info(l), new q(
5875
+ n,
5876
+ l
5877
+ ).openDialog((c) => {
5878
+ console.info(c), this.crudOptions.updateItem(this.crudOptions, r, c);
5879
+ }), l));
5880
+ } else if (e.action === "CLONE") {
5881
+ let r = e.id;
5882
+ const n = this.crudOptions.getIdKey() ?? "id";
5883
+ (o = this.crudOptions) == null || o.fetchItem(this.crudOptions, r).then((l) => {
5884
+ const c = JSON.parse(JSON.stringify(l));
5885
+ return new q(
5886
+ n,
5887
+ c,
5888
+ "Clone Item"
5889
+ ).openDialog((a) => {
5890
+ console.info(a), this.crudOptions.createItem(this.crudOptions, a);
5891
+ }), c;
5892
+ });
5893
+ } else if (e.action === "CREATE") {
5894
+ const r = this.crudOptions.getIdKey() ?? "id", n = JSON.parse(JSON.stringify(this.crudOptions.getEmptyItem()));
5895
+ return new q(
5896
+ r,
5897
+ n,
5898
+ "Create Item"
5899
+ ).openDialog((l) => {
5900
+ console.info(l), this.crudOptions.createItem(this.crudOptions, n);
5901
+ }), n;
5761
5902
  } else if (e.action === "DELETE") {
5762
- let o = e.id;
5763
- (s = this.crudOptions) == null || s.deleteItem(this.crudOptions, o).then((i) => {
5764
- var r, l, n, c, a;
5765
- return (r = this.bodyModel) == null || r.filterRowsByPredict((d) => d.id != o), (n = (l = this.tableModel) == null ? void 0 : l.getTableScope()) == null || n.clearSelection(!0), (a = (c = this.tableModel) == null ? void 0 : c.getTableScope()) == null || a.repaintHard(), i;
5903
+ let r = e.id;
5904
+ (i = this.crudOptions) == null || i.deleteItem(this.crudOptions, r).then((n) => {
5905
+ var l, c, a, d, u;
5906
+ return (l = this.bodyModel) == null || l.filterRowsByPredict((f) => f.id != r), (a = (c = this.tableModel) == null ? void 0 : c.getTableScope()) == null || a.clearSelection(!0), (u = (d = this.tableModel) == null ? void 0 : d.getTableScope()) == null || u.repaintHard(), n;
5766
5907
  });
5767
5908
  }
5768
5909
  }
@@ -5782,12 +5923,12 @@ class As {
5782
5923
  const d = s[a].length || 0;
5783
5924
  d > r[a] && (r[a] = d);
5784
5925
  }
5785
- const l = this.crudOptions.columnWidths.minWidth, n = this.crudOptions.columnWidths.maxWidth;
5926
+ const n = this.crudOptions.columnWidths.minWidth, l = this.crudOptions.columnWidths.maxWidth;
5786
5927
  return r.map((a, d) => Math.min(
5787
- n,
5928
+ l,
5788
5929
  Math.max(
5789
5930
  this.crudOptions.columnWidths.charCountToWidth(a, d),
5790
- l
5931
+ n
5791
5932
  )
5792
5933
  ));
5793
5934
  }
@@ -5807,160 +5948,161 @@ class As {
5807
5948
  return s;
5808
5949
  }
5809
5950
  }
5810
- class Rs {
5951
+ class Es {
5811
5952
  constructor(e, t) {
5812
5953
  this.method = e, this.url = t;
5813
5954
  }
5814
5955
  }
5815
5956
  export {
5816
- re as AbstractAreaModel,
5817
- nt as ActionEvent,
5818
- lt as ActionsCellRenderer,
5819
- es as AreaMapFactory,
5820
- is as AreaModel,
5957
+ ne as AbstractAreaModel,
5958
+ ve as ActionEvent,
5959
+ at as ActionsCellRenderer,
5960
+ ts as AreaMapFactory,
5961
+ rs as AreaModel,
5821
5962
  D as AreaModelArrayOfArrays,
5822
- rs as AreaModelCellGroups,
5963
+ ns as AreaModelCellGroups,
5823
5964
  F as AreaModelHidden,
5824
- et as AreaModelObjectArray,
5825
- fe as AreaModelObjectArrayWithColumndefs,
5826
- ue as AreaModelTree,
5965
+ st as AreaModelObjectArray,
5966
+ me as AreaModelObjectArrayWithColumndefs,
5967
+ ge as AreaModelTree,
5827
5968
  k as AreaObjectMap,
5828
- os as AutoRestoreOptions,
5829
- ut as AvoidDoubleExecution,
5830
- it as CellGroup,
5831
- rt as CellGroupExt,
5832
- Q as CellGroupExtCellRenderer,
5969
+ is as AutoRestoreOptions,
5970
+ gt as AvoidDoubleExecution,
5971
+ nt as CellGroup,
5972
+ lt as CellGroupExt,
5973
+ ee as CellGroupExtCellRenderer,
5833
5974
  R as CellRange,
5834
5975
  T as CellgroupFactory,
5835
- as as CheckboxBooleanPropertyCellRenderer,
5836
- me as CheckboxCellRenderer,
5837
- Qt as CheckboxColumnDef,
5838
- Qe as CheckboxModel,
5839
- Ut as ChunkData,
5840
- Pe as ColAndRowspanModel,
5841
- Ie as CollapsedExpandedData,
5842
- Cs as ColorRgb,
5843
- O as ColumnDef,
5844
- at as ColumnWidths,
5845
- Re as ConvenienceDomService,
5976
+ cs as CheckboxBooleanPropertyCellRenderer,
5977
+ be as CheckboxCellRenderer,
5978
+ es as CheckboxColumnDef,
5979
+ tt as CheckboxModel,
5980
+ jt as ChunkData,
5981
+ Oe as ColAndRowspanModel,
5982
+ Fe as CollapsedExpandedData,
5983
+ vs as ColorRgb,
5984
+ _ as ColumnDef,
5985
+ ct as ColumnWidths,
5986
+ Me as ConvenienceDomService,
5846
5987
  U as CopyService,
5847
- $ as CrudAction,
5848
- ct as CrudObjectView,
5849
- dt as CrudOptions,
5850
- As as CrudTableModelFactory,
5851
- ae as CssVars,
5852
- ds as DateToIntlDDMMYYYYCellRenderer,
5853
- cs as DateToIsoCellRenderer,
5854
- hs as DateToLocaleDateCellRenderer,
5855
- fs as DateToTecCellRenderer,
5988
+ P as CrudAction,
5989
+ q as CrudObjectEdit,
5990
+ dt as CrudObjectView,
5991
+ ht as CrudOptions,
5992
+ Rs as CrudTableModelFactory,
5993
+ ce as CssVars,
5994
+ hs as DateToIntlDDMMYYYYCellRenderer,
5995
+ ds as DateToIsoCellRenderer,
5996
+ us as DateToLocaleDateCellRenderer,
5997
+ ms as DateToTecCellRenderer,
5856
5998
  V as DefaultRowHeights,
5857
- Le as EleScope,
5858
- le as EventAdapter,
5859
- Ke as ExcelService,
5860
- de as FalseFn,
5861
- Ue as FocusModel,
5862
- Be as GeCellIndices,
5999
+ Pe as EleScope,
6000
+ ae as EventAdapter,
6001
+ qe as ExcelService,
6002
+ he as FalseFn,
6003
+ Xe as FocusModel,
6004
+ We as GeCellIndices,
5863
6005
  G as GeCssColorUtil,
5864
- ns as GeFilterService,
5865
- ts as GeKeyEvent,
5866
- se as GeModelChangeEvent,
5867
- ee as GeMouseEvent,
6006
+ ls as GeFilterService,
6007
+ ss as GeKeyEvent,
6008
+ oe as GeModelChangeEvent,
6009
+ te as GeMouseEvent,
5868
6010
  L as GeoData,
5869
- P as Icon,
5870
- jt as IndexAndPx,
5871
- ze as InputCellRenderer,
5872
- Oe as InputHandler,
6011
+ $ as Icon,
6012
+ Xt as IndexAndPx,
6013
+ je as InputCellRenderer,
6014
+ He as InputHandler,
5873
6015
  B as LicenseManager,
5874
- us as MaleFemaleToIconCellRenderer,
5875
- Me as MouseHandler,
5876
- Ee as MouseTargetData,
5877
- ys as MultiRowsSelectionModel,
5878
- gs as NumberCellProgressBarCellRenderer,
5879
- ms as NumberCellRenderer,
5880
- Ve as OsxShortcutActionIdMapping,
5881
- pe as Padding,
5882
- ws as PositiveAndNegativeNumberRenderer,
5883
- xs as ProgressBarCellRenderer,
5884
- $e as RenderScope,
5885
- ls as Renderer,
5886
- st as RequestChunk,
5887
- Ye as ResizeHandler,
5888
- Ce as SelectCellRenderer,
5889
- oe as SelectionModel,
5890
- He as SelectionService,
5891
- Ne as ShortcutService,
5892
- Ge as SimpleDomService,
6016
+ gs as MaleFemaleToIconCellRenderer,
6017
+ ke as MouseHandler,
6018
+ Te as MouseTargetData,
6019
+ Cs as MultiRowsSelectionModel,
6020
+ ps as NumberCellProgressBarCellRenderer,
6021
+ bs as NumberCellRenderer,
6022
+ Ge as OsxShortcutActionIdMapping,
6023
+ fe as Padding,
6024
+ ys as PositiveAndNegativeNumberRenderer,
6025
+ ws as ProgressBarCellRenderer,
6026
+ _e as RenderScope,
6027
+ as as Renderer,
6028
+ it as RequestChunk,
6029
+ Je as ResizeHandler,
6030
+ Ae as SelectCellRenderer,
6031
+ ie as SelectionModel,
6032
+ Ve as SelectionService,
6033
+ ze as ShortcutService,
6034
+ Ue as SimpleDomService,
5893
6035
  x as Size,
5894
- _e as SortItem,
5895
- we as SortedOptions,
5896
- bs as StarRatingCellRenderer,
5897
- De as StoreStateCollapsedExpandService,
5898
- ke as StoreStateScrollPosService,
5899
- Fe as StoreStateSortingService,
5900
- Te as TableApi,
5901
- ss as TableCellUpdateEvent,
5902
- _ as TableFactory,
5903
- q as TableModel,
5904
- tt as TableModelAndOptions,
6036
+ Be as SortItem,
6037
+ ye as SortedOptions,
6038
+ xs as StarRatingCellRenderer,
6039
+ Le as StoreStateCollapsedExpandService,
6040
+ De as StoreStateScrollPosService,
6041
+ $e as StoreStateSortingService,
6042
+ Ie as TableApi,
6043
+ os as TableCellUpdateEvent,
6044
+ O as TableFactory,
6045
+ J as TableModel,
6046
+ ot as TableModelAndOptions,
5905
6047
  z as TableOptions,
5906
6048
  Se as TableScope,
5907
- vs as ThreeColorGradientArg,
5908
- ge as TreeCheckboxModel,
5909
- Z as TreeFactory,
5910
- xe as TreeOptions,
5911
- ce as TreeRow,
5912
- Ze as TreeRowService,
5913
- ps as TrueFalseCellRenderer,
5914
- qe as TrueFn,
5915
- be as TwoColorGradientArg,
5916
- Rs as UrlInfo,
5917
- ot as ValueLabel,
5918
- We as WindowsShortcutActionIdMapping,
5919
- zt as actionIds,
5920
- Jt as allCenter,
6049
+ As as ThreeColorGradientArg,
6050
+ pe as TreeCheckboxModel,
6051
+ Q as TreeFactory,
6052
+ we as TreeOptions,
6053
+ de as TreeRow,
6054
+ et as TreeRowService,
6055
+ fs as TrueFalseCellRenderer,
6056
+ Ze as TrueFn,
6057
+ xe as TwoColorGradientArg,
6058
+ Es as UrlInfo,
6059
+ rt as ValueLabel,
6060
+ Ne as WindowsShortcutActionIdMapping,
6061
+ Ut as actionIds,
6062
+ Zt as allCenter,
5921
6063
  qt as allLeft,
5922
- Zt as allRight,
6064
+ Qt as allRight,
5923
6065
  Yt as bodyCenter,
5924
- Xt as bodyLeft,
5925
- Kt as bodyRight,
5926
- ve as debounce,
6066
+ Kt as bodyLeft,
6067
+ Jt as bodyRight,
6068
+ Re as debounce,
5927
6069
  Ss as editInputPipeForNumber,
5928
- Y as getAreaIdentByString,
5929
- J as isAreaModelTree,
5930
- Ae as isCheckboxColumnDef,
6070
+ K as getAreaIdentByString,
6071
+ Z as isAreaModelTree,
6072
+ Ee as isCheckboxColumnDef,
5931
6073
  W as isTreeRow,
5932
- Gt as px0,
5933
- Nt as px10,
5934
- Lt as px100,
5935
- Ft as px110,
5936
- Dt as px120,
5937
- It as px130,
5938
- kt as px140,
5939
- Tt as px150,
5940
- Mt as px160,
5941
- Et as px170,
5942
- Rt as px180,
5943
- At as px190,
5944
- Vt as px20,
5945
- he as px200,
5946
- vt as px210,
5947
- Ct as px220,
5948
- yt as px230,
6074
+ zt as px0,
6075
+ Gt as px10,
6076
+ $t as px100,
6077
+ Lt as px110,
6078
+ Ft as px120,
6079
+ Dt as px130,
6080
+ It as px140,
6081
+ kt as px150,
6082
+ Tt as px160,
6083
+ Mt as px170,
6084
+ Et as px180,
6085
+ Rt as px190,
6086
+ Nt as px20,
6087
+ ue as px200,
6088
+ At as px210,
6089
+ vt as px220,
6090
+ Ct as px230,
5949
6091
  St as px240,
5950
- wt as px250,
5951
- xt as px260,
5952
- bt as px270,
5953
- mt as px280,
5954
- ft as px290,
5955
- Wt as px30,
5956
- Je as px300,
5957
- Ht as px40,
5958
- pt as px400,
5959
- Bt as px50,
5960
- gt as px500,
5961
- Ot as px60,
6092
+ yt as px250,
6093
+ wt as px260,
6094
+ xt as px270,
6095
+ bt as px280,
6096
+ mt as px290,
6097
+ Vt as px30,
6098
+ Qe as px300,
6099
+ Wt as px40,
6100
+ ft as px400,
6101
+ Ht as px50,
6102
+ pt as px500,
6103
+ Bt as px60,
5962
6104
  _t as px70,
5963
- $t as px80,
6105
+ Ot as px80,
5964
6106
  Pt as px90,
5965
- ht as throttle
6107
+ ut as throttle
5966
6108
  };