@mjhls/mjh-framework 1.0.893-ris-v2 → 1.0.893-ris-v4
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/cjs/View.js +18 -14
- package/dist/esm/View.js +18 -14
- package/package.json +1 -1
package/dist/cjs/View.js
CHANGED
|
@@ -663,7 +663,7 @@ var Article = React.forwardRef(function (props, ref) {
|
|
|
663
663
|
if (article.title) fileContent += 'TI - ' + article.title + '\n'; //Title - TI
|
|
664
664
|
if (article.summary) fileContent += 'N2 - ' + article.summary + '\n'; //Abstract - N2
|
|
665
665
|
if (issue) {
|
|
666
|
-
if (issue.
|
|
666
|
+
if (issue.issueNumber) fileContent += 'IS - ' + issue.issueNumber + '\n'; //Issue Number - IS
|
|
667
667
|
if (issue.publication && issue.publication.name) {
|
|
668
668
|
fileContent += 'JF - ' + issue.publication.name + '\n'; //Journal Name - JF
|
|
669
669
|
fileContent += 'JO - ' + issue.publication.name + '\n'; //Journal Name - JO
|
|
@@ -1287,19 +1287,23 @@ var Article = React.forwardRef(function (props, ref) {
|
|
|
1287
1287
|
)
|
|
1288
1288
|
)
|
|
1289
1289
|
),
|
|
1290
|
-
|
|
1291
|
-
'
|
|
1292
|
-
{
|
|
1293
|
-
React__default['default'].createElement(
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1290
|
+
React__default['default'].createElement(
|
|
1291
|
+
'div',
|
|
1292
|
+
{ className: 'downloads-container' },
|
|
1293
|
+
issue && React__default['default'].createElement(
|
|
1294
|
+
Button__default['default'],
|
|
1295
|
+
{ className: 'ris-download-button', onClick: function onClick() {
|
|
1296
|
+
return downloadRIS();
|
|
1297
|
+
} },
|
|
1298
|
+
'Download RIS'
|
|
1299
|
+
),
|
|
1300
|
+
issue && issue.url && React__default['default'].createElement(
|
|
1301
|
+
'a',
|
|
1302
|
+
{ rel: 'noopener', href: issue.url, target: '_blank', title: 'Download issue' },
|
|
1303
|
+
React__default['default'].createElement('img', { style: { margin: '1rem', maxHeight: '40px', maxWidth: '40px' }, src: '/download.png', alt: 'download issue' }),
|
|
1304
|
+
'Download Issue : ',
|
|
1305
|
+
issue.name
|
|
1306
|
+
)
|
|
1303
1307
|
)
|
|
1304
1308
|
),
|
|
1305
1309
|
React__default['default'].createElement('div', { className: 'clearfix', style: { minHeight: '1px' } }),
|
package/dist/esm/View.js
CHANGED
|
@@ -653,7 +653,7 @@ var Article = forwardRef(function (props, ref) {
|
|
|
653
653
|
if (article.title) fileContent += 'TI - ' + article.title + '\n'; //Title - TI
|
|
654
654
|
if (article.summary) fileContent += 'N2 - ' + article.summary + '\n'; //Abstract - N2
|
|
655
655
|
if (issue) {
|
|
656
|
-
if (issue.
|
|
656
|
+
if (issue.issueNumber) fileContent += 'IS - ' + issue.issueNumber + '\n'; //Issue Number - IS
|
|
657
657
|
if (issue.publication && issue.publication.name) {
|
|
658
658
|
fileContent += 'JF - ' + issue.publication.name + '\n'; //Journal Name - JF
|
|
659
659
|
fileContent += 'JO - ' + issue.publication.name + '\n'; //Journal Name - JO
|
|
@@ -1277,19 +1277,23 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1277
1277
|
)
|
|
1278
1278
|
)
|
|
1279
1279
|
),
|
|
1280
|
-
|
|
1281
|
-
'
|
|
1282
|
-
{
|
|
1283
|
-
React__default.createElement(
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1280
|
+
React__default.createElement(
|
|
1281
|
+
'div',
|
|
1282
|
+
{ className: 'downloads-container' },
|
|
1283
|
+
issue && React__default.createElement(
|
|
1284
|
+
Button,
|
|
1285
|
+
{ className: 'ris-download-button', onClick: function onClick() {
|
|
1286
|
+
return downloadRIS();
|
|
1287
|
+
} },
|
|
1288
|
+
'Download RIS'
|
|
1289
|
+
),
|
|
1290
|
+
issue && issue.url && React__default.createElement(
|
|
1291
|
+
'a',
|
|
1292
|
+
{ rel: 'noopener', href: issue.url, target: '_blank', title: 'Download issue' },
|
|
1293
|
+
React__default.createElement('img', { style: { margin: '1rem', maxHeight: '40px', maxWidth: '40px' }, src: '/download.png', alt: 'download issue' }),
|
|
1294
|
+
'Download Issue : ',
|
|
1295
|
+
issue.name
|
|
1296
|
+
)
|
|
1293
1297
|
)
|
|
1294
1298
|
),
|
|
1295
1299
|
React__default.createElement('div', { className: 'clearfix', style: { minHeight: '1px' } }),
|