@mjhls/mjh-framework 1.0.955-osano-integration-v1 → 1.0.955
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 +168 -168
- package/dist/cjs/AlgoliaSearch.js +15 -131
- package/dist/cjs/ArticleProgramLandingPage.js +1 -1
- package/dist/cjs/ArticleSeriesLandingPage.js +2 -2
- package/dist/cjs/AuthWrapper.js +1 -1
- package/dist/cjs/ConferenceArticleCard.js +15 -15
- package/dist/cjs/ContentCardPaginated.js +3 -2
- package/dist/cjs/DeckContent.js +9 -9
- package/dist/cjs/DeckQueuePaginated.js +2 -1
- package/dist/cjs/EventsDeck.js +17 -17
- package/dist/cjs/ExternalResources.js +1 -1
- package/dist/cjs/GridContent.js +2 -2
- package/dist/cjs/GridContentPaginated.js +4 -3
- package/dist/cjs/HamMagazine.js +9 -9
- package/dist/cjs/HealthCareProfessionalModal.js +1 -1
- package/dist/cjs/HorizontalArticleListing.js +1 -1
- package/dist/cjs/IssueLanding.js +32 -32
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/MasterDeck.js +10 -10
- package/dist/cjs/MasterDeckPaginated.js +12 -11
- package/dist/cjs/{MediaSeriesCard-94153cfc.js → MediaSeriesCard-615cdf47.js} +2 -2
- package/dist/cjs/MediaSeriesLanding.js +9 -9
- package/dist/cjs/MediaSeriesLandingPaginated.js +11 -10
- package/dist/cjs/NavMagazine.js +10 -10
- package/dist/cjs/NavNative.js +9 -9
- package/dist/cjs/Pagination-c63770a3.js +90 -0
- package/dist/cjs/PartnerDetailListing.js +3 -3
- package/dist/cjs/PartnerDetailListingPaginated.js +5 -4
- package/dist/cjs/PubSection.js +2 -2
- package/dist/cjs/PublicationLanding.js +26 -26
- package/dist/cjs/QueueDeckExpanded.js +2 -2
- package/dist/cjs/QueueDeckExpandedPaginated.js +4 -3
- package/dist/cjs/RelatedContent.js +28 -28
- package/dist/cjs/RelatedTopicsDropdown.js +10 -10
- package/dist/cjs/Segment.js +5 -22
- package/dist/cjs/SeriesListingDeck.js +1 -1
- package/dist/cjs/{SeriesSlider-74546d19.js → SeriesSlider-594b19eb.js} +4 -4
- package/dist/cjs/SideFooter.js +2 -2
- package/dist/cjs/TaxonomyDescription.js +1 -1
- package/dist/cjs/VideoProgramLandingPage.js +1 -1
- package/dist/cjs/VideoSeriesCard.js +1 -1
- package/dist/cjs/VideoSeriesLandingPage.js +2 -2
- package/dist/cjs/View.js +9 -13
- package/dist/cjs/YoutubeGroup.js +4 -4
- package/dist/cjs/getSerializers.js +1 -1
- package/dist/cjs/{getTargeting-dab97fe1.js → getTargeting-3c5754ac.js} +9 -9
- package/dist/cjs/getTargeting.js +1 -1
- package/dist/cjs/index.js +6 -5
- package/dist/esm/AlgoliaSearch.js +16 -132
- package/dist/esm/ArticleProgramLandingPage.js +1 -1
- package/dist/esm/ArticleSeriesLandingPage.js +2 -2
- package/dist/esm/AuthWrapper.js +1 -1
- package/dist/esm/ConferenceArticleCard.js +15 -15
- package/dist/esm/ContentCardPaginated.js +3 -2
- package/dist/esm/DeckContent.js +9 -9
- package/dist/esm/DeckQueuePaginated.js +2 -1
- package/dist/esm/EventsDeck.js +17 -17
- package/dist/esm/ExternalResources.js +1 -1
- package/dist/esm/GridContent.js +2 -2
- package/dist/esm/GridContentPaginated.js +4 -3
- package/dist/esm/HamMagazine.js +9 -9
- package/dist/esm/HealthCareProfessionalModal.js +1 -1
- package/dist/esm/HorizontalArticleListing.js +1 -1
- package/dist/esm/IssueLanding.js +32 -32
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/MasterDeck.js +10 -10
- package/dist/esm/MasterDeckPaginated.js +12 -11
- package/dist/esm/{MediaSeriesCard-8832086e.js → MediaSeriesCard-e08917c6.js} +2 -2
- package/dist/esm/MediaSeriesLanding.js +9 -9
- package/dist/esm/MediaSeriesLandingPaginated.js +11 -10
- package/dist/esm/NavMagazine.js +10 -10
- package/dist/esm/NavNative.js +9 -9
- package/dist/esm/Pagination-6f8d5327.js +82 -0
- package/dist/esm/PartnerDetailListing.js +3 -3
- package/dist/esm/PartnerDetailListingPaginated.js +5 -4
- package/dist/esm/PubSection.js +2 -2
- package/dist/esm/PublicationLanding.js +26 -26
- package/dist/esm/QueueDeckExpanded.js +2 -2
- package/dist/esm/QueueDeckExpandedPaginated.js +4 -3
- package/dist/esm/RelatedContent.js +28 -28
- package/dist/esm/RelatedTopicsDropdown.js +10 -10
- package/dist/esm/Segment.js +5 -22
- package/dist/esm/SeriesListingDeck.js +1 -1
- package/dist/esm/{SeriesSlider-e495571f.js → SeriesSlider-f771e20d.js} +4 -4
- package/dist/esm/SideFooter.js +2 -2
- package/dist/esm/TaxonomyDescription.js +1 -1
- package/dist/esm/VideoProgramLandingPage.js +1 -1
- package/dist/esm/VideoSeriesCard.js +1 -1
- package/dist/esm/VideoSeriesLandingPage.js +2 -2
- package/dist/esm/View.js +8 -13
- package/dist/esm/YoutubeGroup.js +4 -4
- package/dist/esm/getSerializers.js +1 -1
- package/dist/esm/{getTargeting-04d979c9.js → getTargeting-42f9b439.js} +9 -9
- package/dist/esm/getTargeting.js +1 -1
- package/dist/esm/index.js +6 -5
- package/package.json +115 -115
- package/dist/cjs/Pagination-30bb1ca1.js +0 -97
- package/dist/esm/Pagination-194dd03f.js +0 -90
- /package/dist/cjs/{ADInfeed-6673529d.js → ADInfeed-44d43b8a.js} +0 -0
- /package/dist/cjs/{ADlgInfeed-d00e1edb.js → ADlgInfeed-24d739f6.js} +0 -0
- /package/dist/cjs/{index-2d9f0fda.js → index-bb6f5ec7.js} +0 -0
- /package/dist/esm/{ADInfeed-227aeb37.js → ADInfeed-7af1f934.js} +0 -0
- /package/dist/esm/{ADlgInfeed-74b51952.js → ADlgInfeed-ebcafb85.js} +0 -0
- /package/dist/esm/{index-03c505f3.js → index-995ce566.js} +0 -0
|
@@ -14,8 +14,8 @@ import urlFor from './urlFor.js';
|
|
|
14
14
|
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
15
15
|
import { m as main_43 } from './main-1894c974.js';
|
|
16
16
|
import { c as clean_html_1 } from './entities-6d9154b4.js';
|
|
17
|
-
import { A as ADInfeed } from './ADInfeed-
|
|
18
|
-
import { P as Pagination } from './Pagination-
|
|
17
|
+
import { A as ADInfeed } from './ADInfeed-7af1f934.js';
|
|
18
|
+
import { P as Pagination } from './Pagination-6f8d5327.js';
|
|
19
19
|
import Spinner from 'react-bootstrap/Spinner';
|
|
20
20
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
21
21
|
import './core.get-iterator-method-ea258bb1.js';
|
|
@@ -39,6 +39,7 @@ import './toNumber-5aeba6e7.js';
|
|
|
39
39
|
import './Beam.js';
|
|
40
40
|
import './stringify-2b084bee.js';
|
|
41
41
|
import './Segment.js';
|
|
42
|
+
import 'react-paginate';
|
|
42
43
|
import 'react-bootstrap/Button';
|
|
43
44
|
import './index.esm-1bd8a0a8.js';
|
|
44
45
|
import './iconBase-ccc56b97.js';
|
package/dist/esm/DeckContent.js
CHANGED
|
@@ -16,7 +16,7 @@ import urlFor from './urlFor.js';
|
|
|
16
16
|
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
17
17
|
import { m as main_43 } from './main-1894c974.js';
|
|
18
18
|
import { c as clean_html_1 } from './entities-6d9154b4.js';
|
|
19
|
-
import { A as ADInfeed } from './ADInfeed-
|
|
19
|
+
import { A as ADInfeed } from './ADInfeed-7af1f934.js';
|
|
20
20
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
21
21
|
import './core.get-iterator-method-ea258bb1.js';
|
|
22
22
|
import './_iter-detect-98db3b07.js';
|
|
@@ -182,14 +182,14 @@ var DeckContent = function (_React$Component) {
|
|
|
182
182
|
var newPath = pageNumber === 1 ? '' + path : path + '?page=' + pageNumber;
|
|
183
183
|
|
|
184
184
|
// please leave this for later debug purpose : Yong Jun.
|
|
185
|
-
/* console.log('page change reported', {
|
|
186
|
-
currentPage: currentPage,
|
|
187
|
-
pageNumber: pageNumber,
|
|
188
|
-
pathname: pathname,
|
|
189
|
-
path: path,
|
|
190
|
-
newPath: newPath,
|
|
191
|
-
firstPage: pageNumber === 1,
|
|
192
|
-
queryString: queryString
|
|
185
|
+
/* console.log('page change reported', {
|
|
186
|
+
currentPage: currentPage,
|
|
187
|
+
pageNumber: pageNumber,
|
|
188
|
+
pathname: pathname,
|
|
189
|
+
path: path,
|
|
190
|
+
newPath: newPath,
|
|
191
|
+
firstPage: pageNumber === 1,
|
|
192
|
+
queryString: queryString
|
|
193
193
|
}) */
|
|
194
194
|
|
|
195
195
|
if (pageview) {
|
|
@@ -16,7 +16,7 @@ import { g as get_1 } from './get-3c308da4.js';
|
|
|
16
16
|
import { m as main_43 } from './main-1894c974.js';
|
|
17
17
|
import urlFor from './urlFor.js';
|
|
18
18
|
import { c as clean_html_1 } from './entities-6d9154b4.js';
|
|
19
|
-
import { P as Pagination } from './Pagination-
|
|
19
|
+
import { P as Pagination } from './Pagination-6f8d5327.js';
|
|
20
20
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
21
21
|
import './core.get-iterator-method-ea258bb1.js';
|
|
22
22
|
import './web.dom.iterable-ab4dea5c.js';
|
|
@@ -34,6 +34,7 @@ import './isSymbol-a7e9aafe.js';
|
|
|
34
34
|
import './eq-bdcbf886.js';
|
|
35
35
|
import './slicedToArray-6ebcbfea.js';
|
|
36
36
|
import './index-3f5c03b2.js';
|
|
37
|
+
import 'react-paginate';
|
|
37
38
|
import 'react-bootstrap/Button';
|
|
38
39
|
import './index.esm-1bd8a0a8.js';
|
|
39
40
|
import './iconBase-ccc56b97.js';
|
package/dist/esm/EventsDeck.js
CHANGED
|
@@ -243,23 +243,23 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
243
243
|
if (cventAccessToken && cventAccessToken !== 'undefined') {
|
|
244
244
|
setAccessToken(cventAccessToken);
|
|
245
245
|
} else {
|
|
246
|
-
/*const encodedData = window.btoa(clientId + ':' + clientSecret)
|
|
247
|
-
//const url = `${corsProxy}https://api-platform.cvent.com/ea/oauth2/token`
|
|
248
|
-
const url = `https://api-platform.cvent.com/ea/oauth2/token`
|
|
249
|
-
fetch(url, {
|
|
250
|
-
headers: {
|
|
251
|
-
'Content-Type': 'application/x-www-form-urlencoded',
|
|
252
|
-
Authorization: `Basic ${encodedData}`
|
|
253
|
-
},
|
|
254
|
-
method: 'POST',
|
|
255
|
-
body: `grant_type=client_credentials&client_id=${clientId}`
|
|
256
|
-
})
|
|
257
|
-
.then((response) => response.json())
|
|
258
|
-
.then((json) => {
|
|
259
|
-
const inOneHour = new Date(new Date().getTime() + 60 * 60 * 1000)
|
|
260
|
-
Cookies.set('cvent_access_token', json.access_token, { expires: inOneHour })
|
|
261
|
-
setAccessToken(json.access_token)
|
|
262
|
-
})
|
|
246
|
+
/*const encodedData = window.btoa(clientId + ':' + clientSecret)
|
|
247
|
+
//const url = `${corsProxy}https://api-platform.cvent.com/ea/oauth2/token`
|
|
248
|
+
const url = `https://api-platform.cvent.com/ea/oauth2/token`
|
|
249
|
+
fetch(url, {
|
|
250
|
+
headers: {
|
|
251
|
+
'Content-Type': 'application/x-www-form-urlencoded',
|
|
252
|
+
Authorization: `Basic ${encodedData}`
|
|
253
|
+
},
|
|
254
|
+
method: 'POST',
|
|
255
|
+
body: `grant_type=client_credentials&client_id=${clientId}`
|
|
256
|
+
})
|
|
257
|
+
.then((response) => response.json())
|
|
258
|
+
.then((json) => {
|
|
259
|
+
const inOneHour = new Date(new Date().getTime() + 60 * 60 * 1000)
|
|
260
|
+
Cookies.set('cvent_access_token', json.access_token, { expires: inOneHour })
|
|
261
|
+
setAccessToken(json.access_token)
|
|
262
|
+
})
|
|
263
263
|
.catch((e) => console.log(e))*/
|
|
264
264
|
// hello
|
|
265
265
|
var url = 'https://beam.mjhlifesciences.com/api/cvent/token';
|
|
@@ -2,7 +2,7 @@ import { _ as _extends } from './extends-6d8e3924.js';
|
|
|
2
2
|
import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
3
3
|
import React__default, { useState, useEffect } from 'react';
|
|
4
4
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
5
|
-
import { g as getSerializers } from './index-
|
|
5
|
+
import { g as getSerializers } from './index-995ce566.js';
|
|
6
6
|
import { m as momentTimezone } from './index-79cfd25c.js';
|
|
7
7
|
import { useRouter } from 'next/router';
|
|
8
8
|
import Button from 'react-bootstrap/Button';
|
package/dist/esm/GridContent.js
CHANGED
|
@@ -12,9 +12,9 @@ import { m as moment } from './moment-bc12cb97.js';
|
|
|
12
12
|
import { withRouter } from 'next/router';
|
|
13
13
|
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
14
14
|
import { c as clean_html_1 } from './entities-6d9154b4.js';
|
|
15
|
-
import { A as ADInfeed } from './ADInfeed-
|
|
15
|
+
import { A as ADInfeed } from './ADInfeed-7af1f934.js';
|
|
16
16
|
import { l as lodash } from './lodash-f97fd99a.js';
|
|
17
|
-
import { A as ADlgInfeed } from './ADlgInfeed-
|
|
17
|
+
import { A as ADlgInfeed } from './ADlgInfeed-ebcafb85.js';
|
|
18
18
|
import { g as getContentCategory } from './getContentCategory-15dcc413.js';
|
|
19
19
|
import { g as get_1 } from './get-3c308da4.js';
|
|
20
20
|
import { d as debounce_1 } from './debounce-533d9748.js';
|
|
@@ -13,16 +13,16 @@ import { m as moment } from './moment-bc12cb97.js';
|
|
|
13
13
|
import { withRouter } from 'next/router';
|
|
14
14
|
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
15
15
|
import { c as clean_html_1 } from './entities-6d9154b4.js';
|
|
16
|
-
import { A as ADInfeed } from './ADInfeed-
|
|
16
|
+
import { A as ADInfeed } from './ADInfeed-7af1f934.js';
|
|
17
17
|
import { l as lodash } from './lodash-f97fd99a.js';
|
|
18
|
-
import { A as ADlgInfeed } from './ADlgInfeed-
|
|
18
|
+
import { A as ADlgInfeed } from './ADlgInfeed-ebcafb85.js';
|
|
19
19
|
import { g as getContentCategory } from './getContentCategory-15dcc413.js';
|
|
20
20
|
import { g as get_1 } from './get-3c308da4.js';
|
|
21
21
|
import urlFor from './urlFor.js';
|
|
22
22
|
import { m as main_43 } from './main-1894c974.js';
|
|
23
23
|
import { A as AuthorComponent } from './AuthorComponent-11adff02.js';
|
|
24
24
|
import { P as PublicationFeature } from './PublicationFeature-d88e76b9.js';
|
|
25
|
-
import { P as Pagination } from './Pagination-
|
|
25
|
+
import { P as Pagination } from './Pagination-6f8d5327.js';
|
|
26
26
|
import Spinner from 'react-bootstrap/Spinner';
|
|
27
27
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
28
28
|
import './core.get-iterator-method-ea258bb1.js';
|
|
@@ -47,6 +47,7 @@ import './Segment.js';
|
|
|
47
47
|
import './eq-bdcbf886.js';
|
|
48
48
|
import './index-3f5c03b2.js';
|
|
49
49
|
import 'react-bootstrap/Button';
|
|
50
|
+
import 'react-paginate';
|
|
50
51
|
import './index.esm-1bd8a0a8.js';
|
|
51
52
|
import './iconBase-ccc56b97.js';
|
|
52
53
|
|
package/dist/esm/HamMagazine.js
CHANGED
|
@@ -26,15 +26,15 @@ import './_library-528f1934.js';
|
|
|
26
26
|
import './_iter-detect-98db3b07.js';
|
|
27
27
|
|
|
28
28
|
var HamMagazine = function HamMagazine(props) {
|
|
29
|
-
/*
|
|
30
|
-
Example Nav with acceptable props
|
|
31
|
-
<MagazineNav
|
|
32
|
-
showLogin
|
|
33
|
-
logo={props.settings.logo}
|
|
34
|
-
dataObject={props.cache.mainNavCache}
|
|
35
|
-
website={website}
|
|
36
|
-
subNav={props.cache.subNavCache}
|
|
37
|
-
/>
|
|
29
|
+
/*
|
|
30
|
+
Example Nav with acceptable props
|
|
31
|
+
<MagazineNav
|
|
32
|
+
showLogin
|
|
33
|
+
logo={props.settings.logo}
|
|
34
|
+
dataObject={props.cache.mainNavCache}
|
|
35
|
+
website={website}
|
|
36
|
+
subNav={props.cache.subNavCache}
|
|
37
|
+
/>
|
|
38
38
|
*/
|
|
39
39
|
|
|
40
40
|
// Setting 'socialIconVariant' as 'light' as default to make the social icons and search icon black
|
|
@@ -4,7 +4,7 @@ import Modal from 'react-bootstrap/Modal';
|
|
|
4
4
|
import Button from 'react-bootstrap/Button';
|
|
5
5
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
6
6
|
|
|
7
|
-
var css = ".HealthcareProfessionalModal-module_container__HUaSr {\
|
|
7
|
+
var css = ".HealthcareProfessionalModal-module_container__HUaSr {\n position: fixed;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n background: rgba(0,0,0,.1);\n z-index: 9999999999;\n display: grid;\n place-items: center;\n}\n.HealthcareProfessionalModal-module_modal__31CzM{\n background: #fff;\n padding: 1.5rem;\n text-align: center;\n position: relative;\n width: 400px;\n max-width: 90vw;\n\n box-shadow: 2px 4px 8px rgba(0,0,0,.2);\n animation: HealthcareProfessionalModal-module_show__3soMo .5s forwards;\n transform: translateY(0);\n opacity:1;\n}\n.HealthcareProfessionalModal-module_header__3uIr7 {\n background-color: #0d335a;\nposition: absolute;\n padding: 1rem;\n width: 80%;\ntop: 0;\nleft: 50%;\ntransform: translateX(-50%) translateY(-50%) ;\n border-radius: 15px;\n}\n.HealthcareProfessionalModal-module_body__3bnyN {\n color: #202020;\n}\n.HealthcareProfessionalModal-module_body__3bnyN span{\n font-weight: bold;\n}\n.HealthcareProfessionalModal-module_body__3bnyN .HealthcareProfessionalModal-module_title__27l5n {\n font-size: 24px;\n margin-bottom: 1rem;\n}\n.HealthcareProfessionalModal-module_controls__1wXJl button {\n margin: 1.5rem 1rem;\n border-radius: 5px;\n font-size: 1rem;\n}\n@keyframes HealthcareProfessionalModal-module_show__3soMo {\n from{\n transform: translateY(25px);\n opacity: 0;\n }\n to {\n transform: translateY(0);\n opacity:1;\n }\n}";
|
|
8
8
|
var styles = { "container": "HealthcareProfessionalModal-module_container__HUaSr", "modal": "HealthcareProfessionalModal-module_modal__31CzM", "show": "HealthcareProfessionalModal-module_show__3soMo", "header": "HealthcareProfessionalModal-module_header__3uIr7", "body": "HealthcareProfessionalModal-module_body__3bnyN", "title": "HealthcareProfessionalModal-module_title__27l5n", "controls": "HealthcareProfessionalModal-module_controls__1wXJl" };
|
|
9
9
|
styleInject(css);
|
|
10
10
|
|
|
@@ -3,7 +3,7 @@ import React__default from 'react';
|
|
|
3
3
|
import ArticleCarousel from './ArticleCarousel.js';
|
|
4
4
|
import { I as IoIosArrowForward } from './index.esm-eb1e8e80.js';
|
|
5
5
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
6
|
-
import { g as getSerializers } from './index-
|
|
6
|
+
import { g as getSerializers } from './index-995ce566.js';
|
|
7
7
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
8
8
|
import './core.get-iterator-method-ea258bb1.js';
|
|
9
9
|
import './_object-pie-133f504a.js';
|
package/dist/esm/IssueLanding.js
CHANGED
|
@@ -3,7 +3,7 @@ import React__default from 'react';
|
|
|
3
3
|
import QueueDeckExpanded from './QueueDeckExpanded.js';
|
|
4
4
|
import Breadcrumbs from './Breadcrumbs.js';
|
|
5
5
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
6
|
-
import { g as getSerializers } from './index-
|
|
6
|
+
import { g as getSerializers } from './index-995ce566.js';
|
|
7
7
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
8
8
|
import './core.get-iterator-method-ea258bb1.js';
|
|
9
9
|
import './_object-pie-133f504a.js';
|
|
@@ -25,7 +25,7 @@ import 'next/router';
|
|
|
25
25
|
import './index-755f2cc2.js';
|
|
26
26
|
import './main-1894c974.js';
|
|
27
27
|
import './entities-6d9154b4.js';
|
|
28
|
-
import './ADInfeed-
|
|
28
|
+
import './ADInfeed-7af1f934.js';
|
|
29
29
|
import 'react-bootstrap/Card';
|
|
30
30
|
import './AdSlot.js';
|
|
31
31
|
import './debounce-533d9748.js';
|
|
@@ -38,7 +38,7 @@ import './_library-528f1934.js';
|
|
|
38
38
|
import './Segment.js';
|
|
39
39
|
import './AuthorComponent-11adff02.js';
|
|
40
40
|
import './lodash-f97fd99a.js';
|
|
41
|
-
import './ADlgInfeed-
|
|
41
|
+
import './ADlgInfeed-ebcafb85.js';
|
|
42
42
|
import './getContentCategory-15dcc413.js';
|
|
43
43
|
import './timeDifferenceCalc.js';
|
|
44
44
|
import 'react-bootstrap/Breadcrumb';
|
|
@@ -70,35 +70,35 @@ import 'react-bootstrap/OverlayTrigger';
|
|
|
70
70
|
import 'react-bootstrap/Tooltip';
|
|
71
71
|
import 'react-bootstrap/Popover';
|
|
72
72
|
|
|
73
|
-
/* usage
|
|
74
|
-
import Settings, { Ads } from '../../../../settings'
|
|
75
|
-
import { IssueLanding, getQuery } from '@mjhls/mjh-framework'
|
|
76
|
-
import client from '../../../../client'
|
|
77
|
-
import moment from 'moment'
|
|
78
|
-
import Shell from '../../../../components/2.0/Shell'
|
|
79
|
-
import { pageview } from '../../../../utilities/gtag'
|
|
80
|
-
|
|
81
|
-
const Issue = (props) => {
|
|
82
|
-
const { pubIssue, cache } = props
|
|
83
|
-
const targeting = {
|
|
84
|
-
content_placement: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
|
|
85
|
-
document_url: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
|
|
86
|
-
}
|
|
87
|
-
return (
|
|
88
|
-
<Shell cache={cache} settings={Settings} targeting={targeting} ads={Ads} layout='3' title={pubIssue.issue.name}>
|
|
89
|
-
<IssueLanding pubIssue={pubIssue} client={client} settings={Settings} pageview={pageview} rightItems={Ads.getMobileAds(targeting)} />
|
|
90
|
-
</Shell>
|
|
91
|
-
)
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
Issue.getInitialProps = async (ctx) => {
|
|
95
|
-
const { query } = ctx
|
|
96
|
-
const pubIssue = await client.fetch(getQuery('issue'), { ...query, currentDate: moment().utc().format() }
|
|
97
|
-
)
|
|
98
|
-
return { pubIssue }
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
export default Issue
|
|
73
|
+
/* usage
|
|
74
|
+
import Settings, { Ads } from '../../../../settings'
|
|
75
|
+
import { IssueLanding, getQuery } from '@mjhls/mjh-framework'
|
|
76
|
+
import client from '../../../../client'
|
|
77
|
+
import moment from 'moment'
|
|
78
|
+
import Shell from '../../../../components/2.0/Shell'
|
|
79
|
+
import { pageview } from '../../../../utilities/gtag'
|
|
80
|
+
|
|
81
|
+
const Issue = (props) => {
|
|
82
|
+
const { pubIssue, cache } = props
|
|
83
|
+
const targeting = {
|
|
84
|
+
content_placement: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
|
|
85
|
+
document_url: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
|
|
86
|
+
}
|
|
87
|
+
return (
|
|
88
|
+
<Shell cache={cache} settings={Settings} targeting={targeting} ads={Ads} layout='3' title={pubIssue.issue.name}>
|
|
89
|
+
<IssueLanding pubIssue={pubIssue} client={client} settings={Settings} pageview={pageview} rightItems={Ads.getMobileAds(targeting)} />
|
|
90
|
+
</Shell>
|
|
91
|
+
)
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
Issue.getInitialProps = async (ctx) => {
|
|
95
|
+
const { query } = ctx
|
|
96
|
+
const pubIssue = await client.fetch(getQuery('issue'), { ...query, currentDate: moment().utc().format() }
|
|
97
|
+
)
|
|
98
|
+
return { pubIssue }
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
export default Issue
|
|
102
102
|
*/
|
|
103
103
|
|
|
104
104
|
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/MasterDeck.js
CHANGED
|
@@ -16,8 +16,8 @@ import { I as InfiniteScroll } from './index.es-a6137319.js';
|
|
|
16
16
|
import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
17
17
|
import './slicedToArray-6ebcbfea.js';
|
|
18
18
|
import './index-3f5c03b2.js';
|
|
19
|
-
import { A as ADlgInfeed } from './ADlgInfeed-
|
|
20
|
-
import { A as ADInfeed } from './ADInfeed-
|
|
19
|
+
import { A as ADlgInfeed } from './ADlgInfeed-ebcafb85.js';
|
|
20
|
+
import { A as ADInfeed } from './ADInfeed-7af1f934.js';
|
|
21
21
|
import './main-1894c974.js';
|
|
22
22
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
23
23
|
import './core.get-iterator-method-ea258bb1.js';
|
|
@@ -223,14 +223,14 @@ var MasterDeck = function (_React$Component) {
|
|
|
223
223
|
}
|
|
224
224
|
|
|
225
225
|
// please leave this for later debug purpose : Yong Jun.
|
|
226
|
-
/* console.log('page change reported', {
|
|
227
|
-
currentPage: currentPage,
|
|
228
|
-
pageNumber: pageNumber,
|
|
229
|
-
pathname: pathname,
|
|
230
|
-
path: path,
|
|
231
|
-
newPath: newPath,
|
|
232
|
-
firstPage: pageNumber === 1,
|
|
233
|
-
queryString: queryString
|
|
226
|
+
/* console.log('page change reported', {
|
|
227
|
+
currentPage: currentPage,
|
|
228
|
+
pageNumber: pageNumber,
|
|
229
|
+
pathname: pathname,
|
|
230
|
+
path: path,
|
|
231
|
+
newPath: newPath,
|
|
232
|
+
firstPage: pageNumber === 1,
|
|
233
|
+
queryString: queryString
|
|
234
234
|
}) */
|
|
235
235
|
|
|
236
236
|
if (pageview) {
|
|
@@ -10,9 +10,9 @@ import Spinner from 'react-bootstrap/Spinner';
|
|
|
10
10
|
import { withRouter } from 'next/router';
|
|
11
11
|
import { l as lodash } from './lodash-f97fd99a.js';
|
|
12
12
|
import { m as main_43 } from './main-1894c974.js';
|
|
13
|
-
import { A as ADlgInfeed } from './ADlgInfeed-
|
|
14
|
-
import { A as ADInfeed } from './ADInfeed-
|
|
15
|
-
import { P as Pagination } from './Pagination-
|
|
13
|
+
import { A as ADlgInfeed } from './ADlgInfeed-ebcafb85.js';
|
|
14
|
+
import { A as ADInfeed } from './ADInfeed-7af1f934.js';
|
|
15
|
+
import { P as Pagination } from './Pagination-6f8d5327.js';
|
|
16
16
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
17
17
|
import './core.get-iterator-method-ea258bb1.js';
|
|
18
18
|
import './web.dom.iterable-ab4dea5c.js';
|
|
@@ -33,6 +33,7 @@ import './isSymbol-a7e9aafe.js';
|
|
|
33
33
|
import './toNumber-5aeba6e7.js';
|
|
34
34
|
import './Beam.js';
|
|
35
35
|
import './Segment.js';
|
|
36
|
+
import 'react-paginate';
|
|
36
37
|
import 'react-bootstrap/Button';
|
|
37
38
|
import './index.esm-1bd8a0a8.js';
|
|
38
39
|
import './iconBase-ccc56b97.js';
|
|
@@ -107,14 +108,14 @@ var MasterDeck = function (_React$Component) {
|
|
|
107
108
|
}
|
|
108
109
|
|
|
109
110
|
// please leave this for later debug purpose : Yong Jun.
|
|
110
|
-
/* console.log('page change reported', {
|
|
111
|
-
currentPage: currentPage,
|
|
112
|
-
pageNumber: pageNumber,
|
|
113
|
-
pathname: pathname,
|
|
114
|
-
path: path,
|
|
115
|
-
newPath: newPath,
|
|
116
|
-
firstPage: pageNumber === 1,
|
|
117
|
-
queryString: queryString
|
|
111
|
+
/* console.log('page change reported', {
|
|
112
|
+
currentPage: currentPage,
|
|
113
|
+
pageNumber: pageNumber,
|
|
114
|
+
pathname: pathname,
|
|
115
|
+
path: path,
|
|
116
|
+
newPath: newPath,
|
|
117
|
+
firstPage: pageNumber === 1,
|
|
118
|
+
queryString: queryString
|
|
118
119
|
}) */
|
|
119
120
|
|
|
120
121
|
if (pageview) {
|
|
@@ -9,7 +9,7 @@ import urlFor from './urlFor.js';
|
|
|
9
9
|
import { m as moment } from './moment-bc12cb97.js';
|
|
10
10
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
11
11
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
12
|
-
import { g as getSerializers } from './index-
|
|
12
|
+
import { g as getSerializers } from './index-995ce566.js';
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* Copyright (c) 2013-present, Facebook, Inc.
|
|
@@ -9427,7 +9427,7 @@ var Tooltip = React__default.forwardRef(function (_ref, ref) {
|
|
|
9427
9427
|
Tooltip.defaultProps = defaultProps;
|
|
9428
9428
|
Tooltip.displayName = 'Tooltip';
|
|
9429
9429
|
|
|
9430
|
-
var css = ".MediaSeriesCard-module_article__SAFYK {\
|
|
9430
|
+
var css = ".MediaSeriesCard-module_article__SAFYK {\n width: 100%;\n margin: 0 0 1rem 0;\n}\n.MediaSeriesCard-module_article__SAFYK a {\n display: flex;\n width: 100%;\n color: #000000;\n}\n.MediaSeriesCard-module_thumb__3jRAU {\n width: 25%;\n}\n.MediaSeriesCard-module_thumb__3jRAU img {\n width: 100%;\n height: auto;\n}\n.MediaSeriesCard-module_info__3L7_o {\n width: 75%;\n font-size: 1rem;\n}\n.MediaSeriesCard-module_info__3L7_o h2 {\n font-weight: bold;\n font-size: 1.25rem;\n margin: 0;\n}\n.MediaSeriesCard-module_published__E4oiz {\n color: #6d6d6d;\n margin: 0;\n}\n.MediaSeriesCard-module_summary__1xanh {\n margin: 0.5rem 0 0 0;\n}\n.MediaSeriesCard-module_author__e5fuR {\n margin: 0;\n}\n.MediaSeriesCard-module_author__e5fuR span {\n color: #6d6d6d;\n}\n.MediaSeriesCard-module_name__2m5KY {\n font-size: 1.3rem;\n font-weight: bold;\n}\n@media only screen and (max-width: 568px) {\n .MediaSeriesCard-module_article__SAFYK {\n margin: 1rem 0;\n box-shadow: 2px 4px 8px rgba(0,0,0,.2);\n }\n .MediaSeriesCard-module_article__SAFYK a {\n flex-direction: column;\n align-items: center;\n }\n .MediaSeriesCard-module_thumb__3jRAU {\n overflow: hidden;\n width: 100%;\n margin-bottom: 1rem;\n }\n .MediaSeriesCard-module_thumb__3jRAU img{\n border-radius: 10px 10px 0 0; \n }\n .MediaSeriesCard-module_thumb__3jRAU figure {\n margin: 0;\n }\n .MediaSeriesCard-module_info__3L7_o {\n width: 90%;\n padding: 0rem !important;\n }\n .MediaSeriesCard-module_info__3L7_o h2 {\n font-size: 1rem;\n }\n .MediaSeriesCard-module_name__2m5KY {\n font-size: 1rem;\n \n }\n}\n";
|
|
9431
9431
|
var styles = { "article": "MediaSeriesCard-module_article__SAFYK", "thumb": "MediaSeriesCard-module_thumb__3jRAU", "info": "MediaSeriesCard-module_info__3L7_o", "published": "MediaSeriesCard-module_published__E4oiz", "summary": "MediaSeriesCard-module_summary__1xanh", "author": "MediaSeriesCard-module_author__e5fuR", "name": "MediaSeriesCard-module_name__2m5KY" };
|
|
9432
9432
|
styleInject(css);
|
|
9433
9433
|
|
|
@@ -3,13 +3,13 @@ import { _ as _typeof } from './typeof-e9fc0c5d.js';
|
|
|
3
3
|
import { _ as _extends } from './extends-6d8e3924.js';
|
|
4
4
|
import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
5
5
|
import React__default, { useState, useEffect } from 'react';
|
|
6
|
-
import { M as MediaSeriesCard, D as DropdownButton, a as Dropdown } from './MediaSeriesCard-
|
|
6
|
+
import { M as MediaSeriesCard, D as DropdownButton, a as Dropdown } from './MediaSeriesCard-e08917c6.js';
|
|
7
7
|
import './index-98ca9cec.js';
|
|
8
8
|
import 'react-dom';
|
|
9
9
|
import Link from 'next/link';
|
|
10
10
|
import MasterDeck from './MasterDeck.js';
|
|
11
11
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
12
|
-
import { g as getSerializers } from './index-
|
|
12
|
+
import { g as getSerializers } from './index-995ce566.js';
|
|
13
13
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
14
14
|
import './core.get-iterator-method-ea258bb1.js';
|
|
15
15
|
import './web.dom.iterable-ab4dea5c.js';
|
|
@@ -40,13 +40,13 @@ import './isSymbol-a7e9aafe.js';
|
|
|
40
40
|
import './toNumber-5aeba6e7.js';
|
|
41
41
|
import './index.es-a6137319.js';
|
|
42
42
|
import './visibility-sensor-72fd8f8b.js';
|
|
43
|
-
import './ADlgInfeed-
|
|
43
|
+
import './ADlgInfeed-ebcafb85.js';
|
|
44
44
|
import './AdSlot.js';
|
|
45
45
|
import './Beam.js';
|
|
46
46
|
import './stringify-2b084bee.js';
|
|
47
47
|
import './Segment.js';
|
|
48
48
|
import './main-1894c974.js';
|
|
49
|
-
import './ADInfeed-
|
|
49
|
+
import './ADInfeed-7af1f934.js';
|
|
50
50
|
import 'react-bootstrap';
|
|
51
51
|
import './index-c7e2ac95.js';
|
|
52
52
|
import './util-8ed16d48.js';
|
|
@@ -92,11 +92,11 @@ var Filter = function Filter(_ref) {
|
|
|
92
92
|
_useState6 = _slicedToArray(_useState5, 2),
|
|
93
93
|
grandChildData = _useState6[0],
|
|
94
94
|
setGrandChildData = _useState6[1];
|
|
95
|
-
/*
|
|
96
|
-
{parent: showAll,
|
|
97
|
-
chidlren: show selected from parent,
|
|
98
|
-
grandchildren: show selected from children
|
|
99
|
-
}
|
|
95
|
+
/*
|
|
96
|
+
{parent: showAll,
|
|
97
|
+
chidlren: show selected from parent,
|
|
98
|
+
grandchildren: show selected from children
|
|
99
|
+
}
|
|
100
100
|
*/
|
|
101
101
|
|
|
102
102
|
|
|
@@ -3,13 +3,13 @@ import { _ as _typeof } from './typeof-e9fc0c5d.js';
|
|
|
3
3
|
import { _ as _extends } from './extends-6d8e3924.js';
|
|
4
4
|
import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
5
5
|
import React__default, { useState, useEffect } from 'react';
|
|
6
|
-
import { M as MediaSeriesCard, D as DropdownButton, a as Dropdown } from './MediaSeriesCard-
|
|
6
|
+
import { M as MediaSeriesCard, D as DropdownButton, a as Dropdown } from './MediaSeriesCard-e08917c6.js';
|
|
7
7
|
import './index-98ca9cec.js';
|
|
8
8
|
import 'react-dom';
|
|
9
9
|
import Link from 'next/link';
|
|
10
10
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
11
11
|
import MasterDeck from './MasterDeckPaginated.js';
|
|
12
|
-
import { g as getSerializers } from './index-
|
|
12
|
+
import { g as getSerializers } from './index-995ce566.js';
|
|
13
13
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
14
14
|
import './core.get-iterator-method-ea258bb1.js';
|
|
15
15
|
import './web.dom.iterable-ab4dea5c.js';
|
|
@@ -35,7 +35,7 @@ import 'react-bootstrap/Spinner';
|
|
|
35
35
|
import 'next/router';
|
|
36
36
|
import './lodash-f97fd99a.js';
|
|
37
37
|
import './main-1894c974.js';
|
|
38
|
-
import './ADlgInfeed-
|
|
38
|
+
import './ADlgInfeed-ebcafb85.js';
|
|
39
39
|
import 'react-bootstrap/Card';
|
|
40
40
|
import './AdSlot.js';
|
|
41
41
|
import './debounce-533d9748.js';
|
|
@@ -43,8 +43,9 @@ import './isSymbol-a7e9aafe.js';
|
|
|
43
43
|
import './toNumber-5aeba6e7.js';
|
|
44
44
|
import './Beam.js';
|
|
45
45
|
import './Segment.js';
|
|
46
|
-
import './ADInfeed-
|
|
47
|
-
import './Pagination-
|
|
46
|
+
import './ADInfeed-7af1f934.js';
|
|
47
|
+
import './Pagination-6f8d5327.js';
|
|
48
|
+
import 'react-paginate';
|
|
48
49
|
import 'react-bootstrap/Button';
|
|
49
50
|
import './index.esm-1bd8a0a8.js';
|
|
50
51
|
import './iconBase-ccc56b97.js';
|
|
@@ -93,11 +94,11 @@ var Filter = function Filter(_ref) {
|
|
|
93
94
|
_useState6 = _slicedToArray(_useState5, 2),
|
|
94
95
|
grandChildData = _useState6[0],
|
|
95
96
|
setGrandChildData = _useState6[1];
|
|
96
|
-
/*
|
|
97
|
-
{parent: showAll,
|
|
98
|
-
chidlren: show selected from parent,
|
|
99
|
-
grandchildren: show selected from children
|
|
100
|
-
}
|
|
97
|
+
/*
|
|
98
|
+
{parent: showAll,
|
|
99
|
+
chidlren: show selected from parent,
|
|
100
|
+
grandchildren: show selected from children
|
|
101
|
+
}
|
|
101
102
|
*/
|
|
102
103
|
|
|
103
104
|
|
package/dist/esm/NavMagazine.js
CHANGED
|
@@ -26,16 +26,16 @@ import 'react-bootstrap/FormControl';
|
|
|
26
26
|
import 'react-bootstrap/Button';
|
|
27
27
|
|
|
28
28
|
var NavMagazine = function NavMagazine(props) {
|
|
29
|
-
/*
|
|
30
|
-
Example Nav with acceptable props
|
|
31
|
-
<MagazineNav
|
|
32
|
-
showLogin
|
|
33
|
-
user={props.cache.user}
|
|
34
|
-
logo={props.settings.logo}
|
|
35
|
-
dataObject={props.cache.mainNavCache}
|
|
36
|
-
website={website}
|
|
37
|
-
subNav={props.cache.subNavCache}
|
|
38
|
-
/>
|
|
29
|
+
/*
|
|
30
|
+
Example Nav with acceptable props
|
|
31
|
+
<MagazineNav
|
|
32
|
+
showLogin
|
|
33
|
+
user={props.cache.user}
|
|
34
|
+
logo={props.settings.logo}
|
|
35
|
+
dataObject={props.cache.mainNavCache}
|
|
36
|
+
website={website}
|
|
37
|
+
subNav={props.cache.subNavCache}
|
|
38
|
+
/>
|
|
39
39
|
*/
|
|
40
40
|
|
|
41
41
|
// Setting 'socialIconVariant' as 'light' as default to make the social icons and search icon black
|
package/dist/esm/NavNative.js
CHANGED
|
@@ -300,15 +300,15 @@ function chunk(array, size, guard) {
|
|
|
300
300
|
var chunk_1 = chunk;
|
|
301
301
|
|
|
302
302
|
var NavNative = function NavNative(props) {
|
|
303
|
-
/*
|
|
304
|
-
Example Nav with acceptable props
|
|
305
|
-
<MagazineNav
|
|
306
|
-
showLogin
|
|
307
|
-
logo={props.settings.logo}
|
|
308
|
-
dataObject={props.cache.mainNavCache}
|
|
309
|
-
website={website}
|
|
310
|
-
subNav={props.cache.subNavCache}
|
|
311
|
-
/>
|
|
303
|
+
/*
|
|
304
|
+
Example Nav with acceptable props
|
|
305
|
+
<MagazineNav
|
|
306
|
+
showLogin
|
|
307
|
+
logo={props.settings.logo}
|
|
308
|
+
dataObject={props.cache.mainNavCache}
|
|
309
|
+
website={website}
|
|
310
|
+
subNav={props.cache.subNavCache}
|
|
311
|
+
/>
|
|
312
312
|
*/
|
|
313
313
|
// Setting 'socialIconVariant' as 'dark' as default to make the social icons and search icon black
|
|
314
314
|
var logo = props.logo,
|