@mjhls/mjh-framework 1.0.816 → 1.0.817-image-crop-test-v2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +170 -170
- package/dist/cjs/AD.js +1 -1
- package/dist/cjs/AD300x250.js +3 -2
- package/dist/cjs/AD300x250x600.js +3 -2
- package/dist/cjs/AD728x90.js +3 -2
- package/dist/cjs/ADFloatingFooter.js +3 -2
- package/dist/cjs/ADGutter.js +3 -2
- package/dist/cjs/ADSkyscraper.js +3 -2
- package/dist/cjs/ADSponsoredResources.js +3 -2
- package/dist/cjs/ADWebcast.js +3 -2
- package/dist/cjs/ADWelcome.js +3 -2
- package/dist/cjs/AccordionPanel.js +2 -2
- package/dist/cjs/AdSlot.js +3 -2
- package/dist/cjs/AdSlotsProvider.js +3 -2
- package/dist/cjs/AlgoliaSearch.js +14099 -17
- package/dist/cjs/ArticleCarousel.js +2 -1
- package/dist/cjs/ArticleProgramLandingPage.js +7 -5
- package/dist/cjs/ArticleSeriesLandingPage.js +5 -4
- package/dist/cjs/ArticleSeriesListing.js +6 -4
- package/dist/cjs/AuthWrapper.js +1 -1
- package/dist/cjs/CMEDeck.js +3 -2
- package/dist/cjs/Column3.js +3 -2
- package/dist/cjs/ConferenceArticleCard.js +19 -24
- package/dist/cjs/DeckContent.js +20 -25
- package/dist/cjs/DeckQueue.js +11 -17
- package/dist/cjs/{Dfp-3f0ed4c8.js → Dfp-93399f8c.js} +2 -1
- package/dist/cjs/EventsDeck.js +18 -18
- package/dist/cjs/ExternalResources.js +7 -5
- package/dist/cjs/Feature.js +6 -10
- package/dist/cjs/ForbesHero.js +11 -13
- package/dist/cjs/GridContent.js +24 -29
- package/dist/cjs/GridHero.js +13 -24
- package/dist/cjs/GroupDeck.js +4 -8
- package/dist/cjs/HamMagazine.js +15 -15
- package/dist/cjs/Hero.js +3 -14
- package/dist/cjs/HorizontalArticleListing.js +7 -5
- package/dist/cjs/HorizontalHero.js +7 -8
- package/dist/cjs/IssueContentDeck.js +10 -27
- package/dist/cjs/IssueDeck.js +10 -12
- package/dist/cjs/IssueLanding.js +38 -36
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +3 -2
- package/dist/cjs/MasterDeck.js +14 -13
- package/dist/cjs/MediaSeriesLanding.js +307 -407
- package/dist/cjs/NavMagazine.js +16 -16
- package/dist/cjs/NavNative.js +12 -12
- package/dist/cjs/NavNormal.js +2 -2
- package/dist/cjs/OncliveHero.js +6 -7
- package/dist/cjs/OncliveLargeHero.js +21 -22
- package/dist/cjs/PartnerDetailListing.js +13 -16
- package/dist/cjs/PdfDownload.js +2 -2
- package/dist/cjs/PubSection.js +6 -4
- package/dist/cjs/PublicationDeck.js +10 -12
- package/dist/cjs/PublicationLanding.js +26 -29
- package/dist/cjs/QueueDeckExpanded.js +74 -72
- package/dist/cjs/RecentNews.js +5 -8
- package/dist/cjs/RelatedContent.js +35 -38
- package/dist/cjs/RelatedTopicsDropdown.js +10 -10
- package/dist/cjs/SeriesListingDeck.js +5 -3
- package/dist/cjs/{SeriesSlider-2db54929.js → SeriesSlider-8c157166.js} +7 -12
- package/dist/cjs/SideFooter.js +2 -2
- package/dist/cjs/{SocialSearchComponent-948138c7.js → SocialSearchComponent-ecb4f972.js} +3 -3
- package/dist/cjs/TaxonomyCard.js +11 -14
- package/dist/cjs/TaxonomyDescription.js +7 -5
- package/dist/cjs/TemplateNormal.js +8 -7
- package/dist/cjs/ThumbnailCard.js +6 -10
- package/dist/cjs/Ustream.js +4 -4
- package/dist/cjs/VerticalHero.js +3 -7
- package/dist/cjs/VideoProgramLandingPage.js +7 -5
- package/dist/cjs/VideoSeriesCard.js +9 -8
- package/dist/cjs/VideoSeriesLandingPage.js +6 -4
- package/dist/cjs/VideoSeriesListing.js +6 -4
- package/dist/cjs/View.js +17 -16
- package/dist/cjs/YahooHero.js +10 -12
- package/dist/cjs/YoutubeGroup.js +9 -13
- package/dist/cjs/events-1b438fe7.js +469 -0
- package/dist/cjs/getSerializers.js +7 -5
- package/dist/cjs/{getTargeting-a100d6e5.js → getTargeting-be6168ad.js} +9 -9
- package/dist/cjs/getTargeting.js +1 -1
- package/dist/{esm/iconBase-ccc56b97.js → cjs/iconBase-68959171.js} +5 -2
- package/dist/cjs/index-8041a4eb.js +99 -0
- package/dist/cjs/{index-70971c54.js → index-8543a68a.js} +49 -93
- package/dist/cjs/{index-0e4427c8.js → index-fc2f1ca2.js} +2 -467
- package/dist/cjs/{index.esm-f27f80d9.js → index.esm-05850a2f.js} +1 -1
- package/dist/cjs/{index.esm-9225638f.js → index.esm-3b9b8952.js} +1 -1
- package/dist/cjs/{index.esm-2bb721c8.js → index.esm-8123cf40.js} +1 -1
- package/dist/cjs/{index.esm-00a6aade.js → index.esm-974f47d9.js} +1 -1
- package/dist/cjs/index.js +19 -32
- package/dist/cjs/{main-f1c77adb.js → main-025fdc78.js} +3 -3
- package/dist/cjs/urlForV2.js +35 -0
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +7 -6
- package/dist/esm/AD300x250x600.js +7 -6
- package/dist/esm/AD728x90.js +8 -7
- package/dist/esm/ADFloatingFooter.js +10 -9
- package/dist/esm/ADFooter.js +6 -6
- package/dist/esm/ADGutter.js +10 -9
- package/dist/esm/{ADInfeed-f7d00a9a.js → ADInfeed-7aaa47e1.js} +5 -5
- package/dist/esm/ADSkyscraper.js +10 -9
- package/dist/esm/ADSponsoredResources.js +10 -9
- package/dist/esm/ADWebcast.js +10 -9
- package/dist/esm/ADWelcome.js +14 -13
- package/dist/esm/{ADlgInfeed-db64f46d.js → ADlgInfeed-78f95e78.js} +4 -4
- package/dist/esm/AccordionPanel.js +18 -18
- package/dist/esm/AdSlot.js +6 -5
- package/dist/esm/AdSlotsProvider.js +5 -4
- package/dist/esm/AlgoliaSearch.js +14123 -41
- package/dist/esm/AlphabeticList.js +13 -13
- package/dist/esm/ArticleCarousel.js +7 -6
- package/dist/esm/ArticleProgramLandingPage.js +19 -17
- package/dist/esm/ArticleSeriesLandingPage.js +13 -12
- package/dist/esm/ArticleSeriesListing.js +33 -31
- package/dist/esm/Auth.js +70 -70
- package/dist/esm/AuthWrapper.js +26 -26
- package/dist/esm/{AuthorComponent-30aeba69.js → AuthorComponent-5ae7409f.js} +10 -10
- package/dist/esm/{BlockContent-c99c9a8d.js → BlockContent-52cf21c5.js} +3 -3
- package/dist/esm/Breadcrumbs.js +11 -11
- package/dist/esm/CMEDeck.js +62 -61
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +12 -12
- package/dist/esm/Column3.js +24 -23
- package/dist/esm/ConferenceArticleCard.js +32 -37
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/DeckContent.js +63 -68
- package/dist/esm/DeckQueue.js +48 -54
- package/dist/esm/{Dfp-be030f2a.js → Dfp-43f121ff.js} +11 -10
- package/dist/esm/EventsDeck.js +81 -81
- package/dist/esm/ExternalResources.js +37 -35
- package/dist/esm/Feature.js +20 -24
- package/dist/esm/ForbesHero.js +31 -33
- package/dist/esm/GridContent.js +109 -114
- package/dist/esm/GridHero.js +34 -45
- package/dist/esm/GroupDeck.js +38 -42
- package/dist/esm/HamMagazine.js +95 -95
- package/dist/esm/Header.js +8 -8
- package/dist/esm/Hero.js +8 -19
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalArticleListing.js +33 -31
- package/dist/esm/HorizontalHero.js +25 -26
- package/dist/esm/IssueContentDeck.js +48 -65
- package/dist/esm/IssueDeck.js +43 -45
- package/dist/esm/IssueLanding.js +53 -51
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +17 -16
- package/dist/esm/MasterDeck.js +48 -47
- package/dist/esm/MediaSeriesLanding.js +334 -434
- package/dist/esm/NavDvm.js +43 -43
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +99 -99
- package/dist/esm/NavNative.js +86 -86
- package/dist/esm/NavNormal.js +22 -22
- package/dist/esm/OncliveHero.js +18 -19
- package/dist/esm/OncliveLargeHero.js +58 -59
- package/dist/esm/PageFilter.js +6 -6
- package/dist/esm/PartnerDetailListing.js +68 -71
- package/dist/esm/PdfDownload.js +7 -7
- package/dist/esm/PopUpModal.js +8 -8
- package/dist/esm/PubSection.js +16 -14
- package/dist/esm/PubToc.js +5 -5
- package/dist/esm/PublicationDeck.js +43 -45
- package/dist/esm/PublicationLanding.js +75 -78
- package/dist/esm/QueueDeckExpanded.js +262 -260
- package/dist/esm/RecentNews.js +21 -24
- package/dist/esm/RelatedContent.js +46 -49
- package/dist/esm/RelatedTopicsDropdown.js +21 -21
- package/dist/esm/RolesDeck.js +13 -13
- package/dist/esm/Search.js +5 -5
- package/dist/esm/SeriesListingDeck.js +21 -19
- package/dist/esm/{SeriesSlider-c8477bf3.js → SeriesSlider-bfd7299d.js} +25 -30
- package/dist/esm/SideFooter.js +21 -21
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-db963c3e.js → SocialSearchComponent-cd38ae60.js} +22 -22
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +43 -46
- package/dist/esm/TaxonomyDescription.js +15 -13
- package/dist/esm/TemplateNormal.js +31 -30
- package/dist/esm/ThumbnailCard.js +11 -15
- package/dist/esm/Ustream.js +18 -18
- package/dist/esm/VerticalHero.js +14 -18
- package/dist/esm/VideoProgramLandingPage.js +26 -24
- package/dist/esm/VideoSeriesCard.js +19 -18
- package/dist/esm/VideoSeriesFilter.js +6 -6
- package/dist/esm/VideoSeriesLandingPage.js +14 -12
- package/dist/esm/VideoSeriesListing.js +49 -47
- package/dist/esm/View.js +178 -177
- package/dist/esm/YahooHero.js +28 -30
- package/dist/esm/YoutubeGroup.js +36 -40
- package/dist/esm/{brightcove-react-player-loader.es-57a70a56.js → brightcove-react-player-loader.es-b43c695a.js} +3 -3
- package/dist/esm/events-6c3a7a63.js +467 -0
- package/dist/esm/getSerializers.js +10 -8
- package/dist/esm/{getTargeting-05c216d6.js → getTargeting-68291ce9.js} +9 -9
- package/dist/esm/getTargeting.js +1 -1
- package/dist/{cjs/iconBase-be4097c0.js → esm/iconBase-602d52fe.js} +8 -33
- package/dist/esm/{index-5cc7b406.js → index-2446af28.js} +4 -469
- package/dist/esm/{index-755f2cc2.js → index-35bdcc81.js} +4 -4
- package/dist/esm/index-67e1773f.js +94 -0
- package/dist/esm/{index-a30e3b71.js → index-d1638f9e.js} +357 -401
- package/dist/esm/{index.es-a6137319.js → index.es-c6222053.js} +5 -5
- package/dist/esm/{index.esm-f6156a57.js → index.esm-3fdda599.js} +1 -1
- package/dist/esm/{index.esm-37268dca.js → index.esm-8016b507.js} +16 -16
- package/dist/esm/{index.esm-d4932dea.js → index.esm-a8ff922c.js} +1 -1
- package/dist/esm/{index.esm-e874e770.js → index.esm-d6f88d94.js} +1 -1
- package/dist/esm/index.js +43 -55
- package/dist/esm/{main-d4165069.js → main-b5c5aac1.js} +19 -19
- package/dist/esm/{react-social-icons-9be47857.js → react-social-icons-91f9716f.js} +5 -5
- package/dist/esm/urlForV2.js +33 -0
- package/dist/esm/{visibility-sensor-72fd8f8b.js → visibility-sensor-f40c2564.js} +2 -2
- package/package.json +110 -110
- /package/dist/cjs/{ADInfeed-7cf51090.js → ADInfeed-1ac86856.js} +0 -0
- /package/dist/cjs/{ADlgInfeed-bf24708d.js → ADlgInfeed-2ee46b09.js} +0 -0
package/dist/esm/DeckQueue.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { _ as _toConsumableArray } from './toConsumableArray-6d9a4616.js';
|
|
2
2
|
import { _ as _extends } from './extends-60e0e1c6.js';
|
|
3
3
|
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-a41fe93f.js';
|
|
4
|
-
import
|
|
5
|
-
import { l as lib_3 } from './index-
|
|
4
|
+
import React from 'react';
|
|
5
|
+
import { l as lib_3 } from './index-2446af28.js';
|
|
6
6
|
import Container from 'react-bootstrap/Container';
|
|
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 { V as VisibilitySensor } from './visibility-sensor-
|
|
10
|
+
import { V as VisibilitySensor } from './visibility-sensor-f40c2564.js';
|
|
11
11
|
import { m as moment } from './moment-bc12cb97.js';
|
|
12
12
|
import { withRouter } from 'next/router';
|
|
13
|
-
import { L as LazyLoad } from './index-
|
|
13
|
+
import { L as LazyLoad } from './index-35bdcc81.js';
|
|
14
14
|
import { g as get_1 } from './get-3c308da4.js';
|
|
15
15
|
import { d as debounce_1 } from './debounce-533d9748.js';
|
|
16
|
-
import { I as InfiniteScroll } from './index.es-
|
|
17
|
-
import
|
|
18
|
-
import { m as main_43 } from './main-
|
|
16
|
+
import { I as InfiniteScroll } from './index.es-c6222053.js';
|
|
17
|
+
import urlFor from './urlForV2.js';
|
|
18
|
+
import { m as main_43 } from './main-b5c5aac1.js';
|
|
19
19
|
import { c as clean_html_1 } from './entities-932b50cf.js';
|
|
20
20
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
21
21
|
import './es6.string.iterator-bc33758b.js';
|
|
@@ -29,11 +29,13 @@ import './typeof-a286cf0c.js';
|
|
|
29
29
|
import './web.dom.iterable-4109ff68.js';
|
|
30
30
|
import './_is-array-3e99e06e.js';
|
|
31
31
|
import './_library-528f1934.js';
|
|
32
|
+
import './events-6c3a7a63.js';
|
|
32
33
|
import 'prop-types';
|
|
33
34
|
import 'react-dom';
|
|
34
35
|
import './isSymbol-a7e9aafe.js';
|
|
35
36
|
import './eq-bdcbf886.js';
|
|
36
37
|
import './toNumber-5aeba6e7.js';
|
|
38
|
+
import './index-0dbff1d1.js';
|
|
37
39
|
|
|
38
40
|
var DeckQueue = function (_React$Component) {
|
|
39
41
|
_inherits(DeckQueue, _React$Component);
|
|
@@ -49,7 +51,7 @@ var DeckQueue = function (_React$Component) {
|
|
|
49
51
|
args[_key] = arguments[_key];
|
|
50
52
|
}
|
|
51
53
|
|
|
52
|
-
return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = DeckQueue.__proto__ || _Object$getPrototypeOf(DeckQueue)).call.apply(_ref, [this].concat(args))), _this), _this.page = _this.props.page, _this.data = _this.props.dataRecord, _this.query = _this.props.query, _this.params = _this.props.params, _this.pointer = _this.props.pointer ? _this.props.pointer : false, _this.pointerArray = _this.props.pointerArray ? _this.props.pointerArray : false, _this.defaultImage = _this.props.defaultImage ? _this.props.defaultImage : '/placeholder.jpg', _this.imageHeight = _this.props.imageHeight ? _this.props.imageHeight : 270, _this.state = {
|
|
54
|
+
return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = DeckQueue.__proto__ || _Object$getPrototypeOf(DeckQueue)).call.apply(_ref, [this].concat(args))), _this), _this.page = _this.props.page, _this.data = _this.props.dataRecord, _this.query = _this.props.query, _this.params = _this.props.params, _this.client = _this.props.client, _this.pointer = _this.props.pointer ? _this.props.pointer : false, _this.pointerArray = _this.props.pointerArray ? _this.props.pointerArray : false, _this.defaultImage = _this.props.defaultImage ? _this.props.defaultImage : '/placeholder.jpg', _this.imageHeight = _this.props.imageHeight ? _this.props.imageHeight : 270, _this.state = {
|
|
53
55
|
data: _this.data,
|
|
54
56
|
per: _this.params ? _this.params.to : 2,
|
|
55
57
|
page: _this.props.currentPage || 1,
|
|
@@ -79,7 +81,6 @@ var DeckQueue = function (_React$Component) {
|
|
|
79
81
|
data = _this$state.data,
|
|
80
82
|
query = _this$state.query,
|
|
81
83
|
page = _this$state.page;
|
|
82
|
-
var client = _this.props.client;
|
|
83
84
|
|
|
84
85
|
|
|
85
86
|
var params = _extends({}, _this.params, { from: from, to: to
|
|
@@ -108,17 +109,10 @@ var DeckQueue = function (_React$Component) {
|
|
|
108
109
|
}
|
|
109
110
|
});
|
|
110
111
|
});
|
|
111
|
-
}, _this.urlFor = function (source) {
|
|
112
|
-
var client = _this.props.client;
|
|
113
|
-
|
|
114
|
-
var builder = imageUrlBuilder(client);
|
|
115
|
-
return builder.image(source).auto('format');
|
|
116
112
|
}, _this.renderCardImage = function (row) {
|
|
117
113
|
if (row.thumbnail && row.thumbnail.asset) {
|
|
118
|
-
var url = _this.
|
|
119
|
-
|
|
120
|
-
if (_this.props.imageWidth) url = url.width(_this.props.imageWidth);
|
|
121
|
-
return url.url();
|
|
114
|
+
var url = urlFor({ client: _this.client, source: row.thumbnail, imageHeight: _this.imageHeight || null, imageWidth: _this.props.imageWidth || null, imageFit: _this.props.imageFit || null });
|
|
115
|
+
return url;
|
|
122
116
|
} else {
|
|
123
117
|
return _this.defaultImage;
|
|
124
118
|
}
|
|
@@ -185,7 +179,7 @@ var DeckQueue = function (_React$Component) {
|
|
|
185
179
|
var rightItems = _this.props.rightItems;
|
|
186
180
|
|
|
187
181
|
var i = ((index + 1) / numberOfItemsBeforeAd - 1) % rightItems.length;
|
|
188
|
-
return
|
|
182
|
+
return React.createElement(
|
|
189
183
|
'div',
|
|
190
184
|
{ style: { display: 'flex', flex: '1 0 auto' } },
|
|
191
185
|
rightItems[i].component
|
|
@@ -193,15 +187,15 @@ var DeckQueue = function (_React$Component) {
|
|
|
193
187
|
}, _this.renderManualPagination = function () {
|
|
194
188
|
var currentPage = _this.state.currentPage;
|
|
195
189
|
|
|
196
|
-
return
|
|
190
|
+
return React.createElement(
|
|
197
191
|
'div',
|
|
198
192
|
{ className: 'd-flex justify-content-between' },
|
|
199
|
-
currentPage && currentPage > 1 &&
|
|
193
|
+
currentPage && currentPage > 1 && React.createElement(
|
|
200
194
|
'a',
|
|
201
195
|
{ href: '?page=' + (currentPage - 1) },
|
|
202
196
|
'<< Previous'
|
|
203
197
|
),
|
|
204
|
-
|
|
198
|
+
React.createElement(
|
|
205
199
|
'a',
|
|
206
200
|
{ href: '?page=' + (currentPage + 1) },
|
|
207
201
|
'Next >>'
|
|
@@ -219,78 +213,78 @@ var DeckQueue = function (_React$Component) {
|
|
|
219
213
|
var lgVar = Math.floor(12 / columns);
|
|
220
214
|
var numberOfItemsBeforeAd = 6;
|
|
221
215
|
|
|
222
|
-
return
|
|
216
|
+
return React.createElement(
|
|
223
217
|
Row,
|
|
224
218
|
null,
|
|
225
219
|
this.state.data && this.state.data.map(function (row, index) {
|
|
226
220
|
var pageNumber = row.pageNumber || _this2.state.page;
|
|
227
221
|
// const thumbnailURL = get(row, 'thumbnail.asset.url', this.props.defaultImage)
|
|
228
222
|
|
|
229
|
-
return
|
|
230
|
-
|
|
223
|
+
return React.createElement(
|
|
224
|
+
React.Fragment,
|
|
231
225
|
{ key: index },
|
|
232
|
-
|
|
226
|
+
React.createElement(
|
|
233
227
|
VisibilitySensor,
|
|
234
228
|
{
|
|
235
229
|
onChange: function onChange(isVisible) {
|
|
236
230
|
isVisible && _this2.changePageNumber(pageNumber);
|
|
237
231
|
} },
|
|
238
|
-
|
|
232
|
+
React.createElement(
|
|
239
233
|
Col,
|
|
240
234
|
{ md: 12, lg: lgVar, style: { display: 'flex', flex: '1 0 auto' } },
|
|
241
|
-
|
|
235
|
+
React.createElement(
|
|
242
236
|
Card,
|
|
243
237
|
{ className: 'queue-card', style: { borderTop: '1px solid #EEE' } },
|
|
244
|
-
|
|
238
|
+
React.createElement(
|
|
245
239
|
Row,
|
|
246
240
|
{ style: { flexDirection: mode } },
|
|
247
|
-
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) &&
|
|
241
|
+
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) && React.createElement(
|
|
248
242
|
Col,
|
|
249
243
|
{ md: 12, lg: 4 },
|
|
250
|
-
|
|
244
|
+
React.createElement(
|
|
251
245
|
'a',
|
|
252
246
|
{ href: _this2.page + '/' + get_1(row, 'url.current') },
|
|
253
|
-
|
|
247
|
+
React.createElement(
|
|
254
248
|
LazyLoad,
|
|
255
249
|
{ height: _this2.props.imageHeight },
|
|
256
|
-
|
|
250
|
+
React.createElement(Card.Img, { variant: 'top', src: _this2.renderCardImage(row), alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : '' })
|
|
257
251
|
)
|
|
258
252
|
)
|
|
259
253
|
),
|
|
260
|
-
|
|
254
|
+
React.createElement(
|
|
261
255
|
Col,
|
|
262
256
|
null,
|
|
263
|
-
|
|
257
|
+
React.createElement(
|
|
264
258
|
Card.Body,
|
|
265
259
|
{ style: { padding: '20px' } },
|
|
266
|
-
row.title &&
|
|
260
|
+
row.title && React.createElement(
|
|
267
261
|
Card.Title,
|
|
268
262
|
null,
|
|
269
|
-
|
|
263
|
+
React.createElement(
|
|
270
264
|
'a',
|
|
271
265
|
{ href: _this2.page + '/' + get_1(row, 'url.current') },
|
|
272
266
|
row.title
|
|
273
267
|
)
|
|
274
268
|
),
|
|
275
|
-
_this2.props.showPublished && row.published &&
|
|
269
|
+
_this2.props.showPublished && row.published && React.createElement(
|
|
276
270
|
Card.Subtitle,
|
|
277
271
|
null,
|
|
278
272
|
moment(row.published).format('MMMM DD, YYYY')
|
|
279
273
|
),
|
|
280
|
-
_this2.props.showRecent && row.recent && row.recent.title &&
|
|
274
|
+
_this2.props.showRecent && row.recent && row.recent.title && React.createElement(
|
|
281
275
|
Card.Subtitle,
|
|
282
276
|
null,
|
|
283
277
|
'Recent : ',
|
|
284
|
-
|
|
278
|
+
React.createElement(
|
|
285
279
|
'a',
|
|
286
280
|
{ href: 'view/' + row.recent.url.current },
|
|
287
281
|
row.recent.title
|
|
288
282
|
)
|
|
289
283
|
),
|
|
290
|
-
row.summary &&
|
|
284
|
+
row.summary && React.createElement(
|
|
291
285
|
Card.Text,
|
|
292
286
|
null,
|
|
293
|
-
|
|
287
|
+
React.createElement(
|
|
294
288
|
'a',
|
|
295
289
|
{ href: _this2.page + '/' + get_1(row, 'url.current') },
|
|
296
290
|
clean_html_1(row.summary)
|
|
@@ -319,29 +313,29 @@ var DeckQueue = function (_React$Component) {
|
|
|
319
313
|
page = _props.page;
|
|
320
314
|
|
|
321
315
|
|
|
322
|
-
return
|
|
316
|
+
return React.createElement(
|
|
323
317
|
'div',
|
|
324
318
|
{ className: 'contentDeck' },
|
|
325
|
-
autoScroll ?
|
|
319
|
+
autoScroll ? React.createElement(
|
|
326
320
|
InfiniteScroll,
|
|
327
321
|
{ dataLength: this.state.data.length, next: this.loadMore, hasMore: this.state.scrolling },
|
|
328
|
-
|
|
322
|
+
React.createElement(
|
|
329
323
|
Container,
|
|
330
324
|
null,
|
|
331
325
|
this.cardLoader(page, columns, variant)
|
|
332
326
|
)
|
|
333
|
-
) :
|
|
334
|
-
|
|
327
|
+
) : React.createElement(
|
|
328
|
+
React.Fragment,
|
|
335
329
|
null,
|
|
336
|
-
|
|
330
|
+
React.createElement(
|
|
337
331
|
Container,
|
|
338
332
|
null,
|
|
339
333
|
this.cardLoader(page, columns, variant)
|
|
340
334
|
),
|
|
341
|
-
|
|
335
|
+
React.createElement(
|
|
342
336
|
'div',
|
|
343
337
|
{ style: { padding: '0px 10px' } },
|
|
344
|
-
this.state.scrolling ?
|
|
338
|
+
this.state.scrolling ? React.createElement(
|
|
345
339
|
'button',
|
|
346
340
|
{
|
|
347
341
|
style: { margin: 'auto', width: '100%' },
|
|
@@ -349,17 +343,17 @@ var DeckQueue = function (_React$Component) {
|
|
|
349
343
|
_this3.loadMore();
|
|
350
344
|
} },
|
|
351
345
|
'Load More'
|
|
352
|
-
) :
|
|
346
|
+
) : React.createElement(
|
|
353
347
|
'p',
|
|
354
348
|
{ style: { textAlign: 'center' } },
|
|
355
|
-
|
|
349
|
+
React.createElement(
|
|
356
350
|
'b',
|
|
357
351
|
null,
|
|
358
352
|
'End of data'
|
|
359
353
|
)
|
|
360
354
|
)
|
|
361
355
|
),
|
|
362
|
-
|
|
356
|
+
React.createElement(
|
|
363
357
|
'noscript',
|
|
364
358
|
null,
|
|
365
359
|
this.renderManualPagination()
|
|
@@ -370,7 +364,7 @@ var DeckQueue = function (_React$Component) {
|
|
|
370
364
|
}]);
|
|
371
365
|
|
|
372
366
|
return DeckQueue;
|
|
373
|
-
}(
|
|
367
|
+
}(React.Component);
|
|
374
368
|
|
|
375
369
|
var Queue = withRouter(DeckQueue);
|
|
376
370
|
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { _ as _slicedToArray } from './slicedToArray-be2f7a22.js';
|
|
2
|
-
import
|
|
2
|
+
import React, { useState } from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
|
-
import { b as lib_1, a as lib_2 } from './index-
|
|
5
|
-
import { V as VisibilitySensor } from './visibility-sensor-
|
|
4
|
+
import { b as lib_1, a as lib_2 } from './index-2446af28.js';
|
|
5
|
+
import { V as VisibilitySensor } from './visibility-sensor-f40c2564.js';
|
|
6
6
|
import { d as debounce_1 } from './debounce-533d9748.js';
|
|
7
7
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
8
8
|
import './web.dom.iterable-4109ff68.js';
|
|
9
9
|
import './es6.string.iterator-bc33758b.js';
|
|
10
10
|
import './_to-object-b50e61c3.js';
|
|
11
11
|
import './core.get-iterator-method-133dfacd.js';
|
|
12
|
+
import './events-6c3a7a63.js';
|
|
12
13
|
import 'react-dom';
|
|
13
14
|
import './isSymbol-a7e9aafe.js';
|
|
14
15
|
import './toNumber-5aeba6e7.js';
|
|
@@ -42,20 +43,20 @@ var AD = function AD(_ref) {
|
|
|
42
43
|
}
|
|
43
44
|
}, 500);
|
|
44
45
|
|
|
45
|
-
return
|
|
46
|
-
|
|
46
|
+
return React.createElement(
|
|
47
|
+
React.Fragment,
|
|
47
48
|
null,
|
|
48
|
-
!showPlaceholder &&
|
|
49
|
+
!showPlaceholder && React.createElement(
|
|
49
50
|
lib_1,
|
|
50
51
|
{
|
|
51
52
|
dfpNetworkId: networkID,
|
|
52
53
|
targetingArguments: targeting,
|
|
53
54
|
sizeMapping: sizeMapping,
|
|
54
55
|
lazyLoad: { fetchMarginPercent: 500, renderMarginPercent: 200, mobileScaling: 2.0 } },
|
|
55
|
-
|
|
56
|
+
React.createElement(
|
|
56
57
|
'div',
|
|
57
58
|
{ className: className },
|
|
58
|
-
|
|
59
|
+
React.createElement(lib_2, {
|
|
59
60
|
slotId: slotId,
|
|
60
61
|
sizes: sizes,
|
|
61
62
|
adUnit: adUnit,
|
|
@@ -67,7 +68,7 @@ var AD = function AD(_ref) {
|
|
|
67
68
|
})
|
|
68
69
|
)
|
|
69
70
|
),
|
|
70
|
-
adRendered && showPlaceholder &&
|
|
71
|
+
adRendered && showPlaceholder && React.createElement(
|
|
71
72
|
VisibilitySensor,
|
|
72
73
|
{
|
|
73
74
|
partialVisibility: true,
|
|
@@ -76,7 +77,7 @@ var AD = function AD(_ref) {
|
|
|
76
77
|
setShowPlaceholder(false);
|
|
77
78
|
}
|
|
78
79
|
} },
|
|
79
|
-
|
|
80
|
+
React.createElement(
|
|
80
81
|
'div',
|
|
81
82
|
{ style: { height: 'auto' } },
|
|
82
83
|
'\xA0'
|