@mjhls/mjh-framework 1.0.861-beta.0 → 1.0.861
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +168 -168
- package/dist/cjs/AD.js +10 -9
- package/dist/cjs/AD300x250.js +11 -11
- package/dist/cjs/AD300x250x600.js +11 -11
- package/dist/cjs/AD728x90.js +12 -12
- package/dist/cjs/ADFloatingFooter.js +13 -13
- package/dist/cjs/ADFooter.js +9 -8
- package/dist/cjs/ADGutter.js +13 -13
- package/dist/cjs/{ADInfeed-98c71bcd.js → ADInfeed-ff26342c.js} +11 -9
- package/dist/cjs/ADSkyscraper.js +13 -13
- package/dist/cjs/ADSponsoredResources.js +13 -13
- package/dist/cjs/ADWebcast.js +13 -13
- package/dist/cjs/ADWelcome.js +17 -17
- package/dist/cjs/{ADlgInfeed-9de32585.js → ADlgInfeed-ad4953d4.js} +7 -6
- package/dist/cjs/AccordionPanel.js +24 -22
- package/dist/cjs/AdSlot.js +15 -15
- package/dist/cjs/AdSlotsProvider.js +11 -903
- package/dist/cjs/AlgoliaSearch.js +49 -14012
- package/dist/cjs/AlphabeticList.js +17 -16
- package/dist/cjs/ArticleCarousel.js +12 -11
- package/dist/cjs/ArticleProgramLandingPage.js +25 -24
- package/dist/cjs/ArticleSeriesLandingPage.js +21 -21
- package/dist/cjs/ArticleSeriesListing.js +41 -41
- package/dist/cjs/Auth.js +237 -1197
- package/dist/cjs/AuthWrapper.js +26 -561
- package/dist/cjs/{AuthorComponent-bb831b74.js → AuthorComponent-ac8972ce.js} +13 -12
- package/dist/cjs/{BlockContent-091a991f.js → BlockContent-8b494587.js} +25 -24
- package/dist/cjs/Breadcrumbs.js +23 -21
- package/dist/cjs/CMEDeck.js +64 -65
- package/dist/cjs/Column1.js +14 -11
- package/dist/cjs/Column2.js +22 -19
- package/dist/cjs/Column3.js +36 -34
- package/dist/cjs/ConferenceArticleCard.js +33 -32
- package/dist/cjs/ConferenceBanner-6c9e718a.js +24 -0
- package/dist/cjs/DeckContent.js +85 -82
- package/dist/cjs/DeckQueue.js +73 -70
- package/dist/cjs/{Dfp-26baccf1.js → Dfp-0bf098b5.js} +23 -23
- package/dist/cjs/EventsDeck.js +141 -134
- package/dist/cjs/ExternalResources.js +49 -48
- package/dist/cjs/Feature.js +25 -23
- package/dist/cjs/ForbesHero.js +35 -34
- package/dist/cjs/GridContent.js +209 -205
- package/dist/cjs/GridHero.js +36 -35
- package/dist/cjs/GroupDeck.js +49 -48
- package/dist/cjs/HamMagazine.js +130 -125
- package/dist/cjs/Header.js +14 -12
- package/dist/cjs/Hero.js +10 -9
- package/dist/cjs/HighlightenVideo.js +17 -16
- package/dist/cjs/HorizontalArticleListing.js +39 -38
- package/dist/cjs/HorizontalHero.js +24 -23
- package/dist/cjs/IssueContentDeck.js +70 -65
- package/dist/cjs/IssueDeck.js +66 -61
- package/dist/cjs/IssueLanding.js +60 -59
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +23 -22
- package/dist/cjs/MasterDeck.js +59 -59
- package/dist/cjs/MediaSeriesLanding.js +801 -909
- package/dist/cjs/NavDvm.js +68 -63
- package/dist/cjs/{NavFooter-76c913e3.js → NavFooter-3dcd99a8.js} +15 -14
- package/dist/cjs/NavMagazine.js +131 -126
- package/dist/cjs/NavNative.js +125 -117
- package/dist/cjs/OncliveHero.js +17 -17
- package/dist/cjs/OncliveLargeHero.js +64 -63
- package/dist/cjs/PageFilter.js +9 -8
- package/dist/cjs/PartnerDetailListing.js +288 -188
- package/dist/cjs/PdfDownload.js +9 -8
- package/dist/cjs/PopUpModal.js +15 -13
- package/dist/cjs/PubSection.js +21 -21
- package/dist/cjs/PubToc.js +8 -7
- package/dist/cjs/PublicationDeck.js +64 -59
- package/dist/cjs/PublicationLanding.js +114 -110
- package/dist/cjs/QueueDeckExpanded.js +286 -287
- package/dist/cjs/RecentNews.js +20 -19
- package/dist/cjs/RelatedContent.js +51 -50
- package/dist/cjs/RelatedTopicsDropdown.js +32 -29
- package/dist/cjs/RolesDeck.js +32 -27
- package/dist/cjs/Search.js +16 -12
- package/dist/cjs/SeriesListingDeck.js +26 -27
- package/dist/cjs/{SeriesSlider-8bbc989f.js → SeriesSlider-60fa1342.js} +38 -37
- package/dist/cjs/SideFooter.js +26 -25
- package/dist/cjs/SocialIcons.js +10 -9
- package/dist/cjs/{SocialSearchComponent-cea213aa.js → SocialSearchComponent-19548e2a.js} +38 -34
- package/dist/cjs/SocialShare.js +31 -29
- package/dist/cjs/TaxonomyCard.js +60 -55
- package/dist/cjs/TaxonomyDescription.js +24 -23
- package/dist/cjs/TemplateNormal.js +36 -36
- package/dist/cjs/ThumbnailCard.js +19 -17
- package/dist/cjs/Ustream.js +22 -21
- package/dist/cjs/VerticalHero.js +16 -15
- package/dist/cjs/VideoProgramLandingPage.js +45 -41
- package/dist/cjs/VideoSeriesCard.js +24 -23
- package/dist/cjs/VideoSeriesFilter.js +9 -9
- package/dist/cjs/VideoSeriesLandingPage.js +26 -26
- package/dist/cjs/VideoSeriesListing.js +58 -58
- package/dist/cjs/View.js +206 -202
- package/dist/cjs/YahooHero.js +31 -30
- package/dist/cjs/YoutubeGroup.js +55 -54
- package/dist/cjs/{brightcove-react-player-loader.es-156bd4d6.js → brightcove-react-player-loader.es-5c98aec7.js} +10 -8
- package/dist/cjs/{extends-0a918631.js → extends-60837c34.js} +0 -1
- package/dist/cjs/faundadb.js +1 -1
- package/dist/cjs/getRelatedArticle.js +67 -131
- package/dist/cjs/getSerializers.js +13 -13
- package/dist/cjs/{getTargeting-f1821260.js → getTargeting-3e45e4d4.js} +11 -11
- package/dist/cjs/getTargeting.js +2 -2
- package/dist/cjs/iconBase-68959171.js +0 -3
- package/dist/cjs/{index-98e01cb9.js → index-44481153.js} +494 -47
- package/dist/cjs/{index-edb47fba.js → index-87d0db67.js} +954 -1182
- package/dist/cjs/{index-3294d3bc.js → index-99edf08a.js} +1 -1
- package/dist/cjs/{index-96b3db50.js → index-9d365128.js} +12 -10
- package/dist/cjs/{index-be0c82be.js → index-b5eb3ff8.js} +20 -19
- package/dist/cjs/{index.es-9110add6.js → index.es-f3e47207.js} +31 -12
- package/dist/cjs/{index.esm-ff47db6f.js → index.esm-05850a2f.js} +5 -12
- package/dist/cjs/{index.esm-4d410430.js → index.esm-3ffa049c.js} +20 -20
- package/dist/cjs/{index.esm-e32d3e8e.js → index.esm-44f3e2d0.js} +3 -6
- package/dist/cjs/{index.esm-90433435.js → index.esm-974f47d9.js} +6 -15
- package/dist/cjs/index.js +65 -61
- package/dist/cjs/{inherits-452ff02c.js → inherits-87492b40.js} +1 -4
- package/dist/cjs/{lodash-fc2922d0.js → lodash-7fd85bcf.js} +71 -22
- package/dist/cjs/{main-02daeefe.js → main-7b5e57b0.js} +90 -54
- package/dist/cjs/{md5-5039b1a6.js → md5-e1ca5797.js} +1 -1
- package/dist/cjs/{moment-575fe24c.js → moment-ca3bd9fb.js} +10 -8
- package/dist/cjs/{react-social-icons-f7f48f71.js → react-social-icons-07939b41.js} +12 -11
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{typeof-725500bc.js → typeof-9d7f610f.js} +1 -1
- package/dist/cjs/urlFor.js +3 -3
- package/dist/cjs/{visibility-sensor-ad5e3116.js → visibility-sensor-eb2c5b69.js} +7 -5
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +8 -9
- package/dist/esm/AD300x250x600.js +8 -9
- package/dist/esm/AD728x90.js +9 -10
- package/dist/esm/ADFloatingFooter.js +10 -11
- package/dist/esm/ADFooter.js +6 -6
- package/dist/esm/ADGutter.js +10 -11
- package/dist/esm/{ADInfeed-1cc9d817.js → ADInfeed-422ad6e6.js} +7 -7
- package/dist/esm/ADSkyscraper.js +10 -11
- package/dist/esm/ADSponsoredResources.js +10 -11
- package/dist/esm/ADWebcast.js +10 -11
- package/dist/esm/ADWelcome.js +14 -15
- package/dist/esm/{ADlgInfeed-8c4f129e.js → ADlgInfeed-f7468db8.js} +4 -4
- package/dist/esm/AccordionPanel.js +17 -17
- package/dist/esm/AdSlot.js +6 -7
- package/dist/esm/AdSlotsProvider.js +10 -903
- package/dist/esm/AlgoliaSearch.js +41 -14005
- package/dist/esm/AlphabeticList.js +14 -14
- package/dist/esm/ArticleCarousel.js +9 -9
- package/dist/esm/ArticleProgramLandingPage.js +22 -22
- package/dist/esm/ArticleSeriesLandingPage.js +18 -19
- package/dist/esm/ArticleSeriesListing.js +37 -38
- package/dist/esm/Auth.js +217 -1181
- package/dist/esm/AuthWrapper.js +24 -561
- package/dist/esm/{AuthorComponent-34b16174.js → AuthorComponent-8ffd4679.js} +10 -10
- package/dist/esm/{BlockContent-e9b4ddcf.js → BlockContent-d05b5b23.js} +4 -4
- package/dist/esm/Breadcrumbs.js +11 -11
- package/dist/esm/CMEDeck.js +61 -62
- package/dist/esm/Column1.js +9 -9
- package/dist/esm/Column2.js +17 -17
- package/dist/esm/Column3.js +31 -32
- package/dist/esm/ConferenceArticleCard.js +30 -30
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/DeckContent.js +77 -78
- package/dist/esm/DeckQueue.js +65 -66
- package/dist/esm/{Dfp-b7236041.js → Dfp-85c9513e.js} +10 -11
- package/dist/esm/EventsDeck.js +110 -110
- package/dist/esm/ExternalResources.js +43 -43
- package/dist/esm/Feature.js +17 -17
- package/dist/esm/ForbesHero.js +28 -28
- package/dist/esm/GridContent.js +173 -174
- package/dist/esm/GridHero.js +29 -29
- package/dist/esm/GroupDeck.js +36 -36
- package/dist/esm/HamMagazine.js +100 -100
- package/dist/esm/Header.js +8 -8
- package/dist/esm/Hero.js +7 -7
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalArticleListing.js +36 -36
- package/dist/esm/HorizontalHero.js +21 -21
- package/dist/esm/IssueContentDeck.js +53 -53
- package/dist/esm/IssueDeck.js +55 -55
- package/dist/esm/IssueLanding.js +57 -57
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +17 -18
- package/dist/esm/MasterDeck.js +55 -56
- package/dist/esm/MediaSeriesLanding.js +561 -672
- package/dist/esm/NavDvm.js +46 -46
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +103 -103
- package/dist/esm/NavNative.js +92 -92
- package/dist/esm/OncliveHero.js +14 -15
- package/dist/esm/OncliveLargeHero.js +52 -52
- package/dist/esm/PageFilter.js +6 -6
- package/dist/esm/PartnerDetailListing.js +178 -79
- package/dist/esm/PdfDownload.js +6 -6
- package/dist/esm/PopUpModal.js +8 -8
- package/dist/esm/PubSection.js +18 -19
- package/dist/esm/PubToc.js +5 -5
- package/dist/esm/PublicationDeck.js +51 -51
- package/dist/esm/PublicationLanding.js +96 -96
- package/dist/esm/QueueDeckExpanded.js +252 -253
- package/dist/esm/RecentNews.js +17 -17
- package/dist/esm/RelatedContent.js +45 -45
- package/dist/esm/RelatedTopicsDropdown.js +21 -21
- package/dist/esm/RolesDeck.js +25 -25
- package/dist/esm/Search.js +7 -7
- package/dist/esm/SeriesListingDeck.js +21 -22
- package/dist/esm/{SeriesSlider-a866bb21.js → SeriesSlider-05ecb544.js} +28 -28
- package/dist/esm/SideFooter.js +21 -21
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-03c3e869.js → SocialSearchComponent-47815365.js} +28 -28
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +51 -51
- package/dist/esm/TaxonomyDescription.js +18 -18
- package/dist/esm/TemplateNormal.js +32 -33
- package/dist/esm/ThumbnailCard.js +10 -10
- package/dist/esm/Ustream.js +18 -18
- package/dist/esm/VerticalHero.js +13 -13
- package/dist/esm/VideoProgramLandingPage.js +34 -34
- package/dist/esm/VideoSeriesCard.js +18 -18
- package/dist/esm/VideoSeriesFilter.js +6 -6
- package/dist/esm/VideoSeriesLandingPage.js +18 -19
- package/dist/esm/VideoSeriesListing.js +54 -55
- package/dist/esm/View.js +185 -185
- package/dist/esm/YahooHero.js +25 -25
- package/dist/esm/YoutubeGroup.js +39 -39
- package/dist/esm/{brightcove-react-player-loader.es-83f53e4e.js → brightcove-react-player-loader.es-4abff0b1.js} +7 -6
- package/dist/esm/{extends-6f2fcc99.js → extends-eb69e8ac.js} +1 -1
- package/dist/esm/faundadb.js +1 -1
- package/dist/esm/getRelatedArticle.js +62 -126
- package/dist/esm/getSerializers.js +13 -13
- package/dist/esm/{getTargeting-bd800589.js → getTargeting-9cb7e014.js} +10 -10
- package/dist/esm/getTargeting.js +2 -2
- package/dist/esm/{index-41a678ea.js → index-1819118a.js} +487 -41
- package/dist/esm/{index-3dcc1323.js → index-20e503c9.js} +900 -1139
- package/dist/esm/{index-73819142.js → index-51a80699.js} +20 -19
- package/dist/esm/{index-5f7e79e7.js → index-6c12bdd5.js} +4 -4
- package/dist/esm/{index-ef6d5dcf.js → index-fa2ffe86.js} +1 -1
- package/dist/esm/{index.es-29c1cef5.js → index.es-c6222053.js} +28 -10
- package/dist/esm/{index.esm-29e48d38.js → index.esm-3fdda599.js} +6 -15
- package/dist/esm/{index.esm-fd746768.js → index.esm-8ee5ff72.js} +17 -18
- package/dist/esm/{index.esm-cf08bf18.js → index.esm-a8ff922c.js} +5 -12
- package/dist/esm/{index.esm-f8aaeeeb.js → index.esm-c6715e80.js} +3 -6
- package/dist/esm/index.js +54 -53
- package/dist/esm/{inherits-cf8dde54.js → inherits-0d8cda6e.js} +2 -2
- package/dist/esm/{lodash-17fdfebb.js → lodash-ec8c6b48.js} +71 -22
- package/dist/esm/{main-e4a934b2.js → main-747e7d25.js} +87 -52
- package/dist/esm/{md5-9be0e905.js → md5-4e42248e.js} +1 -1
- package/dist/esm/{moment-e2f9b20c.js → moment-b6f49411.js} +10 -8
- package/dist/esm/{react-social-icons-a7d5c5c7.js → react-social-icons-3822f1ce.js} +5 -5
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{typeof-6435ba1c.js → typeof-af9c50d8.js} +1 -1
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/{visibility-sensor-72fd8f8b.js → visibility-sensor-f40c2564.js} +2 -2
- package/package.json +110 -110
- package/dist/cjs/ConferenceBanner-4a16fddc.js +0 -23
- package/dist/cjs/events-1b438fe7.js +0 -469
- package/dist/cjs/index-e2e62963.js +0 -89
- package/dist/cjs/inherits-8d29278d.js +0 -110
- package/dist/esm/events-6c3a7a63.js +0 -467
- package/dist/esm/index-aaa2dae0.js +0 -85
- package/dist/esm/inherits-77d5e4fc.js +0 -101
package/dist/esm/IssueDeck.js
CHANGED
|
@@ -5,20 +5,20 @@ import './_iter-detect-5d49a330.js';
|
|
|
5
5
|
import { _ as _toConsumableArray } from './toConsumableArray-43aa614d.js';
|
|
6
6
|
import './core.get-iterator-method-e1de7503.js';
|
|
7
7
|
import './_object-pie-33c40e79.js';
|
|
8
|
-
import { _ as _extends } from './extends-
|
|
8
|
+
import { _ as _extends } from './extends-eb69e8ac.js';
|
|
9
9
|
import './web.dom.iterable-4439f05a.js';
|
|
10
|
-
import
|
|
10
|
+
import React, { useState, useEffect, useRef } from 'react';
|
|
11
11
|
import 'prop-types';
|
|
12
|
-
import Row
|
|
13
|
-
import Col
|
|
14
|
-
import Card
|
|
15
|
-
import { I as InfiniteScroll } from './index.es-
|
|
12
|
+
import Row from 'react-bootstrap/Row';
|
|
13
|
+
import Col from 'react-bootstrap/Col';
|
|
14
|
+
import Card from 'react-bootstrap/Card';
|
|
15
|
+
import { I as InfiniteScroll } from './index.es-c6222053.js';
|
|
16
16
|
import 'react-dom';
|
|
17
|
-
import './index-
|
|
17
|
+
import './index-51a80699.js';
|
|
18
18
|
import urlFor from './urlFor.js';
|
|
19
|
-
import { L as LazyLoad } from './index-
|
|
19
|
+
import { L as LazyLoad } from './index-6c12bdd5.js';
|
|
20
20
|
import { _ as _slicedToArray } from './slicedToArray-641f241f.js';
|
|
21
|
-
import Button
|
|
21
|
+
import Button from 'react-bootstrap/Button';
|
|
22
22
|
|
|
23
23
|
var usePrevious = function usePrevious(value) {
|
|
24
24
|
var ref = useRef();
|
|
@@ -131,71 +131,71 @@ var IssueDeck = function IssueDeck(props) {
|
|
|
131
131
|
}
|
|
132
132
|
}, [issuesData, setScrolling, count]);
|
|
133
133
|
|
|
134
|
-
return
|
|
134
|
+
return React.createElement(
|
|
135
135
|
InfiniteScroll,
|
|
136
136
|
{ dataLength: issuesData && issuesData.length, next: function next() {
|
|
137
137
|
return loadMore();
|
|
138
138
|
}, hasMore: scrolling, scrollThreshold: 0.9 },
|
|
139
|
-
|
|
140
|
-
Row
|
|
139
|
+
React.createElement(
|
|
140
|
+
Row,
|
|
141
141
|
null,
|
|
142
142
|
issuesData && issuesData.length ? issuesData.map(function (row, index) {
|
|
143
|
-
return publication && row.identifier && row.identifier.current &&
|
|
144
|
-
Col
|
|
143
|
+
return publication && row.identifier && row.identifier.current && React.createElement(
|
|
144
|
+
Col,
|
|
145
145
|
{ md: 12, lg: 12, key: index },
|
|
146
|
-
|
|
147
|
-
Card
|
|
146
|
+
React.createElement(
|
|
147
|
+
Card,
|
|
148
148
|
{ className: 'queue-card journal-queue', style: { borderTop: '1px solid #EEE' } },
|
|
149
|
-
|
|
150
|
-
Row
|
|
149
|
+
React.createElement(
|
|
150
|
+
Row,
|
|
151
151
|
{ style: { flexDirection: 'left' } },
|
|
152
|
-
|
|
153
|
-
Col
|
|
152
|
+
React.createElement(
|
|
153
|
+
Col,
|
|
154
154
|
{ md: 12, lg: 4, className: 'body-image', style: { textAlign: 'center' } },
|
|
155
|
-
row.issues.length > 0 ?
|
|
155
|
+
row.issues.length > 0 ? React.createElement(
|
|
156
156
|
'a',
|
|
157
157
|
{ href: href + '/' + publication + '/' + row.identifier.current, style: { width: '100%' } },
|
|
158
|
-
row.thumbnail &&
|
|
158
|
+
row.thumbnail && React.createElement(
|
|
159
159
|
LazyLoad,
|
|
160
160
|
{ height: imageHeight },
|
|
161
|
-
|
|
161
|
+
React.createElement(Card.Img, { variant: 'top', src: renderCardImage(row.thumbnail), alt: row.name, style: { objectFit: 'contain' } })
|
|
162
162
|
)
|
|
163
|
-
) :
|
|
163
|
+
) : React.createElement(
|
|
164
164
|
'a',
|
|
165
165
|
null,
|
|
166
|
-
row.thumbnail &&
|
|
166
|
+
row.thumbnail && React.createElement(
|
|
167
167
|
LazyLoad,
|
|
168
168
|
{ height: imageHeight },
|
|
169
|
-
|
|
169
|
+
React.createElement(Card.Img, { variant: 'top', src: renderCardImage(row.thumbnail), alt: row.name, style: { objectFit: 'contain' } })
|
|
170
170
|
)
|
|
171
171
|
)
|
|
172
172
|
),
|
|
173
|
-
|
|
174
|
-
Col
|
|
173
|
+
React.createElement(
|
|
174
|
+
Col,
|
|
175
175
|
{ md: 12, lg: 8 },
|
|
176
|
-
|
|
177
|
-
Card
|
|
176
|
+
React.createElement(
|
|
177
|
+
Card.Body,
|
|
178
178
|
{ style: { padding: '20px' }, className: 'body-text' },
|
|
179
|
-
|
|
180
|
-
Row
|
|
179
|
+
React.createElement(
|
|
180
|
+
Row,
|
|
181
181
|
null,
|
|
182
|
-
|
|
183
|
-
Col
|
|
182
|
+
React.createElement(
|
|
183
|
+
Col,
|
|
184
184
|
null,
|
|
185
|
-
|
|
186
|
-
Card
|
|
185
|
+
React.createElement(
|
|
186
|
+
Card.Title,
|
|
187
187
|
null,
|
|
188
188
|
row.name
|
|
189
189
|
)
|
|
190
190
|
)
|
|
191
191
|
),
|
|
192
|
-
|
|
193
|
-
Row
|
|
192
|
+
React.createElement(
|
|
193
|
+
Row,
|
|
194
194
|
null,
|
|
195
|
-
|
|
196
|
-
Col
|
|
195
|
+
React.createElement(
|
|
196
|
+
Col,
|
|
197
197
|
null,
|
|
198
|
-
|
|
198
|
+
React.createElement(
|
|
199
199
|
'div',
|
|
200
200
|
null,
|
|
201
201
|
'Volume: ',
|
|
@@ -203,13 +203,13 @@ var IssueDeck = function IssueDeck(props) {
|
|
|
203
203
|
)
|
|
204
204
|
)
|
|
205
205
|
),
|
|
206
|
-
|
|
207
|
-
Row
|
|
206
|
+
React.createElement(
|
|
207
|
+
Row,
|
|
208
208
|
null,
|
|
209
|
-
|
|
210
|
-
Col
|
|
209
|
+
React.createElement(
|
|
210
|
+
Col,
|
|
211
211
|
null,
|
|
212
|
-
|
|
212
|
+
React.createElement(
|
|
213
213
|
'div',
|
|
214
214
|
null,
|
|
215
215
|
'Number: ',
|
|
@@ -217,19 +217,19 @@ var IssueDeck = function IssueDeck(props) {
|
|
|
217
217
|
)
|
|
218
218
|
)
|
|
219
219
|
),
|
|
220
|
-
|
|
221
|
-
Row
|
|
220
|
+
React.createElement(
|
|
221
|
+
Row,
|
|
222
222
|
null,
|
|
223
|
-
row.issues.length > 0 &&
|
|
223
|
+
row.issues.length > 0 && React.createElement(
|
|
224
224
|
'a',
|
|
225
225
|
{ style: { paddingRight: '15px', paddingLeft: '15px' }, href: href + '/' + publication + '/' + row.identifier.current },
|
|
226
|
-
|
|
227
|
-
Button
|
|
226
|
+
React.createElement(
|
|
227
|
+
Button,
|
|
228
228
|
{ style: { marginTop: '20px', marginRight: '1rem' }, variant: 'secondary' },
|
|
229
229
|
'View Issue'
|
|
230
230
|
)
|
|
231
231
|
),
|
|
232
|
-
row.pdf && row.pdf.asset &&
|
|
232
|
+
row.pdf && row.pdf.asset && React.createElement(
|
|
233
233
|
'a',
|
|
234
234
|
{ rel: 'noopener', href: row.pdf.asset.url, target: '_blank', className: 'btn btn-primary', style: { marginTop: '20px' } },
|
|
235
235
|
'Download Issue'
|
|
@@ -240,13 +240,13 @@ var IssueDeck = function IssueDeck(props) {
|
|
|
240
240
|
)
|
|
241
241
|
)
|
|
242
242
|
);
|
|
243
|
-
}) :
|
|
243
|
+
}) : React.createElement(
|
|
244
244
|
'div',
|
|
245
245
|
null,
|
|
246
|
-
|
|
246
|
+
React.createElement(
|
|
247
247
|
'h5',
|
|
248
248
|
null,
|
|
249
|
-
|
|
249
|
+
React.createElement(
|
|
250
250
|
'em',
|
|
251
251
|
{ className: 'pl-3' },
|
|
252
252
|
'New content coming soon, please check back later.'
|
package/dist/esm/IssueLanding.js
CHANGED
|
@@ -6,32 +6,31 @@ import './_iter-detect-5d49a330.js';
|
|
|
6
6
|
import './toConsumableArray-43aa614d.js';
|
|
7
7
|
import './core.get-iterator-method-e1de7503.js';
|
|
8
8
|
import './_object-pie-33c40e79.js';
|
|
9
|
-
import { _ as _extends } from './extends-
|
|
9
|
+
import { _ as _extends } from './extends-eb69e8ac.js';
|
|
10
10
|
import './_object-sap-964b6feb.js';
|
|
11
|
-
import './inherits-
|
|
11
|
+
import './inherits-0d8cda6e.js';
|
|
12
12
|
import './define-property-8af5f002.js';
|
|
13
13
|
import './web.dom.iterable-4439f05a.js';
|
|
14
|
-
import './typeof-
|
|
14
|
+
import './typeof-af9c50d8.js';
|
|
15
15
|
import './_is-array-58e95429.js';
|
|
16
|
-
import
|
|
17
|
-
import './
|
|
18
|
-
import './index-41a678ea.js';
|
|
16
|
+
import React from 'react';
|
|
17
|
+
import './index-1819118a.js';
|
|
19
18
|
import 'prop-types';
|
|
20
19
|
import 'react-bootstrap/Row';
|
|
21
20
|
import 'react-bootstrap/Col';
|
|
22
21
|
import 'react-bootstrap/Card';
|
|
23
|
-
import './moment-
|
|
22
|
+
import './moment-b6f49411.js';
|
|
24
23
|
import 'next/router';
|
|
25
24
|
import './isSymbol-1981418f.js';
|
|
26
25
|
import './debounce-9207d8ee.js';
|
|
27
26
|
import './toNumber-2f7a84cd.js';
|
|
28
|
-
import './index.es-
|
|
27
|
+
import './index.es-c6222053.js';
|
|
29
28
|
import 'react-dom';
|
|
30
|
-
import './visibility-sensor-
|
|
31
|
-
import './index-
|
|
29
|
+
import './visibility-sensor-f40c2564.js';
|
|
30
|
+
import './index-51a80699.js';
|
|
32
31
|
import './urlFor.js';
|
|
33
|
-
import './index-
|
|
34
|
-
import './main-
|
|
32
|
+
import './index-6c12bdd5.js';
|
|
33
|
+
import './main-747e7d25.js';
|
|
35
34
|
import './entities-7cc3bf45.js';
|
|
36
35
|
import './slicedToArray-641f241f.js';
|
|
37
36
|
import './stringify-4330ccdc.js';
|
|
@@ -39,13 +38,13 @@ import './asyncToGenerator-fc1c2e29.js';
|
|
|
39
38
|
import './Segment.js';
|
|
40
39
|
import './Beam.js';
|
|
41
40
|
import './AdSlot.js';
|
|
42
|
-
import './ADInfeed-
|
|
43
|
-
import './lodash-
|
|
44
|
-
import './ADlgInfeed-
|
|
41
|
+
import './ADInfeed-422ad6e6.js';
|
|
42
|
+
import './lodash-ec8c6b48.js';
|
|
43
|
+
import './ADlgInfeed-f7468db8.js';
|
|
45
44
|
import './getContentCategory-15dcc413.js';
|
|
46
|
-
import './AuthorComponent-
|
|
45
|
+
import './AuthorComponent-8ffd4679.js';
|
|
47
46
|
import 'react-bootstrap/Button';
|
|
48
|
-
import { B as BlockContent } from './BlockContent-
|
|
47
|
+
import { B as BlockContent } from './BlockContent-d05b5b23.js';
|
|
49
48
|
import './index-c7e2ac95.js';
|
|
50
49
|
import './smoothscroll-0cd4c7a6.js';
|
|
51
50
|
import './GroupDeck.js';
|
|
@@ -53,10 +52,10 @@ import 'react-bootstrap';
|
|
|
53
52
|
import './timeDifferenceCalc.js';
|
|
54
53
|
import QueueDeckExpanded from './QueueDeckExpanded.js';
|
|
55
54
|
import './iconBase-602d52fe.js';
|
|
56
|
-
import './index.esm-
|
|
57
|
-
import { g as getSerializers } from './index-
|
|
55
|
+
import './index.esm-3fdda599.js';
|
|
56
|
+
import { g as getSerializers } from './index-20e503c9.js';
|
|
58
57
|
import './util-7700fc59.js';
|
|
59
|
-
import './brightcove-react-player-loader.es-
|
|
58
|
+
import './brightcove-react-player-loader.es-4abff0b1.js';
|
|
60
59
|
import 'next/head';
|
|
61
60
|
import 'react-share';
|
|
62
61
|
import './SocialShare.js';
|
|
@@ -66,38 +65,39 @@ import 'react-bootstrap/Figure';
|
|
|
66
65
|
import 'react-bootstrap/OverlayTrigger';
|
|
67
66
|
import 'react-bootstrap/Tooltip';
|
|
68
67
|
import 'react-bootstrap/Popover';
|
|
68
|
+
import 'react-script-tag';
|
|
69
69
|
import 'react-bootstrap/Breadcrumb';
|
|
70
70
|
import Breadcrumbs from './Breadcrumbs.js';
|
|
71
71
|
|
|
72
|
-
/* usage
|
|
73
|
-
import Settings, { Ads } from '../../../../settings'
|
|
74
|
-
import { IssueLanding, getQuery } from '@mjhls/mjh-framework'
|
|
75
|
-
import client from '../../../../client'
|
|
76
|
-
import moment from 'moment'
|
|
77
|
-
import Shell from '../../../../components/2.0/Shell'
|
|
78
|
-
import { pageview } from '../../../../utilities/gtag'
|
|
79
|
-
|
|
80
|
-
const Issue = (props) => {
|
|
81
|
-
const { pubIssue, cache } = props
|
|
82
|
-
const targeting = {
|
|
83
|
-
content_placement: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
|
|
84
|
-
document_url: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
|
|
85
|
-
}
|
|
86
|
-
return (
|
|
87
|
-
<Shell cache={cache} settings={Settings} targeting={targeting} ads={Ads} layout='3' title={pubIssue.issue.name}>
|
|
88
|
-
<IssueLanding pubIssue={pubIssue} client={client} settings={Settings} pageview={pageview} rightItems={Ads.getMobileAds(targeting)} />
|
|
89
|
-
</Shell>
|
|
90
|
-
)
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
Issue.getInitialProps = async (ctx) => {
|
|
94
|
-
const { query } = ctx
|
|
95
|
-
const pubIssue = await client.fetch(getQuery('issue'), { ...query, currentDate: moment().utc().format() }
|
|
96
|
-
)
|
|
97
|
-
return { pubIssue }
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
export default Issue
|
|
72
|
+
/* usage
|
|
73
|
+
import Settings, { Ads } from '../../../../settings'
|
|
74
|
+
import { IssueLanding, getQuery } from '@mjhls/mjh-framework'
|
|
75
|
+
import client from '../../../../client'
|
|
76
|
+
import moment from 'moment'
|
|
77
|
+
import Shell from '../../../../components/2.0/Shell'
|
|
78
|
+
import { pageview } from '../../../../utilities/gtag'
|
|
79
|
+
|
|
80
|
+
const Issue = (props) => {
|
|
81
|
+
const { pubIssue, cache } = props
|
|
82
|
+
const targeting = {
|
|
83
|
+
content_placement: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
|
|
84
|
+
document_url: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
|
|
85
|
+
}
|
|
86
|
+
return (
|
|
87
|
+
<Shell cache={cache} settings={Settings} targeting={targeting} ads={Ads} layout='3' title={pubIssue.issue.name}>
|
|
88
|
+
<IssueLanding pubIssue={pubIssue} client={client} settings={Settings} pageview={pageview} rightItems={Ads.getMobileAds(targeting)} />
|
|
89
|
+
</Shell>
|
|
90
|
+
)
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
Issue.getInitialProps = async (ctx) => {
|
|
94
|
+
const { query } = ctx
|
|
95
|
+
const pubIssue = await client.fetch(getQuery('issue'), { ...query, currentDate: moment().utc().format() }
|
|
96
|
+
)
|
|
97
|
+
return { pubIssue }
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
export default Issue
|
|
101
101
|
*/
|
|
102
102
|
|
|
103
103
|
var IssueLanding = function IssueLanding(props) {
|
|
@@ -123,22 +123,22 @@ var IssueLanding = function IssueLanding(props) {
|
|
|
123
123
|
_props$imageWidth = props.imageWidth,
|
|
124
124
|
imageWidth = _props$imageWidth === undefined ? 480 : _props$imageWidth;
|
|
125
125
|
|
|
126
|
-
return
|
|
126
|
+
return React.createElement(
|
|
127
127
|
'div',
|
|
128
128
|
{ id: 'issueLanding' },
|
|
129
|
-
|
|
130
|
-
pubIssue.issue.source &&
|
|
129
|
+
React.createElement(Breadcrumbs, null),
|
|
130
|
+
pubIssue.issue.source && React.createElement(
|
|
131
131
|
'p',
|
|
132
132
|
{ className: 'badge badge-primary' },
|
|
133
133
|
pubIssue.issue.source
|
|
134
134
|
),
|
|
135
|
-
pubIssue.issue.description &&
|
|
136
|
-
|
|
135
|
+
pubIssue.issue.description && React.createElement(
|
|
136
|
+
React.Fragment,
|
|
137
137
|
null,
|
|
138
|
-
|
|
139
|
-
|
|
138
|
+
React.createElement(BlockContent, _extends({ serializers: getSerializers(client), blocks: pubIssue.issue.description, imageOptions: { w: 320, h: 240, fit: 'max' } }, client.config())),
|
|
139
|
+
React.createElement('div', { style: { clear: 'both' } })
|
|
140
140
|
),
|
|
141
|
-
|
|
141
|
+
React.createElement(QueueDeckExpanded, {
|
|
142
142
|
client: client,
|
|
143
143
|
mapping: settings.mapping,
|
|
144
144
|
dataRecord: pubIssue.issue.articles,
|
package/dist/esm/KMTracker.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
var KMTracker = function KMTracker(props) {
|
|
2
|
-
|
|
2
|
+
var id = props.id;
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
if (document && id) {
|
|
5
5
|
(function () {
|
|
6
|
-
|
|
6
|
+
var ecnJquery = document.createElement('script');
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
ecnJquery.type = 'text/javascript';
|
|
9
|
+
ecnJquery.async = true;
|
|
10
|
+
ecnJquery.src = 'https://apidt.ecn5.com/ECN_jQuery.min.js';
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
var ecnScript = document.createElement('script');
|
|
13
13
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
14
|
+
ecnScript.type = 'text/javascript';
|
|
15
|
+
ecnScript.async = true;
|
|
16
|
+
ecnScript.id = 'km-tracker';
|
|
17
|
+
ecnScript.src = 'https://apidt.ecn5.com/ECN_tracker_Secure.js?TrackerKey=' + id;
|
|
18
18
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
19
|
+
document.head.appendChild(ecnJquery);
|
|
20
|
+
document.head.appendChild(ecnScript);
|
|
21
|
+
})();
|
|
22
|
+
}
|
|
23
23
|
};
|
|
24
24
|
|
|
25
25
|
export default KMTracker;
|
package/dist/esm/LeftNav.js
CHANGED
|
@@ -5,16 +5,15 @@ import './_library-528f1934.js';
|
|
|
5
5
|
import './_iter-detect-5d49a330.js';
|
|
6
6
|
import './core.get-iterator-method-e1de7503.js';
|
|
7
7
|
import './_object-pie-33c40e79.js';
|
|
8
|
-
import './extends-
|
|
8
|
+
import './extends-eb69e8ac.js';
|
|
9
9
|
import './web.dom.iterable-4439f05a.js';
|
|
10
|
-
import
|
|
11
|
-
import './
|
|
12
|
-
import './index-41a678ea.js';
|
|
10
|
+
import React, { useRef, useEffect } from 'react';
|
|
11
|
+
import './index-1819118a.js';
|
|
13
12
|
import 'prop-types';
|
|
14
13
|
import './isSymbol-1981418f.js';
|
|
15
14
|
import './debounce-9207d8ee.js';
|
|
16
15
|
import './toNumber-2f7a84cd.js';
|
|
17
|
-
import './main-
|
|
16
|
+
import './main-747e7d25.js';
|
|
18
17
|
import './slicedToArray-641f241f.js';
|
|
19
18
|
import './stringify-4330ccdc.js';
|
|
20
19
|
import './asyncToGenerator-fc1c2e29.js';
|
|
@@ -66,21 +65,21 @@ var LeftNav = function LeftNav(props) {
|
|
|
66
65
|
|
|
67
66
|
var renderListGroupItem = function renderListGroupItem(subRow) {
|
|
68
67
|
if (checkUrlIsExternal(subRow.url)) {
|
|
69
|
-
return
|
|
68
|
+
return React.createElement(
|
|
70
69
|
'a',
|
|
71
70
|
{ target: subRow.blank ? '_blank' : '_self', needsegmentsupport: subRow.needSegmentSupport ? 'true' : '', href: subRow.url },
|
|
72
71
|
subRow.name
|
|
73
72
|
);
|
|
74
73
|
}
|
|
75
74
|
|
|
76
|
-
return
|
|
75
|
+
return React.createElement(
|
|
77
76
|
'a',
|
|
78
77
|
{ href: subRow.url || '#', target: subRow.blank ? '_blank' : '_self', needsegmentsupport: subRow.needSegmentSupport ? 'true' : '' },
|
|
79
78
|
subRow.name
|
|
80
79
|
);
|
|
81
80
|
};
|
|
82
81
|
|
|
83
|
-
return
|
|
82
|
+
return React.createElement(
|
|
84
83
|
'section',
|
|
85
84
|
{ ref: leftNavRef },
|
|
86
85
|
leftItems && leftItems.map(function (row, index) {
|
|
@@ -88,27 +87,27 @@ var LeftNav = function LeftNav(props) {
|
|
|
88
87
|
// Since Webcast Ad should be between spotlight and sub navigation it should be passed as the second element of leftItems array from site level.
|
|
89
88
|
// Webcast AD should have atleast adUnit , networkID, and "_type" as "webcastAD"
|
|
90
89
|
if (row._type && row._type === 'webcastAD' && row.adUnit) {
|
|
91
|
-
return
|
|
90
|
+
return React.createElement(
|
|
92
91
|
'div',
|
|
93
92
|
{ key: index },
|
|
94
|
-
|
|
93
|
+
React.createElement(ADWebcast, { webcastAd: row, refreshFlag: row.refreshFlag ? row.refreshFlag : false })
|
|
95
94
|
);
|
|
96
95
|
} else {
|
|
97
|
-
return
|
|
96
|
+
return React.createElement(
|
|
98
97
|
'nav',
|
|
99
98
|
{ key: index, 'aria-label': 'Secondary' },
|
|
100
|
-
|
|
99
|
+
React.createElement(
|
|
101
100
|
'div',
|
|
102
101
|
{ style: { display: 'flex', justifyContent: 'space-between', flexWrap: 'wrap' }, className: 'secondary-nav-title list-group-item active' },
|
|
103
|
-
|
|
102
|
+
React.createElement(
|
|
104
103
|
'span',
|
|
105
104
|
{ className: 'mr-1', style: { display: 'inline-block', fontWeight: 'bold', fontSize: '1rem' } },
|
|
106
105
|
row.name
|
|
107
106
|
),
|
|
108
|
-
row.url && SeeAll &&
|
|
107
|
+
row.url && SeeAll && React.createElement(
|
|
109
108
|
'span',
|
|
110
109
|
{ style: { marginLeft: 'auto', display: 'inline-block' } },
|
|
111
|
-
|
|
110
|
+
React.createElement(
|
|
112
111
|
'a',
|
|
113
112
|
{ style: { color: 'white', fontSize: '.6rem' }, href: row.url },
|
|
114
113
|
'See All ',
|
|
@@ -116,11 +115,11 @@ var LeftNav = function LeftNav(props) {
|
|
|
116
115
|
)
|
|
117
116
|
)
|
|
118
117
|
),
|
|
119
|
-
|
|
118
|
+
React.createElement(
|
|
120
119
|
'ul',
|
|
121
120
|
{ style: sideNavStyles },
|
|
122
121
|
row.subQuery && row.subQuery.map(function (subRow, subIndex) {
|
|
123
|
-
return
|
|
122
|
+
return React.createElement(
|
|
124
123
|
ListGroup.Item,
|
|
125
124
|
{ as: 'li', key: subIndex + '_2' },
|
|
126
125
|
renderListGroupItem(subRow)
|
|
@@ -133,7 +132,7 @@ var LeftNav = function LeftNav(props) {
|
|
|
133
132
|
);
|
|
134
133
|
};
|
|
135
134
|
|
|
136
|
-
var LeftNav$1 =
|
|
135
|
+
var LeftNav$1 = React.memo(LeftNav);
|
|
137
136
|
|
|
138
137
|
export default LeftNav$1;
|
|
139
138
|
export { LeftNav };
|