@guiexpert/demo-table-models 1.0.9 → 1.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.json +33 -0
- package/dist/README.md +106 -0
- package/dist/demodata/header-groups.d.ts +2 -0
- package/dist/demodata/many-types.d.ts +33 -0
- package/{index.cjs → dist/index.cjs} +280 -15
- package/{index.d.ts → dist/index.d.ts} +5 -1
- package/{index.js → dist/index.js} +2682 -418
- package/dist/lib/createLargeModel.d.ts +13 -0
- package/dist/lib/createManyTypesModel.d.ts +2 -0
- package/{lib → dist/lib}/createOrderModel.d.ts +1 -1
- package/{lib → dist/lib}/createSimplePersonModel.d.ts +1 -1
- package/{lib → dist/lib}/createTimeTableModel.d.ts +10 -9
- package/{lib → dist/lib}/crypto/generateCryptoModel.d.ts +1 -1
- package/{lib → dist/lib}/crypto/renderer/change-percentage-renderer.d.ts +1 -1
- package/{lib → dist/lib}/crypto/renderer/circulating-supply-renderer.d.ts +1 -1
- package/{lib → dist/lib}/crypto/renderer/coin-icon-renderer.d.ts +1 -1
- package/{lib → dist/lib}/crypto/renderer/name-and-symbol-renderer.d.ts +1 -1
- package/{lib → dist/lib}/crypto/renderer/usd-renderer.d.ts +1 -1
- package/{lib → dist/lib}/crypto/renderer/volumn-24h-renderer.d.ts +1 -1
- package/{lib → dist/lib}/generateHeatMapTableModel.d.ts +1 -1
- package/{lib → dist/lib}/generateHeatmapSeattle.d.ts +1 -1
- package/{lib → dist/lib}/generateSimpleModel.d.ts +1 -1
- package/{lib → dist/lib}/generateTreeCheckboxModel.d.ts +1 -1
- package/{lib/generateHeadergroupModel.d.ts → dist/lib/headergroup/generateBigHeadergroupModel.d.ts} +1 -1
- package/dist/lib/headergroup/generateTeamHeadergroupModel.d.ts +9 -0
- package/{lib → dist/lib}/treepeople/generateTreePeopleModel.d.ts +9 -8
- package/dist/model/many-types.if.d.ts +21 -0
- package/dist/package.json +40 -0
- package/package.json +25 -3
- package/patch.js +16 -0
- package/src/demodata/header-groups.ts +152 -0
- package/src/demodata/many-types.ts +1508 -0
- package/src/demodata/orders.ts +1962 -0
- package/src/demodata/persons1000.ts +8006 -0
- package/src/demodata/tree-persons.ts +161880 -0
- package/src/index.ts +26 -0
- package/src/lib/createLargeModel.ts +94 -0
- package/src/lib/createManyTypesModel.ts +210 -0
- package/src/lib/createOrderModel.ts +130 -0
- package/src/lib/createSimplePersonModel.ts +265 -0
- package/src/lib/createTimeTableModel.ts +353 -0
- package/src/lib/crypto/crypto-data.ts +2739 -0
- package/src/lib/crypto/crypto-top.if.ts +19 -0
- package/src/lib/crypto/generateCryptoModel.ts +102 -0
- package/src/lib/crypto/renderer/change-percentage-renderer.ts +30 -0
- package/src/lib/crypto/renderer/circulating-supply-renderer.ts +46 -0
- package/src/lib/crypto/renderer/coin-icon-renderer.ts +25 -0
- package/src/lib/crypto/renderer/name-and-symbol-renderer.ts +31 -0
- package/src/lib/crypto/renderer/usd-renderer.ts +26 -0
- package/src/lib/crypto/renderer/volumn-24h-renderer.ts +35 -0
- package/src/lib/generateHeatMapTableModel.ts +86 -0
- package/src/lib/generateHeatmapSeattle.ts +170 -0
- package/src/lib/generateHeatmapSeattleData.ts +52565 -0
- package/src/lib/generateSimpleModel.ts +31 -0
- package/src/lib/generateTreeCheckboxModel.ts +54 -0
- package/src/lib/headergroup/generateBigHeadergroupModel.ts +62 -0
- package/src/lib/headergroup/generateTeamHeadergroupModel.ts +66 -0
- package/src/lib/treepeople/address.if.ts +7 -0
- package/src/lib/treepeople/address.ts +14 -0
- package/src/lib/treepeople/generateTreePeopleModel.ts +130 -0
- package/src/lib/treepeople/person.if.ts +12 -0
- package/src/lib/treepeople/person.ts +18 -0
- package/src/lib/treepeople/treePeopleData.ts +161878 -0
- package/src/model/address.if.ts +7 -0
- package/src/model/many-types.if.ts +22 -0
- package/src/model/order.if.ts +12 -0
- package/src/model/person.if.ts +12 -0
- package/src/model/simple-person.if.ts +8 -0
- package/tsconfig.json +22 -0
- package/tsconfig.lib.json +10 -0
- package/tsconfig.spec.json +25 -0
- package/vite.config.ts +62 -0
- package/demodata/header-groups.d.ts +0 -2
- /package/{demodata → dist/demodata}/orders.d.ts +0 -0
- /package/{demodata → dist/demodata}/persons1000.d.ts +0 -0
- /package/{demodata → dist/demodata}/tree-persons.d.ts +0 -0
- /package/{lib → dist/lib}/crypto/crypto-data.d.ts +0 -0
- /package/{lib → dist/lib}/crypto/crypto-top.if.d.ts +0 -0
- /package/{lib → dist/lib}/generateHeatmapSeattleData.d.ts +0 -0
- /package/{lib → dist/lib}/treepeople/address.d.ts +0 -0
- /package/{lib → dist/lib}/treepeople/address.if.d.ts +0 -0
- /package/{lib → dist/lib}/treepeople/person.d.ts +0 -0
- /package/{lib → dist/lib}/treepeople/person.if.d.ts +0 -0
- /package/{lib → dist/lib}/treepeople/treePeopleData.d.ts +0 -0
- /package/{model → dist/model}/address.if.d.ts +0 -0
- /package/{model → dist/model}/order.if.d.ts +0 -0
- /package/{model → dist/model}/person.if.d.ts +0 -0
- /package/{model → dist/model}/simple-person.if.d.ts +0 -0
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
function
|
|
1
|
+
function X(s) {
|
|
2
2
|
return s && s.type === "TreeRow";
|
|
3
3
|
}
|
|
4
|
-
function
|
|
4
|
+
function xe(s) {
|
|
5
5
|
return s && s.type === "CheckboxColumnDef";
|
|
6
6
|
}
|
|
7
|
-
class
|
|
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
|
|
13
|
-
constructor(e = new
|
|
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
|
|
17
|
+
), r = new w(
|
|
18
18
|
">",
|
|
19
19
|
"",
|
|
20
20
|
["ge-table-tree-arrow-collapsed"]
|
|
21
|
-
), a = new
|
|
21
|
+
), a = new w(
|
|
22
22
|
">",
|
|
23
23
|
"color:transparent;",
|
|
24
24
|
["gt-table-tree-arrow-hidden"]
|
|
25
|
-
), t = new
|
|
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
|
|
34
|
-
constructor(e = new
|
|
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
|
|
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
|
|
52
|
+
return e.gammaRange === void 0 && (e.gammaRange = !1), new o(
|
|
53
53
|
e.rowIndex1,
|
|
54
54
|
e.columnIndex1,
|
|
55
55
|
e.rowIndex2,
|
|
@@ -58,24 +58,24 @@ class T {
|
|
|
58
58
|
);
|
|
59
59
|
}
|
|
60
60
|
static singleCell(e, r) {
|
|
61
|
-
return new
|
|
61
|
+
return new o(e, r, e, r);
|
|
62
62
|
}
|
|
63
63
|
static singleRow(e) {
|
|
64
|
-
return new
|
|
64
|
+
return new o(e, 0, e, Number.MAX_SAFE_INTEGER);
|
|
65
65
|
}
|
|
66
66
|
static singleColumn(e) {
|
|
67
|
-
return new
|
|
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
|
|
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
|
|
78
|
+
class De {
|
|
79
79
|
render(e, r, a, t, n, m, d) {
|
|
80
80
|
if (n.isEditable(r, a)) {
|
|
81
81
|
d.addClass(e, "ge-table-row-input-div");
|
|
@@ -96,9 +96,26 @@ class Te {
|
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
98
|
}
|
|
99
|
-
class
|
|
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 W {
|
|
|
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 =
|
|
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(
|
|
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
|
|
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
|
-
|
|
167
|
-
|
|
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
|
|
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
|
|
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 {
|
|
177
565
|
constructor(e, r = !0, a, t, n = 0, m = !1, d = !1) {
|
|
178
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
|
|
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(
|
|
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
|
|
576
|
+
static buildTreeRow(e, r = "children", a = new ie(e, !0, [], void 0, 0), t = 0, n = 12) {
|
|
189
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
582
|
for (const i of m) {
|
|
195
|
-
const
|
|
196
|
-
if ((d = a.children) == null || d.push(
|
|
583
|
+
const u = new ie(i, !0, [], a, t + 1);
|
|
584
|
+
if ((d = a.children) == null || d.push(u), M.buildTreeRow(
|
|
197
585
|
i,
|
|
198
586
|
r,
|
|
199
|
-
|
|
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
|
|
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
|
|
600
|
+
class p {
|
|
213
601
|
constructor(e = 100, r = "px") {
|
|
214
602
|
this.value = e, this.unit = r;
|
|
215
603
|
}
|
|
216
604
|
}
|
|
217
|
-
const
|
|
605
|
+
const g = () => !0, B = () => !1;
|
|
218
606
|
class y {
|
|
219
|
-
constructor(e, r, a = new
|
|
220
|
-
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 =
|
|
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
|
|
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
|
|
618
|
+
const r = new C(
|
|
231
619
|
e.headerRenderer,
|
|
232
620
|
e.bodyRenderer,
|
|
233
621
|
e.footerRenderer
|
|
234
|
-
), a = new
|
|
622
|
+
), a = new C(
|
|
235
623
|
e.headerClasses,
|
|
236
624
|
e.bodyClasses,
|
|
237
625
|
e.footerClasses
|
|
238
|
-
), t = e.sortIconVisible ?? e.sortable ??
|
|
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
|
|
630
|
+
e.width ?? new p(100, "px"),
|
|
243
631
|
a,
|
|
244
632
|
r,
|
|
245
|
-
e.minWidth ?? new
|
|
246
|
-
e.maxWidth ?? new
|
|
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
|
|
260
|
-
class
|
|
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,7 +705,9 @@ class j {
|
|
|
314
705
|
return !1;
|
|
315
706
|
}
|
|
316
707
|
isEditable(e, r) {
|
|
317
|
-
|
|
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
713
|
var d;
|
|
@@ -332,7 +725,7 @@ class j {
|
|
|
332
725
|
setPropertyValue(e, r, a) {
|
|
333
726
|
const t = r.shift();
|
|
334
727
|
if (t) {
|
|
335
|
-
|
|
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 j {
|
|
|
348
741
|
this.yPositions[r + 1] = this.getRowHeight(r) + this.yPositions[r];
|
|
349
742
|
}
|
|
350
743
|
}
|
|
351
|
-
class
|
|
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 j {
|
|
|
376
769
|
this.filteredArr.forEach((a) => this.arrayMove(a, e, r)), super.changeColumnOrder(e, r);
|
|
377
770
|
}
|
|
378
771
|
}
|
|
379
|
-
class
|
|
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
|
|
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
|
|
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 ue {
|
|
|
474
870
|
return a * ("" + e).localeCompare("" + r);
|
|
475
871
|
}
|
|
476
872
|
}
|
|
477
|
-
class
|
|
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
|
|
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);
|
|
@@ -578,7 +974,7 @@ class Q extends j {
|
|
|
578
974
|
t.children && this.treeSort(t.children, r, a);
|
|
579
975
|
}
|
|
580
976
|
}
|
|
581
|
-
class
|
|
977
|
+
class ye {
|
|
582
978
|
constructor(e = []) {
|
|
583
979
|
this.allRootNodes = e;
|
|
584
980
|
}
|
|
@@ -638,12 +1034,12 @@ class ee {
|
|
|
638
1034
|
a.checked && r.push(a), a.children && this.addSelectedRecursive(a.children, r);
|
|
639
1035
|
}
|
|
640
1036
|
}
|
|
641
|
-
class
|
|
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
|
|
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
|
|
678
|
-
constructor(e, r, a, t = 0, n = 0, m = !1, d = new
|
|
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
|
|
681
|
-
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 =
|
|
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 _ {
|
|
|
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
|
|
1158
|
+
this.padding = new ue(
|
|
763
1159
|
a,
|
|
764
1160
|
r,
|
|
765
1161
|
t,
|
|
@@ -977,7 +1373,13 @@ class _ {
|
|
|
977
1373
|
* @returns {boolean} - `true` if the column is sortable, `false` otherwise.
|
|
978
1374
|
*/
|
|
979
1375
|
isSortable(e) {
|
|
980
|
-
|
|
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,11 +1399,11 @@ class _ {
|
|
|
997
1399
|
if (n.width.unit === "%" && e) {
|
|
998
1400
|
let m = Math.floor(n.width.value * e / 100);
|
|
999
1401
|
if (n.minWidth) {
|
|
1000
|
-
|
|
1402
|
+
const d = n.minWidth.unit === "px" ? n.minWidth.value : Math.floor(n.minWidth.value * e / 100);
|
|
1001
1403
|
m = Math.max(d, m);
|
|
1002
1404
|
}
|
|
1003
1405
|
if (n.maxWidth) {
|
|
1004
|
-
|
|
1406
|
+
const d = n.maxWidth.unit === "px" ? n.maxWidth.value : Math.floor(n.maxWidth.value * e / 100);
|
|
1005
1407
|
m = Math.min(d, m);
|
|
1006
1408
|
}
|
|
1007
1409
|
return m;
|
|
@@ -1023,9 +1425,12 @@ class _ {
|
|
|
1023
1425
|
this.xPositions[r + 1] = this.getColumnWidth(r) + this.xPositions[r];
|
|
1024
1426
|
}
|
|
1025
1427
|
}
|
|
1026
|
-
class
|
|
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
|
|
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 j {
|
|
|
1034
1439
|
getValueAt(e, r) {
|
|
1035
1440
|
const a = this.properties[r];
|
|
1036
1441
|
let t = this.filteredRows[e];
|
|
1037
|
-
return
|
|
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 j {
|
|
|
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 I extends
|
|
1483
|
+
class I extends Ee {
|
|
1080
1484
|
constructor(e, r, a, t) {
|
|
1081
1485
|
super(
|
|
1082
1486
|
e,
|
|
@@ -1086,51 +1490,51 @@ class I extends Re {
|
|
|
1086
1490
|
), this.areaIdent = e, this.rows = r, this.columnDefs = a, this.defaultRowHeight = t;
|
|
1087
1491
|
}
|
|
1088
1492
|
}
|
|
1089
|
-
class
|
|
1493
|
+
class f {
|
|
1090
1494
|
static createTableModel(e) {
|
|
1091
|
-
var r, a, t, n, m, d, i,
|
|
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
|
|
1097
|
-
const
|
|
1098
|
-
|
|
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
|
|
1102
|
-
|
|
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
|
|
1106
|
-
|
|
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((
|
|
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
|
|
1518
|
+
) : (l = e.columnDefs) != null && l.length ? e.headerAreaModel = new S(
|
|
1115
1519
|
"header",
|
|
1116
|
-
[e.columnDefs.map((
|
|
1520
|
+
[e.columnDefs.map((b) => b.headerLabel)],
|
|
1117
1521
|
e.defaultRowHeights.header,
|
|
1118
1522
|
e.columnDefs
|
|
1119
|
-
) : e.headerAreaModel = new
|
|
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
|
|
1528
|
+
) : e.footerAreaModel = new Z("footer")), !e.bodyAreaModel)
|
|
1125
1529
|
if (e.rows)
|
|
1126
|
-
if ((
|
|
1127
|
-
const
|
|
1128
|
-
e.bodyAreaModel = new
|
|
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
|
-
|
|
1534
|
+
b,
|
|
1131
1535
|
e.defaultRowHeights.body,
|
|
1132
1536
|
e.columnDefs
|
|
1133
|
-
), (e.columnDefs[0].property === "CheckboxColumn" || (
|
|
1537
|
+
), (e.columnDefs[0].property === "CheckboxColumn" || (G = e.tableOptions) != null && G.showCheckboxWihoutExtraColumn) && (e.bodyAreaModel.rowSelectionModel = new ye(b));
|
|
1134
1538
|
} else
|
|
1135
1539
|
e.bodyAreaModel = new I(
|
|
1136
1540
|
"body",
|
|
@@ -1139,12 +1543,12 @@ class N {
|
|
|
1139
1543
|
e.defaultRowHeights.body
|
|
1140
1544
|
);
|
|
1141
1545
|
else
|
|
1142
|
-
e.bodyData ? e.bodyAreaModel = new
|
|
1546
|
+
e.bodyData ? e.bodyAreaModel = new S(
|
|
1143
1547
|
"body",
|
|
1144
1548
|
e.bodyData,
|
|
1145
1549
|
e.defaultRowHeights.body
|
|
1146
|
-
) : e.bodyAreaModel = new
|
|
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 && ((
|
|
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
|
|
1568
|
+
return f.buildByTypedRows(
|
|
1165
1569
|
e.rows ?? [],
|
|
1166
1570
|
e.columnDefs,
|
|
1167
|
-
e.tableOptions ?? new
|
|
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
|
|
1576
|
+
static buildByTypedRows(e, r, a = new z(), t = 0, n = 0) {
|
|
1173
1577
|
const m = a.defaultRowHeights, d = r[0].property === "CheckboxColumn";
|
|
1174
|
-
if (e != null && e.length &&
|
|
1175
|
-
const i = e,
|
|
1578
|
+
if (e != null && e.length && X(e[0])) {
|
|
1579
|
+
const i = e, u = new de(
|
|
1176
1580
|
"body",
|
|
1177
1581
|
i,
|
|
1178
1582
|
m.body,
|
|
1179
1583
|
r
|
|
1180
1584
|
);
|
|
1181
|
-
return (d || a.showCheckboxWihoutExtraColumn) && (
|
|
1182
|
-
headerAreaModel: new
|
|
1183
|
-
bodyAreaModel:
|
|
1184
|
-
footerAreaModel: new
|
|
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
|
|
1599
|
+
return f.createByObjectArrayParam({
|
|
1196
1600
|
rows: e,
|
|
1197
1601
|
columnDefs: r,
|
|
1198
1602
|
fixedLeftColumnCount: t,
|
|
@@ -1202,20 +1606,20 @@ class N {
|
|
|
1202
1606
|
}
|
|
1203
1607
|
static createByObjectArrayParam(e) {
|
|
1204
1608
|
const r = e.rowCheckboxVisible !== void 0 ? e.rowCheckboxVisible : !1;
|
|
1205
|
-
return
|
|
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
|
|
1616
|
+
e.defaultRowHeights ?? new R(),
|
|
1213
1617
|
e.columnDefs ?? [],
|
|
1214
1618
|
e.columnSizes ?? []
|
|
1215
1619
|
);
|
|
1216
1620
|
}
|
|
1217
|
-
static createByAreaModels(e = new
|
|
1218
|
-
return new
|
|
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,
|
|
@@ -1224,16 +1628,16 @@ class N {
|
|
|
1224
1628
|
m,
|
|
1225
1629
|
d,
|
|
1226
1630
|
i,
|
|
1227
|
-
|
|
1631
|
+
u,
|
|
1228
1632
|
l,
|
|
1229
1633
|
c
|
|
1230
1634
|
);
|
|
1231
1635
|
}
|
|
1232
1636
|
static createByAreaModelsParam(e) {
|
|
1233
|
-
return
|
|
1234
|
-
e.headerAreaModel ?? new
|
|
1637
|
+
return f.createByAreaModels(
|
|
1638
|
+
e.headerAreaModel ?? new Z(),
|
|
1235
1639
|
e.bodyAreaModel,
|
|
1236
|
-
e.footerAreaModel ?? new
|
|
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, d = new
|
|
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
|
|
1250
|
-
const c = a ? new
|
|
1251
|
-
return new
|
|
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
|
-
|
|
1657
|
+
N,
|
|
1254
1658
|
c,
|
|
1255
1659
|
t,
|
|
1256
1660
|
n,
|
|
1257
1661
|
m,
|
|
1258
1662
|
d,
|
|
1259
1663
|
i,
|
|
1260
|
-
|
|
1664
|
+
u
|
|
1261
1665
|
);
|
|
1262
1666
|
}
|
|
1263
1667
|
}
|
|
1264
|
-
class
|
|
1668
|
+
class V {
|
|
1265
1669
|
constructor(e, r) {
|
|
1266
1670
|
this.tableModel = e, this.tableOptions = r;
|
|
1267
1671
|
}
|
|
1268
1672
|
}
|
|
1269
|
-
class
|
|
1673
|
+
class Y {
|
|
1270
1674
|
constructor(e, r) {
|
|
1271
1675
|
this.value = e, this.label = r;
|
|
1272
1676
|
}
|
|
1273
1677
|
}
|
|
1274
|
-
class
|
|
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
|
|
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
|
|
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, " ")
|
|
1390
|
-
|
|
1391
|
-
|
|
1793
|
+
pc:${m}`.replace(/[ \n]+/g, " ");
|
|
1794
|
+
if (this.children)
|
|
1795
|
+
for (const i of this.children)
|
|
1796
|
+
i.log(e);
|
|
1797
|
+
return d;
|
|
1392
1798
|
}
|
|
1393
1799
|
}
|
|
1394
1800
|
class h {
|
|
@@ -1424,7 +1830,7 @@ 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 d = e[m], i = new
|
|
1833
|
+
const d = e[m], i = new We(d, a, m, t);
|
|
1428
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;
|
|
@@ -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
|
|
1875
|
+
class te {
|
|
1470
1876
|
constructor() {
|
|
1471
1877
|
this.areaIdent = "body", this.rowSelectionModel = void 0;
|
|
1472
1878
|
}
|
|
@@ -1508,6 +1914,9 @@ class pe {
|
|
|
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 pe {
|
|
|
1533
1942
|
return !1;
|
|
1534
1943
|
}
|
|
1535
1944
|
}
|
|
1536
|
-
class
|
|
1945
|
+
const E = class E {
|
|
1946
|
+
constructor(e = new ee()) {
|
|
1947
|
+
this.headerGroupOptions = e;
|
|
1948
|
+
}
|
|
1537
1949
|
render(e, r, a, t, n, m, d) {
|
|
1538
1950
|
const i = m != null && m.data ? m.data : "";
|
|
1539
|
-
|
|
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, "");
|
|
1540
1956
|
}
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
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 Me {
|
|
|
1555
2001
|
return e != null && e.length ? 1 + Math.max(...e.map((r) => r.getParentCount(r))) : 0;
|
|
1556
2002
|
}
|
|
1557
2003
|
buildArray() {
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
const
|
|
1561
|
-
console.
|
|
1562
|
-
const t = [];
|
|
1563
|
-
h.iterateThrowColumns(t, this.groupExts), console.info(t);
|
|
1564
|
-
const n = Array.from(Array(a).keys()).map((d) => []);
|
|
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 Me {
|
|
|
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,13 +2078,17 @@ class Me {
|
|
|
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
|
|
2086
|
+
class Ke {
|
|
1641
2087
|
static bodyRenderer(e) {
|
|
1642
|
-
return new
|
|
2088
|
+
return new C(void 0, e, void 0);
|
|
1643
2089
|
}
|
|
1644
2090
|
}
|
|
1645
|
-
class
|
|
2091
|
+
class Le {
|
|
1646
2092
|
constructor(e, r = !0, a = !1) {
|
|
1647
2093
|
this.property = e, this.skipCheckableCheck = r, this.readonly = a;
|
|
1648
2094
|
}
|
|
@@ -1661,13 +2107,13 @@ class _e {
|
|
|
1661
2107
|
${l}
|
|
1662
2108
|
${c}
|
|
1663
2109
|
class="ge-input-checkbox">`, !this.readonly) {
|
|
1664
|
-
const
|
|
1665
|
-
|
|
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
|
|
2116
|
+
class O {
|
|
1671
2117
|
constructor() {
|
|
1672
2118
|
this.formatter = new Intl.DateTimeFormat("de-DE", {
|
|
1673
2119
|
year: "numeric",
|
|
@@ -1690,22 +2136,52 @@ class K {
|
|
|
1690
2136
|
}
|
|
1691
2137
|
}
|
|
1692
2138
|
}
|
|
1693
|
-
class
|
|
2139
|
+
class Pe {
|
|
1694
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
|
|
2144
|
+
class je {
|
|
2145
|
+
constructor(e = 100, r = !1) {
|
|
2146
|
+
this.maxValue = e, this.labelVisible = r;
|
|
2147
|
+
}
|
|
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) + "%" : "";
|
|
2151
|
+
e.innerHTML = `
|
|
2152
|
+
<div class="ge-table-label-div"
|
|
2153
|
+
data-row-index="${r}"
|
|
2154
|
+
data-col-index="${a}"
|
|
2155
|
+
data-area="${t}"
|
|
2156
|
+
title="${l}"
|
|
2157
|
+
style="position: relative; background: transparent; width: 100%; height: 100%;">
|
|
2158
|
+
<div class="ge-table-progress-container"
|
|
2159
|
+
style="width:100%;height:50%;padding:0;margin-top:6px;"
|
|
2160
|
+
data-row-index="${r}"
|
|
2161
|
+
data-col-index="${a}"
|
|
2162
|
+
data-area="${t}">
|
|
2163
|
+
<div class="ge-table-progress-bar"
|
|
2164
|
+
style="width:${u}%;height:100%;padding:0;margin:0;"
|
|
2165
|
+
data-row-index="${r}"
|
|
2166
|
+
data-col-index="${a}"
|
|
2167
|
+
data-area="${t}">
|
|
2168
|
+
</div>
|
|
2169
|
+
</div>
|
|
2170
|
+
</div>`;
|
|
2171
|
+
}
|
|
2172
|
+
}
|
|
2173
|
+
}
|
|
2174
|
+
class ze {
|
|
1699
2175
|
render(e, r, a, t, n, m, d) {
|
|
1700
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 = "";
|
|
1701
2177
|
}
|
|
1702
2178
|
}
|
|
1703
|
-
class
|
|
2179
|
+
class Xe {
|
|
1704
2180
|
render(e, r, a, t, n, m, d) {
|
|
1705
2181
|
m && (e.innerText = new Date(m).toISOString().replace(/T/g, " ").replace(/\..*/g, ""));
|
|
1706
2182
|
}
|
|
1707
2183
|
}
|
|
1708
|
-
class
|
|
2184
|
+
class Ye {
|
|
1709
2185
|
constructor(e = Number.MIN_SAFE_INTEGER, r = Number.MAX_SAFE_INTEGER) {
|
|
1710
2186
|
this.min = e, this.max = r;
|
|
1711
2187
|
}
|
|
@@ -1713,16 +2189,16 @@ class Oe {
|
|
|
1713
2189
|
m && (e.innerText = m, (typeof m == "string" || isNaN(m) || m < this.min || m > this.max) && d.addClass(e, "ge-cell-error"));
|
|
1714
2190
|
}
|
|
1715
2191
|
}
|
|
1716
|
-
class
|
|
2192
|
+
class Ge {
|
|
1717
2193
|
constructor(e) {
|
|
1718
2194
|
this.property = e;
|
|
1719
2195
|
}
|
|
1720
2196
|
render(e, r, a, t, n, m, d) {
|
|
1721
2197
|
d.addClass(e, "ge-star-rating-div");
|
|
1722
|
-
const i = n.getRowByIndex(r),
|
|
1723
|
-
if (!isNaN(
|
|
2198
|
+
const i = n.getRowByIndex(r), u = +("" + n.getValueByT(i, this.property));
|
|
2199
|
+
if (!isNaN(u)) {
|
|
1724
2200
|
const l = [];
|
|
1725
|
-
for (let
|
|
2201
|
+
for (let N = 0; N < u; N++)
|
|
1726
2202
|
l.push("★");
|
|
1727
2203
|
const c = l.join(" ");
|
|
1728
2204
|
e.innerHTML = `
|
|
@@ -1732,15 +2208,15 @@ class Ee {
|
|
|
1732
2208
|
}
|
|
1733
2209
|
}
|
|
1734
2210
|
}
|
|
1735
|
-
class
|
|
2211
|
+
class Ze {
|
|
1736
2212
|
constructor(e, r = 100, a = !1) {
|
|
1737
2213
|
this.property = e, this.maxValue = r, this.labelVisible = a;
|
|
1738
2214
|
}
|
|
1739
2215
|
render(e, r, a, t, n, m, d) {
|
|
1740
2216
|
d.addClass(e, "ge-star-rating-div");
|
|
1741
|
-
const i = n.getRowByIndex(r),
|
|
1742
|
-
if (!isNaN(
|
|
1743
|
-
const l =
|
|
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) + "%" : "";
|
|
1744
2220
|
e.innerHTML = `
|
|
1745
2221
|
<div class="ge-table-label-div"
|
|
1746
2222
|
data-row-index="${r}"
|
|
@@ -1764,28 +2240,48 @@ class Ve {
|
|
|
1764
2240
|
}
|
|
1765
2241
|
}
|
|
1766
2242
|
}
|
|
1767
|
-
|
|
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) {
|
|
1768
2264
|
return s ? Number(s) : "";
|
|
1769
2265
|
};
|
|
1770
|
-
class
|
|
2266
|
+
class ne {
|
|
1771
2267
|
constructor(e) {
|
|
1772
2268
|
this.options = e;
|
|
1773
2269
|
}
|
|
1774
2270
|
static create(e) {
|
|
1775
|
-
return new
|
|
1776
|
-
e.map((r) => new
|
|
2271
|
+
return new ne(
|
|
2272
|
+
e.map((r) => new Y(r, r))
|
|
1777
2273
|
);
|
|
1778
2274
|
}
|
|
1779
2275
|
render(e, r, a, t, n, m, d) {
|
|
1780
2276
|
if (n.isEditable(r, a)) {
|
|
1781
2277
|
d.addClass(e, "ge-table-row-select-div");
|
|
1782
2278
|
const i = n.getValueAt(r, a);
|
|
1783
|
-
let
|
|
2279
|
+
let u = [];
|
|
1784
2280
|
for (let c of this.options) {
|
|
1785
|
-
const
|
|
1786
|
-
|
|
2281
|
+
const N = c.value === i ? " selected " : "";
|
|
2282
|
+
u.push(`<option value="${c.value}" ${N}>${c.label}</option>`);
|
|
1787
2283
|
}
|
|
1788
|
-
const l =
|
|
2284
|
+
const l = u.join("");
|
|
1789
2285
|
e.innerHTML = `
|
|
1790
2286
|
<select
|
|
1791
2287
|
type="text"
|
|
@@ -1801,34 +2297,34 @@ class Y {
|
|
|
1801
2297
|
}
|
|
1802
2298
|
}
|
|
1803
2299
|
}
|
|
1804
|
-
class
|
|
2300
|
+
class K {
|
|
1805
2301
|
constructor(e, r, a) {
|
|
1806
2302
|
this.r = e, this.g = r, this.b = a;
|
|
1807
2303
|
}
|
|
1808
2304
|
}
|
|
1809
|
-
class
|
|
2305
|
+
class pe {
|
|
1810
2306
|
constructor(e, r, a, t) {
|
|
1811
2307
|
this.minValue = e, this.minColor = r, this.maxValue = a, this.maxColor = t;
|
|
1812
2308
|
}
|
|
1813
2309
|
}
|
|
1814
|
-
class
|
|
2310
|
+
class U {
|
|
1815
2311
|
static normalize(e, r, a, t = 0, n = 1) {
|
|
1816
2312
|
return (e - r) / (a - r) * (n - t) + t;
|
|
1817
2313
|
}
|
|
1818
2314
|
static getTwoColorGradientRGB(e, r) {
|
|
1819
|
-
const a =
|
|
1820
|
-
return `rgb(${Math.round(d)}, ${Math.round(i)}, ${Math.round(
|
|
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)})`;
|
|
1821
2317
|
}
|
|
1822
2318
|
static getThreeColorGradientRGB(e, r) {
|
|
1823
|
-
return e < r.middleValue ?
|
|
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})`;
|
|
1824
2320
|
}
|
|
1825
2321
|
}
|
|
1826
|
-
class
|
|
2322
|
+
class er {
|
|
1827
2323
|
constructor(e, r, a, t, n, m) {
|
|
1828
2324
|
this.minValue = e, this.minColor = r, this.middleValue = a, this.middleColor = t, this.maxValue = n, this.maxColor = m;
|
|
1829
2325
|
}
|
|
1830
2326
|
}
|
|
1831
|
-
class
|
|
2327
|
+
class rr {
|
|
1832
2328
|
render(e, r, a, t, n, m, d) {
|
|
1833
2329
|
if (m) {
|
|
1834
2330
|
const i = Number(m);
|
|
@@ -1836,7 +2332,7 @@ class We {
|
|
|
1836
2332
|
}
|
|
1837
2333
|
}
|
|
1838
2334
|
}
|
|
1839
|
-
class
|
|
2335
|
+
class ar {
|
|
1840
2336
|
constructor() {
|
|
1841
2337
|
this.formatter = new Intl.NumberFormat("en-US", { style: "currency", currency: "USD" });
|
|
1842
2338
|
}
|
|
@@ -1847,50 +2343,50 @@ class je {
|
|
|
1847
2343
|
}
|
|
1848
2344
|
}
|
|
1849
2345
|
}
|
|
1850
|
-
class
|
|
2346
|
+
class tr {
|
|
1851
2347
|
render(e, r, a, t, n, m, d) {
|
|
1852
2348
|
const i = n.getRowByIndex(r);
|
|
1853
2349
|
if (i) {
|
|
1854
|
-
const
|
|
2350
|
+
const u = i.name ?? i.symbol;
|
|
1855
2351
|
e.innerHTML = `
|
|
1856
2352
|
<div style="line-height: 1.2;padding: 10px 0 0 10px;">
|
|
1857
|
-
${
|
|
2353
|
+
${u}<br>
|
|
1858
2354
|
${i.symbol}
|
|
1859
2355
|
</div>
|
|
1860
2356
|
`;
|
|
1861
2357
|
}
|
|
1862
2358
|
}
|
|
1863
2359
|
}
|
|
1864
|
-
class
|
|
2360
|
+
class nr {
|
|
1865
2361
|
constructor() {
|
|
1866
2362
|
this.formatterUsd = new Intl.NumberFormat("en-US", { style: "currency", currency: "USD" }), this.formatter = new Intl.NumberFormat("en-US");
|
|
1867
2363
|
}
|
|
1868
2364
|
render(e, r, a, t, n, m, d) {
|
|
1869
2365
|
const i = n.getRowByIndex(r);
|
|
1870
2366
|
if (i) {
|
|
1871
|
-
const
|
|
2367
|
+
const u = this.formatterUsd.format(i.volUsd), l = this.formatter.format(i.volBtc);
|
|
1872
2368
|
e.innerHTML = `
|
|
1873
2369
|
<div style="line-height: 1.2;padding: 10px 0 0 10px;">
|
|
1874
|
-
${
|
|
2370
|
+
${u}<br>
|
|
1875
2371
|
${l} BTC
|
|
1876
2372
|
</div>
|
|
1877
2373
|
`;
|
|
1878
2374
|
}
|
|
1879
2375
|
}
|
|
1880
2376
|
}
|
|
1881
|
-
class
|
|
2377
|
+
class mr {
|
|
1882
2378
|
constructor(e = 120) {
|
|
1883
2379
|
this.maxWidth = e, this.formatter = new Intl.NumberFormat("en-US");
|
|
1884
2380
|
}
|
|
1885
2381
|
render(e, r, a, t, n, m, d) {
|
|
1886
2382
|
const i = n.getRowByIndex(r);
|
|
1887
2383
|
if (i) {
|
|
1888
|
-
const
|
|
1889
|
-
if (c.push('<div style="line-height: 1.2;padding: 10px 0 0 10px;">'), c.push(
|
|
1890
|
-
const
|
|
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;
|
|
1891
2387
|
c.push(`
|
|
1892
2388
|
<div style="width: ${this.maxWidth}px;height: 5px;background-color: #eee;margin:10px 0 0 10px">
|
|
1893
|
-
<div style="width: ${
|
|
2389
|
+
<div style="width: ${N}px;height: 5px;background-color: #ccc;"></div>
|
|
1894
2390
|
</div>
|
|
1895
2391
|
`);
|
|
1896
2392
|
}
|
|
@@ -1898,13 +2394,13 @@ class Ye {
|
|
|
1898
2394
|
}
|
|
1899
2395
|
}
|
|
1900
2396
|
}
|
|
1901
|
-
class
|
|
2397
|
+
class sr {
|
|
1902
2398
|
render(e, r, a, t, n, m, d) {
|
|
1903
2399
|
const i = n.getRowByIndex(r);
|
|
1904
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;">`);
|
|
1905
2401
|
}
|
|
1906
2402
|
}
|
|
1907
|
-
const
|
|
2403
|
+
const ir = [
|
|
1908
2404
|
{
|
|
1909
2405
|
id: 1,
|
|
1910
2406
|
name: "Bitcoin",
|
|
@@ -4639,19 +5135,19 @@ const Qe = [
|
|
|
4639
5135
|
change90d: 12.43943602
|
|
4640
5136
|
}
|
|
4641
5137
|
];
|
|
4642
|
-
function
|
|
4643
|
-
const s =
|
|
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 = [
|
|
4644
5140
|
y.create({
|
|
4645
5141
|
property: "symbol",
|
|
4646
5142
|
headerLabel: "",
|
|
4647
|
-
width:
|
|
5143
|
+
width: x,
|
|
4648
5144
|
bodyClasses: ["ge-table-text-align-left"],
|
|
4649
5145
|
bodyRenderer: m
|
|
4650
5146
|
}),
|
|
4651
5147
|
y.create({
|
|
4652
5148
|
property: "symbol",
|
|
4653
5149
|
headerLabel: "Name",
|
|
4654
|
-
width:
|
|
5150
|
+
width: L,
|
|
4655
5151
|
bodyClasses: ["ge-table-text-align-left"],
|
|
4656
5152
|
headerClasses: ["ge-table-text-align-left"],
|
|
4657
5153
|
bodyRenderer: a
|
|
@@ -4659,24 +5155,24 @@ function zr() {
|
|
|
4659
5155
|
y.create({
|
|
4660
5156
|
property: "priceInUsd",
|
|
4661
5157
|
headerLabel: "Price $",
|
|
4662
|
-
width:
|
|
5158
|
+
width: T,
|
|
4663
5159
|
bodyClasses: ["ge-table-text-align-right"],
|
|
4664
5160
|
headerClasses: ["ge-table-text-align-right"]
|
|
4665
5161
|
}),
|
|
4666
|
-
new y("change1h", "1h %",
|
|
4667
|
-
new y("change24h", "24h %",
|
|
4668
|
-
new y("change7d", "7d %",
|
|
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)),
|
|
4669
5165
|
y.create({
|
|
4670
5166
|
property: "marketCapUsd",
|
|
4671
5167
|
headerLabel: "Market Cap",
|
|
4672
|
-
width:
|
|
5168
|
+
width: qe,
|
|
4673
5169
|
bodyClasses: ["ge-table-text-align-right"],
|
|
4674
5170
|
headerClasses: ["ge-table-text-align-right"],
|
|
4675
5171
|
bodyRenderer: r
|
|
4676
5172
|
}),
|
|
4677
5173
|
y.create({
|
|
4678
5174
|
headerLabel: "Volumne (24h)",
|
|
4679
|
-
width:
|
|
5175
|
+
width: A,
|
|
4680
5176
|
bodyClasses: ["ge-table-text-align-right"],
|
|
4681
5177
|
headerClasses: ["ge-table-text-align-right"],
|
|
4682
5178
|
bodyRenderer: t
|
|
@@ -4684,15 +5180,15 @@ function zr() {
|
|
|
4684
5180
|
y.create({
|
|
4685
5181
|
property: "circulatingSupply",
|
|
4686
5182
|
headerLabel: "Circulating Supply",
|
|
4687
|
-
width:
|
|
5183
|
+
width: re,
|
|
4688
5184
|
bodyRenderer: n,
|
|
4689
5185
|
bodyClasses: ["ge-table-text-align-right"],
|
|
4690
5186
|
headerClasses: ["ge-table-text-align-right"]
|
|
4691
5187
|
})
|
|
4692
5188
|
];
|
|
4693
|
-
d.forEach((
|
|
5189
|
+
d.forEach((u) => u.sortable = () => !0);
|
|
4694
5190
|
const i = {
|
|
4695
|
-
...new
|
|
5191
|
+
...new z(),
|
|
4696
5192
|
hoverColumnVisible: !1,
|
|
4697
5193
|
verticalBorderVisible: !1,
|
|
4698
5194
|
defaultRowHeights: {
|
|
@@ -4701,8 +5197,8 @@ function zr() {
|
|
|
4701
5197
|
footer: 0
|
|
4702
5198
|
}
|
|
4703
5199
|
};
|
|
4704
|
-
return new
|
|
4705
|
-
|
|
5200
|
+
return new V(
|
|
5201
|
+
f.createTableModel({
|
|
4706
5202
|
rows: s,
|
|
4707
5203
|
columnDefs: d,
|
|
4708
5204
|
tableOptions: i
|
|
@@ -4710,7 +5206,7 @@ function zr() {
|
|
|
4710
5206
|
i
|
|
4711
5207
|
);
|
|
4712
5208
|
}
|
|
4713
|
-
function
|
|
5209
|
+
function $r(s = 1e3, e = 1e3) {
|
|
4714
5210
|
const r = Array.from(Array(s).keys()).map(
|
|
4715
5211
|
(n) => Array.from(Array(e).keys()).map((m) => `${n}/${m}`)
|
|
4716
5212
|
), a = Array.from(Array(2).keys()).map(
|
|
@@ -4718,7 +5214,7 @@ function Zr(s = 1e3, e = 1e3) {
|
|
|
4718
5214
|
), t = Array.from(Array(2).keys()).map(
|
|
4719
5215
|
(n) => Array.from(Array(e).keys()).map((m) => `F${n}/${m}`)
|
|
4720
5216
|
);
|
|
4721
|
-
return
|
|
5217
|
+
return f.createTableModel({
|
|
4722
5218
|
headerData: a,
|
|
4723
5219
|
bodyData: r,
|
|
4724
5220
|
footerData: t,
|
|
@@ -4727,7 +5223,7 @@ function Zr(s = 1e3, e = 1e3) {
|
|
|
4727
5223
|
fixedRightColumnCount: 2
|
|
4728
5224
|
});
|
|
4729
5225
|
}
|
|
4730
|
-
const
|
|
5226
|
+
const dr = [
|
|
4731
5227
|
{
|
|
4732
5228
|
id: 0,
|
|
4733
5229
|
preName: "Prename0",
|
|
@@ -166601,9 +167097,9 @@ const er = [
|
|
|
166601
167097
|
friends: []
|
|
166602
167098
|
}
|
|
166603
167099
|
];
|
|
166604
|
-
function
|
|
167100
|
+
function Er() {
|
|
166605
167101
|
const s = {
|
|
166606
|
-
...new
|
|
167102
|
+
...new z(),
|
|
166607
167103
|
hoverColumnVisible: !1,
|
|
166608
167104
|
defaultRowHeights: {
|
|
166609
167105
|
header: 50,
|
|
@@ -166614,17 +167110,17 @@ function wr() {
|
|
|
166614
167110
|
// <-- true: we will see the checkbox IN the first column after the arrow
|
|
166615
167111
|
}, e = [
|
|
166616
167112
|
// new CheckboxColumn(), // <--- not needed, because we have 'showCheckboxWihoutExtraColumn:true'
|
|
166617
|
-
new y("lastName", "Last Name", new
|
|
166618
|
-
new y("preName", "Pre Name", new
|
|
166619
|
-
new y("birth", "Birthday", new
|
|
166620
|
-
new y("gender", " ", new
|
|
166621
|
-
new y("address.street", "Strasse", new
|
|
166622
|
-
new y("address.number", "Nr", new
|
|
166623
|
-
new y("address.zip", "Zip", new
|
|
166624
|
-
new y("address.city", "City", new
|
|
166625
|
-
new y("id", "ID", new
|
|
166626
|
-
], r =
|
|
166627
|
-
return
|
|
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({
|
|
166628
167124
|
rows: r,
|
|
166629
167125
|
columnDefs: e,
|
|
166630
167126
|
tableOptions: s,
|
|
@@ -166632,7 +167128,7 @@ function wr() {
|
|
|
166632
167128
|
fixedRightColumnCount: 0
|
|
166633
167129
|
});
|
|
166634
167130
|
}
|
|
166635
|
-
const
|
|
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
|
|
166636
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
|
|
166637
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
|
|
166638
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
|
|
@@ -166643,38 +167139,38 @@ const te = new v(34, 50, 0), ne = "_ Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov
|
|
|
166643
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(`
|
|
166644
167140
|
`).map(
|
|
166645
167141
|
(s) => s.split(" ").map((e) => Number(e))
|
|
166646
|
-
),
|
|
166647
|
-
class
|
|
167142
|
+
), ur = 27.9, pr = 77.4;
|
|
167143
|
+
class ge {
|
|
166648
167144
|
constructor(e, r, a) {
|
|
166649
167145
|
this.r = e, this.g = r, this.b = a;
|
|
166650
167146
|
}
|
|
166651
167147
|
}
|
|
166652
|
-
function
|
|
167148
|
+
function lr(s, e, r, a, t) {
|
|
166653
167149
|
return (s - e) / (r - e) * (t - a) + a;
|
|
166654
167150
|
}
|
|
166655
|
-
function
|
|
166656
|
-
var a = new
|
|
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;
|
|
166657
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)})`;
|
|
166658
167154
|
}
|
|
166659
|
-
function
|
|
166660
|
-
const s = new
|
|
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);
|
|
166661
167157
|
return s.getCustomStyleAt = (a, t) => {
|
|
166662
167158
|
let n = {};
|
|
166663
167159
|
if (t > 0) {
|
|
166664
167160
|
const m = s.getValueAt(a, t);
|
|
166665
167161
|
n = {
|
|
166666
|
-
background:
|
|
167162
|
+
background: cr(ur, pr, m),
|
|
166667
167163
|
color: "#fff"
|
|
166668
167164
|
};
|
|
166669
167165
|
}
|
|
166670
167166
|
return n.paddingTop = "10px", n;
|
|
166671
|
-
},
|
|
167167
|
+
}, f.createTableModel({
|
|
166672
167168
|
headerAreaModel: r,
|
|
166673
167169
|
bodyAreaModel: s,
|
|
166674
167170
|
columnSizes: e
|
|
166675
167171
|
});
|
|
166676
167172
|
}
|
|
166677
|
-
function
|
|
167173
|
+
function gr() {
|
|
166678
167174
|
return [
|
|
166679
167175
|
{
|
|
166680
167176
|
date: "2010-01-01T01:00:00",
|
|
@@ -219232,12 +219728,12 @@ function sr() {
|
|
|
219232
219728
|
}
|
|
219233
219729
|
];
|
|
219234
219730
|
}
|
|
219235
|
-
const
|
|
219236
|
-
|
|
219731
|
+
const we = 30, br = 3, ve = gr(), P = {};
|
|
219732
|
+
ve.forEach((s) => {
|
|
219237
219733
|
const [e, r] = s.date.split("T");
|
|
219238
|
-
|
|
219734
|
+
P[e] || (P[e] = {}), P[e][r.substring(0, 5)] = s;
|
|
219239
219735
|
});
|
|
219240
|
-
const
|
|
219736
|
+
const Q = Object.keys(P), H = [
|
|
219241
219737
|
"06:00",
|
|
219242
219738
|
"07:00",
|
|
219243
219739
|
"08:00",
|
|
@@ -219263,60 +219759,60 @@ const $ = Object.keys(C), U = [
|
|
|
219263
219759
|
"04:00",
|
|
219264
219760
|
"05:00"
|
|
219265
219761
|
];
|
|
219266
|
-
function
|
|
219762
|
+
function Nr() {
|
|
219267
219763
|
let s = 10, e = 0;
|
|
219268
|
-
return
|
|
219764
|
+
return ve.forEach((r) => {
|
|
219269
219765
|
s = Math.min(s, r.temperature), e = Math.max(e, r.temperature);
|
|
219270
219766
|
}), [s, e];
|
|
219271
219767
|
}
|
|
219272
|
-
const [
|
|
219273
|
-
function
|
|
219274
|
-
const s = new
|
|
219275
|
-
return
|
|
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({
|
|
219276
219772
|
bodyAreaModel: s,
|
|
219277
219773
|
footerAreaModel: e,
|
|
219278
219774
|
columnSizes: r,
|
|
219279
219775
|
fixedLeftColumnCount: 1
|
|
219280
219776
|
});
|
|
219281
219777
|
}
|
|
219282
|
-
class
|
|
219778
|
+
class fr extends te {
|
|
219283
219779
|
getRowCount() {
|
|
219284
|
-
return
|
|
219780
|
+
return H.length;
|
|
219285
219781
|
}
|
|
219286
219782
|
getRowHeight(e) {
|
|
219287
|
-
return
|
|
219783
|
+
return we;
|
|
219288
219784
|
}
|
|
219289
219785
|
getValueAt(e, r) {
|
|
219290
|
-
return r === 0 ?
|
|
219786
|
+
return r === 0 ? H[e] : "";
|
|
219291
219787
|
}
|
|
219292
219788
|
getTooltipAt(e, r) {
|
|
219293
219789
|
if (r === 0)
|
|
219294
219790
|
return "";
|
|
219295
219791
|
r--;
|
|
219296
|
-
const a =
|
|
219297
|
-
return
|
|
219792
|
+
const a = Q[r], t = H[e];
|
|
219793
|
+
return P[a] && P[a][t] ? `${a} ${t} → ${P[a][t].temperature}` : "";
|
|
219298
219794
|
}
|
|
219299
219795
|
getCustomStyleAt(e, r) {
|
|
219300
219796
|
if (r === 0)
|
|
219301
219797
|
return;
|
|
219302
219798
|
r--;
|
|
219303
|
-
const a =
|
|
219304
|
-
if (!
|
|
219799
|
+
const a = Q[r], t = H[e];
|
|
219800
|
+
if (!P[a] || !P[a][t])
|
|
219305
219801
|
return;
|
|
219306
|
-
const n =
|
|
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);
|
|
219307
219803
|
return {
|
|
219308
|
-
background:
|
|
219804
|
+
background: U.getThreeColorGradientRGB(n, l),
|
|
219309
219805
|
color: "transparent"
|
|
219310
219806
|
// we only want to show the bg color
|
|
219311
219807
|
};
|
|
219312
219808
|
}
|
|
219313
219809
|
}
|
|
219314
|
-
class
|
|
219810
|
+
class Tr extends te {
|
|
219315
219811
|
getRowCount() {
|
|
219316
219812
|
return 1;
|
|
219317
219813
|
}
|
|
219318
219814
|
getRowHeight(e) {
|
|
219319
|
-
return
|
|
219815
|
+
return we;
|
|
219320
219816
|
}
|
|
219321
219817
|
getValueAt(e, r) {
|
|
219322
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" : "";
|
|
@@ -219333,7 +219829,7 @@ class ur extends pe {
|
|
|
219333
219829
|
};
|
|
219334
219830
|
}
|
|
219335
219831
|
}
|
|
219336
|
-
const
|
|
219832
|
+
const j = [
|
|
219337
219833
|
{
|
|
219338
219834
|
data: "Gold",
|
|
219339
219835
|
toggle: !0,
|
|
@@ -219352,7 +219848,7 @@ const H = [
|
|
|
219352
219848
|
{
|
|
219353
219849
|
data: "Gold B",
|
|
219354
219850
|
property: "GOLD_B",
|
|
219355
|
-
visibility: "
|
|
219851
|
+
visibility: "normal"
|
|
219356
219852
|
}
|
|
219357
219853
|
]
|
|
219358
219854
|
},
|
|
@@ -219420,9 +219916,9 @@ const H = [
|
|
|
219420
219916
|
]
|
|
219421
219917
|
}
|
|
219422
219918
|
];
|
|
219423
|
-
function
|
|
219424
|
-
const e = h.buildGroupExts(
|
|
219425
|
-
console.info("headerGroups",
|
|
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));
|
|
219426
219922
|
const t = [
|
|
219427
219923
|
{
|
|
219428
219924
|
GOLD: 146,
|
|
@@ -219441,13 +219937,51 @@ function vr() {
|
|
|
219441
219937
|
HOH_D: 54
|
|
219442
219938
|
}
|
|
219443
219939
|
], n = new I("body", t, r, 34);
|
|
219444
|
-
return
|
|
219940
|
+
return f.createTableModel({
|
|
219445
219941
|
headerAreaModel: a,
|
|
219446
219942
|
bodyAreaModel: n,
|
|
219447
219943
|
columnDefs: r
|
|
219448
219944
|
});
|
|
219449
219945
|
}
|
|
219450
|
-
|
|
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() {
|
|
219451
219985
|
return [
|
|
219452
219986
|
{
|
|
219453
219987
|
id: 1,
|
|
@@ -219627,35 +220161,35 @@ function pr() {
|
|
|
219627
220161
|
}
|
|
219628
220162
|
];
|
|
219629
220163
|
}
|
|
219630
|
-
function
|
|
220164
|
+
function Sr() {
|
|
219631
220165
|
return [
|
|
219632
|
-
new y("firstName", "First Name",
|
|
220166
|
+
new y("firstName", "First Name", L),
|
|
219633
220167
|
new y("lastName", "Last Name"),
|
|
219634
220168
|
y.create({
|
|
219635
220169
|
property: "gender",
|
|
219636
220170
|
headerLabel: "Gender",
|
|
219637
|
-
width:
|
|
220171
|
+
width: T,
|
|
219638
220172
|
bodyClasses: ["ge-table-text-align-left"]
|
|
219639
220173
|
}),
|
|
219640
220174
|
y.create({
|
|
219641
220175
|
property: "email",
|
|
219642
220176
|
headerLabel: "Email",
|
|
219643
|
-
width:
|
|
220177
|
+
width: Be,
|
|
219644
220178
|
bodyClasses: ["ge-table-text-align-left"]
|
|
219645
220179
|
}),
|
|
219646
|
-
new y("ipAddress", "IP",
|
|
220180
|
+
new y("ipAddress", "IP", Te),
|
|
219647
220181
|
y.create({
|
|
219648
220182
|
property: "id",
|
|
219649
220183
|
headerLabel: "ID",
|
|
219650
|
-
width:
|
|
220184
|
+
width: Ie,
|
|
219651
220185
|
// bodyRenderer: actionRenderer,
|
|
219652
220186
|
bodyClasses: ["ge-table-text-align-left"]
|
|
219653
220187
|
})
|
|
219654
220188
|
];
|
|
219655
220189
|
}
|
|
219656
|
-
function
|
|
220190
|
+
function Cr() {
|
|
219657
220191
|
return {
|
|
219658
|
-
...new
|
|
220192
|
+
...new z(),
|
|
219659
220193
|
hoverColumnVisible: !1,
|
|
219660
220194
|
defaultRowHeights: {
|
|
219661
220195
|
header: 40,
|
|
@@ -219664,19 +220198,19 @@ function cr() {
|
|
|
219664
220198
|
}
|
|
219665
220199
|
};
|
|
219666
220200
|
}
|
|
219667
|
-
function
|
|
219668
|
-
const s =
|
|
219669
|
-
return
|
|
220201
|
+
function jr() {
|
|
220202
|
+
const s = Cr(), e = hr(), r = Sr();
|
|
220203
|
+
return f.createTableModel({
|
|
219670
220204
|
rows: e,
|
|
219671
220205
|
columnDefs: r,
|
|
219672
220206
|
tableOptions: s,
|
|
219673
220207
|
fixedLeftColumnCount: 0
|
|
219674
220208
|
});
|
|
219675
220209
|
}
|
|
219676
|
-
function
|
|
219677
|
-
s.rendererMap = new
|
|
220210
|
+
function Xr(s, e) {
|
|
220211
|
+
s.rendererMap = new C(void 0, e, void 0);
|
|
219678
220212
|
}
|
|
219679
|
-
const
|
|
220213
|
+
const Lr = [
|
|
219680
220214
|
{
|
|
219681
220215
|
id: 1,
|
|
219682
220216
|
city: "London",
|
|
@@ -219824,36 +220358,36 @@ const gr = [
|
|
|
219824
220358
|
team: { name: "Team TCC", active: !0 },
|
|
219825
220359
|
data: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
|
|
219826
220360
|
}
|
|
219827
|
-
].map((s) => (s.updatedAt = /* @__PURE__ */ new Date(), s)),
|
|
219828
|
-
new y("city", "City", new
|
|
219829
|
-
new y("location", "Location", new
|
|
219830
|
-
new y("team.name", "Team", new
|
|
220361
|
+
].map((s) => (s.updatedAt = /* @__PURE__ */ new Date(), s)), _ = [
|
|
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")),
|
|
219831
220365
|
y.create({
|
|
219832
220366
|
property: "team.active",
|
|
219833
220367
|
headerLabel: "Active",
|
|
219834
|
-
width: new
|
|
219835
|
-
bodyRenderer: new
|
|
220368
|
+
width: new p(60, "px"),
|
|
220369
|
+
bodyRenderer: new ze()
|
|
219836
220370
|
}),
|
|
219837
|
-
new y("data.0", "00", new
|
|
219838
|
-
new y("data.1", "15", new
|
|
219839
|
-
new y("data.2", "30", new
|
|
219840
|
-
new y("data.3", "45", new
|
|
219841
|
-
new y("data.4", "00", new
|
|
219842
|
-
new y("data.5", "15", new
|
|
219843
|
-
new y("data.6", "30", new
|
|
219844
|
-
new y("data.7", "45", new
|
|
219845
|
-
new y("data.8", "00", new
|
|
219846
|
-
new y("data.9", "15", new
|
|
219847
|
-
new y("data.10", "30", new
|
|
219848
|
-
new y("data.11", "45", new
|
|
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")),
|
|
219849
220383
|
y.create({
|
|
219850
220384
|
property: "updatedAt",
|
|
219851
220385
|
headerLabel: "Updated at",
|
|
219852
|
-
width: new
|
|
219853
|
-
bodyRenderer: new
|
|
220386
|
+
width: new p(175, "px"),
|
|
220387
|
+
bodyRenderer: new Xe()
|
|
219854
220388
|
})
|
|
219855
|
-
],
|
|
219856
|
-
...new
|
|
220389
|
+
], Yr = _.length - 1, Pr = {
|
|
220390
|
+
...new z(),
|
|
219857
220391
|
hoverRowVisible: !1,
|
|
219858
220392
|
hoverColumnVisible: !1,
|
|
219859
220393
|
defaultRowHeights: {
|
|
@@ -219864,22 +220398,22 @@ const gr = [
|
|
|
219864
220398
|
columnsDraggable: !1,
|
|
219865
220399
|
columnsResizable: !0
|
|
219866
220400
|
};
|
|
219867
|
-
function
|
|
219868
|
-
const s =
|
|
219869
|
-
return
|
|
219870
|
-
headerAreaModel: new
|
|
219871
|
-
bodyAreaModel: new
|
|
219872
|
-
footerAreaModel: new
|
|
219873
|
-
columnDefs:
|
|
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),
|
|
220407
|
+
columnDefs: _,
|
|
219874
220408
|
fixedLeftColumnCount: 2,
|
|
219875
220409
|
fixedRightColumnCount: 1,
|
|
219876
220410
|
defaultRowHeights: s,
|
|
219877
|
-
columnCount:
|
|
220411
|
+
columnCount: _.length
|
|
219878
220412
|
});
|
|
219879
220413
|
}
|
|
219880
|
-
class
|
|
220414
|
+
class zr extends I {
|
|
219881
220415
|
constructor(e) {
|
|
219882
|
-
super("body",
|
|
220416
|
+
super("body", Lr, _, e);
|
|
219883
220417
|
}
|
|
219884
220418
|
getRowspanAt(e, r) {
|
|
219885
220419
|
if (r === 0 || r == 1) {
|
|
@@ -219896,7 +220430,7 @@ class Nr extends I {
|
|
|
219896
220430
|
return t;
|
|
219897
220431
|
}
|
|
219898
220432
|
}
|
|
219899
|
-
class
|
|
220433
|
+
class Gr extends S {
|
|
219900
220434
|
constructor(e) {
|
|
219901
220435
|
super(
|
|
219902
220436
|
"header",
|
|
@@ -219923,7 +220457,7 @@ class fr extends o {
|
|
|
219923
220457
|
return ["ge-font-weight-bold"];
|
|
219924
220458
|
}
|
|
219925
220459
|
}
|
|
219926
|
-
class
|
|
220460
|
+
class Zr extends S {
|
|
219927
220461
|
constructor(e) {
|
|
219928
220462
|
super(
|
|
219929
220463
|
"footer",
|
|
@@ -219938,7 +220472,7 @@ class Tr extends o {
|
|
|
219938
220472
|
return r === 2 ? ["ge-text-align-right", "ge-font-weight-bold"] : [];
|
|
219939
220473
|
}
|
|
219940
220474
|
}
|
|
219941
|
-
const
|
|
220475
|
+
const wr = [
|
|
219942
220476
|
{
|
|
219943
220477
|
id: "c8-34f1d5",
|
|
219944
220478
|
company: "Equicom",
|
|
@@ -221876,88 +222410,88 @@ const or = [
|
|
|
221876
222410
|
rating: 5
|
|
221877
222411
|
}
|
|
221878
222412
|
];
|
|
221879
|
-
function
|
|
221880
|
-
return
|
|
222413
|
+
function vr() {
|
|
222414
|
+
return wr;
|
|
221881
222415
|
}
|
|
221882
|
-
function
|
|
222416
|
+
function xr() {
|
|
221883
222417
|
return [
|
|
221884
222418
|
y.create({
|
|
221885
222419
|
property: "company",
|
|
221886
222420
|
headerLabel: "Company",
|
|
221887
|
-
width:
|
|
222421
|
+
width: L,
|
|
221888
222422
|
bodyClasses: ["ge-table-text-align-left"],
|
|
221889
222423
|
headerClasses: ["ge-table-text-align-left"],
|
|
221890
|
-
sortable:
|
|
222424
|
+
sortable: g
|
|
221891
222425
|
}),
|
|
221892
222426
|
y.create({
|
|
221893
222427
|
property: "country",
|
|
221894
222428
|
headerLabel: "Country",
|
|
221895
|
-
width:
|
|
222429
|
+
width: re,
|
|
221896
222430
|
bodyClasses: ["ge-table-text-align-left"],
|
|
221897
222431
|
headerClasses: ["ge-table-text-align-left"],
|
|
221898
|
-
sortable:
|
|
222432
|
+
sortable: g
|
|
221899
222433
|
}),
|
|
221900
222434
|
y.create({
|
|
221901
222435
|
property: "product",
|
|
221902
222436
|
headerLabel: "Name",
|
|
221903
|
-
width:
|
|
222437
|
+
width: L,
|
|
221904
222438
|
bodyClasses: ["ge-table-text-align-left"],
|
|
221905
222439
|
headerClasses: ["ge-table-text-align-left"],
|
|
221906
|
-
sortable:
|
|
222440
|
+
sortable: g
|
|
221907
222441
|
}),
|
|
221908
222442
|
y.create({
|
|
221909
222443
|
property: "sellDate",
|
|
221910
222444
|
headerLabel: "Sell date",
|
|
221911
|
-
width:
|
|
221912
|
-
bodyRenderer: new
|
|
222445
|
+
width: T,
|
|
222446
|
+
bodyRenderer: new O(),
|
|
221913
222447
|
bodyClasses: ["ge-table-text-align-center"],
|
|
221914
|
-
sortable:
|
|
222448
|
+
sortable: g
|
|
221915
222449
|
}),
|
|
221916
222450
|
y.create({
|
|
221917
222451
|
property: "id",
|
|
221918
222452
|
headerLabel: "Order ID",
|
|
221919
|
-
width:
|
|
222453
|
+
width: L,
|
|
221920
222454
|
bodyClasses: ["ge-table-text-align-center"],
|
|
221921
|
-
sortable:
|
|
222455
|
+
sortable: g
|
|
221922
222456
|
}),
|
|
221923
222457
|
y.create({
|
|
221924
222458
|
property: "inStock",
|
|
221925
222459
|
headerLabel: "In stock",
|
|
221926
|
-
width:
|
|
221927
|
-
bodyRenderer: new
|
|
222460
|
+
width: oe,
|
|
222461
|
+
bodyRenderer: new Le("inStock", !0, !0),
|
|
221928
222462
|
bodyClasses: ["ge-table-text-align-center"],
|
|
221929
|
-
sortable:
|
|
222463
|
+
sortable: g
|
|
221930
222464
|
}),
|
|
221931
222465
|
y.create({
|
|
221932
222466
|
property: "quantity",
|
|
221933
222467
|
headerLabel: "Qty",
|
|
221934
|
-
width:
|
|
222468
|
+
width: x,
|
|
221935
222469
|
bodyClasses: ["ge-table-text-align-right"],
|
|
221936
222470
|
headerClasses: ["ge-table-text-align-right"],
|
|
221937
|
-
sortable:
|
|
222471
|
+
sortable: g
|
|
221938
222472
|
}),
|
|
221939
222473
|
y.create({
|
|
221940
222474
|
property: "progress",
|
|
221941
222475
|
headerLabel: "Progress",
|
|
221942
|
-
width:
|
|
221943
|
-
bodyRenderer: new
|
|
222476
|
+
width: T,
|
|
222477
|
+
bodyRenderer: new Ze("progress", 5, !0),
|
|
221944
222478
|
bodyClasses: ["ge-table-text-align-left"],
|
|
221945
|
-
sortable:
|
|
222479
|
+
sortable: g
|
|
221946
222480
|
}),
|
|
221947
222481
|
y.create({
|
|
221948
222482
|
property: "rating",
|
|
221949
222483
|
headerLabel: "Rating",
|
|
221950
|
-
width:
|
|
221951
|
-
bodyRenderer: new
|
|
222484
|
+
width: T,
|
|
222485
|
+
bodyRenderer: new Ge("rating"),
|
|
221952
222486
|
bodyClasses: ["ge-table-text-align-left"],
|
|
221953
|
-
sortable:
|
|
222487
|
+
sortable: g
|
|
221954
222488
|
})
|
|
221955
222489
|
];
|
|
221956
222490
|
}
|
|
221957
|
-
function
|
|
221958
|
-
const s = new
|
|
222491
|
+
function kr() {
|
|
222492
|
+
const s = new q("row", "multi");
|
|
221959
222493
|
return {
|
|
221960
|
-
...new
|
|
222494
|
+
...new z(),
|
|
221961
222495
|
hoverColumnVisible: !1,
|
|
221962
222496
|
defaultRowHeights: {
|
|
221963
222497
|
header: 24,
|
|
@@ -221967,10 +222501,10 @@ function Cr() {
|
|
|
221967
222501
|
getSelectionModel: () => s
|
|
221968
222502
|
};
|
|
221969
222503
|
}
|
|
221970
|
-
function
|
|
221971
|
-
const s =
|
|
221972
|
-
return new
|
|
221973
|
-
|
|
222504
|
+
function Qr() {
|
|
222505
|
+
const s = kr(), e = vr(), r = xr();
|
|
222506
|
+
return new V(
|
|
222507
|
+
f.createTableModel({
|
|
221974
222508
|
rows: e,
|
|
221975
222509
|
columnDefs: r,
|
|
221976
222510
|
tableOptions: s,
|
|
@@ -221979,7 +222513,1732 @@ function Ir() {
|
|
|
221979
222513
|
s
|
|
221980
222514
|
);
|
|
221981
222515
|
}
|
|
221982
|
-
|
|
222516
|
+
function Rr() {
|
|
222517
|
+
return [
|
|
222518
|
+
y.create({
|
|
222519
|
+
headerLabel: "ID",
|
|
222520
|
+
width: L,
|
|
222521
|
+
bodyClasses: ["ge-table-text-align-left"],
|
|
222522
|
+
headerClasses: ["ge-table-text-align-left"],
|
|
222523
|
+
sortable: B
|
|
222524
|
+
}),
|
|
222525
|
+
y.create({
|
|
222526
|
+
headerLabel: "Value",
|
|
222527
|
+
width: A,
|
|
222528
|
+
bodyClasses: ["ge-table-text-align-left"],
|
|
222529
|
+
headerClasses: ["ge-table-text-align-left"],
|
|
222530
|
+
sortable: B
|
|
222531
|
+
}),
|
|
222532
|
+
y.create({
|
|
222533
|
+
headerLabel: " ",
|
|
222534
|
+
width: A,
|
|
222535
|
+
bodyClasses: ["ge-table-text-align-right"],
|
|
222536
|
+
headerClasses: ["ge-table-text-align-right"]
|
|
222537
|
+
})
|
|
222538
|
+
];
|
|
222539
|
+
}
|
|
222540
|
+
function Dr() {
|
|
222541
|
+
const s = new q();
|
|
222542
|
+
return {
|
|
222543
|
+
...new z(),
|
|
222544
|
+
hoverColumnVisible: !1,
|
|
222545
|
+
defaultRowHeights: {
|
|
222546
|
+
header: 34,
|
|
222547
|
+
body: 34,
|
|
222548
|
+
footer: 0
|
|
222549
|
+
},
|
|
222550
|
+
getSelectionModel: () => s
|
|
222551
|
+
};
|
|
222552
|
+
}
|
|
222553
|
+
function ea(s = 1e6) {
|
|
222554
|
+
const e = Dr(), r = Rr(), a = new Ar(s);
|
|
222555
|
+
return new V(f.createTableModel({
|
|
222556
|
+
bodyAreaModel: a,
|
|
222557
|
+
columnDefs: r,
|
|
222558
|
+
tableOptions: e,
|
|
222559
|
+
fixedLeftColumnCount: 0
|
|
222560
|
+
}), e);
|
|
222561
|
+
}
|
|
222562
|
+
class Ar extends te {
|
|
222563
|
+
constructor(e = 1e6) {
|
|
222564
|
+
super(), this.rowcount = e, this.nf = new Intl.NumberFormat("en-Us", {}), this.barRenderer = new je(e, !1);
|
|
222565
|
+
}
|
|
222566
|
+
getRowCount() {
|
|
222567
|
+
return this.rowcount;
|
|
222568
|
+
}
|
|
222569
|
+
getRowHeight(e) {
|
|
222570
|
+
return 34;
|
|
222571
|
+
}
|
|
222572
|
+
getValueAt(e, r) {
|
|
222573
|
+
return r === 0 ? "id" + e : r === 1 ? this.nf.format(e) : e;
|
|
222574
|
+
}
|
|
222575
|
+
getCellRenderer(e, r) {
|
|
222576
|
+
if (r == 2)
|
|
222577
|
+
return this.barRenderer;
|
|
222578
|
+
}
|
|
222579
|
+
getYPosByRowIndex(e) {
|
|
222580
|
+
return e * this.getRowHeight(0);
|
|
222581
|
+
}
|
|
222582
|
+
}
|
|
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 = [
|
|
221983
224242
|
{
|
|
221984
224243
|
id: 0,
|
|
221985
224244
|
preName: "Prename0",
|
|
@@ -383853,10 +386112,10 @@ const Pr = [
|
|
|
383853
386112
|
friends: []
|
|
383854
386113
|
}
|
|
383855
386114
|
];
|
|
383856
|
-
function
|
|
383857
|
-
const e = new
|
|
383858
|
-
return s && (e.addSelection(new
|
|
383859
|
-
...new
|
|
386115
|
+
function Vr(s = !1) {
|
|
386116
|
+
const e = new q("range", "multi");
|
|
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(),
|
|
383860
386119
|
hoverColumnVisible: !1,
|
|
383861
386120
|
defaultRowHeights: {
|
|
383862
386121
|
header: 50,
|
|
@@ -383864,7 +386123,7 @@ function Lr(s = !1) {
|
|
|
383864
386123
|
footer: 0
|
|
383865
386124
|
},
|
|
383866
386125
|
autoRestoreOptions: {
|
|
383867
|
-
...new
|
|
386126
|
+
...new Oe(),
|
|
383868
386127
|
getStorageKeyFn: () => "TreetablePeopleComponent",
|
|
383869
386128
|
autoRestoreCollapsedExpandedState: !0,
|
|
383870
386129
|
autoRestoreScrollPosition: !0,
|
|
@@ -383874,87 +386133,92 @@ function Lr(s = !1) {
|
|
|
383874
386133
|
getSelectionModel: () => e
|
|
383875
386134
|
};
|
|
383876
386135
|
}
|
|
383877
|
-
function
|
|
386136
|
+
function Hr() {
|
|
383878
386137
|
return [
|
|
383879
|
-
new y("lastName", "Last Name",
|
|
383880
|
-
new y("preName", "Pre Name",
|
|
386138
|
+
new y("lastName", "Last Name", fe),
|
|
386139
|
+
new y("preName", "Pre Name", L),
|
|
383881
386140
|
y.create({
|
|
383882
386141
|
property: "age",
|
|
383883
386142
|
headerLabel: "Age",
|
|
383884
|
-
width:
|
|
383885
|
-
bodyRenderer: new
|
|
383886
|
-
editable:
|
|
386143
|
+
width: he,
|
|
386144
|
+
bodyRenderer: new Ye(),
|
|
386145
|
+
editable: g,
|
|
383887
386146
|
// editInputPipe: (value: any) => value ? Number(value) : ""
|
|
383888
|
-
editInputPipe:
|
|
386147
|
+
editInputPipe: Qe
|
|
383889
386148
|
}),
|
|
383890
386149
|
new y(
|
|
383891
386150
|
"birth",
|
|
383892
386151
|
"Birthday",
|
|
383893
|
-
|
|
386152
|
+
T,
|
|
383894
386153
|
void 0,
|
|
383895
|
-
|
|
386154
|
+
Ke.bodyRenderer(new O())
|
|
383896
386155
|
),
|
|
383897
386156
|
y.create({
|
|
383898
386157
|
property: "gender",
|
|
383899
386158
|
headerLabel: " ",
|
|
383900
|
-
width:
|
|
383901
|
-
bodyRenderer: new
|
|
383902
|
-
editable:
|
|
383903
|
-
getEditRenderer: () => new
|
|
383904
|
-
new
|
|
383905
|
-
new
|
|
386159
|
+
width: He,
|
|
386160
|
+
bodyRenderer: new Pe(),
|
|
386161
|
+
editable: g,
|
|
386162
|
+
getEditRenderer: () => new ne([
|
|
386163
|
+
new Y("female", "♀"),
|
|
386164
|
+
new Y("male", "♂")
|
|
383906
386165
|
])
|
|
383907
386166
|
}),
|
|
383908
|
-
new y("address.street", "Strasse",
|
|
383909
|
-
new y("address.number", "Nr",
|
|
383910
|
-
new y("address.zip", "Zip",
|
|
383911
|
-
new y("address.city", "City",
|
|
383912
|
-
new y("address.country", "Country",
|
|
383913
|
-
new y("id", "ID",
|
|
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)
|
|
383914
386173
|
];
|
|
383915
386174
|
}
|
|
383916
|
-
function
|
|
383917
|
-
const e =
|
|
386175
|
+
function aa(s = !1) {
|
|
386176
|
+
const e = Vr(s), r = Hr();
|
|
383918
386177
|
for (const n of r)
|
|
383919
|
-
n.sortable =
|
|
383920
|
-
r[0].editable =
|
|
383921
|
-
const a =
|
|
386178
|
+
n.sortable = g, n.editable = g;
|
|
386179
|
+
r[0].editable = B;
|
|
386180
|
+
const a = M.buildTreeRows(qr, "friends"), t = f.createTableModel({
|
|
383922
386181
|
rows: a,
|
|
383923
386182
|
columnDefs: r,
|
|
383924
386183
|
tableOptions: e,
|
|
383925
386184
|
fixedLeftColumnCount: 1,
|
|
383926
386185
|
fixedRightColumnCount: 1
|
|
383927
386186
|
});
|
|
383928
|
-
return new
|
|
386187
|
+
return new V(
|
|
383929
386188
|
t,
|
|
383930
386189
|
e
|
|
383931
386190
|
);
|
|
383932
386191
|
}
|
|
383933
386192
|
export {
|
|
383934
|
-
|
|
383935
|
-
|
|
383936
|
-
|
|
383937
|
-
|
|
383938
|
-
|
|
383939
|
-
|
|
383940
|
-
|
|
383941
|
-
|
|
383942
|
-
|
|
383943
|
-
|
|
383944
|
-
|
|
383945
|
-
|
|
383946
|
-
|
|
383947
|
-
|
|
383948
|
-
|
|
383949
|
-
|
|
383950
|
-
|
|
383951
|
-
|
|
383952
|
-
|
|
383953
|
-
|
|
383954
|
-
|
|
383955
|
-
|
|
383956
|
-
|
|
383957
|
-
|
|
383958
|
-
|
|
383959
|
-
|
|
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
|
|
383960
386224
|
};
|