@mjhls/mjh-framework 1.0.861 → 1.0.862-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 +168 -168
- package/dist/cjs/AD.js +9 -10
- package/dist/cjs/AD300x250.js +11 -11
- package/dist/cjs/AD300x250x600.js +11 -11
- package/dist/cjs/AD728x90.js +12 -12
- package/dist/cjs/ADFloatingFooter.js +13 -13
- package/dist/cjs/ADFooter.js +8 -9
- package/dist/cjs/ADGutter.js +13 -13
- package/dist/cjs/{ADInfeed-ff26342c.js → ADInfeed-98c71bcd.js} +9 -11
- package/dist/cjs/ADSkyscraper.js +13 -13
- package/dist/cjs/ADSponsoredResources.js +13 -13
- package/dist/cjs/ADWebcast.js +13 -13
- package/dist/cjs/ADWelcome.js +17 -17
- package/dist/cjs/{ADlgInfeed-ad4953d4.js → ADlgInfeed-9de32585.js} +6 -7
- package/dist/cjs/AccordionPanel.js +22 -24
- package/dist/cjs/AdSlot.js +15 -15
- package/dist/cjs/AdSlotsProvider.js +903 -11
- package/dist/cjs/AlgoliaSearch.js +14012 -49
- package/dist/cjs/AlphabeticList.js +16 -17
- package/dist/cjs/ArticleCarousel.js +11 -12
- package/dist/cjs/ArticleProgramLandingPage.js +28 -29
- package/dist/cjs/ArticleSeriesLandingPage.js +24 -24
- package/dist/cjs/ArticleSeriesListing.js +41 -41
- package/dist/cjs/Auth.js +1197 -237
- package/dist/cjs/AuthWrapper.js +561 -26
- package/dist/cjs/{AuthorComponent-ac8972ce.js → AuthorComponent-bb831b74.js} +12 -13
- package/dist/cjs/{BlockContent-8b494587.js → BlockContent-091a991f.js} +24 -25
- package/dist/cjs/Breadcrumbs.js +21 -23
- package/dist/cjs/CMEDeck.js +65 -64
- package/dist/cjs/Column1.js +11 -14
- package/dist/cjs/Column2.js +19 -22
- package/dist/cjs/Column3.js +34 -36
- package/dist/cjs/ConferenceArticleCard.js +32 -33
- package/dist/cjs/ConferenceBanner-4a16fddc.js +23 -0
- package/dist/cjs/DeckContent.js +82 -85
- package/dist/cjs/DeckQueue.js +70 -73
- package/dist/cjs/{Dfp-0bf098b5.js → Dfp-26baccf1.js} +23 -23
- package/dist/cjs/EventsDeck.js +134 -141
- package/dist/cjs/ExternalResources.js +48 -49
- package/dist/cjs/Feature.js +23 -25
- package/dist/cjs/ForbesHero.js +34 -35
- package/dist/cjs/GridContent.js +205 -209
- package/dist/cjs/GridHero.js +35 -36
- package/dist/cjs/GroupDeck.js +48 -49
- package/dist/cjs/HamMagazine.js +125 -130
- package/dist/cjs/Header.js +12 -14
- package/dist/cjs/Hero.js +9 -10
- package/dist/cjs/HighlightenVideo.js +16 -17
- package/dist/cjs/HorizontalArticleListing.js +38 -39
- package/dist/cjs/HorizontalHero.js +23 -24
- package/dist/cjs/IssueContentDeck.js +65 -70
- package/dist/cjs/IssueDeck.js +61 -66
- package/dist/cjs/IssueLanding.js +59 -60
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +22 -23
- package/dist/cjs/MasterDeck.js +59 -59
- package/dist/cjs/MediaSeriesLanding.js +914 -806
- package/dist/cjs/NavDvm.js +63 -68
- package/dist/cjs/{NavFooter-3dcd99a8.js → NavFooter-76c913e3.js} +14 -15
- package/dist/cjs/NavMagazine.js +126 -131
- package/dist/cjs/NavNative.js +117 -125
- package/dist/cjs/OncliveHero.js +17 -17
- package/dist/cjs/OncliveLargeHero.js +63 -64
- package/dist/cjs/PageFilter.js +8 -9
- package/dist/cjs/PartnerDetailListing.js +3071 -449
- package/dist/cjs/PdfDownload.js +8 -9
- package/dist/cjs/PopUpModal.js +13 -15
- package/dist/cjs/PubSection.js +21 -21
- package/dist/cjs/PubToc.js +7 -8
- package/dist/cjs/PublicationDeck.js +59 -64
- package/dist/cjs/PublicationLanding.js +110 -114
- package/dist/cjs/QueueDeckExpanded.js +287 -286
- package/dist/cjs/RecentNews.js +19 -20
- package/dist/cjs/RelatedContent.js +50 -51
- package/dist/cjs/RelatedTopicsDropdown.js +29 -32
- package/dist/cjs/RolesDeck.js +27 -32
- package/dist/cjs/Search.js +12 -16
- package/dist/cjs/SeriesListingDeck.js +27 -26
- package/dist/cjs/{SeriesSlider-60fa1342.js → SeriesSlider-8bbc989f.js} +37 -38
- package/dist/cjs/SideFooter.js +25 -26
- package/dist/cjs/SocialIcons.js +9 -10
- package/dist/cjs/{SocialSearchComponent-19548e2a.js → SocialSearchComponent-cea213aa.js} +34 -38
- package/dist/cjs/SocialShare.js +29 -31
- package/dist/cjs/TaxonomyCard.js +55 -60
- package/dist/cjs/TaxonomyDescription.js +23 -24
- package/dist/cjs/TemplateNormal.js +36 -36
- package/dist/cjs/ThumbnailCard.js +17 -19
- package/dist/cjs/Ustream.js +21 -22
- package/dist/cjs/VerticalHero.js +15 -16
- package/dist/cjs/VideoProgramLandingPage.js +44 -48
- package/dist/cjs/VideoSeriesCard.js +23 -24
- package/dist/cjs/VideoSeriesFilter.js +9 -9
- package/dist/cjs/VideoSeriesLandingPage.js +29 -29
- package/dist/cjs/VideoSeriesListing.js +58 -58
- package/dist/cjs/View.js +202 -206
- package/dist/cjs/YahooHero.js +30 -31
- package/dist/cjs/YoutubeGroup.js +54 -55
- package/dist/cjs/{brightcove-react-player-loader.es-5c98aec7.js → brightcove-react-player-loader.es-156bd4d6.js} +8 -10
- package/dist/cjs/events-1b438fe7.js +469 -0
- package/dist/cjs/{extends-60837c34.js → extends-0a918631.js} +1 -0
- package/dist/cjs/faundadb.js +16 -16
- package/dist/cjs/getRelatedArticle.js +131 -67
- package/dist/cjs/getRootDocGroup.js +3 -3
- package/dist/cjs/getSerializers.js +13 -13
- package/dist/cjs/{getTargeting-3e45e4d4.js → getTargeting-f1821260.js} +11 -11
- package/dist/cjs/getTargeting.js +2 -2
- package/dist/cjs/iconBase-68959171.js +3 -0
- package/dist/cjs/{index-99edf08a.js → index-3294d3bc.js} +1 -1
- package/dist/cjs/{index-9d365128.js → index-96b3db50.js} +10 -12
- package/dist/cjs/{index-44481153.js → index-98e01cb9.js} +47 -494
- package/dist/cjs/{index-87d0db67.js → index-a1e54356.js} +1178 -954
- package/dist/cjs/{index-b5eb3ff8.js → index-be0c82be.js} +19 -20
- package/dist/cjs/index-e2e62963.js +89 -0
- package/dist/cjs/{index.es-f3e47207.js → index.es-9110add6.js} +12 -31
- package/dist/cjs/{index.esm-3ffa049c.js → index.esm-4d410430.js} +20 -20
- package/dist/cjs/{index.esm-974f47d9.js → index.esm-90433435.js} +15 -6
- package/dist/cjs/{index.esm-44f3e2d0.js → index.esm-e32d3e8e.js} +6 -3
- package/dist/cjs/{index.esm-05850a2f.js → index.esm-ff47db6f.js} +12 -5
- package/dist/cjs/index.js +61 -65
- package/dist/cjs/{inherits-87492b40.js → inherits-1f5a1c72.js} +6 -3
- package/dist/cjs/inherits-8d29278d.js +110 -0
- package/dist/cjs/{lodash-7fd85bcf.js → lodash-fc2922d0.js} +22 -71
- package/dist/cjs/{main-7b5e57b0.js → main-02daeefe.js} +54 -90
- package/dist/cjs/{md5-e1ca5797.js → md5-5039b1a6.js} +1 -1
- package/dist/cjs/{moment-ca3bd9fb.js → moment-575fe24c.js} +8 -10
- package/dist/cjs/{react-social-icons-07939b41.js → react-social-icons-f7f48f71.js} +11 -12
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{typeof-9d7f610f.js → typeof-725500bc.js} +1 -1
- package/dist/cjs/urlFor.js +3 -3
- package/dist/cjs/{visibility-sensor-eb2c5b69.js → visibility-sensor-ad5e3116.js} +5 -7
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +9 -8
- package/dist/esm/AD300x250x600.js +9 -8
- package/dist/esm/AD728x90.js +10 -9
- package/dist/esm/ADFloatingFooter.js +11 -10
- package/dist/esm/ADFooter.js +6 -6
- package/dist/esm/ADGutter.js +11 -10
- package/dist/esm/{ADInfeed-422ad6e6.js → ADInfeed-1cc9d817.js} +7 -7
- package/dist/esm/ADSkyscraper.js +11 -10
- package/dist/esm/ADSponsoredResources.js +11 -10
- package/dist/esm/ADWebcast.js +11 -10
- package/dist/esm/ADWelcome.js +15 -14
- package/dist/esm/{ADlgInfeed-f7468db8.js → ADlgInfeed-8c4f129e.js} +4 -4
- package/dist/esm/AccordionPanel.js +17 -17
- package/dist/esm/AdSlot.js +7 -6
- package/dist/esm/AdSlotsProvider.js +903 -10
- package/dist/esm/AlgoliaSearch.js +14005 -41
- package/dist/esm/AlphabeticList.js +14 -14
- package/dist/esm/ArticleCarousel.js +9 -9
- package/dist/esm/ArticleProgramLandingPage.js +22 -22
- package/dist/esm/ArticleSeriesLandingPage.js +19 -18
- package/dist/esm/ArticleSeriesListing.js +38 -37
- package/dist/esm/Auth.js +1181 -217
- package/dist/esm/AuthWrapper.js +561 -24
- package/dist/esm/{AuthorComponent-8ffd4679.js → AuthorComponent-34b16174.js} +10 -10
- package/dist/esm/{BlockContent-d05b5b23.js → BlockContent-e9b4ddcf.js} +4 -4
- package/dist/esm/Breadcrumbs.js +11 -11
- package/dist/esm/CMEDeck.js +62 -61
- package/dist/esm/Column1.js +9 -9
- package/dist/esm/Column2.js +17 -17
- package/dist/esm/Column3.js +32 -31
- package/dist/esm/ConferenceArticleCard.js +30 -30
- package/dist/esm/{ConferenceBanner-9162d0ca.js → ConferenceBanner-8792ebd2.js} +4 -4
- package/dist/esm/DeckContent.js +78 -77
- package/dist/esm/DeckQueue.js +66 -65
- package/dist/esm/{Dfp-85c9513e.js → Dfp-b7236041.js} +11 -10
- package/dist/esm/EventsDeck.js +110 -110
- package/dist/esm/ExternalResources.js +43 -43
- package/dist/esm/Feature.js +17 -17
- package/dist/esm/ForbesHero.js +28 -28
- package/dist/esm/GridContent.js +174 -173
- package/dist/esm/GridHero.js +29 -29
- package/dist/esm/GroupDeck.js +36 -36
- package/dist/esm/HamMagazine.js +100 -100
- package/dist/esm/Header.js +8 -8
- package/dist/esm/Hero.js +7 -7
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalArticleListing.js +36 -36
- package/dist/esm/HorizontalHero.js +21 -21
- package/dist/esm/IssueContentDeck.js +53 -53
- package/dist/esm/IssueDeck.js +55 -55
- package/dist/esm/IssueLanding.js +57 -57
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +18 -17
- package/dist/esm/MasterDeck.js +56 -55
- package/dist/esm/MediaSeriesLanding.js +672 -561
- package/dist/esm/NavDvm.js +46 -46
- package/dist/esm/{NavFooter-c29526b7.js → NavFooter-e27bd93b.js} +12 -12
- package/dist/esm/NavMagazine.js +103 -103
- package/dist/esm/NavNative.js +92 -92
- package/dist/esm/OncliveHero.js +15 -14
- package/dist/esm/OncliveLargeHero.js +52 -52
- package/dist/esm/PageFilter.js +6 -6
- package/dist/esm/PartnerDetailListing.js +2967 -344
- package/dist/esm/PdfDownload.js +6 -6
- package/dist/esm/PopUpModal.js +8 -8
- package/dist/esm/PubSection.js +19 -18
- package/dist/esm/PubToc.js +5 -5
- package/dist/esm/PublicationDeck.js +51 -51
- package/dist/esm/PublicationLanding.js +96 -96
- package/dist/esm/QueueDeckExpanded.js +253 -252
- package/dist/esm/RecentNews.js +17 -17
- package/dist/esm/RelatedContent.js +45 -45
- package/dist/esm/RelatedTopicsDropdown.js +21 -21
- package/dist/esm/RolesDeck.js +25 -25
- package/dist/esm/Search.js +7 -7
- package/dist/esm/SeriesListingDeck.js +22 -21
- package/dist/esm/{SeriesSlider-05ecb544.js → SeriesSlider-a866bb21.js} +28 -28
- package/dist/esm/SideFooter.js +21 -21
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-47815365.js → SocialSearchComponent-03c3e869.js} +28 -28
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +51 -51
- package/dist/esm/TaxonomyDescription.js +18 -18
- package/dist/esm/TemplateNormal.js +33 -32
- package/dist/esm/ThumbnailCard.js +10 -10
- package/dist/esm/Ustream.js +18 -18
- package/dist/esm/VerticalHero.js +13 -13
- package/dist/esm/VideoProgramLandingPage.js +34 -34
- package/dist/esm/VideoSeriesCard.js +18 -18
- package/dist/esm/VideoSeriesFilter.js +6 -6
- package/dist/esm/VideoSeriesLandingPage.js +19 -18
- package/dist/esm/VideoSeriesListing.js +55 -54
- package/dist/esm/View.js +185 -185
- package/dist/esm/YahooHero.js +25 -25
- package/dist/esm/YoutubeGroup.js +39 -39
- package/dist/esm/{brightcove-react-player-loader.es-4abff0b1.js → brightcove-react-player-loader.es-83f53e4e.js} +6 -7
- package/dist/esm/events-6c3a7a63.js +467 -0
- package/dist/esm/{extends-eb69e8ac.js → extends-6f2fcc99.js} +1 -1
- package/dist/esm/faundadb.js +1 -1
- package/dist/esm/getRelatedArticle.js +126 -62
- package/dist/esm/getSerializers.js +13 -13
- package/dist/esm/{getTargeting-9cb7e014.js → getTargeting-bd800589.js} +10 -10
- package/dist/esm/getTargeting.js +2 -2
- package/dist/esm/{index-1819118a.js → index-41a678ea.js} +41 -487
- package/dist/esm/{index-6c12bdd5.js → index-5f7e79e7.js} +4 -4
- package/dist/esm/{index-51a80699.js → index-73819142.js} +19 -20
- package/dist/esm/{index-20e503c9.js → index-a1c5f00a.js} +1135 -900
- package/dist/esm/index-aaa2dae0.js +85 -0
- package/dist/esm/{index-fa2ffe86.js → index-ef6d5dcf.js} +1 -1
- 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-a8ff922c.js → index.esm-cf08bf18.js} +12 -5
- package/dist/esm/{index.esm-c6715e80.js → index.esm-f8aaeeeb.js} +6 -3
- package/dist/esm/{index.esm-8ee5ff72.js → index.esm-fd746768.js} +18 -17
- package/dist/esm/index.js +53 -54
- package/dist/esm/inherits-77d5e4fc.js +101 -0
- package/dist/esm/{inherits-0d8cda6e.js → inherits-cf8dde54.js} +2 -2
- package/dist/esm/{lodash-ec8c6b48.js → lodash-17fdfebb.js} +22 -71
- package/dist/esm/{main-747e7d25.js → main-e4a934b2.js} +52 -87
- package/dist/esm/{md5-4e42248e.js → md5-9be0e905.js} +1 -1
- package/dist/esm/{moment-b6f49411.js → moment-e2f9b20c.js} +8 -10
- package/dist/esm/{react-social-icons-3822f1ce.js → react-social-icons-a7d5c5c7.js} +5 -5
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{typeof-af9c50d8.js → typeof-6435ba1c.js} +1 -1
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/{visibility-sensor-f40c2564.js → visibility-sensor-72fd8f8b.js} +2 -2
- package/package.json +111 -110
- package/dist/cjs/ConferenceBanner-6c9e718a.js +0 -24
package/dist/esm/Column3.js
CHANGED
|
@@ -5,18 +5,19 @@ import './_library-528f1934.js';
|
|
|
5
5
|
import './_iter-detect-5d49a330.js';
|
|
6
6
|
import './core.get-iterator-method-e1de7503.js';
|
|
7
7
|
import './_object-pie-33c40e79.js';
|
|
8
|
-
import './extends-
|
|
8
|
+
import './extends-6f2fcc99.js';
|
|
9
9
|
import './define-property-8af5f002.js';
|
|
10
10
|
import './web.dom.iterable-4439f05a.js';
|
|
11
|
-
import
|
|
12
|
-
import './
|
|
11
|
+
import React__default, { useRef, useEffect } from 'react';
|
|
12
|
+
import './events-6c3a7a63.js';
|
|
13
|
+
import './index-41a678ea.js';
|
|
13
14
|
import 'prop-types';
|
|
14
|
-
import Row from 'react-bootstrap/Row';
|
|
15
|
-
import Col from 'react-bootstrap/Col';
|
|
15
|
+
import Row$1 from 'react-bootstrap/Row';
|
|
16
|
+
import Col$1 from 'react-bootstrap/Col';
|
|
16
17
|
import './isSymbol-1981418f.js';
|
|
17
18
|
import './debounce-9207d8ee.js';
|
|
18
19
|
import './toNumber-2f7a84cd.js';
|
|
19
|
-
import { m as
|
|
20
|
+
import { m as main_36 } from './main-e4a934b2.js';
|
|
20
21
|
import './slicedToArray-641f241f.js';
|
|
21
22
|
import './stringify-4330ccdc.js';
|
|
22
23
|
import './asyncToGenerator-fc1c2e29.js';
|
|
@@ -25,11 +26,11 @@ import './Beam.js';
|
|
|
25
26
|
import './AdSlot.js';
|
|
26
27
|
import './get-1e515072.js';
|
|
27
28
|
import './eq-b470f743.js';
|
|
28
|
-
import './react-social-icons-
|
|
29
|
+
import './react-social-icons-a7d5c5c7.js';
|
|
29
30
|
import 'react-bootstrap';
|
|
30
31
|
import './defineProperty-94fd8bfc.js';
|
|
31
32
|
import SideFooter from './SideFooter.js';
|
|
32
|
-
import { C as ConferenceBanner } from './ConferenceBanner-
|
|
33
|
+
import { C as ConferenceBanner } from './ConferenceBanner-8792ebd2.js';
|
|
33
34
|
import ADSponsoredResources from './ADSponsoredResources.js';
|
|
34
35
|
import 'react-bootstrap/ListGroup';
|
|
35
36
|
import './ADWebcast.js';
|
|
@@ -51,7 +52,7 @@ var Column3 = function Column3(props) {
|
|
|
51
52
|
var adRef = useRef(null);
|
|
52
53
|
|
|
53
54
|
useEffect(function () {
|
|
54
|
-
if (!
|
|
55
|
+
if (!main_36 && window.innerWidth >= 768) {
|
|
55
56
|
var navbar = document.querySelector('.navbar');
|
|
56
57
|
var AdOffsetTop = adRef.current.getBoundingClientRect().top;
|
|
57
58
|
window.addEventListener('scroll', function () {
|
|
@@ -70,62 +71,62 @@ var Column3 = function Column3(props) {
|
|
|
70
71
|
}
|
|
71
72
|
}, []);
|
|
72
73
|
|
|
73
|
-
return
|
|
74
|
+
return React__default.createElement(
|
|
74
75
|
'section',
|
|
75
76
|
null,
|
|
76
|
-
|
|
77
|
-
Row,
|
|
77
|
+
React__default.createElement(
|
|
78
|
+
Row$1,
|
|
78
79
|
{ className: 'justify-content-md-center' },
|
|
79
|
-
|
|
80
|
-
Col,
|
|
80
|
+
React__default.createElement(
|
|
81
|
+
Col$1,
|
|
81
82
|
{ md: true, className: 'leftCol', style: { width: '200px' } },
|
|
82
|
-
|
|
83
|
-
website && website.sponsoredAd &&
|
|
84
|
-
website && website.sideFooterContent && website.sideFooterContent.length && website.showFooterOnLeftSide &&
|
|
83
|
+
React__default.createElement(LeftNav, { leftItems: leftItems }),
|
|
84
|
+
website && website.sponsoredAd && React__default.createElement(ADSponsoredResources, { sponsoredAd: website.sponsoredAd }),
|
|
85
|
+
website && website.sideFooterContent && website.sideFooterContent.length && website.showFooterOnLeftSide && React__default.createElement(SideFooter, { website: website, cache: website.cache, logo: logo })
|
|
85
86
|
),
|
|
86
|
-
|
|
87
|
-
Col,
|
|
87
|
+
React__default.createElement(
|
|
88
|
+
Col$1,
|
|
88
89
|
{ md: true, className: 'middleCol', style: { maxWidth: '640px', marginTop: !title && '10px' } },
|
|
89
|
-
showFilter ?
|
|
90
|
+
showFilter ? React__default.createElement(
|
|
90
91
|
'div',
|
|
91
92
|
{ className: 'title-wrap' },
|
|
92
|
-
|
|
93
|
+
React__default.createElement(
|
|
93
94
|
'h1',
|
|
94
95
|
{ className: 'title' },
|
|
95
96
|
title
|
|
96
97
|
),
|
|
97
|
-
|
|
98
|
+
React__default.createElement(
|
|
98
99
|
'div',
|
|
99
100
|
{ className: 'filter-box' },
|
|
100
|
-
|
|
101
|
+
React__default.createElement(PageFilter, { getParams: getParams, filters: filters, defaultFilter: defaultFilter })
|
|
101
102
|
)
|
|
102
|
-
) : title &&
|
|
103
|
+
) : title && React__default.createElement(
|
|
103
104
|
'h1',
|
|
104
105
|
{ className: 'title' },
|
|
105
106
|
title
|
|
106
107
|
),
|
|
107
108
|
props.children
|
|
108
109
|
),
|
|
109
|
-
|
|
110
|
+
React__default.createElement(
|
|
110
111
|
'style',
|
|
111
112
|
{ jsx: 'true' },
|
|
112
113
|
'\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
114
|
),
|
|
114
|
-
(!
|
|
115
|
-
Col,
|
|
115
|
+
(!main_36 || showRightAd) && React__default.createElement(
|
|
116
|
+
Col$1,
|
|
116
117
|
{ xs: 12, className: 'rightCol' },
|
|
117
|
-
website && website.conferenceBannerContent &&
|
|
118
|
-
|
|
118
|
+
website && website.conferenceBannerContent && React__default.createElement(ConferenceBanner, { website: website }),
|
|
119
|
+
React__default.createElement(
|
|
119
120
|
'div',
|
|
120
121
|
{ ref: adRef },
|
|
121
122
|
rightItems && rightItems.map(function (row, index) {
|
|
122
|
-
return
|
|
123
|
+
return React__default.createElement(
|
|
123
124
|
'div',
|
|
124
125
|
{ key: index },
|
|
125
126
|
row.component
|
|
126
127
|
);
|
|
127
128
|
}),
|
|
128
|
-
website && website.sideFooterContent && website.sideFooterContent.length && !website.showFooterOnLeftSide &&
|
|
129
|
+
website && website.sideFooterContent && website.sideFooterContent.length && !website.showFooterOnLeftSide && React__default.createElement(SideFooter, { website: website, cache: website.cache, logo: logo })
|
|
129
130
|
)
|
|
130
131
|
)
|
|
131
132
|
)
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import
|
|
3
|
-
import { m as moment } from './moment-
|
|
4
|
-
import './index-
|
|
2
|
+
import React__default from 'react';
|
|
3
|
+
import { m as moment } from './moment-e2f9b20c.js';
|
|
4
|
+
import './index-73819142.js';
|
|
5
5
|
import urlFor from './urlFor.js';
|
|
6
6
|
|
|
7
|
-
/*
|
|
8
|
-
Example usage - targetedonc.com/latest-conference
|
|
9
|
-
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] {
|
|
10
|
-
...,
|
|
11
|
-
title,
|
|
12
|
-
summary,
|
|
13
|
-
thumbnail,
|
|
14
|
-
url,
|
|
15
|
-
published,
|
|
16
|
-
documentGroup->,
|
|
17
|
-
contentCategory->,
|
|
18
|
-
'pageNumber': ${currentPage}
|
|
19
|
-
}`
|
|
20
|
-
|
|
21
|
-
const posts = await client.fetch(query, params)
|
|
7
|
+
/*
|
|
8
|
+
Example usage - targetedonc.com/latest-conference
|
|
9
|
+
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] {
|
|
10
|
+
...,
|
|
11
|
+
title,
|
|
12
|
+
summary,
|
|
13
|
+
thumbnail,
|
|
14
|
+
url,
|
|
15
|
+
published,
|
|
16
|
+
documentGroup->,
|
|
17
|
+
contentCategory->,
|
|
18
|
+
'pageNumber': ${currentPage}
|
|
19
|
+
}`
|
|
20
|
+
|
|
21
|
+
const posts = await client.fetch(query, params)
|
|
22
22
|
*/
|
|
23
23
|
|
|
24
24
|
var ConferenceArticleCard = function ConferenceArticleCard(props) {
|
|
@@ -29,51 +29,51 @@ var ConferenceArticleCard = function ConferenceArticleCard(props) {
|
|
|
29
29
|
|
|
30
30
|
// title, thumbnail, summary, published, documentGroup.identifier.current, documentGroup.identifier.name
|
|
31
31
|
|
|
32
|
-
return
|
|
32
|
+
return React__default.createElement(
|
|
33
33
|
'div',
|
|
34
34
|
{ className: 'conference-media' },
|
|
35
|
-
|
|
35
|
+
React__default.createElement(
|
|
36
36
|
'a',
|
|
37
37
|
{ className: 'img-wrapper', href: '/view/' + (data.url ? data.url.current : '') },
|
|
38
|
-
|
|
38
|
+
React__default.createElement('img', {
|
|
39
39
|
className: 'mr-3 img-fluid',
|
|
40
40
|
src: data.thumbnail && urlFor({ client: client, source: data.thumbnail.asset, imageWidth: 350 }),
|
|
41
41
|
alt: data.title
|
|
42
42
|
})
|
|
43
43
|
),
|
|
44
|
-
|
|
44
|
+
React__default.createElement(
|
|
45
45
|
'div',
|
|
46
46
|
{ className: 'media-body' },
|
|
47
|
-
|
|
47
|
+
React__default.createElement(
|
|
48
48
|
'a',
|
|
49
49
|
{ href: '/view/' + (data.url ? data.url.current : '') },
|
|
50
|
-
|
|
50
|
+
React__default.createElement(
|
|
51
51
|
'h4',
|
|
52
52
|
{ className: 'conf-media__card-title' },
|
|
53
53
|
data.title
|
|
54
54
|
)
|
|
55
55
|
),
|
|
56
|
-
|
|
56
|
+
React__default.createElement(
|
|
57
57
|
'p',
|
|
58
58
|
{ className: 'conf-media__card-text' },
|
|
59
59
|
moment(data.published).format('MMMM Do YYYY, h:mma')
|
|
60
60
|
),
|
|
61
|
-
|
|
61
|
+
React__default.createElement(
|
|
62
62
|
'p',
|
|
63
63
|
{ className: 'mb-1 conference-group' },
|
|
64
|
-
data.documentGroup && data.documentGroup.identifier && (data.documentGroup.identifier.current.includes('/') ?
|
|
64
|
+
data.documentGroup && data.documentGroup.identifier && (data.documentGroup.identifier.current.includes('/') ? React__default.createElement(
|
|
65
65
|
'a',
|
|
66
66
|
{ href: '/' + data.documentGroup.identifier.current, alt: data.thumbnail && data.thumbnail.alt || data.title },
|
|
67
67
|
data.documentGroup.name
|
|
68
|
-
) :
|
|
68
|
+
) : React__default.createElement(
|
|
69
69
|
'a',
|
|
70
70
|
{ href: '/conference/' + data.documentGroup.identifier.current, alt: data.thumbnail && data.thumbnail.alt || data.title },
|
|
71
71
|
data.documentGroup.name
|
|
72
72
|
))
|
|
73
73
|
),
|
|
74
|
-
|
|
74
|
+
React__default.createElement('p', { className: 'pt-2 card-text', dangerouslySetInnerHTML: { __html: data.summary } })
|
|
75
75
|
),
|
|
76
|
-
|
|
76
|
+
React__default.createElement(
|
|
77
77
|
'style',
|
|
78
78
|
{ jsx: 'true' },
|
|
79
79
|
'\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
|
@@ -6,32 +6,33 @@ import './_iter-detect-5d49a330.js';
|
|
|
6
6
|
import { _ as _toConsumableArray } from './toConsumableArray-43aa614d.js';
|
|
7
7
|
import './core.get-iterator-method-e1de7503.js';
|
|
8
8
|
import './_object-pie-33c40e79.js';
|
|
9
|
-
import { _ as _extends } from './extends-
|
|
9
|
+
import { _ as _extends } from './extends-6f2fcc99.js';
|
|
10
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-
|
|
11
|
+
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-cf8dde54.js';
|
|
12
12
|
import './define-property-8af5f002.js';
|
|
13
13
|
import './web.dom.iterable-4439f05a.js';
|
|
14
|
-
import './typeof-
|
|
14
|
+
import './typeof-6435ba1c.js';
|
|
15
15
|
import './_is-array-58e95429.js';
|
|
16
|
-
import
|
|
17
|
-
import
|
|
16
|
+
import React__default from 'react';
|
|
17
|
+
import './events-6c3a7a63.js';
|
|
18
|
+
import { l as lib_3 } from './index-41a678ea.js';
|
|
18
19
|
import 'prop-types';
|
|
19
|
-
import Container from 'react-bootstrap/Container';
|
|
20
|
-
import Row from 'react-bootstrap/Row';
|
|
21
|
-
import Col from 'react-bootstrap/Col';
|
|
22
|
-
import Card from 'react-bootstrap/Card';
|
|
23
|
-
import { m as moment } from './moment-
|
|
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';
|
|
24
25
|
import { withRouter } from 'next/router';
|
|
25
26
|
import './isSymbol-1981418f.js';
|
|
26
27
|
import { d as debounce_1 } from './debounce-9207d8ee.js';
|
|
27
28
|
import './toNumber-2f7a84cd.js';
|
|
28
|
-
import { I as InfiniteScroll } from './index.es-
|
|
29
|
+
import { I as InfiniteScroll } from './index.es-29c1cef5.js';
|
|
29
30
|
import 'react-dom';
|
|
30
|
-
import { V as VisibilitySensor } from './visibility-sensor-
|
|
31
|
-
import './index-
|
|
31
|
+
import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
32
|
+
import './index-73819142.js';
|
|
32
33
|
import urlFor from './urlFor.js';
|
|
33
|
-
import { L as LazyLoad } from './index-
|
|
34
|
-
import { m as
|
|
34
|
+
import { L as LazyLoad } from './index-5f7e79e7.js';
|
|
35
|
+
import { m as main_36 } from './main-e4a934b2.js';
|
|
35
36
|
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
36
37
|
import './slicedToArray-641f241f.js';
|
|
37
38
|
import './stringify-4330ccdc.js';
|
|
@@ -39,7 +40,7 @@ import './asyncToGenerator-fc1c2e29.js';
|
|
|
39
40
|
import './Segment.js';
|
|
40
41
|
import './Beam.js';
|
|
41
42
|
import './AdSlot.js';
|
|
42
|
-
import { A as ADInfeed } from './ADInfeed-
|
|
43
|
+
import { A as ADInfeed } from './ADInfeed-1cc9d817.js';
|
|
43
44
|
|
|
44
45
|
var DeckContent = function (_React$Component) {
|
|
45
46
|
_inherits(DeckContent, _React$Component);
|
|
@@ -173,14 +174,14 @@ var DeckContent = function (_React$Component) {
|
|
|
173
174
|
var newPath = pageNumber === 1 ? '' + path : path + '?page=' + pageNumber;
|
|
174
175
|
|
|
175
176
|
// please leave this for later debug purpose : Yong Jun.
|
|
176
|
-
/* console.log('page change reported', {
|
|
177
|
-
currentPage: currentPage,
|
|
178
|
-
pageNumber: pageNumber,
|
|
179
|
-
pathname: pathname,
|
|
180
|
-
path: path,
|
|
181
|
-
newPath: newPath,
|
|
182
|
-
firstPage: pageNumber === 1,
|
|
183
|
-
queryString: queryString
|
|
177
|
+
/* console.log('page change reported', {
|
|
178
|
+
currentPage: currentPage,
|
|
179
|
+
pageNumber: pageNumber,
|
|
180
|
+
pathname: pathname,
|
|
181
|
+
path: path,
|
|
182
|
+
newPath: newPath,
|
|
183
|
+
firstPage: pageNumber === 1,
|
|
184
|
+
queryString: queryString
|
|
184
185
|
}) */
|
|
185
186
|
|
|
186
187
|
if (pageview) {
|
|
@@ -200,35 +201,35 @@ var DeckContent = function (_React$Component) {
|
|
|
200
201
|
url = authorDetail.url;
|
|
201
202
|
|
|
202
203
|
if (displayName && url && url.current) {
|
|
203
|
-
return
|
|
204
|
+
return React__default.createElement(
|
|
204
205
|
'div',
|
|
205
206
|
{ key: _id },
|
|
206
|
-
index === 0 &&
|
|
207
|
+
index === 0 && React__default.createElement(
|
|
207
208
|
'span',
|
|
208
209
|
{ className: 'pr-1' },
|
|
209
210
|
'By'
|
|
210
211
|
),
|
|
211
|
-
|
|
212
|
+
React__default.createElement(
|
|
212
213
|
'a',
|
|
213
214
|
{ href: '/authors/${url.current}', className: 'text-muted' },
|
|
214
215
|
displayName,
|
|
215
|
-
length !== index + 1 &&
|
|
216
|
+
length !== index + 1 && React__default.createElement('br', null)
|
|
216
217
|
)
|
|
217
218
|
);
|
|
218
219
|
} else if (displayName) {
|
|
219
|
-
return
|
|
220
|
+
return React__default.createElement(
|
|
220
221
|
'div',
|
|
221
222
|
{ key: _id },
|
|
222
|
-
index === 0 &&
|
|
223
|
+
index === 0 && React__default.createElement(
|
|
223
224
|
'span',
|
|
224
225
|
{ className: 'pr-1' },
|
|
225
226
|
'By'
|
|
226
227
|
),
|
|
227
|
-
|
|
228
|
+
React__default.createElement(
|
|
228
229
|
'span',
|
|
229
230
|
{ className: 'text-muted' },
|
|
230
231
|
displayName,
|
|
231
|
-
length !== index + 1 &&
|
|
232
|
+
length !== index + 1 && React__default.createElement('br', null)
|
|
232
233
|
)
|
|
233
234
|
);
|
|
234
235
|
}
|
|
@@ -272,8 +273,8 @@ var DeckContent = function (_React$Component) {
|
|
|
272
273
|
articles = _this.state.data;
|
|
273
274
|
}
|
|
274
275
|
|
|
275
|
-
return
|
|
276
|
-
Row,
|
|
276
|
+
return React__default.createElement(
|
|
277
|
+
Row$1,
|
|
277
278
|
null,
|
|
278
279
|
articles && articles.map(function (row, index) {
|
|
279
280
|
if (columns === 'rotate' && itemCounter % 3 === 0) {
|
|
@@ -284,60 +285,60 @@ var DeckContent = function (_React$Component) {
|
|
|
284
285
|
lgVar = 6;
|
|
285
286
|
}
|
|
286
287
|
if (row._type === 'BrandInsight' && row.adUnit) {
|
|
287
|
-
return
|
|
288
|
+
return React__default.createElement(ADInfeed, { index: index, infeedAd: row });
|
|
288
289
|
} else {
|
|
289
290
|
var pageNumber = row.pageNumber || _this.state.page;
|
|
290
291
|
var contentCategoryName = row.contentCategory && row.contentCategory.name && _this.mapping[row.contentCategory.name] ? row.contentCategory.name : 'Articles';
|
|
291
|
-
return
|
|
292
|
-
|
|
292
|
+
return React__default.createElement(
|
|
293
|
+
React__default.Fragment,
|
|
293
294
|
{ key: itemCounter },
|
|
294
|
-
|
|
295
|
+
React__default.createElement(
|
|
295
296
|
VisibilitySensor,
|
|
296
297
|
{
|
|
297
298
|
onChange: function onChange(isVisible) {
|
|
298
299
|
isVisible && _this.changePageNumber(pageNumber);
|
|
299
300
|
} },
|
|
300
|
-
|
|
301
|
-
Col,
|
|
301
|
+
React__default.createElement(
|
|
302
|
+
Col$1,
|
|
302
303
|
{ md: 12, lg: lgVar, counter: itemCounter++, style: { display: 'flex', flex: '1 0 auto' } },
|
|
303
|
-
|
|
304
|
-
Card,
|
|
304
|
+
React__default.createElement(
|
|
305
|
+
Card$1,
|
|
305
306
|
{ className: 'content-card', style: { flexDirection: mode } },
|
|
306
|
-
(row.thumbnail && row.thumbnail.asset || _this.props.defaultImage) &&
|
|
307
|
+
(row.thumbnail && row.thumbnail.asset || _this.props.defaultImage) && React__default.createElement(
|
|
307
308
|
'a',
|
|
308
309
|
{ href: _this.mapping[contentCategoryName] + '/' + row.url.current },
|
|
309
|
-
|
|
310
|
+
React__default.createElement(
|
|
310
311
|
LazyLoad,
|
|
311
312
|
{ height: _this.props.imageHeight },
|
|
312
|
-
|
|
313
|
+
React__default.createElement(Card$1.Img, {
|
|
313
314
|
variant: 'top',
|
|
314
315
|
src: _this.renderCardImage(row, page),
|
|
315
316
|
alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : ''
|
|
316
317
|
})
|
|
317
318
|
)
|
|
318
319
|
),
|
|
319
|
-
|
|
320
|
-
Card.Body,
|
|
320
|
+
React__default.createElement(
|
|
321
|
+
Card$1.Body,
|
|
321
322
|
null,
|
|
322
|
-
|
|
323
|
+
React__default.createElement(
|
|
323
324
|
'a',
|
|
324
325
|
{ href: _this.mapping[contentCategoryName] + '/' + row.url.current },
|
|
325
|
-
|
|
326
|
-
Card.Title,
|
|
326
|
+
React__default.createElement(
|
|
327
|
+
Card$1.Title,
|
|
327
328
|
null,
|
|
328
329
|
row.title
|
|
329
330
|
)
|
|
330
331
|
),
|
|
331
|
-
_this.props.showPublished && row.published &&
|
|
332
|
-
Card.Subtitle,
|
|
332
|
+
_this.props.showPublished && row.published && React__default.createElement(
|
|
333
|
+
Card$1.Subtitle,
|
|
333
334
|
null,
|
|
334
335
|
moment(row.published).format('MMMM DD, YYYY')
|
|
335
336
|
),
|
|
336
337
|
_this.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 && row.authorMapping.map(function (authorDetail, index) {
|
|
337
338
|
return _this.renderAuthor(authorDetail, index, row.authorMapping.length);
|
|
338
339
|
}),
|
|
339
|
-
|
|
340
|
-
Card.Text,
|
|
340
|
+
React__default.createElement(
|
|
341
|
+
Card$1.Text,
|
|
341
342
|
null,
|
|
342
343
|
clean_html_1(row.summary)
|
|
343
344
|
)
|
|
@@ -345,7 +346,7 @@ var DeckContent = function (_React$Component) {
|
|
|
345
346
|
)
|
|
346
347
|
)
|
|
347
348
|
),
|
|
348
|
-
|
|
349
|
+
main_36 && _this.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
349
350
|
);
|
|
350
351
|
}
|
|
351
352
|
})
|
|
@@ -354,23 +355,23 @@ var DeckContent = function (_React$Component) {
|
|
|
354
355
|
var rightItems = _this.props.rightItems;
|
|
355
356
|
|
|
356
357
|
var i = ((index + 1) / numberOfItemsBeforeAd - 1) % rightItems.length;
|
|
357
|
-
return
|
|
358
|
-
Col,
|
|
358
|
+
return React__default.createElement(
|
|
359
|
+
Col$1,
|
|
359
360
|
{ md: 12, style: { display: 'flex', flex: '1 0 auto' } },
|
|
360
361
|
rightItems[i].component
|
|
361
362
|
);
|
|
362
363
|
}, _this.renderManualPagination = function () {
|
|
363
364
|
var currentPage = _this.state.currentPage;
|
|
364
365
|
|
|
365
|
-
return
|
|
366
|
+
return React__default.createElement(
|
|
366
367
|
'div',
|
|
367
368
|
{ className: 'd-flex justify-content-between' },
|
|
368
|
-
currentPage && currentPage > 1 &&
|
|
369
|
+
currentPage && currentPage > 1 && React__default.createElement(
|
|
369
370
|
'a',
|
|
370
371
|
{ href: '?page=' + (currentPage - 1) },
|
|
371
372
|
'<< Previous'
|
|
372
373
|
),
|
|
373
|
-
|
|
374
|
+
React__default.createElement(
|
|
374
375
|
'a',
|
|
375
376
|
{ href: '?page=' + (currentPage + 1) },
|
|
376
377
|
'Next >>'
|
|
@@ -416,38 +417,38 @@ var DeckContent = function (_React$Component) {
|
|
|
416
417
|
brandInsight = _props.brandInsight;
|
|
417
418
|
|
|
418
419
|
|
|
419
|
-
return
|
|
420
|
+
return React__default.createElement(
|
|
420
421
|
'div',
|
|
421
422
|
{ className: 'contentDeck' },
|
|
422
|
-
autoScroll ?
|
|
423
|
-
|
|
423
|
+
autoScroll ? React__default.createElement(
|
|
424
|
+
React__default.Fragment,
|
|
424
425
|
null,
|
|
425
|
-
|
|
426
|
+
React__default.createElement(
|
|
426
427
|
InfiniteScroll,
|
|
427
428
|
{ dataLength: this.state.data.length, next: this.loadMore, hasMore: this.state.scrolling, scrollThreshold: 0.9 },
|
|
428
|
-
|
|
429
|
-
Container,
|
|
429
|
+
React__default.createElement(
|
|
430
|
+
Container$1,
|
|
430
431
|
null,
|
|
431
432
|
this.cardLoader(page, columns, variant, showBI, brandInsight)
|
|
432
433
|
)
|
|
433
434
|
),
|
|
434
|
-
|
|
435
|
+
React__default.createElement(
|
|
435
436
|
'noscript',
|
|
436
437
|
null,
|
|
437
438
|
this.renderManualPagination()
|
|
438
439
|
)
|
|
439
|
-
) :
|
|
440
|
-
|
|
440
|
+
) : React__default.createElement(
|
|
441
|
+
React__default.Fragment,
|
|
441
442
|
null,
|
|
442
|
-
|
|
443
|
-
Container,
|
|
443
|
+
React__default.createElement(
|
|
444
|
+
Container$1,
|
|
444
445
|
null,
|
|
445
446
|
this.cardLoader(page, columns, variant, showBI, brandInsight)
|
|
446
447
|
),
|
|
447
|
-
|
|
448
|
+
React__default.createElement(
|
|
448
449
|
'div',
|
|
449
450
|
{ style: { padding: '0px 10px' } },
|
|
450
|
-
this.state.scrolling ?
|
|
451
|
+
this.state.scrolling ? React__default.createElement(
|
|
451
452
|
'button',
|
|
452
453
|
{
|
|
453
454
|
style: { margin: 'auto', width: '100%' },
|
|
@@ -455,17 +456,17 @@ var DeckContent = function (_React$Component) {
|
|
|
455
456
|
_this2.loadMore();
|
|
456
457
|
} },
|
|
457
458
|
'Load More'
|
|
458
|
-
) :
|
|
459
|
+
) : React__default.createElement(
|
|
459
460
|
'p',
|
|
460
461
|
{ style: { textAlign: 'center' } },
|
|
461
|
-
|
|
462
|
+
React__default.createElement(
|
|
462
463
|
'b',
|
|
463
464
|
null,
|
|
464
465
|
'End of data'
|
|
465
466
|
)
|
|
466
467
|
)
|
|
467
468
|
),
|
|
468
|
-
|
|
469
|
+
React__default.createElement(
|
|
469
470
|
'noscript',
|
|
470
471
|
null,
|
|
471
472
|
this.renderManualPagination()
|
|
@@ -476,7 +477,7 @@ var DeckContent = function (_React$Component) {
|
|
|
476
477
|
}]);
|
|
477
478
|
|
|
478
479
|
return DeckContent;
|
|
479
|
-
}(
|
|
480
|
+
}(React__default.Component);
|
|
480
481
|
|
|
481
482
|
var ContentCard = withRouter(DeckContent);
|
|
482
483
|
|