@mjhls/mjh-framework 1.0.649 → 1.0.651
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 +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 +17 -17
- package/dist/cjs/DeckContent.js +15 -15
- package/dist/cjs/DeckQueue.js +6 -6
- package/dist/cjs/{Dfp-b2bc3b97.js → Dfp-390337bf.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 +10 -10
- package/dist/cjs/GridHero.js +2 -2
- package/dist/cjs/GroupDeck.js +1 -1
- package/dist/cjs/HamMagazine.js +14 -14
- 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 +36 -36
- 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 +15 -15
- 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 +1212 -15
- 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/{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 +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/getRelatedArticle.js +354 -5
- package/dist/cjs/getSerializers.js +6 -6
- package/dist/cjs/{getTargeting-fee8c429.js → getTargeting-bf55f61b.js} +11 -11
- package/dist/cjs/getTargeting.js +1 -1
- package/dist/cjs/{index-2d0a4911.js → index-099d45ae.js} +6 -4
- package/dist/cjs/{index-5be2866f.js → index-3294d3bc.js} +1 -1
- package/dist/cjs/{index-4f22007d.js → index-6268b081.js} +451 -463
- package/dist/cjs/index-bd6c9f56.js +211 -0
- package/dist/cjs/{index-b5eb3ff8.js → index-be0c82be.js} +19 -20
- 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 +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 +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-8a8fca18.js → Dfp-741c01be.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 +1 -1
- package/dist/esm/HamMagazine.js +14 -14
- 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 +15 -15
- 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 +1209 -13
- 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/{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 +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/getRelatedArticle.js +354 -5
- package/dist/esm/getSerializers.js +6 -6
- package/dist/esm/{getTargeting-2acdec91.js → getTargeting-d965e979.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-f11c723f.js → index-d40ad8fd.js} +451 -463
- 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 +14 -15
- 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 +107 -107
- /package/dist/cjs/{ADInfeed-eaa6c661.js → ADInfeed-f886da72.js} +0 -0
- /package/dist/cjs/{ADlgInfeed-f25eb4f7.js → ADlgInfeed-7aa459cc.js} +0 -0
- /package/dist/esm/{ADInfeed-c27997a3.js → ADInfeed-67097b02.js} +0 -0
- /package/dist/esm/{ADlgInfeed-41c3909c.js → ADlgInfeed-0bd34fef.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-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-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,44 +29,44 @@ 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-67097b02.js';
|
|
33
33
|
import './lodash-17fdfebb.js';
|
|
34
|
-
import './ADlgInfeed-
|
|
34
|
+
import './ADlgInfeed-0bd34fef.js';
|
|
35
35
|
import './AuthorComponent-00f13201.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
|
@@ -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-3f4dd6f2.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-3f4dd6f2.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-67097b02.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-0bd34fef.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_36 && _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_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,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-55960ec4.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_37 ? '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_37) {
|
|
326
326
|
var mainNav = document.querySelector('#navbar-ham');
|
|
327
327
|
if (mainNav && mainNav.style) mainNav.style.overflow = 'auto';
|
|
328
328
|
}
|
|
@@ -545,7 +545,7 @@ var NavMagazine = function NavMagazine(props) {
|
|
|
545
545
|
React__default.createElement(
|
|
546
546
|
'style',
|
|
547
547
|
{ jsx: 'true' },
|
|
548
|
-
'\n .sticky-home {\n position: relative;\n top: -3px;\n left: -6px;\n cursor: pointer;\n }\n .nav-item svg {\n margin-bottom: 2px;\n }\n #nav-login,\n #nav-logout,\n #nav-register {\n padding: 0.5rem;\n cursor: pointer;\n }\n #nav-mobile-login,\n #nav-mobile-logout,\n #nav-mobile-register {\n display: none;\n }\n #nav-mobile-logout,\n #nav-mobile-login {\n position: absolute;\n right: 1rem;\n }\n #nav-mobile-register {\n position: absolute;\n left: 1rem;\n }\n @media screen and (max-width: 767px) {\n .logo {\n width: 100%;\n padding-left: 10px;\n padding-right: 10px;\n }\n }\n @media screen and (max-width: 1199px) {\n .mobile-nav .nav-toggle {\n width: 100%;\n }\n .nav-open {\n position: relative;\n }\n .mobile-nav .nav-toggle {\n width: 100%;\n }\n .android-nav {\n max-height: 80vh;\n }\n .ios-nav {\n max-height: none;\n }\n .mobile-nav .nav-toggle .navbar-toggler {\n float: left;\n height: 45px;\n }\n .mobile-nav .form-inline .mobile-search {\n width: auto;\n }\n .sticky-home {\n display: none;\n }\n .dropdown-menu {\n
|
|
548
|
+
'\n .sticky-home {\n position: relative;\n top: -3px;\n left: -6px;\n cursor: pointer;\n }\n .nav-item svg {\n margin-bottom: 2px;\n }\n #nav-login,\n #nav-logout,\n #nav-register {\n padding: 0.5rem;\n cursor: pointer;\n }\n #nav-mobile-login,\n #nav-mobile-logout,\n #nav-mobile-register {\n display: none;\n }\n #nav-mobile-logout,\n #nav-mobile-login {\n position: absolute;\n right: 1rem;\n }\n #nav-mobile-register {\n position: absolute;\n left: 1rem;\n }\n @media screen and (max-width: 767px) {\n .logo {\n width: 100%;\n padding-left: 10px;\n padding-right: 10px;\n }\n }\n @media screen and (max-width: 1199px) {\n .mobile-nav .nav-toggle {\n width: 100%;\n }\n .nav-open {\n position: relative;\n }\n .mobile-nav .nav-toggle {\n width: 100%;\n }\n .android-nav {\n max-height: 80vh;\n }\n .ios-nav {\n max-height: none;\n }\n .mobile-nav .nav-toggle .navbar-toggler {\n float: left;\n height: 45px;\n }\n .mobile-nav .form-inline .mobile-search {\n width: auto;\n }\n .sticky-home {\n display: none;\n }\n // .dropdown-menu {\n // max-height: 315px;\n // overflow: auto;\n // }\n ::-webkit-scrollbar {\n width: 10px;\n }\n ::-webkit-scrollbar-thumb {\n border-radius: 4px;\n background-color: rgba(214, 214, 214, 0.8);\n box-shadow: 0 0 1px rgba(255, 255, 255, 0.5);\n -webkit-box-shadow: 0 0 1px rgba(255, 255, 255, 0.5);\n }\n .navbar-expand-xl .show#basic-navbar-sub {\n display: block;\n }\n .navbar .mobile-nav .navbar-collapse.show {\n padding-bottom: 10px;\n border-bottom: 0.5px solid white;\n }\n .navbar .mobile-nav .navbar-collapse .form-inline {\n display: none;\n }\n .navbar .mobile-nav .navbar-collapse {\n margin-top: 15px;\n }\n .navbar .mobile-nav .navbar-collapse:last-child {\n border-bottom: none;\n margin-bottom: 0px;\n padding-bottom: 0px;\n margin-top: 0px;\n padding-top: 10px;\n }\n .navbar .mobile-nav .navbar-collapse .nav-footer ul {\n list-style-type: none;\n padding: inherit;\n margin-bottom: 0rem;\n }\n .navbar .mobile-nav .navbar-collapse .nav-footer .nav-link {\n text-transform: capitalize !important;\n font-weight: 300;\n }\n .navbar .mobile-nav .dropdown-item:focus {\n background-color: #696969;\n }\n .navbar .mobile-nav .dropdown-menu .dropdown-item {\n color: white;\n white-space: inherit !important;\n margin-bottom: 5px;\n }\n .navbar .mobile-nav .dropdown-menu {\n background: inherit;\n border: none;\n }\n // .navbar .mobile-nav .dropdown-menu.show {\n // max-height: 100px;\n // }\n }\n @media screen and (min-width: 1200px) {\n #navbar-ham {\n overflow: visible !important;\n }\n #basic-navbar-sub {\n display: none !important;\n }\n .navbar .mobile-nav .dropdown-menu .dropdown-item {\n color: #696969;\n }\n .navbar .mobile-nav .dropdown-menu {\n background: white;\n border: 1 px solid #708090;\n }\n .navbar.bg-primary {\n z-index: 3000000 !important;\n }\n }\n @media screen and (max-width: 1199px) {\n #nav-mobile-login,\n #nav-mobile-logout,\n #nav-mobile-register {\n display: block;\n }\n .navbar-top {\n flex-direction: row;\n justify-content: space-around !important;\n align-items: center;\n padding-left: 0.25rem;\n padding-right: 0.25rem;\n width: 100%;\n }\n }\n '
|
|
549
549
|
)
|
|
550
550
|
);
|
|
551
551
|
};
|
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';
|
|
@@ -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_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';
|
|
@@ -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';
|