@guiexpert/table 1.1.82 → 1.1.84
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.cjs +21 -21
- package/index.d.ts +61 -60
- package/index.js +471 -420
- package/lib/common/generator/column-def-generator-service.d.ts +1 -0
- package/lib/common/generator/domain/value-info.d.ts +1 -0
- package/lib/common/generator/property-type.service.d.ts +1 -0
- package/lib/common/generator/scheme-generator-service.d.ts +1 -0
- package/lib/table/action/on-action-triggered.if.d.ts +2 -1
- package/lib/table/action/osx-shortcut-actionId-mapping.d.ts +2 -1
- package/lib/table/action/shortcut-actionid-mapping.type.d.ts +2 -1
- package/lib/table/action/shortcut.service.d.ts +4 -3
- package/lib/table/action/windows-shortcut-actionId-mapping.d.ts +2 -1
- package/lib/table/checkbox/checkbox-model.d.ts +3 -2
- package/lib/table/checkbox/checkbox-model.if.d.ts +2 -1
- package/lib/table/checkbox/tree-checkbox-model.d.ts +4 -3
- package/lib/table/color/color-rgb.d.ts +2 -1
- package/lib/table/color/ge-css-color-util.d.ts +3 -2
- package/lib/table/color/three-color-gradient-arg.d.ts +3 -2
- package/lib/table/color/three-color-gradient-arg.if.d.ts +2 -1
- package/lib/table/color/two-color-gradient-arg.d.ts +3 -2
- package/lib/table/color/two-color-gradient-arg.if.d.ts +2 -1
- package/lib/table/crud/column-widths.d.ts +1 -0
- package/lib/table/crud/crud-options.d.ts +1 -0
- package/lib/table/crud/crud-options.if.d.ts +1 -0
- package/lib/table/crud/crud-table-model-factory.d.ts +1 -0
- package/lib/table/crud/url-info.d.ts +1 -0
- package/lib/table/crud/urls.if.d.ts +1 -0
- package/lib/table/data/chunk/chunk.data-event.d.ts +3 -2
- package/lib/table/data/chunk/chunk.data-event.if.d.ts +2 -1
- package/lib/table/data/chunk/request-chunk.d.ts +2 -1
- package/lib/table/data/common/area-map-factory.d.ts +3 -2
- package/lib/table/data/common/area-map.d.ts +2 -1
- package/lib/table/data/common/args-adjust-columns-to-row-parent-params.d.ts +5 -4
- package/lib/table/data/common/args-render-cell-div.d.ts +4 -3
- package/lib/table/data/common/checkbox-column-def.d.ts +5 -4
- package/lib/table/data/common/event/ge-model-change-event.d.ts +2 -1
- package/lib/table/data/common/event/ge-mouse-event.d.ts +3 -2
- package/lib/table/data/common/event/ge-scroll-event.d.ts +14 -0
- package/lib/table/data/common/event/input/table-cell-update-event.d.ts +3 -2
- package/lib/table/data/common/event/input/table-cell-update-event.if.d.ts +2 -1
- package/lib/table/data/common/size.d.ts +2 -1
- package/lib/table/data/common/size.if.d.ts +1 -0
- package/lib/table/data/common/sizes.d.ts +2 -1
- package/lib/table/data/common/sort-item.d.ts +2 -1
- package/lib/table/data/common/tree-row.d.ts +2 -1
- package/lib/table/data/common/value-label.d.ts +2 -1
- package/lib/table/data/event/mouse-target-data.d.ts +4 -3
- package/lib/table/data/options/auto-restore-options.d.ts +2 -1
- package/lib/table/data/options/default-row-heights.d.ts +2 -1
- package/lib/table/data/options/header-group-options.d.ts +2 -1
- package/lib/table/data/options/header-group-options.if.d.ts +2 -1
- package/lib/table/data/options/icon.d.ts +2 -1
- package/lib/table/data/options/sorted-options.d.ts +3 -2
- package/lib/table/data/options/sorted-options.if.d.ts +2 -1
- package/lib/table/data/options/table-options.d.ts +12 -11
- package/lib/table/data/options/table-options.if.d.ts +12 -11
- package/lib/table/data/options/tree-options.d.ts +3 -2
- package/lib/table/data/options/tree-options.if.d.ts +2 -1
- package/lib/table/data/table-model-and-options.d.ts +4 -3
- package/lib/table/data/table-model-and-options.if.d.ts +3 -2
- package/lib/table/data/tablemodel/areamodel/abstract-area-model.d.ts +10 -9
- package/lib/table/data/tablemodel/areamodel/area-model-array-of-arrays.d.ts +5 -4
- package/lib/table/data/tablemodel/areamodel/area-model-cell-groups.d.ts +1 -0
- package/lib/table/data/tablemodel/areamodel/area-model-hidden.d.ts +8 -7
- package/lib/table/data/tablemodel/areamodel/area-model-object-array-with-columndefs.d.ts +4 -3
- package/lib/table/data/tablemodel/areamodel/area-model-object-array.d.ts +1 -0
- package/lib/table/data/tablemodel/areamodel/area-model-tree.d.ts +9 -8
- package/lib/table/data/tablemodel/areamodel/area-model.d.ts +8 -7
- package/lib/table/data/tablemodel/areamodel/area-model.if.d.ts +7 -6
- package/lib/table/data/tablemodel/areamodel/async-area-model-object-array.d.ts +6 -5
- package/lib/table/data/tablemodel/areamodel/col-and-rowspan-model.d.ts +4 -3
- package/lib/table/data/tablemodel/areamodel/cover-grid-body-model.d.ts +1 -0
- package/lib/table/data/tablemodel/cellgroup/cell-group-ext.d.ts +3 -2
- package/lib/table/data/tablemodel/cellgroup/cell-group.d.ts +2 -1
- package/lib/table/data/tablemodel/cellgroup/cellgroup-factory.d.ts +4 -3
- package/lib/table/data/tablemodel/column/column-def.d.ts +10 -9
- package/lib/table/data/tablemodel/column/column-def.if.d.ts +8 -7
- package/lib/table/data/tablemodel/cover-grid-table-model.d.ts +1 -0
- package/lib/table/data/tablemodel/table-model.d.ts +12 -11
- package/lib/table/data/tablemodel/table-model.if.d.ts +8 -7
- package/lib/table/ele-scope.d.ts +6 -5
- package/lib/table/event-adapter.d.ts +6 -3
- package/lib/table/event-checkbox-changed-handler.d.ts +1 -0
- package/lib/table/event-listener.if.d.ts +5 -2
- package/lib/table/factory/cover-grid-factory.d.ts +3 -0
- package/lib/table/factory/table-factory.d.ts +9 -8
- package/lib/table/factory/tree-factory.d.ts +2 -1
- package/lib/table/focus/event-focus-changed-listener.if.d.ts +1 -0
- package/lib/table/focus/focus-model.d.ts +3 -2
- package/lib/table/focus/focus-model.if.d.ts +1 -0
- package/lib/table/input-handler.d.ts +2 -1
- package/lib/table/mouse-handler.d.ts +3 -2
- package/lib/table/render-scope.d.ts +1 -0
- package/lib/table/renderer/action/action-event-listener.if.d.ts +1 -0
- package/lib/table/renderer/action/action-event.d.ts +1 -0
- package/lib/table/renderer/action/action-event.if.d.ts +1 -0
- package/lib/table/renderer/action/actions-cell-renderer.d.ts +1 -0
- package/lib/table/renderer/cell-group-ext-cell-renderer.d.ts +1 -0
- package/lib/table/renderer/cell-render.if.d.ts +5 -4
- package/lib/table/renderer/checkbox-boolean-property-cell-renderer.d.ts +6 -5
- package/lib/table/renderer/checkbox-cell-renderer.d.ts +6 -5
- package/lib/table/renderer/date-to-int-date-cell-renderer.d.ts +6 -5
- package/lib/table/renderer/date-to-iso-cell-renderer.d.ts +6 -5
- package/lib/table/renderer/date-to-locale-date-cell-renderer.d.ts +6 -5
- package/lib/table/renderer/date-to-tec-cell-renderer.d.ts +6 -5
- package/lib/table/renderer/edit/edit-cell-renderer.type.d.ts +2 -1
- package/lib/table/renderer/edit/edit-input-pipe-for-number.d.ts +2 -1
- package/lib/table/renderer/edit/input-cell-renderer.d.ts +6 -5
- package/lib/table/renderer/edit/select-cell-renderer.d.ts +7 -6
- package/lib/table/renderer/male-female-to-icon-cell-renderer.d.ts +6 -5
- package/lib/table/renderer/number-cell-progress-bar-cell-renderer.d.ts +6 -5
- package/lib/table/renderer/number-cell-renderer.d.ts +6 -5
- package/lib/table/renderer/positive-and-negative-number-renderer.d.ts +6 -5
- package/lib/table/renderer/progress-bar-cell-renderer.d.ts +6 -5
- package/lib/table/renderer/renderer.d.ts +3 -2
- package/lib/table/renderer/simple-array-cell-renderer.d.ts +6 -5
- package/lib/table/renderer/star-rating-cell-renderer.d.ts +6 -5
- package/lib/table/renderer/true-false-cell-renderer.d.ts +6 -5
- package/lib/table/resize-handler.d.ts +2 -1
- package/lib/table/selection/event-selection-changed-listener.if.d.ts +1 -0
- package/lib/table/selection/multi-rows-selection-model.d.ts +1 -0
- package/lib/table/selection/selection-model.d.ts +3 -2
- package/lib/table/selection/selection-model.if.d.ts +2 -1
- package/lib/table/selection/selection-service.d.ts +8 -7
- package/lib/table/service/abstract-store-state.service.d.ts +2 -1
- package/lib/table/service/convenience-dom.service.d.ts +13 -12
- package/lib/table/service/copy-service.d.ts +1 -0
- package/lib/table/service/copy-service.if.d.ts +1 -0
- package/lib/table/service/excel-service.d.ts +1 -0
- package/lib/table/service/simple-dom-service.d.ts +2 -1
- package/lib/table/service/store-state-collapsed-expand.service.d.ts +4 -3
- package/lib/table/service/store-state-scroll-pos.service.d.ts +3 -2
- package/lib/table/service/store-state-sorting.service.d.ts +4 -3
- package/lib/table/service/tree-row.service.d.ts +2 -1
- package/lib/table/table-api.d.ts +4 -3
- package/lib/table/table-scope.d.ts +2 -0
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
function
|
|
1
|
+
function Nt(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 Gt(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", J = [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 {
|
|
@@ -61,7 +61,7 @@ class B {
|
|
|
61
61
|
this.propertyName = e, this.items = t, this.type = Le;
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
|
-
class
|
|
64
|
+
class Ve {
|
|
65
65
|
constructor(e, t = []) {
|
|
66
66
|
this.propertyName = e, this.types = t;
|
|
67
67
|
}
|
|
@@ -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 zt {
|
|
78
78
|
constructor() {
|
|
79
79
|
this.rootPropertyType = null, this.allowCustomRenderer = !0, this.bufCustomRenderer = [], this.LABEL_MAPPINGS = {
|
|
80
80
|
Id: "ID",
|
|
@@ -111,7 +111,7 @@ class Nt {
|
|
|
111
111
|
}
|
|
112
112
|
iteratePropertyItems(e, t, s = "") {
|
|
113
113
|
for (let o = 0; o < t.length; o++) {
|
|
114
|
-
let r = t[o].types.filter((n) => !
|
|
114
|
+
let r = t[o].types.filter((n) => !J.includes(n.type));
|
|
115
115
|
if (r.length === 1) {
|
|
116
116
|
let n = r[0];
|
|
117
117
|
const l = s ? [s, n.propertyName].join(".") : n.propertyName;
|
|
@@ -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(" }),");
|
|
@@ -262,7 +262,7 @@ class xe {
|
|
|
262
262
|
}
|
|
263
263
|
class Ke {
|
|
264
264
|
constructor() {
|
|
265
|
-
this.property = "", this.value = "", this.path = "", this.propertyItem = new
|
|
265
|
+
this.property = "", this.value = "", this.path = "", this.propertyItem = new Ve("", [new Oe("")]);
|
|
266
266
|
}
|
|
267
267
|
toString() {
|
|
268
268
|
var e;
|
|
@@ -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 jt {
|
|
289
289
|
constructor() {
|
|
290
290
|
this.debugging = !1;
|
|
291
291
|
}
|
|
@@ -512,13 +512,13 @@ class Gt {
|
|
|
512
512
|
const r = s.get(i);
|
|
513
513
|
if (r) {
|
|
514
514
|
let n = !1;
|
|
515
|
-
const l = r.propertyItem.types.filter((a) => !
|
|
515
|
+
const l = r.propertyItem.types.filter((a) => !J.includes(a.type));
|
|
516
516
|
if (l.length === 1) {
|
|
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,28 +581,28 @@ 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));
|
|
595
595
|
}
|
|
596
596
|
createPropertyItem(e, t) {
|
|
597
|
-
return new
|
|
597
|
+
return new Ve(t, [
|
|
598
598
|
this.createPropertyType(e, t)
|
|
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 Ut {
|
|
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
|
}
|
|
@@ -651,7 +651,7 @@ class zt {
|
|
|
651
651
|
var s, o;
|
|
652
652
|
if (((s = e.types) == null ? void 0 : s.length) === 0) return "any";
|
|
653
653
|
if (((o = e.types) == null ? void 0 : o.length) === 1) return this.renderType(e.types[0], e);
|
|
654
|
-
const t = e.types.map((i) => this.renderType(i, e)).filter((i) => i !== j).sort((i, r) =>
|
|
654
|
+
const t = e.types.map((i) => this.renderType(i, e)).filter((i) => i !== j).sort((i, r) => J.includes(i) ? 100 : J.includes(r) ? -100 : i.localeCompare(r)).join(this.orOperator);
|
|
655
655
|
return t.includes(this.orOperator) ? "(" + t + ")" : t;
|
|
656
656
|
}
|
|
657
657
|
renderType(e, t) {
|
|
@@ -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(
|
|
@@ -726,7 +726,7 @@ class O {
|
|
|
726
726
|
this.content = e, this.style = t, this.classes = s;
|
|
727
727
|
}
|
|
728
728
|
}
|
|
729
|
-
class
|
|
729
|
+
class $e {
|
|
730
730
|
constructor(e = new O(
|
|
731
731
|
">",
|
|
732
732
|
"transform: rotate(90deg) translate(66%, -66%); transform-origin: 0 0;",
|
|
@@ -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" : "";
|
|
@@ -883,13 +883,13 @@ class Qe {
|
|
|
883
883
|
this.domService.addClass(i, a);
|
|
884
884
|
return this.domService.appendChild(e, i), i;
|
|
885
885
|
}
|
|
886
|
-
addArrowDiv(e, t = "none", s = new
|
|
886
|
+
addArrowDiv(e, t = "none", s = new $e(), o = -1, i = -1, r = "body") {
|
|
887
887
|
const n = this.domService.createElement("div");
|
|
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,
|
|
@@ -3713,8 +3713,8 @@ class dt extends lt {
|
|
|
3713
3713
|
{ cursor: "pointer" }
|
|
3714
3714
|
), I = this.tableOptions.treeOptions.arrowExpandCollapseAll;
|
|
3715
3715
|
if (I) {
|
|
3716
|
-
const
|
|
3717
|
-
this.dom.domService.appendChild(M,
|
|
3716
|
+
const K = this.dom.domService.createText(I.content);
|
|
3717
|
+
this.dom.domService.appendChild(M, K), I.style && this.dom.applyStyleString(M, I.style);
|
|
3718
3718
|
}
|
|
3719
3719
|
}
|
|
3720
3720
|
}
|
|
@@ -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,
|
|
@@ -3948,10 +3948,10 @@ render scope: this.lastFullVisibleRowIndex <- ` + this.lastFullVisibleRowIndex),
|
|
|
3948
3948
|
M && M.classes[t] && this.dom.addClasses(M.classes[t], x);
|
|
3949
3949
|
let I;
|
|
3950
3950
|
f && (I = f.render(x, o, i, t, e, S, this.dom.domService));
|
|
3951
|
-
const
|
|
3952
|
-
if (
|
|
3951
|
+
const K = e.getCustomClassesAt(o, i);
|
|
3952
|
+
if (K.length && this.dom.addClasses(K, 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
|
|
4716
|
-
class
|
|
4722
|
+
const Ct = new be(), vt = new St("cell");
|
|
4723
|
+
class Y {
|
|
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
|
|
4729
|
+
}, this.footerVerticalSeparator = !1, this.headerToggleExpandCollapseIcons = !1, this.headerVerticalSeparator = !1, this.treeOptions = new $e(), 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
|
|
4957
|
+
static create(e, t, s = new Y(), 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 Yt 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 Kt = new y(500, "px"), Xt = new y(400, "px"), It = new y(300, "px"), Jt = new y(290, "px"), qt = new y(280, "px"), Zt = new y(270, "px"), Qt = new y(260, "px"), es = new y(250, "px"), ts = new y(240, "px"), ss = new y(230, "px"), os = new y(220, "px"), is = new y(210, "px"), Me = new y(200, "px"), rs = new y(190, "px"), ns = new y(180, "px"), ls = new y(170, "px"), as = new y(160, "px"), cs = new y(150, "px"), ds = new y(140, "px"), hs = new y(130, "px"), us = new y(120, "px"), ps = new y(110, "px"), gs = new y(100, "px"), fs = new y(90, "px"), ms = new y(80, "px"), bs = new y(70, "px"), ys = new y(60, "px"), ws = new y(50, "px"), xs = new y(40, "px"), Ss = new y(30, "px"), Cs = new y(20, "px"), vs = new y(10, "px"), Rs = 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
|
}
|
|
@@ -6483,7 +6504,7 @@ class Te extends _ {
|
|
|
6483
6504
|
), this.areaIdent = e, this.rows = t, this.columnDefs = s, this.defaultRowHeight = o;
|
|
6484
6505
|
}
|
|
6485
6506
|
}
|
|
6486
|
-
class
|
|
6507
|
+
class $ {
|
|
6487
6508
|
/**
|
|
6488
6509
|
* TableFactory
|
|
6489
6510
|
*
|
|
@@ -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,
|
|
@@ -6610,10 +6631,10 @@ class V {
|
|
|
6610
6631
|
* @method
|
|
6611
6632
|
*/
|
|
6612
6633
|
static buildByTypedRowsParam(e) {
|
|
6613
|
-
return
|
|
6634
|
+
return $.buildByTypedRows(
|
|
6614
6635
|
e.rows ?? [],
|
|
6615
6636
|
e.columnDefs,
|
|
6616
|
-
e.tableOptions ?? new
|
|
6637
|
+
e.tableOptions ?? new Y(),
|
|
6617
6638
|
e.fixedLeftColumnCount ?? 0,
|
|
6618
6639
|
e.fixedRightColumnCount ?? 0
|
|
6619
6640
|
);
|
|
@@ -6654,18 +6675,18 @@ class V {
|
|
|
6654
6675
|
* columnDef is "CheckboxColumn". If the first column is not a checkbox column, ensure that the first columnDef does not have "CheckboxColumn"
|
|
6655
6676
|
* as its property.
|
|
6656
6677
|
*/
|
|
6657
|
-
static buildByTypedRows(e, t, s = new
|
|
6678
|
+
static buildByTypedRows(e, t, s = new Y(), 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)), $.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,
|
|
@@ -6677,7 +6698,7 @@ class V {
|
|
|
6677
6698
|
overridingColumnWidth: -1
|
|
6678
6699
|
});
|
|
6679
6700
|
}
|
|
6680
|
-
return
|
|
6701
|
+
return $.createByObjectArrayParam({
|
|
6681
6702
|
rows: e,
|
|
6682
6703
|
columnDefs: t,
|
|
6683
6704
|
fixedLeftColumnCount: o,
|
|
@@ -6731,7 +6752,7 @@ class V {
|
|
|
6731
6752
|
*/
|
|
6732
6753
|
static createByObjectArrayParam(e) {
|
|
6733
6754
|
const t = e.rowCheckboxVisible !== void 0 ? e.rowCheckboxVisible : !1;
|
|
6734
|
-
return
|
|
6755
|
+
return $.createByObjectArray(
|
|
6735
6756
|
e.rows,
|
|
6736
6757
|
e.header ?? [],
|
|
6737
6758
|
e.footer ?? [],
|
|
@@ -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
|
}
|
|
@@ -6836,7 +6857,7 @@ class V {
|
|
|
6836
6857
|
* });
|
|
6837
6858
|
*/
|
|
6838
6859
|
static createByAreaModelsParam(e) {
|
|
6839
|
-
return
|
|
6860
|
+
return $.createByAreaModels(
|
|
6840
6861
|
e.headerAreaModel ?? new k(),
|
|
6841
6862
|
e.bodyAreaModel,
|
|
6842
6863
|
e.footerAreaModel ?? new k(),
|
|
@@ -6899,11 +6920,11 @@ class V {
|
|
|
6899
6920
|
* Reference: For more details regarding the `DefaultRowHeightsIf`, `ColumnDefIf`, `AreaModelIf`, and `AreaModelArrayOfArrays` classes/interfaces, please refer to the respective API documents.
|
|
6900
6921
|
*/
|
|
6901
6922
|
static createByObjectArray(e, t = [], s = [], o = 0, i = 0, r = !1, n = new z(), l, a = []) {
|
|
6902
|
-
let
|
|
6903
|
-
t != null && t.length ?
|
|
6923
|
+
let c;
|
|
6924
|
+
t != null && t.length ? c = new P("header", t, n.header, l) : l != null && l.length ? c = new P("header", [l.map((f) => f.headerLabel)], n.header, l) : c = new k();
|
|
6904
6925
|
const h = s ? new P("footer", s, n.footer, l) : new k(), u = new Te("body", e, l, n.body);
|
|
6905
6926
|
return new oe(
|
|
6906
|
-
|
|
6927
|
+
c,
|
|
6907
6928
|
u,
|
|
6908
6929
|
h,
|
|
6909
6930
|
o,
|
|
@@ -6915,7 +6936,7 @@ class V {
|
|
|
6915
6936
|
);
|
|
6916
6937
|
}
|
|
6917
6938
|
}
|
|
6918
|
-
class
|
|
6939
|
+
class kt {
|
|
6919
6940
|
constructor(e, t, s = 200, o = 300, i = 0, r = 0) {
|
|
6920
6941
|
this.items = e, this.cellRenderer = t, this.coverWidth = s, this.coverHeight = o, this.width = i, this.firstRowPaddingTop = r, this.rowSelectionModel = void 0, this.areaIdent = "body", this.filteredItems = [], this.sorterService = new ge(), this.filteredItems = e;
|
|
6921
6942
|
}
|
|
@@ -7011,7 +7032,7 @@ class Tt {
|
|
|
7011
7032
|
arrayMove(e, t, s) {
|
|
7012
7033
|
}
|
|
7013
7034
|
}
|
|
7014
|
-
class
|
|
7035
|
+
class Dt {
|
|
7015
7036
|
constructor(e, t = 0) {
|
|
7016
7037
|
this.bodyModel = e, this.paddingTop = t, this.headerAreaModel = new k(), this.footerAreaModel = new k();
|
|
7017
7038
|
}
|
|
@@ -7104,13 +7125,67 @@ class kt {
|
|
|
7104
7125
|
return this.tableScope;
|
|
7105
7126
|
}
|
|
7106
7127
|
}
|
|
7107
|
-
class
|
|
7128
|
+
class Ft {
|
|
7129
|
+
constructor() {
|
|
7130
|
+
this.autoRestoreSortingState = !1, this.autoRestoreCollapsedExpandedState = !1, this.autoRestoreScrollPosition = !1, this.autoRestoreCheckedState = !1, this.autoRestoreSelectedState = !1, this.getStorageKeyFn = void 0, this.isSame = (e, t, s) => {
|
|
7131
|
+
if (e && t && s.getRowId) {
|
|
7132
|
+
const o = s.getRowId(e), i = s.getRowId(t);
|
|
7133
|
+
return o === i;
|
|
7134
|
+
}
|
|
7135
|
+
return !1;
|
|
7136
|
+
}, this.getRowId = (e) => {
|
|
7137
|
+
if (e) {
|
|
7138
|
+
for (const t of ["id", "uuid"]) {
|
|
7139
|
+
const s = e[t];
|
|
7140
|
+
if (s != null)
|
|
7141
|
+
return s;
|
|
7142
|
+
}
|
|
7143
|
+
try {
|
|
7144
|
+
return JSON.stringify(e);
|
|
7145
|
+
} catch (t) {
|
|
7146
|
+
console.error(t);
|
|
7147
|
+
}
|
|
7148
|
+
}
|
|
7149
|
+
return console.warn('One of following options set to true without a valid "getRowId()": autoRestoreExpandedState, autoRestoreCheckedState.'), -1;
|
|
7150
|
+
};
|
|
7151
|
+
}
|
|
7152
|
+
}
|
|
7153
|
+
class As {
|
|
7108
7154
|
static createCoverGridModel(e, t, s = 200, o = 300, i = 0, r = 0) {
|
|
7109
|
-
const n = new
|
|
7110
|
-
return new
|
|
7155
|
+
const n = new kt(e, t, s, o, i, r);
|
|
7156
|
+
return new Dt(n, r);
|
|
7157
|
+
}
|
|
7158
|
+
static createCoverGrisDefaultOptions(e, t = () => "CoverGrid") {
|
|
7159
|
+
return {
|
|
7160
|
+
...new Y(),
|
|
7161
|
+
horizontalBorderVisible: !1,
|
|
7162
|
+
verticalBorderVisible: !1,
|
|
7163
|
+
footerSeparatorBorderVisible: !1,
|
|
7164
|
+
headerSeparatorBorderVisible: !1,
|
|
7165
|
+
fixedEastSeparatorBorderVisible: !1,
|
|
7166
|
+
fixedWestSeparatorBorderVisible: !1,
|
|
7167
|
+
tableTopBorderVisible: !1,
|
|
7168
|
+
tableBottomBorderVisible: !1,
|
|
7169
|
+
hoverColumnVisible: !1,
|
|
7170
|
+
hoverRowVisible: !1,
|
|
7171
|
+
defaultRowHeights: {
|
|
7172
|
+
header: 0,
|
|
7173
|
+
body: e,
|
|
7174
|
+
footer: 0
|
|
7175
|
+
},
|
|
7176
|
+
// externalFilterFunction: this.filterFn.bind(this),
|
|
7177
|
+
autoRestoreOptions: {
|
|
7178
|
+
...new Ft(),
|
|
7179
|
+
getStorageKeyFn: t,
|
|
7180
|
+
autoRestoreCollapsedExpandedState: !1,
|
|
7181
|
+
autoRestoreScrollPosition: !0,
|
|
7182
|
+
autoRestoreSortingState: !1,
|
|
7183
|
+
autoRestoreSelectedState: !1
|
|
7184
|
+
}
|
|
7185
|
+
};
|
|
7111
7186
|
}
|
|
7112
7187
|
}
|
|
7113
|
-
const
|
|
7188
|
+
const Ms = [
|
|
7114
7189
|
"COPY_2_CLIPBOARD",
|
|
7115
7190
|
"START_EDITING",
|
|
7116
7191
|
"TOGGLE_SELECTION",
|
|
@@ -7128,17 +7203,17 @@ const Rs = [
|
|
|
7128
7203
|
// "PAGEUP_PRESSED",
|
|
7129
7204
|
// "PAGEDOWN_PRESSED"
|
|
7130
7205
|
];
|
|
7131
|
-
class
|
|
7206
|
+
class Pt {
|
|
7132
7207
|
constructor(e, t) {
|
|
7133
7208
|
this.tableModel = e, this.tableOptions = t;
|
|
7134
7209
|
}
|
|
7135
7210
|
}
|
|
7136
|
-
class
|
|
7211
|
+
class _t {
|
|
7137
7212
|
constructor(e, t, s, o, i, r, n) {
|
|
7138
7213
|
this.emmitDataKey = e, this.emmitCancelKey = t, this.queryId = s, this.filter = o, this.sorting = i, this.startIndex = r, this.endIndex = n;
|
|
7139
7214
|
}
|
|
7140
7215
|
}
|
|
7141
|
-
class
|
|
7216
|
+
class Is extends _t {
|
|
7142
7217
|
constructor(e, t, s, o, i, r, n, l) {
|
|
7143
7218
|
super(
|
|
7144
7219
|
e,
|
|
@@ -7151,25 +7226,25 @@ class As extends Ft {
|
|
|
7151
7226
|
), this.rows = l;
|
|
7152
7227
|
}
|
|
7153
7228
|
}
|
|
7154
|
-
class
|
|
7229
|
+
class Lt {
|
|
7155
7230
|
constructor(e, t) {
|
|
7156
7231
|
this.value = e, this.label = t;
|
|
7157
7232
|
}
|
|
7158
7233
|
}
|
|
7159
|
-
class
|
|
7234
|
+
class Es {
|
|
7160
7235
|
constructor(e, t) {
|
|
7161
7236
|
this.index = e, this.px = t;
|
|
7162
7237
|
}
|
|
7163
7238
|
}
|
|
7164
|
-
const
|
|
7239
|
+
const Ts = { body: ["ge-table-text-align-left"] }, ks = { body: ["ge-table-text-align-center"] }, Ds = { body: ["ge-table-text-align-right"] }, Fs = {
|
|
7165
7240
|
header: ["ge-table-text-align-left"],
|
|
7166
7241
|
body: ["ge-table-text-align-left"],
|
|
7167
7242
|
footer: ["ge-table-text-align-left"]
|
|
7168
|
-
},
|
|
7243
|
+
}, Ps = {
|
|
7169
7244
|
header: ["ge-table-text-align-center"],
|
|
7170
7245
|
body: ["ge-table-text-align-center"],
|
|
7171
7246
|
footer: ["ge-table-text-align-center"]
|
|
7172
|
-
},
|
|
7247
|
+
}, _s = {
|
|
7173
7248
|
header: ["ge-table-text-align-right"],
|
|
7174
7249
|
body: ["ge-table-text-align-right"],
|
|
7175
7250
|
footer: ["ge-table-text-align-right"]
|
|
@@ -7178,7 +7253,7 @@ class ke {
|
|
|
7178
7253
|
render(e, t, s, o, i, r, n) {
|
|
7179
7254
|
if (i.isRowCheckable(t)) {
|
|
7180
7255
|
n.addClass(e, "ge-table-row-checkbox-div");
|
|
7181
|
-
const l = i.isRowChecked(t), a = l === "full" ? "checked" : "",
|
|
7256
|
+
const l = i.isRowChecked(t), a = l === "full" ? "checked" : "", c = l === "semi" ? '<span style="opacity: 0.4;">✓<span>' : "";
|
|
7182
7257
|
e.innerHTML = `
|
|
7183
7258
|
<input
|
|
7184
7259
|
type="checkbox"
|
|
@@ -7188,11 +7263,11 @@ class ke {
|
|
|
7188
7263
|
data-input-type="checkbox"
|
|
7189
7264
|
${a}
|
|
7190
7265
|
class="ge-table-row-checkbox">
|
|
7191
|
-
${
|
|
7266
|
+
${c} `;
|
|
7192
7267
|
}
|
|
7193
7268
|
}
|
|
7194
7269
|
}
|
|
7195
|
-
class
|
|
7270
|
+
class Ls {
|
|
7196
7271
|
constructor() {
|
|
7197
7272
|
this.type = "CheckboxColumnDef", this.property = "CheckboxColumn", this.headerLabel = "", this.width = new y(50, "px"), this.minWidth = new y(50, "px"), this.maxWidth = new y(100, "px"), this.rendererMap = new T(new ke(), new ke(), void 0), this.classes = new T(
|
|
7198
7273
|
[],
|
|
@@ -7201,7 +7276,7 @@ class Ps {
|
|
|
7201
7276
|
);
|
|
7202
7277
|
}
|
|
7203
7278
|
}
|
|
7204
|
-
class
|
|
7279
|
+
class Os {
|
|
7205
7280
|
/**
|
|
7206
7281
|
* A factory that creates a new AreaObjectMap with the given body renderer.
|
|
7207
7282
|
*
|
|
@@ -7216,47 +7291,22 @@ class _s {
|
|
|
7216
7291
|
);
|
|
7217
7292
|
}
|
|
7218
7293
|
}
|
|
7219
|
-
class
|
|
7294
|
+
class Vs {
|
|
7220
7295
|
constructor(e = "down", t) {
|
|
7221
7296
|
this.status = e, this.originalEvent = t;
|
|
7222
7297
|
}
|
|
7223
7298
|
}
|
|
7224
|
-
class
|
|
7299
|
+
class $s {
|
|
7225
7300
|
constructor(e, t, s, o, i = {}) {
|
|
7226
7301
|
this.area = e, this.rowIndex = t, this.columnIndex = s, this.value = o, this.cssClasses = i;
|
|
7227
7302
|
}
|
|
7228
7303
|
}
|
|
7229
|
-
class
|
|
7230
|
-
constructor() {
|
|
7231
|
-
this.autoRestoreSortingState = !1, this.autoRestoreCollapsedExpandedState = !1, this.autoRestoreScrollPosition = !1, this.autoRestoreCheckedState = !1, this.autoRestoreSelectedState = !1, this.getStorageKeyFn = void 0, this.isSame = (e, t, s) => {
|
|
7232
|
-
if (e && t && s.getRowId) {
|
|
7233
|
-
const o = s.getRowId(e), i = s.getRowId(t);
|
|
7234
|
-
return o === i;
|
|
7235
|
-
}
|
|
7236
|
-
return !1;
|
|
7237
|
-
}, this.getRowId = (e) => {
|
|
7238
|
-
if (e) {
|
|
7239
|
-
for (const t of ["id", "uuid"]) {
|
|
7240
|
-
const s = e[t];
|
|
7241
|
-
if (s != null)
|
|
7242
|
-
return s;
|
|
7243
|
-
}
|
|
7244
|
-
try {
|
|
7245
|
-
return JSON.stringify(e);
|
|
7246
|
-
} catch (t) {
|
|
7247
|
-
console.error(t);
|
|
7248
|
-
}
|
|
7249
|
-
}
|
|
7250
|
-
return console.warn('One of following options set to true without a valid "getRowId()": autoRestoreExpandedState, autoRestoreCheckedState.'), -1;
|
|
7251
|
-
};
|
|
7252
|
-
}
|
|
7253
|
-
}
|
|
7254
|
-
class _t {
|
|
7304
|
+
class Ot {
|
|
7255
7305
|
constructor(e, t, s, o = !1, i = "normal", r = void 0) {
|
|
7256
7306
|
this.data = e, this.property = t, this.toggle = s, this.closed = o, this.visibility = i, this.children = r, this.impl = "CellGroup";
|
|
7257
7307
|
}
|
|
7258
7308
|
}
|
|
7259
|
-
class
|
|
7309
|
+
class Vt extends Ot {
|
|
7260
7310
|
constructor(e, t = 0, s = 0, o) {
|
|
7261
7311
|
super(
|
|
7262
7312
|
e.data,
|
|
@@ -7381,7 +7431,7 @@ class E {
|
|
|
7381
7431
|
static buildGroupExts(e, t = [], s = 0, o) {
|
|
7382
7432
|
let i;
|
|
7383
7433
|
for (let r = 0; r < e.length; r++) {
|
|
7384
|
-
const n = e[r], l = new
|
|
7434
|
+
const n = e[r], l = new Vt(n, s, r, o);
|
|
7385
7435
|
i && (l.leftNeighbour = i, i.rightNeighbour = l), t.push(l), n.children && (l.children = E.buildGroupExts(n.children, [], s + 1, l)), i = l;
|
|
7386
7436
|
}
|
|
7387
7437
|
return t;
|
|
@@ -7423,7 +7473,7 @@ class E {
|
|
|
7423
7473
|
e.push(o.data + " rowIndex:" + o.rowIndex), (s = o.children) != null && s.length && E.iterateThrowColumns(e, o.children);
|
|
7424
7474
|
}
|
|
7425
7475
|
}
|
|
7426
|
-
class
|
|
7476
|
+
class Bs {
|
|
7427
7477
|
constructor() {
|
|
7428
7478
|
this.areaIdent = "body", this.rowSelectionModel = void 0;
|
|
7429
7479
|
}
|
|
@@ -8052,8 +8102,8 @@ const Q = class Q {
|
|
|
8052
8102
|
render(e, t, s, o, i, r, n) {
|
|
8053
8103
|
const l = r != null && r.data ? r.data : "";
|
|
8054
8104
|
if (r) {
|
|
8055
|
-
const { toggle: a, visibility:
|
|
8056
|
-
this.addText(e, o, t, s, l, u), a &&
|
|
8105
|
+
const { toggle: a, visibility: c, closed: h } = r, u = a ? Q.toggleHeaderGroup : "";
|
|
8106
|
+
this.addText(e, o, t, s, l, u), a && c !== "always" && this.addArrowDiv(n, e, !h, t, s, o, u);
|
|
8057
8107
|
} else
|
|
8058
8108
|
this.addText(e, o, t, s, l, "");
|
|
8059
8109
|
}
|
|
@@ -8070,7 +8120,7 @@ const Q = class Q {
|
|
|
8070
8120
|
e.addClass(l, "ge-table-toggle-icon-div"), e.setStyle(l, "display", "inline-block"), e.setStyle(l, "position", ""), e.setStyle(l, "width", "20px"), e.setStyle(l, "background", "transparent"), e.setStyle(l, "cursor", "pointer"), e.setAttribute(l, "data-row-index", `${o}`), e.setAttribute(l, "data-col-index", `${i}`), e.setAttribute(l, "data-area", `${r}`), e.setAttribute(l, "data-ge-action", `${n}`);
|
|
8071
8121
|
let a;
|
|
8072
8122
|
s ? a = this.headerGroupOptions.iconExpanded : a = this.headerGroupOptions.iconCollapsed;
|
|
8073
|
-
const
|
|
8123
|
+
const c = a.content, h = e.createText(c);
|
|
8074
8124
|
e.appendChild(l, h), a.style && this.applyStyleString(e, l, a.style);
|
|
8075
8125
|
for (const u of a.classes)
|
|
8076
8126
|
e.addClass(l, u);
|
|
@@ -8085,10 +8135,10 @@ const Q = class Q {
|
|
|
8085
8135
|
}
|
|
8086
8136
|
};
|
|
8087
8137
|
Q.toggleHeaderGroup = "toggleHeaderGroup";
|
|
8088
|
-
let
|
|
8089
|
-
class
|
|
8138
|
+
let ce = Q;
|
|
8139
|
+
class Hs {
|
|
8090
8140
|
constructor(e = "header", t, s = [], o, i = new ye()) {
|
|
8091
|
-
this.areaIdent = e, this.groups = t, this.columnDefs = s, this.defaultRowHeight = o, this.headerGroupOptions = i, this.gammaCells = !0, this.arr = [], this.groupExts = [], this.cellGroupExtCellRenderer = new
|
|
8141
|
+
this.areaIdent = e, this.groups = t, this.columnDefs = s, this.defaultRowHeight = o, this.headerGroupOptions = i, this.gammaCells = !0, this.arr = [], this.groupExts = [], this.cellGroupExtCellRenderer = new ce(this.headerGroupOptions), this.groupExts = E.buildGroupExts(t), this.init();
|
|
8092
8142
|
}
|
|
8093
8143
|
sort(e) {
|
|
8094
8144
|
}
|
|
@@ -8188,7 +8238,7 @@ class Bs {
|
|
|
8188
8238
|
return t != null && t.toggle && t.visibility !== "always" && (t.closed = !t.closed, this.init()), E.buildColumnDefs(this.groupExts);
|
|
8189
8239
|
}
|
|
8190
8240
|
}
|
|
8191
|
-
class
|
|
8241
|
+
class Ws {
|
|
8192
8242
|
filterPredict(e, t, s = this.objectToString.bind(this)) {
|
|
8193
8243
|
if (!e)
|
|
8194
8244
|
return !1;
|
|
@@ -8196,10 +8246,10 @@ class Hs {
|
|
|
8196
8246
|
return !0;
|
|
8197
8247
|
t = t.toLowerCase();
|
|
8198
8248
|
const o = "+", i = "-", r = t.toLowerCase().split(" ").filter((h) => h !== o && h !== i && h !== ""), n = r.filter((h) => !h.startsWith(o) && !h.startsWith(i)), l = r.filter((h) => h.startsWith(o)).map((h) => h.replace(/\+/g, "")), a = r.filter((h) => h.startsWith(i)).map((h) => h.replace(/-/g, ""));
|
|
8199
|
-
let
|
|
8249
|
+
let c = !n.length;
|
|
8200
8250
|
for (let h = 0; h < n.length; h++)
|
|
8201
|
-
(
|
|
8202
|
-
if (!
|
|
8251
|
+
(c || s(e).includes(n[h])) && (c = !0);
|
|
8252
|
+
if (!c)
|
|
8203
8253
|
return !1;
|
|
8204
8254
|
for (let h = 0; h < l.length; h++)
|
|
8205
8255
|
if (!s(e).includes(l[h]))
|
|
@@ -8215,18 +8265,18 @@ class Hs {
|
|
|
8215
8265
|
if (!t)
|
|
8216
8266
|
return [...e];
|
|
8217
8267
|
t = t.toLowerCase();
|
|
8218
|
-
const o = "+", i = "-", r = t.toLowerCase().split(" ").filter((
|
|
8219
|
-
return e == null ? void 0 : e.filter((
|
|
8268
|
+
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, ""));
|
|
8269
|
+
return e == null ? void 0 : e.filter((c) => {
|
|
8220
8270
|
let h = !n.length;
|
|
8221
8271
|
for (let u = 0; u < n.length; u++)
|
|
8222
|
-
(h || s(
|
|
8272
|
+
(h || s(c).includes(n[u])) && (h = !0);
|
|
8223
8273
|
if (!h)
|
|
8224
8274
|
return !1;
|
|
8225
8275
|
for (let u = 0; u < l.length; u++)
|
|
8226
|
-
if (!s(
|
|
8276
|
+
if (!s(c).includes(l[u]))
|
|
8227
8277
|
return !1;
|
|
8228
8278
|
for (let u = 0; u < a.length; u++)
|
|
8229
|
-
if (s(
|
|
8279
|
+
if (s(c).includes(a[u]))
|
|
8230
8280
|
return !1;
|
|
8231
8281
|
return !0;
|
|
8232
8282
|
});
|
|
@@ -8242,19 +8292,19 @@ class Hs {
|
|
|
8242
8292
|
return t.join(" ").toLowerCase();
|
|
8243
8293
|
}
|
|
8244
8294
|
}
|
|
8245
|
-
class
|
|
8295
|
+
class Ns {
|
|
8246
8296
|
static bodyRenderer(e) {
|
|
8247
8297
|
return new T(void 0, e, void 0);
|
|
8248
8298
|
}
|
|
8249
8299
|
}
|
|
8250
|
-
class
|
|
8300
|
+
class Gs {
|
|
8251
8301
|
constructor(e, t = !0, s = !1) {
|
|
8252
8302
|
this.property = e, this.skipCheckableCheck = t, this.readonly = s;
|
|
8253
8303
|
}
|
|
8254
8304
|
render(e, t, s, o, i, r, n) {
|
|
8255
8305
|
if (this.readonly || this.skipCheckableCheck || i.isRowCheckable(t)) {
|
|
8256
8306
|
n.addClass(e, "ge-table-row-checkbox-div");
|
|
8257
|
-
const l = i.getRowByIndex(t),
|
|
8307
|
+
const l = i.getRowByIndex(t), c = i.getValueByT(l, this.property) === !0 ? "checked" : "", h = this.readonly ? " readonly " : "";
|
|
8258
8308
|
if (n.addClass(e, "ge-padding-property-checkbox"), e.innerHTML = `
|
|
8259
8309
|
<input
|
|
8260
8310
|
type="checkbox"
|
|
@@ -8263,7 +8313,7 @@ class Ns {
|
|
|
8263
8313
|
data-col-index="${s}"
|
|
8264
8314
|
data-property-index="${this.property}"
|
|
8265
8315
|
data-input-type="checkbox"
|
|
8266
|
-
${
|
|
8316
|
+
${c}
|
|
8267
8317
|
${h}
|
|
8268
8318
|
class="ge-input-checkbox">`, !this.readonly) {
|
|
8269
8319
|
const u = e.querySelector(".ge-input-checkbox");
|
|
@@ -8272,12 +8322,12 @@ class Ns {
|
|
|
8272
8322
|
}
|
|
8273
8323
|
}
|
|
8274
8324
|
}
|
|
8275
|
-
class
|
|
8325
|
+
class zs {
|
|
8276
8326
|
render(e, t, s, o, i, r, n) {
|
|
8277
8327
|
r && (e.innerText = new Date(r).toISOString());
|
|
8278
8328
|
}
|
|
8279
8329
|
}
|
|
8280
|
-
class
|
|
8330
|
+
class js {
|
|
8281
8331
|
constructor() {
|
|
8282
8332
|
this.formatter = new Intl.DateTimeFormat("de-DE", {
|
|
8283
8333
|
year: "numeric",
|
|
@@ -8300,29 +8350,29 @@ class zs {
|
|
|
8300
8350
|
}
|
|
8301
8351
|
}
|
|
8302
8352
|
}
|
|
8303
|
-
class
|
|
8353
|
+
class Us {
|
|
8304
8354
|
render(e, t, s, o, i, r, n) {
|
|
8305
8355
|
r && (e.innerText = new Date(r).toLocaleDateString());
|
|
8306
8356
|
}
|
|
8307
8357
|
}
|
|
8308
|
-
class
|
|
8358
|
+
class Ys {
|
|
8309
8359
|
render(e, t, s, o, i, r, n) {
|
|
8310
8360
|
r === "male" || r === "m" ? e.innerText = "♂" : (r === "female" || r === "f") && (e.innerText = "♀");
|
|
8311
8361
|
}
|
|
8312
8362
|
}
|
|
8313
|
-
class
|
|
8363
|
+
class Ks {
|
|
8314
8364
|
constructor(e = 100, t = !1) {
|
|
8315
8365
|
this.maxValue = e, this.labelVisible = t;
|
|
8316
8366
|
}
|
|
8317
8367
|
render(e, t, s, o, i, r, n) {
|
|
8318
8368
|
if (n.addClass(e, "ge-progressbar-div"), !isNaN(r)) {
|
|
8319
|
-
const a = Number(r) * 100 / this.maxValue,
|
|
8369
|
+
const a = Number(r) * 100 / this.maxValue, c = this.labelVisible ? Math.round(a) + "%" : "";
|
|
8320
8370
|
e.innerHTML = `
|
|
8321
8371
|
<div class="ge-table-label-div"
|
|
8322
8372
|
data-row-index="${t}"
|
|
8323
8373
|
data-col-index="${s}"
|
|
8324
8374
|
data-area="${o}"
|
|
8325
|
-
title="${
|
|
8375
|
+
title="${c}"
|
|
8326
8376
|
style="position: relative; background: transparent; width: 100%; height: 100%;">
|
|
8327
8377
|
<div class="ge-table-progress-container"
|
|
8328
8378
|
style="width:100%;height:50%;padding:0;margin-top:6px;"
|
|
@@ -8340,17 +8390,17 @@ class Ys {
|
|
|
8340
8390
|
}
|
|
8341
8391
|
}
|
|
8342
8392
|
}
|
|
8343
|
-
class
|
|
8393
|
+
class Xs {
|
|
8344
8394
|
render(e, t, s, o, i, r, n) {
|
|
8345
8395
|
r === "true" || r === !0 ? e.innerHTML = '<span class="ge-true-text-color">✅</span>' : r === "false" || r === !1 ? e.innerHTML = '<span class="ge-false-text-color">❌</span>' : e.innerText = "";
|
|
8346
8396
|
}
|
|
8347
8397
|
}
|
|
8348
|
-
class
|
|
8398
|
+
class Js {
|
|
8349
8399
|
render(e, t, s, o, i, r, n) {
|
|
8350
8400
|
r && (e.innerText = new Date(r).toISOString().replace(/T/g, " ").replace(/\..*/g, ""));
|
|
8351
8401
|
}
|
|
8352
8402
|
}
|
|
8353
|
-
class
|
|
8403
|
+
class qs {
|
|
8354
8404
|
constructor(e = Number.MIN_SAFE_INTEGER, t = Number.MAX_SAFE_INTEGER) {
|
|
8355
8405
|
this.min = e, this.max = t;
|
|
8356
8406
|
}
|
|
@@ -8361,7 +8411,7 @@ class Js {
|
|
|
8361
8411
|
</div>`, (typeof r == "string" || isNaN(r) || r < this.min || r > this.max) && n.addClass(e, "ge-cell-error"));
|
|
8362
8412
|
}
|
|
8363
8413
|
}
|
|
8364
|
-
class
|
|
8414
|
+
class Zs {
|
|
8365
8415
|
constructor(e) {
|
|
8366
8416
|
this.property = e;
|
|
8367
8417
|
}
|
|
@@ -8369,10 +8419,10 @@ class qs {
|
|
|
8369
8419
|
n.addClass(e, "ge-star-rating-div");
|
|
8370
8420
|
const l = i.getRowByIndex(t), a = +("" + i.getValueByT(l, this.property));
|
|
8371
8421
|
if (!isNaN(a)) {
|
|
8372
|
-
const
|
|
8422
|
+
const c = [];
|
|
8373
8423
|
for (let u = 0; u < a; u++)
|
|
8374
|
-
|
|
8375
|
-
const h =
|
|
8424
|
+
c.push("★");
|
|
8425
|
+
const h = c.join(" ");
|
|
8376
8426
|
e.innerHTML = `
|
|
8377
8427
|
<div class="ge-table-label-div" data-row-index="${t}" data-col-index="${s}" data-area="${o}" style="position: relative; background: transparent; width: 100%; height: 100%;">
|
|
8378
8428
|
<div class="ge-table-label" data-row-index="${t}" data-col-index="${s}" data-area="${o}">${h}</div>
|
|
@@ -8380,20 +8430,20 @@ class qs {
|
|
|
8380
8430
|
}
|
|
8381
8431
|
}
|
|
8382
8432
|
}
|
|
8383
|
-
class
|
|
8433
|
+
class Qs {
|
|
8384
8434
|
render(e, t, s, o, i, r, n) {
|
|
8385
8435
|
if (r != null && r.length) {
|
|
8386
8436
|
const l = n.createElement("div");
|
|
8387
8437
|
n.addClass(l, "ge-table-label-div"), n.appendChild(e, l);
|
|
8388
8438
|
const a = n.createElement("div");
|
|
8389
8439
|
n.addClass(a, "ge-table-label"), n.appendChild(l, a);
|
|
8390
|
-
const
|
|
8391
|
-
n.appendChild(a,
|
|
8440
|
+
const c = n.createText(r.join(", "));
|
|
8441
|
+
n.appendChild(a, c);
|
|
8392
8442
|
} else
|
|
8393
8443
|
e.innerText = "";
|
|
8394
8444
|
}
|
|
8395
8445
|
}
|
|
8396
|
-
class
|
|
8446
|
+
class eo {
|
|
8397
8447
|
constructor(e, t = 100, s = !1) {
|
|
8398
8448
|
this.property = e, this.maxValue = t, this.labelVisible = s;
|
|
8399
8449
|
}
|
|
@@ -8401,7 +8451,7 @@ class Qs {
|
|
|
8401
8451
|
n.addClass(e, "ge-star-rating-div");
|
|
8402
8452
|
const l = i.getRowByIndex(t), a = +("" + i.getValueByT(l, this.property));
|
|
8403
8453
|
if (!isNaN(a)) {
|
|
8404
|
-
const
|
|
8454
|
+
const c = a * 100 / this.maxValue, h = this.labelVisible ? Math.round(c) + "%" : "";
|
|
8405
8455
|
e.innerHTML = `
|
|
8406
8456
|
<div class="ge-table-label-div"
|
|
8407
8457
|
data-row-index="${t}"
|
|
@@ -8415,7 +8465,7 @@ class Qs {
|
|
|
8415
8465
|
data-col-index="${s}"
|
|
8416
8466
|
data-area="${o}">
|
|
8417
8467
|
<div class="ge-table-progress-bar"
|
|
8418
|
-
style="width:${
|
|
8468
|
+
style="width:${c}%;height:100%;padding:0;margin:0;"
|
|
8419
8469
|
data-row-index="${t}"
|
|
8420
8470
|
data-col-index="${s}"
|
|
8421
8471
|
data-area="${o}">
|
|
@@ -8425,7 +8475,7 @@ class Qs {
|
|
|
8425
8475
|
}
|
|
8426
8476
|
}
|
|
8427
8477
|
}
|
|
8428
|
-
class
|
|
8478
|
+
class to {
|
|
8429
8479
|
render(e, t, s, o, i, r, n) {
|
|
8430
8480
|
if (r) {
|
|
8431
8481
|
e.innerHTML = `
|
|
@@ -8450,21 +8500,21 @@ class We {
|
|
|
8450
8500
|
this.action = e, this.area = t, this.areaModel = s, this.rowIndex = o, this.columnIndex = i, this.id = r;
|
|
8451
8501
|
}
|
|
8452
8502
|
}
|
|
8453
|
-
class
|
|
8503
|
+
class V {
|
|
8454
8504
|
constructor(e, t, s = "", o = "", i = "button", r = !0) {
|
|
8455
8505
|
this.action = e, this.label = t, this.icon = s, this.elementClass = o, this.elementType = i, this.enabled = r;
|
|
8456
8506
|
}
|
|
8457
8507
|
}
|
|
8458
|
-
class
|
|
8508
|
+
class $t {
|
|
8459
8509
|
constructor(e, t) {
|
|
8460
8510
|
this.actionEventListener = e, this.crudActions = t;
|
|
8461
8511
|
}
|
|
8462
8512
|
render(e, t, s, o, i, r, n) {
|
|
8463
8513
|
n.addClass(e, "ge-table-row-action-div");
|
|
8464
|
-
const l = r,
|
|
8514
|
+
const l = r, c = this.getCrudActions(r).map(
|
|
8465
8515
|
(h) => h.elementType === "button" ? this.buildButtonHtml(h, o, t, s, l) : this.buildLinkHtml(h, o, t, s, l)
|
|
8466
8516
|
);
|
|
8467
|
-
e.innerHTML =
|
|
8517
|
+
e.innerHTML = c.join(""), this.addClickEventListeners(e, o, i);
|
|
8468
8518
|
}
|
|
8469
8519
|
buildButtonHtml(e, t, s, o, i) {
|
|
8470
8520
|
const r = e.enabled ? 'data-listen="click"' : "disabled";
|
|
@@ -8511,17 +8561,17 @@ class Ot {
|
|
|
8511
8561
|
createActionEvent(e, t) {
|
|
8512
8562
|
const s = e.getAttribute("data-area"), o = e.getAttribute("data-row-index"), i = e.getAttribute("data-col-index"), r = e.getAttribute("data-action") ?? "unknown", n = e.getAttribute("data-id") ?? "unknown";
|
|
8513
8563
|
if (s && o && i) {
|
|
8514
|
-
const l = ee(s), a = Number(o),
|
|
8515
|
-
return new We(r, l, t, a,
|
|
8564
|
+
const l = ee(s), a = Number(o), c = Number(i);
|
|
8565
|
+
return new We(r, l, t, a, c, n);
|
|
8516
8566
|
}
|
|
8517
8567
|
return null;
|
|
8518
8568
|
}
|
|
8519
8569
|
getCrudActions(e) {
|
|
8520
|
-
return Array.isArray(e) && e.every((t) => t instanceof
|
|
8570
|
+
return Array.isArray(e) && e.every((t) => t instanceof V) ? e : this.crudActions;
|
|
8521
8571
|
}
|
|
8522
8572
|
}
|
|
8523
|
-
const
|
|
8524
|
-
return
|
|
8573
|
+
const so = function(d, e, t) {
|
|
8574
|
+
return d ? Number(d) : "";
|
|
8525
8575
|
};
|
|
8526
8576
|
class Ne {
|
|
8527
8577
|
constructor(e) {
|
|
@@ -8529,7 +8579,7 @@ class Ne {
|
|
|
8529
8579
|
}
|
|
8530
8580
|
static create(e) {
|
|
8531
8581
|
return new Ne(
|
|
8532
|
-
e.map((t) => new
|
|
8582
|
+
e.map((t) => new Lt(t, t))
|
|
8533
8583
|
);
|
|
8534
8584
|
}
|
|
8535
8585
|
render(e, t, s, o, i, r, n) {
|
|
@@ -8541,7 +8591,7 @@ class Ne {
|
|
|
8541
8591
|
const u = h.value === l ? " selected " : "";
|
|
8542
8592
|
a.push(`<option value="${h.value}" ${u}>${h.label}</option>`);
|
|
8543
8593
|
}
|
|
8544
|
-
const
|
|
8594
|
+
const c = a.join("");
|
|
8545
8595
|
e.innerHTML = `
|
|
8546
8596
|
<select
|
|
8547
8597
|
autofocus
|
|
@@ -8551,11 +8601,11 @@ class Ne {
|
|
|
8551
8601
|
data-col-index="${s}"
|
|
8552
8602
|
data-input-type="text"
|
|
8553
8603
|
style="width:100%;height:100%;border:0;padding:0 0 0 8px;"
|
|
8554
|
-
class="ge-table-cell-editor-select">${
|
|
8604
|
+
class="ge-table-cell-editor-select">${c}</select>`;
|
|
8555
8605
|
}
|
|
8556
8606
|
}
|
|
8557
8607
|
}
|
|
8558
|
-
class
|
|
8608
|
+
class oo extends be {
|
|
8559
8609
|
constructor(e) {
|
|
8560
8610
|
super("row", "multi"), this.model = e;
|
|
8561
8611
|
}
|
|
@@ -8638,7 +8688,7 @@ class so extends be {
|
|
|
8638
8688
|
this.isSelected(e, 0) ? this.unselectRow(e) : this.selectRow(e);
|
|
8639
8689
|
}
|
|
8640
8690
|
}
|
|
8641
|
-
class
|
|
8691
|
+
class io {
|
|
8642
8692
|
constructor(e, t, s) {
|
|
8643
8693
|
this.r = e, this.g = t, this.b = s;
|
|
8644
8694
|
}
|
|
@@ -8648,29 +8698,29 @@ class De {
|
|
|
8648
8698
|
this.minValue = e, this.minColor = t, this.maxValue = s, this.maxColor = o;
|
|
8649
8699
|
}
|
|
8650
8700
|
}
|
|
8651
|
-
class
|
|
8701
|
+
class X {
|
|
8652
8702
|
static normalize(e, t, s, o = 0, i = 1) {
|
|
8653
8703
|
return (e - t) / (s - t) * (i - o) + o;
|
|
8654
8704
|
}
|
|
8655
8705
|
static getTwoColorGradientRGB(e, t) {
|
|
8656
|
-
const s =
|
|
8706
|
+
const s = X.normalize(e, t.minValue, t.maxValue, 0, 1), o = t.maxColor.r - t.minColor.r, i = t.maxColor.g - t.minColor.g, r = t.maxColor.b - t.minColor.b, n = o * s + t.minColor.r, l = i * s + t.minColor.g, a = r * s + t.minColor.b;
|
|
8657
8707
|
return `rgb(${Math.round(n)}, ${Math.round(l)}, ${Math.round(a)})`;
|
|
8658
8708
|
}
|
|
8659
8709
|
static getThreeColorGradientRGB(e, t) {
|
|
8660
|
-
return e < t.middleValue ?
|
|
8710
|
+
return e < t.middleValue ? X.getTwoColorGradientRGB(e, new De(t.minValue, t.minColor, t.middleValue, t.middleColor)) : e > t.middleValue ? X.getTwoColorGradientRGB(e, new De(t.middleValue, t.middleColor, t.maxValue, t.maxColor)) : `rgb(${t.middleColor.r}, ${t.middleColor.g}, ${t.middleColor.b})`;
|
|
8661
8711
|
}
|
|
8662
8712
|
}
|
|
8663
|
-
class
|
|
8713
|
+
class ro {
|
|
8664
8714
|
constructor(e, t, s, o, i, r) {
|
|
8665
8715
|
this.minValue = e, this.minColor = t, this.middleValue = s, this.middleColor = o, this.maxValue = i, this.maxColor = r;
|
|
8666
8716
|
}
|
|
8667
8717
|
}
|
|
8668
|
-
class
|
|
8718
|
+
class Bt {
|
|
8669
8719
|
constructor(e = !0, t = !0, s = (r, n) => r * 10 + 10, o = 50, i = 450) {
|
|
8670
8720
|
this.autoCalc = e, this.takeHeaderLabelsIntoAccount = t, this.charCountToWidth = s, this.minWidth = o, this.maxWidth = i;
|
|
8671
8721
|
}
|
|
8672
8722
|
}
|
|
8673
|
-
class
|
|
8723
|
+
class Ht {
|
|
8674
8724
|
constructor(e) {
|
|
8675
8725
|
this.object = e;
|
|
8676
8726
|
}
|
|
@@ -8802,7 +8852,7 @@ class ie {
|
|
|
8802
8852
|
return e.replace(/\./g, " ");
|
|
8803
8853
|
}
|
|
8804
8854
|
}
|
|
8805
|
-
class
|
|
8855
|
+
class Wt {
|
|
8806
8856
|
constructor() {
|
|
8807
8857
|
this.urls = {
|
|
8808
8858
|
list: {
|
|
@@ -8810,15 +8860,15 @@ class Bt {
|
|
|
8810
8860
|
method: "GET"
|
|
8811
8861
|
}
|
|
8812
8862
|
}, this.singleRowActions = [
|
|
8813
|
-
new
|
|
8814
|
-
new
|
|
8815
|
-
new
|
|
8816
|
-
new
|
|
8863
|
+
new V("VIEW", "View", "", "", "link"),
|
|
8864
|
+
new V("EDIT", "Edit", "", "", "link"),
|
|
8865
|
+
new V("CLONE", "Clone", "", "", "link"),
|
|
8866
|
+
new V("DELETE", "Delete", "", "", "link")
|
|
8817
8867
|
// new CrudAction('CREATE', 'Create', '', '', 'link'),
|
|
8818
8868
|
], this.tableActions = [
|
|
8819
|
-
new
|
|
8820
|
-
new
|
|
8821
|
-
], this.autoAddActionColumn = !0, this.columnWidths = new
|
|
8869
|
+
new V("CREATE", "Create", "", "", "button"),
|
|
8870
|
+
new V("DELETE_SELECTED", "Delete Selected", "", "", "button")
|
|
8871
|
+
], this.autoAddActionColumn = !0, this.columnWidths = new Bt(), this.calcFixedRightColumnCount = (e) => e > 6 ? 1 : 0, this.getHeadersInit = () => ({}), this.getIdKey = () => "id", this.getIdByObject = (e) => (this.getIdKey() ?? "id") in e ? e.id : e, this.fetchList = (e) => {
|
|
8822
8872
|
const t = e.getHeadersInit ? e.getHeadersInit() : {};
|
|
8823
8873
|
let s = e.urls.list.url, o = e.urls.list.method ?? "GET";
|
|
8824
8874
|
return fetch(s, {
|
|
@@ -8869,9 +8919,9 @@ class Bt {
|
|
|
8869
8919
|
};
|
|
8870
8920
|
}
|
|
8871
8921
|
}
|
|
8872
|
-
class
|
|
8922
|
+
class no {
|
|
8873
8923
|
constructor() {
|
|
8874
|
-
this.crudOptions = new
|
|
8924
|
+
this.crudOptions = new Wt(), this.listenActionEvent = (e) => {
|
|
8875
8925
|
};
|
|
8876
8926
|
}
|
|
8877
8927
|
createTableModel(e, t, s = (i) => {
|
|
@@ -8880,14 +8930,14 @@ class ro {
|
|
|
8880
8930
|
this.crudOptions = e, this.listenActionEvent = o, e.fetchList(e).then((i) => {
|
|
8881
8931
|
var r, n, l, a;
|
|
8882
8932
|
if (t.rows = i, i != null && i.length) {
|
|
8883
|
-
const
|
|
8933
|
+
const c = (r = t.columnDefs) != null && r.length ? t.columnDefs.map((w) => w.property) : this.extractProperties(i[0]), h = new be("row", "multi"), u = () => h;
|
|
8884
8934
|
this.tableOptions = {
|
|
8885
|
-
...new
|
|
8935
|
+
...new Y(),
|
|
8886
8936
|
...t.tableOptions,
|
|
8887
8937
|
hoverColumnVisible: !1,
|
|
8888
8938
|
getSelectionModel: u
|
|
8889
8939
|
};
|
|
8890
|
-
const f = this.calcAutoColumnWidths(i,
|
|
8940
|
+
const f = this.calcAutoColumnWidths(i, c), p = (n = t.columnDefs) != null && n.length ? t.columnDefs : c.map(((w, S) => new H(w, w.toUpperCase(), new y(f[S], "px"))));
|
|
8891
8941
|
if ((l = e == null ? void 0 : e.columnWidths) != null && l.autoCalc)
|
|
8892
8942
|
for (let w = 0; w < p.length; w++) {
|
|
8893
8943
|
const S = p[w];
|
|
@@ -8897,24 +8947,24 @@ class ro {
|
|
|
8897
8947
|
let w = new H(
|
|
8898
8948
|
"id",
|
|
8899
8949
|
"Actions",
|
|
8900
|
-
|
|
8950
|
+
It,
|
|
8901
8951
|
new T(["ge-table-text-align-left"], ["ge-table-text-align-left ge-table-actions-cell"], void 0)
|
|
8902
8952
|
);
|
|
8903
8953
|
w.rendererMap = new T(
|
|
8904
8954
|
void 0,
|
|
8905
|
-
new
|
|
8955
|
+
new $t(this, e.singleRowActions),
|
|
8906
8956
|
void 0
|
|
8907
8957
|
), p.push(w);
|
|
8908
8958
|
}
|
|
8909
8959
|
const m = 0, g = e.calcFixedRightColumnCount(p.length);
|
|
8910
|
-
this.tableModel =
|
|
8960
|
+
this.tableModel = $.buildByTypedRowsParam({
|
|
8911
8961
|
rows: i,
|
|
8912
8962
|
columnDefs: p,
|
|
8913
8963
|
tableOptions: this.tableOptions,
|
|
8914
8964
|
fixedLeftColumnCount: m,
|
|
8915
8965
|
fixedRightColumnCount: g
|
|
8916
8966
|
}), this.tableModel.getSelectionModel = u, this.bodyModel = (a = this.tableModel) == null ? void 0 : a.getBodyModel();
|
|
8917
|
-
const b = new
|
|
8967
|
+
const b = new Pt(this.tableModel, this.tableOptions);
|
|
8918
8968
|
s(b);
|
|
8919
8969
|
}
|
|
8920
8970
|
});
|
|
@@ -8929,7 +8979,7 @@ class ro {
|
|
|
8929
8979
|
var t, s, o, i;
|
|
8930
8980
|
if (this.listenActionEvent && this.listenActionEvent(e), e.action === "VIEW") {
|
|
8931
8981
|
let r = e.id;
|
|
8932
|
-
(t = this.crudOptions) == null || t.fetchItem(this.crudOptions, r).then((n) => (console.info(n), new
|
|
8982
|
+
(t = this.crudOptions) == null || t.fetchItem(this.crudOptions, r).then((n) => (console.info(n), new Ht(n).openDialog(), n));
|
|
8933
8983
|
} else if (e.action === "EDIT") {
|
|
8934
8984
|
let r = e.id;
|
|
8935
8985
|
const n = this.crudOptions.getIdKey() ?? "id";
|
|
@@ -8948,8 +8998,8 @@ class ro {
|
|
|
8948
8998
|
n,
|
|
8949
8999
|
a,
|
|
8950
9000
|
"Clone Item"
|
|
8951
|
-
).openDialog((
|
|
8952
|
-
console.info(
|
|
9001
|
+
).openDialog((c) => {
|
|
9002
|
+
console.info(c), this.crudOptions.createItem(this.crudOptions, c);
|
|
8953
9003
|
}), a;
|
|
8954
9004
|
});
|
|
8955
9005
|
} else if (e.action === "CREATE") {
|
|
@@ -8964,8 +9014,8 @@ class ro {
|
|
|
8964
9014
|
} else if (e.action === "DELETE") {
|
|
8965
9015
|
let r = e.id;
|
|
8966
9016
|
(i = this.crudOptions) == null || i.deleteItem(this.crudOptions, r).then((n) => {
|
|
8967
|
-
var l, a,
|
|
8968
|
-
return (l = this.bodyModel) == null || l.filterRowsByPredict((f) => f.id != r), (
|
|
9017
|
+
var l, a, c, h, u;
|
|
9018
|
+
return (l = this.bodyModel) == null || l.filterRowsByPredict((f) => f.id != r), (c = (a = this.tableModel) == null ? void 0 : a.getTableScope()) == null || c.clearSelection(!0), (u = (h = this.tableModel) == null ? void 0 : h.getTableScope()) == null || u.repaintHard(), n;
|
|
8969
9019
|
});
|
|
8970
9020
|
}
|
|
8971
9021
|
}
|
|
@@ -8975,21 +9025,21 @@ class ro {
|
|
|
8975
9025
|
if (!((a = this.crudOptions.columnWidths) != null && a.autoCalc))
|
|
8976
9026
|
return new Array(o).fill(200);
|
|
8977
9027
|
const i = e.length ?? 0, r = new Array(o).fill(0);
|
|
8978
|
-
for (let
|
|
9028
|
+
for (let c = 0; c < i; c++)
|
|
8979
9029
|
for (let h = 0; h < o; h++) {
|
|
8980
|
-
const u = t[h], f = this.getValueByT(e[
|
|
9030
|
+
const u = t[h], f = this.getValueByT(e[c], u), p = (f == null ? void 0 : f.toString().length) || 0;
|
|
8981
9031
|
p > r[h] && (r[h] = p);
|
|
8982
9032
|
}
|
|
8983
9033
|
if (this.crudOptions.columnWidths.takeHeaderLabelsIntoAccount)
|
|
8984
|
-
for (let
|
|
8985
|
-
const h = s[
|
|
8986
|
-
h > r[
|
|
9034
|
+
for (let c = 0; c < o; c++) {
|
|
9035
|
+
const h = s[c].length || 0;
|
|
9036
|
+
h > r[c] && (r[c] = h);
|
|
8987
9037
|
}
|
|
8988
9038
|
const n = this.crudOptions.columnWidths.minWidth, l = this.crudOptions.columnWidths.maxWidth;
|
|
8989
|
-
return r.map((
|
|
9039
|
+
return r.map((c, h) => Math.min(
|
|
8990
9040
|
l,
|
|
8991
9041
|
Math.max(
|
|
8992
|
-
this.crudOptions.columnWidths.charCountToWidth(
|
|
9042
|
+
this.crudOptions.columnWidths.charCountToWidth(c, h),
|
|
8993
9043
|
n
|
|
8994
9044
|
)
|
|
8995
9045
|
));
|
|
@@ -9010,7 +9060,7 @@ class ro {
|
|
|
9010
9060
|
return s;
|
|
9011
9061
|
}
|
|
9012
9062
|
}
|
|
9013
|
-
class
|
|
9063
|
+
class lo {
|
|
9014
9064
|
constructor(e, t) {
|
|
9015
9065
|
this.method = e, this.url = t;
|
|
9016
9066
|
}
|
|
@@ -9018,187 +9068,188 @@ class no {
|
|
|
9018
9068
|
export {
|
|
9019
9069
|
pe as AbstractAreaModel,
|
|
9020
9070
|
We as ActionEvent,
|
|
9021
|
-
|
|
9071
|
+
$t as ActionsCellRenderer,
|
|
9022
9072
|
Oe as AnyPropertyType,
|
|
9023
|
-
|
|
9024
|
-
|
|
9073
|
+
Os as AreaMapFactory,
|
|
9074
|
+
Bs as AreaModel,
|
|
9025
9075
|
P as AreaModelArrayOfArrays,
|
|
9026
|
-
|
|
9076
|
+
Hs as AreaModelCellGroups,
|
|
9027
9077
|
k as AreaModelHidden,
|
|
9028
9078
|
_ as AreaModelObjectArray,
|
|
9029
9079
|
Te as AreaModelObjectArrayWithColumndefs,
|
|
9030
9080
|
Ie as AreaModelTree,
|
|
9031
9081
|
T as AreaObjectMap,
|
|
9032
9082
|
B as ArrayPropertyType,
|
|
9033
|
-
|
|
9034
|
-
|
|
9083
|
+
Ft as AutoRestoreOptions,
|
|
9084
|
+
Gt as AvoidDoubleExecution,
|
|
9035
9085
|
Ye as BooleanPropertyType,
|
|
9036
|
-
|
|
9037
|
-
|
|
9038
|
-
|
|
9086
|
+
Ot as CellGroup,
|
|
9087
|
+
Vt as CellGroupExt,
|
|
9088
|
+
ce as CellGroupExtCellRenderer,
|
|
9039
9089
|
A as CellRange,
|
|
9040
9090
|
E as CellgroupFactory,
|
|
9041
|
-
|
|
9091
|
+
Gs as CheckboxBooleanPropertyCellRenderer,
|
|
9042
9092
|
ke as CheckboxCellRenderer,
|
|
9043
|
-
|
|
9044
|
-
|
|
9045
|
-
|
|
9093
|
+
Ls as CheckboxColumnDef,
|
|
9094
|
+
Tt as CheckboxModel,
|
|
9095
|
+
Is as ChunkData,
|
|
9046
9096
|
at as ColAndRowspanModel,
|
|
9047
9097
|
it as CollapsedExpandedData,
|
|
9048
|
-
|
|
9098
|
+
io as ColorRgb,
|
|
9049
9099
|
H as ColumnDef,
|
|
9050
|
-
|
|
9051
|
-
|
|
9100
|
+
zt as ColumnDefGenerator,
|
|
9101
|
+
Bt as ColumnWidths,
|
|
9052
9102
|
Qe as ConvenienceDomService,
|
|
9053
9103
|
q as CopyService,
|
|
9054
|
-
|
|
9055
|
-
|
|
9056
|
-
|
|
9057
|
-
|
|
9104
|
+
kt as CoverGridBodyModel,
|
|
9105
|
+
As as CoverGridFactory,
|
|
9106
|
+
Dt as CoverGridTableModel,
|
|
9107
|
+
V as CrudAction,
|
|
9058
9108
|
ie as CrudObjectEdit,
|
|
9059
|
-
|
|
9060
|
-
|
|
9061
|
-
|
|
9109
|
+
Ht as CrudObjectView,
|
|
9110
|
+
Wt as CrudOptions,
|
|
9111
|
+
no as CrudTableModelFactory,
|
|
9062
9112
|
ve as CssVars,
|
|
9063
|
-
|
|
9064
|
-
|
|
9065
|
-
|
|
9066
|
-
|
|
9113
|
+
js as DateToIntlDDMMYYYYCellRenderer,
|
|
9114
|
+
zs as DateToIsoCellRenderer,
|
|
9115
|
+
Us as DateToLocaleDateCellRenderer,
|
|
9116
|
+
Js as DateToTecCellRenderer,
|
|
9067
9117
|
z as DefaultRowHeights,
|
|
9068
9118
|
lt as EleScope,
|
|
9069
9119
|
ne as EventAdapter,
|
|
9070
|
-
|
|
9071
|
-
|
|
9120
|
+
Yt as EventCheckboxChangedHandler,
|
|
9121
|
+
At as ExcelService,
|
|
9072
9122
|
Ae as FalseFn,
|
|
9073
|
-
|
|
9123
|
+
St as FocusModel,
|
|
9074
9124
|
ut as GeCellIndices,
|
|
9075
|
-
|
|
9076
|
-
|
|
9077
|
-
|
|
9125
|
+
X as GeCssColorUtil,
|
|
9126
|
+
Ws as GeFilterService,
|
|
9127
|
+
Vs as GeKeyEvent,
|
|
9078
9128
|
me as GeModelChangeEvent,
|
|
9079
9129
|
ue as GeMouseEvent,
|
|
9130
|
+
pt as GeScrollEvent,
|
|
9080
9131
|
L as GeoData,
|
|
9081
9132
|
O as Icon,
|
|
9082
|
-
|
|
9083
|
-
|
|
9133
|
+
Es as IndexAndPx,
|
|
9134
|
+
xt as InputCellRenderer,
|
|
9084
9135
|
ht as InputHandler,
|
|
9085
9136
|
xe as JsonService,
|
|
9086
9137
|
W as LicenseManager,
|
|
9087
|
-
|
|
9138
|
+
Ys as MaleFemaleToIconCellRenderer,
|
|
9088
9139
|
tt as MouseHandler,
|
|
9089
9140
|
et as MouseTargetData,
|
|
9090
|
-
|
|
9141
|
+
oo as MultiRowsSelectionModel,
|
|
9091
9142
|
ze as NullPropertyType,
|
|
9092
|
-
|
|
9093
|
-
|
|
9143
|
+
Ks as NumberCellProgressBarCellRenderer,
|
|
9144
|
+
qs as NumberCellRenderer,
|
|
9094
9145
|
Ue as NumberPropertyType,
|
|
9095
9146
|
F as ObjectPropertyType,
|
|
9096
|
-
|
|
9147
|
+
mt as OsxShortcutActionIdMapping,
|
|
9097
9148
|
Fe as PROPERTY_TYPE_KEY_ANY,
|
|
9098
9149
|
Le as PROPERTY_TYPE_KEY_ARRAY,
|
|
9099
9150
|
he as PROPERTY_TYPE_KEY_BOOLEAN,
|
|
9100
9151
|
Pe as PROPERTY_TYPE_KEY_NULL,
|
|
9101
|
-
|
|
9152
|
+
de as PROPERTY_TYPE_KEY_NUMBER,
|
|
9102
9153
|
U as PROPERTY_TYPE_KEY_OBJECT,
|
|
9103
9154
|
_e as PROPERTY_TYPE_KEY_STRING,
|
|
9104
9155
|
j as PROPERTY_TYPE_KEY_UNDEFINED,
|
|
9105
9156
|
ae as Padding,
|
|
9106
|
-
|
|
9107
|
-
|
|
9108
|
-
|
|
9109
|
-
|
|
9110
|
-
|
|
9111
|
-
|
|
9112
|
-
|
|
9113
|
-
|
|
9114
|
-
|
|
9157
|
+
to as PositiveAndNegativeNumberRenderer,
|
|
9158
|
+
eo as ProgressBarCellRenderer,
|
|
9159
|
+
Ve as PropertyItem,
|
|
9160
|
+
jt as PropertyTypeService,
|
|
9161
|
+
ct as RenderScope,
|
|
9162
|
+
Ns as Renderer,
|
|
9163
|
+
_t as RequestChunk,
|
|
9164
|
+
Rt as ResizeHandler,
|
|
9165
|
+
Ut as SchemeGenerator,
|
|
9115
9166
|
Ne as SelectCellRenderer,
|
|
9116
9167
|
be as SelectionModel,
|
|
9117
|
-
|
|
9118
|
-
|
|
9119
|
-
|
|
9120
|
-
|
|
9168
|
+
gt as SelectionService,
|
|
9169
|
+
yt as ShortcutService,
|
|
9170
|
+
Qs as SimpleArrayCellRenderer,
|
|
9171
|
+
wt as SimpleDomService,
|
|
9121
9172
|
y as Size,
|
|
9122
|
-
|
|
9173
|
+
dt as SortItem,
|
|
9123
9174
|
Be as SortedOptions,
|
|
9124
|
-
|
|
9175
|
+
Zs as StarRatingCellRenderer,
|
|
9125
9176
|
rt as StoreStateCollapsedExpandService,
|
|
9126
9177
|
ot as StoreStateScrollPosService,
|
|
9127
9178
|
nt as StoreStateSortingService,
|
|
9128
9179
|
je as StringPropertyType,
|
|
9129
9180
|
st as TableApi,
|
|
9130
|
-
|
|
9131
|
-
|
|
9181
|
+
$s as TableCellUpdateEvent,
|
|
9182
|
+
$ as TableFactory,
|
|
9132
9183
|
oe as TableModel,
|
|
9133
|
-
|
|
9134
|
-
|
|
9184
|
+
Pt as TableModelAndOptions,
|
|
9185
|
+
Y as TableOptions,
|
|
9135
9186
|
He as TableScope,
|
|
9136
|
-
|
|
9187
|
+
ro as ThreeColorGradientArg,
|
|
9137
9188
|
Ee as TreeCheckboxModel,
|
|
9138
9189
|
le as TreeFactory,
|
|
9139
|
-
|
|
9190
|
+
$e as TreeOptions,
|
|
9140
9191
|
Re as TreeRow,
|
|
9141
|
-
|
|
9142
|
-
|
|
9143
|
-
|
|
9192
|
+
Et as TreeRowService,
|
|
9193
|
+
Xs as TrueFalseCellRenderer,
|
|
9194
|
+
Mt as TrueFn,
|
|
9144
9195
|
De as TwoColorGradientArg,
|
|
9145
|
-
|
|
9196
|
+
J as UNIMPORTANT_TYPES,
|
|
9146
9197
|
se as UndefinedPropertyType,
|
|
9147
|
-
|
|
9198
|
+
lo as UrlInfo,
|
|
9148
9199
|
Ke as ValueInfo,
|
|
9149
|
-
|
|
9150
|
-
|
|
9151
|
-
|
|
9152
|
-
|
|
9153
|
-
|
|
9154
|
-
|
|
9155
|
-
|
|
9156
|
-
|
|
9157
|
-
|
|
9200
|
+
Lt as ValueLabel,
|
|
9201
|
+
ft as WindowsShortcutActionIdMapping,
|
|
9202
|
+
Ms as actionIds,
|
|
9203
|
+
Ps as allCenter,
|
|
9204
|
+
Fs as allLeft,
|
|
9205
|
+
_s as allRight,
|
|
9206
|
+
ks as bodyCenter,
|
|
9207
|
+
Ts as bodyLeft,
|
|
9208
|
+
Ds as bodyRight,
|
|
9158
9209
|
Ce as createHarmonizedShortcutByKeyboardEvent,
|
|
9159
9210
|
Ge as debounce,
|
|
9160
|
-
|
|
9211
|
+
so as editInputPipeForNumber,
|
|
9161
9212
|
Se as entitySuffix,
|
|
9162
9213
|
qe as firstLetterUppercase,
|
|
9163
9214
|
ee as getAreaIdentByString,
|
|
9164
9215
|
Xe as getEntityName,
|
|
9165
|
-
|
|
9216
|
+
bt as harmonizeShortcut,
|
|
9166
9217
|
re as isAreaModelTree,
|
|
9167
9218
|
Ze as isCheckboxColumnDef,
|
|
9168
9219
|
G as isTreeRow,
|
|
9169
|
-
|
|
9170
|
-
|
|
9171
|
-
|
|
9172
|
-
|
|
9173
|
-
|
|
9174
|
-
|
|
9175
|
-
|
|
9176
|
-
|
|
9177
|
-
|
|
9178
|
-
|
|
9179
|
-
|
|
9180
|
-
|
|
9181
|
-
|
|
9220
|
+
Rs as px0,
|
|
9221
|
+
vs as px10,
|
|
9222
|
+
gs as px100,
|
|
9223
|
+
ps as px110,
|
|
9224
|
+
us as px120,
|
|
9225
|
+
hs as px130,
|
|
9226
|
+
ds as px140,
|
|
9227
|
+
cs as px150,
|
|
9228
|
+
as as px160,
|
|
9229
|
+
ls as px170,
|
|
9230
|
+
ns as px180,
|
|
9231
|
+
rs as px190,
|
|
9232
|
+
Cs as px20,
|
|
9182
9233
|
Me as px200,
|
|
9183
|
-
|
|
9184
|
-
|
|
9185
|
-
|
|
9186
|
-
|
|
9187
|
-
|
|
9188
|
-
|
|
9189
|
-
|
|
9190
|
-
|
|
9191
|
-
|
|
9192
|
-
|
|
9193
|
-
|
|
9194
|
-
|
|
9195
|
-
|
|
9196
|
-
|
|
9197
|
-
|
|
9198
|
-
|
|
9199
|
-
|
|
9200
|
-
|
|
9201
|
-
|
|
9202
|
-
|
|
9234
|
+
is as px210,
|
|
9235
|
+
os as px220,
|
|
9236
|
+
ss as px230,
|
|
9237
|
+
ts as px240,
|
|
9238
|
+
es as px250,
|
|
9239
|
+
Qt as px260,
|
|
9240
|
+
Zt as px270,
|
|
9241
|
+
qt as px280,
|
|
9242
|
+
Jt as px290,
|
|
9243
|
+
Ss as px30,
|
|
9244
|
+
It as px300,
|
|
9245
|
+
xs as px40,
|
|
9246
|
+
Xt as px400,
|
|
9247
|
+
ws as px50,
|
|
9248
|
+
Kt as px500,
|
|
9249
|
+
ys as px60,
|
|
9250
|
+
bs as px70,
|
|
9251
|
+
ms as px80,
|
|
9252
|
+
fs as px90,
|
|
9253
|
+
Nt as throttle,
|
|
9203
9254
|
Je as trimArraySuffixes
|
|
9204
9255
|
};
|