@mjhls/mjh-framework 1.0.959 → 1.0.961-keywords-segment-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/README.md +168 -168
- package/dist/cjs/AD300x250.js +1 -2
- package/dist/cjs/AD300x250x600.js +1 -2
- package/dist/cjs/AD728x90.js +1 -2
- package/dist/cjs/ADFloatingFooter.js +1 -2
- package/dist/cjs/ADGutter.js +1 -2
- package/dist/cjs/ADSkyscraper.js +1 -2
- package/dist/cjs/ADSponsoredResources.js +1 -2
- package/dist/cjs/ADWebcast.js +1 -2
- package/dist/cjs/ADWelcome.js +1 -2
- package/dist/cjs/AdSlot.js +1 -2
- package/dist/cjs/AlgoliaSearch.js +132 -17
- package/dist/cjs/AlphabeticList.js +1 -2
- package/dist/cjs/ArticleCarousel.js +1 -2
- package/dist/cjs/ArticleProgramLandingPage.js +2 -3
- package/dist/cjs/ArticleSeriesLandingPage.js +3 -4
- package/dist/cjs/ArticleSeriesListing.js +1 -2
- package/dist/cjs/Auth.js +1 -2
- package/dist/cjs/AuthWrapper.js +1 -1
- package/dist/cjs/Beam.js +0 -2
- package/dist/cjs/Column2.js +0 -2
- package/dist/cjs/Column3.js +1 -2
- package/dist/cjs/ConferenceArticleCard.js +15 -15
- package/dist/cjs/ContentCardPaginated.js +3 -5
- package/dist/cjs/DeckContent.js +10 -11
- package/dist/cjs/DeckQueue.js +1 -2
- package/dist/cjs/DeckQueuePaginated.js +2 -4
- package/dist/cjs/EventsDeck.js +18 -19
- package/dist/cjs/ExternalResources.js +2 -3
- package/dist/cjs/GridContent.js +14 -5
- package/dist/cjs/GridContentPaginated.js +4 -6
- package/dist/cjs/HamMagazine.js +9 -11
- package/dist/cjs/HealthCareProfessionalModal.js +1 -1
- package/dist/cjs/HorizontalArticleListing.js +2 -3
- package/dist/cjs/IssueDeck.js +1 -2
- package/dist/cjs/IssueLanding.js +33 -34
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +1 -2
- package/dist/cjs/MasterDeck.js +11 -12
- package/dist/cjs/MasterDeckPaginated.js +12 -14
- package/dist/cjs/{MediaSeriesCard-3e0f0601.js → MediaSeriesCard-40513fbb.js} +2 -2
- package/dist/cjs/MediaSeriesLanding.js +10 -11
- package/dist/cjs/MediaSeriesLandingPaginated.js +11 -13
- package/dist/cjs/NavDvm.js +0 -2
- package/dist/cjs/NavMagazine.js +10 -12
- package/dist/cjs/NavNative.js +9 -11
- package/dist/cjs/Pagination-30bb1ca1.js +97 -0
- package/dist/cjs/PartnerDetailListing.js +4 -5
- package/dist/cjs/PartnerDetailListingPaginated.js +5 -7
- package/dist/cjs/PubSection.js +3 -4
- package/dist/cjs/PublicationLanding.js +27 -28
- package/dist/cjs/QueueDeckExpanded.js +3 -4
- package/dist/cjs/QueueDeckExpandedPaginated.js +4 -6
- package/dist/cjs/RelatedContent.js +28 -28
- package/dist/cjs/RelatedTopicsDropdown.js +10 -10
- package/dist/cjs/Schema.js +1 -2
- package/dist/cjs/Segment.js +1 -3
- package/dist/cjs/SeriesListingDeck.js +2 -3
- package/dist/cjs/{SeriesSlider-594b19eb.js → SeriesSlider-74546d19.js} +4 -4
- package/dist/cjs/SideFooter.js +2 -4
- package/dist/cjs/TaxonomyCard.js +1 -2
- package/dist/cjs/TaxonomyDescription.js +4 -5
- package/dist/cjs/TemplateNormal.js +1 -2
- package/dist/cjs/VideoProgramLandingPage.js +2 -3
- package/dist/cjs/VideoSeriesCard.js +1 -1
- package/dist/cjs/VideoSeriesLandingPage.js +3 -4
- package/dist/cjs/VideoSeriesListing.js +1 -2
- package/dist/cjs/View.js +16 -13
- package/dist/cjs/YoutubeGroup.js +4 -4
- package/dist/cjs/{assign-a0df1a53.js → extends-7c86182f.js} +29 -1
- package/dist/cjs/getSerializers.js +2 -3
- package/dist/cjs/{getTargeting-232688b0.js → getTargeting-dab97fe1.js} +10 -10
- package/dist/cjs/getTargeting.js +2 -3
- package/dist/cjs/{index-d92837fc.js → index-b1fdefbc.js} +6 -4
- package/dist/cjs/index.js +6 -8
- package/dist/esm/AD.js +1 -1
- package/dist/esm/AD300x250.js +7 -8
- package/dist/esm/AD300x250x600.js +7 -8
- package/dist/esm/AD728x90.js +7 -8
- package/dist/esm/ADFloatingFooter.js +7 -8
- package/dist/esm/ADFooter.js +3 -3
- package/dist/esm/ADGutter.js +7 -8
- package/dist/esm/{ADInfeed-c977de2e.js → ADInfeed-206d75b9.js} +1 -1
- package/dist/esm/ADSkyscraper.js +7 -8
- package/dist/esm/ADSponsoredResources.js +7 -8
- package/dist/esm/ADWebcast.js +7 -8
- package/dist/esm/ADWelcome.js +7 -8
- package/dist/esm/{ADlgInfeed-59c5eb30.js → ADlgInfeed-4a824d11.js} +1 -1
- package/dist/esm/AccordionPanel.js +3 -3
- package/dist/esm/AdSlot.js +7 -8
- package/dist/esm/AdSlotsProvider.js +5 -5
- package/dist/esm/AlgoliaSearch.js +141 -26
- package/dist/esm/AlphabeticList.js +6 -7
- package/dist/esm/ArticleCarousel.js +4 -5
- package/dist/esm/ArticleProgramLandingPage.js +16 -17
- package/dist/esm/ArticleSeriesLandingPage.js +15 -16
- package/dist/esm/ArticleSeriesListing.js +9 -10
- package/dist/esm/Auth.js +7 -8
- package/dist/esm/AuthWrapper.js +4 -4
- package/dist/esm/{AuthorComponent-0ee8667f.js → AuthorComponent-11adff02.js} +1 -1
- package/dist/esm/Beam.js +5 -7
- package/dist/esm/Breadcrumbs.js +3 -3
- package/dist/esm/CMEDeck.js +7 -7
- package/dist/esm/Column2.js +6 -8
- package/dist/esm/Column3.js +9 -10
- package/dist/esm/ConferenceArticleCard.js +18 -18
- package/dist/esm/ContentCardPaginated.js +15 -17
- package/dist/esm/DeckContent.js +22 -23
- package/dist/esm/DeckQueue.js +11 -12
- package/dist/esm/DeckQueuePaginated.js +13 -15
- package/dist/esm/{Dfp-08c829a1.js → Dfp-102f0beb.js} +3 -3
- package/dist/esm/EventsDeck.js +27 -28
- package/dist/esm/ExternalResources.js +16 -17
- package/dist/esm/Feature.js +3 -3
- package/dist/esm/ForbesHero.js +4 -4
- package/dist/esm/GridContent.js +28 -19
- package/dist/esm/GridContentPaginated.js +18 -20
- package/dist/esm/GridHero.js +4 -4
- package/dist/esm/GroupDeck.js +5 -5
- package/dist/esm/HamMagazine.js +15 -17
- package/dist/esm/HealthCareProfessionalModal.js +1 -1
- package/dist/esm/Hero.js +3 -3
- package/dist/esm/HorizontalArticleListing.js +16 -17
- package/dist/esm/HorizontalHero.js +3 -3
- package/dist/esm/{ImageSlider-8a3401ec.js → ImageSlider-f84174cb.js} +1 -1
- package/dist/esm/IssueContentDeck.js +4 -4
- package/dist/esm/IssueDeck.js +6 -7
- package/dist/esm/IssueLanding.js +48 -49
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +7 -8
- package/dist/esm/MasterDeck.js +23 -24
- package/dist/esm/MasterDeckPaginated.js +24 -26
- package/dist/esm/{MediaSeriesCard-462aa764.js → MediaSeriesCard-94fac6e3.js} +3 -3
- package/dist/esm/MediaSeriesLanding.js +24 -25
- package/dist/esm/MediaSeriesLandingPaginated.js +25 -27
- package/dist/esm/NavDvm.js +5 -7
- package/dist/esm/NavMagazine.js +16 -18
- package/dist/esm/NavNative.js +14 -16
- package/dist/esm/OncliveHero.js +3 -3
- package/dist/esm/OncliveLargeHero.js +4 -4
- package/dist/esm/PageFilter.js +3 -3
- package/dist/esm/Pagination-194dd03f.js +90 -0
- package/dist/esm/PartnerDetailListing.js +20 -21
- package/dist/esm/PartnerDetailListingPaginated.js +21 -23
- package/dist/esm/PopUpModal.js +3 -3
- package/dist/esm/PubSection.js +11 -12
- package/dist/esm/PubToc.js +5 -5
- package/dist/esm/PublicationDeck.js +3 -3
- package/dist/esm/PublicationLanding.js +35 -36
- package/dist/esm/QueueDeckExpanded.js +11 -12
- package/dist/esm/QueueDeckExpandedPaginated.js +12 -14
- package/dist/esm/RelatedContent.js +31 -31
- package/dist/esm/RelatedTopicsDropdown.js +10 -10
- package/dist/esm/Schema.js +7 -8
- package/dist/esm/Search.js +3 -3
- package/dist/esm/Segment.js +5 -7
- package/dist/esm/SeriesListingDeck.js +7 -8
- package/dist/esm/{SeriesSlider-19bf6ce4.js → SeriesSlider-e495571f.js} +5 -5
- package/dist/esm/SideFooter.js +8 -10
- package/dist/esm/{SocialSearchComponent-e9a67eff.js → SocialSearchComponent-4b56cd8c.js} +1 -1
- package/dist/esm/TaxonomyCard.js +4 -5
- package/dist/esm/TaxonomyDescription.js +17 -18
- package/dist/esm/TemplateNormal.js +10 -11
- package/dist/esm/ThumbnailCard.js +3 -3
- package/dist/esm/Ustream.js +6 -6
- package/dist/esm/VerticalHero.js +3 -3
- package/dist/esm/VideoProgramLandingPage.js +16 -17
- package/dist/esm/VideoSeriesCard.js +6 -6
- package/dist/esm/VideoSeriesFilter.js +5 -5
- package/dist/esm/VideoSeriesLandingPage.js +15 -16
- package/dist/esm/VideoSeriesListing.js +9 -10
- package/dist/esm/View.js +30 -26
- package/dist/esm/YahooHero.js +4 -4
- package/dist/esm/YoutubeGroup.js +7 -7
- package/dist/esm/{_is-array-e96276c2.js → _is-array-8d21b9e3.js} +1 -1
- package/dist/esm/{_iter-detect-c9bd22b3.js → _iter-detect-98db3b07.js} +1 -1
- package/dist/esm/{_object-sap-67a80efe.js → _object-sap-7cee6f84.js} +1 -1
- package/dist/esm/{_object-to-array-d97ca761.js → _object-to-array-2300e51b.js} +1 -1
- package/dist/esm/{asyncToGenerator-b799d461.js → asyncToGenerator-958ef5fc.js} +3 -3
- package/dist/esm/{core.get-iterator-method-2623c4c7.js → core.get-iterator-method-ea258bb1.js} +1 -1
- package/dist/esm/{define-property-615946df.js → define-property-5f1bda73.js} +1 -1
- package/dist/esm/{defineProperty-3cabb189.js → defineProperty-8c30428f.js} +1 -1
- package/dist/esm/{assign-b681604f.js → extends-6d8e3924.js} +30 -3
- package/dist/esm/faundadb.js +4 -4
- package/dist/esm/getRelatedArticle.js +4 -4
- package/dist/esm/getRootDocGroup.js +4 -4
- package/dist/esm/getSerializers.js +16 -17
- package/dist/esm/{getTargeting-d519d2b6.js → getTargeting-04d979c9.js} +11 -11
- package/dist/esm/getTargeting.js +5 -6
- package/dist/esm/{index-8864f662.js → index-891178cb.js} +15 -13
- package/dist/esm/index.js +26 -28
- package/dist/esm/{inherits-44a60f2b.js → inherits-a6ba2ec4.js} +4 -4
- package/dist/esm/{keys-8c05d049.js → keys-31dcdb31.js} +2 -2
- package/dist/esm/{slicedToArray-a5ed2ac8.js → slicedToArray-6ebcbfea.js} +2 -2
- package/dist/esm/{stringify-e20934cc.js → stringify-2b084bee.js} +1 -1
- package/dist/esm/{toConsumableArray-aac0b14a.js → toConsumableArray-f7074d7c.js} +2 -2
- package/dist/esm/{typeof-af09aa11.js → typeof-e9fc0c5d.js} +3 -3
- package/dist/esm/urlFor.js +3 -3
- package/dist/esm/{urlForFile-3ad576be.js → urlForFile-b69adffc.js} +1 -1
- package/dist/esm/{ustream-api-4e6b20ce.js → ustream-api-d3714624.js} +4 -4
- package/dist/esm/{web.dom.iterable-357ab671.js → web.dom.iterable-ab4dea5c.js} +1 -1
- package/package.json +115 -115
- package/dist/cjs/Pagination-c63770a3.js +0 -90
- package/dist/cjs/extends-8ea081c8.js +0 -34
- package/dist/esm/Pagination-6f8d5327.js +0 -82
- package/dist/esm/extends-19fcf571.js +0 -31
- /package/dist/cjs/{ADInfeed-e0645296.js → ADInfeed-cecbcd0f.js} +0 -0
- /package/dist/cjs/{ADlgInfeed-c9bd09b8.js → ADlgInfeed-2271d830.js} +0 -0
- /package/dist/esm/{PublicationFeature-c65b005a.js → PublicationFeature-d88e76b9.js} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as _extends,
|
|
1
|
+
import { _ as _extends, b as _extends$1 } from './extends-6d8e3924.js';
|
|
2
2
|
import React__default, { useState, useEffect, useRef, useLayoutEffect, useCallback } from 'react';
|
|
3
|
-
import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-
|
|
3
|
+
import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-6ebcbfea.js';
|
|
4
4
|
import { Carousel, Table, Figure as Figure$1, Card, Row, Col, Button as Button$1, ProgressBar } from 'react-bootstrap';
|
|
5
5
|
import urlFor from './urlFor.js';
|
|
6
6
|
import { l as lib_3 } from './index-f0fc23eb.js';
|
|
@@ -13,28 +13,28 @@ import './Beam.js';
|
|
|
13
13
|
import Segment from './Segment.js';
|
|
14
14
|
import { e as main_18, b as main_42, m as main_43 } from './main-1894c974.js';
|
|
15
15
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
16
|
-
import { u as urlForFile } from './urlForFile-
|
|
16
|
+
import { u as urlForFile } from './urlForFile-b69adffc.js';
|
|
17
17
|
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
18
|
-
import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-
|
|
19
|
-
import { _ as _typeof$1 } from './typeof-
|
|
18
|
+
import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-958ef5fc.js';
|
|
19
|
+
import { _ as _typeof$1 } from './typeof-e9fc0c5d.js';
|
|
20
20
|
import { R as ReactPlayerLoader } from './brightcove-react-player-loader.es-57a70a56.js';
|
|
21
|
-
import { _ as _JSON$stringify } from './stringify-
|
|
21
|
+
import { _ as _JSON$stringify } from './stringify-2b084bee.js';
|
|
22
22
|
import Modal from 'react-bootstrap/Modal';
|
|
23
23
|
import Button from 'react-bootstrap/Button';
|
|
24
24
|
import Form from 'react-bootstrap/Form';
|
|
25
25
|
import GroupDeck from './GroupDeck.js';
|
|
26
26
|
import { m as moment } from './moment-bc12cb97.js';
|
|
27
27
|
import SocialShare from './SocialShare.js';
|
|
28
|
-
import { _ as _export, a as _core } from './core.get-iterator-method-
|
|
29
|
-
import { _ as _objectToArray } from './_object-to-array-
|
|
30
|
-
import { a as _Array$from, _ as _toConsumableArray } from './toConsumableArray-
|
|
28
|
+
import { _ as _export, a as _core } from './core.get-iterator-method-ea258bb1.js';
|
|
29
|
+
import { _ as _objectToArray } from './_object-to-array-2300e51b.js';
|
|
30
|
+
import { a as _Array$from, _ as _toConsumableArray } from './toConsumableArray-f7074d7c.js';
|
|
31
31
|
import Pagination from 'react-bootstrap/Pagination';
|
|
32
32
|
import { h as html_decode_1 } from './entities-6d9154b4.js';
|
|
33
33
|
import DFPAdSlot from './AdSlot.js';
|
|
34
34
|
import Row$1 from 'react-bootstrap/Row';
|
|
35
35
|
import Col$1 from 'react-bootstrap/Col';
|
|
36
36
|
import Head from 'next/head';
|
|
37
|
-
import { _ as _inherits$1, a as _classCallCheck$1, b as _possibleConstructorReturn$1, c as _Object$getPrototypeOf, d as _createClass$1, e as classCallCheck, p as possibleConstructorReturn, i as inherits } from './inherits-
|
|
37
|
+
import { _ as _inherits$1, a as _classCallCheck$1, b as _possibleConstructorReturn$1, c as _Object$getPrototypeOf, d as _createClass$1, e as classCallCheck, p as possibleConstructorReturn, i as inherits } from './inherits-a6ba2ec4.js';
|
|
38
38
|
import { c as IoIosArrowDropupCircle } from './index.esm-eb1e8e80.js';
|
|
39
39
|
import Figure$2 from 'react-bootstrap/Figure';
|
|
40
40
|
import OverlayTrigger from 'react-bootstrap/OverlayTrigger';
|
|
@@ -8455,6 +8455,8 @@ var Quiz = function Quiz(_ref) {
|
|
|
8455
8455
|
};
|
|
8456
8456
|
|
|
8457
8457
|
var checkAnswers = function checkAnswers(e) {
|
|
8458
|
+
|
|
8459
|
+
e.preventDefault();
|
|
8458
8460
|
if (!quizzes[currentPage - 1].quizAnswers) {
|
|
8459
8461
|
setShowAnswer(true);
|
|
8460
8462
|
return;
|
|
@@ -8497,11 +8499,11 @@ var Quiz = function Quiz(_ref) {
|
|
|
8497
8499
|
if (isCorrect < 0) {
|
|
8498
8500
|
input.parentElement.style.color = '#ea1e1e';
|
|
8499
8501
|
}
|
|
8500
|
-
setShowAnswer(true);
|
|
8501
8502
|
}
|
|
8502
8503
|
if (isCorrect >= 0) {
|
|
8503
8504
|
input.parentElement.style.color = 'limegreen';
|
|
8504
8505
|
}
|
|
8506
|
+
setShowAnswer(true);
|
|
8505
8507
|
};
|
|
8506
8508
|
|
|
8507
8509
|
var _iteratorNormalCompletion2 = true;
|
|
@@ -8558,8 +8560,8 @@ var Quiz = function Quiz(_ref) {
|
|
|
8558
8560
|
),
|
|
8559
8561
|
!showAnswer && React__default.createElement(
|
|
8560
8562
|
Button,
|
|
8561
|
-
{ onClick: function onClick() {
|
|
8562
|
-
return checkAnswers();
|
|
8563
|
+
{ onClick: function onClick(e) {
|
|
8564
|
+
return checkAnswers(e);
|
|
8563
8565
|
}, variant: 'info', block: true },
|
|
8564
8566
|
'Please click here for answer'
|
|
8565
8567
|
),
|
package/dist/esm/index.js
CHANGED
|
@@ -71,10 +71,10 @@ export { default as ArticleCarousel } from './ArticleCarousel.js';
|
|
|
71
71
|
export { default as TaxonomyDescription } from './TaxonomyDescription.js';
|
|
72
72
|
export { default as PubToc } from './PubToc.js';
|
|
73
73
|
export { default as PubSection } from './PubSection.js';
|
|
74
|
-
import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-
|
|
75
|
-
import { _ as _JSON$stringify } from './stringify-
|
|
76
|
-
import { _ as _extends } from './extends-
|
|
77
|
-
import { _ as _slicedToArray } from './slicedToArray-
|
|
74
|
+
import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-958ef5fc.js';
|
|
75
|
+
import { _ as _JSON$stringify } from './stringify-2b084bee.js';
|
|
76
|
+
import { _ as _extends } from './extends-6d8e3924.js';
|
|
77
|
+
import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
78
78
|
import PropTypes from 'prop-types';
|
|
79
79
|
import { m as momentTimezone } from './index-79cfd25c.js';
|
|
80
80
|
import ProgressBar from 'react-bootstrap/ProgressBar';
|
|
@@ -86,7 +86,7 @@ export { default as VerticalHero } from './VerticalHero.js';
|
|
|
86
86
|
export { default as YahooHero } from './YahooHero.js';
|
|
87
87
|
export { default as GridHero } from './GridHero.js';
|
|
88
88
|
export { default as ConferenceArticleCard } from './ConferenceArticleCard.js';
|
|
89
|
-
export { g as getSerializers } from './index-
|
|
89
|
+
export { g as getSerializers } from './index-891178cb.js';
|
|
90
90
|
export { default as Beam } from './Beam.js';
|
|
91
91
|
export { default as Segment } from './Segment.js';
|
|
92
92
|
export { default as KMTracker } from './KMTracker.js';
|
|
@@ -101,19 +101,19 @@ export { default as VideoSeriesLandingPage } from './VideoSeriesLandingPage.js';
|
|
|
101
101
|
export { default as ArticleProgramLandingPage } from './ArticleProgramLandingPage.js';
|
|
102
102
|
export { default as ArticleSeriesLandingPage } from './ArticleSeriesLandingPage.js';
|
|
103
103
|
export { default as Schema } from './Schema.js';
|
|
104
|
-
export { g as getTargeting } from './getTargeting-
|
|
104
|
+
export { g as getTargeting } from './getTargeting-04d979c9.js';
|
|
105
105
|
export { default as getKeywords } from './getKeywords.js';
|
|
106
106
|
export { default as getQuery } from './getQuery.js';
|
|
107
|
-
import './toConsumableArray-
|
|
107
|
+
import './toConsumableArray-f7074d7c.js';
|
|
108
108
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
109
|
-
import './core.get-iterator-method-
|
|
110
|
-
import './_iter-detect-
|
|
111
|
-
import './inherits-
|
|
112
|
-
import './_object-sap-
|
|
113
|
-
import './define-property-
|
|
114
|
-
import './typeof-
|
|
115
|
-
import './web.dom.iterable-
|
|
116
|
-
import './_is-array-
|
|
109
|
+
import './core.get-iterator-method-ea258bb1.js';
|
|
110
|
+
import './_iter-detect-98db3b07.js';
|
|
111
|
+
import './inherits-a6ba2ec4.js';
|
|
112
|
+
import './_object-sap-7cee6f84.js';
|
|
113
|
+
import './define-property-5f1bda73.js';
|
|
114
|
+
import './typeof-e9fc0c5d.js';
|
|
115
|
+
import './web.dom.iterable-ab4dea5c.js';
|
|
116
|
+
import './_is-array-8d21b9e3.js';
|
|
117
117
|
import './_object-pie-133f504a.js';
|
|
118
118
|
import './_library-528f1934.js';
|
|
119
119
|
import './index-f0fc23eb.js';
|
|
@@ -130,14 +130,14 @@ import './visibility-sensor-72fd8f8b.js';
|
|
|
130
130
|
import 'react-dom';
|
|
131
131
|
import './main-1894c974.js';
|
|
132
132
|
import './entities-6d9154b4.js';
|
|
133
|
-
import './ADInfeed-
|
|
133
|
+
import './ADInfeed-206d75b9.js';
|
|
134
134
|
import './lodash-f97fd99a.js';
|
|
135
|
-
import './ADlgInfeed-
|
|
135
|
+
import './ADlgInfeed-4a824d11.js';
|
|
136
136
|
import './getContentCategory-15dcc413.js';
|
|
137
137
|
import './get-3c308da4.js';
|
|
138
138
|
import './eq-bdcbf886.js';
|
|
139
|
-
import './AuthorComponent-
|
|
140
|
-
import './PublicationFeature-
|
|
139
|
+
import './AuthorComponent-11adff02.js';
|
|
140
|
+
import './PublicationFeature-d88e76b9.js';
|
|
141
141
|
import 'react-bootstrap/Button';
|
|
142
142
|
import 'react-bootstrap/Media';
|
|
143
143
|
import './BlockContent-1e73bd2c.js';
|
|
@@ -149,8 +149,8 @@ import 'react-bootstrap';
|
|
|
149
149
|
import './timeDifferenceCalc.js';
|
|
150
150
|
import './index.esm-eb1e8e80.js';
|
|
151
151
|
import './iconBase-ccc56b97.js';
|
|
152
|
-
import './defineProperty-
|
|
153
|
-
import './_object-to-array-
|
|
152
|
+
import './defineProperty-8c30428f.js';
|
|
153
|
+
import './_object-to-array-2300e51b.js';
|
|
154
154
|
import 'react-bootstrap/Spinner';
|
|
155
155
|
import 'react-bootstrap/Form';
|
|
156
156
|
import './js.cookie-6874175c.js';
|
|
@@ -168,19 +168,18 @@ import 'react-bootstrap/NavDropdown';
|
|
|
168
168
|
import './index.esm-9b042655.js';
|
|
169
169
|
import './NavFooter-e27bd93b.js';
|
|
170
170
|
import './index.esm-37268dca.js';
|
|
171
|
-
import './SocialSearchComponent-
|
|
171
|
+
import './SocialSearchComponent-4b56cd8c.js';
|
|
172
172
|
import 'react-bootstrap/FormControl';
|
|
173
173
|
import 'react-ga';
|
|
174
174
|
import 'react-bootstrap/Carousel';
|
|
175
175
|
import 'react-bootstrap/Breadcrumb';
|
|
176
|
-
import './keys-
|
|
176
|
+
import './keys-31dcdb31.js';
|
|
177
177
|
import 'react-bootstrap/DropdownButton';
|
|
178
178
|
import 'react-bootstrap/Dropdown';
|
|
179
179
|
import './index.esm-1bd8a0a8.js';
|
|
180
180
|
import './brightcove-react-player-loader.es-57a70a56.js';
|
|
181
|
-
import './urlForFile-
|
|
181
|
+
import './urlForFile-b69adffc.js';
|
|
182
182
|
import 'react-bootstrap/Modal';
|
|
183
|
-
import './assign-b681604f.js';
|
|
184
183
|
import './util-8ed16d48.js';
|
|
185
184
|
import 'react-bootstrap/Pagination';
|
|
186
185
|
import 'react-bootstrap/Figure';
|
|
@@ -192,12 +191,11 @@ import 'swr';
|
|
|
192
191
|
import 'passport-local';
|
|
193
192
|
import 'mysql';
|
|
194
193
|
import './md5-4e42248e.js';
|
|
195
|
-
import './SeriesSlider-
|
|
194
|
+
import './SeriesSlider-e495571f.js';
|
|
196
195
|
import './style-inject.es-1f59c1d0.js';
|
|
197
196
|
import 'disqus-react';
|
|
198
|
-
import 'file-saver';
|
|
199
197
|
import 'react-twitter-embed';
|
|
200
|
-
import './ImageSlider-
|
|
198
|
+
import './ImageSlider-f84174cb.js';
|
|
201
199
|
import './defineProperty-23a8f8cd.js';
|
|
202
200
|
import './VideoSeriesCard.js';
|
|
203
201
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import {
|
|
3
|
-
import { _ as _objectSap } from './_object-sap-
|
|
4
|
-
import { d as defineProperty } from './define-property-
|
|
5
|
-
import { a as _typeof_1, b as _objectGopd } from './typeof-
|
|
2
|
+
import { u as _objectGpo, i as _toObject, a as _core, e as _ctx, v as _anObject, b as _isObject, _ as _export, d as _objectCreate } from './core.get-iterator-method-ea258bb1.js';
|
|
3
|
+
import { _ as _objectSap } from './_object-sap-7cee6f84.js';
|
|
4
|
+
import { d as defineProperty } from './define-property-5f1bda73.js';
|
|
5
|
+
import { a as _typeof_1, b as _objectGopd } from './typeof-e9fc0c5d.js';
|
|
6
6
|
|
|
7
7
|
// 19.1.2.9 Object.getPrototypeOf(O)
|
|
8
8
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import {
|
|
3
|
-
import { _ as _objectSap } from './_object-sap-
|
|
2
|
+
import { t as _objectKeys, i as _toObject, a as _core } from './core.get-iterator-method-ea258bb1.js';
|
|
3
|
+
import { _ as _objectSap } from './_object-sap-7cee6f84.js';
|
|
4
4
|
|
|
5
5
|
// 19.1.2.14 Object.keys(O)
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './web.dom.iterable-
|
|
3
|
-
import { h as _wks, a as _core, F as _iterators, p as _classof, s as core_getIteratorMethod,
|
|
2
|
+
import './web.dom.iterable-ab4dea5c.js';
|
|
3
|
+
import { h as _wks, a as _core, F as _iterators, p as _classof, s as core_getIteratorMethod, v as _anObject } from './core.get-iterator-method-ea258bb1.js';
|
|
4
4
|
|
|
5
5
|
var ITERATOR = _wks('iterator');
|
|
6
6
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { u as unwrapExports, c as createCommonjsModule } from './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import { a as _core } from './core.get-iterator-method-
|
|
2
|
+
import { a as _core } from './core.get-iterator-method-ea258bb1.js';
|
|
3
3
|
|
|
4
4
|
var $JSON = _core.JSON || (_core.JSON = { stringify: JSON.stringify });
|
|
5
5
|
var stringify$1 = function stringify(it) { // eslint-disable-line no-unused-vars
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import { c as _objectDp, r as _propertyDesc, _ as _export, i as _toObject, s as core_getIteratorMethod, e as _ctx, k as _toLength, a as _core } from './core.get-iterator-method-
|
|
3
|
-
import { _ as _iterDetect, a as _isArrayIter, b as _iterCall } from './_iter-detect-
|
|
2
|
+
import { c as _objectDp, r as _propertyDesc, _ as _export, i as _toObject, s as core_getIteratorMethod, e as _ctx, k as _toLength, a as _core } from './core.get-iterator-method-ea258bb1.js';
|
|
3
|
+
import { _ as _iterDetect, a as _isArrayIter, b as _iterCall } from './_iter-detect-98db3b07.js';
|
|
4
4
|
|
|
5
5
|
var _createProperty = function (object, index, value) {
|
|
6
6
|
if (index in object) _objectDp.f(object, index, _propertyDesc(0, value));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import { h as _wks, c as _objectDp, a as _core,
|
|
3
|
-
import './web.dom.iterable-
|
|
4
|
-
import { _ as _meta, a as _isArray } from './_is-array-
|
|
2
|
+
import { h as _wks, c as _objectDp, a as _core, t as _objectKeys, w as _enumBugKeys, x as _objectKeysInternal, y as _toIobject, f as _descriptors, z as _toPrimitive, A as _ie8DomDefine, B as _has, r as _propertyDesc, l as _global, C as _shared, m as _fails, D as _uid, E as _redefine, _ as _export, n as _hide, o as _setToStringTag, d as _objectCreate, v as _anObject, i as _toObject, b as _isObject } from './core.get-iterator-method-ea258bb1.js';
|
|
3
|
+
import './web.dom.iterable-ab4dea5c.js';
|
|
4
|
+
import { _ as _meta, a as _isArray } from './_is-array-8d21b9e3.js';
|
|
5
5
|
import { _ as _objectGops, a as _objectPie } from './_object-pie-133f504a.js';
|
|
6
6
|
import { _ as _library } from './_library-528f1934.js';
|
|
7
7
|
|
package/dist/esm/urlFor.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { _ as _slicedToArray } from './slicedToArray-
|
|
1
|
+
import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
2
2
|
import { i as imageUrlBuilder } from './index-3f5c03b2.js';
|
|
3
3
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
4
|
-
import './web.dom.iterable-
|
|
5
|
-
import './core.get-iterator-method-
|
|
4
|
+
import './web.dom.iterable-ab4dea5c.js';
|
|
5
|
+
import './core.get-iterator-method-ea258bb1.js';
|
|
6
6
|
|
|
7
7
|
// Sanity image auto formating
|
|
8
8
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { _ as _JSON$stringify } from './stringify-
|
|
2
|
-
import { _ as _Object$keys } from './keys-
|
|
1
|
+
import { _ as _JSON$stringify } from './stringify-2b084bee.js';
|
|
2
|
+
import { _ as _Object$keys } from './keys-31dcdb31.js';
|
|
3
3
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
4
|
-
import './core.get-iterator-method-
|
|
5
|
-
import './_object-sap-
|
|
4
|
+
import './core.get-iterator-method-ea258bb1.js';
|
|
5
|
+
import './_object-sap-7cee6f84.js';
|
|
6
6
|
|
|
7
7
|
var UstreamEmbed = function () {
|
|
8
8
|
function a(a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as _iterDefine, F as _iterators, y as _toIobject, h as _wks, l as _global, n as _hide } from './core.get-iterator-method-
|
|
1
|
+
import { g as _iterDefine, F as _iterators, y as _toIobject, h as _wks, l as _global, n as _hide } from './core.get-iterator-method-ea258bb1.js';
|
|
2
2
|
|
|
3
3
|
var _iterStep = function (done, value) {
|
|
4
4
|
return { value: value, done: !!done };
|
package/package.json
CHANGED
|
@@ -1,115 +1,115 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@mjhls/mjh-framework",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "Foundation Framework",
|
|
5
|
-
"author": "mjh-framework",
|
|
6
|
-
"license": "MIT",
|
|
7
|
-
"repository": {
|
|
8
|
-
"type": "git",
|
|
9
|
-
"url": "https://github.com/MJHLS/mjh-framework.git"
|
|
10
|
-
},
|
|
11
|
-
"main": "dist/cjs/index.js",
|
|
12
|
-
"module": "dist/esm/index.js",
|
|
13
|
-
"engines": {
|
|
14
|
-
"node": ">=8",
|
|
15
|
-
"npm": ">=5"
|
|
16
|
-
},
|
|
17
|
-
"scripts": {
|
|
18
|
-
"clean": "rimraf dist",
|
|
19
|
-
"test": "cross-env CI=1 react-scripts test --env=jsdom",
|
|
20
|
-
"test:watch": "react-scripts test --env=jsdom",
|
|
21
|
-
"build": "npm run clean && rollup -c",
|
|
22
|
-
"start": "npm run clean && rollup -c -w",
|
|
23
|
-
"prepare": "yarn run build",
|
|
24
|
-
"predeploy": "cd example && yarn install && yarn run build",
|
|
25
|
-
"deploy": "gh-pages -d example/build"
|
|
26
|
-
},
|
|
27
|
-
"peerDependencies": {
|
|
28
|
-
"disqus-react": "^1.0.11",
|
|
29
|
-
"next": "^9.0.0",
|
|
30
|
-
"prop-types": "^15.5.4",
|
|
31
|
-
"react": "^15.0.0 || ^16.0.0",
|
|
32
|
-
"react-bootstrap": "^1.0.0-beta.14",
|
|
33
|
-
"react-dom": "^15.0.0 || ^16.0.0",
|
|
34
|
-
"react-share": "^4.0.1"
|
|
35
|
-
},
|
|
36
|
-
"devDependencies": {
|
|
37
|
-
"@brightcove/react-player-loader": "^1.4.0",
|
|
38
|
-
"@rollup/plugin-json": "^4.0.3",
|
|
39
|
-
"@sanity/block-content-to-react": "^2.0.7",
|
|
40
|
-
"@sanity/image-url": "^0.140.15",
|
|
41
|
-
"@svgr/rollup": "2.4.1",
|
|
42
|
-
"babel-core": "^6.26.3",
|
|
43
|
-
"babel-eslint": "^8.2.5",
|
|
44
|
-
"babel-plugin-external-helpers": "^6.22.0",
|
|
45
|
-
"babel-plugin-transform-runtime": "^6.23.0",
|
|
46
|
-
"babel-preset-env": "^1.7.0",
|
|
47
|
-
"babel-preset-react": "^6.24.1",
|
|
48
|
-
"babel-preset-stage-0": "^6.24.1",
|
|
49
|
-
"cross-env": "^5.1.4",
|
|
50
|
-
"eslint": "^5.0.1",
|
|
51
|
-
"eslint-config-standard": "^11.0.0",
|
|
52
|
-
"eslint-config-standard-react": "^6.0.0",
|
|
53
|
-
"eslint-plugin-import": "^2.13.0",
|
|
54
|
-
"eslint-plugin-node": "^7.0.1",
|
|
55
|
-
"eslint-plugin-promise": "^4.0.0",
|
|
56
|
-
"eslint-plugin-react": "^7.10.0",
|
|
57
|
-
"eslint-plugin-react-hooks": "^2.3.0",
|
|
58
|
-
"eslint-plugin-standard": "^3.1.0",
|
|
59
|
-
"file-saver": "^2.0.5",
|
|
60
|
-
"get-youtube-id": "^1.0.1",
|
|
61
|
-
"gh-pages": "^1.2.0",
|
|
62
|
-
"lodash": "^4.17.15",
|
|
63
|
-
"md5": "^2.2.1",
|
|
64
|
-
"moment": "^2.26.0",
|
|
65
|
-
"moment-timezone": "^0.5.31",
|
|
66
|
-
"next": "^9.2.0",
|
|
67
|
-
"react": "^16.12.0",
|
|
68
|
-
"react-bootstrap": "1.4.0",
|
|
69
|
-
"react-device-detect": "^1.11.14",
|
|
70
|
-
"react-dfp": "^0.19.0",
|
|
71
|
-
"react-dom": "^16.12.0",
|
|
72
|
-
"react-icons": "^3.8.0",
|
|
73
|
-
"react-infinite-scroll-component": "^5.0.4",
|
|
74
|
-
"react-lazyload": "^2.6.5",
|
|
75
|
-
"react-paginate": "^7.1.3",
|
|
76
|
-
"react-player": "^1.15.2",
|
|
77
|
-
"react-scripts": "^1.1.4",
|
|
78
|
-
"react-share": "^4.0.1",
|
|
79
|
-
"react-social-icons": "^4.1.0",
|
|
80
|
-
"react-visibility-sensor": "^5.1.1",
|
|
81
|
-
"react-youtube": "^7.9.0",
|
|
82
|
-
"rimraf": "^3.0.2",
|
|
83
|
-
"rollup": "^2.7.3",
|
|
84
|
-
"rollup-plugin-babel": "3.0.7",
|
|
85
|
-
"rollup-plugin-commonjs": "9.3.4",
|
|
86
|
-
"rollup-plugin-node-builtins": "2.1.2",
|
|
87
|
-
"rollup-plugin-node-resolve": "3.4.0",
|
|
88
|
-
"rollup-plugin-postcss": "1.6.3",
|
|
89
|
-
"rollup-plugin-url": "1.4.0"
|
|
90
|
-
},
|
|
91
|
-
"files": [
|
|
92
|
-
"dist"
|
|
93
|
-
],
|
|
94
|
-
"dependencies": {
|
|
95
|
-
"babel-polyfill": "^6.26.0",
|
|
96
|
-
"cookie": "^0.4.1",
|
|
97
|
-
"disqus-react": "^1.0.11",
|
|
98
|
-
"faunadb": "^4.2.0",
|
|
99
|
-
"js-cookie": "^2.2.1",
|
|
100
|
-
"next-auth": "^3.2.0",
|
|
101
|
-
"next-cookies": "^2.0.3",
|
|
102
|
-
"node-fetch": "^2.6.1",
|
|
103
|
-
"nookies": "^2.4.0",
|
|
104
|
-
"react-cookies": "^0.1.1",
|
|
105
|
-
"react-facebook": "^8.1.4",
|
|
106
|
-
"react-instantsearch-dom": "^6.12.0",
|
|
107
|
-
"react-script-tag": "^1.1.2",
|
|
108
|
-
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
109
|
-
"shortid": "^2.2.15",
|
|
110
|
-
"smoothscroll-polyfill": "^0.4.4",
|
|
111
|
-
"striptags": "^3.1.1",
|
|
112
|
-
"superagent": "^5.2.2",
|
|
113
|
-
"yarn": "^1.22.11"
|
|
114
|
-
}
|
|
115
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@mjhls/mjh-framework",
|
|
3
|
+
"version": "1.0.961-keywords-segment-v1",
|
|
4
|
+
"description": "Foundation Framework",
|
|
5
|
+
"author": "mjh-framework",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "https://github.com/MJHLS/mjh-framework.git"
|
|
10
|
+
},
|
|
11
|
+
"main": "dist/cjs/index.js",
|
|
12
|
+
"module": "dist/esm/index.js",
|
|
13
|
+
"engines": {
|
|
14
|
+
"node": ">=8",
|
|
15
|
+
"npm": ">=5"
|
|
16
|
+
},
|
|
17
|
+
"scripts": {
|
|
18
|
+
"clean": "rimraf dist",
|
|
19
|
+
"test": "cross-env CI=1 react-scripts test --env=jsdom",
|
|
20
|
+
"test:watch": "react-scripts test --env=jsdom",
|
|
21
|
+
"build": "npm run clean && rollup -c",
|
|
22
|
+
"start": "npm run clean && rollup -c -w",
|
|
23
|
+
"prepare": "yarn run build",
|
|
24
|
+
"predeploy": "cd example && yarn install && yarn run build",
|
|
25
|
+
"deploy": "gh-pages -d example/build"
|
|
26
|
+
},
|
|
27
|
+
"peerDependencies": {
|
|
28
|
+
"disqus-react": "^1.0.11",
|
|
29
|
+
"next": "^9.0.0",
|
|
30
|
+
"prop-types": "^15.5.4",
|
|
31
|
+
"react": "^15.0.0 || ^16.0.0",
|
|
32
|
+
"react-bootstrap": "^1.0.0-beta.14",
|
|
33
|
+
"react-dom": "^15.0.0 || ^16.0.0",
|
|
34
|
+
"react-share": "^4.0.1"
|
|
35
|
+
},
|
|
36
|
+
"devDependencies": {
|
|
37
|
+
"@brightcove/react-player-loader": "^1.4.0",
|
|
38
|
+
"@rollup/plugin-json": "^4.0.3",
|
|
39
|
+
"@sanity/block-content-to-react": "^2.0.7",
|
|
40
|
+
"@sanity/image-url": "^0.140.15",
|
|
41
|
+
"@svgr/rollup": "2.4.1",
|
|
42
|
+
"babel-core": "^6.26.3",
|
|
43
|
+
"babel-eslint": "^8.2.5",
|
|
44
|
+
"babel-plugin-external-helpers": "^6.22.0",
|
|
45
|
+
"babel-plugin-transform-runtime": "^6.23.0",
|
|
46
|
+
"babel-preset-env": "^1.7.0",
|
|
47
|
+
"babel-preset-react": "^6.24.1",
|
|
48
|
+
"babel-preset-stage-0": "^6.24.1",
|
|
49
|
+
"cross-env": "^5.1.4",
|
|
50
|
+
"eslint": "^5.0.1",
|
|
51
|
+
"eslint-config-standard": "^11.0.0",
|
|
52
|
+
"eslint-config-standard-react": "^6.0.0",
|
|
53
|
+
"eslint-plugin-import": "^2.13.0",
|
|
54
|
+
"eslint-plugin-node": "^7.0.1",
|
|
55
|
+
"eslint-plugin-promise": "^4.0.0",
|
|
56
|
+
"eslint-plugin-react": "^7.10.0",
|
|
57
|
+
"eslint-plugin-react-hooks": "^2.3.0",
|
|
58
|
+
"eslint-plugin-standard": "^3.1.0",
|
|
59
|
+
"file-saver": "^2.0.5",
|
|
60
|
+
"get-youtube-id": "^1.0.1",
|
|
61
|
+
"gh-pages": "^1.2.0",
|
|
62
|
+
"lodash": "^4.17.15",
|
|
63
|
+
"md5": "^2.2.1",
|
|
64
|
+
"moment": "^2.26.0",
|
|
65
|
+
"moment-timezone": "^0.5.31",
|
|
66
|
+
"next": "^9.2.0",
|
|
67
|
+
"react": "^16.12.0",
|
|
68
|
+
"react-bootstrap": "1.4.0",
|
|
69
|
+
"react-device-detect": "^1.11.14",
|
|
70
|
+
"react-dfp": "^0.19.0",
|
|
71
|
+
"react-dom": "^16.12.0",
|
|
72
|
+
"react-icons": "^3.8.0",
|
|
73
|
+
"react-infinite-scroll-component": "^5.0.4",
|
|
74
|
+
"react-lazyload": "^2.6.5",
|
|
75
|
+
"react-paginate": "^7.1.3",
|
|
76
|
+
"react-player": "^1.15.2",
|
|
77
|
+
"react-scripts": "^1.1.4",
|
|
78
|
+
"react-share": "^4.0.1",
|
|
79
|
+
"react-social-icons": "^4.1.0",
|
|
80
|
+
"react-visibility-sensor": "^5.1.1",
|
|
81
|
+
"react-youtube": "^7.9.0",
|
|
82
|
+
"rimraf": "^3.0.2",
|
|
83
|
+
"rollup": "^2.7.3",
|
|
84
|
+
"rollup-plugin-babel": "3.0.7",
|
|
85
|
+
"rollup-plugin-commonjs": "9.3.4",
|
|
86
|
+
"rollup-plugin-node-builtins": "2.1.2",
|
|
87
|
+
"rollup-plugin-node-resolve": "3.4.0",
|
|
88
|
+
"rollup-plugin-postcss": "1.6.3",
|
|
89
|
+
"rollup-plugin-url": "1.4.0"
|
|
90
|
+
},
|
|
91
|
+
"files": [
|
|
92
|
+
"dist"
|
|
93
|
+
],
|
|
94
|
+
"dependencies": {
|
|
95
|
+
"babel-polyfill": "^6.26.0",
|
|
96
|
+
"cookie": "^0.4.1",
|
|
97
|
+
"disqus-react": "^1.0.11",
|
|
98
|
+
"faunadb": "^4.2.0",
|
|
99
|
+
"js-cookie": "^2.2.1",
|
|
100
|
+
"next-auth": "^3.2.0",
|
|
101
|
+
"next-cookies": "^2.0.3",
|
|
102
|
+
"node-fetch": "^2.6.1",
|
|
103
|
+
"nookies": "^2.4.0",
|
|
104
|
+
"react-cookies": "^0.1.1",
|
|
105
|
+
"react-facebook": "^8.1.4",
|
|
106
|
+
"react-instantsearch-dom": "^6.12.0",
|
|
107
|
+
"react-script-tag": "^1.1.2",
|
|
108
|
+
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
109
|
+
"shortid": "^2.2.15",
|
|
110
|
+
"smoothscroll-polyfill": "^0.4.4",
|
|
111
|
+
"striptags": "^3.1.1",
|
|
112
|
+
"superagent": "^5.2.2",
|
|
113
|
+
"yarn": "^1.22.11"
|
|
114
|
+
}
|
|
115
|
+
}
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var React = require('react');
|
|
4
|
-
var ReactPaginate = require('react-paginate');
|
|
5
|
-
var Button = require('react-bootstrap/Button');
|
|
6
|
-
var index_esm = require('./index.esm-d51c9ac6.js');
|
|
7
|
-
|
|
8
|
-
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
9
|
-
|
|
10
|
-
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
11
|
-
var ReactPaginate__default = /*#__PURE__*/_interopDefaultLegacy(ReactPaginate);
|
|
12
|
-
var Button__default = /*#__PURE__*/_interopDefaultLegacy(Button);
|
|
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['default'].createElement(
|
|
28
|
-
React__default['default'].Fragment,
|
|
29
|
-
null,
|
|
30
|
-
needLargePaginateButtons && React__default['default'].createElement(
|
|
31
|
-
'div',
|
|
32
|
-
{ className: 'pagination-lg-btn-nxt' },
|
|
33
|
-
React__default['default'].createElement(
|
|
34
|
-
Button__default['default'],
|
|
35
|
-
{
|
|
36
|
-
onClick: function onClick(e) {
|
|
37
|
-
e.preventDefault();
|
|
38
|
-
_onPageChange(currentPage + 1);
|
|
39
|
-
},
|
|
40
|
-
disabled: currentPage === pageCount,
|
|
41
|
-
href: '?page=' + (currentPage + 1) },
|
|
42
|
-
'NEXT PAGE',
|
|
43
|
-
React__default['default'].createElement(index_esm.FaArrowRight, { className: 'fa-arrow-right' })
|
|
44
|
-
)
|
|
45
|
-
),
|
|
46
|
-
React__default['default'].createElement(ReactPaginate__default['default'], {
|
|
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['default'].createElement(
|
|
67
|
-
'div',
|
|
68
|
-
{ className: 'pagination-lg-btn-prv' },
|
|
69
|
-
React__default['default'].createElement(
|
|
70
|
-
Button__default['default'],
|
|
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['default'].createElement(index_esm.FaArrowLeft, { className: 'fa-arrow-left' }),
|
|
79
|
-
'PREVIOUS PAGE'
|
|
80
|
-
)
|
|
81
|
-
),
|
|
82
|
-
React__default['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
|
-
exports.Pagination = Pagination;
|