@mjhls/mjh-framework 1.0.989 → 1.0.990-next-12-01
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-b54f0bda.js → ADInfeed-cf54cb8a.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-4f0850ec.js → ADlgInfeed-d06624d8.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 +48 -50
- package/dist/cjs/ArticleSeriesLandingPage.js +29 -29
- package/dist/cjs/ArticleSeriesListing.js +30 -30
- package/dist/cjs/AuthWrapper.js +586 -9
- package/dist/cjs/{AuthorComponent-17e1c62b.js → AuthorComponent-39b37d84.js} +1 -1
- package/dist/cjs/Beam.js +6 -6
- package/dist/cjs/{BlockContent-8b494587.js → BlockContent-36e54d77.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-bcaa7e3f.js → Dfp-94f8ccdf.js} +12 -12
- package/dist/cjs/EventsDeck.js +43 -43
- package/dist/cjs/ExternalResources.js +45 -47
- 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/HealthCareProfessionalModal.js +3 -3
- package/dist/cjs/Hero.js +7 -7
- package/dist/cjs/HighlightenVideo.js +2 -2
- package/dist/cjs/HorizontalArticleListing.js +46 -48
- package/dist/cjs/HorizontalHero.js +8 -8
- package/dist/cjs/ImageSlider-a7fb6218.js +182 -0
- package/dist/cjs/IssueContentDeck.js +11 -11
- package/dist/cjs/IssueDeck.js +14 -14
- package/dist/cjs/IssueLanding.js +83 -85
- 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-94c5bb79.js → MediaSeriesCard-36eab8b7.js} +646 -446
- package/dist/cjs/MediaSeriesLanding.js +54 -56
- package/dist/cjs/MediaSeriesLandingPaginated.js +60 -62
- 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-7624a3bd.js → Pagination-1e0d5f1d.js} +3 -3
- package/dist/cjs/PartnerDetailListing.js +59 -60
- package/dist/cjs/PartnerDetailListingPaginated.js +59 -60
- package/dist/cjs/PdfDownload.js +2 -2
- package/dist/cjs/PixelTracking.js +7 -7
- package/dist/cjs/PopUpModal.js +4 -4
- package/dist/cjs/PtceDeck.js +10 -10
- 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-6f89fb97.js → PublicationFeature-be5f3503.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 +4 -4
- package/dist/cjs/SeriesListingDeck.js +17 -17
- package/dist/cjs/{SeriesSlider-08699353.js → SeriesSlider-b94f1dd5.js} +14 -14
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +15 -15
- package/dist/cjs/{SocialSearchComponent-af6ddcc0.js → SocialSearchComponent-b7faaedc.js} +11 -11
- package/dist/cjs/TaxonomyCard.js +12 -12
- package/dist/cjs/TaxonomyDescription.js +44 -46
- 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 +50 -52
- 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 +115 -119
- package/dist/cjs/YahooHero.js +13 -13
- package/dist/cjs/YoutubeGroup.js +21 -21
- package/dist/cjs/{_is-array-aa52fa1e.js → _is-array-54228b29.js} +6 -6
- package/dist/cjs/{_iter-detect-05795553.js → _iter-detect-b1df62f0.js} +7 -7
- package/dist/cjs/{_object-pie-68c5bcbc.js → _object-pie-083f2dd6.js} +4 -4
- package/dist/cjs/{_object-sap-171b9ea5.js → _object-sap-d1978572.js} +1 -1
- package/dist/cjs/{_object-to-array-9bac8737.js → _object-to-array-ce86cae7.js} +2 -2
- package/dist/cjs/{asyncToGenerator-df19209d.js → asyncToGenerator-77821af0.js} +30 -30
- package/dist/cjs/{core.get-iterator-method-f3c44602.js → core.get-iterator-method-5643aa10.js} +35 -35
- package/dist/cjs/{debounce-529c8d06.js → debounce-d4a2369b.js} +2 -2
- package/dist/cjs/{define-property-21887c62.js → define-property-e8404b64.js} +6 -6
- package/dist/cjs/{defineProperty-77a37684.js → defineProperty-9673846a.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/{extends-7df78678.js → extends-7c86182f.js} +8 -7
- package/dist/cjs/faundadb.js +325 -8
- package/dist/cjs/{get-adbb11e3.js → get-5839e5b5.js} +21 -21
- package/dist/cjs/getPtceActivities.js +27 -14
- package/dist/cjs/getRelatedArticle.js +343 -74
- package/dist/cjs/getRootDocGroup.js +4 -4
- package/dist/cjs/getSerializers.js +44 -46
- package/dist/cjs/{getTargeting-5eabd6e2.js → getTargeting-4439c99d.js} +11 -11
- package/dist/cjs/getTargeting.js +6 -6
- package/dist/{esm/iconBase-602d52fe.js → cjs/iconBase-be4097c0.js} +33 -8
- package/dist/cjs/{index-44481153.js → index-0e4427c8.js} +40 -21
- package/dist/cjs/{index-3c067d4f.js → index-7361fa72.js} +993 -171
- package/dist/cjs/{index-9d365128.js → index-eadd5035.js} +7 -7
- package/dist/cjs/{index-b5eb3ff8.js → index-efca863c.js} +16 -11
- package/dist/cjs/{index-99edf08a.js → index-f86bb269.js} +44 -45
- package/dist/cjs/{index.esm-3ffa049c.js → index.esm-2bb721c8.js} +2 -2
- package/dist/cjs/{index.esm-44f3e2d0.js → index.esm-c1e16606.js} +1 -1
- package/dist/cjs/{index.esm-f93506ac.js → index.esm-d51c9ac6.js} +1 -1
- package/dist/cjs/{index.esm-48e0f0d8.js → index.esm-d81454e7.js} +1 -1
- package/dist/cjs/index.js +140 -148
- package/dist/cjs/{inherits-420ee86f.js → inherits-de66ea16.js} +21 -18
- package/dist/cjs/{isSymbol-04666465.js → isSymbol-03abbdf0.js} +15 -15
- package/dist/cjs/{keys-d207942e.js → keys-e982b3fa.js} +6 -6
- package/dist/cjs/{lodash-7fd85bcf.js → lodash-f0783643.js} +58 -10
- package/dist/cjs/main-f1c77adb.js +973 -0
- package/dist/cjs/{moment-ca3bd9fb.js → moment-aca40de1.js} +1 -1
- package/dist/cjs/{react-social-icons-07939b41.js → react-social-icons-af932527.js} +17 -17
- package/dist/cjs/{slicedToArray-f6d4eaa8.js → slicedToArray-067dd3bc.js} +12 -12
- package/dist/cjs/{smoothscroll-5054361f.js → smoothscroll-99df7f93.js} +1 -1
- package/dist/cjs/{stringify-bbc68047.js → stringify-f7a37a8d.js} +5 -5
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-c9b8a0d0.js → toConsumableArray-d7797c2b.js} +7 -7
- package/dist/cjs/{toNumber-36d1e7e5.js → toNumber-5e1fac58.js} +40 -5
- package/dist/cjs/{typeof-ec08d471.js → typeof-567e31ff.js} +34 -34
- package/dist/cjs/urlFor.js +4 -4
- package/dist/cjs/{urlForFile-ad96158c.js → urlForFile-29d3815a.js} +1 -1
- package/dist/cjs/{ustream-api-9ebe112f.js → ustream-api-3819e4aa.js} +4 -4
- package/dist/cjs/{web.dom.iterable-e34bf324.js → web.dom.iterable-d98303e0.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-310d113c.js → ADInfeed-f684cac9.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-eeaa14e2.js → ADlgInfeed-8c438cee.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 +54 -56
- package/dist/esm/ArticleSeriesLandingPage.js +35 -35
- package/dist/esm/ArticleSeriesListing.js +54 -54
- package/dist/esm/AuthWrapper.js +605 -27
- package/dist/esm/{AuthorComponent-b0a47123.js → AuthorComponent-defe68b6.js} +11 -11
- package/dist/esm/Beam.js +6 -6
- package/dist/esm/{BlockContent-d05b5b23.js → BlockContent-c99c9a8d.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-9162d0ca.js → ConferenceBanner-8792ebd2.js} +4 -4
- package/dist/esm/ContentCardPaginated.js +72 -72
- package/dist/esm/DeckContent.js +84 -84
- package/dist/esm/DeckQueue.js +70 -70
- package/dist/esm/DeckQueuePaginated.js +63 -63
- package/dist/esm/{Dfp-e151d2de.js → Dfp-4b99f79d.js} +20 -20
- package/dist/esm/EventsDeck.js +103 -103
- package/dist/esm/ExternalResources.js +71 -73
- package/dist/esm/Feature.js +21 -21
- package/dist/esm/ForbesHero.js +33 -33
- package/dist/esm/GridContent.js +145 -145
- 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/HealthCareProfessionalModal.js +13 -13
- package/dist/esm/Hero.js +13 -13
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalArticleListing.js +68 -70
- package/dist/esm/HorizontalHero.js +26 -26
- package/dist/esm/ImageSlider-eab2fe41.js +176 -0
- package/dist/esm/IssueContentDeck.js +48 -48
- package/dist/esm/IssueDeck.js +45 -45
- package/dist/esm/IssueLanding.js +91 -93
- 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-4865e60f.js → MediaSeriesCard-99048e65.js} +907 -707
- package/dist/esm/MediaSeriesLanding.js +79 -81
- package/dist/esm/MediaSeriesLandingPaginated.js +83 -85
- package/dist/esm/NavDvm.js +54 -54
- package/dist/esm/{NavFooter-c29526b7.js → NavFooter-e27bd93b.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-1e09918f.js → Pagination-cd21f8c2.js} +13 -13
- package/dist/esm/PartnerDetailListing.js +95 -96
- package/dist/esm/PartnerDetailListingPaginated.js +91 -92
- package/dist/esm/PdfDownload.js +7 -7
- package/dist/esm/PixelTracking.js +16 -16
- package/dist/esm/PopUpModal.js +12 -12
- package/dist/esm/PtceDeck.js +23 -23
- 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-0379cc20.js → PublicationFeature-03500094.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 +4 -4
- package/dist/esm/SeriesListingDeck.js +30 -30
- package/dist/esm/{SeriesSlider-b364d074.js → SeriesSlider-609f9d94.js} +35 -35
- 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-77a22145.js → SocialSearchComponent-1d8a9f59.js} +33 -33
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +44 -44
- package/dist/esm/TaxonomyDescription.js +48 -50
- 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 +62 -64
- 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 +318 -322
- package/dist/esm/YahooHero.js +33 -33
- package/dist/esm/YoutubeGroup.js +52 -52
- package/dist/esm/{_is-array-31d40a83.js → _is-array-893ab020.js} +6 -6
- package/dist/esm/{_iter-detect-72edfd60.js → _iter-detect-f089461c.js} +7 -7
- package/dist/esm/{_object-pie-33c40e79.js → _object-pie-133f504a.js} +4 -4
- package/dist/esm/{_object-sap-4201ccf6.js → _object-sap-169d6272.js} +1 -1
- package/dist/esm/{_object-to-array-fa0feeff.js → _object-to-array-50a6b9a3.js} +2 -2
- package/dist/esm/{asyncToGenerator-9c835201.js → asyncToGenerator-9716ae8d.js} +30 -30
- package/dist/esm/{brightcove-react-player-loader.es-4abff0b1.js → brightcove-react-player-loader.es-57a70a56.js} +3 -3
- package/dist/esm/{core.get-iterator-method-8c71f470.js → core.get-iterator-method-e903ff31.js} +36 -36
- package/dist/esm/{debounce-9207d8ee.js → debounce-533d9748.js} +2 -2
- package/dist/esm/{define-property-a8a00786.js → define-property-99e66838.js} +6 -6
- package/dist/esm/{defineProperty-3518b6fe.js → defineProperty-8fa0bc8d.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/{extends-7fbbe94e.js → extends-dc6a71fd.js} +8 -8
- package/dist/esm/faundadb.js +323 -6
- package/dist/esm/{get-1e515072.js → get-3c308da4.js} +21 -21
- package/dist/esm/getPtceActivities.js +27 -14
- package/dist/esm/getRelatedArticle.js +339 -70
- package/dist/esm/getRootDocGroup.js +4 -4
- package/dist/esm/getSerializers.js +44 -46
- package/dist/esm/{getTargeting-eed01f73.js → getTargeting-db566006.js} +11 -11
- package/dist/esm/getTargeting.js +6 -6
- package/dist/{cjs/iconBase-68959171.js → esm/iconBase-ccc56b97.js} +2 -5
- package/dist/esm/{index-51a80699.js → index-0dbff1d1.js} +16 -11
- package/dist/esm/{index-1819118a.js → index-5cc7b406.js} +43 -24
- package/dist/esm/{index-6c12bdd5.js → index-755f2cc2.js} +10 -10
- package/dist/esm/{index-fa2ffe86.js → index-79cfd25c.js} +44 -45
- package/dist/esm/{index-25f93396.js → index-c60f3bb6.js} +1396 -573
- package/dist/esm/{index.es-c6222053.js → index.es-a6137319.js} +5 -5
- package/dist/esm/{index.esm-d1125763.js → index.esm-1bd8a0a8.js} +1 -1
- package/dist/esm/{index.esm-8ee5ff72.js → index.esm-37268dca.js} +16 -16
- package/dist/esm/{index.esm-c6715e80.js → index.esm-9b042655.js} +1 -1
- package/dist/esm/{index.esm-55f22b35.js → index.esm-eb1e8e80.js} +1 -1
- package/dist/esm/index.js +166 -173
- package/dist/esm/{inherits-d26c739e.js → inherits-8a801a18.js} +19 -19
- package/dist/esm/{isSymbol-1981418f.js → isSymbol-a7e9aafe.js} +15 -15
- package/dist/esm/keys-425c8ab0.js +23 -0
- package/dist/esm/{lodash-ec8c6b48.js → lodash-f97fd99a.js} +58 -10
- package/dist/esm/main-1894c974.js +961 -0
- package/dist/esm/{moment-b6f49411.js → moment-bc12cb97.js} +1 -1
- package/dist/esm/{react-social-icons-3822f1ce.js → react-social-icons-9be47857.js} +20 -20
- package/dist/esm/{slicedToArray-99bcfd93.js → slicedToArray-ca2c8b8d.js} +12 -12
- package/dist/esm/{smoothscroll-0cd4c7a6.js → smoothscroll-fa4e3f8c.js} +1 -1
- package/dist/esm/stringify-c21932b3.js +15 -0
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-47a5394a.js → toConsumableArray-7b1c0e23.js} +7 -7
- package/dist/esm/{toNumber-2f7a84cd.js → toNumber-5aeba6e7.js} +40 -5
- package/dist/esm/{typeof-d92ed6e0.js → typeof-83d9eb10.js} +34 -34
- package/dist/esm/urlFor.js +4 -4
- package/dist/esm/{urlForFile-0fc42ed8.js → urlForFile-413f5ddb.js} +1 -1
- package/dist/esm/{ustream-api-cbba615a.js → ustream-api-41166338.js} +4 -4
- package/dist/esm/{visibility-sensor-f40c2564.js → visibility-sensor-72fd8f8b.js} +2 -2
- package/dist/esm/{web.dom.iterable-406140e0.js → web.dom.iterable-fdf034f5.js} +2 -2
- package/package.json +115 -115
- package/dist/cjs/Auth.js +0 -3514
- package/dist/cjs/ImageSlider-10cd194f.js +0 -1383
- package/dist/cjs/index-bd6c9f56.js +0 -211
- package/dist/cjs/main-7b5e57b0.js +0 -898
- package/dist/cjs/md5-e1ca5797.js +0 -323
- package/dist/cjs/util-f2c1b65b.js +0 -576
- package/dist/esm/Auth.js +0 -3494
- package/dist/esm/ImageSlider-5ae6287a.js +0 -1375
- package/dist/esm/index-db3bb315.js +0 -207
- package/dist/esm/keys-5e9bd229.js +0 -23
- package/dist/esm/main-43ca42fe.js +0 -886
- package/dist/esm/md5-4e42248e.js +0 -321
- package/dist/esm/stringify-0c65d837.js +0 -15
- package/dist/esm/util-7700fc59.js +0 -574
- package/dist/cjs/{brightcove-react-player-loader.es-5c98aec7.js → brightcove-react-player-loader.es-a195642e.js} +1 -1
package/dist/esm/RecentNews.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import './
|
|
3
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
|
+
import { a as FaLongArrowAltRight } from './index.esm-1bd8a0a8.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,
|
|
@@ -19,39 +19,39 @@ var RecentNews = function RecentNews(_ref) {
|
|
|
19
19
|
var topArticle = dataRecord[0];
|
|
20
20
|
var subArticles = dataRecord.slice(1, dataRecord.length);
|
|
21
21
|
|
|
22
|
-
return
|
|
22
|
+
return React__default.createElement(
|
|
23
23
|
'div',
|
|
24
24
|
{ className: 'recent-news-container', style: { border: '3px solid ' + borderColor } },
|
|
25
|
-
|
|
25
|
+
React__default.createElement(
|
|
26
26
|
'div',
|
|
27
27
|
{ className: 'recent-news-title' },
|
|
28
|
-
|
|
28
|
+
React__default.createElement(
|
|
29
29
|
'h2',
|
|
30
30
|
null,
|
|
31
31
|
heroTitle
|
|
32
32
|
),
|
|
33
|
-
|
|
33
|
+
React__default.createElement('div', null)
|
|
34
34
|
),
|
|
35
|
-
|
|
35
|
+
React__default.createElement(
|
|
36
36
|
'div',
|
|
37
37
|
{ className: 'recent-news-inner' },
|
|
38
|
-
|
|
38
|
+
React__default.createElement(
|
|
39
39
|
'div',
|
|
40
40
|
{ className: 'recent-article-wrap', style: { flexBasis: '100%' } },
|
|
41
|
-
|
|
41
|
+
React__default.createElement(
|
|
42
42
|
'a',
|
|
43
43
|
{ href: '/view/' + topArticle.url.current, className: 'recent-article' },
|
|
44
|
-
|
|
44
|
+
React__default.createElement(
|
|
45
45
|
'p',
|
|
46
46
|
null,
|
|
47
47
|
topArticle.title
|
|
48
48
|
)
|
|
49
49
|
),
|
|
50
50
|
subArticles.map(function (article, index) {
|
|
51
|
-
return
|
|
51
|
+
return React__default.createElement(
|
|
52
52
|
'a',
|
|
53
53
|
{ key: index, href: '/view/' + article.url.current, className: 'recent-article' },
|
|
54
|
-
|
|
54
|
+
React__default.createElement(
|
|
55
55
|
'p',
|
|
56
56
|
null,
|
|
57
57
|
article.title
|
|
@@ -60,21 +60,21 @@ var RecentNews = function RecentNews(_ref) {
|
|
|
60
60
|
})
|
|
61
61
|
)
|
|
62
62
|
),
|
|
63
|
-
linkTo &&
|
|
63
|
+
linkTo && React__default.createElement(
|
|
64
64
|
'div',
|
|
65
65
|
{ className: 'recent-view-more' },
|
|
66
|
-
|
|
66
|
+
React__default.createElement(
|
|
67
67
|
'a',
|
|
68
68
|
{ href: linkTo },
|
|
69
69
|
linkTitle,
|
|
70
|
-
|
|
70
|
+
React__default.createElement(
|
|
71
71
|
'span',
|
|
72
72
|
null,
|
|
73
|
-
|
|
73
|
+
React__default.createElement(FaLongArrowAltRight, { color: 'var(--primary)' })
|
|
74
74
|
)
|
|
75
75
|
)
|
|
76
76
|
),
|
|
77
|
-
|
|
77
|
+
React__default.createElement(
|
|
78
78
|
'style',
|
|
79
79
|
{ jsx: 'true' },
|
|
80
80
|
'\n .recent-news-container {\n margin-bottom: 1.7rem;\n margin-top: 1rem;\n position: relative;\n }\n .recent-news-title {\n position: absolute;\n top: -10px;\n background: white;\n z-index: 2;\n left: 10px;\n padding-right: 0.25rem;\n padding-left: 0.25rem;\n font-weight: bold;\n }\n .recent-news-title h2 {\n font-size: 0.9rem;\n font-weight: bold;\n }\n .recent-news-inner {\n display: flex;\n flex-direction: row;\n padding-top: 0.75rem;\n margin-top: 0.75rem;\n }\n .recent-article-wrap {\n padding: 0 0.5rem;\n }\n \n .recent-article {\n border-bottom: 1px solid #ccc;\n display: block;\n margin-bottom: 0.5rem;\n }\n .recent-article:last-child {\n border-bottom: none;\n }\n .recent-article:hover {\n background: #eee;\n }\n .recent-article p {\n font-size: 0.7rem;\n margin-bottom: 0.5rem;\n color: #252525;\n }\n .recent-view-more {\n position: absolute;\n right: 0;\n margin-top: 0.25rem;\n font-size: 0.7rem;\n font-weight: bold;\n }\n .recent-view-more span {\n display: inline-block;\n color: rgb(81, 116, 153);\n font-size: 0.7rem;\n }\n @media screen and (max-width: 1191px){\n \n .recent-article > p {\n font-size: 0.7rem;\n }\n }\n }\n @media screen and (max-width: 495px) {\n \n .recent-article > p {\n font-size: 0.7rem;\n }\n }\n '
|
|
@@ -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';
|
|
1
6
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './
|
|
3
|
-
import './web.dom.iterable-
|
|
4
|
-
import
|
|
5
|
-
import '
|
|
6
|
-
import { m as moment } from './moment-b6f49411.js';
|
|
7
|
+
import './slicedToArray-ca2c8b8d.js';
|
|
8
|
+
import './web.dom.iterable-fdf034f5.js';
|
|
9
|
+
import './core.get-iterator-method-e903ff31.js';
|
|
10
|
+
import './index-0dbff1d1.js';
|
|
7
11
|
import 'react-dom';
|
|
8
|
-
import '
|
|
9
|
-
import './index-51a80699.js';
|
|
10
|
-
import urlFor from './urlFor.js';
|
|
11
|
-
import { L as LazyLoad } from './index-6c12bdd5.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
|
-
|
|
12
|
+
import 'prop-types';
|
|
41
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
|
+
|
|
41
|
+
|
|
42
42
|
*/
|
|
43
43
|
var RelatedContent = function RelatedContent(props) {
|
|
44
44
|
var client = props.client,
|
|
@@ -47,47 +47,47 @@ var RelatedContent = function RelatedContent(props) {
|
|
|
47
47
|
defaultImage = _props$defaultImage === undefined ? '' : _props$defaultImage;
|
|
48
48
|
|
|
49
49
|
|
|
50
|
-
return
|
|
50
|
+
return React__default.createElement(
|
|
51
51
|
'div',
|
|
52
52
|
null,
|
|
53
|
-
|
|
53
|
+
React__default.createElement(
|
|
54
54
|
'h1',
|
|
55
55
|
{ className: 'mb-4 pb-2', style: { borderBottom: '1px solid #ccc', fontSize: '1.2rem', fontWeight: 'bold', color: '#252525' } },
|
|
56
56
|
'Related Content'
|
|
57
57
|
),
|
|
58
|
-
|
|
58
|
+
React__default.createElement(
|
|
59
59
|
'div',
|
|
60
60
|
{ className: 'related-articles-container' },
|
|
61
61
|
dataRecord.map(function (article, index) {
|
|
62
|
-
return
|
|
62
|
+
return React__default.createElement(
|
|
63
63
|
'a',
|
|
64
64
|
{ key: index, href: '/view/' + article.url.current, className: 'related-article' },
|
|
65
|
-
|
|
65
|
+
React__default.createElement(
|
|
66
66
|
'figure',
|
|
67
67
|
null,
|
|
68
|
-
|
|
68
|
+
React__default.createElement(
|
|
69
69
|
LazyLoad,
|
|
70
70
|
{ once: true },
|
|
71
|
-
|
|
71
|
+
React__default.createElement('img', {
|
|
72
72
|
src: article.thumbnail ? urlFor({ client: client, source: article.thumbnail.asset, imageWidth: 500 }) : defaultImage,
|
|
73
73
|
alt: article.title
|
|
74
74
|
})
|
|
75
75
|
)
|
|
76
76
|
),
|
|
77
|
-
|
|
77
|
+
React__default.createElement(
|
|
78
78
|
'div',
|
|
79
79
|
{ className: 'related-article-body' },
|
|
80
|
-
|
|
81
|
-
props.showPublished &&
|
|
80
|
+
React__default.createElement('h4', { dangerouslySetInnerHTML: { __html: article.title } }),
|
|
81
|
+
props.showPublished && React__default.createElement(
|
|
82
82
|
'p',
|
|
83
83
|
{ className: 'pb-0 mb-0' },
|
|
84
84
|
moment(article.published).format('MMMM DD, YYYY hh:mma')
|
|
85
85
|
),
|
|
86
|
-
props.showAuthor && article.authorMapping && article.authorMapping[0] &&
|
|
86
|
+
props.showAuthor && article.authorMapping && article.authorMapping[0] && React__default.createElement(
|
|
87
87
|
'p',
|
|
88
88
|
null,
|
|
89
89
|
'By ',
|
|
90
|
-
|
|
90
|
+
React__default.createElement(
|
|
91
91
|
'b',
|
|
92
92
|
null,
|
|
93
93
|
article.authorMapping[0].displayName
|
|
@@ -96,7 +96,7 @@ var RelatedContent = function RelatedContent(props) {
|
|
|
96
96
|
)
|
|
97
97
|
);
|
|
98
98
|
}),
|
|
99
|
-
|
|
99
|
+
React__default.createElement(
|
|
100
100
|
'style',
|
|
101
101
|
{ jsx: 'true' },
|
|
102
102
|
'\n .related-article {\n width: 100%;\n display: flex;\n flex-direction: ' + (props.reverse ? 'row-reverse' : 'row') + ';\n margin-bottom: 1rem;\n }\n .related-article figure {\n width: 165px;\n height: 110px;\n min-width: 165px;\n }\n .related-article figure img {\n width: 100%;\n height: 100%;\n object-fit: cover;\n }\n .related-article-body {\n flex: 1 1 auto;\n padding: 0 1rem;\n }\n .related-article-body h4 {\n font-weight: bold;\n font-size: 1.1rem;\n margin-bottom: 0.25rem;\n line-height: 1.3;\n }\n @media screen and (max-width: 430px) {\n .related-article {\n flex-direction: column;\n }\n .related-article figure {\n width: 80%;\n height: auto;\n min-width: 80%;\n margin: 0 auto;\n }\n .related-article figure img {\n width: 100%;\n height: auto;\n object-fit: cover;\n }\n }\n '
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
import DropdownButton from 'react-bootstrap/DropdownButton';
|
|
3
3
|
import Dropdown from 'react-bootstrap/Dropdown';
|
|
4
4
|
|
|
@@ -14,36 +14,36 @@ 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) {
|
|
30
30
|
return '';
|
|
31
31
|
}
|
|
32
|
-
return
|
|
32
|
+
return React__default.createElement(
|
|
33
33
|
'div',
|
|
34
34
|
null,
|
|
35
|
-
|
|
35
|
+
React__default.createElement(
|
|
36
36
|
'style',
|
|
37
37
|
{ jsx: true },
|
|
38
38
|
'\n #related_dropdown > .dropdown > .dropdown-menu.show {\n position: absolute;\n top: auto !important;\n max-height: 50vh !important;\n box-shadow: 0px 0px 25px #ccc;\n z-index: 9999;\n transform: none !important;\n overflow: hidden;\n overflow-y: scroll;\n }\n @media only screen and (max-width: 720px) {\n #related_dropdown > .dropdown > .dropdown-menu.show {\n position: absolute;\n max-height: 30vh !important;\n max-width: 95vw;\n box-shadow: 0px 0px 25px #ccc;\n z-index: 9999;\n font-size: 0.85em;\n overflow: hidden;\n overflow-y: scroll;\n }\n }\n '
|
|
39
39
|
),
|
|
40
|
-
|
|
40
|
+
React__default.createElement(
|
|
41
41
|
'div',
|
|
42
42
|
{ id: 'related_dropdown', className: className },
|
|
43
|
-
|
|
43
|
+
React__default.createElement(
|
|
44
44
|
DropdownButton,
|
|
45
45
|
{ id: 'related_button', variant: variant, title: 'Related Topics' },
|
|
46
|
-
|
|
46
|
+
React__default.createElement(
|
|
47
47
|
Dropdown.Item,
|
|
48
48
|
{ href: parentTaxonomy.identifier },
|
|
49
49
|
parentTaxonomy.name
|
|
@@ -52,22 +52,22 @@ var RelatedTopicsDropdown = function RelatedTopicsDropdown(_ref) {
|
|
|
52
52
|
)
|
|
53
53
|
);
|
|
54
54
|
} else {
|
|
55
|
-
return
|
|
55
|
+
return React__default.createElement(
|
|
56
56
|
'div',
|
|
57
57
|
null,
|
|
58
|
-
|
|
58
|
+
React__default.createElement(
|
|
59
59
|
'style',
|
|
60
60
|
{ jsx: true },
|
|
61
61
|
'\n #related_dropdown > .dropdown > .dropdown-menu.show {\n position: absolute;\n top: auto !important;\n max-height: 40vh !important;\n z-index: 9999;\n transform: none !important;\n overflow: hidden;\n overflow-y: scroll;\n }\n @media only screen and (max-width: 720px) {\n #related_dropdown > .dropdown > .dropdown-menu.show {\n position: absolute;\n max-height: 30vh !important;\n max-width: 95vw;\n z-index: 9999;\n font-size: 0.85em;\n overflow: hidden;\n overflow-y: scroll;\n }\n }\n '
|
|
62
62
|
),
|
|
63
|
-
|
|
63
|
+
React__default.createElement(
|
|
64
64
|
'div',
|
|
65
65
|
{ id: 'related_dropdown', className: className },
|
|
66
|
-
|
|
66
|
+
React__default.createElement(
|
|
67
67
|
DropdownButton,
|
|
68
68
|
{ id: 'related_button', variant: variant, title: 'Related Topics' },
|
|
69
69
|
subTaxonomies.length > 0 && subTaxonomies.map(function (taxonomy, index) {
|
|
70
|
-
return
|
|
70
|
+
return React__default.createElement(
|
|
71
71
|
Dropdown.Item,
|
|
72
72
|
{ key: index, href: page + '/' + taxonomy.identifier },
|
|
73
73
|
taxonomy.name
|
package/dist/esm/RolesDeck.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
import Container from 'react-bootstrap/Container';
|
|
3
3
|
import Row from 'react-bootstrap/Row';
|
|
4
4
|
import Col from 'react-bootstrap/Col';
|
|
@@ -15,43 +15,43 @@ var RolesDeck = function RolesDeck(props) {
|
|
|
15
15
|
// dataRecord - data record to be shown in card.
|
|
16
16
|
// />
|
|
17
17
|
|
|
18
|
-
return
|
|
18
|
+
return React__default.createElement(
|
|
19
19
|
'div',
|
|
20
20
|
{ className: 'rolesDeck' },
|
|
21
|
-
|
|
21
|
+
React__default.createElement(
|
|
22
22
|
Container,
|
|
23
23
|
null,
|
|
24
|
-
|
|
24
|
+
React__default.createElement(
|
|
25
25
|
Row,
|
|
26
26
|
null,
|
|
27
27
|
data && data.map(function (row, index) {
|
|
28
28
|
if (row && row.url && row.name) {
|
|
29
|
-
return
|
|
29
|
+
return React__default.createElement(
|
|
30
30
|
Col,
|
|
31
31
|
{ key: index, md: 12, lg: 6, counter: index++, style: { display: 'flex', flex: '1 0 auto' } },
|
|
32
|
-
|
|
32
|
+
React__default.createElement(
|
|
33
33
|
Card,
|
|
34
34
|
{ className: 'taxonomy-card', style: { position: 'relative', overflow: 'hidden', borderBottom: '3px solid var(--primary)' } },
|
|
35
|
-
|
|
35
|
+
React__default.createElement(
|
|
36
36
|
Card.Link,
|
|
37
37
|
{ href: row.url },
|
|
38
|
-
|
|
38
|
+
React__default.createElement(
|
|
39
39
|
Card.Body,
|
|
40
40
|
null,
|
|
41
|
-
|
|
41
|
+
React__default.createElement(
|
|
42
42
|
Row,
|
|
43
43
|
null,
|
|
44
|
-
|
|
44
|
+
React__default.createElement(
|
|
45
45
|
Col,
|
|
46
46
|
{ className: 'details-content-wrapper' },
|
|
47
|
-
|
|
47
|
+
React__default.createElement(
|
|
48
48
|
'div',
|
|
49
49
|
{ className: 'details-wrapper' },
|
|
50
50
|
row.name
|
|
51
51
|
)
|
|
52
52
|
)
|
|
53
53
|
),
|
|
54
|
-
icon &&
|
|
54
|
+
icon && React__default.createElement(
|
|
55
55
|
'span',
|
|
56
56
|
{
|
|
57
57
|
className: 'taxonomy-icon',
|
|
@@ -73,7 +73,7 @@ var RolesDeck = function RolesDeck(props) {
|
|
|
73
73
|
})
|
|
74
74
|
)
|
|
75
75
|
),
|
|
76
|
-
icon &&
|
|
76
|
+
icon && React__default.createElement(
|
|
77
77
|
'style',
|
|
78
78
|
{ jsx: 'true' },
|
|
79
79
|
'\n .taxonomy-card .taxonomy-icon {\n transform: translateY(-50%) translateX(10px) !important;\n }\n .taxonomy-card.card:hover .taxonomy-icon {\n transform: translateY(-50%) translateX(5px) scale(1.25) rotate(-180deg) !important;\n }\n '
|
package/dist/esm/Schema.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import './
|
|
2
|
-
import './
|
|
3
|
-
import './
|
|
4
|
-
import
|
|
5
|
-
import './_object-pie-33c40e79.js';
|
|
6
|
-
import { _ as _extends } from './extends-7fbbe94e.js';
|
|
7
|
-
import './web.dom.iterable-406140e0.js';
|
|
8
|
-
import React from 'react';
|
|
9
|
-
import './slicedToArray-99bcfd93.js';
|
|
10
|
-
import './index-51a80699.js';
|
|
1
|
+
import { _ as _JSON$stringify } from './stringify-c21932b3.js';
|
|
2
|
+
import { _ as _extends } from './extends-dc6a71fd.js';
|
|
3
|
+
import { _ as _toConsumableArray } from './toConsumableArray-7b1c0e23.js';
|
|
4
|
+
import React__default from 'react';
|
|
11
5
|
import urlFor from './urlFor.js';
|
|
12
|
-
import
|
|
6
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
7
|
+
import './core.get-iterator-method-e903ff31.js';
|
|
8
|
+
import './_object-pie-133f504a.js';
|
|
9
|
+
import './_iter-detect-f089461c.js';
|
|
10
|
+
import './slicedToArray-ca2c8b8d.js';
|
|
11
|
+
import './web.dom.iterable-fdf034f5.js';
|
|
12
|
+
import './index-0dbff1d1.js';
|
|
13
13
|
|
|
14
14
|
function toPlainText() {
|
|
15
15
|
var blocks = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
|
|
@@ -89,7 +89,7 @@ function generateSchema(props) {
|
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
var Schema = function Schema(props) {
|
|
92
|
-
return
|
|
92
|
+
return React__default.createElement('script', { type: 'application/ld+json', dangerouslySetInnerHTML: { __html: _JSON$stringify(generateSchema(props)) } });
|
|
93
93
|
};
|
|
94
94
|
|
|
95
95
|
export default Schema;
|
package/dist/esm/Search.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import './
|
|
2
|
-
import '
|
|
3
|
-
import './web.dom.iterable-406140e0.js';
|
|
4
|
-
import React, { useState } from 'react';
|
|
5
|
-
import { _ as _slicedToArray } from './slicedToArray-99bcfd93.js';
|
|
6
|
-
import Button from 'react-bootstrap/Button';
|
|
1
|
+
import { _ as _slicedToArray } from './slicedToArray-ca2c8b8d.js';
|
|
2
|
+
import React__default, { useState } from 'react';
|
|
7
3
|
import Form from 'react-bootstrap/Form';
|
|
8
4
|
import FormControl from 'react-bootstrap/FormControl';
|
|
5
|
+
import Button from 'react-bootstrap/Button';
|
|
6
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
7
|
+
import './web.dom.iterable-fdf034f5.js';
|
|
8
|
+
import './core.get-iterator-method-e903ff31.js';
|
|
9
9
|
|
|
10
10
|
var Search = function Search(props) {
|
|
11
11
|
var _props$placeholder = props.placeholder,
|
|
@@ -25,12 +25,12 @@ var Search = function Search(props) {
|
|
|
25
25
|
window.location.href = '/search?searchTerm=' + encodeURIComponent(searchKey);
|
|
26
26
|
};
|
|
27
27
|
|
|
28
|
-
return
|
|
28
|
+
return React__default.createElement(
|
|
29
29
|
Form,
|
|
30
30
|
{ inline: true, onSubmit: function onSubmit(e) {
|
|
31
31
|
return submitSearch(e);
|
|
32
32
|
} },
|
|
33
|
-
|
|
33
|
+
React__default.createElement(FormControl, {
|
|
34
34
|
className: device === 'mobile' ? 'mobile-search mr-sm-2' : 'mr-sm-2',
|
|
35
35
|
type: 'text',
|
|
36
36
|
placeholder: placeholder,
|
|
@@ -39,14 +39,14 @@ var Search = function Search(props) {
|
|
|
39
39
|
return setSearchKey(e.target.value);
|
|
40
40
|
}
|
|
41
41
|
}),
|
|
42
|
-
|
|
42
|
+
React__default.createElement(
|
|
43
43
|
Button,
|
|
44
44
|
{ variant: 'secondary', onClick: function onClick(e) {
|
|
45
45
|
return submitSearch(e);
|
|
46
46
|
} },
|
|
47
47
|
btnText
|
|
48
48
|
),
|
|
49
|
-
|
|
49
|
+
React__default.createElement(
|
|
50
50
|
'style',
|
|
51
51
|
{ jsx: 'true' },
|
|
52
52
|
'\n .mobile-search {\n width: 75%;\n margin-right: 15px;\n }\n '
|
package/dist/esm/Segment.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-9716ae8d.js';
|
|
1
2
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './core.get-iterator-method-
|
|
3
|
+
import './core.get-iterator-method-e903ff31.js';
|
|
4
|
+
import './web.dom.iterable-fdf034f5.js';
|
|
3
5
|
import './_library-528f1934.js';
|
|
4
|
-
import './_iter-detect-
|
|
5
|
-
import './web.dom.iterable-406140e0.js';
|
|
6
|
-
import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-9c835201.js';
|
|
6
|
+
import './_iter-detect-f089461c.js';
|
|
7
7
|
|
|
8
8
|
require('babel-polyfill');
|
|
9
9
|
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
+
import { _ as _toConsumableArray } from './toConsumableArray-7b1c0e23.js';
|
|
2
|
+
import { _ as _extends } from './extends-dc6a71fd.js';
|
|
3
|
+
import { _ as _slicedToArray } from './slicedToArray-ca2c8b8d.js';
|
|
4
|
+
import React__default, { useState, useEffect, useRef } from 'react';
|
|
5
|
+
import { useRouter } from 'next/router';
|
|
6
|
+
import { l as lib_3 } from './index-5cc7b406.js';
|
|
7
|
+
import { I as InfiniteScroll } from './index.es-a6137319.js';
|
|
8
|
+
import { S as SeriesSlider } from './SeriesSlider-609f9d94.js';
|
|
9
|
+
import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
1
10
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './core.get-iterator-method-
|
|
3
|
-
import './_iter-detect-
|
|
4
|
-
import
|
|
5
|
-
import './
|
|
6
|
-
import { _ as _extends } from './extends-7fbbe94e.js';
|
|
7
|
-
import './web.dom.iterable-406140e0.js';
|
|
8
|
-
import React, { useState, useEffect, useRef } from 'react';
|
|
9
|
-
import { l as lib_3 } from './index-1819118a.js';
|
|
11
|
+
import './core.get-iterator-method-e903ff31.js';
|
|
12
|
+
import './_iter-detect-f089461c.js';
|
|
13
|
+
import './_object-pie-133f504a.js';
|
|
14
|
+
import './web.dom.iterable-fdf034f5.js';
|
|
10
15
|
import 'prop-types';
|
|
11
|
-
import
|
|
12
|
-
import
|
|
16
|
+
import './index-c7e2ac95.js';
|
|
17
|
+
import './index-755f2cc2.js';
|
|
13
18
|
import 'react-dom';
|
|
14
|
-
import
|
|
15
|
-
import { _ as _slicedToArray } from './slicedToArray-99bcfd93.js';
|
|
16
|
-
import './index-51a80699.js';
|
|
19
|
+
import './smoothscroll-fa4e3f8c.js';
|
|
17
20
|
import './urlFor.js';
|
|
18
|
-
import './index-
|
|
19
|
-
import './main-
|
|
20
|
-
import './index-c7e2ac95.js';
|
|
21
|
-
import './smoothscroll-0cd4c7a6.js';
|
|
22
|
-
import { S as SeriesSlider } from './SeriesSlider-b364d074.js';
|
|
21
|
+
import './index-0dbff1d1.js';
|
|
22
|
+
import './main-1894c974.js';
|
|
23
23
|
|
|
24
24
|
var usePrevious = function usePrevious(value) {
|
|
25
25
|
var ref = useRef();
|
|
@@ -181,19 +181,19 @@ var SeriesListingDeck = function SeriesListingDeck(props) {
|
|
|
181
181
|
}
|
|
182
182
|
}, [seriesData, setScrolling, count]);
|
|
183
183
|
|
|
184
|
-
return
|
|
184
|
+
return React__default.createElement(
|
|
185
185
|
InfiniteScroll,
|
|
186
186
|
{ dataLength: seriesData && seriesData.length, next: function next() {
|
|
187
187
|
return loadMore();
|
|
188
188
|
}, hasMore: scrolling, scrollThreshold: 0.9 },
|
|
189
|
-
|
|
189
|
+
React__default.createElement(
|
|
190
190
|
'div',
|
|
191
191
|
null,
|
|
192
|
-
seriesData && seriesData.length ?
|
|
192
|
+
seriesData && seriesData.length ? React__default.createElement(
|
|
193
193
|
'div',
|
|
194
194
|
null,
|
|
195
195
|
seriesData.map(function (series, index) {
|
|
196
|
-
return
|
|
196
|
+
return React__default.createElement(
|
|
197
197
|
VisibilitySensor,
|
|
198
198
|
{
|
|
199
199
|
key: series._id ? series._id : index,
|
|
@@ -201,34 +201,34 @@ var SeriesListingDeck = function SeriesListingDeck(props) {
|
|
|
201
201
|
onChange: function onChange(isVisible) {
|
|
202
202
|
isVisible && changePageNumber(currentPage, index, pageview);
|
|
203
203
|
} },
|
|
204
|
-
|
|
204
|
+
React__default.createElement(
|
|
205
205
|
'div',
|
|
206
206
|
{ className: 'mb-5', key: series.name },
|
|
207
|
-
|
|
207
|
+
React__default.createElement(
|
|
208
208
|
'div',
|
|
209
209
|
{ style: { fontSize: '20px', fontWeight: 'bold', borderBottom: '1px solid #eee', margin: '0 .5rem', color: '373a3c' } },
|
|
210
|
-
|
|
210
|
+
React__default.createElement(
|
|
211
211
|
'a',
|
|
212
212
|
{ href: '/' + parentIdentifier + '/' + series.identifier.current },
|
|
213
213
|
series.name
|
|
214
214
|
)
|
|
215
215
|
),
|
|
216
|
-
series.articles && series.articles.length == 0 &&
|
|
216
|
+
series.articles && series.articles.length == 0 && React__default.createElement(
|
|
217
217
|
'p',
|
|
218
218
|
{ className: 'mt-2 ml-2' },
|
|
219
219
|
'Please check back for more content.'
|
|
220
220
|
),
|
|
221
|
-
series.articles && series.articles.length > 0 &&
|
|
221
|
+
series.articles && series.articles.length > 0 && React__default.createElement(SeriesSlider, _extends({}, props, { dataset: series.articles, client: client }))
|
|
222
222
|
)
|
|
223
223
|
);
|
|
224
224
|
})
|
|
225
|
-
) :
|
|
225
|
+
) : React__default.createElement(
|
|
226
226
|
'div',
|
|
227
227
|
null,
|
|
228
|
-
|
|
228
|
+
React__default.createElement(
|
|
229
229
|
'h5',
|
|
230
230
|
null,
|
|
231
|
-
|
|
231
|
+
React__default.createElement(
|
|
232
232
|
'em',
|
|
233
233
|
{ className: 'pl-3' },
|
|
234
234
|
'New content coming soon, please check back later.'
|