@mjhls/mjh-framework 1.0.866-beta.0 → 1.0.866-d4d665
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/AD.js +10 -9
- package/dist/cjs/AD300x250.js +19 -16
- package/dist/cjs/AD300x250x600.js +19 -16
- package/dist/cjs/AD728x90.js +20 -17
- package/dist/cjs/ADFloatingFooter.js +21 -18
- package/dist/cjs/ADFooter.js +14 -11
- package/dist/cjs/ADGutter.js +21 -18
- package/dist/cjs/{ADInfeed-7c09edba.js → ADInfeed-799275aa.js} +12 -10
- package/dist/cjs/ADSkyscraper.js +21 -18
- package/dist/cjs/ADSponsoredResources.js +21 -18
- package/dist/cjs/ADWebcast.js +21 -18
- package/dist/cjs/ADWelcome.js +25 -22
- package/dist/cjs/{ADlgInfeed-2e7effc7.js → ADlgInfeed-591d014e.js} +8 -7
- package/dist/cjs/AccordionPanel.js +29 -25
- package/dist/cjs/AdSlot.js +23 -20
- package/dist/cjs/AdSlotsProvider.js +18 -907
- package/dist/cjs/AlgoliaSearch.js +978 -850
- package/dist/cjs/AlphabeticList.js +24 -21
- package/dist/cjs/ArticleCarousel.js +16 -13
- package/dist/cjs/ArticleProgramLandingPage.js +40 -37
- package/dist/cjs/ArticleSeriesLandingPage.js +35 -32
- package/dist/cjs/ArticleSeriesListing.js +49 -46
- package/dist/cjs/Auth.js +205 -1198
- package/dist/cjs/AuthWrapper.js +306 -262
- package/dist/cjs/{AuthorComponent-02e827ae.js → AuthorComponent-ac8972ce.js} +14 -13
- package/dist/cjs/Beam.js +7 -5
- package/dist/cjs/{BlockContent-091a991f.js → BlockContent-8b494587.js} +25 -24
- package/dist/cjs/Breadcrumbs.js +28 -24
- package/dist/cjs/CMEDeck.js +73 -71
- package/dist/cjs/Column1.js +14 -11
- package/dist/cjs/Column2.js +30 -25
- package/dist/cjs/Column3.js +46 -41
- package/dist/cjs/ConferenceArticleCard.js +33 -35
- package/dist/cjs/ConferenceBanner-6c9e718a.js +24 -0
- package/dist/cjs/DeckContent.js +97 -91
- package/dist/cjs/DeckQueue.js +82 -77
- package/dist/cjs/{Dfp-14d2455c.js → Dfp-391fd124.js} +28 -25
- package/dist/cjs/EventsDeck.js +153 -144
- package/dist/cjs/ExternalResources.js +61 -58
- package/dist/cjs/Feature.js +25 -26
- package/dist/cjs/ForbesHero.js +40 -37
- package/dist/cjs/GridContent.js +221 -214
- package/dist/cjs/GridHero.js +41 -38
- package/dist/cjs/GroupDeck.js +55 -52
- package/dist/cjs/HamMagazine.js +137 -130
- package/dist/cjs/Header.js +14 -12
- package/dist/cjs/Hero.js +10 -12
- package/dist/cjs/HighlightenVideo.js +17 -16
- package/dist/cjs/HorizontalArticleListing.js +51 -48
- package/dist/cjs/HorizontalHero.js +24 -26
- package/dist/cjs/IssueContentDeck.js +75 -68
- package/dist/cjs/IssueDeck.js +73 -66
- package/dist/cjs/IssueLanding.js +72 -69
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +31 -27
- package/dist/cjs/MasterDeck.js +71 -68
- package/dist/cjs/MediaSeriesLanding.js +855 -862
- package/dist/cjs/NavDvm.js +75 -68
- package/dist/cjs/{NavFooter-76c913e3.js → NavFooter-3dcd99a8.js} +15 -14
- package/dist/cjs/NavMagazine.js +138 -131
- package/dist/cjs/NavNative.js +132 -122
- package/dist/cjs/OncliveHero.js +17 -20
- package/dist/cjs/OncliveLargeHero.js +69 -66
- package/dist/cjs/PageFilter.js +14 -11
- package/dist/cjs/PartnerDetailListing.js +259 -1329
- package/dist/cjs/PdfDownload.js +9 -8
- package/dist/cjs/PopUpModal.js +20 -16
- package/dist/cjs/PubSection.js +30 -27
- package/dist/cjs/PubToc.js +15 -12
- package/dist/cjs/PublicationDeck.js +64 -62
- package/dist/cjs/PublicationLanding.js +150 -144
- package/dist/cjs/QueueDeckExpanded.js +296 -294
- package/dist/cjs/RecentNews.js +20 -19
- package/dist/cjs/RelatedContent.js +51 -53
- package/dist/cjs/RelatedTopicsDropdown.js +32 -29
- package/dist/cjs/RolesDeck.js +32 -27
- package/dist/cjs/Search.js +21 -15
- package/dist/cjs/Segment.js +6 -4
- package/dist/cjs/SeriesListingDeck.js +33 -31
- package/dist/cjs/{SeriesSlider-49b81b0b.js → SeriesSlider-d38767ae.js} +39 -38
- package/dist/cjs/SideFooter.js +33 -30
- package/dist/cjs/SocialIcons.js +10 -9
- package/dist/cjs/{SocialSearchComponent-650f6101.js → SocialSearchComponent-9a9d6f8c.js} +39 -35
- package/dist/cjs/SocialShare.js +31 -29
- package/dist/cjs/TaxonomyCard.js +61 -58
- package/dist/cjs/TaxonomyDescription.js +36 -33
- package/dist/cjs/TemplateNormal.js +46 -43
- package/dist/cjs/ThumbnailCard.js +19 -20
- package/dist/cjs/Ustream.js +29 -26
- package/dist/cjs/VerticalHero.js +16 -18
- package/dist/cjs/VideoProgramLandingPage.js +59 -53
- package/dist/cjs/VideoSeriesCard.js +28 -27
- package/dist/cjs/VideoSeriesFilter.js +16 -14
- package/dist/cjs/VideoSeriesLandingPage.js +40 -37
- package/dist/cjs/VideoSeriesListing.js +66 -63
- package/dist/cjs/View.js +220 -214
- package/dist/cjs/YahooHero.js +36 -33
- package/dist/cjs/YoutubeGroup.js +59 -56
- package/dist/cjs/{_is-array-aa52fa1e.js → _is-array-754e012d.js} +9 -9
- package/dist/cjs/{_iter-detect-05795553.js → _iter-detect-60b2f026.js} +7 -6
- package/dist/cjs/_object-sap-5e74ba08.js +16 -0
- package/dist/cjs/{_object-to-array-9bac8737.js → _object-to-array-5762f850.js} +4 -4
- package/dist/cjs/{core.get-iterator-method-f3c44602.js → _to-object-329a650b.js} +3 -239
- package/dist/cjs/{asyncToGenerator-df19209d.js → asyncToGenerator-140e5f89.js} +67 -65
- package/dist/cjs/{brightcove-react-player-loader.es-156bd4d6.js → brightcove-react-player-loader.es-4ba0d3d5.js} +6 -5
- package/dist/cjs/core.get-iterator-method-f62321d4.js +39 -0
- package/dist/cjs/{define-property-21887c62.js → define-property-f4d12f4e.js} +3 -3
- package/dist/cjs/{defineProperty-77a37684.js → defineProperty-55548b25.js} +1 -1
- package/dist/cjs/es6.string.iterator-cc0bbaa4.js +210 -0
- package/dist/cjs/{extends-eed4f016.js → extends-0a918631.js} +8 -8
- package/dist/cjs/faundadb.js +21 -19
- package/dist/cjs/getQuery.js +2 -2
- package/dist/cjs/getRelatedArticle.js +12 -10
- package/dist/cjs/getRootDocGroup.js +8 -6
- package/dist/cjs/getSerializers.js +25 -23
- package/dist/cjs/{getTargeting-8874437b.js → getTargeting-21103688.js} +12 -12
- package/dist/cjs/getTargeting.js +7 -5
- package/dist/cjs/iconBase-68959171.js +0 -3
- package/dist/cjs/{index-98e01cb9.js → index-2cf30c83.js} +9 -8
- package/dist/cjs/{index-59af05c4.js → index-4990e6c9.js} +970 -965
- package/dist/cjs/{index-3294d3bc.js → index-5be2866f.js} +1 -1
- package/dist/cjs/{index-96b3db50.js → index-9d365128.js} +12 -10
- package/dist/cjs/{index-be0c82be.js → index-b5eb3ff8.js} +20 -19
- package/dist/cjs/{index-e2e62963.js → index-f0677b9d.js} +10 -0
- package/dist/cjs/{index.es-9110add6.js → index.es-13533f24.js} +11 -8
- package/dist/cjs/{index.esm-ff47db6f.js → index.esm-05850a2f.js} +5 -12
- package/dist/cjs/{index.esm-4d410430.js → index.esm-3ffa049c.js} +20 -20
- package/dist/cjs/{index.esm-e32d3e8e.js → index.esm-44f3e2d0.js} +3 -6
- package/dist/cjs/{index.esm-90433435.js → index.esm-974f47d9.js} +6 -15
- package/dist/cjs/index.js +80 -73
- package/dist/cjs/{inherits-cba9c846.js → inherits-0c7830c5.js} +15 -14
- package/dist/cjs/{keys-d207942e.js → keys-a586b7a0.js} +4 -4
- package/dist/cjs/{lodash-fc2922d0.js → lodash-7fd85bcf.js} +71 -22
- package/dist/cjs/{main-02daeefe.js → main-11ec04d2.js} +85 -53
- package/dist/cjs/{md5-5039b1a6.js → md5-e1ca5797.js} +1 -1
- package/dist/cjs/{moment-575fe24c.js → moment-66a6a284.js} +1 -1
- package/dist/cjs/{react-social-icons-f7f48f71.js → react-social-icons-07939b41.js} +12 -11
- package/dist/cjs/{slicedToArray-f6d4eaa8.js → slicedToArray-8f385299.js} +9 -7
- package/dist/cjs/{stringify-bbc68047.js → stringify-7c5aff47.js} +2 -2
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-c9b8a0d0.js → toConsumableArray-9a3476fe.js} +10 -8
- package/dist/cjs/{typeof-5f52cf64.js → typeof-9d7f610f.js} +74 -73
- package/dist/cjs/urlFor.js +4 -21
- package/dist/cjs/{ustream-api-9ebe112f.js → ustream-api-d092dc31.js} +4 -4
- package/dist/cjs/{visibility-sensor-ad5e3116.js → visibility-sensor-eb2c5b69.js} +7 -5
- package/dist/cjs/{web.dom.iterable-e34bf324.js → web.dom.iterable-a0e279c1.js} +9 -8
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +16 -14
- package/dist/esm/AD300x250x600.js +16 -14
- package/dist/esm/AD728x90.js +17 -15
- package/dist/esm/ADFloatingFooter.js +18 -16
- package/dist/esm/ADFooter.js +11 -9
- package/dist/esm/ADGutter.js +18 -16
- package/dist/esm/{ADInfeed-bfd129d9.js → ADInfeed-4b8902ae.js} +8 -8
- package/dist/esm/ADSkyscraper.js +18 -16
- package/dist/esm/ADSponsoredResources.js +18 -16
- package/dist/esm/ADWebcast.js +18 -16
- package/dist/esm/ADWelcome.js +22 -20
- package/dist/esm/{ADlgInfeed-0489335b.js → ADlgInfeed-5193b48f.js} +5 -5
- package/dist/esm/AccordionPanel.js +22 -20
- package/dist/esm/AdSlot.js +14 -12
- package/dist/esm/AdSlotsProvider.js +16 -906
- package/dist/esm/AlgoliaSearch.js +376 -249
- package/dist/esm/AlphabeticList.js +21 -19
- package/dist/esm/ArticleCarousel.js +13 -11
- package/dist/esm/ArticleProgramLandingPage.js +34 -32
- package/dist/esm/ArticleSeriesLandingPage.js +30 -28
- package/dist/esm/ArticleSeriesListing.js +45 -43
- package/dist/esm/Auth.js +184 -1181
- package/dist/esm/AuthWrapper.js +303 -260
- package/dist/esm/{AuthorComponent-e6f95c2f.js → AuthorComponent-8ffd4679.js} +11 -11
- package/dist/esm/Beam.js +7 -5
- package/dist/esm/{BlockContent-e9b4ddcf.js → BlockContent-d05b5b23.js} +4 -4
- package/dist/esm/Breadcrumbs.js +16 -14
- package/dist/esm/CMEDeck.js +70 -68
- package/dist/esm/Column1.js +9 -9
- package/dist/esm/Column2.js +25 -23
- package/dist/esm/Column3.js +41 -39
- package/dist/esm/ConferenceArticleCard.js +30 -33
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/DeckContent.js +89 -87
- package/dist/esm/DeckQueue.js +74 -73
- package/dist/esm/{Dfp-f867d061.js → Dfp-2f9796e1.js} +15 -13
- package/dist/esm/EventsDeck.js +121 -119
- package/dist/esm/ExternalResources.js +55 -53
- package/dist/esm/Feature.js +17 -20
- package/dist/esm/ForbesHero.js +33 -31
- package/dist/esm/GridContent.js +185 -183
- package/dist/esm/GridHero.js +34 -32
- package/dist/esm/GroupDeck.js +42 -40
- package/dist/esm/HamMagazine.js +107 -105
- package/dist/esm/Header.js +8 -8
- package/dist/esm/Hero.js +7 -10
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalArticleListing.js +48 -46
- package/dist/esm/HorizontalHero.js +21 -24
- package/dist/esm/IssueContentDeck.js +58 -56
- package/dist/esm/IssueDeck.js +62 -60
- package/dist/esm/IssueLanding.js +69 -67
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +25 -23
- package/dist/esm/MasterDeck.js +67 -65
- package/dist/esm/MediaSeriesLanding.js +574 -584
- package/dist/esm/NavDvm.js +53 -51
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +110 -108
- package/dist/esm/NavNative.js +99 -97
- package/dist/esm/OncliveHero.js +14 -18
- package/dist/esm/OncliveLargeHero.js +57 -55
- package/dist/esm/PageFilter.js +11 -9
- package/dist/esm/PartnerDetailListing.js +256 -1327
- package/dist/esm/PdfDownload.js +6 -6
- package/dist/esm/PopUpModal.js +13 -11
- package/dist/esm/PubSection.js +27 -25
- package/dist/esm/PubToc.js +12 -10
- package/dist/esm/PublicationDeck.js +51 -54
- package/dist/esm/PublicationLanding.js +105 -103
- package/dist/esm/QueueDeckExpanded.js +262 -260
- package/dist/esm/RecentNews.js +17 -17
- package/dist/esm/RelatedContent.js +45 -48
- package/dist/esm/RelatedTopicsDropdown.js +21 -21
- package/dist/esm/RolesDeck.js +25 -25
- package/dist/esm/Search.js +12 -10
- package/dist/esm/Segment.js +6 -4
- package/dist/esm/SeriesListingDeck.js +28 -26
- package/dist/esm/{SeriesSlider-d555a1d2.js → SeriesSlider-b8cc1baa.js} +29 -29
- package/dist/esm/SideFooter.js +29 -27
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-d7dec0c2.js → SocialSearchComponent-c54d43cb.js} +29 -29
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +52 -54
- package/dist/esm/TaxonomyDescription.js +30 -28
- package/dist/esm/TemplateNormal.js +42 -40
- package/dist/esm/ThumbnailCard.js +10 -13
- package/dist/esm/Ustream.js +26 -24
- package/dist/esm/VerticalHero.js +13 -16
- package/dist/esm/VideoProgramLandingPage.js +46 -44
- package/dist/esm/VideoSeriesCard.js +22 -22
- package/dist/esm/VideoSeriesFilter.js +13 -11
- package/dist/esm/VideoSeriesLandingPage.js +30 -28
- package/dist/esm/VideoSeriesListing.js +62 -60
- package/dist/esm/View.js +198 -196
- package/dist/esm/YahooHero.js +30 -28
- package/dist/esm/YoutubeGroup.js +43 -41
- package/dist/esm/{_is-array-4df618a6.js → _is-array-58e95429.js} +1 -1
- package/dist/esm/{_iter-detect-130ee549.js → _iter-detect-5d49a330.js} +2 -1
- package/dist/esm/{_object-sap-8b8ea5a9.js → _object-sap-964b6feb.js} +1 -1
- package/dist/esm/{_object-to-array-c54dd835.js → _object-to-array-7e804fce.js} +1 -1
- package/dist/esm/{core.get-iterator-method-86d4db69.js → _to-object-a4107da3.js} +1 -230
- package/dist/esm/{asyncToGenerator-7bf8bc4d.js → asyncToGenerator-fc1c2e29.js} +5 -3
- package/dist/esm/{brightcove-react-player-loader.es-83f53e4e.js → brightcove-react-player-loader.es-e1c6b0f2.js} +3 -3
- package/dist/esm/core.get-iterator-method-e1de7503.js +36 -0
- package/dist/esm/{define-property-6d26cb48.js → define-property-8af5f002.js} +1 -1
- package/dist/esm/{defineProperty-d7d9b577.js → defineProperty-94fd8bfc.js} +1 -1
- package/dist/esm/es6.string.iterator-c990c18c.js +201 -0
- package/dist/esm/{extends-5b1796d4.js → extends-6f2fcc99.js} +1 -1
- package/dist/esm/faundadb.js +7 -5
- package/dist/esm/getQuery.js +2 -2
- package/dist/esm/getRelatedArticle.js +6 -4
- package/dist/esm/getRootDocGroup.js +6 -4
- package/dist/esm/getSerializers.js +25 -23
- package/dist/esm/{getTargeting-277c801e.js → getTargeting-88d69971.js} +11 -11
- package/dist/esm/getTargeting.js +7 -5
- package/dist/esm/{index-73819142.js → index-51a80699.js} +20 -19
- package/dist/esm/{index-5f7e79e7.js → index-6c12bdd5.js} +4 -4
- package/dist/esm/{index-aaa2dae0.js → index-b68072f5.js} +10 -1
- package/dist/esm/{index-efc23b2b.js → index-bec35c6c.js} +911 -916
- package/dist/esm/{index-ef6d5dcf.js → index-d2f90501.js} +1 -1
- package/dist/esm/{index-41a678ea.js → index-f7fb1e25.js} +3 -3
- package/dist/esm/{index.es-29c1cef5.js → index.es-7dda2f0a.js} +8 -6
- package/dist/esm/{index.esm-29e48d38.js → index.esm-3fdda599.js} +6 -15
- package/dist/esm/{index.esm-fd746768.js → index.esm-8ee5ff72.js} +17 -18
- package/dist/esm/{index.esm-cf08bf18.js → index.esm-a8ff922c.js} +5 -12
- package/dist/esm/{index.esm-f8aaeeeb.js → index.esm-c6715e80.js} +3 -6
- package/dist/esm/index.js +69 -65
- package/dist/esm/{inherits-2409637d.js → inherits-75d45541.js} +5 -4
- package/dist/esm/{keys-69989821.js → keys-8eda7a5c.js} +2 -2
- package/dist/esm/{lodash-17fdfebb.js → lodash-ec8c6b48.js} +71 -22
- package/dist/esm/{main-e4a934b2.js → main-aef58dbc.js} +81 -50
- package/dist/esm/{md5-9be0e905.js → md5-4e42248e.js} +1 -1
- package/dist/esm/{moment-e2f9b20c.js → moment-12415288.js} +1 -1
- package/dist/esm/{react-social-icons-a7d5c5c7.js → react-social-icons-3822f1ce.js} +5 -5
- package/dist/esm/{slicedToArray-67a08c9c.js → slicedToArray-641f241f.js} +4 -2
- package/dist/esm/{stringify-70b72959.js → stringify-4330ccdc.js} +1 -1
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-32282905.js → toConsumableArray-43aa614d.js} +4 -2
- package/dist/esm/{typeof-c05a82ba.js → typeof-af9c50d8.js} +5 -4
- package/dist/esm/urlFor.js +2 -19
- package/dist/esm/{ustream-api-4c4fe0ba.js → ustream-api-9a50644d.js} +4 -4
- package/dist/esm/{visibility-sensor-72fd8f8b.js → visibility-sensor-f40c2564.js} +2 -2
- package/dist/esm/{web.dom.iterable-f8f967cd.js → web.dom.iterable-4439f05a.js} +2 -1
- package/package.json +111 -111
- package/dist/cjs/ConferenceBanner-4a16fddc.js +0 -23
- package/dist/cjs/_object-sap-171b9ea5.js +0 -16
- package/dist/cjs/inherits-8d29278d.js +0 -110
- package/dist/esm/inherits-77d5e4fc.js +0 -101
package/dist/esm/Column3.js
CHANGED
|
@@ -1,34 +1,36 @@
|
|
|
1
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './
|
|
2
|
+
import './_to-object-a4107da3.js';
|
|
3
|
+
import './es6.string.iterator-c990c18c.js';
|
|
3
4
|
import './_library-528f1934.js';
|
|
4
|
-
import './_iter-detect-
|
|
5
|
+
import './_iter-detect-5d49a330.js';
|
|
6
|
+
import './core.get-iterator-method-e1de7503.js';
|
|
5
7
|
import './_object-pie-33c40e79.js';
|
|
6
|
-
import './extends-
|
|
7
|
-
import './define-property-
|
|
8
|
-
import './web.dom.iterable-
|
|
9
|
-
import
|
|
8
|
+
import './extends-6f2fcc99.js';
|
|
9
|
+
import './define-property-8af5f002.js';
|
|
10
|
+
import './web.dom.iterable-4439f05a.js';
|
|
11
|
+
import React, { useRef, useEffect } from 'react';
|
|
10
12
|
import './events-6c3a7a63.js';
|
|
11
|
-
import './index-
|
|
13
|
+
import './index-f7fb1e25.js';
|
|
12
14
|
import 'prop-types';
|
|
13
|
-
import Row
|
|
14
|
-
import Col
|
|
15
|
+
import Row from 'react-bootstrap/Row';
|
|
16
|
+
import Col from 'react-bootstrap/Col';
|
|
15
17
|
import './isSymbol-1981418f.js';
|
|
16
18
|
import './debounce-9207d8ee.js';
|
|
17
19
|
import './toNumber-2f7a84cd.js';
|
|
18
|
-
import './
|
|
19
|
-
import
|
|
20
|
-
import './stringify-
|
|
21
|
-
import './asyncToGenerator-
|
|
20
|
+
import { m as main_39 } from './main-aef58dbc.js';
|
|
21
|
+
import './slicedToArray-641f241f.js';
|
|
22
|
+
import './stringify-4330ccdc.js';
|
|
23
|
+
import './asyncToGenerator-fc1c2e29.js';
|
|
22
24
|
import './Segment.js';
|
|
23
25
|
import './Beam.js';
|
|
24
26
|
import './AdSlot.js';
|
|
25
27
|
import './get-1e515072.js';
|
|
26
28
|
import './eq-b470f743.js';
|
|
27
|
-
import './react-social-icons-
|
|
29
|
+
import './react-social-icons-3822f1ce.js';
|
|
28
30
|
import 'react-bootstrap';
|
|
29
|
-
import './defineProperty-
|
|
31
|
+
import './defineProperty-94fd8bfc.js';
|
|
30
32
|
import SideFooter from './SideFooter.js';
|
|
31
|
-
import { C as ConferenceBanner } from './ConferenceBanner-
|
|
33
|
+
import { C as ConferenceBanner } from './ConferenceBanner-9162d0ca.js';
|
|
32
34
|
import ADSponsoredResources from './ADSponsoredResources.js';
|
|
33
35
|
import 'react-bootstrap/ListGroup';
|
|
34
36
|
import './ADWebcast.js';
|
|
@@ -50,7 +52,7 @@ var Column3 = function Column3(props) {
|
|
|
50
52
|
var adRef = useRef(null);
|
|
51
53
|
|
|
52
54
|
useEffect(function () {
|
|
53
|
-
if (!
|
|
55
|
+
if (!main_39 && window.innerWidth >= 768) {
|
|
54
56
|
var navbar = document.querySelector('.navbar');
|
|
55
57
|
var AdOffsetTop = adRef.current.getBoundingClientRect().top;
|
|
56
58
|
window.addEventListener('scroll', function () {
|
|
@@ -69,62 +71,62 @@ var Column3 = function Column3(props) {
|
|
|
69
71
|
}
|
|
70
72
|
}, []);
|
|
71
73
|
|
|
72
|
-
return
|
|
74
|
+
return React.createElement(
|
|
73
75
|
'section',
|
|
74
76
|
null,
|
|
75
|
-
|
|
76
|
-
Row
|
|
77
|
+
React.createElement(
|
|
78
|
+
Row,
|
|
77
79
|
{ className: 'justify-content-md-center' },
|
|
78
|
-
|
|
79
|
-
Col
|
|
80
|
+
React.createElement(
|
|
81
|
+
Col,
|
|
80
82
|
{ md: true, className: 'leftCol', style: { width: '200px' } },
|
|
81
|
-
|
|
82
|
-
website && website.sponsoredAd &&
|
|
83
|
-
website && website.sideFooterContent && website.sideFooterContent.length && website.showFooterOnLeftSide &&
|
|
83
|
+
React.createElement(LeftNav, { leftItems: leftItems }),
|
|
84
|
+
website && website.sponsoredAd && React.createElement(ADSponsoredResources, { sponsoredAd: website.sponsoredAd }),
|
|
85
|
+
website && website.sideFooterContent && website.sideFooterContent.length && website.showFooterOnLeftSide && React.createElement(SideFooter, { website: website, cache: website.cache, logo: logo })
|
|
84
86
|
),
|
|
85
|
-
|
|
86
|
-
Col
|
|
87
|
+
React.createElement(
|
|
88
|
+
Col,
|
|
87
89
|
{ md: true, className: 'middleCol', style: { maxWidth: '640px', marginTop: !title && '10px' } },
|
|
88
|
-
showFilter ?
|
|
90
|
+
showFilter ? React.createElement(
|
|
89
91
|
'div',
|
|
90
92
|
{ className: 'title-wrap' },
|
|
91
|
-
|
|
93
|
+
React.createElement(
|
|
92
94
|
'h1',
|
|
93
95
|
{ className: 'title' },
|
|
94
96
|
title
|
|
95
97
|
),
|
|
96
|
-
|
|
98
|
+
React.createElement(
|
|
97
99
|
'div',
|
|
98
100
|
{ className: 'filter-box' },
|
|
99
|
-
|
|
101
|
+
React.createElement(PageFilter, { getParams: getParams, filters: filters, defaultFilter: defaultFilter })
|
|
100
102
|
)
|
|
101
|
-
) : title &&
|
|
103
|
+
) : title && React.createElement(
|
|
102
104
|
'h1',
|
|
103
105
|
{ className: 'title' },
|
|
104
106
|
title
|
|
105
107
|
),
|
|
106
108
|
props.children
|
|
107
109
|
),
|
|
108
|
-
|
|
110
|
+
React.createElement(
|
|
109
111
|
'style',
|
|
110
112
|
{ jsx: 'true' },
|
|
111
113
|
'\n .filter-box {\n float: right;\n padding-top: 6px;\n padding-right: 18px;\n }\n @media only screen and (min-width: 768px) {\n .title-wrap {\n display: flex;\n justify-content: space-between;\n }\n }\n @media only screen and (max-width: 767px) {\n /* .filter-box {\n float: right;\n display: flex;\n justify-content: flex-end;\n } */\n .title-wrap {\n display: flex;\n flex-direction: column;\n margin-bottom: 10px;\n }\n }\n '
|
|
112
114
|
),
|
|
113
|
-
(!
|
|
114
|
-
Col
|
|
115
|
+
(!main_39 || showRightAd) && React.createElement(
|
|
116
|
+
Col,
|
|
115
117
|
{ xs: 12, className: 'rightCol' },
|
|
116
|
-
website && website.conferenceBannerContent &&
|
|
117
|
-
|
|
118
|
+
website && website.conferenceBannerContent && React.createElement(ConferenceBanner, { website: website }),
|
|
119
|
+
React.createElement(
|
|
118
120
|
'div',
|
|
119
121
|
{ ref: adRef },
|
|
120
122
|
rightItems && rightItems.map(function (row, index) {
|
|
121
|
-
return
|
|
123
|
+
return React.createElement(
|
|
122
124
|
'div',
|
|
123
125
|
{ key: index },
|
|
124
126
|
row.component
|
|
125
127
|
);
|
|
126
128
|
}),
|
|
127
|
-
website && website.sideFooterContent && website.sideFooterContent.length && !website.showFooterOnLeftSide &&
|
|
129
|
+
website && website.sideFooterContent && website.sideFooterContent.length && !website.showFooterOnLeftSide && React.createElement(SideFooter, { website: website, cache: website.cache, logo: logo })
|
|
128
130
|
)
|
|
129
131
|
)
|
|
130
132
|
)
|
|
@@ -1,27 +1,24 @@
|
|
|
1
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import '
|
|
3
|
-
import './
|
|
4
|
-
import
|
|
5
|
-
import { m as moment } from './moment-e2f9b20c.js';
|
|
6
|
-
import './slicedToArray-67a08c9c.js';
|
|
7
|
-
import './index-73819142.js';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { m as moment } from './moment-12415288.js';
|
|
4
|
+
import './index-51a80699.js';
|
|
8
5
|
import urlFor from './urlFor.js';
|
|
9
6
|
|
|
10
|
-
/*
|
|
11
|
-
Example usage - targetedonc.com/latest-conference
|
|
12
|
-
const query = `*[!(_id in path("drafts.**")) && _type == "article" && defined(title) && is_visible == true && published <= '${today}' && references('b49d36b8-aa56-4183-a2bc-1568c229fb72') ] | order(published desc) [$from...$to] {
|
|
13
|
-
...,
|
|
14
|
-
title,
|
|
15
|
-
summary,
|
|
16
|
-
thumbnail,
|
|
17
|
-
url,
|
|
18
|
-
published,
|
|
19
|
-
documentGroup->,
|
|
20
|
-
contentCategory->,
|
|
21
|
-
'pageNumber': ${currentPage}
|
|
22
|
-
}`
|
|
23
|
-
|
|
24
|
-
const posts = await client.fetch(query, params)
|
|
7
|
+
/*
|
|
8
|
+
Example usage - targetedonc.com/latest-conference
|
|
9
|
+
const query = `*[!(_id in path("drafts.**")) && _type == "article" && defined(title) && is_visible == true && published <= '${today}' && references('b49d36b8-aa56-4183-a2bc-1568c229fb72') ] | order(published desc) [$from...$to] {
|
|
10
|
+
...,
|
|
11
|
+
title,
|
|
12
|
+
summary,
|
|
13
|
+
thumbnail,
|
|
14
|
+
url,
|
|
15
|
+
published,
|
|
16
|
+
documentGroup->,
|
|
17
|
+
contentCategory->,
|
|
18
|
+
'pageNumber': ${currentPage}
|
|
19
|
+
}`
|
|
20
|
+
|
|
21
|
+
const posts = await client.fetch(query, params)
|
|
25
22
|
*/
|
|
26
23
|
|
|
27
24
|
var ConferenceArticleCard = function ConferenceArticleCard(props) {
|
|
@@ -32,51 +29,51 @@ var ConferenceArticleCard = function ConferenceArticleCard(props) {
|
|
|
32
29
|
|
|
33
30
|
// title, thumbnail, summary, published, documentGroup.identifier.current, documentGroup.identifier.name
|
|
34
31
|
|
|
35
|
-
return
|
|
32
|
+
return React.createElement(
|
|
36
33
|
'div',
|
|
37
34
|
{ className: 'conference-media' },
|
|
38
|
-
|
|
35
|
+
React.createElement(
|
|
39
36
|
'a',
|
|
40
37
|
{ className: 'img-wrapper', href: '/view/' + (data.url ? data.url.current : '') },
|
|
41
|
-
|
|
38
|
+
React.createElement('img', {
|
|
42
39
|
className: 'mr-3 img-fluid',
|
|
43
40
|
src: data.thumbnail && urlFor({ client: client, source: data.thumbnail.asset, imageWidth: 350 }),
|
|
44
41
|
alt: data.title
|
|
45
42
|
})
|
|
46
43
|
),
|
|
47
|
-
|
|
44
|
+
React.createElement(
|
|
48
45
|
'div',
|
|
49
46
|
{ className: 'media-body' },
|
|
50
|
-
|
|
47
|
+
React.createElement(
|
|
51
48
|
'a',
|
|
52
49
|
{ href: '/view/' + (data.url ? data.url.current : '') },
|
|
53
|
-
|
|
50
|
+
React.createElement(
|
|
54
51
|
'h4',
|
|
55
52
|
{ className: 'conf-media__card-title' },
|
|
56
53
|
data.title
|
|
57
54
|
)
|
|
58
55
|
),
|
|
59
|
-
|
|
56
|
+
React.createElement(
|
|
60
57
|
'p',
|
|
61
58
|
{ className: 'conf-media__card-text' },
|
|
62
59
|
moment(data.published).format('MMMM Do YYYY, h:mma')
|
|
63
60
|
),
|
|
64
|
-
|
|
61
|
+
React.createElement(
|
|
65
62
|
'p',
|
|
66
63
|
{ className: 'mb-1 conference-group' },
|
|
67
|
-
data.documentGroup && data.documentGroup.identifier && (data.documentGroup.identifier.current.includes('/') ?
|
|
64
|
+
data.documentGroup && data.documentGroup.identifier && (data.documentGroup.identifier.current.includes('/') ? React.createElement(
|
|
68
65
|
'a',
|
|
69
66
|
{ href: '/' + data.documentGroup.identifier.current, alt: data.thumbnail && data.thumbnail.alt || data.title },
|
|
70
67
|
data.documentGroup.name
|
|
71
|
-
) :
|
|
68
|
+
) : React.createElement(
|
|
72
69
|
'a',
|
|
73
70
|
{ href: '/conference/' + data.documentGroup.identifier.current, alt: data.thumbnail && data.thumbnail.alt || data.title },
|
|
74
71
|
data.documentGroup.name
|
|
75
72
|
))
|
|
76
73
|
),
|
|
77
|
-
|
|
74
|
+
React.createElement('p', { className: 'pt-2 card-text', dangerouslySetInnerHTML: { __html: data.summary } })
|
|
78
75
|
),
|
|
79
|
-
|
|
76
|
+
React.createElement(
|
|
80
77
|
'style',
|
|
81
78
|
{ jsx: 'true' },
|
|
82
79
|
'\n .conference-media {\n display: flex;\n flex-direction: row;\n margin-bottom: 1.25rem;\n padding-bottom: 1.25rem;\n border-bottom: 1px solid #ddd;\n }\n .conf-media__card-title {\n font-weight: bold;\n color: #252525;\n margin-bottom: 0.5rem;\n font-size: 1.5rem;\n }\n .conf-media__card-text {\n color: var(--dark);\n margin-bottom: 0.25rem;\n }\n .conference-media a img {\n width: 175px;\n min-width: 175px;\n height: auto;\n object-fit: contain;\n }\n .conference-media .conference-group {\n background: #003767;\n color: white;\n border-radius: 5px;\n display: inline-block;\n padding: 0 0.25rem;\n }\n .conference-media .conference-group a {\n color: white;\n font-size: 0.8rem;\n }\n @media screen and (max-width: 1064px) {\n .conf-media__card-title {\n font-size: 1.1rem;\n }\n }\n @media screen and (max-width: 768px) {\n .conference-media {\n flex-direction: column;\n }\n .conference-media a img {\n width: 100%;\n height: auto;\n max-height: 175px;\n object-fit: contain;\n margin-bottom: 1rem;\n }\n }\n '
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from 'react';
|
|
2
2
|
|
|
3
3
|
var ConferenceBanner = function ConferenceBanner(props) {
|
|
4
4
|
var website = props.website;
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
return
|
|
7
|
+
return React.createElement(
|
|
8
8
|
"div",
|
|
9
9
|
{ className: "conf-img" },
|
|
10
|
-
|
|
10
|
+
React.createElement(
|
|
11
11
|
"a",
|
|
12
12
|
{ href: website.conferenceBannerContent.href },
|
|
13
|
-
|
|
13
|
+
React.createElement("img", { src: website.conferenceBannerContent.src, alt: website.conferenceBannerContent.alt })
|
|
14
14
|
)
|
|
15
15
|
);
|
|
16
16
|
};
|
package/dist/esm/DeckContent.js
CHANGED
|
@@ -1,44 +1,46 @@
|
|
|
1
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './
|
|
2
|
+
import './_to-object-a4107da3.js';
|
|
3
|
+
import './es6.string.iterator-c990c18c.js';
|
|
3
4
|
import './_library-528f1934.js';
|
|
4
|
-
import './_iter-detect-
|
|
5
|
-
import { _ as _toConsumableArray } from './toConsumableArray-
|
|
5
|
+
import './_iter-detect-5d49a330.js';
|
|
6
|
+
import { _ as _toConsumableArray } from './toConsumableArray-43aa614d.js';
|
|
7
|
+
import './core.get-iterator-method-e1de7503.js';
|
|
6
8
|
import './_object-pie-33c40e79.js';
|
|
7
|
-
import { _ as _extends } from './extends-
|
|
8
|
-
import './_object-sap-
|
|
9
|
-
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-
|
|
10
|
-
import './define-property-
|
|
11
|
-
import './web.dom.iterable-
|
|
12
|
-
import './typeof-
|
|
13
|
-
import './_is-array-
|
|
14
|
-
import
|
|
9
|
+
import { _ as _extends } from './extends-6f2fcc99.js';
|
|
10
|
+
import './_object-sap-964b6feb.js';
|
|
11
|
+
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-75d45541.js';
|
|
12
|
+
import './define-property-8af5f002.js';
|
|
13
|
+
import './web.dom.iterable-4439f05a.js';
|
|
14
|
+
import './typeof-af9c50d8.js';
|
|
15
|
+
import './_is-array-58e95429.js';
|
|
16
|
+
import React from 'react';
|
|
15
17
|
import './events-6c3a7a63.js';
|
|
16
|
-
import { l as lib_3 } from './index-
|
|
18
|
+
import { l as lib_3 } from './index-f7fb1e25.js';
|
|
17
19
|
import 'prop-types';
|
|
18
|
-
import Container
|
|
19
|
-
import Row
|
|
20
|
-
import Col
|
|
21
|
-
import Card
|
|
22
|
-
import { m as moment } from './moment-
|
|
20
|
+
import Container from 'react-bootstrap/Container';
|
|
21
|
+
import Row from 'react-bootstrap/Row';
|
|
22
|
+
import Col from 'react-bootstrap/Col';
|
|
23
|
+
import Card from 'react-bootstrap/Card';
|
|
24
|
+
import { m as moment } from './moment-12415288.js';
|
|
23
25
|
import { withRouter } from 'next/router';
|
|
24
26
|
import './isSymbol-1981418f.js';
|
|
25
27
|
import { d as debounce_1 } from './debounce-9207d8ee.js';
|
|
26
28
|
import './toNumber-2f7a84cd.js';
|
|
27
|
-
import { I as InfiniteScroll } from './index.es-
|
|
29
|
+
import { I as InfiniteScroll } from './index.es-7dda2f0a.js';
|
|
28
30
|
import 'react-dom';
|
|
29
|
-
import { V as VisibilitySensor } from './visibility-sensor-
|
|
30
|
-
import './
|
|
31
|
-
import './index-73819142.js';
|
|
31
|
+
import { V as VisibilitySensor } from './visibility-sensor-f40c2564.js';
|
|
32
|
+
import './index-51a80699.js';
|
|
32
33
|
import urlFor from './urlFor.js';
|
|
33
|
-
import { L as LazyLoad } from './index-
|
|
34
|
-
import { m as
|
|
34
|
+
import { L as LazyLoad } from './index-6c12bdd5.js';
|
|
35
|
+
import { m as main_39 } from './main-aef58dbc.js';
|
|
35
36
|
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
36
|
-
import './
|
|
37
|
-
import './
|
|
37
|
+
import './slicedToArray-641f241f.js';
|
|
38
|
+
import './stringify-4330ccdc.js';
|
|
39
|
+
import './asyncToGenerator-fc1c2e29.js';
|
|
38
40
|
import './Segment.js';
|
|
39
41
|
import './Beam.js';
|
|
40
42
|
import './AdSlot.js';
|
|
41
|
-
import { A as ADInfeed } from './ADInfeed-
|
|
43
|
+
import { A as ADInfeed } from './ADInfeed-4b8902ae.js';
|
|
42
44
|
|
|
43
45
|
var DeckContent = function (_React$Component) {
|
|
44
46
|
_inherits(DeckContent, _React$Component);
|
|
@@ -172,14 +174,14 @@ var DeckContent = function (_React$Component) {
|
|
|
172
174
|
var newPath = pageNumber === 1 ? '' + path : path + '?page=' + pageNumber;
|
|
173
175
|
|
|
174
176
|
// please leave this for later debug purpose : Yong Jun.
|
|
175
|
-
/* console.log('page change reported', {
|
|
176
|
-
currentPage: currentPage,
|
|
177
|
-
pageNumber: pageNumber,
|
|
178
|
-
pathname: pathname,
|
|
179
|
-
path: path,
|
|
180
|
-
newPath: newPath,
|
|
181
|
-
firstPage: pageNumber === 1,
|
|
182
|
-
queryString: queryString
|
|
177
|
+
/* console.log('page change reported', {
|
|
178
|
+
currentPage: currentPage,
|
|
179
|
+
pageNumber: pageNumber,
|
|
180
|
+
pathname: pathname,
|
|
181
|
+
path: path,
|
|
182
|
+
newPath: newPath,
|
|
183
|
+
firstPage: pageNumber === 1,
|
|
184
|
+
queryString: queryString
|
|
183
185
|
}) */
|
|
184
186
|
|
|
185
187
|
if (pageview) {
|
|
@@ -199,35 +201,35 @@ var DeckContent = function (_React$Component) {
|
|
|
199
201
|
url = authorDetail.url;
|
|
200
202
|
|
|
201
203
|
if (displayName && url && url.current) {
|
|
202
|
-
return
|
|
204
|
+
return React.createElement(
|
|
203
205
|
'div',
|
|
204
206
|
{ key: _id },
|
|
205
|
-
index === 0 &&
|
|
207
|
+
index === 0 && React.createElement(
|
|
206
208
|
'span',
|
|
207
209
|
{ className: 'pr-1' },
|
|
208
210
|
'By'
|
|
209
211
|
),
|
|
210
|
-
|
|
212
|
+
React.createElement(
|
|
211
213
|
'a',
|
|
212
214
|
{ href: '/authors/${url.current}', className: 'text-muted' },
|
|
213
215
|
displayName,
|
|
214
|
-
length !== index + 1 &&
|
|
216
|
+
length !== index + 1 && React.createElement('br', null)
|
|
215
217
|
)
|
|
216
218
|
);
|
|
217
219
|
} else if (displayName) {
|
|
218
|
-
return
|
|
220
|
+
return React.createElement(
|
|
219
221
|
'div',
|
|
220
222
|
{ key: _id },
|
|
221
|
-
index === 0 &&
|
|
223
|
+
index === 0 && React.createElement(
|
|
222
224
|
'span',
|
|
223
225
|
{ className: 'pr-1' },
|
|
224
226
|
'By'
|
|
225
227
|
),
|
|
226
|
-
|
|
228
|
+
React.createElement(
|
|
227
229
|
'span',
|
|
228
230
|
{ className: 'text-muted' },
|
|
229
231
|
displayName,
|
|
230
|
-
length !== index + 1 &&
|
|
232
|
+
length !== index + 1 && React.createElement('br', null)
|
|
231
233
|
)
|
|
232
234
|
);
|
|
233
235
|
}
|
|
@@ -271,8 +273,8 @@ var DeckContent = function (_React$Component) {
|
|
|
271
273
|
articles = _this.state.data;
|
|
272
274
|
}
|
|
273
275
|
|
|
274
|
-
return
|
|
275
|
-
Row
|
|
276
|
+
return React.createElement(
|
|
277
|
+
Row,
|
|
276
278
|
null,
|
|
277
279
|
articles && articles.map(function (row, index) {
|
|
278
280
|
if (columns === 'rotate' && itemCounter % 3 === 0) {
|
|
@@ -283,60 +285,60 @@ var DeckContent = function (_React$Component) {
|
|
|
283
285
|
lgVar = 6;
|
|
284
286
|
}
|
|
285
287
|
if (row._type === 'BrandInsight' && row.adUnit) {
|
|
286
|
-
return
|
|
288
|
+
return React.createElement(ADInfeed, { index: index, infeedAd: row });
|
|
287
289
|
} else {
|
|
288
290
|
var pageNumber = row.pageNumber || _this.state.page;
|
|
289
291
|
var contentCategoryName = row.contentCategory && row.contentCategory.name && _this.mapping[row.contentCategory.name] ? row.contentCategory.name : 'Articles';
|
|
290
|
-
return
|
|
291
|
-
|
|
292
|
+
return React.createElement(
|
|
293
|
+
React.Fragment,
|
|
292
294
|
{ key: itemCounter },
|
|
293
|
-
|
|
295
|
+
React.createElement(
|
|
294
296
|
VisibilitySensor,
|
|
295
297
|
{
|
|
296
298
|
onChange: function onChange(isVisible) {
|
|
297
299
|
isVisible && _this.changePageNumber(pageNumber);
|
|
298
300
|
} },
|
|
299
|
-
|
|
300
|
-
Col
|
|
301
|
+
React.createElement(
|
|
302
|
+
Col,
|
|
301
303
|
{ md: 12, lg: lgVar, counter: itemCounter++, style: { display: 'flex', flex: '1 0 auto' } },
|
|
302
|
-
|
|
303
|
-
Card
|
|
304
|
+
React.createElement(
|
|
305
|
+
Card,
|
|
304
306
|
{ className: 'content-card', style: { flexDirection: mode } },
|
|
305
|
-
(row.thumbnail && row.thumbnail.asset || _this.props.defaultImage) &&
|
|
307
|
+
(row.thumbnail && row.thumbnail.asset || _this.props.defaultImage) && React.createElement(
|
|
306
308
|
'a',
|
|
307
309
|
{ href: _this.mapping[contentCategoryName] + '/' + row.url.current },
|
|
308
|
-
|
|
310
|
+
React.createElement(
|
|
309
311
|
LazyLoad,
|
|
310
312
|
{ height: _this.props.imageHeight },
|
|
311
|
-
|
|
313
|
+
React.createElement(Card.Img, {
|
|
312
314
|
variant: 'top',
|
|
313
315
|
src: _this.renderCardImage(row, page),
|
|
314
316
|
alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : ''
|
|
315
317
|
})
|
|
316
318
|
)
|
|
317
319
|
),
|
|
318
|
-
|
|
319
|
-
Card
|
|
320
|
+
React.createElement(
|
|
321
|
+
Card.Body,
|
|
320
322
|
null,
|
|
321
|
-
|
|
323
|
+
React.createElement(
|
|
322
324
|
'a',
|
|
323
325
|
{ href: _this.mapping[contentCategoryName] + '/' + row.url.current },
|
|
324
|
-
|
|
325
|
-
Card
|
|
326
|
+
React.createElement(
|
|
327
|
+
Card.Title,
|
|
326
328
|
null,
|
|
327
329
|
row.title
|
|
328
330
|
)
|
|
329
331
|
),
|
|
330
|
-
_this.props.showPublished && row.published &&
|
|
331
|
-
Card
|
|
332
|
+
_this.props.showPublished && row.published && React.createElement(
|
|
333
|
+
Card.Subtitle,
|
|
332
334
|
null,
|
|
333
335
|
moment(row.published).format('MMMM DD, YYYY')
|
|
334
336
|
),
|
|
335
337
|
_this.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 && row.authorMapping.map(function (authorDetail, index) {
|
|
336
338
|
return _this.renderAuthor(authorDetail, index, row.authorMapping.length);
|
|
337
339
|
}),
|
|
338
|
-
|
|
339
|
-
Card
|
|
340
|
+
React.createElement(
|
|
341
|
+
Card.Text,
|
|
340
342
|
null,
|
|
341
343
|
clean_html_1(row.summary)
|
|
342
344
|
)
|
|
@@ -344,7 +346,7 @@ var DeckContent = function (_React$Component) {
|
|
|
344
346
|
)
|
|
345
347
|
)
|
|
346
348
|
),
|
|
347
|
-
|
|
349
|
+
main_39 && _this.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
348
350
|
);
|
|
349
351
|
}
|
|
350
352
|
})
|
|
@@ -353,23 +355,23 @@ var DeckContent = function (_React$Component) {
|
|
|
353
355
|
var rightItems = _this.props.rightItems;
|
|
354
356
|
|
|
355
357
|
var i = ((index + 1) / numberOfItemsBeforeAd - 1) % rightItems.length;
|
|
356
|
-
return
|
|
357
|
-
Col
|
|
358
|
+
return React.createElement(
|
|
359
|
+
Col,
|
|
358
360
|
{ md: 12, style: { display: 'flex', flex: '1 0 auto' } },
|
|
359
361
|
rightItems[i].component
|
|
360
362
|
);
|
|
361
363
|
}, _this.renderManualPagination = function () {
|
|
362
364
|
var currentPage = _this.state.currentPage;
|
|
363
365
|
|
|
364
|
-
return
|
|
366
|
+
return React.createElement(
|
|
365
367
|
'div',
|
|
366
368
|
{ className: 'd-flex justify-content-between' },
|
|
367
|
-
currentPage && currentPage > 1 &&
|
|
369
|
+
currentPage && currentPage > 1 && React.createElement(
|
|
368
370
|
'a',
|
|
369
371
|
{ href: '?page=' + (currentPage - 1) },
|
|
370
372
|
'<< Previous'
|
|
371
373
|
),
|
|
372
|
-
|
|
374
|
+
React.createElement(
|
|
373
375
|
'a',
|
|
374
376
|
{ href: '?page=' + (currentPage + 1) },
|
|
375
377
|
'Next >>'
|
|
@@ -415,38 +417,38 @@ var DeckContent = function (_React$Component) {
|
|
|
415
417
|
brandInsight = _props.brandInsight;
|
|
416
418
|
|
|
417
419
|
|
|
418
|
-
return
|
|
420
|
+
return React.createElement(
|
|
419
421
|
'div',
|
|
420
422
|
{ className: 'contentDeck' },
|
|
421
|
-
autoScroll ?
|
|
422
|
-
|
|
423
|
+
autoScroll ? React.createElement(
|
|
424
|
+
React.Fragment,
|
|
423
425
|
null,
|
|
424
|
-
|
|
426
|
+
React.createElement(
|
|
425
427
|
InfiniteScroll,
|
|
426
428
|
{ dataLength: this.state.data.length, next: this.loadMore, hasMore: this.state.scrolling, scrollThreshold: 0.9 },
|
|
427
|
-
|
|
428
|
-
Container
|
|
429
|
+
React.createElement(
|
|
430
|
+
Container,
|
|
429
431
|
null,
|
|
430
432
|
this.cardLoader(page, columns, variant, showBI, brandInsight)
|
|
431
433
|
)
|
|
432
434
|
),
|
|
433
|
-
|
|
435
|
+
React.createElement(
|
|
434
436
|
'noscript',
|
|
435
437
|
null,
|
|
436
438
|
this.renderManualPagination()
|
|
437
439
|
)
|
|
438
|
-
) :
|
|
439
|
-
|
|
440
|
+
) : React.createElement(
|
|
441
|
+
React.Fragment,
|
|
440
442
|
null,
|
|
441
|
-
|
|
442
|
-
Container
|
|
443
|
+
React.createElement(
|
|
444
|
+
Container,
|
|
443
445
|
null,
|
|
444
446
|
this.cardLoader(page, columns, variant, showBI, brandInsight)
|
|
445
447
|
),
|
|
446
|
-
|
|
448
|
+
React.createElement(
|
|
447
449
|
'div',
|
|
448
450
|
{ style: { padding: '0px 10px' } },
|
|
449
|
-
this.state.scrolling ?
|
|
451
|
+
this.state.scrolling ? React.createElement(
|
|
450
452
|
'button',
|
|
451
453
|
{
|
|
452
454
|
style: { margin: 'auto', width: '100%' },
|
|
@@ -454,17 +456,17 @@ var DeckContent = function (_React$Component) {
|
|
|
454
456
|
_this2.loadMore();
|
|
455
457
|
} },
|
|
456
458
|
'Load More'
|
|
457
|
-
) :
|
|
459
|
+
) : React.createElement(
|
|
458
460
|
'p',
|
|
459
461
|
{ style: { textAlign: 'center' } },
|
|
460
|
-
|
|
462
|
+
React.createElement(
|
|
461
463
|
'b',
|
|
462
464
|
null,
|
|
463
465
|
'End of data'
|
|
464
466
|
)
|
|
465
467
|
)
|
|
466
468
|
),
|
|
467
|
-
|
|
469
|
+
React.createElement(
|
|
468
470
|
'noscript',
|
|
469
471
|
null,
|
|
470
472
|
this.renderManualPagination()
|
|
@@ -475,7 +477,7 @@ var DeckContent = function (_React$Component) {
|
|
|
475
477
|
}]);
|
|
476
478
|
|
|
477
479
|
return DeckContent;
|
|
478
|
-
}(
|
|
480
|
+
}(React.Component);
|
|
479
481
|
|
|
480
482
|
var ContentCard = withRouter(DeckContent);
|
|
481
483
|
|