@guiexpert/table 1.1.83 → 1.1.85

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.
Files changed (140) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +7 -1
  3. package/css/main.css +6 -6
  4. package/css/table-color-vars.css +6 -6
  5. package/index.cjs +28 -28
  6. package/index.d.ts +61 -61
  7. package/index.js +835 -679
  8. package/lib/common/generator/column-def-generator-service.d.ts +1 -0
  9. package/lib/common/generator/domain/value-info.d.ts +1 -0
  10. package/lib/common/generator/property-type.service.d.ts +1 -0
  11. package/lib/common/generator/scheme-generator-service.d.ts +1 -0
  12. package/lib/table/action/on-action-triggered.if.d.ts +2 -1
  13. package/lib/table/action/osx-shortcut-actionId-mapping.d.ts +2 -1
  14. package/lib/table/action/shortcut-actionid-mapping.type.d.ts +2 -1
  15. package/lib/table/action/shortcut.service.d.ts +4 -3
  16. package/lib/table/action/windows-shortcut-actionId-mapping.d.ts +2 -1
  17. package/lib/table/checkbox/checkbox-model.d.ts +3 -2
  18. package/lib/table/checkbox/checkbox-model.if.d.ts +2 -1
  19. package/lib/table/checkbox/tree-checkbox-model.d.ts +4 -3
  20. package/lib/table/color/color-rgb.d.ts +2 -1
  21. package/lib/table/color/ge-css-color-util.d.ts +3 -2
  22. package/lib/table/color/three-color-gradient-arg.d.ts +3 -2
  23. package/lib/table/color/three-color-gradient-arg.if.d.ts +2 -1
  24. package/lib/table/color/two-color-gradient-arg.d.ts +3 -2
  25. package/lib/table/color/two-color-gradient-arg.if.d.ts +2 -1
  26. package/lib/table/crud/column-widths.d.ts +1 -0
  27. package/lib/table/crud/crud-options.d.ts +1 -0
  28. package/lib/table/crud/crud-options.if.d.ts +1 -0
  29. package/lib/table/crud/crud-table-model-factory.d.ts +1 -0
  30. package/lib/table/crud/url-info.d.ts +1 -0
  31. package/lib/table/crud/urls.if.d.ts +1 -0
  32. package/lib/table/data/chunk/chunk.data-event.d.ts +3 -2
  33. package/lib/table/data/chunk/chunk.data-event.if.d.ts +2 -1
  34. package/lib/table/data/chunk/request-chunk.d.ts +2 -1
  35. package/lib/table/data/common/area-map-factory.d.ts +3 -2
  36. package/lib/table/data/common/area-map.d.ts +2 -1
  37. package/lib/table/data/common/args-adjust-columns-to-row-parent-params.d.ts +5 -4
  38. package/lib/table/data/common/args-render-cell-div.d.ts +4 -3
  39. package/lib/table/data/common/checkbox-column-def.d.ts +5 -4
  40. package/lib/table/data/common/event/ge-model-change-event.d.ts +2 -1
  41. package/lib/table/data/common/event/ge-mouse-event.d.ts +3 -2
  42. package/lib/table/data/common/event/input/table-cell-update-event.d.ts +3 -2
  43. package/lib/table/data/common/event/input/table-cell-update-event.if.d.ts +2 -1
  44. package/lib/table/data/common/size.d.ts +2 -1
  45. package/lib/table/data/common/size.if.d.ts +1 -0
  46. package/lib/table/data/common/sizes.d.ts +2 -1
  47. package/lib/table/data/common/sort-item.d.ts +2 -1
  48. package/lib/table/data/common/tree-row.d.ts +2 -1
  49. package/lib/table/data/common/value-label.d.ts +2 -1
  50. package/lib/table/data/event/mouse-target-data.d.ts +4 -3
  51. package/lib/table/data/options/auto-restore-options.d.ts +2 -1
  52. package/lib/table/data/options/default-row-heights.d.ts +2 -1
  53. package/lib/table/data/options/header-group-options.d.ts +2 -1
  54. package/lib/table/data/options/header-group-options.if.d.ts +2 -1
  55. package/lib/table/data/options/icon.d.ts +2 -1
  56. package/lib/table/data/options/sorted-options.d.ts +3 -2
  57. package/lib/table/data/options/sorted-options.if.d.ts +2 -1
  58. package/lib/table/data/options/table-options.d.ts +12 -11
  59. package/lib/table/data/options/table-options.if.d.ts +12 -11
  60. package/lib/table/data/options/tree-options.d.ts +3 -2
  61. package/lib/table/data/options/tree-options.if.d.ts +2 -1
  62. package/lib/table/data/table-model-and-options.d.ts +4 -3
  63. package/lib/table/data/table-model-and-options.if.d.ts +3 -2
  64. package/lib/table/data/tablemodel/areamodel/abstract-area-model.d.ts +10 -9
  65. package/lib/table/data/tablemodel/areamodel/area-model-array-of-arrays.d.ts +12 -4
  66. package/lib/table/data/tablemodel/areamodel/area-model-cell-groups.d.ts +1 -0
  67. package/lib/table/data/tablemodel/areamodel/area-model-hidden.d.ts +8 -7
  68. package/lib/table/data/tablemodel/areamodel/area-model-object-array-with-columndefs.d.ts +4 -3
  69. package/lib/table/data/tablemodel/areamodel/area-model-object-array.d.ts +8 -0
  70. package/lib/table/data/tablemodel/areamodel/area-model-tree.d.ts +16 -8
  71. package/lib/table/data/tablemodel/areamodel/area-model.d.ts +21 -11
  72. package/lib/table/data/tablemodel/areamodel/area-model.if.d.ts +23 -6
  73. package/lib/table/data/tablemodel/areamodel/async-area-model-object-array.d.ts +6 -5
  74. package/lib/table/data/tablemodel/areamodel/col-and-rowspan-model.d.ts +4 -3
  75. package/lib/table/data/tablemodel/areamodel/cover-grid-body-model.d.ts +1 -0
  76. package/lib/table/data/tablemodel/cellgroup/cell-group-ext.d.ts +3 -2
  77. package/lib/table/data/tablemodel/cellgroup/cell-group.d.ts +2 -1
  78. package/lib/table/data/tablemodel/cellgroup/cellgroup-factory.d.ts +4 -3
  79. package/lib/table/data/tablemodel/column/column-def.d.ts +10 -9
  80. package/lib/table/data/tablemodel/column/column-def.if.d.ts +8 -7
  81. package/lib/table/data/tablemodel/cover-grid-table-model.d.ts +1 -0
  82. package/lib/table/data/tablemodel/table-model.d.ts +12 -11
  83. package/lib/table/data/tablemodel/table-model.if.d.ts +8 -7
  84. package/lib/table/ele-scope.d.ts +13 -5
  85. package/lib/table/event-adapter.d.ts +5 -4
  86. package/lib/table/event-checkbox-changed-handler.d.ts +1 -0
  87. package/lib/table/event-listener.if.d.ts +4 -3
  88. package/lib/table/factory/cover-grid-factory.d.ts +3 -0
  89. package/lib/table/factory/table-factory.d.ts +9 -8
  90. package/lib/table/factory/tree-factory.d.ts +2 -1
  91. package/lib/table/focus/event-focus-changed-listener.if.d.ts +1 -0
  92. package/lib/table/focus/focus-model.d.ts +3 -2
  93. package/lib/table/focus/focus-model.if.d.ts +1 -0
  94. package/lib/table/input-handler.d.ts +2 -1
  95. package/lib/table/mouse-handler.d.ts +3 -2
  96. package/lib/table/render-scope.d.ts +37 -0
  97. package/lib/table/renderer/action/action-event-listener.if.d.ts +1 -0
  98. package/lib/table/renderer/action/action-event.d.ts +1 -0
  99. package/lib/table/renderer/action/action-event.if.d.ts +1 -0
  100. package/lib/table/renderer/action/actions-cell-renderer.d.ts +1 -0
  101. package/lib/table/renderer/cell-group-ext-cell-renderer.d.ts +1 -0
  102. package/lib/table/renderer/cell-render.if.d.ts +5 -4
  103. package/lib/table/renderer/checkbox-boolean-property-cell-renderer.d.ts +6 -5
  104. package/lib/table/renderer/checkbox-cell-renderer.d.ts +6 -5
  105. package/lib/table/renderer/date-to-int-date-cell-renderer.d.ts +6 -5
  106. package/lib/table/renderer/date-to-iso-cell-renderer.d.ts +6 -5
  107. package/lib/table/renderer/date-to-locale-date-cell-renderer.d.ts +6 -5
  108. package/lib/table/renderer/date-to-tec-cell-renderer.d.ts +6 -5
  109. package/lib/table/renderer/edit/edit-cell-renderer.type.d.ts +2 -1
  110. package/lib/table/renderer/edit/edit-input-pipe-for-number.d.ts +2 -1
  111. package/lib/table/renderer/edit/input-cell-renderer.d.ts +6 -5
  112. package/lib/table/renderer/edit/select-cell-renderer.d.ts +7 -6
  113. package/lib/table/renderer/male-female-to-icon-cell-renderer.d.ts +6 -5
  114. package/lib/table/renderer/number-cell-progress-bar-cell-renderer.d.ts +6 -5
  115. package/lib/table/renderer/number-cell-renderer.d.ts +6 -5
  116. package/lib/table/renderer/positive-and-negative-number-renderer.d.ts +6 -5
  117. package/lib/table/renderer/progress-bar-cell-renderer.d.ts +6 -5
  118. package/lib/table/renderer/renderer.d.ts +3 -2
  119. package/lib/table/renderer/simple-array-cell-renderer.d.ts +6 -5
  120. package/lib/table/renderer/star-rating-cell-renderer.d.ts +6 -5
  121. package/lib/table/renderer/true-false-cell-renderer.d.ts +6 -5
  122. package/lib/table/resize-handler.d.ts +2 -1
  123. package/lib/table/selection/event-selection-changed-listener.if.d.ts +1 -0
  124. package/lib/table/selection/multi-rows-selection-model.d.ts +1 -0
  125. package/lib/table/selection/selection-model.d.ts +3 -2
  126. package/lib/table/selection/selection-model.if.d.ts +2 -1
  127. package/lib/table/selection/selection-service.d.ts +8 -7
  128. package/lib/table/service/abstract-store-state.service.d.ts +2 -1
  129. package/lib/table/service/convenience-dom.service.d.ts +13 -12
  130. package/lib/table/service/copy-service.d.ts +1 -0
  131. package/lib/table/service/copy-service.if.d.ts +1 -0
  132. package/lib/table/service/excel-service.d.ts +1 -0
  133. package/lib/table/service/simple-dom-service.d.ts +2 -1
  134. package/lib/table/service/store-state-collapsed-expand.service.d.ts +4 -3
  135. package/lib/table/service/store-state-scroll-pos.service.d.ts +3 -2
  136. package/lib/table/service/store-state-sorting.service.d.ts +4 -3
  137. package/lib/table/service/tree-row.service.d.ts +2 -1
  138. package/lib/table/table-api.d.ts +4 -3
  139. package/lib/table/table-scope.d.ts +1 -0
  140. package/package.json +14 -3
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- function Wt(d, e = 500) {
1
+ function zt(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);
@@ -7,7 +7,7 @@ function Wt(d, e = 500) {
7
7
  }, r));
8
8
  };
9
9
  }
10
- function Ge(d, e = 500) {
10
+ function Ue(d, e = 500) {
11
11
  let t = null;
12
12
  return function(...s) {
13
13
  t && window.clearTimeout(t), t = window.setTimeout(() => {
@@ -15,7 +15,7 @@ function Ge(d, e = 500) {
15
15
  }, e);
16
16
  };
17
17
  }
18
- function Nt(d = 500) {
18
+ function jt(d = 500) {
19
19
  return function(e, t, s) {
20
20
  let o = 0;
21
21
  const i = s.value;
@@ -25,40 +25,40 @@ 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", X = [Pe, j, Fe];
29
- class Oe {
28
+ const _e = "any", X = "undefined", Le = "null", Oe = "string", ge = "number", fe = "boolean", Ve = "Array", K = "object", Z = [Le, X, _e];
29
+ class He {
30
30
  constructor(e) {
31
- this.propertyName = e, this.type = Fe;
31
+ this.propertyName = e, this.type = _e;
32
32
  }
33
33
  }
34
- class se {
34
+ class ne {
35
35
  constructor(e) {
36
- this.propertyName = e, this.type = j;
36
+ this.propertyName = e, this.type = X;
37
37
  }
38
38
  }
39
- class ze {
39
+ class Ye {
40
40
  constructor(e) {
41
- this.propertyName = e, this.type = Pe;
41
+ this.propertyName = e, this.type = Le;
42
42
  }
43
43
  }
44
- class je {
44
+ class Xe {
45
45
  constructor(e) {
46
- this.propertyName = e, this.type = _e;
46
+ this.propertyName = e, this.type = Oe;
47
47
  }
48
48
  }
49
- class Ue {
49
+ class Ke {
50
50
  constructor(e) {
51
- this.propertyName = e, this.type = de;
51
+ this.propertyName = e, this.type = ge;
52
52
  }
53
53
  }
54
- class Ye {
54
+ class Je {
55
55
  constructor(e) {
56
- this.propertyName = e, this.type = he;
56
+ this.propertyName = e, this.type = fe;
57
57
  }
58
58
  }
59
59
  class B {
60
60
  constructor(e, t = []) {
61
- this.propertyName = e, this.items = t, this.type = Le;
61
+ this.propertyName = e, this.items = t, this.type = Ve;
62
62
  }
63
63
  }
64
64
  class $e {
@@ -69,12 +69,12 @@ class $e {
69
69
  return `PropertyItem(propertyName: ${this.propertyName}, types: [${this.types.map((e) => e.type).join(", ")}])`;
70
70
  }
71
71
  }
72
- class F {
72
+ class L {
73
73
  constructor(e, t, s = []) {
74
- this.propertyName = e, this.className = t, this.properties = s, this.type = U;
74
+ this.propertyName = e, this.className = t, this.properties = s, this.type = K;
75
75
  }
76
76
  }
77
- class Gt {
77
+ class Ut {
78
78
  constructor() {
79
79
  this.rootPropertyType = null, this.allowCustomRenderer = !0, this.bufCustomRenderer = [], this.LABEL_MAPPINGS = {
80
80
  Id: "ID",
@@ -101,8 +101,8 @@ class Gt {
101
101
  if (!this.rootPropertyType)
102
102
  return s;
103
103
  if (e instanceof B) {
104
- const o = e.items.find((i) => i.type === U);
105
- if (o && o instanceof F) {
104
+ const o = e.items.find((i) => i.type === K);
105
+ if (o && o instanceof L) {
106
106
  const i = o.properties;
107
107
  s.push(" const columnDefs: ColumnDefIf[] = ["), this.iteratePropertyItems(s, i, ""), s.push(" ];");
108
108
  }
@@ -111,28 +111,28 @@ 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) => !X.includes(n.type));
114
+ let r = t[o].types.filter((n) => !Z.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;
118
- if (n instanceof F)
118
+ if (n instanceof L)
119
119
  this.iteratePropertyItems(e, n.properties, l);
120
120
  else {
121
121
  let a = "";
122
122
  if (n instanceof B) {
123
- const p = n.items.find((m) => m.type === U);
124
- p && p instanceof F && (a = p.className);
123
+ const p = n.items.find((m) => m.type === K);
124
+ p && p instanceof L && (a = p.className);
125
125
  }
126
126
  const c = this.getReadableColumnLabel(l);
127
127
  let h = 100, u = "", f = "ge-table-text-align-left";
128
- if (n.type === Le) {
128
+ if (n.type === Ve) {
129
129
  if (this.allowCustomRenderer && a) {
130
130
  const p = `${a}ArrayCellRenderer`;
131
131
  u = ` bodyRenderer: new ${p}(),`, f = "", this.renderCumstomCellRenderer(a, p);
132
132
  } else
133
133
  u = " bodyRenderer: new SimpleArrayCellRenderer(),";
134
134
  h = 250;
135
- } else n.type === de ? (u = " bodyRenderer: new NumberCellRenderer(),", f = "ge-table-text-align-right") : n.type === he && (u = " bodyRenderer: new TrueFalseCellRenderer(),", f = "ge-table-text-align-center", h = 80);
135
+ } else n.type === ge ? (u = " bodyRenderer: new NumberCellRenderer(),", f = "ge-table-text-align-right") : n.type === fe && (u = " bodyRenderer: new TrueFalseCellRenderer(),", f = "ge-table-text-align-center", h = 80);
136
136
  e.push(` ColumnDef.create({
137
137
  property: "${l}",
138
138
  headerLabel: "${c}",
@@ -194,7 +194,7 @@ export class ${t} implements CellRendererIf {
194
194
  `);
195
195
  }
196
196
  }
197
- class xe {
197
+ class ve {
198
198
  /**
199
199
  *
200
200
  * Fixes an invalid json like this:
@@ -260,21 +260,21 @@ class xe {
260
260
  return s;
261
261
  }
262
262
  }
263
- class Ke {
263
+ class qe {
264
264
  constructor() {
265
- this.property = "", this.value = "", this.path = "", this.propertyItem = new $e("", [new Oe("")]);
265
+ this.property = "", this.value = "", this.path = "", this.propertyItem = new $e("", [new He("")]);
266
266
  }
267
267
  toString() {
268
268
  var e;
269
269
  return `${this.path} -> : ${((e = this.propertyItem) == null ? void 0 : e.toString()) ?? ""}`;
270
270
  }
271
271
  }
272
- const Se = "Entity";
273
- function Xe(d) {
274
- let e = Je(qe(d));
275
- return e.includes(Se) || (e = e + Se), e;
272
+ const Re = "Entity";
273
+ function Ze(d) {
274
+ let e = Qe(et(d));
275
+ return e.includes(Re) || (e = e + Re), e;
276
276
  }
277
- function Je(d) {
277
+ function Qe(d) {
278
278
  if (!d || d.length === 0) return d;
279
279
  const e = ["Array", "Arr", "List", "s"];
280
280
  for (const t of e)
@@ -282,10 +282,10 @@ function Je(d) {
282
282
  return d.slice(0, -t.length);
283
283
  return d;
284
284
  }
285
- function qe(d) {
285
+ function et(d) {
286
286
  return !d || d.length === 0 ? "" : d[0].toUpperCase() + d.slice(1);
287
287
  }
288
- class zt {
288
+ class Yt {
289
289
  constructor() {
290
290
  this.debugging = !1;
291
291
  }
@@ -372,7 +372,7 @@ class zt {
372
372
  json2PropertyType(e, t = "") {
373
373
  let s;
374
374
  if (typeof e == "string") {
375
- const o = new xe().fixJSON(e);
375
+ const o = new ve().fixJSON(e);
376
376
  s = this.json2Object(o);
377
377
  } else
378
378
  s = e;
@@ -488,7 +488,7 @@ class zt {
488
488
  json2ValueInfos(e, t = "") {
489
489
  let s;
490
490
  if (typeof e == "string") {
491
- const o = new xe().fixJSON(e);
491
+ const o = new ve().fixJSON(e);
492
492
  s = this.json2Object(o);
493
493
  } else
494
494
  s = e;
@@ -512,14 +512,14 @@ 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) => !X.includes(a.type));
515
+ const l = r.propertyItem.types.filter((a) => !Z.includes(a.type));
516
516
  if (l.length === 1) {
517
517
  const a = l[0];
518
518
  if (a instanceof B) {
519
519
  n = !0;
520
520
  for (const c of o.propertyItem.types)
521
521
  a.items.push(c);
522
- } else a instanceof F && (n = !0, a.properties.push(o.propertyItem));
522
+ } else a instanceof L && (n = !0, a.properties.push(o.propertyItem));
523
523
  }
524
524
  if (!n)
525
525
  for (const a of o.propertyItem.types)
@@ -527,7 +527,7 @@ class zt {
527
527
  }
528
528
  }
529
529
  }
530
- return t || new Oe("");
530
+ return t || new He("");
531
531
  }
532
532
  logValueInfos(e) {
533
533
  for (let t = 0; t < e.length; t++) {
@@ -557,7 +557,7 @@ class zt {
557
557
  const l = this.getFirstValueInfoByPath(e, n);
558
558
  if (Array.isArray(l == null ? void 0 : l.value)) {
559
559
  const a = (l == null ? void 0 : l.value.length) ?? 0, c = this.countPath(e, i.path);
560
- a > c && (i.propertyItem.types.some((h) => h.type === j) || i.propertyItem.types.push(new se(i.property)));
560
+ a > c && (i.propertyItem.types.some((h) => h.type === X) || i.propertyItem.types.push(new ne(i.property)));
561
561
  }
562
562
  }
563
563
  }
@@ -578,9 +578,9 @@ class zt {
578
578
  }
579
579
  extractValueInfos(e, t) {
580
580
  const s = [], o = (i, r, n) => {
581
- const l = new Ke();
581
+ const l = new qe();
582
582
  let a = r.split("/").pop() || "";
583
- if (a === "[]" ? a = n : a === "root" && (a = t), l.property = a, l.value = i, l.path = r, l.propertyItem = this.createPropertyItem(i, l.property), s.push(l), i && typeof i === U && !Array.isArray(i)) {
583
+ if (a === "[]" ? a = n : a === "root" && (a = t), l.property = a, l.value = i, l.path = r, l.propertyItem = this.createPropertyItem(i, l.property), s.push(l), i && typeof i === K && !Array.isArray(i)) {
584
584
  for (const c in i)
585
585
  if (i.hasOwnProperty(c)) {
586
586
  const h = r ? `${r}/${c}` : c;
@@ -599,10 +599,10 @@ class zt {
599
599
  ]);
600
600
  }
601
601
  createPropertyType(e, t) {
602
- return e === null ? new ze(t) : e === void 0 ? new se(t) : typeof e === _e ? new je(t) : typeof e === 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);
602
+ return e === null ? new Ye(t) : e === void 0 ? new ne(t) : typeof e === Oe ? new Xe(t) : typeof e === ge && !isNaN(e) ? new Ke(t) : typeof e === fe ? new Je(t) : Array.isArray(e) ? new B(t) : typeof e === K ? new L(t, Ze(t)) : new ne(t);
603
603
  }
604
604
  }
605
- class jt {
605
+ class Xt {
606
606
  constructor() {
607
607
  this.orOperator = "|", this.rootPropertyType = null, this.rootName = "Root", this.renderTypeScriptInterfacesFifo = [], this.renderTypeScriptInterfacesDone = [];
608
608
  }
@@ -622,11 +622,11 @@ class jt {
622
622
  if (!e) return t;
623
623
  if (e instanceof B) {
624
624
  for (const o of e.items)
625
- if (this.renderTypeScriptInterfacesRecursive(o, t, s), o instanceof F) {
625
+ if (this.renderTypeScriptInterfacesRecursive(o, t, s), o instanceof L) {
626
626
  const i = o;
627
627
  i !== this.rootPropertyType && this.renderTypeScriptInterfacesFifo.push(i);
628
628
  }
629
- } else if (e instanceof F) {
629
+ } else if (e instanceof L) {
630
630
  const o = e, i = o.className;
631
631
  if (!this.renderTypeScriptInterfacesDone.includes(i)) {
632
632
  this.renderTypeScriptInterfacesDone.push(i), t.push(`export interface ${i} {`);
@@ -636,11 +636,11 @@ class jt {
636
636
  const l = this.containsUndefinedPropertyType(r) ? "?" : "";
637
637
  t.push(" " + r.propertyName + l + ": " + n + ";");
638
638
  for (const a of r.types)
639
- if (a instanceof F)
639
+ if (a instanceof L)
640
640
  a !== this.rootPropertyType && this.renderTypeScriptInterfacesFifo.push(a);
641
641
  else if (a instanceof B)
642
642
  for (const c of a.items)
643
- c instanceof F && this.renderTypeScriptInterfacesFifo.push(c);
643
+ c instanceof L && this.renderTypeScriptInterfacesFifo.push(c);
644
644
  }
645
645
  t.push("}"), t.push("");
646
646
  }
@@ -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) => X.includes(i) ? 100 : X.includes(r) ? -100 : i.localeCompare(r)).join(this.orOperator);
654
+ const t = e.types.map((i) => this.renderType(i, e)).filter((i) => i !== X).sort((i, r) => Z.includes(i) ? 100 : Z.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) {
@@ -659,22 +659,22 @@ class jt {
659
659
  const s = e.items.map((o) => this.renderType(o, t)).join(this.orOperator);
660
660
  return s.includes(this.orOperator) ? `(${s})[]` : `${s}[]`;
661
661
  }
662
- return e instanceof F ? e.className : e.type;
662
+ return e instanceof L ? e.className : e.type;
663
663
  }
664
664
  containsUndefinedPropertyType(e) {
665
665
  for (const t of e.types)
666
- if (t.type === j) return !0;
666
+ if (t.type === X) return !0;
667
667
  return !1;
668
668
  }
669
669
  }
670
- class W {
670
+ class G {
671
671
  // The constructor is private to prevent direct construction calls
672
672
  // with the `new` operator
673
673
  constructor() {
674
674
  this.alreadySet = !1;
675
675
  }
676
676
  static getInstance() {
677
- return W.instance || (W.instance = new W()), W.instance;
677
+ return G.instance || (G.instance = new G()), G.instance;
678
678
  }
679
679
  /**
680
680
  * Method to set the license key for the application.
@@ -692,21 +692,21 @@ class W {
692
692
  }
693
693
  }
694
694
  }
695
- function G(d) {
695
+ function j(d) {
696
696
  return d && d.type === "TreeRow";
697
697
  }
698
- function re(d) {
698
+ function ce(d) {
699
699
  return d && d.type === "AreaModelTree";
700
700
  }
701
- function Ze(d) {
701
+ function tt(d) {
702
702
  return d && d.type === "CheckboxColumnDef";
703
703
  }
704
- class ue {
704
+ class me {
705
705
  constructor(e = -1, t = -1, s = -1, o = -1, i, r, n, l = 0, a = 0, c = 0, h = "") {
706
706
  this.rowIndex = e, this.rowTop = t, this.columnIndex = s, this.columnLeft = o, this.areaIdent = i, this.sideIdent = r, this.originalEvent = n, this.clickCount = l, this.draggingX = a, this.draggingY = c, this.action = h;
707
707
  }
708
708
  clone() {
709
- return new ue(
709
+ return new me(
710
710
  this.rowIndex,
711
711
  this.rowTop,
712
712
  this.columnIndex,
@@ -721,25 +721,25 @@ class ue {
721
721
  );
722
722
  }
723
723
  }
724
- class O {
724
+ class V {
725
725
  constructor(e = ">", t = "", s = []) {
726
726
  this.content = e, this.style = t, this.classes = s;
727
727
  }
728
728
  }
729
- class Ve {
730
- constructor(e = new O(
729
+ class Be {
730
+ constructor(e = new V(
731
731
  ">",
732
732
  "transform: rotate(90deg) translate(66%, -66%); transform-origin: 0 0;",
733
733
  ["gt-table-tree-arrow-expanded"]
734
- ), t = new O(
734
+ ), t = new V(
735
735
  ">",
736
736
  "",
737
737
  ["ge-table-tree-arrow-collapsed"]
738
- ), s = new O(
738
+ ), s = new V(
739
739
  ">",
740
740
  "color:transparent;",
741
741
  ["gt-table-tree-arrow-hidden"]
742
- ), o = new O(
742
+ ), o = new V(
743
743
  "↕",
744
744
  "",
745
745
  ["gt-table-tree-arrow-expanded-all"]
@@ -747,12 +747,12 @@ class Ve {
747
747
  this.arrowExpanded = e, this.arrowCollapsed = t, this.arrowPlaceholder = s, this.arrowExpandCollapseAll = o;
748
748
  }
749
749
  }
750
- class Be {
751
- constructor(e = new O("↑", "", ["ge-header-sorted-asc"]), t = new O("↓", "", ["ge-header-sorted-desc"]), s = new O("↑", "color:transparent;", [])) {
750
+ class We {
751
+ constructor(e = new V("↑", "", ["ge-header-sorted-asc"]), t = new V("↓", "", ["ge-header-sorted-desc"]), s = new V("↑", "color:transparent;", [])) {
752
752
  this.iconAsc = e, this.iconDesc = t, this.iconPlaceholder = s;
753
753
  }
754
754
  }
755
- class Qe {
755
+ class st {
756
756
  constructor(e) {
757
757
  this.domService = e;
758
758
  }
@@ -842,8 +842,8 @@ class Qe {
842
842
  this.domService.addClass(m, "ge-table-col-div"), p && this.domService.addClass(m, "ge-with-checkbox"), this.domService.addClass(m, `ge-table-col-div-${s.index}`), this.domService.setAttribute(m, "data-col-index", `${s.index}`), this.domService.setAttribute(m, "data-row-index", `${o}`), this.domService.setAttribute(m, "data-area", `${r}`);
843
843
  const g = ((s == null ? void 0 : s.index) ?? 0) % 2 === 0 ? "even" : "odd";
844
844
  if (r === "body" && n === "center" && this.domService.addClass(m, `ge-table-column-${g}`), this.domService.setStyle(m, "display", "clip"), this.domService.setStyle(m, "position", "absolute"), this.domService.setStyle(m, "left", `${s.left}px`), this.domService.setStyle(m, "top", `${s.top}px`), this.domService.setStyle(m, "width", `${s.width}px`), this.domService.setStyle(m, "height", `${s.height}px`), a && a !== "none" && (this.domService.addClass(m, "ge-table-col-tree"), this.addArrowDiv(m, a, f, o, i, r)), p && i === 0 && h && this.addCheckboxToDiv(m, h, r, o), l) {
845
- const b = a !== "none" && i === 0;
846
- this.addLabelDiv(m, l, b, o, i, r);
845
+ const y = a !== "none" && i === 0;
846
+ this.addLabelDiv(m, l, y, o, i, r);
847
847
  }
848
848
  return u && this.addSortedIcon(m, u, c == null ? void 0 : c.sortedOptions, i), this.domService.appendChild(t, m), m;
849
849
  }
@@ -872,7 +872,7 @@ class Qe {
872
872
  }
873
873
  return this.domService.appendChild(e, n), n;
874
874
  }
875
- addSortedIcon(e, t = "", s = new Be(), o = -1) {
875
+ addSortedIcon(e, t = "", s = new We(), o = -1) {
876
876
  const i = this.domService.createElement("div");
877
877
  this.domService.addClass(i, "ge-table-sorted-icon-div"), this.domService.setStyle(i, "position", "absolute"), this.domService.setStyle(i, "top", "0"), this.domService.setStyle(i, "right", "0"), this.domService.setStyle(i, "width", "20px"), this.domService.setStyle(i, "background", "transparent"), this.domService.setStyle(i, "cursor", "pointer"), this.domService.setAttribute(i, "data-col-index", `${o}`), this.domService.setAttribute(i, "data-area", "header");
878
878
  let r;
@@ -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 Ve(), o = -1, i = -1, r = "body") {
886
+ addArrowDiv(e, t = "none", s = new Be(), 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;
@@ -934,22 +934,22 @@ class Qe {
934
934
  return s ? (s.innerText = "", s) : (s = this.domService.createElement("div"), t.cache[e] = s, s);
935
935
  }
936
936
  }
937
- const ee = (d) => d === "header" ? "header" : d === "footer" ? "footer" : "body";
938
- class et {
937
+ const re = (d) => d === "header" ? "header" : d === "footer" ? "footer" : "body";
938
+ class ot {
939
939
  constructor(e, t) {
940
940
  if (this.rowIdx = -1, this.colIdx = -1, this.action = null, this.inputType = null, this.className = "", e !== null && (e instanceof HTMLDivElement || e instanceof HTMLSpanElement || e instanceof HTMLInputElement)) {
941
941
  this.className = e.className, this.action = e.getAttribute("data-ge-action"), this.inputType = e.getAttribute("data-input-type"), this.rowIdx = Number(e.getAttribute("data-row-index")), this.colIdx = Number(e.getAttribute("data-col-index"));
942
942
  const s = e.getAttribute("data-area");
943
- if (s && (this.areaIdent = ee(s), this.areaModel = t.tableModel.getAreaModel(this.areaIdent), this.row = this.areaModel.getRowByIndex(this.rowIdx)), e instanceof HTMLInputElement) {
943
+ if (s && (this.areaIdent = re(s), this.areaModel = t.tableModel.getAreaModel(this.areaIdent), this.row = this.areaModel.getRowByIndex(this.rowIdx)), e instanceof HTMLInputElement) {
944
944
  const o = e;
945
945
  this.value = o.value;
946
946
  }
947
947
  }
948
948
  }
949
949
  }
950
- class tt {
950
+ class it {
951
951
  constructor(e) {
952
- this.tableScope = e, this.doubleClickDelay = 500, this.expandedAll = !0, this.mouseDown = !1, this.dragging = !1, this.lastClicked = 0, this.tableScope.hostElement.addEventListener("click", this.onHostElementClicked.bind(this)), this.tableScope.hostElement.addEventListener("dblclick", this.onHostElementDblClicked.bind(this)), this.tableScope.hostElement.addEventListener("mousedown", this.onMouseDown.bind(this)), this.tableScope.hostElement.addEventListener("mousemove", this.onMouseMove.bind(this)), this.tableScope.hostElement.addEventListener("mouseup", this.onMouseUp.bind(this)), this.tableScope.hostElement.addEventListener("contextmenu", this.onContextmenu.bind(this)), this.tableScope.hostElement._MouseHandler = "true", this.tableScope.scrollViewport.addEventListener("scroll", this.tableScope.adjustAfterScrolling.bind(this.tableScope)), [window, this.tableScope.hostElement].forEach(
952
+ this.tableScope = e, this.doubleClickDelay = 500, this.expandedAll = !0, this.mouseDown = !1, this.dragging = !1, this.lastClicked = 0, this.tableScope.hostElement.addEventListener("click", this.onHostElementClicked.bind(this)), this.tableScope.hostElement.addEventListener("dblclick", this.onHostElementDblClicked.bind(this)), this.tableScope.hostElement.addEventListener("mousedown", this.onMouseDown.bind(this)), this.tableScope.hostElement.addEventListener("mousemove", this.onMouseMove.bind(this)), this.tableScope.hostElement.addEventListener("mouseup", this.onMouseUp.bind(this)), this.tableScope.hostElement.addEventListener("contextmenu", this.onContextmenu.bind(this)), this.tableScope.hostElement._MouseHandler = "true", this.tableScope.scrollViewport.addEventListener("scroll", this.tableScope.adjustAfterScrolling.bind(this.tableScope)), this.tableScope.scrollViewport.addEventListener("wheel", this.tableScope.onWheel.bind(this.tableScope), { passive: !1 }), [window, this.tableScope.hostElement].forEach(
953
953
  (t) => t.addEventListener("resize", this.tableScope.adjustContainersAndRows.bind(this.tableScope))
954
954
  );
955
955
  }
@@ -979,14 +979,14 @@ class tt {
979
979
  return;
980
980
  }
981
981
  this.lastClicked = t;
982
- const s = new et(e.target, this.tableScope);
982
+ const s = new ot(e.target, this.tableScope);
983
983
  if (s.action === "toggleExpandCollapseAll")
984
984
  this.expandedAll = !this.expandedAll, this.tableScope.toggleExpandCollapseAll(this.expandedAll), e.preventDefault(), e.stopPropagation();
985
985
  else if (s.action === "toggleHeaderGroup")
986
986
  this.tableScope.toggleHeaderGroup(s), e.preventDefault(), e.stopPropagation();
987
987
  else if (s.inputType === "checkbox" && s.areaIdent)
988
988
  this.tableScope.toggleRowCheckbox(s.rowIdx, s.colIdx, s.areaIdent), e.preventDefault(), e.stopPropagation();
989
- else if (G(s.row) && s.areaModel) {
989
+ else if (j(s.row) && s.areaModel) {
990
990
  const o = s.colIdx === this.getArrowColumnIndex() && e.altKey, i = s.className.includes("ge-table-tree-arrow-div");
991
991
  if (o || i) {
992
992
  e.preventDefault(), e.stopPropagation();
@@ -1008,12 +1008,12 @@ class tt {
1008
1008
  */
1009
1009
  onHostElementDblClicked(e) {
1010
1010
  if (this.lastClicked = Date.now(), e.target instanceof HTMLElement) {
1011
- const t = e.target, s = t.getAttribute("data-area"), o = ee(s), i = Number(t.getAttribute("data-row-index")), r = Number(t.getAttribute("data-col-index")), n = this.tableScope.tableModel.getAreaModel(o);
1011
+ const t = e.target, s = t.getAttribute("data-area"), o = re(s), i = Number(t.getAttribute("data-row-index")), r = Number(t.getAttribute("data-col-index")), n = this.tableScope.tableModel.getAreaModel(o);
1012
1012
  if (s && o === "header")
1013
1013
  this.tableScope.tableModel.isSortable(r) && (this.tableScope.clearSelection(), this.tableScope.onHeaderDblClicked(e, i, r));
1014
1014
  else if (t.getAttribute("data-row-index")) {
1015
1015
  const l = n.getRowByIndex(i);
1016
- if (s && o === "body" && n.isEditable(i, r) && (this.tableScope.clearSelection(), this.tableScope.initRenderEditor(i, r)), G(l) && r === this.getArrowColumnIndex()) {
1016
+ if (s && o === "body" && n.isEditable(i, r) && (this.tableScope.clearSelection(), this.tableScope.initRenderEditor(i, r)), j(l) && r === this.getArrowColumnIndex()) {
1017
1017
  e.preventDefault(), e.stopPropagation();
1018
1018
  const a = l;
1019
1019
  a.expanded = !a.expanded, "recalcVisibleTreeRows" in n && n.recalcVisibleTreeRows(), this.tableScope.tableModel.recalcSize(this.tableScope.hostElement.clientWidth), this.tableScope.adjustContainersAndRows(), this.updateCollapsedExpandedState(a);
@@ -1081,7 +1081,7 @@ class tt {
1081
1081
  }
1082
1082
  }
1083
1083
  }
1084
- class pe {
1084
+ class be {
1085
1085
  constructor(e, t = [], s = -1) {
1086
1086
  this.areaIdent = e, this.columnDefs = t, this.defaultRowHeight = s, this.rowSelectionModel = void 0, this.yPositions = [], this.cellRenderers = t.map((o) => o.rendererMap[e]);
1087
1087
  }
@@ -1179,7 +1179,7 @@ class pe {
1179
1179
  this.yPositions[t + 1] = this.getRowHeight(t) + this.yPositions[t];
1180
1180
  }
1181
1181
  }
1182
- class ge {
1182
+ class ye {
1183
1183
  genericSortComparator(e, t, s) {
1184
1184
  if (typeof e == "number" && typeof t == "number")
1185
1185
  return s * (e - t);
@@ -1197,7 +1197,7 @@ class ge {
1197
1197
  return s * ("" + e).localeCompare("" + t);
1198
1198
  }
1199
1199
  }
1200
- class _ extends pe {
1200
+ class _ extends be {
1201
1201
  /**
1202
1202
  * Creates an instance of AreaModelObjectArray.
1203
1203
  *
@@ -1228,7 +1228,7 @@ class _ extends pe {
1228
1228
  * );
1229
1229
  */
1230
1230
  constructor(e, t, s, o = [], i = "ge-selected-row", r = "ge-focused-row") {
1231
- super(e, o, s), this.areaIdent = e, this.rows = t, this.defaultRowHeight = s, this.columnDefs = o, this.selectedRowClass = i, this.focusedRowClass = r, this.sorterService = new ge(), this._focusedRowIndex = 0, this.filteredRows = [...t], this.properties = o.map((n) => n.property);
1231
+ super(e, o, s), this.areaIdent = e, this.rows = t, this.defaultRowHeight = s, this.columnDefs = o, this.selectedRowClass = i, this.focusedRowClass = r, this.sorterService = new ye(), this._focusedRowIndex = 0, this.filteredRows = [...t], this.properties = o.map((n) => n.property);
1232
1232
  }
1233
1233
  /**
1234
1234
  * Gets the index of the currently focused row.
@@ -1323,7 +1323,7 @@ class _ extends pe {
1323
1323
  getValueAt(e, t) {
1324
1324
  const s = this.properties[t];
1325
1325
  let o = this.filteredRows[e];
1326
- return G(o) && (o = o.data), o ? this.getValueByT(o, s) : "";
1326
+ return j(o) && (o = o.data), o ? this.getValueByT(o, s) : "";
1327
1327
  }
1328
1328
  /**
1329
1329
  * Retrieves the filtered and sorted rows from the dataset.
@@ -1430,6 +1430,15 @@ class _ extends pe {
1430
1430
  getRowHeight(e) {
1431
1431
  return this.defaultRowHeight;
1432
1432
  }
1433
+ /**
1434
+ * All rows share `defaultRowHeight` – unless a subclass overrides `getRowHeight()`, then row heights may
1435
+ * vary and `undefined` is returned.
1436
+ *
1437
+ * @returns {number | undefined} The constant row height or `undefined`.
1438
+ */
1439
+ getConstantRowHeight() {
1440
+ return this.getRowHeight === _.prototype.getRowHeight && this.defaultRowHeight > 0 ? this.defaultRowHeight : void 0;
1441
+ }
1433
1442
  /**
1434
1443
  * Returns the row object at the specified index from the filtered rows array.
1435
1444
  * This method overrides the parent class implementation.
@@ -1631,7 +1640,7 @@ class _ extends pe {
1631
1640
  return o && t.length ? this.getPropertyValue(o, t) : o;
1632
1641
  }
1633
1642
  }
1634
- class st {
1643
+ class rt {
1635
1644
  constructor(e) {
1636
1645
  this.tableScope = e;
1637
1646
  }
@@ -2979,7 +2988,7 @@ class st {
2979
2988
  return this.tableScope.loggingActive;
2980
2989
  }
2981
2990
  }
2982
- class fe {
2991
+ class we {
2983
2992
  constructor(e) {
2984
2993
  this.getStorageKeyFn = e;
2985
2994
  }
@@ -3046,7 +3055,7 @@ class fe {
3046
3055
  // }
3047
3056
  // }
3048
3057
  }
3049
- class ot extends fe {
3058
+ class nt extends we {
3050
3059
  constructor(e) {
3051
3060
  super(e), this.SCROLL_STATE = "scrollState", this.scrollOffset = [0, 0], this.load();
3052
3061
  }
@@ -3068,14 +3077,14 @@ class ot extends fe {
3068
3077
  }
3069
3078
  }
3070
3079
  }
3071
- class it {
3080
+ class lt {
3072
3081
  constructor(e = "collapsed", t = [], s = !1, o = !1) {
3073
3082
  this.mode = e, this.rowIds = t, this.allCollapsed = s, this.allExpanded = o;
3074
3083
  }
3075
3084
  }
3076
- class rt extends fe {
3085
+ class at extends we {
3077
3086
  constructor(e) {
3078
- super(e), this.COLLAPSED_EXPANDED_STATE = "collapsedExpandedState", this.collapsedExpandedState = new it(), this.load();
3087
+ super(e), this.COLLAPSED_EXPANDED_STATE = "collapsedExpandedState", this.collapsedExpandedState = new lt(), this.load();
3079
3088
  }
3080
3089
  collapsedExpandedStateGet() {
3081
3090
  return this.collapsedExpandedState;
@@ -3107,7 +3116,7 @@ class rt extends fe {
3107
3116
  this.checkAndPersistItem(this.COLLAPSED_EXPANDED_STATE, this.collapsedExpandedState);
3108
3117
  }
3109
3118
  }
3110
- class nt extends fe {
3119
+ class ct extends we {
3111
3120
  constructor(e) {
3112
3121
  super(e), this.SORTING_STATE = "sortingState", this.sortItems = [], this.load();
3113
3122
  }
@@ -3128,14 +3137,14 @@ class nt extends fe {
3128
3137
  }
3129
3138
  }
3130
3139
  }
3131
- class L {
3140
+ class O {
3132
3141
  constructor(e = 0, t = 0, s = 0, o = 0, i) {
3133
3142
  this.left = e, this.width = t, this.height = s, this.top = o, this.index = i;
3134
3143
  }
3135
3144
  }
3136
- class lt {
3145
+ const se = class se {
3137
3146
  constructor(e, t, s, o) {
3138
- this.hostElement = e, this.tableModel = t, this.dom = s, this.tableOptions = o, this.scrollTop = 0, this.areaBodyWestGeo = new L(), this.areaBodyCenterGeo = new L(), this.areaBodyEastGeo = new L();
3147
+ this.hostElement = e, this.tableModel = t, this.dom = s, this.tableOptions = o, this.scrollTop = 0, this.areaBodyWestGeo = new O(), this.areaBodyCenterGeo = new O(), this.areaBodyEastGeo = new O();
3139
3148
  const i = this.hostElement;
3140
3149
  i.innerText = "", this.dom.setAttribute(i, "tabindex", "0"), this.dom.setStyle(
3141
3150
  this.dom.addClass("ge-table", i),
@@ -3300,11 +3309,13 @@ class lt {
3300
3309
  * @returns {void} Returns nothing.
3301
3310
  */
3302
3311
  resetSizeOfWrapperDiv() {
3303
- const e = `${this.tableModel.getContentWidthInPixel()}px`, t = `${this.tableModel.getContentHeightInPixel() + 1}px`;
3304
- this.dom.setStyle(this.contentWrapperDiv, "width", e), this.dom.setStyle(this.contentWrapperDiv, "height", t);
3312
+ const e = `${this.tableModel.getContentWidthInPixel()}px`, t = this.tableModel.getContentHeightInPixel() + 1, s = `${Math.min(t, se.maxScrollHeightInPx)}px`;
3313
+ this.dom.setStyle(this.contentWrapperDiv, "width", e), this.dom.setStyle(this.contentWrapperDiv, "height", s);
3305
3314
  }
3306
- }
3307
- class A {
3315
+ };
3316
+ se.maxScrollHeightInPx = 8e6;
3317
+ let Q = se;
3318
+ class M {
3308
3319
  /**
3309
3320
  * Represents a constructor for a class.
3310
3321
  * @constructor
@@ -3318,7 +3329,7 @@ class A {
3318
3329
  this.r1 = e, this.c1 = t, this.r2 = s, this.c2 = o, this.gammaRange = i;
3319
3330
  }
3320
3331
  static create(e) {
3321
- return e.gammaRange === void 0 && (e.gammaRange = !1), new A(
3332
+ return e.gammaRange === void 0 && (e.gammaRange = !1), new M(
3322
3333
  e.rowIndex1,
3323
3334
  e.columnIndex1,
3324
3335
  e.rowIndex2,
@@ -3327,19 +3338,19 @@ class A {
3327
3338
  );
3328
3339
  }
3329
3340
  static singleCell(e, t) {
3330
- return new A(e, t, e, t);
3341
+ return new M(e, t, e, t);
3331
3342
  }
3332
3343
  static singleRow(e) {
3333
- return new A(e, 0, e, Number.MAX_SAFE_INTEGER);
3344
+ return new M(e, 0, e, Number.MAX_SAFE_INTEGER);
3334
3345
  }
3335
3346
  static singleColumn(e) {
3336
- return new A(0, e, Number.MAX_SAFE_INTEGER, e);
3347
+ return new M(0, e, Number.MAX_SAFE_INTEGER, e);
3337
3348
  }
3338
3349
  isInRange(e, t) {
3339
3350
  return e >= this.r1 && e <= this.r2 && t >= this.c1 && t <= this.c2;
3340
3351
  }
3341
3352
  }
3342
- class at {
3353
+ class dt {
3343
3354
  constructor(e, t) {
3344
3355
  this.tableModel = e, this.areaModel = t, this.colAndRowspanRanges = void 0;
3345
3356
  }
@@ -3355,7 +3366,7 @@ class at {
3355
3366
  i === 0 && (i = 1), r === 0 && (r = 1);
3356
3367
  const n = "gammaCells" in this.areaModel;
3357
3368
  this.colAndRowspanRanges.push(
3358
- new A(s, o, s + r - 1, o + i - 1, n)
3369
+ new M(s, o, s + r - 1, o + i - 1, n)
3359
3370
  );
3360
3371
  }
3361
3372
  }
@@ -3377,17 +3388,17 @@ class T {
3377
3388
  this.header = e, this.body = t, this.footer = s;
3378
3389
  }
3379
3390
  }
3380
- class ct extends lt {
3391
+ class ht extends Q {
3381
3392
  constructor(e, t, s, o) {
3382
3393
  var r, n;
3383
3394
  super(e, t, s, o), this.firstVisibleRowIndex = -1, this.lastVisibleRowIndex = -1, this.firstFullVisibleRowIndex = -1, this.lastFullVisibleRowIndex = -1, this.displayedRowCount = 0, this.pixelLimitForFullVisible = 5, this.loggingActive = !1, this.dragging = !1, this.editing = !1, this.storedColumnWidths = [], this.scrollLeft = 0, this.scrollViewportLeft = 0, this.scrollFactorY = 0, this.scrollFactorX = 0, this.cleanupFunctions = {
3384
3395
  header: [],
3385
3396
  body: [],
3386
3397
  footer: []
3387
- }, this.tree = !1, this.colAndRowspanModels = new T(), this.draggingTargetColumnIndex = -1, this.removables = [], this.tableModel.getSelectionModel ? this.getSelectionModel = this.tableModel.getSelectionModel : (r = this.tableOptions) != null && r.getSelectionModel && (this.getSelectionModel = this.tableOptions.getSelectionModel), (n = this.tableOptions) != null && n.getFocusModel && (this.getFocusModel = this.tableOptions.getFocusModel), re(t.getAreaModel("body")) && (this.tree = !0), ["header", "body", "footer"].forEach(
3398
+ }, this.tree = !1, this.colAndRowspanModels = new T(), this.draggingTargetColumnIndex = -1, this.contentScrollTop = 0, this.removables = [], this.tableModel.getSelectionModel ? this.getSelectionModel = this.tableModel.getSelectionModel : (r = this.tableOptions) != null && r.getSelectionModel && (this.getSelectionModel = this.tableOptions.getSelectionModel), (n = this.tableOptions) != null && n.getFocusModel && (this.getFocusModel = this.tableOptions.getFocusModel), ce(t.getAreaModel("body")) && (this.tree = !0), ["header", "body", "footer"].forEach(
3388
3399
  (l) => {
3389
3400
  var a;
3390
- this.colAndRowspanModels[l] = new at(t, t.getAreaModel(l)), (a = this.colAndRowspanModels[l]) == null || a.init();
3401
+ this.colAndRowspanModels[l] = new dt(t, t.getAreaModel(l)), (a = this.colAndRowspanModels[l]) == null || a.init();
3391
3402
  }
3392
3403
  );
3393
3404
  }
@@ -3469,23 +3480,39 @@ class ct extends lt {
3469
3480
  * to the table's appearance and behavior after a scroll event occurs.
3470
3481
  */
3471
3482
  adjustAfterScrolling() {
3472
- var e;
3473
- for (const t of this.removables)
3474
- t.remove();
3475
- this.hideHoverRow(), this.hideHoverColumn(), this.scrollTop = this.scrollViewport.scrollTop, this.scrollLeft = this.scrollViewport.scrollLeft, this.debounce(this.checkForScrollPosSaving.bind(this)), this.scrollFactorY = this.scrollTop / (this.scrollViewport.scrollHeight - this.scrollViewport.clientHeight), this.scrollFactorX = this.scrollLeft / (this.scrollViewport.scrollWidth - this.scrollViewport.clientWidth), isNaN(this.scrollFactorY) && (this.scrollFactorY = 0), isNaN(this.scrollFactorX) && (this.scrollFactorX = 0), this.adjustBody(), this.adjustArea("footer"), this.adjustArea("header"), this.tableOptions.tableTopBorderVisible && this.removables.push(this.dom.addHorizontalBorder(
3476
- new L(0, this.hostElement.clientWidth, 1, 0),
3483
+ var i;
3484
+ for (const r of this.removables)
3485
+ r.remove();
3486
+ if (this.hideHoverRow(), this.hideHoverColumn(), this.scrollTop = this.scrollViewport.scrollTop, this.scrollLeft = this.scrollViewport.scrollLeft, this.scrollViewportLeft = this.scrollLeft, this.debounce(this.checkForScrollPosSaving.bind(this)), this.scrollFactorY = this.scrollTop / (this.scrollViewport.scrollHeight - this.scrollViewport.clientHeight), this.scrollFactorX = this.scrollLeft / (this.scrollViewport.scrollWidth - this.scrollViewport.clientWidth), isNaN(this.scrollFactorY) && (this.scrollFactorY = 0), this.pendingContentScroll) {
3487
+ const r = this.getContentScrollRangeY();
3488
+ Math.abs(this.scrollTop - this.pendingContentScroll.scrollTop) <= 1 && r > 0 ? this.scrollFactorY = Math.min(1, Math.max(0, this.pendingContentScroll.contentTop / r)) : this.pendingContentScroll = void 0;
3489
+ }
3490
+ isNaN(this.scrollFactorX) && (this.scrollFactorX = 0);
3491
+ const e = this.hostElement.clientWidth, t = this.hostElement.clientHeight, s = this.areaBodyWest.child.clientWidth, o = this.areaHeaderCenter.child.clientHeight;
3492
+ this.areaHeightsOfRenderPass = {
3493
+ body: this.areaBodyCenter.child.clientHeight,
3494
+ footer: this.areaFooterCenter.child.clientHeight,
3495
+ header: o
3496
+ };
3497
+ try {
3498
+ this.adjustBody(), this.adjustArea("footer"), this.adjustArea("header");
3499
+ } finally {
3500
+ this.areaHeightsOfRenderPass = void 0;
3501
+ }
3502
+ this.tableOptions.tableTopBorderVisible && this.removables.push(this.dom.addHorizontalBorder(
3503
+ new O(0, e, 1, 0),
3477
3504
  this.hostElement,
3478
3505
  "ge-table-border"
3479
3506
  )), this.tableOptions.tableBottomBorderVisible && this.removables.push(this.dom.addHorizontalBorder(
3480
- new L(0, this.hostElement.clientWidth, 1, this.hostElement.clientHeight - 1),
3507
+ new O(0, e, 1, t - 1),
3481
3508
  this.hostElement,
3482
3509
  "ge-table-border"
3483
3510
  )), this.tableModel.getFixedLeftColumnCount() > 0 && this.removables.push(this.dom.addVerticalBorder(
3484
- new L(this.areaBodyWest.child.clientWidth, 1, this.hostElement.clientHeight, 0),
3511
+ new O(s, 1, t, 0),
3485
3512
  this.hostElement,
3486
3513
  "ge-table-body-west-vertical-border"
3487
- )), ((e = this.tableModel.getAreaModel("header")) == null ? void 0 : e.getRowCount()) > 0 && this.removables.push(this.dom.addHorizontalBorder(
3488
- new L(0, this.hostElement.clientWidth, 1, this.areaHeaderCenter.child.clientHeight),
3514
+ )), ((i = this.tableModel.getAreaModel("header")) == null ? void 0 : i.getRowCount()) > 0 && this.removables.push(this.dom.addHorizontalBorder(
3515
+ new O(0, e, 1, o),
3489
3516
  this.hostElement,
3490
3517
  "ge-table-body-west-vertical-border"
3491
3518
  ));
@@ -3608,9 +3635,53 @@ class ct extends lt {
3608
3635
  * @protected
3609
3636
  * @return {void}
3610
3637
  */
3638
+ /**
3639
+ * Rounds a pixel offset to whole device pixels. The scroll offsets are derived from a scroll factor and are
3640
+ * fractional; rows and cells placed at fractional positions render blurry text and 1px borders.
3641
+ *
3642
+ * @param {number} px - offset in CSS pixels
3643
+ * @returns {number} offset snapped to the device pixel grid
3644
+ * @protected
3645
+ */
3646
+ snapToDevicePixel(e) {
3647
+ const t = typeof window < "u" && window.devicePixelRatio || 1;
3648
+ return Math.round(e * t) / t;
3649
+ }
3650
+ /**
3651
+ * True if the table content is taller than {@link EleScope.maxScrollHeightInPx}; then the scroll bar is
3652
+ * scaled and scrollTop is no longer a content pixel position.
3653
+ */
3654
+ isScrollHeightCapped() {
3655
+ return this.tableModel.getContentHeightInPixel() + 1 > Q.maxScrollHeightInPx;
3656
+ }
3657
+ /** Scrollable range of the content in content pixels (content height minus visible body height). */
3658
+ getContentScrollRangeY() {
3659
+ return this.tableModel.getContentHeightInPixel() - this.areaBodyCenterGeo.height;
3660
+ }
3661
+ /** Scrollable range of the scroll viewport in scroll bar pixels. */
3662
+ getScrollerRangeY() {
3663
+ return this.scrollViewport.scrollHeight - this.scrollViewport.clientHeight;
3664
+ }
3665
+ /**
3666
+ * Mouse wheel on a capped scroll height: scale the wheel delta, so one wheel step still moves the content
3667
+ * by the usual amount of pixels (otherwise it would jump many rows). No-op for normal tables.
3668
+ *
3669
+ * @param {WheelEvent} evt - the wheel event of the scroll viewport
3670
+ */
3671
+ onWheel(e) {
3672
+ if (e.ctrlKey || !this.isScrollHeightCapped())
3673
+ return;
3674
+ const t = this.getContentScrollRangeY(), s = this.getScrollerRangeY();
3675
+ if (t <= 0 || s <= 0)
3676
+ return;
3677
+ const o = s / t, i = e.deltaMode === 1 ? 16 : e.deltaMode === 2 ? this.scrollViewport.clientHeight : 1;
3678
+ e.preventDefault(), e.deltaY && (this.scrollViewport.scrollTop += e.deltaY * i * o), e.deltaX && (this.scrollViewport.scrollLeft += e.deltaX * i);
3679
+ }
3611
3680
  adjustBody() {
3612
- const e = this.areaBodyCenterGeo.height - this.tableModel.getContentHeightInPixel(), t = this.scrollFactorY * e;
3613
- this.dom.setStyle(this.contentDiv, "top", `${this.scrollTop}px`), this.dom.setStyle(this.contentDiv, "left", `${this.scrollViewport.scrollLeft}px`), this.adjustArea("body", t);
3681
+ const e = this.areaBodyCenterGeo.height - this.tableModel.getContentHeightInPixel(), t = this.snapToDevicePixel(this.scrollFactorY * e);
3682
+ this.contentScrollTop = -t, this.dom.setStyle(this.contentDiv, "top", `${this.scrollTop}px`);
3683
+ const s = this.areaHeightsOfRenderPass ? this.scrollLeft : this.scrollViewport.scrollLeft;
3684
+ this.dom.setStyle(this.contentDiv, "left", `${s}px`), this.adjustArea("body", t);
3614
3685
  }
3615
3686
  /**
3616
3687
  * Returns a number value extracted from the specified attribute of the source element.
@@ -3653,93 +3724,100 @@ class ct extends lt {
3653
3724
  * @protected
3654
3725
  */
3655
3726
  adjustArea(e, t = 0) {
3656
- var g;
3657
- const s = this.getArea(e, "west"), o = this.getArea(e, "center"), i = this.getArea(e, "east"), r = o.child.clientHeight;
3727
+ var x, A, k;
3728
+ const s = this.getArea(e, "west"), o = this.getArea(e, "center"), i = this.getArea(e, "east"), r = ((x = this.areaHeightsOfRenderPass) == null ? void 0 : x[e]) ?? o.child.clientHeight;
3658
3729
  s.child.innerText = "", o.child.innerText = "", i.child.innerText = "";
3659
3730
  const n = 0, l = this.areaBodyCenterGeo.width, a = this.tableModel.getPadding(), c = this.tableModel.getAreaModel(e), h = c.getRowCount();
3660
3731
  for (; this.cleanupFunctions[e].length; ) {
3661
- const b = this.cleanupFunctions[e].shift();
3662
- b && b();
3732
+ const w = this.cleanupFunctions[e].shift();
3733
+ w && w();
3663
3734
  }
3664
3735
  let u = t;
3665
3736
  const f = this.tableModel.getColumnCount(), p = this.tableModel.getFixedRightColumnCount(), m = this.tableModel.getFixedLeftColumnCount();
3666
3737
  e === "body" && (this.firstVisibleRowIndex = -1, this.firstFullVisibleRowIndex = -1, this.lastVisibleRowIndex = -1, this.lastFullVisibleRowIndex = -1);
3667
- for (let b = 0; b < h; b++) {
3668
- const w = u, S = b === h - 1, R = this.tableModel.getRowHeight(e, b);
3669
- if (w + R > 0) {
3670
- e === "body" && this.firstVisibleRowIndex === -1 && (this.firstVisibleRowIndex = b, this.firstFullVisibleRowIndex = w < -this.pixelLimitForFullVisible ? this.firstVisibleRowIndex + 1 : this.firstVisibleRowIndex);
3671
- let C = { left: n, width: l, height: R, top: w, index: b }, x = this.dom.addRowDiv(o, C, b, e, "center");
3672
- const D = m;
3738
+ let g = 0;
3739
+ const y = (A = c.getConstantRowHeight) == null ? void 0 : A.call(c);
3740
+ if (y !== void 0 && y > 0 && u < 0) {
3741
+ for (g = Math.min(h, Math.floor(-u / y)); g > 0 && u + g * y > 0; )
3742
+ g--;
3743
+ u = u + g * y;
3744
+ }
3745
+ for (let w = g; w < h; w++) {
3746
+ const S = u, I = w === h - 1, v = this.tableModel.getRowHeight(e, w);
3747
+ if (S + v > 0) {
3748
+ e === "body" && this.firstVisibleRowIndex === -1 && (this.firstVisibleRowIndex = w, this.firstFullVisibleRowIndex = S < -this.pixelLimitForFullVisible ? this.firstVisibleRowIndex + 1 : this.firstVisibleRowIndex);
3749
+ let R = { left: n, width: l, height: v, top: S, index: w }, D = this.dom.addRowDiv(o, R, w, e, "center");
3750
+ const N = m;
3673
3751
  if (this.adjustColumnsToRowParent({
3674
3752
  areaIdent: e,
3675
3753
  sideIdent: "center",
3676
3754
  areaModel: c,
3677
- geo: C,
3678
- parent: x,
3679
- rowIndex: b,
3680
- columnIndexStart: D,
3755
+ geo: R,
3756
+ parent: D,
3757
+ rowIndex: w,
3758
+ columnIndexStart: N,
3681
3759
  columnIndexEnd: f - p - 1,
3682
3760
  verticalFixed: !1,
3683
- lastRowOfModel: S
3684
- }), a.left > 0 && (C = { left: n, width: this.areaBodyWestGeo.width, height: R, top: w, index: b }, x = this.dom.addRowDiv(s, C, b, e, "west"), this.adjustColumnsToRowParent({
3761
+ lastRowOfModel: I
3762
+ }), a.left > 0 && (R = { left: n, width: this.areaBodyWestGeo.width, height: v, top: S, index: w }, D = this.dom.addRowDiv(s, R, w, e, "west"), this.adjustColumnsToRowParent({
3685
3763
  areaIdent: e,
3686
3764
  sideIdent: "west",
3687
3765
  areaModel: c,
3688
- geo: C,
3689
- parent: x,
3690
- rowIndex: b,
3766
+ geo: R,
3767
+ parent: D,
3768
+ rowIndex: w,
3691
3769
  columnIndexStart: 0,
3692
- columnIndexEnd: D - 1,
3770
+ columnIndexEnd: N - 1,
3693
3771
  verticalFixed: !0,
3694
- lastRowOfModel: S
3695
- })), a.right > 0 && (C = { left: n, width: this.areaBodyEastGeo.width, height: R, top: w, index: b }, x = this.dom.addRowDiv(i, C, b, e, "east"), this.adjustColumnsToRowParent({
3772
+ lastRowOfModel: I
3773
+ })), a.right > 0 && (R = { left: n, width: this.areaBodyEastGeo.width, height: v, top: S, index: w }, D = this.dom.addRowDiv(i, R, w, e, "east"), this.adjustColumnsToRowParent({
3696
3774
  areaIdent: e,
3697
3775
  sideIdent: "east",
3698
3776
  areaModel: c,
3699
- geo: C,
3700
- parent: x,
3701
- rowIndex: b,
3777
+ geo: R,
3778
+ parent: D,
3779
+ rowIndex: w,
3702
3780
  columnIndexStart: f - p,
3703
3781
  columnIndexEnd: f - 1,
3704
3782
  verticalFixed: !0,
3705
- lastRowOfModel: S
3706
- })), e === "header" && this.tree && b === h - 1) {
3707
- const M = this.dom.applyStyle(
3783
+ lastRowOfModel: I
3784
+ })), e === "header" && this.tree && w === h - 1) {
3785
+ const U = this.dom.applyStyle(
3708
3786
  this.dom.setAttribute(
3709
- this.dom.addDiv(x, new L(16, 20, 20, 8)),
3787
+ this.dom.addDiv(D, new O(16, 20, 20, 8)),
3710
3788
  "data-ge-action",
3711
3789
  "toggleExpandCollapseAll"
3712
3790
  ),
3713
3791
  { cursor: "pointer" }
3714
- ), I = this.tableOptions.treeOptions.arrowExpandCollapseAll;
3715
- if (I) {
3716
- const Y = this.dom.domService.createText(I.content);
3717
- this.dom.domService.appendChild(M, Y), I.style && this.dom.applyStyleString(M, I.style);
3792
+ ), C = this.tableOptions.treeOptions.arrowExpandCollapseAll;
3793
+ if (C) {
3794
+ const je = this.dom.domService.createText(C.content);
3795
+ this.dom.domService.appendChild(U, je), C.style && this.dom.applyStyleString(U, C.style);
3718
3796
  }
3719
3797
  }
3720
3798
  }
3721
- if (u = u + R, u > r) {
3722
- e === "body" && (this.lastVisibleRowIndex = b, this.lastFullVisibleRowIndex = r - u < -this.pixelLimitForFullVisible ? b - 1 : b, this.displayedRowCount = this.lastFullVisibleRowIndex - this.firstFullVisibleRowIndex + 1);
3799
+ if (u = u + v, u > r) {
3800
+ e === "body" && (this.lastVisibleRowIndex = w, this.lastFullVisibleRowIndex = r - u < -this.pixelLimitForFullVisible ? w - 1 : w, this.displayedRowCount = this.lastFullVisibleRowIndex - this.firstFullVisibleRowIndex + 1);
3723
3801
  break;
3724
3802
  }
3725
3803
  }
3726
- if (this.loggingActive && e === "body" && console.log("render scope: this.firstVisibleRowIndex <- " + this.firstVisibleRowIndex + `
3804
+ if (e === "body" && this.firstVisibleRowIndex > -1 && this.lastVisibleRowIndex === -1 && (this.lastVisibleRowIndex = h - 1, this.lastFullVisibleRowIndex = h - 1, this.displayedRowCount = this.lastFullVisibleRowIndex - this.firstFullVisibleRowIndex + 1), this.loggingActive && e === "body" && console.log("render scope: this.firstVisibleRowIndex <- " + this.firstVisibleRowIndex + `
3727
3805
  render scope: this.firstFullVisibleRowIndex <- ` + this.firstFullVisibleRowIndex + `
3728
3806
  render scope: this.lastVisibleRowIndex <- ` + this.lastVisibleRowIndex + `
3729
3807
  render scope: this.lastFullVisibleRowIndex <- ` + this.lastFullVisibleRowIndex), this.colAndRowspanModels && this.colAndRowspanModels[e]) {
3730
- const b = ((g = this.colAndRowspanModels[e]) == null ? void 0 : g.getRanges()) ?? [];
3731
- if (b.length)
3732
- for (const w of b) {
3733
- let S = 0, R = o.child, C = "center";
3734
- if (w.c1 < m)
3735
- R = s.child, C = "west";
3736
- else if (p > 0 && w.c1 >= f - p)
3737
- R = i.child, C = "east";
3808
+ const w = ((k = this.colAndRowspanModels[e]) == null ? void 0 : k.getRanges()) ?? [];
3809
+ if (w.length)
3810
+ for (const S of w) {
3811
+ let I = 0, v = o.child, R = "center";
3812
+ if (S.c1 < m)
3813
+ v = s.child, R = "west";
3814
+ else if (p > 0 && S.c1 >= f - p)
3815
+ v = i.child, R = "east";
3738
3816
  else {
3739
- const x = this.areaBodyCenterGeo.width - this.tableModel.getContentWidthInPixel();
3740
- S = this.scrollFactorX * x - this.areaBodyWestGeo.width, C = "center";
3817
+ const D = this.areaBodyCenterGeo.width - this.tableModel.getContentWidthInPixel();
3818
+ I = this.snapToDevicePixel(this.scrollFactorX * D) - this.areaBodyWestGeo.width, R = "center";
3741
3819
  }
3742
- this.drawBigCell(w, S, t, c, R, C);
3820
+ this.drawBigCell(S, I, t, c, v, R);
3743
3821
  }
3744
3822
  }
3745
3823
  }
@@ -3754,10 +3832,10 @@ render scope: this.lastFullVisibleRowIndex <- ` + this.lastFullVisibleRowIndex),
3754
3832
  * @protected
3755
3833
  */
3756
3834
  drawBigCell(e, t, s, o, i, r) {
3757
- const n = s + this.getRowHeights(0, e.r1 - 1, o).reduce((g, b) => g + b, 0), l = this.tableModel.getColumnCount(), a = this.tableModel.getFixedRightColumnCount();
3835
+ const n = s + this.getRowHeights(0, e.r1 - 1, o).reduce((g, y) => g + y, 0), l = this.tableModel.getColumnCount(), a = this.tableModel.getFixedRightColumnCount();
3758
3836
  let c = 0;
3759
3837
  a > 0 && e.c1 >= l - a && (c = l - a);
3760
- const h = t + this.getColumnWidths(c, e.c1 - 1).reduce((g, b) => g + b, 0), u = this.getRowHeights(e.r1, e.r2, o).reduce((g, b) => g + b, 0), f = this.getColumnWidths(e.c1, e.c2).reduce((g, b) => g + b, 0);
3838
+ const h = t + this.getColumnWidths(c, e.c1 - 1).reduce((g, y) => g + y, 0), u = this.getRowHeights(e.r1, e.r2, o).reduce((g, y) => g + y, 0), f = this.getColumnWidths(e.c1, e.c2).reduce((g, y) => g + y, 0);
3761
3839
  let p = !1;
3762
3840
  const m = this.getSelectionModel ? this.getSelectionModel() : void 0;
3763
3841
  m && (p = m.getSelectionCount(e.r1, e.c1) > 0), e.gammaRange ? this.renderCell({
@@ -3838,58 +3916,57 @@ render scope: this.lastFullVisibleRowIndex <- ` + this.lastFullVisibleRowIndex),
3838
3916
  lastRowOfModel: c = !1
3839
3917
  }) {
3840
3918
  var m;
3841
- this.scrollViewportLeft = this.scrollViewport.scrollLeft;
3842
3919
  let h = 0;
3843
3920
  if (!a) {
3844
3921
  const g = this.areaBodyCenterGeo.width - this.tableModel.getContentWidthInPixel();
3845
- h = this.scrollFactorX * g;
3922
+ h = this.snapToDevicePixel(this.scrollFactorX * g);
3846
3923
  }
3847
3924
  const u = 0, f = !!(e === "body" && t);
3848
3925
  let p = h;
3849
3926
  for (let g = n; g <= l; g++) {
3850
- const b = p, w = this.tableModel.getColumnWidth(g);
3851
- if (w > 0 && b + w > 0) {
3852
- let S = o.height;
3853
- const R = s.getRowspanAt(r, g), C = s.getColspanAt(r, g);
3854
- R > 1 && (S = this.getRowHeights(r, r + R - 1, s).reduce((M, I) => M + I, 0));
3855
- let x = w;
3856
- C > 1 && (x = this.getColumnWidths(g, g + C - 1).reduce((M, I) => M + I, 0));
3857
- let D = !1;
3858
- if (this.colAndRowspanModels && this.colAndRowspanModels[e] && (m = this.colAndRowspanModels[e]) != null && m.isInRange(r, g) && (D = !0), this.draggingTargetColumnIndex === g && e !== "header") {
3859
- this.renderDragTargetDiv(i, b, u, x, S);
3860
- const M = { left: b, top: u, width: x, height: S };
3861
- this.dom.addColumnBorderDivs(this.tableOptions, i, M, e, t);
3927
+ const y = p, x = this.tableModel.getColumnWidth(g);
3928
+ if (x > 0 && y + x > 0) {
3929
+ let A = o.height;
3930
+ const k = s.getRowspanAt(r, g), w = s.getColspanAt(r, g);
3931
+ k > 1 && (A = this.getRowHeights(r, r + k - 1, s).reduce((v, R) => v + R, 0));
3932
+ let S = x;
3933
+ w > 1 && (S = this.getColumnWidths(g, g + w - 1).reduce((v, R) => v + R, 0));
3934
+ let I = !1;
3935
+ if (this.colAndRowspanModels && this.colAndRowspanModels[e] && (m = this.colAndRowspanModels[e]) != null && m.isInRange(r, g) && (I = !0), this.draggingTargetColumnIndex === g && e !== "header") {
3936
+ this.renderDragTargetDiv(i, y, u, S, A);
3937
+ const v = { left: y, top: u, width: S, height: A };
3938
+ this.dom.addColumnBorderDivs(this.tableOptions, i, v, e, t);
3862
3939
  } else {
3863
- const M = this.renderSelectedBackgroundDiv(D, f, t, s, r, g, i, b, u, x, S);
3864
- "gammaCells" in s && s.getValueAt(r, g) && (D = !1), D || this.renderCell({
3940
+ const v = this.renderSelectedBackgroundDiv(I, f, t, s, r, g, i, y, u, S, A);
3941
+ "gammaCells" in s && s.getValueAt(r, g) && (I = !1), I || this.renderCell({
3865
3942
  areaModel: s,
3866
3943
  areaIdent: e,
3867
3944
  sideIdent: t,
3868
3945
  rowIndex: r,
3869
3946
  columnIndex: g,
3870
- left: b,
3947
+ left: y,
3871
3948
  top: u,
3872
- width: x,
3873
- height: S,
3949
+ width: S,
3950
+ height: A,
3874
3951
  parent: i,
3875
- cellSelected: M,
3952
+ cellSelected: v,
3876
3953
  lastRowOfModel: c,
3877
3954
  gammaRange: !0
3878
3955
  }), e === "header" && this.tableOptions.columnsResizable && this.renderHeaderCellResizeHandle({
3879
3956
  rowIndex: r,
3880
3957
  columnIndex: g,
3881
- cellLeft: b,
3958
+ cellLeft: y,
3882
3959
  cellTop: u,
3883
- cellWidth: x,
3884
- cellHeight: S,
3960
+ cellWidth: S,
3961
+ cellHeight: A,
3885
3962
  parent: i
3886
3963
  });
3887
3964
  }
3888
3965
  }
3889
- if (p = p + w, p > this.areaBodyCenterGeo.width)
3966
+ if (p = p + x, p > this.areaBodyCenterGeo.width)
3890
3967
  break;
3891
3968
  }
3892
- this.tableOptions.verticalBorderVisible && this.dom.addVerticalBorder(new L(p - 1, 1, o.height, 0), i);
3969
+ this.tableOptions.verticalBorderVisible && this.dom.addVerticalBorder(new O(p - 1, 1, o.height, 0), i);
3893
3970
  }
3894
3971
  /**
3895
3972
  * Retrieves the column index of the tree arrow column in the table.
@@ -3916,19 +3993,19 @@ render scope: this.lastFullVisibleRowIndex <- ` + this.lastFullVisibleRowIndex),
3916
3993
  parent: c,
3917
3994
  lastRowOfModel: h
3918
3995
  }) {
3919
- var we;
3996
+ var U;
3920
3997
  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);
3921
3998
  let g = "none";
3922
- if (i === this.getTreeArrowColumnIndex() && G(m)) {
3923
- const v = m;
3924
- (we = v.children) != null && we.length ? v.expanded ? g = "expanded" : g = "collapsed" : g = "hidden";
3999
+ if (i === this.getTreeArrowColumnIndex() && j(m)) {
4000
+ const C = m;
4001
+ (U = C.children) != null && U.length ? C.expanded ? g = "expanded" : g = "collapsed" : g = "hidden";
3925
4002
  }
3926
- let w;
4003
+ let x;
3927
4004
  if (t === "header") {
3928
- const v = this.tableModel.getColumnDef(i);
3929
- (!(v != null && v.sortIconVisible) || v != null && v.sortIconVisible()) && (w = v == null ? void 0 : v.sortState);
4005
+ const C = this.tableModel.getColumnDef(i);
4006
+ (!(C != null && C.sortIconVisible) || C != null && C.sortIconVisible()) && (x = C == null ? void 0 : C.sortState);
3930
4007
  }
3931
- const S = e.getValueAt(o, i), R = f ? "" : `${S}`, C = e.isRowChecked(o), x = this.dom.addColumnDiv(
4008
+ const A = e.getValueAt(o, i), k = f ? "" : `${A}`, w = e.isRowChecked(o), S = this.dom.addColumnDiv(
3932
4009
  {
3933
4010
  parent: c,
3934
4011
  geo: p,
@@ -3936,29 +4013,29 @@ render scope: this.lastFullVisibleRowIndex <- ` + this.lastFullVisibleRowIndex),
3936
4013
  columnIndex: i,
3937
4014
  areaIdent: t,
3938
4015
  sideIdent: s,
3939
- text: R,
4016
+ text: k,
3940
4017
  treeArrow: g,
3941
4018
  tableOptions: this.tableOptions,
3942
- checkedType: C,
3943
- sortState: w
4019
+ checkedType: w,
4020
+ sortState: x
3944
4021
  }
3945
- ), D = e.getTooltipAt(o, i);
3946
- D && this.dom.setAttribute(x, "title", D);
3947
- const M = this.tableModel.getColumnDef(i);
3948
- M && M.classes[t] && this.dom.addClasses(M.classes[t], x);
3949
- let I;
3950
- f && (I = f.render(x, o, i, t, e, S, this.dom.domService));
3951
- const Y = e.getCustomClassesAt(o, i);
3952
- if (Y.length && this.dom.addClasses(Y, x), this.dom.addColumnBorderDivs(this.tableOptions, c, p, t, s), h && this.dom.addHorizontalBorder({ left: r, width: n, height: l, top: a + l }, c), this.getFocusModel && t === "body") {
3953
- const v = this.getFocusModel();
3954
- v != null && v.hasFocus(o, i) && this.dom.addFocusBorderDivs(c, p, {});
4022
+ ), I = e.getTooltipAt(o, i);
4023
+ I && this.dom.setAttribute(S, "title", I);
4024
+ const v = this.tableModel.getColumnDef(i);
4025
+ v && v.classes[t] && this.dom.addClasses(v.classes[t], S);
4026
+ let R;
4027
+ f && (R = f.render(S, o, i, t, e, A, this.dom.domService));
4028
+ const D = e.getCustomClassesAt(o, i);
4029
+ if (D.length && this.dom.addClasses(D, S), 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") {
4030
+ const C = this.getFocusModel();
4031
+ C != null && C.hasFocus(o, i) && this.dom.addFocusBorderDivs(c, p, {});
3955
4032
  }
3956
- t === "header" && this.dom.setAttribute(x, "data-ge-action", "drag-column");
3957
- const te = e.getCustomStyleAt(o, i);
3958
- if (te)
3959
- for (const v in te)
3960
- this.dom.setStyle(x, v, te[v]);
3961
- return [x, I];
4033
+ t === "header" && this.dom.setAttribute(S, "data-ge-action", "drag-column");
4034
+ const N = e.getCustomStyleAt(o, i);
4035
+ if (N)
4036
+ for (const C in N)
4037
+ this.dom.setStyle(S, C, N[C]);
4038
+ return [S, R];
3962
4039
  }
3963
4040
  /**
3964
4041
  * Applies CSS classes to an HTML element.
@@ -4009,10 +4086,10 @@ render scope: this.lastFullVisibleRowIndex <- ` + this.lastFullVisibleRowIndex),
4009
4086
  */
4010
4087
  adjustHoverRows(e) {
4011
4088
  if (this.tableOptions.hoverRowVisible && e.rowIndex > -1) {
4012
- const t = this.hostElement.clientWidth, s = this.tableModel.getAreaModel("body").getRowHeight(e.rowIndex), o = e.rowTop + this.areaHeaderCenter.parent.clientHeight - this.scrollTop;
4089
+ const t = this.hostElement.clientWidth, s = this.tableModel.getAreaModel("body").getRowHeight(e.rowIndex), o = this.isScrollHeightCapped() ? this.contentScrollTop : this.scrollTop, i = e.rowTop + this.areaHeaderCenter.parent.clientHeight - o;
4013
4090
  this.dom.applyStyle(this.hoverRow, {
4014
4091
  left: "0",
4015
- top: o + "px",
4092
+ top: i + "px",
4016
4093
  width: t + "px",
4017
4094
  height: s + "px",
4018
4095
  display: "block"
@@ -4132,17 +4209,17 @@ render scope: this.lastFullVisibleRowIndex <- ` + this.lastFullVisibleRowIndex),
4132
4209
  areaIdent: t,
4133
4210
  sideIdent: o,
4134
4211
  text: m
4135
- }, b = this.dom.addColumnDiv(g);
4136
- let w;
4137
- p && (w = p.render(b, a, n, t, i, f, this.dom.domService), w && this.cleanupFunctions[t].push(w));
4138
- const S = i.getCustomClassesAt(a, n);
4139
- S.length && this.dom.addClasses(S, b);
4140
- const R = this.tableModel.getColumnDef(n);
4141
- R && R.classes[t] && this.dom.addClasses(R.classes[t], b), this.dom.addColumnBorderDivs(this.tableOptions, l, u, t, o);
4142
- const C = i.getCustomStyleAt(a, n);
4143
- if (C)
4144
- for (const x in C)
4145
- this.dom.setStyle(b, x, C[x]);
4212
+ }, y = this.dom.addColumnDiv(g);
4213
+ let x;
4214
+ p && (x = p.render(y, a, n, t, i, f, this.dom.domService), x && this.cleanupFunctions[t].push(x));
4215
+ const A = i.getCustomClassesAt(a, n);
4216
+ A.length && this.dom.addClasses(A, y);
4217
+ const k = this.tableModel.getColumnDef(n);
4218
+ k && k.classes[t] && this.dom.addClasses(k.classes[t], y), this.dom.addColumnBorderDivs(this.tableOptions, l, u, t, o);
4219
+ const w = i.getCustomStyleAt(a, n);
4220
+ if (w)
4221
+ for (const S in w)
4222
+ this.dom.setStyle(y, S, w[S]);
4146
4223
  s = s + h;
4147
4224
  }
4148
4225
  }
@@ -4277,12 +4354,12 @@ render scope: this.lastFullVisibleRowIndex <- ` + this.lastFullVisibleRowIndex),
4277
4354
  l.setAttribute(c, "data-col-index", `${t}`), l.setAttribute(c, "data-row-index", `${e}`), l.setAttribute(c, "data-area", "header"), l.setAttribute(c, "data-ge-action", "resize-column"), l.addClass(c, "ge-table-column-resize-handle"), l.setStyle(c, "display", "clip"), l.setStyle(c, "position", "absolute"), l.setStyle(c, "cursor", "col-resize"), l.setStyle(c, "left", `${s + i - a}px`), l.setStyle(c, "top", `${o}px`), l.setStyle(c, "width", `${a}px`), l.setStyle(c, "height", `${r}px`), l.appendChild(n, c);
4278
4355
  }
4279
4356
  }
4280
- class dt {
4357
+ class ut {
4281
4358
  constructor(e, t) {
4282
4359
  this.columnIndex = e, this.sortState = t;
4283
4360
  }
4284
4361
  }
4285
- class ht {
4362
+ class pt {
4286
4363
  constructor(e) {
4287
4364
  this.tableScope = e, this.tableScope.hostElement.addEventListener("change", this.onHostElementChanged.bind(this));
4288
4365
  }
@@ -4298,31 +4375,31 @@ class ht {
4298
4375
  if (e.target instanceof HTMLInputElement || e.target instanceof HTMLSelectElement || e.target instanceof HTMLTextAreaElement) {
4299
4376
  const t = e.target, s = t.getAttribute("data-area"), o = t.getAttribute("data-row-index"), i = t.getAttribute("data-col-index");
4300
4377
  if (s && o && i) {
4301
- const r = ee(s), n = Number(o), l = Number(i);
4378
+ const r = re(s), n = Number(o), l = Number(i);
4302
4379
  this.tableScope.updateModelValueAfterEdit(r, n, l, t.value);
4303
4380
  }
4304
4381
  }
4305
4382
  }
4306
4383
  }
4307
- class ut {
4384
+ class gt {
4308
4385
  constructor(e = -1, t = -1) {
4309
4386
  this.rowIndex = e, this.columnIndex = t;
4310
4387
  }
4311
4388
  }
4312
- class me {
4389
+ class xe {
4313
4390
  constructor(e) {
4314
4391
  this.cells = e;
4315
4392
  }
4316
4393
  static createSingle(e, t) {
4317
- return new me([new ut(e, t)]);
4394
+ return new xe([new gt(e, t)]);
4318
4395
  }
4319
4396
  }
4320
- class pt {
4397
+ class ft {
4321
4398
  constructor(e, t, s, o, i, r, n, l) {
4322
4399
  this.scrollTop = e, this.scrollLeft = t, this.scrollHeight = s, this.scrollWidth = o, this.clientHeight = i, this.clientWidth = r, this.scrollFactorY = n, this.scrollFactorX = l;
4323
4400
  }
4324
4401
  }
4325
- class gt {
4402
+ class mt {
4326
4403
  constructor(e) {
4327
4404
  var t, s;
4328
4405
  this.tableScope = e, (t = this.tableScope.tableOptions) != null && t.getSelectionModel && (this.getSelectionModel = this.tableScope.tableOptions.getSelectionModel), (s = this.tableScope.tableOptions) != null && s.getFocusModel && (this.getFocusModel = this.tableScope.tableOptions.getFocusModel);
@@ -4332,7 +4409,7 @@ class gt {
4332
4409
  let s = !1, o = !1;
4333
4410
  if (this.getSelectionModel && this.getFocusModel) {
4334
4411
  const u = this.getSelectionModel(), f = this.getFocusModel();
4335
- u && f && (f.hasFocus(e.rowIndex, e.columnIndex) || (f.setFocus(e.rowIndex, e.columnIndex), this.tableScope.onFocusChanged(f), s = !0), (i = e.originalEvent) != null && i.shiftKey || u.hasSelection() && (u.clear(), s = !0), (r = e.originalEvent) != null && r.shiftKey && this.previousEvt ? (u.addSelection(this.createRangeByEvents(e, this.previousEvt)), o = !0, s = !0) : (n = e.originalEvent) != null && n.altKey && ((l = e.originalEvent) != null && l.ctrlKey || (a = e.originalEvent) != null && a.metaKey) ? (u.removeSelection(A.singleCell(e.rowIndex, e.columnIndex)), o = !0, s = !0) : (c = e.originalEvent) != null && c.ctrlKey || (h = e.originalEvent) != null && h.metaKey ? (u.addSelection(A.singleCell(e.rowIndex, e.columnIndex)), o = !0, s = !0) : (u.firstClick(e.rowIndex, e.columnIndex), s = !0), this.tableScope.onSelectionChanged(u));
4412
+ u && f && (f.hasFocus(e.rowIndex, e.columnIndex) || (f.setFocus(e.rowIndex, e.columnIndex), this.tableScope.onFocusChanged(f), s = !0), (i = e.originalEvent) != null && i.shiftKey || u.hasSelection() && (u.clear(), s = !0), (r = e.originalEvent) != null && r.shiftKey && this.previousEvt ? (u.addSelection(this.createRangeByEvents(e, this.previousEvt)), o = !0, s = !0) : (n = e.originalEvent) != null && n.altKey && ((l = e.originalEvent) != null && l.ctrlKey || (a = e.originalEvent) != null && a.metaKey) ? (u.removeSelection(M.singleCell(e.rowIndex, e.columnIndex)), o = !0, s = !0) : (c = e.originalEvent) != null && c.ctrlKey || (h = e.originalEvent) != null && h.metaKey ? (u.addSelection(M.singleCell(e.rowIndex, e.columnIndex)), o = !0, s = !0) : (u.firstClick(e.rowIndex, e.columnIndex), s = !0), this.tableScope.onSelectionChanged(u));
4336
4413
  }
4337
4414
  return o ? this.previousEvt = void 0 : this.previousEvt = e == null ? void 0 : e.clone(), s;
4338
4415
  }
@@ -4355,7 +4432,7 @@ class gt {
4355
4432
  createRangeByEvents(e, t) {
4356
4433
  t || (t = e);
4357
4434
  const s = Math.min(e.rowIndex, t == null ? void 0 : t.rowIndex), o = Math.max(e.rowIndex, t == null ? void 0 : t.rowIndex), i = Math.min(e.columnIndex, t == null ? void 0 : t.columnIndex), r = Math.max(e.columnIndex, t == null ? void 0 : t.columnIndex);
4358
- return A.create({
4435
+ return M.create({
4359
4436
  rowIndex1: s,
4360
4437
  columnIndex1: i,
4361
4438
  rowIndex2: o,
@@ -4363,7 +4440,7 @@ class gt {
4363
4440
  });
4364
4441
  }
4365
4442
  }
4366
- class ft {
4443
+ class bt {
4367
4444
  get() {
4368
4445
  return {
4369
4446
  f2: "START_EDITING",
@@ -4383,7 +4460,7 @@ class ft {
4383
4460
  };
4384
4461
  }
4385
4462
  }
4386
- class mt {
4463
+ class yt {
4387
4464
  get() {
4388
4465
  return {
4389
4466
  f2: "START_EDITING",
@@ -4405,13 +4482,13 @@ class mt {
4405
4482
  };
4406
4483
  }
4407
4484
  }
4408
- function bt(d) {
4485
+ function wt(d) {
4409
4486
  return d.trim().replace(/\+/g, " ").replace(/ +/g, " ").replace(/⌫/g, "backspace").replace(/↩/g, "enter").replace(/⇧/g, "shift").replace(/⌥/g, "alt").replace(/option/g, "alt").replace(/opt/g, "alt").replace(/⌃/g, "ctrl").replace(/control/g, "ctrl").replace(/command/g, "cmd").replace(/meta/g, "cmd").replace(/escape/g, "esc").replace(/⌘/g, "cmd").replace(/\*/g, "multiply").split(" ").filter((e) => e).filter((e, t, s) => s.indexOf(e) === t).sort((e, t) => {
4410
4487
  const s = { cmd: 1, ctrl: 2, alt: 3, shift: 4 }, o = s[e] || 5, i = s[t] || 5;
4411
4488
  return o !== i ? o - i : e.localeCompare(t);
4412
4489
  }).join(" ");
4413
4490
  }
4414
- function Ce(d) {
4491
+ function Ae(d) {
4415
4492
  let e = d.key.toLowerCase();
4416
4493
  if (e === " " && (e = "space"), e === "arrowleft" && (e = "left"), e === "arrowright" && (e = "right"), e === "arrowup" && (e = "up"), e === "arrowdown" && (e = "down"), e === "delete" && d.code === "Delete" && (e = "delete"), e === "backspace" && (e = "backspace"), e === "escape" && (e = "esc"), e === "return" && (e = "enter"), d.code.startsWith("Numpad")) {
4417
4494
  const s = d.code.replace("Numpad", "").toLowerCase();
@@ -4419,9 +4496,9 @@ function Ce(d) {
4419
4496
  }
4420
4497
  d.code.match(/^F\d+$/) && (e = d.code.toLowerCase()), d.code.match(/^Digit\d+$/) && (e = d.code.replace(/Digit/g, ""));
4421
4498
  let t = "";
4422
- return d.ctrlKey && (t += " ctrl"), d.altKey && (t += t + " alt"), d.shiftKey && (t += t + " shift"), d.metaKey && (t += t + " cmd"), bt(t + " " + e);
4499
+ return d.ctrlKey && (t += " ctrl"), d.altKey && (t += t + " alt"), d.shiftKey && (t += t + " shift"), d.metaKey && (t += t + " cmd"), wt(t + " " + e);
4423
4500
  }
4424
- class yt {
4501
+ class xt {
4425
4502
  constructor(e) {
4426
4503
  this.tableScope = e, this.shortcutActionIdMapping = {}, this.listener = [], this.listener.push(e), this.init();
4427
4504
  }
@@ -4443,7 +4520,7 @@ class yt {
4443
4520
  (t = (e = this.tableScope) == null ? void 0 : e.tableOptions) != null && t.shortcutActionsDisabled ? this.isDebug() && console.debug("ShortcutService skipped.") : (this.assignPredefinedSystemShortcutMappings(), Object.assign(this.shortcutActionIdMapping, this.tableScope.tableOptions.shortcutActionIdMapping), this.isDebug() && console.debug("ShortcutService", this.shortcutActionIdMapping), this.tableScope.hostElement.addEventListener("keydown", this.onKeyDown.bind(this)));
4444
4521
  }
4445
4522
  assignPredefinedSystemShortcutMappings() {
4446
- this.isMacintosh() ? Object.assign(this.shortcutActionIdMapping, new mt().get()) : Object.assign(this.shortcutActionIdMapping, new ft().get());
4523
+ this.isMacintosh() ? Object.assign(this.shortcutActionIdMapping, new yt().get()) : Object.assign(this.shortcutActionIdMapping, new bt().get());
4447
4524
  }
4448
4525
  isMacintosh() {
4449
4526
  return navigator.platform.indexOf("Mac") > -1;
@@ -4466,10 +4543,10 @@ class yt {
4466
4543
  return t;
4467
4544
  }
4468
4545
  findEntity(e) {
4469
- const t = Ce(e);
4546
+ const t = Ae(e);
4470
4547
  this.isDebug() && console.debug("ShortcutService shortcut :", t);
4471
4548
  for (const s in this.shortcutActionIdMapping)
4472
- if (Ce(e) === t)
4549
+ if (Ae(e) === t)
4473
4550
  return this.isDebug() && console.debug("ShortcutService action :", this.shortcutActionIdMapping[s]), this.shortcutActionIdMapping[s];
4474
4551
  }
4475
4552
  // private areTokensEquals(tokens1: string[], tokens2: string[]): boolean {
@@ -4516,7 +4593,7 @@ class yt {
4516
4593
  return this.shortcutActionIdMapping;
4517
4594
  }
4518
4595
  }
4519
- class ne {
4596
+ class de {
4520
4597
  onCheckboxChanged(e) {
4521
4598
  }
4522
4599
  onContextmenu(e) {
@@ -4538,7 +4615,7 @@ class ne {
4538
4615
  onFocusChanged(e) {
4539
4616
  }
4540
4617
  }
4541
- class wt {
4618
+ class St {
4542
4619
  setStyle(e, t, s) {
4543
4620
  return e.style[t] = s, e;
4544
4621
  }
@@ -4565,7 +4642,7 @@ class wt {
4565
4642
  e.setAttribute(t, s);
4566
4643
  }
4567
4644
  }
4568
- class xt {
4645
+ class Ct {
4569
4646
  render(e, t, s, o, i, r, n) {
4570
4647
  if (i.isEditable(t, s)) {
4571
4648
  n.addClass(e, "ge-table-row-input-div");
@@ -4586,7 +4663,7 @@ class xt {
4586
4663
  }
4587
4664
  }
4588
4665
  }
4589
- class be {
4666
+ class Se {
4590
4667
  constructor(e = "none", t = "single") {
4591
4668
  this.selectionType = e, this.selectionMode = t, this.ranges = [], this.negativeRanges = [], this.allSelected = !1, this.silent = !1, this.listenerArr = [];
4592
4669
  }
@@ -4605,7 +4682,7 @@ class be {
4605
4682
  this.silent || this.listenerArr.forEach((e) => e.onSelectionChanged(this));
4606
4683
  }
4607
4684
  firstClick(e, t) {
4608
- this.selectionType === "row" ? this.addRange(A.singleRow(e)) : this.selectionType === "column" && this.addRange(A.singleColumn(t));
4685
+ this.selectionType === "row" ? this.addRange(M.singleRow(e)) : this.selectionType === "column" && this.addRange(M.singleColumn(t));
4609
4686
  }
4610
4687
  getSelectionCount(e, t) {
4611
4688
  let s = 0;
@@ -4656,10 +4733,10 @@ class be {
4656
4733
  if (this.selectionType === "none")
4657
4734
  return;
4658
4735
  let t = e;
4659
- this.selectionType === "row" ? t = A.singleRow(e.r1) : this.selectionType === "column" && (t = A.singleColumn(e.c1)), this.negativeRanges.push(t), this.fireChangeEvent();
4736
+ this.selectionType === "row" ? t = M.singleRow(e.r1) : this.selectionType === "column" && (t = M.singleColumn(e.c1)), this.negativeRanges.push(t), this.fireChangeEvent();
4660
4737
  }
4661
4738
  togglePoint(e, t) {
4662
- this.getSelectionCount(e, t) > 0 ? this.removeSelection(A.singleCell(e, t)) : this.addSelection(A.singleCell(e, t));
4739
+ this.getSelectionCount(e, t) > 0 ? this.removeSelection(M.singleCell(e, t)) : this.addSelection(M.singleCell(e, t));
4663
4740
  }
4664
4741
  isSelected(e, t) {
4665
4742
  return this.getSelectionCount(e, t) > 0;
@@ -4668,7 +4745,7 @@ class be {
4668
4745
  this.selectionType !== "none" && (this.allSelected = !1, this.selectionMode === "single" && (this.ranges = []), this.selectionType === "row" ? (e.c1 = 0, e.c2 = Number.MAX_SAFE_INTEGER) : this.selectionType === "column" ? (e.r1 = 0, e.r2 = Number.MAX_SAFE_INTEGER) : this.selectionType === "cell" ? (e.r2 = e.r1, e.c2 = e.c1) : this.selectionType, this.ranges.push(e), this.fireChangeEvent());
4669
4746
  }
4670
4747
  }
4671
- class St {
4748
+ class vt {
4672
4749
  constructor(e = "none") {
4673
4750
  this.selectionType = e, this.rowIndex = -1, this.columnIndex = -1, this.changed = !1, this.listenerArr = [];
4674
4751
  }
@@ -4705,12 +4782,12 @@ class St {
4705
4782
  return [this.rowIndex, this.columnIndex];
4706
4783
  }
4707
4784
  }
4708
- class ye {
4709
- constructor(e = new O(
4785
+ class Ce {
4786
+ constructor(e = new V(
4710
4787
  "❯",
4711
4788
  "",
4712
4789
  ["gt-table-icon-expanded"]
4713
- ), t = new O(
4790
+ ), t = new V(
4714
4791
  "❯",
4715
4792
  "transform: rotate(180deg) translate(-100%, -100%); transform-origin: 0 0;",
4716
4793
  ["ge-table-icon-collapsed"]
@@ -4719,17 +4796,17 @@ class ye {
4719
4796
  }
4720
4797
  // `⊖ `, `⊕ `;
4721
4798
  }
4722
- const Ct = new be(), vt = new St("cell");
4799
+ const Rt = new Se(), At = new vt("cell");
4723
4800
  class J {
4724
4801
  constructor() {
4725
4802
  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
4803
  header: 34,
4727
4804
  body: 34,
4728
4805
  footer: 34
4729
- }, this.footerVerticalSeparator = !1, this.headerToggleExpandCollapseIcons = !1, this.headerVerticalSeparator = !1, this.treeOptions = new Ve(), this.headerGroupOptions = new ye(), this.showCheckboxWihoutExtraColumn = !1, this.externalFilterFunction = void 0, this.sortedOptions = new Be(), this.sortOrder = ["asc", "desc"], this.shortcutActionsDisabled = !1, this.resizeEventDebounceDelay = 500, this.getEditRenderer = (e, t) => new xt(), this.getSelectionModel = () => Ct, this.getFocusModel = () => vt;
4806
+ }, this.footerVerticalSeparator = !1, this.headerToggleExpandCollapseIcons = !1, this.headerVerticalSeparator = !1, this.treeOptions = new Be(), this.headerGroupOptions = new Ce(), this.showCheckboxWihoutExtraColumn = !1, this.externalFilterFunction = void 0, this.sortedOptions = new We(), this.sortOrder = ["asc", "desc"], this.shortcutActionsDisabled = !1, this.resizeEventDebounceDelay = 500, this.getEditRenderer = (e, t) => new Ct(), this.getSelectionModel = () => Rt, this.getFocusModel = () => At;
4730
4807
  }
4731
4808
  }
4732
- const N = class N {
4809
+ const z = class z {
4733
4810
  /**
4734
4811
  * Returns the content to be copied based on the provided table model, selection model, and focus model.
4735
4812
  *
@@ -4752,9 +4829,9 @@ const N = class N {
4752
4829
  const h = t.isSelected(l, c) ? e.getBodyModel().getTextValueAt(l, c) : "";
4753
4830
  a.push(h);
4754
4831
  }
4755
- n.push(a.join(N.columnSeparatorChar));
4832
+ n.push(a.join(z.columnSeparatorChar));
4756
4833
  }
4757
- return o(n.join(N.rowSeparatorChar));
4834
+ return o(n.join(z.rowSeparatorChar));
4758
4835
  }
4759
4836
  }
4760
4837
  if (s) {
@@ -4807,23 +4884,23 @@ const N = class N {
4807
4884
  mergeRanges(e) {
4808
4885
  let t;
4809
4886
  for (const s of e)
4810
- t ? (t.r1 = Math.min(t.r1, s.r1), t.c1 = Math.min(t.c1, s.c1), t.r2 = Math.max(t.r2, s.r2), t.c2 = Math.max(t.c2, s.c2)) : t = new A(s.r1, s.c1, s.r2, s.c2);
4887
+ t ? (t.r1 = Math.min(t.r1, s.r1), t.c1 = Math.min(t.c1, s.c1), t.r2 = Math.max(t.r2, s.r2), t.c2 = Math.max(t.c2, s.c2)) : t = new M(s.r1, s.c1, s.r2, s.c2);
4811
4888
  return t;
4812
4889
  }
4813
4890
  };
4814
- N.columnSeparatorChar = " ", N.rowSeparatorChar = `
4891
+ z.columnSeparatorChar = " ", z.rowSeparatorChar = `
4815
4892
  `;
4816
- let q = N;
4817
- class Rt {
4893
+ let ee = z;
4894
+ class Mt {
4818
4895
  constructor(e, t = 500) {
4819
- this.tableScope = e, this.debounceDelay = t, new ResizeObserver(Ge(this.handleResize.bind(this), t)).observe(this.tableScope.hostElement);
4896
+ this.tableScope = e, this.debounceDelay = t, new ResizeObserver(Ue(this.handleResize.bind(this), t)).observe(this.tableScope.hostElement);
4820
4897
  }
4821
4898
  handleResize(e) {
4822
4899
  const t = e[0], { width: s } = t.contentRect;
4823
4900
  this.tableScope.recalcColumnWidths(s);
4824
4901
  }
4825
4902
  }
4826
- class At {
4903
+ class It {
4827
4904
  /**
4828
4905
  * Downloads a matrix data as an Excel file.
4829
4906
  *
@@ -4929,14 +5006,14 @@ class At {
4929
5006
  return this.createZip(s);
4930
5007
  }
4931
5008
  }
4932
- class He extends ct {
4933
- constructor(e, t, s, o, i, r = new q(), n = new At()) {
5009
+ class Ne extends ht {
5010
+ constructor(e, t, s, o, i, r = new ee(), n = new It()) {
4934
5011
  var c;
4935
- if (super(e, t, new Qe(s), o), this.eventListener = i, this.copyService = r, this.excelService = n, this.licenseManager = W.getInstance(), this.selectionService = new gt(this), this.api = new st(this), this.mouseStartAction = "", this.mouseStartWidth = -1, this.mouseStartColumnIndex = -1, this.dragFrom = -1, this.dragTo = -1, this.lastDragFrom = -1, this.lastDragTo = -1, this.firstDraggingRendering = !0, this.lastContextmenu = Date.now(), t.setTableScope(this), i || (this.eventListener = new ne()), (c = this.tableOptions) != null && c.autoRestoreOptions) {
5012
+ if (super(e, t, new st(s), o), this.eventListener = i, this.copyService = r, this.excelService = n, this.licenseManager = G.getInstance(), this.selectionService = new mt(this), this.api = new rt(this), this.mouseStartAction = "", this.mouseStartWidth = -1, this.mouseStartColumnIndex = -1, this.dragFrom = -1, this.dragTo = -1, this.lastDragFrom = -1, this.lastDragTo = -1, this.firstDraggingRendering = !0, this.lastContextmenu = Date.now(), t.setTableScope(this), i || (this.eventListener = new de()), (c = this.tableOptions) != null && c.autoRestoreOptions) {
4936
5013
  const h = this.tableOptions.autoRestoreOptions, u = h.getStorageKeyFn;
4937
- u && (h.autoRestoreScrollPosition && (this.storeScrollPosStateService = new ot(u)), h.autoRestoreCollapsedExpandedState && (this.storeStateCollapsedExpandService = new rt(u)), h.autoRestoreSortingState && (this.storeSortingService = new nt(u)));
5014
+ u && (h.autoRestoreScrollPosition && (this.storeScrollPosStateService = new nt(u)), h.autoRestoreCollapsedExpandedState && (this.storeStateCollapsedExpandService = new at(u)), h.autoRestoreSortingState && (this.storeSortingService = new ct(u)));
4938
5015
  }
4939
- this.mouseHandler = new tt(this), this.inputHandler = new ht(this), this.resizeHandler = new Rt(this, o.resizeEventDebounceDelay), this.shortcutService = new yt(this), this.shortcutService.addListener(this.selectionService);
5016
+ this.mouseHandler = new it(this), this.inputHandler = new pt(this), this.resizeHandler = new Mt(this, o.resizeEventDebounceDelay), this.shortcutService = new xt(this), this.shortcutService.addListener(this.selectionService);
4940
5017
  const l = this.getSelectionModel ? this.getSelectionModel() : void 0;
4941
5018
  l && l.addEventSelectionChangedListener(this);
4942
5019
  const a = this.getFocusModel ? this.getFocusModel() : void 0;
@@ -4954,8 +5031,8 @@ class He extends ct {
4954
5031
  *
4955
5032
  * @return {TableScope} - The newly created TableScope instance.
4956
5033
  */
4957
- static create(e, t, s = new J(), o = new ne(), i = new wt(), r = new q()) {
4958
- return new He(e, t, i, s, o, r);
5034
+ static create(e, t, s = new J(), o = new de(), i = new St(), r = new ee()) {
5035
+ return new Ne(e, t, i, s, o, r);
4959
5036
  }
4960
5037
  /**
4961
5038
  * Triggers an action based on the provided actionId.
@@ -4983,7 +5060,8 @@ class He extends ct {
4983
5060
  return !1;
4984
5061
  }
4985
5062
  updateModelValueAfterEdit(e, t, s, o) {
4986
- e === "body" && this.tableModel.getAreaModel(e).setValue(t, s, o) && (this.resetEditorRenderer(), this.repaint(), this.eventListener.onModelChanged(me.createSingle(t, s)), this.hostElement.focus());
5063
+ var i, r;
5064
+ e === "body" && this.tableModel.getAreaModel(e).setValue(t, s, o) && (this.resetEditorRenderer(), this.repaint(), (r = (i = this.eventListener).onModelChanged) == null || r.call(i, xe.createSingle(t, s)), this.hostElement.focus());
4987
5065
  }
4988
5066
  /**
4989
5067
  * Retrieves the TableApi object.
@@ -5012,7 +5090,7 @@ class He extends ct {
5012
5090
  * @return {GeMouseEvent} - The created GeMouseEvent object.
5013
5091
  */
5014
5092
  createGeMouseEvent(e) {
5015
- const t = new ue();
5093
+ const t = new me();
5016
5094
  if (t.originalEvent = e, e) {
5017
5095
  const s = e.target;
5018
5096
  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) {
@@ -5042,7 +5120,8 @@ class He extends ct {
5042
5120
  * @param startMouseEvent
5043
5121
  */
5044
5122
  mouseDraggingOnFrame(e, t) {
5045
- this.eventListener.onMouseDragging(e), this.mouseEvent = e, this.mouseStartColumnIndex > -1 && this.mouseStartAction === "resize-column" && this.tableOptions.columnsResizable ? this.resizeColumn(e) : this.mouseStartAction === "drag-column" && e.columnIndex > -1 && this.tableOptions.columnsDraggable && (this.draggingTargetColumnIndex = e.columnIndex, this.dragTo = this.draggingTargetColumnIndex, this.dragFrom > -1 && this.dragTo > -1 && this.dragFrom !== this.dragTo && (this.lastDragFrom === this.dragTo && this.lastDragTo === this.dragFrom || (this.tableModel.changeColumnOrder(this.dragFrom, this.dragTo), this.lastDragFrom = this.dragFrom, this.lastDragTo = this.dragTo, this.dragFrom = this.dragTo, this.resetSizeOfWrapperDiv(), this.adjustContainersAndRows())), t && (this.adjustDraggingColumn(e, t.columnIndex, this.firstDraggingRendering), this.firstDraggingRendering = !1), this.repaint());
5123
+ var s, o;
5124
+ (o = (s = this.eventListener).onMouseDragging) == null || o.call(s, e), this.mouseEvent = e, this.mouseStartColumnIndex > -1 && this.mouseStartAction === "resize-column" && this.tableOptions.columnsResizable ? this.resizeColumn(e) : this.mouseStartAction === "drag-column" && e.columnIndex > -1 && this.tableOptions.columnsDraggable && (this.draggingTargetColumnIndex = e.columnIndex, this.dragTo = this.draggingTargetColumnIndex, this.dragFrom > -1 && this.dragTo > -1 && this.dragFrom !== this.dragTo && (this.lastDragFrom === this.dragTo && this.lastDragTo === this.dragFrom || (this.tableModel.changeColumnOrder(this.dragFrom, this.dragTo), this.lastDragFrom = this.dragFrom, this.lastDragTo = this.dragTo, this.dragFrom = this.dragTo, this.resetSizeOfWrapperDiv(), this.adjustContainersAndRows())), t && (this.adjustDraggingColumn(e, t.columnIndex, this.firstDraggingRendering), this.firstDraggingRendering = !1), this.repaint());
5046
5125
  }
5047
5126
  /**
5048
5127
  * Handles the end of mouse dragging event on a frame.
@@ -5052,7 +5131,8 @@ class He extends ct {
5052
5131
  * @returns {void}
5053
5132
  */
5054
5133
  mouseDraggingEndOnFrame(e) {
5055
- this.eventListener.onMouseDraggingEnd(e), this.draggingTargetColumnIndex = -1, this.mouseStartAction === "resize-column" ? this.resizeColumn(e) : this.mouseStartAction === "drag-column" && (this.hideDraggingColumn(), this.repaint()), this.mouseStartWidth = -1, this.mouseStartColumnIndex = -1, this.dragFrom = -1, this.dragTo = -1, this.firstDraggingRendering = !0, this.mouseStartAction = "";
5134
+ var t, s;
5135
+ (s = (t = this.eventListener).onMouseDraggingEnd) == null || s.call(t, e), this.draggingTargetColumnIndex = -1, this.mouseStartAction === "resize-column" ? this.resizeColumn(e) : this.mouseStartAction === "drag-column" && (this.hideDraggingColumn(), this.repaint()), this.mouseStartWidth = -1, this.mouseStartColumnIndex = -1, this.dragFrom = -1, this.dragTo = -1, this.firstDraggingRendering = !0, this.mouseStartAction = "";
5056
5136
  }
5057
5137
  /**
5058
5138
  * Handles the mouse move event.
@@ -5061,7 +5141,8 @@ class He extends ct {
5061
5141
  * @return {void}
5062
5142
  */
5063
5143
  mouseMove(e) {
5064
- this.eventListener.onMouseMoved(e), this.adjustHoverRows(e), this.adjustHoverColumns(e);
5144
+ var t, s;
5145
+ (s = (t = this.eventListener).onMouseMoved) == null || s.call(t, e), this.adjustHoverRows(e), this.adjustHoverColumns(e);
5065
5146
  }
5066
5147
  /**
5067
5148
  * Triggers the context menu event based on the mouse move event.
@@ -5070,13 +5151,13 @@ class He extends ct {
5070
5151
  * @return {void}
5071
5152
  */
5072
5153
  contextmenu(e) {
5073
- var s, o;
5154
+ var s, o, i, r;
5074
5155
  const t = Date.now();
5075
5156
  if (t - this.lastContextmenu < 50) {
5076
5157
  this.lastContextmenu = t, (s = e.originalEvent) == null || s.preventDefault(), (o = e.originalEvent) == null || o.stopImmediatePropagation();
5077
5158
  return;
5078
5159
  }
5079
- this.lastContextmenu = t, this.eventListener.onContextmenu(e);
5160
+ this.lastContextmenu = t, (r = (i = this.eventListener).onContextmenu) == null || r.call(i, e);
5080
5161
  }
5081
5162
  /**
5082
5163
  * Toggles the expand or collapse state of all items in the body area model.
@@ -5088,7 +5169,7 @@ class He extends ct {
5088
5169
  toggleExpandCollapseAll(e = !0) {
5089
5170
  var s;
5090
5171
  const t = this.tableModel.getBodyModel();
5091
- re(t) && (t.toggleExpandCollapseAll(e), this.repaint(), (s = this.storeStateCollapsedExpandService) == null || s.collapsedStateAll(e));
5172
+ ce(t) && (t.toggleExpandCollapseAll(e), this.repaint(), (s = this.storeStateCollapsedExpandService) == null || s.collapsedStateAll(e));
5092
5173
  }
5093
5174
  /**
5094
5175
  * Toggles the checkbox state of a specific row in a table.
@@ -5100,11 +5181,11 @@ class He extends ct {
5100
5181
  * @return {void} - This method does not return anything.
5101
5182
  */
5102
5183
  toggleRowCheckbox(e, t, s) {
5103
- var l;
5184
+ var l, a, c;
5104
5185
  const o = this.tableModel.getAreaModel(s), i = o.isRowChecked(e), r = i === void 0 || i === "semi" || i === "none";
5105
5186
  o.setRowChecked(e, r), this.repaint();
5106
5187
  const n = (l = o.rowSelectionModel) == null ? void 0 : l.getCheckedRows();
5107
- this.eventListener.onCheckboxChanged(n || []);
5188
+ (c = (a = this.eventListener).onCheckboxChanged) == null || c.call(a, n || []);
5108
5189
  }
5109
5190
  /**
5110
5191
  * Handle mouse click events.
@@ -5126,13 +5207,16 @@ class He extends ct {
5126
5207
  this.debounce(this.repaint.bind(this), 1);
5127
5208
  }
5128
5209
  publishGeMouseEvent(e) {
5129
- this.eventListener.onMouseClicked(e);
5210
+ var t, s;
5211
+ (s = (t = this.eventListener).onMouseClicked) == null || s.call(t, e);
5130
5212
  }
5131
5213
  onFocusChanged(e) {
5132
- this.eventListener.onFocusChanged(e);
5214
+ var t, s;
5215
+ (s = (t = this.eventListener).onFocusChanged) == null || s.call(t, e);
5133
5216
  }
5134
5217
  onSelectionChanged(e) {
5135
- this.eventListener.onSelectionChanged(e);
5218
+ var t, s;
5219
+ (s = (t = this.eventListener).onSelectionChanged) == null || s.call(t, e);
5136
5220
  }
5137
5221
  /**
5138
5222
  * Updates the table (repaint) when an external filter is changed.
@@ -5158,7 +5242,7 @@ class He extends ct {
5158
5242
  const o = this.tableModel.getColumnDef(s);
5159
5243
  if (o != null && o.sortable && o.sortable()) {
5160
5244
  e.preventDefault(), e.stopPropagation();
5161
- const n = o.sortStatesOrder ? o.sortStatesOrder : this.tableOptions.sortOrder, l = o.sortState ?? "", a = n[(n.indexOf(l) + 1) % n.length], c = new dt(s, a);
5245
+ const n = o.sortStatesOrder ? o.sortStatesOrder : this.tableOptions.sortOrder, l = o.sortState ?? "", a = n[(n.indexOf(l) + 1) % n.length], c = new ut(s, a);
5162
5246
  this.tableModel.doSort([c]) && ((i = this.tableModel.getColumnDefs()) == null || i.forEach((u) => u.sortState = ""), o.sortState = a), this.repaint(), (r = this.storeSortingService) == null || r.setSortItems([c]);
5163
5247
  }
5164
5248
  }
@@ -5171,6 +5255,14 @@ class He extends ct {
5171
5255
  * @return {void}
5172
5256
  */
5173
5257
  scrollToPixel(e, t) {
5258
+ if (this.isScrollHeightCapped()) {
5259
+ const s = this.getContentScrollRangeY(), o = this.getScrollerRangeY();
5260
+ if (s > 0 && o > 0) {
5261
+ const i = Math.min(s, Math.max(0, t)), r = i / s * o;
5262
+ this.scrollViewport.scrollTo(e, r), this.pendingContentScroll = { scrollTop: this.scrollViewport.scrollTop, contentTop: i }, this.adjustAfterScrolling();
5263
+ return;
5264
+ }
5265
+ }
5174
5266
  this.scrollViewport.scrollTo(e, t);
5175
5267
  }
5176
5268
  /**
@@ -5185,9 +5277,10 @@ class He extends ct {
5185
5277
  this.scrollToPixel(0, o);
5186
5278
  }
5187
5279
  adjustAfterScrolling() {
5280
+ var t, s;
5188
5281
  super.adjustAfterScrolling();
5189
5282
  const e = this.scrollViewport;
5190
- this.eventListener.onScroll(new pt(
5283
+ (s = (t = this.eventListener).onScroll) == null || s.call(t, new ft(
5191
5284
  this.scrollTop,
5192
5285
  this.scrollLeft,
5193
5286
  e.scrollHeight,
@@ -5318,7 +5411,7 @@ class He extends ct {
5318
5411
  const s = this.tableOptions.autoRestoreOptions, o = s.getRowId;
5319
5412
  if (s.autoRestoreCollapsedExpandedState && o) {
5320
5413
  const i = this.storeStateCollapsedExpandService.collapsedExpandedStateGet(), r = this.tableModel.getAreaModel("body");
5321
- if (re(r)) {
5414
+ if (ce(r)) {
5322
5415
  const n = r, l = r.getRowCount();
5323
5416
  for (let a = 0; a < l; a++) {
5324
5417
  const c = r.getRowByIndex(a);
@@ -5427,16 +5520,16 @@ class He extends ct {
5427
5520
  return e < t ? (this.scrollToIndex(0, e), !0) : e > s ? (this.scrollToIndex(0, e - o + 1), !0) : !1;
5428
5521
  }
5429
5522
  }
5430
- class Ut extends ne {
5523
+ class Kt extends de {
5431
5524
  constructor(e) {
5432
5525
  super(), this.onCheckboxChangedCallback = e, super.onCheckboxChanged = (t) => {
5433
5526
  this.onCheckboxChangedCallback(t);
5434
5527
  };
5435
5528
  }
5436
5529
  }
5437
- const Z = class Z {
5530
+ const oe = class oe {
5438
5531
  };
5439
- Z.themes = ["light", "combat", "paper", "blackboard"], Z.vars = {
5532
+ oe.themes = ["light", "combat", "paper", "blackboard"], oe.vars = {
5440
5533
  light: `html[data-theme="light"] {
5441
5534
  --ge-table-bg: rgba(255,255,255, 0.5);
5442
5535
  --ge-table-header-west-bg: rgba(233, 233, 233, 0.5);
@@ -5670,28 +5763,28 @@ Z.themes = ["light", "combat", "paper", "blackboard"], Z.vars = {
5670
5763
  --ge-table-drop-zone-bg: #758129;
5671
5764
  }`
5672
5765
  };
5673
- let ve = Z;
5674
- class Re {
5766
+ let Me = oe;
5767
+ class Ie {
5675
5768
  constructor(e, t = !0, s, o, i = 0, r = !1, n = !1) {
5676
5769
  this.data = e, this.expanded = t, this.children = s, this.parent = o, this.deep = i, this.checked = r, this.keep = n, this.type = "TreeRow";
5677
5770
  }
5678
5771
  }
5679
- class le {
5772
+ class he {
5680
5773
  static buildTreeRows(e, t = "children", s = 12) {
5681
5774
  const o = [];
5682
5775
  for (const i of e)
5683
- o.push(le.buildTreeRow(i, t, void 0, 0, s));
5776
+ o.push(he.buildTreeRow(i, t, void 0, 0, s));
5684
5777
  return o;
5685
5778
  }
5686
- static buildTreeRow(e, t = "children", s = new Re(e, !0, [], void 0, 0), o = 0, i = 12) {
5779
+ static buildTreeRow(e, t = "children", s = new Ie(e, !0, [], void 0, 0), o = 0, i = 12) {
5687
5780
  var n;
5688
5781
  if (o > i)
5689
5782
  return console.warn("Max deep limit reached: ", o), s;
5690
5783
  const r = e[t];
5691
5784
  if (r)
5692
5785
  for (const l of r) {
5693
- const a = new Re(l, !0, [], s, o + 1);
5694
- if ((n = s.children) == null || n.push(a), le.buildTreeRow(
5786
+ const a = new Ie(l, !0, [], s, o + 1);
5787
+ if ((n = s.children) == null || n.push(a), he.buildTreeRow(
5695
5788
  l,
5696
5789
  t,
5697
5790
  a,
@@ -5702,20 +5795,20 @@ class le {
5702
5795
  return s;
5703
5796
  }
5704
5797
  }
5705
- class z {
5798
+ class Y {
5706
5799
  constructor(e = 34, t = 34, s = 34) {
5707
5800
  this.header = e, this.body = t, this.footer = s;
5708
5801
  }
5709
5802
  }
5710
- class y {
5803
+ class b {
5711
5804
  constructor(e = 100, t = "px") {
5712
5805
  this.value = e, this.unit = t;
5713
5806
  }
5714
5807
  }
5715
- const Mt = () => !0, Ae = () => !1;
5716
- class H {
5717
- constructor(e, t, s = new y(100, "px"), o = new T(), i = new T(), r = new y(100, "px"), n = new y(100, "px"), l, a, c, h, u, f, p, m, g = () => this.visible) {
5718
- this.property = e, this.headerLabel = t, this.width = s, this.classes = o, this.rendererMap = i, this.minWidth = r, this.maxWidth = n, this.sortable = l, this.sortComparator = a, this.sortState = c, this.sortStatesOrder = h, this.sortIconVisible = u, this.editable = f, this.getEditRenderer = p, this.editInputPipe = m, this.isVisible = g, this.visible = !0, s.unit !== "px" && (this.minWidth = new y(0, "px"), this.maxWidth = new y(1e5, "px"));
5808
+ const Et = () => !0, Ee = () => !1;
5809
+ class W {
5810
+ constructor(e, t, s = new b(100, "px"), o = new T(), i = new T(), r = new b(100, "px"), n = new b(100, "px"), l, a, c, h, u, f, p, m, g = () => this.visible) {
5811
+ this.property = e, this.headerLabel = t, this.width = s, this.classes = o, this.rendererMap = i, this.minWidth = r, this.maxWidth = n, this.sortable = l, this.sortComparator = a, this.sortState = c, this.sortStatesOrder = h, this.sortIconVisible = u, this.editable = f, this.getEditRenderer = p, this.editInputPipe = m, this.isVisible = g, this.visible = !0, s.unit !== "px" && (this.minWidth = new b(0, "px"), this.maxWidth = new b(1e5, "px"));
5719
5812
  }
5720
5813
  static bodyRenderer(e) {
5721
5814
  return new T(
@@ -5733,15 +5826,15 @@ class H {
5733
5826
  e.headerClasses,
5734
5827
  e.bodyClasses,
5735
5828
  e.footerClasses
5736
- ), o = e.sortIconVisible ?? e.sortable ?? Ae, i = e.editable ?? e.editable ?? Ae, r = e.isVisible ?? e.isVisible ?? Mt;
5737
- return new H(
5829
+ ), o = e.sortIconVisible ?? e.sortable ?? Ee, i = e.editable ?? e.editable ?? Ee, r = e.isVisible ?? e.isVisible ?? Et;
5830
+ return new W(
5738
5831
  e.property ?? "",
5739
5832
  e.headerLabel ?? "",
5740
- e.width ?? new y(100, "px"),
5833
+ e.width ?? new b(100, "px"),
5741
5834
  s,
5742
5835
  t,
5743
- e.minWidth ?? new y(100, "px"),
5744
- e.maxWidth ?? new y(100, "px"),
5836
+ e.minWidth ?? new b(100, "px"),
5837
+ e.maxWidth ?? new b(100, "px"),
5745
5838
  e.sortable,
5746
5839
  e.sortComparator,
5747
5840
  e.sortState,
@@ -5754,8 +5847,8 @@ class H {
5754
5847
  );
5755
5848
  }
5756
5849
  }
5757
- const Yt = new y(500, "px"), Kt = new y(400, "px"), It = new y(300, "px"), Xt = new y(290, "px"), Jt = new y(280, "px"), qt = new y(270, "px"), Zt = new y(260, "px"), Qt = new y(250, "px"), es = new y(240, "px"), ts = new y(230, "px"), ss = new y(220, "px"), os = new y(210, "px"), Me = new y(200, "px"), is = new y(190, "px"), rs = new y(180, "px"), ns = new y(170, "px"), ls = new y(160, "px"), as = new y(150, "px"), cs = new y(140, "px"), ds = new y(130, "px"), hs = new y(120, "px"), us = new y(110, "px"), ps = new y(100, "px"), gs = new y(90, "px"), fs = new y(80, "px"), ms = new y(70, "px"), bs = new y(60, "px"), ys = new y(50, "px"), ws = new y(40, "px"), xs = new y(30, "px"), Ss = new y(20, "px"), Cs = new y(10, "px"), vs = new y(0, "px");
5758
- class P extends pe {
5850
+ const Jt = new b(500, "px"), qt = new b(400, "px"), Tt = new b(300, "px"), Zt = new b(290, "px"), Qt = new b(280, "px"), es = new b(270, "px"), ts = new b(260, "px"), ss = new b(250, "px"), os = new b(240, "px"), is = new b(230, "px"), rs = new b(220, "px"), ns = new b(210, "px"), Te = new b(200, "px"), ls = new b(190, "px"), as = new b(180, "px"), cs = new b(170, "px"), ds = new b(160, "px"), hs = new b(150, "px"), us = new b(140, "px"), ps = new b(130, "px"), gs = new b(120, "px"), fs = new b(110, "px"), ms = new b(100, "px"), bs = new b(90, "px"), ys = new b(80, "px"), ws = new b(70, "px"), xs = new b(60, "px"), Ss = new b(50, "px"), Cs = new b(40, "px"), vs = new b(30, "px"), Rs = new b(20, "px"), As = new b(10, "px"), Ms = new b(0, "px");
5851
+ class F extends be {
5759
5852
  constructor(e, t, s, o = []) {
5760
5853
  super(e, o, s), this.areaIdent = e, this.arr = t, this.defaultRowHeight = s, this.columnDefs = o, this.filteredArr = [...t];
5761
5854
  }
@@ -5779,11 +5872,20 @@ class P extends pe {
5779
5872
  getRowHeight(e) {
5780
5873
  return this.defaultRowHeight;
5781
5874
  }
5875
+ /**
5876
+ * All rows share `defaultRowHeight` – unless a subclass overrides `getRowHeight()`, then row heights may
5877
+ * vary and `undefined` is returned.
5878
+ *
5879
+ * @returns {number | undefined} The constant row height or `undefined`.
5880
+ */
5881
+ getConstantRowHeight() {
5882
+ return this.getRowHeight === F.prototype.getRowHeight && this.defaultRowHeight > 0 ? this.defaultRowHeight : void 0;
5883
+ }
5782
5884
  changeColumnOrder(e, t) {
5783
5885
  this.filteredArr.forEach((s) => this.arrayMove(s, e, t)), super.changeColumnOrder(e, t);
5784
5886
  }
5785
5887
  }
5786
- class k {
5888
+ class P {
5787
5889
  constructor(e = "body") {
5788
5890
  this.areaIdent = e, this.rowSelectionModel = void 0;
5789
5891
  }
@@ -5857,7 +5959,7 @@ class k {
5857
5959
  changeColumnOrder(e, t) {
5858
5960
  }
5859
5961
  }
5860
- class Et {
5962
+ class kt {
5861
5963
  flattenTree(e, t = []) {
5862
5964
  var s;
5863
5965
  for (const o of e)
@@ -5868,9 +5970,9 @@ class Et {
5868
5970
  return e.parent ? e.parent.expanded ? this.isVisible(e.parent) : !1 : !0;
5869
5971
  }
5870
5972
  }
5871
- class Ie extends pe {
5973
+ class te extends be {
5872
5974
  constructor(e, t, s, o = []) {
5873
- super(e, o, s), this.areaIdent = e, this.rows = t, this.defaultRowHeight = s, this.columnDefs = o, this.type = "AreaModelTree", this.sorterService = new ge(), this.service = new Et(), this.properties = o.map((i) => i.property), this.flattenRows = this.service.flattenTree(t), this.filteredFlattenRows = [...this.flattenRows];
5975
+ super(e, o, s), this.areaIdent = e, this.rows = t, this.defaultRowHeight = s, this.columnDefs = o, this.type = "AreaModelTree", this.sorterService = new ye(), this.service = new kt(), this.properties = o.map((i) => i.property), this.flattenRows = this.service.flattenTree(t), this.filteredFlattenRows = [...this.flattenRows];
5874
5976
  }
5875
5977
  changeColumnOrder(e, t) {
5876
5978
  this.arrayMove(this.properties, e, t), super.changeColumnOrder(e, t);
@@ -5899,6 +6001,15 @@ class Ie extends pe {
5899
6001
  getRowHeight(e) {
5900
6002
  return this.defaultRowHeight;
5901
6003
  }
6004
+ /**
6005
+ * All rows share `defaultRowHeight` – unless a subclass overrides `getRowHeight()`, then row heights may
6006
+ * vary and `undefined` is returned.
6007
+ *
6008
+ * @returns {number | undefined} The constant row height or `undefined`.
6009
+ */
6010
+ getConstantRowHeight() {
6011
+ return this.getRowHeight === te.prototype.getRowHeight && this.defaultRowHeight > 0 ? this.defaultRowHeight : void 0;
6012
+ }
5902
6013
  getCustomClassesAt(e, t) {
5903
6014
  return ["ge-table-tree-cell", "ge-table-tree-deep-" + this.filteredFlattenRows[e].deep];
5904
6015
  }
@@ -5974,7 +6085,7 @@ class Ie extends pe {
5974
6085
  o.children && this.treeSort(o.children, t, s);
5975
6086
  }
5976
6087
  }
5977
- class Ee {
6088
+ class ke {
5978
6089
  constructor(e = []) {
5979
6090
  this.allRootNodes = e;
5980
6091
  }
@@ -6034,12 +6145,12 @@ class Ee {
6034
6145
  s.checked && t.push(s), s.children && this.addSelectedRecursive(s.children, t);
6035
6146
  }
6036
6147
  }
6037
- class ae {
6148
+ class ue {
6038
6149
  constructor(e = 0, t = 0, s = 0, o = 0) {
6039
6150
  this.top = e, this.right = t, this.bottom = s, this.left = o;
6040
6151
  }
6041
6152
  }
6042
- class Tt {
6153
+ class Dt {
6043
6154
  constructor() {
6044
6155
  this.checkedRows = [];
6045
6156
  }
@@ -6070,11 +6181,11 @@ class Tt {
6070
6181
  }
6071
6182
  }
6072
6183
  }
6073
- class oe {
6074
- constructor(e, t, s, o = 0, i = 0, r = !1, n = new z(), l = [], a = [], c = -1, h = 0, u = 400, f = () => {
6184
+ class le {
6185
+ constructor(e, t, s, o = 0, i = 0, r = !1, n = new Y(), l = [], a = [], c = -1, h = 0, u = 400, f = () => {
6075
6186
  }) {
6076
- var p, m, g, b;
6077
- this.headerAreaModel = e, this.bodyAreaModel = t, this.footerAreaModel = s, this.fixedLeftColumnCount = o, this.fixedRightColumnCount = i, this.rowCheckboxVisible = r, this.defaultRowHeights = n, this.columnDefs = l, this.columnSizes = a, this.overridingColumnWidth = c, this.columnCount = h, this.parentSize = u, this.getSelectionModel = f, this.rowCount = 0, this.contentHeightInPx = 0, this.contentWidthInPx = 0, this.padding = new ae(0, 0, 0, 0), this.xPositions = [], e.areaIdent = "header", t.areaIdent = "body", s.areaIdent = "footer", this.columnCount || ((p = this.columnDefs) != null && p.length ? this.columnCount = this.columnDefs.length : (m = this.columnSizes) != null && m.length && (this.columnCount = (g = this.columnSizes) == null ? void 0 : g.length)), (b = this.columnDefs) != null && b.length && Ze(this.columnDefs[0]) && !t.rowSelectionModel && (t.rowSelectionModel = new Tt());
6187
+ var p, m, g, y;
6188
+ this.headerAreaModel = e, this.bodyAreaModel = t, this.footerAreaModel = s, this.fixedLeftColumnCount = o, this.fixedRightColumnCount = i, this.rowCheckboxVisible = r, this.defaultRowHeights = n, this.columnDefs = l, this.columnSizes = a, this.overridingColumnWidth = c, this.columnCount = h, this.parentSize = u, this.getSelectionModel = f, this.rowCount = 0, this.contentHeightInPx = 0, this.contentWidthInPx = 0, this.padding = new ue(0, 0, 0, 0), this.xPositions = [], e.areaIdent = "header", t.areaIdent = "body", s.areaIdent = "footer", this.columnCount || ((p = this.columnDefs) != null && p.length ? this.columnCount = this.columnDefs.length : (m = this.columnSizes) != null && m.length && (this.columnCount = (g = this.columnSizes) == null ? void 0 : g.length)), (y = this.columnDefs) != null && y.length && tt(this.columnDefs[0]) && !t.rowSelectionModel && (t.rowSelectionModel = new Dt());
6078
6189
  }
6079
6190
  init() {
6080
6191
  this.recalcSize(this.parentSize), this.overridingColumnWidth === -1 && this.calcXPositions(), this.headerAreaModel && this.headerAreaModel.init(), this.bodyAreaModel && this.bodyAreaModel.init(), this.footerAreaModel && this.footerAreaModel.init();
@@ -6158,7 +6269,7 @@ class oe {
6158
6269
  */
6159
6270
  recalcPadding() {
6160
6271
  const e = this.getSideAreaWidth("west"), t = this.getSideAreaWidth("east"), s = this.getAreaHeight("header"), o = this.getAreaHeight("footer");
6161
- this.padding = new ae(
6272
+ this.padding = new ue(
6162
6273
  s,
6163
6274
  t,
6164
6275
  o,
@@ -6463,7 +6574,7 @@ class oe {
6463
6574
  return this.tableScope;
6464
6575
  }
6465
6576
  }
6466
- class Te extends _ {
6577
+ class De extends _ {
6467
6578
  /**
6468
6579
  * Creates an instance of AreaModelObjectArrayWithColumndefs.
6469
6580
  *
@@ -6504,7 +6615,7 @@ class Te extends _ {
6504
6615
  ), this.areaIdent = e, this.rows = t, this.columnDefs = s, this.defaultRowHeight = o;
6505
6616
  }
6506
6617
  }
6507
- class V {
6618
+ class $ {
6508
6619
  /**
6509
6620
  * TableFactory
6510
6621
  *
@@ -6547,7 +6658,7 @@ class V {
6547
6658
  if ((t = e.tableOptions) != null && t.defaultRowHeights)
6548
6659
  e.defaultRowHeights = e.tableOptions.defaultRowHeights;
6549
6660
  else {
6550
- if (e.defaultRowHeights = new z(), e.headerAreaModel && "defaultRowHeight" in e.headerAreaModel) {
6661
+ if (e.defaultRowHeights = new Y(), e.headerAreaModel && "defaultRowHeight" in e.headerAreaModel) {
6551
6662
  const g = e.headerAreaModel.defaultRowHeight;
6552
6663
  g > -1 && (e.defaultRowHeights.header = g);
6553
6664
  }
@@ -6560,44 +6671,44 @@ class V {
6560
6671
  g > -1 && (e.defaultRowHeights.footer = g);
6561
6672
  }
6562
6673
  }
6563
- if (e.columnDefs === void 0 && ((s = e.properties) != null && s.length ? e.columnDefs = e.properties.map((g) => new H(g, g.toUpperCase(), Me)) : (o = e.rows) != null && o.length ? e.columnDefs = Object.keys(e.rows[0]).map((g) => new H(g, g.toUpperCase(), Me)) : e.columnDefs = []), e.columnCount === void 0 && ((i = e.columnDefs) != null && i.length ? e.columnCount = e.columnDefs.length : (r = e.headerData) != null && r.length ? e.columnCount = e.headerData[0].length : (n = e.columnSizes) != null && n.length ? e.columnCount = (l = e.columnSizes) == null ? void 0 : l.length : console.warn('Property "columnCount" is missing and cannot be derived from other properties.')), e.headerAreaModel || ((a = e.headerData) != null && a.length ? e.headerAreaModel = new P(
6674
+ if (e.columnDefs === void 0 && ((s = e.properties) != null && s.length ? e.columnDefs = e.properties.map((g) => new W(g, g.toUpperCase(), Te)) : (o = e.rows) != null && o.length ? e.columnDefs = Object.keys(e.rows[0]).map((g) => new W(g, g.toUpperCase(), Te)) : e.columnDefs = []), e.columnCount === void 0 && ((i = e.columnDefs) != null && i.length ? e.columnCount = e.columnDefs.length : (r = e.headerData) != null && r.length ? e.columnCount = e.headerData[0].length : (n = e.columnSizes) != null && n.length ? e.columnCount = (l = e.columnSizes) == null ? void 0 : l.length : console.warn('Property "columnCount" is missing and cannot be derived from other properties.')), e.headerAreaModel || ((a = e.headerData) != null && a.length ? e.headerAreaModel = new F(
6564
6675
  "header",
6565
6676
  e.headerData,
6566
6677
  e.defaultRowHeights.header,
6567
6678
  e.columnDefs
6568
- ) : (c = e.columnDefs) != null && c.length ? e.headerAreaModel = new P(
6679
+ ) : (c = e.columnDefs) != null && c.length ? e.headerAreaModel = new F(
6569
6680
  "header",
6570
6681
  [e.columnDefs.map((g) => g.headerLabel)],
6571
6682
  e.defaultRowHeights.header,
6572
6683
  e.columnDefs
6573
- ) : e.headerAreaModel = new k("header")), e.footerAreaModel || ((h = e.footerData) != null && h.length ? e.footerAreaModel = new P(
6684
+ ) : e.headerAreaModel = new P("header")), e.footerAreaModel || ((h = e.footerData) != null && h.length ? e.footerAreaModel = new F(
6574
6685
  "footer",
6575
6686
  e.footerData,
6576
6687
  e.defaultRowHeights.footer,
6577
6688
  e.columnDefs
6578
- ) : e.footerAreaModel = new k("footer")), !e.bodyAreaModel)
6689
+ ) : e.footerAreaModel = new P("footer")), !e.bodyAreaModel)
6579
6690
  if (e.rows)
6580
- if ((u = e.rows) != null && u.length && G(e.rows[0])) {
6691
+ if ((u = e.rows) != null && u.length && j(e.rows[0])) {
6581
6692
  const g = e.rows;
6582
- e.bodyAreaModel = new Ie(
6693
+ e.bodyAreaModel = new te(
6583
6694
  "body",
6584
6695
  g,
6585
6696
  e.defaultRowHeights.body,
6586
6697
  e.columnDefs
6587
- ), (e.columnDefs[0].property === "CheckboxColumn" || (f = e.tableOptions) != null && f.showCheckboxWihoutExtraColumn) && (e.bodyAreaModel.rowSelectionModel = new Ee(g));
6698
+ ), (e.columnDefs[0].property === "CheckboxColumn" || (f = e.tableOptions) != null && f.showCheckboxWihoutExtraColumn) && (e.bodyAreaModel.rowSelectionModel = new ke(g));
6588
6699
  } else
6589
- e.bodyAreaModel = new Te(
6700
+ e.bodyAreaModel = new De(
6590
6701
  "body",
6591
6702
  e.rows,
6592
6703
  e.columnDefs,
6593
6704
  e.defaultRowHeights.body
6594
6705
  );
6595
- else e.bodyData ? e.bodyAreaModel = new P(
6706
+ else e.bodyData ? e.bodyAreaModel = new F(
6596
6707
  "body",
6597
6708
  e.bodyData,
6598
6709
  e.defaultRowHeights.body
6599
- ) : e.bodyAreaModel = new k("body");
6600
- return e.fixedLeftColumnCount === void 0 && (e.fixedLeftColumnCount = 0), e.fixedRightColumnCount === void 0 && (e.fixedRightColumnCount = 0), e.rowCheckboxVisible === void 0 && (e.rowCheckboxVisible = !1), e.overridingColumnWidth === void 0 && (e.overridingColumnWidth = -1), !e.getSelectionModel && ((p = e.tableOptions) != null && p.getSelectionModel) && (e.getSelectionModel = (m = e.tableOptions) == null ? void 0 : m.getSelectionModel), new oe(
6710
+ ) : e.bodyAreaModel = new P("body");
6711
+ return e.fixedLeftColumnCount === void 0 && (e.fixedLeftColumnCount = 0), e.fixedRightColumnCount === void 0 && (e.fixedRightColumnCount = 0), e.rowCheckboxVisible === void 0 && (e.rowCheckboxVisible = !1), e.overridingColumnWidth === void 0 && (e.overridingColumnWidth = -1), !e.getSelectionModel && ((p = e.tableOptions) != null && p.getSelectionModel) && (e.getSelectionModel = (m = e.tableOptions) == null ? void 0 : m.getSelectionModel), new le(
6601
6712
  e.headerAreaModel,
6602
6713
  e.bodyAreaModel,
6603
6714
  e.footerAreaModel,
@@ -6631,7 +6742,7 @@ class V {
6631
6742
  * @method
6632
6743
  */
6633
6744
  static buildByTypedRowsParam(e) {
6634
- return V.buildByTypedRows(
6745
+ return $.buildByTypedRows(
6635
6746
  e.rows ?? [],
6636
6747
  e.columnDefs,
6637
6748
  e.tableOptions ?? new J(),
@@ -6677,17 +6788,17 @@ class V {
6677
6788
  */
6678
6789
  static buildByTypedRows(e, t, s = new J(), o = 0, i = 0) {
6679
6790
  const r = s.defaultRowHeights, n = t[0].property === "CheckboxColumn";
6680
- if (e != null && e.length && G(e[0])) {
6681
- const a = e, c = new Ie(
6791
+ if (e != null && e.length && j(e[0])) {
6792
+ const a = e, c = new te(
6682
6793
  "body",
6683
6794
  a,
6684
6795
  r.body,
6685
6796
  t
6686
6797
  );
6687
- return (n || s.showCheckboxWihoutExtraColumn) && (c.rowSelectionModel = new Ee(a)), V.createByAreaModelsParam({
6688
- headerAreaModel: new P("header", [t.map((h) => h.headerLabel)], r.header),
6798
+ return (n || s.showCheckboxWihoutExtraColumn) && (c.rowSelectionModel = new ke(a)), $.createByAreaModelsParam({
6799
+ headerAreaModel: new F("header", [t.map((h) => h.headerLabel)], r.header),
6689
6800
  bodyAreaModel: c,
6690
- footerAreaModel: new P("footer", [], r.footer),
6801
+ footerAreaModel: new F("footer", [], r.footer),
6691
6802
  columnDefs: t,
6692
6803
  fixedLeftColumnCount: o,
6693
6804
  fixedRightColumnCount: i,
@@ -6698,7 +6809,7 @@ class V {
6698
6809
  overridingColumnWidth: -1
6699
6810
  });
6700
6811
  }
6701
- return V.createByObjectArrayParam({
6812
+ return $.createByObjectArrayParam({
6702
6813
  rows: e,
6703
6814
  columnDefs: t,
6704
6815
  fixedLeftColumnCount: o,
@@ -6752,14 +6863,14 @@ class V {
6752
6863
  */
6753
6864
  static createByObjectArrayParam(e) {
6754
6865
  const t = e.rowCheckboxVisible !== void 0 ? e.rowCheckboxVisible : !1;
6755
- return V.createByObjectArray(
6866
+ return $.createByObjectArray(
6756
6867
  e.rows,
6757
6868
  e.header ?? [],
6758
6869
  e.footer ?? [],
6759
6870
  e.fixedLeftColumnCount ?? 0,
6760
6871
  e.fixedRightColumnCount ?? 0,
6761
6872
  t,
6762
- e.defaultRowHeights ?? new z(),
6873
+ e.defaultRowHeights ?? new Y(),
6763
6874
  e.columnDefs ?? [],
6764
6875
  e.columnSizes ?? []
6765
6876
  );
@@ -6805,8 +6916,8 @@ class V {
6805
6916
  * @return A new instance of `TableModel` is created using the provided parameters.
6806
6917
  * If a parameter isn't provided, the default value is used.
6807
6918
  */
6808
- static createByAreaModels(e = new k(), t, s = new k(), o = 0, i = 0, r = !1, n = new z(), l, a = [], c = -1, h) {
6809
- return new oe(
6919
+ static createByAreaModels(e = new P(), t, s = new P(), o = 0, i = 0, r = !1, n = new Y(), l, a = [], c = -1, h) {
6920
+ return new le(
6810
6921
  e,
6811
6922
  t,
6812
6923
  s,
@@ -6857,10 +6968,10 @@ class V {
6857
6968
  * });
6858
6969
  */
6859
6970
  static createByAreaModelsParam(e) {
6860
- return V.createByAreaModels(
6861
- e.headerAreaModel ?? new k(),
6971
+ return $.createByAreaModels(
6972
+ e.headerAreaModel ?? new P(),
6862
6973
  e.bodyAreaModel,
6863
- e.footerAreaModel ?? new k(),
6974
+ e.footerAreaModel ?? new P(),
6864
6975
  e.fixedLeftColumnCount ?? 0,
6865
6976
  e.fixedRightColumnCount ?? 0,
6866
6977
  e.rowCheckboxVisible === void 0 ? !1 : e.rowCheckboxVisible,
@@ -6919,11 +7030,11 @@ class V {
6919
7030
  *
6920
7031
  * Reference: For more details regarding the `DefaultRowHeightsIf`, `ColumnDefIf`, `AreaModelIf`, and `AreaModelArrayOfArrays` classes/interfaces, please refer to the respective API documents.
6921
7032
  */
6922
- static createByObjectArray(e, t = [], s = [], o = 0, i = 0, r = !1, n = new z(), l, a = []) {
7033
+ static createByObjectArray(e, t = [], s = [], o = 0, i = 0, r = !1, n = new Y(), l, a = []) {
6923
7034
  let c;
6924
- t != null && t.length ? c = new P("header", t, n.header, l) : l != null && l.length ? c = new P("header", [l.map((f) => f.headerLabel)], n.header, l) : c = new k();
6925
- const h = s ? new P("footer", s, n.footer, l) : new k(), u = new Te("body", e, l, n.body);
6926
- return new oe(
7035
+ t != null && t.length ? c = new F("header", t, n.header, l) : l != null && l.length ? c = new F("header", [l.map((f) => f.headerLabel)], n.header, l) : c = new P();
7036
+ const h = s ? new F("footer", s, n.footer, l) : new P(), u = new De("body", e, l, n.body);
7037
+ return new le(
6927
7038
  c,
6928
7039
  u,
6929
7040
  h,
@@ -6936,9 +7047,9 @@ class V {
6936
7047
  );
6937
7048
  }
6938
7049
  }
6939
- class kt {
7050
+ class Ft {
6940
7051
  constructor(e, t, s = 200, o = 300, i = 0, r = 0) {
6941
- this.items = e, this.cellRenderer = t, this.coverWidth = s, this.coverHeight = o, this.width = i, this.firstRowPaddingTop = r, this.rowSelectionModel = void 0, this.areaIdent = "body", this.filteredItems = [], this.sorterService = new ge(), this.filteredItems = e;
7052
+ this.items = e, this.cellRenderer = t, this.coverWidth = s, this.coverHeight = o, this.width = i, this.firstRowPaddingTop = r, this.rowSelectionModel = void 0, this.areaIdent = "body", this.filteredItems = [], this.sorterService = new ye(), this.filteredItems = e;
6942
7053
  }
6943
7054
  setParentWidth(e) {
6944
7055
  this.width = e;
@@ -7032,9 +7143,9 @@ class kt {
7032
7143
  arrayMove(e, t, s) {
7033
7144
  }
7034
7145
  }
7035
- class Dt {
7146
+ class Pt {
7036
7147
  constructor(e, t = 0) {
7037
- this.bodyModel = e, this.paddingTop = t, this.headerAreaModel = new k(), this.footerAreaModel = new k();
7148
+ this.bodyModel = e, this.paddingTop = t, this.headerAreaModel = new P(), this.footerAreaModel = new P();
7038
7149
  }
7039
7150
  changeColumnOrder(e, t) {
7040
7151
  }
@@ -7099,7 +7210,7 @@ class Dt {
7099
7210
  recalcHeightAndPadding() {
7100
7211
  }
7101
7212
  getPadding() {
7102
- return new ae(0, 0, 0, 0);
7213
+ return new ue(0, 0, 0, 0);
7103
7214
  }
7104
7215
  getContentHeightInPixel() {
7105
7216
  return this.paddingTop + this.bodyModel.getRowCount() * this.bodyModel.coverHeight;
@@ -7125,13 +7236,67 @@ class Dt {
7125
7236
  return this.tableScope;
7126
7237
  }
7127
7238
  }
7128
- class Rs {
7239
+ class _t {
7240
+ constructor() {
7241
+ this.autoRestoreSortingState = !1, this.autoRestoreCollapsedExpandedState = !1, this.autoRestoreScrollPosition = !1, this.autoRestoreCheckedState = !1, this.autoRestoreSelectedState = !1, this.getStorageKeyFn = void 0, this.isSame = (e, t, s) => {
7242
+ if (e && t && s.getRowId) {
7243
+ const o = s.getRowId(e), i = s.getRowId(t);
7244
+ return o === i;
7245
+ }
7246
+ return !1;
7247
+ }, this.getRowId = (e) => {
7248
+ if (e) {
7249
+ for (const t of ["id", "uuid"]) {
7250
+ const s = e[t];
7251
+ if (s != null)
7252
+ return s;
7253
+ }
7254
+ try {
7255
+ return JSON.stringify(e);
7256
+ } catch (t) {
7257
+ console.error(t);
7258
+ }
7259
+ }
7260
+ return console.warn('One of following options set to true without a valid "getRowId()": autoRestoreExpandedState, autoRestoreCheckedState.'), -1;
7261
+ };
7262
+ }
7263
+ }
7264
+ class Is {
7129
7265
  static createCoverGridModel(e, t, s = 200, o = 300, i = 0, r = 0) {
7130
- const n = new kt(e, t, s, o, i, r);
7131
- return new Dt(n, r);
7266
+ const n = new Ft(e, t, s, o, i, r);
7267
+ return new Pt(n, r);
7268
+ }
7269
+ static createCoverGrisDefaultOptions(e, t = () => "CoverGrid") {
7270
+ return {
7271
+ ...new J(),
7272
+ horizontalBorderVisible: !1,
7273
+ verticalBorderVisible: !1,
7274
+ footerSeparatorBorderVisible: !1,
7275
+ headerSeparatorBorderVisible: !1,
7276
+ fixedEastSeparatorBorderVisible: !1,
7277
+ fixedWestSeparatorBorderVisible: !1,
7278
+ tableTopBorderVisible: !1,
7279
+ tableBottomBorderVisible: !1,
7280
+ hoverColumnVisible: !1,
7281
+ hoverRowVisible: !1,
7282
+ defaultRowHeights: {
7283
+ header: 0,
7284
+ body: e,
7285
+ footer: 0
7286
+ },
7287
+ // externalFilterFunction: this.filterFn.bind(this),
7288
+ autoRestoreOptions: {
7289
+ ...new _t(),
7290
+ getStorageKeyFn: t,
7291
+ autoRestoreCollapsedExpandedState: !1,
7292
+ autoRestoreScrollPosition: !0,
7293
+ autoRestoreSortingState: !1,
7294
+ autoRestoreSelectedState: !1
7295
+ }
7296
+ };
7132
7297
  }
7133
7298
  }
7134
- const As = [
7299
+ const Es = [
7135
7300
  "COPY_2_CLIPBOARD",
7136
7301
  "START_EDITING",
7137
7302
  "TOGGLE_SELECTION",
@@ -7149,17 +7314,17 @@ const As = [
7149
7314
  // "PAGEUP_PRESSED",
7150
7315
  // "PAGEDOWN_PRESSED"
7151
7316
  ];
7152
- class Ft {
7317
+ class Lt {
7153
7318
  constructor(e, t) {
7154
7319
  this.tableModel = e, this.tableOptions = t;
7155
7320
  }
7156
7321
  }
7157
- class Pt {
7322
+ class Ot {
7158
7323
  constructor(e, t, s, o, i, r, n) {
7159
7324
  this.emmitDataKey = e, this.emmitCancelKey = t, this.queryId = s, this.filter = o, this.sorting = i, this.startIndex = r, this.endIndex = n;
7160
7325
  }
7161
7326
  }
7162
- class Ms extends Pt {
7327
+ class Ts extends Ot {
7163
7328
  constructor(e, t, s, o, i, r, n, l) {
7164
7329
  super(
7165
7330
  e,
@@ -7172,30 +7337,30 @@ class Ms extends Pt {
7172
7337
  ), this.rows = l;
7173
7338
  }
7174
7339
  }
7175
- class _t {
7340
+ class Vt {
7176
7341
  constructor(e, t) {
7177
7342
  this.value = e, this.label = t;
7178
7343
  }
7179
7344
  }
7180
- class Is {
7345
+ class ks {
7181
7346
  constructor(e, t) {
7182
7347
  this.index = e, this.px = t;
7183
7348
  }
7184
7349
  }
7185
- const Es = { body: ["ge-table-text-align-left"] }, Ts = { body: ["ge-table-text-align-center"] }, ks = { body: ["ge-table-text-align-right"] }, Ds = {
7350
+ const Ds = { body: ["ge-table-text-align-left"] }, Fs = { body: ["ge-table-text-align-center"] }, Ps = { body: ["ge-table-text-align-right"] }, _s = {
7186
7351
  header: ["ge-table-text-align-left"],
7187
7352
  body: ["ge-table-text-align-left"],
7188
7353
  footer: ["ge-table-text-align-left"]
7189
- }, Fs = {
7354
+ }, Ls = {
7190
7355
  header: ["ge-table-text-align-center"],
7191
7356
  body: ["ge-table-text-align-center"],
7192
7357
  footer: ["ge-table-text-align-center"]
7193
- }, Ps = {
7358
+ }, Os = {
7194
7359
  header: ["ge-table-text-align-right"],
7195
7360
  body: ["ge-table-text-align-right"],
7196
7361
  footer: ["ge-table-text-align-right"]
7197
7362
  };
7198
- class ke {
7363
+ class Fe {
7199
7364
  render(e, t, s, o, i, r, n) {
7200
7365
  if (i.isRowCheckable(t)) {
7201
7366
  n.addClass(e, "ge-table-row-checkbox-div");
@@ -7213,16 +7378,16 @@ class ke {
7213
7378
  }
7214
7379
  }
7215
7380
  }
7216
- class _s {
7381
+ class Vs {
7217
7382
  constructor() {
7218
- this.type = "CheckboxColumnDef", this.property = "CheckboxColumn", this.headerLabel = "", this.width = new y(50, "px"), this.minWidth = new y(50, "px"), this.maxWidth = new y(100, "px"), this.rendererMap = new T(new ke(), new ke(), void 0), this.classes = new T(
7383
+ this.type = "CheckboxColumnDef", this.property = "CheckboxColumn", this.headerLabel = "", this.width = new b(50, "px"), this.minWidth = new b(50, "px"), this.maxWidth = new b(100, "px"), this.rendererMap = new T(new Fe(), new Fe(), void 0), this.classes = new T(
7219
7384
  [],
7220
7385
  ["ge-table-text-align-left"],
7221
7386
  []
7222
7387
  );
7223
7388
  }
7224
7389
  }
7225
- class Ls {
7390
+ class Hs {
7226
7391
  /**
7227
7392
  * A factory that creates a new AreaObjectMap with the given body renderer.
7228
7393
  *
@@ -7237,47 +7402,22 @@ class Ls {
7237
7402
  );
7238
7403
  }
7239
7404
  }
7240
- class Os {
7405
+ class $s {
7241
7406
  constructor(e = "down", t) {
7242
7407
  this.status = e, this.originalEvent = t;
7243
7408
  }
7244
7409
  }
7245
- class $s {
7410
+ class Bs {
7246
7411
  constructor(e, t, s, o, i = {}) {
7247
7412
  this.area = e, this.rowIndex = t, this.columnIndex = s, this.value = o, this.cssClasses = i;
7248
7413
  }
7249
7414
  }
7250
- class Vs {
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 {
7415
+ class Ht {
7276
7416
  constructor(e, t, s, o = !1, i = "normal", r = void 0) {
7277
7417
  this.data = e, this.property = t, this.toggle = s, this.closed = o, this.visibility = i, this.children = r, this.impl = "CellGroup";
7278
7418
  }
7279
7419
  }
7280
- class Ot extends Lt {
7420
+ class $t extends Ht {
7281
7421
  constructor(e, t = 0, s = 0, o) {
7282
7422
  super(
7283
7423
  e.data,
@@ -7373,7 +7513,7 @@ class E {
7373
7513
  static buildColumnDefs(e, t = []) {
7374
7514
  for (const s of e)
7375
7515
  s.property && t.push(
7376
- H.create({
7516
+ W.create({
7377
7517
  property: s.property,
7378
7518
  headerLabel: s.data ? s.data : s.property,
7379
7519
  isVisible: () => typeof s.isVisible == "function" ? s.isVisible() : !0
@@ -7402,7 +7542,7 @@ class E {
7402
7542
  static buildGroupExts(e, t = [], s = 0, o) {
7403
7543
  let i;
7404
7544
  for (let r = 0; r < e.length; r++) {
7405
- const n = e[r], l = new Ot(n, s, r, o);
7545
+ const n = e[r], l = new $t(n, s, r, o);
7406
7546
  i && (l.leftNeighbour = i, i.rightNeighbour = l), t.push(l), n.children && (l.children = E.buildGroupExts(n.children, [], s + 1, l)), i = l;
7407
7547
  }
7408
7548
  return t;
@@ -7444,7 +7584,7 @@ class E {
7444
7584
  e.push(o.data + " rowIndex:" + o.rowIndex), (s = o.children) != null && s.length && E.iterateThrowColumns(e, o.children);
7445
7585
  }
7446
7586
  }
7447
- class Bs {
7587
+ class Ws {
7448
7588
  constructor() {
7449
7589
  this.areaIdent = "body", this.rowSelectionModel = void 0;
7450
7590
  }
@@ -7851,10 +7991,11 @@ class Bs {
7851
7991
  /**
7852
7992
  * Returns the Y-coordinate (in pixels) of the top of the row at the specified index.
7853
7993
  * This method is used for scrolling and positioning rows in the viewport.
7854
- * The base implementation returns 0 and should be overridden by
7855
- * subclasses that support scrolling.
7994
+ * The base implementation computes it from `getConstantRowHeight()` (O(1)) or by summing up
7995
+ * `getRowHeight()` of all rows above (O(n)) – override it for large models with variable row heights.
7996
+ * (Before 1.1.85 the base implementation returned 0.)
7856
7997
  *
7857
- * @param {number} _rowIndex - The index of the row
7998
+ * @param {number} rowIndex - The index of the row
7858
7999
  * @returns {number} The Y-coordinate of the top of the row, in pixels
7859
8000
  *
7860
8001
  * @example
@@ -7878,7 +8019,22 @@ class Bs {
7878
8019
  * }
7879
8020
  */
7880
8021
  getYPosByRowIndex(e) {
7881
- return 0;
8022
+ const t = this.getConstantRowHeight();
8023
+ if (t !== void 0 && t > 0)
8024
+ return e * t;
8025
+ let s = 0;
8026
+ for (let o = 0; o < e; o++)
8027
+ s += this.getRowHeight(o);
8028
+ return s;
8029
+ }
8030
+ /**
8031
+ * Returns the row height if all rows have the same height, otherwise `undefined` (default).
8032
+ * Override it together with `getRowHeight()` if your rows have a constant height – this makes rendering
8033
+ * of very large tables independent of the scroll position.
8034
+ *
8035
+ * @returns {number | undefined} `undefined` in the base implementation.
8036
+ */
8037
+ getConstantRowHeight() {
7882
8038
  }
7883
8039
  /**
7884
8040
  * Initializes the area model.
@@ -8066,14 +8222,14 @@ class Bs {
8066
8222
  return !1;
8067
8223
  }
8068
8224
  }
8069
- const Q = class Q {
8070
- constructor(e = new ye()) {
8225
+ const ie = class ie {
8226
+ constructor(e = new Ce()) {
8071
8227
  this.headerGroupOptions = e;
8072
8228
  }
8073
8229
  render(e, t, s, o, i, r, n) {
8074
8230
  const l = r != null && r.data ? r.data : "";
8075
8231
  if (r) {
8076
- const { toggle: a, visibility: c, closed: h } = r, u = a ? Q.toggleHeaderGroup : "";
8232
+ const { toggle: a, visibility: c, closed: h } = r, u = a ? ie.toggleHeaderGroup : "";
8077
8233
  this.addText(e, o, t, s, l, u), a && c !== "always" && this.addArrowDiv(n, e, !h, t, s, o, u);
8078
8234
  } else
8079
8235
  this.addText(e, o, t, s, l, "");
@@ -8105,11 +8261,11 @@ const Q = class Q {
8105
8261
  }
8106
8262
  }
8107
8263
  };
8108
- Q.toggleHeaderGroup = "toggleHeaderGroup";
8109
- let ce = Q;
8110
- class Hs {
8111
- constructor(e = "header", t, s = [], o, i = new ye()) {
8112
- this.areaIdent = e, this.groups = t, this.columnDefs = s, this.defaultRowHeight = o, this.headerGroupOptions = i, this.gammaCells = !0, this.arr = [], this.groupExts = [], this.cellGroupExtCellRenderer = new ce(this.headerGroupOptions), this.groupExts = E.buildGroupExts(t), this.init();
8264
+ ie.toggleHeaderGroup = "toggleHeaderGroup";
8265
+ let pe = ie;
8266
+ class Ns {
8267
+ constructor(e = "header", t, s = [], o, i = new Ce()) {
8268
+ 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 pe(this.headerGroupOptions), this.groupExts = E.buildGroupExts(t), this.init();
8113
8269
  }
8114
8270
  sort(e) {
8115
8271
  }
@@ -8209,7 +8365,7 @@ class Hs {
8209
8365
  return t != null && t.toggle && t.visibility !== "always" && (t.closed = !t.closed, this.init()), E.buildColumnDefs(this.groupExts);
8210
8366
  }
8211
8367
  }
8212
- class Ws {
8368
+ class Gs {
8213
8369
  filterPredict(e, t, s = this.objectToString.bind(this)) {
8214
8370
  if (!e)
8215
8371
  return !1;
@@ -8263,12 +8419,12 @@ class Ws {
8263
8419
  return t.join(" ").toLowerCase();
8264
8420
  }
8265
8421
  }
8266
- class Ns {
8422
+ class zs {
8267
8423
  static bodyRenderer(e) {
8268
8424
  return new T(void 0, e, void 0);
8269
8425
  }
8270
8426
  }
8271
- class Gs {
8427
+ class js {
8272
8428
  constructor(e, t = !0, s = !1) {
8273
8429
  this.property = e, this.skipCheckableCheck = t, this.readonly = s;
8274
8430
  }
@@ -8293,12 +8449,12 @@ class Gs {
8293
8449
  }
8294
8450
  }
8295
8451
  }
8296
- class zs {
8452
+ class Us {
8297
8453
  render(e, t, s, o, i, r, n) {
8298
8454
  r && (e.innerText = new Date(r).toISOString());
8299
8455
  }
8300
8456
  }
8301
- class js {
8457
+ class Ys {
8302
8458
  constructor() {
8303
8459
  this.formatter = new Intl.DateTimeFormat("de-DE", {
8304
8460
  year: "numeric",
@@ -8321,17 +8477,17 @@ class js {
8321
8477
  }
8322
8478
  }
8323
8479
  }
8324
- class Us {
8480
+ class Xs {
8325
8481
  render(e, t, s, o, i, r, n) {
8326
8482
  r && (e.innerText = new Date(r).toLocaleDateString());
8327
8483
  }
8328
8484
  }
8329
- class Ys {
8485
+ class Ks {
8330
8486
  render(e, t, s, o, i, r, n) {
8331
8487
  r === "male" || r === "m" ? e.innerText = "♂" : (r === "female" || r === "f") && (e.innerText = "♀");
8332
8488
  }
8333
8489
  }
8334
- class Ks {
8490
+ class Js {
8335
8491
  constructor(e = 100, t = !1) {
8336
8492
  this.maxValue = e, this.labelVisible = t;
8337
8493
  }
@@ -8361,17 +8517,17 @@ class Ks {
8361
8517
  }
8362
8518
  }
8363
8519
  }
8364
- class Xs {
8520
+ class qs {
8365
8521
  render(e, t, s, o, i, r, n) {
8366
8522
  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 = "";
8367
8523
  }
8368
8524
  }
8369
- class Js {
8525
+ class Zs {
8370
8526
  render(e, t, s, o, i, r, n) {
8371
8527
  r && (e.innerText = new Date(r).toISOString().replace(/T/g, " ").replace(/\..*/g, ""));
8372
8528
  }
8373
8529
  }
8374
- class qs {
8530
+ class Qs {
8375
8531
  constructor(e = Number.MIN_SAFE_INTEGER, t = Number.MAX_SAFE_INTEGER) {
8376
8532
  this.min = e, this.max = t;
8377
8533
  }
@@ -8382,7 +8538,7 @@ class qs {
8382
8538
  </div>`, (typeof r == "string" || isNaN(r) || r < this.min || r > this.max) && n.addClass(e, "ge-cell-error"));
8383
8539
  }
8384
8540
  }
8385
- class Zs {
8541
+ class eo {
8386
8542
  constructor(e) {
8387
8543
  this.property = e;
8388
8544
  }
@@ -8401,7 +8557,7 @@ class Zs {
8401
8557
  }
8402
8558
  }
8403
8559
  }
8404
- class Qs {
8560
+ class to {
8405
8561
  render(e, t, s, o, i, r, n) {
8406
8562
  if (r != null && r.length) {
8407
8563
  const l = n.createElement("div");
@@ -8414,7 +8570,7 @@ class Qs {
8414
8570
  e.innerText = "";
8415
8571
  }
8416
8572
  }
8417
- class eo {
8573
+ class so {
8418
8574
  constructor(e, t = 100, s = !1) {
8419
8575
  this.property = e, this.maxValue = t, this.labelVisible = s;
8420
8576
  }
@@ -8446,7 +8602,7 @@ class eo {
8446
8602
  }
8447
8603
  }
8448
8604
  }
8449
- class to {
8605
+ class oo {
8450
8606
  render(e, t, s, o, i, r, n) {
8451
8607
  if (r) {
8452
8608
  e.innerHTML = `
@@ -8466,17 +8622,17 @@ class to {
8466
8622
  }
8467
8623
  }
8468
8624
  }
8469
- class We {
8625
+ class Ge {
8470
8626
  constructor(e, t, s, o, i, r) {
8471
8627
  this.action = e, this.area = t, this.areaModel = s, this.rowIndex = o, this.columnIndex = i, this.id = r;
8472
8628
  }
8473
8629
  }
8474
- class $ {
8630
+ class H {
8475
8631
  constructor(e, t, s = "", o = "", i = "button", r = !0) {
8476
8632
  this.action = e, this.label = t, this.icon = s, this.elementClass = o, this.elementType = i, this.enabled = r;
8477
8633
  }
8478
8634
  }
8479
- class $t {
8635
+ class Bt {
8480
8636
  constructor(e, t) {
8481
8637
  this.actionEventListener = e, this.crudActions = t;
8482
8638
  }
@@ -8532,25 +8688,25 @@ class $t {
8532
8688
  createActionEvent(e, t) {
8533
8689
  const s = e.getAttribute("data-area"), o = e.getAttribute("data-row-index"), i = e.getAttribute("data-col-index"), r = e.getAttribute("data-action") ?? "unknown", n = e.getAttribute("data-id") ?? "unknown";
8534
8690
  if (s && o && i) {
8535
- const l = ee(s), a = Number(o), c = Number(i);
8536
- return new We(r, l, t, a, c, n);
8691
+ const l = re(s), a = Number(o), c = Number(i);
8692
+ return new Ge(r, l, t, a, c, n);
8537
8693
  }
8538
8694
  return null;
8539
8695
  }
8540
8696
  getCrudActions(e) {
8541
- return Array.isArray(e) && e.every((t) => t instanceof $) ? e : this.crudActions;
8697
+ return Array.isArray(e) && e.every((t) => t instanceof H) ? e : this.crudActions;
8542
8698
  }
8543
8699
  }
8544
- const so = function(d, e, t) {
8700
+ const io = function(d, e, t) {
8545
8701
  return d ? Number(d) : "";
8546
8702
  };
8547
- class Ne {
8703
+ class ze {
8548
8704
  constructor(e) {
8549
8705
  this.options = e;
8550
8706
  }
8551
8707
  static create(e) {
8552
- return new Ne(
8553
- e.map((t) => new _t(t, t))
8708
+ return new ze(
8709
+ e.map((t) => new Vt(t, t))
8554
8710
  );
8555
8711
  }
8556
8712
  render(e, t, s, o, i, r, n) {
@@ -8576,7 +8732,7 @@ class Ne {
8576
8732
  }
8577
8733
  }
8578
8734
  }
8579
- class oo extends be {
8735
+ class ro extends Se {
8580
8736
  constructor(e) {
8581
8737
  super("row", "multi"), this.model = e;
8582
8738
  }
@@ -8596,7 +8752,7 @@ class oo extends be {
8596
8752
  * @param {number} rowIndex - The index of the row to be selected.
8597
8753
  */
8598
8754
  selectRow(e) {
8599
- this.addRange(A.singleRow(e));
8755
+ this.addRange(M.singleRow(e));
8600
8756
  }
8601
8757
  /**
8602
8758
  * Unselects the specified row.
@@ -8605,7 +8761,7 @@ class oo extends be {
8605
8761
  * @return {void}
8606
8762
  */
8607
8763
  unselectRow(e) {
8608
- this.removeSelection(A.singleRow(e));
8764
+ this.removeSelection(M.singleRow(e));
8609
8765
  }
8610
8766
  /**
8611
8767
  * Toggles the selection of items based on current selection state.
@@ -8659,39 +8815,39 @@ class oo extends be {
8659
8815
  this.isSelected(e, 0) ? this.unselectRow(e) : this.selectRow(e);
8660
8816
  }
8661
8817
  }
8662
- class io {
8818
+ class no {
8663
8819
  constructor(e, t, s) {
8664
8820
  this.r = e, this.g = t, this.b = s;
8665
8821
  }
8666
8822
  }
8667
- class De {
8823
+ class Pe {
8668
8824
  constructor(e, t, s, o) {
8669
8825
  this.minValue = e, this.minColor = t, this.maxValue = s, this.maxColor = o;
8670
8826
  }
8671
8827
  }
8672
- class K {
8828
+ class q {
8673
8829
  static normalize(e, t, s, o = 0, i = 1) {
8674
8830
  return (e - t) / (s - t) * (i - o) + o;
8675
8831
  }
8676
8832
  static getTwoColorGradientRGB(e, t) {
8677
- const s = K.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;
8833
+ const s = q.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
8834
  return `rgb(${Math.round(n)}, ${Math.round(l)}, ${Math.round(a)})`;
8679
8835
  }
8680
8836
  static getThreeColorGradientRGB(e, t) {
8681
- return e < t.middleValue ? K.getTwoColorGradientRGB(e, new De(t.minValue, t.minColor, t.middleValue, t.middleColor)) : e > t.middleValue ? K.getTwoColorGradientRGB(e, new De(t.middleValue, t.middleColor, t.maxValue, t.maxColor)) : `rgb(${t.middleColor.r}, ${t.middleColor.g}, ${t.middleColor.b})`;
8837
+ return e < t.middleValue ? q.getTwoColorGradientRGB(e, new Pe(t.minValue, t.minColor, t.middleValue, t.middleColor)) : e > t.middleValue ? q.getTwoColorGradientRGB(e, new Pe(t.middleValue, t.middleColor, t.maxValue, t.maxColor)) : `rgb(${t.middleColor.r}, ${t.middleColor.g}, ${t.middleColor.b})`;
8682
8838
  }
8683
8839
  }
8684
- class ro {
8840
+ class lo {
8685
8841
  constructor(e, t, s, o, i, r) {
8686
8842
  this.minValue = e, this.minColor = t, this.middleValue = s, this.middleColor = o, this.maxValue = i, this.maxColor = r;
8687
8843
  }
8688
8844
  }
8689
- class Vt {
8845
+ class Wt {
8690
8846
  constructor(e = !0, t = !0, s = (r, n) => r * 10 + 10, o = 50, i = 450) {
8691
8847
  this.autoCalc = e, this.takeHeaderLabelsIntoAccount = t, this.charCountToWidth = s, this.minWidth = o, this.maxWidth = i;
8692
8848
  }
8693
8849
  }
8694
- class Bt {
8850
+ class Nt {
8695
8851
  constructor(e) {
8696
8852
  this.object = e;
8697
8853
  }
@@ -8742,7 +8898,7 @@ class Bt {
8742
8898
  return s.join("");
8743
8899
  }
8744
8900
  }
8745
- class ie {
8901
+ class ae {
8746
8902
  constructor(e, t, s = "Edit Item") {
8747
8903
  this.idKey = e, this.dialogTitle = s, this.object = { ...t };
8748
8904
  }
@@ -8823,7 +8979,7 @@ class ie {
8823
8979
  return e.replace(/\./g, " ");
8824
8980
  }
8825
8981
  }
8826
- class Ht {
8982
+ class Gt {
8827
8983
  constructor() {
8828
8984
  this.urls = {
8829
8985
  list: {
@@ -8831,15 +8987,15 @@ class Ht {
8831
8987
  method: "GET"
8832
8988
  }
8833
8989
  }, this.singleRowActions = [
8834
- new $("VIEW", "View", "", "", "link"),
8835
- new $("EDIT", "Edit", "", "", "link"),
8836
- new $("CLONE", "Clone", "", "", "link"),
8837
- new $("DELETE", "Delete", "", "", "link")
8990
+ new H("VIEW", "View", "", "", "link"),
8991
+ new H("EDIT", "Edit", "", "", "link"),
8992
+ new H("CLONE", "Clone", "", "", "link"),
8993
+ new H("DELETE", "Delete", "", "", "link")
8838
8994
  // new CrudAction('CREATE', 'Create', '', '', 'link'),
8839
8995
  ], this.tableActions = [
8840
- new $("CREATE", "Create", "", "", "button"),
8841
- new $("DELETE_SELECTED", "Delete Selected", "", "", "button")
8842
- ], this.autoAddActionColumn = !0, this.columnWidths = new Vt(), this.calcFixedRightColumnCount = (e) => e > 6 ? 1 : 0, this.getHeadersInit = () => ({}), this.getIdKey = () => "id", this.getIdByObject = (e) => (this.getIdKey() ?? "id") in e ? e.id : e, this.fetchList = (e) => {
8996
+ new H("CREATE", "Create", "", "", "button"),
8997
+ new H("DELETE_SELECTED", "Delete Selected", "", "", "button")
8998
+ ], this.autoAddActionColumn = !0, this.columnWidths = new Wt(), 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
8999
  const t = e.getHeadersInit ? e.getHeadersInit() : {};
8844
9000
  let s = e.urls.list.url, o = e.urls.list.method ?? "GET";
8845
9001
  return fetch(s, {
@@ -8890,9 +9046,9 @@ class Ht {
8890
9046
  };
8891
9047
  }
8892
9048
  }
8893
- class no {
9049
+ class ao {
8894
9050
  constructor() {
8895
- this.crudOptions = new Ht(), this.listenActionEvent = (e) => {
9051
+ this.crudOptions = new Gt(), this.listenActionEvent = (e) => {
8896
9052
  };
8897
9053
  }
8898
9054
  createTableModel(e, t, s = (i) => {
@@ -8901,48 +9057,48 @@ class no {
8901
9057
  this.crudOptions = e, this.listenActionEvent = o, e.fetchList(e).then((i) => {
8902
9058
  var r, n, l, a;
8903
9059
  if (t.rows = i, i != null && i.length) {
8904
- const c = (r = t.columnDefs) != null && r.length ? t.columnDefs.map((w) => w.property) : this.extractProperties(i[0]), h = new be("row", "multi"), u = () => h;
9060
+ const c = (r = t.columnDefs) != null && r.length ? t.columnDefs.map((x) => x.property) : this.extractProperties(i[0]), h = new Se("row", "multi"), u = () => h;
8905
9061
  this.tableOptions = {
8906
9062
  ...new J(),
8907
9063
  ...t.tableOptions,
8908
9064
  hoverColumnVisible: !1,
8909
9065
  getSelectionModel: u
8910
9066
  };
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")));
9067
+ const f = this.calcAutoColumnWidths(i, c), p = (n = t.columnDefs) != null && n.length ? t.columnDefs : c.map(((x, A) => new W(x, x.toUpperCase(), new b(f[A], "px"))));
8912
9068
  if ((l = e == null ? void 0 : e.columnWidths) != null && l.autoCalc)
8913
- for (let w = 0; w < p.length; w++) {
8914
- const S = p[w];
8915
- S.width = new y(f[w], "px");
9069
+ for (let x = 0; x < p.length; x++) {
9070
+ const A = p[x];
9071
+ A.width = new b(f[x], "px");
8916
9072
  }
8917
9073
  if (e.autoAddActionColumn) {
8918
- let w = new H(
9074
+ let x = new W(
8919
9075
  "id",
8920
9076
  "Actions",
8921
- It,
9077
+ Tt,
8922
9078
  new T(["ge-table-text-align-left"], ["ge-table-text-align-left ge-table-actions-cell"], void 0)
8923
9079
  );
8924
- w.rendererMap = new T(
9080
+ x.rendererMap = new T(
8925
9081
  void 0,
8926
- new $t(this, e.singleRowActions),
9082
+ new Bt(this, e.singleRowActions),
8927
9083
  void 0
8928
- ), p.push(w);
9084
+ ), p.push(x);
8929
9085
  }
8930
9086
  const m = 0, g = e.calcFixedRightColumnCount(p.length);
8931
- this.tableModel = V.buildByTypedRowsParam({
9087
+ this.tableModel = $.buildByTypedRowsParam({
8932
9088
  rows: i,
8933
9089
  columnDefs: p,
8934
9090
  tableOptions: this.tableOptions,
8935
9091
  fixedLeftColumnCount: m,
8936
9092
  fixedRightColumnCount: g
8937
9093
  }), this.tableModel.getSelectionModel = u, this.bodyModel = (a = this.tableModel) == null ? void 0 : a.getBodyModel();
8938
- const b = new Ft(this.tableModel, this.tableOptions);
8939
- s(b);
9094
+ const y = new Lt(this.tableModel, this.tableOptions);
9095
+ s(y);
8940
9096
  }
8941
9097
  });
8942
9098
  }
8943
9099
  openDialogForCreate() {
8944
9100
  if (this.bodyModel) {
8945
- const e = new We("CREATE", "body", this.bodyModel, -1, -1, null);
9101
+ const e = new Ge("CREATE", "body", this.bodyModel, -1, -1, null);
8946
9102
  this.onActionEvent(e);
8947
9103
  }
8948
9104
  }
@@ -8950,11 +9106,11 @@ class no {
8950
9106
  var t, s, o, i;
8951
9107
  if (this.listenActionEvent && this.listenActionEvent(e), e.action === "VIEW") {
8952
9108
  let r = e.id;
8953
- (t = this.crudOptions) == null || t.fetchItem(this.crudOptions, r).then((n) => (console.info(n), new Bt(n).openDialog(), n));
9109
+ (t = this.crudOptions) == null || t.fetchItem(this.crudOptions, r).then((n) => (console.info(n), new Nt(n).openDialog(), n));
8954
9110
  } else if (e.action === "EDIT") {
8955
9111
  let r = e.id;
8956
9112
  const n = this.crudOptions.getIdKey() ?? "id";
8957
- (s = this.crudOptions) == null || s.fetchItem(this.crudOptions, r).then((l) => (console.info(l), new ie(
9113
+ (s = this.crudOptions) == null || s.fetchItem(this.crudOptions, r).then((l) => (console.info(l), new ae(
8958
9114
  n,
8959
9115
  l
8960
9116
  ).openDialog((a) => {
@@ -8965,7 +9121,7 @@ class no {
8965
9121
  const n = this.crudOptions.getIdKey() ?? "id";
8966
9122
  (o = this.crudOptions) == null || o.fetchItem(this.crudOptions, r).then((l) => {
8967
9123
  const a = JSON.parse(JSON.stringify(l));
8968
- return new ie(
9124
+ return new ae(
8969
9125
  n,
8970
9126
  a,
8971
9127
  "Clone Item"
@@ -8975,7 +9131,7 @@ class no {
8975
9131
  });
8976
9132
  } else if (e.action === "CREATE") {
8977
9133
  const r = this.crudOptions.getIdKey() ?? "id", n = JSON.parse(JSON.stringify(this.crudOptions.getEmptyItem()));
8978
- return new ie(
9134
+ return new ae(
8979
9135
  r,
8980
9136
  n,
8981
9137
  "Create Item"
@@ -9031,196 +9187,196 @@ class no {
9031
9187
  return s;
9032
9188
  }
9033
9189
  }
9034
- class lo {
9190
+ class co {
9035
9191
  constructor(e, t) {
9036
9192
  this.method = e, this.url = t;
9037
9193
  }
9038
9194
  }
9039
9195
  export {
9040
- pe as AbstractAreaModel,
9041
- We as ActionEvent,
9042
- $t as ActionsCellRenderer,
9043
- Oe as AnyPropertyType,
9044
- Ls as AreaMapFactory,
9045
- Bs as AreaModel,
9046
- P as AreaModelArrayOfArrays,
9047
- Hs as AreaModelCellGroups,
9048
- k as AreaModelHidden,
9196
+ be as AbstractAreaModel,
9197
+ Ge as ActionEvent,
9198
+ Bt as ActionsCellRenderer,
9199
+ He as AnyPropertyType,
9200
+ Hs as AreaMapFactory,
9201
+ Ws as AreaModel,
9202
+ F as AreaModelArrayOfArrays,
9203
+ Ns as AreaModelCellGroups,
9204
+ P as AreaModelHidden,
9049
9205
  _ as AreaModelObjectArray,
9050
- Te as AreaModelObjectArrayWithColumndefs,
9051
- Ie as AreaModelTree,
9206
+ De as AreaModelObjectArrayWithColumndefs,
9207
+ te as AreaModelTree,
9052
9208
  T as AreaObjectMap,
9053
9209
  B as ArrayPropertyType,
9054
- Vs as AutoRestoreOptions,
9055
- Nt as AvoidDoubleExecution,
9056
- Ye as BooleanPropertyType,
9057
- Lt as CellGroup,
9058
- Ot as CellGroupExt,
9059
- ce as CellGroupExtCellRenderer,
9060
- A as CellRange,
9210
+ _t as AutoRestoreOptions,
9211
+ jt as AvoidDoubleExecution,
9212
+ Je as BooleanPropertyType,
9213
+ Ht as CellGroup,
9214
+ $t as CellGroupExt,
9215
+ pe as CellGroupExtCellRenderer,
9216
+ M as CellRange,
9061
9217
  E as CellgroupFactory,
9062
- Gs as CheckboxBooleanPropertyCellRenderer,
9063
- ke as CheckboxCellRenderer,
9064
- _s as CheckboxColumnDef,
9065
- Tt as CheckboxModel,
9066
- Ms as ChunkData,
9067
- at as ColAndRowspanModel,
9068
- it as CollapsedExpandedData,
9069
- io as ColorRgb,
9070
- H as ColumnDef,
9071
- Gt as ColumnDefGenerator,
9072
- Vt as ColumnWidths,
9073
- Qe as ConvenienceDomService,
9074
- q as CopyService,
9075
- kt as CoverGridBodyModel,
9076
- Rs as CoverGridFactory,
9077
- Dt as CoverGridTableModel,
9078
- $ as CrudAction,
9079
- ie as CrudObjectEdit,
9080
- Bt as CrudObjectView,
9081
- Ht as CrudOptions,
9082
- no as CrudTableModelFactory,
9083
- ve as CssVars,
9084
- js as DateToIntlDDMMYYYYCellRenderer,
9085
- zs as DateToIsoCellRenderer,
9086
- Us as DateToLocaleDateCellRenderer,
9087
- Js as DateToTecCellRenderer,
9088
- z as DefaultRowHeights,
9089
- lt as EleScope,
9090
- ne as EventAdapter,
9091
- Ut as EventCheckboxChangedHandler,
9092
- At as ExcelService,
9093
- Ae as FalseFn,
9094
- St as FocusModel,
9095
- ut as GeCellIndices,
9096
- K as GeCssColorUtil,
9097
- Ws as GeFilterService,
9098
- Os as GeKeyEvent,
9099
- me as GeModelChangeEvent,
9100
- ue as GeMouseEvent,
9101
- pt as GeScrollEvent,
9102
- L as GeoData,
9103
- O as Icon,
9104
- Is as IndexAndPx,
9105
- xt as InputCellRenderer,
9106
- ht as InputHandler,
9107
- xe as JsonService,
9108
- W as LicenseManager,
9109
- Ys as MaleFemaleToIconCellRenderer,
9110
- tt as MouseHandler,
9111
- et as MouseTargetData,
9112
- oo as MultiRowsSelectionModel,
9113
- ze as NullPropertyType,
9114
- Ks as NumberCellProgressBarCellRenderer,
9115
- qs as NumberCellRenderer,
9116
- Ue as NumberPropertyType,
9117
- F as ObjectPropertyType,
9118
- mt as OsxShortcutActionIdMapping,
9119
- Fe as PROPERTY_TYPE_KEY_ANY,
9120
- Le as PROPERTY_TYPE_KEY_ARRAY,
9121
- he as PROPERTY_TYPE_KEY_BOOLEAN,
9122
- Pe as PROPERTY_TYPE_KEY_NULL,
9123
- de as PROPERTY_TYPE_KEY_NUMBER,
9124
- U as PROPERTY_TYPE_KEY_OBJECT,
9125
- _e as PROPERTY_TYPE_KEY_STRING,
9126
- j as PROPERTY_TYPE_KEY_UNDEFINED,
9127
- ae as Padding,
9128
- to as PositiveAndNegativeNumberRenderer,
9129
- eo as ProgressBarCellRenderer,
9218
+ js as CheckboxBooleanPropertyCellRenderer,
9219
+ Fe as CheckboxCellRenderer,
9220
+ Vs as CheckboxColumnDef,
9221
+ Dt as CheckboxModel,
9222
+ Ts as ChunkData,
9223
+ dt as ColAndRowspanModel,
9224
+ lt as CollapsedExpandedData,
9225
+ no as ColorRgb,
9226
+ W as ColumnDef,
9227
+ Ut as ColumnDefGenerator,
9228
+ Wt as ColumnWidths,
9229
+ st as ConvenienceDomService,
9230
+ ee as CopyService,
9231
+ Ft as CoverGridBodyModel,
9232
+ Is as CoverGridFactory,
9233
+ Pt as CoverGridTableModel,
9234
+ H as CrudAction,
9235
+ ae as CrudObjectEdit,
9236
+ Nt as CrudObjectView,
9237
+ Gt as CrudOptions,
9238
+ ao as CrudTableModelFactory,
9239
+ Me as CssVars,
9240
+ Ys as DateToIntlDDMMYYYYCellRenderer,
9241
+ Us as DateToIsoCellRenderer,
9242
+ Xs as DateToLocaleDateCellRenderer,
9243
+ Zs as DateToTecCellRenderer,
9244
+ Y as DefaultRowHeights,
9245
+ Q as EleScope,
9246
+ de as EventAdapter,
9247
+ Kt as EventCheckboxChangedHandler,
9248
+ It as ExcelService,
9249
+ Ee as FalseFn,
9250
+ vt as FocusModel,
9251
+ gt as GeCellIndices,
9252
+ q as GeCssColorUtil,
9253
+ Gs as GeFilterService,
9254
+ $s as GeKeyEvent,
9255
+ xe as GeModelChangeEvent,
9256
+ me as GeMouseEvent,
9257
+ ft as GeScrollEvent,
9258
+ O as GeoData,
9259
+ V as Icon,
9260
+ ks as IndexAndPx,
9261
+ Ct as InputCellRenderer,
9262
+ pt as InputHandler,
9263
+ ve as JsonService,
9264
+ G as LicenseManager,
9265
+ Ks as MaleFemaleToIconCellRenderer,
9266
+ it as MouseHandler,
9267
+ ot as MouseTargetData,
9268
+ ro as MultiRowsSelectionModel,
9269
+ Ye as NullPropertyType,
9270
+ Js as NumberCellProgressBarCellRenderer,
9271
+ Qs as NumberCellRenderer,
9272
+ Ke as NumberPropertyType,
9273
+ L as ObjectPropertyType,
9274
+ yt as OsxShortcutActionIdMapping,
9275
+ _e as PROPERTY_TYPE_KEY_ANY,
9276
+ Ve as PROPERTY_TYPE_KEY_ARRAY,
9277
+ fe as PROPERTY_TYPE_KEY_BOOLEAN,
9278
+ Le as PROPERTY_TYPE_KEY_NULL,
9279
+ ge as PROPERTY_TYPE_KEY_NUMBER,
9280
+ K as PROPERTY_TYPE_KEY_OBJECT,
9281
+ Oe as PROPERTY_TYPE_KEY_STRING,
9282
+ X as PROPERTY_TYPE_KEY_UNDEFINED,
9283
+ ue as Padding,
9284
+ oo as PositiveAndNegativeNumberRenderer,
9285
+ so as ProgressBarCellRenderer,
9130
9286
  $e as PropertyItem,
9131
- zt as PropertyTypeService,
9132
- ct as RenderScope,
9133
- Ns as Renderer,
9134
- Pt as RequestChunk,
9135
- Rt as ResizeHandler,
9136
- jt as SchemeGenerator,
9137
- Ne as SelectCellRenderer,
9138
- be as SelectionModel,
9139
- gt as SelectionService,
9140
- yt as ShortcutService,
9141
- Qs as SimpleArrayCellRenderer,
9142
- wt as SimpleDomService,
9143
- y as Size,
9144
- dt as SortItem,
9145
- Be as SortedOptions,
9146
- Zs as StarRatingCellRenderer,
9147
- rt as StoreStateCollapsedExpandService,
9148
- ot as StoreStateScrollPosService,
9149
- nt as StoreStateSortingService,
9150
- je as StringPropertyType,
9151
- st as TableApi,
9152
- $s as TableCellUpdateEvent,
9153
- V as TableFactory,
9154
- oe as TableModel,
9155
- Ft as TableModelAndOptions,
9287
+ Yt as PropertyTypeService,
9288
+ ht as RenderScope,
9289
+ zs as Renderer,
9290
+ Ot as RequestChunk,
9291
+ Mt as ResizeHandler,
9292
+ Xt as SchemeGenerator,
9293
+ ze as SelectCellRenderer,
9294
+ Se as SelectionModel,
9295
+ mt as SelectionService,
9296
+ xt as ShortcutService,
9297
+ to as SimpleArrayCellRenderer,
9298
+ St as SimpleDomService,
9299
+ b as Size,
9300
+ ut as SortItem,
9301
+ We as SortedOptions,
9302
+ eo as StarRatingCellRenderer,
9303
+ at as StoreStateCollapsedExpandService,
9304
+ nt as StoreStateScrollPosService,
9305
+ ct as StoreStateSortingService,
9306
+ Xe as StringPropertyType,
9307
+ rt as TableApi,
9308
+ Bs as TableCellUpdateEvent,
9309
+ $ as TableFactory,
9310
+ le as TableModel,
9311
+ Lt as TableModelAndOptions,
9156
9312
  J as TableOptions,
9157
- He as TableScope,
9158
- ro as ThreeColorGradientArg,
9159
- Ee as TreeCheckboxModel,
9160
- le as TreeFactory,
9161
- Ve as TreeOptions,
9162
- Re as TreeRow,
9163
- Et as TreeRowService,
9164
- Xs as TrueFalseCellRenderer,
9165
- Mt as TrueFn,
9166
- De as TwoColorGradientArg,
9167
- X as UNIMPORTANT_TYPES,
9168
- se as UndefinedPropertyType,
9169
- lo as UrlInfo,
9170
- Ke as ValueInfo,
9171
- _t as ValueLabel,
9172
- ft as WindowsShortcutActionIdMapping,
9173
- As as actionIds,
9174
- Fs as allCenter,
9175
- Ds as allLeft,
9176
- Ps as allRight,
9177
- Ts as bodyCenter,
9178
- Es as bodyLeft,
9179
- ks as bodyRight,
9180
- Ce as createHarmonizedShortcutByKeyboardEvent,
9181
- Ge as debounce,
9182
- so as editInputPipeForNumber,
9183
- Se as entitySuffix,
9184
- qe as firstLetterUppercase,
9185
- ee as getAreaIdentByString,
9186
- Xe as getEntityName,
9187
- bt as harmonizeShortcut,
9188
- re as isAreaModelTree,
9189
- Ze as isCheckboxColumnDef,
9190
- G as isTreeRow,
9191
- vs as px0,
9192
- Cs as px10,
9193
- ps as px100,
9194
- us as px110,
9195
- hs as px120,
9196
- ds as px130,
9197
- cs as px140,
9198
- as as px150,
9199
- ls as px160,
9200
- ns as px170,
9201
- rs as px180,
9202
- is as px190,
9203
- Ss as px20,
9204
- Me as px200,
9205
- os as px210,
9206
- ss as px220,
9207
- ts as px230,
9208
- es as px240,
9209
- Qt as px250,
9210
- Zt as px260,
9211
- qt as px270,
9212
- Jt as px280,
9213
- Xt as px290,
9214
- xs as px30,
9215
- It as px300,
9216
- ws as px40,
9217
- Kt as px400,
9218
- ys as px50,
9219
- Yt as px500,
9220
- bs as px60,
9221
- ms as px70,
9222
- fs as px80,
9223
- gs as px90,
9224
- Wt as throttle,
9225
- Je as trimArraySuffixes
9313
+ Ne as TableScope,
9314
+ lo as ThreeColorGradientArg,
9315
+ ke as TreeCheckboxModel,
9316
+ he as TreeFactory,
9317
+ Be as TreeOptions,
9318
+ Ie as TreeRow,
9319
+ kt as TreeRowService,
9320
+ qs as TrueFalseCellRenderer,
9321
+ Et as TrueFn,
9322
+ Pe as TwoColorGradientArg,
9323
+ Z as UNIMPORTANT_TYPES,
9324
+ ne as UndefinedPropertyType,
9325
+ co as UrlInfo,
9326
+ qe as ValueInfo,
9327
+ Vt as ValueLabel,
9328
+ bt as WindowsShortcutActionIdMapping,
9329
+ Es as actionIds,
9330
+ Ls as allCenter,
9331
+ _s as allLeft,
9332
+ Os as allRight,
9333
+ Fs as bodyCenter,
9334
+ Ds as bodyLeft,
9335
+ Ps as bodyRight,
9336
+ Ae as createHarmonizedShortcutByKeyboardEvent,
9337
+ Ue as debounce,
9338
+ io as editInputPipeForNumber,
9339
+ Re as entitySuffix,
9340
+ et as firstLetterUppercase,
9341
+ re as getAreaIdentByString,
9342
+ Ze as getEntityName,
9343
+ wt as harmonizeShortcut,
9344
+ ce as isAreaModelTree,
9345
+ tt as isCheckboxColumnDef,
9346
+ j as isTreeRow,
9347
+ Ms as px0,
9348
+ As as px10,
9349
+ ms as px100,
9350
+ fs as px110,
9351
+ gs as px120,
9352
+ ps as px130,
9353
+ us as px140,
9354
+ hs as px150,
9355
+ ds as px160,
9356
+ cs as px170,
9357
+ as as px180,
9358
+ ls as px190,
9359
+ Rs as px20,
9360
+ Te as px200,
9361
+ ns as px210,
9362
+ rs as px220,
9363
+ is as px230,
9364
+ os as px240,
9365
+ ss as px250,
9366
+ ts as px260,
9367
+ es as px270,
9368
+ Qt as px280,
9369
+ Zt as px290,
9370
+ vs as px30,
9371
+ Tt as px300,
9372
+ Cs as px40,
9373
+ qt as px400,
9374
+ Ss as px50,
9375
+ Jt as px500,
9376
+ xs as px60,
9377
+ ws as px70,
9378
+ ys as px80,
9379
+ bs as px90,
9380
+ zt as throttle,
9381
+ Qe as trimArraySuffixes
9226
9382
  };