@guiexpert/table 1.1.82 → 1.1.83
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.cjs +21 -21
- package/index.d.ts +1 -0
- package/index.js +378 -356
- package/lib/table/data/common/event/ge-scroll-event.d.ts +14 -0
- package/lib/table/event-adapter.d.ts +2 -0
- package/lib/table/event-listener.if.d.ts +2 -0
- package/lib/table/table-scope.d.ts +1 -0
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
function
|
|
1
|
+
function Wt(d, e = 500) {
|
|
2
2
|
let t = null, s = 0;
|
|
3
3
|
return function(...o) {
|
|
4
4
|
const i = Date.now(), r = e - (i - s);
|
|
5
|
-
r <= 0 ? (
|
|
6
|
-
|
|
5
|
+
r <= 0 ? (d.apply(this, o), s = i) : t || (t = window.setTimeout(() => {
|
|
6
|
+
d.apply(this, o), s = Date.now(), t = null;
|
|
7
7
|
}, r));
|
|
8
8
|
};
|
|
9
9
|
}
|
|
10
|
-
function Ge(
|
|
10
|
+
function Ge(d, e = 500) {
|
|
11
11
|
let t = null;
|
|
12
12
|
return function(...s) {
|
|
13
13
|
t && window.clearTimeout(t), t = window.setTimeout(() => {
|
|
14
|
-
|
|
14
|
+
d.apply(this, s), t = null;
|
|
15
15
|
}, e);
|
|
16
16
|
};
|
|
17
17
|
}
|
|
18
|
-
function
|
|
18
|
+
function Nt(d = 500) {
|
|
19
19
|
return function(e, t, s) {
|
|
20
20
|
let o = 0;
|
|
21
21
|
const i = s.value;
|
|
22
22
|
return s.value = function(...r) {
|
|
23
|
-
if (!(Date.now() - o <
|
|
23
|
+
if (!(Date.now() - o < d))
|
|
24
24
|
return o = Date.now(), i.apply(this, r);
|
|
25
25
|
}, s;
|
|
26
26
|
};
|
|
27
27
|
}
|
|
28
|
-
const Fe = "any", j = "undefined", Pe = "null", _e = "string",
|
|
28
|
+
const Fe = "any", j = "undefined", Pe = "null", _e = "string", de = "number", he = "boolean", Le = "Array", U = "object", X = [Pe, j, Fe];
|
|
29
29
|
class Oe {
|
|
30
30
|
constructor(e) {
|
|
31
31
|
this.propertyName = e, this.type = Fe;
|
|
@@ -48,7 +48,7 @@ class je {
|
|
|
48
48
|
}
|
|
49
49
|
class Ue {
|
|
50
50
|
constructor(e) {
|
|
51
|
-
this.propertyName = e, this.type =
|
|
51
|
+
this.propertyName = e, this.type = de;
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
class Ye {
|
|
@@ -74,7 +74,7 @@ class F {
|
|
|
74
74
|
this.propertyName = e, this.className = t, this.properties = s, this.type = U;
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
|
-
class
|
|
77
|
+
class Gt {
|
|
78
78
|
constructor() {
|
|
79
79
|
this.rootPropertyType = null, this.allowCustomRenderer = !0, this.bufCustomRenderer = [], this.LABEL_MAPPINGS = {
|
|
80
80
|
Id: "ID",
|
|
@@ -123,7 +123,7 @@ class Nt {
|
|
|
123
123
|
const p = n.items.find((m) => m.type === U);
|
|
124
124
|
p && p instanceof F && (a = p.className);
|
|
125
125
|
}
|
|
126
|
-
const
|
|
126
|
+
const c = this.getReadableColumnLabel(l);
|
|
127
127
|
let h = 100, u = "", f = "ge-table-text-align-left";
|
|
128
128
|
if (n.type === Le) {
|
|
129
129
|
if (this.allowCustomRenderer && a) {
|
|
@@ -132,10 +132,10 @@ class Nt {
|
|
|
132
132
|
} else
|
|
133
133
|
u = " bodyRenderer: new SimpleArrayCellRenderer(),";
|
|
134
134
|
h = 250;
|
|
135
|
-
} else n.type ===
|
|
135
|
+
} else n.type === de ? (u = " bodyRenderer: new NumberCellRenderer(),", f = "ge-table-text-align-right") : n.type === he && (u = " bodyRenderer: new TrueFalseCellRenderer(),", f = "ge-table-text-align-center", h = 80);
|
|
136
136
|
e.push(` ColumnDef.create({
|
|
137
137
|
property: "${l}",
|
|
138
|
-
headerLabel: "${
|
|
138
|
+
headerLabel: "${c}",
|
|
139
139
|
width: new Size(${h}, "px"),
|
|
140
140
|
bodyClasses: ["${f}"],
|
|
141
141
|
headerClasses: ["${f}"],`), u && e.push(u), e.push(" }),");
|
|
@@ -270,22 +270,22 @@ class Ke {
|
|
|
270
270
|
}
|
|
271
271
|
}
|
|
272
272
|
const Se = "Entity";
|
|
273
|
-
function Xe(
|
|
274
|
-
let e = Je(qe(
|
|
273
|
+
function Xe(d) {
|
|
274
|
+
let e = Je(qe(d));
|
|
275
275
|
return e.includes(Se) || (e = e + Se), e;
|
|
276
276
|
}
|
|
277
|
-
function Je(
|
|
278
|
-
if (!
|
|
277
|
+
function Je(d) {
|
|
278
|
+
if (!d || d.length === 0) return d;
|
|
279
279
|
const e = ["Array", "Arr", "List", "s"];
|
|
280
280
|
for (const t of e)
|
|
281
|
-
if (
|
|
282
|
-
return
|
|
283
|
-
return
|
|
281
|
+
if (d.endsWith(t))
|
|
282
|
+
return d.slice(0, -t.length);
|
|
283
|
+
return d;
|
|
284
284
|
}
|
|
285
|
-
function qe(
|
|
286
|
-
return !
|
|
285
|
+
function qe(d) {
|
|
286
|
+
return !d || d.length === 0 ? "" : d[0].toUpperCase() + d.slice(1);
|
|
287
287
|
}
|
|
288
|
-
class
|
|
288
|
+
class zt {
|
|
289
289
|
constructor() {
|
|
290
290
|
this.debugging = !1;
|
|
291
291
|
}
|
|
@@ -517,8 +517,8 @@ class Gt {
|
|
|
517
517
|
const a = l[0];
|
|
518
518
|
if (a instanceof B) {
|
|
519
519
|
n = !0;
|
|
520
|
-
for (const
|
|
521
|
-
a.items.push(
|
|
520
|
+
for (const c of o.propertyItem.types)
|
|
521
|
+
a.items.push(c);
|
|
522
522
|
} else a instanceof F && (n = !0, a.properties.push(o.propertyItem));
|
|
523
523
|
}
|
|
524
524
|
if (!n)
|
|
@@ -556,8 +556,8 @@ class Gt {
|
|
|
556
556
|
if (n) {
|
|
557
557
|
const l = this.getFirstValueInfoByPath(e, n);
|
|
558
558
|
if (Array.isArray(l == null ? void 0 : l.value)) {
|
|
559
|
-
const a = (l == null ? void 0 : l.value.length) ?? 0,
|
|
560
|
-
a >
|
|
559
|
+
const a = (l == null ? void 0 : l.value.length) ?? 0, c = this.countPath(e, i.path);
|
|
560
|
+
a > c && (i.propertyItem.types.some((h) => h.type === j) || i.propertyItem.types.push(new se(i.property)));
|
|
561
561
|
}
|
|
562
562
|
}
|
|
563
563
|
}
|
|
@@ -581,14 +581,14 @@ class Gt {
|
|
|
581
581
|
const l = new Ke();
|
|
582
582
|
let a = r.split("/").pop() || "";
|
|
583
583
|
if (a === "[]" ? a = n : a === "root" && (a = t), l.property = a, l.value = i, l.path = r, l.propertyItem = this.createPropertyItem(i, l.property), s.push(l), i && typeof i === U && !Array.isArray(i)) {
|
|
584
|
-
for (const
|
|
585
|
-
if (i.hasOwnProperty(
|
|
586
|
-
const h = r ? `${r}/${
|
|
587
|
-
o(i[
|
|
584
|
+
for (const c in i)
|
|
585
|
+
if (i.hasOwnProperty(c)) {
|
|
586
|
+
const h = r ? `${r}/${c}` : c;
|
|
587
|
+
o(i[c], h, a);
|
|
588
588
|
}
|
|
589
|
-
} else Array.isArray(i) && i.forEach((
|
|
589
|
+
} else Array.isArray(i) && i.forEach((c, h) => {
|
|
590
590
|
const u = `${r}/[]`;
|
|
591
|
-
o(
|
|
591
|
+
o(c, u, a);
|
|
592
592
|
});
|
|
593
593
|
};
|
|
594
594
|
return o(e, "root", t), s.sort((i, r) => i.path.localeCompare(r.path));
|
|
@@ -599,10 +599,10 @@ class Gt {
|
|
|
599
599
|
]);
|
|
600
600
|
}
|
|
601
601
|
createPropertyType(e, t) {
|
|
602
|
-
return e === null ? new ze(t) : e === void 0 ? new se(t) : typeof e === _e ? new je(t) : typeof e ===
|
|
602
|
+
return e === null ? new ze(t) : e === void 0 ? new se(t) : typeof e === _e ? new je(t) : typeof e === de && !isNaN(e) ? new Ue(t) : typeof e === he ? new Ye(t) : Array.isArray(e) ? new B(t) : typeof e === U ? new F(t, Xe(t)) : new se(t);
|
|
603
603
|
}
|
|
604
604
|
}
|
|
605
|
-
class
|
|
605
|
+
class jt {
|
|
606
606
|
constructor() {
|
|
607
607
|
this.orOperator = "|", this.rootPropertyType = null, this.rootName = "Root", this.renderTypeScriptInterfacesFifo = [], this.renderTypeScriptInterfacesDone = [];
|
|
608
608
|
}
|
|
@@ -639,8 +639,8 @@ class zt {
|
|
|
639
639
|
if (a instanceof F)
|
|
640
640
|
a !== this.rootPropertyType && this.renderTypeScriptInterfacesFifo.push(a);
|
|
641
641
|
else if (a instanceof B)
|
|
642
|
-
for (const
|
|
643
|
-
|
|
642
|
+
for (const c of a.items)
|
|
643
|
+
c instanceof F && this.renderTypeScriptInterfacesFifo.push(c);
|
|
644
644
|
}
|
|
645
645
|
t.push("}"), t.push("");
|
|
646
646
|
}
|
|
@@ -692,18 +692,18 @@ class W {
|
|
|
692
692
|
}
|
|
693
693
|
}
|
|
694
694
|
}
|
|
695
|
-
function G(
|
|
696
|
-
return
|
|
695
|
+
function G(d) {
|
|
696
|
+
return d && d.type === "TreeRow";
|
|
697
697
|
}
|
|
698
|
-
function re(
|
|
699
|
-
return
|
|
698
|
+
function re(d) {
|
|
699
|
+
return d && d.type === "AreaModelTree";
|
|
700
700
|
}
|
|
701
|
-
function Ze(
|
|
702
|
-
return
|
|
701
|
+
function Ze(d) {
|
|
702
|
+
return d && d.type === "CheckboxColumnDef";
|
|
703
703
|
}
|
|
704
704
|
class ue {
|
|
705
|
-
constructor(e = -1, t = -1, s = -1, o = -1, i, r, n, l = 0, a = 0,
|
|
706
|
-
this.rowIndex = e, this.rowTop = t, this.columnIndex = s, this.columnLeft = o, this.areaIdent = i, this.sideIdent = r, this.originalEvent = n, this.clickCount = l, this.draggingX = a, this.draggingY =
|
|
705
|
+
constructor(e = -1, t = -1, s = -1, o = -1, i, r, n, l = 0, a = 0, c = 0, h = "") {
|
|
706
|
+
this.rowIndex = e, this.rowTop = t, this.columnIndex = s, this.columnLeft = o, this.areaIdent = i, this.sideIdent = r, this.originalEvent = n, this.clickCount = l, this.draggingX = a, this.draggingY = c, this.action = h;
|
|
707
707
|
}
|
|
708
708
|
clone() {
|
|
709
709
|
return new ue(
|
|
@@ -838,14 +838,14 @@ class Qe {
|
|
|
838
838
|
return this.domService.appendChild(e.child, l), l;
|
|
839
839
|
}
|
|
840
840
|
addColumnDiv(e) {
|
|
841
|
-
const { parent: t, geo: s, rowIndex: o = -1, columnIndex: i = -1, areaIdent: r, sideIdent: n, text: l = "", treeArrow: a, tableOptions:
|
|
841
|
+
const { parent: t, geo: s, rowIndex: o = -1, columnIndex: i = -1, areaIdent: r, sideIdent: n, text: l = "", treeArrow: a, tableOptions: c, checkedType: h = void 0, sortState: u } = e, f = c == null ? void 0 : c.treeOptions, p = c == null ? void 0 : c.showCheckboxWihoutExtraColumn, m = this.domService.createElement("div");
|
|
842
842
|
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}`);
|
|
843
843
|
const g = ((s == null ? void 0 : s.index) ?? 0) % 2 === 0 ? "even" : "odd";
|
|
844
844
|
if (r === "body" && n === "center" && this.domService.addClass(m, `ge-table-column-${g}`), this.domService.setStyle(m, "display", "clip"), this.domService.setStyle(m, "position", "absolute"), this.domService.setStyle(m, "left", `${s.left}px`), this.domService.setStyle(m, "top", `${s.top}px`), this.domService.setStyle(m, "width", `${s.width}px`), this.domService.setStyle(m, "height", `${s.height}px`), a && a !== "none" && (this.domService.addClass(m, "ge-table-col-tree"), this.addArrowDiv(m, a, f, o, i, r)), p && i === 0 && h && this.addCheckboxToDiv(m, h, r, o), l) {
|
|
845
845
|
const b = a !== "none" && i === 0;
|
|
846
846
|
this.addLabelDiv(m, l, b, o, i, r);
|
|
847
847
|
}
|
|
848
|
-
return u && this.addSortedIcon(m, u,
|
|
848
|
+
return u && this.addSortedIcon(m, u, c == null ? void 0 : c.sortedOptions, i), this.domService.appendChild(t, m), m;
|
|
849
849
|
}
|
|
850
850
|
addCheckboxToDiv(e, t, s, o) {
|
|
851
851
|
const i = this.domService.createElement("div"), r = t === "full" ? "checked" : "";
|
|
@@ -888,8 +888,8 @@ class Qe {
|
|
|
888
888
|
this.domService.addClass(n, "ge-table-tree-arrow-div"), this.domService.setStyle(n, "display", "inline-block"), this.domService.setStyle(n, "position", ""), this.domService.setStyle(n, "width", "20px"), this.domService.setStyle(n, "background", "transparent"), this.domService.setStyle(n, "cursor", "pointer"), this.domService.setAttribute(n, "data-row-index", `${o}`), this.domService.setAttribute(n, "data-col-index", `${i}`), this.domService.setAttribute(n, "data-area", `${r}`);
|
|
889
889
|
let l;
|
|
890
890
|
t === "expanded" ? l = s.arrowExpanded : t === "collapsed" ? l = s.arrowCollapsed : l = s.arrowPlaceholder;
|
|
891
|
-
const a = l.content,
|
|
892
|
-
this.domService.appendChild(n,
|
|
891
|
+
const a = l.content, c = this.domService.createText(a);
|
|
892
|
+
this.domService.appendChild(n, c), l.style && this.applyStyleString(n, l.style);
|
|
893
893
|
for (const h of l.classes)
|
|
894
894
|
this.domService.addClass(n, h);
|
|
895
895
|
return this.domService.appendChild(e, n), n;
|
|
@@ -934,7 +934,7 @@ class Qe {
|
|
|
934
934
|
return s ? (s.innerText = "", s) : (s = this.domService.createElement("div"), t.cache[e] = s, s);
|
|
935
935
|
}
|
|
936
936
|
}
|
|
937
|
-
const ee = (
|
|
937
|
+
const ee = (d) => d === "header" ? "header" : d === "footer" ? "footer" : "body";
|
|
938
938
|
class et {
|
|
939
939
|
constructor(e, t) {
|
|
940
940
|
if (this.rowIdx = -1, this.colIdx = -1, this.action = null, this.inputType = null, this.className = "", e !== null && (e instanceof HTMLDivElement || e instanceof HTMLSpanElement || e instanceof HTMLInputElement)) {
|
|
@@ -1044,8 +1044,8 @@ class tt {
|
|
|
1044
1044
|
var s, o, i, r, n;
|
|
1045
1045
|
const t = (o = (s = this.tableScope.tableOptions) == null ? void 0 : s.autoRestoreOptions) == null ? void 0 : o.getRowId;
|
|
1046
1046
|
if (t) {
|
|
1047
|
-
const l = (i = this.tableScope.storeStateCollapsedExpandService) == null ? void 0 : i.collapsedExpandedStateGet().mode, a = l === "collapsed" && !e.expanded || l === "expanded" && e.expanded,
|
|
1048
|
-
a ? (r = this.tableScope.storeStateCollapsedExpandService) == null || r.collapsedStateIdsPush(h) :
|
|
1047
|
+
const l = (i = this.tableScope.storeStateCollapsedExpandService) == null ? void 0 : i.collapsedExpandedStateGet().mode, a = l === "collapsed" && !e.expanded || l === "expanded" && e.expanded, c = l === "collapsed" && e.expanded || l === "expanded" && !e.expanded, h = t(e.data);
|
|
1048
|
+
a ? (r = this.tableScope.storeStateCollapsedExpandService) == null || r.collapsedStateIdsPush(h) : c && ((n = this.tableScope.storeStateCollapsedExpandService) == null || n.collapsedStateIdsRemove(h));
|
|
1049
1049
|
}
|
|
1050
1050
|
}
|
|
1051
1051
|
getArrowColumnIndex() {
|
|
@@ -2251,10 +2251,10 @@ class st {
|
|
|
2251
2251
|
for (const r of i) {
|
|
2252
2252
|
const n = this.tableScope.tableModel.getAreaModel(r), l = (n == null ? void 0 : n.getRowCount()) ?? 0;
|
|
2253
2253
|
for (let a = 0; a < l; a++) {
|
|
2254
|
-
const
|
|
2255
|
-
s.push(
|
|
2254
|
+
const c = [];
|
|
2255
|
+
s.push(c);
|
|
2256
2256
|
for (let h = 0; h < o; h++)
|
|
2257
|
-
|
|
2257
|
+
c.push(n.getValueAt(a, h));
|
|
2258
2258
|
}
|
|
2259
2259
|
}
|
|
2260
2260
|
return this.tableScope.excelService.downloadExcel(s, e, t);
|
|
@@ -3377,7 +3377,7 @@ class T {
|
|
|
3377
3377
|
this.header = e, this.body = t, this.footer = s;
|
|
3378
3378
|
}
|
|
3379
3379
|
}
|
|
3380
|
-
class
|
|
3380
|
+
class ct extends lt {
|
|
3381
3381
|
constructor(e, t, s, o) {
|
|
3382
3382
|
var r, n;
|
|
3383
3383
|
super(e, t, s, o), this.firstVisibleRowIndex = -1, this.lastVisibleRowIndex = -1, this.firstFullVisibleRowIndex = -1, this.lastFullVisibleRowIndex = -1, this.displayedRowCount = 0, this.pixelLimitForFullVisible = 5, this.loggingActive = !1, this.dragging = !1, this.editing = !1, this.storedColumnWidths = [], this.scrollLeft = 0, this.scrollViewportLeft = 0, this.scrollFactorY = 0, this.scrollFactorX = 0, this.cleanupFunctions = {
|
|
@@ -3527,9 +3527,9 @@ class dt extends lt {
|
|
|
3527
3527
|
const r = this.tableModel.getAreaModel(e), n = 'div[data-col-index="' + s + '"][data-row-index="' + t + '"][data-area="' + e + '"]', l = document.querySelector(n);
|
|
3528
3528
|
if (l) {
|
|
3529
3529
|
let a;
|
|
3530
|
-
const
|
|
3530
|
+
const c = this.editorRenderer && this.editorRendererRow === t && this.editorRendererColumn === s;
|
|
3531
3531
|
let h;
|
|
3532
|
-
if (
|
|
3532
|
+
if (c ? h = this.editorRenderer : h = r.getCellRenderer(t, s), l.innerText = "", this.applyCssClasses(l, i), h)
|
|
3533
3533
|
a = h.render(l, t, s, e, r, o, this.dom.domService), a && this.cleanupFunctions[e].push(a);
|
|
3534
3534
|
else {
|
|
3535
3535
|
const p = `${o}`;
|
|
@@ -3656,7 +3656,7 @@ class dt extends lt {
|
|
|
3656
3656
|
var g;
|
|
3657
3657
|
const s = this.getArea(e, "west"), o = this.getArea(e, "center"), i = this.getArea(e, "east"), r = o.child.clientHeight;
|
|
3658
3658
|
s.child.innerText = "", o.child.innerText = "", i.child.innerText = "";
|
|
3659
|
-
const n = 0, l = this.areaBodyCenterGeo.width, a = this.tableModel.getPadding(),
|
|
3659
|
+
const n = 0, l = this.areaBodyCenterGeo.width, a = this.tableModel.getPadding(), c = this.tableModel.getAreaModel(e), h = c.getRowCount();
|
|
3660
3660
|
for (; this.cleanupFunctions[e].length; ) {
|
|
3661
3661
|
const b = this.cleanupFunctions[e].shift();
|
|
3662
3662
|
b && b();
|
|
@@ -3673,7 +3673,7 @@ class dt extends lt {
|
|
|
3673
3673
|
if (this.adjustColumnsToRowParent({
|
|
3674
3674
|
areaIdent: e,
|
|
3675
3675
|
sideIdent: "center",
|
|
3676
|
-
areaModel:
|
|
3676
|
+
areaModel: c,
|
|
3677
3677
|
geo: C,
|
|
3678
3678
|
parent: x,
|
|
3679
3679
|
rowIndex: b,
|
|
@@ -3684,7 +3684,7 @@ class dt extends lt {
|
|
|
3684
3684
|
}), a.left > 0 && (C = { left: n, width: this.areaBodyWestGeo.width, height: R, top: w, index: b }, x = this.dom.addRowDiv(s, C, b, e, "west"), this.adjustColumnsToRowParent({
|
|
3685
3685
|
areaIdent: e,
|
|
3686
3686
|
sideIdent: "west",
|
|
3687
|
-
areaModel:
|
|
3687
|
+
areaModel: c,
|
|
3688
3688
|
geo: C,
|
|
3689
3689
|
parent: x,
|
|
3690
3690
|
rowIndex: b,
|
|
@@ -3695,7 +3695,7 @@ class dt extends lt {
|
|
|
3695
3695
|
})), a.right > 0 && (C = { left: n, width: this.areaBodyEastGeo.width, height: R, top: w, index: b }, x = this.dom.addRowDiv(i, C, b, e, "east"), this.adjustColumnsToRowParent({
|
|
3696
3696
|
areaIdent: e,
|
|
3697
3697
|
sideIdent: "east",
|
|
3698
|
-
areaModel:
|
|
3698
|
+
areaModel: c,
|
|
3699
3699
|
geo: C,
|
|
3700
3700
|
parent: x,
|
|
3701
3701
|
rowIndex: b,
|
|
@@ -3739,7 +3739,7 @@ render scope: this.lastFullVisibleRowIndex <- ` + this.lastFullVisibleRowIndex),
|
|
|
3739
3739
|
const x = this.areaBodyCenterGeo.width - this.tableModel.getContentWidthInPixel();
|
|
3740
3740
|
S = this.scrollFactorX * x - this.areaBodyWestGeo.width, C = "center";
|
|
3741
3741
|
}
|
|
3742
|
-
this.drawBigCell(w, S, t,
|
|
3742
|
+
this.drawBigCell(w, S, t, c, R, C);
|
|
3743
3743
|
}
|
|
3744
3744
|
}
|
|
3745
3745
|
}
|
|
@@ -3755,9 +3755,9 @@ render scope: this.lastFullVisibleRowIndex <- ` + this.lastFullVisibleRowIndex),
|
|
|
3755
3755
|
*/
|
|
3756
3756
|
drawBigCell(e, t, s, o, i, r) {
|
|
3757
3757
|
const n = s + this.getRowHeights(0, e.r1 - 1, o).reduce((g, b) => g + b, 0), l = this.tableModel.getColumnCount(), a = this.tableModel.getFixedRightColumnCount();
|
|
3758
|
-
let
|
|
3759
|
-
a > 0 && e.c1 >= l - a && (
|
|
3760
|
-
const h = t + this.getColumnWidths(
|
|
3758
|
+
let c = 0;
|
|
3759
|
+
a > 0 && e.c1 >= l - a && (c = l - a);
|
|
3760
|
+
const h = t + this.getColumnWidths(c, e.c1 - 1).reduce((g, b) => g + b, 0), u = this.getRowHeights(e.r1, e.r2, o).reduce((g, b) => g + b, 0), f = this.getColumnWidths(e.c1, e.c2).reduce((g, b) => g + b, 0);
|
|
3761
3761
|
let p = !1;
|
|
3762
3762
|
const m = this.getSelectionModel ? this.getSelectionModel() : void 0;
|
|
3763
3763
|
m && (p = m.getSelectionCount(e.r1, e.c1) > 0), e.gammaRange ? this.renderCell({
|
|
@@ -3835,7 +3835,7 @@ render scope: this.lastFullVisibleRowIndex <- ` + this.lastFullVisibleRowIndex),
|
|
|
3835
3835
|
columnIndexStart: n,
|
|
3836
3836
|
columnIndexEnd: l,
|
|
3837
3837
|
verticalFixed: a = !1,
|
|
3838
|
-
lastRowOfModel:
|
|
3838
|
+
lastRowOfModel: c = !1
|
|
3839
3839
|
}) {
|
|
3840
3840
|
var m;
|
|
3841
3841
|
this.scrollViewportLeft = this.scrollViewport.scrollLeft;
|
|
@@ -3873,7 +3873,7 @@ render scope: this.lastFullVisibleRowIndex <- ` + this.lastFullVisibleRowIndex),
|
|
|
3873
3873
|
height: S,
|
|
3874
3874
|
parent: i,
|
|
3875
3875
|
cellSelected: M,
|
|
3876
|
-
lastRowOfModel:
|
|
3876
|
+
lastRowOfModel: c,
|
|
3877
3877
|
gammaRange: !0
|
|
3878
3878
|
}), e === "header" && this.tableOptions.columnsResizable && this.renderHeaderCellResizeHandle({
|
|
3879
3879
|
rowIndex: r,
|
|
@@ -3913,7 +3913,7 @@ render scope: this.lastFullVisibleRowIndex <- ` + this.lastFullVisibleRowIndex),
|
|
|
3913
3913
|
width: n,
|
|
3914
3914
|
height: l,
|
|
3915
3915
|
top: a,
|
|
3916
|
-
parent:
|
|
3916
|
+
parent: c,
|
|
3917
3917
|
lastRowOfModel: h
|
|
3918
3918
|
}) {
|
|
3919
3919
|
var we;
|
|
@@ -3930,7 +3930,7 @@ render scope: this.lastFullVisibleRowIndex <- ` + this.lastFullVisibleRowIndex),
|
|
|
3930
3930
|
}
|
|
3931
3931
|
const S = e.getValueAt(o, i), R = f ? "" : `${S}`, C = e.isRowChecked(o), x = this.dom.addColumnDiv(
|
|
3932
3932
|
{
|
|
3933
|
-
parent:
|
|
3933
|
+
parent: c,
|
|
3934
3934
|
geo: p,
|
|
3935
3935
|
rowIndex: o,
|
|
3936
3936
|
columnIndex: i,
|
|
@@ -3949,9 +3949,9 @@ render scope: this.lastFullVisibleRowIndex <- ` + this.lastFullVisibleRowIndex),
|
|
|
3949
3949
|
let I;
|
|
3950
3950
|
f && (I = f.render(x, o, i, t, e, S, this.dom.domService));
|
|
3951
3951
|
const Y = e.getCustomClassesAt(o, i);
|
|
3952
|
-
if (Y.length && this.dom.addClasses(Y, x), this.dom.addColumnBorderDivs(this.tableOptions,
|
|
3952
|
+
if (Y.length && this.dom.addClasses(Y, x), this.dom.addColumnBorderDivs(this.tableOptions, c, p, t, s), h && this.dom.addHorizontalBorder({ left: r, width: n, height: l, top: a + l }, c), this.getFocusModel && t === "body") {
|
|
3953
3953
|
const v = this.getFocusModel();
|
|
3954
|
-
v != null && v.hasFocus(o, i) && this.dom.addFocusBorderDivs(
|
|
3954
|
+
v != null && v.hasFocus(o, i) && this.dom.addFocusBorderDivs(c, p, {});
|
|
3955
3955
|
}
|
|
3956
3956
|
t === "header" && this.dom.setAttribute(x, "data-ge-action", "drag-column");
|
|
3957
3957
|
const te = e.getCustomStyleAt(o, i);
|
|
@@ -4090,12 +4090,12 @@ render scope: this.lastFullVisibleRowIndex <- ` + this.lastFullVisibleRowIndex),
|
|
|
4090
4090
|
if (this.dragging) {
|
|
4091
4091
|
const r = this.hostElement.clientHeight, n = this.storedColumnWidths[t];
|
|
4092
4092
|
if ((o = e.originalEvent) != null && o.clientX) {
|
|
4093
|
-
const
|
|
4093
|
+
const c = { left: ((i = e.originalEvent) == null ? void 0 : i.clientX) - n / 2, width: n, height: r, top: 0, index: t };
|
|
4094
4094
|
this.dom.applyStyle(this.draggingColumn, {
|
|
4095
4095
|
background: "rgba(128,128,128,0.2)",
|
|
4096
4096
|
display: "block",
|
|
4097
4097
|
overfllow: "clip"
|
|
4098
|
-
}), this.dom.applyStyleInPx(this.draggingColumn,
|
|
4098
|
+
}), this.dom.applyStyleInPx(this.draggingColumn, c), s && this.renderContentOfDraggingColumn(c);
|
|
4099
4099
|
}
|
|
4100
4100
|
} else
|
|
4101
4101
|
this.hideDraggingColumn();
|
|
@@ -4124,7 +4124,7 @@ render scope: this.lastFullVisibleRowIndex <- ` + this.lastFullVisibleRowIndex),
|
|
|
4124
4124
|
if (r) {
|
|
4125
4125
|
const n = e.index ?? 0, l = this.draggingColumn;
|
|
4126
4126
|
for (let a = 0; a < r; a++) {
|
|
4127
|
-
const
|
|
4127
|
+
const c = s, h = i.getRowHeight(a), u = { left: 0, width: e.width, height: h, top: c, index: a }, f = i.getValueAt(a, n), p = i.getCellRenderer(a, n), m = p ? "" : `${f}`, g = {
|
|
4128
4128
|
parent: l,
|
|
4129
4129
|
geo: u,
|
|
4130
4130
|
rowIndex: a,
|
|
@@ -4192,7 +4192,7 @@ render scope: this.lastFullVisibleRowIndex <- ` + this.lastFullVisibleRowIndex),
|
|
|
4192
4192
|
* @param {number} height - The height of the div.
|
|
4193
4193
|
* @returns {boolean} - Whether the cell is selected.
|
|
4194
4194
|
*/
|
|
4195
|
-
renderSelectedBackgroundDiv(e, t, s, o, i, r, n, l, a,
|
|
4195
|
+
renderSelectedBackgroundDiv(e, t, s, o, i, r, n, l, a, c, h) {
|
|
4196
4196
|
let u = !1;
|
|
4197
4197
|
if (!e && t && o.isSelectable(i, r) && this.getSelectionModel) {
|
|
4198
4198
|
const f = this.getSelectionModel();
|
|
@@ -4204,7 +4204,7 @@ render scope: this.lastFullVisibleRowIndex <- ` + this.lastFullVisibleRowIndex),
|
|
|
4204
4204
|
// ge-table-body-west-selected-range
|
|
4205
4205
|
this.dom.createDivWithClass(`ge-table-${o.areaIdent}-${s}-selected-range`, n)
|
|
4206
4206
|
);
|
|
4207
|
-
this.dom.setStyle(g, "left", `${l}px`), this.dom.setStyle(g, "top", `${a}px`), this.dom.setStyle(g, "width", `${
|
|
4207
|
+
this.dom.setStyle(g, "left", `${l}px`), this.dom.setStyle(g, "top", `${a}px`), this.dom.setStyle(g, "width", `${c}px`), this.dom.setStyle(g, "height", `${h}px`);
|
|
4208
4208
|
}
|
|
4209
4209
|
}
|
|
4210
4210
|
}
|
|
@@ -4239,7 +4239,7 @@ render scope: this.lastFullVisibleRowIndex <- ` + this.lastFullVisibleRowIndex),
|
|
|
4239
4239
|
top: n,
|
|
4240
4240
|
width: l,
|
|
4241
4241
|
height: a,
|
|
4242
|
-
parent:
|
|
4242
|
+
parent: c,
|
|
4243
4243
|
cellSelected: h,
|
|
4244
4244
|
lastRowOfModel: u
|
|
4245
4245
|
}) {
|
|
@@ -4253,7 +4253,7 @@ render scope: this.lastFullVisibleRowIndex <- ` + this.lastFullVisibleRowIndex),
|
|
|
4253
4253
|
width: l,
|
|
4254
4254
|
height: a,
|
|
4255
4255
|
top: n,
|
|
4256
|
-
parent:
|
|
4256
|
+
parent: c,
|
|
4257
4257
|
lastRowOfModel: u
|
|
4258
4258
|
});
|
|
4259
4259
|
h && this.dom.addClass(`ge-table-${t}-${s}-selected-range`, f), p && this.cleanupFunctions[t].push(p);
|
|
@@ -4273,11 +4273,11 @@ render scope: this.lastFullVisibleRowIndex <- ` + this.lastFullVisibleRowIndex),
|
|
|
4273
4273
|
* @return {void}
|
|
4274
4274
|
*/
|
|
4275
4275
|
renderHeaderCellResizeHandle({ rowIndex: e, columnIndex: t, cellLeft: s, cellTop: o, cellWidth: i, cellHeight: r, parent: n }) {
|
|
4276
|
-
const l = this.dom.domService, a = this.tableOptions.columnResizeHandleWidthInPx ?? 2,
|
|
4277
|
-
l.setAttribute(
|
|
4276
|
+
const l = this.dom.domService, a = this.tableOptions.columnResizeHandleWidthInPx ?? 2, c = l.createElement("div");
|
|
4277
|
+
l.setAttribute(c, "data-col-index", `${t}`), l.setAttribute(c, "data-row-index", `${e}`), l.setAttribute(c, "data-area", "header"), l.setAttribute(c, "data-ge-action", "resize-column"), l.addClass(c, "ge-table-column-resize-handle"), l.setStyle(c, "display", "clip"), l.setStyle(c, "position", "absolute"), l.setStyle(c, "cursor", "col-resize"), l.setStyle(c, "left", `${s + i - a}px`), l.setStyle(c, "top", `${o}px`), l.setStyle(c, "width", `${a}px`), l.setStyle(c, "height", `${r}px`), l.appendChild(n, c);
|
|
4278
4278
|
}
|
|
4279
4279
|
}
|
|
4280
|
-
class
|
|
4280
|
+
class dt {
|
|
4281
4281
|
constructor(e, t) {
|
|
4282
4282
|
this.columnIndex = e, this.sortState = t;
|
|
4283
4283
|
}
|
|
@@ -4318,16 +4318,21 @@ class me {
|
|
|
4318
4318
|
}
|
|
4319
4319
|
}
|
|
4320
4320
|
class pt {
|
|
4321
|
+
constructor(e, t, s, o, i, r, n, l) {
|
|
4322
|
+
this.scrollTop = e, this.scrollLeft = t, this.scrollHeight = s, this.scrollWidth = o, this.clientHeight = i, this.clientWidth = r, this.scrollFactorY = n, this.scrollFactorX = l;
|
|
4323
|
+
}
|
|
4324
|
+
}
|
|
4325
|
+
class gt {
|
|
4321
4326
|
constructor(e) {
|
|
4322
4327
|
var t, s;
|
|
4323
4328
|
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);
|
|
4324
4329
|
}
|
|
4325
4330
|
onMouseClicked(e, t) {
|
|
4326
|
-
var i, r, n, l, a,
|
|
4331
|
+
var i, r, n, l, a, c, h;
|
|
4327
4332
|
let s = !1, o = !1;
|
|
4328
4333
|
if (this.getSelectionModel && this.getFocusModel) {
|
|
4329
4334
|
const u = this.getSelectionModel(), f = this.getFocusModel();
|
|
4330
|
-
u && f && (f.hasFocus(e.rowIndex, e.columnIndex) || (f.setFocus(e.rowIndex, e.columnIndex), this.tableScope.onFocusChanged(f), s = !0), (i = e.originalEvent) != null && i.shiftKey || u.hasSelection() && (u.clear(), s = !0), (r = e.originalEvent) != null && r.shiftKey && this.previousEvt ? (u.addSelection(this.createRangeByEvents(e, this.previousEvt)), o = !0, s = !0) : (n = e.originalEvent) != null && n.altKey && ((l = e.originalEvent) != null && l.ctrlKey || (a = e.originalEvent) != null && a.metaKey) ? (u.removeSelection(A.singleCell(e.rowIndex, e.columnIndex)), o = !0, s = !0) : (
|
|
4335
|
+
u && f && (f.hasFocus(e.rowIndex, e.columnIndex) || (f.setFocus(e.rowIndex, e.columnIndex), this.tableScope.onFocusChanged(f), s = !0), (i = e.originalEvent) != null && i.shiftKey || u.hasSelection() && (u.clear(), s = !0), (r = e.originalEvent) != null && r.shiftKey && this.previousEvt ? (u.addSelection(this.createRangeByEvents(e, this.previousEvt)), o = !0, s = !0) : (n = e.originalEvent) != null && n.altKey && ((l = e.originalEvent) != null && l.ctrlKey || (a = e.originalEvent) != null && a.metaKey) ? (u.removeSelection(A.singleCell(e.rowIndex, e.columnIndex)), o = !0, s = !0) : (c = e.originalEvent) != null && c.ctrlKey || (h = e.originalEvent) != null && h.metaKey ? (u.addSelection(A.singleCell(e.rowIndex, e.columnIndex)), o = !0, s = !0) : (u.firstClick(e.rowIndex, e.columnIndex), s = !0), this.tableScope.onSelectionChanged(u));
|
|
4331
4336
|
}
|
|
4332
4337
|
return o ? this.previousEvt = void 0 : this.previousEvt = e == null ? void 0 : e.clone(), s;
|
|
4333
4338
|
}
|
|
@@ -4358,7 +4363,7 @@ class pt {
|
|
|
4358
4363
|
});
|
|
4359
4364
|
}
|
|
4360
4365
|
}
|
|
4361
|
-
class
|
|
4366
|
+
class ft {
|
|
4362
4367
|
get() {
|
|
4363
4368
|
return {
|
|
4364
4369
|
f2: "START_EDITING",
|
|
@@ -4378,7 +4383,7 @@ class gt {
|
|
|
4378
4383
|
};
|
|
4379
4384
|
}
|
|
4380
4385
|
}
|
|
4381
|
-
class
|
|
4386
|
+
class mt {
|
|
4382
4387
|
get() {
|
|
4383
4388
|
return {
|
|
4384
4389
|
f2: "START_EDITING",
|
|
@@ -4400,23 +4405,23 @@ class ft {
|
|
|
4400
4405
|
};
|
|
4401
4406
|
}
|
|
4402
4407
|
}
|
|
4403
|
-
function
|
|
4404
|
-
return
|
|
4408
|
+
function bt(d) {
|
|
4409
|
+
return d.trim().replace(/\+/g, " ").replace(/ +/g, " ").replace(/⌫/g, "backspace").replace(/↩/g, "enter").replace(/⇧/g, "shift").replace(/⌥/g, "alt").replace(/option/g, "alt").replace(/opt/g, "alt").replace(/⌃/g, "ctrl").replace(/control/g, "ctrl").replace(/command/g, "cmd").replace(/meta/g, "cmd").replace(/escape/g, "esc").replace(/⌘/g, "cmd").replace(/\*/g, "multiply").split(" ").filter((e) => e).filter((e, t, s) => s.indexOf(e) === t).sort((e, t) => {
|
|
4405
4410
|
const s = { cmd: 1, ctrl: 2, alt: 3, shift: 4 }, o = s[e] || 5, i = s[t] || 5;
|
|
4406
4411
|
return o !== i ? o - i : e.localeCompare(t);
|
|
4407
4412
|
}).join(" ");
|
|
4408
4413
|
}
|
|
4409
|
-
function Ce(
|
|
4410
|
-
let e =
|
|
4411
|
-
if (e === " " && (e = "space"), e === "arrowleft" && (e = "left"), e === "arrowright" && (e = "right"), e === "arrowup" && (e = "up"), e === "arrowdown" && (e = "down"), e === "delete" &&
|
|
4412
|
-
const s =
|
|
4414
|
+
function Ce(d) {
|
|
4415
|
+
let e = d.key.toLowerCase();
|
|
4416
|
+
if (e === " " && (e = "space"), e === "arrowleft" && (e = "left"), e === "arrowright" && (e = "right"), e === "arrowup" && (e = "up"), e === "arrowdown" && (e = "down"), e === "delete" && d.code === "Delete" && (e = "delete"), e === "backspace" && (e = "backspace"), e === "escape" && (e = "esc"), e === "return" && (e = "enter"), d.code.startsWith("Numpad")) {
|
|
4417
|
+
const s = d.code.replace("Numpad", "").toLowerCase();
|
|
4413
4418
|
s === "add" ? e = "num_add" : s === "subtract" ? e = "num_subtract" : s === "multiply" ? e = "num_multiply" : s === "divide" ? e = "num_divide" : s === "decimal" ? e = "num_decimal" : s === "enter" ? e = "num_enter" : e = "num_" + s;
|
|
4414
4419
|
}
|
|
4415
|
-
|
|
4420
|
+
d.code.match(/^F\d+$/) && (e = d.code.toLowerCase()), d.code.match(/^Digit\d+$/) && (e = d.code.replace(/Digit/g, ""));
|
|
4416
4421
|
let t = "";
|
|
4417
|
-
return
|
|
4422
|
+
return d.ctrlKey && (t += " ctrl"), d.altKey && (t += t + " alt"), d.shiftKey && (t += t + " shift"), d.metaKey && (t += t + " cmd"), bt(t + " " + e);
|
|
4418
4423
|
}
|
|
4419
|
-
class
|
|
4424
|
+
class yt {
|
|
4420
4425
|
constructor(e) {
|
|
4421
4426
|
this.tableScope = e, this.shortcutActionIdMapping = {}, this.listener = [], this.listener.push(e), this.init();
|
|
4422
4427
|
}
|
|
@@ -4438,7 +4443,7 @@ class bt {
|
|
|
4438
4443
|
(t = (e = this.tableScope) == null ? void 0 : e.tableOptions) != null && t.shortcutActionsDisabled ? this.isDebug() && console.debug("ShortcutService skipped.") : (this.assignPredefinedSystemShortcutMappings(), Object.assign(this.shortcutActionIdMapping, this.tableScope.tableOptions.shortcutActionIdMapping), this.isDebug() && console.debug("ShortcutService", this.shortcutActionIdMapping), this.tableScope.hostElement.addEventListener("keydown", this.onKeyDown.bind(this)));
|
|
4439
4444
|
}
|
|
4440
4445
|
assignPredefinedSystemShortcutMappings() {
|
|
4441
|
-
this.isMacintosh() ? Object.assign(this.shortcutActionIdMapping, new
|
|
4446
|
+
this.isMacintosh() ? Object.assign(this.shortcutActionIdMapping, new mt().get()) : Object.assign(this.shortcutActionIdMapping, new ft().get());
|
|
4442
4447
|
}
|
|
4443
4448
|
isMacintosh() {
|
|
4444
4449
|
return navigator.platform.indexOf("Mac") > -1;
|
|
@@ -4526,12 +4531,14 @@ class ne {
|
|
|
4526
4531
|
}
|
|
4527
4532
|
onMouseMoved(e) {
|
|
4528
4533
|
}
|
|
4534
|
+
onScroll(e) {
|
|
4535
|
+
}
|
|
4529
4536
|
onSelectionChanged(e) {
|
|
4530
4537
|
}
|
|
4531
4538
|
onFocusChanged(e) {
|
|
4532
4539
|
}
|
|
4533
4540
|
}
|
|
4534
|
-
class
|
|
4541
|
+
class wt {
|
|
4535
4542
|
setStyle(e, t, s) {
|
|
4536
4543
|
return e.style[t] = s, e;
|
|
4537
4544
|
}
|
|
@@ -4558,7 +4565,7 @@ class yt {
|
|
|
4558
4565
|
e.setAttribute(t, s);
|
|
4559
4566
|
}
|
|
4560
4567
|
}
|
|
4561
|
-
class
|
|
4568
|
+
class xt {
|
|
4562
4569
|
render(e, t, s, o, i, r, n) {
|
|
4563
4570
|
if (i.isEditable(t, s)) {
|
|
4564
4571
|
n.addClass(e, "ge-table-row-input-div");
|
|
@@ -4661,7 +4668,7 @@ class be {
|
|
|
4661
4668
|
this.selectionType !== "none" && (this.allSelected = !1, this.selectionMode === "single" && (this.ranges = []), this.selectionType === "row" ? (e.c1 = 0, e.c2 = Number.MAX_SAFE_INTEGER) : this.selectionType === "column" ? (e.r1 = 0, e.r2 = Number.MAX_SAFE_INTEGER) : this.selectionType === "cell" ? (e.r2 = e.r1, e.c2 = e.c1) : this.selectionType, this.ranges.push(e), this.fireChangeEvent());
|
|
4662
4669
|
}
|
|
4663
4670
|
}
|
|
4664
|
-
class
|
|
4671
|
+
class St {
|
|
4665
4672
|
constructor(e = "none") {
|
|
4666
4673
|
this.selectionType = e, this.rowIndex = -1, this.columnIndex = -1, this.changed = !1, this.listenerArr = [];
|
|
4667
4674
|
}
|
|
@@ -4712,14 +4719,14 @@ class ye {
|
|
|
4712
4719
|
}
|
|
4713
4720
|
// `⊖ `, `⊕ `;
|
|
4714
4721
|
}
|
|
4715
|
-
const
|
|
4722
|
+
const Ct = new be(), vt = new St("cell");
|
|
4716
4723
|
class J {
|
|
4717
4724
|
constructor() {
|
|
4718
4725
|
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 = {
|
|
4719
4726
|
header: 34,
|
|
4720
4727
|
body: 34,
|
|
4721
4728
|
footer: 34
|
|
4722
|
-
}, this.footerVerticalSeparator = !1, this.headerToggleExpandCollapseIcons = !1, this.headerVerticalSeparator = !1, this.treeOptions = new Ve(), this.headerGroupOptions = new ye(), this.showCheckboxWihoutExtraColumn = !1, this.externalFilterFunction = void 0, this.sortedOptions = new Be(), this.sortOrder = ["asc", "desc"], this.shortcutActionsDisabled = !1, this.resizeEventDebounceDelay = 500, this.getEditRenderer = (e, t) => new
|
|
4729
|
+
}, this.footerVerticalSeparator = !1, this.headerToggleExpandCollapseIcons = !1, this.headerVerticalSeparator = !1, this.treeOptions = new Ve(), this.headerGroupOptions = new ye(), this.showCheckboxWihoutExtraColumn = !1, this.externalFilterFunction = void 0, this.sortedOptions = new Be(), this.sortOrder = ["asc", "desc"], this.shortcutActionsDisabled = !1, this.resizeEventDebounceDelay = 500, this.getEditRenderer = (e, t) => new xt(), this.getSelectionModel = () => Ct, this.getFocusModel = () => vt;
|
|
4723
4730
|
}
|
|
4724
4731
|
}
|
|
4725
4732
|
const N = class N {
|
|
@@ -4741,8 +4748,8 @@ const N = class N {
|
|
|
4741
4748
|
const n = [];
|
|
4742
4749
|
for (let l = r.r1; l <= r.r2; l++) {
|
|
4743
4750
|
const a = [];
|
|
4744
|
-
for (let
|
|
4745
|
-
const h = t.isSelected(l,
|
|
4751
|
+
for (let c = r.c1; c <= r.c2; c++) {
|
|
4752
|
+
const h = t.isSelected(l, c) ? e.getBodyModel().getTextValueAt(l, c) : "";
|
|
4746
4753
|
a.push(h);
|
|
4747
4754
|
}
|
|
4748
4755
|
n.push(a.join(N.columnSeparatorChar));
|
|
@@ -4807,7 +4814,7 @@ const N = class N {
|
|
|
4807
4814
|
N.columnSeparatorChar = " ", N.rowSeparatorChar = `
|
|
4808
4815
|
`;
|
|
4809
4816
|
let q = N;
|
|
4810
|
-
class
|
|
4817
|
+
class Rt {
|
|
4811
4818
|
constructor(e, t = 500) {
|
|
4812
4819
|
this.tableScope = e, this.debounceDelay = t, new ResizeObserver(Ge(this.handleResize.bind(this), t)).observe(this.tableScope.hostElement);
|
|
4813
4820
|
}
|
|
@@ -4816,7 +4823,7 @@ class vt {
|
|
|
4816
4823
|
this.tableScope.recalcColumnWidths(s);
|
|
4817
4824
|
}
|
|
4818
4825
|
}
|
|
4819
|
-
class
|
|
4826
|
+
class At {
|
|
4820
4827
|
/**
|
|
4821
4828
|
* Downloads a matrix data as an Excel file.
|
|
4822
4829
|
*
|
|
@@ -4848,10 +4855,10 @@ class Rt {
|
|
|
4848
4855
|
<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Id="rId3" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles" Target="styles.xml"/><Relationship Id="rId2" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme" Target="theme/theme1.xml"/><Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet" Target="worksheets/sheet1.xml"/><Relationship Id="rId4" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings" Target="sharedStrings.xml"/></Relationships>`, n = `<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
4849
4856
|
<a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme"><a:themeElements><a:clrScheme name="Office"><a:dk1><a:sysClr val="windowText" lastClr="000000"/></a:dk1><a:lt1><a:sysClr val="window" lastClr="FFFFFF"/></a:lt1><a:dk2><a:srgbClr val="0E2841"/></a:dk2><a:lt2><a:srgbClr val="E8E8E8"/></a:lt2><a:accent1><a:srgbClr val="156082"/></a:accent1><a:accent2><a:srgbClr val="E97132"/></a:accent2><a:accent3><a:srgbClr val="196B24"/></a:accent3><a:accent4><a:srgbClr val="0F9ED5"/></a:accent4><a:accent5><a:srgbClr val="A02B93"/></a:accent5><a:accent6><a:srgbClr val="4EA72E"/></a:accent6><a:hlink><a:srgbClr val="467886"/></a:hlink><a:folHlink><a:srgbClr val="96607D"/></a:folHlink></a:clrScheme><a:fontScheme name="Office"><a:majorFont><a:latin typeface="Aptos Display" panose="02110004020202020204"/><a:ea typeface=""/><a:cs typeface=""/><a:font script="Jpan" typeface="游ゴシック Light"/><a:font script="Hang" typeface="맑은 고딕"/><a:font script="Hans" typeface="等线 Light"/><a:font script="Hant" typeface="新細明體"/><a:font script="Arab" typeface="Times New Roman"/><a:font script="Hebr" typeface="Times New Roman"/><a:font script="Thai" typeface="Tahoma"/><a:font script="Ethi" typeface="Nyala"/><a:font script="Beng" typeface="Vrinda"/><a:font script="Gujr" typeface="Shruti"/><a:font script="Khmr" typeface="MoolBoran"/><a:font script="Knda" typeface="Tunga"/><a:font script="Guru" typeface="Raavi"/><a:font script="Cans" typeface="Euphemia"/><a:font script="Cher" typeface="Plantagenet Cherokee"/><a:font script="Yiii" typeface="Microsoft Yi Baiti"/><a:font script="Tibt" typeface="Microsoft Himalaya"/><a:font script="Thaa" typeface="MV Boli"/><a:font script="Deva" typeface="Mangal"/><a:font script="Telu" typeface="Gautami"/><a:font script="Taml" typeface="Latha"/><a:font script="Syrc" typeface="Estrangelo Edessa"/><a:font script="Orya" typeface="Kalinga"/><a:font script="Mlym" typeface="Kartika"/><a:font script="Laoo" typeface="DokChampa"/><a:font script="Sinh" typeface="Iskoola Pota"/><a:font script="Mong" typeface="Mongolian Baiti"/><a:font script="Viet" typeface="Times New Roman"/><a:font script="Uigh" typeface="Microsoft Uighur"/><a:font script="Geor" typeface="Sylfaen"/><a:font script="Armn" typeface="Arial"/><a:font script="Bugi" typeface="Leelawadee UI"/><a:font script="Bopo" typeface="Microsoft JhengHei"/><a:font script="Java" typeface="Javanese Text"/><a:font script="Lisu" typeface="Segoe UI"/><a:font script="Mymr" typeface="Myanmar Text"/><a:font script="Nkoo" typeface="Ebrima"/><a:font script="Olck" typeface="Nirmala UI"/><a:font script="Osma" typeface="Ebrima"/><a:font script="Phag" typeface="Phagspa"/><a:font script="Syrn" typeface="Estrangelo Edessa"/><a:font script="Syrj" typeface="Estrangelo Edessa"/><a:font script="Syre" typeface="Estrangelo Edessa"/><a:font script="Sora" typeface="Nirmala UI"/><a:font script="Tale" typeface="Microsoft Tai Le"/><a:font script="Talu" typeface="Microsoft New Tai Lue"/><a:font script="Tfng" typeface="Ebrima"/></a:majorFont><a:minorFont><a:latin typeface="Aptos Narrow" panose="02110004020202020204"/><a:ea typeface=""/><a:cs typeface=""/><a:font script="Jpan" typeface="游ゴシック"/><a:font script="Hang" typeface="맑은 고딕"/><a:font script="Hans" typeface="等线"/><a:font script="Hant" typeface="新細明體"/><a:font script="Arab" typeface="Arial"/><a:font script="Hebr" typeface="Arial"/><a:font script="Thai" typeface="Tahoma"/><a:font script="Ethi" typeface="Nyala"/><a:font script="Beng" typeface="Vrinda"/><a:font script="Gujr" typeface="Shruti"/><a:font script="Khmr" typeface="DaunPenh"/><a:font script="Knda" typeface="Tunga"/><a:font script="Guru" typeface="Raavi"/><a:font script="Cans" typeface="Euphemia"/><a:font script="Cher" typeface="Plantagenet Cherokee"/><a:font script="Yiii" typeface="Microsoft Yi Baiti"/><a:font script="Tibt" typeface="Microsoft Himalaya"/><a:font script="Thaa" typeface="MV Boli"/><a:font script="Deva" typeface="Mangal"/><a:font script="Telu" typeface="Gautami"/><a:font script="Taml" typeface="Latha"/><a:font script="Syrc" typeface="Estrangelo Edessa"/><a:font script="Orya" typeface="Kalinga"/><a:font script="Mlym" typeface="Kartika"/><a:font script="Laoo" typeface="DokChampa"/><a:font script="Sinh" typeface="Iskoola Pota"/><a:font script="Mong" typeface="Mongolian Baiti"/><a:font script="Viet" typeface="Arial"/><a:font script="Uigh" typeface="Microsoft Uighur"/><a:font script="Geor" typeface="Sylfaen"/><a:font script="Armn" typeface="Arial"/><a:font script="Bugi" typeface="Leelawadee UI"/><a:font script="Bopo" typeface="Microsoft JhengHei"/><a:font script="Java" typeface="Javanese Text"/><a:font script="Lisu" typeface="Segoe UI"/><a:font script="Mymr" typeface="Myanmar Text"/><a:font script="Nkoo" typeface="Ebrima"/><a:font script="Olck" typeface="Nirmala UI"/><a:font script="Osma" typeface="Ebrima"/><a:font script="Phag" typeface="Phagspa"/><a:font script="Syrn" typeface="Estrangelo Edessa"/><a:font script="Syrj" typeface="Estrangelo Edessa"/><a:font script="Syre" typeface="Estrangelo Edessa"/><a:font script="Sora" typeface="Nirmala UI"/><a:font script="Tale" typeface="Microsoft Tai Le"/><a:font script="Talu" typeface="Microsoft New Tai Lue"/><a:font script="Tfng" typeface="Ebrima"/></a:minorFont></a:fontScheme><a:fmtScheme name="Office"><a:fillStyleLst><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:lumMod val="110000"/><a:satMod val="105000"/><a:tint val="67000"/></a:schemeClr></a:gs><a:gs pos="50000"><a:schemeClr val="phClr"><a:lumMod val="105000"/><a:satMod val="103000"/><a:tint val="73000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:lumMod val="105000"/><a:satMod val="109000"/><a:tint val="81000"/></a:schemeClr></a:gs></a:gsLst><a:lin ang="5400000" scaled="0"/></a:gradFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:satMod val="103000"/><a:lumMod val="102000"/><a:tint val="94000"/></a:schemeClr></a:gs><a:gs pos="50000"><a:schemeClr val="phClr"><a:satMod val="110000"/><a:lumMod val="100000"/><a:shade val="100000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:lumMod val="99000"/><a:satMod val="120000"/><a:shade val="78000"/></a:schemeClr></a:gs></a:gsLst><a:lin ang="5400000" scaled="0"/></a:gradFill></a:fillStyleLst><a:lnStyleLst><a:ln w="12700" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/><a:miter lim="800000"/></a:ln><a:ln w="19050" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/><a:miter lim="800000"/></a:ln><a:ln w="25400" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/><a:miter lim="800000"/></a:ln></a:lnStyleLst><a:effectStyleLst><a:effectStyle><a:effectLst/></a:effectStyle><a:effectStyle><a:effectLst/></a:effectStyle><a:effectStyle><a:effectLst><a:outerShdw blurRad="57150" dist="19050" dir="5400000" algn="ctr" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="63000"/></a:srgbClr></a:outerShdw></a:effectLst></a:effectStyle></a:effectStyleLst><a:bgFillStyleLst><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:solidFill><a:schemeClr val="phClr"><a:tint val="95000"/><a:satMod val="170000"/></a:schemeClr></a:solidFill><a:gradFill rotWithShape="1"><a:gsLst><a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="93000"/><a:satMod val="150000"/><a:shade val="98000"/><a:lumMod val="102000"/></a:schemeClr></a:gs><a:gs pos="50000"><a:schemeClr val="phClr"><a:tint val="98000"/><a:satMod val="130000"/><a:shade val="90000"/><a:lumMod val="103000"/></a:schemeClr></a:gs><a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="63000"/><a:satMod val="120000"/></a:schemeClr></a:gs></a:gsLst><a:lin ang="5400000" scaled="0"/></a:gradFill></a:bgFillStyleLst></a:fmtScheme></a:themeElements><a:objectDefaults><a:lnDef><a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="2"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="0"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="1"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="tx1"/></a:fontRef></a:style></a:lnDef></a:objectDefaults><a:extraClrSchemeLst/><a:extLst><a:ext uri="{05A4C25C-085E-4340-85A3-A5531E510DB2}"><thm15:themeFamily xmlns:thm15="http://schemas.microsoft.com/office/thememl/2012/main" name="Office Theme" id="{2E142A2C-CD16-42D6-873A-C26D2A0506FA}" vid="{1BDDFF52-6CD6-40A5-AB3C-68EB2F1E4D0A}"/></a:ext></a:extLst></a:theme>`, l = `<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
4850
4857
|
<sst xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" count="3" uniqueCount="3"><si><t>a</t></si><si><t>b</t></si><si><t>c</t></si></sst>`, a = `<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
4851
|
-
<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>`,
|
|
4858
|
+
<styleSheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="x14ac x16r2 xr" xmlns:x14ac="http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac" xmlns:x16r2="http://schemas.microsoft.com/office/spreadsheetml/2015/02/main" xmlns:xr="http://schemas.microsoft.com/office/spreadsheetml/2014/revision"><fonts count="1" x14ac:knownFonts="1"><font><sz val="12"/><color theme="1"/><name val="Aptos Narrow"/><family val="2"/><scheme val="minor"/></font></fonts><fills count="2"><fill><patternFill patternType="none"/></fill><fill><patternFill patternType="gray125"/></fill></fills><borders count="1"><border><left/><right/><top/><bottom/><diagonal/></border></borders><cellStyleXfs count="1"><xf numFmtId="0" fontId="0" fillId="0" borderId="0"/></cellStyleXfs><cellXfs count="1"><xf numFmtId="0" fontId="0" fillId="0" borderId="0" xfId="0"/></cellXfs><cellStyles count="1"><cellStyle name="Normal" xfId="0" builtinId="0"/></cellStyles><dxfs count="0"/><tableStyles count="0" defaultTableStyle="TableStyleMedium2" defaultPivotStyle="PivotStyleLight16"/><extLst><ext uri="{EB79DEF2-80B8-43e5-95BD-54CBDDF9020C}" xmlns:x14="http://schemas.microsoft.com/office/spreadsheetml/2009/9/main"><x14:slicerStyles defaultSlicerStyle="SlicerStyleLight1"/></ext><ext uri="{9260A510-F301-46a8-8635-F512D64BE5F5}" xmlns:x15="http://schemas.microsoft.com/office/spreadsheetml/2010/11/main"><x15:timelineStyles defaultTimelineStyle="TimeSlicerStyleLight1"/></ext></extLst></styleSheet>`, c = `<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
4852
4859
|
<workbook xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="x15 xr xr6 xr10 xr2" xmlns:x15="http://schemas.microsoft.com/office/spreadsheetml/2010/11/main" xmlns:xr="http://schemas.microsoft.com/office/spreadsheetml/2014/revision" xmlns:xr6="http://schemas.microsoft.com/office/spreadsheetml/2016/revision6" xmlns:xr10="http://schemas.microsoft.com/office/spreadsheetml/2016/revision10" xmlns:xr2="http://schemas.microsoft.com/office/spreadsheetml/2015/revision2"><fileVersion appName="xl" lastEdited="7" lowestEdited="7" rupBuild="11207"/><workbookPr defaultThemeVersion="202300"/><mc:AlternateContent xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"><mc:Choice Requires="x15"><x15ac:absPath url="/" xmlns:x15ac="http://schemas.microsoft.com/office/spreadsheetml/2010/11/ac"/></mc:Choice></mc:AlternateContent><xr:revisionPtr revIDLastSave="0" documentId="8_{292BF245-1F37-B045-B1A5-26C42FB62779}" xr6:coauthVersionLast="47" xr6:coauthVersionMax="47" xr10:uidLastSave="{00000000-0000-0000-0000-000000000000}"/><bookViews><workbookView xWindow="11340" yWindow="5060" windowWidth="28040" windowHeight="17440" xr2:uid="{858B8D3F-6246-774D-8903-6D38687B7BC6}"/></bookViews><sheets><sheet name="Sheet1" sheetId="1" r:id="rId1"/></sheets><calcPr calcId="181029"/><extLst><ext uri="{140A7094-0E35-4892-8432-C4D2E57EDEB5}" xmlns:x15="http://schemas.microsoft.com/office/spreadsheetml/2010/11/main"><x15:workbookPr chartTrackingRefBase="1"/></ext><ext uri="{B58B0392-4F1F-4190-BB64-5DF3571DCE5F}" xmlns:xcalcf="http://schemas.microsoft.com/office/spreadsheetml/2018/calcfeatures"><xcalcf:calcFeatures><xcalcf:feature name="microsoft.com:RD"/><xcalcf:feature name="microsoft.com:Single"/><xcalcf:feature name="microsoft.com:FV"/><xcalcf:feature name="microsoft.com:CNMTM"/><xcalcf:feature name="microsoft.com:LET_WF"/><xcalcf:feature name="microsoft.com:LAMBDA_WF"/><xcalcf:feature name="microsoft.com:ARRAYTEXT_WF"/></xcalcf:calcFeatures></ext></extLst></workbook>`, h = `<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
4853
4860
|
<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();
|
|
4854
|
-
return u.set("_rels/.rels", s), u.set("docProps/app.xml", o), u.set("docProps/core.xml", i), u.set("xl/_rels/workbook.xml.rels", r), u.set("xl/theme/theme1.xml", n), u.set("xl/worksheets/sheet1.xml", this.getX1WorksheetsSheet1Xml(e)), u.set("xl/sharedStrings.xml", l), u.set("xl/styles.xml", a), u.set("xl/workbook.xml",
|
|
4861
|
+
return u.set("_rels/.rels", s), u.set("docProps/app.xml", o), u.set("docProps/core.xml", i), u.set("xl/_rels/workbook.xml.rels", r), u.set("xl/theme/theme1.xml", n), u.set("xl/worksheets/sheet1.xml", this.getX1WorksheetsSheet1Xml(e)), u.set("xl/sharedStrings.xml", l), u.set("xl/styles.xml", a), u.set("xl/workbook.xml", c), u.set("[Content_Types].xml", h), u;
|
|
4855
4862
|
}
|
|
4856
4863
|
getX1WorksheetsSheet1Xml(e) {
|
|
4857
4864
|
const t = [];
|
|
@@ -4912,9 +4919,9 @@ class Rt {
|
|
|
4912
4919
|
const r = new Uint8Array(22), n = new DataView(r.buffer);
|
|
4913
4920
|
r.set([80, 75, 5, 6], 0), n.setUint16(4, 0, !0), n.setUint16(6, 0, !0), n.setUint16(8, o.length, !0), n.setUint16(10, o.length, !0), n.setUint32(12, s - i, !0), n.setUint32(16, i, !0), n.setUint16(20, 0, !0), t.push(r);
|
|
4914
4921
|
const l = t.reduce((h, u) => h + u.length, 0), a = new Uint8Array(l);
|
|
4915
|
-
let
|
|
4922
|
+
let c = 0;
|
|
4916
4923
|
for (const h of t)
|
|
4917
|
-
a.set(h,
|
|
4924
|
+
a.set(h, c), c += h.length;
|
|
4918
4925
|
return a;
|
|
4919
4926
|
}
|
|
4920
4927
|
generateBuffer(e, t = "") {
|
|
@@ -4922,14 +4929,14 @@ class Rt {
|
|
|
4922
4929
|
return this.createZip(s);
|
|
4923
4930
|
}
|
|
4924
4931
|
}
|
|
4925
|
-
class He extends
|
|
4926
|
-
constructor(e, t, s, o, i, r = new q(), n = new
|
|
4927
|
-
var
|
|
4928
|
-
if (super(e, t, new Qe(s), o), this.eventListener = i, this.copyService = r, this.excelService = n, this.licenseManager = W.getInstance(), this.selectionService = new
|
|
4932
|
+
class He extends ct {
|
|
4933
|
+
constructor(e, t, s, o, i, r = new q(), n = new At()) {
|
|
4934
|
+
var c;
|
|
4935
|
+
if (super(e, t, new Qe(s), o), this.eventListener = i, this.copyService = r, this.excelService = n, this.licenseManager = W.getInstance(), this.selectionService = new gt(this), this.api = new st(this), this.mouseStartAction = "", this.mouseStartWidth = -1, this.mouseStartColumnIndex = -1, this.dragFrom = -1, this.dragTo = -1, this.lastDragFrom = -1, this.lastDragTo = -1, this.firstDraggingRendering = !0, this.lastContextmenu = Date.now(), t.setTableScope(this), i || (this.eventListener = new ne()), (c = this.tableOptions) != null && c.autoRestoreOptions) {
|
|
4929
4936
|
const h = this.tableOptions.autoRestoreOptions, u = h.getStorageKeyFn;
|
|
4930
4937
|
u && (h.autoRestoreScrollPosition && (this.storeScrollPosStateService = new ot(u)), h.autoRestoreCollapsedExpandedState && (this.storeStateCollapsedExpandService = new rt(u)), h.autoRestoreSortingState && (this.storeSortingService = new nt(u)));
|
|
4931
4938
|
}
|
|
4932
|
-
this.mouseHandler = new tt(this), this.inputHandler = new ht(this), this.resizeHandler = new
|
|
4939
|
+
this.mouseHandler = new tt(this), this.inputHandler = new ht(this), this.resizeHandler = new Rt(this, o.resizeEventDebounceDelay), this.shortcutService = new yt(this), this.shortcutService.addListener(this.selectionService);
|
|
4933
4940
|
const l = this.getSelectionModel ? this.getSelectionModel() : void 0;
|
|
4934
4941
|
l && l.addEventSelectionChangedListener(this);
|
|
4935
4942
|
const a = this.getFocusModel ? this.getFocusModel() : void 0;
|
|
@@ -4947,7 +4954,7 @@ class He extends dt {
|
|
|
4947
4954
|
*
|
|
4948
4955
|
* @return {TableScope} - The newly created TableScope instance.
|
|
4949
4956
|
*/
|
|
4950
|
-
static create(e, t, s = new J(), o = new ne(), i = new
|
|
4957
|
+
static create(e, t, s = new J(), o = new ne(), i = new wt(), r = new q()) {
|
|
4951
4958
|
return new He(e, t, i, s, o, r);
|
|
4952
4959
|
}
|
|
4953
4960
|
/**
|
|
@@ -5151,8 +5158,8 @@ class He extends dt {
|
|
|
5151
5158
|
const o = this.tableModel.getColumnDef(s);
|
|
5152
5159
|
if (o != null && o.sortable && o.sortable()) {
|
|
5153
5160
|
e.preventDefault(), e.stopPropagation();
|
|
5154
|
-
const n = o.sortStatesOrder ? o.sortStatesOrder : this.tableOptions.sortOrder, l = o.sortState ?? "", a = n[(n.indexOf(l) + 1) % n.length],
|
|
5155
|
-
this.tableModel.doSort([
|
|
5161
|
+
const n = o.sortStatesOrder ? o.sortStatesOrder : this.tableOptions.sortOrder, l = o.sortState ?? "", a = n[(n.indexOf(l) + 1) % n.length], c = new dt(s, a);
|
|
5162
|
+
this.tableModel.doSort([c]) && ((i = this.tableModel.getColumnDefs()) == null || i.forEach((u) => u.sortState = ""), o.sortState = a), this.repaint(), (r = this.storeSortingService) == null || r.setSortItems([c]);
|
|
5156
5163
|
}
|
|
5157
5164
|
}
|
|
5158
5165
|
/**
|
|
@@ -5177,6 +5184,20 @@ class He extends dt {
|
|
|
5177
5184
|
const o = this.tableModel.getAreaModel("body").getYPosByRowIndex(t);
|
|
5178
5185
|
this.scrollToPixel(0, o);
|
|
5179
5186
|
}
|
|
5187
|
+
adjustAfterScrolling() {
|
|
5188
|
+
super.adjustAfterScrolling();
|
|
5189
|
+
const e = this.scrollViewport;
|
|
5190
|
+
this.eventListener.onScroll(new pt(
|
|
5191
|
+
this.scrollTop,
|
|
5192
|
+
this.scrollLeft,
|
|
5193
|
+
e.scrollHeight,
|
|
5194
|
+
e.scrollWidth,
|
|
5195
|
+
e.clientHeight,
|
|
5196
|
+
e.clientWidth,
|
|
5197
|
+
this.scrollFactorY,
|
|
5198
|
+
this.scrollFactorX
|
|
5199
|
+
));
|
|
5200
|
+
}
|
|
5180
5201
|
/**
|
|
5181
5202
|
* Sets the selection model for the table.
|
|
5182
5203
|
*
|
|
@@ -5300,15 +5321,15 @@ class He extends dt {
|
|
|
5300
5321
|
if (re(r)) {
|
|
5301
5322
|
const n = r, l = r.getRowCount();
|
|
5302
5323
|
for (let a = 0; a < l; a++) {
|
|
5303
|
-
const
|
|
5304
|
-
if (
|
|
5324
|
+
const c = r.getRowByIndex(a);
|
|
5325
|
+
if (c)
|
|
5305
5326
|
if (i.allExpanded)
|
|
5306
|
-
|
|
5327
|
+
c.expanded = !0;
|
|
5307
5328
|
else if (i.allCollapsed)
|
|
5308
|
-
|
|
5329
|
+
c.expanded = !1;
|
|
5309
5330
|
else {
|
|
5310
|
-
const h = o(
|
|
5311
|
-
i.mode === "expanded" ?
|
|
5331
|
+
const h = o(c.data);
|
|
5332
|
+
i.mode === "expanded" ? c.expanded = this.storeStateCollapsedExpandService.collapsedExpandedStateIncludes(h) : i.mode === "collapsed" && (c.expanded = !this.storeStateCollapsedExpandService.collapsedExpandedStateIncludes(h));
|
|
5312
5333
|
}
|
|
5313
5334
|
}
|
|
5314
5335
|
n.recalcVisibleTreeRows();
|
|
@@ -5406,7 +5427,7 @@ class He extends dt {
|
|
|
5406
5427
|
return e < t ? (this.scrollToIndex(0, e), !0) : e > s ? (this.scrollToIndex(0, e - o + 1), !0) : !1;
|
|
5407
5428
|
}
|
|
5408
5429
|
}
|
|
5409
|
-
class
|
|
5430
|
+
class Ut extends ne {
|
|
5410
5431
|
constructor(e) {
|
|
5411
5432
|
super(), this.onCheckboxChangedCallback = e, super.onCheckboxChanged = (t) => {
|
|
5412
5433
|
this.onCheckboxChangedCallback(t);
|
|
@@ -5691,10 +5712,10 @@ class y {
|
|
|
5691
5712
|
this.value = e, this.unit = t;
|
|
5692
5713
|
}
|
|
5693
5714
|
}
|
|
5694
|
-
const
|
|
5715
|
+
const Mt = () => !0, Ae = () => !1;
|
|
5695
5716
|
class H {
|
|
5696
|
-
constructor(e, t, s = new y(100, "px"), o = new T(), i = new T(), r = new y(100, "px"), n = new y(100, "px"), l, a,
|
|
5697
|
-
this.property = e, this.headerLabel = t, this.width = s, this.classes = o, this.rendererMap = i, this.minWidth = r, this.maxWidth = n, this.sortable = l, this.sortComparator = a, this.sortState =
|
|
5717
|
+
constructor(e, t, s = new y(100, "px"), o = new T(), i = new T(), r = new y(100, "px"), n = new y(100, "px"), l, a, c, h, u, f, p, m, g = () => this.visible) {
|
|
5718
|
+
this.property = e, this.headerLabel = t, this.width = s, this.classes = o, this.rendererMap = i, this.minWidth = r, this.maxWidth = n, this.sortable = l, this.sortComparator = a, this.sortState = c, this.sortStatesOrder = h, this.sortIconVisible = u, this.editable = f, this.getEditRenderer = p, this.editInputPipe = m, this.isVisible = g, this.visible = !0, s.unit !== "px" && (this.minWidth = new y(0, "px"), this.maxWidth = new y(1e5, "px"));
|
|
5698
5719
|
}
|
|
5699
5720
|
static bodyRenderer(e) {
|
|
5700
5721
|
return new T(
|
|
@@ -5712,7 +5733,7 @@ class H {
|
|
|
5712
5733
|
e.headerClasses,
|
|
5713
5734
|
e.bodyClasses,
|
|
5714
5735
|
e.footerClasses
|
|
5715
|
-
), o = e.sortIconVisible ?? e.sortable ?? Ae, i = e.editable ?? e.editable ?? Ae, r = e.isVisible ?? e.isVisible ??
|
|
5736
|
+
), o = e.sortIconVisible ?? e.sortable ?? Ae, i = e.editable ?? e.editable ?? Ae, r = e.isVisible ?? e.isVisible ?? Mt;
|
|
5716
5737
|
return new H(
|
|
5717
5738
|
e.property ?? "",
|
|
5718
5739
|
e.headerLabel ?? "",
|
|
@@ -5733,7 +5754,7 @@ class H {
|
|
|
5733
5754
|
);
|
|
5734
5755
|
}
|
|
5735
5756
|
}
|
|
5736
|
-
const
|
|
5757
|
+
const Yt = new y(500, "px"), Kt = new y(400, "px"), It = new y(300, "px"), Xt = new y(290, "px"), Jt = new y(280, "px"), qt = new y(270, "px"), Zt = new y(260, "px"), Qt = new y(250, "px"), es = new y(240, "px"), ts = new y(230, "px"), ss = new y(220, "px"), os = new y(210, "px"), Me = new y(200, "px"), is = new y(190, "px"), rs = new y(180, "px"), ns = new y(170, "px"), ls = new y(160, "px"), as = new y(150, "px"), cs = new y(140, "px"), ds = new y(130, "px"), hs = new y(120, "px"), us = new y(110, "px"), ps = new y(100, "px"), gs = new y(90, "px"), fs = new y(80, "px"), ms = new y(70, "px"), bs = new y(60, "px"), ys = new y(50, "px"), ws = new y(40, "px"), xs = new y(30, "px"), Ss = new y(20, "px"), Cs = new y(10, "px"), vs = new y(0, "px");
|
|
5737
5758
|
class P extends pe {
|
|
5738
5759
|
constructor(e, t, s, o = []) {
|
|
5739
5760
|
super(e, o, s), this.areaIdent = e, this.arr = t, this.defaultRowHeight = s, this.columnDefs = o, this.filteredArr = [...t];
|
|
@@ -5836,7 +5857,7 @@ class k {
|
|
|
5836
5857
|
changeColumnOrder(e, t) {
|
|
5837
5858
|
}
|
|
5838
5859
|
}
|
|
5839
|
-
class
|
|
5860
|
+
class Et {
|
|
5840
5861
|
flattenTree(e, t = []) {
|
|
5841
5862
|
var s;
|
|
5842
5863
|
for (const o of e)
|
|
@@ -5849,7 +5870,7 @@ class It {
|
|
|
5849
5870
|
}
|
|
5850
5871
|
class Ie extends pe {
|
|
5851
5872
|
constructor(e, t, s, o = []) {
|
|
5852
|
-
super(e, o, s), this.areaIdent = e, this.rows = t, this.defaultRowHeight = s, this.columnDefs = o, this.type = "AreaModelTree", this.sorterService = new ge(), this.service = new
|
|
5873
|
+
super(e, o, s), this.areaIdent = e, this.rows = t, this.defaultRowHeight = s, this.columnDefs = o, this.type = "AreaModelTree", this.sorterService = new ge(), this.service = new Et(), this.properties = o.map((i) => i.property), this.flattenRows = this.service.flattenTree(t), this.filteredFlattenRows = [...this.flattenRows];
|
|
5853
5874
|
}
|
|
5854
5875
|
changeColumnOrder(e, t) {
|
|
5855
5876
|
this.arrayMove(this.properties, e, t), super.changeColumnOrder(e, t);
|
|
@@ -6018,7 +6039,7 @@ class ae {
|
|
|
6018
6039
|
this.top = e, this.right = t, this.bottom = s, this.left = o;
|
|
6019
6040
|
}
|
|
6020
6041
|
}
|
|
6021
|
-
class
|
|
6042
|
+
class Tt {
|
|
6022
6043
|
constructor() {
|
|
6023
6044
|
this.checkedRows = [];
|
|
6024
6045
|
}
|
|
@@ -6050,10 +6071,10 @@ class Et {
|
|
|
6050
6071
|
}
|
|
6051
6072
|
}
|
|
6052
6073
|
class oe {
|
|
6053
|
-
constructor(e, t, s, o = 0, i = 0, r = !1, n = new z(), l = [], a = [],
|
|
6074
|
+
constructor(e, t, s, o = 0, i = 0, r = !1, n = new z(), l = [], a = [], c = -1, h = 0, u = 400, f = () => {
|
|
6054
6075
|
}) {
|
|
6055
6076
|
var p, m, g, b;
|
|
6056
|
-
this.headerAreaModel = e, this.bodyAreaModel = t, this.footerAreaModel = s, this.fixedLeftColumnCount = o, this.fixedRightColumnCount = i, this.rowCheckboxVisible = r, this.defaultRowHeights = n, this.columnDefs = l, this.columnSizes = a, this.overridingColumnWidth =
|
|
6077
|
+
this.headerAreaModel = e, this.bodyAreaModel = t, this.footerAreaModel = s, this.fixedLeftColumnCount = o, this.fixedRightColumnCount = i, this.rowCheckboxVisible = r, this.defaultRowHeights = n, this.columnDefs = l, this.columnSizes = a, this.overridingColumnWidth = c, this.columnCount = h, this.parentSize = u, this.getSelectionModel = f, this.rowCount = 0, this.contentHeightInPx = 0, this.contentWidthInPx = 0, this.padding = new ae(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 && Ze(this.columnDefs[0]) && !t.rowSelectionModel && (t.rowSelectionModel = new Tt());
|
|
6057
6078
|
}
|
|
6058
6079
|
init() {
|
|
6059
6080
|
this.recalcSize(this.parentSize), this.overridingColumnWidth === -1 && this.calcXPositions(), this.headerAreaModel && this.headerAreaModel.init(), this.bodyAreaModel && this.bodyAreaModel.init(), this.footerAreaModel && this.footerAreaModel.init();
|
|
@@ -6389,12 +6410,12 @@ class oe {
|
|
|
6389
6410
|
if (l.width.unit === "%" && e) {
|
|
6390
6411
|
let a = Math.floor(l.width.value * e / 100);
|
|
6391
6412
|
if (l.minWidth) {
|
|
6392
|
-
const
|
|
6393
|
-
a = Math.max(
|
|
6413
|
+
const c = this.sizeToPixel(l.minWidth, e);
|
|
6414
|
+
a = Math.max(c, a);
|
|
6394
6415
|
}
|
|
6395
6416
|
if (l.maxWidth) {
|
|
6396
|
-
const
|
|
6397
|
-
a = Math.min(
|
|
6417
|
+
const c = this.sizeToPixel(l.maxWidth, e);
|
|
6418
|
+
a = Math.min(c, a);
|
|
6398
6419
|
}
|
|
6399
6420
|
return a;
|
|
6400
6421
|
} else if (l.width.unit === "px" && e)
|
|
@@ -6403,10 +6424,10 @@ class oe {
|
|
|
6403
6424
|
});
|
|
6404
6425
|
const r = this.columnSizes.reduce((l, a) => l + a), n = e - r;
|
|
6405
6426
|
if (n > 0 && i.length) {
|
|
6406
|
-
const l = i.map((a) => a.width.value).reduce((a,
|
|
6427
|
+
const l = i.map((a) => a.width.value).reduce((a, c) => a + c);
|
|
6407
6428
|
for (let a = 0; a < this.columnDefs.length; a++) {
|
|
6408
|
-
const
|
|
6409
|
-
|
|
6429
|
+
const c = this.columnDefs[a];
|
|
6430
|
+
c.width.unit === "weight" && (this.columnSizes[a] = c.width.value * n / l);
|
|
6410
6431
|
}
|
|
6411
6432
|
}
|
|
6412
6433
|
}
|
|
@@ -6521,7 +6542,7 @@ class V {
|
|
|
6521
6542
|
* Please consult each method's documentation for detailed explanation of their functionality.
|
|
6522
6543
|
*/
|
|
6523
6544
|
static createTableModel(e) {
|
|
6524
|
-
var t, s, o, i, r, n, l, a,
|
|
6545
|
+
var t, s, o, i, r, n, l, a, c, h, u, f, p, m;
|
|
6525
6546
|
if (e.defaultRowHeights === void 0)
|
|
6526
6547
|
if ((t = e.tableOptions) != null && t.defaultRowHeights)
|
|
6527
6548
|
e.defaultRowHeights = e.tableOptions.defaultRowHeights;
|
|
@@ -6544,7 +6565,7 @@ class V {
|
|
|
6544
6565
|
e.headerData,
|
|
6545
6566
|
e.defaultRowHeights.header,
|
|
6546
6567
|
e.columnDefs
|
|
6547
|
-
) : (
|
|
6568
|
+
) : (c = e.columnDefs) != null && c.length ? e.headerAreaModel = new P(
|
|
6548
6569
|
"header",
|
|
6549
6570
|
[e.columnDefs.map((g) => g.headerLabel)],
|
|
6550
6571
|
e.defaultRowHeights.header,
|
|
@@ -6657,15 +6678,15 @@ class V {
|
|
|
6657
6678
|
static buildByTypedRows(e, t, s = new J(), o = 0, i = 0) {
|
|
6658
6679
|
const r = s.defaultRowHeights, n = t[0].property === "CheckboxColumn";
|
|
6659
6680
|
if (e != null && e.length && G(e[0])) {
|
|
6660
|
-
const a = e,
|
|
6681
|
+
const a = e, c = new Ie(
|
|
6661
6682
|
"body",
|
|
6662
6683
|
a,
|
|
6663
6684
|
r.body,
|
|
6664
6685
|
t
|
|
6665
6686
|
);
|
|
6666
|
-
return (n || s.showCheckboxWihoutExtraColumn) && (
|
|
6687
|
+
return (n || s.showCheckboxWihoutExtraColumn) && (c.rowSelectionModel = new Ee(a)), V.createByAreaModelsParam({
|
|
6667
6688
|
headerAreaModel: new P("header", [t.map((h) => h.headerLabel)], r.header),
|
|
6668
|
-
bodyAreaModel:
|
|
6689
|
+
bodyAreaModel: c,
|
|
6669
6690
|
footerAreaModel: new P("footer", [], r.footer),
|
|
6670
6691
|
columnDefs: t,
|
|
6671
6692
|
fixedLeftColumnCount: o,
|
|
@@ -6784,7 +6805,7 @@ class V {
|
|
|
6784
6805
|
* @return A new instance of `TableModel` is created using the provided parameters.
|
|
6785
6806
|
* If a parameter isn't provided, the default value is used.
|
|
6786
6807
|
*/
|
|
6787
|
-
static createByAreaModels(e = new k(), t, s = new k(), o = 0, i = 0, r = !1, n = new z(), l, a = [],
|
|
6808
|
+
static createByAreaModels(e = new k(), t, s = new k(), o = 0, i = 0, r = !1, n = new z(), l, a = [], c = -1, h) {
|
|
6788
6809
|
return new oe(
|
|
6789
6810
|
e,
|
|
6790
6811
|
t,
|
|
@@ -6795,7 +6816,7 @@ class V {
|
|
|
6795
6816
|
n,
|
|
6796
6817
|
l,
|
|
6797
6818
|
a,
|
|
6798
|
-
|
|
6819
|
+
c,
|
|
6799
6820
|
h
|
|
6800
6821
|
);
|
|
6801
6822
|
}
|
|
@@ -6899,11 +6920,11 @@ class V {
|
|
|
6899
6920
|
* Reference: For more details regarding the `DefaultRowHeightsIf`, `ColumnDefIf`, `AreaModelIf`, and `AreaModelArrayOfArrays` classes/interfaces, please refer to the respective API documents.
|
|
6900
6921
|
*/
|
|
6901
6922
|
static createByObjectArray(e, t = [], s = [], o = 0, i = 0, r = !1, n = new z(), l, a = []) {
|
|
6902
|
-
let
|
|
6903
|
-
t != null && t.length ?
|
|
6923
|
+
let c;
|
|
6924
|
+
t != null && t.length ? c = new P("header", t, n.header, l) : l != null && l.length ? c = new P("header", [l.map((f) => f.headerLabel)], n.header, l) : c = new k();
|
|
6904
6925
|
const h = s ? new P("footer", s, n.footer, l) : new k(), u = new Te("body", e, l, n.body);
|
|
6905
6926
|
return new oe(
|
|
6906
|
-
|
|
6927
|
+
c,
|
|
6907
6928
|
u,
|
|
6908
6929
|
h,
|
|
6909
6930
|
o,
|
|
@@ -6915,7 +6936,7 @@ class V {
|
|
|
6915
6936
|
);
|
|
6916
6937
|
}
|
|
6917
6938
|
}
|
|
6918
|
-
class
|
|
6939
|
+
class kt {
|
|
6919
6940
|
constructor(e, t, s = 200, o = 300, i = 0, r = 0) {
|
|
6920
6941
|
this.items = e, this.cellRenderer = t, this.coverWidth = s, this.coverHeight = o, this.width = i, this.firstRowPaddingTop = r, this.rowSelectionModel = void 0, this.areaIdent = "body", this.filteredItems = [], this.sorterService = new ge(), this.filteredItems = e;
|
|
6921
6942
|
}
|
|
@@ -7011,7 +7032,7 @@ class Tt {
|
|
|
7011
7032
|
arrayMove(e, t, s) {
|
|
7012
7033
|
}
|
|
7013
7034
|
}
|
|
7014
|
-
class
|
|
7035
|
+
class Dt {
|
|
7015
7036
|
constructor(e, t = 0) {
|
|
7016
7037
|
this.bodyModel = e, this.paddingTop = t, this.headerAreaModel = new k(), this.footerAreaModel = new k();
|
|
7017
7038
|
}
|
|
@@ -7104,13 +7125,13 @@ class kt {
|
|
|
7104
7125
|
return this.tableScope;
|
|
7105
7126
|
}
|
|
7106
7127
|
}
|
|
7107
|
-
class
|
|
7128
|
+
class Rs {
|
|
7108
7129
|
static createCoverGridModel(e, t, s = 200, o = 300, i = 0, r = 0) {
|
|
7109
|
-
const n = new
|
|
7110
|
-
return new
|
|
7130
|
+
const n = new kt(e, t, s, o, i, r);
|
|
7131
|
+
return new Dt(n, r);
|
|
7111
7132
|
}
|
|
7112
7133
|
}
|
|
7113
|
-
const
|
|
7134
|
+
const As = [
|
|
7114
7135
|
"COPY_2_CLIPBOARD",
|
|
7115
7136
|
"START_EDITING",
|
|
7116
7137
|
"TOGGLE_SELECTION",
|
|
@@ -7128,17 +7149,17 @@ const Rs = [
|
|
|
7128
7149
|
// "PAGEUP_PRESSED",
|
|
7129
7150
|
// "PAGEDOWN_PRESSED"
|
|
7130
7151
|
];
|
|
7131
|
-
class
|
|
7152
|
+
class Ft {
|
|
7132
7153
|
constructor(e, t) {
|
|
7133
7154
|
this.tableModel = e, this.tableOptions = t;
|
|
7134
7155
|
}
|
|
7135
7156
|
}
|
|
7136
|
-
class
|
|
7157
|
+
class Pt {
|
|
7137
7158
|
constructor(e, t, s, o, i, r, n) {
|
|
7138
7159
|
this.emmitDataKey = e, this.emmitCancelKey = t, this.queryId = s, this.filter = o, this.sorting = i, this.startIndex = r, this.endIndex = n;
|
|
7139
7160
|
}
|
|
7140
7161
|
}
|
|
7141
|
-
class
|
|
7162
|
+
class Ms extends Pt {
|
|
7142
7163
|
constructor(e, t, s, o, i, r, n, l) {
|
|
7143
7164
|
super(
|
|
7144
7165
|
e,
|
|
@@ -7151,25 +7172,25 @@ class As extends Ft {
|
|
|
7151
7172
|
), this.rows = l;
|
|
7152
7173
|
}
|
|
7153
7174
|
}
|
|
7154
|
-
class
|
|
7175
|
+
class _t {
|
|
7155
7176
|
constructor(e, t) {
|
|
7156
7177
|
this.value = e, this.label = t;
|
|
7157
7178
|
}
|
|
7158
7179
|
}
|
|
7159
|
-
class
|
|
7180
|
+
class Is {
|
|
7160
7181
|
constructor(e, t) {
|
|
7161
7182
|
this.index = e, this.px = t;
|
|
7162
7183
|
}
|
|
7163
7184
|
}
|
|
7164
|
-
const
|
|
7185
|
+
const Es = { body: ["ge-table-text-align-left"] }, Ts = { body: ["ge-table-text-align-center"] }, ks = { body: ["ge-table-text-align-right"] }, Ds = {
|
|
7165
7186
|
header: ["ge-table-text-align-left"],
|
|
7166
7187
|
body: ["ge-table-text-align-left"],
|
|
7167
7188
|
footer: ["ge-table-text-align-left"]
|
|
7168
|
-
},
|
|
7189
|
+
}, Fs = {
|
|
7169
7190
|
header: ["ge-table-text-align-center"],
|
|
7170
7191
|
body: ["ge-table-text-align-center"],
|
|
7171
7192
|
footer: ["ge-table-text-align-center"]
|
|
7172
|
-
},
|
|
7193
|
+
}, Ps = {
|
|
7173
7194
|
header: ["ge-table-text-align-right"],
|
|
7174
7195
|
body: ["ge-table-text-align-right"],
|
|
7175
7196
|
footer: ["ge-table-text-align-right"]
|
|
@@ -7178,7 +7199,7 @@ class ke {
|
|
|
7178
7199
|
render(e, t, s, o, i, r, n) {
|
|
7179
7200
|
if (i.isRowCheckable(t)) {
|
|
7180
7201
|
n.addClass(e, "ge-table-row-checkbox-div");
|
|
7181
|
-
const l = i.isRowChecked(t), a = l === "full" ? "checked" : "",
|
|
7202
|
+
const l = i.isRowChecked(t), a = l === "full" ? "checked" : "", c = l === "semi" ? '<span style="opacity: 0.4;">✓<span>' : "";
|
|
7182
7203
|
e.innerHTML = `
|
|
7183
7204
|
<input
|
|
7184
7205
|
type="checkbox"
|
|
@@ -7188,11 +7209,11 @@ class ke {
|
|
|
7188
7209
|
data-input-type="checkbox"
|
|
7189
7210
|
${a}
|
|
7190
7211
|
class="ge-table-row-checkbox">
|
|
7191
|
-
${
|
|
7212
|
+
${c} `;
|
|
7192
7213
|
}
|
|
7193
7214
|
}
|
|
7194
7215
|
}
|
|
7195
|
-
class
|
|
7216
|
+
class _s {
|
|
7196
7217
|
constructor() {
|
|
7197
7218
|
this.type = "CheckboxColumnDef", this.property = "CheckboxColumn", this.headerLabel = "", this.width = new y(50, "px"), this.minWidth = new y(50, "px"), this.maxWidth = new y(100, "px"), this.rendererMap = new T(new ke(), new ke(), void 0), this.classes = new T(
|
|
7198
7219
|
[],
|
|
@@ -7201,7 +7222,7 @@ class Ps {
|
|
|
7201
7222
|
);
|
|
7202
7223
|
}
|
|
7203
7224
|
}
|
|
7204
|
-
class
|
|
7225
|
+
class Ls {
|
|
7205
7226
|
/**
|
|
7206
7227
|
* A factory that creates a new AreaObjectMap with the given body renderer.
|
|
7207
7228
|
*
|
|
@@ -7216,17 +7237,17 @@ class _s {
|
|
|
7216
7237
|
);
|
|
7217
7238
|
}
|
|
7218
7239
|
}
|
|
7219
|
-
class
|
|
7240
|
+
class Os {
|
|
7220
7241
|
constructor(e = "down", t) {
|
|
7221
7242
|
this.status = e, this.originalEvent = t;
|
|
7222
7243
|
}
|
|
7223
7244
|
}
|
|
7224
|
-
class
|
|
7245
|
+
class $s {
|
|
7225
7246
|
constructor(e, t, s, o, i = {}) {
|
|
7226
7247
|
this.area = e, this.rowIndex = t, this.columnIndex = s, this.value = o, this.cssClasses = i;
|
|
7227
7248
|
}
|
|
7228
7249
|
}
|
|
7229
|
-
class
|
|
7250
|
+
class Vs {
|
|
7230
7251
|
constructor() {
|
|
7231
7252
|
this.autoRestoreSortingState = !1, this.autoRestoreCollapsedExpandedState = !1, this.autoRestoreScrollPosition = !1, this.autoRestoreCheckedState = !1, this.autoRestoreSelectedState = !1, this.getStorageKeyFn = void 0, this.isSame = (e, t, s) => {
|
|
7232
7253
|
if (e && t && s.getRowId) {
|
|
@@ -7251,12 +7272,12 @@ class $s {
|
|
|
7251
7272
|
};
|
|
7252
7273
|
}
|
|
7253
7274
|
}
|
|
7254
|
-
class
|
|
7275
|
+
class Lt {
|
|
7255
7276
|
constructor(e, t, s, o = !1, i = "normal", r = void 0) {
|
|
7256
7277
|
this.data = e, this.property = t, this.toggle = s, this.closed = o, this.visibility = i, this.children = r, this.impl = "CellGroup";
|
|
7257
7278
|
}
|
|
7258
7279
|
}
|
|
7259
|
-
class
|
|
7280
|
+
class Ot extends Lt {
|
|
7260
7281
|
constructor(e, t = 0, s = 0, o) {
|
|
7261
7282
|
super(
|
|
7262
7283
|
e.data,
|
|
@@ -7381,7 +7402,7 @@ class E {
|
|
|
7381
7402
|
static buildGroupExts(e, t = [], s = 0, o) {
|
|
7382
7403
|
let i;
|
|
7383
7404
|
for (let r = 0; r < e.length; r++) {
|
|
7384
|
-
const n = e[r], l = new
|
|
7405
|
+
const n = e[r], l = new Ot(n, s, r, o);
|
|
7385
7406
|
i && (l.leftNeighbour = i, i.rightNeighbour = l), t.push(l), n.children && (l.children = E.buildGroupExts(n.children, [], s + 1, l)), i = l;
|
|
7386
7407
|
}
|
|
7387
7408
|
return t;
|
|
@@ -7423,7 +7444,7 @@ class E {
|
|
|
7423
7444
|
e.push(o.data + " rowIndex:" + o.rowIndex), (s = o.children) != null && s.length && E.iterateThrowColumns(e, o.children);
|
|
7424
7445
|
}
|
|
7425
7446
|
}
|
|
7426
|
-
class
|
|
7447
|
+
class Bs {
|
|
7427
7448
|
constructor() {
|
|
7428
7449
|
this.areaIdent = "body", this.rowSelectionModel = void 0;
|
|
7429
7450
|
}
|
|
@@ -8052,8 +8073,8 @@ const Q = class Q {
|
|
|
8052
8073
|
render(e, t, s, o, i, r, n) {
|
|
8053
8074
|
const l = r != null && r.data ? r.data : "";
|
|
8054
8075
|
if (r) {
|
|
8055
|
-
const { toggle: a, visibility:
|
|
8056
|
-
this.addText(e, o, t, s, l, u), a &&
|
|
8076
|
+
const { toggle: a, visibility: c, closed: h } = r, u = a ? Q.toggleHeaderGroup : "";
|
|
8077
|
+
this.addText(e, o, t, s, l, u), a && c !== "always" && this.addArrowDiv(n, e, !h, t, s, o, u);
|
|
8057
8078
|
} else
|
|
8058
8079
|
this.addText(e, o, t, s, l, "");
|
|
8059
8080
|
}
|
|
@@ -8070,7 +8091,7 @@ const Q = class Q {
|
|
|
8070
8091
|
e.addClass(l, "ge-table-toggle-icon-div"), e.setStyle(l, "display", "inline-block"), e.setStyle(l, "position", ""), e.setStyle(l, "width", "20px"), e.setStyle(l, "background", "transparent"), e.setStyle(l, "cursor", "pointer"), e.setAttribute(l, "data-row-index", `${o}`), e.setAttribute(l, "data-col-index", `${i}`), e.setAttribute(l, "data-area", `${r}`), e.setAttribute(l, "data-ge-action", `${n}`);
|
|
8071
8092
|
let a;
|
|
8072
8093
|
s ? a = this.headerGroupOptions.iconExpanded : a = this.headerGroupOptions.iconCollapsed;
|
|
8073
|
-
const
|
|
8094
|
+
const c = a.content, h = e.createText(c);
|
|
8074
8095
|
e.appendChild(l, h), a.style && this.applyStyleString(e, l, a.style);
|
|
8075
8096
|
for (const u of a.classes)
|
|
8076
8097
|
e.addClass(l, u);
|
|
@@ -8085,10 +8106,10 @@ const Q = class Q {
|
|
|
8085
8106
|
}
|
|
8086
8107
|
};
|
|
8087
8108
|
Q.toggleHeaderGroup = "toggleHeaderGroup";
|
|
8088
|
-
let
|
|
8089
|
-
class
|
|
8109
|
+
let ce = Q;
|
|
8110
|
+
class Hs {
|
|
8090
8111
|
constructor(e = "header", t, s = [], o, i = new ye()) {
|
|
8091
|
-
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
|
|
8112
|
+
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 ce(this.headerGroupOptions), this.groupExts = E.buildGroupExts(t), this.init();
|
|
8092
8113
|
}
|
|
8093
8114
|
sort(e) {
|
|
8094
8115
|
}
|
|
@@ -8188,7 +8209,7 @@ class Bs {
|
|
|
8188
8209
|
return t != null && t.toggle && t.visibility !== "always" && (t.closed = !t.closed, this.init()), E.buildColumnDefs(this.groupExts);
|
|
8189
8210
|
}
|
|
8190
8211
|
}
|
|
8191
|
-
class
|
|
8212
|
+
class Ws {
|
|
8192
8213
|
filterPredict(e, t, s = this.objectToString.bind(this)) {
|
|
8193
8214
|
if (!e)
|
|
8194
8215
|
return !1;
|
|
@@ -8196,10 +8217,10 @@ class Hs {
|
|
|
8196
8217
|
return !0;
|
|
8197
8218
|
t = t.toLowerCase();
|
|
8198
8219
|
const o = "+", i = "-", r = t.toLowerCase().split(" ").filter((h) => h !== o && h !== i && h !== ""), n = r.filter((h) => !h.startsWith(o) && !h.startsWith(i)), l = r.filter((h) => h.startsWith(o)).map((h) => h.replace(/\+/g, "")), a = r.filter((h) => h.startsWith(i)).map((h) => h.replace(/-/g, ""));
|
|
8199
|
-
let
|
|
8220
|
+
let c = !n.length;
|
|
8200
8221
|
for (let h = 0; h < n.length; h++)
|
|
8201
|
-
(
|
|
8202
|
-
if (!
|
|
8222
|
+
(c || s(e).includes(n[h])) && (c = !0);
|
|
8223
|
+
if (!c)
|
|
8203
8224
|
return !1;
|
|
8204
8225
|
for (let h = 0; h < l.length; h++)
|
|
8205
8226
|
if (!s(e).includes(l[h]))
|
|
@@ -8215,18 +8236,18 @@ class Hs {
|
|
|
8215
8236
|
if (!t)
|
|
8216
8237
|
return [...e];
|
|
8217
8238
|
t = t.toLowerCase();
|
|
8218
|
-
const o = "+", i = "-", r = t.toLowerCase().split(" ").filter((
|
|
8219
|
-
return e == null ? void 0 : e.filter((
|
|
8239
|
+
const o = "+", i = "-", r = t.toLowerCase().split(" ").filter((c) => c !== o && c !== i && c !== ""), n = r.filter((c) => !c.startsWith(o) && !c.startsWith(i)), l = r.filter((c) => c.startsWith(o)).map((c) => c.replace(/\+/g, "")), a = r.filter((c) => c.startsWith(i)).map((c) => c.replace(/-/g, ""));
|
|
8240
|
+
return e == null ? void 0 : e.filter((c) => {
|
|
8220
8241
|
let h = !n.length;
|
|
8221
8242
|
for (let u = 0; u < n.length; u++)
|
|
8222
|
-
(h || s(
|
|
8243
|
+
(h || s(c).includes(n[u])) && (h = !0);
|
|
8223
8244
|
if (!h)
|
|
8224
8245
|
return !1;
|
|
8225
8246
|
for (let u = 0; u < l.length; u++)
|
|
8226
|
-
if (!s(
|
|
8247
|
+
if (!s(c).includes(l[u]))
|
|
8227
8248
|
return !1;
|
|
8228
8249
|
for (let u = 0; u < a.length; u++)
|
|
8229
|
-
if (s(
|
|
8250
|
+
if (s(c).includes(a[u]))
|
|
8230
8251
|
return !1;
|
|
8231
8252
|
return !0;
|
|
8232
8253
|
});
|
|
@@ -8242,19 +8263,19 @@ class Hs {
|
|
|
8242
8263
|
return t.join(" ").toLowerCase();
|
|
8243
8264
|
}
|
|
8244
8265
|
}
|
|
8245
|
-
class
|
|
8266
|
+
class Ns {
|
|
8246
8267
|
static bodyRenderer(e) {
|
|
8247
8268
|
return new T(void 0, e, void 0);
|
|
8248
8269
|
}
|
|
8249
8270
|
}
|
|
8250
|
-
class
|
|
8271
|
+
class Gs {
|
|
8251
8272
|
constructor(e, t = !0, s = !1) {
|
|
8252
8273
|
this.property = e, this.skipCheckableCheck = t, this.readonly = s;
|
|
8253
8274
|
}
|
|
8254
8275
|
render(e, t, s, o, i, r, n) {
|
|
8255
8276
|
if (this.readonly || this.skipCheckableCheck || i.isRowCheckable(t)) {
|
|
8256
8277
|
n.addClass(e, "ge-table-row-checkbox-div");
|
|
8257
|
-
const l = i.getRowByIndex(t),
|
|
8278
|
+
const l = i.getRowByIndex(t), c = i.getValueByT(l, this.property) === !0 ? "checked" : "", h = this.readonly ? " readonly " : "";
|
|
8258
8279
|
if (n.addClass(e, "ge-padding-property-checkbox"), e.innerHTML = `
|
|
8259
8280
|
<input
|
|
8260
8281
|
type="checkbox"
|
|
@@ -8263,7 +8284,7 @@ class Ns {
|
|
|
8263
8284
|
data-col-index="${s}"
|
|
8264
8285
|
data-property-index="${this.property}"
|
|
8265
8286
|
data-input-type="checkbox"
|
|
8266
|
-
${
|
|
8287
|
+
${c}
|
|
8267
8288
|
${h}
|
|
8268
8289
|
class="ge-input-checkbox">`, !this.readonly) {
|
|
8269
8290
|
const u = e.querySelector(".ge-input-checkbox");
|
|
@@ -8272,12 +8293,12 @@ class Ns {
|
|
|
8272
8293
|
}
|
|
8273
8294
|
}
|
|
8274
8295
|
}
|
|
8275
|
-
class
|
|
8296
|
+
class zs {
|
|
8276
8297
|
render(e, t, s, o, i, r, n) {
|
|
8277
8298
|
r && (e.innerText = new Date(r).toISOString());
|
|
8278
8299
|
}
|
|
8279
8300
|
}
|
|
8280
|
-
class
|
|
8301
|
+
class js {
|
|
8281
8302
|
constructor() {
|
|
8282
8303
|
this.formatter = new Intl.DateTimeFormat("de-DE", {
|
|
8283
8304
|
year: "numeric",
|
|
@@ -8300,29 +8321,29 @@ class zs {
|
|
|
8300
8321
|
}
|
|
8301
8322
|
}
|
|
8302
8323
|
}
|
|
8303
|
-
class
|
|
8324
|
+
class Us {
|
|
8304
8325
|
render(e, t, s, o, i, r, n) {
|
|
8305
8326
|
r && (e.innerText = new Date(r).toLocaleDateString());
|
|
8306
8327
|
}
|
|
8307
8328
|
}
|
|
8308
|
-
class
|
|
8329
|
+
class Ys {
|
|
8309
8330
|
render(e, t, s, o, i, r, n) {
|
|
8310
8331
|
r === "male" || r === "m" ? e.innerText = "♂" : (r === "female" || r === "f") && (e.innerText = "♀");
|
|
8311
8332
|
}
|
|
8312
8333
|
}
|
|
8313
|
-
class
|
|
8334
|
+
class Ks {
|
|
8314
8335
|
constructor(e = 100, t = !1) {
|
|
8315
8336
|
this.maxValue = e, this.labelVisible = t;
|
|
8316
8337
|
}
|
|
8317
8338
|
render(e, t, s, o, i, r, n) {
|
|
8318
8339
|
if (n.addClass(e, "ge-progressbar-div"), !isNaN(r)) {
|
|
8319
|
-
const a = Number(r) * 100 / this.maxValue,
|
|
8340
|
+
const a = Number(r) * 100 / this.maxValue, c = this.labelVisible ? Math.round(a) + "%" : "";
|
|
8320
8341
|
e.innerHTML = `
|
|
8321
8342
|
<div class="ge-table-label-div"
|
|
8322
8343
|
data-row-index="${t}"
|
|
8323
8344
|
data-col-index="${s}"
|
|
8324
8345
|
data-area="${o}"
|
|
8325
|
-
title="${
|
|
8346
|
+
title="${c}"
|
|
8326
8347
|
style="position: relative; background: transparent; width: 100%; height: 100%;">
|
|
8327
8348
|
<div class="ge-table-progress-container"
|
|
8328
8349
|
style="width:100%;height:50%;padding:0;margin-top:6px;"
|
|
@@ -8340,17 +8361,17 @@ class Ys {
|
|
|
8340
8361
|
}
|
|
8341
8362
|
}
|
|
8342
8363
|
}
|
|
8343
|
-
class
|
|
8364
|
+
class Xs {
|
|
8344
8365
|
render(e, t, s, o, i, r, n) {
|
|
8345
8366
|
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 = "";
|
|
8346
8367
|
}
|
|
8347
8368
|
}
|
|
8348
|
-
class
|
|
8369
|
+
class Js {
|
|
8349
8370
|
render(e, t, s, o, i, r, n) {
|
|
8350
8371
|
r && (e.innerText = new Date(r).toISOString().replace(/T/g, " ").replace(/\..*/g, ""));
|
|
8351
8372
|
}
|
|
8352
8373
|
}
|
|
8353
|
-
class
|
|
8374
|
+
class qs {
|
|
8354
8375
|
constructor(e = Number.MIN_SAFE_INTEGER, t = Number.MAX_SAFE_INTEGER) {
|
|
8355
8376
|
this.min = e, this.max = t;
|
|
8356
8377
|
}
|
|
@@ -8361,7 +8382,7 @@ class Js {
|
|
|
8361
8382
|
</div>`, (typeof r == "string" || isNaN(r) || r < this.min || r > this.max) && n.addClass(e, "ge-cell-error"));
|
|
8362
8383
|
}
|
|
8363
8384
|
}
|
|
8364
|
-
class
|
|
8385
|
+
class Zs {
|
|
8365
8386
|
constructor(e) {
|
|
8366
8387
|
this.property = e;
|
|
8367
8388
|
}
|
|
@@ -8369,10 +8390,10 @@ class qs {
|
|
|
8369
8390
|
n.addClass(e, "ge-star-rating-div");
|
|
8370
8391
|
const l = i.getRowByIndex(t), a = +("" + i.getValueByT(l, this.property));
|
|
8371
8392
|
if (!isNaN(a)) {
|
|
8372
|
-
const
|
|
8393
|
+
const c = [];
|
|
8373
8394
|
for (let u = 0; u < a; u++)
|
|
8374
|
-
|
|
8375
|
-
const h =
|
|
8395
|
+
c.push("★");
|
|
8396
|
+
const h = c.join(" ");
|
|
8376
8397
|
e.innerHTML = `
|
|
8377
8398
|
<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%;">
|
|
8378
8399
|
<div class="ge-table-label" data-row-index="${t}" data-col-index="${s}" data-area="${o}">${h}</div>
|
|
@@ -8380,20 +8401,20 @@ class qs {
|
|
|
8380
8401
|
}
|
|
8381
8402
|
}
|
|
8382
8403
|
}
|
|
8383
|
-
class
|
|
8404
|
+
class Qs {
|
|
8384
8405
|
render(e, t, s, o, i, r, n) {
|
|
8385
8406
|
if (r != null && r.length) {
|
|
8386
8407
|
const l = n.createElement("div");
|
|
8387
8408
|
n.addClass(l, "ge-table-label-div"), n.appendChild(e, l);
|
|
8388
8409
|
const a = n.createElement("div");
|
|
8389
8410
|
n.addClass(a, "ge-table-label"), n.appendChild(l, a);
|
|
8390
|
-
const
|
|
8391
|
-
n.appendChild(a,
|
|
8411
|
+
const c = n.createText(r.join(", "));
|
|
8412
|
+
n.appendChild(a, c);
|
|
8392
8413
|
} else
|
|
8393
8414
|
e.innerText = "";
|
|
8394
8415
|
}
|
|
8395
8416
|
}
|
|
8396
|
-
class
|
|
8417
|
+
class eo {
|
|
8397
8418
|
constructor(e, t = 100, s = !1) {
|
|
8398
8419
|
this.property = e, this.maxValue = t, this.labelVisible = s;
|
|
8399
8420
|
}
|
|
@@ -8401,7 +8422,7 @@ class Qs {
|
|
|
8401
8422
|
n.addClass(e, "ge-star-rating-div");
|
|
8402
8423
|
const l = i.getRowByIndex(t), a = +("" + i.getValueByT(l, this.property));
|
|
8403
8424
|
if (!isNaN(a)) {
|
|
8404
|
-
const
|
|
8425
|
+
const c = a * 100 / this.maxValue, h = this.labelVisible ? Math.round(c) + "%" : "";
|
|
8405
8426
|
e.innerHTML = `
|
|
8406
8427
|
<div class="ge-table-label-div"
|
|
8407
8428
|
data-row-index="${t}"
|
|
@@ -8415,7 +8436,7 @@ class Qs {
|
|
|
8415
8436
|
data-col-index="${s}"
|
|
8416
8437
|
data-area="${o}">
|
|
8417
8438
|
<div class="ge-table-progress-bar"
|
|
8418
|
-
style="width:${
|
|
8439
|
+
style="width:${c}%;height:100%;padding:0;margin:0;"
|
|
8419
8440
|
data-row-index="${t}"
|
|
8420
8441
|
data-col-index="${s}"
|
|
8421
8442
|
data-area="${o}">
|
|
@@ -8425,7 +8446,7 @@ class Qs {
|
|
|
8425
8446
|
}
|
|
8426
8447
|
}
|
|
8427
8448
|
}
|
|
8428
|
-
class
|
|
8449
|
+
class to {
|
|
8429
8450
|
render(e, t, s, o, i, r, n) {
|
|
8430
8451
|
if (r) {
|
|
8431
8452
|
e.innerHTML = `
|
|
@@ -8455,16 +8476,16 @@ class $ {
|
|
|
8455
8476
|
this.action = e, this.label = t, this.icon = s, this.elementClass = o, this.elementType = i, this.enabled = r;
|
|
8456
8477
|
}
|
|
8457
8478
|
}
|
|
8458
|
-
class
|
|
8479
|
+
class $t {
|
|
8459
8480
|
constructor(e, t) {
|
|
8460
8481
|
this.actionEventListener = e, this.crudActions = t;
|
|
8461
8482
|
}
|
|
8462
8483
|
render(e, t, s, o, i, r, n) {
|
|
8463
8484
|
n.addClass(e, "ge-table-row-action-div");
|
|
8464
|
-
const l = r,
|
|
8485
|
+
const l = r, c = this.getCrudActions(r).map(
|
|
8465
8486
|
(h) => h.elementType === "button" ? this.buildButtonHtml(h, o, t, s, l) : this.buildLinkHtml(h, o, t, s, l)
|
|
8466
8487
|
);
|
|
8467
|
-
e.innerHTML =
|
|
8488
|
+
e.innerHTML = c.join(""), this.addClickEventListeners(e, o, i);
|
|
8468
8489
|
}
|
|
8469
8490
|
buildButtonHtml(e, t, s, o, i) {
|
|
8470
8491
|
const r = e.enabled ? 'data-listen="click"' : "disabled";
|
|
@@ -8511,8 +8532,8 @@ class Ot {
|
|
|
8511
8532
|
createActionEvent(e, t) {
|
|
8512
8533
|
const s = e.getAttribute("data-area"), o = e.getAttribute("data-row-index"), i = e.getAttribute("data-col-index"), r = e.getAttribute("data-action") ?? "unknown", n = e.getAttribute("data-id") ?? "unknown";
|
|
8513
8534
|
if (s && o && i) {
|
|
8514
|
-
const l = ee(s), a = Number(o),
|
|
8515
|
-
return new We(r, l, t, a,
|
|
8535
|
+
const l = ee(s), a = Number(o), c = Number(i);
|
|
8536
|
+
return new We(r, l, t, a, c, n);
|
|
8516
8537
|
}
|
|
8517
8538
|
return null;
|
|
8518
8539
|
}
|
|
@@ -8520,8 +8541,8 @@ class Ot {
|
|
|
8520
8541
|
return Array.isArray(e) && e.every((t) => t instanceof $) ? e : this.crudActions;
|
|
8521
8542
|
}
|
|
8522
8543
|
}
|
|
8523
|
-
const
|
|
8524
|
-
return
|
|
8544
|
+
const so = function(d, e, t) {
|
|
8545
|
+
return d ? Number(d) : "";
|
|
8525
8546
|
};
|
|
8526
8547
|
class Ne {
|
|
8527
8548
|
constructor(e) {
|
|
@@ -8529,7 +8550,7 @@ class Ne {
|
|
|
8529
8550
|
}
|
|
8530
8551
|
static create(e) {
|
|
8531
8552
|
return new Ne(
|
|
8532
|
-
e.map((t) => new
|
|
8553
|
+
e.map((t) => new _t(t, t))
|
|
8533
8554
|
);
|
|
8534
8555
|
}
|
|
8535
8556
|
render(e, t, s, o, i, r, n) {
|
|
@@ -8541,7 +8562,7 @@ class Ne {
|
|
|
8541
8562
|
const u = h.value === l ? " selected " : "";
|
|
8542
8563
|
a.push(`<option value="${h.value}" ${u}>${h.label}</option>`);
|
|
8543
8564
|
}
|
|
8544
|
-
const
|
|
8565
|
+
const c = a.join("");
|
|
8545
8566
|
e.innerHTML = `
|
|
8546
8567
|
<select
|
|
8547
8568
|
autofocus
|
|
@@ -8551,11 +8572,11 @@ class Ne {
|
|
|
8551
8572
|
data-col-index="${s}"
|
|
8552
8573
|
data-input-type="text"
|
|
8553
8574
|
style="width:100%;height:100%;border:0;padding:0 0 0 8px;"
|
|
8554
|
-
class="ge-table-cell-editor-select">${
|
|
8575
|
+
class="ge-table-cell-editor-select">${c}</select>`;
|
|
8555
8576
|
}
|
|
8556
8577
|
}
|
|
8557
8578
|
}
|
|
8558
|
-
class
|
|
8579
|
+
class oo extends be {
|
|
8559
8580
|
constructor(e) {
|
|
8560
8581
|
super("row", "multi"), this.model = e;
|
|
8561
8582
|
}
|
|
@@ -8638,7 +8659,7 @@ class so extends be {
|
|
|
8638
8659
|
this.isSelected(e, 0) ? this.unselectRow(e) : this.selectRow(e);
|
|
8639
8660
|
}
|
|
8640
8661
|
}
|
|
8641
|
-
class
|
|
8662
|
+
class io {
|
|
8642
8663
|
constructor(e, t, s) {
|
|
8643
8664
|
this.r = e, this.g = t, this.b = s;
|
|
8644
8665
|
}
|
|
@@ -8660,17 +8681,17 @@ class K {
|
|
|
8660
8681
|
return e < t.middleValue ? K.getTwoColorGradientRGB(e, new De(t.minValue, t.minColor, t.middleValue, t.middleColor)) : e > t.middleValue ? K.getTwoColorGradientRGB(e, new De(t.middleValue, t.middleColor, t.maxValue, t.maxColor)) : `rgb(${t.middleColor.r}, ${t.middleColor.g}, ${t.middleColor.b})`;
|
|
8661
8682
|
}
|
|
8662
8683
|
}
|
|
8663
|
-
class
|
|
8684
|
+
class ro {
|
|
8664
8685
|
constructor(e, t, s, o, i, r) {
|
|
8665
8686
|
this.minValue = e, this.minColor = t, this.middleValue = s, this.middleColor = o, this.maxValue = i, this.maxColor = r;
|
|
8666
8687
|
}
|
|
8667
8688
|
}
|
|
8668
|
-
class
|
|
8689
|
+
class Vt {
|
|
8669
8690
|
constructor(e = !0, t = !0, s = (r, n) => r * 10 + 10, o = 50, i = 450) {
|
|
8670
8691
|
this.autoCalc = e, this.takeHeaderLabelsIntoAccount = t, this.charCountToWidth = s, this.minWidth = o, this.maxWidth = i;
|
|
8671
8692
|
}
|
|
8672
8693
|
}
|
|
8673
|
-
class
|
|
8694
|
+
class Bt {
|
|
8674
8695
|
constructor(e) {
|
|
8675
8696
|
this.object = e;
|
|
8676
8697
|
}
|
|
@@ -8802,7 +8823,7 @@ class ie {
|
|
|
8802
8823
|
return e.replace(/\./g, " ");
|
|
8803
8824
|
}
|
|
8804
8825
|
}
|
|
8805
|
-
class
|
|
8826
|
+
class Ht {
|
|
8806
8827
|
constructor() {
|
|
8807
8828
|
this.urls = {
|
|
8808
8829
|
list: {
|
|
@@ -8818,7 +8839,7 @@ class Bt {
|
|
|
8818
8839
|
], this.tableActions = [
|
|
8819
8840
|
new $("CREATE", "Create", "", "", "button"),
|
|
8820
8841
|
new $("DELETE_SELECTED", "Delete Selected", "", "", "button")
|
|
8821
|
-
], this.autoAddActionColumn = !0, this.columnWidths = new
|
|
8842
|
+
], this.autoAddActionColumn = !0, this.columnWidths = new Vt(), this.calcFixedRightColumnCount = (e) => e > 6 ? 1 : 0, this.getHeadersInit = () => ({}), this.getIdKey = () => "id", this.getIdByObject = (e) => (this.getIdKey() ?? "id") in e ? e.id : e, this.fetchList = (e) => {
|
|
8822
8843
|
const t = e.getHeadersInit ? e.getHeadersInit() : {};
|
|
8823
8844
|
let s = e.urls.list.url, o = e.urls.list.method ?? "GET";
|
|
8824
8845
|
return fetch(s, {
|
|
@@ -8869,9 +8890,9 @@ class Bt {
|
|
|
8869
8890
|
};
|
|
8870
8891
|
}
|
|
8871
8892
|
}
|
|
8872
|
-
class
|
|
8893
|
+
class no {
|
|
8873
8894
|
constructor() {
|
|
8874
|
-
this.crudOptions = new
|
|
8895
|
+
this.crudOptions = new Ht(), this.listenActionEvent = (e) => {
|
|
8875
8896
|
};
|
|
8876
8897
|
}
|
|
8877
8898
|
createTableModel(e, t, s = (i) => {
|
|
@@ -8880,14 +8901,14 @@ class ro {
|
|
|
8880
8901
|
this.crudOptions = e, this.listenActionEvent = o, e.fetchList(e).then((i) => {
|
|
8881
8902
|
var r, n, l, a;
|
|
8882
8903
|
if (t.rows = i, i != null && i.length) {
|
|
8883
|
-
const
|
|
8904
|
+
const c = (r = t.columnDefs) != null && r.length ? t.columnDefs.map((w) => w.property) : this.extractProperties(i[0]), h = new be("row", "multi"), u = () => h;
|
|
8884
8905
|
this.tableOptions = {
|
|
8885
8906
|
...new J(),
|
|
8886
8907
|
...t.tableOptions,
|
|
8887
8908
|
hoverColumnVisible: !1,
|
|
8888
8909
|
getSelectionModel: u
|
|
8889
8910
|
};
|
|
8890
|
-
const f = this.calcAutoColumnWidths(i,
|
|
8911
|
+
const f = this.calcAutoColumnWidths(i, c), p = (n = t.columnDefs) != null && n.length ? t.columnDefs : c.map((w, S) => new H(w, w.toUpperCase(), new y(f[S], "px")));
|
|
8891
8912
|
if ((l = e == null ? void 0 : e.columnWidths) != null && l.autoCalc)
|
|
8892
8913
|
for (let w = 0; w < p.length; w++) {
|
|
8893
8914
|
const S = p[w];
|
|
@@ -8897,12 +8918,12 @@ class ro {
|
|
|
8897
8918
|
let w = new H(
|
|
8898
8919
|
"id",
|
|
8899
8920
|
"Actions",
|
|
8900
|
-
|
|
8921
|
+
It,
|
|
8901
8922
|
new T(["ge-table-text-align-left"], ["ge-table-text-align-left ge-table-actions-cell"], void 0)
|
|
8902
8923
|
);
|
|
8903
8924
|
w.rendererMap = new T(
|
|
8904
8925
|
void 0,
|
|
8905
|
-
new
|
|
8926
|
+
new $t(this, e.singleRowActions),
|
|
8906
8927
|
void 0
|
|
8907
8928
|
), p.push(w);
|
|
8908
8929
|
}
|
|
@@ -8914,7 +8935,7 @@ class ro {
|
|
|
8914
8935
|
fixedLeftColumnCount: m,
|
|
8915
8936
|
fixedRightColumnCount: g
|
|
8916
8937
|
}), this.tableModel.getSelectionModel = u, this.bodyModel = (a = this.tableModel) == null ? void 0 : a.getBodyModel();
|
|
8917
|
-
const b = new
|
|
8938
|
+
const b = new Ft(this.tableModel, this.tableOptions);
|
|
8918
8939
|
s(b);
|
|
8919
8940
|
}
|
|
8920
8941
|
});
|
|
@@ -8929,7 +8950,7 @@ class ro {
|
|
|
8929
8950
|
var t, s, o, i;
|
|
8930
8951
|
if (this.listenActionEvent && this.listenActionEvent(e), e.action === "VIEW") {
|
|
8931
8952
|
let r = e.id;
|
|
8932
|
-
(t = this.crudOptions) == null || t.fetchItem(this.crudOptions, r).then((n) => (console.info(n), new
|
|
8953
|
+
(t = this.crudOptions) == null || t.fetchItem(this.crudOptions, r).then((n) => (console.info(n), new Bt(n).openDialog(), n));
|
|
8933
8954
|
} else if (e.action === "EDIT") {
|
|
8934
8955
|
let r = e.id;
|
|
8935
8956
|
const n = this.crudOptions.getIdKey() ?? "id";
|
|
@@ -8948,8 +8969,8 @@ class ro {
|
|
|
8948
8969
|
n,
|
|
8949
8970
|
a,
|
|
8950
8971
|
"Clone Item"
|
|
8951
|
-
).openDialog((
|
|
8952
|
-
console.info(
|
|
8972
|
+
).openDialog((c) => {
|
|
8973
|
+
console.info(c), this.crudOptions.createItem(this.crudOptions, c);
|
|
8953
8974
|
}), a;
|
|
8954
8975
|
});
|
|
8955
8976
|
} else if (e.action === "CREATE") {
|
|
@@ -8964,8 +8985,8 @@ class ro {
|
|
|
8964
8985
|
} else if (e.action === "DELETE") {
|
|
8965
8986
|
let r = e.id;
|
|
8966
8987
|
(i = this.crudOptions) == null || i.deleteItem(this.crudOptions, r).then((n) => {
|
|
8967
|
-
var l, a,
|
|
8968
|
-
return (l = this.bodyModel) == null || l.filterRowsByPredict((f) => f.id != r), (
|
|
8988
|
+
var l, a, c, h, u;
|
|
8989
|
+
return (l = this.bodyModel) == null || l.filterRowsByPredict((f) => f.id != r), (c = (a = this.tableModel) == null ? void 0 : a.getTableScope()) == null || c.clearSelection(!0), (u = (h = this.tableModel) == null ? void 0 : h.getTableScope()) == null || u.repaintHard(), n;
|
|
8969
8990
|
});
|
|
8970
8991
|
}
|
|
8971
8992
|
}
|
|
@@ -8975,21 +8996,21 @@ class ro {
|
|
|
8975
8996
|
if (!((a = this.crudOptions.columnWidths) != null && a.autoCalc))
|
|
8976
8997
|
return new Array(o).fill(200);
|
|
8977
8998
|
const i = e.length ?? 0, r = new Array(o).fill(0);
|
|
8978
|
-
for (let
|
|
8999
|
+
for (let c = 0; c < i; c++)
|
|
8979
9000
|
for (let h = 0; h < o; h++) {
|
|
8980
|
-
const u = t[h], f = this.getValueByT(e[
|
|
9001
|
+
const u = t[h], f = this.getValueByT(e[c], u), p = (f == null ? void 0 : f.toString().length) || 0;
|
|
8981
9002
|
p > r[h] && (r[h] = p);
|
|
8982
9003
|
}
|
|
8983
9004
|
if (this.crudOptions.columnWidths.takeHeaderLabelsIntoAccount)
|
|
8984
|
-
for (let
|
|
8985
|
-
const h = s[
|
|
8986
|
-
h > r[
|
|
9005
|
+
for (let c = 0; c < o; c++) {
|
|
9006
|
+
const h = s[c].length || 0;
|
|
9007
|
+
h > r[c] && (r[c] = h);
|
|
8987
9008
|
}
|
|
8988
9009
|
const n = this.crudOptions.columnWidths.minWidth, l = this.crudOptions.columnWidths.maxWidth;
|
|
8989
|
-
return r.map((
|
|
9010
|
+
return r.map((c, h) => Math.min(
|
|
8990
9011
|
l,
|
|
8991
9012
|
Math.max(
|
|
8992
|
-
this.crudOptions.columnWidths.charCountToWidth(
|
|
9013
|
+
this.crudOptions.columnWidths.charCountToWidth(c, h),
|
|
8993
9014
|
n
|
|
8994
9015
|
)
|
|
8995
9016
|
));
|
|
@@ -9010,7 +9031,7 @@ class ro {
|
|
|
9010
9031
|
return s;
|
|
9011
9032
|
}
|
|
9012
9033
|
}
|
|
9013
|
-
class
|
|
9034
|
+
class lo {
|
|
9014
9035
|
constructor(e, t) {
|
|
9015
9036
|
this.method = e, this.url = t;
|
|
9016
9037
|
}
|
|
@@ -9018,187 +9039,188 @@ class no {
|
|
|
9018
9039
|
export {
|
|
9019
9040
|
pe as AbstractAreaModel,
|
|
9020
9041
|
We as ActionEvent,
|
|
9021
|
-
|
|
9042
|
+
$t as ActionsCellRenderer,
|
|
9022
9043
|
Oe as AnyPropertyType,
|
|
9023
|
-
|
|
9024
|
-
|
|
9044
|
+
Ls as AreaMapFactory,
|
|
9045
|
+
Bs as AreaModel,
|
|
9025
9046
|
P as AreaModelArrayOfArrays,
|
|
9026
|
-
|
|
9047
|
+
Hs as AreaModelCellGroups,
|
|
9027
9048
|
k as AreaModelHidden,
|
|
9028
9049
|
_ as AreaModelObjectArray,
|
|
9029
9050
|
Te as AreaModelObjectArrayWithColumndefs,
|
|
9030
9051
|
Ie as AreaModelTree,
|
|
9031
9052
|
T as AreaObjectMap,
|
|
9032
9053
|
B as ArrayPropertyType,
|
|
9033
|
-
|
|
9034
|
-
|
|
9054
|
+
Vs as AutoRestoreOptions,
|
|
9055
|
+
Nt as AvoidDoubleExecution,
|
|
9035
9056
|
Ye as BooleanPropertyType,
|
|
9036
|
-
|
|
9037
|
-
|
|
9038
|
-
|
|
9057
|
+
Lt as CellGroup,
|
|
9058
|
+
Ot as CellGroupExt,
|
|
9059
|
+
ce as CellGroupExtCellRenderer,
|
|
9039
9060
|
A as CellRange,
|
|
9040
9061
|
E as CellgroupFactory,
|
|
9041
|
-
|
|
9062
|
+
Gs as CheckboxBooleanPropertyCellRenderer,
|
|
9042
9063
|
ke as CheckboxCellRenderer,
|
|
9043
|
-
|
|
9044
|
-
|
|
9045
|
-
|
|
9064
|
+
_s as CheckboxColumnDef,
|
|
9065
|
+
Tt as CheckboxModel,
|
|
9066
|
+
Ms as ChunkData,
|
|
9046
9067
|
at as ColAndRowspanModel,
|
|
9047
9068
|
it as CollapsedExpandedData,
|
|
9048
|
-
|
|
9069
|
+
io as ColorRgb,
|
|
9049
9070
|
H as ColumnDef,
|
|
9050
|
-
|
|
9051
|
-
|
|
9071
|
+
Gt as ColumnDefGenerator,
|
|
9072
|
+
Vt as ColumnWidths,
|
|
9052
9073
|
Qe as ConvenienceDomService,
|
|
9053
9074
|
q as CopyService,
|
|
9054
|
-
|
|
9055
|
-
|
|
9056
|
-
|
|
9075
|
+
kt as CoverGridBodyModel,
|
|
9076
|
+
Rs as CoverGridFactory,
|
|
9077
|
+
Dt as CoverGridTableModel,
|
|
9057
9078
|
$ as CrudAction,
|
|
9058
9079
|
ie as CrudObjectEdit,
|
|
9059
|
-
|
|
9060
|
-
|
|
9061
|
-
|
|
9080
|
+
Bt as CrudObjectView,
|
|
9081
|
+
Ht as CrudOptions,
|
|
9082
|
+
no as CrudTableModelFactory,
|
|
9062
9083
|
ve as CssVars,
|
|
9063
|
-
|
|
9064
|
-
|
|
9065
|
-
|
|
9066
|
-
|
|
9084
|
+
js as DateToIntlDDMMYYYYCellRenderer,
|
|
9085
|
+
zs as DateToIsoCellRenderer,
|
|
9086
|
+
Us as DateToLocaleDateCellRenderer,
|
|
9087
|
+
Js as DateToTecCellRenderer,
|
|
9067
9088
|
z as DefaultRowHeights,
|
|
9068
9089
|
lt as EleScope,
|
|
9069
9090
|
ne as EventAdapter,
|
|
9070
|
-
|
|
9071
|
-
|
|
9091
|
+
Ut as EventCheckboxChangedHandler,
|
|
9092
|
+
At as ExcelService,
|
|
9072
9093
|
Ae as FalseFn,
|
|
9073
|
-
|
|
9094
|
+
St as FocusModel,
|
|
9074
9095
|
ut as GeCellIndices,
|
|
9075
9096
|
K as GeCssColorUtil,
|
|
9076
|
-
|
|
9077
|
-
|
|
9097
|
+
Ws as GeFilterService,
|
|
9098
|
+
Os as GeKeyEvent,
|
|
9078
9099
|
me as GeModelChangeEvent,
|
|
9079
9100
|
ue as GeMouseEvent,
|
|
9101
|
+
pt as GeScrollEvent,
|
|
9080
9102
|
L as GeoData,
|
|
9081
9103
|
O as Icon,
|
|
9082
|
-
|
|
9083
|
-
|
|
9104
|
+
Is as IndexAndPx,
|
|
9105
|
+
xt as InputCellRenderer,
|
|
9084
9106
|
ht as InputHandler,
|
|
9085
9107
|
xe as JsonService,
|
|
9086
9108
|
W as LicenseManager,
|
|
9087
|
-
|
|
9109
|
+
Ys as MaleFemaleToIconCellRenderer,
|
|
9088
9110
|
tt as MouseHandler,
|
|
9089
9111
|
et as MouseTargetData,
|
|
9090
|
-
|
|
9112
|
+
oo as MultiRowsSelectionModel,
|
|
9091
9113
|
ze as NullPropertyType,
|
|
9092
|
-
|
|
9093
|
-
|
|
9114
|
+
Ks as NumberCellProgressBarCellRenderer,
|
|
9115
|
+
qs as NumberCellRenderer,
|
|
9094
9116
|
Ue as NumberPropertyType,
|
|
9095
9117
|
F as ObjectPropertyType,
|
|
9096
|
-
|
|
9118
|
+
mt as OsxShortcutActionIdMapping,
|
|
9097
9119
|
Fe as PROPERTY_TYPE_KEY_ANY,
|
|
9098
9120
|
Le as PROPERTY_TYPE_KEY_ARRAY,
|
|
9099
9121
|
he as PROPERTY_TYPE_KEY_BOOLEAN,
|
|
9100
9122
|
Pe as PROPERTY_TYPE_KEY_NULL,
|
|
9101
|
-
|
|
9123
|
+
de as PROPERTY_TYPE_KEY_NUMBER,
|
|
9102
9124
|
U as PROPERTY_TYPE_KEY_OBJECT,
|
|
9103
9125
|
_e as PROPERTY_TYPE_KEY_STRING,
|
|
9104
9126
|
j as PROPERTY_TYPE_KEY_UNDEFINED,
|
|
9105
9127
|
ae as Padding,
|
|
9106
|
-
|
|
9107
|
-
|
|
9128
|
+
to as PositiveAndNegativeNumberRenderer,
|
|
9129
|
+
eo as ProgressBarCellRenderer,
|
|
9108
9130
|
$e as PropertyItem,
|
|
9109
|
-
|
|
9110
|
-
|
|
9111
|
-
|
|
9112
|
-
|
|
9113
|
-
|
|
9114
|
-
|
|
9131
|
+
zt as PropertyTypeService,
|
|
9132
|
+
ct as RenderScope,
|
|
9133
|
+
Ns as Renderer,
|
|
9134
|
+
Pt as RequestChunk,
|
|
9135
|
+
Rt as ResizeHandler,
|
|
9136
|
+
jt as SchemeGenerator,
|
|
9115
9137
|
Ne as SelectCellRenderer,
|
|
9116
9138
|
be as SelectionModel,
|
|
9117
|
-
|
|
9118
|
-
|
|
9119
|
-
|
|
9120
|
-
|
|
9139
|
+
gt as SelectionService,
|
|
9140
|
+
yt as ShortcutService,
|
|
9141
|
+
Qs as SimpleArrayCellRenderer,
|
|
9142
|
+
wt as SimpleDomService,
|
|
9121
9143
|
y as Size,
|
|
9122
|
-
|
|
9144
|
+
dt as SortItem,
|
|
9123
9145
|
Be as SortedOptions,
|
|
9124
|
-
|
|
9146
|
+
Zs as StarRatingCellRenderer,
|
|
9125
9147
|
rt as StoreStateCollapsedExpandService,
|
|
9126
9148
|
ot as StoreStateScrollPosService,
|
|
9127
9149
|
nt as StoreStateSortingService,
|
|
9128
9150
|
je as StringPropertyType,
|
|
9129
9151
|
st as TableApi,
|
|
9130
|
-
|
|
9152
|
+
$s as TableCellUpdateEvent,
|
|
9131
9153
|
V as TableFactory,
|
|
9132
9154
|
oe as TableModel,
|
|
9133
|
-
|
|
9155
|
+
Ft as TableModelAndOptions,
|
|
9134
9156
|
J as TableOptions,
|
|
9135
9157
|
He as TableScope,
|
|
9136
|
-
|
|
9158
|
+
ro as ThreeColorGradientArg,
|
|
9137
9159
|
Ee as TreeCheckboxModel,
|
|
9138
9160
|
le as TreeFactory,
|
|
9139
9161
|
Ve as TreeOptions,
|
|
9140
9162
|
Re as TreeRow,
|
|
9141
|
-
|
|
9142
|
-
|
|
9143
|
-
|
|
9163
|
+
Et as TreeRowService,
|
|
9164
|
+
Xs as TrueFalseCellRenderer,
|
|
9165
|
+
Mt as TrueFn,
|
|
9144
9166
|
De as TwoColorGradientArg,
|
|
9145
9167
|
X as UNIMPORTANT_TYPES,
|
|
9146
9168
|
se as UndefinedPropertyType,
|
|
9147
|
-
|
|
9169
|
+
lo as UrlInfo,
|
|
9148
9170
|
Ke as ValueInfo,
|
|
9149
|
-
|
|
9150
|
-
|
|
9151
|
-
|
|
9152
|
-
|
|
9153
|
-
|
|
9154
|
-
|
|
9155
|
-
|
|
9156
|
-
|
|
9157
|
-
|
|
9171
|
+
_t as ValueLabel,
|
|
9172
|
+
ft as WindowsShortcutActionIdMapping,
|
|
9173
|
+
As as actionIds,
|
|
9174
|
+
Fs as allCenter,
|
|
9175
|
+
Ds as allLeft,
|
|
9176
|
+
Ps as allRight,
|
|
9177
|
+
Ts as bodyCenter,
|
|
9178
|
+
Es as bodyLeft,
|
|
9179
|
+
ks as bodyRight,
|
|
9158
9180
|
Ce as createHarmonizedShortcutByKeyboardEvent,
|
|
9159
9181
|
Ge as debounce,
|
|
9160
|
-
|
|
9182
|
+
so as editInputPipeForNumber,
|
|
9161
9183
|
Se as entitySuffix,
|
|
9162
9184
|
qe as firstLetterUppercase,
|
|
9163
9185
|
ee as getAreaIdentByString,
|
|
9164
9186
|
Xe as getEntityName,
|
|
9165
|
-
|
|
9187
|
+
bt as harmonizeShortcut,
|
|
9166
9188
|
re as isAreaModelTree,
|
|
9167
9189
|
Ze as isCheckboxColumnDef,
|
|
9168
9190
|
G as isTreeRow,
|
|
9169
|
-
|
|
9170
|
-
|
|
9171
|
-
|
|
9172
|
-
|
|
9173
|
-
|
|
9191
|
+
vs as px0,
|
|
9192
|
+
Cs as px10,
|
|
9193
|
+
ps as px100,
|
|
9194
|
+
us as px110,
|
|
9195
|
+
hs as px120,
|
|
9174
9196
|
ds as px130,
|
|
9175
|
-
|
|
9176
|
-
|
|
9177
|
-
|
|
9178
|
-
|
|
9179
|
-
|
|
9180
|
-
|
|
9181
|
-
|
|
9197
|
+
cs as px140,
|
|
9198
|
+
as as px150,
|
|
9199
|
+
ls as px160,
|
|
9200
|
+
ns as px170,
|
|
9201
|
+
rs as px180,
|
|
9202
|
+
is as px190,
|
|
9203
|
+
Ss as px20,
|
|
9182
9204
|
Me as px200,
|
|
9183
|
-
|
|
9184
|
-
|
|
9185
|
-
|
|
9186
|
-
|
|
9187
|
-
|
|
9188
|
-
|
|
9189
|
-
|
|
9190
|
-
|
|
9191
|
-
|
|
9192
|
-
|
|
9193
|
-
|
|
9194
|
-
|
|
9195
|
-
|
|
9196
|
-
|
|
9197
|
-
|
|
9198
|
-
|
|
9199
|
-
|
|
9200
|
-
|
|
9201
|
-
|
|
9202
|
-
|
|
9205
|
+
os as px210,
|
|
9206
|
+
ss as px220,
|
|
9207
|
+
ts as px230,
|
|
9208
|
+
es as px240,
|
|
9209
|
+
Qt as px250,
|
|
9210
|
+
Zt as px260,
|
|
9211
|
+
qt as px270,
|
|
9212
|
+
Jt as px280,
|
|
9213
|
+
Xt as px290,
|
|
9214
|
+
xs as px30,
|
|
9215
|
+
It as px300,
|
|
9216
|
+
ws as px40,
|
|
9217
|
+
Kt as px400,
|
|
9218
|
+
ys as px50,
|
|
9219
|
+
Yt as px500,
|
|
9220
|
+
bs as px60,
|
|
9221
|
+
ms as px70,
|
|
9222
|
+
fs as px80,
|
|
9223
|
+
gs as px90,
|
|
9224
|
+
Wt as throttle,
|
|
9203
9225
|
Je as trimArraySuffixes
|
|
9204
9226
|
};
|