@mjhls/mjh-framework 1.0.921 → 1.0.923
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 +168 -168
- package/dist/cjs/AD.js +1 -1
- package/dist/cjs/AD300x250.js +21 -21
- package/dist/cjs/AD300x250x600.js +21 -21
- package/dist/cjs/AD728x90.js +24 -24
- package/dist/cjs/ADFloatingFooter.js +20 -20
- package/dist/cjs/ADFooter.js +4 -4
- package/dist/cjs/ADGutter.js +20 -20
- package/dist/cjs/{ADInfeed-51a39495.js → ADInfeed-a4d973da.js} +4 -4
- package/dist/cjs/ADSkyscraper.js +20 -20
- package/dist/cjs/ADSponsoredResources.js +20 -20
- package/dist/cjs/ADWebcast.js +20 -20
- package/dist/cjs/ADWelcome.js +17 -17
- package/dist/cjs/{ADlgInfeed-12db4509.js → ADlgInfeed-def2c25d.js} +4 -4
- package/dist/cjs/AccordionPanel.js +6 -6
- package/dist/cjs/AdSlot.js +19 -19
- package/dist/cjs/AdSlotsProvider.js +11 -11
- package/dist/cjs/AlgoliaSearch.js +18 -18
- package/dist/cjs/AlphabeticList.js +8 -8
- package/dist/cjs/ArticleCarousel.js +13 -13
- package/dist/cjs/ArticleProgramLandingPage.js +49 -48
- package/dist/cjs/ArticleSeriesLandingPage.js +29 -29
- package/dist/cjs/ArticleSeriesListing.js +30 -30
- package/dist/cjs/Auth.js +346 -482
- package/dist/cjs/AuthWrapper.js +9 -586
- package/dist/cjs/{AuthorComponent-39b37d84.js → AuthorComponent-17e1c62b.js} +1 -1
- package/dist/cjs/Beam.js +6 -6
- package/dist/cjs/{BlockContent-36e54d77.js → BlockContent-8b494587.js} +34 -34
- package/dist/cjs/Breadcrumbs.js +6 -6
- package/dist/cjs/CMEDeck.js +22 -22
- package/dist/cjs/Column2.js +14 -14
- package/dist/cjs/Column3.js +30 -30
- package/dist/cjs/ConferenceArticleCard.js +25 -25
- package/dist/cjs/ContentCardPaginated.js +37 -37
- package/dist/cjs/DeckContent.js +39 -39
- package/dist/cjs/DeckQueue.js +29 -29
- package/dist/cjs/DeckQueuePaginated.js +33 -33
- package/dist/cjs/{Dfp-94f8ccdf.js → Dfp-bcaa7e3f.js} +12 -12
- package/dist/cjs/EventsDeck.js +43 -43
- package/dist/cjs/ExternalResources.js +46 -45
- package/dist/cjs/Feature.js +7 -7
- package/dist/cjs/ForbesHero.js +10 -10
- package/dist/cjs/GridContent.js +45 -45
- package/dist/cjs/GridContentPaginated.js +46 -46
- package/dist/cjs/GridHero.js +11 -11
- package/dist/cjs/GroupDeck.js +12 -12
- package/dist/cjs/HamMagazine.js +36 -36
- package/dist/cjs/Hero.js +7 -7
- package/dist/cjs/HighlightenVideo.js +2 -2
- package/dist/cjs/HorizontalArticleListing.js +47 -46
- package/dist/cjs/HorizontalHero.js +8 -8
- package/dist/cjs/ImageSlider-10cd194f.js +1383 -0
- package/dist/cjs/IssueContentDeck.js +11 -11
- package/dist/cjs/IssueDeck.js +14 -14
- package/dist/cjs/IssueLanding.js +84 -83
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +19 -19
- package/dist/cjs/MasterDeck.js +38 -38
- package/dist/cjs/MasterDeckPaginated.js +41 -41
- package/dist/cjs/{MediaSeriesCard-d237146e.js → MediaSeriesCard-be3f9e36.js} +446 -646
- package/dist/cjs/MediaSeriesLanding.js +55 -54
- package/dist/cjs/MediaSeriesLandingPaginated.js +61 -60
- package/dist/cjs/NavDvm.js +11 -11
- package/dist/cjs/NavMagazine.js +39 -39
- package/dist/cjs/NavNative.js +39 -39
- package/dist/cjs/OncliveHero.js +7 -7
- package/dist/cjs/OncliveLargeHero.js +11 -11
- package/dist/cjs/PageFilter.js +4 -4
- package/dist/cjs/{Pagination-885dcfbd.js → Pagination-a2807e27.js} +3 -3
- package/dist/cjs/PartnerDetailListing.js +59 -59
- package/dist/cjs/PartnerDetailListingPaginated.js +59 -59
- package/dist/cjs/PdfDownload.js +2 -2
- package/dist/cjs/PopUpModal.js +4 -4
- package/dist/cjs/PubSection.js +32 -32
- package/dist/cjs/PubToc.js +6 -6
- package/dist/cjs/PublicationDeck.js +11 -11
- package/dist/cjs/{PublicationFeature-be5f3503.js → PublicationFeature-6f89fb97.js} +2 -2
- package/dist/cjs/PublicationLanding.js +54 -54
- package/dist/cjs/QueueDeckExpanded.js +35 -35
- package/dist/cjs/QueueDeckExpandedPaginated.js +38 -38
- package/dist/cjs/RecentNews.js +4 -4
- package/dist/cjs/RelatedContent.js +38 -38
- package/dist/cjs/RelatedTopicsDropdown.js +10 -10
- package/dist/cjs/Schema.js +10 -10
- package/dist/cjs/Search.js +6 -6
- package/dist/cjs/Segment.js +25 -8
- package/dist/cjs/SeriesListingDeck.js +17 -17
- package/dist/cjs/{SeriesSlider-f9128638.js → SeriesSlider-88e59074.js} +14 -14
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +15 -15
- package/dist/cjs/{SocialSearchComponent-b7faaedc.js → SocialSearchComponent-af6ddcc0.js} +11 -11
- package/dist/cjs/TaxonomyCard.js +12 -12
- package/dist/cjs/TaxonomyDescription.js +45 -44
- package/dist/cjs/TemplateNormal.js +45 -45
- package/dist/cjs/ThumbnailCard.js +10 -10
- package/dist/cjs/Ustream.js +21 -21
- package/dist/cjs/VerticalHero.js +6 -6
- package/dist/cjs/VideoProgramLandingPage.js +51 -50
- package/dist/cjs/VideoSeriesCard.js +14 -14
- package/dist/cjs/VideoSeriesFilter.js +7 -7
- package/dist/cjs/VideoSeriesLandingPage.js +35 -35
- package/dist/cjs/VideoSeriesListing.js +30 -30
- package/dist/cjs/View.js +94 -92
- package/dist/cjs/YahooHero.js +13 -13
- package/dist/cjs/YoutubeGroup.js +21 -21
- package/dist/cjs/{_is-array-54228b29.js → _is-array-aa52fa1e.js} +6 -6
- package/dist/cjs/{_iter-detect-b1df62f0.js → _iter-detect-05795553.js} +7 -7
- package/dist/cjs/{_object-pie-083f2dd6.js → _object-pie-68c5bcbc.js} +4 -4
- package/dist/cjs/{_object-sap-d1978572.js → _object-sap-171b9ea5.js} +1 -1
- package/dist/cjs/{_object-to-array-ce86cae7.js → _object-to-array-9bac8737.js} +2 -2
- package/dist/cjs/{asyncToGenerator-77821af0.js → asyncToGenerator-df19209d.js} +30 -30
- package/dist/cjs/{core.get-iterator-method-5643aa10.js → core.get-iterator-method-f3c44602.js} +35 -35
- package/dist/cjs/{debounce-d4a2369b.js → debounce-529c8d06.js} +2 -2
- package/dist/cjs/{define-property-e8404b64.js → define-property-21887c62.js} +6 -6
- package/dist/cjs/{defineProperty-9673846a.js → defineProperty-77a37684.js} +1 -1
- package/dist/cjs/{entities-3f9d0f2f.js → entities-310b46ee.js} +1 -1
- package/dist/cjs/{eq-5fc26c07.js → eq-bb2843ed.js} +1 -1
- package/dist/cjs/{extends-7c86182f.js → extends-7df78678.js} +7 -8
- package/dist/cjs/faundadb.js +5 -5
- package/dist/cjs/{get-5839e5b5.js → get-adbb11e3.js} +21 -21
- package/dist/cjs/getRelatedArticle.js +69 -133
- package/dist/cjs/getRootDocGroup.js +4 -4
- package/dist/cjs/getSerializers.js +45 -44
- package/dist/cjs/{getTargeting-dab97fe1.js → getTargeting-1359b868.js} +11 -11
- package/dist/cjs/getTargeting.js +6 -6
- package/dist/{esm/iconBase-ccc56b97.js → cjs/iconBase-68959171.js} +5 -2
- package/dist/cjs/{index-0e4427c8.js → index-44481153.js} +21 -40
- package/dist/cjs/{index-f86bb269.js → index-99edf08a.js} +45 -44
- package/dist/cjs/{index-eadd5035.js → index-9d365128.js} +7 -7
- package/dist/cjs/{index-efca863c.js → index-b5eb3ff8.js} +11 -16
- package/dist/cjs/{index-e6ba0197.js → index-faf269e6.js} +157 -407
- package/dist/cjs/{index.esm-2bb721c8.js → index.esm-3ffa049c.js} +2 -2
- package/dist/cjs/{index.esm-c1e16606.js → index.esm-44f3e2d0.js} +1 -1
- package/dist/cjs/{index.esm-d81454e7.js → index.esm-48e0f0d8.js} +1 -1
- package/dist/cjs/{index.esm-d51c9ac6.js → index.esm-f93506ac.js} +1 -1
- package/dist/cjs/index.js +143 -143
- package/dist/cjs/{inherits-de66ea16.js → inherits-420ee86f.js} +18 -21
- package/dist/cjs/{isSymbol-03abbdf0.js → isSymbol-04666465.js} +15 -15
- package/dist/cjs/{keys-e982b3fa.js → keys-d207942e.js} +6 -6
- package/dist/cjs/{lodash-f0783643.js → lodash-7fd85bcf.js} +10 -58
- package/dist/cjs/main-7b5e57b0.js +898 -0
- package/dist/cjs/{moment-aca40de1.js → moment-ca3bd9fb.js} +1 -1
- package/dist/cjs/{react-social-icons-af932527.js → react-social-icons-07939b41.js} +17 -17
- package/dist/cjs/{slicedToArray-067dd3bc.js → slicedToArray-f6d4eaa8.js} +12 -12
- package/dist/cjs/{smoothscroll-99df7f93.js → smoothscroll-5054361f.js} +1 -1
- package/dist/cjs/{stringify-f7a37a8d.js → stringify-bbc68047.js} +5 -5
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-d7797c2b.js → toConsumableArray-c9b8a0d0.js} +7 -7
- package/dist/cjs/{toNumber-5e1fac58.js → toNumber-36d1e7e5.js} +5 -40
- package/dist/cjs/{typeof-567e31ff.js → typeof-ec08d471.js} +34 -34
- package/dist/cjs/urlFor.js +4 -4
- package/dist/cjs/{urlForFile-29d3815a.js → urlForFile-ad96158c.js} +1 -1
- package/dist/cjs/{ustream-api-3819e4aa.js → ustream-api-9ebe112f.js} +4 -4
- package/dist/cjs/{util-6f784d85.js → util-f2c1b65b.js} +1 -1
- package/dist/cjs/{web.dom.iterable-d98303e0.js → web.dom.iterable-e34bf324.js} +2 -2
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +24 -24
- package/dist/esm/AD300x250x600.js +24 -24
- package/dist/esm/AD728x90.js +27 -27
- package/dist/esm/ADFloatingFooter.js +26 -26
- package/dist/esm/ADFooter.js +9 -9
- package/dist/esm/ADGutter.js +26 -26
- package/dist/esm/{ADInfeed-bba8b026.js → ADInfeed-7ba4f982.js} +9 -9
- package/dist/esm/ADSkyscraper.js +26 -26
- package/dist/esm/ADSponsoredResources.js +26 -26
- package/dist/esm/ADWebcast.js +26 -26
- package/dist/esm/ADWelcome.js +27 -27
- package/dist/esm/{ADlgInfeed-a45afa1d.js → ADlgInfeed-8eb5060f.js} +8 -8
- package/dist/esm/AccordionPanel.js +22 -22
- package/dist/esm/AdSlot.js +22 -22
- package/dist/esm/AdSlotsProvider.js +12 -12
- package/dist/esm/AlgoliaSearch.js +49 -49
- package/dist/esm/AlphabeticList.js +20 -20
- package/dist/esm/ArticleCarousel.js +16 -16
- package/dist/esm/ArticleProgramLandingPage.js +55 -54
- package/dist/esm/ArticleSeriesLandingPage.js +35 -35
- package/dist/esm/ArticleSeriesListing.js +54 -54
- package/dist/esm/Auth.js +416 -552
- package/dist/esm/AuthWrapper.js +27 -605
- package/dist/esm/{AuthorComponent-defe68b6.js → AuthorComponent-37ebc2bd.js} +11 -11
- package/dist/esm/Beam.js +6 -6
- package/dist/esm/{BlockContent-c99c9a8d.js → BlockContent-d05b5b23.js} +35 -35
- package/dist/esm/Breadcrumbs.js +15 -15
- package/dist/esm/CMEDeck.js +77 -77
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +25 -25
- package/dist/esm/Column3.js +49 -49
- package/dist/esm/ConferenceArticleCard.js +38 -38
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/ContentCardPaginated.js +72 -72
- package/dist/esm/DeckContent.js +84 -84
- package/dist/esm/DeckQueue.js +67 -67
- package/dist/esm/DeckQueuePaginated.js +63 -63
- package/dist/esm/{Dfp-4b99f79d.js → Dfp-23281963.js} +20 -20
- package/dist/esm/EventsDeck.js +103 -103
- package/dist/esm/ExternalResources.js +72 -71
- package/dist/esm/Feature.js +21 -21
- package/dist/esm/ForbesHero.js +33 -33
- package/dist/esm/GridContent.js +142 -142
- package/dist/esm/GridContentPaginated.js +133 -133
- package/dist/esm/GridHero.js +35 -35
- package/dist/esm/GroupDeck.js +45 -45
- package/dist/esm/HamMagazine.js +113 -113
- package/dist/esm/Header.js +8 -8
- package/dist/esm/Hero.js +13 -13
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalArticleListing.js +69 -68
- package/dist/esm/HorizontalHero.js +26 -26
- package/dist/esm/ImageSlider-522a2cd0.js +1375 -0
- package/dist/esm/IssueContentDeck.js +48 -48
- package/dist/esm/IssueDeck.js +45 -45
- package/dist/esm/IssueLanding.js +92 -91
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +32 -32
- package/dist/esm/MasterDeck.js +71 -71
- package/dist/esm/MasterDeckPaginated.js +63 -63
- package/dist/esm/{MediaSeriesCard-131f2659.js → MediaSeriesCard-b6034225.js} +707 -907
- package/dist/esm/MediaSeriesLanding.js +80 -79
- package/dist/esm/MediaSeriesLandingPaginated.js +84 -83
- package/dist/esm/NavDvm.js +54 -54
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +121 -121
- package/dist/esm/NavNative.js +110 -110
- package/dist/esm/OncliveHero.js +19 -19
- package/dist/esm/OncliveLargeHero.js +58 -58
- package/dist/esm/PageFilter.js +10 -10
- package/dist/esm/{Pagination-59436882.js → Pagination-185dfca0.js} +13 -13
- package/dist/esm/PartnerDetailListing.js +93 -93
- package/dist/esm/PartnerDetailListingPaginated.js +91 -91
- package/dist/esm/PdfDownload.js +7 -7
- package/dist/esm/PopUpModal.js +12 -12
- package/dist/esm/PubSection.js +37 -37
- package/dist/esm/PubToc.js +10 -10
- package/dist/esm/PublicationDeck.js +42 -42
- package/dist/esm/{PublicationFeature-03500094.js → PublicationFeature-d79db241.js} +23 -23
- package/dist/esm/PublicationLanding.js +101 -101
- package/dist/esm/QueueDeckExpanded.js +273 -273
- package/dist/esm/QueueDeckExpandedPaginated.js +253 -253
- package/dist/esm/RecentNews.js +20 -20
- package/dist/esm/RelatedContent.js +51 -51
- package/dist/esm/RelatedTopicsDropdown.js +21 -21
- package/dist/esm/RolesDeck.js +13 -13
- package/dist/esm/Schema.js +12 -12
- package/dist/esm/Search.js +10 -10
- package/dist/esm/Segment.js +25 -8
- package/dist/esm/SeriesListingDeck.js +30 -30
- package/dist/esm/{SeriesSlider-98b7a870.js → SeriesSlider-0a8cfca0.js} +31 -31
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +32 -32
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-1d8a9f59.js → SocialSearchComponent-32ee0f63.js} +33 -33
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +44 -44
- package/dist/esm/TaxonomyDescription.js +49 -48
- package/dist/esm/TemplateNormal.js +65 -65
- package/dist/esm/ThumbnailCard.js +17 -17
- package/dist/esm/Ustream.js +29 -29
- package/dist/esm/VerticalHero.js +17 -17
- package/dist/esm/VideoProgramLandingPage.js +63 -62
- package/dist/esm/VideoSeriesCard.js +26 -26
- package/dist/esm/VideoSeriesFilter.js +13 -13
- package/dist/esm/VideoSeriesLandingPage.js +40 -40
- package/dist/esm/VideoSeriesListing.js +70 -70
- package/dist/esm/View.js +251 -249
- package/dist/esm/YahooHero.js +33 -33
- package/dist/esm/YoutubeGroup.js +52 -52
- package/dist/esm/{_is-array-893ab020.js → _is-array-4df618a6.js} +6 -6
- package/dist/esm/{_iter-detect-f089461c.js → _iter-detect-130ee549.js} +7 -7
- package/dist/esm/{_object-pie-133f504a.js → _object-pie-33c40e79.js} +4 -4
- package/dist/esm/{_object-sap-169d6272.js → _object-sap-8b8ea5a9.js} +1 -1
- package/dist/esm/{_object-to-array-50a6b9a3.js → _object-to-array-c54dd835.js} +2 -2
- package/dist/esm/{asyncToGenerator-b4dfe691.js → asyncToGenerator-7bf8bc4d.js} +30 -30
- package/dist/esm/{brightcove-react-player-loader.es-57a70a56.js → brightcove-react-player-loader.es-4abff0b1.js} +3 -3
- package/dist/esm/{core.get-iterator-method-e903ff31.js → core.get-iterator-method-86d4db69.js} +36 -36
- package/dist/esm/{debounce-533d9748.js → debounce-9207d8ee.js} +2 -2
- package/dist/esm/{define-property-99e66838.js → define-property-6d26cb48.js} +6 -6
- package/dist/esm/{defineProperty-8fa0bc8d.js → defineProperty-d7d9b577.js} +1 -1
- package/dist/esm/{entities-932b50cf.js → entities-7cc3bf45.js} +1 -1
- package/dist/esm/{eq-bdcbf886.js → eq-b470f743.js} +1 -1
- package/dist/esm/{extends-dc6a71fd.js → extends-a4230287.js} +8 -8
- package/dist/esm/faundadb.js +5 -5
- package/dist/esm/{get-3c308da4.js → get-1e515072.js} +21 -21
- package/dist/esm/getRelatedArticle.js +69 -133
- package/dist/esm/getRootDocGroup.js +4 -4
- package/dist/esm/getSerializers.js +45 -44
- package/dist/esm/{getTargeting-0cdf8983.js → getTargeting-ba1ffe43.js} +11 -11
- package/dist/esm/getTargeting.js +6 -6
- package/dist/{cjs/iconBase-be4097c0.js → esm/iconBase-602d52fe.js} +8 -33
- package/dist/esm/{index-5cc7b406.js → index-1819118a.js} +24 -43
- package/dist/esm/{index-0dbff1d1.js → index-51a80699.js} +11 -16
- package/dist/esm/{index-755f2cc2.js → index-6c12bdd5.js} +10 -10
- package/dist/esm/{index-01c66814.js → index-93fc4be2.js} +551 -802
- package/dist/esm/{index-79cfd25c.js → index-fa2ffe86.js} +45 -44
- package/dist/esm/{index.es-a6137319.js → index.es-c6222053.js} +5 -5
- package/dist/esm/{index.esm-eb1e8e80.js → index.esm-55f22b35.js} +1 -1
- package/dist/esm/{index.esm-37268dca.js → index.esm-8ee5ff72.js} +16 -16
- package/dist/esm/{index.esm-9b042655.js → index.esm-c6715e80.js} +1 -1
- package/dist/esm/{index.esm-1bd8a0a8.js → index.esm-d1125763.js} +1 -1
- package/dist/esm/index.js +138 -138
- package/dist/esm/{inherits-8a801a18.js → inherits-91a2c374.js} +19 -19
- package/dist/esm/{isSymbol-a7e9aafe.js → isSymbol-1981418f.js} +15 -15
- package/dist/esm/{keys-425c8ab0.js → keys-69989821.js} +6 -6
- package/dist/esm/{lodash-f97fd99a.js → lodash-ec8c6b48.js} +10 -58
- package/dist/esm/main-43ca42fe.js +886 -0
- package/dist/esm/{moment-bc12cb97.js → moment-b6f49411.js} +1 -1
- package/dist/esm/{react-social-icons-9be47857.js → react-social-icons-3822f1ce.js} +20 -20
- package/dist/esm/{slicedToArray-ca2c8b8d.js → slicedToArray-67a08c9c.js} +12 -12
- package/dist/esm/{smoothscroll-fa4e3f8c.js → smoothscroll-0cd4c7a6.js} +1 -1
- package/dist/esm/stringify-70b72959.js +15 -0
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-7b1c0e23.js → toConsumableArray-32282905.js} +7 -7
- package/dist/esm/{toNumber-5aeba6e7.js → toNumber-2f7a84cd.js} +5 -40
- package/dist/esm/{typeof-83d9eb10.js → typeof-f1b7564e.js} +34 -34
- package/dist/esm/urlFor.js +4 -4
- package/dist/esm/{urlForFile-413f5ddb.js → urlForFile-d2a27665.js} +1 -1
- package/dist/esm/{ustream-api-41166338.js → ustream-api-4c4fe0ba.js} +4 -4
- package/dist/esm/{util-3ab476bf.js → util-7700fc59.js} +1 -1
- package/dist/esm/{visibility-sensor-72fd8f8b.js → visibility-sensor-f40c2564.js} +2 -2
- package/dist/esm/{web.dom.iterable-fdf034f5.js → web.dom.iterable-f8f967cd.js} +2 -2
- package/package.json +114 -114
- package/dist/cjs/ImageSlider-a7fb6218.js +0 -182
- package/dist/cjs/main-f1c77adb.js +0 -973
- package/dist/esm/ImageSlider-eab2fe41.js +0 -176
- package/dist/esm/main-1894c974.js +0 -961
- package/dist/esm/stringify-c21932b3.js +0 -15
- package/dist/cjs/{brightcove-react-player-loader.es-a195642e.js → brightcove-react-player-loader.es-5c98aec7.js} +1 -1
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import
|
|
1
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
+
import './core.get-iterator-method-86d4db69.js';
|
|
3
|
+
import './web.dom.iterable-f8f967cd.js';
|
|
4
|
+
import React from 'react';
|
|
5
|
+
import 'prop-types';
|
|
2
6
|
import Row from 'react-bootstrap/Row';
|
|
3
7
|
import Col from 'react-bootstrap/Col';
|
|
4
8
|
import Card from 'react-bootstrap/Card';
|
|
5
|
-
import
|
|
6
|
-
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
7
|
-
import urlFor from './urlFor.js';
|
|
8
|
-
import { m as moment } from './moment-bc12cb97.js';
|
|
9
|
-
import { A as AuthorComponent } from './AuthorComponent-defe68b6.js';
|
|
10
|
-
import './_commonjsHelpers-0c4b6f40.js';
|
|
9
|
+
import { m as moment } from './moment-b6f49411.js';
|
|
11
10
|
import 'react-dom';
|
|
12
|
-
import '
|
|
13
|
-
import './
|
|
14
|
-
import './
|
|
15
|
-
import './
|
|
16
|
-
import './
|
|
11
|
+
import './slicedToArray-67a08c9c.js';
|
|
12
|
+
import './index-51a80699.js';
|
|
13
|
+
import urlFor from './urlFor.js';
|
|
14
|
+
import { L as LazyLoad } from './index-6c12bdd5.js';
|
|
15
|
+
import { A as AuthorComponent } from './AuthorComponent-37ebc2bd.js';
|
|
16
|
+
import Badge from 'react-bootstrap/Badge';
|
|
17
17
|
|
|
18
18
|
var PublicationDeckStack = function PublicationDeckStack(props) {
|
|
19
19
|
var title = props.title,
|
|
@@ -34,25 +34,25 @@ var PublicationDeckStack = function PublicationDeckStack(props) {
|
|
|
34
34
|
index = props.index,
|
|
35
35
|
source = props.source;
|
|
36
36
|
|
|
37
|
-
return
|
|
37
|
+
return React.createElement(
|
|
38
38
|
Col,
|
|
39
39
|
{ md: 12, lg: 12, key: index },
|
|
40
|
-
|
|
40
|
+
React.createElement(
|
|
41
41
|
Card,
|
|
42
42
|
{ style: { boxShadow: 'none', borderBottom: '1px solid #aaa', paddingBottom: '1rem' } },
|
|
43
|
-
|
|
43
|
+
React.createElement(
|
|
44
44
|
'div',
|
|
45
45
|
{ style: { display: 'flex', flex: '1 0 auto', paddingBottom: '1rem' } },
|
|
46
|
-
coverImage &&
|
|
46
|
+
coverImage && React.createElement(
|
|
47
47
|
'div',
|
|
48
48
|
{ style: { display: 'flex', flexDirection: 'column', justifyContent: 'center' } },
|
|
49
|
-
|
|
49
|
+
React.createElement(
|
|
50
50
|
'a',
|
|
51
51
|
{ href: '/view/' + link },
|
|
52
|
-
|
|
52
|
+
React.createElement(
|
|
53
53
|
LazyLoad,
|
|
54
54
|
{ height: imageHeight },
|
|
55
|
-
|
|
55
|
+
React.createElement(Card.Img, {
|
|
56
56
|
variant: 'right',
|
|
57
57
|
src: coverImage ? urlFor({ source: coverImage, imageHeight: imageHeight, imageWidth: imageWidth, imageFit: imageFit, client: client }) : Settings.logo,
|
|
58
58
|
alt: title,
|
|
@@ -60,60 +60,60 @@ var PublicationDeckStack = function PublicationDeckStack(props) {
|
|
|
60
60
|
})
|
|
61
61
|
)
|
|
62
62
|
),
|
|
63
|
-
source &&
|
|
63
|
+
source && React.createElement(
|
|
64
64
|
'div',
|
|
65
65
|
{ className: 'mb-2 sanityDisplayLabel displayLabelThumb' },
|
|
66
66
|
source
|
|
67
67
|
)
|
|
68
68
|
),
|
|
69
|
-
|
|
69
|
+
React.createElement(
|
|
70
70
|
Card.Body,
|
|
71
71
|
{ style: { padding: '0.5rem' } },
|
|
72
|
-
section ?
|
|
72
|
+
section ? React.createElement(
|
|
73
73
|
Badge,
|
|
74
74
|
{ variant: 'success' },
|
|
75
75
|
section.name
|
|
76
76
|
) : '',
|
|
77
|
-
|
|
77
|
+
React.createElement(
|
|
78
78
|
Card.Title,
|
|
79
79
|
{ style: { color: '#121212', fontSize: '1.1rem' } },
|
|
80
|
-
|
|
80
|
+
React.createElement(
|
|
81
81
|
'a',
|
|
82
82
|
{ href: '/view/' + link },
|
|
83
|
-
|
|
83
|
+
React.createElement(
|
|
84
84
|
'span',
|
|
85
85
|
null,
|
|
86
86
|
title
|
|
87
87
|
)
|
|
88
88
|
),
|
|
89
|
-
|
|
89
|
+
React.createElement('br', null)
|
|
90
90
|
),
|
|
91
|
-
|
|
91
|
+
React.createElement(
|
|
92
92
|
'div',
|
|
93
93
|
{ style: { float: 'left' } },
|
|
94
|
-
source && !coverImage &&
|
|
94
|
+
source && !coverImage && React.createElement(
|
|
95
95
|
'div',
|
|
96
96
|
{ className: 'content-category-label' },
|
|
97
|
-
|
|
97
|
+
React.createElement(
|
|
98
98
|
'div',
|
|
99
99
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
100
100
|
source
|
|
101
101
|
)
|
|
102
102
|
),
|
|
103
|
-
|
|
103
|
+
React.createElement(
|
|
104
104
|
'p',
|
|
105
105
|
{ style: { color: '#484848', fontSize: '.9rem', fontWeight: '600' }, className: 'mb-0' },
|
|
106
106
|
moment(published).format('MMMM DD, YYYY ')
|
|
107
107
|
),
|
|
108
|
-
author.length > 0 &&
|
|
108
|
+
author.length > 0 && React.createElement(
|
|
109
109
|
LazyLoad,
|
|
110
110
|
{ height: 50 },
|
|
111
|
-
|
|
111
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: author })
|
|
112
112
|
)
|
|
113
113
|
)
|
|
114
114
|
)
|
|
115
115
|
),
|
|
116
|
-
|
|
116
|
+
React.createElement(
|
|
117
117
|
'p',
|
|
118
118
|
{ style: { paddingLeft: '0.5rem' } },
|
|
119
119
|
summary
|
|
@@ -133,29 +133,29 @@ var PublicationDeckBlock = function PublicationDeckBlock(props) {
|
|
|
133
133
|
Settings = props.Settings,
|
|
134
134
|
index = props.index;
|
|
135
135
|
|
|
136
|
-
return
|
|
136
|
+
return React.createElement(
|
|
137
137
|
Col,
|
|
138
138
|
{ md: 12, lg: 6, style: { display: 'flex', flex: '1 0 auto' }, key: index },
|
|
139
|
-
|
|
139
|
+
React.createElement(
|
|
140
140
|
Card,
|
|
141
141
|
null,
|
|
142
|
-
|
|
142
|
+
React.createElement(
|
|
143
143
|
'a',
|
|
144
144
|
{ href: '/view/' + link },
|
|
145
|
-
coverImage &&
|
|
145
|
+
coverImage && React.createElement(
|
|
146
146
|
LazyLoad,
|
|
147
147
|
{ height: imageHeight },
|
|
148
|
-
|
|
148
|
+
React.createElement(Card.Img, { variant: 'top', src: coverImage ? urlFor({ source: coverImage, imageHeight: imageHeight, imageWidth: imageWidth, imageFit: imageFit, client: client, Settings: Settings }) : Settings.logo, alt: title })
|
|
149
149
|
),
|
|
150
|
-
|
|
150
|
+
React.createElement(
|
|
151
151
|
Card.Body,
|
|
152
152
|
null,
|
|
153
|
-
section && section.name ?
|
|
153
|
+
section && section.name ? React.createElement(
|
|
154
154
|
Badge,
|
|
155
155
|
{ variant: 'success' },
|
|
156
156
|
section && section.name
|
|
157
157
|
) : '',
|
|
158
|
-
|
|
158
|
+
React.createElement(
|
|
159
159
|
Card.Title,
|
|
160
160
|
null,
|
|
161
161
|
title
|
|
@@ -175,12 +175,12 @@ var IssueContentDeck = function IssueContentDeck(props) {
|
|
|
175
175
|
_props$variant = props.variant,
|
|
176
176
|
variant = _props$variant === undefined ? 'block' : _props$variant;
|
|
177
177
|
|
|
178
|
-
return
|
|
178
|
+
return React.createElement(
|
|
179
179
|
Row,
|
|
180
180
|
null,
|
|
181
181
|
data && data.length ? data.map(function (row, index) {
|
|
182
182
|
if (variant === 'stack') {
|
|
183
|
-
return row.url && row.url.current &&
|
|
183
|
+
return row.url && row.url.current && React.createElement(PublicationDeckStack, {
|
|
184
184
|
index: index,
|
|
185
185
|
title: row.title,
|
|
186
186
|
coverImage: row.thumbnail,
|
|
@@ -196,7 +196,7 @@ var IssueContentDeck = function IssueContentDeck(props) {
|
|
|
196
196
|
summary: row.summary
|
|
197
197
|
});
|
|
198
198
|
}
|
|
199
|
-
return
|
|
199
|
+
return React.createElement(PublicationDeckBlock, {
|
|
200
200
|
index: index,
|
|
201
201
|
title: row.title,
|
|
202
202
|
coverImage: row.thumbnail,
|
|
@@ -207,20 +207,20 @@ var IssueContentDeck = function IssueContentDeck(props) {
|
|
|
207
207
|
imageWidth: imageWidth,
|
|
208
208
|
client: client
|
|
209
209
|
});
|
|
210
|
-
}) :
|
|
210
|
+
}) : React.createElement(
|
|
211
211
|
'div',
|
|
212
212
|
null,
|
|
213
|
-
|
|
213
|
+
React.createElement(
|
|
214
214
|
'h5',
|
|
215
215
|
null,
|
|
216
|
-
|
|
216
|
+
React.createElement(
|
|
217
217
|
'em',
|
|
218
218
|
{ className: 'pl-3' },
|
|
219
219
|
'New content coming soon, please check back later.'
|
|
220
220
|
)
|
|
221
221
|
)
|
|
222
222
|
),
|
|
223
|
-
|
|
223
|
+
React.createElement(
|
|
224
224
|
'style',
|
|
225
225
|
{ jsx: 'true' },
|
|
226
226
|
'\n .displayLabelThumb {\n margin: 0 auto;\n margin-top: -1.25rem;\n background-color: white;\n position: relative;\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 width: 100%;\n display: inline;\n max-width: 240px;\n padding: 5px;\n color: #484848;\n border-radius: 2px;\n }\n '
|
package/dist/esm/IssueDeck.js
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
1
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
+
import './core.get-iterator-method-86d4db69.js';
|
|
3
|
+
import './_iter-detect-130ee549.js';
|
|
4
|
+
import { _ as _toConsumableArray } from './toConsumableArray-32282905.js';
|
|
5
|
+
import './_object-pie-33c40e79.js';
|
|
6
|
+
import { _ as _extends } from './extends-a4230287.js';
|
|
7
|
+
import './web.dom.iterable-f8f967cd.js';
|
|
8
|
+
import React, { useState, useEffect, useRef } from 'react';
|
|
9
|
+
import 'prop-types';
|
|
5
10
|
import Row from 'react-bootstrap/Row';
|
|
6
11
|
import Col from 'react-bootstrap/Col';
|
|
7
|
-
import Button from 'react-bootstrap/Button';
|
|
8
12
|
import Card from 'react-bootstrap/Card';
|
|
9
|
-
import {
|
|
10
|
-
import urlFor from './urlFor.js';
|
|
11
|
-
import { I as InfiniteScroll } from './index.es-a6137319.js';
|
|
12
|
-
import './_commonjsHelpers-0c4b6f40.js';
|
|
13
|
-
import './core.get-iterator-method-e903ff31.js';
|
|
14
|
-
import './_iter-detect-f089461c.js';
|
|
15
|
-
import './_object-pie-133f504a.js';
|
|
16
|
-
import './web.dom.iterable-fdf034f5.js';
|
|
13
|
+
import { I as InfiniteScroll } from './index.es-c6222053.js';
|
|
17
14
|
import 'react-dom';
|
|
18
|
-
import '
|
|
19
|
-
import './index-
|
|
15
|
+
import { _ as _slicedToArray } from './slicedToArray-67a08c9c.js';
|
|
16
|
+
import './index-51a80699.js';
|
|
17
|
+
import urlFor from './urlFor.js';
|
|
18
|
+
import { L as LazyLoad } from './index-6c12bdd5.js';
|
|
19
|
+
import Button from 'react-bootstrap/Button';
|
|
20
20
|
|
|
21
21
|
var usePrevious = function usePrevious(value) {
|
|
22
22
|
var ref = useRef();
|
|
@@ -129,71 +129,71 @@ var IssueDeck = function IssueDeck(props) {
|
|
|
129
129
|
}
|
|
130
130
|
}, [issuesData, setScrolling, count]);
|
|
131
131
|
|
|
132
|
-
return
|
|
132
|
+
return React.createElement(
|
|
133
133
|
InfiniteScroll,
|
|
134
134
|
{ dataLength: issuesData && issuesData.length, next: function next() {
|
|
135
135
|
return loadMore();
|
|
136
136
|
}, hasMore: scrolling, scrollThreshold: 0.9 },
|
|
137
|
-
|
|
137
|
+
React.createElement(
|
|
138
138
|
Row,
|
|
139
139
|
null,
|
|
140
140
|
issuesData && issuesData.length ? issuesData.map(function (row, index) {
|
|
141
|
-
return publication && row.identifier && row.identifier.current &&
|
|
141
|
+
return publication && row.identifier && row.identifier.current && React.createElement(
|
|
142
142
|
Col,
|
|
143
143
|
{ md: 12, lg: 12, key: index },
|
|
144
|
-
|
|
144
|
+
React.createElement(
|
|
145
145
|
Card,
|
|
146
146
|
{ className: 'queue-card journal-queue', style: { borderTop: '1px solid #EEE' } },
|
|
147
|
-
|
|
147
|
+
React.createElement(
|
|
148
148
|
Row,
|
|
149
149
|
{ style: { flexDirection: 'left' } },
|
|
150
|
-
|
|
150
|
+
React.createElement(
|
|
151
151
|
Col,
|
|
152
152
|
{ md: 12, lg: 4, className: 'body-image', style: { textAlign: 'center' } },
|
|
153
|
-
row.issues.length > 0 ?
|
|
153
|
+
row.issues.length > 0 ? React.createElement(
|
|
154
154
|
'a',
|
|
155
155
|
{ href: href + '/' + publication + '/' + row.identifier.current, style: { width: '100%' } },
|
|
156
|
-
row.thumbnail &&
|
|
156
|
+
row.thumbnail && React.createElement(
|
|
157
157
|
LazyLoad,
|
|
158
158
|
{ height: imageHeight },
|
|
159
|
-
|
|
159
|
+
React.createElement(Card.Img, { variant: 'top', src: renderCardImage(row.thumbnail), alt: row.name, style: { objectFit: 'contain' } })
|
|
160
160
|
)
|
|
161
|
-
) :
|
|
161
|
+
) : React.createElement(
|
|
162
162
|
'a',
|
|
163
163
|
null,
|
|
164
|
-
row.thumbnail &&
|
|
164
|
+
row.thumbnail && React.createElement(
|
|
165
165
|
LazyLoad,
|
|
166
166
|
{ height: imageHeight },
|
|
167
|
-
|
|
167
|
+
React.createElement(Card.Img, { variant: 'top', src: renderCardImage(row.thumbnail), alt: row.name, style: { objectFit: 'contain' } })
|
|
168
168
|
)
|
|
169
169
|
)
|
|
170
170
|
),
|
|
171
|
-
|
|
171
|
+
React.createElement(
|
|
172
172
|
Col,
|
|
173
173
|
{ md: 12, lg: 8 },
|
|
174
|
-
|
|
174
|
+
React.createElement(
|
|
175
175
|
Card.Body,
|
|
176
176
|
{ style: { padding: '20px' }, className: 'body-text' },
|
|
177
|
-
|
|
177
|
+
React.createElement(
|
|
178
178
|
Row,
|
|
179
179
|
null,
|
|
180
|
-
|
|
180
|
+
React.createElement(
|
|
181
181
|
Col,
|
|
182
182
|
null,
|
|
183
|
-
|
|
183
|
+
React.createElement(
|
|
184
184
|
Card.Title,
|
|
185
185
|
null,
|
|
186
186
|
row.name
|
|
187
187
|
)
|
|
188
188
|
)
|
|
189
189
|
),
|
|
190
|
-
|
|
190
|
+
React.createElement(
|
|
191
191
|
Row,
|
|
192
192
|
null,
|
|
193
|
-
|
|
193
|
+
React.createElement(
|
|
194
194
|
Col,
|
|
195
195
|
null,
|
|
196
|
-
|
|
196
|
+
React.createElement(
|
|
197
197
|
'div',
|
|
198
198
|
null,
|
|
199
199
|
'Volume: ',
|
|
@@ -201,13 +201,13 @@ var IssueDeck = function IssueDeck(props) {
|
|
|
201
201
|
)
|
|
202
202
|
)
|
|
203
203
|
),
|
|
204
|
-
|
|
204
|
+
React.createElement(
|
|
205
205
|
Row,
|
|
206
206
|
null,
|
|
207
|
-
|
|
207
|
+
React.createElement(
|
|
208
208
|
Col,
|
|
209
209
|
null,
|
|
210
|
-
|
|
210
|
+
React.createElement(
|
|
211
211
|
'div',
|
|
212
212
|
null,
|
|
213
213
|
'Number: ',
|
|
@@ -215,19 +215,19 @@ var IssueDeck = function IssueDeck(props) {
|
|
|
215
215
|
)
|
|
216
216
|
)
|
|
217
217
|
),
|
|
218
|
-
|
|
218
|
+
React.createElement(
|
|
219
219
|
Row,
|
|
220
220
|
null,
|
|
221
|
-
row.issues.length > 0 &&
|
|
221
|
+
row.issues.length > 0 && React.createElement(
|
|
222
222
|
'a',
|
|
223
223
|
{ style: { paddingRight: '15px', paddingLeft: '15px' }, href: href + '/' + publication + '/' + row.identifier.current },
|
|
224
|
-
|
|
224
|
+
React.createElement(
|
|
225
225
|
Button,
|
|
226
226
|
{ style: { marginTop: '20px', marginRight: '1rem' }, variant: 'secondary' },
|
|
227
227
|
'View Issue'
|
|
228
228
|
)
|
|
229
229
|
),
|
|
230
|
-
row.pdf && row.pdf.asset &&
|
|
230
|
+
row.pdf && row.pdf.asset && React.createElement(
|
|
231
231
|
'a',
|
|
232
232
|
{ rel: 'noopener', href: row.pdf.asset.url, target: '_blank', className: 'btn btn-primary', style: { marginTop: '20px' } },
|
|
233
233
|
'Download Issue'
|
|
@@ -238,13 +238,13 @@ var IssueDeck = function IssueDeck(props) {
|
|
|
238
238
|
)
|
|
239
239
|
)
|
|
240
240
|
);
|
|
241
|
-
}) :
|
|
241
|
+
}) : React.createElement(
|
|
242
242
|
'div',
|
|
243
243
|
null,
|
|
244
|
-
|
|
244
|
+
React.createElement(
|
|
245
245
|
'h5',
|
|
246
246
|
null,
|
|
247
|
-
|
|
247
|
+
React.createElement(
|
|
248
248
|
'em',
|
|
249
249
|
{ className: 'pl-3' },
|
|
250
250
|
'New content coming soon, please check back later.'
|
package/dist/esm/IssueLanding.js
CHANGED
|
@@ -1,101 +1,102 @@
|
|
|
1
|
-
import { _ as _extends } from './extends-dc6a71fd.js';
|
|
2
|
-
import React__default from 'react';
|
|
3
|
-
import QueueDeckExpanded from './QueueDeckExpanded.js';
|
|
4
|
-
import Breadcrumbs from './Breadcrumbs.js';
|
|
5
|
-
import { B as BlockContent } from './BlockContent-c99c9a8d.js';
|
|
6
|
-
import { g as getSerializers } from './index-01c66814.js';
|
|
7
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
8
|
-
import './core.get-iterator-method-
|
|
9
|
-
import './
|
|
10
|
-
import './
|
|
11
|
-
import './
|
|
12
|
-
import './
|
|
13
|
-
import './
|
|
14
|
-
import '
|
|
15
|
-
import './
|
|
16
|
-
import './
|
|
17
|
-
import './
|
|
18
|
-
import './
|
|
19
|
-
import './
|
|
20
|
-
import 'react
|
|
21
|
-
import './index-
|
|
2
|
+
import './core.get-iterator-method-86d4db69.js';
|
|
3
|
+
import './_library-528f1934.js';
|
|
4
|
+
import './_iter-detect-130ee549.js';
|
|
5
|
+
import './toConsumableArray-32282905.js';
|
|
6
|
+
import './_object-pie-33c40e79.js';
|
|
7
|
+
import { _ as _extends } from './extends-a4230287.js';
|
|
8
|
+
import './_object-sap-8b8ea5a9.js';
|
|
9
|
+
import './inherits-91a2c374.js';
|
|
10
|
+
import './define-property-6d26cb48.js';
|
|
11
|
+
import './web.dom.iterable-f8f967cd.js';
|
|
12
|
+
import './typeof-f1b7564e.js';
|
|
13
|
+
import './_is-array-4df618a6.js';
|
|
14
|
+
import React from 'react';
|
|
15
|
+
import './index-1819118a.js';
|
|
22
16
|
import 'prop-types';
|
|
23
|
-
import '
|
|
24
|
-
import '
|
|
25
|
-
import './main-1894c974.js';
|
|
26
|
-
import './entities-932b50cf.js';
|
|
27
|
-
import './ADInfeed-bba8b026.js';
|
|
17
|
+
import 'react-bootstrap/Row';
|
|
18
|
+
import 'react-bootstrap/Col';
|
|
28
19
|
import 'react-bootstrap/Card';
|
|
29
|
-
import './
|
|
30
|
-
import '
|
|
31
|
-
import './isSymbol-
|
|
32
|
-
import './
|
|
33
|
-
import './
|
|
34
|
-
import './
|
|
35
|
-
import '
|
|
36
|
-
import './
|
|
20
|
+
import './moment-b6f49411.js';
|
|
21
|
+
import 'next/router';
|
|
22
|
+
import './isSymbol-1981418f.js';
|
|
23
|
+
import './debounce-9207d8ee.js';
|
|
24
|
+
import './toNumber-2f7a84cd.js';
|
|
25
|
+
import './index.es-c6222053.js';
|
|
26
|
+
import 'react-dom';
|
|
27
|
+
import './visibility-sensor-f40c2564.js';
|
|
28
|
+
import './slicedToArray-67a08c9c.js';
|
|
29
|
+
import './index-51a80699.js';
|
|
30
|
+
import './urlFor.js';
|
|
31
|
+
import './index-6c12bdd5.js';
|
|
32
|
+
import './main-43ca42fe.js';
|
|
33
|
+
import './entities-7cc3bf45.js';
|
|
34
|
+
import './stringify-70b72959.js';
|
|
35
|
+
import './asyncToGenerator-7bf8bc4d.js';
|
|
37
36
|
import './Segment.js';
|
|
38
|
-
import './
|
|
39
|
-
import './
|
|
40
|
-
import './
|
|
37
|
+
import './Beam.js';
|
|
38
|
+
import './AdSlot.js';
|
|
39
|
+
import './ADInfeed-7ba4f982.js';
|
|
40
|
+
import './lodash-ec8c6b48.js';
|
|
41
|
+
import './ADlgInfeed-8eb5060f.js';
|
|
41
42
|
import './getContentCategory-15dcc413.js';
|
|
42
|
-
import './
|
|
43
|
-
import 'react-bootstrap/
|
|
43
|
+
import './AuthorComponent-37ebc2bd.js';
|
|
44
|
+
import 'react-bootstrap/Button';
|
|
45
|
+
import { B as BlockContent } from './BlockContent-d05b5b23.js';
|
|
44
46
|
import './index-c7e2ac95.js';
|
|
45
|
-
import './
|
|
46
|
-
import './urlForFile-413f5ddb.js';
|
|
47
|
-
import './typeof-83d9eb10.js';
|
|
48
|
-
import './_is-array-893ab020.js';
|
|
49
|
-
import './brightcove-react-player-loader.es-57a70a56.js';
|
|
47
|
+
import './smoothscroll-0cd4c7a6.js';
|
|
50
48
|
import './GroupDeck.js';
|
|
51
|
-
import '
|
|
52
|
-
import './
|
|
49
|
+
import 'react-bootstrap';
|
|
50
|
+
import './timeDifferenceCalc.js';
|
|
51
|
+
import QueueDeckExpanded from './QueueDeckExpanded.js';
|
|
52
|
+
import './iconBase-602d52fe.js';
|
|
53
|
+
import './index.esm-55f22b35.js';
|
|
54
|
+
import { g as getSerializers } from './index-93fc4be2.js';
|
|
55
|
+
import './util-7700fc59.js';
|
|
56
|
+
import './urlForFile-d2a27665.js';
|
|
57
|
+
import './brightcove-react-player-loader.es-4abff0b1.js';
|
|
53
58
|
import 'next/head';
|
|
54
59
|
import 'react-share';
|
|
55
|
-
import './
|
|
60
|
+
import './SocialShare.js';
|
|
61
|
+
import './_object-to-array-c54dd835.js';
|
|
56
62
|
import 'react-bootstrap/Pagination';
|
|
57
|
-
import 'react-bootstrap/Button';
|
|
58
|
-
import 'react-bootstrap/Row';
|
|
59
|
-
import 'react-bootstrap/Col';
|
|
60
|
-
import './inherits-8a801a18.js';
|
|
61
|
-
import './_object-sap-169d6272.js';
|
|
62
|
-
import './define-property-99e66838.js';
|
|
63
|
-
import './index.esm-eb1e8e80.js';
|
|
64
|
-
import './iconBase-ccc56b97.js';
|
|
65
63
|
import 'react-bootstrap/Figure';
|
|
66
64
|
import 'react-bootstrap/OverlayTrigger';
|
|
67
65
|
import 'react-bootstrap/Tooltip';
|
|
68
66
|
import 'react-bootstrap/Popover';
|
|
67
|
+
import 'react-script-tag';
|
|
68
|
+
import 'react-bootstrap/Breadcrumb';
|
|
69
|
+
import Breadcrumbs from './Breadcrumbs.js';
|
|
70
|
+
|
|
71
|
+
/* usage
|
|
72
|
+
import Settings, { Ads } from '../../../../settings'
|
|
73
|
+
import { IssueLanding, getQuery } from '@mjhls/mjh-framework'
|
|
74
|
+
import client from '../../../../client'
|
|
75
|
+
import moment from 'moment'
|
|
76
|
+
import Shell from '../../../../components/2.0/Shell'
|
|
77
|
+
import { pageview } from '../../../../utilities/gtag'
|
|
78
|
+
|
|
79
|
+
const Issue = (props) => {
|
|
80
|
+
const { pubIssue, cache } = props
|
|
81
|
+
const targeting = {
|
|
82
|
+
content_placement: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
|
|
83
|
+
document_url: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
|
|
84
|
+
}
|
|
85
|
+
return (
|
|
86
|
+
<Shell cache={cache} settings={Settings} targeting={targeting} ads={Ads} layout='3' title={pubIssue.issue.name}>
|
|
87
|
+
<IssueLanding pubIssue={pubIssue} client={client} settings={Settings} pageview={pageview} rightItems={Ads.getMobileAds(targeting)} />
|
|
88
|
+
</Shell>
|
|
89
|
+
)
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
Issue.getInitialProps = async (ctx) => {
|
|
93
|
+
const { query } = ctx
|
|
94
|
+
const pubIssue = await client.fetch(getQuery('issue'), { ...query, currentDate: moment().utc().format() }
|
|
95
|
+
)
|
|
96
|
+
return { pubIssue }
|
|
97
|
+
}
|
|
69
98
|
|
|
70
|
-
|
|
71
|
-
import Settings, { Ads } from '../../../../settings'
|
|
72
|
-
import { IssueLanding, getQuery } from '@mjhls/mjh-framework'
|
|
73
|
-
import client from '../../../../client'
|
|
74
|
-
import moment from 'moment'
|
|
75
|
-
import Shell from '../../../../components/2.0/Shell'
|
|
76
|
-
import { pageview } from '../../../../utilities/gtag'
|
|
77
|
-
|
|
78
|
-
const Issue = (props) => {
|
|
79
|
-
const { pubIssue, cache } = props
|
|
80
|
-
const targeting = {
|
|
81
|
-
content_placement: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
|
|
82
|
-
document_url: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
|
|
83
|
-
}
|
|
84
|
-
return (
|
|
85
|
-
<Shell cache={cache} settings={Settings} targeting={targeting} ads={Ads} layout='3' title={pubIssue.issue.name}>
|
|
86
|
-
<IssueLanding pubIssue={pubIssue} client={client} settings={Settings} pageview={pageview} rightItems={Ads.getMobileAds(targeting)} />
|
|
87
|
-
</Shell>
|
|
88
|
-
)
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
Issue.getInitialProps = async (ctx) => {
|
|
92
|
-
const { query } = ctx
|
|
93
|
-
const pubIssue = await client.fetch(getQuery('issue'), { ...query, currentDate: moment().utc().format() }
|
|
94
|
-
)
|
|
95
|
-
return { pubIssue }
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
export default Issue
|
|
99
|
+
export default Issue
|
|
99
100
|
*/
|
|
100
101
|
|
|
101
102
|
var IssueLanding = function IssueLanding(props) {
|
|
@@ -121,22 +122,22 @@ var IssueLanding = function IssueLanding(props) {
|
|
|
121
122
|
_props$imageWidth = props.imageWidth,
|
|
122
123
|
imageWidth = _props$imageWidth === undefined ? 480 : _props$imageWidth;
|
|
123
124
|
|
|
124
|
-
return
|
|
125
|
+
return React.createElement(
|
|
125
126
|
'div',
|
|
126
127
|
{ id: 'issueLanding' },
|
|
127
|
-
|
|
128
|
-
pubIssue.issue.source &&
|
|
128
|
+
React.createElement(Breadcrumbs, null),
|
|
129
|
+
pubIssue.issue.source && React.createElement(
|
|
129
130
|
'p',
|
|
130
131
|
{ className: 'badge badge-primary' },
|
|
131
132
|
pubIssue.issue.source
|
|
132
133
|
),
|
|
133
|
-
pubIssue.issue.description &&
|
|
134
|
-
|
|
134
|
+
pubIssue.issue.description && React.createElement(
|
|
135
|
+
React.Fragment,
|
|
135
136
|
null,
|
|
136
|
-
|
|
137
|
-
|
|
137
|
+
React.createElement(BlockContent, _extends({ serializers: getSerializers(client), blocks: pubIssue.issue.description, imageOptions: { w: 320, h: 240, fit: 'max' } }, client.config())),
|
|
138
|
+
React.createElement('div', { style: { clear: 'both' } })
|
|
138
139
|
),
|
|
139
|
-
|
|
140
|
+
React.createElement(QueueDeckExpanded, {
|
|
140
141
|
client: client,
|
|
141
142
|
mapping: settings.mapping,
|
|
142
143
|
dataRecord: pubIssue.issue.articles,
|