@mjhls/mjh-framework 1.0.986-disable-prev → 1.0.986-nofollow-v1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/AD.js +6 -6
- package/dist/cjs/AD300x250.js +5 -5
- package/dist/cjs/AD300x250x600.js +5 -5
- package/dist/cjs/AD728x90.js +6 -6
- package/dist/cjs/ADFloatingFooter.js +8 -8
- package/dist/cjs/ADFooter.js +5 -5
- package/dist/cjs/ADGutter.js +8 -8
- package/dist/cjs/{ADInfeed-81006615.js → ADInfeed-e5192055.js} +5 -5
- package/dist/cjs/ADSkyscraper.js +8 -8
- package/dist/cjs/ADSponsoredResources.js +8 -8
- package/dist/cjs/ADWebcast.js +8 -8
- package/dist/cjs/ADWelcome.js +12 -12
- package/dist/cjs/{ADlgInfeed-0db07099.js → ADlgInfeed-442a5d8c.js} +3 -3
- package/dist/cjs/AccordionPanel.js +17 -17
- package/dist/cjs/AdSlot.js +9 -9
- package/dist/cjs/AdSlotsProvider.js +5 -5
- package/dist/cjs/AlgoliaSearch.js +1170 -865
- package/dist/cjs/AlphabeticList.js +12 -12
- package/dist/cjs/ArticleCarousel.js +5 -5
- package/dist/cjs/ArticleProgramLandingPage.js +15 -14
- package/dist/cjs/ArticleSeriesLandingPage.js +11 -11
- package/dist/cjs/ArticleSeriesListing.js +29 -29
- package/dist/cjs/Auth.js +133 -101
- package/dist/cjs/AuthWrapper.js +42 -36
- package/dist/cjs/{AuthorComponent-39b37d84.js → AuthorComponent-7d00f6d5.js} +9 -9
- package/dist/cjs/{BlockContent-9ebd251f.js → BlockContent-96b44364.js} +18 -18
- package/dist/cjs/Breadcrumbs.js +17 -17
- package/dist/cjs/CMEDeck.js +65 -61
- package/dist/cjs/Column1.js +7 -7
- package/dist/cjs/Column2.js +18 -18
- package/dist/cjs/Column3.js +29 -29
- package/dist/cjs/ConferenceArticleCard.js +12 -12
- package/dist/cjs/{ConferenceBanner-6c9e718a.js → ConferenceBanner-213003ce.js} +3 -3
- package/dist/cjs/ContentCardPaginated.js +49 -50
- package/dist/cjs/DeckContent.js +58 -58
- package/dist/cjs/DeckQueue.js +57 -57
- package/dist/cjs/DeckQueuePaginated.js +46 -47
- package/dist/cjs/{Dfp-9be904d5.js → Dfp-c313a700.js} +17 -17
- package/dist/cjs/EventsDeck.js +120 -93
- package/dist/cjs/ExternalResources.js +35 -34
- package/dist/cjs/Feature.js +17 -17
- package/dist/cjs/ForbesHero.js +25 -25
- package/dist/cjs/GridContent.js +134 -134
- package/dist/cjs/GridContentPaginated.js +121 -122
- package/dist/cjs/GridHero.js +26 -26
- package/dist/cjs/GroupDeck.js +33 -33
- package/dist/cjs/HamMagazine.js +111 -112
- package/dist/cjs/Header.js +9 -9
- package/dist/cjs/HealthCareProfessionalModal.js +17 -17
- package/dist/cjs/Hero.js +5 -5
- package/dist/cjs/HighlightenVideo.js +13 -13
- package/dist/cjs/HorizontalArticleListing.js +29 -28
- package/dist/cjs/HorizontalHero.js +17 -17
- package/dist/cjs/{ImageSlider-6c00b878.js → ImageSlider-17fdaf3b.js} +72 -72
- package/dist/cjs/IssueContentDeck.js +49 -49
- package/dist/cjs/IssueDeck.js +48 -48
- package/dist/cjs/IssueLanding.js +20 -19
- package/dist/cjs/LeftNav.js +17 -17
- package/dist/cjs/MasterDeck.js +39 -39
- package/dist/cjs/MasterDeckPaginated.js +29 -30
- package/dist/cjs/{MediaSeriesCard-90875937.js → MediaSeriesCard-ab6023ce.js} +614 -551
- package/dist/cjs/MediaSeriesLanding.js +36 -35
- package/dist/cjs/MediaSeriesLandingPaginated.js +35 -35
- package/dist/cjs/NavDvm.js +94 -62
- package/dist/cjs/{NavFooter-3dcd99a8.js → NavFooter-1fda6732.js} +11 -11
- package/dist/cjs/NavMagazine.js +127 -108
- package/dist/cjs/NavNative.js +119 -99
- package/dist/cjs/OncliveHero.js +11 -11
- package/dist/cjs/OncliveLargeHero.js +49 -49
- package/dist/cjs/PageFilter.js +5 -5
- package/dist/cjs/Pagination-6359861a.js +97 -0
- package/dist/cjs/PartnerDetailListing.js +50 -49
- package/dist/cjs/PartnerDetailListingPaginated.js +46 -46
- package/dist/cjs/PdfDownload.js +4 -4
- package/dist/cjs/PixelTracking.js +9 -9
- package/dist/cjs/PopUpModal.js +9 -9
- package/dist/cjs/PtceDeck.js +13 -13
- package/dist/cjs/PubSection.js +13 -13
- package/dist/cjs/PubToc.js +4 -4
- package/dist/cjs/PublicationDeck.js +44 -44
- package/dist/cjs/{PublicationFeature-5ccf9b13.js → PublicationFeature-a989a2b3.js} +29 -29
- package/dist/cjs/PublicationLanding.js +73 -73
- package/dist/cjs/QueueDeckExpanded.js +245 -245
- package/dist/cjs/QueueDeckExpandedPaginated.js +222 -223
- package/dist/cjs/RecentNews.js +15 -15
- package/dist/cjs/RelatedContent.js +14 -14
- package/dist/cjs/RelatedTopicsDropdown.js +14 -14
- package/dist/cjs/RolesDeck.js +20 -20
- package/dist/cjs/Schema.js +1 -1
- package/dist/cjs/Search.js +6 -6
- package/dist/cjs/SeriesListingDeck.js +18 -18
- package/dist/cjs/{SeriesSlider-594b19eb.js → SeriesSlider-18fc6e71.js} +22 -22
- package/dist/cjs/SideFooter.js +24 -24
- package/dist/cjs/SocialIcons.js +6 -6
- package/dist/cjs/{SocialSearchComponent-b7faaedc.js → SocialSearchComponent-bac7d6fa.js} +28 -28
- package/dist/cjs/SocialShare.js +25 -25
- package/dist/cjs/TaxonomyCard.js +44 -44
- package/dist/cjs/TaxonomyDescription.js +12 -11
- package/dist/cjs/TemplateNormal.js +29 -29
- package/dist/cjs/ThumbnailCard.js +10 -10
- package/dist/cjs/Ustream.js +9 -9
- package/dist/cjs/VerticalHero.js +10 -10
- package/dist/cjs/VideoProgramLandingPage.js +29 -28
- package/dist/cjs/VideoSeriesCard.js +13 -13
- package/dist/cjs/VideoSeriesFilter.js +5 -5
- package/dist/cjs/VideoSeriesLandingPage.js +11 -11
- package/dist/cjs/VideoSeriesListing.js +46 -46
- package/dist/cjs/View.js +234 -231
- package/dist/cjs/YahooHero.js +22 -22
- package/dist/cjs/YoutubeGroup.js +33 -33
- package/dist/cjs/{brightcove-react-player-loader.es-a195642e.js → brightcove-react-player-loader.es-4c7825a1.js} +2 -2
- package/dist/cjs/checkSisterSite-f63a7225.js +12 -0
- package/dist/cjs/getSerializers.js +7 -6
- package/dist/cjs/{getTargeting-ba942d9a.js → getTargeting-3c5754ac.js} +2 -4
- package/dist/cjs/getTargeting.js +1 -1
- package/dist/cjs/iconBase-be4097c0.js +2 -4
- package/dist/cjs/{index-eadd5035.js → index-65621b6c.js} +5 -5
- package/dist/cjs/{index-f86bb269.js → index-96c331fd.js} +53 -52
- package/dist/cjs/{index-869cab56.js → index-c77065bb.js} +483 -484
- package/dist/cjs/{index-fc2f1ca2.js → index-d2a6ef75.js} +4 -4
- package/dist/cjs/{index.es-f3e47207.js → index.es-1ab8dda7.js} +4 -4
- package/dist/cjs/{index.esm-2bb721c8.js → index.esm-70e78156.js} +14 -14
- package/dist/cjs/index.js +104 -104
- package/dist/cjs/{main-f1c77adb.js → main-6054981e.js} +17 -22
- package/dist/cjs/{react-social-icons-af932527.js → react-social-icons-2c5c389a.js} +7 -7
- package/dist/cjs/ustream-api-3819e4aa.js +1 -1
- package/dist/cjs/{visibility-sensor-eb2c5b69.js → visibility-sensor-56020df6.js} +1 -1
- package/dist/cjs/websiteList-341323e2.js +5 -0
- package/dist/esm/AD.js +1 -1
- package/dist/esm/AD300x250.js +2 -2
- package/dist/esm/AD300x250x600.js +2 -2
- package/dist/esm/AD728x90.js +2 -2
- package/dist/esm/ADFloatingFooter.js +2 -2
- package/dist/esm/ADFooter.js +1 -1
- package/dist/esm/ADGutter.js +2 -2
- package/dist/esm/ADSkyscraper.js +2 -2
- package/dist/esm/ADSponsoredResources.js +2 -2
- package/dist/esm/ADWebcast.js +2 -2
- package/dist/esm/ADWelcome.js +2 -2
- package/dist/esm/AccordionPanel.js +1 -1
- package/dist/esm/AdSlot.js +2 -2
- package/dist/esm/AdSlotsProvider.js +2 -2
- package/dist/esm/AlgoliaSearch.js +802 -497
- package/dist/esm/AlphabeticList.js +1 -1
- package/dist/esm/ArticleCarousel.js +2 -2
- package/dist/esm/ArticleProgramLandingPage.js +4 -3
- package/dist/esm/ArticleSeriesLandingPage.js +4 -4
- package/dist/esm/ArticleSeriesListing.js +2 -2
- package/dist/esm/Auth.js +60 -29
- package/dist/esm/AuthWrapper.js +19 -13
- package/dist/esm/Beam.js +1 -1
- package/dist/esm/Breadcrumbs.js +1 -1
- package/dist/esm/CMEDeck.js +7 -3
- package/dist/esm/Column1.js +1 -2
- package/dist/esm/Column2.js +5 -6
- package/dist/esm/Column3.js +4 -5
- package/dist/esm/ConferenceArticleCard.js +1 -1
- package/dist/esm/ContentCardPaginated.js +4 -5
- package/dist/esm/DeckContent.js +3 -3
- package/dist/esm/DeckQueue.js +2 -2
- package/dist/esm/DeckQueuePaginated.js +3 -4
- package/dist/esm/Dfp-102f0beb.js +1 -1
- package/dist/esm/EventsDeck.js +32 -5
- package/dist/esm/ExternalResources.js +5 -4
- package/dist/esm/Feature.js +2 -2
- package/dist/esm/ForbesHero.js +1 -1
- package/dist/esm/GridContent.js +4 -4
- package/dist/esm/GridContentPaginated.js +5 -6
- package/dist/esm/GridHero.js +1 -1
- package/dist/esm/GroupDeck.js +1 -1
- package/dist/esm/HamMagazine.js +9 -11
- package/dist/esm/Header.js +1 -2
- 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 +4 -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 +6 -5
- package/dist/esm/KMTracker.js +1 -1
- package/dist/esm/LeftNav.js +2 -3
- package/dist/esm/MasterDeck.js +4 -4
- package/dist/esm/MasterDeckPaginated.js +5 -6
- package/dist/esm/{MediaSeriesCard-767d6d90.js → MediaSeriesCard-9ae89079.js} +159 -96
- package/dist/esm/MediaSeriesLanding.js +7 -6
- package/dist/esm/MediaSeriesLandingPaginated.js +8 -8
- package/dist/esm/NavDvm.js +38 -7
- package/dist/esm/NavMagazine.js +24 -6
- package/dist/esm/NavNative.js +24 -5
- 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-9fe9f61d.js +90 -0
- package/dist/esm/PartnerDetailListing.js +6 -5
- package/dist/esm/PartnerDetailListingPaginated.js +7 -7
- 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 +4 -4
- 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 +4 -4
- package/dist/esm/QueueDeckExpandedPaginated.js +5 -6
- 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 +1 -1
- package/dist/esm/SeriesListingDeck.js +3 -3
- package/dist/esm/{SeriesSlider-f771e20d.js → SeriesSlider-5728e349.js} +1 -1
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +7 -7
- package/dist/esm/SocialIcons.js +1 -1
- package/dist/esm/{SocialSearchComponent-4b56cd8c.js → SocialSearchComponent-c249903e.js} +1 -1
- package/dist/esm/SocialShare.js +1 -1
- package/dist/esm/TaxonomyCard.js +1 -1
- package/dist/esm/TaxonomyDescription.js +4 -3
- package/dist/esm/TemplateNormal.js +5 -5
- package/dist/esm/ThumbnailCard.js +1 -1
- package/dist/esm/Ustream.js +2 -2
- package/dist/esm/VerticalHero.js +1 -1
- package/dist/esm/VideoProgramLandingPage.js +4 -3
- package/dist/esm/VideoSeriesCard.js +1 -1
- package/dist/esm/VideoSeriesFilter.js +1 -1
- package/dist/esm/VideoSeriesLandingPage.js +4 -4
- package/dist/esm/VideoSeriesListing.js +2 -2
- package/dist/esm/View.js +17 -13
- package/dist/esm/YahooHero.js +1 -1
- package/dist/esm/YoutubeGroup.js +2 -2
- package/dist/esm/checkSisterSite-e452ba37.js +10 -0
- 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 +3 -2
- package/dist/esm/getSeriesDetail.js +1 -1
- package/dist/esm/{getTargeting-9bd28724.js → getTargeting-42f9b439.js} +2 -4
- package/dist/esm/getTargeting.js +1 -1
- package/dist/esm/{index-79cfd25c.js → index-30a6257d.js} +53 -52
- package/dist/esm/{index-4959f8e7.js → index-df1f2337.js} +2 -3
- package/dist/esm/index.js +10 -10
- package/dist/esm/{main-1894c974.js → main-9f6806ea.js} +4 -9
- 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/dist/esm/websiteList-a533df30.js +3 -0
- package/package.json +1 -1
- package/dist/cjs/Pagination-1e0d5f1d.js +0 -90
- package/dist/cjs/defineProperty-9673846a.js +0 -34
- package/dist/esm/Pagination-cd21f8c2.js +0 -82
- package/dist/esm/defineProperty-8c30428f.js +0 -32
- /package/dist/esm/{ADInfeed-6d1fc6bf.js → ADInfeed-d93886e3.js} +0 -0
- /package/dist/esm/{ADlgInfeed-dc36c928.js → ADlgInfeed-93777a49.js} +0 -0
package/dist/esm/NavMagazine.js
CHANGED
|
@@ -4,16 +4,18 @@ import Container from 'react-bootstrap/Container';
|
|
|
4
4
|
import Nav from 'react-bootstrap/Nav';
|
|
5
5
|
import Navbar from 'react-bootstrap/Navbar';
|
|
6
6
|
import NavDropdown from 'react-bootstrap/NavDropdown';
|
|
7
|
+
import { c as checkSisterSite } from './checkSisterSite-e452ba37.js';
|
|
7
8
|
import { M as MdEmail } from './index.esm-9b042655.js';
|
|
8
9
|
import { b as IoMdLogIn } from './index.esm-eb1e8e80.js';
|
|
9
10
|
import { N as NavFooter } from './NavFooter-e27bd93b.js';
|
|
10
11
|
import { S as SocialNavFooter } from './index.esm-37268dca.js';
|
|
11
|
-
import { c as main_44 } from './main-
|
|
12
|
+
import { c as main_44 } from './main-9f6806ea.js';
|
|
12
13
|
import Segment from './Segment.js';
|
|
13
|
-
import { S as SocialSearchComponent } from './SocialSearchComponent-
|
|
14
|
+
import { S as SocialSearchComponent } from './SocialSearchComponent-c249903e.js';
|
|
14
15
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
15
16
|
import './web.dom.iterable-ab4dea5c.js';
|
|
16
17
|
import './core.get-iterator-method-ea258bb1.js';
|
|
18
|
+
import './websiteList-a533df30.js';
|
|
17
19
|
import './iconBase-ccc56b97.js';
|
|
18
20
|
import './react-social-icons-9be47857.js';
|
|
19
21
|
import 'prop-types';
|
|
@@ -406,6 +408,7 @@ var NavMagazine = function NavMagazine(props) {
|
|
|
406
408
|
{
|
|
407
409
|
className: 'dropdownlist-expand-btn',
|
|
408
410
|
href: row.url,
|
|
411
|
+
rel: checkSisterSite(row.url) ? '' : 'noopener noreferrer',
|
|
409
412
|
style: {
|
|
410
413
|
position: 'absolute',
|
|
411
414
|
top: '0px',
|
|
@@ -427,6 +430,7 @@ var NavMagazine = function NavMagazine(props) {
|
|
|
427
430
|
key: subIndex,
|
|
428
431
|
needsegmentsupport: ddRow.needSegmentSupport ? 'true' : '',
|
|
429
432
|
href: ddRow.url,
|
|
433
|
+
rel: checkSisterSite(ddRow.url) ? '' : 'noopener noreferrer',
|
|
430
434
|
target: ddRow.blank ? '_blank' : '_self',
|
|
431
435
|
className: 'dropdown-item' },
|
|
432
436
|
ddRow.name
|
|
@@ -452,6 +456,7 @@ var NavMagazine = function NavMagazine(props) {
|
|
|
452
456
|
key: subIndex,
|
|
453
457
|
needsegmentsupport: ddRow.needSegmentSupport ? 'true' : '',
|
|
454
458
|
href: ddRow.url,
|
|
459
|
+
rel: checkSisterSite(ddRow.url) ? '' : 'noopener noreferrer',
|
|
455
460
|
target: ddRow.blank ? '_blank' : '_self',
|
|
456
461
|
className: 'dropdown-item' },
|
|
457
462
|
ddRow.name
|
|
@@ -465,7 +470,13 @@ var NavMagazine = function NavMagazine(props) {
|
|
|
465
470
|
} else {
|
|
466
471
|
return row.url && row.name ? React__default.createElement(
|
|
467
472
|
'a',
|
|
468
|
-
{
|
|
473
|
+
{
|
|
474
|
+
key: index,
|
|
475
|
+
needsegmentsupport: row.needSegmentSupport ? 'true' : '',
|
|
476
|
+
href: row.url,
|
|
477
|
+
target: row.blank ? '_blank' : '_self',
|
|
478
|
+
className: 'nav-link',
|
|
479
|
+
rel: checkSisterSite(row.url) ? '' : 'noopener noreferrer' },
|
|
469
480
|
row.name
|
|
470
481
|
) : null;
|
|
471
482
|
}
|
|
@@ -505,6 +516,7 @@ var NavMagazine = function NavMagazine(props) {
|
|
|
505
516
|
key: subIndex,
|
|
506
517
|
needsegmentsupport: ddRow.needSegmentSupport ? 'true' : '',
|
|
507
518
|
href: ddRow.url,
|
|
519
|
+
rel: checkSisterSite(ddRow.url) ? '' : 'noopener noreferrer',
|
|
508
520
|
target: ddRow.blank ? '_blank' : '_self',
|
|
509
521
|
className: 'dropdown-item' },
|
|
510
522
|
ddRow.name
|
|
@@ -528,6 +540,7 @@ var NavMagazine = function NavMagazine(props) {
|
|
|
528
540
|
key: subIndex,
|
|
529
541
|
needsegmentsupport: ddRow.needSegmentSupport ? 'true' : '',
|
|
530
542
|
href: ddRow.url,
|
|
543
|
+
rel: checkSisterSite(ddRow.url) ? '' : 'noopener noreferrer',
|
|
531
544
|
target: ddRow.blank ? '_blank' : '_self',
|
|
532
545
|
className: 'dropdown-item' },
|
|
533
546
|
ddRow.name
|
|
@@ -540,7 +553,13 @@ var NavMagazine = function NavMagazine(props) {
|
|
|
540
553
|
} else {
|
|
541
554
|
return row.url && row.name ? React__default.createElement(
|
|
542
555
|
'a',
|
|
543
|
-
{
|
|
556
|
+
{
|
|
557
|
+
key: index,
|
|
558
|
+
needsegmentsupport: row.needSegmentSupport ? 'true' : '',
|
|
559
|
+
href: row.url,
|
|
560
|
+
target: row.blank ? '_blank' : '_self',
|
|
561
|
+
className: 'nav-link',
|
|
562
|
+
rel: checkSisterSite(row.url) ? '' : 'noopener noreferrer' },
|
|
544
563
|
row.name
|
|
545
564
|
) : null;
|
|
546
565
|
}
|
|
@@ -579,5 +598,4 @@ var NavMagazine = function NavMagazine(props) {
|
|
|
579
598
|
|
|
580
599
|
var MagazineNav = React__default.memo(NavMagazine);
|
|
581
600
|
|
|
582
|
-
export default
|
|
583
|
-
export { NavMagazine };
|
|
601
|
+
export { NavMagazine, MagazineNav as default };
|
package/dist/esm/NavNative.js
CHANGED
|
@@ -4,6 +4,7 @@ import Container from 'react-bootstrap/Container';
|
|
|
4
4
|
import Nav from 'react-bootstrap/Nav';
|
|
5
5
|
import Navbar from 'react-bootstrap/Navbar';
|
|
6
6
|
import NavDropdown from 'react-bootstrap/NavDropdown';
|
|
7
|
+
import { c as checkSisterSite } from './checkSisterSite-e452ba37.js';
|
|
7
8
|
import { N as NavFooter } from './NavFooter-e27bd93b.js';
|
|
8
9
|
import { S as SocialNavFooter, G as GoSearch } from './index.esm-37268dca.js';
|
|
9
10
|
import Segment from './Segment.js';
|
|
@@ -12,13 +13,14 @@ import { I as IconContext } from './iconBase-ccc56b97.js';
|
|
|
12
13
|
import Form from 'react-bootstrap/Form';
|
|
13
14
|
import FormControl from 'react-bootstrap/FormControl';
|
|
14
15
|
import Button from 'react-bootstrap/Button';
|
|
15
|
-
import { c as main_44 } from './main-
|
|
16
|
+
import { c as main_44 } from './main-9f6806ea.js';
|
|
16
17
|
import { i as isFunction_1, e as eq_1 } from './eq-bdcbf886.js';
|
|
17
18
|
import { i as isObject_1 } from './isSymbol-a7e9aafe.js';
|
|
18
19
|
import { t as toNumber_1 } from './toNumber-5aeba6e7.js';
|
|
19
20
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
20
21
|
import './web.dom.iterable-ab4dea5c.js';
|
|
21
22
|
import './core.get-iterator-method-ea258bb1.js';
|
|
23
|
+
import './websiteList-a533df30.js';
|
|
22
24
|
import './react-social-icons-9be47857.js';
|
|
23
25
|
import 'prop-types';
|
|
24
26
|
import './asyncToGenerator-958ef5fc.js';
|
|
@@ -643,6 +645,7 @@ var NavNative = function NavNative(props) {
|
|
|
643
645
|
{
|
|
644
646
|
className: 'dropdownlist-expand-btn',
|
|
645
647
|
href: row.url,
|
|
648
|
+
rel: checkSisterSite(row.url) ? '' : 'noopener noreferrer',
|
|
646
649
|
style: {
|
|
647
650
|
position: 'absolute',
|
|
648
651
|
top: '0px',
|
|
@@ -664,6 +667,7 @@ var NavNative = function NavNative(props) {
|
|
|
664
667
|
key: subIndex,
|
|
665
668
|
needsegmentsupport: ddRow && ddRow.needSegmentSupport ? 'true' : '',
|
|
666
669
|
href: ddRow.url,
|
|
670
|
+
rel: checkSisterSite(ddRow.url) ? '' : 'noopener noreferrer',
|
|
667
671
|
target: ddRow.blank ? '_blank' : '_self',
|
|
668
672
|
className: 'dropdown-item' },
|
|
669
673
|
ddRow.name
|
|
@@ -689,6 +693,7 @@ var NavNative = function NavNative(props) {
|
|
|
689
693
|
key: subIndex,
|
|
690
694
|
needsegmentsupport: ddRow && ddRow.needSegmentSupport ? 'true' : '',
|
|
691
695
|
href: ddRow.url,
|
|
696
|
+
rel: checkSisterSite(ddRow.url) ? '' : 'noopener noreferrer',
|
|
692
697
|
target: ddRow.blank ? '_blank' : '_self',
|
|
693
698
|
className: 'dropdown-item' },
|
|
694
699
|
ddRow.name
|
|
@@ -702,7 +707,13 @@ var NavNative = function NavNative(props) {
|
|
|
702
707
|
} else {
|
|
703
708
|
return row.url && row.name ? React__default.createElement(
|
|
704
709
|
'a',
|
|
705
|
-
{
|
|
710
|
+
{
|
|
711
|
+
key: index,
|
|
712
|
+
needsegmentsupport: row && row.needSegmentSupport ? 'true' : '',
|
|
713
|
+
href: row.url,
|
|
714
|
+
target: row.blank ? '_blank' : '_self',
|
|
715
|
+
className: 'nav-link',
|
|
716
|
+
rel: checkSisterSite(row.url) ? '' : 'noopener noreferrer' },
|
|
706
717
|
row.name
|
|
707
718
|
) : null;
|
|
708
719
|
}
|
|
@@ -745,6 +756,7 @@ var NavNative = function NavNative(props) {
|
|
|
745
756
|
{
|
|
746
757
|
needsegmentsupport: ddRow && ddRow.needSegmentSupport ? 'true' : '',
|
|
747
758
|
href: ddRow.url,
|
|
759
|
+
rel: checkSisterSite(ddRow.url) ? '' : 'noopener noreferrer',
|
|
748
760
|
target: ddRow.blank ? '_blank' : '_self',
|
|
749
761
|
className: 'dropdown-item' },
|
|
750
762
|
ddRow.name
|
|
@@ -770,6 +782,7 @@ var NavNative = function NavNative(props) {
|
|
|
770
782
|
{
|
|
771
783
|
needsegmentsupport: ddRow && ddRow.needSegmentSupport ? 'true' : '',
|
|
772
784
|
href: ddRow.url,
|
|
785
|
+
rel: checkSisterSite(ddRow.url) ? '' : 'noopener noreferrer',
|
|
773
786
|
target: ddRow.blank ? '_blank' : '_self',
|
|
774
787
|
className: 'dropdown-item' },
|
|
775
788
|
ddRow.name
|
|
@@ -794,6 +807,7 @@ var NavNative = function NavNative(props) {
|
|
|
794
807
|
key: subIndex,
|
|
795
808
|
needsegmentsupport: ddRow && ddRow.needSegmentSupport ? 'true' : '',
|
|
796
809
|
href: ddRow.url,
|
|
810
|
+
rel: checkSisterSite(ddRow.url) ? '' : 'noopener noreferrer',
|
|
797
811
|
target: ddRow.blank ? '_blank' : '_self',
|
|
798
812
|
className: 'dropdown-item' },
|
|
799
813
|
ddRow.name
|
|
@@ -806,7 +820,13 @@ var NavNative = function NavNative(props) {
|
|
|
806
820
|
} else {
|
|
807
821
|
return row.url && row.name ? React__default.createElement(
|
|
808
822
|
'a',
|
|
809
|
-
{
|
|
823
|
+
{
|
|
824
|
+
key: index,
|
|
825
|
+
needsegmentsupport: row.needSegmentSupport ? 'true' : '',
|
|
826
|
+
href: row.url,
|
|
827
|
+
target: row.blank ? '_blank' : '_self',
|
|
828
|
+
className: 'nav-link',
|
|
829
|
+
rel: checkSisterSite(row.url) ? '' : 'noopener noreferrer' },
|
|
810
830
|
row.name
|
|
811
831
|
) : null;
|
|
812
832
|
}
|
|
@@ -842,5 +862,4 @@ var NavNative = function NavNative(props) {
|
|
|
842
862
|
);
|
|
843
863
|
};
|
|
844
864
|
|
|
845
|
-
export default
|
|
846
|
-
export { NavNative };
|
|
865
|
+
export { NavNative, NavNative as default };
|
package/dist/esm/OncliveHero.js
CHANGED
package/dist/esm/PageFilter.js
CHANGED
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import React__default from 'react';
|
|
2
|
+
import { c as createCommonjsModule, a as commonjsGlobal, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
3
|
+
import Button from 'react-bootstrap/Button';
|
|
4
|
+
import { d as FaArrowRight, e as FaArrowLeft } from './index.esm-1bd8a0a8.js';
|
|
5
|
+
|
|
6
|
+
var reactPaginate = createCommonjsModule(function (module, exports) {
|
|
7
|
+
!function(e,a){module.exports=a(React__default);}(commonjsGlobal,(function(e){return function(e){var a={};function t(r){if(a[r])return a[r].exports;var n=a[r]={i:r,l:!1,exports:{}};return e[r].call(n.exports,n,n.exports,t),n.l=!0,n.exports}return t.m=e,t.c=a,t.d=function(e,a,r){t.o(e,a)||Object.defineProperty(e,a,{enumerable:!0,get:r});},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0});},t.t=function(e,a){if(1&a&&(e=t(e)),8&a)return e;if(4&a&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&a&&"string"!=typeof e)for(var n in e)t.d(r,n,function(a){return e[a]}.bind(null,n));return r},t.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(a,"a",a),a},t.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},t.p="",t(t.s=4)}([function(e,a,t){e.exports=t(2)();},function(a,t){a.exports=e;},function(e,a,t){var r=t(3);function n(){}function i(){}i.resetWarningCache=n,e.exports=function(){function e(e,a,t,n,i,s){if(s!==r){var o=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw o.name="Invariant Violation",o}}function a(){return e}e.isRequired=e;var t={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:a,element:e,elementType:e,instanceOf:a,node:e,objectOf:a,oneOf:a,oneOfType:a,shape:a,exact:a,checkPropTypes:i,resetWarningCache:n};return t.PropTypes=t,t};},function(e,a,t){e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";},function(e,a,t){t.r(a);var r=t(1),n=t.n(r),i=t(0),s=t.n(i);function o(){return (o=Object.assign||function(e){for(var a=1;a<arguments.length;a++){var t=arguments[a];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);}return e}).apply(this,arguments)}var l=function(e){var a=e.pageClassName,t=e.pageLinkClassName,r=e.page,i=e.selected,s=e.activeClassName,l=e.activeLinkClassName,u=e.getEventListener,c=e.pageSelectedHandler,p=e.href,f=e.extraAriaContext,g=e.pageLabelBuilder,d=e.ariaLabel||"Page "+r+(f?" "+f:""),b=null;return i&&(b="page",d=e.ariaLabel||"Page "+r+" is your current page",a=void 0!==a?a+" "+s:s,void 0!==t?void 0!==l&&(t=t+" "+l):t=l),n.a.createElement("li",{className:a},n.a.createElement("a",o({role:"button",className:t,href:p,tabIndex:"0","aria-label":d,"aria-current":b,onKeyPress:c},u(c)),g(r)))};l.propTypes={pageSelectedHandler:s.a.func.isRequired,selected:s.a.bool.isRequired,pageClassName:s.a.string,pageLinkClassName:s.a.string,activeClassName:s.a.string,activeLinkClassName:s.a.string,extraAriaContext:s.a.string,href:s.a.string,ariaLabel:s.a.string,page:s.a.number.isRequired,getEventListener:s.a.func.isRequired,pageLabelBuilder:s.a.func.isRequired};var u=l;function c(){return (c=Object.assign||function(e){for(var a=1;a<arguments.length;a++){var t=arguments[a];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);}return e}).apply(this,arguments)}var p=function(e){var a=e.breakLabel,t=e.breakClassName,r=e.breakLinkClassName,i=e.breakHandler,s=e.getEventListener,o=t||"break";return n.a.createElement("li",{className:o},n.a.createElement("a",c({className:r,role:"button",tabIndex:"0",onKeyPress:i},s(i)),a))};p.propTypes={breakLabel:s.a.oneOfType([s.a.string,s.a.node]),breakClassName:s.a.string,breakLinkClassName:s.a.string,breakHandler:s.a.func.isRequired,getEventListener:s.a.func.isRequired};var f=p;function g(e){return (g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function d(){return (d=Object.assign||function(e){for(var a=1;a<arguments.length;a++){var t=arguments[a];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);}return e}).apply(this,arguments)}function b(e,a){for(var t=0;t<a.length;t++){var r=a[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r);}}function v(e,a){return (v=Object.setPrototypeOf||function(e,a){return e.__proto__=a,e})(e,a)}function m(e){var a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return !1;if(Reflect.construct.sham)return !1;if("function"==typeof Proxy)return !0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return !1}}();return function(){var t,r=C(e);if(a){var n=C(this).constructor;t=Reflect.construct(r,arguments,n);}else t=r.apply(this,arguments);return h(this,t)}}function h(e,a){if(a&&("object"===g(a)||"function"==typeof a))return a;if(void 0!==a)throw new TypeError("Derived constructors may only return object or undefined");return y(e)}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C(e){return (C=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function P(e,a,t){return a in e?Object.defineProperty(e,a,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[a]=t,e}var k=function(e){!function(e,a){if("function"!=typeof a&&null!==a)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(a&&a.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),a&&v(e,a);}(s,e);var a,t,i=m(s);function s(e){var a,t;return function(e,a){if(!(e instanceof a))throw new TypeError("Cannot call a class as a function")}(this,s),P(y(a=i.call(this,e)),"handlePreviousPage",(function(e){var t=a.state.selected;e.preventDefault?e.preventDefault():e.returnValue=!1,t>0&&a.handlePageSelected(t-1,e);})),P(y(a),"handleNextPage",(function(e){var t=a.state.selected,r=a.props.pageCount;e.preventDefault?e.preventDefault():e.returnValue=!1,t<r-1&&a.handlePageSelected(t+1,e);})),P(y(a),"handlePageSelected",(function(e,t){t.preventDefault?t.preventDefault():t.returnValue=!1,a.state.selected!==e?(a.setState({selected:e}),a.callCallback(e)):a.callActiveCallback(e);})),P(y(a),"getEventListener",(function(e){return P({},a.props.eventListener,e)})),P(y(a),"handleBreakClick",(function(e,t){t.preventDefault?t.preventDefault():t.returnValue=!1;var r=a.state.selected;a.handlePageSelected(r<e?a.getForwardJump():a.getBackwardJump(),t);})),P(y(a),"callCallback",(function(e){void 0!==a.props.onPageChange&&"function"==typeof a.props.onPageChange&&a.props.onPageChange({selected:e});})),P(y(a),"callActiveCallback",(function(e){void 0!==a.props.onPageActive&&"function"==typeof a.props.onPageActive&&a.props.onPageActive({selected:e});})),P(y(a),"pagination",(function(){var e=[],t=a.props,r=t.pageRangeDisplayed,i=t.pageCount,s=t.marginPagesDisplayed,o=t.breakLabel,l=t.breakClassName,u=t.breakLinkClassName,c=a.state.selected;if(i<=r)for(var p=0;p<i;p++)e.push(a.getPageElement(p));else {var g,d,b,v=r/2,m=r-v;c>i-r/2?v=r-(m=i-c):c<r/2&&(m=r-(v=c));var h=function(e){return a.getPageElement(e)};for(g=0;g<i;g++)(d=g+1)<=s||d>i-s||g>=c-v&&g<=c+m?e.push(h(g)):o&&e[e.length-1]!==b&&(b=n.a.createElement(f,{key:g,breakLabel:o,breakClassName:l,breakLinkClassName:u,breakHandler:a.handleBreakClick.bind(null,g),getEventListener:a.getEventListener}),e.push(b));}return e})),void 0!==e.initialPage&&void 0!==e.forcePage&&console.warn("(react-paginate): Both initialPage (".concat(e.initialPage,") and forcePage (").concat(e.forcePage,") props are provided, which is discouraged.")+" Use exclusively forcePage prop for a controlled component.\nSee https://reactjs.org/docs/forms.html#controlled-components"),t=e.initialPage?e.initialPage:e.forcePage?e.forcePage:0,a.state={selected:t},a}return a=s,(t=[{key:"componentDidMount",value:function(){var e=this.props,a=e.initialPage,t=e.disableInitialCallback,r=e.extraAriaContext,n=e.pageCount;void 0===a||t||this.callCallback(a),r&&console.warn("DEPRECATED (react-paginate): The extraAriaContext prop is deprecated. You should now use the ariaLabelBuilder instead."),Number.isInteger(n)||console.warn("(react-paginate): The pageCount prop value provided is not an integer (".concat(this.props.pageCount,"). Did you forget a Math.ceil()?"));}},{key:"componentDidUpdate",value:function(e){void 0!==this.props.forcePage&&this.props.forcePage!==e.forcePage&&this.setState({selected:this.props.forcePage}),Number.isInteger(e.pageCount)&&!Number.isInteger(this.props.pageCount)&&console.warn("(react-paginate): The pageCount prop value provided is not an integer (".concat(this.props.pageCount,"). Did you forget a Math.ceil()?"));}},{key:"getForwardJump",value:function(){var e=this.state.selected,a=this.props,t=a.pageCount,r=e+a.pageRangeDisplayed;return r>=t?t-1:r}},{key:"getBackwardJump",value:function(){var e=this.state.selected-this.props.pageRangeDisplayed;return e<0?0:e}},{key:"hrefBuilder",value:function(e){var a=this.props,t=a.hrefBuilder,r=a.pageCount;if(t&&e!==this.state.selected&&e>=0&&e<r)return t(e+1)}},{key:"ariaLabelBuilder",value:function(e){var a=e===this.state.selected;if(this.props.ariaLabelBuilder&&e>=0&&e<this.props.pageCount){var t=this.props.ariaLabelBuilder(e+1,a);return this.props.extraAriaContext&&!a&&(t=t+" "+this.props.extraAriaContext),t}}},{key:"getPageElement",value:function(e){var a=this.state.selected,t=this.props,r=t.pageClassName,i=t.pageLinkClassName,s=t.activeClassName,o=t.activeLinkClassName,l=t.extraAriaContext,c=t.pageLabelBuilder;return n.a.createElement(u,{key:e,pageSelectedHandler:this.handlePageSelected.bind(null,e),selected:a===e,pageClassName:r,pageLinkClassName:i,activeClassName:s,activeLinkClassName:o,extraAriaContext:l,href:this.hrefBuilder(e),ariaLabel:this.ariaLabelBuilder(e),page:e+1,pageLabelBuilder:c,getEventListener:this.getEventListener})}},{key:"render",value:function(){var e=this.props.renderOnZeroPageCount;if(0===this.props.pageCount&&void 0!==e)return e?e(this.props):e;var a=this.props,t=a.disabledClassName,r=a.pageCount,i=a.className,s=a.containerClassName,o=a.previousLabel,l=a.previousClassName,u=a.previousLinkClassName,c=a.previousAriaLabel,p=a.prevRel,f=a.nextLabel,g=a.nextClassName,b=a.nextLinkClassName,v=a.nextAriaLabel,m=a.nextRel,h=this.state.selected,y=l+(0===h?" ".concat(t):""),C=g+(h===r-1?" ".concat(t):""),P=0===h?"true":"false",k=h===r-1?"true":"false";return n.a.createElement("ul",{className:i||s},n.a.createElement("li",{className:y},n.a.createElement("a",d({className:u,href:this.hrefBuilder(h-1),tabIndex:"0",role:"button",onKeyPress:this.handlePreviousPage,"aria-disabled":P,"aria-label":c,rel:p},this.getEventListener(this.handlePreviousPage)),o)),this.pagination(),n.a.createElement("li",{className:C},n.a.createElement("a",d({className:b,href:this.hrefBuilder(h+1),tabIndex:"0",role:"button",onKeyPress:this.handleNextPage,"aria-disabled":k,"aria-label":v,rel:m},this.getEventListener(this.handleNextPage)),f)))}}])&&b(a.prototype,t),s}(r.Component);P(k,"propTypes",{pageCount:s.a.number.isRequired,pageRangeDisplayed:s.a.number.isRequired,marginPagesDisplayed:s.a.number.isRequired,previousLabel:s.a.node,previousAriaLabel:s.a.string,prevRel:s.a.string,nextLabel:s.a.node,nextAriaLabel:s.a.string,nextRel:s.a.string,breakLabel:s.a.oneOfType([s.a.string,s.a.node]),hrefBuilder:s.a.func,onPageChange:s.a.func,onPageActive:s.a.func,initialPage:s.a.number,forcePage:s.a.number,disableInitialCallback:s.a.bool,containerClassName:s.a.string,className:s.a.string,pageClassName:s.a.string,pageLinkClassName:s.a.string,pageLabelBuilder:s.a.func,activeClassName:s.a.string,activeLinkClassName:s.a.string,previousClassName:s.a.string,nextClassName:s.a.string,previousLinkClassName:s.a.string,nextLinkClassName:s.a.string,disabledClassName:s.a.string,breakClassName:s.a.string,breakLinkClassName:s.a.string,extraAriaContext:s.a.string,ariaLabelBuilder:s.a.func,eventListener:s.a.string,renderOnZeroPageCount:s.a.func}),P(k,"defaultProps",{pageCount:10,pageRangeDisplayed:2,marginPagesDisplayed:3,activeClassName:"selected",previousLabel:"Previous",previousClassName:"previous",previousAriaLabel:"Previous page",prevRel:"prev",nextLabel:"Next",nextClassName:"next",nextAriaLabel:"Next page",nextRel:"next",breakLabel:"...",disabledClassName:"disabled",disableInitialCallback:!1,pageLabelBuilder:function(e){return e},eventListener:"onClick",renderOnZeroPageCount:void 0});a.default=k;}])}));
|
|
8
|
+
|
|
9
|
+
});
|
|
10
|
+
|
|
11
|
+
var ReactPaginate = unwrapExports(reactPaginate);
|
|
12
|
+
reactPaginate.ReactPaginate;
|
|
13
|
+
|
|
14
|
+
var Pagination = function Pagination(props) {
|
|
15
|
+
var pageCount = props.pageCount,
|
|
16
|
+
_props$marginPagesDis = props.marginPagesDisplayed,
|
|
17
|
+
marginPagesDisplayed = _props$marginPagesDis === undefined ? 1 : _props$marginPagesDis,
|
|
18
|
+
_props$pageRangeDispl = props.pageRangeDisplayed,
|
|
19
|
+
pageRangeDisplayed = _props$pageRangeDispl === undefined ? 5 : _props$pageRangeDispl,
|
|
20
|
+
_props$currentPage = props.currentPage,
|
|
21
|
+
currentPage = _props$currentPage === undefined ? 1 : _props$currentPage,
|
|
22
|
+
_onPageChange = props.onPageChange,
|
|
23
|
+
_props$needLargePagin = props.needLargePaginateButtons,
|
|
24
|
+
needLargePaginateButtons = _props$needLargePagin === undefined ? false : _props$needLargePagin;
|
|
25
|
+
|
|
26
|
+
if (!pageCount || pageCount <= 1) return null;
|
|
27
|
+
return React__default.createElement(
|
|
28
|
+
React__default.Fragment,
|
|
29
|
+
null,
|
|
30
|
+
needLargePaginateButtons && React__default.createElement(
|
|
31
|
+
'div',
|
|
32
|
+
{ className: 'pagination-lg-btn-nxt' },
|
|
33
|
+
React__default.createElement(
|
|
34
|
+
Button,
|
|
35
|
+
{
|
|
36
|
+
onClick: function onClick(e) {
|
|
37
|
+
e.preventDefault();
|
|
38
|
+
_onPageChange(currentPage + 1);
|
|
39
|
+
},
|
|
40
|
+
disabled: currentPage === pageCount,
|
|
41
|
+
href: currentPage === pageCount ? '' : '?page=' + (currentPage + 1) },
|
|
42
|
+
'NEXT PAGE',
|
|
43
|
+
React__default.createElement(FaArrowRight, { className: 'fa-arrow-right' })
|
|
44
|
+
)
|
|
45
|
+
),
|
|
46
|
+
React__default.createElement(ReactPaginate, {
|
|
47
|
+
pageCount: pageCount,
|
|
48
|
+
marginPagesDisplayed: marginPagesDisplayed,
|
|
49
|
+
pageRangeDisplayed: pageRangeDisplayed,
|
|
50
|
+
forcePage: currentPage - 1,
|
|
51
|
+
onPageChange: function onPageChange(_ref) {
|
|
52
|
+
var selected = _ref.selected;
|
|
53
|
+
return _onPageChange(selected + 1);
|
|
54
|
+
},
|
|
55
|
+
hrefBuilder: function hrefBuilder(page) {
|
|
56
|
+
return '?page=' + page;
|
|
57
|
+
},
|
|
58
|
+
previousLabel: '<',
|
|
59
|
+
nextLabel: '>',
|
|
60
|
+
containerClassName: 'pagination-container',
|
|
61
|
+
previousLinkClassName: 'previous',
|
|
62
|
+
nextLinkClassName: 'next',
|
|
63
|
+
disabledClassName: 'disabled',
|
|
64
|
+
activeClassName: 'active'
|
|
65
|
+
}),
|
|
66
|
+
needLargePaginateButtons && React__default.createElement(
|
|
67
|
+
'div',
|
|
68
|
+
{ className: 'pagination-lg-btn-prv' },
|
|
69
|
+
React__default.createElement(
|
|
70
|
+
Button,
|
|
71
|
+
{
|
|
72
|
+
onClick: function onClick(e) {
|
|
73
|
+
e.preventDefault();
|
|
74
|
+
_onPageChange(currentPage - 1);
|
|
75
|
+
},
|
|
76
|
+
disabled: currentPage === 1,
|
|
77
|
+
href: currentPage <= 1 ? '?page=1' : '?page=' + (currentPage - 1) },
|
|
78
|
+
React__default.createElement(FaArrowLeft, { className: 'fa-arrow-left' }),
|
|
79
|
+
'PREVIOUS PAGE'
|
|
80
|
+
)
|
|
81
|
+
),
|
|
82
|
+
React__default.createElement(
|
|
83
|
+
'style',
|
|
84
|
+
{ jsx: 'true' },
|
|
85
|
+
'\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 '
|
|
86
|
+
)
|
|
87
|
+
);
|
|
88
|
+
};
|
|
89
|
+
|
|
90
|
+
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-df1f2337.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';
|
|
@@ -30,9 +30,9 @@ import './index-f0fc23eb.js';
|
|
|
30
30
|
import './events-6c3a7a63.js';
|
|
31
31
|
import 'next/router';
|
|
32
32
|
import './index-755f2cc2.js';
|
|
33
|
-
import './main-
|
|
33
|
+
import './main-9f6806ea.js';
|
|
34
34
|
import './entities-6d9154b4.js';
|
|
35
|
-
import './ADInfeed-
|
|
35
|
+
import './ADInfeed-d93886e3.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-93777a49.js';
|
|
47
47
|
import './getContentCategory-15dcc413.js';
|
|
48
48
|
import './timeDifferenceCalc.js';
|
|
49
49
|
import './index-3f5c03b2.js';
|
|
@@ -76,6 +76,7 @@ import 'react-bootstrap/Figure';
|
|
|
76
76
|
import 'react-bootstrap/OverlayTrigger';
|
|
77
77
|
import 'react-bootstrap/Tooltip';
|
|
78
78
|
import 'react-bootstrap/Popover';
|
|
79
|
+
import './websiteList-a533df30.js';
|
|
79
80
|
|
|
80
81
|
var _this = undefined;
|
|
81
82
|
|
|
@@ -319,4 +320,4 @@ PartnerDetails.returnGetInitialProps = function () {
|
|
|
319
320
|
};
|
|
320
321
|
}();
|
|
321
322
|
|
|
322
|
-
export default
|
|
323
|
+
export { PartnerDetails as default };
|
|
@@ -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-df1f2337.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';
|
|
@@ -29,9 +29,9 @@ import 'next/router';
|
|
|
29
29
|
import './index-755f2cc2.js';
|
|
30
30
|
import 'react-dom';
|
|
31
31
|
import './lodash-f97fd99a.js';
|
|
32
|
-
import './main-
|
|
32
|
+
import './main-9f6806ea.js';
|
|
33
33
|
import './entities-6d9154b4.js';
|
|
34
|
-
import './ADInfeed-
|
|
34
|
+
import './ADInfeed-d93886e3.js';
|
|
35
35
|
import 'react-bootstrap/Card';
|
|
36
36
|
import './AdSlot.js';
|
|
37
37
|
import './debounce-533d9748.js';
|
|
@@ -41,11 +41,10 @@ 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-93777a49.js';
|
|
45
45
|
import './getContentCategory-15dcc413.js';
|
|
46
46
|
import './timeDifferenceCalc.js';
|
|
47
|
-
import './Pagination-
|
|
48
|
-
import 'react-paginate';
|
|
47
|
+
import './Pagination-9fe9f61d.js';
|
|
49
48
|
import 'react-bootstrap/Button';
|
|
50
49
|
import './index.esm-1bd8a0a8.js';
|
|
51
50
|
import './iconBase-ccc56b97.js';
|
|
@@ -77,6 +76,7 @@ import 'react-bootstrap/Figure';
|
|
|
77
76
|
import 'react-bootstrap/OverlayTrigger';
|
|
78
77
|
import 'react-bootstrap/Tooltip';
|
|
79
78
|
import 'react-bootstrap/Popover';
|
|
79
|
+
import './websiteList-a533df30.js';
|
|
80
80
|
|
|
81
81
|
var _this = undefined;
|
|
82
82
|
|
|
@@ -311,4 +311,4 @@ PartnerDetails.returnGetInitialProps = function () {
|
|
|
311
311
|
};
|
|
312
312
|
}();
|
|
313
313
|
|
|
314
|
-
export default
|
|
314
|
+
export { PartnerDetails as default };
|
package/dist/esm/PdfDownload.js
CHANGED
package/dist/esm/PopUpModal.js
CHANGED
package/dist/esm/PtceDeck.js
CHANGED
package/dist/esm/PubSection.js
CHANGED
|
@@ -22,9 +22,9 @@ import './events-6c3a7a63.js';
|
|
|
22
22
|
import 'prop-types';
|
|
23
23
|
import 'next/router';
|
|
24
24
|
import './index-755f2cc2.js';
|
|
25
|
-
import './main-
|
|
25
|
+
import './main-9f6806ea.js';
|
|
26
26
|
import './entities-6d9154b4.js';
|
|
27
|
-
import './ADInfeed-
|
|
27
|
+
import './ADInfeed-d93886e3.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-93777a49.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 default
|
|
115
|
+
export { PubSection as default };
|
package/dist/esm/PubToc.js
CHANGED
|
@@ -10,12 +10,12 @@ import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
|
10
10
|
import { l as lib_3 } from './index-f0fc23eb.js';
|
|
11
11
|
import { useRouter } from 'next/router';
|
|
12
12
|
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
13
|
-
import { m as main_43 } from './main-
|
|
13
|
+
import { m as main_43 } from './main-9f6806ea.js';
|
|
14
14
|
import { c as clean_html_1 } from './entities-6d9154b4.js';
|
|
15
|
-
import { A as ADInfeed } from './ADInfeed-
|
|
15
|
+
import { A as ADInfeed } from './ADInfeed-d93886e3.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-93777a49.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 default
|
|
1535
|
+
export { QueueDeckExpanded as default };
|
|
@@ -9,15 +9,15 @@ import { l as lib_3 } from './index-f0fc23eb.js';
|
|
|
9
9
|
import { useRouter } from 'next/router';
|
|
10
10
|
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
11
11
|
import { l as lodash } from './lodash-f97fd99a.js';
|
|
12
|
-
import { m as main_43 } from './main-
|
|
12
|
+
import { m as main_43 } from './main-9f6806ea.js';
|
|
13
13
|
import { c as clean_html_1 } from './entities-6d9154b4.js';
|
|
14
|
-
import { A as ADInfeed } from './ADInfeed-
|
|
14
|
+
import { A as ADInfeed } from './ADInfeed-d93886e3.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-93777a49.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-9fe9f61d.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,7 +36,6 @@ import './Beam.js';
|
|
|
36
36
|
import './stringify-2b084bee.js';
|
|
37
37
|
import './Segment.js';
|
|
38
38
|
import './index-3f5c03b2.js';
|
|
39
|
-
import 'react-paginate';
|
|
40
39
|
import 'react-bootstrap/Button';
|
|
41
40
|
import './index.esm-1bd8a0a8.js';
|
|
42
41
|
import './iconBase-ccc56b97.js';
|
|
@@ -1380,4 +1379,4 @@ var QueueDeckExpanded = function QueueDeckExpanded(props) {
|
|
|
1380
1379
|
);
|
|
1381
1380
|
};
|
|
1382
1381
|
|
|
1383
|
-
export default
|
|
1382
|
+
export { QueueDeckExpanded as default };
|
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
|
@@ -5,7 +5,7 @@ import React__default, { useState, useEffect, useRef } from 'react';
|
|
|
5
5
|
import { useRouter } from 'next/router';
|
|
6
6
|
import { l as lib_3 } from './index-f0fc23eb.js';
|
|
7
7
|
import { I as InfiniteScroll } from './index.es-a6137319.js';
|
|
8
|
-
import { S as SeriesSlider } from './SeriesSlider-
|
|
8
|
+
import { S as SeriesSlider } from './SeriesSlider-5728e349.js';
|
|
9
9
|
import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
10
10
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
11
11
|
import './core.get-iterator-method-ea258bb1.js';
|
|
@@ -20,7 +20,7 @@ import 'react-dom';
|
|
|
20
20
|
import './smoothscroll-fa4e3f8c.js';
|
|
21
21
|
import './urlFor.js';
|
|
22
22
|
import './index-3f5c03b2.js';
|
|
23
|
-
import './main-
|
|
23
|
+
import './main-9f6806ea.js';
|
|
24
24
|
|
|
25
25
|
var usePrevious = function usePrevious(value) {
|
|
26
26
|
var ref = useRef();
|
|
@@ -240,4 +240,4 @@ var SeriesListingDeck = function SeriesListingDeck(props) {
|
|
|
240
240
|
);
|
|
241
241
|
};
|
|
242
242
|
|
|
243
|
-
export default
|
|
243
|
+
export { SeriesListingDeck as default };
|