@mjhls/mjh-framework 1.0.992-nofollow-v5 → 1.0.992-publication-test
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/dist/cjs/AD.js +6 -6
- package/dist/cjs/AD300x250.js +5 -5
- package/dist/cjs/AD300x250x600.js +5 -5
- package/dist/cjs/AD728x90.js +6 -6
- package/dist/cjs/ADFloatingFooter.js +8 -8
- package/dist/cjs/ADFooter.js +5 -5
- package/dist/cjs/ADGutter.js +8 -8
- package/dist/cjs/{ADInfeed-f316b66a.js → ADInfeed-e87afe8a.js} +5 -5
- package/dist/cjs/ADSkyscraper.js +8 -8
- package/dist/cjs/ADSponsoredResources.js +8 -8
- package/dist/cjs/ADWebcast.js +8 -8
- package/dist/cjs/ADWelcome.js +12 -12
- package/dist/cjs/{ADlgInfeed-2003306e.js → ADlgInfeed-b5a3d436.js} +3 -3
- package/dist/cjs/AccordionPanel.js +17 -17
- package/dist/cjs/AdSlot.js +9 -9
- package/dist/cjs/AdSlotsProvider.js +5 -5
- package/dist/cjs/AlgoliaSearch.js +866 -1047
- package/dist/cjs/AlphabeticList.js +12 -12
- package/dist/cjs/ArticleCarousel.js +5 -5
- package/dist/cjs/ArticleProgramLandingPage.js +14 -15
- package/dist/cjs/ArticleSeriesLandingPage.js +11 -11
- package/dist/cjs/ArticleSeriesListing.js +29 -29
- package/dist/cjs/Auth.js +85 -114
- package/dist/cjs/AuthWrapper.js +24 -24
- package/dist/cjs/{AuthorComponent-7d00f6d5.js → AuthorComponent-39b37d84.js} +9 -9
- package/dist/cjs/{BlockContent-96b44364.js → BlockContent-9ebd251f.js} +18 -18
- package/dist/cjs/Breadcrumbs.js +17 -17
- package/dist/cjs/CMEDeck.js +61 -61
- package/dist/cjs/Column1.js +7 -7
- package/dist/cjs/Column2.js +18 -17
- package/dist/cjs/Column3.js +29 -28
- package/dist/cjs/ConferenceArticleCard.js +12 -12
- package/dist/cjs/{ConferenceBanner-213003ce.js → ConferenceBanner-6c9e718a.js} +3 -3
- package/dist/cjs/ContentCardPaginated.js +49 -49
- package/dist/cjs/DeckContent.js +58 -58
- package/dist/cjs/DeckQueue.js +57 -57
- package/dist/cjs/DeckQueuePaginated.js +46 -46
- package/dist/cjs/{Dfp-c313a700.js → Dfp-9be904d5.js} +17 -17
- package/dist/cjs/EventsDeck.js +93 -120
- package/dist/cjs/ExternalResources.js +37 -38
- package/dist/cjs/Feature.js +17 -17
- package/dist/cjs/ForbesHero.js +25 -25
- package/dist/cjs/GridContent.js +134 -134
- package/dist/cjs/GridContentPaginated.js +121 -121
- package/dist/cjs/GridHero.js +26 -26
- package/dist/cjs/GroupDeck.js +33 -33
- package/dist/cjs/HamMagazine.js +112 -112
- package/dist/cjs/Header.js +9 -9
- package/dist/cjs/HealthCareProfessionalModal.js +17 -17
- package/dist/cjs/Hero.js +5 -5
- package/dist/cjs/HighlightenVideo.js +13 -13
- package/dist/cjs/HorizontalArticleListing.js +28 -29
- package/dist/cjs/HorizontalHero.js +17 -17
- package/dist/cjs/{ImageSlider-17fdaf3b.js → ImageSlider-6c00b878.js} +72 -72
- package/dist/cjs/IssueContentDeck.js +49 -49
- package/dist/cjs/IssueDeck.js +48 -48
- package/dist/cjs/IssueLanding.js +19 -20
- package/dist/cjs/LeftNav.js +20 -29
- package/dist/cjs/MasterDeck.js +39 -39
- package/dist/cjs/MasterDeckPaginated.js +29 -29
- package/dist/cjs/{MediaSeriesCard-2dcd6741.js → MediaSeriesCard-a9755b4a.js} +522 -563
- package/dist/cjs/MediaSeriesLanding.js +35 -36
- package/dist/cjs/MediaSeriesLandingPaginated.js +34 -35
- package/dist/cjs/NavDvm.js +62 -93
- package/dist/cjs/NavFooter-3dcd99a8.js +66 -0
- package/dist/cjs/NavMagazine.js +108 -126
- package/dist/cjs/NavNative.js +99 -118
- package/dist/cjs/OncliveHero.js +11 -11
- package/dist/cjs/OncliveLargeHero.js +49 -49
- package/dist/cjs/PageFilter.js +5 -5
- package/dist/cjs/{Pagination-6359861a.js → Pagination-2a3d0103.js} +13 -13
- package/dist/cjs/PartnerDetailListing.js +52 -68
- package/dist/cjs/PartnerDetailListingPaginated.js +47 -58
- package/dist/cjs/PdfDownload.js +4 -4
- package/dist/cjs/PixelTracking.js +9 -9
- package/dist/cjs/PopUpModal.js +9 -9
- package/dist/cjs/PtceDeck.js +13 -13
- package/dist/cjs/PubSection.js +13 -13
- package/dist/cjs/PubToc.js +4 -4
- package/dist/cjs/PublicationDeck.js +44 -44
- package/dist/cjs/{PublicationFeature-a989a2b3.js → PublicationFeature-5ccf9b13.js} +29 -29
- package/dist/cjs/PublicationLanding.js +73 -73
- package/dist/cjs/QueueDeckExpanded.js +245 -245
- package/dist/cjs/QueueDeckExpandedPaginated.js +222 -222
- package/dist/cjs/RecentNews.js +15 -15
- package/dist/cjs/RelatedContent.js +14 -14
- package/dist/cjs/RelatedTopicsDropdown.js +14 -14
- package/dist/cjs/RolesDeck.js +20 -20
- package/dist/cjs/Schema.js +1 -1
- package/dist/cjs/Search.js +6 -6
- package/dist/cjs/SeriesListingDeck.js +18 -18
- package/dist/cjs/{SeriesSlider-18fc6e71.js → SeriesSlider-594b19eb.js} +22 -22
- package/dist/cjs/SideFooter.js +24 -23
- package/dist/cjs/SocialIcons.js +6 -6
- package/dist/cjs/{SocialSearchComponent-ca9c0c45.js → SocialSearchComponent-b7faaedc.js} +28 -28
- package/dist/cjs/SocialShare.js +25 -25
- package/dist/cjs/TaxonomyCard.js +47 -51
- package/dist/cjs/TaxonomyDescription.js +11 -12
- package/dist/cjs/TemplateNormal.js +29 -28
- package/dist/cjs/ThumbnailCard.js +10 -10
- package/dist/cjs/Ustream.js +9 -9
- package/dist/cjs/VerticalHero.js +10 -10
- package/dist/cjs/VideoProgramLandingPage.js +28 -29
- package/dist/cjs/VideoSeriesCard.js +13 -13
- package/dist/cjs/VideoSeriesFilter.js +5 -5
- package/dist/cjs/VideoSeriesLandingPage.js +11 -11
- package/dist/cjs/VideoSeriesListing.js +46 -46
- package/dist/cjs/View.js +221 -222
- package/dist/cjs/YahooHero.js +22 -22
- package/dist/cjs/YoutubeGroup.js +33 -33
- package/dist/cjs/{brightcove-react-player-loader.es-4c7825a1.js → brightcove-react-player-loader.es-a195642e.js} +2 -2
- package/dist/cjs/defineProperty-9673846a.js +34 -0
- package/dist/cjs/getQuery.js +6 -2
- package/dist/cjs/getRelatedArticle.js +1 -0
- package/dist/cjs/getSerializers.js +6 -7
- package/dist/cjs/iconBase-be4097c0.js +4 -2
- package/dist/cjs/{index-64fe6bc7.js → index-5e63adb9.js} +492 -484
- package/dist/cjs/{index-65621b6c.js → index-eadd5035.js} +5 -5
- package/dist/cjs/{index-96c331fd.js → index-f86bb269.js} +52 -53
- package/dist/cjs/{index-d2a6ef75.js → index-fc2f1ca2.js} +4 -4
- package/dist/cjs/{index.es-1ab8dda7.js → index.es-f3e47207.js} +4 -4
- package/dist/cjs/{index.esm-f59ef5b4.js → index.esm-2bb721c8.js} +18 -19
- package/dist/cjs/index.js +102 -102
- package/dist/cjs/{main-6054981e.js → main-f1c77adb.js} +22 -17
- package/dist/cjs/{react-social-icons-2c5c389a.js → react-social-icons-af932527.js} +7 -7
- package/dist/cjs/ustream-api-3819e4aa.js +1 -1
- package/dist/cjs/{visibility-sensor-56020df6.js → visibility-sensor-eb2c5b69.js} +1 -1
- package/dist/esm/AD300x250.js +1 -1
- package/dist/esm/AD300x250x600.js +1 -1
- package/dist/esm/AD728x90.js +1 -1
- package/dist/esm/ADFloatingFooter.js +1 -1
- package/dist/esm/ADGutter.js +1 -1
- package/dist/esm/ADSkyscraper.js +1 -1
- package/dist/esm/ADSponsoredResources.js +1 -1
- package/dist/esm/ADWebcast.js +1 -1
- package/dist/esm/ADWelcome.js +1 -1
- package/dist/esm/AdSlot.js +1 -1
- package/dist/esm/AdSlotsProvider.js +1 -1
- package/dist/esm/AlgoliaSearch.js +482 -663
- package/dist/esm/ArticleCarousel.js +1 -1
- package/dist/esm/ArticleProgramLandingPage.js +2 -3
- package/dist/esm/ArticleSeriesLandingPage.js +3 -3
- package/dist/esm/ArticleSeriesListing.js +1 -1
- package/dist/esm/Auth.js +11 -40
- package/dist/esm/CMEDeck.js +1 -1
- package/dist/esm/Column2.js +4 -3
- package/dist/esm/Column3.js +3 -2
- package/dist/esm/ContentCardPaginated.js +3 -3
- package/dist/esm/DeckContent.js +2 -2
- package/dist/esm/DeckQueue.js +1 -1
- package/dist/esm/DeckQueuePaginated.js +2 -2
- package/dist/esm/EventsDeck.js +4 -31
- package/dist/esm/ExternalResources.js +6 -7
- package/dist/esm/Feature.js +1 -1
- package/dist/esm/GridContent.js +3 -3
- package/dist/esm/GridContentPaginated.js +4 -4
- package/dist/esm/HamMagazine.js +11 -11
- package/dist/esm/HorizontalArticleListing.js +2 -3
- package/dist/esm/IssueLanding.js +4 -5
- package/dist/esm/LeftNav.js +4 -13
- package/dist/esm/MasterDeck.js +3 -3
- package/dist/esm/MasterDeckPaginated.js +4 -4
- package/dist/esm/{MediaSeriesCard-75712dc0.js → MediaSeriesCard-f68f8e63.js} +67 -108
- package/dist/esm/MediaSeriesLanding.js +5 -6
- package/dist/esm/MediaSeriesLandingPaginated.js +6 -7
- package/dist/esm/NavDvm.js +6 -37
- package/dist/esm/{NavFooter-3272e9cd.js → NavFooter-e27bd93b.js} +4 -9
- package/dist/esm/NavMagazine.js +6 -24
- package/dist/esm/NavNative.js +5 -24
- package/dist/esm/{Pagination-9fe9f61d.js → Pagination-dc30727b.js} +1 -1
- package/dist/esm/PartnerDetailListing.js +11 -27
- package/dist/esm/PartnerDetailListingPaginated.js +9 -20
- package/dist/esm/PubSection.js +3 -3
- package/dist/esm/QueueDeckExpanded.js +3 -3
- package/dist/esm/QueueDeckExpandedPaginated.js +4 -4
- package/dist/esm/SeriesListingDeck.js +2 -2
- package/dist/esm/{SeriesSlider-5728e349.js → SeriesSlider-f771e20d.js} +1 -1
- package/dist/esm/SideFooter.js +6 -5
- package/dist/esm/{SocialSearchComponent-68d948b9.js → SocialSearchComponent-4b56cd8c.js} +2 -2
- package/dist/esm/TaxonomyCard.js +3 -7
- package/dist/esm/TaxonomyDescription.js +2 -3
- package/dist/esm/TemplateNormal.js +6 -5
- package/dist/esm/Ustream.js +1 -1
- package/dist/esm/VideoProgramLandingPage.js +2 -3
- package/dist/esm/VideoSeriesLandingPage.js +3 -3
- package/dist/esm/VideoSeriesListing.js +1 -1
- package/dist/esm/View.js +3 -4
- package/dist/esm/YoutubeGroup.js +1 -1
- package/dist/esm/defineProperty-8c30428f.js +32 -0
- package/dist/esm/getQuery.js +6 -2
- package/dist/esm/getRelatedArticle.js +1 -0
- package/dist/esm/getSerializers.js +2 -3
- package/dist/esm/{index-30a6257d.js → index-79cfd25c.js} +52 -53
- package/dist/esm/{index-19ae7235.js → index-e0aeabc5.js} +12 -4
- package/dist/esm/{index.esm-07c37a92.js → index.esm-37268dca.js} +4 -5
- package/dist/esm/index.js +10 -10
- package/dist/esm/{main-9f6806ea.js → main-1894c974.js} +9 -4
- package/package.json +2 -2
- package/dist/cjs/NavFooter-880e9d87.js +0 -71
- package/dist/cjs/checkSisterSite-b29833b2.js +0 -19
- package/dist/esm/checkSisterSite-baa4fb6b.js +0 -17
- /package/dist/esm/{ADInfeed-777bb0b3.js → ADInfeed-5765a73a.js} +0 -0
- /package/dist/esm/{ADlgInfeed-e7fd1bb6.js → ADlgInfeed-5e36f317.js} +0 -0
package/dist/esm/TaxonomyCard.js
CHANGED
|
@@ -8,7 +8,6 @@ import Card from 'react-bootstrap/Card';
|
|
|
8
8
|
import urlFor from './urlFor.js';
|
|
9
9
|
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
10
10
|
import { r as reactSocialIcons_1 } from './react-social-icons-9be47857.js';
|
|
11
|
-
import { c as checkSisterSite } from './checkSisterSite-baa4fb6b.js';
|
|
12
11
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
13
12
|
import './core.get-iterator-method-ea258bb1.js';
|
|
14
13
|
import './_object-pie-133f504a.js';
|
|
@@ -115,10 +114,7 @@ var TaxonomyCard = function TaxonomyCard(props) {
|
|
|
115
114
|
null,
|
|
116
115
|
row.thumbnail.link ? React__default.createElement(
|
|
117
116
|
'a',
|
|
118
|
-
{
|
|
119
|
-
href: row.thumbnail.link,
|
|
120
|
-
target: row.thumbnail.blank ? '_blank' : '_self',
|
|
121
|
-
rel: checkSisterSite(row.thumbnail.link) ? '' : 'noopener noreferrer' },
|
|
117
|
+
{ href: row.thumbnail.link, target: row.thumbnail.blank ? '_blank' : '_self' },
|
|
122
118
|
React__default.createElement(Card.Img, { variant: 'top', src: thumbnailURL, alt: row.thumbnail.alt ? row.thumbnail.alt : 'profile image' })
|
|
123
119
|
) : React__default.createElement(Card.Img, { variant: 'top', src: thumbnailURL, alt: row.thumbnail.alt ? row.thumbnail.alt : 'profile image' }),
|
|
124
120
|
row && row.thumbnail && row.thumbnail.caption && React__default.createElement(
|
|
@@ -154,7 +150,7 @@ var TaxonomyCard = function TaxonomyCard(props) {
|
|
|
154
150
|
} else if (field.value && field.key === 'url') {
|
|
155
151
|
return React__default.createElement(
|
|
156
152
|
'a',
|
|
157
|
-
{ className: 'details-field', href: field.value, key: index
|
|
153
|
+
{ className: 'details-field', href: field.value, key: index },
|
|
158
154
|
field.value
|
|
159
155
|
);
|
|
160
156
|
}
|
|
@@ -193,7 +189,7 @@ var TaxonomyCard = function TaxonomyCard(props) {
|
|
|
193
189
|
if (url && url.length) {
|
|
194
190
|
return React__default.createElement(reactSocialIcons_1, {
|
|
195
191
|
target: '_blank',
|
|
196
|
-
rel:
|
|
192
|
+
rel: 'noopener noreferrer',
|
|
197
193
|
key: index,
|
|
198
194
|
index: index,
|
|
199
195
|
url: url,
|
|
@@ -5,7 +5,7 @@ import React__default, { useState, useEffect } from 'react';
|
|
|
5
5
|
import { useRouter } from 'next/router';
|
|
6
6
|
import Head from 'next/head';
|
|
7
7
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
8
|
-
import { g as getSerializers } from './index-
|
|
8
|
+
import { g as getSerializers } from './index-e0aeabc5.js';
|
|
9
9
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
10
10
|
import './core.get-iterator-method-ea258bb1.js';
|
|
11
11
|
import './_object-pie-133f504a.js';
|
|
@@ -23,7 +23,7 @@ import './util-8ed16d48.js';
|
|
|
23
23
|
import './Beam.js';
|
|
24
24
|
import './stringify-2b084bee.js';
|
|
25
25
|
import './Segment.js';
|
|
26
|
-
import './main-
|
|
26
|
+
import './main-1894c974.js';
|
|
27
27
|
import './urlForFile-b69adffc.js';
|
|
28
28
|
import './index-755f2cc2.js';
|
|
29
29
|
import 'react-dom';
|
|
@@ -58,7 +58,6 @@ import 'react-bootstrap/Figure';
|
|
|
58
58
|
import 'react-bootstrap/OverlayTrigger';
|
|
59
59
|
import 'react-bootstrap/Tooltip';
|
|
60
60
|
import 'react-bootstrap/Popover';
|
|
61
|
-
import './checkSisterSite-baa4fb6b.js';
|
|
62
61
|
|
|
63
62
|
var _this = undefined;
|
|
64
63
|
|
|
@@ -30,15 +30,16 @@ import './asyncToGenerator-958ef5fc.js';
|
|
|
30
30
|
import './_library-528f1934.js';
|
|
31
31
|
import './_iter-detect-98db3b07.js';
|
|
32
32
|
import './Segment.js';
|
|
33
|
-
import './main-
|
|
33
|
+
import './main-1894c974.js';
|
|
34
34
|
import 'next/head';
|
|
35
35
|
import 'react-bootstrap/Row';
|
|
36
36
|
import 'react-bootstrap/Col';
|
|
37
37
|
import './SideFooter.js';
|
|
38
|
+
import './defineProperty-8c30428f.js';
|
|
39
|
+
import './define-property-5f1bda73.js';
|
|
38
40
|
import './react-social-icons-9be47857.js';
|
|
39
41
|
import './get-3c308da4.js';
|
|
40
42
|
import './eq-bdcbf886.js';
|
|
41
|
-
import './checkSisterSite-baa4fb6b.js';
|
|
42
43
|
import './ConferenceBanner-8792ebd2.js';
|
|
43
44
|
import './ADSponsoredResources.js';
|
|
44
45
|
import './LeftNav.js';
|
|
@@ -52,9 +53,9 @@ import 'react-bootstrap/NavDropdown';
|
|
|
52
53
|
import './index.esm-9b042655.js';
|
|
53
54
|
import './iconBase-ccc56b97.js';
|
|
54
55
|
import './index.esm-eb1e8e80.js';
|
|
55
|
-
import './NavFooter-
|
|
56
|
-
import './index.esm-
|
|
57
|
-
import './SocialSearchComponent-
|
|
56
|
+
import './NavFooter-e27bd93b.js';
|
|
57
|
+
import './index.esm-37268dca.js';
|
|
58
|
+
import './SocialSearchComponent-4b56cd8c.js';
|
|
58
59
|
import './SocialIcons.js';
|
|
59
60
|
import 'react-bootstrap/Form';
|
|
60
61
|
import 'react-bootstrap/FormControl';
|
package/dist/esm/Ustream.js
CHANGED
|
@@ -2,7 +2,7 @@ import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-958
|
|
|
2
2
|
import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
3
3
|
import React__default, { useState, useRef, useEffect } from 'react';
|
|
4
4
|
import { F as FaWindowClose } from './index.esm-1bd8a0a8.js';
|
|
5
|
-
import { m as main_43 } from './main-
|
|
5
|
+
import { m as main_43 } from './main-1894c974.js';
|
|
6
6
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
7
7
|
import './core.get-iterator-method-ea258bb1.js';
|
|
8
8
|
import './web.dom.iterable-ab4dea5c.js';
|
|
@@ -5,7 +5,7 @@ import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
|
5
5
|
import Col from 'react-bootstrap/Col';
|
|
6
6
|
import Form from 'react-bootstrap/Form';
|
|
7
7
|
import Button from 'react-bootstrap/Button';
|
|
8
|
-
import { g as getSerializers } from './index-
|
|
8
|
+
import { g as getSerializers } from './index-e0aeabc5.js';
|
|
9
9
|
import VideoSeriesListing from './VideoSeriesListing.js';
|
|
10
10
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
11
11
|
import './core.get-iterator-method-ea258bb1.js';
|
|
@@ -26,7 +26,7 @@ import './util-8ed16d48.js';
|
|
|
26
26
|
import './Beam.js';
|
|
27
27
|
import './stringify-2b084bee.js';
|
|
28
28
|
import './Segment.js';
|
|
29
|
-
import './main-
|
|
29
|
+
import './main-1894c974.js';
|
|
30
30
|
import './urlForFile-b69adffc.js';
|
|
31
31
|
import './index-755f2cc2.js';
|
|
32
32
|
import 'react-dom';
|
|
@@ -59,7 +59,6 @@ import 'react-bootstrap/Figure';
|
|
|
59
59
|
import 'react-bootstrap/OverlayTrigger';
|
|
60
60
|
import 'react-bootstrap/Tooltip';
|
|
61
61
|
import 'react-bootstrap/Popover';
|
|
62
|
-
import './checkSisterSite-baa4fb6b.js';
|
|
63
62
|
import 'react-bootstrap/Container';
|
|
64
63
|
import './visibility-sensor-72fd8f8b.js';
|
|
65
64
|
import './YoutubeGroup.js';
|
|
@@ -36,13 +36,13 @@ import './index.es-a6137319.js';
|
|
|
36
36
|
import './visibility-sensor-72fd8f8b.js';
|
|
37
37
|
import 'react-dom';
|
|
38
38
|
import './index-3f5c03b2.js';
|
|
39
|
-
import './ADlgInfeed-
|
|
39
|
+
import './ADlgInfeed-5e36f317.js';
|
|
40
40
|
import './AdSlot.js';
|
|
41
41
|
import './Beam.js';
|
|
42
42
|
import './stringify-2b084bee.js';
|
|
43
43
|
import './Segment.js';
|
|
44
|
-
import './main-
|
|
45
|
-
import './ADInfeed-
|
|
44
|
+
import './main-1894c974.js';
|
|
45
|
+
import './ADInfeed-5765a73a.js';
|
|
46
46
|
import './index-755f2cc2.js';
|
|
47
47
|
import './urlFor.js';
|
|
48
48
|
import './style-inject.es-1f59c1d0.js';
|
|
@@ -29,7 +29,7 @@ import './index-755f2cc2.js';
|
|
|
29
29
|
import './smoothscroll-fa4e3f8c.js';
|
|
30
30
|
import './urlFor.js';
|
|
31
31
|
import './index-3f5c03b2.js';
|
|
32
|
-
import './main-
|
|
32
|
+
import './main-1894c974.js';
|
|
33
33
|
import './isSymbol-a7e9aafe.js';
|
|
34
34
|
import './toNumber-5aeba6e7.js';
|
|
35
35
|
|
package/dist/esm/View.js
CHANGED
|
@@ -8,16 +8,16 @@ import { _ as _JSON$stringify } from './stringify-2b084bee.js';
|
|
|
8
8
|
import { _ as _toConsumableArray } from './toConsumableArray-f7074d7c.js';
|
|
9
9
|
import { m as moment } from './moment-bc12cb97.js';
|
|
10
10
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
11
|
-
import { m as main_43 } from './main-
|
|
11
|
+
import { m as main_43 } from './main-1894c974.js';
|
|
12
12
|
import 'react-bootstrap/Dropdown';
|
|
13
13
|
import Form from 'react-bootstrap/Form';
|
|
14
14
|
import FormControl from 'react-bootstrap/FormControl';
|
|
15
15
|
import Button from 'react-bootstrap/Button';
|
|
16
16
|
import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
17
17
|
import SocialShare from './SocialShare.js';
|
|
18
|
-
import { r as renderAuthor, g as getSerializers } from './index-
|
|
18
|
+
import { r as renderAuthor, g as getSerializers } from './index-e0aeabc5.js';
|
|
19
19
|
import DFPAdSlot from './AdSlot.js';
|
|
20
|
-
import { S as SeriesSlider } from './SeriesSlider-
|
|
20
|
+
import { S as SeriesSlider } from './SeriesSlider-f771e20d.js';
|
|
21
21
|
import { a as getContentPlacementUrl, g as getTargeting } from './getTargeting-9bd28724.js';
|
|
22
22
|
import getKeywords from './getKeywords.js';
|
|
23
23
|
import urlFor from './urlFor.js';
|
|
@@ -70,7 +70,6 @@ import 'react-bootstrap/Figure';
|
|
|
70
70
|
import 'react-bootstrap/OverlayTrigger';
|
|
71
71
|
import 'react-bootstrap/Tooltip';
|
|
72
72
|
import 'react-bootstrap/Popover';
|
|
73
|
-
import './checkSisterSite-baa4fb6b.js';
|
|
74
73
|
import './debounce-533d9748.js';
|
|
75
74
|
import './isSymbol-a7e9aafe.js';
|
|
76
75
|
import './toNumber-5aeba6e7.js';
|
package/dist/esm/YoutubeGroup.js
CHANGED
|
@@ -4,7 +4,7 @@ import { g as getYoutubeId } from './index-c7e2ac95.js';
|
|
|
4
4
|
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
5
5
|
import { s as smoothscroll } from './smoothscroll-fa4e3f8c.js';
|
|
6
6
|
import urlFor from './urlFor.js';
|
|
7
|
-
import { m as main_43, a as main_49, b as main_42 } from './main-
|
|
7
|
+
import { m as main_43, a as main_49, b as main_42 } from './main-1894c974.js';
|
|
8
8
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
9
9
|
import './web.dom.iterable-ab4dea5c.js';
|
|
10
10
|
import './core.get-iterator-method-ea258bb1.js';
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
+
import { d as defineProperty$1 } from './define-property-5f1bda73.js';
|
|
3
|
+
|
|
4
|
+
var defineProperty = createCommonjsModule(function (module, exports) {
|
|
5
|
+
|
|
6
|
+
exports.__esModule = true;
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
var _defineProperty2 = _interopRequireDefault(defineProperty$1);
|
|
11
|
+
|
|
12
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
13
|
+
|
|
14
|
+
exports.default = function (obj, key, value) {
|
|
15
|
+
if (key in obj) {
|
|
16
|
+
(0, _defineProperty2.default)(obj, key, {
|
|
17
|
+
value: value,
|
|
18
|
+
enumerable: true,
|
|
19
|
+
configurable: true,
|
|
20
|
+
writable: true
|
|
21
|
+
});
|
|
22
|
+
} else {
|
|
23
|
+
obj[key] = value;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
return obj;
|
|
27
|
+
};
|
|
28
|
+
});
|
|
29
|
+
|
|
30
|
+
var _defineProperty = unwrapExports(defineProperty);
|
|
31
|
+
|
|
32
|
+
export { _defineProperty as _ };
|
package/dist/esm/getQuery.js
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import { m as moment } from './moment-bc12cb97.js';
|
|
2
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
3
|
+
|
|
1
4
|
var getQuery = function getQuery(type) {
|
|
2
5
|
var conditions = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
|
|
3
6
|
var params = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '';
|
|
@@ -6,6 +9,7 @@ var getQuery = function getQuery(type) {
|
|
|
6
9
|
//Added feature to include additional conditions and parameters for site level operations
|
|
7
10
|
//Site level conditions should start with && (logical AND), and site level params should end with , (comma) in order to execute query
|
|
8
11
|
|
|
12
|
+
var currentDate = moment().utc().format();
|
|
9
13
|
switch (type) {
|
|
10
14
|
// quiz video series and slideshow
|
|
11
15
|
case 'related':
|
|
@@ -13,9 +17,9 @@ var getQuery = function getQuery(type) {
|
|
|
13
17
|
case 'article':
|
|
14
18
|
return '*[\n _type == "article"\n && !(_id in path("drafts.**"))\n && defined(title)\n && defined(url)\n && is_visible != false\n && url.current == $url\n ' + conditions + '\n ][0]{\n ' + params + '\n title,\n published,\n summary,\n thumbnail,\n abstract,\n ...,\n passwordLock,\n password,\n issueGroup-> { _id, name, identifier, parent-> },\n "authorDetails": authorMapping[]->{ displayName, firstName, lastName, url, profileImage, biography, showSocialShare },\n body[] {\n ...,\n asset->,\n images[]{\n ...,\n asset->\n },\n content[]{\n ...,\n asset->\n },\n videos[]{\n ...,\n thumbnail{\n _type,\n asset->\n }\n },\n response[]{\n ...,\n asset->\n },\n quizzes[]{\n ...,\n answer[]{\n ...,\n asset->\n },\n question[]{\n ...,\n asset->\n }\n },\n poster {\n _type,\n asset->\n },\n slides[]{\n ...,\n slideshowImage{\n ...,\n asset->\n }\n },\n upload_doc {\n _type,\n asset->\n },\n uploadAudio {\n _type,\n asset->\n },\n medias[]{\n ...,\n upload_doc {\n _type,\n asset-> \n },\n poster {\n _type,\n asset-> \n }\n },\n articles[]{\n ...,\n thumbnail{\n ...,\n asset-> \n },\n "authorDetails": authorMapping[]->{ displayName, firstName, lastName, url, profileImage, biography, showSocialShare },\n text[]{\n ...,\n upload_doc {\n _type,\n asset->\n },\n uploadAudio {\n _type,\n asset->\n },\n }\n }\n },\n \'content_placement\': taxonomyMapping[]-> {\n ...,\n \'ancestor\': parent->parent->identifier,\n \'parent\': parent->identifier,\n \'name\': name,\n \'path\': identifier,\n showSocialShare,\n pixelTrackingCode->\n },\n documentGroup-> {\n _id,\n name,\n thumbnail,\n parent->{...,parent->},\n isShow,\n isSeries,\n disableEpisodeNumber,\n excludeRelatedContents,\n showSocialShare,\n \'path\': identifier.current,\n adTargetingURL,\n hideSeriesSlider,\n pixelTrackingCode->\n },\n documentGroupMapping[]-> {\n _id,\n name,\n thumbnail,\n isSeries,\n disableEpisodeNumber,\n parent->{...,parent->},\n isShow,\n showSocialShare,\n excludeRelatedContents,\n \'path\': identifier.current,\n hideSeriesSlider,\n pixelTrackingCode->\n },\n \'category\':contentCategory->{\n name,\n disableAds\n },\n \'issue\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.issueGroup._ref][0] {\n name,\n volume,\n year,\n \'issueNumber\': number,\n \'articleSource\': source,\n \'path\': identifier.current,\n show_download_ris_button,\n \'publication\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.parent._ref][0] {\n name,\n \'path\': identifier.current,\n show_download_ris_button,\n },\n \'url\' : pdf.asset-> url,\n \'pdf\': pdf.asset->,\n isbn_issn,\n abbreviatedJournal,\n }\n\n }';
|
|
15
19
|
case 'publication':
|
|
16
|
-
return '*[_type == \'publication\'\n && identifier.current == $publication\n ' + conditions + '][0] {\n ' + params + '\n ...,\n \'issues\': *[_type == \'publication\'\n && is_visible\n && references(^._id)\n && defined(identifier)] {\n ...,\n thumbnail{ ..., asset-> },\n taxonomyMapping[]->,\n pdf{asset->},\n } | order(year desc, month desc)\n }';
|
|
20
|
+
return '*[_type == \'publication\'\n && identifier.current == $publication \n ' + conditions + '][0] {\n ' + params + '\n ...,\n \'issues\': *[_type == \'publication\'\n && is_visible\n && references(^._id)\n && defined(identifier)\n && (!defined(published) ||\n published <= \'' + currentDate + '\')] {\n ...,\n thumbnail{ ..., asset-> },\n taxonomyMapping[]->,\n pdf{asset->},\n } | order(year desc, month desc)\n }';
|
|
17
21
|
case 'issue':
|
|
18
|
-
return '*[_type == \'publication\'\n && identifier.current == $publication\n ' + conditions + '][0] {\n ' + params + '\n ...,\n \'issue\': *[_type == \'publication\'\n && references(^._id)\n && is_visible != false\n && identifier.current == $issue][0] {\n ...,\n \'articles\': *[_type == \'article\'\n && !(_id in path("drafts.**"))\n && defined(title)\n && is_visible\n && defined(url)\n && defined(published) \n && dateTime(published) <= dateTime(now())\n && passwordLock != true\n && references(^._id)] | order(published desc) {\n ...,\n thumbnail{ ..., asset-> },\n authorMapping[0]->,\n contentCategory->,\n issueSection-> {\n name\n },\n \'pageNumber\': 1\n }\n }\n }';
|
|
22
|
+
return '*[_type == \'publication\'\n && identifier.current == $publication\n ' + conditions + '][0] {\n ' + params + '\n ...,\n \'issue\': *[_type == \'publication\'\n && references(^._id)\n && is_visible != false\n && published <= \'' + currentDate + '\'\n && identifier.current == $issue][0] {\n ...,\n \'articles\': *[_type == \'article\'\n && !(_id in path("drafts.**"))\n && defined(title)\n && is_visible\n && defined(url)\n && defined(published) \n && dateTime(published) <= dateTime(now())\n && passwordLock != true\n && references(^._id)] | order(published desc) {\n ...,\n thumbnail{ ..., asset-> },\n authorMapping[0]->,\n contentCategory->,\n issueSection-> {\n name\n },\n \'pageNumber\': 1\n }\n }\n }';
|
|
19
23
|
case 'externalResources':
|
|
20
24
|
return '{\n \'archived\': *[_type == "external" && archived && isVisible ' + conditions + '] | order(displayDate desc){ ..., thumbnail{ ..., asset-> }},\n \'recent\': *[_type == "external" && archived != true && isVisible ' + conditions + '] | order(displayDate asc){ ..., thumbnail{ ..., asset-> }}\n }';
|
|
21
25
|
case 'mediaseries':
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import 'react';
|
|
2
|
-
export { g as default } from './index-
|
|
2
|
+
export { g as default } from './index-e0aeabc5.js';
|
|
3
3
|
import './BlockContent-1e73bd2c.js';
|
|
4
4
|
import './entities-6d9154b4.js';
|
|
5
5
|
import './slicedToArray-6ebcbfea.js';
|
|
@@ -21,7 +21,7 @@ import './asyncToGenerator-958ef5fc.js';
|
|
|
21
21
|
import './_library-528f1934.js';
|
|
22
22
|
import './_iter-detect-98db3b07.js';
|
|
23
23
|
import './Segment.js';
|
|
24
|
-
import './main-
|
|
24
|
+
import './main-1894c974.js';
|
|
25
25
|
import './extends-6d8e3924.js';
|
|
26
26
|
import './_object-pie-133f504a.js';
|
|
27
27
|
import './urlForFile-b69adffc.js';
|
|
@@ -58,4 +58,3 @@ import 'react-bootstrap/Figure';
|
|
|
58
58
|
import 'react-bootstrap/OverlayTrigger';
|
|
59
59
|
import 'react-bootstrap/Tooltip';
|
|
60
60
|
import 'react-bootstrap/Popover';
|
|
61
|
-
import './checkSisterSite-baa4fb6b.js';
|