@bento-core/table 1.0.1-ccdihub.107 → 1.0.1-ccdihub.108
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ExtendedView.js +1 -1
- package/dist/TableView.js +1 -1
- package/dist/body/components/CPIModal.js +10 -8
- package/dist/body/components/CPIView.js +2 -2
- package/package.json +1 -1
- package/src/ExtendedView.js +1 -1
- package/src/TableView.js +1 -1
- package/src/body/components/CPIModal.js +12 -22
- package/src/body/components/CPIView.js +2 -2
package/dist/ExtendedView.js
CHANGED
|
@@ -52,7 +52,7 @@ const ExtendedView = _ref => {
|
|
|
52
52
|
style: downloadAreaStyle
|
|
53
53
|
}, /*#__PURE__*/_react.default.createElement(_CustomPagination.default, {
|
|
54
54
|
customTheme: customTheme.tblTopPgn,
|
|
55
|
-
rowsPerPageOptions: [10, 25, 50, 100],
|
|
55
|
+
rowsPerPageOptions: table.rowsPerPageOptions || [10, 25, 50, 100],
|
|
56
56
|
component: "div",
|
|
57
57
|
count: table.totalRowCount || 0,
|
|
58
58
|
rowsPerPage: table.rowsPerPage || 10,
|
package/dist/TableView.js
CHANGED
|
@@ -152,7 +152,7 @@ const TableView = _ref => {
|
|
|
152
152
|
style: getPaginationStyle(table, hasExport)
|
|
153
153
|
}, /*#__PURE__*/_react.default.createElement(_CustomPagination.default, {
|
|
154
154
|
customTheme: themeConfig.tblPgn,
|
|
155
|
-
rowsPerPageOptions: [10, 25, 50, 100],
|
|
155
|
+
rowsPerPageOptions: table.rowsPerPageOptions || [10, 25, 50, 100],
|
|
156
156
|
component: "div",
|
|
157
157
|
count: table.totalRowCount || 0,
|
|
158
158
|
rowsPerPage: table.rowsPerPage || 10,
|
|
@@ -179,7 +179,7 @@ const CPIModal = _ref => {
|
|
|
179
179
|
position: 'absolute',
|
|
180
180
|
top: '5%',
|
|
181
181
|
left: '25%',
|
|
182
|
-
width: '
|
|
182
|
+
width: '840px',
|
|
183
183
|
height: '671px',
|
|
184
184
|
background: '#FFFFFF',
|
|
185
185
|
border: '1px solid #505050',
|
|
@@ -210,17 +210,19 @@ const CPIModal = _ref => {
|
|
|
210
210
|
fontFamily: 'Nunito',
|
|
211
211
|
fontSize: '16px',
|
|
212
212
|
fontWeight: '400',
|
|
213
|
-
padding: '
|
|
214
|
-
|
|
215
|
-
|
|
213
|
+
padding: '40px',
|
|
214
|
+
paddingLeft: '35px',
|
|
215
|
+
paddingRight: '20px',
|
|
216
|
+
borderTop: '1px solid #505050'
|
|
216
217
|
};
|
|
217
|
-
|
|
218
218
|
const link = {
|
|
219
219
|
color: '#7D267E',
|
|
220
220
|
fontFamily: 'Nunito',
|
|
221
221
|
fontSize: '16px',
|
|
222
222
|
fontWeight: '700',
|
|
223
|
-
|
|
223
|
+
position: 'relative',
|
|
224
|
+
top: '11.5px',
|
|
225
|
+
right: '39px'
|
|
224
226
|
};
|
|
225
227
|
const modalTitle = {
|
|
226
228
|
fontFamily: 'Poppins',
|
|
@@ -359,12 +361,12 @@ const CPIModal = _ref => {
|
|
|
359
361
|
}))), /*#__PURE__*/_react.default.createElement("div", {
|
|
360
362
|
className: "footer",
|
|
361
363
|
style: footer
|
|
362
|
-
},
|
|
364
|
+
}, "All CPI mappings for a given study can be found in the \"synonyms\" tab of the downloadable manifest, available under the \"Studies\" tab in the Explore Dashboard. For more information about CPI, click\xA0", /*#__PURE__*/_react.default.createElement("a", {
|
|
363
365
|
style: link,
|
|
364
366
|
href: "https://participantindex-docs.ccdi.cancer.gov/",
|
|
365
367
|
target: "_blank",
|
|
366
368
|
rel: "noopener noreferrer"
|
|
367
|
-
}, "here")
|
|
369
|
+
}, "here"))));
|
|
368
370
|
};
|
|
369
371
|
var _default = (0, _styles.withStyles)(_ModalStyle.default)(CPIModal);
|
|
370
372
|
exports.default = _default;
|
|
@@ -89,7 +89,7 @@ const CPIView = _ref => {
|
|
|
89
89
|
arrow: classes.arrow,
|
|
90
90
|
tooltip: classes.tooltip
|
|
91
91
|
},
|
|
92
|
-
title: externalData.length && internalData.length === 0 ? /*#__PURE__*/_react.default.createElement("div", null, "
|
|
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", {
|
|
93
93
|
role: "button",
|
|
94
94
|
onClick: handleModalOpen,
|
|
95
95
|
tabIndex: 0,
|
|
@@ -98,7 +98,7 @@ const CPIView = _ref => {
|
|
|
98
98
|
style: {
|
|
99
99
|
marginBottom: '3px'
|
|
100
100
|
}
|
|
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, "
|
|
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", {
|
|
102
102
|
role: "button",
|
|
103
103
|
onClick: handleModalOpen,
|
|
104
104
|
tabIndex: 0,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bento-core/table",
|
|
3
|
-
"version": "1.0.1-ccdihub.
|
|
3
|
+
"version": "1.0.1-ccdihub.108",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "npm run lint && cross-env-shell rm -rf dist && NODE_ENV=production BABEL_ENV=es babel src --out-dir dist --copy-files",
|
package/src/ExtendedView.js
CHANGED
|
@@ -48,7 +48,7 @@ const ExtendedView = ({
|
|
|
48
48
|
<div className="downloadArea" style={downloadAreaStyle}>
|
|
49
49
|
<CustomPagination
|
|
50
50
|
customTheme={customTheme.tblTopPgn}
|
|
51
|
-
rowsPerPageOptions={[10, 25, 50, 100]}
|
|
51
|
+
rowsPerPageOptions={table.rowsPerPageOptions || [10, 25, 50, 100]}
|
|
52
52
|
component="div"
|
|
53
53
|
count={table.totalRowCount || 0}
|
|
54
54
|
rowsPerPage={table.rowsPerPage || 10}
|
package/src/TableView.js
CHANGED
|
@@ -152,7 +152,7 @@ const TableView = ({
|
|
|
152
152
|
<div className="downloadArea" style={getPaginationStyle(table, hasExport)}>
|
|
153
153
|
<CustomPagination
|
|
154
154
|
customTheme={themeConfig.tblPgn}
|
|
155
|
-
rowsPerPageOptions={[10, 25, 50, 100]}
|
|
155
|
+
rowsPerPageOptions={table.rowsPerPageOptions || [10, 25, 50, 100]}
|
|
156
156
|
component="div"
|
|
157
157
|
count={table.totalRowCount || 0}
|
|
158
158
|
rowsPerPage={table.rowsPerPage || 10}
|
|
@@ -196,7 +196,7 @@ const CPIModal = ({
|
|
|
196
196
|
position: 'absolute',
|
|
197
197
|
top: '5%',
|
|
198
198
|
left: '25%',
|
|
199
|
-
width: '
|
|
199
|
+
width: '840px',
|
|
200
200
|
height: '671px',
|
|
201
201
|
background: '#FFFFFF',
|
|
202
202
|
border: '1px solid #505050',
|
|
@@ -231,9 +231,10 @@ const CPIModal = ({
|
|
|
231
231
|
fontFamily: 'Nunito',
|
|
232
232
|
fontSize: '16px',
|
|
233
233
|
fontWeight: '400',
|
|
234
|
-
padding: '
|
|
234
|
+
padding: '40px',
|
|
235
|
+
paddingLeft: '35px',
|
|
236
|
+
paddingRight: '20px',
|
|
235
237
|
borderTop: '1px solid #505050',
|
|
236
|
-
textAlign: 'center', // Add this to center the text
|
|
237
238
|
};
|
|
238
239
|
|
|
239
240
|
const link = {
|
|
@@ -241,7 +242,9 @@ const CPIModal = ({
|
|
|
241
242
|
fontFamily: 'Nunito',
|
|
242
243
|
fontSize: '16px',
|
|
243
244
|
fontWeight: '700',
|
|
244
|
-
|
|
245
|
+
position: 'relative',
|
|
246
|
+
top: '11.5px',
|
|
247
|
+
right: '39px',
|
|
245
248
|
};
|
|
246
249
|
|
|
247
250
|
const modalTitle = {
|
|
@@ -402,24 +405,11 @@ const CPIModal = ({
|
|
|
402
405
|
</Button>
|
|
403
406
|
</div>
|
|
404
407
|
<div className="footer" style={footer}>
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
in the Explore Dashboard.
|
|
411
|
-
For more information about CPI, click
|
|
412
|
-
{' '}
|
|
413
|
-
<a
|
|
414
|
-
style={link}
|
|
415
|
-
href="https://participantindex-docs.ccdi.cancer.gov/"
|
|
416
|
-
target="_blank"
|
|
417
|
-
rel="noopener noreferrer"
|
|
418
|
-
>
|
|
419
|
-
here
|
|
420
|
-
</a>
|
|
421
|
-
.
|
|
422
|
-
</span>
|
|
408
|
+
All CPI mappings for a given study can be found in the "synonyms"
|
|
409
|
+
tab of the downloadable manifest,
|
|
410
|
+
available under the "Studies" tab in the Explore Dashboard.
|
|
411
|
+
For more information about CPI, click
|
|
412
|
+
<a style={link} href="https://participantindex-docs.ccdi.cancer.gov/" target="_blank" rel="noopener noreferrer">here</a>
|
|
423
413
|
</div>
|
|
424
414
|
</Box>
|
|
425
415
|
</Modal>
|
|
@@ -97,7 +97,7 @@ const CPIView = ({
|
|
|
97
97
|
(externalData.length && internalData.length === 0
|
|
98
98
|
? (
|
|
99
99
|
<div>
|
|
100
|
-
|
|
100
|
+
All mapped identifiers in the CCDI Participant Index (CPI) are available
|
|
101
101
|
<span role="button" onClick={handleModalOpen} tabIndex={0} style={button}>here.</span>
|
|
102
102
|
</div>
|
|
103
103
|
)
|
|
@@ -108,7 +108,7 @@ const CPIView = ({
|
|
|
108
108
|
<div>{`${e.associated_id}, ${e.repository_of_synonym_id}`}</div>
|
|
109
109
|
))}
|
|
110
110
|
<p>
|
|
111
|
-
|
|
111
|
+
All mapped identifiers in the CCDI Participant Index (CPI) are available
|
|
112
112
|
<span role="button" onClick={handleModalOpen} tabIndex={0} style={button}>here.</span>
|
|
113
113
|
</p>
|
|
114
114
|
</div>
|