@mjhls/mjh-framework 1.0.577-native-nav-v4 → 1.0.577
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 +172 -172
- package/dist/cjs/AD.js +10 -9
- package/dist/cjs/AD300x250.js +8 -7
- package/dist/cjs/AD300x250x600.js +8 -7
- package/dist/cjs/AD728x90.js +11 -10
- package/dist/cjs/ADFloatingFooter.js +15 -14
- package/dist/cjs/ADFooter.js +9 -8
- package/dist/cjs/ADGutter.js +12 -11
- package/dist/cjs/{ADInfeed-df340285.js → ADInfeed-fdbd80ea.js} +11 -9
- package/dist/cjs/ADSkyscraper.js +12 -11
- package/dist/cjs/ADSponsoredResources.js +11 -10
- package/dist/cjs/ADWebcast.js +11 -10
- package/dist/cjs/ADWelcome.js +16 -15
- package/dist/cjs/{ADlgInfeed-2110d08c.js → ADlgInfeed-ecd2642c.js} +7 -6
- package/dist/cjs/AccordionPanel.js +24 -22
- package/dist/cjs/AdSlot.js +15 -13
- package/dist/cjs/AdSlotsProvider.js +6 -5
- package/dist/cjs/AlphabeticList.js +16 -15
- package/dist/cjs/ArticleQueue.js +115 -112
- package/dist/cjs/Auth.js +227 -139
- package/dist/cjs/{AuthorComponent-cb8b8128.js → AuthorComponent-5bb8f868.js} +13 -12
- package/dist/cjs/{BlockContent-c2168db0.js → BlockContent-8b494587.js} +26 -24
- package/dist/cjs/Breadcrumbs.js +23 -21
- package/dist/cjs/CMEDeck.js +61 -61
- package/dist/cjs/Column1.js +14 -11
- package/dist/cjs/Column2.js +22 -19
- package/dist/cjs/Column3.js +35 -32
- package/dist/cjs/ConferenceArticleCard.js +34 -33
- package/dist/cjs/ConferenceBanner-6c9e718a.js +24 -0
- package/dist/cjs/DeckContent.js +85 -81
- package/dist/cjs/DeckQueue.js +73 -69
- package/dist/cjs/{Dfp-fcdeabc4.js → Dfp-a06d722a.js} +22 -20
- package/dist/cjs/EventsDeck.js +113 -106
- package/dist/cjs/ExternalResources.js +43 -42
- package/dist/cjs/Feature.js +26 -24
- package/dist/cjs/ForbesHero.js +34 -33
- package/dist/cjs/GridContent.js +148 -144
- package/dist/cjs/GridHero.js +35 -34
- package/dist/cjs/GroupDeck.js +38 -37
- package/dist/cjs/HamMagazine.js +118 -113
- package/dist/cjs/Header.js +13 -11
- package/dist/cjs/Hero.js +11 -10
- package/dist/cjs/HighlightenVideo.js +17 -16
- package/dist/cjs/HorizontalHero.js +25 -24
- package/dist/cjs/{InscreenSensor-3aec8492.js → InscreenSensor-1f9f7db4.js} +8 -7
- package/dist/cjs/IssueContentDeck.js +70 -65
- package/dist/cjs/IssueDeck.js +65 -60
- package/dist/cjs/IssueLanding.js +47 -46
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +22 -20
- package/dist/cjs/MasterDeck.js +60 -59
- package/dist/cjs/NavDvm.js +68 -63
- package/dist/cjs/{NavFooter-76c913e3.js → NavFooter-3dcd99a8.js} +15 -14
- package/dist/cjs/NavMagazine.js +122 -117
- package/dist/cjs/NavNative.js +115 -108
- package/dist/cjs/NavNormal.js +41 -36
- 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 +134 -132
- package/dist/cjs/PdfDownload.js +9 -8
- package/dist/cjs/PopUpModal.js +15 -13
- package/dist/cjs/PublicationDeck.js +63 -58
- package/dist/cjs/PublicationLanding.js +85 -81
- package/dist/cjs/QueueDeckExpanded.js +216 -216
- package/dist/cjs/RelatedContent.js +47 -46
- package/dist/cjs/RelatedTopicsDropdown.js +32 -29
- package/dist/cjs/RolesDeck.js +32 -27
- package/dist/cjs/Search.js +16 -12
- package/dist/cjs/SideFooter.js +20 -19
- package/dist/cjs/SocialIcons.js +10 -9
- package/dist/cjs/{SocialNavFooter-9a07520f.js → SocialNavFooter-d9ab4d17.js} +18 -17
- package/dist/cjs/SocialShare.js +31 -29
- package/dist/cjs/TaxonomyCard.js +59 -54
- package/dist/cjs/TemplateNormal.js +35 -34
- package/dist/cjs/ThumbnailCard.js +19 -17
- package/dist/cjs/Ustream.js +21 -20
- package/dist/cjs/VerticalHero.js +17 -16
- package/dist/cjs/VideoSeriesFilter.js +10 -10
- package/dist/cjs/VideoSeriesListing.js +39 -38
- package/dist/cjs/View.js +165 -160
- package/dist/cjs/YahooHero.js +30 -29
- package/dist/cjs/YoutubeGroup.js +47 -46
- package/dist/cjs/{brightcove-react-player-loader.es-156bd4d6.js → brightcove-react-player-loader.es-5c98aec7.js} +10 -8
- package/dist/cjs/getQuery.js +1 -1
- package/dist/cjs/getRelatedArticle.js +9 -9
- package/dist/cjs/getSerializers.js +267 -257
- package/dist/cjs/{getTargeting-b15993cb.js → getTargeting-86e68d62.js} +9 -9
- package/dist/cjs/getTargeting.js +1 -1
- package/dist/cjs/iconBase-68959171.js +0 -3
- package/dist/cjs/{index-fa3cec70.js → index-44481153.js} +14 -14
- package/dist/cjs/{index-fa0fb52c.js → index-8a3fb0bc.js} +13 -10
- package/dist/cjs/{index-3294d3bc.js → index-99edf08a.js} +1 -1
- package/dist/cjs/{index-39beccb3.js → index-b5eb3ff8.js} +18 -18
- package/dist/cjs/{index.es-9110add6.js → index.es-f3e47207.js} +31 -12
- package/dist/cjs/{index.esm-66ffa47a.js → index.esm-3b9b8952.js} +4 -9
- package/dist/cjs/{index.esm-89fabc47.js → index.esm-55da9104.js} +3 -6
- package/dist/cjs/{index.esm-fbd1f7e9.js → index.esm-99553d28.js} +6 -15
- package/dist/cjs/index.js +28 -28
- package/dist/cjs/{inherits-14962339.js → inherits-4a2f1cc3.js} +4 -4
- package/dist/cjs/{main-88348b15.js → main-c50facd7.js} +89 -53
- package/dist/cjs/{moment-575fe24c.js → moment-ca3bd9fb.js} +10 -8
- package/dist/cjs/{react-social-icons-cd0d9d3b.js → react-social-icons-07939b41.js} +13 -11
- package/dist/cjs/{typeof-1869832c.js → typeof-583cdc4b.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 +5 -5
- package/dist/esm/AD300x250x600.js +5 -5
- package/dist/esm/AD728x90.js +8 -8
- package/dist/esm/ADFloatingFooter.js +12 -12
- package/dist/esm/ADFooter.js +6 -6
- package/dist/esm/ADGutter.js +9 -9
- package/dist/esm/{ADInfeed-db7610fb.js → ADInfeed-ed104a2b.js} +5 -5
- package/dist/esm/ADSkyscraper.js +9 -9
- 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-4bb11153.js → ADlgInfeed-dfde985e.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 +98 -98
- package/dist/esm/Auth.js +207 -123
- package/dist/esm/{AuthorComponent-158226c9.js → AuthorComponent-f67cb027.js} +10 -10
- package/dist/esm/{BlockContent-c409aca5.js → BlockContent-d05b5b23.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 +29 -29
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/DeckContent.js +62 -62
- package/dist/esm/DeckQueue.js +47 -47
- package/dist/esm/{Dfp-81a052c2.js → Dfp-0557840a.js} +10 -10
- package/dist/esm/EventsDeck.js +64 -64
- package/dist/esm/ExternalResources.js +36 -36
- package/dist/esm/Feature.js +17 -17
- package/dist/esm/ForbesHero.js +28 -28
- package/dist/esm/GridContent.js +106 -106
- package/dist/esm/GridHero.js +29 -29
- package/dist/esm/GroupDeck.js +34 -34
- package/dist/esm/HamMagazine.js +86 -86
- 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-280b2b10.js → InscreenSensor-3e1fe82a.js} +5 -5
- package/dist/esm/IssueContentDeck.js +41 -41
- package/dist/esm/IssueDeck.js +34 -34
- package/dist/esm/IssueLanding.js +44 -44
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +16 -16
- package/dist/esm/MasterDeck.js +53 -53
- package/dist/esm/NavDvm.js +43 -43
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +92 -92
- package/dist/esm/NavNative.js +82 -83
- package/dist/esm/NavNormal.js +21 -21
- 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 +72 -72
- package/dist/esm/PdfDownload.js +6 -6
- package/dist/esm/PopUpModal.js +8 -8
- package/dist/esm/PublicationDeck.js +34 -34
- package/dist/esm/PublicationLanding.js +61 -61
- package/dist/esm/QueueDeckExpanded.js +197 -197
- 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/SideFooter.js +17 -17
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialNavFooter-4fb16720.js → SocialNavFooter-1a531144.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 +139 -139
- package/dist/esm/YahooHero.js +25 -25
- package/dist/esm/YoutubeGroup.js +37 -37
- package/dist/esm/{brightcove-react-player-loader.es-83f53e4e.js → brightcove-react-player-loader.es-4abff0b1.js} +7 -6
- package/dist/esm/getQuery.js +1 -1
- package/dist/esm/getRelatedArticle.js +2 -2
- package/dist/esm/getSerializers.js +219 -215
- package/dist/esm/{getTargeting-1a0bd08d.js → getTargeting-1f2c61e3.js} +9 -9
- package/dist/esm/getTargeting.js +1 -1
- package/dist/esm/{index-3f4dd6f2.js → index-1819118a.js} +7 -9
- package/dist/esm/{index-3849e3fe.js → index-51a80699.js} +18 -18
- package/dist/esm/{index-5f9f807a.js → index-c5fd0af5.js} +4 -4
- package/dist/esm/{index-ef6d5dcf.js → index-fa2ffe86.js} +1 -1
- package/dist/esm/{index.es-29c1cef5.js → index.es-c6222053.js} +28 -10
- package/dist/esm/{index.esm-4b1d94b7.js → index.esm-116f3274.js} +6 -15
- package/dist/esm/{index.esm-9a4c8813.js → index.esm-16e9450c.js} +3 -6
- package/dist/esm/{index.esm-b08f4b04.js → index.esm-d6f88d94.js} +4 -9
- package/dist/esm/index.js +24 -24
- package/dist/esm/{inherits-b8e4c697.js → inherits-2758cc14.js} +1 -1
- package/dist/esm/{main-d7ee6151.js → main-b722e2e2.js} +87 -52
- package/dist/esm/{moment-e2f9b20c.js → moment-b6f49411.js} +10 -8
- package/dist/esm/{react-social-icons-a7d5c5c7.js → react-social-icons-3822f1ce.js} +5 -5
- package/dist/esm/{typeof-5f046efd.js → typeof-7e72fee0.js} +1 -1
- package/dist/esm/urlFor.js +2 -2
- 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
|
@@ -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-2758cc14.js';
|
|
3
|
+
import React 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.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.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.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 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-b6f49411.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-51a80699.js';
|
|
13
|
+
import { L as LazyLoad } from './index-c5fd0af5.js';
|
|
14
14
|
import './slicedToArray-f1e40361.js';
|
|
15
|
-
import { A as AuthorComponent } from './AuthorComponent-
|
|
15
|
+
import { A as AuthorComponent } from './AuthorComponent-f67cb027.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.createElement(
|
|
56
56
|
Col,
|
|
57
57
|
{ md: 12, lg: 12, key: index },
|
|
58
|
-
|
|
58
|
+
React.createElement(
|
|
59
59
|
Card,
|
|
60
60
|
{ style: { boxShadow: 'none', borderBottom: '1px solid #aaa', paddingBottom: '1rem' } },
|
|
61
|
-
|
|
61
|
+
React.createElement(
|
|
62
62
|
'div',
|
|
63
63
|
{ style: { display: 'flex', flex: '1 0 auto', paddingBottom: '1rem' } },
|
|
64
|
-
coverImage &&
|
|
64
|
+
coverImage && React.createElement(
|
|
65
65
|
'div',
|
|
66
66
|
{ style: { display: 'flex', flexDirection: 'column', justifyContent: 'center' } },
|
|
67
|
-
|
|
67
|
+
React.createElement(
|
|
68
68
|
'a',
|
|
69
69
|
{ href: '/view/' + link },
|
|
70
|
-
|
|
70
|
+
React.createElement(
|
|
71
71
|
LazyLoad,
|
|
72
72
|
{ height: imageHeight },
|
|
73
|
-
|
|
73
|
+
React.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,60 +78,60 @@ var PublicationDeckStack = function PublicationDeckStack(props) {
|
|
|
78
78
|
})
|
|
79
79
|
)
|
|
80
80
|
),
|
|
81
|
-
source &&
|
|
81
|
+
source && React.createElement(
|
|
82
82
|
'div',
|
|
83
83
|
{ className: 'mb-2 sanityDisplayLabel displayLabelThumb' },
|
|
84
84
|
source
|
|
85
85
|
)
|
|
86
86
|
),
|
|
87
|
-
|
|
87
|
+
React.createElement(
|
|
88
88
|
Card.Body,
|
|
89
89
|
{ style: { padding: '0.5rem' } },
|
|
90
|
-
section ?
|
|
90
|
+
section ? React.createElement(
|
|
91
91
|
Badge,
|
|
92
92
|
{ variant: 'success' },
|
|
93
93
|
section.name
|
|
94
94
|
) : '',
|
|
95
|
-
|
|
95
|
+
React.createElement(
|
|
96
96
|
Card.Title,
|
|
97
97
|
{ style: { color: '#121212', fontSize: '1.1rem' } },
|
|
98
|
-
|
|
98
|
+
React.createElement(
|
|
99
99
|
'a',
|
|
100
100
|
{ href: '/view/' + link },
|
|
101
|
-
|
|
101
|
+
React.createElement(
|
|
102
102
|
'span',
|
|
103
103
|
null,
|
|
104
104
|
title
|
|
105
105
|
)
|
|
106
106
|
),
|
|
107
|
-
|
|
107
|
+
React.createElement('br', null)
|
|
108
108
|
),
|
|
109
|
-
|
|
109
|
+
React.createElement(
|
|
110
110
|
'div',
|
|
111
111
|
{ style: { float: 'left' } },
|
|
112
|
-
source && !coverImage &&
|
|
112
|
+
source && !coverImage && React.createElement(
|
|
113
113
|
'div',
|
|
114
114
|
{ className: 'content-category-label' },
|
|
115
|
-
|
|
115
|
+
React.createElement(
|
|
116
116
|
'div',
|
|
117
117
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
118
118
|
source
|
|
119
119
|
)
|
|
120
120
|
),
|
|
121
|
-
|
|
121
|
+
React.createElement(
|
|
122
122
|
'p',
|
|
123
123
|
{ style: { color: '#484848', fontSize: '.9rem', fontWeight: '600' }, className: 'mb-0' },
|
|
124
124
|
moment(published).format('MMMM DD, YYYY ')
|
|
125
125
|
),
|
|
126
|
-
author.length > 0 &&
|
|
126
|
+
author.length > 0 && React.createElement(
|
|
127
127
|
LazyLoad,
|
|
128
128
|
{ height: 50 },
|
|
129
|
-
|
|
129
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: author })
|
|
130
130
|
)
|
|
131
131
|
)
|
|
132
132
|
)
|
|
133
133
|
),
|
|
134
|
-
|
|
134
|
+
React.createElement(
|
|
135
135
|
'p',
|
|
136
136
|
{ style: { paddingLeft: '0.5rem' } },
|
|
137
137
|
summary
|
|
@@ -151,29 +151,29 @@ var PublicationDeckBlock = function PublicationDeckBlock(props) {
|
|
|
151
151
|
Settings = props.Settings,
|
|
152
152
|
index = props.index;
|
|
153
153
|
|
|
154
|
-
return
|
|
154
|
+
return React.createElement(
|
|
155
155
|
Col,
|
|
156
156
|
{ md: 12, lg: 6, style: { display: 'flex', flex: '1 0 auto' }, key: index },
|
|
157
|
-
|
|
157
|
+
React.createElement(
|
|
158
158
|
Card,
|
|
159
159
|
null,
|
|
160
|
-
|
|
160
|
+
React.createElement(
|
|
161
161
|
'a',
|
|
162
162
|
{ href: '/view/' + link },
|
|
163
|
-
coverImage &&
|
|
163
|
+
coverImage && React.createElement(
|
|
164
164
|
LazyLoad,
|
|
165
165
|
{ height: imageHeight },
|
|
166
|
-
|
|
166
|
+
React.createElement(Card.Img, { variant: 'top', src: renderCardImage({ coverImage: coverImage, imageHeight: imageHeight, imageWidth: imageWidth, client: client, Settings: Settings }), alt: title })
|
|
167
167
|
),
|
|
168
|
-
|
|
168
|
+
React.createElement(
|
|
169
169
|
Card.Body,
|
|
170
170
|
null,
|
|
171
|
-
section && section.name ?
|
|
171
|
+
section && section.name ? React.createElement(
|
|
172
172
|
Badge,
|
|
173
173
|
{ variant: 'success' },
|
|
174
174
|
section && section.name
|
|
175
175
|
) : '',
|
|
176
|
-
|
|
176
|
+
React.createElement(
|
|
177
177
|
Card.Title,
|
|
178
178
|
null,
|
|
179
179
|
title
|
|
@@ -193,12 +193,12 @@ var IssueContentDeck = function IssueContentDeck(props) {
|
|
|
193
193
|
_props$variant = props.variant,
|
|
194
194
|
variant = _props$variant === undefined ? 'block' : _props$variant;
|
|
195
195
|
|
|
196
|
-
return
|
|
196
|
+
return React.createElement(
|
|
197
197
|
Row,
|
|
198
198
|
null,
|
|
199
199
|
data && data.length ? data.map(function (row, index) {
|
|
200
200
|
if (variant === 'stack') {
|
|
201
|
-
return row.url && row.url.current &&
|
|
201
|
+
return row.url && row.url.current && React.createElement(PublicationDeckStack, {
|
|
202
202
|
index: index,
|
|
203
203
|
title: row.title,
|
|
204
204
|
coverImage: row.thumbnail,
|
|
@@ -214,7 +214,7 @@ var IssueContentDeck = function IssueContentDeck(props) {
|
|
|
214
214
|
summary: row.summary
|
|
215
215
|
});
|
|
216
216
|
}
|
|
217
|
-
return
|
|
217
|
+
return React.createElement(PublicationDeckBlock, {
|
|
218
218
|
index: index,
|
|
219
219
|
title: row.title,
|
|
220
220
|
coverImage: row.thumbnail,
|
|
@@ -225,20 +225,20 @@ var IssueContentDeck = function IssueContentDeck(props) {
|
|
|
225
225
|
imageWidth: imageWidth,
|
|
226
226
|
client: client
|
|
227
227
|
});
|
|
228
|
-
}) :
|
|
228
|
+
}) : React.createElement(
|
|
229
229
|
'div',
|
|
230
230
|
null,
|
|
231
|
-
|
|
231
|
+
React.createElement(
|
|
232
232
|
'h5',
|
|
233
233
|
null,
|
|
234
|
-
|
|
234
|
+
React.createElement(
|
|
235
235
|
'em',
|
|
236
236
|
{ className: 'pl-3' },
|
|
237
237
|
'New content coming soon, please check back later.'
|
|
238
238
|
)
|
|
239
239
|
)
|
|
240
240
|
),
|
|
241
|
-
|
|
241
|
+
React.createElement(
|
|
242
242
|
'style',
|
|
243
243
|
{ jsx: 'true' },
|
|
244
244
|
'\n .displayLabelThumb {\n margin: 0 auto;\n margin-top: -1.25rem;\n background-color: white;\n position: relative;\n }\n .content-category-label {\n margin: 0.5rem 0;\n display: block;\n }\n .sanityDisplayLabel {\n margin: 0.5rem 0;\n border: 1px solid black;\n width: 100%;\n display: inline;\n max-width: 240px;\n padding: 5px;\n color: #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, { 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-c6222053.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-51a80699.js';
|
|
18
|
+
import { L as LazyLoad } from './index-c5fd0af5.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.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.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.createElement(
|
|
146
146
|
Col,
|
|
147
147
|
{ md: 12, lg: 12, key: index },
|
|
148
|
-
|
|
148
|
+
React.createElement(
|
|
149
149
|
Card,
|
|
150
150
|
{ className: 'queue-card journal-queue', style: { borderTop: '1px solid #EEE' } },
|
|
151
|
-
|
|
151
|
+
React.createElement(
|
|
152
152
|
Row,
|
|
153
153
|
{ style: { flexDirection: 'left' } },
|
|
154
|
-
|
|
154
|
+
React.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.createElement(
|
|
158
158
|
'a',
|
|
159
159
|
{ href: href + '/' + publication + '/' + row.identifier.current, style: { width: '100%' } },
|
|
160
|
-
row.thumbnail &&
|
|
160
|
+
row.thumbnail && React.createElement(
|
|
161
161
|
LazyLoad,
|
|
162
162
|
{ height: imageHeight },
|
|
163
|
-
|
|
163
|
+
React.createElement(Card.Img, { variant: 'top', src: renderCardImage(row.thumbnail), alt: row.name, style: { objectFit: 'contain' } })
|
|
164
164
|
)
|
|
165
|
-
) :
|
|
165
|
+
) : React.createElement(
|
|
166
166
|
'a',
|
|
167
167
|
null,
|
|
168
|
-
row.thumbnail &&
|
|
168
|
+
row.thumbnail && React.createElement(
|
|
169
169
|
LazyLoad,
|
|
170
170
|
{ height: imageHeight },
|
|
171
|
-
|
|
171
|
+
React.createElement(Card.Img, { variant: 'top', src: renderCardImage(row.thumbnail), alt: row.name, style: { objectFit: 'contain' } })
|
|
172
172
|
)
|
|
173
173
|
)
|
|
174
174
|
),
|
|
175
|
-
|
|
175
|
+
React.createElement(
|
|
176
176
|
Col,
|
|
177
177
|
{ md: 12, lg: 8 },
|
|
178
|
-
|
|
178
|
+
React.createElement(
|
|
179
179
|
Card.Body,
|
|
180
180
|
{ style: { padding: '20px' }, className: 'body-text' },
|
|
181
|
-
|
|
181
|
+
React.createElement(
|
|
182
182
|
Row,
|
|
183
183
|
null,
|
|
184
|
-
|
|
184
|
+
React.createElement(
|
|
185
185
|
Col,
|
|
186
186
|
null,
|
|
187
|
-
|
|
187
|
+
React.createElement(
|
|
188
188
|
Card.Title,
|
|
189
189
|
null,
|
|
190
190
|
row.name
|
|
191
191
|
)
|
|
192
192
|
)
|
|
193
193
|
),
|
|
194
|
-
|
|
194
|
+
React.createElement(
|
|
195
195
|
Row,
|
|
196
196
|
null,
|
|
197
|
-
|
|
197
|
+
React.createElement(
|
|
198
198
|
Col,
|
|
199
199
|
null,
|
|
200
|
-
|
|
200
|
+
React.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.createElement(
|
|
209
209
|
Row,
|
|
210
210
|
null,
|
|
211
|
-
|
|
211
|
+
React.createElement(
|
|
212
212
|
Col,
|
|
213
213
|
null,
|
|
214
|
-
|
|
214
|
+
React.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.createElement(
|
|
223
223
|
Row,
|
|
224
224
|
null,
|
|
225
|
-
row.issues.length > 0 &&
|
|
225
|
+
row.issues.length > 0 && React.createElement(
|
|
226
226
|
'a',
|
|
227
227
|
{ style: { paddingRight: '15px', paddingLeft: '15px' }, href: href + '/' + publication + '/' + row.identifier.current },
|
|
228
|
-
|
|
228
|
+
React.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.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.createElement(
|
|
246
246
|
'div',
|
|
247
247
|
null,
|
|
248
|
-
|
|
248
|
+
React.createElement(
|
|
249
249
|
'h5',
|
|
250
250
|
null,
|
|
251
|
-
|
|
251
|
+
React.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 from 'react';
|
|
12
|
+
import './index-1819118a.js';
|
|
13
13
|
import 'prop-types';
|
|
14
14
|
import 'react-bootstrap/Card';
|
|
15
|
-
import './moment-
|
|
15
|
+
import './moment-b6f49411.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-c6222053.js';
|
|
20
20
|
import 'react-dom';
|
|
21
|
-
import './visibility-sensor-
|
|
22
|
-
import './index-
|
|
23
|
-
import './index-
|
|
24
|
-
import './main-
|
|
21
|
+
import './visibility-sensor-082c757b.js';
|
|
22
|
+
import './index-51a80699.js';
|
|
23
|
+
import './index-c5fd0af5.js';
|
|
24
|
+
import './main-b722e2e2.js';
|
|
25
25
|
import './entities-7cc3bf45.js';
|
|
26
26
|
import './slicedToArray-f1e40361.js';
|
|
27
27
|
import './stringify-e30bc114.js';
|
|
@@ -29,44 +29,44 @@ 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-
|
|
32
|
+
import './ADInfeed-ed104a2b.js';
|
|
33
33
|
import './lodash-ec8c6b48.js';
|
|
34
|
-
import './ADlgInfeed-
|
|
35
|
-
import './AuthorComponent-
|
|
34
|
+
import './ADlgInfeed-dfde985e.js';
|
|
35
|
+
import './AuthorComponent-f67cb027.js';
|
|
36
36
|
import 'react-bootstrap';
|
|
37
37
|
import QueueDeckExpanded from './QueueDeckExpanded.js';
|
|
38
38
|
import 'react-bootstrap/Breadcrumb';
|
|
39
39
|
import Breadcrumbs from './Breadcrumbs.js';
|
|
40
40
|
|
|
41
|
-
/* usage
|
|
42
|
-
import Settings, { Ads } from '../../../../settings'
|
|
43
|
-
import { IssueLanding, getQuery } from '@mjhls/mjh-framework'
|
|
44
|
-
import client from '../../../../client'
|
|
45
|
-
import moment from 'moment'
|
|
46
|
-
import Shell from '../../../../components/2.0/Shell'
|
|
47
|
-
import { pageview } from '../../../../utilities/gtag'
|
|
48
|
-
|
|
49
|
-
const Issue = (props) => {
|
|
50
|
-
const { pubIssue, cache } = props
|
|
51
|
-
const targeting = {
|
|
52
|
-
content_placement: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
|
|
53
|
-
document_url: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
|
|
54
|
-
}
|
|
55
|
-
return (
|
|
56
|
-
<Shell cache={cache} settings={Settings} targeting={targeting} ads={Ads} layout='3' title={pubIssue.issue.name}>
|
|
57
|
-
<IssueLanding pubIssue={pubIssue} client={client} settings={Settings} pageview={pageview} rightItems={Ads.getMobileAds(targeting)} />
|
|
58
|
-
</Shell>
|
|
59
|
-
)
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
Issue.getInitialProps = async (ctx) => {
|
|
63
|
-
const { query } = ctx
|
|
64
|
-
const pubIssue = await client.fetch(getQuery('issue'), { ...query, currentDate: moment().utc().format() }
|
|
65
|
-
)
|
|
66
|
-
return { pubIssue }
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
export default Issue
|
|
41
|
+
/* usage
|
|
42
|
+
import Settings, { Ads } from '../../../../settings'
|
|
43
|
+
import { IssueLanding, getQuery } from '@mjhls/mjh-framework'
|
|
44
|
+
import client from '../../../../client'
|
|
45
|
+
import moment from 'moment'
|
|
46
|
+
import Shell from '../../../../components/2.0/Shell'
|
|
47
|
+
import { pageview } from '../../../../utilities/gtag'
|
|
48
|
+
|
|
49
|
+
const Issue = (props) => {
|
|
50
|
+
const { pubIssue, cache } = props
|
|
51
|
+
const targeting = {
|
|
52
|
+
content_placement: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
|
|
53
|
+
document_url: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
|
|
54
|
+
}
|
|
55
|
+
return (
|
|
56
|
+
<Shell cache={cache} settings={Settings} targeting={targeting} ads={Ads} layout='3' title={pubIssue.issue.name}>
|
|
57
|
+
<IssueLanding pubIssue={pubIssue} client={client} settings={Settings} pageview={pageview} rightItems={Ads.getMobileAds(targeting)} />
|
|
58
|
+
</Shell>
|
|
59
|
+
)
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
Issue.getInitialProps = async (ctx) => {
|
|
63
|
+
const { query } = ctx
|
|
64
|
+
const pubIssue = await client.fetch(getQuery('issue'), { ...query, currentDate: moment().utc().format() }
|
|
65
|
+
)
|
|
66
|
+
return { pubIssue }
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export default Issue
|
|
70
70
|
*/
|
|
71
71
|
|
|
72
72
|
var IssueLanding = function IssueLanding(props) {
|
|
@@ -92,16 +92,16 @@ var IssueLanding = function IssueLanding(props) {
|
|
|
92
92
|
_props$imageWidth = props.imageWidth,
|
|
93
93
|
imageWidth = _props$imageWidth === undefined ? 480 : _props$imageWidth;
|
|
94
94
|
|
|
95
|
-
return
|
|
95
|
+
return React.createElement(
|
|
96
96
|
'div',
|
|
97
97
|
{ id: 'issueLanding' },
|
|
98
|
-
|
|
99
|
-
pubIssue.issue.source &&
|
|
98
|
+
React.createElement(Breadcrumbs, null),
|
|
99
|
+
pubIssue.issue.source && React.createElement(
|
|
100
100
|
'p',
|
|
101
101
|
{ className: 'badge badge-primary' },
|
|
102
102
|
pubIssue.issue.source
|
|
103
103
|
),
|
|
104
|
-
|
|
104
|
+
React.createElement(QueueDeckExpanded, {
|
|
105
105
|
client: client,
|
|
106
106
|
mapping: settings.mapping,
|
|
107
107
|
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;
|