@mjhls/mjh-framework 1.0.866 → 1.0.867
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +168 -168
- package/dist/cjs/AD.js +1 -1
- package/dist/cjs/AD300x250.js +10 -11
- package/dist/cjs/AD300x250x600.js +10 -11
- package/dist/cjs/AD728x90.js +10 -11
- package/dist/cjs/ADFloatingFooter.js +10 -11
- package/dist/cjs/ADFooter.js +3 -5
- package/dist/cjs/ADGutter.js +10 -11
- package/dist/cjs/{ADInfeed-f8324b70.js → ADInfeed-7d13830e.js} +1 -1
- package/dist/cjs/ADSkyscraper.js +10 -11
- package/dist/cjs/ADSponsoredResources.js +10 -11
- package/dist/cjs/ADWebcast.js +10 -11
- package/dist/cjs/ADWelcome.js +10 -11
- package/dist/cjs/{ADlgInfeed-98d7c699.js → ADlgInfeed-d9dbfadc.js} +1 -1
- package/dist/cjs/AccordionPanel.js +5 -7
- package/dist/cjs/AdSlot.js +10 -11
- package/dist/cjs/AdSlotsProvider.js +8 -9
- package/dist/cjs/AlgoliaSearch.js +14105 -24
- package/dist/cjs/AlphabeticList.js +6 -8
- package/dist/cjs/ArticleCarousel.js +5 -7
- package/dist/cjs/ArticleProgramLandingPage.js +20 -21
- package/dist/cjs/ArticleSeriesLandingPage.js +18 -19
- package/dist/cjs/ArticleSeriesListing.js +14 -15
- package/dist/cjs/Auth.js +7 -9
- package/dist/cjs/AuthWrapper.js +4 -6
- package/dist/cjs/{AuthorComponent-c21aac7f.js → AuthorComponent-39b37d84.js} +1 -1
- package/dist/cjs/Beam.js +5 -7
- package/dist/cjs/Breadcrumbs.js +3 -5
- package/dist/cjs/CMEDeck.js +10 -11
- package/dist/cjs/Column2.js +6 -8
- package/dist/cjs/Column3.js +12 -13
- package/dist/cjs/ConferenceArticleCard.js +18 -15
- package/dist/cjs/DeckContent.js +25 -26
- package/dist/cjs/DeckQueue.js +14 -14
- package/dist/cjs/{Dfp-3f0ed4c8.js → Dfp-9be904d5.js} +5 -6
- package/dist/cjs/EventsDeck.js +30 -32
- package/dist/cjs/ExternalResources.js +20 -21
- package/dist/cjs/Feature.js +5 -2
- package/dist/cjs/ForbesHero.js +4 -6
- package/dist/cjs/GridContent.js +19 -20
- package/dist/cjs/GridHero.js +4 -6
- package/dist/cjs/GroupDeck.js +5 -7
- package/dist/cjs/HamMagazine.js +20 -22
- package/dist/cjs/Hero.js +4 -1
- package/dist/cjs/HorizontalArticleListing.js +20 -21
- package/dist/cjs/HorizontalHero.js +5 -2
- package/dist/cjs/IssueContentDeck.js +4 -6
- package/dist/cjs/IssueDeck.js +6 -8
- package/dist/cjs/IssueLanding.js +52 -53
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +10 -11
- package/dist/cjs/MasterDeck.js +26 -27
- package/dist/cjs/MediaSeriesLanding.js +320 -422
- package/dist/cjs/NavDvm.js +5 -7
- package/dist/cjs/NavMagazine.js +21 -23
- package/dist/cjs/NavNative.js +17 -19
- package/dist/cjs/OncliveHero.js +5 -2
- package/dist/cjs/OncliveLargeHero.js +4 -6
- package/dist/cjs/PageFilter.js +3 -5
- package/dist/cjs/PartnerDetailListing.js +23 -24
- package/dist/cjs/PdfDownload.js +2 -2
- package/dist/cjs/PopUpModal.js +3 -5
- package/dist/cjs/PubSection.js +14 -15
- package/dist/cjs/PubToc.js +5 -7
- package/dist/cjs/PublicationDeck.js +3 -0
- package/dist/cjs/PublicationLanding.js +61 -63
- package/dist/cjs/QueueDeckExpanded.js +14 -15
- package/dist/cjs/RecentNews.js +2 -2
- package/dist/cjs/RelatedContent.js +31 -28
- package/dist/cjs/RelatedTopicsDropdown.js +10 -10
- package/dist/cjs/Search.js +3 -5
- package/dist/cjs/Segment.js +4 -6
- package/dist/cjs/SeriesListingDeck.js +10 -11
- package/dist/cjs/{SeriesSlider-e3e8ead7.js → SeriesSlider-ce3261cb.js} +6 -6
- package/dist/cjs/SideFooter.js +8 -10
- package/dist/cjs/{SocialSearchComponent-948138c7.js → SocialSearchComponent-a4ae7b88.js} +4 -4
- package/dist/cjs/TaxonomyCard.js +4 -2
- package/dist/cjs/TaxonomyDescription.js +20 -21
- package/dist/cjs/TemplateNormal.js +17 -18
- package/dist/cjs/ThumbnailCard.js +4 -1
- package/dist/cjs/Ustream.js +10 -12
- package/dist/cjs/VerticalHero.js +3 -0
- package/dist/cjs/VideoProgramLandingPage.js +20 -21
- package/dist/cjs/VideoSeriesCard.js +6 -6
- package/dist/cjs/VideoSeriesFilter.js +5 -7
- package/dist/cjs/VideoSeriesLandingPage.js +18 -19
- package/dist/cjs/VideoSeriesListing.js +14 -15
- package/dist/cjs/View.js +25 -26
- package/dist/cjs/YahooHero.js +4 -6
- package/dist/cjs/YoutubeGroup.js +8 -10
- package/dist/cjs/{_is-array-6128bd56.js → _is-array-54228b29.js} +9 -9
- package/dist/cjs/{_iter-detect-55a5657a.js → _iter-detect-b1df62f0.js} +6 -7
- package/dist/cjs/_object-sap-d1978572.js +16 -0
- package/dist/cjs/{_object-to-array-8fe5a54f.js → _object-to-array-ce86cae7.js} +4 -4
- package/dist/cjs/{asyncToGenerator-58c289d9.js → asyncToGenerator-77821af0.js} +65 -67
- package/dist/cjs/{_to-object-6de10e57.js → core.get-iterator-method-5643aa10.js} +248 -12
- package/dist/cjs/{define-property-c88be878.js → define-property-e8404b64.js} +3 -3
- package/dist/cjs/{defineProperty-0cb76d99.js → defineProperty-9673846a.js} +1 -1
- package/dist/cjs/events-1b438fe7.js +469 -0
- package/dist/cjs/{extends-29bdbc6d.js → extends-7c86182f.js} +8 -8
- package/dist/cjs/faundadb.js +4 -6
- package/dist/cjs/getQuery.js +2 -2
- package/dist/cjs/getRelatedArticle.js +4 -6
- package/dist/cjs/getRootDocGroup.js +4 -6
- package/dist/cjs/getSerializers.js +20 -21
- package/dist/cjs/{getTargeting-32d1c2e4.js → getTargeting-9d509319.js} +11 -11
- package/dist/cjs/getTargeting.js +5 -7
- package/dist/{esm/iconBase-ccc56b97.js → cjs/iconBase-68959171.js} +5 -2
- package/dist/cjs/index-8041a4eb.js +99 -0
- package/dist/cjs/{index-32097c80.js → index-ad4e6a69.js} +42 -21
- package/dist/cjs/{index-0e4427c8.js → index-fc2f1ca2.js} +2 -467
- package/dist/cjs/{index.esm-f27f80d9.js → index.esm-05850a2f.js} +1 -1
- package/dist/cjs/{index.esm-c1e16606.js → index.esm-44f3e2d0.js} +1 -1
- package/dist/cjs/{index.esm-2bb721c8.js → index.esm-8123cf40.js} +1 -1
- package/dist/cjs/{index.esm-00a6aade.js → index.esm-974f47d9.js} +1 -1
- package/dist/cjs/index.js +32 -33
- package/dist/cjs/{inherits-c2065b95.js → inherits-de66ea16.js} +13 -14
- package/dist/cjs/{keys-7f2c2108.js → keys-e982b3fa.js} +4 -4
- package/dist/cjs/{main-f1c77adb.js → main-025fdc78.js} +3 -3
- package/dist/cjs/{slicedToArray-5d1bc3b3.js → slicedToArray-067dd3bc.js} +7 -9
- package/dist/cjs/{stringify-c9ac1214.js → stringify-f7a37a8d.js} +2 -2
- package/dist/cjs/{toConsumableArray-ddb70795.js → toConsumableArray-d7797c2b.js} +8 -10
- package/dist/cjs/{typeof-88a668c5.js → typeof-567e31ff.js} +73 -74
- package/dist/cjs/urlFor.js +18 -1
- package/dist/cjs/{ustream-api-b2b9092f.js → ustream-api-3819e4aa.js} +4 -4
- package/dist/cjs/{web.dom.iterable-46657b5c.js → web.dom.iterable-d98303e0.js} +8 -9
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +14 -15
- package/dist/esm/AD300x250x600.js +14 -15
- package/dist/esm/AD728x90.js +15 -16
- package/dist/esm/ADFloatingFooter.js +17 -18
- package/dist/esm/ADFooter.js +9 -11
- package/dist/esm/ADGutter.js +17 -18
- package/dist/esm/{ADInfeed-a71a3972.js → ADInfeed-0cbd7bed.js} +6 -6
- package/dist/esm/ADSkyscraper.js +17 -18
- package/dist/esm/ADSponsoredResources.js +17 -18
- package/dist/esm/ADWebcast.js +17 -18
- package/dist/esm/ADWelcome.js +21 -22
- package/dist/esm/{ADlgInfeed-d94f1437.js → ADlgInfeed-2d1a52d9.js} +5 -5
- package/dist/esm/AccordionPanel.js +21 -23
- package/dist/esm/AdSlot.js +13 -14
- package/dist/esm/AdSlotsProvider.js +10 -11
- package/dist/esm/AlgoliaSearch.js +14127 -46
- package/dist/esm/AlphabeticList.js +19 -21
- package/dist/esm/ArticleCarousel.js +10 -12
- package/dist/esm/ArticleProgramLandingPage.js +32 -33
- package/dist/esm/ArticleSeriesLandingPage.js +26 -27
- package/dist/esm/ArticleSeriesListing.js +41 -42
- package/dist/esm/Auth.js +77 -79
- package/dist/esm/AuthWrapper.js +29 -31
- package/dist/esm/{AuthorComponent-30aeba69.js → AuthorComponent-46a745ba.js} +11 -11
- package/dist/esm/Beam.js +5 -7
- package/dist/esm/{BlockContent-c99c9a8d.js → BlockContent-52cf21c5.js} +3 -3
- package/dist/esm/Breadcrumbs.js +14 -16
- package/dist/esm/CMEDeck.js +69 -70
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +18 -20
- package/dist/esm/Column3.js +33 -34
- package/dist/esm/ConferenceArticleCard.js +31 -28
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/DeckContent.js +71 -72
- package/dist/esm/DeckQueue.js +54 -54
- package/dist/esm/{Dfp-be030f2a.js → Dfp-4ca12f2e.js} +14 -15
- package/dist/esm/EventsDeck.js +91 -93
- package/dist/esm/ExternalResources.js +50 -51
- package/dist/esm/Feature.js +19 -16
- package/dist/esm/ForbesHero.js +29 -31
- package/dist/esm/GridContent.js +138 -139
- package/dist/esm/GridHero.js +30 -32
- package/dist/esm/GroupDeck.js +39 -41
- package/dist/esm/HamMagazine.js +100 -102
- package/dist/esm/Header.js +8 -8
- package/dist/esm/Hero.js +10 -7
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalArticleListing.js +46 -47
- package/dist/esm/HorizontalHero.js +23 -20
- package/dist/esm/IssueContentDeck.js +42 -44
- package/dist/esm/IssueDeck.js +39 -41
- package/dist/esm/IssueLanding.js +66 -67
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +24 -25
- package/dist/esm/MasterDeck.js +60 -61
- package/dist/esm/MediaSeriesLanding.js +347 -449
- package/dist/esm/NavDvm.js +48 -50
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +104 -106
- package/dist/esm/NavNative.js +91 -93
- package/dist/esm/OncliveHero.js +17 -14
- package/dist/esm/OncliveLargeHero.js +53 -55
- package/dist/esm/PageFilter.js +9 -11
- package/dist/esm/PartnerDetailListing.js +81 -82
- package/dist/esm/PdfDownload.js +7 -7
- package/dist/esm/PopUpModal.js +11 -13
- package/dist/esm/PubSection.js +23 -24
- package/dist/esm/PubToc.js +10 -12
- package/dist/esm/PublicationDeck.js +36 -33
- package/dist/esm/PublicationLanding.js +83 -85
- package/dist/esm/QueueDeckExpanded.js +255 -256
- package/dist/esm/RecentNews.js +18 -18
- package/dist/esm/RelatedContent.js +46 -43
- package/dist/esm/RelatedTopicsDropdown.js +21 -21
- package/dist/esm/RolesDeck.js +13 -13
- package/dist/esm/Search.js +8 -10
- package/dist/esm/Segment.js +4 -6
- package/dist/esm/SeriesListingDeck.js +26 -27
- package/dist/esm/{SeriesSlider-ae17159f.js → SeriesSlider-485f514e.js} +24 -24
- package/dist/esm/SideFooter.js +27 -29
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-db963c3e.js → SocialSearchComponent-41b6b480.js} +23 -23
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +39 -37
- package/dist/esm/TaxonomyDescription.js +28 -29
- package/dist/esm/TemplateNormal.js +39 -40
- package/dist/esm/ThumbnailCard.js +13 -10
- package/dist/esm/Ustream.js +24 -26
- package/dist/esm/VerticalHero.js +14 -11
- package/dist/esm/VideoProgramLandingPage.js +39 -40
- package/dist/esm/VideoSeriesCard.js +20 -20
- package/dist/esm/VideoSeriesFilter.js +11 -13
- package/dist/esm/VideoSeriesLandingPage.js +26 -27
- package/dist/esm/VideoSeriesListing.js +57 -58
- package/dist/esm/View.js +189 -190
- package/dist/esm/YahooHero.js +26 -28
- package/dist/esm/YoutubeGroup.js +35 -37
- package/dist/esm/{_is-array-3e99e06e.js → _is-array-893ab020.js} +1 -1
- package/dist/esm/{_iter-detect-7e5e5ce2.js → _iter-detect-f089461c.js} +1 -2
- package/dist/esm/{_object-sap-f353c2a9.js → _object-sap-169d6272.js} +1 -1
- package/dist/esm/{_object-to-array-0f197f89.js → _object-to-array-50a6b9a3.js} +1 -1
- package/dist/esm/{asyncToGenerator-7f8f9219.js → asyncToGenerator-b4dfe691.js} +3 -5
- package/dist/esm/{brightcove-react-player-loader.es-57a70a56.js → brightcove-react-player-loader.es-b43c695a.js} +3 -3
- package/dist/esm/{_to-object-b50e61c3.js → core.get-iterator-method-e903ff31.js} +239 -10
- package/dist/esm/{define-property-fe54dc9f.js → define-property-99e66838.js} +1 -1
- package/dist/esm/{defineProperty-f5ff6f5a.js → defineProperty-8fa0bc8d.js} +1 -1
- package/dist/esm/events-6c3a7a63.js +467 -0
- package/dist/esm/{extends-60e0e1c6.js → extends-dc6a71fd.js} +1 -1
- package/dist/esm/faundadb.js +4 -6
- package/dist/esm/getQuery.js +2 -2
- package/dist/esm/getRelatedArticle.js +4 -6
- package/dist/esm/getRootDocGroup.js +4 -6
- package/dist/esm/getSerializers.js +23 -24
- package/dist/esm/{getTargeting-cf2724e3.js → getTargeting-ff2c9409.js} +11 -11
- package/dist/esm/getTargeting.js +5 -7
- package/dist/{cjs/iconBase-be4097c0.js → esm/iconBase-602d52fe.js} +8 -33
- package/dist/esm/{index-5cc7b406.js → index-2446af28.js} +4 -469
- package/dist/esm/{index-755f2cc2.js → index-35bdcc81.js} +4 -4
- package/dist/esm/{index-5e84f9cd.js → index-61397130.js} +452 -431
- package/dist/esm/index-67e1773f.js +94 -0
- package/dist/esm/{index.es-a6137319.js → index.es-c6222053.js} +5 -5
- package/dist/esm/{index.esm-f6156a57.js → index.esm-3fdda599.js} +1 -1
- package/dist/esm/{index.esm-37268dca.js → index.esm-8016b507.js} +16 -16
- package/dist/esm/{index.esm-d4932dea.js → index.esm-a8ff922c.js} +1 -1
- package/dist/esm/{index.esm-9b042655.js → index.esm-c6715e80.js} +1 -1
- package/dist/esm/index.js +56 -57
- package/dist/esm/{inherits-a41fe93f.js → inherits-8a801a18.js} +4 -5
- package/dist/esm/{keys-7a3adabf.js → keys-425c8ab0.js} +2 -2
- package/dist/esm/{main-d4165069.js → main-b5c5aac1.js} +19 -19
- package/dist/esm/{react-social-icons-9be47857.js → react-social-icons-91f9716f.js} +5 -5
- package/dist/esm/{slicedToArray-be2f7a22.js → slicedToArray-ca2c8b8d.js} +2 -4
- package/dist/esm/{stringify-59c8f690.js → stringify-c21932b3.js} +1 -1
- package/dist/esm/{toConsumableArray-6d9a4616.js → toConsumableArray-7b1c0e23.js} +2 -4
- package/dist/esm/{typeof-a286cf0c.js → typeof-83d9eb10.js} +3 -4
- package/dist/esm/urlFor.js +18 -1
- package/dist/esm/{ustream-api-33a866b6.js → ustream-api-41166338.js} +4 -4
- package/dist/esm/{visibility-sensor-72fd8f8b.js → visibility-sensor-f40c2564.js} +2 -2
- package/dist/esm/{web.dom.iterable-4109ff68.js → web.dom.iterable-fdf034f5.js} +1 -2
- package/package.json +111 -111
- package/dist/cjs/_object-sap-a175b4a9.js +0 -16
- package/dist/cjs/core.get-iterator-method-f474eacc.js +0 -39
- package/dist/cjs/es6.string.iterator-c2573ffd.js +0 -210
- package/dist/esm/core.get-iterator-method-133dfacd.js +0 -36
- package/dist/esm/es6.string.iterator-bc33758b.js +0 -201
package/dist/esm/IssueDeck.js
CHANGED
|
@@ -1,21 +1,19 @@
|
|
|
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 './
|
|
14
|
-
import './
|
|
15
|
-
import './_iter-detect-7e5e5ce2.js';
|
|
16
|
-
import './core.get-iterator-method-133dfacd.js';
|
|
13
|
+
import './core.get-iterator-method-e903ff31.js';
|
|
14
|
+
import './_iter-detect-f089461c.js';
|
|
17
15
|
import './_object-pie-133f504a.js';
|
|
18
|
-
import './web.dom.iterable-
|
|
16
|
+
import './web.dom.iterable-fdf034f5.js';
|
|
19
17
|
import 'react-dom';
|
|
20
18
|
import 'prop-types';
|
|
21
19
|
import './index-0dbff1d1.js';
|
|
@@ -131,71 +129,71 @@ var IssueDeck = function IssueDeck(props) {
|
|
|
131
129
|
}
|
|
132
130
|
}, [issuesData, setScrolling, count]);
|
|
133
131
|
|
|
134
|
-
return
|
|
132
|
+
return React.createElement(
|
|
135
133
|
InfiniteScroll,
|
|
136
134
|
{ dataLength: issuesData && issuesData.length, next: function next() {
|
|
137
135
|
return loadMore();
|
|
138
136
|
}, hasMore: scrolling, scrollThreshold: 0.9 },
|
|
139
|
-
|
|
137
|
+
React.createElement(
|
|
140
138
|
Row,
|
|
141
139
|
null,
|
|
142
140
|
issuesData && issuesData.length ? issuesData.map(function (row, index) {
|
|
143
|
-
return publication && row.identifier && row.identifier.current &&
|
|
141
|
+
return publication && row.identifier && row.identifier.current && React.createElement(
|
|
144
142
|
Col,
|
|
145
143
|
{ md: 12, lg: 12, key: index },
|
|
146
|
-
|
|
144
|
+
React.createElement(
|
|
147
145
|
Card,
|
|
148
146
|
{ className: 'queue-card journal-queue', style: { borderTop: '1px solid #EEE' } },
|
|
149
|
-
|
|
147
|
+
React.createElement(
|
|
150
148
|
Row,
|
|
151
149
|
{ style: { flexDirection: 'left' } },
|
|
152
|
-
|
|
150
|
+
React.createElement(
|
|
153
151
|
Col,
|
|
154
152
|
{ md: 12, lg: 4, className: 'body-image', style: { textAlign: 'center' } },
|
|
155
|
-
row.issues.length > 0 ?
|
|
153
|
+
row.issues.length > 0 ? React.createElement(
|
|
156
154
|
'a',
|
|
157
155
|
{ href: href + '/' + publication + '/' + row.identifier.current, style: { width: '100%' } },
|
|
158
|
-
row.thumbnail &&
|
|
156
|
+
row.thumbnail && React.createElement(
|
|
159
157
|
LazyLoad,
|
|
160
158
|
{ height: imageHeight },
|
|
161
|
-
|
|
159
|
+
React.createElement(Card.Img, { variant: 'top', src: renderCardImage(row.thumbnail), alt: row.name, style: { objectFit: 'contain' } })
|
|
162
160
|
)
|
|
163
|
-
) :
|
|
161
|
+
) : React.createElement(
|
|
164
162
|
'a',
|
|
165
163
|
null,
|
|
166
|
-
row.thumbnail &&
|
|
164
|
+
row.thumbnail && React.createElement(
|
|
167
165
|
LazyLoad,
|
|
168
166
|
{ height: imageHeight },
|
|
169
|
-
|
|
167
|
+
React.createElement(Card.Img, { variant: 'top', src: renderCardImage(row.thumbnail), alt: row.name, style: { objectFit: 'contain' } })
|
|
170
168
|
)
|
|
171
169
|
)
|
|
172
170
|
),
|
|
173
|
-
|
|
171
|
+
React.createElement(
|
|
174
172
|
Col,
|
|
175
173
|
{ md: 12, lg: 8 },
|
|
176
|
-
|
|
174
|
+
React.createElement(
|
|
177
175
|
Card.Body,
|
|
178
176
|
{ style: { padding: '20px' }, className: 'body-text' },
|
|
179
|
-
|
|
177
|
+
React.createElement(
|
|
180
178
|
Row,
|
|
181
179
|
null,
|
|
182
|
-
|
|
180
|
+
React.createElement(
|
|
183
181
|
Col,
|
|
184
182
|
null,
|
|
185
|
-
|
|
183
|
+
React.createElement(
|
|
186
184
|
Card.Title,
|
|
187
185
|
null,
|
|
188
186
|
row.name
|
|
189
187
|
)
|
|
190
188
|
)
|
|
191
189
|
),
|
|
192
|
-
|
|
190
|
+
React.createElement(
|
|
193
191
|
Row,
|
|
194
192
|
null,
|
|
195
|
-
|
|
193
|
+
React.createElement(
|
|
196
194
|
Col,
|
|
197
195
|
null,
|
|
198
|
-
|
|
196
|
+
React.createElement(
|
|
199
197
|
'div',
|
|
200
198
|
null,
|
|
201
199
|
'Volume: ',
|
|
@@ -203,13 +201,13 @@ var IssueDeck = function IssueDeck(props) {
|
|
|
203
201
|
)
|
|
204
202
|
)
|
|
205
203
|
),
|
|
206
|
-
|
|
204
|
+
React.createElement(
|
|
207
205
|
Row,
|
|
208
206
|
null,
|
|
209
|
-
|
|
207
|
+
React.createElement(
|
|
210
208
|
Col,
|
|
211
209
|
null,
|
|
212
|
-
|
|
210
|
+
React.createElement(
|
|
213
211
|
'div',
|
|
214
212
|
null,
|
|
215
213
|
'Number: ',
|
|
@@ -217,19 +215,19 @@ var IssueDeck = function IssueDeck(props) {
|
|
|
217
215
|
)
|
|
218
216
|
)
|
|
219
217
|
),
|
|
220
|
-
|
|
218
|
+
React.createElement(
|
|
221
219
|
Row,
|
|
222
220
|
null,
|
|
223
|
-
row.issues.length > 0 &&
|
|
221
|
+
row.issues.length > 0 && React.createElement(
|
|
224
222
|
'a',
|
|
225
223
|
{ style: { paddingRight: '15px', paddingLeft: '15px' }, href: href + '/' + publication + '/' + row.identifier.current },
|
|
226
|
-
|
|
224
|
+
React.createElement(
|
|
227
225
|
Button,
|
|
228
226
|
{ style: { marginTop: '20px', marginRight: '1rem' }, variant: 'secondary' },
|
|
229
227
|
'View Issue'
|
|
230
228
|
)
|
|
231
229
|
),
|
|
232
|
-
row.pdf && row.pdf.asset &&
|
|
230
|
+
row.pdf && row.pdf.asset && React.createElement(
|
|
233
231
|
'a',
|
|
234
232
|
{ rel: 'noopener', href: row.pdf.asset.url, target: '_blank', className: 'btn btn-primary', style: { marginTop: '20px' } },
|
|
235
233
|
'Download Issue'
|
|
@@ -240,13 +238,13 @@ var IssueDeck = function IssueDeck(props) {
|
|
|
240
238
|
)
|
|
241
239
|
)
|
|
242
240
|
);
|
|
243
|
-
}) :
|
|
241
|
+
}) : React.createElement(
|
|
244
242
|
'div',
|
|
245
243
|
null,
|
|
246
|
-
|
|
244
|
+
React.createElement(
|
|
247
245
|
'h5',
|
|
248
246
|
null,
|
|
249
|
-
|
|
247
|
+
React.createElement(
|
|
250
248
|
'em',
|
|
251
249
|
{ className: 'pl-3' },
|
|
252
250
|
'New content coming soon, please check back later.'
|
package/dist/esm/IssueLanding.js
CHANGED
|
@@ -1,102 +1,101 @@
|
|
|
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-61397130.js';
|
|
7
7
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
8
|
-
import './
|
|
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 './
|
|
13
|
-
import './
|
|
14
|
-
import './toConsumableArray-6d9a4616.js';
|
|
15
|
-
import './_iter-detect-7e5e5ce2.js';
|
|
10
|
+
import './slicedToArray-ca2c8b8d.js';
|
|
11
|
+
import './web.dom.iterable-fdf034f5.js';
|
|
12
|
+
import './toConsumableArray-7b1c0e23.js';
|
|
13
|
+
import './_iter-detect-f089461c.js';
|
|
16
14
|
import 'react-bootstrap';
|
|
17
15
|
import './urlFor.js';
|
|
18
16
|
import './index-0dbff1d1.js';
|
|
19
|
-
import './index.es-
|
|
17
|
+
import './index.es-c6222053.js';
|
|
20
18
|
import './moment-bc12cb97.js';
|
|
21
|
-
import './visibility-sensor-
|
|
19
|
+
import './visibility-sensor-f40c2564.js';
|
|
22
20
|
import 'react-dom';
|
|
23
|
-
import './index-
|
|
21
|
+
import './index-2446af28.js';
|
|
22
|
+
import './events-6c3a7a63.js';
|
|
24
23
|
import 'prop-types';
|
|
25
24
|
import 'next/router';
|
|
26
|
-
import './index-
|
|
27
|
-
import './main-
|
|
25
|
+
import './index-35bdcc81.js';
|
|
26
|
+
import './main-b5c5aac1.js';
|
|
28
27
|
import './entities-932b50cf.js';
|
|
29
|
-
import './ADInfeed-
|
|
28
|
+
import './ADInfeed-0cbd7bed.js';
|
|
30
29
|
import 'react-bootstrap/Card';
|
|
31
30
|
import './AdSlot.js';
|
|
32
31
|
import './debounce-533d9748.js';
|
|
33
32
|
import './isSymbol-a7e9aafe.js';
|
|
34
33
|
import './toNumber-5aeba6e7.js';
|
|
35
34
|
import './Beam.js';
|
|
36
|
-
import './stringify-
|
|
37
|
-
import './asyncToGenerator-
|
|
35
|
+
import './stringify-c21932b3.js';
|
|
36
|
+
import './asyncToGenerator-b4dfe691.js';
|
|
38
37
|
import './_library-528f1934.js';
|
|
39
38
|
import './Segment.js';
|
|
40
|
-
import './AuthorComponent-
|
|
39
|
+
import './AuthorComponent-46a745ba.js';
|
|
41
40
|
import './lodash-f97fd99a.js';
|
|
42
|
-
import './ADlgInfeed-
|
|
41
|
+
import './ADlgInfeed-2d1a52d9.js';
|
|
43
42
|
import './getContentCategory-15dcc413.js';
|
|
44
43
|
import './timeDifferenceCalc.js';
|
|
45
44
|
import 'react-bootstrap/Breadcrumb';
|
|
46
45
|
import './index-c7e2ac95.js';
|
|
47
46
|
import './util-3ab476bf.js';
|
|
48
|
-
import './typeof-
|
|
49
|
-
import './_is-array-
|
|
50
|
-
import './brightcove-react-player-loader.es-
|
|
47
|
+
import './typeof-83d9eb10.js';
|
|
48
|
+
import './_is-array-893ab020.js';
|
|
49
|
+
import './brightcove-react-player-loader.es-b43c695a.js';
|
|
51
50
|
import './GroupDeck.js';
|
|
52
51
|
import './smoothscroll-fa4e3f8c.js';
|
|
53
52
|
import './SocialShare.js';
|
|
54
53
|
import 'next/head';
|
|
55
54
|
import 'react-share';
|
|
56
|
-
import './_object-to-array-
|
|
55
|
+
import './_object-to-array-50a6b9a3.js';
|
|
57
56
|
import 'react-bootstrap/Pagination';
|
|
58
57
|
import 'react-bootstrap/Button';
|
|
59
58
|
import 'react-bootstrap/Row';
|
|
60
59
|
import 'react-bootstrap/Col';
|
|
61
|
-
import './inherits-
|
|
62
|
-
import './_object-sap-
|
|
63
|
-
import './define-property-
|
|
64
|
-
import './index.esm-
|
|
65
|
-
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';
|
|
66
65
|
import 'react-bootstrap/Figure';
|
|
67
66
|
import 'react-bootstrap/OverlayTrigger';
|
|
68
67
|
import 'react-bootstrap/Tooltip';
|
|
69
68
|
import 'react-bootstrap/Popover';
|
|
70
69
|
|
|
71
|
-
/* usage
|
|
72
|
-
import Settings, { Ads } from '../../../../settings'
|
|
73
|
-
import { IssueLanding, getQuery } from '@mjhls/mjh-framework'
|
|
74
|
-
import client from '../../../../client'
|
|
75
|
-
import moment from 'moment'
|
|
76
|
-
import Shell from '../../../../components/2.0/Shell'
|
|
77
|
-
import { pageview } from '../../../../utilities/gtag'
|
|
78
|
-
|
|
79
|
-
const Issue = (props) => {
|
|
80
|
-
const { pubIssue, cache } = props
|
|
81
|
-
const targeting = {
|
|
82
|
-
content_placement: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
|
|
83
|
-
document_url: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
|
|
84
|
-
}
|
|
85
|
-
return (
|
|
86
|
-
<Shell cache={cache} settings={Settings} targeting={targeting} ads={Ads} layout='3' title={pubIssue.issue.name}>
|
|
87
|
-
<IssueLanding pubIssue={pubIssue} client={client} settings={Settings} pageview={pageview} rightItems={Ads.getMobileAds(targeting)} />
|
|
88
|
-
</Shell>
|
|
89
|
-
)
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
Issue.getInitialProps = async (ctx) => {
|
|
93
|
-
const { query } = ctx
|
|
94
|
-
const pubIssue = await client.fetch(getQuery('issue'), { ...query, currentDate: moment().utc().format() }
|
|
95
|
-
)
|
|
96
|
-
return { pubIssue }
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
export default Issue
|
|
70
|
+
/* usage
|
|
71
|
+
import Settings, { Ads } from '../../../../settings'
|
|
72
|
+
import { IssueLanding, getQuery } from '@mjhls/mjh-framework'
|
|
73
|
+
import client from '../../../../client'
|
|
74
|
+
import moment from 'moment'
|
|
75
|
+
import Shell from '../../../../components/2.0/Shell'
|
|
76
|
+
import { pageview } from '../../../../utilities/gtag'
|
|
77
|
+
|
|
78
|
+
const Issue = (props) => {
|
|
79
|
+
const { pubIssue, cache } = props
|
|
80
|
+
const targeting = {
|
|
81
|
+
content_placement: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
|
|
82
|
+
document_url: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
|
|
83
|
+
}
|
|
84
|
+
return (
|
|
85
|
+
<Shell cache={cache} settings={Settings} targeting={targeting} ads={Ads} layout='3' title={pubIssue.issue.name}>
|
|
86
|
+
<IssueLanding pubIssue={pubIssue} client={client} settings={Settings} pageview={pageview} rightItems={Ads.getMobileAds(targeting)} />
|
|
87
|
+
</Shell>
|
|
88
|
+
)
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
Issue.getInitialProps = async (ctx) => {
|
|
92
|
+
const { query } = ctx
|
|
93
|
+
const pubIssue = await client.fetch(getQuery('issue'), { ...query, currentDate: moment().utc().format() }
|
|
94
|
+
)
|
|
95
|
+
return { pubIssue }
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
export default Issue
|
|
100
99
|
*/
|
|
101
100
|
|
|
102
101
|
var IssueLanding = function IssueLanding(props) {
|
|
@@ -122,22 +121,22 @@ var IssueLanding = function IssueLanding(props) {
|
|
|
122
121
|
_props$imageWidth = props.imageWidth,
|
|
123
122
|
imageWidth = _props$imageWidth === undefined ? 480 : _props$imageWidth;
|
|
124
123
|
|
|
125
|
-
return
|
|
124
|
+
return React.createElement(
|
|
126
125
|
'div',
|
|
127
126
|
{ id: 'issueLanding' },
|
|
128
|
-
|
|
129
|
-
pubIssue.issue.source &&
|
|
127
|
+
React.createElement(Breadcrumbs, null),
|
|
128
|
+
pubIssue.issue.source && React.createElement(
|
|
130
129
|
'p',
|
|
131
130
|
{ className: 'badge badge-primary' },
|
|
132
131
|
pubIssue.issue.source
|
|
133
132
|
),
|
|
134
|
-
pubIssue.issue.description &&
|
|
135
|
-
|
|
133
|
+
pubIssue.issue.description && React.createElement(
|
|
134
|
+
React.Fragment,
|
|
136
135
|
null,
|
|
137
|
-
|
|
138
|
-
|
|
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' } })
|
|
139
138
|
),
|
|
140
|
-
|
|
139
|
+
React.createElement(QueueDeckExpanded, {
|
|
141
140
|
client: client,
|
|
142
141
|
mapping: settings.mapping,
|
|
143
142
|
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
|
@@ -1,27 +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 './
|
|
9
|
-
import './_to-object-b50e61c3.js';
|
|
10
|
-
import './core.get-iterator-method-133dfacd.js';
|
|
7
|
+
import './web.dom.iterable-fdf034f5.js';
|
|
8
|
+
import './core.get-iterator-method-e903ff31.js';
|
|
11
9
|
import './AdSlot.js';
|
|
12
|
-
import './extends-
|
|
10
|
+
import './extends-dc6a71fd.js';
|
|
13
11
|
import './_object-pie-133f504a.js';
|
|
14
12
|
import 'prop-types';
|
|
15
|
-
import './index-
|
|
13
|
+
import './index-2446af28.js';
|
|
14
|
+
import './events-6c3a7a63.js';
|
|
16
15
|
import './debounce-533d9748.js';
|
|
17
16
|
import './isSymbol-a7e9aafe.js';
|
|
18
17
|
import './toNumber-5aeba6e7.js';
|
|
19
18
|
import './Beam.js';
|
|
20
|
-
import './stringify-
|
|
21
|
-
import './asyncToGenerator-
|
|
19
|
+
import './stringify-c21932b3.js';
|
|
20
|
+
import './asyncToGenerator-b4dfe691.js';
|
|
22
21
|
import './_library-528f1934.js';
|
|
23
|
-
import './_iter-detect-
|
|
24
|
-
import './main-
|
|
22
|
+
import './_iter-detect-f089461c.js';
|
|
23
|
+
import './main-b5c5aac1.js';
|
|
25
24
|
|
|
26
25
|
var LeftNav = function LeftNav(props) {
|
|
27
26
|
var leftItems = props.leftItems,
|
|
@@ -65,21 +64,21 @@ var LeftNav = function LeftNav(props) {
|
|
|
65
64
|
|
|
66
65
|
var renderListGroupItem = function renderListGroupItem(subRow) {
|
|
67
66
|
if (checkUrlIsExternal(subRow.url)) {
|
|
68
|
-
return
|
|
67
|
+
return React.createElement(
|
|
69
68
|
'a',
|
|
70
69
|
{ target: subRow.blank ? '_blank' : '_self', needsegmentsupport: subRow.needSegmentSupport ? 'true' : '', href: subRow.url },
|
|
71
70
|
subRow.name
|
|
72
71
|
);
|
|
73
72
|
}
|
|
74
73
|
|
|
75
|
-
return
|
|
74
|
+
return React.createElement(
|
|
76
75
|
'a',
|
|
77
76
|
{ href: subRow.url || '#', target: subRow.blank ? '_blank' : '_self', needsegmentsupport: subRow.needSegmentSupport ? 'true' : '' },
|
|
78
77
|
subRow.name
|
|
79
78
|
);
|
|
80
79
|
};
|
|
81
80
|
|
|
82
|
-
return
|
|
81
|
+
return React.createElement(
|
|
83
82
|
'section',
|
|
84
83
|
{ ref: leftNavRef },
|
|
85
84
|
leftItems && leftItems.map(function (row, index) {
|
|
@@ -87,27 +86,27 @@ var LeftNav = function LeftNav(props) {
|
|
|
87
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.
|
|
88
87
|
// Webcast AD should have atleast adUnit , networkID, and "_type" as "webcastAD"
|
|
89
88
|
if (row._type && row._type === 'webcastAD' && row.adUnit) {
|
|
90
|
-
return
|
|
89
|
+
return React.createElement(
|
|
91
90
|
'div',
|
|
92
91
|
{ key: index },
|
|
93
|
-
|
|
92
|
+
React.createElement(ADWebcast, { webcastAd: row, refreshFlag: row.refreshFlag ? row.refreshFlag : false })
|
|
94
93
|
);
|
|
95
94
|
} else {
|
|
96
|
-
return
|
|
95
|
+
return React.createElement(
|
|
97
96
|
'nav',
|
|
98
97
|
{ key: index, 'aria-label': 'Secondary' },
|
|
99
|
-
|
|
98
|
+
React.createElement(
|
|
100
99
|
'div',
|
|
101
100
|
{ style: { display: 'flex', justifyContent: 'space-between', flexWrap: 'wrap' }, className: 'secondary-nav-title list-group-item active' },
|
|
102
|
-
|
|
101
|
+
React.createElement(
|
|
103
102
|
'span',
|
|
104
103
|
{ className: 'mr-1', style: { display: 'inline-block', fontWeight: 'bold', fontSize: '1rem' } },
|
|
105
104
|
row.name
|
|
106
105
|
),
|
|
107
|
-
row.url && SeeAll &&
|
|
106
|
+
row.url && SeeAll && React.createElement(
|
|
108
107
|
'span',
|
|
109
108
|
{ style: { marginLeft: 'auto', display: 'inline-block' } },
|
|
110
|
-
|
|
109
|
+
React.createElement(
|
|
111
110
|
'a',
|
|
112
111
|
{ style: { color: 'white', fontSize: '.6rem' }, href: row.url },
|
|
113
112
|
'See All ',
|
|
@@ -115,11 +114,11 @@ var LeftNav = function LeftNav(props) {
|
|
|
115
114
|
)
|
|
116
115
|
)
|
|
117
116
|
),
|
|
118
|
-
|
|
117
|
+
React.createElement(
|
|
119
118
|
'ul',
|
|
120
119
|
{ style: sideNavStyles },
|
|
121
120
|
row.subQuery && row.subQuery.map(function (subRow, subIndex) {
|
|
122
|
-
return
|
|
121
|
+
return React.createElement(
|
|
123
122
|
ListGroup.Item,
|
|
124
123
|
{ as: 'li', key: subIndex + '_2' },
|
|
125
124
|
renderListGroupItem(subRow)
|
|
@@ -132,7 +131,7 @@ var LeftNav = function LeftNav(props) {
|
|
|
132
131
|
);
|
|
133
132
|
};
|
|
134
133
|
|
|
135
|
-
var LeftNav$1 =
|
|
134
|
+
var LeftNav$1 = React.memo(LeftNav);
|
|
136
135
|
|
|
137
136
|
export default LeftNav$1;
|
|
138
137
|
export { LeftNav };
|