@mjhls/mjh-framework 1.0.997 → 1.0.998-D4S-2830
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/AD.js +6 -6
- package/dist/cjs/AD300x250.js +6 -5
- package/dist/cjs/AD300x250x600.js +6 -5
- package/dist/cjs/AD728x90.js +7 -6
- package/dist/cjs/ADFloatingFooter.js +9 -8
- package/dist/cjs/ADFooter.js +5 -5
- package/dist/cjs/ADGutter.js +9 -8
- package/dist/cjs/{ADInfeed-ef933a08.js → ADInfeed-e87afe8a.js} +5 -5
- package/dist/cjs/ADSkyscraper.js +9 -8
- package/dist/cjs/ADSponsoredResources.js +9 -8
- package/dist/cjs/ADWebcast.js +9 -8
- package/dist/cjs/ADWelcome.js +13 -12
- package/dist/cjs/{ADlgInfeed-0e931f24.js → ADlgInfeed-b5a3d436.js} +3 -3
- package/dist/cjs/AccordionPanel.js +17 -17
- package/dist/cjs/AdSlot.js +10 -9
- package/dist/cjs/AdSlotsProvider.js +6 -5
- package/dist/cjs/AlgoliaSearch.js +904 -1451
- package/dist/cjs/AlphabeticList.js +12 -12
- package/dist/cjs/ArticleCarousel.js +5 -5
- package/dist/cjs/ArticleProgramLandingPage.js +15 -14
- package/dist/cjs/ArticleSeriesLandingPage.js +12 -11
- package/dist/cjs/ArticleSeriesListing.js +30 -29
- package/dist/cjs/Auth.js +85 -114
- package/dist/cjs/AuthWrapper.js +43 -113
- package/dist/cjs/{AuthorComponent-7d00f6d5.js → AuthorComponent-39b37d84.js} +9 -9
- package/dist/cjs/{BlockContent-96b44364.js → BlockContent-9ebd251f.js} +18 -18
- package/dist/cjs/Breadcrumbs.js +17 -17
- package/dist/cjs/CMEDeck.js +62 -61
- package/dist/cjs/Column1.js +7 -7
- package/dist/cjs/Column2.js +15 -15
- package/dist/cjs/Column3.js +28 -27
- package/dist/cjs/ConferenceArticleCard.js +12 -12
- package/dist/cjs/{ConferenceBanner-213003ce.js → ConferenceBanner-6c9e718a.js} +3 -3
- package/dist/cjs/ContentCardPaginated.js +50 -49
- package/dist/cjs/DeckContent.js +59 -58
- package/dist/cjs/DeckQueue.js +58 -57
- package/dist/cjs/DeckQueuePaginated.js +47 -46
- package/dist/cjs/{Dfp-67646058.js → Dfp-9be904d5.js} +18 -17
- package/dist/cjs/EventsDeck.js +90 -90
- package/dist/cjs/ExternalResources.js +35 -34
- package/dist/cjs/Feature.js +17 -17
- package/dist/cjs/ForbesHero.js +25 -25
- package/dist/cjs/GridContent.js +135 -134
- package/dist/cjs/GridContentPaginated.js +122 -121
- package/dist/cjs/GridHero.js +26 -26
- package/dist/cjs/GroupDeck.js +33 -33
- package/dist/cjs/HamMagazine.js +105 -105
- package/dist/cjs/Header.js +9 -9
- package/dist/cjs/HealthCareProfessionalModal.js +17 -17
- package/dist/cjs/Hero.js +5 -5
- package/dist/cjs/HighlightenVideo.js +13 -13
- package/dist/cjs/HorizontalArticleListing.js +29 -28
- package/dist/cjs/HorizontalHero.js +17 -17
- package/dist/cjs/{ImageSlider-1ec0408b.js → ImageSlider-6c00b878.js} +172 -212
- package/dist/cjs/IssueContentDeck.js +49 -49
- package/dist/cjs/IssueDeck.js +48 -48
- package/dist/cjs/IssueLanding.js +20 -19
- package/dist/cjs/LeftNav.js +18 -17
- package/dist/cjs/MasterDeck.js +40 -39
- package/dist/cjs/MasterDeckPaginated.js +30 -29
- package/dist/cjs/MediaSeriesCard-8b65ad21.js +81 -0
- package/dist/cjs/MediaSeriesLanding.js +51 -49
- package/dist/cjs/MediaSeriesLandingPaginated.js +49 -47
- package/dist/cjs/NavDvm.js +57 -57
- package/dist/cjs/{NavFooter-880e9d87.js → NavFooter-4799de4b.js} +11 -11
- package/dist/cjs/NavMagazine.js +106 -106
- package/dist/cjs/NavNative.js +97 -97
- package/dist/cjs/OncliveHero.js +11 -11
- package/dist/cjs/OncliveLargeHero.js +49 -49
- package/dist/cjs/PageFilter.js +5 -5
- package/dist/cjs/{Pagination-6359861a.js → Pagination-2a3d0103.js} +13 -13
- package/dist/cjs/PartnerDetailListing.js +51 -49
- package/dist/cjs/PartnerDetailListingPaginated.js +50 -48
- package/dist/cjs/PdfDownload.js +4 -4
- package/dist/cjs/PixelTracking.js +9 -9
- package/dist/cjs/PodcastsLanding.js +235 -0
- package/dist/cjs/PopUpModal.js +9 -9
- package/dist/cjs/PtceDeck.js +13 -13
- package/dist/cjs/PubSection.js +14 -13
- package/dist/cjs/PubToc.js +4 -4
- package/dist/cjs/PublicationDeck.js +44 -44
- package/dist/cjs/{PublicationFeature-a989a2b3.js → PublicationFeature-5ccf9b13.js} +29 -29
- package/dist/cjs/PublicationLanding.js +73 -73
- package/dist/cjs/QueueDeckExpanded.js +246 -245
- package/dist/cjs/QueueDeckExpandedPaginated.js +223 -222
- package/dist/cjs/RecentNews.js +15 -15
- package/dist/cjs/RelatedContent.js +14 -14
- package/dist/cjs/RelatedTopicsDropdown.js +14 -14
- package/dist/cjs/RolesDeck.js +20 -20
- package/dist/cjs/Schema.js +1 -1
- package/dist/cjs/Search.js +6 -6
- package/dist/cjs/SeriesListingDeck.js +19 -18
- package/dist/cjs/{SeriesSlider-18fc6e71.js → SeriesSlider-594b19eb.js} +22 -22
- package/dist/cjs/SideFooter.js +18 -18
- package/dist/cjs/SocialIcons.js +6 -6
- package/dist/cjs/{SocialSearchComponent-ca9c0c45.js → SocialSearchComponent-d2ab3d62.js} +28 -28
- package/dist/cjs/SocialShare.js +25 -25
- package/dist/cjs/TaxonomyCard.js +44 -44
- package/dist/cjs/TaxonomyDescription.js +12 -11
- package/dist/cjs/TemplateNormal.js +28 -27
- package/dist/cjs/ThumbnailCard.js +10 -10
- package/dist/cjs/{MediaSeriesCard-869906ff.js → Tooltip-f075b7ef.js} +621 -777
- package/dist/cjs/Ustream.js +9 -9
- package/dist/cjs/VerticalHero.js +10 -10
- package/dist/cjs/VideoProgramLandingPage.js +29 -28
- package/dist/cjs/VideoSeriesCard.js +13 -13
- package/dist/cjs/VideoSeriesFilter.js +5 -5
- package/dist/cjs/VideoSeriesLandingPage.js +12 -11
- package/dist/cjs/VideoSeriesListing.js +47 -46
- package/dist/cjs/View.js +270 -256
- package/dist/cjs/YahooHero.js +22 -22
- package/dist/cjs/YoutubeGroup.js +33 -33
- package/dist/cjs/{brightcove-react-player-loader.es-4c7825a1.js → brightcove-react-player-loader.es-a195642e.js} +2 -2
- package/dist/cjs/defineProperty-e0fb52c5.js +73 -0
- package/dist/cjs/events-1b438fe7.js +469 -0
- package/dist/cjs/getQuery.js +1 -1
- package/dist/cjs/getSerializers.js +7 -6
- package/dist/cjs/iconBase-be4097c0.js +4 -2
- package/dist/cjs/{index-e4f1fe32.js → index-19170d97.js} +481 -481
- package/dist/cjs/index-50be6759.js +105 -0
- package/dist/cjs/{index-65621b6c.js → index-eadd5035.js} +5 -5
- package/dist/cjs/{index-96c331fd.js → index-f86bb269.js} +52 -53
- package/dist/cjs/{index-7435b964.js → index-fc2f1ca2.js} +6 -471
- package/dist/cjs/{index.es-1ab8dda7.js → index.es-f3e47207.js} +4 -4
- package/dist/cjs/{index.esm-f59ef5b4.js → index.esm-1461604c.js} +14 -14
- package/dist/cjs/index.js +105 -102
- package/dist/cjs/{main-6054981e.js → main-f1c77adb.js} +22 -17
- package/dist/cjs/{react-social-icons-2c5c389a.js → react-social-icons-af932527.js} +7 -7
- package/dist/cjs/typeof-1358762e.js +33 -0
- package/dist/cjs/ustream-api-3819e4aa.js +1 -1
- package/dist/cjs/{visibility-sensor-56020df6.js → visibility-sensor-eb2c5b69.js} +1 -1
- package/dist/esm/AD.js +1 -1
- package/dist/esm/AD300x250.js +3 -2
- package/dist/esm/AD300x250x600.js +3 -2
- package/dist/esm/AD728x90.js +3 -2
- package/dist/esm/ADFloatingFooter.js +3 -2
- package/dist/esm/ADGutter.js +3 -2
- package/dist/esm/ADSkyscraper.js +3 -2
- package/dist/esm/ADSponsoredResources.js +3 -2
- package/dist/esm/ADWebcast.js +3 -2
- package/dist/esm/ADWelcome.js +3 -2
- package/dist/esm/AdSlot.js +3 -2
- package/dist/esm/AdSlotsProvider.js +3 -2
- package/dist/esm/AlgoliaSearch.js +518 -1065
- package/dist/esm/ArticleCarousel.js +1 -1
- package/dist/esm/ArticleProgramLandingPage.js +4 -3
- package/dist/esm/ArticleSeriesLandingPage.js +5 -4
- package/dist/esm/ArticleSeriesListing.js +3 -2
- package/dist/esm/Auth.js +11 -40
- package/dist/esm/AuthWrapper.js +16 -86
- package/dist/esm/CMEDeck.js +3 -2
- package/dist/esm/Column3.js +3 -2
- package/dist/esm/ContentCardPaginated.js +5 -4
- package/dist/esm/DeckContent.js +4 -3
- package/dist/esm/DeckQueue.js +3 -2
- package/dist/esm/DeckQueuePaginated.js +4 -3
- package/dist/esm/{Dfp-cf85d203.js → Dfp-102f0beb.js} +2 -1
- package/dist/esm/EventsDeck.js +2 -2
- package/dist/esm/ExternalResources.js +5 -4
- package/dist/esm/Feature.js +1 -1
- package/dist/esm/GridContent.js +5 -4
- package/dist/esm/GridContentPaginated.js +6 -5
- package/dist/esm/HamMagazine.js +2 -2
- package/dist/esm/HorizontalArticleListing.js +4 -3
- package/dist/esm/{ImageSlider-83913c4c.js → ImageSlider-f84174cb.js} +117 -157
- package/dist/esm/IssueLanding.js +6 -5
- package/dist/esm/LeftNav.js +3 -2
- package/dist/esm/MasterDeck.js +5 -4
- package/dist/esm/MasterDeckPaginated.js +6 -5
- package/dist/esm/MediaSeriesCard-86cca9d6.js +75 -0
- package/dist/esm/MediaSeriesLanding.js +14 -12
- package/dist/esm/MediaSeriesLandingPaginated.js +14 -12
- package/dist/esm/NavMagazine.js +2 -2
- package/dist/esm/NavNative.js +1 -1
- package/dist/esm/{Pagination-9fe9f61d.js → Pagination-dc30727b.js} +1 -1
- package/dist/esm/PartnerDetailListing.js +8 -6
- package/dist/esm/PartnerDetailListingPaginated.js +9 -7
- package/dist/esm/PodcastsLanding.js +228 -0
- package/dist/esm/PubSection.js +5 -4
- package/dist/esm/QueueDeckExpanded.js +5 -4
- package/dist/esm/QueueDeckExpandedPaginated.js +6 -5
- package/dist/esm/SeriesListingDeck.js +4 -3
- package/dist/esm/{SeriesSlider-5728e349.js → SeriesSlider-f771e20d.js} +1 -1
- package/dist/esm/{SocialSearchComponent-68d948b9.js → SocialSearchComponent-165b4ae7.js} +1 -1
- package/dist/esm/TaxonomyDescription.js +4 -3
- package/dist/esm/TemplateNormal.js +4 -3
- package/dist/esm/{MediaSeriesCard-4e0ddeca.js → Tooltip-95655b44.js} +68 -223
- package/dist/esm/Ustream.js +1 -1
- package/dist/esm/VideoProgramLandingPage.js +4 -3
- package/dist/esm/VideoSeriesLandingPage.js +5 -4
- package/dist/esm/VideoSeriesListing.js +3 -2
- package/dist/esm/View.js +55 -41
- package/dist/esm/YoutubeGroup.js +1 -1
- package/dist/esm/defineProperty-23a8f8cd.js +68 -0
- package/dist/esm/events-6c3a7a63.js +467 -0
- package/dist/esm/getQuery.js +1 -1
- package/dist/esm/getSerializers.js +4 -3
- package/dist/esm/{index-30a6257d.js → index-79cfd25c.js} +52 -53
- package/dist/esm/index-98ca9cec.js +100 -0
- package/dist/esm/{index-3bb56969.js → index-e8430905.js} +2 -2
- package/dist/esm/{index-5cc7b406.js → index-f0fc23eb.js} +1 -466
- package/dist/esm/index.js +13 -10
- package/dist/esm/{main-9f6806ea.js → main-1894c974.js} +9 -4
- package/dist/esm/typeof-2f07d0e8.js +30 -0
- package/package.json +1 -1
- package/dist/cjs/index-b95410f0.js +0 -54
- package/dist/esm/index-174b5baf.js +0 -52
- /package/dist/esm/{ADInfeed-f946441a.js → ADInfeed-5765a73a.js} +0 -0
- /package/dist/esm/{ADlgInfeed-012e6f16.js → ADlgInfeed-5e36f317.js} +0 -0
package/dist/esm/View.js
CHANGED
|
@@ -8,16 +8,16 @@ import { _ as _JSON$stringify } from './stringify-2b084bee.js';
|
|
|
8
8
|
import { _ as _toConsumableArray } from './toConsumableArray-f7074d7c.js';
|
|
9
9
|
import { m as moment } from './moment-bc12cb97.js';
|
|
10
10
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
11
|
-
import { m as main_43 } from './main-
|
|
11
|
+
import { m as main_43 } from './main-1894c974.js';
|
|
12
12
|
import 'react-bootstrap/Dropdown';
|
|
13
13
|
import Form from 'react-bootstrap/Form';
|
|
14
14
|
import FormControl from 'react-bootstrap/FormControl';
|
|
15
15
|
import Button from 'react-bootstrap/Button';
|
|
16
16
|
import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
17
17
|
import SocialShare from './SocialShare.js';
|
|
18
|
-
import { r as renderAuthor, g as getSerializers } from './index-
|
|
18
|
+
import { r as renderAuthor, g as getSerializers } from './index-e8430905.js';
|
|
19
19
|
import DFPAdSlot from './AdSlot.js';
|
|
20
|
-
import { S as SeriesSlider } from './SeriesSlider-
|
|
20
|
+
import { S as SeriesSlider } from './SeriesSlider-f771e20d.js';
|
|
21
21
|
import { a as getContentPlacementUrl, g as getTargeting } from './getTargeting-9bd28724.js';
|
|
22
22
|
import getKeywords from './getKeywords.js';
|
|
23
23
|
import urlFor from './urlFor.js';
|
|
@@ -33,7 +33,7 @@ import { PixelTrackingArticle } from './PixelTracking.js';
|
|
|
33
33
|
import './Segment.js';
|
|
34
34
|
import { _ as _Object$keys } from './keys-31dcdb31.js';
|
|
35
35
|
import { I as InfiniteScroll } from './index.es-a6137319.js';
|
|
36
|
-
import { l as lib_3 } from './index-
|
|
36
|
+
import { l as lib_3 } from './index-f0fc23eb.js';
|
|
37
37
|
import getRelatedArticle from './getRelatedArticle.js';
|
|
38
38
|
import getQuery from './getQuery.js';
|
|
39
39
|
import getSeriesDetail from './getSeriesDetail.js';
|
|
@@ -74,6 +74,7 @@ import './checkSisterSite-baa4fb6b.js';
|
|
|
74
74
|
import './debounce-533d9748.js';
|
|
75
75
|
import './isSymbol-a7e9aafe.js';
|
|
76
76
|
import './toNumber-5aeba6e7.js';
|
|
77
|
+
import './events-6c3a7a63.js';
|
|
77
78
|
import './index-db3bb315.js';
|
|
78
79
|
|
|
79
80
|
var getArticleSummary = function getArticleSummary(article) {
|
|
@@ -1017,6 +1018,8 @@ var Article = React__default.memo(forwardRef(function (props, ref) {
|
|
|
1017
1018
|
downloadCitation = _props$downloadCitati === undefined ? false : _props$downloadCitati,
|
|
1018
1019
|
_props$useSegmentReco = props.useSegmentRecommendedArticles,
|
|
1019
1020
|
useSegmentRecommendedArticles = _props$useSegmentReco === undefined ? false : _props$useSegmentReco,
|
|
1021
|
+
showIssueNameOnly = props.showIssueNameOnly,
|
|
1022
|
+
showPageNumber = props.showPageNumber,
|
|
1020
1023
|
emailList = props.emailList,
|
|
1021
1024
|
articleRecs = props.articleRecs;
|
|
1022
1025
|
var sliderData = props.sliderData;
|
|
@@ -1027,9 +1030,9 @@ var Article = React__default.memo(forwardRef(function (props, ref) {
|
|
|
1027
1030
|
if (article && article.documentGroup && article.documentGroup.disableEpisodeNumber === true) {
|
|
1028
1031
|
disableEpisodeNumber = true;
|
|
1029
1032
|
}
|
|
1030
|
-
var logicforDisplayingEpisodeNumber = disableEpisodeNumber
|
|
1033
|
+
var logicforDisplayingEpisodeNumber = !disableEpisodeNumber;
|
|
1031
1034
|
var targeting = getTargeting(props);
|
|
1032
|
-
//remove slider data if toggled
|
|
1035
|
+
// remove slider data if toggled
|
|
1033
1036
|
if (article && article.documentGroup && article.documentGroup.hideSeriesSlider === true) {
|
|
1034
1037
|
sliderData = null;
|
|
1035
1038
|
}
|
|
@@ -1053,12 +1056,12 @@ var Article = React__default.memo(forwardRef(function (props, ref) {
|
|
|
1053
1056
|
}
|
|
1054
1057
|
}
|
|
1055
1058
|
|
|
1056
|
-
//if showSocialShare is not disabled for entire site, check article taxonomy, docgroup, authors for showSocialShare === false
|
|
1059
|
+
// if showSocialShare is not disabled for entire site, check article taxonomy, docgroup, authors for showSocialShare === false
|
|
1057
1060
|
if (showSocialShare) {
|
|
1058
1061
|
showSocialShare = getSocialShareDisableFlag(props.article);
|
|
1059
1062
|
}
|
|
1060
1063
|
|
|
1061
|
-
//If sponsored flag, disable contextual ads
|
|
1064
|
+
// If sponsored flag, disable contextual ads
|
|
1062
1065
|
if (sponsoredFlag) {
|
|
1063
1066
|
article.contextualVideoAD = false;
|
|
1064
1067
|
article.contextualAD = false;
|
|
@@ -1067,7 +1070,7 @@ var Article = React__default.memo(forwardRef(function (props, ref) {
|
|
|
1067
1070
|
if (article.disableRelatedContent) {
|
|
1068
1071
|
showRelatedArticles = false;
|
|
1069
1072
|
}
|
|
1070
|
-
//This was being done in ArticleQueue2 which wasnt effecting articles excluded from infinite scroll, moved inside article component
|
|
1073
|
+
// This was being done in ArticleQueue2 which wasnt effecting articles excluded from infinite scroll, moved inside article component
|
|
1071
1074
|
if (!sponsoredFlag && Ads.getVideoContextualAD) {
|
|
1072
1075
|
article.contextualVideoAD = Ads.getVideoContextualAD(getTargeting(props, 'in-context_video'));
|
|
1073
1076
|
}
|
|
@@ -1148,9 +1151,11 @@ var Article = React__default.memo(forwardRef(function (props, ref) {
|
|
|
1148
1151
|
|
|
1149
1152
|
var getAbstract = function getAbstract() {
|
|
1150
1153
|
return article.abstract && article.abstract.map(function (block) {
|
|
1151
|
-
if (block.children)
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
+
if (block.children) {
|
|
1155
|
+
return block.children.map(function (child) {
|
|
1156
|
+
if (child._type === 'span') return child.text;
|
|
1157
|
+
});
|
|
1158
|
+
}
|
|
1154
1159
|
}).join(' ');
|
|
1155
1160
|
};
|
|
1156
1161
|
|
|
@@ -1168,52 +1173,52 @@ var Article = React__default.memo(forwardRef(function (props, ref) {
|
|
|
1168
1173
|
var fileContent = 'TY - JOUR\n';
|
|
1169
1174
|
if (issue) {
|
|
1170
1175
|
if (article.title) {
|
|
1171
|
-
fileContent += 'TI - ' + article.title + '\n'; //Title - TI
|
|
1172
|
-
fileContent += 'T1 - ' + article.title + '\n'; //Title - T1
|
|
1176
|
+
fileContent += 'TI - ' + article.title + '\n'; // Title - TI
|
|
1177
|
+
fileContent += 'T1 - ' + article.title + '\n'; // Title - T1
|
|
1173
1178
|
}
|
|
1174
1179
|
if (authorDetails && authorDetails.length) {
|
|
1175
1180
|
authorDetails.map(function (authorDetail, index) {
|
|
1176
1181
|
return fileContent += 'AU - ' + (authorDetail.firstName && authorDetail.lastName ? authorDetail.lastName + ', ' + authorDetail.firstName : '' + authorDetail.displayName) + '\n';
|
|
1177
|
-
} //Author
|
|
1182
|
+
} // Author
|
|
1178
1183
|
);
|
|
1179
1184
|
}
|
|
1180
1185
|
if (issue.publication && issue.publication.name) {
|
|
1181
|
-
fileContent += 'T2 - ' + issue.publication.name + '\n'; //Secondary Title - T2
|
|
1182
|
-
fileContent += 'JF - ' + issue.publication.name + '\n'; //Journal Name - JF
|
|
1186
|
+
fileContent += 'T2 - ' + issue.publication.name + '\n'; // Secondary Title - T2
|
|
1187
|
+
fileContent += 'JF - ' + issue.publication.name + '\n'; // Journal Name - JF
|
|
1183
1188
|
}
|
|
1184
1189
|
if (issue.name) {
|
|
1185
|
-
fileContent += 'T3 - ' + issue.name + '\n'; //Issue Name - T3
|
|
1190
|
+
fileContent += 'T3 - ' + issue.name + '\n'; // Issue Name - T3
|
|
1186
1191
|
}
|
|
1187
1192
|
if (issue.abbreviatedJournal) {
|
|
1188
|
-
fileContent += 'JO - ' + issue.abbreviatedJournal + '\n'; //Journal Name - JO
|
|
1193
|
+
fileContent += 'JO - ' + issue.abbreviatedJournal + '\n'; // Journal Name - JO
|
|
1189
1194
|
}
|
|
1190
|
-
if (article.abstract) fileContent += 'AB - ' + getAbstract() + '\n'; //Abstract - AB
|
|
1191
|
-
if (article.abstract) fileContent += 'N2 - ' + getAbstract() + '\n'; //Abstract - N2
|
|
1192
|
-
if (issue.issueNumber) fileContent += 'IS - ' + issue.issueNumber + '\n'; //Issue Number - IS
|
|
1193
|
-
fileContent += 'PB - MJH Life Sciences\n'; //Publisher - PB
|
|
1194
|
-
if (issue.year) fileContent += 'PY - ' + issue.year + '\n'; //Published Year - PY
|
|
1195
|
-
if (issue.volume) fileContent += 'VL - ' + issue.volume + '\n'; //Volume - VL
|
|
1196
|
-
if (issue.url) fileContent += 'L1 - ' + issue.url + '\n'; //Link to PDF - L1
|
|
1195
|
+
if (article.abstract) fileContent += 'AB - ' + getAbstract() + '\n'; // Abstract - AB
|
|
1196
|
+
if (article.abstract) fileContent += 'N2 - ' + getAbstract() + '\n'; // Abstract - N2
|
|
1197
|
+
if (issue.issueNumber) fileContent += 'IS - ' + issue.issueNumber + '\n'; // Issue Number - IS
|
|
1198
|
+
fileContent += 'PB - MJH Life Sciences\n'; // Publisher - PB
|
|
1199
|
+
if (issue.year) fileContent += 'PY - ' + issue.year + '\n'; // Published Year - PY
|
|
1200
|
+
if (issue.volume) fileContent += 'VL - ' + issue.volume + '\n'; // Volume - VL
|
|
1201
|
+
if (issue.url) fileContent += 'L1 - ' + issue.url + '\n'; // Link to PDF - L1
|
|
1197
1202
|
if (shareOptions && shareOptions.shareBaseUrl) {
|
|
1198
|
-
fileContent += 'L2 - ' + (shareOptions.shareBaseUrl + url) + '\n'; //Link to Full-text - L2
|
|
1199
|
-
fileContent += 'UR - ' + (shareOptions.shareBaseUrl + url) + '\n'; //Doc URL - UR
|
|
1203
|
+
fileContent += 'L2 - ' + (shareOptions.shareBaseUrl + url) + '\n'; // Link to Full-text - L2
|
|
1204
|
+
fileContent += 'UR - ' + (shareOptions.shareBaseUrl + url) + '\n'; // Doc URL - UR
|
|
1200
1205
|
}
|
|
1201
|
-
if (props.Website) fileContent += 'LK - https://' + props.Website.liveDomain + '\n'; //Website Link - LK
|
|
1206
|
+
if (props.Website) fileContent += 'LK - https://' + props.Website.liveDomain + '\n'; // Website Link - LK
|
|
1202
1207
|
if (issue.isbn_issn) {
|
|
1203
|
-
fileContent += 'SN - ' + issue.isbn_issn + '\n'; //ISSN/ISBN - TI
|
|
1208
|
+
fileContent += 'SN - ' + issue.isbn_issn + '\n'; // ISSN/ISBN - TI
|
|
1204
1209
|
}
|
|
1205
1210
|
if (pageNumber) {
|
|
1206
1211
|
if (pageNumber.includes('-')) {
|
|
1207
|
-
fileContent += 'SP - ' + pageNumber.split('-')[0] + '\n'; //Start Page - SP
|
|
1208
|
-
fileContent += 'EP - ' + pageNumber.split('-')[1] + '\n'; //End Page - EP
|
|
1212
|
+
fileContent += 'SP - ' + pageNumber.split('-')[0] + '\n'; // Start Page - SP
|
|
1213
|
+
fileContent += 'EP - ' + pageNumber.split('-')[1] + '\n'; // End Page - EP
|
|
1209
1214
|
} else {
|
|
1210
1215
|
fileContent += 'SP - ' + pageNumber + '\n';
|
|
1211
1216
|
}
|
|
1212
1217
|
}
|
|
1213
|
-
if (article.published) fileContent += 'Y1 - ' + moment(published).format('DD-MMMM-YYYY') + '\n'; //Primary Date - Y1
|
|
1214
|
-
fileContent += 'Y2 - ' + moment().format('DD-MMMM-YYYY') + '\n'; //Access Date - Y2
|
|
1218
|
+
if (article.published) fileContent += 'Y1 - ' + moment(published).format('DD-MMMM-YYYY') + '\n'; // Primary Date - Y1
|
|
1219
|
+
fileContent += 'Y2 - ' + moment().format('DD-MMMM-YYYY') + '\n'; // Access Date - Y2
|
|
1215
1220
|
}
|
|
1216
|
-
fileContent += 'ER -\n'; //End of Record
|
|
1221
|
+
fileContent += 'ER -\n'; // End of Record
|
|
1217
1222
|
return fileContent;
|
|
1218
1223
|
};
|
|
1219
1224
|
var getAuthorList = function getAuthorList() {
|
|
@@ -1776,7 +1781,7 @@ var Article = React__default.memo(forwardRef(function (props, ref) {
|
|
|
1776
1781
|
{ className: 'volume-issue' },
|
|
1777
1782
|
issue.publication && issue.publication.name && React__default.createElement(
|
|
1778
1783
|
'span',
|
|
1779
|
-
{ className: 'mb-0' },
|
|
1784
|
+
{ className: 'mb-0-pub' },
|
|
1780
1785
|
React__default.createElement(
|
|
1781
1786
|
'b',
|
|
1782
1787
|
null,
|
|
@@ -1785,17 +1790,22 @@ var Article = React__default.memo(forwardRef(function (props, ref) {
|
|
|
1785
1790
|
',',
|
|
1786
1791
|
' '
|
|
1787
1792
|
),
|
|
1788
|
-
issue.name && React__default.createElement(
|
|
1793
|
+
issue.name && showIssueNameOnly === undefined ? React__default.createElement(
|
|
1789
1794
|
'span',
|
|
1790
1795
|
{ className: 'mb-0' },
|
|
1791
1796
|
issue.name,
|
|
1792
1797
|
', '
|
|
1793
|
-
)
|
|
1798
|
+
) : issue.name && showIssueNameOnly === false ? React__default.createElement(
|
|
1799
|
+
'span',
|
|
1800
|
+
{ className: 'mb-0' },
|
|
1801
|
+
issue.name,
|
|
1802
|
+
', '
|
|
1803
|
+
) : null,
|
|
1794
1804
|
issue.volume && React__default.createElement(
|
|
1795
1805
|
'span',
|
|
1796
1806
|
null,
|
|
1797
1807
|
'Volume ' + issue.volume,
|
|
1798
|
-
','
|
|
1808
|
+
', '
|
|
1799
1809
|
),
|
|
1800
1810
|
issue.issueNumber && React__default.createElement(
|
|
1801
1811
|
'span',
|
|
@@ -1803,11 +1813,15 @@ var Article = React__default.memo(forwardRef(function (props, ref) {
|
|
|
1803
1813
|
' Issue ' + issue.issueNumber
|
|
1804
1814
|
)
|
|
1805
1815
|
),
|
|
1806
|
-
pageNumber && React__default.createElement(
|
|
1816
|
+
pageNumber && showPageNumber ? React__default.createElement(
|
|
1807
1817
|
'div',
|
|
1808
1818
|
{ className: 'article-pageNumber' },
|
|
1809
1819
|
'Pages: ' + pageNumber
|
|
1810
|
-
)
|
|
1820
|
+
) : pageNumber && showPageNumber === undefined ? React__default.createElement(
|
|
1821
|
+
'div',
|
|
1822
|
+
{ className: 'article-pageNumber' },
|
|
1823
|
+
'Pages: ' + pageNumber
|
|
1824
|
+
) : null
|
|
1811
1825
|
),
|
|
1812
1826
|
React__default.createElement(
|
|
1813
1827
|
'div',
|
package/dist/esm/YoutubeGroup.js
CHANGED
|
@@ -4,7 +4,7 @@ import { g as getYoutubeId } from './index-c7e2ac95.js';
|
|
|
4
4
|
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
5
5
|
import { s as smoothscroll } from './smoothscroll-fa4e3f8c.js';
|
|
6
6
|
import urlFor from './urlFor.js';
|
|
7
|
-
import { m as main_43, a as main_49, b as main_42 } from './main-
|
|
7
|
+
import { m as main_43, a as main_49, b as main_42 } from './main-1894c974.js';
|
|
8
8
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
9
9
|
import './web.dom.iterable-ab4dea5c.js';
|
|
10
10
|
import './core.get-iterator-method-ea258bb1.js';
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
+
|
|
3
|
+
var asyncToGenerator = createCommonjsModule(function (module) {
|
|
4
|
+
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
5
|
+
try {
|
|
6
|
+
var info = gen[key](arg);
|
|
7
|
+
var value = info.value;
|
|
8
|
+
} catch (error) {
|
|
9
|
+
reject(error);
|
|
10
|
+
return;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
if (info.done) {
|
|
14
|
+
resolve(value);
|
|
15
|
+
} else {
|
|
16
|
+
Promise.resolve(value).then(_next, _throw);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
function _asyncToGenerator(fn) {
|
|
21
|
+
return function () {
|
|
22
|
+
var self = this,
|
|
23
|
+
args = arguments;
|
|
24
|
+
return new Promise(function (resolve, reject) {
|
|
25
|
+
var gen = fn.apply(self, args);
|
|
26
|
+
|
|
27
|
+
function _next(value) {
|
|
28
|
+
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
function _throw(err) {
|
|
32
|
+
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
_next(undefined);
|
|
36
|
+
});
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
module.exports = _asyncToGenerator;
|
|
41
|
+
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
42
|
+
});
|
|
43
|
+
|
|
44
|
+
var _asyncToGenerator = unwrapExports(asyncToGenerator);
|
|
45
|
+
|
|
46
|
+
var defineProperty = createCommonjsModule(function (module) {
|
|
47
|
+
function _defineProperty(obj, key, value) {
|
|
48
|
+
if (key in obj) {
|
|
49
|
+
Object.defineProperty(obj, key, {
|
|
50
|
+
value: value,
|
|
51
|
+
enumerable: true,
|
|
52
|
+
configurable: true,
|
|
53
|
+
writable: true
|
|
54
|
+
});
|
|
55
|
+
} else {
|
|
56
|
+
obj[key] = value;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
return obj;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
module.exports = _defineProperty;
|
|
63
|
+
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
64
|
+
});
|
|
65
|
+
|
|
66
|
+
var _defineProperty = unwrapExports(defineProperty);
|
|
67
|
+
|
|
68
|
+
export { _asyncToGenerator as _, _defineProperty as a, asyncToGenerator as b, defineProperty as d };
|