@mjhls/mjh-framework 1.0.702 → 1.0.703-testing-module-splitting
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 +27 -27
- package/dist/cjs/AD300x250x600.js +27 -27
- package/dist/cjs/AD728x90.js +30 -30
- package/dist/cjs/ADFloatingFooter.js +33 -33
- package/dist/cjs/ADFooter.js +16 -14
- package/dist/cjs/ADGutter.js +30 -30
- package/dist/cjs/{ADInfeed-ede153e2.js → ADInfeed-d36dc3ca.js} +13 -11
- package/dist/cjs/ADSkyscraper.js +30 -30
- package/dist/cjs/ADSponsoredResources.js +30 -30
- package/dist/cjs/ADWebcast.js +30 -30
- package/dist/cjs/ADWelcome.js +34 -34
- package/dist/cjs/{ADlgInfeed-6a121a0d.js → ADlgInfeed-93205fa0.js} +9 -8
- package/dist/cjs/AccordionPanel.js +32 -29
- package/dist/cjs/AdSlot.js +35 -35
- package/dist/cjs/AdSlotsProvider.js +8 -9
- package/dist/cjs/AlphabeticList.js +27 -25
- package/dist/cjs/ArticleCarousel.js +24 -25
- package/dist/cjs/ArticleSeriesListing.js +61 -62
- package/dist/cjs/Auth.js +154 -149
- package/dist/cjs/{AuthorComponent-d19285ed.js → AuthorComponent-482218ce.js} +14 -13
- package/dist/cjs/Beam.js +21 -20
- package/dist/cjs/{BlockContent-e53217a7.js → BlockContent-eca358e4.js} +27 -24
- package/dist/cjs/Breadcrumbs.js +30 -27
- package/dist/cjs/BrowseVideosListing.js +42 -43
- package/dist/cjs/CMEDeck.js +83 -85
- package/dist/cjs/Column1.js +14 -11
- package/dist/cjs/Column2.js +37 -35
- package/dist/cjs/Column3.js +60 -58
- package/dist/cjs/ConferenceArticleCard.js +38 -37
- package/dist/cjs/ConferenceBanner-6c9e718a.js +24 -0
- package/dist/cjs/DeckContent.js +109 -107
- package/dist/cjs/DeckQueue.js +95 -93
- package/dist/cjs/{Dfp-13ff07b4.js → Dfp-80c3d853.js} +34 -35
- package/dist/cjs/EventsDeck.js +164 -157
- package/dist/cjs/ExternalResources.js +77 -78
- package/dist/cjs/Feature.js +26 -25
- package/dist/cjs/ForbesHero.js +42 -43
- package/dist/cjs/GridContent.js +187 -185
- package/dist/cjs/GridHero.js +44 -45
- package/dist/cjs/GroupDeck.js +54 -52
- package/dist/cjs/HamMagazine.js +143 -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 +78 -75
- package/dist/cjs/IssueDeck.js +77 -74
- package/dist/cjs/IssueLanding.js +73 -74
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +41 -40
- package/dist/cjs/MasterDeck.js +87 -88
- package/dist/cjs/NavDvm.js +81 -75
- package/dist/cjs/{NavFooter-76c913e3.js → NavFooter-3dcd99a8.js} +15 -14
- package/dist/cjs/NavMagazine.js +152 -148
- package/dist/cjs/NavNative.js +131 -124
- package/dist/cjs/NavNormal.js +54 -48
- package/dist/cjs/OncliveHero.js +20 -19
- package/dist/cjs/OncliveLargeHero.js +68 -69
- package/dist/cjs/PageFilter.js +16 -14
- package/dist/cjs/PartnerDetailListing.js +112 -113
- package/dist/cjs/PdfDownload.js +9 -8
- package/dist/cjs/PopUpModal.js +22 -19
- package/dist/cjs/PublicationDeck.js +68 -66
- package/dist/cjs/PublicationLanding.js +146 -144
- package/dist/cjs/QueueDeckExpanded.js +298 -300
- package/dist/cjs/RecentNews.js +24 -23
- package/dist/cjs/RelatedContent.js +53 -55
- package/dist/cjs/RelatedTopicsDropdown.js +32 -29
- package/dist/cjs/RolesDeck.js +32 -27
- package/dist/cjs/Search.js +23 -18
- package/dist/cjs/Segment.js +21 -20
- package/dist/cjs/SetCookie.js +2 -2
- package/dist/cjs/SideFooter.js +41 -41
- package/dist/cjs/SocialIcons.js +10 -9
- package/dist/cjs/{SocialSearchComponent-1ef1e6fb.js → SocialSearchComponent-a49e8e9d.js} +36 -32
- package/dist/cjs/SocialShare.js +31 -29
- package/dist/cjs/TaxonomyCard.js +64 -61
- package/dist/cjs/TemplateNormal.js +78 -78
- package/dist/cjs/ThumbnailCard.js +22 -23
- package/dist/cjs/Ustream.js +27 -26
- package/dist/cjs/VerticalHero.js +18 -17
- package/dist/cjs/VideoSeriesCard.js +35 -36
- package/dist/cjs/VideoSeriesFilter.js +22 -21
- package/dist/cjs/VideoSeriesListing.js +76 -77
- package/dist/cjs/View.js +229 -228
- package/dist/cjs/YahooHero.js +41 -42
- package/dist/cjs/YoutubeGroup.js +73 -74
- package/dist/cjs/{_export-a917dedd.js → _export-7e018e14.js} +17 -161
- package/dist/cjs/{_is-array-a82382b4.js → _is-array-4c61cfba.js} +17 -16
- package/dist/cjs/{_iter-detect-671c90bd.js → _iter-detect-2a826637.js} +10 -10
- package/dist/cjs/{_library-4360b4e4.js → _library-dd23b178.js} +1 -1
- package/dist/cjs/{_object-pie-6bed508e.js → _object-pie-68c5bcbc.js} +2 -2
- package/dist/cjs/_object-sap-4ac28868.js +16 -0
- package/dist/cjs/{_set-species-47156c42.js → _set-species-d088ff6e.js} +18 -17
- package/dist/cjs/_to-object-233fc5c9.js +149 -0
- package/dist/cjs/{asyncToGenerator-fd8e35e7.js → asyncToGenerator-7ca8f87e.js} +72 -71
- package/dist/cjs/{brightcove-react-player-loader.es-05029198.js → brightcove-react-player-loader.es-a195642e.js} +7 -6
- package/dist/cjs/core.get-iterator-method-14f49e03.js +40 -0
- package/dist/cjs/{debounce-fb3a46a9.js → debounce-eb287781.js} +7 -7
- package/dist/cjs/{define-property-9b6df20e.js → define-property-fd46a81e.js} +4 -4
- package/dist/cjs/{defineProperty-d3c0cfc0.js → defineProperty-edc12c5a.js} +2 -2
- package/dist/cjs/{entities-310b46ee.js → entities-3f9d0f2f.js} +1 -1
- package/dist/cjs/{es6.string.iterator-e5f4ce45.js → es6.string.iterator-a390d61f.js} +36 -35
- package/dist/cjs/{extends-5fde0677.js → extends-0a166456.js} +12 -11
- package/dist/cjs/{get-70ef997d.js → get-68c52cb1.js} +11 -11
- package/dist/cjs/getRelatedArticle.js +22 -21
- package/dist/cjs/getSerializers.js +42 -44
- package/dist/cjs/getSeriesDetail.js +1 -1
- package/dist/cjs/{getTargeting-5ca9bfaf.js → getTargeting-57edbc60.js} +11 -11
- package/dist/cjs/getTargeting.js +9 -8
- package/dist/cjs/iconBase-68959171.js +0 -3
- package/dist/cjs/{index-b1ee7cd9.js → index-0e3597c2.js} +423 -418
- package/dist/cjs/{index-d7577df6.js → index-5ad2b070.js} +14 -11
- package/dist/cjs/{index-29e3f3a9.js → index-80f57cff.js} +19 -16
- package/dist/cjs/{index-949261b4.js → index-cb6ed1fc.js} +4 -4
- package/dist/cjs/{index-ff69979f.js → index-d48b231c.js} +3 -3
- package/dist/cjs/{index.es-e9d84959.js → index.es-f3e47207.js} +8 -7
- package/dist/cjs/{index.esm-8a8fa078.js → index.esm-8123cf40.js} +18 -17
- package/dist/cjs/index.js +9 -264
- package/dist/cjs/{inherits-02a27fbf.js → inherits-a9209207.js} +19 -18
- package/dist/cjs/{isSymbol-a0d5eb50.js → isSymbol-04666465.js} +5 -5
- package/dist/cjs/{js.cookie-e4684873.js → js.cookie-a511c430.js} +1 -1
- package/dist/cjs/{keys-1a65eb47.js → keys-d2f5bcf0.js} +6 -5
- package/dist/cjs/{lodash-257df6c4.js → lodash-4ef21f0f.js} +2 -2
- package/dist/cjs/{main-1442052b.js → main-eeffe77b.js} +70 -67
- package/dist/cjs/{moment-29403f08.js → moment-aca40de1.js} +1 -2
- package/dist/cjs/{react-social-icons-5604d0d1.js → react-social-icons-af932527.js} +29 -26
- package/dist/cjs/{slicedToArray-d0ac47b9.js → slicedToArray-60dafa9c.js} +10 -10
- package/dist/cjs/{smoothscroll-03c20c7d.js → smoothscroll-1abb448e.js} +2 -2
- package/dist/cjs/{stringify-e064b7d0.js → stringify-44244c64.js} +2 -2
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-d47f0c64.js → toConsumableArray-4bb00640.js} +14 -13
- package/dist/cjs/{typeof-5763a25b.js → typeof-03c3fdc8.js} +85 -84
- package/dist/cjs/urlFor.js +2 -2
- package/dist/cjs/{util-f2c1b65b.js → util-6f784d85.js} +1 -1
- package/dist/cjs/{visibility-sensor-ede0bc7b.js → visibility-sensor-8b54af99.js} +8 -5
- package/dist/cjs/{web.dom.iterable-cd8a9ccb.js → web.dom.iterable-2d47ebe6.js} +11 -10
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +23 -24
- package/dist/esm/AD300x250x600.js +23 -24
- package/dist/esm/AD728x90.js +26 -27
- package/dist/esm/ADFloatingFooter.js +29 -30
- package/dist/esm/ADFooter.js +12 -11
- package/dist/esm/ADGutter.js +26 -27
- package/dist/esm/{ADInfeed-d890d5ca.js → ADInfeed-bf7de12d.js} +8 -8
- package/dist/esm/ADSkyscraper.js +26 -27
- package/dist/esm/ADSponsoredResources.js +26 -27
- package/dist/esm/ADWebcast.js +26 -27
- package/dist/esm/ADWelcome.js +30 -31
- package/dist/esm/{ADlgInfeed-1d006b36.js → ADlgInfeed-3ac04591.js} +7 -7
- package/dist/esm/AccordionPanel.js +25 -24
- package/dist/esm/AdSlot.js +26 -27
- package/dist/esm/AdSlotsProvider.js +4 -6
- package/dist/esm/AlphabeticList.js +23 -22
- package/dist/esm/ArticleCarousel.js +20 -22
- package/dist/esm/ArticleSeriesListing.js +55 -57
- package/dist/esm/Auth.js +135 -134
- package/dist/esm/{AuthorComponent-8ffb1deb.js → AuthorComponent-22790017.js} +11 -11
- package/dist/esm/Beam.js +21 -20
- package/dist/esm/{BlockContent-e6f64e62.js → BlockContent-d8cd739c.js} +21 -23
- package/dist/esm/Breadcrumbs.js +18 -17
- package/dist/esm/BrowseVideosListing.js +38 -40
- package/dist/esm/CMEDeck.js +80 -82
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +28 -29
- package/dist/esm/Column3.js +50 -51
- package/dist/esm/ConferenceArticleCard.js +33 -33
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/DeckContent.js +86 -88
- package/dist/esm/DeckQueue.js +69 -71
- package/dist/esm/{Dfp-7db56716.js → Dfp-08279047.js} +23 -25
- package/dist/esm/EventsDeck.js +120 -120
- package/dist/esm/ExternalResources.js +71 -73
- package/dist/esm/Feature.js +17 -18
- package/dist/esm/ForbesHero.js +35 -37
- package/dist/esm/GridContent.js +145 -147
- package/dist/esm/GridHero.js +37 -39
- package/dist/esm/GroupDeck.js +49 -48
- package/dist/esm/HamMagazine.js +111 -112
- 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 +50 -52
- package/dist/esm/IssueDeck.js +47 -49
- package/dist/esm/IssueLanding.js +69 -71
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +35 -36
- package/dist/esm/MasterDeck.js +80 -82
- package/dist/esm/NavDvm.js +58 -57
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +122 -123
- package/dist/esm/NavNative.js +99 -100
- package/dist/esm/NavNormal.js +36 -35
- package/dist/esm/OncliveHero.js +16 -16
- package/dist/esm/OncliveLargeHero.js +60 -62
- package/dist/esm/PageFilter.js +13 -12
- package/dist/esm/PartnerDetailListing.js +107 -109
- package/dist/esm/PdfDownload.js +6 -6
- package/dist/esm/PopUpModal.js +15 -14
- package/dist/esm/PublicationDeck.js +40 -43
- package/dist/esm/PublicationLanding.js +123 -125
- package/dist/esm/QueueDeckExpanded.js +278 -280
- package/dist/esm/RecentNews.js +20 -20
- package/dist/esm/RelatedContent.js +47 -50
- package/dist/esm/RelatedTopicsDropdown.js +21 -21
- package/dist/esm/RolesDeck.js +13 -13
- package/dist/esm/Search.js +13 -12
- package/dist/esm/Segment.js +21 -20
- package/dist/esm/SetCookie.js +2 -2
- package/dist/esm/SideFooter.js +36 -37
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-4eae0149.js → SocialSearchComponent-46ea0f4d.js} +24 -24
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +42 -44
- package/dist/esm/TemplateNormal.js +68 -69
- package/dist/esm/ThumbnailCard.js +13 -16
- package/dist/esm/Ustream.js +23 -23
- package/dist/esm/VerticalHero.js +13 -13
- package/dist/esm/VideoSeriesCard.js +27 -29
- package/dist/esm/VideoSeriesFilter.js +19 -18
- package/dist/esm/VideoSeriesListing.js +69 -71
- package/dist/esm/View.js +216 -219
- package/dist/esm/YahooHero.js +35 -37
- package/dist/esm/YoutubeGroup.js +57 -59
- package/dist/esm/{_export-f7ec2adf.js → _export-9029ebab.js} +2 -133
- package/dist/esm/{_is-array-5bea6006.js → _is-array-46713c19.js} +16 -15
- package/dist/esm/{_iter-detect-65720de7.js → _iter-detect-60cd145f.js} +8 -8
- package/dist/esm/_library-528f1934.js +3 -0
- package/dist/esm/{_object-pie-8e2f6c3a.js → _object-pie-33c40e79.js} +1 -1
- package/dist/esm/_object-sap-108a1939.js +14 -0
- package/dist/esm/{_set-species-26ee5c2a.js → _set-species-a4b3fe39.js} +15 -14
- package/dist/esm/_to-object-62924b74.js +135 -0
- package/dist/esm/{asyncToGenerator-0c61f551.js → asyncToGenerator-7714cea4.js} +72 -71
- package/dist/esm/{brightcove-react-player-loader.es-e761d404.js → brightcove-react-player-loader.es-b43c695a.js} +3 -3
- package/dist/esm/core.get-iterator-method-6636b3ef.js +37 -0
- package/dist/esm/{debounce-7b569c00.js → debounce-1a993acf.js} +6 -6
- package/dist/esm/{define-property-7a40a451.js → define-property-f2d6f244.js} +4 -4
- package/dist/esm/{defineProperty-a2ac5d3d.js → defineProperty-69f06029.js} +2 -2
- package/dist/esm/{entities-7cc3bf45.js → entities-932b50cf.js} +1 -1
- package/dist/esm/{es6.string.iterator-13b94db0.js → es6.string.iterator-2efae22d.js} +29 -28
- package/dist/esm/{extends-8e0228d5.js → extends-f866c8d0.js} +12 -11
- package/dist/esm/{get-bb2155d5.js → get-5ee14cda.js} +10 -10
- package/dist/esm/getRelatedArticle.js +16 -15
- package/dist/esm/getSerializers.js +42 -44
- package/dist/esm/getSeriesDetail.js +1 -1
- package/dist/esm/{getTargeting-d97a1e83.js → getTargeting-5cdca4e1.js} +11 -11
- package/dist/esm/getTargeting.js +9 -8
- package/dist/esm/{index-f7fdcc91.js → index-3f5c03b2.js} +3 -3
- package/dist/esm/{index-4540328d.js → index-5db919a6.js} +382 -384
- package/dist/esm/{index-17490425.js → index-669ff425.js} +9 -11
- package/dist/esm/{index-1295881c.js → index-750a7380.js} +2 -2
- package/dist/esm/{index-a4e850af.js → index-752d1dae.js} +13 -16
- package/dist/esm/{index.es-a6137319.js → index.es-c6222053.js} +5 -5
- package/dist/esm/{index.esm-3fdda599.js → index.esm-57f377a5.js} +1 -1
- package/dist/esm/{index.esm-4838a32e.js → index.esm-8016b507.js} +15 -15
- package/dist/esm/index.js +11 -176
- package/dist/esm/{inherits-d1948b66.js → inherits-75d6495f.js} +17 -16
- package/dist/esm/{isSymbol-2b7f6e65.js → isSymbol-807e927e.js} +1 -1
- package/dist/esm/{js.cookie-2ce24ab0.js → js.cookie-6874175c.js} +1 -1
- package/dist/esm/{keys-e091cb65.js → keys-78217618.js} +6 -5
- package/dist/esm/{lodash-2b866578.js → lodash-ad27652f.js} +2 -2
- package/dist/esm/{main-140f99b4.js → main-decc48f4.js} +66 -67
- package/dist/esm/{moment-8797a4d3.js → moment-bc12cb97.js} +2 -2
- package/dist/esm/{react-social-icons-40e8d28f.js → react-social-icons-91f9716f.js} +24 -26
- package/dist/esm/{slicedToArray-8818fe95.js → slicedToArray-fa9240c4.js} +10 -10
- package/dist/esm/{smoothscroll-2d74941c.js → smoothscroll-ab6e0238.js} +1 -1
- package/dist/esm/{stringify-dedf4a20.js → stringify-22907f56.js} +2 -2
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-02217419.js → toConsumableArray-bd01c637.js} +14 -13
- package/dist/esm/{typeof-a10a5616.js → typeof-668f30cd.js} +86 -85
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/{util-7700fc59.js → util-3ab476bf.js} +1 -1
- package/dist/esm/{visibility-sensor-7b6316cf.js → visibility-sensor-082c757b.js} +3 -5
- package/dist/esm/{web.dom.iterable-c3ba4d37.js → web.dom.iterable-89515070.js} +11 -10
- package/package.json +105 -105
- package/dist/cjs/ConferenceBanner-4a16fddc.js +0 -23
- package/dist/cjs/_object-sap-947ef6fb.js +0 -16
- package/dist/cjs/_prop-types_commonjs-external-1a8c9893.js +0 -10
- package/dist/cjs/_react-dom_commonjs-external-3c49a59a.js +0 -9
- package/dist/cjs/_react_commonjs-external-58b78ee1.js +0 -10
- package/dist/cjs/core.get-iterator-method-07b02ac3.js +0 -39
- package/dist/esm/_library-90219a8d.js +0 -3
- package/dist/esm/_object-sap-146241c9.js +0 -14
- package/dist/esm/_prop-types_commonjs-external-9481d338.js +0 -5
- package/dist/esm/_react-dom_commonjs-external-f1a1ac81.js +0 -5
- package/dist/esm/_react_commonjs-external-22b61490.js +0 -5
- package/dist/esm/core.get-iterator-method-dbbb346b.js +0 -36
|
@@ -1,30 +1,30 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { m as moment } from './moment-bc12cb97.js';
|
|
3
|
+
import { i as imageUrlBuilder } from './index-3f5c03b2.js';
|
|
1
4
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import React__default from 'react';
|
|
3
|
-
import { m as moment } from './moment-8797a4d3.js';
|
|
4
|
-
import { i as imageUrlBuilder } from './index-f7fdcc91.js';
|
|
5
5
|
|
|
6
|
-
/*
|
|
7
|
-
Example usage - targetedonc.com/latest-conference
|
|
8
|
-
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] {
|
|
9
|
-
...,
|
|
10
|
-
title,
|
|
11
|
-
summary,
|
|
12
|
-
thumbnail,
|
|
13
|
-
url,
|
|
14
|
-
published,
|
|
15
|
-
documentGroup->,
|
|
16
|
-
contentCategory->,
|
|
17
|
-
'pageNumber': ${currentPage}
|
|
18
|
-
}`
|
|
19
|
-
|
|
20
|
-
const posts = await client.fetch(query, params)
|
|
6
|
+
/*
|
|
7
|
+
Example usage - targetedonc.com/latest-conference
|
|
8
|
+
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] {
|
|
9
|
+
...,
|
|
10
|
+
title,
|
|
11
|
+
summary,
|
|
12
|
+
thumbnail,
|
|
13
|
+
url,
|
|
14
|
+
published,
|
|
15
|
+
documentGroup->,
|
|
16
|
+
contentCategory->,
|
|
17
|
+
'pageNumber': ${currentPage}
|
|
18
|
+
}`
|
|
19
|
+
|
|
20
|
+
const posts = await client.fetch(query, params)
|
|
21
21
|
*/
|
|
22
22
|
|
|
23
23
|
var ConferenceArticleCard = function ConferenceArticleCard(props) {
|
|
24
|
-
var data = props.data
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
client = props.client;
|
|
24
|
+
var data = props.data;
|
|
25
|
+
props.variant;
|
|
26
|
+
props.index;
|
|
27
|
+
var client = props.client;
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
var builder = imageUrlBuilder(client);
|
|
@@ -34,47 +34,47 @@ var ConferenceArticleCard = function ConferenceArticleCard(props) {
|
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
//title, thumbnail, summary, published, documentGroup.identifier.current, documentGroup.identifier.name
|
|
37
|
-
return
|
|
37
|
+
return React.createElement(
|
|
38
38
|
'div',
|
|
39
39
|
{ className: 'conference-media' },
|
|
40
|
-
|
|
40
|
+
React.createElement(
|
|
41
41
|
'a',
|
|
42
42
|
{ className: 'img-wrapper', href: '/view/' + (data.url ? data.url.current : '') },
|
|
43
|
-
|
|
43
|
+
React.createElement('img', {
|
|
44
44
|
className: 'mr-3 img-fluid',
|
|
45
45
|
src: data.thumbnail && urlFor(data.thumbnail.asset).width(350).url(),
|
|
46
46
|
alt: data.title
|
|
47
47
|
})
|
|
48
48
|
),
|
|
49
|
-
|
|
49
|
+
React.createElement(
|
|
50
50
|
'div',
|
|
51
51
|
{ className: 'media-body' },
|
|
52
|
-
|
|
52
|
+
React.createElement(
|
|
53
53
|
'a',
|
|
54
54
|
{ href: '/view/' + (data.url ? data.url.current : '') },
|
|
55
|
-
|
|
55
|
+
React.createElement(
|
|
56
56
|
'h4',
|
|
57
57
|
{ className: 'conf-media__card-title' },
|
|
58
58
|
data.title
|
|
59
59
|
)
|
|
60
60
|
),
|
|
61
|
-
|
|
61
|
+
React.createElement(
|
|
62
62
|
'p',
|
|
63
63
|
{ className: 'conf-media__card-text' },
|
|
64
64
|
moment(data.published).format('MMMM Do YYYY, h:mma')
|
|
65
65
|
),
|
|
66
|
-
|
|
66
|
+
React.createElement(
|
|
67
67
|
'p',
|
|
68
68
|
{ className: 'mb-1 conference-group' },
|
|
69
|
-
data.documentGroup && data.documentGroup.identifier &&
|
|
69
|
+
data.documentGroup && data.documentGroup.identifier && React.createElement(
|
|
70
70
|
'a',
|
|
71
71
|
{ href: '/conference/' + data.documentGroup.identifier.current, alt: data.thumbnail && data.thumbnail.alt || data.title },
|
|
72
72
|
data.documentGroup.name
|
|
73
73
|
)
|
|
74
74
|
),
|
|
75
|
-
|
|
75
|
+
React.createElement('p', { className: 'pt-2 card-text', dangerouslySetInnerHTML: { __html: data.summary } })
|
|
76
76
|
),
|
|
77
|
-
|
|
77
|
+
React.createElement(
|
|
78
78
|
'style',
|
|
79
79
|
{ jsx: 'true' },
|
|
80
80
|
'\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,47 +1,45 @@
|
|
|
1
|
-
import './
|
|
2
|
-
import './
|
|
3
|
-
import './
|
|
4
|
-
import '
|
|
5
|
-
import './
|
|
6
|
-
import { _ as _toConsumableArray } from './toConsumableArray-02217419.js';
|
|
7
|
-
import './core.get-iterator-method-dbbb346b.js';
|
|
8
|
-
import './_object-pie-8e2f6c3a.js';
|
|
9
|
-
import { _ as _extends } from './extends-8e0228d5.js';
|
|
10
|
-
import './_object-sap-146241c9.js';
|
|
11
|
-
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-d1948b66.js';
|
|
12
|
-
import './define-property-7a40a451.js';
|
|
13
|
-
import './web.dom.iterable-c3ba4d37.js';
|
|
14
|
-
import './typeof-a10a5616.js';
|
|
15
|
-
import './_is-array-5bea6006.js';
|
|
16
|
-
import React__default from 'react';
|
|
17
|
-
import { l as lib_3 } from './index-17490425.js';
|
|
18
|
-
import 'prop-types';
|
|
19
|
-
import './_react_commonjs-external-22b61490.js';
|
|
20
|
-
import './_prop-types_commonjs-external-9481d338.js';
|
|
1
|
+
import { _ as _toConsumableArray } from './toConsumableArray-bd01c637.js';
|
|
2
|
+
import { _ as _extends } from './extends-f866c8d0.js';
|
|
3
|
+
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-75d6495f.js';
|
|
4
|
+
import React from 'react';
|
|
5
|
+
import { l as lib_3 } from './index-669ff425.js';
|
|
21
6
|
import Container from 'react-bootstrap/Container';
|
|
22
7
|
import Row from 'react-bootstrap/Row';
|
|
23
8
|
import Col from 'react-bootstrap/Col';
|
|
24
9
|
import Card from 'react-bootstrap/Card';
|
|
25
|
-
import { m as moment } from './moment-
|
|
10
|
+
import { m as moment } from './moment-bc12cb97.js';
|
|
26
11
|
import { withRouter } from 'next/router';
|
|
27
|
-
import './
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
12
|
+
import { d as debounce_1 } from './debounce-1a993acf.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-3f5c03b2.js';
|
|
16
|
+
import { L as LazyLoad } from './index-752d1dae.js';
|
|
17
|
+
import { m as main_40 } from './main-decc48f4.js';
|
|
18
|
+
import { c as clean_html_1 } from './entities-932b50cf.js';
|
|
19
|
+
import { A as ADInfeed } from './ADInfeed-bf7de12d.js';
|
|
20
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
21
|
+
import './es6.string.iterator-2efae22d.js';
|
|
22
|
+
import './_to-object-62924b74.js';
|
|
23
|
+
import './_export-9029ebab.js';
|
|
24
|
+
import './_iter-detect-60cd145f.js';
|
|
25
|
+
import './core.get-iterator-method-6636b3ef.js';
|
|
26
|
+
import './_object-pie-33c40e79.js';
|
|
27
|
+
import './_object-sap-108a1939.js';
|
|
28
|
+
import './define-property-f2d6f244.js';
|
|
29
|
+
import './typeof-668f30cd.js';
|
|
30
|
+
import './web.dom.iterable-89515070.js';
|
|
31
|
+
import './_is-array-46713c19.js';
|
|
32
|
+
import './_library-528f1934.js';
|
|
33
|
+
import 'prop-types';
|
|
34
|
+
import './isSymbol-807e927e.js';
|
|
30
35
|
import 'react-dom';
|
|
31
|
-
import './
|
|
32
|
-
import
|
|
33
|
-
import { i as imageUrlBuilder } from './index-f7fdcc91.js';
|
|
34
|
-
import { L as LazyLoad } from './index-a4e850af.js';
|
|
35
|
-
import { m as main_40 } from './main-140f99b4.js';
|
|
36
|
-
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
37
|
-
import './stringify-dedf4a20.js';
|
|
38
|
-
import './slicedToArray-8818fe95.js';
|
|
39
|
-
import './asyncToGenerator-0c61f551.js';
|
|
40
|
-
import './_set-species-26ee5c2a.js';
|
|
41
|
-
import './Segment.js';
|
|
42
|
-
import './Beam.js';
|
|
36
|
+
import './stringify-22907f56.js';
|
|
37
|
+
import './slicedToArray-fa9240c4.js';
|
|
43
38
|
import './AdSlot.js';
|
|
44
|
-
import
|
|
39
|
+
import './Beam.js';
|
|
40
|
+
import './asyncToGenerator-7714cea4.js';
|
|
41
|
+
import './_set-species-a4b3fe39.js';
|
|
42
|
+
import './Segment.js';
|
|
45
43
|
|
|
46
44
|
var DeckContent = function (_React$Component) {
|
|
47
45
|
_inherits(DeckContent, _React$Component);
|
|
@@ -68,7 +66,7 @@ var DeckContent = function (_React$Component) {
|
|
|
68
66
|
scrolling: true,
|
|
69
67
|
query: _this.query,
|
|
70
68
|
currentPage: _this.props.currentPage || 1
|
|
71
|
-
}, _this.loadMore =
|
|
69
|
+
}, _this.loadMore = debounce_1(function () {
|
|
72
70
|
_this.setState(function (state) {
|
|
73
71
|
var page = state.page,
|
|
74
72
|
from = state.from,
|
|
@@ -182,14 +180,14 @@ var DeckContent = function (_React$Component) {
|
|
|
182
180
|
var newPath = pageNumber === 1 ? '' + path : path + '?page=' + pageNumber;
|
|
183
181
|
|
|
184
182
|
// please leave this for later debug purpose : Yong Jun.
|
|
185
|
-
/* console.log('page change reported', {
|
|
186
|
-
currentPage: currentPage,
|
|
187
|
-
pageNumber: pageNumber,
|
|
188
|
-
pathname: pathname,
|
|
189
|
-
path: path,
|
|
190
|
-
newPath: newPath,
|
|
191
|
-
firstPage: pageNumber === 1,
|
|
192
|
-
queryString: queryString
|
|
183
|
+
/* console.log('page change reported', {
|
|
184
|
+
currentPage: currentPage,
|
|
185
|
+
pageNumber: pageNumber,
|
|
186
|
+
pathname: pathname,
|
|
187
|
+
path: path,
|
|
188
|
+
newPath: newPath,
|
|
189
|
+
firstPage: pageNumber === 1,
|
|
190
|
+
queryString: queryString
|
|
193
191
|
}) */
|
|
194
192
|
|
|
195
193
|
if (pageview) {
|
|
@@ -209,35 +207,35 @@ var DeckContent = function (_React$Component) {
|
|
|
209
207
|
url = authorDetail.url;
|
|
210
208
|
|
|
211
209
|
if (displayName && url && url.current) {
|
|
212
|
-
return
|
|
210
|
+
return React.createElement(
|
|
213
211
|
'div',
|
|
214
212
|
{ key: _id },
|
|
215
|
-
index === 0 &&
|
|
213
|
+
index === 0 && React.createElement(
|
|
216
214
|
'span',
|
|
217
215
|
{ className: 'pr-1' },
|
|
218
216
|
'By'
|
|
219
217
|
),
|
|
220
|
-
|
|
218
|
+
React.createElement(
|
|
221
219
|
'a',
|
|
222
220
|
{ href: '/authors/${url.current}', className: 'text-muted' },
|
|
223
221
|
displayName,
|
|
224
|
-
length !== index + 1 &&
|
|
222
|
+
length !== index + 1 && React.createElement('br', null)
|
|
225
223
|
)
|
|
226
224
|
);
|
|
227
225
|
} else if (displayName) {
|
|
228
|
-
return
|
|
226
|
+
return React.createElement(
|
|
229
227
|
'div',
|
|
230
228
|
{ key: _id },
|
|
231
|
-
index === 0 &&
|
|
229
|
+
index === 0 && React.createElement(
|
|
232
230
|
'span',
|
|
233
231
|
{ className: 'pr-1' },
|
|
234
232
|
'By'
|
|
235
233
|
),
|
|
236
|
-
|
|
234
|
+
React.createElement(
|
|
237
235
|
'span',
|
|
238
236
|
{ className: 'text-muted' },
|
|
239
237
|
displayName,
|
|
240
|
-
length !== index + 1 &&
|
|
238
|
+
length !== index + 1 && React.createElement('br', null)
|
|
241
239
|
)
|
|
242
240
|
);
|
|
243
241
|
}
|
|
@@ -281,7 +279,7 @@ var DeckContent = function (_React$Component) {
|
|
|
281
279
|
articles = _this.state.data;
|
|
282
280
|
}
|
|
283
281
|
|
|
284
|
-
return
|
|
282
|
+
return React.createElement(
|
|
285
283
|
Row,
|
|
286
284
|
null,
|
|
287
285
|
articles && articles.map(function (row, index) {
|
|
@@ -293,51 +291,51 @@ var DeckContent = function (_React$Component) {
|
|
|
293
291
|
lgVar = 6;
|
|
294
292
|
}
|
|
295
293
|
if (row._type === 'BrandInsight' && row.adUnit) {
|
|
296
|
-
return
|
|
294
|
+
return React.createElement(ADInfeed, { index: index, infeedAd: row });
|
|
297
295
|
} else {
|
|
298
296
|
var pageNumber = row.pageNumber || _this.state.page;
|
|
299
297
|
var contentCategoryName = row.contentCategory && row.contentCategory.name && _this.mapping[row.contentCategory.name] ? row.contentCategory.name : 'Articles';
|
|
300
|
-
return
|
|
301
|
-
|
|
298
|
+
return React.createElement(
|
|
299
|
+
React.Fragment,
|
|
302
300
|
{ key: itemCounter },
|
|
303
|
-
|
|
301
|
+
React.createElement(
|
|
304
302
|
VisibilitySensor,
|
|
305
303
|
{
|
|
306
304
|
onChange: function onChange(isVisible) {
|
|
307
305
|
isVisible && _this.changePageNumber(pageNumber);
|
|
308
306
|
} },
|
|
309
|
-
|
|
307
|
+
React.createElement(
|
|
310
308
|
Col,
|
|
311
309
|
{ md: 12, lg: lgVar, counter: itemCounter++, style: { display: 'flex', flex: '1 0 auto' } },
|
|
312
|
-
|
|
310
|
+
React.createElement(
|
|
313
311
|
Card,
|
|
314
312
|
{ className: 'content-card', style: { flexDirection: mode } },
|
|
315
|
-
(row.thumbnail && row.thumbnail.asset || _this.props.defaultImage) &&
|
|
313
|
+
(row.thumbnail && row.thumbnail.asset || _this.props.defaultImage) && React.createElement(
|
|
316
314
|
'a',
|
|
317
315
|
{ href: _this.mapping[contentCategoryName] + '/' + row.url.current },
|
|
318
|
-
|
|
316
|
+
React.createElement(
|
|
319
317
|
LazyLoad,
|
|
320
318
|
{ height: _this.props.imageHeight },
|
|
321
|
-
|
|
319
|
+
React.createElement(Card.Img, {
|
|
322
320
|
variant: 'top',
|
|
323
321
|
src: _this.renderCardImage(row, page),
|
|
324
322
|
alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : ''
|
|
325
323
|
})
|
|
326
324
|
)
|
|
327
325
|
),
|
|
328
|
-
|
|
326
|
+
React.createElement(
|
|
329
327
|
Card.Body,
|
|
330
328
|
null,
|
|
331
|
-
|
|
329
|
+
React.createElement(
|
|
332
330
|
'a',
|
|
333
331
|
{ href: _this.mapping[contentCategoryName] + '/' + row.url.current },
|
|
334
|
-
|
|
332
|
+
React.createElement(
|
|
335
333
|
Card.Title,
|
|
336
334
|
null,
|
|
337
335
|
row.title
|
|
338
336
|
)
|
|
339
337
|
),
|
|
340
|
-
_this.props.showPublished && row.published &&
|
|
338
|
+
_this.props.showPublished && row.published && React.createElement(
|
|
341
339
|
Card.Subtitle,
|
|
342
340
|
null,
|
|
343
341
|
moment(row.published).format('MMMM DD, YYYY')
|
|
@@ -345,7 +343,7 @@ var DeckContent = function (_React$Component) {
|
|
|
345
343
|
_this.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 && row.authorMapping.map(function (authorDetail, index) {
|
|
346
344
|
return _this.renderAuthor(authorDetail, index, row.authorMapping.length);
|
|
347
345
|
}),
|
|
348
|
-
|
|
346
|
+
React.createElement(
|
|
349
347
|
Card.Text,
|
|
350
348
|
null,
|
|
351
349
|
clean_html_1(row.summary)
|
|
@@ -363,7 +361,7 @@ var DeckContent = function (_React$Component) {
|
|
|
363
361
|
var rightItems = _this.props.rightItems;
|
|
364
362
|
|
|
365
363
|
var i = ((index + 1) / numberOfItemsBeforeAd - 1) % rightItems.length;
|
|
366
|
-
return
|
|
364
|
+
return React.createElement(
|
|
367
365
|
Col,
|
|
368
366
|
{ md: 12, style: { display: 'flex', flex: '1 0 auto' } },
|
|
369
367
|
rightItems[i].component
|
|
@@ -371,15 +369,15 @@ var DeckContent = function (_React$Component) {
|
|
|
371
369
|
}, _this.renderManualPagination = function () {
|
|
372
370
|
var currentPage = _this.state.currentPage;
|
|
373
371
|
|
|
374
|
-
return
|
|
372
|
+
return React.createElement(
|
|
375
373
|
'div',
|
|
376
374
|
{ className: 'd-flex justify-content-between' },
|
|
377
|
-
currentPage && currentPage > 1 &&
|
|
375
|
+
currentPage && currentPage > 1 && React.createElement(
|
|
378
376
|
'a',
|
|
379
377
|
{ href: '?page=' + (currentPage - 1) },
|
|
380
378
|
'<< Previous'
|
|
381
379
|
),
|
|
382
|
-
|
|
380
|
+
React.createElement(
|
|
383
381
|
'a',
|
|
384
382
|
{ href: '?page=' + (currentPage + 1) },
|
|
385
383
|
'Next >>'
|
|
@@ -425,38 +423,38 @@ var DeckContent = function (_React$Component) {
|
|
|
425
423
|
brandInsight = _props.brandInsight;
|
|
426
424
|
|
|
427
425
|
|
|
428
|
-
return
|
|
426
|
+
return React.createElement(
|
|
429
427
|
'div',
|
|
430
428
|
{ className: 'contentDeck' },
|
|
431
|
-
autoScroll ?
|
|
432
|
-
|
|
429
|
+
autoScroll ? React.createElement(
|
|
430
|
+
React.Fragment,
|
|
433
431
|
null,
|
|
434
|
-
|
|
432
|
+
React.createElement(
|
|
435
433
|
InfiniteScroll,
|
|
436
434
|
{ dataLength: this.state.data.length, next: this.loadMore, hasMore: this.state.scrolling, scrollThreshold: 0.9 },
|
|
437
|
-
|
|
435
|
+
React.createElement(
|
|
438
436
|
Container,
|
|
439
437
|
null,
|
|
440
438
|
this.cardLoader(page, columns, variant, showBI, brandInsight)
|
|
441
439
|
)
|
|
442
440
|
),
|
|
443
|
-
|
|
441
|
+
React.createElement(
|
|
444
442
|
'noscript',
|
|
445
443
|
null,
|
|
446
444
|
this.renderManualPagination()
|
|
447
445
|
)
|
|
448
|
-
) :
|
|
449
|
-
|
|
446
|
+
) : React.createElement(
|
|
447
|
+
React.Fragment,
|
|
450
448
|
null,
|
|
451
|
-
|
|
449
|
+
React.createElement(
|
|
452
450
|
Container,
|
|
453
451
|
null,
|
|
454
452
|
this.cardLoader(page, columns, variant, showBI, brandInsight)
|
|
455
453
|
),
|
|
456
|
-
|
|
454
|
+
React.createElement(
|
|
457
455
|
'div',
|
|
458
456
|
{ style: { padding: '0px 10px' } },
|
|
459
|
-
this.state.scrolling ?
|
|
457
|
+
this.state.scrolling ? React.createElement(
|
|
460
458
|
'button',
|
|
461
459
|
{
|
|
462
460
|
style: { margin: 'auto', width: '100%' },
|
|
@@ -464,17 +462,17 @@ var DeckContent = function (_React$Component) {
|
|
|
464
462
|
_this2.loadMore();
|
|
465
463
|
} },
|
|
466
464
|
'Load More'
|
|
467
|
-
) :
|
|
465
|
+
) : React.createElement(
|
|
468
466
|
'p',
|
|
469
467
|
{ style: { textAlign: 'center' } },
|
|
470
|
-
|
|
468
|
+
React.createElement(
|
|
471
469
|
'b',
|
|
472
470
|
null,
|
|
473
471
|
'End of data'
|
|
474
472
|
)
|
|
475
473
|
)
|
|
476
474
|
),
|
|
477
|
-
|
|
475
|
+
React.createElement(
|
|
478
476
|
'noscript',
|
|
479
477
|
null,
|
|
480
478
|
this.renderManualPagination()
|
|
@@ -485,7 +483,7 @@ var DeckContent = function (_React$Component) {
|
|
|
485
483
|
}]);
|
|
486
484
|
|
|
487
485
|
return DeckContent;
|
|
488
|
-
}(
|
|
486
|
+
}(React.Component);
|
|
489
487
|
|
|
490
488
|
var ContentCard = withRouter(DeckContent);
|
|
491
489
|
|