@guiexpert/table 1.1.83 → 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 +14 -14
- package/index.d.ts +61 -61
- package/index.js +189 -160
- 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/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 +5 -4
- package/lib/table/event-checkbox-changed-handler.d.ts +1 -0
- package/lib/table/event-listener.if.d.ts +4 -3
- 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 +1 -0
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
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);
|
|
@@ -15,7 +15,7 @@ function Ge(d, e = 500) {
|
|
|
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;
|
|
@@ -25,7 +25,7 @@ function Nt(d = 500) {
|
|
|
25
25
|
}, s;
|
|
26
26
|
};
|
|
27
27
|
}
|
|
28
|
-
const Fe = "any", j = "undefined", Pe = "null", _e = "string", de = "number", he = "boolean", Le = "Array", U = "object",
|
|
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;
|
|
@@ -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 Gt {
|
|
|
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;
|
|
@@ -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;
|
|
@@ -285,7 +285,7 @@ function Je(d) {
|
|
|
285
285
|
function qe(d) {
|
|
286
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,7 +512,7 @@ class zt {
|
|
|
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) {
|
|
@@ -594,7 +594,7 @@ class zt {
|
|
|
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
|
}
|
|
@@ -602,7 +602,7 @@ class zt {
|
|
|
602
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
|
}
|
|
@@ -651,7 +651,7 @@ class jt {
|
|
|
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) {
|
|
@@ -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;",
|
|
@@ -883,7 +883,7 @@ 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;
|
|
@@ -3713,8 +3713,8 @@ class ct 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
|
}
|
|
@@ -3948,8 +3948,8 @@ 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
3954
|
v != null && v.hasFocus(o, i) && this.dom.addFocusBorderDivs(c, p, {});
|
|
3955
3955
|
}
|
|
@@ -4720,13 +4720,13 @@ class ye {
|
|
|
4720
4720
|
// `⊖ `, `⊕ `;
|
|
4721
4721
|
}
|
|
4722
4722
|
const Ct = new be(), vt = new St("cell");
|
|
4723
|
-
class
|
|
4723
|
+
class Y {
|
|
4724
4724
|
constructor() {
|
|
4725
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 = {
|
|
4726
4726
|
header: 34,
|
|
4727
4727
|
body: 34,
|
|
4728
4728
|
footer: 34
|
|
4729
|
-
}, 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;
|
|
4730
4730
|
}
|
|
4731
4731
|
}
|
|
4732
4732
|
const N = class N {
|
|
@@ -4954,7 +4954,7 @@ class He extends ct {
|
|
|
4954
4954
|
*
|
|
4955
4955
|
* @return {TableScope} - The newly created TableScope instance.
|
|
4956
4956
|
*/
|
|
4957
|
-
static create(e, t, s = new
|
|
4957
|
+
static create(e, t, s = new Y(), o = new ne(), i = new wt(), r = new q()) {
|
|
4958
4958
|
return new He(e, t, i, s, o, r);
|
|
4959
4959
|
}
|
|
4960
4960
|
/**
|
|
@@ -5427,7 +5427,7 @@ class He extends ct {
|
|
|
5427
5427
|
return e < t ? (this.scrollToIndex(0, e), !0) : e > s ? (this.scrollToIndex(0, e - o + 1), !0) : !1;
|
|
5428
5428
|
}
|
|
5429
5429
|
}
|
|
5430
|
-
class
|
|
5430
|
+
class Yt extends ne {
|
|
5431
5431
|
constructor(e) {
|
|
5432
5432
|
super(), this.onCheckboxChangedCallback = e, super.onCheckboxChanged = (t) => {
|
|
5433
5433
|
this.onCheckboxChangedCallback(t);
|
|
@@ -5754,7 +5754,7 @@ class H {
|
|
|
5754
5754
|
);
|
|
5755
5755
|
}
|
|
5756
5756
|
}
|
|
5757
|
-
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");
|
|
5758
5758
|
class P extends pe {
|
|
5759
5759
|
constructor(e, t, s, o = []) {
|
|
5760
5760
|
super(e, o, s), this.areaIdent = e, this.arr = t, this.defaultRowHeight = s, this.columnDefs = o, this.filteredArr = [...t];
|
|
@@ -6504,7 +6504,7 @@ class Te extends _ {
|
|
|
6504
6504
|
), this.areaIdent = e, this.rows = t, this.columnDefs = s, this.defaultRowHeight = o;
|
|
6505
6505
|
}
|
|
6506
6506
|
}
|
|
6507
|
-
class
|
|
6507
|
+
class $ {
|
|
6508
6508
|
/**
|
|
6509
6509
|
* TableFactory
|
|
6510
6510
|
*
|
|
@@ -6631,10 +6631,10 @@ class V {
|
|
|
6631
6631
|
* @method
|
|
6632
6632
|
*/
|
|
6633
6633
|
static buildByTypedRowsParam(e) {
|
|
6634
|
-
return
|
|
6634
|
+
return $.buildByTypedRows(
|
|
6635
6635
|
e.rows ?? [],
|
|
6636
6636
|
e.columnDefs,
|
|
6637
|
-
e.tableOptions ?? new
|
|
6637
|
+
e.tableOptions ?? new Y(),
|
|
6638
6638
|
e.fixedLeftColumnCount ?? 0,
|
|
6639
6639
|
e.fixedRightColumnCount ?? 0
|
|
6640
6640
|
);
|
|
@@ -6675,7 +6675,7 @@ class V {
|
|
|
6675
6675
|
* columnDef is "CheckboxColumn". If the first column is not a checkbox column, ensure that the first columnDef does not have "CheckboxColumn"
|
|
6676
6676
|
* as its property.
|
|
6677
6677
|
*/
|
|
6678
|
-
static buildByTypedRows(e, t, s = new
|
|
6678
|
+
static buildByTypedRows(e, t, s = new Y(), o = 0, i = 0) {
|
|
6679
6679
|
const r = s.defaultRowHeights, n = t[0].property === "CheckboxColumn";
|
|
6680
6680
|
if (e != null && e.length && G(e[0])) {
|
|
6681
6681
|
const a = e, c = new Ie(
|
|
@@ -6684,7 +6684,7 @@ class V {
|
|
|
6684
6684
|
r.body,
|
|
6685
6685
|
t
|
|
6686
6686
|
);
|
|
6687
|
-
return (n || s.showCheckboxWihoutExtraColumn) && (c.rowSelectionModel = new Ee(a)),
|
|
6687
|
+
return (n || s.showCheckboxWihoutExtraColumn) && (c.rowSelectionModel = new Ee(a)), $.createByAreaModelsParam({
|
|
6688
6688
|
headerAreaModel: new P("header", [t.map((h) => h.headerLabel)], r.header),
|
|
6689
6689
|
bodyAreaModel: c,
|
|
6690
6690
|
footerAreaModel: new P("footer", [], r.footer),
|
|
@@ -6698,7 +6698,7 @@ class V {
|
|
|
6698
6698
|
overridingColumnWidth: -1
|
|
6699
6699
|
});
|
|
6700
6700
|
}
|
|
6701
|
-
return
|
|
6701
|
+
return $.createByObjectArrayParam({
|
|
6702
6702
|
rows: e,
|
|
6703
6703
|
columnDefs: t,
|
|
6704
6704
|
fixedLeftColumnCount: o,
|
|
@@ -6752,7 +6752,7 @@ class V {
|
|
|
6752
6752
|
*/
|
|
6753
6753
|
static createByObjectArrayParam(e) {
|
|
6754
6754
|
const t = e.rowCheckboxVisible !== void 0 ? e.rowCheckboxVisible : !1;
|
|
6755
|
-
return
|
|
6755
|
+
return $.createByObjectArray(
|
|
6756
6756
|
e.rows,
|
|
6757
6757
|
e.header ?? [],
|
|
6758
6758
|
e.footer ?? [],
|
|
@@ -6857,7 +6857,7 @@ class V {
|
|
|
6857
6857
|
* });
|
|
6858
6858
|
*/
|
|
6859
6859
|
static createByAreaModelsParam(e) {
|
|
6860
|
-
return
|
|
6860
|
+
return $.createByAreaModels(
|
|
6861
6861
|
e.headerAreaModel ?? new k(),
|
|
6862
6862
|
e.bodyAreaModel,
|
|
6863
6863
|
e.footerAreaModel ?? new k(),
|
|
@@ -7125,13 +7125,67 @@ class Dt {
|
|
|
7125
7125
|
return this.tableScope;
|
|
7126
7126
|
}
|
|
7127
7127
|
}
|
|
7128
|
-
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 {
|
|
7129
7154
|
static createCoverGridModel(e, t, s = 200, o = 300, i = 0, r = 0) {
|
|
7130
7155
|
const n = new kt(e, t, s, o, i, r);
|
|
7131
7156
|
return new Dt(n, r);
|
|
7132
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
|
+
};
|
|
7186
|
+
}
|
|
7133
7187
|
}
|
|
7134
|
-
const
|
|
7188
|
+
const Ms = [
|
|
7135
7189
|
"COPY_2_CLIPBOARD",
|
|
7136
7190
|
"START_EDITING",
|
|
7137
7191
|
"TOGGLE_SELECTION",
|
|
@@ -7149,17 +7203,17 @@ const As = [
|
|
|
7149
7203
|
// "PAGEUP_PRESSED",
|
|
7150
7204
|
// "PAGEDOWN_PRESSED"
|
|
7151
7205
|
];
|
|
7152
|
-
class
|
|
7206
|
+
class Pt {
|
|
7153
7207
|
constructor(e, t) {
|
|
7154
7208
|
this.tableModel = e, this.tableOptions = t;
|
|
7155
7209
|
}
|
|
7156
7210
|
}
|
|
7157
|
-
class
|
|
7211
|
+
class _t {
|
|
7158
7212
|
constructor(e, t, s, o, i, r, n) {
|
|
7159
7213
|
this.emmitDataKey = e, this.emmitCancelKey = t, this.queryId = s, this.filter = o, this.sorting = i, this.startIndex = r, this.endIndex = n;
|
|
7160
7214
|
}
|
|
7161
7215
|
}
|
|
7162
|
-
class
|
|
7216
|
+
class Is extends _t {
|
|
7163
7217
|
constructor(e, t, s, o, i, r, n, l) {
|
|
7164
7218
|
super(
|
|
7165
7219
|
e,
|
|
@@ -7172,25 +7226,25 @@ class Ms extends Pt {
|
|
|
7172
7226
|
), this.rows = l;
|
|
7173
7227
|
}
|
|
7174
7228
|
}
|
|
7175
|
-
class
|
|
7229
|
+
class Lt {
|
|
7176
7230
|
constructor(e, t) {
|
|
7177
7231
|
this.value = e, this.label = t;
|
|
7178
7232
|
}
|
|
7179
7233
|
}
|
|
7180
|
-
class
|
|
7234
|
+
class Es {
|
|
7181
7235
|
constructor(e, t) {
|
|
7182
7236
|
this.index = e, this.px = t;
|
|
7183
7237
|
}
|
|
7184
7238
|
}
|
|
7185
|
-
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 = {
|
|
7186
7240
|
header: ["ge-table-text-align-left"],
|
|
7187
7241
|
body: ["ge-table-text-align-left"],
|
|
7188
7242
|
footer: ["ge-table-text-align-left"]
|
|
7189
|
-
},
|
|
7243
|
+
}, Ps = {
|
|
7190
7244
|
header: ["ge-table-text-align-center"],
|
|
7191
7245
|
body: ["ge-table-text-align-center"],
|
|
7192
7246
|
footer: ["ge-table-text-align-center"]
|
|
7193
|
-
},
|
|
7247
|
+
}, _s = {
|
|
7194
7248
|
header: ["ge-table-text-align-right"],
|
|
7195
7249
|
body: ["ge-table-text-align-right"],
|
|
7196
7250
|
footer: ["ge-table-text-align-right"]
|
|
@@ -7213,7 +7267,7 @@ class ke {
|
|
|
7213
7267
|
}
|
|
7214
7268
|
}
|
|
7215
7269
|
}
|
|
7216
|
-
class
|
|
7270
|
+
class Ls {
|
|
7217
7271
|
constructor() {
|
|
7218
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(
|
|
7219
7273
|
[],
|
|
@@ -7222,7 +7276,7 @@ class _s {
|
|
|
7222
7276
|
);
|
|
7223
7277
|
}
|
|
7224
7278
|
}
|
|
7225
|
-
class
|
|
7279
|
+
class Os {
|
|
7226
7280
|
/**
|
|
7227
7281
|
* A factory that creates a new AreaObjectMap with the given body renderer.
|
|
7228
7282
|
*
|
|
@@ -7237,7 +7291,7 @@ class Ls {
|
|
|
7237
7291
|
);
|
|
7238
7292
|
}
|
|
7239
7293
|
}
|
|
7240
|
-
class
|
|
7294
|
+
class Vs {
|
|
7241
7295
|
constructor(e = "down", t) {
|
|
7242
7296
|
this.status = e, this.originalEvent = t;
|
|
7243
7297
|
}
|
|
@@ -7247,37 +7301,12 @@ class $s {
|
|
|
7247
7301
|
this.area = e, this.rowIndex = t, this.columnIndex = s, this.value = o, this.cssClasses = i;
|
|
7248
7302
|
}
|
|
7249
7303
|
}
|
|
7250
|
-
class
|
|
7251
|
-
constructor() {
|
|
7252
|
-
this.autoRestoreSortingState = !1, this.autoRestoreCollapsedExpandedState = !1, this.autoRestoreScrollPosition = !1, this.autoRestoreCheckedState = !1, this.autoRestoreSelectedState = !1, this.getStorageKeyFn = void 0, this.isSame = (e, t, s) => {
|
|
7253
|
-
if (e && t && s.getRowId) {
|
|
7254
|
-
const o = s.getRowId(e), i = s.getRowId(t);
|
|
7255
|
-
return o === i;
|
|
7256
|
-
}
|
|
7257
|
-
return !1;
|
|
7258
|
-
}, this.getRowId = (e) => {
|
|
7259
|
-
if (e) {
|
|
7260
|
-
for (const t of ["id", "uuid"]) {
|
|
7261
|
-
const s = e[t];
|
|
7262
|
-
if (s != null)
|
|
7263
|
-
return s;
|
|
7264
|
-
}
|
|
7265
|
-
try {
|
|
7266
|
-
return JSON.stringify(e);
|
|
7267
|
-
} catch (t) {
|
|
7268
|
-
console.error(t);
|
|
7269
|
-
}
|
|
7270
|
-
}
|
|
7271
|
-
return console.warn('One of following options set to true without a valid "getRowId()": autoRestoreExpandedState, autoRestoreCheckedState.'), -1;
|
|
7272
|
-
};
|
|
7273
|
-
}
|
|
7274
|
-
}
|
|
7275
|
-
class Lt {
|
|
7304
|
+
class Ot {
|
|
7276
7305
|
constructor(e, t, s, o = !1, i = "normal", r = void 0) {
|
|
7277
7306
|
this.data = e, this.property = t, this.toggle = s, this.closed = o, this.visibility = i, this.children = r, this.impl = "CellGroup";
|
|
7278
7307
|
}
|
|
7279
7308
|
}
|
|
7280
|
-
class
|
|
7309
|
+
class Vt extends Ot {
|
|
7281
7310
|
constructor(e, t = 0, s = 0, o) {
|
|
7282
7311
|
super(
|
|
7283
7312
|
e.data,
|
|
@@ -7402,7 +7431,7 @@ class E {
|
|
|
7402
7431
|
static buildGroupExts(e, t = [], s = 0, o) {
|
|
7403
7432
|
let i;
|
|
7404
7433
|
for (let r = 0; r < e.length; r++) {
|
|
7405
|
-
const n = e[r], l = new
|
|
7434
|
+
const n = e[r], l = new Vt(n, s, r, o);
|
|
7406
7435
|
i && (l.leftNeighbour = i, i.rightNeighbour = l), t.push(l), n.children && (l.children = E.buildGroupExts(n.children, [], s + 1, l)), i = l;
|
|
7407
7436
|
}
|
|
7408
7437
|
return t;
|
|
@@ -8471,7 +8500,7 @@ class We {
|
|
|
8471
8500
|
this.action = e, this.area = t, this.areaModel = s, this.rowIndex = o, this.columnIndex = i, this.id = r;
|
|
8472
8501
|
}
|
|
8473
8502
|
}
|
|
8474
|
-
class
|
|
8503
|
+
class V {
|
|
8475
8504
|
constructor(e, t, s = "", o = "", i = "button", r = !0) {
|
|
8476
8505
|
this.action = e, this.label = t, this.icon = s, this.elementClass = o, this.elementType = i, this.enabled = r;
|
|
8477
8506
|
}
|
|
@@ -8538,7 +8567,7 @@ class $t {
|
|
|
8538
8567
|
return null;
|
|
8539
8568
|
}
|
|
8540
8569
|
getCrudActions(e) {
|
|
8541
|
-
return Array.isArray(e) && e.every((t) => t instanceof
|
|
8570
|
+
return Array.isArray(e) && e.every((t) => t instanceof V) ? e : this.crudActions;
|
|
8542
8571
|
}
|
|
8543
8572
|
}
|
|
8544
8573
|
const so = function(d, e, t) {
|
|
@@ -8550,7 +8579,7 @@ class Ne {
|
|
|
8550
8579
|
}
|
|
8551
8580
|
static create(e) {
|
|
8552
8581
|
return new Ne(
|
|
8553
|
-
e.map((t) => new
|
|
8582
|
+
e.map((t) => new Lt(t, t))
|
|
8554
8583
|
);
|
|
8555
8584
|
}
|
|
8556
8585
|
render(e, t, s, o, i, r, n) {
|
|
@@ -8669,16 +8698,16 @@ class De {
|
|
|
8669
8698
|
this.minValue = e, this.minColor = t, this.maxValue = s, this.maxColor = o;
|
|
8670
8699
|
}
|
|
8671
8700
|
}
|
|
8672
|
-
class
|
|
8701
|
+
class X {
|
|
8673
8702
|
static normalize(e, t, s, o = 0, i = 1) {
|
|
8674
8703
|
return (e - t) / (s - t) * (i - o) + o;
|
|
8675
8704
|
}
|
|
8676
8705
|
static getTwoColorGradientRGB(e, t) {
|
|
8677
|
-
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;
|
|
8678
8707
|
return `rgb(${Math.round(n)}, ${Math.round(l)}, ${Math.round(a)})`;
|
|
8679
8708
|
}
|
|
8680
8709
|
static getThreeColorGradientRGB(e, t) {
|
|
8681
|
-
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})`;
|
|
8682
8711
|
}
|
|
8683
8712
|
}
|
|
8684
8713
|
class ro {
|
|
@@ -8686,12 +8715,12 @@ class ro {
|
|
|
8686
8715
|
this.minValue = e, this.minColor = t, this.middleValue = s, this.middleColor = o, this.maxValue = i, this.maxColor = r;
|
|
8687
8716
|
}
|
|
8688
8717
|
}
|
|
8689
|
-
class
|
|
8718
|
+
class Bt {
|
|
8690
8719
|
constructor(e = !0, t = !0, s = (r, n) => r * 10 + 10, o = 50, i = 450) {
|
|
8691
8720
|
this.autoCalc = e, this.takeHeaderLabelsIntoAccount = t, this.charCountToWidth = s, this.minWidth = o, this.maxWidth = i;
|
|
8692
8721
|
}
|
|
8693
8722
|
}
|
|
8694
|
-
class
|
|
8723
|
+
class Ht {
|
|
8695
8724
|
constructor(e) {
|
|
8696
8725
|
this.object = e;
|
|
8697
8726
|
}
|
|
@@ -8823,7 +8852,7 @@ class ie {
|
|
|
8823
8852
|
return e.replace(/\./g, " ");
|
|
8824
8853
|
}
|
|
8825
8854
|
}
|
|
8826
|
-
class
|
|
8855
|
+
class Wt {
|
|
8827
8856
|
constructor() {
|
|
8828
8857
|
this.urls = {
|
|
8829
8858
|
list: {
|
|
@@ -8831,15 +8860,15 @@ class Ht {
|
|
|
8831
8860
|
method: "GET"
|
|
8832
8861
|
}
|
|
8833
8862
|
}, this.singleRowActions = [
|
|
8834
|
-
new
|
|
8835
|
-
new
|
|
8836
|
-
new
|
|
8837
|
-
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")
|
|
8838
8867
|
// new CrudAction('CREATE', 'Create', '', '', 'link'),
|
|
8839
8868
|
], this.tableActions = [
|
|
8840
|
-
new
|
|
8841
|
-
new
|
|
8842
|
-
], 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) => {
|
|
8843
8872
|
const t = e.getHeadersInit ? e.getHeadersInit() : {};
|
|
8844
8873
|
let s = e.urls.list.url, o = e.urls.list.method ?? "GET";
|
|
8845
8874
|
return fetch(s, {
|
|
@@ -8892,7 +8921,7 @@ class Ht {
|
|
|
8892
8921
|
}
|
|
8893
8922
|
class no {
|
|
8894
8923
|
constructor() {
|
|
8895
|
-
this.crudOptions = new
|
|
8924
|
+
this.crudOptions = new Wt(), this.listenActionEvent = (e) => {
|
|
8896
8925
|
};
|
|
8897
8926
|
}
|
|
8898
8927
|
createTableModel(e, t, s = (i) => {
|
|
@@ -8903,12 +8932,12 @@ class no {
|
|
|
8903
8932
|
if (t.rows = i, i != null && i.length) {
|
|
8904
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;
|
|
8905
8934
|
this.tableOptions = {
|
|
8906
|
-
...new
|
|
8935
|
+
...new Y(),
|
|
8907
8936
|
...t.tableOptions,
|
|
8908
8937
|
hoverColumnVisible: !1,
|
|
8909
8938
|
getSelectionModel: u
|
|
8910
8939
|
};
|
|
8911
|
-
const f = this.calcAutoColumnWidths(i, c), p = (n = t.columnDefs) != null && n.length ? t.columnDefs : c.map((w, S) => new H(w, w.toUpperCase(), new y(f[S], "px")));
|
|
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"))));
|
|
8912
8941
|
if ((l = e == null ? void 0 : e.columnWidths) != null && l.autoCalc)
|
|
8913
8942
|
for (let w = 0; w < p.length; w++) {
|
|
8914
8943
|
const S = p[w];
|
|
@@ -8928,14 +8957,14 @@ class no {
|
|
|
8928
8957
|
), p.push(w);
|
|
8929
8958
|
}
|
|
8930
8959
|
const m = 0, g = e.calcFixedRightColumnCount(p.length);
|
|
8931
|
-
this.tableModel =
|
|
8960
|
+
this.tableModel = $.buildByTypedRowsParam({
|
|
8932
8961
|
rows: i,
|
|
8933
8962
|
columnDefs: p,
|
|
8934
8963
|
tableOptions: this.tableOptions,
|
|
8935
8964
|
fixedLeftColumnCount: m,
|
|
8936
8965
|
fixedRightColumnCount: g
|
|
8937
8966
|
}), this.tableModel.getSelectionModel = u, this.bodyModel = (a = this.tableModel) == null ? void 0 : a.getBodyModel();
|
|
8938
|
-
const b = new
|
|
8967
|
+
const b = new Pt(this.tableModel, this.tableOptions);
|
|
8939
8968
|
s(b);
|
|
8940
8969
|
}
|
|
8941
8970
|
});
|
|
@@ -8950,7 +8979,7 @@ class no {
|
|
|
8950
8979
|
var t, s, o, i;
|
|
8951
8980
|
if (this.listenActionEvent && this.listenActionEvent(e), e.action === "VIEW") {
|
|
8952
8981
|
let r = e.id;
|
|
8953
|
-
(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));
|
|
8954
8983
|
} else if (e.action === "EDIT") {
|
|
8955
8984
|
let r = e.id;
|
|
8956
8985
|
const n = this.crudOptions.getIdKey() ?? "id";
|
|
@@ -9041,7 +9070,7 @@ export {
|
|
|
9041
9070
|
We as ActionEvent,
|
|
9042
9071
|
$t as ActionsCellRenderer,
|
|
9043
9072
|
Oe as AnyPropertyType,
|
|
9044
|
-
|
|
9073
|
+
Os as AreaMapFactory,
|
|
9045
9074
|
Bs as AreaModel,
|
|
9046
9075
|
P as AreaModelArrayOfArrays,
|
|
9047
9076
|
Hs as AreaModelCellGroups,
|
|
@@ -9051,34 +9080,34 @@ export {
|
|
|
9051
9080
|
Ie as AreaModelTree,
|
|
9052
9081
|
T as AreaObjectMap,
|
|
9053
9082
|
B as ArrayPropertyType,
|
|
9054
|
-
|
|
9055
|
-
|
|
9083
|
+
Ft as AutoRestoreOptions,
|
|
9084
|
+
Gt as AvoidDoubleExecution,
|
|
9056
9085
|
Ye as BooleanPropertyType,
|
|
9057
|
-
|
|
9058
|
-
|
|
9086
|
+
Ot as CellGroup,
|
|
9087
|
+
Vt as CellGroupExt,
|
|
9059
9088
|
ce as CellGroupExtCellRenderer,
|
|
9060
9089
|
A as CellRange,
|
|
9061
9090
|
E as CellgroupFactory,
|
|
9062
9091
|
Gs as CheckboxBooleanPropertyCellRenderer,
|
|
9063
9092
|
ke as CheckboxCellRenderer,
|
|
9064
|
-
|
|
9093
|
+
Ls as CheckboxColumnDef,
|
|
9065
9094
|
Tt as CheckboxModel,
|
|
9066
|
-
|
|
9095
|
+
Is as ChunkData,
|
|
9067
9096
|
at as ColAndRowspanModel,
|
|
9068
9097
|
it as CollapsedExpandedData,
|
|
9069
9098
|
io as ColorRgb,
|
|
9070
9099
|
H as ColumnDef,
|
|
9071
|
-
|
|
9072
|
-
|
|
9100
|
+
zt as ColumnDefGenerator,
|
|
9101
|
+
Bt as ColumnWidths,
|
|
9073
9102
|
Qe as ConvenienceDomService,
|
|
9074
9103
|
q as CopyService,
|
|
9075
9104
|
kt as CoverGridBodyModel,
|
|
9076
|
-
|
|
9105
|
+
As as CoverGridFactory,
|
|
9077
9106
|
Dt as CoverGridTableModel,
|
|
9078
|
-
|
|
9107
|
+
V as CrudAction,
|
|
9079
9108
|
ie as CrudObjectEdit,
|
|
9080
|
-
|
|
9081
|
-
|
|
9109
|
+
Ht as CrudObjectView,
|
|
9110
|
+
Wt as CrudOptions,
|
|
9082
9111
|
no as CrudTableModelFactory,
|
|
9083
9112
|
ve as CssVars,
|
|
9084
9113
|
js as DateToIntlDDMMYYYYCellRenderer,
|
|
@@ -9088,20 +9117,20 @@ export {
|
|
|
9088
9117
|
z as DefaultRowHeights,
|
|
9089
9118
|
lt as EleScope,
|
|
9090
9119
|
ne as EventAdapter,
|
|
9091
|
-
|
|
9120
|
+
Yt as EventCheckboxChangedHandler,
|
|
9092
9121
|
At as ExcelService,
|
|
9093
9122
|
Ae as FalseFn,
|
|
9094
9123
|
St as FocusModel,
|
|
9095
9124
|
ut as GeCellIndices,
|
|
9096
|
-
|
|
9125
|
+
X as GeCssColorUtil,
|
|
9097
9126
|
Ws as GeFilterService,
|
|
9098
|
-
|
|
9127
|
+
Vs as GeKeyEvent,
|
|
9099
9128
|
me as GeModelChangeEvent,
|
|
9100
9129
|
ue as GeMouseEvent,
|
|
9101
9130
|
pt as GeScrollEvent,
|
|
9102
9131
|
L as GeoData,
|
|
9103
9132
|
O as Icon,
|
|
9104
|
-
|
|
9133
|
+
Es as IndexAndPx,
|
|
9105
9134
|
xt as InputCellRenderer,
|
|
9106
9135
|
ht as InputHandler,
|
|
9107
9136
|
xe as JsonService,
|
|
@@ -9127,13 +9156,13 @@ export {
|
|
|
9127
9156
|
ae as Padding,
|
|
9128
9157
|
to as PositiveAndNegativeNumberRenderer,
|
|
9129
9158
|
eo as ProgressBarCellRenderer,
|
|
9130
|
-
|
|
9131
|
-
|
|
9159
|
+
Ve as PropertyItem,
|
|
9160
|
+
jt as PropertyTypeService,
|
|
9132
9161
|
ct as RenderScope,
|
|
9133
9162
|
Ns as Renderer,
|
|
9134
|
-
|
|
9163
|
+
_t as RequestChunk,
|
|
9135
9164
|
Rt as ResizeHandler,
|
|
9136
|
-
|
|
9165
|
+
Ut as SchemeGenerator,
|
|
9137
9166
|
Ne as SelectCellRenderer,
|
|
9138
9167
|
be as SelectionModel,
|
|
9139
9168
|
gt as SelectionService,
|
|
@@ -9150,33 +9179,33 @@ export {
|
|
|
9150
9179
|
je as StringPropertyType,
|
|
9151
9180
|
st as TableApi,
|
|
9152
9181
|
$s as TableCellUpdateEvent,
|
|
9153
|
-
|
|
9182
|
+
$ as TableFactory,
|
|
9154
9183
|
oe as TableModel,
|
|
9155
|
-
|
|
9156
|
-
|
|
9184
|
+
Pt as TableModelAndOptions,
|
|
9185
|
+
Y as TableOptions,
|
|
9157
9186
|
He as TableScope,
|
|
9158
9187
|
ro as ThreeColorGradientArg,
|
|
9159
9188
|
Ee as TreeCheckboxModel,
|
|
9160
9189
|
le as TreeFactory,
|
|
9161
|
-
|
|
9190
|
+
$e as TreeOptions,
|
|
9162
9191
|
Re as TreeRow,
|
|
9163
9192
|
Et as TreeRowService,
|
|
9164
9193
|
Xs as TrueFalseCellRenderer,
|
|
9165
9194
|
Mt as TrueFn,
|
|
9166
9195
|
De as TwoColorGradientArg,
|
|
9167
|
-
|
|
9196
|
+
J as UNIMPORTANT_TYPES,
|
|
9168
9197
|
se as UndefinedPropertyType,
|
|
9169
9198
|
lo as UrlInfo,
|
|
9170
9199
|
Ke as ValueInfo,
|
|
9171
|
-
|
|
9200
|
+
Lt as ValueLabel,
|
|
9172
9201
|
ft as WindowsShortcutActionIdMapping,
|
|
9173
|
-
|
|
9174
|
-
|
|
9175
|
-
|
|
9176
|
-
|
|
9177
|
-
|
|
9178
|
-
|
|
9179
|
-
|
|
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,
|
|
9180
9209
|
Ce as createHarmonizedShortcutByKeyboardEvent,
|
|
9181
9210
|
Ge as debounce,
|
|
9182
9211
|
so as editInputPipeForNumber,
|
|
@@ -9188,39 +9217,39 @@ export {
|
|
|
9188
9217
|
re as isAreaModelTree,
|
|
9189
9218
|
Ze as isCheckboxColumnDef,
|
|
9190
9219
|
G as isTreeRow,
|
|
9191
|
-
|
|
9192
|
-
|
|
9193
|
-
|
|
9194
|
-
|
|
9195
|
-
|
|
9196
|
-
|
|
9197
|
-
|
|
9198
|
-
|
|
9199
|
-
|
|
9200
|
-
|
|
9201
|
-
|
|
9202
|
-
|
|
9203
|
-
|
|
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,
|
|
9204
9233
|
Me as px200,
|
|
9205
|
-
|
|
9206
|
-
|
|
9207
|
-
|
|
9208
|
-
|
|
9209
|
-
|
|
9210
|
-
|
|
9211
|
-
|
|
9212
|
-
|
|
9213
|
-
|
|
9214
|
-
|
|
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,
|
|
9215
9244
|
It as px300,
|
|
9216
|
-
|
|
9217
|
-
|
|
9218
|
-
|
|
9219
|
-
|
|
9220
|
-
|
|
9221
|
-
|
|
9222
|
-
|
|
9223
|
-
|
|
9224
|
-
|
|
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,
|
|
9225
9254
|
Je as trimArraySuffixes
|
|
9226
9255
|
};
|