@mjhls/mjh-framework 1.0.780 → 1.0.782-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 +1 -1
- package/dist/cjs/AD.js +9 -10
- package/dist/cjs/AD300x250.js +26 -28
- package/dist/cjs/AD300x250x600.js +26 -28
- package/dist/cjs/AD728x90.js +29 -31
- package/dist/cjs/ADFloatingFooter.js +28 -30
- package/dist/cjs/ADFooter.js +14 -15
- package/dist/cjs/ADGutter.js +28 -30
- package/dist/cjs/{ADInfeed-d1eceaf2.js → ADInfeed-5b042ade.js} +13 -15
- package/dist/cjs/ADSkyscraper.js +28 -30
- package/dist/cjs/ADSponsoredResources.js +28 -30
- package/dist/cjs/ADWebcast.js +28 -30
- package/dist/cjs/ADWelcome.js +29 -31
- package/dist/cjs/{ADlgInfeed-24c693d8.js → ADlgInfeed-e92b6f9f.js} +10 -11
- package/dist/cjs/AccordionPanel.js +29 -31
- package/dist/cjs/AdSlot.js +31 -33
- package/dist/cjs/AdSlotsProvider.js +15 -17
- package/dist/cjs/AlphabeticList.js +24 -25
- package/dist/cjs/ArticleCarousel.js +23 -24
- package/dist/cjs/ArticleProgramLandingPage.js +55 -57
- package/dist/cjs/ArticleSeriesLandingPage.js +37 -39
- package/dist/cjs/ArticleSeriesListing.js +60 -61
- package/dist/cjs/Auth.js +333 -820
- package/dist/cjs/{AuthorComponent-5fa89df5.js → AuthorComponent-bb831b74.js} +13 -14
- package/dist/cjs/Beam.js +8 -9
- package/dist/cjs/{BlockContent-eca358e4.js → BlockContent-091a991f.js} +24 -25
- package/dist/cjs/Breadcrumbs.js +27 -29
- package/dist/cjs/CMEDeck.js +82 -83
- package/dist/cjs/Column1.js +11 -14
- package/dist/cjs/Column2.js +32 -36
- package/dist/cjs/Column3.js +54 -58
- package/dist/cjs/ConferenceArticleCard.js +23 -24
- package/dist/cjs/ConferenceBanner-4a16fddc.js +23 -0
- package/dist/cjs/DeckContent.js +93 -98
- package/dist/cjs/DeckQueue.js +87 -91
- package/dist/cjs/{Dfp-a17e00fa.js → Dfp-b807d8fa.js} +31 -32
- package/dist/cjs/EventsDeck.js +131 -138
- package/dist/cjs/ExternalResources.js +84 -80
- package/dist/cjs/Feature.js +25 -27
- package/dist/cjs/ForbesHero.js +40 -41
- package/dist/cjs/GridContent.js +177 -182
- package/dist/cjs/GridHero.js +42 -43
- package/dist/cjs/GroupDeck.js +58 -59
- package/dist/cjs/HamMagazine.js +130 -136
- package/dist/cjs/Header.js +11 -13
- package/dist/cjs/Hero.js +12 -13
- package/dist/cjs/HighlightenVideo.js +17 -18
- package/dist/cjs/HorizontalArticleListing.js +69 -71
- package/dist/cjs/HorizontalHero.js +25 -26
- package/dist/cjs/IssueContentDeck.js +72 -77
- package/dist/cjs/IssueDeck.js +70 -75
- package/dist/cjs/IssueLanding.js +39 -41
- package/dist/cjs/LeftNav.js +35 -38
- package/dist/cjs/MasterDeck.js +69 -71
- package/dist/cjs/MediaSeriesLanding.js +48 -47
- package/dist/cjs/NavDvm.js +74 -80
- package/dist/cjs/{NavFooter-3dcd99a8.js → NavFooter-76c913e3.js} +14 -15
- package/dist/cjs/NavMagazine.js +137 -143
- package/dist/cjs/NavNative.js +126 -135
- package/dist/cjs/NavNormal.js +47 -53
- package/dist/cjs/OncliveHero.js +20 -20
- package/dist/cjs/OncliveLargeHero.js +66 -67
- package/dist/cjs/PageFilter.js +14 -15
- package/dist/cjs/PartnerDetailListing.js +105 -107
- package/dist/cjs/PdfDownload.js +8 -9
- package/dist/cjs/PopUpModal.js +19 -21
- package/dist/cjs/PubSection.js +38 -40
- package/dist/cjs/PubToc.js +15 -17
- package/dist/cjs/PublicationDeck.js +61 -66
- package/dist/cjs/PublicationLanding.js +193 -109
- package/dist/cjs/QueueDeckExpanded.js +291 -292
- package/dist/cjs/RecentNews.js +23 -24
- package/dist/cjs/RelatedContent.js +24 -25
- package/dist/cjs/RelatedTopicsDropdown.js +19 -22
- package/dist/cjs/RolesDeck.js +27 -32
- package/dist/cjs/Search.js +18 -22
- package/dist/cjs/Segment.js +6 -7
- package/dist/cjs/SeriesListingDeck.js +37 -37
- package/dist/cjs/{SeriesSlider-193a2958.js → SeriesSlider-f662f1f5.js} +37 -38
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +34 -36
- package/dist/cjs/SocialIcons.js +9 -10
- package/dist/cjs/{SocialSearchComponent-45c54bed.js → SocialSearchComponent-8dd468fd.js} +36 -40
- package/dist/cjs/SocialShare.js +29 -31
- package/dist/cjs/TaxonomyCard.js +57 -62
- package/dist/cjs/TaxonomyDescription.js +52 -54
- package/dist/cjs/TemplateNormal.js +72 -74
- package/dist/cjs/ThumbnailCard.js +20 -22
- package/dist/cjs/Ustream.js +26 -27
- package/dist/cjs/VerticalHero.js +17 -18
- package/dist/cjs/VideoProgramLandingPage.js +71 -76
- package/dist/cjs/VideoSeriesCard.js +31 -32
- package/dist/cjs/VideoSeriesFilter.js +18 -19
- package/dist/cjs/VideoSeriesLandingPage.js +45 -47
- package/dist/cjs/VideoSeriesListing.js +77 -78
- package/dist/cjs/View.js +256 -260
- package/dist/cjs/YahooHero.js +39 -40
- package/dist/cjs/YoutubeGroup.js +62 -63
- package/dist/cjs/{_is-array-63ae4740.js → _is-array-754e012d.js} +6 -6
- package/dist/cjs/{_iter-detect-2613ffa1.js → _iter-detect-60b2f026.js} +2 -2
- package/dist/cjs/{_object-sap-c5bd707d.js → _object-sap-5e74ba08.js} +1 -1
- package/dist/cjs/{_object-to-array-bec5fcf2.js → _object-to-array-5762f850.js} +1 -1
- package/dist/cjs/{_to-object-821a2927.js → _to-object-329a650b.js} +4 -4
- package/dist/cjs/{asyncToGenerator-2edcb6ad.js → asyncToGenerator-140e5f89.js} +61 -13
- 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-b4615fd3.js → core.get-iterator-method-f62321d4.js} +2 -2
- package/dist/cjs/{define-property-aff11f8a.js → define-property-f4d12f4e.js} +1 -1
- package/dist/cjs/{defineProperty-d6fbb280.js → defineProperty-55548b25.js} +1 -1
- package/dist/cjs/{entities-3f9d0f2f.js → entities-310b46ee.js} +1 -1
- package/dist/cjs/{es6.string.iterator-20d42c53.js → es6.string.iterator-cc0bbaa4.js} +2 -2
- package/dist/cjs/{extends-1e24fc8d.js → extends-60837c34.js} +1 -1
- package/dist/cjs/getQuery.js +1 -1
- package/dist/cjs/getRelatedArticle.js +75 -138
- package/dist/cjs/getRootDocGroup.js +6 -7
- package/dist/cjs/getSerializers.js +43 -44
- package/dist/cjs/{getTargeting-497b581d.js → getTargeting-9af0ef69.js} +3 -3
- package/dist/cjs/getTargeting.js +7 -7
- package/dist/cjs/iconBase-68959171.js +3 -0
- package/dist/cjs/{index-4d74ffd6.js → index-3294d3bc.js} +41 -40
- package/dist/cjs/{index-8ef858d4.js → index-76417d82.js} +911 -934
- package/dist/cjs/{index-0e4427c8.js → index-8bf6c863.js} +11 -12
- package/dist/cjs/{index-d48b231c.js → index-be0c82be.js} +25 -31
- package/dist/cjs/{index-80f57cff.js → index-da796b8c.js} +15 -17
- 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-3b9b8952.js → index.esm-66ffa47a.js} +9 -4
- package/dist/cjs/{index.esm-974f47d9.js → index.esm-90433435.js} +15 -6
- package/dist/cjs/{index.esm-05850a2f.js → index.esm-ff47db6f.js} +12 -5
- package/dist/cjs/index.js +160 -164
- package/dist/cjs/{inherits-2eb23889.js → inherits-c9f99d47.js} +5 -5
- package/dist/cjs/{keys-95c064c9.js → keys-a586b7a0.js} +2 -2
- package/dist/cjs/{lodash-4ef21f0f.js → lodash-fc2922d0.js} +23 -72
- package/dist/cjs/{main-dc082238.js → main-02daeefe.js} +80 -116
- 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-db24842a.js → slicedToArray-8f385299.js} +4 -4
- package/dist/cjs/{smoothscroll-99df7f93.js → smoothscroll-5054361f.js} +1 -1
- package/dist/cjs/{stringify-01cf47f7.js → stringify-7c5aff47.js} +1 -1
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-cf0865fc.js → toConsumableArray-9a3476fe.js} +4 -4
- package/dist/cjs/{typeof-97065d40.js → typeof-725500bc.js} +7 -7
- package/dist/cjs/urlFor.js +2 -2
- package/dist/cjs/{util-6f784d85.js → util-f2c1b65b.js} +1 -1
- package/dist/cjs/{visibility-sensor-8b54af99.js → visibility-sensor-0c45a583.js} +5 -7
- package/dist/cjs/{web.dom.iterable-4480325a.js → web.dom.iterable-a0e279c1.js} +3 -3
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +23 -24
- package/dist/esm/AD300x250x600.js +23 -24
- package/dist/esm/AD728x90.js +26 -27
- package/dist/esm/ADFloatingFooter.js +25 -26
- package/dist/esm/ADFooter.js +11 -11
- package/dist/esm/ADGutter.js +25 -26
- package/dist/esm/{ADInfeed-c12cd1ce.js → ADInfeed-eb7bdd41.js} +9 -9
- package/dist/esm/ADSkyscraper.js +25 -26
- package/dist/esm/ADSponsoredResources.js +25 -26
- package/dist/esm/ADWebcast.js +25 -26
- package/dist/esm/ADWelcome.js +26 -27
- package/dist/esm/{ADlgInfeed-246a8787.js → ADlgInfeed-f2ac31d1.js} +8 -8
- package/dist/esm/AccordionPanel.js +24 -24
- package/dist/esm/AdSlot.js +22 -23
- package/dist/esm/AdSlotsProvider.js +12 -13
- package/dist/esm/AlphabeticList.js +21 -21
- package/dist/esm/ArticleCarousel.js +20 -20
- package/dist/esm/ArticleProgramLandingPage.js +52 -53
- package/dist/esm/ArticleSeriesLandingPage.js +34 -35
- package/dist/esm/ArticleSeriesListing.js +55 -55
- package/dist/esm/Auth.js +316 -799
- package/dist/esm/{AuthorComponent-c7ff069f.js → AuthorComponent-34b16174.js} +11 -11
- package/dist/esm/Beam.js +8 -9
- package/dist/esm/{BlockContent-d8cd739c.js → BlockContent-e9b4ddcf.js} +4 -4
- package/dist/esm/Breadcrumbs.js +17 -17
- package/dist/esm/CMEDeck.js +78 -79
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +26 -27
- package/dist/esm/Column3.js +47 -48
- package/dist/esm/ConferenceArticleCard.js +19 -19
- package/dist/esm/{ConferenceBanner-9162d0ca.js → ConferenceBanner-8792ebd2.js} +4 -4
- package/dist/esm/DeckContent.js +75 -76
- package/dist/esm/DeckQueue.js +65 -65
- package/dist/esm/{Dfp-988dbcaa.js → Dfp-ebc4b22f.js} +21 -21
- package/dist/esm/EventsDeck.js +84 -84
- package/dist/esm/ExternalResources.js +79 -74
- package/dist/esm/Feature.js +18 -18
- package/dist/esm/ForbesHero.js +34 -34
- package/dist/esm/GridContent.js +139 -140
- package/dist/esm/GridHero.js +36 -36
- package/dist/esm/GroupDeck.js +46 -46
- package/dist/esm/HamMagazine.js +104 -105
- package/dist/esm/Header.js +7 -7
- package/dist/esm/Hero.js +9 -9
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalArticleListing.js +66 -67
- package/dist/esm/HorizontalHero.js +21 -21
- package/dist/esm/IssueContentDeck.js +49 -49
- package/dist/esm/IssueDeck.js +46 -46
- package/dist/esm/IssueLanding.js +36 -37
- package/dist/esm/LeftNav.js +31 -32
- package/dist/esm/MasterDeck.js +63 -64
- package/dist/esm/MediaSeriesLanding.js +41 -38
- package/dist/esm/NavDvm.js +56 -57
- package/dist/esm/{NavFooter-c29526b7.js → NavFooter-e27bd93b.js} +12 -12
- package/dist/esm/NavMagazine.js +113 -114
- package/dist/esm/NavNative.js +99 -100
- package/dist/esm/NavNormal.js +35 -36
- package/dist/esm/OncliveHero.js +17 -16
- package/dist/esm/OncliveLargeHero.js +59 -59
- package/dist/esm/PageFilter.js +12 -12
- package/dist/esm/PartnerDetailListing.js +101 -102
- package/dist/esm/PdfDownload.js +6 -6
- package/dist/esm/PopUpModal.js +14 -14
- package/dist/esm/PubSection.js +35 -36
- package/dist/esm/PubToc.js +12 -13
- package/dist/esm/PublicationDeck.js +38 -38
- package/dist/esm/PublicationLanding.js +157 -69
- package/dist/esm/QueueDeckExpanded.js +271 -272
- package/dist/esm/RecentNews.js +20 -20
- package/dist/esm/RelatedContent.js +19 -19
- package/dist/esm/RelatedTopicsDropdown.js +11 -11
- package/dist/esm/RolesDeck.js +13 -13
- package/dist/esm/Search.js +12 -12
- package/dist/esm/Segment.js +6 -7
- package/dist/esm/SeriesListingDeck.js +31 -31
- package/dist/esm/{SeriesSlider-6a1081ff.js → SeriesSlider-9245785f.js} +27 -27
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +30 -31
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-c3216d1a.js → SocialSearchComponent-a2ae84d1.js} +28 -28
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +41 -41
- package/dist/esm/TaxonomyDescription.js +47 -48
- package/dist/esm/TemplateNormal.js +66 -67
- package/dist/esm/ThumbnailCard.js +13 -13
- package/dist/esm/Ustream.js +23 -23
- package/dist/esm/VerticalHero.js +13 -13
- package/dist/esm/VideoProgramLandingPage.js +61 -62
- package/dist/esm/VideoSeriesCard.js +24 -24
- package/dist/esm/VideoSeriesFilter.js +15 -16
- package/dist/esm/VideoSeriesLandingPage.js +38 -39
- package/dist/esm/VideoSeriesListing.js +71 -71
- package/dist/esm/View.js +240 -240
- package/dist/esm/YahooHero.js +34 -34
- package/dist/esm/YoutubeGroup.js +46 -46
- package/dist/esm/{_is-array-674f71ec.js → _is-array-58e95429.js} +6 -6
- package/dist/esm/{_iter-detect-48516cd3.js → _iter-detect-5d49a330.js} +2 -2
- package/dist/esm/{_object-sap-fd3054d0.js → _object-sap-964b6feb.js} +1 -1
- package/dist/esm/{_object-to-array-8f409e54.js → _object-to-array-7e804fce.js} +1 -1
- package/dist/esm/{_to-object-97770c52.js → _to-object-a4107da3.js} +5 -5
- package/dist/esm/{asyncToGenerator-2bd4099a.js → asyncToGenerator-fc1c2e29.js} +53 -9
- 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-d1d5ed02.js → core.get-iterator-method-e1de7503.js} +2 -2
- package/dist/esm/{define-property-ec6d528d.js → define-property-8af5f002.js} +1 -1
- package/dist/esm/{defineProperty-ea516b15.js → defineProperty-94fd8bfc.js} +1 -1
- package/dist/esm/{entities-932b50cf.js → entities-7cc3bf45.js} +1 -1
- package/dist/esm/{es6.string.iterator-aa6068a3.js → es6.string.iterator-c990c18c.js} +3 -3
- package/dist/esm/{extends-31d65aba.js → extends-eb69e8ac.js} +1 -1
- package/dist/esm/getQuery.js +1 -1
- package/dist/esm/getRelatedArticle.js +70 -133
- package/dist/esm/getRootDocGroup.js +6 -7
- package/dist/esm/getSerializers.js +43 -44
- package/dist/esm/{getTargeting-2d402d66.js → getTargeting-7211f12c.js} +2 -2
- package/dist/esm/getTargeting.js +7 -7
- package/dist/esm/{index-752d1dae.js → index-5f9f807a.js} +10 -10
- package/dist/esm/{index-3f5c03b2.js → index-73819142.js} +25 -31
- package/dist/esm/{index-888f9253.js → index-a9e53f80.js} +6 -6
- package/dist/esm/{index-9b2f6ac4.js → index-c1374f98.js} +853 -869
- package/dist/esm/{index-ccb770c7.js → index-ef6d5dcf.js} +41 -40
- 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-d6f88d94.js → index.esm-b08f4b04.js} +9 -4
- package/dist/esm/{index.esm-a8ff922c.js → index.esm-cf08bf18.js} +12 -5
- package/dist/esm/{index.esm-8016b507.js → index.esm-fd746768.js} +18 -17
- package/dist/esm/index.js +129 -130
- package/dist/esm/{inherits-5906fbea.js → inherits-fb9b6e8f.js} +5 -5
- package/dist/esm/{keys-a0b0c7a4.js → keys-8eda7a5c.js} +2 -2
- package/dist/esm/{lodash-ad27652f.js → lodash-17fdfebb.js} +23 -72
- package/dist/esm/{main-1450d277.js → main-e4a934b2.js} +78 -113
- 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-cdeaee08.js → slicedToArray-641f241f.js} +4 -4
- package/dist/esm/{smoothscroll-fa4e3f8c.js → smoothscroll-0cd4c7a6.js} +1 -1
- package/dist/esm/{stringify-d4839bab.js → stringify-4330ccdc.js} +1 -1
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-fa2dcda7.js → toConsumableArray-43aa614d.js} +4 -4
- package/dist/esm/{typeof-e9cea9e8.js → typeof-6435ba1c.js} +7 -7
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/{util-3ab476bf.js → util-7700fc59.js} +1 -1
- package/dist/esm/{visibility-sensor-082c757b.js → visibility-sensor-0baa4eea.js} +2 -2
- package/dist/esm/{web.dom.iterable-035980f3.js → web.dom.iterable-4439f05a.js} +3 -3
- package/package.json +1 -1
- package/dist/cjs/ConferenceBanner-6c9e718a.js +0 -24
- package/dist/cjs/_set-species-a8cfdb84.js +0 -57
- package/dist/esm/_set-species-494ed292.js +0 -52
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import
|
|
1
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
+
import React__default from 'react';
|
|
3
|
+
import 'prop-types';
|
|
2
4
|
import Row from 'react-bootstrap/Row';
|
|
3
5
|
import Col from 'react-bootstrap/Col';
|
|
4
|
-
import Button from 'react-bootstrap/Button';
|
|
5
6
|
import Card from 'react-bootstrap/Card';
|
|
6
|
-
import { L as LazyLoad } from './index-752d1dae.js';
|
|
7
|
-
import { i as imageUrlBuilder } from './index-3f5c03b2.js';
|
|
8
|
-
import { l as lodash } from './lodash-ad27652f.js';
|
|
9
|
-
import './_commonjsHelpers-0c4b6f40.js';
|
|
10
7
|
import 'react-dom';
|
|
11
|
-
import '
|
|
8
|
+
import { i as imageUrlBuilder } from './index-73819142.js';
|
|
9
|
+
import { L as LazyLoad } from './index-5f9f807a.js';
|
|
10
|
+
import { l as lodash } from './lodash-17fdfebb.js';
|
|
11
|
+
import Button from 'react-bootstrap/Button';
|
|
12
12
|
|
|
13
13
|
var PublicationDeck = function PublicationDeck(props) {
|
|
14
14
|
var data = props.data,
|
|
@@ -50,43 +50,43 @@ var PublicationDeck = function PublicationDeck(props) {
|
|
|
50
50
|
};
|
|
51
51
|
|
|
52
52
|
if (sortedRegPubs && sortedRegPubs.length || sortedLegacyPubs && sortedLegacyPubs.length) {
|
|
53
|
-
return
|
|
53
|
+
return React__default.createElement(
|
|
54
54
|
'div',
|
|
55
55
|
{ className: 'publication-wrapper', style: { paddingBottom: '150px' } },
|
|
56
|
-
sortedRegPubs && sortedRegPubs.length > 0 &&
|
|
56
|
+
sortedRegPubs && sortedRegPubs.length > 0 && React__default.createElement(
|
|
57
57
|
Row,
|
|
58
58
|
{ className: 'regular-publication-wrapper' },
|
|
59
59
|
sortedRegPubs.map(function (row, index) {
|
|
60
|
-
return row.identifier && row.identifier.current &&
|
|
60
|
+
return row.identifier && row.identifier.current && React__default.createElement(
|
|
61
61
|
Col,
|
|
62
62
|
{ xs: 6, sm: 6, md: 6, lg: 4, style: { display: 'flex', flex: '1 0 auto' }, key: index },
|
|
63
|
-
|
|
63
|
+
React__default.createElement(
|
|
64
64
|
Card,
|
|
65
65
|
{ className: 'block-card', style: { width: '200px' } },
|
|
66
|
-
|
|
66
|
+
React__default.createElement(
|
|
67
67
|
'a',
|
|
68
68
|
{ href: href + '/' + row.identifier.current },
|
|
69
|
-
row.childIssue && row.childIssue.thumbnail ?
|
|
69
|
+
row.childIssue && row.childIssue.thumbnail ? React__default.createElement(
|
|
70
70
|
LazyLoad,
|
|
71
71
|
{ height: imageHeight },
|
|
72
|
-
|
|
73
|
-
) :
|
|
74
|
-
|
|
72
|
+
React__default.createElement(Card.Img, { variant: 'top', src: renderCardImage(row.childIssue.thumbnail), style: { objectFit: 'contain', maxHeight: '200px', maxWidth: '200px' } })
|
|
73
|
+
) : React__default.createElement('p', { className: 'placeholder-tag' }),
|
|
74
|
+
React__default.createElement(
|
|
75
75
|
Card.Body,
|
|
76
76
|
{ style: { paddingTop: '0', paddingBottom: '2.75rem' } },
|
|
77
|
-
|
|
77
|
+
React__default.createElement(
|
|
78
78
|
Card.Title,
|
|
79
79
|
null,
|
|
80
80
|
row.name
|
|
81
81
|
),
|
|
82
|
-
|
|
82
|
+
React__default.createElement(
|
|
83
83
|
Button,
|
|
84
84
|
{ style: { position: 'absolute', bottom: '1rem', margin: '0px', width: '78%' }, variant: 'secondary' },
|
|
85
85
|
'Browse Issues'
|
|
86
86
|
)
|
|
87
87
|
)
|
|
88
88
|
),
|
|
89
|
-
|
|
89
|
+
React__default.createElement(
|
|
90
90
|
'style',
|
|
91
91
|
{ jsx: 'true' },
|
|
92
92
|
'\n .lazyload-placeholder {\n padding: 0 1.25rem 2.75rem;\n }\n .placeholder-tag {\n min-height: 200px;\n }\n '
|
|
@@ -95,53 +95,53 @@ var PublicationDeck = function PublicationDeck(props) {
|
|
|
95
95
|
);
|
|
96
96
|
})
|
|
97
97
|
),
|
|
98
|
-
sortedLegacyPubs && sortedLegacyPubs.length > 0 &&
|
|
99
|
-
|
|
98
|
+
sortedLegacyPubs && sortedLegacyPubs.length > 0 && React__default.createElement(
|
|
99
|
+
React__default.Fragment,
|
|
100
100
|
null,
|
|
101
|
-
|
|
101
|
+
React__default.createElement(
|
|
102
102
|
'div',
|
|
103
103
|
{ className: 'legacy-publication-title' },
|
|
104
|
-
|
|
104
|
+
React__default.createElement(
|
|
105
105
|
'h2',
|
|
106
106
|
null,
|
|
107
107
|
'Legacy'
|
|
108
108
|
),
|
|
109
|
-
|
|
109
|
+
React__default.createElement('hr', null)
|
|
110
110
|
),
|
|
111
|
-
|
|
111
|
+
React__default.createElement(
|
|
112
112
|
Row,
|
|
113
113
|
{ className: 'legacy-publication-wrapper' },
|
|
114
114
|
sortedLegacyPubs.map(function (row, index) {
|
|
115
|
-
return row.identifier && row.identifier.current &&
|
|
115
|
+
return row.identifier && row.identifier.current && React__default.createElement(
|
|
116
116
|
Col,
|
|
117
117
|
{ xs: 6, sm: 6, md: 6, lg: 4, style: { display: 'flex', flex: '1 0 auto' }, key: index },
|
|
118
|
-
|
|
118
|
+
React__default.createElement(
|
|
119
119
|
Card,
|
|
120
120
|
{ className: 'block-card', style: { width: '200px' } },
|
|
121
|
-
|
|
121
|
+
React__default.createElement(
|
|
122
122
|
'a',
|
|
123
123
|
{ href: href + '/' + row.identifier.current },
|
|
124
|
-
row.childIssue && row.childIssue.thumbnail ?
|
|
124
|
+
row.childIssue && row.childIssue.thumbnail ? React__default.createElement(
|
|
125
125
|
LazyLoad,
|
|
126
126
|
{ height: imageHeight },
|
|
127
|
-
|
|
128
|
-
) :
|
|
129
|
-
|
|
127
|
+
React__default.createElement(Card.Img, { variant: 'top', src: renderCardImage(row.childIssue.thumbnail), style: { objectFit: 'contain', maxHeight: '200px', maxWidth: '200px' } })
|
|
128
|
+
) : React__default.createElement('p', { className: 'placeholder-tag' }),
|
|
129
|
+
React__default.createElement(
|
|
130
130
|
Card.Body,
|
|
131
131
|
{ style: { paddingTop: '0', paddingBottom: '2.75rem' } },
|
|
132
|
-
|
|
132
|
+
React__default.createElement(
|
|
133
133
|
Card.Title,
|
|
134
134
|
null,
|
|
135
135
|
row.name
|
|
136
136
|
),
|
|
137
|
-
|
|
137
|
+
React__default.createElement(
|
|
138
138
|
Button,
|
|
139
139
|
{ style: { position: 'absolute', bottom: '1rem', margin: '0px', width: '78%' }, variant: 'secondary' },
|
|
140
140
|
'Browse Issues'
|
|
141
141
|
)
|
|
142
142
|
)
|
|
143
143
|
),
|
|
144
|
-
|
|
144
|
+
React__default.createElement(
|
|
145
145
|
'style',
|
|
146
146
|
{ jsx: 'true' },
|
|
147
147
|
'\n .lazyload-placeholder {\n padding: 0 1.25rem 2.75rem;\n }\n .placeholder-tag {\n min-height: 200px;\n }\n '
|
|
@@ -153,13 +153,13 @@ var PublicationDeck = function PublicationDeck(props) {
|
|
|
153
153
|
)
|
|
154
154
|
);
|
|
155
155
|
} else {
|
|
156
|
-
return
|
|
156
|
+
return React__default.createElement(
|
|
157
157
|
'div',
|
|
158
158
|
null,
|
|
159
|
-
|
|
159
|
+
React__default.createElement(
|
|
160
160
|
'h5',
|
|
161
161
|
null,
|
|
162
|
-
|
|
162
|
+
React__default.createElement(
|
|
163
163
|
'em',
|
|
164
164
|
{ className: 'pl-3' },
|
|
165
165
|
'New content coming soon, please check back later.'
|
|
@@ -1,22 +1,25 @@
|
|
|
1
|
-
import { _ as _slicedToArray } from './slicedToArray-cdeaee08.js';
|
|
2
1
|
import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
3
|
-
import {
|
|
4
|
-
import { _ as
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import { _ as
|
|
8
|
-
import { _ as _classof } from './core.get-iterator-method-
|
|
9
|
-
import
|
|
10
|
-
import
|
|
2
|
+
import { b as _isObject, c as _ctx, d as _descriptors, e as _objectDp, f as _toObject, g as _iobject, h as _toLength, i as _global, j as _fails, k as _hide, _ as _export, l as _aFunction, a as _core } from './_to-object-a4107da3.js';
|
|
3
|
+
import { _ as _objectCreate, a as _iterDefine, b as _wks, c as _setToStringTag } from './es6.string.iterator-c990c18c.js';
|
|
4
|
+
import './_library-528f1934.js';
|
|
5
|
+
import './_iter-detect-5d49a330.js';
|
|
6
|
+
import { _ as _toConsumableArray } from './toConsumableArray-43aa614d.js';
|
|
7
|
+
import { _ as _classof } from './core.get-iterator-method-e1de7503.js';
|
|
8
|
+
import './_object-pie-33c40e79.js';
|
|
9
|
+
import { _ as _extends } from './extends-eb69e8ac.js';
|
|
10
|
+
import { _ as _iterStep } from './web.dom.iterable-4439f05a.js';
|
|
11
|
+
import { _ as _meta, a as _isArray } from './_is-array-58e95429.js';
|
|
12
|
+
import React__default, { useState, useEffect } from 'react';
|
|
13
|
+
import 'prop-types';
|
|
11
14
|
import Row from 'react-bootstrap/Row';
|
|
12
15
|
import Col from 'react-bootstrap/Col';
|
|
13
|
-
import Dropdown from 'react-bootstrap/Dropdown';
|
|
14
16
|
import Card from 'react-bootstrap/Card';
|
|
15
17
|
import { useRouter } from 'next/router';
|
|
16
|
-
import { L as LazyLoad } from './index-752d1dae.js';
|
|
17
|
-
import './_iter-detect-48516cd3.js';
|
|
18
18
|
import 'react-dom';
|
|
19
|
-
import '
|
|
19
|
+
import { L as LazyLoad } from './index-5f9f807a.js';
|
|
20
|
+
import { _ as _slicedToArray } from './slicedToArray-641f241f.js';
|
|
21
|
+
import { b as _anInstance, c as _forOf, d as _redefineAll, e as _setSpecies, a as _asyncToGenerator, r as regenerator, _ as _Promise } from './asyncToGenerator-fc1c2e29.js';
|
|
22
|
+
import Dropdown from 'react-bootstrap/Dropdown';
|
|
20
23
|
|
|
21
24
|
var _validateCollection = function (it, TYPE) {
|
|
22
25
|
if (!_isObject(it) || it._t !== TYPE) throw TypeError('Incompatible receiver, ' + TYPE + ' required!');
|
|
@@ -286,7 +289,7 @@ var _collection = function (NAME, wrapper, methods, common, IS_MAP, IS_WEAK) {
|
|
|
286
289
|
var SET = 'Set';
|
|
287
290
|
|
|
288
291
|
// 23.2 Set Objects
|
|
289
|
-
_collection(SET, function (get) {
|
|
292
|
+
var es6_set = _collection(SET, function (get) {
|
|
290
293
|
return function Set() { return get(this, arguments.length > 0 ? arguments[0] : undefined); };
|
|
291
294
|
}, {
|
|
292
295
|
// 23.2.3.1 Set.prototype.add(value)
|
|
@@ -370,6 +373,8 @@ module.exports = { "default": set, __esModule: true };
|
|
|
370
373
|
|
|
371
374
|
var _Set = unwrapExports(set$1);
|
|
372
375
|
|
|
376
|
+
var _this = undefined;
|
|
377
|
+
|
|
373
378
|
/* usage & query
|
|
374
379
|
const Publication = (props) => {
|
|
375
380
|
const { cache, pub, year } = props
|
|
@@ -405,6 +410,15 @@ Publication.getInitialProps = async (ctx) => {
|
|
|
405
410
|
export default Publication
|
|
406
411
|
*/
|
|
407
412
|
|
|
413
|
+
var ViewIssueButton = function ViewIssueButton(_ref) {
|
|
414
|
+
var href = _ref.href;
|
|
415
|
+
return React__default.createElement(
|
|
416
|
+
'a',
|
|
417
|
+
{ href: href, className: 'btn btn-primary' },
|
|
418
|
+
'View Issue'
|
|
419
|
+
);
|
|
420
|
+
};
|
|
421
|
+
|
|
408
422
|
var generateContentPlacements = function generateContentPlacements(issues) {
|
|
409
423
|
var contentPlacements = [];
|
|
410
424
|
issues && issues.length > 0 && issues.forEach(function (issue) {
|
|
@@ -422,14 +436,92 @@ var generateContentPlacements = function generateContentPlacements(issues) {
|
|
|
422
436
|
};
|
|
423
437
|
|
|
424
438
|
var PublicationLanding = function PublicationLanding(props) {
|
|
425
|
-
var
|
|
439
|
+
var initialPubData = props.publication,
|
|
426
440
|
_props$year = props.year,
|
|
427
441
|
year = _props$year === undefined ? '' : _props$year,
|
|
428
|
-
href = props.href
|
|
429
|
-
props.pdf
|
|
430
|
-
|
|
431
|
-
contentPlacement = _props$contentPlaceme === undefined ? '' : _props$contentPlaceme
|
|
442
|
+
href = props.href,
|
|
443
|
+
pdf = props.pdf,
|
|
444
|
+
_props$contentPlaceme = props.contentPlacement,
|
|
445
|
+
contentPlacement = _props$contentPlaceme === undefined ? '' : _props$contentPlaceme,
|
|
446
|
+
client = props.client;
|
|
432
447
|
|
|
448
|
+
var _useState = useState(initialPubData),
|
|
449
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
450
|
+
publication = _useState2[0],
|
|
451
|
+
setPublication = _useState2[1];
|
|
452
|
+
|
|
453
|
+
useEffect(function () {
|
|
454
|
+
_asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee2() {
|
|
455
|
+
var promises, issues;
|
|
456
|
+
return regenerator.wrap(function _callee2$(_context2) {
|
|
457
|
+
while (1) {
|
|
458
|
+
switch (_context2.prev = _context2.next) {
|
|
459
|
+
case 0:
|
|
460
|
+
if (!(publication.issues && publication.issues.length > 0 && client)) {
|
|
461
|
+
_context2.next = 12;
|
|
462
|
+
break;
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
_context2.prev = 1;
|
|
466
|
+
promises = publication.issues.map(function () {
|
|
467
|
+
var _ref3 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(issue) {
|
|
468
|
+
var articlesQuery;
|
|
469
|
+
return regenerator.wrap(function _callee$(_context) {
|
|
470
|
+
while (1) {
|
|
471
|
+
switch (_context.prev = _context.next) {
|
|
472
|
+
case 0:
|
|
473
|
+
articlesQuery = '*[\n _type == \'article\' \n && !(_id in path("drafts.**"))\n && defined(title)\n && is_visible\n && defined(url)\n && defined(published) \n && dateTime(published) <= dateTime(now())\n && passwordLock != true\n && references(\'' + issue._id + '\')\n ][0...1]{_id}';
|
|
474
|
+
_context.t0 = _extends;
|
|
475
|
+
_context.t1 = {};
|
|
476
|
+
_context.t2 = issue;
|
|
477
|
+
_context.next = 6;
|
|
478
|
+
return client.fetch(articlesQuery);
|
|
479
|
+
|
|
480
|
+
case 6:
|
|
481
|
+
_context.t3 = _context.sent;
|
|
482
|
+
_context.t4 = {
|
|
483
|
+
articles: _context.t3
|
|
484
|
+
};
|
|
485
|
+
return _context.abrupt('return', (0, _context.t0)(_context.t1, _context.t2, _context.t4));
|
|
486
|
+
|
|
487
|
+
case 9:
|
|
488
|
+
case 'end':
|
|
489
|
+
return _context.stop();
|
|
490
|
+
}
|
|
491
|
+
}
|
|
492
|
+
}, _callee, _this);
|
|
493
|
+
}));
|
|
494
|
+
|
|
495
|
+
return function (_x) {
|
|
496
|
+
return _ref3.apply(this, arguments);
|
|
497
|
+
};
|
|
498
|
+
}());
|
|
499
|
+
_context2.next = 5;
|
|
500
|
+
return _Promise.all(promises);
|
|
501
|
+
|
|
502
|
+
case 5:
|
|
503
|
+
issues = _context2.sent;
|
|
504
|
+
|
|
505
|
+
setPublication(function (prevPublication) {
|
|
506
|
+
return _extends({}, prevPublication, { issues: issues });
|
|
507
|
+
});
|
|
508
|
+
_context2.next = 12;
|
|
509
|
+
break;
|
|
510
|
+
|
|
511
|
+
case 9:
|
|
512
|
+
_context2.prev = 9;
|
|
513
|
+
_context2.t0 = _context2['catch'](1);
|
|
514
|
+
|
|
515
|
+
console.error(_context2.t0);
|
|
516
|
+
|
|
517
|
+
case 12:
|
|
518
|
+
case 'end':
|
|
519
|
+
return _context2.stop();
|
|
520
|
+
}
|
|
521
|
+
}
|
|
522
|
+
}, _callee2, _this, [[1, 9]]);
|
|
523
|
+
}))();
|
|
524
|
+
}, []);
|
|
433
525
|
|
|
434
526
|
var router = useRouter();
|
|
435
527
|
var years = [].concat(_toConsumableArray(new _Set(publication.issues.map(function (issue) {
|
|
@@ -437,20 +529,20 @@ var PublicationLanding = function PublicationLanding(props) {
|
|
|
437
529
|
})))).sort().reverse();
|
|
438
530
|
var contentPlacements = generateContentPlacements(publication.issues);
|
|
439
531
|
|
|
440
|
-
var
|
|
441
|
-
_useState2 = _slicedToArray(_useState, 2),
|
|
442
|
-
issueData = _useState2[0],
|
|
443
|
-
setIssueData = _useState2[1];
|
|
444
|
-
|
|
445
|
-
var _useState3 = useState(year),
|
|
532
|
+
var _useState3 = useState(publication.issues),
|
|
446
533
|
_useState4 = _slicedToArray(_useState3, 2),
|
|
447
|
-
|
|
448
|
-
|
|
534
|
+
issueData = _useState4[0],
|
|
535
|
+
setIssueData = _useState4[1];
|
|
449
536
|
|
|
450
|
-
var _useState5 = useState(
|
|
537
|
+
var _useState5 = useState(year),
|
|
451
538
|
_useState6 = _slicedToArray(_useState5, 2),
|
|
452
|
-
|
|
453
|
-
|
|
539
|
+
activeYear = _useState6[0],
|
|
540
|
+
setActiveYear = _useState6[1];
|
|
541
|
+
|
|
542
|
+
var _useState7 = useState(contentPlacement),
|
|
543
|
+
_useState8 = _slicedToArray(_useState7, 2),
|
|
544
|
+
activeContentPlacement = _useState8[0],
|
|
545
|
+
setActiveContentPlacement = _useState8[1];
|
|
454
546
|
|
|
455
547
|
useEffect(function () {
|
|
456
548
|
if (activeYear && activeContentPlacement && activeContentPlacement.id) {
|
|
@@ -484,38 +576,38 @@ var PublicationLanding = function PublicationLanding(props) {
|
|
|
484
576
|
router.push(router.pathname, '/' + (href ? href : 'publications') + '/' + publication.identifier.current, { shallow: true });
|
|
485
577
|
setIssueData(publication.issues);
|
|
486
578
|
}
|
|
487
|
-
}, [activeYear, activeContentPlacement]);
|
|
579
|
+
}, [activeYear, activeContentPlacement, publication]);
|
|
488
580
|
|
|
489
|
-
return
|
|
581
|
+
return React__default.createElement(
|
|
490
582
|
'div',
|
|
491
583
|
{ id: 'publicationLanding' },
|
|
492
|
-
|
|
584
|
+
React__default.createElement(
|
|
493
585
|
'style',
|
|
494
586
|
{ jsx: true },
|
|
495
587
|
'\n #pubYearFilter .dropdown-menu.show,\n #contentPlacementFilter .dropdown-menu.show {\n max-height: 25vh;\n overflow: auto;\n }\n '
|
|
496
588
|
),
|
|
497
|
-
|
|
589
|
+
React__default.createElement(
|
|
498
590
|
Row,
|
|
499
591
|
null,
|
|
500
|
-
publication && publication.issues && publication.issues.length > 0 && years.length > 0 &&
|
|
592
|
+
publication && publication.issues && publication.issues.length > 0 && years.length > 0 && React__default.createElement(
|
|
501
593
|
Col,
|
|
502
594
|
{ className: 'flex-grow-0 mb-3' },
|
|
503
|
-
|
|
595
|
+
React__default.createElement(
|
|
504
596
|
Dropdown,
|
|
505
597
|
{ id: 'pubYearFilter' },
|
|
506
|
-
|
|
598
|
+
React__default.createElement(
|
|
507
599
|
Dropdown.Toggle,
|
|
508
600
|
null,
|
|
509
601
|
activeYear && !isNaN(activeYear) ? activeYear : 'Select Year'
|
|
510
602
|
),
|
|
511
|
-
|
|
603
|
+
React__default.createElement(
|
|
512
604
|
Dropdown.Menu,
|
|
513
605
|
null,
|
|
514
|
-
|
|
606
|
+
React__default.createElement(Dropdown.Item, { style: { height: '2rem' }, onClick: function onClick() {
|
|
515
607
|
return setActiveYear('');
|
|
516
608
|
} }),
|
|
517
609
|
years.map(function (yr, key) {
|
|
518
|
-
return
|
|
610
|
+
return React__default.createElement(
|
|
519
611
|
Dropdown.Item,
|
|
520
612
|
{ key: key, onClick: function onClick() {
|
|
521
613
|
return setActiveYear(yr);
|
|
@@ -526,25 +618,25 @@ var PublicationLanding = function PublicationLanding(props) {
|
|
|
526
618
|
)
|
|
527
619
|
)
|
|
528
620
|
),
|
|
529
|
-
contentPlacements && contentPlacements.length > 0 &&
|
|
621
|
+
contentPlacements && contentPlacements.length > 0 && React__default.createElement(
|
|
530
622
|
Col,
|
|
531
623
|
{ className: 'flex-grow-0 mb-3' },
|
|
532
|
-
|
|
624
|
+
React__default.createElement(
|
|
533
625
|
Dropdown,
|
|
534
626
|
{ id: 'contentPlacementFilter' },
|
|
535
|
-
|
|
627
|
+
React__default.createElement(
|
|
536
628
|
Dropdown.Toggle,
|
|
537
629
|
null,
|
|
538
630
|
activeContentPlacement && activeContentPlacement.name ? activeContentPlacement.name : 'Select Topic'
|
|
539
631
|
),
|
|
540
|
-
|
|
632
|
+
React__default.createElement(
|
|
541
633
|
Dropdown.Menu,
|
|
542
634
|
null,
|
|
543
|
-
|
|
635
|
+
React__default.createElement(Dropdown.Item, { style: { height: '2rem' }, onClick: function onClick() {
|
|
544
636
|
return setActiveContentPlacement('');
|
|
545
637
|
} }),
|
|
546
638
|
contentPlacements.map(function (cp) {
|
|
547
|
-
return
|
|
639
|
+
return React__default.createElement(
|
|
548
640
|
Dropdown.Item,
|
|
549
641
|
{
|
|
550
642
|
key: cp._id,
|
|
@@ -560,60 +652,56 @@ var PublicationLanding = function PublicationLanding(props) {
|
|
|
560
652
|
)
|
|
561
653
|
),
|
|
562
654
|
issueData && issueData.length > 0 ? issueData.map(function (issue, key) {
|
|
563
|
-
return
|
|
655
|
+
return React__default.createElement(
|
|
564
656
|
Card,
|
|
565
657
|
{ key: key, className: 'issueCard' },
|
|
566
|
-
|
|
658
|
+
React__default.createElement(
|
|
567
659
|
Row,
|
|
568
660
|
null,
|
|
569
|
-
|
|
661
|
+
React__default.createElement(
|
|
570
662
|
Col,
|
|
571
663
|
{ md: 3, id: 'issueThumbnail' },
|
|
572
|
-
|
|
664
|
+
React__default.createElement(
|
|
573
665
|
LazyLoad,
|
|
574
666
|
{ once: true },
|
|
575
|
-
|
|
667
|
+
React__default.createElement(Card.Img, { src: issue.thumbnail })
|
|
576
668
|
)
|
|
577
669
|
),
|
|
578
|
-
|
|
670
|
+
React__default.createElement(
|
|
579
671
|
Col,
|
|
580
672
|
{ md: 9, id: 'issueDetail' },
|
|
581
|
-
|
|
673
|
+
React__default.createElement(
|
|
582
674
|
Card.Body,
|
|
583
675
|
null,
|
|
584
|
-
|
|
676
|
+
React__default.createElement(
|
|
585
677
|
Card.Title,
|
|
586
678
|
null,
|
|
587
679
|
issue.name
|
|
588
680
|
),
|
|
589
|
-
issue.source &&
|
|
681
|
+
issue.source && React__default.createElement(
|
|
590
682
|
'div',
|
|
591
683
|
{ className: 'content-category-label' },
|
|
592
|
-
|
|
684
|
+
React__default.createElement(
|
|
593
685
|
'div',
|
|
594
686
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
595
687
|
issue.source
|
|
596
688
|
)
|
|
597
689
|
),
|
|
598
|
-
issue.volume && issue.number &&
|
|
690
|
+
issue.volume && issue.number && React__default.createElement(
|
|
599
691
|
'p',
|
|
600
692
|
null,
|
|
601
693
|
'Volume: ',
|
|
602
694
|
issue.volume,
|
|
603
|
-
|
|
695
|
+
React__default.createElement('br', null),
|
|
604
696
|
'Issue: ',
|
|
605
697
|
issue.number
|
|
606
698
|
)
|
|
607
699
|
),
|
|
608
|
-
|
|
700
|
+
React__default.createElement(
|
|
609
701
|
Card.Footer,
|
|
610
702
|
null,
|
|
611
|
-
issue.articles
|
|
612
|
-
|
|
613
|
-
{ href: publication.identifier.current + '/' + issue.identifier.current, className: 'btn btn-primary' },
|
|
614
|
-
'View Issue'
|
|
615
|
-
) : null,
|
|
616
|
-
issue.pdf && issue.pdf.asset && issue.pdf.asset.url && React.createElement(
|
|
703
|
+
issue.articles ? issue.articles.length > 0 && React__default.createElement(ViewIssueButton, { href: publication.identifier.current + '/' + issue.identifier.current }) : React__default.createElement(ViewIssueButton, { href: publication.identifier.current + '/' + issue.identifier.current }),
|
|
704
|
+
issue.pdf && issue.pdf.asset && issue.pdf.asset.url && React__default.createElement(
|
|
617
705
|
'a',
|
|
618
706
|
{ rel: 'noopener', href: issue.pdf.asset.url, target: '_blank', className: 'btn btn-primary' },
|
|
619
707
|
'Download Issue'
|
|
@@ -622,20 +710,20 @@ var PublicationLanding = function PublicationLanding(props) {
|
|
|
622
710
|
)
|
|
623
711
|
)
|
|
624
712
|
);
|
|
625
|
-
}) :
|
|
713
|
+
}) : React__default.createElement(
|
|
626
714
|
'div',
|
|
627
715
|
null,
|
|
628
|
-
|
|
716
|
+
React__default.createElement(
|
|
629
717
|
'h5',
|
|
630
718
|
null,
|
|
631
|
-
|
|
719
|
+
React__default.createElement(
|
|
632
720
|
'em',
|
|
633
721
|
{ className: 'pl-3' },
|
|
634
722
|
'New content coming soon, please check back later.'
|
|
635
723
|
)
|
|
636
724
|
)
|
|
637
725
|
),
|
|
638
|
-
|
|
726
|
+
React__default.createElement(
|
|
639
727
|
'style',
|
|
640
728
|
{ jsx: 'true' },
|
|
641
729
|
'\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 '
|