@mjhls/mjh-framework 1.0.986-article-rec → 1.0.986-disable-prev
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/AlgoliaSearch.js +18 -142
- package/dist/cjs/ArticleProgramLandingPage.js +1 -1
- package/dist/cjs/ArticleSeriesLandingPage.js +2 -2
- package/dist/cjs/Auth.js +17 -20
- package/dist/cjs/AuthWrapper.js +12 -18
- 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/ContentCardPaginated.js +3 -2
- package/dist/cjs/DeckContent.js +1 -1
- package/dist/cjs/DeckQueuePaginated.js +2 -1
- package/dist/cjs/Dfp-9be904d5.js +1 -1
- package/dist/cjs/ExternalResources.js +1 -1
- package/dist/cjs/GridContent.js +2 -2
- package/dist/cjs/GridContentPaginated.js +4 -3
- package/dist/cjs/HamMagazine.js +1 -1
- package/dist/cjs/Header.js +1 -1
- package/dist/cjs/HorizontalArticleListing.js +1 -1
- package/dist/cjs/IssueLanding.js +3 -3
- package/dist/cjs/LeftNav.js +1 -1
- package/dist/cjs/MasterDeck.js +2 -2
- package/dist/cjs/MasterDeckPaginated.js +4 -3
- package/dist/cjs/{MediaSeriesCard-1b1bd850.js → MediaSeriesCard-90875937.js} +43 -65
- package/dist/cjs/MediaSeriesLanding.js +4 -4
- package/dist/cjs/MediaSeriesLandingPaginated.js +6 -5
- package/dist/cjs/NavDvm.js +1 -1
- package/dist/cjs/NavMagazine.js +1 -1
- package/dist/cjs/NavNative.js +1 -1
- package/dist/cjs/Pagination-1e0d5f1d.js +90 -0
- package/dist/cjs/PartnerDetailListing.js +3 -3
- package/dist/cjs/PartnerDetailListingPaginated.js +5 -4
- package/dist/cjs/PubSection.js +2 -2
- package/dist/cjs/QueueDeckExpanded.js +2 -2
- package/dist/cjs/QueueDeckExpandedPaginated.js +4 -3
- package/dist/cjs/Segment.js +0 -49
- package/dist/cjs/TaxonomyDescription.js +1 -1
- package/dist/cjs/VideoProgramLandingPage.js +1 -1
- package/dist/cjs/VideoSeriesLandingPage.js +2 -2
- package/dist/cjs/View.js +66 -155
- package/dist/cjs/getSerializers.js +1 -1
- package/dist/cjs/{getTargeting-3c5754ac.js → getTargeting-ba942d9a.js} +4 -2
- package/dist/cjs/getTargeting.js +1 -1
- package/dist/cjs/index.js +5 -4
- 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 +2 -2
- package/dist/esm/ArticleSeriesLandingPage.js +3 -3
- package/dist/esm/ArticleSeriesListing.js +1 -1
- package/dist/esm/Auth.js +18 -20
- package/dist/esm/AuthWrapper.js +13 -19
- 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 +1 -1
- package/dist/esm/ContentCardPaginated.js +4 -3
- package/dist/esm/DeckContent.js +2 -2
- 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 +1 -1
- package/dist/esm/ExternalResources.js +2 -2
- package/dist/esm/Feature.js +1 -1
- package/dist/esm/ForbesHero.js +1 -1
- package/dist/esm/GridContent.js +3 -3
- package/dist/esm/GridContentPaginated.js +5 -4
- package/dist/esm/GridHero.js +1 -1
- package/dist/esm/GroupDeck.js +1 -1
- package/dist/esm/HamMagazine.js +2 -1
- package/dist/esm/Header.js +2 -1
- package/dist/esm/HealthCareProfessionalModal.js +1 -1
- package/dist/esm/Hero.js +1 -1
- package/dist/esm/HighlightenVideo.js +1 -1
- package/dist/esm/HorizontalArticleListing.js +2 -2
- 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 +4 -4
- package/dist/esm/KMTracker.js +1 -1
- package/dist/esm/LeftNav.js +2 -1
- package/dist/esm/MasterDeck.js +3 -3
- package/dist/esm/MasterDeckPaginated.js +5 -4
- package/dist/esm/{MediaSeriesCard-029542ab.js → MediaSeriesCard-767d6d90.js} +43 -65
- package/dist/esm/MediaSeriesLanding.js +5 -5
- package/dist/esm/MediaSeriesLandingPaginated.js +7 -6
- package/dist/esm/NavDvm.js +2 -1
- package/dist/esm/NavMagazine.js +2 -1
- package/dist/esm/NavNative.js +2 -1
- 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-cd21f8c2.js +82 -0
- package/dist/esm/PartnerDetailListing.js +4 -4
- package/dist/esm/PartnerDetailListingPaginated.js +6 -5
- package/dist/esm/PdfDownload.js +1 -1
- package/dist/esm/PopUpModal.js +1 -1
- package/dist/esm/PtceDeck.js +1 -1
- package/dist/esm/PubSection.js +3 -3
- package/dist/esm/PubToc.js +1 -1
- package/dist/esm/PublicationDeck.js +1 -1
- package/dist/esm/PublicationLanding.js +1 -1
- package/dist/esm/QueueDeckExpanded.js +3 -3
- package/dist/esm/QueueDeckExpandedPaginated.js +5 -4
- package/dist/esm/RecentNews.js +1 -1
- package/dist/esm/RelatedContent.js +1 -1
- package/dist/esm/RelatedTopicsDropdown.js +1 -1
- 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 +2 -51
- package/dist/esm/SeriesListingDeck.js +1 -1
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +1 -1
- 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 +2 -2
- 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 +2 -2
- package/dist/esm/VideoSeriesCard.js +1 -1
- package/dist/esm/VideoSeriesFilter.js +1 -1
- package/dist/esm/VideoSeriesLandingPage.js +3 -3
- package/dist/esm/VideoSeriesListing.js +1 -1
- package/dist/esm/View.js +66 -156
- package/dist/esm/YahooHero.js +1 -1
- package/dist/esm/YoutubeGroup.js +1 -1
- 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 +1 -1
- package/dist/esm/getSeriesDetail.js +1 -1
- package/dist/esm/{getTargeting-42f9b439.js → getTargeting-9bd28724.js} +4 -2
- package/dist/esm/getTargeting.js +1 -1
- package/dist/esm/index.js +5 -4
- 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 +1 -1
- package/dist/cjs/Pagination-2a3d0103.js +0 -97
- package/dist/esm/Pagination-dc30727b.js +0 -90
- /package/dist/cjs/{ADInfeed-e87afe8a.js → ADInfeed-81006615.js} +0 -0
- /package/dist/cjs/{ADlgInfeed-b5a3d436.js → ADlgInfeed-0db07099.js} +0 -0
- /package/dist/cjs/{index-c5778fcd.js → index-869cab56.js} +0 -0
- /package/dist/esm/{ADInfeed-5765a73a.js → ADInfeed-6d1fc6bf.js} +0 -0
- /package/dist/esm/{ADlgInfeed-5e36f317.js → ADlgInfeed-dc36c928.js} +0 -0
- /package/dist/esm/{index-98646d5c.js → index-4959f8e7.js} +0 -0
|
@@ -9,7 +9,7 @@ import urlFor from './urlFor.js';
|
|
|
9
9
|
import { m as moment } from './moment-bc12cb97.js';
|
|
10
10
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
11
11
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
12
|
-
import { g as getSerializers } from './index-
|
|
12
|
+
import { g as getSerializers } from './index-4959f8e7.js';
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* Copyright (c) 2013-present, Facebook, Inc.
|
|
@@ -2626,6 +2626,45 @@ function getBasePlacement(placement) {
|
|
|
2626
2626
|
return placement.split('-')[0];
|
|
2627
2627
|
}
|
|
2628
2628
|
|
|
2629
|
+
function getBoundingClientRect(element) {
|
|
2630
|
+
var rect = element.getBoundingClientRect();
|
|
2631
|
+
return {
|
|
2632
|
+
width: rect.width,
|
|
2633
|
+
height: rect.height,
|
|
2634
|
+
top: rect.top,
|
|
2635
|
+
right: rect.right,
|
|
2636
|
+
bottom: rect.bottom,
|
|
2637
|
+
left: rect.left,
|
|
2638
|
+
x: rect.left,
|
|
2639
|
+
y: rect.top
|
|
2640
|
+
};
|
|
2641
|
+
}
|
|
2642
|
+
|
|
2643
|
+
// means it doesn't take into account transforms.
|
|
2644
|
+
|
|
2645
|
+
function getLayoutRect(element) {
|
|
2646
|
+
var clientRect = getBoundingClientRect(element); // Use the clientRect sizes if it's not been transformed.
|
|
2647
|
+
// Fixes https://github.com/popperjs/popper-core/issues/1223
|
|
2648
|
+
|
|
2649
|
+
var width = element.offsetWidth;
|
|
2650
|
+
var height = element.offsetHeight;
|
|
2651
|
+
|
|
2652
|
+
if (Math.abs(clientRect.width - width) <= 1) {
|
|
2653
|
+
width = clientRect.width;
|
|
2654
|
+
}
|
|
2655
|
+
|
|
2656
|
+
if (Math.abs(clientRect.height - height) <= 1) {
|
|
2657
|
+
height = clientRect.height;
|
|
2658
|
+
}
|
|
2659
|
+
|
|
2660
|
+
return {
|
|
2661
|
+
x: element.offsetLeft,
|
|
2662
|
+
y: element.offsetTop,
|
|
2663
|
+
width: width,
|
|
2664
|
+
height: height
|
|
2665
|
+
};
|
|
2666
|
+
}
|
|
2667
|
+
|
|
2629
2668
|
function getWindow(node) {
|
|
2630
2669
|
if (node == null) {
|
|
2631
2670
|
return window;
|
|
@@ -2659,59 +2698,6 @@ function isShadowRoot(node) {
|
|
|
2659
2698
|
return node instanceof OwnElement || node instanceof ShadowRoot;
|
|
2660
2699
|
}
|
|
2661
2700
|
|
|
2662
|
-
var round$1 = Math.round;
|
|
2663
|
-
function getBoundingClientRect(element, includeScale) {
|
|
2664
|
-
if (includeScale === void 0) {
|
|
2665
|
-
includeScale = false;
|
|
2666
|
-
}
|
|
2667
|
-
|
|
2668
|
-
var rect = element.getBoundingClientRect();
|
|
2669
|
-
var scaleX = 1;
|
|
2670
|
-
var scaleY = 1;
|
|
2671
|
-
|
|
2672
|
-
if (isHTMLElement(element) && includeScale) {
|
|
2673
|
-
// Fallback to 1 in case both values are `0`
|
|
2674
|
-
scaleX = rect.width / element.offsetWidth || 1;
|
|
2675
|
-
scaleY = rect.height / element.offsetHeight || 1;
|
|
2676
|
-
}
|
|
2677
|
-
|
|
2678
|
-
return {
|
|
2679
|
-
width: round$1(rect.width / scaleX),
|
|
2680
|
-
height: round$1(rect.height / scaleY),
|
|
2681
|
-
top: round$1(rect.top / scaleY),
|
|
2682
|
-
right: round$1(rect.right / scaleX),
|
|
2683
|
-
bottom: round$1(rect.bottom / scaleY),
|
|
2684
|
-
left: round$1(rect.left / scaleX),
|
|
2685
|
-
x: round$1(rect.left / scaleX),
|
|
2686
|
-
y: round$1(rect.top / scaleY)
|
|
2687
|
-
};
|
|
2688
|
-
}
|
|
2689
|
-
|
|
2690
|
-
// means it doesn't take into account transforms.
|
|
2691
|
-
|
|
2692
|
-
function getLayoutRect(element) {
|
|
2693
|
-
var clientRect = getBoundingClientRect(element); // Use the clientRect sizes if it's not been transformed.
|
|
2694
|
-
// Fixes https://github.com/popperjs/popper-core/issues/1223
|
|
2695
|
-
|
|
2696
|
-
var width = element.offsetWidth;
|
|
2697
|
-
var height = element.offsetHeight;
|
|
2698
|
-
|
|
2699
|
-
if (Math.abs(clientRect.width - width) <= 1) {
|
|
2700
|
-
width = clientRect.width;
|
|
2701
|
-
}
|
|
2702
|
-
|
|
2703
|
-
if (Math.abs(clientRect.height - height) <= 1) {
|
|
2704
|
-
height = clientRect.height;
|
|
2705
|
-
}
|
|
2706
|
-
|
|
2707
|
-
return {
|
|
2708
|
-
x: element.offsetLeft,
|
|
2709
|
-
y: element.offsetTop,
|
|
2710
|
-
width: width,
|
|
2711
|
-
height: height
|
|
2712
|
-
};
|
|
2713
|
-
}
|
|
2714
|
-
|
|
2715
2701
|
function contains$1(parent, child) {
|
|
2716
2702
|
var rootNode = child.getRootNode && child.getRootNode(); // First, attempt with faster native method
|
|
2717
2703
|
|
|
@@ -3938,24 +3924,16 @@ function getNodeScroll(node) {
|
|
|
3938
3924
|
}
|
|
3939
3925
|
}
|
|
3940
3926
|
|
|
3941
|
-
function isElementScaled(element) {
|
|
3942
|
-
var rect = element.getBoundingClientRect();
|
|
3943
|
-
var scaleX = rect.width / element.offsetWidth || 1;
|
|
3944
|
-
var scaleY = rect.height / element.offsetHeight || 1;
|
|
3945
|
-
return scaleX !== 1 || scaleY !== 1;
|
|
3946
|
-
} // Returns the composite rect of an element relative to its offsetParent.
|
|
3947
3927
|
// Composite means it takes into account transforms as well as layout.
|
|
3948
3928
|
|
|
3949
|
-
|
|
3950
3929
|
function getCompositeRect(elementOrVirtualElement, offsetParent, isFixed) {
|
|
3951
3930
|
if (isFixed === void 0) {
|
|
3952
3931
|
isFixed = false;
|
|
3953
3932
|
}
|
|
3954
3933
|
|
|
3955
|
-
var isOffsetParentAnElement = isHTMLElement(offsetParent);
|
|
3956
|
-
var offsetParentIsScaled = isHTMLElement(offsetParent) && isElementScaled(offsetParent);
|
|
3957
3934
|
var documentElement = getDocumentElement(offsetParent);
|
|
3958
|
-
var rect = getBoundingClientRect(elementOrVirtualElement
|
|
3935
|
+
var rect = getBoundingClientRect(elementOrVirtualElement);
|
|
3936
|
+
var isOffsetParentAnElement = isHTMLElement(offsetParent);
|
|
3959
3937
|
var scroll = {
|
|
3960
3938
|
scrollLeft: 0,
|
|
3961
3939
|
scrollTop: 0
|
|
@@ -3972,7 +3950,7 @@ function getCompositeRect(elementOrVirtualElement, offsetParent, isFixed) {
|
|
|
3972
3950
|
}
|
|
3973
3951
|
|
|
3974
3952
|
if (isHTMLElement(offsetParent)) {
|
|
3975
|
-
offsets = getBoundingClientRect(offsetParent
|
|
3953
|
+
offsets = getBoundingClientRect(offsetParent);
|
|
3976
3954
|
offsets.x += offsetParent.clientLeft;
|
|
3977
3955
|
offsets.y += offsetParent.clientTop;
|
|
3978
3956
|
} else if (documentElement) {
|
|
@@ -3,13 +3,13 @@ import { _ as _typeof } from './typeof-e9fc0c5d.js';
|
|
|
3
3
|
import { _ as _extends } from './extends-6d8e3924.js';
|
|
4
4
|
import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
5
5
|
import React__default, { useState, useEffect } from 'react';
|
|
6
|
-
import { M as MediaSeriesCard, D as DropdownButton, a as Dropdown } from './MediaSeriesCard-
|
|
6
|
+
import { M as MediaSeriesCard, D as DropdownButton, a as Dropdown } from './MediaSeriesCard-767d6d90.js';
|
|
7
7
|
import './index-98ca9cec.js';
|
|
8
8
|
import 'react-dom';
|
|
9
9
|
import Link from 'next/link';
|
|
10
10
|
import MasterDeck from './MasterDeck.js';
|
|
11
11
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
12
|
-
import { g as getSerializers } from './index-
|
|
12
|
+
import { g as getSerializers } from './index-4959f8e7.js';
|
|
13
13
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
14
14
|
import './core.get-iterator-method-ea258bb1.js';
|
|
15
15
|
import './web.dom.iterable-ab4dea5c.js';
|
|
@@ -40,13 +40,13 @@ import './isSymbol-a7e9aafe.js';
|
|
|
40
40
|
import './toNumber-5aeba6e7.js';
|
|
41
41
|
import './index.es-a6137319.js';
|
|
42
42
|
import './visibility-sensor-72fd8f8b.js';
|
|
43
|
-
import './ADlgInfeed-
|
|
43
|
+
import './ADlgInfeed-dc36c928.js';
|
|
44
44
|
import './AdSlot.js';
|
|
45
45
|
import './Beam.js';
|
|
46
46
|
import './stringify-2b084bee.js';
|
|
47
47
|
import './Segment.js';
|
|
48
48
|
import './main-1894c974.js';
|
|
49
|
-
import './ADInfeed-
|
|
49
|
+
import './ADInfeed-6d1fc6bf.js';
|
|
50
50
|
import 'react-bootstrap';
|
|
51
51
|
import './index-c7e2ac95.js';
|
|
52
52
|
import './util-8ed16d48.js';
|
|
@@ -496,4 +496,4 @@ MediaSeriesLanding.getInitialData = function () {
|
|
|
496
496
|
};
|
|
497
497
|
}();
|
|
498
498
|
|
|
499
|
-
export
|
|
499
|
+
export default MediaSeriesLanding;
|
|
@@ -3,13 +3,13 @@ import { _ as _typeof } from './typeof-e9fc0c5d.js';
|
|
|
3
3
|
import { _ as _extends } from './extends-6d8e3924.js';
|
|
4
4
|
import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
5
5
|
import React__default, { useState, useEffect } from 'react';
|
|
6
|
-
import { M as MediaSeriesCard, D as DropdownButton, a as Dropdown } from './MediaSeriesCard-
|
|
6
|
+
import { M as MediaSeriesCard, D as DropdownButton, a as Dropdown } from './MediaSeriesCard-767d6d90.js';
|
|
7
7
|
import './index-98ca9cec.js';
|
|
8
8
|
import 'react-dom';
|
|
9
9
|
import Link from 'next/link';
|
|
10
10
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
11
11
|
import MasterDeck from './MasterDeckPaginated.js';
|
|
12
|
-
import { g as getSerializers } from './index-
|
|
12
|
+
import { g as getSerializers } from './index-4959f8e7.js';
|
|
13
13
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
14
14
|
import './core.get-iterator-method-ea258bb1.js';
|
|
15
15
|
import './web.dom.iterable-ab4dea5c.js';
|
|
@@ -35,7 +35,7 @@ import 'react-bootstrap/Spinner';
|
|
|
35
35
|
import 'next/router';
|
|
36
36
|
import './lodash-f97fd99a.js';
|
|
37
37
|
import './main-1894c974.js';
|
|
38
|
-
import './ADlgInfeed-
|
|
38
|
+
import './ADlgInfeed-dc36c928.js';
|
|
39
39
|
import 'react-bootstrap/Card';
|
|
40
40
|
import './AdSlot.js';
|
|
41
41
|
import './debounce-533d9748.js';
|
|
@@ -43,8 +43,9 @@ import './isSymbol-a7e9aafe.js';
|
|
|
43
43
|
import './toNumber-5aeba6e7.js';
|
|
44
44
|
import './Beam.js';
|
|
45
45
|
import './Segment.js';
|
|
46
|
-
import './ADInfeed-
|
|
47
|
-
import './Pagination-
|
|
46
|
+
import './ADInfeed-6d1fc6bf.js';
|
|
47
|
+
import './Pagination-cd21f8c2.js';
|
|
48
|
+
import 'react-paginate';
|
|
48
49
|
import 'react-bootstrap/Button';
|
|
49
50
|
import './index.esm-1bd8a0a8.js';
|
|
50
51
|
import './iconBase-ccc56b97.js';
|
|
@@ -521,4 +522,4 @@ MediaSeriesLanding.getInitialData = function () {
|
|
|
521
522
|
};
|
|
522
523
|
}();
|
|
523
524
|
|
|
524
|
-
export
|
|
525
|
+
export default MediaSeriesLanding;
|
package/dist/esm/NavDvm.js
CHANGED
package/dist/esm/NavMagazine.js
CHANGED
package/dist/esm/NavNative.js
CHANGED
package/dist/esm/OncliveHero.js
CHANGED
package/dist/esm/PageFilter.js
CHANGED
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import React__default from 'react';
|
|
2
|
+
import ReactPaginate from 'react-paginate';
|
|
3
|
+
import Button from 'react-bootstrap/Button';
|
|
4
|
+
import { d as FaArrowRight, e as FaArrowLeft } from './index.esm-1bd8a0a8.js';
|
|
5
|
+
|
|
6
|
+
var Pagination = function Pagination(props) {
|
|
7
|
+
var pageCount = props.pageCount,
|
|
8
|
+
_props$marginPagesDis = props.marginPagesDisplayed,
|
|
9
|
+
marginPagesDisplayed = _props$marginPagesDis === undefined ? 1 : _props$marginPagesDis,
|
|
10
|
+
_props$pageRangeDispl = props.pageRangeDisplayed,
|
|
11
|
+
pageRangeDisplayed = _props$pageRangeDispl === undefined ? 5 : _props$pageRangeDispl,
|
|
12
|
+
_props$currentPage = props.currentPage,
|
|
13
|
+
currentPage = _props$currentPage === undefined ? 1 : _props$currentPage,
|
|
14
|
+
_onPageChange = props.onPageChange,
|
|
15
|
+
_props$needLargePagin = props.needLargePaginateButtons,
|
|
16
|
+
needLargePaginateButtons = _props$needLargePagin === undefined ? false : _props$needLargePagin;
|
|
17
|
+
|
|
18
|
+
if (!pageCount || pageCount <= 1) return null;
|
|
19
|
+
return React__default.createElement(
|
|
20
|
+
React__default.Fragment,
|
|
21
|
+
null,
|
|
22
|
+
needLargePaginateButtons && React__default.createElement(
|
|
23
|
+
'div',
|
|
24
|
+
{ className: 'pagination-lg-btn-nxt' },
|
|
25
|
+
React__default.createElement(
|
|
26
|
+
Button,
|
|
27
|
+
{
|
|
28
|
+
onClick: function onClick(e) {
|
|
29
|
+
e.preventDefault();
|
|
30
|
+
_onPageChange(currentPage + 1);
|
|
31
|
+
},
|
|
32
|
+
disabled: currentPage === pageCount,
|
|
33
|
+
href: currentPage === pageCount ? '' : '?page=' + (currentPage + 1) },
|
|
34
|
+
'NEXT PAGE',
|
|
35
|
+
React__default.createElement(FaArrowRight, { className: 'fa-arrow-right' })
|
|
36
|
+
)
|
|
37
|
+
),
|
|
38
|
+
React__default.createElement(ReactPaginate, {
|
|
39
|
+
pageCount: pageCount,
|
|
40
|
+
marginPagesDisplayed: marginPagesDisplayed,
|
|
41
|
+
pageRangeDisplayed: pageRangeDisplayed,
|
|
42
|
+
forcePage: currentPage - 1,
|
|
43
|
+
onPageChange: function onPageChange(_ref) {
|
|
44
|
+
var selected = _ref.selected;
|
|
45
|
+
return _onPageChange(selected + 1);
|
|
46
|
+
},
|
|
47
|
+
hrefBuilder: function hrefBuilder(page) {
|
|
48
|
+
return '?page=' + page;
|
|
49
|
+
},
|
|
50
|
+
previousLabel: '<',
|
|
51
|
+
nextLabel: '>',
|
|
52
|
+
containerClassName: 'pagination-container',
|
|
53
|
+
previousLinkClassName: 'previous',
|
|
54
|
+
nextLinkClassName: 'next',
|
|
55
|
+
disabledClassName: 'disabled',
|
|
56
|
+
activeClassName: 'active'
|
|
57
|
+
}),
|
|
58
|
+
needLargePaginateButtons && React__default.createElement(
|
|
59
|
+
'div',
|
|
60
|
+
{ className: 'pagination-lg-btn-prv' },
|
|
61
|
+
React__default.createElement(
|
|
62
|
+
Button,
|
|
63
|
+
{
|
|
64
|
+
onClick: function onClick(e) {
|
|
65
|
+
e.preventDefault();
|
|
66
|
+
_onPageChange(currentPage - 1);
|
|
67
|
+
},
|
|
68
|
+
disabled: currentPage === 1,
|
|
69
|
+
href: currentPage <= 1 ? '?page=1' : '?page=' + (currentPage - 1) },
|
|
70
|
+
React__default.createElement(FaArrowLeft, { className: 'fa-arrow-left' }),
|
|
71
|
+
'PREVIOUS PAGE'
|
|
72
|
+
)
|
|
73
|
+
),
|
|
74
|
+
React__default.createElement(
|
|
75
|
+
'style',
|
|
76
|
+
{ jsx: 'true' },
|
|
77
|
+
'\n .pagination-container {\n list-style: none;\n padding: 10px 0;\n margin: 0;\n display: flex;\n overflow: auto;\n }\n .pagination-container::before,\n .pagination-container::after {\n content: \'\';\n margin: 0 auto;\n }\n .pagination-container a {\n padding: 10px;\n border: 1px solid #dee2e6;\n }\n .pagination-container a:hover {\n text-decoration: none;\n background-color: #e9ecef;\n border-color: #dee2e6;\n }\n .pagination-container .active a {\n color: #fff;\n background-color: #666;\n background-color: var(--primary);\n }\n .pagination-container li:first-child a {\n border-radius: 5px 0 0 5px;\n }\n .pagination-container li:last-child a {\n border-radius: 0 5px 5px 0;\n }\n .pagination-container .disabled a {\n cursor: default;\n }\n .pagination-lg-btn-nxt,\n .pagination-lg-btn-prv {\n text-align: center;\n }\n .pagination-lg-btn-nxt .btn,\n .pagination-lg-btn-prv .btn {\n min-width: 80%;\n color: #000;\n color: var(--primary);\n background-color: transparent;\n border-color: #000;\n border-color: var(--primary);\n }\n .pagination-lg-btn-nxt {\n margin: 0 0 1.5rem;\n }\n .pagination-lg-btn-prv {\n margin: 1.5rem 0 0;\n }\n .pagination-lg-btn-nxt .btn:not(:disabled):not(.disabled).active,\n .pagination-lg-btn-prv .btn:not(:disabled):not(.disabled):active {\n color: #fff;\n background-color: #000;\n background-color: var(--primary);\n border-color: #000;\n border-color: var(--primary);\n }\n @media only screen and (min-width: 601px) {\n [class^=\'pagination-lg-btn\'] {\n display: none;\n }\n }\n .fa-arrow-left {\n margin-right: 0.5rem;\n }\n .fa-arrow-right {\n margin-left: 0.5rem;\n }\n .pagination-container::-webkit-scrollbar {\n height: 8px;\n }\n .pagination-container::-webkit-scrollbar-track,\n .pagination-container::-webkit-scrollbar-thumb {\n -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);\n border-radius: 4px;\n }\n .pagination-container::-webkit-scrollbar-track {\n background-color: rgba(0, 0, 0, 0.1);\n }\n .pagination-container::-webkit-scrollbar-thumb {\n background-color: rgba(0, 0, 0, 0.3);\n }\n '
|
|
78
|
+
)
|
|
79
|
+
);
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
export { Pagination as P };
|
|
@@ -11,7 +11,7 @@ import QueueDeckExpanded from './QueueDeckExpanded.js';
|
|
|
11
11
|
import Breadcrumbs from './Breadcrumbs.js';
|
|
12
12
|
import Feature from './Feature.js';
|
|
13
13
|
import urlFor from './urlFor.js';
|
|
14
|
-
import { g as getSerializers } from './index-
|
|
14
|
+
import { g as getSerializers } from './index-4959f8e7.js';
|
|
15
15
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
16
16
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
17
17
|
import './core.get-iterator-method-ea258bb1.js';
|
|
@@ -32,7 +32,7 @@ import 'next/router';
|
|
|
32
32
|
import './index-755f2cc2.js';
|
|
33
33
|
import './main-1894c974.js';
|
|
34
34
|
import './entities-6d9154b4.js';
|
|
35
|
-
import './ADInfeed-
|
|
35
|
+
import './ADInfeed-6d1fc6bf.js';
|
|
36
36
|
import 'react-bootstrap/Card';
|
|
37
37
|
import './AdSlot.js';
|
|
38
38
|
import './debounce-533d9748.js';
|
|
@@ -43,7 +43,7 @@ import './stringify-2b084bee.js';
|
|
|
43
43
|
import './Segment.js';
|
|
44
44
|
import './AuthorComponent-11adff02.js';
|
|
45
45
|
import './lodash-f97fd99a.js';
|
|
46
|
-
import './ADlgInfeed-
|
|
46
|
+
import './ADlgInfeed-dc36c928.js';
|
|
47
47
|
import './getContentCategory-15dcc413.js';
|
|
48
48
|
import './timeDifferenceCalc.js';
|
|
49
49
|
import './index-3f5c03b2.js';
|
|
@@ -319,4 +319,4 @@ PartnerDetails.returnGetInitialProps = function () {
|
|
|
319
319
|
};
|
|
320
320
|
}();
|
|
321
321
|
|
|
322
|
-
export
|
|
322
|
+
export default PartnerDetails;
|
|
@@ -11,7 +11,7 @@ import QueueDeckExpanded from './QueueDeckExpandedPaginated.js';
|
|
|
11
11
|
import Breadcrumbs from './Breadcrumbs.js';
|
|
12
12
|
import Feature from './Feature.js';
|
|
13
13
|
import urlFor from './urlFor.js';
|
|
14
|
-
import { g as getSerializers } from './index-
|
|
14
|
+
import { g as getSerializers } from './index-4959f8e7.js';
|
|
15
15
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
16
16
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
17
17
|
import './core.get-iterator-method-ea258bb1.js';
|
|
@@ -31,7 +31,7 @@ import 'react-dom';
|
|
|
31
31
|
import './lodash-f97fd99a.js';
|
|
32
32
|
import './main-1894c974.js';
|
|
33
33
|
import './entities-6d9154b4.js';
|
|
34
|
-
import './ADInfeed-
|
|
34
|
+
import './ADInfeed-6d1fc6bf.js';
|
|
35
35
|
import 'react-bootstrap/Card';
|
|
36
36
|
import './AdSlot.js';
|
|
37
37
|
import './debounce-533d9748.js';
|
|
@@ -41,10 +41,11 @@ import './Beam.js';
|
|
|
41
41
|
import './stringify-2b084bee.js';
|
|
42
42
|
import './Segment.js';
|
|
43
43
|
import './AuthorComponent-11adff02.js';
|
|
44
|
-
import './ADlgInfeed-
|
|
44
|
+
import './ADlgInfeed-dc36c928.js';
|
|
45
45
|
import './getContentCategory-15dcc413.js';
|
|
46
46
|
import './timeDifferenceCalc.js';
|
|
47
|
-
import './Pagination-
|
|
47
|
+
import './Pagination-cd21f8c2.js';
|
|
48
|
+
import 'react-paginate';
|
|
48
49
|
import 'react-bootstrap/Button';
|
|
49
50
|
import './index.esm-1bd8a0a8.js';
|
|
50
51
|
import './iconBase-ccc56b97.js';
|
|
@@ -310,4 +311,4 @@ PartnerDetails.returnGetInitialProps = function () {
|
|
|
310
311
|
};
|
|
311
312
|
}();
|
|
312
313
|
|
|
313
|
-
export
|
|
314
|
+
export default PartnerDetails;
|
package/dist/esm/PdfDownload.js
CHANGED
package/dist/esm/PopUpModal.js
CHANGED
package/dist/esm/PtceDeck.js
CHANGED
package/dist/esm/PubSection.js
CHANGED
|
@@ -24,7 +24,7 @@ import 'next/router';
|
|
|
24
24
|
import './index-755f2cc2.js';
|
|
25
25
|
import './main-1894c974.js';
|
|
26
26
|
import './entities-6d9154b4.js';
|
|
27
|
-
import './ADInfeed-
|
|
27
|
+
import './ADInfeed-6d1fc6bf.js';
|
|
28
28
|
import 'react-bootstrap/Card';
|
|
29
29
|
import './AdSlot.js';
|
|
30
30
|
import './debounce-533d9748.js';
|
|
@@ -35,7 +35,7 @@ import './stringify-2b084bee.js';
|
|
|
35
35
|
import './Segment.js';
|
|
36
36
|
import './AuthorComponent-11adff02.js';
|
|
37
37
|
import './lodash-f97fd99a.js';
|
|
38
|
-
import './ADlgInfeed-
|
|
38
|
+
import './ADlgInfeed-dc36c928.js';
|
|
39
39
|
import './getContentCategory-15dcc413.js';
|
|
40
40
|
import './timeDifferenceCalc.js';
|
|
41
41
|
|
|
@@ -112,4 +112,4 @@ PubSection.getInitialProps = function () {
|
|
|
112
112
|
};
|
|
113
113
|
}();
|
|
114
114
|
|
|
115
|
-
export
|
|
115
|
+
export default PubSection;
|
package/dist/esm/PubToc.js
CHANGED
|
@@ -12,10 +12,10 @@ import { useRouter } from 'next/router';
|
|
|
12
12
|
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
13
13
|
import { m as main_43 } from './main-1894c974.js';
|
|
14
14
|
import { c as clean_html_1 } from './entities-6d9154b4.js';
|
|
15
|
-
import { A as ADInfeed } from './ADInfeed-
|
|
15
|
+
import { A as ADInfeed } from './ADInfeed-6d1fc6bf.js';
|
|
16
16
|
import { A as AuthorComponent } from './AuthorComponent-11adff02.js';
|
|
17
17
|
import { l as lodash } from './lodash-f97fd99a.js';
|
|
18
|
-
import { A as ADlgInfeed } from './ADlgInfeed-
|
|
18
|
+
import { A as ADlgInfeed } from './ADlgInfeed-dc36c928.js';
|
|
19
19
|
import { g as getContentCategory } from './getContentCategory-15dcc413.js';
|
|
20
20
|
import timeDifferenceCalc from './timeDifferenceCalc.js';
|
|
21
21
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
@@ -1532,4 +1532,4 @@ var QueueDeckExpanded = function QueueDeckExpanded(props) {
|
|
|
1532
1532
|
);
|
|
1533
1533
|
};
|
|
1534
1534
|
|
|
1535
|
-
export
|
|
1535
|
+
export default QueueDeckExpanded;
|
|
@@ -11,13 +11,13 @@ import { L as LazyLoad } from './index-755f2cc2.js';
|
|
|
11
11
|
import { l as lodash } from './lodash-f97fd99a.js';
|
|
12
12
|
import { m as main_43 } from './main-1894c974.js';
|
|
13
13
|
import { c as clean_html_1 } from './entities-6d9154b4.js';
|
|
14
|
-
import { A as ADInfeed } from './ADInfeed-
|
|
14
|
+
import { A as ADInfeed } from './ADInfeed-6d1fc6bf.js';
|
|
15
15
|
import { A as AuthorComponent } from './AuthorComponent-11adff02.js';
|
|
16
|
-
import { A as ADlgInfeed } from './ADlgInfeed-
|
|
16
|
+
import { A as ADlgInfeed } from './ADlgInfeed-dc36c928.js';
|
|
17
17
|
import { g as getContentCategory } from './getContentCategory-15dcc413.js';
|
|
18
18
|
import timeDifferenceCalc from './timeDifferenceCalc.js';
|
|
19
19
|
import urlFor from './urlFor.js';
|
|
20
|
-
import { P as Pagination } from './Pagination-
|
|
20
|
+
import { P as Pagination } from './Pagination-cd21f8c2.js';
|
|
21
21
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
22
22
|
import './core.get-iterator-method-ea258bb1.js';
|
|
23
23
|
import './web.dom.iterable-ab4dea5c.js';
|
|
@@ -36,6 +36,7 @@ import './Beam.js';
|
|
|
36
36
|
import './stringify-2b084bee.js';
|
|
37
37
|
import './Segment.js';
|
|
38
38
|
import './index-3f5c03b2.js';
|
|
39
|
+
import 'react-paginate';
|
|
39
40
|
import 'react-bootstrap/Button';
|
|
40
41
|
import './index.esm-1bd8a0a8.js';
|
|
41
42
|
import './iconBase-ccc56b97.js';
|
|
@@ -1379,4 +1380,4 @@ var QueueDeckExpanded = function QueueDeckExpanded(props) {
|
|
|
1379
1380
|
);
|
|
1380
1381
|
};
|
|
1381
1382
|
|
|
1382
|
-
export
|
|
1383
|
+
export default QueueDeckExpanded;
|
package/dist/esm/RecentNews.js
CHANGED
package/dist/esm/RolesDeck.js
CHANGED
package/dist/esm/Schema.js
CHANGED
package/dist/esm/Search.js
CHANGED
package/dist/esm/Segment.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-958ef5fc.js';
|
|
2
2
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
3
3
|
import './core.get-iterator-method-ea258bb1.js';
|
|
4
4
|
import './web.dom.iterable-ab4dea5c.js';
|
|
@@ -38,55 +38,6 @@ var Segment = {
|
|
|
38
38
|
email: email
|
|
39
39
|
});
|
|
40
40
|
},
|
|
41
|
-
identifyWithGroupAndEmail: function identifyWithGroupAndEmail(groupId, email, anonId) {
|
|
42
|
-
if (typeof analytics === 'undefined') {
|
|
43
|
-
console.error('Segment not initialized', analytics);
|
|
44
|
-
return;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
// let buff = Buffer.from(email, 'ascii')
|
|
48
|
-
// const eKey = buff.toString('base64')
|
|
49
|
-
|
|
50
|
-
analytics.identify(anonId, {
|
|
51
|
-
groupId: groupId,
|
|
52
|
-
email: email
|
|
53
|
-
});
|
|
54
|
-
},
|
|
55
|
-
createGroup: function createGroup(groupId, anonId, groupName) {
|
|
56
|
-
if (typeof analytics === 'undefined') {
|
|
57
|
-
console.error('Segment not initialized', analytics);
|
|
58
|
-
return;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
var buff = Buffer.from(groupId, 'ascii');
|
|
62
|
-
console.log('buff', buff);
|
|
63
|
-
|
|
64
|
-
var eKey = buff.toString('base64');
|
|
65
|
-
console.log('eKey', eKey);
|
|
66
|
-
_Promise.resolve(analytics.group(groupId, {
|
|
67
|
-
anonymousId: anonId,
|
|
68
|
-
name: groupName
|
|
69
|
-
})).then(function (data) {
|
|
70
|
-
return console.log('data', data);
|
|
71
|
-
}).catch(function (e) {
|
|
72
|
-
return console.log('Error: ' + e);
|
|
73
|
-
});
|
|
74
|
-
},
|
|
75
|
-
identifyWithGroup: function identifyWithGroup(groupId, anonId) {
|
|
76
|
-
if (!groupId) {
|
|
77
|
-
throw new Error('Argument is not present');
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
if (typeof analytics === 'undefined') {
|
|
81
|
-
console.error('Segment not initialized', analytics);
|
|
82
|
-
return;
|
|
83
|
-
}
|
|
84
|
-
_Promise.resolve(analytics.identify(anonId, {
|
|
85
|
-
groupId: groupId
|
|
86
|
-
})).then(function (res) {
|
|
87
|
-
return console.log('response', res);
|
|
88
|
-
});
|
|
89
|
-
},
|
|
90
41
|
getURL: function getURL(url) {
|
|
91
42
|
var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
|
|
92
43
|
|
|
@@ -447,4 +398,4 @@ var Segment = {
|
|
|
447
398
|
}
|
|
448
399
|
};
|
|
449
400
|
|
|
450
|
-
export
|
|
401
|
+
export default Segment;
|