@mjhls/mjh-framework 1.0.877-v1pageviewfix → 1.0.878
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 +1 -1
- package/dist/cjs/AD300x250.js +1 -1
- package/dist/cjs/AD300x250x600.js +1 -1
- package/dist/cjs/AD728x90.js +1 -1
- package/dist/cjs/ADFloatingFooter.js +1 -1
- package/dist/cjs/ADGutter.js +1 -1
- package/dist/cjs/ADSkyscraper.js +1 -1
- package/dist/cjs/ADSponsoredResources.js +1 -1
- package/dist/cjs/ADWebcast.js +1 -1
- package/dist/cjs/ADWelcome.js +1 -1
- package/dist/cjs/AccordionPanel.js +2 -2
- package/dist/cjs/AdSlot.js +1 -1
- package/dist/cjs/AdSlotsProvider.js +1 -1
- package/dist/cjs/AlgoliaSearch.js +68 -134
- package/dist/cjs/ArticleCarousel.js +2 -2
- package/dist/cjs/ArticleProgramLandingPage.js +8 -8
- package/dist/cjs/ArticleSeriesLandingPage.js +4 -4
- package/dist/cjs/ArticleSeriesListing.js +4 -4
- package/dist/cjs/Auth.js +3 -3
- package/dist/cjs/AuthWrapper.js +293 -1469
- package/dist/cjs/{BlockContent-9ebd251f.js → BlockContent-36e54d77.js} +1 -1
- package/dist/cjs/CMEDeck.js +1 -1
- package/dist/cjs/Column3.js +1 -1
- package/dist/cjs/ConferenceArticleCard.js +1 -1
- package/dist/cjs/DeckContent.js +4 -4
- package/dist/cjs/DeckQueue.js +3 -3
- package/dist/cjs/EventsDeck.js +9 -3
- package/dist/cjs/ExternalResources.js +8 -8
- package/dist/cjs/Feature.js +2 -2
- package/dist/cjs/ForbesHero.js +1 -1
- package/dist/cjs/GridContent.js +5 -5
- package/dist/cjs/GridHero.js +2 -2
- package/dist/cjs/GroupDeck.js +1 -1
- package/dist/cjs/HamMagazine.js +6 -6
- package/dist/cjs/Hero.js +2 -2
- package/dist/cjs/HorizontalArticleListing.js +8 -8
- package/dist/cjs/HorizontalHero.js +3 -3
- package/dist/cjs/IssueContentDeck.js +1 -1
- package/dist/cjs/IssueDeck.js +1 -1
- package/dist/cjs/IssueLanding.js +10 -10
- package/dist/cjs/LeftNav.js +1 -1
- package/dist/cjs/MasterDeck.js +4 -4
- package/dist/cjs/MediaSeriesLanding.js +24 -128
- package/dist/cjs/NavMagazine.js +6 -6
- package/dist/cjs/NavNative.js +3 -3
- package/dist/cjs/OncliveHero.js +2 -2
- package/dist/cjs/OncliveLargeHero.js +2 -2
- package/dist/cjs/PartnerDetailListing.js +17 -2643
- package/dist/cjs/PdfDownload.js +2 -2
- package/dist/cjs/PubSection.js +5 -5
- package/dist/cjs/PublicationDeck.js +1 -1
- package/dist/cjs/PublicationLanding.js +0 -4
- package/dist/cjs/QueueDeckExpanded.js +5 -5
- package/dist/cjs/RecentNews.js +2 -2
- package/dist/cjs/RelatedContent.js +1 -1
- package/dist/cjs/SeriesListingDeck.js +3 -3
- package/dist/cjs/{SeriesSlider-ba0c5d1a.js → SeriesSlider-ce3261cb.js} +1 -1
- package/dist/cjs/{SocialSearchComponent-4942ddfc.js → SocialSearchComponent-5ec44406.js} +3 -3
- package/dist/cjs/TaxonomyCard.js +2 -2
- package/dist/cjs/TaxonomyDescription.js +8 -8
- package/dist/cjs/TemplateNormal.js +6 -6
- package/dist/cjs/ThumbnailCard.js +2 -2
- package/dist/cjs/Ustream.js +4 -4
- package/dist/cjs/VerticalHero.js +1 -1
- package/dist/cjs/VideoProgramLandingPage.js +8 -8
- package/dist/cjs/VideoSeriesCard.js +1 -1
- package/dist/cjs/VideoSeriesLandingPage.js +4 -4
- package/dist/cjs/VideoSeriesListing.js +4 -4
- package/dist/cjs/View.js +19 -23
- package/dist/cjs/YahooHero.js +2 -2
- package/dist/cjs/YoutubeGroup.js +2 -2
- package/dist/cjs/{entities-df1aed86.js → entities-3f9d0f2f.js} +0 -4
- package/dist/cjs/getRelatedArticle.js +2 -2
- package/dist/cjs/getSerializers.js +8 -8
- package/dist/{esm/iconBase-ccc56b97.js → cjs/iconBase-68959171.js} +5 -2
- package/dist/cjs/{index-50be6759.js → index-8041a4eb.js} +9 -15
- package/dist/cjs/{index-602af93b.js → index-e2ec2eae.js} +5 -5
- package/dist/cjs/{index-d48b231c.js → index-efca863c.js} +5 -5
- 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 +17 -18
- package/dist/cjs/{main-f1c77adb.js → main-025fdc78.js} +3 -3
- package/dist/cjs/urlFor.js +1 -1
- package/dist/cjs/{util-93a37fd0.js → util-6f784d85.js} +0 -11
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +13 -13
- package/dist/esm/AD300x250x600.js +13 -13
- package/dist/esm/AD728x90.js +14 -14
- package/dist/esm/ADFloatingFooter.js +16 -16
- package/dist/esm/ADFooter.js +9 -9
- package/dist/esm/ADGutter.js +16 -16
- package/dist/esm/{ADInfeed-19675d06.js → ADInfeed-014c7bd1.js} +6 -6
- package/dist/esm/ADSkyscraper.js +16 -16
- package/dist/esm/ADSponsoredResources.js +16 -16
- package/dist/esm/ADWebcast.js +16 -16
- package/dist/esm/ADWelcome.js +20 -20
- package/dist/esm/{ADlgInfeed-970ed008.js → ADlgInfeed-75e097f4.js} +5 -5
- package/dist/esm/AccordionPanel.js +21 -21
- package/dist/esm/AdSlot.js +12 -12
- package/dist/esm/AdSlotsProvider.js +9 -9
- package/dist/esm/AlgoliaSearch.js +288 -354
- package/dist/esm/AlphabeticList.js +19 -19
- package/dist/esm/ArticleCarousel.js +11 -11
- package/dist/esm/ArticleProgramLandingPage.js +34 -34
- package/dist/esm/ArticleSeriesLandingPage.js +26 -26
- package/dist/esm/ArticleSeriesListing.js +41 -41
- package/dist/esm/Auth.js +81 -81
- package/dist/esm/AuthWrapper.js +312 -1488
- package/dist/esm/{AuthorComponent-11adff02.js → AuthorComponent-46a745ba.js} +11 -11
- package/dist/esm/Beam.js +5 -5
- package/dist/esm/{BlockContent-1e73bd2c.js → BlockContent-52cf21c5.js} +4 -4
- package/dist/esm/Breadcrumbs.js +14 -14
- package/dist/esm/CMEDeck.js +68 -68
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +18 -18
- package/dist/esm/Column3.js +32 -32
- package/dist/esm/ConferenceArticleCard.js +17 -17
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/DeckContent.js +64 -64
- package/dist/esm/DeckQueue.js +55 -55
- package/dist/esm/{Dfp-102f0beb.js → Dfp-4ca12f2e.js} +13 -13
- package/dist/esm/EventsDeck.js +82 -76
- package/dist/esm/ExternalResources.js +52 -52
- package/dist/esm/Feature.js +19 -19
- package/dist/esm/ForbesHero.js +30 -30
- package/dist/esm/GridContent.js +139 -139
- package/dist/esm/GridHero.js +32 -32
- package/dist/esm/GroupDeck.js +40 -40
- package/dist/esm/HamMagazine.js +91 -91
- package/dist/esm/Header.js +8 -8
- package/dist/esm/Hero.js +11 -11
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalArticleListing.js +48 -48
- package/dist/esm/HorizontalHero.js +24 -24
- package/dist/esm/IssueContentDeck.js +43 -43
- package/dist/esm/IssueDeck.js +40 -40
- package/dist/esm/IssueLanding.js +39 -39
- package/dist/esm/LeftNav.js +23 -23
- package/dist/esm/MasterDeck.js +52 -52
- package/dist/esm/MediaSeriesLanding.js +355 -459
- package/dist/esm/NavDvm.js +48 -48
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +94 -94
- package/dist/esm/NavNative.js +82 -82
- package/dist/esm/OncliveHero.js +17 -17
- package/dist/esm/OncliveLargeHero.js +55 -55
- package/dist/esm/PageFilter.js +9 -9
- package/dist/esm/PartnerDetailListing.js +88 -2713
- package/dist/esm/PdfDownload.js +7 -7
- package/dist/esm/PopUpModal.js +11 -11
- package/dist/esm/PubSection.js +24 -24
- package/dist/esm/PubToc.js +10 -10
- package/dist/esm/PublicationDeck.js +37 -37
- package/dist/esm/PublicationLanding.js +57 -61
- package/dist/esm/QueueDeckExpanded.js +256 -256
- package/dist/esm/RecentNews.js +18 -18
- 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 +8 -8
- package/dist/esm/Segment.js +4 -4
- package/dist/esm/SeriesListingDeck.js +26 -26
- package/dist/esm/{SeriesSlider-45adb8dc.js → SeriesSlider-7a6c45ce.js} +20 -20
- package/dist/esm/SideFooter.js +25 -25
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-8e0fcf66.js → SocialSearchComponent-bdecba55.js} +23 -23
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +40 -40
- package/dist/esm/TaxonomyDescription.js +30 -30
- package/dist/esm/TemplateNormal.js +38 -38
- package/dist/esm/ThumbnailCard.js +14 -14
- package/dist/esm/Ustream.js +24 -24
- package/dist/esm/VerticalHero.js +15 -15
- package/dist/esm/VideoProgramLandingPage.js +41 -41
- package/dist/esm/VideoSeriesCard.js +20 -20
- package/dist/esm/VideoSeriesFilter.js +11 -11
- package/dist/esm/VideoSeriesLandingPage.js +26 -26
- package/dist/esm/VideoSeriesListing.js +57 -57
- package/dist/esm/View.js +199 -203
- package/dist/esm/YahooHero.js +28 -28
- package/dist/esm/YoutubeGroup.js +38 -38
- package/dist/esm/{_is-array-8d21b9e3.js → _is-array-893ab020.js} +1 -1
- package/dist/esm/{_iter-detect-98db3b07.js → _iter-detect-f089461c.js} +1 -1
- package/dist/esm/{_object-sap-7cee6f84.js → _object-sap-169d6272.js} +1 -1
- package/dist/esm/{_object-to-array-2300e51b.js → _object-to-array-50a6b9a3.js} +1 -1
- package/dist/esm/{asyncToGenerator-5ef104a7.js → asyncToGenerator-b4dfe691.js} +3 -3
- package/dist/esm/{brightcove-react-player-loader.es-57a70a56.js → brightcove-react-player-loader.es-b43c695a.js} +3 -3
- package/dist/esm/{core.get-iterator-method-ea258bb1.js → core.get-iterator-method-e903ff31.js} +1 -1
- package/dist/esm/{define-property-5f1bda73.js → define-property-99e66838.js} +1 -1
- package/dist/esm/{defineProperty-8c30428f.js → defineProperty-8fa0bc8d.js} +1 -1
- package/dist/esm/{entities-6d9154b4.js → entities-932b50cf.js} +0 -4
- package/dist/esm/{extends-6d8e3924.js → extends-dc6a71fd.js} +1 -1
- package/dist/esm/faundadb.js +4 -4
- package/dist/esm/getRelatedArticle.js +7 -7
- package/dist/esm/getRootDocGroup.js +4 -4
- package/dist/esm/getSerializers.js +25 -25
- package/dist/esm/{getTargeting-4061f839.js → getTargeting-ff2c9409.js} +2 -2
- package/dist/esm/getTargeting.js +5 -5
- package/dist/{cjs/iconBase-be4097c0.js → esm/iconBase-602d52fe.js} +8 -33
- package/dist/esm/{index-3f5c03b2.js → index-0dbff1d1.js} +5 -5
- package/dist/esm/{index-f0fc23eb.js → index-2446af28.js} +3 -3
- package/dist/esm/{index-755f2cc2.js → index-35bdcc81.js} +4 -4
- package/dist/esm/{index-98ca9cec.js → index-67e1773f.js} +9 -15
- package/dist/esm/{index-51694988.js → index-f2783f14.js} +428 -428
- 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 +59 -60
- package/dist/esm/{inherits-a6ba2ec4.js → inherits-8a801a18.js} +4 -4
- package/dist/esm/{keys-31dcdb31.js → keys-425c8ab0.js} +2 -2
- package/dist/esm/{main-1894c974.js → main-4136096f.js} +19 -19
- package/dist/esm/{react-social-icons-9be47857.js → react-social-icons-91f9716f.js} +5 -5
- package/dist/esm/{slicedToArray-6ebcbfea.js → slicedToArray-ca2c8b8d.js} +2 -2
- package/dist/esm/{stringify-2b084bee.js → stringify-c21932b3.js} +1 -1
- package/dist/esm/{toConsumableArray-f7074d7c.js → toConsumableArray-7b1c0e23.js} +2 -2
- package/dist/esm/{typeof-e9fc0c5d.js → typeof-83d9eb10.js} +3 -3
- package/dist/esm/urlFor.js +4 -4
- package/dist/esm/{ustream-api-d3714624.js → ustream-api-41166338.js} +4 -4
- package/dist/esm/{util-8ed16d48.js → util-3ab476bf.js} +0 -11
- package/dist/esm/{visibility-sensor-72fd8f8b.js → visibility-sensor-f40c2564.js} +2 -2
- package/dist/esm/{web.dom.iterable-ab4dea5c.js → web.dom.iterable-fdf034f5.js} +1 -1
- package/package.json +1 -1
- package/dist/cjs/defineProperty-e0fb52c5.js +0 -73
- package/dist/cjs/typeof-1358762e.js +0 -33
- package/dist/esm/defineProperty-23a8f8cd.js +0 -68
- package/dist/esm/typeof-2f07d0e8.js +0 -30
- /package/dist/cjs/{ADInfeed-b6b7b0ec.js → ADInfeed-f7e6956b.js} +0 -0
- /package/dist/cjs/{ADlgInfeed-8e290400.js → ADlgInfeed-4df6d147.js} +0 -0
package/dist/esm/Column3.js
CHANGED
|
@@ -1,36 +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-4136096f.js';
|
|
10
|
+
import './slicedToArray-ca2c8b8d.js';
|
|
11
11
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
12
|
-
import './web.dom.iterable-
|
|
13
|
-
import './core.get-iterator-method-
|
|
12
|
+
import './web.dom.iterable-fdf034f5.js';
|
|
13
|
+
import './core.get-iterator-method-e903ff31.js';
|
|
14
14
|
import './AdSlot.js';
|
|
15
|
-
import './extends-
|
|
15
|
+
import './extends-dc6a71fd.js';
|
|
16
16
|
import './_object-pie-133f504a.js';
|
|
17
17
|
import 'prop-types';
|
|
18
|
-
import './index-
|
|
18
|
+
import './index-2446af28.js';
|
|
19
19
|
import './events-6c3a7a63.js';
|
|
20
20
|
import './debounce-533d9748.js';
|
|
21
21
|
import './isSymbol-a7e9aafe.js';
|
|
22
22
|
import './toNumber-5aeba6e7.js';
|
|
23
23
|
import './Beam.js';
|
|
24
|
-
import './stringify-
|
|
25
|
-
import './asyncToGenerator-
|
|
24
|
+
import './stringify-c21932b3.js';
|
|
25
|
+
import './asyncToGenerator-b4dfe691.js';
|
|
26
26
|
import './_library-528f1934.js';
|
|
27
|
-
import './_iter-detect-
|
|
27
|
+
import './_iter-detect-f089461c.js';
|
|
28
28
|
import './Segment.js';
|
|
29
29
|
import 'react-bootstrap/ListGroup';
|
|
30
30
|
import './ADWebcast.js';
|
|
31
|
-
import './defineProperty-
|
|
32
|
-
import './define-property-
|
|
33
|
-
import './react-social-icons-
|
|
31
|
+
import './defineProperty-8fa0bc8d.js';
|
|
32
|
+
import './define-property-99e66838.js';
|
|
33
|
+
import './react-social-icons-91f9716f.js';
|
|
34
34
|
import './get-3c308da4.js';
|
|
35
35
|
import './eq-bdcbf886.js';
|
|
36
36
|
import 'react-bootstrap';
|
|
@@ -69,62 +69,62 @@ var Column3 = function Column3(props) {
|
|
|
69
69
|
}
|
|
70
70
|
}, []);
|
|
71
71
|
|
|
72
|
-
return
|
|
72
|
+
return React.createElement(
|
|
73
73
|
'section',
|
|
74
74
|
null,
|
|
75
|
-
|
|
75
|
+
React.createElement(
|
|
76
76
|
Row,
|
|
77
77
|
{ className: 'justify-content-md-center' },
|
|
78
|
-
|
|
78
|
+
React.createElement(
|
|
79
79
|
Col,
|
|
80
80
|
{ md: true, className: 'leftCol', style: { width: '200px' } },
|
|
81
|
-
|
|
82
|
-
website && website.sponsoredAd &&
|
|
83
|
-
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 })
|
|
84
84
|
),
|
|
85
|
-
|
|
85
|
+
React.createElement(
|
|
86
86
|
Col,
|
|
87
87
|
{ md: true, className: 'middleCol', style: { maxWidth: '640px', marginTop: !title && '10px' } },
|
|
88
|
-
showFilter ?
|
|
88
|
+
showFilter ? React.createElement(
|
|
89
89
|
'div',
|
|
90
90
|
{ className: 'title-wrap' },
|
|
91
|
-
|
|
91
|
+
React.createElement(
|
|
92
92
|
'h1',
|
|
93
93
|
{ className: 'title' },
|
|
94
94
|
title
|
|
95
95
|
),
|
|
96
|
-
|
|
96
|
+
React.createElement(
|
|
97
97
|
'div',
|
|
98
98
|
{ className: 'filter-box' },
|
|
99
|
-
|
|
99
|
+
React.createElement(PageFilter, { getParams: getParams, filters: filters, defaultFilter: defaultFilter })
|
|
100
100
|
)
|
|
101
|
-
) : title &&
|
|
101
|
+
) : title && React.createElement(
|
|
102
102
|
'h1',
|
|
103
103
|
{ className: 'title' },
|
|
104
104
|
title
|
|
105
105
|
),
|
|
106
106
|
props.children
|
|
107
107
|
),
|
|
108
|
-
|
|
108
|
+
React.createElement(
|
|
109
109
|
'style',
|
|
110
110
|
{ jsx: 'true' },
|
|
111
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 '
|
|
112
112
|
),
|
|
113
|
-
(!main_43 || showRightAd) &&
|
|
113
|
+
(!main_43 || showRightAd) && React.createElement(
|
|
114
114
|
Col,
|
|
115
115
|
{ xs: 12, className: 'rightCol' },
|
|
116
|
-
website && website.conferenceBannerContent &&
|
|
117
|
-
|
|
116
|
+
website && website.conferenceBannerContent && React.createElement(ConferenceBanner, { website: website }),
|
|
117
|
+
React.createElement(
|
|
118
118
|
'div',
|
|
119
119
|
{ ref: adRef },
|
|
120
120
|
rightItems && rightItems.map(function (row, index) {
|
|
121
|
-
return
|
|
121
|
+
return React.createElement(
|
|
122
122
|
'div',
|
|
123
123
|
{ key: index },
|
|
124
124
|
row.component
|
|
125
125
|
);
|
|
126
126
|
}),
|
|
127
|
-
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 })
|
|
128
128
|
)
|
|
129
129
|
)
|
|
130
130
|
)
|
|
@@ -1,11 +1,11 @@
|
|
|
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-
|
|
6
|
-
import './web.dom.iterable-
|
|
7
|
-
import './core.get-iterator-method-
|
|
8
|
-
import './index-
|
|
5
|
+
import './slicedToArray-ca2c8b8d.js';
|
|
6
|
+
import './web.dom.iterable-fdf034f5.js';
|
|
7
|
+
import './core.get-iterator-method-e903ff31.js';
|
|
8
|
+
import './index-0dbff1d1.js';
|
|
9
9
|
|
|
10
10
|
/*
|
|
11
11
|
Example usage - targetedonc.com/latest-conference
|
|
@@ -32,51 +32,51 @@ var ConferenceArticleCard = function ConferenceArticleCard(props) {
|
|
|
32
32
|
|
|
33
33
|
// title, thumbnail, summary, published, documentGroup.identifier.current, documentGroup.identifier.name
|
|
34
34
|
|
|
35
|
-
return
|
|
35
|
+
return React.createElement(
|
|
36
36
|
'div',
|
|
37
37
|
{ className: 'conference-media' },
|
|
38
|
-
|
|
38
|
+
React.createElement(
|
|
39
39
|
'a',
|
|
40
40
|
{ className: 'img-wrapper', href: '/view/' + (data.url ? data.url.current : '') },
|
|
41
|
-
|
|
41
|
+
React.createElement('img', {
|
|
42
42
|
className: 'mr-3 img-fluid',
|
|
43
43
|
src: data.thumbnail && urlFor({ client: client, source: data.thumbnail.asset, imageWidth: 350 }),
|
|
44
44
|
alt: data.title
|
|
45
45
|
})
|
|
46
46
|
),
|
|
47
|
-
|
|
47
|
+
React.createElement(
|
|
48
48
|
'div',
|
|
49
49
|
{ className: 'media-body' },
|
|
50
|
-
|
|
50
|
+
React.createElement(
|
|
51
51
|
'a',
|
|
52
52
|
{ href: '/view/' + (data.url ? data.url.current : '') },
|
|
53
|
-
|
|
53
|
+
React.createElement(
|
|
54
54
|
'h4',
|
|
55
55
|
{ className: 'conf-media__card-title' },
|
|
56
56
|
data.title
|
|
57
57
|
)
|
|
58
58
|
),
|
|
59
|
-
|
|
59
|
+
React.createElement(
|
|
60
60
|
'p',
|
|
61
61
|
{ className: 'conf-media__card-text' },
|
|
62
62
|
moment(data.published).format('MMMM Do YYYY, h:mma')
|
|
63
63
|
),
|
|
64
|
-
|
|
64
|
+
React.createElement(
|
|
65
65
|
'p',
|
|
66
66
|
{ className: 'mb-1 conference-group' },
|
|
67
|
-
data.documentGroup && data.documentGroup.identifier && (data.documentGroup.identifier.current.includes('/') ?
|
|
67
|
+
data.documentGroup && data.documentGroup.identifier && (data.documentGroup.identifier.current.includes('/') ? React.createElement(
|
|
68
68
|
'a',
|
|
69
69
|
{ href: '/' + data.documentGroup.identifier.current, alt: data.thumbnail && data.thumbnail.alt || data.title },
|
|
70
70
|
data.documentGroup.name
|
|
71
|
-
) :
|
|
71
|
+
) : React.createElement(
|
|
72
72
|
'a',
|
|
73
73
|
{ href: '/conference/' + data.documentGroup.identifier.current, alt: data.thumbnail && data.thumbnail.alt || data.title },
|
|
74
74
|
data.documentGroup.name
|
|
75
75
|
))
|
|
76
76
|
),
|
|
77
|
-
|
|
77
|
+
React.createElement('p', { className: 'pt-2 card-text', dangerouslySetInnerHTML: { __html: data.summary } })
|
|
78
78
|
),
|
|
79
|
-
|
|
79
|
+
React.createElement(
|
|
80
80
|
'style',
|
|
81
81
|
{ jsx: 'true' },
|
|
82
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,34 +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-
|
|
18
|
-
import { c as clean_html_1 } from './entities-
|
|
19
|
-
import { A as ADInfeed } from './ADInfeed-
|
|
16
|
+
import { L as LazyLoad } from './index-35bdcc81.js';
|
|
17
|
+
import { m as main_43 } from './main-4136096f.js';
|
|
18
|
+
import { c as clean_html_1 } from './entities-932b50cf.js';
|
|
19
|
+
import { A as ADInfeed } from './ADInfeed-014c7bd1.js';
|
|
20
20
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
21
|
-
import './core.get-iterator-method-
|
|
22
|
-
import './_iter-detect-
|
|
21
|
+
import './core.get-iterator-method-e903ff31.js';
|
|
22
|
+
import './_iter-detect-f089461c.js';
|
|
23
23
|
import './_object-pie-133f504a.js';
|
|
24
|
-
import './_object-sap-
|
|
25
|
-
import './define-property-
|
|
26
|
-
import './typeof-
|
|
27
|
-
import './web.dom.iterable-
|
|
28
|
-
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';
|
|
29
29
|
import './_library-528f1934.js';
|
|
30
30
|
import './events-6c3a7a63.js';
|
|
31
31
|
import 'prop-types';
|
|
32
32
|
import './isSymbol-a7e9aafe.js';
|
|
33
33
|
import './toNumber-5aeba6e7.js';
|
|
34
34
|
import 'react-dom';
|
|
35
|
-
import './slicedToArray-
|
|
36
|
-
import './index-
|
|
35
|
+
import './slicedToArray-ca2c8b8d.js';
|
|
36
|
+
import './index-0dbff1d1.js';
|
|
37
37
|
import './AdSlot.js';
|
|
38
38
|
import './Beam.js';
|
|
39
|
-
import './stringify-
|
|
40
|
-
import './asyncToGenerator-
|
|
39
|
+
import './stringify-c21932b3.js';
|
|
40
|
+
import './asyncToGenerator-b4dfe691.js';
|
|
41
41
|
import './Segment.js';
|
|
42
42
|
|
|
43
43
|
var DeckContent = function (_React$Component) {
|
|
@@ -199,35 +199,35 @@ var DeckContent = function (_React$Component) {
|
|
|
199
199
|
url = authorDetail.url;
|
|
200
200
|
|
|
201
201
|
if (displayName && url && url.current) {
|
|
202
|
-
return
|
|
202
|
+
return React.createElement(
|
|
203
203
|
'div',
|
|
204
204
|
{ key: _id },
|
|
205
|
-
index === 0 &&
|
|
205
|
+
index === 0 && React.createElement(
|
|
206
206
|
'span',
|
|
207
207
|
{ className: 'pr-1' },
|
|
208
208
|
'By'
|
|
209
209
|
),
|
|
210
|
-
|
|
210
|
+
React.createElement(
|
|
211
211
|
'a',
|
|
212
212
|
{ href: '/authors/${url.current}', className: 'text-muted' },
|
|
213
213
|
displayName,
|
|
214
|
-
length !== index + 1 &&
|
|
214
|
+
length !== index + 1 && React.createElement('br', null)
|
|
215
215
|
)
|
|
216
216
|
);
|
|
217
217
|
} else if (displayName) {
|
|
218
|
-
return
|
|
218
|
+
return React.createElement(
|
|
219
219
|
'div',
|
|
220
220
|
{ key: _id },
|
|
221
|
-
index === 0 &&
|
|
221
|
+
index === 0 && React.createElement(
|
|
222
222
|
'span',
|
|
223
223
|
{ className: 'pr-1' },
|
|
224
224
|
'By'
|
|
225
225
|
),
|
|
226
|
-
|
|
226
|
+
React.createElement(
|
|
227
227
|
'span',
|
|
228
228
|
{ className: 'text-muted' },
|
|
229
229
|
displayName,
|
|
230
|
-
length !== index + 1 &&
|
|
230
|
+
length !== index + 1 && React.createElement('br', null)
|
|
231
231
|
)
|
|
232
232
|
);
|
|
233
233
|
}
|
|
@@ -271,7 +271,7 @@ var DeckContent = function (_React$Component) {
|
|
|
271
271
|
articles = _this.state.data;
|
|
272
272
|
}
|
|
273
273
|
|
|
274
|
-
return
|
|
274
|
+
return React.createElement(
|
|
275
275
|
Row,
|
|
276
276
|
null,
|
|
277
277
|
articles && articles.map(function (row, index) {
|
|
@@ -283,51 +283,51 @@ var DeckContent = function (_React$Component) {
|
|
|
283
283
|
lgVar = 6;
|
|
284
284
|
}
|
|
285
285
|
if (row._type === 'BrandInsight' && row.adUnit) {
|
|
286
|
-
return
|
|
286
|
+
return React.createElement(ADInfeed, { index: index, infeedAd: row });
|
|
287
287
|
} else {
|
|
288
288
|
var pageNumber = row.pageNumber || _this.state.page;
|
|
289
289
|
var contentCategoryName = row.contentCategory && row.contentCategory.name && _this.mapping[row.contentCategory.name] ? row.contentCategory.name : 'Articles';
|
|
290
|
-
return
|
|
291
|
-
|
|
290
|
+
return React.createElement(
|
|
291
|
+
React.Fragment,
|
|
292
292
|
{ key: itemCounter },
|
|
293
|
-
|
|
293
|
+
React.createElement(
|
|
294
294
|
VisibilitySensor,
|
|
295
295
|
{
|
|
296
296
|
onChange: function onChange(isVisible) {
|
|
297
297
|
isVisible && _this.changePageNumber(pageNumber);
|
|
298
298
|
} },
|
|
299
|
-
|
|
299
|
+
React.createElement(
|
|
300
300
|
Col,
|
|
301
301
|
{ md: 12, lg: lgVar, counter: itemCounter++, style: { display: 'flex', flex: '1 0 auto' } },
|
|
302
|
-
|
|
302
|
+
React.createElement(
|
|
303
303
|
Card,
|
|
304
304
|
{ className: 'content-card', style: { flexDirection: mode } },
|
|
305
|
-
(row.thumbnail && row.thumbnail.asset || _this.props.defaultImage) &&
|
|
305
|
+
(row.thumbnail && row.thumbnail.asset || _this.props.defaultImage) && React.createElement(
|
|
306
306
|
'a',
|
|
307
307
|
{ href: _this.mapping[contentCategoryName] + '/' + row.url.current },
|
|
308
|
-
|
|
308
|
+
React.createElement(
|
|
309
309
|
LazyLoad,
|
|
310
310
|
{ height: _this.props.imageHeight },
|
|
311
|
-
|
|
311
|
+
React.createElement(Card.Img, {
|
|
312
312
|
variant: 'top',
|
|
313
313
|
src: _this.renderCardImage(row, page),
|
|
314
314
|
alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : ''
|
|
315
315
|
})
|
|
316
316
|
)
|
|
317
317
|
),
|
|
318
|
-
|
|
318
|
+
React.createElement(
|
|
319
319
|
Card.Body,
|
|
320
320
|
null,
|
|
321
|
-
|
|
321
|
+
React.createElement(
|
|
322
322
|
'a',
|
|
323
323
|
{ href: _this.mapping[contentCategoryName] + '/' + row.url.current },
|
|
324
|
-
|
|
324
|
+
React.createElement(
|
|
325
325
|
Card.Title,
|
|
326
326
|
null,
|
|
327
327
|
row.title
|
|
328
328
|
)
|
|
329
329
|
),
|
|
330
|
-
_this.props.showPublished && row.published &&
|
|
330
|
+
_this.props.showPublished && row.published && React.createElement(
|
|
331
331
|
Card.Subtitle,
|
|
332
332
|
null,
|
|
333
333
|
moment(row.published).format('MMMM DD, YYYY')
|
|
@@ -335,7 +335,7 @@ var DeckContent = function (_React$Component) {
|
|
|
335
335
|
_this.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 && row.authorMapping.map(function (authorDetail, index) {
|
|
336
336
|
return _this.renderAuthor(authorDetail, index, row.authorMapping.length);
|
|
337
337
|
}),
|
|
338
|
-
|
|
338
|
+
React.createElement(
|
|
339
339
|
Card.Text,
|
|
340
340
|
null,
|
|
341
341
|
clean_html_1(row.summary)
|
|
@@ -353,7 +353,7 @@ var DeckContent = function (_React$Component) {
|
|
|
353
353
|
var rightItems = _this.props.rightItems;
|
|
354
354
|
|
|
355
355
|
var i = ((index + 1) / numberOfItemsBeforeAd - 1) % rightItems.length;
|
|
356
|
-
return
|
|
356
|
+
return React.createElement(
|
|
357
357
|
Col,
|
|
358
358
|
{ md: 12, style: { display: 'flex', flex: '1 0 auto' } },
|
|
359
359
|
rightItems[i].component
|
|
@@ -361,15 +361,15 @@ var DeckContent = function (_React$Component) {
|
|
|
361
361
|
}, _this.renderManualPagination = function () {
|
|
362
362
|
var currentPage = _this.state.currentPage;
|
|
363
363
|
|
|
364
|
-
return
|
|
364
|
+
return React.createElement(
|
|
365
365
|
'div',
|
|
366
366
|
{ className: 'd-flex justify-content-between' },
|
|
367
|
-
currentPage && currentPage > 1 &&
|
|
367
|
+
currentPage && currentPage > 1 && React.createElement(
|
|
368
368
|
'a',
|
|
369
369
|
{ href: '?page=' + (currentPage - 1) },
|
|
370
370
|
'<< Previous'
|
|
371
371
|
),
|
|
372
|
-
|
|
372
|
+
React.createElement(
|
|
373
373
|
'a',
|
|
374
374
|
{ href: '?page=' + (currentPage + 1) },
|
|
375
375
|
'Next >>'
|
|
@@ -415,38 +415,38 @@ var DeckContent = function (_React$Component) {
|
|
|
415
415
|
brandInsight = _props.brandInsight;
|
|
416
416
|
|
|
417
417
|
|
|
418
|
-
return
|
|
418
|
+
return React.createElement(
|
|
419
419
|
'div',
|
|
420
420
|
{ className: 'contentDeck' },
|
|
421
|
-
autoScroll ?
|
|
422
|
-
|
|
421
|
+
autoScroll ? React.createElement(
|
|
422
|
+
React.Fragment,
|
|
423
423
|
null,
|
|
424
|
-
|
|
424
|
+
React.createElement(
|
|
425
425
|
InfiniteScroll,
|
|
426
426
|
{ dataLength: this.state.data.length, next: this.loadMore, hasMore: this.state.scrolling, scrollThreshold: 0.9 },
|
|
427
|
-
|
|
427
|
+
React.createElement(
|
|
428
428
|
Container,
|
|
429
429
|
null,
|
|
430
430
|
this.cardLoader(page, columns, variant, showBI, brandInsight)
|
|
431
431
|
)
|
|
432
432
|
),
|
|
433
|
-
|
|
433
|
+
React.createElement(
|
|
434
434
|
'noscript',
|
|
435
435
|
null,
|
|
436
436
|
this.renderManualPagination()
|
|
437
437
|
)
|
|
438
|
-
) :
|
|
439
|
-
|
|
438
|
+
) : React.createElement(
|
|
439
|
+
React.Fragment,
|
|
440
440
|
null,
|
|
441
|
-
|
|
441
|
+
React.createElement(
|
|
442
442
|
Container,
|
|
443
443
|
null,
|
|
444
444
|
this.cardLoader(page, columns, variant, showBI, brandInsight)
|
|
445
445
|
),
|
|
446
|
-
|
|
446
|
+
React.createElement(
|
|
447
447
|
'div',
|
|
448
448
|
{ style: { padding: '0px 10px' } },
|
|
449
|
-
this.state.scrolling ?
|
|
449
|
+
this.state.scrolling ? React.createElement(
|
|
450
450
|
'button',
|
|
451
451
|
{
|
|
452
452
|
style: { margin: 'auto', width: '100%' },
|
|
@@ -454,17 +454,17 @@ var DeckContent = function (_React$Component) {
|
|
|
454
454
|
_this2.loadMore();
|
|
455
455
|
} },
|
|
456
456
|
'Load More'
|
|
457
|
-
) :
|
|
457
|
+
) : React.createElement(
|
|
458
458
|
'p',
|
|
459
459
|
{ style: { textAlign: 'center' } },
|
|
460
|
-
|
|
460
|
+
React.createElement(
|
|
461
461
|
'b',
|
|
462
462
|
null,
|
|
463
463
|
'End of data'
|
|
464
464
|
)
|
|
465
465
|
)
|
|
466
466
|
),
|
|
467
|
-
|
|
467
|
+
React.createElement(
|
|
468
468
|
'noscript',
|
|
469
469
|
null,
|
|
470
470
|
this.renderManualPagination()
|
|
@@ -475,7 +475,7 @@ var DeckContent = function (_React$Component) {
|
|
|
475
475
|
}]);
|
|
476
476
|
|
|
477
477
|
return DeckContent;
|
|
478
|
-
}(
|
|
478
|
+
}(React.Component);
|
|
479
479
|
|
|
480
480
|
var ContentCard = withRouter(DeckContent);
|
|
481
481
|
|