@mjhls/mjh-framework 1.0.529 → 1.0.530
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 +7 -8
- package/dist/cjs/AD300x250x600.js +7 -8
- package/dist/cjs/AD728x90.js +10 -11
- 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-393c6084.js → ADInfeed-d8e47444.js} +9 -11
- package/dist/cjs/ADSponsoredResources.js +10 -11
- package/dist/cjs/ADWebcast.js +10 -11
- package/dist/cjs/ADWelcome.js +15 -16
- package/dist/cjs/{ADlgInfeed-dd4e103e.js → ADlgInfeed-947c3a47.js} +6 -7
- package/dist/cjs/AccordionPanel.js +22 -24
- 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 +114 -117
- package/dist/cjs/Auth.js +344 -232
- package/dist/cjs/{AuthorComponent-5bb8f868.js → AuthorComponent-cb8b8128.js} +12 -13
- package/dist/cjs/{BlockContent-8b494587.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 +32 -35
- package/dist/cjs/ConferenceArticleCard.js +18 -19
- package/dist/cjs/ConferenceBanner-4a16fddc.js +23 -0
- package/dist/cjs/DeckContent.js +73 -77
- package/dist/cjs/DeckQueue.js +69 -73
- package/dist/cjs/{Dfp-a06d722a.js → Dfp-fcdeabc4.js} +20 -22
- package/dist/cjs/EventsDeck.js +89 -96
- package/dist/cjs/ExternalResources.js +42 -43
- package/dist/cjs/Feature.js +24 -26
- package/dist/cjs/{Figure-85d19c5f.js → Figure-eeac313a.js} +20 -21
- package/dist/cjs/ForbesHero.js +33 -34
- package/dist/cjs/GridContent.js +145 -149
- package/dist/cjs/GridHero.js +34 -35
- package/dist/cjs/GroupDeck.js +33 -34
- package/dist/cjs/HamMagazine.js +104 -109
- 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-1f9f7db4.js → InscreenSensor-3aec8492.js} +7 -8
- package/dist/cjs/IssueContentDeck.js +64 -69
- package/dist/cjs/IssueDeck.js +60 -65
- package/dist/cjs/IssueLanding.js +18 -19
- package/dist/cjs/LeftNav.js +20 -22
- package/dist/cjs/MasterDeck.js +52 -53
- package/dist/cjs/NavDvm.js +63 -68
- package/dist/cjs/{NavFooter-3dcd99a8.js → NavFooter-76c913e3.js} +14 -15
- package/dist/cjs/NavMagazine.js +107 -112
- package/dist/cjs/NavNative.js +66 -71
- package/dist/cjs/NavNormal.js +36 -41
- package/dist/cjs/OncliveHero.js +18 -18
- package/dist/cjs/OncliveLargeHero.js +58 -59
- package/dist/cjs/PageFilter.js +8 -9
- package/dist/cjs/PartnerDetailListing.js +130 -132
- package/dist/cjs/PdfDownload.js +8 -9
- package/dist/cjs/PopUpModal.js +13 -15
- package/dist/cjs/PublicationDeck.js +59 -64
- package/dist/cjs/PublicationLanding.js +44 -48
- package/dist/cjs/QueueDeckExpanded.js +187 -187
- package/dist/cjs/RelatedContent.js +18 -19
- package/dist/cjs/RelatedTopicsDropdown.js +19 -22
- package/dist/cjs/RolesDeck.js +27 -32
- 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 +34 -35
- package/dist/cjs/ThumbnailCard.js +17 -19
- package/dist/cjs/Ustream.js +20 -21
- package/dist/cjs/VerticalHero.js +16 -17
- package/dist/cjs/VideoSeriesFilter.js +10 -10
- package/dist/cjs/VideoSeriesListing.js +38 -39
- package/dist/cjs/View.js +160 -165
- package/dist/cjs/YahooHero.js +29 -30
- package/dist/cjs/YoutubeGroup.js +42 -43
- package/dist/cjs/{brightcove-react-player-loader.es-5c98aec7.js → brightcove-react-player-loader.es-156bd4d6.js} +8 -10
- package/dist/cjs/getQuery.js +1 -1
- package/dist/cjs/getRelatedArticle.js +6 -355
- package/dist/cjs/getSerializers.js +652 -674
- package/dist/cjs/{getTargeting-86e68d62.js → getTargeting-3d208b98.js} +2 -2
- package/dist/cjs/getTargeting.js +1 -1
- package/dist/cjs/iconBase-637d3f1e.js +3 -0
- package/dist/cjs/{index-99edf08a.js → index-3294d3bc.js} +1 -1
- package/dist/cjs/{index-b5eb3ff8.js → index-be0c82be.js} +19 -20
- package/dist/cjs/{index-8a3fb0bc.js → index-fa0fb52c.js} +10 -13
- package/dist/cjs/{index-44481153.js → index-fa3cec70.js} +14 -14
- package/dist/cjs/{index.es-f3e47207.js → index.es-9110add6.js} +12 -31
- package/dist/cjs/{index.esm-2ea63d18.js → index.esm-25423c2f.js} +6 -3
- package/dist/cjs/{index.esm-c8d2c195.js → index.esm-c0d8b44b.js} +9 -4
- package/dist/cjs/{index.esm-d7e04264.js → index.esm-fcdbd2c6.js} +15 -6
- package/dist/cjs/index.js +32 -32
- package/dist/cjs/{inherits-4a2f1cc3.js → inherits-14962339.js} +4 -4
- package/dist/cjs/{lodash-7fd85bcf.js → lodash-fc2922d0.js} +22 -71
- package/dist/cjs/{main-c50facd7.js → main-88348b15.js} +53 -89
- package/dist/cjs/{moment-ca3bd9fb.js → moment-575fe24c.js} +8 -10
- 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-8b54af99.js → visibility-sensor-0c45a583.js} +5 -7
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +5 -5
- package/dist/esm/AD300x250x600.js +5 -5
- package/dist/esm/AD728x90.js +8 -8
- 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-1dd2344b.js → ADInfeed-2eb234ae.js} +5 -5
- package/dist/esm/ADSponsoredResources.js +8 -8
- package/dist/esm/ADWebcast.js +8 -8
- package/dist/esm/ADWelcome.js +13 -13
- package/dist/esm/{ADlgInfeed-cecd5e76.js → ADlgInfeed-17c13711.js} +4 -4
- package/dist/esm/AccordionPanel.js +17 -17
- 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 +100 -100
- package/dist/esm/Auth.js +326 -210
- package/dist/esm/{AuthorComponent-f67cb027.js → AuthorComponent-158226c9.js} +10 -10
- package/dist/esm/{BlockContent-d05b5b23.js → BlockContent-e9b4ddcf.js} +4 -4
- 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 +24 -24
- package/dist/esm/ConferenceArticleCard.js +14 -14
- package/dist/esm/{ConferenceBanner-9162d0ca.js → ConferenceBanner-8792ebd2.js} +4 -4
- package/dist/esm/DeckContent.js +54 -54
- package/dist/esm/DeckQueue.js +47 -47
- package/dist/esm/{Dfp-0557840a.js → Dfp-81a052c2.js} +10 -10
- package/dist/esm/EventsDeck.js +47 -47
- package/dist/esm/ExternalResources.js +36 -36
- package/dist/esm/Feature.js +17 -17
- package/dist/esm/{Figure-0b6d360c.js → Figure-bc2b95d7.js} +17 -17
- package/dist/esm/ForbesHero.js +28 -28
- package/dist/esm/GridContent.js +107 -107
- package/dist/esm/GridHero.js +29 -29
- package/dist/esm/GroupDeck.js +30 -30
- package/dist/esm/HamMagazine.js +77 -77
- package/dist/esm/Header.js +7 -7
- package/dist/esm/Hero.js +7 -7
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalHero.js +21 -21
- package/dist/esm/{InscreenSensor-3e1fe82a.js → InscreenSensor-280b2b10.js} +5 -5
- package/dist/esm/IssueContentDeck.js +40 -40
- package/dist/esm/IssueDeck.js +34 -34
- package/dist/esm/IssueLanding.js +16 -16
- package/dist/esm/LeftNav.js +16 -16
- package/dist/esm/MasterDeck.js +46 -46
- package/dist/esm/NavDvm.js +43 -43
- package/dist/esm/{NavFooter-c29526b7.js → NavFooter-e27bd93b.js} +12 -12
- package/dist/esm/NavMagazine.js +82 -82
- package/dist/esm/NavNative.js +48 -48
- package/dist/esm/NavNormal.js +21 -21
- package/dist/esm/OncliveHero.js +15 -14
- package/dist/esm/OncliveLargeHero.js +52 -52
- package/dist/esm/PageFilter.js +6 -6
- package/dist/esm/PartnerDetailListing.js +69 -69
- package/dist/esm/PdfDownload.js +6 -6
- package/dist/esm/PopUpModal.js +8 -8
- package/dist/esm/PublicationDeck.js +35 -35
- package/dist/esm/PublicationLanding.js +25 -25
- package/dist/esm/QueueDeckExpanded.js +168 -168
- package/dist/esm/RelatedContent.js +15 -15
- package/dist/esm/RelatedTopicsDropdown.js +11 -11
- package/dist/esm/RolesDeck.js +13 -13
- 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 +36 -36
- package/dist/esm/TemplateNormal.js +28 -28
- package/dist/esm/ThumbnailCard.js +10 -10
- package/dist/esm/Ustream.js +18 -18
- package/dist/esm/VerticalHero.js +13 -13
- package/dist/esm/VideoSeriesFilter.js +7 -7
- package/dist/esm/VideoSeriesListing.js +33 -33
- package/dist/esm/View.js +130 -130
- package/dist/esm/YahooHero.js +25 -25
- package/dist/esm/YoutubeGroup.js +33 -33
- package/dist/esm/{brightcove-react-player-loader.es-4abff0b1.js → brightcove-react-player-loader.es-83f53e4e.js} +6 -7
- package/dist/esm/getQuery.js +1 -1
- package/dist/esm/getRelatedArticle.js +6 -355
- package/dist/esm/getSerializers.js +614 -631
- package/dist/esm/{index-1819118a.js → index-3f4dd6f2.js} +9 -7
- package/dist/esm/{index-c5fd0af5.js → index-5f9f807a.js} +4 -4
- package/dist/esm/{index-51a80699.js → index-73819142.js} +19 -20
- package/dist/esm/{index-fa2ffe86.js → index-ef6d5dcf.js} +1 -1
- package/dist/esm/{index.es-c6222053.js → index.es-29c1cef5.js} +10 -28
- package/dist/esm/{index.esm-d3249151.js → index.esm-9d6faf80.js} +9 -4
- package/dist/esm/{index.esm-be9486fc.js → index.esm-a7ad65ba.js} +6 -3
- package/dist/esm/{index.esm-4b1810e3.js → index.esm-b97cf389.js} +15 -6
- package/dist/esm/index.js +26 -26
- package/dist/esm/{inherits-2758cc14.js → inherits-b8e4c697.js} +1 -1
- package/dist/esm/{lodash-ec8c6b48.js → lodash-17fdfebb.js} +22 -71
- package/dist/esm/{main-b722e2e2.js → main-d7ee6151.js} +52 -87
- package/dist/esm/{moment-b6f49411.js → moment-e2f9b20c.js} +8 -10
- 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/urlFor.js +1 -1
- package/dist/esm/{visibility-sensor-082c757b.js → visibility-sensor-0baa4eea.js} +2 -2
- package/package.json +1 -1
- package/dist/cjs/ConferenceBanner-6c9e718a.js +0 -24
- package/dist/cjs/index-bd6c9f56.js +0 -211
- package/dist/esm/index-db3bb315.js +0 -207
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c as createCommonjsModule } from './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-
|
|
3
|
-
import
|
|
2
|
+
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-b8e4c697.js';
|
|
3
|
+
import React__default from 'react';
|
|
4
4
|
import { i as isObjectLike_1, _ as _baseGetTag, a as _root, e as _freeGlobal } from './isSymbol-b7b7434f.js';
|
|
5
5
|
|
|
6
6
|
/** Used as references for various `Number` constants. */
|
|
@@ -310,7 +310,7 @@ var InscreenSensor = function (_React$Component) {
|
|
|
310
310
|
}
|
|
311
311
|
};
|
|
312
312
|
|
|
313
|
-
_this.wraperRef =
|
|
313
|
+
_this.wraperRef = React__default.createRef();
|
|
314
314
|
_this.visible = false;
|
|
315
315
|
return _this;
|
|
316
316
|
}
|
|
@@ -338,7 +338,7 @@ var InscreenSensor = function (_React$Component) {
|
|
|
338
338
|
_props$id = _props.id,
|
|
339
339
|
id = _props$id === undefined ? '' : _props$id;
|
|
340
340
|
|
|
341
|
-
return
|
|
341
|
+
return React__default.createElement(
|
|
342
342
|
'div',
|
|
343
343
|
{ ref: this.wraperRef, className: className, style: style, id: id },
|
|
344
344
|
this.props.children
|
|
@@ -347,6 +347,6 @@ var InscreenSensor = function (_React$Component) {
|
|
|
347
347
|
}]);
|
|
348
348
|
|
|
349
349
|
return InscreenSensor;
|
|
350
|
-
}(
|
|
350
|
+
}(React__default.Component);
|
|
351
351
|
|
|
352
352
|
export { InscreenSensor as I, isArguments_1 as a, isBuffer_1 as b, isTypedArray_1 as c, isLength_1 as i };
|
|
@@ -2,17 +2,17 @@ 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 from 'react';
|
|
6
6
|
import 'prop-types';
|
|
7
7
|
import Row from 'react-bootstrap/Row';
|
|
8
8
|
import Col from 'react-bootstrap/Col';
|
|
9
9
|
import Card from 'react-bootstrap/Card';
|
|
10
|
-
import { m as moment } from './moment-
|
|
10
|
+
import { m as moment } from './moment-e2f9b20c.js';
|
|
11
11
|
import 'react-dom';
|
|
12
|
-
import { i as imageUrlBuilder } from './index-
|
|
13
|
-
import { L as LazyLoad } from './index-
|
|
12
|
+
import { i as imageUrlBuilder } from './index-73819142.js';
|
|
13
|
+
import { L as LazyLoad } from './index-5f9f807a.js';
|
|
14
14
|
import './slicedToArray-f1e40361.js';
|
|
15
|
-
import { A as AuthorComponent } from './AuthorComponent-
|
|
15
|
+
import { A as AuthorComponent } from './AuthorComponent-158226c9.js';
|
|
16
16
|
import Badge from 'react-bootstrap/Badge';
|
|
17
17
|
|
|
18
18
|
var urlFor = function urlFor(source, client) {
|
|
@@ -52,25 +52,25 @@ var PublicationDeckStack = function PublicationDeckStack(props) {
|
|
|
52
52
|
index = props.index,
|
|
53
53
|
source = props.source;
|
|
54
54
|
|
|
55
|
-
return
|
|
55
|
+
return React__default.createElement(
|
|
56
56
|
Col,
|
|
57
57
|
{ md: 12, lg: 12, key: index },
|
|
58
|
-
|
|
58
|
+
React__default.createElement(
|
|
59
59
|
Card,
|
|
60
60
|
{ style: { boxShadow: 'none', borderBottom: '1px solid #aaa', paddingBottom: '1rem' } },
|
|
61
|
-
|
|
61
|
+
React__default.createElement(
|
|
62
62
|
'div',
|
|
63
63
|
{ style: { display: 'flex', flex: '1 0 auto', paddingBottom: '1rem' } },
|
|
64
|
-
coverImage &&
|
|
64
|
+
coverImage && React__default.createElement(
|
|
65
65
|
'div',
|
|
66
66
|
{ style: { display: 'flex', flexDirection: 'column', justifyContent: 'center' } },
|
|
67
|
-
|
|
67
|
+
React__default.createElement(
|
|
68
68
|
'a',
|
|
69
69
|
{ href: '/view/' + link },
|
|
70
|
-
|
|
70
|
+
React__default.createElement(
|
|
71
71
|
LazyLoad,
|
|
72
72
|
{ height: imageHeight },
|
|
73
|
-
|
|
73
|
+
React__default.createElement(Card.Img, {
|
|
74
74
|
variant: 'right',
|
|
75
75
|
src: renderCardImage({ coverImage: coverImage, imageHeight: imageHeight, imageWidth: imageWidth, client: client, Settings: Settings }),
|
|
76
76
|
alt: title,
|
|
@@ -78,56 +78,56 @@ var PublicationDeckStack = function PublicationDeckStack(props) {
|
|
|
78
78
|
})
|
|
79
79
|
)
|
|
80
80
|
),
|
|
81
|
-
source &&
|
|
81
|
+
source && React__default.createElement(
|
|
82
82
|
'div',
|
|
83
83
|
{ className: 'mb-2 sanityDisplayLabel displayLabelThumb' },
|
|
84
84
|
source
|
|
85
85
|
)
|
|
86
86
|
),
|
|
87
|
-
|
|
87
|
+
React__default.createElement(
|
|
88
88
|
Card.Body,
|
|
89
89
|
{ style: { padding: '0.5rem' } },
|
|
90
|
-
section ?
|
|
90
|
+
section ? React__default.createElement(
|
|
91
91
|
Badge,
|
|
92
92
|
{ variant: 'success' },
|
|
93
93
|
section.name
|
|
94
94
|
) : '',
|
|
95
|
-
|
|
95
|
+
React__default.createElement(
|
|
96
96
|
Card.Title,
|
|
97
97
|
{ style: { color: '#121212', fontSize: '1.1rem' } },
|
|
98
|
-
|
|
98
|
+
React__default.createElement(
|
|
99
99
|
'a',
|
|
100
100
|
{ href: '/view/' + link },
|
|
101
|
-
|
|
101
|
+
React__default.createElement(
|
|
102
102
|
'span',
|
|
103
103
|
null,
|
|
104
104
|
title
|
|
105
105
|
)
|
|
106
106
|
),
|
|
107
|
-
|
|
107
|
+
React__default.createElement('br', null)
|
|
108
108
|
),
|
|
109
|
-
|
|
109
|
+
React__default.createElement(
|
|
110
110
|
'div',
|
|
111
111
|
{ style: { float: 'left' } },
|
|
112
|
-
source && !coverImage &&
|
|
112
|
+
source && !coverImage && React__default.createElement(
|
|
113
113
|
'div',
|
|
114
114
|
{ className: 'mb-2 sanityDisplayLabel' },
|
|
115
115
|
source
|
|
116
116
|
),
|
|
117
|
-
|
|
117
|
+
React__default.createElement(
|
|
118
118
|
'p',
|
|
119
119
|
{ style: { color: '#484848', fontSize: '.9rem', fontWeight: '600' }, className: 'mb-0' },
|
|
120
120
|
moment(published).format('MMMM DD, YYYY ')
|
|
121
121
|
),
|
|
122
|
-
author.length > 0 &&
|
|
122
|
+
author.length > 0 && React__default.createElement(
|
|
123
123
|
LazyLoad,
|
|
124
124
|
{ height: 50 },
|
|
125
|
-
|
|
125
|
+
React__default.createElement(AuthorComponent, { key: index.toString(), index: index, authors: author })
|
|
126
126
|
)
|
|
127
127
|
)
|
|
128
128
|
)
|
|
129
129
|
),
|
|
130
|
-
|
|
130
|
+
React__default.createElement(
|
|
131
131
|
'p',
|
|
132
132
|
{ style: { paddingLeft: '0.5rem' } },
|
|
133
133
|
summary
|
|
@@ -147,29 +147,29 @@ var PublicationDeckBlock = function PublicationDeckBlock(props) {
|
|
|
147
147
|
Settings = props.Settings,
|
|
148
148
|
index = props.index;
|
|
149
149
|
|
|
150
|
-
return
|
|
150
|
+
return React__default.createElement(
|
|
151
151
|
Col,
|
|
152
152
|
{ md: 12, lg: 6, style: { display: 'flex', flex: '1 0 auto' }, key: index },
|
|
153
|
-
|
|
153
|
+
React__default.createElement(
|
|
154
154
|
Card,
|
|
155
155
|
null,
|
|
156
|
-
|
|
156
|
+
React__default.createElement(
|
|
157
157
|
'a',
|
|
158
158
|
{ href: '/view/' + link },
|
|
159
|
-
coverImage &&
|
|
159
|
+
coverImage && React__default.createElement(
|
|
160
160
|
LazyLoad,
|
|
161
161
|
{ height: imageHeight },
|
|
162
|
-
|
|
162
|
+
React__default.createElement(Card.Img, { variant: 'top', src: renderCardImage({ coverImage: coverImage, imageHeight: imageHeight, imageWidth: imageWidth, client: client, Settings: Settings }), alt: title })
|
|
163
163
|
),
|
|
164
|
-
|
|
164
|
+
React__default.createElement(
|
|
165
165
|
Card.Body,
|
|
166
166
|
null,
|
|
167
|
-
section && section.name ?
|
|
167
|
+
section && section.name ? React__default.createElement(
|
|
168
168
|
Badge,
|
|
169
169
|
{ variant: 'success' },
|
|
170
170
|
section && section.name
|
|
171
171
|
) : '',
|
|
172
|
-
|
|
172
|
+
React__default.createElement(
|
|
173
173
|
Card.Title,
|
|
174
174
|
null,
|
|
175
175
|
title
|
|
@@ -189,12 +189,12 @@ var IssueContentDeck = function IssueContentDeck(props) {
|
|
|
189
189
|
_props$variant = props.variant,
|
|
190
190
|
variant = _props$variant === undefined ? 'block' : _props$variant;
|
|
191
191
|
|
|
192
|
-
return
|
|
192
|
+
return React__default.createElement(
|
|
193
193
|
Row,
|
|
194
194
|
null,
|
|
195
195
|
data && data.length ? data.map(function (row, index) {
|
|
196
196
|
if (variant === 'stack') {
|
|
197
|
-
return row.url && row.url.current &&
|
|
197
|
+
return row.url && row.url.current && React__default.createElement(PublicationDeckStack, {
|
|
198
198
|
index: index,
|
|
199
199
|
title: row.title,
|
|
200
200
|
coverImage: row.thumbnail,
|
|
@@ -210,7 +210,7 @@ var IssueContentDeck = function IssueContentDeck(props) {
|
|
|
210
210
|
summary: row.summary
|
|
211
211
|
});
|
|
212
212
|
}
|
|
213
|
-
return
|
|
213
|
+
return React__default.createElement(PublicationDeckBlock, {
|
|
214
214
|
index: index,
|
|
215
215
|
title: row.title,
|
|
216
216
|
coverImage: row.thumbnail,
|
|
@@ -221,20 +221,20 @@ var IssueContentDeck = function IssueContentDeck(props) {
|
|
|
221
221
|
imageWidth: imageWidth,
|
|
222
222
|
client: client
|
|
223
223
|
});
|
|
224
|
-
}) :
|
|
224
|
+
}) : React__default.createElement(
|
|
225
225
|
'div',
|
|
226
226
|
null,
|
|
227
|
-
|
|
227
|
+
React__default.createElement(
|
|
228
228
|
'h5',
|
|
229
229
|
null,
|
|
230
|
-
|
|
230
|
+
React__default.createElement(
|
|
231
231
|
'em',
|
|
232
232
|
{ className: 'pl-3' },
|
|
233
233
|
'New content coming soon, please check back later.'
|
|
234
234
|
)
|
|
235
235
|
)
|
|
236
236
|
),
|
|
237
|
-
|
|
237
|
+
React__default.createElement(
|
|
238
238
|
'style',
|
|
239
239
|
{ jsx: 'true' },
|
|
240
240
|
'\n .displayLabelThumb {\n margin: 0 auto;\n margin-top: -1.25rem;\n background-color: white;\n position: relative;\n }\n .sanityDisplayLabel {\n border: 2px solid var(--franchise-primary, #484848);\n width: fit-content;\n padding: 5px;\n color: var(--franchise-primary, #484848);\n border-radius: 2px;\n }\n '
|
package/dist/esm/IssueDeck.js
CHANGED
|
@@ -7,15 +7,15 @@ import { _ as _toConsumableArray } from './toConsumableArray-8712d678.js';
|
|
|
7
7
|
import './_object-pie-33c40e79.js';
|
|
8
8
|
import { _ as _extends } from './extends-6e00b262.js';
|
|
9
9
|
import './web.dom.iterable-46c95e52.js';
|
|
10
|
-
import
|
|
10
|
+
import React__default, { useState, useEffect, useRef } from 'react';
|
|
11
11
|
import 'prop-types';
|
|
12
12
|
import Row from 'react-bootstrap/Row';
|
|
13
13
|
import Col from 'react-bootstrap/Col';
|
|
14
14
|
import Card from 'react-bootstrap/Card';
|
|
15
|
-
import { I as InfiniteScroll } from './index.es-
|
|
15
|
+
import { I as InfiniteScroll } from './index.es-29c1cef5.js';
|
|
16
16
|
import 'react-dom';
|
|
17
|
-
import { i as imageUrlBuilder } from './index-
|
|
18
|
-
import { L as LazyLoad } from './index-
|
|
17
|
+
import { i as imageUrlBuilder } from './index-73819142.js';
|
|
18
|
+
import { L as LazyLoad } from './index-5f9f807a.js';
|
|
19
19
|
import { _ as _slicedToArray } from './slicedToArray-f1e40361.js';
|
|
20
20
|
import Button from 'react-bootstrap/Button';
|
|
21
21
|
|
|
@@ -133,71 +133,71 @@ var IssueDeck = function IssueDeck(props) {
|
|
|
133
133
|
}
|
|
134
134
|
}, [issuesData, setScrolling, count]);
|
|
135
135
|
|
|
136
|
-
return
|
|
136
|
+
return React__default.createElement(
|
|
137
137
|
InfiniteScroll,
|
|
138
138
|
{ dataLength: issuesData && issuesData.length, next: function next() {
|
|
139
139
|
return loadMore();
|
|
140
140
|
}, hasMore: scrolling, scrollThreshold: 0.9 },
|
|
141
|
-
|
|
141
|
+
React__default.createElement(
|
|
142
142
|
Row,
|
|
143
143
|
null,
|
|
144
144
|
issuesData && issuesData.length ? issuesData.map(function (row, index) {
|
|
145
|
-
return publication && row.identifier && row.identifier.current &&
|
|
145
|
+
return publication && row.identifier && row.identifier.current && React__default.createElement(
|
|
146
146
|
Col,
|
|
147
147
|
{ md: 12, lg: 12, key: index },
|
|
148
|
-
|
|
148
|
+
React__default.createElement(
|
|
149
149
|
Card,
|
|
150
150
|
{ className: 'queue-card journal-queue', style: { borderTop: '1px solid #EEE' } },
|
|
151
|
-
|
|
151
|
+
React__default.createElement(
|
|
152
152
|
Row,
|
|
153
153
|
{ style: { flexDirection: 'left' } },
|
|
154
|
-
|
|
154
|
+
React__default.createElement(
|
|
155
155
|
Col,
|
|
156
156
|
{ md: 12, lg: 4, className: 'body-image', style: { textAlign: 'center' } },
|
|
157
|
-
row.issues.length > 0 ?
|
|
157
|
+
row.issues.length > 0 ? React__default.createElement(
|
|
158
158
|
'a',
|
|
159
159
|
{ href: href + '/' + publication + '/' + row.identifier.current, style: { width: '100%' } },
|
|
160
|
-
row.thumbnail &&
|
|
160
|
+
row.thumbnail && React__default.createElement(
|
|
161
161
|
LazyLoad,
|
|
162
162
|
{ height: imageHeight },
|
|
163
|
-
|
|
163
|
+
React__default.createElement(Card.Img, { variant: 'top', src: renderCardImage(row.thumbnail), alt: row.name, style: { objectFit: 'contain' } })
|
|
164
164
|
)
|
|
165
|
-
) :
|
|
165
|
+
) : React__default.createElement(
|
|
166
166
|
'a',
|
|
167
167
|
null,
|
|
168
|
-
row.thumbnail &&
|
|
168
|
+
row.thumbnail && React__default.createElement(
|
|
169
169
|
LazyLoad,
|
|
170
170
|
{ height: imageHeight },
|
|
171
|
-
|
|
171
|
+
React__default.createElement(Card.Img, { variant: 'top', src: renderCardImage(row.thumbnail), alt: row.name, style: { objectFit: 'contain' } })
|
|
172
172
|
)
|
|
173
173
|
)
|
|
174
174
|
),
|
|
175
|
-
|
|
175
|
+
React__default.createElement(
|
|
176
176
|
Col,
|
|
177
177
|
{ md: 12, lg: 8 },
|
|
178
|
-
|
|
178
|
+
React__default.createElement(
|
|
179
179
|
Card.Body,
|
|
180
180
|
{ style: { padding: '20px' }, className: 'body-text' },
|
|
181
|
-
|
|
181
|
+
React__default.createElement(
|
|
182
182
|
Row,
|
|
183
183
|
null,
|
|
184
|
-
|
|
184
|
+
React__default.createElement(
|
|
185
185
|
Col,
|
|
186
186
|
null,
|
|
187
|
-
|
|
187
|
+
React__default.createElement(
|
|
188
188
|
Card.Title,
|
|
189
189
|
null,
|
|
190
190
|
row.name
|
|
191
191
|
)
|
|
192
192
|
)
|
|
193
193
|
),
|
|
194
|
-
|
|
194
|
+
React__default.createElement(
|
|
195
195
|
Row,
|
|
196
196
|
null,
|
|
197
|
-
|
|
197
|
+
React__default.createElement(
|
|
198
198
|
Col,
|
|
199
199
|
null,
|
|
200
|
-
|
|
200
|
+
React__default.createElement(
|
|
201
201
|
'div',
|
|
202
202
|
null,
|
|
203
203
|
'Volume: ',
|
|
@@ -205,13 +205,13 @@ var IssueDeck = function IssueDeck(props) {
|
|
|
205
205
|
)
|
|
206
206
|
)
|
|
207
207
|
),
|
|
208
|
-
|
|
208
|
+
React__default.createElement(
|
|
209
209
|
Row,
|
|
210
210
|
null,
|
|
211
|
-
|
|
211
|
+
React__default.createElement(
|
|
212
212
|
Col,
|
|
213
213
|
null,
|
|
214
|
-
|
|
214
|
+
React__default.createElement(
|
|
215
215
|
'div',
|
|
216
216
|
null,
|
|
217
217
|
'Number: ',
|
|
@@ -219,19 +219,19 @@ var IssueDeck = function IssueDeck(props) {
|
|
|
219
219
|
)
|
|
220
220
|
)
|
|
221
221
|
),
|
|
222
|
-
|
|
222
|
+
React__default.createElement(
|
|
223
223
|
Row,
|
|
224
224
|
null,
|
|
225
|
-
row.issues.length > 0 &&
|
|
225
|
+
row.issues.length > 0 && React__default.createElement(
|
|
226
226
|
'a',
|
|
227
227
|
{ style: { paddingRight: '15px', paddingLeft: '15px' }, href: href + '/' + publication + '/' + row.identifier.current },
|
|
228
|
-
|
|
228
|
+
React__default.createElement(
|
|
229
229
|
Button,
|
|
230
230
|
{ style: { marginTop: '20px', marginRight: '1rem' }, variant: 'secondary' },
|
|
231
231
|
'View Issue'
|
|
232
232
|
)
|
|
233
233
|
),
|
|
234
|
-
row.pdf && row.pdf.asset &&
|
|
234
|
+
row.pdf && row.pdf.asset && React__default.createElement(
|
|
235
235
|
'a',
|
|
236
236
|
{ href: row.pdf.asset.url, target: '_blank', className: 'btn btn-primary', style: { marginTop: '20px' } },
|
|
237
237
|
'Download Issue'
|
|
@@ -242,13 +242,13 @@ var IssueDeck = function IssueDeck(props) {
|
|
|
242
242
|
)
|
|
243
243
|
)
|
|
244
244
|
);
|
|
245
|
-
}) :
|
|
245
|
+
}) : React__default.createElement(
|
|
246
246
|
'div',
|
|
247
247
|
null,
|
|
248
|
-
|
|
248
|
+
React__default.createElement(
|
|
249
249
|
'h5',
|
|
250
250
|
null,
|
|
251
|
-
|
|
251
|
+
React__default.createElement(
|
|
252
252
|
'em',
|
|
253
253
|
{ className: 'pl-3' },
|
|
254
254
|
'New content coming soon, please check back later.'
|
package/dist/esm/IssueLanding.js
CHANGED
|
@@ -8,20 +8,20 @@ import './toConsumableArray-8712d678.js';
|
|
|
8
8
|
import './_object-pie-33c40e79.js';
|
|
9
9
|
import './extends-6e00b262.js';
|
|
10
10
|
import './web.dom.iterable-46c95e52.js';
|
|
11
|
-
import
|
|
12
|
-
import './index-
|
|
11
|
+
import React__default from 'react';
|
|
12
|
+
import './index-3f4dd6f2.js';
|
|
13
13
|
import 'prop-types';
|
|
14
14
|
import 'react-bootstrap/Card';
|
|
15
|
-
import './moment-
|
|
15
|
+
import './moment-e2f9b20c.js';
|
|
16
16
|
import 'next/router';
|
|
17
17
|
import './isSymbol-b7b7434f.js';
|
|
18
18
|
import './debounce-048d9cb6.js';
|
|
19
|
-
import './index.es-
|
|
19
|
+
import './index.es-29c1cef5.js';
|
|
20
20
|
import 'react-dom';
|
|
21
|
-
import './visibility-sensor-
|
|
22
|
-
import './index-
|
|
23
|
-
import './index-
|
|
24
|
-
import './main-
|
|
21
|
+
import './visibility-sensor-0baa4eea.js';
|
|
22
|
+
import './index-73819142.js';
|
|
23
|
+
import './index-5f9f807a.js';
|
|
24
|
+
import './main-d7ee6151.js';
|
|
25
25
|
import './entities-7cc3bf45.js';
|
|
26
26
|
import './slicedToArray-f1e40361.js';
|
|
27
27
|
import './stringify-e30bc114.js';
|
|
@@ -29,10 +29,10 @@ import './asyncToGenerator-0379e924.js';
|
|
|
29
29
|
import './_set-species-6f64f1c1.js';
|
|
30
30
|
import './beam-a25bd8fd.js';
|
|
31
31
|
import './AdSlot.js';
|
|
32
|
-
import './ADInfeed-
|
|
33
|
-
import './lodash-
|
|
34
|
-
import './ADlgInfeed-
|
|
35
|
-
import './AuthorComponent-
|
|
32
|
+
import './ADInfeed-2eb234ae.js';
|
|
33
|
+
import './lodash-17fdfebb.js';
|
|
34
|
+
import './ADlgInfeed-17c13711.js';
|
|
35
|
+
import './AuthorComponent-158226c9.js';
|
|
36
36
|
import 'react-bootstrap';
|
|
37
37
|
import QueueDeckExpanded from './QueueDeckExpanded.js';
|
|
38
38
|
import 'react-bootstrap/Breadcrumb';
|
|
@@ -90,16 +90,16 @@ var IssueLanding = function IssueLanding(props) {
|
|
|
90
90
|
_props$imageWidth = props.imageWidth,
|
|
91
91
|
imageWidth = _props$imageWidth === undefined ? 480 : _props$imageWidth;
|
|
92
92
|
|
|
93
|
-
return
|
|
93
|
+
return React__default.createElement(
|
|
94
94
|
'div',
|
|
95
95
|
{ id: 'issueLanding' },
|
|
96
|
-
|
|
97
|
-
pubIssue.issue.source &&
|
|
96
|
+
React__default.createElement(Breadcrumbs, null),
|
|
97
|
+
pubIssue.issue.source && React__default.createElement(
|
|
98
98
|
'p',
|
|
99
99
|
{ className: 'badge badge-primary' },
|
|
100
100
|
pubIssue.issue.source
|
|
101
101
|
),
|
|
102
|
-
|
|
102
|
+
React__default.createElement(QueueDeckExpanded, {
|
|
103
103
|
client: client,
|
|
104
104
|
mapping: settings.mapping,
|
|
105
105
|
dataRecord: pubIssue.issue.articles,
|
package/dist/esm/LeftNav.js
CHANGED
|
@@ -4,12 +4,12 @@ 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 './index-
|
|
7
|
+
import React__default, { useRef, useEffect } from 'react';
|
|
8
|
+
import './index-3f4dd6f2.js';
|
|
9
9
|
import 'prop-types';
|
|
10
10
|
import './isSymbol-b7b7434f.js';
|
|
11
11
|
import './debounce-048d9cb6.js';
|
|
12
|
-
import './main-
|
|
12
|
+
import './main-d7ee6151.js';
|
|
13
13
|
import './slicedToArray-f1e40361.js';
|
|
14
14
|
import './stringify-e30bc114.js';
|
|
15
15
|
import './asyncToGenerator-0379e924.js';
|
|
@@ -61,21 +61,21 @@ var LeftNav = function LeftNav(props) {
|
|
|
61
61
|
|
|
62
62
|
var renderListGroupItem = function renderListGroupItem(subRow) {
|
|
63
63
|
if (checkUrlIsExternal(subRow.url)) {
|
|
64
|
-
return
|
|
64
|
+
return React__default.createElement(
|
|
65
65
|
'a',
|
|
66
66
|
{ target: subRow.blank ? '_blank' : '_self', needSegmentSupport: subRow.needSegmentSupport ? 'true' : '', href: subRow.url },
|
|
67
67
|
subRow.name
|
|
68
68
|
);
|
|
69
69
|
}
|
|
70
70
|
|
|
71
|
-
return
|
|
71
|
+
return React__default.createElement(
|
|
72
72
|
'a',
|
|
73
73
|
{ href: subRow.url || '#', target: subRow.blank ? '_blank' : '_self', needSegmentSupport: subRow.needSegmentSupport ? 'true' : '' },
|
|
74
74
|
subRow.name
|
|
75
75
|
);
|
|
76
76
|
};
|
|
77
77
|
|
|
78
|
-
return
|
|
78
|
+
return React__default.createElement(
|
|
79
79
|
'section',
|
|
80
80
|
{ ref: leftNavRef },
|
|
81
81
|
leftItems && leftItems.map(function (row, index) {
|
|
@@ -83,27 +83,27 @@ var LeftNav = function LeftNav(props) {
|
|
|
83
83
|
// Since Webcast Ad should be between spotlight and sub navigation it should be passed as the second element of leftItems array from site level.
|
|
84
84
|
// Webcast AD should have atleast adUnit , networkID, and "_type" as "webcastAD"
|
|
85
85
|
if (row._type && row._type === 'webcastAD' && row.adUnit) {
|
|
86
|
-
return
|
|
86
|
+
return React__default.createElement(
|
|
87
87
|
'div',
|
|
88
88
|
{ key: index },
|
|
89
|
-
|
|
89
|
+
React__default.createElement(ADWebcast, { webcastAd: row })
|
|
90
90
|
);
|
|
91
91
|
} else {
|
|
92
|
-
return
|
|
92
|
+
return React__default.createElement(
|
|
93
93
|
'nav',
|
|
94
94
|
{ key: index, 'aria-label': 'Secondary' },
|
|
95
|
-
|
|
95
|
+
React__default.createElement(
|
|
96
96
|
'div',
|
|
97
97
|
{ style: { display: 'flex', justifyContent: 'space-between', flexWrap: 'wrap' }, className: 'secondary-nav-title list-group-item active' },
|
|
98
|
-
|
|
98
|
+
React__default.createElement(
|
|
99
99
|
'span',
|
|
100
100
|
{ className: 'mr-1', style: { display: 'inline-block', fontWeight: 'bold', fontSize: '1rem' } },
|
|
101
101
|
row.name
|
|
102
102
|
),
|
|
103
|
-
row.url && SeeAll &&
|
|
103
|
+
row.url && SeeAll && React__default.createElement(
|
|
104
104
|
'span',
|
|
105
105
|
{ style: { marginLeft: 'auto', display: 'inline-block' } },
|
|
106
|
-
|
|
106
|
+
React__default.createElement(
|
|
107
107
|
'a',
|
|
108
108
|
{ style: { color: 'white', fontSize: '.6rem' }, href: row.url },
|
|
109
109
|
'See All ',
|
|
@@ -111,11 +111,11 @@ var LeftNav = function LeftNav(props) {
|
|
|
111
111
|
)
|
|
112
112
|
)
|
|
113
113
|
),
|
|
114
|
-
|
|
114
|
+
React__default.createElement(
|
|
115
115
|
'ul',
|
|
116
116
|
{ style: sideNavStyles },
|
|
117
117
|
row.subQuery && row.subQuery.map(function (subRow, subIndex) {
|
|
118
|
-
return
|
|
118
|
+
return React__default.createElement(
|
|
119
119
|
ListGroup.Item,
|
|
120
120
|
{ as: 'li', key: subIndex + '_2' },
|
|
121
121
|
renderListGroupItem(subRow)
|
|
@@ -128,7 +128,7 @@ var LeftNav = function LeftNav(props) {
|
|
|
128
128
|
);
|
|
129
129
|
};
|
|
130
130
|
|
|
131
|
-
var LeftNav$1 =
|
|
131
|
+
var LeftNav$1 = React__default.memo(LeftNav);
|
|
132
132
|
|
|
133
133
|
export default LeftNav$1;
|
|
134
134
|
export { LeftNav };
|