@guiexpert/demo-table-models 1.0.10 → 1.0.12

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 (89) hide show
  1. package/.eslintrc.json +33 -0
  2. package/dist/README.md +106 -0
  3. package/dist/demodata/header-groups.d.ts +2 -0
  4. package/dist/demodata/many-types.d.ts +33 -0
  5. package/{index.cjs → dist/index.cjs} +267 -21
  6. package/{index.d.ts → dist/index.d.ts} +4 -1
  7. package/{index.js → dist/index.js} +2671 -506
  8. package/{lib → dist/lib}/createLargeModel.d.ts +1 -1
  9. package/dist/lib/createManyTypesModel.d.ts +2 -0
  10. package/{lib → dist/lib}/createOrderModel.d.ts +1 -1
  11. package/{lib → dist/lib}/createSimplePersonModel.d.ts +1 -1
  12. package/{lib → dist/lib}/createTimeTableModel.d.ts +10 -9
  13. package/{lib → dist/lib}/crypto/generateCryptoModel.d.ts +1 -1
  14. package/{lib → dist/lib}/crypto/renderer/change-percentage-renderer.d.ts +1 -1
  15. package/{lib → dist/lib}/crypto/renderer/circulating-supply-renderer.d.ts +1 -1
  16. package/{lib → dist/lib}/crypto/renderer/coin-icon-renderer.d.ts +1 -1
  17. package/{lib → dist/lib}/crypto/renderer/name-and-symbol-renderer.d.ts +1 -1
  18. package/{lib → dist/lib}/crypto/renderer/usd-renderer.d.ts +1 -1
  19. package/{lib → dist/lib}/crypto/renderer/volumn-24h-renderer.d.ts +1 -1
  20. package/{lib → dist/lib}/generateHeatMapTableModel.d.ts +1 -1
  21. package/{lib → dist/lib}/generateHeatmapSeattle.d.ts +1 -1
  22. package/{lib → dist/lib}/generateSimpleModel.d.ts +1 -1
  23. package/{lib → dist/lib}/generateTreeCheckboxModel.d.ts +1 -1
  24. package/{lib/generateHeadergroupModel.d.ts → dist/lib/headergroup/generateBigHeadergroupModel.d.ts} +1 -1
  25. package/dist/lib/headergroup/generateTeamHeadergroupModel.d.ts +9 -0
  26. package/{lib → dist/lib}/treepeople/generateTreePeopleModel.d.ts +9 -8
  27. package/dist/model/many-types.if.d.ts +21 -0
  28. package/dist/package.json +41 -0
  29. package/fix-dependecies.js +13 -0
  30. package/package.json +25 -3
  31. package/patch.js +16 -0
  32. package/src/demodata/header-groups.ts +152 -0
  33. package/src/demodata/many-types.ts +1508 -0
  34. package/src/demodata/orders.ts +1962 -0
  35. package/src/demodata/persons1000.ts +8006 -0
  36. package/src/demodata/tree-persons.ts +161880 -0
  37. package/src/index.ts +26 -0
  38. package/src/lib/createLargeModel.ts +94 -0
  39. package/src/lib/createManyTypesModel.ts +210 -0
  40. package/src/lib/createOrderModel.ts +130 -0
  41. package/src/lib/createSimplePersonModel.ts +265 -0
  42. package/src/lib/createTimeTableModel.ts +353 -0
  43. package/src/lib/crypto/crypto-data.ts +2739 -0
  44. package/src/lib/crypto/crypto-top.if.ts +19 -0
  45. package/src/lib/crypto/generateCryptoModel.ts +102 -0
  46. package/src/lib/crypto/renderer/change-percentage-renderer.ts +30 -0
  47. package/src/lib/crypto/renderer/circulating-supply-renderer.ts +46 -0
  48. package/src/lib/crypto/renderer/coin-icon-renderer.ts +25 -0
  49. package/src/lib/crypto/renderer/name-and-symbol-renderer.ts +31 -0
  50. package/src/lib/crypto/renderer/usd-renderer.ts +26 -0
  51. package/src/lib/crypto/renderer/volumn-24h-renderer.ts +35 -0
  52. package/src/lib/generateHeatMapTableModel.ts +86 -0
  53. package/src/lib/generateHeatmapSeattle.ts +170 -0
  54. package/src/lib/generateHeatmapSeattleData.ts +52565 -0
  55. package/src/lib/generateSimpleModel.ts +31 -0
  56. package/src/lib/generateTreeCheckboxModel.ts +54 -0
  57. package/src/lib/headergroup/generateBigHeadergroupModel.ts +62 -0
  58. package/src/lib/headergroup/generateTeamHeadergroupModel.ts +66 -0
  59. package/src/lib/treepeople/address.if.ts +7 -0
  60. package/src/lib/treepeople/address.ts +14 -0
  61. package/src/lib/treepeople/generateTreePeopleModel.ts +130 -0
  62. package/src/lib/treepeople/person.if.ts +12 -0
  63. package/src/lib/treepeople/person.ts +18 -0
  64. package/src/lib/treepeople/treePeopleData.ts +161878 -0
  65. package/src/model/address.if.ts +7 -0
  66. package/src/model/many-types.if.ts +22 -0
  67. package/src/model/order.if.ts +12 -0
  68. package/src/model/person.if.ts +12 -0
  69. package/src/model/simple-person.if.ts +8 -0
  70. package/tsconfig.json +22 -0
  71. package/tsconfig.lib.json +10 -0
  72. package/tsconfig.spec.json +25 -0
  73. package/vite.config.ts +62 -0
  74. package/demodata/header-groups.d.ts +0 -2
  75. /package/{demodata → dist/demodata}/orders.d.ts +0 -0
  76. /package/{demodata → dist/demodata}/persons1000.d.ts +0 -0
  77. /package/{demodata → dist/demodata}/tree-persons.d.ts +0 -0
  78. /package/{lib → dist/lib}/crypto/crypto-data.d.ts +0 -0
  79. /package/{lib → dist/lib}/crypto/crypto-top.if.d.ts +0 -0
  80. /package/{lib → dist/lib}/generateHeatmapSeattleData.d.ts +0 -0
  81. /package/{lib → dist/lib}/treepeople/address.d.ts +0 -0
  82. /package/{lib → dist/lib}/treepeople/address.if.d.ts +0 -0
  83. /package/{lib → dist/lib}/treepeople/person.d.ts +0 -0
  84. /package/{lib → dist/lib}/treepeople/person.if.d.ts +0 -0
  85. /package/{lib → dist/lib}/treepeople/treePeopleData.d.ts +0 -0
  86. /package/{model → dist/model}/address.if.d.ts +0 -0
  87. /package/{model → dist/model}/order.if.d.ts +0 -0
  88. /package/{model → dist/model}/person.if.d.ts +0 -0
  89. /package/{model → dist/model}/simple-person.if.d.ts +0 -0
@@ -1,28 +1,28 @@
1
- function $(s) {
1
+ function X(s) {
2
2
  return s && s.type === "TreeRow";
3
3
  }
4
- function be(s) {
4
+ function xe(s) {
5
5
  return s && s.type === "CheckboxColumnDef";
6
6
  }
7
- class k {
7
+ class w {
8
8
  constructor(e = ">", r = "", a = []) {
9
9
  this.content = e, this.style = r, this.classes = a;
10
10
  }
11
11
  }
12
- class Ne {
13
- constructor(e = new k(
12
+ class ke {
13
+ constructor(e = new w(
14
14
  ">",
15
15
  "transform: rotate(90deg) translate(66%, -66%); transform-origin: 0 0;",
16
16
  ["gt-table-tree-arrow-expanded"]
17
- ), r = new k(
17
+ ), r = new w(
18
18
  ">",
19
19
  "",
20
20
  ["ge-table-tree-arrow-collapsed"]
21
- ), a = new k(
21
+ ), a = new w(
22
22
  ">",
23
23
  "color:transparent;",
24
24
  ["gt-table-tree-arrow-hidden"]
25
- ), t = new k(
25
+ ), t = new w(
26
26
  "↕",
27
27
  "",
28
28
  ["gt-table-tree-arrow-expanded-all"]
@@ -30,12 +30,12 @@ class Ne {
30
30
  this.arrowExpanded = e, this.arrowCollapsed = r, this.arrowPlaceholder = a, this.arrowExpandCollapseAll = t;
31
31
  }
32
32
  }
33
- class fe {
34
- constructor(e = new k("↑", "", ["ge-header-sorted-asc"]), r = new k("↓", "", ["ge-header-sorted-desc"]), a = new k("↑", "color:transparent;", [])) {
33
+ class Re {
34
+ constructor(e = new w("↑", "", ["ge-header-sorted-asc"]), r = new w("↓", "", ["ge-header-sorted-desc"]), a = new w("↑", "color:transparent;", [])) {
35
35
  this.iconAsc = e, this.iconDesc = r, this.iconPlaceholder = a;
36
36
  }
37
37
  }
38
- class T {
38
+ class o {
39
39
  /**
40
40
  * Represents a constructor for a class.
41
41
  * @constructor
@@ -49,7 +49,7 @@ class T {
49
49
  this.r1 = e, this.c1 = r, this.r2 = a, this.c2 = t, this.gammaRange = n;
50
50
  }
51
51
  static create(e) {
52
- return e.gammaRange === void 0 && (e.gammaRange = !1), new T(
52
+ return e.gammaRange === void 0 && (e.gammaRange = !1), new o(
53
53
  e.rowIndex1,
54
54
  e.columnIndex1,
55
55
  e.rowIndex2,
@@ -58,32 +58,32 @@ class T {
58
58
  );
59
59
  }
60
60
  static singleCell(e, r) {
61
- return new T(e, r, e, r);
61
+ return new o(e, r, e, r);
62
62
  }
63
63
  static singleRow(e) {
64
- return new T(e, 0, e, Number.MAX_SAFE_INTEGER);
64
+ return new o(e, 0, e, Number.MAX_SAFE_INTEGER);
65
65
  }
66
66
  static singleColumn(e) {
67
- return new T(0, e, Number.MAX_SAFE_INTEGER, e);
67
+ return new o(0, e, Number.MAX_SAFE_INTEGER, e);
68
68
  }
69
69
  isInRange(e, r) {
70
70
  return e >= this.r1 && e <= this.r2 && r >= this.c1 && r <= this.c2;
71
71
  }
72
72
  }
73
- class S {
73
+ class C {
74
74
  constructor(e, r, a) {
75
75
  this.header = e, this.body = r, this.footer = a;
76
76
  }
77
77
  }
78
- class Te {
79
- render(e, r, a, t, n, m, i) {
78
+ class De {
79
+ render(e, r, a, t, n, m, d) {
80
80
  if (n.isEditable(r, a)) {
81
- i.addClass(e, "ge-table-row-input-div");
82
- const d = n.getValueAt(r, a);
81
+ d.addClass(e, "ge-table-row-input-div");
82
+ const i = n.getValueAt(r, a);
83
83
  e.innerHTML = `
84
84
  <input
85
85
  type="text"
86
- value="${d}"
86
+ value="${i}"
87
87
  autofocus
88
88
  onfocus="this.setSelectionRange(0, this.value.length)"
89
89
  data-listen="change"
@@ -98,7 +98,24 @@ class Te {
98
98
  }
99
99
  class q {
100
100
  constructor(e = "none", r = "single") {
101
- this.selectionType = e, this.selectionMode = r, this.ranges = [], this.negativeRanges = [], this.allSelected = !1;
101
+ this.selectionType = e, this.selectionMode = r, this.ranges = [], this.negativeRanges = [], this.allSelected = !1, this.silent = !1, this.listenerArr = [];
102
+ }
103
+ getEventSelectionChangedListeners() {
104
+ return this.listenerArr;
105
+ }
106
+ addEventSelectionChangedListener(e) {
107
+ this.listenerArr.includes(e) || this.listenerArr.push(e);
108
+ }
109
+ removeEventSelectionChangedListener(e) {
110
+ const r = this.listenerArr.indexOf(e, 0);
111
+ r > -1 && this.listenerArr.splice(r, 1);
112
+ }
113
+ //@AvoidDoubleExecution(100)
114
+ fireChangeEvent() {
115
+ this.silent || this.listenerArr.forEach((e) => e.onSelectionChanged(this));
116
+ }
117
+ firstClick(e, r) {
118
+ this.selectionType === "row" ? this.addRange(o.singleRow(e)) : this.selectionType === "column" && this.addRange(o.singleColumn(r));
102
119
  }
103
120
  getSelectionCount(e, r) {
104
121
  let a = 0;
@@ -116,33 +133,68 @@ class q {
116
133
  return this.ranges;
117
134
  }
118
135
  clear() {
119
- this.ranges = [], this.negativeRanges = [], this.allSelected = !1;
136
+ this.ranges = [], this.negativeRanges = [], this.allSelected = !1, this.fireChangeEvent();
120
137
  }
121
138
  hasSelection() {
122
- return !!this.ranges.length;
139
+ return this.allSelected || !!this.ranges.length;
140
+ }
141
+ hasNoSelection() {
142
+ return !this.hasSelection();
143
+ }
144
+ /**
145
+ * Retrieves the merged row indices from the given range selection.
146
+ *
147
+ * @returns {number[]} Array of merged row indices
148
+ */
149
+ getMergedRowIndices() {
150
+ const e = /* @__PURE__ */ new Set();
151
+ for (const r of this.ranges)
152
+ for (let a = r.r1; a <= r.r2; a++)
153
+ !e.has(a) && !this.isInNegativeRange(a, 0) && e.add(a);
154
+ return Array.from(e);
123
155
  }
124
156
  selectAll() {
125
- this.allSelected = !0;
157
+ this.allSelected = !0, this.fireChangeEvent();
158
+ }
159
+ isAllSelected() {
160
+ return this.allSelected;
126
161
  }
127
162
  addSelection(e) {
128
- this.addRange(e);
163
+ this.addRange(e), this.fireChangeEvent();
129
164
  }
130
165
  removeSelection(e) {
131
166
  if (this.selectionType === "none")
132
167
  return;
133
168
  let r = e;
134
- this.selectionType === "row" ? r = T.singleRow(e.r1) : this.selectionType === "column" && (r = T.singleColumn(e.c1)), this.negativeRanges.push(r);
169
+ this.selectionType === "row" ? r = o.singleRow(e.r1) : this.selectionType === "column" && (r = o.singleColumn(e.c1)), this.negativeRanges.push(r), this.fireChangeEvent();
135
170
  }
136
171
  togglePoint(e, r) {
137
- this.getSelectionCount(e, r) > 0 ? this.removeSelection(T.singleCell(e, r)) : this.addSelection(T.singleCell(e, r));
172
+ this.getSelectionCount(e, r) > 0 ? this.removeSelection(o.singleCell(e, r)) : this.addSelection(o.singleCell(e, r));
173
+ }
174
+ isSelected(e, r) {
175
+ return this.getSelectionCount(e, r) > 0;
138
176
  }
139
177
  addRange(e) {
140
- 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));
178
+ 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());
141
179
  }
142
180
  }
143
- class oe {
181
+ class Ae {
144
182
  constructor(e = "none") {
145
- this.selectionType = e, this.rowIndex = -1, this.columnIndex = -1, this.changed = !1;
183
+ this.selectionType = e, this.rowIndex = -1, this.columnIndex = -1, this.changed = !1, this.listenerArr = [];
184
+ }
185
+ getEventFocusChangedListeners() {
186
+ return this.listenerArr;
187
+ }
188
+ addEventFocusChangedListener(e) {
189
+ this.listenerArr.includes(e) || this.listenerArr.push(e);
190
+ }
191
+ removeEventFocusChangedListener(e) {
192
+ const r = this.listenerArr.indexOf(e, 0);
193
+ r > -1 && this.listenerArr.splice(r, 1);
194
+ }
195
+ //@AvoidDoubleExecution(100)
196
+ fireChangeEvent() {
197
+ this.listenerArr.forEach((e) => e.onFocusChanged(this));
146
198
  }
147
199
  clearChanged() {
148
200
  this.changed = !1;
@@ -151,10 +203,10 @@ class oe {
151
203
  return this.changed;
152
204
  }
153
205
  clear() {
154
- this.rowIndex = -1, this.columnIndex = -1;
206
+ this.rowIndex = -1, this.columnIndex = -1, this.fireChangeEvent();
155
207
  }
156
208
  setFocus(e, r) {
157
- (this.rowIndex !== e || this.columnIndex !== r) && (this.rowIndex = e, this.columnIndex = r, this.changed = !0);
209
+ (this.rowIndex !== e || this.columnIndex !== r) && (this.rowIndex = e, this.columnIndex = r, this.changed = !0, this.fireChangeEvent());
158
210
  }
159
211
  hasFocus(e, r) {
160
212
  return this.rowIndex === e && this.columnIndex === r;
@@ -163,40 +215,376 @@ class oe {
163
215
  return [this.rowIndex, this.columnIndex];
164
216
  }
165
217
  }
166
- const he = new q(), Se = new oe("cell");
167
- class Z {
218
+ class ee {
219
+ constructor(e = new w(
220
+ "❯",
221
+ "",
222
+ ["gt-table-icon-expanded"]
223
+ ), r = new w(
224
+ "❯",
225
+ "transform: rotate(180deg) translate(-100%, -100%); transform-origin: 0 0;",
226
+ ["ge-table-icon-collapsed"]
227
+ )) {
228
+ this.iconExpanded = e, this.iconCollapsed = r;
229
+ }
230
+ // `⊖ `, `⊕ `;
231
+ }
232
+ const Ue = new q(), Me = new Ae("cell");
233
+ class z {
168
234
  constructor() {
169
235
  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 = {
170
236
  header: 34,
171
237
  body: 34,
172
238
  footer: 34
173
- }, this.footerVerticalSeparator = !1, this.headerToggleExpandCollapseIcons = !1, this.headerVerticalSeparator = !1, this.treeOptions = new Ne(), this.showCheckboxWihoutExtraColumn = !1, this.externalFilterFunction = void 0, this.sortedOptions = new fe(), this.sortOrder = ["asc", "desc"], this.getEditRenderer = (e, r) => new Te(), this.getSelectionModel = () => he, this.getFocusModel = () => Se;
239
+ }, this.footerVerticalSeparator = !1, this.headerToggleExpandCollapseIcons = !1, this.headerVerticalSeparator = !1, this.treeOptions = new ke(), this.headerGroupOptions = new ee(), this.showCheckboxWihoutExtraColumn = !1, this.externalFilterFunction = void 0, this.sortedOptions = new Re(), this.sortOrder = ["asc", "desc"], this.getEditRenderer = (e, r) => new De(), this.getSelectionModel = () => Ue, this.getFocusModel = () => Me;
174
240
  }
175
241
  }
176
- class Q {
177
- constructor(e, r = !0, a, t, n = 0, m = !1, i = !1) {
178
- this.data = e, this.expanded = r, this.children = a, this.parent = t, this.deep = n, this.checked = m, this.keep = i, this.type = "TreeRow";
242
+ const D = class D {
243
+ /**
244
+ * Returns the content to be copied based on the provided table model, selection model, and focus model.
245
+ *
246
+ * @param {TableModelIf} tableModel - The table model for data retrieval.
247
+ * @param {SelectionModelIf} selectionModel - The selection model to determine the selected range.
248
+ * @param {FocusModelIf} focusModel - The focus model to determine the focused cell.
249
+ * @return {Promise<string>} A promise that resolves to the copied content as a string.
250
+ * @throws {string} Throws an error if neither selection nor focus is defined.
251
+ */
252
+ createContent(e, r, a) {
253
+ return new Promise((t, n) => {
254
+ if (r != null && r.hasSelection()) {
255
+ const m = this.mergeRanges(r.getRanges());
256
+ if (m) {
257
+ m.c2 = Math.min(m.c2, e.getColumnCount() - 1), m.r2 = Math.min(m.r2, e.getBodyModel().getRowCount() - 1);
258
+ const d = [];
259
+ for (let i = m.r1; i <= m.r2; i++) {
260
+ const u = [];
261
+ for (let l = m.c1; l <= m.c2; l++) {
262
+ const c = r.isSelected(i, l) ? e.getBodyModel().getTextValueAt(i, l) : "";
263
+ u.push(c);
264
+ }
265
+ d.push(u.join(D.columnSeparatorChar));
266
+ }
267
+ return t(d.join(D.rowSeparatorChar));
268
+ }
269
+ }
270
+ if (a) {
271
+ const [m, d] = a.getFocus(), i = e.getBodyModel().getTextValueAt(m, d);
272
+ return t(i);
273
+ }
274
+ n("Cannot copy, neither selection nor focus defined.");
275
+ });
276
+ }
277
+ /**
278
+ * Copy the provided content to the clipboard.
279
+ *
280
+ * @param {string} content - The content to be copied.
281
+ * @return {Promise<void>} A promise that resolves when the content has been successfully copied to the clipboard.
282
+ */
283
+ copyContent(e) {
284
+ return navigator.clipboard.writeText(e);
285
+ }
286
+ /**
287
+ * Asynchronously copies the content of a table to the clipboard.
288
+ *
289
+ * @param {TableModelIf} tableModel - The table model to copy from.
290
+ * @param {SelectionModelIf} selectionModel - The selection model of the table.
291
+ * @param {FocusModelIf} focusModel - The focus model of the table.
292
+ * @returns {Promise<string>} A promise that resolves with the copied text if successful, or rejects if an error occurs.
293
+ */
294
+ copyToClipboard(e, r, a) {
295
+ return new Promise((t, n) => {
296
+ this.createContent(
297
+ e,
298
+ r,
299
+ a
300
+ ).then((m) => {
301
+ m && this.copyContent(m).then((d) => {
302
+ t(m);
303
+ }).catch((d) => {
304
+ n();
305
+ });
306
+ }).catch((m) => {
307
+ n();
308
+ });
309
+ });
310
+ }
311
+ /**
312
+ * Merges an array of CellRanges into a single merged CellRange.
313
+ *
314
+ * @param {CellRange[]} ranges - The array of CellRanges to be merged.
315
+ * @return {CellRange | undefined} - The merged CellRange, or undefined if the ranges array is empty.
316
+ */
317
+ mergeRanges(e) {
318
+ let r;
319
+ for (const a of e)
320
+ r ? (r.r1 = Math.min(r.r1, a.r1), r.c1 = Math.min(r.c1, a.c1), r.r2 = Math.max(r.r2, a.r2), r.c2 = Math.max(r.c2, a.c2)) : r = new o(a.r1, a.c1, a.r2, a.c2);
321
+ return r;
322
+ }
323
+ };
324
+ D.columnSeparatorChar = " ", D.rowSeparatorChar = `
325
+ `;
326
+ let me = D;
327
+ const $ = class $ {
328
+ };
329
+ $.themes = ["light", "combat", "paper", "blackboard"], $.vars = {
330
+ light: `html[data-theme="light"] {
331
+ --ge-table-bg: rgba(255,255,255, 0.5);
332
+ --ge-table-header-west-bg: rgba(233, 233, 233, 0.5);
333
+ --ge-table-header-center-bg: rgba(233, 233, 233, 0.5);
334
+ --ge-table-header-east-bg: rgba(233, 233, 233, 0.5);
335
+ --ge-table-header-west-text: #000;
336
+ --ge-table-header-center-text: #000;
337
+ --ge-table-header-east-text: #000;
338
+ --ge-table-header-west-horizontal-border: #ddd;
339
+ --ge-table-header-west-vertical-border: #ccc;
340
+ --ge-table-header-center-horizontal-border: #ddd;
341
+ --ge-table-header-center-vertical-border: #ccc;
342
+ --ge-table-header-east-horizontal-border: #ddd;
343
+ --ge-table-header-east-vertical-border: #ccc;
344
+ --ge-table-body-west-bg: rgba(233, 233, 233, 0.5);
345
+ --ge-table-body-center-bg: rgba(255,255,255, 0.5);
346
+ --ge-table-body-east-bg: rgba(233, 233, 233, 0.5);
347
+ --ge-table-body-west-text: #000;
348
+ --ge-table-body-center-text: #000;
349
+ --ge-table-body-east-text: #000;
350
+ --ge-table-body-west-horizontal-border: #ddd;
351
+ --ge-table-body-west-vertical-border: #ccc;
352
+ --ge-table-body-center-horizontal-border: #bbb;
353
+ --ge-table-body-center-vertical-border: #ddd;
354
+ --ge-table-body-east-horizontal-border: #ddd;
355
+ --ge-table-body-east-vertical-border: #ccc;
356
+ --ge-table-body-west-selected-range-bg: rgba(0, 152, 219, 0.4);
357
+ --ge-table-body-center-selected-range-bg: rgba(0, 152, 219, 0.4);
358
+ --ge-table-body-east-selected-range-bg: rgba(0, 152, 219, 0.4);
359
+ --ge-table-body-west-selected-range-text: #000;
360
+ --ge-table-body-center-selected-range-text: #000;
361
+ --ge-table-body-east-selected-range-text: #000;
362
+ --ge-table-footer-west-bg: rgba(233, 233, 233, 0.5);
363
+ --ge-table-footer-center-bg: rgba(233, 233, 233, 0.5);
364
+ --ge-table-footer-east-bg: rgba(233, 233, 233, 0.5);
365
+ --ge-table-footer-west-text: #000;
366
+ --ge-table-footer-center-text: #000;
367
+ --ge-table-footer-east-text: #000;
368
+ --ge-table-footer-west-horizontal-border: #ddd;
369
+ --ge-table-footer-west-vertical-border: #ccc;
370
+ --ge-table-footer-center-horizontal-border: #ddd;
371
+ --ge-table-footer-center-vertical-border: #ccc;
372
+ --ge-table-footer-east-horizontal-border: #ddd;
373
+ --ge-table-footer-east-vertical-border: #ccc;
374
+ --ge-table-border: #ccc;
375
+ --ge-table-row-odd-bg: transparent;
376
+ --ge-table-row-even-bg: transparent;
377
+ --ge-table-column-odd-bg: transparent;
378
+ --ge-table-column-even-bg: transparent;
379
+ --ge-table-hover-column-bg: rgba(0, 224, 255, 0.27);
380
+ --ge-table-hover-row-bg: rgba(0, 224, 255, 0.27);
381
+ --ge-table-focus-border: rgb(0, 255, 255);
382
+ --ge-table-color-error-text: #e00034;
383
+ --ge-table-tree-arrow-collapsed-color: #e00034;
384
+ --ge-table-column-resize-handle-border: rgb(0, 255, 255);
385
+ --ge-table-dragged-col-div-bg: lightcyan;
386
+ --ge-table-drop-zone-bg: rgba(244, 255, 242, 0.6);
387
+ }`,
388
+ combat: `html[data-theme="combat"] {
389
+ --ge-table-bg: #101010;
390
+ --ge-table-header-west-bg: #101010;
391
+ --ge-table-header-center-bg: #101010;
392
+ --ge-table-header-east-bg: #101010;
393
+ --ge-table-header-west-text: oklch(100% 0 0);
394
+ --ge-table-header-center-text: oklch(100% 0 0);
395
+ --ge-table-header-east-text: oklch(100% 0 0);
396
+ --ge-table-header-west-horizontal-border: oklch(100% 0 0 / 0%);
397
+ --ge-table-header-west-vertical-border: oklch(100% 0 0 / 0%);
398
+ --ge-table-header-center-horizontal-border: oklch(100% 0 0 / 0%);
399
+ --ge-table-header-center-vertical-border: oklch(100% 0 0 / 0%);
400
+ --ge-table-header-east-horizontal-border: oklch(100% 0 0 / 0%);
401
+ --ge-table-header-east-vertical-border: oklch(100% 0 0 / 0%);
402
+ --ge-table-body-west-bg: #101010;
403
+ --ge-table-body-center-bg: #101010;
404
+ --ge-table-body-east-bg: #101010;
405
+ --ge-table-body-west-text: #b6b4b4;
406
+ --ge-table-body-center-text: #b6b4b4;
407
+ --ge-table-body-east-text: #b6b4b4;
408
+ --ge-table-body-west-horizontal-border: oklch(100% 0 0 / 0%);
409
+ --ge-table-body-west-vertical-border: oklch(100% 0 0 / 0%);
410
+ --ge-table-body-center-horizontal-border: oklch(100% 0 0 / 0%);
411
+ --ge-table-body-center-vertical-border: oklch(100% 0 0 / 0%);
412
+ --ge-table-body-east-horizontal-border: oklch(100% 0 0 / 0%);
413
+ --ge-table-body-east-vertical-border: oklch(100% 0 0 / 0%);
414
+ --ge-table-body-west-selected-range-bg: oklch(20% 0.2 39.6 / 37%);
415
+ --ge-table-body-center-selected-range-bg: oklch(20% 0.2 39.6 / 37%);
416
+ --ge-table-body-east-selected-range-bg: oklch(20% 0.2 39.6 / 37%);
417
+ --ge-table-body-west-selected-range-text: #f00032;
418
+ --ge-table-body-center-selected-range-text: #f00032;
419
+ --ge-table-body-east-selected-range-text: #f00032;
420
+ --ge-table-footer-west-bg: #101010;
421
+ --ge-table-footer-center-bg: #101010;
422
+ --ge-table-footer-east-bg: #101010;
423
+ --ge-table-footer-west-text: oklch(100% 0 0);
424
+ --ge-table-footer-center-text: oklch(100% 0 0);
425
+ --ge-table-footer-east-text: oklch(100% 0 0);
426
+ --ge-table-footer-west-horizontal-border: oklch(100% 0 0 / 0%);
427
+ --ge-table-footer-west-vertical-border: oklch(100% 0 0 / 0%);
428
+ --ge-table-footer-center-horizontal-border: oklch(100% 0 0 / 0%);
429
+ --ge-table-footer-center-vertical-border: oklch(100% 0 0 / 0%);
430
+ --ge-table-footer-east-horizontal-border: oklch(100% 0 0 / 0%);
431
+ --ge-table-footer-east-vertical-border: oklch(100% 0 0 / 0%);
432
+ --ge-table-border: oklch(100% 0 0 / 0%);
433
+ --ge-table-row-odd-bg: oklch(100% 0 0 / 0%);
434
+ --ge-table-row-even-bg: oklch(100% 0 0 / 0%);
435
+ --ge-table-column-odd-bg: oklch(100% 0 0 / 0%);
436
+ --ge-table-column-even-bg: oklch(100% 0 0 / 0%);
437
+ --ge-table-hover-column-bg: oklch(34% 0.25 3.6 / 27%);
438
+ --ge-table-hover-row-bg: oklch(34% 0.25 3.6 / 27%);
439
+ --ge-table-focus-border: oklch(40% 0.25 3.6);
440
+ --ge-table-color-error-text: oklch(65% 0.31 43.2);
441
+ --ge-table-tree-arrow-collapsed-color: #e00034;
442
+ --ge-table-column-resize-handle-border: oklch(63% 0.31 43.2);
443
+ --ge-table-dragged-col-div-bg: #2c2e33;
444
+ --ge-table-drop-zone-bg: #101010;
445
+ }`,
446
+ paper: `html[data-theme="paper"] {
447
+ --ge-table-bg: #e7e5df;
448
+ --ge-table-header-west-bg: oklch(80% 0.02 99 / 48%);
449
+ --ge-table-header-center-bg: oklch(80% 0.02 99 / 48%);
450
+ --ge-table-header-east-bg: oklch(80% 0.02 99 / 48%);
451
+ --ge-table-header-west-text: #111;
452
+ --ge-table-header-center-text: #111;
453
+ --ge-table-header-east-text: #111;
454
+ --ge-table-header-west-horizontal-border: oklch(100% 0 0 / 0%);
455
+ --ge-table-header-west-vertical-border: oklch(100% 0 0 / 0%);
456
+ --ge-table-header-center-horizontal-border: oklch(100% 0 0 / 0%);
457
+ --ge-table-header-center-vertical-border: oklch(100% 0 0 / 0%);
458
+ --ge-table-header-east-horizontal-border: oklch(100% 0 0 / 0%);
459
+ --ge-table-header-east-vertical-border: oklch(100% 0 0 / 0%);
460
+ --ge-table-body-west-bg: oklch(80% 0.02 99 / 48%);
461
+ --ge-table-body-center-bg: #e7e5df;
462
+ --ge-table-body-east-bg: oklch(80% 0.02 99 / 48%);
463
+ --ge-table-body-west-text: #000;
464
+ --ge-table-body-center-text: #000;
465
+ --ge-table-body-east-text: #000;
466
+ --ge-table-body-west-horizontal-border: oklch(100% 0 0 / 0%);
467
+ --ge-table-body-west-vertical-border: oklch(100% 0 0 / 0%);
468
+ --ge-table-body-center-horizontal-border: oklch(100% 0 0 / 0%);
469
+ --ge-table-body-center-vertical-border: oklch(100% 0 0 / 0%);
470
+ --ge-table-body-east-horizontal-border: oklch(100% 0 0 / 0%);
471
+ --ge-table-body-east-vertical-border: oklch(100% 0 0 / 0%);
472
+ --ge-table-body-west-selected-range-bg: #cfcdc2;
473
+ --ge-table-body-center-selected-range-bg: #cfcdc2;
474
+ --ge-table-body-east-selected-range-bg: #cfcdc2;
475
+ --ge-table-body-west-selected-range-text: #000;
476
+ --ge-table-body-center-selected-range-text: #000;
477
+ --ge-table-body-east-selected-range-text: #000;
478
+ --ge-table-footer-west-bg: oklch(80% 0.02 99 / 48%);
479
+ --ge-table-footer-center-bg: oklch(80% 0.02 99 / 48%);
480
+ --ge-table-footer-east-bg: oklch(80% 0.02 99 / 48%);
481
+ --ge-table-footer-west-text: #111;
482
+ --ge-table-footer-center-text: #111;
483
+ --ge-table-footer-east-text: #111;
484
+ --ge-table-footer-west-horizontal-border: oklch(100% 0 0 / 0%);
485
+ --ge-table-footer-west-vertical-border: oklch(100% 0 0 / 0%);
486
+ --ge-table-footer-center-horizontal-border: oklch(100% 0 0 / 0%);
487
+ --ge-table-footer-center-vertical-border: oklch(100% 0 0 / 0%);
488
+ --ge-table-footer-east-horizontal-border: oklch(100% 0 0 / 0%);
489
+ --ge-table-footer-east-vertical-border: oklch(100% 0 0 / 0%);
490
+ --ge-table-border: oklch(100% 0 0 / 0%);
491
+ --ge-table-row-odd-bg: oklch(100% 0 0 / 0%);
492
+ --ge-table-row-even-bg: oklch(100% 0 0 / 0%);
493
+ --ge-table-column-odd-bg: oklch(100% 0 0 / 0%);
494
+ --ge-table-column-even-bg: oklch(100% 0 0 / 0%);
495
+ --ge-table-hover-column-bg: oklch(5% 0.2 266.40000000000003 / 9%);
496
+ --ge-table-hover-row-bg: oklch(5% 0.2 266.40000000000003 / 9%);
497
+ --ge-table-focus-border: oklch(100% 0.19 205.20000000000002);
498
+ --ge-table-color-error-text: oklch(45% 0.25 43.2);
499
+ --ge-table-tree-arrow-collapsed-color: #e00034;
500
+ --ge-table-column-resize-handle-border: oklch(100% 0.19 205.20000000000002 / 71%);
501
+ --ge-table-dragged-col-div-bg: #2c2e33;
502
+ --ge-table-drop-zone-bg: #e7e5df;
503
+ }`,
504
+ blackboard: `html[data-theme="dark"] {
505
+ --ge-table-bg: #0c1021;
506
+ --ge-table-header-west-bg: #0c1021;
507
+ --ge-table-header-center-bg: #0c1021;
508
+ --ge-table-header-east-bg: #0c1021;
509
+ --ge-table-header-west-text: #e0df85;
510
+ --ge-table-header-center-text: #e0df85;
511
+ --ge-table-header-east-text: #e0df85;
512
+ --ge-table-header-west-horizontal-border: transparent;
513
+ --ge-table-header-west-vertical-border: transparent;
514
+ --ge-table-header-center-horizontal-border: transparent;
515
+ --ge-table-header-center-vertical-border: transparent;
516
+ --ge-table-header-east-horizontal-border: transparent;
517
+ --ge-table-header-east-vertical-border: transparent;
518
+ --ge-table-body-west-bg: #0c1021;
519
+ --ge-table-body-center-bg: #0c1021;
520
+ --ge-table-body-east-bg: #0c1021;
521
+ --ge-table-body-west-text: #a7a7a7;
522
+ --ge-table-body-center-text: #a7a7a7;
523
+ --ge-table-body-east-text: #a7a7a7;
524
+ --ge-table-body-west-horizontal-border: transparent;
525
+ --ge-table-body-west-vertical-border: transparent;
526
+ --ge-table-body-center-horizontal-border: transparent;
527
+ --ge-table-body-center-vertical-border: transparent;
528
+ --ge-table-body-east-horizontal-border: transparent;
529
+ --ge-table-body-east-vertical-border: transparent;
530
+ --ge-table-body-west-selected-range-bg: #758129;
531
+ --ge-table-body-center-selected-range-bg: #758129;
532
+ --ge-table-body-east-selected-range-bg: #758129;
533
+ --ge-table-body-west-selected-range-text: oklch(100% 0 0);
534
+ --ge-table-body-center-selected-range-text: oklch(100% 0 0);
535
+ --ge-table-body-east-selected-range-text: oklch(100% 0 0);
536
+ --ge-table-footer-west-bg: #0c1021;
537
+ --ge-table-footer-center-bg: #0c1021;
538
+ --ge-table-footer-east-bg: #0c1021;
539
+ --ge-table-footer-west-text: #e0df85;
540
+ --ge-table-footer-center-text: #e0df85;
541
+ --ge-table-footer-east-text: #e0df85;
542
+ --ge-table-footer-west-horizontal-border: transparent;
543
+ --ge-table-footer-west-vertical-border: transparent;
544
+ --ge-table-footer-center-horizontal-border: transparent;
545
+ --ge-table-footer-center-vertical-border: otransparent;
546
+ --ge-table-footer-east-horizontal-border: transparent;
547
+ --ge-table-footer-east-vertical-border: transparent;
548
+ --ge-table-border: oklch(0% 0 0);
549
+ --ge-table-row-odd-bg: oklch(100% 0 0 / 0%);
550
+ --ge-table-row-even-bg: oklch(100% 0 0 / 0%);
551
+ --ge-table-column-odd-bg: oklch(100% 0 0 / 0%);
552
+ --ge-table-column-even-bg: oklch(100% 0 0 / 0%);
553
+ --ge-table-hover-column-bg: #a9a9a9;
554
+ --ge-table-hover-row-bg: #a9a9a9;
555
+ --ge-table-focus-border: #e1ff00;
556
+ --ge-table-color-error-text: #ff0040;
557
+ --ge-table-tree-arrow-collapsed-color: #e00034;
558
+ --ge-table-column-resize-handle-border: oklch(0% 0 0);
559
+ --ge-table-dragged-col-div-bg: #2c2e33;
560
+ --ge-table-drop-zone-bg: #758129;
561
+ }`
562
+ };
563
+ let se = $;
564
+ class ie {
565
+ constructor(e, r = !0, a, t, n = 0, m = !1, d = !1) {
566
+ this.data = e, this.expanded = r, this.children = a, this.parent = t, this.deep = n, this.checked = m, this.keep = d, this.type = "TreeRow";
179
567
  }
180
568
  }
181
- class A {
569
+ class M {
182
570
  static buildTreeRows(e, r = "children", a = 12) {
183
571
  const t = [];
184
572
  for (const n of e)
185
- t.push(A.buildTreeRow(n, r, void 0, 0, a));
573
+ t.push(M.buildTreeRow(n, r, void 0, 0, a));
186
574
  return t;
187
575
  }
188
- static buildTreeRow(e, r = "children", a = new Q(e, !0, [], void 0, 0), t = 0, n = 12) {
189
- var i;
576
+ static buildTreeRow(e, r = "children", a = new ie(e, !0, [], void 0, 0), t = 0, n = 12) {
577
+ var d;
190
578
  if (t > n)
191
579
  return console.warn("Max deep limit reached: ", t), a;
192
580
  const m = e[r];
193
581
  if (m)
194
- for (const d of m) {
195
- const p = new Q(d, !0, [], a, t + 1);
196
- if ((i = a.children) == null || i.push(p), A.buildTreeRow(
197
- d,
582
+ for (const i of m) {
583
+ const u = new ie(i, !0, [], a, t + 1);
584
+ if ((d = a.children) == null || d.push(u), M.buildTreeRow(
585
+ i,
198
586
  r,
199
- p,
587
+ u,
200
588
  t + 1
201
589
  ), t > n)
202
590
  return console.warn("Max deep limit reached: ", t), a;
@@ -204,46 +592,46 @@ class A {
204
592
  return a;
205
593
  }
206
594
  }
207
- class v {
595
+ class R {
208
596
  constructor(e = 34, r = 34, a = 34) {
209
597
  this.header = e, this.body = r, this.footer = a;
210
598
  }
211
599
  }
212
- class u {
600
+ class p {
213
601
  constructor(e = 100, r = "px") {
214
602
  this.value = e, this.unit = r;
215
603
  }
216
604
  }
217
- const f = () => !0, U = () => !1;
605
+ const g = () => !0, B = () => !1;
218
606
  class y {
219
- constructor(e, r, a = new u(100, "px"), t = new S(), n = new S(), m = new u(100, "px"), i = new u(100, "px"), d, p, l, c, b, P, w, x, g = () => this.visible) {
220
- this.property = e, this.headerLabel = r, this.width = a, this.classes = t, this.rendererMap = n, this.minWidth = m, this.maxWidth = i, this.sortable = d, this.sortComparator = p, this.sortState = l, this.sortStatesOrder = c, this.sortIconVisible = b, this.editable = P, this.getEditRenderer = w, this.editInputPipe = x, this.isVisible = g, this.visible = !0;
607
+ constructor(e, r, a = new p(100, "px"), t = new C(), n = new C(), m = new p(100, "px"), d = new p(100, "px"), i, u, l, c, N, G, v, k, b = () => this.visible) {
608
+ this.property = e, this.headerLabel = r, this.width = a, this.classes = t, this.rendererMap = n, this.minWidth = m, this.maxWidth = d, this.sortable = i, this.sortComparator = u, this.sortState = l, this.sortStatesOrder = c, this.sortIconVisible = N, this.editable = G, this.getEditRenderer = v, this.editInputPipe = k, this.isVisible = b, this.visible = !0;
221
609
  }
222
610
  static bodyRenderer(e) {
223
- return new S(
611
+ return new C(
224
612
  void 0,
225
613
  e,
226
614
  void 0
227
615
  );
228
616
  }
229
617
  static create(e) {
230
- const r = new S(
618
+ const r = new C(
231
619
  e.headerRenderer,
232
620
  e.bodyRenderer,
233
621
  e.footerRenderer
234
- ), a = new S(
622
+ ), a = new C(
235
623
  e.headerClasses,
236
624
  e.bodyClasses,
237
625
  e.footerClasses
238
- ), t = e.sortIconVisible ?? e.sortable ?? U, n = e.editable ?? e.editable ?? U, m = e.isVisible ?? e.isVisible ?? f;
626
+ ), t = e.sortIconVisible ?? e.sortable ?? B, n = e.editable ?? e.editable ?? B, m = e.isVisible ?? e.isVisible ?? g;
239
627
  return new y(
240
628
  e.property ?? "",
241
629
  e.headerLabel ?? "",
242
- e.width ?? new u(100, "px"),
630
+ e.width ?? new p(100, "px"),
243
631
  a,
244
632
  r,
245
- e.minWidth ?? new u(100, "px"),
246
- e.maxWidth ?? new u(100, "px"),
633
+ e.minWidth ?? new p(100, "px"),
634
+ e.maxWidth ?? new p(100, "px"),
247
635
  e.sortable,
248
636
  e.sortComparator,
249
637
  e.sortState,
@@ -256,11 +644,14 @@ class y {
256
644
  );
257
645
  }
258
646
  }
259
- const Ce = new u(300, "px"), Pe = new u(250, "px"), Le = new u(220, "px"), D = new u(200, "px"), Ge = new u(160, "px"), ye = new u(150, "px"), ue = new u(140, "px"), z = new u(120, "px"), G = new u(100, "px"), ze = new u(90, "px"), Ze = new u(80, "px"), we = new u(70, "px"), I = new u(60, "px"), xe = new u(50, "px");
260
- class X {
647
+ const Be = new p(300, "px"), Ie = new p(250, "px"), fe = new p(220, "px"), A = new p(200, "px"), qe = new p(160, "px"), Te = new p(150, "px"), re = new p(140, "px"), L = new p(120, "px"), T = new p(100, "px"), oe = new p(90, "px"), he = new p(80, "px"), Ve = new p(70, "px"), x = new p(60, "px"), He = new p(50, "px");
648
+ class ae {
261
649
  constructor(e, r = [], a = -1) {
262
650
  this.areaIdent = e, this.columnDefs = r, this.defaultRowHeight = a, this.rowSelectionModel = void 0, this.yPositions = [], this.cellRenderers = r.map((t) => t.rendererMap[e]);
263
651
  }
652
+ getTextValueAt(e, r) {
653
+ return "" + this.getValueAt(e, r);
654
+ }
264
655
  getTooltipAt(e, r) {
265
656
  return "";
266
657
  }
@@ -314,11 +705,13 @@ class X {
314
705
  return !1;
315
706
  }
316
707
  isEditable(e, r) {
317
- return this.columnDefs && r < this.columnDefs.length && this.columnDefs[r].editable ? this.columnDefs[r].editable() : !1;
708
+ var t, n;
709
+ const a = (t = this.columnDefs) == null ? void 0 : t[r];
710
+ return ((n = a == null ? void 0 : a.editable) == null ? void 0 : n.call(a)) ?? !1;
318
711
  }
319
712
  setValue(e, r, a) {
320
- var i;
321
- const t = (i = this.columnDefs[r]) == null ? void 0 : i.editInputPipe;
713
+ var d;
714
+ const t = (d = this.columnDefs[r]) == null ? void 0 : d.editInputPipe;
322
715
  t && (a = t(a, e, r));
323
716
  const n = this.getRowByIndex(e), m = this.columnDefs[r].property;
324
717
  return m.includes(".") ? this.setPropertyValue(n, m.split("."), a) : (n[m] = a, !0);
@@ -332,7 +725,7 @@ class X {
332
725
  setPropertyValue(e, r, a) {
333
726
  const t = r.shift();
334
727
  if (t) {
335
- let n = e[t];
728
+ const n = e[t];
336
729
  return n && r.length ? this.setPropertyValue(n, r, a) : (e[t] = a, !0);
337
730
  }
338
731
  return !1;
@@ -348,7 +741,7 @@ class X {
348
741
  this.yPositions[r + 1] = this.getRowHeight(r) + this.yPositions[r];
349
742
  }
350
743
  }
351
- class o extends X {
744
+ class S extends ae {
352
745
  constructor(e, r, a, t = []) {
353
746
  super(e, t, a), this.areaIdent = e, this.arr = r, this.defaultRowHeight = a, this.columnDefs = t, this.filteredArr = [...r];
354
747
  }
@@ -376,7 +769,7 @@ class o extends X {
376
769
  this.filteredArr.forEach((a) => this.arrayMove(a, e, r)), super.changeColumnOrder(e, r);
377
770
  }
378
771
  }
379
- class L {
772
+ class Z {
380
773
  constructor(e = "body") {
381
774
  this.areaIdent = e, this.rowSelectionModel = void 0;
382
775
  }
@@ -386,6 +779,9 @@ class L {
386
779
  getValueAt(e, r) {
387
780
  return "";
388
781
  }
782
+ getTextValueAt(e, r) {
783
+ return "";
784
+ }
389
785
  getCellRenderer(e, r) {
390
786
  }
391
787
  getRowHeight(e) {
@@ -445,7 +841,7 @@ class L {
445
841
  changeColumnOrder(e, r) {
446
842
  }
447
843
  }
448
- class ke {
844
+ class _e {
449
845
  flattenTree(e, r = []) {
450
846
  var a;
451
847
  for (const t of e)
@@ -456,7 +852,7 @@ class ke {
456
852
  return e.parent ? e.parent.expanded ? this.isVisible(e.parent) : !1 : !0;
457
853
  }
458
854
  }
459
- class pe {
855
+ class Se {
460
856
  genericSortComparator(e, r, a) {
461
857
  if (typeof e == "number" && typeof r == "number")
462
858
  return a * (e - r);
@@ -474,9 +870,9 @@ class pe {
474
870
  return a * ("" + e).localeCompare("" + r);
475
871
  }
476
872
  }
477
- class ee extends X {
873
+ class de extends ae {
478
874
  constructor(e, r, a, t = []) {
479
- super(e, t, a), this.areaIdent = e, this.rows = r, this.defaultRowHeight = a, this.columnDefs = t, this.type = "AreaModelTree", this.sorterService = new pe(), this.service = new ke(), this.properties = t.map((n) => n.property), this.flattenRows = this.service.flattenTree(r), this.filteredFlattenRows = [...this.flattenRows];
875
+ super(e, t, a), this.areaIdent = e, this.rows = r, this.defaultRowHeight = a, this.columnDefs = t, this.type = "AreaModelTree", this.sorterService = new Se(), this.service = new _e(), this.properties = t.map((n) => n.property), this.flattenRows = this.service.flattenTree(r), this.filteredFlattenRows = [...this.flattenRows];
480
876
  }
481
877
  changeColumnOrder(e, r) {
482
878
  this.arrayMove(this.properties, e, r), super.changeColumnOrder(e, r);
@@ -533,8 +929,8 @@ class ee extends X {
533
929
  t && (a = t(a, e, r));
534
930
  const n = this.getRowByIndex(e);
535
931
  if (n) {
536
- const i = n.data, d = this.columnDefs[r].property;
537
- return d.includes(".") ? this.setPropertyValue(i, d.split("."), a) : (i[d] = a, !0);
932
+ const d = n.data, i = this.columnDefs[r].property;
933
+ return i.includes(".") ? this.setPropertyValue(d, i.split("."), a) : (d[i] = a, !0);
538
934
  }
539
935
  return !1;
540
936
  }
@@ -578,7 +974,7 @@ class ee extends X {
578
974
  t.children && this.treeSort(t.children, r, a);
579
975
  }
580
976
  }
581
- class re {
977
+ class ye {
582
978
  constructor(e = []) {
583
979
  this.allRootNodes = e;
584
980
  }
@@ -638,12 +1034,12 @@ class re {
638
1034
  a.checked && r.push(a), a.children && this.addSelectedRecursive(a.children, r);
639
1035
  }
640
1036
  }
641
- class ae {
1037
+ class ue {
642
1038
  constructor(e = 0, r = 0, a = 0, t = 0) {
643
1039
  this.top = e, this.right = r, this.bottom = a, this.left = t;
644
1040
  }
645
1041
  }
646
- class ve {
1042
+ class $e {
647
1043
  constructor() {
648
1044
  this.checkedRows = [];
649
1045
  }
@@ -674,11 +1070,11 @@ class ve {
674
1070
  }
675
1071
  }
676
1072
  }
677
- class V {
678
- constructor(e, r, a, t = 0, n = 0, m = !1, i = new v(), d = [], p = [], l = -1, c = 0, b = 400, P = () => {
1073
+ class W {
1074
+ constructor(e, r, a, t = 0, n = 0, m = !1, d = new R(), i = [], u = [], l = -1, c = 0, N = 400, G = () => {
679
1075
  }) {
680
- var w, x, g, O;
681
- this.headerAreaModel = e, this.bodyAreaModel = r, this.footerAreaModel = a, this.fixedLeftColumnCount = t, this.fixedRightColumnCount = n, this.rowCheckboxVisible = m, this.defaultRowHeights = i, this.columnDefs = d, this.columnSizes = p, this.overridingColumnWidth = l, this.columnCount = c, this.parentSize = b, this.getSelectionModel = P, this.rowCount = 0, this.contentHeightInPx = 0, this.contentWidthInPx = 0, this.padding = new ae(0, 0, 0, 0), this.xPositions = [], e.areaIdent = "header", r.areaIdent = "body", a.areaIdent = "footer", this.columnCount || ((w = this.columnDefs) != null && w.length ? this.columnCount = this.columnDefs.length : (x = this.columnSizes) != null && x.length && (this.columnCount = (g = this.columnSizes) == null ? void 0 : g.length)), (O = this.columnDefs) != null && O.length && be(this.columnDefs[0]) && !r.rowSelectionModel && (r.rowSelectionModel = new ve());
1076
+ var v, k, b, F;
1077
+ this.headerAreaModel = e, this.bodyAreaModel = r, this.footerAreaModel = a, this.fixedLeftColumnCount = t, this.fixedRightColumnCount = n, this.rowCheckboxVisible = m, this.defaultRowHeights = d, this.columnDefs = i, this.columnSizes = u, this.overridingColumnWidth = l, this.columnCount = c, this.parentSize = N, this.getSelectionModel = G, this.rowCount = 0, this.contentHeightInPx = 0, this.contentWidthInPx = 0, this.padding = new ue(0, 0, 0, 0), this.xPositions = [], e.areaIdent = "header", r.areaIdent = "body", a.areaIdent = "footer", this.columnCount || ((v = this.columnDefs) != null && v.length ? this.columnCount = this.columnDefs.length : (k = this.columnSizes) != null && k.length && (this.columnCount = (b = this.columnSizes) == null ? void 0 : b.length)), (F = this.columnDefs) != null && F.length && xe(this.columnDefs[0]) && !r.rowSelectionModel && (r.rowSelectionModel = new $e());
682
1078
  }
683
1079
  init() {
684
1080
  this.recalcSize(this.parentSize), this.overridingColumnWidth === -1 && this.calcXPositions(), this.headerAreaModel && this.headerAreaModel.init(), this.bodyAreaModel && this.bodyAreaModel.init(), this.footerAreaModel && this.footerAreaModel.init();
@@ -759,7 +1155,7 @@ class V {
759
1155
  */
760
1156
  recalcPadding() {
761
1157
  const e = this.getSideAreaWidth("west"), r = this.getSideAreaWidth("east"), a = this.getAreaHeight("header"), t = this.getAreaHeight("footer");
762
- this.padding = new ae(
1158
+ this.padding = new ue(
763
1159
  a,
764
1160
  r,
765
1161
  t,
@@ -977,7 +1373,13 @@ class V {
977
1373
  * @returns {boolean} - `true` if the column is sortable, `false` otherwise.
978
1374
  */
979
1375
  isSortable(e) {
980
- return this.columnDefs && e < this.columnDefs.length && this.columnDefs[e].sortable ? this.columnDefs[e].sortable() : !1;
1376
+ var r;
1377
+ if (this.columnDefs && e < this.columnDefs.length) {
1378
+ const a = (r = this.columnDefs[e]) == null ? void 0 : r.sortable;
1379
+ if (typeof a == "function")
1380
+ return a();
1381
+ }
1382
+ return !1;
981
1383
  }
982
1384
  /**
983
1385
  * Moves a column in the column order.
@@ -997,12 +1399,12 @@ class V {
997
1399
  if (n.width.unit === "%" && e) {
998
1400
  let m = Math.floor(n.width.value * e / 100);
999
1401
  if (n.minWidth) {
1000
- let i = n.minWidth.unit === "px" ? n.minWidth.value : Math.floor(n.minWidth.value * e / 100);
1001
- m = Math.max(i, m);
1402
+ const d = n.minWidth.unit === "px" ? n.minWidth.value : Math.floor(n.minWidth.value * e / 100);
1403
+ m = Math.max(d, m);
1002
1404
  }
1003
1405
  if (n.maxWidth) {
1004
- let i = n.maxWidth.unit === "px" ? n.maxWidth.value : Math.floor(n.maxWidth.value * e / 100);
1005
- m = Math.min(i, m);
1406
+ const d = n.maxWidth.unit === "px" ? n.maxWidth.value : Math.floor(n.maxWidth.value * e / 100);
1407
+ m = Math.min(d, m);
1006
1408
  }
1007
1409
  return m;
1008
1410
  }
@@ -1023,9 +1425,12 @@ class V {
1023
1425
  this.xPositions[r + 1] = this.getColumnWidth(r) + this.xPositions[r];
1024
1426
  }
1025
1427
  }
1026
- class Re extends X {
1428
+ class Ee extends ae {
1027
1429
  constructor(e, r, a, t = []) {
1028
- super(e, t, a), this.areaIdent = e, this.rows = r, this.defaultRowHeight = a, this.columnDefs = t, this.sorterService = new pe(), this.filteredRows = [...r], this.properties = t.map((n) => n.property);
1430
+ super(e, t, a), this.areaIdent = e, this.rows = r, this.defaultRowHeight = a, this.columnDefs = t, this.sorterService = new Se(), this.filteredRows = [...r], this.properties = t.map((n) => n.property);
1431
+ }
1432
+ setRows(e) {
1433
+ this.rows = e, this.filteredRows = [...e];
1029
1434
  }
1030
1435
  getRowCount() {
1031
1436
  var e;
@@ -1034,7 +1439,7 @@ class Re extends X {
1034
1439
  getValueAt(e, r) {
1035
1440
  const a = this.properties[r];
1036
1441
  let t = this.filteredRows[e];
1037
- return $(t) && (t = t.data), t ? this.getValueByT(t, a) : "";
1442
+ return X(t) && (t = t.data), t ? this.getValueByT(t, a) : "";
1038
1443
  }
1039
1444
  getFilteredRows() {
1040
1445
  return this.filteredRows;
@@ -1071,12 +1476,11 @@ class Re extends X {
1071
1476
  };
1072
1477
  }
1073
1478
  getPropertyValue(e, r) {
1074
- const a = r.shift();
1075
- let t = e[a];
1479
+ const a = r.shift(), t = e[a];
1076
1480
  return t && r.length ? this.getPropertyValue(t, r) : t;
1077
1481
  }
1078
1482
  }
1079
- class B extends Re {
1483
+ class I extends Ee {
1080
1484
  constructor(e, r, a, t) {
1081
1485
  super(
1082
1486
  e,
@@ -1086,65 +1490,65 @@ class B extends Re {
1086
1490
  ), this.areaIdent = e, this.rows = r, this.columnDefs = a, this.defaultRowHeight = t;
1087
1491
  }
1088
1492
  }
1089
- class N {
1493
+ class f {
1090
1494
  static createTableModel(e) {
1091
- var r, a, t, n, m, i, d, p, l, c, b, P, w, x;
1495
+ var r, a, t, n, m, d, i, u, l, c, N, G, v, k;
1092
1496
  if (e.defaultRowHeights === void 0)
1093
1497
  if ((r = e.tableOptions) != null && r.defaultRowHeights)
1094
1498
  e.defaultRowHeights = e.tableOptions.defaultRowHeights;
1095
1499
  else {
1096
- if (e.defaultRowHeights = new v(), e.headerAreaModel && "defaultRowHeight" in e.headerAreaModel) {
1097
- const g = e.headerAreaModel.defaultRowHeight;
1098
- g > -1 && (e.defaultRowHeights.header = g);
1500
+ if (e.defaultRowHeights = new R(), e.headerAreaModel && "defaultRowHeight" in e.headerAreaModel) {
1501
+ const b = e.headerAreaModel.defaultRowHeight;
1502
+ b > -1 && (e.defaultRowHeights.header = b);
1099
1503
  }
1100
1504
  if (e.bodyAreaModel && "defaultRowHeight" in e.bodyAreaModel) {
1101
- const g = e.bodyAreaModel.defaultRowHeight;
1102
- g > -1 && (e.defaultRowHeights.body = g);
1505
+ const b = e.bodyAreaModel.defaultRowHeight;
1506
+ b > -1 && (e.defaultRowHeights.body = b);
1103
1507
  }
1104
1508
  if (e.footerAreaModel && "defaultRowHeight" in e.footerAreaModel) {
1105
- const g = e.footerAreaModel.defaultRowHeight;
1106
- g > -1 && (e.defaultRowHeights.footer = g);
1509
+ const b = e.footerAreaModel.defaultRowHeight;
1510
+ b > -1 && (e.defaultRowHeights.footer = b);
1107
1511
  }
1108
1512
  }
1109
- if (e.columnDefs === void 0 && ((a = e.properties) != null && a.length ? e.columnDefs = e.properties.map((g) => new y(g, g.toUpperCase(), D)) : (t = e.rows) != null && t.length ? e.columnDefs = Object.keys(e.rows[0]).map((g) => new y(g, g.toUpperCase(), D)) : e.columnDefs = []), e.columnCount === void 0 && ((n = e.columnDefs) != null && n.length ? e.columnCount = e.columnDefs.length : (m = e.headerData) != null && m.length ? e.columnCount = e.headerData[0].length : (i = e.columnSizes) != null && i.length ? e.columnCount = (d = e.columnSizes) == null ? void 0 : d.length : console.warn('Property "columnCount" is missing and cannot be derived from other properties.')), e.headerAreaModel || ((p = e.headerData) != null && p.length ? e.headerAreaModel = new o(
1513
+ if (e.columnDefs === void 0 && ((a = e.properties) != null && a.length ? e.columnDefs = e.properties.map((b) => new y(b, b.toUpperCase(), A)) : (t = e.rows) != null && t.length ? e.columnDefs = Object.keys(e.rows[0]).map((b) => new y(b, b.toUpperCase(), A)) : e.columnDefs = []), e.columnCount === void 0 && ((n = e.columnDefs) != null && n.length ? e.columnCount = e.columnDefs.length : (m = e.headerData) != null && m.length ? e.columnCount = e.headerData[0].length : (d = e.columnSizes) != null && d.length ? e.columnCount = (i = e.columnSizes) == null ? void 0 : i.length : console.warn('Property "columnCount" is missing and cannot be derived from other properties.')), e.headerAreaModel || ((u = e.headerData) != null && u.length ? e.headerAreaModel = new S(
1110
1514
  "header",
1111
1515
  e.headerData,
1112
1516
  e.defaultRowHeights.header,
1113
1517
  e.columnDefs
1114
- ) : (l = e.columnDefs) != null && l.length ? e.headerAreaModel = new o(
1518
+ ) : (l = e.columnDefs) != null && l.length ? e.headerAreaModel = new S(
1115
1519
  "header",
1116
- [e.columnDefs.map((g) => g.headerLabel)],
1520
+ [e.columnDefs.map((b) => b.headerLabel)],
1117
1521
  e.defaultRowHeights.header,
1118
1522
  e.columnDefs
1119
- ) : e.headerAreaModel = new L("header")), e.footerAreaModel || ((c = e.footerData) != null && c.length ? e.footerAreaModel = new o(
1523
+ ) : e.headerAreaModel = new Z("header")), e.footerAreaModel || ((c = e.footerData) != null && c.length ? e.footerAreaModel = new S(
1120
1524
  "footer",
1121
1525
  e.footerData,
1122
1526
  e.defaultRowHeights.footer,
1123
1527
  e.columnDefs
1124
- ) : e.footerAreaModel = new L("footer")), !e.bodyAreaModel)
1528
+ ) : e.footerAreaModel = new Z("footer")), !e.bodyAreaModel)
1125
1529
  if (e.rows)
1126
- if ((b = e.rows) != null && b.length && $(e.rows[0])) {
1127
- const g = e.rows;
1128
- e.bodyAreaModel = new ee(
1530
+ if ((N = e.rows) != null && N.length && X(e.rows[0])) {
1531
+ const b = e.rows;
1532
+ e.bodyAreaModel = new de(
1129
1533
  "body",
1130
- g,
1534
+ b,
1131
1535
  e.defaultRowHeights.body,
1132
1536
  e.columnDefs
1133
- ), (e.columnDefs[0].property === "CheckboxColumn" || (P = e.tableOptions) != null && P.showCheckboxWihoutExtraColumn) && (e.bodyAreaModel.rowSelectionModel = new re(g));
1537
+ ), (e.columnDefs[0].property === "CheckboxColumn" || (G = e.tableOptions) != null && G.showCheckboxWihoutExtraColumn) && (e.bodyAreaModel.rowSelectionModel = new ye(b));
1134
1538
  } else
1135
- e.bodyAreaModel = new B(
1539
+ e.bodyAreaModel = new I(
1136
1540
  "body",
1137
1541
  e.rows,
1138
1542
  e.columnDefs,
1139
1543
  e.defaultRowHeights.body
1140
1544
  );
1141
1545
  else
1142
- e.bodyData ? e.bodyAreaModel = new o(
1546
+ e.bodyData ? e.bodyAreaModel = new S(
1143
1547
  "body",
1144
1548
  e.bodyData,
1145
1549
  e.defaultRowHeights.body
1146
- ) : e.bodyAreaModel = new L("body");
1147
- 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 && ((w = e.tableOptions) != null && w.getSelectionModel) && (e.getSelectionModel = (x = e.tableOptions) == null ? void 0 : x.getSelectionModel), new V(
1550
+ ) : e.bodyAreaModel = new Z("body");
1551
+ 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 && ((v = e.tableOptions) != null && v.getSelectionModel) && (e.getSelectionModel = (k = e.tableOptions) == null ? void 0 : k.getSelectionModel), new W(
1148
1552
  e.headerAreaModel,
1149
1553
  e.bodyAreaModel,
1150
1554
  e.footerAreaModel,
@@ -1161,27 +1565,27 @@ class N {
1161
1565
  );
1162
1566
  }
1163
1567
  static buildByTypedRowsParam(e) {
1164
- return N.buildByTypedRows(
1568
+ return f.buildByTypedRows(
1165
1569
  e.rows ?? [],
1166
1570
  e.columnDefs,
1167
- e.tableOptions ?? new Z(),
1571
+ e.tableOptions ?? new z(),
1168
1572
  e.fixedLeftColumnCount ?? 0,
1169
1573
  e.fixedRightColumnCount ?? 0
1170
1574
  );
1171
1575
  }
1172
- static buildByTypedRows(e, r, a = new Z(), t = 0, n = 0) {
1173
- const m = a.defaultRowHeights, i = r[0].property === "CheckboxColumn";
1174
- if (e != null && e.length && $(e[0])) {
1175
- const d = e, p = new ee(
1576
+ static buildByTypedRows(e, r, a = new z(), t = 0, n = 0) {
1577
+ const m = a.defaultRowHeights, d = r[0].property === "CheckboxColumn";
1578
+ if (e != null && e.length && X(e[0])) {
1579
+ const i = e, u = new de(
1176
1580
  "body",
1177
- d,
1581
+ i,
1178
1582
  m.body,
1179
1583
  r
1180
1584
  );
1181
- return (i || a.showCheckboxWihoutExtraColumn) && (p.rowSelectionModel = new re(d)), N.createByAreaModelsParam({
1182
- headerAreaModel: new o("header", [r.map((l) => l.headerLabel)], m.header),
1183
- bodyAreaModel: p,
1184
- footerAreaModel: new o("footer", [], m.footer),
1585
+ return (d || a.showCheckboxWihoutExtraColumn) && (u.rowSelectionModel = new ye(i)), f.createByAreaModelsParam({
1586
+ headerAreaModel: new S("header", [r.map((l) => l.headerLabel)], m.header),
1587
+ bodyAreaModel: u,
1588
+ footerAreaModel: new S("footer", [], m.footer),
1185
1589
  columnDefs: r,
1186
1590
  fixedLeftColumnCount: t,
1187
1591
  fixedRightColumnCount: n,
@@ -1192,7 +1596,7 @@ class N {
1192
1596
  overridingColumnWidth: -1
1193
1597
  });
1194
1598
  }
1195
- return N.createByObjectArrayParam({
1599
+ return f.createByObjectArrayParam({
1196
1600
  rows: e,
1197
1601
  columnDefs: r,
1198
1602
  fixedLeftColumnCount: t,
@@ -1202,38 +1606,38 @@ class N {
1202
1606
  }
1203
1607
  static createByObjectArrayParam(e) {
1204
1608
  const r = e.rowCheckboxVisible !== void 0 ? e.rowCheckboxVisible : !1;
1205
- return N.createByObjectArray(
1609
+ return f.createByObjectArray(
1206
1610
  e.rows,
1207
1611
  e.header ?? [],
1208
1612
  e.footer ?? [],
1209
1613
  e.fixedLeftColumnCount ?? 0,
1210
1614
  e.fixedRightColumnCount ?? 0,
1211
1615
  r,
1212
- e.defaultRowHeights ?? new v(),
1616
+ e.defaultRowHeights ?? new R(),
1213
1617
  e.columnDefs ?? [],
1214
1618
  e.columnSizes ?? []
1215
1619
  );
1216
1620
  }
1217
- static createByAreaModels(e = new L(), r, a = new L(), t = 0, n = 0, m = !1, i = new v(), d, p = [], l = -1, c) {
1218
- return new V(
1621
+ static createByAreaModels(e = new Z(), r, a = new Z(), t = 0, n = 0, m = !1, d = new R(), i, u = [], l = -1, c) {
1622
+ return new W(
1219
1623
  e,
1220
1624
  r,
1221
1625
  a,
1222
1626
  t,
1223
1627
  n,
1224
1628
  m,
1225
- i,
1226
1629
  d,
1227
- p,
1630
+ i,
1631
+ u,
1228
1632
  l,
1229
1633
  c
1230
1634
  );
1231
1635
  }
1232
1636
  static createByAreaModelsParam(e) {
1233
- return N.createByAreaModels(
1234
- e.headerAreaModel ?? new L(),
1637
+ return f.createByAreaModels(
1638
+ e.headerAreaModel ?? new Z(),
1235
1639
  e.bodyAreaModel,
1236
- e.footerAreaModel ?? new L(),
1640
+ e.footerAreaModel ?? new Z(),
1237
1641
  e.fixedLeftColumnCount ?? 0,
1238
1642
  e.fixedRightColumnCount ?? 0,
1239
1643
  e.rowCheckboxVisible === void 0 ? !1 : e.rowCheckboxVisible,
@@ -1244,34 +1648,34 @@ class N {
1244
1648
  e.columnCount ?? 0
1245
1649
  );
1246
1650
  }
1247
- static createByObjectArray(e, r = [], a = [], t = 0, n = 0, m = !1, i = new v(), d, p = []) {
1651
+ static createByObjectArray(e, r = [], a = [], t = 0, n = 0, m = !1, d = new R(), i, u = []) {
1248
1652
  let l;
1249
- r != null && r.length ? l = new o("header", r, i.header, d) : d != null && d.length ? l = new o("header", [d.map((P) => P.headerLabel)], i.header, d) : l = new L();
1250
- const c = a ? new o("footer", a, i.footer, d) : new L(), b = new B("body", e, d, i.body);
1251
- return new V(
1653
+ r != null && r.length ? l = new S("header", r, d.header, i) : i != null && i.length ? l = new S("header", [i.map((G) => G.headerLabel)], d.header, i) : l = new Z();
1654
+ const c = a ? new S("footer", a, d.footer, i) : new Z(), N = new I("body", e, i, d.body);
1655
+ return new W(
1252
1656
  l,
1253
- b,
1657
+ N,
1254
1658
  c,
1255
1659
  t,
1256
1660
  n,
1257
1661
  m,
1258
- i,
1259
1662
  d,
1260
- p
1663
+ i,
1664
+ u
1261
1665
  );
1262
1666
  }
1263
1667
  }
1264
- class H {
1668
+ class V {
1265
1669
  constructor(e, r) {
1266
1670
  this.tableModel = e, this.tableOptions = r;
1267
1671
  }
1268
1672
  }
1269
- class W {
1673
+ class Y {
1270
1674
  constructor(e, r) {
1271
1675
  this.value = e, this.label = r;
1272
1676
  }
1273
1677
  }
1274
- class Ae {
1678
+ class Oe {
1275
1679
  constructor() {
1276
1680
  this.autoRestoreSortingState = !1, this.autoRestoreCollapsedExpandedState = !1, this.autoRestoreScrollPosition = !1, this.autoRestoreCheckedState = !1, this.autoRestoreSelectedState = !1, this.getStorageKeyFn = void 0, this.isSame = (e, r, a) => {
1277
1681
  if (e && r && a.getRowId) {
@@ -1296,12 +1700,12 @@ class Ae {
1296
1700
  };
1297
1701
  }
1298
1702
  }
1299
- class Ue {
1703
+ class Fe {
1300
1704
  constructor(e, r, a, t = !1, n = "normal", m = void 0) {
1301
1705
  this.data = e, this.property = r, this.toggle = a, this.closed = t, this.visibility = n, this.children = m, this.impl = "CellGroup";
1302
1706
  }
1303
1707
  }
1304
- class De extends Ue {
1708
+ class We extends Fe {
1305
1709
  constructor(e, r = 0, a = 0, t) {
1306
1710
  super(
1307
1711
  e.data,
@@ -1373,22 +1777,24 @@ class De extends Ue {
1373
1777
  getParentCount(e = this, r = 0) {
1374
1778
  return e.parent && (r = r + 1 + this.getParentCount(e.parent, r)), r;
1375
1779
  }
1376
- log(e) {
1377
- const r = " ".substring(0, 2 * this.rowIndex), a = `${this.getColumnIndex()}`, t = `${this.getColumnCount(this)}`, n = `${this.getRowSpan(this, e)}`, m = `${this.getParentCount(this)}`;
1378
- if (console.info(`${r + this.data}
1780
+ log(e = 10) {
1781
+ const r = " ".substring(0, 2 * this.rowIndex), a = `${this.getColumnIndex()}`, t = `${this.getColumnCount(this)}`, n = `${this.getRowSpan(this, e)}`, m = `${this.getParentCount(this)}`, d = `${r + this.data}
1379
1782
  childIndex:${this.childIndex}
1380
1783
  row:${this.rowIndex}
1381
1784
  col:${a}
1382
1785
  vis:${this.visibility}
1786
+ toggle:${this.toggle}
1383
1787
  closed:${this.closed}
1384
1788
  isVisible:${this.isVisible()}
1385
1789
  ownColumn:${this.ownColumn()}
1386
1790
  claimsSpace:${this.claimsSpace()}
1387
1791
  colCount:${t}
1388
1792
  rowSpan:${n}
1389
- pc:${m}`.replace(/[ \n]+/g, " ")), this.children)
1793
+ pc:${m}`.replace(/[ \n]+/g, " ");
1794
+ if (this.children)
1390
1795
  for (const i of this.children)
1391
1796
  i.log(e);
1797
+ return d;
1392
1798
  }
1393
1799
  }
1394
1800
  class h {
@@ -1424,8 +1830,8 @@ class h {
1424
1830
  static buildGroupExts(e, r = [], a = 0, t) {
1425
1831
  let n;
1426
1832
  for (let m = 0; m < e.length; m++) {
1427
- const i = e[m], d = new De(i, a, m, t);
1428
- n && (d.leftNeighbour = n, n.rightNeighbour = d), r.push(d), i.children && (d.children = h.buildGroupExts(i.children, [], a + 1, d)), n = d;
1833
+ const d = e[m], i = new We(d, a, m, t);
1834
+ n && (i.leftNeighbour = n, n.rightNeighbour = i), r.push(i), d.children && (i.children = h.buildGroupExts(d.children, [], a + 1, i)), n = i;
1429
1835
  }
1430
1836
  return r;
1431
1837
  }
@@ -1447,15 +1853,15 @@ class h {
1447
1853
  for (const m of e) {
1448
1854
  if (m.rowIndex <= t) {
1449
1855
  a++;
1450
- for (let i = 0; i < r.length; i++)
1451
- r[i][a] = null;
1856
+ for (let d = 0; d < r.length; d++)
1857
+ r[d][a] = null;
1452
1858
  }
1453
1859
  if (r[m.rowIndex][a] = m, t = m.rowIndex, m.ownColumn() && ((n = m.children) != null && n.length)) {
1454
- for (let i = m.rowIndex + 1; i < r.length; i++)
1455
- r[i][a] = void 0;
1860
+ for (let d = m.rowIndex + 1; d < r.length; d++)
1861
+ r[d][a] = void 0;
1456
1862
  a++;
1457
- for (let i = 0; i < r.length; i++)
1458
- r[i][a] = null;
1863
+ for (let d = 0; d < r.length; d++)
1864
+ r[d][a] = null;
1459
1865
  }
1460
1866
  }
1461
1867
  return r;
@@ -1466,7 +1872,7 @@ class h {
1466
1872
  e.push(t.data + " rowIndex:" + t.rowIndex), (a = t.children) != null && a.length && h.iterateThrowColumns(e, t.children);
1467
1873
  }
1468
1874
  }
1469
- class K {
1875
+ class te {
1470
1876
  constructor() {
1471
1877
  this.areaIdent = "body", this.rowSelectionModel = void 0;
1472
1878
  }
@@ -1508,6 +1914,9 @@ class K {
1508
1914
  }
1509
1915
  getValueAt(e, r) {
1510
1916
  }
1917
+ getTextValueAt(e, r) {
1918
+ return "";
1919
+ }
1511
1920
  getYPosByRowIndex(e) {
1512
1921
  return 0;
1513
1922
  }
@@ -1533,19 +1942,56 @@ class K {
1533
1942
  return !1;
1534
1943
  }
1535
1944
  }
1536
- class Me {
1537
- render(e, r, a, t, n, m, i) {
1538
- const d = m != null && m.data ? m.data : "";
1539
- e.innerHTML = `${d}`;
1945
+ const E = class E {
1946
+ constructor(e = new ee()) {
1947
+ this.headerGroupOptions = e;
1540
1948
  }
1541
- }
1542
- class Ie {
1543
- constructor(e = "header", r, a = [], t) {
1544
- var n;
1545
- this.areaIdent = e, this.groups = r, this.columnDefs = a, this.defaultRowHeight = t, this.gammaCells = !0, this.groupExts = [], this.cellGroupExtCellRenderer = new Me(), this.groupExts = h.buildGroupExts(r), console.info(this.groupExts), console.info(this.getAllLeafs()), console.info(this.getMaxRowCount());
1546
- for (const m of this.groupExts)
1547
- m.log(this.getMaxRowCount());
1548
- this.arr = this.buildArray(), !((n = this.columnDefs) != null && n.length) && e === "header" && (this.columnDefs = h.buildColumnDefs(r)), console.info("this.columnDefs", this.columnDefs), console.info("this.arr", this.arr);
1949
+ render(e, r, a, t, n, m, d) {
1950
+ const i = m != null && m.data ? m.data : "";
1951
+ if (m) {
1952
+ const { toggle: u, visibility: l, closed: c } = m, N = u ? E.toggleHeaderGroup : "";
1953
+ this.addText(e, t, r, a, i, N), u && l !== "always" && this.addArrowDiv(d, e, !c, r, a, t, N);
1954
+ } else
1955
+ this.addText(e, t, r, a, i, "");
1956
+ }
1957
+ addText(e, r, a, t, n, m) {
1958
+ e.innerHTML = `<span
1959
+ data-ge-action="${m}"
1960
+ data-area="${r}"
1961
+ data-row-index="${a}"
1962
+ data-col-index="${t}"
1963
+ >${n}</span>`;
1964
+ }
1965
+ addArrowDiv(e, r, a = !0, t = -1, n = -1, m = "header", d) {
1966
+ const i = e.createElement("div");
1967
+ e.addClass(i, "ge-table-toggle-icon-div"), e.setStyle(i, "display", "inline-block"), e.setStyle(i, "position", ""), e.setStyle(i, "width", "20px"), e.setStyle(i, "background", "transparent"), e.setStyle(i, "cursor", "pointer"), e.setAttribute(i, "data-row-index", `${t}`), e.setAttribute(i, "data-col-index", `${n}`), e.setAttribute(i, "data-area", `${m}`), e.setAttribute(i, "data-ge-action", `${d}`);
1968
+ let u;
1969
+ a ? u = this.headerGroupOptions.iconExpanded : u = this.headerGroupOptions.iconCollapsed;
1970
+ const l = u.content, c = e.createText(l);
1971
+ e.appendChild(i, c), u.style && this.applyStyleString(e, i, u.style);
1972
+ for (const N of u.classes)
1973
+ e.addClass(i, N);
1974
+ return e.appendChild(r, i), i;
1975
+ }
1976
+ applyStyleString(e, r, a) {
1977
+ const t = a.split(";").map((n) => n.trim()).filter((n) => n);
1978
+ for (const n of t) {
1979
+ const [m, d] = n.split(":");
1980
+ e.setStyle(r, m.trim(), d.trim());
1981
+ }
1982
+ }
1983
+ };
1984
+ E.toggleHeaderGroup = "toggleHeaderGroup";
1985
+ let J = E;
1986
+ class Ce {
1987
+ constructor(e = "header", r, a = [], t, n = new ee()) {
1988
+ this.areaIdent = e, this.groups = r, this.columnDefs = a, this.defaultRowHeight = t, this.headerGroupOptions = n, this.gammaCells = !0, this.arr = [], this.groupExts = [], this.cellGroupExtCellRenderer = new J(this.headerGroupOptions), this.groupExts = h.buildGroupExts(r), this.init();
1989
+ }
1990
+ init() {
1991
+ var e;
1992
+ for (const r of this.groupExts)
1993
+ r.log(this.getMaxRowCount());
1994
+ this.arr = this.buildArray(), !((e = this.columnDefs) != null && e.length) && this.areaIdent === "header" && (this.columnDefs = h.buildColumnDefs(this.groups));
1549
1995
  }
1550
1996
  getAllLeafs() {
1551
1997
  return h.flattenGroupExts(this.groupExts).filter((r) => !r.children);
@@ -1555,15 +2001,10 @@ class Ie {
1555
2001
  return e != null && e.length ? 1 + Math.max(...e.map((r) => r.getParentCount(r))) : 0;
1556
2002
  }
1557
2003
  buildArray() {
1558
- console.info("");
1559
- let e = h.flattenGroupExts(this.groupExts);
1560
- const r = e.length, a = 1 + Math.max(...e.map((i) => i.rowIndex));
1561
- console.info("max row/col:", a + "/" + r);
1562
- const t = [];
1563
- h.iterateThrowColumns(t, this.groupExts), console.info(t);
1564
- const n = Array.from(Array(a).keys()).map((i) => []);
1565
- let m = h.buildArrayOfArrays(e, n);
1566
- return console.table(m), m;
2004
+ const e = h.flattenGroupExts(this.groupExts), r = 1 + Math.max(...e.map((m) => m.rowIndex)), a = [];
2005
+ h.iterateThrowColumns(a, this.groupExts);
2006
+ const t = Array.from(Array(r).keys()).map((m) => []), n = h.buildArrayOfArrays(e, t);
2007
+ return console.table(n), n;
1567
2008
  }
1568
2009
  changeColumnOrder(e, r) {
1569
2010
  }
@@ -1609,11 +2050,12 @@ class Ie {
1609
2050
  getValueAt(e, r) {
1610
2051
  return this.arr[e][r];
1611
2052
  }
2053
+ getTextValueAt(e, r) {
2054
+ return "" + this.getValueAt(e, r);
2055
+ }
1612
2056
  getYPosByRowIndex(e) {
1613
2057
  return 0;
1614
2058
  }
1615
- init() {
1616
- }
1617
2059
  getRowHeight(e) {
1618
2060
  return this.defaultRowHeight;
1619
2061
  }
@@ -1636,21 +2078,25 @@ class Ie {
1636
2078
  setValue(e, r, a) {
1637
2079
  return !1;
1638
2080
  }
2081
+ toggleHeaderGroup(e) {
2082
+ const r = this.arr[e.rowIdx][e.colIdx];
2083
+ return r != null && r.toggle && r.visibility !== "always" && (r.closed = !r.closed, this.init()), h.buildColumnDefs(this.groupExts);
2084
+ }
1639
2085
  }
1640
- class Be {
2086
+ class Ke {
1641
2087
  static bodyRenderer(e) {
1642
- return new S(void 0, e, void 0);
2088
+ return new C(void 0, e, void 0);
1643
2089
  }
1644
2090
  }
1645
- class _e {
2091
+ class Le {
1646
2092
  constructor(e, r = !0, a = !1) {
1647
2093
  this.property = e, this.skipCheckableCheck = r, this.readonly = a;
1648
2094
  }
1649
- render(e, r, a, t, n, m, i) {
2095
+ render(e, r, a, t, n, m, d) {
1650
2096
  if (this.readonly || this.skipCheckableCheck || n.isRowCheckable(r)) {
1651
- i.addClass(e, "ge-table-row-checkbox-div");
1652
- const d = n.getRowByIndex(r), l = n.getValueByT(d, this.property) === !0 ? "checked" : "", c = this.readonly ? " readonly " : "";
1653
- if (i.addClass(e, "ge-padding-property-checkbox"), e.innerHTML = `
2097
+ d.addClass(e, "ge-table-row-checkbox-div");
2098
+ const i = n.getRowByIndex(r), l = n.getValueByT(i, this.property) === !0 ? "checked" : "", c = this.readonly ? " readonly " : "";
2099
+ if (d.addClass(e, "ge-padding-property-checkbox"), e.innerHTML = `
1654
2100
  <input
1655
2101
  type="checkbox"
1656
2102
  data-area="${t}"
@@ -1661,13 +2107,13 @@ class _e {
1661
2107
  ${l}
1662
2108
  ${c}
1663
2109
  class="ge-input-checkbox">`, !this.readonly) {
1664
- const b = e.querySelector(".ge-input-checkbox");
1665
- b && b.addEventListener("click", (P, w) => (d[this.property] = !d[this.property], !0));
2110
+ const N = e.querySelector(".ge-input-checkbox");
2111
+ N && N.addEventListener("click", (G, v) => (i[this.property] = !i[this.property], !0));
1666
2112
  }
1667
2113
  }
1668
2114
  }
1669
2115
  }
1670
- class Y {
2116
+ class O {
1671
2117
  constructor() {
1672
2118
  this.formatter = new Intl.DateTimeFormat("de-DE", {
1673
2119
  year: "numeric",
@@ -1675,33 +2121,33 @@ class Y {
1675
2121
  day: "2-digit"
1676
2122
  });
1677
2123
  }
1678
- render(e, r, a, t, n, m, i) {
2124
+ render(e, r, a, t, n, m, d) {
1679
2125
  if (m) {
1680
- let d = "";
2126
+ let i = "";
1681
2127
  try {
1682
- d = this.formatter.format(new Date(m));
2128
+ i = this.formatter.format(new Date(m));
1683
2129
  } catch {
1684
- d = m;
2130
+ i = m;
1685
2131
  }
1686
2132
  e.innerHTML = `
1687
2133
  <div class="ge-table-label-div" data-row-index="${r}" data-col-index="${a}" data-area="${t}" style="position: relative; background: transparent; width: 100%; height: 100%;">
1688
- <div class="ge-table-label" data-row-index="${r}" data-col-index="${a}" data-area="${t}">${d}</div>
2134
+ <div class="ge-table-label" data-row-index="${r}" data-col-index="${a}" data-area="${t}">${i}</div>
1689
2135
  </div>`;
1690
2136
  }
1691
2137
  }
1692
2138
  }
1693
- class le {
1694
- render(e, r, a, t, n, m, i) {
2139
+ class Pe {
2140
+ render(e, r, a, t, n, m, d) {
1695
2141
  m === "male" || m === "m" ? e.innerText = "♂" : (m === "female" || m === "f") && (e.innerText = "♀");
1696
2142
  }
1697
2143
  }
1698
- class qe {
2144
+ class je {
1699
2145
  constructor(e = 100, r = !1) {
1700
2146
  this.maxValue = e, this.labelVisible = r;
1701
2147
  }
1702
- render(e, r, a, t, n, m, i) {
1703
- if (i.addClass(e, "ge-progressbar-div"), !isNaN(m)) {
1704
- const p = Number(m) * 100 / this.maxValue, l = this.labelVisible ? Math.round(p) + "%" : "";
2148
+ render(e, r, a, t, n, m, d) {
2149
+ if (d.addClass(e, "ge-progressbar-div"), !isNaN(m)) {
2150
+ const u = Number(m) * 100 / this.maxValue, l = this.labelVisible ? Math.round(u) + "%" : "";
1705
2151
  e.innerHTML = `
1706
2152
  <div class="ge-table-label-div"
1707
2153
  data-row-index="${r}"
@@ -1715,7 +2161,7 @@ class qe {
1715
2161
  data-col-index="${a}"
1716
2162
  data-area="${t}">
1717
2163
  <div class="ge-table-progress-bar"
1718
- style="width:${p}%;height:100%;padding:0;margin:0;"
2164
+ style="width:${u}%;height:100%;padding:0;margin:0;"
1719
2165
  data-row-index="${r}"
1720
2166
  data-col-index="${a}"
1721
2167
  data-area="${t}">&nbsp;
@@ -1725,34 +2171,34 @@ class qe {
1725
2171
  }
1726
2172
  }
1727
2173
  }
1728
- class He {
1729
- render(e, r, a, t, n, m, i) {
2174
+ class ze {
2175
+ render(e, r, a, t, n, m, d) {
1730
2176
  m === "true" || m === !0 ? e.innerHTML = '<span class="ge-true-text-color">✅</span>' : m === "false" || m === !1 ? e.innerHTML = '<span class="ge-false-text-color">❌</span>' : e.innerText = "";
1731
2177
  }
1732
2178
  }
1733
- class Oe {
1734
- render(e, r, a, t, n, m, i) {
2179
+ class Xe {
2180
+ render(e, r, a, t, n, m, d) {
1735
2181
  m && (e.innerText = new Date(m).toISOString().replace(/T/g, " ").replace(/\..*/g, ""));
1736
2182
  }
1737
2183
  }
1738
- class Ve {
2184
+ class Ye {
1739
2185
  constructor(e = Number.MIN_SAFE_INTEGER, r = Number.MAX_SAFE_INTEGER) {
1740
2186
  this.min = e, this.max = r;
1741
2187
  }
1742
- render(e, r, a, t, n, m, i) {
1743
- m && (e.innerText = m, (typeof m == "string" || isNaN(m) || m < this.min || m > this.max) && i.addClass(e, "ge-cell-error"));
2188
+ render(e, r, a, t, n, m, d) {
2189
+ m && (e.innerText = m, (typeof m == "string" || isNaN(m) || m < this.min || m > this.max) && d.addClass(e, "ge-cell-error"));
1744
2190
  }
1745
2191
  }
1746
- class Ee {
2192
+ class Ge {
1747
2193
  constructor(e) {
1748
2194
  this.property = e;
1749
2195
  }
1750
- render(e, r, a, t, n, m, i) {
1751
- i.addClass(e, "ge-star-rating-div");
1752
- const d = n.getRowByIndex(r), p = +("" + n.getValueByT(d, this.property));
1753
- if (!isNaN(p)) {
2196
+ render(e, r, a, t, n, m, d) {
2197
+ d.addClass(e, "ge-star-rating-div");
2198
+ const i = n.getRowByIndex(r), u = +("" + n.getValueByT(i, this.property));
2199
+ if (!isNaN(u)) {
1754
2200
  const l = [];
1755
- for (let b = 0; b < p; b++)
2201
+ for (let N = 0; N < u; N++)
1756
2202
  l.push("★");
1757
2203
  const c = l.join(" ");
1758
2204
  e.innerHTML = `
@@ -1762,15 +2208,15 @@ class Ee {
1762
2208
  }
1763
2209
  }
1764
2210
  }
1765
- class Fe {
2211
+ class Ze {
1766
2212
  constructor(e, r = 100, a = !1) {
1767
2213
  this.property = e, this.maxValue = r, this.labelVisible = a;
1768
2214
  }
1769
- render(e, r, a, t, n, m, i) {
1770
- i.addClass(e, "ge-star-rating-div");
1771
- const d = n.getRowByIndex(r), p = +("" + n.getValueByT(d, this.property));
1772
- if (!isNaN(p)) {
1773
- const l = p * 100 / this.maxValue, c = this.labelVisible ? Math.round(l) + "%" : "";
2215
+ render(e, r, a, t, n, m, d) {
2216
+ d.addClass(e, "ge-star-rating-div");
2217
+ const i = n.getRowByIndex(r), u = +("" + n.getValueByT(i, this.property));
2218
+ if (!isNaN(u)) {
2219
+ const l = u * 100 / this.maxValue, c = this.labelVisible ? Math.round(l) + "%" : "";
1774
2220
  e.innerHTML = `
1775
2221
  <div class="ge-table-label-div"
1776
2222
  data-row-index="${r}"
@@ -1794,32 +2240,52 @@ class Fe {
1794
2240
  }
1795
2241
  }
1796
2242
  }
1797
- const $e = function(s, e, r) {
2243
+ class Je {
2244
+ render(e, r, a, t, n, m, d) {
2245
+ if (m) {
2246
+ e.innerHTML = `
2247
+ <div
2248
+ class="ge-table-label-div"
2249
+ data-row-index=${r}"
2250
+ data-col-index="${a}"
2251
+ data-area="${t}"
2252
+ style="position: relative; background: transparent; width: 100%; height: 100%;">
2253
+ <div
2254
+ class="ge-table-label"
2255
+ data-row-index="${r}"
2256
+ data-col-index="${a}"
2257
+ data-area="${t}">${m}</div></div>`;
2258
+ const i = Number(m);
2259
+ i > 0 ? d.addClass(e, "ge-positive-text-color") : i < 0 && d.addClass(e, "ge-negative-text-color");
2260
+ }
2261
+ }
2262
+ }
2263
+ const Qe = function(s, e, r) {
1798
2264
  return s ? Number(s) : "";
1799
2265
  };
1800
- class J {
2266
+ class ne {
1801
2267
  constructor(e) {
1802
2268
  this.options = e;
1803
2269
  }
1804
2270
  static create(e) {
1805
- return new J(
1806
- e.map((r) => new W(r, r))
2271
+ return new ne(
2272
+ e.map((r) => new Y(r, r))
1807
2273
  );
1808
2274
  }
1809
- render(e, r, a, t, n, m, i) {
2275
+ render(e, r, a, t, n, m, d) {
1810
2276
  if (n.isEditable(r, a)) {
1811
- i.addClass(e, "ge-table-row-select-div");
1812
- const d = n.getValueAt(r, a);
1813
- let p = [];
2277
+ d.addClass(e, "ge-table-row-select-div");
2278
+ const i = n.getValueAt(r, a);
2279
+ let u = [];
1814
2280
  for (let c of this.options) {
1815
- const b = c.value === d ? " selected " : "";
1816
- p.push(`<option value="${c.value}" ${b}>${c.label}</option>`);
2281
+ const N = c.value === i ? " selected " : "";
2282
+ u.push(`<option value="${c.value}" ${N}>${c.label}</option>`);
1817
2283
  }
1818
- const l = p.join("");
2284
+ const l = u.join("");
1819
2285
  e.innerHTML = `
1820
2286
  <select
1821
2287
  type="text"
1822
- value="${d}"
2288
+ value="${i}"
1823
2289
  autofocus
1824
2290
  data-listen="change"
1825
2291
  data-area="${t}"
@@ -1831,96 +2297,96 @@ class J {
1831
2297
  }
1832
2298
  }
1833
2299
  }
1834
- class E {
2300
+ class K {
1835
2301
  constructor(e, r, a) {
1836
2302
  this.r = e, this.g = r, this.b = a;
1837
2303
  }
1838
2304
  }
1839
- class te {
2305
+ class pe {
1840
2306
  constructor(e, r, a, t) {
1841
2307
  this.minValue = e, this.minColor = r, this.maxValue = a, this.maxColor = t;
1842
2308
  }
1843
2309
  }
1844
- class R {
2310
+ class U {
1845
2311
  static normalize(e, r, a, t = 0, n = 1) {
1846
2312
  return (e - r) / (a - r) * (n - t) + t;
1847
2313
  }
1848
2314
  static getTwoColorGradientRGB(e, r) {
1849
- const a = R.normalize(e, r.minValue, r.maxValue, 0, 1), t = r.maxColor.r - r.minColor.r, n = r.maxColor.g - r.minColor.g, m = r.maxColor.b - r.minColor.b, i = t * a + r.minColor.r, d = n * a + r.minColor.g, p = m * a + r.minColor.b;
1850
- return `rgb(${Math.round(i)}, ${Math.round(d)}, ${Math.round(p)})`;
2315
+ const a = U.normalize(e, r.minValue, r.maxValue, 0, 1), t = r.maxColor.r - r.minColor.r, n = r.maxColor.g - r.minColor.g, m = r.maxColor.b - r.minColor.b, d = t * a + r.minColor.r, i = n * a + r.minColor.g, u = m * a + r.minColor.b;
2316
+ return `rgb(${Math.round(d)}, ${Math.round(i)}, ${Math.round(u)})`;
1851
2317
  }
1852
2318
  static getThreeColorGradientRGB(e, r) {
1853
- return e < r.middleValue ? R.getTwoColorGradientRGB(e, new te(r.minValue, r.minColor, r.middleValue, r.middleColor)) : e > r.middleValue ? R.getTwoColorGradientRGB(e, new te(r.middleValue, r.middleColor, r.maxValue, r.maxColor)) : `rgb(${r.middleColor.r}, ${r.middleColor.g}, ${r.middleColor.b})`;
2319
+ return e < r.middleValue ? U.getTwoColorGradientRGB(e, new pe(r.minValue, r.minColor, r.middleValue, r.middleColor)) : e > r.middleValue ? U.getTwoColorGradientRGB(e, new pe(r.middleValue, r.middleColor, r.maxValue, r.maxColor)) : `rgb(${r.middleColor.r}, ${r.middleColor.g}, ${r.middleColor.b})`;
1854
2320
  }
1855
2321
  }
1856
- class We {
2322
+ class er {
1857
2323
  constructor(e, r, a, t, n, m) {
1858
2324
  this.minValue = e, this.minColor = r, this.middleValue = a, this.middleColor = t, this.maxValue = n, this.maxColor = m;
1859
2325
  }
1860
2326
  }
1861
- class je {
1862
- render(e, r, a, t, n, m, i) {
2327
+ class rr {
2328
+ render(e, r, a, t, n, m, d) {
1863
2329
  if (m) {
1864
- const d = Number(m);
1865
- d < 0 ? (e.innerHTML = "▾ " + d.toFixed(2) + "%", i.addClass(e, "ge-positive-text-color")) : (e.innerHTML = "▴ " + d.toFixed(2) + "%", i.addClass(e, "ge-negative-text-color"));
2330
+ const i = Number(m);
2331
+ i < 0 ? (e.innerHTML = "▾ " + i.toFixed(2) + "%", d.addClass(e, "ge-positive-text-color")) : (e.innerHTML = "▴ " + i.toFixed(2) + "%", d.addClass(e, "ge-negative-text-color"));
1866
2332
  }
1867
2333
  }
1868
2334
  }
1869
- class Xe {
2335
+ class ar {
1870
2336
  constructor() {
1871
2337
  this.formatter = new Intl.NumberFormat("en-US", { style: "currency", currency: "USD" });
1872
2338
  }
1873
- render(e, r, a, t, n, m, i) {
2339
+ render(e, r, a, t, n, m, d) {
1874
2340
  if (m) {
1875
- const d = Number(m);
1876
- e.innerText = this.formatter.format(d);
2341
+ const i = Number(m);
2342
+ e.innerText = this.formatter.format(i);
1877
2343
  }
1878
2344
  }
1879
2345
  }
1880
- class Ke {
1881
- render(e, r, a, t, n, m, i) {
1882
- const d = n.getRowByIndex(r);
1883
- if (d) {
1884
- const p = d.name ?? d.symbol;
2346
+ class tr {
2347
+ render(e, r, a, t, n, m, d) {
2348
+ const i = n.getRowByIndex(r);
2349
+ if (i) {
2350
+ const u = i.name ?? i.symbol;
1885
2351
  e.innerHTML = `
1886
2352
  <div style="line-height: 1.2;padding: 10px 0 0 10px;">
1887
- ${p}<br>
1888
- ${d.symbol}
2353
+ ${u}<br>
2354
+ ${i.symbol}
1889
2355
  </div>
1890
2356
  `;
1891
2357
  }
1892
2358
  }
1893
2359
  }
1894
- class Ye {
2360
+ class nr {
1895
2361
  constructor() {
1896
2362
  this.formatterUsd = new Intl.NumberFormat("en-US", { style: "currency", currency: "USD" }), this.formatter = new Intl.NumberFormat("en-US");
1897
2363
  }
1898
- render(e, r, a, t, n, m, i) {
1899
- const d = n.getRowByIndex(r);
1900
- if (d) {
1901
- const p = this.formatterUsd.format(d.volUsd), l = this.formatter.format(d.volBtc);
2364
+ render(e, r, a, t, n, m, d) {
2365
+ const i = n.getRowByIndex(r);
2366
+ if (i) {
2367
+ const u = this.formatterUsd.format(i.volUsd), l = this.formatter.format(i.volBtc);
1902
2368
  e.innerHTML = `
1903
2369
  <div style="line-height: 1.2;padding: 10px 0 0 10px;">
1904
- ${p}<br>
2370
+ ${u}<br>
1905
2371
  ${l} BTC
1906
2372
  </div>
1907
2373
  `;
1908
2374
  }
1909
2375
  }
1910
2376
  }
1911
- class Je {
2377
+ class mr {
1912
2378
  constructor(e = 120) {
1913
2379
  this.maxWidth = e, this.formatter = new Intl.NumberFormat("en-US");
1914
2380
  }
1915
- render(e, r, a, t, n, m, i) {
1916
- const d = n.getRowByIndex(r);
1917
- if (d) {
1918
- const p = this.formatter.format(d.circulatingSupply), l = d.maxSupply, c = [];
1919
- if (c.push('<div style="line-height: 1.2;padding: 10px 0 0 10px;">'), c.push(p), c.push("<br>"), l) {
1920
- const b = this.maxWidth * d.circulatingSupply / l;
2381
+ render(e, r, a, t, n, m, d) {
2382
+ const i = n.getRowByIndex(r);
2383
+ if (i) {
2384
+ const u = this.formatter.format(i.circulatingSupply), l = i.maxSupply, c = [];
2385
+ if (c.push('<div style="line-height: 1.2;padding: 10px 0 0 10px;">'), c.push(u), c.push("<br>"), l) {
2386
+ const N = this.maxWidth * i.circulatingSupply / l;
1921
2387
  c.push(`
1922
2388
  <div style="width: ${this.maxWidth}px;height: 5px;background-color: #eee;margin:10px 0 0 10px">
1923
- <div style="width: ${b}px;height: 5px;background-color: #ccc;"></div>
2389
+ <div style="width: ${N}px;height: 5px;background-color: #ccc;"></div>
1924
2390
  </div>
1925
2391
  `);
1926
2392
  }
@@ -1928,13 +2394,13 @@ class Je {
1928
2394
  }
1929
2395
  }
1930
2396
  }
1931
- class Qe {
1932
- render(e, r, a, t, n, m, i) {
1933
- const d = n.getRowByIndex(r);
1934
- d != null && d.id && (e.innerHTML = `<img src="https://s2.coinmarketcap.com/static/img/coins/64x64/${d.id}.png" style="width:30px;height: 30px;margin: 10px 10px 0 20px;">`);
2397
+ class sr {
2398
+ render(e, r, a, t, n, m, d) {
2399
+ const i = n.getRowByIndex(r);
2400
+ i != null && i.id && (e.innerHTML = `<img src="https://s2.coinmarketcap.com/static/img/coins/64x64/${i.id}.png" style="width:30px;height: 30px;margin: 10px 10px 0 20px;">`);
1935
2401
  }
1936
2402
  }
1937
- const er = [
2403
+ const ir = [
1938
2404
  {
1939
2405
  id: 1,
1940
2406
  name: "Bitcoin",
@@ -4669,19 +5135,19 @@ const er = [
4669
5135
  change90d: 12.43943602
4670
5136
  }
4671
5137
  ];
4672
- function kr() {
4673
- const s = er, e = new je(), r = new Xe(), a = new Ke(), t = new Ye(), n = new Je(120), m = new Qe(), i = [
5138
+ function _r() {
5139
+ const s = ir, e = new rr(), r = new ar(), a = new tr(), t = new nr(), n = new mr(120), m = new sr(), d = [
4674
5140
  y.create({
4675
5141
  property: "symbol",
4676
5142
  headerLabel: "",
4677
- width: I,
5143
+ width: x,
4678
5144
  bodyClasses: ["ge-table-text-align-left"],
4679
5145
  bodyRenderer: m
4680
5146
  }),
4681
5147
  y.create({
4682
5148
  property: "symbol",
4683
5149
  headerLabel: "Name",
4684
- width: z,
5150
+ width: L,
4685
5151
  bodyClasses: ["ge-table-text-align-left"],
4686
5152
  headerClasses: ["ge-table-text-align-left"],
4687
5153
  bodyRenderer: a
@@ -4689,24 +5155,24 @@ function kr() {
4689
5155
  y.create({
4690
5156
  property: "priceInUsd",
4691
5157
  headerLabel: "Price $",
4692
- width: G,
5158
+ width: T,
4693
5159
  bodyClasses: ["ge-table-text-align-right"],
4694
5160
  headerClasses: ["ge-table-text-align-right"]
4695
5161
  }),
4696
- new y("change1h", "1h %", G, void 0, y.bodyRenderer(e)),
4697
- new y("change24h", "24h %", G, void 0, y.bodyRenderer(e)),
4698
- new y("change7d", "7d %", G, void 0, y.bodyRenderer(e)),
5162
+ new y("change1h", "1h %", T, void 0, y.bodyRenderer(e)),
5163
+ new y("change24h", "24h %", T, void 0, y.bodyRenderer(e)),
5164
+ new y("change7d", "7d %", T, void 0, y.bodyRenderer(e)),
4699
5165
  y.create({
4700
5166
  property: "marketCapUsd",
4701
5167
  headerLabel: "Market Cap",
4702
- width: Ge,
5168
+ width: qe,
4703
5169
  bodyClasses: ["ge-table-text-align-right"],
4704
5170
  headerClasses: ["ge-table-text-align-right"],
4705
5171
  bodyRenderer: r
4706
5172
  }),
4707
5173
  y.create({
4708
5174
  headerLabel: "Volumne (24h)",
4709
- width: D,
5175
+ width: A,
4710
5176
  bodyClasses: ["ge-table-text-align-right"],
4711
5177
  headerClasses: ["ge-table-text-align-right"],
4712
5178
  bodyRenderer: t
@@ -4714,15 +5180,15 @@ function kr() {
4714
5180
  y.create({
4715
5181
  property: "circulatingSupply",
4716
5182
  headerLabel: "Circulating Supply",
4717
- width: ue,
5183
+ width: re,
4718
5184
  bodyRenderer: n,
4719
5185
  bodyClasses: ["ge-table-text-align-right"],
4720
5186
  headerClasses: ["ge-table-text-align-right"]
4721
5187
  })
4722
5188
  ];
4723
- i.forEach((p) => p.sortable = () => !0);
4724
- const d = {
4725
- ...new Z(),
5189
+ d.forEach((u) => u.sortable = () => !0);
5190
+ const i = {
5191
+ ...new z(),
4726
5192
  hoverColumnVisible: !1,
4727
5193
  verticalBorderVisible: !1,
4728
5194
  defaultRowHeights: {
@@ -4731,16 +5197,16 @@ function kr() {
4731
5197
  footer: 0
4732
5198
  }
4733
5199
  };
4734
- return new H(
4735
- N.createTableModel({
5200
+ return new V(
5201
+ f.createTableModel({
4736
5202
  rows: s,
4737
- columnDefs: i,
4738
- tableOptions: d
5203
+ columnDefs: d,
5204
+ tableOptions: i
4739
5205
  }),
4740
- d
5206
+ i
4741
5207
  );
4742
5208
  }
4743
- function vr(s = 1e3, e = 1e3) {
5209
+ function $r(s = 1e3, e = 1e3) {
4744
5210
  const r = Array.from(Array(s).keys()).map(
4745
5211
  (n) => Array.from(Array(e).keys()).map((m) => `${n}/${m}`)
4746
5212
  ), a = Array.from(Array(2).keys()).map(
@@ -4748,7 +5214,7 @@ function vr(s = 1e3, e = 1e3) {
4748
5214
  ), t = Array.from(Array(2).keys()).map(
4749
5215
  (n) => Array.from(Array(e).keys()).map((m) => `F${n}/${m}`)
4750
5216
  );
4751
- return N.createTableModel({
5217
+ return f.createTableModel({
4752
5218
  headerData: a,
4753
5219
  bodyData: r,
4754
5220
  footerData: t,
@@ -4757,7 +5223,7 @@ function vr(s = 1e3, e = 1e3) {
4757
5223
  fixedRightColumnCount: 2
4758
5224
  });
4759
5225
  }
4760
- const rr = [
5226
+ const dr = [
4761
5227
  {
4762
5228
  id: 0,
4763
5229
  preName: "Prename0",
@@ -166631,9 +167097,9 @@ const rr = [
166631
167097
  friends: []
166632
167098
  }
166633
167099
  ];
166634
- function Rr() {
167100
+ function Er() {
166635
167101
  const s = {
166636
- ...new Z(),
167102
+ ...new z(),
166637
167103
  hoverColumnVisible: !1,
166638
167104
  defaultRowHeights: {
166639
167105
  header: 50,
@@ -166644,17 +167110,17 @@ function Rr() {
166644
167110
  // <-- true: we will see the checkbox IN the first column after the arrow
166645
167111
  }, e = [
166646
167112
  // new CheckboxColumn(), // <--- not needed, because we have 'showCheckboxWihoutExtraColumn:true'
166647
- new y("lastName", "Last Name", new u(250, "px")),
166648
- new y("preName", "Pre Name", new u(120, "px")),
166649
- new y("birth", "Birthday", new u(100, "px"), new S(), new S(void 0, new Y(), void 0), void 0, void 0),
166650
- new y("gender", " ", new u(50, "px"), new S(), new S(void 0, new le(), void 0), void 0, void 0),
166651
- new y("address.street", "Strasse", new u(150, "px")),
166652
- new y("address.number", "Nr", new u(70, "px")),
166653
- new y("address.zip", "Zip", new u(60, "px")),
166654
- new y("address.city", "City", new u(120, "px")),
166655
- new y("id", "ID", new u(60, "px"))
166656
- ], r = A.buildTreeRows(rr, "friends");
166657
- return N.createTableModel({
167113
+ new y("lastName", "Last Name", new p(250, "px")),
167114
+ new y("preName", "Pre Name", new p(120, "px")),
167115
+ new y("birth", "Birthday", new p(100, "px"), new C(), new C(void 0, new O(), void 0), void 0, void 0),
167116
+ new y("gender", " ", new p(50, "px"), new C(), new C(void 0, new Pe(), void 0), void 0, void 0),
167117
+ new y("address.street", "Strasse", new p(150, "px")),
167118
+ new y("address.number", "Nr", new p(70, "px")),
167119
+ new y("address.zip", "Zip", new p(60, "px")),
167120
+ new y("address.city", "City", new p(120, "px")),
167121
+ new y("id", "ID", new p(60, "px"))
167122
+ ], r = M.buildTreeRows(dr, "friends");
167123
+ return f.createTableModel({
166658
167124
  rows: r,
166659
167125
  columnDefs: e,
166660
167126
  tableOptions: s,
@@ -166662,7 +167128,7 @@ function Rr() {
166662
167128
  fixedRightColumnCount: 0
166663
167129
  });
166664
167130
  }
166665
- const ne = new v(34, 50, 0), me = "_ Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "), ar = `2009 27.9 36.7 42.4 54.5 62.5 67.5 72.7 75.7 66.3 55.0 51.2 35.9
167131
+ const le = new R(34, 50, 0), ce = "_ Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "), yr = `2009 27.9 36.7 42.4 54.5 62.5 67.5 72.7 75.7 66.3 55.0 51.2 35.9
166666
167132
  2010 32.5 33.1 48.2 57.9 65.3 74.7 81.3 77.4 71.1 58.1 47.9 32.8
166667
167133
  2011 29.7 36.0 42.3 54.3 64.5 72.3 80.2 75.3 70.0 57.1 51.9 43.3
166668
167134
  2012 37.3 40.9 50.9 54.8 65.1 71.0 78.8 76.7 68.8 58.0 43.9 41.5
@@ -166673,38 +167139,38 @@ const ne = new v(34, 50, 0), me = "_ Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov
166673
167139
  2017 38.0 41.6 39.2 57.2 61.1 72.0 76.8 74.0 70.5 64.1 46.6 33.4`.split(`
166674
167140
  `).map(
166675
167141
  (s) => s.split(" ").map((e) => Number(e))
166676
- ), tr = 27.9, nr = 77.4;
166677
- class se {
167142
+ ), ur = 27.9, pr = 77.4;
167143
+ class ge {
166678
167144
  constructor(e, r, a) {
166679
167145
  this.r = e, this.g = r, this.b = a;
166680
167146
  }
166681
167147
  }
166682
- function mr(s, e, r, a, t) {
167148
+ function lr(s, e, r, a, t) {
166683
167149
  return (s - e) / (r - e) * (t - a) + a;
166684
167150
  }
166685
- function sr(s, e, r) {
166686
- var a = new se(255, 0, 0), t = new se(0, 0, 255), n = mr(r, s, e, 0, 1), m = t.r - a.r, i = t.g - a.g, d = t.b - a.b;
166687
- return m = m * n + a.r, i = i * n + a.g, d = d * n + a.b, `rgb(${Math.round(m)}, ${Math.round(i)}, ${Math.round(d)})`;
167151
+ function cr(s, e, r) {
167152
+ var a = new ge(255, 0, 0), t = new ge(0, 0, 255), n = lr(r, s, e, 0, 1), m = t.r - a.r, d = t.g - a.g, i = t.b - a.b;
167153
+ return m = m * n + a.r, d = d * n + a.g, i = i * n + a.b, `rgb(${Math.round(m)}, ${Math.round(d)}, ${Math.round(i)})`;
166688
167154
  }
166689
- function Ar() {
166690
- const s = new o("body", ar, ne.body), e = new Array(me.length).fill(50), r = new o("header", [me], ne.header);
167155
+ function Or() {
167156
+ const s = new S("body", yr, le.body), e = new Array(ce.length).fill(50), r = new S("header", [ce], le.header);
166691
167157
  return s.getCustomStyleAt = (a, t) => {
166692
167158
  let n = {};
166693
167159
  if (t > 0) {
166694
167160
  const m = s.getValueAt(a, t);
166695
167161
  n = {
166696
- background: sr(tr, nr, m),
167162
+ background: cr(ur, pr, m),
166697
167163
  color: "#fff"
166698
167164
  };
166699
167165
  }
166700
167166
  return n.paddingTop = "10px", n;
166701
- }, N.createTableModel({
167167
+ }, f.createTableModel({
166702
167168
  headerAreaModel: r,
166703
167169
  bodyAreaModel: s,
166704
167170
  columnSizes: e
166705
167171
  });
166706
167172
  }
166707
- function ir() {
167173
+ function gr() {
166708
167174
  return [
166709
167175
  {
166710
167176
  date: "2010-01-01T01:00:00",
@@ -219262,12 +219728,12 @@ function ir() {
219262
219728
  }
219263
219729
  ];
219264
219730
  }
219265
- const ce = 30, dr = 3, ge = ir(), C = {};
219266
- ge.forEach((s) => {
219731
+ const we = 30, br = 3, ve = gr(), P = {};
219732
+ ve.forEach((s) => {
219267
219733
  const [e, r] = s.date.split("T");
219268
- C[e] || (C[e] = {}), C[e][r.substring(0, 5)] = s;
219734
+ P[e] || (P[e] = {}), P[e][r.substring(0, 5)] = s;
219269
219735
  });
219270
- const j = Object.keys(C), M = [
219736
+ const Q = Object.keys(P), H = [
219271
219737
  "06:00",
219272
219738
  "07:00",
219273
219739
  "08:00",
@@ -219293,60 +219759,60 @@ const j = Object.keys(C), M = [
219293
219759
  "04:00",
219294
219760
  "05:00"
219295
219761
  ];
219296
- function yr() {
219762
+ function Nr() {
219297
219763
  let s = 10, e = 0;
219298
- return ge.forEach((r) => {
219764
+ return ve.forEach((r) => {
219299
219765
  s = Math.min(s, r.temperature), e = Math.max(e, r.temperature);
219300
219766
  }), [s, e];
219301
219767
  }
219302
- const [ie, de] = yr();
219303
- function Ur() {
219304
- const s = new ur(), e = new pr(), r = [60, ...new Array(j.length).fill(dr)];
219305
- return N.createTableModel({
219768
+ const [be, Ne] = Nr();
219769
+ function Fr() {
219770
+ const s = new fr(), e = new Tr(), r = [60, ...new Array(Q.length).fill(br)];
219771
+ return f.createTableModel({
219306
219772
  bodyAreaModel: s,
219307
219773
  footerAreaModel: e,
219308
219774
  columnSizes: r,
219309
219775
  fixedLeftColumnCount: 1
219310
219776
  });
219311
219777
  }
219312
- class ur extends K {
219778
+ class fr extends te {
219313
219779
  getRowCount() {
219314
- return M.length;
219780
+ return H.length;
219315
219781
  }
219316
219782
  getRowHeight(e) {
219317
- return ce;
219783
+ return we;
219318
219784
  }
219319
219785
  getValueAt(e, r) {
219320
- return r === 0 ? M[e] : "";
219786
+ return r === 0 ? H[e] : "";
219321
219787
  }
219322
219788
  getTooltipAt(e, r) {
219323
219789
  if (r === 0)
219324
219790
  return "";
219325
219791
  r--;
219326
- const a = j[r], t = M[e];
219327
- return C[a] && C[a][t] ? `${a} ${t} → ${C[a][t].temperature}` : "";
219792
+ const a = Q[r], t = H[e];
219793
+ return P[a] && P[a][t] ? `${a} ${t} → ${P[a][t].temperature}` : "";
219328
219794
  }
219329
219795
  getCustomStyleAt(e, r) {
219330
219796
  if (r === 0)
219331
219797
  return;
219332
219798
  r--;
219333
- const a = j[r], t = M[e];
219334
- if (!C[a] || !C[a][t])
219799
+ const a = Q[r], t = H[e];
219800
+ if (!P[a] || !P[a][t])
219335
219801
  return;
219336
- const n = C[a][t].temperature, m = new E(67, 1, 84), i = new E(31, 144, 141), d = new E(250, 230, 37), p = (de + ie) / 2, l = new We(ie, m, p, i, de, d);
219802
+ const n = P[a][t].temperature, m = new K(67, 1, 84), d = new K(31, 144, 141), i = new K(250, 230, 37), u = (Ne + be) / 2, l = new er(be, m, u, d, Ne, i);
219337
219803
  return {
219338
- background: R.getThreeColorGradientRGB(n, l),
219804
+ background: U.getThreeColorGradientRGB(n, l),
219339
219805
  color: "transparent"
219340
219806
  // we only want to show the bg color
219341
219807
  };
219342
219808
  }
219343
219809
  }
219344
- class pr extends K {
219810
+ class Tr extends te {
219345
219811
  getRowCount() {
219346
219812
  return 1;
219347
219813
  }
219348
219814
  getRowHeight(e) {
219349
- return ce;
219815
+ return we;
219350
219816
  }
219351
219817
  getValueAt(e, r) {
219352
219818
  return r === 1 ? "Jan" : r === 32 ? "Feb" : r === 60 ? "Mar" : r === 91 ? "Apr" : r === 121 ? "May" : r === 152 ? "Jun" : r === 182 ? "Jul" : r === 213 ? "Aug" : r === 244 ? "Sep" : r === 274 ? "Oct" : r === 305 ? "Nov" : r === 335 ? "Dec" : "";
@@ -219363,7 +219829,7 @@ class pr extends K {
219363
219829
  };
219364
219830
  }
219365
219831
  }
219366
- const F = [
219832
+ const j = [
219367
219833
  {
219368
219834
  data: "Gold",
219369
219835
  toggle: !0,
@@ -219382,7 +219848,7 @@ const F = [
219382
219848
  {
219383
219849
  data: "Gold B",
219384
219850
  property: "GOLD_B",
219385
- visibility: "inverted"
219851
+ visibility: "normal"
219386
219852
  }
219387
219853
  ]
219388
219854
  },
@@ -219450,9 +219916,9 @@ const F = [
219450
219916
  ]
219451
219917
  }
219452
219918
  ];
219453
- function Dr() {
219454
- const e = h.buildGroupExts(F), r = h.buildColumnDefs(e), a = new Ie("header", F, r, 34);
219455
- console.info("headerGroups", F), console.info("columnDefs", r.map((m) => m.property));
219919
+ function Wr() {
219920
+ const e = h.buildGroupExts(j), r = h.buildColumnDefs(e), a = new Ce("header", j, r, 34);
219921
+ console.info("headerGroups", j), console.info("columnDefs", r.map((m) => m.property));
219456
219922
  const t = [
219457
219923
  {
219458
219924
  GOLD: 146,
@@ -219470,14 +219936,52 @@ function Dr() {
219470
219936
  HOH_C: 53,
219471
219937
  HOH_D: 54
219472
219938
  }
219473
- ], n = new B("body", t, r, 34);
219474
- return N.createTableModel({
219939
+ ], n = new I("body", t, r, 34);
219940
+ return f.createTableModel({
219475
219941
  headerAreaModel: a,
219476
219942
  bodyAreaModel: n,
219477
219943
  columnDefs: r
219478
219944
  });
219479
219945
  }
219480
- function lr() {
219946
+ const or = [
219947
+ {
219948
+ data: "Team A",
219949
+ toggle: !0,
219950
+ property: "team_a",
219951
+ children: [
219952
+ {
219953
+ data: "Sum",
219954
+ property: "sum_a"
219955
+ },
219956
+ {
219957
+ data: "Peter",
219958
+ property: "peter"
219959
+ },
219960
+ {
219961
+ data: "Paul",
219962
+ property: "paul"
219963
+ }
219964
+ ]
219965
+ }
219966
+ ];
219967
+ function Kr(s = or) {
219968
+ const r = h.buildGroupExts(s), a = h.buildColumnDefs(r), t = new Ce("header", s, a, 34);
219969
+ console.info("headerGroups", s), console.info("columnDefs", a.map((d) => d.property)), console.info("columnDefs", a);
219970
+ const n = [
219971
+ {
219972
+ team_a: 0,
219973
+ sum_a: 9,
219974
+ peter: 5,
219975
+ paul: 4
219976
+ }
219977
+ ], m = new I("body", n, a, 34);
219978
+ return f.createTableModel({
219979
+ headerAreaModel: t,
219980
+ bodyAreaModel: m,
219981
+ columnDefs: a
219982
+ });
219983
+ }
219984
+ function hr() {
219481
219985
  return [
219482
219986
  {
219483
219987
  id: 1,
@@ -219657,35 +220161,35 @@ function lr() {
219657
220161
  }
219658
220162
  ];
219659
220163
  }
219660
- function cr() {
220164
+ function Sr() {
219661
220165
  return [
219662
- new y("firstName", "First Name", z),
220166
+ new y("firstName", "First Name", L),
219663
220167
  new y("lastName", "Last Name"),
219664
220168
  y.create({
219665
220169
  property: "gender",
219666
220170
  headerLabel: "Gender",
219667
- width: G,
220171
+ width: T,
219668
220172
  bodyClasses: ["ge-table-text-align-left"]
219669
220173
  }),
219670
220174
  y.create({
219671
220175
  property: "email",
219672
220176
  headerLabel: "Email",
219673
- width: Ce,
220177
+ width: Be,
219674
220178
  bodyClasses: ["ge-table-text-align-left"]
219675
220179
  }),
219676
- new y("ipAddress", "IP", ye),
220180
+ new y("ipAddress", "IP", Te),
219677
220181
  y.create({
219678
220182
  property: "id",
219679
220183
  headerLabel: "ID",
219680
- width: Pe,
220184
+ width: Ie,
219681
220185
  // bodyRenderer: actionRenderer,
219682
220186
  bodyClasses: ["ge-table-text-align-left"]
219683
220187
  })
219684
220188
  ];
219685
220189
  }
219686
- function gr() {
220190
+ function Cr() {
219687
220191
  return {
219688
- ...new Z(),
220192
+ ...new z(),
219689
220193
  hoverColumnVisible: !1,
219690
220194
  defaultRowHeights: {
219691
220195
  header: 40,
@@ -219694,19 +220198,19 @@ function gr() {
219694
220198
  }
219695
220199
  };
219696
220200
  }
219697
- function Mr() {
219698
- const s = gr(), e = lr(), r = cr();
219699
- return N.createTableModel({
220201
+ function jr() {
220202
+ const s = Cr(), e = hr(), r = Sr();
220203
+ return f.createTableModel({
219700
220204
  rows: e,
219701
220205
  columnDefs: r,
219702
220206
  tableOptions: s,
219703
220207
  fixedLeftColumnCount: 0
219704
220208
  });
219705
220209
  }
219706
- function Ir(s, e) {
219707
- s.rendererMap = new S(void 0, e, void 0);
220210
+ function Xr(s, e) {
220211
+ s.rendererMap = new C(void 0, e, void 0);
219708
220212
  }
219709
- const br = [
220213
+ const Lr = [
219710
220214
  {
219711
220215
  id: 1,
219712
220216
  city: "London",
@@ -219855,35 +220359,35 @@ const br = [
219855
220359
  data: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
219856
220360
  }
219857
220361
  ].map((s) => (s.updatedAt = /* @__PURE__ */ new Date(), s)), _ = [
219858
- new y("city", "City", new u(90, "px")),
219859
- new y("location", "Location", new u(100, "px")),
219860
- new y("team.name", "Team", new u(100, "px")),
220362
+ new y("city", "City", new p(90, "px")),
220363
+ new y("location", "Location", new p(100, "px")),
220364
+ new y("team.name", "Team", new p(100, "px")),
219861
220365
  y.create({
219862
220366
  property: "team.active",
219863
220367
  headerLabel: "Active",
219864
- width: new u(60, "px"),
219865
- bodyRenderer: new He()
220368
+ width: new p(60, "px"),
220369
+ bodyRenderer: new ze()
219866
220370
  }),
219867
- new y("data.0", "00", new u(60, "px")),
219868
- new y("data.1", "15", new u(60, "px")),
219869
- new y("data.2", "30", new u(60, "px")),
219870
- new y("data.3", "45", new u(60, "px")),
219871
- new y("data.4", "00", new u(60, "px")),
219872
- new y("data.5", "15", new u(60, "px")),
219873
- new y("data.6", "30", new u(60, "px")),
219874
- new y("data.7", "45", new u(60, "px")),
219875
- new y("data.8", "00", new u(60, "px")),
219876
- new y("data.9", "15", new u(60, "px")),
219877
- new y("data.10", "30", new u(60, "px")),
219878
- new y("data.11", "45", new u(60, "px")),
220371
+ new y("data.0", "00", new p(60, "px")),
220372
+ new y("data.1", "15", new p(60, "px")),
220373
+ new y("data.2", "30", new p(60, "px")),
220374
+ new y("data.3", "45", new p(60, "px")),
220375
+ new y("data.4", "00", new p(60, "px")),
220376
+ new y("data.5", "15", new p(60, "px")),
220377
+ new y("data.6", "30", new p(60, "px")),
220378
+ new y("data.7", "45", new p(60, "px")),
220379
+ new y("data.8", "00", new p(60, "px")),
220380
+ new y("data.9", "15", new p(60, "px")),
220381
+ new y("data.10", "30", new p(60, "px")),
220382
+ new y("data.11", "45", new p(60, "px")),
219879
220383
  y.create({
219880
220384
  property: "updatedAt",
219881
220385
  headerLabel: "Updated at",
219882
- width: new u(175, "px"),
219883
- bodyRenderer: new Oe()
220386
+ width: new p(175, "px"),
220387
+ bodyRenderer: new Xe()
219884
220388
  })
219885
- ], Br = _.length - 1, Nr = {
219886
- ...new Z(),
220389
+ ], Yr = _.length - 1, Pr = {
220390
+ ...new z(),
219887
220391
  hoverRowVisible: !1,
219888
220392
  hoverColumnVisible: !1,
219889
220393
  defaultRowHeights: {
@@ -219894,12 +220398,12 @@ const br = [
219894
220398
  columnsDraggable: !1,
219895
220399
  columnsResizable: !0
219896
220400
  };
219897
- function _r() {
219898
- const s = Nr.defaultRowHeights;
219899
- return N.createTableModel({
219900
- headerAreaModel: new Tr(s.header),
219901
- bodyAreaModel: new fr(s.body),
219902
- footerAreaModel: new or(s.footer),
220401
+ function Jr() {
220402
+ const s = Pr.defaultRowHeights;
220403
+ return f.createTableModel({
220404
+ headerAreaModel: new Gr(s.header),
220405
+ bodyAreaModel: new zr(s.body),
220406
+ footerAreaModel: new Zr(s.footer),
219903
220407
  columnDefs: _,
219904
220408
  fixedLeftColumnCount: 2,
219905
220409
  fixedRightColumnCount: 1,
@@ -219907,9 +220411,9 @@ function _r() {
219907
220411
  columnCount: _.length
219908
220412
  });
219909
220413
  }
219910
- class fr extends B {
220414
+ class zr extends I {
219911
220415
  constructor(e) {
219912
- super("body", br, _, e);
220416
+ super("body", Lr, _, e);
219913
220417
  }
219914
220418
  getRowspanAt(e, r) {
219915
220419
  if (r === 0 || r == 1) {
@@ -219926,7 +220430,7 @@ class fr extends B {
219926
220430
  return t;
219927
220431
  }
219928
220432
  }
219929
- class Tr extends o {
220433
+ class Gr extends S {
219930
220434
  constructor(e) {
219931
220435
  super(
219932
220436
  "header",
@@ -219953,7 +220457,7 @@ class Tr extends o {
219953
220457
  return ["ge-font-weight-bold"];
219954
220458
  }
219955
220459
  }
219956
- class or extends o {
220460
+ class Zr extends S {
219957
220461
  constructor(e) {
219958
220462
  super(
219959
220463
  "footer",
@@ -219968,7 +220472,7 @@ class or extends o {
219968
220472
  return r === 2 ? ["ge-text-align-right", "ge-font-weight-bold"] : [];
219969
220473
  }
219970
220474
  }
219971
- const hr = [
220475
+ const wr = [
219972
220476
  {
219973
220477
  id: "c8-34f1d5",
219974
220478
  company: "Equicom",
@@ -221906,88 +222410,88 @@ const hr = [
221906
222410
  rating: 5
221907
222411
  }
221908
222412
  ];
221909
- function Sr() {
221910
- return hr;
222413
+ function vr() {
222414
+ return wr;
221911
222415
  }
221912
- function Cr() {
222416
+ function xr() {
221913
222417
  return [
221914
222418
  y.create({
221915
222419
  property: "company",
221916
222420
  headerLabel: "Company",
221917
- width: z,
222421
+ width: L,
221918
222422
  bodyClasses: ["ge-table-text-align-left"],
221919
222423
  headerClasses: ["ge-table-text-align-left"],
221920
- sortable: f
222424
+ sortable: g
221921
222425
  }),
221922
222426
  y.create({
221923
222427
  property: "country",
221924
222428
  headerLabel: "Country",
221925
- width: ue,
222429
+ width: re,
221926
222430
  bodyClasses: ["ge-table-text-align-left"],
221927
222431
  headerClasses: ["ge-table-text-align-left"],
221928
- sortable: f
222432
+ sortable: g
221929
222433
  }),
221930
222434
  y.create({
221931
222435
  property: "product",
221932
222436
  headerLabel: "Name",
221933
- width: z,
222437
+ width: L,
221934
222438
  bodyClasses: ["ge-table-text-align-left"],
221935
222439
  headerClasses: ["ge-table-text-align-left"],
221936
- sortable: f
222440
+ sortable: g
221937
222441
  }),
221938
222442
  y.create({
221939
222443
  property: "sellDate",
221940
222444
  headerLabel: "Sell date",
221941
- width: G,
221942
- bodyRenderer: new Y(),
222445
+ width: T,
222446
+ bodyRenderer: new O(),
221943
222447
  bodyClasses: ["ge-table-text-align-center"],
221944
- sortable: f
222448
+ sortable: g
221945
222449
  }),
221946
222450
  y.create({
221947
222451
  property: "id",
221948
222452
  headerLabel: "Order ID",
221949
- width: z,
222453
+ width: L,
221950
222454
  bodyClasses: ["ge-table-text-align-center"],
221951
- sortable: f
222455
+ sortable: g
221952
222456
  }),
221953
222457
  y.create({
221954
222458
  property: "inStock",
221955
222459
  headerLabel: "In stock",
221956
- width: ze,
221957
- bodyRenderer: new _e("inStock", !0, !0),
222460
+ width: oe,
222461
+ bodyRenderer: new Le("inStock", !0, !0),
221958
222462
  bodyClasses: ["ge-table-text-align-center"],
221959
- sortable: f
222463
+ sortable: g
221960
222464
  }),
221961
222465
  y.create({
221962
222466
  property: "quantity",
221963
222467
  headerLabel: "Qty",
221964
- width: I,
222468
+ width: x,
221965
222469
  bodyClasses: ["ge-table-text-align-right"],
221966
222470
  headerClasses: ["ge-table-text-align-right"],
221967
- sortable: f
222471
+ sortable: g
221968
222472
  }),
221969
222473
  y.create({
221970
222474
  property: "progress",
221971
222475
  headerLabel: "Progress",
221972
- width: G,
221973
- bodyRenderer: new Fe("progress", 5, !0),
222476
+ width: T,
222477
+ bodyRenderer: new Ze("progress", 5, !0),
221974
222478
  bodyClasses: ["ge-table-text-align-left"],
221975
- sortable: f
222479
+ sortable: g
221976
222480
  }),
221977
222481
  y.create({
221978
222482
  property: "rating",
221979
222483
  headerLabel: "Rating",
221980
- width: G,
221981
- bodyRenderer: new Ee("rating"),
222484
+ width: T,
222485
+ bodyRenderer: new Ge("rating"),
221982
222486
  bodyClasses: ["ge-table-text-align-left"],
221983
- sortable: f
222487
+ sortable: g
221984
222488
  })
221985
222489
  ];
221986
222490
  }
221987
- function Pr() {
222491
+ function kr() {
221988
222492
  const s = new q("row", "multi");
221989
222493
  return {
221990
- ...new Z(),
222494
+ ...new z(),
221991
222495
  hoverColumnVisible: !1,
221992
222496
  defaultRowHeights: {
221993
222497
  header: 24,
@@ -221997,10 +222501,10 @@ function Pr() {
221997
222501
  getSelectionModel: () => s
221998
222502
  };
221999
222503
  }
222000
- function qr() {
222001
- const s = Pr(), e = Sr(), r = Cr();
222002
- return new H(
222003
- N.createTableModel({
222504
+ function Qr() {
222505
+ const s = kr(), e = vr(), r = xr();
222506
+ return new V(
222507
+ f.createTableModel({
222004
222508
  rows: e,
222005
222509
  columnDefs: r,
222006
222510
  tableOptions: s,
@@ -222009,34 +222513,34 @@ function qr() {
222009
222513
  s
222010
222514
  );
222011
222515
  }
222012
- function Lr() {
222516
+ function Rr() {
222013
222517
  return [
222014
222518
  y.create({
222015
222519
  headerLabel: "ID",
222016
- width: z,
222520
+ width: L,
222017
222521
  bodyClasses: ["ge-table-text-align-left"],
222018
222522
  headerClasses: ["ge-table-text-align-left"],
222019
- sortable: U
222523
+ sortable: B
222020
222524
  }),
222021
222525
  y.create({
222022
222526
  headerLabel: "Value",
222023
- width: D,
222527
+ width: A,
222024
222528
  bodyClasses: ["ge-table-text-align-left"],
222025
222529
  headerClasses: ["ge-table-text-align-left"],
222026
- sortable: U
222530
+ sortable: B
222027
222531
  }),
222028
222532
  y.create({
222029
222533
  headerLabel: " ",
222030
- width: D,
222534
+ width: A,
222031
222535
  bodyClasses: ["ge-table-text-align-right"],
222032
222536
  headerClasses: ["ge-table-text-align-right"]
222033
222537
  })
222034
222538
  ];
222035
222539
  }
222036
- function Gr() {
222540
+ function Dr() {
222037
222541
  const s = new q();
222038
222542
  return {
222039
- ...new Z(),
222543
+ ...new z(),
222040
222544
  hoverColumnVisible: !1,
222041
222545
  defaultRowHeights: {
222042
222546
  header: 34,
@@ -222046,18 +222550,18 @@ function Gr() {
222046
222550
  getSelectionModel: () => s
222047
222551
  };
222048
222552
  }
222049
- function Hr(s = 1e6) {
222050
- const e = Gr(), r = Lr(), a = new zr(s);
222051
- return new H(N.createTableModel({
222553
+ function ea(s = 1e6) {
222554
+ const e = Dr(), r = Rr(), a = new Ar(s);
222555
+ return new V(f.createTableModel({
222052
222556
  bodyAreaModel: a,
222053
222557
  columnDefs: r,
222054
222558
  tableOptions: e,
222055
222559
  fixedLeftColumnCount: 0
222056
222560
  }), e);
222057
222561
  }
222058
- class zr extends K {
222562
+ class Ar extends te {
222059
222563
  constructor(e = 1e6) {
222060
- super(), this.rowcount = e, this.nf = new Intl.NumberFormat("en-Us", {}), this.barRenderer = new qe(e, !1);
222564
+ super(), this.rowcount = e, this.nf = new Intl.NumberFormat("en-Us", {}), this.barRenderer = new je(e, !1);
222061
222565
  }
222062
222566
  getRowCount() {
222063
222567
  return this.rowcount;
@@ -222076,7 +222580,1665 @@ class zr extends K {
222076
222580
  return e * this.getRowHeight(0);
222077
222581
  }
222078
222582
  }
222079
- const Zr = [
222583
+ const Ur = [
222584
+ {
222585
+ id: "f0-bfbecb",
222586
+ company: "Medmex",
222587
+ country: "Uruguay",
222588
+ product: "Vaughn",
222589
+ birthday: "1969-09-19 ",
222590
+ sellDate: "2023.05.08",
222591
+ lastVisit: "2023-03-23T01:56:14.860Z",
222592
+ time: "01:12 29",
222593
+ inStock: !0,
222594
+ quantity: 74,
222595
+ progress: 4,
222596
+ rating: 4,
222597
+ price: 29.414,
222598
+ active: !0,
222599
+ currency: "HNL",
222600
+ lorem: "ad reprehenderit irure ad qui amet veniam est dolore laboris",
222601
+ average: "$2,690.88",
222602
+ f1: -101.57,
222603
+ f2: 47.93037753
222604
+ },
222605
+ {
222606
+ id: "a3-d57d97",
222607
+ company: "Niquent",
222608
+ country: "Qatar",
222609
+ product: "Mcintyre",
222610
+ birthday: "1977-01-02 ",
222611
+ sellDate: "2023.05.09",
222612
+ lastVisit: "2023-02-26T21:36:08.078Z",
222613
+ time: "03:12 49",
222614
+ inStock: !0,
222615
+ quantity: 2,
222616
+ progress: 5,
222617
+ rating: 1,
222618
+ price: 14.309,
222619
+ active: !0,
222620
+ currency: "CVE",
222621
+ lorem: "quis sit cillum Lorem commodo minim enim velit officia nisi",
222622
+ average: "$2,264.36",
222623
+ f1: 1059.15,
222624
+ f2: 14.53998237
222625
+ },
222626
+ {
222627
+ id: "e9-4c8f21",
222628
+ company: "Comvey",
222629
+ country: "Comoros",
222630
+ product: "Dodson",
222631
+ birthday: "1983-05-24 ",
222632
+ sellDate: "2023.01.22",
222633
+ lastVisit: "2023-09-24T17:28:32.323Z",
222634
+ time: "11:51 08",
222635
+ inStock: !1,
222636
+ quantity: 59,
222637
+ progress: 3,
222638
+ rating: 2,
222639
+ price: 48.385,
222640
+ active: !1,
222641
+ currency: "RON",
222642
+ lorem: "est adipisicing do deserunt minim proident commodo cillum aliqua qui",
222643
+ average: "$1,701.45",
222644
+ f1: -790.86,
222645
+ f2: -8.82190848
222646
+ },
222647
+ {
222648
+ id: "6c-5a284b",
222649
+ company: "Insuresys",
222650
+ country: "Bermuda",
222651
+ product: "Baker",
222652
+ birthday: "1979-04-18 ",
222653
+ sellDate: "2023.06.11",
222654
+ lastVisit: "2023-02-15T04:04:05.314Z",
222655
+ time: "11:18 30",
222656
+ inStock: !0,
222657
+ quantity: 55,
222658
+ progress: 2,
222659
+ rating: 3,
222660
+ price: 27.286,
222661
+ active: !0,
222662
+ currency: "MUR",
222663
+ lorem: "non amet non duis magna in laborum tempor culpa eu",
222664
+ average: "$3,269.74",
222665
+ f1: 360.51,
222666
+ f2: 28.58560891
222667
+ },
222668
+ {
222669
+ id: "96-1206ef",
222670
+ company: "Exodoc",
222671
+ country: "Anguilla",
222672
+ product: "Garner",
222673
+ birthday: "1977-06-24 ",
222674
+ sellDate: "2023.02.07",
222675
+ lastVisit: "2023-01-11T20:21:31.352Z",
222676
+ time: "06:49 51",
222677
+ inStock: !0,
222678
+ quantity: 41,
222679
+ progress: 5,
222680
+ rating: 4,
222681
+ price: 10.106,
222682
+ active: !1,
222683
+ currency: "DZD",
222684
+ lorem: "deserunt tempor ad enim eiusmod amet eu ullamco laborum eu",
222685
+ average: "$3,761.47",
222686
+ f1: 1829.39,
222687
+ f2: 47.73623974
222688
+ },
222689
+ {
222690
+ id: "1b-7514fb",
222691
+ company: "Isotronic",
222692
+ country: "Nicaragua",
222693
+ product: "Bell",
222694
+ birthday: "1989-02-26 ",
222695
+ sellDate: "2023.02.02",
222696
+ lastVisit: "2023-05-10T22:27:20.190Z",
222697
+ time: "03:11 21",
222698
+ inStock: !1,
222699
+ quantity: 72,
222700
+ progress: 5,
222701
+ rating: 3,
222702
+ price: 48.398,
222703
+ active: !1,
222704
+ currency: "GBP",
222705
+ lorem: "cillum ipsum enim minim quis aliqua proident ex irure esse",
222706
+ average: "$3,032.43",
222707
+ f1: 3443.27,
222708
+ f2: 48.09553967
222709
+ },
222710
+ {
222711
+ id: "38-a1dfa7",
222712
+ company: "Urbanshee",
222713
+ country: "Georgia",
222714
+ product: "Bowers",
222715
+ birthday: "1982-12-31 ",
222716
+ sellDate: "2023.03.22",
222717
+ lastVisit: "2023-08-24T16:57:03.009Z",
222718
+ time: "11:21 17",
222719
+ inStock: !0,
222720
+ quantity: 53,
222721
+ progress: 4,
222722
+ rating: 2,
222723
+ price: 26.908,
222724
+ active: !0,
222725
+ currency: "IQD",
222726
+ lorem: "dolor nisi ullamco aliqua minim consequat duis nulla ipsum consequat",
222727
+ average: "$1,628.19",
222728
+ f1: 78.66,
222729
+ f2: -2.14054721
222730
+ },
222731
+ {
222732
+ id: "ac-00e83b",
222733
+ company: "Blanet",
222734
+ country: "Belarus",
222735
+ product: "Diaz",
222736
+ birthday: "1987-05-14 ",
222737
+ sellDate: "2023.09.06",
222738
+ lastVisit: "2023-09-07T05:12:01.506Z",
222739
+ time: "11:02 23",
222740
+ inStock: !0,
222741
+ quantity: 18,
222742
+ progress: 4,
222743
+ rating: 4,
222744
+ price: 17.508,
222745
+ active: !1,
222746
+ currency: "MGA",
222747
+ lorem: "qui irure quis aute anim eu dolore ad amet tempor",
222748
+ average: "$1,513.59",
222749
+ f1: 618.96,
222750
+ f2: 4.40920111
222751
+ },
222752
+ {
222753
+ id: "51-f1181a",
222754
+ company: "Koffee",
222755
+ country: "Kuwait",
222756
+ product: "Smith",
222757
+ birthday: "1974-10-14 ",
222758
+ sellDate: "2023.03.25",
222759
+ lastVisit: "2023-08-20T19:42:29.253Z",
222760
+ time: "01:56 44",
222761
+ inStock: !1,
222762
+ quantity: 65,
222763
+ progress: 5,
222764
+ rating: 3,
222765
+ price: 23.993,
222766
+ active: !1,
222767
+ currency: "HUF",
222768
+ lorem: "elit sit proident amet deserunt fugiat ad exercitation magna quis",
222769
+ average: "$2,051.41",
222770
+ f1: -2742.38,
222771
+ f2: -6.30896084
222772
+ },
222773
+ {
222774
+ id: "80-a927f7",
222775
+ company: "Imant",
222776
+ country: "Albania",
222777
+ product: "Barrett",
222778
+ birthday: "1995-02-16 ",
222779
+ sellDate: "2023.03.29",
222780
+ lastVisit: "2023-02-16T19:28:03.283Z",
222781
+ time: "04:27 51",
222782
+ inStock: !0,
222783
+ quantity: 77,
222784
+ progress: 2,
222785
+ rating: 2,
222786
+ price: 35.916,
222787
+ active: !1,
222788
+ currency: "PEN",
222789
+ lorem: "minim officia amet laboris eu laborum est enim ex labore",
222790
+ average: "$1,985.93",
222791
+ f1: 560.85,
222792
+ f2: 3.35071948
222793
+ },
222794
+ {
222795
+ id: "f9-35f7af",
222796
+ company: "Rodeocean",
222797
+ country: "Cambodia",
222798
+ product: "Shaffer",
222799
+ birthday: "1998-07-19 ",
222800
+ sellDate: "2023.07.10",
222801
+ lastVisit: "2023-05-02T20:16:22.947Z",
222802
+ time: "01:34 18",
222803
+ inStock: !0,
222804
+ quantity: 63,
222805
+ progress: 4,
222806
+ rating: 5,
222807
+ price: 16.014,
222808
+ active: !1,
222809
+ currency: "MKD",
222810
+ lorem: "dolor officia nostrud aliqua sint excepteur deserunt quis Lorem laboris",
222811
+ average: "$1,719.89",
222812
+ f1: 428.59,
222813
+ f2: 17.57808769
222814
+ },
222815
+ {
222816
+ id: "e5-36ae92",
222817
+ company: "Geekola",
222818
+ country: "Marshall Islands",
222819
+ product: "Hardy",
222820
+ birthday: "1976-04-08 ",
222821
+ sellDate: "2023.07.22",
222822
+ lastVisit: "2023-06-24T12:50:19.166Z",
222823
+ time: "03:20 06",
222824
+ inStock: !0,
222825
+ quantity: 89,
222826
+ progress: 4,
222827
+ rating: 3,
222828
+ price: 10.387,
222829
+ active: !0,
222830
+ currency: "KRW",
222831
+ lorem: "incididunt qui fugiat ipsum laborum sint sunt aliqua do Lorem",
222832
+ average: "$1,020.39",
222833
+ f1: -893.41,
222834
+ f2: 13.23579785
222835
+ },
222836
+ {
222837
+ id: "c6-4c2200",
222838
+ company: "Isodrive",
222839
+ country: "Taiwan",
222840
+ product: "Carson",
222841
+ birthday: "1972-06-04 ",
222842
+ sellDate: "2023.05.08",
222843
+ lastVisit: "2023-05-16T20:31:24.366Z",
222844
+ time: "11:59 32",
222845
+ inStock: !1,
222846
+ quantity: 46,
222847
+ progress: 4,
222848
+ rating: 4,
222849
+ price: 18.594,
222850
+ active: !1,
222851
+ currency: "CHF",
222852
+ lorem: "elit eiusmod et officia exercitation adipisicing Lorem reprehenderit velit nulla",
222853
+ average: "$2,960.69",
222854
+ f1: -2606.84,
222855
+ f2: 0.49810625
222856
+ },
222857
+ {
222858
+ id: "81-78d391",
222859
+ company: "Fibrodyne",
222860
+ country: "Sri Lanka",
222861
+ product: "Ramirez",
222862
+ birthday: "1978-09-10 ",
222863
+ sellDate: "2023.10.11",
222864
+ lastVisit: "2023-08-13T13:57:53.881Z",
222865
+ time: "03:04 28",
222866
+ inStock: !0,
222867
+ quantity: 64,
222868
+ progress: 4,
222869
+ rating: 2,
222870
+ price: 15.144,
222871
+ active: !1,
222872
+ currency: "BGN",
222873
+ lorem: "minim id esse velit ullamco ex minim id velit et",
222874
+ average: "$1,715.05",
222875
+ f1: -3159.72,
222876
+ f2: 8.47609835
222877
+ },
222878
+ {
222879
+ id: "39-6c119c",
222880
+ company: "Sulfax",
222881
+ country: "Dominican Republic",
222882
+ product: "Holden",
222883
+ birthday: "1991-10-31 ",
222884
+ sellDate: "2023.05.06",
222885
+ lastVisit: "2023-03-25T04:42:08.608Z",
222886
+ time: "09:44 35",
222887
+ inStock: !1,
222888
+ quantity: 47,
222889
+ progress: 1,
222890
+ rating: 2,
222891
+ price: 21.935,
222892
+ active: !0,
222893
+ currency: "SOS",
222894
+ lorem: "mollit ad deserunt fugiat in Lorem ullamco mollit mollit nulla",
222895
+ average: "$1,527.56",
222896
+ f1: 3375.49,
222897
+ f2: 48.28165003
222898
+ },
222899
+ {
222900
+ id: "3a-7a8259",
222901
+ company: "Exospace",
222902
+ country: "Lithuania",
222903
+ product: "Gonzalez",
222904
+ birthday: "1988-05-10 ",
222905
+ sellDate: "2023.08.09",
222906
+ lastVisit: "2023-06-15T10:18:55.513Z",
222907
+ time: "05:20 42",
222908
+ inStock: !1,
222909
+ quantity: 20,
222910
+ progress: 5,
222911
+ rating: 5,
222912
+ price: 20.435,
222913
+ active: !0,
222914
+ currency: "LYD",
222915
+ lorem: "magna ipsum laboris culpa culpa minim exercitation eiusmod esse labore",
222916
+ average: "$2,273.75",
222917
+ f1: -1090.99,
222918
+ f2: -5.09992892
222919
+ },
222920
+ {
222921
+ id: "19-6859d6",
222922
+ company: "Multron",
222923
+ country: "Lebanon",
222924
+ product: "Cooper",
222925
+ birthday: "1994-04-26 ",
222926
+ sellDate: "2023.08.15",
222927
+ lastVisit: "2023-02-07T19:46:08.227Z",
222928
+ time: "04:10 36",
222929
+ inStock: !1,
222930
+ quantity: 31,
222931
+ progress: 5,
222932
+ rating: 3,
222933
+ price: 23.295,
222934
+ active: !0,
222935
+ currency: "GEL",
222936
+ lorem: "laboris tempor ex ut exercitation mollit commodo exercitation excepteur mollit",
222937
+ average: "$3,037.66",
222938
+ f1: -3637.43,
222939
+ f2: 40.34024598
222940
+ },
222941
+ {
222942
+ id: "d1-540a03",
222943
+ company: "Buzzmaker",
222944
+ country: "Saint Vincent and The Grenadines",
222945
+ product: "Waters",
222946
+ birthday: "1972-04-23 ",
222947
+ sellDate: "2023.08.06",
222948
+ lastVisit: "2023-07-06T09:44:51.719Z",
222949
+ time: "02:27 04",
222950
+ inStock: !1,
222951
+ quantity: 48,
222952
+ progress: 5,
222953
+ rating: 5,
222954
+ price: 17.888,
222955
+ active: !1,
222956
+ currency: "XAF",
222957
+ lorem: "et magna ipsum eu cillum non id officia aliqua cillum",
222958
+ average: "$1,283.25",
222959
+ f1: 72.94,
222960
+ f2: 17.28845108
222961
+ },
222962
+ {
222963
+ id: "3d-e8d972",
222964
+ company: "Gogol",
222965
+ country: "Thailand",
222966
+ product: "Holmes",
222967
+ birthday: "1980-10-21 ",
222968
+ sellDate: "2023.10.14",
222969
+ lastVisit: "2023-06-01T12:51:33.927Z",
222970
+ time: "12:54 49",
222971
+ inStock: !0,
222972
+ quantity: 70,
222973
+ progress: 3,
222974
+ rating: 2,
222975
+ price: 15.204,
222976
+ active: !0,
222977
+ currency: "RWF",
222978
+ lorem: "aliqua id irure elit magna deserunt esse duis commodo Lorem",
222979
+ average: "$1,346.64",
222980
+ f1: 1197.86,
222981
+ f2: 21.30303184
222982
+ },
222983
+ {
222984
+ id: "1b-ca3a0a",
222985
+ company: "Turnabout",
222986
+ country: "Norfolk Island",
222987
+ product: "Stewart",
222988
+ birthday: "1998-03-05 ",
222989
+ sellDate: "2023.03.28",
222990
+ lastVisit: "2023-03-06T06:21:58.561Z",
222991
+ time: "03:10 46",
222992
+ inStock: !0,
222993
+ quantity: 76,
222994
+ progress: 3,
222995
+ rating: 5,
222996
+ price: 20.584,
222997
+ active: !0,
222998
+ currency: "INR",
222999
+ lorem: "ad incididunt ut eu excepteur fugiat dolore commodo non nostrud",
223000
+ average: "$1,482.77",
223001
+ f1: -2897.74,
223002
+ f2: 36.99960962
223003
+ },
223004
+ {
223005
+ id: "6a-a1cbb3",
223006
+ company: "Farmage",
223007
+ country: "Estonia",
223008
+ product: "Ewing",
223009
+ birthday: "1995-10-22 ",
223010
+ sellDate: "2023.10.07",
223011
+ lastVisit: "2023-06-14T22:49:33.456Z",
223012
+ time: "07:33 33",
223013
+ inStock: !1,
223014
+ quantity: 86,
223015
+ progress: 2,
223016
+ rating: 5,
223017
+ price: 21.664,
223018
+ active: !1,
223019
+ currency: "SEK",
223020
+ lorem: "occaecat cupidatat occaecat adipisicing sit id ad ea commodo velit",
223021
+ average: "$2,986.68",
223022
+ f1: 2833.32,
223023
+ f2: 38.61030781
223024
+ },
223025
+ {
223026
+ id: "c3-b4cb54",
223027
+ company: "Veraq",
223028
+ country: "Greece",
223029
+ product: "Grimes",
223030
+ birthday: "1996-02-08 ",
223031
+ sellDate: "2023.08.09",
223032
+ lastVisit: "2023-05-29T16:02:38.872Z",
223033
+ time: "11:48 34",
223034
+ inStock: !1,
223035
+ quantity: 2,
223036
+ progress: 4,
223037
+ rating: 3,
223038
+ price: 46.876,
223039
+ active: !1,
223040
+ currency: "EUR",
223041
+ lorem: "amet ad do ut nisi deserunt esse aliquip reprehenderit in",
223042
+ average: "$1,313.54",
223043
+ f1: -3496.97,
223044
+ f2: 32.48284527
223045
+ },
223046
+ {
223047
+ id: "55-0808ba",
223048
+ company: "Apexia",
223049
+ country: "Burkina Faso",
223050
+ product: "Fleming",
223051
+ birthday: "1979-09-11 ",
223052
+ sellDate: "2023.05.29",
223053
+ lastVisit: "2023-02-26T19:40:41.395Z",
223054
+ time: "11:38 02",
223055
+ inStock: !1,
223056
+ quantity: 98,
223057
+ progress: 2,
223058
+ rating: 3,
223059
+ price: 14.904,
223060
+ active: !1,
223061
+ currency: "BRL",
223062
+ lorem: "non duis consectetur enim aute adipisicing qui proident nostrud mollit",
223063
+ average: "$2,982.41",
223064
+ f1: -3309.81,
223065
+ f2: 34.95641657
223066
+ },
223067
+ {
223068
+ id: "64-44edc6",
223069
+ company: "Infotrips",
223070
+ country: "Macau",
223071
+ product: "Hendricks",
223072
+ birthday: "1979-12-04 ",
223073
+ sellDate: "2023.09.12",
223074
+ lastVisit: "2023-02-10T04:18:18.662Z",
223075
+ time: "11:55 40",
223076
+ inStock: !0,
223077
+ quantity: 30,
223078
+ progress: 3,
223079
+ rating: 4,
223080
+ price: 48.088,
223081
+ active: !0,
223082
+ currency: "MOP",
223083
+ lorem: "consectetur ipsum nostrud nisi eiusmod minim qui et commodo sit",
223084
+ average: "$1,341.47",
223085
+ f1: -3487.14,
223086
+ f2: -0.74391002
223087
+ },
223088
+ {
223089
+ id: "dc-832e6b",
223090
+ company: "Callflex",
223091
+ country: "Chile",
223092
+ product: "Hamilton",
223093
+ birthday: "1995-01-04 ",
223094
+ sellDate: "2023.04.24",
223095
+ lastVisit: "2023-03-20T15:53:41.183Z",
223096
+ time: "05:47 11",
223097
+ inStock: !0,
223098
+ quantity: 39,
223099
+ progress: 3,
223100
+ rating: 2,
223101
+ price: 41.126,
223102
+ active: !1,
223103
+ currency: "BWP",
223104
+ lorem: "consectetur commodo anim labore commodo magna voluptate sunt ex laboris",
223105
+ average: "$2,882.71",
223106
+ f1: -3323.82,
223107
+ f2: 23.12539432
223108
+ },
223109
+ {
223110
+ id: "05-898d95",
223111
+ company: "Minga",
223112
+ country: "Cayman Islands",
223113
+ product: "Dudley",
223114
+ birthday: "1985-12-01 ",
223115
+ sellDate: "2023.02.10",
223116
+ lastVisit: "2023-08-09T10:36:25.402Z",
223117
+ time: "09:51 53",
223118
+ inStock: !1,
223119
+ quantity: 32,
223120
+ progress: 4,
223121
+ rating: 1,
223122
+ price: 44.116,
223123
+ active: !0,
223124
+ currency: "HKD",
223125
+ lorem: "ad proident anim sunt ea elit mollit aute reprehenderit in",
223126
+ average: "$1,087.35",
223127
+ f1: -2411.18,
223128
+ f2: 33.47249662
223129
+ },
223130
+ {
223131
+ id: "f1-3347c9",
223132
+ company: "Zilladyne",
223133
+ country: "Greenland",
223134
+ product: "Jones",
223135
+ birthday: "1972-02-07 ",
223136
+ sellDate: "2023.09.01",
223137
+ lastVisit: "2023-06-15T02:51:17.596Z",
223138
+ time: "11:22 25",
223139
+ inStock: !0,
223140
+ quantity: 85,
223141
+ progress: 4,
223142
+ rating: 3,
223143
+ price: 12.008,
223144
+ active: !1,
223145
+ currency: "TND",
223146
+ lorem: "velit Lorem amet in laboris aliquip aute proident labore consectetur",
223147
+ average: "$2,967.54",
223148
+ f1: 2088.86,
223149
+ f2: 45.11516399
223150
+ },
223151
+ {
223152
+ id: "75-3cb0be",
223153
+ company: "Zensus",
223154
+ country: "Moldova",
223155
+ product: "Barlow",
223156
+ birthday: "1977-02-28 ",
223157
+ sellDate: "2023.08.23",
223158
+ lastVisit: "2023-08-17T08:35:53.346Z",
223159
+ time: "10:39 51",
223160
+ inStock: !1,
223161
+ quantity: 42,
223162
+ progress: 2,
223163
+ rating: 2,
223164
+ price: 30.359,
223165
+ active: !0,
223166
+ currency: "BIF",
223167
+ lorem: "amet tempor qui dolor nisi et ea occaecat laborum qui",
223168
+ average: "$3,621.49",
223169
+ f1: -1244.31,
223170
+ f2: 13.41313064
223171
+ },
223172
+ {
223173
+ id: "37-301393",
223174
+ company: "Phuel",
223175
+ country: "Angola",
223176
+ product: "Hale",
223177
+ birthday: "1970-03-08 ",
223178
+ sellDate: "2023.09.12",
223179
+ lastVisit: "2023-03-02T00:02:20.292Z",
223180
+ time: "03:17 00",
223181
+ inStock: !0,
223182
+ quantity: 67,
223183
+ progress: 4,
223184
+ rating: 1,
223185
+ price: 19.269,
223186
+ active: !1,
223187
+ currency: "LBP",
223188
+ lorem: "fugiat et veniam eu excepteur eiusmod ad cillum commodo proident",
223189
+ average: "$3,076.27",
223190
+ f1: -3462.98,
223191
+ f2: -2.39084387
223192
+ },
223193
+ {
223194
+ id: "61-72d1f6",
223195
+ company: "Orbean",
223196
+ country: "France",
223197
+ product: "Cardenas",
223198
+ birthday: "1978-05-01 ",
223199
+ sellDate: "2023.05.24",
223200
+ lastVisit: "2023-06-05T00:52:06.070Z",
223201
+ time: "02:15 09",
223202
+ inStock: !0,
223203
+ quantity: 17,
223204
+ progress: 2,
223205
+ rating: 1,
223206
+ price: 43.514,
223207
+ active: !1,
223208
+ currency: "NPR",
223209
+ lorem: "officia pariatur commodo adipisicing deserunt anim ex mollit nostrud consequat",
223210
+ average: "$2,073.86",
223211
+ f1: -645.48,
223212
+ f2: 18.67553182
223213
+ },
223214
+ {
223215
+ id: "99-2b43af",
223216
+ company: "Zytrac",
223217
+ country: "Sudan",
223218
+ product: "Forbes",
223219
+ birthday: "1998-07-13 ",
223220
+ sellDate: "2023.04.09",
223221
+ lastVisit: "2023-03-15T04:31:54.867Z",
223222
+ time: "03:21 48",
223223
+ inStock: !0,
223224
+ quantity: 4,
223225
+ progress: 4,
223226
+ rating: 1,
223227
+ price: 47.268,
223228
+ active: !1,
223229
+ currency: "BHD",
223230
+ lorem: "aliquip duis labore sint reprehenderit qui sunt consectetur irure ex",
223231
+ average: "$2,240.16",
223232
+ f1: 3224.54,
223233
+ f2: 41.45105165
223234
+ },
223235
+ {
223236
+ id: "cb-c72d6a",
223237
+ company: "Exoplode",
223238
+ country: "Israel",
223239
+ product: "Cabrera",
223240
+ birthday: "1978-07-20 ",
223241
+ sellDate: "2023.08.04",
223242
+ lastVisit: "2023-06-12T16:26:27.760Z",
223243
+ time: "08:46 46",
223244
+ inStock: !0,
223245
+ quantity: 42,
223246
+ progress: 5,
223247
+ rating: 5,
223248
+ price: 23.421,
223249
+ active: !0,
223250
+ currency: "VND",
223251
+ lorem: "eiusmod cupidatat Lorem nulla et excepteur labore officia culpa et",
223252
+ average: "$2,964.97",
223253
+ f1: 1720.29,
223254
+ f2: 40.81502049
223255
+ },
223256
+ {
223257
+ id: "99-c074f3",
223258
+ company: "Shepard",
223259
+ country: "Falkland Islands (Malvinas)",
223260
+ product: "Carr",
223261
+ birthday: "1981-01-10 ",
223262
+ sellDate: "2023.03.12",
223263
+ lastVisit: "2023-01-02T03:24:11.397Z",
223264
+ time: "11:23 49",
223265
+ inStock: !1,
223266
+ quantity: 7,
223267
+ progress: 4,
223268
+ rating: 5,
223269
+ price: 35.891,
223270
+ active: !0,
223271
+ currency: "QAR",
223272
+ lorem: "irure fugiat ex eiusmod esse consectetur tempor nostrud eu aliqua",
223273
+ average: "$3,483.62",
223274
+ f1: 1671.55,
223275
+ f2: 24.03265266
223276
+ },
223277
+ {
223278
+ id: "30-fc55e0",
223279
+ company: "Comveyer",
223280
+ country: "Botswana",
223281
+ product: "David",
223282
+ birthday: "1999-02-22 ",
223283
+ sellDate: "2023.09.18",
223284
+ lastVisit: "2023-03-02T19:40:33.444Z",
223285
+ time: "05:54 32",
223286
+ inStock: !0,
223287
+ quantity: 35,
223288
+ progress: 2,
223289
+ rating: 4,
223290
+ price: 49.144,
223291
+ active: !0,
223292
+ currency: "PLN",
223293
+ lorem: "cupidatat consectetur labore officia aliquip in aute do dolore sunt",
223294
+ average: "$2,191.78",
223295
+ f1: -3233.03,
223296
+ f2: 18.32731959
223297
+ },
223298
+ {
223299
+ id: "59-4c1cf4",
223300
+ company: "Concility",
223301
+ country: "Central African Republic",
223302
+ product: "Hernandez",
223303
+ birthday: "1999-09-04 ",
223304
+ sellDate: "2023.01.24",
223305
+ lastVisit: "2023-08-07T23:06:30.786Z",
223306
+ time: "07:48 30",
223307
+ inStock: !1,
223308
+ quantity: 24,
223309
+ progress: 1,
223310
+ rating: 3,
223311
+ price: 45.221,
223312
+ active: !0,
223313
+ currency: "TRY",
223314
+ lorem: "nisi enim et cupidatat commodo minim ex nisi anim elit",
223315
+ average: "$2,278.53",
223316
+ f1: -835.23,
223317
+ f2: 43.37601717
223318
+ },
223319
+ {
223320
+ id: "1d-3fcea8",
223321
+ company: "Octocore",
223322
+ country: "Andorra",
223323
+ product: "Bruce",
223324
+ birthday: "1983-09-09 ",
223325
+ sellDate: "2023.01.26",
223326
+ lastVisit: "2023-02-12T11:05:55.978Z",
223327
+ time: "03:24 51",
223328
+ inStock: !1,
223329
+ quantity: 26,
223330
+ progress: 5,
223331
+ rating: 4,
223332
+ price: 27.652,
223333
+ active: !0,
223334
+ currency: "RSD",
223335
+ lorem: "commodo velit incididunt quis veniam consequat laborum dolore laborum consectetur",
223336
+ average: "$3,723.55",
223337
+ f1: 623.47,
223338
+ f2: -5.86247162
223339
+ },
223340
+ {
223341
+ id: "ea-da5c91",
223342
+ company: "Ceprene",
223343
+ country: "Germany",
223344
+ product: "Jimenez",
223345
+ birthday: "1969-05-15 ",
223346
+ sellDate: "2023.02.20",
223347
+ lastVisit: "2023-02-06T01:11:07.218Z",
223348
+ time: "10:14 20",
223349
+ inStock: !1,
223350
+ quantity: 80,
223351
+ progress: 1,
223352
+ rating: 4,
223353
+ price: 43.729,
223354
+ active: !1,
223355
+ currency: "ALL",
223356
+ lorem: "et elit esse qui sint cupidatat duis et exercitation dolore",
223357
+ average: "$1,481.83",
223358
+ f1: -1635.99,
223359
+ f2: 19.35163598
223360
+ },
223361
+ {
223362
+ id: "20-e6d976",
223363
+ company: "Voratak",
223364
+ country: "Portugal",
223365
+ product: "Poole",
223366
+ birthday: "1985-12-08 ",
223367
+ sellDate: "2023.01.11",
223368
+ lastVisit: "2023-10-24T03:30:32.001Z",
223369
+ time: "10:11 11",
223370
+ inStock: !1,
223371
+ quantity: 65,
223372
+ progress: 4,
223373
+ rating: 1,
223374
+ price: 18.379,
223375
+ active: !1,
223376
+ currency: "BAM",
223377
+ lorem: "eu aute consequat ea dolore adipisicing aliqua ad exercitation reprehenderit",
223378
+ average: "$3,981.17",
223379
+ f1: -3059.03,
223380
+ f2: 42.91961379
223381
+ },
223382
+ {
223383
+ id: "9f-e728a3",
223384
+ company: "Digiprint",
223385
+ country: "Monaco",
223386
+ product: "Sampson",
223387
+ birthday: "1989-12-06 ",
223388
+ sellDate: "2023.03.23",
223389
+ lastVisit: "2023-03-26T03:01:26.727Z",
223390
+ time: "05:13 13",
223391
+ inStock: !0,
223392
+ quantity: 86,
223393
+ progress: 4,
223394
+ rating: 3,
223395
+ price: 35.511,
223396
+ active: !1,
223397
+ currency: "HRK",
223398
+ lorem: "incididunt elit sit excepteur aute tempor incididunt esse ex sint",
223399
+ average: "$3,483.09",
223400
+ f1: 1678.25,
223401
+ f2: 21.89327403
223402
+ },
223403
+ {
223404
+ id: "3e-c6d113",
223405
+ company: "Polarax",
223406
+ country: "Congo",
223407
+ product: "Rollins",
223408
+ birthday: "1972-05-07 ",
223409
+ sellDate: "2023.09.11",
223410
+ lastVisit: "2023-10-01T07:53:15.830Z",
223411
+ time: "03:24 51",
223412
+ inStock: !1,
223413
+ quantity: 9,
223414
+ progress: 5,
223415
+ rating: 1,
223416
+ price: 17.255,
223417
+ active: !0,
223418
+ currency: "IRR",
223419
+ lorem: "anim reprehenderit magna deserunt commodo labore amet reprehenderit ullamco consectetur",
223420
+ average: "$2,988.47",
223421
+ f1: -2986.06,
223422
+ f2: 44.03677767
223423
+ },
223424
+ {
223425
+ id: "24-f95a15",
223426
+ company: "Fiberox",
223427
+ country: "Gibraltar",
223428
+ product: "Potts",
223429
+ birthday: "1970-09-09 ",
223430
+ sellDate: "2023.09.19",
223431
+ lastVisit: "2023-01-12T17:16:09.965Z",
223432
+ time: "05:00 42",
223433
+ inStock: !1,
223434
+ quantity: 89,
223435
+ progress: 1,
223436
+ rating: 1,
223437
+ price: 25.411,
223438
+ active: !1,
223439
+ currency: "JPY",
223440
+ lorem: "laboris anim dolor exercitation fugiat elit velit ipsum anim est",
223441
+ average: "$2,374.89",
223442
+ f1: 920.56,
223443
+ f2: 11.38206366
223444
+ },
223445
+ {
223446
+ id: "8c-507d18",
223447
+ company: "Fitcore",
223448
+ country: "Tuvalu",
223449
+ product: "Todd",
223450
+ birthday: "1979-12-01 ",
223451
+ sellDate: "2023.05.14",
223452
+ lastVisit: "2023-08-16T05:47:53.786Z",
223453
+ time: "06:13 22",
223454
+ inStock: !0,
223455
+ quantity: 90,
223456
+ progress: 3,
223457
+ rating: 5,
223458
+ price: 45.958,
223459
+ active: !0,
223460
+ currency: "DJF",
223461
+ lorem: "et aliquip ullamco culpa esse ad consequat consequat ea est",
223462
+ average: "$1,256.36",
223463
+ f1: 894.53,
223464
+ f2: 32.76986974
223465
+ },
223466
+ {
223467
+ id: "83-f3f969",
223468
+ company: "Accruex",
223469
+ country: "Macedonia",
223470
+ product: "Simmons",
223471
+ birthday: "1991-08-09 ",
223472
+ sellDate: "2023.02.14",
223473
+ lastVisit: "2023-09-27T08:27:42.592Z",
223474
+ time: "03:01 27",
223475
+ inStock: !0,
223476
+ quantity: 60,
223477
+ progress: 3,
223478
+ rating: 2,
223479
+ price: 44.388,
223480
+ active: !1,
223481
+ currency: "MAD",
223482
+ lorem: "commodo occaecat cupidatat sint non deserunt exercitation cillum ex consectetur",
223483
+ average: "$1,451.77",
223484
+ f1: 1558.07,
223485
+ f2: 22.20161457
223486
+ },
223487
+ {
223488
+ id: "04-d99c07",
223489
+ company: "Papricut",
223490
+ country: "French Guiana",
223491
+ product: "Tyler",
223492
+ birthday: "1975-03-31 ",
223493
+ sellDate: "2023.01.16",
223494
+ lastVisit: "2023-01-21T14:59:48.517Z",
223495
+ time: "01:34 10",
223496
+ inStock: !0,
223497
+ quantity: 68,
223498
+ progress: 2,
223499
+ rating: 2,
223500
+ price: 14.153,
223501
+ active: !0,
223502
+ currency: "LKR",
223503
+ lorem: "do qui ullamco irure laborum dolor excepteur dolor ex dolore",
223504
+ average: "$1,925.97",
223505
+ f1: -3126.63,
223506
+ f2: 11.34703251
223507
+ },
223508
+ {
223509
+ id: "d4-ec3b00",
223510
+ company: "Accufarm",
223511
+ country: "Saint Lucia",
223512
+ product: "Allen",
223513
+ birthday: "1977-02-23 ",
223514
+ sellDate: "2023.05.23",
223515
+ lastVisit: "2023-10-19T12:54:49.340Z",
223516
+ time: "06:56 20",
223517
+ inStock: !0,
223518
+ quantity: 46,
223519
+ progress: 2,
223520
+ rating: 3,
223521
+ price: 12.932,
223522
+ active: !0,
223523
+ currency: "AFN",
223524
+ lorem: "laboris Lorem culpa excepteur exercitation laboris deserunt laboris minim anim",
223525
+ average: "$3,473.63",
223526
+ f1: -2867.04,
223527
+ f2: 19.82793662
223528
+ },
223529
+ {
223530
+ id: "ff-53274f",
223531
+ company: "Isologia",
223532
+ country: "Argentina",
223533
+ product: "Snow",
223534
+ birthday: "1976-09-10 ",
223535
+ sellDate: "2023.03.02",
223536
+ lastVisit: "2023-09-11T16:00:02.926Z",
223537
+ time: "11:25 36",
223538
+ inStock: !1,
223539
+ quantity: 4,
223540
+ progress: 4,
223541
+ rating: 5,
223542
+ price: 14.668,
223543
+ active: !0,
223544
+ currency: "PKR",
223545
+ lorem: "sunt magna minim consequat ex et sint exercitation dolore in",
223546
+ average: "$2,674.39",
223547
+ f1: -181.52,
223548
+ f2: 10.49740128
223549
+ },
223550
+ {
223551
+ id: "0f-be3525",
223552
+ company: "Unia",
223553
+ country: "Yemen",
223554
+ product: "Travis",
223555
+ birthday: "1995-05-29 ",
223556
+ sellDate: "2023.02.11",
223557
+ lastVisit: "2023-09-12T02:55:38.427Z",
223558
+ time: "12:49 26",
223559
+ inStock: !0,
223560
+ quantity: 77,
223561
+ progress: 1,
223562
+ rating: 1,
223563
+ price: 42.891,
223564
+ active: !0,
223565
+ currency: "UZS",
223566
+ lorem: "in quis eiusmod est do eiusmod eiusmod adipisicing velit est",
223567
+ average: "$3,945.57",
223568
+ f1: -1316.64,
223569
+ f2: -4.13634229
223570
+ },
223571
+ {
223572
+ id: "82-12f8e1",
223573
+ company: "Darwinium",
223574
+ country: "Mongolia",
223575
+ product: "Clemons",
223576
+ birthday: "1978-03-01 ",
223577
+ sellDate: "2023.10.08",
223578
+ lastVisit: "2023-04-24T22:25:42.881Z",
223579
+ time: "07:58 58",
223580
+ inStock: !1,
223581
+ quantity: 2,
223582
+ progress: 2,
223583
+ rating: 3,
223584
+ price: 14.274,
223585
+ active: !1,
223586
+ currency: "GNF",
223587
+ lorem: "fugiat dolor minim duis consectetur deserunt aliqua officia irure aliqua",
223588
+ average: "$2,003.95",
223589
+ f1: -742.39,
223590
+ f2: 47.89568284
223591
+ },
223592
+ {
223593
+ id: "c8-75d516",
223594
+ company: "Biolive",
223595
+ country: "France, Metropolitan",
223596
+ product: "Alexander",
223597
+ birthday: "1969-03-22 ",
223598
+ sellDate: "2023.01.23",
223599
+ lastVisit: "2023-09-10T08:59:03.680Z",
223600
+ time: "12:23 56",
223601
+ inStock: !1,
223602
+ quantity: 38,
223603
+ progress: 2,
223604
+ rating: 5,
223605
+ price: 42.528,
223606
+ active: !1,
223607
+ currency: "KWD",
223608
+ lorem: "in aute consectetur ipsum dolore eu dolore in labore esse",
223609
+ average: "$1,179.54",
223610
+ f1: 1868.67,
223611
+ f2: 8.94968076
223612
+ },
223613
+ {
223614
+ id: "ac-d281eb",
223615
+ company: "Cinaster",
223616
+ country: "St. Pierre and Miquelon",
223617
+ product: "Webster",
223618
+ birthday: "1985-09-22 ",
223619
+ sellDate: "2023.02.14",
223620
+ lastVisit: "2023-06-02T23:11:12.197Z",
223621
+ time: "02:09 37",
223622
+ inStock: !1,
223623
+ quantity: 2,
223624
+ progress: 1,
223625
+ rating: 3,
223626
+ price: 20.062,
223627
+ active: !1,
223628
+ currency: "PYG",
223629
+ lorem: "pariatur sunt laboris enim proident velit enim velit officia minim",
223630
+ average: "$2,999.62",
223631
+ f1: 3645.43,
223632
+ f2: 12.39130131
223633
+ },
223634
+ {
223635
+ id: "8e-457914",
223636
+ company: "Translink",
223637
+ country: "French Polynesia",
223638
+ product: "Calhoun",
223639
+ birthday: "1980-08-18 ",
223640
+ sellDate: "2023.03.03",
223641
+ lastVisit: "2023-08-05T11:16:26.475Z",
223642
+ time: "07:05 00",
223643
+ inStock: !1,
223644
+ quantity: 80,
223645
+ progress: 1,
223646
+ rating: 5,
223647
+ price: 28.127,
223648
+ active: !0,
223649
+ currency: "SGD",
223650
+ lorem: "est culpa ea duis fugiat mollit veniam veniam anim consequat",
223651
+ average: "$1,073.21",
223652
+ f1: 1907.76,
223653
+ f2: 10.31305477
223654
+ },
223655
+ {
223656
+ id: "d1-652138",
223657
+ company: "Talkola",
223658
+ country: "Ireland",
223659
+ product: "Browning",
223660
+ birthday: "1988-04-29 ",
223661
+ sellDate: "2023.04.28",
223662
+ lastVisit: "2023-10-20T19:04:13.589Z",
223663
+ time: "09:25 12",
223664
+ inStock: !1,
223665
+ quantity: 47,
223666
+ progress: 1,
223667
+ rating: 3,
223668
+ price: 34.495,
223669
+ active: !1,
223670
+ currency: "SDG",
223671
+ lorem: "et eiusmod et adipisicing ipsum eiusmod elit ad eiusmod nisi",
223672
+ average: "$2,490.02",
223673
+ f1: -80.55,
223674
+ f2: 30.48926331
223675
+ },
223676
+ {
223677
+ id: "4d-7a8933",
223678
+ company: "Besto",
223679
+ country: "Bouvet Island",
223680
+ product: "Miles",
223681
+ birthday: "1979-10-09 ",
223682
+ sellDate: "2023.06.24",
223683
+ lastVisit: "2023-09-12T04:10:40.722Z",
223684
+ time: "11:18 02",
223685
+ inStock: !1,
223686
+ quantity: 10,
223687
+ progress: 5,
223688
+ rating: 4,
223689
+ price: 16.777,
223690
+ active: !0,
223691
+ currency: "AUD",
223692
+ lorem: "ad adipisicing labore in ea irure in Lorem amet do",
223693
+ average: "$2,059.13",
223694
+ f1: 1881.95,
223695
+ f2: 11.65109173
223696
+ },
223697
+ {
223698
+ id: "7c-d5c5d8",
223699
+ company: "Zytrek",
223700
+ country: "Brazil",
223701
+ product: "Merrill",
223702
+ birthday: "1994-05-07 ",
223703
+ sellDate: "2023.06.07",
223704
+ lastVisit: "2023-08-04T13:28:09.380Z",
223705
+ time: "03:10 10",
223706
+ inStock: !1,
223707
+ quantity: 87,
223708
+ progress: 5,
223709
+ rating: 5,
223710
+ price: 17.609,
223711
+ active: !1,
223712
+ currency: "CAD",
223713
+ lorem: "irure irure amet nisi esse ad amet reprehenderit adipisicing est",
223714
+ average: "$1,781.47",
223715
+ f1: -2813.13,
223716
+ f2: 21.66612839
223717
+ },
223718
+ {
223719
+ id: "f3-12752a",
223720
+ company: "Snorus",
223721
+ country: "Yugoslavia",
223722
+ product: "Beasley",
223723
+ birthday: "1975-05-09 ",
223724
+ sellDate: "2023.05.07",
223725
+ lastVisit: "2023-05-24T15:30:47.006Z",
223726
+ time: "06:26 06",
223727
+ inStock: !0,
223728
+ quantity: 40,
223729
+ progress: 1,
223730
+ rating: 1,
223731
+ price: 27.849,
223732
+ active: !1,
223733
+ currency: "JMD",
223734
+ lorem: "eiusmod amet ad sunt id non amet velit culpa et",
223735
+ average: "$1,329.34",
223736
+ f1: 3963.37,
223737
+ f2: 28.14612827
223738
+ },
223739
+ {
223740
+ id: "53-8dab0f",
223741
+ company: "Conjurica",
223742
+ country: "Western Sahara",
223743
+ product: "Bush",
223744
+ birthday: "1975-05-19 ",
223745
+ sellDate: "2023.07.10",
223746
+ lastVisit: "2023-08-14T16:50:20.539Z",
223747
+ time: "05:26 17",
223748
+ inStock: !0,
223749
+ quantity: 24,
223750
+ progress: 5,
223751
+ rating: 2,
223752
+ price: 15.319,
223753
+ active: !0,
223754
+ currency: "TOP",
223755
+ lorem: "commodo sunt dolore amet mollit laborum esse irure dolor amet",
223756
+ average: "$1,710.01",
223757
+ f1: -2038.76,
223758
+ f2: 15.53951195
223759
+ },
223760
+ {
223761
+ id: "4f-cfcc46",
223762
+ company: "Elpro",
223763
+ country: "Peru",
223764
+ product: "Lang",
223765
+ birthday: "1986-01-18 ",
223766
+ sellDate: "2023.01.30",
223767
+ lastVisit: "2023-09-08T05:53:36.234Z",
223768
+ time: "03:05 29",
223769
+ inStock: !0,
223770
+ quantity: 94,
223771
+ progress: 4,
223772
+ rating: 3,
223773
+ price: 27.776,
223774
+ active: !0,
223775
+ currency: "ILS",
223776
+ lorem: "officia laborum pariatur sit aliqua id ut ullamco mollit aute",
223777
+ average: "$1,711.21",
223778
+ f1: 3031.61,
223779
+ f2: -4.41068184
223780
+ },
223781
+ {
223782
+ id: "19-885d8b",
223783
+ company: "Conferia",
223784
+ country: "Kazakhstan",
223785
+ product: "Humphrey",
223786
+ birthday: "1991-06-23 ",
223787
+ sellDate: "2023.04.26",
223788
+ lastVisit: "2023-06-03T02:28:03.135Z",
223789
+ time: "01:48 05",
223790
+ inStock: !1,
223791
+ quantity: 56,
223792
+ progress: 5,
223793
+ rating: 1,
223794
+ price: 27.757,
223795
+ active: !0,
223796
+ currency: "MZN",
223797
+ lorem: "cupidatat labore adipisicing Lorem nisi sunt officia non sunt duis",
223798
+ average: "$3,851.74",
223799
+ f1: -498.12,
223800
+ f2: 17.39432282
223801
+ },
223802
+ {
223803
+ id: "ea-665e32",
223804
+ company: "Musaphics",
223805
+ country: "Maldives",
223806
+ product: "Wynn",
223807
+ birthday: "1969-07-08 ",
223808
+ sellDate: "2023.08.12",
223809
+ lastVisit: "2023-08-21T05:23:09.443Z",
223810
+ time: "03:04 30",
223811
+ inStock: !1,
223812
+ quantity: 7,
223813
+ progress: 5,
223814
+ rating: 3,
223815
+ price: 46.745,
223816
+ active: !0,
223817
+ currency: "UAH",
223818
+ lorem: "aute culpa cupidatat fugiat quis reprehenderit sunt aliquip et qui",
223819
+ average: "$1,008.59",
223820
+ f1: 1624.92,
223821
+ f2: 37.54424644
223822
+ },
223823
+ {
223824
+ id: "88-5cb38d",
223825
+ company: "Chillium",
223826
+ country: "Antarctica",
223827
+ product: "Tyson",
223828
+ birthday: "1969-02-27 ",
223829
+ sellDate: "2023.04.05",
223830
+ lastVisit: "2023-05-06T02:48:27.836Z",
223831
+ time: "07:37 59",
223832
+ inStock: !0,
223833
+ quantity: 83,
223834
+ progress: 2,
223835
+ rating: 3,
223836
+ price: 46.231,
223837
+ active: !0,
223838
+ currency: "NGN",
223839
+ lorem: "excepteur aliquip et veniam magna tempor aliquip excepteur veniam nisi",
223840
+ average: "$1,587.84",
223841
+ f1: 3695.68,
223842
+ f2: 49.82630009
223843
+ },
223844
+ {
223845
+ id: "b0-06fefb",
223846
+ company: "Techtrix",
223847
+ country: "Bahamas",
223848
+ product: "Carey",
223849
+ birthday: "1984-01-11 ",
223850
+ sellDate: "2023.10.01",
223851
+ lastVisit: "2023-10-02T10:06:09.830Z",
223852
+ time: "01:16 14",
223853
+ inStock: !0,
223854
+ quantity: 2,
223855
+ progress: 1,
223856
+ rating: 2,
223857
+ price: 31.406,
223858
+ active: !0,
223859
+ currency: "UYU",
223860
+ lorem: "aliqua ad Lorem enim velit sunt eiusmod laborum nisi dolore",
223861
+ average: "$1,843.21",
223862
+ f1: -3220.64,
223863
+ f2: 33.08372279
223864
+ },
223865
+ {
223866
+ id: "9c-0aa2c1",
223867
+ company: "Overplex",
223868
+ country: "Honduras",
223869
+ product: "Koch",
223870
+ birthday: "1978-05-22 ",
223871
+ sellDate: "2023.09.22",
223872
+ lastVisit: "2023-09-19T01:12:43.946Z",
223873
+ time: "11:07 53",
223874
+ inStock: !0,
223875
+ quantity: 22,
223876
+ progress: 1,
223877
+ rating: 2,
223878
+ price: 20.743,
223879
+ active: !1,
223880
+ currency: "GHS",
223881
+ lorem: "aute fugiat amet elit incididunt ipsum id cillum amet quis",
223882
+ average: "$2,955.46",
223883
+ f1: -1284.83,
223884
+ f2: 24.43696513
223885
+ },
223886
+ {
223887
+ id: "e3-b8900d",
223888
+ company: "Lyrichord",
223889
+ country: "Saudi Arabia",
223890
+ product: "Griffith",
223891
+ birthday: "1998-07-25 ",
223892
+ sellDate: "2023.06.22",
223893
+ lastVisit: "2023-09-05T00:42:31.548Z",
223894
+ time: "04:30 44",
223895
+ inStock: !1,
223896
+ quantity: 76,
223897
+ progress: 4,
223898
+ rating: 5,
223899
+ price: 24.833,
223900
+ active: !1,
223901
+ currency: "NZD",
223902
+ lorem: "consequat do ut cillum aute magna duis pariatur consequat irure",
223903
+ average: "$2,995.37",
223904
+ f1: 971.88,
223905
+ f2: 43.08250309
223906
+ },
223907
+ {
223908
+ id: "3b-1b6b6f",
223909
+ company: "Otherside",
223910
+ country: "Micronesia",
223911
+ product: "Mejia",
223912
+ birthday: "1995-05-30 ",
223913
+ sellDate: "2023.07.08",
223914
+ lastVisit: "2023-07-19T16:54:57.254Z",
223915
+ time: "03:56 36",
223916
+ inStock: !1,
223917
+ quantity: 28,
223918
+ progress: 5,
223919
+ rating: 1,
223920
+ price: 15.421,
223921
+ active: !0,
223922
+ currency: "SYP",
223923
+ lorem: "fugiat enim do laborum eu eu excepteur elit eu eu",
223924
+ average: "$3,128.24",
223925
+ f1: -171.27,
223926
+ f2: 28.87482331
223927
+ },
223928
+ {
223929
+ id: "e1-782a0e",
223930
+ company: "Netplax",
223931
+ country: "Slovenia",
223932
+ product: "Short",
223933
+ birthday: "1992-03-17 ",
223934
+ sellDate: "2023.01.06",
223935
+ lastVisit: "2023-07-22T02:14:29.711Z",
223936
+ time: "11:26 24",
223937
+ inStock: !1,
223938
+ quantity: 36,
223939
+ progress: 2,
223940
+ rating: 3,
223941
+ price: 43.267,
223942
+ active: !1,
223943
+ currency: "BOB",
223944
+ lorem: "et cupidatat et aliqua eiusmod irure tempor non deserunt veniam",
223945
+ average: "$3,539.06",
223946
+ f1: -2374.97,
223947
+ f2: 9.93788977
223948
+ },
223949
+ {
223950
+ id: "3e-490251",
223951
+ company: "Ginkle",
223952
+ country: "Swaziland",
223953
+ product: "Malone",
223954
+ birthday: "1982-01-16 ",
223955
+ sellDate: "2023.10.14",
223956
+ lastVisit: "2023-02-01T16:30:16.250Z",
223957
+ time: "07:45 33",
223958
+ inStock: !1,
223959
+ quantity: 38,
223960
+ progress: 4,
223961
+ rating: 1,
223962
+ price: 16.687,
223963
+ active: !0,
223964
+ currency: "KES",
223965
+ lorem: "adipisicing nulla laboris sunt pariatur id mollit consequat elit reprehenderit",
223966
+ average: "$3,910.71",
223967
+ f1: 3589.62,
223968
+ f2: 38.66914155
223969
+ },
223970
+ {
223971
+ id: "1a-0e16e0",
223972
+ company: "Pushcart",
223973
+ country: "Philippines",
223974
+ product: "Norris",
223975
+ birthday: "1988-03-03 ",
223976
+ sellDate: "2023.04.26",
223977
+ lastVisit: "2023-05-21T20:11:27.193Z",
223978
+ time: "10:42 34",
223979
+ inStock: !1,
223980
+ quantity: 20,
223981
+ progress: 5,
223982
+ rating: 2,
223983
+ price: 38.596,
223984
+ active: !0,
223985
+ currency: "ZMK",
223986
+ lorem: "excepteur in aute magna ad proident sunt sunt in cillum",
223987
+ average: "$2,757.19",
223988
+ f1: 633.99,
223989
+ f2: 7.84723423
223990
+ },
223991
+ {
223992
+ id: "51-892b7f",
223993
+ company: "Yogasm",
223994
+ country: "Sierra Leone",
223995
+ product: "Paul",
223996
+ birthday: "1979-08-30 ",
223997
+ sellDate: "2023.01.21",
223998
+ lastVisit: "2023-03-24T02:24:26.439Z",
223999
+ time: "07:14 31",
224000
+ inStock: !0,
224001
+ quantity: 33,
224002
+ progress: 5,
224003
+ rating: 2,
224004
+ price: 11.515,
224005
+ active: !1,
224006
+ currency: "RUB",
224007
+ lorem: "et laborum laborum irure duis cillum aliquip pariatur nulla quis",
224008
+ average: "$2,915.89",
224009
+ f1: -3966.31,
224010
+ f2: 9.72444328
224011
+ },
224012
+ {
224013
+ id: "6d-31e59a",
224014
+ company: "Geeknet",
224015
+ country: "Cuba",
224016
+ product: "Schwartz",
224017
+ birthday: "1985-07-22 ",
224018
+ sellDate: "2023.10.22",
224019
+ lastVisit: "2023-02-22T11:24:11.139Z",
224020
+ time: "10:13 23",
224021
+ inStock: !0,
224022
+ quantity: 29,
224023
+ progress: 2,
224024
+ rating: 1,
224025
+ price: 40.135,
224026
+ active: !1,
224027
+ currency: "COP",
224028
+ lorem: "ea esse pariatur ullamco anim anim amet Lorem nisi in",
224029
+ average: "$2,679.83",
224030
+ f1: -296.08,
224031
+ f2: 21.95820836
224032
+ },
224033
+ {
224034
+ id: "f4-204bef",
224035
+ company: "Eargo",
224036
+ country: "Equatorial Guinea",
224037
+ product: "York",
224038
+ birthday: "1987-09-09 ",
224039
+ sellDate: "2023.10.17",
224040
+ lastVisit: "2023-05-08T21:49:49.504Z",
224041
+ time: "05:32 21",
224042
+ inStock: !0,
224043
+ quantity: 97,
224044
+ progress: 3,
224045
+ rating: 1,
224046
+ price: 14.875,
224047
+ active: !1,
224048
+ currency: "LTL",
224049
+ lorem: "sunt eu nisi occaecat aute adipisicing cillum irure veniam labore",
224050
+ average: "$2,962.04",
224051
+ f1: -3282.24,
224052
+ f2: 28.55122067
224053
+ }
224054
+ ];
224055
+ function Mr(s = 75) {
224056
+ return Ur.slice(0, s - 1);
224057
+ }
224058
+ function Br(s) {
224059
+ return [
224060
+ y.create({
224061
+ property: "company",
224062
+ headerLabel: "Company",
224063
+ width: T,
224064
+ bodyClasses: ["ge-table-text-align-left"],
224065
+ headerClasses: ["ge-table-text-align-left"],
224066
+ sortable: g,
224067
+ editable: () => s
224068
+ }),
224069
+ y.create({
224070
+ property: "country",
224071
+ headerLabel: "Country",
224072
+ width: re,
224073
+ bodyClasses: ["ge-table-text-align-left"],
224074
+ headerClasses: ["ge-table-text-align-left"],
224075
+ sortable: g,
224076
+ editable: () => s
224077
+ }),
224078
+ y.create({
224079
+ property: "product",
224080
+ headerLabel: "Name",
224081
+ width: T,
224082
+ bodyClasses: ["ge-table-text-align-left"],
224083
+ headerClasses: ["ge-table-text-align-left"],
224084
+ sortable: g,
224085
+ editable: () => s
224086
+ }),
224087
+ y.create({
224088
+ property: "birthday",
224089
+ headerLabel: "Birth Date",
224090
+ width: T,
224091
+ bodyClasses: ["ge-table-text-align-center"],
224092
+ sortable: g,
224093
+ editable: () => s
224094
+ }),
224095
+ y.create({
224096
+ property: "sellDate",
224097
+ headerLabel: "Sell date",
224098
+ width: T,
224099
+ bodyRenderer: new O(),
224100
+ bodyClasses: ["ge-table-text-align-center"],
224101
+ sortable: g,
224102
+ editable: () => s
224103
+ }),
224104
+ y.create({
224105
+ property: "lastVisit",
224106
+ headerLabel: "Last Visit",
224107
+ width: fe,
224108
+ bodyClasses: ["ge-table-text-align-center"],
224109
+ sortable: g,
224110
+ editable: () => s
224111
+ }),
224112
+ y.create({
224113
+ property: "time",
224114
+ headerLabel: "Time",
224115
+ width: T,
224116
+ bodyClasses: ["ge-table-text-align-center"],
224117
+ sortable: g,
224118
+ editable: () => s
224119
+ }),
224120
+ y.create({
224121
+ property: "id",
224122
+ headerLabel: "Order ID",
224123
+ width: L,
224124
+ bodyClasses: ["ge-table-text-align-center"],
224125
+ sortable: g
224126
+ }),
224127
+ y.create({
224128
+ property: "inStock",
224129
+ headerLabel: "In stock",
224130
+ width: oe,
224131
+ bodyRenderer: new Le("inStock", !0, !0),
224132
+ bodyClasses: ["ge-table-text-align-center"],
224133
+ sortable: g,
224134
+ editable: () => s
224135
+ }),
224136
+ y.create({
224137
+ property: "quantity",
224138
+ headerLabel: "Qty",
224139
+ width: x,
224140
+ bodyClasses: ["ge-table-text-align-right"],
224141
+ headerClasses: ["ge-table-text-align-right"],
224142
+ sortable: g,
224143
+ editable: () => s
224144
+ }),
224145
+ y.create({
224146
+ property: "progress",
224147
+ headerLabel: "Progress",
224148
+ width: T,
224149
+ bodyRenderer: new Ze("progress", 5, !0),
224150
+ bodyClasses: ["ge-table-text-align-left"],
224151
+ sortable: g
224152
+ }),
224153
+ y.create({
224154
+ property: "rating",
224155
+ headerLabel: "Rating",
224156
+ width: T,
224157
+ bodyRenderer: new Ge("rating"),
224158
+ bodyClasses: ["ge-table-text-align-left"],
224159
+ sortable: g
224160
+ }),
224161
+ y.create({
224162
+ property: "price",
224163
+ headerLabel: "Price",
224164
+ width: x,
224165
+ bodyClasses: ["ge-table-text-align-right"],
224166
+ sortable: g,
224167
+ editable: () => s
224168
+ }),
224169
+ y.create({
224170
+ property: "active",
224171
+ headerLabel: "Active",
224172
+ width: x,
224173
+ bodyRenderer: new ze(),
224174
+ sortable: g,
224175
+ editable: () => s
224176
+ }),
224177
+ y.create({
224178
+ property: "currency",
224179
+ headerLabel: "CCY",
224180
+ width: x,
224181
+ sortable: g,
224182
+ editable: () => s
224183
+ }),
224184
+ y.create({
224185
+ property: "average",
224186
+ headerLabel: "Average",
224187
+ width: T,
224188
+ bodyClasses: ["ge-table-text-align-right"],
224189
+ sortable: g,
224190
+ editable: () => s
224191
+ }),
224192
+ y.create({
224193
+ property: "f1",
224194
+ headerLabel: "F1",
224195
+ width: he,
224196
+ bodyClasses: ["ge-table-text-align-right"],
224197
+ bodyRenderer: new Je(),
224198
+ sortable: g,
224199
+ editable: () => s
224200
+ }),
224201
+ y.create({
224202
+ property: "f2",
224203
+ headerLabel: "F2",
224204
+ width: L,
224205
+ bodyClasses: ["ge-table-text-align-right"],
224206
+ sortable: g,
224207
+ editable: () => s
224208
+ }),
224209
+ y.create({
224210
+ property: "lorem",
224211
+ headerLabel: "Lorem",
224212
+ width: A,
224213
+ bodyClasses: ["ge-table-text-align-left"],
224214
+ sortable: g,
224215
+ editable: () => s
224216
+ })
224217
+ ];
224218
+ }
224219
+ function Ir(s) {
224220
+ return {
224221
+ ...new z(),
224222
+ hoverColumnVisible: !1,
224223
+ defaultRowHeights: {
224224
+ header: 32,
224225
+ body: 32,
224226
+ footer: 0
224227
+ },
224228
+ getSelectionModel: () => s
224229
+ };
224230
+ }
224231
+ function ra(s = new q("row", "multi"), e = 75, r = !1) {
224232
+ const a = Ir(s);
224233
+ e = Math.max(10, Math.min(75, e));
224234
+ const t = Mr(e), n = Br(r);
224235
+ return new V(f.createTableModel({
224236
+ rows: t,
224237
+ columnDefs: n,
224238
+ tableOptions: a
224239
+ }), a);
224240
+ }
224241
+ const qr = [
222080
224242
  {
222081
224243
  id: 0,
222082
224244
  preName: "Prename0",
@@ -383950,10 +386112,10 @@ const Zr = [
383950
386112
  friends: []
383951
386113
  }
383952
386114
  ];
383953
- function wr(s = !1) {
386115
+ function Vr(s = !1) {
383954
386116
  const e = new q("range", "multi");
383955
- return s && (e.addSelection(new T(0, 0, 0, 2)), e.addSelection(new T(2, 1, 2, 2)), e.addSelection(new T(1, 5, 6, 7)), e.addSelection(new T(0, 8, 0, 8)), e.addSelection(new T(5, 6, 10, 10))), {
383956
- ...new Z(),
386117
+ return s && (e.addSelection(new o(0, 0, 0, 2)), e.addSelection(new o(2, 1, 2, 2)), e.addSelection(new o(1, 5, 6, 7)), e.addSelection(new o(0, 8, 0, 8)), e.addSelection(new o(5, 6, 10, 10))), {
386118
+ ...new z(),
383957
386119
  hoverColumnVisible: !1,
383958
386120
  defaultRowHeights: {
383959
386121
  header: 50,
@@ -383961,7 +386123,7 @@ function wr(s = !1) {
383961
386123
  footer: 0
383962
386124
  },
383963
386125
  autoRestoreOptions: {
383964
- ...new Ae(),
386126
+ ...new Oe(),
383965
386127
  getStorageKeyFn: () => "TreetablePeopleComponent",
383966
386128
  autoRestoreCollapsedExpandedState: !0,
383967
386129
  autoRestoreScrollPosition: !0,
@@ -383971,89 +386133,92 @@ function wr(s = !1) {
383971
386133
  getSelectionModel: () => e
383972
386134
  };
383973
386135
  }
383974
- function xr() {
386136
+ function Hr() {
383975
386137
  return [
383976
- new y("lastName", "Last Name", Le),
383977
- new y("preName", "Pre Name", z),
386138
+ new y("lastName", "Last Name", fe),
386139
+ new y("preName", "Pre Name", L),
383978
386140
  y.create({
383979
386141
  property: "age",
383980
386142
  headerLabel: "Age",
383981
- width: Ze,
383982
- bodyRenderer: new Ve(),
383983
- editable: f,
386143
+ width: he,
386144
+ bodyRenderer: new Ye(),
386145
+ editable: g,
383984
386146
  // editInputPipe: (value: any) => value ? Number(value) : ""
383985
- editInputPipe: $e
386147
+ editInputPipe: Qe
383986
386148
  }),
383987
386149
  new y(
383988
386150
  "birth",
383989
386151
  "Birthday",
383990
- G,
386152
+ T,
383991
386153
  void 0,
383992
- Be.bodyRenderer(new Y())
386154
+ Ke.bodyRenderer(new O())
383993
386155
  ),
383994
386156
  y.create({
383995
386157
  property: "gender",
383996
386158
  headerLabel: " ",
383997
- width: xe,
383998
- bodyRenderer: new le(),
383999
- editable: f,
384000
- getEditRenderer: () => new J([
384001
- new W("female", "♀"),
384002
- new W("male", "♂")
386159
+ width: He,
386160
+ bodyRenderer: new Pe(),
386161
+ editable: g,
386162
+ getEditRenderer: () => new ne([
386163
+ new Y("female", "♀"),
386164
+ new Y("male", "♂")
384003
386165
  ])
384004
386166
  }),
384005
- new y("address.street", "Strasse", ye),
384006
- new y("address.number", "Nr", we),
384007
- new y("address.zip", "Zip", I),
384008
- new y("address.city", "City", z),
384009
- new y("address.country", "Country", z),
384010
- new y("id", "ID", I)
386167
+ new y("address.street", "Strasse", Te),
386168
+ new y("address.number", "Nr", Ve),
386169
+ new y("address.zip", "Zip", x),
386170
+ new y("address.city", "City", L),
386171
+ new y("address.country", "Country", L),
386172
+ new y("id", "ID", x)
384011
386173
  ];
384012
386174
  }
384013
- function Or(s = !1) {
384014
- const e = wr(s), r = xr();
386175
+ function aa(s = !1) {
386176
+ const e = Vr(s), r = Hr();
384015
386177
  for (const n of r)
384016
- n.sortable = f, n.editable = f;
384017
- r[0].editable = U;
384018
- const a = A.buildTreeRows(Zr, "friends"), t = N.createTableModel({
386178
+ n.sortable = g, n.editable = g;
386179
+ r[0].editable = B;
386180
+ const a = M.buildTreeRows(qr, "friends"), t = f.createTableModel({
384019
386181
  rows: a,
384020
386182
  columnDefs: r,
384021
386183
  tableOptions: e,
384022
386184
  fixedLeftColumnCount: 1,
384023
386185
  fixedRightColumnCount: 1
384024
386186
  });
384025
- return new H(
386187
+ return new V(
384026
386188
  t,
384027
386189
  e
384028
386190
  );
384029
386191
  }
384030
386192
  export {
384031
- Br as COL_IDX_UPDATED_AT,
384032
- je as ChangePercentageRenderer,
384033
- Je as CirculatingSupplyRenderer,
384034
- Qe as CoinIconRenderer,
384035
- zr as LargeBodyModel,
384036
- Ke as NameAndSymbolRenderer,
384037
- Xe as UsdRenderer,
384038
- Ye as Volumn24hRenderer,
384039
- Ir as applyBodyRenderer,
384040
- cr as createColumnDefs,
384041
- kr as createCryptoModelAndOptions,
384042
- Dr as createHeadergroupModel,
384043
- Ar as createHeatMapModel,
384044
- Ur as createHeatMapSeattleModel,
384045
- Hr as createLargeModelAndOptions,
384046
- qr as createOrderModelAndOptions,
384047
- Mr as createSimplePersonModel,
384048
- gr as createTableOptions,
384049
- lr as createTableRows,
384050
- _r as createTimeTableModel,
384051
- xr as createTreePeopleColumnDefs,
384052
- Or as createTreePeopleModelAndOptions,
384053
- wr as createTreePeopleTableOptions,
384054
- er as cryptoData,
384055
- br as data,
384056
- vr as generateSimpleModel,
384057
- Rr as generateTreeCheckboxModel,
384058
- Nr as tableOptions
386193
+ Yr as COL_IDX_UPDATED_AT,
386194
+ rr as ChangePercentageRenderer,
386195
+ mr as CirculatingSupplyRenderer,
386196
+ sr as CoinIconRenderer,
386197
+ Ar as LargeBodyModel,
386198
+ tr as NameAndSymbolRenderer,
386199
+ ar as UsdRenderer,
386200
+ nr as Volumn24hRenderer,
386201
+ Xr as applyBodyRenderer,
386202
+ Sr as createColumnDefs,
386203
+ _r as createCryptoModelAndOptions,
386204
+ Wr as createHeadergroupModel,
386205
+ Or as createHeatMapModel,
386206
+ Fr as createHeatMapSeattleModel,
386207
+ ea as createLargeModelAndOptions,
386208
+ ra as createManyTypesModelAndOptions,
386209
+ Qr as createOrderModelAndOptions,
386210
+ jr as createSimplePersonModel,
386211
+ Cr as createTableOptions,
386212
+ hr as createTableRows,
386213
+ Kr as createTeamHeadergroupModel,
386214
+ Jr as createTimeTableModel,
386215
+ Hr as createTreePeopleColumnDefs,
386216
+ aa as createTreePeopleModelAndOptions,
386217
+ Vr as createTreePeopleTableOptions,
386218
+ ir as cryptoData,
386219
+ Lr as data,
386220
+ $r as generateSimpleModel,
386221
+ Er as generateTreeCheckboxModel,
386222
+ Pr as tableOptions,
386223
+ or as teamHeaderGroups
384059
386224
  };