@mjhls/mjh-framework 1.0.923 → 1.0.924
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-a4d973da.js → ADInfeed-0928d0ba.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-def2c25d.js → ADlgInfeed-757617ea.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 -49
- package/dist/cjs/ArticleSeriesLandingPage.js +29 -29
- package/dist/cjs/ArticleSeriesListing.js +30 -30
- package/dist/cjs/Auth.js +482 -346
- 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 -46
- 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 +48 -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/Hero.js +7 -7
- package/dist/cjs/HighlightenVideo.js +2 -2
- package/dist/cjs/HorizontalArticleListing.js +46 -47
- 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 -84
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +19 -19
- package/dist/cjs/MasterDeck.js +40 -38
- package/dist/cjs/MasterDeckPaginated.js +43 -41
- package/dist/cjs/{MediaSeriesCard-be3f9e36.js → MediaSeriesCard-1256b976.js} +646 -446
- package/dist/cjs/MediaSeriesLanding.js +54 -55
- package/dist/cjs/MediaSeriesLandingPaginated.js +60 -61
- 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-a2807e27.js → Pagination-885dcfbd.js} +3 -3
- package/dist/cjs/PartnerDetailListing.js +59 -59
- package/dist/cjs/PartnerDetailListingPaginated.js +59 -59
- package/dist/cjs/PdfDownload.js +2 -2
- package/dist/cjs/PopUpModal.js +4 -4
- 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 +37 -35
- package/dist/cjs/QueueDeckExpandedPaginated.js +40 -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-88e59074.js → SeriesSlider-f9128638.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 -45
- 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 -51
- 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 +91 -93
- 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 +5 -5
- package/dist/cjs/{get-adbb11e3.js → get-5839e5b5.js} +21 -21
- package/dist/cjs/getRelatedArticle.js +133 -69
- package/dist/cjs/getRootDocGroup.js +4 -4
- package/dist/cjs/getSerializers.js +44 -45
- 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-44481153.js → index-0e4427c8.js} +40 -21
- package/dist/cjs/{index-faf269e6.js → index-84352936.js} +407 -157
- 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 +143 -143
- 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/{util-f2c1b65b.js → util-6f784d85.js} +1 -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 +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-7ba4f982.js → ADInfeed-c2170b53.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-8eb5060f.js → ADlgInfeed-b4e6539f.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 -55
- package/dist/esm/ArticleSeriesLandingPage.js +35 -35
- package/dist/esm/ArticleSeriesListing.js +54 -54
- package/dist/esm/Auth.js +552 -416
- package/dist/esm/AuthWrapper.js +605 -27
- package/dist/esm/{AuthorComponent-37ebc2bd.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 +67 -67
- package/dist/esm/DeckQueuePaginated.js +63 -63
- package/dist/esm/{Dfp-23281963.js → Dfp-4b99f79d.js} +20 -20
- package/dist/esm/EventsDeck.js +103 -103
- package/dist/esm/ExternalResources.js +71 -72
- package/dist/esm/Feature.js +21 -21
- package/dist/esm/ForbesHero.js +33 -33
- package/dist/esm/GridContent.js +142 -142
- package/dist/esm/GridContentPaginated.js +135 -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/Hero.js +13 -13
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalArticleListing.js +68 -69
- 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 -92
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +32 -32
- package/dist/esm/MasterDeck.js +73 -71
- package/dist/esm/MasterDeckPaginated.js +65 -63
- package/dist/esm/{MediaSeriesCard-b6034225.js → MediaSeriesCard-8d8f5713.js} +907 -707
- package/dist/esm/MediaSeriesLanding.js +79 -80
- package/dist/esm/MediaSeriesLandingPaginated.js +83 -84
- 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-185dfca0.js → Pagination-59436882.js} +13 -13
- package/dist/esm/PartnerDetailListing.js +93 -93
- package/dist/esm/PartnerDetailListingPaginated.js +91 -91
- package/dist/esm/PdfDownload.js +7 -7
- package/dist/esm/PopUpModal.js +12 -12
- 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-d79db241.js → PublicationFeature-03500094.js} +23 -23
- package/dist/esm/PublicationLanding.js +101 -101
- package/dist/esm/QueueDeckExpanded.js +275 -273
- package/dist/esm/QueueDeckExpandedPaginated.js +255 -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-0a8cfca0.js → SeriesSlider-98b7a870.js} +31 -31
- 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-32ee0f63.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 -49
- 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 -63
- 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 +248 -250
- package/dist/esm/YahooHero.js +33 -33
- package/dist/esm/YoutubeGroup.js +52 -52
- package/dist/esm/{_is-array-4df618a6.js → _is-array-893ab020.js} +6 -6
- package/dist/esm/{_iter-detect-130ee549.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-8b8ea5a9.js → _object-sap-169d6272.js} +1 -1
- package/dist/esm/{_object-to-array-c54dd835.js → _object-to-array-50a6b9a3.js} +2 -2
- package/dist/esm/{asyncToGenerator-7bf8bc4d.js → asyncToGenerator-b4dfe691.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-86d4db69.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-6d26cb48.js → define-property-99e66838.js} +6 -6
- package/dist/esm/{defineProperty-d7d9b577.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-a4230287.js → extends-dc6a71fd.js} +8 -8
- package/dist/esm/faundadb.js +5 -5
- package/dist/esm/{get-1e515072.js → get-3c308da4.js} +21 -21
- package/dist/esm/getRelatedArticle.js +133 -69
- package/dist/esm/getRootDocGroup.js +4 -4
- package/dist/esm/getSerializers.js +44 -45
- package/dist/esm/{getTargeting-ba1ffe43.js → getTargeting-0cdf8983.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-93fc4be2.js → index-c7ca5b14.js} +802 -551
- 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 +138 -138
- package/dist/esm/{inherits-91a2c374.js → inherits-8a801a18.js} +19 -19
- package/dist/esm/{isSymbol-1981418f.js → isSymbol-a7e9aafe.js} +15 -15
- package/dist/esm/{keys-69989821.js → keys-425c8ab0.js} +6 -6
- 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-67a08c9c.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-32282905.js → toConsumableArray-7b1c0e23.js} +7 -7
- package/dist/esm/{toNumber-2f7a84cd.js → toNumber-5aeba6e7.js} +40 -5
- package/dist/esm/{typeof-f1b7564e.js → typeof-83d9eb10.js} +34 -34
- package/dist/esm/urlFor.js +4 -4
- package/dist/esm/{urlForFile-d2a27665.js → urlForFile-413f5ddb.js} +1 -1
- package/dist/esm/{ustream-api-4c4fe0ba.js → ustream-api-41166338.js} +4 -4
- package/dist/esm/{util-7700fc59.js → util-3ab476bf.js} +1 -1
- package/dist/esm/{visibility-sensor-f40c2564.js → visibility-sensor-72fd8f8b.js} +2 -2
- package/dist/esm/{web.dom.iterable-f8f967cd.js → web.dom.iterable-fdf034f5.js} +2 -2
- package/package.json +114 -114
- package/dist/cjs/ImageSlider-10cd194f.js +0 -1383
- package/dist/cjs/main-7b5e57b0.js +0 -898
- package/dist/esm/ImageSlider-522a2cd0.js +0 -1375
- package/dist/esm/main-43ca42fe.js +0 -886
- package/dist/esm/stringify-70b72959.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,43 @@
|
|
|
1
|
-
import './
|
|
2
|
-
import './
|
|
3
|
-
import './
|
|
4
|
-
import '
|
|
5
|
-
import {
|
|
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';
|
|
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-67a08c9c.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-c2170b53.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-b4dfe691.js';
|
|
40
|
+
import './Segment.js';
|
|
41
41
|
|
|
42
42
|
var DeckContent = function (_React$Component) {
|
|
43
43
|
_inherits(DeckContent, _React$Component);
|
|
@@ -171,14 +171,14 @@ var DeckContent = function (_React$Component) {
|
|
|
171
171
|
var newPath = pageNumber === 1 ? '' + path : path + '?page=' + pageNumber;
|
|
172
172
|
|
|
173
173
|
// please leave this for later debug purpose : Yong Jun.
|
|
174
|
-
/* console.log('page change reported', {
|
|
175
|
-
currentPage: currentPage,
|
|
176
|
-
pageNumber: pageNumber,
|
|
177
|
-
pathname: pathname,
|
|
178
|
-
path: path,
|
|
179
|
-
newPath: newPath,
|
|
180
|
-
firstPage: pageNumber === 1,
|
|
181
|
-
queryString: queryString
|
|
174
|
+
/* console.log('page change reported', {
|
|
175
|
+
currentPage: currentPage,
|
|
176
|
+
pageNumber: pageNumber,
|
|
177
|
+
pathname: pathname,
|
|
178
|
+
path: path,
|
|
179
|
+
newPath: newPath,
|
|
180
|
+
firstPage: pageNumber === 1,
|
|
181
|
+
queryString: queryString
|
|
182
182
|
}) */
|
|
183
183
|
|
|
184
184
|
if (pageview) {
|
|
@@ -198,35 +198,35 @@ var DeckContent = function (_React$Component) {
|
|
|
198
198
|
url = authorDetail.url;
|
|
199
199
|
|
|
200
200
|
if (displayName && url && url.current) {
|
|
201
|
-
return
|
|
201
|
+
return React__default.createElement(
|
|
202
202
|
'div',
|
|
203
203
|
{ key: _id },
|
|
204
|
-
index === 0 &&
|
|
204
|
+
index === 0 && React__default.createElement(
|
|
205
205
|
'span',
|
|
206
206
|
{ className: 'pr-1' },
|
|
207
207
|
'By'
|
|
208
208
|
),
|
|
209
|
-
|
|
209
|
+
React__default.createElement(
|
|
210
210
|
'a',
|
|
211
211
|
{ href: '/authors/${url.current}', className: 'text-muted' },
|
|
212
212
|
displayName,
|
|
213
|
-
length !== index + 1 &&
|
|
213
|
+
length !== index + 1 && React__default.createElement('br', null)
|
|
214
214
|
)
|
|
215
215
|
);
|
|
216
216
|
} else if (displayName) {
|
|
217
|
-
return
|
|
217
|
+
return React__default.createElement(
|
|
218
218
|
'div',
|
|
219
219
|
{ key: _id },
|
|
220
|
-
index === 0 &&
|
|
220
|
+
index === 0 && React__default.createElement(
|
|
221
221
|
'span',
|
|
222
222
|
{ className: 'pr-1' },
|
|
223
223
|
'By'
|
|
224
224
|
),
|
|
225
|
-
|
|
225
|
+
React__default.createElement(
|
|
226
226
|
'span',
|
|
227
227
|
{ className: 'text-muted' },
|
|
228
228
|
displayName,
|
|
229
|
-
length !== index + 1 &&
|
|
229
|
+
length !== index + 1 && React__default.createElement('br', null)
|
|
230
230
|
)
|
|
231
231
|
);
|
|
232
232
|
}
|
|
@@ -272,7 +272,7 @@ var DeckContent = function (_React$Component) {
|
|
|
272
272
|
articles = _this.state.data;
|
|
273
273
|
}
|
|
274
274
|
|
|
275
|
-
return
|
|
275
|
+
return React__default.createElement(
|
|
276
276
|
Row,
|
|
277
277
|
null,
|
|
278
278
|
articles && articles.map(function (row, index) {
|
|
@@ -284,51 +284,51 @@ var DeckContent = function (_React$Component) {
|
|
|
284
284
|
lgVar = 6;
|
|
285
285
|
}
|
|
286
286
|
if (row._type === 'BrandInsight' && row.adUnit) {
|
|
287
|
-
return
|
|
287
|
+
return React__default.createElement(ADInfeed, { index: index, infeedAd: row });
|
|
288
288
|
} else {
|
|
289
289
|
var pageNumber = row.pageNumber || _this.state.page;
|
|
290
290
|
var contentCategoryName = row.contentCategory && row.contentCategory.name && _this.mapping[row.contentCategory.name] ? row.contentCategory.name : 'Articles';
|
|
291
|
-
return
|
|
292
|
-
|
|
291
|
+
return React__default.createElement(
|
|
292
|
+
React__default.Fragment,
|
|
293
293
|
{ key: itemCounter },
|
|
294
|
-
|
|
294
|
+
React__default.createElement(
|
|
295
295
|
VisibilitySensor,
|
|
296
296
|
{
|
|
297
297
|
onChange: function onChange(isVisible) {
|
|
298
298
|
isVisible && _this.changePageNumber(pageNumber);
|
|
299
299
|
} },
|
|
300
|
-
|
|
300
|
+
React__default.createElement(
|
|
301
301
|
Col,
|
|
302
302
|
{ md: 12, lg: lgVar, counter: itemCounter++, style: { display: 'flex', flex: '1 0 auto' } },
|
|
303
|
-
|
|
303
|
+
React__default.createElement(
|
|
304
304
|
Card,
|
|
305
305
|
{ className: 'content-card', style: { flexDirection: mode } },
|
|
306
|
-
(row.thumbnail && row.thumbnail.asset || _this.props.defaultImage) &&
|
|
306
|
+
(row.thumbnail && row.thumbnail.asset || _this.props.defaultImage) && React__default.createElement(
|
|
307
307
|
'a',
|
|
308
308
|
{ href: _this.mapping[contentCategoryName] + '/' + row.url.current },
|
|
309
|
-
|
|
309
|
+
React__default.createElement(
|
|
310
310
|
LazyLoad,
|
|
311
311
|
{ height: _this.props.imageHeight },
|
|
312
|
-
|
|
312
|
+
React__default.createElement(Card.Img, {
|
|
313
313
|
variant: 'top',
|
|
314
314
|
src: _this.renderCardImage(row, page),
|
|
315
315
|
alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : ''
|
|
316
316
|
})
|
|
317
317
|
)
|
|
318
318
|
),
|
|
319
|
-
|
|
319
|
+
React__default.createElement(
|
|
320
320
|
Card.Body,
|
|
321
321
|
null,
|
|
322
|
-
|
|
322
|
+
React__default.createElement(
|
|
323
323
|
'a',
|
|
324
324
|
{ href: _this.mapping[contentCategoryName] + '/' + row.url.current },
|
|
325
|
-
|
|
325
|
+
React__default.createElement(
|
|
326
326
|
Card.Title,
|
|
327
327
|
null,
|
|
328
328
|
row.title
|
|
329
329
|
)
|
|
330
330
|
),
|
|
331
|
-
_this.props.showPublished && row.published &&
|
|
331
|
+
_this.props.showPublished && row.published && React__default.createElement(
|
|
332
332
|
Card.Subtitle,
|
|
333
333
|
null,
|
|
334
334
|
moment(row.published).format('MMMM DD, YYYY')
|
|
@@ -336,7 +336,7 @@ var DeckContent = function (_React$Component) {
|
|
|
336
336
|
_this.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 && row.authorMapping.map(function (authorDetail, index) {
|
|
337
337
|
return _this.renderAuthor(authorDetail, index, row.authorMapping.length);
|
|
338
338
|
}),
|
|
339
|
-
|
|
339
|
+
React__default.createElement(
|
|
340
340
|
Card.Text,
|
|
341
341
|
null,
|
|
342
342
|
clean_html_1(row.summary)
|
|
@@ -345,7 +345,7 @@ var DeckContent = function (_React$Component) {
|
|
|
345
345
|
)
|
|
346
346
|
)
|
|
347
347
|
),
|
|
348
|
-
|
|
348
|
+
main_43 && _this.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
349
349
|
);
|
|
350
350
|
}
|
|
351
351
|
})
|
|
@@ -354,7 +354,7 @@ var DeckContent = function (_React$Component) {
|
|
|
354
354
|
var rightItems = _this.props.rightItems;
|
|
355
355
|
|
|
356
356
|
var i = ((index + 1) / numberOfItemsBeforeAd - 1) % rightItems.length;
|
|
357
|
-
return
|
|
357
|
+
return React__default.createElement(
|
|
358
358
|
Col,
|
|
359
359
|
{ md: 12, style: { display: 'flex', flex: '1 0 auto' } },
|
|
360
360
|
rightItems[i].component
|
|
@@ -362,15 +362,15 @@ var DeckContent = function (_React$Component) {
|
|
|
362
362
|
}, _this.renderManualPagination = function () {
|
|
363
363
|
var currentPage = _this.state.currentPage;
|
|
364
364
|
|
|
365
|
-
return
|
|
365
|
+
return React__default.createElement(
|
|
366
366
|
'div',
|
|
367
367
|
{ className: 'd-flex justify-content-between' },
|
|
368
|
-
currentPage && currentPage > 1 &&
|
|
368
|
+
currentPage && currentPage > 1 && React__default.createElement(
|
|
369
369
|
'a',
|
|
370
370
|
{ href: '?page=' + (currentPage - 1) },
|
|
371
371
|
'<< Previous'
|
|
372
372
|
),
|
|
373
|
-
|
|
373
|
+
React__default.createElement(
|
|
374
374
|
'a',
|
|
375
375
|
{ href: '?page=' + (currentPage + 1) },
|
|
376
376
|
'Next >>'
|
|
@@ -417,38 +417,38 @@ var DeckContent = function (_React$Component) {
|
|
|
417
417
|
biStart = _props.biStart;
|
|
418
418
|
|
|
419
419
|
|
|
420
|
-
return
|
|
420
|
+
return React__default.createElement(
|
|
421
421
|
'div',
|
|
422
422
|
{ className: 'contentDeck' },
|
|
423
|
-
autoScroll ?
|
|
424
|
-
|
|
423
|
+
autoScroll ? React__default.createElement(
|
|
424
|
+
React__default.Fragment,
|
|
425
425
|
null,
|
|
426
|
-
|
|
426
|
+
React__default.createElement(
|
|
427
427
|
InfiniteScroll,
|
|
428
428
|
{ dataLength: this.state.data.length, next: this.loadMore, hasMore: this.state.scrolling, scrollThreshold: 0.9 },
|
|
429
|
-
|
|
429
|
+
React__default.createElement(
|
|
430
430
|
Container,
|
|
431
431
|
null,
|
|
432
432
|
this.cardLoader(page, columns, variant, showBI, brandInsight, biStart)
|
|
433
433
|
)
|
|
434
434
|
),
|
|
435
|
-
|
|
435
|
+
React__default.createElement(
|
|
436
436
|
'noscript',
|
|
437
437
|
null,
|
|
438
438
|
this.renderManualPagination()
|
|
439
439
|
)
|
|
440
|
-
) :
|
|
441
|
-
|
|
440
|
+
) : React__default.createElement(
|
|
441
|
+
React__default.Fragment,
|
|
442
442
|
null,
|
|
443
|
-
|
|
443
|
+
React__default.createElement(
|
|
444
444
|
Container,
|
|
445
445
|
null,
|
|
446
446
|
this.cardLoader(page, columns, variant, showBI, brandInsight, biStart)
|
|
447
447
|
),
|
|
448
|
-
|
|
448
|
+
React__default.createElement(
|
|
449
449
|
'div',
|
|
450
450
|
{ style: { padding: '0px 10px' } },
|
|
451
|
-
this.state.scrolling ?
|
|
451
|
+
this.state.scrolling ? React__default.createElement(
|
|
452
452
|
'button',
|
|
453
453
|
{
|
|
454
454
|
style: { margin: 'auto', width: '100%' },
|
|
@@ -456,17 +456,17 @@ var DeckContent = function (_React$Component) {
|
|
|
456
456
|
_this2.loadMore();
|
|
457
457
|
} },
|
|
458
458
|
'Load More'
|
|
459
|
-
) :
|
|
459
|
+
) : React__default.createElement(
|
|
460
460
|
'p',
|
|
461
461
|
{ style: { textAlign: 'center' } },
|
|
462
|
-
|
|
462
|
+
React__default.createElement(
|
|
463
463
|
'b',
|
|
464
464
|
null,
|
|
465
465
|
'End of data'
|
|
466
466
|
)
|
|
467
467
|
)
|
|
468
468
|
),
|
|
469
|
-
|
|
469
|
+
React__default.createElement(
|
|
470
470
|
'noscript',
|
|
471
471
|
null,
|
|
472
472
|
this.renderManualPagination()
|
|
@@ -477,7 +477,7 @@ var DeckContent = function (_React$Component) {
|
|
|
477
477
|
}]);
|
|
478
478
|
|
|
479
479
|
return DeckContent;
|
|
480
|
-
}(
|
|
480
|
+
}(React__default.Component);
|
|
481
481
|
|
|
482
482
|
var ContentCard = withRouter(DeckContent);
|
|
483
483
|
|
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-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';
|
|
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-67a08c9c.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);
|
|
@@ -183,7 +183,7 @@ var DeckQueue = function (_React$Component) {
|
|
|
183
183
|
var rightItems = _this.props.rightItems;
|
|
184
184
|
|
|
185
185
|
var i = ((index + 1) / numberOfItemsBeforeAd - 1) % rightItems.length;
|
|
186
|
-
return
|
|
186
|
+
return React__default.createElement(
|
|
187
187
|
'div',
|
|
188
188
|
{ style: { display: 'flex', flex: '1 0 auto' } },
|
|
189
189
|
rightItems[i].component
|
|
@@ -191,15 +191,15 @@ var DeckQueue = function (_React$Component) {
|
|
|
191
191
|
}, _this.renderManualPagination = function () {
|
|
192
192
|
var currentPage = _this.state.currentPage;
|
|
193
193
|
|
|
194
|
-
return
|
|
194
|
+
return React__default.createElement(
|
|
195
195
|
'div',
|
|
196
196
|
{ className: 'd-flex justify-content-between' },
|
|
197
|
-
currentPage && currentPage > 1 &&
|
|
197
|
+
currentPage && currentPage > 1 && React__default.createElement(
|
|
198
198
|
'a',
|
|
199
199
|
{ href: '?page=' + (currentPage - 1) },
|
|
200
200
|
'<< Previous'
|
|
201
201
|
),
|
|
202
|
-
|
|
202
|
+
React__default.createElement(
|
|
203
203
|
'a',
|
|
204
204
|
{ href: '?page=' + (currentPage + 1) },
|
|
205
205
|
'Next >>'
|
|
@@ -217,78 +217,78 @@ var DeckQueue = function (_React$Component) {
|
|
|
217
217
|
var lgVar = Math.floor(12 / columns);
|
|
218
218
|
var numberOfItemsBeforeAd = 6;
|
|
219
219
|
|
|
220
|
-
return
|
|
220
|
+
return React__default.createElement(
|
|
221
221
|
Row,
|
|
222
222
|
null,
|
|
223
223
|
this.state.data && this.state.data.map(function (row, index) {
|
|
224
224
|
var pageNumber = row.pageNumber || _this2.state.page;
|
|
225
225
|
// const thumbnailURL = get(row, 'thumbnail.asset.url', this.props.defaultImage)
|
|
226
226
|
|
|
227
|
-
return
|
|
228
|
-
|
|
227
|
+
return React__default.createElement(
|
|
228
|
+
React__default.Fragment,
|
|
229
229
|
{ key: index },
|
|
230
|
-
|
|
230
|
+
React__default.createElement(
|
|
231
231
|
VisibilitySensor,
|
|
232
232
|
{
|
|
233
233
|
onChange: function onChange(isVisible) {
|
|
234
234
|
isVisible && _this2.changePageNumber(pageNumber);
|
|
235
235
|
} },
|
|
236
|
-
|
|
236
|
+
React__default.createElement(
|
|
237
237
|
Col,
|
|
238
238
|
{ md: 12, lg: lgVar, style: { display: 'flex', flex: '1 0 auto' } },
|
|
239
|
-
|
|
239
|
+
React__default.createElement(
|
|
240
240
|
Card,
|
|
241
241
|
{ className: 'queue-card', style: { borderTop: '1px solid #EEE' } },
|
|
242
|
-
|
|
242
|
+
React__default.createElement(
|
|
243
243
|
Row,
|
|
244
244
|
{ style: { flexDirection: mode } },
|
|
245
|
-
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) &&
|
|
245
|
+
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) && React__default.createElement(
|
|
246
246
|
Col,
|
|
247
247
|
{ md: 12, lg: 4 },
|
|
248
|
-
|
|
248
|
+
React__default.createElement(
|
|
249
249
|
'a',
|
|
250
250
|
{ href: _this2.page + '/' + get_1(row, 'url.current') },
|
|
251
|
-
|
|
251
|
+
React__default.createElement(
|
|
252
252
|
LazyLoad,
|
|
253
253
|
{ height: _this2.props.imageHeight },
|
|
254
|
-
|
|
254
|
+
React__default.createElement(Card.Img, { variant: 'top', src: _this2.renderCardImage(row), alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : '' })
|
|
255
255
|
)
|
|
256
256
|
)
|
|
257
257
|
),
|
|
258
|
-
|
|
258
|
+
React__default.createElement(
|
|
259
259
|
Col,
|
|
260
260
|
null,
|
|
261
|
-
|
|
261
|
+
React__default.createElement(
|
|
262
262
|
Card.Body,
|
|
263
263
|
{ style: { padding: '20px' } },
|
|
264
|
-
row.title &&
|
|
264
|
+
row.title && React__default.createElement(
|
|
265
265
|
Card.Title,
|
|
266
266
|
null,
|
|
267
|
-
|
|
267
|
+
React__default.createElement(
|
|
268
268
|
'a',
|
|
269
269
|
{ href: _this2.page + '/' + get_1(row, 'url.current') },
|
|
270
270
|
row.title
|
|
271
271
|
)
|
|
272
272
|
),
|
|
273
|
-
_this2.props.showPublished && row.published &&
|
|
273
|
+
_this2.props.showPublished && row.published && React__default.createElement(
|
|
274
274
|
Card.Subtitle,
|
|
275
275
|
null,
|
|
276
276
|
moment(row.published).format('MMMM DD, YYYY')
|
|
277
277
|
),
|
|
278
|
-
_this2.props.showRecent && row.recent && row.recent.title &&
|
|
278
|
+
_this2.props.showRecent && row.recent && row.recent.title && React__default.createElement(
|
|
279
279
|
Card.Subtitle,
|
|
280
280
|
null,
|
|
281
281
|
'Recent : ',
|
|
282
|
-
|
|
282
|
+
React__default.createElement(
|
|
283
283
|
'a',
|
|
284
284
|
{ href: 'view/' + row.recent.url.current },
|
|
285
285
|
row.recent.title
|
|
286
286
|
)
|
|
287
287
|
),
|
|
288
|
-
row.summary &&
|
|
288
|
+
row.summary && React__default.createElement(
|
|
289
289
|
Card.Text,
|
|
290
290
|
null,
|
|
291
|
-
|
|
291
|
+
React__default.createElement(
|
|
292
292
|
'a',
|
|
293
293
|
{ href: _this2.page + '/' + get_1(row, 'url.current') },
|
|
294
294
|
clean_html_1(row.summary)
|
|
@@ -300,7 +300,7 @@ var DeckQueue = function (_React$Component) {
|
|
|
300
300
|
)
|
|
301
301
|
)
|
|
302
302
|
),
|
|
303
|
-
|
|
303
|
+
main_43 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
304
304
|
);
|
|
305
305
|
})
|
|
306
306
|
);
|
|
@@ -317,29 +317,29 @@ var DeckQueue = function (_React$Component) {
|
|
|
317
317
|
page = _props.page;
|
|
318
318
|
|
|
319
319
|
|
|
320
|
-
return
|
|
320
|
+
return React__default.createElement(
|
|
321
321
|
'div',
|
|
322
322
|
{ className: 'contentDeck' },
|
|
323
|
-
autoScroll ?
|
|
323
|
+
autoScroll ? React__default.createElement(
|
|
324
324
|
InfiniteScroll,
|
|
325
325
|
{ dataLength: this.state.data.length, next: this.loadMore, hasMore: this.state.scrolling },
|
|
326
|
-
|
|
326
|
+
React__default.createElement(
|
|
327
327
|
Container,
|
|
328
328
|
null,
|
|
329
329
|
this.cardLoader(page, columns, variant)
|
|
330
330
|
)
|
|
331
|
-
) :
|
|
332
|
-
|
|
331
|
+
) : React__default.createElement(
|
|
332
|
+
React__default.Fragment,
|
|
333
333
|
null,
|
|
334
|
-
|
|
334
|
+
React__default.createElement(
|
|
335
335
|
Container,
|
|
336
336
|
null,
|
|
337
337
|
this.cardLoader(page, columns, variant)
|
|
338
338
|
),
|
|
339
|
-
|
|
339
|
+
React__default.createElement(
|
|
340
340
|
'div',
|
|
341
341
|
{ style: { padding: '0px 10px' } },
|
|
342
|
-
this.state.scrolling ?
|
|
342
|
+
this.state.scrolling ? React__default.createElement(
|
|
343
343
|
'button',
|
|
344
344
|
{
|
|
345
345
|
style: { margin: 'auto', width: '100%' },
|
|
@@ -347,17 +347,17 @@ var DeckQueue = function (_React$Component) {
|
|
|
347
347
|
_this3.loadMore();
|
|
348
348
|
} },
|
|
349
349
|
'Load More'
|
|
350
|
-
) :
|
|
350
|
+
) : React__default.createElement(
|
|
351
351
|
'p',
|
|
352
352
|
{ style: { textAlign: 'center' } },
|
|
353
|
-
|
|
353
|
+
React__default.createElement(
|
|
354
354
|
'b',
|
|
355
355
|
null,
|
|
356
356
|
'End of data'
|
|
357
357
|
)
|
|
358
358
|
)
|
|
359
359
|
),
|
|
360
|
-
|
|
360
|
+
React__default.createElement(
|
|
361
361
|
'noscript',
|
|
362
362
|
null,
|
|
363
363
|
this.renderManualPagination()
|
|
@@ -368,7 +368,7 @@ var DeckQueue = function (_React$Component) {
|
|
|
368
368
|
}]);
|
|
369
369
|
|
|
370
370
|
return DeckQueue;
|
|
371
|
-
}(
|
|
371
|
+
}(React__default.Component);
|
|
372
372
|
|
|
373
373
|
var Queue = withRouter(DeckQueue);
|
|
374
374
|
|