@mjhls/mjh-framework 1.0.448 → 1.0.450
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/cjs/AD.js +9 -10
- package/dist/cjs/AD300x250.js +6 -7
- package/dist/cjs/AD300x250x600.js +6 -7
- package/dist/cjs/AD728x90.js +8 -9
- package/dist/cjs/ADFloatingFooter.js +11 -12
- package/dist/cjs/ADFooter.js +8 -9
- package/dist/cjs/ADGutter.js +11 -12
- package/dist/cjs/{ADInfeed-7b80e936.js → ADInfeed-5c1d1425.js} +9 -11
- package/dist/cjs/ADSponsoredResources.js +10 -11
- package/dist/cjs/ADWelcome.js +15 -16
- package/dist/cjs/{ADlgInfeed-23bfb514.js → ADlgInfeed-ce35bd57.js} +6 -7
- package/dist/cjs/AccordionPanel.js +21 -23
- package/dist/cjs/AdSlot.js +13 -15
- package/dist/cjs/AdSlotsProvider.js +5 -6
- package/dist/cjs/AlphabeticList.js +15 -16
- package/dist/cjs/ArticleQueue.js +127 -132
- package/dist/cjs/Auth.js +84 -88
- package/dist/cjs/{AuthorComponent-5bb8f868.js → AuthorComponent-cb8b8128.js} +12 -13
- package/dist/cjs/{BlockContent-80608595.js → BlockContent-77f81ffc.js} +24 -26
- package/dist/cjs/Breadcrumbs.js +21 -23
- package/dist/cjs/CMEDeck.js +61 -61
- package/dist/cjs/Column1.js +11 -14
- package/dist/cjs/Column2.js +19 -22
- package/dist/cjs/Column3.js +31 -34
- package/dist/cjs/ConferenceArticleCard.js +18 -19
- package/dist/cjs/ConferenceBanner-4a16fddc.js +23 -0
- package/dist/cjs/DeckContent.js +72 -76
- package/dist/cjs/DeckQueue.js +68 -72
- package/dist/cjs/{Dfp-19f10ad4.js → Dfp-fcdeabc4.js} +20 -22
- package/dist/cjs/EventsDeck.js +72 -79
- package/dist/cjs/Feature.js +23 -25
- package/dist/cjs/{Figure-ce37247b.js → Figure-eeac313a.js} +20 -21
- package/dist/cjs/ForbesHero.js +33 -34
- package/dist/cjs/GridContent.js +141 -145
- package/dist/cjs/GridHero.js +34 -35
- package/dist/cjs/GroupDeck.js +33 -34
- package/dist/cjs/HamMagazine.js +103 -108
- package/dist/cjs/Header.js +11 -13
- package/dist/cjs/Hero.js +10 -11
- package/dist/cjs/HighlightenVideo.js +16 -17
- package/dist/cjs/HorizontalHero.js +24 -25
- package/dist/cjs/{InscreenSensor-04a70c60.js → InscreenSensor-bcdec6b0.js} +7 -8
- package/dist/cjs/IssueContentDeck.js +59 -64
- package/dist/cjs/IssueDeck.js +59 -64
- package/dist/cjs/IssueLanding.js +16 -17
- package/dist/cjs/LeftNav.js +16 -18
- package/dist/cjs/MasterDeck.js +43 -44
- package/dist/cjs/NavDvm.js +63 -68
- package/dist/cjs/{NavFooter-3dcd99a8.js → NavFooter-76c913e3.js} +14 -15
- package/dist/cjs/NavMagazine.js +106 -111
- package/dist/cjs/NavNative.js +65 -70
- package/dist/cjs/NavNormal.js +36 -41
- package/dist/cjs/OncliveHero.js +17 -18
- package/dist/cjs/OncliveLargeHero.js +58 -59
- package/dist/cjs/PageFilter.js +8 -9
- package/dist/cjs/PdfDownload.js +8 -9
- package/dist/cjs/PopUpModal.js +13 -15
- package/dist/cjs/PublicationDeck.js +57 -62
- package/dist/cjs/PublicationLanding.js +44 -48
- package/dist/cjs/QueueDeckExpanded.js +104 -104
- package/dist/cjs/RelatedContent.js +18 -19
- package/dist/cjs/RelatedTopicsDropdown.js +19 -22
- package/dist/cjs/Search.js +12 -16
- package/dist/cjs/SideFooter.js +17 -18
- package/dist/cjs/{SocialNavFooter-d9ab4d17.js → SocialNavFooter-9a07520f.js} +17 -18
- package/dist/cjs/SocialShare.js +29 -31
- package/dist/cjs/TaxonomyCard.js +54 -59
- package/dist/cjs/TemplateNormal.js +31 -32
- package/dist/cjs/ThumbnailCard.js +17 -19
- package/dist/cjs/Ustream.js +18 -19
- package/dist/cjs/VerticalHero.js +16 -17
- package/dist/cjs/VideoSeriesFilter.js +10 -10
- package/dist/cjs/VideoSeriesListing.js +31 -32
- package/dist/cjs/View.js +170 -178
- package/dist/cjs/YahooHero.js +29 -30
- package/dist/cjs/YoutubeGroup.js +41 -42
- package/dist/cjs/{brightcove-react-player-loader.es-4ba0d3d5.js → brightcove-react-player-loader.es-156bd4d6.js} +5 -6
- package/dist/cjs/getQuery.js +2 -2
- package/dist/cjs/getSerializers.js +209 -214
- package/dist/cjs/{getTargeting-3ced038f.js → getTargeting-37612527.js} +2 -2
- package/dist/cjs/getTargeting.js +1 -1
- package/dist/cjs/iconBase-637d3f1e.js +3 -0
- package/dist/cjs/{index-8a3fb0bc.js → index-fa0fb52c.js} +10 -13
- package/dist/cjs/{index-b2448ff6.js → index-fa3cec70.js} +8 -10
- package/dist/cjs/{index.es-44c8e726.js → index.es-9110add6.js} +7 -8
- package/dist/cjs/index.js +23 -23
- package/dist/cjs/{inherits-4a2f1cc3.js → inherits-93684212.js} +1 -1
- package/dist/cjs/{main-d76cde9c.js → main-88348b15.js} +16 -17
- package/dist/cjs/{moment-66a6a284.js → moment-575fe24c.js} +1 -1
- package/dist/cjs/{react-social-icons-07939b41.js → react-social-icons-cd0d9d3b.js} +11 -13
- package/dist/cjs/{typeof-583cdc4b.js → typeof-1869832c.js} +1 -1
- package/dist/cjs/urlFor.js +2 -2
- package/dist/cjs/{visibility-sensor-a40ae0cd.js → visibility-sensor-0c45a583.js} +6 -8
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +4 -4
- package/dist/esm/AD300x250x600.js +4 -4
- package/dist/esm/AD728x90.js +6 -6
- 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-1d67a779.js → ADInfeed-24924eab.js} +5 -5
- package/dist/esm/ADSponsoredResources.js +8 -8
- package/dist/esm/ADWelcome.js +13 -13
- package/dist/esm/{ADlgInfeed-d5161b6e.js → ADlgInfeed-019d6cd9.js} +4 -4
- package/dist/esm/AccordionPanel.js +16 -16
- package/dist/esm/AdSlot.js +5 -5
- package/dist/esm/AdSlotsProvider.js +3 -3
- package/dist/esm/AlphabeticList.js +13 -13
- package/dist/esm/ArticleQueue.js +114 -116
- package/dist/esm/Auth.js +71 -71
- package/dist/esm/{AuthorComponent-f67cb027.js → AuthorComponent-158226c9.js} +10 -10
- package/dist/esm/{BlockContent-4af2feb9.js → BlockContent-e9b4ddcf.js} +3 -3
- package/dist/esm/Breadcrumbs.js +11 -11
- package/dist/esm/CMEDeck.js +58 -58
- 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 +13 -13
- package/dist/esm/{ConferenceBanner-9162d0ca.js → ConferenceBanner-8792ebd2.js} +4 -4
- package/dist/esm/DeckContent.js +52 -52
- package/dist/esm/DeckQueue.js +45 -45
- package/dist/esm/{Dfp-7addbfb1.js → Dfp-58cfc45a.js} +10 -10
- package/dist/esm/EventsDeck.js +44 -44
- package/dist/esm/Feature.js +15 -15
- package/dist/esm/{Figure-408929f3.js → Figure-bc2b95d7.js} +16 -16
- package/dist/esm/ForbesHero.js +27 -27
- package/dist/esm/GridContent.js +102 -102
- package/dist/esm/GridHero.js +28 -28
- package/dist/esm/GroupDeck.js +29 -29
- package/dist/esm/HamMagazine.js +74 -74
- package/dist/esm/Header.js +7 -7
- package/dist/esm/Hero.js +6 -6
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalHero.js +19 -19
- package/dist/esm/{InscreenSensor-b7f931bf.js → InscreenSensor-67905ed5.js} +5 -5
- package/dist/esm/IssueContentDeck.js +35 -35
- package/dist/esm/IssueDeck.js +33 -33
- package/dist/esm/IssueLanding.js +14 -14
- package/dist/esm/LeftNav.js +12 -12
- package/dist/esm/MasterDeck.js +37 -37
- package/dist/esm/NavDvm.js +43 -43
- package/dist/esm/{NavFooter-c29526b7.js → NavFooter-e27bd93b.js} +12 -12
- package/dist/esm/NavMagazine.js +79 -79
- package/dist/esm/NavNative.js +47 -47
- package/dist/esm/NavNormal.js +20 -20
- package/dist/esm/OncliveHero.js +13 -13
- package/dist/esm/OncliveLargeHero.js +51 -51
- package/dist/esm/PageFilter.js +6 -6
- package/dist/esm/PdfDownload.js +5 -5
- package/dist/esm/PopUpModal.js +8 -8
- package/dist/esm/PublicationDeck.js +33 -33
- package/dist/esm/PublicationLanding.js +25 -25
- package/dist/esm/QueueDeckExpanded.js +90 -90
- package/dist/esm/RelatedContent.js +14 -14
- package/dist/esm/RelatedTopicsDropdown.js +11 -11
- package/dist/esm/Search.js +5 -5
- package/dist/esm/SideFooter.js +15 -15
- package/dist/esm/{SocialNavFooter-1a531144.js → SocialNavFooter-4fb16720.js} +15 -15
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +35 -35
- package/dist/esm/TemplateNormal.js +25 -25
- package/dist/esm/ThumbnailCard.js +9 -9
- package/dist/esm/Ustream.js +14 -14
- package/dist/esm/VerticalHero.js +12 -12
- package/dist/esm/VideoSeriesFilter.js +7 -7
- package/dist/esm/VideoSeriesListing.js +26 -26
- package/dist/esm/View.js +144 -146
- package/dist/esm/YahooHero.js +24 -24
- package/dist/esm/YoutubeGroup.js +32 -32
- package/dist/esm/{brightcove-react-player-loader.es-e1c6b0f2.js → brightcove-react-player-loader.es-83f53e4e.js} +3 -3
- package/dist/esm/getQuery.js +2 -2
- package/dist/esm/getSerializers.js +170 -170
- package/dist/esm/{index-fb49124c.js → index-3f4dd6f2.js} +3 -3
- package/dist/esm/{index-c5fd0af5.js → index-5f9f807a.js} +4 -4
- package/dist/esm/{index.es-27d0bae9.js → index.es-29c1cef5.js} +5 -5
- package/dist/esm/index.js +18 -18
- package/dist/esm/{inherits-2758cc14.js → inherits-b8e4c697.js} +1 -1
- package/dist/esm/{main-8c8784b8.js → main-d7ee6151.js} +16 -16
- package/dist/esm/{moment-12415288.js → moment-e2f9b20c.js} +1 -1
- package/dist/esm/{react-social-icons-3822f1ce.js → react-social-icons-a7d5c5c7.js} +5 -5
- package/dist/esm/{typeof-7e72fee0.js → typeof-5f046efd.js} +1 -1
- package/dist/esm/{visibility-sensor-87d6b78c.js → visibility-sensor-0baa4eea.js} +3 -3
- package/package.json +1 -1
- package/dist/cjs/ConferenceBanner-6c9e718a.js +0 -24
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import
|
|
2
|
+
import React__default from 'react';
|
|
3
3
|
import 'prop-types';
|
|
4
4
|
import 'react-dom';
|
|
5
5
|
import { i as imageUrlBuilder } from './index-73819142.js';
|
|
6
|
-
import { L as LazyLoad } from './index-
|
|
6
|
+
import { L as LazyLoad } from './index-5f9f807a.js';
|
|
7
7
|
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
8
8
|
import Media from 'react-bootstrap/Media';
|
|
9
9
|
|
|
@@ -19,27 +19,27 @@ var ThumbnailCard = function ThumbnailCard(_ref) {
|
|
|
19
19
|
return builder.image(source).auto('format');
|
|
20
20
|
};
|
|
21
21
|
|
|
22
|
-
return
|
|
22
|
+
return React__default.createElement(
|
|
23
23
|
'div',
|
|
24
24
|
null,
|
|
25
25
|
mediaData && mediaData.map(function (item, index) {
|
|
26
|
-
return
|
|
26
|
+
return React__default.createElement(
|
|
27
27
|
Media,
|
|
28
28
|
{ className: 'mb-3 thumbnail-card' },
|
|
29
|
-
|
|
29
|
+
React__default.createElement(
|
|
30
30
|
LazyLoad,
|
|
31
31
|
{ height: size },
|
|
32
|
-
|
|
32
|
+
React__default.createElement('img', { width: size, height: size, className: 'mr-3', src: item.thumbnail ? urlFor(item.thumbnail).url() : defaultImage, alt: 'Generic placeholder' })
|
|
33
33
|
),
|
|
34
|
-
|
|
34
|
+
React__default.createElement(
|
|
35
35
|
Media.Body,
|
|
36
36
|
null,
|
|
37
|
-
|
|
37
|
+
React__default.createElement(
|
|
38
38
|
'h5',
|
|
39
39
|
null,
|
|
40
40
|
item.title
|
|
41
41
|
),
|
|
42
|
-
|
|
42
|
+
React__default.createElement(
|
|
43
43
|
'p',
|
|
44
44
|
null,
|
|
45
45
|
clean_html_1(item.summary)
|
package/dist/esm/Ustream.js
CHANGED
|
@@ -2,7 +2,7 @@ import './_commonjsHelpers-0c4b6f40.js';
|
|
|
2
2
|
import './_to-object-16fd8b46.js';
|
|
3
3
|
import './core.get-iterator-method-f5c0d66a.js';
|
|
4
4
|
import './web.dom.iterable-46c95e52.js';
|
|
5
|
-
import
|
|
5
|
+
import React__default, { useState, useRef, useEffect } from 'react';
|
|
6
6
|
import { _ as _slicedToArray } from './slicedToArray-f1e40361.js';
|
|
7
7
|
import './iconBase-6ee2f2fb.js';
|
|
8
8
|
import { d as IoIosOpen } from './index.esm-b97cf389.js';
|
|
@@ -63,31 +63,31 @@ var Ustream = function Ustream(_ref) {
|
|
|
63
63
|
} catch (err) {}
|
|
64
64
|
}, []);
|
|
65
65
|
|
|
66
|
-
return
|
|
66
|
+
return React__default.createElement(
|
|
67
67
|
'div',
|
|
68
68
|
{ id: 'ustream-container', ref: ustreamContainer, style: { width: '' + currentWidth, marginBottom: '1rem' } },
|
|
69
|
-
|
|
69
|
+
React__default.createElement(
|
|
70
70
|
'div',
|
|
71
71
|
{ style: { position: 'relative' } },
|
|
72
|
-
close ?
|
|
72
|
+
close ? React__default.createElement(
|
|
73
73
|
'div',
|
|
74
74
|
{ className: 'ustream-close' },
|
|
75
|
-
|
|
76
|
-
) :
|
|
77
|
-
|
|
75
|
+
React__default.createElement(FaRegWindowClose, { style: { color: '#fff', fontSize: '1.3rem' } })
|
|
76
|
+
) : React__default.createElement(
|
|
77
|
+
React__default.Fragment,
|
|
78
78
|
null,
|
|
79
|
-
|
|
79
|
+
React__default.createElement(
|
|
80
80
|
'div',
|
|
81
81
|
{ className: 'ustream-minimize' },
|
|
82
|
-
|
|
82
|
+
React__default.createElement(IoIosOpen, { style: right ? { color: '#fff', fontSize: '1.3rem', transform: 'rotateZ(-90deg)' } : { color: '#fff', fontSize: '1.3rem' } })
|
|
83
83
|
),
|
|
84
|
-
|
|
84
|
+
React__default.createElement(
|
|
85
85
|
'div',
|
|
86
86
|
{ className: 'ustream-close' },
|
|
87
|
-
|
|
87
|
+
React__default.createElement(FaRegWindowClose, { style: { color: '#fff', fontSize: '1rem' } })
|
|
88
88
|
)
|
|
89
89
|
),
|
|
90
|
-
|
|
90
|
+
React__default.createElement('iframe', {
|
|
91
91
|
id: 'ustream-iframe',
|
|
92
92
|
webkitallowfullscreen: 'true',
|
|
93
93
|
allowFullScreen: true,
|
|
@@ -95,7 +95,7 @@ var Ustream = function Ustream(_ref) {
|
|
|
95
95
|
style: { maxWidth: '100%', height: currentHeight, width: currentWidth }
|
|
96
96
|
})
|
|
97
97
|
),
|
|
98
|
-
|
|
98
|
+
React__default.createElement(
|
|
99
99
|
'style',
|
|
100
100
|
{ jsx: 'true' },
|
|
101
101
|
'\n #ustream-container {\n position: fixed;\n bottom: 0;\n ' + (right ? 'right: 1rem;' : 'left: 1.5rem;') + '\n z-index: 999;\n max-width: 100%;\n }\n .ustream-minimize,\n .ustream-close {\n position: absolute;\n color: white;\n right: 0.5rem;\n top: 0.25rem;\n cursor: pointer;\n font-weight: bold;\n }\n .ustream-close {\n ' + (close ? 'display: block; right: .75rem; top: .5rem; ' : 'display: none; right: .5rem; top: .75rem;') + '\n }\n @media screen and (max-width: 768px) {\n #ustream-container:not(.closed) {\n width: 231px !important;\n height: 130px !important;\n }\n #ustream-container:not(.closed) iframe {\n height: 130px !important;\n }\n }\n '
|
|
@@ -103,6 +103,6 @@ var Ustream = function Ustream(_ref) {
|
|
|
103
103
|
);
|
|
104
104
|
};
|
|
105
105
|
|
|
106
|
-
var Ustream$1 =
|
|
106
|
+
var Ustream$1 = React__default.memo(Ustream);
|
|
107
107
|
|
|
108
108
|
export default Ustream$1;
|
package/dist/esm/VerticalHero.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import
|
|
3
|
-
import './moment-
|
|
2
|
+
import React__default from 'react';
|
|
3
|
+
import './moment-e2f9b20c.js';
|
|
4
4
|
import { i as imageUrlBuilder } from './index-73819142.js';
|
|
5
5
|
|
|
6
6
|
var VerticalHero = function VerticalHero(props) {
|
|
@@ -14,16 +14,16 @@ var VerticalHero = function VerticalHero(props) {
|
|
|
14
14
|
heroTitle = _props$heroTitle === undefined ? '' : _props$heroTitle;
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
return
|
|
17
|
+
return React__default.createElement(
|
|
18
18
|
'div',
|
|
19
19
|
{ className: 'vertical-hero-container' },
|
|
20
|
-
|
|
20
|
+
React__default.createElement(
|
|
21
21
|
'div',
|
|
22
22
|
{ className: 'vertical-hero-inner' },
|
|
23
|
-
|
|
23
|
+
React__default.createElement(
|
|
24
24
|
'div',
|
|
25
25
|
{ className: 'hero-title' },
|
|
26
|
-
|
|
26
|
+
React__default.createElement(
|
|
27
27
|
'h2',
|
|
28
28
|
null,
|
|
29
29
|
heroTitle
|
|
@@ -38,19 +38,19 @@ var VerticalHero = function VerticalHero(props) {
|
|
|
38
38
|
} else if (props.thumbnail) {
|
|
39
39
|
articleThumbnail = props.thumbnail;
|
|
40
40
|
}
|
|
41
|
-
return index === 0 ?
|
|
41
|
+
return index === 0 ? React__default.createElement(
|
|
42
42
|
'a',
|
|
43
43
|
{ href: '/view/' + article.url.current, key: index, className: 'vertical-article' },
|
|
44
|
-
|
|
45
|
-
|
|
44
|
+
React__default.createElement('img', { src: articleThumbnail, alt: articleAltText }),
|
|
45
|
+
React__default.createElement(
|
|
46
46
|
'h2',
|
|
47
47
|
null,
|
|
48
48
|
article.title
|
|
49
49
|
)
|
|
50
|
-
) :
|
|
50
|
+
) : React__default.createElement(
|
|
51
51
|
'a',
|
|
52
52
|
{ href: '/view/' + article.url.current, className: 'vertical-article' },
|
|
53
|
-
|
|
53
|
+
React__default.createElement(
|
|
54
54
|
'h2',
|
|
55
55
|
null,
|
|
56
56
|
article.title
|
|
@@ -58,7 +58,7 @@ var VerticalHero = function VerticalHero(props) {
|
|
|
58
58
|
);
|
|
59
59
|
})
|
|
60
60
|
),
|
|
61
|
-
|
|
61
|
+
React__default.createElement(
|
|
62
62
|
'style',
|
|
63
63
|
{ jsx: 'true' },
|
|
64
64
|
'\n .vertical-hero-container {\n display: flex;\n flex-direction: row;\n padding: 0.25rem;\n justify-content: space-between;\n width: 100%;\n flex: 1 1 auto;\n }\n .hero-title h2 {\n font-size: 1.2rem;\n font-weight: bold;\n }\n .vertical-article {\n display: block;\n }\n .vertical-article img {\n width: 100%;\n height: auto;\n min-width: 200px;\n }\n .vertical-article h2 {\n font-size: 0.9rem;\n color: #252525;\n font-weight: bold;\n padding: 0.5rem 0.5rem 1rem;\n margin: 0.5rem;\n border-bottom: 1px solid #ccc;\n }\n '
|
|
@@ -4,8 +4,8 @@ import './core.get-iterator-method-f5c0d66a.js';
|
|
|
4
4
|
import './_library-528f1934.js';
|
|
5
5
|
import './_iter-detect-6e099a34.js';
|
|
6
6
|
import './web.dom.iterable-46c95e52.js';
|
|
7
|
-
import
|
|
8
|
-
import { m as moment } from './moment-
|
|
7
|
+
import React__default, { useState, useEffect } from 'react';
|
|
8
|
+
import { m as moment } from './moment-e2f9b20c.js';
|
|
9
9
|
import { withRouter } from 'next/router';
|
|
10
10
|
import { _ as _slicedToArray } from './slicedToArray-f1e40361.js';
|
|
11
11
|
import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-204b5a5c.js';
|
|
@@ -95,13 +95,13 @@ var VideoSeriesFilter = function VideoSeriesFilter(props) {
|
|
|
95
95
|
});
|
|
96
96
|
}
|
|
97
97
|
}, [filter]);
|
|
98
|
-
return
|
|
99
|
-
|
|
98
|
+
return React__default.createElement(
|
|
99
|
+
React__default.Fragment,
|
|
100
100
|
null,
|
|
101
|
-
|
|
101
|
+
React__default.createElement(
|
|
102
102
|
DropdownButton,
|
|
103
103
|
{ className: 'filter_dropdown', variant: 'primary', title: filter.name },
|
|
104
|
-
|
|
104
|
+
React__default.createElement(
|
|
105
105
|
Dropdown.Item,
|
|
106
106
|
{ key: 'all', onClick: function onClick() {
|
|
107
107
|
return setFilter({ name: 'All Topics', id: '' });
|
|
@@ -110,7 +110,7 @@ var VideoSeriesFilter = function VideoSeriesFilter(props) {
|
|
|
110
110
|
),
|
|
111
111
|
filterData && filterData.map(function (filterItem) {
|
|
112
112
|
if (filterItem.identifier !== exclude) {
|
|
113
|
-
return
|
|
113
|
+
return React__default.createElement(
|
|
114
114
|
Dropdown.Item,
|
|
115
115
|
{ key: filterItem._id, onClick: function onClick() {
|
|
116
116
|
return setFilter({ name: filterItem.name, id: filterItem._id });
|
|
@@ -5,23 +5,23 @@ import './_library-528f1934.js';
|
|
|
5
5
|
import './_object-pie-33c40e79.js';
|
|
6
6
|
import { _ as _extends } from './extends-6e00b262.js';
|
|
7
7
|
import './_object-sap-56bb8073.js';
|
|
8
|
-
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-
|
|
8
|
+
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-b8e4c697.js';
|
|
9
9
|
import './web.dom.iterable-46c95e52.js';
|
|
10
|
-
import './typeof-
|
|
10
|
+
import './typeof-5f046efd.js';
|
|
11
11
|
import './_is-array-dd5523d6.js';
|
|
12
|
-
import
|
|
13
|
-
import { l as lib_3 } from './index-
|
|
12
|
+
import React__default from 'react';
|
|
13
|
+
import { l as lib_3 } from './index-3f4dd6f2.js';
|
|
14
14
|
import 'prop-types';
|
|
15
15
|
import Container from 'react-bootstrap/Container';
|
|
16
|
-
import './moment-
|
|
16
|
+
import './moment-e2f9b20c.js';
|
|
17
17
|
import { withRouter } from 'next/router';
|
|
18
18
|
import './isSymbol-c1b9be80.js';
|
|
19
19
|
import { d as debounce_1 } from './debounce-8cd9e09c.js';
|
|
20
|
-
import { I as InfiniteScroll } from './index.es-
|
|
20
|
+
import { I as InfiniteScroll } from './index.es-29c1cef5.js';
|
|
21
21
|
import 'react-dom';
|
|
22
|
-
import { V as VisibilitySensor } from './visibility-sensor-
|
|
22
|
+
import { V as VisibilitySensor } from './visibility-sensor-0baa4eea.js';
|
|
23
23
|
import './index-73819142.js';
|
|
24
|
-
import './index-
|
|
24
|
+
import './index-5f9f807a.js';
|
|
25
25
|
import './slicedToArray-f1e40361.js';
|
|
26
26
|
import './smoothscroll-4b699764.js';
|
|
27
27
|
import YoutubeGroup from './YoutubeGroup.js';
|
|
@@ -166,15 +166,15 @@ var VideoSeriesListing = function (_React$Component) {
|
|
|
166
166
|
}, _this.renderManualPagination = function () {
|
|
167
167
|
var currentPage = _this.state.currentPage;
|
|
168
168
|
|
|
169
|
-
return
|
|
169
|
+
return React__default.createElement(
|
|
170
170
|
'div',
|
|
171
171
|
{ className: 'd-flex justify-content-between' },
|
|
172
|
-
currentPage && currentPage > 1 &&
|
|
172
|
+
currentPage && currentPage > 1 && React__default.createElement(
|
|
173
173
|
'a',
|
|
174
174
|
{ href: '?page=' + (currentPage - 1) },
|
|
175
175
|
'<< Previous'
|
|
176
176
|
),
|
|
177
|
-
|
|
177
|
+
React__default.createElement(
|
|
178
178
|
'a',
|
|
179
179
|
{ href: '?page=' + (currentPage + 1) },
|
|
180
180
|
'Next >>'
|
|
@@ -183,7 +183,7 @@ var VideoSeriesListing = function (_React$Component) {
|
|
|
183
183
|
}, _this.renderSeries = function (seriesData) {
|
|
184
184
|
var itemCounter = 0;
|
|
185
185
|
|
|
186
|
-
return
|
|
186
|
+
return React__default.createElement(
|
|
187
187
|
'div',
|
|
188
188
|
null,
|
|
189
189
|
seriesData && seriesData.map(function (docSeries, index) {
|
|
@@ -193,24 +193,24 @@ var VideoSeriesListing = function (_React$Component) {
|
|
|
193
193
|
});
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
-
return
|
|
196
|
+
return React__default.createElement(
|
|
197
197
|
'div',
|
|
198
198
|
{ key: index, counter: itemCounter++ },
|
|
199
|
-
|
|
199
|
+
React__default.createElement(
|
|
200
200
|
'h4',
|
|
201
201
|
{ className: 'video-title-banner', style: { fontWeight: 'bold', color: 'var(--primary)', padding: '.25rem 0', borderBottom: '2px solid var(--gold)' } },
|
|
202
|
-
|
|
202
|
+
React__default.createElement(
|
|
203
203
|
'a',
|
|
204
204
|
{ href: '/' + _this.props.page + '/' + docSeries.url.current },
|
|
205
205
|
docSeries.title,
|
|
206
|
-
|
|
206
|
+
React__default.createElement(
|
|
207
207
|
'span',
|
|
208
208
|
{ style: { fontSize: '.9rem', color: 'grey', marginLeft: '1rem', transform: 'translateY(-2px)' } },
|
|
209
|
-
|
|
209
|
+
React__default.createElement(IoIosArrowForward, null)
|
|
210
210
|
)
|
|
211
211
|
)
|
|
212
212
|
),
|
|
213
|
-
docSeries.body.length > 0 && docSeries.body[0].videos ?
|
|
213
|
+
docSeries.body.length > 0 && docSeries.body[0].videos ? React__default.createElement(YoutubeGroup, _extends({ key: index, dataset: docSeries.body[0].videos }, _this.props)) : React__default.createElement(
|
|
214
214
|
'p',
|
|
215
215
|
null,
|
|
216
216
|
'No Video Found.'
|
|
@@ -226,27 +226,27 @@ var VideoSeriesListing = function (_React$Component) {
|
|
|
226
226
|
value: function render() {
|
|
227
227
|
var _this2 = this;
|
|
228
228
|
|
|
229
|
-
return
|
|
229
|
+
return React__default.createElement(
|
|
230
230
|
InfiniteScroll,
|
|
231
231
|
{ dataLength: this.state.data.length, next: this.loadMore, hasMore: this.state.scrolling, scrollThreshold: 0.8 },
|
|
232
|
-
|
|
232
|
+
React__default.createElement(
|
|
233
233
|
Container,
|
|
234
234
|
null,
|
|
235
235
|
this.state.data && this.state.data.map(function (series, index) {
|
|
236
236
|
var page = series && series.length > 0 && series[0].pageNumber !== 1 ? series[0].pageNumber : 1;
|
|
237
237
|
|
|
238
|
-
return
|
|
239
|
-
|
|
238
|
+
return React__default.createElement(
|
|
239
|
+
React__default.Fragment,
|
|
240
240
|
{ key: index },
|
|
241
|
-
|
|
241
|
+
React__default.createElement(
|
|
242
242
|
VisibilitySensor,
|
|
243
243
|
{
|
|
244
244
|
onChange: function onChange(isVisible) {
|
|
245
245
|
isVisible && _this2.changePageNumber(page);
|
|
246
246
|
} },
|
|
247
|
-
|
|
247
|
+
React__default.createElement('div', { className: 'visibility-sensor', style: { minHeight: '.25rem' } })
|
|
248
248
|
),
|
|
249
|
-
|
|
249
|
+
React__default.createElement(
|
|
250
250
|
'div',
|
|
251
251
|
null,
|
|
252
252
|
_this2.renderSeries(series)
|
|
@@ -259,7 +259,7 @@ var VideoSeriesListing = function (_React$Component) {
|
|
|
259
259
|
}]);
|
|
260
260
|
|
|
261
261
|
return VideoSeriesListing;
|
|
262
|
-
}(
|
|
262
|
+
}(React__default.Component);
|
|
263
263
|
|
|
264
264
|
var VideoSeriesListing$1 = withRouter(VideoSeriesListing);
|
|
265
265
|
|