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