@mjhls/mjh-framework 1.0.866 → 1.0.868
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +168 -168
- package/dist/cjs/AD.js +1 -1
- package/dist/cjs/AD300x250.js +10 -11
- package/dist/cjs/AD300x250x600.js +10 -11
- package/dist/cjs/AD728x90.js +10 -11
- package/dist/cjs/ADFloatingFooter.js +10 -11
- package/dist/cjs/ADFooter.js +3 -5
- package/dist/cjs/ADGutter.js +10 -11
- package/dist/cjs/{ADInfeed-f8324b70.js → ADInfeed-b9e5ff3f.js} +1 -1
- package/dist/cjs/ADSkyscraper.js +10 -11
- package/dist/cjs/ADSponsoredResources.js +10 -11
- package/dist/cjs/ADWebcast.js +10 -11
- package/dist/cjs/ADWelcome.js +10 -11
- package/dist/cjs/{ADlgInfeed-98d7c699.js → ADlgInfeed-3cdefebd.js} +1 -1
- package/dist/cjs/AccordionPanel.js +5 -7
- package/dist/cjs/AdSlot.js +10 -11
- package/dist/cjs/AdSlotsProvider.js +8 -9
- package/dist/cjs/AlgoliaSearch.js +14105 -24
- package/dist/cjs/AlphabeticList.js +6 -8
- package/dist/cjs/ArticleCarousel.js +5 -7
- package/dist/cjs/ArticleProgramLandingPage.js +20 -21
- package/dist/cjs/ArticleSeriesLandingPage.js +18 -19
- package/dist/cjs/ArticleSeriesListing.js +14 -15
- package/dist/cjs/Auth.js +7 -9
- package/dist/cjs/AuthWrapper.js +4 -6
- package/dist/cjs/{AuthorComponent-c21aac7f.js → AuthorComponent-39b37d84.js} +1 -1
- package/dist/cjs/Beam.js +5 -7
- package/dist/cjs/Breadcrumbs.js +3 -5
- package/dist/cjs/CMEDeck.js +10 -11
- package/dist/cjs/Column2.js +6 -8
- package/dist/cjs/Column3.js +12 -13
- package/dist/cjs/ConferenceArticleCard.js +18 -15
- package/dist/cjs/DeckContent.js +25 -26
- package/dist/cjs/DeckQueue.js +14 -14
- package/dist/cjs/{Dfp-3f0ed4c8.js → Dfp-9be904d5.js} +5 -6
- package/dist/cjs/EventsDeck.js +30 -32
- package/dist/cjs/ExternalResources.js +20 -21
- package/dist/cjs/Feature.js +5 -2
- package/dist/cjs/ForbesHero.js +4 -6
- package/dist/cjs/GridContent.js +19 -20
- package/dist/cjs/GridHero.js +4 -6
- package/dist/cjs/GroupDeck.js +5 -7
- package/dist/cjs/HamMagazine.js +20 -22
- package/dist/cjs/Hero.js +4 -1
- package/dist/cjs/HorizontalArticleListing.js +20 -21
- package/dist/cjs/HorizontalHero.js +5 -2
- package/dist/cjs/IssueContentDeck.js +4 -6
- package/dist/cjs/IssueDeck.js +6 -8
- package/dist/cjs/IssueLanding.js +52 -53
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +10 -11
- package/dist/cjs/MasterDeck.js +26 -27
- package/dist/cjs/MediaSeriesLanding.js +320 -422
- package/dist/cjs/NavDvm.js +5 -7
- package/dist/cjs/NavMagazine.js +21 -23
- package/dist/cjs/NavNative.js +17 -19
- package/dist/cjs/OncliveHero.js +5 -2
- package/dist/cjs/OncliveLargeHero.js +4 -6
- package/dist/cjs/PageFilter.js +3 -5
- package/dist/cjs/PartnerDetailListing.js +23 -24
- package/dist/cjs/PdfDownload.js +2 -2
- package/dist/cjs/PopUpModal.js +3 -5
- package/dist/cjs/PubSection.js +14 -15
- package/dist/cjs/PubToc.js +5 -7
- package/dist/cjs/PublicationDeck.js +3 -0
- package/dist/cjs/PublicationLanding.js +61 -63
- package/dist/cjs/QueueDeckExpanded.js +14 -15
- package/dist/cjs/RecentNews.js +2 -2
- package/dist/cjs/RelatedContent.js +31 -28
- package/dist/cjs/RelatedTopicsDropdown.js +10 -10
- package/dist/cjs/Search.js +3 -5
- package/dist/cjs/Segment.js +13 -27
- package/dist/cjs/SeriesListingDeck.js +10 -11
- package/dist/cjs/{SeriesSlider-e3e8ead7.js → SeriesSlider-ce3261cb.js} +6 -6
- package/dist/cjs/SideFooter.js +8 -10
- package/dist/cjs/{SocialSearchComponent-948138c7.js → SocialSearchComponent-a4ae7b88.js} +4 -4
- package/dist/cjs/TaxonomyCard.js +4 -2
- package/dist/cjs/TaxonomyDescription.js +20 -21
- package/dist/cjs/TemplateNormal.js +17 -18
- package/dist/cjs/ThumbnailCard.js +4 -1
- package/dist/cjs/Ustream.js +10 -12
- package/dist/cjs/VerticalHero.js +3 -0
- package/dist/cjs/VideoProgramLandingPage.js +20 -21
- package/dist/cjs/VideoSeriesCard.js +6 -6
- package/dist/cjs/VideoSeriesFilter.js +5 -7
- package/dist/cjs/VideoSeriesLandingPage.js +18 -19
- package/dist/cjs/VideoSeriesListing.js +14 -15
- package/dist/cjs/View.js +35 -30
- package/dist/cjs/YahooHero.js +4 -6
- package/dist/cjs/YoutubeGroup.js +8 -10
- package/dist/cjs/{_is-array-6128bd56.js → _is-array-54228b29.js} +9 -9
- package/dist/cjs/{_iter-detect-55a5657a.js → _iter-detect-b1df62f0.js} +6 -7
- package/dist/cjs/_object-sap-d1978572.js +16 -0
- package/dist/cjs/{_object-to-array-8fe5a54f.js → _object-to-array-ce86cae7.js} +4 -4
- package/dist/cjs/{asyncToGenerator-58c289d9.js → asyncToGenerator-77821af0.js} +65 -67
- package/dist/cjs/{_to-object-6de10e57.js → core.get-iterator-method-5643aa10.js} +248 -12
- package/dist/cjs/{define-property-c88be878.js → define-property-e8404b64.js} +3 -3
- package/dist/cjs/{defineProperty-0cb76d99.js → defineProperty-9673846a.js} +1 -1
- package/dist/cjs/events-1b438fe7.js +469 -0
- package/dist/cjs/{extends-29bdbc6d.js → extends-7c86182f.js} +8 -8
- package/dist/cjs/faundadb.js +4 -6
- package/dist/cjs/getQuery.js +2 -2
- package/dist/cjs/getRelatedArticle.js +4 -6
- package/dist/cjs/getRootDocGroup.js +4 -6
- package/dist/cjs/getSerializers.js +20 -21
- package/dist/cjs/{getTargeting-32d1c2e4.js → getTargeting-9d509319.js} +11 -11
- package/dist/cjs/getTargeting.js +5 -7
- package/dist/{esm/iconBase-ccc56b97.js → cjs/iconBase-68959171.js} +5 -2
- package/dist/cjs/index-8041a4eb.js +99 -0
- package/dist/cjs/{index-32097c80.js → index-959201d6.js} +42 -21
- package/dist/cjs/{index-0e4427c8.js → index-fc2f1ca2.js} +2 -467
- package/dist/cjs/{index.esm-f27f80d9.js → index.esm-05850a2f.js} +1 -1
- package/dist/cjs/{index.esm-c1e16606.js → index.esm-44f3e2d0.js} +1 -1
- package/dist/cjs/{index.esm-2bb721c8.js → index.esm-8123cf40.js} +1 -1
- package/dist/cjs/{index.esm-00a6aade.js → index.esm-974f47d9.js} +1 -1
- package/dist/cjs/index.js +32 -33
- package/dist/cjs/{inherits-c2065b95.js → inherits-de66ea16.js} +13 -14
- package/dist/cjs/{keys-7f2c2108.js → keys-e982b3fa.js} +4 -4
- package/dist/cjs/{main-f1c77adb.js → main-025fdc78.js} +3 -3
- package/dist/cjs/{slicedToArray-5d1bc3b3.js → slicedToArray-067dd3bc.js} +7 -9
- package/dist/cjs/{stringify-c9ac1214.js → stringify-f7a37a8d.js} +2 -2
- package/dist/cjs/{toConsumableArray-ddb70795.js → toConsumableArray-d7797c2b.js} +8 -10
- package/dist/cjs/{typeof-88a668c5.js → typeof-567e31ff.js} +73 -74
- package/dist/cjs/urlFor.js +18 -1
- package/dist/cjs/{ustream-api-b2b9092f.js → ustream-api-3819e4aa.js} +4 -4
- package/dist/cjs/{web.dom.iterable-46657b5c.js → web.dom.iterable-d98303e0.js} +8 -9
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +14 -15
- package/dist/esm/AD300x250x600.js +14 -15
- package/dist/esm/AD728x90.js +15 -16
- package/dist/esm/ADFloatingFooter.js +17 -18
- package/dist/esm/ADFooter.js +9 -11
- package/dist/esm/ADGutter.js +17 -18
- package/dist/esm/{ADInfeed-a71a3972.js → ADInfeed-6c6093ae.js} +6 -6
- package/dist/esm/ADSkyscraper.js +17 -18
- package/dist/esm/ADSponsoredResources.js +17 -18
- package/dist/esm/ADWebcast.js +17 -18
- package/dist/esm/ADWelcome.js +21 -22
- package/dist/esm/{ADlgInfeed-d94f1437.js → ADlgInfeed-5d7386e8.js} +5 -5
- package/dist/esm/AccordionPanel.js +21 -23
- package/dist/esm/AdSlot.js +13 -14
- package/dist/esm/AdSlotsProvider.js +10 -11
- package/dist/esm/AlgoliaSearch.js +14127 -46
- package/dist/esm/AlphabeticList.js +19 -21
- package/dist/esm/ArticleCarousel.js +10 -12
- package/dist/esm/ArticleProgramLandingPage.js +32 -33
- package/dist/esm/ArticleSeriesLandingPage.js +26 -27
- package/dist/esm/ArticleSeriesListing.js +41 -42
- package/dist/esm/Auth.js +77 -79
- package/dist/esm/AuthWrapper.js +29 -31
- package/dist/esm/{AuthorComponent-30aeba69.js → AuthorComponent-46a745ba.js} +11 -11
- package/dist/esm/Beam.js +5 -7
- package/dist/esm/{BlockContent-c99c9a8d.js → BlockContent-52cf21c5.js} +3 -3
- package/dist/esm/Breadcrumbs.js +14 -16
- package/dist/esm/CMEDeck.js +69 -70
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +18 -20
- package/dist/esm/Column3.js +33 -34
- package/dist/esm/ConferenceArticleCard.js +31 -28
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/DeckContent.js +71 -72
- package/dist/esm/DeckQueue.js +54 -54
- package/dist/esm/{Dfp-be030f2a.js → Dfp-4ca12f2e.js} +14 -15
- package/dist/esm/EventsDeck.js +91 -93
- package/dist/esm/ExternalResources.js +50 -51
- package/dist/esm/Feature.js +19 -16
- package/dist/esm/ForbesHero.js +29 -31
- package/dist/esm/GridContent.js +138 -139
- package/dist/esm/GridHero.js +30 -32
- package/dist/esm/GroupDeck.js +39 -41
- package/dist/esm/HamMagazine.js +100 -102
- package/dist/esm/Header.js +8 -8
- package/dist/esm/Hero.js +10 -7
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalArticleListing.js +46 -47
- package/dist/esm/HorizontalHero.js +23 -20
- package/dist/esm/IssueContentDeck.js +42 -44
- package/dist/esm/IssueDeck.js +39 -41
- package/dist/esm/IssueLanding.js +66 -67
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +24 -25
- package/dist/esm/MasterDeck.js +60 -61
- package/dist/esm/MediaSeriesLanding.js +347 -449
- package/dist/esm/NavDvm.js +48 -50
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +104 -106
- package/dist/esm/NavNative.js +91 -93
- package/dist/esm/OncliveHero.js +17 -14
- package/dist/esm/OncliveLargeHero.js +53 -55
- package/dist/esm/PageFilter.js +9 -11
- package/dist/esm/PartnerDetailListing.js +81 -82
- package/dist/esm/PdfDownload.js +7 -7
- package/dist/esm/PopUpModal.js +11 -13
- package/dist/esm/PubSection.js +23 -24
- package/dist/esm/PubToc.js +10 -12
- package/dist/esm/PublicationDeck.js +36 -33
- package/dist/esm/PublicationLanding.js +83 -85
- package/dist/esm/QueueDeckExpanded.js +255 -256
- package/dist/esm/RecentNews.js +18 -18
- package/dist/esm/RelatedContent.js +46 -43
- package/dist/esm/RelatedTopicsDropdown.js +21 -21
- package/dist/esm/RolesDeck.js +13 -13
- package/dist/esm/Search.js +8 -10
- package/dist/esm/Segment.js +13 -27
- package/dist/esm/SeriesListingDeck.js +26 -27
- package/dist/esm/{SeriesSlider-ae17159f.js → SeriesSlider-485f514e.js} +24 -24
- package/dist/esm/SideFooter.js +27 -29
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-db963c3e.js → SocialSearchComponent-41b6b480.js} +23 -23
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +39 -37
- package/dist/esm/TaxonomyDescription.js +28 -29
- package/dist/esm/TemplateNormal.js +39 -40
- package/dist/esm/ThumbnailCard.js +13 -10
- package/dist/esm/Ustream.js +24 -26
- package/dist/esm/VerticalHero.js +14 -11
- package/dist/esm/VideoProgramLandingPage.js +39 -40
- package/dist/esm/VideoSeriesCard.js +20 -20
- package/dist/esm/VideoSeriesFilter.js +11 -13
- package/dist/esm/VideoSeriesLandingPage.js +26 -27
- package/dist/esm/VideoSeriesListing.js +57 -58
- package/dist/esm/View.js +199 -194
- package/dist/esm/YahooHero.js +26 -28
- package/dist/esm/YoutubeGroup.js +35 -37
- package/dist/esm/{_is-array-3e99e06e.js → _is-array-893ab020.js} +1 -1
- package/dist/esm/{_iter-detect-7e5e5ce2.js → _iter-detect-f089461c.js} +1 -2
- package/dist/esm/{_object-sap-f353c2a9.js → _object-sap-169d6272.js} +1 -1
- package/dist/esm/{_object-to-array-0f197f89.js → _object-to-array-50a6b9a3.js} +1 -1
- package/dist/esm/{asyncToGenerator-7f8f9219.js → asyncToGenerator-b4dfe691.js} +3 -5
- package/dist/esm/{brightcove-react-player-loader.es-57a70a56.js → brightcove-react-player-loader.es-b43c695a.js} +3 -3
- package/dist/esm/{_to-object-b50e61c3.js → core.get-iterator-method-e903ff31.js} +239 -10
- package/dist/esm/{define-property-fe54dc9f.js → define-property-99e66838.js} +1 -1
- package/dist/esm/{defineProperty-f5ff6f5a.js → defineProperty-8fa0bc8d.js} +1 -1
- package/dist/esm/events-6c3a7a63.js +467 -0
- package/dist/esm/{extends-60e0e1c6.js → extends-dc6a71fd.js} +1 -1
- package/dist/esm/faundadb.js +4 -6
- package/dist/esm/getQuery.js +2 -2
- package/dist/esm/getRelatedArticle.js +4 -6
- package/dist/esm/getRootDocGroup.js +4 -6
- package/dist/esm/getSerializers.js +23 -24
- package/dist/esm/{getTargeting-cf2724e3.js → getTargeting-ff2c9409.js} +11 -11
- package/dist/esm/getTargeting.js +5 -7
- package/dist/{cjs/iconBase-be4097c0.js → esm/iconBase-602d52fe.js} +8 -33
- package/dist/esm/{index-5cc7b406.js → index-2446af28.js} +4 -469
- package/dist/esm/{index-755f2cc2.js → index-35bdcc81.js} +4 -4
- package/dist/esm/index-67e1773f.js +94 -0
- package/dist/esm/{index-5e84f9cd.js → index-e378ff44.js} +452 -431
- package/dist/esm/{index.es-a6137319.js → index.es-c6222053.js} +5 -5
- package/dist/esm/{index.esm-f6156a57.js → index.esm-3fdda599.js} +1 -1
- package/dist/esm/{index.esm-37268dca.js → index.esm-8016b507.js} +16 -16
- package/dist/esm/{index.esm-d4932dea.js → index.esm-a8ff922c.js} +1 -1
- package/dist/esm/{index.esm-9b042655.js → index.esm-c6715e80.js} +1 -1
- package/dist/esm/index.js +56 -57
- package/dist/esm/{inherits-a41fe93f.js → inherits-8a801a18.js} +4 -5
- package/dist/esm/{keys-7a3adabf.js → keys-425c8ab0.js} +2 -2
- package/dist/esm/{main-d4165069.js → main-b5c5aac1.js} +19 -19
- package/dist/esm/{react-social-icons-9be47857.js → react-social-icons-91f9716f.js} +5 -5
- package/dist/esm/{slicedToArray-be2f7a22.js → slicedToArray-ca2c8b8d.js} +2 -4
- package/dist/esm/{stringify-59c8f690.js → stringify-c21932b3.js} +1 -1
- package/dist/esm/{toConsumableArray-6d9a4616.js → toConsumableArray-7b1c0e23.js} +2 -4
- package/dist/esm/{typeof-a286cf0c.js → typeof-83d9eb10.js} +3 -4
- package/dist/esm/urlFor.js +18 -1
- package/dist/esm/{ustream-api-33a866b6.js → ustream-api-41166338.js} +4 -4
- package/dist/esm/{visibility-sensor-72fd8f8b.js → visibility-sensor-f40c2564.js} +2 -2
- package/dist/esm/{web.dom.iterable-4109ff68.js → web.dom.iterable-fdf034f5.js} +1 -2
- package/package.json +111 -111
- package/dist/cjs/_object-sap-a175b4a9.js +0 -16
- package/dist/cjs/core.get-iterator-method-f474eacc.js +0 -39
- package/dist/cjs/es6.string.iterator-c2573ffd.js +0 -210
- package/dist/esm/core.get-iterator-method-133dfacd.js +0 -36
- package/dist/esm/es6.string.iterator-bc33758b.js +0 -201
package/dist/esm/Column3.js
CHANGED
|
@@ -1,37 +1,36 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React, { useRef, useEffect } from 'react';
|
|
2
2
|
import ADSponsoredResources from './ADSponsoredResources.js';
|
|
3
3
|
import Row from 'react-bootstrap/Row';
|
|
4
4
|
import Col from 'react-bootstrap/Col';
|
|
5
5
|
import LeftNav from './LeftNav.js';
|
|
6
6
|
import SideFooter from './SideFooter.js';
|
|
7
|
-
import { C as ConferenceBanner } from './ConferenceBanner-
|
|
7
|
+
import { C as ConferenceBanner } from './ConferenceBanner-9162d0ca.js';
|
|
8
8
|
import PageFilter from './PageFilter.js';
|
|
9
|
-
import { m as main_43 } from './main-
|
|
10
|
-
import './slicedToArray-
|
|
9
|
+
import { m as main_43 } from './main-b5c5aac1.js';
|
|
10
|
+
import './slicedToArray-ca2c8b8d.js';
|
|
11
11
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
12
|
-
import './web.dom.iterable-
|
|
13
|
-
import './
|
|
14
|
-
import './_to-object-b50e61c3.js';
|
|
15
|
-
import './core.get-iterator-method-133dfacd.js';
|
|
12
|
+
import './web.dom.iterable-fdf034f5.js';
|
|
13
|
+
import './core.get-iterator-method-e903ff31.js';
|
|
16
14
|
import './AdSlot.js';
|
|
17
|
-
import './extends-
|
|
15
|
+
import './extends-dc6a71fd.js';
|
|
18
16
|
import './_object-pie-133f504a.js';
|
|
19
17
|
import 'prop-types';
|
|
20
|
-
import './index-
|
|
18
|
+
import './index-2446af28.js';
|
|
19
|
+
import './events-6c3a7a63.js';
|
|
21
20
|
import './debounce-533d9748.js';
|
|
22
21
|
import './isSymbol-a7e9aafe.js';
|
|
23
22
|
import './toNumber-5aeba6e7.js';
|
|
24
23
|
import './Beam.js';
|
|
25
|
-
import './stringify-
|
|
26
|
-
import './asyncToGenerator-
|
|
24
|
+
import './stringify-c21932b3.js';
|
|
25
|
+
import './asyncToGenerator-b4dfe691.js';
|
|
27
26
|
import './_library-528f1934.js';
|
|
28
|
-
import './_iter-detect-
|
|
27
|
+
import './_iter-detect-f089461c.js';
|
|
29
28
|
import './Segment.js';
|
|
30
29
|
import 'react-bootstrap/ListGroup';
|
|
31
30
|
import './ADWebcast.js';
|
|
32
|
-
import './defineProperty-
|
|
33
|
-
import './define-property-
|
|
34
|
-
import './react-social-icons-
|
|
31
|
+
import './defineProperty-8fa0bc8d.js';
|
|
32
|
+
import './define-property-99e66838.js';
|
|
33
|
+
import './react-social-icons-91f9716f.js';
|
|
35
34
|
import './get-3c308da4.js';
|
|
36
35
|
import './eq-bdcbf886.js';
|
|
37
36
|
import 'react-bootstrap';
|
|
@@ -70,62 +69,62 @@ var Column3 = function Column3(props) {
|
|
|
70
69
|
}
|
|
71
70
|
}, []);
|
|
72
71
|
|
|
73
|
-
return
|
|
72
|
+
return React.createElement(
|
|
74
73
|
'section',
|
|
75
74
|
null,
|
|
76
|
-
|
|
75
|
+
React.createElement(
|
|
77
76
|
Row,
|
|
78
77
|
{ className: 'justify-content-md-center' },
|
|
79
|
-
|
|
78
|
+
React.createElement(
|
|
80
79
|
Col,
|
|
81
80
|
{ md: true, className: 'leftCol', style: { width: '200px' } },
|
|
82
|
-
|
|
83
|
-
website && website.sponsoredAd &&
|
|
84
|
-
website && website.sideFooterContent && website.sideFooterContent.length && website.showFooterOnLeftSide &&
|
|
81
|
+
React.createElement(LeftNav, { leftItems: leftItems }),
|
|
82
|
+
website && website.sponsoredAd && React.createElement(ADSponsoredResources, { sponsoredAd: website.sponsoredAd }),
|
|
83
|
+
website && website.sideFooterContent && website.sideFooterContent.length && website.showFooterOnLeftSide && React.createElement(SideFooter, { website: website, cache: website.cache, logo: logo })
|
|
85
84
|
),
|
|
86
|
-
|
|
85
|
+
React.createElement(
|
|
87
86
|
Col,
|
|
88
87
|
{ md: true, className: 'middleCol', style: { maxWidth: '640px', marginTop: !title && '10px' } },
|
|
89
|
-
showFilter ?
|
|
88
|
+
showFilter ? React.createElement(
|
|
90
89
|
'div',
|
|
91
90
|
{ className: 'title-wrap' },
|
|
92
|
-
|
|
91
|
+
React.createElement(
|
|
93
92
|
'h1',
|
|
94
93
|
{ className: 'title' },
|
|
95
94
|
title
|
|
96
95
|
),
|
|
97
|
-
|
|
96
|
+
React.createElement(
|
|
98
97
|
'div',
|
|
99
98
|
{ className: 'filter-box' },
|
|
100
|
-
|
|
99
|
+
React.createElement(PageFilter, { getParams: getParams, filters: filters, defaultFilter: defaultFilter })
|
|
101
100
|
)
|
|
102
|
-
) : title &&
|
|
101
|
+
) : title && React.createElement(
|
|
103
102
|
'h1',
|
|
104
103
|
{ className: 'title' },
|
|
105
104
|
title
|
|
106
105
|
),
|
|
107
106
|
props.children
|
|
108
107
|
),
|
|
109
|
-
|
|
108
|
+
React.createElement(
|
|
110
109
|
'style',
|
|
111
110
|
{ jsx: 'true' },
|
|
112
111
|
'\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
112
|
),
|
|
114
|
-
(!main_43 || showRightAd) &&
|
|
113
|
+
(!main_43 || showRightAd) && React.createElement(
|
|
115
114
|
Col,
|
|
116
115
|
{ xs: 12, className: 'rightCol' },
|
|
117
|
-
website && website.conferenceBannerContent &&
|
|
118
|
-
|
|
116
|
+
website && website.conferenceBannerContent && React.createElement(ConferenceBanner, { website: website }),
|
|
117
|
+
React.createElement(
|
|
119
118
|
'div',
|
|
120
119
|
{ ref: adRef },
|
|
121
120
|
rightItems && rightItems.map(function (row, index) {
|
|
122
|
-
return
|
|
121
|
+
return React.createElement(
|
|
123
122
|
'div',
|
|
124
123
|
{ key: index },
|
|
125
124
|
row.component
|
|
126
125
|
);
|
|
127
126
|
}),
|
|
128
|
-
website && website.sideFooterContent && website.sideFooterContent.length && !website.showFooterOnLeftSide &&
|
|
127
|
+
website && website.sideFooterContent && website.sideFooterContent.length && !website.showFooterOnLeftSide && React.createElement(SideFooter, { website: website, cache: website.cache, logo: logo })
|
|
129
128
|
)
|
|
130
129
|
)
|
|
131
130
|
)
|
|
@@ -1,24 +1,27 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { m as moment } from './moment-bc12cb97.js';
|
|
3
3
|
import urlFor from './urlFor.js';
|
|
4
4
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
5
|
+
import './slicedToArray-ca2c8b8d.js';
|
|
6
|
+
import './web.dom.iterable-fdf034f5.js';
|
|
7
|
+
import './core.get-iterator-method-e903ff31.js';
|
|
5
8
|
import './index-0dbff1d1.js';
|
|
6
9
|
|
|
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)
|
|
10
|
+
/*
|
|
11
|
+
Example usage - targetedonc.com/latest-conference
|
|
12
|
+
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] {
|
|
13
|
+
...,
|
|
14
|
+
title,
|
|
15
|
+
summary,
|
|
16
|
+
thumbnail,
|
|
17
|
+
url,
|
|
18
|
+
published,
|
|
19
|
+
documentGroup->,
|
|
20
|
+
contentCategory->,
|
|
21
|
+
'pageNumber': ${currentPage}
|
|
22
|
+
}`
|
|
23
|
+
|
|
24
|
+
const posts = await client.fetch(query, params)
|
|
22
25
|
*/
|
|
23
26
|
|
|
24
27
|
var ConferenceArticleCard = function ConferenceArticleCard(props) {
|
|
@@ -29,51 +32,51 @@ var ConferenceArticleCard = function ConferenceArticleCard(props) {
|
|
|
29
32
|
|
|
30
33
|
// title, thumbnail, summary, published, documentGroup.identifier.current, documentGroup.identifier.name
|
|
31
34
|
|
|
32
|
-
return
|
|
35
|
+
return React.createElement(
|
|
33
36
|
'div',
|
|
34
37
|
{ className: 'conference-media' },
|
|
35
|
-
|
|
38
|
+
React.createElement(
|
|
36
39
|
'a',
|
|
37
40
|
{ className: 'img-wrapper', href: '/view/' + (data.url ? data.url.current : '') },
|
|
38
|
-
|
|
41
|
+
React.createElement('img', {
|
|
39
42
|
className: 'mr-3 img-fluid',
|
|
40
43
|
src: data.thumbnail && urlFor({ client: client, source: data.thumbnail.asset, imageWidth: 350 }),
|
|
41
44
|
alt: data.title
|
|
42
45
|
})
|
|
43
46
|
),
|
|
44
|
-
|
|
47
|
+
React.createElement(
|
|
45
48
|
'div',
|
|
46
49
|
{ className: 'media-body' },
|
|
47
|
-
|
|
50
|
+
React.createElement(
|
|
48
51
|
'a',
|
|
49
52
|
{ href: '/view/' + (data.url ? data.url.current : '') },
|
|
50
|
-
|
|
53
|
+
React.createElement(
|
|
51
54
|
'h4',
|
|
52
55
|
{ className: 'conf-media__card-title' },
|
|
53
56
|
data.title
|
|
54
57
|
)
|
|
55
58
|
),
|
|
56
|
-
|
|
59
|
+
React.createElement(
|
|
57
60
|
'p',
|
|
58
61
|
{ className: 'conf-media__card-text' },
|
|
59
62
|
moment(data.published).format('MMMM Do YYYY, h:mma')
|
|
60
63
|
),
|
|
61
|
-
|
|
64
|
+
React.createElement(
|
|
62
65
|
'p',
|
|
63
66
|
{ className: 'mb-1 conference-group' },
|
|
64
|
-
data.documentGroup && data.documentGroup.identifier && (data.documentGroup.identifier.current.includes('/') ?
|
|
67
|
+
data.documentGroup && data.documentGroup.identifier && (data.documentGroup.identifier.current.includes('/') ? React.createElement(
|
|
65
68
|
'a',
|
|
66
69
|
{ href: '/' + data.documentGroup.identifier.current, alt: data.thumbnail && data.thumbnail.alt || data.title },
|
|
67
70
|
data.documentGroup.name
|
|
68
|
-
) :
|
|
71
|
+
) : React.createElement(
|
|
69
72
|
'a',
|
|
70
73
|
{ href: '/conference/' + data.documentGroup.identifier.current, alt: data.thumbnail && data.thumbnail.alt || data.title },
|
|
71
74
|
data.documentGroup.name
|
|
72
75
|
))
|
|
73
76
|
),
|
|
74
|
-
|
|
77
|
+
React.createElement('p', { className: 'pt-2 card-text', dangerouslySetInnerHTML: { __html: data.summary } })
|
|
75
78
|
),
|
|
76
|
-
|
|
79
|
+
React.createElement(
|
|
77
80
|
'style',
|
|
78
81
|
{ jsx: 'true' },
|
|
79
82
|
'\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,8 +1,8 @@
|
|
|
1
|
-
import { _ as _toConsumableArray } from './toConsumableArray-
|
|
2
|
-
import { _ as _extends } from './extends-
|
|
3
|
-
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-
|
|
4
|
-
import
|
|
5
|
-
import { l as lib_3 } from './index-
|
|
1
|
+
import { _ as _toConsumableArray } from './toConsumableArray-7b1c0e23.js';
|
|
2
|
+
import { _ as _extends } from './extends-dc6a71fd.js';
|
|
3
|
+
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-8a801a18.js';
|
|
4
|
+
import React from 'react';
|
|
5
|
+
import { l as lib_3 } from './index-2446af28.js';
|
|
6
6
|
import Container from 'react-bootstrap/Container';
|
|
7
7
|
import Row from 'react-bootstrap/Row';
|
|
8
8
|
import Col from 'react-bootstrap/Col';
|
|
@@ -10,35 +10,34 @@ import Card from 'react-bootstrap/Card';
|
|
|
10
10
|
import { m as moment } from './moment-bc12cb97.js';
|
|
11
11
|
import { withRouter } from 'next/router';
|
|
12
12
|
import { d as debounce_1 } from './debounce-533d9748.js';
|
|
13
|
-
import { I as InfiniteScroll } from './index.es-
|
|
14
|
-
import { V as VisibilitySensor } from './visibility-sensor-
|
|
13
|
+
import { I as InfiniteScroll } from './index.es-c6222053.js';
|
|
14
|
+
import { V as VisibilitySensor } from './visibility-sensor-f40c2564.js';
|
|
15
15
|
import urlFor from './urlFor.js';
|
|
16
|
-
import { L as LazyLoad } from './index-
|
|
17
|
-
import { m as main_43 } from './main-
|
|
16
|
+
import { L as LazyLoad } from './index-35bdcc81.js';
|
|
17
|
+
import { m as main_43 } from './main-b5c5aac1.js';
|
|
18
18
|
import { c as clean_html_1 } from './entities-932b50cf.js';
|
|
19
|
-
import { A as ADInfeed } from './ADInfeed-
|
|
19
|
+
import { A as ADInfeed } from './ADInfeed-6c6093ae.js';
|
|
20
20
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
21
|
-
import './
|
|
22
|
-
import './
|
|
23
|
-
import './_iter-detect-7e5e5ce2.js';
|
|
24
|
-
import './core.get-iterator-method-133dfacd.js';
|
|
21
|
+
import './core.get-iterator-method-e903ff31.js';
|
|
22
|
+
import './_iter-detect-f089461c.js';
|
|
25
23
|
import './_object-pie-133f504a.js';
|
|
26
|
-
import './_object-sap-
|
|
27
|
-
import './define-property-
|
|
28
|
-
import './typeof-
|
|
29
|
-
import './web.dom.iterable-
|
|
30
|
-
import './_is-array-
|
|
24
|
+
import './_object-sap-169d6272.js';
|
|
25
|
+
import './define-property-99e66838.js';
|
|
26
|
+
import './typeof-83d9eb10.js';
|
|
27
|
+
import './web.dom.iterable-fdf034f5.js';
|
|
28
|
+
import './_is-array-893ab020.js';
|
|
31
29
|
import './_library-528f1934.js';
|
|
30
|
+
import './events-6c3a7a63.js';
|
|
32
31
|
import 'prop-types';
|
|
33
32
|
import './isSymbol-a7e9aafe.js';
|
|
34
33
|
import './toNumber-5aeba6e7.js';
|
|
35
34
|
import 'react-dom';
|
|
35
|
+
import './slicedToArray-ca2c8b8d.js';
|
|
36
36
|
import './index-0dbff1d1.js';
|
|
37
|
-
import './slicedToArray-be2f7a22.js';
|
|
38
37
|
import './AdSlot.js';
|
|
39
38
|
import './Beam.js';
|
|
40
|
-
import './stringify-
|
|
41
|
-
import './asyncToGenerator-
|
|
39
|
+
import './stringify-c21932b3.js';
|
|
40
|
+
import './asyncToGenerator-b4dfe691.js';
|
|
42
41
|
import './Segment.js';
|
|
43
42
|
|
|
44
43
|
var DeckContent = function (_React$Component) {
|
|
@@ -173,14 +172,14 @@ var DeckContent = function (_React$Component) {
|
|
|
173
172
|
var newPath = pageNumber === 1 ? '' + path : path + '?page=' + pageNumber;
|
|
174
173
|
|
|
175
174
|
// 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
|
|
175
|
+
/* console.log('page change reported', {
|
|
176
|
+
currentPage: currentPage,
|
|
177
|
+
pageNumber: pageNumber,
|
|
178
|
+
pathname: pathname,
|
|
179
|
+
path: path,
|
|
180
|
+
newPath: newPath,
|
|
181
|
+
firstPage: pageNumber === 1,
|
|
182
|
+
queryString: queryString
|
|
184
183
|
}) */
|
|
185
184
|
|
|
186
185
|
if (pageview) {
|
|
@@ -200,35 +199,35 @@ var DeckContent = function (_React$Component) {
|
|
|
200
199
|
url = authorDetail.url;
|
|
201
200
|
|
|
202
201
|
if (displayName && url && url.current) {
|
|
203
|
-
return
|
|
202
|
+
return React.createElement(
|
|
204
203
|
'div',
|
|
205
204
|
{ key: _id },
|
|
206
|
-
index === 0 &&
|
|
205
|
+
index === 0 && React.createElement(
|
|
207
206
|
'span',
|
|
208
207
|
{ className: 'pr-1' },
|
|
209
208
|
'By'
|
|
210
209
|
),
|
|
211
|
-
|
|
210
|
+
React.createElement(
|
|
212
211
|
'a',
|
|
213
212
|
{ href: '/authors/${url.current}', className: 'text-muted' },
|
|
214
213
|
displayName,
|
|
215
|
-
length !== index + 1 &&
|
|
214
|
+
length !== index + 1 && React.createElement('br', null)
|
|
216
215
|
)
|
|
217
216
|
);
|
|
218
217
|
} else if (displayName) {
|
|
219
|
-
return
|
|
218
|
+
return React.createElement(
|
|
220
219
|
'div',
|
|
221
220
|
{ key: _id },
|
|
222
|
-
index === 0 &&
|
|
221
|
+
index === 0 && React.createElement(
|
|
223
222
|
'span',
|
|
224
223
|
{ className: 'pr-1' },
|
|
225
224
|
'By'
|
|
226
225
|
),
|
|
227
|
-
|
|
226
|
+
React.createElement(
|
|
228
227
|
'span',
|
|
229
228
|
{ className: 'text-muted' },
|
|
230
229
|
displayName,
|
|
231
|
-
length !== index + 1 &&
|
|
230
|
+
length !== index + 1 && React.createElement('br', null)
|
|
232
231
|
)
|
|
233
232
|
);
|
|
234
233
|
}
|
|
@@ -272,7 +271,7 @@ var DeckContent = function (_React$Component) {
|
|
|
272
271
|
articles = _this.state.data;
|
|
273
272
|
}
|
|
274
273
|
|
|
275
|
-
return
|
|
274
|
+
return React.createElement(
|
|
276
275
|
Row,
|
|
277
276
|
null,
|
|
278
277
|
articles && articles.map(function (row, index) {
|
|
@@ -284,51 +283,51 @@ var DeckContent = function (_React$Component) {
|
|
|
284
283
|
lgVar = 6;
|
|
285
284
|
}
|
|
286
285
|
if (row._type === 'BrandInsight' && row.adUnit) {
|
|
287
|
-
return
|
|
286
|
+
return React.createElement(ADInfeed, { index: index, infeedAd: row });
|
|
288
287
|
} else {
|
|
289
288
|
var pageNumber = row.pageNumber || _this.state.page;
|
|
290
289
|
var contentCategoryName = row.contentCategory && row.contentCategory.name && _this.mapping[row.contentCategory.name] ? row.contentCategory.name : 'Articles';
|
|
291
|
-
return
|
|
292
|
-
|
|
290
|
+
return React.createElement(
|
|
291
|
+
React.Fragment,
|
|
293
292
|
{ key: itemCounter },
|
|
294
|
-
|
|
293
|
+
React.createElement(
|
|
295
294
|
VisibilitySensor,
|
|
296
295
|
{
|
|
297
296
|
onChange: function onChange(isVisible) {
|
|
298
297
|
isVisible && _this.changePageNumber(pageNumber);
|
|
299
298
|
} },
|
|
300
|
-
|
|
299
|
+
React.createElement(
|
|
301
300
|
Col,
|
|
302
301
|
{ md: 12, lg: lgVar, counter: itemCounter++, style: { display: 'flex', flex: '1 0 auto' } },
|
|
303
|
-
|
|
302
|
+
React.createElement(
|
|
304
303
|
Card,
|
|
305
304
|
{ className: 'content-card', style: { flexDirection: mode } },
|
|
306
|
-
(row.thumbnail && row.thumbnail.asset || _this.props.defaultImage) &&
|
|
305
|
+
(row.thumbnail && row.thumbnail.asset || _this.props.defaultImage) && React.createElement(
|
|
307
306
|
'a',
|
|
308
307
|
{ href: _this.mapping[contentCategoryName] + '/' + row.url.current },
|
|
309
|
-
|
|
308
|
+
React.createElement(
|
|
310
309
|
LazyLoad,
|
|
311
310
|
{ height: _this.props.imageHeight },
|
|
312
|
-
|
|
311
|
+
React.createElement(Card.Img, {
|
|
313
312
|
variant: 'top',
|
|
314
313
|
src: _this.renderCardImage(row, page),
|
|
315
314
|
alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : ''
|
|
316
315
|
})
|
|
317
316
|
)
|
|
318
317
|
),
|
|
319
|
-
|
|
318
|
+
React.createElement(
|
|
320
319
|
Card.Body,
|
|
321
320
|
null,
|
|
322
|
-
|
|
321
|
+
React.createElement(
|
|
323
322
|
'a',
|
|
324
323
|
{ href: _this.mapping[contentCategoryName] + '/' + row.url.current },
|
|
325
|
-
|
|
324
|
+
React.createElement(
|
|
326
325
|
Card.Title,
|
|
327
326
|
null,
|
|
328
327
|
row.title
|
|
329
328
|
)
|
|
330
329
|
),
|
|
331
|
-
_this.props.showPublished && row.published &&
|
|
330
|
+
_this.props.showPublished && row.published && React.createElement(
|
|
332
331
|
Card.Subtitle,
|
|
333
332
|
null,
|
|
334
333
|
moment(row.published).format('MMMM DD, YYYY')
|
|
@@ -336,7 +335,7 @@ var DeckContent = function (_React$Component) {
|
|
|
336
335
|
_this.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 && row.authorMapping.map(function (authorDetail, index) {
|
|
337
336
|
return _this.renderAuthor(authorDetail, index, row.authorMapping.length);
|
|
338
337
|
}),
|
|
339
|
-
|
|
338
|
+
React.createElement(
|
|
340
339
|
Card.Text,
|
|
341
340
|
null,
|
|
342
341
|
clean_html_1(row.summary)
|
|
@@ -354,7 +353,7 @@ var DeckContent = function (_React$Component) {
|
|
|
354
353
|
var rightItems = _this.props.rightItems;
|
|
355
354
|
|
|
356
355
|
var i = ((index + 1) / numberOfItemsBeforeAd - 1) % rightItems.length;
|
|
357
|
-
return
|
|
356
|
+
return React.createElement(
|
|
358
357
|
Col,
|
|
359
358
|
{ md: 12, style: { display: 'flex', flex: '1 0 auto' } },
|
|
360
359
|
rightItems[i].component
|
|
@@ -362,15 +361,15 @@ var DeckContent = function (_React$Component) {
|
|
|
362
361
|
}, _this.renderManualPagination = function () {
|
|
363
362
|
var currentPage = _this.state.currentPage;
|
|
364
363
|
|
|
365
|
-
return
|
|
364
|
+
return React.createElement(
|
|
366
365
|
'div',
|
|
367
366
|
{ className: 'd-flex justify-content-between' },
|
|
368
|
-
currentPage && currentPage > 1 &&
|
|
367
|
+
currentPage && currentPage > 1 && React.createElement(
|
|
369
368
|
'a',
|
|
370
369
|
{ href: '?page=' + (currentPage - 1) },
|
|
371
370
|
'<< Previous'
|
|
372
371
|
),
|
|
373
|
-
|
|
372
|
+
React.createElement(
|
|
374
373
|
'a',
|
|
375
374
|
{ href: '?page=' + (currentPage + 1) },
|
|
376
375
|
'Next >>'
|
|
@@ -416,38 +415,38 @@ var DeckContent = function (_React$Component) {
|
|
|
416
415
|
brandInsight = _props.brandInsight;
|
|
417
416
|
|
|
418
417
|
|
|
419
|
-
return
|
|
418
|
+
return React.createElement(
|
|
420
419
|
'div',
|
|
421
420
|
{ className: 'contentDeck' },
|
|
422
|
-
autoScroll ?
|
|
423
|
-
|
|
421
|
+
autoScroll ? React.createElement(
|
|
422
|
+
React.Fragment,
|
|
424
423
|
null,
|
|
425
|
-
|
|
424
|
+
React.createElement(
|
|
426
425
|
InfiniteScroll,
|
|
427
426
|
{ dataLength: this.state.data.length, next: this.loadMore, hasMore: this.state.scrolling, scrollThreshold: 0.9 },
|
|
428
|
-
|
|
427
|
+
React.createElement(
|
|
429
428
|
Container,
|
|
430
429
|
null,
|
|
431
430
|
this.cardLoader(page, columns, variant, showBI, brandInsight)
|
|
432
431
|
)
|
|
433
432
|
),
|
|
434
|
-
|
|
433
|
+
React.createElement(
|
|
435
434
|
'noscript',
|
|
436
435
|
null,
|
|
437
436
|
this.renderManualPagination()
|
|
438
437
|
)
|
|
439
|
-
) :
|
|
440
|
-
|
|
438
|
+
) : React.createElement(
|
|
439
|
+
React.Fragment,
|
|
441
440
|
null,
|
|
442
|
-
|
|
441
|
+
React.createElement(
|
|
443
442
|
Container,
|
|
444
443
|
null,
|
|
445
444
|
this.cardLoader(page, columns, variant, showBI, brandInsight)
|
|
446
445
|
),
|
|
447
|
-
|
|
446
|
+
React.createElement(
|
|
448
447
|
'div',
|
|
449
448
|
{ style: { padding: '0px 10px' } },
|
|
450
|
-
this.state.scrolling ?
|
|
449
|
+
this.state.scrolling ? React.createElement(
|
|
451
450
|
'button',
|
|
452
451
|
{
|
|
453
452
|
style: { margin: 'auto', width: '100%' },
|
|
@@ -455,17 +454,17 @@ var DeckContent = function (_React$Component) {
|
|
|
455
454
|
_this2.loadMore();
|
|
456
455
|
} },
|
|
457
456
|
'Load More'
|
|
458
|
-
) :
|
|
457
|
+
) : React.createElement(
|
|
459
458
|
'p',
|
|
460
459
|
{ style: { textAlign: 'center' } },
|
|
461
|
-
|
|
460
|
+
React.createElement(
|
|
462
461
|
'b',
|
|
463
462
|
null,
|
|
464
463
|
'End of data'
|
|
465
464
|
)
|
|
466
465
|
)
|
|
467
466
|
),
|
|
468
|
-
|
|
467
|
+
React.createElement(
|
|
469
468
|
'noscript',
|
|
470
469
|
null,
|
|
471
470
|
this.renderManualPagination()
|
|
@@ -476,7 +475,7 @@ var DeckContent = function (_React$Component) {
|
|
|
476
475
|
}]);
|
|
477
476
|
|
|
478
477
|
return DeckContent;
|
|
479
|
-
}(
|
|
478
|
+
}(React.Component);
|
|
480
479
|
|
|
481
480
|
var ContentCard = withRouter(DeckContent);
|
|
482
481
|
|