@mjhls/mjh-framework 1.0.989 → 1.0.990-next-12
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/DeckContent.js
CHANGED
|
@@ -1,43 +1,43 @@
|
|
|
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-7b1c0e23.js';
|
|
2
|
+
import { _ as _extends } from './extends-dc6a71fd.js';
|
|
3
|
+
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-8a801a18.js';
|
|
4
|
+
import React__default from 'react';
|
|
5
|
+
import { l as lib_3 } from './index-5cc7b406.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-932b50cf.js';
|
|
19
|
+
import { A as ADInfeed } from './ADInfeed-f684cac9.js';
|
|
20
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
21
|
+
import './core.get-iterator-method-e903ff31.js';
|
|
22
|
+
import './_iter-detect-f089461c.js';
|
|
23
|
+
import './_object-pie-133f504a.js';
|
|
24
|
+
import './_object-sap-169d6272.js';
|
|
25
|
+
import './define-property-99e66838.js';
|
|
26
|
+
import './typeof-83d9eb10.js';
|
|
27
|
+
import './web.dom.iterable-fdf034f5.js';
|
|
28
|
+
import './_is-array-893ab020.js';
|
|
29
|
+
import './_library-528f1934.js';
|
|
30
|
+
import 'prop-types';
|
|
31
|
+
import './isSymbol-a7e9aafe.js';
|
|
32
|
+
import './toNumber-5aeba6e7.js';
|
|
33
|
+
import 'react-dom';
|
|
34
|
+
import './slicedToArray-ca2c8b8d.js';
|
|
35
|
+
import './index-0dbff1d1.js';
|
|
39
36
|
import './AdSlot.js';
|
|
40
|
-
import
|
|
37
|
+
import './Beam.js';
|
|
38
|
+
import './stringify-c21932b3.js';
|
|
39
|
+
import './asyncToGenerator-9716ae8d.js';
|
|
40
|
+
import './Segment.js';
|
|
41
41
|
|
|
42
42
|
var DeckContent = function (_React$Component) {
|
|
43
43
|
_inherits(DeckContent, _React$Component);
|
|
@@ -181,14 +181,14 @@ var DeckContent = function (_React$Component) {
|
|
|
181
181
|
var newPath = pageNumber === 1 ? '' + path : path + '?page=' + pageNumber;
|
|
182
182
|
|
|
183
183
|
// 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
|
|
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
|
|
192
192
|
}) */
|
|
193
193
|
|
|
194
194
|
if (pageview) {
|
|
@@ -208,35 +208,35 @@ var DeckContent = function (_React$Component) {
|
|
|
208
208
|
url = authorDetail.url;
|
|
209
209
|
|
|
210
210
|
if (displayName && url && url.current) {
|
|
211
|
-
return
|
|
211
|
+
return React__default.createElement(
|
|
212
212
|
'div',
|
|
213
213
|
{ key: _id },
|
|
214
|
-
index === 0 &&
|
|
214
|
+
index === 0 && React__default.createElement(
|
|
215
215
|
'span',
|
|
216
216
|
{ className: 'pr-1' },
|
|
217
217
|
'By'
|
|
218
218
|
),
|
|
219
|
-
|
|
219
|
+
React__default.createElement(
|
|
220
220
|
'a',
|
|
221
221
|
{ href: '/authors/${url.current}', className: 'text-muted' },
|
|
222
222
|
displayName,
|
|
223
|
-
length !== index + 1 &&
|
|
223
|
+
length !== index + 1 && React__default.createElement('br', null)
|
|
224
224
|
)
|
|
225
225
|
);
|
|
226
226
|
} else if (displayName) {
|
|
227
|
-
return
|
|
227
|
+
return React__default.createElement(
|
|
228
228
|
'div',
|
|
229
229
|
{ key: _id },
|
|
230
|
-
index === 0 &&
|
|
230
|
+
index === 0 && React__default.createElement(
|
|
231
231
|
'span',
|
|
232
232
|
{ className: 'pr-1' },
|
|
233
233
|
'By'
|
|
234
234
|
),
|
|
235
|
-
|
|
235
|
+
React__default.createElement(
|
|
236
236
|
'span',
|
|
237
237
|
{ className: 'text-muted' },
|
|
238
238
|
displayName,
|
|
239
|
-
length !== index + 1 &&
|
|
239
|
+
length !== index + 1 && React__default.createElement('br', null)
|
|
240
240
|
)
|
|
241
241
|
);
|
|
242
242
|
}
|
|
@@ -282,7 +282,7 @@ var DeckContent = function (_React$Component) {
|
|
|
282
282
|
articles = _this.state.data;
|
|
283
283
|
}
|
|
284
284
|
|
|
285
|
-
return
|
|
285
|
+
return React__default.createElement(
|
|
286
286
|
Row,
|
|
287
287
|
null,
|
|
288
288
|
articles && articles.map(function (row, index) {
|
|
@@ -294,51 +294,51 @@ var DeckContent = function (_React$Component) {
|
|
|
294
294
|
lgVar = 6;
|
|
295
295
|
}
|
|
296
296
|
if (row._type === 'BrandInsight' && row.adUnit) {
|
|
297
|
-
return
|
|
297
|
+
return React__default.createElement(ADInfeed, { index: index, infeedAd: row });
|
|
298
298
|
} else {
|
|
299
299
|
var pageNumber = row.pageNumber || _this.state.page;
|
|
300
300
|
var contentCategoryName = row.contentCategory && row.contentCategory.name && _this.mapping[row.contentCategory.name] ? row.contentCategory.name : 'Articles';
|
|
301
|
-
return
|
|
302
|
-
|
|
301
|
+
return React__default.createElement(
|
|
302
|
+
React__default.Fragment,
|
|
303
303
|
{ key: itemCounter },
|
|
304
|
-
|
|
304
|
+
React__default.createElement(
|
|
305
305
|
VisibilitySensor,
|
|
306
306
|
{
|
|
307
307
|
onChange: function onChange(isVisible) {
|
|
308
308
|
isVisible && _this.changePageNumber(pageNumber);
|
|
309
309
|
} },
|
|
310
|
-
|
|
310
|
+
React__default.createElement(
|
|
311
311
|
Col,
|
|
312
312
|
{ md: 12, lg: lgVar, counter: itemCounter++, style: { display: 'flex', flex: '1 0 auto' } },
|
|
313
|
-
|
|
313
|
+
React__default.createElement(
|
|
314
314
|
Card,
|
|
315
315
|
{ className: 'content-card', style: { flexDirection: mode } },
|
|
316
|
-
(row.thumbnail && row.thumbnail.asset || _this.props.defaultImage) &&
|
|
316
|
+
(row.thumbnail && row.thumbnail.asset || _this.props.defaultImage) && React__default.createElement(
|
|
317
317
|
'a',
|
|
318
318
|
{ href: _this.mapping[contentCategoryName] + '/' + row.url.current },
|
|
319
|
-
|
|
319
|
+
React__default.createElement(
|
|
320
320
|
LazyLoad,
|
|
321
321
|
{ height: _this.props.imageHeight },
|
|
322
|
-
|
|
322
|
+
React__default.createElement(Card.Img, {
|
|
323
323
|
variant: 'top',
|
|
324
324
|
src: _this.renderCardImage(row, page),
|
|
325
325
|
alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : ''
|
|
326
326
|
})
|
|
327
327
|
)
|
|
328
328
|
),
|
|
329
|
-
|
|
329
|
+
React__default.createElement(
|
|
330
330
|
Card.Body,
|
|
331
331
|
null,
|
|
332
|
-
|
|
332
|
+
React__default.createElement(
|
|
333
333
|
'a',
|
|
334
334
|
{ href: _this.mapping[contentCategoryName] + '/' + row.url.current },
|
|
335
|
-
|
|
335
|
+
React__default.createElement(
|
|
336
336
|
Card.Title,
|
|
337
337
|
null,
|
|
338
338
|
row.title
|
|
339
339
|
)
|
|
340
340
|
),
|
|
341
|
-
_this.props.showPublished && row.published &&
|
|
341
|
+
_this.props.showPublished && row.published && React__default.createElement(
|
|
342
342
|
Card.Subtitle,
|
|
343
343
|
null,
|
|
344
344
|
moment(row.published).format('MMMM DD, YYYY')
|
|
@@ -346,7 +346,7 @@ var DeckContent = function (_React$Component) {
|
|
|
346
346
|
_this.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 && row.authorMapping.map(function (authorDetail, index) {
|
|
347
347
|
return _this.renderAuthor(authorDetail, index, row.authorMapping.length);
|
|
348
348
|
}),
|
|
349
|
-
|
|
349
|
+
React__default.createElement(
|
|
350
350
|
Card.Text,
|
|
351
351
|
null,
|
|
352
352
|
clean_html_1(row.summary)
|
|
@@ -355,7 +355,7 @@ var DeckContent = function (_React$Component) {
|
|
|
355
355
|
)
|
|
356
356
|
)
|
|
357
357
|
),
|
|
358
|
-
|
|
358
|
+
main_43 && _this.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
359
359
|
);
|
|
360
360
|
}
|
|
361
361
|
})
|
|
@@ -364,7 +364,7 @@ var DeckContent = function (_React$Component) {
|
|
|
364
364
|
var rightItems = _this.props.rightItems;
|
|
365
365
|
|
|
366
366
|
var i = ((index + 1) / numberOfItemsBeforeAd - 1) % rightItems.length;
|
|
367
|
-
return
|
|
367
|
+
return React__default.createElement(
|
|
368
368
|
Col,
|
|
369
369
|
{ md: 12, style: { display: 'flex', flex: '1 0 auto' } },
|
|
370
370
|
rightItems[i].component
|
|
@@ -373,15 +373,15 @@ var DeckContent = function (_React$Component) {
|
|
|
373
373
|
var nextPagePostsCount = _ref2.nextPagePostsCount;
|
|
374
374
|
var currentPage = _this.state.currentPage;
|
|
375
375
|
|
|
376
|
-
return
|
|
376
|
+
return React__default.createElement(
|
|
377
377
|
'div',
|
|
378
378
|
{ className: 'd-flex justify-content-between' },
|
|
379
|
-
currentPage && currentPage > 1 &&
|
|
379
|
+
currentPage && currentPage > 1 && React__default.createElement(
|
|
380
380
|
'a',
|
|
381
381
|
{ href: '?page=' + (currentPage - 1) },
|
|
382
382
|
'<< Previous'
|
|
383
383
|
),
|
|
384
|
-
!(_this.state.lastDataSize < _this.state.itemsPerPage) && nextPagePostsCount > 0 &&
|
|
384
|
+
!(_this.state.lastDataSize < _this.state.itemsPerPage) && nextPagePostsCount > 0 && React__default.createElement(
|
|
385
385
|
'a',
|
|
386
386
|
{ href: '?page=' + (currentPage + 1) },
|
|
387
387
|
'Next >>'
|
|
@@ -430,38 +430,38 @@ var DeckContent = function (_React$Component) {
|
|
|
430
430
|
nextPagePostsCount = _props$nextPagePostsC === undefined ? 3 : _props$nextPagePostsC;
|
|
431
431
|
|
|
432
432
|
|
|
433
|
-
return
|
|
433
|
+
return React__default.createElement(
|
|
434
434
|
'div',
|
|
435
435
|
{ className: 'contentDeck' },
|
|
436
|
-
autoScroll ?
|
|
437
|
-
|
|
436
|
+
autoScroll ? React__default.createElement(
|
|
437
|
+
React__default.Fragment,
|
|
438
438
|
null,
|
|
439
|
-
|
|
439
|
+
React__default.createElement(
|
|
440
440
|
InfiniteScroll,
|
|
441
441
|
{ dataLength: this.state.data.length, next: this.loadMore, hasMore: this.state.scrolling, scrollThreshold: 0.9 },
|
|
442
|
-
|
|
442
|
+
React__default.createElement(
|
|
443
443
|
Container,
|
|
444
444
|
null,
|
|
445
445
|
this.cardLoader(page, columns, variant, showBI, brandInsight, biStart)
|
|
446
446
|
)
|
|
447
447
|
),
|
|
448
|
-
|
|
448
|
+
React__default.createElement(
|
|
449
449
|
'noscript',
|
|
450
450
|
null,
|
|
451
451
|
this.renderManualPagination({ nextPagePostsCount: nextPagePostsCount })
|
|
452
452
|
)
|
|
453
|
-
) :
|
|
454
|
-
|
|
453
|
+
) : React__default.createElement(
|
|
454
|
+
React__default.Fragment,
|
|
455
455
|
null,
|
|
456
|
-
|
|
456
|
+
React__default.createElement(
|
|
457
457
|
Container,
|
|
458
458
|
null,
|
|
459
459
|
this.cardLoader(page, columns, variant, showBI, brandInsight, biStart)
|
|
460
460
|
),
|
|
461
|
-
|
|
461
|
+
React__default.createElement(
|
|
462
462
|
'div',
|
|
463
463
|
{ style: { padding: '0px 10px' } },
|
|
464
|
-
this.state.scrolling ?
|
|
464
|
+
this.state.scrolling ? React__default.createElement(
|
|
465
465
|
'button',
|
|
466
466
|
{
|
|
467
467
|
style: { margin: 'auto', width: '100%' },
|
|
@@ -469,17 +469,17 @@ var DeckContent = function (_React$Component) {
|
|
|
469
469
|
_this2.loadMore();
|
|
470
470
|
} },
|
|
471
471
|
'Load More'
|
|
472
|
-
) :
|
|
472
|
+
) : React__default.createElement(
|
|
473
473
|
'p',
|
|
474
474
|
{ style: { textAlign: 'center' } },
|
|
475
|
-
|
|
475
|
+
React__default.createElement(
|
|
476
476
|
'b',
|
|
477
477
|
null,
|
|
478
478
|
'End of data'
|
|
479
479
|
)
|
|
480
480
|
)
|
|
481
481
|
),
|
|
482
|
-
|
|
482
|
+
React__default.createElement(
|
|
483
483
|
'noscript',
|
|
484
484
|
null,
|
|
485
485
|
this.renderManualPagination({ nextPagePostsCount: nextPagePostsCount })
|
|
@@ -490,7 +490,7 @@ var DeckContent = function (_React$Component) {
|
|
|
490
490
|
}]);
|
|
491
491
|
|
|
492
492
|
return DeckContent;
|
|
493
|
-
}(
|
|
493
|
+
}(React__default.Component);
|
|
494
494
|
|
|
495
495
|
var ContentCard = withRouter(DeckContent);
|
|
496
496
|
|
package/dist/esm/DeckQueue.js
CHANGED
|
@@ -1,39 +1,39 @@
|
|
|
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-7b1c0e23.js';
|
|
2
|
+
import { _ as _extends } from './extends-dc6a71fd.js';
|
|
3
|
+
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-8a801a18.js';
|
|
4
|
+
import React__default from 'react';
|
|
5
|
+
import { l as lib_3 } from './index-5cc7b406.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-932b50cf.js';
|
|
20
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
21
|
+
import './core.get-iterator-method-e903ff31.js';
|
|
22
|
+
import './_iter-detect-f089461c.js';
|
|
23
|
+
import './_object-pie-133f504a.js';
|
|
24
|
+
import './_object-sap-169d6272.js';
|
|
25
|
+
import './define-property-99e66838.js';
|
|
26
|
+
import './typeof-83d9eb10.js';
|
|
27
|
+
import './web.dom.iterable-fdf034f5.js';
|
|
28
|
+
import './_is-array-893ab020.js';
|
|
29
|
+
import './_library-528f1934.js';
|
|
30
|
+
import 'prop-types';
|
|
31
|
+
import 'react-dom';
|
|
32
|
+
import './isSymbol-a7e9aafe.js';
|
|
33
|
+
import './eq-bdcbf886.js';
|
|
34
|
+
import './toNumber-5aeba6e7.js';
|
|
35
|
+
import './slicedToArray-ca2c8b8d.js';
|
|
36
|
+
import './index-0dbff1d1.js';
|
|
37
37
|
|
|
38
38
|
var DeckQueue = function (_React$Component) {
|
|
39
39
|
_inherits(DeckQueue, _React$Component);
|
|
@@ -186,7 +186,7 @@ var DeckQueue = function (_React$Component) {
|
|
|
186
186
|
var rightItems = _this.props.rightItems;
|
|
187
187
|
|
|
188
188
|
var i = ((index + 1) / numberOfItemsBeforeAd - 1) % rightItems.length;
|
|
189
|
-
return
|
|
189
|
+
return React__default.createElement(
|
|
190
190
|
'div',
|
|
191
191
|
{ style: { display: 'flex', flex: '1 0 auto' } },
|
|
192
192
|
rightItems[i].component
|
|
@@ -198,15 +198,15 @@ var DeckQueue = function (_React$Component) {
|
|
|
198
198
|
per = _this$state2.per,
|
|
199
199
|
lastDataSize = _this$state2.lastDataSize;
|
|
200
200
|
|
|
201
|
-
return
|
|
201
|
+
return React__default.createElement(
|
|
202
202
|
'div',
|
|
203
203
|
{ className: 'd-flex justify-content-between' },
|
|
204
|
-
currentPage && currentPage > 1 &&
|
|
204
|
+
currentPage && currentPage > 1 && React__default.createElement(
|
|
205
205
|
'a',
|
|
206
206
|
{ href: '?page=' + (currentPage - 1) },
|
|
207
207
|
'<< Previous'
|
|
208
208
|
),
|
|
209
|
-
!(lastDataSize < per) && nextPagePostsCount > 0 &&
|
|
209
|
+
!(lastDataSize < per) && nextPagePostsCount > 0 && React__default.createElement(
|
|
210
210
|
'a',
|
|
211
211
|
{ href: '?page=' + (currentPage + 1) },
|
|
212
212
|
'Next >>'
|
|
@@ -224,78 +224,78 @@ var DeckQueue = function (_React$Component) {
|
|
|
224
224
|
var lgVar = Math.floor(12 / columns);
|
|
225
225
|
var numberOfItemsBeforeAd = 6;
|
|
226
226
|
|
|
227
|
-
return
|
|
227
|
+
return React__default.createElement(
|
|
228
228
|
Row,
|
|
229
229
|
null,
|
|
230
230
|
this.state.data && this.state.data.map(function (row, index) {
|
|
231
231
|
var pageNumber = row.pageNumber || _this2.state.page;
|
|
232
232
|
// const thumbnailURL = get(row, 'thumbnail.asset.url', this.props.defaultImage)
|
|
233
233
|
|
|
234
|
-
return
|
|
235
|
-
|
|
234
|
+
return React__default.createElement(
|
|
235
|
+
React__default.Fragment,
|
|
236
236
|
{ key: index },
|
|
237
|
-
|
|
237
|
+
React__default.createElement(
|
|
238
238
|
VisibilitySensor,
|
|
239
239
|
{
|
|
240
240
|
onChange: function onChange(isVisible) {
|
|
241
241
|
isVisible && _this2.changePageNumber(pageNumber);
|
|
242
242
|
} },
|
|
243
|
-
|
|
243
|
+
React__default.createElement(
|
|
244
244
|
Col,
|
|
245
245
|
{ md: 12, lg: lgVar, style: { display: 'flex', flex: '1 0 auto' } },
|
|
246
|
-
|
|
246
|
+
React__default.createElement(
|
|
247
247
|
Card,
|
|
248
248
|
{ className: 'queue-card', style: { borderTop: '1px solid #EEE' } },
|
|
249
|
-
|
|
249
|
+
React__default.createElement(
|
|
250
250
|
Row,
|
|
251
251
|
{ style: { flexDirection: mode } },
|
|
252
|
-
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) &&
|
|
252
|
+
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) && React__default.createElement(
|
|
253
253
|
Col,
|
|
254
254
|
{ md: 12, lg: 4 },
|
|
255
|
-
|
|
255
|
+
React__default.createElement(
|
|
256
256
|
'a',
|
|
257
257
|
{ href: _this2.page + '/' + get_1(row, 'url.current') },
|
|
258
|
-
|
|
258
|
+
React__default.createElement(
|
|
259
259
|
LazyLoad,
|
|
260
260
|
{ height: _this2.props.imageHeight },
|
|
261
|
-
|
|
261
|
+
React__default.createElement(Card.Img, { variant: 'top', src: _this2.renderCardImage(row), alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : '' })
|
|
262
262
|
)
|
|
263
263
|
)
|
|
264
264
|
),
|
|
265
|
-
|
|
265
|
+
React__default.createElement(
|
|
266
266
|
Col,
|
|
267
267
|
null,
|
|
268
|
-
|
|
268
|
+
React__default.createElement(
|
|
269
269
|
Card.Body,
|
|
270
270
|
{ style: { padding: '20px' } },
|
|
271
|
-
row.title &&
|
|
271
|
+
row.title && React__default.createElement(
|
|
272
272
|
Card.Title,
|
|
273
273
|
null,
|
|
274
|
-
|
|
274
|
+
React__default.createElement(
|
|
275
275
|
'a',
|
|
276
276
|
{ href: _this2.page + '/' + get_1(row, 'url.current') },
|
|
277
277
|
row.title
|
|
278
278
|
)
|
|
279
279
|
),
|
|
280
|
-
_this2.props.showPublished && row.published &&
|
|
280
|
+
_this2.props.showPublished && row.published && React__default.createElement(
|
|
281
281
|
Card.Subtitle,
|
|
282
282
|
null,
|
|
283
283
|
moment(row.published).format('MMMM DD, YYYY')
|
|
284
284
|
),
|
|
285
|
-
_this2.props.showRecent && row.recent && row.recent.title &&
|
|
285
|
+
_this2.props.showRecent && row.recent && row.recent.title && React__default.createElement(
|
|
286
286
|
Card.Subtitle,
|
|
287
287
|
null,
|
|
288
288
|
'Recent : ',
|
|
289
|
-
|
|
289
|
+
React__default.createElement(
|
|
290
290
|
'a',
|
|
291
291
|
{ href: 'view/' + row.recent.url.current },
|
|
292
292
|
row.recent.title
|
|
293
293
|
)
|
|
294
294
|
),
|
|
295
|
-
row.summary &&
|
|
295
|
+
row.summary && React__default.createElement(
|
|
296
296
|
Card.Text,
|
|
297
297
|
null,
|
|
298
|
-
|
|
298
|
+
React__default.createElement(
|
|
299
299
|
'a',
|
|
300
300
|
{ href: _this2.page + '/' + get_1(row, 'url.current') },
|
|
301
301
|
clean_html_1(row.summary)
|
|
@@ -307,7 +307,7 @@ var DeckQueue = function (_React$Component) {
|
|
|
307
307
|
)
|
|
308
308
|
)
|
|
309
309
|
),
|
|
310
|
-
|
|
310
|
+
main_43 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
311
311
|
);
|
|
312
312
|
})
|
|
313
313
|
);
|
|
@@ -326,38 +326,38 @@ var DeckQueue = function (_React$Component) {
|
|
|
326
326
|
nextPagePostsCount = _props$nextPagePostsC === undefined ? 3 : _props$nextPagePostsC;
|
|
327
327
|
|
|
328
328
|
|
|
329
|
-
return
|
|
329
|
+
return React__default.createElement(
|
|
330
330
|
'div',
|
|
331
331
|
{ className: 'contentDeck' },
|
|
332
|
-
autoScroll ?
|
|
333
|
-
|
|
332
|
+
autoScroll ? React__default.createElement(
|
|
333
|
+
React__default.Fragment,
|
|
334
334
|
null,
|
|
335
|
-
|
|
335
|
+
React__default.createElement(
|
|
336
336
|
InfiniteScroll,
|
|
337
337
|
{ dataLength: this.state.data.length, next: this.loadMore, hasMore: this.state.scrolling },
|
|
338
|
-
|
|
338
|
+
React__default.createElement(
|
|
339
339
|
Container,
|
|
340
340
|
null,
|
|
341
341
|
this.cardLoader(page, columns, variant)
|
|
342
342
|
)
|
|
343
343
|
),
|
|
344
|
-
|
|
344
|
+
React__default.createElement(
|
|
345
345
|
'noscript',
|
|
346
346
|
null,
|
|
347
347
|
this.renderManualPagination({ nextPagePostsCount: nextPagePostsCount })
|
|
348
348
|
)
|
|
349
|
-
) :
|
|
350
|
-
|
|
349
|
+
) : React__default.createElement(
|
|
350
|
+
React__default.Fragment,
|
|
351
351
|
null,
|
|
352
|
-
|
|
352
|
+
React__default.createElement(
|
|
353
353
|
Container,
|
|
354
354
|
null,
|
|
355
355
|
this.cardLoader(page, columns, variant)
|
|
356
356
|
),
|
|
357
|
-
|
|
357
|
+
React__default.createElement(
|
|
358
358
|
'div',
|
|
359
359
|
{ style: { padding: '0px 10px' } },
|
|
360
|
-
this.state.scrolling ?
|
|
360
|
+
this.state.scrolling ? React__default.createElement(
|
|
361
361
|
'button',
|
|
362
362
|
{
|
|
363
363
|
style: { margin: 'auto', width: '100%' },
|
|
@@ -365,17 +365,17 @@ var DeckQueue = function (_React$Component) {
|
|
|
365
365
|
_this3.loadMore();
|
|
366
366
|
} },
|
|
367
367
|
'Load More'
|
|
368
|
-
) :
|
|
368
|
+
) : React__default.createElement(
|
|
369
369
|
'p',
|
|
370
370
|
{ style: { textAlign: 'center' } },
|
|
371
|
-
|
|
371
|
+
React__default.createElement(
|
|
372
372
|
'b',
|
|
373
373
|
null,
|
|
374
374
|
'End of data'
|
|
375
375
|
)
|
|
376
376
|
)
|
|
377
377
|
),
|
|
378
|
-
|
|
378
|
+
React__default.createElement(
|
|
379
379
|
'noscript',
|
|
380
380
|
null,
|
|
381
381
|
this.renderManualPagination({ nextPagePostsCount: nextPagePostsCount })
|
|
@@ -386,7 +386,7 @@ var DeckQueue = function (_React$Component) {
|
|
|
386
386
|
}]);
|
|
387
387
|
|
|
388
388
|
return DeckQueue;
|
|
389
|
-
}(
|
|
389
|
+
}(React__default.Component);
|
|
390
390
|
|
|
391
391
|
var Queue = withRouter(DeckQueue);
|
|
392
392
|
|