@mjhls/mjh-framework 1.0.1043 → 1.0.1045
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/AD300x250.js +1 -1
- package/dist/cjs/AD300x250x600.js +1 -1
- package/dist/cjs/AD728x90.js +1 -1
- package/dist/cjs/ADFloatingFooter.js +1 -1
- package/dist/cjs/ADGutter.js +1 -1
- package/dist/cjs/{ADInfeed-8559adc4.js → ADInfeed-92da28cb.js} +1 -1
- package/dist/cjs/ADSkyscraper.js +1 -1
- package/dist/cjs/ADSponsoredResources.js +1 -1
- package/dist/cjs/ADWebcast.js +1 -1
- package/dist/cjs/ADWelcome.js +1 -1
- package/dist/cjs/{ADlgInfeed-493559a2.js → ADlgInfeed-04685f6f.js} +1 -1
- package/dist/cjs/AdSlot.js +1 -1
- package/dist/cjs/AdSlotsProvider.js +1 -1
- package/dist/cjs/AlgoliaSearch.js +27 -23
- package/dist/cjs/ArticleCarousel.js +1 -1
- package/dist/cjs/ArticleProgramLandingPage.js +3 -3
- package/dist/cjs/ArticleSeriesLandingPage.js +3 -3
- package/dist/cjs/ArticleSeriesListing.js +1 -1
- package/dist/cjs/Auth.js +1492 -10
- package/dist/cjs/AuthWrapper.js +1546 -294
- package/dist/cjs/CEDeckSupabase.js +2 -2
- package/dist/cjs/CMEDeck.js +1 -1
- package/dist/cjs/Column3.js +1 -1
- package/dist/cjs/ConferenceArticleCard.js +15 -15
- package/dist/cjs/ContentCardPaginated.js +3 -3
- package/dist/cjs/DeckContent.js +11 -11
- package/dist/cjs/DeckQueue.js +2 -2
- package/dist/cjs/DeckQueuePaginated.js +2 -2
- package/dist/cjs/EventsDeck.js +18 -18
- package/dist/cjs/ExternalResources.js +3 -3
- package/dist/cjs/Feature.js +9 -7
- package/dist/cjs/GridContent.js +4 -4
- package/dist/cjs/GridContentPaginated.js +4 -4
- package/dist/cjs/GridHero.js +1 -1
- package/dist/cjs/HamMagazine.js +11 -11
- package/dist/cjs/HealthCareProfessionalModal.js +1 -1
- package/dist/cjs/Hero.js +1 -1
- package/dist/cjs/HorizontalArticleListing.js +3 -3
- package/dist/cjs/{ImageSlider-62a43659.js → ImageSlider-d65bc9c8.js} +106 -123
- package/dist/cjs/IssueLanding.js +34 -34
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +1 -1
- package/dist/cjs/MasterDeck.js +11 -11
- package/dist/cjs/MasterDeckPaginated.js +11 -11
- package/dist/cjs/{MediaSeriesCard-6938b284.js → MediaSeriesCard-d7801ba1.js} +2 -2
- package/dist/cjs/MediaSeriesLanding.js +13 -13
- package/dist/cjs/MediaSeriesLandingPaginated.js +13 -13
- package/dist/cjs/NavMagazine.js +12 -12
- package/dist/cjs/NavNative.js +10 -10
- package/dist/cjs/OncliveLargeHero.js +1 -1
- package/dist/cjs/PartnerDetailListing.js +6 -6
- package/dist/cjs/PartnerDetailListingPaginated.js +6 -6
- package/dist/cjs/PodcastsLanding.js +6 -6
- package/dist/cjs/PubSection.js +4 -4
- package/dist/cjs/PublicationLanding.js +26 -26
- package/dist/cjs/QueueDeckExpanded.js +4 -4
- package/dist/cjs/QueueDeckExpandedPaginated.js +4 -4
- package/dist/cjs/RelatedContent.js +28 -28
- package/dist/cjs/RelatedTopicsDropdown.js +10 -10
- package/dist/cjs/SeriesListingDeck.js +2 -2
- package/dist/cjs/{SeriesSlider-edcb8e4b.js → SeriesSlider-086a8319.js} +5 -5
- package/dist/cjs/SideFooter.js +2 -2
- package/dist/cjs/{SocialSearchComponent-e9ec9c63.js → SocialSearchComponent-d7e5d3a6.js} +1 -1
- package/dist/cjs/TaxonomyDescription.js +3 -3
- package/dist/cjs/TemplateNormal.js +2 -2
- package/dist/cjs/ThumbnailCard.js +1 -1
- package/dist/cjs/{Tooltip-980a1d1a.js → Tooltip-02a841b5.js} +348 -140
- package/dist/cjs/Ustream.js +1 -1
- package/dist/cjs/VideoProgramLandingPage.js +3 -3
- package/dist/cjs/VideoSeriesCard.js +1 -1
- package/dist/cjs/VideoSeriesLandingPage.js +3 -3
- package/dist/cjs/VideoSeriesListing.js +1 -1
- package/dist/cjs/View.js +33 -31
- package/dist/cjs/YahooHero.js +1 -1
- package/dist/cjs/YoutubeGroup.js +5 -5
- package/dist/cjs/{entities-3f9d0f2f.js → entities-df1aed86.js} +4 -0
- package/dist/cjs/getQuery.js +1 -1
- package/dist/cjs/getSerializers.js +3 -3
- package/dist/cjs/{getTargeting-45ffbee8.js → getTargeting-5b954783.js} +9 -9
- package/dist/cjs/getTargeting.js +1 -1
- package/dist/cjs/{index-8041a4eb.js → index-9ec837cc.js} +0 -10
- package/dist/cjs/{index-aac3ee40.js → index-abcf2d94.js} +2 -2
- package/dist/cjs/index.js +10 -11
- package/dist/cjs/{main-47be4f9f.js → main-ae8472f3.js} +4 -9
- 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/{ADInfeed-fb501f15.js → ADInfeed-50f279b3.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/{ADlgInfeed-b742488e.js → ADlgInfeed-3bb275ad.js} +1 -1
- package/dist/esm/AdSlot.js +1 -1
- package/dist/esm/AdSlotsProvider.js +1 -1
- package/dist/esm/AlgoliaSearch.js +26 -22
- package/dist/esm/ArticleCarousel.js +1 -1
- package/dist/esm/ArticleProgramLandingPage.js +3 -3
- package/dist/esm/ArticleSeriesLandingPage.js +3 -3
- package/dist/esm/ArticleSeriesListing.js +1 -1
- package/dist/esm/Auth.js +1492 -9
- package/dist/esm/AuthWrapper.js +1540 -288
- package/dist/esm/CEDeckSupabase.js +2 -2
- package/dist/esm/CMEDeck.js +1 -1
- package/dist/esm/Column3.js +1 -1
- package/dist/esm/ConferenceArticleCard.js +15 -15
- package/dist/esm/ContentCardPaginated.js +3 -3
- package/dist/esm/DeckContent.js +11 -11
- package/dist/esm/DeckQueue.js +2 -2
- package/dist/esm/DeckQueuePaginated.js +2 -2
- package/dist/esm/EventsDeck.js +18 -18
- package/dist/esm/ExternalResources.js +3 -3
- package/dist/esm/Feature.js +9 -7
- package/dist/esm/GridContent.js +4 -4
- package/dist/esm/GridContentPaginated.js +4 -4
- package/dist/esm/GridHero.js +1 -1
- package/dist/esm/HamMagazine.js +11 -11
- package/dist/esm/HealthCareProfessionalModal.js +1 -1
- package/dist/esm/Hero.js +1 -1
- package/dist/esm/HorizontalArticleListing.js +3 -3
- package/dist/esm/{ImageSlider-aea3a615.js → ImageSlider-da225417.js} +107 -124
- package/dist/esm/IssueLanding.js +34 -34
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +1 -1
- package/dist/esm/MasterDeck.js +11 -11
- package/dist/esm/MasterDeckPaginated.js +11 -11
- package/dist/esm/{MediaSeriesCard-5f578738.js → MediaSeriesCard-ffe77e8e.js} +2 -2
- package/dist/esm/MediaSeriesLanding.js +13 -13
- package/dist/esm/MediaSeriesLandingPaginated.js +13 -13
- package/dist/esm/NavMagazine.js +12 -12
- package/dist/esm/NavNative.js +10 -10
- package/dist/esm/OncliveLargeHero.js +1 -1
- package/dist/esm/PartnerDetailListing.js +6 -6
- package/dist/esm/PartnerDetailListingPaginated.js +6 -6
- package/dist/esm/PodcastsLanding.js +6 -6
- package/dist/esm/PubSection.js +4 -4
- package/dist/esm/PublicationLanding.js +26 -26
- package/dist/esm/QueueDeckExpanded.js +4 -4
- package/dist/esm/QueueDeckExpandedPaginated.js +4 -4
- package/dist/esm/RelatedContent.js +28 -28
- package/dist/esm/RelatedTopicsDropdown.js +10 -10
- package/dist/esm/SeriesListingDeck.js +2 -2
- package/dist/esm/{SeriesSlider-2e83e861.js → SeriesSlider-a6b1d617.js} +5 -5
- package/dist/esm/SideFooter.js +2 -2
- package/dist/esm/{SocialSearchComponent-020f9e81.js → SocialSearchComponent-6065bff2.js} +1 -1
- package/dist/esm/TaxonomyDescription.js +3 -3
- package/dist/esm/TemplateNormal.js +2 -2
- package/dist/esm/ThumbnailCard.js +1 -1
- package/dist/esm/{Tooltip-51957f7c.js → Tooltip-7a093cd4.js} +506 -298
- package/dist/esm/Ustream.js +1 -1
- package/dist/esm/VideoProgramLandingPage.js +3 -3
- package/dist/esm/VideoSeriesCard.js +1 -1
- package/dist/esm/VideoSeriesLandingPage.js +3 -3
- package/dist/esm/VideoSeriesListing.js +1 -1
- package/dist/esm/View.js +33 -31
- package/dist/esm/YahooHero.js +1 -1
- package/dist/esm/YoutubeGroup.js +5 -5
- package/dist/esm/{entities-932b50cf.js → entities-6d9154b4.js} +4 -0
- package/dist/esm/getQuery.js +1 -1
- package/dist/esm/getSerializers.js +3 -3
- package/dist/esm/{getTargeting-a569a9cc.js → getTargeting-5a281334.js} +9 -9
- package/dist/esm/getTargeting.js +1 -1
- package/dist/esm/{index-67e1773f.js → index-0ce54f8a.js} +1 -10
- package/dist/esm/{index-55840558.js → index-5b4444df.js} +2 -2
- package/dist/esm/index.js +10 -11
- package/dist/esm/{main-f97773b2.js → main-754d4992.js} +4 -9
- package/package.json +116 -116
|
@@ -4,7 +4,7 @@ import React__default, { useState, useEffect } from 'react';
|
|
|
4
4
|
import { Spinner, Container, Row, Col } from 'react-bootstrap';
|
|
5
5
|
import { I as InfiniteScroll } from './index.es-a6137319.js';
|
|
6
6
|
import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
7
|
-
import { m as main_43 } from './main-
|
|
7
|
+
import { m as main_43 } from './main-754d4992.js';
|
|
8
8
|
import { useRouter } from 'next/router';
|
|
9
9
|
import { l as lib_3 } from './index-5cc7b406.js';
|
|
10
10
|
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
@@ -16,7 +16,7 @@ import './web.dom.iterable-ab4dea5c.js';
|
|
|
16
16
|
import 'react-dom';
|
|
17
17
|
import 'prop-types';
|
|
18
18
|
|
|
19
|
-
var css = "#CMEDeck-module_ceToggles__1QFCs {\
|
|
19
|
+
var css = "#CMEDeck-module_ceToggles__1QFCs {\n display: flex;\n padding: 1rem;\n }\n #CMEDeck-module_ceToggles__1QFCs div {\n box-sizing: border-box;\n padding: 0.5rem;\n width: 50%;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-end;\n justify-content: center;\n cursor: pointer;\n border-bottom: 3px solid #fff;\n }\n #CMEDeck-module_ceToggles__1QFCs div:hover {\n opacity: 1 !important;\n border-color: #cecece;\n }\n #CMEDeck-module_ceToggles__1QFCs div p {\n margin: 0;\n font-weight: 700;\n width: 100%;\n text-align: center;\n font-size: 1rem;\n }\n #CMEDeck-module_ceToggles__1QFCs div img {\n width: 100%;\n max-width: 10rem;\n }\n\n .CMEDeck-module_cardImage__3yM5u{\n width: 268px;\n max-width: 100%;\n border-radius: 0 0 0 10%;\n margin-bottom: 20px;\n margin-top: 10px;\n border-top: 1px solid #EEE;\n }\n .CMEDeck-module_cardText__2zCzZ{\n font-size:22px;\n font-weight: 500;\n\n }\n @media (max-width: 500px){\n #CMEDeck-module_ceToggles__1QFCs div img {\n width: 131px;\n height: 46px;\n max-width: 10rem;\n }\n\n .CMEDeck-module_cardText__2zCzZ{\n font-size: 12px;\n font-weight: 500;\n }\n }";
|
|
20
20
|
var styles = { "ceToggles": "CMEDeck-module_ceToggles__1QFCs", "cardImage": "CMEDeck-module_cardImage__3yM5u", "cardText": "CMEDeck-module_cardText__2zCzZ" };
|
|
21
21
|
styleInject(css);
|
|
22
22
|
|
package/dist/esm/CMEDeck.js
CHANGED
|
@@ -6,7 +6,7 @@ import React__default, { useState, useRef, useEffect } from 'react';
|
|
|
6
6
|
import { Spinner, Container, Row, Col } from 'react-bootstrap';
|
|
7
7
|
import { I as InfiniteScroll } from './index.es-a6137319.js';
|
|
8
8
|
import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
9
|
-
import { m as main_43 } from './main-
|
|
9
|
+
import { m as main_43 } from './main-754d4992.js';
|
|
10
10
|
import { d as debounce_1 } from './debounce-533d9748.js';
|
|
11
11
|
import { useRouter } from 'next/router';
|
|
12
12
|
import { l as lib_3 } from './index-5cc7b406.js';
|
package/dist/esm/Column3.js
CHANGED
|
@@ -6,7 +6,7 @@ import LeftNav from './LeftNav.js';
|
|
|
6
6
|
import SideFooter from './SideFooter.js';
|
|
7
7
|
import { C as ConferenceBanner } from './ConferenceBanner-8792ebd2.js';
|
|
8
8
|
import PageFilter from './PageFilter.js';
|
|
9
|
-
import { m as main_43 } from './main-
|
|
9
|
+
import { m as main_43 } from './main-754d4992.js';
|
|
10
10
|
import './slicedToArray-6ebcbfea.js';
|
|
11
11
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
12
12
|
import './web.dom.iterable-ab4dea5c.js';
|
|
@@ -8,21 +8,21 @@ import './core.get-iterator-method-ea258bb1.js';
|
|
|
8
8
|
import './extends-1559c147.js';
|
|
9
9
|
import './index-3f5c03b2.js';
|
|
10
10
|
|
|
11
|
-
/*
|
|
12
|
-
Example usage - targetedonc.com/latest-conference
|
|
13
|
-
const query = `*[!(_id in path("drafts.**")) && _type == "article" && defined(title) && is_visible == true && published <= '${today}' && references('b49d36b8-aa56-4183-a2bc-1568c229fb72') ] | order(published desc) [$from...$to] {
|
|
14
|
-
...,
|
|
15
|
-
title,
|
|
16
|
-
summary,
|
|
17
|
-
thumbnail,
|
|
18
|
-
url,
|
|
19
|
-
published,
|
|
20
|
-
documentGroup->,
|
|
21
|
-
contentCategory->,
|
|
22
|
-
'pageNumber': ${currentPage}
|
|
23
|
-
}`
|
|
24
|
-
|
|
25
|
-
const posts = await client.fetch(query, params)
|
|
11
|
+
/*
|
|
12
|
+
Example usage - targetedonc.com/latest-conference
|
|
13
|
+
const query = `*[!(_id in path("drafts.**")) && _type == "article" && defined(title) && is_visible == true && published <= '${today}' && references('b49d36b8-aa56-4183-a2bc-1568c229fb72') ] | order(published desc) [$from...$to] {
|
|
14
|
+
...,
|
|
15
|
+
title,
|
|
16
|
+
summary,
|
|
17
|
+
thumbnail,
|
|
18
|
+
url,
|
|
19
|
+
published,
|
|
20
|
+
documentGroup->,
|
|
21
|
+
contentCategory->,
|
|
22
|
+
'pageNumber': ${currentPage}
|
|
23
|
+
}`
|
|
24
|
+
|
|
25
|
+
const posts = await client.fetch(query, params)
|
|
26
26
|
*/
|
|
27
27
|
|
|
28
28
|
var ConferenceArticleCard = function ConferenceArticleCard(props) {
|
|
@@ -12,9 +12,9 @@ import { m as moment } from './moment-bc12cb97.js';
|
|
|
12
12
|
import { withRouter } from 'next/router';
|
|
13
13
|
import urlFor from './urlFor.js';
|
|
14
14
|
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
15
|
-
import { m as main_43 } from './main-
|
|
16
|
-
import { c as clean_html_1 } from './entities-
|
|
17
|
-
import { A as ADInfeed } from './ADInfeed-
|
|
15
|
+
import { m as main_43 } from './main-754d4992.js';
|
|
16
|
+
import { c as clean_html_1 } from './entities-6d9154b4.js';
|
|
17
|
+
import { A as ADInfeed } from './ADInfeed-50f279b3.js';
|
|
18
18
|
import { P as Pagination } from './Pagination-9fe9f61d.js';
|
|
19
19
|
import Spinner from 'react-bootstrap/Spinner';
|
|
20
20
|
import './_commonjsHelpers-0c4b6f40.js';
|
package/dist/esm/DeckContent.js
CHANGED
|
@@ -14,9 +14,9 @@ import { I as InfiniteScroll } from './index.es-a6137319.js';
|
|
|
14
14
|
import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
15
15
|
import urlFor from './urlFor.js';
|
|
16
16
|
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
17
|
-
import { m as main_43 } from './main-
|
|
18
|
-
import { c as clean_html_1 } from './entities-
|
|
19
|
-
import { A as ADInfeed } from './ADInfeed-
|
|
17
|
+
import { m as main_43 } from './main-754d4992.js';
|
|
18
|
+
import { c as clean_html_1 } from './entities-6d9154b4.js';
|
|
19
|
+
import { A as ADInfeed } from './ADInfeed-50f279b3.js';
|
|
20
20
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
21
21
|
import './core.get-iterator-method-ea258bb1.js';
|
|
22
22
|
import './_iter-detect-98db3b07.js';
|
|
@@ -181,14 +181,14 @@ var DeckContent = function (_React$Component) {
|
|
|
181
181
|
var newPath = pageNumber === 1 ? '' + path : path + '?page=' + pageNumber;
|
|
182
182
|
|
|
183
183
|
// please leave this for later debug purpose : Yong Jun.
|
|
184
|
-
/* console.log('page change reported', {
|
|
185
|
-
currentPage: currentPage,
|
|
186
|
-
pageNumber: pageNumber,
|
|
187
|
-
pathname: pathname,
|
|
188
|
-
path: path,
|
|
189
|
-
newPath: newPath,
|
|
190
|
-
firstPage: pageNumber === 1,
|
|
191
|
-
queryString: queryString
|
|
184
|
+
/* console.log('page change reported', {
|
|
185
|
+
currentPage: currentPage,
|
|
186
|
+
pageNumber: pageNumber,
|
|
187
|
+
pathname: pathname,
|
|
188
|
+
path: path,
|
|
189
|
+
newPath: newPath,
|
|
190
|
+
firstPage: pageNumber === 1,
|
|
191
|
+
queryString: queryString
|
|
192
192
|
}) */
|
|
193
193
|
|
|
194
194
|
if (pageview) {
|
package/dist/esm/DeckQueue.js
CHANGED
|
@@ -15,8 +15,8 @@ import { g as get_1 } from './get-3c308da4.js';
|
|
|
15
15
|
import { d as debounce_1 } from './debounce-533d9748.js';
|
|
16
16
|
import { I as InfiniteScroll } from './index.es-a6137319.js';
|
|
17
17
|
import urlFor from './urlFor.js';
|
|
18
|
-
import { m as main_43 } from './main-
|
|
19
|
-
import { c as clean_html_1 } from './entities-
|
|
18
|
+
import { m as main_43 } from './main-754d4992.js';
|
|
19
|
+
import { c as clean_html_1 } from './entities-6d9154b4.js';
|
|
20
20
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
21
21
|
import './core.get-iterator-method-ea258bb1.js';
|
|
22
22
|
import './_iter-detect-98db3b07.js';
|
|
@@ -13,9 +13,9 @@ 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 { g as get_1 } from './get-3c308da4.js';
|
|
16
|
-
import { m as main_43 } from './main-
|
|
16
|
+
import { m as main_43 } from './main-754d4992.js';
|
|
17
17
|
import urlFor from './urlFor.js';
|
|
18
|
-
import { c as clean_html_1 } from './entities-
|
|
18
|
+
import { c as clean_html_1 } from './entities-6d9154b4.js';
|
|
19
19
|
import { P as Pagination } from './Pagination-9fe9f61d.js';
|
|
20
20
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
21
21
|
import './core.get-iterator-method-ea258bb1.js';
|
package/dist/esm/EventsDeck.js
CHANGED
|
@@ -15,7 +15,7 @@ import Col from 'react-bootstrap/Col';
|
|
|
15
15
|
import Card from 'react-bootstrap/Card';
|
|
16
16
|
import Form from 'react-bootstrap/Form';
|
|
17
17
|
import Button from 'react-bootstrap/Button';
|
|
18
|
-
import './main-
|
|
18
|
+
import './main-754d4992.js';
|
|
19
19
|
import { m as momentTimezone } from './index-30a6257d.js';
|
|
20
20
|
import { j as js_cookie } from './js.cookie-6874175c.js';
|
|
21
21
|
import { useRouter } from 'next/router';
|
|
@@ -244,23 +244,23 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
244
244
|
if (cventAccessToken && cventAccessToken !== 'undefined') {
|
|
245
245
|
setAccessToken(cventAccessToken);
|
|
246
246
|
} else {
|
|
247
|
-
/*const encodedData = window.btoa(clientId + ':' + clientSecret)
|
|
248
|
-
//const url = `${corsProxy}https://api-platform.cvent.com/ea/oauth2/token`
|
|
249
|
-
const url = `https://api-platform.cvent.com/ea/oauth2/token`
|
|
250
|
-
fetch(url, {
|
|
251
|
-
headers: {
|
|
252
|
-
'Content-Type': 'application/x-www-form-urlencoded',
|
|
253
|
-
Authorization: `Basic ${encodedData}`
|
|
254
|
-
},
|
|
255
|
-
method: 'POST',
|
|
256
|
-
body: `grant_type=client_credentials&client_id=${clientId}`
|
|
257
|
-
})
|
|
258
|
-
.then((response) => response.json())
|
|
259
|
-
.then((json) => {
|
|
260
|
-
const inOneHour = new Date(new Date().getTime() + 60 * 60 * 1000)
|
|
261
|
-
Cookies.set('cvent_access_token', json.access_token, { expires: inOneHour })
|
|
262
|
-
setAccessToken(json.access_token)
|
|
263
|
-
})
|
|
247
|
+
/*const encodedData = window.btoa(clientId + ':' + clientSecret)
|
|
248
|
+
//const url = `${corsProxy}https://api-platform.cvent.com/ea/oauth2/token`
|
|
249
|
+
const url = `https://api-platform.cvent.com/ea/oauth2/token`
|
|
250
|
+
fetch(url, {
|
|
251
|
+
headers: {
|
|
252
|
+
'Content-Type': 'application/x-www-form-urlencoded',
|
|
253
|
+
Authorization: `Basic ${encodedData}`
|
|
254
|
+
},
|
|
255
|
+
method: 'POST',
|
|
256
|
+
body: `grant_type=client_credentials&client_id=${clientId}`
|
|
257
|
+
})
|
|
258
|
+
.then((response) => response.json())
|
|
259
|
+
.then((json) => {
|
|
260
|
+
const inOneHour = new Date(new Date().getTime() + 60 * 60 * 1000)
|
|
261
|
+
Cookies.set('cvent_access_token', json.access_token, { expires: inOneHour })
|
|
262
|
+
setAccessToken(json.access_token)
|
|
263
|
+
})
|
|
264
264
|
.catch((e) => console.log(e))*/
|
|
265
265
|
// hello
|
|
266
266
|
var url = 'https://beam.mjhlifesciences.com/api/cvent/token';
|
|
@@ -2,7 +2,7 @@ import { _ as _extends } from './extends-1559c147.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-5b4444df.js';
|
|
6
6
|
import { m as momentTimezone } from './index-30a6257d.js';
|
|
7
7
|
import { useRouter } from 'next/router';
|
|
8
8
|
import Button from 'react-bootstrap/Button';
|
|
@@ -24,7 +24,7 @@ import './_library-528f1934.js';
|
|
|
24
24
|
import './_set-species-2cd9340f.js';
|
|
25
25
|
import './_iter-detect-98db3b07.js';
|
|
26
26
|
import './Segment.js';
|
|
27
|
-
import './main-
|
|
27
|
+
import './main-754d4992.js';
|
|
28
28
|
import './urlForFile-f6485737.js';
|
|
29
29
|
import './index-755f2cc2.js';
|
|
30
30
|
import 'react-dom';
|
|
@@ -45,7 +45,7 @@ import 'next/head';
|
|
|
45
45
|
import 'react-share';
|
|
46
46
|
import './toConsumableArray-f7074d7c.js';
|
|
47
47
|
import 'react-bootstrap/Pagination';
|
|
48
|
-
import './entities-
|
|
48
|
+
import './entities-6d9154b4.js';
|
|
49
49
|
import './AdSlot.js';
|
|
50
50
|
import './debounce-533d9748.js';
|
|
51
51
|
import './isSymbol-a7e9aafe.js';
|
package/dist/esm/Feature.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
2
|
import urlFor from './urlFor.js';
|
|
3
|
-
import { m as main_43 } from './main-
|
|
3
|
+
import { m as main_43 } from './main-754d4992.js';
|
|
4
4
|
import Carousel from 'react-bootstrap/Carousel';
|
|
5
5
|
import './slicedToArray-6ebcbfea.js';
|
|
6
6
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
@@ -9,14 +9,15 @@ import './core.get-iterator-method-ea258bb1.js';
|
|
|
9
9
|
import './extends-1559c147.js';
|
|
10
10
|
import './index-3f5c03b2.js';
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
/* eslint-disable camelcase */
|
|
13
|
+
// Feature query to be used
|
|
13
14
|
// const featureQuery = `*[_type == 'feature' && is_active == true && feature_url == "/"] | order(_updatedAt asc)[0..5]{
|
|
14
15
|
// ...,
|
|
15
16
|
// feature_img { asset-> {url} }
|
|
16
17
|
// }`
|
|
17
18
|
|
|
18
|
-
//Update* Added control toggle for features. Will default to off -
|
|
19
|
-
|
|
19
|
+
// Update* Added control toggle for features. Will default to off -
|
|
20
|
+
// <Feature controls dataset={props.features} /></div>
|
|
20
21
|
|
|
21
22
|
var Feature = function Feature(props) {
|
|
22
23
|
var dataset = props.dataset;
|
|
@@ -32,7 +33,7 @@ var Feature = function Feature(props) {
|
|
|
32
33
|
return false;
|
|
33
34
|
};
|
|
34
35
|
|
|
35
|
-
//image width updated.
|
|
36
|
+
// image width updated.
|
|
36
37
|
var imageWidth = 900;
|
|
37
38
|
if (main_43) {
|
|
38
39
|
imageWidth = 225;
|
|
@@ -93,6 +94,7 @@ var Feature = function Feature(props) {
|
|
|
93
94
|
dataset.map(function (feature, index) {
|
|
94
95
|
var feature_title = feature.feature_title,
|
|
95
96
|
feature_body = feature.feature_body,
|
|
97
|
+
hide_title_body = feature.hide_title_body,
|
|
96
98
|
feature_img = feature.feature_img,
|
|
97
99
|
feature_alt = feature.feature_alt,
|
|
98
100
|
feature_link = feature.feature_link;
|
|
@@ -103,12 +105,12 @@ var Feature = function Feature(props) {
|
|
|
103
105
|
return openLink(feature_link);
|
|
104
106
|
} },
|
|
105
107
|
React__default.createElement('img', {
|
|
106
|
-
style: { maxHeight: '375px', minHeight: '300px', objectFit: 'cover', paddingLeft: '50%' },
|
|
108
|
+
style: { maxHeight: '375px', minHeight: '300px', objectFit: hide_title_body ? 'unset' : 'cover', paddingLeft: '50%' },
|
|
107
109
|
className: 'd-block w-100',
|
|
108
110
|
src: urlFor({ client: client, source: feature_img, imageWidth: imageWidth }),
|
|
109
111
|
alt: feature_alt
|
|
110
112
|
}),
|
|
111
|
-
React__default.createElement(
|
|
113
|
+
!hide_title_body && React__default.createElement(
|
|
112
114
|
Carousel.Caption,
|
|
113
115
|
{
|
|
114
116
|
style: { paddingRight: '50%', left: '3rem', right: '3rem', top: '0', height: '100%', display: 'flex', justifyContent: 'center', alignItems: 'center' } },
|
package/dist/esm/GridContent.js
CHANGED
|
@@ -11,16 +11,16 @@ import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
|
11
11
|
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
|
-
import { c as clean_html_1 } from './entities-
|
|
15
|
-
import { A as ADInfeed } from './ADInfeed-
|
|
14
|
+
import { c as clean_html_1 } from './entities-6d9154b4.js';
|
|
15
|
+
import { A as ADInfeed } from './ADInfeed-50f279b3.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-3bb275ad.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';
|
|
21
21
|
import { I as InfiniteScroll } from './index.es-a6137319.js';
|
|
22
22
|
import urlFor from './urlFor.js';
|
|
23
|
-
import { m as main_43 } from './main-
|
|
23
|
+
import { m as main_43 } from './main-754d4992.js';
|
|
24
24
|
import './AD.js';
|
|
25
25
|
import { A as AuthorComponent } from './AuthorComponent-11adff02.js';
|
|
26
26
|
import { P as PublicationFeature } from './PublicationFeature-3cc370de.js';
|
|
@@ -12,14 +12,14 @@ import Card from 'react-bootstrap/Card';
|
|
|
12
12
|
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
|
-
import { c as clean_html_1 } from './entities-
|
|
16
|
-
import { A as ADInfeed } from './ADInfeed-
|
|
15
|
+
import { c as clean_html_1 } from './entities-6d9154b4.js';
|
|
16
|
+
import { A as ADInfeed } from './ADInfeed-50f279b3.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-3bb275ad.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
|
-
import { m as main_43 } from './main-
|
|
22
|
+
import { m as main_43 } from './main-754d4992.js';
|
|
23
23
|
import { A as AuthorComponent } from './AuthorComponent-11adff02.js';
|
|
24
24
|
import { P as PublicationFeature } from './PublicationFeature-3cc370de.js';
|
|
25
25
|
import { P as Pagination } from './Pagination-9fe9f61d.js';
|
package/dist/esm/GridHero.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
2
|
import { m as moment } from './moment-bc12cb97.js';
|
|
3
3
|
import urlFor from './urlFor.js';
|
|
4
|
-
import { c as clean_html_1 } from './entities-
|
|
4
|
+
import { c as clean_html_1 } from './entities-6d9154b4.js';
|
|
5
5
|
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
6
6
|
import { A as AuthorComponent } from './AuthorComponent-11adff02.js';
|
|
7
7
|
import './_commonjsHelpers-0c4b6f40.js';
|
package/dist/esm/HamMagazine.js
CHANGED
|
@@ -3,7 +3,7 @@ import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
|
3
3
|
import React__default, { useRef, useState, useEffect } from 'react';
|
|
4
4
|
import { N as NavFooter } from './NavFooter-1546a102.js';
|
|
5
5
|
import { S as SocialNavFooter } from './index.esm-35a42e7d.js';
|
|
6
|
-
import { S as SocialSearchComponent } from './SocialSearchComponent-
|
|
6
|
+
import { S as SocialSearchComponent } from './SocialSearchComponent-6065bff2.js';
|
|
7
7
|
import 'react-bootstrap/Form';
|
|
8
8
|
import 'react-bootstrap/FormControl';
|
|
9
9
|
import 'react-bootstrap/Button';
|
|
@@ -15,7 +15,7 @@ import Navbar from 'react-bootstrap/Navbar';
|
|
|
15
15
|
import NavDropdown from 'react-bootstrap/NavDropdown';
|
|
16
16
|
import { M as MdEmail } from './index.esm-9b042655.js';
|
|
17
17
|
import { b as IoMdLogIn } from './index.esm-eb1e8e80.js';
|
|
18
|
-
import { m as main_43, c as main_44 } from './main-
|
|
18
|
+
import { m as main_43, c as main_44 } from './main-754d4992.js';
|
|
19
19
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
20
20
|
import './core.get-iterator-method-ea258bb1.js';
|
|
21
21
|
import './web.dom.iterable-ab4dea5c.js';
|
|
@@ -29,15 +29,15 @@ import './_set-species-2cd9340f.js';
|
|
|
29
29
|
import './_iter-detect-98db3b07.js';
|
|
30
30
|
|
|
31
31
|
var HamMagazine = function HamMagazine(props) {
|
|
32
|
-
/*
|
|
33
|
-
Example Nav with acceptable props
|
|
34
|
-
<MagazineNav
|
|
35
|
-
showLogin
|
|
36
|
-
logo={props.settings.logo}
|
|
37
|
-
dataObject={props.cache.mainNavCache}
|
|
38
|
-
website={website}
|
|
39
|
-
subNav={props.cache.subNavCache}
|
|
40
|
-
/>
|
|
32
|
+
/*
|
|
33
|
+
Example Nav with acceptable props
|
|
34
|
+
<MagazineNav
|
|
35
|
+
showLogin
|
|
36
|
+
logo={props.settings.logo}
|
|
37
|
+
dataObject={props.cache.mainNavCache}
|
|
38
|
+
website={website}
|
|
39
|
+
subNav={props.cache.subNavCache}
|
|
40
|
+
/>
|
|
41
41
|
*/
|
|
42
42
|
|
|
43
43
|
// 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
|
|
package/dist/esm/Hero.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
2
|
import { Card } from 'react-bootstrap';
|
|
3
3
|
import urlFor from './urlFor.js';
|
|
4
|
-
import { c as clean_html_1 } from './entities-
|
|
4
|
+
import { c as clean_html_1 } from './entities-6d9154b4.js';
|
|
5
5
|
import './slicedToArray-6ebcbfea.js';
|
|
6
6
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
7
7
|
import './web.dom.iterable-ab4dea5c.js';
|
|
@@ -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-5b4444df.js';
|
|
7
7
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
8
8
|
import './core.get-iterator-method-ea258bb1.js';
|
|
9
9
|
import './YoutubeGroup.js';
|
|
@@ -16,7 +16,7 @@ import 'prop-types';
|
|
|
16
16
|
import './smoothscroll-fa4e3f8c.js';
|
|
17
17
|
import './urlFor.js';
|
|
18
18
|
import './index-3f5c03b2.js';
|
|
19
|
-
import './main-
|
|
19
|
+
import './main-754d4992.js';
|
|
20
20
|
import './iconBase-ccc56b97.js';
|
|
21
21
|
import 'react-bootstrap';
|
|
22
22
|
import './index-5cc7b406.js';
|
|
@@ -47,7 +47,7 @@ import 'next/head';
|
|
|
47
47
|
import 'react-share';
|
|
48
48
|
import './toConsumableArray-f7074d7c.js';
|
|
49
49
|
import 'react-bootstrap/Pagination';
|
|
50
|
-
import './entities-
|
|
50
|
+
import './entities-6d9154b4.js';
|
|
51
51
|
import './AdSlot.js';
|
|
52
52
|
import './debounce-533d9748.js';
|
|
53
53
|
import './isSymbol-a7e9aafe.js';
|