@mjhls/mjh-framework 1.0.834 → 1.0.835
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 +10 -9
- package/dist/cjs/AD300x250.js +29 -29
- package/dist/cjs/AD300x250x600.js +29 -29
- package/dist/cjs/AD728x90.js +32 -32
- package/dist/cjs/ADFloatingFooter.js +32 -32
- package/dist/cjs/ADFooter.js +15 -14
- package/dist/cjs/ADGutter.js +32 -32
- package/dist/cjs/{ADInfeed-7b3f64e1.js → ADInfeed-eb4ce360.js} +15 -13
- package/dist/cjs/ADSkyscraper.js +32 -32
- package/dist/cjs/ADSponsoredResources.js +32 -32
- package/dist/cjs/ADWebcast.js +32 -32
- package/dist/cjs/ADWelcome.js +33 -33
- package/dist/cjs/{ADlgInfeed-17a6e476.js → ADlgInfeed-8a05b63f.js} +11 -10
- package/dist/cjs/AccordionPanel.js +31 -29
- package/dist/cjs/AdSlot.js +33 -33
- package/dist/cjs/AdSlotsProvider.js +19 -18
- package/dist/cjs/AlgoliaSearch.js +60 -14150
- package/dist/cjs/AlphabeticList.js +26 -25
- package/dist/cjs/ArticleCarousel.js +24 -23
- package/dist/cjs/ArticleProgramLandingPage.js +58 -58
- package/dist/cjs/ArticleSeriesLandingPage.js +41 -41
- package/dist/cjs/ArticleSeriesListing.js +62 -62
- package/dist/cjs/Auth.js +289 -285
- package/dist/cjs/AuthWrapper.js +48 -47
- package/dist/cjs/{AuthorComponent-0c464248.js → AuthorComponent-c21aac7f.js} +14 -13
- package/dist/cjs/Beam.js +8 -8
- package/dist/cjs/{BlockContent-bac780ac.js → BlockContent-36e54d77.js} +56 -55
- package/dist/cjs/Breadcrumbs.js +29 -27
- package/dist/cjs/CMEDeck.js +83 -84
- package/dist/cjs/Column1.js +14 -11
- package/dist/cjs/Column2.js +36 -33
- package/dist/cjs/Column3.js +60 -58
- package/dist/cjs/ConferenceArticleCard.js +37 -36
- package/dist/cjs/ConferenceBanner-6c9e718a.js +24 -0
- package/dist/cjs/DeckContent.js +106 -103
- package/dist/cjs/DeckQueue.js +91 -88
- package/dist/cjs/{Dfp-ac0c1cc6.js → Dfp-3f0ed4c8.js} +34 -34
- package/dist/cjs/EventsDeck.js +159 -152
- package/dist/cjs/ExternalResources.js +80 -80
- package/dist/cjs/Feature.js +25 -23
- package/dist/cjs/ForbesHero.js +43 -42
- package/dist/cjs/GridContent.js +186 -183
- package/dist/cjs/GridHero.js +45 -44
- package/dist/cjs/GroupDeck.js +60 -59
- package/dist/cjs/HamMagazine.js +143 -138
- package/dist/cjs/Header.js +14 -12
- package/dist/cjs/Hero.js +13 -12
- package/dist/cjs/HighlightenVideo.js +18 -17
- package/dist/cjs/HorizontalArticleListing.js +71 -71
- package/dist/cjs/HorizontalHero.js +26 -25
- package/dist/cjs/IssueContentDeck.js +78 -73
- package/dist/cjs/IssueDeck.js +77 -72
- package/dist/cjs/IssueLanding.js +93 -93
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +40 -39
- package/dist/cjs/MasterDeck.js +80 -80
- package/dist/cjs/MediaSeriesLanding.js +1077 -985
- package/dist/cjs/NavDvm.js +79 -74
- package/dist/cjs/{NavFooter-76c913e3.js → NavFooter-3dcd99a8.js} +15 -14
- package/dist/cjs/NavMagazine.js +151 -146
- package/dist/cjs/NavNative.js +145 -137
- package/dist/cjs/OncliveHero.js +19 -18
- package/dist/cjs/OncliveLargeHero.js +73 -72
- package/dist/cjs/PageFilter.js +15 -14
- package/dist/cjs/PartnerDetailListing.js +108 -108
- package/dist/cjs/PdfDownload.js +10 -9
- package/dist/cjs/PopUpModal.js +21 -19
- package/dist/cjs/PubSection.js +43 -43
- package/dist/cjs/PubToc.js +16 -15
- package/dist/cjs/PublicationDeck.js +67 -62
- package/dist/cjs/PublicationLanding.js +139 -135
- package/dist/cjs/QueueDeckExpanded.js +310 -311
- package/dist/cjs/RecentNews.js +23 -22
- 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 +22 -18
- package/dist/cjs/Segment.js +6 -6
- package/dist/cjs/SeriesListingDeck.js +36 -37
- package/dist/cjs/{SeriesSlider-abd231e9.js → SeriesSlider-e3e8ead7.js} +35 -34
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +39 -38
- package/dist/cjs/SocialIcons.js +10 -9
- package/dist/cjs/{SocialSearchComponent-bef9a9d8.js → SocialSearchComponent-948138c7.js} +36 -32
- package/dist/cjs/SocialShare.js +31 -29
- package/dist/cjs/TaxonomyCard.js +64 -59
- package/dist/cjs/TaxonomyDescription.js +54 -54
- package/dist/cjs/TemplateNormal.js +74 -74
- package/dist/cjs/ThumbnailCard.js +23 -21
- package/dist/cjs/Ustream.js +30 -29
- package/dist/cjs/VerticalHero.js +17 -16
- package/dist/cjs/VideoProgramLandingPage.js +77 -74
- package/dist/cjs/VideoSeriesCard.js +34 -33
- package/dist/cjs/VideoSeriesFilter.js +18 -18
- package/dist/cjs/VideoSeriesLandingPage.js +51 -51
- package/dist/cjs/VideoSeriesListing.js +79 -79
- package/dist/cjs/View.js +251 -249
- package/dist/cjs/YahooHero.js +42 -41
- package/dist/cjs/YoutubeGroup.js +62 -61
- package/dist/cjs/{_is-array-39ff55dd.js → _is-array-6128bd56.js} +6 -6
- package/dist/cjs/{_iter-detect-ef35661e.js → _iter-detect-55a5657a.js} +8 -8
- package/dist/cjs/{_object-pie-68c5bcbc.js → _object-pie-083f2dd6.js} +4 -4
- package/dist/cjs/{_object-sap-b231f928.js → _object-sap-a175b4a9.js} +1 -1
- package/dist/cjs/{_object-to-array-c3aeb51d.js → _object-to-array-8fe5a54f.js} +2 -2
- package/dist/cjs/{_to-object-7a3ce269.js → _to-object-6de10e57.js} +6 -6
- package/dist/cjs/{asyncToGenerator-8ae2191c.js → asyncToGenerator-58c289d9.js} +32 -32
- package/dist/cjs/{brightcove-react-player-loader.es-05029198.js → brightcove-react-player-loader.es-a195642e.js} +7 -6
- package/dist/cjs/{core.get-iterator-method-6cd7682d.js → core.get-iterator-method-f474eacc.js} +2 -2
- package/dist/cjs/{debounce-6191c8ee.js → debounce-d4a2369b.js} +2 -2
- package/dist/cjs/{define-property-fc002cec.js → define-property-c88be878.js} +6 -6
- package/dist/cjs/{defineProperty-03c4c82e.js → defineProperty-0cb76d99.js} +1 -1
- package/dist/cjs/{entities-310b46ee.js → entities-3f9d0f2f.js} +1 -1
- package/dist/cjs/{eq-bb2843ed.js → eq-5fc26c07.js} +1 -1
- package/dist/cjs/{es6.string.iterator-ab94a594.js → es6.string.iterator-c2573ffd.js} +6 -6
- package/dist/cjs/{extends-acc1318d.js → extends-29bdbc6d.js} +7 -7
- package/dist/cjs/faundadb.js +7 -7
- package/dist/cjs/{get-adbb11e3.js → get-5839e5b5.js} +21 -21
- package/dist/cjs/getRelatedArticle.js +20 -20
- package/dist/cjs/getRootDocGroup.js +6 -6
- package/dist/cjs/getSerializers.js +44 -45
- package/dist/cjs/{getTargeting-98ab97f7.js → getTargeting-a100d6e5.js} +11 -11
- package/dist/cjs/getTargeting.js +8 -8
- package/dist/{esm/iconBase-602d52fe.js → cjs/iconBase-be4097c0.js} +33 -8
- package/dist/cjs/{index-98e01cb9.js → index-0e4427c8.js} +479 -13
- package/dist/cjs/{index-0f62d00b.js → index-4e883ea0.js} +488 -481
- package/dist/cjs/{index-96b3db50.js → index-eadd5035.js} +17 -15
- package/dist/cjs/{index-ff69979f.js → index-efca863c.js} +8 -8
- package/dist/cjs/{index-79eed652.js → index-f86bb269.js} +6 -6
- package/dist/cjs/{index.es-e9d84959.js → index.es-f3e47207.js} +8 -7
- package/dist/cjs/{index.esm-974f47d9.js → index.esm-00a6aade.js} +1 -1
- package/dist/cjs/{index.esm-bf016399.js → index.esm-2bb721c8.js} +19 -18
- package/dist/cjs/{index.esm-44f3e2d0.js → index.esm-c1e16606.js} +1 -1
- package/dist/cjs/{index.esm-05850a2f.js → index.esm-f27f80d9.js} +1 -1
- package/dist/cjs/index.js +165 -163
- package/dist/cjs/{inherits-bfdb22af.js → inherits-c2065b95.js} +22 -22
- package/dist/cjs/{isSymbol-04666465.js → isSymbol-03abbdf0.js} +15 -15
- package/dist/cjs/keys-7f2c2108.js +25 -0
- package/dist/cjs/{lodash-b5e0d5f6.js → lodash-f0783643.js} +1 -1
- package/dist/cjs/{main-bc7d4bf8.js → main-f1c77adb.js} +70 -69
- package/dist/cjs/{moment-ca3bd9fb.js → moment-aca40de1.js} +1 -1
- package/dist/cjs/{react-social-icons-f7f48f71.js → react-social-icons-af932527.js} +28 -27
- package/dist/cjs/{slicedToArray-41819145.js → slicedToArray-5d1bc3b3.js} +14 -14
- package/dist/cjs/{smoothscroll-5054361f.js → smoothscroll-99df7f93.js} +1 -1
- package/dist/cjs/stringify-c9ac1214.js +17 -0
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-4fdb72e2.js → toConsumableArray-ddb70795.js} +9 -9
- package/dist/cjs/{toNumber-f2f8744b.js → toNumber-5e1fac58.js} +1 -1
- package/dist/cjs/{typeof-e83d4a26.js → typeof-88a668c5.js} +36 -36
- package/dist/cjs/urlFor.js +8 -3
- package/dist/cjs/{ustream-api-c30d203c.js → ustream-api-b2b9092f.js} +4 -4
- package/dist/cjs/{util-f2c1b65b.js → util-6f784d85.js} +1 -1
- package/dist/cjs/{visibility-sensor-ad5e3116.js → visibility-sensor-eb2c5b69.js} +7 -5
- package/dist/cjs/{web.dom.iterable-68e3aaf2.js → web.dom.iterable-46657b5c.js} +3 -3
- package/dist/esm/AD.js +1 -1
- package/dist/esm/AD300x250.js +22 -23
- package/dist/esm/AD300x250x600.js +22 -23
- package/dist/esm/AD728x90.js +24 -25
- package/dist/esm/ADFloatingFooter.js +22 -23
- package/dist/esm/ADFooter.js +6 -6
- package/dist/esm/ADGutter.js +22 -23
- package/dist/esm/{ADInfeed-77c2092d.js → ADInfeed-4a09242b.js} +6 -6
- package/dist/esm/ADSkyscraper.js +22 -23
- package/dist/esm/ADSponsoredResources.js +22 -23
- package/dist/esm/ADWebcast.js +22 -23
- package/dist/esm/ADWelcome.js +19 -20
- package/dist/esm/{ADlgInfeed-12d2ac78.js → ADlgInfeed-0bff9a62.js} +4 -4
- package/dist/esm/AccordionPanel.js +8 -8
- package/dist/esm/AdSlot.js +21 -22
- package/dist/esm/AdSlotsProvider.js +11 -12
- package/dist/esm/AlgoliaSearch.js +30 -14121
- package/dist/esm/AlphabeticList.js +10 -10
- package/dist/esm/ArticleCarousel.js +17 -17
- package/dist/esm/ArticleProgramLandingPage.js +48 -49
- package/dist/esm/ArticleSeriesLandingPage.js +31 -32
- package/dist/esm/ArticleSeriesListing.js +34 -35
- package/dist/esm/Auth.js +200 -200
- package/dist/esm/AuthWrapper.js +20 -20
- package/dist/esm/{AuthorComponent-5cab1f6b.js → AuthorComponent-30aeba69.js} +1 -1
- package/dist/esm/Beam.js +8 -8
- package/dist/esm/{BlockContent-ea93e8f7.js → BlockContent-c99c9a8d.js} +34 -34
- package/dist/esm/Breadcrumbs.js +7 -7
- package/dist/esm/CMEDeck.js +23 -24
- package/dist/esm/Column1.js +4 -4
- package/dist/esm/Column2.js +21 -21
- package/dist/esm/Column3.js +36 -37
- package/dist/esm/ConferenceArticleCard.js +22 -22
- package/dist/esm/DeckContent.js +55 -56
- package/dist/esm/DeckQueue.js +47 -48
- package/dist/esm/{Dfp-4b94fbd4.js → Dfp-be030f2a.js} +14 -15
- package/dist/esm/EventsDeck.js +66 -66
- package/dist/esm/ExternalResources.js +47 -48
- package/dist/esm/Feature.js +3 -3
- package/dist/esm/ForbesHero.js +12 -12
- package/dist/esm/GridContent.js +78 -79
- package/dist/esm/GridHero.js +13 -13
- package/dist/esm/GroupDeck.js +14 -14
- package/dist/esm/HamMagazine.js +35 -35
- package/dist/esm/Hero.js +4 -4
- package/dist/esm/HighlightenVideo.js +2 -2
- package/dist/esm/HorizontalArticleListing.js +45 -46
- package/dist/esm/HorizontalHero.js +5 -5
- package/dist/esm/IssueContentDeck.js +27 -27
- package/dist/esm/IssueDeck.js +36 -36
- package/dist/esm/IssueLanding.js +83 -84
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +21 -22
- package/dist/esm/MasterDeck.js +43 -44
- package/dist/esm/MediaSeriesLanding.js +422 -333
- package/dist/esm/NavDvm.js +16 -16
- package/dist/esm/NavMagazine.js +42 -42
- package/dist/esm/NavNative.js +41 -41
- package/dist/esm/OncliveHero.js +4 -4
- package/dist/esm/OncliveLargeHero.js +13 -13
- package/dist/esm/PageFilter.js +6 -6
- package/dist/esm/PartnerDetailListing.js +56 -57
- package/dist/esm/PdfDownload.js +2 -2
- package/dist/esm/PopUpModal.js +6 -6
- package/dist/esm/PubSection.js +34 -35
- package/dist/esm/PubToc.js +8 -8
- package/dist/esm/PublicationDeck.js +24 -24
- package/dist/esm/PublicationLanding.js +76 -76
- package/dist/esm/QueueDeckExpanded.js +35 -36
- package/dist/esm/RecentNews.js +4 -4
- package/dist/esm/RelatedContent.js +35 -35
- package/dist/esm/RelatedTopicsDropdown.js +10 -10
- package/dist/esm/RolesDeck.js +12 -12
- package/dist/esm/Search.js +8 -8
- package/dist/esm/Segment.js +6 -6
- package/dist/esm/SeriesListingDeck.js +19 -20
- package/dist/esm/{SeriesSlider-d9cf4ffb.js → SeriesSlider-ae17159f.js} +9 -9
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +17 -17
- package/dist/esm/{SocialSearchComponent-4f7d1c5b.js → SocialSearchComponent-db963c3e.js} +8 -8
- package/dist/esm/TaxonomyCard.js +25 -25
- package/dist/esm/TaxonomyDescription.js +44 -45
- package/dist/esm/TemplateNormal.js +49 -50
- package/dist/esm/ThumbnailCard.js +7 -7
- package/dist/esm/Ustream.js +13 -13
- package/dist/esm/VerticalHero.js +3 -3
- package/dist/esm/VideoProgramLandingPage.js +53 -54
- package/dist/esm/VideoSeriesCard.js +14 -14
- package/dist/esm/VideoSeriesFilter.js +9 -9
- package/dist/esm/VideoSeriesLandingPage.js +37 -38
- package/dist/esm/VideoSeriesListing.js +35 -36
- package/dist/esm/View.js +84 -86
- package/dist/esm/YahooHero.js +15 -15
- package/dist/esm/YoutubeGroup.js +21 -21
- package/dist/esm/{_is-array-328b85b7.js → _is-array-3e99e06e.js} +6 -6
- package/dist/esm/{_iter-detect-0fa1c752.js → _iter-detect-7e5e5ce2.js} +8 -8
- package/dist/esm/{_object-pie-33c40e79.js → _object-pie-133f504a.js} +4 -4
- package/dist/esm/{_object-sap-1b84e2bf.js → _object-sap-f353c2a9.js} +1 -1
- package/dist/esm/{_object-to-array-c8f72bf1.js → _object-to-array-0f197f89.js} +2 -2
- package/dist/esm/{_to-object-cedb5b78.js → _to-object-b50e61c3.js} +7 -7
- package/dist/esm/{asyncToGenerator-e1a2f43a.js → asyncToGenerator-7f8f9219.js} +32 -32
- package/dist/esm/{core.get-iterator-method-227107e6.js → core.get-iterator-method-133dfacd.js} +2 -2
- package/dist/esm/{debounce-89969f66.js → debounce-533d9748.js} +2 -2
- package/dist/esm/{define-property-2f35af22.js → define-property-fe54dc9f.js} +6 -6
- package/dist/esm/{defineProperty-eb9699c0.js → defineProperty-f5ff6f5a.js} +1 -1
- package/dist/esm/{entities-7cc3bf45.js → entities-932b50cf.js} +1 -1
- package/dist/esm/{eq-b470f743.js → eq-bdcbf886.js} +1 -1
- package/dist/esm/{es6.string.iterator-1577cb76.js → es6.string.iterator-bc33758b.js} +7 -7
- package/dist/esm/{extends-be71a29a.js → extends-60e0e1c6.js} +7 -7
- package/dist/esm/faundadb.js +7 -7
- package/dist/esm/{get-1e515072.js → get-3c308da4.js} +21 -21
- package/dist/esm/getRelatedArticle.js +14 -14
- package/dist/esm/getRootDocGroup.js +6 -6
- package/dist/esm/getSerializers.js +44 -45
- package/dist/esm/{getTargeting-93bb872d.js → getTargeting-05c216d6.js} +11 -11
- package/dist/esm/getTargeting.js +8 -8
- package/dist/{cjs/iconBase-68959171.js → esm/iconBase-ccc56b97.js} +2 -8
- package/dist/esm/{index-f7fdcc91.js → index-0dbff1d1.js} +8 -8
- package/dist/esm/{index-41a678ea.js → index-5cc7b406.js} +469 -4
- package/dist/esm/{index-5f7e79e7.js → index-755f2cc2.js} +6 -6
- package/dist/esm/{index-511bdaa5.js → index-79cfd25c.js} +6 -6
- package/dist/esm/{index-eca81448.js → index-b909354c.js} +115 -115
- package/dist/esm/{index.esm-ed50151c.js → index.esm-37268dca.js} +2 -2
- package/dist/esm/{index.esm-c6715e80.js → index.esm-9b042655.js} +1 -1
- package/dist/esm/{index.esm-a8ff922c.js → index.esm-d4932dea.js} +1 -1
- package/dist/esm/{index.esm-3fdda599.js → index.esm-f6156a57.js} +1 -1
- package/dist/esm/index.js +120 -121
- package/dist/esm/{inherits-2cf82c38.js → inherits-a41fe93f.js} +19 -19
- package/dist/esm/{isSymbol-1981418f.js → isSymbol-a7e9aafe.js} +15 -15
- package/dist/esm/{keys-526daf0a.js → keys-7a3adabf.js} +6 -6
- package/dist/esm/{lodash-a818d390.js → lodash-f97fd99a.js} +1 -1
- package/dist/esm/{main-ae902629.js → main-d4165069.js} +53 -53
- package/dist/esm/{moment-b6f49411.js → moment-bc12cb97.js} +1 -1
- package/dist/esm/{react-social-icons-a7d5c5c7.js → react-social-icons-9be47857.js} +16 -16
- package/dist/esm/{slicedToArray-f0edf3d6.js → slicedToArray-be2f7a22.js} +14 -14
- package/dist/esm/{smoothscroll-0cd4c7a6.js → smoothscroll-fa4e3f8c.js} +1 -1
- package/dist/esm/stringify-59c8f690.js +15 -0
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-81605212.js → toConsumableArray-6d9a4616.js} +9 -9
- package/dist/esm/{toNumber-e3dcad26.js → toNumber-5aeba6e7.js} +1 -1
- package/dist/esm/{typeof-ad2c7a21.js → typeof-a286cf0c.js} +36 -36
- package/dist/esm/urlFor.js +6 -1
- package/dist/esm/{ustream-api-cf90f7e6.js → ustream-api-33a866b6.js} +4 -4
- package/dist/esm/{util-7700fc59.js → util-3ab476bf.js} +1 -1
- package/dist/esm/{web.dom.iterable-ace8ed30.js → web.dom.iterable-4109ff68.js} +3 -3
- package/package.json +110 -110
- package/dist/cjs/ConferenceBanner-4a16fddc.js +0 -23
- package/dist/cjs/events-1b438fe7.js +0 -469
- package/dist/cjs/index-53e27416.js +0 -105
- package/dist/cjs/keys-62e097ca.js +0 -25
- package/dist/cjs/stringify-7ccc8524.js +0 -17
- package/dist/esm/events-6c3a7a63.js +0 -467
- package/dist/esm/index-637e8f49.js +0 -100
- package/dist/esm/stringify-d1b9276a.js +0 -15
- package/dist/esm/{brightcove-react-player-loader.es-e761d404.js → brightcove-react-player-loader.es-57a70a56.js} +1 -1
package/dist/esm/PubToc.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
+
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-7f8f9219.js';
|
|
2
|
+
import { _ as _slicedToArray } from './slicedToArray-be2f7a22.js';
|
|
3
|
+
import React__default from 'react';
|
|
1
4
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './
|
|
3
|
-
import './
|
|
5
|
+
import './es6.string.iterator-bc33758b.js';
|
|
6
|
+
import './_to-object-b50e61c3.js';
|
|
7
|
+
import './web.dom.iterable-4109ff68.js';
|
|
4
8
|
import './_library-528f1934.js';
|
|
5
|
-
import './
|
|
6
|
-
import './
|
|
7
|
-
import './web.dom.iterable-ace8ed30.js';
|
|
8
|
-
import React__default from 'react';
|
|
9
|
-
import { _ as _slicedToArray } from './slicedToArray-f0edf3d6.js';
|
|
10
|
-
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-e1a2f43a.js';
|
|
9
|
+
import './core.get-iterator-method-133dfacd.js';
|
|
10
|
+
import './_iter-detect-7e5e5ce2.js';
|
|
11
11
|
|
|
12
12
|
var _this = undefined;
|
|
13
13
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
1
|
import React__default from 'react';
|
|
3
|
-
import '
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import Card
|
|
7
|
-
import '
|
|
8
|
-
import './index-f7fdcc91.js';
|
|
2
|
+
import Row from 'react-bootstrap/Row';
|
|
3
|
+
import Col from 'react-bootstrap/Col';
|
|
4
|
+
import Button from 'react-bootstrap/Button';
|
|
5
|
+
import Card from 'react-bootstrap/Card';
|
|
6
|
+
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
9
7
|
import urlFor from './urlFor.js';
|
|
10
|
-
import {
|
|
11
|
-
import
|
|
12
|
-
import
|
|
8
|
+
import { l as lodash } from './lodash-f97fd99a.js';
|
|
9
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
10
|
+
import 'react-dom';
|
|
11
|
+
import 'prop-types';
|
|
12
|
+
import './index-0dbff1d1.js';
|
|
13
13
|
|
|
14
14
|
var PublicationDeck = function PublicationDeck(props) {
|
|
15
15
|
var data = props.data,
|
|
@@ -52,14 +52,14 @@ var PublicationDeck = function PublicationDeck(props) {
|
|
|
52
52
|
'div',
|
|
53
53
|
{ className: 'publication-wrapper', style: { paddingBottom: '150px' } },
|
|
54
54
|
sortedRegPubs && sortedRegPubs.length > 0 && React__default.createElement(
|
|
55
|
-
Row
|
|
55
|
+
Row,
|
|
56
56
|
{ className: 'regular-publication-wrapper' },
|
|
57
57
|
sortedRegPubs.map(function (row, index) {
|
|
58
58
|
return row.identifier && row.identifier.current && React__default.createElement(
|
|
59
|
-
Col
|
|
59
|
+
Col,
|
|
60
60
|
{ xs: 6, sm: 6, md: 6, lg: 4, style: { display: 'flex', flex: '1 0 auto' }, key: index },
|
|
61
61
|
React__default.createElement(
|
|
62
|
-
Card
|
|
62
|
+
Card,
|
|
63
63
|
{ className: 'block-card', style: { width: '200px' } },
|
|
64
64
|
React__default.createElement(
|
|
65
65
|
'a',
|
|
@@ -67,18 +67,18 @@ var PublicationDeck = function PublicationDeck(props) {
|
|
|
67
67
|
row.childIssue && row.childIssue.thumbnail ? React__default.createElement(
|
|
68
68
|
LazyLoad,
|
|
69
69
|
{ height: imageHeight },
|
|
70
|
-
React__default.createElement(Card
|
|
70
|
+
React__default.createElement(Card.Img, { variant: 'top', src: renderCardImage(row.childIssue.thumbnail), style: { objectFit: 'contain', maxHeight: '200px', maxWidth: '200px' } })
|
|
71
71
|
) : React__default.createElement('p', { className: 'placeholder-tag' }),
|
|
72
72
|
React__default.createElement(
|
|
73
|
-
Card
|
|
73
|
+
Card.Body,
|
|
74
74
|
{ style: { paddingTop: '0', paddingBottom: '2.75rem' } },
|
|
75
75
|
React__default.createElement(
|
|
76
|
-
Card
|
|
76
|
+
Card.Title,
|
|
77
77
|
null,
|
|
78
78
|
row.name
|
|
79
79
|
),
|
|
80
80
|
React__default.createElement(
|
|
81
|
-
Button
|
|
81
|
+
Button,
|
|
82
82
|
{ style: { position: 'absolute', bottom: '1rem', margin: '0px', width: '78%' }, variant: 'secondary' },
|
|
83
83
|
'Browse Issues'
|
|
84
84
|
)
|
|
@@ -107,14 +107,14 @@ var PublicationDeck = function PublicationDeck(props) {
|
|
|
107
107
|
React__default.createElement('hr', null)
|
|
108
108
|
),
|
|
109
109
|
React__default.createElement(
|
|
110
|
-
Row
|
|
110
|
+
Row,
|
|
111
111
|
{ className: 'legacy-publication-wrapper' },
|
|
112
112
|
sortedLegacyPubs.map(function (row, index) {
|
|
113
113
|
return row.identifier && row.identifier.current && React__default.createElement(
|
|
114
|
-
Col
|
|
114
|
+
Col,
|
|
115
115
|
{ xs: 6, sm: 6, md: 6, lg: 4, style: { display: 'flex', flex: '1 0 auto' }, key: index },
|
|
116
116
|
React__default.createElement(
|
|
117
|
-
Card
|
|
117
|
+
Card,
|
|
118
118
|
{ className: 'block-card', style: { width: '200px' } },
|
|
119
119
|
React__default.createElement(
|
|
120
120
|
'a',
|
|
@@ -122,18 +122,18 @@ var PublicationDeck = function PublicationDeck(props) {
|
|
|
122
122
|
row.childIssue && row.childIssue.thumbnail ? React__default.createElement(
|
|
123
123
|
LazyLoad,
|
|
124
124
|
{ height: imageHeight },
|
|
125
|
-
React__default.createElement(Card
|
|
125
|
+
React__default.createElement(Card.Img, { variant: 'top', src: renderCardImage(row.childIssue.thumbnail), style: { objectFit: 'contain', maxHeight: '200px', maxWidth: '200px' } })
|
|
126
126
|
) : React__default.createElement('p', { className: 'placeholder-tag' }),
|
|
127
127
|
React__default.createElement(
|
|
128
|
-
Card
|
|
128
|
+
Card.Body,
|
|
129
129
|
{ style: { paddingTop: '0', paddingBottom: '2.75rem' } },
|
|
130
130
|
React__default.createElement(
|
|
131
|
-
Card
|
|
131
|
+
Card.Title,
|
|
132
132
|
null,
|
|
133
133
|
row.name
|
|
134
134
|
),
|
|
135
135
|
React__default.createElement(
|
|
136
|
-
Button
|
|
136
|
+
Button,
|
|
137
137
|
{ style: { position: 'absolute', bottom: '1rem', margin: '0px', width: '78%' }, variant: 'secondary' },
|
|
138
138
|
'Browse Issues'
|
|
139
139
|
)
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
+
import { b as _anInstance, c as _forOf, d as _redefineAll, e as _setSpecies, a as _asyncToGenerator, r as regenerator, _ as _Promise } from './asyncToGenerator-7f8f9219.js';
|
|
2
|
+
import { _ as _extends } from './extends-60e0e1c6.js';
|
|
3
|
+
import { _ as _slicedToArray } from './slicedToArray-be2f7a22.js';
|
|
1
4
|
import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import {
|
|
3
|
-
import { _ as
|
|
4
|
-
import './
|
|
5
|
-
import './
|
|
6
|
-
import { _ as
|
|
7
|
-
import { _ as
|
|
8
|
-
import './_object-pie-33c40e79.js';
|
|
9
|
-
import { _ as _extends } from './extends-be71a29a.js';
|
|
10
|
-
import { _ as _iterStep } from './web.dom.iterable-ace8ed30.js';
|
|
11
|
-
import { _ as _meta, a as _isArray } from './_is-array-328b85b7.js';
|
|
5
|
+
import { _ as _objectCreate, a as _iterDefine, b as _wks, c as _setToStringTag } from './es6.string.iterator-bc33758b.js';
|
|
6
|
+
import { _ as _iterStep } from './web.dom.iterable-4109ff68.js';
|
|
7
|
+
import { b as _isObject, c as _ctx, d as _descriptors, e as _objectDp, f as _toObject, g as _iobject, h as _toLength, i as _global, j as _fails, k as _hide, _ as _export, l as _aFunction, a as _core } from './_to-object-b50e61c3.js';
|
|
8
|
+
import { _ as _meta, a as _isArray } from './_is-array-3e99e06e.js';
|
|
9
|
+
import { _ as _classof } from './core.get-iterator-method-133dfacd.js';
|
|
10
|
+
import { _ as _toConsumableArray } from './toConsumableArray-6d9a4616.js';
|
|
12
11
|
import React__default, { useState, useEffect } from 'react';
|
|
13
|
-
import '
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import Card
|
|
12
|
+
import Row from 'react-bootstrap/Row';
|
|
13
|
+
import Col from 'react-bootstrap/Col';
|
|
14
|
+
import Dropdown from 'react-bootstrap/Dropdown';
|
|
15
|
+
import Card from 'react-bootstrap/Card';
|
|
17
16
|
import { useRouter } from 'next/router';
|
|
17
|
+
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
18
|
+
import './_library-528f1934.js';
|
|
19
|
+
import './_iter-detect-7e5e5ce2.js';
|
|
20
|
+
import './_object-pie-133f504a.js';
|
|
18
21
|
import 'react-dom';
|
|
19
|
-
import
|
|
20
|
-
import { _ as _slicedToArray } from './slicedToArray-f0edf3d6.js';
|
|
21
|
-
import { b as _anInstance, c as _forOf, d as _redefineAll, e as _setSpecies, a as _asyncToGenerator, r as regenerator, _ as _Promise } from './asyncToGenerator-e1a2f43a.js';
|
|
22
|
-
import Dropdown from 'react-bootstrap/Dropdown';
|
|
22
|
+
import 'prop-types';
|
|
23
23
|
|
|
24
24
|
var _validateCollection = function (it, TYPE) {
|
|
25
25
|
if (!_isObject(it) || it._t !== TYPE) throw TypeError('Incompatible receiver, ' + TYPE + ' required!');
|
|
26
26
|
return it;
|
|
27
27
|
};
|
|
28
28
|
|
|
29
|
-
var dP = _objectDp.f;
|
|
29
|
+
var dP$1 = _objectDp.f;
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
@@ -109,7 +109,7 @@ var _collectionStrong = {
|
|
|
109
109
|
return !!getEntry(_validateCollection(this, NAME), key);
|
|
110
110
|
}
|
|
111
111
|
});
|
|
112
|
-
if (_descriptors) dP(C.prototype, 'size', {
|
|
112
|
+
if (_descriptors) dP$1(C.prototype, 'size', {
|
|
113
113
|
get: function () {
|
|
114
114
|
return _validateCollection(this, NAME)[SIZE];
|
|
115
115
|
}
|
|
@@ -237,7 +237,7 @@ var _arrayMethods = function (TYPE, $create) {
|
|
|
237
237
|
};
|
|
238
238
|
};
|
|
239
239
|
|
|
240
|
-
var dP
|
|
240
|
+
var dP = _objectDp.f;
|
|
241
241
|
var each = _arrayMethods(0);
|
|
242
242
|
|
|
243
243
|
|
|
@@ -269,7 +269,7 @@ var _collection = function (NAME, wrapper, methods, common, IS_MAP, IS_WEAK) {
|
|
|
269
269
|
return IS_ADDER ? this : result;
|
|
270
270
|
});
|
|
271
271
|
});
|
|
272
|
-
IS_WEAK || dP
|
|
272
|
+
IS_WEAK || dP(C.prototype, 'size', {
|
|
273
273
|
get: function () {
|
|
274
274
|
return this._c.size;
|
|
275
275
|
}
|
|
@@ -289,7 +289,7 @@ var _collection = function (NAME, wrapper, methods, common, IS_MAP, IS_WEAK) {
|
|
|
289
289
|
var SET = 'Set';
|
|
290
290
|
|
|
291
291
|
// 23.2 Set Objects
|
|
292
|
-
|
|
292
|
+
_collection(SET, function (get) {
|
|
293
293
|
return function Set() { return get(this, arguments.length > 0 ? arguments[0] : undefined); };
|
|
294
294
|
}, {
|
|
295
295
|
// 23.2.3.1 Set.prototype.add(value)
|
|
@@ -365,40 +365,40 @@ var _setCollectionFrom = function (COLLECTION) {
|
|
|
365
365
|
// https://tc39.github.io/proposal-setmap-offrom/#sec-set.from
|
|
366
366
|
_setCollectionFrom('Set');
|
|
367
367
|
|
|
368
|
-
var set = _core.Set;
|
|
368
|
+
var set$1 = _core.Set;
|
|
369
369
|
|
|
370
|
-
var set
|
|
371
|
-
module.exports = { "default": set, __esModule: true };
|
|
370
|
+
var set = createCommonjsModule(function (module) {
|
|
371
|
+
module.exports = { "default": set$1, __esModule: true };
|
|
372
372
|
});
|
|
373
373
|
|
|
374
|
-
var _Set = unwrapExports(set
|
|
375
|
-
|
|
376
|
-
/* usage & query
|
|
377
|
-
const Publication = (props) => {
|
|
378
|
-
const { cache, pub, year } = props
|
|
379
|
-
const targeting = {
|
|
380
|
-
content_placement: [`/journals/${pub.identifier.current}`],
|
|
381
|
-
document_url: [`/journals/${pub.identifier.current}`],
|
|
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
|
-
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
|
-
**import urlFor from framework**
|
|
396
|
-
pub.issues.map((issue) => {
|
|
397
|
-
issue.thumbnail = urlFor({client, source: issue.thumbnail})
|
|
398
|
-
})
|
|
399
|
-
return { pub, year }
|
|
400
|
-
}
|
|
401
|
-
export default Publication
|
|
374
|
+
var _Set = unwrapExports(set);
|
|
375
|
+
|
|
376
|
+
/* usage & query
|
|
377
|
+
const Publication = (props) => {
|
|
378
|
+
const { cache, pub, year } = props
|
|
379
|
+
const targeting = {
|
|
380
|
+
content_placement: [`/journals/${pub.identifier.current}`],
|
|
381
|
+
document_url: [`/journals/${pub.identifier.current}`],
|
|
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
|
+
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
|
+
**import urlFor from framework**
|
|
396
|
+
pub.issues.map((issue) => {
|
|
397
|
+
issue.thumbnail = urlFor({client, source: issue.thumbnail})
|
|
398
|
+
})
|
|
399
|
+
return { pub, year }
|
|
400
|
+
}
|
|
401
|
+
export default Publication
|
|
402
402
|
*/
|
|
403
403
|
|
|
404
404
|
var generateContentPlacements = function generateContentPlacements(issues) {
|
|
@@ -421,9 +421,9 @@ var PublicationLanding = function PublicationLanding(props) {
|
|
|
421
421
|
var publication = props.publication,
|
|
422
422
|
_props$year = props.year,
|
|
423
423
|
year = _props$year === undefined ? '' : _props$year,
|
|
424
|
-
href = props.href
|
|
425
|
-
|
|
426
|
-
_props$contentPlaceme = props.contentPlacement,
|
|
424
|
+
href = props.href;
|
|
425
|
+
props.pdf;
|
|
426
|
+
var _props$contentPlaceme = props.contentPlacement,
|
|
427
427
|
contentPlacement = _props$contentPlaceme === undefined ? '' : _props$contentPlaceme,
|
|
428
428
|
client = props.client;
|
|
429
429
|
|
|
@@ -640,10 +640,10 @@ var PublicationLanding = function PublicationLanding(props) {
|
|
|
640
640
|
'\n #pubYearFilter .dropdown-menu.show,\n #contentPlacementFilter .dropdown-menu.show {\n max-height: 25vh;\n overflow: auto;\n }\n '
|
|
641
641
|
),
|
|
642
642
|
React__default.createElement(
|
|
643
|
-
Row
|
|
643
|
+
Row,
|
|
644
644
|
null,
|
|
645
645
|
issueData && issueData.length > 0 && years.length > 0 && React__default.createElement(
|
|
646
|
-
Col
|
|
646
|
+
Col,
|
|
647
647
|
{ className: 'flex-grow-0 mb-3' },
|
|
648
648
|
React__default.createElement(
|
|
649
649
|
Dropdown,
|
|
@@ -672,7 +672,7 @@ var PublicationLanding = function PublicationLanding(props) {
|
|
|
672
672
|
)
|
|
673
673
|
),
|
|
674
674
|
contentPlacements && contentPlacements.length > 0 && React__default.createElement(
|
|
675
|
-
Col
|
|
675
|
+
Col,
|
|
676
676
|
{ className: 'flex-grow-0 mb-3' },
|
|
677
677
|
React__default.createElement(
|
|
678
678
|
Dropdown,
|
|
@@ -706,28 +706,28 @@ var PublicationLanding = function PublicationLanding(props) {
|
|
|
706
706
|
),
|
|
707
707
|
sortedIssues && sortedIssues.length > 0 ? sortedIssues.map(function (issue, key) {
|
|
708
708
|
return React__default.createElement(
|
|
709
|
-
Card
|
|
709
|
+
Card,
|
|
710
710
|
{ key: key, className: 'issueCard' },
|
|
711
711
|
React__default.createElement(
|
|
712
|
-
Row
|
|
712
|
+
Row,
|
|
713
713
|
null,
|
|
714
714
|
React__default.createElement(
|
|
715
|
-
Col
|
|
715
|
+
Col,
|
|
716
716
|
{ md: 3, id: 'issueThumbnail' },
|
|
717
717
|
React__default.createElement(
|
|
718
718
|
LazyLoad,
|
|
719
719
|
{ once: true },
|
|
720
|
-
React__default.createElement(Card
|
|
720
|
+
React__default.createElement(Card.Img, { src: issue.thumbnail })
|
|
721
721
|
)
|
|
722
722
|
),
|
|
723
723
|
React__default.createElement(
|
|
724
|
-
Col
|
|
724
|
+
Col,
|
|
725
725
|
{ md: 9, id: 'issueDetail' },
|
|
726
726
|
React__default.createElement(
|
|
727
|
-
Card
|
|
727
|
+
Card.Body,
|
|
728
728
|
null,
|
|
729
729
|
React__default.createElement(
|
|
730
|
-
Card
|
|
730
|
+
Card.Title,
|
|
731
731
|
null,
|
|
732
732
|
issue.name
|
|
733
733
|
),
|
|
@@ -751,7 +751,7 @@ var PublicationLanding = function PublicationLanding(props) {
|
|
|
751
751
|
)
|
|
752
752
|
),
|
|
753
753
|
React__default.createElement(
|
|
754
|
-
Card
|
|
754
|
+
Card.Footer,
|
|
755
755
|
null,
|
|
756
756
|
issue && issue.articles && issue.articles.length > 0 ? React__default.createElement(
|
|
757
757
|
'a',
|
|
@@ -769,28 +769,28 @@ var PublicationLanding = function PublicationLanding(props) {
|
|
|
769
769
|
);
|
|
770
770
|
}) : !activeContentPlacement && !activeYear && issueData && issueData.length > 0 ? issueData.map(function (issue, key) {
|
|
771
771
|
return React__default.createElement(
|
|
772
|
-
Card
|
|
772
|
+
Card,
|
|
773
773
|
{ key: key, className: 'issueCard' },
|
|
774
774
|
React__default.createElement(
|
|
775
|
-
Row
|
|
775
|
+
Row,
|
|
776
776
|
null,
|
|
777
777
|
React__default.createElement(
|
|
778
|
-
Col
|
|
778
|
+
Col,
|
|
779
779
|
{ md: 3, id: 'issueThumbnail' },
|
|
780
780
|
React__default.createElement(
|
|
781
781
|
LazyLoad,
|
|
782
782
|
{ once: true },
|
|
783
|
-
React__default.createElement(Card
|
|
783
|
+
React__default.createElement(Card.Img, { src: issue.thumbnail })
|
|
784
784
|
)
|
|
785
785
|
),
|
|
786
786
|
React__default.createElement(
|
|
787
|
-
Col
|
|
787
|
+
Col,
|
|
788
788
|
{ md: 9, id: 'issueDetail' },
|
|
789
789
|
React__default.createElement(
|
|
790
|
-
Card
|
|
790
|
+
Card.Body,
|
|
791
791
|
null,
|
|
792
792
|
React__default.createElement(
|
|
793
|
-
Card
|
|
793
|
+
Card.Title,
|
|
794
794
|
null,
|
|
795
795
|
issue.name
|
|
796
796
|
),
|
|
@@ -814,7 +814,7 @@ var PublicationLanding = function PublicationLanding(props) {
|
|
|
814
814
|
)
|
|
815
815
|
),
|
|
816
816
|
React__default.createElement(
|
|
817
|
-
Card
|
|
817
|
+
Card.Footer,
|
|
818
818
|
null,
|
|
819
819
|
issue && issue.articles && issue.articles.length > 0 ? React__default.createElement(
|
|
820
820
|
'a',
|
|
@@ -1,44 +1,43 @@
|
|
|
1
|
-
import './
|
|
2
|
-
import './
|
|
3
|
-
import './
|
|
4
|
-
import './_library-528f1934.js';
|
|
5
|
-
import './_iter-detect-0fa1c752.js';
|
|
6
|
-
import { _ as _toConsumableArray } from './toConsumableArray-81605212.js';
|
|
7
|
-
import './core.get-iterator-method-227107e6.js';
|
|
8
|
-
import './_object-pie-33c40e79.js';
|
|
9
|
-
import { _ as _extends } from './extends-be71a29a.js';
|
|
10
|
-
import './web.dom.iterable-ace8ed30.js';
|
|
1
|
+
import { _ as _slicedToArray } from './slicedToArray-be2f7a22.js';
|
|
2
|
+
import { _ as _toConsumableArray } from './toConsumableArray-6d9a4616.js';
|
|
3
|
+
import { _ as _extends } from './extends-60e0e1c6.js';
|
|
11
4
|
import React__default, { useEffect, useState, useRef } from 'react';
|
|
12
|
-
import '
|
|
13
|
-
import
|
|
14
|
-
import 'prop-types';
|
|
15
|
-
import 'react-bootstrap/Card';
|
|
16
|
-
import { m as moment } from './moment-b6f49411.js';
|
|
17
|
-
import { useRouter } from 'next/router';
|
|
18
|
-
import './isSymbol-1981418f.js';
|
|
19
|
-
import './debounce-89969f66.js';
|
|
20
|
-
import './toNumber-e3dcad26.js';
|
|
5
|
+
import { Container, Media } from 'react-bootstrap';
|
|
6
|
+
import urlFor from './urlFor.js';
|
|
21
7
|
import { I as InfiniteScroll } from './index.es-a6137319.js';
|
|
22
|
-
import '
|
|
8
|
+
import { m as moment } from './moment-bc12cb97.js';
|
|
23
9
|
import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
24
|
-
import './index-
|
|
25
|
-
import
|
|
26
|
-
import { L as LazyLoad } from './index-
|
|
27
|
-
import { m as main_43 } from './main-
|
|
28
|
-
import { c as clean_html_1 } from './entities-
|
|
29
|
-
import {
|
|
30
|
-
import './
|
|
31
|
-
import './
|
|
32
|
-
import './
|
|
33
|
-
import './Beam.js';
|
|
34
|
-
import './AdSlot.js';
|
|
35
|
-
import { A as ADInfeed } from './ADInfeed-77c2092d.js';
|
|
36
|
-
import { l as lodash } from './lodash-a818d390.js';
|
|
37
|
-
import { A as ADlgInfeed } from './ADlgInfeed-12d2ac78.js';
|
|
10
|
+
import { l as lib_3 } from './index-5cc7b406.js';
|
|
11
|
+
import { useRouter } from 'next/router';
|
|
12
|
+
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
13
|
+
import { m as main_43 } from './main-d4165069.js';
|
|
14
|
+
import { c as clean_html_1 } from './entities-932b50cf.js';
|
|
15
|
+
import { A as ADInfeed } from './ADInfeed-4a09242b.js';
|
|
16
|
+
import { A as AuthorComponent } from './AuthorComponent-30aeba69.js';
|
|
17
|
+
import { l as lodash } from './lodash-f97fd99a.js';
|
|
18
|
+
import { A as ADlgInfeed } from './ADlgInfeed-0bff9a62.js';
|
|
38
19
|
import { g as getContentCategory } from './getContentCategory-15dcc413.js';
|
|
39
|
-
import { A as AuthorComponent } from './AuthorComponent-5cab1f6b.js';
|
|
40
|
-
import { Container, Media } from 'react-bootstrap';
|
|
41
20
|
import timeDifferenceCalc from './timeDifferenceCalc.js';
|
|
21
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
22
|
+
import './web.dom.iterable-4109ff68.js';
|
|
23
|
+
import './es6.string.iterator-bc33758b.js';
|
|
24
|
+
import './_to-object-b50e61c3.js';
|
|
25
|
+
import './core.get-iterator-method-133dfacd.js';
|
|
26
|
+
import './_iter-detect-7e5e5ce2.js';
|
|
27
|
+
import './_object-pie-133f504a.js';
|
|
28
|
+
import './index-0dbff1d1.js';
|
|
29
|
+
import 'react-dom';
|
|
30
|
+
import 'prop-types';
|
|
31
|
+
import 'react-bootstrap/Card';
|
|
32
|
+
import './AdSlot.js';
|
|
33
|
+
import './debounce-533d9748.js';
|
|
34
|
+
import './isSymbol-a7e9aafe.js';
|
|
35
|
+
import './toNumber-5aeba6e7.js';
|
|
36
|
+
import './Beam.js';
|
|
37
|
+
import './stringify-59c8f690.js';
|
|
38
|
+
import './asyncToGenerator-7f8f9219.js';
|
|
39
|
+
import './_library-528f1934.js';
|
|
40
|
+
import './Segment.js';
|
|
42
41
|
|
|
43
42
|
var renderCardImage = function renderCardImage(row, client) {
|
|
44
43
|
var imageHeight = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;
|
package/dist/esm/RecentNews.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
|
-
import './
|
|
3
|
-
import
|
|
2
|
+
import { a as FaLongArrowAltRight } from './index.esm-d4932dea.js';
|
|
3
|
+
import './iconBase-ccc56b97.js';
|
|
4
4
|
|
|
5
5
|
var RecentNews = function RecentNews(_ref) {
|
|
6
|
-
|
|
7
|
-
_ref$dataRecord = _ref.dataRecord,
|
|
6
|
+
_ref.client;
|
|
7
|
+
var _ref$dataRecord = _ref.dataRecord,
|
|
8
8
|
dataRecord = _ref$dataRecord === undefined ? [] : _ref$dataRecord,
|
|
9
9
|
_ref$linkTo = _ref.linkTo,
|
|
10
10
|
linkTo = _ref$linkTo === undefined ? '/news' : _ref$linkTo,
|
|
@@ -1,41 +1,41 @@
|
|
|
1
|
-
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
1
|
import React__default from 'react';
|
|
3
|
-
import '
|
|
4
|
-
import { m as moment } from './moment-b6f49411.js';
|
|
5
|
-
import 'react-dom';
|
|
6
|
-
import './index-f7fdcc91.js';
|
|
7
|
-
import urlFor from './urlFor.js';
|
|
8
|
-
import { L as LazyLoad } from './index-5f7e79e7.js';
|
|
2
|
+
import { m as moment } from './moment-bc12cb97.js';
|
|
9
3
|
import 'react-bootstrap/Media';
|
|
4
|
+
import urlFor from './urlFor.js';
|
|
5
|
+
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
6
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
7
|
+
import './index-0dbff1d1.js';
|
|
8
|
+
import 'react-dom';
|
|
9
|
+
import 'prop-types';
|
|
10
10
|
|
|
11
|
-
/*
|
|
12
|
-
Sample query
|
|
13
|
-
let references = ''
|
|
14
|
-
if(article.taxonomyMapping.length > 0){
|
|
15
|
-
article.taxonomyMapping.forEach((ref, index) => {
|
|
16
|
-
references = references + `references('${ref._ref}') `
|
|
17
|
-
if(index+1 !== article.taxonomyMapping.length){
|
|
18
|
-
references = references + ` && `
|
|
19
|
-
}
|
|
20
|
-
})
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
const relatedArticlesQuery = `*[!(_id in path("drafts.**")) && _type == "article" && title !='${article.title}' && defined(title) && is_visible == true && ( references('article.documentGroup._id') || ${references} ) && published <= '${today}'] | order(published desc) [0...4] {
|
|
24
|
-
...,
|
|
25
|
-
title,
|
|
26
|
-
summary,
|
|
27
|
-
thumbnail,
|
|
28
|
-
url,
|
|
29
|
-
published,
|
|
30
|
-
authorMapping[]->,
|
|
31
|
-
contentCategory->
|
|
32
|
-
}`
|
|
33
|
-
const relatedArticles = await client.fetch(relatedArticlesQuery)
|
|
34
|
-
|
|
35
|
-
Sample usage
|
|
36
|
-
<RelatedContent dataRecord={props.relatedArticles} client={client} showAuthor showPublished reverse/>
|
|
37
|
-
|
|
38
|
-
|
|
11
|
+
/*
|
|
12
|
+
Sample query
|
|
13
|
+
let references = ''
|
|
14
|
+
if(article.taxonomyMapping.length > 0){
|
|
15
|
+
article.taxonomyMapping.forEach((ref, index) => {
|
|
16
|
+
references = references + `references('${ref._ref}') `
|
|
17
|
+
if(index+1 !== article.taxonomyMapping.length){
|
|
18
|
+
references = references + ` && `
|
|
19
|
+
}
|
|
20
|
+
})
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
const relatedArticlesQuery = `*[!(_id in path("drafts.**")) && _type == "article" && title !='${article.title}' && defined(title) && is_visible == true && ( references('article.documentGroup._id') || ${references} ) && published <= '${today}'] | order(published desc) [0...4] {
|
|
24
|
+
...,
|
|
25
|
+
title,
|
|
26
|
+
summary,
|
|
27
|
+
thumbnail,
|
|
28
|
+
url,
|
|
29
|
+
published,
|
|
30
|
+
authorMapping[]->,
|
|
31
|
+
contentCategory->
|
|
32
|
+
}`
|
|
33
|
+
const relatedArticles = await client.fetch(relatedArticlesQuery)
|
|
34
|
+
|
|
35
|
+
Sample usage
|
|
36
|
+
<RelatedContent dataRecord={props.relatedArticles} client={client} showAuthor showPublished reverse/>
|
|
37
|
+
|
|
38
|
+
|
|
39
39
|
*/
|
|
40
40
|
var RelatedContent = function RelatedContent(props) {
|
|
41
41
|
var client = props.client,
|
|
@@ -14,16 +14,16 @@ var RelatedTopicsDropdown = function RelatedTopicsDropdown(_ref) {
|
|
|
14
14
|
_ref$className = _ref.className,
|
|
15
15
|
className = _ref$className === undefined ? '' : _ref$className;
|
|
16
16
|
|
|
17
|
-
/*
|
|
18
|
-
Props accepted - parentTaxonomy(required, object), subTaxonomy(required, array), page(optional), exclude(optional), variant(optional), className(optional)
|
|
19
|
-
example:
|
|
20
|
-
<RelatedTopicDropdown
|
|
21
|
-
page='/clinical'
|
|
22
|
-
exclude="clinical"
|
|
23
|
-
className='mb-3'
|
|
24
|
-
parentTaxonomy={props.parentTaxonomy}
|
|
25
|
-
subTaxonomies={props.subTaxonomies}
|
|
26
|
-
/>
|
|
17
|
+
/*
|
|
18
|
+
Props accepted - parentTaxonomy(required, object), subTaxonomy(required, array), page(optional), exclude(optional), variant(optional), className(optional)
|
|
19
|
+
example:
|
|
20
|
+
<RelatedTopicDropdown
|
|
21
|
+
page='/clinical'
|
|
22
|
+
exclude="clinical"
|
|
23
|
+
className='mb-3'
|
|
24
|
+
parentTaxonomy={props.parentTaxonomy}
|
|
25
|
+
subTaxonomies={props.subTaxonomies}
|
|
26
|
+
/>
|
|
27
27
|
*/
|
|
28
28
|
if (subTaxonomies.length === 0 && parentTaxonomy) {
|
|
29
29
|
if (parentTaxonomy.identifier == exclude) {
|