@mjhls/mjh-framework 1.0.849 → 1.0.850-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 +11 -11
- package/dist/cjs/AD300x250x600.js +11 -11
- package/dist/cjs/AD728x90.js +12 -12
- package/dist/cjs/ADFloatingFooter.js +13 -13
- package/dist/cjs/ADFooter.js +8 -9
- package/dist/cjs/ADGutter.js +13 -13
- package/dist/cjs/{ADInfeed-86e987a0.js → ADInfeed-98c71bcd.js} +9 -11
- package/dist/cjs/ADSkyscraper.js +13 -13
- package/dist/cjs/ADSponsoredResources.js +13 -13
- package/dist/cjs/ADWebcast.js +13 -13
- package/dist/cjs/ADWelcome.js +17 -17
- package/dist/cjs/{ADlgInfeed-5d6f91d7.js → ADlgInfeed-9de32585.js} +6 -7
- package/dist/cjs/AccordionPanel.js +22 -24
- package/dist/cjs/AdSlot.js +15 -15
- package/dist/cjs/AdSlotsProvider.js +903 -11
- package/dist/cjs/AlgoliaSearch.js +14011 -48
- package/dist/cjs/AlphabeticList.js +16 -17
- package/dist/cjs/ArticleCarousel.js +11 -12
- package/dist/cjs/ArticleProgramLandingPage.js +24 -25
- package/dist/cjs/ArticleSeriesLandingPage.js +21 -21
- package/dist/cjs/ArticleSeriesListing.js +41 -41
- package/dist/cjs/Auth.js +144 -232
- package/dist/cjs/AuthWrapper.js +561 -26
- package/dist/cjs/{AuthorComponent-ac8972ce.js → AuthorComponent-bb831b74.js} +12 -13
- package/dist/cjs/{BlockContent-8b494587.js → BlockContent-091a991f.js} +24 -25
- package/dist/cjs/Breadcrumbs.js +21 -23
- package/dist/cjs/CMEDeck.js +65 -64
- package/dist/cjs/Column1.js +11 -14
- package/dist/cjs/Column2.js +19 -22
- package/dist/cjs/Column3.js +34 -36
- package/dist/cjs/ConferenceArticleCard.js +32 -33
- package/dist/cjs/ConferenceBanner-4a16fddc.js +23 -0
- package/dist/cjs/DeckContent.js +82 -85
- package/dist/cjs/DeckQueue.js +70 -73
- package/dist/cjs/{Dfp-0bf098b5.js → Dfp-26baccf1.js} +23 -23
- package/dist/cjs/EventsDeck.js +134 -141
- package/dist/cjs/ExternalResources.js +48 -49
- package/dist/cjs/Feature.js +23 -25
- package/dist/cjs/ForbesHero.js +34 -35
- package/dist/cjs/GridContent.js +205 -209
- package/dist/cjs/GridHero.js +35 -36
- package/dist/cjs/GroupDeck.js +48 -49
- package/dist/cjs/HamMagazine.js +125 -130
- package/dist/cjs/Header.js +12 -14
- package/dist/cjs/Hero.js +9 -10
- package/dist/cjs/HighlightenVideo.js +16 -17
- package/dist/cjs/HorizontalArticleListing.js +38 -39
- package/dist/cjs/HorizontalHero.js +23 -24
- package/dist/cjs/IssueContentDeck.js +65 -70
- package/dist/cjs/IssueDeck.js +61 -66
- package/dist/cjs/IssueLanding.js +58 -61
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +22 -23
- package/dist/cjs/MasterDeck.js +59 -59
- package/dist/cjs/MediaSeriesLanding.js +909 -801
- package/dist/cjs/NavDvm.js +63 -68
- package/dist/cjs/{NavFooter-3dcd99a8.js → NavFooter-76c913e3.js} +14 -15
- package/dist/cjs/NavMagazine.js +126 -131
- package/dist/cjs/NavNative.js +117 -125
- package/dist/cjs/OncliveHero.js +17 -17
- package/dist/cjs/OncliveLargeHero.js +63 -64
- package/dist/cjs/PageFilter.js +8 -9
- package/dist/cjs/PartnerDetailListing.js +187 -289
- package/dist/cjs/PdfDownload.js +8 -9
- package/dist/cjs/PopUpModal.js +13 -15
- package/dist/cjs/PubSection.js +20 -22
- package/dist/cjs/PubToc.js +7 -8
- package/dist/cjs/PublicationDeck.js +59 -64
- package/dist/cjs/PublicationLanding.js +110 -114
- package/dist/cjs/QueueDeckExpanded.js +1129 -1109
- package/dist/cjs/RecentNews.js +19 -20
- package/dist/cjs/RelatedContent.js +50 -51
- package/dist/cjs/RelatedTopicsDropdown.js +29 -32
- package/dist/cjs/RolesDeck.js +27 -32
- package/dist/cjs/Search.js +12 -16
- package/dist/cjs/Segment.js +362 -337
- package/dist/cjs/SeriesListingDeck.js +27 -26
- package/dist/cjs/{SeriesSlider-60fa1342.js → SeriesSlider-8bbc989f.js} +37 -38
- package/dist/cjs/SideFooter.js +25 -26
- package/dist/cjs/SocialIcons.js +9 -10
- package/dist/cjs/{SocialSearchComponent-19548e2a.js → SocialSearchComponent-cea213aa.js} +34 -38
- package/dist/cjs/SocialShare.js +29 -31
- package/dist/cjs/TaxonomyCard.js +55 -60
- package/dist/cjs/TaxonomyDescription.js +23 -24
- package/dist/cjs/TemplateNormal.js +36 -36
- package/dist/cjs/ThumbnailCard.js +17 -19
- package/dist/cjs/Ustream.js +21 -22
- package/dist/cjs/VerticalHero.js +15 -16
- package/dist/cjs/VideoProgramLandingPage.js +41 -45
- package/dist/cjs/VideoSeriesCard.js +23 -24
- package/dist/cjs/VideoSeriesFilter.js +9 -9
- package/dist/cjs/VideoSeriesLandingPage.js +26 -26
- package/dist/cjs/VideoSeriesListing.js +58 -58
- package/dist/cjs/View.js +201 -205
- package/dist/cjs/YahooHero.js +30 -31
- package/dist/cjs/YoutubeGroup.js +54 -55
- package/dist/cjs/{brightcove-react-player-loader.es-5c98aec7.js → brightcove-react-player-loader.es-156bd4d6.js} +8 -10
- package/dist/cjs/events-1b438fe7.js +469 -0
- package/dist/cjs/{extends-60837c34.js → extends-0a918631.js} +1 -0
- package/dist/cjs/faundadb.js +1 -1
- package/dist/cjs/getRelatedArticle.js +131 -67
- package/dist/cjs/getSerializers.js +13 -13
- package/dist/cjs/{getTargeting-3e45e4d4.js → getTargeting-f1821260.js} +11 -11
- package/dist/cjs/getTargeting.js +2 -2
- package/dist/cjs/iconBase-68959171.js +3 -0
- package/dist/cjs/{index-99edf08a.js → index-3294d3bc.js} +1 -1
- package/dist/cjs/{index-9d365128.js → index-96b3db50.js} +10 -12
- package/dist/cjs/{index-44481153.js → index-98e01cb9.js} +47 -494
- package/dist/cjs/{index-80e98193.js → index-bc88f898.js} +1099 -872
- package/dist/cjs/{index-b5eb3ff8.js → index-be0c82be.js} +19 -20
- package/dist/cjs/index-e2e62963.js +89 -0
- package/dist/cjs/{index.es-f3e47207.js → index.es-9110add6.js} +12 -31
- package/dist/cjs/{index.esm-3ffa049c.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 +62 -65
- package/dist/cjs/{inherits-87492b40.js → inherits-452ff02c.js} +4 -1
- package/dist/cjs/inherits-8d29278d.js +110 -0
- package/dist/cjs/{lodash-7fd85bcf.js → lodash-fc2922d0.js} +22 -71
- package/dist/cjs/{main-7b5e57b0.js → main-02daeefe.js} +54 -90
- package/dist/cjs/{md5-e1ca5797.js → md5-5039b1a6.js} +1 -1
- package/dist/cjs/{moment-ca3bd9fb.js → moment-575fe24c.js} +8 -10
- package/dist/cjs/{react-social-icons-07939b41.js → react-social-icons-f7f48f71.js} +11 -12
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{typeof-9d7f610f.js → typeof-725500bc.js} +1 -1
- package/dist/cjs/urlFor.js +3 -3
- package/dist/cjs/{visibility-sensor-eb2c5b69.js → visibility-sensor-ad5e3116.js} +5 -7
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +10 -9
- package/dist/esm/AD300x250x600.js +10 -9
- package/dist/esm/AD728x90.js +11 -10
- package/dist/esm/ADFloatingFooter.js +12 -11
- package/dist/esm/ADFooter.js +6 -6
- package/dist/esm/ADGutter.js +12 -11
- package/dist/esm/{ADInfeed-4096aff2.js → ADInfeed-bbdd5398.js} +7 -7
- package/dist/esm/ADSkyscraper.js +12 -11
- package/dist/esm/ADSponsoredResources.js +12 -11
- package/dist/esm/ADWebcast.js +12 -11
- package/dist/esm/ADWelcome.js +16 -15
- package/dist/esm/{ADlgInfeed-8e4fcfbd.js → ADlgInfeed-4473ee3b.js} +4 -4
- package/dist/esm/AccordionPanel.js +17 -17
- package/dist/esm/AdSlot.js +8 -7
- package/dist/esm/AdSlotsProvider.js +904 -11
- package/dist/esm/AlgoliaSearch.js +14004 -40
- package/dist/esm/AlphabeticList.js +14 -14
- package/dist/esm/ArticleCarousel.js +9 -9
- package/dist/esm/ArticleProgramLandingPage.js +23 -23
- package/dist/esm/ArticleSeriesLandingPage.js +20 -19
- package/dist/esm/ArticleSeriesListing.js +38 -37
- package/dist/esm/Auth.js +128 -212
- package/dist/esm/AuthWrapper.js +561 -24
- package/dist/esm/{AuthorComponent-8ffd4679.js → AuthorComponent-34b16174.js} +10 -10
- package/dist/esm/Beam.js +1 -1
- package/dist/esm/{BlockContent-d05b5b23.js → BlockContent-e9b4ddcf.js} +4 -4
- package/dist/esm/Breadcrumbs.js +11 -11
- package/dist/esm/CMEDeck.js +63 -62
- package/dist/esm/Column1.js +9 -9
- package/dist/esm/Column2.js +18 -18
- package/dist/esm/Column3.js +33 -32
- package/dist/esm/ConferenceArticleCard.js +30 -30
- package/dist/esm/{ConferenceBanner-9162d0ca.js → ConferenceBanner-8792ebd2.js} +4 -4
- package/dist/esm/DeckContent.js +79 -78
- package/dist/esm/DeckQueue.js +66 -65
- package/dist/esm/{Dfp-85c9513e.js → Dfp-b7236041.js} +11 -10
- package/dist/esm/EventsDeck.js +110 -110
- package/dist/esm/ExternalResources.js +44 -44
- package/dist/esm/Feature.js +17 -17
- package/dist/esm/ForbesHero.js +28 -28
- package/dist/esm/GridContent.js +175 -174
- package/dist/esm/GridHero.js +29 -29
- package/dist/esm/GroupDeck.js +36 -36
- package/dist/esm/HamMagazine.js +101 -101
- package/dist/esm/Header.js +8 -8
- package/dist/esm/Hero.js +7 -7
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalArticleListing.js +37 -37
- package/dist/esm/HorizontalHero.js +21 -21
- package/dist/esm/IssueContentDeck.js +53 -53
- package/dist/esm/IssueDeck.js +55 -55
- package/dist/esm/IssueLanding.js +57 -59
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +19 -18
- package/dist/esm/MasterDeck.js +57 -56
- package/dist/esm/MediaSeriesLanding.js +673 -562
- package/dist/esm/NavDvm.js +47 -47
- package/dist/esm/{NavFooter-c29526b7.js → NavFooter-e27bd93b.js} +12 -12
- package/dist/esm/NavMagazine.js +104 -104
- package/dist/esm/NavNative.js +93 -93
- package/dist/esm/OncliveHero.js +15 -14
- package/dist/esm/OncliveLargeHero.js +52 -52
- package/dist/esm/PageFilter.js +6 -6
- package/dist/esm/PartnerDetailListing.js +79 -180
- package/dist/esm/PdfDownload.js +6 -6
- package/dist/esm/PopUpModal.js +8 -8
- package/dist/esm/PubSection.js +19 -20
- package/dist/esm/PubToc.js +6 -6
- package/dist/esm/PublicationDeck.js +51 -51
- package/dist/esm/PublicationLanding.js +97 -97
- package/dist/esm/QueueDeckExpanded.js +1120 -1100
- package/dist/esm/RecentNews.js +17 -17
- package/dist/esm/RelatedContent.js +45 -45
- package/dist/esm/RelatedTopicsDropdown.js +21 -21
- package/dist/esm/RolesDeck.js +25 -25
- package/dist/esm/Search.js +7 -7
- package/dist/esm/Segment.js +363 -338
- package/dist/esm/SeriesListingDeck.js +22 -21
- package/dist/esm/{SeriesSlider-05ecb544.js → SeriesSlider-a866bb21.js} +28 -28
- package/dist/esm/SideFooter.js +22 -22
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-47815365.js → SocialSearchComponent-03c3e869.js} +28 -28
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +51 -51
- package/dist/esm/TaxonomyDescription.js +19 -19
- package/dist/esm/TemplateNormal.js +34 -33
- package/dist/esm/ThumbnailCard.js +10 -10
- package/dist/esm/Ustream.js +19 -19
- package/dist/esm/VerticalHero.js +13 -13
- package/dist/esm/VideoProgramLandingPage.js +35 -35
- package/dist/esm/VideoSeriesCard.js +18 -18
- package/dist/esm/VideoSeriesFilter.js +7 -7
- package/dist/esm/VideoSeriesLandingPage.js +20 -19
- package/dist/esm/VideoSeriesListing.js +55 -54
- package/dist/esm/View.js +185 -185
- package/dist/esm/YahooHero.js +25 -25
- package/dist/esm/YoutubeGroup.js +39 -39
- package/dist/esm/{asyncToGenerator-fc1c2e29.js → asyncToGenerator-4877b617.js} +1 -1
- package/dist/esm/{brightcove-react-player-loader.es-4abff0b1.js → brightcove-react-player-loader.es-83f53e4e.js} +6 -7
- package/dist/esm/events-6c3a7a63.js +467 -0
- package/dist/esm/{extends-eb69e8ac.js → extends-6f2fcc99.js} +1 -1
- package/dist/esm/faundadb.js +2 -2
- package/dist/esm/getRelatedArticle.js +127 -63
- package/dist/esm/getRootDocGroup.js +1 -1
- package/dist/esm/getSerializers.js +14 -14
- package/dist/esm/{getTargeting-9cb7e014.js → getTargeting-bd800589.js} +10 -10
- package/dist/esm/getTargeting.js +2 -2
- package/dist/esm/{index-1819118a.js → index-41a678ea.js} +41 -487
- package/dist/esm/{index-6c12bdd5.js → index-5f7e79e7.js} +4 -4
- package/dist/esm/{index-51a80699.js → index-73819142.js} +19 -20
- package/dist/esm/index-aaa2dae0.js +85 -0
- package/dist/esm/{index-fa2ffe86.js → index-ef6d5dcf.js} +1 -1
- package/dist/esm/{index-295b6942.js → index-f2a0d400.js} +1061 -826
- 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-8ee5ff72.js → index.esm-fd746768.js} +18 -17
- package/dist/esm/index.js +55 -55
- package/dist/esm/inherits-77d5e4fc.js +101 -0
- package/dist/esm/{inherits-0d8cda6e.js → inherits-cf8dde54.js} +2 -2
- package/dist/esm/{lodash-ec8c6b48.js → lodash-17fdfebb.js} +22 -71
- package/dist/esm/{main-747e7d25.js → main-e4a934b2.js} +52 -87
- package/dist/esm/{md5-4e42248e.js → md5-9be0e905.js} +1 -1
- package/dist/esm/{moment-b6f49411.js → moment-e2f9b20c.js} +8 -10
- package/dist/esm/{react-social-icons-3822f1ce.js → react-social-icons-a7d5c5c7.js} +5 -5
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{typeof-af9c50d8.js → typeof-6435ba1c.js} +1 -1
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/{visibility-sensor-f40c2564.js → visibility-sensor-72fd8f8b.js} +2 -2
- package/package.json +111 -110
- package/dist/cjs/ConferenceBanner-6c9e718a.js +0 -24
package/dist/esm/PubSection.js
CHANGED
|
@@ -6,39 +6,38 @@ import './_iter-detect-5d49a330.js';
|
|
|
6
6
|
import './toConsumableArray-43aa614d.js';
|
|
7
7
|
import './core.get-iterator-method-e1de7503.js';
|
|
8
8
|
import './_object-pie-33c40e79.js';
|
|
9
|
-
import { _ as _extends } from './extends-
|
|
9
|
+
import { _ as _extends } from './extends-6f2fcc99.js';
|
|
10
10
|
import './web.dom.iterable-4439f05a.js';
|
|
11
|
-
import
|
|
12
|
-
import './
|
|
11
|
+
import React__default from 'react';
|
|
12
|
+
import './events-6c3a7a63.js';
|
|
13
|
+
import './index-41a678ea.js';
|
|
13
14
|
import 'prop-types';
|
|
14
15
|
import 'react-bootstrap/Card';
|
|
15
|
-
import './moment-
|
|
16
|
+
import './moment-e2f9b20c.js';
|
|
16
17
|
import 'next/router';
|
|
17
18
|
import './isSymbol-1981418f.js';
|
|
18
19
|
import './debounce-9207d8ee.js';
|
|
19
20
|
import './toNumber-2f7a84cd.js';
|
|
20
|
-
import './index.es-c6222053.js';
|
|
21
21
|
import 'react-dom';
|
|
22
|
-
import './
|
|
23
|
-
import './index-51a80699.js';
|
|
22
|
+
import './index-73819142.js';
|
|
24
23
|
import './urlFor.js';
|
|
25
|
-
import './index-
|
|
26
|
-
import './main-
|
|
24
|
+
import './index-5f7e79e7.js';
|
|
25
|
+
import './main-e4a934b2.js';
|
|
27
26
|
import './entities-7cc3bf45.js';
|
|
28
27
|
import { _ as _slicedToArray } from './slicedToArray-641f241f.js';
|
|
29
28
|
import './stringify-4330ccdc.js';
|
|
30
|
-
import {
|
|
29
|
+
import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-4877b617.js';
|
|
31
30
|
import './Segment.js';
|
|
32
31
|
import './Beam.js';
|
|
33
32
|
import './AdSlot.js';
|
|
34
|
-
import './ADInfeed-
|
|
35
|
-
import './lodash-
|
|
36
|
-
import './ADlgInfeed-
|
|
33
|
+
import './ADInfeed-bbdd5398.js';
|
|
34
|
+
import './lodash-17fdfebb.js';
|
|
35
|
+
import './ADlgInfeed-4473ee3b.js';
|
|
37
36
|
import './getContentCategory-15dcc413.js';
|
|
38
|
-
import './AuthorComponent-
|
|
37
|
+
import './AuthorComponent-34b16174.js';
|
|
39
38
|
import 'react-bootstrap';
|
|
40
|
-
import './timeDifferenceCalc.js';
|
|
41
39
|
import QueueDeckExpanded from './QueueDeckExpanded.js';
|
|
40
|
+
import './timeDifferenceCalc.js';
|
|
42
41
|
|
|
43
42
|
var _this = undefined;
|
|
44
43
|
|
|
@@ -46,24 +45,24 @@ var PubSection = function PubSection(props) {
|
|
|
46
45
|
var pubSection = props.pubSection,
|
|
47
46
|
tocUrl = props.tocUrl;
|
|
48
47
|
|
|
49
|
-
return
|
|
48
|
+
return React__default.createElement(
|
|
50
49
|
'div',
|
|
51
50
|
{ id: 'pubSection' },
|
|
52
|
-
pubSection.publication && pubSection.publication.name &&
|
|
51
|
+
pubSection.publication && pubSection.publication.name && React__default.createElement(
|
|
53
52
|
'h2',
|
|
54
53
|
null,
|
|
55
54
|
pubSection.publication.name
|
|
56
55
|
),
|
|
57
|
-
|
|
56
|
+
React__default.createElement(
|
|
58
57
|
'p',
|
|
59
58
|
null,
|
|
60
|
-
|
|
59
|
+
React__default.createElement(
|
|
61
60
|
'a',
|
|
62
61
|
{ id: 'back', href: tocUrl ? tocUrl : 'toc' },
|
|
63
62
|
'Back to Table of Contents'
|
|
64
63
|
)
|
|
65
64
|
),
|
|
66
|
-
|
|
65
|
+
React__default.createElement(QueueDeckExpanded, _extends({ dataRecord: pubSection.articles }, props))
|
|
67
66
|
);
|
|
68
67
|
};
|
|
69
68
|
|
package/dist/esm/PubToc.js
CHANGED
|
@@ -5,26 +5,26 @@ import './_library-528f1934.js';
|
|
|
5
5
|
import './_iter-detect-5d49a330.js';
|
|
6
6
|
import './core.get-iterator-method-e1de7503.js';
|
|
7
7
|
import './web.dom.iterable-4439f05a.js';
|
|
8
|
-
import
|
|
8
|
+
import React__default from 'react';
|
|
9
9
|
import { _ as _slicedToArray } from './slicedToArray-641f241f.js';
|
|
10
|
-
import {
|
|
10
|
+
import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-4877b617.js';
|
|
11
11
|
|
|
12
12
|
var _this = undefined;
|
|
13
13
|
|
|
14
14
|
var PubToc = function PubToc(props) {
|
|
15
15
|
var toc = props.toc;
|
|
16
16
|
|
|
17
|
-
return
|
|
17
|
+
return React__default.createElement(
|
|
18
18
|
'div',
|
|
19
19
|
{ id: 'pubToc' },
|
|
20
|
-
|
|
20
|
+
React__default.createElement(
|
|
21
21
|
'ul',
|
|
22
22
|
null,
|
|
23
23
|
toc && toc.parentSection && Array.isArray(toc.parentSection.sections) && toc.parentSection.sections.map(function (s) {
|
|
24
|
-
return
|
|
24
|
+
return React__default.createElement(
|
|
25
25
|
'li',
|
|
26
26
|
{ key: s.identifier },
|
|
27
|
-
|
|
27
|
+
React__default.createElement(
|
|
28
28
|
'a',
|
|
29
29
|
{ href: s.identifier },
|
|
30
30
|
s.name
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import
|
|
2
|
+
import React__default from 'react';
|
|
3
3
|
import 'prop-types';
|
|
4
|
-
import Row from 'react-bootstrap/Row';
|
|
5
|
-
import Col from 'react-bootstrap/Col';
|
|
6
|
-
import Card from 'react-bootstrap/Card';
|
|
4
|
+
import Row$1 from 'react-bootstrap/Row';
|
|
5
|
+
import Col$1 from 'react-bootstrap/Col';
|
|
6
|
+
import Card$1 from 'react-bootstrap/Card';
|
|
7
7
|
import 'react-dom';
|
|
8
|
-
import './index-
|
|
8
|
+
import './index-73819142.js';
|
|
9
9
|
import urlFor from './urlFor.js';
|
|
10
|
-
import { L as LazyLoad } from './index-
|
|
11
|
-
import { l as lodash } from './lodash-
|
|
12
|
-
import Button from 'react-bootstrap/Button';
|
|
10
|
+
import { L as LazyLoad } from './index-5f7e79e7.js';
|
|
11
|
+
import { l as lodash } from './lodash-17fdfebb.js';
|
|
12
|
+
import Button$1 from 'react-bootstrap/Button';
|
|
13
13
|
|
|
14
14
|
var PublicationDeck = function PublicationDeck(props) {
|
|
15
15
|
var data = props.data,
|
|
@@ -48,43 +48,43 @@ var PublicationDeck = function PublicationDeck(props) {
|
|
|
48
48
|
};
|
|
49
49
|
|
|
50
50
|
if (sortedRegPubs && sortedRegPubs.length || sortedLegacyPubs && sortedLegacyPubs.length) {
|
|
51
|
-
return
|
|
51
|
+
return React__default.createElement(
|
|
52
52
|
'div',
|
|
53
53
|
{ className: 'publication-wrapper', style: { paddingBottom: '150px' } },
|
|
54
|
-
sortedRegPubs && sortedRegPubs.length > 0 &&
|
|
55
|
-
Row,
|
|
54
|
+
sortedRegPubs && sortedRegPubs.length > 0 && React__default.createElement(
|
|
55
|
+
Row$1,
|
|
56
56
|
{ className: 'regular-publication-wrapper' },
|
|
57
57
|
sortedRegPubs.map(function (row, index) {
|
|
58
|
-
return row.identifier && row.identifier.current &&
|
|
59
|
-
Col,
|
|
58
|
+
return row.identifier && row.identifier.current && React__default.createElement(
|
|
59
|
+
Col$1,
|
|
60
60
|
{ xs: 6, sm: 6, md: 6, lg: 4, style: { display: 'flex', flex: '1 0 auto' }, key: index },
|
|
61
|
-
|
|
62
|
-
Card,
|
|
61
|
+
React__default.createElement(
|
|
62
|
+
Card$1,
|
|
63
63
|
{ className: 'block-card', style: { width: '200px' } },
|
|
64
|
-
|
|
64
|
+
React__default.createElement(
|
|
65
65
|
'a',
|
|
66
66
|
{ href: href + '/' + row.identifier.current },
|
|
67
|
-
row.childIssue && row.childIssue.thumbnail ?
|
|
67
|
+
row.childIssue && row.childIssue.thumbnail ? React__default.createElement(
|
|
68
68
|
LazyLoad,
|
|
69
69
|
{ height: imageHeight },
|
|
70
|
-
|
|
71
|
-
) :
|
|
72
|
-
|
|
73
|
-
Card.Body,
|
|
70
|
+
React__default.createElement(Card$1.Img, { variant: 'top', src: renderCardImage(row.childIssue.thumbnail), style: { objectFit: 'contain', maxHeight: '200px', maxWidth: '200px' } })
|
|
71
|
+
) : React__default.createElement('p', { className: 'placeholder-tag' }),
|
|
72
|
+
React__default.createElement(
|
|
73
|
+
Card$1.Body,
|
|
74
74
|
{ style: { paddingTop: '0', paddingBottom: '2.75rem' } },
|
|
75
|
-
|
|
76
|
-
Card.Title,
|
|
75
|
+
React__default.createElement(
|
|
76
|
+
Card$1.Title,
|
|
77
77
|
null,
|
|
78
78
|
row.name
|
|
79
79
|
),
|
|
80
|
-
|
|
81
|
-
Button,
|
|
80
|
+
React__default.createElement(
|
|
81
|
+
Button$1,
|
|
82
82
|
{ style: { position: 'absolute', bottom: '1rem', margin: '0px', width: '78%' }, variant: 'secondary' },
|
|
83
83
|
'Browse Issues'
|
|
84
84
|
)
|
|
85
85
|
)
|
|
86
86
|
),
|
|
87
|
-
|
|
87
|
+
React__default.createElement(
|
|
88
88
|
'style',
|
|
89
89
|
{ jsx: 'true' },
|
|
90
90
|
'\n .lazyload-placeholder {\n padding: 0 1.25rem 2.75rem;\n }\n .placeholder-tag {\n min-height: 200px;\n }\n '
|
|
@@ -93,53 +93,53 @@ var PublicationDeck = function PublicationDeck(props) {
|
|
|
93
93
|
);
|
|
94
94
|
})
|
|
95
95
|
),
|
|
96
|
-
sortedLegacyPubs && sortedLegacyPubs.length > 0 &&
|
|
97
|
-
|
|
96
|
+
sortedLegacyPubs && sortedLegacyPubs.length > 0 && React__default.createElement(
|
|
97
|
+
React__default.Fragment,
|
|
98
98
|
null,
|
|
99
|
-
|
|
99
|
+
React__default.createElement(
|
|
100
100
|
'div',
|
|
101
101
|
{ className: 'legacy-publication-title' },
|
|
102
|
-
|
|
102
|
+
React__default.createElement(
|
|
103
103
|
'h2',
|
|
104
104
|
null,
|
|
105
105
|
'Legacy'
|
|
106
106
|
),
|
|
107
|
-
|
|
107
|
+
React__default.createElement('hr', null)
|
|
108
108
|
),
|
|
109
|
-
|
|
110
|
-
Row,
|
|
109
|
+
React__default.createElement(
|
|
110
|
+
Row$1,
|
|
111
111
|
{ className: 'legacy-publication-wrapper' },
|
|
112
112
|
sortedLegacyPubs.map(function (row, index) {
|
|
113
|
-
return row.identifier && row.identifier.current &&
|
|
114
|
-
Col,
|
|
113
|
+
return row.identifier && row.identifier.current && React__default.createElement(
|
|
114
|
+
Col$1,
|
|
115
115
|
{ xs: 6, sm: 6, md: 6, lg: 4, style: { display: 'flex', flex: '1 0 auto' }, key: index },
|
|
116
|
-
|
|
117
|
-
Card,
|
|
116
|
+
React__default.createElement(
|
|
117
|
+
Card$1,
|
|
118
118
|
{ className: 'block-card', style: { width: '200px' } },
|
|
119
|
-
|
|
119
|
+
React__default.createElement(
|
|
120
120
|
'a',
|
|
121
121
|
{ href: href + '/' + row.identifier.current },
|
|
122
|
-
row.childIssue && row.childIssue.thumbnail ?
|
|
122
|
+
row.childIssue && row.childIssue.thumbnail ? React__default.createElement(
|
|
123
123
|
LazyLoad,
|
|
124
124
|
{ height: imageHeight },
|
|
125
|
-
|
|
126
|
-
) :
|
|
127
|
-
|
|
128
|
-
Card.Body,
|
|
125
|
+
React__default.createElement(Card$1.Img, { variant: 'top', src: renderCardImage(row.childIssue.thumbnail), style: { objectFit: 'contain', maxHeight: '200px', maxWidth: '200px' } })
|
|
126
|
+
) : React__default.createElement('p', { className: 'placeholder-tag' }),
|
|
127
|
+
React__default.createElement(
|
|
128
|
+
Card$1.Body,
|
|
129
129
|
{ style: { paddingTop: '0', paddingBottom: '2.75rem' } },
|
|
130
|
-
|
|
131
|
-
Card.Title,
|
|
130
|
+
React__default.createElement(
|
|
131
|
+
Card$1.Title,
|
|
132
132
|
null,
|
|
133
133
|
row.name
|
|
134
134
|
),
|
|
135
|
-
|
|
136
|
-
Button,
|
|
135
|
+
React__default.createElement(
|
|
136
|
+
Button$1,
|
|
137
137
|
{ style: { position: 'absolute', bottom: '1rem', margin: '0px', width: '78%' }, variant: 'secondary' },
|
|
138
138
|
'Browse Issues'
|
|
139
139
|
)
|
|
140
140
|
)
|
|
141
141
|
),
|
|
142
|
-
|
|
142
|
+
React__default.createElement(
|
|
143
143
|
'style',
|
|
144
144
|
{ jsx: 'true' },
|
|
145
145
|
'\n .lazyload-placeholder {\n padding: 0 1.25rem 2.75rem;\n }\n .placeholder-tag {\n min-height: 200px;\n }\n '
|
|
@@ -151,13 +151,13 @@ var PublicationDeck = function PublicationDeck(props) {
|
|
|
151
151
|
)
|
|
152
152
|
);
|
|
153
153
|
} else {
|
|
154
|
-
return
|
|
154
|
+
return React__default.createElement(
|
|
155
155
|
'div',
|
|
156
156
|
null,
|
|
157
|
-
|
|
157
|
+
React__default.createElement(
|
|
158
158
|
'h5',
|
|
159
159
|
null,
|
|
160
|
-
|
|
160
|
+
React__default.createElement(
|
|
161
161
|
'em',
|
|
162
162
|
{ className: 'pl-3' },
|
|
163
163
|
'New content coming soon, please check back later.'
|
|
@@ -6,19 +6,19 @@ import './_iter-detect-5d49a330.js';
|
|
|
6
6
|
import { _ as _toConsumableArray } from './toConsumableArray-43aa614d.js';
|
|
7
7
|
import { _ as _classof } from './core.get-iterator-method-e1de7503.js';
|
|
8
8
|
import './_object-pie-33c40e79.js';
|
|
9
|
-
import { _ as _extends } from './extends-
|
|
9
|
+
import { _ as _extends } from './extends-6f2fcc99.js';
|
|
10
10
|
import { _ as _iterStep } from './web.dom.iterable-4439f05a.js';
|
|
11
11
|
import { _ as _meta, a as _isArray } from './_is-array-58e95429.js';
|
|
12
|
-
import
|
|
12
|
+
import React__default, { useState, useEffect } from 'react';
|
|
13
13
|
import 'prop-types';
|
|
14
|
-
import Row from 'react-bootstrap/Row';
|
|
15
|
-
import Col from 'react-bootstrap/Col';
|
|
16
|
-
import Card from 'react-bootstrap/Card';
|
|
14
|
+
import Row$1 from 'react-bootstrap/Row';
|
|
15
|
+
import Col$1 from 'react-bootstrap/Col';
|
|
16
|
+
import Card$1 from 'react-bootstrap/Card';
|
|
17
17
|
import { useRouter } from 'next/router';
|
|
18
18
|
import 'react-dom';
|
|
19
|
-
import { L as LazyLoad } from './index-
|
|
19
|
+
import { L as LazyLoad } from './index-5f7e79e7.js';
|
|
20
20
|
import { _ as _slicedToArray } from './slicedToArray-641f241f.js';
|
|
21
|
-
import { b as _anInstance, c as _forOf, d as _redefineAll, e as _setSpecies,
|
|
21
|
+
import { b as _anInstance, c as _forOf, d as _redefineAll, e as _setSpecies, _ as _asyncToGenerator, r as regenerator, a as _Promise } from './asyncToGenerator-4877b617.js';
|
|
22
22
|
import Dropdown from 'react-bootstrap/Dropdown';
|
|
23
23
|
|
|
24
24
|
var _validateCollection = function (it, TYPE) {
|
|
@@ -373,32 +373,32 @@ module.exports = { "default": set, __esModule: true };
|
|
|
373
373
|
|
|
374
374
|
var _Set = unwrapExports(set$1);
|
|
375
375
|
|
|
376
|
-
/* usage & query
|
|
377
|
-
const Publication = (props) => {
|
|
378
|
-
const { cache, pub, year } = props
|
|
379
|
-
const targeting = {
|
|
380
|
-
content_placement: [`/journals/${pub.identifier.current}`],
|
|
381
|
-
document_url: [`/journals/${pub.identifier.current}`],
|
|
382
|
-
}
|
|
383
|
-
return (
|
|
384
|
-
<Shell title={pub.name} cache={cache} settings={Settings} targeting={targeting} ads={Ads} layout='3'>
|
|
385
|
-
<PublicationLanding publication={pub} year={year} href={'journals'} />
|
|
386
|
-
</Shell>
|
|
387
|
-
)
|
|
388
|
-
}
|
|
389
|
-
Publication.getInitialProps = async (ctx) => {
|
|
390
|
-
const { query } = ctx
|
|
391
|
-
const {
|
|
392
|
-
query: { year },
|
|
393
|
-
} = ctx
|
|
394
|
-
const pub = await client.fetch(getQuery('publication'), query)
|
|
395
|
-
**import urlFor from framework**
|
|
396
|
-
pub.issues.map((issue) => {
|
|
397
|
-
issue.thumbnail = urlFor({client, source: issue.thumbnail})
|
|
398
|
-
})
|
|
399
|
-
return { pub, year }
|
|
400
|
-
}
|
|
401
|
-
export default Publication
|
|
376
|
+
/* usage & query
|
|
377
|
+
const Publication = (props) => {
|
|
378
|
+
const { cache, pub, year } = props
|
|
379
|
+
const targeting = {
|
|
380
|
+
content_placement: [`/journals/${pub.identifier.current}`],
|
|
381
|
+
document_url: [`/journals/${pub.identifier.current}`],
|
|
382
|
+
}
|
|
383
|
+
return (
|
|
384
|
+
<Shell title={pub.name} cache={cache} settings={Settings} targeting={targeting} ads={Ads} layout='3'>
|
|
385
|
+
<PublicationLanding publication={pub} year={year} href={'journals'} />
|
|
386
|
+
</Shell>
|
|
387
|
+
)
|
|
388
|
+
}
|
|
389
|
+
Publication.getInitialProps = async (ctx) => {
|
|
390
|
+
const { query } = ctx
|
|
391
|
+
const {
|
|
392
|
+
query: { year },
|
|
393
|
+
} = ctx
|
|
394
|
+
const pub = await client.fetch(getQuery('publication'), query)
|
|
395
|
+
**import urlFor from framework**
|
|
396
|
+
pub.issues.map((issue) => {
|
|
397
|
+
issue.thumbnail = urlFor({client, source: issue.thumbnail})
|
|
398
|
+
})
|
|
399
|
+
return { pub, year }
|
|
400
|
+
}
|
|
401
|
+
export default Publication
|
|
402
402
|
*/
|
|
403
403
|
|
|
404
404
|
var generateContentPlacements = function generateContentPlacements(issues) {
|
|
@@ -631,36 +631,36 @@ var PublicationLanding = function PublicationLanding(props) {
|
|
|
631
631
|
}
|
|
632
632
|
}, [activeYear, activeContentPlacement]);
|
|
633
633
|
|
|
634
|
-
return
|
|
634
|
+
return React__default.createElement(
|
|
635
635
|
'div',
|
|
636
636
|
{ id: 'publicationLanding' },
|
|
637
|
-
|
|
637
|
+
React__default.createElement(
|
|
638
638
|
'style',
|
|
639
639
|
{ jsx: true },
|
|
640
640
|
'\n #pubYearFilter .dropdown-menu.show,\n #contentPlacementFilter .dropdown-menu.show {\n max-height: 25vh;\n overflow: auto;\n }\n '
|
|
641
641
|
),
|
|
642
|
-
|
|
643
|
-
Row,
|
|
642
|
+
React__default.createElement(
|
|
643
|
+
Row$1,
|
|
644
644
|
null,
|
|
645
|
-
issueData && issueData.length > 0 && years.length > 0 &&
|
|
646
|
-
Col,
|
|
645
|
+
issueData && issueData.length > 0 && years.length > 0 && React__default.createElement(
|
|
646
|
+
Col$1,
|
|
647
647
|
{ className: 'flex-grow-0 mb-3' },
|
|
648
|
-
|
|
648
|
+
React__default.createElement(
|
|
649
649
|
Dropdown,
|
|
650
650
|
{ id: 'pubYearFilter' },
|
|
651
|
-
|
|
651
|
+
React__default.createElement(
|
|
652
652
|
Dropdown.Toggle,
|
|
653
653
|
null,
|
|
654
654
|
activeYear && !isNaN(activeYear) ? activeYear : 'Select Year'
|
|
655
655
|
),
|
|
656
|
-
|
|
656
|
+
React__default.createElement(
|
|
657
657
|
Dropdown.Menu,
|
|
658
658
|
null,
|
|
659
|
-
|
|
659
|
+
React__default.createElement(Dropdown.Item, { style: { height: '2rem' }, onClick: function onClick() {
|
|
660
660
|
return setActiveYear('');
|
|
661
661
|
} }),
|
|
662
662
|
years.map(function (yr, key) {
|
|
663
|
-
return
|
|
663
|
+
return React__default.createElement(
|
|
664
664
|
Dropdown.Item,
|
|
665
665
|
{ key: key, onClick: function onClick() {
|
|
666
666
|
return setActiveYear(yr);
|
|
@@ -671,25 +671,25 @@ var PublicationLanding = function PublicationLanding(props) {
|
|
|
671
671
|
)
|
|
672
672
|
)
|
|
673
673
|
),
|
|
674
|
-
contentPlacements && contentPlacements.length > 0 &&
|
|
675
|
-
Col,
|
|
674
|
+
contentPlacements && contentPlacements.length > 0 && React__default.createElement(
|
|
675
|
+
Col$1,
|
|
676
676
|
{ className: 'flex-grow-0 mb-3' },
|
|
677
|
-
|
|
677
|
+
React__default.createElement(
|
|
678
678
|
Dropdown,
|
|
679
679
|
{ id: 'contentPlacementFilter' },
|
|
680
|
-
|
|
680
|
+
React__default.createElement(
|
|
681
681
|
Dropdown.Toggle,
|
|
682
682
|
null,
|
|
683
683
|
activeContentPlacement && activeContentPlacement.name ? activeContentPlacement.name : 'Select Topic'
|
|
684
684
|
),
|
|
685
|
-
|
|
685
|
+
React__default.createElement(
|
|
686
686
|
Dropdown.Menu,
|
|
687
687
|
null,
|
|
688
|
-
|
|
688
|
+
React__default.createElement(Dropdown.Item, { style: { height: '2rem' }, onClick: function onClick() {
|
|
689
689
|
return setActiveContentPlacement('');
|
|
690
690
|
} }),
|
|
691
691
|
contentPlacements.map(function (cp) {
|
|
692
|
-
return
|
|
692
|
+
return React__default.createElement(
|
|
693
693
|
Dropdown.Item,
|
|
694
694
|
{
|
|
695
695
|
key: cp._id,
|
|
@@ -705,60 +705,60 @@ var PublicationLanding = function PublicationLanding(props) {
|
|
|
705
705
|
)
|
|
706
706
|
),
|
|
707
707
|
sortedIssues && sortedIssues.length > 0 ? sortedIssues.map(function (issue, key) {
|
|
708
|
-
return
|
|
709
|
-
Card,
|
|
708
|
+
return React__default.createElement(
|
|
709
|
+
Card$1,
|
|
710
710
|
{ key: key, className: 'issueCard' },
|
|
711
|
-
|
|
712
|
-
Row,
|
|
711
|
+
React__default.createElement(
|
|
712
|
+
Row$1,
|
|
713
713
|
null,
|
|
714
|
-
|
|
715
|
-
Col,
|
|
714
|
+
React__default.createElement(
|
|
715
|
+
Col$1,
|
|
716
716
|
{ md: 3, id: 'issueThumbnail' },
|
|
717
|
-
|
|
717
|
+
React__default.createElement(
|
|
718
718
|
LazyLoad,
|
|
719
719
|
{ once: true },
|
|
720
|
-
|
|
720
|
+
React__default.createElement(Card$1.Img, { src: issue.thumbnail })
|
|
721
721
|
)
|
|
722
722
|
),
|
|
723
|
-
|
|
724
|
-
Col,
|
|
723
|
+
React__default.createElement(
|
|
724
|
+
Col$1,
|
|
725
725
|
{ md: 9, id: 'issueDetail' },
|
|
726
|
-
|
|
727
|
-
Card.Body,
|
|
726
|
+
React__default.createElement(
|
|
727
|
+
Card$1.Body,
|
|
728
728
|
null,
|
|
729
|
-
|
|
730
|
-
Card.Title,
|
|
729
|
+
React__default.createElement(
|
|
730
|
+
Card$1.Title,
|
|
731
731
|
null,
|
|
732
732
|
issue.name
|
|
733
733
|
),
|
|
734
|
-
issue.source &&
|
|
734
|
+
issue.source && React__default.createElement(
|
|
735
735
|
'div',
|
|
736
736
|
{ className: 'content-category-label' },
|
|
737
|
-
|
|
737
|
+
React__default.createElement(
|
|
738
738
|
'div',
|
|
739
739
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
740
740
|
issue.source
|
|
741
741
|
)
|
|
742
742
|
),
|
|
743
|
-
issue.volume && issue.number &&
|
|
743
|
+
issue.volume && issue.number && React__default.createElement(
|
|
744
744
|
'p',
|
|
745
745
|
null,
|
|
746
746
|
'Volume: ',
|
|
747
747
|
issue.volume,
|
|
748
|
-
|
|
748
|
+
React__default.createElement('br', null),
|
|
749
749
|
'Issue: ',
|
|
750
750
|
issue.number
|
|
751
751
|
)
|
|
752
752
|
),
|
|
753
|
-
|
|
754
|
-
Card.Footer,
|
|
753
|
+
React__default.createElement(
|
|
754
|
+
Card$1.Footer,
|
|
755
755
|
null,
|
|
756
|
-
issue && issue.articles && issue.articles.length > 0 ?
|
|
756
|
+
issue && issue.articles && issue.articles.length > 0 ? React__default.createElement(
|
|
757
757
|
'a',
|
|
758
758
|
{ href: publication.identifier.current + '/' + issue.identifier.current, className: 'btn btn-primary' },
|
|
759
759
|
'View Issue'
|
|
760
760
|
) : null,
|
|
761
|
-
issue.pdf && issue.pdf.asset && issue.pdf.asset.url &&
|
|
761
|
+
issue.pdf && issue.pdf.asset && issue.pdf.asset.url && React__default.createElement(
|
|
762
762
|
'a',
|
|
763
763
|
{ rel: 'noopener', href: issue.pdf.asset.url, target: '_blank', className: 'btn btn-primary' },
|
|
764
764
|
'Download Issue'
|
|
@@ -768,60 +768,60 @@ var PublicationLanding = function PublicationLanding(props) {
|
|
|
768
768
|
)
|
|
769
769
|
);
|
|
770
770
|
}) : !activeContentPlacement && !activeYear && issueData && issueData.length > 0 ? issueData.map(function (issue, key) {
|
|
771
|
-
return
|
|
772
|
-
Card,
|
|
771
|
+
return React__default.createElement(
|
|
772
|
+
Card$1,
|
|
773
773
|
{ key: key, className: 'issueCard' },
|
|
774
|
-
|
|
775
|
-
Row,
|
|
774
|
+
React__default.createElement(
|
|
775
|
+
Row$1,
|
|
776
776
|
null,
|
|
777
|
-
|
|
778
|
-
Col,
|
|
777
|
+
React__default.createElement(
|
|
778
|
+
Col$1,
|
|
779
779
|
{ md: 3, id: 'issueThumbnail' },
|
|
780
|
-
|
|
780
|
+
React__default.createElement(
|
|
781
781
|
LazyLoad,
|
|
782
782
|
{ once: true },
|
|
783
|
-
|
|
783
|
+
React__default.createElement(Card$1.Img, { src: issue.thumbnail })
|
|
784
784
|
)
|
|
785
785
|
),
|
|
786
|
-
|
|
787
|
-
Col,
|
|
786
|
+
React__default.createElement(
|
|
787
|
+
Col$1,
|
|
788
788
|
{ md: 9, id: 'issueDetail' },
|
|
789
|
-
|
|
790
|
-
Card.Body,
|
|
789
|
+
React__default.createElement(
|
|
790
|
+
Card$1.Body,
|
|
791
791
|
null,
|
|
792
|
-
|
|
793
|
-
Card.Title,
|
|
792
|
+
React__default.createElement(
|
|
793
|
+
Card$1.Title,
|
|
794
794
|
null,
|
|
795
795
|
issue.name
|
|
796
796
|
),
|
|
797
|
-
issue.source &&
|
|
797
|
+
issue.source && React__default.createElement(
|
|
798
798
|
'div',
|
|
799
799
|
{ className: 'content-category-label' },
|
|
800
|
-
|
|
800
|
+
React__default.createElement(
|
|
801
801
|
'div',
|
|
802
802
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
803
803
|
issue.source
|
|
804
804
|
)
|
|
805
805
|
),
|
|
806
|
-
issue.volume && issue.number &&
|
|
806
|
+
issue.volume && issue.number && React__default.createElement(
|
|
807
807
|
'p',
|
|
808
808
|
null,
|
|
809
809
|
'Volume: ',
|
|
810
810
|
issue.volume,
|
|
811
|
-
|
|
811
|
+
React__default.createElement('br', null),
|
|
812
812
|
'Issue: ',
|
|
813
813
|
issue.number
|
|
814
814
|
)
|
|
815
815
|
),
|
|
816
|
-
|
|
817
|
-
Card.Footer,
|
|
816
|
+
React__default.createElement(
|
|
817
|
+
Card$1.Footer,
|
|
818
818
|
null,
|
|
819
|
-
issue && issue.articles && issue.articles.length > 0 ?
|
|
819
|
+
issue && issue.articles && issue.articles.length > 0 ? React__default.createElement(
|
|
820
820
|
'a',
|
|
821
821
|
{ href: publication.identifier.current + '/' + issue.identifier.current, className: 'btn btn-primary' },
|
|
822
822
|
'View Issue'
|
|
823
823
|
) : null,
|
|
824
|
-
issue.pdf && issue.pdf.asset && issue.pdf.asset.url &&
|
|
824
|
+
issue.pdf && issue.pdf.asset && issue.pdf.asset.url && React__default.createElement(
|
|
825
825
|
'a',
|
|
826
826
|
{ rel: 'noopener', href: issue.pdf.asset.url, target: '_blank', className: 'btn btn-primary' },
|
|
827
827
|
'Download Issue'
|
|
@@ -830,12 +830,12 @@ var PublicationLanding = function PublicationLanding(props) {
|
|
|
830
830
|
)
|
|
831
831
|
)
|
|
832
832
|
);
|
|
833
|
-
}) :
|
|
833
|
+
}) : React__default.createElement(
|
|
834
834
|
'em',
|
|
835
835
|
null,
|
|
836
836
|
'New content coming soon, please check back later.'
|
|
837
837
|
),
|
|
838
|
-
|
|
838
|
+
React__default.createElement(
|
|
839
839
|
'style',
|
|
840
840
|
{ jsx: 'true' },
|
|
841
841
|
'\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 '
|