@bento-core/table 1.0.1-ccdihub.99 → 1.0.1-ccdiintegrated.10

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 (75) hide show
  1. package/dist/ExtendedView.js +135 -8
  2. package/dist/TableView.js +25 -7
  3. package/dist/body/CustomTblBody.js +2 -1
  4. package/dist/body/DefaultThemConfig.js +1 -1
  5. package/dist/body/DisplayBodyCell.js +24 -2
  6. package/dist/body/components/CPIMappingView.js +221 -0
  7. package/dist/body/components/CPIModal.js +440 -94
  8. package/dist/body/components/CPIView.js +64 -10
  9. package/dist/body/components/CustomLinkView.js +2 -1
  10. package/dist/body/components/DataFormatView.js +1 -1
  11. package/dist/body/components/StudiesDataAvailabilityView.js +125 -0
  12. package/dist/body/components/assets/CPI_Icon_Dataset.svg +6 -0
  13. package/dist/body/components/assets/CPI_Icon_Multi.svg +6 -0
  14. package/dist/body/components/assets/CPI_Icon_Single.svg +4 -0
  15. package/dist/body/components/assets/CPI_Icon_Study.svg +11 -0
  16. package/dist/body/components/assets/Participant_Files.svg +17 -0
  17. package/dist/body/components/assets/Publications.svg +15 -0
  18. package/dist/body/components/assets/Sample_Files.svg +16 -0
  19. package/dist/body/components/assets/Study_Files.svg +21 -0
  20. package/dist/body/components/assets/download.svg +3 -0
  21. package/dist/header/CustomCell.js +4 -3
  22. package/dist/header/CustomTblHeader.js +16 -3
  23. package/dist/index.js +25 -0
  24. package/dist/toolbar/DownloadButtonView.js +30 -4
  25. package/dist/toolbar/SearchBar.js +92 -0
  26. package/dist/toolbar/assets/Search_Icon.svg +3 -0
  27. package/dist/util/Dataformat.js +50 -2
  28. package/dist/util/Types.js +16 -4
  29. package/dist/util/downloadTable.js +77 -53
  30. package/dist/wrapper/components/AddFiles.js +6 -14
  31. package/dist/wrapper/components/AddToCart/AddToCartView.js +128 -0
  32. package/dist/wrapper/components/AddToCart/ReduxAddToCart.js +28 -0
  33. package/dist/wrapper/components/CPIFilesView/CPIFilesView.js +12 -6
  34. package/dist/wrapper/components/ReduxAddFile.js +1 -0
  35. package/dist/wrapper/components/Snackbar/CartToast.js +96 -0
  36. package/dist/wrapper/components/Snackbar/Snackbar.js +12 -1
  37. package/dist/wrapper/components/Snackbar/SnackbarRedux.js +2 -1
  38. package/package.json +23 -22
  39. package/src/ExtendedView.js +147 -8
  40. package/src/TableView.js +29 -8
  41. package/src/body/CustomTblBody.js +2 -1
  42. package/src/body/DefaultThemConfig.js +1 -1
  43. package/src/body/DisplayBodyCell.js +40 -2
  44. package/src/body/components/CPIMappingView.js +260 -0
  45. package/src/body/components/CPIModal.js +468 -101
  46. package/src/body/components/CPIView.js +75 -22
  47. package/src/body/components/CustomLinkView.js +4 -1
  48. package/src/body/components/DataFormatView.js +4 -2
  49. package/src/body/components/StudiesDataAvailabilityView.js +121 -0
  50. package/src/body/components/assets/CPI_Icon_Dataset.svg +6 -0
  51. package/src/body/components/assets/CPI_Icon_Multi.svg +6 -0
  52. package/src/body/components/assets/CPI_Icon_Single.svg +4 -0
  53. package/src/body/components/assets/CPI_Icon_Study.svg +11 -0
  54. package/src/body/components/assets/Participant_Files.svg +17 -0
  55. package/src/body/components/assets/Publications.svg +15 -0
  56. package/src/body/components/assets/Sample_Files.svg +16 -0
  57. package/src/body/components/assets/Study_Files.svg +21 -0
  58. package/src/body/components/assets/download.svg +3 -0
  59. package/src/header/CustomCell.js +4 -3
  60. package/src/header/CustomTblHeader.js +13 -1
  61. package/src/index.js +7 -1
  62. package/src/toolbar/DownloadButtonView.js +20 -4
  63. package/src/toolbar/SearchBar.js +90 -0
  64. package/src/toolbar/assets/Search_Icon.svg +3 -0
  65. package/src/util/Dataformat.js +47 -0
  66. package/src/util/Types.js +10 -1
  67. package/src/util/downloadTable.js +75 -34
  68. package/src/wrapper/components/AddFiles.js +7 -14
  69. package/src/wrapper/components/AddToCart/AddToCartView.js +134 -0
  70. package/src/wrapper/components/AddToCart/ReduxAddToCart.js +21 -0
  71. package/src/wrapper/components/CPIFilesView/CPIFilesView.js +15 -9
  72. package/src/wrapper/components/ReduxAddFile.js +1 -0
  73. package/src/wrapper/components/Snackbar/CartToast.js +99 -0
  74. package/src/wrapper/components/Snackbar/Snackbar.js +8 -3
  75. package/src/wrapper/components/Snackbar/SnackbarRedux.js +2 -1
@@ -7,7 +7,8 @@ exports.default = void 0;
7
7
  var _react = _interopRequireWildcard(require("react"));
8
8
  var _core = require("@material-ui/core");
9
9
  var _Types = require("../../util/Types");
10
- var _CPI_icon = _interopRequireDefault(require("./assets/CPI_icon.svg"));
10
+ var _CPI_Icon_Single = _interopRequireDefault(require("./assets/CPI_Icon_Single.svg"));
11
+ var _CPI_Icon_Multi = _interopRequireDefault(require("./assets/CPI_Icon_Multi.svg"));
11
12
  var _CPIModal = _interopRequireDefault(require("./CPIModal"));
12
13
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
13
14
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
@@ -34,17 +35,23 @@ const CPIView = _ref => {
34
35
  backgroundColor: 'white',
35
36
  border: '1px solid black',
36
37
  color: 'black',
37
- font: 'Poppins',
38
+ fontFamily: 'Poppins',
38
39
  fontWeight: 400,
40
+ fontStyle: 'Regular',
39
41
  fontSize: '13px',
40
- lineHeight: '17.5px'
42
+ lineHeight: '17.5px',
43
+ letterSpacing: '-0.01em',
44
+ padding: '10px'
41
45
  }
42
46
  }));
43
47
  const classes = useStyles();
44
48
  const [modalOpen, setModalOpen] = (0, _react.useState)(false);
45
- const cpiData = row.cpi_data;
49
+ const cpiData = row.cpi_data ? row.cpi_data : [];
46
50
  const internalData = cpiData.filter(e => e.data_type === 'internal');
47
51
  const externalData = cpiData.filter(e => e.data_type === 'external');
52
+
53
+ // Select icon based on data length
54
+ const cpiIcon = cpiData.length === 1 ? _CPI_Icon_Single.default : _CPI_Icon_Multi.default;
48
55
  const handleModalOpen = () => {
49
56
  setModalOpen(true);
50
57
  };
@@ -59,15 +66,46 @@ const CPIView = _ref => {
59
66
  padding: 0,
60
67
  marginLeft: '3px'
61
68
  };
69
+ const italicText = {
70
+ fontFamily: 'Poppins',
71
+ fontWeight: 400,
72
+ fontStyle: 'italic',
73
+ fontSize: '13px',
74
+ lineHeight: '19px',
75
+ letterSpacing: '-0.01em'
76
+ };
62
77
  const icon = {
63
78
  marginLeft: '10px',
64
79
  position: 'relative',
65
80
  top: '5px',
66
- cursor: 'pointer'
81
+ cursor: 'pointer',
82
+ display: 'inline-block'
67
83
  };
84
+ const badgeContainer = {
85
+ position: 'relative',
86
+ display: 'inline-block'
87
+ };
88
+ const getBadgeStyle = () => ({
89
+ position: 'absolute',
90
+ right: cpiData.length === 1 ? '-4px' : '-6px',
91
+ bottom: cpiData.length === 1 ? '0.5px' : '0px',
92
+ backgroundColor: '#07679C',
93
+ borderRadius: '4px',
94
+ minWidth: '12px',
95
+ height: '12px',
96
+ display: 'flex',
97
+ alignItems: 'center',
98
+ justifyContent: 'center',
99
+ padding: '0 3px',
100
+ fontSize: '9px',
101
+ fontWeight: 700,
102
+ color: 'white',
103
+ fontFamily: 'Poppins'
104
+ });
68
105
  return /*#__PURE__*/_react.default.createElement(_core.Typography, {
69
106
  className: _Types.cellTypes.CPI
70
107
  }, row[column === null || column === void 0 ? void 0 : column.dataField], cpiData.length ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_CPIModal.default, {
108
+ key: "".concat(row.id, "-").concat(row.participant_id),
71
109
  row: row,
72
110
  open: modalOpen,
73
111
  onClose: handleModalClose,
@@ -89,16 +127,28 @@ const CPIView = _ref => {
89
127
  arrow: classes.arrow,
90
128
  tooltip: classes.tooltip
91
129
  },
92
- title: externalData.length && internalData.length === 0 ? /*#__PURE__*/_react.default.createElement("div", null, "All mapped identifiers in the CCDI Participant Index (CPI) are available", /*#__PURE__*/_react.default.createElement("span", {
130
+ title: externalData.length === 1 && internalData.length === 0 ? /*#__PURE__*/_react.default.createElement("div", null, "dbGaP identifier mapped in the CCDI Participant Index (CPI) is available", /*#__PURE__*/_react.default.createElement("span", {
131
+ role: "button",
132
+ onClick: handleModalOpen,
133
+ tabIndex: 0,
134
+ style: button
135
+ }, "here.")) : externalData.length > 1 && internalData.length === 0 ? /*#__PURE__*/_react.default.createElement("div", null, "Multiple alternative identifiers mapped in the CCDI Participant Index (CPI) are available", /*#__PURE__*/_react.default.createElement("span", {
93
136
  role: "button",
94
137
  onClick: handleModalOpen,
95
138
  tabIndex: 0,
96
139
  style: button
97
140
  }, "here.")) : /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement("div", {
98
141
  style: {
99
- marginBottom: '3px'
142
+ marginBottom: '6px'
100
143
  }
101
- }, "Identifier mapped in CCDI Hub:"), internalData.map(e => /*#__PURE__*/_react.default.createElement("div", null, "".concat(e.associated_id, ", ").concat(e.repository_of_synonym_id))), /*#__PURE__*/_react.default.createElement("p", null, "All mapped identifiers in the CCDI Participant Index (CPI) are available", /*#__PURE__*/_react.default.createElement("span", {
144
+ }, "This participant has more than one identifier in CCDI Hub studies:"), internalData.map(e => /*#__PURE__*/_react.default.createElement("div", {
145
+ key: e.associated_id,
146
+ style: italicText
147
+ }, "".concat(e.associated_id, ", ").concat(e.repository_of_synonym_id))), /*#__PURE__*/_react.default.createElement("div", {
148
+ style: {
149
+ marginTop: '6px'
150
+ }
151
+ }, "Additional alternative identifiers mapped in the CCDI Participant Index (CPI) for this participant are available", /*#__PURE__*/_react.default.createElement("span", {
102
152
  role: "button",
103
153
  onClick: handleModalOpen,
104
154
  tabIndex: 0,
@@ -106,12 +156,16 @@ const CPIView = _ref => {
106
156
  }, "here.")))
107
157
  }, /*#__PURE__*/_react.default.createElement("span", {
108
158
  style: icon
159
+ }, /*#__PURE__*/_react.default.createElement("span", {
160
+ style: badgeContainer
109
161
  }, /*#__PURE__*/_react.default.createElement("img", {
110
- src: _CPI_icon.default,
162
+ src: cpiIcon,
111
163
  height: 21,
112
164
  width: 23,
113
165
  alt: "cpi-icon"
114
- })))) : /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null));
166
+ }), /*#__PURE__*/_react.default.createElement("span", {
167
+ style: getBadgeStyle()
168
+ }, cpiData.length))))) : /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null));
115
169
  };
116
170
  var _default = CPIView;
117
171
  exports.default = _default;
@@ -7,6 +7,7 @@ exports.default = void 0;
7
7
  var _react = _interopRequireDefault(require("react"));
8
8
  var _core = require("@material-ui/core");
9
9
  var _Types = require("../../util/Types");
10
+ var _Dataformat = require("../../util/Dataformat");
10
11
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
11
12
  /**
12
13
  * Custom Link component
@@ -24,7 +25,7 @@ const CustomLinkView = _ref => {
24
25
  return /*#__PURE__*/_react.default.createElement(_core.Link, {
25
26
  href: url,
26
27
  className: _Types.cellTypes.LINK
27
- }, /*#__PURE__*/_react.default.createElement(_core.Typography, null, row[column === null || column === void 0 ? void 0 : column.dataField]));
28
+ }, /*#__PURE__*/_react.default.createElement(_core.Typography, null, (0, _Dataformat.isBracketStripEnabled)(column) ? (0, _Dataformat.formatValueForDisplay)(row[column === null || column === void 0 ? void 0 : column.dataField]) : row[column === null || column === void 0 ? void 0 : column.dataField]));
28
29
  };
29
30
  var _default = CustomLinkView;
30
31
  exports.default = _default;
@@ -26,7 +26,7 @@ const CellView = _ref => {
26
26
  case _Types.dataFormatTypes.FORMAT_BYTES:
27
27
  return /*#__PURE__*/_react.default.createElement(_core.Typography, null, (0, _Dataformat.formatBytes)(value));
28
28
  default:
29
- return /*#__PURE__*/_react.default.createElement(_core.Typography, null, value);
29
+ return /*#__PURE__*/_react.default.createElement(_core.Typography, null, (0, _Dataformat.isBracketStripEnabled)(column) ? (0, _Dataformat.formatValueForDisplay)(value) : value);
30
30
  }
31
31
  };
32
32
  const DataFormatView = _ref2 => {
@@ -0,0 +1,125 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ var _react = _interopRequireDefault(require("react"));
8
+ var _core = require("@material-ui/core");
9
+ var _Participant_Files = _interopRequireDefault(require("./assets/Participant_Files.svg"));
10
+ var _Study_Files = _interopRequireDefault(require("./assets/Study_Files.svg"));
11
+ var _Sample_Files = _interopRequireDefault(require("./assets/Sample_Files.svg"));
12
+ var _Publications = _interopRequireDefault(require("./assets/Publications.svg"));
13
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
14
+ /**
15
+ * Studies Data Availability component
16
+ * Displays up to 4 icons based on data availability
17
+ */
18
+
19
+ const StudiesDataAvailabilityView = _ref => {
20
+ let {
21
+ column,
22
+ row
23
+ } = _ref;
24
+ const useStyles = (0, _core.makeStyles)(() => ({
25
+ arrow: {
26
+ '&:before': {
27
+ border: '1px solid #598AC5'
28
+ },
29
+ color: 'white'
30
+ },
31
+ tooltip: {
32
+ backgroundColor: 'white',
33
+ border: '1px solid #598AC5',
34
+ color: '#000000',
35
+ fontFamily: 'Open Sans',
36
+ fontWeight: 400,
37
+ fontSize: '14px',
38
+ lineHeight: '20px',
39
+ padding: '12px 16px',
40
+ display: 'flex',
41
+ alignItems: 'center',
42
+ gap: '8px',
43
+ boxShadow: '0px 2px 8px rgba(0, 0, 0, 0.15)'
44
+ }
45
+ }));
46
+ const classes = useStyles();
47
+ const {
48
+ customCellData
49
+ } = column;
50
+ const fields = (customCellData === null || customCellData === void 0 ? void 0 : customCellData.fields) || [];
51
+
52
+ // Extract the field values
53
+ const numStudyFiles = row[fields[0]] || 0;
54
+ const numParticipantFiles = row[fields[1]] || 0;
55
+ const numSampleFiles = row[fields[2]] || 0;
56
+ const numPublications = row[fields[3]] || 0;
57
+ const containerStyle = {
58
+ display: 'flex',
59
+ alignItems: 'center',
60
+ justifyContent: 'center',
61
+ gap: '24px',
62
+ width: (customCellData === null || customCellData === void 0 ? void 0 : customCellData.width) || '400px',
63
+ padding: '8px 0'
64
+ };
65
+ const iconWrapperStyle = {
66
+ width: '40px',
67
+ height: '40px',
68
+ display: 'flex',
69
+ alignItems: 'center',
70
+ justifyContent: 'center'
71
+ };
72
+ const countStyle = {
73
+ color: '#19676D',
74
+ fontWeight: 600,
75
+ fontSize: '16px',
76
+ marginRight: '4px'
77
+ };
78
+ const labelStyle = {
79
+ color: '#000000',
80
+ fontSize: '14px'
81
+ };
82
+ const renderIcon = (icon, count, label, altText) => {
83
+ if (count === 0) {
84
+ // Return empty space to maintain layout
85
+ return /*#__PURE__*/_react.default.createElement("div", {
86
+ style: iconWrapperStyle
87
+ });
88
+ }
89
+ return /*#__PURE__*/_react.default.createElement(_core.Tooltip, {
90
+ title: /*#__PURE__*/_react.default.createElement("div", {
91
+ style: {
92
+ display: 'flex',
93
+ alignItems: 'center'
94
+ }
95
+ }, /*#__PURE__*/_react.default.createElement("span", {
96
+ style: countStyle
97
+ }, count), /*#__PURE__*/_react.default.createElement("span", {
98
+ style: labelStyle
99
+ }, label)),
100
+ arrow: true,
101
+ placement: "top",
102
+ classes: {
103
+ arrow: classes.arrow,
104
+ tooltip: classes.tooltip
105
+ }
106
+ }, /*#__PURE__*/_react.default.createElement("div", {
107
+ style: iconWrapperStyle
108
+ }, /*#__PURE__*/_react.default.createElement("img", {
109
+ src: icon,
110
+ alt: altText,
111
+ width: "26",
112
+ height: "26",
113
+ style: {
114
+ cursor: 'pointer'
115
+ }
116
+ })));
117
+ };
118
+ return /*#__PURE__*/_react.default.createElement(_core.Typography, {
119
+ component: "div"
120
+ }, /*#__PURE__*/_react.default.createElement("div", {
121
+ style: containerStyle
122
+ }, renderIcon(_Participant_Files.default, numParticipantFiles, 'Participant File(s)', 'Participant Files'), renderIcon(_Study_Files.default, numStudyFiles, 'Study File(s)', 'Study Files'), renderIcon(_Sample_Files.default, numSampleFiles, 'Sample File(s)', 'Sample Files'), renderIcon(_Publications.default, numPublications, 'Publication(s)', 'Publications')));
123
+ };
124
+ var _default = StudiesDataAvailabilityView;
125
+ exports.default = _default;
@@ -0,0 +1,6 @@
1
+ <svg width="18" height="23" viewBox="0 0 18 23" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M17.5136 1.7276C17.9317 2.03935 18 2.2645 18 2.36841C18 2.47666 17.9275 2.69748 17.5136 3.00922C17.1083 3.31231 16.4769 3.61107 15.6407 3.87519C13.9725 4.3991 11.626 4.73682 9.00213 4.73682C6.37829 4.73682 4.03176 4.40343 2.36359 3.87519C1.52738 3.61107 0.895947 3.31231 0.490637 3.00922C0.0725288 2.69748 0.00426674 2.47233 0.00426674 2.36841C0.00426674 2.2645 0.0725288 2.04367 0.490637 1.7276C0.895947 1.42451 1.52738 1.12575 2.36359 0.861634C4.03176 0.337726 6.37829 0 9.00213 0C11.626 0 13.9682 0.333396 15.6364 0.861634C16.4726 1.12575 17.1041 1.42451 17.5094 1.7276H17.5136Z" fill="#07679C"/>
3
+ <path d="M1.96682 5.16535C3.79711 5.74121 6.28443 6.0876 8.99787 6.0876C11.7113 6.0876 14.1986 5.74121 16.0289 5.16535C16.7926 4.92721 17.4624 4.64144 18 4.30371V8.11828C18 8.22653 17.9275 8.44735 17.5136 8.75909C17.1083 9.06218 16.4769 9.36094 15.6407 9.62506C13.9725 10.149 11.626 10.4867 9.00213 10.4867C6.37829 10.4867 4.03603 10.1533 2.36359 9.62506C1.52738 9.36094 0.895947 9.06218 0.490637 8.75909C0.0725288 8.44735 0.00426674 8.2222 0.00426674 8.11828V4.30371C0.537569 4.64144 1.21166 4.92721 1.97108 5.16535H1.96682ZM3.8867 9.1661C4.54373 9.1661 5.07703 8.62487 5.07703 7.95808C5.07703 7.29129 4.54373 6.75006 3.8867 6.75006C3.22968 6.75006 2.69637 7.29129 2.69637 7.95808C2.69637 8.62487 3.22968 9.1661 3.8867 9.1661Z" fill="#2A6E93"/>
4
+ <path d="M1.96718 10.9153C3.79747 11.4912 6.28479 11.8376 8.99823 11.8376C11.7117 11.8376 14.2033 11.4912 16.0293 10.9153C16.7887 10.6772 17.4628 10.3914 17.9961 10.0537V14.206C17.9961 14.3099 17.9278 14.5307 17.5097 14.8468C17.1044 15.1499 16.473 15.4487 15.6368 15.7128C13.9686 16.2367 11.6221 16.5744 8.99823 16.5744C6.37438 16.5744 4.02785 16.241 2.35969 15.7128C1.52347 15.4487 0.89204 15.1499 0.486731 14.8468C0.0686226 14.5351 0.000360489 14.3099 0.000360489 14.206V10.0537C0.533663 10.3914 1.20775 10.6772 1.96718 10.9153ZM3.88706 15.1109C4.54409 15.1109 5.07739 14.5697 5.07739 13.9029C5.07739 13.2361 4.54409 12.6949 3.88706 12.6949C3.23003 12.6949 2.69673 13.2361 2.69673 13.9029C2.69673 14.5697 3.23003 15.1109 3.88706 15.1109Z" fill="#2A6E93"/>
5
+ <path d="M1.96718 17.0076C3.79747 17.5835 6.28479 17.9299 8.99823 17.9299C11.7117 17.9299 14.199 17.5835 16.0293 17.0076C16.7887 16.7695 17.4628 16.4837 17.9961 16.146V20.636C17.9961 20.7399 17.9278 20.9608 17.5097 21.2768C17.1044 21.5799 16.473 21.8787 15.6368 22.1428C13.9686 22.6667 11.6221 23.0044 8.99823 23.0044C6.37438 23.0044 4.03212 22.671 2.35969 22.1428C1.52347 21.8787 0.89204 21.5799 0.486731 21.2768C0.0686226 20.9651 0.000360489 20.7399 0.000360489 20.636V16.146C0.533663 16.4837 1.20775 16.7695 1.96718 17.0076ZM3.88706 21.056C4.54409 21.056 5.07739 20.5148 5.07739 19.848C5.07739 19.1812 4.54409 18.64 3.88706 18.64C3.23003 18.64 2.69673 19.1812 2.69673 19.848C2.69673 20.5148 3.23003 21.056 3.88706 21.056Z" fill="#2A6E93"/>
6
+ </svg>
@@ -0,0 +1,6 @@
1
+ <svg width="27" height="26" viewBox="0 0 27 26" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M7.81999 13.6018C8.47642 13.6018 9.08678 13.4661 9.67412 13.2739C8.02728 11.6571 7.00233 9.40706 7.00233 6.94223C7.00233 5.39324 7.4054 3.9347 8.1079 2.66836C8.01577 2.66836 7.92364 2.64575 7.83151 2.64575C4.74513 2.64575 2.24609 5.09927 2.24609 8.12942C2.24609 11.1596 4.74513 13.6131 7.83151 13.6131L7.81999 13.6018Z" fill="#07679C"/>
3
+ <path d="M21.119 11.8262C23.8759 9.1195 23.8759 4.73109 21.119 2.0244C18.3621 -0.682283 13.8923 -0.682284 11.1354 2.0244C8.37847 4.73109 8.37847 9.1195 11.1354 11.8262C13.8923 14.5329 18.3621 14.5329 21.119 11.8262Z" fill="#07679C"/>
4
+ <path d="M18.5 21.4887C18.5 18.3455 20.5 16.5 22.9522 15.5238C22.3879 15.0829 21.766 14.7211 21.0865 14.4497C19.6585 15.3655 17.9541 15.9082 16.1115 15.9082C14.2689 15.9082 12.576 15.3655 11.1364 14.4497C8.25734 15.6143 6.23047 18.3844 6.23047 21.6294V22.7374C6.23047 23.5628 6.8178 24.2751 7.64698 24.4334C10.0078 24.8743 12.8639 25.2248 16.1115 25.2248C16.9637 25.2248 17.7698 25.1909 18.5644 25.1457C18.5644 23.5 18.5 22.6193 18.5 21.5V21.4887Z" fill="#07679C"/>
5
+ <path d="M3.43186 14.2688C1.40499 15.2864 0 17.3442 0 19.7412V20.6231C0 21.2789 0.472169 21.8442 1.11708 21.9685C2.03839 22.1381 3.06334 22.2964 4.16891 22.4095V21.6294C4.16891 19.3341 4.99808 17.1972 6.39156 15.5012C5.30902 15.2977 4.29559 14.8794 3.42035 14.2801L3.43186 14.2688Z" fill="#2A6E93"/>
6
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg width="20" height="26" viewBox="0 0 20 26" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M14.9755 11.8262C17.7324 9.1195 17.7324 4.73109 14.9755 2.0244C12.2186 -0.682283 7.74873 -0.682284 4.99182 2.0244C2.23491 4.73109 2.23491 9.1195 4.99182 11.8262C7.74873 14.5329 12.2186 14.5329 14.9755 11.8262Z" fill="#07679C"/>
3
+ <path d="M12.3564 21.4887C12.3564 18.3455 14.3564 16.5 16.8086 15.5238C16.2443 15.0829 15.6224 14.7211 14.943 14.4497C13.5149 15.3655 11.8105 15.9082 9.96791 15.9082C8.1253 15.9082 6.4324 15.3655 4.99287 14.4497C2.11379 15.6143 0.0869141 18.3844 0.0869141 21.6294V22.7374C0.0869141 23.5628 0.674246 24.2751 1.50342 24.4334C3.86427 24.8743 6.72031 25.2248 9.96791 25.2248C10.8201 25.2248 11.6263 25.1909 12.4209 25.1457C12.4209 23.5 12.3564 22.6193 12.3564 21.5V21.4887Z" fill="#2A6E93"/>
4
+ </svg>
@@ -0,0 +1,11 @@
1
+ <svg width="34" height="24" viewBox="0 0 34 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M6.19604 5.80258L13.3023 7.24812H13.4423C13.7924 7.24812 14.0724 6.99515 14.1424 6.63376C14.2125 6.23624 13.9674 5.83872 13.5823 5.76644L6.47609 4.3209C6.09102 4.24862 5.70596 4.50159 5.63594 4.89912C5.56593 5.33278 5.81098 5.7303 6.19604 5.80258Z" fill="#07679C"/>
3
+ <path d="M6.19604 9.48861L13.3023 10.9342H13.4423C13.7924 10.9342 14.0724 10.6812 14.1424 10.3198C14.2125 9.92228 13.9674 9.52475 13.5823 9.45247L6.47609 8.00694C6.09102 7.93466 5.70596 8.18763 5.63594 8.58515C5.56593 8.98267 5.81098 9.3802 6.19604 9.48861Z" fill="#07679C"/>
4
+ <path d="M6.19604 13.1385L13.3023 14.5841H13.4423C13.7924 14.5841 14.0724 14.3311 14.1424 13.9697C14.2125 13.5722 13.9674 13.1747 13.5823 13.1024L6.47609 11.6568C6.09102 11.5846 5.70596 11.8375 5.63594 12.2351C5.56593 12.6687 5.81098 13.0662 6.19604 13.1385Z" fill="#07679C"/>
5
+ <path d="M6.19604 16.8246L13.3023 18.2701H13.4423C13.7924 18.2701 14.0724 18.0171 14.1424 17.6557C14.2125 17.2582 13.9674 16.8607 13.5823 16.7884L6.47609 15.3429C6.09102 15.2706 5.70596 15.5236 5.63594 15.9211C5.56593 16.3548 5.81098 16.7523 6.19604 16.8246Z" fill="#07679C"/>
6
+ <path d="M19.8132 7.24803H19.9532L27.0595 5.80249C27.4445 5.73022 27.7246 5.33269 27.6196 4.93517C27.5496 4.53765 27.1645 4.24854 26.7794 4.35695L19.6732 5.80249C19.2881 5.87477 19.0081 6.27229 19.1131 6.66982C19.1831 6.99506 19.4631 7.24803 19.8132 7.24803Z" fill="#07679C"/>
7
+ <path d="M19.8132 14.5845H19.9532L27.0595 13.1389C27.4445 13.0666 27.7246 12.6691 27.6196 12.2716C27.5496 11.8741 27.1645 11.585 26.7794 11.6934L19.6732 13.1389C19.2881 13.2112 19.0081 13.6087 19.1131 14.0062C19.1831 14.3676 19.4631 14.5845 19.8132 14.5845Z" fill="#07679C"/>
8
+ <path d="M19.8132 10.9341H19.9532L27.0595 9.48853C27.4445 9.41625 27.7246 9.01873 27.6196 8.62121C27.5496 8.22368 27.1645 7.93457 26.7794 8.04299L19.6732 9.48853C19.2881 9.56081 19.0081 9.95833 19.1131 10.3559C19.1831 10.6811 19.4631 10.9341 19.8132 10.9341Z" fill="#07679C"/>
9
+ <path d="M26.7794 15.3433L19.6732 16.7888C19.2881 16.8611 19.0081 17.2586 19.1131 17.6562C19.1831 18.0176 19.4981 18.2705 19.8132 18.2705H19.9532L27.0595 16.825C27.4445 16.7527 27.7246 16.3552 27.6196 15.9577C27.5496 15.524 27.1645 15.271 26.7794 15.3433Z" fill="#07679C"/>
10
+ <path d="M30.8404 2.98385V2.73088C30.8404 1.89969 30.4904 1.10464 29.8603 0.562567C29.2302 0.0204891 28.425 -0.196342 27.6199 -0.0156494L16.873 2.15266C16.6979 2.1888 16.5579 2.1888 16.3829 2.15266L5.63599 -0.0156494C4.83085 -0.196342 4.02571 0.0204891 3.3956 0.562567C2.76549 1.10464 2.41543 1.86355 2.41543 2.73088V2.98385C1.08519 3.1284 0 4.28483 0 5.73037V20.2942C0 21.8481 1.22522 23.0768 2.69548 23.0768H30.5254C32.0306 23.0768 33.2209 21.812 33.2209 20.2942V5.73037C33.2559 4.28483 32.1707 3.1284 30.8404 2.98385ZM27.8999 1.46603C28.285 1.39375 28.635 1.50217 28.9501 1.719C29.2302 1.97197 29.4052 2.33335 29.4052 2.73088V17.9452C29.4052 18.5595 28.9851 19.1016 28.39 19.21L17.3631 21.4506V3.5982L27.8999 1.46603ZM3.88569 2.73088C3.88569 2.33335 4.06072 1.97197 4.34076 1.719C4.5508 1.53831 4.83085 1.42989 5.14591 1.42989C5.21592 1.42989 5.32094 1.42989 5.39095 1.46603L15.9278 3.5982V21.4506L4.90086 19.21C4.30576 19.1016 3.88569 18.5595 3.88569 17.9452V2.73088Z" fill="#2A6E93"/>
11
+ </svg>
@@ -0,0 +1,17 @@
1
+ <svg width="26" height="26" viewBox="0 0 26 26" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g clip-path="url(#clip0_17669_27970)">
3
+ <path d="M25.9466 15.6704C25.779 14.9124 25.338 14.1456 24.5884 13.3348C23.0979 11.7219 20.9724 10.5321 18.891 10.1619C18.8557 10.1619 18.4853 10.1267 18.4412 10.1267C18.3706 10.1267 18.1501 10.1267 17.9914 10.1443L18.2295 9.87987C18.5382 9.54496 18.8204 9.13072 19.0674 8.64597C19.4642 7.89682 19.914 6.70699 19.8523 5.30564V5.11174L20.0375 5.07648C20.1257 5.05886 20.2051 5.05004 20.2933 5.0236C20.7431 4.90903 21.1488 4.67106 21.4663 4.35377C21.8279 3.99242 22.066 3.53411 22.1366 3.04936C22.2159 2.50292 22.0836 1.91242 21.7661 1.34835C21.4575 0.793094 21.0077 0.370043 20.5049 0.158517C19.9493 -0.0706353 19.4025 -0.0265675 19.0497 0.0527545C18.6352 0.149704 18.2383 0.334788 17.8503 0.599195C17.6298 0.757839 17.4269 0.942924 17.2417 1.18089L17.1359 1.31309L16.9859 1.24258C15.9188 0.775466 14.587 0.5375 13.0083 0.5375C11.4296 0.5375 10.0979 0.775466 9.03954 1.24258L8.88961 1.31309L8.78377 1.18089C8.59856 0.951738 8.39572 0.757839 8.17523 0.599195C7.79599 0.325975 7.39029 0.14089 6.97577 0.0527545C6.73764 -0.000126828 6.49951 -0.0177539 6.26139 -0.00894038C6.00562 0.00868673 5.74985 0.0615681 5.52055 0.158517C5.01783 0.370043 4.57685 0.775466 4.25935 1.34835C3.94185 1.91242 3.81837 2.50292 3.88893 3.04936C3.95949 3.53411 4.18879 3.99242 4.55922 4.35377C4.88554 4.67106 5.29124 4.90021 5.73221 5.0236C5.81159 5.04123 5.89979 5.05886 5.98798 5.07648L6.18201 5.11174V5.30564C6.10263 6.70699 6.56125 7.89682 6.95813 8.64597C7.1698 9.04258 7.41675 9.41275 7.69015 9.74767L7.82244 9.90631L7.67251 10.0473C7.67251 10.0473 7.64605 10.0738 7.62841 10.0914C7.46966 10.109 7.24036 10.1443 7.23154 10.1531C7.19626 10.1531 7.16098 10.1531 7.1257 10.1531C5.04429 10.5233 2.90996 11.7131 1.42828 13.326C0.687438 14.1368 0.246461 14.8948 0.0788894 15.6616C-0.106321 16.5253 0.184724 17.4155 0.82855 17.9355C1.42828 18.429 2.16912 18.6317 2.85704 18.5172C3.35094 18.429 3.80955 18.1999 4.29463 17.8033L4.60331 17.5477L4.66505 18.0412L4.59449 18.1558C3.7831 19.0107 3.31566 20.2094 3.31566 21.4344C3.31566 23.9463 5.16776 25.9822 7.43439 25.9822C8.73086 25.9822 9.92149 25.3124 10.7153 24.149L10.8123 24.008L10.9798 24.0697C11.8883 24.4134 12.7261 24.3253 12.8231 24.3165C12.9819 24.3253 13.9785 24.4399 14.9663 23.9728L15.1427 23.8934L15.2485 24.0609C16.0334 25.2948 17.2594 25.9999 18.6087 25.9999C20.8842 25.9999 22.7275 23.9639 22.7275 21.4521C22.7275 20.2887 22.3218 19.1782 21.5809 18.3144L20.5402 17.107L21.872 17.9883C22.3041 18.2792 22.7275 18.4555 23.1596 18.526C23.874 18.6494 24.6237 18.4378 25.2234 17.9531C25.8672 17.4331 26.1583 16.5341 25.9731 15.6792L25.9466 15.6704ZM18.3353 1.78903C18.4147 1.71852 18.4764 1.65682 18.547 1.60394C18.7851 1.42767 19.0674 1.30428 19.3143 1.24258C19.4466 1.20733 19.5701 1.19852 19.6935 1.20733C19.817 1.20733 19.9317 1.24259 20.0463 1.28665C20.3109 1.39242 20.5226 1.60394 20.7166 1.94767C20.9106 2.2914 20.9812 2.59106 20.9459 2.88191C20.9106 3.11106 20.8048 3.31377 20.6284 3.49886C20.4608 3.66631 20.2227 3.79852 19.9934 3.86021C19.8964 3.88665 19.8082 3.89547 19.7376 3.89547H19.5877L19.526 3.75445C19.2702 3.11987 18.8733 2.56462 18.3618 2.11513L18.1766 1.95648L18.353 1.78903H18.3353ZM6.49951 3.75445L6.43778 3.89547H6.28784C6.20847 3.89547 6.12909 3.87784 6.02326 3.86021C5.79395 3.79852 5.55582 3.66631 5.38825 3.49886C5.20304 3.32258 5.10603 3.11987 5.07075 2.88191C5.02665 2.59106 5.10603 2.2914 5.30006 1.94767C5.49409 1.60394 5.70576 1.39242 5.97034 1.28665C6.085 1.24259 6.19965 1.21614 6.32312 1.20733C6.43778 1.20733 6.57007 1.20733 6.70236 1.24258C6.94049 1.29547 7.22272 1.42767 7.46084 1.60394C7.54022 1.65682 7.60196 1.71852 7.66369 1.7714L7.84008 1.93886L7.67251 2.10631C7.15216 2.56462 6.7641 3.11106 6.50833 3.74564L6.49951 3.75445ZM7.37265 5.34089C7.43438 4.3097 7.83126 3.51648 8.59856 2.90835C9.55107 2.15038 11.0328 1.7714 12.9995 1.7714C14.9663 1.7714 16.4568 2.15919 17.4093 2.90835C18.1766 3.51648 18.5823 4.3097 18.6352 5.34089C18.6793 6.21343 18.45 7.21818 17.9914 8.08191C17.8855 8.29343 17.7532 8.49614 17.5769 8.71648L17.3123 9.06903L17.1888 8.64597C17.0124 8.04665 16.6684 7.51784 16.1922 7.12123C15.4072 6.47784 14.3048 6.14292 12.9995 6.13411C11.6854 6.13411 10.583 6.47784 9.80684 7.12123C9.33059 7.51784 8.98662 8.03784 8.81023 8.64597L8.68676 9.06903L8.42217 8.71648C8.2546 8.49614 8.12231 8.28462 8.01647 8.08191C7.56668 7.22699 7.32855 6.20462 7.37265 5.34089ZM12.5585 8.4697C12.6644 8.59309 12.8143 8.65479 12.9819 8.6636C13.3258 8.68123 13.5992 8.41682 13.6081 8.08191V7.38564L13.8726 7.4297C14.5077 7.53547 15.0456 7.7558 15.4337 8.07309C15.8923 8.45208 16.1216 8.91038 16.1128 9.43919C16.1128 9.80936 15.9805 10.3558 15.3808 10.8406C14.9839 11.1667 14.2607 11.5544 13.0348 11.5721C11.756 11.5544 11.0239 11.1667 10.6271 10.8406C10.0361 10.3558 9.89504 9.80936 9.89504 9.43919C9.89504 8.91919 10.1243 8.44326 10.583 8.07309C10.971 7.7558 11.5178 7.53547 12.1528 7.4297L12.4174 7.38564V8.03784C12.3998 8.2053 12.4527 8.35513 12.5674 8.47852L12.5585 8.4697ZM3.62434 16.7809C3.28038 17.0806 2.9276 17.2744 2.61892 17.3361C2.53954 17.3538 2.46017 17.3626 2.37197 17.3626C2.12502 17.3626 1.88689 17.2833 1.56057 17.0189C1.15487 16.6928 1.12841 16.4107 1.23425 15.9436C1.3489 15.4324 1.74578 14.7714 2.29259 14.1721C3.13045 13.2555 4.40046 12.3917 5.68812 11.8717L6.3143 11.6161L5.96152 12.189C5.30888 13.2467 4.87672 14.3483 4.67387 15.4589L4.64741 15.5294C4.47984 15.8114 4.11824 16.3402 3.61552 16.7897L3.62434 16.7809ZM7.42557 24.7924C5.82041 24.7924 4.51512 23.2941 4.51512 21.4521C4.51512 19.61 5.82041 18.1206 7.42557 18.1206C9.03072 18.1206 10.3272 19.6189 10.3272 21.4521C10.3272 23.2853 9.0219 24.7924 7.42557 24.7924ZM14.4724 21.4521C14.4724 21.8222 14.5165 22.21 14.6135 22.5978L14.6576 22.7741L14.49 22.8446C13.9167 23.109 13.0524 23.1178 12.9113 23.1178H12.8937C12.8408 23.1178 12.8143 23.1178 12.779 23.1178C12.7349 23.1178 12.0911 23.1178 11.5267 22.968L11.315 22.9063L11.3679 22.6948C11.4737 22.2806 11.5355 21.8487 11.5355 21.4344C11.5355 18.9314 9.69219 16.8867 7.42557 16.8867C6.96695 16.8867 6.51715 16.9748 6.07618 17.1422L5.77631 17.2568V16.9395C5.74103 13.5287 8.3428 11.0521 8.44863 10.9551C8.51037 10.9022 8.73968 10.6026 8.73968 10.6026L9.03954 10.7612L9.07482 10.8229C9.28649 11.1931 9.54226 11.5016 9.85094 11.7572C10.2919 12.1185 10.8652 12.3917 11.5531 12.568L11.8706 12.6473L10.0273 15.1063C9.91268 15.2385 9.85094 15.3972 9.86858 15.5558C9.88622 15.7144 9.94795 15.8643 10.0714 15.97C10.3272 16.1904 10.7064 16.1639 10.9269 15.9172C10.9446 15.8907 10.971 15.8643 10.9798 15.8378L12.9907 13.1585L14.9839 15.8202C15.0809 15.97 15.2132 16.0582 15.372 16.0934C15.5395 16.1287 15.6895 16.0934 15.8306 16.0053C15.9629 15.9172 16.0599 15.785 16.0952 15.6263C16.1305 15.4677 16.0952 15.309 16.007 15.168C15.9893 15.1416 15.9717 15.1239 15.9541 15.0975L14.102 12.6297L14.4195 12.5504C15.1074 12.3741 15.6807 12.1009 16.1216 11.7395C16.3862 11.5192 16.6155 11.2548 16.8272 10.9111L16.9859 10.6643L17.2241 10.9287C17.3387 11.0433 19.8876 13.467 19.9052 16.825V17.1246L19.623 17.0453C19.2702 16.9395 18.9086 16.8867 18.5646 16.8867C16.298 16.8867 14.4459 18.9226 14.4459 21.4344L14.4724 21.4521ZM21.4927 21.4521C21.4927 23.2941 20.1874 24.7924 18.5911 24.7924C16.9948 24.7924 15.6895 23.2941 15.6895 21.4521C15.6895 19.61 16.9948 18.1206 18.5911 18.1206C20.1874 18.1206 21.4927 19.6189 21.4927 21.4521ZM24.4385 17.01C24.1121 17.2744 23.8652 17.3538 23.6006 17.3538C23.5124 17.3538 23.4242 17.345 23.336 17.3273C23.0009 17.2656 22.5952 17.0717 22.2071 16.7544C21.6074 16.2785 21.1929 15.6968 21.0429 15.4765L21.0077 15.3972C20.796 14.2514 20.3286 13.1144 19.6318 12.0216L19.2878 11.4751L19.8964 11.6955C21.334 12.2067 22.7539 13.1233 23.6976 14.1544C24.2532 14.7626 24.6501 15.4236 24.7648 15.926C24.8706 16.3931 24.8442 16.6751 24.4385 17.0012V17.01Z" fill="#37435E"/>
4
+ <path d="M15.3986 5.65817C15.9807 5.65817 16.4482 5.19106 16.4482 4.60936C16.4482 4.02767 15.9807 3.56055 15.3986 3.56055C14.8166 3.56055 14.3491 4.02767 14.3491 4.60936C14.3491 5.19106 14.8166 5.65817 15.3986 5.65817Z" fill="#37435E"/>
5
+ <path d="M10.4328 5.65817C11.0149 5.65817 11.4824 5.19106 11.4824 4.60936C11.4824 4.02767 11.0149 3.56055 10.4328 3.56055C9.85074 3.56055 9.3833 4.02767 9.3833 4.60936C9.3833 5.19106 9.85074 5.65817 10.4328 5.65817Z" fill="#37435E"/>
6
+ <path d="M14.4728 21.4523C14.4728 21.8224 14.5169 22.2102 14.6139 22.598L14.658 22.7743L14.4904 22.8448C13.9172 23.1092 13.0528 23.118 12.9117 23.118H12.8941C12.8412 23.118 12.8147 23.118 12.7794 23.118C12.7353 23.118 12.0915 23.118 11.5271 22.9682L11.3154 22.9065L11.3683 22.695C11.4741 22.2807 11.5359 21.8489 11.5359 21.4346C11.5359 18.9316 9.6926 16.8869 7.42598 16.8869C6.96736 16.8869 6.51756 16.975 6.07659 17.1424L5.77672 17.257V16.9397C5.74144 13.5289 8.34321 11.0523 8.44904 10.9553C8.51078 10.9024 8.74009 10.6028 8.74009 10.6028L9.03995 10.7614L9.07523 10.8231C9.2869 11.1933 9.54267 11.5018 9.85135 11.7574C10.2923 12.1187 10.8656 12.3919 11.5535 12.5682L11.871 12.6475L10.0277 15.1065C9.91309 15.2387 9.85135 15.3974 9.86899 15.556C9.88663 15.7146 9.94836 15.8645 10.0718 15.9702C10.3276 16.1906 10.7068 16.1641 10.9273 15.9174C10.945 15.8909 10.9714 15.8645 10.9803 15.838L12.9911 13.1587L14.9843 15.8204C15.0813 15.9702 15.2136 16.0584 15.3724 16.0936C15.54 16.1289 15.6899 16.0936 15.831 16.0055C15.9633 15.9174 16.0603 15.7852 16.0956 15.6265C16.1309 15.4679 16.0956 15.3092 16.0074 15.1682C15.9897 15.1418 15.9721 15.1241 15.9545 15.0977L14.1024 12.6299L14.4199 12.5506C15.1078 12.3743 15.6811 12.1011 16.122 11.7397C16.3866 11.5194 16.6159 11.255 16.8276 10.9113L16.9864 10.6645L17.2245 10.9289C17.3391 11.0435 19.888 13.4672 19.9056 16.8252V17.1248L19.6234 17.0455C19.2706 16.9397 18.909 16.8869 18.5651 16.8869C16.2984 16.8869 14.4463 18.9228 14.4463 21.4346L14.4728 21.4523Z" fill="white"/>
7
+ <path d="M18.3448 1.78043C18.4242 1.70992 18.4859 1.64823 18.5565 1.59535C18.7946 1.41907 19.0768 1.29568 19.3238 1.23399C19.456 1.19874 19.5795 1.18992 19.703 1.19874C19.8265 1.19874 19.9411 1.23399 20.0558 1.27806C20.3204 1.38382 20.532 1.59535 20.7261 1.93907C20.9201 2.2828 20.9906 2.58246 20.9554 2.87331C20.9201 3.10246 20.8143 3.30518 20.6379 3.49026C20.4703 3.65772 20.2322 3.78992 20.0029 3.85162C19.9058 3.87806 19.8176 3.88687 19.7471 3.88687H19.5972L19.5354 3.74585C19.2797 3.11128 18.8828 2.55602 18.3712 2.10653L18.186 1.94789L18.3624 1.78043H18.3448Z" fill="#008F8F"/>
8
+ <path d="M6.5085 3.74609L6.44676 3.88711H6.29683C6.21745 3.88711 6.13808 3.86948 6.03224 3.85186C5.80294 3.79016 5.56481 3.65796 5.39724 3.4905C5.21203 3.31423 5.11501 3.11152 5.07973 2.87355C5.03564 2.5827 5.11501 2.28304 5.30904 1.93931C5.50307 1.59558 5.71474 1.38406 5.97933 1.2783C6.09398 1.23423 6.20863 1.20779 6.33211 1.19897C6.44676 1.19897 6.57906 1.19897 6.71135 1.23423C6.94948 1.28711 7.2317 1.41931 7.46983 1.59558C7.5492 1.64847 7.61094 1.71016 7.67268 1.76304L7.84907 1.9305L7.6815 2.09796C7.16114 2.55626 6.77308 3.1027 6.51732 3.73728L6.5085 3.74609Z" fill="#008F8F"/>
9
+ <path d="M7.43486 24.7837C5.82971 24.7837 4.52441 23.2854 4.52441 21.4433C4.52441 19.6013 5.82971 18.1118 7.43486 18.1118C9.04002 18.1118 10.3365 19.6101 10.3365 21.4433C10.3365 23.2766 9.0312 24.7837 7.43486 24.7837Z" fill="#008F8F"/>
10
+ <path d="M21.502 21.4433C21.502 23.2854 20.1967 24.7837 18.6004 24.7837C17.004 24.7837 15.6987 23.2854 15.6987 21.4433C15.6987 19.6013 17.004 18.1118 18.6004 18.1118C20.1967 18.1118 21.502 19.6101 21.502 21.4433Z" fill="#008F8F"/>
11
+ </g>
12
+ <defs>
13
+ <clipPath id="clip0_17669_27970">
14
+ <rect width="26" height="26" fill="white"/>
15
+ </clipPath>
16
+ </defs>
17
+ </svg>
@@ -0,0 +1,15 @@
1
+ <svg width="31" height="27" viewBox="0 0 31 27" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g clip-path="url(#clip0_17669_27962)">
3
+ <path d="M17.602 21.8191L16.2007 25.7047L20.3045 24.5091L17.602 21.8191Z" fill="#008F8F"/>
4
+ <path d="M10.2954 15.5425H18.2027C18.603 15.5425 18.9033 15.2436 18.9033 14.8451C18.9033 14.4466 18.603 14.1477 18.2027 14.1477H10.2954C9.895 14.1477 9.59473 14.4466 9.59473 14.8451C9.59473 15.2436 9.895 15.5425 10.2954 15.5425Z" fill="#008F8F"/>
5
+ <path d="M10.2954 12.2547H18.4028C18.8032 12.2547 19.1035 11.9558 19.1035 11.5573C19.1035 11.1587 18.7031 10.9595 18.3028 10.9595H10.2954C9.895 10.9595 9.59473 11.2584 9.59473 11.6569C9.59473 12.0554 9.895 12.2547 10.2954 12.2547Z" fill="#008F8F"/>
6
+ <path d="M15.9005 17.4355H10.2954C9.895 17.4355 9.59473 17.7344 9.59473 18.133C9.59473 18.5315 9.895 18.8304 10.2954 18.8304H15.9005C16.3009 18.8304 16.6012 18.5315 16.6012 18.133C16.5011 17.7344 16.2008 17.4355 15.9005 17.4355Z" fill="#008F8F"/>
7
+ <path d="M10.2954 9.06653H18.4028C18.8032 9.06653 19.1035 8.76764 19.1035 8.36911V4.68277C19.1035 4.28424 18.8032 3.98535 18.4028 3.98535H10.2954C9.895 3.98535 9.59473 4.38388 9.59473 4.68277V8.36911C9.59473 8.66801 9.895 9.06653 10.2954 9.06653ZM10.8959 5.38019H17.6021V7.6717H10.8959V5.38019Z" fill="#37435E"/>
8
+ <path d="M27.8111 14.9446L27.1105 14.2472C26.3098 13.4502 25.0086 13.4502 24.2078 14.2472L22.7064 15.7417V0.797026C22.7064 0.398502 22.4062 0.0996094 22.0058 0.0996094H3.28854C2.88817 0.0996094 2.58789 0.398502 2.58789 0.797026V21.9188C2.58789 22.3173 2.88817 22.6162 3.28854 22.6162H16.2004L15.0994 25.4059C14.9993 25.8044 14.9993 26.1033 15.2996 26.4022C15.4998 26.6015 15.7 26.7011 16.0003 26.7011C16.1003 26.7011 16.2004 26.7011 16.3005 26.6015L19.4034 25.5055C19.8038 25.3063 20.3042 25.107 20.6045 24.7085L27.711 17.6347C28.1114 17.2361 28.3116 16.738 28.3116 16.2398C28.4117 15.8413 28.2115 15.2435 27.8111 14.9446ZM5.89094 21.321H3.98918V1.49444H5.89094V21.321ZM7.19213 21.321V1.49444H21.3051V17.0369L17.1013 21.2214L17.0012 21.321H7.19213ZM19.003 24.3099L16.801 25.107L17.6017 22.9151C17.7018 22.8155 17.7018 22.7158 17.8019 22.6162L19.4034 24.2103C19.3033 24.2103 19.1031 24.3099 19.003 24.3099ZM26.8102 16.8376L20.4043 23.214L18.7027 21.5203L25.1086 15.1439C25.2087 15.0443 25.4089 14.9446 25.6091 14.9446C25.8093 14.9446 26.0095 15.0443 26.1096 15.1439L26.8102 15.8413C26.9103 15.9409 27.0104 16.1402 27.0104 16.3395C27.0104 16.5387 27.0104 16.738 26.8102 16.8376Z" fill="#37435E"/>
9
+ </g>
10
+ <defs>
11
+ <clipPath id="clip0_17669_27962">
12
+ <rect width="31" height="27" fill="white"/>
13
+ </clipPath>
14
+ </defs>
15
+ </svg>
@@ -0,0 +1,16 @@
1
+ <svg width="34" height="28" viewBox="0 0 34 28" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g clip-path="url(#clip0_17669_27982)">
3
+ <path d="M8.99281 2.20117H5.05078V13.3278H8.99281V2.20117Z" fill="white"/>
4
+ <path d="M18.9705 2.32324H14.9053V10.2708H18.9705V2.32324Z" fill="white"/>
5
+ <path d="M28.8261 2.07861H24.6377V12.1048H28.8261V2.07861Z" fill="white"/>
6
+ <path d="M32.2749 24.5765V7.82539C32.2749 7.45858 32.0286 7.09177 31.5358 7.09177H29.4416V2.32321H29.8112C30.1807 2.32321 30.5503 2.07866 30.5503 1.58958C30.5503 1.1005 30.3039 0.855957 29.8112 0.855957H23.4054C23.0358 0.855957 22.6662 1.1005 22.6662 1.58958C22.6662 2.07866 22.9126 2.32321 23.4054 2.32321H23.7749V7.09177H19.7097V2.32321H20.0793C20.4489 2.32321 20.8184 2.07866 20.8184 1.58958C20.8184 1.1005 20.572 0.855957 20.0793 0.855957H13.6735C13.3039 0.855957 12.9344 1.1005 12.9344 1.58958C12.9344 2.07866 13.1807 2.32321 13.6735 2.32321H14.0431V7.09177H10.3474V2.32321H10.717C11.0865 2.32321 11.4561 2.07866 11.4561 1.58958C11.4561 1.1005 11.0865 0.978228 10.717 0.978228H4.31117C3.9416 0.978228 3.69523 1.22277 3.69523 1.58958C3.69523 1.95639 3.9416 2.32321 4.43436 2.32321H4.80392V7.09177H2.70972C2.21697 7.09177 1.97059 7.33631 1.97059 7.82539V24.6988H0.369141V28.1223H33.8764V24.6988H32.2749V24.5765ZM28.0865 2.32321V11.6158H25.3764V2.32321H28.0865ZM15.7677 2.32321H18.601V10.2708H15.7677V2.32321ZM6.159 2.32321H8.86914V12.9608H6.159V2.32321ZM3.44885 8.43674H4.80392V17.7293C4.80392 19.1966 6.03581 20.5415 7.63726 20.5415C9.23871 20.5415 10.4706 19.3188 10.4706 17.7293V8.43674H14.4126V17.7293C14.4126 19.1966 15.6445 20.5415 17.246 20.5415C18.8474 20.5415 20.0793 19.3188 20.0793 17.7293V8.43674H24.1445V17.7293C24.1445 19.1966 25.3764 20.5415 26.9778 20.5415C28.5793 20.5415 29.8112 19.3188 29.8112 17.7293V8.43674H31.1662V24.5765H3.44885V8.43674Z" fill="#37435E"/>
7
+ <path d="M6.15918 12.7161V17.4846C6.15918 18.2182 6.77512 18.8296 7.51425 18.8296H7.63744C8.37657 18.8296 8.99251 18.2182 8.99251 17.4846V12.7161H6.15918Z" fill="#008F8F"/>
8
+ <path d="M25.377 11.6157V17.4847C25.377 18.2183 25.9929 18.8297 26.732 18.8297H26.8552C27.5943 18.8297 28.2103 18.2183 28.2103 17.4847V11.6157H25.377Z" fill="#008F8F"/>
9
+ <path d="M15.7676 9.53711V17.3624C15.7676 18.0961 16.3835 18.7074 17.1226 18.7074H17.2458C17.985 18.7074 18.6009 18.0961 18.6009 17.3624V9.53711H15.7676Z" fill="#008F8F"/>
10
+ </g>
11
+ <defs>
12
+ <clipPath id="clip0_17669_27982">
13
+ <rect width="34" height="28" fill="white"/>
14
+ </clipPath>
15
+ </defs>
16
+ </svg>
@@ -0,0 +1,21 @@
1
+ <svg width="35" height="26" viewBox="0 0 35 26" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g clip-path="url(#clip0_17669_27993)">
3
+ <path d="M34.8893 25.774H0.11084V6.89575H4.3197V19.2175L17.5001 23.4001L30.7912 19.2175V6.89575H35.0001L34.8893 25.774ZM19.2722 24.3044H33.4494V8.25227H32.1203V20.3479L19.2722 24.3044ZM1.55071 24.3044H15.7279L2.87983 20.3479V8.25227H1.55071V24.3044Z" fill="#37435E"/>
4
+ <path d="M18.2753 5.53906H16.8354V24.0782H18.2753V5.53906Z" fill="#37435E"/>
5
+ <path d="M3.65479 1.58279V20.1219L17.389 24.4176L31.3447 19.8958V1.13062L17.2782 5.99149L3.65479 1.58279Z" fill="white"/>
6
+ <path d="M17.4996 24.8696L2.87939 20.3478V0.226074L17.4996 4.86086L32.1199 0.226074V20.3478L17.4996 24.8696ZM4.31927 19.2174L17.4996 23.4L30.7908 19.2174V2.14781L17.4996 6.33042L4.31927 2.14781V19.2174Z" fill="#37435E"/>
7
+ <path d="M28.3543 14.5826L20.0473 17.5217C19.8258 17.6348 19.6043 17.6348 19.3827 17.2956C19.272 17.1826 19.272 17.1826 19.272 16.9565C19.272 16.5043 19.6043 16.1652 19.9365 16.0521L28.2435 13.113C28.465 13 28.6865 13 28.908 13.3391C29.0188 13.4521 29.0188 13.4521 29.0188 13.6782C28.9081 14.0174 28.6865 14.4695 28.3543 14.5826Z" fill="#008F8F"/>
8
+ <path d="M28.3544 9.26953L24.9208 10.513C24.6993 10.6261 24.4778 10.6261 24.2563 10.2869C24.1455 10.1739 24.1455 10.1739 24.1455 9.9478C24.1455 9.49562 24.4778 9.15649 24.8101 8.9304L28.2436 7.68693C28.4651 7.57388 28.7974 7.68693 28.9082 7.91301C29.0189 8.02606 29.0189 8.02606 29.0189 8.25214C28.9082 8.70432 28.6866 9.04345 28.3544 9.26953Z" fill="#008F8F"/>
9
+ <path d="M22.7055 11.1912L20.0473 12.0956C19.8258 12.2086 19.6043 12.2086 19.3827 11.8695C19.272 11.7564 19.272 11.7564 19.272 11.5304C19.272 11.0782 19.6043 10.7391 19.9365 10.626L22.5948 9.72166C22.8163 9.60862 23.0378 9.60862 23.2593 9.94775C23.3701 10.0608 23.3701 10.0608 23.3701 10.2869C23.2593 10.7391 23.0378 11.0782 22.7055 11.1912Z" fill="#008F8F"/>
10
+ <path d="M26.1392 12.661L22.2626 14.0175C22.0411 14.1305 21.8196 14.1305 21.5981 13.7914C21.4873 13.6784 21.4873 13.6784 21.4873 13.4523C21.4873 13.0001 21.8196 12.661 22.1519 12.4349L26.0284 11.0784C26.25 10.9653 26.4715 10.9653 26.693 11.3044C26.8038 11.4175 26.8038 11.4175 26.8038 11.6436C26.693 12.2088 26.4715 12.5479 26.1392 12.661Z" fill="#008F8F"/>
11
+ <path d="M6.53467 9.04352L14.8416 11.9827C15.0632 12.0957 15.2847 12.0957 15.5062 11.7566C15.617 11.6435 15.617 11.6435 15.617 11.4174C15.617 10.9653 15.2847 10.6261 14.9524 10.4L6.53467 7.57396C6.31316 7.46091 6.09164 7.46091 5.87012 7.80004C5.87012 7.91309 5.87012 7.91309 5.87012 8.13917C5.87012 8.59135 6.09164 8.93048 6.53467 9.04352Z" fill="#008F8F"/>
12
+ <path d="M6.53467 11.8696L9.96822 13.1131C10.1897 13.2261 10.4113 13.2261 10.6328 12.887C10.7435 12.774 10.7435 12.774 10.7435 12.5479C10.7435 12.0957 10.4113 11.7566 10.079 11.6435L6.53467 10.4001C6.31316 10.287 6.09164 10.4001 5.87012 10.6261C5.87012 10.7392 5.87012 10.7392 5.87012 10.9653C5.87012 11.3044 6.09164 11.7566 6.53467 11.8696Z" fill="#008F8F"/>
13
+ <path d="M12.1835 13.7913L14.8417 14.6957C15.0633 14.8087 15.2848 14.8087 15.5063 14.4696C15.6171 14.3565 15.6171 14.3565 15.6171 14.1304C15.6171 13.6783 15.2848 13.3391 14.9525 13.2261L12.1835 12.4348C11.962 12.3218 11.7405 12.3218 11.519 12.6609C11.4082 12.7739 11.4082 12.7739 11.4082 13C11.519 13.3391 11.7405 13.6783 12.1835 13.7913Z" fill="#008F8F"/>
14
+ <path d="M8.75001 15.3738L12.6266 16.7304C12.8481 16.8434 13.0696 16.8434 13.2911 16.5043C13.4019 16.3912 13.4019 16.3912 13.4019 16.1651C13.4019 15.713 13.0696 15.3738 12.7373 15.2608L8.86077 13.9043C8.63925 13.7912 8.41773 13.7912 8.19621 14.1304C8.08545 14.2434 8.08545 14.2434 8.08545 14.4695C8.08545 14.8086 8.30697 15.2608 8.75001 15.3738Z" fill="#008F8F"/>
15
+ </g>
16
+ <defs>
17
+ <clipPath id="clip0_17669_27993">
18
+ <rect width="35" height="26" fill="white"/>
19
+ </clipPath>
20
+ </defs>
21
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="24" height="17" viewBox="0 0 24 17" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M19.35 6.16961C18.67 2.64558 15.64 2.9341e-08 12 2.25123e-08C9.11 1.70906e-08 6.6 1.67519 5.35 4.1267C2.34 4.45356 1.29633e-08 7.05828 1.87602e-08 10.2146C2.49699e-08 13.5956 2.69 16.3433 6 16.3433L19 16.3433C21.76 16.3433 24 14.0553 24 11.2361C24 8.5394 21.95 6.35348 19.35 6.16961ZM17 9.19313L12 14.3004L7 9.19313L10 9.19313L10 5.1073L14 5.1073L14 9.19313L17 9.19313Z" fill="#606060"/>
3
+ </svg>
@@ -54,8 +54,9 @@ const CustomHeaderCell = _ref => {
54
54
  }, []);
55
55
  if (sortable !== undefined && !sortable) {
56
56
  return /*#__PURE__*/_react.default.createElement(_TableCell.default, {
57
- scope: "col"
58
- }, header);
57
+ scope: "col",
58
+ style: style
59
+ }, headerType === _Types.headerTypes.CUSTOM_ELEM && customColHeaderRender ? customColHeaderRender(column) : header);
59
60
  }
60
61
  return /*#__PURE__*/_react.default.createElement(_TableCell.default, {
61
62
  scope: "col",
@@ -67,7 +68,7 @@ const CustomHeaderCell = _ref => {
67
68
  hideSortIcon: sortBy !== dataField,
68
69
  direction: sortBy === dataField ? sortOrder : 'asc',
69
70
  onClick: toggleSort
70
- }, headerType === _Types.headerTypes.CUSTOM_ELEM && customColHeaderRender ? customColHeaderRender(column) : header)));
71
+ }, header)));
71
72
  };
72
73
  var _default = CustomHeaderCell;
73
74
  exports.default = _default;
@@ -53,6 +53,7 @@ const CustomTableHeader = _ref => {
53
53
  const isActionCell = _Types.actionCellTypes.includes(cellType) || false;
54
54
  if (isActionCell) {
55
55
  return /*#__PURE__*/_react.default.createElement(_ActionHeaderCell.default, {
56
+ key: column.dataField,
56
57
  includeSelectedIds: includeSelectedIds,
57
58
  toggleSelectAll: toggleSelectAll,
58
59
  Ids: Ids,
@@ -61,15 +62,27 @@ const CustomTableHeader = _ref => {
61
62
  column: column
62
63
  });
63
64
  }
65
+ const getHeaderStyle = () => {
66
+ if (column.dataField === 'participant_id') {
67
+ return {
68
+ minWidth: '230px'
69
+ };
70
+ }
71
+ if (column.dataField === 'data_availability') {
72
+ return {
73
+ textAlign: 'center'
74
+ };
75
+ }
76
+ return {};
77
+ };
64
78
  return /*#__PURE__*/_react.default.createElement(_CustomCell.default, {
79
+ key: column.dataField,
65
80
  components: components,
66
81
  column: column,
67
82
  sortBy: sortBy,
68
83
  sortOrder: sortOrder,
69
84
  toggleSort: () => sortByColumn(column.dataField, sortOrder),
70
- style: column.dataField === 'participant_id' ? {
71
- minWidth: '230px'
72
- } : {}
85
+ style: getHeaderStyle()
73
86
  });
74
87
  }))));
75
88
  };
package/dist/index.js CHANGED
@@ -3,6 +3,12 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
+ Object.defineProperty(exports, "AddToCart", {
7
+ enumerable: true,
8
+ get: function get() {
9
+ return _ReduxAddToCart.default;
10
+ }
11
+ });
6
12
  Object.defineProperty(exports, "ComponentTypes", {
7
13
  enumerable: true,
8
14
  get: function get() {
@@ -39,13 +45,32 @@ Object.defineProperty(exports, "formatBytes", {
39
45
  return _Dataformat.formatBytes;
40
46
  }
41
47
  });
48
+ Object.defineProperty(exports, "formatValueForDisplay", {
49
+ enumerable: true,
50
+ get: function get() {
51
+ return _Dataformat.formatValueForDisplay;
52
+ }
53
+ });
42
54
  Object.defineProperty(exports, "headerTypes", {
43
55
  enumerable: true,
44
56
  get: function get() {
45
57
  return _Types.headerTypes;
46
58
  }
47
59
  });
60
+ Object.defineProperty(exports, "isBracketStripEnabled", {
61
+ enumerable: true,
62
+ get: function get() {
63
+ return _Dataformat.isBracketStripEnabled;
64
+ }
65
+ });
66
+ Object.defineProperty(exports, "stripSurroundingBrackets", {
67
+ enumerable: true,
68
+ get: function get() {
69
+ return _Dataformat.stripSurroundingBrackets;
70
+ }
71
+ });
48
72
  var _TableView = _interopRequireDefault(require("./TableView"));
49
73
  var _Types = require("./util/Types");
50
74
  var _Dataformat = require("./util/Dataformat");
75
+ var _ReduxAddToCart = _interopRequireDefault(require("./wrapper/components/AddToCart/ReduxAddToCart"));
51
76
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
@@ -10,6 +10,8 @@ var _core = require("@material-ui/core");
10
10
  var _KeyboardArrowDownOutlined = _interopRequireDefault(require("@material-ui/icons/KeyboardArrowDownOutlined"));
11
11
  var _icons = require("@material-ui/icons");
12
12
  var _downloadTable = require("../util/downloadTable");
13
+ const _excluded = ["filename"],
14
+ _excluded2 = ["filename"];
13
15
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
14
16
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
15
17
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
@@ -18,6 +20,8 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
18
20
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
19
21
  function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
20
22
  function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
23
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
24
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
21
25
  // const downloadButtonStyle = {
22
26
  // color: '#d1d2d3',
23
27
  // marginTop: '7px',
@@ -58,9 +62,15 @@ const DownloadButton = _ref => {
58
62
  query,
59
63
  paginationAPIField
60
64
  } = table;
65
+
66
+ // Remove filename parameter for download to only use facet filters
67
+ const {
68
+ filename
69
+ } = queryVariables,
70
+ filteredVariables = _objectWithoutProperties(queryVariables, _excluded);
61
71
  const result = await client.query({
62
72
  query,
63
- variables: _objectSpread(_objectSpread({}, queryVariables), {}, {
73
+ variables: _objectSpread(_objectSpread({}, filteredVariables), {}, {
64
74
  page: 0,
65
75
  first: 200000,
66
76
  order_by: table.sortBy,
@@ -68,7 +78,12 @@ const DownloadButton = _ref => {
68
78
  })
69
79
  }).then(response => {
70
80
  if (paginationAPIField && response && response.data) {
71
- return response.data[paginationAPIField];
81
+ const apiResult = response.data[paginationAPIField];
82
+ // Handle getFilenames response structure which has files array nested
83
+ if (paginationAPIField === 'getFilenames' && apiResult && apiResult.files) {
84
+ return apiResult.files;
85
+ }
86
+ return apiResult;
72
87
  }
73
88
  return response.data;
74
89
  });
@@ -79,9 +94,15 @@ const DownloadButton = _ref => {
79
94
  query,
80
95
  paginationAPIField
81
96
  } = table;
97
+
98
+ // Remove filename parameter for download to only use facet filters
99
+ const {
100
+ filename
101
+ } = queryVariables,
102
+ filteredVariables = _objectWithoutProperties(queryVariables, _excluded2);
82
103
  const result = await client.query({
83
104
  query,
84
- variables: _objectSpread(_objectSpread({}, queryVariables), {}, {
105
+ variables: _objectSpread(_objectSpread({}, filteredVariables), {}, {
85
106
  page: 0,
86
107
  first: 200000,
87
108
  order_by: table.sortBy,
@@ -89,7 +110,12 @@ const DownloadButton = _ref => {
89
110
  })
90
111
  }).then(response => {
91
112
  if (paginationAPIField && response && response.data) {
92
- return response.data[paginationAPIField];
113
+ const apiResult = response.data[paginationAPIField];
114
+ // Handle getFilenames response structure which has files array nested
115
+ if (paginationAPIField === 'getFilenames' && apiResult && apiResult.files) {
116
+ return apiResult.files;
117
+ }
118
+ return apiResult;
93
119
  }
94
120
  return response.data;
95
121
  });