@mjhls/mjh-framework 1.0.702-beta-v1 → 1.0.703-testing-module-splitting
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/README.md +172 -172
- package/dist/cjs/AD.js +10 -9
- package/dist/cjs/AD300x250.js +26 -24
- package/dist/cjs/AD300x250x600.js +26 -24
- package/dist/cjs/AD728x90.js +29 -27
- package/dist/cjs/ADFloatingFooter.js +31 -29
- package/dist/cjs/ADFooter.js +16 -14
- package/dist/cjs/ADGutter.js +28 -26
- package/dist/cjs/{ADInfeed-38066a36.js → ADInfeed-d36dc3ca.js} +13 -11
- package/dist/cjs/ADSkyscraper.js +28 -26
- package/dist/cjs/ADSponsoredResources.js +28 -26
- package/dist/cjs/ADWebcast.js +28 -26
- package/dist/cjs/ADWelcome.js +32 -30
- package/dist/cjs/{ADlgInfeed-d95c9027.js → ADlgInfeed-93205fa0.js} +9 -8
- package/dist/cjs/AccordionPanel.js +32 -29
- package/dist/cjs/AdSlot.js +33 -31
- package/dist/cjs/AdSlotsProvider.js +8 -7
- package/dist/cjs/AlphabeticList.js +26 -24
- package/dist/cjs/ArticleCarousel.js +23 -21
- package/dist/cjs/ArticleSeriesListing.js +59 -57
- package/dist/cjs/Auth.js +817 -530
- package/dist/cjs/{AuthorComponent-bb831b74.js → AuthorComponent-482218ce.js} +14 -13
- package/dist/cjs/Beam.js +10 -9
- package/dist/cjs/{BlockContent-80b15fac.js → BlockContent-eca358e4.js} +25 -24
- package/dist/cjs/Breadcrumbs.js +30 -27
- package/dist/cjs/BrowseVideosListing.js +41 -39
- package/dist/cjs/CMEDeck.js +79 -78
- package/dist/cjs/Column1.js +14 -11
- package/dist/cjs/Column2.js +36 -32
- package/dist/cjs/Column3.js +59 -55
- package/dist/cjs/ConferenceArticleCard.js +38 -37
- package/dist/cjs/ConferenceBanner-6c9e718a.js +24 -0
- package/dist/cjs/DeckContent.js +107 -102
- package/dist/cjs/DeckQueue.js +91 -86
- package/dist/cjs/{Dfp-390337bf.js → Dfp-80c3d853.js} +32 -30
- package/dist/cjs/EventsDeck.js +157 -149
- package/dist/cjs/ExternalResources.js +76 -74
- package/dist/cjs/Feature.js +27 -25
- package/dist/cjs/ForbesHero.js +42 -40
- package/dist/cjs/GridContent.js +182 -177
- package/dist/cjs/GridHero.js +44 -42
- package/dist/cjs/GroupDeck.js +51 -49
- package/dist/cjs/HamMagazine.js +145 -139
- package/dist/cjs/Header.js +13 -11
- package/dist/cjs/Hero.js +13 -12
- package/dist/cjs/HighlightenVideo.js +18 -17
- package/dist/cjs/HorizontalHero.js +26 -25
- package/dist/cjs/IssueContentDeck.js +78 -72
- package/dist/cjs/IssueDeck.js +76 -70
- package/dist/cjs/IssueLanding.js +71 -69
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +39 -36
- package/dist/cjs/MasterDeck.js +81 -79
- package/dist/cjs/NavDvm.js +81 -75
- package/dist/cjs/{NavFooter-76c913e3.js → NavFooter-3dcd99a8.js} +15 -14
- package/dist/cjs/NavMagazine.js +154 -148
- package/dist/cjs/NavNative.js +133 -124
- package/dist/cjs/NavNormal.js +54 -48
- package/dist/cjs/OncliveHero.js +20 -20
- package/dist/cjs/OncliveLargeHero.js +68 -66
- package/dist/cjs/PageFilter.js +16 -14
- package/dist/cjs/PartnerDetailListing.js +107 -1302
- package/dist/cjs/PdfDownload.js +9 -8
- package/dist/cjs/PopUpModal.js +22 -19
- package/dist/cjs/PublicationDeck.js +66 -61
- package/dist/cjs/PublicationLanding.js +119 -114
- package/dist/cjs/QueueDeckExpanded.js +293 -292
- package/dist/cjs/RecentNews.js +24 -23
- package/dist/cjs/RelatedContent.js +53 -52
- package/dist/cjs/RelatedTopicsDropdown.js +32 -29
- package/dist/cjs/RolesDeck.js +32 -27
- package/dist/cjs/Search.js +23 -18
- package/dist/cjs/Segment.js +8 -7
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +39 -37
- package/dist/cjs/SocialIcons.js +10 -9
- package/dist/cjs/{SocialSearchComponent-56d49a1a.js → SocialSearchComponent-a49e8e9d.js} +40 -36
- package/dist/cjs/SocialShare.js +31 -29
- package/dist/cjs/TaxonomyCard.js +63 -57
- package/dist/cjs/TemplateNormal.js +74 -72
- package/dist/cjs/ThumbnailCard.js +22 -20
- package/dist/cjs/Ustream.js +28 -26
- package/dist/cjs/VerticalHero.js +18 -17
- package/dist/cjs/VideoSeriesCard.js +35 -33
- package/dist/cjs/VideoSeriesFilter.js +20 -19
- package/dist/cjs/VideoSeriesListing.js +74 -72
- package/dist/cjs/View.js +227 -223
- package/dist/cjs/YahooHero.js +41 -39
- package/dist/cjs/YoutubeGroup.js +70 -68
- package/dist/cjs/{_to-object-329a650b.js → _export-7e018e14.js} +2 -146
- package/dist/cjs/{_is-array-754e012d.js → _is-array-4c61cfba.js} +13 -12
- package/dist/cjs/{_iter-detect-60b2f026.js → _iter-detect-2a826637.js} +4 -4
- package/dist/cjs/_object-sap-4ac28868.js +16 -0
- package/dist/cjs/{_set-species-f92c67c5.js → _set-species-d088ff6e.js} +10 -9
- package/dist/cjs/_to-object-233fc5c9.js +149 -0
- package/dist/cjs/{asyncToGenerator-533d476a.js → asyncToGenerator-7ca8f87e.js} +58 -57
- package/dist/cjs/{brightcove-react-player-loader.es-156bd4d6.js → brightcove-react-player-loader.es-a195642e.js} +11 -9
- package/dist/cjs/{core.get-iterator-method-f62321d4.js → core.get-iterator-method-14f49e03.js} +4 -3
- package/dist/cjs/{define-property-f4d12f4e.js → define-property-fd46a81e.js} +3 -3
- package/dist/cjs/{defineProperty-55548b25.js → defineProperty-edc12c5a.js} +1 -1
- package/dist/cjs/{entities-310b46ee.js → entities-3f9d0f2f.js} +1 -1
- package/dist/cjs/{es6.string.iterator-cc0bbaa4.js → es6.string.iterator-a390d61f.js} +18 -17
- package/dist/cjs/{extends-60837c34.js → extends-0a166456.js} +6 -5
- package/dist/cjs/getRelatedArticle.js +425 -13
- package/dist/cjs/getSerializers.js +42 -41
- package/dist/cjs/getSeriesDetail.js +1 -1
- package/dist/cjs/{getTargeting-fee8c429.js → getTargeting-57edbc60.js} +11 -11
- package/dist/cjs/getTargeting.js +8 -7
- package/dist/cjs/iconBase-68959171.js +0 -3
- package/dist/cjs/{index-58dae365.js → index-0e3597c2.js} +440 -429
- package/dist/cjs/{index-099d45ae.js → index-5ad2b070.js} +16 -17
- package/dist/cjs/{index-da796b8c.js → index-80f57cff.js} +17 -15
- package/dist/cjs/index-bd6c9f56.js +211 -0
- package/dist/cjs/{index-3294d3bc.js → index-cb6ed1fc.js} +17 -18
- package/dist/cjs/{index-39beccb3.js → index-d48b231c.js} +29 -24
- package/dist/cjs/{index.es-9110add6.js → index.es-f3e47207.js} +31 -12
- package/dist/cjs/{index.esm-ff47db6f.js → index.esm-05850a2f.js} +5 -12
- package/dist/cjs/{index.esm-66ffa47a.js → index.esm-3b9b8952.js} +4 -9
- package/dist/cjs/{index.esm-4d410430.js → index.esm-8123cf40.js} +20 -20
- package/dist/cjs/{index.esm-90433435.js → index.esm-974f47d9.js} +6 -15
- package/dist/cjs/index.js +9 -260
- package/dist/cjs/{inherits-513d81cd.js → inherits-a9209207.js} +16 -15
- package/dist/cjs/{keys-a586b7a0.js → keys-d2f5bcf0.js} +4 -3
- package/dist/cjs/{lodash-7fd85bcf.js → lodash-4ef21f0f.js} +1 -1
- package/dist/cjs/{main-03ffa84c.js → main-eeffe77b.js} +116 -80
- package/dist/cjs/{moment-575fe24c.js → moment-aca40de1.js} +11 -9
- package/dist/cjs/{react-social-icons-f7f48f71.js → react-social-icons-af932527.js} +28 -27
- package/dist/cjs/{slicedToArray-8f385299.js → slicedToArray-60dafa9c.js} +7 -7
- package/dist/cjs/{smoothscroll-95231a70.js → smoothscroll-1abb448e.js} +1 -1
- package/dist/cjs/{stringify-7c5aff47.js → stringify-44244c64.js} +2 -2
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-9a3476fe.js → toConsumableArray-4bb00640.js} +9 -8
- package/dist/cjs/{typeof-725500bc.js → typeof-03c3fdc8.js} +50 -49
- package/dist/cjs/urlFor.js +2 -2
- package/dist/cjs/{util-f2c1b65b.js → util-6f784d85.js} +1 -1
- package/dist/cjs/{visibility-sensor-0c45a583.js → visibility-sensor-8b54af99.js} +7 -5
- package/dist/cjs/{web.dom.iterable-a0e279c1.js → web.dom.iterable-2d47ebe6.js} +6 -5
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +23 -22
- package/dist/esm/AD300x250x600.js +23 -22
- package/dist/esm/AD728x90.js +26 -25
- package/dist/esm/ADFloatingFooter.js +28 -27
- package/dist/esm/ADFooter.js +12 -11
- package/dist/esm/ADGutter.js +25 -24
- package/dist/esm/{ADInfeed-7b1b2fcb.js → ADInfeed-bf7de12d.js} +7 -7
- package/dist/esm/ADSkyscraper.js +25 -24
- package/dist/esm/ADSponsoredResources.js +25 -24
- package/dist/esm/ADWebcast.js +25 -24
- package/dist/esm/ADWelcome.js +29 -28
- package/dist/esm/{ADlgInfeed-2afe92e6.js → ADlgInfeed-3ac04591.js} +6 -6
- package/dist/esm/AccordionPanel.js +25 -24
- package/dist/esm/AdSlot.js +24 -23
- package/dist/esm/AdSlotsProvider.js +4 -4
- package/dist/esm/AlphabeticList.js +23 -22
- package/dist/esm/ArticleCarousel.js +19 -18
- package/dist/esm/ArticleSeriesListing.js +53 -52
- package/dist/esm/Auth.js +798 -515
- package/dist/esm/{AuthorComponent-00f13201.js → AuthorComponent-22790017.js} +11 -11
- package/dist/esm/Beam.js +10 -9
- package/dist/esm/{BlockContent-c409aca5.js → BlockContent-d8cd739c.js} +4 -4
- package/dist/esm/Breadcrumbs.js +18 -17
- package/dist/esm/BrowseVideosListing.js +37 -36
- package/dist/esm/CMEDeck.js +76 -75
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +27 -26
- package/dist/esm/Column3.js +50 -49
- package/dist/esm/ConferenceArticleCard.js +33 -33
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/DeckContent.js +85 -84
- package/dist/esm/DeckQueue.js +65 -64
- package/dist/esm/{Dfp-741c01be.js → Dfp-08279047.js} +21 -20
- package/dist/esm/EventsDeck.js +101 -100
- package/dist/esm/ExternalResources.js +70 -69
- package/dist/esm/Feature.js +18 -18
- package/dist/esm/ForbesHero.js +35 -34
- package/dist/esm/GridContent.js +140 -139
- package/dist/esm/GridHero.js +37 -36
- package/dist/esm/GroupDeck.js +46 -45
- package/dist/esm/HamMagazine.js +114 -113
- package/dist/esm/Header.js +7 -7
- package/dist/esm/Hero.js +9 -9
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalHero.js +21 -21
- package/dist/esm/IssueContentDeck.js +50 -49
- package/dist/esm/IssueDeck.js +47 -46
- package/dist/esm/IssueLanding.js +68 -67
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +34 -33
- package/dist/esm/MasterDeck.js +74 -73
- package/dist/esm/NavDvm.js +58 -57
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +125 -124
- package/dist/esm/NavNative.js +101 -100
- package/dist/esm/NavNormal.js +37 -36
- package/dist/esm/OncliveHero.js +16 -17
- package/dist/esm/OncliveLargeHero.js +60 -59
- package/dist/esm/PageFilter.js +13 -12
- package/dist/esm/PartnerDetailListing.js +105 -1300
- package/dist/esm/PdfDownload.js +6 -6
- package/dist/esm/PopUpModal.js +15 -14
- package/dist/esm/PublicationDeck.js +38 -38
- package/dist/esm/PublicationLanding.js +76 -75
- package/dist/esm/QueueDeckExpanded.js +274 -273
- package/dist/esm/RecentNews.js +20 -20
- package/dist/esm/RelatedContent.js +47 -47
- package/dist/esm/RelatedTopicsDropdown.js +21 -21
- package/dist/esm/RolesDeck.js +13 -13
- package/dist/esm/Search.js +13 -12
- package/dist/esm/Segment.js +8 -7
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +34 -33
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-677ed3bd.js → SocialSearchComponent-46ea0f4d.js} +28 -28
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +42 -41
- package/dist/esm/TemplateNormal.js +68 -67
- package/dist/esm/ThumbnailCard.js +13 -13
- package/dist/esm/Ustream.js +24 -23
- package/dist/esm/VerticalHero.js +13 -13
- package/dist/esm/VideoSeriesCard.js +26 -25
- package/dist/esm/VideoSeriesFilter.js +17 -16
- package/dist/esm/VideoSeriesListing.js +67 -66
- package/dist/esm/View.js +215 -215
- package/dist/esm/YahooHero.js +35 -34
- package/dist/esm/YoutubeGroup.js +54 -53
- package/dist/esm/{_to-object-ded78eb9.js → _export-9029ebab.js} +3 -134
- package/dist/esm/{_is-array-49698029.js → _is-array-46713c19.js} +7 -6
- package/dist/esm/{_iter-detect-59409a32.js → _iter-detect-60cd145f.js} +2 -2
- package/dist/esm/{_object-pie-71ac75a4.js → _object-pie-33c40e79.js} +1 -1
- package/dist/esm/{_object-sap-4d59d5bd.js → _object-sap-108a1939.js} +1 -1
- package/dist/esm/{_set-species-cede29f8.js → _set-species-a4b3fe39.js} +6 -5
- package/dist/esm/_to-object-62924b74.js +135 -0
- package/dist/esm/{asyncToGenerator-7c654f36.js → asyncToGenerator-7714cea4.js} +10 -9
- package/dist/esm/{brightcove-react-player-loader.es-83f53e4e.js → brightcove-react-player-loader.es-b43c695a.js} +7 -6
- package/dist/esm/{core.get-iterator-method-54d2e411.js → core.get-iterator-method-6636b3ef.js} +3 -2
- package/dist/esm/{define-property-de3fc946.js → define-property-f2d6f244.js} +1 -1
- package/dist/esm/{defineProperty-b798470d.js → defineProperty-69f06029.js} +1 -1
- package/dist/esm/{entities-7cc3bf45.js → entities-932b50cf.js} +1 -1
- package/dist/esm/{es6.string.iterator-9b2af4a5.js → es6.string.iterator-2efae22d.js} +4 -3
- package/dist/esm/{extends-cc5da797.js → extends-f866c8d0.js} +3 -2
- package/dist/esm/getRelatedArticle.js +425 -13
- package/dist/esm/getSerializers.js +42 -41
- package/dist/esm/getSeriesDetail.js +1 -1
- package/dist/esm/{getTargeting-2acdec91.js → getTargeting-5cdca4e1.js} +11 -11
- package/dist/esm/getTargeting.js +9 -8
- package/dist/esm/{index-3849e3fe.js → index-3f5c03b2.js} +29 -24
- package/dist/esm/{index-7779a6df.js → index-5db919a6.js} +384 -380
- package/dist/esm/{index-3f4dd6f2.js → index-669ff425.js} +10 -12
- package/dist/esm/{index-ef6d5dcf.js → index-750a7380.js} +17 -18
- package/dist/esm/{index-5f9f807a.js → index-752d1dae.js} +10 -10
- package/dist/esm/index-db3bb315.js +207 -0
- package/dist/esm/{index.es-29c1cef5.js → index.es-c6222053.js} +28 -10
- package/dist/esm/{index.esm-29e48d38.js → index.esm-57f377a5.js} +7 -16
- package/dist/esm/{index.esm-fd746768.js → index.esm-8016b507.js} +17 -18
- package/dist/esm/{index.esm-cf08bf18.js → index.esm-a8ff922c.js} +5 -12
- package/dist/esm/{index.esm-b08f4b04.js → index.esm-d6f88d94.js} +4 -9
- package/dist/esm/index.js +11 -172
- package/dist/esm/{inherits-7ee3e0c1.js → inherits-75d6495f.js} +6 -5
- package/dist/esm/{keys-fc2d4c34.js → keys-78217618.js} +3 -2
- package/dist/esm/{lodash-ec8c6b48.js → lodash-ad27652f.js} +1 -1
- package/dist/esm/{main-35ff7b4f.js → main-decc48f4.js} +113 -78
- package/dist/esm/{moment-e2f9b20c.js → moment-bc12cb97.js} +11 -9
- package/dist/esm/{react-social-icons-a7d5c5c7.js → react-social-icons-91f9716f.js} +20 -20
- package/dist/esm/{slicedToArray-7021e5df.js → slicedToArray-fa9240c4.js} +4 -4
- package/dist/esm/{smoothscroll-4b699764.js → smoothscroll-ab6e0238.js} +1 -1
- package/dist/esm/{stringify-008c8802.js → stringify-22907f56.js} +1 -1
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-725434a0.js → toConsumableArray-bd01c637.js} +5 -4
- package/dist/esm/{typeof-08f2c380.js → typeof-668f30cd.js} +9 -8
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/{util-7700fc59.js → util-3ab476bf.js} +1 -1
- package/dist/esm/{visibility-sensor-0baa4eea.js → visibility-sensor-082c757b.js} +2 -2
- package/dist/esm/{web.dom.iterable-8956f9a5.js → web.dom.iterable-89515070.js} +4 -3
- package/package.json +105 -105
- package/dist/cjs/ConferenceBanner-4a16fddc.js +0 -23
- package/dist/cjs/_object-sap-5e74ba08.js +0 -16
package/dist/esm/PdfDownload.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { b as MdPictureAsPdf } from './index.esm-d6f88d94.js';
|
|
2
|
+
import React from 'react';
|
|
2
3
|
import './iconBase-602d52fe.js';
|
|
3
|
-
import { b as MdPictureAsPdf } from './index.esm-b08f4b04.js';
|
|
4
4
|
|
|
5
5
|
var PdfDownload = function PdfDownload(props) {
|
|
6
|
-
return
|
|
6
|
+
return React.createElement(
|
|
7
7
|
'div',
|
|
8
8
|
{ className: 'pdf-download', style: { textAlign: 'center', padding: '1rem 0', borderTop: '1px solid #eee', marginTop: '1rem' } },
|
|
9
|
-
|
|
9
|
+
React.createElement(
|
|
10
10
|
'a',
|
|
11
11
|
{ rel: 'noopener', href: props.issueInfo.asset.url, target: '_blank' },
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
React.createElement(MdPictureAsPdf, { style: { fontSize: '65px', color: '#ff0000' } }),
|
|
13
|
+
React.createElement(
|
|
14
14
|
'span',
|
|
15
15
|
null,
|
|
16
16
|
'Click to download this publication issue.'
|
package/dist/esm/PopUpModal.js
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import './
|
|
2
|
-
import '
|
|
3
|
-
import './es6.string.iterator-9b2af4a5.js';
|
|
4
|
-
import './core.get-iterator-method-54d2e411.js';
|
|
5
|
-
import './web.dom.iterable-8956f9a5.js';
|
|
6
|
-
import React__default, { useState } from 'react';
|
|
7
|
-
import { _ as _slicedToArray } from './slicedToArray-7021e5df.js';
|
|
1
|
+
import { _ as _slicedToArray } from './slicedToArray-fa9240c4.js';
|
|
2
|
+
import React, { useState } from 'react';
|
|
8
3
|
import Modal from 'react-bootstrap/Modal';
|
|
4
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
5
|
+
import './web.dom.iterable-89515070.js';
|
|
6
|
+
import './es6.string.iterator-2efae22d.js';
|
|
7
|
+
import './_to-object-62924b74.js';
|
|
8
|
+
import './_export-9029ebab.js';
|
|
9
|
+
import './core.get-iterator-method-6636b3ef.js';
|
|
9
10
|
|
|
10
11
|
var PopUpModal = function PopUpModal(props) {
|
|
11
12
|
var _ref = props.ModalImage ? useState(true) : useState(false),
|
|
@@ -18,22 +19,22 @@ var PopUpModal = function PopUpModal(props) {
|
|
|
18
19
|
setShow(false);
|
|
19
20
|
};
|
|
20
21
|
|
|
21
|
-
return
|
|
22
|
+
return React.createElement(
|
|
22
23
|
Modal,
|
|
23
24
|
{ show: show, onHide: function onHide() {
|
|
24
25
|
return setShow(false);
|
|
25
26
|
}, 'aria-labelledby': 'Popup-Modal' },
|
|
26
|
-
|
|
27
|
-
|
|
27
|
+
React.createElement(Modal.Title, null),
|
|
28
|
+
React.createElement(
|
|
28
29
|
Modal.Body,
|
|
29
30
|
null,
|
|
30
|
-
|
|
31
|
+
React.createElement(
|
|
31
32
|
'div',
|
|
32
33
|
{ className: 'modalImageHolder' },
|
|
33
|
-
|
|
34
|
+
React.createElement('img', { className: 'modalImage', src: props.ModalImage, onClick: function onClick() {
|
|
34
35
|
return launchModalButton();
|
|
35
36
|
} }),
|
|
36
|
-
|
|
37
|
+
React.createElement(
|
|
37
38
|
'div',
|
|
38
39
|
{ className: 'modalClose', onClick: function onClick() {
|
|
39
40
|
return setShow(false);
|
|
@@ -42,7 +43,7 @@ var PopUpModal = function PopUpModal(props) {
|
|
|
42
43
|
)
|
|
43
44
|
)
|
|
44
45
|
),
|
|
45
|
-
|
|
46
|
+
React.createElement(
|
|
46
47
|
'style',
|
|
47
48
|
{ jsx: 'true' },
|
|
48
49
|
'\n .modalImageHolder {\n display: flex;\n justify-content: center;\n }\n .modalClose {\n display: flex;\n justify-content: center;\n width: 25px;\n height: 25px;\n font-size: 1.25rem;\n color: #fff;\n cursor: pointer;\n }\n .modalImage {\n cursor: pointer;\n }\n '
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import '
|
|
2
|
-
import React__default from 'react';
|
|
3
|
-
import 'prop-types';
|
|
1
|
+
import React from 'react';
|
|
4
2
|
import Row from 'react-bootstrap/Row';
|
|
5
3
|
import Col from 'react-bootstrap/Col';
|
|
4
|
+
import Button from 'react-bootstrap/Button';
|
|
6
5
|
import Card from 'react-bootstrap/Card';
|
|
6
|
+
import { L as LazyLoad } from './index-752d1dae.js';
|
|
7
|
+
import { i as imageUrlBuilder } from './index-3f5c03b2.js';
|
|
8
|
+
import { l as lodash } from './lodash-ad27652f.js';
|
|
9
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
7
10
|
import 'react-dom';
|
|
8
|
-
import
|
|
9
|
-
import { L as LazyLoad } from './index-5f9f807a.js';
|
|
10
|
-
import { l as lodash } from './lodash-ec8c6b48.js';
|
|
11
|
-
import Button from 'react-bootstrap/Button';
|
|
11
|
+
import 'prop-types';
|
|
12
12
|
|
|
13
13
|
var PublicationDeck = function PublicationDeck(props) {
|
|
14
14
|
var data = props.data,
|
|
@@ -50,43 +50,43 @@ var PublicationDeck = function PublicationDeck(props) {
|
|
|
50
50
|
};
|
|
51
51
|
|
|
52
52
|
if (sortedRegPubs && sortedRegPubs.length || sortedLegacyPubs && sortedLegacyPubs.length) {
|
|
53
|
-
return
|
|
53
|
+
return React.createElement(
|
|
54
54
|
'div',
|
|
55
55
|
{ className: 'publication-wrapper', style: { paddingBottom: '150px' } },
|
|
56
|
-
sortedRegPubs && sortedRegPubs.length > 0 &&
|
|
56
|
+
sortedRegPubs && sortedRegPubs.length > 0 && React.createElement(
|
|
57
57
|
Row,
|
|
58
58
|
{ className: 'regular-publication-wrapper' },
|
|
59
59
|
sortedRegPubs.map(function (row, index) {
|
|
60
|
-
return row.identifier && row.identifier.current &&
|
|
60
|
+
return row.identifier && row.identifier.current && React.createElement(
|
|
61
61
|
Col,
|
|
62
62
|
{ xs: 6, sm: 6, md: 6, lg: 4, style: { display: 'flex', flex: '1 0 auto' }, key: index },
|
|
63
|
-
|
|
63
|
+
React.createElement(
|
|
64
64
|
Card,
|
|
65
65
|
{ className: 'block-card', style: { width: '200px' } },
|
|
66
|
-
|
|
66
|
+
React.createElement(
|
|
67
67
|
'a',
|
|
68
68
|
{ href: href + '/' + row.identifier.current },
|
|
69
|
-
row.childIssue && row.childIssue.thumbnail ?
|
|
69
|
+
row.childIssue && row.childIssue.thumbnail ? React.createElement(
|
|
70
70
|
LazyLoad,
|
|
71
71
|
{ height: imageHeight },
|
|
72
|
-
|
|
73
|
-
) :
|
|
74
|
-
|
|
72
|
+
React.createElement(Card.Img, { variant: 'top', src: renderCardImage(row.childIssue.thumbnail), style: { objectFit: 'contain', maxHeight: '200px', maxWidth: '200px' } })
|
|
73
|
+
) : React.createElement('p', { className: 'placeholder-tag' }),
|
|
74
|
+
React.createElement(
|
|
75
75
|
Card.Body,
|
|
76
76
|
{ style: { paddingTop: '0', paddingBottom: '2.75rem' } },
|
|
77
|
-
|
|
77
|
+
React.createElement(
|
|
78
78
|
Card.Title,
|
|
79
79
|
null,
|
|
80
80
|
row.name
|
|
81
81
|
),
|
|
82
|
-
|
|
82
|
+
React.createElement(
|
|
83
83
|
Button,
|
|
84
84
|
{ style: { position: 'absolute', bottom: '1rem', margin: '0px', width: '78%' }, variant: 'secondary' },
|
|
85
85
|
'Browse Issues'
|
|
86
86
|
)
|
|
87
87
|
)
|
|
88
88
|
),
|
|
89
|
-
|
|
89
|
+
React.createElement(
|
|
90
90
|
'style',
|
|
91
91
|
{ jsx: 'true' },
|
|
92
92
|
'\n .lazyload-placeholder {\n padding: 0 1.25rem 2.75rem;\n }\n .placeholder-tag {\n min-height: 200px;\n }\n '
|
|
@@ -95,53 +95,53 @@ var PublicationDeck = function PublicationDeck(props) {
|
|
|
95
95
|
);
|
|
96
96
|
})
|
|
97
97
|
),
|
|
98
|
-
sortedLegacyPubs && sortedLegacyPubs.length > 0 &&
|
|
99
|
-
|
|
98
|
+
sortedLegacyPubs && sortedLegacyPubs.length > 0 && React.createElement(
|
|
99
|
+
React.Fragment,
|
|
100
100
|
null,
|
|
101
|
-
|
|
101
|
+
React.createElement(
|
|
102
102
|
'div',
|
|
103
103
|
{ className: 'legacy-publication-title' },
|
|
104
|
-
|
|
104
|
+
React.createElement(
|
|
105
105
|
'h2',
|
|
106
106
|
null,
|
|
107
107
|
'Legacy'
|
|
108
108
|
),
|
|
109
|
-
|
|
109
|
+
React.createElement('hr', null)
|
|
110
110
|
),
|
|
111
|
-
|
|
111
|
+
React.createElement(
|
|
112
112
|
Row,
|
|
113
113
|
{ className: 'legacy-publication-wrapper' },
|
|
114
114
|
sortedLegacyPubs.map(function (row, index) {
|
|
115
|
-
return row.identifier && row.identifier.current &&
|
|
115
|
+
return row.identifier && row.identifier.current && React.createElement(
|
|
116
116
|
Col,
|
|
117
117
|
{ xs: 6, sm: 6, md: 6, lg: 4, style: { display: 'flex', flex: '1 0 auto' }, key: index },
|
|
118
|
-
|
|
118
|
+
React.createElement(
|
|
119
119
|
Card,
|
|
120
120
|
{ className: 'block-card', style: { width: '200px' } },
|
|
121
|
-
|
|
121
|
+
React.createElement(
|
|
122
122
|
'a',
|
|
123
123
|
{ href: href + '/' + row.identifier.current },
|
|
124
|
-
row.childIssue && row.childIssue.thumbnail ?
|
|
124
|
+
row.childIssue && row.childIssue.thumbnail ? React.createElement(
|
|
125
125
|
LazyLoad,
|
|
126
126
|
{ height: imageHeight },
|
|
127
|
-
|
|
128
|
-
) :
|
|
129
|
-
|
|
127
|
+
React.createElement(Card.Img, { variant: 'top', src: renderCardImage(row.childIssue.thumbnail), style: { objectFit: 'contain', maxHeight: '200px', maxWidth: '200px' } })
|
|
128
|
+
) : React.createElement('p', { className: 'placeholder-tag' }),
|
|
129
|
+
React.createElement(
|
|
130
130
|
Card.Body,
|
|
131
131
|
{ style: { paddingTop: '0', paddingBottom: '2.75rem' } },
|
|
132
|
-
|
|
132
|
+
React.createElement(
|
|
133
133
|
Card.Title,
|
|
134
134
|
null,
|
|
135
135
|
row.name
|
|
136
136
|
),
|
|
137
|
-
|
|
137
|
+
React.createElement(
|
|
138
138
|
Button,
|
|
139
139
|
{ style: { position: 'absolute', bottom: '1rem', margin: '0px', width: '78%' }, variant: 'secondary' },
|
|
140
140
|
'Browse Issues'
|
|
141
141
|
)
|
|
142
142
|
)
|
|
143
143
|
),
|
|
144
|
-
|
|
144
|
+
React.createElement(
|
|
145
145
|
'style',
|
|
146
146
|
{ jsx: 'true' },
|
|
147
147
|
'\n .lazyload-placeholder {\n padding: 0 1.25rem 2.75rem;\n }\n .placeholder-tag {\n min-height: 200px;\n }\n '
|
|
@@ -153,13 +153,13 @@ var PublicationDeck = function PublicationDeck(props) {
|
|
|
153
153
|
)
|
|
154
154
|
);
|
|
155
155
|
} else {
|
|
156
|
-
return
|
|
156
|
+
return React.createElement(
|
|
157
157
|
'div',
|
|
158
158
|
null,
|
|
159
|
-
|
|
159
|
+
React.createElement(
|
|
160
160
|
'h5',
|
|
161
161
|
null,
|
|
162
|
-
|
|
162
|
+
React.createElement(
|
|
163
163
|
'em',
|
|
164
164
|
{ className: 'pl-3' },
|
|
165
165
|
'New content coming soon, please check back later.'
|
|
@@ -1,22 +1,23 @@
|
|
|
1
|
+
import { _ as _slicedToArray } from './slicedToArray-fa9240c4.js';
|
|
1
2
|
import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import {
|
|
3
|
-
import { _ as
|
|
4
|
-
import './
|
|
5
|
-
import { _ as
|
|
6
|
-
import { _ as
|
|
7
|
-
import { _ as
|
|
8
|
-
import { _ as
|
|
9
|
-
import
|
|
10
|
-
import '
|
|
3
|
+
import { a as _objectCreate, g as _iterDefine, b as _wks, d as _setToStringTag } from './es6.string.iterator-2efae22d.js';
|
|
4
|
+
import { _ as _iterStep } from './web.dom.iterable-89515070.js';
|
|
5
|
+
import { h as _isObject, e as _ctx, b as _descriptors, a as _objectDp, l as _global, f as _fails, m as _hide, _ as _export, o as _aFunction, c as _core } from './_export-9029ebab.js';
|
|
6
|
+
import { _ as _anInstance, c as _forOf, a as _redefineAll, b as _setSpecies } from './_set-species-a4b3fe39.js';
|
|
7
|
+
import { _ as _meta, a as _isArray } from './_is-array-46713c19.js';
|
|
8
|
+
import { _ as _toObject, b as _iobject, a as _toLength } from './_to-object-62924b74.js';
|
|
9
|
+
import { _ as _classof } from './core.get-iterator-method-6636b3ef.js';
|
|
10
|
+
import { _ as _toConsumableArray } from './toConsumableArray-bd01c637.js';
|
|
11
|
+
import React, { useState, useEffect } from 'react';
|
|
11
12
|
import Row from 'react-bootstrap/Row';
|
|
12
13
|
import Col from 'react-bootstrap/Col';
|
|
14
|
+
import Dropdown from 'react-bootstrap/Dropdown';
|
|
13
15
|
import Card from 'react-bootstrap/Card';
|
|
14
16
|
import { useRouter } from 'next/router';
|
|
17
|
+
import { L as LazyLoad } from './index-752d1dae.js';
|
|
18
|
+
import './_iter-detect-60cd145f.js';
|
|
15
19
|
import 'react-dom';
|
|
16
|
-
import
|
|
17
|
-
import { _ as _slicedToArray } from './slicedToArray-7021e5df.js';
|
|
18
|
-
import { _ as _anInstance, a as _forOf, b as _redefineAll, c as _setSpecies } from './_set-species-cede29f8.js';
|
|
19
|
-
import Dropdown from 'react-bootstrap/Dropdown';
|
|
20
|
+
import 'prop-types';
|
|
20
21
|
|
|
21
22
|
var _validateCollection = function (it, TYPE) {
|
|
22
23
|
if (!_isObject(it) || it._t !== TYPE) throw TypeError('Incompatible receiver, ' + TYPE + ' required!');
|
|
@@ -286,7 +287,7 @@ var _collection = function (NAME, wrapper, methods, common, IS_MAP, IS_WEAK) {
|
|
|
286
287
|
var SET = 'Set';
|
|
287
288
|
|
|
288
289
|
// 23.2 Set Objects
|
|
289
|
-
|
|
290
|
+
_collection(SET, function (get) {
|
|
290
291
|
return function Set() { return get(this, arguments.length > 0 ? arguments[0] : undefined); };
|
|
291
292
|
}, {
|
|
292
293
|
// 23.2.3.1 Set.prototype.add(value)
|
|
@@ -370,46 +371,46 @@ module.exports = { "default": set, __esModule: true };
|
|
|
370
371
|
|
|
371
372
|
var _Set = unwrapExports(set$1);
|
|
372
373
|
|
|
373
|
-
/* usage & query
|
|
374
|
-
const Publication = (props) => {
|
|
375
|
-
const { cache, pub, year } = props
|
|
376
|
-
|
|
377
|
-
const targeting = {
|
|
378
|
-
content_placement: [`/journals/${pub.identifier.current}`],
|
|
379
|
-
document_url: [`/journals/${pub.identifier.current}`],
|
|
380
|
-
}
|
|
381
|
-
|
|
382
|
-
return (
|
|
383
|
-
<Shell title={pub.name} cache={cache} settings={Settings} targeting={targeting} ads={Ads} layout='3'>
|
|
384
|
-
<PublicationLanding publication={pub} year={year} href={'journals'} />
|
|
385
|
-
</Shell>
|
|
386
|
-
)
|
|
387
|
-
}
|
|
388
|
-
|
|
389
|
-
Publication.getInitialProps = async (ctx) => {
|
|
390
|
-
const { query } = ctx
|
|
391
|
-
const {
|
|
392
|
-
query: { year },
|
|
393
|
-
} = ctx
|
|
394
|
-
const pub = await client.fetch(getQuery('publication'), query)
|
|
395
|
-
const builder = imageUrlBuilder(client)
|
|
396
|
-
const urlFor = (source) => {
|
|
397
|
-
return builder.image(source)
|
|
398
|
-
}
|
|
399
|
-
pub.issues.map((issue) => {
|
|
400
|
-
issue.thumbnail = urlFor(issue.thumbnail).url()
|
|
401
|
-
})
|
|
402
|
-
return { pub, year }
|
|
403
|
-
}
|
|
404
|
-
|
|
405
|
-
export default Publication
|
|
374
|
+
/* usage & query
|
|
375
|
+
const Publication = (props) => {
|
|
376
|
+
const { cache, pub, year } = props
|
|
377
|
+
|
|
378
|
+
const targeting = {
|
|
379
|
+
content_placement: [`/journals/${pub.identifier.current}`],
|
|
380
|
+
document_url: [`/journals/${pub.identifier.current}`],
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
return (
|
|
384
|
+
<Shell title={pub.name} cache={cache} settings={Settings} targeting={targeting} ads={Ads} layout='3'>
|
|
385
|
+
<PublicationLanding publication={pub} year={year} href={'journals'} />
|
|
386
|
+
</Shell>
|
|
387
|
+
)
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
Publication.getInitialProps = async (ctx) => {
|
|
391
|
+
const { query } = ctx
|
|
392
|
+
const {
|
|
393
|
+
query: { year },
|
|
394
|
+
} = ctx
|
|
395
|
+
const pub = await client.fetch(getQuery('publication'), query)
|
|
396
|
+
const builder = imageUrlBuilder(client)
|
|
397
|
+
const urlFor = (source) => {
|
|
398
|
+
return builder.image(source)
|
|
399
|
+
}
|
|
400
|
+
pub.issues.map((issue) => {
|
|
401
|
+
issue.thumbnail = urlFor(issue.thumbnail).url()
|
|
402
|
+
})
|
|
403
|
+
return { pub, year }
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
export default Publication
|
|
406
407
|
*/
|
|
407
408
|
|
|
408
409
|
var PublicationLanding = function PublicationLanding(props) {
|
|
409
410
|
var publication = props.publication,
|
|
410
411
|
year = props.year,
|
|
411
|
-
href = props.href
|
|
412
|
-
|
|
412
|
+
href = props.href;
|
|
413
|
+
props.pdf;
|
|
413
414
|
|
|
414
415
|
|
|
415
416
|
var router = useRouter();
|
|
@@ -436,33 +437,33 @@ var PublicationLanding = function PublicationLanding(props) {
|
|
|
436
437
|
});
|
|
437
438
|
}, [activeYear]);
|
|
438
439
|
|
|
439
|
-
return
|
|
440
|
+
return React.createElement(
|
|
440
441
|
'div',
|
|
441
442
|
{ id: 'publicationLanding' },
|
|
442
|
-
|
|
443
|
+
React.createElement(
|
|
443
444
|
'style',
|
|
444
445
|
{ jsx: true },
|
|
445
446
|
'\n #pubYearFilter .dropdown-menu.show {\n max-height: 25vh;\n }\n '
|
|
446
447
|
),
|
|
447
|
-
|
|
448
|
+
React.createElement(
|
|
448
449
|
Row,
|
|
449
450
|
{ style: { marginBottom: '1rem' } },
|
|
450
|
-
|
|
451
|
+
React.createElement(
|
|
451
452
|
Col,
|
|
452
453
|
null,
|
|
453
|
-
|
|
454
|
+
React.createElement(
|
|
454
455
|
Dropdown,
|
|
455
456
|
{ id: 'pubYearFilter' },
|
|
456
|
-
|
|
457
|
+
React.createElement(
|
|
457
458
|
Dropdown.Toggle,
|
|
458
459
|
null,
|
|
459
460
|
activeYear
|
|
460
461
|
),
|
|
461
|
-
|
|
462
|
+
React.createElement(
|
|
462
463
|
Dropdown.Menu,
|
|
463
464
|
null,
|
|
464
465
|
years.map(function (yr, key) {
|
|
465
|
-
return
|
|
466
|
+
return React.createElement(
|
|
466
467
|
Dropdown.Item,
|
|
467
468
|
{ key: key, onClick: function onClick() {
|
|
468
469
|
return setActiveYear(yr);
|
|
@@ -475,56 +476,56 @@ var PublicationLanding = function PublicationLanding(props) {
|
|
|
475
476
|
)
|
|
476
477
|
),
|
|
477
478
|
issueData && issueData.length > 0 ? issueData.map(function (issue, key) {
|
|
478
|
-
return
|
|
479
|
+
return React.createElement(
|
|
479
480
|
Card,
|
|
480
481
|
{ key: key, className: 'issueCard' },
|
|
481
|
-
|
|
482
|
+
React.createElement(
|
|
482
483
|
Row,
|
|
483
484
|
null,
|
|
484
|
-
|
|
485
|
+
React.createElement(
|
|
485
486
|
Col,
|
|
486
487
|
{ md: 3, id: 'issueThumbnail' },
|
|
487
|
-
|
|
488
|
+
React.createElement(
|
|
488
489
|
LazyLoad,
|
|
489
490
|
{ once: true },
|
|
490
|
-
|
|
491
|
+
React.createElement(Card.Img, { src: issue.thumbnail })
|
|
491
492
|
)
|
|
492
493
|
),
|
|
493
|
-
|
|
494
|
+
React.createElement(
|
|
494
495
|
Col,
|
|
495
496
|
{ md: 9, id: 'issueDetail' },
|
|
496
|
-
|
|
497
|
+
React.createElement(
|
|
497
498
|
Card.Body,
|
|
498
499
|
null,
|
|
499
|
-
|
|
500
|
+
React.createElement(
|
|
500
501
|
Card.Title,
|
|
501
502
|
null,
|
|
502
503
|
issue.name
|
|
503
504
|
),
|
|
504
|
-
issue.source &&
|
|
505
|
+
issue.source && React.createElement(
|
|
505
506
|
'div',
|
|
506
507
|
{ className: 'content-category-label' },
|
|
507
|
-
|
|
508
|
+
React.createElement(
|
|
508
509
|
'div',
|
|
509
510
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
510
511
|
issue.source
|
|
511
512
|
)
|
|
512
513
|
),
|
|
513
|
-
issue.volume && issue.number &&
|
|
514
|
+
issue.volume && issue.number && React.createElement(
|
|
514
515
|
'p',
|
|
515
516
|
null,
|
|
516
517
|
'Volume: ',
|
|
517
518
|
issue.volume,
|
|
518
|
-
|
|
519
|
+
React.createElement('br', null),
|
|
519
520
|
'Issue: ',
|
|
520
521
|
issue.number
|
|
521
522
|
),
|
|
522
|
-
|
|
523
|
+
React.createElement(
|
|
523
524
|
'a',
|
|
524
525
|
{ href: publication.identifier.current + '/' + issue.identifier.current, className: 'btn btn-primary', style: { marginTop: '20px', marginLeft: '1rem' } },
|
|
525
526
|
'View Issue'
|
|
526
527
|
),
|
|
527
|
-
issue.pdf && issue.pdf.asset && issue.pdf.asset.url &&
|
|
528
|
+
issue.pdf && issue.pdf.asset && issue.pdf.asset.url && React.createElement(
|
|
528
529
|
'a',
|
|
529
530
|
{ rel: 'noopener', href: issue.pdf.asset.url, target: '_blank', className: 'btn btn-primary', style: { marginTop: '20px', marginLeft: '1rem' } },
|
|
530
531
|
'Download Issue'
|
|
@@ -533,20 +534,20 @@ var PublicationLanding = function PublicationLanding(props) {
|
|
|
533
534
|
)
|
|
534
535
|
)
|
|
535
536
|
);
|
|
536
|
-
}) :
|
|
537
|
+
}) : React.createElement(
|
|
537
538
|
'div',
|
|
538
539
|
null,
|
|
539
|
-
|
|
540
|
+
React.createElement(
|
|
540
541
|
'h5',
|
|
541
542
|
null,
|
|
542
|
-
|
|
543
|
+
React.createElement(
|
|
543
544
|
'em',
|
|
544
545
|
{ className: 'pl-3' },
|
|
545
546
|
'New content coming soon, please check back later.'
|
|
546
547
|
)
|
|
547
548
|
)
|
|
548
549
|
),
|
|
549
|
-
|
|
550
|
+
React.createElement(
|
|
550
551
|
'style',
|
|
551
552
|
{ jsx: 'true' },
|
|
552
553
|
'\n .issueCard.card:hover {\n cursor: default;\n }\n .content-category-label {\n margin: 0.5rem 0;\n display: block;\n }\n .sanityDisplayLabel {\n margin: 0.5rem 0;\n border: 1px solid black;\n display: inline;\n width: 100%;\n padding: 5px;\n color: #484848;\n border-radius: 2px;\n }\n '
|