@mjhls/mjh-framework 1.0.656 → 1.0.658-masterdeck-loadmore
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 +1 -1
- package/dist/cjs/AD300x250.js +3 -3
- package/dist/cjs/AD300x250x600.js +3 -3
- package/dist/cjs/AD728x90.js +4 -4
- package/dist/cjs/ADFloatingFooter.js +2 -2
- package/dist/cjs/ADGutter.js +2 -2
- package/dist/cjs/ADSkyscraper.js +2 -2
- package/dist/cjs/ADSponsoredResources.js +2 -2
- package/dist/cjs/ADWebcast.js +2 -2
- package/dist/cjs/ADWelcome.js +2 -2
- package/dist/cjs/AdSlot.js +2 -2
- package/dist/cjs/AdSlotsProvider.js +1 -1
- package/dist/cjs/ArticleSeriesListing.js +4 -4
- package/dist/cjs/Auth.js +256 -507
- package/dist/cjs/{BlockContent-88f69acd.js → BlockContent-091a991f.js} +1 -1
- package/dist/cjs/CMEDeck.js +5 -5
- package/dist/cjs/Column3.js +4 -4
- package/dist/cjs/ConferenceArticleCard.js +2 -2
- package/dist/cjs/DeckContent.js +7 -7
- package/dist/cjs/DeckQueue.js +6 -6
- package/dist/cjs/{Dfp-b2bc3b97.js → Dfp-f6a18ed2.js} +1 -1
- package/dist/cjs/EventsDeck.js +73 -38
- package/dist/cjs/ExternalResources.js +7 -7
- package/dist/cjs/Feature.js +3 -3
- package/dist/cjs/ForbesHero.js +2 -2
- package/dist/cjs/GridContent.js +10 -10
- package/dist/cjs/GridHero.js +2 -2
- package/dist/cjs/GroupDeck.js +1 -1
- package/dist/cjs/HamMagazine.js +4 -4
- package/dist/cjs/Hero.js +1 -1
- package/dist/cjs/HorizontalHero.js +2 -2
- package/dist/cjs/IssueContentDeck.js +2 -2
- package/dist/cjs/IssueDeck.js +2 -2
- package/dist/cjs/IssueLanding.js +7 -7
- package/dist/cjs/LeftNav.js +2 -2
- package/dist/cjs/MasterDeck.js +73 -41
- package/dist/cjs/NavMagazine.js +4 -4
- package/dist/cjs/NavNative.js +2 -2
- package/dist/cjs/OncliveHero.js +2 -2
- package/dist/cjs/OncliveLargeHero.js +2 -2
- package/dist/cjs/PartnerDetailListing.js +1212 -15
- package/dist/cjs/PublicationDeck.js +1 -1
- package/dist/cjs/QueueDeckExpanded.js +9 -9
- package/dist/cjs/RecentNews.js +2 -2
- package/dist/cjs/RelatedContent.js +2 -2
- package/dist/cjs/{SocialSearchComponent-962b1344.js → SocialSearchComponent-81a50f81.js} +5 -5
- package/dist/cjs/TaxonomyCard.js +2 -2
- package/dist/cjs/TemplateNormal.js +3 -3
- package/dist/cjs/ThumbnailCard.js +1 -1
- package/dist/cjs/Ustream.js +2 -2
- package/dist/cjs/VerticalHero.js +2 -2
- package/dist/cjs/VideoSeriesCard.js +2 -2
- package/dist/cjs/VideoSeriesListing.js +3 -3
- package/dist/cjs/View.js +72 -55
- package/dist/cjs/YahooHero.js +2 -2
- package/dist/cjs/YoutubeGroup.js +1 -1
- package/dist/cjs/getRelatedArticle.js +354 -5
- package/dist/cjs/getSerializers.js +6 -6
- package/dist/cjs/{getTargeting-fee8c429.js → getTargeting-9af0ef69.js} +2 -2
- package/dist/cjs/getTargeting.js +1 -1
- package/dist/cjs/{index-5be2866f.js → index-3294d3bc.js} +1 -1
- package/dist/cjs/index-bd6c9f56.js +211 -0
- package/dist/cjs/{index-b5eb3ff8.js → index-be0c82be.js} +19 -20
- package/dist/cjs/{index-47e709f6.js → index-c66ea549.js} +450 -462
- package/dist/cjs/{index-2d0a4911.js → index-fa8ed292.js} +27 -34
- package/dist/cjs/{index.es-ab3f2690.js → index.es-9110add6.js} +1 -3
- package/dist/cjs/index.js +15 -16
- package/dist/cjs/{main-b6c96c8d.js → main-a4cb15bb.js} +36 -67
- package/dist/cjs/{moment-66a6a284.js → moment-575fe24c.js} +1 -1
- package/dist/cjs/urlFor.js +1 -1
- package/dist/esm/AD.js +1 -1
- package/dist/esm/AD300x250.js +3 -3
- package/dist/esm/AD300x250x600.js +3 -3
- package/dist/esm/AD728x90.js +4 -4
- package/dist/esm/ADFloatingFooter.js +2 -2
- package/dist/esm/ADGutter.js +2 -2
- package/dist/esm/ADSkyscraper.js +2 -2
- package/dist/esm/ADSponsoredResources.js +2 -2
- package/dist/esm/ADWebcast.js +2 -2
- package/dist/esm/ADWelcome.js +2 -2
- package/dist/esm/AdSlot.js +2 -2
- package/dist/esm/AdSlotsProvider.js +1 -1
- package/dist/esm/ArticleSeriesListing.js +4 -4
- package/dist/esm/Auth.js +248 -499
- package/dist/esm/{BlockContent-a614acdf.js → BlockContent-e9b4ddcf.js} +1 -1
- package/dist/esm/CMEDeck.js +5 -5
- package/dist/esm/Column3.js +4 -4
- package/dist/esm/ConferenceArticleCard.js +2 -2
- package/dist/esm/DeckContent.js +7 -7
- package/dist/esm/DeckQueue.js +6 -6
- package/dist/esm/{Dfp-8a8fca18.js → Dfp-96b49def.js} +1 -1
- package/dist/esm/EventsDeck.js +73 -38
- package/dist/esm/ExternalResources.js +7 -7
- package/dist/esm/Feature.js +3 -3
- package/dist/esm/ForbesHero.js +2 -2
- package/dist/esm/GridContent.js +10 -10
- package/dist/esm/GridHero.js +2 -2
- package/dist/esm/GroupDeck.js +1 -1
- package/dist/esm/HamMagazine.js +4 -4
- package/dist/esm/Hero.js +1 -1
- package/dist/esm/HorizontalHero.js +2 -2
- package/dist/esm/IssueContentDeck.js +2 -2
- package/dist/esm/IssueDeck.js +2 -2
- package/dist/esm/IssueLanding.js +7 -7
- package/dist/esm/LeftNav.js +2 -2
- package/dist/esm/MasterDeck.js +73 -41
- package/dist/esm/NavMagazine.js +4 -4
- package/dist/esm/NavNative.js +2 -2
- package/dist/esm/OncliveHero.js +2 -2
- package/dist/esm/OncliveLargeHero.js +2 -2
- package/dist/esm/PartnerDetailListing.js +1209 -13
- package/dist/esm/PublicationDeck.js +1 -1
- package/dist/esm/QueueDeckExpanded.js +9 -9
- package/dist/esm/RecentNews.js +2 -2
- package/dist/esm/RelatedContent.js +2 -2
- package/dist/esm/{SocialSearchComponent-75527dfe.js → SocialSearchComponent-55960ec4.js} +5 -5
- package/dist/esm/TaxonomyCard.js +2 -2
- package/dist/esm/TemplateNormal.js +3 -3
- package/dist/esm/ThumbnailCard.js +1 -1
- package/dist/esm/Ustream.js +2 -2
- package/dist/esm/VerticalHero.js +2 -2
- package/dist/esm/VideoSeriesCard.js +2 -2
- package/dist/esm/VideoSeriesListing.js +3 -3
- package/dist/esm/View.js +45 -28
- package/dist/esm/YahooHero.js +2 -2
- package/dist/esm/YoutubeGroup.js +1 -1
- package/dist/esm/getRelatedArticle.js +354 -5
- package/dist/esm/getSerializers.js +6 -6
- package/dist/esm/{index-93ec3c59.js → index-0e45a0b2.js} +27 -34
- package/dist/esm/{index-51a80699.js → index-73819142.js} +19 -20
- package/dist/esm/{index-ed279e5e.js → index-af4d4efb.js} +450 -462
- package/dist/esm/index-db3bb315.js +207 -0
- package/dist/esm/{index-d2f90501.js → index-ef6d5dcf.js} +1 -1
- package/dist/esm/{index.es-938a3a58.js → index.es-29c1cef5.js} +1 -3
- package/dist/esm/index.js +13 -14
- package/dist/esm/{main-0465b2a0.js → main-5d1e4bd3.js} +34 -65
- package/dist/esm/{moment-12415288.js → moment-e2f9b20c.js} +1 -1
- package/dist/esm/urlFor.js +1 -1
- package/package.json +1 -1
- /package/dist/cjs/{ADInfeed-eaa6c661.js → ADInfeed-15a7d07f.js} +0 -0
- /package/dist/cjs/{ADlgInfeed-f25eb4f7.js → ADlgInfeed-da05bb23.js} +0 -0
- /package/dist/esm/{ADInfeed-c27997a3.js → ADInfeed-e10d10a6.js} +0 -0
- /package/dist/esm/{ADlgInfeed-41c3909c.js → ADlgInfeed-c5dc4827.js} +0 -0
package/dist/esm/IssueLanding.js
CHANGED
|
@@ -9,19 +9,19 @@ import './_object-pie-71ac75a4.js';
|
|
|
9
9
|
import './extends-cc5da797.js';
|
|
10
10
|
import './web.dom.iterable-8956f9a5.js';
|
|
11
11
|
import React__default from 'react';
|
|
12
|
-
import './index-
|
|
12
|
+
import './index-0e45a0b2.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-807e927e.js';
|
|
18
18
|
import './debounce-1a993acf.js';
|
|
19
|
-
import './index.es-
|
|
19
|
+
import './index.es-29c1cef5.js';
|
|
20
20
|
import 'react-dom';
|
|
21
21
|
import './visibility-sensor-0baa4eea.js';
|
|
22
|
-
import './index-
|
|
22
|
+
import './index-73819142.js';
|
|
23
23
|
import './index-5f9f807a.js';
|
|
24
|
-
import './main-
|
|
24
|
+
import './main-5d1e4bd3.js';
|
|
25
25
|
import './entities-7cc3bf45.js';
|
|
26
26
|
import './stringify-008c8802.js';
|
|
27
27
|
import './slicedToArray-7021e5df.js';
|
|
@@ -29,9 +29,9 @@ import './asyncToGenerator-7c654f36.js';
|
|
|
29
29
|
import './_set-species-cede29f8.js';
|
|
30
30
|
import './beam-681a9749.js';
|
|
31
31
|
import './AdSlot.js';
|
|
32
|
-
import './ADInfeed-
|
|
32
|
+
import './ADInfeed-e10d10a6.js';
|
|
33
33
|
import './lodash-17fdfebb.js';
|
|
34
|
-
import './ADlgInfeed-
|
|
34
|
+
import './ADlgInfeed-c5dc4827.js';
|
|
35
35
|
import './getContentCategory-15dcc413.js';
|
|
36
36
|
import './AuthorComponent-00f13201.js';
|
|
37
37
|
import 'react-bootstrap';
|
package/dist/esm/LeftNav.js
CHANGED
|
@@ -6,11 +6,11 @@ import './_iter-detect-59409a32.js';
|
|
|
6
6
|
import './core.get-iterator-method-54d2e411.js';
|
|
7
7
|
import './web.dom.iterable-8956f9a5.js';
|
|
8
8
|
import React__default, { useRef, useEffect } from 'react';
|
|
9
|
-
import './index-
|
|
9
|
+
import './index-0e45a0b2.js';
|
|
10
10
|
import 'prop-types';
|
|
11
11
|
import './isSymbol-807e927e.js';
|
|
12
12
|
import './debounce-1a993acf.js';
|
|
13
|
-
import './main-
|
|
13
|
+
import './main-5d1e4bd3.js';
|
|
14
14
|
import './stringify-008c8802.js';
|
|
15
15
|
import './slicedToArray-7021e5df.js';
|
|
16
16
|
import './asyncToGenerator-7c654f36.js';
|
package/dist/esm/MasterDeck.js
CHANGED
|
@@ -14,30 +14,30 @@ import './web.dom.iterable-8956f9a5.js';
|
|
|
14
14
|
import './typeof-08f2c380.js';
|
|
15
15
|
import './_is-array-49698029.js';
|
|
16
16
|
import React__default from 'react';
|
|
17
|
-
import { l as lib_3 } from './index-
|
|
17
|
+
import { l as lib_3 } from './index-0e45a0b2.js';
|
|
18
18
|
import 'prop-types';
|
|
19
19
|
import Container from 'react-bootstrap/Container';
|
|
20
20
|
import 'react-bootstrap/Row';
|
|
21
21
|
import 'react-bootstrap/Col';
|
|
22
22
|
import 'react-bootstrap/Card';
|
|
23
|
-
import './moment-
|
|
23
|
+
import './moment-e2f9b20c.js';
|
|
24
24
|
import { withRouter } from 'next/router';
|
|
25
25
|
import './isSymbol-807e927e.js';
|
|
26
26
|
import { d as debounce_1 } from './debounce-1a993acf.js';
|
|
27
|
-
import { I as InfiniteScroll } from './index.es-
|
|
27
|
+
import { I as InfiniteScroll } from './index.es-29c1cef5.js';
|
|
28
28
|
import 'react-dom';
|
|
29
29
|
import { V as VisibilitySensor } from './visibility-sensor-0baa4eea.js';
|
|
30
|
-
import './index-
|
|
31
|
-
import { m as
|
|
30
|
+
import './index-73819142.js';
|
|
31
|
+
import { m as main_36 } from './main-5d1e4bd3.js';
|
|
32
32
|
import './stringify-008c8802.js';
|
|
33
33
|
import './slicedToArray-7021e5df.js';
|
|
34
34
|
import { _ as _Promise } from './asyncToGenerator-7c654f36.js';
|
|
35
35
|
import './_set-species-cede29f8.js';
|
|
36
36
|
import './beam-681a9749.js';
|
|
37
37
|
import './AdSlot.js';
|
|
38
|
-
import { A as ADInfeed } from './ADInfeed-
|
|
38
|
+
import { A as ADInfeed } from './ADInfeed-e10d10a6.js';
|
|
39
39
|
import { l as lodash } from './lodash-17fdfebb.js';
|
|
40
|
-
import { A as ADlgInfeed } from './ADlgInfeed-
|
|
40
|
+
import { A as ADlgInfeed } from './ADlgInfeed-c5dc4827.js';
|
|
41
41
|
|
|
42
42
|
var MasterDeck = function (_React$Component) {
|
|
43
43
|
_inherits(MasterDeck, _React$Component);
|
|
@@ -62,23 +62,23 @@ var MasterDeck = function (_React$Component) {
|
|
|
62
62
|
from: _this.params ? _this.params.from : 0,
|
|
63
63
|
to: _this.params ? _this.params.to : 2,
|
|
64
64
|
total_pages: null,
|
|
65
|
-
scrolling:
|
|
65
|
+
scrolling: false,
|
|
66
66
|
query: _this.query,
|
|
67
67
|
currentPage: _this.props.currentPage || 1,
|
|
68
|
-
dataRemapped:
|
|
68
|
+
dataRemapped: !_this.props.showBI || !_this.props.brandInsightAd,
|
|
69
69
|
lastDataSize: _this.data ? _this.data.length : 0,
|
|
70
70
|
itemsPerPage: _this.params ? _this.params.to - _this.params.from : 2
|
|
71
71
|
}, _this.loadMore = debounce_1(function () {
|
|
72
72
|
_this.setState(function (state) {
|
|
73
73
|
var page = state.page,
|
|
74
74
|
from = state.from,
|
|
75
|
-
|
|
76
|
-
|
|
75
|
+
to = state.to,
|
|
76
|
+
itemsPerPage = state.itemsPerPage;
|
|
77
77
|
|
|
78
78
|
return {
|
|
79
79
|
page: page + 1,
|
|
80
|
-
from: from +
|
|
81
|
-
to: to +
|
|
80
|
+
from: from + itemsPerPage,
|
|
81
|
+
to: to + itemsPerPage
|
|
82
82
|
};
|
|
83
83
|
}, _this.loadData);
|
|
84
84
|
}, 0), _this.loadData = function () {
|
|
@@ -123,25 +123,51 @@ var MasterDeck = function (_React$Component) {
|
|
|
123
123
|
});
|
|
124
124
|
});
|
|
125
125
|
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
126
|
+
if (dataArr.length > 0) {
|
|
127
|
+
_this.checkMoreDataAvailable();
|
|
128
|
+
_this.setState({
|
|
129
|
+
data: [].concat(_toConsumableArray(data), _toConsumableArray(dataArr)),
|
|
130
|
+
lastDataSize: dataArr.length
|
|
131
|
+
});
|
|
132
|
+
} else {
|
|
133
|
+
_this.setState({
|
|
134
|
+
scrolling: false,
|
|
135
|
+
lastDataSize: 0
|
|
136
|
+
});
|
|
137
|
+
}
|
|
138
|
+
}, _this.checkMoreDataAvailable = function () {
|
|
139
|
+
var _this$state2 = _this.state,
|
|
140
|
+
from = _this$state2.from,
|
|
141
|
+
to = _this$state2.to,
|
|
142
|
+
itemsPerPage = _this$state2.itemsPerPage,
|
|
143
|
+
query = _this$state2.query;
|
|
141
144
|
var _this$props2 = _this.props,
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
+
client = _this$props2.client,
|
|
146
|
+
dataHandler = _this$props2.dataHandler;
|
|
147
|
+
|
|
148
|
+
var params = _extends({}, _this.props.params, { from: from + itemsPerPage, to: to + itemsPerPage });
|
|
149
|
+
if (dataHandler) {
|
|
150
|
+
var dataHandlerPromise = new _Promise(function (resolve, reject) {
|
|
151
|
+
try {
|
|
152
|
+
var result = dataHandler(params);
|
|
153
|
+
resolve(result);
|
|
154
|
+
} catch (e) {
|
|
155
|
+
reject(e);
|
|
156
|
+
}
|
|
157
|
+
});
|
|
158
|
+
dataHandlerPromise.then(function (dataArr) {
|
|
159
|
+
if (dataArr && dataArr.length > 0) _this.setState({ scrolling: true });else _this.setState({ scrolling: false });
|
|
160
|
+
});
|
|
161
|
+
} else {
|
|
162
|
+
client.fetch(query, params).then(function (dataArr) {
|
|
163
|
+
if (dataArr && dataArr.length > 0) _this.setState({ scrolling: true });else _this.setState({ scrolling: false });
|
|
164
|
+
});
|
|
165
|
+
}
|
|
166
|
+
}, _this.changePageNumber = function (pageNumber) {
|
|
167
|
+
var _this$props3 = _this.props,
|
|
168
|
+
seoPaginate = _this$props3.seoPaginate,
|
|
169
|
+
pageview = _this$props3.pageview,
|
|
170
|
+
router = _this$props3.router;
|
|
145
171
|
var currentPage = _this.state.currentPage;
|
|
146
172
|
|
|
147
173
|
if (seoPaginate) {
|
|
@@ -219,9 +245,6 @@ var MasterDeck = function (_React$Component) {
|
|
|
219
245
|
var insertBrandInsightAd = function insertBrandInsightAd(arr, index, newElement) {
|
|
220
246
|
return [].concat(_toConsumableArray(arr.slice(0, index)), [newElement], _toConsumableArray(arr.slice(index)));
|
|
221
247
|
};
|
|
222
|
-
_this.componentDidMount = function () {
|
|
223
|
-
_this.setState({ dataRemapped: !showBI || !brandInsightAd ? true : false });
|
|
224
|
-
};
|
|
225
248
|
// Need to pass flag "lgInfeedAd={true}" along with brandInsightAd from site level for large infeed-ad to render
|
|
226
249
|
// Checking lgInfeedAd flag in desktop view ( window >= 1400px ).
|
|
227
250
|
// Integrating large infeed AD
|
|
@@ -316,7 +339,7 @@ var MasterDeck = function (_React$Component) {
|
|
|
316
339
|
React__default.Fragment,
|
|
317
340
|
{ key: index },
|
|
318
341
|
React__default.createElement(_this2.Deck, { data: row, variant: variant, index: index, client: _this.props.client, defaultImage: _this.defaultImage }),
|
|
319
|
-
|
|
342
|
+
main_36 && _this.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && React__default.createElement(
|
|
320
343
|
'div',
|
|
321
344
|
{ className: 'ad-container', style: { margin: '0 auto' } },
|
|
322
345
|
_this.renderMobileAd(index, numberOfItemsBeforeAd, _this.rightItems)
|
|
@@ -366,10 +389,10 @@ var MasterDeck = function (_React$Component) {
|
|
|
366
389
|
rightItems[i].component
|
|
367
390
|
);
|
|
368
391
|
}, _this.renderManualPagination = function () {
|
|
369
|
-
var _this$
|
|
370
|
-
currentPage = _this$
|
|
371
|
-
itemsPerPage = _this$
|
|
372
|
-
lastDataSize = _this$
|
|
392
|
+
var _this$state3 = _this.state,
|
|
393
|
+
currentPage = _this$state3.currentPage,
|
|
394
|
+
itemsPerPage = _this$state3.itemsPerPage,
|
|
395
|
+
lastDataSize = _this$state3.lastDataSize;
|
|
373
396
|
|
|
374
397
|
console.log('lastDataSize:', lastDataSize);
|
|
375
398
|
console.log('itemsPerPage:', itemsPerPage);
|
|
@@ -420,7 +443,7 @@ var MasterDeck = function (_React$Component) {
|
|
|
420
443
|
}, {
|
|
421
444
|
key: 'componentDidMount',
|
|
422
445
|
value: function componentDidMount() {
|
|
423
|
-
|
|
446
|
+
this.checkMoreDataAvailable();
|
|
424
447
|
}
|
|
425
448
|
// Passing 'brandInsightAd','showBI' and 'lgInfeedAd'
|
|
426
449
|
|
|
@@ -476,7 +499,16 @@ var MasterDeck = function (_React$Component) {
|
|
|
476
499
|
'button',
|
|
477
500
|
{
|
|
478
501
|
className: 'btn',
|
|
479
|
-
style: {
|
|
502
|
+
style: {
|
|
503
|
+
margin: '0 auto 2rem',
|
|
504
|
+
display: 'block',
|
|
505
|
+
fontSize: '18px',
|
|
506
|
+
padding: '.5rem 1.5rem',
|
|
507
|
+
boxShadow: '1px 2px 4px 4px rgba(0,0,0,.15)',
|
|
508
|
+
background: 'var(--primary)',
|
|
509
|
+
color: '#fff',
|
|
510
|
+
borderRadius: '5px'
|
|
511
|
+
},
|
|
480
512
|
onClick: function onClick(e) {
|
|
481
513
|
_this3.loadMore();
|
|
482
514
|
} },
|
package/dist/esm/NavMagazine.js
CHANGED
|
@@ -8,7 +8,7 @@ import './web.dom.iterable-8956f9a5.js';
|
|
|
8
8
|
import React__default, { useRef, useState, useEffect } from 'react';
|
|
9
9
|
import 'prop-types';
|
|
10
10
|
import Container from 'react-bootstrap/Container';
|
|
11
|
-
import { a as
|
|
11
|
+
import { a as main_37 } from './main-5d1e4bd3.js';
|
|
12
12
|
import './stringify-008c8802.js';
|
|
13
13
|
import { _ as _slicedToArray } from './slicedToArray-7021e5df.js';
|
|
14
14
|
import './asyncToGenerator-7c654f36.js';
|
|
@@ -27,7 +27,7 @@ import { N as NavFooter } from './NavFooter-e27bd93b.js';
|
|
|
27
27
|
import { S as SocialNavFooter } from './index.esm-73e847d2.js';
|
|
28
28
|
import './SocialIcons.js';
|
|
29
29
|
import 'react-bootstrap/FormControl';
|
|
30
|
-
import { S as SocialSearchComponent } from './SocialSearchComponent-
|
|
30
|
+
import { S as SocialSearchComponent } from './SocialSearchComponent-55960ec4.js';
|
|
31
31
|
|
|
32
32
|
var NavMagazine = function NavMagazine(props) {
|
|
33
33
|
/*
|
|
@@ -307,7 +307,7 @@ var NavMagazine = function NavMagazine(props) {
|
|
|
307
307
|
{
|
|
308
308
|
id: 'navbar-ham',
|
|
309
309
|
style: { width: '100%', display: 'flex', top: topOffset, overflow: 'auto', zIndex: '999999' },
|
|
310
|
-
className:
|
|
310
|
+
className: main_37 ? 'bottom-nav ios-nav' : 'bottom-nav ',
|
|
311
311
|
variant: 'dark',
|
|
312
312
|
expand: 'xl',
|
|
313
313
|
bg: 'primary',
|
|
@@ -323,7 +323,7 @@ var NavMagazine = function NavMagazine(props) {
|
|
|
323
323
|
'aria-controls': 'basic-navbar-nav',
|
|
324
324
|
onClick: function onClick() {
|
|
325
325
|
// Set overflow fix for iPhones safari browsers
|
|
326
|
-
if (
|
|
326
|
+
if (main_37) {
|
|
327
327
|
var mainNav = document.querySelector('#navbar-ham');
|
|
328
328
|
if (mainNav && mainNav.style) mainNav.style.overflow = 'auto';
|
|
329
329
|
}
|
package/dist/esm/NavNative.js
CHANGED
|
@@ -8,7 +8,7 @@ import './web.dom.iterable-8956f9a5.js';
|
|
|
8
8
|
import React__default, { useRef, useState, useEffect } from 'react';
|
|
9
9
|
import 'prop-types';
|
|
10
10
|
import Container from 'react-bootstrap/Container';
|
|
11
|
-
import { a as
|
|
11
|
+
import { a as main_37 } from './main-5d1e4bd3.js';
|
|
12
12
|
import './stringify-008c8802.js';
|
|
13
13
|
import { _ as _slicedToArray } from './slicedToArray-7021e5df.js';
|
|
14
14
|
import './asyncToGenerator-7c654f36.js';
|
|
@@ -252,7 +252,7 @@ var NavNative = function NavNative(props) {
|
|
|
252
252
|
React__default.createElement(
|
|
253
253
|
Navbar,
|
|
254
254
|
{
|
|
255
|
-
className:
|
|
255
|
+
className: main_37 ? 'bottom-nav ios-nav' : 'bottom-nav android-nav',
|
|
256
256
|
variant: 'dark',
|
|
257
257
|
expand: 'lg',
|
|
258
258
|
bg: 'primary',
|
package/dist/esm/OncliveHero.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import { m as moment } from './moment-
|
|
4
|
-
import { i as imageUrlBuilder } from './index-
|
|
3
|
+
import { m as moment } from './moment-e2f9b20c.js';
|
|
4
|
+
import { i as imageUrlBuilder } from './index-73819142.js';
|
|
5
5
|
import './iconBase-602d52fe.js';
|
|
6
6
|
import 'react-bootstrap/Badge';
|
|
7
7
|
import './index.esm-9a4c8813.js';
|
|
@@ -5,9 +5,9 @@ import './core.get-iterator-method-54d2e411.js';
|
|
|
5
5
|
import './web.dom.iterable-8956f9a5.js';
|
|
6
6
|
import React__default from 'react';
|
|
7
7
|
import 'prop-types';
|
|
8
|
-
import { m as moment } from './moment-
|
|
8
|
+
import { m as moment } from './moment-e2f9b20c.js';
|
|
9
9
|
import 'react-dom';
|
|
10
|
-
import { i as imageUrlBuilder } from './index-
|
|
10
|
+
import { i as imageUrlBuilder } from './index-73819142.js';
|
|
11
11
|
import { L as LazyLoad } from './index-5f9f807a.js';
|
|
12
12
|
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
13
13
|
import './slicedToArray-7021e5df.js';
|