@mjhls/mjh-framework 1.0.861 → 1.0.862
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 +1 -1
- package/dist/cjs/AD300x250.js +23 -23
- package/dist/cjs/AD300x250x600.js +23 -23
- package/dist/cjs/AD728x90.js +26 -26
- package/dist/cjs/ADFloatingFooter.js +22 -22
- package/dist/cjs/ADFooter.js +6 -6
- package/dist/cjs/ADGutter.js +22 -22
- package/dist/cjs/{ADInfeed-ff26342c.js → ADInfeed-f8324b70.js} +4 -4
- package/dist/cjs/ADSkyscraper.js +22 -22
- package/dist/cjs/ADSponsoredResources.js +22 -22
- package/dist/cjs/ADWebcast.js +22 -22
- package/dist/cjs/ADWelcome.js +19 -19
- package/dist/cjs/{ADlgInfeed-ad4953d4.js → ADlgInfeed-98d7c699.js} +4 -4
- package/dist/cjs/AccordionPanel.js +8 -8
- package/dist/cjs/AdSlot.js +23 -23
- package/dist/cjs/AdSlotsProvider.js +13 -13
- package/dist/cjs/AlgoliaSearch.js +18 -18
- package/dist/cjs/AlphabeticList.js +10 -10
- package/dist/cjs/ArticleCarousel.js +17 -17
- package/dist/cjs/ArticleProgramLandingPage.js +49 -50
- package/dist/cjs/ArticleSeriesLandingPage.js +31 -31
- package/dist/cjs/ArticleSeriesListing.js +32 -32
- package/dist/cjs/Auth.js +484 -348
- package/dist/cjs/AuthWrapper.js +588 -11
- package/dist/cjs/{AuthorComponent-ac8972ce.js → AuthorComponent-c21aac7f.js} +1 -1
- package/dist/cjs/Beam.js +8 -8
- package/dist/cjs/{BlockContent-8b494587.js → BlockContent-36e54d77.js} +34 -34
- package/dist/cjs/Breadcrumbs.js +8 -8
- package/dist/cjs/CMEDeck.js +24 -24
- package/dist/cjs/Column2.js +16 -16
- package/dist/cjs/Column3.js +32 -32
- package/dist/cjs/ConferenceArticleCard.js +22 -22
- package/dist/cjs/DeckContent.js +41 -41
- package/dist/cjs/DeckQueue.js +30 -30
- package/dist/cjs/{Dfp-0bf098b5.js → Dfp-3f0ed4c8.js} +14 -14
- package/dist/cjs/EventsDeck.js +45 -45
- package/dist/cjs/ExternalResources.js +46 -47
- package/dist/cjs/Feature.js +4 -4
- package/dist/cjs/ForbesHero.js +12 -12
- package/dist/cjs/GridContent.js +46 -46
- package/dist/cjs/GridHero.js +13 -13
- package/dist/cjs/GroupDeck.js +14 -14
- package/dist/cjs/HamMagazine.js +37 -37
- package/dist/cjs/Hero.js +4 -4
- package/dist/cjs/HighlightenVideo.js +2 -2
- package/dist/cjs/HorizontalArticleListing.js +46 -47
- package/dist/cjs/HorizontalHero.js +5 -5
- package/dist/cjs/IssueContentDeck.js +13 -13
- package/dist/cjs/IssueDeck.js +16 -16
- package/dist/cjs/IssueLanding.js +84 -85
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +21 -21
- package/dist/cjs/MasterDeck.js +40 -40
- package/dist/cjs/MediaSeriesLanding.js +701 -502
- package/dist/cjs/NavDvm.js +13 -13
- package/dist/cjs/NavMagazine.js +41 -41
- package/dist/cjs/NavNative.js +41 -41
- package/dist/cjs/OncliveHero.js +4 -4
- package/dist/cjs/OncliveLargeHero.js +13 -13
- package/dist/cjs/PageFilter.js +6 -6
- package/dist/cjs/PartnerDetailListing.js +88 -1267
- package/dist/cjs/PdfDownload.js +2 -2
- package/dist/cjs/PopUpModal.js +6 -6
- package/dist/cjs/PubSection.js +34 -34
- package/dist/cjs/PubToc.js +8 -8
- package/dist/cjs/PublicationDeck.js +8 -8
- package/dist/cjs/PublicationLanding.js +55 -55
- package/dist/cjs/QueueDeckExpanded.js +37 -37
- package/dist/cjs/RecentNews.js +4 -4
- package/dist/cjs/RelatedContent.js +35 -35
- package/dist/cjs/RelatedTopicsDropdown.js +10 -10
- package/dist/cjs/Search.js +8 -8
- package/dist/cjs/Segment.js +6 -6
- package/dist/cjs/SeriesListingDeck.js +19 -19
- package/dist/cjs/{SeriesSlider-60fa1342.js → SeriesSlider-e3e8ead7.js} +14 -14
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +17 -17
- package/dist/cjs/{SocialSearchComponent-19548e2a.js → SocialSearchComponent-948138c7.js} +11 -11
- package/dist/cjs/TaxonomyCard.js +10 -10
- package/dist/cjs/TaxonomyDescription.js +45 -46
- package/dist/cjs/TemplateNormal.js +47 -47
- package/dist/cjs/ThumbnailCard.js +7 -7
- package/dist/cjs/Ustream.js +14 -14
- package/dist/cjs/VerticalHero.js +3 -3
- package/dist/cjs/VideoProgramLandingPage.js +51 -52
- package/dist/cjs/VideoSeriesCard.js +14 -14
- package/dist/cjs/VideoSeriesFilter.js +9 -9
- package/dist/cjs/VideoSeriesLandingPage.js +37 -37
- package/dist/cjs/VideoSeriesListing.js +32 -32
- package/dist/cjs/View.js +90 -92
- package/dist/cjs/YahooHero.js +15 -15
- package/dist/cjs/YoutubeGroup.js +26 -26
- package/dist/cjs/{_is-array-754e012d.js → _is-array-6128bd56.js} +6 -6
- package/dist/cjs/{_iter-detect-60b2f026.js → _iter-detect-55a5657a.js} +8 -8
- package/dist/cjs/{_object-pie-68c5bcbc.js → _object-pie-083f2dd6.js} +4 -4
- package/dist/cjs/{_object-sap-5e74ba08.js → _object-sap-a175b4a9.js} +1 -1
- package/dist/cjs/{_object-to-array-5762f850.js → _object-to-array-8fe5a54f.js} +2 -2
- package/dist/cjs/{_to-object-329a650b.js → _to-object-6de10e57.js} +8 -8
- package/dist/cjs/{asyncToGenerator-140e5f89.js → asyncToGenerator-58c289d9.js} +32 -32
- package/dist/cjs/{core.get-iterator-method-f62321d4.js → core.get-iterator-method-f474eacc.js} +2 -2
- package/dist/cjs/{debounce-529c8d06.js → debounce-d4a2369b.js} +2 -2
- package/dist/cjs/{define-property-f4d12f4e.js → define-property-c88be878.js} +6 -6
- package/dist/cjs/{defineProperty-55548b25.js → defineProperty-0cb76d99.js} +1 -1
- package/dist/cjs/{entities-310b46ee.js → entities-3f9d0f2f.js} +1 -1
- package/dist/cjs/{eq-bb2843ed.js → eq-5fc26c07.js} +1 -1
- package/dist/cjs/{es6.string.iterator-cc0bbaa4.js → es6.string.iterator-c2573ffd.js} +6 -6
- package/dist/cjs/{extends-60837c34.js → extends-29bdbc6d.js} +8 -7
- package/dist/cjs/faundadb.js +7 -7
- package/dist/cjs/{get-adbb11e3.js → get-5839e5b5.js} +21 -21
- package/dist/cjs/getRelatedArticle.js +135 -71
- package/dist/cjs/getRootDocGroup.js +6 -6
- package/dist/cjs/getSerializers.js +45 -46
- package/dist/cjs/{getTargeting-3e45e4d4.js → getTargeting-32d1c2e4.js} +11 -11
- package/dist/cjs/getTargeting.js +8 -8
- package/dist/{esm/iconBase-602d52fe.js → cjs/iconBase-be4097c0.js} +33 -8
- package/dist/cjs/{index-44481153.js → index-0e4427c8.js} +40 -21
- package/dist/cjs/{index-87d0db67.js → index-3c2fa34e.js} +425 -175
- package/dist/cjs/{index-9d365128.js → index-eadd5035.js} +7 -7
- package/dist/cjs/{index-b5eb3ff8.js → index-efca863c.js} +16 -11
- package/dist/cjs/{index-99edf08a.js → index-f86bb269.js} +44 -45
- package/dist/cjs/{index.esm-974f47d9.js → index.esm-00a6aade.js} +1 -1
- package/dist/cjs/{index.esm-3ffa049c.js → index.esm-2bb721c8.js} +2 -2
- package/dist/cjs/{index.esm-44f3e2d0.js → index.esm-c1e16606.js} +1 -1
- package/dist/cjs/{index.esm-05850a2f.js → index.esm-f27f80d9.js} +1 -1
- package/dist/cjs/index.js +141 -140
- package/dist/cjs/{inherits-87492b40.js → inherits-c2065b95.js} +22 -19
- package/dist/cjs/{isSymbol-04666465.js → isSymbol-03abbdf0.js} +15 -15
- package/dist/cjs/keys-7f2c2108.js +25 -0
- package/dist/cjs/{lodash-7fd85bcf.js → lodash-f0783643.js} +58 -10
- package/dist/cjs/main-f1c77adb.js +973 -0
- package/dist/cjs/{moment-ca3bd9fb.js → moment-aca40de1.js} +1 -1
- package/dist/cjs/{react-social-icons-07939b41.js → react-social-icons-af932527.js} +17 -17
- package/dist/cjs/{slicedToArray-8f385299.js → slicedToArray-5d1bc3b3.js} +14 -14
- package/dist/cjs/{smoothscroll-5054361f.js → smoothscroll-99df7f93.js} +1 -1
- package/dist/cjs/stringify-c9ac1214.js +17 -0
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-9a3476fe.js → toConsumableArray-ddb70795.js} +9 -9
- package/dist/cjs/{toNumber-36d1e7e5.js → toNumber-5e1fac58.js} +40 -5
- package/dist/cjs/{typeof-9d7f610f.js → typeof-88a668c5.js} +35 -35
- package/dist/cjs/urlFor.js +1 -1
- package/dist/cjs/{ustream-api-d092dc31.js → ustream-api-b2b9092f.js} +4 -4
- package/dist/cjs/{util-f2c1b65b.js → util-6f784d85.js} +1 -1
- package/dist/cjs/{web.dom.iterable-a0e279c1.js → web.dom.iterable-46657b5c.js} +3 -3
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +26 -26
- package/dist/esm/AD300x250x600.js +26 -26
- package/dist/esm/AD728x90.js +29 -29
- package/dist/esm/ADFloatingFooter.js +28 -28
- package/dist/esm/ADFooter.js +11 -11
- package/dist/esm/ADGutter.js +28 -28
- package/dist/esm/{ADInfeed-422ad6e6.js → ADInfeed-a71a3972.js} +9 -9
- package/dist/esm/ADSkyscraper.js +28 -28
- package/dist/esm/ADSponsoredResources.js +28 -28
- package/dist/esm/ADWebcast.js +28 -28
- package/dist/esm/ADWelcome.js +29 -29
- package/dist/esm/{ADlgInfeed-f7468db8.js → ADlgInfeed-d94f1437.js} +8 -8
- package/dist/esm/AccordionPanel.js +24 -24
- package/dist/esm/AdSlot.js +26 -26
- package/dist/esm/AdSlotsProvider.js +14 -14
- package/dist/esm/AlgoliaSearch.js +44 -44
- package/dist/esm/AlphabeticList.js +22 -22
- package/dist/esm/ArticleCarousel.js +20 -20
- package/dist/esm/ArticleProgramLandingPage.js +55 -56
- package/dist/esm/ArticleSeriesLandingPage.js +37 -37
- package/dist/esm/ArticleSeriesListing.js +56 -56
- package/dist/esm/Auth.js +554 -418
- package/dist/esm/AuthWrapper.js +607 -29
- package/dist/esm/{AuthorComponent-8ffd4679.js → AuthorComponent-30aeba69.js} +11 -11
- package/dist/esm/Beam.js +8 -8
- package/dist/esm/{BlockContent-d05b5b23.js → BlockContent-c99c9a8d.js} +35 -35
- package/dist/esm/Breadcrumbs.js +17 -17
- package/dist/esm/CMEDeck.js +79 -79
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +27 -27
- package/dist/esm/Column3.js +51 -51
- package/dist/esm/ConferenceArticleCard.js +35 -35
- package/dist/esm/{ConferenceBanner-9162d0ca.js → ConferenceBanner-8792ebd2.js} +4 -4
- package/dist/esm/DeckContent.js +86 -86
- package/dist/esm/DeckQueue.js +68 -68
- package/dist/esm/{Dfp-85c9513e.js → Dfp-be030f2a.js} +22 -22
- package/dist/esm/EventsDeck.js +105 -105
- package/dist/esm/ExternalResources.js +72 -73
- package/dist/esm/Feature.js +18 -18
- package/dist/esm/ForbesHero.js +35 -35
- package/dist/esm/GridContent.js +163 -163
- package/dist/esm/GridHero.js +37 -37
- package/dist/esm/GroupDeck.js +47 -47
- package/dist/esm/HamMagazine.js +114 -114
- package/dist/esm/Header.js +8 -8
- package/dist/esm/Hero.js +10 -10
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalArticleListing.js +68 -69
- package/dist/esm/HorizontalHero.js +23 -23
- package/dist/esm/IssueContentDeck.js +50 -50
- package/dist/esm/IssueDeck.js +47 -47
- package/dist/esm/IssueLanding.js +92 -93
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +34 -34
- package/dist/esm/MasterDeck.js +73 -73
- package/dist/esm/MediaSeriesLanding.js +986 -787
- package/dist/esm/NavDvm.js +56 -56
- package/dist/esm/{NavFooter-c29526b7.js → NavFooter-e27bd93b.js} +12 -12
- package/dist/esm/NavMagazine.js +123 -123
- package/dist/esm/NavNative.js +112 -112
- package/dist/esm/OncliveHero.js +16 -16
- package/dist/esm/OncliveLargeHero.js +60 -60
- package/dist/esm/PageFilter.js +12 -12
- package/dist/esm/PartnerDetailListing.js +131 -1309
- package/dist/esm/PdfDownload.js +7 -7
- package/dist/esm/PopUpModal.js +14 -14
- package/dist/esm/PubSection.js +39 -39
- package/dist/esm/PubToc.js +12 -12
- package/dist/esm/PublicationDeck.js +39 -39
- package/dist/esm/PublicationLanding.js +102 -102
- package/dist/esm/QueueDeckExpanded.js +275 -275
- package/dist/esm/RecentNews.js +20 -20
- package/dist/esm/RelatedContent.js +48 -48
- 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 +6 -6
- package/dist/esm/SeriesListingDeck.js +32 -32
- package/dist/esm/{SeriesSlider-05ecb544.js → SeriesSlider-ae17159f.js} +31 -31
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +34 -34
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-47815365.js → SocialSearchComponent-db963c3e.js} +29 -29
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +42 -42
- package/dist/esm/TaxonomyDescription.js +49 -50
- package/dist/esm/TemplateNormal.js +67 -67
- package/dist/esm/ThumbnailCard.js +14 -14
- package/dist/esm/Ustream.js +27 -27
- package/dist/esm/VerticalHero.js +14 -14
- package/dist/esm/VideoProgramLandingPage.js +63 -64
- package/dist/esm/VideoSeriesCard.js +26 -26
- package/dist/esm/VideoSeriesFilter.js +15 -15
- package/dist/esm/VideoSeriesLandingPage.js +42 -42
- package/dist/esm/VideoSeriesListing.js +72 -72
- package/dist/esm/View.js +246 -248
- package/dist/esm/YahooHero.js +35 -35
- package/dist/esm/YoutubeGroup.js +51 -51
- package/dist/esm/{_is-array-58e95429.js → _is-array-3e99e06e.js} +6 -6
- package/dist/esm/{_iter-detect-5d49a330.js → _iter-detect-7e5e5ce2.js} +8 -8
- package/dist/esm/{_object-pie-33c40e79.js → _object-pie-133f504a.js} +4 -4
- package/dist/esm/{_object-sap-964b6feb.js → _object-sap-f353c2a9.js} +1 -1
- package/dist/esm/{_object-to-array-7e804fce.js → _object-to-array-0f197f89.js} +2 -2
- package/dist/esm/{_to-object-a4107da3.js → _to-object-b50e61c3.js} +9 -9
- package/dist/esm/{asyncToGenerator-fc1c2e29.js → asyncToGenerator-7f8f9219.js} +32 -32
- package/dist/esm/{brightcove-react-player-loader.es-4abff0b1.js → brightcove-react-player-loader.es-57a70a56.js} +3 -3
- package/dist/esm/{core.get-iterator-method-e1de7503.js → core.get-iterator-method-133dfacd.js} +2 -2
- package/dist/esm/{debounce-9207d8ee.js → debounce-533d9748.js} +2 -2
- package/dist/esm/{define-property-8af5f002.js → define-property-fe54dc9f.js} +6 -6
- package/dist/esm/{defineProperty-94fd8bfc.js → defineProperty-f5ff6f5a.js} +1 -1
- package/dist/esm/{entities-7cc3bf45.js → entities-932b50cf.js} +1 -1
- package/dist/esm/{eq-b470f743.js → eq-bdcbf886.js} +1 -1
- package/dist/esm/{es6.string.iterator-c990c18c.js → es6.string.iterator-bc33758b.js} +7 -7
- package/dist/esm/{extends-eb69e8ac.js → extends-60e0e1c6.js} +8 -8
- package/dist/esm/faundadb.js +7 -7
- package/dist/esm/{get-1e515072.js → get-3c308da4.js} +21 -21
- package/dist/esm/getRelatedArticle.js +135 -71
- package/dist/esm/getRootDocGroup.js +6 -6
- package/dist/esm/getSerializers.js +45 -46
- package/dist/esm/{getTargeting-9cb7e014.js → getTargeting-cf2724e3.js} +11 -11
- package/dist/esm/getTargeting.js +8 -8
- package/dist/{cjs/iconBase-68959171.js → esm/iconBase-ccc56b97.js} +2 -5
- package/dist/esm/{index-51a80699.js → index-0dbff1d1.js} +16 -11
- package/dist/esm/{index-1819118a.js → index-5cc7b406.js} +43 -24
- package/dist/esm/{index-6c12bdd5.js → index-755f2cc2.js} +10 -10
- package/dist/esm/{index-fa2ffe86.js → index-79cfd25c.js} +44 -45
- package/dist/esm/{index-20e503c9.js → index-fce5c5b6.js} +819 -568
- package/dist/esm/{index.es-c6222053.js → index.es-a6137319.js} +5 -5
- package/dist/esm/{index.esm-8ee5ff72.js → index.esm-37268dca.js} +16 -16
- package/dist/esm/{index.esm-c6715e80.js → index.esm-9b042655.js} +1 -1
- package/dist/esm/{index.esm-a8ff922c.js → index.esm-d4932dea.js} +1 -1
- package/dist/esm/{index.esm-3fdda599.js → index.esm-f6156a57.js} +1 -1
- package/dist/esm/index.js +137 -136
- package/dist/esm/{inherits-0d8cda6e.js → inherits-a41fe93f.js} +20 -20
- package/dist/esm/{isSymbol-1981418f.js → isSymbol-a7e9aafe.js} +15 -15
- package/dist/esm/{keys-8eda7a5c.js → keys-7a3adabf.js} +6 -6
- package/dist/esm/{lodash-ec8c6b48.js → lodash-f97fd99a.js} +58 -10
- package/dist/esm/main-d4165069.js +961 -0
- package/dist/esm/{moment-b6f49411.js → moment-bc12cb97.js} +1 -1
- package/dist/esm/{react-social-icons-3822f1ce.js → react-social-icons-9be47857.js} +20 -20
- package/dist/esm/{slicedToArray-641f241f.js → slicedToArray-be2f7a22.js} +14 -14
- package/dist/esm/{smoothscroll-0cd4c7a6.js → smoothscroll-fa4e3f8c.js} +1 -1
- package/dist/esm/stringify-59c8f690.js +15 -0
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-43aa614d.js → toConsumableArray-6d9a4616.js} +9 -9
- package/dist/esm/{toNumber-2f7a84cd.js → toNumber-5aeba6e7.js} +40 -5
- package/dist/esm/{typeof-af9c50d8.js → typeof-a286cf0c.js} +35 -35
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/{ustream-api-9a50644d.js → ustream-api-33a866b6.js} +4 -4
- package/dist/esm/{util-7700fc59.js → util-3ab476bf.js} +1 -1
- package/dist/esm/{visibility-sensor-f40c2564.js → visibility-sensor-72fd8f8b.js} +2 -2
- package/dist/esm/{web.dom.iterable-4439f05a.js → web.dom.iterable-4109ff68.js} +3 -3
- package/package.json +111 -110
- package/dist/cjs/keys-a586b7a0.js +0 -25
- package/dist/cjs/main-7b5e57b0.js +0 -898
- package/dist/cjs/stringify-7c5aff47.js +0 -17
- package/dist/esm/main-747e7d25.js +0 -886
- package/dist/esm/stringify-4330ccdc.js +0 -15
- package/dist/cjs/{brightcove-react-player-loader.es-5c98aec7.js → brightcove-react-player-loader.es-a195642e.js} +1 -1
|
@@ -1,79 +1,79 @@
|
|
|
1
|
-
import '
|
|
2
|
-
import
|
|
3
|
-
import { m as moment } from './moment-b6f49411.js';
|
|
4
|
-
import './index-51a80699.js';
|
|
1
|
+
import React__default from 'react';
|
|
2
|
+
import { m as moment } from './moment-bc12cb97.js';
|
|
5
3
|
import urlFor from './urlFor.js';
|
|
4
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
5
|
+
import './index-0dbff1d1.js';
|
|
6
6
|
|
|
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)
|
|
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)
|
|
22
22
|
*/
|
|
23
23
|
|
|
24
24
|
var ConferenceArticleCard = function ConferenceArticleCard(props) {
|
|
25
|
-
var data = props.data
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
client = props.client;
|
|
25
|
+
var data = props.data;
|
|
26
|
+
props.variant;
|
|
27
|
+
props.index;
|
|
28
|
+
var client = props.client;
|
|
29
29
|
|
|
30
30
|
// title, thumbnail, summary, published, documentGroup.identifier.current, documentGroup.identifier.name
|
|
31
31
|
|
|
32
|
-
return
|
|
32
|
+
return React__default.createElement(
|
|
33
33
|
'div',
|
|
34
34
|
{ className: 'conference-media' },
|
|
35
|
-
|
|
35
|
+
React__default.createElement(
|
|
36
36
|
'a',
|
|
37
37
|
{ className: 'img-wrapper', href: '/view/' + (data.url ? data.url.current : '') },
|
|
38
|
-
|
|
38
|
+
React__default.createElement('img', {
|
|
39
39
|
className: 'mr-3 img-fluid',
|
|
40
40
|
src: data.thumbnail && urlFor({ client: client, source: data.thumbnail.asset, imageWidth: 350 }),
|
|
41
41
|
alt: data.title
|
|
42
42
|
})
|
|
43
43
|
),
|
|
44
|
-
|
|
44
|
+
React__default.createElement(
|
|
45
45
|
'div',
|
|
46
46
|
{ className: 'media-body' },
|
|
47
|
-
|
|
47
|
+
React__default.createElement(
|
|
48
48
|
'a',
|
|
49
49
|
{ href: '/view/' + (data.url ? data.url.current : '') },
|
|
50
|
-
|
|
50
|
+
React__default.createElement(
|
|
51
51
|
'h4',
|
|
52
52
|
{ className: 'conf-media__card-title' },
|
|
53
53
|
data.title
|
|
54
54
|
)
|
|
55
55
|
),
|
|
56
|
-
|
|
56
|
+
React__default.createElement(
|
|
57
57
|
'p',
|
|
58
58
|
{ className: 'conf-media__card-text' },
|
|
59
59
|
moment(data.published).format('MMMM Do YYYY, h:mma')
|
|
60
60
|
),
|
|
61
|
-
|
|
61
|
+
React__default.createElement(
|
|
62
62
|
'p',
|
|
63
63
|
{ className: 'mb-1 conference-group' },
|
|
64
|
-
data.documentGroup && data.documentGroup.identifier && (data.documentGroup.identifier.current.includes('/') ?
|
|
64
|
+
data.documentGroup && data.documentGroup.identifier && (data.documentGroup.identifier.current.includes('/') ? React__default.createElement(
|
|
65
65
|
'a',
|
|
66
66
|
{ href: '/' + data.documentGroup.identifier.current, alt: data.thumbnail && data.thumbnail.alt || data.title },
|
|
67
67
|
data.documentGroup.name
|
|
68
|
-
) :
|
|
68
|
+
) : React__default.createElement(
|
|
69
69
|
'a',
|
|
70
70
|
{ href: '/conference/' + data.documentGroup.identifier.current, alt: data.thumbnail && data.thumbnail.alt || data.title },
|
|
71
71
|
data.documentGroup.name
|
|
72
72
|
))
|
|
73
73
|
),
|
|
74
|
-
|
|
74
|
+
React__default.createElement('p', { className: 'pt-2 card-text', dangerouslySetInnerHTML: { __html: data.summary } })
|
|
75
75
|
),
|
|
76
|
-
|
|
76
|
+
React__default.createElement(
|
|
77
77
|
'style',
|
|
78
78
|
{ jsx: 'true' },
|
|
79
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__default 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__default.createElement(
|
|
8
8
|
"div",
|
|
9
9
|
{ className: "conf-img" },
|
|
10
|
-
|
|
10
|
+
React__default.createElement(
|
|
11
11
|
"a",
|
|
12
12
|
{ href: website.conferenceBannerContent.href },
|
|
13
|
-
|
|
13
|
+
React__default.createElement("img", { src: website.conferenceBannerContent.src, alt: website.conferenceBannerContent.alt })
|
|
14
14
|
)
|
|
15
15
|
);
|
|
16
16
|
};
|
package/dist/esm/DeckContent.js
CHANGED
|
@@ -1,45 +1,45 @@
|
|
|
1
|
-
import './
|
|
2
|
-
import './
|
|
3
|
-
import './
|
|
4
|
-
import '
|
|
5
|
-
import './
|
|
6
|
-
import { _ as _toConsumableArray } from './toConsumableArray-43aa614d.js';
|
|
7
|
-
import './core.get-iterator-method-e1de7503.js';
|
|
8
|
-
import './_object-pie-33c40e79.js';
|
|
9
|
-
import { _ as _extends } from './extends-eb69e8ac.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-0d8cda6e.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';
|
|
17
|
-
import { l as lib_3 } from './index-1819118a.js';
|
|
18
|
-
import 'prop-types';
|
|
1
|
+
import { _ as _toConsumableArray } from './toConsumableArray-6d9a4616.js';
|
|
2
|
+
import { _ as _extends } from './extends-60e0e1c6.js';
|
|
3
|
+
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-a41fe93f.js';
|
|
4
|
+
import React__default from 'react';
|
|
5
|
+
import { l as lib_3 } from './index-5cc7b406.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-bc12cb97.js';
|
|
24
11
|
import { withRouter } from 'next/router';
|
|
25
|
-
import './
|
|
26
|
-
import {
|
|
27
|
-
import './
|
|
28
|
-
import { I as InfiniteScroll } from './index.es-c6222053.js';
|
|
29
|
-
import 'react-dom';
|
|
30
|
-
import { V as VisibilitySensor } from './visibility-sensor-f40c2564.js';
|
|
31
|
-
import './index-51a80699.js';
|
|
12
|
+
import { d as debounce_1 } from './debounce-533d9748.js';
|
|
13
|
+
import { I as InfiniteScroll } from './index.es-a6137319.js';
|
|
14
|
+
import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
32
15
|
import urlFor from './urlFor.js';
|
|
33
|
-
import { L as LazyLoad } from './index-
|
|
34
|
-
import { m as
|
|
35
|
-
import { c as clean_html_1 } from './entities-
|
|
36
|
-
import './
|
|
37
|
-
import './
|
|
38
|
-
import './
|
|
39
|
-
import './
|
|
40
|
-
import './
|
|
16
|
+
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
17
|
+
import { m as main_43 } from './main-d4165069.js';
|
|
18
|
+
import { c as clean_html_1 } from './entities-932b50cf.js';
|
|
19
|
+
import { A as ADInfeed } from './ADInfeed-a71a3972.js';
|
|
20
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
21
|
+
import './es6.string.iterator-bc33758b.js';
|
|
22
|
+
import './_to-object-b50e61c3.js';
|
|
23
|
+
import './_iter-detect-7e5e5ce2.js';
|
|
24
|
+
import './core.get-iterator-method-133dfacd.js';
|
|
25
|
+
import './_object-pie-133f504a.js';
|
|
26
|
+
import './_object-sap-f353c2a9.js';
|
|
27
|
+
import './define-property-fe54dc9f.js';
|
|
28
|
+
import './typeof-a286cf0c.js';
|
|
29
|
+
import './web.dom.iterable-4109ff68.js';
|
|
30
|
+
import './_is-array-3e99e06e.js';
|
|
31
|
+
import './_library-528f1934.js';
|
|
32
|
+
import 'prop-types';
|
|
33
|
+
import './isSymbol-a7e9aafe.js';
|
|
34
|
+
import './toNumber-5aeba6e7.js';
|
|
35
|
+
import 'react-dom';
|
|
36
|
+
import './index-0dbff1d1.js';
|
|
37
|
+
import './slicedToArray-be2f7a22.js';
|
|
41
38
|
import './AdSlot.js';
|
|
42
|
-
import
|
|
39
|
+
import './Beam.js';
|
|
40
|
+
import './stringify-59c8f690.js';
|
|
41
|
+
import './asyncToGenerator-7f8f9219.js';
|
|
42
|
+
import './Segment.js';
|
|
43
43
|
|
|
44
44
|
var DeckContent = function (_React$Component) {
|
|
45
45
|
_inherits(DeckContent, _React$Component);
|
|
@@ -173,14 +173,14 @@ var DeckContent = function (_React$Component) {
|
|
|
173
173
|
var newPath = pageNumber === 1 ? '' + path : path + '?page=' + pageNumber;
|
|
174
174
|
|
|
175
175
|
// please leave this for later debug purpose : Yong Jun.
|
|
176
|
-
/* console.log('page change reported', {
|
|
177
|
-
currentPage: currentPage,
|
|
178
|
-
pageNumber: pageNumber,
|
|
179
|
-
pathname: pathname,
|
|
180
|
-
path: path,
|
|
181
|
-
newPath: newPath,
|
|
182
|
-
firstPage: pageNumber === 1,
|
|
183
|
-
queryString: queryString
|
|
176
|
+
/* console.log('page change reported', {
|
|
177
|
+
currentPage: currentPage,
|
|
178
|
+
pageNumber: pageNumber,
|
|
179
|
+
pathname: pathname,
|
|
180
|
+
path: path,
|
|
181
|
+
newPath: newPath,
|
|
182
|
+
firstPage: pageNumber === 1,
|
|
183
|
+
queryString: queryString
|
|
184
184
|
}) */
|
|
185
185
|
|
|
186
186
|
if (pageview) {
|
|
@@ -200,35 +200,35 @@ var DeckContent = function (_React$Component) {
|
|
|
200
200
|
url = authorDetail.url;
|
|
201
201
|
|
|
202
202
|
if (displayName && url && url.current) {
|
|
203
|
-
return
|
|
203
|
+
return React__default.createElement(
|
|
204
204
|
'div',
|
|
205
205
|
{ key: _id },
|
|
206
|
-
index === 0 &&
|
|
206
|
+
index === 0 && React__default.createElement(
|
|
207
207
|
'span',
|
|
208
208
|
{ className: 'pr-1' },
|
|
209
209
|
'By'
|
|
210
210
|
),
|
|
211
|
-
|
|
211
|
+
React__default.createElement(
|
|
212
212
|
'a',
|
|
213
213
|
{ href: '/authors/${url.current}', className: 'text-muted' },
|
|
214
214
|
displayName,
|
|
215
|
-
length !== index + 1 &&
|
|
215
|
+
length !== index + 1 && React__default.createElement('br', null)
|
|
216
216
|
)
|
|
217
217
|
);
|
|
218
218
|
} else if (displayName) {
|
|
219
|
-
return
|
|
219
|
+
return React__default.createElement(
|
|
220
220
|
'div',
|
|
221
221
|
{ key: _id },
|
|
222
|
-
index === 0 &&
|
|
222
|
+
index === 0 && React__default.createElement(
|
|
223
223
|
'span',
|
|
224
224
|
{ className: 'pr-1' },
|
|
225
225
|
'By'
|
|
226
226
|
),
|
|
227
|
-
|
|
227
|
+
React__default.createElement(
|
|
228
228
|
'span',
|
|
229
229
|
{ className: 'text-muted' },
|
|
230
230
|
displayName,
|
|
231
|
-
length !== index + 1 &&
|
|
231
|
+
length !== index + 1 && React__default.createElement('br', null)
|
|
232
232
|
)
|
|
233
233
|
);
|
|
234
234
|
}
|
|
@@ -272,7 +272,7 @@ var DeckContent = function (_React$Component) {
|
|
|
272
272
|
articles = _this.state.data;
|
|
273
273
|
}
|
|
274
274
|
|
|
275
|
-
return
|
|
275
|
+
return React__default.createElement(
|
|
276
276
|
Row,
|
|
277
277
|
null,
|
|
278
278
|
articles && articles.map(function (row, index) {
|
|
@@ -284,51 +284,51 @@ var DeckContent = function (_React$Component) {
|
|
|
284
284
|
lgVar = 6;
|
|
285
285
|
}
|
|
286
286
|
if (row._type === 'BrandInsight' && row.adUnit) {
|
|
287
|
-
return
|
|
287
|
+
return React__default.createElement(ADInfeed, { index: index, infeedAd: row });
|
|
288
288
|
} else {
|
|
289
289
|
var pageNumber = row.pageNumber || _this.state.page;
|
|
290
290
|
var contentCategoryName = row.contentCategory && row.contentCategory.name && _this.mapping[row.contentCategory.name] ? row.contentCategory.name : 'Articles';
|
|
291
|
-
return
|
|
292
|
-
|
|
291
|
+
return React__default.createElement(
|
|
292
|
+
React__default.Fragment,
|
|
293
293
|
{ key: itemCounter },
|
|
294
|
-
|
|
294
|
+
React__default.createElement(
|
|
295
295
|
VisibilitySensor,
|
|
296
296
|
{
|
|
297
297
|
onChange: function onChange(isVisible) {
|
|
298
298
|
isVisible && _this.changePageNumber(pageNumber);
|
|
299
299
|
} },
|
|
300
|
-
|
|
300
|
+
React__default.createElement(
|
|
301
301
|
Col,
|
|
302
302
|
{ md: 12, lg: lgVar, counter: itemCounter++, style: { display: 'flex', flex: '1 0 auto' } },
|
|
303
|
-
|
|
303
|
+
React__default.createElement(
|
|
304
304
|
Card,
|
|
305
305
|
{ className: 'content-card', style: { flexDirection: mode } },
|
|
306
|
-
(row.thumbnail && row.thumbnail.asset || _this.props.defaultImage) &&
|
|
306
|
+
(row.thumbnail && row.thumbnail.asset || _this.props.defaultImage) && React__default.createElement(
|
|
307
307
|
'a',
|
|
308
308
|
{ href: _this.mapping[contentCategoryName] + '/' + row.url.current },
|
|
309
|
-
|
|
309
|
+
React__default.createElement(
|
|
310
310
|
LazyLoad,
|
|
311
311
|
{ height: _this.props.imageHeight },
|
|
312
|
-
|
|
312
|
+
React__default.createElement(Card.Img, {
|
|
313
313
|
variant: 'top',
|
|
314
314
|
src: _this.renderCardImage(row, page),
|
|
315
315
|
alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : ''
|
|
316
316
|
})
|
|
317
317
|
)
|
|
318
318
|
),
|
|
319
|
-
|
|
319
|
+
React__default.createElement(
|
|
320
320
|
Card.Body,
|
|
321
321
|
null,
|
|
322
|
-
|
|
322
|
+
React__default.createElement(
|
|
323
323
|
'a',
|
|
324
324
|
{ href: _this.mapping[contentCategoryName] + '/' + row.url.current },
|
|
325
|
-
|
|
325
|
+
React__default.createElement(
|
|
326
326
|
Card.Title,
|
|
327
327
|
null,
|
|
328
328
|
row.title
|
|
329
329
|
)
|
|
330
330
|
),
|
|
331
|
-
_this.props.showPublished && row.published &&
|
|
331
|
+
_this.props.showPublished && row.published && React__default.createElement(
|
|
332
332
|
Card.Subtitle,
|
|
333
333
|
null,
|
|
334
334
|
moment(row.published).format('MMMM DD, YYYY')
|
|
@@ -336,7 +336,7 @@ var DeckContent = function (_React$Component) {
|
|
|
336
336
|
_this.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 && row.authorMapping.map(function (authorDetail, index) {
|
|
337
337
|
return _this.renderAuthor(authorDetail, index, row.authorMapping.length);
|
|
338
338
|
}),
|
|
339
|
-
|
|
339
|
+
React__default.createElement(
|
|
340
340
|
Card.Text,
|
|
341
341
|
null,
|
|
342
342
|
clean_html_1(row.summary)
|
|
@@ -345,7 +345,7 @@ var DeckContent = function (_React$Component) {
|
|
|
345
345
|
)
|
|
346
346
|
)
|
|
347
347
|
),
|
|
348
|
-
|
|
348
|
+
main_43 && _this.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
349
349
|
);
|
|
350
350
|
}
|
|
351
351
|
})
|
|
@@ -354,7 +354,7 @@ var DeckContent = function (_React$Component) {
|
|
|
354
354
|
var rightItems = _this.props.rightItems;
|
|
355
355
|
|
|
356
356
|
var i = ((index + 1) / numberOfItemsBeforeAd - 1) % rightItems.length;
|
|
357
|
-
return
|
|
357
|
+
return React__default.createElement(
|
|
358
358
|
Col,
|
|
359
359
|
{ md: 12, style: { display: 'flex', flex: '1 0 auto' } },
|
|
360
360
|
rightItems[i].component
|
|
@@ -362,15 +362,15 @@ var DeckContent = function (_React$Component) {
|
|
|
362
362
|
}, _this.renderManualPagination = function () {
|
|
363
363
|
var currentPage = _this.state.currentPage;
|
|
364
364
|
|
|
365
|
-
return
|
|
365
|
+
return React__default.createElement(
|
|
366
366
|
'div',
|
|
367
367
|
{ className: 'd-flex justify-content-between' },
|
|
368
|
-
currentPage && currentPage > 1 &&
|
|
368
|
+
currentPage && currentPage > 1 && React__default.createElement(
|
|
369
369
|
'a',
|
|
370
370
|
{ href: '?page=' + (currentPage - 1) },
|
|
371
371
|
'<< Previous'
|
|
372
372
|
),
|
|
373
|
-
|
|
373
|
+
React__default.createElement(
|
|
374
374
|
'a',
|
|
375
375
|
{ href: '?page=' + (currentPage + 1) },
|
|
376
376
|
'Next >>'
|
|
@@ -416,38 +416,38 @@ var DeckContent = function (_React$Component) {
|
|
|
416
416
|
brandInsight = _props.brandInsight;
|
|
417
417
|
|
|
418
418
|
|
|
419
|
-
return
|
|
419
|
+
return React__default.createElement(
|
|
420
420
|
'div',
|
|
421
421
|
{ className: 'contentDeck' },
|
|
422
|
-
autoScroll ?
|
|
423
|
-
|
|
422
|
+
autoScroll ? React__default.createElement(
|
|
423
|
+
React__default.Fragment,
|
|
424
424
|
null,
|
|
425
|
-
|
|
425
|
+
React__default.createElement(
|
|
426
426
|
InfiniteScroll,
|
|
427
427
|
{ dataLength: this.state.data.length, next: this.loadMore, hasMore: this.state.scrolling, scrollThreshold: 0.9 },
|
|
428
|
-
|
|
428
|
+
React__default.createElement(
|
|
429
429
|
Container,
|
|
430
430
|
null,
|
|
431
431
|
this.cardLoader(page, columns, variant, showBI, brandInsight)
|
|
432
432
|
)
|
|
433
433
|
),
|
|
434
|
-
|
|
434
|
+
React__default.createElement(
|
|
435
435
|
'noscript',
|
|
436
436
|
null,
|
|
437
437
|
this.renderManualPagination()
|
|
438
438
|
)
|
|
439
|
-
) :
|
|
440
|
-
|
|
439
|
+
) : React__default.createElement(
|
|
440
|
+
React__default.Fragment,
|
|
441
441
|
null,
|
|
442
|
-
|
|
442
|
+
React__default.createElement(
|
|
443
443
|
Container,
|
|
444
444
|
null,
|
|
445
445
|
this.cardLoader(page, columns, variant, showBI, brandInsight)
|
|
446
446
|
),
|
|
447
|
-
|
|
447
|
+
React__default.createElement(
|
|
448
448
|
'div',
|
|
449
449
|
{ style: { padding: '0px 10px' } },
|
|
450
|
-
this.state.scrolling ?
|
|
450
|
+
this.state.scrolling ? React__default.createElement(
|
|
451
451
|
'button',
|
|
452
452
|
{
|
|
453
453
|
style: { margin: 'auto', width: '100%' },
|
|
@@ -455,17 +455,17 @@ var DeckContent = function (_React$Component) {
|
|
|
455
455
|
_this2.loadMore();
|
|
456
456
|
} },
|
|
457
457
|
'Load More'
|
|
458
|
-
) :
|
|
458
|
+
) : React__default.createElement(
|
|
459
459
|
'p',
|
|
460
460
|
{ style: { textAlign: 'center' } },
|
|
461
|
-
|
|
461
|
+
React__default.createElement(
|
|
462
462
|
'b',
|
|
463
463
|
null,
|
|
464
464
|
'End of data'
|
|
465
465
|
)
|
|
466
466
|
)
|
|
467
467
|
),
|
|
468
|
-
|
|
468
|
+
React__default.createElement(
|
|
469
469
|
'noscript',
|
|
470
470
|
null,
|
|
471
471
|
this.renderManualPagination()
|
|
@@ -476,7 +476,7 @@ var DeckContent = function (_React$Component) {
|
|
|
476
476
|
}]);
|
|
477
477
|
|
|
478
478
|
return DeckContent;
|
|
479
|
-
}(
|
|
479
|
+
}(React__default.Component);
|
|
480
480
|
|
|
481
481
|
var ContentCard = withRouter(DeckContent);
|
|
482
482
|
|