@mjhls/mjh-framework 1.0.918-ris-update-v1 → 1.0.919-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/README.md +168 -168
- package/dist/cjs/AlgoliaSearch.js +18 -142
- package/dist/cjs/ArticleProgramLandingPage.js +4 -2
- package/dist/cjs/Auth.js +17 -20
- package/dist/cjs/AuthWrapper.js +13 -19
- package/dist/cjs/CMEDeck.js +1 -5
- package/dist/cjs/Column1.js +1 -1
- package/dist/cjs/Column2.js +1 -1
- package/dist/cjs/Column3.js +1 -1
- package/dist/cjs/ConferenceArticleCard.js +15 -15
- package/dist/cjs/ContentCardPaginated.js +2 -1
- package/dist/cjs/DeckContent.js +8 -8
- package/dist/cjs/DeckQueuePaginated.js +2 -1
- package/dist/cjs/Dfp-9be904d5.js +1 -1
- package/dist/cjs/EventsDeck.js +17 -17
- package/dist/cjs/ExternalResources.js +3 -1
- package/dist/cjs/GridContentPaginated.js +2 -1
- package/dist/cjs/HamMagazine.js +10 -10
- package/dist/cjs/Header.js +1 -1
- package/dist/cjs/HorizontalArticleListing.js +4 -2
- package/dist/cjs/IssueLanding.js +33 -31
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +1 -1
- package/dist/cjs/MasterDeck.js +8 -8
- package/dist/cjs/MasterDeckPaginated.js +10 -9
- package/dist/cjs/{MediaSeriesCard-4a864133.js → MediaSeriesCard-31e82b76.js} +44 -66
- package/dist/cjs/MediaSeriesLanding.js +10 -8
- package/dist/cjs/MediaSeriesLandingPaginated.js +11 -8
- package/dist/cjs/NavDvm.js +1 -1
- package/dist/cjs/NavMagazine.js +11 -11
- package/dist/cjs/NavNative.js +10 -10
- package/dist/cjs/Pagination-885dcfbd.js +90 -0
- package/dist/cjs/PartnerDetailListing.js +4 -2
- package/dist/cjs/PartnerDetailListingPaginated.js +5 -2
- package/dist/cjs/PublicationLanding.js +26 -26
- package/dist/cjs/QueueDeckExpandedPaginated.js +2 -1
- package/dist/cjs/RelatedContent.js +28 -28
- package/dist/cjs/RelatedTopicsDropdown.js +10 -10
- package/dist/cjs/SeriesListingDeck.js +1 -1
- package/dist/cjs/{SeriesSlider-de93a303.js → SeriesSlider-ba0c5d1a.js} +4 -4
- package/dist/cjs/SideFooter.js +2 -2
- package/dist/cjs/TaxonomyDescription.js +4 -2
- package/dist/cjs/VideoProgramLandingPage.js +2 -1
- package/dist/cjs/VideoSeriesCard.js +1 -1
- package/dist/cjs/View.js +9 -12
- package/dist/cjs/YoutubeGroup.js +4 -4
- package/dist/cjs/getSerializers.js +4 -2
- package/dist/cjs/{getTargeting-dab97fe1.js → getTargeting-3c5754ac.js} +9 -9
- package/dist/cjs/getTargeting.js +1 -1
- package/dist/cjs/{index-f9f5f7c0.js → index-da44b1e7.js} +345 -22
- package/dist/cjs/index.js +4 -3
- package/dist/cjs/ustream-api-3819e4aa.js +1 -1
- package/dist/esm/AD.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/ADFooter.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/AccordionPanel.js +1 -1
- package/dist/esm/AdSlot.js +1 -1
- package/dist/esm/AdSlotsProvider.js +1 -1
- package/dist/esm/AlgoliaSearch.js +20 -144
- package/dist/esm/AlphabeticList.js +1 -1
- package/dist/esm/ArticleCarousel.js +1 -1
- package/dist/esm/ArticleProgramLandingPage.js +5 -3
- package/dist/esm/ArticleSeriesLandingPage.js +1 -1
- package/dist/esm/ArticleSeriesListing.js +1 -1
- package/dist/esm/Auth.js +18 -20
- package/dist/esm/AuthWrapper.js +14 -20
- package/dist/esm/Beam.js +1 -1
- package/dist/esm/Breadcrumbs.js +1 -1
- package/dist/esm/CMEDeck.js +2 -6
- package/dist/esm/Column1.js +2 -1
- package/dist/esm/Column2.js +2 -1
- package/dist/esm/Column3.js +2 -1
- package/dist/esm/ConferenceArticleCard.js +16 -16
- package/dist/esm/ContentCardPaginated.js +3 -2
- package/dist/esm/DeckContent.js +9 -9
- package/dist/esm/DeckQueue.js +1 -1
- package/dist/esm/DeckQueuePaginated.js +3 -2
- package/dist/esm/Dfp-102f0beb.js +1 -1
- package/dist/esm/EventsDeck.js +18 -18
- package/dist/esm/ExternalResources.js +4 -2
- package/dist/esm/Feature.js +1 -1
- package/dist/esm/ForbesHero.js +1 -1
- package/dist/esm/GridContent.js +1 -1
- package/dist/esm/GridContentPaginated.js +3 -2
- package/dist/esm/GridHero.js +1 -1
- package/dist/esm/GroupDeck.js +1 -1
- package/dist/esm/HamMagazine.js +11 -10
- package/dist/esm/Header.js +2 -1
- package/dist/esm/Hero.js +1 -1
- package/dist/esm/HighlightenVideo.js +1 -1
- package/dist/esm/HorizontalArticleListing.js +5 -3
- package/dist/esm/HorizontalHero.js +1 -1
- package/dist/esm/IssueContentDeck.js +1 -1
- package/dist/esm/IssueDeck.js +1 -1
- package/dist/esm/IssueLanding.js +34 -32
- package/dist/esm/KMTracker.js +16 -16
- package/dist/esm/LeftNav.js +2 -1
- package/dist/esm/MasterDeck.js +9 -9
- package/dist/esm/MasterDeckPaginated.js +11 -10
- package/dist/esm/{MediaSeriesCard-e62d78e7.js → MediaSeriesCard-3d6acf32.js} +44 -66
- package/dist/esm/MediaSeriesLanding.js +11 -9
- package/dist/esm/MediaSeriesLandingPaginated.js +12 -9
- package/dist/esm/NavDvm.js +2 -1
- package/dist/esm/NavMagazine.js +12 -11
- package/dist/esm/NavNative.js +11 -10
- package/dist/esm/OncliveHero.js +1 -1
- package/dist/esm/OncliveLargeHero.js +1 -1
- package/dist/esm/PageFilter.js +1 -1
- package/dist/esm/Pagination-59436882.js +82 -0
- package/dist/esm/PartnerDetailListing.js +5 -3
- package/dist/esm/PartnerDetailListingPaginated.js +6 -3
- package/dist/esm/PdfDownload.js +1 -1
- package/dist/esm/PopUpModal.js +1 -1
- package/dist/esm/PubSection.js +1 -1
- package/dist/esm/PubToc.js +1 -1
- package/dist/esm/PublicationDeck.js +1 -1
- package/dist/esm/PublicationLanding.js +27 -27
- package/dist/esm/QueueDeckExpanded.js +1 -1
- package/dist/esm/QueueDeckExpandedPaginated.js +3 -2
- package/dist/esm/RecentNews.js +1 -1
- package/dist/esm/RelatedContent.js +29 -29
- package/dist/esm/RelatedTopicsDropdown.js +11 -11
- package/dist/esm/RolesDeck.js +1 -1
- package/dist/esm/Schema.js +1 -1
- package/dist/esm/Search.js +1 -1
- package/dist/esm/Segment.js +1 -1
- package/dist/esm/SeriesListingDeck.js +2 -2
- package/dist/esm/{SeriesSlider-98ad6d97.js → SeriesSlider-45adb8dc.js} +4 -4
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +3 -3
- package/dist/esm/SocialIcons.js +1 -1
- package/dist/esm/SocialShare.js +1 -1
- package/dist/esm/TaxonomyCard.js +1 -1
- package/dist/esm/TaxonomyDescription.js +5 -3
- package/dist/esm/TemplateNormal.js +1 -1
- package/dist/esm/ThumbnailCard.js +1 -1
- package/dist/esm/Ustream.js +1 -1
- package/dist/esm/VerticalHero.js +1 -1
- package/dist/esm/VideoProgramLandingPage.js +3 -2
- package/dist/esm/VideoSeriesCard.js +2 -2
- package/dist/esm/VideoSeriesFilter.js +1 -1
- package/dist/esm/VideoSeriesLandingPage.js +1 -1
- package/dist/esm/VideoSeriesListing.js +1 -1
- package/dist/esm/View.js +9 -13
- package/dist/esm/YahooHero.js +1 -1
- package/dist/esm/YoutubeGroup.js +5 -5
- package/dist/esm/getKeywords.js +1 -1
- package/dist/esm/getQuery.js +1 -1
- package/dist/esm/getRelatedArticle.js +1 -1
- package/dist/esm/getRootDocGroup.js +1 -1
- package/dist/esm/getSerializers.js +4 -2
- package/dist/esm/getSeriesDetail.js +1 -1
- package/dist/esm/{getTargeting-04d979c9.js → getTargeting-42f9b439.js} +9 -9
- package/dist/esm/getTargeting.js +1 -1
- package/dist/esm/{index-4d8a8743.js → index-803278c4.js} +346 -25
- package/dist/esm/index.js +4 -3
- package/dist/esm/stringify-2b084bee.js +1 -1
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/ustream-api-d3714624.js +1 -1
- package/package.json +115 -114
- package/dist/cjs/Pagination-42f92f7c.js +0 -97
- package/dist/esm/Pagination-484b86c5.js +0 -90
package/dist/esm/AuthWrapper.js
CHANGED
|
@@ -109,9 +109,9 @@ var runtime = (function (exports) {
|
|
|
109
109
|
// This is a polyfill for %IteratorPrototype% for environments that
|
|
110
110
|
// don't natively support it.
|
|
111
111
|
var IteratorPrototype = {};
|
|
112
|
-
|
|
112
|
+
IteratorPrototype[iteratorSymbol] = function () {
|
|
113
113
|
return this;
|
|
114
|
-
}
|
|
114
|
+
};
|
|
115
115
|
|
|
116
116
|
var getProto = Object.getPrototypeOf;
|
|
117
117
|
var NativeIteratorPrototype = getProto && getProto(getProto(values([])));
|
|
@@ -125,9 +125,8 @@ var runtime = (function (exports) {
|
|
|
125
125
|
|
|
126
126
|
var Gp = GeneratorFunctionPrototype.prototype =
|
|
127
127
|
Generator.prototype = Object.create(IteratorPrototype);
|
|
128
|
-
GeneratorFunction.prototype = GeneratorFunctionPrototype;
|
|
129
|
-
|
|
130
|
-
define(GeneratorFunctionPrototype, "constructor", GeneratorFunction);
|
|
128
|
+
GeneratorFunction.prototype = Gp.constructor = GeneratorFunctionPrototype;
|
|
129
|
+
GeneratorFunctionPrototype.constructor = GeneratorFunction;
|
|
131
130
|
GeneratorFunction.displayName = define(
|
|
132
131
|
GeneratorFunctionPrototype,
|
|
133
132
|
toStringTagSymbol,
|
|
@@ -241,9 +240,9 @@ var runtime = (function (exports) {
|
|
|
241
240
|
}
|
|
242
241
|
|
|
243
242
|
defineIteratorMethods(AsyncIterator.prototype);
|
|
244
|
-
|
|
243
|
+
AsyncIterator.prototype[asyncIteratorSymbol] = function () {
|
|
245
244
|
return this;
|
|
246
|
-
}
|
|
245
|
+
};
|
|
247
246
|
exports.AsyncIterator = AsyncIterator;
|
|
248
247
|
|
|
249
248
|
// Note that simple async functions are implemented on top of
|
|
@@ -436,13 +435,13 @@ var runtime = (function (exports) {
|
|
|
436
435
|
// iterator prototype chain incorrectly implement this, causing the Generator
|
|
437
436
|
// object to not be returned from this call. This ensures that doesn't happen.
|
|
438
437
|
// See https://github.com/facebook/regenerator/issues/274 for more details.
|
|
439
|
-
|
|
438
|
+
Gp[iteratorSymbol] = function() {
|
|
440
439
|
return this;
|
|
441
|
-
}
|
|
440
|
+
};
|
|
442
441
|
|
|
443
|
-
|
|
442
|
+
Gp.toString = function() {
|
|
444
443
|
return "[object Generator]";
|
|
445
|
-
}
|
|
444
|
+
};
|
|
446
445
|
|
|
447
446
|
function pushTryEntry(locs) {
|
|
448
447
|
var entry = { tryLoc: locs[0] };
|
|
@@ -761,19 +760,14 @@ try {
|
|
|
761
760
|
} catch (accidentalStrictMode) {
|
|
762
761
|
// This module should not be running in strict mode, so the above
|
|
763
762
|
// assignment should always work unless something is misconfigured. Just
|
|
764
|
-
// in case runtime.js accidentally runs in strict mode,
|
|
765
|
-
// we can explicitly access globalThis. In older engines we can escape
|
|
763
|
+
// in case runtime.js accidentally runs in strict mode, we can escape
|
|
766
764
|
// strict mode using a global Function call. This could conceivably fail
|
|
767
765
|
// if a Content Security Policy forbids using Function, but in that case
|
|
768
766
|
// the proper solution is to fix the accidental strict mode problem. If
|
|
769
767
|
// you've misconfigured your bundler to force strict mode and applied a
|
|
770
768
|
// CSP to forbid Function, and you're not willing to fix either of those
|
|
771
769
|
// problems, please detail your unique predicament in a GitHub issue.
|
|
772
|
-
|
|
773
|
-
globalThis.regeneratorRuntime = runtime;
|
|
774
|
-
} else {
|
|
775
|
-
Function("r", "regeneratorRuntime = r")(runtime);
|
|
776
|
-
}
|
|
770
|
+
Function("r", "regeneratorRuntime = r")(runtime);
|
|
777
771
|
}
|
|
778
772
|
});
|
|
779
773
|
|
|
@@ -1767,7 +1761,7 @@ client$1.Provider;
|
|
|
1767
1761
|
|
|
1768
1762
|
var client = client$1.default;
|
|
1769
1763
|
|
|
1770
|
-
var css = ".AuthWrapper-module_loginBox__3l-BE {\
|
|
1764
|
+
var css = ".AuthWrapper-module_loginBox__3l-BE {\n margin-bottom: 2rem;\n width: 350px;\n max-width: 90vw;\n margin-left: auto;\n margin-right: auto;\n /* box-shadow: 2px 5px 12px rgba(0, 0, 0, 0.15); */\n background: #fff;\n z-index: 1;\n}\n.AuthWrapper-module_loginBox_title__12rGD {\n margin-bottom: 2rem;\n text-align: center;\n}\n.AuthWrapper-module_bar__1dafn {\n background: #eee;\n margin-left: unset;\n margin-right: unset;\n}\n.AuthWrapper-module_bar__1dafn:nth-child(1) {\n float: left;\n border-right: 1rem solid #fff;\n background: rgb(245, 245, 245);\n height: 10rem;\n width: 25%;\n margin-left: auto;\n margin-right: auto;\n margin-bottom: 2rem;\n}\n.AuthWrapper-module_bar__1dafn:nth-child(2n) {\n width: 97%;\n height: 1.5rem;\n margin-bottom: 0.25rem;\n}\n.AuthWrapper-module_bar__1dafn.AuthWrapper-module_bar__1dafn:nth-child(3n) {\n width: 96%;\n height: 1.5rem;\n margin-bottom: 1.5rem;\n}\n.AuthWrapper-module_bar__1dafn.AuthWrapper-module_bar__1dafn:nth-child(4n) {\n width: 72%;\n height: 1.5rem;\n margin-bottom: 0.25rem;\n}\n.AuthWrapper-module_bar__1dafn.AuthWrapper-module_bar__1dafn:nth-child(5n) {\n width: 88%;\n height: 1.5rem;\n margin-bottom: 0.25rem;\n}\n\n.AuthWrapper-module_iframe__2wDJW {\n margin-top: -3rem;\n border: none;\n width: 100%;\n height: 1900px;\n}";
|
|
1771
1765
|
var styles = { "loginBox": "AuthWrapper-module_loginBox__3l-BE", "loginBox_title": "AuthWrapper-module_loginBox_title__12rGD", "bar": "AuthWrapper-module_bar__1dafn", "iframe": "AuthWrapper-module_iframe__2wDJW" };
|
|
1772
1766
|
styleInject(css);
|
|
1773
1767
|
|
|
@@ -1893,4 +1887,4 @@ var AuthWrapper = function AuthWrapper(_ref) {
|
|
|
1893
1887
|
}
|
|
1894
1888
|
};
|
|
1895
1889
|
|
|
1896
|
-
export
|
|
1890
|
+
export default AuthWrapper;
|
package/dist/esm/Beam.js
CHANGED
package/dist/esm/Breadcrumbs.js
CHANGED
package/dist/esm/CMEDeck.js
CHANGED
|
@@ -309,11 +309,7 @@ var CMEDeck = function CMEDeck(_ref) {
|
|
|
309
309
|
return React__default.createElement(
|
|
310
310
|
'div',
|
|
311
311
|
{ className: 'd-flex justify-content-between' },
|
|
312
|
-
currentPage
|
|
313
|
-
'a',
|
|
314
|
-
{ href: '?page=' + (currentPage - 1) },
|
|
315
|
-
'<< Previous'
|
|
316
|
-
),
|
|
312
|
+
currentPage > 1 ,
|
|
317
313
|
React__default.createElement(
|
|
318
314
|
'a',
|
|
319
315
|
{ href: '?page=' + (currentPage + 1) },
|
|
@@ -439,4 +435,4 @@ var CMEDeck = function CMEDeck(_ref) {
|
|
|
439
435
|
}
|
|
440
436
|
};
|
|
441
437
|
|
|
442
|
-
export
|
|
438
|
+
export default CMEDeck;
|
package/dist/esm/Column1.js
CHANGED
package/dist/esm/Column2.js
CHANGED
package/dist/esm/Column3.js
CHANGED
|
@@ -7,21 +7,21 @@ import './web.dom.iterable-ab4dea5c.js';
|
|
|
7
7
|
import './core.get-iterator-method-ea258bb1.js';
|
|
8
8
|
import './index-3f5c03b2.js';
|
|
9
9
|
|
|
10
|
-
/*
|
|
11
|
-
Example usage - targetedonc.com/latest-conference
|
|
12
|
-
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] {
|
|
13
|
-
...,
|
|
14
|
-
title,
|
|
15
|
-
summary,
|
|
16
|
-
thumbnail,
|
|
17
|
-
url,
|
|
18
|
-
published,
|
|
19
|
-
documentGroup->,
|
|
20
|
-
contentCategory->,
|
|
21
|
-
'pageNumber': ${currentPage}
|
|
22
|
-
}`
|
|
23
|
-
|
|
24
|
-
const posts = await client.fetch(query, params)
|
|
10
|
+
/*
|
|
11
|
+
Example usage - targetedonc.com/latest-conference
|
|
12
|
+
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] {
|
|
13
|
+
...,
|
|
14
|
+
title,
|
|
15
|
+
summary,
|
|
16
|
+
thumbnail,
|
|
17
|
+
url,
|
|
18
|
+
published,
|
|
19
|
+
documentGroup->,
|
|
20
|
+
contentCategory->,
|
|
21
|
+
'pageNumber': ${currentPage}
|
|
22
|
+
}`
|
|
23
|
+
|
|
24
|
+
const posts = await client.fetch(query, params)
|
|
25
25
|
*/
|
|
26
26
|
|
|
27
27
|
var ConferenceArticleCard = function ConferenceArticleCard(props) {
|
|
@@ -84,4 +84,4 @@ var ConferenceArticleCard = function ConferenceArticleCard(props) {
|
|
|
84
84
|
);
|
|
85
85
|
};
|
|
86
86
|
|
|
87
|
-
export
|
|
87
|
+
export default ConferenceArticleCard;
|
|
@@ -15,7 +15,7 @@ import { L as LazyLoad } from './index-755f2cc2.js';
|
|
|
15
15
|
import { m as main_43 } from './main-1894c974.js';
|
|
16
16
|
import { c as clean_html_1 } from './entities-6d9154b4.js';
|
|
17
17
|
import { A as ADInfeed } from './ADInfeed-0a55cd2d.js';
|
|
18
|
-
import { P as Pagination } from './Pagination-
|
|
18
|
+
import { P as Pagination } from './Pagination-59436882.js';
|
|
19
19
|
import Spinner from 'react-bootstrap/Spinner';
|
|
20
20
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
21
21
|
import './core.get-iterator-method-ea258bb1.js';
|
|
@@ -39,6 +39,7 @@ import './toNumber-5aeba6e7.js';
|
|
|
39
39
|
import './Beam.js';
|
|
40
40
|
import './stringify-2b084bee.js';
|
|
41
41
|
import './Segment.js';
|
|
42
|
+
import 'react-paginate';
|
|
42
43
|
import 'react-bootstrap/Button';
|
|
43
44
|
import './index.esm-1bd8a0a8.js';
|
|
44
45
|
import './iconBase-ccc56b97.js';
|
|
@@ -403,4 +404,4 @@ var DeckContent = function (_React$Component) {
|
|
|
403
404
|
|
|
404
405
|
var ContentCardPaginated = withRouter(DeckContent);
|
|
405
406
|
|
|
406
|
-
export
|
|
407
|
+
export default ContentCardPaginated;
|
package/dist/esm/DeckContent.js
CHANGED
|
@@ -172,14 +172,14 @@ var DeckContent = function (_React$Component) {
|
|
|
172
172
|
var newPath = pageNumber === 1 ? '' + path : path + '?page=' + pageNumber;
|
|
173
173
|
|
|
174
174
|
// please leave this for later debug purpose : Yong Jun.
|
|
175
|
-
/* console.log('page change reported', {
|
|
176
|
-
currentPage: currentPage,
|
|
177
|
-
pageNumber: pageNumber,
|
|
178
|
-
pathname: pathname,
|
|
179
|
-
path: path,
|
|
180
|
-
newPath: newPath,
|
|
181
|
-
firstPage: pageNumber === 1,
|
|
182
|
-
queryString: queryString
|
|
175
|
+
/* console.log('page change reported', {
|
|
176
|
+
currentPage: currentPage,
|
|
177
|
+
pageNumber: pageNumber,
|
|
178
|
+
pathname: pathname,
|
|
179
|
+
path: path,
|
|
180
|
+
newPath: newPath,
|
|
181
|
+
firstPage: pageNumber === 1,
|
|
182
|
+
queryString: queryString
|
|
183
183
|
}) */
|
|
184
184
|
|
|
185
185
|
if (pageview) {
|
|
@@ -482,4 +482,4 @@ var DeckContent = function (_React$Component) {
|
|
|
482
482
|
|
|
483
483
|
var ContentCard = withRouter(DeckContent);
|
|
484
484
|
|
|
485
|
-
export
|
|
485
|
+
export default ContentCard;
|
package/dist/esm/DeckQueue.js
CHANGED
|
@@ -16,7 +16,7 @@ import { g as get_1 } from './get-3c308da4.js';
|
|
|
16
16
|
import { m as main_43 } from './main-1894c974.js';
|
|
17
17
|
import urlFor from './urlFor.js';
|
|
18
18
|
import { c as clean_html_1 } from './entities-6d9154b4.js';
|
|
19
|
-
import { P as Pagination } from './Pagination-
|
|
19
|
+
import { P as Pagination } from './Pagination-59436882.js';
|
|
20
20
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
21
21
|
import './core.get-iterator-method-ea258bb1.js';
|
|
22
22
|
import './web.dom.iterable-ab4dea5c.js';
|
|
@@ -34,6 +34,7 @@ import './isSymbol-a7e9aafe.js';
|
|
|
34
34
|
import './eq-bdcbf886.js';
|
|
35
35
|
import './slicedToArray-6ebcbfea.js';
|
|
36
36
|
import './index-3f5c03b2.js';
|
|
37
|
+
import 'react-paginate';
|
|
37
38
|
import 'react-bootstrap/Button';
|
|
38
39
|
import './index.esm-1bd8a0a8.js';
|
|
39
40
|
import './iconBase-ccc56b97.js';
|
|
@@ -334,4 +335,4 @@ var DeckQueue = function (_React$Component) {
|
|
|
334
335
|
|
|
335
336
|
var QueuePaginated = withRouter(DeckQueue);
|
|
336
337
|
|
|
337
|
-
export
|
|
338
|
+
export default QueuePaginated;
|
package/dist/esm/Dfp-102f0beb.js
CHANGED
package/dist/esm/EventsDeck.js
CHANGED
|
@@ -243,23 +243,23 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
243
243
|
if (cventAccessToken && cventAccessToken !== 'undefined') {
|
|
244
244
|
setAccessToken(cventAccessToken);
|
|
245
245
|
} else {
|
|
246
|
-
/*const encodedData = window.btoa(clientId + ':' + clientSecret)
|
|
247
|
-
//const url = `${corsProxy}https://api-platform.cvent.com/ea/oauth2/token`
|
|
248
|
-
const url = `https://api-platform.cvent.com/ea/oauth2/token`
|
|
249
|
-
fetch(url, {
|
|
250
|
-
headers: {
|
|
251
|
-
'Content-Type': 'application/x-www-form-urlencoded',
|
|
252
|
-
Authorization: `Basic ${encodedData}`
|
|
253
|
-
},
|
|
254
|
-
method: 'POST',
|
|
255
|
-
body: `grant_type=client_credentials&client_id=${clientId}`
|
|
256
|
-
})
|
|
257
|
-
.then((response) => response.json())
|
|
258
|
-
.then((json) => {
|
|
259
|
-
const inOneHour = new Date(new Date().getTime() + 60 * 60 * 1000)
|
|
260
|
-
Cookies.set('cvent_access_token', json.access_token, { expires: inOneHour })
|
|
261
|
-
setAccessToken(json.access_token)
|
|
262
|
-
})
|
|
246
|
+
/*const encodedData = window.btoa(clientId + ':' + clientSecret)
|
|
247
|
+
//const url = `${corsProxy}https://api-platform.cvent.com/ea/oauth2/token`
|
|
248
|
+
const url = `https://api-platform.cvent.com/ea/oauth2/token`
|
|
249
|
+
fetch(url, {
|
|
250
|
+
headers: {
|
|
251
|
+
'Content-Type': 'application/x-www-form-urlencoded',
|
|
252
|
+
Authorization: `Basic ${encodedData}`
|
|
253
|
+
},
|
|
254
|
+
method: 'POST',
|
|
255
|
+
body: `grant_type=client_credentials&client_id=${clientId}`
|
|
256
|
+
})
|
|
257
|
+
.then((response) => response.json())
|
|
258
|
+
.then((json) => {
|
|
259
|
+
const inOneHour = new Date(new Date().getTime() + 60 * 60 * 1000)
|
|
260
|
+
Cookies.set('cvent_access_token', json.access_token, { expires: inOneHour })
|
|
261
|
+
setAccessToken(json.access_token)
|
|
262
|
+
})
|
|
263
263
|
.catch((e) => console.log(e))*/
|
|
264
264
|
// hello
|
|
265
265
|
var url = 'https://beam.mjhlifesciences.com/api/cvent/token';
|
|
@@ -837,4 +837,4 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
837
837
|
}
|
|
838
838
|
};
|
|
839
839
|
|
|
840
|
-
export
|
|
840
|
+
export default EventsDeck;
|
|
@@ -2,7 +2,7 @@ import { _ as _extends } from './extends-6d8e3924.js';
|
|
|
2
2
|
import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
3
3
|
import React__default, { useState, useEffect } from 'react';
|
|
4
4
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
5
|
-
import { g as getSerializers } from './index-
|
|
5
|
+
import { g as getSerializers } from './index-803278c4.js';
|
|
6
6
|
import { m as momentTimezone } from './index-79cfd25c.js';
|
|
7
7
|
import { useRouter } from 'next/router';
|
|
8
8
|
import Button from 'react-bootstrap/Button';
|
|
@@ -31,6 +31,8 @@ import 'react-dom';
|
|
|
31
31
|
import './typeof-e9fc0c5d.js';
|
|
32
32
|
import './_is-array-8d21b9e3.js';
|
|
33
33
|
import './brightcove-react-player-loader.es-57a70a56.js';
|
|
34
|
+
import 'react-bootstrap/Modal';
|
|
35
|
+
import 'react-bootstrap/Form';
|
|
34
36
|
import './GroupDeck.js';
|
|
35
37
|
import './smoothscroll-fa4e3f8c.js';
|
|
36
38
|
import './moment-bc12cb97.js';
|
|
@@ -206,4 +208,4 @@ var ExternalResources = function ExternalResources(props) {
|
|
|
206
208
|
);
|
|
207
209
|
};
|
|
208
210
|
|
|
209
|
-
export
|
|
211
|
+
export default ExternalResources;
|
package/dist/esm/Feature.js
CHANGED
package/dist/esm/ForbesHero.js
CHANGED
package/dist/esm/GridContent.js
CHANGED
|
@@ -22,7 +22,7 @@ import urlFor from './urlFor.js';
|
|
|
22
22
|
import { m as main_43 } from './main-1894c974.js';
|
|
23
23
|
import { A as AuthorComponent } from './AuthorComponent-11adff02.js';
|
|
24
24
|
import { P as PublicationFeature } from './PublicationFeature-d88e76b9.js';
|
|
25
|
-
import { P as Pagination } from './Pagination-
|
|
25
|
+
import { P as Pagination } from './Pagination-59436882.js';
|
|
26
26
|
import Spinner from 'react-bootstrap/Spinner';
|
|
27
27
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
28
28
|
import './core.get-iterator-method-ea258bb1.js';
|
|
@@ -47,6 +47,7 @@ import './Segment.js';
|
|
|
47
47
|
import './eq-bdcbf886.js';
|
|
48
48
|
import './index-3f5c03b2.js';
|
|
49
49
|
import 'react-bootstrap/Button';
|
|
50
|
+
import 'react-paginate';
|
|
50
51
|
import './index.esm-1bd8a0a8.js';
|
|
51
52
|
import './iconBase-ccc56b97.js';
|
|
52
53
|
|
|
@@ -688,4 +689,4 @@ var GridContent = function (_React$Component) {
|
|
|
688
689
|
|
|
689
690
|
var GridContentPaginated = React__default.memo(withRouter(GridContent));
|
|
690
691
|
|
|
691
|
-
export
|
|
692
|
+
export default GridContentPaginated;
|
package/dist/esm/GridHero.js
CHANGED
package/dist/esm/GroupDeck.js
CHANGED
package/dist/esm/HamMagazine.js
CHANGED
|
@@ -26,15 +26,15 @@ import './_library-528f1934.js';
|
|
|
26
26
|
import './_iter-detect-98db3b07.js';
|
|
27
27
|
|
|
28
28
|
var HamMagazine = function HamMagazine(props) {
|
|
29
|
-
/*
|
|
30
|
-
Example Nav with acceptable props
|
|
31
|
-
<MagazineNav
|
|
32
|
-
showLogin
|
|
33
|
-
logo={props.settings.logo}
|
|
34
|
-
dataObject={props.cache.mainNavCache}
|
|
35
|
-
website={website}
|
|
36
|
-
subNav={props.cache.subNavCache}
|
|
37
|
-
/>
|
|
29
|
+
/*
|
|
30
|
+
Example Nav with acceptable props
|
|
31
|
+
<MagazineNav
|
|
32
|
+
showLogin
|
|
33
|
+
logo={props.settings.logo}
|
|
34
|
+
dataObject={props.cache.mainNavCache}
|
|
35
|
+
website={website}
|
|
36
|
+
subNav={props.cache.subNavCache}
|
|
37
|
+
/>
|
|
38
38
|
*/
|
|
39
39
|
|
|
40
40
|
// Setting 'socialIconVariant' as 'light' as default to make the social icons and search icon black
|
|
@@ -586,4 +586,5 @@ var HamMagazine = function HamMagazine(props) {
|
|
|
586
586
|
);
|
|
587
587
|
};
|
|
588
588
|
|
|
589
|
-
export
|
|
589
|
+
export default HamMagazine;
|
|
590
|
+
export { HamMagazine };
|
package/dist/esm/Header.js
CHANGED
package/dist/esm/Hero.js
CHANGED
|
@@ -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-803278c4.js';
|
|
7
7
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
8
8
|
import './core.get-iterator-method-ea258bb1.js';
|
|
9
9
|
import './_object-pie-133f504a.js';
|
|
@@ -34,6 +34,9 @@ import './urlForFile-b69adffc.js';
|
|
|
34
34
|
import './typeof-e9fc0c5d.js';
|
|
35
35
|
import './_is-array-8d21b9e3.js';
|
|
36
36
|
import './brightcove-react-player-loader.es-57a70a56.js';
|
|
37
|
+
import 'react-bootstrap/Modal';
|
|
38
|
+
import 'react-bootstrap/Button';
|
|
39
|
+
import 'react-bootstrap/Form';
|
|
37
40
|
import './GroupDeck.js';
|
|
38
41
|
import './moment-bc12cb97.js';
|
|
39
42
|
import './SocialShare.js';
|
|
@@ -42,7 +45,6 @@ import 'react-share';
|
|
|
42
45
|
import './_object-to-array-2300e51b.js';
|
|
43
46
|
import './toConsumableArray-f7074d7c.js';
|
|
44
47
|
import 'react-bootstrap/Pagination';
|
|
45
|
-
import 'react-bootstrap/Button';
|
|
46
48
|
import './entities-6d9154b4.js';
|
|
47
49
|
import './AdSlot.js';
|
|
48
50
|
import './debounce-533d9748.js';
|
|
@@ -155,4 +157,4 @@ function HorizontalArticleListing(_ref) {
|
|
|
155
157
|
);
|
|
156
158
|
}
|
|
157
159
|
|
|
158
|
-
export
|
|
160
|
+
export default HorizontalArticleListing;
|
package/dist/esm/IssueDeck.js
CHANGED
package/dist/esm/IssueLanding.js
CHANGED
|
@@ -3,7 +3,7 @@ import React__default from 'react';
|
|
|
3
3
|
import QueueDeckExpanded from './QueueDeckExpanded.js';
|
|
4
4
|
import Breadcrumbs from './Breadcrumbs.js';
|
|
5
5
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
6
|
-
import { g as getSerializers } from './index-
|
|
6
|
+
import { g as getSerializers } from './index-803278c4.js';
|
|
7
7
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
8
8
|
import './core.get-iterator-method-ea258bb1.js';
|
|
9
9
|
import './_object-pie-133f504a.js';
|
|
@@ -48,6 +48,9 @@ import './urlForFile-b69adffc.js';
|
|
|
48
48
|
import './typeof-e9fc0c5d.js';
|
|
49
49
|
import './_is-array-8d21b9e3.js';
|
|
50
50
|
import './brightcove-react-player-loader.es-57a70a56.js';
|
|
51
|
+
import 'react-bootstrap/Modal';
|
|
52
|
+
import 'react-bootstrap/Button';
|
|
53
|
+
import 'react-bootstrap/Form';
|
|
51
54
|
import './GroupDeck.js';
|
|
52
55
|
import './smoothscroll-fa4e3f8c.js';
|
|
53
56
|
import './SocialShare.js';
|
|
@@ -55,7 +58,6 @@ import 'next/head';
|
|
|
55
58
|
import 'react-share';
|
|
56
59
|
import './_object-to-array-2300e51b.js';
|
|
57
60
|
import 'react-bootstrap/Pagination';
|
|
58
|
-
import 'react-bootstrap/Button';
|
|
59
61
|
import 'react-bootstrap/Row';
|
|
60
62
|
import 'react-bootstrap/Col';
|
|
61
63
|
import './inherits-a6ba2ec4.js';
|
|
@@ -68,35 +70,35 @@ import 'react-bootstrap/OverlayTrigger';
|
|
|
68
70
|
import 'react-bootstrap/Tooltip';
|
|
69
71
|
import 'react-bootstrap/Popover';
|
|
70
72
|
|
|
71
|
-
/* usage
|
|
72
|
-
import Settings, { Ads } from '../../../../settings'
|
|
73
|
-
import { IssueLanding, getQuery } from '@mjhls/mjh-framework'
|
|
74
|
-
import client from '../../../../client'
|
|
75
|
-
import moment from 'moment'
|
|
76
|
-
import Shell from '../../../../components/2.0/Shell'
|
|
77
|
-
import { pageview } from '../../../../utilities/gtag'
|
|
78
|
-
|
|
79
|
-
const Issue = (props) => {
|
|
80
|
-
const { pubIssue, cache } = props
|
|
81
|
-
const targeting = {
|
|
82
|
-
content_placement: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
|
|
83
|
-
document_url: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
|
|
84
|
-
}
|
|
85
|
-
return (
|
|
86
|
-
<Shell cache={cache} settings={Settings} targeting={targeting} ads={Ads} layout='3' title={pubIssue.issue.name}>
|
|
87
|
-
<IssueLanding pubIssue={pubIssue} client={client} settings={Settings} pageview={pageview} rightItems={Ads.getMobileAds(targeting)} />
|
|
88
|
-
</Shell>
|
|
89
|
-
)
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
Issue.getInitialProps = async (ctx) => {
|
|
93
|
-
const { query } = ctx
|
|
94
|
-
const pubIssue = await client.fetch(getQuery('issue'), { ...query, currentDate: moment().utc().format() }
|
|
95
|
-
)
|
|
96
|
-
return { pubIssue }
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
export default Issue
|
|
73
|
+
/* usage
|
|
74
|
+
import Settings, { Ads } from '../../../../settings'
|
|
75
|
+
import { IssueLanding, getQuery } from '@mjhls/mjh-framework'
|
|
76
|
+
import client from '../../../../client'
|
|
77
|
+
import moment from 'moment'
|
|
78
|
+
import Shell from '../../../../components/2.0/Shell'
|
|
79
|
+
import { pageview } from '../../../../utilities/gtag'
|
|
80
|
+
|
|
81
|
+
const Issue = (props) => {
|
|
82
|
+
const { pubIssue, cache } = props
|
|
83
|
+
const targeting = {
|
|
84
|
+
content_placement: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
|
|
85
|
+
document_url: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
|
|
86
|
+
}
|
|
87
|
+
return (
|
|
88
|
+
<Shell cache={cache} settings={Settings} targeting={targeting} ads={Ads} layout='3' title={pubIssue.issue.name}>
|
|
89
|
+
<IssueLanding pubIssue={pubIssue} client={client} settings={Settings} pageview={pageview} rightItems={Ads.getMobileAds(targeting)} />
|
|
90
|
+
</Shell>
|
|
91
|
+
)
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
Issue.getInitialProps = async (ctx) => {
|
|
95
|
+
const { query } = ctx
|
|
96
|
+
const pubIssue = await client.fetch(getQuery('issue'), { ...query, currentDate: moment().utc().format() }
|
|
97
|
+
)
|
|
98
|
+
return { pubIssue }
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
export default Issue
|
|
100
102
|
*/
|
|
101
103
|
|
|
102
104
|
var IssueLanding = function IssueLanding(props) {
|
|
@@ -159,4 +161,4 @@ var IssueLanding = function IssueLanding(props) {
|
|
|
159
161
|
);
|
|
160
162
|
};
|
|
161
163
|
|
|
162
|
-
export
|
|
164
|
+
export default IssueLanding;
|