@mjhls/mjh-framework 1.0.810-disable-social-test → 1.0.811-beta.0
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 +170 -170
- package/dist/cjs/AD.js +9 -10
- package/dist/cjs/AD300x250.js +30 -31
- package/dist/cjs/AD300x250x600.js +30 -31
- package/dist/cjs/AD728x90.js +33 -34
- package/dist/cjs/ADFloatingFooter.js +32 -33
- package/dist/cjs/ADFooter.js +14 -15
- package/dist/cjs/ADGutter.js +32 -33
- package/dist/cjs/{ADInfeed-77f334bb.js → ADInfeed-7c4b33b3.js} +13 -15
- package/dist/cjs/ADSkyscraper.js +32 -33
- package/dist/cjs/ADSponsoredResources.js +32 -33
- package/dist/cjs/ADWebcast.js +32 -33
- package/dist/cjs/ADWelcome.js +33 -34
- package/dist/cjs/{ADlgInfeed-0664c67f.js → ADlgInfeed-563e0168.js} +10 -11
- package/dist/cjs/AccordionPanel.js +29 -31
- package/dist/cjs/AdSlot.js +35 -36
- package/dist/cjs/AdSlotsProvider.js +911 -20
- package/dist/cjs/AlgoliaSearch.js +1066 -1085
- package/dist/cjs/AlphabeticList.js +25 -26
- package/dist/cjs/ArticleCarousel.js +23 -24
- package/dist/cjs/ArticleProgramLandingPage.js +57 -58
- package/dist/cjs/ArticleSeriesLandingPage.js +40 -41
- package/dist/cjs/ArticleSeriesListing.js +60 -61
- package/dist/cjs/Auth.js +462 -686
- package/dist/cjs/{AuthorComponent-c21aac7f.js → AuthorComponent-bb831b74.js} +13 -14
- package/dist/cjs/Beam.js +8 -8
- package/dist/cjs/{BlockContent-36e54d77.js → BlockContent-091a991f.js} +55 -56
- package/dist/cjs/Breadcrumbs.js +27 -29
- package/dist/cjs/CMEDeck.js +83 -83
- package/dist/cjs/Column1.js +11 -14
- package/dist/cjs/Column2.js +33 -36
- package/dist/cjs/Column3.js +59 -62
- package/dist/cjs/ConferenceArticleCard.js +38 -39
- package/dist/cjs/ConferenceBanner-4a16fddc.js +23 -0
- package/dist/cjs/DeckContent.js +103 -107
- package/dist/cjs/DeckQueue.js +88 -92
- package/dist/cjs/{Dfp-93399f8c.js → Dfp-26baccf1.js} +34 -35
- package/dist/cjs/EventsDeck.js +152 -159
- package/dist/cjs/ExternalResources.js +80 -81
- package/dist/cjs/Feature.js +25 -27
- package/dist/cjs/ForbesHero.js +40 -41
- package/dist/cjs/GridContent.js +178 -182
- package/dist/cjs/GridHero.js +42 -43
- package/dist/cjs/GroupDeck.js +58 -59
- package/dist/cjs/HamMagazine.js +139 -144
- package/dist/cjs/Header.js +12 -14
- package/dist/cjs/Hero.js +12 -13
- package/dist/cjs/HighlightenVideo.js +17 -18
- package/dist/cjs/HorizontalArticleListing.js +70 -71
- package/dist/cjs/HorizontalHero.js +25 -26
- package/dist/cjs/IssueContentDeck.js +72 -77
- package/dist/cjs/IssueDeck.js +71 -76
- package/dist/cjs/IssueLanding.js +71 -72
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +39 -41
- package/dist/cjs/MasterDeck.js +80 -81
- package/dist/cjs/MediaSeriesLanding.js +1123 -1114
- package/dist/cjs/NavDvm.js +74 -79
- package/dist/cjs/{NavFooter-3dcd99a8.js → NavFooter-76c913e3.js} +14 -15
- package/dist/cjs/NavMagazine.js +147 -152
- package/dist/cjs/NavNative.js +139 -147
- package/dist/cjs/NavNormal.js +47 -52
- package/dist/cjs/OncliveHero.js +20 -20
- package/dist/cjs/OncliveLargeHero.js +66 -67
- package/dist/cjs/PageFilter.js +14 -15
- package/dist/cjs/PartnerDetailListing.js +108 -109
- package/dist/cjs/PdfDownload.js +8 -9
- package/dist/cjs/PopUpModal.js +19 -21
- package/dist/cjs/PubSection.js +41 -42
- package/dist/cjs/PubToc.js +15 -16
- package/dist/cjs/PublicationDeck.js +61 -66
- package/dist/cjs/PublicationLanding.js +138 -142
- package/dist/cjs/QueueDeckExpanded.js +294 -294
- package/dist/cjs/RecentNews.js +23 -24
- package/dist/cjs/RelatedContent.js +52 -53
- package/dist/cjs/RelatedTopicsDropdown.js +29 -32
- package/dist/cjs/RolesDeck.js +27 -32
- package/dist/cjs/Search.js +18 -22
- package/dist/cjs/Segment.js +6 -6
- package/dist/cjs/SeriesListingDeck.js +38 -38
- package/dist/cjs/{SeriesSlider-c022ce04.js → SeriesSlider-4abb21b4.js} +41 -42
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +38 -39
- package/dist/cjs/SocialIcons.js +9 -10
- package/dist/cjs/{SocialSearchComponent-ecb4f972.js → SocialSearchComponent-97dd19a5.js} +36 -40
- package/dist/cjs/SocialShare.js +29 -31
- package/dist/cjs/TaxonomyCard.js +61 -65
- package/dist/cjs/TaxonomyDescription.js +54 -55
- package/dist/cjs/TemplateNormal.js +76 -77
- package/dist/cjs/ThumbnailCard.js +20 -22
- package/dist/cjs/Ustream.js +29 -30
- package/dist/cjs/VerticalHero.js +17 -18
- package/dist/cjs/VideoProgramLandingPage.js +73 -77
- package/dist/cjs/VideoSeriesCard.js +33 -34
- package/dist/cjs/VideoSeriesFilter.js +18 -18
- package/dist/cjs/VideoSeriesLandingPage.js +49 -50
- package/dist/cjs/VideoSeriesListing.js +77 -78
- package/dist/cjs/View.js +262 -265
- package/dist/cjs/YahooHero.js +39 -40
- package/dist/cjs/YoutubeGroup.js +66 -67
- package/dist/cjs/{_is-array-6128bd56.js → _is-array-754e012d.js} +6 -6
- package/dist/cjs/{_iter-detect-55a5657a.js → _iter-detect-60b2f026.js} +8 -8
- package/dist/cjs/{_object-pie-083f2dd6.js → _object-pie-68c5bcbc.js} +4 -4
- package/dist/cjs/{_object-sap-a175b4a9.js → _object-sap-5e74ba08.js} +1 -1
- package/dist/cjs/{_object-to-array-8fe5a54f.js → _object-to-array-5762f850.js} +2 -2
- package/dist/cjs/{_to-object-6de10e57.js → _to-object-329a650b.js} +8 -8
- package/dist/cjs/{asyncToGenerator-58c289d9.js → asyncToGenerator-140e5f89.js} +32 -32
- package/dist/cjs/{brightcove-react-player-loader.es-a195642e.js → brightcove-react-player-loader.es-156bd4d6.js} +9 -11
- package/dist/cjs/{core.get-iterator-method-f474eacc.js → core.get-iterator-method-f62321d4.js} +2 -2
- package/dist/cjs/{debounce-d4a2369b.js → debounce-529c8d06.js} +2 -2
- package/dist/cjs/{define-property-c88be878.js → define-property-f4d12f4e.js} +6 -6
- package/dist/cjs/{defineProperty-0cb76d99.js → defineProperty-55548b25.js} +1 -1
- package/dist/cjs/{entities-3f9d0f2f.js → entities-310b46ee.js} +1 -1
- package/dist/cjs/{eq-5fc26c07.js → eq-bb2843ed.js} +1 -1
- package/dist/cjs/{es6.string.iterator-c2573ffd.js → es6.string.iterator-cc0bbaa4.js} +6 -6
- package/dist/cjs/{extends-9d158713.js → extends-0a918631.js} +8 -7
- package/dist/cjs/{get-5839e5b5.js → get-adbb11e3.js} +21 -21
- package/dist/cjs/getRelatedArticle.js +20 -20
- package/dist/cjs/getRootDocGroup.js +6 -6
- package/dist/cjs/getSerializers.js +43 -43
- package/dist/cjs/{getTargeting-c8081c76.js → getTargeting-021d644c.js} +12 -12
- package/dist/cjs/getTargeting.js +8 -8
- package/dist/cjs/iconBase-68959171.js +3 -0
- package/dist/cjs/{index-f86bb269.js → index-3294d3bc.js} +45 -44
- package/dist/cjs/{index-667c091e.js → index-7340b76d.js} +1261 -1059
- package/dist/cjs/{index-eadd5035.js → index-96b3db50.js} +15 -17
- package/dist/cjs/{index-fc2f1ca2.js → index-98e01cb9.js} +12 -13
- package/dist/cjs/{index-efca863c.js → index-be0c82be.js} +30 -36
- package/dist/cjs/{index-8041a4eb.js → index-e2e62963.js} +1 -11
- package/dist/cjs/{index.es-f3e47207.js → index.es-9110add6.js} +12 -31
- package/dist/cjs/{index.esm-8123cf40.js → index.esm-4d410430.js} +20 -20
- package/dist/cjs/{index.esm-3b9b8952.js → index.esm-66ffa47a.js} +9 -4
- package/dist/cjs/{index.esm-974f47d9.js → index.esm-90433435.js} +15 -6
- package/dist/cjs/{index.esm-05850a2f.js → index.esm-ff47db6f.js} +12 -5
- package/dist/cjs/index.js +162 -166
- package/dist/cjs/{inherits-3ff1b657.js → inherits-9953db94.js} +25 -22
- package/dist/cjs/{isSymbol-03abbdf0.js → isSymbol-04666465.js} +15 -15
- package/dist/cjs/keys-a586b7a0.js +25 -0
- package/dist/cjs/{lodash-f0783643.js → lodash-fc2922d0.js} +31 -128
- package/dist/cjs/main-02daeefe.js +862 -0
- package/dist/cjs/{moment-aca40de1.js → moment-575fe24c.js} +9 -11
- package/dist/cjs/{react-social-icons-af932527.js → react-social-icons-f7f48f71.js} +27 -28
- package/dist/cjs/{slicedToArray-5d1bc3b3.js → slicedToArray-8f385299.js} +14 -14
- package/dist/cjs/{smoothscroll-99df7f93.js → smoothscroll-5054361f.js} +1 -1
- package/dist/cjs/stringify-7c5aff47.js +17 -0
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-ddb70795.js → toConsumableArray-9a3476fe.js} +9 -9
- package/dist/cjs/{toNumber-5e1fac58.js → toNumber-36d1e7e5.js} +5 -40
- package/dist/cjs/{typeof-88a668c5.js → typeof-725500bc.js} +36 -36
- package/dist/cjs/urlFor.js +2 -2
- package/dist/cjs/{ustream-api-b2b9092f.js → ustream-api-d092dc31.js} +4 -4
- package/dist/cjs/{util-6f784d85.js → util-f2c1b65b.js} +1 -1
- package/dist/cjs/{visibility-sensor-eb2c5b69.js → visibility-sensor-ad5e3116.js} +5 -7
- package/dist/cjs/{web.dom.iterable-46657b5c.js → web.dom.iterable-a0e279c1.js} +3 -3
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +27 -27
- package/dist/esm/AD300x250x600.js +27 -27
- package/dist/esm/AD728x90.js +30 -30
- package/dist/esm/ADFloatingFooter.js +29 -29
- package/dist/esm/ADFooter.js +11 -11
- package/dist/esm/ADGutter.js +29 -29
- package/dist/esm/{ADInfeed-6ed88032.js → ADInfeed-31055afd.js} +11 -11
- package/dist/esm/ADSkyscraper.js +29 -29
- package/dist/esm/ADSponsoredResources.js +29 -29
- package/dist/esm/ADWebcast.js +29 -29
- package/dist/esm/ADWelcome.js +30 -30
- package/dist/esm/{ADlgInfeed-e02d1d98.js → ADlgInfeed-dcb27a6c.js} +8 -8
- package/dist/esm/AccordionPanel.js +24 -24
- package/dist/esm/AdSlot.js +27 -27
- package/dist/esm/AdSlotsProvider.js +909 -17
- package/dist/esm/AlgoliaSearch.js +717 -735
- package/dist/esm/AlphabeticList.js +22 -22
- package/dist/esm/ArticleCarousel.js +20 -20
- package/dist/esm/ArticleProgramLandingPage.js +54 -54
- package/dist/esm/ArticleSeriesLandingPage.js +37 -37
- package/dist/esm/ArticleSeriesListing.js +56 -56
- package/dist/esm/Auth.js +445 -665
- package/dist/esm/{AuthorComponent-5ae7409f.js → AuthorComponent-34b16174.js} +11 -11
- package/dist/esm/Beam.js +8 -8
- package/dist/esm/{BlockContent-52cf21c5.js → BlockContent-e9b4ddcf.js} +35 -35
- package/dist/esm/Breadcrumbs.js +17 -17
- package/dist/esm/CMEDeck.js +79 -79
- package/dist/esm/Column1.js +9 -9
- package/dist/esm/Column2.js +30 -30
- package/dist/esm/Column3.js +56 -56
- package/dist/esm/ConferenceArticleCard.js +34 -34
- package/dist/esm/{ConferenceBanner-9162d0ca.js → ConferenceBanner-8792ebd2.js} +4 -4
- package/dist/esm/DeckContent.js +97 -97
- package/dist/esm/DeckQueue.js +82 -82
- package/dist/esm/{Dfp-43f121ff.js → Dfp-b7236041.js} +22 -22
- package/dist/esm/EventsDeck.js +129 -129
- package/dist/esm/ExternalResources.js +74 -74
- package/dist/esm/Feature.js +18 -18
- package/dist/esm/ForbesHero.js +34 -34
- package/dist/esm/GridContent.js +170 -170
- package/dist/esm/GridHero.js +36 -36
- package/dist/esm/GroupDeck.js +46 -46
- package/dist/esm/HamMagazine.js +115 -115
- package/dist/esm/Header.js +8 -8
- package/dist/esm/Hero.js +9 -9
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalArticleListing.js +67 -67
- package/dist/esm/HorizontalHero.js +21 -21
- package/dist/esm/IssueContentDeck.js +60 -60
- package/dist/esm/IssueDeck.js +64 -64
- package/dist/esm/IssueLanding.js +68 -68
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +35 -35
- package/dist/esm/MasterDeck.js +77 -77
- package/dist/esm/MediaSeriesLanding.js +850 -838
- package/dist/esm/NavDvm.js +59 -59
- package/dist/esm/{NavFooter-c29526b7.js → NavFooter-e27bd93b.js} +12 -12
- package/dist/esm/NavMagazine.js +126 -126
- package/dist/esm/NavNative.js +116 -116
- package/dist/esm/NavNormal.js +38 -38
- package/dist/esm/OncliveHero.js +17 -16
- package/dist/esm/OncliveLargeHero.js +59 -59
- package/dist/esm/PageFilter.js +12 -12
- package/dist/esm/PartnerDetailListing.js +104 -104
- package/dist/esm/PdfDownload.js +6 -6
- package/dist/esm/PopUpModal.js +14 -14
- package/dist/esm/PubSection.js +38 -38
- package/dist/esm/PubToc.js +12 -12
- package/dist/esm/PublicationDeck.js +52 -52
- package/dist/esm/PublicationLanding.js +125 -125
- package/dist/esm/QueueDeckExpanded.js +274 -274
- package/dist/esm/RecentNews.js +20 -20
- package/dist/esm/RelatedContent.js +47 -47
- package/dist/esm/RelatedTopicsDropdown.js +21 -21
- package/dist/esm/RolesDeck.js +25 -25
- package/dist/esm/Search.js +13 -13
- package/dist/esm/Segment.js +6 -6
- package/dist/esm/SeriesListingDeck.js +32 -32
- package/dist/esm/{SeriesSlider-8414085b.js → SeriesSlider-36be7223.js} +31 -31
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +34 -34
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-cd38ae60.js → SocialSearchComponent-db5ba548.js} +30 -30
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +56 -55
- package/dist/esm/TaxonomyDescription.js +49 -49
- package/dist/esm/TemplateNormal.js +72 -72
- package/dist/esm/ThumbnailCard.js +13 -13
- package/dist/esm/Ustream.js +26 -26
- package/dist/esm/VerticalHero.js +13 -13
- package/dist/esm/VideoProgramLandingPage.js +66 -66
- package/dist/esm/VideoSeriesCard.js +25 -25
- package/dist/esm/VideoSeriesFilter.js +15 -15
- package/dist/esm/VideoSeriesLandingPage.js +41 -41
- package/dist/esm/VideoSeriesListing.js +73 -73
- package/dist/esm/View.js +246 -245
- package/dist/esm/YahooHero.js +34 -34
- package/dist/esm/YoutubeGroup.js +50 -50
- package/dist/esm/{_is-array-3e99e06e.js → _is-array-58e95429.js} +6 -6
- package/dist/esm/{_iter-detect-7e5e5ce2.js → _iter-detect-5d49a330.js} +8 -8
- package/dist/esm/{_object-pie-133f504a.js → _object-pie-33c40e79.js} +4 -4
- package/dist/esm/{_object-sap-f353c2a9.js → _object-sap-964b6feb.js} +1 -1
- package/dist/esm/{_object-to-array-0f197f89.js → _object-to-array-7e804fce.js} +2 -2
- package/dist/esm/{_to-object-b50e61c3.js → _to-object-a4107da3.js} +9 -9
- package/dist/esm/{asyncToGenerator-7f8f9219.js → asyncToGenerator-fc1c2e29.js} +32 -32
- package/dist/esm/{brightcove-react-player-loader.es-b43c695a.js → brightcove-react-player-loader.es-83f53e4e.js} +6 -7
- package/dist/esm/{core.get-iterator-method-133dfacd.js → core.get-iterator-method-e1de7503.js} +2 -2
- package/dist/esm/{debounce-533d9748.js → debounce-9207d8ee.js} +2 -2
- package/dist/esm/{define-property-fe54dc9f.js → define-property-8af5f002.js} +6 -6
- package/dist/esm/{defineProperty-f5ff6f5a.js → defineProperty-94fd8bfc.js} +1 -1
- package/dist/esm/{entities-932b50cf.js → entities-7cc3bf45.js} +1 -1
- package/dist/esm/{eq-bdcbf886.js → eq-b470f743.js} +1 -1
- package/dist/esm/{es6.string.iterator-bc33758b.js → es6.string.iterator-c990c18c.js} +7 -7
- package/dist/esm/{extends-f076879e.js → extends-6f2fcc99.js} +8 -8
- package/dist/esm/{get-3c308da4.js → get-1e515072.js} +21 -21
- package/dist/esm/getRelatedArticle.js +14 -14
- package/dist/esm/getRootDocGroup.js +6 -6
- package/dist/esm/getSerializers.js +43 -43
- package/dist/esm/{getTargeting-2302c1b4.js → getTargeting-82e86707.js} +11 -11
- package/dist/esm/getTargeting.js +8 -8
- package/dist/esm/{index-2446af28.js → index-41a678ea.js} +6 -6
- package/dist/esm/{index-35bdcc81.js → index-5f7e79e7.js} +10 -10
- package/dist/esm/{index-0dbff1d1.js → index-73819142.js} +30 -36
- package/dist/esm/{index-d2fb744b.js → index-73a91c0b.js} +1201 -992
- package/dist/esm/{index-67e1773f.js → index-aaa2dae0.js} +2 -11
- package/dist/esm/{index-79cfd25c.js → index-ef6d5dcf.js} +45 -44
- package/dist/esm/{index.es-c6222053.js → index.es-29c1cef5.js} +10 -28
- package/dist/esm/{index.esm-3fdda599.js → index.esm-29e48d38.js} +15 -6
- package/dist/esm/{index.esm-d6f88d94.js → index.esm-b08f4b04.js} +9 -4
- package/dist/esm/{index.esm-a8ff922c.js → index.esm-cf08bf18.js} +12 -5
- package/dist/esm/{index.esm-8016b507.js → index.esm-fd746768.js} +18 -17
- package/dist/esm/index.js +134 -135
- package/dist/esm/{inherits-f71787cf.js → inherits-cf8dde54.js} +20 -20
- package/dist/esm/{isSymbol-a7e9aafe.js → isSymbol-1981418f.js} +15 -15
- package/dist/esm/{keys-7a3adabf.js → keys-8eda7a5c.js} +6 -6
- package/dist/esm/{lodash-f97fd99a.js → lodash-17fdfebb.js} +31 -128
- package/dist/esm/main-e4a934b2.js +851 -0
- package/dist/esm/{moment-bc12cb97.js → moment-e2f9b20c.js} +9 -11
- package/dist/esm/{react-social-icons-91f9716f.js → react-social-icons-a7d5c5c7.js} +20 -20
- package/dist/esm/{slicedToArray-be2f7a22.js → slicedToArray-641f241f.js} +14 -14
- package/dist/esm/{smoothscroll-fa4e3f8c.js → smoothscroll-0cd4c7a6.js} +1 -1
- package/dist/esm/stringify-4330ccdc.js +15 -0
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-6d9a4616.js → toConsumableArray-43aa614d.js} +9 -9
- package/dist/esm/{toNumber-5aeba6e7.js → toNumber-2f7a84cd.js} +5 -40
- package/dist/esm/{typeof-a286cf0c.js → typeof-6435ba1c.js} +36 -36
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/{ustream-api-33a866b6.js → ustream-api-9a50644d.js} +4 -4
- package/dist/esm/{util-3ab476bf.js → util-7700fc59.js} +1 -1
- package/dist/esm/{visibility-sensor-f40c2564.js → visibility-sensor-72fd8f8b.js} +2 -2
- package/dist/esm/{web.dom.iterable-4109ff68.js → web.dom.iterable-4439f05a.js} +3 -3
- package/package.json +109 -109
- package/dist/cjs/ConferenceBanner-6c9e718a.js +0 -24
- package/dist/cjs/keys-7f2c2108.js +0 -25
- package/dist/cjs/main-025fdc78.js +0 -973
- package/dist/cjs/stringify-c9ac1214.js +0 -17
- package/dist/esm/main-b5c5aac1.js +0 -961
- package/dist/esm/stringify-59c8f690.js +0 -15
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { m as moment } from './moment-bc12cb97.js';
|
|
3
|
-
import { i as imageUrlBuilder } from './index-0dbff1d1.js';
|
|
4
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
+
import React__default from 'react';
|
|
3
|
+
import { m as moment } from './moment-e2f9b20c.js';
|
|
4
|
+
import { i as imageUrlBuilder } from './index-73819142.js';
|
|
5
5
|
|
|
6
|
-
/*
|
|
7
|
-
Example usage - targetedonc.com/latest-conference
|
|
8
|
-
const query = `*[!(_id in path("drafts.**")) && _type == "article" && defined(title) && is_visible == true && published <= '${today}' && references('b49d36b8-aa56-4183-a2bc-1568c229fb72') ] | order(published desc) [$from...$to] {
|
|
9
|
-
...,
|
|
10
|
-
title,
|
|
11
|
-
summary,
|
|
12
|
-
thumbnail,
|
|
13
|
-
url,
|
|
14
|
-
published,
|
|
15
|
-
documentGroup->,
|
|
16
|
-
contentCategory->,
|
|
17
|
-
'pageNumber': ${currentPage}
|
|
18
|
-
}`
|
|
19
|
-
|
|
20
|
-
const posts = await client.fetch(query, params)
|
|
6
|
+
/*
|
|
7
|
+
Example usage - targetedonc.com/latest-conference
|
|
8
|
+
const query = `*[!(_id in path("drafts.**")) && _type == "article" && defined(title) && is_visible == true && published <= '${today}' && references('b49d36b8-aa56-4183-a2bc-1568c229fb72') ] | order(published desc) [$from...$to] {
|
|
9
|
+
...,
|
|
10
|
+
title,
|
|
11
|
+
summary,
|
|
12
|
+
thumbnail,
|
|
13
|
+
url,
|
|
14
|
+
published,
|
|
15
|
+
documentGroup->,
|
|
16
|
+
contentCategory->,
|
|
17
|
+
'pageNumber': ${currentPage}
|
|
18
|
+
}`
|
|
19
|
+
|
|
20
|
+
const posts = await client.fetch(query, params)
|
|
21
21
|
*/
|
|
22
22
|
|
|
23
23
|
var ConferenceArticleCard = function ConferenceArticleCard(props) {
|
|
24
|
-
var data = props.data
|
|
25
|
-
props.variant
|
|
26
|
-
props.index
|
|
27
|
-
|
|
24
|
+
var data = props.data,
|
|
25
|
+
variant = props.variant,
|
|
26
|
+
index = props.index,
|
|
27
|
+
client = props.client;
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
var builder = imageUrlBuilder(client);
|
|
@@ -34,51 +34,51 @@ var ConferenceArticleCard = function ConferenceArticleCard(props) {
|
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
// title, thumbnail, summary, published, documentGroup.identifier.current, documentGroup.identifier.name
|
|
37
|
-
return
|
|
37
|
+
return React__default.createElement(
|
|
38
38
|
'div',
|
|
39
39
|
{ className: 'conference-media' },
|
|
40
|
-
|
|
40
|
+
React__default.createElement(
|
|
41
41
|
'a',
|
|
42
42
|
{ className: 'img-wrapper', href: '/view/' + (data.url ? data.url.current : '') },
|
|
43
|
-
|
|
43
|
+
React__default.createElement('img', {
|
|
44
44
|
className: 'mr-3 img-fluid',
|
|
45
45
|
src: data.thumbnail && urlFor(data.thumbnail.asset).width(350).url(),
|
|
46
46
|
alt: data.title
|
|
47
47
|
})
|
|
48
48
|
),
|
|
49
|
-
|
|
49
|
+
React__default.createElement(
|
|
50
50
|
'div',
|
|
51
51
|
{ className: 'media-body' },
|
|
52
|
-
|
|
52
|
+
React__default.createElement(
|
|
53
53
|
'a',
|
|
54
54
|
{ href: '/view/' + (data.url ? data.url.current : '') },
|
|
55
|
-
|
|
55
|
+
React__default.createElement(
|
|
56
56
|
'h4',
|
|
57
57
|
{ className: 'conf-media__card-title' },
|
|
58
58
|
data.title
|
|
59
59
|
)
|
|
60
60
|
),
|
|
61
|
-
|
|
61
|
+
React__default.createElement(
|
|
62
62
|
'p',
|
|
63
63
|
{ className: 'conf-media__card-text' },
|
|
64
64
|
moment(data.published).format('MMMM Do YYYY, h:mma')
|
|
65
65
|
),
|
|
66
|
-
|
|
66
|
+
React__default.createElement(
|
|
67
67
|
'p',
|
|
68
68
|
{ className: 'mb-1 conference-group' },
|
|
69
|
-
data.documentGroup && data.documentGroup.identifier && (data.documentGroup.identifier.current.includes('/') ?
|
|
69
|
+
data.documentGroup && data.documentGroup.identifier && (data.documentGroup.identifier.current.includes('/') ? React__default.createElement(
|
|
70
70
|
'a',
|
|
71
71
|
{ href: '/' + data.documentGroup.identifier.current, alt: data.thumbnail && data.thumbnail.alt || data.title },
|
|
72
72
|
data.documentGroup.name
|
|
73
|
-
) :
|
|
73
|
+
) : React__default.createElement(
|
|
74
74
|
'a',
|
|
75
75
|
{ href: '/conference/' + data.documentGroup.identifier.current, alt: data.thumbnail && data.thumbnail.alt || data.title },
|
|
76
76
|
data.documentGroup.name
|
|
77
77
|
))
|
|
78
78
|
),
|
|
79
|
-
|
|
79
|
+
React__default.createElement('p', { className: 'pt-2 card-text', dangerouslySetInnerHTML: { __html: data.summary } })
|
|
80
80
|
),
|
|
81
|
-
|
|
81
|
+
React__default.createElement(
|
|
82
82
|
'style',
|
|
83
83
|
{ jsx: 'true' },
|
|
84
84
|
'\n .conference-media {\n display: flex;\n flex-direction: row;\n margin-bottom: 1.25rem;\n padding-bottom: 1.25rem;\n border-bottom: 1px solid #ddd;\n }\n .conf-media__card-title {\n font-weight: bold;\n color: #252525;\n margin-bottom: 0.5rem;\n font-size: 1.5rem;\n }\n .conf-media__card-text {\n color: var(--dark);\n margin-bottom: 0.25rem;\n }\n .conference-media a img {\n width: 175px;\n min-width: 175px;\n height: auto;\n object-fit: contain;\n }\n .conference-media .conference-group {\n background: #003767;\n color: white;\n border-radius: 5px;\n display: inline-block;\n padding: 0 0.25rem;\n }\n .conference-media .conference-group a {\n color: white;\n font-size: 0.8rem;\n }\n @media screen and (max-width: 1064px) {\n .conf-media__card-title {\n font-size: 1.1rem;\n }\n }\n @media screen and (max-width: 768px) {\n .conference-media {\n flex-direction: column;\n }\n .conference-media a img {\n width: 100%;\n height: auto;\n max-height: 175px;\n object-fit: contain;\n margin-bottom: 1rem;\n }\n }\n '
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
|
|
3
3
|
var ConferenceBanner = function ConferenceBanner(props) {
|
|
4
4
|
var website = props.website;
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
return
|
|
7
|
+
return React__default.createElement(
|
|
8
8
|
"div",
|
|
9
9
|
{ className: "conf-img" },
|
|
10
|
-
|
|
10
|
+
React__default.createElement(
|
|
11
11
|
"a",
|
|
12
12
|
{ href: website.conferenceBannerContent.href },
|
|
13
|
-
|
|
13
|
+
React__default.createElement("img", { src: website.conferenceBannerContent.src, alt: website.conferenceBannerContent.alt })
|
|
14
14
|
)
|
|
15
15
|
);
|
|
16
16
|
};
|
package/dist/esm/DeckContent.js
CHANGED
|
@@ -1,45 +1,45 @@
|
|
|
1
|
-
import { _ as _toConsumableArray } from './toConsumableArray-6d9a4616.js';
|
|
2
|
-
import { _ as _extends } from './extends-f076879e.js';
|
|
3
|
-
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-f71787cf.js';
|
|
4
|
-
import React from 'react';
|
|
5
|
-
import { l as lib_3 } from './index-2446af28.js';
|
|
6
|
-
import Container from 'react-bootstrap/Container';
|
|
7
|
-
import Row from 'react-bootstrap/Row';
|
|
8
|
-
import Col from 'react-bootstrap/Col';
|
|
9
|
-
import Card from 'react-bootstrap/Card';
|
|
10
|
-
import { m as moment } from './moment-bc12cb97.js';
|
|
11
|
-
import { withRouter } from 'next/router';
|
|
12
|
-
import { d as debounce_1 } from './debounce-533d9748.js';
|
|
13
|
-
import { I as InfiniteScroll } from './index.es-c6222053.js';
|
|
14
|
-
import { V as VisibilitySensor } from './visibility-sensor-f40c2564.js';
|
|
15
|
-
import { i as imageUrlBuilder } from './index-0dbff1d1.js';
|
|
16
|
-
import { L as LazyLoad } from './index-35bdcc81.js';
|
|
17
|
-
import { m as main_43 } from './main-b5c5aac1.js';
|
|
18
|
-
import { c as clean_html_1 } from './entities-932b50cf.js';
|
|
19
|
-
import { A as ADInfeed } from './ADInfeed-6ed88032.js';
|
|
20
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
21
|
-
import './
|
|
22
|
-
import './
|
|
23
|
-
import './_iter-detect-7e5e5ce2.js';
|
|
24
|
-
import './core.get-iterator-method-133dfacd.js';
|
|
25
|
-
import './_object-pie-133f504a.js';
|
|
26
|
-
import './_object-sap-f353c2a9.js';
|
|
27
|
-
import './define-property-fe54dc9f.js';
|
|
28
|
-
import './typeof-a286cf0c.js';
|
|
29
|
-
import './web.dom.iterable-4109ff68.js';
|
|
30
|
-
import './_is-array-3e99e06e.js';
|
|
2
|
+
import './_to-object-a4107da3.js';
|
|
3
|
+
import './es6.string.iterator-c990c18c.js';
|
|
31
4
|
import './_library-528f1934.js';
|
|
5
|
+
import './_iter-detect-5d49a330.js';
|
|
6
|
+
import { _ as _toConsumableArray } from './toConsumableArray-43aa614d.js';
|
|
7
|
+
import './core.get-iterator-method-e1de7503.js';
|
|
8
|
+
import './_object-pie-33c40e79.js';
|
|
9
|
+
import { _ as _extends } from './extends-6f2fcc99.js';
|
|
10
|
+
import './_object-sap-964b6feb.js';
|
|
11
|
+
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-cf8dde54.js';
|
|
12
|
+
import './define-property-8af5f002.js';
|
|
13
|
+
import './web.dom.iterable-4439f05a.js';
|
|
14
|
+
import './typeof-6435ba1c.js';
|
|
15
|
+
import './_is-array-58e95429.js';
|
|
16
|
+
import React__default from 'react';
|
|
32
17
|
import './events-6c3a7a63.js';
|
|
18
|
+
import { l as lib_3 } from './index-41a678ea.js';
|
|
33
19
|
import 'prop-types';
|
|
34
|
-
import '
|
|
35
|
-
import '
|
|
20
|
+
import Container$1 from 'react-bootstrap/Container';
|
|
21
|
+
import Row$1 from 'react-bootstrap/Row';
|
|
22
|
+
import Col$1 from 'react-bootstrap/Col';
|
|
23
|
+
import Card$1 from 'react-bootstrap/Card';
|
|
24
|
+
import { m as moment } from './moment-e2f9b20c.js';
|
|
25
|
+
import { withRouter } from 'next/router';
|
|
26
|
+
import './isSymbol-1981418f.js';
|
|
27
|
+
import { d as debounce_1 } from './debounce-9207d8ee.js';
|
|
28
|
+
import './toNumber-2f7a84cd.js';
|
|
29
|
+
import { I as InfiniteScroll } from './index.es-29c1cef5.js';
|
|
36
30
|
import 'react-dom';
|
|
37
|
-
import './
|
|
38
|
-
import './
|
|
39
|
-
import './
|
|
40
|
-
import './
|
|
41
|
-
import './
|
|
31
|
+
import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
32
|
+
import { i as imageUrlBuilder } from './index-73819142.js';
|
|
33
|
+
import { L as LazyLoad } from './index-5f7e79e7.js';
|
|
34
|
+
import { m as main_36 } from './main-e4a934b2.js';
|
|
35
|
+
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
36
|
+
import './slicedToArray-641f241f.js';
|
|
37
|
+
import './stringify-4330ccdc.js';
|
|
38
|
+
import './asyncToGenerator-fc1c2e29.js';
|
|
42
39
|
import './Segment.js';
|
|
40
|
+
import './Beam.js';
|
|
41
|
+
import './AdSlot.js';
|
|
42
|
+
import { A as ADInfeed } from './ADInfeed-31055afd.js';
|
|
43
43
|
|
|
44
44
|
var DeckContent = function (_React$Component) {
|
|
45
45
|
_inherits(DeckContent, _React$Component);
|
|
@@ -180,14 +180,14 @@ var DeckContent = function (_React$Component) {
|
|
|
180
180
|
var newPath = pageNumber === 1 ? '' + path : path + '?page=' + pageNumber;
|
|
181
181
|
|
|
182
182
|
// please leave this for later debug purpose : Yong Jun.
|
|
183
|
-
/* console.log('page change reported', {
|
|
184
|
-
currentPage: currentPage,
|
|
185
|
-
pageNumber: pageNumber,
|
|
186
|
-
pathname: pathname,
|
|
187
|
-
path: path,
|
|
188
|
-
newPath: newPath,
|
|
189
|
-
firstPage: pageNumber === 1,
|
|
190
|
-
queryString: queryString
|
|
183
|
+
/* console.log('page change reported', {
|
|
184
|
+
currentPage: currentPage,
|
|
185
|
+
pageNumber: pageNumber,
|
|
186
|
+
pathname: pathname,
|
|
187
|
+
path: path,
|
|
188
|
+
newPath: newPath,
|
|
189
|
+
firstPage: pageNumber === 1,
|
|
190
|
+
queryString: queryString
|
|
191
191
|
}) */
|
|
192
192
|
|
|
193
193
|
if (pageview) {
|
|
@@ -207,35 +207,35 @@ var DeckContent = function (_React$Component) {
|
|
|
207
207
|
url = authorDetail.url;
|
|
208
208
|
|
|
209
209
|
if (displayName && url && url.current) {
|
|
210
|
-
return
|
|
210
|
+
return React__default.createElement(
|
|
211
211
|
'div',
|
|
212
212
|
{ key: _id },
|
|
213
|
-
index === 0 &&
|
|
213
|
+
index === 0 && React__default.createElement(
|
|
214
214
|
'span',
|
|
215
215
|
{ className: 'pr-1' },
|
|
216
216
|
'By'
|
|
217
217
|
),
|
|
218
|
-
|
|
218
|
+
React__default.createElement(
|
|
219
219
|
'a',
|
|
220
220
|
{ href: '/authors/${url.current}', className: 'text-muted' },
|
|
221
221
|
displayName,
|
|
222
|
-
length !== index + 1 &&
|
|
222
|
+
length !== index + 1 && React__default.createElement('br', null)
|
|
223
223
|
)
|
|
224
224
|
);
|
|
225
225
|
} else if (displayName) {
|
|
226
|
-
return
|
|
226
|
+
return React__default.createElement(
|
|
227
227
|
'div',
|
|
228
228
|
{ key: _id },
|
|
229
|
-
index === 0 &&
|
|
229
|
+
index === 0 && React__default.createElement(
|
|
230
230
|
'span',
|
|
231
231
|
{ className: 'pr-1' },
|
|
232
232
|
'By'
|
|
233
233
|
),
|
|
234
|
-
|
|
234
|
+
React__default.createElement(
|
|
235
235
|
'span',
|
|
236
236
|
{ className: 'text-muted' },
|
|
237
237
|
displayName,
|
|
238
|
-
length !== index + 1 &&
|
|
238
|
+
length !== index + 1 && React__default.createElement('br', null)
|
|
239
239
|
)
|
|
240
240
|
);
|
|
241
241
|
}
|
|
@@ -279,8 +279,8 @@ var DeckContent = function (_React$Component) {
|
|
|
279
279
|
articles = _this.state.data;
|
|
280
280
|
}
|
|
281
281
|
|
|
282
|
-
return
|
|
283
|
-
Row,
|
|
282
|
+
return React__default.createElement(
|
|
283
|
+
Row$1,
|
|
284
284
|
null,
|
|
285
285
|
articles && articles.map(function (row, index) {
|
|
286
286
|
if (columns === 'rotate' && itemCounter % 3 === 0) {
|
|
@@ -291,60 +291,60 @@ var DeckContent = function (_React$Component) {
|
|
|
291
291
|
lgVar = 6;
|
|
292
292
|
}
|
|
293
293
|
if (row._type === 'BrandInsight' && row.adUnit) {
|
|
294
|
-
return
|
|
294
|
+
return React__default.createElement(ADInfeed, { index: index, infeedAd: row });
|
|
295
295
|
} else {
|
|
296
296
|
var pageNumber = row.pageNumber || _this.state.page;
|
|
297
297
|
var contentCategoryName = row.contentCategory && row.contentCategory.name && _this.mapping[row.contentCategory.name] ? row.contentCategory.name : 'Articles';
|
|
298
|
-
return
|
|
299
|
-
|
|
298
|
+
return React__default.createElement(
|
|
299
|
+
React__default.Fragment,
|
|
300
300
|
{ key: itemCounter },
|
|
301
|
-
|
|
301
|
+
React__default.createElement(
|
|
302
302
|
VisibilitySensor,
|
|
303
303
|
{
|
|
304
304
|
onChange: function onChange(isVisible) {
|
|
305
305
|
isVisible && _this.changePageNumber(pageNumber);
|
|
306
306
|
} },
|
|
307
|
-
|
|
308
|
-
Col,
|
|
307
|
+
React__default.createElement(
|
|
308
|
+
Col$1,
|
|
309
309
|
{ md: 12, lg: lgVar, counter: itemCounter++, style: { display: 'flex', flex: '1 0 auto' } },
|
|
310
|
-
|
|
311
|
-
Card,
|
|
310
|
+
React__default.createElement(
|
|
311
|
+
Card$1,
|
|
312
312
|
{ className: 'content-card', style: { flexDirection: mode } },
|
|
313
|
-
(row.thumbnail && row.thumbnail.asset || _this.props.defaultImage) &&
|
|
313
|
+
(row.thumbnail && row.thumbnail.asset || _this.props.defaultImage) && React__default.createElement(
|
|
314
314
|
'a',
|
|
315
315
|
{ href: _this.mapping[contentCategoryName] + '/' + row.url.current },
|
|
316
|
-
|
|
316
|
+
React__default.createElement(
|
|
317
317
|
LazyLoad,
|
|
318
318
|
{ height: _this.props.imageHeight },
|
|
319
|
-
|
|
319
|
+
React__default.createElement(Card$1.Img, {
|
|
320
320
|
variant: 'top',
|
|
321
321
|
src: _this.renderCardImage(row, page),
|
|
322
322
|
alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : ''
|
|
323
323
|
})
|
|
324
324
|
)
|
|
325
325
|
),
|
|
326
|
-
|
|
327
|
-
Card.Body,
|
|
326
|
+
React__default.createElement(
|
|
327
|
+
Card$1.Body,
|
|
328
328
|
null,
|
|
329
|
-
|
|
329
|
+
React__default.createElement(
|
|
330
330
|
'a',
|
|
331
331
|
{ href: _this.mapping[contentCategoryName] + '/' + row.url.current },
|
|
332
|
-
|
|
333
|
-
Card.Title,
|
|
332
|
+
React__default.createElement(
|
|
333
|
+
Card$1.Title,
|
|
334
334
|
null,
|
|
335
335
|
row.title
|
|
336
336
|
)
|
|
337
337
|
),
|
|
338
|
-
_this.props.showPublished && row.published &&
|
|
339
|
-
Card.Subtitle,
|
|
338
|
+
_this.props.showPublished && row.published && React__default.createElement(
|
|
339
|
+
Card$1.Subtitle,
|
|
340
340
|
null,
|
|
341
341
|
moment(row.published).format('MMMM DD, YYYY')
|
|
342
342
|
),
|
|
343
343
|
_this.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 && row.authorMapping.map(function (authorDetail, index) {
|
|
344
344
|
return _this.renderAuthor(authorDetail, index, row.authorMapping.length);
|
|
345
345
|
}),
|
|
346
|
-
|
|
347
|
-
Card.Text,
|
|
346
|
+
React__default.createElement(
|
|
347
|
+
Card$1.Text,
|
|
348
348
|
null,
|
|
349
349
|
clean_html_1(row.summary)
|
|
350
350
|
)
|
|
@@ -352,7 +352,7 @@ var DeckContent = function (_React$Component) {
|
|
|
352
352
|
)
|
|
353
353
|
)
|
|
354
354
|
),
|
|
355
|
-
|
|
355
|
+
main_36 && _this.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
356
356
|
);
|
|
357
357
|
}
|
|
358
358
|
})
|
|
@@ -361,23 +361,23 @@ var DeckContent = function (_React$Component) {
|
|
|
361
361
|
var rightItems = _this.props.rightItems;
|
|
362
362
|
|
|
363
363
|
var i = ((index + 1) / numberOfItemsBeforeAd - 1) % rightItems.length;
|
|
364
|
-
return
|
|
365
|
-
Col,
|
|
364
|
+
return React__default.createElement(
|
|
365
|
+
Col$1,
|
|
366
366
|
{ md: 12, style: { display: 'flex', flex: '1 0 auto' } },
|
|
367
367
|
rightItems[i].component
|
|
368
368
|
);
|
|
369
369
|
}, _this.renderManualPagination = function () {
|
|
370
370
|
var currentPage = _this.state.currentPage;
|
|
371
371
|
|
|
372
|
-
return
|
|
372
|
+
return React__default.createElement(
|
|
373
373
|
'div',
|
|
374
374
|
{ className: 'd-flex justify-content-between' },
|
|
375
|
-
currentPage && currentPage > 1 &&
|
|
375
|
+
currentPage && currentPage > 1 && React__default.createElement(
|
|
376
376
|
'a',
|
|
377
377
|
{ href: '?page=' + (currentPage - 1) },
|
|
378
378
|
'<< Previous'
|
|
379
379
|
),
|
|
380
|
-
|
|
380
|
+
React__default.createElement(
|
|
381
381
|
'a',
|
|
382
382
|
{ href: '?page=' + (currentPage + 1) },
|
|
383
383
|
'Next >>'
|
|
@@ -423,38 +423,38 @@ var DeckContent = function (_React$Component) {
|
|
|
423
423
|
brandInsight = _props.brandInsight;
|
|
424
424
|
|
|
425
425
|
|
|
426
|
-
return
|
|
426
|
+
return React__default.createElement(
|
|
427
427
|
'div',
|
|
428
428
|
{ className: 'contentDeck' },
|
|
429
|
-
autoScroll ?
|
|
430
|
-
|
|
429
|
+
autoScroll ? React__default.createElement(
|
|
430
|
+
React__default.Fragment,
|
|
431
431
|
null,
|
|
432
|
-
|
|
432
|
+
React__default.createElement(
|
|
433
433
|
InfiniteScroll,
|
|
434
434
|
{ dataLength: this.state.data.length, next: this.loadMore, hasMore: this.state.scrolling, scrollThreshold: 0.9 },
|
|
435
|
-
|
|
436
|
-
Container,
|
|
435
|
+
React__default.createElement(
|
|
436
|
+
Container$1,
|
|
437
437
|
null,
|
|
438
438
|
this.cardLoader(page, columns, variant, showBI, brandInsight)
|
|
439
439
|
)
|
|
440
440
|
),
|
|
441
|
-
|
|
441
|
+
React__default.createElement(
|
|
442
442
|
'noscript',
|
|
443
443
|
null,
|
|
444
444
|
this.renderManualPagination()
|
|
445
445
|
)
|
|
446
|
-
) :
|
|
447
|
-
|
|
446
|
+
) : React__default.createElement(
|
|
447
|
+
React__default.Fragment,
|
|
448
448
|
null,
|
|
449
|
-
|
|
450
|
-
Container,
|
|
449
|
+
React__default.createElement(
|
|
450
|
+
Container$1,
|
|
451
451
|
null,
|
|
452
452
|
this.cardLoader(page, columns, variant, showBI, brandInsight)
|
|
453
453
|
),
|
|
454
|
-
|
|
454
|
+
React__default.createElement(
|
|
455
455
|
'div',
|
|
456
456
|
{ style: { padding: '0px 10px' } },
|
|
457
|
-
this.state.scrolling ?
|
|
457
|
+
this.state.scrolling ? React__default.createElement(
|
|
458
458
|
'button',
|
|
459
459
|
{
|
|
460
460
|
style: { margin: 'auto', width: '100%' },
|
|
@@ -462,17 +462,17 @@ var DeckContent = function (_React$Component) {
|
|
|
462
462
|
_this2.loadMore();
|
|
463
463
|
} },
|
|
464
464
|
'Load More'
|
|
465
|
-
) :
|
|
465
|
+
) : React__default.createElement(
|
|
466
466
|
'p',
|
|
467
467
|
{ style: { textAlign: 'center' } },
|
|
468
|
-
|
|
468
|
+
React__default.createElement(
|
|
469
469
|
'b',
|
|
470
470
|
null,
|
|
471
471
|
'End of data'
|
|
472
472
|
)
|
|
473
473
|
)
|
|
474
474
|
),
|
|
475
|
-
|
|
475
|
+
React__default.createElement(
|
|
476
476
|
'noscript',
|
|
477
477
|
null,
|
|
478
478
|
this.renderManualPagination()
|
|
@@ -483,7 +483,7 @@ var DeckContent = function (_React$Component) {
|
|
|
483
483
|
}]);
|
|
484
484
|
|
|
485
485
|
return DeckContent;
|
|
486
|
-
}(
|
|
486
|
+
}(React__default.Component);
|
|
487
487
|
|
|
488
488
|
var ContentCard = withRouter(DeckContent);
|
|
489
489
|
|