@mjhls/mjh-framework 1.0.799-social-share-flag → 1.0.799
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/AD300x250.js +1 -1
- package/dist/cjs/AD300x250x600.js +1 -1
- package/dist/cjs/AD728x90.js +1 -1
- package/dist/cjs/ADFloatingFooter.js +1 -1
- package/dist/cjs/ADGutter.js +1 -1
- package/dist/cjs/ADSkyscraper.js +1 -1
- package/dist/cjs/ADSponsoredResources.js +1 -1
- package/dist/cjs/ADWebcast.js +1 -1
- package/dist/cjs/ADWelcome.js +1 -1
- package/dist/cjs/AccordionPanel.js +2 -2
- package/dist/cjs/AdSlot.js +1 -1
- package/dist/cjs/AdSlotsProvider.js +1 -1
- package/dist/cjs/ArticleCarousel.js +1 -1
- package/dist/cjs/ArticleProgramLandingPage.js +4 -4
- package/dist/cjs/ArticleSeriesLandingPage.js +3 -3
- package/dist/cjs/ArticleSeriesListing.js +3 -3
- package/dist/cjs/CMEDeck.js +1 -1
- package/dist/cjs/Column3.js +1 -1
- package/dist/cjs/ConferenceArticleCard.js +15 -15
- package/dist/cjs/DeckContent.js +10 -10
- package/dist/cjs/DeckQueue.js +1 -1
- package/dist/cjs/EventsDeck.js +18 -18
- package/dist/cjs/ExternalResources.js +4 -4
- package/dist/cjs/Feature.js +1 -1
- package/dist/cjs/GridContent.js +3 -3
- package/dist/cjs/HamMagazine.js +15 -15
- package/dist/cjs/HorizontalArticleListing.js +4 -4
- package/dist/cjs/HorizontalHero.js +2 -2
- package/dist/cjs/IssueLanding.js +32 -32
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +1 -1
- package/dist/cjs/MasterDeck.js +11 -11
- package/dist/cjs/MediaSeriesLanding.js +23 -12
- package/dist/cjs/NavMagazine.js +16 -16
- package/dist/cjs/NavNative.js +12 -12
- package/dist/cjs/NavNormal.js +2 -2
- package/dist/cjs/OncliveHero.js +1 -1
- package/dist/cjs/PartnerDetailListing.js +6 -6
- package/dist/cjs/PdfDownload.js +2 -2
- package/dist/cjs/PubSection.js +3 -3
- package/dist/cjs/PublicationLanding.js +29 -29
- package/dist/cjs/QueueDeckExpanded.js +3 -3
- package/dist/cjs/RecentNews.js +2 -2
- package/dist/cjs/RelatedContent.js +28 -28
- package/dist/cjs/RelatedTopicsDropdown.js +10 -10
- package/dist/cjs/SeriesListingDeck.js +2 -2
- package/dist/cjs/{SeriesSlider-c022ce04.js → SeriesSlider-2db54929.js} +5 -5
- package/dist/cjs/SideFooter.js +2 -2
- package/dist/cjs/{SocialSearchComponent-31afe61f.js → SocialSearchComponent-9cb50ae4.js} +3 -3
- package/dist/cjs/SocialShare.js +3 -6
- package/dist/cjs/TaxonomyDescription.js +4 -4
- package/dist/cjs/TemplateNormal.js +6 -6
- package/dist/cjs/Ustream.js +4 -4
- package/dist/cjs/VideoProgramLandingPage.js +4 -4
- package/dist/cjs/VideoSeriesCard.js +1 -1
- package/dist/cjs/VideoSeriesLandingPage.js +3 -3
- package/dist/cjs/VideoSeriesListing.js +3 -3
- package/dist/cjs/View.js +9 -11
- package/dist/cjs/YoutubeGroup.js +5 -5
- package/dist/cjs/getSerializers.js +4 -4
- package/dist/cjs/{getTargeting-be6168ad.js → getTargeting-a100d6e5.js} +9 -9
- package/dist/cjs/getTargeting.js +1 -1
- package/dist/{esm/iconBase-602d52fe.js → cjs/iconBase-be4097c0.js} +33 -8
- package/dist/cjs/{index-59b791eb.js → index-08b35e31.js} +2 -2
- package/dist/cjs/{index.esm-974f47d9.js → index.esm-00a6aade.js} +1 -1
- package/dist/cjs/{index.esm-8123cf40.js → index.esm-2bb721c8.js} +1 -1
- package/dist/cjs/{index.esm-3b9b8952.js → index.esm-9225638f.js} +1 -1
- package/dist/cjs/{index.esm-05850a2f.js → index.esm-f27f80d9.js} +1 -1
- package/dist/cjs/index.js +12 -12
- package/dist/cjs/{main-025fdc78.js → main-f1c77adb.js} +3 -3
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +6 -6
- package/dist/esm/AD300x250x600.js +6 -6
- package/dist/esm/AD728x90.js +7 -7
- package/dist/esm/ADFloatingFooter.js +9 -9
- package/dist/esm/ADFooter.js +6 -6
- package/dist/esm/ADGutter.js +9 -9
- package/dist/esm/{ADInfeed-e1e18f87.js → ADInfeed-f7d00a9a.js} +5 -5
- package/dist/esm/ADSkyscraper.js +9 -9
- package/dist/esm/ADSponsoredResources.js +9 -9
- package/dist/esm/ADWebcast.js +9 -9
- package/dist/esm/ADWelcome.js +13 -13
- package/dist/esm/{ADlgInfeed-c6d2831b.js → ADlgInfeed-db64f46d.js} +4 -4
- package/dist/esm/AccordionPanel.js +18 -18
- package/dist/esm/AdSlot.js +5 -5
- package/dist/esm/AdSlotsProvider.js +4 -4
- package/dist/esm/AlphabeticList.js +13 -13
- package/dist/esm/ArticleCarousel.js +6 -6
- package/dist/esm/ArticleProgramLandingPage.js +17 -17
- package/dist/esm/ArticleSeriesLandingPage.js +12 -12
- package/dist/esm/ArticleSeriesListing.js +31 -31
- package/dist/esm/Auth.js +70 -70
- package/dist/esm/{AuthorComponent-5ae7409f.js → AuthorComponent-30aeba69.js} +10 -10
- package/dist/esm/{BlockContent-52cf21c5.js → BlockContent-c99c9a8d.js} +3 -3
- package/dist/esm/Breadcrumbs.js +11 -11
- package/dist/esm/CMEDeck.js +61 -61
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +12 -12
- package/dist/esm/Column3.js +23 -23
- package/dist/esm/ConferenceArticleCard.js +28 -28
- package/dist/esm/{ConferenceBanner-9162d0ca.js → ConferenceBanner-8792ebd2.js} +4 -4
- package/dist/esm/DeckContent.js +57 -57
- package/dist/esm/DeckQueue.js +42 -42
- package/dist/esm/{Dfp-a304d96c.js → Dfp-be030f2a.js} +10 -10
- package/dist/esm/EventsDeck.js +81 -81
- package/dist/esm/ExternalResources.js +35 -35
- package/dist/esm/Feature.js +15 -15
- package/dist/esm/ForbesHero.js +26 -26
- package/dist/esm/GridContent.js +103 -103
- package/dist/esm/GridHero.js +27 -27
- package/dist/esm/GroupDeck.js +34 -34
- package/dist/esm/HamMagazine.js +95 -95
- package/dist/esm/Header.js +8 -8
- package/dist/esm/Hero.js +6 -6
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalArticleListing.js +31 -31
- package/dist/esm/HorizontalHero.js +20 -20
- package/dist/esm/IssueContentDeck.js +39 -39
- package/dist/esm/IssueDeck.js +33 -33
- package/dist/esm/IssueLanding.js +42 -42
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +16 -16
- package/dist/esm/MasterDeck.js +46 -46
- package/dist/esm/MediaSeriesLanding.js +339 -328
- package/dist/esm/NavDvm.js +43 -43
- package/dist/esm/{NavFooter-c29526b7.js → NavFooter-e27bd93b.js} +12 -12
- package/dist/esm/NavMagazine.js +99 -99
- package/dist/esm/NavNative.js +86 -86
- package/dist/esm/NavNormal.js +22 -22
- package/dist/esm/OncliveHero.js +13 -13
- package/dist/esm/OncliveLargeHero.js +50 -50
- package/dist/esm/PageFilter.js +6 -6
- package/dist/esm/PartnerDetailListing.js +62 -62
- package/dist/esm/PdfDownload.js +7 -7
- package/dist/esm/PopUpModal.js +8 -8
- package/dist/esm/PubSection.js +14 -14
- package/dist/esm/PubToc.js +5 -5
- package/dist/esm/PublicationDeck.js +33 -33
- package/dist/esm/PublicationLanding.js +78 -78
- package/dist/esm/QueueDeckExpanded.js +246 -246
- package/dist/esm/RecentNews.js +18 -18
- package/dist/esm/RelatedContent.js +43 -43
- package/dist/esm/RelatedTopicsDropdown.js +21 -21
- package/dist/esm/RolesDeck.js +13 -13
- package/dist/esm/Search.js +5 -5
- package/dist/esm/SeriesListingDeck.js +19 -19
- package/dist/esm/{SeriesSlider-8414085b.js → SeriesSlider-c8477bf3.js} +23 -23
- package/dist/esm/SideFooter.js +21 -21
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-116b1d5d.js → SocialSearchComponent-09775683.js} +22 -22
- package/dist/esm/SocialShare.js +27 -30
- package/dist/esm/TaxonomyCard.js +35 -35
- package/dist/esm/TaxonomyDescription.js +13 -13
- package/dist/esm/TemplateNormal.js +30 -30
- package/dist/esm/ThumbnailCard.js +9 -9
- package/dist/esm/Ustream.js +18 -18
- package/dist/esm/VerticalHero.js +11 -11
- package/dist/esm/VideoProgramLandingPage.js +24 -24
- package/dist/esm/VideoSeriesCard.js +15 -15
- package/dist/esm/VideoSeriesFilter.js +6 -6
- package/dist/esm/VideoSeriesLandingPage.js +12 -12
- package/dist/esm/VideoSeriesListing.js +47 -47
- package/dist/esm/View.js +171 -173
- package/dist/esm/YahooHero.js +23 -23
- package/dist/esm/YoutubeGroup.js +32 -32
- package/dist/esm/{brightcove-react-player-loader.es-b43c695a.js → brightcove-react-player-loader.es-57a70a56.js} +3 -3
- package/dist/esm/getSerializers.js +8 -8
- package/dist/esm/{getTargeting-68291ce9.js → getTargeting-05c216d6.js} +9 -9
- package/dist/esm/getTargeting.js +1 -1
- package/dist/{cjs/iconBase-68959171.js → esm/iconBase-ccc56b97.js} +2 -5
- package/dist/esm/{index-888f9253.js → index-5cc7b406.js} +3 -3
- package/dist/esm/{index-35bdcc81.js → index-755f2cc2.js} +4 -4
- package/dist/esm/{index-68283a6a.js → index-c2daf449.js} +338 -338
- package/dist/esm/{index.es-c6222053.js → index.es-a6137319.js} +5 -5
- package/dist/esm/{index.esm-8016b507.js → index.esm-37268dca.js} +16 -16
- package/dist/esm/{index.esm-a8ff922c.js → index.esm-d4932dea.js} +1 -1
- package/dist/esm/{index.esm-d6f88d94.js → index.esm-e874e770.js} +1 -1
- package/dist/esm/{index.esm-3fdda599.js → index.esm-f6156a57.js} +1 -1
- package/dist/esm/index.js +38 -38
- package/dist/esm/{main-b5c5aac1.js → main-d4165069.js} +19 -19
- package/dist/esm/{react-social-icons-91f9716f.js → react-social-icons-9be47857.js} +5 -5
- package/dist/esm/{visibility-sensor-f40c2564.js → visibility-sensor-72fd8f8b.js} +2 -2
- package/package.json +108 -108
- /package/dist/cjs/{ADInfeed-e7aecdf9.js → ADInfeed-7cf51090.js} +0 -0
- /package/dist/cjs/{ADlgInfeed-0941023e.js → ADlgInfeed-bf24708d.js} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { a as _asyncToGenerator, r as regenerator, _ as _Promise } from './asyncToGenerator-7f8f9219.js';
|
|
2
2
|
import { _ as _slicedToArray } from './slicedToArray-be2f7a22.js';
|
|
3
3
|
import { _ as _extends } from './extends-60e0e1c6.js';
|
|
4
|
-
import
|
|
5
|
-
import { B as BlockContent } from './BlockContent-
|
|
6
|
-
import { g as getSerializers } from './index-
|
|
4
|
+
import React__default from 'react';
|
|
5
|
+
import { B as BlockContent } from './BlockContent-c99c9a8d.js';
|
|
6
|
+
import { g as getSerializers } from './index-c2daf449.js';
|
|
7
7
|
import ArticleSeriesListing from './ArticleSeriesListing.js';
|
|
8
8
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
9
9
|
import './es6.string.iterator-bc33758b.js';
|
|
@@ -16,19 +16,19 @@ import './_object-pie-133f504a.js';
|
|
|
16
16
|
import 'prop-types';
|
|
17
17
|
import './index-0dbff1d1.js';
|
|
18
18
|
import 'react-bootstrap';
|
|
19
|
-
import './index-
|
|
19
|
+
import './index-5cc7b406.js';
|
|
20
20
|
import 'next/router';
|
|
21
21
|
import './index-c7e2ac95.js';
|
|
22
22
|
import './util-3ab476bf.js';
|
|
23
23
|
import './Beam.js';
|
|
24
24
|
import './stringify-59c8f690.js';
|
|
25
25
|
import './Segment.js';
|
|
26
|
-
import './main-
|
|
27
|
-
import './index-
|
|
26
|
+
import './main-d4165069.js';
|
|
27
|
+
import './index-755f2cc2.js';
|
|
28
28
|
import 'react-dom';
|
|
29
29
|
import './typeof-a286cf0c.js';
|
|
30
30
|
import './_is-array-3e99e06e.js';
|
|
31
|
-
import './brightcove-react-player-loader.es-
|
|
31
|
+
import './brightcove-react-player-loader.es-57a70a56.js';
|
|
32
32
|
import './GroupDeck.js';
|
|
33
33
|
import './smoothscroll-fa4e3f8c.js';
|
|
34
34
|
import './moment-bc12cb97.js';
|
|
@@ -49,13 +49,13 @@ import 'react-bootstrap/Col';
|
|
|
49
49
|
import './inherits-a41fe93f.js';
|
|
50
50
|
import './_object-sap-f353c2a9.js';
|
|
51
51
|
import './define-property-fe54dc9f.js';
|
|
52
|
-
import './index.esm-
|
|
53
|
-
import './iconBase-
|
|
52
|
+
import './index.esm-f6156a57.js';
|
|
53
|
+
import './iconBase-ccc56b97.js';
|
|
54
54
|
import 'react-bootstrap/Figure';
|
|
55
55
|
import 'react-bootstrap/Container';
|
|
56
|
-
import './visibility-sensor-
|
|
56
|
+
import './visibility-sensor-72fd8f8b.js';
|
|
57
57
|
import './YoutubeGroup.js';
|
|
58
|
-
import './index.es-
|
|
58
|
+
import './index.es-a6137319.js';
|
|
59
59
|
|
|
60
60
|
var _this = undefined;
|
|
61
61
|
|
|
@@ -80,21 +80,21 @@ var ArticleProgramLandingPage = function ArticleProgramLandingPage(props) {
|
|
|
80
80
|
_props$autoScroll = props.autoScroll,
|
|
81
81
|
autoScroll = _props$autoScroll === undefined ? true : _props$autoScroll;
|
|
82
82
|
|
|
83
|
-
return
|
|
83
|
+
return React__default.createElement(
|
|
84
84
|
'div',
|
|
85
85
|
null,
|
|
86
|
-
virtualBlock &&
|
|
87
|
-
pageDescription &&
|
|
86
|
+
virtualBlock && React__default.createElement(BlockContent, _extends({ serializers: getSerializers(client), blocks: virtualBlock.body, imageOptions: { w: 320, h: 240, fit: 'max' } }, client.config())),
|
|
87
|
+
pageDescription && React__default.createElement(
|
|
88
88
|
'div',
|
|
89
89
|
{ className: 'mb-3' },
|
|
90
|
-
pageDescription.image &&
|
|
91
|
-
pageDescription.description &&
|
|
90
|
+
pageDescription.image && React__default.createElement('img', { className: 'mb-3 w-100', src: pageDescription.image, alt: pageDescription.imageAlt || '' }),
|
|
91
|
+
pageDescription.description && React__default.createElement(
|
|
92
92
|
'p',
|
|
93
93
|
null,
|
|
94
94
|
pageDescription.description
|
|
95
95
|
)
|
|
96
96
|
),
|
|
97
|
-
posts &&
|
|
97
|
+
posts && React__default.createElement(ArticleSeriesListing, {
|
|
98
98
|
client: client,
|
|
99
99
|
mapping: mapping,
|
|
100
100
|
dataRecord: posts,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-7f8f9219.js';
|
|
2
|
-
import
|
|
2
|
+
import React__default from 'react';
|
|
3
3
|
import MasterDeck from './MasterDeck.js';
|
|
4
4
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
5
5
|
import './es6.string.iterator-bc33758b.js';
|
|
@@ -16,7 +16,7 @@ import './_object-sap-f353c2a9.js';
|
|
|
16
16
|
import './define-property-fe54dc9f.js';
|
|
17
17
|
import './typeof-a286cf0c.js';
|
|
18
18
|
import './_is-array-3e99e06e.js';
|
|
19
|
-
import './index-
|
|
19
|
+
import './index-5cc7b406.js';
|
|
20
20
|
import 'prop-types';
|
|
21
21
|
import 'react-bootstrap/Container';
|
|
22
22
|
import 'react-bootstrap/Row';
|
|
@@ -28,18 +28,18 @@ import './lodash-f97fd99a.js';
|
|
|
28
28
|
import './debounce-533d9748.js';
|
|
29
29
|
import './isSymbol-a7e9aafe.js';
|
|
30
30
|
import './toNumber-5aeba6e7.js';
|
|
31
|
-
import './index.es-
|
|
32
|
-
import './visibility-sensor-
|
|
31
|
+
import './index.es-a6137319.js';
|
|
32
|
+
import './visibility-sensor-72fd8f8b.js';
|
|
33
33
|
import 'react-dom';
|
|
34
34
|
import './index-0dbff1d1.js';
|
|
35
|
-
import './ADlgInfeed-
|
|
35
|
+
import './ADlgInfeed-db64f46d.js';
|
|
36
36
|
import './slicedToArray-be2f7a22.js';
|
|
37
37
|
import './AdSlot.js';
|
|
38
38
|
import './Beam.js';
|
|
39
39
|
import './stringify-59c8f690.js';
|
|
40
40
|
import './Segment.js';
|
|
41
|
-
import './main-
|
|
42
|
-
import './ADInfeed-
|
|
41
|
+
import './main-d4165069.js';
|
|
42
|
+
import './ADInfeed-f7d00a9a.js';
|
|
43
43
|
|
|
44
44
|
var _this = undefined;
|
|
45
45
|
|
|
@@ -64,24 +64,24 @@ var ArticleSeriesLandingPage = function ArticleSeriesLandingPage(props) {
|
|
|
64
64
|
defaultImage = _props$defaultImage === undefined ? '/placeholder.jpg' : _props$defaultImage;
|
|
65
65
|
|
|
66
66
|
|
|
67
|
-
return
|
|
67
|
+
return React__default.createElement(
|
|
68
68
|
'div',
|
|
69
69
|
null,
|
|
70
|
-
summary &&
|
|
70
|
+
summary && React__default.createElement(
|
|
71
71
|
'div',
|
|
72
72
|
{ style: { fontSize: '1rem' }, className: 'article-series-summary px-1 mt-2 mb-4' },
|
|
73
73
|
summary
|
|
74
74
|
),
|
|
75
|
-
seriesTitle &&
|
|
75
|
+
seriesTitle && React__default.createElement(
|
|
76
76
|
'h1',
|
|
77
77
|
{ className: 'article-series-title' },
|
|
78
|
-
|
|
78
|
+
React__default.createElement(
|
|
79
79
|
'a',
|
|
80
80
|
seriesName && { href: '/view/' + seriesName },
|
|
81
81
|
seriesTitle
|
|
82
82
|
)
|
|
83
83
|
),
|
|
84
|
-
posts && deck &&
|
|
84
|
+
posts && deck && React__default.createElement(MasterDeck, {
|
|
85
85
|
deck: deck,
|
|
86
86
|
variant: variant,
|
|
87
87
|
defaultImage: defaultImage,
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { _ as _extends } from './extends-60e0e1c6.js';
|
|
2
2
|
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-a41fe93f.js';
|
|
3
|
-
import
|
|
4
|
-
import { l as lib_3 } from './index-
|
|
3
|
+
import React__default from 'react';
|
|
4
|
+
import { l as lib_3 } from './index-5cc7b406.js';
|
|
5
5
|
import Container from 'react-bootstrap/Container';
|
|
6
|
-
import { V as VisibilitySensor } from './visibility-sensor-
|
|
7
|
-
import { I as IoIosArrowForward } from './index.esm-
|
|
6
|
+
import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
7
|
+
import { I as IoIosArrowForward } from './index.esm-f6156a57.js';
|
|
8
8
|
import { m as moment } from './moment-bc12cb97.js';
|
|
9
9
|
import { withRouter } from 'next/router';
|
|
10
10
|
import YoutubeGroup from './YoutubeGroup.js';
|
|
11
11
|
import { d as debounce_1 } from './debounce-533d9748.js';
|
|
12
|
-
import { I as InfiniteScroll } from './index.es-
|
|
12
|
+
import { I as InfiniteScroll } from './index.es-a6137319.js';
|
|
13
13
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
14
14
|
import './_to-object-b50e61c3.js';
|
|
15
15
|
import './_object-pie-133f504a.js';
|
|
@@ -22,14 +22,14 @@ import './_is-array-3e99e06e.js';
|
|
|
22
22
|
import './_library-528f1934.js';
|
|
23
23
|
import 'prop-types';
|
|
24
24
|
import 'react-dom';
|
|
25
|
-
import './iconBase-
|
|
25
|
+
import './iconBase-ccc56b97.js';
|
|
26
26
|
import './slicedToArray-be2f7a22.js';
|
|
27
27
|
import './core.get-iterator-method-133dfacd.js';
|
|
28
28
|
import './index-c7e2ac95.js';
|
|
29
|
-
import './index-
|
|
29
|
+
import './index-755f2cc2.js';
|
|
30
30
|
import './smoothscroll-fa4e3f8c.js';
|
|
31
31
|
import './index-0dbff1d1.js';
|
|
32
|
-
import './main-
|
|
32
|
+
import './main-d4165069.js';
|
|
33
33
|
import './isSymbol-a7e9aafe.js';
|
|
34
34
|
import './toNumber-5aeba6e7.js';
|
|
35
35
|
|
|
@@ -192,15 +192,15 @@ var ArticleSeriesListing = function (_React$Component) {
|
|
|
192
192
|
}, _this.renderManualPagination = function () {
|
|
193
193
|
var currentPage = _this.state.currentPage;
|
|
194
194
|
|
|
195
|
-
return
|
|
195
|
+
return React__default.createElement(
|
|
196
196
|
'div',
|
|
197
197
|
{ className: 'd-flex justify-content-between' },
|
|
198
|
-
currentPage && currentPage > 1 &&
|
|
198
|
+
currentPage && currentPage > 1 && React__default.createElement(
|
|
199
199
|
'a',
|
|
200
200
|
{ href: '?page=' + (currentPage - 1) },
|
|
201
201
|
'<< Previous'
|
|
202
202
|
),
|
|
203
|
-
|
|
203
|
+
React__default.createElement(
|
|
204
204
|
'a',
|
|
205
205
|
{ href: '?page=' + (currentPage + 1) },
|
|
206
206
|
'Next >>'
|
|
@@ -209,7 +209,7 @@ var ArticleSeriesListing = function (_React$Component) {
|
|
|
209
209
|
}, _this.renderSeries = function (seriesData) {
|
|
210
210
|
var itemCounter = 0;
|
|
211
211
|
|
|
212
|
-
return
|
|
212
|
+
return React__default.createElement(
|
|
213
213
|
'div',
|
|
214
214
|
null,
|
|
215
215
|
seriesData && seriesData.map(function (docSeries, index) {
|
|
@@ -219,24 +219,24 @@ var ArticleSeriesListing = function (_React$Component) {
|
|
|
219
219
|
});
|
|
220
220
|
}
|
|
221
221
|
|
|
222
|
-
return
|
|
222
|
+
return React__default.createElement(
|
|
223
223
|
'div',
|
|
224
224
|
{ key: index, counter: itemCounter++ },
|
|
225
|
-
|
|
225
|
+
React__default.createElement(
|
|
226
226
|
'h4',
|
|
227
227
|
{ className: 'article-title-banner', style: { fontWeight: 'bold', color: 'var(--primary)', padding: '.25rem 0', borderBottom: '2px solid #d4a64d' } },
|
|
228
|
-
|
|
228
|
+
React__default.createElement(
|
|
229
229
|
'a',
|
|
230
230
|
{ href: '/' + _this.props.page + '/' + docSeries.url.current },
|
|
231
231
|
docSeries.title,
|
|
232
|
-
|
|
232
|
+
React__default.createElement(
|
|
233
233
|
'span',
|
|
234
234
|
{ style: { fontSize: '.9rem', color: 'grey', marginLeft: '1rem', transform: 'translateY(-2px)', display: 'inline-block' } },
|
|
235
|
-
|
|
235
|
+
React__default.createElement(IoIosArrowForward, null)
|
|
236
236
|
)
|
|
237
237
|
)
|
|
238
238
|
),
|
|
239
|
-
docSeries.body && docSeries.body.length > 0 && docSeries.body[0].articles ?
|
|
239
|
+
docSeries.body && docSeries.body.length > 0 && docSeries.body[0].articles ? React__default.createElement(YoutubeGroup, _extends({ key: index, dataset: docSeries.body[0].articles }, _this.props)) : React__default.createElement(
|
|
240
240
|
'p',
|
|
241
241
|
null,
|
|
242
242
|
'No Article Found.'
|
|
@@ -252,31 +252,31 @@ var ArticleSeriesListing = function (_React$Component) {
|
|
|
252
252
|
value: function render() {
|
|
253
253
|
var _this2 = this;
|
|
254
254
|
|
|
255
|
-
return
|
|
256
|
-
|
|
255
|
+
return React__default.createElement(
|
|
256
|
+
React__default.Fragment,
|
|
257
257
|
null,
|
|
258
258
|
this.state.data.length >= 1 && this.state.data[0].length > 0 ? //Check if any Video Groups available
|
|
259
|
-
|
|
259
|
+
React__default.createElement(
|
|
260
260
|
InfiniteScroll,
|
|
261
261
|
{ dataLength: this.state.data.length, next: this.loadMore, hasMore: this.state.scrolling, scrollThreshold: 0.8 },
|
|
262
|
-
|
|
262
|
+
React__default.createElement(
|
|
263
263
|
Container,
|
|
264
264
|
null,
|
|
265
265
|
this.state.data && this.state.data.map(function (series, index) {
|
|
266
266
|
var page = series && series.length > 0 && series[0].pageNumber !== 1 ? series[0].pageNumber : 1;
|
|
267
267
|
|
|
268
|
-
return
|
|
269
|
-
|
|
268
|
+
return React__default.createElement(
|
|
269
|
+
React__default.Fragment,
|
|
270
270
|
{ key: index },
|
|
271
|
-
|
|
271
|
+
React__default.createElement(
|
|
272
272
|
VisibilitySensor,
|
|
273
273
|
{
|
|
274
274
|
onChange: function onChange(isVisible) {
|
|
275
275
|
isVisible && _this2.changePageNumber(page);
|
|
276
276
|
} },
|
|
277
|
-
|
|
277
|
+
React__default.createElement('div', { className: 'visibility-sensor', style: { minHeight: '.25rem' } })
|
|
278
278
|
),
|
|
279
|
-
|
|
279
|
+
React__default.createElement(
|
|
280
280
|
'div',
|
|
281
281
|
null,
|
|
282
282
|
_this2.renderSeries(series)
|
|
@@ -284,13 +284,13 @@ var ArticleSeriesListing = function (_React$Component) {
|
|
|
284
284
|
);
|
|
285
285
|
})
|
|
286
286
|
)
|
|
287
|
-
) :
|
|
287
|
+
) : React__default.createElement(
|
|
288
288
|
'div',
|
|
289
289
|
{ style: { marginTop: '10px' } },
|
|
290
|
-
|
|
290
|
+
React__default.createElement(
|
|
291
291
|
'h5',
|
|
292
292
|
null,
|
|
293
|
-
|
|
293
|
+
React__default.createElement(
|
|
294
294
|
'em',
|
|
295
295
|
null,
|
|
296
296
|
'New content coming soon, please check back later.'
|
|
@@ -302,7 +302,7 @@ var ArticleSeriesListing = function (_React$Component) {
|
|
|
302
302
|
}]);
|
|
303
303
|
|
|
304
304
|
return ArticleSeriesListing;
|
|
305
|
-
}(
|
|
305
|
+
}(React__default.Component);
|
|
306
306
|
|
|
307
307
|
var ArticleSeriesListing$1 = withRouter(ArticleSeriesListing);
|
|
308
308
|
|