@mjhls/mjh-framework 1.0.596 → 1.0.597
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 +13 -13
- package/dist/cjs/Auth.js +256 -507
- package/dist/cjs/{BlockContent-f942392e.js → BlockContent-77f81ffc.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 +16 -16
- package/dist/cjs/DeckQueue.js +7 -7
- package/dist/cjs/{Dfp-fbe32b96.js → Dfp-fcdeabc4.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 +11 -11
- 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/{InscreenSensor-e45e95e3.js → InscreenSensor-22a96661.js} +1 -1
- package/dist/cjs/IssueContentDeck.js +2 -2
- package/dist/cjs/IssueDeck.js +2 -2
- 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 +17 -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 +1306 -29
- package/dist/cjs/PublicationDeck.js +1 -1
- package/dist/cjs/PublicationLanding.js +33 -33
- package/dist/cjs/QueueDeckExpanded.js +9 -9
- 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/TaxonomyCard.js +2 -2
- package/dist/cjs/TemplateNormal.js +2 -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 +5 -5
- package/dist/cjs/View.js +43 -43
- package/dist/cjs/YahooHero.js +2 -2
- package/dist/cjs/YoutubeGroup.js +5 -5
- package/dist/cjs/getRelatedArticle.js +354 -5
- package/dist/cjs/getSerializers.js +6 -6
- package/dist/cjs/{getTargeting-b15993cb.js → getTargeting-3d208b98.js} +11 -11
- 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-e7f86168.js → index-c4972b44.js} +441 -453
- package/dist/cjs/{index-f7ee1612.js → index-fa3cec70.js} +6 -4
- package/dist/cjs/{index.es-ab3f2690.js → index.es-9110add6.js} +1 -3
- package/dist/cjs/index.js +16 -17
- package/dist/cjs/{inherits-93684212.js → inherits-14962339.js} +4 -4
- package/dist/cjs/{main-bc4db521.js → main-88348b15.js} +35 -66
- package/dist/cjs/{moment-66a6a284.js → moment-575fe24c.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 +11 -11
- 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 +17 -17
- package/dist/esm/DeckContent.js +15 -15
- package/dist/esm/DeckQueue.js +6 -6
- package/dist/esm/{Dfp-56444b73.js → Dfp-a36ad202.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 +10 -10
- 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 +2 -2
- 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 +16 -16
- 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 +1304 -27
- package/dist/esm/PublicationDeck.js +1 -1
- package/dist/esm/PublicationLanding.js +33 -33
- package/dist/esm/QueueDeckExpanded.js +9 -9
- 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/TaxonomyCard.js +2 -2
- package/dist/esm/TemplateNormal.js +2 -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 +4 -4
- package/dist/esm/View.js +17 -17
- package/dist/esm/YahooHero.js +2 -2
- package/dist/esm/YoutubeGroup.js +5 -5
- package/dist/esm/getRelatedArticle.js +354 -5
- package/dist/esm/getSerializers.js +6 -6
- package/dist/esm/{getTargeting-1a0bd08d.js → getTargeting-1f2c61e3.js} +9 -9
- package/dist/esm/getTargeting.js +1 -1
- package/dist/esm/{index-93ec3c59.js → index-3f4dd6f2.js} +6 -4
- package/dist/esm/{index-51a80699.js → index-73819142.js} +19 -20
- package/dist/esm/{index-91506c27.js → index-7ca90052.js} +441 -453
- 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-7255814e.js → main-d7ee6151.js} +34 -65
- package/dist/esm/{moment-12415288.js → moment-e2f9b20c.js} +1 -1
- package/dist/esm/urlFor.js +2 -2
- package/package.json +107 -107
- /package/dist/cjs/{ADInfeed-17a378db.js → ADInfeed-df340285.js} +0 -0
- /package/dist/cjs/{ADlgInfeed-070d911c.js → ADlgInfeed-2110d08c.js} +0 -0
- /package/dist/esm/{ADInfeed-cecd42e8.js → ADInfeed-a5a1f81f.js} +0 -0
- /package/dist/esm/{ADlgInfeed-234ba767.js → ADlgInfeed-99f14909.js} +0 -0
package/dist/esm/IssueLanding.js
CHANGED
|
@@ -9,19 +9,19 @@ import './_object-pie-33c40e79.js';
|
|
|
9
9
|
import './extends-6e00b262.js';
|
|
10
10
|
import './web.dom.iterable-46c95e52.js';
|
|
11
11
|
import React__default from 'react';
|
|
12
|
-
import './index-
|
|
12
|
+
import './index-3f4dd6f2.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-47f5ff3b.js';
|
|
18
18
|
import './debounce-a0d9abca.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-d7ee6151.js';
|
|
25
25
|
import './entities-7cc3bf45.js';
|
|
26
26
|
import './slicedToArray-f1e40361.js';
|
|
27
27
|
import './stringify-e30bc114.js';
|
|
@@ -29,44 +29,44 @@ import './asyncToGenerator-0379e924.js';
|
|
|
29
29
|
import './_set-species-6f64f1c1.js';
|
|
30
30
|
import './beam-a25bd8fd.js';
|
|
31
31
|
import './AdSlot.js';
|
|
32
|
-
import './ADInfeed-
|
|
32
|
+
import './ADInfeed-a5a1f81f.js';
|
|
33
33
|
import './lodash-17fdfebb.js';
|
|
34
|
-
import './ADlgInfeed-
|
|
34
|
+
import './ADlgInfeed-99f14909.js';
|
|
35
35
|
import './AuthorComponent-357dbee9.js';
|
|
36
36
|
import 'react-bootstrap';
|
|
37
37
|
import QueueDeckExpanded from './QueueDeckExpanded.js';
|
|
38
38
|
import 'react-bootstrap/Breadcrumb';
|
|
39
39
|
import Breadcrumbs from './Breadcrumbs.js';
|
|
40
40
|
|
|
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
|
|
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
|
|
70
70
|
*/
|
|
71
71
|
|
|
72
72
|
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-6e099a34.js';
|
|
6
6
|
import './web.dom.iterable-46c95e52.js';
|
|
7
7
|
import React__default, { useRef, useEffect } from 'react';
|
|
8
|
-
import './index-
|
|
8
|
+
import './index-3f4dd6f2.js';
|
|
9
9
|
import 'prop-types';
|
|
10
10
|
import './isSymbol-47f5ff3b.js';
|
|
11
11
|
import './debounce-a0d9abca.js';
|
|
12
|
-
import './main-
|
|
12
|
+
import './main-d7ee6151.js';
|
|
13
13
|
import './slicedToArray-f1e40361.js';
|
|
14
14
|
import './stringify-e30bc114.js';
|
|
15
15
|
import './asyncToGenerator-0379e924.js';
|
package/dist/esm/MasterDeck.js
CHANGED
|
@@ -13,30 +13,30 @@ import './web.dom.iterable-46c95e52.js';
|
|
|
13
13
|
import './typeof-5f046efd.js';
|
|
14
14
|
import './_is-array-dd5523d6.js';
|
|
15
15
|
import React__default from 'react';
|
|
16
|
-
import { l as lib_3 } from './index-
|
|
16
|
+
import { l as lib_3 } from './index-3f4dd6f2.js';
|
|
17
17
|
import 'prop-types';
|
|
18
18
|
import Container from 'react-bootstrap/Container';
|
|
19
19
|
import 'react-bootstrap/Row';
|
|
20
20
|
import 'react-bootstrap/Col';
|
|
21
21
|
import 'react-bootstrap/Card';
|
|
22
|
-
import './moment-
|
|
22
|
+
import './moment-e2f9b20c.js';
|
|
23
23
|
import { withRouter } from 'next/router';
|
|
24
24
|
import './isSymbol-47f5ff3b.js';
|
|
25
25
|
import { d as debounce_1 } from './debounce-a0d9abca.js';
|
|
26
|
-
import { I as InfiniteScroll } from './index.es-
|
|
26
|
+
import { I as InfiniteScroll } from './index.es-29c1cef5.js';
|
|
27
27
|
import 'react-dom';
|
|
28
28
|
import { V as VisibilitySensor } from './visibility-sensor-0baa4eea.js';
|
|
29
|
-
import './index-
|
|
30
|
-
import { m as
|
|
29
|
+
import './index-73819142.js';
|
|
30
|
+
import { m as main_36 } from './main-d7ee6151.js';
|
|
31
31
|
import './slicedToArray-f1e40361.js';
|
|
32
32
|
import './stringify-e30bc114.js';
|
|
33
33
|
import { _ as _Promise } from './asyncToGenerator-0379e924.js';
|
|
34
34
|
import './_set-species-6f64f1c1.js';
|
|
35
35
|
import './beam-a25bd8fd.js';
|
|
36
36
|
import './AdSlot.js';
|
|
37
|
-
import { A as ADInfeed } from './ADInfeed-
|
|
37
|
+
import { A as ADInfeed } from './ADInfeed-a5a1f81f.js';
|
|
38
38
|
import { l as lodash } from './lodash-17fdfebb.js';
|
|
39
|
-
import { A as ADlgInfeed } from './ADlgInfeed-
|
|
39
|
+
import { A as ADlgInfeed } from './ADlgInfeed-99f14909.js';
|
|
40
40
|
|
|
41
41
|
var MasterDeck = function (_React$Component) {
|
|
42
42
|
_inherits(MasterDeck, _React$Component);
|
|
@@ -192,14 +192,14 @@ var MasterDeck = function (_React$Component) {
|
|
|
192
192
|
}
|
|
193
193
|
|
|
194
194
|
// please leave this for later debug purpose : Yong Jun.
|
|
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
|
|
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
|
|
203
203
|
}) */
|
|
204
204
|
|
|
205
205
|
if (pageview) {
|
|
@@ -315,7 +315,7 @@ var MasterDeck = function (_React$Component) {
|
|
|
315
315
|
React__default.Fragment,
|
|
316
316
|
{ key: index },
|
|
317
317
|
React__default.createElement(_this2.Deck, { data: row, variant: variant, index: index, client: _this.props.client, defaultImage: _this.defaultImage }),
|
|
318
|
-
|
|
318
|
+
main_36 && _this.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && React__default.createElement(
|
|
319
319
|
'div',
|
|
320
320
|
{ className: 'ad-container', style: { margin: '0 auto' } },
|
|
321
321
|
_this.renderMobileAd(index, numberOfItemsBeforeAd, _this.rightItems)
|
package/dist/esm/NavMagazine.js
CHANGED
|
@@ -7,7 +7,7 @@ import './web.dom.iterable-46c95e52.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_37 } from './main-d7ee6151.js';
|
|
11
11
|
import { _ as _slicedToArray } from './slicedToArray-f1e40361.js';
|
|
12
12
|
import './stringify-e30bc114.js';
|
|
13
13
|
import './asyncToGenerator-0379e924.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_37 ? '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-46c95e52.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_37 } from './main-d7ee6151.js';
|
|
11
11
|
import { _ as _slicedToArray } from './slicedToArray-f1e40361.js';
|
|
12
12
|
import './stringify-e30bc114.js';
|
|
13
13
|
import './asyncToGenerator-0379e924.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_37 ? '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-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';
|
|
@@ -4,9 +4,9 @@ import './core.get-iterator-method-f5c0d66a.js';
|
|
|
4
4
|
import './web.dom.iterable-46c95e52.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-e2f9b20c.js';
|
|
8
8
|
import 'react-dom';
|
|
9
|
-
import { i as imageUrlBuilder } from './index-
|
|
9
|
+
import { i as imageUrlBuilder } from './index-73819142.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-f1e40361.js';
|