@mjhls/mjh-framework 1.0.448 → 1.0.449
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 +105 -108
- 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 +148 -154
- 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 +92 -92
- 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 +122 -122
- 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
|
@@ -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
12
|
import { i as imageUrlBuilder } from './index-73819142.js';
|
|
13
|
-
import { L as LazyLoad } from './index-
|
|
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) {
|
|
@@ -51,22 +51,22 @@ var PublicationDeckStack = function PublicationDeckStack(props) {
|
|
|
51
51
|
Settings = props.Settings,
|
|
52
52
|
index = props.index;
|
|
53
53
|
|
|
54
|
-
return
|
|
54
|
+
return React__default.createElement(
|
|
55
55
|
Col,
|
|
56
56
|
{ md: 12, lg: 12, key: index },
|
|
57
|
-
|
|
57
|
+
React__default.createElement(
|
|
58
58
|
Card,
|
|
59
59
|
{ style: { boxShadow: 'none', borderBottom: '1px solid #aaa', paddingBottom: '1rem' } },
|
|
60
|
-
|
|
60
|
+
React__default.createElement(
|
|
61
61
|
'div',
|
|
62
62
|
{ style: { display: 'flex', flex: '1 0 auto' } },
|
|
63
|
-
coverImage &&
|
|
63
|
+
coverImage && React__default.createElement(
|
|
64
64
|
'a',
|
|
65
65
|
{ href: '/view/' + link },
|
|
66
|
-
|
|
66
|
+
React__default.createElement(
|
|
67
67
|
LazyLoad,
|
|
68
68
|
{ height: imageHeight },
|
|
69
|
-
|
|
69
|
+
React__default.createElement(Card.Img, {
|
|
70
70
|
variant: 'right',
|
|
71
71
|
src: renderCardImage({ coverImage: coverImage, imageHeight: imageHeight, imageWidth: imageWidth, client: client, Settings: Settings }),
|
|
72
72
|
alt: title,
|
|
@@ -74,45 +74,45 @@ var PublicationDeckStack = function PublicationDeckStack(props) {
|
|
|
74
74
|
})
|
|
75
75
|
)
|
|
76
76
|
),
|
|
77
|
-
|
|
77
|
+
React__default.createElement(
|
|
78
78
|
Card.Body,
|
|
79
79
|
{ style: { padding: '0.5rem' } },
|
|
80
|
-
section ?
|
|
80
|
+
section ? React__default.createElement(
|
|
81
81
|
Badge,
|
|
82
82
|
{ variant: 'success' },
|
|
83
83
|
section.name
|
|
84
84
|
) : '',
|
|
85
|
-
|
|
85
|
+
React__default.createElement(
|
|
86
86
|
Card.Title,
|
|
87
87
|
{ style: { color: '#121212', fontSize: '1.1rem' } },
|
|
88
|
-
|
|
88
|
+
React__default.createElement(
|
|
89
89
|
'a',
|
|
90
90
|
{ href: '/view/' + link },
|
|
91
|
-
|
|
91
|
+
React__default.createElement(
|
|
92
92
|
'span',
|
|
93
93
|
null,
|
|
94
94
|
title
|
|
95
95
|
)
|
|
96
96
|
),
|
|
97
|
-
|
|
97
|
+
React__default.createElement('br', null)
|
|
98
98
|
),
|
|
99
|
-
|
|
99
|
+
React__default.createElement(
|
|
100
100
|
'div',
|
|
101
101
|
{ style: { float: 'left' } },
|
|
102
|
-
|
|
102
|
+
React__default.createElement(
|
|
103
103
|
'p',
|
|
104
104
|
{ style: { color: '#484848', fontSize: '.9rem', fontWeight: '600' }, className: 'mb-0' },
|
|
105
105
|
moment(published).format('MMMM DD, YYYY ')
|
|
106
106
|
),
|
|
107
|
-
author.length > 0 &&
|
|
107
|
+
author.length > 0 && React__default.createElement(
|
|
108
108
|
LazyLoad,
|
|
109
109
|
{ height: 50 },
|
|
110
|
-
|
|
110
|
+
React__default.createElement(AuthorComponent, { key: index.toString(), index: index, authors: author })
|
|
111
111
|
)
|
|
112
112
|
)
|
|
113
113
|
)
|
|
114
114
|
),
|
|
115
|
-
|
|
115
|
+
React__default.createElement(
|
|
116
116
|
'p',
|
|
117
117
|
{ style: { paddingLeft: '0.5rem' } },
|
|
118
118
|
summary
|
|
@@ -132,29 +132,29 @@ var PublicationDeckBlock = function PublicationDeckBlock(props) {
|
|
|
132
132
|
Settings = props.Settings,
|
|
133
133
|
index = props.index;
|
|
134
134
|
|
|
135
|
-
return
|
|
135
|
+
return React__default.createElement(
|
|
136
136
|
Col,
|
|
137
137
|
{ md: 12, lg: 6, style: { display: 'flex', flex: '1 0 auto' }, key: index },
|
|
138
|
-
|
|
138
|
+
React__default.createElement(
|
|
139
139
|
Card,
|
|
140
140
|
null,
|
|
141
|
-
|
|
141
|
+
React__default.createElement(
|
|
142
142
|
'a',
|
|
143
143
|
{ href: '/view/' + link },
|
|
144
|
-
coverImage &&
|
|
144
|
+
coverImage && React__default.createElement(
|
|
145
145
|
LazyLoad,
|
|
146
146
|
{ height: imageHeight },
|
|
147
|
-
|
|
147
|
+
React__default.createElement(Card.Img, { variant: 'top', src: renderCardImage({ coverImage: coverImage, imageHeight: imageHeight, imageWidth: imageWidth, client: client, Settings: Settings }), alt: title })
|
|
148
148
|
),
|
|
149
|
-
|
|
149
|
+
React__default.createElement(
|
|
150
150
|
Card.Body,
|
|
151
151
|
null,
|
|
152
|
-
section && section.name ?
|
|
152
|
+
section && section.name ? React__default.createElement(
|
|
153
153
|
Badge,
|
|
154
154
|
{ variant: 'success' },
|
|
155
155
|
section && section.name
|
|
156
156
|
) : '',
|
|
157
|
-
|
|
157
|
+
React__default.createElement(
|
|
158
158
|
Card.Title,
|
|
159
159
|
null,
|
|
160
160
|
title
|
|
@@ -174,12 +174,12 @@ var IssueContentDeck = function IssueContentDeck(props) {
|
|
|
174
174
|
_props$variant = props.variant,
|
|
175
175
|
variant = _props$variant === undefined ? 'block' : _props$variant;
|
|
176
176
|
|
|
177
|
-
return
|
|
177
|
+
return React__default.createElement(
|
|
178
178
|
Row,
|
|
179
179
|
null,
|
|
180
180
|
data && data.length ? data.map(function (row, index) {
|
|
181
181
|
if (variant === 'stack') {
|
|
182
|
-
return row.url && row.url.current &&
|
|
182
|
+
return row.url && row.url.current && React__default.createElement(PublicationDeckStack, {
|
|
183
183
|
index: index,
|
|
184
184
|
title: row.title,
|
|
185
185
|
coverImage: row.thumbnail,
|
|
@@ -194,7 +194,7 @@ var IssueContentDeck = function IssueContentDeck(props) {
|
|
|
194
194
|
summary: row.summary
|
|
195
195
|
});
|
|
196
196
|
}
|
|
197
|
-
return
|
|
197
|
+
return React__default.createElement(PublicationDeckBlock, {
|
|
198
198
|
index: index,
|
|
199
199
|
title: row.title,
|
|
200
200
|
coverImage: row.thumbnail,
|
|
@@ -205,13 +205,13 @@ var IssueContentDeck = function IssueContentDeck(props) {
|
|
|
205
205
|
imageWidth: imageWidth,
|
|
206
206
|
client: client
|
|
207
207
|
});
|
|
208
|
-
}) :
|
|
208
|
+
}) : React__default.createElement(
|
|
209
209
|
'div',
|
|
210
210
|
null,
|
|
211
|
-
|
|
211
|
+
React__default.createElement(
|
|
212
212
|
'h5',
|
|
213
213
|
null,
|
|
214
|
-
|
|
214
|
+
React__default.createElement(
|
|
215
215
|
'em',
|
|
216
216
|
{ className: 'pl-3' },
|
|
217
217
|
'New content coming soon, please check back later.'
|
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
17
|
import { i as imageUrlBuilder } from './index-73819142.js';
|
|
18
|
-
import { L as LazyLoad } from './index-
|
|
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-c1b9be80.js';
|
|
18
18
|
import './debounce-8cd9e09c.js';
|
|
19
|
-
import './index.es-
|
|
19
|
+
import './index.es-29c1cef5.js';
|
|
20
20
|
import 'react-dom';
|
|
21
|
-
import './visibility-sensor-
|
|
21
|
+
import './visibility-sensor-0baa4eea.js';
|
|
22
22
|
import './index-73819142.js';
|
|
23
|
-
import './index-
|
|
24
|
-
import './main-
|
|
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';
|
|
@@ -31,10 +31,10 @@ import './promise-53143c9a.js';
|
|
|
31
31
|
import './Beam.js';
|
|
32
32
|
import './Segment.js';
|
|
33
33
|
import './AdSlot.js';
|
|
34
|
-
import './ADInfeed-
|
|
34
|
+
import './ADInfeed-24924eab.js';
|
|
35
35
|
import './lodash-17fdfebb.js';
|
|
36
|
-
import './ADlgInfeed-
|
|
37
|
-
import './AuthorComponent-
|
|
36
|
+
import './ADlgInfeed-019d6cd9.js';
|
|
37
|
+
import './AuthorComponent-158226c9.js';
|
|
38
38
|
import 'react-bootstrap';
|
|
39
39
|
import QueueDeckExpanded from './QueueDeckExpanded.js';
|
|
40
40
|
import 'react-bootstrap/Breadcrumb';
|
|
@@ -78,16 +78,16 @@ var IssueLanding = function IssueLanding(props) {
|
|
|
78
78
|
pageview = props.pageview,
|
|
79
79
|
rightItems = props.rightItems;
|
|
80
80
|
|
|
81
|
-
return
|
|
81
|
+
return React__default.createElement(
|
|
82
82
|
'div',
|
|
83
83
|
{ id: 'issueLanding' },
|
|
84
|
-
|
|
85
|
-
pubIssue.issue.displayLabel &&
|
|
84
|
+
React__default.createElement(Breadcrumbs, null),
|
|
85
|
+
pubIssue.issue.displayLabel && React__default.createElement(
|
|
86
86
|
'p',
|
|
87
87
|
{ className: 'badge badge-primary' },
|
|
88
88
|
pubIssue.issue.name
|
|
89
89
|
),
|
|
90
|
-
|
|
90
|
+
React__default.createElement(QueueDeckExpanded, {
|
|
91
91
|
client: client,
|
|
92
92
|
mapping: settings.mapping,
|
|
93
93
|
dataRecord: pubIssue.issue.articles,
|
package/dist/esm/LeftNav.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
import ListGroup from 'react-bootstrap/ListGroup';
|
|
3
3
|
|
|
4
4
|
var LeftNav = function LeftNav(props) {
|
|
@@ -30,49 +30,49 @@ var LeftNav = function LeftNav(props) {
|
|
|
30
30
|
|
|
31
31
|
var renderListGroupItem = function renderListGroupItem(subRow) {
|
|
32
32
|
if (checkUrlIsExternal(subRow.url)) {
|
|
33
|
-
return
|
|
33
|
+
return React__default.createElement(
|
|
34
34
|
'a',
|
|
35
35
|
{ target: subRow.blank ? '_blank' : '_self', href: subRow.url },
|
|
36
36
|
subRow.name
|
|
37
37
|
);
|
|
38
38
|
}
|
|
39
|
-
return
|
|
39
|
+
return React__default.createElement(
|
|
40
40
|
'a',
|
|
41
41
|
{ href: subRow.url || '#', target: subRow.blank ? '_blank' : '_self' },
|
|
42
42
|
subRow.name
|
|
43
43
|
);
|
|
44
44
|
};
|
|
45
45
|
|
|
46
|
-
return
|
|
46
|
+
return React__default.createElement(
|
|
47
47
|
'section',
|
|
48
48
|
null,
|
|
49
49
|
leftItems && leftItems.map(function (row, index) {
|
|
50
|
-
return
|
|
50
|
+
return React__default.createElement(
|
|
51
51
|
'nav',
|
|
52
52
|
{ key: index, 'aria-label': 'Secondary' },
|
|
53
|
-
|
|
53
|
+
React__default.createElement(
|
|
54
54
|
'div',
|
|
55
55
|
{ style: { display: 'flex', justifyContent: 'space-between', flexWrap: 'wrap' }, className: 'secondary-nav-title list-group-item active' },
|
|
56
|
-
|
|
56
|
+
React__default.createElement(
|
|
57
57
|
'span',
|
|
58
58
|
{ className: 'mr-1', style: { display: 'inline-block', fontWeight: 'bold', fontSize: '1rem' } },
|
|
59
59
|
row.name
|
|
60
60
|
),
|
|
61
|
-
row.url && SeeAll &&
|
|
61
|
+
row.url && SeeAll && React__default.createElement(
|
|
62
62
|
'span',
|
|
63
63
|
{ style: { marginLeft: 'auto', display: 'inline-block' } },
|
|
64
|
-
|
|
64
|
+
React__default.createElement(
|
|
65
65
|
'a',
|
|
66
66
|
{ style: { color: 'white', fontSize: '.6rem' }, href: row.url },
|
|
67
67
|
'See All >'
|
|
68
68
|
)
|
|
69
69
|
)
|
|
70
70
|
),
|
|
71
|
-
|
|
71
|
+
React__default.createElement(
|
|
72
72
|
'ul',
|
|
73
73
|
{ style: sideNavStyles },
|
|
74
74
|
row.subQuery && row.subQuery.map(function (subRow, subIndex) {
|
|
75
|
-
return
|
|
75
|
+
return React__default.createElement(
|
|
76
76
|
ListGroup.Item,
|
|
77
77
|
{ as: 'li', key: subIndex + '_2' },
|
|
78
78
|
renderListGroupItem(subRow)
|
|
@@ -84,7 +84,7 @@ var LeftNav = function LeftNav(props) {
|
|
|
84
84
|
);
|
|
85
85
|
};
|
|
86
86
|
|
|
87
|
-
var LeftNav$1 =
|
|
87
|
+
var LeftNav$1 = React__default.memo(LeftNav);
|
|
88
88
|
|
|
89
89
|
export default LeftNav$1;
|
|
90
90
|
export { LeftNav };
|