@mjhls/mjh-framework 1.0.782-beta.0 → 1.0.782-dev4485
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 +170 -170
- package/dist/cjs/AD.js +10 -9
- package/dist/cjs/AD300x250.js +12 -10
- package/dist/cjs/AD300x250x600.js +12 -10
- package/dist/cjs/AD728x90.js +13 -11
- package/dist/cjs/ADFloatingFooter.js +14 -12
- package/dist/cjs/ADFooter.js +9 -8
- package/dist/cjs/ADGutter.js +14 -12
- package/dist/cjs/{ADInfeed-5b042ade.js → ADInfeed-de972407.js} +11 -9
- package/dist/cjs/ADSkyscraper.js +14 -12
- package/dist/cjs/ADSponsoredResources.js +14 -12
- package/dist/cjs/ADWebcast.js +14 -12
- package/dist/cjs/ADWelcome.js +18 -16
- package/dist/cjs/{ADlgInfeed-e92b6f9f.js → ADlgInfeed-6ab92047.js} +7 -6
- package/dist/cjs/AccordionPanel.js +24 -22
- package/dist/cjs/AdSlot.js +16 -14
- package/dist/cjs/AdSlotsProvider.js +10 -8
- package/dist/cjs/AlphabeticList.js +16 -15
- package/dist/cjs/ArticleCarousel.js +11 -10
- package/dist/cjs/ArticleProgramLandingPage.js +26 -24
- package/dist/cjs/ArticleSeriesLandingPage.js +22 -20
- package/dist/cjs/ArticleSeriesListing.js +40 -39
- package/dist/cjs/Auth.js +194 -140
- package/dist/cjs/{AuthorComponent-bb831b74.js → AuthorComponent-ac8972ce.js} +13 -12
- package/dist/cjs/Beam.js +2 -1
- package/dist/cjs/{BlockContent-091a991f.js → BlockContent-8b494587.js} +25 -24
- package/dist/cjs/Breadcrumbs.js +23 -21
- package/dist/cjs/CMEDeck.js +66 -65
- package/dist/cjs/Column1.js +14 -11
- package/dist/cjs/Column2.js +24 -20
- package/dist/cjs/Column3.js +37 -33
- package/dist/cjs/ConferenceArticleCard.js +35 -34
- package/dist/cjs/ConferenceBanner-6c9e718a.js +24 -0
- package/dist/cjs/DeckContent.js +87 -82
- package/dist/cjs/DeckQueue.js +73 -69
- package/dist/cjs/{Dfp-b807d8fa.js → Dfp-c226037e.js} +21 -20
- package/dist/cjs/EventsDeck.js +140 -133
- package/dist/cjs/ExternalResources.js +49 -47
- package/dist/cjs/Feature.js +26 -24
- package/dist/cjs/ForbesHero.js +34 -33
- package/dist/cjs/GridContent.js +155 -150
- package/dist/cjs/GridHero.js +35 -34
- package/dist/cjs/GroupDeck.js +49 -48
- package/dist/cjs/HamMagazine.js +131 -125
- package/dist/cjs/Header.js +13 -11
- package/dist/cjs/Hero.js +11 -10
- package/dist/cjs/HighlightenVideo.js +17 -16
- package/dist/cjs/HorizontalArticleListing.js +39 -37
- package/dist/cjs/HorizontalHero.js +25 -24
- package/dist/cjs/IssueContentDeck.js +70 -65
- package/dist/cjs/IssueDeck.js +65 -60
- package/dist/cjs/IssueLanding.js +50 -48
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +24 -21
- package/dist/cjs/MasterDeck.js +60 -58
- package/dist/cjs/MediaSeriesLanding.js +27 -24
- package/dist/cjs/NavDvm.js +70 -64
- package/dist/cjs/{NavFooter-76c913e3.js → NavFooter-3dcd99a8.js} +15 -14
- package/dist/cjs/NavMagazine.js +133 -127
- package/dist/cjs/NavNative.js +127 -118
- package/dist/cjs/NavNormal.js +43 -37
- package/dist/cjs/OncliveHero.js +18 -18
- package/dist/cjs/OncliveLargeHero.js +59 -58
- package/dist/cjs/PageFilter.js +9 -8
- package/dist/cjs/PartnerDetailListing.js +73 -71
- package/dist/cjs/PdfDownload.js +9 -8
- package/dist/cjs/PopUpModal.js +15 -13
- package/dist/cjs/PubSection.js +22 -20
- package/dist/cjs/PubToc.js +10 -8
- package/dist/cjs/PublicationDeck.js +64 -59
- package/dist/cjs/PublicationLanding.js +129 -213
- package/dist/cjs/QueueDeckExpanded.js +272 -271
- package/dist/cjs/RecentNews.js +23 -22
- package/dist/cjs/RelatedContent.js +50 -49
- package/dist/cjs/RelatedTopicsDropdown.js +32 -29
- package/dist/cjs/RolesDeck.js +32 -27
- package/dist/cjs/Search.js +16 -12
- package/dist/cjs/Segment.js +2 -1
- package/dist/cjs/SeriesListingDeck.js +26 -26
- package/dist/cjs/{SeriesSlider-f662f1f5.js → SeriesSlider-5e6108e0.js} +40 -39
- package/dist/cjs/SideFooter.js +28 -26
- package/dist/cjs/SocialIcons.js +10 -9
- package/dist/cjs/{SocialSearchComponent-8dd468fd.js → SocialSearchComponent-fb784cc3.js} +38 -34
- package/dist/cjs/SocialShare.js +31 -29
- package/dist/cjs/TaxonomyCard.js +59 -54
- package/dist/cjs/TaxonomyDescription.js +24 -22
- package/dist/cjs/TemplateNormal.js +38 -36
- package/dist/cjs/ThumbnailCard.js +19 -17
- package/dist/cjs/Ustream.js +21 -20
- package/dist/cjs/VerticalHero.js +17 -16
- package/dist/cjs/VideoProgramLandingPage.js +46 -41
- package/dist/cjs/VideoSeriesCard.js +25 -24
- package/dist/cjs/VideoSeriesFilter.js +11 -10
- package/dist/cjs/VideoSeriesLandingPage.js +27 -25
- package/dist/cjs/VideoSeriesListing.js +57 -56
- package/dist/cjs/View.js +222 -223
- package/dist/cjs/YahooHero.js +30 -29
- package/dist/cjs/YoutubeGroup.js +56 -55
- package/dist/cjs/_set-species-f92c67c5.js +57 -0
- package/dist/cjs/{asyncToGenerator-140e5f89.js → asyncToGenerator-533d476a.js} +6 -54
- package/dist/cjs/{brightcove-react-player-loader.es-156bd4d6.js → brightcove-react-player-loader.es-4ba0d3d5.js} +6 -5
- package/dist/cjs/getQuery.js +1 -1
- package/dist/cjs/getRelatedArticle.js +133 -68
- package/dist/cjs/getRootDocGroup.js +2 -1
- package/dist/cjs/getSerializers.js +13 -12
- package/dist/cjs/{getTargeting-9af0ef69.js → getTargeting-7c425fbf.js} +11 -11
- package/dist/cjs/getTargeting.js +1 -1
- package/dist/cjs/iconBase-68959171.js +0 -3
- package/dist/cjs/{index-76417d82.js → index-2410ec98.js} +859 -836
- package/dist/cjs/{index-3294d3bc.js → index-5be2866f.js} +1 -1
- package/dist/cjs/{index-da796b8c.js → index-8a3fb0bc.js} +12 -10
- package/dist/cjs/{index-be0c82be.js → index-b5eb3ff8.js} +20 -19
- package/dist/cjs/{index-8bf6c863.js → index-e08f00ce.js} +9 -8
- package/dist/cjs/{index.es-9110add6.js → index.es-13533f24.js} +11 -8
- package/dist/cjs/{index.esm-ff47db6f.js → index.esm-05850a2f.js} +5 -12
- package/dist/cjs/{index.esm-66ffa47a.js → index.esm-3b9b8952.js} +4 -9
- package/dist/cjs/{index.esm-4d410430.js → index.esm-3ffa049c.js} +20 -20
- package/dist/cjs/{index.esm-90433435.js → index.esm-974f47d9.js} +6 -15
- package/dist/cjs/index.js +61 -57
- package/dist/cjs/{inherits-c9f99d47.js → inherits-87492b40.js} +1 -1
- package/dist/cjs/{lodash-fc2922d0.js → lodash-7fd85bcf.js} +71 -22
- package/dist/cjs/{main-02daeefe.js → main-11ec04d2.js} +85 -53
- package/dist/cjs/{moment-575fe24c.js → moment-66a6a284.js} +1 -1
- 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 +2 -2
- package/dist/cjs/{visibility-sensor-0c45a583.js → visibility-sensor-8b54af99.js} +7 -5
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +9 -8
- package/dist/esm/AD300x250x600.js +9 -8
- package/dist/esm/AD728x90.js +10 -9
- package/dist/esm/ADFloatingFooter.js +11 -10
- package/dist/esm/ADFooter.js +6 -6
- package/dist/esm/ADGutter.js +11 -10
- package/dist/esm/{ADInfeed-eb7bdd41.js → ADInfeed-1cba8312.js} +5 -5
- package/dist/esm/ADSkyscraper.js +11 -10
- package/dist/esm/ADSponsoredResources.js +11 -10
- package/dist/esm/ADWebcast.js +11 -10
- package/dist/esm/ADWelcome.js +15 -14
- package/dist/esm/{ADlgInfeed-f2ac31d1.js → ADlgInfeed-fe7ad144.js} +4 -4
- package/dist/esm/AccordionPanel.js +17 -17
- package/dist/esm/AdSlot.js +7 -6
- package/dist/esm/AdSlotsProvider.js +7 -6
- package/dist/esm/AlphabeticList.js +13 -13
- package/dist/esm/ArticleCarousel.js +8 -8
- package/dist/esm/ArticleProgramLandingPage.js +22 -21
- package/dist/esm/ArticleSeriesLandingPage.js +19 -18
- package/dist/esm/ArticleSeriesListing.js +34 -34
- package/dist/esm/Auth.js +171 -121
- package/dist/esm/{AuthorComponent-34b16174.js → AuthorComponent-8ffd4679.js} +10 -10
- package/dist/esm/Beam.js +2 -1
- package/dist/esm/{BlockContent-e9b4ddcf.js → BlockContent-d05b5b23.js} +4 -4
- package/dist/esm/Breadcrumbs.js +11 -11
- package/dist/esm/CMEDeck.js +63 -62
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +14 -13
- package/dist/esm/Column3.js +26 -25
- package/dist/esm/ConferenceArticleCard.js +30 -30
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/DeckContent.js +64 -63
- package/dist/esm/DeckQueue.js +47 -47
- package/dist/esm/{Dfp-ebc4b22f.js → Dfp-c06b41fc.js} +10 -10
- package/dist/esm/EventsDeck.js +83 -83
- package/dist/esm/ExternalResources.js +41 -40
- package/dist/esm/Feature.js +17 -17
- package/dist/esm/ForbesHero.js +28 -28
- package/dist/esm/GridContent.js +113 -112
- package/dist/esm/GridHero.js +29 -29
- package/dist/esm/GroupDeck.js +36 -36
- package/dist/esm/HamMagazine.js +98 -97
- package/dist/esm/Header.js +7 -7
- package/dist/esm/Hero.js +7 -7
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalArticleListing.js +36 -35
- package/dist/esm/HorizontalHero.js +21 -21
- package/dist/esm/IssueContentDeck.js +41 -41
- package/dist/esm/IssueDeck.js +34 -34
- package/dist/esm/IssueLanding.js +47 -46
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +18 -17
- package/dist/esm/MasterDeck.js +53 -52
- package/dist/esm/MediaSeriesLanding.js +17 -16
- package/dist/esm/NavDvm.js +45 -44
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +102 -101
- package/dist/esm/NavNative.js +89 -88
- package/dist/esm/NavNormal.js +23 -22
- 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 +68 -67
- package/dist/esm/PdfDownload.js +6 -6
- package/dist/esm/PopUpModal.js +8 -8
- package/dist/esm/PubSection.js +19 -18
- package/dist/esm/PubToc.js +7 -6
- package/dist/esm/PublicationDeck.js +35 -35
- package/dist/esm/PublicationLanding.js +88 -176
- package/dist/esm/QueueDeckExpanded.js +253 -252
- package/dist/esm/RecentNews.js +19 -19
- package/dist/esm/RelatedContent.js +45 -45
- package/dist/esm/RelatedTopicsDropdown.js +21 -21
- package/dist/esm/RolesDeck.js +13 -13
- package/dist/esm/Search.js +5 -5
- package/dist/esm/Segment.js +2 -1
- package/dist/esm/SeriesListingDeck.js +20 -20
- package/dist/esm/{SeriesSlider-9245785f.js → SeriesSlider-19a24623.js} +29 -29
- package/dist/esm/SideFooter.js +23 -22
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-a2ae84d1.js → SocialSearchComponent-2a4a7398.js} +25 -25
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +36 -36
- package/dist/esm/TaxonomyDescription.js +18 -17
- package/dist/esm/TemplateNormal.js +31 -30
- 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 +29 -28
- package/dist/esm/VideoSeriesCard.js +18 -18
- package/dist/esm/VideoSeriesFilter.js +8 -7
- package/dist/esm/VideoSeriesLandingPage.js +19 -18
- package/dist/esm/VideoSeriesListing.js +50 -50
- package/dist/esm/View.js +198 -203
- package/dist/esm/YahooHero.js +25 -25
- package/dist/esm/YoutubeGroup.js +39 -39
- package/dist/esm/_set-species-3f8319f5.js +52 -0
- package/dist/esm/{asyncToGenerator-fc1c2e29.js → asyncToGenerator-502f13b4.js} +5 -49
- package/dist/esm/{brightcove-react-player-loader.es-83f53e4e.js → brightcove-react-player-loader.es-e1c6b0f2.js} +3 -3
- package/dist/esm/getQuery.js +1 -1
- package/dist/esm/getRelatedArticle.js +128 -63
- package/dist/esm/getRootDocGroup.js +2 -1
- package/dist/esm/getSerializers.js +13 -12
- package/dist/esm/{getTargeting-7211f12c.js → getTargeting-f22b76f5.js} +9 -9
- package/dist/esm/getTargeting.js +1 -1
- package/dist/esm/{index-73819142.js → index-51a80699.js} +20 -19
- package/dist/esm/{index-a9e53f80.js → index-acfb8079.js} +3 -3
- package/dist/esm/{index-5f9f807a.js → index-c5fd0af5.js} +4 -4
- package/dist/esm/{index-ef6d5dcf.js → index-d2f90501.js} +1 -1
- package/dist/esm/{index-c1374f98.js → index-f41e3fe9.js} +790 -774
- package/dist/esm/{index.es-29c1cef5.js → index.es-7dda2f0a.js} +8 -6
- 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-b08f4b04.js → index.esm-d6f88d94.js} +4 -9
- package/dist/esm/index.js +45 -44
- package/dist/esm/{inherits-fb9b6e8f.js → inherits-0d8cda6e.js} +1 -1
- package/dist/esm/{lodash-17fdfebb.js → lodash-ec8c6b48.js} +71 -22
- package/dist/esm/{main-e4a934b2.js → main-aef58dbc.js} +81 -50
- package/dist/esm/{moment-e2f9b20c.js → moment-12415288.js} +1 -1
- 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-0baa4eea.js → visibility-sensor-082c757b.js} +2 -2
- package/package.json +107 -107
- package/dist/cjs/ConferenceBanner-4a16fddc.js +0 -23
package/dist/esm/IssueLanding.js
CHANGED
|
@@ -8,68 +8,69 @@ import './core.get-iterator-method-e1de7503.js';
|
|
|
8
8
|
import './_object-pie-33c40e79.js';
|
|
9
9
|
import './extends-eb69e8ac.js';
|
|
10
10
|
import './web.dom.iterable-4439f05a.js';
|
|
11
|
-
import
|
|
12
|
-
import './index-
|
|
11
|
+
import React from 'react';
|
|
12
|
+
import './index-acfb8079.js';
|
|
13
13
|
import 'prop-types';
|
|
14
14
|
import 'react-bootstrap/Card';
|
|
15
|
-
import './moment-
|
|
15
|
+
import './moment-12415288.js';
|
|
16
16
|
import 'next/router';
|
|
17
17
|
import './isSymbol-1981418f.js';
|
|
18
18
|
import './debounce-9207d8ee.js';
|
|
19
19
|
import './toNumber-2f7a84cd.js';
|
|
20
|
-
import './index.es-
|
|
20
|
+
import './index.es-7dda2f0a.js';
|
|
21
21
|
import 'react-dom';
|
|
22
|
-
import './visibility-sensor-
|
|
23
|
-
import './index-
|
|
24
|
-
import './index-
|
|
25
|
-
import './main-
|
|
22
|
+
import './visibility-sensor-082c757b.js';
|
|
23
|
+
import './index-51a80699.js';
|
|
24
|
+
import './index-c5fd0af5.js';
|
|
25
|
+
import './main-aef58dbc.js';
|
|
26
26
|
import './entities-7cc3bf45.js';
|
|
27
27
|
import './slicedToArray-641f241f.js';
|
|
28
28
|
import './stringify-4330ccdc.js';
|
|
29
|
-
import './asyncToGenerator-
|
|
29
|
+
import './asyncToGenerator-502f13b4.js';
|
|
30
|
+
import './_set-species-3f8319f5.js';
|
|
30
31
|
import './Segment.js';
|
|
31
32
|
import './Beam.js';
|
|
32
33
|
import './AdSlot.js';
|
|
33
|
-
import './ADInfeed-
|
|
34
|
-
import './lodash-
|
|
35
|
-
import './ADlgInfeed-
|
|
34
|
+
import './ADInfeed-1cba8312.js';
|
|
35
|
+
import './lodash-ec8c6b48.js';
|
|
36
|
+
import './ADlgInfeed-fe7ad144.js';
|
|
36
37
|
import './getContentCategory-15dcc413.js';
|
|
37
|
-
import './AuthorComponent-
|
|
38
|
+
import './AuthorComponent-8ffd4679.js';
|
|
38
39
|
import 'react-bootstrap';
|
|
39
40
|
import './timeDifferenceCalc.js';
|
|
40
41
|
import QueueDeckExpanded from './QueueDeckExpanded.js';
|
|
41
42
|
import 'react-bootstrap/Breadcrumb';
|
|
42
43
|
import Breadcrumbs from './Breadcrumbs.js';
|
|
43
44
|
|
|
44
|
-
/* usage
|
|
45
|
-
import Settings, { Ads } from '../../../../settings'
|
|
46
|
-
import { IssueLanding, getQuery } from '@mjhls/mjh-framework'
|
|
47
|
-
import client from '../../../../client'
|
|
48
|
-
import moment from 'moment'
|
|
49
|
-
import Shell from '../../../../components/2.0/Shell'
|
|
50
|
-
import { pageview } from '../../../../utilities/gtag'
|
|
51
|
-
|
|
52
|
-
const Issue = (props) => {
|
|
53
|
-
const { pubIssue, cache } = props
|
|
54
|
-
const targeting = {
|
|
55
|
-
content_placement: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
|
|
56
|
-
document_url: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
|
|
57
|
-
}
|
|
58
|
-
return (
|
|
59
|
-
<Shell cache={cache} settings={Settings} targeting={targeting} ads={Ads} layout='3' title={pubIssue.issue.name}>
|
|
60
|
-
<IssueLanding pubIssue={pubIssue} client={client} settings={Settings} pageview={pageview} rightItems={Ads.getMobileAds(targeting)} />
|
|
61
|
-
</Shell>
|
|
62
|
-
)
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
Issue.getInitialProps = async (ctx) => {
|
|
66
|
-
const { query } = ctx
|
|
67
|
-
const pubIssue = await client.fetch(getQuery('issue'), { ...query, currentDate: moment().utc().format() }
|
|
68
|
-
)
|
|
69
|
-
return { pubIssue }
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
export default Issue
|
|
45
|
+
/* usage
|
|
46
|
+
import Settings, { Ads } from '../../../../settings'
|
|
47
|
+
import { IssueLanding, getQuery } from '@mjhls/mjh-framework'
|
|
48
|
+
import client from '../../../../client'
|
|
49
|
+
import moment from 'moment'
|
|
50
|
+
import Shell from '../../../../components/2.0/Shell'
|
|
51
|
+
import { pageview } from '../../../../utilities/gtag'
|
|
52
|
+
|
|
53
|
+
const Issue = (props) => {
|
|
54
|
+
const { pubIssue, cache } = props
|
|
55
|
+
const targeting = {
|
|
56
|
+
content_placement: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
|
|
57
|
+
document_url: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
|
|
58
|
+
}
|
|
59
|
+
return (
|
|
60
|
+
<Shell cache={cache} settings={Settings} targeting={targeting} ads={Ads} layout='3' title={pubIssue.issue.name}>
|
|
61
|
+
<IssueLanding pubIssue={pubIssue} client={client} settings={Settings} pageview={pageview} rightItems={Ads.getMobileAds(targeting)} />
|
|
62
|
+
</Shell>
|
|
63
|
+
)
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
Issue.getInitialProps = async (ctx) => {
|
|
67
|
+
const { query } = ctx
|
|
68
|
+
const pubIssue = await client.fetch(getQuery('issue'), { ...query, currentDate: moment().utc().format() }
|
|
69
|
+
)
|
|
70
|
+
return { pubIssue }
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export default Issue
|
|
73
74
|
*/
|
|
74
75
|
|
|
75
76
|
var IssueLanding = function IssueLanding(props) {
|
|
@@ -95,16 +96,16 @@ var IssueLanding = function IssueLanding(props) {
|
|
|
95
96
|
_props$imageWidth = props.imageWidth,
|
|
96
97
|
imageWidth = _props$imageWidth === undefined ? 480 : _props$imageWidth;
|
|
97
98
|
|
|
98
|
-
return
|
|
99
|
+
return React.createElement(
|
|
99
100
|
'div',
|
|
100
101
|
{ id: 'issueLanding' },
|
|
101
|
-
|
|
102
|
-
pubIssue.issue.source &&
|
|
102
|
+
React.createElement(Breadcrumbs, null),
|
|
103
|
+
pubIssue.issue.source && React.createElement(
|
|
103
104
|
'p',
|
|
104
105
|
{ className: 'badge badge-primary' },
|
|
105
106
|
pubIssue.issue.source
|
|
106
107
|
),
|
|
107
|
-
|
|
108
|
+
React.createElement(QueueDeckExpanded, {
|
|
108
109
|
client: client,
|
|
109
110
|
mapping: settings.mapping,
|
|
110
111
|
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
|
@@ -7,16 +7,17 @@ import './core.get-iterator-method-e1de7503.js';
|
|
|
7
7
|
import './_object-pie-33c40e79.js';
|
|
8
8
|
import './extends-eb69e8ac.js';
|
|
9
9
|
import './web.dom.iterable-4439f05a.js';
|
|
10
|
-
import
|
|
11
|
-
import './index-
|
|
10
|
+
import React, { useRef, useEffect } from 'react';
|
|
11
|
+
import './index-acfb8079.js';
|
|
12
12
|
import 'prop-types';
|
|
13
13
|
import './isSymbol-1981418f.js';
|
|
14
14
|
import './debounce-9207d8ee.js';
|
|
15
15
|
import './toNumber-2f7a84cd.js';
|
|
16
|
-
import './main-
|
|
16
|
+
import './main-aef58dbc.js';
|
|
17
17
|
import './slicedToArray-641f241f.js';
|
|
18
18
|
import './stringify-4330ccdc.js';
|
|
19
|
-
import './asyncToGenerator-
|
|
19
|
+
import './asyncToGenerator-502f13b4.js';
|
|
20
|
+
import './_set-species-3f8319f5.js';
|
|
20
21
|
import Segment from './Segment.js';
|
|
21
22
|
import './Beam.js';
|
|
22
23
|
import './AdSlot.js';
|
|
@@ -65,21 +66,21 @@ var LeftNav = function LeftNav(props) {
|
|
|
65
66
|
|
|
66
67
|
var renderListGroupItem = function renderListGroupItem(subRow) {
|
|
67
68
|
if (checkUrlIsExternal(subRow.url)) {
|
|
68
|
-
return
|
|
69
|
+
return React.createElement(
|
|
69
70
|
'a',
|
|
70
71
|
{ target: subRow.blank ? '_blank' : '_self', needsegmentsupport: subRow.needSegmentSupport ? 'true' : '', href: subRow.url },
|
|
71
72
|
subRow.name
|
|
72
73
|
);
|
|
73
74
|
}
|
|
74
75
|
|
|
75
|
-
return
|
|
76
|
+
return React.createElement(
|
|
76
77
|
'a',
|
|
77
78
|
{ href: subRow.url || '#', target: subRow.blank ? '_blank' : '_self', needsegmentsupport: subRow.needSegmentSupport ? 'true' : '' },
|
|
78
79
|
subRow.name
|
|
79
80
|
);
|
|
80
81
|
};
|
|
81
82
|
|
|
82
|
-
return
|
|
83
|
+
return React.createElement(
|
|
83
84
|
'section',
|
|
84
85
|
{ ref: leftNavRef },
|
|
85
86
|
leftItems && leftItems.map(function (row, index) {
|
|
@@ -87,27 +88,27 @@ var LeftNav = function LeftNav(props) {
|
|
|
87
88
|
// 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
89
|
// Webcast AD should have atleast adUnit , networkID, and "_type" as "webcastAD"
|
|
89
90
|
if (row._type && row._type === 'webcastAD' && row.adUnit) {
|
|
90
|
-
return
|
|
91
|
+
return React.createElement(
|
|
91
92
|
'div',
|
|
92
93
|
{ key: index },
|
|
93
|
-
|
|
94
|
+
React.createElement(ADWebcast, { webcastAd: row, refreshFlag: row.refreshFlag ? row.refreshFlag : false })
|
|
94
95
|
);
|
|
95
96
|
} else {
|
|
96
|
-
return
|
|
97
|
+
return React.createElement(
|
|
97
98
|
'nav',
|
|
98
99
|
{ key: index, 'aria-label': 'Secondary' },
|
|
99
|
-
|
|
100
|
+
React.createElement(
|
|
100
101
|
'div',
|
|
101
102
|
{ style: { display: 'flex', justifyContent: 'space-between', flexWrap: 'wrap' }, className: 'secondary-nav-title list-group-item active' },
|
|
102
|
-
|
|
103
|
+
React.createElement(
|
|
103
104
|
'span',
|
|
104
105
|
{ className: 'mr-1', style: { display: 'inline-block', fontWeight: 'bold', fontSize: '1rem' } },
|
|
105
106
|
row.name
|
|
106
107
|
),
|
|
107
|
-
row.url && SeeAll &&
|
|
108
|
+
row.url && SeeAll && React.createElement(
|
|
108
109
|
'span',
|
|
109
110
|
{ style: { marginLeft: 'auto', display: 'inline-block' } },
|
|
110
|
-
|
|
111
|
+
React.createElement(
|
|
111
112
|
'a',
|
|
112
113
|
{ style: { color: 'white', fontSize: '.6rem' }, href: row.url },
|
|
113
114
|
'See All ',
|
|
@@ -115,11 +116,11 @@ var LeftNav = function LeftNav(props) {
|
|
|
115
116
|
)
|
|
116
117
|
)
|
|
117
118
|
),
|
|
118
|
-
|
|
119
|
+
React.createElement(
|
|
119
120
|
'ul',
|
|
120
121
|
{ style: sideNavStyles },
|
|
121
122
|
row.subQuery && row.subQuery.map(function (subRow, subIndex) {
|
|
122
|
-
return
|
|
123
|
+
return React.createElement(
|
|
123
124
|
ListGroup.Item,
|
|
124
125
|
{ as: 'li', key: subIndex + '_2' },
|
|
125
126
|
renderListGroupItem(subRow)
|
|
@@ -132,7 +133,7 @@ var LeftNav = function LeftNav(props) {
|
|
|
132
133
|
);
|
|
133
134
|
};
|
|
134
135
|
|
|
135
|
-
var LeftNav$1 =
|
|
136
|
+
var LeftNav$1 = React.memo(LeftNav);
|
|
136
137
|
|
|
137
138
|
export default LeftNav$1;
|
|
138
139
|
export { LeftNav };
|
package/dist/esm/MasterDeck.js
CHANGED
|
@@ -8,37 +8,38 @@ import './core.get-iterator-method-e1de7503.js';
|
|
|
8
8
|
import './_object-pie-33c40e79.js';
|
|
9
9
|
import { _ as _extends } from './extends-eb69e8ac.js';
|
|
10
10
|
import './_object-sap-964b6feb.js';
|
|
11
|
-
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-
|
|
11
|
+
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-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 { l as lib_3 } from './index-
|
|
16
|
+
import React from 'react';
|
|
17
|
+
import { l as lib_3 } from './index-acfb8079.js';
|
|
18
18
|
import 'prop-types';
|
|
19
19
|
import Container from 'react-bootstrap/Container';
|
|
20
20
|
import 'react-bootstrap/Row';
|
|
21
21
|
import 'react-bootstrap/Col';
|
|
22
22
|
import 'react-bootstrap/Card';
|
|
23
|
-
import './moment-
|
|
23
|
+
import './moment-12415288.js';
|
|
24
24
|
import { withRouter } from 'next/router';
|
|
25
25
|
import './isSymbol-1981418f.js';
|
|
26
26
|
import { d as debounce_1 } from './debounce-9207d8ee.js';
|
|
27
27
|
import './toNumber-2f7a84cd.js';
|
|
28
|
-
import { I as InfiniteScroll } from './index.es-
|
|
28
|
+
import { I as InfiniteScroll } from './index.es-7dda2f0a.js';
|
|
29
29
|
import 'react-dom';
|
|
30
|
-
import { V as VisibilitySensor } from './visibility-sensor-
|
|
31
|
-
import './index-
|
|
32
|
-
import './main-
|
|
30
|
+
import { V as VisibilitySensor } from './visibility-sensor-082c757b.js';
|
|
31
|
+
import './index-51a80699.js';
|
|
32
|
+
import './main-aef58dbc.js';
|
|
33
33
|
import './slicedToArray-641f241f.js';
|
|
34
34
|
import './stringify-4330ccdc.js';
|
|
35
|
-
import { _ as _Promise } from './asyncToGenerator-
|
|
35
|
+
import { _ as _Promise } from './asyncToGenerator-502f13b4.js';
|
|
36
|
+
import './_set-species-3f8319f5.js';
|
|
36
37
|
import './Segment.js';
|
|
37
38
|
import './Beam.js';
|
|
38
39
|
import './AdSlot.js';
|
|
39
|
-
import { A as ADInfeed } from './ADInfeed-
|
|
40
|
-
import { l as lodash } from './lodash-
|
|
41
|
-
import { A as ADlgInfeed } from './ADlgInfeed-
|
|
40
|
+
import { A as ADInfeed } from './ADInfeed-1cba8312.js';
|
|
41
|
+
import { l as lodash } from './lodash-ec8c6b48.js';
|
|
42
|
+
import { A as ADlgInfeed } from './ADlgInfeed-fe7ad144.js';
|
|
42
43
|
|
|
43
44
|
var MasterDeck = function (_React$Component) {
|
|
44
45
|
_inherits(MasterDeck, _React$Component);
|
|
@@ -224,14 +225,14 @@ var MasterDeck = function (_React$Component) {
|
|
|
224
225
|
}
|
|
225
226
|
|
|
226
227
|
// please leave this for later debug purpose : Yong Jun.
|
|
227
|
-
/* console.log('page change reported', {
|
|
228
|
-
currentPage: currentPage,
|
|
229
|
-
pageNumber: pageNumber,
|
|
230
|
-
pathname: pathname,
|
|
231
|
-
path: path,
|
|
232
|
-
newPath: newPath,
|
|
233
|
-
firstPage: pageNumber === 1,
|
|
234
|
-
queryString: queryString
|
|
228
|
+
/* console.log('page change reported', {
|
|
229
|
+
currentPage: currentPage,
|
|
230
|
+
pageNumber: pageNumber,
|
|
231
|
+
pathname: pathname,
|
|
232
|
+
path: path,
|
|
233
|
+
newPath: newPath,
|
|
234
|
+
firstPage: pageNumber === 1,
|
|
235
|
+
queryString: queryString
|
|
235
236
|
}) */
|
|
236
237
|
|
|
237
238
|
if (pageview) {
|
|
@@ -326,7 +327,7 @@ var MasterDeck = function (_React$Component) {
|
|
|
326
327
|
}
|
|
327
328
|
});
|
|
328
329
|
|
|
329
|
-
return
|
|
330
|
+
return React.createElement(
|
|
330
331
|
'div',
|
|
331
332
|
null,
|
|
332
333
|
data && _this.state.dataRemapped && data.length > 0 ? // If JS enabled and Data remapped with ads
|
|
@@ -334,24 +335,24 @@ var MasterDeck = function (_React$Component) {
|
|
|
334
335
|
var pageNumber = row.pageNumber || _this.state.page;
|
|
335
336
|
|
|
336
337
|
if (row._type === 'lg-infeed' && row.adUnit) {
|
|
337
|
-
return
|
|
338
|
+
return React.createElement(ADlgInfeed, _extends({ index: index }, row));
|
|
338
339
|
// Returning view for infeed Ad
|
|
339
340
|
} else if (row._type === 'brandInsightAd' && row.adUnit) {
|
|
340
|
-
return
|
|
341
|
+
return React.createElement(ADInfeed, { index: index, infeedAd: row });
|
|
341
342
|
} else if (!row._type || !['lg-infeed', 'brandInsightAd'].includes(row._type)) {
|
|
342
343
|
// Returning view for articles
|
|
343
|
-
return
|
|
344
|
+
return React.createElement(
|
|
344
345
|
VisibilitySensor,
|
|
345
346
|
{
|
|
346
347
|
key: row._id ? row._id : index,
|
|
347
348
|
onChange: function onChange(isVisible) {
|
|
348
349
|
isVisible && _this.changePageNumber(pageNumber);
|
|
349
350
|
} },
|
|
350
|
-
|
|
351
|
-
|
|
351
|
+
React.createElement(
|
|
352
|
+
React.Fragment,
|
|
352
353
|
{ key: index },
|
|
353
|
-
|
|
354
|
-
_this.state.mobileView && _this.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 &&
|
|
354
|
+
React.createElement(_this2.Deck, { data: row, variant: variant, index: index, client: _this.props.client, defaultImage: _this.defaultImage, isSeriesLanding: _this.isSeriesLanding }),
|
|
355
|
+
_this.state.mobileView && _this.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && React.createElement(
|
|
355
356
|
'div',
|
|
356
357
|
{ className: 'ad-container', style: { margin: '0 auto' } },
|
|
357
358
|
_this.renderMobileAd(index, numberOfItemsBeforeAd, _this.rightItems)
|
|
@@ -365,24 +366,24 @@ var MasterDeck = function (_React$Component) {
|
|
|
365
366
|
data.map(function (row, index) {
|
|
366
367
|
var pageNumber = row.pageNumber || _this.state.page;
|
|
367
368
|
if (!row._type || !['lg-infeed', 'brandInsightAd'].includes(row._type)) {
|
|
368
|
-
return
|
|
369
|
+
return React.createElement(
|
|
369
370
|
VisibilitySensor,
|
|
370
371
|
{
|
|
371
372
|
key: row._id ? row._id : index,
|
|
372
373
|
onChange: function onChange(isVisible) {
|
|
373
374
|
isVisible && _this.changePageNumber(pageNumber);
|
|
374
375
|
} },
|
|
375
|
-
|
|
376
|
-
|
|
376
|
+
React.createElement(
|
|
377
|
+
React.Fragment,
|
|
377
378
|
{ key: index },
|
|
378
|
-
|
|
379
|
+
React.createElement(_this2.Deck, { data: row, variant: variant, index: index, client: _this.props.client, defaultImage: _this.defaultImage, isSeriesLanding: _this.isSeriesLanding })
|
|
379
380
|
)
|
|
380
381
|
);
|
|
381
382
|
}
|
|
382
|
-
}) :
|
|
383
|
+
}) : React.createElement(
|
|
383
384
|
'div',
|
|
384
385
|
null,
|
|
385
|
-
|
|
386
|
+
React.createElement(
|
|
386
387
|
'em',
|
|
387
388
|
null,
|
|
388
389
|
'New content coming soon, please check back later.'
|
|
@@ -391,7 +392,7 @@ var MasterDeck = function (_React$Component) {
|
|
|
391
392
|
);
|
|
392
393
|
}, _this.renderMobileAd = function (index, numberOfItemsBeforeAd, rightItems) {
|
|
393
394
|
var i = ((index + 1) / numberOfItemsBeforeAd - 1) % rightItems.length;
|
|
394
|
-
return
|
|
395
|
+
return React.createElement(
|
|
395
396
|
'div',
|
|
396
397
|
{ className: 'ad-container', style: { display: 'flex', flex: '1 0 auto', width: '100%', textAlign: 'center', marginBottom: '2rem' } },
|
|
397
398
|
rightItems[i].component
|
|
@@ -408,15 +409,15 @@ var MasterDeck = function (_React$Component) {
|
|
|
408
409
|
return null;
|
|
409
410
|
}
|
|
410
411
|
|
|
411
|
-
return
|
|
412
|
+
return React.createElement(
|
|
412
413
|
'div',
|
|
413
414
|
{ className: 'd-flex justify-content-between' },
|
|
414
|
-
currentPage && currentPage > 1 &&
|
|
415
|
+
currentPage && currentPage > 1 && React.createElement(
|
|
415
416
|
'a',
|
|
416
417
|
{ href: '?page=' + (currentPage - 1) },
|
|
417
418
|
'<< Previous'
|
|
418
419
|
),
|
|
419
|
-
|
|
420
|
+
React.createElement(
|
|
420
421
|
'a',
|
|
421
422
|
{ href: '?page=' + (currentPage + 1) },
|
|
422
423
|
'Next >>'
|
|
@@ -480,38 +481,38 @@ var MasterDeck = function (_React$Component) {
|
|
|
480
481
|
_props$lgInfeedAd = _props.lgInfeedAd,
|
|
481
482
|
lgInfeedAd = _props$lgInfeedAd === undefined ? false : _props$lgInfeedAd;
|
|
482
483
|
|
|
483
|
-
return
|
|
484
|
+
return React.createElement(
|
|
484
485
|
'div',
|
|
485
486
|
{ className: 'contentDeck' },
|
|
486
|
-
autoScroll ?
|
|
487
|
-
|
|
487
|
+
autoScroll ? React.createElement(
|
|
488
|
+
React.Fragment,
|
|
488
489
|
null,
|
|
489
|
-
|
|
490
|
+
React.createElement(
|
|
490
491
|
InfiniteScroll,
|
|
491
492
|
{ dataLength: this.state.data.length, next: this.loadMore, hasMore: this.state.scrolling, scrollThreshold: 0.9 },
|
|
492
|
-
|
|
493
|
+
React.createElement(
|
|
493
494
|
Container,
|
|
494
495
|
null,
|
|
495
496
|
this.cardLoader(page, columns, variant, brandInsightAd, showBI, lgInfeedAd)
|
|
496
497
|
)
|
|
497
498
|
),
|
|
498
|
-
|
|
499
|
+
React.createElement(
|
|
499
500
|
'noscript',
|
|
500
501
|
null,
|
|
501
502
|
this.renderManualPagination()
|
|
502
503
|
)
|
|
503
|
-
) :
|
|
504
|
-
|
|
504
|
+
) : React.createElement(
|
|
505
|
+
React.Fragment,
|
|
505
506
|
null,
|
|
506
|
-
|
|
507
|
+
React.createElement(
|
|
507
508
|
Container,
|
|
508
509
|
null,
|
|
509
510
|
this.cardLoader(page, columns, variant, brandInsightAd, showBI, lgInfeedAd)
|
|
510
511
|
),
|
|
511
|
-
|
|
512
|
+
React.createElement(
|
|
512
513
|
'div',
|
|
513
514
|
{ style: { padding: '0px 10px' } },
|
|
514
|
-
this.state.scrolling &&
|
|
515
|
+
this.state.scrolling && React.createElement(
|
|
515
516
|
'button',
|
|
516
517
|
{
|
|
517
518
|
className: 'btn',
|
|
@@ -531,7 +532,7 @@ var MasterDeck = function (_React$Component) {
|
|
|
531
532
|
'Load More'
|
|
532
533
|
)
|
|
533
534
|
),
|
|
534
|
-
|
|
535
|
+
React.createElement(
|
|
535
536
|
'noscript',
|
|
536
537
|
null,
|
|
537
538
|
this.renderManualPagination()
|
|
@@ -542,7 +543,7 @@ var MasterDeck = function (_React$Component) {
|
|
|
542
543
|
}]);
|
|
543
544
|
|
|
544
545
|
return MasterDeck;
|
|
545
|
-
}(
|
|
546
|
+
}(React.Component);
|
|
546
547
|
|
|
547
548
|
var MasterDeck$1 = withRouter(MasterDeck);
|
|
548
549
|
|
|
@@ -8,22 +8,23 @@ import './core.get-iterator-method-e1de7503.js';
|
|
|
8
8
|
import './_object-pie-33c40e79.js';
|
|
9
9
|
import { _ as _extends } from './extends-eb69e8ac.js';
|
|
10
10
|
import './web.dom.iterable-4439f05a.js';
|
|
11
|
-
import
|
|
12
|
-
import './index-
|
|
11
|
+
import React from 'react';
|
|
12
|
+
import './index-acfb8079.js';
|
|
13
13
|
import 'prop-types';
|
|
14
14
|
import 'next/router';
|
|
15
|
-
import './index.es-
|
|
15
|
+
import './index.es-7dda2f0a.js';
|
|
16
16
|
import 'react-dom';
|
|
17
|
-
import './visibility-sensor-
|
|
18
|
-
import './index-
|
|
19
|
-
import './index-
|
|
20
|
-
import './main-
|
|
17
|
+
import './visibility-sensor-082c757b.js';
|
|
18
|
+
import './index-51a80699.js';
|
|
19
|
+
import './index-c5fd0af5.js';
|
|
20
|
+
import './main-aef58dbc.js';
|
|
21
21
|
import './slicedToArray-641f241f.js';
|
|
22
|
-
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-
|
|
22
|
+
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-502f13b4.js';
|
|
23
|
+
import './_set-species-3f8319f5.js';
|
|
23
24
|
import './index-c7e2ac95.js';
|
|
24
25
|
import './smoothscroll-0cd4c7a6.js';
|
|
25
26
|
import Dropdown from 'react-bootstrap/Dropdown';
|
|
26
|
-
import './SeriesSlider-
|
|
27
|
+
import './SeriesSlider-19a24623.js';
|
|
27
28
|
import SeriesListingDeck from './SeriesListingDeck.js';
|
|
28
29
|
|
|
29
30
|
var _this = undefined;
|
|
@@ -32,19 +33,19 @@ var Filter = function Filter(_ref) {
|
|
|
32
33
|
var filterData = _ref.filterData;
|
|
33
34
|
|
|
34
35
|
if (!filterData.series || filterData.series.length == 0) return null;
|
|
35
|
-
return
|
|
36
|
+
return React.createElement(
|
|
36
37
|
Dropdown,
|
|
37
38
|
{ className: 'mb-3' },
|
|
38
|
-
|
|
39
|
+
React.createElement(
|
|
39
40
|
Dropdown.Toggle,
|
|
40
41
|
{ variant: 'secondary', id: 'dropdown-series' },
|
|
41
42
|
'All Series'
|
|
42
43
|
),
|
|
43
|
-
|
|
44
|
+
React.createElement(
|
|
44
45
|
Dropdown.Menu,
|
|
45
46
|
null,
|
|
46
47
|
filterData.series && filterData.series.map(function (docGroup) {
|
|
47
|
-
return
|
|
48
|
+
return React.createElement(
|
|
48
49
|
Dropdown.Item,
|
|
49
50
|
{ href: '/' + filterData.identifier.current + '/' + docGroup.identifier.current },
|
|
50
51
|
docGroup.name
|
|
@@ -58,11 +59,11 @@ var MediaSeriesLanding = function MediaSeriesLanding(props) {
|
|
|
58
59
|
if (!props.seriesData || props.seriesData.length == 0) {
|
|
59
60
|
return null;
|
|
60
61
|
}
|
|
61
|
-
return
|
|
62
|
+
return React.createElement(
|
|
62
63
|
'div',
|
|
63
64
|
null,
|
|
64
|
-
props.filterDropDownData && props.filterDropDownData.series &&
|
|
65
|
-
|
|
65
|
+
props.filterDropDownData && props.filterDropDownData.series && React.createElement(Filter, { filterData: props.filterDropDownData }),
|
|
66
|
+
React.createElement(SeriesListingDeck, _extends({}, props, { data: props.seriesData, client: props.client, displayEpisodeNumber: props.displayEpisodeNumber }))
|
|
66
67
|
);
|
|
67
68
|
};
|
|
68
69
|
|