@mjhls/mjh-framework 1.0.880-beta.0 → 1.0.880
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 +29 -28
- package/dist/cjs/AD300x250x600.js +29 -28
- package/dist/cjs/AD728x90.js +32 -31
- package/dist/cjs/ADFloatingFooter.js +31 -30
- package/dist/cjs/ADFooter.js +13 -12
- package/dist/cjs/ADGutter.js +31 -30
- package/dist/cjs/{ADInfeed-2e48af77.js → ADInfeed-9a2e923a.js} +15 -13
- package/dist/cjs/ADSkyscraper.js +31 -30
- package/dist/cjs/ADSponsoredResources.js +31 -30
- package/dist/cjs/ADWebcast.js +31 -30
- package/dist/cjs/ADWelcome.js +32 -31
- package/dist/cjs/{ADlgInfeed-c39c7131.js → ADlgInfeed-957a1996.js} +11 -10
- package/dist/cjs/AccordionPanel.js +29 -27
- package/dist/cjs/AdSlot.js +32 -31
- package/dist/cjs/AdSlotsProvider.js +18 -909
- package/dist/cjs/AlgoliaSearch.js +1391 -1272
- package/dist/cjs/AlphabeticList.js +24 -23
- package/dist/cjs/ArticleCarousel.js +21 -19
- package/dist/cjs/ArticleProgramLandingPage.js +61 -59
- package/dist/cjs/ArticleSeriesLandingPage.js +44 -38
- package/dist/cjs/ArticleSeriesListing.js +60 -58
- package/dist/cjs/Auth.js +680 -1504
- package/dist/cjs/AuthWrapper.js +309 -267
- package/dist/cjs/{AuthorComponent-02e827ae.js → AuthorComponent-39b37d84.js} +14 -13
- package/dist/cjs/Beam.js +6 -6
- package/dist/cjs/{BlockContent-9c6b07ad.js → BlockContent-36e54d77.js} +56 -55
- package/dist/cjs/Breadcrumbs.js +27 -25
- package/dist/cjs/CMEDeck.js +81 -81
- package/dist/cjs/Column1.js +14 -11
- package/dist/cjs/Column2.js +34 -31
- package/dist/cjs/Column3.js +60 -57
- package/dist/cjs/ConferenceArticleCard.js +43 -41
- package/dist/cjs/ConferenceBanner-6c9e718a.js +24 -0
- package/dist/cjs/DeckContent.js +105 -100
- package/dist/cjs/DeckQueue.js +91 -86
- package/dist/cjs/{Dfp-14d2455c.js → Dfp-9be904d5.js} +33 -32
- package/dist/cjs/EventsDeck.js +157 -150
- package/dist/cjs/ExternalResources.js +80 -78
- package/dist/cjs/Feature.js +31 -28
- package/dist/cjs/ForbesHero.js +43 -41
- package/dist/cjs/GridContent.js +237 -231
- package/dist/cjs/GridHero.js +45 -43
- package/dist/cjs/GroupDeck.js +60 -58
- package/dist/cjs/HamMagazine.js +143 -138
- package/dist/cjs/Header.js +14 -12
- package/dist/cjs/Hero.js +16 -14
- package/dist/cjs/HighlightenVideo.js +18 -17
- package/dist/cjs/HorizontalArticleListing.js +72 -70
- package/dist/cjs/HorizontalHero.js +30 -28
- package/dist/cjs/IssueContentDeck.js +77 -71
- package/dist/cjs/IssueDeck.js +76 -70
- package/dist/cjs/IssueLanding.js +94 -91
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +39 -37
- package/dist/cjs/MasterDeck.js +355 -227
- package/dist/cjs/MediaSeriesLanding.js +1118 -1126
- package/dist/cjs/NavDvm.js +77 -72
- package/dist/cjs/{NavFooter-76c913e3.js → NavFooter-3dcd99a8.js} +15 -14
- package/dist/cjs/NavMagazine.js +150 -145
- package/dist/cjs/NavNative.js +145 -137
- package/dist/cjs/OncliveHero.js +24 -23
- package/dist/cjs/OncliveLargeHero.js +75 -73
- package/dist/cjs/PageFilter.js +13 -12
- package/dist/cjs/PartnerDetailListing.js +119 -3917
- package/dist/cjs/PdfDownload.js +9 -8
- package/dist/cjs/PopUpModal.js +19 -17
- package/dist/cjs/PubSection.js +41 -38
- package/dist/cjs/PubToc.js +14 -13
- package/dist/cjs/PublicationDeck.js +71 -65
- package/dist/cjs/PublicationLanding.js +137 -133
- package/dist/cjs/QueueDeckExpanded.js +1173 -1001
- package/dist/cjs/RecentNews.js +22 -21
- package/dist/cjs/RelatedContent.js +59 -57
- package/dist/cjs/RelatedTopicsDropdown.js +32 -29
- package/dist/cjs/RolesDeck.js +32 -27
- package/dist/cjs/Search.js +20 -16
- package/dist/cjs/Segment.js +4 -4
- package/dist/cjs/SeriesListingDeck.js +37 -36
- package/dist/cjs/{SeriesSlider-ec146338.js → SeriesSlider-ce3261cb.js} +41 -40
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +37 -36
- package/dist/cjs/SocialIcons.js +10 -9
- package/dist/cjs/{SocialSearchComponent-e8477ca3.js → SocialSearchComponent-5ec44406.js} +40 -36
- package/dist/cjs/SocialShare.js +31 -29
- package/dist/cjs/TaxonomyCard.js +67 -61
- package/dist/cjs/TaxonomyDescription.js +55 -53
- package/dist/cjs/TemplateNormal.js +73 -72
- package/dist/cjs/ThumbnailCard.js +26 -23
- package/dist/cjs/Ustream.js +28 -27
- package/dist/cjs/VerticalHero.js +22 -20
- package/dist/cjs/VideoProgramLandingPage.js +78 -73
- package/dist/cjs/VideoSeriesCard.js +34 -32
- package/dist/cjs/VideoSeriesFilter.js +16 -16
- package/dist/cjs/VideoSeriesLandingPage.js +52 -48
- package/dist/cjs/VideoSeriesListing.js +77 -75
- package/dist/cjs/View.js +275 -271
- package/dist/cjs/YahooHero.js +42 -40
- package/dist/cjs/YoutubeGroup.js +68 -66
- package/dist/cjs/{_is-array-aa52fa1e.js → _is-array-54228b29.js} +6 -6
- package/dist/cjs/{_iter-detect-05795553.js → _iter-detect-b1df62f0.js} +7 -7
- package/dist/cjs/{_object-pie-68c5bcbc.js → _object-pie-083f2dd6.js} +4 -4
- package/dist/cjs/{_object-sap-171b9ea5.js → _object-sap-d1978572.js} +1 -1
- package/dist/cjs/{_object-to-array-9bac8737.js → _object-to-array-ce86cae7.js} +2 -2
- package/dist/cjs/{asyncToGenerator-df19209d.js → asyncToGenerator-77821af0.js} +30 -30
- package/dist/cjs/{brightcove-react-player-loader.es-156bd4d6.js → brightcove-react-player-loader.es-a195642e.js} +11 -9
- package/dist/cjs/{core.get-iterator-method-f3c44602.js → core.get-iterator-method-5643aa10.js} +35 -35
- package/dist/cjs/{debounce-529c8d06.js → debounce-d4a2369b.js} +2 -2
- package/dist/cjs/{define-property-21887c62.js → define-property-e8404b64.js} +6 -6
- package/dist/cjs/{defineProperty-77a37684.js → defineProperty-9673846a.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/{extends-eed4f016.js → extends-7c86182f.js} +7 -7
- package/dist/cjs/faundadb.js +19 -19
- package/dist/cjs/{get-adbb11e3.js → get-5839e5b5.js} +21 -21
- package/dist/cjs/getRelatedArticle.js +18 -18
- package/dist/cjs/getRootDocGroup.js +6 -6
- package/dist/cjs/getSerializers.js +43 -42
- package/dist/cjs/{getTargeting-8874437b.js → getTargeting-9d509319.js} +12 -12
- package/dist/cjs/getTargeting.js +6 -6
- package/dist/cjs/iconBase-68959171.js +0 -3
- package/dist/cjs/{index-17c6af5a.js → index-22bdde81.js} +1093 -1067
- package/dist/cjs/{index-e2e62963.js → index-8041a4eb.js} +11 -1
- package/dist/cjs/{index-96b3db50.js → index-eadd5035.js} +17 -15
- package/dist/cjs/{urlFor-3a61226f.js → index-efca863c.js} +37 -88
- package/dist/cjs/{index-3294d3bc.js → index-f86bb269.js} +44 -45
- package/dist/cjs/{index-98e01cb9.js → index-fc2f1ca2.js} +13 -12
- package/dist/cjs/{index.es-9110add6.js → index.es-f3e47207.js} +31 -12
- package/dist/cjs/{index.esm-ff47db6f.js → index.esm-05850a2f.js} +5 -12
- package/dist/cjs/{index.esm-e32d3e8e.js → index.esm-44f3e2d0.js} +3 -6
- package/dist/cjs/{index.esm-4d410430.js → index.esm-8123cf40.js} +20 -20
- package/dist/cjs/{index.esm-90433435.js → index.esm-974f47d9.js} +6 -15
- package/dist/cjs/index.js +170 -164
- package/dist/cjs/{inherits-cba9c846.js → inherits-de66ea16.js} +19 -19
- package/dist/cjs/{isSymbol-04666465.js → isSymbol-03abbdf0.js} +15 -15
- package/dist/cjs/{keys-d207942e.js → keys-e982b3fa.js} +6 -6
- package/dist/cjs/{lodash-fc2922d0.js → lodash-f0783643.js} +128 -31
- package/dist/cjs/main-025fdc78.js +973 -0
- package/dist/cjs/{md5-5039b1a6.js → md5-e1ca5797.js} +1 -1
- package/dist/cjs/{moment-575fe24c.js → moment-aca40de1.js} +11 -9
- package/dist/cjs/{react-social-icons-f7f48f71.js → react-social-icons-af932527.js} +28 -27
- package/dist/cjs/{slicedToArray-f6d4eaa8.js → slicedToArray-067dd3bc.js} +12 -12
- package/dist/cjs/{smoothscroll-5054361f.js → smoothscroll-99df7f93.js} +1 -1
- package/dist/cjs/{stringify-bbc68047.js → stringify-f7a37a8d.js} +5 -5
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-c9b8a0d0.js → toConsumableArray-d7797c2b.js} +7 -7
- package/dist/cjs/{toNumber-36d1e7e5.js → toNumber-5e1fac58.js} +40 -5
- package/dist/cjs/{typeof-5f52cf64.js → typeof-567e31ff.js} +35 -35
- package/dist/cjs/urlFor.js +59 -5
- package/dist/cjs/{ustream-api-9ebe112f.js → ustream-api-3819e4aa.js} +4 -4
- package/dist/cjs/{util-f2c1b65b.js → util-6f784d85.js} +1 -1
- package/dist/cjs/{visibility-sensor-ad5e3116.js → visibility-sensor-eb2c5b69.js} +7 -5
- package/dist/cjs/{web.dom.iterable-e34bf324.js → web.dom.iterable-d98303e0.js} +2 -2
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +25 -25
- package/dist/esm/AD300x250x600.js +25 -25
- package/dist/esm/AD728x90.js +28 -28
- package/dist/esm/ADFloatingFooter.js +27 -27
- package/dist/esm/ADFooter.js +9 -9
- package/dist/esm/ADGutter.js +27 -27
- package/dist/esm/{ADInfeed-0c13c803.js → ADInfeed-8c5f8c58.js} +11 -11
- package/dist/esm/ADSkyscraper.js +27 -27
- package/dist/esm/ADSponsoredResources.js +27 -27
- package/dist/esm/ADWebcast.js +27 -27
- package/dist/esm/ADWelcome.js +28 -28
- package/dist/esm/{ADlgInfeed-e4e2031a.js → ADlgInfeed-2316e091.js} +8 -8
- package/dist/esm/AccordionPanel.js +22 -22
- package/dist/esm/AdSlot.js +23 -23
- package/dist/esm/AdSlotsProvider.js +15 -907
- package/dist/esm/AlgoliaSearch.js +820 -702
- package/dist/esm/AlphabeticList.js +20 -20
- package/dist/esm/ArticleCarousel.js +17 -16
- package/dist/esm/ArticleProgramLandingPage.js +54 -53
- package/dist/esm/ArticleSeriesLandingPage.js +38 -33
- package/dist/esm/ArticleSeriesListing.js +55 -54
- package/dist/esm/Auth.js +659 -1487
- package/dist/esm/AuthWrapper.js +306 -265
- package/dist/esm/{AuthorComponent-e6f95c2f.js → AuthorComponent-46a745ba.js} +11 -11
- package/dist/esm/Beam.js +6 -6
- package/dist/esm/{BlockContent-f4515898.js → BlockContent-52cf21c5.js} +35 -35
- package/dist/esm/Breadcrumbs.js +15 -15
- package/dist/esm/CMEDeck.js +77 -77
- package/dist/esm/Column1.js +9 -9
- package/dist/esm/Column2.js +28 -28
- package/dist/esm/Column3.js +54 -54
- package/dist/esm/ConferenceArticleCard.js +38 -37
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/DeckContent.js +96 -95
- package/dist/esm/DeckQueue.js +82 -81
- package/dist/esm/{Dfp-f867d061.js → Dfp-4ca12f2e.js} +20 -20
- package/dist/esm/EventsDeck.js +129 -129
- package/dist/esm/ExternalResources.js +73 -72
- package/dist/esm/Feature.js +22 -21
- package/dist/esm/ForbesHero.js +33 -32
- package/dist/esm/GridContent.js +199 -198
- package/dist/esm/GridHero.js +35 -34
- package/dist/esm/GroupDeck.js +45 -44
- package/dist/esm/HamMagazine.js +114 -114
- package/dist/esm/Header.js +8 -8
- package/dist/esm/Hero.js +13 -12
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalArticleListing.js +68 -67
- package/dist/esm/HorizontalHero.js +25 -24
- package/dist/esm/IssueContentDeck.js +59 -58
- package/dist/esm/IssueDeck.js +63 -62
- package/dist/esm/IssueLanding.js +90 -88
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +33 -33
- package/dist/esm/MasterDeck.js +350 -223
- package/dist/esm/MediaSeriesLanding.js +839 -850
- package/dist/esm/NavDvm.js +57 -57
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +124 -124
- package/dist/esm/NavNative.js +114 -114
- package/dist/esm/OncliveHero.js +20 -20
- package/dist/esm/OncliveLargeHero.js +58 -57
- package/dist/esm/PageFilter.js +10 -10
- package/dist/esm/PartnerDetailListing.js +112 -3910
- package/dist/esm/PdfDownload.js +6 -6
- package/dist/esm/PopUpModal.js +12 -12
- package/dist/esm/PubSection.js +37 -35
- package/dist/esm/PubToc.js +10 -10
- package/dist/esm/PublicationDeck.js +56 -55
- package/dist/esm/PublicationLanding.js +120 -120
- package/dist/esm/QueueDeckExpanded.js +1166 -994
- package/dist/esm/RecentNews.js +19 -19
- package/dist/esm/RelatedContent.js +51 -50
- package/dist/esm/RelatedTopicsDropdown.js +21 -21
- package/dist/esm/RolesDeck.js +25 -25
- package/dist/esm/Search.js +11 -11
- package/dist/esm/Segment.js +4 -4
- package/dist/esm/SeriesListingDeck.js +31 -30
- package/dist/esm/{SeriesSlider-d6561e33.js → SeriesSlider-7a6c45ce.js} +31 -31
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +32 -32
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-b5be0e6c.js → SocialSearchComponent-bdecba55.js} +30 -30
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +56 -55
- package/dist/esm/TaxonomyDescription.js +49 -48
- package/dist/esm/TemplateNormal.js +68 -68
- package/dist/esm/ThumbnailCard.js +17 -16
- package/dist/esm/Ustream.js +24 -24
- package/dist/esm/VerticalHero.js +17 -16
- package/dist/esm/VideoProgramLandingPage.js +65 -64
- package/dist/esm/VideoSeriesCard.js +26 -25
- package/dist/esm/VideoSeriesFilter.js +13 -13
- package/dist/esm/VideoSeriesLandingPage.js +42 -39
- package/dist/esm/VideoSeriesListing.js +72 -71
- package/dist/esm/View.js +246 -246
- package/dist/esm/YahooHero.js +33 -32
- package/dist/esm/YoutubeGroup.js +52 -51
- package/dist/esm/{_is-array-4df618a6.js → _is-array-893ab020.js} +6 -6
- package/dist/esm/{_iter-detect-130ee549.js → _iter-detect-f089461c.js} +7 -7
- package/dist/esm/{_object-pie-33c40e79.js → _object-pie-133f504a.js} +4 -4
- package/dist/esm/{_object-sap-8b8ea5a9.js → _object-sap-169d6272.js} +1 -1
- package/dist/esm/{_object-to-array-c54dd835.js → _object-to-array-50a6b9a3.js} +2 -2
- package/dist/esm/{asyncToGenerator-64812e90.js → asyncToGenerator-b4dfe691.js} +31 -31
- package/dist/esm/{brightcove-react-player-loader.es-83f53e4e.js → brightcove-react-player-loader.es-b43c695a.js} +7 -6
- package/dist/esm/{core.get-iterator-method-86d4db69.js → core.get-iterator-method-e903ff31.js} +36 -36
- package/dist/esm/{debounce-9207d8ee.js → debounce-533d9748.js} +2 -2
- package/dist/esm/{define-property-6d26cb48.js → define-property-99e66838.js} +6 -6
- package/dist/esm/{defineProperty-d7d9b577.js → defineProperty-8fa0bc8d.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/{extends-5b1796d4.js → extends-dc6a71fd.js} +7 -7
- package/dist/esm/faundadb.js +5 -5
- package/dist/esm/{get-1e515072.js → get-3c308da4.js} +21 -21
- package/dist/esm/getRelatedArticle.js +12 -12
- package/dist/esm/getRootDocGroup.js +4 -4
- package/dist/esm/getSerializers.js +43 -42
- package/dist/esm/{getTargeting-277c801e.js → getTargeting-ff2c9409.js} +11 -11
- package/dist/esm/getTargeting.js +6 -6
- package/dist/esm/{urlFor-23b2244b.js → index-0dbff1d1.js} +37 -88
- package/dist/esm/{index-41a678ea.js → index-2446af28.js} +6 -6
- package/dist/esm/{index-5f7e79e7.js → index-35bdcc81.js} +10 -10
- package/dist/esm/{index-aaa2dae0.js → index-67e1773f.js} +11 -2
- package/dist/esm/{index-ef6d5dcf.js → index-79cfd25c.js} +44 -45
- package/dist/esm/{index-a35a5c39.js → index-c9bfc91f.js} +1017 -1001
- package/dist/esm/{index.es-29c1cef5.js → index.es-c6222053.js} +28 -10
- package/dist/esm/{index.esm-29e48d38.js → index.esm-3fdda599.js} +6 -15
- package/dist/esm/{index.esm-fd746768.js → index.esm-8016b507.js} +17 -18
- package/dist/esm/{index.esm-cf08bf18.js → index.esm-a8ff922c.js} +5 -12
- package/dist/esm/{index.esm-f8aaeeeb.js → index.esm-c6715e80.js} +3 -6
- package/dist/esm/index.js +140 -137
- package/dist/esm/{inherits-2409637d.js → inherits-8a801a18.js} +18 -18
- package/dist/esm/{isSymbol-1981418f.js → isSymbol-a7e9aafe.js} +15 -15
- package/dist/esm/{keys-69989821.js → keys-425c8ab0.js} +6 -6
- package/dist/esm/{lodash-17fdfebb.js → lodash-f97fd99a.js} +128 -31
- package/dist/esm/main-4136096f.js +961 -0
- package/dist/esm/{md5-9be0e905.js → md5-4e42248e.js} +1 -1
- package/dist/esm/{moment-e2f9b20c.js → moment-bc12cb97.js} +11 -9
- package/dist/esm/{react-social-icons-a7d5c5c7.js → react-social-icons-91f9716f.js} +20 -20
- package/dist/esm/{slicedToArray-67a08c9c.js → slicedToArray-ca2c8b8d.js} +12 -12
- package/dist/esm/{smoothscroll-0cd4c7a6.js → smoothscroll-fa4e3f8c.js} +1 -1
- package/dist/esm/stringify-c21932b3.js +15 -0
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-32282905.js → toConsumableArray-7b1c0e23.js} +7 -7
- package/dist/esm/{toNumber-2f7a84cd.js → toNumber-5aeba6e7.js} +40 -5
- package/dist/esm/{typeof-c05a82ba.js → typeof-83d9eb10.js} +35 -35
- package/dist/esm/urlFor.js +62 -4
- package/dist/esm/{ustream-api-4c4fe0ba.js → ustream-api-41166338.js} +4 -4
- package/dist/esm/{util-7700fc59.js → util-3ab476bf.js} +1 -1
- package/dist/esm/{visibility-sensor-72fd8f8b.js → visibility-sensor-f40c2564.js} +2 -2
- package/dist/esm/{web.dom.iterable-f8f967cd.js → web.dom.iterable-fdf034f5.js} +2 -2
- package/package.json +111 -112
- package/dist/cjs/ConferenceBanner-4a16fddc.js +0 -23
- package/dist/cjs/Pagination-9cb60fba.js +0 -61
- package/dist/cjs/inherits-8d29278d.js +0 -110
- package/dist/cjs/main-02daeefe.js +0 -862
- package/dist/esm/Pagination-256b60e5.js +0 -56
- package/dist/esm/inherits-77d5e4fc.js +0 -101
- package/dist/esm/main-c0612122.js +0 -851
- package/dist/esm/stringify-70b72959.js +0 -15
|
@@ -1,30 +1,30 @@
|
|
|
1
|
+
import { b as _anInstance, c as _forOf, d as _redefineAll, e as _setSpecies, a as _asyncToGenerator, r as regenerator, _ as _Promise } from './asyncToGenerator-b4dfe691.js';
|
|
2
|
+
import { _ as _extends } from './extends-dc6a71fd.js';
|
|
3
|
+
import { _ as _slicedToArray } from './slicedToArray-ca2c8b8d.js';
|
|
1
4
|
import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import { b as _isObject, c as _objectCreate, d as _ctx, e as _descriptors, f as _iterDefine, g as _objectDp, h as _wks, i as _toObject, j as _iobject, k as _toLength, l as _global, m as _fails, n as _hide, o as _setToStringTag, _ as _export, p as _classof, q as _aFunction, a as _core } from './core.get-iterator-method-
|
|
3
|
-
import './
|
|
4
|
-
import './
|
|
5
|
-
import { _ as _toConsumableArray } from './toConsumableArray-
|
|
6
|
-
import '
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import 'prop-types';
|
|
12
|
-
import Row$1 from 'react-bootstrap/Row';
|
|
13
|
-
import Col$1 from 'react-bootstrap/Col';
|
|
14
|
-
import Card$1 from 'react-bootstrap/Card';
|
|
5
|
+
import { b as _isObject, c as _objectCreate, d as _ctx, e as _descriptors, f as _iterDefine, g as _objectDp, h as _wks, i as _toObject, j as _iobject, k as _toLength, l as _global, m as _fails, n as _hide, o as _setToStringTag, _ as _export, p as _classof, q as _aFunction, a as _core } from './core.get-iterator-method-e903ff31.js';
|
|
6
|
+
import { _ as _iterStep } from './web.dom.iterable-fdf034f5.js';
|
|
7
|
+
import { _ as _meta, a as _isArray } from './_is-array-893ab020.js';
|
|
8
|
+
import { _ as _toConsumableArray } from './toConsumableArray-7b1c0e23.js';
|
|
9
|
+
import React, { useState, useEffect } from 'react';
|
|
10
|
+
import Row from 'react-bootstrap/Row';
|
|
11
|
+
import Col from 'react-bootstrap/Col';
|
|
12
|
+
import Dropdown from 'react-bootstrap/Dropdown';
|
|
13
|
+
import Card from 'react-bootstrap/Card';
|
|
15
14
|
import { useRouter } from 'next/router';
|
|
15
|
+
import { L as LazyLoad } from './index-35bdcc81.js';
|
|
16
|
+
import './_library-528f1934.js';
|
|
17
|
+
import './_iter-detect-f089461c.js';
|
|
18
|
+
import './_object-pie-133f504a.js';
|
|
16
19
|
import 'react-dom';
|
|
17
|
-
import
|
|
18
|
-
import { L as LazyLoad } from './index-5f7e79e7.js';
|
|
19
|
-
import { b as _anInstance, c as _forOf, d as _redefineAll, e as _setSpecies, _ as _asyncToGenerator, r as regenerator, a as _Promise } from './asyncToGenerator-64812e90.js';
|
|
20
|
-
import Dropdown from 'react-bootstrap/Dropdown';
|
|
20
|
+
import 'prop-types';
|
|
21
21
|
|
|
22
22
|
var _validateCollection = function (it, TYPE) {
|
|
23
23
|
if (!_isObject(it) || it._t !== TYPE) throw TypeError('Incompatible receiver, ' + TYPE + ' required!');
|
|
24
24
|
return it;
|
|
25
25
|
};
|
|
26
26
|
|
|
27
|
-
var dP = _objectDp.f;
|
|
27
|
+
var dP$1 = _objectDp.f;
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
|
|
@@ -107,7 +107,7 @@ var _collectionStrong = {
|
|
|
107
107
|
return !!getEntry(_validateCollection(this, NAME), key);
|
|
108
108
|
}
|
|
109
109
|
});
|
|
110
|
-
if (_descriptors) dP(C.prototype, 'size', {
|
|
110
|
+
if (_descriptors) dP$1(C.prototype, 'size', {
|
|
111
111
|
get: function () {
|
|
112
112
|
return _validateCollection(this, NAME)[SIZE];
|
|
113
113
|
}
|
|
@@ -235,7 +235,7 @@ var _arrayMethods = function (TYPE, $create) {
|
|
|
235
235
|
};
|
|
236
236
|
};
|
|
237
237
|
|
|
238
|
-
var dP
|
|
238
|
+
var dP = _objectDp.f;
|
|
239
239
|
var each = _arrayMethods(0);
|
|
240
240
|
|
|
241
241
|
|
|
@@ -267,7 +267,7 @@ var _collection = function (NAME, wrapper, methods, common, IS_MAP, IS_WEAK) {
|
|
|
267
267
|
return IS_ADDER ? this : result;
|
|
268
268
|
});
|
|
269
269
|
});
|
|
270
|
-
IS_WEAK || dP
|
|
270
|
+
IS_WEAK || dP(C.prototype, 'size', {
|
|
271
271
|
get: function () {
|
|
272
272
|
return this._c.size;
|
|
273
273
|
}
|
|
@@ -287,7 +287,7 @@ var _collection = function (NAME, wrapper, methods, common, IS_MAP, IS_WEAK) {
|
|
|
287
287
|
var SET = 'Set';
|
|
288
288
|
|
|
289
289
|
// 23.2 Set Objects
|
|
290
|
-
|
|
290
|
+
_collection(SET, function (get) {
|
|
291
291
|
return function Set() { return get(this, arguments.length > 0 ? arguments[0] : undefined); };
|
|
292
292
|
}, {
|
|
293
293
|
// 23.2.3.1 Set.prototype.add(value)
|
|
@@ -363,40 +363,40 @@ var _setCollectionFrom = function (COLLECTION) {
|
|
|
363
363
|
// https://tc39.github.io/proposal-setmap-offrom/#sec-set.from
|
|
364
364
|
_setCollectionFrom('Set');
|
|
365
365
|
|
|
366
|
-
var set = _core.Set;
|
|
366
|
+
var set$1 = _core.Set;
|
|
367
367
|
|
|
368
|
-
var set
|
|
369
|
-
module.exports = { "default": set, __esModule: true };
|
|
368
|
+
var set = createCommonjsModule(function (module) {
|
|
369
|
+
module.exports = { "default": set$1, __esModule: true };
|
|
370
370
|
});
|
|
371
371
|
|
|
372
|
-
var _Set = unwrapExports(set
|
|
373
|
-
|
|
374
|
-
/* usage & query
|
|
375
|
-
const Publication = (props) => {
|
|
376
|
-
const { cache, pub, year } = props
|
|
377
|
-
const targeting = {
|
|
378
|
-
content_placement: [`/journals/${pub.identifier.current}`],
|
|
379
|
-
document_url: [`/journals/${pub.identifier.current}`],
|
|
380
|
-
}
|
|
381
|
-
return (
|
|
382
|
-
<Shell title={pub.name} cache={cache} settings={Settings} targeting={targeting} ads={Ads} layout='3'>
|
|
383
|
-
<PublicationLanding publication={pub} year={year} href={'journals'} />
|
|
384
|
-
</Shell>
|
|
385
|
-
)
|
|
386
|
-
}
|
|
387
|
-
Publication.getInitialProps = async (ctx) => {
|
|
388
|
-
const { query } = ctx
|
|
389
|
-
const {
|
|
390
|
-
query: { year },
|
|
391
|
-
} = ctx
|
|
392
|
-
const pub = await client.fetch(getQuery('publication'), query)
|
|
393
|
-
**import urlFor from framework**
|
|
394
|
-
pub.issues.map((issue) => {
|
|
395
|
-
issue.thumbnail = urlFor({client, source: issue.thumbnail})
|
|
396
|
-
})
|
|
397
|
-
return { pub, year }
|
|
398
|
-
}
|
|
399
|
-
export default Publication
|
|
372
|
+
var _Set = unwrapExports(set);
|
|
373
|
+
|
|
374
|
+
/* usage & query
|
|
375
|
+
const Publication = (props) => {
|
|
376
|
+
const { cache, pub, year } = props
|
|
377
|
+
const targeting = {
|
|
378
|
+
content_placement: [`/journals/${pub.identifier.current}`],
|
|
379
|
+
document_url: [`/journals/${pub.identifier.current}`],
|
|
380
|
+
}
|
|
381
|
+
return (
|
|
382
|
+
<Shell title={pub.name} cache={cache} settings={Settings} targeting={targeting} ads={Ads} layout='3'>
|
|
383
|
+
<PublicationLanding publication={pub} year={year} href={'journals'} />
|
|
384
|
+
</Shell>
|
|
385
|
+
)
|
|
386
|
+
}
|
|
387
|
+
Publication.getInitialProps = async (ctx) => {
|
|
388
|
+
const { query } = ctx
|
|
389
|
+
const {
|
|
390
|
+
query: { year },
|
|
391
|
+
} = ctx
|
|
392
|
+
const pub = await client.fetch(getQuery('publication'), query)
|
|
393
|
+
**import urlFor from framework**
|
|
394
|
+
pub.issues.map((issue) => {
|
|
395
|
+
issue.thumbnail = urlFor({client, source: issue.thumbnail})
|
|
396
|
+
})
|
|
397
|
+
return { pub, year }
|
|
398
|
+
}
|
|
399
|
+
export default Publication
|
|
400
400
|
*/
|
|
401
401
|
|
|
402
402
|
var generateContentPlacements = function generateContentPlacements(issues) {
|
|
@@ -419,9 +419,9 @@ var PublicationLanding = function PublicationLanding(props) {
|
|
|
419
419
|
var publication = props.publication,
|
|
420
420
|
_props$year = props.year,
|
|
421
421
|
year = _props$year === undefined ? '' : _props$year,
|
|
422
|
-
href = props.href
|
|
423
|
-
|
|
424
|
-
_props$contentPlaceme = props.contentPlacement,
|
|
422
|
+
href = props.href;
|
|
423
|
+
props.pdf;
|
|
424
|
+
var _props$contentPlaceme = props.contentPlacement,
|
|
425
425
|
contentPlacement = _props$contentPlaceme === undefined ? '' : _props$contentPlaceme,
|
|
426
426
|
client = props.client;
|
|
427
427
|
|
|
@@ -629,36 +629,36 @@ var PublicationLanding = function PublicationLanding(props) {
|
|
|
629
629
|
}
|
|
630
630
|
}, [activeYear, activeContentPlacement, issueData]);
|
|
631
631
|
|
|
632
|
-
return
|
|
632
|
+
return React.createElement(
|
|
633
633
|
'div',
|
|
634
634
|
{ id: 'publicationLanding' },
|
|
635
|
-
|
|
635
|
+
React.createElement(
|
|
636
636
|
'style',
|
|
637
637
|
{ jsx: true },
|
|
638
638
|
'\n #pubYearFilter .dropdown-menu.show,\n #contentPlacementFilter .dropdown-menu.show {\n max-height: 25vh;\n overflow: auto;\n }\n '
|
|
639
639
|
),
|
|
640
|
-
|
|
641
|
-
Row
|
|
640
|
+
React.createElement(
|
|
641
|
+
Row,
|
|
642
642
|
null,
|
|
643
|
-
issueData && issueData.length > 0 && years.length > 0 &&
|
|
644
|
-
Col
|
|
643
|
+
issueData && issueData.length > 0 && years.length > 0 && React.createElement(
|
|
644
|
+
Col,
|
|
645
645
|
{ className: 'flex-grow-0 mb-3' },
|
|
646
|
-
|
|
646
|
+
React.createElement(
|
|
647
647
|
Dropdown,
|
|
648
648
|
{ id: 'pubYearFilter' },
|
|
649
|
-
|
|
649
|
+
React.createElement(
|
|
650
650
|
Dropdown.Toggle,
|
|
651
651
|
null,
|
|
652
652
|
activeYear && !isNaN(activeYear) ? activeYear : 'Select Year'
|
|
653
653
|
),
|
|
654
|
-
|
|
654
|
+
React.createElement(
|
|
655
655
|
Dropdown.Menu,
|
|
656
656
|
null,
|
|
657
|
-
|
|
657
|
+
React.createElement(Dropdown.Item, { style: { height: '2rem' }, onClick: function onClick() {
|
|
658
658
|
return setActiveYear('');
|
|
659
659
|
} }),
|
|
660
660
|
years.map(function (yr, key) {
|
|
661
|
-
return
|
|
661
|
+
return React.createElement(
|
|
662
662
|
Dropdown.Item,
|
|
663
663
|
{ key: key, onClick: function onClick() {
|
|
664
664
|
return setActiveYear(yr);
|
|
@@ -669,25 +669,25 @@ var PublicationLanding = function PublicationLanding(props) {
|
|
|
669
669
|
)
|
|
670
670
|
)
|
|
671
671
|
),
|
|
672
|
-
contentPlacements && contentPlacements.length > 0 &&
|
|
673
|
-
Col
|
|
672
|
+
contentPlacements && contentPlacements.length > 0 && React.createElement(
|
|
673
|
+
Col,
|
|
674
674
|
{ className: 'flex-grow-0 mb-3' },
|
|
675
|
-
|
|
675
|
+
React.createElement(
|
|
676
676
|
Dropdown,
|
|
677
677
|
{ id: 'contentPlacementFilter' },
|
|
678
|
-
|
|
678
|
+
React.createElement(
|
|
679
679
|
Dropdown.Toggle,
|
|
680
680
|
null,
|
|
681
681
|
activeContentPlacement && activeContentPlacement.name ? activeContentPlacement.name : 'Select Topic'
|
|
682
682
|
),
|
|
683
|
-
|
|
683
|
+
React.createElement(
|
|
684
684
|
Dropdown.Menu,
|
|
685
685
|
null,
|
|
686
|
-
|
|
686
|
+
React.createElement(Dropdown.Item, { style: { height: '2rem' }, onClick: function onClick() {
|
|
687
687
|
return setActiveContentPlacement('');
|
|
688
688
|
} }),
|
|
689
689
|
contentPlacements.map(function (cp) {
|
|
690
|
-
return
|
|
690
|
+
return React.createElement(
|
|
691
691
|
Dropdown.Item,
|
|
692
692
|
{
|
|
693
693
|
key: cp._id,
|
|
@@ -703,60 +703,60 @@ var PublicationLanding = function PublicationLanding(props) {
|
|
|
703
703
|
)
|
|
704
704
|
),
|
|
705
705
|
sortedIssues && sortedIssues.length > 0 ? sortedIssues.map(function (issue, key) {
|
|
706
|
-
return
|
|
707
|
-
Card
|
|
706
|
+
return React.createElement(
|
|
707
|
+
Card,
|
|
708
708
|
{ key: key, className: 'issueCard' },
|
|
709
|
-
|
|
710
|
-
Row
|
|
709
|
+
React.createElement(
|
|
710
|
+
Row,
|
|
711
711
|
null,
|
|
712
|
-
|
|
713
|
-
Col
|
|
712
|
+
React.createElement(
|
|
713
|
+
Col,
|
|
714
714
|
{ md: 3, id: 'issueThumbnail' },
|
|
715
|
-
|
|
715
|
+
React.createElement(
|
|
716
716
|
LazyLoad,
|
|
717
717
|
{ once: true },
|
|
718
|
-
|
|
718
|
+
React.createElement(Card.Img, { src: issue.thumbnail })
|
|
719
719
|
)
|
|
720
720
|
),
|
|
721
|
-
|
|
722
|
-
Col
|
|
721
|
+
React.createElement(
|
|
722
|
+
Col,
|
|
723
723
|
{ md: 9, id: 'issueDetail' },
|
|
724
|
-
|
|
725
|
-
Card
|
|
724
|
+
React.createElement(
|
|
725
|
+
Card.Body,
|
|
726
726
|
null,
|
|
727
|
-
|
|
728
|
-
Card
|
|
727
|
+
React.createElement(
|
|
728
|
+
Card.Title,
|
|
729
729
|
null,
|
|
730
730
|
issue.name
|
|
731
731
|
),
|
|
732
|
-
issue.source &&
|
|
732
|
+
issue.source && React.createElement(
|
|
733
733
|
'div',
|
|
734
734
|
{ className: 'content-category-label' },
|
|
735
|
-
|
|
735
|
+
React.createElement(
|
|
736
736
|
'div',
|
|
737
737
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
738
738
|
issue.source
|
|
739
739
|
)
|
|
740
740
|
),
|
|
741
|
-
issue.volume && issue.number &&
|
|
741
|
+
issue.volume && issue.number && React.createElement(
|
|
742
742
|
'p',
|
|
743
743
|
null,
|
|
744
744
|
'Volume: ',
|
|
745
745
|
issue.volume,
|
|
746
|
-
|
|
746
|
+
React.createElement('br', null),
|
|
747
747
|
'Issue: ',
|
|
748
748
|
issue.number
|
|
749
749
|
)
|
|
750
750
|
),
|
|
751
|
-
|
|
752
|
-
Card
|
|
751
|
+
React.createElement(
|
|
752
|
+
Card.Footer,
|
|
753
753
|
null,
|
|
754
|
-
issue && issue.articles && issue.articles.length > 0 ?
|
|
754
|
+
issue && issue.articles && issue.articles.length > 0 ? React.createElement(
|
|
755
755
|
'a',
|
|
756
756
|
{ href: publication.identifier.current + '/' + issue.identifier.current, className: 'btn btn-primary' },
|
|
757
757
|
'View Issue'
|
|
758
758
|
) : null,
|
|
759
|
-
issue.pdf && issue.pdf.asset && issue.pdf.asset.url &&
|
|
759
|
+
issue.pdf && issue.pdf.asset && issue.pdf.asset.url && React.createElement(
|
|
760
760
|
'a',
|
|
761
761
|
{ rel: 'noopener', href: issue.pdf.asset.url, target: '_blank', className: 'btn btn-primary' },
|
|
762
762
|
'Download Issue'
|
|
@@ -766,60 +766,60 @@ var PublicationLanding = function PublicationLanding(props) {
|
|
|
766
766
|
)
|
|
767
767
|
);
|
|
768
768
|
}) : !activeContentPlacement && !activeYear && issueData && issueData.length > 0 ? issueData.map(function (issue, key) {
|
|
769
|
-
return
|
|
770
|
-
Card
|
|
769
|
+
return React.createElement(
|
|
770
|
+
Card,
|
|
771
771
|
{ key: key, className: 'issueCard' },
|
|
772
|
-
|
|
773
|
-
Row
|
|
772
|
+
React.createElement(
|
|
773
|
+
Row,
|
|
774
774
|
null,
|
|
775
|
-
|
|
776
|
-
Col
|
|
775
|
+
React.createElement(
|
|
776
|
+
Col,
|
|
777
777
|
{ md: 3, id: 'issueThumbnail' },
|
|
778
|
-
|
|
778
|
+
React.createElement(
|
|
779
779
|
LazyLoad,
|
|
780
780
|
{ once: true },
|
|
781
|
-
|
|
781
|
+
React.createElement(Card.Img, { src: issue.thumbnail })
|
|
782
782
|
)
|
|
783
783
|
),
|
|
784
|
-
|
|
785
|
-
Col
|
|
784
|
+
React.createElement(
|
|
785
|
+
Col,
|
|
786
786
|
{ md: 9, id: 'issueDetail' },
|
|
787
|
-
|
|
788
|
-
Card
|
|
787
|
+
React.createElement(
|
|
788
|
+
Card.Body,
|
|
789
789
|
null,
|
|
790
|
-
|
|
791
|
-
Card
|
|
790
|
+
React.createElement(
|
|
791
|
+
Card.Title,
|
|
792
792
|
null,
|
|
793
793
|
issue.name
|
|
794
794
|
),
|
|
795
|
-
issue.source &&
|
|
795
|
+
issue.source && React.createElement(
|
|
796
796
|
'div',
|
|
797
797
|
{ className: 'content-category-label' },
|
|
798
|
-
|
|
798
|
+
React.createElement(
|
|
799
799
|
'div',
|
|
800
800
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
801
801
|
issue.source
|
|
802
802
|
)
|
|
803
803
|
),
|
|
804
|
-
issue.volume && issue.number &&
|
|
804
|
+
issue.volume && issue.number && React.createElement(
|
|
805
805
|
'p',
|
|
806
806
|
null,
|
|
807
807
|
'Volume: ',
|
|
808
808
|
issue.volume,
|
|
809
|
-
|
|
809
|
+
React.createElement('br', null),
|
|
810
810
|
'Issue: ',
|
|
811
811
|
issue.number
|
|
812
812
|
)
|
|
813
813
|
),
|
|
814
|
-
|
|
815
|
-
Card
|
|
814
|
+
React.createElement(
|
|
815
|
+
Card.Footer,
|
|
816
816
|
null,
|
|
817
|
-
issue && issue.articles && issue.articles.length > 0 ?
|
|
817
|
+
issue && issue.articles && issue.articles.length > 0 ? React.createElement(
|
|
818
818
|
'a',
|
|
819
819
|
{ href: publication.identifier.current + '/' + issue.identifier.current, className: 'btn btn-primary' },
|
|
820
820
|
'View Issue'
|
|
821
821
|
) : null,
|
|
822
|
-
issue.pdf && issue.pdf.asset && issue.pdf.asset.url &&
|
|
822
|
+
issue.pdf && issue.pdf.asset && issue.pdf.asset.url && React.createElement(
|
|
823
823
|
'a',
|
|
824
824
|
{ rel: 'noopener', href: issue.pdf.asset.url, target: '_blank', className: 'btn btn-primary' },
|
|
825
825
|
'Download Issue'
|
|
@@ -828,12 +828,12 @@ var PublicationLanding = function PublicationLanding(props) {
|
|
|
828
828
|
)
|
|
829
829
|
)
|
|
830
830
|
);
|
|
831
|
-
}) :
|
|
831
|
+
}) : React.createElement(
|
|
832
832
|
'em',
|
|
833
833
|
null,
|
|
834
834
|
'New content coming soon, please check back later.'
|
|
835
835
|
),
|
|
836
|
-
|
|
836
|
+
React.createElement(
|
|
837
837
|
'style',
|
|
838
838
|
{ jsx: 'true' },
|
|
839
839
|
'\n .issueCard.card:hover {\n cursor: default;\n }\n .content-category-label {\n margin: 0.5rem 0;\n display: block;\n }\n .sanityDisplayLabel {\n margin: 0.5rem 0;\n border: 1px solid black;\n display: inline;\n width: 100%;\n padding: 5px;\n color: #484848;\n border-radius: 2px;\n }\n .dropdown-toggle {\n min-width: 5rem;\n }\n .dropdown-toggle:empty:after {\n margin-left: 4rem;\n }\n .card-footer {\n background-color: transparent;\n border-top: 0;\n }\n .card-footer a:not(:first-child) {\n margin-left: 1rem;\n }\n '
|