@mjhls/mjh-framework 1.0.784-beta.0 → 1.0.784
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/AD.js +10 -9
- package/dist/cjs/AD300x250.js +27 -26
- package/dist/cjs/AD300x250x600.js +27 -26
- package/dist/cjs/AD728x90.js +30 -29
- package/dist/cjs/ADFloatingFooter.js +29 -28
- package/dist/cjs/ADFooter.js +15 -14
- package/dist/cjs/ADGutter.js +29 -28
- package/dist/cjs/{ADInfeed-5b042ade.js → ADInfeed-1e53d7db.js} +15 -13
- package/dist/cjs/ADSkyscraper.js +29 -28
- package/dist/cjs/ADSponsoredResources.js +29 -28
- package/dist/cjs/ADWebcast.js +29 -28
- package/dist/cjs/ADWelcome.js +30 -29
- package/dist/cjs/{ADlgInfeed-e92b6f9f.js → ADlgInfeed-2494fd17.js} +11 -10
- package/dist/cjs/AccordionPanel.js +31 -29
- package/dist/cjs/AdSlot.js +32 -31
- package/dist/cjs/AdSlotsProvider.js +16 -15
- package/dist/cjs/AlphabeticList.js +25 -24
- package/dist/cjs/ArticleCarousel.js +24 -23
- package/dist/cjs/ArticleProgramLandingPage.js +56 -55
- package/dist/cjs/ArticleSeriesLandingPage.js +38 -37
- package/dist/cjs/ArticleSeriesListing.js +61 -60
- package/dist/cjs/Auth.js +819 -333
- package/dist/cjs/{AuthorComponent-bb831b74.js → AuthorComponent-5fa89df5.js} +14 -13
- package/dist/cjs/Beam.js +8 -8
- package/dist/cjs/{BlockContent-091a991f.js → BlockContent-eca358e4.js} +25 -24
- package/dist/cjs/Breadcrumbs.js +29 -27
- package/dist/cjs/CMEDeck.js +82 -82
- package/dist/cjs/Column1.js +14 -11
- package/dist/cjs/Column2.js +35 -32
- package/dist/cjs/Column3.js +57 -54
- package/dist/cjs/ConferenceArticleCard.js +24 -23
- package/dist/cjs/ConferenceBanner-6c9e718a.js +24 -0
- package/dist/cjs/DeckContent.js +97 -93
- package/dist/cjs/DeckQueue.js +91 -87
- package/dist/cjs/{Dfp-b807d8fa.js → Dfp-a17e00fa.js} +32 -31
- package/dist/cjs/EventsDeck.js +138 -131
- package/dist/cjs/ExternalResources.js +79 -78
- package/dist/cjs/Feature.js +27 -25
- package/dist/cjs/ForbesHero.js +41 -40
- package/dist/cjs/GridContent.js +181 -177
- package/dist/cjs/GridHero.js +43 -42
- package/dist/cjs/GroupDeck.js +59 -58
- package/dist/cjs/HamMagazine.js +135 -130
- package/dist/cjs/Header.js +14 -14
- package/dist/cjs/Hero.js +13 -12
- package/dist/cjs/HighlightenVideo.js +18 -17
- package/dist/cjs/HorizontalArticleListing.js +70 -69
- package/dist/cjs/HorizontalHero.js +26 -25
- package/dist/cjs/IssueContentDeck.js +77 -72
- package/dist/cjs/IssueDeck.js +75 -70
- package/dist/cjs/IssueLanding.js +40 -39
- package/dist/cjs/LeftNav.js +37 -35
- package/dist/cjs/MasterDeck.js +70 -69
- package/dist/cjs/MediaSeriesLanding.js +40 -38
- package/dist/cjs/NavDvm.js +79 -74
- package/dist/cjs/{NavFooter-76c913e3.js → NavFooter-3dcd99a8.js} +15 -14
- package/dist/cjs/NavMagazine.js +142 -137
- package/dist/cjs/NavNative.js +134 -126
- package/dist/cjs/NavNormal.js +52 -47
- package/dist/cjs/OncliveHero.js +20 -20
- package/dist/cjs/OncliveLargeHero.js +67 -66
- package/dist/cjs/PageFilter.js +15 -14
- package/dist/cjs/PartnerDetailListing.js +106 -105
- package/dist/cjs/PdfDownload.js +9 -8
- package/dist/cjs/PopUpModal.js +21 -19
- package/dist/cjs/PubSection.js +39 -38
- package/dist/cjs/PubToc.js +16 -15
- package/dist/cjs/PublicationDeck.js +66 -61
- package/dist/cjs/PublicationLanding.js +83 -79
- package/dist/cjs/QueueDeckExpanded.js +291 -291
- package/dist/cjs/RecentNews.js +24 -23
- package/dist/cjs/RelatedContent.js +25 -24
- package/dist/cjs/RelatedTopicsDropdown.js +22 -19
- package/dist/cjs/RolesDeck.js +32 -27
- package/dist/cjs/Search.js +22 -18
- package/dist/cjs/Segment.js +6 -6
- package/dist/cjs/SeriesListingDeck.js +37 -37
- package/dist/cjs/{SeriesSlider-f662f1f5.js → SeriesSlider-193a2958.js} +38 -37
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +35 -34
- package/dist/cjs/SocialIcons.js +10 -9
- package/dist/cjs/{SocialSearchComponent-8dd468fd.js → SocialSearchComponent-45c54bed.js} +40 -36
- package/dist/cjs/SocialShare.js +31 -29
- package/dist/cjs/TaxonomyCard.js +62 -57
- package/dist/cjs/TaxonomyDescription.js +53 -52
- package/dist/cjs/TemplateNormal.js +73 -72
- package/dist/cjs/ThumbnailCard.js +22 -20
- package/dist/cjs/Ustream.js +27 -26
- package/dist/cjs/VerticalHero.js +18 -17
- package/dist/cjs/VideoProgramLandingPage.js +75 -71
- package/dist/cjs/VideoSeriesCard.js +32 -31
- package/dist/cjs/VideoSeriesFilter.js +18 -18
- package/dist/cjs/VideoSeriesLandingPage.js +46 -45
- package/dist/cjs/VideoSeriesListing.js +78 -77
- package/dist/cjs/View.js +259 -256
- package/dist/cjs/YahooHero.js +40 -39
- package/dist/cjs/YoutubeGroup.js +63 -62
- package/dist/cjs/{_is-array-754e012d.js → _is-array-63ae4740.js} +6 -6
- package/dist/cjs/{_iter-detect-60b2f026.js → _iter-detect-2613ffa1.js} +2 -2
- package/dist/cjs/{_object-sap-5e74ba08.js → _object-sap-c5bd707d.js} +1 -1
- package/dist/cjs/{_object-to-array-5762f850.js → _object-to-array-bec5fcf2.js} +1 -1
- package/dist/cjs/{_to-object-329a650b.js → _to-object-821a2927.js} +4 -4
- package/dist/cjs/{asyncToGenerator-140e5f89.js → asyncToGenerator-b6a175bf.js} +7 -7
- package/dist/cjs/{brightcove-react-player-loader.es-156bd4d6.js → brightcove-react-player-loader.es-a195642e.js} +11 -9
- package/dist/cjs/{core.get-iterator-method-f62321d4.js → core.get-iterator-method-b4615fd3.js} +2 -2
- package/dist/cjs/{define-property-f4d12f4e.js → define-property-aff11f8a.js} +1 -1
- package/dist/cjs/{defineProperty-55548b25.js → defineProperty-d6fbb280.js} +1 -1
- package/dist/cjs/{entities-310b46ee.js → entities-3f9d0f2f.js} +1 -1
- package/dist/cjs/{es6.string.iterator-cc0bbaa4.js → es6.string.iterator-20d42c53.js} +2 -2
- package/dist/cjs/{extends-60837c34.js → extends-1e24fc8d.js} +1 -1
- package/dist/cjs/getRelatedArticle.js +137 -75
- package/dist/cjs/getRootDocGroup.js +6 -6
- package/dist/cjs/getSerializers.js +43 -43
- package/dist/cjs/{getTargeting-9af0ef69.js → getTargeting-497b581d.js} +3 -3
- package/dist/cjs/getTargeting.js +7 -7
- package/dist/cjs/iconBase-68959171.js +0 -3
- package/dist/cjs/{index-8bf6c863.js → index-0e4427c8.js} +12 -11
- package/dist/cjs/{index-76417d82.js → index-2a34c7db.js} +934 -911
- package/dist/cjs/{index-3294d3bc.js → index-4d74ffd6.js} +40 -41
- package/dist/cjs/{index-da796b8c.js → index-80f57cff.js} +17 -15
- package/dist/cjs/{index-be0c82be.js → index-d48b231c.js} +31 -25
- package/dist/cjs/{index.es-9110add6.js → index.es-f3e47207.js} +31 -12
- package/dist/cjs/{index.esm-ff47db6f.js → index.esm-05850a2f.js} +5 -12
- package/dist/cjs/{index.esm-66ffa47a.js → index.esm-3b9b8952.js} +4 -9
- package/dist/cjs/{index.esm-4d410430.js → index.esm-8123cf40.js} +20 -20
- package/dist/cjs/{index.esm-90433435.js → index.esm-974f47d9.js} +6 -15
- package/dist/cjs/index.js +163 -160
- package/dist/cjs/{inherits-c9f99d47.js → inherits-2eb23889.js} +5 -5
- package/dist/cjs/{keys-a586b7a0.js → keys-95c064c9.js} +2 -2
- package/dist/cjs/{lodash-fc2922d0.js → lodash-4ef21f0f.js} +72 -23
- package/dist/cjs/{main-02daeefe.js → main-dc082238.js} +116 -80
- package/dist/cjs/{moment-575fe24c.js → moment-aca40de1.js} +11 -9
- package/dist/cjs/{react-social-icons-f7f48f71.js → react-social-icons-af932527.js} +28 -27
- package/dist/cjs/{slicedToArray-8f385299.js → slicedToArray-db24842a.js} +4 -4
- package/dist/cjs/{smoothscroll-5054361f.js → smoothscroll-99df7f93.js} +1 -1
- package/dist/cjs/{stringify-7c5aff47.js → stringify-01cf47f7.js} +1 -1
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-9a3476fe.js → toConsumableArray-cf0865fc.js} +4 -4
- package/dist/cjs/{typeof-725500bc.js → typeof-97065d40.js} +7 -7
- package/dist/cjs/urlFor.js +2 -2
- package/dist/cjs/{util-f2c1b65b.js → util-6f784d85.js} +1 -1
- package/dist/cjs/{visibility-sensor-0c45a583.js → visibility-sensor-8b54af99.js} +7 -5
- package/dist/cjs/{web.dom.iterable-a0e279c1.js → web.dom.iterable-4480325a.js} +3 -3
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +23 -23
- package/dist/esm/AD300x250x600.js +23 -23
- package/dist/esm/AD728x90.js +26 -26
- package/dist/esm/ADFloatingFooter.js +25 -25
- package/dist/esm/ADFooter.js +11 -11
- package/dist/esm/ADGutter.js +25 -25
- package/dist/esm/{ADInfeed-eb7bdd41.js → ADInfeed-94817c40.js} +9 -9
- package/dist/esm/ADSkyscraper.js +25 -25
- package/dist/esm/ADSponsoredResources.js +25 -25
- package/dist/esm/ADWebcast.js +25 -25
- package/dist/esm/ADWelcome.js +26 -26
- package/dist/esm/{ADlgInfeed-f2ac31d1.js → ADlgInfeed-6124ee3c.js} +8 -8
- package/dist/esm/AccordionPanel.js +24 -24
- package/dist/esm/AdSlot.js +22 -22
- package/dist/esm/AdSlotsProvider.js +12 -12
- package/dist/esm/AlphabeticList.js +21 -21
- package/dist/esm/ArticleCarousel.js +20 -20
- package/dist/esm/ArticleProgramLandingPage.js +52 -52
- package/dist/esm/ArticleSeriesLandingPage.js +34 -34
- package/dist/esm/ArticleSeriesListing.js +55 -55
- package/dist/esm/Auth.js +798 -316
- package/dist/esm/{AuthorComponent-34b16174.js → AuthorComponent-c7ff069f.js} +11 -11
- package/dist/esm/Beam.js +8 -8
- package/dist/esm/{BlockContent-e9b4ddcf.js → BlockContent-d8cd739c.js} +4 -4
- package/dist/esm/Breadcrumbs.js +17 -17
- package/dist/esm/CMEDeck.js +78 -78
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +26 -26
- package/dist/esm/Column3.js +47 -47
- package/dist/esm/ConferenceArticleCard.js +19 -19
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/DeckContent.js +75 -75
- package/dist/esm/DeckQueue.js +65 -65
- package/dist/esm/{Dfp-ebc4b22f.js → Dfp-988dbcaa.js} +21 -21
- package/dist/esm/EventsDeck.js +84 -84
- package/dist/esm/ExternalResources.js +71 -71
- package/dist/esm/Feature.js +18 -18
- package/dist/esm/ForbesHero.js +34 -34
- package/dist/esm/GridContent.js +139 -139
- package/dist/esm/GridHero.js +36 -36
- package/dist/esm/GroupDeck.js +46 -46
- package/dist/esm/HamMagazine.js +104 -104
- package/dist/esm/Header.js +8 -10
- package/dist/esm/Hero.js +9 -9
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalArticleListing.js +66 -66
- package/dist/esm/HorizontalHero.js +21 -21
- package/dist/esm/IssueContentDeck.js +49 -49
- package/dist/esm/IssueDeck.js +46 -46
- package/dist/esm/IssueLanding.js +36 -36
- package/dist/esm/LeftNav.js +31 -31
- package/dist/esm/MasterDeck.js +63 -63
- package/dist/esm/MediaSeriesLanding.js +31 -31
- package/dist/esm/NavDvm.js +56 -56
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +113 -113
- package/dist/esm/NavNative.js +99 -99
- package/dist/esm/NavNormal.js +35 -35
- package/dist/esm/OncliveHero.js +16 -17
- package/dist/esm/OncliveLargeHero.js +59 -59
- package/dist/esm/PageFilter.js +12 -12
- package/dist/esm/PartnerDetailListing.js +101 -101
- package/dist/esm/PdfDownload.js +6 -6
- package/dist/esm/PopUpModal.js +14 -14
- package/dist/esm/PubSection.js +35 -35
- package/dist/esm/PubToc.js +12 -12
- package/dist/esm/PublicationDeck.js +38 -38
- package/dist/esm/PublicationLanding.js +54 -54
- package/dist/esm/QueueDeckExpanded.js +271 -271
- package/dist/esm/RecentNews.js +20 -20
- package/dist/esm/RelatedContent.js +19 -19
- package/dist/esm/RelatedTopicsDropdown.js +11 -11
- package/dist/esm/RolesDeck.js +13 -13
- package/dist/esm/Search.js +12 -12
- package/dist/esm/Segment.js +6 -6
- package/dist/esm/SeriesListingDeck.js +31 -31
- package/dist/esm/{SeriesSlider-9245785f.js → SeriesSlider-6a1081ff.js} +27 -27
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +30 -30
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-a2ae84d1.js → SocialSearchComponent-c3216d1a.js} +28 -28
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +41 -41
- package/dist/esm/TaxonomyDescription.js +47 -47
- package/dist/esm/TemplateNormal.js +66 -66
- package/dist/esm/ThumbnailCard.js +13 -13
- package/dist/esm/Ustream.js +23 -23
- package/dist/esm/VerticalHero.js +13 -13
- package/dist/esm/VideoProgramLandingPage.js +61 -61
- package/dist/esm/VideoSeriesCard.js +24 -24
- package/dist/esm/VideoSeriesFilter.js +15 -15
- package/dist/esm/VideoSeriesLandingPage.js +38 -38
- package/dist/esm/VideoSeriesListing.js +71 -71
- package/dist/esm/View.js +239 -240
- package/dist/esm/YahooHero.js +34 -34
- package/dist/esm/YoutubeGroup.js +46 -46
- package/dist/esm/{_is-array-58e95429.js → _is-array-674f71ec.js} +6 -6
- package/dist/esm/{_iter-detect-5d49a330.js → _iter-detect-48516cd3.js} +2 -2
- package/dist/esm/{_object-sap-964b6feb.js → _object-sap-fd3054d0.js} +1 -1
- package/dist/esm/{_object-to-array-7e804fce.js → _object-to-array-8f409e54.js} +1 -1
- package/dist/esm/{_to-object-a4107da3.js → _to-object-97770c52.js} +5 -5
- package/dist/esm/{asyncToGenerator-fc1c2e29.js → asyncToGenerator-585841c0.js} +7 -7
- package/dist/esm/{brightcove-react-player-loader.es-83f53e4e.js → brightcove-react-player-loader.es-b43c695a.js} +7 -6
- package/dist/esm/{core.get-iterator-method-e1de7503.js → core.get-iterator-method-d1d5ed02.js} +2 -2
- package/dist/esm/{define-property-8af5f002.js → define-property-ec6d528d.js} +1 -1
- package/dist/esm/{defineProperty-94fd8bfc.js → defineProperty-ea516b15.js} +1 -1
- package/dist/esm/{entities-7cc3bf45.js → entities-932b50cf.js} +1 -1
- package/dist/esm/{es6.string.iterator-c990c18c.js → es6.string.iterator-aa6068a3.js} +3 -3
- package/dist/esm/{extends-eb69e8ac.js → extends-31d65aba.js} +1 -1
- package/dist/esm/getRelatedArticle.js +132 -70
- package/dist/esm/getRootDocGroup.js +6 -6
- package/dist/esm/getSerializers.js +43 -43
- package/dist/esm/{getTargeting-7211f12c.js → getTargeting-2d402d66.js} +2 -2
- package/dist/esm/getTargeting.js +7 -7
- package/dist/esm/{index-73819142.js → index-3f5c03b2.js} +31 -25
- package/dist/esm/{index-5f9f807a.js → index-752d1dae.js} +10 -10
- package/dist/esm/{index-a9e53f80.js → index-888f9253.js} +6 -6
- package/dist/esm/{index-ef6d5dcf.js → index-ccb770c7.js} +40 -41
- package/dist/esm/{index-c1374f98.js → index-f42d71f0.js} +869 -853
- package/dist/esm/{index.es-29c1cef5.js → index.es-c6222053.js} +28 -10
- package/dist/esm/{index.esm-29e48d38.js → index.esm-3fdda599.js} +6 -15
- package/dist/esm/{index.esm-fd746768.js → index.esm-8016b507.js} +17 -18
- package/dist/esm/{index.esm-cf08bf18.js → index.esm-a8ff922c.js} +5 -12
- package/dist/esm/{index.esm-b08f4b04.js → index.esm-d6f88d94.js} +4 -9
- package/dist/esm/index.js +129 -129
- package/dist/esm/{inherits-fb9b6e8f.js → inherits-5906fbea.js} +5 -5
- package/dist/esm/{keys-8eda7a5c.js → keys-a0b0c7a4.js} +2 -2
- package/dist/esm/{lodash-17fdfebb.js → lodash-ad27652f.js} +72 -23
- package/dist/esm/{main-e4a934b2.js → main-1450d277.js} +113 -78
- package/dist/esm/{moment-e2f9b20c.js → moment-bc12cb97.js} +11 -9
- package/dist/esm/{react-social-icons-a7d5c5c7.js → react-social-icons-91f9716f.js} +20 -20
- package/dist/esm/{slicedToArray-641f241f.js → slicedToArray-cdeaee08.js} +4 -4
- package/dist/esm/{smoothscroll-0cd4c7a6.js → smoothscroll-fa4e3f8c.js} +1 -1
- package/dist/esm/{stringify-4330ccdc.js → stringify-d4839bab.js} +1 -1
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-43aa614d.js → toConsumableArray-fa2dcda7.js} +4 -4
- package/dist/esm/{typeof-6435ba1c.js → typeof-e9cea9e8.js} +7 -7
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/{util-7700fc59.js → util-3ab476bf.js} +1 -1
- package/dist/esm/{visibility-sensor-0baa4eea.js → visibility-sensor-082c757b.js} +2 -2
- package/dist/esm/{web.dom.iterable-4439f05a.js → web.dom.iterable-035980f3.js} +3 -3
- package/package.json +1 -1
- package/dist/cjs/ConferenceBanner-4a16fddc.js +0 -23
package/dist/esm/Column3.js
CHANGED
|
@@ -1,40 +1,40 @@
|
|
|
1
|
+
import React, { useRef, useEffect } from 'react';
|
|
2
|
+
import ADSponsoredResources from './ADSponsoredResources.js';
|
|
3
|
+
import Row from 'react-bootstrap/Row';
|
|
4
|
+
import Col from 'react-bootstrap/Col';
|
|
5
|
+
import LeftNav from './LeftNav.js';
|
|
6
|
+
import SideFooter from './SideFooter.js';
|
|
7
|
+
import { C as ConferenceBanner } from './ConferenceBanner-9162d0ca.js';
|
|
8
|
+
import PageFilter from './PageFilter.js';
|
|
9
|
+
import { m as main_40 } from './main-1450d277.js';
|
|
10
|
+
import './slicedToArray-cdeaee08.js';
|
|
1
11
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './
|
|
3
|
-
import './es6.string.iterator-
|
|
4
|
-
import './
|
|
5
|
-
import './
|
|
6
|
-
import './
|
|
12
|
+
import './web.dom.iterable-035980f3.js';
|
|
13
|
+
import './es6.string.iterator-aa6068a3.js';
|
|
14
|
+
import './_to-object-97770c52.js';
|
|
15
|
+
import './core.get-iterator-method-d1d5ed02.js';
|
|
16
|
+
import './AdSlot.js';
|
|
17
|
+
import './extends-31d65aba.js';
|
|
7
18
|
import './_object-pie-33c40e79.js';
|
|
8
|
-
import './extends-eb69e8ac.js';
|
|
9
|
-
import './define-property-8af5f002.js';
|
|
10
|
-
import './web.dom.iterable-4439f05a.js';
|
|
11
|
-
import React__default, { useRef, useEffect } from 'react';
|
|
12
|
-
import './index-a9e53f80.js';
|
|
13
19
|
import 'prop-types';
|
|
14
|
-
import
|
|
15
|
-
import Col from 'react-bootstrap/Col';
|
|
16
|
-
import './isSymbol-1981418f.js';
|
|
20
|
+
import './index-888f9253.js';
|
|
17
21
|
import './debounce-9207d8ee.js';
|
|
22
|
+
import './isSymbol-1981418f.js';
|
|
18
23
|
import './toNumber-2f7a84cd.js';
|
|
19
|
-
import { m as main_36 } from './main-e4a934b2.js';
|
|
20
|
-
import './slicedToArray-641f241f.js';
|
|
21
|
-
import './stringify-4330ccdc.js';
|
|
22
|
-
import './asyncToGenerator-fc1c2e29.js';
|
|
23
|
-
import './Segment.js';
|
|
24
24
|
import './Beam.js';
|
|
25
|
-
import './
|
|
25
|
+
import './stringify-d4839bab.js';
|
|
26
|
+
import './asyncToGenerator-585841c0.js';
|
|
27
|
+
import './_library-528f1934.js';
|
|
28
|
+
import './_iter-detect-48516cd3.js';
|
|
29
|
+
import './Segment.js';
|
|
30
|
+
import 'react-bootstrap/ListGroup';
|
|
31
|
+
import './ADWebcast.js';
|
|
32
|
+
import './defineProperty-ea516b15.js';
|
|
33
|
+
import './define-property-ec6d528d.js';
|
|
34
|
+
import './react-social-icons-91f9716f.js';
|
|
26
35
|
import './get-1e515072.js';
|
|
27
36
|
import './eq-b470f743.js';
|
|
28
|
-
import './react-social-icons-a7d5c5c7.js';
|
|
29
37
|
import 'react-bootstrap';
|
|
30
|
-
import './defineProperty-94fd8bfc.js';
|
|
31
|
-
import SideFooter from './SideFooter.js';
|
|
32
|
-
import { C as ConferenceBanner } from './ConferenceBanner-8792ebd2.js';
|
|
33
|
-
import ADSponsoredResources from './ADSponsoredResources.js';
|
|
34
|
-
import 'react-bootstrap/ListGroup';
|
|
35
|
-
import './ADWebcast.js';
|
|
36
|
-
import LeftNav from './LeftNav.js';
|
|
37
|
-
import PageFilter from './PageFilter.js';
|
|
38
38
|
|
|
39
39
|
var Column3 = function Column3(props) {
|
|
40
40
|
var leftItems = props.leftItems,
|
|
@@ -51,7 +51,7 @@ var Column3 = function Column3(props) {
|
|
|
51
51
|
var adRef = useRef(null);
|
|
52
52
|
|
|
53
53
|
useEffect(function () {
|
|
54
|
-
if (!
|
|
54
|
+
if (!main_40 && window.innerWidth >= 768) {
|
|
55
55
|
var navbar = document.querySelector('.navbar');
|
|
56
56
|
var AdOffsetTop = adRef.current.getBoundingClientRect().top;
|
|
57
57
|
window.addEventListener('scroll', function () {
|
|
@@ -70,62 +70,62 @@ var Column3 = function Column3(props) {
|
|
|
70
70
|
}
|
|
71
71
|
}, []);
|
|
72
72
|
|
|
73
|
-
return
|
|
73
|
+
return React.createElement(
|
|
74
74
|
'section',
|
|
75
75
|
null,
|
|
76
|
-
|
|
76
|
+
React.createElement(
|
|
77
77
|
Row,
|
|
78
78
|
{ className: 'justify-content-md-center' },
|
|
79
|
-
|
|
79
|
+
React.createElement(
|
|
80
80
|
Col,
|
|
81
81
|
{ md: true, className: 'leftCol', style: { width: '200px' } },
|
|
82
|
-
|
|
83
|
-
website && website.sponsoredAd &&
|
|
84
|
-
website && website.sideFooterContent && website.sideFooterContent.length && website.showFooterOnLeftSide &&
|
|
82
|
+
React.createElement(LeftNav, { leftItems: leftItems }),
|
|
83
|
+
website && website.sponsoredAd && React.createElement(ADSponsoredResources, { sponsoredAd: website.sponsoredAd }),
|
|
84
|
+
website && website.sideFooterContent && website.sideFooterContent.length && website.showFooterOnLeftSide && React.createElement(SideFooter, { website: website, cache: website.cache, logo: logo })
|
|
85
85
|
),
|
|
86
|
-
|
|
86
|
+
React.createElement(
|
|
87
87
|
Col,
|
|
88
88
|
{ md: true, className: 'middleCol', style: { maxWidth: '640px', marginTop: !title && '10px' } },
|
|
89
|
-
showFilter ?
|
|
89
|
+
showFilter ? React.createElement(
|
|
90
90
|
'div',
|
|
91
91
|
{ className: 'title-wrap' },
|
|
92
|
-
|
|
92
|
+
React.createElement(
|
|
93
93
|
'h1',
|
|
94
94
|
{ className: 'title' },
|
|
95
95
|
title
|
|
96
96
|
),
|
|
97
|
-
|
|
97
|
+
React.createElement(
|
|
98
98
|
'div',
|
|
99
99
|
{ className: 'filter-box' },
|
|
100
|
-
|
|
100
|
+
React.createElement(PageFilter, { getParams: getParams, filters: filters, defaultFilter: defaultFilter })
|
|
101
101
|
)
|
|
102
|
-
) : title &&
|
|
102
|
+
) : title && React.createElement(
|
|
103
103
|
'h1',
|
|
104
104
|
{ className: 'title' },
|
|
105
105
|
title
|
|
106
106
|
),
|
|
107
107
|
props.children
|
|
108
108
|
),
|
|
109
|
-
|
|
109
|
+
React.createElement(
|
|
110
110
|
'style',
|
|
111
111
|
{ jsx: 'true' },
|
|
112
112
|
'\n .filter-box {\n float: right;\n padding-top: 6px;\n padding-right: 18px;\n }\n @media only screen and (min-width: 768px) {\n .title-wrap {\n display: flex;\n justify-content: space-between;\n }\n }\n @media only screen and (max-width: 767px) {\n /* .filter-box {\n float: right;\n display: flex;\n justify-content: flex-end;\n } */\n .title-wrap {\n display: flex;\n flex-direction: column;\n margin-bottom: 10px;\n }\n }\n '
|
|
113
113
|
),
|
|
114
|
-
(!
|
|
114
|
+
(!main_40 || showRightAd) && React.createElement(
|
|
115
115
|
Col,
|
|
116
116
|
{ xs: 12, className: 'rightCol' },
|
|
117
|
-
website && website.conferenceBannerContent &&
|
|
118
|
-
|
|
117
|
+
website && website.conferenceBannerContent && React.createElement(ConferenceBanner, { website: website }),
|
|
118
|
+
React.createElement(
|
|
119
119
|
'div',
|
|
120
120
|
{ ref: adRef },
|
|
121
121
|
rightItems && rightItems.map(function (row, index) {
|
|
122
|
-
return
|
|
122
|
+
return React.createElement(
|
|
123
123
|
'div',
|
|
124
124
|
{ key: index },
|
|
125
125
|
row.component
|
|
126
126
|
);
|
|
127
127
|
}),
|
|
128
|
-
website && website.sideFooterContent && website.sideFooterContent.length && !website.showFooterOnLeftSide &&
|
|
128
|
+
website && website.sideFooterContent && website.sideFooterContent.length && !website.showFooterOnLeftSide && React.createElement(SideFooter, { website: website, cache: website.cache, logo: logo })
|
|
129
129
|
)
|
|
130
130
|
)
|
|
131
131
|
)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { m as moment } from './moment-bc12cb97.js';
|
|
3
|
+
import { i as imageUrlBuilder } from './index-3f5c03b2.js';
|
|
1
4
|
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
6
|
/*
|
|
7
7
|
Example usage - targetedonc.com/latest-conference
|
|
@@ -21,10 +21,10 @@ const query = `*[!(_id in path("drafts.**")) && _type == "article" && defined(ti
|
|
|
21
21
|
*/
|
|
22
22
|
|
|
23
23
|
var ConferenceArticleCard = function ConferenceArticleCard(props) {
|
|
24
|
-
var data = props.data
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
client = props.client;
|
|
24
|
+
var data = props.data;
|
|
25
|
+
props.variant;
|
|
26
|
+
props.index;
|
|
27
|
+
var 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.createElement(
|
|
38
38
|
'div',
|
|
39
39
|
{ className: 'conference-media' },
|
|
40
|
-
|
|
40
|
+
React.createElement(
|
|
41
41
|
'a',
|
|
42
42
|
{ className: 'img-wrapper', href: '/view/' + (data.url ? data.url.current : '') },
|
|
43
|
-
|
|
43
|
+
React.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.createElement(
|
|
50
50
|
'div',
|
|
51
51
|
{ className: 'media-body' },
|
|
52
|
-
|
|
52
|
+
React.createElement(
|
|
53
53
|
'a',
|
|
54
54
|
{ href: '/view/' + (data.url ? data.url.current : '') },
|
|
55
|
-
|
|
55
|
+
React.createElement(
|
|
56
56
|
'h4',
|
|
57
57
|
{ className: 'conf-media__card-title' },
|
|
58
58
|
data.title
|
|
59
59
|
)
|
|
60
60
|
),
|
|
61
|
-
|
|
61
|
+
React.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.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.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.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.createElement('p', { className: 'pt-2 card-text', dangerouslySetInnerHTML: { __html: data.summary } })
|
|
80
80
|
),
|
|
81
|
-
|
|
81
|
+
React.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 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.createElement(
|
|
8
8
|
"div",
|
|
9
9
|
{ className: "conf-img" },
|
|
10
|
-
|
|
10
|
+
React.createElement(
|
|
11
11
|
"a",
|
|
12
12
|
{ href: website.conferenceBannerContent.href },
|
|
13
|
-
|
|
13
|
+
React.createElement("img", { src: website.conferenceBannerContent.src, alt: website.conferenceBannerContent.alt })
|
|
14
14
|
)
|
|
15
15
|
);
|
|
16
16
|
};
|
package/dist/esm/DeckContent.js
CHANGED
|
@@ -1,44 +1,44 @@
|
|
|
1
|
-
import './
|
|
2
|
-
import './
|
|
3
|
-
import './
|
|
4
|
-
import '
|
|
5
|
-
import './
|
|
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-eb69e8ac.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-fb9b6e8f.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';
|
|
17
|
-
import { l as lib_3 } from './index-a9e53f80.js';
|
|
18
|
-
import 'prop-types';
|
|
1
|
+
import { _ as _toConsumableArray } from './toConsumableArray-fa2dcda7.js';
|
|
2
|
+
import { _ as _extends } from './extends-31d65aba.js';
|
|
3
|
+
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-5906fbea.js';
|
|
4
|
+
import React from 'react';
|
|
5
|
+
import { l as lib_3 } from './index-888f9253.js';
|
|
19
6
|
import Container from 'react-bootstrap/Container';
|
|
20
7
|
import Row from 'react-bootstrap/Row';
|
|
21
8
|
import Col from 'react-bootstrap/Col';
|
|
22
9
|
import Card from 'react-bootstrap/Card';
|
|
23
|
-
import { m as moment } from './moment-
|
|
10
|
+
import { m as moment } from './moment-bc12cb97.js';
|
|
24
11
|
import { withRouter } from 'next/router';
|
|
25
|
-
import './isSymbol-1981418f.js';
|
|
26
12
|
import { d as debounce_1 } from './debounce-9207d8ee.js';
|
|
13
|
+
import { I as InfiniteScroll } from './index.es-c6222053.js';
|
|
14
|
+
import { V as VisibilitySensor } from './visibility-sensor-082c757b.js';
|
|
15
|
+
import { i as imageUrlBuilder } from './index-3f5c03b2.js';
|
|
16
|
+
import { L as LazyLoad } from './index-752d1dae.js';
|
|
17
|
+
import { m as main_40 } from './main-1450d277.js';
|
|
18
|
+
import { c as clean_html_1 } from './entities-932b50cf.js';
|
|
19
|
+
import { A as ADInfeed } from './ADInfeed-94817c40.js';
|
|
20
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
21
|
+
import './es6.string.iterator-aa6068a3.js';
|
|
22
|
+
import './_to-object-97770c52.js';
|
|
23
|
+
import './_iter-detect-48516cd3.js';
|
|
24
|
+
import './core.get-iterator-method-d1d5ed02.js';
|
|
25
|
+
import './_object-pie-33c40e79.js';
|
|
26
|
+
import './_object-sap-fd3054d0.js';
|
|
27
|
+
import './define-property-ec6d528d.js';
|
|
28
|
+
import './typeof-e9cea9e8.js';
|
|
29
|
+
import './web.dom.iterable-035980f3.js';
|
|
30
|
+
import './_is-array-674f71ec.js';
|
|
31
|
+
import './_library-528f1934.js';
|
|
32
|
+
import 'prop-types';
|
|
33
|
+
import './isSymbol-1981418f.js';
|
|
27
34
|
import './toNumber-2f7a84cd.js';
|
|
28
|
-
import { I as InfiniteScroll } from './index.es-29c1cef5.js';
|
|
29
35
|
import 'react-dom';
|
|
30
|
-
import
|
|
31
|
-
import { i as imageUrlBuilder } from './index-73819142.js';
|
|
32
|
-
import { L as LazyLoad } from './index-5f9f807a.js';
|
|
33
|
-
import { m as main_36 } from './main-e4a934b2.js';
|
|
34
|
-
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
35
|
-
import './slicedToArray-641f241f.js';
|
|
36
|
-
import './stringify-4330ccdc.js';
|
|
37
|
-
import './asyncToGenerator-fc1c2e29.js';
|
|
38
|
-
import './Segment.js';
|
|
39
|
-
import './Beam.js';
|
|
36
|
+
import './slicedToArray-cdeaee08.js';
|
|
40
37
|
import './AdSlot.js';
|
|
41
|
-
import
|
|
38
|
+
import './Beam.js';
|
|
39
|
+
import './stringify-d4839bab.js';
|
|
40
|
+
import './asyncToGenerator-585841c0.js';
|
|
41
|
+
import './Segment.js';
|
|
42
42
|
|
|
43
43
|
var DeckContent = function (_React$Component) {
|
|
44
44
|
_inherits(DeckContent, _React$Component);
|
|
@@ -206,35 +206,35 @@ var DeckContent = function (_React$Component) {
|
|
|
206
206
|
url = authorDetail.url;
|
|
207
207
|
|
|
208
208
|
if (displayName && url && url.current) {
|
|
209
|
-
return
|
|
209
|
+
return React.createElement(
|
|
210
210
|
'div',
|
|
211
211
|
{ key: _id },
|
|
212
|
-
index === 0 &&
|
|
212
|
+
index === 0 && React.createElement(
|
|
213
213
|
'span',
|
|
214
214
|
{ className: 'pr-1' },
|
|
215
215
|
'By'
|
|
216
216
|
),
|
|
217
|
-
|
|
217
|
+
React.createElement(
|
|
218
218
|
'a',
|
|
219
219
|
{ href: '/authors/${url.current}', className: 'text-muted' },
|
|
220
220
|
displayName,
|
|
221
|
-
length !== index + 1 &&
|
|
221
|
+
length !== index + 1 && React.createElement('br', null)
|
|
222
222
|
)
|
|
223
223
|
);
|
|
224
224
|
} else if (displayName) {
|
|
225
|
-
return
|
|
225
|
+
return React.createElement(
|
|
226
226
|
'div',
|
|
227
227
|
{ key: _id },
|
|
228
|
-
index === 0 &&
|
|
228
|
+
index === 0 && React.createElement(
|
|
229
229
|
'span',
|
|
230
230
|
{ className: 'pr-1' },
|
|
231
231
|
'By'
|
|
232
232
|
),
|
|
233
|
-
|
|
233
|
+
React.createElement(
|
|
234
234
|
'span',
|
|
235
235
|
{ className: 'text-muted' },
|
|
236
236
|
displayName,
|
|
237
|
-
length !== index + 1 &&
|
|
237
|
+
length !== index + 1 && React.createElement('br', null)
|
|
238
238
|
)
|
|
239
239
|
);
|
|
240
240
|
}
|
|
@@ -278,7 +278,7 @@ var DeckContent = function (_React$Component) {
|
|
|
278
278
|
articles = _this.state.data;
|
|
279
279
|
}
|
|
280
280
|
|
|
281
|
-
return
|
|
281
|
+
return React.createElement(
|
|
282
282
|
Row,
|
|
283
283
|
null,
|
|
284
284
|
articles && articles.map(function (row, index) {
|
|
@@ -290,51 +290,51 @@ var DeckContent = function (_React$Component) {
|
|
|
290
290
|
lgVar = 6;
|
|
291
291
|
}
|
|
292
292
|
if (row._type === 'BrandInsight' && row.adUnit) {
|
|
293
|
-
return
|
|
293
|
+
return React.createElement(ADInfeed, { index: index, infeedAd: row });
|
|
294
294
|
} else {
|
|
295
295
|
var pageNumber = row.pageNumber || _this.state.page;
|
|
296
296
|
var contentCategoryName = row.contentCategory && row.contentCategory.name && _this.mapping[row.contentCategory.name] ? row.contentCategory.name : 'Articles';
|
|
297
|
-
return
|
|
298
|
-
|
|
297
|
+
return React.createElement(
|
|
298
|
+
React.Fragment,
|
|
299
299
|
{ key: itemCounter },
|
|
300
|
-
|
|
300
|
+
React.createElement(
|
|
301
301
|
VisibilitySensor,
|
|
302
302
|
{
|
|
303
303
|
onChange: function onChange(isVisible) {
|
|
304
304
|
isVisible && _this.changePageNumber(pageNumber);
|
|
305
305
|
} },
|
|
306
|
-
|
|
306
|
+
React.createElement(
|
|
307
307
|
Col,
|
|
308
308
|
{ md: 12, lg: lgVar, counter: itemCounter++, style: { display: 'flex', flex: '1 0 auto' } },
|
|
309
|
-
|
|
309
|
+
React.createElement(
|
|
310
310
|
Card,
|
|
311
311
|
{ className: 'content-card', style: { flexDirection: mode } },
|
|
312
|
-
(row.thumbnail && row.thumbnail.asset || _this.props.defaultImage) &&
|
|
312
|
+
(row.thumbnail && row.thumbnail.asset || _this.props.defaultImage) && React.createElement(
|
|
313
313
|
'a',
|
|
314
314
|
{ href: _this.mapping[contentCategoryName] + '/' + row.url.current },
|
|
315
|
-
|
|
315
|
+
React.createElement(
|
|
316
316
|
LazyLoad,
|
|
317
317
|
{ height: _this.props.imageHeight },
|
|
318
|
-
|
|
318
|
+
React.createElement(Card.Img, {
|
|
319
319
|
variant: 'top',
|
|
320
320
|
src: _this.renderCardImage(row, page),
|
|
321
321
|
alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : ''
|
|
322
322
|
})
|
|
323
323
|
)
|
|
324
324
|
),
|
|
325
|
-
|
|
325
|
+
React.createElement(
|
|
326
326
|
Card.Body,
|
|
327
327
|
null,
|
|
328
|
-
|
|
328
|
+
React.createElement(
|
|
329
329
|
'a',
|
|
330
330
|
{ href: _this.mapping[contentCategoryName] + '/' + row.url.current },
|
|
331
|
-
|
|
331
|
+
React.createElement(
|
|
332
332
|
Card.Title,
|
|
333
333
|
null,
|
|
334
334
|
row.title
|
|
335
335
|
)
|
|
336
336
|
),
|
|
337
|
-
_this.props.showPublished && row.published &&
|
|
337
|
+
_this.props.showPublished && row.published && React.createElement(
|
|
338
338
|
Card.Subtitle,
|
|
339
339
|
null,
|
|
340
340
|
moment(row.published).format('MMMM DD, YYYY')
|
|
@@ -342,7 +342,7 @@ var DeckContent = function (_React$Component) {
|
|
|
342
342
|
_this.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 && row.authorMapping.map(function (authorDetail, index) {
|
|
343
343
|
return _this.renderAuthor(authorDetail, index, row.authorMapping.length);
|
|
344
344
|
}),
|
|
345
|
-
|
|
345
|
+
React.createElement(
|
|
346
346
|
Card.Text,
|
|
347
347
|
null,
|
|
348
348
|
clean_html_1(row.summary)
|
|
@@ -351,7 +351,7 @@ var DeckContent = function (_React$Component) {
|
|
|
351
351
|
)
|
|
352
352
|
)
|
|
353
353
|
),
|
|
354
|
-
|
|
354
|
+
main_40 && _this.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
355
355
|
);
|
|
356
356
|
}
|
|
357
357
|
})
|
|
@@ -360,7 +360,7 @@ var DeckContent = function (_React$Component) {
|
|
|
360
360
|
var rightItems = _this.props.rightItems;
|
|
361
361
|
|
|
362
362
|
var i = ((index + 1) / numberOfItemsBeforeAd - 1) % rightItems.length;
|
|
363
|
-
return
|
|
363
|
+
return React.createElement(
|
|
364
364
|
Col,
|
|
365
365
|
{ md: 12, style: { display: 'flex', flex: '1 0 auto' } },
|
|
366
366
|
rightItems[i].component
|
|
@@ -368,15 +368,15 @@ var DeckContent = function (_React$Component) {
|
|
|
368
368
|
}, _this.renderManualPagination = function () {
|
|
369
369
|
var currentPage = _this.state.currentPage;
|
|
370
370
|
|
|
371
|
-
return
|
|
371
|
+
return React.createElement(
|
|
372
372
|
'div',
|
|
373
373
|
{ className: 'd-flex justify-content-between' },
|
|
374
|
-
currentPage && currentPage > 1 &&
|
|
374
|
+
currentPage && currentPage > 1 && React.createElement(
|
|
375
375
|
'a',
|
|
376
376
|
{ href: '?page=' + (currentPage - 1) },
|
|
377
377
|
'<< Previous'
|
|
378
378
|
),
|
|
379
|
-
|
|
379
|
+
React.createElement(
|
|
380
380
|
'a',
|
|
381
381
|
{ href: '?page=' + (currentPage + 1) },
|
|
382
382
|
'Next >>'
|
|
@@ -422,38 +422,38 @@ var DeckContent = function (_React$Component) {
|
|
|
422
422
|
brandInsight = _props.brandInsight;
|
|
423
423
|
|
|
424
424
|
|
|
425
|
-
return
|
|
425
|
+
return React.createElement(
|
|
426
426
|
'div',
|
|
427
427
|
{ className: 'contentDeck' },
|
|
428
|
-
autoScroll ?
|
|
429
|
-
|
|
428
|
+
autoScroll ? React.createElement(
|
|
429
|
+
React.Fragment,
|
|
430
430
|
null,
|
|
431
|
-
|
|
431
|
+
React.createElement(
|
|
432
432
|
InfiniteScroll,
|
|
433
433
|
{ dataLength: this.state.data.length, next: this.loadMore, hasMore: this.state.scrolling, scrollThreshold: 0.9 },
|
|
434
|
-
|
|
434
|
+
React.createElement(
|
|
435
435
|
Container,
|
|
436
436
|
null,
|
|
437
437
|
this.cardLoader(page, columns, variant, showBI, brandInsight)
|
|
438
438
|
)
|
|
439
439
|
),
|
|
440
|
-
|
|
440
|
+
React.createElement(
|
|
441
441
|
'noscript',
|
|
442
442
|
null,
|
|
443
443
|
this.renderManualPagination()
|
|
444
444
|
)
|
|
445
|
-
) :
|
|
446
|
-
|
|
445
|
+
) : React.createElement(
|
|
446
|
+
React.Fragment,
|
|
447
447
|
null,
|
|
448
|
-
|
|
448
|
+
React.createElement(
|
|
449
449
|
Container,
|
|
450
450
|
null,
|
|
451
451
|
this.cardLoader(page, columns, variant, showBI, brandInsight)
|
|
452
452
|
),
|
|
453
|
-
|
|
453
|
+
React.createElement(
|
|
454
454
|
'div',
|
|
455
455
|
{ style: { padding: '0px 10px' } },
|
|
456
|
-
this.state.scrolling ?
|
|
456
|
+
this.state.scrolling ? React.createElement(
|
|
457
457
|
'button',
|
|
458
458
|
{
|
|
459
459
|
style: { margin: 'auto', width: '100%' },
|
|
@@ -461,17 +461,17 @@ var DeckContent = function (_React$Component) {
|
|
|
461
461
|
_this2.loadMore();
|
|
462
462
|
} },
|
|
463
463
|
'Load More'
|
|
464
|
-
) :
|
|
464
|
+
) : React.createElement(
|
|
465
465
|
'p',
|
|
466
466
|
{ style: { textAlign: 'center' } },
|
|
467
|
-
|
|
467
|
+
React.createElement(
|
|
468
468
|
'b',
|
|
469
469
|
null,
|
|
470
470
|
'End of data'
|
|
471
471
|
)
|
|
472
472
|
)
|
|
473
473
|
),
|
|
474
|
-
|
|
474
|
+
React.createElement(
|
|
475
475
|
'noscript',
|
|
476
476
|
null,
|
|
477
477
|
this.renderManualPagination()
|
|
@@ -482,7 +482,7 @@ var DeckContent = function (_React$Component) {
|
|
|
482
482
|
}]);
|
|
483
483
|
|
|
484
484
|
return DeckContent;
|
|
485
|
-
}(
|
|
485
|
+
}(React.Component);
|
|
486
486
|
|
|
487
487
|
var ContentCard = withRouter(DeckContent);
|
|
488
488
|
|