@mjhls/mjh-framework 1.0.949-series-slider-nojs-v2 → 1.0.949
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 +9 -10
- package/dist/cjs/AD300x250.js +26 -28
- package/dist/cjs/AD300x250x600.js +26 -28
- package/dist/cjs/AD728x90.js +29 -31
- package/dist/cjs/ADFloatingFooter.js +29 -31
- package/dist/cjs/ADFooter.js +12 -13
- package/dist/cjs/ADGutter.js +29 -31
- package/dist/cjs/{ADInfeed-44d43b8a.js → ADInfeed-a3fa4967.js} +13 -15
- package/dist/cjs/ADSkyscraper.js +29 -31
- package/dist/cjs/ADSponsoredResources.js +29 -31
- package/dist/cjs/ADWebcast.js +29 -31
- package/dist/cjs/ADWelcome.js +30 -32
- package/dist/cjs/{ADlgInfeed-24d739f6.js → ADlgInfeed-79ce7a02.js} +10 -11
- package/dist/cjs/AccordionPanel.js +27 -29
- package/dist/cjs/AdSlot.js +30 -32
- package/dist/cjs/AdSlotsProvider.js +15 -18
- package/dist/cjs/AlgoliaSearch.js +67 -14331
- package/dist/cjs/AlphabeticList.js +23 -24
- package/dist/cjs/ArticleCarousel.js +19 -20
- package/dist/cjs/ArticleProgramLandingPage.js +58 -60
- package/dist/cjs/ArticleSeriesLandingPage.js +38 -40
- package/dist/cjs/ArticleSeriesListing.js +59 -61
- package/dist/cjs/Auth.js +283 -287
- package/dist/cjs/AuthWrapper.js +150 -61
- package/dist/cjs/{AuthorComponent-39b37d84.js → AuthorComponent-421d5ec1.js} +13 -14
- package/dist/cjs/Beam.js +6 -6
- package/dist/cjs/{BlockContent-9ebd251f.js → BlockContent-bac780ac.js} +55 -56
- package/dist/cjs/Breadcrumbs.js +25 -27
- package/dist/cjs/CMEDeck.js +81 -82
- package/dist/cjs/Column1.js +11 -14
- package/dist/cjs/Column2.js +31 -34
- package/dist/cjs/Column3.js +55 -59
- package/dist/cjs/ConferenceArticleCard.js +39 -40
- package/dist/cjs/ConferenceBanner-4a16fddc.js +23 -0
- package/dist/cjs/ContentCardPaginated.js +87 -92
- package/dist/cjs/DeckContent.js +100 -105
- package/dist/cjs/DeckQueue.js +89 -94
- package/dist/cjs/DeckQueuePaginated.js +81 -86
- package/dist/cjs/{Dfp-9be904d5.js → Dfp-52a869e5.js} +32 -34
- package/dist/cjs/EventsDeck.js +150 -157
- package/dist/cjs/ExternalResources.js +79 -81
- package/dist/cjs/Feature.js +26 -28
- package/dist/cjs/ForbesHero.js +40 -41
- package/dist/cjs/GridContent.js +185 -190
- package/dist/cjs/GridContentPaginated.js +173 -178
- package/dist/cjs/GridHero.js +42 -43
- package/dist/cjs/GroupDeck.js +57 -58
- package/dist/cjs/HamMagazine.js +137 -142
- package/dist/cjs/Header.js +12 -14
- package/dist/cjs/Hero.js +15 -16
- package/dist/cjs/HighlightenVideo.js +17 -18
- package/dist/cjs/HorizontalArticleListing.js +72 -74
- package/dist/cjs/HorizontalHero.js +28 -29
- package/dist/cjs/{ImageSlider-6c00b878.js → ImageSlider-5d7082b9.js} +283 -182
- package/dist/cjs/IssueContentDeck.js +71 -76
- package/dist/cjs/IssueDeck.js +70 -75
- package/dist/cjs/IssueLanding.js +93 -95
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +36 -39
- package/dist/cjs/MasterDeck.js +77 -79
- package/dist/cjs/MasterDeckPaginated.js +68 -70
- package/dist/cjs/{MediaSeriesCard-8f00e7a4.js → MediaSeriesCard-98ef5652.js} +997 -903
- package/dist/cjs/MediaSeriesLanding.js +85 -89
- package/dist/cjs/MediaSeriesLandingPaginated.js +100 -103
- package/dist/cjs/NavDvm.js +72 -77
- package/dist/cjs/{NavFooter-3dcd99a8.js → NavFooter-76c913e3.js} +14 -15
- package/dist/cjs/NavMagazine.js +144 -149
- package/dist/cjs/NavNative.js +135 -143
- package/dist/cjs/OncliveHero.js +21 -22
- package/dist/cjs/OncliveLargeHero.js +70 -71
- package/dist/cjs/PageFilter.js +12 -13
- package/dist/cjs/Pagination-df492888.js +87 -0
- package/dist/cjs/PartnerDetailListing.js +96 -99
- package/dist/cjs/PartnerDetailListingPaginated.js +96 -98
- package/dist/cjs/PdfDownload.js +9 -10
- package/dist/cjs/PopUpModal.js +17 -19
- package/dist/cjs/PubSection.js +40 -42
- package/dist/cjs/PubToc.js +13 -14
- package/dist/cjs/PublicationDeck.js +65 -70
- package/dist/cjs/{PublicationFeature-5ccf9b13.js → PublicationFeature-a54b1d9d.js} +36 -40
- package/dist/cjs/PublicationLanding.js +134 -142
- package/dist/cjs/QueueDeckExpanded.js +308 -309
- package/dist/cjs/QueueDeckExpandedPaginated.js +270 -270
- package/dist/cjs/RecentNews.js +22 -23
- package/dist/cjs/RelatedContent.js +55 -56
- package/dist/cjs/RelatedTopicsDropdown.js +29 -32
- package/dist/cjs/RolesDeck.js +27 -32
- package/dist/cjs/Schema.js +14 -15
- package/dist/cjs/Search.js +16 -20
- package/dist/cjs/Segment.js +4 -4
- package/dist/cjs/SeriesListingDeck.js +34 -35
- package/dist/cjs/{SeriesSlider-74546d19.js → SeriesSlider-372e418f.js} +38 -65
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +36 -37
- package/dist/cjs/SocialIcons.js +9 -10
- package/dist/cjs/{SocialSearchComponent-b7faaedc.js → SocialSearchComponent-e5196fc1.js} +36 -40
- package/dist/cjs/SocialShare.js +29 -31
- package/dist/cjs/TaxonomyCard.js +61 -66
- package/dist/cjs/TaxonomyDescription.js +54 -56
- package/dist/cjs/TemplateNormal.js +71 -73
- package/dist/cjs/ThumbnailCard.js +24 -26
- package/dist/cjs/Ustream.js +29 -30
- package/dist/cjs/VerticalHero.js +19 -20
- package/dist/cjs/VideoProgramLandingPage.js +73 -78
- package/dist/cjs/VideoSeriesCard.js +33 -34
- package/dist/cjs/VideoSeriesFilter.js +16 -16
- package/dist/cjs/VideoSeriesLandingPage.js +48 -50
- package/dist/cjs/VideoSeriesListing.js +76 -78
- package/dist/cjs/View.js +314 -323
- package/dist/cjs/YahooHero.js +39 -40
- package/dist/cjs/YoutubeGroup.js +62 -63
- package/dist/cjs/{_is-array-54228b29.js → _is-array-bd978497.js} +6 -6
- package/dist/cjs/{_iter-detect-b1df62f0.js → _iter-detect-ee3d4802.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-fee50a62.js} +1 -1
- package/dist/cjs/{_object-to-array-ce86cae7.js → _object-to-array-18379aba.js} +2 -2
- package/dist/cjs/{asyncToGenerator-77821af0.js → asyncToGenerator-15014394.js} +30 -30
- package/dist/cjs/{brightcove-react-player-loader.es-a195642e.js → brightcove-react-player-loader.es-05029198.js} +6 -7
- package/dist/cjs/{core.get-iterator-method-5643aa10.js → core.get-iterator-method-5cb3af28.js} +33 -33
- package/dist/cjs/{debounce-d4a2369b.js → debounce-6191c8ee.js} +2 -2
- package/dist/cjs/{define-property-e8404b64.js → define-property-530a5e9e.js} +6 -6
- package/dist/cjs/{defineProperty-9673846a.js → defineProperty-5ca424cd.js} +1 -1
- package/dist/cjs/{entities-df1aed86.js → entities-fb0c6568.js} +1 -1
- package/dist/cjs/{eq-5fc26c07.js → eq-bb2843ed.js} +1 -1
- package/dist/cjs/{extends-7c86182f.js → extends-1d905ddb.js} +7 -7
- package/dist/cjs/faundadb.js +5 -5
- package/dist/cjs/{get-5839e5b5.js → get-adbb11e3.js} +21 -21
- package/dist/cjs/getRelatedArticle.js +16 -16
- package/dist/cjs/getRootDocGroup.js +4 -4
- package/dist/cjs/getSerializers.js +45 -46
- package/dist/cjs/{getTargeting-dab97fe1.js → getTargeting-091ec6c8.js} +11 -11
- package/dist/cjs/getTargeting.js +6 -6
- package/dist/{esm/iconBase-ccc56b97.js → cjs/iconBase-68959171.js} +8 -2
- package/dist/cjs/{index-f86bb269.js → index-79eed652.js} +6 -6
- package/dist/cjs/{index-fc2f1ca2.js → index-8bf6c863.js} +476 -12
- package/dist/cjs/{index-eadd5035.js → index-96b3db50.js} +15 -17
- package/dist/cjs/{index-45a704a9.js → index-b7f1158b.js} +591 -603
- package/dist/cjs/{index-d48b231c.js → index-ff69979f.js} +3 -3
- package/dist/cjs/{index.es-f3e47207.js → index.es-e9d84959.js} +7 -8
- 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-2bb721c8.js → index.esm-bf016399.js} +18 -19
- package/dist/cjs/{index.esm-d51c9ac6.js → index.esm-f93506ac.js} +1 -1
- package/dist/cjs/index.js +231 -237
- package/dist/cjs/{inherits-de66ea16.js → inherits-07da6623.js} +21 -21
- package/dist/cjs/{isSymbol-03abbdf0.js → isSymbol-04666465.js} +15 -15
- package/dist/cjs/{keys-e982b3fa.js → keys-91f31941.js} +6 -6
- package/dist/cjs/{lodash-f0783643.js → lodash-b5e0d5f6.js} +1 -1
- package/dist/cjs/{main-f1c77adb.js → main-bc7d4bf8.js} +69 -70
- package/dist/cjs/{moment-aca40de1.js → moment-ca3bd9fb.js} +1 -1
- package/dist/cjs/{react-social-icons-af932527.js → react-social-icons-f7f48f71.js} +27 -28
- package/dist/cjs/{slicedToArray-067dd3bc.js → slicedToArray-0a78cdf3.js} +12 -12
- package/dist/cjs/{smoothscroll-99df7f93.js → smoothscroll-5054361f.js} +1 -1
- package/dist/cjs/{stringify-f7a37a8d.js → stringify-13405ce2.js} +5 -5
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-d7797c2b.js → toConsumableArray-39fd0757.js} +7 -7
- package/dist/cjs/{toNumber-5e1fac58.js → toNumber-f2f8744b.js} +1 -1
- package/dist/cjs/{typeof-567e31ff.js → typeof-3dd6d3df.js} +35 -35
- package/dist/cjs/urlFor.js +6 -6
- package/dist/cjs/{urlForFile-29d3815a.js → urlForFile-0e7175d9.js} +1 -1
- package/dist/cjs/{ustream-api-3819e4aa.js → ustream-api-5619c1fa.js} +4 -4
- package/dist/cjs/{util-93a37fd0.js → util-f2c1b65b.js} +1 -12
- package/dist/cjs/{visibility-sensor-eb2c5b69.js → visibility-sensor-ad5e3116.js} +5 -7
- package/dist/cjs/{web.dom.iterable-d98303e0.js → web.dom.iterable-a9359910.js} +2 -2
- package/dist/esm/AD.js +1 -1
- package/dist/esm/AD300x250.js +20 -21
- package/dist/esm/AD300x250x600.js +20 -21
- package/dist/esm/AD728x90.js +22 -23
- package/dist/esm/ADFloatingFooter.js +20 -21
- package/dist/esm/ADFooter.js +4 -4
- package/dist/esm/ADGutter.js +20 -21
- package/dist/esm/{ADInfeed-7af1f934.js → ADInfeed-8153cd02.js} +4 -4
- package/dist/esm/ADSkyscraper.js +20 -21
- package/dist/esm/ADSponsoredResources.js +20 -21
- package/dist/esm/ADWebcast.js +20 -21
- package/dist/esm/ADWelcome.js +17 -18
- package/dist/esm/{ADlgInfeed-ebcafb85.js → ADlgInfeed-72aadf98.js} +4 -4
- package/dist/esm/AccordionPanel.js +6 -6
- package/dist/esm/AdSlot.js +19 -20
- package/dist/esm/AdSlotsProvider.js +9 -10
- package/dist/esm/AlgoliaSearch.js +24 -14287
- package/dist/esm/AlphabeticList.js +8 -8
- package/dist/esm/ArticleCarousel.js +13 -13
- package/dist/esm/ArticleProgramLandingPage.js +49 -50
- package/dist/esm/ArticleSeriesLandingPage.js +29 -30
- package/dist/esm/ArticleSeriesListing.js +30 -31
- package/dist/esm/Auth.js +199 -199
- package/dist/esm/AuthWrapper.js +120 -30
- package/dist/esm/{AuthorComponent-11adff02.js → AuthorComponent-2277b67c.js} +1 -1
- package/dist/esm/Beam.js +6 -6
- package/dist/esm/{BlockContent-1e73bd2c.js → BlockContent-ea93e8f7.js} +34 -34
- package/dist/esm/Breadcrumbs.js +5 -5
- package/dist/esm/CMEDeck.js +21 -22
- package/dist/esm/Column2.js +14 -14
- package/dist/esm/Column3.js +28 -29
- package/dist/esm/ConferenceArticleCard.js +25 -25
- package/dist/esm/ContentCardPaginated.js +35 -35
- package/dist/esm/DeckContent.js +38 -39
- package/dist/esm/DeckQueue.js +28 -29
- package/dist/esm/DeckQueuePaginated.js +31 -31
- package/dist/esm/{Dfp-102f0beb.js → Dfp-8ff435f8.js} +12 -13
- package/dist/esm/EventsDeck.js +41 -41
- package/dist/esm/ExternalResources.js +46 -47
- package/dist/esm/Feature.js +6 -6
- package/dist/esm/ForbesHero.js +10 -10
- package/dist/esm/GridContent.js +42 -43
- package/dist/esm/GridContentPaginated.js +43 -43
- package/dist/esm/GridHero.js +11 -11
- package/dist/esm/GroupDeck.js +12 -12
- package/dist/esm/HamMagazine.js +32 -32
- package/dist/esm/Hero.js +7 -7
- package/dist/esm/HighlightenVideo.js +2 -2
- package/dist/esm/HorizontalArticleListing.js +47 -48
- package/dist/esm/HorizontalHero.js +8 -8
- package/dist/esm/{ImageSlider-f84174cb.js → ImageSlider-f34519d8.js} +134 -32
- package/dist/esm/IssueContentDeck.js +11 -11
- package/dist/esm/IssueDeck.js +13 -13
- package/dist/esm/IssueLanding.js +84 -85
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +19 -20
- package/dist/esm/MasterDeck.js +38 -39
- package/dist/esm/MasterDeckPaginated.js +40 -40
- package/dist/esm/{MediaSeriesCard-a545b490.js → MediaSeriesCard-226746ca.js} +374 -278
- package/dist/esm/MediaSeriesLanding.js +55 -57
- package/dist/esm/MediaSeriesLandingPaginated.js +61 -62
- package/dist/esm/NavDvm.js +11 -11
- package/dist/esm/NavMagazine.js +37 -37
- package/dist/esm/NavNative.js +35 -35
- package/dist/esm/OncliveHero.js +7 -7
- package/dist/esm/OncliveLargeHero.js +11 -11
- package/dist/esm/PageFilter.js +4 -4
- package/dist/esm/Pagination-4c847101.js +82 -0
- package/dist/esm/PartnerDetailListing.js +58 -60
- package/dist/esm/PartnerDetailListingPaginated.js +58 -59
- package/dist/esm/PdfDownload.js +2 -2
- package/dist/esm/PopUpModal.js +4 -4
- package/dist/esm/PubSection.js +32 -33
- package/dist/esm/PubToc.js +6 -6
- package/dist/esm/PublicationDeck.js +10 -10
- package/dist/esm/{PublicationFeature-d88e76b9.js → PublicationFeature-99f26b5e.js} +2 -2
- package/dist/esm/PublicationLanding.js +53 -57
- package/dist/esm/QueueDeckExpanded.js +33 -34
- package/dist/esm/QueueDeckExpandedPaginated.js +35 -35
- package/dist/esm/RecentNews.js +4 -4
- package/dist/esm/RelatedContent.js +38 -38
- package/dist/esm/RelatedTopicsDropdown.js +10 -10
- package/dist/esm/Schema.js +10 -10
- package/dist/esm/Search.js +5 -5
- package/dist/esm/Segment.js +4 -4
- package/dist/esm/SeriesListingDeck.js +17 -18
- package/dist/esm/{SeriesSlider-e495571f.js → SeriesSlider-88c4133d.js} +13 -39
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +15 -15
- package/dist/esm/{SocialSearchComponent-4b56cd8c.js → SocialSearchComponent-1a2b7ff8.js} +6 -6
- package/dist/esm/TaxonomyCard.js +12 -12
- package/dist/esm/TaxonomyDescription.js +45 -46
- package/dist/esm/TemplateNormal.js +45 -46
- package/dist/esm/ThumbnailCard.js +10 -10
- package/dist/esm/Ustream.js +18 -18
- package/dist/esm/VerticalHero.js +6 -6
- package/dist/esm/VideoProgramLandingPage.js +50 -51
- package/dist/esm/VideoSeriesCard.js +14 -14
- package/dist/esm/VideoSeriesFilter.js +7 -7
- package/dist/esm/VideoSeriesLandingPage.js +35 -36
- package/dist/esm/VideoSeriesListing.js +30 -31
- package/dist/esm/View.js +109 -114
- package/dist/esm/YahooHero.js +13 -13
- package/dist/esm/YoutubeGroup.js +16 -16
- package/dist/esm/{_is-array-8d21b9e3.js → _is-array-8914b83f.js} +6 -6
- package/dist/esm/{_iter-detect-98db3b07.js → _iter-detect-13e31915.js} +7 -7
- package/dist/esm/{_object-pie-133f504a.js → _object-pie-33c40e79.js} +4 -4
- package/dist/esm/{_object-sap-7cee6f84.js → _object-sap-fc9da7e8.js} +1 -1
- package/dist/esm/{_object-to-array-2300e51b.js → _object-to-array-ee8f6d98.js} +2 -2
- package/dist/esm/{asyncToGenerator-958ef5fc.js → asyncToGenerator-ff459dfa.js} +30 -30
- package/dist/esm/{core.get-iterator-method-ea258bb1.js → core.get-iterator-method-0fb60d94.js} +34 -34
- package/dist/esm/{debounce-533d9748.js → debounce-89969f66.js} +2 -2
- package/dist/esm/define-property-73034847.js +18 -0
- package/dist/esm/{defineProperty-8c30428f.js → defineProperty-e66a2c7c.js} +1 -1
- package/dist/esm/{entities-6d9154b4.js → entities-731f3fdb.js} +1 -1
- package/dist/esm/{eq-bdcbf886.js → eq-b470f743.js} +1 -1
- package/dist/esm/{extends-6d8e3924.js → extends-9a61581c.js} +7 -7
- package/dist/esm/faundadb.js +5 -5
- package/dist/esm/{get-3c308da4.js → get-1e515072.js} +21 -21
- package/dist/esm/getRelatedArticle.js +11 -11
- package/dist/esm/getRootDocGroup.js +4 -4
- package/dist/esm/getSerializers.js +45 -46
- package/dist/esm/{getTargeting-04d979c9.js → getTargeting-c43ad0eb.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-79cfd25c.js → index-511bdaa5.js} +6 -6
- package/dist/esm/{index-755f2cc2.js → index-5f7e79e7.js} +6 -6
- package/dist/esm/{index-497db308.js → index-5fdafd5b.js} +120 -120
- package/dist/esm/{index-f0fc23eb.js → index-a9e53f80.js} +469 -4
- package/dist/esm/{index-3f5c03b2.js → index-f7fdcc91.js} +3 -3
- package/dist/esm/{index.esm-eb1e8e80.js → index.esm-55f22b35.js} +1 -1
- 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.esm-37268dca.js → index.esm-ed50151c.js} +2 -2
- package/dist/esm/index.js +123 -125
- package/dist/esm/{inherits-a6ba2ec4.js → inherits-eeaf6740.js} +18 -18
- package/dist/esm/{isSymbol-a7e9aafe.js → isSymbol-1981418f.js} +15 -15
- package/dist/esm/{keys-31dcdb31.js → keys-a5ffafe7.js} +6 -6
- package/dist/esm/{lodash-f97fd99a.js → lodash-a818d390.js} +1 -1
- package/dist/esm/{main-1894c974.js → main-ede573ee.js} +53 -53
- package/dist/esm/{moment-bc12cb97.js → moment-b6f49411.js} +1 -1
- package/dist/esm/{react-social-icons-9be47857.js → react-social-icons-a7d5c5c7.js} +16 -16
- package/dist/esm/{slicedToArray-6ebcbfea.js → slicedToArray-9c3bb613.js} +12 -12
- package/dist/esm/{smoothscroll-fa4e3f8c.js → smoothscroll-0cd4c7a6.js} +1 -1
- package/dist/esm/stringify-ebc16384.js +15 -0
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-f7074d7c.js → toConsumableArray-e333293f.js} +7 -7
- package/dist/esm/{toNumber-5aeba6e7.js → toNumber-e3dcad26.js} +1 -1
- package/dist/esm/{typeof-e9fc0c5d.js → typeof-938ae770.js} +35 -35
- package/dist/esm/urlFor.js +4 -4
- package/dist/esm/{urlForFile-b69adffc.js → urlForFile-f1fe0b74.js} +1 -1
- package/dist/esm/{ustream-api-d3714624.js → ustream-api-d325d196.js} +4 -4
- package/dist/esm/{util-8ed16d48.js → util-7700fc59.js} +1 -12
- package/dist/esm/{web.dom.iterable-ab4dea5c.js → web.dom.iterable-6b037ff9.js} +2 -2
- package/package.json +115 -115
- package/dist/cjs/ConferenceBanner-6c9e718a.js +0 -24
- package/dist/cjs/Pagination-42f92f7c.js +0 -97
- package/dist/cjs/defineProperty-e0fb52c5.js +0 -73
- package/dist/cjs/events-1b438fe7.js +0 -469
- package/dist/cjs/index-50be6759.js +0 -105
- package/dist/cjs/typeof-1358762e.js +0 -33
- package/dist/esm/Pagination-484b86c5.js +0 -90
- package/dist/esm/define-property-5f1bda73.js +0 -18
- package/dist/esm/defineProperty-23a8f8cd.js +0 -68
- package/dist/esm/events-6c3a7a63.js +0 -467
- package/dist/esm/index-98ca9cec.js +0 -100
- package/dist/esm/stringify-2b084bee.js +0 -15
- package/dist/esm/typeof-2f07d0e8.js +0 -30
- package/dist/esm/{brightcove-react-player-loader.es-57a70a56.js → brightcove-react-player-loader.es-e761d404.js} +1 -1
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { b as _anInstance, c as _forOf, d as _redefineAll, e as _setSpecies, _ as _asyncToGenerator, r as regenerator, a as _Promise } from './asyncToGenerator-958ef5fc.js';
|
|
2
|
-
import { _ as _extends } from './extends-6d8e3924.js';
|
|
3
|
-
import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
4
1
|
import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
5
|
-
import { b as _isObject, c as
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import { _ as _toConsumableArray } from './toConsumableArray-
|
|
2
|
+
import { b as _isObject, c as _objectCreate, d as _ctx, e as _descriptors, f as _iterDefine, g as _objectDp, h as _wks, i as _toObject, j as _iobject, k as _toLength, l as _global, m as _fails, n as _hide, o as _setToStringTag, _ as _export, p as _classof, q as _aFunction, a as _core } from './core.get-iterator-method-0fb60d94.js';
|
|
3
|
+
import './_library-528f1934.js';
|
|
4
|
+
import './_iter-detect-13e31915.js';
|
|
5
|
+
import { _ as _toConsumableArray } from './toConsumableArray-e333293f.js';
|
|
6
|
+
import './_object-pie-33c40e79.js';
|
|
7
|
+
import { _ as _extends } from './extends-9a61581c.js';
|
|
8
|
+
import { _ as _iterStep } from './web.dom.iterable-6b037ff9.js';
|
|
9
|
+
import { _ as _meta, a as _isArray } from './_is-array-8914b83f.js';
|
|
9
10
|
import React__default, { useState, useEffect } from 'react';
|
|
11
|
+
import 'prop-types';
|
|
10
12
|
import Row from 'react-bootstrap/Row';
|
|
11
13
|
import Col from 'react-bootstrap/Col';
|
|
12
|
-
import Dropdown from 'react-bootstrap/Dropdown';
|
|
13
14
|
import Card from 'react-bootstrap/Card';
|
|
14
15
|
import { useRouter } from 'next/router';
|
|
15
|
-
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
16
|
-
import { u as urlForFile } from './urlForFile-b69adffc.js';
|
|
17
|
-
import './_library-528f1934.js';
|
|
18
|
-
import './_iter-detect-98db3b07.js';
|
|
19
|
-
import './_object-pie-133f504a.js';
|
|
20
16
|
import 'react-dom';
|
|
21
|
-
import '
|
|
17
|
+
import { _ as _slicedToArray } from './slicedToArray-9c3bb613.js';
|
|
18
|
+
import { L as LazyLoad } from './index-5f7e79e7.js';
|
|
19
|
+
import { b as _anInstance, c as _forOf, d as _redefineAll, e as _setSpecies, _ as _asyncToGenerator, r as regenerator, a as _Promise } from './asyncToGenerator-ff459dfa.js';
|
|
20
|
+
import { u as urlForFile } from './urlForFile-f1fe0b74.js';
|
|
21
|
+
import Dropdown from 'react-bootstrap/Dropdown';
|
|
22
22
|
|
|
23
23
|
var _validateCollection = function (it, TYPE) {
|
|
24
24
|
if (!_isObject(it) || it._t !== TYPE) throw TypeError('Incompatible receiver, ' + TYPE + ' required!');
|
|
25
25
|
return it;
|
|
26
26
|
};
|
|
27
27
|
|
|
28
|
-
var dP
|
|
28
|
+
var dP = _objectDp.f;
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
|
|
@@ -108,7 +108,7 @@ var _collectionStrong = {
|
|
|
108
108
|
return !!getEntry(_validateCollection(this, NAME), key);
|
|
109
109
|
}
|
|
110
110
|
});
|
|
111
|
-
if (_descriptors) dP
|
|
111
|
+
if (_descriptors) dP(C.prototype, 'size', {
|
|
112
112
|
get: function () {
|
|
113
113
|
return _validateCollection(this, NAME)[SIZE];
|
|
114
114
|
}
|
|
@@ -168,10 +168,6 @@ var _collectionStrong = {
|
|
|
168
168
|
_setSpecies(NAME);
|
|
169
169
|
}
|
|
170
170
|
};
|
|
171
|
-
_collectionStrong.getConstructor;
|
|
172
|
-
_collectionStrong.def;
|
|
173
|
-
_collectionStrong.getEntry;
|
|
174
|
-
_collectionStrong.setStrong;
|
|
175
171
|
|
|
176
172
|
var SPECIES = _wks('species');
|
|
177
173
|
|
|
@@ -240,7 +236,7 @@ var _arrayMethods = function (TYPE, $create) {
|
|
|
240
236
|
};
|
|
241
237
|
};
|
|
242
238
|
|
|
243
|
-
var dP = _objectDp.f;
|
|
239
|
+
var dP$1 = _objectDp.f;
|
|
244
240
|
var each = _arrayMethods(0);
|
|
245
241
|
|
|
246
242
|
|
|
@@ -272,7 +268,7 @@ var _collection = function (NAME, wrapper, methods, common, IS_MAP, IS_WEAK) {
|
|
|
272
268
|
return IS_ADDER ? this : result;
|
|
273
269
|
});
|
|
274
270
|
});
|
|
275
|
-
IS_WEAK || dP(C.prototype, 'size', {
|
|
271
|
+
IS_WEAK || dP$1(C.prototype, 'size', {
|
|
276
272
|
get: function () {
|
|
277
273
|
return this._c.size;
|
|
278
274
|
}
|
|
@@ -292,7 +288,7 @@ var _collection = function (NAME, wrapper, methods, common, IS_MAP, IS_WEAK) {
|
|
|
292
288
|
var SET = 'Set';
|
|
293
289
|
|
|
294
290
|
// 23.2 Set Objects
|
|
295
|
-
_collection(SET, function (get) {
|
|
291
|
+
var es6_set = _collection(SET, function (get) {
|
|
296
292
|
return function Set() { return get(this, arguments.length > 0 ? arguments[0] : undefined); };
|
|
297
293
|
}, {
|
|
298
294
|
// 23.2.3.1 Set.prototype.add(value)
|
|
@@ -368,40 +364,40 @@ var _setCollectionFrom = function (COLLECTION) {
|
|
|
368
364
|
// https://tc39.github.io/proposal-setmap-offrom/#sec-set.from
|
|
369
365
|
_setCollectionFrom('Set');
|
|
370
366
|
|
|
371
|
-
var set
|
|
367
|
+
var set = _core.Set;
|
|
372
368
|
|
|
373
|
-
var set = createCommonjsModule(function (module) {
|
|
374
|
-
module.exports = { "default": set
|
|
369
|
+
var set$1 = createCommonjsModule(function (module) {
|
|
370
|
+
module.exports = { "default": set, __esModule: true };
|
|
375
371
|
});
|
|
376
372
|
|
|
377
|
-
var _Set = unwrapExports(set);
|
|
378
|
-
|
|
379
|
-
/* usage & query
|
|
380
|
-
const Publication = (props) => {
|
|
381
|
-
const { cache, pub, year } = props
|
|
382
|
-
const targeting = {
|
|
383
|
-
content_placement: [`/journals/${pub.identifier.current}`],
|
|
384
|
-
document_url: [`/journals/${pub.identifier.current}`],
|
|
385
|
-
}
|
|
386
|
-
return (
|
|
387
|
-
<Shell title={pub.name} cache={cache} settings={Settings} targeting={targeting} ads={Ads} layout='3'>
|
|
388
|
-
<PublicationLanding publication={pub} year={year} href={'journals'} />
|
|
389
|
-
</Shell>
|
|
390
|
-
)
|
|
391
|
-
}
|
|
392
|
-
Publication.getInitialProps = async (ctx) => {
|
|
393
|
-
const { query } = ctx
|
|
394
|
-
const {
|
|
395
|
-
query: { year },
|
|
396
|
-
} = ctx
|
|
397
|
-
const pub = await client.fetch(getQuery('publication'), query)
|
|
398
|
-
**import urlFor from framework**
|
|
399
|
-
pub.issues.map((issue) => {
|
|
400
|
-
issue.thumbnail = urlFor({client, source: issue.thumbnail})
|
|
401
|
-
})
|
|
402
|
-
return { pub, year }
|
|
403
|
-
}
|
|
404
|
-
export default Publication
|
|
373
|
+
var _Set = unwrapExports(set$1);
|
|
374
|
+
|
|
375
|
+
/* usage & query
|
|
376
|
+
const Publication = (props) => {
|
|
377
|
+
const { cache, pub, year } = props
|
|
378
|
+
const targeting = {
|
|
379
|
+
content_placement: [`/journals/${pub.identifier.current}`],
|
|
380
|
+
document_url: [`/journals/${pub.identifier.current}`],
|
|
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
|
+
Publication.getInitialProps = async (ctx) => {
|
|
389
|
+
const { query } = ctx
|
|
390
|
+
const {
|
|
391
|
+
query: { year },
|
|
392
|
+
} = ctx
|
|
393
|
+
const pub = await client.fetch(getQuery('publication'), query)
|
|
394
|
+
**import urlFor from framework**
|
|
395
|
+
pub.issues.map((issue) => {
|
|
396
|
+
issue.thumbnail = urlFor({client, source: issue.thumbnail})
|
|
397
|
+
})
|
|
398
|
+
return { pub, year }
|
|
399
|
+
}
|
|
400
|
+
export default Publication
|
|
405
401
|
*/
|
|
406
402
|
|
|
407
403
|
var generateContentPlacements = function generateContentPlacements(issues) {
|
|
@@ -424,9 +420,9 @@ var PublicationLanding = function PublicationLanding(props) {
|
|
|
424
420
|
var publication = props.publication,
|
|
425
421
|
_props$year = props.year,
|
|
426
422
|
year = _props$year === undefined ? '' : _props$year,
|
|
427
|
-
href = props.href
|
|
428
|
-
props.pdf
|
|
429
|
-
|
|
423
|
+
href = props.href,
|
|
424
|
+
pdf = props.pdf,
|
|
425
|
+
_props$contentPlaceme = props.contentPlacement,
|
|
430
426
|
contentPlacement = _props$contentPlaceme === undefined ? '' : _props$contentPlaceme,
|
|
431
427
|
client = props.client;
|
|
432
428
|
|
|
@@ -1,42 +1,41 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
+
import './core.get-iterator-method-0fb60d94.js';
|
|
3
|
+
import './_library-528f1934.js';
|
|
4
|
+
import './_iter-detect-13e31915.js';
|
|
5
|
+
import { _ as _toConsumableArray } from './toConsumableArray-e333293f.js';
|
|
6
|
+
import './_object-pie-33c40e79.js';
|
|
7
|
+
import { _ as _extends } from './extends-9a61581c.js';
|
|
8
|
+
import './web.dom.iterable-6b037ff9.js';
|
|
4
9
|
import React__default, { useEffect, useState, useRef } from 'react';
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
10
|
+
import { l as lib_3 } from './index-a9e53f80.js';
|
|
11
|
+
import 'prop-types';
|
|
12
|
+
import 'react-bootstrap/Card';
|
|
13
|
+
import { m as moment } from './moment-b6f49411.js';
|
|
14
|
+
import { useRouter } from 'next/router';
|
|
15
|
+
import './isSymbol-1981418f.js';
|
|
16
|
+
import './debounce-89969f66.js';
|
|
17
|
+
import './toNumber-e3dcad26.js';
|
|
7
18
|
import { I as InfiniteScroll } from './index.es-a6137319.js';
|
|
8
|
-
import
|
|
19
|
+
import 'react-dom';
|
|
9
20
|
import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
10
|
-
import {
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import
|
|
21
|
+
import { _ as _slicedToArray } from './slicedToArray-9c3bb613.js';
|
|
22
|
+
import './index-f7fdcc91.js';
|
|
23
|
+
import urlFor from './urlFor.js';
|
|
24
|
+
import { L as LazyLoad } from './index-5f7e79e7.js';
|
|
25
|
+
import { m as main_43 } from './main-ede573ee.js';
|
|
26
|
+
import { c as clean_html_1 } from './entities-731f3fdb.js';
|
|
27
|
+
import './stringify-ebc16384.js';
|
|
28
|
+
import './asyncToGenerator-ff459dfa.js';
|
|
29
|
+
import './Segment.js';
|
|
30
|
+
import './Beam.js';
|
|
31
|
+
import './AdSlot.js';
|
|
32
|
+
import { A as ADInfeed } from './ADInfeed-8153cd02.js';
|
|
33
|
+
import { l as lodash } from './lodash-a818d390.js';
|
|
34
|
+
import { A as ADlgInfeed } from './ADlgInfeed-72aadf98.js';
|
|
19
35
|
import { g as getContentCategory } from './getContentCategory-15dcc413.js';
|
|
36
|
+
import { A as AuthorComponent } from './AuthorComponent-2277b67c.js';
|
|
37
|
+
import { Container, Media } from 'react-bootstrap';
|
|
20
38
|
import timeDifferenceCalc from './timeDifferenceCalc.js';
|
|
21
|
-
import './_commonjsHelpers-0c4b6f40.js';
|
|
22
|
-
import './web.dom.iterable-ab4dea5c.js';
|
|
23
|
-
import './core.get-iterator-method-ea258bb1.js';
|
|
24
|
-
import './_iter-detect-98db3b07.js';
|
|
25
|
-
import './_object-pie-133f504a.js';
|
|
26
|
-
import './index-3f5c03b2.js';
|
|
27
|
-
import 'react-dom';
|
|
28
|
-
import './events-6c3a7a63.js';
|
|
29
|
-
import 'prop-types';
|
|
30
|
-
import 'react-bootstrap/Card';
|
|
31
|
-
import './AdSlot.js';
|
|
32
|
-
import './debounce-533d9748.js';
|
|
33
|
-
import './isSymbol-a7e9aafe.js';
|
|
34
|
-
import './toNumber-5aeba6e7.js';
|
|
35
|
-
import './Beam.js';
|
|
36
|
-
import './stringify-2b084bee.js';
|
|
37
|
-
import './asyncToGenerator-958ef5fc.js';
|
|
38
|
-
import './_library-528f1934.js';
|
|
39
|
-
import './Segment.js';
|
|
40
39
|
|
|
41
40
|
var renderCardImage = function renderCardImage(row, client) {
|
|
42
41
|
var imageHeight = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;
|
|
@@ -1,44 +1,44 @@
|
|
|
1
|
-
import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-958ef5fc.js';
|
|
2
|
-
import { _ as _extends } from './extends-6d8e3924.js';
|
|
3
|
-
import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
4
|
-
import { _ as _toConsumableArray } from './toConsumableArray-f7074d7c.js';
|
|
5
|
-
import React__default, { useState, useEffect, useRef } from 'react';
|
|
6
|
-
import { Spinner, Container, Media } from 'react-bootstrap';
|
|
7
|
-
import { m as moment } from './moment-bc12cb97.js';
|
|
8
|
-
import { l as lib_3 } from './index-f0fc23eb.js';
|
|
9
|
-
import { useRouter } from 'next/router';
|
|
10
|
-
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
11
|
-
import { l as lodash } from './lodash-f97fd99a.js';
|
|
12
|
-
import { m as main_43 } from './main-1894c974.js';
|
|
13
|
-
import { c as clean_html_1 } from './entities-6d9154b4.js';
|
|
14
|
-
import { A as ADInfeed } from './ADInfeed-7af1f934.js';
|
|
15
|
-
import { A as AuthorComponent } from './AuthorComponent-11adff02.js';
|
|
16
|
-
import { A as ADlgInfeed } from './ADlgInfeed-ebcafb85.js';
|
|
17
|
-
import { g as getContentCategory } from './getContentCategory-15dcc413.js';
|
|
18
|
-
import timeDifferenceCalc from './timeDifferenceCalc.js';
|
|
19
|
-
import urlFor from './urlFor.js';
|
|
20
|
-
import { P as Pagination } from './Pagination-484b86c5.js';
|
|
21
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
22
|
-
import './core.get-iterator-method-
|
|
23
|
-
import './web.dom.iterable-ab4dea5c.js';
|
|
2
|
+
import './core.get-iterator-method-0fb60d94.js';
|
|
24
3
|
import './_library-528f1934.js';
|
|
25
|
-
import './_iter-detect-
|
|
26
|
-
import './
|
|
27
|
-
import './
|
|
4
|
+
import './_iter-detect-13e31915.js';
|
|
5
|
+
import { _ as _toConsumableArray } from './toConsumableArray-e333293f.js';
|
|
6
|
+
import './_object-pie-33c40e79.js';
|
|
7
|
+
import { _ as _extends } from './extends-9a61581c.js';
|
|
8
|
+
import './web.dom.iterable-6b037ff9.js';
|
|
9
|
+
import React__default, { useState, useEffect, useRef } from 'react';
|
|
10
|
+
import { l as lib_3 } from './index-a9e53f80.js';
|
|
28
11
|
import 'prop-types';
|
|
29
|
-
import 'react-dom';
|
|
30
12
|
import 'react-bootstrap/Card';
|
|
31
|
-
import './
|
|
32
|
-
import '
|
|
33
|
-
import './isSymbol-
|
|
34
|
-
import './
|
|
35
|
-
import './
|
|
36
|
-
import '
|
|
13
|
+
import { m as moment } from './moment-b6f49411.js';
|
|
14
|
+
import { useRouter } from 'next/router';
|
|
15
|
+
import './isSymbol-1981418f.js';
|
|
16
|
+
import './debounce-89969f66.js';
|
|
17
|
+
import './toNumber-e3dcad26.js';
|
|
18
|
+
import 'react-dom';
|
|
19
|
+
import { _ as _slicedToArray } from './slicedToArray-9c3bb613.js';
|
|
20
|
+
import './index-f7fdcc91.js';
|
|
21
|
+
import urlFor from './urlFor.js';
|
|
22
|
+
import { L as LazyLoad } from './index-5f7e79e7.js';
|
|
23
|
+
import { m as main_43 } from './main-ede573ee.js';
|
|
24
|
+
import { c as clean_html_1 } from './entities-731f3fdb.js';
|
|
25
|
+
import './stringify-ebc16384.js';
|
|
26
|
+
import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-ff459dfa.js';
|
|
37
27
|
import './Segment.js';
|
|
38
|
-
import './
|
|
28
|
+
import './Beam.js';
|
|
29
|
+
import './AdSlot.js';
|
|
30
|
+
import { A as ADInfeed } from './ADInfeed-8153cd02.js';
|
|
31
|
+
import { l as lodash } from './lodash-a818d390.js';
|
|
32
|
+
import { A as ADlgInfeed } from './ADlgInfeed-72aadf98.js';
|
|
33
|
+
import { g as getContentCategory } from './getContentCategory-15dcc413.js';
|
|
34
|
+
import { A as AuthorComponent } from './AuthorComponent-2277b67c.js';
|
|
39
35
|
import 'react-bootstrap/Button';
|
|
40
|
-
import '
|
|
41
|
-
import './
|
|
36
|
+
import { Spinner, Container, Media } from 'react-bootstrap';
|
|
37
|
+
import timeDifferenceCalc from './timeDifferenceCalc.js';
|
|
38
|
+
import './iconBase-602d52fe.js';
|
|
39
|
+
import './index.esm-d1125763.js';
|
|
40
|
+
import 'react-paginate';
|
|
41
|
+
import { P as Pagination } from './Pagination-4c847101.js';
|
|
42
42
|
|
|
43
43
|
var _this = undefined;
|
|
44
44
|
|
package/dist/esm/RecentNews.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
|
-
import
|
|
3
|
-
import './
|
|
2
|
+
import './iconBase-602d52fe.js';
|
|
3
|
+
import { a as FaLongArrowAltRight } from './index.esm-d1125763.js';
|
|
4
4
|
|
|
5
5
|
var RecentNews = function RecentNews(_ref) {
|
|
6
|
-
_ref.client
|
|
7
|
-
|
|
6
|
+
var client = _ref.client,
|
|
7
|
+
_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,44 +1,44 @@
|
|
|
1
|
-
import React__default from 'react';
|
|
2
|
-
import { m as moment } from './moment-bc12cb97.js';
|
|
3
|
-
import 'react-bootstrap/Media';
|
|
4
|
-
import urlFor from './urlFor.js';
|
|
5
|
-
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
6
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
7
|
-
import './
|
|
8
|
-
import './web.dom.iterable-
|
|
9
|
-
import '
|
|
10
|
-
import './index-3f5c03b2.js';
|
|
11
|
-
import 'react-dom';
|
|
2
|
+
import './core.get-iterator-method-0fb60d94.js';
|
|
3
|
+
import './web.dom.iterable-6b037ff9.js';
|
|
4
|
+
import React__default from 'react';
|
|
12
5
|
import 'prop-types';
|
|
6
|
+
import { m as moment } from './moment-b6f49411.js';
|
|
7
|
+
import 'react-dom';
|
|
8
|
+
import './slicedToArray-9c3bb613.js';
|
|
9
|
+
import './index-f7fdcc91.js';
|
|
10
|
+
import urlFor from './urlFor.js';
|
|
11
|
+
import { L as LazyLoad } from './index-5f7e79e7.js';
|
|
12
|
+
import 'react-bootstrap/Media';
|
|
13
|
+
|
|
14
|
+
/*
|
|
15
|
+
Sample query
|
|
16
|
+
let references = ''
|
|
17
|
+
if(article.taxonomyMapping.length > 0){
|
|
18
|
+
article.taxonomyMapping.forEach((ref, index) => {
|
|
19
|
+
references = references + `references('${ref._ref}') `
|
|
20
|
+
if(index+1 !== article.taxonomyMapping.length){
|
|
21
|
+
references = references + ` && `
|
|
22
|
+
}
|
|
23
|
+
})
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
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] {
|
|
27
|
+
...,
|
|
28
|
+
title,
|
|
29
|
+
summary,
|
|
30
|
+
thumbnail,
|
|
31
|
+
url,
|
|
32
|
+
published,
|
|
33
|
+
authorMapping[]->,
|
|
34
|
+
contentCategory->
|
|
35
|
+
}`
|
|
36
|
+
const relatedArticles = await client.fetch(relatedArticlesQuery)
|
|
37
|
+
|
|
38
|
+
Sample usage
|
|
39
|
+
<RelatedContent dataRecord={props.relatedArticles} client={client} showAuthor showPublished reverse/>
|
|
40
|
+
|
|
13
41
|
|
|
14
|
-
/*
|
|
15
|
-
Sample query
|
|
16
|
-
let references = ''
|
|
17
|
-
if(article.taxonomyMapping.length > 0){
|
|
18
|
-
article.taxonomyMapping.forEach((ref, index) => {
|
|
19
|
-
references = references + `references('${ref._ref}') `
|
|
20
|
-
if(index+1 !== article.taxonomyMapping.length){
|
|
21
|
-
references = references + ` && `
|
|
22
|
-
}
|
|
23
|
-
})
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
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] {
|
|
27
|
-
...,
|
|
28
|
-
title,
|
|
29
|
-
summary,
|
|
30
|
-
thumbnail,
|
|
31
|
-
url,
|
|
32
|
-
published,
|
|
33
|
-
authorMapping[]->,
|
|
34
|
-
contentCategory->
|
|
35
|
-
}`
|
|
36
|
-
const relatedArticles = await client.fetch(relatedArticlesQuery)
|
|
37
|
-
|
|
38
|
-
Sample usage
|
|
39
|
-
<RelatedContent dataRecord={props.relatedArticles} client={client} showAuthor showPublished reverse/>
|
|
40
|
-
|
|
41
|
-
|
|
42
42
|
*/
|
|
43
43
|
var RelatedContent = function RelatedContent(props) {
|
|
44
44
|
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) {
|
package/dist/esm/Schema.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
+
import './core.get-iterator-method-0fb60d94.js';
|
|
3
|
+
import './_iter-detect-13e31915.js';
|
|
4
|
+
import { _ as _toConsumableArray } from './toConsumableArray-e333293f.js';
|
|
5
|
+
import './_object-pie-33c40e79.js';
|
|
6
|
+
import { _ as _extends } from './extends-9a61581c.js';
|
|
7
|
+
import './web.dom.iterable-6b037ff9.js';
|
|
4
8
|
import React__default from 'react';
|
|
9
|
+
import './slicedToArray-9c3bb613.js';
|
|
10
|
+
import './index-f7fdcc91.js';
|
|
5
11
|
import urlFor from './urlFor.js';
|
|
6
|
-
import './
|
|
7
|
-
import './core.get-iterator-method-ea258bb1.js';
|
|
8
|
-
import './_object-pie-133f504a.js';
|
|
9
|
-
import './_iter-detect-98db3b07.js';
|
|
10
|
-
import './slicedToArray-6ebcbfea.js';
|
|
11
|
-
import './web.dom.iterable-ab4dea5c.js';
|
|
12
|
-
import './index-3f5c03b2.js';
|
|
12
|
+
import { _ as _JSON$stringify } from './stringify-ebc16384.js';
|
|
13
13
|
|
|
14
14
|
function toPlainText() {
|
|
15
15
|
var blocks = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
|
package/dist/esm/Search.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import
|
|
1
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
+
import './core.get-iterator-method-0fb60d94.js';
|
|
3
|
+
import './web.dom.iterable-6b037ff9.js';
|
|
2
4
|
import React__default, { useState } from 'react';
|
|
5
|
+
import { _ as _slicedToArray } from './slicedToArray-9c3bb613.js';
|
|
6
|
+
import Button from 'react-bootstrap/Button';
|
|
3
7
|
import Form from 'react-bootstrap/Form';
|
|
4
8
|
import FormControl from 'react-bootstrap/FormControl';
|
|
5
|
-
import Button from 'react-bootstrap/Button';
|
|
6
|
-
import './_commonjsHelpers-0c4b6f40.js';
|
|
7
|
-
import './web.dom.iterable-ab4dea5c.js';
|
|
8
|
-
import './core.get-iterator-method-ea258bb1.js';
|
|
9
9
|
|
|
10
10
|
var Search = function Search(props) {
|
|
11
11
|
var _props$placeholder = props.placeholder,
|
package/dist/esm/Segment.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-958ef5fc.js';
|
|
2
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
3
|
-
import './core.get-iterator-method-
|
|
4
|
-
import './web.dom.iterable-ab4dea5c.js';
|
|
2
|
+
import './core.get-iterator-method-0fb60d94.js';
|
|
5
3
|
import './_library-528f1934.js';
|
|
6
|
-
import './_iter-detect-
|
|
4
|
+
import './_iter-detect-13e31915.js';
|
|
5
|
+
import './web.dom.iterable-6b037ff9.js';
|
|
6
|
+
import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-ff459dfa.js';
|
|
7
7
|
|
|
8
8
|
require('babel-polyfill');
|
|
9
9
|
|
|
@@ -1,26 +1,25 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
+
import './core.get-iterator-method-0fb60d94.js';
|
|
3
|
+
import './_iter-detect-13e31915.js';
|
|
4
|
+
import { _ as _toConsumableArray } from './toConsumableArray-e333293f.js';
|
|
5
|
+
import './_object-pie-33c40e79.js';
|
|
6
|
+
import { _ as _extends } from './extends-9a61581c.js';
|
|
7
|
+
import './web.dom.iterable-6b037ff9.js';
|
|
4
8
|
import React__default, { useState, useEffect, useRef } from 'react';
|
|
9
|
+
import { l as lib_3 } from './index-a9e53f80.js';
|
|
10
|
+
import 'prop-types';
|
|
5
11
|
import { useRouter } from 'next/router';
|
|
6
|
-
import { l as lib_3 } from './index-f0fc23eb.js';
|
|
7
12
|
import { I as InfiniteScroll } from './index.es-a6137319.js';
|
|
8
|
-
import { S as SeriesSlider } from './SeriesSlider-e495571f.js';
|
|
9
|
-
import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
10
|
-
import './_commonjsHelpers-0c4b6f40.js';
|
|
11
|
-
import './core.get-iterator-method-ea258bb1.js';
|
|
12
|
-
import './_iter-detect-98db3b07.js';
|
|
13
|
-
import './_object-pie-133f504a.js';
|
|
14
|
-
import './web.dom.iterable-ab4dea5c.js';
|
|
15
|
-
import './events-6c3a7a63.js';
|
|
16
|
-
import 'prop-types';
|
|
17
|
-
import './index-c7e2ac95.js';
|
|
18
|
-
import './index-755f2cc2.js';
|
|
19
13
|
import 'react-dom';
|
|
20
|
-
import './
|
|
14
|
+
import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
15
|
+
import { _ as _slicedToArray } from './slicedToArray-9c3bb613.js';
|
|
16
|
+
import './index-f7fdcc91.js';
|
|
21
17
|
import './urlFor.js';
|
|
22
|
-
import './index-
|
|
23
|
-
import './main-
|
|
18
|
+
import './index-5f7e79e7.js';
|
|
19
|
+
import './main-ede573ee.js';
|
|
20
|
+
import './index-c7e2ac95.js';
|
|
21
|
+
import './smoothscroll-0cd4c7a6.js';
|
|
22
|
+
import { S as SeriesSlider } from './SeriesSlider-88c4133d.js';
|
|
24
23
|
|
|
25
24
|
var usePrevious = function usePrevious(value) {
|
|
26
25
|
var ref = useRef();
|