@bigbinary/neeto-molecules 1.0.25 → 1.0.26

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.
@@ -1,17 +1,18 @@
1
- import React, { forwardRef, useRef, useState, useEffect } from 'react';
2
- import { removeBy, isNotEmpty, snakeToCamelCase } from '@bigbinary/neeto-commons-frontend/pure';
3
- import { useLocalStorage, useDebounce } from '@bigbinary/neeto-commons-frontend/react-utils';
4
- import { Typography, Dropdown as Dropdown$1, Button, Input, Label, Checkbox, Tag, Callout, Pane, Table, NoData, Alert } from '@bigbinary/neetoui';
1
+ import React, { forwardRef, useRef, useState } from 'react';
2
+ import { snakeToCamelCase, isNotEmpty } from '@bigbinary/neeto-commons-frontend/pure';
3
+ import { useDebounce } from '@bigbinary/neeto-commons-frontend/react-utils';
4
+ import { Typography, Dropdown as Dropdown$1, Button, Input, Tag, Callout, Pane, Label, Table, NoData, Alert } from '@bigbinary/neetoui';
5
5
  import { useTranslation, Trans } from 'react-i18next';
6
6
  import { Right, MenuVertical, HamburgerMenu, Search, Column, Download, Filter, MenuHorizontal, Info, Copy, Check } from '@bigbinary/neeto-icons';
7
- import { isEmpty, includes, __, filter, trim, toLower, identity, without, append } from 'ramda';
7
+ import { isEmpty } from 'ramda';
8
8
  import { Link } from 'react-router-dom';
9
9
  import { Neeto } from '@bigbinary/neeto-icons/logos';
10
- import i18next, { t as t$1 } from 'i18next';
10
+ import ManageColumns from '@bigbinary/neeto-molecules/Columns';
11
11
  import { Filters } from '@bigbinary/neeto-filters-frontend';
12
12
  import { Formik, Form } from 'formik';
13
13
  import { Input as Input$1 } from '@bigbinary/neetoui/formik';
14
14
  import { joinHyphenCase, copyToClipboard, timeFormat } from '@bigbinary/neeto-commons-frontend/utils';
15
+ import { t as t$1 } from 'i18next';
15
16
  import * as Yup from 'yup';
16
17
  import { useQueryClient, useMutation, useQuery } from 'react-query';
17
18
  import axios from 'axios';
@@ -467,7 +468,7 @@ function _objectWithoutProperties(source, excluded) {
467
468
  return target;
468
469
  }
469
470
 
470
- var _excluded$2 = ["children"];
471
+ var _excluded$3 = ["children"];
471
472
  function cov_1d9vaefr1a() {
472
473
  var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/Header/Dropdown.jsx";
473
474
  var hash = "57d665dbaab5aa76c0b57bedd85469275a9f6867";
@@ -553,7 +554,7 @@ cov_1d9vaefr1a().s[0]++;
553
554
  var Dropdown = function Dropdown(_ref) {
554
555
  var _ref$dropdownProps = _ref.dropdownProps,
555
556
  children = _ref$dropdownProps.children,
556
- otherProps = _objectWithoutProperties(_ref$dropdownProps, _excluded$2);
557
+ otherProps = _objectWithoutProperties(_ref$dropdownProps, _excluded$3);
557
558
  cov_1d9vaefr1a().f[0]++;
558
559
  cov_1d9vaefr1a().s[1]++;
559
560
  return /*#__PURE__*/React.createElement(Dropdown$1, _extends({
@@ -902,7 +903,7 @@ var Header = function Header(_ref) {
902
903
  var css$1 = ".neeto-molecules-pageloader__wrapper{height:100%;position:relative;width:100%}.neeto-molecules-pageloader__wrapper .neeto-molecules-pageloader{height:100%;left:0;position:absolute;top:0;width:100%}.neeto-molecules-pageloader__wrapper .neeto-molecules-pageloader__content{height:66px;margin-bottom:16px;overflow:hidden;padding:8px;position:relative;width:66px}.neeto-molecules-pageloader__wrapper .neeto-molecules-pageloader__text{color:rgb(var(--neeto-ui-gray-800));font-size:1.25rem;line-height:1.75rem;margin-bottom:4rem;text-align:center}.neeto-molecules-pageloader__spinner{display:flex;gap:2px;height:25px;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}.neeto-molecules-pageloader__spinner>div{animation:neeto-ui-stretch-delay 1.2s ease-in-out infinite;background-color:#fff;border-radius:2px;display:inline-flex;height:100%;width:2px}.neeto-molecules-pageloader__spinner .neeto-molecules-pageloader__rect2{animation-delay:-1.1s}.neeto-molecules-pageloader__spinner .neeto-molecules-pageloader__rect3{animation-delay:-1s}.neeto-molecules-pageloader__spinner .neeto-molecules-pageloader__rect4{animation-delay:-.9s}.neeto-molecules-pageloader__spinner .neeto-molecules-pageloader__rect5{animation-delay:-.8s}@keyframes neeto-ui-stretch-delay{0%,40%,to{transform:scaleY(.4);-webkit-transform:scaleY(.4)}20%{transform:scaleY(1);-webkit-transform:scaleY(1)}}";
903
904
  n(css$1,{});
904
905
 
905
- var _excluded$1 = ["text"];
906
+ var _excluded$2 = ["text"];
906
907
  function cov_1rnptrlqih() {
907
908
  var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/PageLoader/index.jsx";
908
909
  var hash = "40cda882f932d7a0fcac6bc5ec150d93c0420b62";
@@ -1060,7 +1061,7 @@ cov_1rnptrlqih().s[0]++;
1060
1061
  var PageLoader = function PageLoader(_ref) {
1061
1062
  var _ref$text = _ref.text,
1062
1063
  text = _ref$text === void 0 ? (cov_1rnptrlqih().b[0][0]++, "") : _ref$text,
1063
- otherProps = _objectWithoutProperties(_ref, _excluded$1);
1064
+ otherProps = _objectWithoutProperties(_ref, _excluded$2);
1064
1065
  cov_1rnptrlqih().f[0]++;
1065
1066
  cov_1rnptrlqih().s[1]++;
1066
1067
  return /*#__PURE__*/React.createElement("div", _extends({
@@ -1091,193 +1092,52 @@ var PageLoader = function PageLoader(_ref) {
1091
1092
  };
1092
1093
  cov_1rnptrlqih().s[2]++;
1093
1094
 
1094
- function cov_1ceek736tr() {
1095
- var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/SubHeader/RightBlock/utils.js";
1096
- var hash = "4e99c4492583af7874430eafb0a0c33e80d44e9d";
1097
- var global = new Function("return this")();
1098
- var gcv = "__coverage__";
1099
- var coverageData = {
1100
- path: "/home/runner/work/neeto-molecules/neeto-molecules/src/components/SubHeader/RightBlock/utils.js",
1101
- statementMap: {
1102
- "0": {
1103
- start: {
1104
- line: 4,
1105
- column: 34
1106
- },
1107
- end: {
1108
- line: 5,
1109
- column: 65
1110
- }
1111
- },
1112
- "1": {
1113
- start: {
1114
- line: 5,
1115
- column: 2
1116
- },
1117
- end: {
1118
- line: 5,
1119
- column: 65
1120
- }
1121
- },
1122
- "2": {
1123
- start: {
1124
- line: 7,
1125
- column: 34
1126
- },
1127
- end: {
1128
- line: 11,
1129
- column: 3
1130
- }
1131
- },
1132
- "3": {
1133
- start: {
1134
- line: 8,
1135
- column: 2
1136
- },
1137
- end: {
1138
- line: 11,
1139
- column: 3
1140
- }
1141
- },
1142
- "4": {
1143
- start: {
1144
- line: 9,
1145
- column: 19
1146
- },
1147
- end: {
1148
- line: 9,
1149
- column: 76
1150
- }
1151
- }
1152
- },
1153
- fnMap: {
1154
- "0": {
1155
- name: "(anonymous_0)",
1156
- decl: {
1157
- start: {
1158
- line: 4,
1159
- column: 34
1160
- },
1161
- end: {
1162
- line: 4,
1163
- column: 35
1164
- }
1165
- },
1166
- loc: {
1167
- start: {
1168
- line: 5,
1169
- column: 2
1170
- },
1171
- end: {
1172
- line: 5,
1173
- column: 65
1174
- }
1175
- },
1176
- line: 5
1177
- },
1178
- "1": {
1179
- name: "(anonymous_1)",
1180
- decl: {
1181
- start: {
1182
- line: 7,
1183
- column: 34
1184
- },
1185
- end: {
1186
- line: 7,
1187
- column: 35
1188
- }
1189
- },
1190
- loc: {
1191
- start: {
1192
- line: 8,
1193
- column: 2
1194
- },
1195
- end: {
1196
- line: 11,
1197
- column: 3
1198
- }
1199
- },
1200
- line: 8
1201
- },
1202
- "2": {
1203
- name: "(anonymous_2)",
1204
- decl: {
1205
- start: {
1206
- line: 9,
1207
- column: 4
1208
- },
1209
- end: {
1210
- line: 9,
1211
- column: 5
1212
- }
1213
- },
1214
- loc: {
1215
- start: {
1216
- line: 9,
1217
- column: 19
1218
- },
1219
- end: {
1220
- line: 9,
1221
- column: 76
1222
- }
1223
- },
1224
- line: 9
1225
- }
1226
- },
1227
- branchMap: {},
1228
- s: {
1229
- "0": 0,
1230
- "1": 0,
1231
- "2": 0,
1232
- "3": 0,
1233
- "4": 0
1234
- },
1235
- f: {
1236
- "0": 0,
1237
- "1": 0,
1238
- "2": 0
1239
- },
1240
- b: {},
1241
- _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
1242
- hash: "4e99c4492583af7874430eafb0a0c33e80d44e9d"
1243
- };
1244
- var coverage = global[gcv] || (global[gcv] = {});
1245
- if (!coverage[path] || coverage[path].hash !== hash) {
1246
- coverage[path] = coverageData;
1095
+ function _typeof(obj) {
1096
+ "@babel/helpers - typeof";
1097
+
1098
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
1099
+ return typeof obj;
1100
+ } : function (obj) {
1101
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
1102
+ }, _typeof(obj);
1103
+ }
1104
+
1105
+ function _toPrimitive(input, hint) {
1106
+ if (_typeof(input) !== "object" || input === null) return input;
1107
+ var prim = input[Symbol.toPrimitive];
1108
+ if (prim !== undefined) {
1109
+ var res = prim.call(input, hint || "default");
1110
+ if (_typeof(res) !== "object") return res;
1111
+ throw new TypeError("@@toPrimitive must return a primitive value.");
1247
1112
  }
1248
- var actualCoverage = coverage[path];
1249
- {
1250
- // @ts-ignore
1251
- cov_1ceek736tr = function () {
1252
- return actualCoverage;
1253
- };
1113
+ return (hint === "string" ? String : Number)(input);
1114
+ }
1115
+
1116
+ function _toPropertyKey(arg) {
1117
+ var key = _toPrimitive(arg, "string");
1118
+ return _typeof(key) === "symbol" ? key : String(key);
1119
+ }
1120
+
1121
+ function _defineProperty(obj, key, value) {
1122
+ key = _toPropertyKey(key);
1123
+ if (key in obj) {
1124
+ Object.defineProperty(obj, key, {
1125
+ value: value,
1126
+ enumerable: true,
1127
+ configurable: true,
1128
+ writable: true
1129
+ });
1130
+ } else {
1131
+ obj[key] = value;
1254
1132
  }
1255
- return actualCoverage;
1133
+ return obj;
1256
1134
  }
1257
- cov_1ceek736tr();
1258
- cov_1ceek736tr().s[0]++;
1259
- var removeFixedColumns = function removeFixedColumns(fixedColumns, columnData) {
1260
- cov_1ceek736tr().f[0]++;
1261
- cov_1ceek736tr().s[1]++;
1262
- return removeBy({
1263
- dataIndex: includes(__, fixedColumns)
1264
- }, columnData);
1265
- };
1266
- cov_1ceek736tr().s[2]++;
1267
- var filterBySearchTerm = function filterBySearchTerm(searchTerm, columns) {
1268
- cov_1ceek736tr().f[1]++;
1269
- cov_1ceek736tr().s[3]++;
1270
- return filter(function (_ref) {
1271
- var title = _ref.title;
1272
- cov_1ceek736tr().f[2]++;
1273
- cov_1ceek736tr().s[4]++;
1274
- return includes(trim(toLower(searchTerm)), trim(toLower(title)));
1275
- }, columns);
1276
- };
1277
1135
 
1136
+ var _excluded$1 = ["dropdownProps"],
1137
+ _excluded2 = ["buttonProps"];
1278
1138
  function cov_1nk47gzsi8() {
1279
1139
  var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/SubHeader/RightBlock/Columns.jsx";
1280
- var hash = "a073b27c47692599de4a6dea8467014f75c0f886";
1140
+ var hash = "9f901f9bc4d423cb9b0b0b31492fa4192f1d758f";
1281
1141
  var global = new Function("return this")();
1282
1142
  var gcv = "__coverage__";
1283
1143
  var coverageData = {
@@ -1285,704 +1145,111 @@ function cov_1nk47gzsi8() {
1285
1145
  statementMap: {
1286
1146
  "0": {
1287
1147
  start: {
1288
- line: 13,
1148
+ line: 7,
1289
1149
  column: 16
1290
1150
  },
1291
1151
  end: {
1292
- line: 114,
1152
+ line: 33,
1293
1153
  column: 1
1294
1154
  }
1295
1155
  },
1296
1156
  "1": {
1297
1157
  start: {
1298
- line: 25,
1299
- column: 38
1158
+ line: 8,
1159
+ column: 16
1300
1160
  },
1301
1161
  end: {
1302
- line: 25,
1303
- column: 46
1162
+ line: 8,
1163
+ column: 32
1304
1164
  }
1305
1165
  },
1306
1166
  "2": {
1307
1167
  start: {
1308
- line: 26,
1309
- column: 44
1310
- },
1311
- end: {
1312
- line: 29,
1313
- column: 3
1314
- }
1315
- },
1316
- "3": {
1317
- start: {
1318
- line: 30,
1319
- column: 38
1320
- },
1321
- end: {
1322
- line: 30,
1323
- column: 50
1324
- }
1325
- },
1326
- "4": {
1327
- start: {
1328
- line: 32,
1329
- column: 18
1330
- },
1331
- end: {
1332
- line: 32,
1333
- column: 62
1334
- }
1335
- },
1336
- "5": {
1337
- start: {
1338
- line: 33,
1339
- column: 26
1340
- },
1341
- end: {
1342
- line: 33,
1343
- column: 65
1344
- }
1345
- },
1346
- "6": {
1347
- start: {
1348
- line: 35,
1349
- column: 23
1350
- },
1351
- end: {
1352
- line: 38,
1353
- column: 58
1354
- }
1355
- },
1356
- "7": {
1357
- start: {
1358
- line: 36,
1359
- column: 4
1168
+ line: 10,
1169
+ column: 48
1360
1170
  },
1361
- end: {
1362
- line: 38,
1363
- column: 58
1364
- }
1365
- },
1366
- "8": {
1367
- start: {
1368
- line: 40,
1369
- column: 23
1370
- },
1371
- end: {
1372
- line: 40,
1373
- column: 70
1374
- }
1375
- },
1376
- "9": {
1377
- start: {
1378
- line: 40,
1379
- column: 50
1380
- },
1381
- end: {
1382
- line: 40,
1383
- column: 70
1384
- }
1385
- },
1386
- "10": {
1387
- start: {
1388
- line: 42,
1389
- column: 2
1390
- },
1391
- end: {
1392
- line: 44,
1393
- column: 34
1394
- }
1395
- },
1396
- "11": {
1397
- start: {
1398
- line: 43,
1399
- column: 4
1400
- },
1401
- end: {
1402
- line: 43,
1403
- column: 79
1404
- }
1405
- },
1406
- "12": {
1407
- start: {
1408
- line: 46,
1409
- column: 16
1410
- },
1411
- end: {
1412
- line: 46,
1413
- column: 32
1414
- }
1415
- },
1416
- "13": {
1417
- start: {
1418
- line: 48,
1419
- column: 2
1420
- },
1421
- end: {
1422
- line: 113,
1423
- column: 4
1424
- }
1425
- },
1426
- "14": {
1427
- start: {
1428
- line: 62,
1429
- column: 23
1430
- },
1431
- end: {
1432
- line: 62,
1433
- column: 40
1434
- }
1435
- },
1436
- "15": {
1437
- start: {
1438
- line: 81,
1439
- column: 16
1440
- },
1441
- end: {
1442
- line: 96,
1443
- column: 27
1444
- }
1445
- }
1446
- },
1447
- fnMap: {
1448
- "0": {
1449
- name: "(anonymous_0)",
1450
- decl: {
1451
- start: {
1452
- line: 13,
1453
- column: 16
1454
- },
1455
- end: {
1456
- line: 13,
1457
- column: 17
1458
- }
1459
- },
1460
- loc: {
1461
- start: {
1462
- line: 24,
1463
- column: 6
1464
- },
1465
- end: {
1466
- line: 114,
1467
- column: 1
1468
- }
1469
- },
1470
- line: 24
1471
- },
1472
- "1": {
1473
- name: "(anonymous_1)",
1474
- decl: {
1475
- start: {
1476
- line: 35,
1477
- column: 23
1478
- },
1479
- end: {
1480
- line: 35,
1481
- column: 24
1482
- }
1483
- },
1484
- loc: {
1485
- start: {
1486
- line: 36,
1487
- column: 4
1488
- },
1489
- end: {
1490
- line: 38,
1491
- column: 58
1492
- }
1493
- },
1494
- line: 36
1495
- },
1496
- "2": {
1497
- name: "(anonymous_2)",
1498
- decl: {
1499
- start: {
1500
- line: 40,
1501
- column: 23
1502
- },
1503
- end: {
1504
- line: 40,
1505
- column: 24
1506
- }
1507
- },
1508
- loc: {
1509
- start: {
1510
- line: 40,
1511
- column: 50
1512
- },
1513
- end: {
1514
- line: 40,
1515
- column: 70
1516
- }
1517
- },
1518
- line: 40
1519
- },
1520
- "3": {
1521
- name: "(anonymous_3)",
1522
- decl: {
1523
- start: {
1524
- line: 42,
1525
- column: 12
1526
- },
1527
- end: {
1528
- line: 42,
1529
- column: 13
1530
- }
1531
- },
1532
- loc: {
1533
- start: {
1534
- line: 42,
1535
- column: 18
1536
- },
1537
- end: {
1538
- line: 44,
1539
- column: 3
1540
- }
1541
- },
1542
- line: 42
1543
- },
1544
- "4": {
1545
- name: "(anonymous_4)",
1546
- decl: {
1547
- start: {
1548
- line: 62,
1549
- column: 17
1550
- },
1551
- end: {
1552
- line: 62,
1553
- column: 18
1554
- }
1555
- },
1556
- loc: {
1557
- start: {
1558
- line: 62,
1559
- column: 23
1560
- },
1561
- end: {
1562
- line: 62,
1563
- column: 40
1564
- }
1565
- },
1566
- line: 62
1567
- },
1568
- "5": {
1569
- name: "(anonymous_5)",
1570
- decl: {
1571
- start: {
1572
- line: 80,
1573
- column: 34
1574
- },
1575
- end: {
1576
- line: 80,
1577
- column: 35
1578
- }
1579
- },
1580
- loc: {
1581
- start: {
1582
- line: 81,
1583
- column: 16
1584
- },
1585
- end: {
1586
- line: 96,
1587
- column: 27
1588
- }
1589
- },
1590
- line: 81
1591
- }
1592
- },
1593
- branchMap: {
1594
- "0": {
1595
- loc: {
1596
- start: {
1597
- line: 15,
1598
- column: 2
1599
- },
1600
- end: {
1601
- line: 15,
1602
- column: 20
1603
- }
1604
- },
1605
- type: "default-arg",
1606
- locations: [{
1607
- start: {
1608
- line: 15,
1609
- column: 18
1610
- },
1611
- end: {
1612
- line: 15,
1613
- column: 20
1614
- }
1615
- }],
1616
- line: 15
1617
- },
1618
- "1": {
1619
- loc: {
1620
- start: {
1621
- line: 16,
1622
- column: 2
1623
- },
1624
- end: {
1625
- line: 16,
1626
- column: 17
1627
- }
1628
- },
1629
- type: "default-arg",
1630
- locations: [{
1631
- start: {
1632
- line: 16,
1633
- column: 15
1634
- },
1635
- end: {
1636
- line: 16,
1637
- column: 17
1638
- }
1639
- }],
1640
- line: 16
1641
- },
1642
- "2": {
1643
- loc: {
1644
- start: {
1645
- line: 17,
1646
- column: 2
1647
- },
1648
- end: {
1649
- line: 17,
1650
- column: 20
1651
- }
1652
- },
1653
- type: "default-arg",
1654
- locations: [{
1655
- start: {
1656
- line: 17,
1657
- column: 18
1658
- },
1659
- end: {
1660
- line: 17,
1661
- column: 20
1662
- }
1663
- }],
1664
- line: 17
1665
- },
1666
- "3": {
1667
- loc: {
1668
- start: {
1669
- line: 18,
1670
- column: 2
1671
- },
1672
- end: {
1673
- line: 18,
1674
- column: 19
1675
- }
1676
- },
1677
- type: "default-arg",
1678
- locations: [{
1679
- start: {
1680
- line: 18,
1681
- column: 17
1682
- },
1683
- end: {
1684
- line: 18,
1685
- column: 19
1686
- }
1687
- }],
1688
- line: 18
1689
- },
1690
- "4": {
1691
- loc: {
1692
- start: {
1693
- line: 19,
1694
- column: 2
1695
- },
1696
- end: {
1697
- line: 19,
1698
- column: 22
1699
- }
1700
- },
1701
- type: "default-arg",
1702
- locations: [{
1703
- start: {
1704
- line: 19,
1705
- column: 17
1706
- },
1707
- end: {
1708
- line: 19,
1709
- column: 22
1710
- }
1711
- }],
1712
- line: 19
1713
- },
1714
- "5": {
1715
- loc: {
1716
- start: {
1717
- line: 20,
1718
- column: 2
1719
- },
1720
- end: {
1721
- line: 20,
1722
- column: 22
1723
- }
1724
- },
1725
- type: "default-arg",
1726
- locations: [{
1727
- start: {
1728
- line: 20,
1729
- column: 20
1730
- },
1731
- end: {
1732
- line: 20,
1733
- column: 22
1734
- }
1735
- }],
1736
- line: 20
1737
- },
1738
- "6": {
1739
- loc: {
1740
- start: {
1741
- line: 21,
1742
- column: 2
1743
- },
1744
- end: {
1745
- line: 21,
1746
- column: 65
1747
- }
1748
- },
1749
- type: "default-arg",
1750
- locations: [{
1751
- start: {
1752
- line: 21,
1753
- column: 20
1754
- },
1755
- end: {
1756
- line: 21,
1757
- column: 65
1758
- }
1759
- }],
1760
- line: 21
1761
- },
1762
- "7": {
1763
- loc: {
1764
- start: {
1765
- line: 22,
1766
- column: 2
1767
- },
1768
- end: {
1769
- line: 22,
1770
- column: 21
1771
- }
1772
- },
1773
- type: "default-arg",
1774
- locations: [{
1775
- start: {
1776
- line: 22,
1777
- column: 13
1778
- },
1779
- end: {
1780
- line: 22,
1781
- column: 21
1782
- }
1783
- }],
1784
- line: 22
1785
- },
1786
- "8": {
1787
- loc: {
1788
- start: {
1789
- line: 23,
1790
- column: 2
1791
- },
1792
- end: {
1793
- line: 23,
1794
- column: 18
1795
- }
1796
- },
1797
- type: "default-arg",
1798
- locations: [{
1799
- start: {
1800
- line: 23,
1801
- column: 16
1802
- },
1803
- end: {
1804
- line: 23,
1805
- column: 18
1806
- }
1807
- }],
1808
- line: 23
1809
- },
1810
- "9": {
1811
- loc: {
1812
- start: {
1813
- line: 36,
1814
- column: 4
1815
- },
1816
- end: {
1817
- line: 38,
1818
- column: 58
1819
- }
1820
- },
1821
- type: "cond-expr",
1822
- locations: [{
1823
- start: {
1824
- line: 37,
1825
- column: 8
1826
- },
1827
- end: {
1828
- line: 37,
1829
- column: 61
1830
- }
1831
- }, {
1832
- start: {
1833
- line: 38,
1834
- column: 8
1835
- },
1836
- end: {
1837
- line: 38,
1838
- column: 58
1839
- }
1840
- }],
1841
- line: 36
1171
+ end: {
1172
+ line: 10,
1173
+ column: 61
1174
+ }
1842
1175
  },
1843
- "10": {
1844
- loc: {
1845
- start: {
1846
- line: 67,
1847
- column: 13
1848
- },
1849
- end: {
1850
- line: 78,
1851
- column: 13
1852
- }
1176
+ "3": {
1177
+ start: {
1178
+ line: 12,
1179
+ column: 2
1853
1180
  },
1854
- type: "binary-expr",
1855
- locations: [{
1856
- start: {
1857
- line: 67,
1858
- column: 13
1859
- },
1860
- end: {
1861
- line: 67,
1862
- column: 25
1863
- }
1864
- }, {
1181
+ end: {
1182
+ line: 32,
1183
+ column: 4
1184
+ }
1185
+ }
1186
+ },
1187
+ fnMap: {
1188
+ "0": {
1189
+ name: "(anonymous_0)",
1190
+ decl: {
1865
1191
  start: {
1866
- line: 68,
1867
- column: 14
1868
- },
1869
- end: {
1870
- line: 77,
1192
+ line: 7,
1871
1193
  column: 16
1872
- }
1873
- }],
1874
- line: 67
1875
- },
1876
- "11": {
1877
- loc: {
1878
- start: {
1879
- line: 79,
1880
- column: 13
1881
1194
  },
1882
1195
  end: {
1883
- line: 102,
1884
- column: 13
1196
+ line: 7,
1197
+ column: 17
1885
1198
  }
1886
1199
  },
1887
- type: "cond-expr",
1888
- locations: [{
1889
- start: {
1890
- line: 80,
1891
- column: 14
1892
- },
1893
- end: {
1894
- line: 97,
1895
- column: 16
1896
- }
1897
- }, {
1200
+ loc: {
1898
1201
  start: {
1899
- line: 99,
1900
- column: 14
1202
+ line: 7,
1203
+ column: 54
1901
1204
  },
1902
1205
  end: {
1903
- line: 101,
1904
- column: 21
1206
+ line: 33,
1207
+ column: 1
1905
1208
  }
1906
- }],
1907
- line: 79
1908
- },
1909
- "12": {
1209
+ },
1210
+ line: 7
1211
+ }
1212
+ },
1213
+ branchMap: {
1214
+ "0": {
1910
1215
  loc: {
1911
1216
  start: {
1912
- line: 103,
1913
- column: 13
1217
+ line: 7,
1218
+ column: 19
1914
1219
  },
1915
1220
  end: {
1916
- line: 108,
1917
- column: 13
1221
+ line: 7,
1222
+ column: 37
1918
1223
  }
1919
1224
  },
1920
- type: "binary-expr",
1225
+ type: "default-arg",
1921
1226
  locations: [{
1922
1227
  start: {
1923
- line: 103,
1924
- column: 13
1925
- },
1926
- end: {
1927
- line: 103,
1928
- column: 26
1929
- }
1930
- }, {
1931
- start: {
1932
- line: 104,
1933
- column: 14
1228
+ line: 7,
1229
+ column: 35
1934
1230
  },
1935
1231
  end: {
1936
- line: 107,
1937
- column: 17
1232
+ line: 7,
1233
+ column: 37
1938
1234
  }
1939
1235
  }],
1940
- line: 103
1236
+ line: 7
1941
1237
  }
1942
1238
  },
1943
1239
  s: {
1944
1240
  "0": 0,
1945
1241
  "1": 0,
1946
1242
  "2": 0,
1947
- "3": 0,
1948
- "4": 0,
1949
- "5": 0,
1950
- "6": 0,
1951
- "7": 0,
1952
- "8": 0,
1953
- "9": 0,
1954
- "10": 0,
1955
- "11": 0,
1956
- "12": 0,
1957
- "13": 0,
1958
- "14": 0,
1959
- "15": 0
1243
+ "3": 0
1960
1244
  },
1961
1245
  f: {
1962
- "0": 0,
1963
- "1": 0,
1964
- "2": 0,
1965
- "3": 0,
1966
- "4": 0,
1967
- "5": 0
1246
+ "0": 0
1968
1247
  },
1969
1248
  b: {
1970
- "0": [0],
1971
- "1": [0],
1972
- "2": [0],
1973
- "3": [0],
1974
- "4": [0],
1975
- "5": [0],
1976
- "6": [0],
1977
- "7": [0],
1978
- "8": [0],
1979
- "9": [0, 0],
1980
- "10": [0, 0],
1981
- "11": [0, 0],
1982
- "12": [0, 0]
1249
+ "0": [0]
1983
1250
  },
1984
1251
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
1985
- hash: "a073b27c47692599de4a6dea8467014f75c0f886"
1252
+ hash: "9f901f9bc4d423cb9b0b0b31492fa4192f1d758f"
1986
1253
  };
1987
1254
  var coverage = global[gcv] || (global[gcv] = {});
1988
1255
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -1998,123 +1265,41 @@ function cov_1nk47gzsi8() {
1998
1265
  return actualCoverage;
1999
1266
  }
2000
1267
  cov_1nk47gzsi8();
1268
+ function ownKeys$2(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; }
1269
+ function _objectSpread$2(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$2(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$2(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
2001
1270
  cov_1nk47gzsi8().s[0]++;
2002
1271
  var Columns = function Columns(_ref) {
2003
- var actionBlock = _ref.actionBlock,
2004
- _ref$checkboxProps = _ref.checkboxProps,
2005
- checkboxProps = _ref$checkboxProps === void 0 ? (cov_1nk47gzsi8().b[0][0]++, {}) : _ref$checkboxProps,
2006
- _ref$columnData = _ref.columnData,
2007
- columnData = _ref$columnData === void 0 ? (cov_1nk47gzsi8().b[1][0]++, []) : _ref$columnData,
2008
- _ref$dropdownProps = _ref.dropdownProps,
2009
- dropdownProps = _ref$dropdownProps === void 0 ? (cov_1nk47gzsi8().b[2][0]++, {}) : _ref$dropdownProps,
2010
- _ref$fixedColumns = _ref.fixedColumns,
2011
- fixedColumns = _ref$fixedColumns === void 0 ? (cov_1nk47gzsi8().b[3][0]++, []) : _ref$fixedColumns,
2012
- _ref$isSearchable = _ref.isSearchable,
2013
- isSearchable = _ref$isSearchable === void 0 ? (cov_1nk47gzsi8().b[4][0]++, false) : _ref$isSearchable,
2014
- _ref$localStorageKey = _ref.localStorageKey,
2015
- localStorageKey = _ref$localStorageKey === void 0 ? (cov_1nk47gzsi8().b[5][0]++, "") : _ref$localStorageKey,
2016
- _ref$noColumnMessage = _ref.noColumnMessage,
2017
- noColumnMessage = _ref$noColumnMessage === void 0 ? (cov_1nk47gzsi8().b[6][0]++, i18next.t("neetoMolecules.columns.noColumns")) : _ref$noColumnMessage,
2018
- _ref$onChange = _ref.onChange,
2019
- onChange = _ref$onChange === void 0 ? (cov_1nk47gzsi8().b[7][0]++, identity) : _ref$onChange,
2020
- _ref$searchProps = _ref.searchProps,
2021
- searchProps = _ref$searchProps === void 0 ? (cov_1nk47gzsi8().b[8][0]++, {}) : _ref$searchProps;
1272
+ var _ref$dropdownProps = _ref.dropdownProps,
1273
+ dropdownProps = _ref$dropdownProps === void 0 ? (cov_1nk47gzsi8().b[0][0]++, {}) : _ref$dropdownProps,
1274
+ props = _objectWithoutProperties(_ref, _excluded$1);
2022
1275
  cov_1nk47gzsi8().f[0]++;
2023
- var _ref2 = (cov_1nk47gzsi8().s[1]++, Dropdown$1),
2024
- Divider = _ref2.Divider,
2025
- Menu = _ref2.Menu,
2026
- MenuItem = _ref2.MenuItem;
2027
- var _ref3 = (cov_1nk47gzsi8().s[2]++, useLocalStorage(localStorageKey, [])),
2028
- _ref4 = _slicedToArray(_ref3, 2),
2029
- hiddenColumns = _ref4[0],
2030
- setHiddenColumns = _ref4[1];
2031
- var _ref5 = (cov_1nk47gzsi8().s[3]++, useState("")),
2032
- _ref6 = _slicedToArray(_ref5, 2),
2033
- searchTerm = _ref6[0],
2034
- setSearchTerm = _ref6[1];
2035
- var columns = (cov_1nk47gzsi8().s[4]++, removeFixedColumns(fixedColumns, columnData));
2036
- var filteredColumns = (cov_1nk47gzsi8().s[5]++, filterBySearchTerm(searchTerm, columns));
2037
- cov_1nk47gzsi8().s[6]++;
2038
- var handleChange = function handleChange(_ref7) {
2039
- var _ref7$target = _ref7.target,
2040
- dataIndex = _ref7$target.name,
2041
- checked = _ref7$target.checked;
2042
- cov_1nk47gzsi8().f[1]++;
2043
- cov_1nk47gzsi8().s[7]++;
2044
- return checked ? (cov_1nk47gzsi8().b[9][0]++, setHiddenColumns(without([dataIndex], hiddenColumns))) : (cov_1nk47gzsi8().b[9][1]++, setHiddenColumns(append(dataIndex, hiddenColumns)));
2045
- };
2046
- cov_1nk47gzsi8().s[8]++;
2047
- var handleSearch = function handleSearch(_ref8) {
2048
- var value = _ref8.target.value;
2049
- cov_1nk47gzsi8().f[2]++;
2050
- cov_1nk47gzsi8().s[9]++;
2051
- return setSearchTerm(value);
2052
- };
2053
- cov_1nk47gzsi8().s[10]++;
2054
- useEffect(function () {
2055
- cov_1nk47gzsi8().f[3]++;
2056
- cov_1nk47gzsi8().s[11]++;
2057
- onChange(removeBy({
2058
- dataIndex: includes(__, hiddenColumns)
2059
- }, columnData));
2060
- }, [columnData, hiddenColumns]);
2061
- var _ref9 = (cov_1nk47gzsi8().s[12]++, useTranslation()),
2062
- t = _ref9.t;
2063
- cov_1nk47gzsi8().s[13]++;
1276
+ var _ref2 = (cov_1nk47gzsi8().s[1]++, useTranslation()),
1277
+ t = _ref2.t;
1278
+ var _ref3 = (cov_1nk47gzsi8().s[2]++, dropdownProps),
1279
+ buttonProps = _ref3.buttonProps,
1280
+ restDropdownProps = _objectWithoutProperties(_ref3, _excluded2);
1281
+ cov_1nk47gzsi8().s[3]++;
2064
1282
  return /*#__PURE__*/React.createElement("div", {
2065
1283
  className: "neeto-molecules-subheader__columns"
2066
- }, /*#__PURE__*/React.createElement(Dropdown$1, _extends({
2067
- buttonStyle: "text",
2068
- closeOnSelect: false,
2069
- position: "bottom-end",
2070
- buttonProps: {
2071
- icon: Column,
2072
- tooltipProps: {
2073
- content: t("neetoMolecules.columns.columns"),
2074
- position: "bottom"
2075
- },
2076
- "data-testid": "columns-button"
2077
- },
2078
- onClose: function onClose() {
2079
- cov_1nk47gzsi8().f[4]++;
2080
- cov_1nk47gzsi8().s[14]++;
2081
- return setSearchTerm("");
2082
- }
2083
- }, dropdownProps), /*#__PURE__*/React.createElement(Menu, null, /*#__PURE__*/React.createElement("div", null, (cov_1nk47gzsi8().b[10][0]++, isSearchable) && (cov_1nk47gzsi8().b[10][1]++, /*#__PURE__*/React.createElement(Input, _extends({
2084
- className: "neeto-ui-px-3 neeto-ui-py-2",
2085
- "data-cy": "neeto-ui-columns-search",
2086
- placeholder: t("neetoMolecules.columns.search"),
2087
- prefix: /*#__PURE__*/React.createElement(Search, null),
2088
- type: "search",
2089
- value: searchTerm,
2090
- onChange: handleSearch
2091
- }, searchProps))), isNotEmpty(filteredColumns) ? (cov_1nk47gzsi8().b[11][0]++, filteredColumns.map(function (_ref10) {
2092
- var dataIndex = _ref10.dataIndex,
2093
- key = _ref10.key,
2094
- title = _ref10.title;
2095
- cov_1nk47gzsi8().f[5]++;
2096
- cov_1nk47gzsi8().s[15]++;
2097
- return /*#__PURE__*/React.createElement(MenuItem, {
2098
- key: key
2099
- }, /*#__PURE__*/React.createElement(Label, {
2100
- className: "neeto-ui-w-full neeto-ui-px-3 neeto-ui-py-2 hover:neeto-ui-bg-gray-200 neeto-ui-cursor-pointer",
2101
- htmlFor: dataIndex
2102
- }, /*#__PURE__*/React.createElement(Checkbox, _extends({
2103
- checked: !hiddenColumns.includes(dataIndex),
2104
- "data-cy": "neeto-ui-columns-checkbox",
2105
- id: dataIndex,
2106
- label: title,
2107
- name: dataIndex,
2108
- onChange: handleChange
2109
- }, checkboxProps))));
2110
- })) : (cov_1nk47gzsi8().b[11][1]++, /*#__PURE__*/React.createElement("span", {
2111
- className: "neeto-ui-flex neeto-ui-flex-col neeto-ui-items-center neeto-ui-p-2"
2112
- }, noColumnMessage)), (cov_1nk47gzsi8().b[12][0]++, !!actionBlock) && (cov_1nk47gzsi8().b[12][1]++, /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Divider, null), actionBlock))))));
1284
+ }, /*#__PURE__*/React.createElement(ManageColumns, _extends({
1285
+ dropdownProps: _objectSpread$2({
1286
+ buttonProps: _objectSpread$2({
1287
+ icon: Column,
1288
+ label: null,
1289
+ tooltipProps: {
1290
+ content: t("neetoMolecules.columns.columns"),
1291
+ position: "bottom"
1292
+ },
1293
+ "data-testid": "columns-button",
1294
+ "data-cy": "columns-dropdown-button"
1295
+ }, buttonProps)
1296
+ }, restDropdownProps)
1297
+ }, props)));
2113
1298
  };
2114
1299
 
2115
1300
  function cov_td1jpvcmw() {
2116
1301
  var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/SubHeader/RightBlock/Download.jsx";
2117
- var hash = "bfd5034300eaa044c3c9eed37cbd2988c7b9f42b";
1302
+ var hash = "a2283a341efcaf1ad652751480fdafc6709b57d9";
2118
1303
  var global = new Function("return this")();
2119
1304
  var gcv = "__coverage__";
2120
1305
  var coverageData = {
@@ -2126,27 +1311,27 @@ function cov_td1jpvcmw() {
2126
1311
  column: 23
2127
1312
  },
2128
1313
  end: {
2129
- line: 29,
1314
+ line: 34,
2130
1315
  column: 1
2131
1316
  }
2132
1317
  },
2133
1318
  "1": {
2134
1319
  start: {
2135
- line: 8,
1320
+ line: 12,
2136
1321
  column: 16
2137
1322
  },
2138
1323
  end: {
2139
- line: 8,
1324
+ line: 12,
2140
1325
  column: 32
2141
1326
  }
2142
1327
  },
2143
1328
  "2": {
2144
1329
  start: {
2145
- line: 10,
1330
+ line: 14,
2146
1331
  column: 2
2147
1332
  },
2148
1333
  end: {
2149
- line: 28,
1334
+ line: 33,
2150
1335
  column: 4
2151
1336
  }
2152
1337
  }
@@ -2166,50 +1351,74 @@ function cov_td1jpvcmw() {
2166
1351
  },
2167
1352
  loc: {
2168
1353
  start: {
2169
- line: 7,
2170
- column: 47
1354
+ line: 11,
1355
+ column: 6
2171
1356
  },
2172
1357
  end: {
2173
- line: 29,
1358
+ line: 34,
2174
1359
  column: 1
2175
1360
  }
2176
1361
  },
2177
- line: 7
1362
+ line: 11
2178
1363
  }
2179
1364
  },
2180
1365
  branchMap: {
2181
1366
  "0": {
2182
1367
  loc: {
2183
1368
  start: {
2184
- line: 22,
1369
+ line: 10,
1370
+ column: 13
1371
+ },
1372
+ end: {
1373
+ line: 10,
1374
+ column: 39
1375
+ }
1376
+ },
1377
+ type: "default-arg",
1378
+ locations: [{
1379
+ start: {
1380
+ line: 10,
1381
+ column: 22
1382
+ },
1383
+ end: {
1384
+ line: 10,
1385
+ column: 39
1386
+ }
1387
+ }],
1388
+ line: 10
1389
+ },
1390
+ "1": {
1391
+ loc: {
1392
+ start: {
1393
+ line: 27,
2185
1394
  column: 7
2186
1395
  },
2187
1396
  end: {
2188
- line: 26,
1397
+ line: 31,
2189
1398
  column: 7
2190
1399
  }
2191
1400
  },
2192
1401
  type: "binary-expr",
2193
1402
  locations: [{
2194
1403
  start: {
2195
- line: 22,
1404
+ line: 27,
2196
1405
  column: 7
2197
1406
  },
2198
1407
  end: {
2199
- line: 22,
1408
+ line: 27,
2200
1409
  column: 12
2201
1410
  }
2202
1411
  }, {
2203
1412
  start: {
2204
- line: 23,
1413
+ line: 28,
2205
1414
  column: 8
2206
1415
  },
2207
1416
  end: {
2208
- line: 25,
1417
+ line: 30,
2209
1418
  column: 15
2210
1419
  }
2211
1420
  }],
2212
- line: 22
1421
+ line: 27
2213
1422
  }
2214
1423
  },
2215
1424
  s: {
@@ -2221,10 +1430,11 @@ function cov_td1jpvcmw() {
2221
1430
  "0": 0
2222
1431
  },
2223
1432
  b: {
2224
- "0": [0, 0]
1433
+ "0": [0],
1434
+ "1": [0, 0]
2225
1435
  },
2226
1436
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
2227
- hash: "bfd5034300eaa044c3c9eed37cbd2988c7b9f42b"
1437
+ hash: "a2283a341efcaf1ad652751480fdafc6709b57d9"
2228
1438
  };
2229
1439
  var coverage = global[gcv] || (global[gcv] = {});
2230
1440
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -2243,7 +1453,9 @@ cov_td1jpvcmw();
2243
1453
  cov_td1jpvcmw().s[0]++;
2244
1454
  var DownloadButton = function DownloadButton(_ref) {
2245
1455
  var count = _ref.count,
2246
- onClick = _ref.onClick;
1456
+ onClick = _ref.onClick,
1457
+ _ref$dataCy = _ref["data-cy"],
1458
+ dataCy = _ref$dataCy === void 0 ? (cov_td1jpvcmw().b[0][0]++, "download-button") : _ref$dataCy;
2247
1459
  cov_td1jpvcmw().f[0]++;
2248
1460
  var _ref2 = (cov_td1jpvcmw().s[1]++, useTranslation()),
2249
1461
  t = _ref2.t;
@@ -2251,6 +1463,7 @@ var DownloadButton = function DownloadButton(_ref) {
2251
1463
  return /*#__PURE__*/React.createElement("div", {
2252
1464
  className: "neeto-molecules-subheader__download"
2253
1465
  }, /*#__PURE__*/React.createElement(Button, {
1466
+ "data-cy": dataCy,
2254
1467
  "data-testid": "download-button",
2255
1468
  icon: Download,
2256
1469
  style: "text",
@@ -2259,56 +1472,15 @@ var DownloadButton = function DownloadButton(_ref) {
2259
1472
  position: "bottom"
2260
1473
  },
2261
1474
  onClick: onClick
2262
- }), (cov_td1jpvcmw().b[0][0]++, count) && (cov_td1jpvcmw().b[0][1]++, /*#__PURE__*/React.createElement("span", {
1475
+ }), (cov_td1jpvcmw().b[1][0]++, count) && (cov_td1jpvcmw().b[1][1]++, /*#__PURE__*/React.createElement("span", {
2263
1476
  className: "neeto-molecules-subheader__download-count"
2264
1477
  }, count)));
2265
1478
  };
2266
1479
 
2267
- function _typeof(obj) {
2268
- "@babel/helpers - typeof";
2269
-
2270
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
2271
- return typeof obj;
2272
- } : function (obj) {
2273
- return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
2274
- }, _typeof(obj);
2275
- }
2276
-
2277
- function _toPrimitive(input, hint) {
2278
- if (_typeof(input) !== "object" || input === null) return input;
2279
- var prim = input[Symbol.toPrimitive];
2280
- if (prim !== undefined) {
2281
- var res = prim.call(input, hint || "default");
2282
- if (_typeof(res) !== "object") return res;
2283
- throw new TypeError("@@toPrimitive must return a primitive value.");
2284
- }
2285
- return (hint === "string" ? String : Number)(input);
2286
- }
2287
-
2288
- function _toPropertyKey(arg) {
2289
- var key = _toPrimitive(arg, "string");
2290
- return _typeof(key) === "symbol" ? key : String(key);
2291
- }
2292
-
2293
- function _defineProperty(obj, key, value) {
2294
- key = _toPropertyKey(key);
2295
- if (key in obj) {
2296
- Object.defineProperty(obj, key, {
2297
- value: value,
2298
- enumerable: true,
2299
- configurable: true,
2300
- writable: true
2301
- });
2302
- } else {
2303
- obj[key] = value;
2304
- }
2305
- return obj;
2306
- }
2307
-
2308
1480
  var _excluded = ["buttonProps"];
2309
1481
  function cov_m5zh4tynr() {
2310
1482
  var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/SubHeader/RightBlock/Filter.jsx";
2311
- var hash = "ccf07ab7fbe2e20d51a0eb8a8009a0ad5956d118";
1483
+ var hash = "15fd106418316fa8f49263416bc0aea91d893139";
2312
1484
  var global = new Function("return this")();
2313
1485
  var gcv = "__coverage__";
2314
1486
  var coverageData = {
@@ -2320,7 +1492,7 @@ function cov_m5zh4tynr() {
2320
1492
  column: 21
2321
1493
  },
2322
1494
  end: {
2323
- line: 28,
1495
+ line: 29,
2324
1496
  column: 1
2325
1497
  }
2326
1498
  },
@@ -2340,7 +1512,7 @@ function cov_m5zh4tynr() {
2340
1512
  column: 2
2341
1513
  },
2342
1514
  end: {
2343
- line: 27,
1515
+ line: 28,
2344
1516
  column: 4
2345
1517
  }
2346
1518
  }
@@ -2364,7 +1536,7 @@ function cov_m5zh4tynr() {
2364
1536
  column: 52
2365
1537
  },
2366
1538
  end: {
2367
- line: 28,
1539
+ line: 29,
2368
1540
  column: 1
2369
1541
  }
2370
1542
  },
@@ -2382,7 +1554,7 @@ function cov_m5zh4tynr() {
2382
1554
  },
2383
1555
  b: {},
2384
1556
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
2385
- hash: "ccf07ab7fbe2e20d51a0eb8a8009a0ad5956d118"
1557
+ hash: "15fd106418316fa8f49263416bc0aea91d893139"
2386
1558
  };
2387
1559
  var coverage = global[gcv] || (global[gcv] = {});
2388
1560
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -2413,6 +1585,7 @@ var FilterButton = function FilterButton(_ref) {
2413
1585
  }, /*#__PURE__*/React.createElement(Filters, _extends({
2414
1586
  buttonProps: _objectSpread$1({
2415
1587
  "data-testid": "filter-button",
1588
+ "data-cy": "neeto-filters-button",
2416
1589
  icon: Filter,
2417
1590
  style: "text",
2418
1591
  tooltipProps: {