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