@mjhls/mjh-framework 1.0.993-topelement-v5 → 1.0.993
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/AD.js +1 -1
- package/dist/cjs/AD300x250.js +1 -2
- package/dist/cjs/AD300x250x600.js +1 -2
- package/dist/cjs/AD728x90.js +1 -2
- package/dist/cjs/ADFloatingFooter.js +1 -2
- package/dist/cjs/ADGutter.js +1 -2
- package/dist/cjs/ADSkyscraper.js +1 -2
- package/dist/cjs/ADSponsoredResources.js +1 -2
- package/dist/cjs/ADWebcast.js +1 -2
- package/dist/cjs/ADWelcome.js +1 -2
- package/dist/cjs/AdSlot.js +1 -2
- package/dist/cjs/AdSlotsProvider.js +5 -5
- package/dist/cjs/AlgoliaSearch.js +738 -276
- package/dist/cjs/ArticleProgramLandingPage.js +4 -5
- package/dist/cjs/ArticleSeriesLandingPage.js +3 -4
- package/dist/cjs/ArticleSeriesListing.js +1 -2
- package/dist/cjs/Auth.js +26 -22830
- package/dist/cjs/AuthWrapper.js +16 -36
- package/dist/cjs/CMEDeck.js +1 -2
- package/dist/cjs/Column3.js +1 -2
- package/dist/cjs/ConferenceArticleCard.js +15 -15
- package/dist/cjs/ContentCardPaginated.js +2 -3
- package/dist/cjs/DeckContent.js +10 -11
- package/dist/cjs/DeckQueue.js +1 -2
- package/dist/cjs/DeckQueuePaginated.js +1 -2
- package/dist/cjs/{Dfp-c313a700.js → Dfp-67646058.js} +1 -2
- package/dist/cjs/EventsDeck.js +17 -17
- package/dist/cjs/ExternalResources.js +4 -5
- package/dist/cjs/GridContent.js +3 -4
- package/dist/cjs/GridContentPaginated.js +3 -4
- package/dist/cjs/HamMagazine.js +9 -9
- package/dist/cjs/HealthCareProfessionalModal.js +1 -1
- package/dist/cjs/HorizontalArticleListing.js +4 -5
- package/dist/cjs/{ImageSlider-ca708da8.js → ImageSlider-1ec0408b.js} +1 -1100
- package/dist/cjs/IssueLanding.js +35 -36
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +1 -2
- package/dist/cjs/MasterDeck.js +11 -12
- package/dist/cjs/MasterDeckPaginated.js +11 -12
- package/dist/cjs/{MediaSeriesCard-f6db8f70.js → MediaSeriesCard-2645b00a.js} +227 -218
- package/dist/cjs/MediaSeriesLanding.js +13 -14
- package/dist/cjs/MediaSeriesLandingPaginated.js +13 -14
- package/dist/cjs/NavMagazine.js +10 -10
- package/dist/cjs/NavNative.js +9 -9
- package/dist/cjs/PartnerDetailListing.js +9 -10
- package/dist/cjs/PartnerDetailListingPaginated.js +9 -10
- package/dist/cjs/PubSection.js +3 -4
- package/dist/cjs/PublicationLanding.js +26 -26
- package/dist/cjs/QueueDeckExpanded.js +3 -4
- package/dist/cjs/QueueDeckExpandedPaginated.js +3 -4
- package/dist/cjs/RelatedContent.js +28 -28
- package/dist/cjs/RelatedTopicsDropdown.js +10 -10
- package/dist/cjs/Schema.js +1 -1
- package/dist/cjs/SeriesListingDeck.js +2 -3
- package/dist/cjs/{SeriesSlider-f5248377.js → SeriesSlider-18fc6e71.js} +4 -4
- package/dist/cjs/SideFooter.js +2 -2
- package/dist/cjs/TaxonomyDescription.js +4 -5
- package/dist/cjs/TemplateNormal.js +1 -2
- package/dist/cjs/VideoProgramLandingPage.js +4 -5
- package/dist/cjs/VideoSeriesCard.js +1 -1
- package/dist/cjs/VideoSeriesLandingPage.js +3 -4
- package/dist/cjs/VideoSeriesListing.js +1 -2
- package/dist/cjs/View.js +8 -9
- package/dist/cjs/YoutubeGroup.js +4 -4
- package/dist/cjs/getSerializers.js +4 -5
- package/dist/cjs/{getTargeting-4439c99d.js → getTargeting-ba942d9a.js} +9 -9
- package/dist/cjs/getTargeting.js +1 -1
- package/dist/cjs/{index-b10d6863.js → index-669d70bd.js} +15 -12
- package/dist/cjs/{index-d2a6ef75.js → index-7435b964.js} +467 -2
- package/dist/cjs/{index-9ec837cc.js → index-b95410f0.js} +0 -35
- package/dist/cjs/index.js +14 -12
- package/dist/{esm/empty-a8042e3c.js → cjs/util-93a37fd0.js} +3 -135
- package/dist/esm/AD.js +1 -1
- package/dist/esm/AD300x250.js +1 -2
- package/dist/esm/AD300x250x600.js +1 -2
- package/dist/esm/AD728x90.js +1 -2
- package/dist/esm/ADFloatingFooter.js +1 -2
- package/dist/esm/ADGutter.js +1 -2
- package/dist/esm/ADSkyscraper.js +1 -2
- package/dist/esm/ADSponsoredResources.js +1 -2
- package/dist/esm/ADWebcast.js +1 -2
- package/dist/esm/ADWelcome.js +1 -2
- package/dist/esm/AdSlot.js +1 -2
- package/dist/esm/AdSlotsProvider.js +2 -3
- package/dist/esm/AlgoliaSearch.js +474 -12
- package/dist/esm/ArticleProgramLandingPage.js +4 -5
- package/dist/esm/ArticleSeriesLandingPage.js +3 -4
- package/dist/esm/ArticleSeriesListing.js +1 -2
- package/dist/esm/Auth.js +18 -22825
- package/dist/esm/AuthWrapper.js +16 -36
- package/dist/esm/CMEDeck.js +1 -2
- package/dist/esm/Column3.js +1 -2
- package/dist/esm/ConferenceArticleCard.js +15 -15
- package/dist/esm/ContentCardPaginated.js +2 -3
- package/dist/esm/DeckContent.js +10 -11
- package/dist/esm/DeckQueue.js +1 -2
- package/dist/esm/DeckQueuePaginated.js +1 -2
- package/dist/esm/{Dfp-102f0beb.js → Dfp-cf85d203.js} +1 -2
- package/dist/esm/EventsDeck.js +17 -17
- package/dist/esm/ExternalResources.js +4 -5
- package/dist/esm/GridContent.js +3 -4
- package/dist/esm/GridContentPaginated.js +3 -4
- package/dist/esm/HamMagazine.js +9 -9
- package/dist/esm/HealthCareProfessionalModal.js +1 -1
- package/dist/esm/HorizontalArticleListing.js +4 -5
- package/dist/esm/{ImageSlider-fada4f0c.js → ImageSlider-83913c4c.js} +3 -1101
- package/dist/esm/IssueLanding.js +35 -36
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +1 -2
- package/dist/esm/MasterDeck.js +11 -12
- package/dist/esm/MasterDeckPaginated.js +11 -12
- package/dist/esm/{MediaSeriesCard-96ac8ed4.js → MediaSeriesCard-2a9ff7f3.js} +227 -218
- package/dist/esm/MediaSeriesLanding.js +13 -14
- package/dist/esm/MediaSeriesLandingPaginated.js +13 -14
- package/dist/esm/NavMagazine.js +10 -10
- package/dist/esm/NavNative.js +9 -9
- package/dist/esm/PartnerDetailListing.js +8 -9
- package/dist/esm/PartnerDetailListingPaginated.js +8 -9
- package/dist/esm/PubSection.js +3 -4
- package/dist/esm/PublicationLanding.js +26 -26
- package/dist/esm/QueueDeckExpanded.js +3 -4
- package/dist/esm/QueueDeckExpandedPaginated.js +3 -4
- package/dist/esm/RelatedContent.js +28 -28
- package/dist/esm/RelatedTopicsDropdown.js +10 -10
- package/dist/esm/Schema.js +1 -1
- package/dist/esm/SeriesListingDeck.js +2 -3
- package/dist/esm/{SeriesSlider-4875823e.js → SeriesSlider-5728e349.js} +4 -4
- package/dist/esm/SideFooter.js +2 -2
- package/dist/esm/TaxonomyDescription.js +4 -5
- package/dist/esm/TemplateNormal.js +1 -2
- package/dist/esm/VideoProgramLandingPage.js +4 -5
- package/dist/esm/VideoSeriesCard.js +1 -1
- package/dist/esm/VideoSeriesLandingPage.js +3 -4
- package/dist/esm/VideoSeriesListing.js +1 -2
- package/dist/esm/View.js +8 -9
- package/dist/esm/YoutubeGroup.js +4 -4
- package/dist/esm/getSerializers.js +4 -5
- package/dist/esm/{getTargeting-c6884f34.js → getTargeting-9bd28724.js} +9 -9
- package/dist/esm/getTargeting.js +1 -1
- package/dist/esm/{index-0ce54f8a.js → index-174b5baf.js} +1 -34
- package/dist/esm/{index-076baa11.js → index-4d0371dc.js} +7 -5
- package/dist/esm/{index-f0fc23eb.js → index-5cc7b406.js} +466 -1
- package/dist/esm/index.js +14 -12
- package/dist/{cjs/empty-559717f3.js → esm/util-8ed16d48.js} +1 -146
- package/package.json +114 -114
- package/dist/cjs/defineProperty-ad65f5f0.js +0 -110
- package/dist/cjs/events-1b438fe7.js +0 -469
- package/dist/cjs/index-0cf4c9fc.js +0 -904
- package/dist/esm/defineProperty-50094484.js +0 -101
- package/dist/esm/events-6c3a7a63.js +0 -467
- package/dist/esm/index-e7075467.js +0 -897
- /package/dist/cjs/{ADInfeed-f316b66a.js → ADInfeed-ef933a08.js} +0 -0
- /package/dist/cjs/{ADlgInfeed-2003306e.js → ADlgInfeed-0e931f24.js} +0 -0
- /package/dist/esm/{ADInfeed-777bb0b3.js → ADInfeed-f946441a.js} +0 -0
- /package/dist/esm/{ADlgInfeed-e7fd1bb6.js → ADlgInfeed-012e6f16.js} +0 -0
|
@@ -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-
|
|
7
|
-
import './index-
|
|
6
|
+
import { M as MediaSeriesCard, D as DropdownButton, a as Dropdown } from './MediaSeriesCard-2a9ff7f3.js';
|
|
7
|
+
import './index-174b5baf.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-4d0371dc.js';
|
|
13
13
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
14
14
|
import './core.get-iterator-method-ea258bb1.js';
|
|
15
15
|
import './web.dom.iterable-ab4dea5c.js';
|
|
@@ -27,8 +27,7 @@ import './toConsumableArray-f7074d7c.js';
|
|
|
27
27
|
import './inherits-a6ba2ec4.js';
|
|
28
28
|
import './_object-sap-7cee6f84.js';
|
|
29
29
|
import './define-property-5f1bda73.js';
|
|
30
|
-
import './index-
|
|
31
|
-
import './events-6c3a7a63.js';
|
|
30
|
+
import './index-5cc7b406.js';
|
|
32
31
|
import 'react-bootstrap/Container';
|
|
33
32
|
import 'react-bootstrap/Row';
|
|
34
33
|
import 'react-bootstrap/Col';
|
|
@@ -40,22 +39,22 @@ import './isSymbol-a7e9aafe.js';
|
|
|
40
39
|
import './toNumber-5aeba6e7.js';
|
|
41
40
|
import './index.es-a6137319.js';
|
|
42
41
|
import './visibility-sensor-72fd8f8b.js';
|
|
43
|
-
import './ADlgInfeed-
|
|
42
|
+
import './ADlgInfeed-012e6f16.js';
|
|
44
43
|
import './AdSlot.js';
|
|
45
44
|
import './Beam.js';
|
|
46
45
|
import './stringify-2b084bee.js';
|
|
47
46
|
import './Segment.js';
|
|
48
47
|
import './main-9f6806ea.js';
|
|
49
|
-
import './ADInfeed-
|
|
48
|
+
import './ADInfeed-f946441a.js';
|
|
50
49
|
import 'react-bootstrap';
|
|
51
50
|
import './index-c7e2ac95.js';
|
|
52
|
-
import './
|
|
51
|
+
import './util-8ed16d48.js';
|
|
53
52
|
import './urlForFile-b69adffc.js';
|
|
54
53
|
import './brightcove-react-player-loader.es-57a70a56.js';
|
|
55
54
|
import 'react-bootstrap/Modal';
|
|
56
55
|
import 'react-bootstrap/Button';
|
|
57
56
|
import 'react-bootstrap/Form';
|
|
58
|
-
import '
|
|
57
|
+
import 'react-ga';
|
|
59
58
|
import './GroupDeck.js';
|
|
60
59
|
import './smoothscroll-fa4e3f8c.js';
|
|
61
60
|
import './SocialShare.js';
|
|
@@ -94,11 +93,11 @@ var Filter = function Filter(_ref) {
|
|
|
94
93
|
_useState6 = _slicedToArray(_useState5, 2),
|
|
95
94
|
grandChildData = _useState6[0],
|
|
96
95
|
setGrandChildData = _useState6[1];
|
|
97
|
-
/*
|
|
98
|
-
{parent: showAll,
|
|
99
|
-
chidlren: show selected from parent,
|
|
100
|
-
grandchildren: show selected from children
|
|
101
|
-
}
|
|
96
|
+
/*
|
|
97
|
+
{parent: showAll,
|
|
98
|
+
chidlren: show selected from parent,
|
|
99
|
+
grandchildren: show selected from children
|
|
100
|
+
}
|
|
102
101
|
*/
|
|
103
102
|
|
|
104
103
|
|
|
@@ -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-
|
|
7
|
-
import './index-
|
|
6
|
+
import { M as MediaSeriesCard, D as DropdownButton, a as Dropdown } from './MediaSeriesCard-2a9ff7f3.js';
|
|
7
|
+
import './index-174b5baf.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-4d0371dc.js';
|
|
13
13
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
14
14
|
import './core.get-iterator-method-ea258bb1.js';
|
|
15
15
|
import './web.dom.iterable-ab4dea5c.js';
|
|
@@ -28,14 +28,13 @@ import './toConsumableArray-f7074d7c.js';
|
|
|
28
28
|
import './inherits-a6ba2ec4.js';
|
|
29
29
|
import './_object-sap-7cee6f84.js';
|
|
30
30
|
import './define-property-5f1bda73.js';
|
|
31
|
-
import './index-
|
|
32
|
-
import './events-6c3a7a63.js';
|
|
31
|
+
import './index-5cc7b406.js';
|
|
33
32
|
import 'react-bootstrap/Container';
|
|
34
33
|
import 'react-bootstrap/Spinner';
|
|
35
34
|
import 'next/router';
|
|
36
35
|
import './lodash-f97fd99a.js';
|
|
37
36
|
import './main-9f6806ea.js';
|
|
38
|
-
import './ADlgInfeed-
|
|
37
|
+
import './ADlgInfeed-012e6f16.js';
|
|
39
38
|
import 'react-bootstrap/Card';
|
|
40
39
|
import './AdSlot.js';
|
|
41
40
|
import './debounce-533d9748.js';
|
|
@@ -43,19 +42,19 @@ import './isSymbol-a7e9aafe.js';
|
|
|
43
42
|
import './toNumber-5aeba6e7.js';
|
|
44
43
|
import './Beam.js';
|
|
45
44
|
import './Segment.js';
|
|
46
|
-
import './ADInfeed-
|
|
45
|
+
import './ADInfeed-f946441a.js';
|
|
47
46
|
import './Pagination-9fe9f61d.js';
|
|
48
47
|
import 'react-bootstrap/Button';
|
|
49
48
|
import './index.esm-1bd8a0a8.js';
|
|
50
49
|
import './iconBase-ccc56b97.js';
|
|
51
50
|
import 'react-bootstrap';
|
|
52
51
|
import './index-c7e2ac95.js';
|
|
53
|
-
import './
|
|
52
|
+
import './util-8ed16d48.js';
|
|
54
53
|
import './urlForFile-b69adffc.js';
|
|
55
54
|
import './brightcove-react-player-loader.es-57a70a56.js';
|
|
56
55
|
import 'react-bootstrap/Modal';
|
|
57
56
|
import 'react-bootstrap/Form';
|
|
58
|
-
import '
|
|
57
|
+
import 'react-ga';
|
|
59
58
|
import './GroupDeck.js';
|
|
60
59
|
import './smoothscroll-fa4e3f8c.js';
|
|
61
60
|
import './SocialShare.js';
|
|
@@ -95,11 +94,11 @@ var Filter = function Filter(_ref) {
|
|
|
95
94
|
_useState6 = _slicedToArray(_useState5, 2),
|
|
96
95
|
grandChildData = _useState6[0],
|
|
97
96
|
setGrandChildData = _useState6[1];
|
|
98
|
-
/*
|
|
99
|
-
{parent: showAll,
|
|
100
|
-
chidlren: show selected from parent,
|
|
101
|
-
grandchildren: show selected from children
|
|
102
|
-
}
|
|
97
|
+
/*
|
|
98
|
+
{parent: showAll,
|
|
99
|
+
chidlren: show selected from parent,
|
|
100
|
+
grandchildren: show selected from children
|
|
101
|
+
}
|
|
103
102
|
*/
|
|
104
103
|
|
|
105
104
|
|
package/dist/esm/NavMagazine.js
CHANGED
|
@@ -27,16 +27,16 @@ import 'react-bootstrap/FormControl';
|
|
|
27
27
|
import 'react-bootstrap/Button';
|
|
28
28
|
|
|
29
29
|
var NavMagazine = function NavMagazine(props) {
|
|
30
|
-
/*
|
|
31
|
-
Example Nav with acceptable props
|
|
32
|
-
<MagazineNav
|
|
33
|
-
showLogin
|
|
34
|
-
user={props.cache.user}
|
|
35
|
-
logo={props.settings.logo}
|
|
36
|
-
dataObject={props.cache.mainNavCache}
|
|
37
|
-
website={website}
|
|
38
|
-
subNav={props.cache.subNavCache}
|
|
39
|
-
/>
|
|
30
|
+
/*
|
|
31
|
+
Example Nav with acceptable props
|
|
32
|
+
<MagazineNav
|
|
33
|
+
showLogin
|
|
34
|
+
user={props.cache.user}
|
|
35
|
+
logo={props.settings.logo}
|
|
36
|
+
dataObject={props.cache.mainNavCache}
|
|
37
|
+
website={website}
|
|
38
|
+
subNav={props.cache.subNavCache}
|
|
39
|
+
/>
|
|
40
40
|
*/
|
|
41
41
|
|
|
42
42
|
// Setting 'socialIconVariant' as 'light' as default to make the social icons and search icon black
|
package/dist/esm/NavNative.js
CHANGED
|
@@ -301,15 +301,15 @@ function chunk(array, size, guard) {
|
|
|
301
301
|
var chunk_1 = chunk;
|
|
302
302
|
|
|
303
303
|
var NavNative = function NavNative(props) {
|
|
304
|
-
/*
|
|
305
|
-
Example Nav with acceptable props
|
|
306
|
-
<MagazineNav
|
|
307
|
-
showLogin
|
|
308
|
-
logo={props.settings.logo}
|
|
309
|
-
dataObject={props.cache.mainNavCache}
|
|
310
|
-
website={website}
|
|
311
|
-
subNav={props.cache.subNavCache}
|
|
312
|
-
/>
|
|
304
|
+
/*
|
|
305
|
+
Example Nav with acceptable props
|
|
306
|
+
<MagazineNav
|
|
307
|
+
showLogin
|
|
308
|
+
logo={props.settings.logo}
|
|
309
|
+
dataObject={props.cache.mainNavCache}
|
|
310
|
+
website={website}
|
|
311
|
+
subNav={props.cache.subNavCache}
|
|
312
|
+
/>
|
|
313
313
|
*/
|
|
314
314
|
// Setting 'socialIconVariant' as 'dark' as default to make the social icons and search icon black
|
|
315
315
|
var logo = props.logo,
|
|
@@ -2,14 +2,15 @@ import { _ as _asyncToGenerator, r as regenerator, a as _Promise } from './async
|
|
|
2
2
|
import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
3
3
|
import { _ as _extends } from './extends-6d8e3924.js';
|
|
4
4
|
import React__default from 'react';
|
|
5
|
-
import {
|
|
5
|
+
import { TwitterTimelineEmbed } from 'react-twitter-embed';
|
|
6
|
+
import { I as ImageSlider, F as Facebook, P as Page } from './ImageSlider-83913c4c.js';
|
|
6
7
|
import { r as reactSocialIcons_1 } from './react-social-icons-9be47857.js';
|
|
7
8
|
import { m as moment } from './moment-bc12cb97.js';
|
|
8
9
|
import QueueDeckExpanded from './QueueDeckExpanded.js';
|
|
9
10
|
import Breadcrumbs from './Breadcrumbs.js';
|
|
10
11
|
import Feature from './Feature.js';
|
|
11
12
|
import urlFor from './urlFor.js';
|
|
12
|
-
import { g as getSerializers } from './index-
|
|
13
|
+
import { g as getSerializers } from './index-4d0371dc.js';
|
|
13
14
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
14
15
|
import { c as checkSisterSite } from './checkSisterSite-baa4fb6b.js';
|
|
15
16
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
@@ -18,7 +19,6 @@ import './web.dom.iterable-ab4dea5c.js';
|
|
|
18
19
|
import './_library-528f1934.js';
|
|
19
20
|
import './_iter-detect-98db3b07.js';
|
|
20
21
|
import './_object-pie-133f504a.js';
|
|
21
|
-
import './defineProperty-50094484.js';
|
|
22
22
|
import 'prop-types';
|
|
23
23
|
import './smoothscroll-fa4e3f8c.js';
|
|
24
24
|
import './toConsumableArray-f7074d7c.js';
|
|
@@ -26,13 +26,12 @@ import 'react-bootstrap';
|
|
|
26
26
|
import './index.es-a6137319.js';
|
|
27
27
|
import './visibility-sensor-72fd8f8b.js';
|
|
28
28
|
import 'react-dom';
|
|
29
|
-
import './index-
|
|
30
|
-
import './events-6c3a7a63.js';
|
|
29
|
+
import './index-5cc7b406.js';
|
|
31
30
|
import 'next/router';
|
|
32
31
|
import './index-755f2cc2.js';
|
|
33
32
|
import './main-9f6806ea.js';
|
|
34
33
|
import './entities-6d9154b4.js';
|
|
35
|
-
import './ADInfeed-
|
|
34
|
+
import './ADInfeed-f946441a.js';
|
|
36
35
|
import 'react-bootstrap/Card';
|
|
37
36
|
import './AdSlot.js';
|
|
38
37
|
import './debounce-533d9748.js';
|
|
@@ -43,14 +42,14 @@ import './stringify-2b084bee.js';
|
|
|
43
42
|
import './Segment.js';
|
|
44
43
|
import './AuthorComponent-11adff02.js';
|
|
45
44
|
import './lodash-f97fd99a.js';
|
|
46
|
-
import './ADlgInfeed-
|
|
45
|
+
import './ADlgInfeed-012e6f16.js';
|
|
47
46
|
import './getContentCategory-15dcc413.js';
|
|
48
47
|
import './timeDifferenceCalc.js';
|
|
49
48
|
import './index-3f5c03b2.js';
|
|
50
49
|
import 'react-bootstrap/Breadcrumb';
|
|
51
50
|
import 'react-bootstrap/Carousel';
|
|
52
51
|
import './index-c7e2ac95.js';
|
|
53
|
-
import './
|
|
52
|
+
import './util-8ed16d48.js';
|
|
54
53
|
import './urlForFile-b69adffc.js';
|
|
55
54
|
import './typeof-e9fc0c5d.js';
|
|
56
55
|
import './_is-array-8d21b9e3.js';
|
|
@@ -58,7 +57,7 @@ import './brightcove-react-player-loader.es-57a70a56.js';
|
|
|
58
57
|
import 'react-bootstrap/Modal';
|
|
59
58
|
import 'react-bootstrap/Button';
|
|
60
59
|
import 'react-bootstrap/Form';
|
|
61
|
-
import '
|
|
60
|
+
import 'react-ga';
|
|
62
61
|
import './GroupDeck.js';
|
|
63
62
|
import './SocialShare.js';
|
|
64
63
|
import 'next/head';
|
|
@@ -2,14 +2,15 @@ import { _ as _asyncToGenerator, r as regenerator, a as _Promise } from './async
|
|
|
2
2
|
import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
3
3
|
import { _ as _extends } from './extends-6d8e3924.js';
|
|
4
4
|
import React__default from 'react';
|
|
5
|
-
import {
|
|
5
|
+
import { TwitterTimelineEmbed } from 'react-twitter-embed';
|
|
6
|
+
import { I as ImageSlider, F as Facebook, P as Page } from './ImageSlider-83913c4c.js';
|
|
6
7
|
import { r as reactSocialIcons_1 } from './react-social-icons-9be47857.js';
|
|
7
8
|
import './moment-bc12cb97.js';
|
|
8
9
|
import QueueDeckExpanded from './QueueDeckExpandedPaginated.js';
|
|
9
10
|
import Breadcrumbs from './Breadcrumbs.js';
|
|
10
11
|
import Feature from './Feature.js';
|
|
11
12
|
import urlFor from './urlFor.js';
|
|
12
|
-
import { g as getSerializers } from './index-
|
|
13
|
+
import { g as getSerializers } from './index-4d0371dc.js';
|
|
13
14
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
14
15
|
import { c as checkSisterSite } from './checkSisterSite-baa4fb6b.js';
|
|
15
16
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
@@ -18,20 +19,18 @@ import './web.dom.iterable-ab4dea5c.js';
|
|
|
18
19
|
import './_library-528f1934.js';
|
|
19
20
|
import './_iter-detect-98db3b07.js';
|
|
20
21
|
import './_object-pie-133f504a.js';
|
|
21
|
-
import './defineProperty-50094484.js';
|
|
22
22
|
import 'prop-types';
|
|
23
23
|
import './smoothscroll-fa4e3f8c.js';
|
|
24
24
|
import './toConsumableArray-f7074d7c.js';
|
|
25
25
|
import 'react-bootstrap';
|
|
26
|
-
import './index-
|
|
27
|
-
import './events-6c3a7a63.js';
|
|
26
|
+
import './index-5cc7b406.js';
|
|
28
27
|
import 'next/router';
|
|
29
28
|
import './index-755f2cc2.js';
|
|
30
29
|
import 'react-dom';
|
|
31
30
|
import './lodash-f97fd99a.js';
|
|
32
31
|
import './main-9f6806ea.js';
|
|
33
32
|
import './entities-6d9154b4.js';
|
|
34
|
-
import './ADInfeed-
|
|
33
|
+
import './ADInfeed-f946441a.js';
|
|
35
34
|
import 'react-bootstrap/Card';
|
|
36
35
|
import './AdSlot.js';
|
|
37
36
|
import './debounce-533d9748.js';
|
|
@@ -41,7 +40,7 @@ import './Beam.js';
|
|
|
41
40
|
import './stringify-2b084bee.js';
|
|
42
41
|
import './Segment.js';
|
|
43
42
|
import './AuthorComponent-11adff02.js';
|
|
44
|
-
import './ADlgInfeed-
|
|
43
|
+
import './ADlgInfeed-012e6f16.js';
|
|
45
44
|
import './getContentCategory-15dcc413.js';
|
|
46
45
|
import './timeDifferenceCalc.js';
|
|
47
46
|
import './Pagination-9fe9f61d.js';
|
|
@@ -52,14 +51,14 @@ import './index-3f5c03b2.js';
|
|
|
52
51
|
import 'react-bootstrap/Breadcrumb';
|
|
53
52
|
import 'react-bootstrap/Carousel';
|
|
54
53
|
import './index-c7e2ac95.js';
|
|
55
|
-
import './
|
|
54
|
+
import './util-8ed16d48.js';
|
|
56
55
|
import './urlForFile-b69adffc.js';
|
|
57
56
|
import './typeof-e9fc0c5d.js';
|
|
58
57
|
import './_is-array-8d21b9e3.js';
|
|
59
58
|
import './brightcove-react-player-loader.es-57a70a56.js';
|
|
60
59
|
import 'react-bootstrap/Modal';
|
|
61
60
|
import 'react-bootstrap/Form';
|
|
62
|
-
import '
|
|
61
|
+
import 'react-ga';
|
|
63
62
|
import './GroupDeck.js';
|
|
64
63
|
import './SocialShare.js';
|
|
65
64
|
import 'next/head';
|
package/dist/esm/PubSection.js
CHANGED
|
@@ -17,14 +17,13 @@ import './index.es-a6137319.js';
|
|
|
17
17
|
import './moment-bc12cb97.js';
|
|
18
18
|
import './visibility-sensor-72fd8f8b.js';
|
|
19
19
|
import 'react-dom';
|
|
20
|
-
import './index-
|
|
21
|
-
import './events-6c3a7a63.js';
|
|
20
|
+
import './index-5cc7b406.js';
|
|
22
21
|
import 'prop-types';
|
|
23
22
|
import 'next/router';
|
|
24
23
|
import './index-755f2cc2.js';
|
|
25
24
|
import './main-9f6806ea.js';
|
|
26
25
|
import './entities-6d9154b4.js';
|
|
27
|
-
import './ADInfeed-
|
|
26
|
+
import './ADInfeed-f946441a.js';
|
|
28
27
|
import 'react-bootstrap/Card';
|
|
29
28
|
import './AdSlot.js';
|
|
30
29
|
import './debounce-533d9748.js';
|
|
@@ -35,7 +34,7 @@ import './stringify-2b084bee.js';
|
|
|
35
34
|
import './Segment.js';
|
|
36
35
|
import './AuthorComponent-11adff02.js';
|
|
37
36
|
import './lodash-f97fd99a.js';
|
|
38
|
-
import './ADlgInfeed-
|
|
37
|
+
import './ADlgInfeed-012e6f16.js';
|
|
39
38
|
import './getContentCategory-15dcc413.js';
|
|
40
39
|
import './timeDifferenceCalc.js';
|
|
41
40
|
|
|
@@ -376,32 +376,32 @@ module.exports = { "default": set$1, __esModule: true };
|
|
|
376
376
|
|
|
377
377
|
var _Set = unwrapExports(set);
|
|
378
378
|
|
|
379
|
-
/* usage & query
|
|
380
|
-
const Publication = (props) => {
|
|
381
|
-
const { cache, pub, year } = props
|
|
382
|
-
const targeting = {
|
|
383
|
-
content_placement: [`/journals/${pub.identifier.current}`],
|
|
384
|
-
document_url: [`/journals/${pub.identifier.current}`],
|
|
385
|
-
}
|
|
386
|
-
return (
|
|
387
|
-
<Shell title={pub.name} cache={cache} settings={Settings} targeting={targeting} ads={Ads} layout='3'>
|
|
388
|
-
<PublicationLanding publication={pub} year={year} href={'journals'} />
|
|
389
|
-
</Shell>
|
|
390
|
-
)
|
|
391
|
-
}
|
|
392
|
-
Publication.getInitialProps = async (ctx) => {
|
|
393
|
-
const { query } = ctx
|
|
394
|
-
const {
|
|
395
|
-
query: { year },
|
|
396
|
-
} = ctx
|
|
397
|
-
const pub = await client.fetch(getQuery('publication'), query)
|
|
398
|
-
**import urlFor from framework**
|
|
399
|
-
pub.issues.map((issue) => {
|
|
400
|
-
issue.thumbnail = urlFor({client, source: issue.thumbnail})
|
|
401
|
-
})
|
|
402
|
-
return { pub, year }
|
|
403
|
-
}
|
|
404
|
-
export default Publication
|
|
379
|
+
/* usage & query
|
|
380
|
+
const Publication = (props) => {
|
|
381
|
+
const { cache, pub, year } = props
|
|
382
|
+
const targeting = {
|
|
383
|
+
content_placement: [`/journals/${pub.identifier.current}`],
|
|
384
|
+
document_url: [`/journals/${pub.identifier.current}`],
|
|
385
|
+
}
|
|
386
|
+
return (
|
|
387
|
+
<Shell title={pub.name} cache={cache} settings={Settings} targeting={targeting} ads={Ads} layout='3'>
|
|
388
|
+
<PublicationLanding publication={pub} year={year} href={'journals'} />
|
|
389
|
+
</Shell>
|
|
390
|
+
)
|
|
391
|
+
}
|
|
392
|
+
Publication.getInitialProps = async (ctx) => {
|
|
393
|
+
const { query } = ctx
|
|
394
|
+
const {
|
|
395
|
+
query: { year },
|
|
396
|
+
} = ctx
|
|
397
|
+
const pub = await client.fetch(getQuery('publication'), query)
|
|
398
|
+
**import urlFor from framework**
|
|
399
|
+
pub.issues.map((issue) => {
|
|
400
|
+
issue.thumbnail = urlFor({client, source: issue.thumbnail})
|
|
401
|
+
})
|
|
402
|
+
return { pub, year }
|
|
403
|
+
}
|
|
404
|
+
export default Publication
|
|
405
405
|
*/
|
|
406
406
|
|
|
407
407
|
var generateContentPlacements = function generateContentPlacements(issues) {
|
|
@@ -7,15 +7,15 @@ import urlFor from './urlFor.js';
|
|
|
7
7
|
import { I as InfiniteScroll } from './index.es-a6137319.js';
|
|
8
8
|
import { m as moment } from './moment-bc12cb97.js';
|
|
9
9
|
import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
10
|
-
import { l as lib_3 } from './index-
|
|
10
|
+
import { l as lib_3 } from './index-5cc7b406.js';
|
|
11
11
|
import { useRouter } from 'next/router';
|
|
12
12
|
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
13
13
|
import { m as main_43 } from './main-9f6806ea.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-f946441a.js';
|
|
16
16
|
import { A as AuthorComponent } from './AuthorComponent-11adff02.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-012e6f16.js';
|
|
19
19
|
import { g as getContentCategory } from './getContentCategory-15dcc413.js';
|
|
20
20
|
import timeDifferenceCalc from './timeDifferenceCalc.js';
|
|
21
21
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
@@ -25,7 +25,6 @@ import './_iter-detect-98db3b07.js';
|
|
|
25
25
|
import './_object-pie-133f504a.js';
|
|
26
26
|
import './index-3f5c03b2.js';
|
|
27
27
|
import 'react-dom';
|
|
28
|
-
import './events-6c3a7a63.js';
|
|
29
28
|
import 'prop-types';
|
|
30
29
|
import 'react-bootstrap/Card';
|
|
31
30
|
import './AdSlot.js';
|
|
@@ -5,15 +5,15 @@ import { _ as _toConsumableArray } from './toConsumableArray-f7074d7c.js';
|
|
|
5
5
|
import React__default, { useState, useEffect, useRef } from 'react';
|
|
6
6
|
import { Spinner, Container, Media } from 'react-bootstrap';
|
|
7
7
|
import { m as moment } from './moment-bc12cb97.js';
|
|
8
|
-
import { l as lib_3 } from './index-
|
|
8
|
+
import { l as lib_3 } from './index-5cc7b406.js';
|
|
9
9
|
import { useRouter } from 'next/router';
|
|
10
10
|
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
11
11
|
import { l as lodash } from './lodash-f97fd99a.js';
|
|
12
12
|
import { m as main_43 } from './main-9f6806ea.js';
|
|
13
13
|
import { c as clean_html_1 } from './entities-6d9154b4.js';
|
|
14
|
-
import { A as ADInfeed } from './ADInfeed-
|
|
14
|
+
import { A as ADInfeed } from './ADInfeed-f946441a.js';
|
|
15
15
|
import { A as AuthorComponent } from './AuthorComponent-11adff02.js';
|
|
16
|
-
import { A as ADlgInfeed } from './ADlgInfeed-
|
|
16
|
+
import { A as ADlgInfeed } from './ADlgInfeed-012e6f16.js';
|
|
17
17
|
import { g as getContentCategory } from './getContentCategory-15dcc413.js';
|
|
18
18
|
import timeDifferenceCalc from './timeDifferenceCalc.js';
|
|
19
19
|
import urlFor from './urlFor.js';
|
|
@@ -24,7 +24,6 @@ import './web.dom.iterable-ab4dea5c.js';
|
|
|
24
24
|
import './_library-528f1934.js';
|
|
25
25
|
import './_iter-detect-98db3b07.js';
|
|
26
26
|
import './_object-pie-133f504a.js';
|
|
27
|
-
import './events-6c3a7a63.js';
|
|
28
27
|
import 'prop-types';
|
|
29
28
|
import 'react-dom';
|
|
30
29
|
import 'react-bootstrap/Card';
|
|
@@ -11,34 +11,34 @@ import './index-3f5c03b2.js';
|
|
|
11
11
|
import 'react-dom';
|
|
12
12
|
import 'prop-types';
|
|
13
13
|
|
|
14
|
-
/*
|
|
15
|
-
Sample query
|
|
16
|
-
let references = ''
|
|
17
|
-
if(article.taxonomyMapping.length > 0){
|
|
18
|
-
article.taxonomyMapping.forEach((ref, index) => {
|
|
19
|
-
references = references + `references('${ref._ref}') `
|
|
20
|
-
if(index+1 !== article.taxonomyMapping.length){
|
|
21
|
-
references = references + ` && `
|
|
22
|
-
}
|
|
23
|
-
})
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
const relatedArticlesQuery = `*[!(_id in path("drafts.**")) && _type == "article" && title !='${article.title}' && defined(title) && is_visible == true && ( references('article.documentGroup._id') || ${references} ) && published <= '${today}'] | order(published desc) [0...4] {
|
|
27
|
-
...,
|
|
28
|
-
title,
|
|
29
|
-
summary,
|
|
30
|
-
thumbnail,
|
|
31
|
-
url,
|
|
32
|
-
published,
|
|
33
|
-
authorMapping[]->,
|
|
34
|
-
contentCategory->
|
|
35
|
-
}`
|
|
36
|
-
const relatedArticles = await client.fetch(relatedArticlesQuery)
|
|
37
|
-
|
|
38
|
-
Sample usage
|
|
39
|
-
<RelatedContent dataRecord={props.relatedArticles} client={client} showAuthor showPublished reverse/>
|
|
40
|
-
|
|
41
|
-
|
|
14
|
+
/*
|
|
15
|
+
Sample query
|
|
16
|
+
let references = ''
|
|
17
|
+
if(article.taxonomyMapping.length > 0){
|
|
18
|
+
article.taxonomyMapping.forEach((ref, index) => {
|
|
19
|
+
references = references + `references('${ref._ref}') `
|
|
20
|
+
if(index+1 !== article.taxonomyMapping.length){
|
|
21
|
+
references = references + ` && `
|
|
22
|
+
}
|
|
23
|
+
})
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
const relatedArticlesQuery = `*[!(_id in path("drafts.**")) && _type == "article" && title !='${article.title}' && defined(title) && is_visible == true && ( references('article.documentGroup._id') || ${references} ) && published <= '${today}'] | order(published desc) [0...4] {
|
|
27
|
+
...,
|
|
28
|
+
title,
|
|
29
|
+
summary,
|
|
30
|
+
thumbnail,
|
|
31
|
+
url,
|
|
32
|
+
published,
|
|
33
|
+
authorMapping[]->,
|
|
34
|
+
contentCategory->
|
|
35
|
+
}`
|
|
36
|
+
const relatedArticles = await client.fetch(relatedArticlesQuery)
|
|
37
|
+
|
|
38
|
+
Sample usage
|
|
39
|
+
<RelatedContent dataRecord={props.relatedArticles} client={client} showAuthor showPublished reverse/>
|
|
40
|
+
|
|
41
|
+
|
|
42
42
|
*/
|
|
43
43
|
var RelatedContent = function RelatedContent(props) {
|
|
44
44
|
var client = props.client,
|
|
@@ -14,16 +14,16 @@ var RelatedTopicsDropdown = function RelatedTopicsDropdown(_ref) {
|
|
|
14
14
|
_ref$className = _ref.className,
|
|
15
15
|
className = _ref$className === undefined ? '' : _ref$className;
|
|
16
16
|
|
|
17
|
-
/*
|
|
18
|
-
Props accepted - parentTaxonomy(required, object), subTaxonomy(required, array), page(optional), exclude(optional), variant(optional), className(optional)
|
|
19
|
-
example:
|
|
20
|
-
<RelatedTopicDropdown
|
|
21
|
-
page='/clinical'
|
|
22
|
-
exclude="clinical"
|
|
23
|
-
className='mb-3'
|
|
24
|
-
parentTaxonomy={props.parentTaxonomy}
|
|
25
|
-
subTaxonomies={props.subTaxonomies}
|
|
26
|
-
/>
|
|
17
|
+
/*
|
|
18
|
+
Props accepted - parentTaxonomy(required, object), subTaxonomy(required, array), page(optional), exclude(optional), variant(optional), className(optional)
|
|
19
|
+
example:
|
|
20
|
+
<RelatedTopicDropdown
|
|
21
|
+
page='/clinical'
|
|
22
|
+
exclude="clinical"
|
|
23
|
+
className='mb-3'
|
|
24
|
+
parentTaxonomy={props.parentTaxonomy}
|
|
25
|
+
subTaxonomies={props.subTaxonomies}
|
|
26
|
+
/>
|
|
27
27
|
*/
|
|
28
28
|
if (subTaxonomies.length === 0 && parentTaxonomy) {
|
|
29
29
|
if (parentTaxonomy.identifier == exclude) {
|
package/dist/esm/Schema.js
CHANGED
|
@@ -89,7 +89,7 @@ function generateSchema(props) {
|
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
var Schema = function Schema(props) {
|
|
92
|
-
return
|
|
92
|
+
return React__default.createElement('script', { type: 'application/ld+json', dangerouslySetInnerHTML: { __html: _JSON$stringify(generateSchema(props)) } });
|
|
93
93
|
};
|
|
94
94
|
|
|
95
95
|
export { Schema as default };
|
|
@@ -3,16 +3,15 @@ import { _ as _extends } from './extends-6d8e3924.js';
|
|
|
3
3
|
import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
4
4
|
import React__default, { useState, useEffect, useRef } from 'react';
|
|
5
5
|
import { useRouter } from 'next/router';
|
|
6
|
-
import { l as lib_3 } from './index-
|
|
6
|
+
import { l as lib_3 } from './index-5cc7b406.js';
|
|
7
7
|
import { I as InfiniteScroll } from './index.es-a6137319.js';
|
|
8
|
-
import { S as SeriesSlider } from './SeriesSlider-
|
|
8
|
+
import { S as SeriesSlider } from './SeriesSlider-5728e349.js';
|
|
9
9
|
import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
10
10
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
11
11
|
import './core.get-iterator-method-ea258bb1.js';
|
|
12
12
|
import './_iter-detect-98db3b07.js';
|
|
13
13
|
import './_object-pie-133f504a.js';
|
|
14
14
|
import './web.dom.iterable-ab4dea5c.js';
|
|
15
|
-
import './events-6c3a7a63.js';
|
|
16
15
|
import 'prop-types';
|
|
17
16
|
import './index-c7e2ac95.js';
|
|
18
17
|
import './index-755f2cc2.js';
|
|
@@ -6,10 +6,10 @@ import { s as smoothscroll } from './smoothscroll-fa4e3f8c.js';
|
|
|
6
6
|
import urlFor from './urlFor.js';
|
|
7
7
|
import { m as main_43, a as main_49, b as main_42 } from './main-9f6806ea.js';
|
|
8
8
|
|
|
9
|
-
/*
|
|
10
|
-
GROQ query -
|
|
11
|
-
accepts an array of title, URL
|
|
12
|
-
`https://img.youtube.com/vi/${getYouTubeId(vid.url)}/hqdefault.jpg`
|
|
9
|
+
/*
|
|
10
|
+
GROQ query -
|
|
11
|
+
accepts an array of title, URL
|
|
12
|
+
`https://img.youtube.com/vi/${getYouTubeId(vid.url)}/hqdefault.jpg`
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
var SeriesSlider = function SeriesSlider(_ref) {
|
package/dist/esm/SideFooter.js
CHANGED
|
@@ -31,8 +31,8 @@ var renderLink = function renderLink(row) {
|
|
|
31
31
|
};
|
|
32
32
|
|
|
33
33
|
var SideFooter = function SideFooter(props) {
|
|
34
|
-
/*
|
|
35
|
-
useage example: <SideFooter cache={props.cache} logo='https://mjh-web.s3.amazonaws.com/_media/an_mjhls_brand_logo.png' />
|
|
34
|
+
/*
|
|
35
|
+
useage example: <SideFooter cache={props.cache} logo='https://mjh-web.s3.amazonaws.com/_media/an_mjhls_brand_logo.png' />
|
|
36
36
|
*/
|
|
37
37
|
var _get = get_1(props, 'cache.siteSettingCache', {}),
|
|
38
38
|
socialLinks = _get.socialLinks,
|