@mjhls/mjh-framework 1.0.929 → 1.0.931
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/ArticleProgramLandingPage.js +4 -2
- package/dist/cjs/ExternalResources.js +3 -1
- package/dist/cjs/HorizontalArticleListing.js +4 -2
- package/dist/cjs/IssueLanding.js +4 -2
- package/dist/cjs/{MediaSeriesCard-7dad50bb.js → MediaSeriesCard-6dd7dc87.js} +1 -1
- package/dist/cjs/MediaSeriesLanding.js +5 -3
- package/dist/cjs/MediaSeriesLandingPaginated.js +4 -2
- package/dist/cjs/PartnerDetailListing.js +4 -2
- package/dist/cjs/PartnerDetailListingPaginated.js +3 -1
- package/dist/cjs/TaxonomyDescription.js +4 -2
- package/dist/cjs/VideoProgramLandingPage.js +2 -1
- package/dist/cjs/View.js +3 -2
- package/dist/cjs/getQuery.js +2 -2
- package/dist/cjs/getSerializers.js +4 -2
- package/dist/cjs/{index-07f1af18.js → index-636dcd3f.js} +453 -27
- package/dist/cjs/index.js +1 -1
- package/dist/esm/ArticleProgramLandingPage.js +4 -2
- package/dist/esm/ExternalResources.js +3 -1
- package/dist/esm/HorizontalArticleListing.js +4 -2
- package/dist/esm/IssueLanding.js +4 -2
- package/dist/esm/{MediaSeriesCard-d514b9be.js → MediaSeriesCard-a40e4d77.js} +1 -1
- package/dist/esm/MediaSeriesLanding.js +5 -3
- package/dist/esm/MediaSeriesLandingPaginated.js +4 -2
- package/dist/esm/PartnerDetailListing.js +4 -2
- package/dist/esm/PartnerDetailListingPaginated.js +3 -1
- package/dist/esm/TaxonomyDescription.js +4 -2
- package/dist/esm/VideoProgramLandingPage.js +2 -1
- package/dist/esm/View.js +3 -2
- package/dist/esm/getQuery.js +2 -2
- package/dist/esm/getSerializers.js +4 -2
- package/dist/esm/{index-c071590e.js → index-fa71969f.js} +454 -30
- package/dist/esm/index.js +1 -1
- package/package.json +2 -1
|
@@ -3,7 +3,7 @@ import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
|
3
3
|
import { _ as _extends } from './extends-6d8e3924.js';
|
|
4
4
|
import React__default from 'react';
|
|
5
5
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
6
|
-
import { g as getSerializers } from './index-
|
|
6
|
+
import { g as getSerializers } from './index-fa71969f.js';
|
|
7
7
|
import ArticleSeriesListing from './ArticleSeriesListing.js';
|
|
8
8
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
9
9
|
import './core.get-iterator-method-ea258bb1.js';
|
|
@@ -30,6 +30,9 @@ import 'react-dom';
|
|
|
30
30
|
import './typeof-e9fc0c5d.js';
|
|
31
31
|
import './_is-array-8d21b9e3.js';
|
|
32
32
|
import './brightcove-react-player-loader.es-57a70a56.js';
|
|
33
|
+
import 'react-bootstrap/Modal';
|
|
34
|
+
import 'react-bootstrap/Button';
|
|
35
|
+
import 'react-bootstrap/Form';
|
|
33
36
|
import './GroupDeck.js';
|
|
34
37
|
import './smoothscroll-fa4e3f8c.js';
|
|
35
38
|
import './moment-bc12cb97.js';
|
|
@@ -39,7 +42,6 @@ import 'react-share';
|
|
|
39
42
|
import './_object-to-array-2300e51b.js';
|
|
40
43
|
import './toConsumableArray-f7074d7c.js';
|
|
41
44
|
import 'react-bootstrap/Pagination';
|
|
42
|
-
import 'react-bootstrap/Button';
|
|
43
45
|
import './entities-6d9154b4.js';
|
|
44
46
|
import './AdSlot.js';
|
|
45
47
|
import './debounce-533d9748.js';
|
|
@@ -2,7 +2,7 @@ import { _ as _extends } from './extends-6d8e3924.js';
|
|
|
2
2
|
import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
3
3
|
import React__default, { useState, useEffect } from 'react';
|
|
4
4
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
5
|
-
import { g as getSerializers } from './index-
|
|
5
|
+
import { g as getSerializers } from './index-fa71969f.js';
|
|
6
6
|
import { m as momentTimezone } from './index-79cfd25c.js';
|
|
7
7
|
import { useRouter } from 'next/router';
|
|
8
8
|
import Button from 'react-bootstrap/Button';
|
|
@@ -31,6 +31,8 @@ import 'react-dom';
|
|
|
31
31
|
import './typeof-e9fc0c5d.js';
|
|
32
32
|
import './_is-array-8d21b9e3.js';
|
|
33
33
|
import './brightcove-react-player-loader.es-57a70a56.js';
|
|
34
|
+
import 'react-bootstrap/Modal';
|
|
35
|
+
import 'react-bootstrap/Form';
|
|
34
36
|
import './GroupDeck.js';
|
|
35
37
|
import './smoothscroll-fa4e3f8c.js';
|
|
36
38
|
import './moment-bc12cb97.js';
|
|
@@ -3,7 +3,7 @@ import React__default from 'react';
|
|
|
3
3
|
import ArticleCarousel from './ArticleCarousel.js';
|
|
4
4
|
import { I as IoIosArrowForward } from './index.esm-eb1e8e80.js';
|
|
5
5
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
6
|
-
import { g as getSerializers } from './index-
|
|
6
|
+
import { g as getSerializers } from './index-fa71969f.js';
|
|
7
7
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
8
8
|
import './core.get-iterator-method-ea258bb1.js';
|
|
9
9
|
import './_object-pie-133f504a.js';
|
|
@@ -34,6 +34,9 @@ import './urlForFile-b69adffc.js';
|
|
|
34
34
|
import './typeof-e9fc0c5d.js';
|
|
35
35
|
import './_is-array-8d21b9e3.js';
|
|
36
36
|
import './brightcove-react-player-loader.es-57a70a56.js';
|
|
37
|
+
import 'react-bootstrap/Modal';
|
|
38
|
+
import 'react-bootstrap/Button';
|
|
39
|
+
import 'react-bootstrap/Form';
|
|
37
40
|
import './GroupDeck.js';
|
|
38
41
|
import './moment-bc12cb97.js';
|
|
39
42
|
import './SocialShare.js';
|
|
@@ -42,7 +45,6 @@ import 'react-share';
|
|
|
42
45
|
import './_object-to-array-2300e51b.js';
|
|
43
46
|
import './toConsumableArray-f7074d7c.js';
|
|
44
47
|
import 'react-bootstrap/Pagination';
|
|
45
|
-
import 'react-bootstrap/Button';
|
|
46
48
|
import './entities-6d9154b4.js';
|
|
47
49
|
import './AdSlot.js';
|
|
48
50
|
import './debounce-533d9748.js';
|
package/dist/esm/IssueLanding.js
CHANGED
|
@@ -3,7 +3,7 @@ import React__default from 'react';
|
|
|
3
3
|
import QueueDeckExpanded from './QueueDeckExpanded.js';
|
|
4
4
|
import Breadcrumbs from './Breadcrumbs.js';
|
|
5
5
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
6
|
-
import { g as getSerializers } from './index-
|
|
6
|
+
import { g as getSerializers } from './index-fa71969f.js';
|
|
7
7
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
8
8
|
import './core.get-iterator-method-ea258bb1.js';
|
|
9
9
|
import './_object-pie-133f504a.js';
|
|
@@ -48,6 +48,9 @@ import './urlForFile-b69adffc.js';
|
|
|
48
48
|
import './typeof-e9fc0c5d.js';
|
|
49
49
|
import './_is-array-8d21b9e3.js';
|
|
50
50
|
import './brightcove-react-player-loader.es-57a70a56.js';
|
|
51
|
+
import 'react-bootstrap/Modal';
|
|
52
|
+
import 'react-bootstrap/Button';
|
|
53
|
+
import 'react-bootstrap/Form';
|
|
51
54
|
import './GroupDeck.js';
|
|
52
55
|
import './smoothscroll-fa4e3f8c.js';
|
|
53
56
|
import './SocialShare.js';
|
|
@@ -55,7 +58,6 @@ import 'next/head';
|
|
|
55
58
|
import 'react-share';
|
|
56
59
|
import './_object-to-array-2300e51b.js';
|
|
57
60
|
import 'react-bootstrap/Pagination';
|
|
58
|
-
import 'react-bootstrap/Button';
|
|
59
61
|
import 'react-bootstrap/Row';
|
|
60
62
|
import 'react-bootstrap/Col';
|
|
61
63
|
import './inherits-a6ba2ec4.js';
|
|
@@ -9,7 +9,7 @@ import urlFor from './urlFor.js';
|
|
|
9
9
|
import { m as moment } from './moment-bc12cb97.js';
|
|
10
10
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
11
11
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
12
|
-
import { g as getSerializers } from './index-
|
|
12
|
+
import { g as getSerializers } from './index-fa71969f.js';
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* Copyright (c) 2013-present, Facebook, Inc.
|
|
@@ -3,13 +3,13 @@ import { _ as _typeof } from './typeof-e9fc0c5d.js';
|
|
|
3
3
|
import { _ as _extends } from './extends-6d8e3924.js';
|
|
4
4
|
import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
5
5
|
import React__default, { useState, useEffect } from 'react';
|
|
6
|
-
import { M as MediaSeriesCard, D as DropdownButton, a as Dropdown } from './MediaSeriesCard-
|
|
6
|
+
import { M as MediaSeriesCard, D as DropdownButton, a as Dropdown } from './MediaSeriesCard-a40e4d77.js';
|
|
7
7
|
import './index-98ca9cec.js';
|
|
8
8
|
import 'react-dom';
|
|
9
9
|
import Link from 'next/link';
|
|
10
10
|
import MasterDeck from './MasterDeck.js';
|
|
11
11
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
12
|
-
import { g as getSerializers } from './index-
|
|
12
|
+
import { g as getSerializers } from './index-fa71969f.js';
|
|
13
13
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
14
14
|
import './core.get-iterator-method-ea258bb1.js';
|
|
15
15
|
import './web.dom.iterable-ab4dea5c.js';
|
|
@@ -52,6 +52,9 @@ import './index-c7e2ac95.js';
|
|
|
52
52
|
import './util-8ed16d48.js';
|
|
53
53
|
import './urlForFile-b69adffc.js';
|
|
54
54
|
import './brightcove-react-player-loader.es-57a70a56.js';
|
|
55
|
+
import 'react-bootstrap/Modal';
|
|
56
|
+
import 'react-bootstrap/Button';
|
|
57
|
+
import 'react-bootstrap/Form';
|
|
55
58
|
import './GroupDeck.js';
|
|
56
59
|
import './smoothscroll-fa4e3f8c.js';
|
|
57
60
|
import './SocialShare.js';
|
|
@@ -59,7 +62,6 @@ import 'next/head';
|
|
|
59
62
|
import 'react-share';
|
|
60
63
|
import './_object-to-array-2300e51b.js';
|
|
61
64
|
import 'react-bootstrap/Pagination';
|
|
62
|
-
import 'react-bootstrap/Button';
|
|
63
65
|
import './entities-6d9154b4.js';
|
|
64
66
|
import './index.esm-eb1e8e80.js';
|
|
65
67
|
import './iconBase-ccc56b97.js';
|
|
@@ -3,13 +3,13 @@ import { _ as _typeof } from './typeof-e9fc0c5d.js';
|
|
|
3
3
|
import { _ as _extends } from './extends-6d8e3924.js';
|
|
4
4
|
import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
5
5
|
import React__default, { useState, useEffect } from 'react';
|
|
6
|
-
import { M as MediaSeriesCard, D as DropdownButton, a as Dropdown } from './MediaSeriesCard-
|
|
6
|
+
import { M as MediaSeriesCard, D as DropdownButton, a as Dropdown } from './MediaSeriesCard-a40e4d77.js';
|
|
7
7
|
import './index-98ca9cec.js';
|
|
8
8
|
import 'react-dom';
|
|
9
9
|
import Link from 'next/link';
|
|
10
10
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
11
11
|
import MasterDeck from './MasterDeckPaginated.js';
|
|
12
|
-
import { g as getSerializers } from './index-
|
|
12
|
+
import { g as getSerializers } from './index-fa71969f.js';
|
|
13
13
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
14
14
|
import './core.get-iterator-method-ea258bb1.js';
|
|
15
15
|
import './web.dom.iterable-ab4dea5c.js';
|
|
@@ -54,6 +54,8 @@ import './index-c7e2ac95.js';
|
|
|
54
54
|
import './util-8ed16d48.js';
|
|
55
55
|
import './urlForFile-b69adffc.js';
|
|
56
56
|
import './brightcove-react-player-loader.es-57a70a56.js';
|
|
57
|
+
import 'react-bootstrap/Modal';
|
|
58
|
+
import 'react-bootstrap/Form';
|
|
57
59
|
import './GroupDeck.js';
|
|
58
60
|
import './smoothscroll-fa4e3f8c.js';
|
|
59
61
|
import './SocialShare.js';
|
|
@@ -11,7 +11,7 @@ import QueueDeckExpanded from './QueueDeckExpanded.js';
|
|
|
11
11
|
import Breadcrumbs from './Breadcrumbs.js';
|
|
12
12
|
import Feature from './Feature.js';
|
|
13
13
|
import urlFor from './urlFor.js';
|
|
14
|
-
import { g as getSerializers } from './index-
|
|
14
|
+
import { g as getSerializers } from './index-fa71969f.js';
|
|
15
15
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
16
16
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
17
17
|
import './core.get-iterator-method-ea258bb1.js';
|
|
@@ -55,13 +55,15 @@ import './urlForFile-b69adffc.js';
|
|
|
55
55
|
import './typeof-e9fc0c5d.js';
|
|
56
56
|
import './_is-array-8d21b9e3.js';
|
|
57
57
|
import './brightcove-react-player-loader.es-57a70a56.js';
|
|
58
|
+
import 'react-bootstrap/Modal';
|
|
59
|
+
import 'react-bootstrap/Button';
|
|
60
|
+
import 'react-bootstrap/Form';
|
|
58
61
|
import './GroupDeck.js';
|
|
59
62
|
import './SocialShare.js';
|
|
60
63
|
import 'next/head';
|
|
61
64
|
import 'react-share';
|
|
62
65
|
import './_object-to-array-2300e51b.js';
|
|
63
66
|
import 'react-bootstrap/Pagination';
|
|
64
|
-
import 'react-bootstrap/Button';
|
|
65
67
|
import 'react-bootstrap/Row';
|
|
66
68
|
import 'react-bootstrap/Col';
|
|
67
69
|
import './inherits-a6ba2ec4.js';
|
|
@@ -11,7 +11,7 @@ import QueueDeckExpanded from './QueueDeckExpandedPaginated.js';
|
|
|
11
11
|
import Breadcrumbs from './Breadcrumbs.js';
|
|
12
12
|
import Feature from './Feature.js';
|
|
13
13
|
import urlFor from './urlFor.js';
|
|
14
|
-
import { g as getSerializers } from './index-
|
|
14
|
+
import { g as getSerializers } from './index-fa71969f.js';
|
|
15
15
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
16
16
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
17
17
|
import './core.get-iterator-method-ea258bb1.js';
|
|
@@ -58,6 +58,8 @@ import './urlForFile-b69adffc.js';
|
|
|
58
58
|
import './typeof-e9fc0c5d.js';
|
|
59
59
|
import './_is-array-8d21b9e3.js';
|
|
60
60
|
import './brightcove-react-player-loader.es-57a70a56.js';
|
|
61
|
+
import 'react-bootstrap/Modal';
|
|
62
|
+
import 'react-bootstrap/Form';
|
|
61
63
|
import './GroupDeck.js';
|
|
62
64
|
import './SocialShare.js';
|
|
63
65
|
import 'next/head';
|
|
@@ -4,7 +4,7 @@ import React__default from 'react';
|
|
|
4
4
|
import { useRouter } from 'next/router';
|
|
5
5
|
import Head from 'next/head';
|
|
6
6
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
7
|
-
import { g as getSerializers } from './index-
|
|
7
|
+
import { g as getSerializers } from './index-fa71969f.js';
|
|
8
8
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
9
9
|
import './core.get-iterator-method-ea258bb1.js';
|
|
10
10
|
import './web.dom.iterable-ab4dea5c.js';
|
|
@@ -30,6 +30,9 @@ import 'react-dom';
|
|
|
30
30
|
import './typeof-e9fc0c5d.js';
|
|
31
31
|
import './_is-array-8d21b9e3.js';
|
|
32
32
|
import './brightcove-react-player-loader.es-57a70a56.js';
|
|
33
|
+
import 'react-bootstrap/Modal';
|
|
34
|
+
import 'react-bootstrap/Button';
|
|
35
|
+
import 'react-bootstrap/Form';
|
|
33
36
|
import './GroupDeck.js';
|
|
34
37
|
import './smoothscroll-fa4e3f8c.js';
|
|
35
38
|
import './moment-bc12cb97.js';
|
|
@@ -38,7 +41,6 @@ import 'react-share';
|
|
|
38
41
|
import './_object-to-array-2300e51b.js';
|
|
39
42
|
import './toConsumableArray-f7074d7c.js';
|
|
40
43
|
import 'react-bootstrap/Pagination';
|
|
41
|
-
import 'react-bootstrap/Button';
|
|
42
44
|
import './entities-6d9154b4.js';
|
|
43
45
|
import './AdSlot.js';
|
|
44
46
|
import './debounce-533d9748.js';
|
|
@@ -5,7 +5,7 @@ import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
|
5
5
|
import Col from 'react-bootstrap/Col';
|
|
6
6
|
import Form from 'react-bootstrap/Form';
|
|
7
7
|
import Button from 'react-bootstrap/Button';
|
|
8
|
-
import { g as getSerializers } from './index-
|
|
8
|
+
import { g as getSerializers } from './index-fa71969f.js';
|
|
9
9
|
import VideoSeriesListing from './VideoSeriesListing.js';
|
|
10
10
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
11
11
|
import './core.get-iterator-method-ea258bb1.js';
|
|
@@ -33,6 +33,7 @@ import 'react-dom';
|
|
|
33
33
|
import './typeof-e9fc0c5d.js';
|
|
34
34
|
import './_is-array-8d21b9e3.js';
|
|
35
35
|
import './brightcove-react-player-loader.es-57a70a56.js';
|
|
36
|
+
import 'react-bootstrap/Modal';
|
|
36
37
|
import './GroupDeck.js';
|
|
37
38
|
import './smoothscroll-fa4e3f8c.js';
|
|
38
39
|
import './moment-bc12cb97.js';
|
package/dist/esm/View.js
CHANGED
|
@@ -15,7 +15,7 @@ import FormControl from 'react-bootstrap/FormControl';
|
|
|
15
15
|
import Button from 'react-bootstrap/Button';
|
|
16
16
|
import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
17
17
|
import SocialShare from './SocialShare.js';
|
|
18
|
-
import { r as renderAuthor, g as getSerializers } from './index-
|
|
18
|
+
import { r as renderAuthor, g as getSerializers } from './index-fa71969f.js';
|
|
19
19
|
import DFPAdSlot from './AdSlot.js';
|
|
20
20
|
import { S as SeriesSlider } from './SeriesSlider-45adb8dc.js';
|
|
21
21
|
import { g as getTargeting, a as getContentPlacementUrl } from './getTargeting-42f9b439.js';
|
|
@@ -51,6 +51,7 @@ import './util-8ed16d48.js';
|
|
|
51
51
|
import './Beam.js';
|
|
52
52
|
import './Segment.js';
|
|
53
53
|
import './brightcove-react-player-loader.es-57a70a56.js';
|
|
54
|
+
import 'react-bootstrap/Modal';
|
|
54
55
|
import './GroupDeck.js';
|
|
55
56
|
import './smoothscroll-fa4e3f8c.js';
|
|
56
57
|
import './_is-array-8d21b9e3.js';
|
|
@@ -1325,7 +1326,7 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1325
1326
|
React__default.createElement(
|
|
1326
1327
|
'div',
|
|
1327
1328
|
{ className: 'downloads-container' },
|
|
1328
|
-
issue && downloadCitation && React__default.createElement(
|
|
1329
|
+
issue && downloadCitation && (!issue.hasOwnProperty('show_download_ris_button') || issue.show_download_ris_button !== false) && (!issue.publication || !issue.publication.hasOwnProperty('show_download_ris_button') || issue.publication.show_download_ris_button !== false) && React__default.createElement(
|
|
1329
1330
|
Button,
|
|
1330
1331
|
{ className: 'ris-download-button', onClick: function onClick() {
|
|
1331
1332
|
return downloadRIS();
|
package/dist/esm/getQuery.js
CHANGED
|
@@ -8,9 +8,9 @@ var getQuery = function getQuery(type) {
|
|
|
8
8
|
|
|
9
9
|
switch (type) {
|
|
10
10
|
case 'related':
|
|
11
|
-
return '*[\n _type == "article"\n && defined(title)\n && defined(url)\n && !(_id in path("drafts.**"))\n && is_visible == true\n && defined(published) \n && dateTime(published) <= dateTime(now())\n && passwordLock!=true\n && taxonomyMapping[]._ref in $taxonomy\n && taxonomyMapping[].disableAds != \'true\'\n && contentCategory->.name != \'Poll\'\n && contentCategory->.name != \'Slideshows\'\n && contentCategory->.disableAds != \'true\'\n && ExcludeFromInfiniteScroll !=true\n && url.current != $url\n && !defined(body[].videos)\n ' + conditions + '\n ]| order(published desc)[' + (articleCount ? articleCount : '$index') + ']{\n ' + params + '\n title,\n published,\n summary,\n thumbnail,\n fieldAbstract,\n ...,\n passwordLock,\n password,\n "authorDetails": authorMapping[]->{ displayName, url, profileImage, biography, showSocialShare },\n body[] {\n ...,\n asset->,\n images[]{\n ...,\n asset->\n },\n content[]{\n ...,\n asset->\n },\n videos[]{\n ...,\n thumbnail{\n _type,\n asset->\n }\n },\n response[]{\n ...,\n asset->\n },\n quizzes[]{\n ...,\n answer[]{\n ...,\n asset->\n },\n question[]{\n ...,\n asset->\n }\n },\n poster {\n _type,\n asset->\n },\n slides[]{\n ...,\n slideshowImage{\n ...,\n asset->\n }\n },\n upload_doc {\n _type,\n asset->\n },\n uploadAudio {\n _type,\n asset->\n }\n },\n \'category\':contentCategory->{\n name,\n disableAds\n },\n \'content_placement\': taxonomyMapping[]-> {\n _id,\n \'ancestor\': parent->parent->identifier,\n \'parent\': parent->identifier,\n \'name\': name,\n \'path\': identifier,\n disableAds,\n showSocialShare\n },\n documentGroup-> {\n name,\n thumbnail,\n parent->{...,parent->},\n isShow,\n showSocialShare,\n \'path\': identifier.current,\n adTargetingURL\n },\n documentGroupMapping[]-> {\n _id,\n name,\n thumbnail,\n parent->{...,parent->},\n isShow,\n showSocialShare,\n \'path\': identifier.current,\n adTargetingURL\n },\n \'issue\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.issueGroup._ref][0] {\n name,\n \'path\': identifier.current,\n \'publication\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.parent._ref][0] {\n name,\n \'path\': identifier.current
|
|
11
|
+
return '*[\n _type == "article"\n && defined(title)\n && defined(url)\n && !(_id in path("drafts.**"))\n && is_visible == true\n && defined(published) \n && dateTime(published) <= dateTime(now())\n && passwordLock!=true\n && taxonomyMapping[]._ref in $taxonomy\n && taxonomyMapping[].disableAds != \'true\'\n && contentCategory->.name != \'Poll\'\n && contentCategory->.name != \'Slideshows\'\n && contentCategory->.disableAds != \'true\'\n && ExcludeFromInfiniteScroll !=true\n && url.current != $url\n && !defined(body[].videos)\n ' + conditions + '\n ]| order(published desc)[' + (articleCount ? articleCount : '$index') + ']{\n ' + params + '\n title,\n published,\n summary,\n thumbnail,\n fieldAbstract,\n ...,\n passwordLock,\n password,\n "authorDetails": authorMapping[]->{ displayName, url, profileImage, biography, showSocialShare },\n body[] {\n ...,\n asset->,\n images[]{\n ...,\n asset->\n },\n content[]{\n ...,\n asset->\n },\n videos[]{\n ...,\n thumbnail{\n _type,\n asset->\n }\n },\n response[]{\n ...,\n asset->\n },\n quizzes[]{\n ...,\n answer[]{\n ...,\n asset->\n },\n question[]{\n ...,\n asset->\n }\n },\n poster {\n _type,\n asset->\n },\n slides[]{\n ...,\n slideshowImage{\n ...,\n asset->\n }\n },\n upload_doc {\n _type,\n asset->\n },\n uploadAudio {\n _type,\n asset->\n }\n },\n \'category\':contentCategory->{\n name,\n disableAds\n },\n \'content_placement\': taxonomyMapping[]-> {\n _id,\n \'ancestor\': parent->parent->identifier,\n \'parent\': parent->identifier,\n \'name\': name,\n \'path\': identifier,\n disableAds,\n showSocialShare\n },\n documentGroup-> {\n name,\n thumbnail,\n parent->{...,parent->},\n isShow,\n showSocialShare,\n \'path\': identifier.current,\n adTargetingURL\n },\n documentGroupMapping[]-> {\n _id,\n name,\n thumbnail,\n parent->{...,parent->},\n isShow,\n showSocialShare,\n \'path\': identifier.current,\n adTargetingURL\n },\n \'issue\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.issueGroup._ref][0] {\n name,\n \'path\': identifier.current,\n show_download_ris_button,\n \'publication\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.parent._ref][0] {\n name,\n \'path\': identifier.current,\n show_download_ris_button,\n },\n \'url\' : pdf.asset-> url,\n \'pdf\': pdf.asset->,\n isbn_issn,\n abbreviatedJournal,\n }\n }';
|
|
12
12
|
case 'article':
|
|
13
|
-
return '*[\n _type == "article"\n && !(_id in path("drafts.**"))\n && defined(title)\n && defined(url)\n && is_visible != false\n && url.current == $url\n ' + conditions + '\n ][0]{\n ' + params + '\n title,\n published,\n summary,\n thumbnail,\n fieldAbstract,\n ...,\n passwordLock,\n password,\n issueGroup-> { _id, name, identifier, parent-> },\n "authorDetails": authorMapping[]->{ displayName, url, profileImage, biography, showSocialShare },\n body[] {\n ...,\n asset->,\n images[]{\n ...,\n asset->\n },\n content[]{\n ...,\n asset->\n },\n videos[]{\n ...,\n thumbnail{\n _type,\n asset->\n }\n },\n response[]{\n ...,\n asset->\n },\n quizzes[]{\n ...,\n answer[]{\n ...,\n asset->\n },\n question[]{\n ...,\n asset->\n }\n },\n poster {\n _type,\n asset->\n },\n slides[]{\n ...,\n slideshowImage{\n ...,\n asset->\n }\n },\n upload_doc {\n _type,\n asset->\n },\n uploadAudio {\n _type,\n asset->\n },\n medias[]{\n ...,\n upload_doc {\n _type,\n asset-> \n },\n poster {\n _type,\n asset-> \n }\n },\n articles[]{\n ...,\n thumbnail{\n ...,\n asset-> \n },\n "authorDetails": authorMapping[]->{ displayName, url, profileImage, biography, showSocialShare },\n text[]{\n ...,\n upload_doc {\n _type,\n asset->\n },\n uploadAudio {\n _type,\n asset->\n },\n }\n }\n },\n \'content_placement\': taxonomyMapping[]-> {\n ...,\n \'ancestor\': parent->parent->identifier,\n \'parent\': parent->identifier,\n \'name\': name,\n \'path\': identifier,\n showSocialShare\n },\n documentGroup-> {\n _id,\n name,\n thumbnail,\n parent->{...,parent->},\n isShow,\n isSeries,\n excludeRelatedContents,\n showSocialShare,\n \'path\': identifier.current,\n adTargetingURL\n },\n documentGroupMapping[]-> {\n _id,\n name,\n thumbnail,\n parent->{...,parent->},\n isShow,\n showSocialShare,\n excludeRelatedContents,\n \'path\': identifier.current\n },\n \'category\':contentCategory->{\n name,\n disableAds\n },\n \'issue\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.issueGroup._ref][0] {\n name,\n volume,\n year,\n \'issueNumber\': number,\n \'articleSource\': source,\n \'path\': identifier.current,\n \'publication\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.parent._ref][0] {\n name,\n \'path\': identifier.current
|
|
13
|
+
return '*[\n _type == "article"\n && !(_id in path("drafts.**"))\n && defined(title)\n && defined(url)\n && is_visible != false\n && url.current == $url\n ' + conditions + '\n ][0]{\n ' + params + '\n title,\n published,\n summary,\n thumbnail,\n fieldAbstract,\n ...,\n passwordLock,\n password,\n issueGroup-> { _id, name, identifier, parent-> },\n "authorDetails": authorMapping[]->{ displayName, url, profileImage, biography, showSocialShare },\n body[] {\n ...,\n asset->,\n images[]{\n ...,\n asset->\n },\n content[]{\n ...,\n asset->\n },\n videos[]{\n ...,\n thumbnail{\n _type,\n asset->\n }\n },\n response[]{\n ...,\n asset->\n },\n quizzes[]{\n ...,\n answer[]{\n ...,\n asset->\n },\n question[]{\n ...,\n asset->\n }\n },\n poster {\n _type,\n asset->\n },\n slides[]{\n ...,\n slideshowImage{\n ...,\n asset->\n }\n },\n upload_doc {\n _type,\n asset->\n },\n uploadAudio {\n _type,\n asset->\n },\n medias[]{\n ...,\n upload_doc {\n _type,\n asset-> \n },\n poster {\n _type,\n asset-> \n }\n },\n articles[]{\n ...,\n thumbnail{\n ...,\n asset-> \n },\n "authorDetails": authorMapping[]->{ displayName, url, profileImage, biography, showSocialShare },\n text[]{\n ...,\n upload_doc {\n _type,\n asset->\n },\n uploadAudio {\n _type,\n asset->\n },\n }\n }\n },\n \'content_placement\': taxonomyMapping[]-> {\n ...,\n \'ancestor\': parent->parent->identifier,\n \'parent\': parent->identifier,\n \'name\': name,\n \'path\': identifier,\n showSocialShare\n },\n documentGroup-> {\n _id,\n name,\n thumbnail,\n parent->{...,parent->},\n isShow,\n isSeries,\n excludeRelatedContents,\n showSocialShare,\n \'path\': identifier.current,\n adTargetingURL\n },\n documentGroupMapping[]-> {\n _id,\n name,\n thumbnail,\n parent->{...,parent->},\n isShow,\n showSocialShare,\n excludeRelatedContents,\n \'path\': identifier.current\n },\n \'category\':contentCategory->{\n name,\n disableAds\n },\n \'issue\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.issueGroup._ref][0] {\n name,\n volume,\n year,\n \'issueNumber\': number,\n \'articleSource\': source,\n \'path\': identifier.current,\n show_download_ris_button,\n \'publication\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.parent._ref][0] {\n name,\n \'path\': identifier.current,\n show_download_ris_button,\n },\n \'url\' : pdf.asset-> url,\n \'pdf\': pdf.asset->,\n isbn_issn,\n abbreviatedJournal,\n }\n\n }';
|
|
14
14
|
case 'publication':
|
|
15
15
|
return '*[_type == \'publication\'\n && identifier.current == $publication\n ' + conditions + '][0] {\n ' + params + '\n ...,\n \'issues\': *[_type == \'publication\'\n && is_visible\n && references(^._id)\n && defined(identifier)] {\n ...,\n thumbnail{ ..., asset-> },\n taxonomyMapping[]->,\n pdf{asset->},\n } | order(year desc, month desc)\n }';
|
|
16
16
|
case 'issue':
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './extends-6d8e3924.js';
|
|
2
2
|
import 'react';
|
|
3
|
-
export { g as default } from './index-
|
|
3
|
+
export { g as default } from './index-fa71969f.js';
|
|
4
4
|
import './BlockContent-1e73bd2c.js';
|
|
5
5
|
import './entities-6d9154b4.js';
|
|
6
6
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
@@ -30,6 +30,9 @@ import 'react-dom';
|
|
|
30
30
|
import './typeof-e9fc0c5d.js';
|
|
31
31
|
import './_is-array-8d21b9e3.js';
|
|
32
32
|
import './brightcove-react-player-loader.es-57a70a56.js';
|
|
33
|
+
import 'react-bootstrap/Modal';
|
|
34
|
+
import 'react-bootstrap/Button';
|
|
35
|
+
import 'react-bootstrap/Form';
|
|
33
36
|
import './GroupDeck.js';
|
|
34
37
|
import './smoothscroll-fa4e3f8c.js';
|
|
35
38
|
import './moment-bc12cb97.js';
|
|
@@ -39,7 +42,6 @@ import 'react-share';
|
|
|
39
42
|
import './_object-to-array-2300e51b.js';
|
|
40
43
|
import './toConsumableArray-f7074d7c.js';
|
|
41
44
|
import 'react-bootstrap/Pagination';
|
|
42
|
-
import 'react-bootstrap/Button';
|
|
43
45
|
import './AdSlot.js';
|
|
44
46
|
import './debounce-533d9748.js';
|
|
45
47
|
import './isSymbol-a7e9aafe.js';
|