@mjhls/mjh-framework 1.0.604 → 1.0.606
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +172 -172
- package/dist/cjs/AD.js +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 +5 -5
- 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/ArticleQueue.js +14 -13
- package/dist/cjs/Auth.js +507 -256
- package/dist/cjs/{BlockContent-77f81ffc.js → BlockContent-f942392e.js} +1 -1
- package/dist/cjs/CMEDeck.js +9 -9
- package/dist/cjs/Column2.js +2 -0
- package/dist/cjs/Column3.js +6 -4
- package/dist/cjs/ConferenceArticleCard.js +17 -17
- package/dist/cjs/DeckContent.js +17 -16
- package/dist/cjs/DeckQueue.js +8 -7
- package/dist/cjs/{Dfp-fcdeabc4.js → Dfp-fbe32b96.js} +1 -1
- package/dist/cjs/EventsDeck.js +24 -24
- package/dist/cjs/ExternalResources.js +9 -8
- package/dist/cjs/Feature.js +3 -3
- package/dist/cjs/ForbesHero.js +2 -2
- package/dist/cjs/GridContent.js +14 -13
- package/dist/cjs/GridHero.js +2 -2
- package/dist/cjs/GroupDeck.js +5 -5
- package/dist/cjs/HamMagazine.js +11 -11
- 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 +3 -3
- package/dist/cjs/IssueLanding.js +36 -36
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +2 -2
- package/dist/cjs/MasterDeck.js +18 -17
- package/dist/cjs/NavMagazine.js +12 -12
- package/dist/cjs/NavNative.js +11 -11
- package/dist/cjs/OncliveHero.js +2 -2
- package/dist/cjs/OncliveLargeHero.js +2 -2
- package/dist/cjs/PartnerDetailListing.js +17 -1212
- package/dist/cjs/PdfDownload.js +1 -1
- package/dist/cjs/PublicationDeck.js +1 -1
- package/dist/cjs/PublicationLanding.js +34 -34
- package/dist/cjs/QueueDeckExpanded.js +13 -13
- package/dist/cjs/RecentNews.js +2 -2
- package/dist/cjs/RelatedContent.js +30 -30
- package/dist/cjs/RelatedTopicsDropdown.js +10 -10
- package/dist/cjs/SideFooter.js +5 -3
- package/dist/cjs/TaxonomyCard.js +2 -2
- package/dist/cjs/TemplateNormal.js +4 -2
- package/dist/cjs/ThumbnailCard.js +1 -1
- package/dist/cjs/Ustream.js +2 -2
- package/dist/cjs/VerticalHero.js +2 -2
- package/dist/cjs/VideoSeriesFilter.js +1 -1
- package/dist/cjs/VideoSeriesListing.js +6 -5
- package/dist/cjs/View.js +47 -73
- package/dist/cjs/YahooHero.js +2 -2
- package/dist/cjs/YoutubeGroup.js +5 -5
- package/dist/cjs/define-property-f4d12f4e.js +20 -0
- package/dist/cjs/defineProperty-55548b25.js +34 -0
- package/dist/cjs/getRelatedArticle.js +5 -354
- package/dist/cjs/getSerializers.js +8 -7
- package/dist/cjs/{getTargeting-5db63100.js → getTargeting-5a0b8ee4.js} +11 -11
- package/dist/cjs/getTargeting.js +1 -1
- package/dist/cjs/{index-f745a50a.js → index-42a63635.js} +457 -445
- package/dist/cjs/{index-3294d3bc.js → index-5be2866f.js} +1 -1
- package/dist/cjs/{index-be0c82be.js → index-b5eb3ff8.js} +20 -19
- package/dist/cjs/{index-fa3cec70.js → index-f7ee1612.js} +4 -6
- package/dist/cjs/{index.es-9110add6.js → index.es-ab3f2690.js} +3 -1
- package/dist/cjs/index.js +18 -15
- package/dist/cjs/{inherits-14962339.js → inherits-dca612fa.js} +8 -22
- package/dist/cjs/{main-88348b15.js → main-bc4db521.js} +66 -35
- package/dist/cjs/{moment-575fe24c.js → moment-66a6a284.js} +1 -1
- package/dist/cjs/urlFor.js +2 -2
- 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 +5 -5
- 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/ArticleQueue.js +14 -13
- package/dist/esm/Auth.js +499 -248
- package/dist/esm/{BlockContent-e9b4ddcf.js → BlockContent-a614acdf.js} +1 -1
- package/dist/esm/CMEDeck.js +9 -9
- package/dist/esm/Column2.js +2 -0
- package/dist/esm/Column3.js +6 -4
- package/dist/esm/ConferenceArticleCard.js +17 -17
- package/dist/esm/DeckContent.js +17 -16
- package/dist/esm/DeckQueue.js +8 -7
- package/dist/esm/{Dfp-380bef62.js → Dfp-40c70a33.js} +1 -1
- package/dist/esm/EventsDeck.js +24 -24
- package/dist/esm/ExternalResources.js +9 -8
- package/dist/esm/Feature.js +3 -3
- package/dist/esm/ForbesHero.js +2 -2
- package/dist/esm/GridContent.js +14 -13
- package/dist/esm/GridHero.js +2 -2
- package/dist/esm/GroupDeck.js +5 -5
- package/dist/esm/HamMagazine.js +11 -11
- 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 +3 -3
- package/dist/esm/IssueLanding.js +36 -36
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +2 -2
- package/dist/esm/MasterDeck.js +18 -17
- package/dist/esm/NavMagazine.js +12 -12
- package/dist/esm/NavNative.js +11 -11
- package/dist/esm/OncliveHero.js +2 -2
- package/dist/esm/OncliveLargeHero.js +2 -2
- package/dist/esm/PartnerDetailListing.js +15 -1210
- package/dist/esm/PdfDownload.js +1 -1
- package/dist/esm/PublicationDeck.js +1 -1
- package/dist/esm/PublicationLanding.js +34 -34
- package/dist/esm/QueueDeckExpanded.js +13 -13
- package/dist/esm/RecentNews.js +2 -2
- package/dist/esm/RelatedContent.js +30 -30
- package/dist/esm/RelatedTopicsDropdown.js +10 -10
- package/dist/esm/SideFooter.js +5 -3
- package/dist/esm/TaxonomyCard.js +2 -2
- package/dist/esm/TemplateNormal.js +4 -2
- package/dist/esm/ThumbnailCard.js +1 -1
- package/dist/esm/Ustream.js +2 -2
- package/dist/esm/VerticalHero.js +2 -2
- package/dist/esm/VideoSeriesFilter.js +1 -1
- package/dist/esm/VideoSeriesListing.js +6 -5
- package/dist/esm/View.js +22 -48
- package/dist/esm/YahooHero.js +2 -2
- package/dist/esm/YoutubeGroup.js +5 -5
- package/dist/esm/define-property-99e9c0ad.js +18 -0
- package/dist/esm/defineProperty-fa14766d.js +32 -0
- package/dist/esm/getRelatedArticle.js +5 -354
- package/dist/esm/getSerializers.js +8 -7
- package/dist/esm/{getTargeting-36bcd238.js → getTargeting-962c9cf6.js} +9 -9
- package/dist/esm/getTargeting.js +1 -1
- package/dist/esm/{index-73819142.js → index-51a80699.js} +20 -19
- package/dist/esm/{index-3f4dd6f2.js → index-93ec3c59.js} +4 -6
- package/dist/esm/{index-ef6d5dcf.js → index-d2f90501.js} +1 -1
- package/dist/esm/{index-599efdf0.js → index-f191d6d0.js} +457 -445
- package/dist/esm/{index.es-29c1cef5.js → index.es-938a3a58.js} +3 -1
- package/dist/esm/index.js +17 -14
- package/dist/esm/{inherits-e6718951.js → inherits-a15d91fe.js} +6 -19
- package/dist/esm/{main-d7ee6151.js → main-7255814e.js} +65 -34
- package/dist/esm/{moment-e2f9b20c.js → moment-12415288.js} +1 -1
- package/dist/esm/urlFor.js +2 -2
- package/package.json +107 -107
- package/dist/cjs/index-bd6c9f56.js +0 -211
- package/dist/esm/index-db3bb315.js +0 -207
- /package/dist/cjs/{ADInfeed-df340285.js → ADInfeed-17a378db.js} +0 -0
- /package/dist/cjs/{ADlgInfeed-2110d08c.js → ADlgInfeed-070d911c.js} +0 -0
- /package/dist/esm/{ADInfeed-541eaae3.js → ADInfeed-0c1bcd33.js} +0 -0
- /package/dist/esm/{ADlgInfeed-25c3d142.js → ADlgInfeed-a2518bca.js} +0 -0
package/dist/esm/HamMagazine.js
CHANGED
|
@@ -7,7 +7,7 @@ import './web.dom.iterable-5c830d3d.js';
|
|
|
7
7
|
import React__default, { useRef, useState, useEffect } from 'react';
|
|
8
8
|
import 'prop-types';
|
|
9
9
|
import Container from 'react-bootstrap/Container';
|
|
10
|
-
import { m as
|
|
10
|
+
import { m as main_39 } from './main-7255814e.js';
|
|
11
11
|
import { _ as _slicedToArray } from './slicedToArray-a58d7edf.js';
|
|
12
12
|
import './stringify-feadff37.js';
|
|
13
13
|
import './asyncToGenerator-d25aac66.js';
|
|
@@ -28,15 +28,15 @@ import 'react-bootstrap/FormControl';
|
|
|
28
28
|
import Search from './Search.js';
|
|
29
29
|
|
|
30
30
|
var HamMagazine = function HamMagazine(props) {
|
|
31
|
-
/*
|
|
32
|
-
Example Nav with acceptable props
|
|
33
|
-
<MagazineNav
|
|
34
|
-
showLogin
|
|
35
|
-
logo={props.settings.logo}
|
|
36
|
-
dataObject={props.cache.mainNavCache}
|
|
37
|
-
website={website}
|
|
38
|
-
subNav={props.cache.subNavCache}
|
|
39
|
-
/>
|
|
31
|
+
/*
|
|
32
|
+
Example Nav with acceptable props
|
|
33
|
+
<MagazineNav
|
|
34
|
+
showLogin
|
|
35
|
+
logo={props.settings.logo}
|
|
36
|
+
dataObject={props.cache.mainNavCache}
|
|
37
|
+
website={website}
|
|
38
|
+
subNav={props.cache.subNavCache}
|
|
39
|
+
/>
|
|
40
40
|
*/
|
|
41
41
|
|
|
42
42
|
var logo = props.logo,
|
|
@@ -189,7 +189,7 @@ var HamMagazine = function HamMagazine(props) {
|
|
|
189
189
|
|
|
190
190
|
return React__default.createElement(
|
|
191
191
|
'header',
|
|
192
|
-
{ className: !
|
|
192
|
+
{ className: !main_39 && isOpen ? 'nav-open' : 'nav-close', style: { zIndex: '99999' } },
|
|
193
193
|
React__default.createElement(
|
|
194
194
|
Navbar,
|
|
195
195
|
{ expand: 'md', ref: topNavRef },
|
package/dist/esm/Hero.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import { i as imageUrlBuilder } from './index-
|
|
3
|
+
import { i as imageUrlBuilder } from './index-51a80699.js';
|
|
4
4
|
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
5
5
|
import { Card } from 'react-bootstrap';
|
|
6
6
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import './moment-
|
|
4
|
-
import { i as imageUrlBuilder } from './index-
|
|
3
|
+
import './moment-12415288.js';
|
|
4
|
+
import { i as imageUrlBuilder } from './index-51a80699.js';
|
|
5
5
|
import './iconBase-602d52fe.js';
|
|
6
6
|
import { a as FaLongArrowAltRight } from './index.esm-9a4c8813.js';
|
|
7
7
|
|
|
@@ -7,9 +7,9 @@ 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-12415288.js';
|
|
11
11
|
import 'react-dom';
|
|
12
|
-
import { i as imageUrlBuilder } from './index-
|
|
12
|
+
import { i as imageUrlBuilder } from './index-51a80699.js';
|
|
13
13
|
import { L as LazyLoad } from './index-5f9f807a.js';
|
|
14
14
|
import './slicedToArray-a58d7edf.js';
|
|
15
15
|
import { A as AuthorComponent } from './AuthorComponent-4ddf3533.js';
|
package/dist/esm/IssueDeck.js
CHANGED
|
@@ -11,9 +11,9 @@ import 'prop-types';
|
|
|
11
11
|
import Row from 'react-bootstrap/Row';
|
|
12
12
|
import Col from 'react-bootstrap/Col';
|
|
13
13
|
import Card from 'react-bootstrap/Card';
|
|
14
|
-
import { I as InfiniteScroll } from './index.es-
|
|
14
|
+
import { I as InfiniteScroll } from './index.es-938a3a58.js';
|
|
15
15
|
import 'react-dom';
|
|
16
|
-
import { i as imageUrlBuilder } from './index-
|
|
16
|
+
import { i as imageUrlBuilder } from './index-51a80699.js';
|
|
17
17
|
import { L as LazyLoad } from './index-5f9f807a.js';
|
|
18
18
|
import { _ as _slicedToArray } from './slicedToArray-a58d7edf.js';
|
|
19
19
|
import Button from 'react-bootstrap/Button';
|
|
@@ -232,7 +232,7 @@ var IssueDeck = function IssueDeck(props) {
|
|
|
232
232
|
),
|
|
233
233
|
row.pdf && row.pdf.asset && React__default.createElement(
|
|
234
234
|
'a',
|
|
235
|
-
{ href: row.pdf.asset.url, target: '_blank', className: 'btn btn-primary', style: { marginTop: '20px' } },
|
|
235
|
+
{ rel: 'noopener', href: row.pdf.asset.url, target: '_blank', className: 'btn btn-primary', style: { marginTop: '20px' } },
|
|
236
236
|
'Download Issue'
|
|
237
237
|
)
|
|
238
238
|
)
|
package/dist/esm/IssueLanding.js
CHANGED
|
@@ -8,19 +8,19 @@ import './_object-pie-33c40e79.js';
|
|
|
8
8
|
import './extends-229166d5.js';
|
|
9
9
|
import './web.dom.iterable-5c830d3d.js';
|
|
10
10
|
import React__default from 'react';
|
|
11
|
-
import './index-
|
|
11
|
+
import './index-93ec3c59.js';
|
|
12
12
|
import 'prop-types';
|
|
13
13
|
import 'react-bootstrap/Card';
|
|
14
|
-
import './moment-
|
|
14
|
+
import './moment-12415288.js';
|
|
15
15
|
import 'next/router';
|
|
16
16
|
import './isSymbol-47f5ff3b.js';
|
|
17
17
|
import './debounce-a0d9abca.js';
|
|
18
|
-
import './index.es-
|
|
18
|
+
import './index.es-938a3a58.js';
|
|
19
19
|
import 'react-dom';
|
|
20
20
|
import './visibility-sensor-0baa4eea.js';
|
|
21
|
-
import './index-
|
|
21
|
+
import './index-51a80699.js';
|
|
22
22
|
import './index-5f9f807a.js';
|
|
23
|
-
import './main-
|
|
23
|
+
import './main-7255814e.js';
|
|
24
24
|
import './entities-7cc3bf45.js';
|
|
25
25
|
import './slicedToArray-a58d7edf.js';
|
|
26
26
|
import './stringify-feadff37.js';
|
|
@@ -28,44 +28,44 @@ import './asyncToGenerator-d25aac66.js';
|
|
|
28
28
|
import './_set-species-75f77d40.js';
|
|
29
29
|
import './beam-c40d77ae.js';
|
|
30
30
|
import './AdSlot.js';
|
|
31
|
-
import './ADInfeed-
|
|
31
|
+
import './ADInfeed-0c1bcd33.js';
|
|
32
32
|
import './lodash-17fdfebb.js';
|
|
33
|
-
import './ADlgInfeed-
|
|
33
|
+
import './ADlgInfeed-a2518bca.js';
|
|
34
34
|
import './AuthorComponent-4ddf3533.js';
|
|
35
35
|
import 'react-bootstrap';
|
|
36
36
|
import QueueDeckExpanded from './QueueDeckExpanded.js';
|
|
37
37
|
import 'react-bootstrap/Breadcrumb';
|
|
38
38
|
import Breadcrumbs from './Breadcrumbs.js';
|
|
39
39
|
|
|
40
|
-
/* usage
|
|
41
|
-
import Settings, { Ads } from '../../../../settings'
|
|
42
|
-
import { IssueLanding, getQuery } from '@mjhls/mjh-framework'
|
|
43
|
-
import client from '../../../../client'
|
|
44
|
-
import moment from 'moment'
|
|
45
|
-
import Shell from '../../../../components/2.0/Shell'
|
|
46
|
-
import { pageview } from '../../../../utilities/gtag'
|
|
47
|
-
|
|
48
|
-
const Issue = (props) => {
|
|
49
|
-
const { pubIssue, cache } = props
|
|
50
|
-
const targeting = {
|
|
51
|
-
content_placement: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
|
|
52
|
-
document_url: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
|
|
53
|
-
}
|
|
54
|
-
return (
|
|
55
|
-
<Shell cache={cache} settings={Settings} targeting={targeting} ads={Ads} layout='3' title={pubIssue.issue.name}>
|
|
56
|
-
<IssueLanding pubIssue={pubIssue} client={client} settings={Settings} pageview={pageview} rightItems={Ads.getMobileAds(targeting)} />
|
|
57
|
-
</Shell>
|
|
58
|
-
)
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
Issue.getInitialProps = async (ctx) => {
|
|
62
|
-
const { query } = ctx
|
|
63
|
-
const pubIssue = await client.fetch(getQuery('issue'), { ...query, currentDate: moment().utc().format() }
|
|
64
|
-
)
|
|
65
|
-
return { pubIssue }
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
export default Issue
|
|
40
|
+
/* usage
|
|
41
|
+
import Settings, { Ads } from '../../../../settings'
|
|
42
|
+
import { IssueLanding, getQuery } from '@mjhls/mjh-framework'
|
|
43
|
+
import client from '../../../../client'
|
|
44
|
+
import moment from 'moment'
|
|
45
|
+
import Shell from '../../../../components/2.0/Shell'
|
|
46
|
+
import { pageview } from '../../../../utilities/gtag'
|
|
47
|
+
|
|
48
|
+
const Issue = (props) => {
|
|
49
|
+
const { pubIssue, cache } = props
|
|
50
|
+
const targeting = {
|
|
51
|
+
content_placement: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
|
|
52
|
+
document_url: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
|
|
53
|
+
}
|
|
54
|
+
return (
|
|
55
|
+
<Shell cache={cache} settings={Settings} targeting={targeting} ads={Ads} layout='3' title={pubIssue.issue.name}>
|
|
56
|
+
<IssueLanding pubIssue={pubIssue} client={client} settings={Settings} pageview={pageview} rightItems={Ads.getMobileAds(targeting)} />
|
|
57
|
+
</Shell>
|
|
58
|
+
)
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
Issue.getInitialProps = async (ctx) => {
|
|
62
|
+
const { query } = ctx
|
|
63
|
+
const pubIssue = await client.fetch(getQuery('issue'), { ...query, currentDate: moment().utc().format() }
|
|
64
|
+
)
|
|
65
|
+
return { pubIssue }
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export default Issue
|
|
69
69
|
*/
|
|
70
70
|
|
|
71
71
|
var IssueLanding = function IssueLanding(props) {
|
package/dist/esm/KMTracker.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
var KMTracker = function KMTracker(props) {
|
|
2
|
-
|
|
2
|
+
var id = props.id;
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
if (document && id) {
|
|
5
5
|
(function () {
|
|
6
|
-
|
|
6
|
+
var ecnJquery = document.createElement('script');
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
ecnJquery.type = 'text/javascript';
|
|
9
|
+
ecnJquery.async = true;
|
|
10
|
+
ecnJquery.src = 'https://apidt.ecn5.com/ECN_jQuery.min.js';
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
var ecnScript = document.createElement('script');
|
|
13
13
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
14
|
+
ecnScript.type = 'text/javascript';
|
|
15
|
+
ecnScript.async = true;
|
|
16
|
+
ecnScript.id = 'km-tracker';
|
|
17
|
+
ecnScript.src = 'https://apidt.ecn5.com/ECN_tracker_Secure.js?TrackerKey=' + id;
|
|
18
18
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
19
|
+
document.head.appendChild(ecnJquery);
|
|
20
|
+
document.head.appendChild(ecnScript);
|
|
21
|
+
})();
|
|
22
|
+
}
|
|
23
23
|
};
|
|
24
24
|
|
|
25
25
|
export default KMTracker;
|
package/dist/esm/LeftNav.js
CHANGED
|
@@ -5,11 +5,11 @@ import './_library-528f1934.js';
|
|
|
5
5
|
import './_iter-detect-70af34ea.js';
|
|
6
6
|
import './web.dom.iterable-5c830d3d.js';
|
|
7
7
|
import React__default, { useRef, useEffect } from 'react';
|
|
8
|
-
import './index-
|
|
8
|
+
import './index-93ec3c59.js';
|
|
9
9
|
import 'prop-types';
|
|
10
10
|
import './isSymbol-47f5ff3b.js';
|
|
11
11
|
import './debounce-a0d9abca.js';
|
|
12
|
-
import './main-
|
|
12
|
+
import './main-7255814e.js';
|
|
13
13
|
import './slicedToArray-a58d7edf.js';
|
|
14
14
|
import './stringify-feadff37.js';
|
|
15
15
|
import './asyncToGenerator-d25aac66.js';
|
package/dist/esm/MasterDeck.js
CHANGED
|
@@ -7,35 +7,36 @@ import { _ as _toConsumableArray } from './toConsumableArray-2efd7c98.js';
|
|
|
7
7
|
import './_object-pie-33c40e79.js';
|
|
8
8
|
import { _ as _extends } from './extends-229166d5.js';
|
|
9
9
|
import './_object-sap-4793c75a.js';
|
|
10
|
-
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-
|
|
10
|
+
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-a15d91fe.js';
|
|
11
|
+
import './define-property-99e9c0ad.js';
|
|
11
12
|
import './web.dom.iterable-5c830d3d.js';
|
|
12
13
|
import './typeof-f11fd438.js';
|
|
13
14
|
import './_is-array-ced12663.js';
|
|
14
15
|
import React__default from 'react';
|
|
15
|
-
import { l as lib_3 } from './index-
|
|
16
|
+
import { l as lib_3 } from './index-93ec3c59.js';
|
|
16
17
|
import 'prop-types';
|
|
17
18
|
import Container from 'react-bootstrap/Container';
|
|
18
19
|
import 'react-bootstrap/Row';
|
|
19
20
|
import 'react-bootstrap/Col';
|
|
20
21
|
import 'react-bootstrap/Card';
|
|
21
|
-
import './moment-
|
|
22
|
+
import './moment-12415288.js';
|
|
22
23
|
import { withRouter } from 'next/router';
|
|
23
24
|
import './isSymbol-47f5ff3b.js';
|
|
24
25
|
import { d as debounce_1 } from './debounce-a0d9abca.js';
|
|
25
|
-
import { I as InfiniteScroll } from './index.es-
|
|
26
|
+
import { I as InfiniteScroll } from './index.es-938a3a58.js';
|
|
26
27
|
import 'react-dom';
|
|
27
28
|
import { V as VisibilitySensor } from './visibility-sensor-0baa4eea.js';
|
|
28
|
-
import './index-
|
|
29
|
-
import { m as
|
|
29
|
+
import './index-51a80699.js';
|
|
30
|
+
import { m as main_39 } from './main-7255814e.js';
|
|
30
31
|
import './slicedToArray-a58d7edf.js';
|
|
31
32
|
import './stringify-feadff37.js';
|
|
32
33
|
import { _ as _Promise } from './asyncToGenerator-d25aac66.js';
|
|
33
34
|
import './_set-species-75f77d40.js';
|
|
34
35
|
import './beam-c40d77ae.js';
|
|
35
36
|
import './AdSlot.js';
|
|
36
|
-
import { A as ADInfeed } from './ADInfeed-
|
|
37
|
+
import { A as ADInfeed } from './ADInfeed-0c1bcd33.js';
|
|
37
38
|
import { l as lodash } from './lodash-17fdfebb.js';
|
|
38
|
-
import { A as ADlgInfeed } from './ADlgInfeed-
|
|
39
|
+
import { A as ADlgInfeed } from './ADlgInfeed-a2518bca.js';
|
|
39
40
|
|
|
40
41
|
var MasterDeck = function (_React$Component) {
|
|
41
42
|
_inherits(MasterDeck, _React$Component);
|
|
@@ -191,14 +192,14 @@ var MasterDeck = function (_React$Component) {
|
|
|
191
192
|
}
|
|
192
193
|
|
|
193
194
|
// please leave this for later debug purpose : Yong Jun.
|
|
194
|
-
/* console.log('page change reported', {
|
|
195
|
-
currentPage: currentPage,
|
|
196
|
-
pageNumber: pageNumber,
|
|
197
|
-
pathname: pathname,
|
|
198
|
-
path: path,
|
|
199
|
-
newPath: newPath,
|
|
200
|
-
firstPage: pageNumber === 1,
|
|
201
|
-
queryString: queryString
|
|
195
|
+
/* console.log('page change reported', {
|
|
196
|
+
currentPage: currentPage,
|
|
197
|
+
pageNumber: pageNumber,
|
|
198
|
+
pathname: pathname,
|
|
199
|
+
path: path,
|
|
200
|
+
newPath: newPath,
|
|
201
|
+
firstPage: pageNumber === 1,
|
|
202
|
+
queryString: queryString
|
|
202
203
|
}) */
|
|
203
204
|
|
|
204
205
|
if (pageview) {
|
|
@@ -314,7 +315,7 @@ var MasterDeck = function (_React$Component) {
|
|
|
314
315
|
React__default.Fragment,
|
|
315
316
|
{ key: index },
|
|
316
317
|
React__default.createElement(_this2.Deck, { data: row, variant: variant, index: index, client: _this.props.client, defaultImage: _this.defaultImage }),
|
|
317
|
-
|
|
318
|
+
main_39 && _this.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && React__default.createElement(
|
|
318
319
|
'div',
|
|
319
320
|
{ className: 'ad-container', style: { margin: '0 auto' } },
|
|
320
321
|
_this.renderMobileAd(index, numberOfItemsBeforeAd, _this.rightItems)
|
package/dist/esm/NavMagazine.js
CHANGED
|
@@ -7,7 +7,7 @@ import './web.dom.iterable-5c830d3d.js';
|
|
|
7
7
|
import React__default, { useRef, useState, useEffect } from 'react';
|
|
8
8
|
import 'prop-types';
|
|
9
9
|
import Container from 'react-bootstrap/Container';
|
|
10
|
-
import { a as
|
|
10
|
+
import { a as main_40 } from './main-7255814e.js';
|
|
11
11
|
import { _ as _slicedToArray } from './slicedToArray-a58d7edf.js';
|
|
12
12
|
import './stringify-feadff37.js';
|
|
13
13
|
import './asyncToGenerator-d25aac66.js';
|
|
@@ -29,16 +29,16 @@ import Form from 'react-bootstrap/Form';
|
|
|
29
29
|
import FormControl from 'react-bootstrap/FormControl';
|
|
30
30
|
|
|
31
31
|
var NavMagazine = function NavMagazine(props) {
|
|
32
|
-
/*
|
|
33
|
-
Example Nav with acceptable props
|
|
34
|
-
<MagazineNav
|
|
35
|
-
showLogin
|
|
36
|
-
user={props.cache.user}
|
|
37
|
-
logo={props.settings.logo}
|
|
38
|
-
dataObject={props.cache.mainNavCache}
|
|
39
|
-
website={website}
|
|
40
|
-
subNav={props.cache.subNavCache}
|
|
41
|
-
/>
|
|
32
|
+
/*
|
|
33
|
+
Example Nav with acceptable props
|
|
34
|
+
<MagazineNav
|
|
35
|
+
showLogin
|
|
36
|
+
user={props.cache.user}
|
|
37
|
+
logo={props.settings.logo}
|
|
38
|
+
dataObject={props.cache.mainNavCache}
|
|
39
|
+
website={website}
|
|
40
|
+
subNav={props.cache.subNavCache}
|
|
41
|
+
/>
|
|
42
42
|
*/
|
|
43
43
|
|
|
44
44
|
// Setting 'socialIconVariant' as 'light' as default to make the social icons and search icon black
|
|
@@ -399,7 +399,7 @@ var NavMagazine = function NavMagazine(props) {
|
|
|
399
399
|
),
|
|
400
400
|
React__default.createElement(
|
|
401
401
|
Navbar,
|
|
402
|
-
{ id: 'navbar-ham', className:
|
|
402
|
+
{ id: 'navbar-ham', className: main_40 ? 'bottom-nav ios-nav' : 'bottom-nav ', variant: 'dark', expand: 'xl', bg: 'primary', sticky: 'top', ref: navRef },
|
|
403
403
|
React__default.createElement(
|
|
404
404
|
Container,
|
|
405
405
|
{ className: 'mobile-nav android-nav', style: { display: 'flex' } },
|
package/dist/esm/NavNative.js
CHANGED
|
@@ -7,7 +7,7 @@ import './web.dom.iterable-5c830d3d.js';
|
|
|
7
7
|
import React__default, { useRef, useState, useEffect } from 'react';
|
|
8
8
|
import 'prop-types';
|
|
9
9
|
import Container from 'react-bootstrap/Container';
|
|
10
|
-
import { a as
|
|
10
|
+
import { a as main_40 } from './main-7255814e.js';
|
|
11
11
|
import { _ as _slicedToArray } from './slicedToArray-a58d7edf.js';
|
|
12
12
|
import './stringify-feadff37.js';
|
|
13
13
|
import './asyncToGenerator-d25aac66.js';
|
|
@@ -27,15 +27,15 @@ import Form from 'react-bootstrap/Form';
|
|
|
27
27
|
import FormControl from 'react-bootstrap/FormControl';
|
|
28
28
|
|
|
29
29
|
var NavNative = function NavNative(props) {
|
|
30
|
-
/*
|
|
31
|
-
Example Nav with acceptable props
|
|
32
|
-
<MagazineNav
|
|
33
|
-
showLogin
|
|
34
|
-
logo={props.settings.logo}
|
|
35
|
-
dataObject={props.cache.mainNavCache}
|
|
36
|
-
website={website}
|
|
37
|
-
subNav={props.cache.subNavCache}
|
|
38
|
-
/>
|
|
30
|
+
/*
|
|
31
|
+
Example Nav with acceptable props
|
|
32
|
+
<MagazineNav
|
|
33
|
+
showLogin
|
|
34
|
+
logo={props.settings.logo}
|
|
35
|
+
dataObject={props.cache.mainNavCache}
|
|
36
|
+
website={website}
|
|
37
|
+
subNav={props.cache.subNavCache}
|
|
38
|
+
/>
|
|
39
39
|
*/
|
|
40
40
|
// Setting 'socialIconVariant' as 'dark' as default to make the social icons and search icon black
|
|
41
41
|
var logo = props.logo,
|
|
@@ -251,7 +251,7 @@ var NavNative = function NavNative(props) {
|
|
|
251
251
|
React__default.createElement(
|
|
252
252
|
Navbar,
|
|
253
253
|
{
|
|
254
|
-
className:
|
|
254
|
+
className: main_40 ? 'bottom-nav ios-nav' : 'bottom-nav android-nav',
|
|
255
255
|
variant: 'dark',
|
|
256
256
|
expand: 'lg',
|
|
257
257
|
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-12415288.js';
|
|
4
|
+
import { i as imageUrlBuilder } from './index-51a80699.js';
|
|
5
5
|
import './iconBase-602d52fe.js';
|
|
6
6
|
import 'react-bootstrap/Badge';
|
|
7
7
|
import './index.esm-9a4c8813.js';
|
|
@@ -4,9 +4,9 @@ import './core.get-iterator-method-66cf57ee.js';
|
|
|
4
4
|
import './web.dom.iterable-5c830d3d.js';
|
|
5
5
|
import React__default from 'react';
|
|
6
6
|
import 'prop-types';
|
|
7
|
-
import { m as moment } from './moment-
|
|
7
|
+
import { m as moment } from './moment-12415288.js';
|
|
8
8
|
import 'react-dom';
|
|
9
|
-
import { i as imageUrlBuilder } from './index-
|
|
9
|
+
import { i as imageUrlBuilder } from './index-51a80699.js';
|
|
10
10
|
import { L as LazyLoad } from './index-5f9f807a.js';
|
|
11
11
|
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
12
12
|
import './slicedToArray-a58d7edf.js';
|