@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.
Files changed (45) hide show
  1. package/README.md +1 -0
  2. package/dist/CustomDomain.cjs.js +1867 -225
  3. package/dist/CustomDomain.cjs.js.map +1 -1
  4. package/dist/CustomDomain.js +1874 -233
  5. package/dist/CustomDomain.js.map +1 -1
  6. package/dist/Header.cjs.js +218 -51
  7. package/dist/Header.cjs.js.map +1 -1
  8. package/dist/Header.js +220 -53
  9. package/dist/Header.js.map +1 -1
  10. package/dist/IpRestriction.cjs.js +77 -57
  11. package/dist/IpRestriction.cjs.js.map +1 -1
  12. package/dist/IpRestriction.js +79 -59
  13. package/dist/IpRestriction.js.map +1 -1
  14. package/dist/NeetoWidget.cjs.js +130 -144
  15. package/dist/NeetoWidget.cjs.js.map +1 -1
  16. package/dist/NeetoWidget.js +130 -144
  17. package/dist/NeetoWidget.js.map +1 -1
  18. package/dist/Rename.cjs.js +1314 -0
  19. package/dist/Rename.cjs.js.map +1 -0
  20. package/dist/Rename.js +1308 -0
  21. package/dist/Rename.js.map +1 -0
  22. package/dist/ResponsiveDevicePicker.cjs.js +547 -0
  23. package/dist/ResponsiveDevicePicker.cjs.js.map +1 -0
  24. package/dist/ResponsiveDevicePicker.js +541 -0
  25. package/dist/ResponsiveDevicePicker.js.map +1 -0
  26. package/dist/ShareViaEmail.cjs.js +155 -98
  27. package/dist/ShareViaEmail.cjs.js.map +1 -1
  28. package/dist/ShareViaEmail.js +155 -98
  29. package/dist/ShareViaEmail.js.map +1 -1
  30. package/dist/Sidebar.cjs.js +51 -35
  31. package/dist/Sidebar.cjs.js.map +1 -1
  32. package/dist/Sidebar.js +53 -37
  33. package/dist/Sidebar.js.map +1 -1
  34. package/dist/SubHeader.cjs.js +1683 -32
  35. package/dist/SubHeader.cjs.js.map +1 -1
  36. package/dist/SubHeader.js +1683 -33
  37. package/dist/SubHeader.js.map +1 -1
  38. package/package.json +5 -3
  39. package/src/translations/en.json +40 -33
  40. package/types/Header.d.ts +2 -0
  41. package/types/Rename.d.ts +59 -0
  42. package/types/ResponsiveDevicePicker.d.ts +30 -0
  43. package/types/ShareViaEmail.d.ts +1 -0
  44. package/types/SubHeader.d.ts +31 -1
  45. package/types/TableWrapper.d.ts +13 -5
@@ -1,16 +1,17 @@
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, Button, Input, Tag, Dropdown, Callout, Pane, Label, Table, NoData, Alert } from '@bigbinary/neetoui';
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';
5
5
  import { useTranslation, Trans } from 'react-i18next';
6
- import { Right, HamburgerMenu, Search, MenuHorizontal, Info, Copy, Check } from '@bigbinary/neeto-icons';
7
- import { isEmpty } from 'ramda';
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';
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';
11
+ import { Filters } from '@bigbinary/neeto-filters-frontend';
10
12
  import { Formik, Form } from 'formik';
11
13
  import { Input as Input$1 } from '@bigbinary/neetoui/formik';
12
14
  import { joinHyphenCase, copyToClipboard, timeFormat } from '@bigbinary/neeto-commons-frontend/utils';
13
- import { t as t$1 } from 'i18next';
14
15
  import * as Yup from 'yup';
15
16
  import { useQueryClient, useMutation, useQuery } from 'react-query';
16
17
  import axios from 'axios';
@@ -286,7 +287,7 @@ var Container = (cov_1wwtrbg59n().s[0]++, /*#__PURE__*/forwardRef(function (_ref
286
287
  cov_1wwtrbg59n().s[2]++;
287
288
  Container.displayName = "Container";
288
289
 
289
- var css$2 = ".neeto-molecules-header{align-items:center;background:rgb(var(--neeto-ui-white));display:flex;flex-direction:row;justify-content:space-between;min-height:var(--neeto-ui-main-header-height);padding:24px 0;width:100%}.neeto-molecules-header--has-breadcrumbs{min-height:var(--neeto-ui-main-header-with-breadcrumbs-height)}.neeto-molecules-header .neeto-molecules-header__toggle-menubar-btn{margin-right:8px}.neeto-molecules-header .neeto-molecules-header__left{align-items:center;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start}.neeto-molecules-header .neeto-molecules-header__left-data-wrap{display:flex;flex-wrap:wrap}.neeto-molecules-header .neeto-molecules-header__page-title{display:block;width:100%}.neeto-molecules-header .neeto-molecules-header__breadcrumbs-wrap{display:flex}.neeto-molecules-header .neeto-molecules-header__breadcrumb{align-items:center;display:flex;flex-direction:row;justify-content:flex-start;line-height:1}.neeto-molecules-header .neeto-molecules-header__breadcrumb a{text-decoration:none;transition:all .3s ease-in-out}.neeto-molecules-header .neeto-molecules-header__breadcrumb-separator{margin:0 4px}.neeto-molecules-header .neeto-molecules-header__right{align-items:center;display:flex;flex-direction:row;justify-content:flex-end}";
290
+ var css$2 = ".neeto-molecules-header{align-items:center;background:rgb(var(--neeto-ui-white));display:flex;flex-direction:row;justify-content:space-between;min-height:var(--neeto-ui-main-header-height);padding:24px 0;width:100%}.neeto-molecules-header--has-breadcrumbs{min-height:var(--neeto-ui-main-header-with-breadcrumbs-height)}.neeto-molecules-header .neeto-molecules-header__toggle-menubar-btn{margin-right:8px}.neeto-molecules-header .neeto-molecules-header__left{align-items:center;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start}.neeto-molecules-header .neeto-molecules-header__left-data-wrap{display:flex;flex-wrap:wrap}.neeto-molecules-header .neeto-molecules-header__page-title{display:flex;flex-direction:row;width:100%}.neeto-molecules-header .neeto-molecules-header__breadcrumbs-wrap{display:flex}.neeto-molecules-header .neeto-molecules-header__breadcrumb{align-items:center;display:flex;flex-direction:row;justify-content:flex-start;line-height:1}.neeto-molecules-header .neeto-molecules-header__breadcrumb a{text-decoration:none;transition:all .3s ease-in-out}.neeto-molecules-header .neeto-molecules-header__breadcrumb-separator{margin:0 4px}.neeto-molecules-header .neeto-molecules-header__right{align-items:center;display:flex;flex-direction:row;justify-content:flex-end}";
290
291
  n(css$2,{});
291
292
 
292
293
  function cov_2jdv1wna26() {
@@ -437,9 +438,138 @@ var Breadcrumbs = function Breadcrumbs(_ref) {
437
438
  }));
438
439
  };
439
440
 
441
+ function _objectWithoutPropertiesLoose(source, excluded) {
442
+ if (source == null) return {};
443
+ var target = {};
444
+ var sourceKeys = Object.keys(source);
445
+ var key, i;
446
+ for (i = 0; i < sourceKeys.length; i++) {
447
+ key = sourceKeys[i];
448
+ if (excluded.indexOf(key) >= 0) continue;
449
+ target[key] = source[key];
450
+ }
451
+ return target;
452
+ }
453
+
454
+ function _objectWithoutProperties(source, excluded) {
455
+ if (source == null) return {};
456
+ var target = _objectWithoutPropertiesLoose(source, excluded);
457
+ var key, i;
458
+ if (Object.getOwnPropertySymbols) {
459
+ var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
460
+ for (i = 0; i < sourceSymbolKeys.length; i++) {
461
+ key = sourceSymbolKeys[i];
462
+ if (excluded.indexOf(key) >= 0) continue;
463
+ if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
464
+ target[key] = source[key];
465
+ }
466
+ }
467
+ return target;
468
+ }
469
+
470
+ var _excluded$2 = ["children"];
471
+ function cov_1d9vaefr1a() {
472
+ var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/Header/Dropdown.jsx";
473
+ var hash = "57d665dbaab5aa76c0b57bedd85469275a9f6867";
474
+ var global = new Function("return this")();
475
+ var gcv = "__coverage__";
476
+ var coverageData = {
477
+ path: "/home/runner/work/neeto-molecules/neeto-molecules/src/components/Header/Dropdown.jsx",
478
+ statementMap: {
479
+ "0": {
480
+ start: {
481
+ line: 6,
482
+ column: 17
483
+ },
484
+ end: {
485
+ line: 17,
486
+ column: 1
487
+ }
488
+ },
489
+ "1": {
490
+ start: {
491
+ line: 7,
492
+ column: 2
493
+ },
494
+ end: {
495
+ line: 16,
496
+ column: 20
497
+ }
498
+ }
499
+ },
500
+ fnMap: {
501
+ "0": {
502
+ name: "(anonymous_0)",
503
+ decl: {
504
+ start: {
505
+ line: 6,
506
+ column: 17
507
+ },
508
+ end: {
509
+ line: 6,
510
+ column: 18
511
+ }
512
+ },
513
+ loc: {
514
+ start: {
515
+ line: 7,
516
+ column: 2
517
+ },
518
+ end: {
519
+ line: 16,
520
+ column: 20
521
+ }
522
+ },
523
+ line: 7
524
+ }
525
+ },
526
+ branchMap: {},
527
+ s: {
528
+ "0": 0,
529
+ "1": 0
530
+ },
531
+ f: {
532
+ "0": 0
533
+ },
534
+ b: {},
535
+ _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
536
+ hash: "57d665dbaab5aa76c0b57bedd85469275a9f6867"
537
+ };
538
+ var coverage = global[gcv] || (global[gcv] = {});
539
+ if (!coverage[path] || coverage[path].hash !== hash) {
540
+ coverage[path] = coverageData;
541
+ }
542
+ var actualCoverage = coverage[path];
543
+ {
544
+ // @ts-ignore
545
+ cov_1d9vaefr1a = function () {
546
+ return actualCoverage;
547
+ };
548
+ }
549
+ return actualCoverage;
550
+ }
551
+ cov_1d9vaefr1a();
552
+ cov_1d9vaefr1a().s[0]++;
553
+ var Dropdown = function Dropdown(_ref) {
554
+ var _ref$dropdownProps = _ref.dropdownProps,
555
+ children = _ref$dropdownProps.children,
556
+ otherProps = _objectWithoutProperties(_ref$dropdownProps, _excluded$2);
557
+ cov_1d9vaefr1a().f[0]++;
558
+ cov_1d9vaefr1a().s[1]++;
559
+ return /*#__PURE__*/React.createElement(Dropdown$1, _extends({
560
+ buttonProps: {
561
+ className: "ml-1.5"
562
+ },
563
+ buttonStyle: "text",
564
+ className: "ml-3",
565
+ icon: MenuVertical,
566
+ position: "bottom-end"
567
+ }, otherProps), children);
568
+ };
569
+
440
570
  function cov_14lmkczjok() {
441
571
  var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/Header/index.jsx";
442
- var hash = "5942842597a7b0320330d704f35fd6318ddbbd60";
572
+ var hash = "ffe20f4612621150120204f01a4318179de8e933";
443
573
  var global = new Function("return this")();
444
574
  var gcv = "__coverage__";
445
575
  var coverageData = {
@@ -447,31 +577,31 @@ function cov_14lmkczjok() {
447
577
  statementMap: {
448
578
  "0": {
449
579
  start: {
450
- line: 11,
580
+ line: 12,
451
581
  column: 15
452
582
  },
453
583
  end: {
454
- line: 72,
584
+ line: 76,
455
585
  column: 1
456
586
  }
457
587
  },
458
588
  "1": {
459
589
  start: {
460
- line: 19,
590
+ line: 21,
461
591
  column: 20
462
592
  },
463
593
  end: {
464
- line: 19,
594
+ line: 21,
465
595
  column: 32
466
596
  }
467
597
  },
468
598
  "2": {
469
599
  start: {
470
- line: 21,
600
+ line: 23,
471
601
  column: 2
472
602
  },
473
603
  end: {
474
- line: 71,
604
+ line: 75,
475
605
  column: 4
476
606
  }
477
607
  }
@@ -481,174 +611,207 @@ function cov_14lmkczjok() {
481
611
  name: "(anonymous_0)",
482
612
  decl: {
483
613
  start: {
484
- line: 11,
614
+ line: 12,
485
615
  column: 15
486
616
  },
487
617
  end: {
488
- line: 11,
618
+ line: 12,
489
619
  column: 16
490
620
  }
491
621
  },
492
622
  loc: {
493
623
  start: {
494
- line: 18,
624
+ line: 20,
495
625
  column: 6
496
626
  },
497
627
  end: {
498
- line: 72,
628
+ line: 76,
499
629
  column: 1
500
630
  }
501
631
  },
502
- line: 18
632
+ line: 20
503
633
  }
504
634
  },
505
635
  branchMap: {
506
636
  "0": {
507
637
  loc: {
508
638
  start: {
509
- line: 15,
639
+ line: 16,
510
640
  column: 2
511
641
  },
512
642
  end: {
513
- line: 15,
643
+ line: 16,
514
644
  column: 16
515
645
  }
516
646
  },
517
647
  type: "default-arg",
518
648
  locations: [{
519
649
  start: {
520
- line: 15,
650
+ line: 16,
521
651
  column: 14
522
652
  },
523
653
  end: {
524
- line: 15,
654
+ line: 16,
525
655
  column: 16
526
656
  }
527
657
  }],
528
- line: 15
658
+ line: 16
529
659
  },
530
660
  "1": {
531
661
  loc: {
532
662
  start: {
533
- line: 17,
663
+ line: 18,
534
664
  column: 2
535
665
  },
536
666
  end: {
537
- line: 17,
667
+ line: 18,
538
668
  column: 18
539
669
  }
540
670
  },
541
671
  type: "default-arg",
542
672
  locations: [{
543
673
  start: {
544
- line: 17,
674
+ line: 18,
545
675
  column: 16
546
676
  },
547
677
  end: {
548
- line: 17,
678
+ line: 18,
549
679
  column: 18
550
680
  }
551
681
  }],
552
- line: 17
682
+ line: 18
553
683
  },
554
684
  "2": {
555
685
  loc: {
556
686
  start: {
557
- line: 30,
687
+ line: 32,
558
688
  column: 9
559
689
  },
560
690
  end: {
561
- line: 39,
691
+ line: 41,
562
692
  column: 9
563
693
  }
564
694
  },
565
695
  type: "binary-expr",
566
696
  locations: [{
567
697
  start: {
568
- line: 30,
698
+ line: 32,
569
699
  column: 9
570
700
  },
571
701
  end: {
572
- line: 30,
702
+ line: 32,
573
703
  column: 22
574
704
  }
575
705
  }, {
576
706
  start: {
577
- line: 31,
707
+ line: 33,
578
708
  column: 10
579
709
  },
580
710
  end: {
581
- line: 38,
711
+ line: 40,
582
712
  column: 12
583
713
  }
584
714
  }],
585
- line: 30
715
+ line: 32
586
716
  },
587
717
  "3": {
588
718
  loc: {
589
719
  start: {
590
- line: 41,
720
+ line: 43,
591
721
  column: 11
592
722
  },
593
723
  end: {
594
- line: 41,
724
+ line: 43,
595
725
  column: 67
596
726
  }
597
727
  },
598
728
  type: "binary-expr",
599
729
  locations: [{
600
730
  start: {
601
- line: 41,
731
+ line: 43,
602
732
  column: 11
603
733
  },
604
734
  end: {
605
- line: 41,
735
+ line: 43,
606
736
  column: 22
607
737
  }
608
738
  }, {
609
739
  start: {
610
- line: 41,
740
+ line: 43,
611
741
  column: 26
612
742
  },
613
743
  end: {
614
- line: 41,
744
+ line: 43,
615
745
  column: 67
616
746
  }
617
747
  }],
618
- line: 41
748
+ line: 43
619
749
  },
620
750
  "4": {
621
751
  loc: {
622
752
  start: {
623
- line: 55,
753
+ line: 54,
754
+ column: 13
755
+ },
756
+ end: {
757
+ line: 54,
758
+ column: 72
759
+ }
760
+ },
761
+ type: "binary-expr",
762
+ locations: [{
763
+ start: {
764
+ line: 54,
765
+ column: 13
766
+ },
767
+ end: {
768
+ line: 54,
769
+ column: 26
770
+ }
771
+ }, {
772
+ start: {
773
+ line: 54,
774
+ column: 30
775
+ },
776
+ end: {
777
+ line: 54,
778
+ column: 72
779
+ }
780
+ }],
781
+ line: 54
782
+ },
783
+ "5": {
784
+ loc: {
785
+ start: {
786
+ line: 59,
624
787
  column: 9
625
788
  },
626
789
  end: {
627
- line: 67,
790
+ line: 71,
628
791
  column: 9
629
792
  }
630
793
  },
631
794
  type: "binary-expr",
632
795
  locations: [{
633
796
  start: {
634
- line: 55,
797
+ line: 59,
635
798
  column: 9
636
799
  },
637
800
  end: {
638
- line: 55,
801
+ line: 59,
639
802
  column: 20
640
803
  }
641
804
  }, {
642
805
  start: {
643
- line: 56,
806
+ line: 60,
644
807
  column: 10
645
808
  },
646
809
  end: {
647
- line: 66,
810
+ line: 70,
648
811
  column: 12
649
812
  }
650
813
  }],
651
- line: 55
814
+ line: 59
652
815
  }
653
816
  },
654
817
  s: {
@@ -664,10 +827,11 @@ function cov_14lmkczjok() {
664
827
  "1": [0],
665
828
  "2": [0, 0],
666
829
  "3": [0, 0],
667
- "4": [0, 0]
830
+ "4": [0, 0],
831
+ "5": [0, 0]
668
832
  },
669
833
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
670
- hash: "5942842597a7b0320330d704f35fd6318ddbbd60"
834
+ hash: "ffe20f4612621150120204f01a4318179de8e933"
671
835
  };
672
836
  var coverage = global[gcv] || (global[gcv] = {});
673
837
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -692,7 +856,8 @@ var Header = function Header(_ref) {
692
856
  className = _ref$className === void 0 ? (cov_14lmkczjok().b[0][0]++, "") : _ref$className,
693
857
  actionBlock = _ref.actionBlock,
694
858
  _ref$breadcrumbs = _ref.breadcrumbs,
695
- breadcrumbs = _ref$breadcrumbs === void 0 ? (cov_14lmkczjok().b[1][0]++, []) : _ref$breadcrumbs;
859
+ breadcrumbs = _ref$breadcrumbs === void 0 ? (cov_14lmkczjok().b[1][0]++, []) : _ref$breadcrumbs,
860
+ dropdownProps = _ref.dropdownProps;
696
861
  cov_14lmkczjok().f[0]++;
697
862
  var searchRef = (cov_14lmkczjok().s[1]++, useRef(null));
698
863
  cov_14lmkczjok().s[2]++;
@@ -713,16 +878,19 @@ var Header = function Header(_ref) {
713
878
  className: "neeto-molecules-header__left-data-wrap"
714
879
  }, (cov_14lmkczjok().b[3][0]++, breadcrumbs) && (cov_14lmkczjok().b[3][1]++, /*#__PURE__*/React.createElement(Breadcrumbs, {
715
880
  breadcrumbs: breadcrumbs
716
- })), /*#__PURE__*/React.createElement(Typography, {
717
- className: "neeto-molecules-header__page-title",
881
+ })), /*#__PURE__*/React.createElement("div", {
882
+ className: "neeto-molecules-header__page-title"
883
+ }, /*#__PURE__*/React.createElement(Typography, {
718
884
  "data-cy": "main-header",
719
885
  "data-test-id": "main-header",
720
886
  lineHeight: "tight",
721
887
  style: "h2",
722
888
  weight: "semibold"
723
- }, title))), /*#__PURE__*/React.createElement("div", {
889
+ }, title), (cov_14lmkczjok().b[4][0]++, dropdownProps) && (cov_14lmkczjok().b[4][1]++, /*#__PURE__*/React.createElement(Dropdown, {
890
+ dropdownProps: dropdownProps
891
+ }))))), /*#__PURE__*/React.createElement("div", {
724
892
  className: "neeto-ui-gap-3 neeto-molecules-header__right"
725
- }, (cov_14lmkczjok().b[4][0]++, searchProps) && (cov_14lmkczjok().b[4][1]++, /*#__PURE__*/React.createElement(Input, _extends({
893
+ }, (cov_14lmkczjok().b[5][0]++, searchProps) && (cov_14lmkczjok().b[5][1]++, /*#__PURE__*/React.createElement(Input, _extends({
726
894
  placeholder: "Search",
727
895
  prefix: /*#__PURE__*/React.createElement(Search, null),
728
896
  ref: searchRef,
@@ -731,39 +899,10 @@ var Header = function Header(_ref) {
731
899
  }, searchProps))), actionBlock));
732
900
  };
733
901
 
734
- function _objectWithoutPropertiesLoose(source, excluded) {
735
- if (source == null) return {};
736
- var target = {};
737
- var sourceKeys = Object.keys(source);
738
- var key, i;
739
- for (i = 0; i < sourceKeys.length; i++) {
740
- key = sourceKeys[i];
741
- if (excluded.indexOf(key) >= 0) continue;
742
- target[key] = source[key];
743
- }
744
- return target;
745
- }
746
-
747
- function _objectWithoutProperties(source, excluded) {
748
- if (source == null) return {};
749
- var target = _objectWithoutPropertiesLoose(source, excluded);
750
- var key, i;
751
- if (Object.getOwnPropertySymbols) {
752
- var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
753
- for (i = 0; i < sourceSymbolKeys.length; i++) {
754
- key = sourceSymbolKeys[i];
755
- if (excluded.indexOf(key) >= 0) continue;
756
- if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
757
- target[key] = source[key];
758
- }
759
- }
760
- return target;
761
- }
762
-
763
902
  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)}}";
764
903
  n(css$1,{});
765
904
 
766
- var _excluded = ["text"];
905
+ var _excluded$1 = ["text"];
767
906
  function cov_1rnptrlqih() {
768
907
  var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/PageLoader/index.jsx";
769
908
  var hash = "40cda882f932d7a0fcac6bc5ec150d93c0420b62";
@@ -798,8 +937,1519 @@ function cov_1rnptrlqih() {
798
937
  column: 0
799
938
  },
800
939
  end: {
801
- line: 36,
802
- column: 2
940
+ line: 36,
941
+ column: 2
942
+ }
943
+ }
944
+ },
945
+ fnMap: {
946
+ "0": {
947
+ name: "(anonymous_0)",
948
+ decl: {
949
+ start: {
950
+ line: 9,
951
+ column: 19
952
+ },
953
+ end: {
954
+ line: 9,
955
+ column: 20
956
+ }
957
+ },
958
+ loc: {
959
+ start: {
960
+ line: 10,
961
+ column: 2
962
+ },
963
+ end: {
964
+ line: 28,
965
+ column: 8
966
+ }
967
+ },
968
+ line: 10
969
+ }
970
+ },
971
+ branchMap: {
972
+ "0": {
973
+ loc: {
974
+ start: {
975
+ line: 9,
976
+ column: 22
977
+ },
978
+ end: {
979
+ line: 9,
980
+ column: 31
981
+ }
982
+ },
983
+ type: "default-arg",
984
+ locations: [{
985
+ start: {
986
+ line: 9,
987
+ column: 29
988
+ },
989
+ end: {
990
+ line: 9,
991
+ column: 31
992
+ }
993
+ }],
994
+ line: 9
995
+ },
996
+ "1": {
997
+ loc: {
998
+ start: {
999
+ line: 22,
1000
+ column: 7
1001
+ },
1002
+ end: {
1003
+ line: 26,
1004
+ column: 7
1005
+ }
1006
+ },
1007
+ type: "binary-expr",
1008
+ locations: [{
1009
+ start: {
1010
+ line: 22,
1011
+ column: 7
1012
+ },
1013
+ end: {
1014
+ line: 22,
1015
+ column: 11
1016
+ }
1017
+ }, {
1018
+ start: {
1019
+ line: 23,
1020
+ column: 8
1021
+ },
1022
+ end: {
1023
+ line: 25,
1024
+ column: 21
1025
+ }
1026
+ }],
1027
+ line: 22
1028
+ }
1029
+ },
1030
+ s: {
1031
+ "0": 0,
1032
+ "1": 0,
1033
+ "2": 0
1034
+ },
1035
+ f: {
1036
+ "0": 0
1037
+ },
1038
+ b: {
1039
+ "0": [0],
1040
+ "1": [0, 0]
1041
+ },
1042
+ _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
1043
+ hash: "40cda882f932d7a0fcac6bc5ec150d93c0420b62"
1044
+ };
1045
+ var coverage = global[gcv] || (global[gcv] = {});
1046
+ if (!coverage[path] || coverage[path].hash !== hash) {
1047
+ coverage[path] = coverageData;
1048
+ }
1049
+ var actualCoverage = coverage[path];
1050
+ {
1051
+ // @ts-ignore
1052
+ cov_1rnptrlqih = function () {
1053
+ return actualCoverage;
1054
+ };
1055
+ }
1056
+ return actualCoverage;
1057
+ }
1058
+ cov_1rnptrlqih();
1059
+ cov_1rnptrlqih().s[0]++;
1060
+ var PageLoader = function PageLoader(_ref) {
1061
+ var _ref$text = _ref.text,
1062
+ text = _ref$text === void 0 ? (cov_1rnptrlqih().b[0][0]++, "") : _ref$text,
1063
+ otherProps = _objectWithoutProperties(_ref, _excluded$1);
1064
+ cov_1rnptrlqih().f[0]++;
1065
+ cov_1rnptrlqih().s[1]++;
1066
+ return /*#__PURE__*/React.createElement("div", _extends({
1067
+ className: "neeto-molecules-pageloader__wrapper"
1068
+ }, otherProps), /*#__PURE__*/React.createElement("div", {
1069
+ className: "neeto-molecules-pageloader neeto-ui-flex neeto-ui-flex-col neeto-ui-items-center neeto-ui-justify-center"
1070
+ }, /*#__PURE__*/React.createElement("div", {
1071
+ className: "neeto-molecules-pageloader__content neeto-ui-flex neeto-ui-flex-shrink-0 neeto-ui-items-center neeto-ui-justify-center"
1072
+ }, /*#__PURE__*/React.createElement(Neeto, {
1073
+ className: "neeto-molecules-pageloader__logo",
1074
+ size: 50
1075
+ }), /*#__PURE__*/React.createElement("div", {
1076
+ className: "neeto-molecules-pageloader__spinner"
1077
+ }, /*#__PURE__*/React.createElement("div", {
1078
+ className: "neeto-molecules-pageloader__rect1"
1079
+ }), /*#__PURE__*/React.createElement("div", {
1080
+ className: "neeto-molecules-pageloader__rect2"
1081
+ }), /*#__PURE__*/React.createElement("div", {
1082
+ className: "neeto-molecules-pageloader__rect3"
1083
+ }), /*#__PURE__*/React.createElement("div", {
1084
+ className: "neeto-molecules-pageloader__rect4"
1085
+ }), /*#__PURE__*/React.createElement("div", {
1086
+ className: "neeto-molecules-pageloader__rect5"
1087
+ }))), (cov_1rnptrlqih().b[1][0]++, text) && (cov_1rnptrlqih().b[1][1]++, /*#__PURE__*/React.createElement(Typography, {
1088
+ style: "h5",
1089
+ weight: "semibold"
1090
+ }, text))));
1091
+ };
1092
+ cov_1rnptrlqih().s[2]++;
1093
+
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;
1247
+ }
1248
+ var actualCoverage = coverage[path];
1249
+ {
1250
+ // @ts-ignore
1251
+ cov_1ceek736tr = function () {
1252
+ return actualCoverage;
1253
+ };
1254
+ }
1255
+ return actualCoverage;
1256
+ }
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
+
1278
+ function cov_1nk47gzsi8() {
1279
+ var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/SubHeader/RightBlock/Columns.jsx";
1280
+ var hash = "a073b27c47692599de4a6dea8467014f75c0f886";
1281
+ var global = new Function("return this")();
1282
+ var gcv = "__coverage__";
1283
+ var coverageData = {
1284
+ path: "/home/runner/work/neeto-molecules/neeto-molecules/src/components/SubHeader/RightBlock/Columns.jsx",
1285
+ statementMap: {
1286
+ "0": {
1287
+ start: {
1288
+ line: 13,
1289
+ column: 16
1290
+ },
1291
+ end: {
1292
+ line: 114,
1293
+ column: 1
1294
+ }
1295
+ },
1296
+ "1": {
1297
+ start: {
1298
+ line: 25,
1299
+ column: 38
1300
+ },
1301
+ end: {
1302
+ line: 25,
1303
+ column: 46
1304
+ }
1305
+ },
1306
+ "2": {
1307
+ 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
1360
+ },
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
1842
+ },
1843
+ "10": {
1844
+ loc: {
1845
+ start: {
1846
+ line: 67,
1847
+ column: 13
1848
+ },
1849
+ end: {
1850
+ line: 78,
1851
+ column: 13
1852
+ }
1853
+ },
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
+ }, {
1865
+ start: {
1866
+ line: 68,
1867
+ column: 14
1868
+ },
1869
+ end: {
1870
+ line: 77,
1871
+ column: 16
1872
+ }
1873
+ }],
1874
+ line: 67
1875
+ },
1876
+ "11": {
1877
+ loc: {
1878
+ start: {
1879
+ line: 79,
1880
+ column: 13
1881
+ },
1882
+ end: {
1883
+ line: 102,
1884
+ column: 13
1885
+ }
1886
+ },
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
+ }, {
1898
+ start: {
1899
+ line: 99,
1900
+ column: 14
1901
+ },
1902
+ end: {
1903
+ line: 101,
1904
+ column: 21
1905
+ }
1906
+ }],
1907
+ line: 79
1908
+ },
1909
+ "12": {
1910
+ loc: {
1911
+ start: {
1912
+ line: 103,
1913
+ column: 13
1914
+ },
1915
+ end: {
1916
+ line: 108,
1917
+ column: 13
1918
+ }
1919
+ },
1920
+ type: "binary-expr",
1921
+ locations: [{
1922
+ 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
1934
+ },
1935
+ end: {
1936
+ line: 107,
1937
+ column: 17
1938
+ }
1939
+ }],
1940
+ line: 103
1941
+ }
1942
+ },
1943
+ s: {
1944
+ "0": 0,
1945
+ "1": 0,
1946
+ "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
1960
+ },
1961
+ f: {
1962
+ "0": 0,
1963
+ "1": 0,
1964
+ "2": 0,
1965
+ "3": 0,
1966
+ "4": 0,
1967
+ "5": 0
1968
+ },
1969
+ 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]
1983
+ },
1984
+ _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
1985
+ hash: "a073b27c47692599de4a6dea8467014f75c0f886"
1986
+ };
1987
+ var coverage = global[gcv] || (global[gcv] = {});
1988
+ if (!coverage[path] || coverage[path].hash !== hash) {
1989
+ coverage[path] = coverageData;
1990
+ }
1991
+ var actualCoverage = coverage[path];
1992
+ {
1993
+ // @ts-ignore
1994
+ cov_1nk47gzsi8 = function () {
1995
+ return actualCoverage;
1996
+ };
1997
+ }
1998
+ return actualCoverage;
1999
+ }
2000
+ cov_1nk47gzsi8();
2001
+ cov_1nk47gzsi8().s[0]++;
2002
+ 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;
2022
+ 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]++;
2064
+ return /*#__PURE__*/React.createElement("div", {
2065
+ 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))))));
2113
+ };
2114
+
2115
+ function cov_td1jpvcmw() {
2116
+ var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/SubHeader/RightBlock/Download.jsx";
2117
+ var hash = "bfd5034300eaa044c3c9eed37cbd2988c7b9f42b";
2118
+ var global = new Function("return this")();
2119
+ var gcv = "__coverage__";
2120
+ var coverageData = {
2121
+ path: "/home/runner/work/neeto-molecules/neeto-molecules/src/components/SubHeader/RightBlock/Download.jsx",
2122
+ statementMap: {
2123
+ "0": {
2124
+ start: {
2125
+ line: 7,
2126
+ column: 23
2127
+ },
2128
+ end: {
2129
+ line: 29,
2130
+ column: 1
2131
+ }
2132
+ },
2133
+ "1": {
2134
+ start: {
2135
+ line: 8,
2136
+ column: 16
2137
+ },
2138
+ end: {
2139
+ line: 8,
2140
+ column: 32
2141
+ }
2142
+ },
2143
+ "2": {
2144
+ start: {
2145
+ line: 10,
2146
+ column: 2
2147
+ },
2148
+ end: {
2149
+ line: 28,
2150
+ column: 4
2151
+ }
2152
+ }
2153
+ },
2154
+ fnMap: {
2155
+ "0": {
2156
+ name: "(anonymous_0)",
2157
+ decl: {
2158
+ start: {
2159
+ line: 7,
2160
+ column: 23
2161
+ },
2162
+ end: {
2163
+ line: 7,
2164
+ column: 24
2165
+ }
2166
+ },
2167
+ loc: {
2168
+ start: {
2169
+ line: 7,
2170
+ column: 47
2171
+ },
2172
+ end: {
2173
+ line: 29,
2174
+ column: 1
2175
+ }
2176
+ },
2177
+ line: 7
2178
+ }
2179
+ },
2180
+ branchMap: {
2181
+ "0": {
2182
+ loc: {
2183
+ start: {
2184
+ line: 22,
2185
+ column: 7
2186
+ },
2187
+ end: {
2188
+ line: 26,
2189
+ column: 7
2190
+ }
2191
+ },
2192
+ type: "binary-expr",
2193
+ locations: [{
2194
+ start: {
2195
+ line: 22,
2196
+ column: 7
2197
+ },
2198
+ end: {
2199
+ line: 22,
2200
+ column: 12
2201
+ }
2202
+ }, {
2203
+ start: {
2204
+ line: 23,
2205
+ column: 8
2206
+ },
2207
+ end: {
2208
+ line: 25,
2209
+ column: 15
2210
+ }
2211
+ }],
2212
+ line: 22
2213
+ }
2214
+ },
2215
+ s: {
2216
+ "0": 0,
2217
+ "1": 0,
2218
+ "2": 0
2219
+ },
2220
+ f: {
2221
+ "0": 0
2222
+ },
2223
+ b: {
2224
+ "0": [0, 0]
2225
+ },
2226
+ _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
2227
+ hash: "bfd5034300eaa044c3c9eed37cbd2988c7b9f42b"
2228
+ };
2229
+ var coverage = global[gcv] || (global[gcv] = {});
2230
+ if (!coverage[path] || coverage[path].hash !== hash) {
2231
+ coverage[path] = coverageData;
2232
+ }
2233
+ var actualCoverage = coverage[path];
2234
+ {
2235
+ // @ts-ignore
2236
+ cov_td1jpvcmw = function () {
2237
+ return actualCoverage;
2238
+ };
2239
+ }
2240
+ return actualCoverage;
2241
+ }
2242
+ cov_td1jpvcmw();
2243
+ cov_td1jpvcmw().s[0]++;
2244
+ var DownloadButton = function DownloadButton(_ref) {
2245
+ var count = _ref.count,
2246
+ onClick = _ref.onClick;
2247
+ cov_td1jpvcmw().f[0]++;
2248
+ var _ref2 = (cov_td1jpvcmw().s[1]++, useTranslation()),
2249
+ t = _ref2.t;
2250
+ cov_td1jpvcmw().s[2]++;
2251
+ return /*#__PURE__*/React.createElement("div", {
2252
+ className: "neeto-molecules-subheader__download"
2253
+ }, /*#__PURE__*/React.createElement(Button, {
2254
+ "data-testid": "download-button",
2255
+ icon: Download,
2256
+ style: "text",
2257
+ tooltipProps: {
2258
+ content: t("neetoMolecules.common.download"),
2259
+ position: "bottom"
2260
+ },
2261
+ onClick: onClick
2262
+ }), (cov_td1jpvcmw().b[0][0]++, count) && (cov_td1jpvcmw().b[0][1]++, /*#__PURE__*/React.createElement("span", {
2263
+ className: "neeto-molecules-subheader__download-count"
2264
+ }, count)));
2265
+ };
2266
+
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
+ var _excluded = ["buttonProps"];
2309
+ function cov_m5zh4tynr() {
2310
+ var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/SubHeader/RightBlock/Filter.jsx";
2311
+ var hash = "ccf07ab7fbe2e20d51a0eb8a8009a0ad5956d118";
2312
+ var global = new Function("return this")();
2313
+ var gcv = "__coverage__";
2314
+ var coverageData = {
2315
+ path: "/home/runner/work/neeto-molecules/neeto-molecules/src/components/SubHeader/RightBlock/Filter.jsx",
2316
+ statementMap: {
2317
+ "0": {
2318
+ start: {
2319
+ line: 7,
2320
+ column: 21
2321
+ },
2322
+ end: {
2323
+ line: 28,
2324
+ column: 1
2325
+ }
2326
+ },
2327
+ "1": {
2328
+ start: {
2329
+ line: 8,
2330
+ column: 16
2331
+ },
2332
+ end: {
2333
+ line: 8,
2334
+ column: 32
2335
+ }
2336
+ },
2337
+ "2": {
2338
+ start: {
2339
+ line: 10,
2340
+ column: 2
2341
+ },
2342
+ end: {
2343
+ line: 27,
2344
+ column: 4
2345
+ }
2346
+ }
2347
+ },
2348
+ fnMap: {
2349
+ "0": {
2350
+ name: "(anonymous_0)",
2351
+ decl: {
2352
+ start: {
2353
+ line: 7,
2354
+ column: 21
2355
+ },
2356
+ end: {
2357
+ line: 7,
2358
+ column: 22
2359
+ }
2360
+ },
2361
+ loc: {
2362
+ start: {
2363
+ line: 7,
2364
+ column: 52
2365
+ },
2366
+ end: {
2367
+ line: 28,
2368
+ column: 1
2369
+ }
2370
+ },
2371
+ line: 7
2372
+ }
2373
+ },
2374
+ branchMap: {},
2375
+ s: {
2376
+ "0": 0,
2377
+ "1": 0,
2378
+ "2": 0
2379
+ },
2380
+ f: {
2381
+ "0": 0
2382
+ },
2383
+ b: {},
2384
+ _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
2385
+ hash: "ccf07ab7fbe2e20d51a0eb8a8009a0ad5956d118"
2386
+ };
2387
+ var coverage = global[gcv] || (global[gcv] = {});
2388
+ if (!coverage[path] || coverage[path].hash !== hash) {
2389
+ coverage[path] = coverageData;
2390
+ }
2391
+ var actualCoverage = coverage[path];
2392
+ {
2393
+ // @ts-ignore
2394
+ cov_m5zh4tynr = function () {
2395
+ return actualCoverage;
2396
+ };
2397
+ }
2398
+ return actualCoverage;
2399
+ }
2400
+ cov_m5zh4tynr();
2401
+ function ownKeys$1(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; }
2402
+ function _objectSpread$1(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
2403
+ cov_m5zh4tynr().s[0]++;
2404
+ var FilterButton = function FilterButton(_ref) {
2405
+ var buttonProps = _ref.buttonProps,
2406
+ props = _objectWithoutProperties(_ref, _excluded);
2407
+ cov_m5zh4tynr().f[0]++;
2408
+ var _ref2 = (cov_m5zh4tynr().s[1]++, useTranslation()),
2409
+ t = _ref2.t;
2410
+ cov_m5zh4tynr().s[2]++;
2411
+ return /*#__PURE__*/React.createElement("div", {
2412
+ className: "neeto-molecules-subheader__filter"
2413
+ }, /*#__PURE__*/React.createElement(Filters, _extends({
2414
+ buttonProps: _objectSpread$1({
2415
+ "data-testid": "filter-button",
2416
+ icon: Filter,
2417
+ style: "text",
2418
+ tooltipProps: {
2419
+ content: t("neetoMolecules.common.filter"),
2420
+ position: "bottom"
2421
+ },
2422
+ label: null
2423
+ }, buttonProps)
2424
+ }, props)));
2425
+ };
2426
+
2427
+ function cov_yp8t4aac1() {
2428
+ var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/SubHeader/RightBlock/index.jsx";
2429
+ var hash = "9cc82e2363692514f071479e9badda2e6c36b5c0";
2430
+ var global = new Function("return this")();
2431
+ var gcv = "__coverage__";
2432
+ var coverageData = {
2433
+ path: "/home/runner/work/neeto-molecules/neeto-molecules/src/components/SubHeader/RightBlock/index.jsx",
2434
+ statementMap: {
2435
+ "0": {
2436
+ start: {
2437
+ line: 7,
2438
+ column: 19
2439
+ },
2440
+ end: {
2441
+ line: 17,
2442
+ column: 1
2443
+ }
2444
+ },
2445
+ "1": {
2446
+ start: {
2447
+ line: 12,
2448
+ column: 2
2449
+ },
2450
+ end: {
2451
+ line: 16,
2452
+ column: 8
803
2453
  }
804
2454
  }
805
2455
  },
@@ -808,100 +2458,142 @@ function cov_1rnptrlqih() {
808
2458
  name: "(anonymous_0)",
809
2459
  decl: {
810
2460
  start: {
811
- line: 9,
2461
+ line: 7,
812
2462
  column: 19
813
2463
  },
814
2464
  end: {
815
- line: 9,
2465
+ line: 7,
816
2466
  column: 20
817
2467
  }
818
2468
  },
819
2469
  loc: {
820
2470
  start: {
821
- line: 10,
2471
+ line: 12,
822
2472
  column: 2
823
2473
  },
824
2474
  end: {
825
- line: 28,
2475
+ line: 16,
826
2476
  column: 8
827
2477
  }
828
2478
  },
829
- line: 10
2479
+ line: 12
830
2480
  }
831
2481
  },
832
2482
  branchMap: {
833
2483
  "0": {
834
2484
  loc: {
835
2485
  start: {
836
- line: 9,
837
- column: 22
2486
+ line: 13,
2487
+ column: 5
838
2488
  },
839
2489
  end: {
840
- line: 9,
841
- column: 31
2490
+ line: 13,
2491
+ column: 65
842
2492
  }
843
2493
  },
844
- type: "default-arg",
2494
+ type: "binary-expr",
845
2495
  locations: [{
846
2496
  start: {
847
- line: 9,
848
- column: 29
2497
+ line: 13,
2498
+ column: 5
849
2499
  },
850
2500
  end: {
851
- line: 9,
852
- column: 31
2501
+ line: 13,
2502
+ column: 24
2503
+ }
2504
+ }, {
2505
+ start: {
2506
+ line: 13,
2507
+ column: 28
2508
+ },
2509
+ end: {
2510
+ line: 13,
2511
+ column: 65
853
2512
  }
854
2513
  }],
855
- line: 9
2514
+ line: 13
856
2515
  },
857
2516
  "1": {
858
2517
  loc: {
859
2518
  start: {
860
- line: 22,
861
- column: 7
2519
+ line: 14,
2520
+ column: 5
862
2521
  },
863
2522
  end: {
864
- line: 26,
865
- column: 7
2523
+ line: 14,
2524
+ column: 62
866
2525
  }
867
2526
  },
868
2527
  type: "binary-expr",
869
2528
  locations: [{
870
2529
  start: {
871
- line: 22,
872
- column: 7
2530
+ line: 14,
2531
+ column: 5
873
2532
  },
874
2533
  end: {
875
- line: 22,
876
- column: 11
2534
+ line: 14,
2535
+ column: 23
877
2536
  }
878
2537
  }, {
879
2538
  start: {
880
- line: 23,
881
- column: 8
2539
+ line: 14,
2540
+ column: 27
882
2541
  },
883
2542
  end: {
884
- line: 25,
885
- column: 21
2543
+ line: 14,
2544
+ column: 62
886
2545
  }
887
2546
  }],
888
- line: 22
2547
+ line: 14
2548
+ },
2549
+ "2": {
2550
+ loc: {
2551
+ start: {
2552
+ line: 15,
2553
+ column: 5
2554
+ },
2555
+ end: {
2556
+ line: 15,
2557
+ column: 47
2558
+ }
2559
+ },
2560
+ type: "binary-expr",
2561
+ locations: [{
2562
+ start: {
2563
+ line: 15,
2564
+ column: 5
2565
+ },
2566
+ end: {
2567
+ line: 15,
2568
+ column: 16
2569
+ }
2570
+ }, {
2571
+ start: {
2572
+ line: 15,
2573
+ column: 20
2574
+ },
2575
+ end: {
2576
+ line: 15,
2577
+ column: 47
2578
+ }
2579
+ }],
2580
+ line: 15
889
2581
  }
890
2582
  },
891
2583
  s: {
892
2584
  "0": 0,
893
- "1": 0,
894
- "2": 0
2585
+ "1": 0
895
2586
  },
896
2587
  f: {
897
2588
  "0": 0
898
2589
  },
899
2590
  b: {
900
- "0": [0],
901
- "1": [0, 0]
2591
+ "0": [0, 0],
2592
+ "1": [0, 0],
2593
+ "2": [0, 0]
902
2594
  },
903
2595
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
904
- hash: "40cda882f932d7a0fcac6bc5ec150d93c0420b62"
2596
+ hash: "9cc82e2363692514f071479e9badda2e6c36b5c0"
905
2597
  };
906
2598
  var coverage = global[gcv] || (global[gcv] = {});
907
2599
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -910,54 +2602,31 @@ function cov_1rnptrlqih() {
910
2602
  var actualCoverage = coverage[path];
911
2603
  {
912
2604
  // @ts-ignore
913
- cov_1rnptrlqih = function () {
2605
+ cov_yp8t4aac1 = function () {
914
2606
  return actualCoverage;
915
2607
  };
916
2608
  }
917
2609
  return actualCoverage;
918
2610
  }
919
- cov_1rnptrlqih();
920
- cov_1rnptrlqih().s[0]++;
921
- var PageLoader = function PageLoader(_ref) {
922
- var _ref$text = _ref.text,
923
- text = _ref$text === void 0 ? (cov_1rnptrlqih().b[0][0]++, "") : _ref$text,
924
- otherProps = _objectWithoutProperties(_ref, _excluded);
925
- cov_1rnptrlqih().f[0]++;
926
- cov_1rnptrlqih().s[1]++;
927
- return /*#__PURE__*/React.createElement("div", _extends({
928
- className: "neeto-molecules-pageloader__wrapper"
929
- }, otherProps), /*#__PURE__*/React.createElement("div", {
930
- className: "neeto-molecules-pageloader neeto-ui-flex neeto-ui-flex-col neeto-ui-items-center neeto-ui-justify-center"
931
- }, /*#__PURE__*/React.createElement("div", {
932
- className: "neeto-molecules-pageloader__content neeto-ui-flex neeto-ui-flex-shrink-0 neeto-ui-items-center neeto-ui-justify-center"
933
- }, /*#__PURE__*/React.createElement(Neeto, {
934
- className: "neeto-molecules-pageloader__logo",
935
- size: 50
936
- }), /*#__PURE__*/React.createElement("div", {
937
- className: "neeto-molecules-pageloader__spinner"
938
- }, /*#__PURE__*/React.createElement("div", {
939
- className: "neeto-molecules-pageloader__rect1"
940
- }), /*#__PURE__*/React.createElement("div", {
941
- className: "neeto-molecules-pageloader__rect2"
942
- }), /*#__PURE__*/React.createElement("div", {
943
- className: "neeto-molecules-pageloader__rect3"
944
- }), /*#__PURE__*/React.createElement("div", {
945
- className: "neeto-molecules-pageloader__rect4"
946
- }), /*#__PURE__*/React.createElement("div", {
947
- className: "neeto-molecules-pageloader__rect5"
948
- }))), (cov_1rnptrlqih().b[1][0]++, text) && (cov_1rnptrlqih().b[1][1]++, /*#__PURE__*/React.createElement(Typography, {
949
- style: "h5",
950
- weight: "semibold"
951
- }, text))));
2611
+ cov_yp8t4aac1();
2612
+ cov_yp8t4aac1().s[0]++;
2613
+ var RightBlock = function RightBlock(_ref) {
2614
+ var downloadButtonProps = _ref.downloadButtonProps,
2615
+ columnsButtonProps = _ref.columnsButtonProps,
2616
+ filterProps = _ref.filterProps;
2617
+ cov_yp8t4aac1().f[0]++;
2618
+ cov_yp8t4aac1().s[1]++;
2619
+ return /*#__PURE__*/React.createElement("div", {
2620
+ className: "neeto-molecules-subheader__right-actions"
2621
+ }, (cov_yp8t4aac1().b[0][0]++, downloadButtonProps) && (cov_yp8t4aac1().b[0][1]++, /*#__PURE__*/React.createElement(DownloadButton, downloadButtonProps)), (cov_yp8t4aac1().b[1][0]++, columnsButtonProps) && (cov_yp8t4aac1().b[1][1]++, /*#__PURE__*/React.createElement(Columns, columnsButtonProps)), (cov_yp8t4aac1().b[2][0]++, filterProps) && (cov_yp8t4aac1().b[2][1]++, /*#__PURE__*/React.createElement(FilterButton, filterProps)));
952
2622
  };
953
- cov_1rnptrlqih().s[2]++;
954
2623
 
955
- 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}";
2624
+ 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}";
956
2625
  n(css,{});
957
2626
 
958
2627
  function cov_mkycqaehe() {
959
2628
  var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/SubHeader/index.jsx";
960
- var hash = "add11ac729f682ff4016960d57fa604d2fbbbcaa";
2629
+ var hash = "f99fde5ef8dd8b7cb1893834760b2fabb55416b1";
961
2630
  var global = new Function("return this")();
962
2631
  var gcv = "__coverage__";
963
2632
  var coverageData = {
@@ -965,23 +2634,33 @@ function cov_mkycqaehe() {
965
2634
  statementMap: {
966
2635
  "0": {
967
2636
  start: {
968
- line: 7,
2637
+ line: 8,
969
2638
  column: 18
970
2639
  },
971
2640
  end: {
972
- line: 21,
2641
+ line: 22,
973
2642
  column: 1
974
2643
  }
975
2644
  },
976
2645
  "1": {
977
2646
  start: {
978
- line: 8,
2647
+ line: 9,
979
2648
  column: 2
980
2649
  },
981
2650
  end: {
982
- line: 20,
2651
+ line: 21,
983
2652
  column: 8
984
2653
  }
2654
+ },
2655
+ "2": {
2656
+ start: {
2657
+ line: 24,
2658
+ column: 0
2659
+ },
2660
+ end: {
2661
+ line: 24,
2662
+ column: 34
2663
+ }
985
2664
  }
986
2665
  },
987
2666
  fnMap: {
@@ -989,122 +2668,123 @@ function cov_mkycqaehe() {
989
2668
  name: "(anonymous_0)",
990
2669
  decl: {
991
2670
  start: {
992
- line: 7,
2671
+ line: 8,
993
2672
  column: 18
994
2673
  },
995
2674
  end: {
996
- line: 7,
2675
+ line: 8,
997
2676
  column: 19
998
2677
  }
999
2678
  },
1000
2679
  loc: {
1001
2680
  start: {
1002
- line: 8,
2681
+ line: 9,
1003
2682
  column: 2
1004
2683
  },
1005
2684
  end: {
1006
- line: 20,
2685
+ line: 21,
1007
2686
  column: 8
1008
2687
  }
1009
2688
  },
1010
- line: 8
2689
+ line: 9
1011
2690
  }
1012
2691
  },
1013
2692
  branchMap: {
1014
2693
  "0": {
1015
2694
  loc: {
1016
2695
  start: {
1017
- line: 7,
2696
+ line: 8,
1018
2697
  column: 21
1019
2698
  },
1020
2699
  end: {
1021
- line: 7,
2700
+ line: 8,
1022
2701
  column: 35
1023
2702
  }
1024
2703
  },
1025
2704
  type: "default-arg",
1026
2705
  locations: [{
1027
2706
  start: {
1028
- line: 7,
2707
+ line: 8,
1029
2708
  column: 33
1030
2709
  },
1031
2710
  end: {
1032
- line: 7,
2711
+ line: 8,
1033
2712
  column: 35
1034
2713
  }
1035
2714
  }],
1036
- line: 7
2715
+ line: 8
1037
2716
  },
1038
2717
  "1": {
1039
2718
  loc: {
1040
2719
  start: {
1041
- line: 13,
2720
+ line: 14,
1042
2721
  column: 7
1043
2722
  },
1044
2723
  end: {
1045
- line: 15,
2724
+ line: 16,
1046
2725
  column: 7
1047
2726
  }
1048
2727
  },
1049
2728
  type: "binary-expr",
1050
2729
  locations: [{
1051
2730
  start: {
1052
- line: 13,
2731
+ line: 14,
1053
2732
  column: 7
1054
2733
  },
1055
2734
  end: {
1056
- line: 13,
2735
+ line: 14,
1057
2736
  column: 22
1058
2737
  }
1059
2738
  }, {
1060
2739
  start: {
1061
- line: 14,
2740
+ line: 15,
1062
2741
  column: 8
1063
2742
  },
1064
2743
  end: {
1065
- line: 14,
2744
+ line: 15,
1066
2745
  column: 80
1067
2746
  }
1068
2747
  }],
1069
- line: 13
2748
+ line: 14
1070
2749
  },
1071
2750
  "2": {
1072
2751
  loc: {
1073
2752
  start: {
1074
- line: 17,
2753
+ line: 18,
1075
2754
  column: 5
1076
2755
  },
1077
2756
  end: {
1078
- line: 19,
2757
+ line: 20,
1079
2758
  column: 5
1080
2759
  }
1081
2760
  },
1082
2761
  type: "binary-expr",
1083
2762
  locations: [{
1084
2763
  start: {
1085
- line: 17,
2764
+ line: 18,
1086
2765
  column: 5
1087
2766
  },
1088
2767
  end: {
1089
- line: 17,
2768
+ line: 18,
1090
2769
  column: 21
1091
2770
  }
1092
2771
  }, {
1093
2772
  start: {
1094
- line: 18,
2773
+ line: 19,
1095
2774
  column: 6
1096
2775
  },
1097
2776
  end: {
1098
- line: 18,
2777
+ line: 19,
1099
2778
  column: 80
1100
2779
  }
1101
2780
  }],
1102
- line: 17
2781
+ line: 18
1103
2782
  }
1104
2783
  },
1105
2784
  s: {
1106
2785
  "0": 0,
1107
- "1": 0
2786
+ "1": 0,
2787
+ "2": 0
1108
2788
  },
1109
2789
  f: {
1110
2790
  "0": 0
@@ -1115,7 +2795,7 @@ function cov_mkycqaehe() {
1115
2795
  "2": [0, 0]
1116
2796
  },
1117
2797
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
1118
- hash: "add11ac729f682ff4016960d57fa604d2fbbbcaa"
2798
+ hash: "f99fde5ef8dd8b7cb1893834760b2fabb55416b1"
1119
2799
  };
1120
2800
  var coverage = global[gcv] || (global[gcv] = {});
1121
2801
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -1150,6 +2830,8 @@ var SubHeader = function SubHeader(_ref) {
1150
2830
  className: "neeto-molecules-subheader__right"
1151
2831
  }, rightActionBlock)));
1152
2832
  };
2833
+ cov_mkycqaehe().s[2]++;
2834
+ SubHeader.RightBlock = RightBlock;
1153
2835
 
1154
2836
  function cov_222iv29ng9() {
1155
2837
  var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/CustomDomain/constants.js";
@@ -2265,7 +3947,7 @@ function cov_20ap541pw6() {
2265
3947
  return actualCoverage;
2266
3948
  }
2267
3949
  cov_20ap541pw6();
2268
- var _ref = (cov_20ap541pw6().s[0]++, Dropdown),
3950
+ var _ref = (cov_20ap541pw6().s[0]++, Dropdown$1),
2269
3951
  Menu = _ref.Menu,
2270
3952
  MenuItem = _ref.MenuItem;
2271
3953
  cov_20ap541pw6().s[1]++;
@@ -2302,7 +3984,7 @@ var renderColumnData = function renderColumnData(enableManagePane, enableDeleteA
2302
3984
  cov_20ap541pw6().s[5]++;
2303
3985
  return e.stopPropagation();
2304
3986
  }
2305
- }, /*#__PURE__*/React.createElement(Dropdown, {
3987
+ }, /*#__PURE__*/React.createElement(Dropdown$1, {
2306
3988
  autoWidth: true,
2307
3989
  buttonProps: {
2308
3990
  style: "text"
@@ -2813,47 +4495,6 @@ var getCustomDomainValidationSchema = function getCustomDomainValidationSchema()
2813
4495
  });
2814
4496
  };
2815
4497
 
2816
- function _typeof(obj) {
2817
- "@babel/helpers - typeof";
2818
-
2819
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
2820
- return typeof obj;
2821
- } : function (obj) {
2822
- return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
2823
- }, _typeof(obj);
2824
- }
2825
-
2826
- function _toPrimitive(input, hint) {
2827
- if (_typeof(input) !== "object" || input === null) return input;
2828
- var prim = input[Symbol.toPrimitive];
2829
- if (prim !== undefined) {
2830
- var res = prim.call(input, hint || "default");
2831
- if (_typeof(res) !== "object") return res;
2832
- throw new TypeError("@@toPrimitive must return a primitive value.");
2833
- }
2834
- return (hint === "string" ? String : Number)(input);
2835
- }
2836
-
2837
- function _toPropertyKey(arg) {
2838
- var key = _toPrimitive(arg, "string");
2839
- return _typeof(key) === "symbol" ? key : String(key);
2840
- }
2841
-
2842
- function _defineProperty(obj, key, value) {
2843
- key = _toPropertyKey(key);
2844
- if (key in obj) {
2845
- Object.defineProperty(obj, key, {
2846
- value: value,
2847
- enumerable: true,
2848
- configurable: true,
2849
- writable: true
2850
- });
2851
- } else {
2852
- obj[key] = value;
2853
- }
2854
- return obj;
2855
- }
2856
-
2857
4498
  function cov_vcb813vkn() {
2858
4499
  var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/CustomDomain/api.js";
2859
4500
  var hash = "dc9390a35b9aa57341cc88d571338002fb6512d0";