@mjhls/mjh-framework 1.0.672 → 1.0.673-article-series
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/AD.js +10 -9
- package/dist/cjs/AD300x250.js +10 -9
- package/dist/cjs/AD300x250x600.js +10 -9
- package/dist/cjs/AD728x90.js +11 -10
- package/dist/cjs/ADFloatingFooter.js +12 -11
- package/dist/cjs/ADFooter.js +9 -8
- package/dist/cjs/ADGutter.js +12 -11
- package/dist/cjs/{ADInfeed-9735aff2.js → ADInfeed-bc591de7.js} +11 -9
- package/dist/cjs/ADSkyscraper.js +12 -11
- package/dist/cjs/ADSponsoredResources.js +12 -11
- package/dist/cjs/ADWebcast.js +12 -11
- package/dist/cjs/ADWelcome.js +16 -15
- package/dist/cjs/{ADlgInfeed-6bd11848.js → ADlgInfeed-4b713637.js} +7 -6
- package/dist/cjs/AccordionPanel.js +24 -22
- package/dist/cjs/AdSlot.js +14 -13
- package/dist/cjs/AdSlotsProvider.js +6 -5
- package/dist/cjs/AlphabeticList.js +16 -15
- package/dist/cjs/ArticleCarousel.js +9 -8
- package/dist/cjs/ArticleSeriesListing.js +38 -37
- package/dist/cjs/Auth.js +430 -593
- package/dist/cjs/{AuthorComponent-bb831b74.js → AuthorComponent-ac8972ce.js} +13 -12
- package/dist/cjs/{BlockContent-88f69acd.js → BlockContent-8b494587.js} +25 -24
- package/dist/cjs/Breadcrumbs.js +23 -21
- package/dist/cjs/CMEDeck.js +61 -61
- package/dist/cjs/Column1.js +14 -11
- package/dist/cjs/Column2.js +22 -19
- package/dist/cjs/Column3.js +35 -32
- package/dist/cjs/ConferenceArticleCard.js +19 -18
- package/dist/cjs/ConferenceBanner-6c9e718a.js +24 -0
- package/dist/cjs/DeckContent.js +77 -73
- package/dist/cjs/DeckQueue.js +73 -69
- package/dist/cjs/{Dfp-b2bc3b97.js → Dfp-fa2c6aad.js} +21 -20
- package/dist/cjs/EventsDeck.js +123 -116
- package/dist/cjs/ExternalResources.js +44 -43
- package/dist/cjs/Feature.js +26 -24
- package/dist/cjs/ForbesHero.js +34 -33
- package/dist/cjs/GridContent.js +153 -149
- package/dist/cjs/GridHero.js +35 -34
- package/dist/cjs/GroupDeck.js +40 -39
- package/dist/cjs/HamMagazine.js +119 -114
- package/dist/cjs/Header.js +13 -11
- package/dist/cjs/Hero.js +11 -10
- package/dist/cjs/HighlightenVideo.js +17 -16
- package/dist/cjs/HorizontalHero.js +25 -24
- package/dist/cjs/IssueContentDeck.js +69 -64
- package/dist/cjs/IssueDeck.js +64 -59
- package/dist/cjs/IssueLanding.js +18 -17
- package/dist/cjs/LeftNav.js +22 -20
- package/dist/cjs/MasterDeck.js +50 -49
- package/dist/cjs/NavDvm.js +68 -63
- package/dist/cjs/{NavFooter-76c913e3.js → NavFooter-3dcd99a8.js} +15 -14
- package/dist/cjs/NavMagazine.js +121 -116
- package/dist/cjs/NavNative.js +103 -95
- package/dist/cjs/NavNormal.js +41 -36
- package/dist/cjs/OncliveHero.js +18 -18
- package/dist/cjs/OncliveLargeHero.js +59 -58
- package/dist/cjs/PageFilter.js +9 -8
- package/dist/cjs/PartnerDetailListing.js +1269 -71
- package/dist/cjs/PdfDownload.js +9 -8
- package/dist/cjs/PopUpModal.js +15 -13
- package/dist/cjs/PublicationDeck.js +63 -58
- package/dist/cjs/PublicationLanding.js +52 -48
- package/dist/cjs/QueueDeckExpanded.js +219 -219
- package/dist/cjs/RecentNews.js +23 -22
- package/dist/cjs/RelatedContent.js +22 -21
- package/dist/cjs/RelatedTopicsDropdown.js +22 -19
- package/dist/cjs/RolesDeck.js +32 -27
- package/dist/cjs/Search.js +16 -12
- package/dist/cjs/SideFooter.js +24 -23
- package/dist/cjs/SocialIcons.js +10 -9
- package/dist/cjs/{SocialSearchComponent-962b1344.js → SocialSearchComponent-fde6c921.js} +36 -32
- package/dist/cjs/SocialShare.js +31 -29
- package/dist/cjs/TaxonomyCard.js +59 -54
- package/dist/cjs/TemplateNormal.js +36 -35
- package/dist/cjs/ThumbnailCard.js +19 -17
- package/dist/cjs/Ustream.js +21 -20
- package/dist/cjs/VerticalHero.js +17 -16
- package/dist/cjs/VideoSeriesCard.js +25 -24
- package/dist/cjs/VideoSeriesFilter.js +9 -9
- package/dist/cjs/VideoSeriesListing.js +52 -51
- package/dist/cjs/View.js +183 -179
- package/dist/cjs/YahooHero.js +30 -29
- package/dist/cjs/YoutubeGroup.js +53 -52
- package/dist/cjs/{brightcove-react-player-loader.es-156bd4d6.js → brightcove-react-player-loader.es-5c98aec7.js} +10 -8
- package/dist/cjs/getRelatedArticle.js +354 -5
- package/dist/cjs/getSerializers.js +9 -9
- package/dist/cjs/iconBase-68959171.js +0 -3
- package/dist/cjs/{index-c190d704.js → index-06016cad.js} +361 -351
- package/dist/cjs/{index-2d0a4911.js → index-44481153.js} +9 -8
- package/dist/cjs/{index-5be2866f.js → index-6367b7bf.js} +16 -17
- package/dist/cjs/{index-da796b8c.js → index-8a3fb0bc.js} +12 -10
- package/dist/cjs/index-bd6c9f56.js +211 -0
- package/dist/cjs/{index.es-ab3f2690.js → index.es-f3e47207.js} +28 -11
- package/dist/cjs/{index.esm-ff47db6f.js → index.esm-05850a2f.js} +5 -12
- package/dist/cjs/{index.esm-66ffa47a.js → index.esm-3b9b8952.js} +4 -9
- package/dist/cjs/{index.esm-876ca9ff.js → index.esm-61650d1a.js} +5 -12
- package/dist/cjs/{index.esm-fe549f9c.js → index.esm-dd489d02.js} +20 -20
- package/dist/cjs/index.js +31 -32
- package/dist/cjs/{inherits-513d81cd.js → inherits-87492b40.js} +4 -4
- package/dist/cjs/{lodash-fc2922d0.js → lodash-7fd85bcf.js} +71 -22
- package/dist/cjs/{main-b6c96c8d.js → main-9499b3ef.js} +48 -43
- package/dist/cjs/{moment-66a6a284.js → moment-ca3bd9fb.js} +10 -8
- package/dist/cjs/{react-social-icons-f7f48f71.js → react-social-icons-07939b41.js} +12 -11
- package/dist/cjs/{typeof-725500bc.js → typeof-9d7f610f.js} +1 -1
- package/dist/cjs/urlFor.js +2 -2
- package/dist/cjs/{visibility-sensor-0c45a583.js → visibility-sensor-8b54af99.js} +7 -5
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +7 -7
- package/dist/esm/AD300x250x600.js +7 -7
- package/dist/esm/AD728x90.js +8 -8
- package/dist/esm/ADFloatingFooter.js +9 -9
- package/dist/esm/ADFooter.js +6 -6
- package/dist/esm/ADGutter.js +9 -9
- package/dist/esm/{ADInfeed-9140aa7d.js → ADInfeed-d1777980.js} +5 -5
- package/dist/esm/ADSkyscraper.js +9 -9
- package/dist/esm/ADSponsoredResources.js +9 -9
- package/dist/esm/ADWebcast.js +9 -9
- package/dist/esm/ADWelcome.js +13 -13
- package/dist/esm/{ADlgInfeed-7656ecd1.js → ADlgInfeed-84282fe8.js} +4 -4
- package/dist/esm/AccordionPanel.js +17 -17
- package/dist/esm/AdSlot.js +5 -5
- package/dist/esm/AdSlotsProvider.js +3 -3
- package/dist/esm/AlphabeticList.js +13 -13
- package/dist/esm/ArticleCarousel.js +6 -6
- package/dist/esm/ArticleSeriesListing.js +32 -32
- package/dist/esm/Auth.js +411 -578
- package/dist/esm/{AuthorComponent-00f13201.js → AuthorComponent-23afa074.js} +10 -10
- package/dist/esm/{BlockContent-a614acdf.js → BlockContent-d05b5b23.js} +3 -3
- package/dist/esm/Breadcrumbs.js +11 -11
- package/dist/esm/CMEDeck.js +58 -58
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +12 -12
- package/dist/esm/Column3.js +24 -24
- package/dist/esm/ConferenceArticleCard.js +13 -13
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/DeckContent.js +53 -53
- package/dist/esm/DeckQueue.js +46 -46
- package/dist/esm/{Dfp-8a8fca18.js → Dfp-939e8fcf.js} +10 -10
- package/dist/esm/EventsDeck.js +66 -66
- package/dist/esm/ExternalResources.js +37 -37
- package/dist/esm/Feature.js +16 -16
- package/dist/esm/ForbesHero.js +27 -27
- package/dist/esm/GridContent.js +110 -110
- package/dist/esm/GridHero.js +28 -28
- package/dist/esm/GroupDeck.js +35 -35
- package/dist/esm/HamMagazine.js +86 -86
- package/dist/esm/Header.js +7 -7
- package/dist/esm/Hero.js +6 -6
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalHero.js +20 -20
- package/dist/esm/IssueContentDeck.js +40 -40
- package/dist/esm/IssueDeck.js +33 -33
- package/dist/esm/IssueLanding.js +15 -15
- package/dist/esm/LeftNav.js +16 -16
- package/dist/esm/MasterDeck.js +43 -43
- package/dist/esm/NavDvm.js +43 -43
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +90 -90
- package/dist/esm/NavNative.js +70 -70
- package/dist/esm/NavNormal.js +21 -21
- package/dist/esm/OncliveHero.js +13 -14
- package/dist/esm/OncliveLargeHero.js +51 -51
- package/dist/esm/PageFilter.js +6 -6
- package/dist/esm/PartnerDetailListing.js +1263 -67
- package/dist/esm/PdfDownload.js +6 -6
- package/dist/esm/PopUpModal.js +8 -8
- package/dist/esm/PublicationDeck.js +34 -34
- package/dist/esm/PublicationLanding.js +28 -28
- package/dist/esm/QueueDeckExpanded.js +199 -199
- package/dist/esm/RecentNews.js +18 -18
- package/dist/esm/RelatedContent.js +16 -16
- package/dist/esm/RelatedTopicsDropdown.js +11 -11
- package/dist/esm/RolesDeck.js +13 -13
- package/dist/esm/Search.js +5 -5
- package/dist/esm/SideFooter.js +19 -19
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-75527dfe.js → SocialSearchComponent-a13fc98b.js} +23 -23
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +35 -35
- package/dist/esm/TemplateNormal.js +29 -29
- package/dist/esm/ThumbnailCard.js +9 -9
- package/dist/esm/Ustream.js +18 -18
- package/dist/esm/VerticalHero.js +12 -12
- package/dist/esm/VideoSeriesCard.js +16 -16
- package/dist/esm/VideoSeriesFilter.js +6 -6
- package/dist/esm/VideoSeriesListing.js +45 -45
- package/dist/esm/View.js +165 -165
- package/dist/esm/YahooHero.js +24 -24
- package/dist/esm/YoutubeGroup.js +38 -38
- package/dist/esm/{brightcove-react-player-loader.es-83f53e4e.js → brightcove-react-player-loader.es-4abff0b1.js} +7 -6
- package/dist/esm/getRelatedArticle.js +354 -5
- package/dist/esm/getSerializers.js +9 -9
- package/dist/esm/{index-93ec3c59.js → index-1819118a.js} +3 -3
- package/dist/esm/{index-983cedab.js → index-45bca0c4.js} +303 -299
- package/dist/esm/{index-d2f90501.js → index-c00b0bbb.js} +16 -17
- package/dist/esm/{index-5f9f807a.js → index-c5fd0af5.js} +4 -4
- package/dist/esm/index-db3bb315.js +207 -0
- package/dist/esm/{index.es-938a3a58.js → index.es-c6222053.js} +25 -9
- package/dist/esm/{index.esm-85cb09e6.js → index.esm-79385203.js} +5 -12
- package/dist/esm/{index.esm-73e847d2.js → index.esm-902766e0.js} +17 -18
- package/dist/esm/{index.esm-cf08bf18.js → index.esm-a8ff922c.js} +5 -12
- package/dist/esm/{index.esm-b08f4b04.js → index.esm-d6f88d94.js} +4 -9
- package/dist/esm/index.js +26 -27
- package/dist/esm/{inherits-7ee3e0c1.js → inherits-596840e8.js} +1 -1
- package/dist/esm/{lodash-17fdfebb.js → lodash-ec8c6b48.js} +71 -22
- package/dist/esm/{main-0465b2a0.js → main-edbd70ac.js} +48 -44
- package/dist/esm/{moment-12415288.js → moment-b6f49411.js} +10 -8
- package/dist/esm/{react-social-icons-a7d5c5c7.js → react-social-icons-3822f1ce.js} +5 -5
- package/dist/esm/{typeof-08f2c380.js → typeof-ee095d0c.js} +1 -1
- package/dist/esm/{visibility-sensor-0baa4eea.js → visibility-sensor-082c757b.js} +2 -2
- package/package.json +1 -1
- package/dist/cjs/ConferenceBanner-4a16fddc.js +0 -23
package/dist/esm/Column3.js
CHANGED
|
@@ -6,14 +6,14 @@ import './_iter-detect-59409a32.js';
|
|
|
6
6
|
import './core.get-iterator-method-54d2e411.js';
|
|
7
7
|
import './define-property-de3fc946.js';
|
|
8
8
|
import './web.dom.iterable-8956f9a5.js';
|
|
9
|
-
import
|
|
10
|
-
import './index-
|
|
9
|
+
import React, { useRef, useEffect } from 'react';
|
|
10
|
+
import './index-1819118a.js';
|
|
11
11
|
import 'prop-types';
|
|
12
12
|
import Row from 'react-bootstrap/Row';
|
|
13
13
|
import Col from 'react-bootstrap/Col';
|
|
14
14
|
import './isSymbol-807e927e.js';
|
|
15
15
|
import './debounce-1a993acf.js';
|
|
16
|
-
import { m as
|
|
16
|
+
import { m as main_40 } from './main-edbd70ac.js';
|
|
17
17
|
import './stringify-008c8802.js';
|
|
18
18
|
import './slicedToArray-7021e5df.js';
|
|
19
19
|
import './asyncToGenerator-7c654f36.js';
|
|
@@ -21,11 +21,11 @@ import './_set-species-cede29f8.js';
|
|
|
21
21
|
import './beam-681a9749.js';
|
|
22
22
|
import './AdSlot.js';
|
|
23
23
|
import './get-5ee14cda.js';
|
|
24
|
-
import './react-social-icons-
|
|
24
|
+
import './react-social-icons-3822f1ce.js';
|
|
25
25
|
import 'react-bootstrap';
|
|
26
26
|
import './defineProperty-b798470d.js';
|
|
27
27
|
import SideFooter from './SideFooter.js';
|
|
28
|
-
import { C as ConferenceBanner } from './ConferenceBanner-
|
|
28
|
+
import { C as ConferenceBanner } from './ConferenceBanner-9162d0ca.js';
|
|
29
29
|
import ADSponsoredResources from './ADSponsoredResources.js';
|
|
30
30
|
import 'react-bootstrap/ListGroup';
|
|
31
31
|
import './ADWebcast.js';
|
|
@@ -47,7 +47,7 @@ var Column3 = function Column3(props) {
|
|
|
47
47
|
var adRef = useRef(null);
|
|
48
48
|
|
|
49
49
|
useEffect(function () {
|
|
50
|
-
if (!
|
|
50
|
+
if (!main_40 && window.innerWidth >= 768) {
|
|
51
51
|
var navbar = document.querySelector('.navbar');
|
|
52
52
|
var AdOffsetTop = adRef.current.getBoundingClientRect().top;
|
|
53
53
|
window.addEventListener('scroll', function () {
|
|
@@ -66,62 +66,62 @@ var Column3 = function Column3(props) {
|
|
|
66
66
|
}
|
|
67
67
|
}, []);
|
|
68
68
|
|
|
69
|
-
return
|
|
69
|
+
return React.createElement(
|
|
70
70
|
'section',
|
|
71
71
|
null,
|
|
72
|
-
|
|
72
|
+
React.createElement(
|
|
73
73
|
Row,
|
|
74
74
|
{ className: 'justify-content-md-center' },
|
|
75
|
-
|
|
75
|
+
React.createElement(
|
|
76
76
|
Col,
|
|
77
77
|
{ md: true, className: 'leftCol', style: { width: '200px' } },
|
|
78
|
-
|
|
79
|
-
website && website.sponsoredAd &&
|
|
80
|
-
website && website.sideFooterContent && website.sideFooterContent.length && website.showFooterOnLeftSide &&
|
|
78
|
+
React.createElement(LeftNav, { leftItems: leftItems }),
|
|
79
|
+
website && website.sponsoredAd && React.createElement(ADSponsoredResources, { sponsoredAd: website.sponsoredAd }),
|
|
80
|
+
website && website.sideFooterContent && website.sideFooterContent.length && website.showFooterOnLeftSide && React.createElement(SideFooter, { website: website, cache: website.cache, logo: logo })
|
|
81
81
|
),
|
|
82
|
-
|
|
82
|
+
React.createElement(
|
|
83
83
|
Col,
|
|
84
84
|
{ md: true, className: 'middleCol', style: { maxWidth: '640px', marginTop: !title && '10px' } },
|
|
85
|
-
showFilter ?
|
|
85
|
+
showFilter ? React.createElement(
|
|
86
86
|
'div',
|
|
87
87
|
{ className: 'title-wrap' },
|
|
88
|
-
|
|
88
|
+
React.createElement(
|
|
89
89
|
'h1',
|
|
90
90
|
{ className: 'title' },
|
|
91
91
|
title
|
|
92
92
|
),
|
|
93
|
-
|
|
93
|
+
React.createElement(
|
|
94
94
|
'div',
|
|
95
95
|
{ className: 'filter-box' },
|
|
96
|
-
|
|
96
|
+
React.createElement(PageFilter, { getParams: getParams, filters: filters, defaultFilter: defaultFilter })
|
|
97
97
|
)
|
|
98
|
-
) : title &&
|
|
98
|
+
) : title && React.createElement(
|
|
99
99
|
'h1',
|
|
100
100
|
{ className: 'title' },
|
|
101
101
|
title
|
|
102
102
|
),
|
|
103
103
|
props.children
|
|
104
104
|
),
|
|
105
|
-
|
|
105
|
+
React.createElement(
|
|
106
106
|
'style',
|
|
107
107
|
{ jsx: 'true' },
|
|
108
108
|
'\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 '
|
|
109
109
|
),
|
|
110
|
-
(!
|
|
110
|
+
(!main_40 || showRightAd) && React.createElement(
|
|
111
111
|
Col,
|
|
112
112
|
{ xs: 12, className: 'rightCol' },
|
|
113
|
-
website && website.conferenceBannerContent &&
|
|
114
|
-
|
|
113
|
+
website && website.conferenceBannerContent && React.createElement(ConferenceBanner, { website: website }),
|
|
114
|
+
React.createElement(
|
|
115
115
|
'div',
|
|
116
116
|
{ ref: adRef },
|
|
117
117
|
rightItems && rightItems.map(function (row, index) {
|
|
118
|
-
return
|
|
118
|
+
return React.createElement(
|
|
119
119
|
'div',
|
|
120
120
|
{ key: index },
|
|
121
121
|
row.component
|
|
122
122
|
);
|
|
123
123
|
}),
|
|
124
|
-
website && website.sideFooterContent && website.sideFooterContent.length && !website.showFooterOnLeftSide &&
|
|
124
|
+
website && website.sideFooterContent && website.sideFooterContent.length && !website.showFooterOnLeftSide && React.createElement(SideFooter, { website: website, cache: website.cache, logo: logo })
|
|
125
125
|
)
|
|
126
126
|
)
|
|
127
127
|
)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import
|
|
3
|
-
import { m as moment } from './moment-
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { m as moment } from './moment-b6f49411.js';
|
|
4
4
|
import { i as imageUrlBuilder } from './index-51a80699.js';
|
|
5
5
|
|
|
6
6
|
/*
|
|
@@ -34,47 +34,47 @@ var ConferenceArticleCard = function ConferenceArticleCard(props) {
|
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
//title, thumbnail, summary, published, documentGroup.identifier.current, documentGroup.identifier.name
|
|
37
|
-
return
|
|
37
|
+
return React.createElement(
|
|
38
38
|
'div',
|
|
39
39
|
{ className: 'conference-media' },
|
|
40
|
-
|
|
40
|
+
React.createElement(
|
|
41
41
|
'a',
|
|
42
42
|
{ className: 'img-wrapper', href: '/view/' + (data.url ? data.url.current : '') },
|
|
43
|
-
|
|
43
|
+
React.createElement('img', {
|
|
44
44
|
className: 'mr-3 img-fluid',
|
|
45
45
|
src: data.thumbnail && urlFor(data.thumbnail.asset).width(350).url(),
|
|
46
46
|
alt: data.title
|
|
47
47
|
})
|
|
48
48
|
),
|
|
49
|
-
|
|
49
|
+
React.createElement(
|
|
50
50
|
'div',
|
|
51
51
|
{ className: 'media-body' },
|
|
52
|
-
|
|
52
|
+
React.createElement(
|
|
53
53
|
'a',
|
|
54
54
|
{ href: '/view/' + (data.url ? data.url.current : '') },
|
|
55
|
-
|
|
55
|
+
React.createElement(
|
|
56
56
|
'h4',
|
|
57
57
|
{ className: 'conf-media__card-title' },
|
|
58
58
|
data.title
|
|
59
59
|
)
|
|
60
60
|
),
|
|
61
|
-
|
|
61
|
+
React.createElement(
|
|
62
62
|
'p',
|
|
63
63
|
{ className: 'conf-media__card-text' },
|
|
64
64
|
moment(data.published).format('MMMM Do YYYY, h:mma')
|
|
65
65
|
),
|
|
66
|
-
|
|
66
|
+
React.createElement(
|
|
67
67
|
'p',
|
|
68
68
|
{ className: 'mb-1 conference-group' },
|
|
69
|
-
data.documentGroup && data.documentGroup.identifier &&
|
|
69
|
+
data.documentGroup && data.documentGroup.identifier && React.createElement(
|
|
70
70
|
'a',
|
|
71
71
|
{ href: '/conference/' + data.documentGroup.identifier.current, alt: data.thumbnail && data.thumbnail.alt || data.title },
|
|
72
72
|
data.documentGroup.name
|
|
73
73
|
)
|
|
74
74
|
),
|
|
75
|
-
|
|
75
|
+
React.createElement('p', { className: 'pt-2 card-text', dangerouslySetInnerHTML: { __html: data.summary } })
|
|
76
76
|
),
|
|
77
|
-
|
|
77
|
+
React.createElement(
|
|
78
78
|
'style',
|
|
79
79
|
{ jsx: 'true' },
|
|
80
80
|
'\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
|
@@ -8,28 +8,28 @@ import './core.get-iterator-method-54d2e411.js';
|
|
|
8
8
|
import './_object-pie-71ac75a4.js';
|
|
9
9
|
import { _ as _extends } from './extends-cc5da797.js';
|
|
10
10
|
import './_object-sap-4d59d5bd.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-596840e8.js';
|
|
12
12
|
import './define-property-de3fc946.js';
|
|
13
13
|
import './web.dom.iterable-8956f9a5.js';
|
|
14
|
-
import './typeof-
|
|
14
|
+
import './typeof-ee095d0c.js';
|
|
15
15
|
import './_is-array-49698029.js';
|
|
16
|
-
import
|
|
17
|
-
import { l as lib_3 } from './index-
|
|
16
|
+
import React from 'react';
|
|
17
|
+
import { l as lib_3 } from './index-1819118a.js';
|
|
18
18
|
import 'prop-types';
|
|
19
19
|
import Container from 'react-bootstrap/Container';
|
|
20
20
|
import Row from 'react-bootstrap/Row';
|
|
21
21
|
import Col from 'react-bootstrap/Col';
|
|
22
22
|
import Card from 'react-bootstrap/Card';
|
|
23
|
-
import { m as moment } from './moment-
|
|
23
|
+
import { m as moment } from './moment-b6f49411.js';
|
|
24
24
|
import { withRouter } from 'next/router';
|
|
25
25
|
import './isSymbol-807e927e.js';
|
|
26
26
|
import { d as debounce_1 } from './debounce-1a993acf.js';
|
|
27
|
-
import { I as InfiniteScroll } from './index.es-
|
|
27
|
+
import { I as InfiniteScroll } from './index.es-c6222053.js';
|
|
28
28
|
import 'react-dom';
|
|
29
|
-
import { V as VisibilitySensor } from './visibility-sensor-
|
|
29
|
+
import { V as VisibilitySensor } from './visibility-sensor-082c757b.js';
|
|
30
30
|
import { i as imageUrlBuilder } from './index-51a80699.js';
|
|
31
|
-
import { L as LazyLoad } from './index-
|
|
32
|
-
import { m as
|
|
31
|
+
import { L as LazyLoad } from './index-c5fd0af5.js';
|
|
32
|
+
import { m as main_40 } from './main-edbd70ac.js';
|
|
33
33
|
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
34
34
|
import './stringify-008c8802.js';
|
|
35
35
|
import './slicedToArray-7021e5df.js';
|
|
@@ -37,7 +37,7 @@ import './asyncToGenerator-7c654f36.js';
|
|
|
37
37
|
import './_set-species-cede29f8.js';
|
|
38
38
|
import './beam-681a9749.js';
|
|
39
39
|
import './AdSlot.js';
|
|
40
|
-
import { A as ADInfeed } from './ADInfeed-
|
|
40
|
+
import { A as ADInfeed } from './ADInfeed-d1777980.js';
|
|
41
41
|
|
|
42
42
|
var DeckContent = function (_React$Component) {
|
|
43
43
|
_inherits(DeckContent, _React$Component);
|
|
@@ -205,35 +205,35 @@ var DeckContent = function (_React$Component) {
|
|
|
205
205
|
url = authorDetail.url;
|
|
206
206
|
|
|
207
207
|
if (displayName && url && url.current) {
|
|
208
|
-
return
|
|
208
|
+
return React.createElement(
|
|
209
209
|
'div',
|
|
210
210
|
{ key: _id },
|
|
211
|
-
index === 0 &&
|
|
211
|
+
index === 0 && React.createElement(
|
|
212
212
|
'span',
|
|
213
213
|
{ className: 'pr-1' },
|
|
214
214
|
'By'
|
|
215
215
|
),
|
|
216
|
-
|
|
216
|
+
React.createElement(
|
|
217
217
|
'a',
|
|
218
218
|
{ href: '/authors/${url.current}', className: 'text-muted' },
|
|
219
219
|
displayName,
|
|
220
|
-
length !== index + 1 &&
|
|
220
|
+
length !== index + 1 && React.createElement('br', null)
|
|
221
221
|
)
|
|
222
222
|
);
|
|
223
223
|
} else if (displayName) {
|
|
224
|
-
return
|
|
224
|
+
return React.createElement(
|
|
225
225
|
'div',
|
|
226
226
|
{ key: _id },
|
|
227
|
-
index === 0 &&
|
|
227
|
+
index === 0 && React.createElement(
|
|
228
228
|
'span',
|
|
229
229
|
{ className: 'pr-1' },
|
|
230
230
|
'By'
|
|
231
231
|
),
|
|
232
|
-
|
|
232
|
+
React.createElement(
|
|
233
233
|
'span',
|
|
234
234
|
{ className: 'text-muted' },
|
|
235
235
|
displayName,
|
|
236
|
-
length !== index + 1 &&
|
|
236
|
+
length !== index + 1 && React.createElement('br', null)
|
|
237
237
|
)
|
|
238
238
|
);
|
|
239
239
|
}
|
|
@@ -275,7 +275,7 @@ var DeckContent = function (_React$Component) {
|
|
|
275
275
|
articles = _this.state.data;
|
|
276
276
|
}
|
|
277
277
|
|
|
278
|
-
return
|
|
278
|
+
return React.createElement(
|
|
279
279
|
Row,
|
|
280
280
|
null,
|
|
281
281
|
articles && articles.map(function (row, index) {
|
|
@@ -287,51 +287,51 @@ var DeckContent = function (_React$Component) {
|
|
|
287
287
|
lgVar = 6;
|
|
288
288
|
}
|
|
289
289
|
if (row._type === 'BrandInsight' && row.adUnit) {
|
|
290
|
-
return
|
|
290
|
+
return React.createElement(ADInfeed, { index: index, infeedAd: row });
|
|
291
291
|
} else {
|
|
292
292
|
var pageNumber = row.pageNumber || _this.state.page;
|
|
293
293
|
var contentCategoryName = row.contentCategory && row.contentCategory.name && _this.mapping[row.contentCategory.name] ? row.contentCategory.name : 'Articles';
|
|
294
|
-
return
|
|
295
|
-
|
|
294
|
+
return React.createElement(
|
|
295
|
+
React.Fragment,
|
|
296
296
|
{ key: itemCounter },
|
|
297
|
-
|
|
297
|
+
React.createElement(
|
|
298
298
|
VisibilitySensor,
|
|
299
299
|
{
|
|
300
300
|
onChange: function onChange(isVisible) {
|
|
301
301
|
isVisible && _this.changePageNumber(pageNumber);
|
|
302
302
|
} },
|
|
303
|
-
|
|
303
|
+
React.createElement(
|
|
304
304
|
Col,
|
|
305
305
|
{ md: 12, lg: lgVar, counter: itemCounter++, style: { display: 'flex', flex: '1 0 auto' } },
|
|
306
|
-
|
|
306
|
+
React.createElement(
|
|
307
307
|
Card,
|
|
308
308
|
{ className: 'content-card', style: { flexDirection: mode } },
|
|
309
|
-
(row.thumbnail && row.thumbnail.asset || _this.props.defaultImage) &&
|
|
309
|
+
(row.thumbnail && row.thumbnail.asset || _this.props.defaultImage) && React.createElement(
|
|
310
310
|
'a',
|
|
311
311
|
{ href: _this.mapping[contentCategoryName] + '/' + row.url.current },
|
|
312
|
-
|
|
312
|
+
React.createElement(
|
|
313
313
|
LazyLoad,
|
|
314
314
|
{ height: _this.props.imageHeight },
|
|
315
|
-
|
|
315
|
+
React.createElement(Card.Img, {
|
|
316
316
|
variant: 'top',
|
|
317
317
|
src: _this.renderCardImage(row, page),
|
|
318
318
|
alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : ''
|
|
319
319
|
})
|
|
320
320
|
)
|
|
321
321
|
),
|
|
322
|
-
|
|
322
|
+
React.createElement(
|
|
323
323
|
Card.Body,
|
|
324
324
|
null,
|
|
325
|
-
|
|
325
|
+
React.createElement(
|
|
326
326
|
'a',
|
|
327
327
|
{ href: _this.mapping[contentCategoryName] + '/' + row.url.current },
|
|
328
|
-
|
|
328
|
+
React.createElement(
|
|
329
329
|
Card.Title,
|
|
330
330
|
null,
|
|
331
331
|
row.title
|
|
332
332
|
)
|
|
333
333
|
),
|
|
334
|
-
_this.props.showPublished && row.published &&
|
|
334
|
+
_this.props.showPublished && row.published && React.createElement(
|
|
335
335
|
Card.Subtitle,
|
|
336
336
|
null,
|
|
337
337
|
moment(row.published).format('MMMM DD, YYYY')
|
|
@@ -339,7 +339,7 @@ var DeckContent = function (_React$Component) {
|
|
|
339
339
|
_this.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 && row.authorMapping.map(function (authorDetail, index) {
|
|
340
340
|
return _this.renderAuthor(authorDetail, index, row.authorMapping.length);
|
|
341
341
|
}),
|
|
342
|
-
|
|
342
|
+
React.createElement(
|
|
343
343
|
Card.Text,
|
|
344
344
|
null,
|
|
345
345
|
clean_html_1(row.summary)
|
|
@@ -348,7 +348,7 @@ var DeckContent = function (_React$Component) {
|
|
|
348
348
|
)
|
|
349
349
|
)
|
|
350
350
|
),
|
|
351
|
-
|
|
351
|
+
main_40 && _this.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
352
352
|
);
|
|
353
353
|
}
|
|
354
354
|
})
|
|
@@ -357,7 +357,7 @@ var DeckContent = function (_React$Component) {
|
|
|
357
357
|
var rightItems = _this.props.rightItems;
|
|
358
358
|
|
|
359
359
|
var i = ((index + 1) / numberOfItemsBeforeAd - 1) % rightItems.length;
|
|
360
|
-
return
|
|
360
|
+
return React.createElement(
|
|
361
361
|
Col,
|
|
362
362
|
{ md: 12, style: { display: 'flex', flex: '1 0 auto' } },
|
|
363
363
|
rightItems[i].component
|
|
@@ -365,15 +365,15 @@ var DeckContent = function (_React$Component) {
|
|
|
365
365
|
}, _this.renderManualPagination = function () {
|
|
366
366
|
var currentPage = _this.state.currentPage;
|
|
367
367
|
|
|
368
|
-
return
|
|
368
|
+
return React.createElement(
|
|
369
369
|
'div',
|
|
370
370
|
{ className: 'd-flex justify-content-between' },
|
|
371
|
-
currentPage && currentPage > 1 &&
|
|
371
|
+
currentPage && currentPage > 1 && React.createElement(
|
|
372
372
|
'a',
|
|
373
373
|
{ href: '?page=' + (currentPage - 1) },
|
|
374
374
|
'<< Previous'
|
|
375
375
|
),
|
|
376
|
-
|
|
376
|
+
React.createElement(
|
|
377
377
|
'a',
|
|
378
378
|
{ href: '?page=' + (currentPage + 1) },
|
|
379
379
|
'Next >>'
|
|
@@ -419,38 +419,38 @@ var DeckContent = function (_React$Component) {
|
|
|
419
419
|
brandInsight = _props.brandInsight;
|
|
420
420
|
|
|
421
421
|
|
|
422
|
-
return
|
|
422
|
+
return React.createElement(
|
|
423
423
|
'div',
|
|
424
424
|
{ className: 'contentDeck' },
|
|
425
|
-
autoScroll ?
|
|
426
|
-
|
|
425
|
+
autoScroll ? React.createElement(
|
|
426
|
+
React.Fragment,
|
|
427
427
|
null,
|
|
428
|
-
|
|
428
|
+
React.createElement(
|
|
429
429
|
InfiniteScroll,
|
|
430
430
|
{ dataLength: this.state.data.length, next: this.loadMore, hasMore: this.state.scrolling, scrollThreshold: 0.9 },
|
|
431
|
-
|
|
431
|
+
React.createElement(
|
|
432
432
|
Container,
|
|
433
433
|
null,
|
|
434
434
|
this.cardLoader(page, columns, variant, showBI, brandInsight)
|
|
435
435
|
)
|
|
436
436
|
),
|
|
437
|
-
|
|
437
|
+
React.createElement(
|
|
438
438
|
'noscript',
|
|
439
439
|
null,
|
|
440
440
|
this.renderManualPagination()
|
|
441
441
|
)
|
|
442
|
-
) :
|
|
443
|
-
|
|
442
|
+
) : React.createElement(
|
|
443
|
+
React.Fragment,
|
|
444
444
|
null,
|
|
445
|
-
|
|
445
|
+
React.createElement(
|
|
446
446
|
Container,
|
|
447
447
|
null,
|
|
448
448
|
this.cardLoader(page, columns, variant, showBI, brandInsight)
|
|
449
449
|
),
|
|
450
|
-
|
|
450
|
+
React.createElement(
|
|
451
451
|
'div',
|
|
452
452
|
{ style: { padding: '0px 10px' } },
|
|
453
|
-
this.state.scrolling ?
|
|
453
|
+
this.state.scrolling ? React.createElement(
|
|
454
454
|
'button',
|
|
455
455
|
{
|
|
456
456
|
style: { margin: 'auto', width: '100%' },
|
|
@@ -458,17 +458,17 @@ var DeckContent = function (_React$Component) {
|
|
|
458
458
|
_this2.loadMore();
|
|
459
459
|
} },
|
|
460
460
|
'Load More'
|
|
461
|
-
) :
|
|
461
|
+
) : React.createElement(
|
|
462
462
|
'p',
|
|
463
463
|
{ style: { textAlign: 'center' } },
|
|
464
|
-
|
|
464
|
+
React.createElement(
|
|
465
465
|
'b',
|
|
466
466
|
null,
|
|
467
467
|
'End of data'
|
|
468
468
|
)
|
|
469
469
|
)
|
|
470
470
|
),
|
|
471
|
-
|
|
471
|
+
React.createElement(
|
|
472
472
|
'noscript',
|
|
473
473
|
null,
|
|
474
474
|
this.renderManualPagination()
|
|
@@ -479,7 +479,7 @@ var DeckContent = function (_React$Component) {
|
|
|
479
479
|
}]);
|
|
480
480
|
|
|
481
481
|
return DeckContent;
|
|
482
|
-
}(
|
|
482
|
+
}(React.Component);
|
|
483
483
|
|
|
484
484
|
var ContentCard = withRouter(DeckContent);
|
|
485
485
|
|