@guiexpert/table 1.1.81 → 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 +384 -357
- package/lib/table/data/common/event/ge-scroll-event.d.ts +14 -0
- package/lib/table/data/tablemodel/areamodel/cover-grid-body-model.d.ts +1 -0
- package/lib/table/data/tablemodel/cover-grid-table-model.d.ts +2 -2
- 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,10 +6936,13 @@ 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
|
}
|
|
6943
|
+
setParentWidth(e) {
|
|
6944
|
+
this.width = e;
|
|
6945
|
+
}
|
|
6922
6946
|
getRowCount() {
|
|
6923
6947
|
var e;
|
|
6924
6948
|
return (e = this.filteredItems) != null && e.length ? Math.floor(this.filteredItems.length / this.getColumnCount()) + 1 : 0;
|
|
@@ -6978,7 +7002,7 @@ class Tt {
|
|
|
6978
7002
|
this.filteredItems = this.items.filter(e);
|
|
6979
7003
|
}
|
|
6980
7004
|
isFilterable() {
|
|
6981
|
-
return !
|
|
7005
|
+
return !0;
|
|
6982
7006
|
}
|
|
6983
7007
|
doSort(e) {
|
|
6984
7008
|
if (!this.filteredItems) return !1;
|
|
@@ -7008,7 +7032,7 @@ class Tt {
|
|
|
7008
7032
|
arrayMove(e, t, s) {
|
|
7009
7033
|
}
|
|
7010
7034
|
}
|
|
7011
|
-
class
|
|
7035
|
+
class Dt {
|
|
7012
7036
|
constructor(e, t = 0) {
|
|
7013
7037
|
this.bodyModel = e, this.paddingTop = t, this.headerAreaModel = new k(), this.footerAreaModel = new k();
|
|
7014
7038
|
}
|
|
@@ -7020,6 +7044,7 @@ class kt {
|
|
|
7020
7044
|
init() {
|
|
7021
7045
|
}
|
|
7022
7046
|
setParentWidth(e) {
|
|
7047
|
+
this.bodyModel.width = e;
|
|
7023
7048
|
}
|
|
7024
7049
|
getColumnCount() {
|
|
7025
7050
|
return this.bodyModel.getColumnCount();
|
|
@@ -7065,6 +7090,7 @@ class kt {
|
|
|
7065
7090
|
return this.bodyModel.coverWidth;
|
|
7066
7091
|
}
|
|
7067
7092
|
setColumnWidth(e, t) {
|
|
7093
|
+
this.bodyModel.coverWidth = t;
|
|
7068
7094
|
}
|
|
7069
7095
|
recalcSize(e) {
|
|
7070
7096
|
}
|
|
@@ -7099,13 +7125,13 @@ class kt {
|
|
|
7099
7125
|
return this.tableScope;
|
|
7100
7126
|
}
|
|
7101
7127
|
}
|
|
7102
|
-
class
|
|
7128
|
+
class Rs {
|
|
7103
7129
|
static createCoverGridModel(e, t, s = 200, o = 300, i = 0, r = 0) {
|
|
7104
|
-
const n = new
|
|
7105
|
-
return new
|
|
7130
|
+
const n = new kt(e, t, s, o, i, r);
|
|
7131
|
+
return new Dt(n, r);
|
|
7106
7132
|
}
|
|
7107
7133
|
}
|
|
7108
|
-
const
|
|
7134
|
+
const As = [
|
|
7109
7135
|
"COPY_2_CLIPBOARD",
|
|
7110
7136
|
"START_EDITING",
|
|
7111
7137
|
"TOGGLE_SELECTION",
|
|
@@ -7123,17 +7149,17 @@ const Rs = [
|
|
|
7123
7149
|
// "PAGEUP_PRESSED",
|
|
7124
7150
|
// "PAGEDOWN_PRESSED"
|
|
7125
7151
|
];
|
|
7126
|
-
class
|
|
7152
|
+
class Ft {
|
|
7127
7153
|
constructor(e, t) {
|
|
7128
7154
|
this.tableModel = e, this.tableOptions = t;
|
|
7129
7155
|
}
|
|
7130
7156
|
}
|
|
7131
|
-
class
|
|
7157
|
+
class Pt {
|
|
7132
7158
|
constructor(e, t, s, o, i, r, n) {
|
|
7133
7159
|
this.emmitDataKey = e, this.emmitCancelKey = t, this.queryId = s, this.filter = o, this.sorting = i, this.startIndex = r, this.endIndex = n;
|
|
7134
7160
|
}
|
|
7135
7161
|
}
|
|
7136
|
-
class
|
|
7162
|
+
class Ms extends Pt {
|
|
7137
7163
|
constructor(e, t, s, o, i, r, n, l) {
|
|
7138
7164
|
super(
|
|
7139
7165
|
e,
|
|
@@ -7146,25 +7172,25 @@ class As extends Ft {
|
|
|
7146
7172
|
), this.rows = l;
|
|
7147
7173
|
}
|
|
7148
7174
|
}
|
|
7149
|
-
class
|
|
7175
|
+
class _t {
|
|
7150
7176
|
constructor(e, t) {
|
|
7151
7177
|
this.value = e, this.label = t;
|
|
7152
7178
|
}
|
|
7153
7179
|
}
|
|
7154
|
-
class
|
|
7180
|
+
class Is {
|
|
7155
7181
|
constructor(e, t) {
|
|
7156
7182
|
this.index = e, this.px = t;
|
|
7157
7183
|
}
|
|
7158
7184
|
}
|
|
7159
|
-
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 = {
|
|
7160
7186
|
header: ["ge-table-text-align-left"],
|
|
7161
7187
|
body: ["ge-table-text-align-left"],
|
|
7162
7188
|
footer: ["ge-table-text-align-left"]
|
|
7163
|
-
},
|
|
7189
|
+
}, Fs = {
|
|
7164
7190
|
header: ["ge-table-text-align-center"],
|
|
7165
7191
|
body: ["ge-table-text-align-center"],
|
|
7166
7192
|
footer: ["ge-table-text-align-center"]
|
|
7167
|
-
},
|
|
7193
|
+
}, Ps = {
|
|
7168
7194
|
header: ["ge-table-text-align-right"],
|
|
7169
7195
|
body: ["ge-table-text-align-right"],
|
|
7170
7196
|
footer: ["ge-table-text-align-right"]
|
|
@@ -7173,7 +7199,7 @@ class ke {
|
|
|
7173
7199
|
render(e, t, s, o, i, r, n) {
|
|
7174
7200
|
if (i.isRowCheckable(t)) {
|
|
7175
7201
|
n.addClass(e, "ge-table-row-checkbox-div");
|
|
7176
|
-
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>' : "";
|
|
7177
7203
|
e.innerHTML = `
|
|
7178
7204
|
<input
|
|
7179
7205
|
type="checkbox"
|
|
@@ -7183,11 +7209,11 @@ class ke {
|
|
|
7183
7209
|
data-input-type="checkbox"
|
|
7184
7210
|
${a}
|
|
7185
7211
|
class="ge-table-row-checkbox">
|
|
7186
|
-
${
|
|
7212
|
+
${c} `;
|
|
7187
7213
|
}
|
|
7188
7214
|
}
|
|
7189
7215
|
}
|
|
7190
|
-
class
|
|
7216
|
+
class _s {
|
|
7191
7217
|
constructor() {
|
|
7192
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(
|
|
7193
7219
|
[],
|
|
@@ -7196,7 +7222,7 @@ class Ps {
|
|
|
7196
7222
|
);
|
|
7197
7223
|
}
|
|
7198
7224
|
}
|
|
7199
|
-
class
|
|
7225
|
+
class Ls {
|
|
7200
7226
|
/**
|
|
7201
7227
|
* A factory that creates a new AreaObjectMap with the given body renderer.
|
|
7202
7228
|
*
|
|
@@ -7211,17 +7237,17 @@ class _s {
|
|
|
7211
7237
|
);
|
|
7212
7238
|
}
|
|
7213
7239
|
}
|
|
7214
|
-
class
|
|
7240
|
+
class Os {
|
|
7215
7241
|
constructor(e = "down", t) {
|
|
7216
7242
|
this.status = e, this.originalEvent = t;
|
|
7217
7243
|
}
|
|
7218
7244
|
}
|
|
7219
|
-
class
|
|
7245
|
+
class $s {
|
|
7220
7246
|
constructor(e, t, s, o, i = {}) {
|
|
7221
7247
|
this.area = e, this.rowIndex = t, this.columnIndex = s, this.value = o, this.cssClasses = i;
|
|
7222
7248
|
}
|
|
7223
7249
|
}
|
|
7224
|
-
class
|
|
7250
|
+
class Vs {
|
|
7225
7251
|
constructor() {
|
|
7226
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) => {
|
|
7227
7253
|
if (e && t && s.getRowId) {
|
|
@@ -7246,12 +7272,12 @@ class $s {
|
|
|
7246
7272
|
};
|
|
7247
7273
|
}
|
|
7248
7274
|
}
|
|
7249
|
-
class
|
|
7275
|
+
class Lt {
|
|
7250
7276
|
constructor(e, t, s, o = !1, i = "normal", r = void 0) {
|
|
7251
7277
|
this.data = e, this.property = t, this.toggle = s, this.closed = o, this.visibility = i, this.children = r, this.impl = "CellGroup";
|
|
7252
7278
|
}
|
|
7253
7279
|
}
|
|
7254
|
-
class
|
|
7280
|
+
class Ot extends Lt {
|
|
7255
7281
|
constructor(e, t = 0, s = 0, o) {
|
|
7256
7282
|
super(
|
|
7257
7283
|
e.data,
|
|
@@ -7376,7 +7402,7 @@ class E {
|
|
|
7376
7402
|
static buildGroupExts(e, t = [], s = 0, o) {
|
|
7377
7403
|
let i;
|
|
7378
7404
|
for (let r = 0; r < e.length; r++) {
|
|
7379
|
-
const n = e[r], l = new
|
|
7405
|
+
const n = e[r], l = new Ot(n, s, r, o);
|
|
7380
7406
|
i && (l.leftNeighbour = i, i.rightNeighbour = l), t.push(l), n.children && (l.children = E.buildGroupExts(n.children, [], s + 1, l)), i = l;
|
|
7381
7407
|
}
|
|
7382
7408
|
return t;
|
|
@@ -7418,7 +7444,7 @@ class E {
|
|
|
7418
7444
|
e.push(o.data + " rowIndex:" + o.rowIndex), (s = o.children) != null && s.length && E.iterateThrowColumns(e, o.children);
|
|
7419
7445
|
}
|
|
7420
7446
|
}
|
|
7421
|
-
class
|
|
7447
|
+
class Bs {
|
|
7422
7448
|
constructor() {
|
|
7423
7449
|
this.areaIdent = "body", this.rowSelectionModel = void 0;
|
|
7424
7450
|
}
|
|
@@ -8047,8 +8073,8 @@ const Q = class Q {
|
|
|
8047
8073
|
render(e, t, s, o, i, r, n) {
|
|
8048
8074
|
const l = r != null && r.data ? r.data : "";
|
|
8049
8075
|
if (r) {
|
|
8050
|
-
const { toggle: a, visibility:
|
|
8051
|
-
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);
|
|
8052
8078
|
} else
|
|
8053
8079
|
this.addText(e, o, t, s, l, "");
|
|
8054
8080
|
}
|
|
@@ -8065,7 +8091,7 @@ const Q = class Q {
|
|
|
8065
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}`);
|
|
8066
8092
|
let a;
|
|
8067
8093
|
s ? a = this.headerGroupOptions.iconExpanded : a = this.headerGroupOptions.iconCollapsed;
|
|
8068
|
-
const
|
|
8094
|
+
const c = a.content, h = e.createText(c);
|
|
8069
8095
|
e.appendChild(l, h), a.style && this.applyStyleString(e, l, a.style);
|
|
8070
8096
|
for (const u of a.classes)
|
|
8071
8097
|
e.addClass(l, u);
|
|
@@ -8080,10 +8106,10 @@ const Q = class Q {
|
|
|
8080
8106
|
}
|
|
8081
8107
|
};
|
|
8082
8108
|
Q.toggleHeaderGroup = "toggleHeaderGroup";
|
|
8083
|
-
let
|
|
8084
|
-
class
|
|
8109
|
+
let ce = Q;
|
|
8110
|
+
class Hs {
|
|
8085
8111
|
constructor(e = "header", t, s = [], o, i = new ye()) {
|
|
8086
|
-
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();
|
|
8087
8113
|
}
|
|
8088
8114
|
sort(e) {
|
|
8089
8115
|
}
|
|
@@ -8183,7 +8209,7 @@ class Bs {
|
|
|
8183
8209
|
return t != null && t.toggle && t.visibility !== "always" && (t.closed = !t.closed, this.init()), E.buildColumnDefs(this.groupExts);
|
|
8184
8210
|
}
|
|
8185
8211
|
}
|
|
8186
|
-
class
|
|
8212
|
+
class Ws {
|
|
8187
8213
|
filterPredict(e, t, s = this.objectToString.bind(this)) {
|
|
8188
8214
|
if (!e)
|
|
8189
8215
|
return !1;
|
|
@@ -8191,10 +8217,10 @@ class Hs {
|
|
|
8191
8217
|
return !0;
|
|
8192
8218
|
t = t.toLowerCase();
|
|
8193
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, ""));
|
|
8194
|
-
let
|
|
8220
|
+
let c = !n.length;
|
|
8195
8221
|
for (let h = 0; h < n.length; h++)
|
|
8196
|
-
(
|
|
8197
|
-
if (!
|
|
8222
|
+
(c || s(e).includes(n[h])) && (c = !0);
|
|
8223
|
+
if (!c)
|
|
8198
8224
|
return !1;
|
|
8199
8225
|
for (let h = 0; h < l.length; h++)
|
|
8200
8226
|
if (!s(e).includes(l[h]))
|
|
@@ -8210,18 +8236,18 @@ class Hs {
|
|
|
8210
8236
|
if (!t)
|
|
8211
8237
|
return [...e];
|
|
8212
8238
|
t = t.toLowerCase();
|
|
8213
|
-
const o = "+", i = "-", r = t.toLowerCase().split(" ").filter((
|
|
8214
|
-
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) => {
|
|
8215
8241
|
let h = !n.length;
|
|
8216
8242
|
for (let u = 0; u < n.length; u++)
|
|
8217
|
-
(h || s(
|
|
8243
|
+
(h || s(c).includes(n[u])) && (h = !0);
|
|
8218
8244
|
if (!h)
|
|
8219
8245
|
return !1;
|
|
8220
8246
|
for (let u = 0; u < l.length; u++)
|
|
8221
|
-
if (!s(
|
|
8247
|
+
if (!s(c).includes(l[u]))
|
|
8222
8248
|
return !1;
|
|
8223
8249
|
for (let u = 0; u < a.length; u++)
|
|
8224
|
-
if (s(
|
|
8250
|
+
if (s(c).includes(a[u]))
|
|
8225
8251
|
return !1;
|
|
8226
8252
|
return !0;
|
|
8227
8253
|
});
|
|
@@ -8237,19 +8263,19 @@ class Hs {
|
|
|
8237
8263
|
return t.join(" ").toLowerCase();
|
|
8238
8264
|
}
|
|
8239
8265
|
}
|
|
8240
|
-
class
|
|
8266
|
+
class Ns {
|
|
8241
8267
|
static bodyRenderer(e) {
|
|
8242
8268
|
return new T(void 0, e, void 0);
|
|
8243
8269
|
}
|
|
8244
8270
|
}
|
|
8245
|
-
class
|
|
8271
|
+
class Gs {
|
|
8246
8272
|
constructor(e, t = !0, s = !1) {
|
|
8247
8273
|
this.property = e, this.skipCheckableCheck = t, this.readonly = s;
|
|
8248
8274
|
}
|
|
8249
8275
|
render(e, t, s, o, i, r, n) {
|
|
8250
8276
|
if (this.readonly || this.skipCheckableCheck || i.isRowCheckable(t)) {
|
|
8251
8277
|
n.addClass(e, "ge-table-row-checkbox-div");
|
|
8252
|
-
const l = i.getRowByIndex(t),
|
|
8278
|
+
const l = i.getRowByIndex(t), c = i.getValueByT(l, this.property) === !0 ? "checked" : "", h = this.readonly ? " readonly " : "";
|
|
8253
8279
|
if (n.addClass(e, "ge-padding-property-checkbox"), e.innerHTML = `
|
|
8254
8280
|
<input
|
|
8255
8281
|
type="checkbox"
|
|
@@ -8258,7 +8284,7 @@ class Ns {
|
|
|
8258
8284
|
data-col-index="${s}"
|
|
8259
8285
|
data-property-index="${this.property}"
|
|
8260
8286
|
data-input-type="checkbox"
|
|
8261
|
-
${
|
|
8287
|
+
${c}
|
|
8262
8288
|
${h}
|
|
8263
8289
|
class="ge-input-checkbox">`, !this.readonly) {
|
|
8264
8290
|
const u = e.querySelector(".ge-input-checkbox");
|
|
@@ -8267,12 +8293,12 @@ class Ns {
|
|
|
8267
8293
|
}
|
|
8268
8294
|
}
|
|
8269
8295
|
}
|
|
8270
|
-
class
|
|
8296
|
+
class zs {
|
|
8271
8297
|
render(e, t, s, o, i, r, n) {
|
|
8272
8298
|
r && (e.innerText = new Date(r).toISOString());
|
|
8273
8299
|
}
|
|
8274
8300
|
}
|
|
8275
|
-
class
|
|
8301
|
+
class js {
|
|
8276
8302
|
constructor() {
|
|
8277
8303
|
this.formatter = new Intl.DateTimeFormat("de-DE", {
|
|
8278
8304
|
year: "numeric",
|
|
@@ -8295,29 +8321,29 @@ class zs {
|
|
|
8295
8321
|
}
|
|
8296
8322
|
}
|
|
8297
8323
|
}
|
|
8298
|
-
class
|
|
8324
|
+
class Us {
|
|
8299
8325
|
render(e, t, s, o, i, r, n) {
|
|
8300
8326
|
r && (e.innerText = new Date(r).toLocaleDateString());
|
|
8301
8327
|
}
|
|
8302
8328
|
}
|
|
8303
|
-
class
|
|
8329
|
+
class Ys {
|
|
8304
8330
|
render(e, t, s, o, i, r, n) {
|
|
8305
8331
|
r === "male" || r === "m" ? e.innerText = "♂" : (r === "female" || r === "f") && (e.innerText = "♀");
|
|
8306
8332
|
}
|
|
8307
8333
|
}
|
|
8308
|
-
class
|
|
8334
|
+
class Ks {
|
|
8309
8335
|
constructor(e = 100, t = !1) {
|
|
8310
8336
|
this.maxValue = e, this.labelVisible = t;
|
|
8311
8337
|
}
|
|
8312
8338
|
render(e, t, s, o, i, r, n) {
|
|
8313
8339
|
if (n.addClass(e, "ge-progressbar-div"), !isNaN(r)) {
|
|
8314
|
-
const a = Number(r) * 100 / this.maxValue,
|
|
8340
|
+
const a = Number(r) * 100 / this.maxValue, c = this.labelVisible ? Math.round(a) + "%" : "";
|
|
8315
8341
|
e.innerHTML = `
|
|
8316
8342
|
<div class="ge-table-label-div"
|
|
8317
8343
|
data-row-index="${t}"
|
|
8318
8344
|
data-col-index="${s}"
|
|
8319
8345
|
data-area="${o}"
|
|
8320
|
-
title="${
|
|
8346
|
+
title="${c}"
|
|
8321
8347
|
style="position: relative; background: transparent; width: 100%; height: 100%;">
|
|
8322
8348
|
<div class="ge-table-progress-container"
|
|
8323
8349
|
style="width:100%;height:50%;padding:0;margin-top:6px;"
|
|
@@ -8335,17 +8361,17 @@ class Ys {
|
|
|
8335
8361
|
}
|
|
8336
8362
|
}
|
|
8337
8363
|
}
|
|
8338
|
-
class
|
|
8364
|
+
class Xs {
|
|
8339
8365
|
render(e, t, s, o, i, r, n) {
|
|
8340
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 = "";
|
|
8341
8367
|
}
|
|
8342
8368
|
}
|
|
8343
|
-
class
|
|
8369
|
+
class Js {
|
|
8344
8370
|
render(e, t, s, o, i, r, n) {
|
|
8345
8371
|
r && (e.innerText = new Date(r).toISOString().replace(/T/g, " ").replace(/\..*/g, ""));
|
|
8346
8372
|
}
|
|
8347
8373
|
}
|
|
8348
|
-
class
|
|
8374
|
+
class qs {
|
|
8349
8375
|
constructor(e = Number.MIN_SAFE_INTEGER, t = Number.MAX_SAFE_INTEGER) {
|
|
8350
8376
|
this.min = e, this.max = t;
|
|
8351
8377
|
}
|
|
@@ -8356,7 +8382,7 @@ class Js {
|
|
|
8356
8382
|
</div>`, (typeof r == "string" || isNaN(r) || r < this.min || r > this.max) && n.addClass(e, "ge-cell-error"));
|
|
8357
8383
|
}
|
|
8358
8384
|
}
|
|
8359
|
-
class
|
|
8385
|
+
class Zs {
|
|
8360
8386
|
constructor(e) {
|
|
8361
8387
|
this.property = e;
|
|
8362
8388
|
}
|
|
@@ -8364,10 +8390,10 @@ class qs {
|
|
|
8364
8390
|
n.addClass(e, "ge-star-rating-div");
|
|
8365
8391
|
const l = i.getRowByIndex(t), a = +("" + i.getValueByT(l, this.property));
|
|
8366
8392
|
if (!isNaN(a)) {
|
|
8367
|
-
const
|
|
8393
|
+
const c = [];
|
|
8368
8394
|
for (let u = 0; u < a; u++)
|
|
8369
|
-
|
|
8370
|
-
const h =
|
|
8395
|
+
c.push("★");
|
|
8396
|
+
const h = c.join(" ");
|
|
8371
8397
|
e.innerHTML = `
|
|
8372
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%;">
|
|
8373
8399
|
<div class="ge-table-label" data-row-index="${t}" data-col-index="${s}" data-area="${o}">${h}</div>
|
|
@@ -8375,20 +8401,20 @@ class qs {
|
|
|
8375
8401
|
}
|
|
8376
8402
|
}
|
|
8377
8403
|
}
|
|
8378
|
-
class
|
|
8404
|
+
class Qs {
|
|
8379
8405
|
render(e, t, s, o, i, r, n) {
|
|
8380
8406
|
if (r != null && r.length) {
|
|
8381
8407
|
const l = n.createElement("div");
|
|
8382
8408
|
n.addClass(l, "ge-table-label-div"), n.appendChild(e, l);
|
|
8383
8409
|
const a = n.createElement("div");
|
|
8384
8410
|
n.addClass(a, "ge-table-label"), n.appendChild(l, a);
|
|
8385
|
-
const
|
|
8386
|
-
n.appendChild(a,
|
|
8411
|
+
const c = n.createText(r.join(", "));
|
|
8412
|
+
n.appendChild(a, c);
|
|
8387
8413
|
} else
|
|
8388
8414
|
e.innerText = "";
|
|
8389
8415
|
}
|
|
8390
8416
|
}
|
|
8391
|
-
class
|
|
8417
|
+
class eo {
|
|
8392
8418
|
constructor(e, t = 100, s = !1) {
|
|
8393
8419
|
this.property = e, this.maxValue = t, this.labelVisible = s;
|
|
8394
8420
|
}
|
|
@@ -8396,7 +8422,7 @@ class Qs {
|
|
|
8396
8422
|
n.addClass(e, "ge-star-rating-div");
|
|
8397
8423
|
const l = i.getRowByIndex(t), a = +("" + i.getValueByT(l, this.property));
|
|
8398
8424
|
if (!isNaN(a)) {
|
|
8399
|
-
const
|
|
8425
|
+
const c = a * 100 / this.maxValue, h = this.labelVisible ? Math.round(c) + "%" : "";
|
|
8400
8426
|
e.innerHTML = `
|
|
8401
8427
|
<div class="ge-table-label-div"
|
|
8402
8428
|
data-row-index="${t}"
|
|
@@ -8410,7 +8436,7 @@ class Qs {
|
|
|
8410
8436
|
data-col-index="${s}"
|
|
8411
8437
|
data-area="${o}">
|
|
8412
8438
|
<div class="ge-table-progress-bar"
|
|
8413
|
-
style="width:${
|
|
8439
|
+
style="width:${c}%;height:100%;padding:0;margin:0;"
|
|
8414
8440
|
data-row-index="${t}"
|
|
8415
8441
|
data-col-index="${s}"
|
|
8416
8442
|
data-area="${o}">
|
|
@@ -8420,7 +8446,7 @@ class Qs {
|
|
|
8420
8446
|
}
|
|
8421
8447
|
}
|
|
8422
8448
|
}
|
|
8423
|
-
class
|
|
8449
|
+
class to {
|
|
8424
8450
|
render(e, t, s, o, i, r, n) {
|
|
8425
8451
|
if (r) {
|
|
8426
8452
|
e.innerHTML = `
|
|
@@ -8450,16 +8476,16 @@ class $ {
|
|
|
8450
8476
|
this.action = e, this.label = t, this.icon = s, this.elementClass = o, this.elementType = i, this.enabled = r;
|
|
8451
8477
|
}
|
|
8452
8478
|
}
|
|
8453
|
-
class
|
|
8479
|
+
class $t {
|
|
8454
8480
|
constructor(e, t) {
|
|
8455
8481
|
this.actionEventListener = e, this.crudActions = t;
|
|
8456
8482
|
}
|
|
8457
8483
|
render(e, t, s, o, i, r, n) {
|
|
8458
8484
|
n.addClass(e, "ge-table-row-action-div");
|
|
8459
|
-
const l = r,
|
|
8485
|
+
const l = r, c = this.getCrudActions(r).map(
|
|
8460
8486
|
(h) => h.elementType === "button" ? this.buildButtonHtml(h, o, t, s, l) : this.buildLinkHtml(h, o, t, s, l)
|
|
8461
8487
|
);
|
|
8462
|
-
e.innerHTML =
|
|
8488
|
+
e.innerHTML = c.join(""), this.addClickEventListeners(e, o, i);
|
|
8463
8489
|
}
|
|
8464
8490
|
buildButtonHtml(e, t, s, o, i) {
|
|
8465
8491
|
const r = e.enabled ? 'data-listen="click"' : "disabled";
|
|
@@ -8506,8 +8532,8 @@ class Ot {
|
|
|
8506
8532
|
createActionEvent(e, t) {
|
|
8507
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";
|
|
8508
8534
|
if (s && o && i) {
|
|
8509
|
-
const l = ee(s), a = Number(o),
|
|
8510
|
-
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);
|
|
8511
8537
|
}
|
|
8512
8538
|
return null;
|
|
8513
8539
|
}
|
|
@@ -8515,8 +8541,8 @@ class Ot {
|
|
|
8515
8541
|
return Array.isArray(e) && e.every((t) => t instanceof $) ? e : this.crudActions;
|
|
8516
8542
|
}
|
|
8517
8543
|
}
|
|
8518
|
-
const
|
|
8519
|
-
return
|
|
8544
|
+
const so = function(d, e, t) {
|
|
8545
|
+
return d ? Number(d) : "";
|
|
8520
8546
|
};
|
|
8521
8547
|
class Ne {
|
|
8522
8548
|
constructor(e) {
|
|
@@ -8524,7 +8550,7 @@ class Ne {
|
|
|
8524
8550
|
}
|
|
8525
8551
|
static create(e) {
|
|
8526
8552
|
return new Ne(
|
|
8527
|
-
e.map((t) => new
|
|
8553
|
+
e.map((t) => new _t(t, t))
|
|
8528
8554
|
);
|
|
8529
8555
|
}
|
|
8530
8556
|
render(e, t, s, o, i, r, n) {
|
|
@@ -8536,7 +8562,7 @@ class Ne {
|
|
|
8536
8562
|
const u = h.value === l ? " selected " : "";
|
|
8537
8563
|
a.push(`<option value="${h.value}" ${u}>${h.label}</option>`);
|
|
8538
8564
|
}
|
|
8539
|
-
const
|
|
8565
|
+
const c = a.join("");
|
|
8540
8566
|
e.innerHTML = `
|
|
8541
8567
|
<select
|
|
8542
8568
|
autofocus
|
|
@@ -8546,11 +8572,11 @@ class Ne {
|
|
|
8546
8572
|
data-col-index="${s}"
|
|
8547
8573
|
data-input-type="text"
|
|
8548
8574
|
style="width:100%;height:100%;border:0;padding:0 0 0 8px;"
|
|
8549
|
-
class="ge-table-cell-editor-select">${
|
|
8575
|
+
class="ge-table-cell-editor-select">${c}</select>`;
|
|
8550
8576
|
}
|
|
8551
8577
|
}
|
|
8552
8578
|
}
|
|
8553
|
-
class
|
|
8579
|
+
class oo extends be {
|
|
8554
8580
|
constructor(e) {
|
|
8555
8581
|
super("row", "multi"), this.model = e;
|
|
8556
8582
|
}
|
|
@@ -8633,7 +8659,7 @@ class so extends be {
|
|
|
8633
8659
|
this.isSelected(e, 0) ? this.unselectRow(e) : this.selectRow(e);
|
|
8634
8660
|
}
|
|
8635
8661
|
}
|
|
8636
|
-
class
|
|
8662
|
+
class io {
|
|
8637
8663
|
constructor(e, t, s) {
|
|
8638
8664
|
this.r = e, this.g = t, this.b = s;
|
|
8639
8665
|
}
|
|
@@ -8655,17 +8681,17 @@ class K {
|
|
|
8655
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})`;
|
|
8656
8682
|
}
|
|
8657
8683
|
}
|
|
8658
|
-
class
|
|
8684
|
+
class ro {
|
|
8659
8685
|
constructor(e, t, s, o, i, r) {
|
|
8660
8686
|
this.minValue = e, this.minColor = t, this.middleValue = s, this.middleColor = o, this.maxValue = i, this.maxColor = r;
|
|
8661
8687
|
}
|
|
8662
8688
|
}
|
|
8663
|
-
class
|
|
8689
|
+
class Vt {
|
|
8664
8690
|
constructor(e = !0, t = !0, s = (r, n) => r * 10 + 10, o = 50, i = 450) {
|
|
8665
8691
|
this.autoCalc = e, this.takeHeaderLabelsIntoAccount = t, this.charCountToWidth = s, this.minWidth = o, this.maxWidth = i;
|
|
8666
8692
|
}
|
|
8667
8693
|
}
|
|
8668
|
-
class
|
|
8694
|
+
class Bt {
|
|
8669
8695
|
constructor(e) {
|
|
8670
8696
|
this.object = e;
|
|
8671
8697
|
}
|
|
@@ -8797,7 +8823,7 @@ class ie {
|
|
|
8797
8823
|
return e.replace(/\./g, " ");
|
|
8798
8824
|
}
|
|
8799
8825
|
}
|
|
8800
|
-
class
|
|
8826
|
+
class Ht {
|
|
8801
8827
|
constructor() {
|
|
8802
8828
|
this.urls = {
|
|
8803
8829
|
list: {
|
|
@@ -8813,7 +8839,7 @@ class Bt {
|
|
|
8813
8839
|
], this.tableActions = [
|
|
8814
8840
|
new $("CREATE", "Create", "", "", "button"),
|
|
8815
8841
|
new $("DELETE_SELECTED", "Delete Selected", "", "", "button")
|
|
8816
|
-
], 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) => {
|
|
8817
8843
|
const t = e.getHeadersInit ? e.getHeadersInit() : {};
|
|
8818
8844
|
let s = e.urls.list.url, o = e.urls.list.method ?? "GET";
|
|
8819
8845
|
return fetch(s, {
|
|
@@ -8864,9 +8890,9 @@ class Bt {
|
|
|
8864
8890
|
};
|
|
8865
8891
|
}
|
|
8866
8892
|
}
|
|
8867
|
-
class
|
|
8893
|
+
class no {
|
|
8868
8894
|
constructor() {
|
|
8869
|
-
this.crudOptions = new
|
|
8895
|
+
this.crudOptions = new Ht(), this.listenActionEvent = (e) => {
|
|
8870
8896
|
};
|
|
8871
8897
|
}
|
|
8872
8898
|
createTableModel(e, t, s = (i) => {
|
|
@@ -8875,14 +8901,14 @@ class ro {
|
|
|
8875
8901
|
this.crudOptions = e, this.listenActionEvent = o, e.fetchList(e).then((i) => {
|
|
8876
8902
|
var r, n, l, a;
|
|
8877
8903
|
if (t.rows = i, i != null && i.length) {
|
|
8878
|
-
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;
|
|
8879
8905
|
this.tableOptions = {
|
|
8880
8906
|
...new J(),
|
|
8881
8907
|
...t.tableOptions,
|
|
8882
8908
|
hoverColumnVisible: !1,
|
|
8883
8909
|
getSelectionModel: u
|
|
8884
8910
|
};
|
|
8885
|
-
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")));
|
|
8886
8912
|
if ((l = e == null ? void 0 : e.columnWidths) != null && l.autoCalc)
|
|
8887
8913
|
for (let w = 0; w < p.length; w++) {
|
|
8888
8914
|
const S = p[w];
|
|
@@ -8892,12 +8918,12 @@ class ro {
|
|
|
8892
8918
|
let w = new H(
|
|
8893
8919
|
"id",
|
|
8894
8920
|
"Actions",
|
|
8895
|
-
|
|
8921
|
+
It,
|
|
8896
8922
|
new T(["ge-table-text-align-left"], ["ge-table-text-align-left ge-table-actions-cell"], void 0)
|
|
8897
8923
|
);
|
|
8898
8924
|
w.rendererMap = new T(
|
|
8899
8925
|
void 0,
|
|
8900
|
-
new
|
|
8926
|
+
new $t(this, e.singleRowActions),
|
|
8901
8927
|
void 0
|
|
8902
8928
|
), p.push(w);
|
|
8903
8929
|
}
|
|
@@ -8909,7 +8935,7 @@ class ro {
|
|
|
8909
8935
|
fixedLeftColumnCount: m,
|
|
8910
8936
|
fixedRightColumnCount: g
|
|
8911
8937
|
}), this.tableModel.getSelectionModel = u, this.bodyModel = (a = this.tableModel) == null ? void 0 : a.getBodyModel();
|
|
8912
|
-
const b = new
|
|
8938
|
+
const b = new Ft(this.tableModel, this.tableOptions);
|
|
8913
8939
|
s(b);
|
|
8914
8940
|
}
|
|
8915
8941
|
});
|
|
@@ -8924,7 +8950,7 @@ class ro {
|
|
|
8924
8950
|
var t, s, o, i;
|
|
8925
8951
|
if (this.listenActionEvent && this.listenActionEvent(e), e.action === "VIEW") {
|
|
8926
8952
|
let r = e.id;
|
|
8927
|
-
(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));
|
|
8928
8954
|
} else if (e.action === "EDIT") {
|
|
8929
8955
|
let r = e.id;
|
|
8930
8956
|
const n = this.crudOptions.getIdKey() ?? "id";
|
|
@@ -8943,8 +8969,8 @@ class ro {
|
|
|
8943
8969
|
n,
|
|
8944
8970
|
a,
|
|
8945
8971
|
"Clone Item"
|
|
8946
|
-
).openDialog((
|
|
8947
|
-
console.info(
|
|
8972
|
+
).openDialog((c) => {
|
|
8973
|
+
console.info(c), this.crudOptions.createItem(this.crudOptions, c);
|
|
8948
8974
|
}), a;
|
|
8949
8975
|
});
|
|
8950
8976
|
} else if (e.action === "CREATE") {
|
|
@@ -8959,8 +8985,8 @@ class ro {
|
|
|
8959
8985
|
} else if (e.action === "DELETE") {
|
|
8960
8986
|
let r = e.id;
|
|
8961
8987
|
(i = this.crudOptions) == null || i.deleteItem(this.crudOptions, r).then((n) => {
|
|
8962
|
-
var l, a,
|
|
8963
|
-
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;
|
|
8964
8990
|
});
|
|
8965
8991
|
}
|
|
8966
8992
|
}
|
|
@@ -8970,21 +8996,21 @@ class ro {
|
|
|
8970
8996
|
if (!((a = this.crudOptions.columnWidths) != null && a.autoCalc))
|
|
8971
8997
|
return new Array(o).fill(200);
|
|
8972
8998
|
const i = e.length ?? 0, r = new Array(o).fill(0);
|
|
8973
|
-
for (let
|
|
8999
|
+
for (let c = 0; c < i; c++)
|
|
8974
9000
|
for (let h = 0; h < o; h++) {
|
|
8975
|
-
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;
|
|
8976
9002
|
p > r[h] && (r[h] = p);
|
|
8977
9003
|
}
|
|
8978
9004
|
if (this.crudOptions.columnWidths.takeHeaderLabelsIntoAccount)
|
|
8979
|
-
for (let
|
|
8980
|
-
const h = s[
|
|
8981
|
-
h > r[
|
|
9005
|
+
for (let c = 0; c < o; c++) {
|
|
9006
|
+
const h = s[c].length || 0;
|
|
9007
|
+
h > r[c] && (r[c] = h);
|
|
8982
9008
|
}
|
|
8983
9009
|
const n = this.crudOptions.columnWidths.minWidth, l = this.crudOptions.columnWidths.maxWidth;
|
|
8984
|
-
return r.map((
|
|
9010
|
+
return r.map((c, h) => Math.min(
|
|
8985
9011
|
l,
|
|
8986
9012
|
Math.max(
|
|
8987
|
-
this.crudOptions.columnWidths.charCountToWidth(
|
|
9013
|
+
this.crudOptions.columnWidths.charCountToWidth(c, h),
|
|
8988
9014
|
n
|
|
8989
9015
|
)
|
|
8990
9016
|
));
|
|
@@ -9005,7 +9031,7 @@ class ro {
|
|
|
9005
9031
|
return s;
|
|
9006
9032
|
}
|
|
9007
9033
|
}
|
|
9008
|
-
class
|
|
9034
|
+
class lo {
|
|
9009
9035
|
constructor(e, t) {
|
|
9010
9036
|
this.method = e, this.url = t;
|
|
9011
9037
|
}
|
|
@@ -9013,187 +9039,188 @@ class no {
|
|
|
9013
9039
|
export {
|
|
9014
9040
|
pe as AbstractAreaModel,
|
|
9015
9041
|
We as ActionEvent,
|
|
9016
|
-
|
|
9042
|
+
$t as ActionsCellRenderer,
|
|
9017
9043
|
Oe as AnyPropertyType,
|
|
9018
|
-
|
|
9019
|
-
|
|
9044
|
+
Ls as AreaMapFactory,
|
|
9045
|
+
Bs as AreaModel,
|
|
9020
9046
|
P as AreaModelArrayOfArrays,
|
|
9021
|
-
|
|
9047
|
+
Hs as AreaModelCellGroups,
|
|
9022
9048
|
k as AreaModelHidden,
|
|
9023
9049
|
_ as AreaModelObjectArray,
|
|
9024
9050
|
Te as AreaModelObjectArrayWithColumndefs,
|
|
9025
9051
|
Ie as AreaModelTree,
|
|
9026
9052
|
T as AreaObjectMap,
|
|
9027
9053
|
B as ArrayPropertyType,
|
|
9028
|
-
|
|
9029
|
-
|
|
9054
|
+
Vs as AutoRestoreOptions,
|
|
9055
|
+
Nt as AvoidDoubleExecution,
|
|
9030
9056
|
Ye as BooleanPropertyType,
|
|
9031
|
-
|
|
9032
|
-
|
|
9033
|
-
|
|
9057
|
+
Lt as CellGroup,
|
|
9058
|
+
Ot as CellGroupExt,
|
|
9059
|
+
ce as CellGroupExtCellRenderer,
|
|
9034
9060
|
A as CellRange,
|
|
9035
9061
|
E as CellgroupFactory,
|
|
9036
|
-
|
|
9062
|
+
Gs as CheckboxBooleanPropertyCellRenderer,
|
|
9037
9063
|
ke as CheckboxCellRenderer,
|
|
9038
|
-
|
|
9039
|
-
|
|
9040
|
-
|
|
9064
|
+
_s as CheckboxColumnDef,
|
|
9065
|
+
Tt as CheckboxModel,
|
|
9066
|
+
Ms as ChunkData,
|
|
9041
9067
|
at as ColAndRowspanModel,
|
|
9042
9068
|
it as CollapsedExpandedData,
|
|
9043
|
-
|
|
9069
|
+
io as ColorRgb,
|
|
9044
9070
|
H as ColumnDef,
|
|
9045
|
-
|
|
9046
|
-
|
|
9071
|
+
Gt as ColumnDefGenerator,
|
|
9072
|
+
Vt as ColumnWidths,
|
|
9047
9073
|
Qe as ConvenienceDomService,
|
|
9048
9074
|
q as CopyService,
|
|
9049
|
-
|
|
9050
|
-
|
|
9051
|
-
|
|
9075
|
+
kt as CoverGridBodyModel,
|
|
9076
|
+
Rs as CoverGridFactory,
|
|
9077
|
+
Dt as CoverGridTableModel,
|
|
9052
9078
|
$ as CrudAction,
|
|
9053
9079
|
ie as CrudObjectEdit,
|
|
9054
|
-
|
|
9055
|
-
|
|
9056
|
-
|
|
9080
|
+
Bt as CrudObjectView,
|
|
9081
|
+
Ht as CrudOptions,
|
|
9082
|
+
no as CrudTableModelFactory,
|
|
9057
9083
|
ve as CssVars,
|
|
9058
|
-
|
|
9059
|
-
|
|
9060
|
-
|
|
9061
|
-
|
|
9084
|
+
js as DateToIntlDDMMYYYYCellRenderer,
|
|
9085
|
+
zs as DateToIsoCellRenderer,
|
|
9086
|
+
Us as DateToLocaleDateCellRenderer,
|
|
9087
|
+
Js as DateToTecCellRenderer,
|
|
9062
9088
|
z as DefaultRowHeights,
|
|
9063
9089
|
lt as EleScope,
|
|
9064
9090
|
ne as EventAdapter,
|
|
9065
|
-
|
|
9066
|
-
|
|
9091
|
+
Ut as EventCheckboxChangedHandler,
|
|
9092
|
+
At as ExcelService,
|
|
9067
9093
|
Ae as FalseFn,
|
|
9068
|
-
|
|
9094
|
+
St as FocusModel,
|
|
9069
9095
|
ut as GeCellIndices,
|
|
9070
9096
|
K as GeCssColorUtil,
|
|
9071
|
-
|
|
9072
|
-
|
|
9097
|
+
Ws as GeFilterService,
|
|
9098
|
+
Os as GeKeyEvent,
|
|
9073
9099
|
me as GeModelChangeEvent,
|
|
9074
9100
|
ue as GeMouseEvent,
|
|
9101
|
+
pt as GeScrollEvent,
|
|
9075
9102
|
L as GeoData,
|
|
9076
9103
|
O as Icon,
|
|
9077
|
-
|
|
9078
|
-
|
|
9104
|
+
Is as IndexAndPx,
|
|
9105
|
+
xt as InputCellRenderer,
|
|
9079
9106
|
ht as InputHandler,
|
|
9080
9107
|
xe as JsonService,
|
|
9081
9108
|
W as LicenseManager,
|
|
9082
|
-
|
|
9109
|
+
Ys as MaleFemaleToIconCellRenderer,
|
|
9083
9110
|
tt as MouseHandler,
|
|
9084
9111
|
et as MouseTargetData,
|
|
9085
|
-
|
|
9112
|
+
oo as MultiRowsSelectionModel,
|
|
9086
9113
|
ze as NullPropertyType,
|
|
9087
|
-
|
|
9088
|
-
|
|
9114
|
+
Ks as NumberCellProgressBarCellRenderer,
|
|
9115
|
+
qs as NumberCellRenderer,
|
|
9089
9116
|
Ue as NumberPropertyType,
|
|
9090
9117
|
F as ObjectPropertyType,
|
|
9091
|
-
|
|
9118
|
+
mt as OsxShortcutActionIdMapping,
|
|
9092
9119
|
Fe as PROPERTY_TYPE_KEY_ANY,
|
|
9093
9120
|
Le as PROPERTY_TYPE_KEY_ARRAY,
|
|
9094
9121
|
he as PROPERTY_TYPE_KEY_BOOLEAN,
|
|
9095
9122
|
Pe as PROPERTY_TYPE_KEY_NULL,
|
|
9096
|
-
|
|
9123
|
+
de as PROPERTY_TYPE_KEY_NUMBER,
|
|
9097
9124
|
U as PROPERTY_TYPE_KEY_OBJECT,
|
|
9098
9125
|
_e as PROPERTY_TYPE_KEY_STRING,
|
|
9099
9126
|
j as PROPERTY_TYPE_KEY_UNDEFINED,
|
|
9100
9127
|
ae as Padding,
|
|
9101
|
-
|
|
9102
|
-
|
|
9128
|
+
to as PositiveAndNegativeNumberRenderer,
|
|
9129
|
+
eo as ProgressBarCellRenderer,
|
|
9103
9130
|
$e as PropertyItem,
|
|
9104
|
-
|
|
9105
|
-
|
|
9106
|
-
|
|
9107
|
-
|
|
9108
|
-
|
|
9109
|
-
|
|
9131
|
+
zt as PropertyTypeService,
|
|
9132
|
+
ct as RenderScope,
|
|
9133
|
+
Ns as Renderer,
|
|
9134
|
+
Pt as RequestChunk,
|
|
9135
|
+
Rt as ResizeHandler,
|
|
9136
|
+
jt as SchemeGenerator,
|
|
9110
9137
|
Ne as SelectCellRenderer,
|
|
9111
9138
|
be as SelectionModel,
|
|
9112
|
-
|
|
9113
|
-
|
|
9114
|
-
|
|
9115
|
-
|
|
9139
|
+
gt as SelectionService,
|
|
9140
|
+
yt as ShortcutService,
|
|
9141
|
+
Qs as SimpleArrayCellRenderer,
|
|
9142
|
+
wt as SimpleDomService,
|
|
9116
9143
|
y as Size,
|
|
9117
|
-
|
|
9144
|
+
dt as SortItem,
|
|
9118
9145
|
Be as SortedOptions,
|
|
9119
|
-
|
|
9146
|
+
Zs as StarRatingCellRenderer,
|
|
9120
9147
|
rt as StoreStateCollapsedExpandService,
|
|
9121
9148
|
ot as StoreStateScrollPosService,
|
|
9122
9149
|
nt as StoreStateSortingService,
|
|
9123
9150
|
je as StringPropertyType,
|
|
9124
9151
|
st as TableApi,
|
|
9125
|
-
|
|
9152
|
+
$s as TableCellUpdateEvent,
|
|
9126
9153
|
V as TableFactory,
|
|
9127
9154
|
oe as TableModel,
|
|
9128
|
-
|
|
9155
|
+
Ft as TableModelAndOptions,
|
|
9129
9156
|
J as TableOptions,
|
|
9130
9157
|
He as TableScope,
|
|
9131
|
-
|
|
9158
|
+
ro as ThreeColorGradientArg,
|
|
9132
9159
|
Ee as TreeCheckboxModel,
|
|
9133
9160
|
le as TreeFactory,
|
|
9134
9161
|
Ve as TreeOptions,
|
|
9135
9162
|
Re as TreeRow,
|
|
9136
|
-
|
|
9137
|
-
|
|
9138
|
-
|
|
9163
|
+
Et as TreeRowService,
|
|
9164
|
+
Xs as TrueFalseCellRenderer,
|
|
9165
|
+
Mt as TrueFn,
|
|
9139
9166
|
De as TwoColorGradientArg,
|
|
9140
9167
|
X as UNIMPORTANT_TYPES,
|
|
9141
9168
|
se as UndefinedPropertyType,
|
|
9142
|
-
|
|
9169
|
+
lo as UrlInfo,
|
|
9143
9170
|
Ke as ValueInfo,
|
|
9144
|
-
|
|
9145
|
-
|
|
9146
|
-
|
|
9147
|
-
|
|
9148
|
-
|
|
9149
|
-
|
|
9150
|
-
|
|
9151
|
-
|
|
9152
|
-
|
|
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,
|
|
9153
9180
|
Ce as createHarmonizedShortcutByKeyboardEvent,
|
|
9154
9181
|
Ge as debounce,
|
|
9155
|
-
|
|
9182
|
+
so as editInputPipeForNumber,
|
|
9156
9183
|
Se as entitySuffix,
|
|
9157
9184
|
qe as firstLetterUppercase,
|
|
9158
9185
|
ee as getAreaIdentByString,
|
|
9159
9186
|
Xe as getEntityName,
|
|
9160
|
-
|
|
9187
|
+
bt as harmonizeShortcut,
|
|
9161
9188
|
re as isAreaModelTree,
|
|
9162
9189
|
Ze as isCheckboxColumnDef,
|
|
9163
9190
|
G as isTreeRow,
|
|
9164
|
-
|
|
9165
|
-
|
|
9166
|
-
|
|
9167
|
-
|
|
9168
|
-
|
|
9191
|
+
vs as px0,
|
|
9192
|
+
Cs as px10,
|
|
9193
|
+
ps as px100,
|
|
9194
|
+
us as px110,
|
|
9195
|
+
hs as px120,
|
|
9169
9196
|
ds as px130,
|
|
9170
|
-
|
|
9171
|
-
|
|
9172
|
-
|
|
9173
|
-
|
|
9174
|
-
|
|
9175
|
-
|
|
9176
|
-
|
|
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,
|
|
9177
9204
|
Me as px200,
|
|
9178
|
-
|
|
9179
|
-
|
|
9180
|
-
|
|
9181
|
-
|
|
9182
|
-
|
|
9183
|
-
|
|
9184
|
-
|
|
9185
|
-
|
|
9186
|
-
|
|
9187
|
-
|
|
9188
|
-
|
|
9189
|
-
|
|
9190
|
-
|
|
9191
|
-
|
|
9192
|
-
|
|
9193
|
-
|
|
9194
|
-
|
|
9195
|
-
|
|
9196
|
-
|
|
9197
|
-
|
|
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,
|
|
9198
9225
|
Je as trimArraySuffixes
|
|
9199
9226
|
};
|