@bigbinary/neeto-molecules 1.0.21 → 1.0.23
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/README.md +1 -0
- package/dist/CustomDomain.cjs.js +1867 -225
- package/dist/CustomDomain.cjs.js.map +1 -1
- package/dist/CustomDomain.js +1874 -233
- package/dist/CustomDomain.js.map +1 -1
- package/dist/Header.cjs.js +218 -51
- package/dist/Header.cjs.js.map +1 -1
- package/dist/Header.js +220 -53
- package/dist/Header.js.map +1 -1
- package/dist/IpRestriction.cjs.js +77 -57
- package/dist/IpRestriction.cjs.js.map +1 -1
- package/dist/IpRestriction.js +79 -59
- package/dist/IpRestriction.js.map +1 -1
- package/dist/NeetoWidget.cjs.js +130 -144
- package/dist/NeetoWidget.cjs.js.map +1 -1
- package/dist/NeetoWidget.js +130 -144
- package/dist/NeetoWidget.js.map +1 -1
- package/dist/Rename.cjs.js +1314 -0
- package/dist/Rename.cjs.js.map +1 -0
- package/dist/Rename.js +1308 -0
- package/dist/Rename.js.map +1 -0
- package/dist/ResponsiveDevicePicker.cjs.js +547 -0
- package/dist/ResponsiveDevicePicker.cjs.js.map +1 -0
- package/dist/ResponsiveDevicePicker.js +541 -0
- package/dist/ResponsiveDevicePicker.js.map +1 -0
- package/dist/ShareViaEmail.cjs.js +155 -98
- package/dist/ShareViaEmail.cjs.js.map +1 -1
- package/dist/ShareViaEmail.js +155 -98
- package/dist/ShareViaEmail.js.map +1 -1
- package/dist/Sidebar.cjs.js +51 -35
- package/dist/Sidebar.cjs.js.map +1 -1
- package/dist/Sidebar.js +53 -37
- package/dist/Sidebar.js.map +1 -1
- package/dist/SubHeader.cjs.js +1683 -32
- package/dist/SubHeader.cjs.js.map +1 -1
- package/dist/SubHeader.js +1683 -33
- package/dist/SubHeader.js.map +1 -1
- package/package.json +5 -3
- package/src/translations/en.json +40 -33
- package/types/Header.d.ts +2 -0
- package/types/Rename.d.ts +59 -0
- package/types/ResponsiveDevicePicker.d.ts +30 -0
- package/types/ShareViaEmail.d.ts +1 -0
- package/types/SubHeader.d.ts +31 -1
- package/types/TableWrapper.d.ts +13 -5
package/dist/SubHeader.cjs.js
CHANGED
|
@@ -1,10 +1,19 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var React = require('react');
|
|
4
|
+
var i18next = require('i18next');
|
|
5
|
+
var pure = require('@bigbinary/neeto-commons-frontend/pure');
|
|
6
|
+
var reactUtils = require('@bigbinary/neeto-commons-frontend/react-utils');
|
|
7
|
+
var neetoIcons = require('@bigbinary/neeto-icons');
|
|
8
|
+
var neetoui = require('@bigbinary/neetoui');
|
|
9
|
+
var ramda = require('ramda');
|
|
10
|
+
var reactI18next = require('react-i18next');
|
|
11
|
+
var neetoFiltersFrontend = require('@bigbinary/neeto-filters-frontend');
|
|
4
12
|
|
|
5
13
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
6
14
|
|
|
7
15
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
16
|
+
var i18next__default = /*#__PURE__*/_interopDefaultLegacy(i18next);
|
|
8
17
|
|
|
9
18
|
var classnames$1 = {exports: {}};
|
|
10
19
|
|
|
@@ -67,14 +76,1643 @@ var classnames$1 = {exports: {}};
|
|
|
67
76
|
|
|
68
77
|
var classnames = classnames$1.exports;
|
|
69
78
|
|
|
79
|
+
function _extends() {
|
|
80
|
+
_extends = Object.assign ? Object.assign.bind() : function (target) {
|
|
81
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
82
|
+
var source = arguments[i];
|
|
83
|
+
for (var key in source) {
|
|
84
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
85
|
+
target[key] = source[key];
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
return target;
|
|
90
|
+
};
|
|
91
|
+
return _extends.apply(this, arguments);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
function _arrayWithHoles(arr) {
|
|
95
|
+
if (Array.isArray(arr)) return arr;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
function _iterableToArrayLimit(arr, i) {
|
|
99
|
+
var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"];
|
|
100
|
+
if (null != _i) {
|
|
101
|
+
var _s,
|
|
102
|
+
_e,
|
|
103
|
+
_x,
|
|
104
|
+
_r,
|
|
105
|
+
_arr = [],
|
|
106
|
+
_n = !0,
|
|
107
|
+
_d = !1;
|
|
108
|
+
try {
|
|
109
|
+
if (_x = (_i = _i.call(arr)).next, 0 === i) {
|
|
110
|
+
if (Object(_i) !== _i) return;
|
|
111
|
+
_n = !1;
|
|
112
|
+
} else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);
|
|
113
|
+
} catch (err) {
|
|
114
|
+
_d = !0, _e = err;
|
|
115
|
+
} finally {
|
|
116
|
+
try {
|
|
117
|
+
if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return;
|
|
118
|
+
} finally {
|
|
119
|
+
if (_d) throw _e;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
return _arr;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
function _arrayLikeToArray(arr, len) {
|
|
127
|
+
if (len == null || len > arr.length) len = arr.length;
|
|
128
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
|
129
|
+
return arr2;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
function _unsupportedIterableToArray(o, minLen) {
|
|
133
|
+
if (!o) return;
|
|
134
|
+
if (typeof o === "string") return _arrayLikeToArray(o, minLen);
|
|
135
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
136
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
137
|
+
if (n === "Map" || n === "Set") return Array.from(o);
|
|
138
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
function _nonIterableRest() {
|
|
142
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
function _slicedToArray(arr, i) {
|
|
146
|
+
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
function cov_1ceek736tr() {
|
|
150
|
+
var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/SubHeader/RightBlock/utils.js";
|
|
151
|
+
var hash = "4e99c4492583af7874430eafb0a0c33e80d44e9d";
|
|
152
|
+
var global = new Function("return this")();
|
|
153
|
+
var gcv = "__coverage__";
|
|
154
|
+
var coverageData = {
|
|
155
|
+
path: "/home/runner/work/neeto-molecules/neeto-molecules/src/components/SubHeader/RightBlock/utils.js",
|
|
156
|
+
statementMap: {
|
|
157
|
+
"0": {
|
|
158
|
+
start: {
|
|
159
|
+
line: 4,
|
|
160
|
+
column: 34
|
|
161
|
+
},
|
|
162
|
+
end: {
|
|
163
|
+
line: 5,
|
|
164
|
+
column: 65
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
"1": {
|
|
168
|
+
start: {
|
|
169
|
+
line: 5,
|
|
170
|
+
column: 2
|
|
171
|
+
},
|
|
172
|
+
end: {
|
|
173
|
+
line: 5,
|
|
174
|
+
column: 65
|
|
175
|
+
}
|
|
176
|
+
},
|
|
177
|
+
"2": {
|
|
178
|
+
start: {
|
|
179
|
+
line: 7,
|
|
180
|
+
column: 34
|
|
181
|
+
},
|
|
182
|
+
end: {
|
|
183
|
+
line: 11,
|
|
184
|
+
column: 3
|
|
185
|
+
}
|
|
186
|
+
},
|
|
187
|
+
"3": {
|
|
188
|
+
start: {
|
|
189
|
+
line: 8,
|
|
190
|
+
column: 2
|
|
191
|
+
},
|
|
192
|
+
end: {
|
|
193
|
+
line: 11,
|
|
194
|
+
column: 3
|
|
195
|
+
}
|
|
196
|
+
},
|
|
197
|
+
"4": {
|
|
198
|
+
start: {
|
|
199
|
+
line: 9,
|
|
200
|
+
column: 19
|
|
201
|
+
},
|
|
202
|
+
end: {
|
|
203
|
+
line: 9,
|
|
204
|
+
column: 76
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
},
|
|
208
|
+
fnMap: {
|
|
209
|
+
"0": {
|
|
210
|
+
name: "(anonymous_0)",
|
|
211
|
+
decl: {
|
|
212
|
+
start: {
|
|
213
|
+
line: 4,
|
|
214
|
+
column: 34
|
|
215
|
+
},
|
|
216
|
+
end: {
|
|
217
|
+
line: 4,
|
|
218
|
+
column: 35
|
|
219
|
+
}
|
|
220
|
+
},
|
|
221
|
+
loc: {
|
|
222
|
+
start: {
|
|
223
|
+
line: 5,
|
|
224
|
+
column: 2
|
|
225
|
+
},
|
|
226
|
+
end: {
|
|
227
|
+
line: 5,
|
|
228
|
+
column: 65
|
|
229
|
+
}
|
|
230
|
+
},
|
|
231
|
+
line: 5
|
|
232
|
+
},
|
|
233
|
+
"1": {
|
|
234
|
+
name: "(anonymous_1)",
|
|
235
|
+
decl: {
|
|
236
|
+
start: {
|
|
237
|
+
line: 7,
|
|
238
|
+
column: 34
|
|
239
|
+
},
|
|
240
|
+
end: {
|
|
241
|
+
line: 7,
|
|
242
|
+
column: 35
|
|
243
|
+
}
|
|
244
|
+
},
|
|
245
|
+
loc: {
|
|
246
|
+
start: {
|
|
247
|
+
line: 8,
|
|
248
|
+
column: 2
|
|
249
|
+
},
|
|
250
|
+
end: {
|
|
251
|
+
line: 11,
|
|
252
|
+
column: 3
|
|
253
|
+
}
|
|
254
|
+
},
|
|
255
|
+
line: 8
|
|
256
|
+
},
|
|
257
|
+
"2": {
|
|
258
|
+
name: "(anonymous_2)",
|
|
259
|
+
decl: {
|
|
260
|
+
start: {
|
|
261
|
+
line: 9,
|
|
262
|
+
column: 4
|
|
263
|
+
},
|
|
264
|
+
end: {
|
|
265
|
+
line: 9,
|
|
266
|
+
column: 5
|
|
267
|
+
}
|
|
268
|
+
},
|
|
269
|
+
loc: {
|
|
270
|
+
start: {
|
|
271
|
+
line: 9,
|
|
272
|
+
column: 19
|
|
273
|
+
},
|
|
274
|
+
end: {
|
|
275
|
+
line: 9,
|
|
276
|
+
column: 76
|
|
277
|
+
}
|
|
278
|
+
},
|
|
279
|
+
line: 9
|
|
280
|
+
}
|
|
281
|
+
},
|
|
282
|
+
branchMap: {},
|
|
283
|
+
s: {
|
|
284
|
+
"0": 0,
|
|
285
|
+
"1": 0,
|
|
286
|
+
"2": 0,
|
|
287
|
+
"3": 0,
|
|
288
|
+
"4": 0
|
|
289
|
+
},
|
|
290
|
+
f: {
|
|
291
|
+
"0": 0,
|
|
292
|
+
"1": 0,
|
|
293
|
+
"2": 0
|
|
294
|
+
},
|
|
295
|
+
b: {},
|
|
296
|
+
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
297
|
+
hash: "4e99c4492583af7874430eafb0a0c33e80d44e9d"
|
|
298
|
+
};
|
|
299
|
+
var coverage = global[gcv] || (global[gcv] = {});
|
|
300
|
+
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
301
|
+
coverage[path] = coverageData;
|
|
302
|
+
}
|
|
303
|
+
var actualCoverage = coverage[path];
|
|
304
|
+
{
|
|
305
|
+
// @ts-ignore
|
|
306
|
+
cov_1ceek736tr = function () {
|
|
307
|
+
return actualCoverage;
|
|
308
|
+
};
|
|
309
|
+
}
|
|
310
|
+
return actualCoverage;
|
|
311
|
+
}
|
|
312
|
+
cov_1ceek736tr();
|
|
313
|
+
cov_1ceek736tr().s[0]++;
|
|
314
|
+
var removeFixedColumns = function removeFixedColumns(fixedColumns, columnData) {
|
|
315
|
+
cov_1ceek736tr().f[0]++;
|
|
316
|
+
cov_1ceek736tr().s[1]++;
|
|
317
|
+
return pure.removeBy({
|
|
318
|
+
dataIndex: ramda.includes(ramda.__, fixedColumns)
|
|
319
|
+
}, columnData);
|
|
320
|
+
};
|
|
321
|
+
cov_1ceek736tr().s[2]++;
|
|
322
|
+
var filterBySearchTerm = function filterBySearchTerm(searchTerm, columns) {
|
|
323
|
+
cov_1ceek736tr().f[1]++;
|
|
324
|
+
cov_1ceek736tr().s[3]++;
|
|
325
|
+
return ramda.filter(function (_ref) {
|
|
326
|
+
var title = _ref.title;
|
|
327
|
+
cov_1ceek736tr().f[2]++;
|
|
328
|
+
cov_1ceek736tr().s[4]++;
|
|
329
|
+
return ramda.includes(ramda.trim(ramda.toLower(searchTerm)), ramda.trim(ramda.toLower(title)));
|
|
330
|
+
}, columns);
|
|
331
|
+
};
|
|
332
|
+
|
|
333
|
+
function cov_1nk47gzsi8() {
|
|
334
|
+
var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/SubHeader/RightBlock/Columns.jsx";
|
|
335
|
+
var hash = "a073b27c47692599de4a6dea8467014f75c0f886";
|
|
336
|
+
var global = new Function("return this")();
|
|
337
|
+
var gcv = "__coverage__";
|
|
338
|
+
var coverageData = {
|
|
339
|
+
path: "/home/runner/work/neeto-molecules/neeto-molecules/src/components/SubHeader/RightBlock/Columns.jsx",
|
|
340
|
+
statementMap: {
|
|
341
|
+
"0": {
|
|
342
|
+
start: {
|
|
343
|
+
line: 13,
|
|
344
|
+
column: 16
|
|
345
|
+
},
|
|
346
|
+
end: {
|
|
347
|
+
line: 114,
|
|
348
|
+
column: 1
|
|
349
|
+
}
|
|
350
|
+
},
|
|
351
|
+
"1": {
|
|
352
|
+
start: {
|
|
353
|
+
line: 25,
|
|
354
|
+
column: 38
|
|
355
|
+
},
|
|
356
|
+
end: {
|
|
357
|
+
line: 25,
|
|
358
|
+
column: 46
|
|
359
|
+
}
|
|
360
|
+
},
|
|
361
|
+
"2": {
|
|
362
|
+
start: {
|
|
363
|
+
line: 26,
|
|
364
|
+
column: 44
|
|
365
|
+
},
|
|
366
|
+
end: {
|
|
367
|
+
line: 29,
|
|
368
|
+
column: 3
|
|
369
|
+
}
|
|
370
|
+
},
|
|
371
|
+
"3": {
|
|
372
|
+
start: {
|
|
373
|
+
line: 30,
|
|
374
|
+
column: 38
|
|
375
|
+
},
|
|
376
|
+
end: {
|
|
377
|
+
line: 30,
|
|
378
|
+
column: 50
|
|
379
|
+
}
|
|
380
|
+
},
|
|
381
|
+
"4": {
|
|
382
|
+
start: {
|
|
383
|
+
line: 32,
|
|
384
|
+
column: 18
|
|
385
|
+
},
|
|
386
|
+
end: {
|
|
387
|
+
line: 32,
|
|
388
|
+
column: 62
|
|
389
|
+
}
|
|
390
|
+
},
|
|
391
|
+
"5": {
|
|
392
|
+
start: {
|
|
393
|
+
line: 33,
|
|
394
|
+
column: 26
|
|
395
|
+
},
|
|
396
|
+
end: {
|
|
397
|
+
line: 33,
|
|
398
|
+
column: 65
|
|
399
|
+
}
|
|
400
|
+
},
|
|
401
|
+
"6": {
|
|
402
|
+
start: {
|
|
403
|
+
line: 35,
|
|
404
|
+
column: 23
|
|
405
|
+
},
|
|
406
|
+
end: {
|
|
407
|
+
line: 38,
|
|
408
|
+
column: 58
|
|
409
|
+
}
|
|
410
|
+
},
|
|
411
|
+
"7": {
|
|
412
|
+
start: {
|
|
413
|
+
line: 36,
|
|
414
|
+
column: 4
|
|
415
|
+
},
|
|
416
|
+
end: {
|
|
417
|
+
line: 38,
|
|
418
|
+
column: 58
|
|
419
|
+
}
|
|
420
|
+
},
|
|
421
|
+
"8": {
|
|
422
|
+
start: {
|
|
423
|
+
line: 40,
|
|
424
|
+
column: 23
|
|
425
|
+
},
|
|
426
|
+
end: {
|
|
427
|
+
line: 40,
|
|
428
|
+
column: 70
|
|
429
|
+
}
|
|
430
|
+
},
|
|
431
|
+
"9": {
|
|
432
|
+
start: {
|
|
433
|
+
line: 40,
|
|
434
|
+
column: 50
|
|
435
|
+
},
|
|
436
|
+
end: {
|
|
437
|
+
line: 40,
|
|
438
|
+
column: 70
|
|
439
|
+
}
|
|
440
|
+
},
|
|
441
|
+
"10": {
|
|
442
|
+
start: {
|
|
443
|
+
line: 42,
|
|
444
|
+
column: 2
|
|
445
|
+
},
|
|
446
|
+
end: {
|
|
447
|
+
line: 44,
|
|
448
|
+
column: 34
|
|
449
|
+
}
|
|
450
|
+
},
|
|
451
|
+
"11": {
|
|
452
|
+
start: {
|
|
453
|
+
line: 43,
|
|
454
|
+
column: 4
|
|
455
|
+
},
|
|
456
|
+
end: {
|
|
457
|
+
line: 43,
|
|
458
|
+
column: 79
|
|
459
|
+
}
|
|
460
|
+
},
|
|
461
|
+
"12": {
|
|
462
|
+
start: {
|
|
463
|
+
line: 46,
|
|
464
|
+
column: 16
|
|
465
|
+
},
|
|
466
|
+
end: {
|
|
467
|
+
line: 46,
|
|
468
|
+
column: 32
|
|
469
|
+
}
|
|
470
|
+
},
|
|
471
|
+
"13": {
|
|
472
|
+
start: {
|
|
473
|
+
line: 48,
|
|
474
|
+
column: 2
|
|
475
|
+
},
|
|
476
|
+
end: {
|
|
477
|
+
line: 113,
|
|
478
|
+
column: 4
|
|
479
|
+
}
|
|
480
|
+
},
|
|
481
|
+
"14": {
|
|
482
|
+
start: {
|
|
483
|
+
line: 62,
|
|
484
|
+
column: 23
|
|
485
|
+
},
|
|
486
|
+
end: {
|
|
487
|
+
line: 62,
|
|
488
|
+
column: 40
|
|
489
|
+
}
|
|
490
|
+
},
|
|
491
|
+
"15": {
|
|
492
|
+
start: {
|
|
493
|
+
line: 81,
|
|
494
|
+
column: 16
|
|
495
|
+
},
|
|
496
|
+
end: {
|
|
497
|
+
line: 96,
|
|
498
|
+
column: 27
|
|
499
|
+
}
|
|
500
|
+
}
|
|
501
|
+
},
|
|
502
|
+
fnMap: {
|
|
503
|
+
"0": {
|
|
504
|
+
name: "(anonymous_0)",
|
|
505
|
+
decl: {
|
|
506
|
+
start: {
|
|
507
|
+
line: 13,
|
|
508
|
+
column: 16
|
|
509
|
+
},
|
|
510
|
+
end: {
|
|
511
|
+
line: 13,
|
|
512
|
+
column: 17
|
|
513
|
+
}
|
|
514
|
+
},
|
|
515
|
+
loc: {
|
|
516
|
+
start: {
|
|
517
|
+
line: 24,
|
|
518
|
+
column: 6
|
|
519
|
+
},
|
|
520
|
+
end: {
|
|
521
|
+
line: 114,
|
|
522
|
+
column: 1
|
|
523
|
+
}
|
|
524
|
+
},
|
|
525
|
+
line: 24
|
|
526
|
+
},
|
|
527
|
+
"1": {
|
|
528
|
+
name: "(anonymous_1)",
|
|
529
|
+
decl: {
|
|
530
|
+
start: {
|
|
531
|
+
line: 35,
|
|
532
|
+
column: 23
|
|
533
|
+
},
|
|
534
|
+
end: {
|
|
535
|
+
line: 35,
|
|
536
|
+
column: 24
|
|
537
|
+
}
|
|
538
|
+
},
|
|
539
|
+
loc: {
|
|
540
|
+
start: {
|
|
541
|
+
line: 36,
|
|
542
|
+
column: 4
|
|
543
|
+
},
|
|
544
|
+
end: {
|
|
545
|
+
line: 38,
|
|
546
|
+
column: 58
|
|
547
|
+
}
|
|
548
|
+
},
|
|
549
|
+
line: 36
|
|
550
|
+
},
|
|
551
|
+
"2": {
|
|
552
|
+
name: "(anonymous_2)",
|
|
553
|
+
decl: {
|
|
554
|
+
start: {
|
|
555
|
+
line: 40,
|
|
556
|
+
column: 23
|
|
557
|
+
},
|
|
558
|
+
end: {
|
|
559
|
+
line: 40,
|
|
560
|
+
column: 24
|
|
561
|
+
}
|
|
562
|
+
},
|
|
563
|
+
loc: {
|
|
564
|
+
start: {
|
|
565
|
+
line: 40,
|
|
566
|
+
column: 50
|
|
567
|
+
},
|
|
568
|
+
end: {
|
|
569
|
+
line: 40,
|
|
570
|
+
column: 70
|
|
571
|
+
}
|
|
572
|
+
},
|
|
573
|
+
line: 40
|
|
574
|
+
},
|
|
575
|
+
"3": {
|
|
576
|
+
name: "(anonymous_3)",
|
|
577
|
+
decl: {
|
|
578
|
+
start: {
|
|
579
|
+
line: 42,
|
|
580
|
+
column: 12
|
|
581
|
+
},
|
|
582
|
+
end: {
|
|
583
|
+
line: 42,
|
|
584
|
+
column: 13
|
|
585
|
+
}
|
|
586
|
+
},
|
|
587
|
+
loc: {
|
|
588
|
+
start: {
|
|
589
|
+
line: 42,
|
|
590
|
+
column: 18
|
|
591
|
+
},
|
|
592
|
+
end: {
|
|
593
|
+
line: 44,
|
|
594
|
+
column: 3
|
|
595
|
+
}
|
|
596
|
+
},
|
|
597
|
+
line: 42
|
|
598
|
+
},
|
|
599
|
+
"4": {
|
|
600
|
+
name: "(anonymous_4)",
|
|
601
|
+
decl: {
|
|
602
|
+
start: {
|
|
603
|
+
line: 62,
|
|
604
|
+
column: 17
|
|
605
|
+
},
|
|
606
|
+
end: {
|
|
607
|
+
line: 62,
|
|
608
|
+
column: 18
|
|
609
|
+
}
|
|
610
|
+
},
|
|
611
|
+
loc: {
|
|
612
|
+
start: {
|
|
613
|
+
line: 62,
|
|
614
|
+
column: 23
|
|
615
|
+
},
|
|
616
|
+
end: {
|
|
617
|
+
line: 62,
|
|
618
|
+
column: 40
|
|
619
|
+
}
|
|
620
|
+
},
|
|
621
|
+
line: 62
|
|
622
|
+
},
|
|
623
|
+
"5": {
|
|
624
|
+
name: "(anonymous_5)",
|
|
625
|
+
decl: {
|
|
626
|
+
start: {
|
|
627
|
+
line: 80,
|
|
628
|
+
column: 34
|
|
629
|
+
},
|
|
630
|
+
end: {
|
|
631
|
+
line: 80,
|
|
632
|
+
column: 35
|
|
633
|
+
}
|
|
634
|
+
},
|
|
635
|
+
loc: {
|
|
636
|
+
start: {
|
|
637
|
+
line: 81,
|
|
638
|
+
column: 16
|
|
639
|
+
},
|
|
640
|
+
end: {
|
|
641
|
+
line: 96,
|
|
642
|
+
column: 27
|
|
643
|
+
}
|
|
644
|
+
},
|
|
645
|
+
line: 81
|
|
646
|
+
}
|
|
647
|
+
},
|
|
648
|
+
branchMap: {
|
|
649
|
+
"0": {
|
|
650
|
+
loc: {
|
|
651
|
+
start: {
|
|
652
|
+
line: 15,
|
|
653
|
+
column: 2
|
|
654
|
+
},
|
|
655
|
+
end: {
|
|
656
|
+
line: 15,
|
|
657
|
+
column: 20
|
|
658
|
+
}
|
|
659
|
+
},
|
|
660
|
+
type: "default-arg",
|
|
661
|
+
locations: [{
|
|
662
|
+
start: {
|
|
663
|
+
line: 15,
|
|
664
|
+
column: 18
|
|
665
|
+
},
|
|
666
|
+
end: {
|
|
667
|
+
line: 15,
|
|
668
|
+
column: 20
|
|
669
|
+
}
|
|
670
|
+
}],
|
|
671
|
+
line: 15
|
|
672
|
+
},
|
|
673
|
+
"1": {
|
|
674
|
+
loc: {
|
|
675
|
+
start: {
|
|
676
|
+
line: 16,
|
|
677
|
+
column: 2
|
|
678
|
+
},
|
|
679
|
+
end: {
|
|
680
|
+
line: 16,
|
|
681
|
+
column: 17
|
|
682
|
+
}
|
|
683
|
+
},
|
|
684
|
+
type: "default-arg",
|
|
685
|
+
locations: [{
|
|
686
|
+
start: {
|
|
687
|
+
line: 16,
|
|
688
|
+
column: 15
|
|
689
|
+
},
|
|
690
|
+
end: {
|
|
691
|
+
line: 16,
|
|
692
|
+
column: 17
|
|
693
|
+
}
|
|
694
|
+
}],
|
|
695
|
+
line: 16
|
|
696
|
+
},
|
|
697
|
+
"2": {
|
|
698
|
+
loc: {
|
|
699
|
+
start: {
|
|
700
|
+
line: 17,
|
|
701
|
+
column: 2
|
|
702
|
+
},
|
|
703
|
+
end: {
|
|
704
|
+
line: 17,
|
|
705
|
+
column: 20
|
|
706
|
+
}
|
|
707
|
+
},
|
|
708
|
+
type: "default-arg",
|
|
709
|
+
locations: [{
|
|
710
|
+
start: {
|
|
711
|
+
line: 17,
|
|
712
|
+
column: 18
|
|
713
|
+
},
|
|
714
|
+
end: {
|
|
715
|
+
line: 17,
|
|
716
|
+
column: 20
|
|
717
|
+
}
|
|
718
|
+
}],
|
|
719
|
+
line: 17
|
|
720
|
+
},
|
|
721
|
+
"3": {
|
|
722
|
+
loc: {
|
|
723
|
+
start: {
|
|
724
|
+
line: 18,
|
|
725
|
+
column: 2
|
|
726
|
+
},
|
|
727
|
+
end: {
|
|
728
|
+
line: 18,
|
|
729
|
+
column: 19
|
|
730
|
+
}
|
|
731
|
+
},
|
|
732
|
+
type: "default-arg",
|
|
733
|
+
locations: [{
|
|
734
|
+
start: {
|
|
735
|
+
line: 18,
|
|
736
|
+
column: 17
|
|
737
|
+
},
|
|
738
|
+
end: {
|
|
739
|
+
line: 18,
|
|
740
|
+
column: 19
|
|
741
|
+
}
|
|
742
|
+
}],
|
|
743
|
+
line: 18
|
|
744
|
+
},
|
|
745
|
+
"4": {
|
|
746
|
+
loc: {
|
|
747
|
+
start: {
|
|
748
|
+
line: 19,
|
|
749
|
+
column: 2
|
|
750
|
+
},
|
|
751
|
+
end: {
|
|
752
|
+
line: 19,
|
|
753
|
+
column: 22
|
|
754
|
+
}
|
|
755
|
+
},
|
|
756
|
+
type: "default-arg",
|
|
757
|
+
locations: [{
|
|
758
|
+
start: {
|
|
759
|
+
line: 19,
|
|
760
|
+
column: 17
|
|
761
|
+
},
|
|
762
|
+
end: {
|
|
763
|
+
line: 19,
|
|
764
|
+
column: 22
|
|
765
|
+
}
|
|
766
|
+
}],
|
|
767
|
+
line: 19
|
|
768
|
+
},
|
|
769
|
+
"5": {
|
|
770
|
+
loc: {
|
|
771
|
+
start: {
|
|
772
|
+
line: 20,
|
|
773
|
+
column: 2
|
|
774
|
+
},
|
|
775
|
+
end: {
|
|
776
|
+
line: 20,
|
|
777
|
+
column: 22
|
|
778
|
+
}
|
|
779
|
+
},
|
|
780
|
+
type: "default-arg",
|
|
781
|
+
locations: [{
|
|
782
|
+
start: {
|
|
783
|
+
line: 20,
|
|
784
|
+
column: 20
|
|
785
|
+
},
|
|
786
|
+
end: {
|
|
787
|
+
line: 20,
|
|
788
|
+
column: 22
|
|
789
|
+
}
|
|
790
|
+
}],
|
|
791
|
+
line: 20
|
|
792
|
+
},
|
|
793
|
+
"6": {
|
|
794
|
+
loc: {
|
|
795
|
+
start: {
|
|
796
|
+
line: 21,
|
|
797
|
+
column: 2
|
|
798
|
+
},
|
|
799
|
+
end: {
|
|
800
|
+
line: 21,
|
|
801
|
+
column: 65
|
|
802
|
+
}
|
|
803
|
+
},
|
|
804
|
+
type: "default-arg",
|
|
805
|
+
locations: [{
|
|
806
|
+
start: {
|
|
807
|
+
line: 21,
|
|
808
|
+
column: 20
|
|
809
|
+
},
|
|
810
|
+
end: {
|
|
811
|
+
line: 21,
|
|
812
|
+
column: 65
|
|
813
|
+
}
|
|
814
|
+
}],
|
|
815
|
+
line: 21
|
|
816
|
+
},
|
|
817
|
+
"7": {
|
|
818
|
+
loc: {
|
|
819
|
+
start: {
|
|
820
|
+
line: 22,
|
|
821
|
+
column: 2
|
|
822
|
+
},
|
|
823
|
+
end: {
|
|
824
|
+
line: 22,
|
|
825
|
+
column: 21
|
|
826
|
+
}
|
|
827
|
+
},
|
|
828
|
+
type: "default-arg",
|
|
829
|
+
locations: [{
|
|
830
|
+
start: {
|
|
831
|
+
line: 22,
|
|
832
|
+
column: 13
|
|
833
|
+
},
|
|
834
|
+
end: {
|
|
835
|
+
line: 22,
|
|
836
|
+
column: 21
|
|
837
|
+
}
|
|
838
|
+
}],
|
|
839
|
+
line: 22
|
|
840
|
+
},
|
|
841
|
+
"8": {
|
|
842
|
+
loc: {
|
|
843
|
+
start: {
|
|
844
|
+
line: 23,
|
|
845
|
+
column: 2
|
|
846
|
+
},
|
|
847
|
+
end: {
|
|
848
|
+
line: 23,
|
|
849
|
+
column: 18
|
|
850
|
+
}
|
|
851
|
+
},
|
|
852
|
+
type: "default-arg",
|
|
853
|
+
locations: [{
|
|
854
|
+
start: {
|
|
855
|
+
line: 23,
|
|
856
|
+
column: 16
|
|
857
|
+
},
|
|
858
|
+
end: {
|
|
859
|
+
line: 23,
|
|
860
|
+
column: 18
|
|
861
|
+
}
|
|
862
|
+
}],
|
|
863
|
+
line: 23
|
|
864
|
+
},
|
|
865
|
+
"9": {
|
|
866
|
+
loc: {
|
|
867
|
+
start: {
|
|
868
|
+
line: 36,
|
|
869
|
+
column: 4
|
|
870
|
+
},
|
|
871
|
+
end: {
|
|
872
|
+
line: 38,
|
|
873
|
+
column: 58
|
|
874
|
+
}
|
|
875
|
+
},
|
|
876
|
+
type: "cond-expr",
|
|
877
|
+
locations: [{
|
|
878
|
+
start: {
|
|
879
|
+
line: 37,
|
|
880
|
+
column: 8
|
|
881
|
+
},
|
|
882
|
+
end: {
|
|
883
|
+
line: 37,
|
|
884
|
+
column: 61
|
|
885
|
+
}
|
|
886
|
+
}, {
|
|
887
|
+
start: {
|
|
888
|
+
line: 38,
|
|
889
|
+
column: 8
|
|
890
|
+
},
|
|
891
|
+
end: {
|
|
892
|
+
line: 38,
|
|
893
|
+
column: 58
|
|
894
|
+
}
|
|
895
|
+
}],
|
|
896
|
+
line: 36
|
|
897
|
+
},
|
|
898
|
+
"10": {
|
|
899
|
+
loc: {
|
|
900
|
+
start: {
|
|
901
|
+
line: 67,
|
|
902
|
+
column: 13
|
|
903
|
+
},
|
|
904
|
+
end: {
|
|
905
|
+
line: 78,
|
|
906
|
+
column: 13
|
|
907
|
+
}
|
|
908
|
+
},
|
|
909
|
+
type: "binary-expr",
|
|
910
|
+
locations: [{
|
|
911
|
+
start: {
|
|
912
|
+
line: 67,
|
|
913
|
+
column: 13
|
|
914
|
+
},
|
|
915
|
+
end: {
|
|
916
|
+
line: 67,
|
|
917
|
+
column: 25
|
|
918
|
+
}
|
|
919
|
+
}, {
|
|
920
|
+
start: {
|
|
921
|
+
line: 68,
|
|
922
|
+
column: 14
|
|
923
|
+
},
|
|
924
|
+
end: {
|
|
925
|
+
line: 77,
|
|
926
|
+
column: 16
|
|
927
|
+
}
|
|
928
|
+
}],
|
|
929
|
+
line: 67
|
|
930
|
+
},
|
|
931
|
+
"11": {
|
|
932
|
+
loc: {
|
|
933
|
+
start: {
|
|
934
|
+
line: 79,
|
|
935
|
+
column: 13
|
|
936
|
+
},
|
|
937
|
+
end: {
|
|
938
|
+
line: 102,
|
|
939
|
+
column: 13
|
|
940
|
+
}
|
|
941
|
+
},
|
|
942
|
+
type: "cond-expr",
|
|
943
|
+
locations: [{
|
|
944
|
+
start: {
|
|
945
|
+
line: 80,
|
|
946
|
+
column: 14
|
|
947
|
+
},
|
|
948
|
+
end: {
|
|
949
|
+
line: 97,
|
|
950
|
+
column: 16
|
|
951
|
+
}
|
|
952
|
+
}, {
|
|
953
|
+
start: {
|
|
954
|
+
line: 99,
|
|
955
|
+
column: 14
|
|
956
|
+
},
|
|
957
|
+
end: {
|
|
958
|
+
line: 101,
|
|
959
|
+
column: 21
|
|
960
|
+
}
|
|
961
|
+
}],
|
|
962
|
+
line: 79
|
|
963
|
+
},
|
|
964
|
+
"12": {
|
|
965
|
+
loc: {
|
|
966
|
+
start: {
|
|
967
|
+
line: 103,
|
|
968
|
+
column: 13
|
|
969
|
+
},
|
|
970
|
+
end: {
|
|
971
|
+
line: 108,
|
|
972
|
+
column: 13
|
|
973
|
+
}
|
|
974
|
+
},
|
|
975
|
+
type: "binary-expr",
|
|
976
|
+
locations: [{
|
|
977
|
+
start: {
|
|
978
|
+
line: 103,
|
|
979
|
+
column: 13
|
|
980
|
+
},
|
|
981
|
+
end: {
|
|
982
|
+
line: 103,
|
|
983
|
+
column: 26
|
|
984
|
+
}
|
|
985
|
+
}, {
|
|
986
|
+
start: {
|
|
987
|
+
line: 104,
|
|
988
|
+
column: 14
|
|
989
|
+
},
|
|
990
|
+
end: {
|
|
991
|
+
line: 107,
|
|
992
|
+
column: 17
|
|
993
|
+
}
|
|
994
|
+
}],
|
|
995
|
+
line: 103
|
|
996
|
+
}
|
|
997
|
+
},
|
|
998
|
+
s: {
|
|
999
|
+
"0": 0,
|
|
1000
|
+
"1": 0,
|
|
1001
|
+
"2": 0,
|
|
1002
|
+
"3": 0,
|
|
1003
|
+
"4": 0,
|
|
1004
|
+
"5": 0,
|
|
1005
|
+
"6": 0,
|
|
1006
|
+
"7": 0,
|
|
1007
|
+
"8": 0,
|
|
1008
|
+
"9": 0,
|
|
1009
|
+
"10": 0,
|
|
1010
|
+
"11": 0,
|
|
1011
|
+
"12": 0,
|
|
1012
|
+
"13": 0,
|
|
1013
|
+
"14": 0,
|
|
1014
|
+
"15": 0
|
|
1015
|
+
},
|
|
1016
|
+
f: {
|
|
1017
|
+
"0": 0,
|
|
1018
|
+
"1": 0,
|
|
1019
|
+
"2": 0,
|
|
1020
|
+
"3": 0,
|
|
1021
|
+
"4": 0,
|
|
1022
|
+
"5": 0
|
|
1023
|
+
},
|
|
1024
|
+
b: {
|
|
1025
|
+
"0": [0],
|
|
1026
|
+
"1": [0],
|
|
1027
|
+
"2": [0],
|
|
1028
|
+
"3": [0],
|
|
1029
|
+
"4": [0],
|
|
1030
|
+
"5": [0],
|
|
1031
|
+
"6": [0],
|
|
1032
|
+
"7": [0],
|
|
1033
|
+
"8": [0],
|
|
1034
|
+
"9": [0, 0],
|
|
1035
|
+
"10": [0, 0],
|
|
1036
|
+
"11": [0, 0],
|
|
1037
|
+
"12": [0, 0]
|
|
1038
|
+
},
|
|
1039
|
+
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
1040
|
+
hash: "a073b27c47692599de4a6dea8467014f75c0f886"
|
|
1041
|
+
};
|
|
1042
|
+
var coverage = global[gcv] || (global[gcv] = {});
|
|
1043
|
+
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
1044
|
+
coverage[path] = coverageData;
|
|
1045
|
+
}
|
|
1046
|
+
var actualCoverage = coverage[path];
|
|
1047
|
+
{
|
|
1048
|
+
// @ts-ignore
|
|
1049
|
+
cov_1nk47gzsi8 = function () {
|
|
1050
|
+
return actualCoverage;
|
|
1051
|
+
};
|
|
1052
|
+
}
|
|
1053
|
+
return actualCoverage;
|
|
1054
|
+
}
|
|
1055
|
+
cov_1nk47gzsi8();
|
|
1056
|
+
cov_1nk47gzsi8().s[0]++;
|
|
1057
|
+
var Columns = function Columns(_ref) {
|
|
1058
|
+
var actionBlock = _ref.actionBlock,
|
|
1059
|
+
_ref$checkboxProps = _ref.checkboxProps,
|
|
1060
|
+
checkboxProps = _ref$checkboxProps === void 0 ? (cov_1nk47gzsi8().b[0][0]++, {}) : _ref$checkboxProps,
|
|
1061
|
+
_ref$columnData = _ref.columnData,
|
|
1062
|
+
columnData = _ref$columnData === void 0 ? (cov_1nk47gzsi8().b[1][0]++, []) : _ref$columnData,
|
|
1063
|
+
_ref$dropdownProps = _ref.dropdownProps,
|
|
1064
|
+
dropdownProps = _ref$dropdownProps === void 0 ? (cov_1nk47gzsi8().b[2][0]++, {}) : _ref$dropdownProps,
|
|
1065
|
+
_ref$fixedColumns = _ref.fixedColumns,
|
|
1066
|
+
fixedColumns = _ref$fixedColumns === void 0 ? (cov_1nk47gzsi8().b[3][0]++, []) : _ref$fixedColumns,
|
|
1067
|
+
_ref$isSearchable = _ref.isSearchable,
|
|
1068
|
+
isSearchable = _ref$isSearchable === void 0 ? (cov_1nk47gzsi8().b[4][0]++, false) : _ref$isSearchable,
|
|
1069
|
+
_ref$localStorageKey = _ref.localStorageKey,
|
|
1070
|
+
localStorageKey = _ref$localStorageKey === void 0 ? (cov_1nk47gzsi8().b[5][0]++, "") : _ref$localStorageKey,
|
|
1071
|
+
_ref$noColumnMessage = _ref.noColumnMessage,
|
|
1072
|
+
noColumnMessage = _ref$noColumnMessage === void 0 ? (cov_1nk47gzsi8().b[6][0]++, i18next__default["default"].t("neetoMolecules.columns.noColumns")) : _ref$noColumnMessage,
|
|
1073
|
+
_ref$onChange = _ref.onChange,
|
|
1074
|
+
onChange = _ref$onChange === void 0 ? (cov_1nk47gzsi8().b[7][0]++, ramda.identity) : _ref$onChange,
|
|
1075
|
+
_ref$searchProps = _ref.searchProps,
|
|
1076
|
+
searchProps = _ref$searchProps === void 0 ? (cov_1nk47gzsi8().b[8][0]++, {}) : _ref$searchProps;
|
|
1077
|
+
cov_1nk47gzsi8().f[0]++;
|
|
1078
|
+
var _ref2 = (cov_1nk47gzsi8().s[1]++, neetoui.Dropdown),
|
|
1079
|
+
Divider = _ref2.Divider,
|
|
1080
|
+
Menu = _ref2.Menu,
|
|
1081
|
+
MenuItem = _ref2.MenuItem;
|
|
1082
|
+
var _ref3 = (cov_1nk47gzsi8().s[2]++, reactUtils.useLocalStorage(localStorageKey, [])),
|
|
1083
|
+
_ref4 = _slicedToArray(_ref3, 2),
|
|
1084
|
+
hiddenColumns = _ref4[0],
|
|
1085
|
+
setHiddenColumns = _ref4[1];
|
|
1086
|
+
var _ref5 = (cov_1nk47gzsi8().s[3]++, React.useState("")),
|
|
1087
|
+
_ref6 = _slicedToArray(_ref5, 2),
|
|
1088
|
+
searchTerm = _ref6[0],
|
|
1089
|
+
setSearchTerm = _ref6[1];
|
|
1090
|
+
var columns = (cov_1nk47gzsi8().s[4]++, removeFixedColumns(fixedColumns, columnData));
|
|
1091
|
+
var filteredColumns = (cov_1nk47gzsi8().s[5]++, filterBySearchTerm(searchTerm, columns));
|
|
1092
|
+
cov_1nk47gzsi8().s[6]++;
|
|
1093
|
+
var handleChange = function handleChange(_ref7) {
|
|
1094
|
+
var _ref7$target = _ref7.target,
|
|
1095
|
+
dataIndex = _ref7$target.name,
|
|
1096
|
+
checked = _ref7$target.checked;
|
|
1097
|
+
cov_1nk47gzsi8().f[1]++;
|
|
1098
|
+
cov_1nk47gzsi8().s[7]++;
|
|
1099
|
+
return checked ? (cov_1nk47gzsi8().b[9][0]++, setHiddenColumns(ramda.without([dataIndex], hiddenColumns))) : (cov_1nk47gzsi8().b[9][1]++, setHiddenColumns(ramda.append(dataIndex, hiddenColumns)));
|
|
1100
|
+
};
|
|
1101
|
+
cov_1nk47gzsi8().s[8]++;
|
|
1102
|
+
var handleSearch = function handleSearch(_ref8) {
|
|
1103
|
+
var value = _ref8.target.value;
|
|
1104
|
+
cov_1nk47gzsi8().f[2]++;
|
|
1105
|
+
cov_1nk47gzsi8().s[9]++;
|
|
1106
|
+
return setSearchTerm(value);
|
|
1107
|
+
};
|
|
1108
|
+
cov_1nk47gzsi8().s[10]++;
|
|
1109
|
+
React.useEffect(function () {
|
|
1110
|
+
cov_1nk47gzsi8().f[3]++;
|
|
1111
|
+
cov_1nk47gzsi8().s[11]++;
|
|
1112
|
+
onChange(pure.removeBy({
|
|
1113
|
+
dataIndex: ramda.includes(ramda.__, hiddenColumns)
|
|
1114
|
+
}, columnData));
|
|
1115
|
+
}, [columnData, hiddenColumns]);
|
|
1116
|
+
var _ref9 = (cov_1nk47gzsi8().s[12]++, reactI18next.useTranslation()),
|
|
1117
|
+
t = _ref9.t;
|
|
1118
|
+
cov_1nk47gzsi8().s[13]++;
|
|
1119
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1120
|
+
className: "neeto-molecules-subheader__columns"
|
|
1121
|
+
}, /*#__PURE__*/React__default["default"].createElement(neetoui.Dropdown, _extends({
|
|
1122
|
+
buttonStyle: "text",
|
|
1123
|
+
closeOnSelect: false,
|
|
1124
|
+
position: "bottom-end",
|
|
1125
|
+
buttonProps: {
|
|
1126
|
+
icon: neetoIcons.Column,
|
|
1127
|
+
tooltipProps: {
|
|
1128
|
+
content: t("neetoMolecules.columns.columns"),
|
|
1129
|
+
position: "bottom"
|
|
1130
|
+
},
|
|
1131
|
+
"data-testid": "columns-button"
|
|
1132
|
+
},
|
|
1133
|
+
onClose: function onClose() {
|
|
1134
|
+
cov_1nk47gzsi8().f[4]++;
|
|
1135
|
+
cov_1nk47gzsi8().s[14]++;
|
|
1136
|
+
return setSearchTerm("");
|
|
1137
|
+
}
|
|
1138
|
+
}, dropdownProps), /*#__PURE__*/React__default["default"].createElement(Menu, null, /*#__PURE__*/React__default["default"].createElement("div", null, (cov_1nk47gzsi8().b[10][0]++, isSearchable) && (cov_1nk47gzsi8().b[10][1]++, /*#__PURE__*/React__default["default"].createElement(neetoui.Input, _extends({
|
|
1139
|
+
className: "neeto-ui-px-3 neeto-ui-py-2",
|
|
1140
|
+
"data-cy": "neeto-ui-columns-search",
|
|
1141
|
+
placeholder: t("neetoMolecules.columns.search"),
|
|
1142
|
+
prefix: /*#__PURE__*/React__default["default"].createElement(neetoIcons.Search, null),
|
|
1143
|
+
type: "search",
|
|
1144
|
+
value: searchTerm,
|
|
1145
|
+
onChange: handleSearch
|
|
1146
|
+
}, searchProps))), pure.isNotEmpty(filteredColumns) ? (cov_1nk47gzsi8().b[11][0]++, filteredColumns.map(function (_ref10) {
|
|
1147
|
+
var dataIndex = _ref10.dataIndex,
|
|
1148
|
+
key = _ref10.key,
|
|
1149
|
+
title = _ref10.title;
|
|
1150
|
+
cov_1nk47gzsi8().f[5]++;
|
|
1151
|
+
cov_1nk47gzsi8().s[15]++;
|
|
1152
|
+
return /*#__PURE__*/React__default["default"].createElement(MenuItem, {
|
|
1153
|
+
key: key
|
|
1154
|
+
}, /*#__PURE__*/React__default["default"].createElement(neetoui.Label, {
|
|
1155
|
+
className: "neeto-ui-w-full neeto-ui-px-3 neeto-ui-py-2 hover:neeto-ui-bg-gray-200 neeto-ui-cursor-pointer",
|
|
1156
|
+
htmlFor: dataIndex
|
|
1157
|
+
}, /*#__PURE__*/React__default["default"].createElement(neetoui.Checkbox, _extends({
|
|
1158
|
+
checked: !hiddenColumns.includes(dataIndex),
|
|
1159
|
+
"data-cy": "neeto-ui-columns-checkbox",
|
|
1160
|
+
id: dataIndex,
|
|
1161
|
+
label: title,
|
|
1162
|
+
name: dataIndex,
|
|
1163
|
+
onChange: handleChange
|
|
1164
|
+
}, checkboxProps))));
|
|
1165
|
+
})) : (cov_1nk47gzsi8().b[11][1]++, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
1166
|
+
className: "neeto-ui-flex neeto-ui-flex-col neeto-ui-items-center neeto-ui-p-2"
|
|
1167
|
+
}, noColumnMessage)), (cov_1nk47gzsi8().b[12][0]++, !!actionBlock) && (cov_1nk47gzsi8().b[12][1]++, /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement(Divider, null), actionBlock))))));
|
|
1168
|
+
};
|
|
1169
|
+
|
|
1170
|
+
function cov_td1jpvcmw() {
|
|
1171
|
+
var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/SubHeader/RightBlock/Download.jsx";
|
|
1172
|
+
var hash = "bfd5034300eaa044c3c9eed37cbd2988c7b9f42b";
|
|
1173
|
+
var global = new Function("return this")();
|
|
1174
|
+
var gcv = "__coverage__";
|
|
1175
|
+
var coverageData = {
|
|
1176
|
+
path: "/home/runner/work/neeto-molecules/neeto-molecules/src/components/SubHeader/RightBlock/Download.jsx",
|
|
1177
|
+
statementMap: {
|
|
1178
|
+
"0": {
|
|
1179
|
+
start: {
|
|
1180
|
+
line: 7,
|
|
1181
|
+
column: 23
|
|
1182
|
+
},
|
|
1183
|
+
end: {
|
|
1184
|
+
line: 29,
|
|
1185
|
+
column: 1
|
|
1186
|
+
}
|
|
1187
|
+
},
|
|
1188
|
+
"1": {
|
|
1189
|
+
start: {
|
|
1190
|
+
line: 8,
|
|
1191
|
+
column: 16
|
|
1192
|
+
},
|
|
1193
|
+
end: {
|
|
1194
|
+
line: 8,
|
|
1195
|
+
column: 32
|
|
1196
|
+
}
|
|
1197
|
+
},
|
|
1198
|
+
"2": {
|
|
1199
|
+
start: {
|
|
1200
|
+
line: 10,
|
|
1201
|
+
column: 2
|
|
1202
|
+
},
|
|
1203
|
+
end: {
|
|
1204
|
+
line: 28,
|
|
1205
|
+
column: 4
|
|
1206
|
+
}
|
|
1207
|
+
}
|
|
1208
|
+
},
|
|
1209
|
+
fnMap: {
|
|
1210
|
+
"0": {
|
|
1211
|
+
name: "(anonymous_0)",
|
|
1212
|
+
decl: {
|
|
1213
|
+
start: {
|
|
1214
|
+
line: 7,
|
|
1215
|
+
column: 23
|
|
1216
|
+
},
|
|
1217
|
+
end: {
|
|
1218
|
+
line: 7,
|
|
1219
|
+
column: 24
|
|
1220
|
+
}
|
|
1221
|
+
},
|
|
1222
|
+
loc: {
|
|
1223
|
+
start: {
|
|
1224
|
+
line: 7,
|
|
1225
|
+
column: 47
|
|
1226
|
+
},
|
|
1227
|
+
end: {
|
|
1228
|
+
line: 29,
|
|
1229
|
+
column: 1
|
|
1230
|
+
}
|
|
1231
|
+
},
|
|
1232
|
+
line: 7
|
|
1233
|
+
}
|
|
1234
|
+
},
|
|
1235
|
+
branchMap: {
|
|
1236
|
+
"0": {
|
|
1237
|
+
loc: {
|
|
1238
|
+
start: {
|
|
1239
|
+
line: 22,
|
|
1240
|
+
column: 7
|
|
1241
|
+
},
|
|
1242
|
+
end: {
|
|
1243
|
+
line: 26,
|
|
1244
|
+
column: 7
|
|
1245
|
+
}
|
|
1246
|
+
},
|
|
1247
|
+
type: "binary-expr",
|
|
1248
|
+
locations: [{
|
|
1249
|
+
start: {
|
|
1250
|
+
line: 22,
|
|
1251
|
+
column: 7
|
|
1252
|
+
},
|
|
1253
|
+
end: {
|
|
1254
|
+
line: 22,
|
|
1255
|
+
column: 12
|
|
1256
|
+
}
|
|
1257
|
+
}, {
|
|
1258
|
+
start: {
|
|
1259
|
+
line: 23,
|
|
1260
|
+
column: 8
|
|
1261
|
+
},
|
|
1262
|
+
end: {
|
|
1263
|
+
line: 25,
|
|
1264
|
+
column: 15
|
|
1265
|
+
}
|
|
1266
|
+
}],
|
|
1267
|
+
line: 22
|
|
1268
|
+
}
|
|
1269
|
+
},
|
|
1270
|
+
s: {
|
|
1271
|
+
"0": 0,
|
|
1272
|
+
"1": 0,
|
|
1273
|
+
"2": 0
|
|
1274
|
+
},
|
|
1275
|
+
f: {
|
|
1276
|
+
"0": 0
|
|
1277
|
+
},
|
|
1278
|
+
b: {
|
|
1279
|
+
"0": [0, 0]
|
|
1280
|
+
},
|
|
1281
|
+
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
1282
|
+
hash: "bfd5034300eaa044c3c9eed37cbd2988c7b9f42b"
|
|
1283
|
+
};
|
|
1284
|
+
var coverage = global[gcv] || (global[gcv] = {});
|
|
1285
|
+
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
1286
|
+
coverage[path] = coverageData;
|
|
1287
|
+
}
|
|
1288
|
+
var actualCoverage = coverage[path];
|
|
1289
|
+
{
|
|
1290
|
+
// @ts-ignore
|
|
1291
|
+
cov_td1jpvcmw = function () {
|
|
1292
|
+
return actualCoverage;
|
|
1293
|
+
};
|
|
1294
|
+
}
|
|
1295
|
+
return actualCoverage;
|
|
1296
|
+
}
|
|
1297
|
+
cov_td1jpvcmw();
|
|
1298
|
+
cov_td1jpvcmw().s[0]++;
|
|
1299
|
+
var DownloadButton = function DownloadButton(_ref) {
|
|
1300
|
+
var count = _ref.count,
|
|
1301
|
+
onClick = _ref.onClick;
|
|
1302
|
+
cov_td1jpvcmw().f[0]++;
|
|
1303
|
+
var _ref2 = (cov_td1jpvcmw().s[1]++, reactI18next.useTranslation()),
|
|
1304
|
+
t = _ref2.t;
|
|
1305
|
+
cov_td1jpvcmw().s[2]++;
|
|
1306
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1307
|
+
className: "neeto-molecules-subheader__download"
|
|
1308
|
+
}, /*#__PURE__*/React__default["default"].createElement(neetoui.Button, {
|
|
1309
|
+
"data-testid": "download-button",
|
|
1310
|
+
icon: neetoIcons.Download,
|
|
1311
|
+
style: "text",
|
|
1312
|
+
tooltipProps: {
|
|
1313
|
+
content: t("neetoMolecules.common.download"),
|
|
1314
|
+
position: "bottom"
|
|
1315
|
+
},
|
|
1316
|
+
onClick: onClick
|
|
1317
|
+
}), (cov_td1jpvcmw().b[0][0]++, count) && (cov_td1jpvcmw().b[0][1]++, /*#__PURE__*/React__default["default"].createElement("span", {
|
|
1318
|
+
className: "neeto-molecules-subheader__download-count"
|
|
1319
|
+
}, count)));
|
|
1320
|
+
};
|
|
1321
|
+
|
|
1322
|
+
function _typeof(obj) {
|
|
1323
|
+
"@babel/helpers - typeof";
|
|
1324
|
+
|
|
1325
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
|
1326
|
+
return typeof obj;
|
|
1327
|
+
} : function (obj) {
|
|
1328
|
+
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
1329
|
+
}, _typeof(obj);
|
|
1330
|
+
}
|
|
1331
|
+
|
|
1332
|
+
function _toPrimitive(input, hint) {
|
|
1333
|
+
if (_typeof(input) !== "object" || input === null) return input;
|
|
1334
|
+
var prim = input[Symbol.toPrimitive];
|
|
1335
|
+
if (prim !== undefined) {
|
|
1336
|
+
var res = prim.call(input, hint || "default");
|
|
1337
|
+
if (_typeof(res) !== "object") return res;
|
|
1338
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
1339
|
+
}
|
|
1340
|
+
return (hint === "string" ? String : Number)(input);
|
|
1341
|
+
}
|
|
1342
|
+
|
|
1343
|
+
function _toPropertyKey(arg) {
|
|
1344
|
+
var key = _toPrimitive(arg, "string");
|
|
1345
|
+
return _typeof(key) === "symbol" ? key : String(key);
|
|
1346
|
+
}
|
|
1347
|
+
|
|
1348
|
+
function _defineProperty(obj, key, value) {
|
|
1349
|
+
key = _toPropertyKey(key);
|
|
1350
|
+
if (key in obj) {
|
|
1351
|
+
Object.defineProperty(obj, key, {
|
|
1352
|
+
value: value,
|
|
1353
|
+
enumerable: true,
|
|
1354
|
+
configurable: true,
|
|
1355
|
+
writable: true
|
|
1356
|
+
});
|
|
1357
|
+
} else {
|
|
1358
|
+
obj[key] = value;
|
|
1359
|
+
}
|
|
1360
|
+
return obj;
|
|
1361
|
+
}
|
|
1362
|
+
|
|
1363
|
+
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
1364
|
+
if (source == null) return {};
|
|
1365
|
+
var target = {};
|
|
1366
|
+
var sourceKeys = Object.keys(source);
|
|
1367
|
+
var key, i;
|
|
1368
|
+
for (i = 0; i < sourceKeys.length; i++) {
|
|
1369
|
+
key = sourceKeys[i];
|
|
1370
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
1371
|
+
target[key] = source[key];
|
|
1372
|
+
}
|
|
1373
|
+
return target;
|
|
1374
|
+
}
|
|
1375
|
+
|
|
1376
|
+
function _objectWithoutProperties(source, excluded) {
|
|
1377
|
+
if (source == null) return {};
|
|
1378
|
+
var target = _objectWithoutPropertiesLoose(source, excluded);
|
|
1379
|
+
var key, i;
|
|
1380
|
+
if (Object.getOwnPropertySymbols) {
|
|
1381
|
+
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
1382
|
+
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
|
1383
|
+
key = sourceSymbolKeys[i];
|
|
1384
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
1385
|
+
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
1386
|
+
target[key] = source[key];
|
|
1387
|
+
}
|
|
1388
|
+
}
|
|
1389
|
+
return target;
|
|
1390
|
+
}
|
|
1391
|
+
|
|
1392
|
+
var _excluded = ["buttonProps"];
|
|
1393
|
+
function cov_m5zh4tynr() {
|
|
1394
|
+
var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/SubHeader/RightBlock/Filter.jsx";
|
|
1395
|
+
var hash = "ccf07ab7fbe2e20d51a0eb8a8009a0ad5956d118";
|
|
1396
|
+
var global = new Function("return this")();
|
|
1397
|
+
var gcv = "__coverage__";
|
|
1398
|
+
var coverageData = {
|
|
1399
|
+
path: "/home/runner/work/neeto-molecules/neeto-molecules/src/components/SubHeader/RightBlock/Filter.jsx",
|
|
1400
|
+
statementMap: {
|
|
1401
|
+
"0": {
|
|
1402
|
+
start: {
|
|
1403
|
+
line: 7,
|
|
1404
|
+
column: 21
|
|
1405
|
+
},
|
|
1406
|
+
end: {
|
|
1407
|
+
line: 28,
|
|
1408
|
+
column: 1
|
|
1409
|
+
}
|
|
1410
|
+
},
|
|
1411
|
+
"1": {
|
|
1412
|
+
start: {
|
|
1413
|
+
line: 8,
|
|
1414
|
+
column: 16
|
|
1415
|
+
},
|
|
1416
|
+
end: {
|
|
1417
|
+
line: 8,
|
|
1418
|
+
column: 32
|
|
1419
|
+
}
|
|
1420
|
+
},
|
|
1421
|
+
"2": {
|
|
1422
|
+
start: {
|
|
1423
|
+
line: 10,
|
|
1424
|
+
column: 2
|
|
1425
|
+
},
|
|
1426
|
+
end: {
|
|
1427
|
+
line: 27,
|
|
1428
|
+
column: 4
|
|
1429
|
+
}
|
|
1430
|
+
}
|
|
1431
|
+
},
|
|
1432
|
+
fnMap: {
|
|
1433
|
+
"0": {
|
|
1434
|
+
name: "(anonymous_0)",
|
|
1435
|
+
decl: {
|
|
1436
|
+
start: {
|
|
1437
|
+
line: 7,
|
|
1438
|
+
column: 21
|
|
1439
|
+
},
|
|
1440
|
+
end: {
|
|
1441
|
+
line: 7,
|
|
1442
|
+
column: 22
|
|
1443
|
+
}
|
|
1444
|
+
},
|
|
1445
|
+
loc: {
|
|
1446
|
+
start: {
|
|
1447
|
+
line: 7,
|
|
1448
|
+
column: 52
|
|
1449
|
+
},
|
|
1450
|
+
end: {
|
|
1451
|
+
line: 28,
|
|
1452
|
+
column: 1
|
|
1453
|
+
}
|
|
1454
|
+
},
|
|
1455
|
+
line: 7
|
|
1456
|
+
}
|
|
1457
|
+
},
|
|
1458
|
+
branchMap: {},
|
|
1459
|
+
s: {
|
|
1460
|
+
"0": 0,
|
|
1461
|
+
"1": 0,
|
|
1462
|
+
"2": 0
|
|
1463
|
+
},
|
|
1464
|
+
f: {
|
|
1465
|
+
"0": 0
|
|
1466
|
+
},
|
|
1467
|
+
b: {},
|
|
1468
|
+
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
1469
|
+
hash: "ccf07ab7fbe2e20d51a0eb8a8009a0ad5956d118"
|
|
1470
|
+
};
|
|
1471
|
+
var coverage = global[gcv] || (global[gcv] = {});
|
|
1472
|
+
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
1473
|
+
coverage[path] = coverageData;
|
|
1474
|
+
}
|
|
1475
|
+
var actualCoverage = coverage[path];
|
|
1476
|
+
{
|
|
1477
|
+
// @ts-ignore
|
|
1478
|
+
cov_m5zh4tynr = function () {
|
|
1479
|
+
return actualCoverage;
|
|
1480
|
+
};
|
|
1481
|
+
}
|
|
1482
|
+
return actualCoverage;
|
|
1483
|
+
}
|
|
1484
|
+
cov_m5zh4tynr();
|
|
1485
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
1486
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
1487
|
+
cov_m5zh4tynr().s[0]++;
|
|
1488
|
+
var FilterButton = function FilterButton(_ref) {
|
|
1489
|
+
var buttonProps = _ref.buttonProps,
|
|
1490
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
1491
|
+
cov_m5zh4tynr().f[0]++;
|
|
1492
|
+
var _ref2 = (cov_m5zh4tynr().s[1]++, reactI18next.useTranslation()),
|
|
1493
|
+
t = _ref2.t;
|
|
1494
|
+
cov_m5zh4tynr().s[2]++;
|
|
1495
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1496
|
+
className: "neeto-molecules-subheader__filter"
|
|
1497
|
+
}, /*#__PURE__*/React__default["default"].createElement(neetoFiltersFrontend.Filters, _extends({
|
|
1498
|
+
buttonProps: _objectSpread({
|
|
1499
|
+
"data-testid": "filter-button",
|
|
1500
|
+
icon: neetoIcons.Filter,
|
|
1501
|
+
style: "text",
|
|
1502
|
+
tooltipProps: {
|
|
1503
|
+
content: t("neetoMolecules.common.filter"),
|
|
1504
|
+
position: "bottom"
|
|
1505
|
+
},
|
|
1506
|
+
label: null
|
|
1507
|
+
}, buttonProps)
|
|
1508
|
+
}, props)));
|
|
1509
|
+
};
|
|
1510
|
+
|
|
1511
|
+
function cov_yp8t4aac1() {
|
|
1512
|
+
var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/SubHeader/RightBlock/index.jsx";
|
|
1513
|
+
var hash = "9cc82e2363692514f071479e9badda2e6c36b5c0";
|
|
1514
|
+
var global = new Function("return this")();
|
|
1515
|
+
var gcv = "__coverage__";
|
|
1516
|
+
var coverageData = {
|
|
1517
|
+
path: "/home/runner/work/neeto-molecules/neeto-molecules/src/components/SubHeader/RightBlock/index.jsx",
|
|
1518
|
+
statementMap: {
|
|
1519
|
+
"0": {
|
|
1520
|
+
start: {
|
|
1521
|
+
line: 7,
|
|
1522
|
+
column: 19
|
|
1523
|
+
},
|
|
1524
|
+
end: {
|
|
1525
|
+
line: 17,
|
|
1526
|
+
column: 1
|
|
1527
|
+
}
|
|
1528
|
+
},
|
|
1529
|
+
"1": {
|
|
1530
|
+
start: {
|
|
1531
|
+
line: 12,
|
|
1532
|
+
column: 2
|
|
1533
|
+
},
|
|
1534
|
+
end: {
|
|
1535
|
+
line: 16,
|
|
1536
|
+
column: 8
|
|
1537
|
+
}
|
|
1538
|
+
}
|
|
1539
|
+
},
|
|
1540
|
+
fnMap: {
|
|
1541
|
+
"0": {
|
|
1542
|
+
name: "(anonymous_0)",
|
|
1543
|
+
decl: {
|
|
1544
|
+
start: {
|
|
1545
|
+
line: 7,
|
|
1546
|
+
column: 19
|
|
1547
|
+
},
|
|
1548
|
+
end: {
|
|
1549
|
+
line: 7,
|
|
1550
|
+
column: 20
|
|
1551
|
+
}
|
|
1552
|
+
},
|
|
1553
|
+
loc: {
|
|
1554
|
+
start: {
|
|
1555
|
+
line: 12,
|
|
1556
|
+
column: 2
|
|
1557
|
+
},
|
|
1558
|
+
end: {
|
|
1559
|
+
line: 16,
|
|
1560
|
+
column: 8
|
|
1561
|
+
}
|
|
1562
|
+
},
|
|
1563
|
+
line: 12
|
|
1564
|
+
}
|
|
1565
|
+
},
|
|
1566
|
+
branchMap: {
|
|
1567
|
+
"0": {
|
|
1568
|
+
loc: {
|
|
1569
|
+
start: {
|
|
1570
|
+
line: 13,
|
|
1571
|
+
column: 5
|
|
1572
|
+
},
|
|
1573
|
+
end: {
|
|
1574
|
+
line: 13,
|
|
1575
|
+
column: 65
|
|
1576
|
+
}
|
|
1577
|
+
},
|
|
1578
|
+
type: "binary-expr",
|
|
1579
|
+
locations: [{
|
|
1580
|
+
start: {
|
|
1581
|
+
line: 13,
|
|
1582
|
+
column: 5
|
|
1583
|
+
},
|
|
1584
|
+
end: {
|
|
1585
|
+
line: 13,
|
|
1586
|
+
column: 24
|
|
1587
|
+
}
|
|
1588
|
+
}, {
|
|
1589
|
+
start: {
|
|
1590
|
+
line: 13,
|
|
1591
|
+
column: 28
|
|
1592
|
+
},
|
|
1593
|
+
end: {
|
|
1594
|
+
line: 13,
|
|
1595
|
+
column: 65
|
|
1596
|
+
}
|
|
1597
|
+
}],
|
|
1598
|
+
line: 13
|
|
1599
|
+
},
|
|
1600
|
+
"1": {
|
|
1601
|
+
loc: {
|
|
1602
|
+
start: {
|
|
1603
|
+
line: 14,
|
|
1604
|
+
column: 5
|
|
1605
|
+
},
|
|
1606
|
+
end: {
|
|
1607
|
+
line: 14,
|
|
1608
|
+
column: 62
|
|
1609
|
+
}
|
|
1610
|
+
},
|
|
1611
|
+
type: "binary-expr",
|
|
1612
|
+
locations: [{
|
|
1613
|
+
start: {
|
|
1614
|
+
line: 14,
|
|
1615
|
+
column: 5
|
|
1616
|
+
},
|
|
1617
|
+
end: {
|
|
1618
|
+
line: 14,
|
|
1619
|
+
column: 23
|
|
1620
|
+
}
|
|
1621
|
+
}, {
|
|
1622
|
+
start: {
|
|
1623
|
+
line: 14,
|
|
1624
|
+
column: 27
|
|
1625
|
+
},
|
|
1626
|
+
end: {
|
|
1627
|
+
line: 14,
|
|
1628
|
+
column: 62
|
|
1629
|
+
}
|
|
1630
|
+
}],
|
|
1631
|
+
line: 14
|
|
1632
|
+
},
|
|
1633
|
+
"2": {
|
|
1634
|
+
loc: {
|
|
1635
|
+
start: {
|
|
1636
|
+
line: 15,
|
|
1637
|
+
column: 5
|
|
1638
|
+
},
|
|
1639
|
+
end: {
|
|
1640
|
+
line: 15,
|
|
1641
|
+
column: 47
|
|
1642
|
+
}
|
|
1643
|
+
},
|
|
1644
|
+
type: "binary-expr",
|
|
1645
|
+
locations: [{
|
|
1646
|
+
start: {
|
|
1647
|
+
line: 15,
|
|
1648
|
+
column: 5
|
|
1649
|
+
},
|
|
1650
|
+
end: {
|
|
1651
|
+
line: 15,
|
|
1652
|
+
column: 16
|
|
1653
|
+
}
|
|
1654
|
+
}, {
|
|
1655
|
+
start: {
|
|
1656
|
+
line: 15,
|
|
1657
|
+
column: 20
|
|
1658
|
+
},
|
|
1659
|
+
end: {
|
|
1660
|
+
line: 15,
|
|
1661
|
+
column: 47
|
|
1662
|
+
}
|
|
1663
|
+
}],
|
|
1664
|
+
line: 15
|
|
1665
|
+
}
|
|
1666
|
+
},
|
|
1667
|
+
s: {
|
|
1668
|
+
"0": 0,
|
|
1669
|
+
"1": 0
|
|
1670
|
+
},
|
|
1671
|
+
f: {
|
|
1672
|
+
"0": 0
|
|
1673
|
+
},
|
|
1674
|
+
b: {
|
|
1675
|
+
"0": [0, 0],
|
|
1676
|
+
"1": [0, 0],
|
|
1677
|
+
"2": [0, 0]
|
|
1678
|
+
},
|
|
1679
|
+
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
1680
|
+
hash: "9cc82e2363692514f071479e9badda2e6c36b5c0"
|
|
1681
|
+
};
|
|
1682
|
+
var coverage = global[gcv] || (global[gcv] = {});
|
|
1683
|
+
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
1684
|
+
coverage[path] = coverageData;
|
|
1685
|
+
}
|
|
1686
|
+
var actualCoverage = coverage[path];
|
|
1687
|
+
{
|
|
1688
|
+
// @ts-ignore
|
|
1689
|
+
cov_yp8t4aac1 = function () {
|
|
1690
|
+
return actualCoverage;
|
|
1691
|
+
};
|
|
1692
|
+
}
|
|
1693
|
+
return actualCoverage;
|
|
1694
|
+
}
|
|
1695
|
+
cov_yp8t4aac1();
|
|
1696
|
+
cov_yp8t4aac1().s[0]++;
|
|
1697
|
+
var RightBlock = function RightBlock(_ref) {
|
|
1698
|
+
var downloadButtonProps = _ref.downloadButtonProps,
|
|
1699
|
+
columnsButtonProps = _ref.columnsButtonProps,
|
|
1700
|
+
filterProps = _ref.filterProps;
|
|
1701
|
+
cov_yp8t4aac1().f[0]++;
|
|
1702
|
+
cov_yp8t4aac1().s[1]++;
|
|
1703
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1704
|
+
className: "neeto-molecules-subheader__right-actions"
|
|
1705
|
+
}, (cov_yp8t4aac1().b[0][0]++, downloadButtonProps) && (cov_yp8t4aac1().b[0][1]++, /*#__PURE__*/React__default["default"].createElement(DownloadButton, downloadButtonProps)), (cov_yp8t4aac1().b[1][0]++, columnsButtonProps) && (cov_yp8t4aac1().b[1][1]++, /*#__PURE__*/React__default["default"].createElement(Columns, columnsButtonProps)), (cov_yp8t4aac1().b[2][0]++, filterProps) && (cov_yp8t4aac1().b[2][1]++, /*#__PURE__*/React__default["default"].createElement(FilterButton, filterProps)));
|
|
1706
|
+
};
|
|
1707
|
+
|
|
70
1708
|
var e=[],t=[];function n(n,r){if(n&&"undefined"!=typeof document){var a,s=!0===r.prepend?"prepend":"append",d=!0===r.singleTag,i="string"==typeof r.container?document.querySelector(r.container):document.getElementsByTagName("head")[0];if(d){var u=e.indexOf(i);-1===u&&(u=e.push(i)-1,t[u]={}),a=t[u]&&t[u][s]?t[u][s]:t[u][s]=c();}else a=c();65279===n.charCodeAt(0)&&(n=n.substring(1)),a.styleSheet?a.styleSheet.cssText+=n:a.appendChild(document.createTextNode(n));}function c(){var e=document.createElement("style");if(e.setAttribute("type","text/css"),r.attributes)for(var t=Object.keys(r.attributes),n=0;n<t.length;n++)e.setAttribute(t[n],r.attributes[t[n]]);var a="prepend"===s?"afterbegin":"beforeend";return i.insertAdjacentElement(a,e),e}}
|
|
71
1709
|
|
|
72
|
-
var css = ".neeto-molecules-subheader{align-items:center;background-color:rgb(var(--neeto-ui-white));display:flex;flex-direction:row;justify-content:space-between;margin-bottom:var(--neeto-ui-sub-header-bottom-margin);min-height:var(--neeto-ui-sub-header-height);width:100%}.neeto-molecules-subheader .neeto-molecules-subheader__left-wrapper{display:flex;flex-grow:1}.neeto-molecules-subheader .neeto-molecules-subheader__left-wrapper .neeto-molecules-subheader__left{align-items:center;display:flex;flex-direction:row;justify-content:flex-start}.neeto-molecules-subheader .neeto-molecules-subheader__left-wrapper .neeto-molecules-subheader__left .neeto-molecules-input__prefix{color:rgb(var(--neeto-ui-gray-400))}.neeto-molecules-subheader .neeto-molecules-subheader__right{align-items:center;display:flex;flex-direction:row;gap:12px;justify-content:flex-end}";
|
|
1710
|
+
var css = ".neeto-molecules-subheader{align-items:center;background-color:rgb(var(--neeto-ui-white));display:flex;flex-direction:row;justify-content:space-between;margin-bottom:var(--neeto-ui-sub-header-bottom-margin);min-height:var(--neeto-ui-sub-header-height);width:100%}.neeto-molecules-subheader .neeto-molecules-subheader__left-wrapper{display:flex;flex-grow:1}.neeto-molecules-subheader .neeto-molecules-subheader__left-wrapper .neeto-molecules-subheader__left{align-items:center;display:flex;flex-direction:row;justify-content:flex-start}.neeto-molecules-subheader .neeto-molecules-subheader__left-wrapper .neeto-molecules-subheader__left .neeto-molecules-input__prefix{color:rgb(var(--neeto-ui-gray-400))}.neeto-molecules-subheader .neeto-molecules-subheader__right{align-items:center;display:flex;flex-direction:row;gap:12px;justify-content:flex-end}.neeto-molecules-subheader .neeto-molecules-subheader__right-actions{align-items:center;display:flex;flex-direction:row;gap:8px;justify-content:flex-end}.neeto-molecules-subheader .neeto-molecules-subheader__right-actions>:not([hidden])~:not([hidden]){border-left:thin solid rgb(var(--neeto-ui-gray-300));padding-left:8px}.neeto-molecules-subheader__download{position:relative}.neeto-molecules-subheader__download-count{align-items:center;background-color:rgb(var(--neeto-ui-primary-500));border-radius:var(--neeto-ui-rounded-full);color:rgb(var(--neeto-ui-white));display:inline-flex;font-size:10px;justify-content:center;min-height:16px;min-width:16px;position:absolute;right:-2px;text-align:center;top:-2px;z-index:1}";
|
|
73
1711
|
n(css,{});
|
|
74
1712
|
|
|
75
1713
|
function cov_mkycqaehe() {
|
|
76
1714
|
var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/SubHeader/index.jsx";
|
|
77
|
-
var hash = "
|
|
1715
|
+
var hash = "f99fde5ef8dd8b7cb1893834760b2fabb55416b1";
|
|
78
1716
|
var global = new Function("return this")();
|
|
79
1717
|
var gcv = "__coverage__";
|
|
80
1718
|
var coverageData = {
|
|
@@ -82,23 +1720,33 @@ function cov_mkycqaehe() {
|
|
|
82
1720
|
statementMap: {
|
|
83
1721
|
"0": {
|
|
84
1722
|
start: {
|
|
85
|
-
line:
|
|
1723
|
+
line: 8,
|
|
86
1724
|
column: 18
|
|
87
1725
|
},
|
|
88
1726
|
end: {
|
|
89
|
-
line:
|
|
1727
|
+
line: 22,
|
|
90
1728
|
column: 1
|
|
91
1729
|
}
|
|
92
1730
|
},
|
|
93
1731
|
"1": {
|
|
94
1732
|
start: {
|
|
95
|
-
line:
|
|
1733
|
+
line: 9,
|
|
96
1734
|
column: 2
|
|
97
1735
|
},
|
|
98
1736
|
end: {
|
|
99
|
-
line:
|
|
1737
|
+
line: 21,
|
|
100
1738
|
column: 8
|
|
101
1739
|
}
|
|
1740
|
+
},
|
|
1741
|
+
"2": {
|
|
1742
|
+
start: {
|
|
1743
|
+
line: 24,
|
|
1744
|
+
column: 0
|
|
1745
|
+
},
|
|
1746
|
+
end: {
|
|
1747
|
+
line: 24,
|
|
1748
|
+
column: 34
|
|
1749
|
+
}
|
|
102
1750
|
}
|
|
103
1751
|
},
|
|
104
1752
|
fnMap: {
|
|
@@ -106,122 +1754,123 @@ function cov_mkycqaehe() {
|
|
|
106
1754
|
name: "(anonymous_0)",
|
|
107
1755
|
decl: {
|
|
108
1756
|
start: {
|
|
109
|
-
line:
|
|
1757
|
+
line: 8,
|
|
110
1758
|
column: 18
|
|
111
1759
|
},
|
|
112
1760
|
end: {
|
|
113
|
-
line:
|
|
1761
|
+
line: 8,
|
|
114
1762
|
column: 19
|
|
115
1763
|
}
|
|
116
1764
|
},
|
|
117
1765
|
loc: {
|
|
118
1766
|
start: {
|
|
119
|
-
line:
|
|
1767
|
+
line: 9,
|
|
120
1768
|
column: 2
|
|
121
1769
|
},
|
|
122
1770
|
end: {
|
|
123
|
-
line:
|
|
1771
|
+
line: 21,
|
|
124
1772
|
column: 8
|
|
125
1773
|
}
|
|
126
1774
|
},
|
|
127
|
-
line:
|
|
1775
|
+
line: 9
|
|
128
1776
|
}
|
|
129
1777
|
},
|
|
130
1778
|
branchMap: {
|
|
131
1779
|
"0": {
|
|
132
1780
|
loc: {
|
|
133
1781
|
start: {
|
|
134
|
-
line:
|
|
1782
|
+
line: 8,
|
|
135
1783
|
column: 21
|
|
136
1784
|
},
|
|
137
1785
|
end: {
|
|
138
|
-
line:
|
|
1786
|
+
line: 8,
|
|
139
1787
|
column: 35
|
|
140
1788
|
}
|
|
141
1789
|
},
|
|
142
1790
|
type: "default-arg",
|
|
143
1791
|
locations: [{
|
|
144
1792
|
start: {
|
|
145
|
-
line:
|
|
1793
|
+
line: 8,
|
|
146
1794
|
column: 33
|
|
147
1795
|
},
|
|
148
1796
|
end: {
|
|
149
|
-
line:
|
|
1797
|
+
line: 8,
|
|
150
1798
|
column: 35
|
|
151
1799
|
}
|
|
152
1800
|
}],
|
|
153
|
-
line:
|
|
1801
|
+
line: 8
|
|
154
1802
|
},
|
|
155
1803
|
"1": {
|
|
156
1804
|
loc: {
|
|
157
1805
|
start: {
|
|
158
|
-
line:
|
|
1806
|
+
line: 14,
|
|
159
1807
|
column: 7
|
|
160
1808
|
},
|
|
161
1809
|
end: {
|
|
162
|
-
line:
|
|
1810
|
+
line: 16,
|
|
163
1811
|
column: 7
|
|
164
1812
|
}
|
|
165
1813
|
},
|
|
166
1814
|
type: "binary-expr",
|
|
167
1815
|
locations: [{
|
|
168
1816
|
start: {
|
|
169
|
-
line:
|
|
1817
|
+
line: 14,
|
|
170
1818
|
column: 7
|
|
171
1819
|
},
|
|
172
1820
|
end: {
|
|
173
|
-
line:
|
|
1821
|
+
line: 14,
|
|
174
1822
|
column: 22
|
|
175
1823
|
}
|
|
176
1824
|
}, {
|
|
177
1825
|
start: {
|
|
178
|
-
line:
|
|
1826
|
+
line: 15,
|
|
179
1827
|
column: 8
|
|
180
1828
|
},
|
|
181
1829
|
end: {
|
|
182
|
-
line:
|
|
1830
|
+
line: 15,
|
|
183
1831
|
column: 80
|
|
184
1832
|
}
|
|
185
1833
|
}],
|
|
186
|
-
line:
|
|
1834
|
+
line: 14
|
|
187
1835
|
},
|
|
188
1836
|
"2": {
|
|
189
1837
|
loc: {
|
|
190
1838
|
start: {
|
|
191
|
-
line:
|
|
1839
|
+
line: 18,
|
|
192
1840
|
column: 5
|
|
193
1841
|
},
|
|
194
1842
|
end: {
|
|
195
|
-
line:
|
|
1843
|
+
line: 20,
|
|
196
1844
|
column: 5
|
|
197
1845
|
}
|
|
198
1846
|
},
|
|
199
1847
|
type: "binary-expr",
|
|
200
1848
|
locations: [{
|
|
201
1849
|
start: {
|
|
202
|
-
line:
|
|
1850
|
+
line: 18,
|
|
203
1851
|
column: 5
|
|
204
1852
|
},
|
|
205
1853
|
end: {
|
|
206
|
-
line:
|
|
1854
|
+
line: 18,
|
|
207
1855
|
column: 21
|
|
208
1856
|
}
|
|
209
1857
|
}, {
|
|
210
1858
|
start: {
|
|
211
|
-
line:
|
|
1859
|
+
line: 19,
|
|
212
1860
|
column: 6
|
|
213
1861
|
},
|
|
214
1862
|
end: {
|
|
215
|
-
line:
|
|
1863
|
+
line: 19,
|
|
216
1864
|
column: 80
|
|
217
1865
|
}
|
|
218
1866
|
}],
|
|
219
|
-
line:
|
|
1867
|
+
line: 18
|
|
220
1868
|
}
|
|
221
1869
|
},
|
|
222
1870
|
s: {
|
|
223
1871
|
"0": 0,
|
|
224
|
-
"1": 0
|
|
1872
|
+
"1": 0,
|
|
1873
|
+
"2": 0
|
|
225
1874
|
},
|
|
226
1875
|
f: {
|
|
227
1876
|
"0": 0
|
|
@@ -232,7 +1881,7 @@ function cov_mkycqaehe() {
|
|
|
232
1881
|
"2": [0, 0]
|
|
233
1882
|
},
|
|
234
1883
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
235
|
-
hash: "
|
|
1884
|
+
hash: "f99fde5ef8dd8b7cb1893834760b2fabb55416b1"
|
|
236
1885
|
};
|
|
237
1886
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
238
1887
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -267,6 +1916,8 @@ var SubHeader = function SubHeader(_ref) {
|
|
|
267
1916
|
className: "neeto-molecules-subheader__right"
|
|
268
1917
|
}, rightActionBlock)));
|
|
269
1918
|
};
|
|
1919
|
+
cov_mkycqaehe().s[2]++;
|
|
1920
|
+
SubHeader.RightBlock = RightBlock;
|
|
270
1921
|
|
|
271
1922
|
module.exports = SubHeader;
|
|
272
1923
|
//# sourceMappingURL=SubHeader.cjs.js.map
|