@mjhls/mjh-framework 1.0.933 → 1.0.934
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/dist/cjs/AD.js +1 -1
- package/dist/cjs/AD300x250.js +21 -22
- package/dist/cjs/AD300x250x600.js +21 -22
- package/dist/cjs/AD728x90.js +24 -25
- package/dist/cjs/ADFloatingFooter.js +20 -21
- package/dist/cjs/ADFooter.js +4 -4
- package/dist/cjs/ADGutter.js +20 -21
- package/dist/cjs/{ADInfeed-44d43b8a.js → ADInfeed-a4d973da.js} +4 -4
- package/dist/cjs/ADSkyscraper.js +20 -21
- package/dist/cjs/ADSponsoredResources.js +20 -21
- package/dist/cjs/ADWebcast.js +20 -21
- package/dist/cjs/ADWelcome.js +17 -18
- package/dist/cjs/{ADlgInfeed-24d739f6.js → ADlgInfeed-def2c25d.js} +4 -4
- package/dist/cjs/AccordionPanel.js +6 -6
- package/dist/cjs/AdSlot.js +19 -20
- package/dist/cjs/AdSlotsProvider.js +11 -12
- package/dist/cjs/AlgoliaSearch.js +31 -14178
- package/dist/cjs/AlphabeticList.js +8 -8
- package/dist/cjs/ArticleCarousel.js +13 -13
- package/dist/cjs/ArticleProgramLandingPage.js +50 -50
- package/dist/cjs/ArticleSeriesLandingPage.js +29 -30
- package/dist/cjs/ArticleSeriesListing.js +30 -31
- package/dist/cjs/Auth.js +346 -482
- package/dist/cjs/AuthWrapper.js +13 -1766
- package/dist/cjs/{AuthorComponent-39b37d84.js → AuthorComponent-17e1c62b.js} +1 -1
- package/dist/cjs/Beam.js +6 -6
- package/dist/cjs/{BlockContent-9ebd251f.js → BlockContent-8b494587.js} +34 -34
- package/dist/cjs/Breadcrumbs.js +6 -6
- package/dist/cjs/CMEDeck.js +22 -23
- package/dist/cjs/Column2.js +14 -14
- package/dist/cjs/Column3.js +30 -31
- package/dist/cjs/ConferenceArticleCard.js +10 -10
- package/dist/cjs/ContentCardPaginated.js +37 -38
- package/dist/cjs/DeckContent.js +31 -32
- package/dist/cjs/DeckQueue.js +29 -30
- package/dist/cjs/DeckQueuePaginated.js +33 -34
- package/dist/cjs/{Dfp-9be904d5.js → Dfp-bcaa7e3f.js} +12 -13
- package/dist/cjs/EventsDeck.js +26 -26
- package/dist/cjs/ExternalResources.js +47 -47
- package/dist/cjs/Feature.js +7 -7
- package/dist/cjs/ForbesHero.js +10 -10
- package/dist/cjs/GridContent.js +45 -46
- package/dist/cjs/GridContentPaginated.js +46 -47
- package/dist/cjs/GridHero.js +11 -11
- package/dist/cjs/GroupDeck.js +12 -12
- package/dist/cjs/HamMagazine.js +27 -27
- package/dist/cjs/Hero.js +7 -7
- package/dist/cjs/HighlightenVideo.js +2 -2
- package/dist/cjs/HorizontalArticleListing.js +48 -48
- package/dist/cjs/HorizontalHero.js +8 -8
- package/dist/cjs/ImageSlider-10cd194f.js +1383 -0
- package/dist/cjs/IssueContentDeck.js +11 -11
- package/dist/cjs/IssueDeck.js +14 -14
- package/dist/cjs/IssueLanding.js +56 -56
- package/dist/cjs/LeftNav.js +19 -20
- package/dist/cjs/MasterDeck.js +30 -31
- package/dist/cjs/MasterDeckPaginated.js +33 -34
- package/dist/cjs/{MediaSeriesCard-ebf0b083.js → MediaSeriesCard-2e1f34e6.js} +799 -1002
- package/dist/cjs/MediaSeriesLanding.js +51 -52
- package/dist/cjs/MediaSeriesLandingPaginated.js +57 -58
- package/dist/cjs/NavDvm.js +11 -11
- package/dist/cjs/NavMagazine.js +29 -29
- package/dist/cjs/NavNative.js +30 -30
- package/dist/cjs/OncliveHero.js +7 -7
- package/dist/cjs/OncliveLargeHero.js +11 -11
- package/dist/cjs/PageFilter.js +4 -4
- package/dist/cjs/{Pagination-885dcfbd.js → Pagination-a2807e27.js} +3 -3
- package/dist/cjs/PartnerDetailListing.js +62 -63
- package/dist/cjs/PartnerDetailListingPaginated.js +62 -63
- package/dist/cjs/PdfDownload.js +2 -2
- package/dist/cjs/PopUpModal.js +4 -4
- package/dist/cjs/PubSection.js +32 -33
- package/dist/cjs/PubToc.js +6 -6
- package/dist/cjs/PublicationDeck.js +11 -11
- package/dist/cjs/{PublicationFeature-5ccf9b13.js → PublicationFeature-6f89fb97.js} +2 -2
- package/dist/cjs/PublicationLanding.js +27 -31
- package/dist/cjs/QueueDeckExpanded.js +35 -36
- package/dist/cjs/QueueDeckExpandedPaginated.js +38 -39
- package/dist/cjs/RecentNews.js +4 -4
- package/dist/cjs/RelatedContent.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 -18
- package/dist/cjs/{SeriesSlider-ba0c5d1a.js → SeriesSlider-88e59074.js} +10 -10
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +13 -13
- package/dist/cjs/{SocialSearchComponent-b7faaedc.js → SocialSearchComponent-af6ddcc0.js} +11 -11
- package/dist/cjs/TaxonomyCard.js +12 -12
- package/dist/cjs/TaxonomyDescription.js +46 -46
- package/dist/cjs/TemplateNormal.js +45 -46
- 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 +52 -52
- package/dist/cjs/VideoSeriesCard.js +13 -13
- package/dist/cjs/VideoSeriesFilter.js +7 -7
- package/dist/cjs/VideoSeriesLandingPage.js +35 -36
- package/dist/cjs/VideoSeriesListing.js +30 -31
- package/dist/cjs/View.js +94 -93
- package/dist/cjs/YahooHero.js +13 -13
- package/dist/cjs/YoutubeGroup.js +17 -17
- package/dist/cjs/{_is-array-54228b29.js → _is-array-aa52fa1e.js} +6 -6
- package/dist/cjs/{_iter-detect-b1df62f0.js → _iter-detect-05795553.js} +7 -7
- package/dist/cjs/{_object-pie-083f2dd6.js → _object-pie-68c5bcbc.js} +4 -4
- package/dist/cjs/{_object-sap-d1978572.js → _object-sap-171b9ea5.js} +1 -1
- package/dist/cjs/{_object-to-array-ce86cae7.js → _object-to-array-9bac8737.js} +2 -2
- package/dist/cjs/{asyncToGenerator-77821af0.js → asyncToGenerator-df19209d.js} +30 -30
- package/dist/cjs/{core.get-iterator-method-5643aa10.js → core.get-iterator-method-f3c44602.js} +35 -35
- package/dist/cjs/{debounce-d4a2369b.js → debounce-529c8d06.js} +2 -2
- package/dist/cjs/{define-property-e8404b64.js → define-property-21887c62.js} +6 -6
- package/dist/cjs/{defineProperty-9673846a.js → defineProperty-77a37684.js} +1 -1
- package/dist/cjs/{entities-df1aed86.js → entities-310b46ee.js} +1 -5
- package/dist/cjs/{eq-5fc26c07.js → eq-bb2843ed.js} +1 -1
- package/dist/cjs/{extends-7c86182f.js → extends-7df78678.js} +7 -8
- package/dist/cjs/faundadb.js +5 -5
- package/dist/cjs/{get-5839e5b5.js → get-adbb11e3.js} +21 -21
- package/dist/cjs/getQuery.js +2 -1
- package/dist/cjs/getRelatedArticle.js +68 -132
- package/dist/cjs/getRootDocGroup.js +4 -4
- package/dist/cjs/getSerializers.js +46 -46
- package/dist/cjs/{getTargeting-3c5754ac.js → getTargeting-1359b868.js} +2 -2
- package/dist/cjs/getTargeting.js +6 -6
- package/dist/{esm/iconBase-ccc56b97.js → cjs/iconBase-68959171.js} +5 -2
- package/dist/cjs/{index-fc2f1ca2.js → index-44481153.js} +488 -42
- package/dist/cjs/{index-f86bb269.js → index-99edf08a.js} +45 -44
- package/dist/cjs/{index-eadd5035.js → index-9d365128.js} +7 -7
- package/dist/cjs/{index-d48b231c.js → index-b5eb3ff8.js} +6 -11
- package/dist/cjs/{index-e6bae72c.js → index-cda68ef1.js} +159 -409
- package/dist/cjs/{index.esm-2bb721c8.js → index.esm-3ffa049c.js} +2 -2
- package/dist/cjs/{index.esm-c1e16606.js → index.esm-44f3e2d0.js} +1 -1
- package/dist/cjs/{index.esm-d81454e7.js → index.esm-48e0f0d8.js} +1 -1
- package/dist/cjs/{index.esm-d51c9ac6.js → index.esm-f93506ac.js} +1 -1
- package/dist/cjs/index.js +145 -147
- package/dist/cjs/{inherits-de66ea16.js → inherits-420ee86f.js} +18 -21
- package/dist/cjs/{isSymbol-03abbdf0.js → isSymbol-04666465.js} +15 -15
- package/dist/cjs/{keys-e982b3fa.js → keys-d207942e.js} +6 -6
- package/dist/cjs/{lodash-f0783643.js → lodash-7fd85bcf.js} +10 -58
- package/dist/cjs/main-7b5e57b0.js +898 -0
- package/dist/cjs/{moment-aca40de1.js → moment-ca3bd9fb.js} +1 -1
- package/dist/cjs/{react-social-icons-af932527.js → react-social-icons-07939b41.js} +17 -17
- package/dist/cjs/{slicedToArray-067dd3bc.js → slicedToArray-f6d4eaa8.js} +12 -12
- package/dist/cjs/{smoothscroll-99df7f93.js → smoothscroll-5054361f.js} +1 -1
- package/dist/cjs/{stringify-f7a37a8d.js → stringify-bbc68047.js} +5 -5
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-d7797c2b.js → toConsumableArray-c9b8a0d0.js} +7 -7
- package/dist/cjs/{toNumber-5e1fac58.js → toNumber-36d1e7e5.js} +5 -40
- package/dist/cjs/{typeof-567e31ff.js → typeof-ec08d471.js} +34 -34
- package/dist/cjs/urlFor.js +4 -4
- package/dist/cjs/{urlForFile-29d3815a.js → urlForFile-ad96158c.js} +1 -1
- package/dist/cjs/{ustream-api-3819e4aa.js → ustream-api-9ebe112f.js} +4 -4
- package/dist/cjs/{util-93a37fd0.js → util-f2c1b65b.js} +1 -12
- package/dist/cjs/{web.dom.iterable-d98303e0.js → web.dom.iterable-e34bf324.js} +2 -2
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +24 -25
- package/dist/esm/AD300x250x600.js +24 -25
- package/dist/esm/AD728x90.js +27 -28
- package/dist/esm/ADFloatingFooter.js +26 -27
- package/dist/esm/ADFooter.js +9 -9
- package/dist/esm/ADGutter.js +26 -27
- package/dist/esm/{ADInfeed-7af1f934.js → ADInfeed-f3a93040.js} +9 -9
- package/dist/esm/ADSkyscraper.js +26 -27
- package/dist/esm/ADSponsoredResources.js +26 -27
- package/dist/esm/ADWebcast.js +26 -27
- package/dist/esm/ADWelcome.js +27 -28
- package/dist/esm/{ADlgInfeed-ebcafb85.js → ADlgInfeed-c4814c4e.js} +8 -8
- package/dist/esm/AccordionPanel.js +22 -22
- package/dist/esm/AdSlot.js +22 -23
- package/dist/esm/AdSlotsProvider.js +12 -13
- package/dist/esm/AlgoliaSearch.js +55 -14202
- package/dist/esm/AlphabeticList.js +20 -20
- package/dist/esm/ArticleCarousel.js +16 -16
- package/dist/esm/ArticleProgramLandingPage.js +56 -56
- package/dist/esm/ArticleSeriesLandingPage.js +35 -36
- package/dist/esm/ArticleSeriesListing.js +54 -55
- package/dist/esm/Auth.js +417 -553
- package/dist/esm/AuthWrapper.js +26 -1780
- package/dist/esm/{AuthorComponent-11adff02.js → AuthorComponent-37ebc2bd.js} +11 -11
- package/dist/esm/Beam.js +6 -6
- package/dist/esm/{BlockContent-1e73bd2c.js → BlockContent-d05b5b23.js} +35 -35
- package/dist/esm/Breadcrumbs.js +15 -15
- package/dist/esm/CMEDeck.js +77 -78
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +25 -25
- package/dist/esm/Column3.js +49 -50
- package/dist/esm/ConferenceArticleCard.js +23 -23
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/ContentCardPaginated.js +72 -73
- package/dist/esm/DeckContent.js +76 -77
- package/dist/esm/DeckQueue.js +67 -68
- package/dist/esm/DeckQueuePaginated.js +63 -64
- package/dist/esm/{Dfp-102f0beb.js → Dfp-23281963.js} +20 -21
- package/dist/esm/EventsDeck.js +86 -86
- package/dist/esm/ExternalResources.js +73 -73
- package/dist/esm/Feature.js +21 -21
- package/dist/esm/ForbesHero.js +33 -33
- package/dist/esm/GridContent.js +142 -143
- package/dist/esm/GridContentPaginated.js +133 -134
- package/dist/esm/GridHero.js +35 -35
- package/dist/esm/GroupDeck.js +45 -45
- package/dist/esm/HamMagazine.js +104 -104
- package/dist/esm/Header.js +8 -8
- package/dist/esm/Hero.js +13 -13
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalArticleListing.js +70 -70
- package/dist/esm/HorizontalHero.js +26 -26
- package/dist/esm/ImageSlider-522a2cd0.js +1375 -0
- package/dist/esm/IssueContentDeck.js +48 -48
- package/dist/esm/IssueDeck.js +45 -45
- package/dist/esm/IssueLanding.js +64 -64
- package/dist/esm/LeftNav.js +32 -33
- package/dist/esm/MasterDeck.js +63 -64
- package/dist/esm/MasterDeckPaginated.js +55 -56
- package/dist/esm/{MediaSeriesCard-5b06f89b.js → MediaSeriesCard-4ba5bde7.js} +799 -1002
- package/dist/esm/MediaSeriesLanding.js +76 -77
- package/dist/esm/MediaSeriesLandingPaginated.js +80 -81
- package/dist/esm/NavDvm.js +54 -54
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +111 -111
- package/dist/esm/NavNative.js +101 -101
- package/dist/esm/OncliveHero.js +19 -19
- package/dist/esm/OncliveLargeHero.js +58 -58
- package/dist/esm/PageFilter.js +10 -10
- package/dist/esm/{Pagination-59436882.js → Pagination-185dfca0.js} +13 -13
- package/dist/esm/PartnerDetailListing.js +95 -96
- package/dist/esm/PartnerDetailListingPaginated.js +93 -94
- package/dist/esm/PdfDownload.js +7 -7
- package/dist/esm/PopUpModal.js +12 -12
- package/dist/esm/PubSection.js +37 -38
- package/dist/esm/PubToc.js +10 -10
- package/dist/esm/PublicationDeck.js +42 -42
- package/dist/esm/{PublicationFeature-d88e76b9.js → PublicationFeature-d79db241.js} +23 -23
- package/dist/esm/PublicationLanding.js +74 -78
- package/dist/esm/QueueDeckExpanded.js +273 -274
- package/dist/esm/QueueDeckExpandedPaginated.js +253 -254
- package/dist/esm/RecentNews.js +20 -20
- package/dist/esm/RelatedContent.js +23 -23
- package/dist/esm/RelatedTopicsDropdown.js +11 -11
- 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 -31
- package/dist/esm/{SeriesSlider-45adb8dc.js → SeriesSlider-0a8cfca0.js} +27 -27
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +30 -30
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-4b56cd8c.js → SocialSearchComponent-32ee0f63.js} +33 -33
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +44 -44
- package/dist/esm/TaxonomyDescription.js +50 -50
- package/dist/esm/TemplateNormal.js +65 -66
- 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 +64 -64
- package/dist/esm/VideoSeriesCard.js +25 -25
- package/dist/esm/VideoSeriesFilter.js +13 -13
- package/dist/esm/VideoSeriesLandingPage.js +40 -41
- package/dist/esm/VideoSeriesListing.js +70 -71
- package/dist/esm/View.js +250 -249
- package/dist/esm/YahooHero.js +33 -33
- package/dist/esm/YoutubeGroup.js +48 -48
- package/dist/esm/{_is-array-8d21b9e3.js → _is-array-4df618a6.js} +6 -6
- package/dist/esm/{_iter-detect-98db3b07.js → _iter-detect-130ee549.js} +7 -7
- package/dist/esm/{_object-pie-133f504a.js → _object-pie-33c40e79.js} +4 -4
- package/dist/esm/{_object-sap-7cee6f84.js → _object-sap-8b8ea5a9.js} +1 -1
- package/dist/esm/{_object-to-array-2300e51b.js → _object-to-array-c54dd835.js} +2 -2
- package/dist/esm/{asyncToGenerator-958ef5fc.js → asyncToGenerator-64812e90.js} +30 -30
- package/dist/esm/{brightcove-react-player-loader.es-57a70a56.js → brightcove-react-player-loader.es-4abff0b1.js} +3 -3
- package/dist/esm/{core.get-iterator-method-ea258bb1.js → core.get-iterator-method-86d4db69.js} +36 -36
- package/dist/esm/{debounce-533d9748.js → debounce-9207d8ee.js} +2 -2
- package/dist/esm/define-property-6d26cb48.js +18 -0
- package/dist/esm/{defineProperty-8c30428f.js → defineProperty-d7d9b577.js} +1 -1
- package/dist/esm/{entities-6d9154b4.js → entities-7cc3bf45.js} +1 -5
- package/dist/esm/{eq-bdcbf886.js → eq-b470f743.js} +1 -1
- package/dist/esm/{extends-6d8e3924.js → extends-a4230287.js} +8 -8
- package/dist/esm/faundadb.js +5 -5
- package/dist/esm/{get-3c308da4.js → get-1e515072.js} +21 -21
- package/dist/esm/getQuery.js +2 -1
- package/dist/esm/getRelatedArticle.js +69 -133
- package/dist/esm/getRootDocGroup.js +4 -4
- package/dist/esm/getSerializers.js +46 -46
- package/dist/esm/{getTargeting-42f9b439.js → getTargeting-ba1ffe43.js} +2 -2
- package/dist/esm/getTargeting.js +6 -6
- package/dist/{cjs/iconBase-be4097c0.js → esm/iconBase-602d52fe.js} +8 -33
- package/dist/esm/{index-f0fc23eb.js → index-1819118a.js} +490 -44
- package/dist/esm/{index-3f5c03b2.js → index-51a80699.js} +6 -11
- package/dist/esm/{index-755f2cc2.js → index-6c12bdd5.js} +10 -10
- package/dist/esm/{index-2eb00bbf.js → index-85bb0372.js} +569 -820
- package/dist/esm/{index-79cfd25c.js → index-fa2ffe86.js} +45 -44
- package/dist/esm/{index.es-a6137319.js → index.es-c6222053.js} +5 -5
- package/dist/esm/{index.esm-eb1e8e80.js → index.esm-55f22b35.js} +1 -1
- package/dist/esm/{index.esm-37268dca.js → index.esm-8ee5ff72.js} +16 -16
- package/dist/esm/{index.esm-9b042655.js → index.esm-c6715e80.js} +1 -1
- package/dist/esm/{index.esm-1bd8a0a8.js → index.esm-d1125763.js} +1 -1
- package/dist/esm/index.js +171 -173
- package/dist/esm/{inherits-a6ba2ec4.js → inherits-91a2c374.js} +19 -19
- package/dist/esm/{isSymbol-a7e9aafe.js → isSymbol-1981418f.js} +15 -15
- package/dist/esm/{keys-31dcdb31.js → keys-69989821.js} +6 -6
- package/dist/esm/{lodash-f97fd99a.js → lodash-ec8c6b48.js} +10 -58
- package/dist/esm/main-43ca42fe.js +886 -0
- package/dist/esm/{moment-bc12cb97.js → moment-b6f49411.js} +1 -1
- package/dist/esm/{react-social-icons-9be47857.js → react-social-icons-3822f1ce.js} +20 -20
- package/dist/esm/{slicedToArray-6ebcbfea.js → slicedToArray-67a08c9c.js} +12 -12
- package/dist/esm/{smoothscroll-fa4e3f8c.js → smoothscroll-0cd4c7a6.js} +1 -1
- package/dist/esm/stringify-70b72959.js +15 -0
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-f7074d7c.js → toConsumableArray-32282905.js} +7 -7
- package/dist/esm/{toNumber-5aeba6e7.js → toNumber-2f7a84cd.js} +5 -40
- package/dist/esm/{typeof-e9fc0c5d.js → typeof-f1b7564e.js} +34 -34
- package/dist/esm/urlFor.js +4 -4
- package/dist/esm/{urlForFile-b69adffc.js → urlForFile-d2a27665.js} +1 -1
- package/dist/esm/{ustream-api-d3714624.js → ustream-api-4c4fe0ba.js} +4 -4
- package/dist/esm/{util-8ed16d48.js → util-7700fc59.js} +1 -12
- package/dist/esm/{visibility-sensor-72fd8f8b.js → visibility-sensor-f40c2564.js} +2 -2
- package/dist/esm/{web.dom.iterable-ab4dea5c.js → web.dom.iterable-f8f967cd.js} +2 -2
- package/package.json +1 -1
- package/dist/cjs/ImageSlider-6c00b878.js +0 -2813
- 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/main-f1c77adb.js +0 -973
- package/dist/cjs/typeof-1358762e.js +0 -33
- package/dist/esm/ImageSlider-f84174cb.js +0 -2804
- 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/main-1894c974.js +0 -961
- package/dist/esm/stringify-2b084bee.js +0 -15
- package/dist/esm/typeof-2f07d0e8.js +0 -30
- package/dist/cjs/{brightcove-react-player-loader.es-a195642e.js → brightcove-react-player-loader.es-5c98aec7.js} +1 -1
package/dist/esm/DeckContent.js
CHANGED
|
@@ -1,44 +1,43 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
1
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
+
import './core.get-iterator-method-86d4db69.js';
|
|
3
|
+
import './_library-528f1934.js';
|
|
4
|
+
import './_iter-detect-130ee549.js';
|
|
5
|
+
import { _ as _toConsumableArray } from './toConsumableArray-32282905.js';
|
|
6
|
+
import './_object-pie-33c40e79.js';
|
|
7
|
+
import { _ as _extends } from './extends-a4230287.js';
|
|
8
|
+
import './_object-sap-8b8ea5a9.js';
|
|
9
|
+
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-91a2c374.js';
|
|
10
|
+
import './define-property-6d26cb48.js';
|
|
11
|
+
import './web.dom.iterable-f8f967cd.js';
|
|
12
|
+
import './typeof-f1b7564e.js';
|
|
13
|
+
import './_is-array-4df618a6.js';
|
|
14
|
+
import React from 'react';
|
|
15
|
+
import { l as lib_3 } from './index-1819118a.js';
|
|
16
|
+
import 'prop-types';
|
|
6
17
|
import Container from 'react-bootstrap/Container';
|
|
7
18
|
import Row from 'react-bootstrap/Row';
|
|
8
19
|
import Col from 'react-bootstrap/Col';
|
|
9
20
|
import Card from 'react-bootstrap/Card';
|
|
10
|
-
import { m as moment } from './moment-
|
|
21
|
+
import { m as moment } from './moment-b6f49411.js';
|
|
11
22
|
import { withRouter } from 'next/router';
|
|
12
|
-
import
|
|
13
|
-
import {
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
17
|
-
import { m as main_43 } from './main-1894c974.js';
|
|
18
|
-
import { c as clean_html_1 } from './entities-6d9154b4.js';
|
|
19
|
-
import { A as ADInfeed } from './ADInfeed-7af1f934.js';
|
|
20
|
-
import './_commonjsHelpers-0c4b6f40.js';
|
|
21
|
-
import './core.get-iterator-method-ea258bb1.js';
|
|
22
|
-
import './_iter-detect-98db3b07.js';
|
|
23
|
-
import './_object-pie-133f504a.js';
|
|
24
|
-
import './_object-sap-7cee6f84.js';
|
|
25
|
-
import './define-property-5f1bda73.js';
|
|
26
|
-
import './typeof-e9fc0c5d.js';
|
|
27
|
-
import './web.dom.iterable-ab4dea5c.js';
|
|
28
|
-
import './_is-array-8d21b9e3.js';
|
|
29
|
-
import './_library-528f1934.js';
|
|
30
|
-
import './events-6c3a7a63.js';
|
|
31
|
-
import 'prop-types';
|
|
32
|
-
import './isSymbol-a7e9aafe.js';
|
|
33
|
-
import './toNumber-5aeba6e7.js';
|
|
23
|
+
import './isSymbol-1981418f.js';
|
|
24
|
+
import { d as debounce_1 } from './debounce-9207d8ee.js';
|
|
25
|
+
import './toNumber-2f7a84cd.js';
|
|
26
|
+
import { I as InfiniteScroll } from './index.es-c6222053.js';
|
|
34
27
|
import 'react-dom';
|
|
35
|
-
import './
|
|
36
|
-
import './
|
|
37
|
-
import './
|
|
38
|
-
import './
|
|
39
|
-
import './
|
|
40
|
-
import './
|
|
28
|
+
import { V as VisibilitySensor } from './visibility-sensor-f40c2564.js';
|
|
29
|
+
import './slicedToArray-67a08c9c.js';
|
|
30
|
+
import './index-51a80699.js';
|
|
31
|
+
import urlFor from './urlFor.js';
|
|
32
|
+
import { L as LazyLoad } from './index-6c12bdd5.js';
|
|
33
|
+
import { m as main_40 } from './main-43ca42fe.js';
|
|
34
|
+
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
35
|
+
import './stringify-70b72959.js';
|
|
36
|
+
import './asyncToGenerator-64812e90.js';
|
|
41
37
|
import './Segment.js';
|
|
38
|
+
import './Beam.js';
|
|
39
|
+
import './AdSlot.js';
|
|
40
|
+
import { A as ADInfeed } from './ADInfeed-f3a93040.js';
|
|
42
41
|
|
|
43
42
|
var DeckContent = function (_React$Component) {
|
|
44
43
|
_inherits(DeckContent, _React$Component);
|
|
@@ -199,35 +198,35 @@ var DeckContent = function (_React$Component) {
|
|
|
199
198
|
url = authorDetail.url;
|
|
200
199
|
|
|
201
200
|
if (displayName && url && url.current) {
|
|
202
|
-
return
|
|
201
|
+
return React.createElement(
|
|
203
202
|
'div',
|
|
204
203
|
{ key: _id },
|
|
205
|
-
index === 0 &&
|
|
204
|
+
index === 0 && React.createElement(
|
|
206
205
|
'span',
|
|
207
206
|
{ className: 'pr-1' },
|
|
208
207
|
'By'
|
|
209
208
|
),
|
|
210
|
-
|
|
209
|
+
React.createElement(
|
|
211
210
|
'a',
|
|
212
211
|
{ href: '/authors/${url.current}', className: 'text-muted' },
|
|
213
212
|
displayName,
|
|
214
|
-
length !== index + 1 &&
|
|
213
|
+
length !== index + 1 && React.createElement('br', null)
|
|
215
214
|
)
|
|
216
215
|
);
|
|
217
216
|
} else if (displayName) {
|
|
218
|
-
return
|
|
217
|
+
return React.createElement(
|
|
219
218
|
'div',
|
|
220
219
|
{ key: _id },
|
|
221
|
-
index === 0 &&
|
|
220
|
+
index === 0 && React.createElement(
|
|
222
221
|
'span',
|
|
223
222
|
{ className: 'pr-1' },
|
|
224
223
|
'By'
|
|
225
224
|
),
|
|
226
|
-
|
|
225
|
+
React.createElement(
|
|
227
226
|
'span',
|
|
228
227
|
{ className: 'text-muted' },
|
|
229
228
|
displayName,
|
|
230
|
-
length !== index + 1 &&
|
|
229
|
+
length !== index + 1 && React.createElement('br', null)
|
|
231
230
|
)
|
|
232
231
|
);
|
|
233
232
|
}
|
|
@@ -273,7 +272,7 @@ var DeckContent = function (_React$Component) {
|
|
|
273
272
|
articles = _this.state.data;
|
|
274
273
|
}
|
|
275
274
|
|
|
276
|
-
return
|
|
275
|
+
return React.createElement(
|
|
277
276
|
Row,
|
|
278
277
|
null,
|
|
279
278
|
articles && articles.map(function (row, index) {
|
|
@@ -285,51 +284,51 @@ var DeckContent = function (_React$Component) {
|
|
|
285
284
|
lgVar = 6;
|
|
286
285
|
}
|
|
287
286
|
if (row._type === 'BrandInsight' && row.adUnit) {
|
|
288
|
-
return
|
|
287
|
+
return React.createElement(ADInfeed, { index: index, infeedAd: row });
|
|
289
288
|
} else {
|
|
290
289
|
var pageNumber = row.pageNumber || _this.state.page;
|
|
291
290
|
var contentCategoryName = row.contentCategory && row.contentCategory.name && _this.mapping[row.contentCategory.name] ? row.contentCategory.name : 'Articles';
|
|
292
|
-
return
|
|
293
|
-
|
|
291
|
+
return React.createElement(
|
|
292
|
+
React.Fragment,
|
|
294
293
|
{ key: itemCounter },
|
|
295
|
-
|
|
294
|
+
React.createElement(
|
|
296
295
|
VisibilitySensor,
|
|
297
296
|
{
|
|
298
297
|
onChange: function onChange(isVisible) {
|
|
299
298
|
isVisible && _this.changePageNumber(pageNumber);
|
|
300
299
|
} },
|
|
301
|
-
|
|
300
|
+
React.createElement(
|
|
302
301
|
Col,
|
|
303
302
|
{ md: 12, lg: lgVar, counter: itemCounter++, style: { display: 'flex', flex: '1 0 auto' } },
|
|
304
|
-
|
|
303
|
+
React.createElement(
|
|
305
304
|
Card,
|
|
306
305
|
{ className: 'content-card', style: { flexDirection: mode } },
|
|
307
|
-
(row.thumbnail && row.thumbnail.asset || _this.props.defaultImage) &&
|
|
306
|
+
(row.thumbnail && row.thumbnail.asset || _this.props.defaultImage) && React.createElement(
|
|
308
307
|
'a',
|
|
309
308
|
{ href: _this.mapping[contentCategoryName] + '/' + row.url.current },
|
|
310
|
-
|
|
309
|
+
React.createElement(
|
|
311
310
|
LazyLoad,
|
|
312
311
|
{ height: _this.props.imageHeight },
|
|
313
|
-
|
|
312
|
+
React.createElement(Card.Img, {
|
|
314
313
|
variant: 'top',
|
|
315
314
|
src: _this.renderCardImage(row, page),
|
|
316
315
|
alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : ''
|
|
317
316
|
})
|
|
318
317
|
)
|
|
319
318
|
),
|
|
320
|
-
|
|
319
|
+
React.createElement(
|
|
321
320
|
Card.Body,
|
|
322
321
|
null,
|
|
323
|
-
|
|
322
|
+
React.createElement(
|
|
324
323
|
'a',
|
|
325
324
|
{ href: _this.mapping[contentCategoryName] + '/' + row.url.current },
|
|
326
|
-
|
|
325
|
+
React.createElement(
|
|
327
326
|
Card.Title,
|
|
328
327
|
null,
|
|
329
328
|
row.title
|
|
330
329
|
)
|
|
331
330
|
),
|
|
332
|
-
_this.props.showPublished && row.published &&
|
|
331
|
+
_this.props.showPublished && row.published && React.createElement(
|
|
333
332
|
Card.Subtitle,
|
|
334
333
|
null,
|
|
335
334
|
moment(row.published).format('MMMM DD, YYYY')
|
|
@@ -337,7 +336,7 @@ var DeckContent = function (_React$Component) {
|
|
|
337
336
|
_this.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 && row.authorMapping.map(function (authorDetail, index) {
|
|
338
337
|
return _this.renderAuthor(authorDetail, index, row.authorMapping.length);
|
|
339
338
|
}),
|
|
340
|
-
|
|
339
|
+
React.createElement(
|
|
341
340
|
Card.Text,
|
|
342
341
|
null,
|
|
343
342
|
clean_html_1(row.summary)
|
|
@@ -346,7 +345,7 @@ var DeckContent = function (_React$Component) {
|
|
|
346
345
|
)
|
|
347
346
|
)
|
|
348
347
|
),
|
|
349
|
-
|
|
348
|
+
main_40 && _this.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
350
349
|
);
|
|
351
350
|
}
|
|
352
351
|
})
|
|
@@ -355,7 +354,7 @@ var DeckContent = function (_React$Component) {
|
|
|
355
354
|
var rightItems = _this.props.rightItems;
|
|
356
355
|
|
|
357
356
|
var i = ((index + 1) / numberOfItemsBeforeAd - 1) % rightItems.length;
|
|
358
|
-
return
|
|
357
|
+
return React.createElement(
|
|
359
358
|
Col,
|
|
360
359
|
{ md: 12, style: { display: 'flex', flex: '1 0 auto' } },
|
|
361
360
|
rightItems[i].component
|
|
@@ -363,15 +362,15 @@ var DeckContent = function (_React$Component) {
|
|
|
363
362
|
}, _this.renderManualPagination = function () {
|
|
364
363
|
var currentPage = _this.state.currentPage;
|
|
365
364
|
|
|
366
|
-
return
|
|
365
|
+
return React.createElement(
|
|
367
366
|
'div',
|
|
368
367
|
{ className: 'd-flex justify-content-between' },
|
|
369
|
-
currentPage && currentPage > 1 &&
|
|
368
|
+
currentPage && currentPage > 1 && React.createElement(
|
|
370
369
|
'a',
|
|
371
370
|
{ href: '?page=' + (currentPage - 1) },
|
|
372
371
|
'<< Previous'
|
|
373
372
|
),
|
|
374
|
-
|
|
373
|
+
React.createElement(
|
|
375
374
|
'a',
|
|
376
375
|
{ href: '?page=' + (currentPage + 1) },
|
|
377
376
|
'Next >>'
|
|
@@ -418,38 +417,38 @@ var DeckContent = function (_React$Component) {
|
|
|
418
417
|
biStart = _props.biStart;
|
|
419
418
|
|
|
420
419
|
|
|
421
|
-
return
|
|
420
|
+
return React.createElement(
|
|
422
421
|
'div',
|
|
423
422
|
{ className: 'contentDeck' },
|
|
424
|
-
autoScroll ?
|
|
425
|
-
|
|
423
|
+
autoScroll ? React.createElement(
|
|
424
|
+
React.Fragment,
|
|
426
425
|
null,
|
|
427
|
-
|
|
426
|
+
React.createElement(
|
|
428
427
|
InfiniteScroll,
|
|
429
428
|
{ dataLength: this.state.data.length, next: this.loadMore, hasMore: this.state.scrolling, scrollThreshold: 0.9 },
|
|
430
|
-
|
|
429
|
+
React.createElement(
|
|
431
430
|
Container,
|
|
432
431
|
null,
|
|
433
432
|
this.cardLoader(page, columns, variant, showBI, brandInsight, biStart)
|
|
434
433
|
)
|
|
435
434
|
),
|
|
436
|
-
|
|
435
|
+
React.createElement(
|
|
437
436
|
'noscript',
|
|
438
437
|
null,
|
|
439
438
|
this.renderManualPagination()
|
|
440
439
|
)
|
|
441
|
-
) :
|
|
442
|
-
|
|
440
|
+
) : React.createElement(
|
|
441
|
+
React.Fragment,
|
|
443
442
|
null,
|
|
444
|
-
|
|
443
|
+
React.createElement(
|
|
445
444
|
Container,
|
|
446
445
|
null,
|
|
447
446
|
this.cardLoader(page, columns, variant, showBI, brandInsight, biStart)
|
|
448
447
|
),
|
|
449
|
-
|
|
448
|
+
React.createElement(
|
|
450
449
|
'div',
|
|
451
450
|
{ style: { padding: '0px 10px' } },
|
|
452
|
-
this.state.scrolling ?
|
|
451
|
+
this.state.scrolling ? React.createElement(
|
|
453
452
|
'button',
|
|
454
453
|
{
|
|
455
454
|
style: { margin: 'auto', width: '100%' },
|
|
@@ -457,17 +456,17 @@ var DeckContent = function (_React$Component) {
|
|
|
457
456
|
_this2.loadMore();
|
|
458
457
|
} },
|
|
459
458
|
'Load More'
|
|
460
|
-
) :
|
|
459
|
+
) : React.createElement(
|
|
461
460
|
'p',
|
|
462
461
|
{ style: { textAlign: 'center' } },
|
|
463
|
-
|
|
462
|
+
React.createElement(
|
|
464
463
|
'b',
|
|
465
464
|
null,
|
|
466
465
|
'End of data'
|
|
467
466
|
)
|
|
468
467
|
)
|
|
469
468
|
),
|
|
470
|
-
|
|
469
|
+
React.createElement(
|
|
471
470
|
'noscript',
|
|
472
471
|
null,
|
|
473
472
|
this.renderManualPagination()
|
|
@@ -478,7 +477,7 @@ var DeckContent = function (_React$Component) {
|
|
|
478
477
|
}]);
|
|
479
478
|
|
|
480
479
|
return DeckContent;
|
|
481
|
-
}(
|
|
480
|
+
}(React.Component);
|
|
482
481
|
|
|
483
482
|
var ContentCard = withRouter(DeckContent);
|
|
484
483
|
|
package/dist/esm/DeckQueue.js
CHANGED
|
@@ -1,40 +1,39 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
1
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
+
import './core.get-iterator-method-86d4db69.js';
|
|
3
|
+
import './_library-528f1934.js';
|
|
4
|
+
import './_iter-detect-130ee549.js';
|
|
5
|
+
import { _ as _toConsumableArray } from './toConsumableArray-32282905.js';
|
|
6
|
+
import './_object-pie-33c40e79.js';
|
|
7
|
+
import { _ as _extends } from './extends-a4230287.js';
|
|
8
|
+
import './_object-sap-8b8ea5a9.js';
|
|
9
|
+
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-91a2c374.js';
|
|
10
|
+
import './define-property-6d26cb48.js';
|
|
11
|
+
import './web.dom.iterable-f8f967cd.js';
|
|
12
|
+
import './typeof-f1b7564e.js';
|
|
13
|
+
import './_is-array-4df618a6.js';
|
|
14
|
+
import React from 'react';
|
|
15
|
+
import { l as lib_3 } from './index-1819118a.js';
|
|
16
|
+
import 'prop-types';
|
|
6
17
|
import Container from 'react-bootstrap/Container';
|
|
7
18
|
import Row from 'react-bootstrap/Row';
|
|
8
19
|
import Col from 'react-bootstrap/Col';
|
|
9
20
|
import Card from 'react-bootstrap/Card';
|
|
10
|
-
import {
|
|
11
|
-
import { m as moment } from './moment-bc12cb97.js';
|
|
21
|
+
import { m as moment } from './moment-b6f49411.js';
|
|
12
22
|
import { withRouter } from 'next/router';
|
|
13
|
-
import
|
|
14
|
-
import {
|
|
15
|
-
import
|
|
16
|
-
import { I as InfiniteScroll } from './index.es-
|
|
17
|
-
import urlFor from './urlFor.js';
|
|
18
|
-
import { m as main_43 } from './main-1894c974.js';
|
|
19
|
-
import { c as clean_html_1 } from './entities-6d9154b4.js';
|
|
20
|
-
import './_commonjsHelpers-0c4b6f40.js';
|
|
21
|
-
import './core.get-iterator-method-ea258bb1.js';
|
|
22
|
-
import './_iter-detect-98db3b07.js';
|
|
23
|
-
import './_object-pie-133f504a.js';
|
|
24
|
-
import './_object-sap-7cee6f84.js';
|
|
25
|
-
import './define-property-5f1bda73.js';
|
|
26
|
-
import './typeof-e9fc0c5d.js';
|
|
27
|
-
import './web.dom.iterable-ab4dea5c.js';
|
|
28
|
-
import './_is-array-8d21b9e3.js';
|
|
29
|
-
import './_library-528f1934.js';
|
|
30
|
-
import './events-6c3a7a63.js';
|
|
31
|
-
import 'prop-types';
|
|
23
|
+
import './isSymbol-1981418f.js';
|
|
24
|
+
import { d as debounce_1 } from './debounce-9207d8ee.js';
|
|
25
|
+
import './toNumber-2f7a84cd.js';
|
|
26
|
+
import { I as InfiniteScroll } from './index.es-c6222053.js';
|
|
32
27
|
import 'react-dom';
|
|
33
|
-
import './
|
|
34
|
-
import './
|
|
35
|
-
import './
|
|
36
|
-
import './
|
|
37
|
-
import './index-
|
|
28
|
+
import { V as VisibilitySensor } from './visibility-sensor-f40c2564.js';
|
|
29
|
+
import './slicedToArray-67a08c9c.js';
|
|
30
|
+
import './index-51a80699.js';
|
|
31
|
+
import urlFor from './urlFor.js';
|
|
32
|
+
import { L as LazyLoad } from './index-6c12bdd5.js';
|
|
33
|
+
import { m as main_40 } from './main-43ca42fe.js';
|
|
34
|
+
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
35
|
+
import { g as get_1 } from './get-1e515072.js';
|
|
36
|
+
import './eq-b470f743.js';
|
|
38
37
|
|
|
39
38
|
var DeckQueue = function (_React$Component) {
|
|
40
39
|
_inherits(DeckQueue, _React$Component);
|
|
@@ -184,7 +183,7 @@ var DeckQueue = function (_React$Component) {
|
|
|
184
183
|
var rightItems = _this.props.rightItems;
|
|
185
184
|
|
|
186
185
|
var i = ((index + 1) / numberOfItemsBeforeAd - 1) % rightItems.length;
|
|
187
|
-
return
|
|
186
|
+
return React.createElement(
|
|
188
187
|
'div',
|
|
189
188
|
{ style: { display: 'flex', flex: '1 0 auto' } },
|
|
190
189
|
rightItems[i].component
|
|
@@ -192,15 +191,15 @@ var DeckQueue = function (_React$Component) {
|
|
|
192
191
|
}, _this.renderManualPagination = function () {
|
|
193
192
|
var currentPage = _this.state.currentPage;
|
|
194
193
|
|
|
195
|
-
return
|
|
194
|
+
return React.createElement(
|
|
196
195
|
'div',
|
|
197
196
|
{ className: 'd-flex justify-content-between' },
|
|
198
|
-
currentPage && currentPage > 1 &&
|
|
197
|
+
currentPage && currentPage > 1 && React.createElement(
|
|
199
198
|
'a',
|
|
200
199
|
{ href: '?page=' + (currentPage - 1) },
|
|
201
200
|
'<< Previous'
|
|
202
201
|
),
|
|
203
|
-
|
|
202
|
+
React.createElement(
|
|
204
203
|
'a',
|
|
205
204
|
{ href: '?page=' + (currentPage + 1) },
|
|
206
205
|
'Next >>'
|
|
@@ -218,78 +217,78 @@ var DeckQueue = function (_React$Component) {
|
|
|
218
217
|
var lgVar = Math.floor(12 / columns);
|
|
219
218
|
var numberOfItemsBeforeAd = 6;
|
|
220
219
|
|
|
221
|
-
return
|
|
220
|
+
return React.createElement(
|
|
222
221
|
Row,
|
|
223
222
|
null,
|
|
224
223
|
this.state.data && this.state.data.map(function (row, index) {
|
|
225
224
|
var pageNumber = row.pageNumber || _this2.state.page;
|
|
226
225
|
// const thumbnailURL = get(row, 'thumbnail.asset.url', this.props.defaultImage)
|
|
227
226
|
|
|
228
|
-
return
|
|
229
|
-
|
|
227
|
+
return React.createElement(
|
|
228
|
+
React.Fragment,
|
|
230
229
|
{ key: index },
|
|
231
|
-
|
|
230
|
+
React.createElement(
|
|
232
231
|
VisibilitySensor,
|
|
233
232
|
{
|
|
234
233
|
onChange: function onChange(isVisible) {
|
|
235
234
|
isVisible && _this2.changePageNumber(pageNumber);
|
|
236
235
|
} },
|
|
237
|
-
|
|
236
|
+
React.createElement(
|
|
238
237
|
Col,
|
|
239
238
|
{ md: 12, lg: lgVar, style: { display: 'flex', flex: '1 0 auto' } },
|
|
240
|
-
|
|
239
|
+
React.createElement(
|
|
241
240
|
Card,
|
|
242
241
|
{ className: 'queue-card', style: { borderTop: '1px solid #EEE' } },
|
|
243
|
-
|
|
242
|
+
React.createElement(
|
|
244
243
|
Row,
|
|
245
244
|
{ style: { flexDirection: mode } },
|
|
246
|
-
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) &&
|
|
245
|
+
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) && React.createElement(
|
|
247
246
|
Col,
|
|
248
247
|
{ md: 12, lg: 4 },
|
|
249
|
-
|
|
248
|
+
React.createElement(
|
|
250
249
|
'a',
|
|
251
250
|
{ href: _this2.page + '/' + get_1(row, 'url.current') },
|
|
252
|
-
|
|
251
|
+
React.createElement(
|
|
253
252
|
LazyLoad,
|
|
254
253
|
{ height: _this2.props.imageHeight },
|
|
255
|
-
|
|
254
|
+
React.createElement(Card.Img, { variant: 'top', src: _this2.renderCardImage(row), alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : '' })
|
|
256
255
|
)
|
|
257
256
|
)
|
|
258
257
|
),
|
|
259
|
-
|
|
258
|
+
React.createElement(
|
|
260
259
|
Col,
|
|
261
260
|
null,
|
|
262
|
-
|
|
261
|
+
React.createElement(
|
|
263
262
|
Card.Body,
|
|
264
263
|
{ style: { padding: '20px' } },
|
|
265
|
-
row.title &&
|
|
264
|
+
row.title && React.createElement(
|
|
266
265
|
Card.Title,
|
|
267
266
|
null,
|
|
268
|
-
|
|
267
|
+
React.createElement(
|
|
269
268
|
'a',
|
|
270
269
|
{ href: _this2.page + '/' + get_1(row, 'url.current') },
|
|
271
270
|
row.title
|
|
272
271
|
)
|
|
273
272
|
),
|
|
274
|
-
_this2.props.showPublished && row.published &&
|
|
273
|
+
_this2.props.showPublished && row.published && React.createElement(
|
|
275
274
|
Card.Subtitle,
|
|
276
275
|
null,
|
|
277
276
|
moment(row.published).format('MMMM DD, YYYY')
|
|
278
277
|
),
|
|
279
|
-
_this2.props.showRecent && row.recent && row.recent.title &&
|
|
278
|
+
_this2.props.showRecent && row.recent && row.recent.title && React.createElement(
|
|
280
279
|
Card.Subtitle,
|
|
281
280
|
null,
|
|
282
281
|
'Recent : ',
|
|
283
|
-
|
|
282
|
+
React.createElement(
|
|
284
283
|
'a',
|
|
285
284
|
{ href: 'view/' + row.recent.url.current },
|
|
286
285
|
row.recent.title
|
|
287
286
|
)
|
|
288
287
|
),
|
|
289
|
-
row.summary &&
|
|
288
|
+
row.summary && React.createElement(
|
|
290
289
|
Card.Text,
|
|
291
290
|
null,
|
|
292
|
-
|
|
291
|
+
React.createElement(
|
|
293
292
|
'a',
|
|
294
293
|
{ href: _this2.page + '/' + get_1(row, 'url.current') },
|
|
295
294
|
clean_html_1(row.summary)
|
|
@@ -301,7 +300,7 @@ var DeckQueue = function (_React$Component) {
|
|
|
301
300
|
)
|
|
302
301
|
)
|
|
303
302
|
),
|
|
304
|
-
|
|
303
|
+
main_40 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
305
304
|
);
|
|
306
305
|
})
|
|
307
306
|
);
|
|
@@ -318,29 +317,29 @@ var DeckQueue = function (_React$Component) {
|
|
|
318
317
|
page = _props.page;
|
|
319
318
|
|
|
320
319
|
|
|
321
|
-
return
|
|
320
|
+
return React.createElement(
|
|
322
321
|
'div',
|
|
323
322
|
{ className: 'contentDeck' },
|
|
324
|
-
autoScroll ?
|
|
323
|
+
autoScroll ? React.createElement(
|
|
325
324
|
InfiniteScroll,
|
|
326
325
|
{ dataLength: this.state.data.length, next: this.loadMore, hasMore: this.state.scrolling },
|
|
327
|
-
|
|
326
|
+
React.createElement(
|
|
328
327
|
Container,
|
|
329
328
|
null,
|
|
330
329
|
this.cardLoader(page, columns, variant)
|
|
331
330
|
)
|
|
332
|
-
) :
|
|
333
|
-
|
|
331
|
+
) : React.createElement(
|
|
332
|
+
React.Fragment,
|
|
334
333
|
null,
|
|
335
|
-
|
|
334
|
+
React.createElement(
|
|
336
335
|
Container,
|
|
337
336
|
null,
|
|
338
337
|
this.cardLoader(page, columns, variant)
|
|
339
338
|
),
|
|
340
|
-
|
|
339
|
+
React.createElement(
|
|
341
340
|
'div',
|
|
342
341
|
{ style: { padding: '0px 10px' } },
|
|
343
|
-
this.state.scrolling ?
|
|
342
|
+
this.state.scrolling ? React.createElement(
|
|
344
343
|
'button',
|
|
345
344
|
{
|
|
346
345
|
style: { margin: 'auto', width: '100%' },
|
|
@@ -348,17 +347,17 @@ var DeckQueue = function (_React$Component) {
|
|
|
348
347
|
_this3.loadMore();
|
|
349
348
|
} },
|
|
350
349
|
'Load More'
|
|
351
|
-
) :
|
|
350
|
+
) : React.createElement(
|
|
352
351
|
'p',
|
|
353
352
|
{ style: { textAlign: 'center' } },
|
|
354
|
-
|
|
353
|
+
React.createElement(
|
|
355
354
|
'b',
|
|
356
355
|
null,
|
|
357
356
|
'End of data'
|
|
358
357
|
)
|
|
359
358
|
)
|
|
360
359
|
),
|
|
361
|
-
|
|
360
|
+
React.createElement(
|
|
362
361
|
'noscript',
|
|
363
362
|
null,
|
|
364
363
|
this.renderManualPagination()
|
|
@@ -369,7 +368,7 @@ var DeckQueue = function (_React$Component) {
|
|
|
369
368
|
}]);
|
|
370
369
|
|
|
371
370
|
return DeckQueue;
|
|
372
|
-
}(
|
|
371
|
+
}(React.Component);
|
|
373
372
|
|
|
374
373
|
var Queue = withRouter(DeckQueue);
|
|
375
374
|
|