@mjhls/mjh-framework 1.0.880 → 1.0.881-beta.0
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 +9 -10
- package/dist/cjs/AD300x250.js +28 -29
- package/dist/cjs/AD300x250x600.js +28 -29
- package/dist/cjs/AD728x90.js +31 -32
- package/dist/cjs/ADFloatingFooter.js +30 -31
- package/dist/cjs/ADFooter.js +12 -13
- package/dist/cjs/ADGutter.js +30 -31
- package/dist/cjs/{ADInfeed-9a2e923a.js → ADInfeed-2e48af77.js} +13 -15
- package/dist/cjs/ADSkyscraper.js +30 -31
- package/dist/cjs/ADSponsoredResources.js +30 -31
- package/dist/cjs/ADWebcast.js +30 -31
- package/dist/cjs/ADWelcome.js +31 -32
- package/dist/cjs/{ADlgInfeed-957a1996.js → ADlgInfeed-c39c7131.js} +10 -11
- package/dist/cjs/AccordionPanel.js +27 -29
- package/dist/cjs/AdSlot.js +31 -32
- package/dist/cjs/AdSlotsProvider.js +909 -18
- package/dist/cjs/AlgoliaSearch.js +1274 -1392
- package/dist/cjs/AlphabeticList.js +23 -24
- package/dist/cjs/ArticleCarousel.js +19 -20
- package/dist/cjs/ArticleProgramLandingPage.js +60 -61
- package/dist/cjs/ArticleSeriesLandingPage.js +42 -41
- package/dist/cjs/ArticleSeriesListing.js +59 -60
- package/dist/cjs/Auth.js +1504 -680
- package/dist/cjs/AuthWrapper.js +267 -309
- package/dist/cjs/{AuthorComponent-39b37d84.js → AuthorComponent-02e827ae.js} +13 -14
- package/dist/cjs/Beam.js +6 -6
- package/dist/cjs/{BlockContent-36e54d77.js → BlockContent-091a991f.js} +55 -56
- package/dist/cjs/Breadcrumbs.js +25 -27
- package/dist/cjs/CMEDeck.js +81 -81
- package/dist/cjs/Column1.js +11 -14
- package/dist/cjs/Column2.js +31 -34
- package/dist/cjs/Column3.js +57 -60
- package/dist/cjs/ConferenceArticleCard.js +40 -41
- package/dist/cjs/ConferenceBanner-4a16fddc.js +23 -0
- package/dist/cjs/DeckContent.js +101 -105
- package/dist/cjs/DeckQueue.js +366 -91
- package/dist/cjs/{Dfp-9be904d5.js → Dfp-14d2455c.js} +32 -33
- package/dist/cjs/EventsDeck.js +150 -157
- package/dist/cjs/ExternalResources.js +78 -79
- package/dist/cjs/Feature.js +27 -29
- package/dist/cjs/ForbesHero.js +40 -41
- package/dist/cjs/GridContent.js +231 -236
- package/dist/cjs/GridHero.js +42 -43
- package/dist/cjs/GroupDeck.js +57 -58
- package/dist/cjs/HamMagazine.js +138 -143
- package/dist/cjs/Header.js +12 -14
- package/dist/cjs/Hero.js +15 -16
- package/dist/cjs/HighlightenVideo.js +17 -18
- package/dist/cjs/HorizontalArticleListing.js +71 -72
- package/dist/cjs/HorizontalHero.js +27 -28
- package/dist/cjs/IssueContentDeck.js +71 -76
- package/dist/cjs/IssueDeck.js +70 -75
- package/dist/cjs/IssueLanding.js +94 -94
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +37 -39
- package/dist/cjs/MasterDeck.js +468 -81
- package/dist/cjs/MediaSeriesLanding.js +1129 -1118
- package/dist/cjs/NavDvm.js +72 -77
- package/dist/cjs/{NavFooter-3dcd99a8.js → NavFooter-76c913e3.js} +14 -15
- package/dist/cjs/NavMagazine.js +145 -150
- package/dist/cjs/NavNative.js +137 -145
- package/dist/cjs/OncliveHero.js +22 -22
- package/dist/cjs/OncliveLargeHero.js +70 -71
- package/dist/cjs/PageFilter.js +12 -13
- package/dist/cjs/Pagination-d6a59f99.js +62 -0
- package/dist/cjs/PartnerDetailListing.js +3917 -116
- package/dist/cjs/PdfDownload.js +8 -9
- package/dist/cjs/PopUpModal.js +17 -19
- package/dist/cjs/PubSection.js +41 -41
- package/dist/cjs/PubToc.js +13 -14
- package/dist/cjs/PublicationDeck.js +65 -70
- package/dist/cjs/PublicationLanding.js +133 -137
- package/dist/cjs/QueueDeckExpanded.js +1649 -317
- package/dist/cjs/RecentNews.js +21 -22
- package/dist/cjs/RelatedContent.js +57 -58
- package/dist/cjs/RelatedTopicsDropdown.js +29 -32
- package/dist/cjs/RolesDeck.js +27 -32
- package/dist/cjs/Search.js +16 -20
- package/dist/cjs/Segment.js +4 -4
- package/dist/cjs/SeriesListingDeck.js +36 -36
- package/dist/cjs/{SeriesSlider-ce3261cb.js → SeriesSlider-49b81b0b.js} +39 -40
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +36 -37
- package/dist/cjs/SocialIcons.js +9 -10
- package/dist/cjs/{SocialSearchComponent-5ec44406.js → SocialSearchComponent-e8477ca3.js} +36 -40
- package/dist/cjs/SocialShare.js +29 -31
- package/dist/cjs/TaxonomyCard.js +61 -66
- package/dist/cjs/TaxonomyDescription.js +53 -54
- package/dist/cjs/TemplateNormal.js +72 -73
- package/dist/cjs/ThumbnailCard.js +24 -26
- package/dist/cjs/Ustream.js +27 -28
- package/dist/cjs/VerticalHero.js +19 -20
- package/dist/cjs/VideoProgramLandingPage.js +74 -78
- package/dist/cjs/VideoSeriesCard.js +32 -33
- package/dist/cjs/VideoSeriesFilter.js +16 -16
- package/dist/cjs/VideoSeriesLandingPage.js +51 -50
- package/dist/cjs/VideoSeriesListing.js +76 -77
- package/dist/cjs/View.js +265 -268
- package/dist/cjs/YahooHero.js +39 -40
- package/dist/cjs/YoutubeGroup.js +67 -68
- package/dist/cjs/{_is-array-54228b29.js → _is-array-aa52fa1e.js} +6 -6
- package/dist/cjs/{_iter-detect-b1df62f0.js → _iter-detect-05795553.js} +7 -7
- package/dist/cjs/{_object-pie-083f2dd6.js → _object-pie-68c5bcbc.js} +4 -4
- package/dist/cjs/{_object-sap-d1978572.js → _object-sap-171b9ea5.js} +1 -1
- package/dist/cjs/{_object-to-array-ce86cae7.js → _object-to-array-9bac8737.js} +2 -2
- package/dist/cjs/{asyncToGenerator-77821af0.js → asyncToGenerator-df19209d.js} +30 -30
- package/dist/cjs/{brightcove-react-player-loader.es-a195642e.js → brightcove-react-player-loader.es-156bd4d6.js} +9 -11
- package/dist/cjs/{core.get-iterator-method-5643aa10.js → core.get-iterator-method-f3c44602.js} +35 -35
- package/dist/cjs/{debounce-d4a2369b.js → debounce-529c8d06.js} +2 -2
- package/dist/cjs/{define-property-e8404b64.js → define-property-21887c62.js} +6 -6
- package/dist/cjs/{defineProperty-9673846a.js → defineProperty-77a37684.js} +1 -1
- package/dist/cjs/{entities-3f9d0f2f.js → entities-310b46ee.js} +1 -1
- package/dist/cjs/{eq-5fc26c07.js → eq-bb2843ed.js} +1 -1
- package/dist/cjs/{extends-7c86182f.js → extends-eed4f016.js} +7 -7
- package/dist/cjs/faundadb.js +19 -19
- package/dist/cjs/{get-5839e5b5.js → get-adbb11e3.js} +21 -21
- package/dist/cjs/getRelatedArticle.js +18 -18
- package/dist/cjs/getRootDocGroup.js +6 -6
- package/dist/cjs/getSerializers.js +43 -43
- package/dist/cjs/{getTargeting-9d509319.js → getTargeting-8874437b.js} +12 -12
- package/dist/cjs/getTargeting.js +6 -6
- package/dist/cjs/iconBase-68959171.js +3 -0
- package/dist/cjs/{index-f86bb269.js → index-3294d3bc.js} +45 -44
- package/dist/cjs/{index-eadd5035.js → index-96b3db50.js} +15 -17
- package/dist/cjs/{index-fc2f1ca2.js → index-98e01cb9.js} +12 -13
- package/dist/cjs/{index-efca863c.js → index-be0c82be.js} +30 -36
- package/dist/cjs/{index-22bdde81.js → index-bf60a71c.js} +1081 -1080
- package/dist/cjs/{index-8041a4eb.js → index-e2e62963.js} +1 -11
- package/dist/cjs/{index.es-f3e47207.js → index.es-9110add6.js} +12 -31
- package/dist/cjs/{index.esm-8123cf40.js → index.esm-4d410430.js} +20 -20
- package/dist/cjs/{index.esm-974f47d9.js → index.esm-90433435.js} +15 -6
- package/dist/cjs/{index.esm-44f3e2d0.js → index.esm-e32d3e8e.js} +6 -3
- package/dist/cjs/{index.esm-05850a2f.js → index.esm-ff47db6f.js} +12 -5
- package/dist/cjs/index.js +165 -170
- package/dist/cjs/inherits-8d29278d.js +110 -0
- package/dist/cjs/{inherits-de66ea16.js → inherits-cba9c846.js} +19 -19
- package/dist/cjs/{isSymbol-03abbdf0.js → isSymbol-04666465.js} +15 -15
- package/dist/cjs/{keys-e982b3fa.js → keys-d207942e.js} +6 -6
- package/dist/cjs/{lodash-f0783643.js → lodash-fc2922d0.js} +31 -128
- package/dist/cjs/main-02daeefe.js +862 -0
- package/dist/cjs/{md5-e1ca5797.js → md5-5039b1a6.js} +1 -1
- package/dist/cjs/{moment-aca40de1.js → moment-575fe24c.js} +9 -11
- package/dist/cjs/{react-social-icons-af932527.js → react-social-icons-f7f48f71.js} +27 -28
- package/dist/cjs/{slicedToArray-067dd3bc.js → slicedToArray-f6d4eaa8.js} +12 -12
- package/dist/cjs/{smoothscroll-99df7f93.js → smoothscroll-5054361f.js} +1 -1
- package/dist/cjs/{stringify-f7a37a8d.js → stringify-bbc68047.js} +5 -5
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-d7797c2b.js → toConsumableArray-c9b8a0d0.js} +7 -7
- package/dist/cjs/{toNumber-5e1fac58.js → toNumber-36d1e7e5.js} +5 -40
- package/dist/cjs/{typeof-567e31ff.js → typeof-5f52cf64.js} +35 -35
- package/dist/cjs/urlFor.js +6 -6
- package/dist/cjs/{ustream-api-3819e4aa.js → ustream-api-9ebe112f.js} +4 -4
- package/dist/cjs/{util-6f784d85.js → util-f2c1b65b.js} +1 -1
- package/dist/cjs/{visibility-sensor-eb2c5b69.js → visibility-sensor-ad5e3116.js} +5 -7
- package/dist/cjs/{web.dom.iterable-d98303e0.js → web.dom.iterable-e34bf324.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-8c5f8c58.js → ADInfeed-0c13c803.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-2316e091.js → ADlgInfeed-e4e2031a.js} +8 -8
- package/dist/esm/AccordionPanel.js +22 -22
- package/dist/esm/AdSlot.js +23 -23
- package/dist/esm/AdSlotsProvider.js +907 -15
- package/dist/esm/AlgoliaSearch.js +703 -820
- package/dist/esm/AlphabeticList.js +20 -20
- package/dist/esm/ArticleCarousel.js +16 -16
- package/dist/esm/ArticleProgramLandingPage.js +54 -54
- package/dist/esm/ArticleSeriesLandingPage.js +37 -35
- package/dist/esm/ArticleSeriesListing.js +55 -55
- package/dist/esm/Auth.js +1487 -659
- package/dist/esm/AuthWrapper.js +265 -306
- package/dist/esm/{AuthorComponent-46a745ba.js → AuthorComponent-e6f95c2f.js} +11 -11
- package/dist/esm/Beam.js +6 -6
- package/dist/esm/{BlockContent-52cf21c5.js → BlockContent-e9b4ddcf.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 -38
- package/dist/esm/{ConferenceBanner-9162d0ca.js → ConferenceBanner-8792ebd2.js} +4 -4
- package/dist/esm/DeckContent.js +96 -96
- package/dist/esm/DeckQueue.js +362 -83
- package/dist/esm/{Dfp-4ca12f2e.js → Dfp-f867d061.js} +20 -20
- package/dist/esm/EventsDeck.js +129 -129
- package/dist/esm/ExternalResources.js +72 -72
- package/dist/esm/Feature.js +21 -21
- package/dist/esm/ForbesHero.js +33 -33
- package/dist/esm/GridContent.js +199 -199
- package/dist/esm/GridHero.js +35 -35
- package/dist/esm/GroupDeck.js +45 -45
- package/dist/esm/HamMagazine.js +114 -114
- package/dist/esm/Header.js +8 -8
- package/dist/esm/Hero.js +13 -13
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalArticleListing.js +68 -68
- package/dist/esm/HorizontalHero.js +25 -25
- package/dist/esm/IssueContentDeck.js +59 -59
- package/dist/esm/IssueDeck.js +63 -63
- package/dist/esm/IssueLanding.js +91 -90
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +33 -33
- package/dist/esm/MasterDeck.js +466 -78
- package/dist/esm/MediaSeriesLanding.js +853 -839
- package/dist/esm/NavDvm.js +57 -57
- package/dist/esm/{NavFooter-c29526b7.js → NavFooter-e27bd93b.js} +12 -12
- package/dist/esm/NavMagazine.js +124 -124
- package/dist/esm/NavNative.js +114 -114
- package/dist/esm/OncliveHero.js +20 -19
- package/dist/esm/OncliveLargeHero.js +58 -58
- package/dist/esm/PageFilter.js +10 -10
- package/dist/esm/Pagination-f7c4c5ae.js +57 -0
- package/dist/esm/PartnerDetailListing.js +3913 -112
- package/dist/esm/PdfDownload.js +6 -6
- package/dist/esm/PopUpModal.js +12 -12
- package/dist/esm/PubSection.js +38 -37
- package/dist/esm/PubToc.js +10 -10
- package/dist/esm/PublicationDeck.js +56 -56
- package/dist/esm/PublicationLanding.js +120 -120
- package/dist/esm/QueueDeckExpanded.js +1616 -284
- package/dist/esm/RecentNews.js +19 -19
- package/dist/esm/RelatedContent.js +51 -51
- 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 +30 -30
- package/dist/esm/{SeriesSlider-7a6c45ce.js → SeriesSlider-ce19fa25.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-bdecba55.js → SocialSearchComponent-b5be0e6c.js} +30 -30
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +56 -56
- package/dist/esm/TaxonomyDescription.js +48 -48
- package/dist/esm/TemplateNormal.js +68 -68
- package/dist/esm/ThumbnailCard.js +17 -17
- package/dist/esm/Ustream.js +24 -24
- package/dist/esm/VerticalHero.js +17 -17
- package/dist/esm/VideoProgramLandingPage.js +65 -65
- package/dist/esm/VideoSeriesCard.js +26 -26
- package/dist/esm/VideoSeriesFilter.js +13 -13
- package/dist/esm/VideoSeriesLandingPage.js +42 -40
- package/dist/esm/VideoSeriesListing.js +72 -72
- package/dist/esm/View.js +247 -246
- package/dist/esm/YahooHero.js +33 -33
- package/dist/esm/YoutubeGroup.js +52 -52
- package/dist/esm/{_is-array-893ab020.js → _is-array-4df618a6.js} +6 -6
- package/dist/esm/{_iter-detect-f089461c.js → _iter-detect-130ee549.js} +7 -7
- package/dist/esm/{_object-pie-133f504a.js → _object-pie-33c40e79.js} +4 -4
- package/dist/esm/{_object-sap-169d6272.js → _object-sap-8b8ea5a9.js} +1 -1
- package/dist/esm/{_object-to-array-50a6b9a3.js → _object-to-array-c54dd835.js} +2 -2
- package/dist/esm/{asyncToGenerator-b4dfe691.js → asyncToGenerator-64812e90.js} +31 -31
- package/dist/esm/{brightcove-react-player-loader.es-b43c695a.js → brightcove-react-player-loader.es-83f53e4e.js} +6 -7
- package/dist/esm/{core.get-iterator-method-e903ff31.js → core.get-iterator-method-86d4db69.js} +36 -36
- package/dist/esm/{debounce-533d9748.js → debounce-9207d8ee.js} +2 -2
- package/dist/esm/{define-property-99e66838.js → define-property-6d26cb48.js} +6 -6
- package/dist/esm/{defineProperty-8fa0bc8d.js → defineProperty-d7d9b577.js} +1 -1
- package/dist/esm/{entities-932b50cf.js → entities-7cc3bf45.js} +1 -1
- package/dist/esm/{eq-bdcbf886.js → eq-b470f743.js} +1 -1
- package/dist/esm/{extends-dc6a71fd.js → extends-5b1796d4.js} +7 -7
- package/dist/esm/faundadb.js +5 -5
- package/dist/esm/{get-3c308da4.js → get-1e515072.js} +21 -21
- package/dist/esm/getRelatedArticle.js +12 -12
- package/dist/esm/getRootDocGroup.js +4 -4
- package/dist/esm/getSerializers.js +43 -43
- package/dist/esm/{getTargeting-ff2c9409.js → getTargeting-277c801e.js} +11 -11
- package/dist/esm/getTargeting.js +6 -6
- package/dist/esm/{index-2446af28.js → index-41a678ea.js} +6 -6
- package/dist/esm/{index-35bdcc81.js → index-5f7e79e7.js} +10 -10
- package/dist/esm/{index-0dbff1d1.js → index-73819142.js} +30 -36
- package/dist/esm/{index-67e1773f.js → index-aaa2dae0.js} +2 -11
- package/dist/esm/{index-c9bfc91f.js → index-e495ac6f.js} +1039 -1028
- package/dist/esm/{index-79cfd25c.js → index-ef6d5dcf.js} +45 -44
- package/dist/esm/{index.es-c6222053.js → index.es-29c1cef5.js} +10 -28
- package/dist/esm/{index.esm-3fdda599.js → index.esm-29e48d38.js} +15 -6
- package/dist/esm/{index.esm-a8ff922c.js → index.esm-cf08bf18.js} +12 -5
- package/dist/esm/{index.esm-c6715e80.js → index.esm-f8aaeeeb.js} +6 -3
- package/dist/esm/{index.esm-8016b507.js → index.esm-fd746768.js} +18 -17
- package/dist/esm/index.js +138 -140
- package/dist/esm/{inherits-8a801a18.js → inherits-2409637d.js} +18 -18
- package/dist/esm/inherits-77d5e4fc.js +101 -0
- package/dist/esm/{isSymbol-a7e9aafe.js → isSymbol-1981418f.js} +15 -15
- package/dist/esm/{keys-425c8ab0.js → keys-69989821.js} +6 -6
- package/dist/esm/{lodash-f97fd99a.js → lodash-17fdfebb.js} +31 -128
- package/dist/esm/main-c0612122.js +851 -0
- package/dist/esm/{md5-4e42248e.js → md5-9be0e905.js} +1 -1
- package/dist/esm/{moment-bc12cb97.js → moment-e2f9b20c.js} +9 -11
- package/dist/esm/{react-social-icons-91f9716f.js → react-social-icons-a7d5c5c7.js} +20 -20
- package/dist/esm/{slicedToArray-ca2c8b8d.js → slicedToArray-67a08c9c.js} +12 -12
- package/dist/esm/{smoothscroll-fa4e3f8c.js → smoothscroll-0cd4c7a6.js} +1 -1
- package/dist/esm/stringify-70b72959.js +15 -0
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-7b1c0e23.js → toConsumableArray-32282905.js} +7 -7
- package/dist/esm/{toNumber-5aeba6e7.js → toNumber-2f7a84cd.js} +5 -40
- package/dist/esm/{typeof-83d9eb10.js → typeof-c05a82ba.js} +35 -35
- package/dist/esm/urlFor.js +4 -4
- package/dist/esm/{ustream-api-41166338.js → ustream-api-4c4fe0ba.js} +4 -4
- package/dist/esm/{util-3ab476bf.js → util-7700fc59.js} +1 -1
- package/dist/esm/{visibility-sensor-f40c2564.js → visibility-sensor-72fd8f8b.js} +2 -2
- package/dist/esm/{web.dom.iterable-fdf034f5.js → web.dom.iterable-f8f967cd.js} +2 -2
- package/package.json +112 -111
- package/dist/cjs/ConferenceBanner-6c9e718a.js +0 -24
- package/dist/cjs/main-025fdc78.js +0 -973
- package/dist/esm/main-4136096f.js +0 -961
- package/dist/esm/stringify-c21932b3.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';
|
|
4
1
|
import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
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-
|
|
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';
|
|
14
|
-
import { useRouter } from 'next/router';
|
|
15
|
-
import { L as LazyLoad } from './index-35bdcc81.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-86d4db69.js';
|
|
16
3
|
import './_library-528f1934.js';
|
|
17
|
-
import './_iter-detect-
|
|
18
|
-
import './
|
|
19
|
-
import '
|
|
4
|
+
import './_iter-detect-130ee549.js';
|
|
5
|
+
import { _ as _toConsumableArray } from './toConsumableArray-32282905.js';
|
|
6
|
+
import './_object-pie-33c40e79.js';
|
|
7
|
+
import { _ as _extends } from './extends-5b1796d4.js';
|
|
8
|
+
import { _ as _iterStep } from './web.dom.iterable-f8f967cd.js';
|
|
9
|
+
import { _ as _meta, a as _isArray } from './_is-array-4df618a6.js';
|
|
10
|
+
import React__default, { useState, useEffect } from 'react';
|
|
20
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';
|
|
15
|
+
import { useRouter } from 'next/router';
|
|
16
|
+
import 'react-dom';
|
|
17
|
+
import { _ as _slicedToArray } from './slicedToArray-67a08c9c.js';
|
|
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';
|
|
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
|
|
27
|
+
var dP = _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
|
|
110
|
+
if (_descriptors) dP(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 = _objectDp.f;
|
|
238
|
+
var dP$1 = _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(C.prototype, 'size', {
|
|
270
|
+
IS_WEAK || dP$1(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
|
-
_collection(SET, function (get) {
|
|
290
|
+
var es6_set = _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
|
|
366
|
+
var set = _core.Set;
|
|
367
367
|
|
|
368
|
-
var set = createCommonjsModule(function (module) {
|
|
369
|
-
module.exports = { "default": set
|
|
368
|
+
var set$1 = createCommonjsModule(function (module) {
|
|
369
|
+
module.exports = { "default": set, __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$1);
|
|
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
|
-
props.pdf
|
|
424
|
-
|
|
422
|
+
href = props.href,
|
|
423
|
+
pdf = props.pdf,
|
|
424
|
+
_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__default.createElement(
|
|
633
633
|
'div',
|
|
634
634
|
{ id: 'publicationLanding' },
|
|
635
|
-
|
|
635
|
+
React__default.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__default.createElement(
|
|
641
|
+
Row$1,
|
|
642
642
|
null,
|
|
643
|
-
issueData && issueData.length > 0 && years.length > 0 &&
|
|
644
|
-
Col,
|
|
643
|
+
issueData && issueData.length > 0 && years.length > 0 && React__default.createElement(
|
|
644
|
+
Col$1,
|
|
645
645
|
{ className: 'flex-grow-0 mb-3' },
|
|
646
|
-
|
|
646
|
+
React__default.createElement(
|
|
647
647
|
Dropdown,
|
|
648
648
|
{ id: 'pubYearFilter' },
|
|
649
|
-
|
|
649
|
+
React__default.createElement(
|
|
650
650
|
Dropdown.Toggle,
|
|
651
651
|
null,
|
|
652
652
|
activeYear && !isNaN(activeYear) ? activeYear : 'Select Year'
|
|
653
653
|
),
|
|
654
|
-
|
|
654
|
+
React__default.createElement(
|
|
655
655
|
Dropdown.Menu,
|
|
656
656
|
null,
|
|
657
|
-
|
|
657
|
+
React__default.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__default.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__default.createElement(
|
|
673
|
+
Col$1,
|
|
674
674
|
{ className: 'flex-grow-0 mb-3' },
|
|
675
|
-
|
|
675
|
+
React__default.createElement(
|
|
676
676
|
Dropdown,
|
|
677
677
|
{ id: 'contentPlacementFilter' },
|
|
678
|
-
|
|
678
|
+
React__default.createElement(
|
|
679
679
|
Dropdown.Toggle,
|
|
680
680
|
null,
|
|
681
681
|
activeContentPlacement && activeContentPlacement.name ? activeContentPlacement.name : 'Select Topic'
|
|
682
682
|
),
|
|
683
|
-
|
|
683
|
+
React__default.createElement(
|
|
684
684
|
Dropdown.Menu,
|
|
685
685
|
null,
|
|
686
|
-
|
|
686
|
+
React__default.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__default.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__default.createElement(
|
|
707
|
+
Card$1,
|
|
708
708
|
{ key: key, className: 'issueCard' },
|
|
709
|
-
|
|
710
|
-
Row,
|
|
709
|
+
React__default.createElement(
|
|
710
|
+
Row$1,
|
|
711
711
|
null,
|
|
712
|
-
|
|
713
|
-
Col,
|
|
712
|
+
React__default.createElement(
|
|
713
|
+
Col$1,
|
|
714
714
|
{ md: 3, id: 'issueThumbnail' },
|
|
715
|
-
|
|
715
|
+
React__default.createElement(
|
|
716
716
|
LazyLoad,
|
|
717
717
|
{ once: true },
|
|
718
|
-
|
|
718
|
+
React__default.createElement(Card$1.Img, { src: issue.thumbnail })
|
|
719
719
|
)
|
|
720
720
|
),
|
|
721
|
-
|
|
722
|
-
Col,
|
|
721
|
+
React__default.createElement(
|
|
722
|
+
Col$1,
|
|
723
723
|
{ md: 9, id: 'issueDetail' },
|
|
724
|
-
|
|
725
|
-
Card.Body,
|
|
724
|
+
React__default.createElement(
|
|
725
|
+
Card$1.Body,
|
|
726
726
|
null,
|
|
727
|
-
|
|
728
|
-
Card.Title,
|
|
727
|
+
React__default.createElement(
|
|
728
|
+
Card$1.Title,
|
|
729
729
|
null,
|
|
730
730
|
issue.name
|
|
731
731
|
),
|
|
732
|
-
issue.source &&
|
|
732
|
+
issue.source && React__default.createElement(
|
|
733
733
|
'div',
|
|
734
734
|
{ className: 'content-category-label' },
|
|
735
|
-
|
|
735
|
+
React__default.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__default.createElement(
|
|
742
742
|
'p',
|
|
743
743
|
null,
|
|
744
744
|
'Volume: ',
|
|
745
745
|
issue.volume,
|
|
746
|
-
|
|
746
|
+
React__default.createElement('br', null),
|
|
747
747
|
'Issue: ',
|
|
748
748
|
issue.number
|
|
749
749
|
)
|
|
750
750
|
),
|
|
751
|
-
|
|
752
|
-
Card.Footer,
|
|
751
|
+
React__default.createElement(
|
|
752
|
+
Card$1.Footer,
|
|
753
753
|
null,
|
|
754
|
-
issue && issue.articles && issue.articles.length > 0 ?
|
|
754
|
+
issue && issue.articles && issue.articles.length > 0 ? React__default.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__default.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__default.createElement(
|
|
770
|
+
Card$1,
|
|
771
771
|
{ key: key, className: 'issueCard' },
|
|
772
|
-
|
|
773
|
-
Row,
|
|
772
|
+
React__default.createElement(
|
|
773
|
+
Row$1,
|
|
774
774
|
null,
|
|
775
|
-
|
|
776
|
-
Col,
|
|
775
|
+
React__default.createElement(
|
|
776
|
+
Col$1,
|
|
777
777
|
{ md: 3, id: 'issueThumbnail' },
|
|
778
|
-
|
|
778
|
+
React__default.createElement(
|
|
779
779
|
LazyLoad,
|
|
780
780
|
{ once: true },
|
|
781
|
-
|
|
781
|
+
React__default.createElement(Card$1.Img, { src: issue.thumbnail })
|
|
782
782
|
)
|
|
783
783
|
),
|
|
784
|
-
|
|
785
|
-
Col,
|
|
784
|
+
React__default.createElement(
|
|
785
|
+
Col$1,
|
|
786
786
|
{ md: 9, id: 'issueDetail' },
|
|
787
|
-
|
|
788
|
-
Card.Body,
|
|
787
|
+
React__default.createElement(
|
|
788
|
+
Card$1.Body,
|
|
789
789
|
null,
|
|
790
|
-
|
|
791
|
-
Card.Title,
|
|
790
|
+
React__default.createElement(
|
|
791
|
+
Card$1.Title,
|
|
792
792
|
null,
|
|
793
793
|
issue.name
|
|
794
794
|
),
|
|
795
|
-
issue.source &&
|
|
795
|
+
issue.source && React__default.createElement(
|
|
796
796
|
'div',
|
|
797
797
|
{ className: 'content-category-label' },
|
|
798
|
-
|
|
798
|
+
React__default.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__default.createElement(
|
|
805
805
|
'p',
|
|
806
806
|
null,
|
|
807
807
|
'Volume: ',
|
|
808
808
|
issue.volume,
|
|
809
|
-
|
|
809
|
+
React__default.createElement('br', null),
|
|
810
810
|
'Issue: ',
|
|
811
811
|
issue.number
|
|
812
812
|
)
|
|
813
813
|
),
|
|
814
|
-
|
|
815
|
-
Card.Footer,
|
|
814
|
+
React__default.createElement(
|
|
815
|
+
Card$1.Footer,
|
|
816
816
|
null,
|
|
817
|
-
issue && issue.articles && issue.articles.length > 0 ?
|
|
817
|
+
issue && issue.articles && issue.articles.length > 0 ? React__default.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__default.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__default.createElement(
|
|
832
832
|
'em',
|
|
833
833
|
null,
|
|
834
834
|
'New content coming soon, please check back later.'
|
|
835
835
|
),
|
|
836
|
-
|
|
836
|
+
React__default.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 '
|