@mjhls/mjh-framework 1.0.651 → 1.0.653
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/ArticleSeriesListing.js +4 -4
- package/dist/cjs/Auth.js +507 -256
- package/dist/cjs/{BlockContent-091a991f.js → BlockContent-88f69acd.js} +1 -1
- package/dist/cjs/CMEDeck.js +5 -5
- package/dist/cjs/Column3.js +4 -4
- package/dist/cjs/ConferenceArticleCard.js +17 -17
- package/dist/cjs/DeckContent.js +15 -15
- package/dist/cjs/DeckQueue.js +6 -6
- package/dist/cjs/{Dfp-390337bf.js → Dfp-b2bc3b97.js} +1 -1
- package/dist/cjs/EventsDeck.js +22 -22
- 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 +18 -16
- package/dist/cjs/GridHero.js +2 -2
- package/dist/cjs/GroupDeck.js +1 -1
- package/dist/cjs/HamMagazine.js +13 -13
- 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 +39 -37
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +2 -2
- package/dist/cjs/MasterDeck.js +16 -16
- package/dist/cjs/NavMagazine.js +14 -14
- 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 +16 -1212
- package/dist/cjs/PublicationDeck.js +1 -1
- package/dist/cjs/PublicationLanding.js +33 -33
- package/dist/cjs/QueueDeckExpanded.js +22 -19
- 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 +2 -2
- package/dist/cjs/{SocialSearchComponent-81a50f81.js → SocialSearchComponent-962b1344.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 +3 -3
- package/dist/cjs/VideoSeriesListing.js +3 -3
- package/dist/cjs/View.js +43 -43
- package/dist/cjs/YahooHero.js +2 -2
- package/dist/cjs/YoutubeGroup.js +5 -5
- package/dist/cjs/getContentCategory-f38a4c00.js +11 -0
- package/dist/cjs/getRelatedArticle.js +19 -359
- package/dist/cjs/getSerializers.js +6 -6
- package/dist/cjs/{getTargeting-bf55f61b.js → getTargeting-fee8c429.js} +11 -11
- package/dist/cjs/getTargeting.js +1 -1
- package/dist/cjs/{index-099d45ae.js → index-2d0a4911.js} +4 -6
- package/dist/cjs/{index-3294d3bc.js → index-5be2866f.js} +1 -1
- package/dist/cjs/{index-6268b081.js → index-94418bc4.js} +462 -450
- package/dist/cjs/{index-be0c82be.js → index-b5eb3ff8.js} +20 -19
- package/dist/cjs/{index.es-9110add6.js → index.es-ab3f2690.js} +3 -1
- package/dist/cjs/index.js +17 -15
- package/dist/cjs/{main-a4cb15bb.js → main-b6c96c8d.js} +67 -36
- package/dist/cjs/{moment-575fe24c.js → moment-66a6a284.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 +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/ArticleSeriesListing.js +4 -4
- package/dist/esm/Auth.js +499 -248
- package/dist/esm/{BlockContent-e9b4ddcf.js → BlockContent-a614acdf.js} +1 -1
- package/dist/esm/CMEDeck.js +5 -5
- package/dist/esm/Column3.js +4 -4
- package/dist/esm/ConferenceArticleCard.js +17 -17
- package/dist/esm/DeckContent.js +15 -15
- package/dist/esm/DeckQueue.js +6 -6
- package/dist/esm/{Dfp-741c01be.js → Dfp-8a8fca18.js} +1 -1
- package/dist/esm/EventsDeck.js +22 -22
- 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 +18 -16
- package/dist/esm/GridHero.js +2 -2
- package/dist/esm/GroupDeck.js +1 -1
- package/dist/esm/HamMagazine.js +13 -13
- 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 +39 -37
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +2 -2
- package/dist/esm/MasterDeck.js +16 -16
- package/dist/esm/NavMagazine.js +14 -14
- 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 +14 -1209
- package/dist/esm/PublicationDeck.js +1 -1
- package/dist/esm/PublicationLanding.js +33 -33
- package/dist/esm/QueueDeckExpanded.js +22 -19
- 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 +2 -2
- package/dist/esm/{SocialSearchComponent-55960ec4.js → SocialSearchComponent-75527dfe.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 +3 -3
- package/dist/esm/VideoSeriesListing.js +3 -3
- package/dist/esm/View.js +17 -17
- package/dist/esm/YahooHero.js +2 -2
- package/dist/esm/YoutubeGroup.js +5 -5
- package/dist/esm/getContentCategory-15dcc413.js +9 -0
- package/dist/esm/getRelatedArticle.js +19 -359
- package/dist/esm/getSerializers.js +6 -6
- package/dist/esm/{getTargeting-d965e979.js → getTargeting-2acdec91.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-d40ad8fd.js → index-d493a594.js} +462 -450
- package/dist/esm/{index.es-29c1cef5.js → index.es-938a3a58.js} +3 -1
- package/dist/esm/index.js +16 -14
- package/dist/esm/{main-5d1e4bd3.js → main-0465b2a0.js} +65 -34
- package/dist/esm/{moment-e2f9b20c.js → moment-12415288.js} +1 -1
- package/dist/esm/urlFor.js +1 -1
- 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-f886da72.js → ADInfeed-eaa6c661.js} +0 -0
- /package/dist/cjs/{ADlgInfeed-7aa459cc.js → ADlgInfeed-f25eb4f7.js} +0 -0
- /package/dist/esm/{ADInfeed-67097b02.js → ADInfeed-c27997a3.js} +0 -0
- /package/dist/esm/{ADlgInfeed-0bd34fef.js → ADlgInfeed-41c3909c.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-93ec3c59.js';
|
|
13
13
|
import 'prop-types';
|
|
14
14
|
import 'react-bootstrap/Card';
|
|
15
|
-
import './moment-
|
|
15
|
+
import './moment-12415288.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-938a3a58.js';
|
|
20
20
|
import 'react-dom';
|
|
21
21
|
import './visibility-sensor-0baa4eea.js';
|
|
22
|
-
import './index-
|
|
22
|
+
import './index-51a80699.js';
|
|
23
23
|
import './index-5f9f807a.js';
|
|
24
|
-
import './main-
|
|
24
|
+
import './main-0465b2a0.js';
|
|
25
25
|
import './entities-7cc3bf45.js';
|
|
26
26
|
import './stringify-008c8802.js';
|
|
27
27
|
import './slicedToArray-7021e5df.js';
|
|
@@ -29,44 +29,45 @@ 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-c27997a3.js';
|
|
33
33
|
import './lodash-17fdfebb.js';
|
|
34
|
-
import './ADlgInfeed-
|
|
34
|
+
import './ADlgInfeed-41c3909c.js';
|
|
35
|
+
import './getContentCategory-15dcc413.js';
|
|
35
36
|
import './AuthorComponent-00f13201.js';
|
|
36
37
|
import 'react-bootstrap';
|
|
37
38
|
import QueueDeckExpanded from './QueueDeckExpanded.js';
|
|
38
39
|
import 'react-bootstrap/Breadcrumb';
|
|
39
40
|
import Breadcrumbs from './Breadcrumbs.js';
|
|
40
41
|
|
|
41
|
-
/* usage
|
|
42
|
-
import Settings, { Ads } from '../../../../settings'
|
|
43
|
-
import { IssueLanding, getQuery } from '@mjhls/mjh-framework'
|
|
44
|
-
import client from '../../../../client'
|
|
45
|
-
import moment from 'moment'
|
|
46
|
-
import Shell from '../../../../components/2.0/Shell'
|
|
47
|
-
import { pageview } from '../../../../utilities/gtag'
|
|
48
|
-
|
|
49
|
-
const Issue = (props) => {
|
|
50
|
-
const { pubIssue, cache } = props
|
|
51
|
-
const targeting = {
|
|
52
|
-
content_placement: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
|
|
53
|
-
document_url: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
|
|
54
|
-
}
|
|
55
|
-
return (
|
|
56
|
-
<Shell cache={cache} settings={Settings} targeting={targeting} ads={Ads} layout='3' title={pubIssue.issue.name}>
|
|
57
|
-
<IssueLanding pubIssue={pubIssue} client={client} settings={Settings} pageview={pageview} rightItems={Ads.getMobileAds(targeting)} />
|
|
58
|
-
</Shell>
|
|
59
|
-
)
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
Issue.getInitialProps = async (ctx) => {
|
|
63
|
-
const { query } = ctx
|
|
64
|
-
const pubIssue = await client.fetch(getQuery('issue'), { ...query, currentDate: moment().utc().format() }
|
|
65
|
-
)
|
|
66
|
-
return { pubIssue }
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
export default Issue
|
|
42
|
+
/* usage
|
|
43
|
+
import Settings, { Ads } from '../../../../settings'
|
|
44
|
+
import { IssueLanding, getQuery } from '@mjhls/mjh-framework'
|
|
45
|
+
import client from '../../../../client'
|
|
46
|
+
import moment from 'moment'
|
|
47
|
+
import Shell from '../../../../components/2.0/Shell'
|
|
48
|
+
import { pageview } from '../../../../utilities/gtag'
|
|
49
|
+
|
|
50
|
+
const Issue = (props) => {
|
|
51
|
+
const { pubIssue, cache } = props
|
|
52
|
+
const targeting = {
|
|
53
|
+
content_placement: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
|
|
54
|
+
document_url: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
|
|
55
|
+
}
|
|
56
|
+
return (
|
|
57
|
+
<Shell cache={cache} settings={Settings} targeting={targeting} ads={Ads} layout='3' title={pubIssue.issue.name}>
|
|
58
|
+
<IssueLanding pubIssue={pubIssue} client={client} settings={Settings} pageview={pageview} rightItems={Ads.getMobileAds(targeting)} />
|
|
59
|
+
</Shell>
|
|
60
|
+
)
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
Issue.getInitialProps = async (ctx) => {
|
|
64
|
+
const { query } = ctx
|
|
65
|
+
const pubIssue = await client.fetch(getQuery('issue'), { ...query, currentDate: moment().utc().format() }
|
|
66
|
+
)
|
|
67
|
+
return { pubIssue }
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export default Issue
|
|
70
71
|
*/
|
|
71
72
|
|
|
72
73
|
var IssueLanding = function IssueLanding(props) {
|
|
@@ -117,7 +118,8 @@ var IssueLanding = function IssueLanding(props) {
|
|
|
117
118
|
rightItems: rightItems,
|
|
118
119
|
showPubInfo: showPubInfo,
|
|
119
120
|
columns: 'rotate',
|
|
120
|
-
variant: 'top'
|
|
121
|
+
variant: 'top',
|
|
122
|
+
contentCategoryMapping: settings.contentCategoryMapping ? settings.contentCategoryMapping : []
|
|
121
123
|
})
|
|
122
124
|
);
|
|
123
125
|
};
|
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
|
@@ -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-93ec3c59.js';
|
|
10
10
|
import 'prop-types';
|
|
11
11
|
import './isSymbol-807e927e.js';
|
|
12
12
|
import './debounce-1a993acf.js';
|
|
13
|
-
import './main-
|
|
13
|
+
import './main-0465b2a0.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-93ec3c59.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-12415288.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-938a3a58.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-51a80699.js';
|
|
31
|
+
import { m as main_39 } from './main-0465b2a0.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-c27997a3.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-41c3909c.js';
|
|
41
41
|
|
|
42
42
|
var MasterDeck = function (_React$Component) {
|
|
43
43
|
_inherits(MasterDeck, _React$Component);
|
|
@@ -193,14 +193,14 @@ var MasterDeck = function (_React$Component) {
|
|
|
193
193
|
}
|
|
194
194
|
|
|
195
195
|
// please leave this for later debug purpose : Yong Jun.
|
|
196
|
-
/* console.log('page change reported', {
|
|
197
|
-
currentPage: currentPage,
|
|
198
|
-
pageNumber: pageNumber,
|
|
199
|
-
pathname: pathname,
|
|
200
|
-
path: path,
|
|
201
|
-
newPath: newPath,
|
|
202
|
-
firstPage: pageNumber === 1,
|
|
203
|
-
queryString: queryString
|
|
196
|
+
/* console.log('page change reported', {
|
|
197
|
+
currentPage: currentPage,
|
|
198
|
+
pageNumber: pageNumber,
|
|
199
|
+
pathname: pathname,
|
|
200
|
+
path: path,
|
|
201
|
+
newPath: newPath,
|
|
202
|
+
firstPage: pageNumber === 1,
|
|
203
|
+
queryString: queryString
|
|
204
204
|
}) */
|
|
205
205
|
|
|
206
206
|
if (pageview) {
|
|
@@ -316,7 +316,7 @@ var MasterDeck = function (_React$Component) {
|
|
|
316
316
|
React__default.Fragment,
|
|
317
317
|
{ key: index },
|
|
318
318
|
React__default.createElement(_this2.Deck, { data: row, variant: variant, index: index, client: _this.props.client, defaultImage: _this.defaultImage }),
|
|
319
|
-
|
|
319
|
+
main_39 && _this.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && React__default.createElement(
|
|
320
320
|
'div',
|
|
321
321
|
{ className: 'ad-container', style: { margin: '0 auto' } },
|
|
322
322
|
_this.renderMobileAd(index, numberOfItemsBeforeAd, _this.rightItems)
|
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_40 } from './main-0465b2a0.js';
|
|
12
12
|
import './stringify-008c8802.js';
|
|
13
13
|
import { _ as _slicedToArray } from './slicedToArray-7021e5df.js';
|
|
14
14
|
import './asyncToGenerator-7c654f36.js';
|
|
@@ -27,19 +27,19 @@ 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-75527dfe.js';
|
|
31
31
|
|
|
32
32
|
var NavMagazine = function NavMagazine(props) {
|
|
33
|
-
/*
|
|
34
|
-
Example Nav with acceptable props
|
|
35
|
-
<MagazineNav
|
|
36
|
-
showLogin
|
|
37
|
-
user={props.cache.user}
|
|
38
|
-
logo={props.settings.logo}
|
|
39
|
-
dataObject={props.cache.mainNavCache}
|
|
40
|
-
website={website}
|
|
41
|
-
subNav={props.cache.subNavCache}
|
|
42
|
-
/>
|
|
33
|
+
/*
|
|
34
|
+
Example Nav with acceptable props
|
|
35
|
+
<MagazineNav
|
|
36
|
+
showLogin
|
|
37
|
+
user={props.cache.user}
|
|
38
|
+
logo={props.settings.logo}
|
|
39
|
+
dataObject={props.cache.mainNavCache}
|
|
40
|
+
website={website}
|
|
41
|
+
subNav={props.cache.subNavCache}
|
|
42
|
+
/>
|
|
43
43
|
*/
|
|
44
44
|
|
|
45
45
|
// Setting 'socialIconVariant' as 'light' as default to make the social icons and search icon black
|
|
@@ -306,7 +306,7 @@ var NavMagazine = function NavMagazine(props) {
|
|
|
306
306
|
{
|
|
307
307
|
id: 'navbar-ham',
|
|
308
308
|
style: { width: '100%', display: 'flex', top: topOffset, overflow: 'auto', zIndex: '999999' },
|
|
309
|
-
className:
|
|
309
|
+
className: main_40 ? 'bottom-nav ios-nav' : 'bottom-nav ',
|
|
310
310
|
variant: 'dark',
|
|
311
311
|
expand: 'xl',
|
|
312
312
|
bg: 'primary',
|
|
@@ -322,7 +322,7 @@ var NavMagazine = function NavMagazine(props) {
|
|
|
322
322
|
'aria-controls': 'basic-navbar-nav',
|
|
323
323
|
onClick: function onClick() {
|
|
324
324
|
// Set overflow fix for iPhones safari browsers
|
|
325
|
-
if (
|
|
325
|
+
if (main_40) {
|
|
326
326
|
var mainNav = document.querySelector('#navbar-ham');
|
|
327
327
|
if (mainNav && mainNav.style) mainNav.style.overflow = 'auto';
|
|
328
328
|
}
|
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_40 } from './main-0465b2a0.js';
|
|
12
12
|
import './stringify-008c8802.js';
|
|
13
13
|
import { _ as _slicedToArray } from './slicedToArray-7021e5df.js';
|
|
14
14
|
import './asyncToGenerator-7c654f36.js';
|
|
@@ -27,15 +27,15 @@ import SocialIcons from './SocialIcons.js';
|
|
|
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';
|
|
@@ -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-12415288.js';
|
|
9
9
|
import 'react-dom';
|
|
10
|
-
import { i as imageUrlBuilder } from './index-
|
|
10
|
+
import { i as imageUrlBuilder } from './index-51a80699.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';
|