@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/IssueDeck.js
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { _ as _toConsumableArray } from './toConsumableArray-
|
|
2
|
-
import { _ as _extends } from './extends-
|
|
3
|
-
import { _ as _slicedToArray } from './slicedToArray-
|
|
4
|
-
import
|
|
1
|
+
import { _ as _toConsumableArray } from './toConsumableArray-7b1c0e23.js';
|
|
2
|
+
import { _ as _extends } from './extends-dc6a71fd.js';
|
|
3
|
+
import { _ as _slicedToArray } from './slicedToArray-ca2c8b8d.js';
|
|
4
|
+
import React, { useState, useEffect, useRef } from 'react';
|
|
5
5
|
import Row from 'react-bootstrap/Row';
|
|
6
6
|
import Col from 'react-bootstrap/Col';
|
|
7
7
|
import Button from 'react-bootstrap/Button';
|
|
8
8
|
import Card from 'react-bootstrap/Card';
|
|
9
|
-
import { L as LazyLoad } from './index-
|
|
9
|
+
import { L as LazyLoad } from './index-35bdcc81.js';
|
|
10
10
|
import urlFor from './urlFor.js';
|
|
11
|
-
import { I as InfiniteScroll } from './index.es-
|
|
11
|
+
import { I as InfiniteScroll } from './index.es-c6222053.js';
|
|
12
12
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
13
|
-
import './core.get-iterator-method-
|
|
14
|
-
import './_iter-detect-
|
|
13
|
+
import './core.get-iterator-method-e903ff31.js';
|
|
14
|
+
import './_iter-detect-f089461c.js';
|
|
15
15
|
import './_object-pie-133f504a.js';
|
|
16
|
-
import './web.dom.iterable-
|
|
16
|
+
import './web.dom.iterable-fdf034f5.js';
|
|
17
17
|
import 'react-dom';
|
|
18
18
|
import 'prop-types';
|
|
19
|
-
import './index-
|
|
19
|
+
import './index-0dbff1d1.js';
|
|
20
20
|
|
|
21
21
|
var usePrevious = function usePrevious(value) {
|
|
22
22
|
var ref = useRef();
|
|
@@ -129,71 +129,71 @@ var IssueDeck = function IssueDeck(props) {
|
|
|
129
129
|
}
|
|
130
130
|
}, [issuesData, setScrolling, count]);
|
|
131
131
|
|
|
132
|
-
return
|
|
132
|
+
return React.createElement(
|
|
133
133
|
InfiniteScroll,
|
|
134
134
|
{ dataLength: issuesData && issuesData.length, next: function next() {
|
|
135
135
|
return loadMore();
|
|
136
136
|
}, hasMore: scrolling, scrollThreshold: 0.9 },
|
|
137
|
-
|
|
137
|
+
React.createElement(
|
|
138
138
|
Row,
|
|
139
139
|
null,
|
|
140
140
|
issuesData && issuesData.length ? issuesData.map(function (row, index) {
|
|
141
|
-
return publication && row.identifier && row.identifier.current &&
|
|
141
|
+
return publication && row.identifier && row.identifier.current && React.createElement(
|
|
142
142
|
Col,
|
|
143
143
|
{ md: 12, lg: 12, key: index },
|
|
144
|
-
|
|
144
|
+
React.createElement(
|
|
145
145
|
Card,
|
|
146
146
|
{ className: 'queue-card journal-queue', style: { borderTop: '1px solid #EEE' } },
|
|
147
|
-
|
|
147
|
+
React.createElement(
|
|
148
148
|
Row,
|
|
149
149
|
{ style: { flexDirection: 'left' } },
|
|
150
|
-
|
|
150
|
+
React.createElement(
|
|
151
151
|
Col,
|
|
152
152
|
{ md: 12, lg: 4, className: 'body-image', style: { textAlign: 'center' } },
|
|
153
|
-
row.issues.length > 0 ?
|
|
153
|
+
row.issues.length > 0 ? React.createElement(
|
|
154
154
|
'a',
|
|
155
155
|
{ href: href + '/' + publication + '/' + row.identifier.current, style: { width: '100%' } },
|
|
156
|
-
row.thumbnail &&
|
|
156
|
+
row.thumbnail && React.createElement(
|
|
157
157
|
LazyLoad,
|
|
158
158
|
{ height: imageHeight },
|
|
159
|
-
|
|
159
|
+
React.createElement(Card.Img, { variant: 'top', src: renderCardImage(row.thumbnail), alt: row.name, style: { objectFit: 'contain' } })
|
|
160
160
|
)
|
|
161
|
-
) :
|
|
161
|
+
) : React.createElement(
|
|
162
162
|
'a',
|
|
163
163
|
null,
|
|
164
|
-
row.thumbnail &&
|
|
164
|
+
row.thumbnail && React.createElement(
|
|
165
165
|
LazyLoad,
|
|
166
166
|
{ height: imageHeight },
|
|
167
|
-
|
|
167
|
+
React.createElement(Card.Img, { variant: 'top', src: renderCardImage(row.thumbnail), alt: row.name, style: { objectFit: 'contain' } })
|
|
168
168
|
)
|
|
169
169
|
)
|
|
170
170
|
),
|
|
171
|
-
|
|
171
|
+
React.createElement(
|
|
172
172
|
Col,
|
|
173
173
|
{ md: 12, lg: 8 },
|
|
174
|
-
|
|
174
|
+
React.createElement(
|
|
175
175
|
Card.Body,
|
|
176
176
|
{ style: { padding: '20px' }, className: 'body-text' },
|
|
177
|
-
|
|
177
|
+
React.createElement(
|
|
178
178
|
Row,
|
|
179
179
|
null,
|
|
180
|
-
|
|
180
|
+
React.createElement(
|
|
181
181
|
Col,
|
|
182
182
|
null,
|
|
183
|
-
|
|
183
|
+
React.createElement(
|
|
184
184
|
Card.Title,
|
|
185
185
|
null,
|
|
186
186
|
row.name
|
|
187
187
|
)
|
|
188
188
|
)
|
|
189
189
|
),
|
|
190
|
-
|
|
190
|
+
React.createElement(
|
|
191
191
|
Row,
|
|
192
192
|
null,
|
|
193
|
-
|
|
193
|
+
React.createElement(
|
|
194
194
|
Col,
|
|
195
195
|
null,
|
|
196
|
-
|
|
196
|
+
React.createElement(
|
|
197
197
|
'div',
|
|
198
198
|
null,
|
|
199
199
|
'Volume: ',
|
|
@@ -201,13 +201,13 @@ var IssueDeck = function IssueDeck(props) {
|
|
|
201
201
|
)
|
|
202
202
|
)
|
|
203
203
|
),
|
|
204
|
-
|
|
204
|
+
React.createElement(
|
|
205
205
|
Row,
|
|
206
206
|
null,
|
|
207
|
-
|
|
207
|
+
React.createElement(
|
|
208
208
|
Col,
|
|
209
209
|
null,
|
|
210
|
-
|
|
210
|
+
React.createElement(
|
|
211
211
|
'div',
|
|
212
212
|
null,
|
|
213
213
|
'Number: ',
|
|
@@ -215,19 +215,19 @@ var IssueDeck = function IssueDeck(props) {
|
|
|
215
215
|
)
|
|
216
216
|
)
|
|
217
217
|
),
|
|
218
|
-
|
|
218
|
+
React.createElement(
|
|
219
219
|
Row,
|
|
220
220
|
null,
|
|
221
|
-
row.issues.length > 0 &&
|
|
221
|
+
row.issues.length > 0 && React.createElement(
|
|
222
222
|
'a',
|
|
223
223
|
{ style: { paddingRight: '15px', paddingLeft: '15px' }, href: href + '/' + publication + '/' + row.identifier.current },
|
|
224
|
-
|
|
224
|
+
React.createElement(
|
|
225
225
|
Button,
|
|
226
226
|
{ style: { marginTop: '20px', marginRight: '1rem' }, variant: 'secondary' },
|
|
227
227
|
'View Issue'
|
|
228
228
|
)
|
|
229
229
|
),
|
|
230
|
-
row.pdf && row.pdf.asset &&
|
|
230
|
+
row.pdf && row.pdf.asset && React.createElement(
|
|
231
231
|
'a',
|
|
232
232
|
{ rel: 'noopener', href: row.pdf.asset.url, target: '_blank', className: 'btn btn-primary', style: { marginTop: '20px' } },
|
|
233
233
|
'Download Issue'
|
|
@@ -238,13 +238,13 @@ var IssueDeck = function IssueDeck(props) {
|
|
|
238
238
|
)
|
|
239
239
|
)
|
|
240
240
|
);
|
|
241
|
-
}) :
|
|
241
|
+
}) : React.createElement(
|
|
242
242
|
'div',
|
|
243
243
|
null,
|
|
244
|
-
|
|
244
|
+
React.createElement(
|
|
245
245
|
'h5',
|
|
246
246
|
null,
|
|
247
|
-
|
|
247
|
+
React.createElement(
|
|
248
248
|
'em',
|
|
249
249
|
{ className: 'pl-3' },
|
|
250
250
|
'New content coming soon, please check back later.'
|
package/dist/esm/IssueLanding.js
CHANGED
|
@@ -1,67 +1,67 @@
|
|
|
1
|
-
import { _ as _extends } from './extends-
|
|
2
|
-
import
|
|
1
|
+
import { _ as _extends } from './extends-dc6a71fd.js';
|
|
2
|
+
import React from 'react';
|
|
3
3
|
import QueueDeckExpanded from './QueueDeckExpanded.js';
|
|
4
4
|
import Breadcrumbs from './Breadcrumbs.js';
|
|
5
|
-
import { B as BlockContent } from './BlockContent-
|
|
6
|
-
import { g as getSerializers } from './index-
|
|
5
|
+
import { B as BlockContent } from './BlockContent-52cf21c5.js';
|
|
6
|
+
import { g as getSerializers } from './index-f2783f14.js';
|
|
7
7
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
8
|
-
import './core.get-iterator-method-
|
|
8
|
+
import './core.get-iterator-method-e903ff31.js';
|
|
9
9
|
import './_object-pie-133f504a.js';
|
|
10
|
-
import './slicedToArray-
|
|
11
|
-
import './web.dom.iterable-
|
|
12
|
-
import './toConsumableArray-
|
|
13
|
-
import './_iter-detect-
|
|
10
|
+
import './slicedToArray-ca2c8b8d.js';
|
|
11
|
+
import './web.dom.iterable-fdf034f5.js';
|
|
12
|
+
import './toConsumableArray-7b1c0e23.js';
|
|
13
|
+
import './_iter-detect-f089461c.js';
|
|
14
14
|
import 'react-bootstrap';
|
|
15
15
|
import './urlFor.js';
|
|
16
|
-
import './index-
|
|
17
|
-
import './index.es-
|
|
16
|
+
import './index-0dbff1d1.js';
|
|
17
|
+
import './index.es-c6222053.js';
|
|
18
18
|
import './moment-bc12cb97.js';
|
|
19
|
-
import './visibility-sensor-
|
|
19
|
+
import './visibility-sensor-f40c2564.js';
|
|
20
20
|
import 'react-dom';
|
|
21
|
-
import './index-
|
|
21
|
+
import './index-2446af28.js';
|
|
22
22
|
import './events-6c3a7a63.js';
|
|
23
23
|
import 'prop-types';
|
|
24
24
|
import 'next/router';
|
|
25
|
-
import './index-
|
|
26
|
-
import './main-
|
|
27
|
-
import './entities-
|
|
28
|
-
import './ADInfeed-
|
|
25
|
+
import './index-35bdcc81.js';
|
|
26
|
+
import './main-4136096f.js';
|
|
27
|
+
import './entities-932b50cf.js';
|
|
28
|
+
import './ADInfeed-014c7bd1.js';
|
|
29
29
|
import 'react-bootstrap/Card';
|
|
30
30
|
import './AdSlot.js';
|
|
31
31
|
import './debounce-533d9748.js';
|
|
32
32
|
import './isSymbol-a7e9aafe.js';
|
|
33
33
|
import './toNumber-5aeba6e7.js';
|
|
34
34
|
import './Beam.js';
|
|
35
|
-
import './stringify-
|
|
36
|
-
import './asyncToGenerator-
|
|
35
|
+
import './stringify-c21932b3.js';
|
|
36
|
+
import './asyncToGenerator-b4dfe691.js';
|
|
37
37
|
import './_library-528f1934.js';
|
|
38
38
|
import './Segment.js';
|
|
39
|
-
import './AuthorComponent-
|
|
39
|
+
import './AuthorComponent-46a745ba.js';
|
|
40
40
|
import './lodash-f97fd99a.js';
|
|
41
|
-
import './ADlgInfeed-
|
|
41
|
+
import './ADlgInfeed-75e097f4.js';
|
|
42
42
|
import './getContentCategory-15dcc413.js';
|
|
43
43
|
import './timeDifferenceCalc.js';
|
|
44
44
|
import 'react-bootstrap/Breadcrumb';
|
|
45
45
|
import './index-c7e2ac95.js';
|
|
46
|
-
import './util-
|
|
47
|
-
import './typeof-
|
|
48
|
-
import './_is-array-
|
|
49
|
-
import './brightcove-react-player-loader.es-
|
|
46
|
+
import './util-3ab476bf.js';
|
|
47
|
+
import './typeof-83d9eb10.js';
|
|
48
|
+
import './_is-array-893ab020.js';
|
|
49
|
+
import './brightcove-react-player-loader.es-b43c695a.js';
|
|
50
50
|
import './GroupDeck.js';
|
|
51
51
|
import './smoothscroll-fa4e3f8c.js';
|
|
52
52
|
import './SocialShare.js';
|
|
53
53
|
import 'next/head';
|
|
54
54
|
import 'react-share';
|
|
55
|
-
import './_object-to-array-
|
|
55
|
+
import './_object-to-array-50a6b9a3.js';
|
|
56
56
|
import 'react-bootstrap/Pagination';
|
|
57
57
|
import 'react-bootstrap/Button';
|
|
58
58
|
import 'react-bootstrap/Row';
|
|
59
59
|
import 'react-bootstrap/Col';
|
|
60
|
-
import './inherits-
|
|
61
|
-
import './_object-sap-
|
|
62
|
-
import './define-property-
|
|
63
|
-
import './index.esm-
|
|
64
|
-
import './iconBase-
|
|
60
|
+
import './inherits-8a801a18.js';
|
|
61
|
+
import './_object-sap-169d6272.js';
|
|
62
|
+
import './define-property-99e66838.js';
|
|
63
|
+
import './index.esm-3fdda599.js';
|
|
64
|
+
import './iconBase-602d52fe.js';
|
|
65
65
|
import 'react-bootstrap/Figure';
|
|
66
66
|
import 'react-bootstrap/OverlayTrigger';
|
|
67
67
|
import 'react-bootstrap/Tooltip';
|
|
@@ -121,22 +121,22 @@ var IssueLanding = function IssueLanding(props) {
|
|
|
121
121
|
_props$imageWidth = props.imageWidth,
|
|
122
122
|
imageWidth = _props$imageWidth === undefined ? 480 : _props$imageWidth;
|
|
123
123
|
|
|
124
|
-
return
|
|
124
|
+
return React.createElement(
|
|
125
125
|
'div',
|
|
126
126
|
{ id: 'issueLanding' },
|
|
127
|
-
|
|
128
|
-
pubIssue.issue.source &&
|
|
127
|
+
React.createElement(Breadcrumbs, null),
|
|
128
|
+
pubIssue.issue.source && React.createElement(
|
|
129
129
|
'p',
|
|
130
130
|
{ className: 'badge badge-primary' },
|
|
131
131
|
pubIssue.issue.source
|
|
132
132
|
),
|
|
133
|
-
pubIssue.issue.description &&
|
|
134
|
-
|
|
133
|
+
pubIssue.issue.description && React.createElement(
|
|
134
|
+
React.Fragment,
|
|
135
135
|
null,
|
|
136
|
-
|
|
137
|
-
|
|
136
|
+
React.createElement(BlockContent, _extends({ serializers: getSerializers(client), blocks: pubIssue.issue.description, imageOptions: { w: 320, h: 240, fit: 'max' } }, client.config())),
|
|
137
|
+
React.createElement('div', { style: { clear: 'both' } })
|
|
138
138
|
),
|
|
139
|
-
|
|
139
|
+
React.createElement(QueueDeckExpanded, {
|
|
140
140
|
client: client,
|
|
141
141
|
mapping: settings.mapping,
|
|
142
142
|
dataRecord: pubIssue.issue.articles,
|
package/dist/esm/LeftNav.js
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React, { useRef, useEffect } from 'react';
|
|
2
2
|
import ListGroup from 'react-bootstrap/ListGroup';
|
|
3
3
|
import ADWebcast from './ADWebcast.js';
|
|
4
4
|
import Segment from './Segment.js';
|
|
5
|
-
import './slicedToArray-
|
|
5
|
+
import './slicedToArray-ca2c8b8d.js';
|
|
6
6
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
7
|
-
import './web.dom.iterable-
|
|
8
|
-
import './core.get-iterator-method-
|
|
7
|
+
import './web.dom.iterable-fdf034f5.js';
|
|
8
|
+
import './core.get-iterator-method-e903ff31.js';
|
|
9
9
|
import './AdSlot.js';
|
|
10
|
-
import './extends-
|
|
10
|
+
import './extends-dc6a71fd.js';
|
|
11
11
|
import './_object-pie-133f504a.js';
|
|
12
12
|
import 'prop-types';
|
|
13
|
-
import './index-
|
|
13
|
+
import './index-2446af28.js';
|
|
14
14
|
import './events-6c3a7a63.js';
|
|
15
15
|
import './debounce-533d9748.js';
|
|
16
16
|
import './isSymbol-a7e9aafe.js';
|
|
17
17
|
import './toNumber-5aeba6e7.js';
|
|
18
18
|
import './Beam.js';
|
|
19
|
-
import './stringify-
|
|
20
|
-
import './asyncToGenerator-
|
|
19
|
+
import './stringify-c21932b3.js';
|
|
20
|
+
import './asyncToGenerator-b4dfe691.js';
|
|
21
21
|
import './_library-528f1934.js';
|
|
22
|
-
import './_iter-detect-
|
|
23
|
-
import './main-
|
|
22
|
+
import './_iter-detect-f089461c.js';
|
|
23
|
+
import './main-4136096f.js';
|
|
24
24
|
|
|
25
25
|
var LeftNav = function LeftNav(props) {
|
|
26
26
|
var leftItems = props.leftItems,
|
|
@@ -64,21 +64,21 @@ var LeftNav = function LeftNav(props) {
|
|
|
64
64
|
|
|
65
65
|
var renderListGroupItem = function renderListGroupItem(subRow) {
|
|
66
66
|
if (checkUrlIsExternal(subRow.url)) {
|
|
67
|
-
return
|
|
67
|
+
return React.createElement(
|
|
68
68
|
'a',
|
|
69
69
|
{ target: subRow.blank ? '_blank' : '_self', needsegmentsupport: subRow.needSegmentSupport ? 'true' : '', href: subRow.url },
|
|
70
70
|
subRow.name
|
|
71
71
|
);
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
-
return
|
|
74
|
+
return React.createElement(
|
|
75
75
|
'a',
|
|
76
76
|
{ href: subRow.url || '#', target: subRow.blank ? '_blank' : '_self', needsegmentsupport: subRow.needSegmentSupport ? 'true' : '' },
|
|
77
77
|
subRow.name
|
|
78
78
|
);
|
|
79
79
|
};
|
|
80
80
|
|
|
81
|
-
return
|
|
81
|
+
return React.createElement(
|
|
82
82
|
'section',
|
|
83
83
|
{ ref: leftNavRef },
|
|
84
84
|
leftItems && leftItems.map(function (row, index) {
|
|
@@ -86,27 +86,27 @@ var LeftNav = function LeftNav(props) {
|
|
|
86
86
|
// Since Webcast Ad should be between spotlight and sub navigation it should be passed as the second element of leftItems array from site level.
|
|
87
87
|
// Webcast AD should have atleast adUnit , networkID, and "_type" as "webcastAD"
|
|
88
88
|
if (row._type && row._type === 'webcastAD' && row.adUnit) {
|
|
89
|
-
return
|
|
89
|
+
return React.createElement(
|
|
90
90
|
'div',
|
|
91
91
|
{ key: index },
|
|
92
|
-
|
|
92
|
+
React.createElement(ADWebcast, { webcastAd: row, refreshFlag: row.refreshFlag ? row.refreshFlag : false })
|
|
93
93
|
);
|
|
94
94
|
} else {
|
|
95
|
-
return
|
|
95
|
+
return React.createElement(
|
|
96
96
|
'nav',
|
|
97
97
|
{ key: index, 'aria-label': 'Secondary' },
|
|
98
|
-
|
|
98
|
+
React.createElement(
|
|
99
99
|
'div',
|
|
100
100
|
{ style: { display: 'flex', justifyContent: 'space-between', flexWrap: 'wrap' }, className: 'secondary-nav-title list-group-item active' },
|
|
101
|
-
|
|
101
|
+
React.createElement(
|
|
102
102
|
'span',
|
|
103
103
|
{ className: 'mr-1', style: { display: 'inline-block', fontWeight: 'bold', fontSize: '1rem' } },
|
|
104
104
|
row.name
|
|
105
105
|
),
|
|
106
|
-
row.url && SeeAll &&
|
|
106
|
+
row.url && SeeAll && React.createElement(
|
|
107
107
|
'span',
|
|
108
108
|
{ style: { marginLeft: 'auto', display: 'inline-block' } },
|
|
109
|
-
|
|
109
|
+
React.createElement(
|
|
110
110
|
'a',
|
|
111
111
|
{ style: { color: 'white', fontSize: '.6rem' }, href: row.url },
|
|
112
112
|
'See All ',
|
|
@@ -114,11 +114,11 @@ var LeftNav = function LeftNav(props) {
|
|
|
114
114
|
)
|
|
115
115
|
)
|
|
116
116
|
),
|
|
117
|
-
|
|
117
|
+
React.createElement(
|
|
118
118
|
'ul',
|
|
119
119
|
{ style: sideNavStyles },
|
|
120
120
|
row.subQuery && row.subQuery.map(function (subRow, subIndex) {
|
|
121
|
-
return
|
|
121
|
+
return React.createElement(
|
|
122
122
|
ListGroup.Item,
|
|
123
123
|
{ as: 'li', key: subIndex + '_2' },
|
|
124
124
|
renderListGroupItem(subRow)
|
|
@@ -131,7 +131,7 @@ var LeftNav = function LeftNav(props) {
|
|
|
131
131
|
);
|
|
132
132
|
};
|
|
133
133
|
|
|
134
|
-
var LeftNav$1 =
|
|
134
|
+
var LeftNav$1 = React.memo(LeftNav);
|
|
135
135
|
|
|
136
136
|
export default LeftNav$1;
|
|
137
137
|
export { LeftNav };
|