@mjhls/mjh-framework 1.0.984 → 1.0.985-article-abstract-v2
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 +22 -21
- package/dist/cjs/AD300x250x600.js +22 -21
- package/dist/cjs/AD728x90.js +25 -24
- package/dist/cjs/ADFloatingFooter.js +21 -20
- package/dist/cjs/ADFooter.js +4 -4
- package/dist/cjs/ADGutter.js +21 -20
- package/dist/cjs/{ADInfeed-b54f0bda.js → ADInfeed-81006615.js} +4 -4
- package/dist/cjs/ADSkyscraper.js +21 -20
- package/dist/cjs/ADSponsoredResources.js +21 -20
- package/dist/cjs/ADWebcast.js +21 -20
- package/dist/cjs/ADWelcome.js +18 -17
- package/dist/cjs/{ADlgInfeed-4f0850ec.js → ADlgInfeed-0db07099.js} +4 -4
- package/dist/cjs/AccordionPanel.js +6 -6
- package/dist/cjs/AdSlot.js +20 -19
- package/dist/cjs/AdSlotsProvider.js +12 -11
- package/dist/cjs/AlgoliaSearch.js +14294 -31
- 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 +30 -29
- package/dist/cjs/ArticleSeriesListing.js +31 -30
- package/dist/cjs/Auth.js +482 -346
- package/dist/cjs/AuthWrapper.js +1767 -14
- 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-9ebd251f.js} +34 -34
- package/dist/cjs/Breadcrumbs.js +6 -6
- package/dist/cjs/CMEDeck.js +23 -22
- package/dist/cjs/Column2.js +14 -14
- package/dist/cjs/Column3.js +31 -30
- package/dist/cjs/ConferenceArticleCard.js +25 -25
- package/dist/cjs/ContentCardPaginated.js +37 -37
- package/dist/cjs/DeckContent.js +40 -39
- package/dist/cjs/DeckQueue.js +30 -29
- package/dist/cjs/DeckQueuePaginated.js +33 -33
- package/dist/cjs/{Dfp-bcaa7e3f.js → Dfp-9be904d5.js} +13 -12
- package/dist/cjs/EventsDeck.js +43 -43
- 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 +46 -45
- package/dist/cjs/GridContentPaginated.js +47 -47
- 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 +48 -48
- package/dist/cjs/HorizontalHero.js +8 -8
- package/dist/cjs/ImageSlider-6c00b878.js +2813 -0
- package/dist/cjs/IssueContentDeck.js +11 -11
- package/dist/cjs/IssueDeck.js +14 -14
- package/dist/cjs/IssueLanding.js +85 -85
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +20 -19
- package/dist/cjs/MasterDeck.js +39 -38
- package/dist/cjs/MasterDeckPaginated.js +41 -41
- package/dist/cjs/{MediaSeriesCard-408eaac7.js → MediaSeriesCard-84fa20f4.js} +1003 -800
- package/dist/cjs/MediaSeriesLanding.js +57 -56
- package/dist/cjs/MediaSeriesLandingPaginated.js +62 -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-2a3d0103.js +97 -0
- package/dist/cjs/PartnerDetailListing.js +63 -62
- package/dist/cjs/PartnerDetailListingPaginated.js +62 -62
- 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 +33 -32
- package/dist/cjs/PubToc.js +6 -6
- package/dist/cjs/PublicationDeck.js +11 -11
- package/dist/cjs/{PublicationFeature-6f89fb97.js → PublicationFeature-5ccf9b13.js} +2 -2
- package/dist/cjs/PublicationLanding.js +58 -54
- package/dist/cjs/QueueDeckExpanded.js +36 -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 +18 -17
- package/dist/cjs/{SeriesSlider-08699353.js → SeriesSlider-74546d19.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 +46 -46
- package/dist/cjs/TemplateNormal.js +46 -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 +52 -52
- package/dist/cjs/VideoSeriesCard.js +14 -14
- package/dist/cjs/VideoSeriesFilter.js +7 -7
- package/dist/cjs/VideoSeriesLandingPage.js +36 -35
- package/dist/cjs/VideoSeriesListing.js +31 -30
- package/dist/cjs/View.js +138 -120
- 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/defineProperty-e0fb52c5.js +73 -0
- package/dist/cjs/{entities-310b46ee.js → entities-df1aed86.js} +5 -1
- package/dist/cjs/{eq-bb2843ed.js → eq-5fc26c07.js} +1 -1
- package/dist/cjs/events-1b438fe7.js +469 -0
- package/dist/cjs/{extends-7df78678.js → extends-7c86182f.js} +8 -7
- package/dist/cjs/faundadb.js +5 -5
- package/dist/cjs/{get-adbb11e3.js → get-5839e5b5.js} +21 -21
- package/dist/cjs/getPtceActivities.js +4 -4
- package/dist/cjs/getRelatedArticle.js +132 -68
- package/dist/cjs/getRootDocGroup.js +4 -4
- package/dist/cjs/getSerializers.js +46 -46
- package/dist/cjs/{getTargeting-1359b868.js → getTargeting-dab97fe1.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-50be6759.js +105 -0
- package/dist/cjs/{index-7deba8d6.js → index-7f3d9184.js} +414 -164
- package/dist/cjs/{index-b5eb3ff8.js → index-d48b231c.js} +11 -6
- package/dist/cjs/{index-9d365128.js → index-eadd5035.js} +7 -7
- package/dist/cjs/{index-99edf08a.js → index-f86bb269.js} +44 -45
- package/dist/cjs/{index-44481153.js → index-fc2f1ca2.js} +42 -488
- 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 +147 -146
- 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-1358762e.js +33 -0
- 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/{util-f2c1b65b.js → util-93a37fd0.js} +12 -1
- 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 +25 -24
- package/dist/esm/AD300x250x600.js +25 -24
- package/dist/esm/AD728x90.js +28 -27
- package/dist/esm/ADFloatingFooter.js +27 -26
- package/dist/esm/ADFooter.js +9 -9
- package/dist/esm/ADGutter.js +27 -26
- package/dist/esm/{ADInfeed-310d113c.js → ADInfeed-6d1fc6bf.js} +9 -9
- package/dist/esm/ADSkyscraper.js +27 -26
- package/dist/esm/ADSponsoredResources.js +27 -26
- package/dist/esm/ADWebcast.js +27 -26
- package/dist/esm/ADWelcome.js +28 -27
- package/dist/esm/{ADlgInfeed-eeaa14e2.js → ADlgInfeed-dc36c928.js} +8 -8
- package/dist/esm/AccordionPanel.js +22 -22
- package/dist/esm/AdSlot.js +23 -22
- package/dist/esm/AdSlotsProvider.js +13 -12
- package/dist/esm/AlgoliaSearch.js +14318 -55
- 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 +36 -35
- package/dist/esm/ArticleSeriesListing.js +55 -54
- package/dist/esm/Auth.js +553 -417
- package/dist/esm/AuthWrapper.js +1781 -27
- package/dist/esm/{AuthorComponent-b0a47123.js → AuthorComponent-11adff02.js} +11 -11
- package/dist/esm/Beam.js +6 -6
- package/dist/esm/{BlockContent-d05b5b23.js → BlockContent-1e73bd2c.js} +35 -35
- package/dist/esm/Breadcrumbs.js +15 -15
- package/dist/esm/CMEDeck.js +78 -77
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +25 -25
- package/dist/esm/Column3.js +50 -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 +85 -84
- package/dist/esm/DeckQueue.js +71 -70
- package/dist/esm/DeckQueuePaginated.js +63 -63
- package/dist/esm/{Dfp-e151d2de.js → Dfp-102f0beb.js} +21 -20
- package/dist/esm/EventsDeck.js +103 -103
- 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 +146 -145
- package/dist/esm/GridContentPaginated.js +134 -134
- 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 +70 -70
- package/dist/esm/HorizontalHero.js +26 -26
- package/dist/esm/ImageSlider-f84174cb.js +2804 -0
- package/dist/esm/IssueContentDeck.js +48 -48
- package/dist/esm/IssueDeck.js +45 -45
- package/dist/esm/IssueLanding.js +93 -93
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +33 -32
- package/dist/esm/MasterDeck.js +72 -71
- package/dist/esm/MasterDeckPaginated.js +63 -63
- package/dist/esm/{MediaSeriesCard-ae83cba2.js → MediaSeriesCard-22059712.js} +1003 -800
- package/dist/esm/MediaSeriesLanding.js +82 -81
- package/dist/esm/MediaSeriesLandingPaginated.js +85 -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-dc30727b.js +90 -0
- package/dist/esm/PartnerDetailListing.js +98 -97
- package/dist/esm/PartnerDetailListingPaginated.js +93 -93
- 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 +38 -37
- package/dist/esm/PubToc.js +10 -10
- package/dist/esm/PublicationDeck.js +42 -42
- package/dist/esm/{PublicationFeature-0379cc20.js → PublicationFeature-d88e76b9.js} +23 -23
- package/dist/esm/PublicationLanding.js +105 -101
- package/dist/esm/QueueDeckExpanded.js +274 -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 +31 -30
- package/dist/esm/{SeriesSlider-b364d074.js → SeriesSlider-e495571f.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-4b56cd8c.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 +66 -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 +64 -64
- package/dist/esm/VideoSeriesCard.js +26 -26
- package/dist/esm/VideoSeriesFilter.js +13 -13
- package/dist/esm/VideoSeriesLandingPage.js +41 -40
- package/dist/esm/VideoSeriesListing.js +71 -70
- package/dist/esm/View.js +342 -323
- package/dist/esm/YahooHero.js +33 -33
- package/dist/esm/YoutubeGroup.js +52 -52
- package/dist/esm/{_is-array-31d40a83.js → _is-array-8d21b9e3.js} +6 -6
- package/dist/esm/{_iter-detect-72edfd60.js → _iter-detect-98db3b07.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-7cee6f84.js} +1 -1
- package/dist/esm/{_object-to-array-fa0feeff.js → _object-to-array-2300e51b.js} +2 -2
- package/dist/esm/{asyncToGenerator-9c835201.js → asyncToGenerator-958ef5fc.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-ea258bb1.js} +36 -36
- package/dist/esm/{debounce-9207d8ee.js → debounce-533d9748.js} +2 -2
- package/dist/esm/define-property-5f1bda73.js +18 -0
- package/dist/esm/defineProperty-23a8f8cd.js +68 -0
- package/dist/esm/{defineProperty-3518b6fe.js → defineProperty-8c30428f.js} +1 -1
- package/dist/esm/{entities-7cc3bf45.js → entities-6d9154b4.js} +5 -1
- package/dist/esm/{eq-b470f743.js → eq-bdcbf886.js} +1 -1
- package/dist/esm/events-6c3a7a63.js +467 -0
- package/dist/esm/{extends-7fbbe94e.js → extends-6d8e3924.js} +8 -8
- package/dist/esm/faundadb.js +5 -5
- package/dist/esm/{get-1e515072.js → get-3c308da4.js} +21 -21
- package/dist/esm/getPtceActivities.js +4 -4
- package/dist/esm/getRelatedArticle.js +133 -69
- package/dist/esm/getRootDocGroup.js +4 -4
- package/dist/esm/getSerializers.js +46 -46
- package/dist/esm/{getTargeting-260246fb.js → getTargeting-04d979c9.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-620826cb.js → index-1df13f26.js} +825 -574
- package/dist/esm/{index-51a80699.js → index-3f5c03b2.js} +11 -6
- 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-98ca9cec.js +100 -0
- package/dist/esm/{index-1819118a.js → index-f0fc23eb.js} +44 -490
- 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 +173 -172
- package/dist/esm/{inherits-d26c739e.js → inherits-a6ba2ec4.js} +19 -19
- package/dist/esm/{isSymbol-1981418f.js → isSymbol-a7e9aafe.js} +15 -15
- package/dist/esm/keys-31dcdb31.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-6ebcbfea.js} +12 -12
- package/dist/esm/{smoothscroll-0cd4c7a6.js → smoothscroll-fa4e3f8c.js} +1 -1
- package/dist/esm/stringify-2b084bee.js +15 -0
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-47a5394a.js → toConsumableArray-f7074d7c.js} +7 -7
- package/dist/esm/{toNumber-2f7a84cd.js → toNumber-5aeba6e7.js} +40 -5
- package/dist/esm/typeof-2f07d0e8.js +30 -0
- package/dist/esm/{typeof-d92ed6e0.js → typeof-e9fc0c5d.js} +34 -34
- package/dist/esm/urlFor.js +4 -4
- package/dist/esm/{urlForFile-0fc42ed8.js → urlForFile-b69adffc.js} +1 -1
- package/dist/esm/{ustream-api-cbba615a.js → ustream-api-d3714624.js} +4 -4
- package/dist/esm/{util-7700fc59.js → util-8ed16d48.js} +12 -1
- package/dist/esm/{visibility-sensor-f40c2564.js → visibility-sensor-72fd8f8b.js} +2 -2
- package/dist/esm/{web.dom.iterable-406140e0.js → web.dom.iterable-ab4dea5c.js} +2 -2
- package/package.json +115 -115
- package/dist/cjs/ImageSlider-10cd194f.js +0 -1383
- package/dist/cjs/Pagination-7624a3bd.js +0 -90
- package/dist/cjs/main-7b5e57b0.js +0 -898
- package/dist/esm/ImageSlider-5ae6287a.js +0 -1375
- package/dist/esm/Pagination-1e09918f.js +0 -82
- package/dist/esm/define-property-a8a00786.js +0 -18
- package/dist/esm/keys-5e9bd229.js +0 -23
- package/dist/esm/main-43ca42fe.js +0 -886
- package/dist/esm/stringify-0c65d837.js +0 -15
- package/dist/cjs/{brightcove-react-player-loader.es-5c98aec7.js → brightcove-react-player-loader.es-a195642e.js} +1 -1
package/dist/esm/DeckContent.js
CHANGED
|
@@ -1,43 +1,44 @@
|
|
|
1
|
-
import './
|
|
2
|
-
import './
|
|
3
|
-
import './
|
|
4
|
-
import '
|
|
5
|
-
import {
|
|
6
|
-
import './_object-pie-33c40e79.js';
|
|
7
|
-
import { _ as _extends } from './extends-7fbbe94e.js';
|
|
8
|
-
import './_object-sap-4201ccf6.js';
|
|
9
|
-
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-d26c739e.js';
|
|
10
|
-
import './define-property-a8a00786.js';
|
|
11
|
-
import './web.dom.iterable-406140e0.js';
|
|
12
|
-
import './typeof-d92ed6e0.js';
|
|
13
|
-
import './_is-array-31d40a83.js';
|
|
14
|
-
import React from 'react';
|
|
15
|
-
import { l as lib_3 } from './index-1819118a.js';
|
|
16
|
-
import 'prop-types';
|
|
1
|
+
import { _ as _toConsumableArray } from './toConsumableArray-f7074d7c.js';
|
|
2
|
+
import { _ as _extends } from './extends-6d8e3924.js';
|
|
3
|
+
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-a6ba2ec4.js';
|
|
4
|
+
import React__default from 'react';
|
|
5
|
+
import { l as lib_3 } from './index-f0fc23eb.js';
|
|
17
6
|
import Container from 'react-bootstrap/Container';
|
|
18
7
|
import Row from 'react-bootstrap/Row';
|
|
19
8
|
import Col from 'react-bootstrap/Col';
|
|
20
9
|
import Card from 'react-bootstrap/Card';
|
|
21
|
-
import { m as moment } from './moment-
|
|
10
|
+
import { m as moment } from './moment-bc12cb97.js';
|
|
22
11
|
import { withRouter } from 'next/router';
|
|
23
|
-
import './
|
|
24
|
-
import {
|
|
25
|
-
import './
|
|
26
|
-
import { I as InfiniteScroll } from './index.es-c6222053.js';
|
|
27
|
-
import 'react-dom';
|
|
28
|
-
import { V as VisibilitySensor } from './visibility-sensor-f40c2564.js';
|
|
29
|
-
import './slicedToArray-99bcfd93.js';
|
|
30
|
-
import './index-51a80699.js';
|
|
12
|
+
import { d as debounce_1 } from './debounce-533d9748.js';
|
|
13
|
+
import { I as InfiniteScroll } from './index.es-a6137319.js';
|
|
14
|
+
import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
31
15
|
import urlFor from './urlFor.js';
|
|
32
|
-
import { L as LazyLoad } from './index-
|
|
33
|
-
import { m as
|
|
34
|
-
import { c as clean_html_1 } from './entities-
|
|
35
|
-
import './
|
|
36
|
-
import './
|
|
37
|
-
import './
|
|
38
|
-
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-6d1fc6bf.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';
|
|
34
|
+
import 'react-dom';
|
|
35
|
+
import './slicedToArray-6ebcbfea.js';
|
|
36
|
+
import './index-3f5c03b2.js';
|
|
39
37
|
import './AdSlot.js';
|
|
40
|
-
import
|
|
38
|
+
import './Beam.js';
|
|
39
|
+
import './stringify-2b084bee.js';
|
|
40
|
+
import './asyncToGenerator-958ef5fc.js';
|
|
41
|
+
import './Segment.js';
|
|
41
42
|
|
|
42
43
|
var DeckContent = function (_React$Component) {
|
|
43
44
|
_inherits(DeckContent, _React$Component);
|
|
@@ -181,14 +182,14 @@ var DeckContent = function (_React$Component) {
|
|
|
181
182
|
var newPath = pageNumber === 1 ? '' + path : path + '?page=' + pageNumber;
|
|
182
183
|
|
|
183
184
|
// please leave this for later debug purpose : Yong Jun.
|
|
184
|
-
/* console.log('page change reported', {
|
|
185
|
-
currentPage: currentPage,
|
|
186
|
-
pageNumber: pageNumber,
|
|
187
|
-
pathname: pathname,
|
|
188
|
-
path: path,
|
|
189
|
-
newPath: newPath,
|
|
190
|
-
firstPage: pageNumber === 1,
|
|
191
|
-
queryString: queryString
|
|
185
|
+
/* console.log('page change reported', {
|
|
186
|
+
currentPage: currentPage,
|
|
187
|
+
pageNumber: pageNumber,
|
|
188
|
+
pathname: pathname,
|
|
189
|
+
path: path,
|
|
190
|
+
newPath: newPath,
|
|
191
|
+
firstPage: pageNumber === 1,
|
|
192
|
+
queryString: queryString
|
|
192
193
|
}) */
|
|
193
194
|
|
|
194
195
|
if (pageview) {
|
|
@@ -208,35 +209,35 @@ var DeckContent = function (_React$Component) {
|
|
|
208
209
|
url = authorDetail.url;
|
|
209
210
|
|
|
210
211
|
if (displayName && url && url.current) {
|
|
211
|
-
return
|
|
212
|
+
return React__default.createElement(
|
|
212
213
|
'div',
|
|
213
214
|
{ key: _id },
|
|
214
|
-
index === 0 &&
|
|
215
|
+
index === 0 && React__default.createElement(
|
|
215
216
|
'span',
|
|
216
217
|
{ className: 'pr-1' },
|
|
217
218
|
'By'
|
|
218
219
|
),
|
|
219
|
-
|
|
220
|
+
React__default.createElement(
|
|
220
221
|
'a',
|
|
221
222
|
{ href: '/authors/${url.current}', className: 'text-muted' },
|
|
222
223
|
displayName,
|
|
223
|
-
length !== index + 1 &&
|
|
224
|
+
length !== index + 1 && React__default.createElement('br', null)
|
|
224
225
|
)
|
|
225
226
|
);
|
|
226
227
|
} else if (displayName) {
|
|
227
|
-
return
|
|
228
|
+
return React__default.createElement(
|
|
228
229
|
'div',
|
|
229
230
|
{ key: _id },
|
|
230
|
-
index === 0 &&
|
|
231
|
+
index === 0 && React__default.createElement(
|
|
231
232
|
'span',
|
|
232
233
|
{ className: 'pr-1' },
|
|
233
234
|
'By'
|
|
234
235
|
),
|
|
235
|
-
|
|
236
|
+
React__default.createElement(
|
|
236
237
|
'span',
|
|
237
238
|
{ className: 'text-muted' },
|
|
238
239
|
displayName,
|
|
239
|
-
length !== index + 1 &&
|
|
240
|
+
length !== index + 1 && React__default.createElement('br', null)
|
|
240
241
|
)
|
|
241
242
|
);
|
|
242
243
|
}
|
|
@@ -282,7 +283,7 @@ var DeckContent = function (_React$Component) {
|
|
|
282
283
|
articles = _this.state.data;
|
|
283
284
|
}
|
|
284
285
|
|
|
285
|
-
return
|
|
286
|
+
return React__default.createElement(
|
|
286
287
|
Row,
|
|
287
288
|
null,
|
|
288
289
|
articles && articles.map(function (row, index) {
|
|
@@ -294,51 +295,51 @@ var DeckContent = function (_React$Component) {
|
|
|
294
295
|
lgVar = 6;
|
|
295
296
|
}
|
|
296
297
|
if (row._type === 'BrandInsight' && row.adUnit) {
|
|
297
|
-
return
|
|
298
|
+
return React__default.createElement(ADInfeed, { index: index, infeedAd: row });
|
|
298
299
|
} else {
|
|
299
300
|
var pageNumber = row.pageNumber || _this.state.page;
|
|
300
301
|
var contentCategoryName = row.contentCategory && row.contentCategory.name && _this.mapping[row.contentCategory.name] ? row.contentCategory.name : 'Articles';
|
|
301
|
-
return
|
|
302
|
-
|
|
302
|
+
return React__default.createElement(
|
|
303
|
+
React__default.Fragment,
|
|
303
304
|
{ key: itemCounter },
|
|
304
|
-
|
|
305
|
+
React__default.createElement(
|
|
305
306
|
VisibilitySensor,
|
|
306
307
|
{
|
|
307
308
|
onChange: function onChange(isVisible) {
|
|
308
309
|
isVisible && _this.changePageNumber(pageNumber);
|
|
309
310
|
} },
|
|
310
|
-
|
|
311
|
+
React__default.createElement(
|
|
311
312
|
Col,
|
|
312
313
|
{ md: 12, lg: lgVar, counter: itemCounter++, style: { display: 'flex', flex: '1 0 auto' } },
|
|
313
|
-
|
|
314
|
+
React__default.createElement(
|
|
314
315
|
Card,
|
|
315
316
|
{ className: 'content-card', style: { flexDirection: mode } },
|
|
316
|
-
(row.thumbnail && row.thumbnail.asset || _this.props.defaultImage) &&
|
|
317
|
+
(row.thumbnail && row.thumbnail.asset || _this.props.defaultImage) && React__default.createElement(
|
|
317
318
|
'a',
|
|
318
319
|
{ href: _this.mapping[contentCategoryName] + '/' + row.url.current },
|
|
319
|
-
|
|
320
|
+
React__default.createElement(
|
|
320
321
|
LazyLoad,
|
|
321
322
|
{ height: _this.props.imageHeight },
|
|
322
|
-
|
|
323
|
+
React__default.createElement(Card.Img, {
|
|
323
324
|
variant: 'top',
|
|
324
325
|
src: _this.renderCardImage(row, page),
|
|
325
326
|
alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : ''
|
|
326
327
|
})
|
|
327
328
|
)
|
|
328
329
|
),
|
|
329
|
-
|
|
330
|
+
React__default.createElement(
|
|
330
331
|
Card.Body,
|
|
331
332
|
null,
|
|
332
|
-
|
|
333
|
+
React__default.createElement(
|
|
333
334
|
'a',
|
|
334
335
|
{ href: _this.mapping[contentCategoryName] + '/' + row.url.current },
|
|
335
|
-
|
|
336
|
+
React__default.createElement(
|
|
336
337
|
Card.Title,
|
|
337
338
|
null,
|
|
338
339
|
row.title
|
|
339
340
|
)
|
|
340
341
|
),
|
|
341
|
-
_this.props.showPublished && row.published &&
|
|
342
|
+
_this.props.showPublished && row.published && React__default.createElement(
|
|
342
343
|
Card.Subtitle,
|
|
343
344
|
null,
|
|
344
345
|
moment(row.published).format('MMMM DD, YYYY')
|
|
@@ -346,7 +347,7 @@ var DeckContent = function (_React$Component) {
|
|
|
346
347
|
_this.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 && row.authorMapping.map(function (authorDetail, index) {
|
|
347
348
|
return _this.renderAuthor(authorDetail, index, row.authorMapping.length);
|
|
348
349
|
}),
|
|
349
|
-
|
|
350
|
+
React__default.createElement(
|
|
350
351
|
Card.Text,
|
|
351
352
|
null,
|
|
352
353
|
clean_html_1(row.summary)
|
|
@@ -355,7 +356,7 @@ var DeckContent = function (_React$Component) {
|
|
|
355
356
|
)
|
|
356
357
|
)
|
|
357
358
|
),
|
|
358
|
-
|
|
359
|
+
main_43 && _this.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
359
360
|
);
|
|
360
361
|
}
|
|
361
362
|
})
|
|
@@ -364,7 +365,7 @@ var DeckContent = function (_React$Component) {
|
|
|
364
365
|
var rightItems = _this.props.rightItems;
|
|
365
366
|
|
|
366
367
|
var i = ((index + 1) / numberOfItemsBeforeAd - 1) % rightItems.length;
|
|
367
|
-
return
|
|
368
|
+
return React__default.createElement(
|
|
368
369
|
Col,
|
|
369
370
|
{ md: 12, style: { display: 'flex', flex: '1 0 auto' } },
|
|
370
371
|
rightItems[i].component
|
|
@@ -373,15 +374,15 @@ var DeckContent = function (_React$Component) {
|
|
|
373
374
|
var nextPagePostsCount = _ref2.nextPagePostsCount;
|
|
374
375
|
var currentPage = _this.state.currentPage;
|
|
375
376
|
|
|
376
|
-
return
|
|
377
|
+
return React__default.createElement(
|
|
377
378
|
'div',
|
|
378
379
|
{ className: 'd-flex justify-content-between' },
|
|
379
|
-
currentPage && currentPage > 1 &&
|
|
380
|
+
currentPage && currentPage > 1 && React__default.createElement(
|
|
380
381
|
'a',
|
|
381
382
|
{ href: '?page=' + (currentPage - 1) },
|
|
382
383
|
'<< Previous'
|
|
383
384
|
),
|
|
384
|
-
!(_this.state.lastDataSize < _this.state.itemsPerPage) && nextPagePostsCount > 0 &&
|
|
385
|
+
!(_this.state.lastDataSize < _this.state.itemsPerPage) && nextPagePostsCount > 0 && React__default.createElement(
|
|
385
386
|
'a',
|
|
386
387
|
{ href: '?page=' + (currentPage + 1) },
|
|
387
388
|
'Next >>'
|
|
@@ -430,38 +431,38 @@ var DeckContent = function (_React$Component) {
|
|
|
430
431
|
nextPagePostsCount = _props$nextPagePostsC === undefined ? 3 : _props$nextPagePostsC;
|
|
431
432
|
|
|
432
433
|
|
|
433
|
-
return
|
|
434
|
+
return React__default.createElement(
|
|
434
435
|
'div',
|
|
435
436
|
{ className: 'contentDeck' },
|
|
436
|
-
autoScroll ?
|
|
437
|
-
|
|
437
|
+
autoScroll ? React__default.createElement(
|
|
438
|
+
React__default.Fragment,
|
|
438
439
|
null,
|
|
439
|
-
|
|
440
|
+
React__default.createElement(
|
|
440
441
|
InfiniteScroll,
|
|
441
442
|
{ dataLength: this.state.data.length, next: this.loadMore, hasMore: this.state.scrolling, scrollThreshold: 0.9 },
|
|
442
|
-
|
|
443
|
+
React__default.createElement(
|
|
443
444
|
Container,
|
|
444
445
|
null,
|
|
445
446
|
this.cardLoader(page, columns, variant, showBI, brandInsight, biStart)
|
|
446
447
|
)
|
|
447
448
|
),
|
|
448
|
-
|
|
449
|
+
React__default.createElement(
|
|
449
450
|
'noscript',
|
|
450
451
|
null,
|
|
451
452
|
this.renderManualPagination({ nextPagePostsCount: nextPagePostsCount })
|
|
452
453
|
)
|
|
453
|
-
) :
|
|
454
|
-
|
|
454
|
+
) : React__default.createElement(
|
|
455
|
+
React__default.Fragment,
|
|
455
456
|
null,
|
|
456
|
-
|
|
457
|
+
React__default.createElement(
|
|
457
458
|
Container,
|
|
458
459
|
null,
|
|
459
460
|
this.cardLoader(page, columns, variant, showBI, brandInsight, biStart)
|
|
460
461
|
),
|
|
461
|
-
|
|
462
|
+
React__default.createElement(
|
|
462
463
|
'div',
|
|
463
464
|
{ style: { padding: '0px 10px' } },
|
|
464
|
-
this.state.scrolling ?
|
|
465
|
+
this.state.scrolling ? React__default.createElement(
|
|
465
466
|
'button',
|
|
466
467
|
{
|
|
467
468
|
style: { margin: 'auto', width: '100%' },
|
|
@@ -469,17 +470,17 @@ var DeckContent = function (_React$Component) {
|
|
|
469
470
|
_this2.loadMore();
|
|
470
471
|
} },
|
|
471
472
|
'Load More'
|
|
472
|
-
) :
|
|
473
|
+
) : React__default.createElement(
|
|
473
474
|
'p',
|
|
474
475
|
{ style: { textAlign: 'center' } },
|
|
475
|
-
|
|
476
|
+
React__default.createElement(
|
|
476
477
|
'b',
|
|
477
478
|
null,
|
|
478
479
|
'End of data'
|
|
479
480
|
)
|
|
480
481
|
)
|
|
481
482
|
),
|
|
482
|
-
|
|
483
|
+
React__default.createElement(
|
|
483
484
|
'noscript',
|
|
484
485
|
null,
|
|
485
486
|
this.renderManualPagination({ nextPagePostsCount: nextPagePostsCount })
|
|
@@ -490,7 +491,7 @@ var DeckContent = function (_React$Component) {
|
|
|
490
491
|
}]);
|
|
491
492
|
|
|
492
493
|
return DeckContent;
|
|
493
|
-
}(
|
|
494
|
+
}(React__default.Component);
|
|
494
495
|
|
|
495
496
|
var ContentCard = withRouter(DeckContent);
|
|
496
497
|
|
package/dist/esm/DeckQueue.js
CHANGED
|
@@ -1,39 +1,40 @@
|
|
|
1
|
-
import './
|
|
2
|
-
import './
|
|
3
|
-
import './
|
|
4
|
-
import '
|
|
5
|
-
import {
|
|
6
|
-
import './_object-pie-33c40e79.js';
|
|
7
|
-
import { _ as _extends } from './extends-7fbbe94e.js';
|
|
8
|
-
import './_object-sap-4201ccf6.js';
|
|
9
|
-
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-d26c739e.js';
|
|
10
|
-
import './define-property-a8a00786.js';
|
|
11
|
-
import './web.dom.iterable-406140e0.js';
|
|
12
|
-
import './typeof-d92ed6e0.js';
|
|
13
|
-
import './_is-array-31d40a83.js';
|
|
14
|
-
import React from 'react';
|
|
15
|
-
import { l as lib_3 } from './index-1819118a.js';
|
|
16
|
-
import 'prop-types';
|
|
1
|
+
import { _ as _toConsumableArray } from './toConsumableArray-f7074d7c.js';
|
|
2
|
+
import { _ as _extends } from './extends-6d8e3924.js';
|
|
3
|
+
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-a6ba2ec4.js';
|
|
4
|
+
import React__default from 'react';
|
|
5
|
+
import { l as lib_3 } from './index-f0fc23eb.js';
|
|
17
6
|
import Container from 'react-bootstrap/Container';
|
|
18
7
|
import Row from 'react-bootstrap/Row';
|
|
19
8
|
import Col from 'react-bootstrap/Col';
|
|
20
9
|
import Card from 'react-bootstrap/Card';
|
|
21
|
-
import {
|
|
10
|
+
import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
11
|
+
import { m as moment } from './moment-bc12cb97.js';
|
|
22
12
|
import { withRouter } from 'next/router';
|
|
23
|
-
import './
|
|
24
|
-
import {
|
|
25
|
-
import './
|
|
26
|
-
import { I as InfiniteScroll } from './index.es-
|
|
27
|
-
import 'react-dom';
|
|
28
|
-
import { V as VisibilitySensor } from './visibility-sensor-f40c2564.js';
|
|
29
|
-
import './slicedToArray-99bcfd93.js';
|
|
30
|
-
import './index-51a80699.js';
|
|
13
|
+
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
14
|
+
import { g as get_1 } from './get-3c308da4.js';
|
|
15
|
+
import { d as debounce_1 } from './debounce-533d9748.js';
|
|
16
|
+
import { I as InfiniteScroll } from './index.es-a6137319.js';
|
|
31
17
|
import urlFor from './urlFor.js';
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import
|
|
35
|
-
import
|
|
36
|
-
import './
|
|
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';
|
|
32
|
+
import 'react-dom';
|
|
33
|
+
import './isSymbol-a7e9aafe.js';
|
|
34
|
+
import './eq-bdcbf886.js';
|
|
35
|
+
import './toNumber-5aeba6e7.js';
|
|
36
|
+
import './slicedToArray-6ebcbfea.js';
|
|
37
|
+
import './index-3f5c03b2.js';
|
|
37
38
|
|
|
38
39
|
var DeckQueue = function (_React$Component) {
|
|
39
40
|
_inherits(DeckQueue, _React$Component);
|
|
@@ -186,7 +187,7 @@ var DeckQueue = function (_React$Component) {
|
|
|
186
187
|
var rightItems = _this.props.rightItems;
|
|
187
188
|
|
|
188
189
|
var i = ((index + 1) / numberOfItemsBeforeAd - 1) % rightItems.length;
|
|
189
|
-
return
|
|
190
|
+
return React__default.createElement(
|
|
190
191
|
'div',
|
|
191
192
|
{ style: { display: 'flex', flex: '1 0 auto' } },
|
|
192
193
|
rightItems[i].component
|
|
@@ -198,15 +199,15 @@ var DeckQueue = function (_React$Component) {
|
|
|
198
199
|
per = _this$state2.per,
|
|
199
200
|
lastDataSize = _this$state2.lastDataSize;
|
|
200
201
|
|
|
201
|
-
return
|
|
202
|
+
return React__default.createElement(
|
|
202
203
|
'div',
|
|
203
204
|
{ className: 'd-flex justify-content-between' },
|
|
204
|
-
currentPage && currentPage > 1 &&
|
|
205
|
+
currentPage && currentPage > 1 && React__default.createElement(
|
|
205
206
|
'a',
|
|
206
207
|
{ href: '?page=' + (currentPage - 1) },
|
|
207
208
|
'<< Previous'
|
|
208
209
|
),
|
|
209
|
-
!(lastDataSize < per) && nextPagePostsCount > 0 &&
|
|
210
|
+
!(lastDataSize < per) && nextPagePostsCount > 0 && React__default.createElement(
|
|
210
211
|
'a',
|
|
211
212
|
{ href: '?page=' + (currentPage + 1) },
|
|
212
213
|
'Next >>'
|
|
@@ -224,78 +225,78 @@ var DeckQueue = function (_React$Component) {
|
|
|
224
225
|
var lgVar = Math.floor(12 / columns);
|
|
225
226
|
var numberOfItemsBeforeAd = 6;
|
|
226
227
|
|
|
227
|
-
return
|
|
228
|
+
return React__default.createElement(
|
|
228
229
|
Row,
|
|
229
230
|
null,
|
|
230
231
|
this.state.data && this.state.data.map(function (row, index) {
|
|
231
232
|
var pageNumber = row.pageNumber || _this2.state.page;
|
|
232
233
|
// const thumbnailURL = get(row, 'thumbnail.asset.url', this.props.defaultImage)
|
|
233
234
|
|
|
234
|
-
return
|
|
235
|
-
|
|
235
|
+
return React__default.createElement(
|
|
236
|
+
React__default.Fragment,
|
|
236
237
|
{ key: index },
|
|
237
|
-
|
|
238
|
+
React__default.createElement(
|
|
238
239
|
VisibilitySensor,
|
|
239
240
|
{
|
|
240
241
|
onChange: function onChange(isVisible) {
|
|
241
242
|
isVisible && _this2.changePageNumber(pageNumber);
|
|
242
243
|
} },
|
|
243
|
-
|
|
244
|
+
React__default.createElement(
|
|
244
245
|
Col,
|
|
245
246
|
{ md: 12, lg: lgVar, style: { display: 'flex', flex: '1 0 auto' } },
|
|
246
|
-
|
|
247
|
+
React__default.createElement(
|
|
247
248
|
Card,
|
|
248
249
|
{ className: 'queue-card', style: { borderTop: '1px solid #EEE' } },
|
|
249
|
-
|
|
250
|
+
React__default.createElement(
|
|
250
251
|
Row,
|
|
251
252
|
{ style: { flexDirection: mode } },
|
|
252
|
-
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) &&
|
|
253
|
+
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) && React__default.createElement(
|
|
253
254
|
Col,
|
|
254
255
|
{ md: 12, lg: 4 },
|
|
255
|
-
|
|
256
|
+
React__default.createElement(
|
|
256
257
|
'a',
|
|
257
258
|
{ href: _this2.page + '/' + get_1(row, 'url.current') },
|
|
258
|
-
|
|
259
|
+
React__default.createElement(
|
|
259
260
|
LazyLoad,
|
|
260
261
|
{ height: _this2.props.imageHeight },
|
|
261
|
-
|
|
262
|
+
React__default.createElement(Card.Img, { variant: 'top', src: _this2.renderCardImage(row), alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : '' })
|
|
262
263
|
)
|
|
263
264
|
)
|
|
264
265
|
),
|
|
265
|
-
|
|
266
|
+
React__default.createElement(
|
|
266
267
|
Col,
|
|
267
268
|
null,
|
|
268
|
-
|
|
269
|
+
React__default.createElement(
|
|
269
270
|
Card.Body,
|
|
270
271
|
{ style: { padding: '20px' } },
|
|
271
|
-
row.title &&
|
|
272
|
+
row.title && React__default.createElement(
|
|
272
273
|
Card.Title,
|
|
273
274
|
null,
|
|
274
|
-
|
|
275
|
+
React__default.createElement(
|
|
275
276
|
'a',
|
|
276
277
|
{ href: _this2.page + '/' + get_1(row, 'url.current') },
|
|
277
278
|
row.title
|
|
278
279
|
)
|
|
279
280
|
),
|
|
280
|
-
_this2.props.showPublished && row.published &&
|
|
281
|
+
_this2.props.showPublished && row.published && React__default.createElement(
|
|
281
282
|
Card.Subtitle,
|
|
282
283
|
null,
|
|
283
284
|
moment(row.published).format('MMMM DD, YYYY')
|
|
284
285
|
),
|
|
285
|
-
_this2.props.showRecent && row.recent && row.recent.title &&
|
|
286
|
+
_this2.props.showRecent && row.recent && row.recent.title && React__default.createElement(
|
|
286
287
|
Card.Subtitle,
|
|
287
288
|
null,
|
|
288
289
|
'Recent : ',
|
|
289
|
-
|
|
290
|
+
React__default.createElement(
|
|
290
291
|
'a',
|
|
291
292
|
{ href: 'view/' + row.recent.url.current },
|
|
292
293
|
row.recent.title
|
|
293
294
|
)
|
|
294
295
|
),
|
|
295
|
-
row.summary &&
|
|
296
|
+
row.summary && React__default.createElement(
|
|
296
297
|
Card.Text,
|
|
297
298
|
null,
|
|
298
|
-
|
|
299
|
+
React__default.createElement(
|
|
299
300
|
'a',
|
|
300
301
|
{ href: _this2.page + '/' + get_1(row, 'url.current') },
|
|
301
302
|
clean_html_1(row.summary)
|
|
@@ -307,7 +308,7 @@ var DeckQueue = function (_React$Component) {
|
|
|
307
308
|
)
|
|
308
309
|
)
|
|
309
310
|
),
|
|
310
|
-
|
|
311
|
+
main_43 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
311
312
|
);
|
|
312
313
|
})
|
|
313
314
|
);
|
|
@@ -326,38 +327,38 @@ var DeckQueue = function (_React$Component) {
|
|
|
326
327
|
nextPagePostsCount = _props$nextPagePostsC === undefined ? 3 : _props$nextPagePostsC;
|
|
327
328
|
|
|
328
329
|
|
|
329
|
-
return
|
|
330
|
+
return React__default.createElement(
|
|
330
331
|
'div',
|
|
331
332
|
{ className: 'contentDeck' },
|
|
332
|
-
autoScroll ?
|
|
333
|
-
|
|
333
|
+
autoScroll ? React__default.createElement(
|
|
334
|
+
React__default.Fragment,
|
|
334
335
|
null,
|
|
335
|
-
|
|
336
|
+
React__default.createElement(
|
|
336
337
|
InfiniteScroll,
|
|
337
338
|
{ dataLength: this.state.data.length, next: this.loadMore, hasMore: this.state.scrolling },
|
|
338
|
-
|
|
339
|
+
React__default.createElement(
|
|
339
340
|
Container,
|
|
340
341
|
null,
|
|
341
342
|
this.cardLoader(page, columns, variant)
|
|
342
343
|
)
|
|
343
344
|
),
|
|
344
|
-
|
|
345
|
+
React__default.createElement(
|
|
345
346
|
'noscript',
|
|
346
347
|
null,
|
|
347
348
|
this.renderManualPagination({ nextPagePostsCount: nextPagePostsCount })
|
|
348
349
|
)
|
|
349
|
-
) :
|
|
350
|
-
|
|
350
|
+
) : React__default.createElement(
|
|
351
|
+
React__default.Fragment,
|
|
351
352
|
null,
|
|
352
|
-
|
|
353
|
+
React__default.createElement(
|
|
353
354
|
Container,
|
|
354
355
|
null,
|
|
355
356
|
this.cardLoader(page, columns, variant)
|
|
356
357
|
),
|
|
357
|
-
|
|
358
|
+
React__default.createElement(
|
|
358
359
|
'div',
|
|
359
360
|
{ style: { padding: '0px 10px' } },
|
|
360
|
-
this.state.scrolling ?
|
|
361
|
+
this.state.scrolling ? React__default.createElement(
|
|
361
362
|
'button',
|
|
362
363
|
{
|
|
363
364
|
style: { margin: 'auto', width: '100%' },
|
|
@@ -365,17 +366,17 @@ var DeckQueue = function (_React$Component) {
|
|
|
365
366
|
_this3.loadMore();
|
|
366
367
|
} },
|
|
367
368
|
'Load More'
|
|
368
|
-
) :
|
|
369
|
+
) : React__default.createElement(
|
|
369
370
|
'p',
|
|
370
371
|
{ style: { textAlign: 'center' } },
|
|
371
|
-
|
|
372
|
+
React__default.createElement(
|
|
372
373
|
'b',
|
|
373
374
|
null,
|
|
374
375
|
'End of data'
|
|
375
376
|
)
|
|
376
377
|
)
|
|
377
378
|
),
|
|
378
|
-
|
|
379
|
+
React__default.createElement(
|
|
379
380
|
'noscript',
|
|
380
381
|
null,
|
|
381
382
|
this.renderManualPagination({ nextPagePostsCount: nextPagePostsCount })
|
|
@@ -386,7 +387,7 @@ var DeckQueue = function (_React$Component) {
|
|
|
386
387
|
}]);
|
|
387
388
|
|
|
388
389
|
return DeckQueue;
|
|
389
|
-
}(
|
|
390
|
+
}(React__default.Component);
|
|
390
391
|
|
|
391
392
|
var Queue = withRouter(DeckQueue);
|
|
392
393
|
|