@guiexpert/table 1.1.49 → 1.1.50

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
  }
@@ -4760,7 +4767,7 @@ class se {
4760
4767
  return this.tableScope;
4761
4768
  }
4762
4769
  }
4763
- class Et extends ge {
4770
+ class Et extends fe {
4764
4771
  constructor(e, t, s, o = []) {
4765
4772
  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
4773
  }
@@ -5261,7 +5268,7 @@ class _ {
5261
5268
  );
5262
5269
  }
5263
5270
  }
5264
- const ys = [
5271
+ const xs = [
5265
5272
  "COPY_2_CLIPBOARD",
5266
5273
  "START_EDITING",
5267
5274
  "TOGGLE_SELECTION",
@@ -5289,7 +5296,7 @@ class Tt {
5289
5296
  this.emmitDataKey = e, this.emmitCancelKey = t, this.queryId = s, this.filter = o, this.sorting = i, this.startIndex = r, this.endIndex = n;
5290
5297
  }
5291
5298
  }
5292
- class xs extends Tt {
5299
+ class ws extends Tt {
5293
5300
  constructor(e, t, s, o, i, r, n, l) {
5294
5301
  super(
5295
5302
  e,
@@ -5307,20 +5314,20 @@ class It {
5307
5314
  this.value = e, this.label = t;
5308
5315
  }
5309
5316
  }
5310
- class ws {
5317
+ class Ss {
5311
5318
  constructor(e, t) {
5312
5319
  this.index = e, this.px = t;
5313
5320
  }
5314
5321
  }
5315
- const Ss = { body: ["ge-table-text-align-left"] }, Cs = { body: ["ge-table-text-align-center"] }, vs = { body: ["ge-table-text-align-right"] }, As = {
5322
+ const Cs = { body: ["ge-table-text-align-left"] }, vs = { body: ["ge-table-text-align-center"] }, As = { body: ["ge-table-text-align-right"] }, Rs = {
5316
5323
  header: ["ge-table-text-align-left"],
5317
5324
  body: ["ge-table-text-align-left"],
5318
5325
  footer: ["ge-table-text-align-left"]
5319
- }, Rs = {
5326
+ }, Es = {
5320
5327
  header: ["ge-table-text-align-center"],
5321
5328
  body: ["ge-table-text-align-center"],
5322
5329
  footer: ["ge-table-text-align-center"]
5323
- }, Es = {
5330
+ }, Ms = {
5324
5331
  header: ["ge-table-text-align-right"],
5325
5332
  body: ["ge-table-text-align-right"],
5326
5333
  footer: ["ge-table-text-align-right"]
@@ -5343,7 +5350,7 @@ class Me {
5343
5350
  }
5344
5351
  }
5345
5352
  }
5346
- class Ms {
5353
+ class Ts {
5347
5354
  constructor() {
5348
5355
  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
5356
  [],
@@ -5352,7 +5359,7 @@ class Ms {
5352
5359
  );
5353
5360
  }
5354
5361
  }
5355
- class Ts {
5362
+ class Is {
5356
5363
  /**
5357
5364
  * A factory that creates a new AreaObjectMap with the given body renderer.
5358
5365
  *
@@ -5367,17 +5374,17 @@ class Ts {
5367
5374
  );
5368
5375
  }
5369
5376
  }
5370
- class Is {
5377
+ class ks {
5371
5378
  constructor(e = "down", t) {
5372
5379
  this.status = e, this.originalEvent = t;
5373
5380
  }
5374
5381
  }
5375
- class ks {
5382
+ class Ds {
5376
5383
  constructor(e, t, s, o, i = {}) {
5377
5384
  this.area = e, this.rowIndex = t, this.columnIndex = s, this.value = o, this.cssClasses = i;
5378
5385
  }
5379
5386
  }
5380
- class Ds {
5387
+ class Ps {
5381
5388
  constructor() {
5382
5389
  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
5390
  if (e && t && s.getRowId) {
@@ -5574,7 +5581,7 @@ class T {
5574
5581
  e.push(o.data + " rowIndex:" + o.rowIndex), (s = o.children) != null && s.length && T.iterateThrowColumns(e, o.children);
5575
5582
  }
5576
5583
  }
5577
- class Ps {
5584
+ class Fs {
5578
5585
  constructor() {
5579
5586
  this.areaIdent = "body", this.rowSelectionModel = void 0;
5580
5587
  }
@@ -5645,7 +5652,7 @@ class Ps {
5645
5652
  }
5646
5653
  }
5647
5654
  const Z = class Z {
5648
- constructor(e = new pe()) {
5655
+ constructor(e = new ge()) {
5649
5656
  this.headerGroupOptions = e;
5650
5657
  }
5651
5658
  render(e, t, s, o, i, r, n) {
@@ -5684,10 +5691,10 @@ const Z = class Z {
5684
5691
  }
5685
5692
  };
5686
5693
  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();
5694
+ let le = Z;
5695
+ class Ls {
5696
+ constructor(e = "header", t, s = [], o, i = new ge()) {
5697
+ 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
5698
  }
5692
5699
  init() {
5693
5700
  var e;
@@ -5785,7 +5792,7 @@ class Fs {
5785
5792
  return t != null && t.toggle && t.visibility !== "always" && (t.closed = !t.closed, this.init()), T.buildColumnDefs(this.groupExts);
5786
5793
  }
5787
5794
  }
5788
- class Ls {
5795
+ class Os {
5789
5796
  filterPredict(e, t, s = this.objectToString.bind(this)) {
5790
5797
  if (!e)
5791
5798
  return !1;
@@ -5839,12 +5846,12 @@ class Ls {
5839
5846
  return t.join(" ").toLowerCase();
5840
5847
  }
5841
5848
  }
5842
- class Os {
5849
+ class $s {
5843
5850
  static bodyRenderer(e) {
5844
5851
  return new I(void 0, e, void 0);
5845
5852
  }
5846
5853
  }
5847
- class $s {
5854
+ class _s {
5848
5855
  constructor(e, t = !0, s = !1) {
5849
5856
  this.property = e, this.skipCheckableCheck = t, this.readonly = s;
5850
5857
  }
@@ -5869,12 +5876,12 @@ class $s {
5869
5876
  }
5870
5877
  }
5871
5878
  }
5872
- class _s {
5879
+ class Bs {
5873
5880
  render(e, t, s, o, i, r, n) {
5874
5881
  r && (e.innerText = new Date(r).toISOString());
5875
5882
  }
5876
5883
  }
5877
- class Bs {
5884
+ class Hs {
5878
5885
  constructor() {
5879
5886
  this.formatter = new Intl.DateTimeFormat("de-DE", {
5880
5887
  year: "numeric",
@@ -5897,17 +5904,17 @@ class Bs {
5897
5904
  }
5898
5905
  }
5899
5906
  }
5900
- class Hs {
5907
+ class Vs {
5901
5908
  render(e, t, s, o, i, r, n) {
5902
5909
  r && (e.innerText = new Date(r).toLocaleDateString());
5903
5910
  }
5904
5911
  }
5905
- class Vs {
5912
+ class Ws {
5906
5913
  render(e, t, s, o, i, r, n) {
5907
5914
  r === "male" || r === "m" ? e.innerText = "♂" : (r === "female" || r === "f") && (e.innerText = "♀");
5908
5915
  }
5909
5916
  }
5910
- class Ws {
5917
+ class Ns {
5911
5918
  constructor(e = 100, t = !1) {
5912
5919
  this.maxValue = e, this.labelVisible = t;
5913
5920
  }
@@ -5937,17 +5944,17 @@ class Ws {
5937
5944
  }
5938
5945
  }
5939
5946
  }
5940
- class Ns {
5947
+ class Gs {
5941
5948
  render(e, t, s, o, i, r, n) {
5942
5949
  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
5950
  }
5944
5951
  }
5945
- class Gs {
5952
+ class zs {
5946
5953
  render(e, t, s, o, i, r, n) {
5947
5954
  r && (e.innerText = new Date(r).toISOString().replace(/T/g, " ").replace(/\..*/g, ""));
5948
5955
  }
5949
5956
  }
5950
- class zs {
5957
+ class js {
5951
5958
  constructor(e = Number.MIN_SAFE_INTEGER, t = Number.MAX_SAFE_INTEGER) {
5952
5959
  this.min = e, this.max = t;
5953
5960
  }
@@ -5958,7 +5965,7 @@ class zs {
5958
5965
  </div>`, (typeof r == "string" || isNaN(r) || r < this.min || r > this.max) && n.addClass(e, "ge-cell-error"));
5959
5966
  }
5960
5967
  }
5961
- class js {
5968
+ class Us {
5962
5969
  constructor(e) {
5963
5970
  this.property = e;
5964
5971
  }
@@ -5977,7 +5984,7 @@ class js {
5977
5984
  }
5978
5985
  }
5979
5986
  }
5980
- class Us {
5987
+ class Ys {
5981
5988
  render(e, t, s, o, i, r, n) {
5982
5989
  if (r != null && r.length) {
5983
5990
  const l = n.createElement("div");
@@ -5990,7 +5997,7 @@ class Us {
5990
5997
  e.innerText = "";
5991
5998
  }
5992
5999
  }
5993
- class Ys {
6000
+ class Ks {
5994
6001
  constructor(e, t = 100, s = !1) {
5995
6002
  this.property = e, this.maxValue = t, this.labelVisible = s;
5996
6003
  }
@@ -6022,7 +6029,7 @@ class Ys {
6022
6029
  }
6023
6030
  }
6024
6031
  }
6025
- class Ks {
6032
+ class Xs {
6026
6033
  render(e, t, s, o, i, r, n) {
6027
6034
  if (r) {
6028
6035
  e.innerHTML = `
@@ -6117,7 +6124,7 @@ class Pt {
6117
6124
  return Array.isArray(e) && e.every((t) => t instanceof $) ? e : this.crudActions;
6118
6125
  }
6119
6126
  }
6120
- const Xs = function(h, e, t) {
6127
+ const Js = function(h, e, t) {
6121
6128
  return h ? Number(h) : "";
6122
6129
  };
6123
6130
  class Ve {
@@ -6152,7 +6159,7 @@ class Ve {
6152
6159
  }
6153
6160
  }
6154
6161
  }
6155
- class Js extends ue {
6162
+ class qs extends pe {
6156
6163
  constructor(e) {
6157
6164
  super("row", "multi"), this.model = e;
6158
6165
  }
@@ -6235,7 +6242,7 @@ class Js extends ue {
6235
6242
  this.isSelected(e, 0) ? this.unselectRow(e) : this.selectRow(e);
6236
6243
  }
6237
6244
  }
6238
- class qs {
6245
+ class Zs {
6239
6246
  constructor(e, t, s) {
6240
6247
  this.r = e, this.g = t, this.b = s;
6241
6248
  }
@@ -6257,7 +6264,7 @@ class Y {
6257
6264
  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
6265
  }
6259
6266
  }
6260
- class Zs {
6267
+ class Qs {
6261
6268
  constructor(e, t, s, o, i, r) {
6262
6269
  this.minValue = e, this.minColor = t, this.middleValue = s, this.middleColor = o, this.maxValue = i, this.maxColor = r;
6263
6270
  }
@@ -6468,7 +6475,7 @@ class Ot {
6468
6475
  };
6469
6476
  }
6470
6477
  }
6471
- class Qs {
6478
+ class eo {
6472
6479
  constructor() {
6473
6480
  this.crudOptions = new Ot(), this.listenActionEvent = (e) => {
6474
6481
  };
@@ -6479,7 +6486,7 @@ class Qs {
6479
6486
  this.crudOptions = e, this.listenActionEvent = o, e.fetchList(e).then((i) => {
6480
6487
  var r, n, l, a;
6481
6488
  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;
6489
+ 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
6490
  this.tableOptions = {
6484
6491
  ...new X(),
6485
6492
  ...t.tableOptions,
@@ -6609,42 +6616,42 @@ class Qs {
6609
6616
  return s;
6610
6617
  }
6611
6618
  }
6612
- class eo {
6619
+ class to {
6613
6620
  constructor(e, t) {
6614
6621
  this.method = e, this.url = t;
6615
6622
  }
6616
6623
  }
6617
6624
  export {
6618
- ge as AbstractAreaModel,
6625
+ fe as AbstractAreaModel,
6619
6626
  He as ActionEvent,
6620
6627
  Pt as ActionsCellRenderer,
6621
6628
  Fe as AnyPropertyType,
6622
- Ts as AreaMapFactory,
6623
- Ps as AreaModel,
6629
+ Is as AreaMapFactory,
6630
+ Fs as AreaModel,
6624
6631
  P as AreaModelArrayOfArrays,
6625
- Fs as AreaModelCellGroups,
6632
+ Ls as AreaModelCellGroups,
6626
6633
  F as AreaModelHidden,
6627
6634
  Et as AreaModelObjectArray,
6628
6635
  Ee as AreaModelObjectArrayWithColumndefs,
6629
6636
  ve as AreaModelTree,
6630
6637
  I as AreaObjectMap,
6631
6638
  B as ArrayPropertyType,
6632
- Ds as AutoRestoreOptions,
6639
+ Ps as AutoRestoreOptions,
6633
6640
  _t as AvoidDoubleExecution,
6634
6641
  je as BooleanPropertyType,
6635
6642
  kt as CellGroup,
6636
6643
  Dt as CellGroupExt,
6637
- ne as CellGroupExtCellRenderer,
6644
+ le as CellGroupExtCellRenderer,
6638
6645
  R as CellRange,
6639
6646
  T as CellgroupFactory,
6640
- $s as CheckboxBooleanPropertyCellRenderer,
6647
+ _s as CheckboxBooleanPropertyCellRenderer,
6641
6648
  Me as CheckboxCellRenderer,
6642
- Ms as CheckboxColumnDef,
6649
+ Ts as CheckboxColumnDef,
6643
6650
  Rt as CheckboxModel,
6644
- xs as ChunkData,
6651
+ ws as ChunkData,
6645
6652
  nt as ColAndRowspanModel,
6646
6653
  st as CollapsedExpandedData,
6647
- qs as ColorRgb,
6654
+ Zs as ColorRgb,
6648
6655
  H as ColumnDef,
6649
6656
  Bt as ColumnDefGenerator,
6650
6657
  Ft as ColumnWidths,
@@ -6654,144 +6661,145 @@ export {
6654
6661
  oe as CrudObjectEdit,
6655
6662
  Lt as CrudObjectView,
6656
6663
  Ot as CrudOptions,
6657
- Qs as CrudTableModelFactory,
6664
+ eo as CrudTableModelFactory,
6658
6665
  xe as CssVars,
6659
- Bs as DateToIntlDDMMYYYYCellRenderer,
6660
- _s as DateToIsoCellRenderer,
6661
- Hs as DateToLocaleDateCellRenderer,
6662
- Gs as DateToTecCellRenderer,
6666
+ Hs as DateToIntlDDMMYYYYCellRenderer,
6667
+ Bs as DateToIsoCellRenderer,
6668
+ Vs as DateToLocaleDateCellRenderer,
6669
+ zs as DateToTecCellRenderer,
6663
6670
  G as DefaultRowHeights,
6664
6671
  rt as EleScope,
6665
- ye as EventAdapter,
6672
+ re as EventAdapter,
6673
+ Wt as EventCheckboxChangedHandler,
6666
6674
  St as ExcelService,
6667
6675
  Se as FalseFn,
6668
6676
  bt as FocusModel,
6669
6677
  dt as GeCellIndices,
6670
6678
  Y as GeCssColorUtil,
6671
- Ls as GeFilterService,
6672
- Is as GeKeyEvent,
6673
- he as GeModelChangeEvent,
6674
- ce as GeMouseEvent,
6679
+ Os as GeFilterService,
6680
+ ks as GeKeyEvent,
6681
+ ue as GeModelChangeEvent,
6682
+ de as GeMouseEvent,
6675
6683
  L as GeoData,
6676
6684
  O as Icon,
6677
- ws as IndexAndPx,
6685
+ Ss as IndexAndPx,
6678
6686
  mt as InputCellRenderer,
6679
6687
  ct as InputHandler,
6680
- me as JsonService,
6688
+ be as JsonService,
6681
6689
  V as LicenseManager,
6682
- Vs as MaleFemaleToIconCellRenderer,
6690
+ Ws as MaleFemaleToIconCellRenderer,
6683
6691
  Qe as MouseHandler,
6684
6692
  Ze as MouseTargetData,
6685
- Js as MultiRowsSelectionModel,
6693
+ qs as MultiRowsSelectionModel,
6686
6694
  Ne as NullPropertyType,
6687
- Ws as NumberCellProgressBarCellRenderer,
6688
- zs as NumberCellRenderer,
6695
+ Ns as NumberCellProgressBarCellRenderer,
6696
+ js as NumberCellRenderer,
6689
6697
  ze as NumberPropertyType,
6690
6698
  D as ObjectPropertyType,
6691
6699
  pt as OsxShortcutActionIdMapping,
6692
6700
  Ie as PROPERTY_TYPE_KEY_ANY,
6693
6701
  Pe as PROPERTY_TYPE_KEY_ARRAY,
6694
- ae as PROPERTY_TYPE_KEY_BOOLEAN,
6702
+ ce as PROPERTY_TYPE_KEY_BOOLEAN,
6695
6703
  ke as PROPERTY_TYPE_KEY_NULL,
6696
- le as PROPERTY_TYPE_KEY_NUMBER,
6704
+ ae as PROPERTY_TYPE_KEY_NUMBER,
6697
6705
  j as PROPERTY_TYPE_KEY_OBJECT,
6698
6706
  De as PROPERTY_TYPE_KEY_STRING,
6699
6707
  z as PROPERTY_TYPE_KEY_UNDEFINED,
6700
6708
  Re as Padding,
6701
- Ks as PositiveAndNegativeNumberRenderer,
6702
- Ys as ProgressBarCellRenderer,
6709
+ Xs as PositiveAndNegativeNumberRenderer,
6710
+ Ks as ProgressBarCellRenderer,
6703
6711
  Le as PropertyItem,
6704
6712
  Ht as PropertyTypeService,
6705
6713
  lt as RenderScope,
6706
- Os as Renderer,
6714
+ $s as Renderer,
6707
6715
  Tt as RequestChunk,
6708
6716
  wt as ResizeHandler,
6709
6717
  Vt as SchemeGenerator,
6710
6718
  Ve as SelectCellRenderer,
6711
- ue as SelectionModel,
6719
+ pe as SelectionModel,
6712
6720
  ht as SelectionService,
6713
6721
  gt as ShortcutService,
6714
- Us as SimpleArrayCellRenderer,
6722
+ Ys as SimpleArrayCellRenderer,
6715
6723
  ft as SimpleDomService,
6716
6724
  y as Size,
6717
6725
  at as SortItem,
6718
6726
  $e as SortedOptions,
6719
- js as StarRatingCellRenderer,
6727
+ Us as StarRatingCellRenderer,
6720
6728
  ot as StoreStateCollapsedExpandService,
6721
6729
  tt as StoreStateScrollPosService,
6722
6730
  it as StoreStateSortingService,
6723
6731
  Ge as StringPropertyType,
6724
6732
  et as TableApi,
6725
- ks as TableCellUpdateEvent,
6733
+ Ds as TableCellUpdateEvent,
6726
6734
  _ as TableFactory,
6727
6735
  se as TableModel,
6728
6736
  Mt as TableModelAndOptions,
6729
6737
  X as TableOptions,
6730
6738
  _e as TableScope,
6731
- Zs as ThreeColorGradientArg,
6739
+ Qs as ThreeColorGradientArg,
6732
6740
  Ae as TreeCheckboxModel,
6733
- re as TreeFactory,
6741
+ ne as TreeFactory,
6734
6742
  Oe as TreeOptions,
6735
6743
  we as TreeRow,
6736
6744
  At as TreeRowService,
6737
- Ns as TrueFalseCellRenderer,
6745
+ Gs as TrueFalseCellRenderer,
6738
6746
  Ct as TrueFn,
6739
6747
  Te as TwoColorGradientArg,
6740
6748
  K as UNIMPORTANT_TYPES,
6741
6749
  te as UndefinedPropertyType,
6742
- eo as UrlInfo,
6750
+ to as UrlInfo,
6743
6751
  Ue as ValueInfo,
6744
6752
  It as ValueLabel,
6745
6753
  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,
6754
+ xs as actionIds,
6755
+ Es as allCenter,
6756
+ Rs as allLeft,
6757
+ Ms as allRight,
6758
+ vs as bodyCenter,
6759
+ Cs as bodyLeft,
6760
+ As as bodyRight,
6753
6761
  We as debounce,
6754
- Xs as editInputPipeForNumber,
6755
- be as entitySuffix,
6762
+ Js as editInputPipeForNumber,
6763
+ ye as entitySuffix,
6756
6764
  Xe as firstLetterUppercase,
6757
6765
  Q as getAreaIdentByString,
6758
6766
  Ye as getEntityName,
6759
6767
  ie as isAreaModelTree,
6760
6768
  Je as isCheckboxColumnDef,
6761
6769
  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,
6770
+ ys as px0,
6771
+ bs as px10,
6772
+ as as px100,
6773
+ ls as px110,
6774
+ ns as px120,
6775
+ rs as px130,
6776
+ is as px140,
6777
+ os as px150,
6778
+ ss as px160,
6779
+ ts as px170,
6780
+ es as px180,
6781
+ Qt as px190,
6782
+ ms as px20,
6775
6783
  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,
6784
+ Zt as px210,
6785
+ qt as px220,
6786
+ Jt as px230,
6787
+ Xt as px240,
6788
+ Kt as px250,
6789
+ Yt as px260,
6790
+ Ut as px270,
6791
+ jt as px280,
6792
+ zt as px290,
6793
+ fs as px30,
6786
6794
  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,
6795
+ gs as px40,
6796
+ Gt as px400,
6797
+ ps as px50,
6798
+ Nt as px500,
6799
+ us as px60,
6800
+ hs as px70,
6801
+ ds as px80,
6802
+ cs as px90,
6795
6803
  $t as throttle,
6796
6804
  Ke as trimArraySuffixes
6797
6805
  };