@guiexpert/table 1.1.49 → 1.1.51

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.js CHANGED
@@ -25,7 +25,7 @@ function _t(h = 500) {
25
25
  }, s;
26
26
  };
27
27
  }
28
- const Ie = "any", z = "undefined", ke = "null", De = "string", le = "number", ae = "boolean", Pe = "Array", j = "object", K = [ke, z, Ie];
28
+ const Ie = "any", z = "undefined", ke = "null", De = "string", ae = "number", ce = "boolean", Pe = "Array", j = "object", K = [ke, z, Ie];
29
29
  class Fe {
30
30
  constructor(e) {
31
31
  this.propertyName = e, this.type = Ie;
@@ -48,12 +48,12 @@ class Ge {
48
48
  }
49
49
  class ze {
50
50
  constructor(e) {
51
- this.propertyName = e, this.type = le;
51
+ this.propertyName = e, this.type = ae;
52
52
  }
53
53
  }
54
54
  class je {
55
55
  constructor(e) {
56
- this.propertyName = e, this.type = ae;
56
+ this.propertyName = e, this.type = ce;
57
57
  }
58
58
  }
59
59
  class B {
@@ -133,7 +133,7 @@ class Bt {
133
133
  u = " bodyRenderer: new SimpleArrayCellRenderer(),";
134
134
  d = 250;
135
135
  } else
136
- n.type === le ? (u = " bodyRenderer: new NumberCellRenderer(),", f = "ge-table-text-align-right") : n.type === ae && (u = " bodyRenderer: new TrueFalseCellRenderer(),", f = "ge-table-text-align-center", d = 80);
136
+ n.type === ae ? (u = " bodyRenderer: new NumberCellRenderer(),", f = "ge-table-text-align-right") : n.type === ce && (u = " bodyRenderer: new TrueFalseCellRenderer(),", f = "ge-table-text-align-center", d = 80);
137
137
  e.push(` ColumnDef.create({
138
138
  property: "${l}",
139
139
  headerLabel: "${c}",
@@ -195,7 +195,7 @@ export class ${t} implements CellRendererIf {
195
195
  `);
196
196
  }
197
197
  }
198
- class me {
198
+ class be {
199
199
  /**
200
200
  *
201
201
  * Fixes an invalid json like this:
@@ -270,10 +270,10 @@ class Ue {
270
270
  return `${this.path} -> : ${((e = this.propertyItem) == null ? void 0 : e.toString()) ?? ""}`;
271
271
  }
272
272
  }
273
- const be = "Entity";
273
+ const ye = "Entity";
274
274
  function Ye(h) {
275
275
  let e = Ke(Xe(h));
276
- return e.includes(be) || (e = e + be), e;
276
+ return e.includes(ye) || (e = e + ye), e;
277
277
  }
278
278
  function Ke(h) {
279
279
  if (!h || h.length === 0)
@@ -374,7 +374,7 @@ class Ht {
374
374
  json2PropertyType(e, t = "") {
375
375
  let s;
376
376
  if (typeof e == "string") {
377
- const o = new me().fixJSON(e);
377
+ const o = new be().fixJSON(e);
378
378
  s = this.json2Object(o);
379
379
  } else
380
380
  s = e;
@@ -490,7 +490,7 @@ class Ht {
490
490
  json2ValueInfos(e, t = "") {
491
491
  let s;
492
492
  if (typeof e == "string") {
493
- const o = new me().fixJSON(e);
493
+ const o = new be().fixJSON(e);
494
494
  s = this.json2Object(o);
495
495
  } else
496
496
  s = e;
@@ -603,7 +603,7 @@ class Ht {
603
603
  ]);
604
604
  }
605
605
  createPropertyType(e, t) {
606
- return e === null ? new Ne(t) : e === void 0 ? new te(t) : typeof e === De ? new Ge(t) : typeof e === le && !isNaN(e) ? new ze(t) : typeof e === ae ? new je(t) : Array.isArray(e) ? new B(t) : typeof e === j ? new D(t, Ye(t)) : new te(t);
606
+ return e === null ? new Ne(t) : e === void 0 ? new te(t) : typeof e === De ? new Ge(t) : typeof e === ae && !isNaN(e) ? new ze(t) : typeof e === ce ? new je(t) : Array.isArray(e) ? new B(t) : typeof e === j ? new D(t, Ye(t)) : new te(t);
607
607
  }
608
608
  }
609
609
  class Vt {
@@ -709,12 +709,12 @@ function ie(h) {
709
709
  function Je(h) {
710
710
  return h && h.type === "CheckboxColumnDef";
711
711
  }
712
- class ce {
712
+ class de {
713
713
  constructor(e = -1, t = -1, s = -1, o = -1, i, r, n, l = 0, a = 0, c = 0, d = "") {
714
714
  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 = d;
715
715
  }
716
716
  clone() {
717
- return new ce(
717
+ return new de(
718
718
  this.rowIndex,
719
719
  this.rowTop,
720
720
  this.columnIndex,
@@ -1314,7 +1314,7 @@ class et {
1314
1314
  return this.tableScope.tableModel;
1315
1315
  }
1316
1316
  }
1317
- class de {
1317
+ class he {
1318
1318
  constructor(e) {
1319
1319
  this.getStorageKeyFn = e;
1320
1320
  }
@@ -1381,7 +1381,7 @@ class de {
1381
1381
  // }
1382
1382
  // }
1383
1383
  }
1384
- class tt extends de {
1384
+ class tt extends he {
1385
1385
  constructor(e) {
1386
1386
  super(e), this.SCROLL_STATE = "scrollState", this.scrollOffset = [0, 0], this.load();
1387
1387
  }
@@ -1408,7 +1408,7 @@ class st {
1408
1408
  this.mode = e, this.rowIds = t, this.allCollapsed = s, this.allExpanded = o;
1409
1409
  }
1410
1410
  }
1411
- class ot extends de {
1411
+ class ot extends he {
1412
1412
  constructor(e) {
1413
1413
  super(e), this.COLLAPSED_EXPANDED_STATE = "collapsedExpandedState", this.collapsedExpandedState = new st(), this.load();
1414
1414
  }
@@ -1442,7 +1442,7 @@ class ot extends de {
1442
1442
  this.checkAndPersistItem(this.COLLAPSED_EXPANDED_STATE, this.collapsedExpandedState);
1443
1443
  }
1444
1444
  }
1445
- class it extends de {
1445
+ class it extends he {
1446
1446
  constructor(e) {
1447
1447
  super(e), this.SORTING_STATE = "sortingState", this.sortItems = [], this.load();
1448
1448
  }
@@ -2241,12 +2241,12 @@ class lt extends rt {
2241
2241
  parent: c,
2242
2242
  lastRowOfModel: d
2243
2243
  }) {
2244
- var fe;
2244
+ var me;
2245
2245
  const f = this.editorRenderer && this.editorRendererRow === o && this.editorRendererColumn === i ? this.editorRenderer : e.getCellRenderer(o, i), p = { left: r, width: n, height: l, top: a, index: i }, m = e.getRowByIndex(o);
2246
2246
  let g = "none";
2247
2247
  if (i === this.getTreeArrowColumnIndex() && N(m)) {
2248
2248
  const v = m;
2249
- (fe = v.children) != null && fe.length ? v.expanded ? g = "expanded" : g = "collapsed" : g = "hidden";
2249
+ (me = v.children) != null && me.length ? v.expanded ? g = "expanded" : g = "collapsed" : g = "hidden";
2250
2250
  }
2251
2251
  let x;
2252
2252
  if (t === "header") {
@@ -2634,12 +2634,12 @@ class dt {
2634
2634
  this.rowIndex = e, this.columnIndex = t;
2635
2635
  }
2636
2636
  }
2637
- class he {
2637
+ class ue {
2638
2638
  constructor(e) {
2639
2639
  this.cells = e;
2640
2640
  }
2641
2641
  static createSingle(e, t) {
2642
- return new he([new dt(e, t)]);
2642
+ return new ue([new dt(e, t)]);
2643
2643
  }
2644
2644
  }
2645
2645
  class ht {
@@ -2798,7 +2798,7 @@ class gt {
2798
2798
  return this.shortcutActionIdMapping;
2799
2799
  }
2800
2800
  }
2801
- class ye {
2801
+ class re {
2802
2802
  onCheckboxChanged(e) {
2803
2803
  }
2804
2804
  onContextmenu(e) {
@@ -2866,7 +2866,7 @@ class mt {
2866
2866
  }
2867
2867
  }
2868
2868
  }
2869
- class ue {
2869
+ class pe {
2870
2870
  constructor(e = "none", t = "single") {
2871
2871
  this.selectionType = e, this.selectionMode = t, this.ranges = [], this.negativeRanges = [], this.allSelected = !1, this.silent = !1, this.listenerArr = [];
2872
2872
  }
@@ -2985,7 +2985,7 @@ class bt {
2985
2985
  return [this.rowIndex, this.columnIndex];
2986
2986
  }
2987
2987
  }
2988
- class pe {
2988
+ class ge {
2989
2989
  constructor(e = new O(
2990
2990
  "❯",
2991
2991
  "",
@@ -2999,14 +2999,14 @@ class pe {
2999
2999
  }
3000
3000
  // `⊖ `, `⊕ `;
3001
3001
  }
3002
- const yt = new ue(), xt = new bt("cell");
3002
+ const yt = new pe(), xt = new bt("cell");
3003
3003
  class X {
3004
3004
  constructor() {
3005
3005
  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 = {
3006
3006
  header: 34,
3007
3007
  body: 34,
3008
3008
  footer: 34
3009
- }, this.footerVerticalSeparator = !1, this.headerToggleExpandCollapseIcons = !1, this.headerVerticalSeparator = !1, this.treeOptions = new Oe(), this.headerGroupOptions = new pe(), this.showCheckboxWihoutExtraColumn = !1, this.externalFilterFunction = void 0, this.sortedOptions = new $e(), this.sortOrder = ["asc", "desc"], this.resizeEventDebounceDelay = 500, this.getEditRenderer = (e, t) => new mt(), this.getSelectionModel = () => yt, this.getFocusModel = () => xt;
3009
+ }, this.footerVerticalSeparator = !1, this.headerToggleExpandCollapseIcons = !1, this.headerVerticalSeparator = !1, this.treeOptions = new Oe(), this.headerGroupOptions = new ge(), this.showCheckboxWihoutExtraColumn = !1, this.externalFilterFunction = void 0, this.sortedOptions = new $e(), this.sortOrder = ["asc", "desc"], this.resizeEventDebounceDelay = 500, this.getEditRenderer = (e, t) => new mt(), this.getSelectionModel = () => yt, this.getFocusModel = () => xt;
3010
3010
  }
3011
3011
  }
3012
3012
  const W = class W {
@@ -3212,7 +3212,7 @@ class St {
3212
3212
  class _e extends lt {
3213
3213
  constructor(e, t, s, o, i, r = new J(), n = new St()) {
3214
3214
  var c;
3215
- if (super(e, t, new qe(s), o), this.eventListener = i, this.copyService = r, this.excelService = n, this.licenseManager = V.getInstance(), this.selectionService = new ht(this), this.api = new et(this), this.mouseStartAction = "", this.mouseStartWidth = -1, this.mouseStartColumnIndex = -1, this.dragFrom = -1, this.dragTo = -1, this.lastDragFrom = -1, this.lastDragTo = -1, this.firstDraggingRendering = !0, t.setTableScope(this), i || (this.eventListener = new ye()), (c = this.tableOptions) != null && c.autoRestoreOptions) {
3215
+ if (super(e, t, new qe(s), o), this.eventListener = i, this.copyService = r, this.excelService = n, this.licenseManager = V.getInstance(), this.selectionService = new ht(this), this.api = new et(this), this.mouseStartAction = "", this.mouseStartWidth = -1, this.mouseStartColumnIndex = -1, this.dragFrom = -1, this.dragTo = -1, this.lastDragFrom = -1, this.lastDragTo = -1, this.firstDraggingRendering = !0, t.setTableScope(this), i || (this.eventListener = new re()), (c = this.tableOptions) != null && c.autoRestoreOptions) {
3216
3216
  const d = this.tableOptions.autoRestoreOptions, u = d.getStorageKeyFn;
3217
3217
  u && (d.autoRestoreScrollPosition && (this.storeScrollPosStateService = new tt(u)), d.autoRestoreCollapsedExpandedState && (this.storeStateCollapsedExpandService = new ot(u)), d.autoRestoreSortingState && (this.storeSortingService = new it(u)));
3218
3218
  }
@@ -3234,7 +3234,7 @@ class _e extends lt {
3234
3234
  *
3235
3235
  * @return {TableScope} - The newly created TableScope instance.
3236
3236
  */
3237
- static create(e, t, s = new X(), o = new ye(), i = new ft(), r = new J()) {
3237
+ static create(e, t, s = new X(), o = new re(), i = new ft(), r = new J()) {
3238
3238
  return new _e(e, t, i, s, o, r);
3239
3239
  }
3240
3240
  /**
@@ -3263,7 +3263,7 @@ class _e extends lt {
3263
3263
  return !1;
3264
3264
  }
3265
3265
  updateModelValueAfterEdit(e, t, s, o) {
3266
- e === "body" && this.tableModel.getAreaModel(e).setValue(t, s, o) && (this.resetEditorRenderer(), this.repaint(), this.eventListener.onModelChanged(he.createSingle(t, s)), this.hostElement.focus());
3266
+ e === "body" && this.tableModel.getAreaModel(e).setValue(t, s, o) && (this.resetEditorRenderer(), this.repaint(), this.eventListener.onModelChanged(ue.createSingle(t, s)), this.hostElement.focus());
3267
3267
  }
3268
3268
  /**
3269
3269
  * Retrieves the TableApi object.
@@ -3292,7 +3292,7 @@ class _e extends lt {
3292
3292
  * @return {GeMouseEvent} - The created GeMouseEvent object.
3293
3293
  */
3294
3294
  createGeMouseEvent(e) {
3295
- const t = new ce();
3295
+ const t = new de();
3296
3296
  if (t.originalEvent = e, e) {
3297
3297
  const s = e.target;
3298
3298
  if ([t.areaIdent, t.sideIdent] = this.getAreaAndSideIdentByAttr(s), t.rowIndex = this.getNumberByAttr(s, "data-row-index"), t.columnIndex = this.getNumberByAttr(s, "data-col-index"), t.action = this.getStringByAttr(s, "data-ge-action"), t.areaIdent) {
@@ -3624,6 +3624,13 @@ class _e extends lt {
3624
3624
  this.tableModel.recalcPadding(), this.resetSizeOfWrapperDiv(), this.adjustContainersAndRows();
3625
3625
  }
3626
3626
  }
3627
+ class Wt extends re {
3628
+ constructor(e) {
3629
+ super(), this.onCheckboxChangedCallback = e, super.onCheckboxChanged = (t) => {
3630
+ this.onCheckboxChangedCallback(t);
3631
+ };
3632
+ }
3633
+ }
3627
3634
  const q = class q {
3628
3635
  };
3629
3636
  q.themes = ["light", "combat", "paper", "blackboard"], q.vars = {
@@ -3866,11 +3873,11 @@ class we {
3866
3873
  this.data = e, this.expanded = t, this.children = s, this.parent = o, this.deep = i, this.checked = r, this.keep = n, this.type = "TreeRow";
3867
3874
  }
3868
3875
  }
3869
- class re {
3876
+ class ne {
3870
3877
  static buildTreeRows(e, t = "children", s = 12) {
3871
3878
  const o = [];
3872
3879
  for (const i of e)
3873
- o.push(re.buildTreeRow(i, t, void 0, 0, s));
3880
+ o.push(ne.buildTreeRow(i, t, void 0, 0, s));
3874
3881
  return o;
3875
3882
  }
3876
3883
  static buildTreeRow(e, t = "children", s = new we(e, !0, [], void 0, 0), o = 0, i = 12) {
@@ -3881,7 +3888,7 @@ class re {
3881
3888
  if (r)
3882
3889
  for (const l of r) {
3883
3890
  const a = new we(l, !0, [], s, o + 1);
3884
- if ((n = s.children) == null || n.push(a), re.buildTreeRow(
3891
+ if ((n = s.children) == null || n.push(a), ne.buildTreeRow(
3885
3892
  l,
3886
3893
  t,
3887
3894
  a,
@@ -3944,8 +3951,8 @@ class H {
3944
3951
  );
3945
3952
  }
3946
3953
  }
3947
- const Wt = new y(500, "px"), Nt = new y(400, "px"), vt = new y(300, "px"), Gt = new y(290, "px"), zt = new y(280, "px"), jt = new y(270, "px"), Ut = new y(260, "px"), Yt = new y(250, "px"), Kt = new y(240, "px"), Xt = new y(230, "px"), Jt = new y(220, "px"), qt = new y(210, "px"), Ce = new y(200, "px"), Zt = new y(190, "px"), Qt = new y(180, "px"), es = new y(170, "px"), ts = new y(160, "px"), ss = new y(150, "px"), os = new y(140, "px"), is = new y(130, "px"), rs = new y(120, "px"), ns = new y(110, "px"), ls = new y(100, "px"), as = new y(90, "px"), cs = new y(80, "px"), ds = new y(70, "px"), hs = new y(60, "px"), us = new y(50, "px"), ps = new y(40, "px"), gs = new y(30, "px"), fs = new y(20, "px"), ms = new y(10, "px"), bs = new y(0, "px");
3948
- class ge {
3954
+ const Nt = new y(500, "px"), Gt = new y(400, "px"), vt = new y(300, "px"), zt = new y(290, "px"), jt = new y(280, "px"), Ut = new y(270, "px"), Yt = new y(260, "px"), Kt = new y(250, "px"), Xt = new y(240, "px"), Jt = new y(230, "px"), qt = new y(220, "px"), Zt = new y(210, "px"), Ce = new y(200, "px"), Qt = new y(190, "px"), es = new y(180, "px"), ts = new y(170, "px"), ss = new y(160, "px"), os = new y(150, "px"), is = new y(140, "px"), rs = new y(130, "px"), ns = new y(120, "px"), ls = new y(110, "px"), as = new y(100, "px"), cs = new y(90, "px"), ds = new y(80, "px"), hs = new y(70, "px"), us = new y(60, "px"), ps = new y(50, "px"), gs = new y(40, "px"), fs = new y(30, "px"), ms = new y(20, "px"), bs = new y(10, "px"), ys = new y(0, "px");
3955
+ class fe {
3949
3956
  constructor(e, t = [], s = -1) {
3950
3957
  this.areaIdent = e, this.columnDefs = t, this.defaultRowHeight = s, this.rowSelectionModel = void 0, this.yPositions = [], this.cellRenderers = t.map((o) => o.rendererMap[e]);
3951
3958
  }
@@ -4041,7 +4048,7 @@ class ge {
4041
4048
  this.yPositions[t + 1] = this.getRowHeight(t) + this.yPositions[t];
4042
4049
  }
4043
4050
  }
4044
- class P extends ge {
4051
+ class P extends fe {
4045
4052
  constructor(e, t, s, o = []) {
4046
4053
  super(e, o, s), this.areaIdent = e, this.arr = t, this.defaultRowHeight = s, this.columnDefs = o, this.filteredArr = [...t];
4047
4054
  }
@@ -4170,7 +4177,7 @@ class Be {
4170
4177
  return s * ("" + e).localeCompare("" + t);
4171
4178
  }
4172
4179
  }
4173
- class ve extends ge {
4180
+ class ve extends fe {
4174
4181
  constructor(e, t, s, o = []) {
4175
4182
  super(e, o, s), this.areaIdent = e, this.rows = t, this.defaultRowHeight = s, this.columnDefs = o, this.type = "AreaModelTree", this.sorterService = new Be(), this.service = new At(), this.properties = o.map((i) => i.property), this.flattenRows = this.service.flattenTree(t), this.filteredFlattenRows = [...this.flattenRows];
4176
4183
  }
@@ -4235,9 +4242,14 @@ class ve extends ge {
4235
4242
  return !1;
4236
4243
  }
4237
4244
  genericTreeTableSortComparator(e, t) {
4238
- return (s, o) => {
4239
- const i = this.getValueByT(s.data, e), r = this.getValueByT(o.data, e);
4240
- return this.sorterService.genericSortComparator(i, r, t);
4245
+ const s = this.columnDefs.find((o) => o.property === e);
4246
+ return (o, i) => {
4247
+ if (s != null && s.sortComparator) {
4248
+ const l = this.getValueByT(o.data, e), a = this.getValueByT(i.data, e);
4249
+ return t * s.sortComparator(l, a, o.data, i.data);
4250
+ }
4251
+ const r = this.getValueByT(o.data, e), n = this.getValueByT(i.data, e);
4252
+ return this.sorterService.genericSortComparator(r, n, t);
4241
4253
  };
4242
4254
  }
4243
4255
  expandAllRecursive(e, t) {
@@ -4760,7 +4772,7 @@ class se {
4760
4772
  return this.tableScope;
4761
4773
  }
4762
4774
  }
4763
- class Et extends ge {
4775
+ class Et extends fe {
4764
4776
  constructor(e, t, s, o = []) {
4765
4777
  super(e, o, s), this.areaIdent = e, this.rows = t, this.defaultRowHeight = s, this.columnDefs = o, this.sorterService = new Be(), this.filteredRows = [...t], this.properties = o.map((i) => i.property);
4766
4778
  }
@@ -4808,9 +4820,14 @@ class Et extends ge {
4808
4820
  this.arrayMove(this.properties, e, t), super.changeColumnOrder(e, t);
4809
4821
  }
4810
4822
  genericFlatTableSortComparator(e, t) {
4811
- return (s, o) => {
4812
- const i = this.getValueByT(s, e), r = this.getValueByT(o, e);
4813
- return this.sorterService.genericSortComparator(i, r, t);
4823
+ const s = this.columnDefs.find((o) => o.property === e);
4824
+ return (o, i) => {
4825
+ if (s != null && s.sortComparator) {
4826
+ const l = this.getValueByT(o, e), a = this.getValueByT(i, e);
4827
+ return t * s.sortComparator(l, a, o, i);
4828
+ }
4829
+ const r = this.getValueByT(o, e), n = this.getValueByT(i, e);
4830
+ return this.sorterService.genericSortComparator(r, n, t);
4814
4831
  };
4815
4832
  }
4816
4833
  getPropertyValue(e, t) {
@@ -5261,7 +5278,7 @@ class _ {
5261
5278
  );
5262
5279
  }
5263
5280
  }
5264
- const ys = [
5281
+ const xs = [
5265
5282
  "COPY_2_CLIPBOARD",
5266
5283
  "START_EDITING",
5267
5284
  "TOGGLE_SELECTION",
@@ -5289,7 +5306,7 @@ class Tt {
5289
5306
  this.emmitDataKey = e, this.emmitCancelKey = t, this.queryId = s, this.filter = o, this.sorting = i, this.startIndex = r, this.endIndex = n;
5290
5307
  }
5291
5308
  }
5292
- class xs extends Tt {
5309
+ class ws extends Tt {
5293
5310
  constructor(e, t, s, o, i, r, n, l) {
5294
5311
  super(
5295
5312
  e,
@@ -5307,20 +5324,20 @@ class It {
5307
5324
  this.value = e, this.label = t;
5308
5325
  }
5309
5326
  }
5310
- class ws {
5327
+ class Ss {
5311
5328
  constructor(e, t) {
5312
5329
  this.index = e, this.px = t;
5313
5330
  }
5314
5331
  }
5315
- const Ss = { body: ["ge-table-text-align-left"] }, Cs = { body: ["ge-table-text-align-center"] }, vs = { body: ["ge-table-text-align-right"] }, As = {
5332
+ const Cs = { body: ["ge-table-text-align-left"] }, vs = { body: ["ge-table-text-align-center"] }, As = { body: ["ge-table-text-align-right"] }, Rs = {
5316
5333
  header: ["ge-table-text-align-left"],
5317
5334
  body: ["ge-table-text-align-left"],
5318
5335
  footer: ["ge-table-text-align-left"]
5319
- }, Rs = {
5336
+ }, Es = {
5320
5337
  header: ["ge-table-text-align-center"],
5321
5338
  body: ["ge-table-text-align-center"],
5322
5339
  footer: ["ge-table-text-align-center"]
5323
- }, Es = {
5340
+ }, Ms = {
5324
5341
  header: ["ge-table-text-align-right"],
5325
5342
  body: ["ge-table-text-align-right"],
5326
5343
  footer: ["ge-table-text-align-right"]
@@ -5343,7 +5360,7 @@ class Me {
5343
5360
  }
5344
5361
  }
5345
5362
  }
5346
- class Ms {
5363
+ class Ts {
5347
5364
  constructor() {
5348
5365
  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 I(new Me(), new Me(), void 0), this.classes = new I(
5349
5366
  [],
@@ -5352,7 +5369,7 @@ class Ms {
5352
5369
  );
5353
5370
  }
5354
5371
  }
5355
- class Ts {
5372
+ class Is {
5356
5373
  /**
5357
5374
  * A factory that creates a new AreaObjectMap with the given body renderer.
5358
5375
  *
@@ -5367,17 +5384,17 @@ class Ts {
5367
5384
  );
5368
5385
  }
5369
5386
  }
5370
- class Is {
5387
+ class ks {
5371
5388
  constructor(e = "down", t) {
5372
5389
  this.status = e, this.originalEvent = t;
5373
5390
  }
5374
5391
  }
5375
- class ks {
5392
+ class Ds {
5376
5393
  constructor(e, t, s, o, i = {}) {
5377
5394
  this.area = e, this.rowIndex = t, this.columnIndex = s, this.value = o, this.cssClasses = i;
5378
5395
  }
5379
5396
  }
5380
- class Ds {
5397
+ class Ps {
5381
5398
  constructor() {
5382
5399
  this.autoRestoreSortingState = !1, this.autoRestoreCollapsedExpandedState = !1, this.autoRestoreScrollPosition = !1, this.autoRestoreCheckedState = !1, this.autoRestoreSelectedState = !1, this.getStorageKeyFn = void 0, this.isSame = (e, t, s) => {
5383
5400
  if (e && t && s.getRowId) {
@@ -5574,7 +5591,7 @@ class T {
5574
5591
  e.push(o.data + " rowIndex:" + o.rowIndex), (s = o.children) != null && s.length && T.iterateThrowColumns(e, o.children);
5575
5592
  }
5576
5593
  }
5577
- class Ps {
5594
+ class Fs {
5578
5595
  constructor() {
5579
5596
  this.areaIdent = "body", this.rowSelectionModel = void 0;
5580
5597
  }
@@ -5645,7 +5662,7 @@ class Ps {
5645
5662
  }
5646
5663
  }
5647
5664
  const Z = class Z {
5648
- constructor(e = new pe()) {
5665
+ constructor(e = new ge()) {
5649
5666
  this.headerGroupOptions = e;
5650
5667
  }
5651
5668
  render(e, t, s, o, i, r, n) {
@@ -5684,10 +5701,10 @@ const Z = class Z {
5684
5701
  }
5685
5702
  };
5686
5703
  Z.toggleHeaderGroup = "toggleHeaderGroup";
5687
- let ne = Z;
5688
- class Fs {
5689
- constructor(e = "header", t, s = [], o, i = new pe()) {
5690
- 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 ne(this.headerGroupOptions), this.groupExts = T.buildGroupExts(t), this.init();
5704
+ let le = Z;
5705
+ class Ls {
5706
+ constructor(e = "header", t, s = [], o, i = new ge()) {
5707
+ 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 le(this.headerGroupOptions), this.groupExts = T.buildGroupExts(t), this.init();
5691
5708
  }
5692
5709
  init() {
5693
5710
  var e;
@@ -5785,7 +5802,7 @@ class Fs {
5785
5802
  return t != null && t.toggle && t.visibility !== "always" && (t.closed = !t.closed, this.init()), T.buildColumnDefs(this.groupExts);
5786
5803
  }
5787
5804
  }
5788
- class Ls {
5805
+ class Os {
5789
5806
  filterPredict(e, t, s = this.objectToString.bind(this)) {
5790
5807
  if (!e)
5791
5808
  return !1;
@@ -5839,12 +5856,12 @@ class Ls {
5839
5856
  return t.join(" ").toLowerCase();
5840
5857
  }
5841
5858
  }
5842
- class Os {
5859
+ class $s {
5843
5860
  static bodyRenderer(e) {
5844
5861
  return new I(void 0, e, void 0);
5845
5862
  }
5846
5863
  }
5847
- class $s {
5864
+ class _s {
5848
5865
  constructor(e, t = !0, s = !1) {
5849
5866
  this.property = e, this.skipCheckableCheck = t, this.readonly = s;
5850
5867
  }
@@ -5869,12 +5886,12 @@ class $s {
5869
5886
  }
5870
5887
  }
5871
5888
  }
5872
- class _s {
5889
+ class Bs {
5873
5890
  render(e, t, s, o, i, r, n) {
5874
5891
  r && (e.innerText = new Date(r).toISOString());
5875
5892
  }
5876
5893
  }
5877
- class Bs {
5894
+ class Hs {
5878
5895
  constructor() {
5879
5896
  this.formatter = new Intl.DateTimeFormat("de-DE", {
5880
5897
  year: "numeric",
@@ -5897,17 +5914,17 @@ class Bs {
5897
5914
  }
5898
5915
  }
5899
5916
  }
5900
- class Hs {
5917
+ class Vs {
5901
5918
  render(e, t, s, o, i, r, n) {
5902
5919
  r && (e.innerText = new Date(r).toLocaleDateString());
5903
5920
  }
5904
5921
  }
5905
- class Vs {
5922
+ class Ws {
5906
5923
  render(e, t, s, o, i, r, n) {
5907
5924
  r === "male" || r === "m" ? e.innerText = "♂" : (r === "female" || r === "f") && (e.innerText = "♀");
5908
5925
  }
5909
5926
  }
5910
- class Ws {
5927
+ class Ns {
5911
5928
  constructor(e = 100, t = !1) {
5912
5929
  this.maxValue = e, this.labelVisible = t;
5913
5930
  }
@@ -5937,17 +5954,17 @@ class Ws {
5937
5954
  }
5938
5955
  }
5939
5956
  }
5940
- class Ns {
5957
+ class Gs {
5941
5958
  render(e, t, s, o, i, r, n) {
5942
5959
  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 = "";
5943
5960
  }
5944
5961
  }
5945
- class Gs {
5962
+ class zs {
5946
5963
  render(e, t, s, o, i, r, n) {
5947
5964
  r && (e.innerText = new Date(r).toISOString().replace(/T/g, " ").replace(/\..*/g, ""));
5948
5965
  }
5949
5966
  }
5950
- class zs {
5967
+ class js {
5951
5968
  constructor(e = Number.MIN_SAFE_INTEGER, t = Number.MAX_SAFE_INTEGER) {
5952
5969
  this.min = e, this.max = t;
5953
5970
  }
@@ -5958,7 +5975,7 @@ class zs {
5958
5975
  </div>`, (typeof r == "string" || isNaN(r) || r < this.min || r > this.max) && n.addClass(e, "ge-cell-error"));
5959
5976
  }
5960
5977
  }
5961
- class js {
5978
+ class Us {
5962
5979
  constructor(e) {
5963
5980
  this.property = e;
5964
5981
  }
@@ -5977,7 +5994,7 @@ class js {
5977
5994
  }
5978
5995
  }
5979
5996
  }
5980
- class Us {
5997
+ class Ys {
5981
5998
  render(e, t, s, o, i, r, n) {
5982
5999
  if (r != null && r.length) {
5983
6000
  const l = n.createElement("div");
@@ -5990,7 +6007,7 @@ class Us {
5990
6007
  e.innerText = "";
5991
6008
  }
5992
6009
  }
5993
- class Ys {
6010
+ class Ks {
5994
6011
  constructor(e, t = 100, s = !1) {
5995
6012
  this.property = e, this.maxValue = t, this.labelVisible = s;
5996
6013
  }
@@ -6022,7 +6039,7 @@ class Ys {
6022
6039
  }
6023
6040
  }
6024
6041
  }
6025
- class Ks {
6042
+ class Xs {
6026
6043
  render(e, t, s, o, i, r, n) {
6027
6044
  if (r) {
6028
6045
  e.innerHTML = `
@@ -6117,7 +6134,7 @@ class Pt {
6117
6134
  return Array.isArray(e) && e.every((t) => t instanceof $) ? e : this.crudActions;
6118
6135
  }
6119
6136
  }
6120
- const Xs = function(h, e, t) {
6137
+ const Js = function(h, e, t) {
6121
6138
  return h ? Number(h) : "";
6122
6139
  };
6123
6140
  class Ve {
@@ -6152,7 +6169,7 @@ class Ve {
6152
6169
  }
6153
6170
  }
6154
6171
  }
6155
- class Js extends ue {
6172
+ class qs extends pe {
6156
6173
  constructor(e) {
6157
6174
  super("row", "multi"), this.model = e;
6158
6175
  }
@@ -6235,7 +6252,7 @@ class Js extends ue {
6235
6252
  this.isSelected(e, 0) ? this.unselectRow(e) : this.selectRow(e);
6236
6253
  }
6237
6254
  }
6238
- class qs {
6255
+ class Zs {
6239
6256
  constructor(e, t, s) {
6240
6257
  this.r = e, this.g = t, this.b = s;
6241
6258
  }
@@ -6257,7 +6274,7 @@ class Y {
6257
6274
  return e < t.middleValue ? Y.getTwoColorGradientRGB(e, new Te(t.minValue, t.minColor, t.middleValue, t.middleColor)) : e > t.middleValue ? Y.getTwoColorGradientRGB(e, new Te(t.middleValue, t.middleColor, t.maxValue, t.maxColor)) : `rgb(${t.middleColor.r}, ${t.middleColor.g}, ${t.middleColor.b})`;
6258
6275
  }
6259
6276
  }
6260
- class Zs {
6277
+ class Qs {
6261
6278
  constructor(e, t, s, o, i, r) {
6262
6279
  this.minValue = e, this.minColor = t, this.middleValue = s, this.middleColor = o, this.maxValue = i, this.maxColor = r;
6263
6280
  }
@@ -6468,7 +6485,7 @@ class Ot {
6468
6485
  };
6469
6486
  }
6470
6487
  }
6471
- class Qs {
6488
+ class eo {
6472
6489
  constructor() {
6473
6490
  this.crudOptions = new Ot(), this.listenActionEvent = (e) => {
6474
6491
  };
@@ -6479,7 +6496,7 @@ class Qs {
6479
6496
  this.crudOptions = e, this.listenActionEvent = o, e.fetchList(e).then((i) => {
6480
6497
  var r, n, l, a;
6481
6498
  if (t.rows = i, i != null && i.length) {
6482
- const c = (r = t.columnDefs) != null && r.length ? t.columnDefs.map((x) => x.property) : this.extractProperties(i[0]), d = new ue("row", "multi"), u = () => d;
6499
+ const c = (r = t.columnDefs) != null && r.length ? t.columnDefs.map((x) => x.property) : this.extractProperties(i[0]), d = new pe("row", "multi"), u = () => d;
6483
6500
  this.tableOptions = {
6484
6501
  ...new X(),
6485
6502
  ...t.tableOptions,
@@ -6609,42 +6626,42 @@ class Qs {
6609
6626
  return s;
6610
6627
  }
6611
6628
  }
6612
- class eo {
6629
+ class to {
6613
6630
  constructor(e, t) {
6614
6631
  this.method = e, this.url = t;
6615
6632
  }
6616
6633
  }
6617
6634
  export {
6618
- ge as AbstractAreaModel,
6635
+ fe as AbstractAreaModel,
6619
6636
  He as ActionEvent,
6620
6637
  Pt as ActionsCellRenderer,
6621
6638
  Fe as AnyPropertyType,
6622
- Ts as AreaMapFactory,
6623
- Ps as AreaModel,
6639
+ Is as AreaMapFactory,
6640
+ Fs as AreaModel,
6624
6641
  P as AreaModelArrayOfArrays,
6625
- Fs as AreaModelCellGroups,
6642
+ Ls as AreaModelCellGroups,
6626
6643
  F as AreaModelHidden,
6627
6644
  Et as AreaModelObjectArray,
6628
6645
  Ee as AreaModelObjectArrayWithColumndefs,
6629
6646
  ve as AreaModelTree,
6630
6647
  I as AreaObjectMap,
6631
6648
  B as ArrayPropertyType,
6632
- Ds as AutoRestoreOptions,
6649
+ Ps as AutoRestoreOptions,
6633
6650
  _t as AvoidDoubleExecution,
6634
6651
  je as BooleanPropertyType,
6635
6652
  kt as CellGroup,
6636
6653
  Dt as CellGroupExt,
6637
- ne as CellGroupExtCellRenderer,
6654
+ le as CellGroupExtCellRenderer,
6638
6655
  R as CellRange,
6639
6656
  T as CellgroupFactory,
6640
- $s as CheckboxBooleanPropertyCellRenderer,
6657
+ _s as CheckboxBooleanPropertyCellRenderer,
6641
6658
  Me as CheckboxCellRenderer,
6642
- Ms as CheckboxColumnDef,
6659
+ Ts as CheckboxColumnDef,
6643
6660
  Rt as CheckboxModel,
6644
- xs as ChunkData,
6661
+ ws as ChunkData,
6645
6662
  nt as ColAndRowspanModel,
6646
6663
  st as CollapsedExpandedData,
6647
- qs as ColorRgb,
6664
+ Zs as ColorRgb,
6648
6665
  H as ColumnDef,
6649
6666
  Bt as ColumnDefGenerator,
6650
6667
  Ft as ColumnWidths,
@@ -6654,144 +6671,145 @@ export {
6654
6671
  oe as CrudObjectEdit,
6655
6672
  Lt as CrudObjectView,
6656
6673
  Ot as CrudOptions,
6657
- Qs as CrudTableModelFactory,
6674
+ eo as CrudTableModelFactory,
6658
6675
  xe as CssVars,
6659
- Bs as DateToIntlDDMMYYYYCellRenderer,
6660
- _s as DateToIsoCellRenderer,
6661
- Hs as DateToLocaleDateCellRenderer,
6662
- Gs as DateToTecCellRenderer,
6676
+ Hs as DateToIntlDDMMYYYYCellRenderer,
6677
+ Bs as DateToIsoCellRenderer,
6678
+ Vs as DateToLocaleDateCellRenderer,
6679
+ zs as DateToTecCellRenderer,
6663
6680
  G as DefaultRowHeights,
6664
6681
  rt as EleScope,
6665
- ye as EventAdapter,
6682
+ re as EventAdapter,
6683
+ Wt as EventCheckboxChangedHandler,
6666
6684
  St as ExcelService,
6667
6685
  Se as FalseFn,
6668
6686
  bt as FocusModel,
6669
6687
  dt as GeCellIndices,
6670
6688
  Y as GeCssColorUtil,
6671
- Ls as GeFilterService,
6672
- Is as GeKeyEvent,
6673
- he as GeModelChangeEvent,
6674
- ce as GeMouseEvent,
6689
+ Os as GeFilterService,
6690
+ ks as GeKeyEvent,
6691
+ ue as GeModelChangeEvent,
6692
+ de as GeMouseEvent,
6675
6693
  L as GeoData,
6676
6694
  O as Icon,
6677
- ws as IndexAndPx,
6695
+ Ss as IndexAndPx,
6678
6696
  mt as InputCellRenderer,
6679
6697
  ct as InputHandler,
6680
- me as JsonService,
6698
+ be as JsonService,
6681
6699
  V as LicenseManager,
6682
- Vs as MaleFemaleToIconCellRenderer,
6700
+ Ws as MaleFemaleToIconCellRenderer,
6683
6701
  Qe as MouseHandler,
6684
6702
  Ze as MouseTargetData,
6685
- Js as MultiRowsSelectionModel,
6703
+ qs as MultiRowsSelectionModel,
6686
6704
  Ne as NullPropertyType,
6687
- Ws as NumberCellProgressBarCellRenderer,
6688
- zs as NumberCellRenderer,
6705
+ Ns as NumberCellProgressBarCellRenderer,
6706
+ js as NumberCellRenderer,
6689
6707
  ze as NumberPropertyType,
6690
6708
  D as ObjectPropertyType,
6691
6709
  pt as OsxShortcutActionIdMapping,
6692
6710
  Ie as PROPERTY_TYPE_KEY_ANY,
6693
6711
  Pe as PROPERTY_TYPE_KEY_ARRAY,
6694
- ae as PROPERTY_TYPE_KEY_BOOLEAN,
6712
+ ce as PROPERTY_TYPE_KEY_BOOLEAN,
6695
6713
  ke as PROPERTY_TYPE_KEY_NULL,
6696
- le as PROPERTY_TYPE_KEY_NUMBER,
6714
+ ae as PROPERTY_TYPE_KEY_NUMBER,
6697
6715
  j as PROPERTY_TYPE_KEY_OBJECT,
6698
6716
  De as PROPERTY_TYPE_KEY_STRING,
6699
6717
  z as PROPERTY_TYPE_KEY_UNDEFINED,
6700
6718
  Re as Padding,
6701
- Ks as PositiveAndNegativeNumberRenderer,
6702
- Ys as ProgressBarCellRenderer,
6719
+ Xs as PositiveAndNegativeNumberRenderer,
6720
+ Ks as ProgressBarCellRenderer,
6703
6721
  Le as PropertyItem,
6704
6722
  Ht as PropertyTypeService,
6705
6723
  lt as RenderScope,
6706
- Os as Renderer,
6724
+ $s as Renderer,
6707
6725
  Tt as RequestChunk,
6708
6726
  wt as ResizeHandler,
6709
6727
  Vt as SchemeGenerator,
6710
6728
  Ve as SelectCellRenderer,
6711
- ue as SelectionModel,
6729
+ pe as SelectionModel,
6712
6730
  ht as SelectionService,
6713
6731
  gt as ShortcutService,
6714
- Us as SimpleArrayCellRenderer,
6732
+ Ys as SimpleArrayCellRenderer,
6715
6733
  ft as SimpleDomService,
6716
6734
  y as Size,
6717
6735
  at as SortItem,
6718
6736
  $e as SortedOptions,
6719
- js as StarRatingCellRenderer,
6737
+ Us as StarRatingCellRenderer,
6720
6738
  ot as StoreStateCollapsedExpandService,
6721
6739
  tt as StoreStateScrollPosService,
6722
6740
  it as StoreStateSortingService,
6723
6741
  Ge as StringPropertyType,
6724
6742
  et as TableApi,
6725
- ks as TableCellUpdateEvent,
6743
+ Ds as TableCellUpdateEvent,
6726
6744
  _ as TableFactory,
6727
6745
  se as TableModel,
6728
6746
  Mt as TableModelAndOptions,
6729
6747
  X as TableOptions,
6730
6748
  _e as TableScope,
6731
- Zs as ThreeColorGradientArg,
6749
+ Qs as ThreeColorGradientArg,
6732
6750
  Ae as TreeCheckboxModel,
6733
- re as TreeFactory,
6751
+ ne as TreeFactory,
6734
6752
  Oe as TreeOptions,
6735
6753
  we as TreeRow,
6736
6754
  At as TreeRowService,
6737
- Ns as TrueFalseCellRenderer,
6755
+ Gs as TrueFalseCellRenderer,
6738
6756
  Ct as TrueFn,
6739
6757
  Te as TwoColorGradientArg,
6740
6758
  K as UNIMPORTANT_TYPES,
6741
6759
  te as UndefinedPropertyType,
6742
- eo as UrlInfo,
6760
+ to as UrlInfo,
6743
6761
  Ue as ValueInfo,
6744
6762
  It as ValueLabel,
6745
6763
  ut as WindowsShortcutActionIdMapping,
6746
- ys as actionIds,
6747
- Rs as allCenter,
6748
- As as allLeft,
6749
- Es as allRight,
6750
- Cs as bodyCenter,
6751
- Ss as bodyLeft,
6752
- vs as bodyRight,
6764
+ xs as actionIds,
6765
+ Es as allCenter,
6766
+ Rs as allLeft,
6767
+ Ms as allRight,
6768
+ vs as bodyCenter,
6769
+ Cs as bodyLeft,
6770
+ As as bodyRight,
6753
6771
  We as debounce,
6754
- Xs as editInputPipeForNumber,
6755
- be as entitySuffix,
6772
+ Js as editInputPipeForNumber,
6773
+ ye as entitySuffix,
6756
6774
  Xe as firstLetterUppercase,
6757
6775
  Q as getAreaIdentByString,
6758
6776
  Ye as getEntityName,
6759
6777
  ie as isAreaModelTree,
6760
6778
  Je as isCheckboxColumnDef,
6761
6779
  N as isTreeRow,
6762
- bs as px0,
6763
- ms as px10,
6764
- ls as px100,
6765
- ns as px110,
6766
- rs as px120,
6767
- is as px130,
6768
- os as px140,
6769
- ss as px150,
6770
- ts as px160,
6771
- es as px170,
6772
- Qt as px180,
6773
- Zt as px190,
6774
- fs as px20,
6780
+ ys as px0,
6781
+ bs as px10,
6782
+ as as px100,
6783
+ ls as px110,
6784
+ ns as px120,
6785
+ rs as px130,
6786
+ is as px140,
6787
+ os as px150,
6788
+ ss as px160,
6789
+ ts as px170,
6790
+ es as px180,
6791
+ Qt as px190,
6792
+ ms as px20,
6775
6793
  Ce as px200,
6776
- qt as px210,
6777
- Jt as px220,
6778
- Xt as px230,
6779
- Kt as px240,
6780
- Yt as px250,
6781
- Ut as px260,
6782
- jt as px270,
6783
- zt as px280,
6784
- Gt as px290,
6785
- gs as px30,
6794
+ Zt as px210,
6795
+ qt as px220,
6796
+ Jt as px230,
6797
+ Xt as px240,
6798
+ Kt as px250,
6799
+ Yt as px260,
6800
+ Ut as px270,
6801
+ jt as px280,
6802
+ zt as px290,
6803
+ fs as px30,
6786
6804
  vt as px300,
6787
- ps as px40,
6788
- Nt as px400,
6789
- us as px50,
6790
- Wt as px500,
6791
- hs as px60,
6792
- ds as px70,
6793
- cs as px80,
6794
- as as px90,
6805
+ gs as px40,
6806
+ Gt as px400,
6807
+ ps as px50,
6808
+ Nt as px500,
6809
+ us as px60,
6810
+ hs as px70,
6811
+ ds as px80,
6812
+ cs as px90,
6795
6813
  $t as throttle,
6796
6814
  Ke as trimArraySuffixes
6797
6815
  };