@mjhls/mjh-framework 1.0.689 → 1.0.690
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 +172 -172
- package/dist/cjs/AD.js +10 -9
- package/dist/cjs/AD300x250.js +24 -23
- package/dist/cjs/AD300x250x600.js +24 -23
- package/dist/cjs/AD728x90.js +27 -26
- package/dist/cjs/ADFloatingFooter.js +29 -28
- package/dist/cjs/ADFooter.js +15 -14
- package/dist/cjs/ADGutter.js +26 -25
- package/dist/cjs/{ADInfeed-3410ab3c.js → ADInfeed-ba531ca6.js} +13 -11
- package/dist/cjs/ADSkyscraper.js +26 -25
- package/dist/cjs/ADSponsoredResources.js +26 -25
- package/dist/cjs/ADWebcast.js +26 -25
- package/dist/cjs/ADWelcome.js +30 -29
- package/dist/cjs/{ADlgInfeed-845aac15.js → ADlgInfeed-b0cc0e88.js} +9 -8
- package/dist/cjs/AccordionPanel.js +31 -29
- package/dist/cjs/AdSlot.js +30 -29
- package/dist/cjs/AdSlotsProvider.js +7 -6
- package/dist/cjs/AlphabeticList.js +25 -24
- package/dist/cjs/ArticleCarousel.js +22 -21
- package/dist/cjs/ArticleSeriesListing.js +58 -57
- package/dist/cjs/Auth.js +793 -557
- package/dist/cjs/{AuthorComponent-bb831b74.js → AuthorComponent-98ebefa4.js} +14 -13
- package/dist/cjs/Beam.js +9 -9
- package/dist/cjs/{BlockContent-88f69acd.js → BlockContent-bbc3be61.js} +25 -24
- package/dist/cjs/Breadcrumbs.js +29 -27
- package/dist/cjs/BrowseVideosListing.js +28 -27
- package/dist/cjs/CMEDeck.js +77 -77
- package/dist/cjs/Column1.js +14 -11
- package/dist/cjs/Column2.js +35 -32
- package/dist/cjs/Column3.js +57 -54
- package/dist/cjs/ConferenceArticleCard.js +38 -37
- package/dist/cjs/ConferenceBanner-6c9e718a.js +24 -0
- package/dist/cjs/DeckContent.js +106 -102
- package/dist/cjs/DeckQueue.js +90 -86
- package/dist/cjs/{Dfp-b2bc3b97.js → Dfp-76acc8c2.js} +31 -30
- package/dist/cjs/EventsDeck.js +153 -146
- package/dist/cjs/ExternalResources.js +73 -72
- package/dist/cjs/Feature.js +27 -25
- package/dist/cjs/ForbesHero.js +41 -40
- package/dist/cjs/GridContent.js +180 -176
- package/dist/cjs/GridHero.js +43 -42
- package/dist/cjs/GroupDeck.js +50 -49
- package/dist/cjs/HamMagazine.js +144 -139
- package/dist/cjs/Header.js +13 -11
- package/dist/cjs/Hero.js +13 -12
- package/dist/cjs/HighlightenVideo.js +18 -17
- package/dist/cjs/HorizontalHero.js +26 -25
- package/dist/cjs/IssueContentDeck.js +77 -72
- package/dist/cjs/IssueDeck.js +75 -70
- package/dist/cjs/IssueLanding.js +70 -69
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +37 -35
- package/dist/cjs/MasterDeck.js +81 -80
- package/dist/cjs/NavDvm.js +80 -75
- package/dist/cjs/{NavFooter-76c913e3.js → NavFooter-3dcd99a8.js} +15 -14
- package/dist/cjs/NavMagazine.js +153 -148
- package/dist/cjs/NavNative.js +128 -120
- package/dist/cjs/NavNormal.js +53 -48
- package/dist/cjs/OncliveHero.js +20 -20
- package/dist/cjs/OncliveLargeHero.js +67 -66
- package/dist/cjs/PageFilter.js +15 -14
- package/dist/cjs/PartnerDetailListing.js +1302 -104
- package/dist/cjs/PdfDownload.js +9 -8
- package/dist/cjs/PopUpModal.js +21 -19
- package/dist/cjs/PublicationDeck.js +66 -61
- package/dist/cjs/PublicationLanding.js +98 -94
- package/dist/cjs/QueueDeckExpanded.js +292 -292
- package/dist/cjs/RecentNews.js +24 -23
- package/dist/cjs/RelatedContent.js +53 -52
- package/dist/cjs/RelatedTopicsDropdown.js +32 -29
- package/dist/cjs/RolesDeck.js +32 -27
- package/dist/cjs/Search.js +22 -18
- package/dist/cjs/Segment.js +7 -7
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +38 -37
- package/dist/cjs/SocialIcons.js +10 -9
- package/dist/cjs/{SocialSearchComponent-6b5e5b47.js → SocialSearchComponent-de064e93.js} +38 -34
- package/dist/cjs/SocialShare.js +31 -29
- package/dist/cjs/TaxonomyCard.js +62 -57
- package/dist/cjs/TemplateNormal.js +72 -71
- package/dist/cjs/ThumbnailCard.js +22 -20
- package/dist/cjs/Ustream.js +27 -26
- package/dist/cjs/VerticalHero.js +18 -17
- package/dist/cjs/VideoSeriesCard.js +34 -33
- package/dist/cjs/VideoSeriesFilter.js +19 -19
- package/dist/cjs/VideoSeriesListing.js +72 -71
- package/dist/cjs/View.js +238 -235
- package/dist/cjs/YahooHero.js +40 -39
- package/dist/cjs/YoutubeGroup.js +69 -68
- package/dist/cjs/{_is-array-754e012d.js → _is-array-b1090e3d.js} +6 -6
- package/dist/cjs/{_iter-detect-60b2f026.js → _iter-detect-8decaf0f.js} +2 -2
- package/dist/cjs/{_object-sap-5e74ba08.js → _object-sap-b69cab35.js} +1 -1
- package/dist/cjs/{_set-species-f92c67c5.js → _set-species-5c9fd235.js} +4 -4
- package/dist/cjs/{_to-object-329a650b.js → _to-object-e2d5cc9d.js} +3 -3
- package/dist/cjs/{asyncToGenerator-533d476a.js → asyncToGenerator-a855b820.js} +6 -6
- package/dist/cjs/{brightcove-react-player-loader.es-156bd4d6.js → brightcove-react-player-loader.es-a195642e.js} +11 -9
- package/dist/cjs/{core.get-iterator-method-f62321d4.js → core.get-iterator-method-bf3fde8c.js} +2 -2
- package/dist/cjs/{define-property-f4d12f4e.js → define-property-1d75ae0f.js} +1 -1
- package/dist/cjs/{defineProperty-55548b25.js → defineProperty-16bd5829.js} +1 -1
- package/dist/cjs/{es6.string.iterator-cc0bbaa4.js → es6.string.iterator-e3ce14ae.js} +1 -1
- package/dist/cjs/{extends-60837c34.js → extends-a9da965c.js} +1 -1
- package/dist/cjs/getRelatedArticle.js +424 -13
- package/dist/cjs/getSerializers.js +39 -39
- package/dist/cjs/{getTargeting-fee8c429.js → getTargeting-d8df2f51.js} +11 -11
- package/dist/cjs/getTargeting.js +7 -7
- package/dist/cjs/iconBase-68959171.js +0 -3
- package/dist/cjs/{index-b5eb3ff8.js → index-10185024.js} +3 -3
- package/dist/cjs/{index-2d0a4911.js → index-5ad2b070.js} +12 -11
- package/dist/cjs/{index-5be2866f.js → index-6367b7bf.js} +16 -17
- package/dist/cjs/{index-da796b8c.js → index-80f57cff.js} +17 -15
- package/dist/cjs/index-bd6c9f56.js +211 -0
- package/dist/cjs/{index-44c25825.js → index-e1d6c590.js} +427 -417
- package/dist/cjs/{index.es-ab3f2690.js → index.es-f3e47207.js} +28 -11
- package/dist/cjs/{index.esm-ff47db6f.js → index.esm-05850a2f.js} +5 -12
- package/dist/cjs/{index.esm-66ffa47a.js → index.esm-3b9b8952.js} +4 -9
- package/dist/cjs/{index.esm-876ca9ff.js → index.esm-61650d1a.js} +5 -12
- package/dist/cjs/{index.esm-4d410430.js → index.esm-8123cf40.js} +20 -20
- package/dist/cjs/index.js +126 -127
- package/dist/cjs/{inherits-513d81cd.js → inherits-3affeccb.js} +8 -8
- package/dist/cjs/{keys-a586b7a0.js → keys-218a754a.js} +2 -2
- package/dist/cjs/{lodash-fc2922d0.js → lodash-7fd85bcf.js} +71 -22
- package/dist/cjs/{main-b6c96c8d.js → main-df97bfe9.js} +84 -79
- package/dist/cjs/{moment-66a6a284.js → moment-ca3bd9fb.js} +10 -8
- package/dist/cjs/{react-social-icons-f7f48f71.js → react-social-icons-af932527.js} +28 -27
- package/dist/cjs/{slicedToArray-8f385299.js → slicedToArray-5b1b0ed8.js} +4 -4
- package/dist/cjs/{smoothscroll-95231a70.js → smoothscroll-1abb448e.js} +1 -1
- package/dist/cjs/{stringify-7c5aff47.js → stringify-4f757ee6.js} +1 -1
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-9a3476fe.js → toConsumableArray-57153848.js} +4 -4
- package/dist/cjs/{typeof-725500bc.js → typeof-c69a5548.js} +6 -6
- package/dist/cjs/urlFor.js +2 -2
- package/dist/cjs/{visibility-sensor-0c45a583.js → visibility-sensor-8b54af99.js} +7 -5
- package/dist/cjs/{web.dom.iterable-a0e279c1.js → web.dom.iterable-0ffca19f.js} +3 -3
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +20 -20
- package/dist/esm/AD300x250x600.js +20 -20
- package/dist/esm/AD728x90.js +23 -23
- package/dist/esm/ADFloatingFooter.js +25 -25
- package/dist/esm/ADFooter.js +11 -11
- package/dist/esm/ADGutter.js +22 -22
- package/dist/esm/{ADInfeed-205cb7a9.js → ADInfeed-45191cf8.js} +7 -7
- package/dist/esm/ADSkyscraper.js +22 -22
- package/dist/esm/ADSponsoredResources.js +22 -22
- package/dist/esm/ADWebcast.js +22 -22
- package/dist/esm/ADWelcome.js +26 -26
- package/dist/esm/{ADlgInfeed-e538f17a.js → ADlgInfeed-1f8fc733.js} +6 -6
- package/dist/esm/AccordionPanel.js +24 -24
- package/dist/esm/AdSlot.js +21 -21
- package/dist/esm/AdSlotsProvider.js +3 -3
- package/dist/esm/AlphabeticList.js +21 -21
- package/dist/esm/ArticleCarousel.js +18 -18
- package/dist/esm/ArticleSeriesListing.js +52 -52
- package/dist/esm/Auth.js +775 -543
- package/dist/esm/{AuthorComponent-00f13201.js → AuthorComponent-30ec92a8.js} +11 -11
- package/dist/esm/Beam.js +9 -9
- package/dist/esm/{BlockContent-a614acdf.js → BlockContent-c5de3044.js} +4 -4
- package/dist/esm/Breadcrumbs.js +17 -17
- package/dist/esm/BrowseVideosListing.js +24 -24
- package/dist/esm/CMEDeck.js +73 -73
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +26 -26
- package/dist/esm/Column3.js +47 -47
- package/dist/esm/ConferenceArticleCard.js +33 -33
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/DeckContent.js +84 -84
- package/dist/esm/DeckQueue.js +64 -64
- package/dist/esm/{Dfp-8a8fca18.js → Dfp-8b5b19d0.js} +20 -20
- package/dist/esm/EventsDeck.js +99 -99
- package/dist/esm/ExternalResources.js +66 -66
- package/dist/esm/Feature.js +18 -18
- package/dist/esm/ForbesHero.js +34 -34
- package/dist/esm/GridContent.js +138 -138
- package/dist/esm/GridHero.js +36 -36
- package/dist/esm/GroupDeck.js +45 -45
- package/dist/esm/HamMagazine.js +113 -113
- package/dist/esm/Header.js +7 -7
- package/dist/esm/Hero.js +9 -9
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalHero.js +21 -21
- package/dist/esm/IssueContentDeck.js +49 -49
- package/dist/esm/IssueDeck.js +46 -46
- package/dist/esm/IssueLanding.js +66 -66
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +31 -31
- package/dist/esm/MasterDeck.js +74 -74
- package/dist/esm/NavDvm.js +57 -57
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +124 -124
- package/dist/esm/NavNative.js +98 -98
- package/dist/esm/NavNormal.js +36 -36
- package/dist/esm/OncliveHero.js +16 -17
- package/dist/esm/OncliveLargeHero.js +59 -59
- package/dist/esm/PageFilter.js +12 -12
- package/dist/esm/PartnerDetailListing.js +1296 -100
- package/dist/esm/PdfDownload.js +6 -6
- package/dist/esm/PopUpModal.js +14 -14
- package/dist/esm/PublicationDeck.js +38 -38
- package/dist/esm/PublicationLanding.js +75 -75
- package/dist/esm/QueueDeckExpanded.js +272 -272
- package/dist/esm/RecentNews.js +20 -20
- package/dist/esm/RelatedContent.js +47 -47
- package/dist/esm/RelatedTopicsDropdown.js +21 -21
- package/dist/esm/RolesDeck.js +13 -13
- package/dist/esm/Search.js +12 -12
- package/dist/esm/Segment.js +7 -7
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +33 -33
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-7f14e0f3.js → SocialSearchComponent-cddc9ce1.js} +26 -26
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +41 -41
- package/dist/esm/TemplateNormal.js +65 -65
- package/dist/esm/ThumbnailCard.js +13 -13
- package/dist/esm/Ustream.js +23 -23
- package/dist/esm/VerticalHero.js +13 -13
- package/dist/esm/VideoSeriesCard.js +25 -25
- package/dist/esm/VideoSeriesFilter.js +16 -16
- package/dist/esm/VideoSeriesListing.js +65 -65
- package/dist/esm/View.js +224 -225
- package/dist/esm/YahooHero.js +34 -34
- package/dist/esm/YoutubeGroup.js +53 -53
- package/dist/esm/{_is-array-49698029.js → _is-array-ffa65b7e.js} +6 -6
- package/dist/esm/{_iter-detect-59409a32.js → _iter-detect-256a4d61.js} +2 -2
- package/dist/esm/{_object-sap-4d59d5bd.js → _object-sap-0cecd031.js} +1 -1
- package/dist/esm/{_set-species-cede29f8.js → _set-species-09ba387c.js} +4 -4
- package/dist/esm/{_to-object-ded78eb9.js → _to-object-ee10dabb.js} +4 -4
- package/dist/esm/{asyncToGenerator-7c654f36.js → asyncToGenerator-b0af4000.js} +6 -6
- package/dist/esm/{brightcove-react-player-loader.es-83f53e4e.js → brightcove-react-player-loader.es-b43c695a.js} +7 -6
- package/dist/esm/{core.get-iterator-method-54d2e411.js → core.get-iterator-method-0e6dc181.js} +2 -2
- package/dist/esm/{define-property-de3fc946.js → define-property-e013aae3.js} +1 -1
- package/dist/esm/{defineProperty-b798470d.js → defineProperty-2385da87.js} +1 -1
- package/dist/esm/{es6.string.iterator-9b2af4a5.js → es6.string.iterator-c5179428.js} +2 -2
- package/dist/esm/{extends-cc5da797.js → extends-03593dc6.js} +1 -1
- package/dist/esm/getRelatedArticle.js +424 -13
- package/dist/esm/getSerializers.js +39 -39
- package/dist/esm/{getTargeting-2acdec91.js → getTargeting-60717d7f.js} +11 -11
- package/dist/esm/getTargeting.js +7 -7
- package/dist/esm/{index-51a80699.js → index-4de5c15f.js} +3 -3
- package/dist/esm/{index-93ec3c59.js → index-669ff425.js} +6 -6
- package/dist/esm/{index-5f9f807a.js → index-752d1dae.js} +10 -10
- package/dist/esm/{index-d2f90501.js → index-c00b0bbb.js} +16 -17
- package/dist/esm/{index-8a757d91.js → index-cbd95715.js} +373 -369
- package/dist/esm/index-db3bb315.js +207 -0
- package/dist/esm/{index.es-938a3a58.js → index.es-c6222053.js} +25 -9
- package/dist/esm/{index.esm-85cb09e6.js → index.esm-79385203.js} +5 -12
- package/dist/esm/{index.esm-fd746768.js → index.esm-8016b507.js} +17 -18
- package/dist/esm/{index.esm-cf08bf18.js → index.esm-a8ff922c.js} +5 -12
- package/dist/esm/{index.esm-b08f4b04.js → index.esm-d6f88d94.js} +4 -9
- package/dist/esm/index.js +104 -105
- package/dist/esm/{inherits-7ee3e0c1.js → inherits-d88f5b29.js} +5 -5
- package/dist/esm/{keys-fc2d4c34.js → keys-618df59d.js} +2 -2
- package/dist/esm/{lodash-17fdfebb.js → lodash-ec8c6b48.js} +71 -22
- package/dist/esm/{main-0465b2a0.js → main-a2443735.js} +84 -80
- package/dist/esm/{moment-12415288.js → moment-b6f49411.js} +10 -8
- package/dist/esm/{react-social-icons-a7d5c5c7.js → react-social-icons-91f9716f.js} +20 -20
- package/dist/esm/{slicedToArray-7021e5df.js → slicedToArray-648674b3.js} +4 -4
- package/dist/esm/{smoothscroll-4b699764.js → smoothscroll-ab6e0238.js} +1 -1
- package/dist/esm/{stringify-008c8802.js → stringify-7c97a94d.js} +1 -1
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-725434a0.js → toConsumableArray-aa76a4fe.js} +4 -4
- package/dist/esm/{typeof-08f2c380.js → typeof-5c759779.js} +6 -6
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/{visibility-sensor-0baa4eea.js → visibility-sensor-082c757b.js} +2 -2
- package/dist/esm/{web.dom.iterable-8956f9a5.js → web.dom.iterable-de3b4afb.js} +3 -3
- package/package.json +107 -107
- package/dist/cjs/ConferenceBanner-4a16fddc.js +0 -23
package/dist/esm/DeckContent.js
CHANGED
|
@@ -1,44 +1,44 @@
|
|
|
1
|
-
import './
|
|
2
|
-
import './
|
|
3
|
-
import './
|
|
4
|
-
import '
|
|
5
|
-
import './
|
|
6
|
-
import { _ as _toConsumableArray } from './toConsumableArray-725434a0.js';
|
|
7
|
-
import './core.get-iterator-method-54d2e411.js';
|
|
8
|
-
import './_object-pie-71ac75a4.js';
|
|
9
|
-
import { _ as _extends } from './extends-cc5da797.js';
|
|
10
|
-
import './_object-sap-4d59d5bd.js';
|
|
11
|
-
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-7ee3e0c1.js';
|
|
12
|
-
import './define-property-de3fc946.js';
|
|
13
|
-
import './web.dom.iterable-8956f9a5.js';
|
|
14
|
-
import './typeof-08f2c380.js';
|
|
15
|
-
import './_is-array-49698029.js';
|
|
16
|
-
import React__default from 'react';
|
|
17
|
-
import { l as lib_3 } from './index-93ec3c59.js';
|
|
18
|
-
import 'prop-types';
|
|
1
|
+
import { _ as _toConsumableArray } from './toConsumableArray-aa76a4fe.js';
|
|
2
|
+
import { _ as _extends } from './extends-03593dc6.js';
|
|
3
|
+
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-d88f5b29.js';
|
|
4
|
+
import React from 'react';
|
|
5
|
+
import { l as lib_3 } from './index-669ff425.js';
|
|
19
6
|
import Container from 'react-bootstrap/Container';
|
|
20
7
|
import Row from 'react-bootstrap/Row';
|
|
21
8
|
import Col from 'react-bootstrap/Col';
|
|
22
9
|
import Card from 'react-bootstrap/Card';
|
|
23
|
-
import { m as moment } from './moment-
|
|
10
|
+
import { m as moment } from './moment-b6f49411.js';
|
|
24
11
|
import { withRouter } from 'next/router';
|
|
25
|
-
import './isSymbol-807e927e.js';
|
|
26
12
|
import { d as debounce_1 } from './debounce-1a993acf.js';
|
|
27
|
-
import { I as InfiniteScroll } from './index.es-
|
|
28
|
-
import '
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import { m as main_39 } from './main-0465b2a0.js';
|
|
13
|
+
import { I as InfiniteScroll } from './index.es-c6222053.js';
|
|
14
|
+
import { V as VisibilitySensor } from './visibility-sensor-082c757b.js';
|
|
15
|
+
import { i as imageUrlBuilder } from './index-4de5c15f.js';
|
|
16
|
+
import { L as LazyLoad } from './index-752d1dae.js';
|
|
17
|
+
import { m as main_40 } from './main-a2443735.js';
|
|
33
18
|
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
34
|
-
import './
|
|
35
|
-
import './
|
|
36
|
-
import './
|
|
37
|
-
import './
|
|
38
|
-
import './
|
|
39
|
-
import './
|
|
19
|
+
import { A as ADInfeed } from './ADInfeed-45191cf8.js';
|
|
20
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
21
|
+
import './es6.string.iterator-c5179428.js';
|
|
22
|
+
import './_to-object-ee10dabb.js';
|
|
23
|
+
import './_iter-detect-256a4d61.js';
|
|
24
|
+
import './core.get-iterator-method-0e6dc181.js';
|
|
25
|
+
import './_object-pie-71ac75a4.js';
|
|
26
|
+
import './_object-sap-0cecd031.js';
|
|
27
|
+
import './define-property-e013aae3.js';
|
|
28
|
+
import './typeof-5c759779.js';
|
|
29
|
+
import './web.dom.iterable-de3b4afb.js';
|
|
30
|
+
import './_is-array-ffa65b7e.js';
|
|
31
|
+
import './_library-528f1934.js';
|
|
32
|
+
import 'prop-types';
|
|
33
|
+
import './isSymbol-807e927e.js';
|
|
34
|
+
import 'react-dom';
|
|
35
|
+
import './stringify-7c97a94d.js';
|
|
36
|
+
import './slicedToArray-648674b3.js';
|
|
40
37
|
import './AdSlot.js';
|
|
41
|
-
import
|
|
38
|
+
import './Beam.js';
|
|
39
|
+
import './asyncToGenerator-b0af4000.js';
|
|
40
|
+
import './_set-species-09ba387c.js';
|
|
41
|
+
import './Segment.js';
|
|
42
42
|
|
|
43
43
|
var DeckContent = function (_React$Component) {
|
|
44
44
|
_inherits(DeckContent, _React$Component);
|
|
@@ -179,14 +179,14 @@ var DeckContent = function (_React$Component) {
|
|
|
179
179
|
var newPath = pageNumber === 1 ? '' + path : path + '?page=' + pageNumber;
|
|
180
180
|
|
|
181
181
|
// please leave this for later debug purpose : Yong Jun.
|
|
182
|
-
/* console.log('page change reported', {
|
|
183
|
-
currentPage: currentPage,
|
|
184
|
-
pageNumber: pageNumber,
|
|
185
|
-
pathname: pathname,
|
|
186
|
-
path: path,
|
|
187
|
-
newPath: newPath,
|
|
188
|
-
firstPage: pageNumber === 1,
|
|
189
|
-
queryString: queryString
|
|
182
|
+
/* console.log('page change reported', {
|
|
183
|
+
currentPage: currentPage,
|
|
184
|
+
pageNumber: pageNumber,
|
|
185
|
+
pathname: pathname,
|
|
186
|
+
path: path,
|
|
187
|
+
newPath: newPath,
|
|
188
|
+
firstPage: pageNumber === 1,
|
|
189
|
+
queryString: queryString
|
|
190
190
|
}) */
|
|
191
191
|
|
|
192
192
|
if (pageview) {
|
|
@@ -206,35 +206,35 @@ var DeckContent = function (_React$Component) {
|
|
|
206
206
|
url = authorDetail.url;
|
|
207
207
|
|
|
208
208
|
if (displayName && url && url.current) {
|
|
209
|
-
return
|
|
209
|
+
return React.createElement(
|
|
210
210
|
'div',
|
|
211
211
|
{ key: _id },
|
|
212
|
-
index === 0 &&
|
|
212
|
+
index === 0 && React.createElement(
|
|
213
213
|
'span',
|
|
214
214
|
{ className: 'pr-1' },
|
|
215
215
|
'By'
|
|
216
216
|
),
|
|
217
|
-
|
|
217
|
+
React.createElement(
|
|
218
218
|
'a',
|
|
219
219
|
{ href: '/authors/${url.current}', className: 'text-muted' },
|
|
220
220
|
displayName,
|
|
221
|
-
length !== index + 1 &&
|
|
221
|
+
length !== index + 1 && React.createElement('br', null)
|
|
222
222
|
)
|
|
223
223
|
);
|
|
224
224
|
} else if (displayName) {
|
|
225
|
-
return
|
|
225
|
+
return React.createElement(
|
|
226
226
|
'div',
|
|
227
227
|
{ key: _id },
|
|
228
|
-
index === 0 &&
|
|
228
|
+
index === 0 && React.createElement(
|
|
229
229
|
'span',
|
|
230
230
|
{ className: 'pr-1' },
|
|
231
231
|
'By'
|
|
232
232
|
),
|
|
233
|
-
|
|
233
|
+
React.createElement(
|
|
234
234
|
'span',
|
|
235
235
|
{ className: 'text-muted' },
|
|
236
236
|
displayName,
|
|
237
|
-
length !== index + 1 &&
|
|
237
|
+
length !== index + 1 && React.createElement('br', null)
|
|
238
238
|
)
|
|
239
239
|
);
|
|
240
240
|
}
|
|
@@ -276,7 +276,7 @@ var DeckContent = function (_React$Component) {
|
|
|
276
276
|
articles = _this.state.data;
|
|
277
277
|
}
|
|
278
278
|
|
|
279
|
-
return
|
|
279
|
+
return React.createElement(
|
|
280
280
|
Row,
|
|
281
281
|
null,
|
|
282
282
|
articles && articles.map(function (row, index) {
|
|
@@ -288,51 +288,51 @@ var DeckContent = function (_React$Component) {
|
|
|
288
288
|
lgVar = 6;
|
|
289
289
|
}
|
|
290
290
|
if (row._type === 'BrandInsight' && row.adUnit) {
|
|
291
|
-
return
|
|
291
|
+
return React.createElement(ADInfeed, { index: index, infeedAd: row });
|
|
292
292
|
} else {
|
|
293
293
|
var pageNumber = row.pageNumber || _this.state.page;
|
|
294
294
|
var contentCategoryName = row.contentCategory && row.contentCategory.name && _this.mapping[row.contentCategory.name] ? row.contentCategory.name : 'Articles';
|
|
295
|
-
return
|
|
296
|
-
|
|
295
|
+
return React.createElement(
|
|
296
|
+
React.Fragment,
|
|
297
297
|
{ key: itemCounter },
|
|
298
|
-
|
|
298
|
+
React.createElement(
|
|
299
299
|
VisibilitySensor,
|
|
300
300
|
{
|
|
301
301
|
onChange: function onChange(isVisible) {
|
|
302
302
|
isVisible && _this.changePageNumber(pageNumber);
|
|
303
303
|
} },
|
|
304
|
-
|
|
304
|
+
React.createElement(
|
|
305
305
|
Col,
|
|
306
306
|
{ md: 12, lg: lgVar, counter: itemCounter++, style: { display: 'flex', flex: '1 0 auto' } },
|
|
307
|
-
|
|
307
|
+
React.createElement(
|
|
308
308
|
Card,
|
|
309
309
|
{ className: 'content-card', style: { flexDirection: mode } },
|
|
310
|
-
(row.thumbnail && row.thumbnail.asset || _this.props.defaultImage) &&
|
|
310
|
+
(row.thumbnail && row.thumbnail.asset || _this.props.defaultImage) && React.createElement(
|
|
311
311
|
'a',
|
|
312
312
|
{ href: _this.mapping[contentCategoryName] + '/' + row.url.current },
|
|
313
|
-
|
|
313
|
+
React.createElement(
|
|
314
314
|
LazyLoad,
|
|
315
315
|
{ height: _this.props.imageHeight },
|
|
316
|
-
|
|
316
|
+
React.createElement(Card.Img, {
|
|
317
317
|
variant: 'top',
|
|
318
318
|
src: _this.renderCardImage(row, page),
|
|
319
319
|
alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : ''
|
|
320
320
|
})
|
|
321
321
|
)
|
|
322
322
|
),
|
|
323
|
-
|
|
323
|
+
React.createElement(
|
|
324
324
|
Card.Body,
|
|
325
325
|
null,
|
|
326
|
-
|
|
326
|
+
React.createElement(
|
|
327
327
|
'a',
|
|
328
328
|
{ href: _this.mapping[contentCategoryName] + '/' + row.url.current },
|
|
329
|
-
|
|
329
|
+
React.createElement(
|
|
330
330
|
Card.Title,
|
|
331
331
|
null,
|
|
332
332
|
row.title
|
|
333
333
|
)
|
|
334
334
|
),
|
|
335
|
-
_this.props.showPublished && row.published &&
|
|
335
|
+
_this.props.showPublished && row.published && React.createElement(
|
|
336
336
|
Card.Subtitle,
|
|
337
337
|
null,
|
|
338
338
|
moment(row.published).format('MMMM DD, YYYY')
|
|
@@ -340,7 +340,7 @@ var DeckContent = function (_React$Component) {
|
|
|
340
340
|
_this.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 && row.authorMapping.map(function (authorDetail, index) {
|
|
341
341
|
return _this.renderAuthor(authorDetail, index, row.authorMapping.length);
|
|
342
342
|
}),
|
|
343
|
-
|
|
343
|
+
React.createElement(
|
|
344
344
|
Card.Text,
|
|
345
345
|
null,
|
|
346
346
|
clean_html_1(row.summary)
|
|
@@ -349,7 +349,7 @@ var DeckContent = function (_React$Component) {
|
|
|
349
349
|
)
|
|
350
350
|
)
|
|
351
351
|
),
|
|
352
|
-
|
|
352
|
+
main_40 && _this.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
353
353
|
);
|
|
354
354
|
}
|
|
355
355
|
})
|
|
@@ -358,7 +358,7 @@ var DeckContent = function (_React$Component) {
|
|
|
358
358
|
var rightItems = _this.props.rightItems;
|
|
359
359
|
|
|
360
360
|
var i = ((index + 1) / numberOfItemsBeforeAd - 1) % rightItems.length;
|
|
361
|
-
return
|
|
361
|
+
return React.createElement(
|
|
362
362
|
Col,
|
|
363
363
|
{ md: 12, style: { display: 'flex', flex: '1 0 auto' } },
|
|
364
364
|
rightItems[i].component
|
|
@@ -366,15 +366,15 @@ var DeckContent = function (_React$Component) {
|
|
|
366
366
|
}, _this.renderManualPagination = function () {
|
|
367
367
|
var currentPage = _this.state.currentPage;
|
|
368
368
|
|
|
369
|
-
return
|
|
369
|
+
return React.createElement(
|
|
370
370
|
'div',
|
|
371
371
|
{ className: 'd-flex justify-content-between' },
|
|
372
|
-
currentPage && currentPage > 1 &&
|
|
372
|
+
currentPage && currentPage > 1 && React.createElement(
|
|
373
373
|
'a',
|
|
374
374
|
{ href: '?page=' + (currentPage - 1) },
|
|
375
375
|
'<< Previous'
|
|
376
376
|
),
|
|
377
|
-
|
|
377
|
+
React.createElement(
|
|
378
378
|
'a',
|
|
379
379
|
{ href: '?page=' + (currentPage + 1) },
|
|
380
380
|
'Next >>'
|
|
@@ -420,38 +420,38 @@ var DeckContent = function (_React$Component) {
|
|
|
420
420
|
brandInsight = _props.brandInsight;
|
|
421
421
|
|
|
422
422
|
|
|
423
|
-
return
|
|
423
|
+
return React.createElement(
|
|
424
424
|
'div',
|
|
425
425
|
{ className: 'contentDeck' },
|
|
426
|
-
autoScroll ?
|
|
427
|
-
|
|
426
|
+
autoScroll ? React.createElement(
|
|
427
|
+
React.Fragment,
|
|
428
428
|
null,
|
|
429
|
-
|
|
429
|
+
React.createElement(
|
|
430
430
|
InfiniteScroll,
|
|
431
431
|
{ dataLength: this.state.data.length, next: this.loadMore, hasMore: this.state.scrolling, scrollThreshold: 0.9 },
|
|
432
|
-
|
|
432
|
+
React.createElement(
|
|
433
433
|
Container,
|
|
434
434
|
null,
|
|
435
435
|
this.cardLoader(page, columns, variant, showBI, brandInsight)
|
|
436
436
|
)
|
|
437
437
|
),
|
|
438
|
-
|
|
438
|
+
React.createElement(
|
|
439
439
|
'noscript',
|
|
440
440
|
null,
|
|
441
441
|
this.renderManualPagination()
|
|
442
442
|
)
|
|
443
|
-
) :
|
|
444
|
-
|
|
443
|
+
) : React.createElement(
|
|
444
|
+
React.Fragment,
|
|
445
445
|
null,
|
|
446
|
-
|
|
446
|
+
React.createElement(
|
|
447
447
|
Container,
|
|
448
448
|
null,
|
|
449
449
|
this.cardLoader(page, columns, variant, showBI, brandInsight)
|
|
450
450
|
),
|
|
451
|
-
|
|
451
|
+
React.createElement(
|
|
452
452
|
'div',
|
|
453
453
|
{ style: { padding: '0px 10px' } },
|
|
454
|
-
this.state.scrolling ?
|
|
454
|
+
this.state.scrolling ? React.createElement(
|
|
455
455
|
'button',
|
|
456
456
|
{
|
|
457
457
|
style: { margin: 'auto', width: '100%' },
|
|
@@ -459,17 +459,17 @@ var DeckContent = function (_React$Component) {
|
|
|
459
459
|
_this2.loadMore();
|
|
460
460
|
} },
|
|
461
461
|
'Load More'
|
|
462
|
-
) :
|
|
462
|
+
) : React.createElement(
|
|
463
463
|
'p',
|
|
464
464
|
{ style: { textAlign: 'center' } },
|
|
465
|
-
|
|
465
|
+
React.createElement(
|
|
466
466
|
'b',
|
|
467
467
|
null,
|
|
468
468
|
'End of data'
|
|
469
469
|
)
|
|
470
470
|
)
|
|
471
471
|
),
|
|
472
|
-
|
|
472
|
+
React.createElement(
|
|
473
473
|
'noscript',
|
|
474
474
|
null,
|
|
475
475
|
this.renderManualPagination()
|
|
@@ -480,7 +480,7 @@ var DeckContent = function (_React$Component) {
|
|
|
480
480
|
}]);
|
|
481
481
|
|
|
482
482
|
return DeckContent;
|
|
483
|
-
}(
|
|
483
|
+
}(React.Component);
|
|
484
484
|
|
|
485
485
|
var ContentCard = withRouter(DeckContent);
|
|
486
486
|
|
package/dist/esm/DeckQueue.js
CHANGED
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
import './
|
|
2
|
-
import './
|
|
3
|
-
import './
|
|
4
|
-
import '
|
|
5
|
-
import './
|
|
6
|
-
import { _ as _toConsumableArray } from './toConsumableArray-725434a0.js';
|
|
7
|
-
import './core.get-iterator-method-54d2e411.js';
|
|
8
|
-
import './_object-pie-71ac75a4.js';
|
|
9
|
-
import { _ as _extends } from './extends-cc5da797.js';
|
|
10
|
-
import './_object-sap-4d59d5bd.js';
|
|
11
|
-
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-7ee3e0c1.js';
|
|
12
|
-
import './define-property-de3fc946.js';
|
|
13
|
-
import './web.dom.iterable-8956f9a5.js';
|
|
14
|
-
import './typeof-08f2c380.js';
|
|
15
|
-
import './_is-array-49698029.js';
|
|
16
|
-
import React__default from 'react';
|
|
17
|
-
import { l as lib_3 } from './index-93ec3c59.js';
|
|
18
|
-
import 'prop-types';
|
|
1
|
+
import { _ as _toConsumableArray } from './toConsumableArray-aa76a4fe.js';
|
|
2
|
+
import { _ as _extends } from './extends-03593dc6.js';
|
|
3
|
+
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-d88f5b29.js';
|
|
4
|
+
import React from 'react';
|
|
5
|
+
import { l as lib_3 } from './index-669ff425.js';
|
|
19
6
|
import Container from 'react-bootstrap/Container';
|
|
20
7
|
import Row from 'react-bootstrap/Row';
|
|
21
8
|
import Col from 'react-bootstrap/Col';
|
|
22
9
|
import Card from 'react-bootstrap/Card';
|
|
23
|
-
import {
|
|
10
|
+
import { V as VisibilitySensor } from './visibility-sensor-082c757b.js';
|
|
11
|
+
import { m as moment } from './moment-b6f49411.js';
|
|
24
12
|
import { withRouter } from 'next/router';
|
|
25
|
-
import './
|
|
13
|
+
import { L as LazyLoad } from './index-752d1dae.js';
|
|
14
|
+
import { g as get_1 } from './get-5ee14cda.js';
|
|
26
15
|
import { d as debounce_1 } from './debounce-1a993acf.js';
|
|
27
|
-
import { I as InfiniteScroll } from './index.es-
|
|
28
|
-
import '
|
|
29
|
-
import {
|
|
30
|
-
import { i as imageUrlBuilder } from './index-51a80699.js';
|
|
31
|
-
import { L as LazyLoad } from './index-5f9f807a.js';
|
|
32
|
-
import { m as main_39 } from './main-0465b2a0.js';
|
|
16
|
+
import { I as InfiniteScroll } from './index.es-c6222053.js';
|
|
17
|
+
import { i as imageUrlBuilder } from './index-4de5c15f.js';
|
|
18
|
+
import { m as main_40 } from './main-a2443735.js';
|
|
33
19
|
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
34
|
-
import
|
|
20
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
21
|
+
import './es6.string.iterator-c5179428.js';
|
|
22
|
+
import './_to-object-ee10dabb.js';
|
|
23
|
+
import './_iter-detect-256a4d61.js';
|
|
24
|
+
import './core.get-iterator-method-0e6dc181.js';
|
|
25
|
+
import './_object-pie-71ac75a4.js';
|
|
26
|
+
import './_object-sap-0cecd031.js';
|
|
27
|
+
import './define-property-e013aae3.js';
|
|
28
|
+
import './typeof-5c759779.js';
|
|
29
|
+
import './web.dom.iterable-de3b4afb.js';
|
|
30
|
+
import './_is-array-ffa65b7e.js';
|
|
31
|
+
import './_library-528f1934.js';
|
|
32
|
+
import 'prop-types';
|
|
33
|
+
import 'react-dom';
|
|
34
|
+
import './isSymbol-807e927e.js';
|
|
35
35
|
|
|
36
36
|
var DeckQueue = function (_React$Component) {
|
|
37
37
|
_inherits(DeckQueue, _React$Component);
|
|
@@ -183,7 +183,7 @@ var DeckQueue = function (_React$Component) {
|
|
|
183
183
|
var rightItems = _this.props.rightItems;
|
|
184
184
|
|
|
185
185
|
var i = ((index + 1) / numberOfItemsBeforeAd - 1) % rightItems.length;
|
|
186
|
-
return
|
|
186
|
+
return React.createElement(
|
|
187
187
|
'div',
|
|
188
188
|
{ style: { display: 'flex', flex: '1 0 auto' } },
|
|
189
189
|
rightItems[i].component
|
|
@@ -191,15 +191,15 @@ var DeckQueue = function (_React$Component) {
|
|
|
191
191
|
}, _this.renderManualPagination = function () {
|
|
192
192
|
var currentPage = _this.state.currentPage;
|
|
193
193
|
|
|
194
|
-
return
|
|
194
|
+
return React.createElement(
|
|
195
195
|
'div',
|
|
196
196
|
{ className: 'd-flex justify-content-between' },
|
|
197
|
-
currentPage && currentPage > 1 &&
|
|
197
|
+
currentPage && currentPage > 1 && React.createElement(
|
|
198
198
|
'a',
|
|
199
199
|
{ href: '?page=' + (currentPage - 1) },
|
|
200
200
|
'<< Previous'
|
|
201
201
|
),
|
|
202
|
-
|
|
202
|
+
React.createElement(
|
|
203
203
|
'a',
|
|
204
204
|
{ href: '?page=' + (currentPage + 1) },
|
|
205
205
|
'Next >>'
|
|
@@ -217,78 +217,78 @@ var DeckQueue = function (_React$Component) {
|
|
|
217
217
|
var lgVar = Math.floor(12 / columns);
|
|
218
218
|
var numberOfItemsBeforeAd = 6;
|
|
219
219
|
|
|
220
|
-
return
|
|
220
|
+
return React.createElement(
|
|
221
221
|
Row,
|
|
222
222
|
null,
|
|
223
223
|
this.state.data && this.state.data.map(function (row, index) {
|
|
224
224
|
var pageNumber = row.pageNumber || _this2.state.page;
|
|
225
225
|
// const thumbnailURL = get(row, 'thumbnail.asset.url', this.props.defaultImage)
|
|
226
226
|
|
|
227
|
-
return
|
|
228
|
-
|
|
227
|
+
return React.createElement(
|
|
228
|
+
React.Fragment,
|
|
229
229
|
{ key: index },
|
|
230
|
-
|
|
230
|
+
React.createElement(
|
|
231
231
|
VisibilitySensor,
|
|
232
232
|
{
|
|
233
233
|
onChange: function onChange(isVisible) {
|
|
234
234
|
isVisible && _this2.changePageNumber(pageNumber);
|
|
235
235
|
} },
|
|
236
|
-
|
|
236
|
+
React.createElement(
|
|
237
237
|
Col,
|
|
238
238
|
{ md: 12, lg: lgVar, style: { display: 'flex', flex: '1 0 auto' } },
|
|
239
|
-
|
|
239
|
+
React.createElement(
|
|
240
240
|
Card,
|
|
241
241
|
{ className: 'queue-card', style: { borderTop: '1px solid #EEE' } },
|
|
242
|
-
|
|
242
|
+
React.createElement(
|
|
243
243
|
Row,
|
|
244
244
|
{ style: { flexDirection: mode } },
|
|
245
|
-
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) &&
|
|
245
|
+
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) && React.createElement(
|
|
246
246
|
Col,
|
|
247
247
|
{ md: 12, lg: 4 },
|
|
248
|
-
|
|
248
|
+
React.createElement(
|
|
249
249
|
'a',
|
|
250
250
|
{ href: _this2.page + '/' + get_1(row, 'url.current') },
|
|
251
|
-
|
|
251
|
+
React.createElement(
|
|
252
252
|
LazyLoad,
|
|
253
253
|
{ height: _this2.props.imageHeight },
|
|
254
|
-
|
|
254
|
+
React.createElement(Card.Img, { variant: 'top', src: _this2.renderCardImage(row), alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : '' })
|
|
255
255
|
)
|
|
256
256
|
)
|
|
257
257
|
),
|
|
258
|
-
|
|
258
|
+
React.createElement(
|
|
259
259
|
Col,
|
|
260
260
|
null,
|
|
261
|
-
|
|
261
|
+
React.createElement(
|
|
262
262
|
Card.Body,
|
|
263
263
|
{ style: { padding: '20px' } },
|
|
264
|
-
row.title &&
|
|
264
|
+
row.title && React.createElement(
|
|
265
265
|
Card.Title,
|
|
266
266
|
null,
|
|
267
|
-
|
|
267
|
+
React.createElement(
|
|
268
268
|
'a',
|
|
269
269
|
{ href: _this2.page + '/' + get_1(row, 'url.current') },
|
|
270
270
|
row.title
|
|
271
271
|
)
|
|
272
272
|
),
|
|
273
|
-
_this2.props.showPublished && row.published &&
|
|
273
|
+
_this2.props.showPublished && row.published && React.createElement(
|
|
274
274
|
Card.Subtitle,
|
|
275
275
|
null,
|
|
276
276
|
moment(row.published).format('MMMM DD, YYYY')
|
|
277
277
|
),
|
|
278
|
-
_this2.props.showRecent && row.recent && row.recent.title &&
|
|
278
|
+
_this2.props.showRecent && row.recent && row.recent.title && React.createElement(
|
|
279
279
|
Card.Subtitle,
|
|
280
280
|
null,
|
|
281
281
|
'Recent : ',
|
|
282
|
-
|
|
282
|
+
React.createElement(
|
|
283
283
|
'a',
|
|
284
284
|
{ href: 'view/' + row.recent.url.current },
|
|
285
285
|
row.recent.title
|
|
286
286
|
)
|
|
287
287
|
),
|
|
288
|
-
row.summary &&
|
|
288
|
+
row.summary && React.createElement(
|
|
289
289
|
Card.Text,
|
|
290
290
|
null,
|
|
291
|
-
|
|
291
|
+
React.createElement(
|
|
292
292
|
'a',
|
|
293
293
|
{ href: _this2.page + '/' + get_1(row, 'url.current') },
|
|
294
294
|
clean_html_1(row.summary)
|
|
@@ -300,7 +300,7 @@ var DeckQueue = function (_React$Component) {
|
|
|
300
300
|
)
|
|
301
301
|
)
|
|
302
302
|
),
|
|
303
|
-
|
|
303
|
+
main_40 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
304
304
|
);
|
|
305
305
|
})
|
|
306
306
|
);
|
|
@@ -317,29 +317,29 @@ var DeckQueue = function (_React$Component) {
|
|
|
317
317
|
page = _props.page;
|
|
318
318
|
|
|
319
319
|
|
|
320
|
-
return
|
|
320
|
+
return React.createElement(
|
|
321
321
|
'div',
|
|
322
322
|
{ className: 'contentDeck' },
|
|
323
|
-
autoScroll ?
|
|
323
|
+
autoScroll ? React.createElement(
|
|
324
324
|
InfiniteScroll,
|
|
325
325
|
{ dataLength: this.state.data.length, next: this.loadMore, hasMore: this.state.scrolling },
|
|
326
|
-
|
|
326
|
+
React.createElement(
|
|
327
327
|
Container,
|
|
328
328
|
null,
|
|
329
329
|
this.cardLoader(page, columns, variant)
|
|
330
330
|
)
|
|
331
|
-
) :
|
|
332
|
-
|
|
331
|
+
) : React.createElement(
|
|
332
|
+
React.Fragment,
|
|
333
333
|
null,
|
|
334
|
-
|
|
334
|
+
React.createElement(
|
|
335
335
|
Container,
|
|
336
336
|
null,
|
|
337
337
|
this.cardLoader(page, columns, variant)
|
|
338
338
|
),
|
|
339
|
-
|
|
339
|
+
React.createElement(
|
|
340
340
|
'div',
|
|
341
341
|
{ style: { padding: '0px 10px' } },
|
|
342
|
-
this.state.scrolling ?
|
|
342
|
+
this.state.scrolling ? React.createElement(
|
|
343
343
|
'button',
|
|
344
344
|
{
|
|
345
345
|
style: { margin: 'auto', width: '100%' },
|
|
@@ -347,17 +347,17 @@ var DeckQueue = function (_React$Component) {
|
|
|
347
347
|
_this3.loadMore();
|
|
348
348
|
} },
|
|
349
349
|
'Load More'
|
|
350
|
-
) :
|
|
350
|
+
) : React.createElement(
|
|
351
351
|
'p',
|
|
352
352
|
{ style: { textAlign: 'center' } },
|
|
353
|
-
|
|
353
|
+
React.createElement(
|
|
354
354
|
'b',
|
|
355
355
|
null,
|
|
356
356
|
'End of data'
|
|
357
357
|
)
|
|
358
358
|
)
|
|
359
359
|
),
|
|
360
|
-
|
|
360
|
+
React.createElement(
|
|
361
361
|
'noscript',
|
|
362
362
|
null,
|
|
363
363
|
this.renderManualPagination()
|
|
@@ -368,7 +368,7 @@ var DeckQueue = function (_React$Component) {
|
|
|
368
368
|
}]);
|
|
369
369
|
|
|
370
370
|
return DeckQueue;
|
|
371
|
-
}(
|
|
371
|
+
}(React.Component);
|
|
372
372
|
|
|
373
373
|
var Queue = withRouter(DeckQueue);
|
|
374
374
|
|