@mjhls/mjh-framework 1.0.880-beta.0 → 1.0.881-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/cjs/AlgoliaSearch.js +38 -37
- package/dist/cjs/ArticleCarousel.js +2 -1
- package/dist/cjs/ArticleProgramLandingPage.js +4 -3
- package/dist/cjs/ArticleSeriesLandingPage.js +8 -1
- package/dist/cjs/ArticleSeriesListing.js +2 -1
- package/dist/cjs/Auth.js +6 -6
- package/dist/cjs/{BlockContent-9c6b07ad.js → BlockContent-091a991f.js} +2 -2
- package/dist/cjs/ConferenceArticleCard.js +3 -2
- package/dist/cjs/DeckContent.js +5 -4
- package/dist/cjs/DeckQueue.js +285 -5
- package/dist/cjs/EventsDeck.js +11 -11
- package/dist/cjs/ExternalResources.js +7 -6
- package/dist/cjs/Feature.js +3 -2
- package/dist/cjs/ForbesHero.js +7 -6
- package/dist/cjs/GridContent.js +16 -15
- package/dist/cjs/GridHero.js +7 -6
- package/dist/cjs/GroupDeck.js +7 -6
- package/dist/cjs/Hero.js +3 -2
- package/dist/cjs/HorizontalArticleListing.js +4 -3
- package/dist/cjs/HorizontalHero.js +3 -2
- package/dist/cjs/IssueContentDeck.js +8 -7
- package/dist/cjs/IssueDeck.js +6 -5
- package/dist/cjs/IssueLanding.js +7 -4
- package/dist/cjs/MasterDeck.js +550 -35
- package/dist/cjs/MediaSeriesLanding.js +269 -266
- package/dist/cjs/OncliveHero.js +3 -2
- package/dist/cjs/OncliveLargeHero.js +10 -9
- package/dist/cjs/{Pagination-9cb60fba.js → Pagination-d6a59f99.js} +3 -2
- package/dist/cjs/PartnerDetailListing.js +10 -7
- package/dist/cjs/PubSection.js +5 -2
- package/dist/cjs/PublicationDeck.js +6 -5
- package/dist/cjs/PublicationLanding.js +3 -3
- package/dist/cjs/QueueDeckExpanded.js +1547 -43
- package/dist/cjs/RelatedContent.js +5 -4
- package/dist/cjs/SeriesListingDeck.js +3 -2
- package/dist/cjs/{SeriesSlider-ec146338.js → SeriesSlider-49b81b0b.js} +6 -6
- package/dist/cjs/TaxonomyCard.js +6 -5
- package/dist/cjs/TaxonomyDescription.js +4 -3
- package/dist/cjs/ThumbnailCard.js +5 -4
- package/dist/cjs/VerticalHero.js +3 -2
- package/dist/cjs/VideoProgramLandingPage.js +4 -3
- package/dist/cjs/VideoSeriesCard.js +5 -4
- package/dist/cjs/VideoSeriesLandingPage.js +9 -4
- package/dist/cjs/VideoSeriesListing.js +2 -1
- package/dist/cjs/View.js +12 -11
- package/dist/cjs/YahooHero.js +6 -5
- package/dist/cjs/YoutubeGroup.js +10 -9
- package/dist/cjs/getRelatedArticle.js +6 -6
- package/dist/cjs/getSerializers.js +4 -3
- package/dist/cjs/{urlFor-3a61226f.js → index-be0c82be.js} +1 -58
- package/dist/cjs/{index-17c6af5a.js → index-bf60a71c.js} +99 -72
- package/dist/cjs/index.js +11 -10
- package/dist/cjs/urlFor.js +57 -3
- package/dist/esm/AlgoliaSearch.js +2 -1
- package/dist/esm/ArticleCarousel.js +2 -1
- package/dist/esm/ArticleProgramLandingPage.js +4 -3
- package/dist/esm/ArticleSeriesLandingPage.js +8 -1
- package/dist/esm/ArticleSeriesListing.js +2 -1
- package/dist/esm/{BlockContent-f4515898.js → BlockContent-e9b4ddcf.js} +1 -1
- package/dist/esm/ConferenceArticleCard.js +2 -1
- package/dist/esm/DeckContent.js +2 -1
- package/dist/esm/DeckQueue.js +282 -2
- package/dist/esm/EventsDeck.js +1 -1
- package/dist/esm/ExternalResources.js +4 -3
- package/dist/esm/Feature.js +2 -1
- package/dist/esm/ForbesHero.js +2 -1
- package/dist/esm/GridContent.js +2 -1
- package/dist/esm/GridHero.js +2 -1
- package/dist/esm/GroupDeck.js +2 -1
- package/dist/esm/Hero.js +2 -1
- package/dist/esm/HorizontalArticleListing.js +4 -3
- package/dist/esm/HorizontalHero.js +2 -1
- package/dist/esm/IssueContentDeck.js +2 -1
- package/dist/esm/IssueDeck.js +2 -1
- package/dist/esm/IssueLanding.js +7 -4
- package/dist/esm/MasterDeck.js +550 -35
- package/dist/esm/MediaSeriesLanding.js +8 -5
- package/dist/esm/OncliveHero.js +2 -1
- package/dist/esm/OncliveLargeHero.js +2 -1
- package/dist/esm/{Pagination-256b60e5.js → Pagination-f7c4c5ae.js} +3 -2
- package/dist/esm/PartnerDetailListing.js +7 -4
- package/dist/esm/PubSection.js +5 -2
- package/dist/esm/PublicationDeck.js +2 -1
- package/dist/esm/QueueDeckExpanded.js +1533 -29
- package/dist/esm/RelatedContent.js +2 -1
- package/dist/esm/SeriesListingDeck.js +3 -2
- package/dist/esm/{SeriesSlider-d6561e33.js → SeriesSlider-ce19fa25.js} +1 -1
- package/dist/esm/TaxonomyCard.js +3 -2
- package/dist/esm/TaxonomyDescription.js +4 -3
- package/dist/esm/ThumbnailCard.js +2 -1
- package/dist/esm/VerticalHero.js +2 -1
- package/dist/esm/VideoProgramLandingPage.js +4 -3
- package/dist/esm/VideoSeriesCard.js +2 -1
- package/dist/esm/VideoSeriesLandingPage.js +8 -3
- package/dist/esm/VideoSeriesListing.js +2 -1
- package/dist/esm/View.js +5 -4
- package/dist/esm/YahooHero.js +2 -1
- package/dist/esm/YoutubeGroup.js +2 -1
- package/dist/esm/getSerializers.js +4 -3
- package/dist/esm/{urlFor-23b2244b.js → index-73819142.js} +1 -58
- package/dist/esm/{index-a35a5c39.js → index-e495ac6f.js} +40 -13
- package/dist/esm/index.js +8 -7
- package/dist/esm/urlFor.js +60 -2
- package/package.json +1 -1
|
@@ -6,7 +6,8 @@ import 'prop-types';
|
|
|
6
6
|
import { m as moment } from './moment-e2f9b20c.js';
|
|
7
7
|
import 'react-dom';
|
|
8
8
|
import './slicedToArray-67a08c9c.js';
|
|
9
|
-
import
|
|
9
|
+
import './index-73819142.js';
|
|
10
|
+
import urlFor from './urlFor.js';
|
|
10
11
|
import { L as LazyLoad } from './index-5f7e79e7.js';
|
|
11
12
|
import 'react-bootstrap/Media';
|
|
12
13
|
|
|
@@ -14,12 +14,13 @@ import { I as InfiniteScroll } from './index.es-29c1cef5.js';
|
|
|
14
14
|
import 'react-dom';
|
|
15
15
|
import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
16
16
|
import { _ as _slicedToArray } from './slicedToArray-67a08c9c.js';
|
|
17
|
-
import './
|
|
17
|
+
import './index-73819142.js';
|
|
18
|
+
import './urlFor.js';
|
|
18
19
|
import './index-5f7e79e7.js';
|
|
19
20
|
import './main-c0612122.js';
|
|
20
21
|
import './index-c7e2ac95.js';
|
|
21
22
|
import './smoothscroll-0cd4c7a6.js';
|
|
22
|
-
import { S as SeriesSlider } from './SeriesSlider-
|
|
23
|
+
import { S as SeriesSlider } from './SeriesSlider-ce19fa25.js';
|
|
23
24
|
|
|
24
25
|
var usePrevious = function usePrevious(value) {
|
|
25
26
|
var ref = useRef();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React__default, { useRef, useState, useEffect } from 'react';
|
|
2
2
|
import { _ as _slicedToArray } from './slicedToArray-67a08c9c.js';
|
|
3
|
-
import
|
|
3
|
+
import urlFor from './urlFor.js';
|
|
4
4
|
import { L as LazyLoad } from './index-5f7e79e7.js';
|
|
5
5
|
import { m as main_36, a as main_41, b as main_35 } from './main-c0612122.js';
|
|
6
6
|
import { g as getYoutubeId } from './index-c7e2ac95.js';
|
package/dist/esm/TaxonomyCard.js
CHANGED
|
@@ -11,9 +11,10 @@ import Col$1 from 'react-bootstrap/Col';
|
|
|
11
11
|
import Card$1 from 'react-bootstrap/Card';
|
|
12
12
|
import 'react-dom';
|
|
13
13
|
import './slicedToArray-67a08c9c.js';
|
|
14
|
-
import
|
|
14
|
+
import './index-73819142.js';
|
|
15
|
+
import urlFor from './urlFor.js';
|
|
15
16
|
import { L as LazyLoad } from './index-5f7e79e7.js';
|
|
16
|
-
import { B as BlockContent } from './BlockContent-
|
|
17
|
+
import { B as BlockContent } from './BlockContent-e9b4ddcf.js';
|
|
17
18
|
import { r as reactSocialIcons_1 } from './react-social-icons-a7d5c5c7.js';
|
|
18
19
|
|
|
19
20
|
var TaxonomyCard = function TaxonomyCard(props) {
|
|
@@ -24,7 +24,8 @@ import './debounce-9207d8ee.js';
|
|
|
24
24
|
import './toNumber-2f7a84cd.js';
|
|
25
25
|
import 'react-dom';
|
|
26
26
|
import './slicedToArray-67a08c9c.js';
|
|
27
|
-
import './
|
|
27
|
+
import './index-73819142.js';
|
|
28
|
+
import './urlFor.js';
|
|
28
29
|
import './index-5f7e79e7.js';
|
|
29
30
|
import './main-c0612122.js';
|
|
30
31
|
import './entities-7cc3bf45.js';
|
|
@@ -34,14 +35,14 @@ import './Segment.js';
|
|
|
34
35
|
import './Beam.js';
|
|
35
36
|
import './AdSlot.js';
|
|
36
37
|
import 'react-bootstrap/Button';
|
|
37
|
-
import { B as BlockContent } from './BlockContent-
|
|
38
|
+
import { B as BlockContent } from './BlockContent-e9b4ddcf.js';
|
|
38
39
|
import './index-c7e2ac95.js';
|
|
39
40
|
import './smoothscroll-0cd4c7a6.js';
|
|
40
41
|
import './GroupDeck.js';
|
|
41
42
|
import 'react-bootstrap';
|
|
42
43
|
import './iconBase-602d52fe.js';
|
|
43
44
|
import './index.esm-29e48d38.js';
|
|
44
|
-
import { g as getSerializers } from './index-
|
|
45
|
+
import { g as getSerializers } from './index-e495ac6f.js';
|
|
45
46
|
import './util-7700fc59.js';
|
|
46
47
|
import './brightcove-react-player-loader.es-83f53e4e.js';
|
|
47
48
|
import Head from 'next/head';
|
|
@@ -5,7 +5,8 @@ import React__default from 'react';
|
|
|
5
5
|
import 'prop-types';
|
|
6
6
|
import 'react-dom';
|
|
7
7
|
import './slicedToArray-67a08c9c.js';
|
|
8
|
-
import
|
|
8
|
+
import './index-73819142.js';
|
|
9
|
+
import urlFor from './urlFor.js';
|
|
9
10
|
import { L as LazyLoad } from './index-5f7e79e7.js';
|
|
10
11
|
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
11
12
|
import Media from 'react-bootstrap/Media';
|
package/dist/esm/VerticalHero.js
CHANGED
|
@@ -4,7 +4,8 @@ import './web.dom.iterable-f8f967cd.js';
|
|
|
4
4
|
import React__default from 'react';
|
|
5
5
|
import './moment-e2f9b20c.js';
|
|
6
6
|
import './slicedToArray-67a08c9c.js';
|
|
7
|
-
import
|
|
7
|
+
import './index-73819142.js';
|
|
8
|
+
import urlFor from './urlFor.js';
|
|
8
9
|
|
|
9
10
|
var VerticalHero = function VerticalHero(props) {
|
|
10
11
|
var client = props.client;
|
|
@@ -27,7 +27,8 @@ import './index.es-29c1cef5.js';
|
|
|
27
27
|
import 'react-dom';
|
|
28
28
|
import './visibility-sensor-72fd8f8b.js';
|
|
29
29
|
import './slicedToArray-67a08c9c.js';
|
|
30
|
-
import './
|
|
30
|
+
import './index-73819142.js';
|
|
31
|
+
import './urlFor.js';
|
|
31
32
|
import './index-5f7e79e7.js';
|
|
32
33
|
import './main-c0612122.js';
|
|
33
34
|
import './entities-7cc3bf45.js';
|
|
@@ -37,7 +38,7 @@ import './Segment.js';
|
|
|
37
38
|
import './Beam.js';
|
|
38
39
|
import './AdSlot.js';
|
|
39
40
|
import Button$1 from 'react-bootstrap/Button';
|
|
40
|
-
import { B as BlockContent } from './BlockContent-
|
|
41
|
+
import { B as BlockContent } from './BlockContent-e9b4ddcf.js';
|
|
41
42
|
import './index-c7e2ac95.js';
|
|
42
43
|
import './smoothscroll-0cd4c7a6.js';
|
|
43
44
|
import './GroupDeck.js';
|
|
@@ -46,7 +47,7 @@ import 'react-bootstrap';
|
|
|
46
47
|
import './iconBase-602d52fe.js';
|
|
47
48
|
import './index.esm-29e48d38.js';
|
|
48
49
|
import VideoSeriesListing from './VideoSeriesListing.js';
|
|
49
|
-
import { g as getSerializers } from './index-
|
|
50
|
+
import { g as getSerializers } from './index-e495ac6f.js';
|
|
50
51
|
import './util-7700fc59.js';
|
|
51
52
|
import './brightcove-react-player-loader.es-83f53e4e.js';
|
|
52
53
|
import 'next/head';
|
|
@@ -10,7 +10,8 @@ import 'prop-types';
|
|
|
10
10
|
import { m as moment } from './moment-e2f9b20c.js';
|
|
11
11
|
import 'react-dom';
|
|
12
12
|
import './slicedToArray-67a08c9c.js';
|
|
13
|
-
import
|
|
13
|
+
import './index-73819142.js';
|
|
14
|
+
import urlFor from './urlFor.js';
|
|
14
15
|
import { L as LazyLoad } from './index-5f7e79e7.js';
|
|
15
16
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
16
17
|
|
|
@@ -16,15 +16,20 @@ import './events-6c3a7a63.js';
|
|
|
16
16
|
import './index-41a678ea.js';
|
|
17
17
|
import 'prop-types';
|
|
18
18
|
import 'react-bootstrap/Container';
|
|
19
|
+
import 'react-bootstrap/Row';
|
|
20
|
+
import 'react-bootstrap/Col';
|
|
19
21
|
import 'react-bootstrap/Card';
|
|
20
22
|
import { m as moment } from './moment-e2f9b20c.js';
|
|
21
23
|
import 'next/router';
|
|
22
24
|
import './isSymbol-1981418f.js';
|
|
23
25
|
import './debounce-9207d8ee.js';
|
|
24
26
|
import './toNumber-2f7a84cd.js';
|
|
27
|
+
import './index.es-29c1cef5.js';
|
|
25
28
|
import 'react-dom';
|
|
29
|
+
import './visibility-sensor-72fd8f8b.js';
|
|
26
30
|
import './slicedToArray-67a08c9c.js';
|
|
27
|
-
import './
|
|
31
|
+
import './index-73819142.js';
|
|
32
|
+
import './urlFor.js';
|
|
28
33
|
import './index-5f7e79e7.js';
|
|
29
34
|
import './main-c0612122.js';
|
|
30
35
|
import './stringify-70b72959.js';
|
|
@@ -35,9 +40,9 @@ import './AdSlot.js';
|
|
|
35
40
|
import './ADInfeed-0c13c803.js';
|
|
36
41
|
import './lodash-17fdfebb.js';
|
|
37
42
|
import './ADlgInfeed-e4e2031a.js';
|
|
38
|
-
import { g as getYoutubeId } from './index-c7e2ac95.js';
|
|
39
|
-
import './Pagination-256b60e5.js';
|
|
40
43
|
import 'react-bootstrap/Spinner';
|
|
44
|
+
import './Pagination-f7c4c5ae.js';
|
|
45
|
+
import { g as getYoutubeId } from './index-c7e2ac95.js';
|
|
41
46
|
import MasterDeck from './MasterDeck.js';
|
|
42
47
|
import 'react-bootstrap/Breadcrumb';
|
|
43
48
|
import Breadcrumbs from './Breadcrumbs.js';
|
|
@@ -23,7 +23,8 @@ import { I as InfiniteScroll } from './index.es-29c1cef5.js';
|
|
|
23
23
|
import 'react-dom';
|
|
24
24
|
import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
25
25
|
import './slicedToArray-67a08c9c.js';
|
|
26
|
-
import './
|
|
26
|
+
import './index-73819142.js';
|
|
27
|
+
import './urlFor.js';
|
|
27
28
|
import './index-5f7e79e7.js';
|
|
28
29
|
import './main-c0612122.js';
|
|
29
30
|
import './index-c7e2ac95.js';
|
package/dist/esm/View.js
CHANGED
|
@@ -26,7 +26,8 @@ import { I as InfiniteScroll } from './index.es-29c1cef5.js';
|
|
|
26
26
|
import 'react-dom';
|
|
27
27
|
import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
28
28
|
import { a as _getIterator, _ as _slicedToArray } from './slicedToArray-67a08c9c.js';
|
|
29
|
-
import
|
|
29
|
+
import './index-73819142.js';
|
|
30
|
+
import urlFor from './urlFor.js';
|
|
30
31
|
import './index-5f7e79e7.js';
|
|
31
32
|
import { m as main_36 } from './main-c0612122.js';
|
|
32
33
|
import './entities-7cc3bf45.js';
|
|
@@ -36,14 +37,14 @@ import './Segment.js';
|
|
|
36
37
|
import './Beam.js';
|
|
37
38
|
import DFPAdSlot from './AdSlot.js';
|
|
38
39
|
import Button$1 from 'react-bootstrap/Button';
|
|
39
|
-
import { B as BlockContent } from './BlockContent-
|
|
40
|
+
import { B as BlockContent } from './BlockContent-e9b4ddcf.js';
|
|
40
41
|
import './index-c7e2ac95.js';
|
|
41
42
|
import './smoothscroll-0cd4c7a6.js';
|
|
42
43
|
import './GroupDeck.js';
|
|
43
44
|
import 'react-bootstrap';
|
|
44
45
|
import './iconBase-602d52fe.js';
|
|
45
46
|
import './index.esm-29e48d38.js';
|
|
46
|
-
import { r as renderAuthor, g as getSerializers } from './index-
|
|
47
|
+
import { r as renderAuthor, g as getSerializers } from './index-e495ac6f.js';
|
|
47
48
|
import './util-7700fc59.js';
|
|
48
49
|
import './brightcove-react-player-loader.es-83f53e4e.js';
|
|
49
50
|
import Head from 'next/head';
|
|
@@ -64,7 +65,7 @@ import getSeriesDetail from './getSeriesDetail.js';
|
|
|
64
65
|
import './index-db3bb315.js';
|
|
65
66
|
import getRelatedArticle from './getRelatedArticle.js';
|
|
66
67
|
import getQuery from './getQuery.js';
|
|
67
|
-
import { S as SeriesSlider } from './SeriesSlider-
|
|
68
|
+
import { S as SeriesSlider } from './SeriesSlider-ce19fa25.js';
|
|
68
69
|
import { g as getTargeting, a as getContentPlacementUrl } from './getTargeting-277c801e.js';
|
|
69
70
|
import getKeywords from './getKeywords.js';
|
|
70
71
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
package/dist/esm/YahooHero.js
CHANGED
|
@@ -6,7 +6,8 @@ import 'prop-types';
|
|
|
6
6
|
import { m as moment } from './moment-e2f9b20c.js';
|
|
7
7
|
import 'react-dom';
|
|
8
8
|
import './slicedToArray-67a08c9c.js';
|
|
9
|
-
import
|
|
9
|
+
import './index-73819142.js';
|
|
10
|
+
import urlFor from './urlFor.js';
|
|
10
11
|
import { L as LazyLoad } from './index-5f7e79e7.js';
|
|
11
12
|
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
12
13
|
import { A as AuthorComponent } from './AuthorComponent-e6f95c2f.js';
|
package/dist/esm/YoutubeGroup.js
CHANGED
|
@@ -5,7 +5,8 @@ import React__default, { useRef, useState, useEffect } from 'react';
|
|
|
5
5
|
import 'prop-types';
|
|
6
6
|
import 'react-dom';
|
|
7
7
|
import { _ as _slicedToArray } from './slicedToArray-67a08c9c.js';
|
|
8
|
-
import
|
|
8
|
+
import './index-73819142.js';
|
|
9
|
+
import urlFor from './urlFor.js';
|
|
9
10
|
import { L as LazyLoad } from './index-5f7e79e7.js';
|
|
10
11
|
import { m as main_36, a as main_41, b as main_35 } from './main-c0612122.js';
|
|
11
12
|
import { g as getYoutubeId } from './index-c7e2ac95.js';
|
|
@@ -24,7 +24,8 @@ import './debounce-9207d8ee.js';
|
|
|
24
24
|
import './toNumber-2f7a84cd.js';
|
|
25
25
|
import 'react-dom';
|
|
26
26
|
import './slicedToArray-67a08c9c.js';
|
|
27
|
-
import './
|
|
27
|
+
import './index-73819142.js';
|
|
28
|
+
import './urlFor.js';
|
|
28
29
|
import './index-5f7e79e7.js';
|
|
29
30
|
import './main-c0612122.js';
|
|
30
31
|
import './entities-7cc3bf45.js';
|
|
@@ -34,14 +35,14 @@ import './Segment.js';
|
|
|
34
35
|
import './Beam.js';
|
|
35
36
|
import './AdSlot.js';
|
|
36
37
|
import 'react-bootstrap/Button';
|
|
37
|
-
import './BlockContent-
|
|
38
|
+
import './BlockContent-e9b4ddcf.js';
|
|
38
39
|
import './index-c7e2ac95.js';
|
|
39
40
|
import './smoothscroll-0cd4c7a6.js';
|
|
40
41
|
import './GroupDeck.js';
|
|
41
42
|
import 'react-bootstrap';
|
|
42
43
|
import './iconBase-602d52fe.js';
|
|
43
44
|
import './index.esm-29e48d38.js';
|
|
44
|
-
export { g as default } from './index-
|
|
45
|
+
export { g as default } from './index-e495ac6f.js';
|
|
45
46
|
import './util-7700fc59.js';
|
|
46
47
|
import './brightcove-react-player-loader.es-83f53e4e.js';
|
|
47
48
|
import 'next/head';
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { c as createCommonjsModule, u as unwrapExports, a as commonjsGlobal } from './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import { _ as _slicedToArray } from './slicedToArray-67a08c9c.js';
|
|
3
2
|
|
|
4
3
|
var parseAssetId_1 = createCommonjsModule(function (module, exports) {
|
|
5
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -545,60 +544,4 @@ module.exports = builder_1.default;
|
|
|
545
544
|
|
|
546
545
|
var imageUrlBuilder = unwrapExports(node);
|
|
547
546
|
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
function urlFor(_ref) {
|
|
551
|
-
var client = _ref.client,
|
|
552
|
-
source = _ref.source,
|
|
553
|
-
_ref$imageWidth = _ref.imageWidth,
|
|
554
|
-
imageWidth = _ref$imageWidth === undefined ? null : _ref$imageWidth,
|
|
555
|
-
_ref$imageHeight = _ref.imageHeight,
|
|
556
|
-
imageHeight = _ref$imageHeight === undefined ? null : _ref$imageHeight,
|
|
557
|
-
_ref$imageMaxHeight = _ref.imageMaxHeight,
|
|
558
|
-
imageMaxHeight = _ref$imageMaxHeight === undefined ? null : _ref$imageMaxHeight,
|
|
559
|
-
_ref$imageFit = _ref.imageFit,
|
|
560
|
-
imageFit = _ref$imageFit === undefined ? 'crop' : _ref$imageFit;
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
// when imageFit value = null and it's specifically provided, it's value not gets defaulted to 'crop'
|
|
564
|
-
if (!imageFit) {
|
|
565
|
-
imageFit = 'crop';
|
|
566
|
-
}
|
|
567
|
-
|
|
568
|
-
//checks for old usage so it wont break view pages
|
|
569
|
-
//All view pages are using urlFor(client, thumbnail.asset).url()
|
|
570
|
-
//will need to update to urlFor({client, source: thumbnail.asset})
|
|
571
|
-
//All framework components are using new format
|
|
572
|
-
if (arguments[1] && arguments[1]._ref) {
|
|
573
|
-
return imageUrlBuilder(client).image(source).auto('format');
|
|
574
|
-
}
|
|
575
|
-
|
|
576
|
-
if (imageWidth && imageHeight) {
|
|
577
|
-
imageMaxHeight = imageHeight;
|
|
578
|
-
imageHeight = null;
|
|
579
|
-
}
|
|
580
|
-
|
|
581
|
-
var builder = imageUrlBuilder(client);
|
|
582
|
-
var url = builder.image(source);
|
|
583
|
-
if (imageWidth) url = url.width(imageWidth);
|
|
584
|
-
if (imageHeight) url = url.height(imageHeight);
|
|
585
|
-
if (imageMaxHeight) url = url.maxHeight(imageMaxHeight);
|
|
586
|
-
if (imageFit) url = url.fit(imageFit);
|
|
587
|
-
url = url.auto('format').url();
|
|
588
|
-
|
|
589
|
-
// Appending file name in URL
|
|
590
|
-
var originalFilename = source && source.originalFilename ? source.originalFilename : source && source.asset && source.asset.originalFilename && source.asset.originalFilename;
|
|
591
|
-
if (originalFilename) {
|
|
592
|
-
var _url$split = url.split('?'),
|
|
593
|
-
_url$split2 = _slicedToArray(_url$split, 2),
|
|
594
|
-
path = _url$split2[0],
|
|
595
|
-
queryString = _url$split2[1];
|
|
596
|
-
|
|
597
|
-
originalFilename = encodeURIComponent(originalFilename);
|
|
598
|
-
url = queryString ? path + '/' + originalFilename + '?' + queryString : path + '/' + originalFilename;
|
|
599
|
-
}
|
|
600
|
-
|
|
601
|
-
return url;
|
|
602
|
-
}
|
|
603
|
-
|
|
604
|
-
export { node as n, urlFor as u };
|
|
547
|
+
export { imageUrlBuilder as i, node as n };
|
|
@@ -12,15 +12,16 @@ import Col$1 from 'react-bootstrap/Col';
|
|
|
12
12
|
import { m as moment } from './moment-e2f9b20c.js';
|
|
13
13
|
import Router, { useRouter } from 'next/router';
|
|
14
14
|
import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-67a08c9c.js';
|
|
15
|
-
import
|
|
15
|
+
import urlFor from './urlFor.js';
|
|
16
16
|
import { L as LazyLoad } from './index-5f7e79e7.js';
|
|
17
17
|
import { e as main_16, b as main_35, m as main_36 } from './main-c0612122.js';
|
|
18
18
|
import { h as html_decode_1 } from './entities-7cc3bf45.js';
|
|
19
|
+
import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-64812e90.js';
|
|
19
20
|
import Segment from './Segment.js';
|
|
20
21
|
import './Beam.js';
|
|
21
22
|
import DFPAdSlot from './AdSlot.js';
|
|
22
23
|
import Button$1 from 'react-bootstrap/Button';
|
|
23
|
-
import { B as BlockContent } from './BlockContent-
|
|
24
|
+
import { B as BlockContent } from './BlockContent-e9b4ddcf.js';
|
|
24
25
|
import { g as getYoutubeId } from './index-c7e2ac95.js';
|
|
25
26
|
import GroupDeck from './GroupDeck.js';
|
|
26
27
|
import { Carousel, Table, Figure as Figure$1, Card, Row, Col, Button, ProgressBar } from 'react-bootstrap';
|
|
@@ -2400,6 +2401,8 @@ var Video = function Video(_ref) {
|
|
|
2400
2401
|
}
|
|
2401
2402
|
// this is video ready
|
|
2402
2403
|
player.on('loadedmetadata', function (evt) {
|
|
2404
|
+
var _this = this;
|
|
2405
|
+
|
|
2403
2406
|
//console.log('loadedmetadata:', evt)
|
|
2404
2407
|
console.log('mediainfo:', player.mediainfo); // get the duration from here
|
|
2405
2408
|
var duration = player.mediainfo.duration;
|
|
@@ -2407,17 +2410,41 @@ var Video = function Video(_ref) {
|
|
|
2407
2410
|
var queue = Math.floor(duration / 10);
|
|
2408
2411
|
var segment = Math.floor(current / queue);
|
|
2409
2412
|
|
|
2410
|
-
|
|
2413
|
+
var autoPlayVideo = function () {
|
|
2414
|
+
var _ref2 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee() {
|
|
2415
|
+
return regenerator.wrap(function _callee$(_context) {
|
|
2416
|
+
while (1) {
|
|
2417
|
+
switch (_context.prev = _context.next) {
|
|
2418
|
+
case 0:
|
|
2419
|
+
_context.prev = 0;
|
|
2420
|
+
_context.next = 3;
|
|
2421
|
+
return player.play();
|
|
2422
|
+
|
|
2423
|
+
case 3:
|
|
2424
|
+
_context.next = 8;
|
|
2425
|
+
break;
|
|
2426
|
+
|
|
2427
|
+
case 5:
|
|
2428
|
+
_context.prev = 5;
|
|
2429
|
+
_context.t0 = _context['catch'](0);
|
|
2430
|
+
|
|
2431
|
+
console.log('could not autoplay video', _context.t0);
|
|
2432
|
+
|
|
2433
|
+
case 8:
|
|
2434
|
+
case 'end':
|
|
2435
|
+
return _context.stop();
|
|
2436
|
+
}
|
|
2437
|
+
}
|
|
2438
|
+
}, _callee, _this, [[0, 5]]);
|
|
2439
|
+
}));
|
|
2440
|
+
|
|
2441
|
+
return function autoPlayVideo() {
|
|
2442
|
+
return _ref2.apply(this, arguments);
|
|
2443
|
+
};
|
|
2444
|
+
}();
|
|
2445
|
+
|
|
2411
2446
|
if (autoplay) {
|
|
2412
|
-
|
|
2413
|
-
player.muted(false);
|
|
2414
|
-
}).catch(function (error) {
|
|
2415
|
-
// then try to auto play with mute
|
|
2416
|
-
player.muted(true);
|
|
2417
|
-
player.play();
|
|
2418
|
-
});
|
|
2419
|
-
} else {
|
|
2420
|
-
player.pause();
|
|
2447
|
+
autoPlayVideo();
|
|
2421
2448
|
}
|
|
2422
2449
|
|
|
2423
2450
|
//Beam.report_beam_video('Ready', deviceType, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID)
|
|
@@ -2503,7 +2530,7 @@ var Video = function Video(_ref) {
|
|
|
2503
2530
|
React__default.createElement(
|
|
2504
2531
|
'style',
|
|
2505
2532
|
{ jsx: 'true' },
|
|
2506
|
-
'\n
|
|
2533
|
+
'\n .brightcove-fluid {\n position: relative;\n padding-bottom: 56.25%; /* 16:9 */\n height: 0;\n width: 100%;\n margin-bottom: 1rem;\n }\n .brightcove-fluid .video-js {\n height: 100%;\n width: 100%;\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n }\n '
|
|
2507
2534
|
)
|
|
2508
2535
|
);
|
|
2509
2536
|
} else if (playlistID) {
|
package/dist/esm/index.js
CHANGED
|
@@ -28,8 +28,9 @@ import './index.es-29c1cef5.js';
|
|
|
28
28
|
import 'react-dom';
|
|
29
29
|
import './visibility-sensor-72fd8f8b.js';
|
|
30
30
|
import './slicedToArray-67a08c9c.js';
|
|
31
|
-
import
|
|
32
|
-
|
|
31
|
+
import './index-73819142.js';
|
|
32
|
+
import urlFor from './urlFor.js';
|
|
33
|
+
export { default as urlFor } from './urlFor.js';
|
|
33
34
|
import { L as LazyLoad } from './index-5f7e79e7.js';
|
|
34
35
|
import './main-c0612122.js';
|
|
35
36
|
import './entities-7cc3bf45.js';
|
|
@@ -49,10 +50,12 @@ export { default as AD } from './AD.js';
|
|
|
49
50
|
import './AuthorComponent-e6f95c2f.js';
|
|
50
51
|
import 'react-bootstrap/Button';
|
|
51
52
|
export { default as GridContent } from './GridContent.js';
|
|
53
|
+
import 'react-bootstrap/Spinner';
|
|
54
|
+
import './Pagination-f7c4c5ae.js';
|
|
52
55
|
export { default as DeckQueue } from './DeckQueue.js';
|
|
53
56
|
import 'react-bootstrap/Media';
|
|
54
57
|
export { default as ThumbnailCard } from './ThumbnailCard.js';
|
|
55
|
-
import './BlockContent-
|
|
58
|
+
import './BlockContent-e9b4ddcf.js';
|
|
56
59
|
import './react-social-icons-a7d5c5c7.js';
|
|
57
60
|
export { default as TaxonomyCard } from './TaxonomyCard.js';
|
|
58
61
|
export { default as RolesDeck } from './RolesDeck.js';
|
|
@@ -62,14 +65,13 @@ export { default as GroupDeck } from './GroupDeck.js';
|
|
|
62
65
|
export { default as YoutubeGroup } from './YoutubeGroup.js';
|
|
63
66
|
import 'react-bootstrap';
|
|
64
67
|
import './timeDifferenceCalc.js';
|
|
65
|
-
import './Pagination-256b60e5.js';
|
|
66
68
|
export { default as QueueDeckExpanded } from './QueueDeckExpanded.js';
|
|
67
69
|
import './iconBase-602d52fe.js';
|
|
68
70
|
import './index.esm-29e48d38.js';
|
|
69
71
|
export { default as VideoSeriesListing } from './VideoSeriesListing.js';
|
|
70
72
|
export { default as ArticleSeriesListing } from './ArticleSeriesListing.js';
|
|
71
73
|
export { default as ArticleCarousel } from './ArticleCarousel.js';
|
|
72
|
-
export { g as getSerializers } from './index-
|
|
74
|
+
export { g as getSerializers } from './index-e495ac6f.js';
|
|
73
75
|
import './util-7700fc59.js';
|
|
74
76
|
import './brightcove-react-player-loader.es-83f53e4e.js';
|
|
75
77
|
import 'next/head';
|
|
@@ -82,7 +84,6 @@ import 'react-bootstrap/OverlayTrigger';
|
|
|
82
84
|
import 'react-bootstrap/Tooltip';
|
|
83
85
|
import 'react-bootstrap/Popover';
|
|
84
86
|
export { default as HorizontalArticleListing } from './HorizontalArticleListing.js';
|
|
85
|
-
import 'react-bootstrap/Spinner';
|
|
86
87
|
export { default as MasterDeck } from './MasterDeck.js';
|
|
87
88
|
export { default as PublicationDeck } from './PublicationDeck.js';
|
|
88
89
|
export { default as IssueDeck } from './IssueDeck.js';
|
|
@@ -177,7 +178,7 @@ export { default as Auth } from './Auth.js';
|
|
|
177
178
|
import 'passport-local';
|
|
178
179
|
import 'mysql';
|
|
179
180
|
import './md5-9be0e905.js';
|
|
180
|
-
import './SeriesSlider-
|
|
181
|
+
import './SeriesSlider-ce19fa25.js';
|
|
181
182
|
export { g as getTargeting } from './getTargeting-277c801e.js';
|
|
182
183
|
export { default as View } from './View.js';
|
|
183
184
|
export { default as getKeywords } from './getKeywords.js';
|
package/dist/esm/urlFor.js
CHANGED
|
@@ -1,5 +1,63 @@
|
|
|
1
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
2
|
import './core.get-iterator-method-86d4db69.js';
|
|
3
3
|
import './web.dom.iterable-f8f967cd.js';
|
|
4
|
-
import './slicedToArray-67a08c9c.js';
|
|
5
|
-
|
|
4
|
+
import { _ as _slicedToArray } from './slicedToArray-67a08c9c.js';
|
|
5
|
+
import { i as imageUrlBuilder } from './index-73819142.js';
|
|
6
|
+
|
|
7
|
+
// Sanity image auto formating
|
|
8
|
+
|
|
9
|
+
function urlFor(_ref) {
|
|
10
|
+
var client = _ref.client,
|
|
11
|
+
source = _ref.source,
|
|
12
|
+
_ref$imageWidth = _ref.imageWidth,
|
|
13
|
+
imageWidth = _ref$imageWidth === undefined ? null : _ref$imageWidth,
|
|
14
|
+
_ref$imageHeight = _ref.imageHeight,
|
|
15
|
+
imageHeight = _ref$imageHeight === undefined ? null : _ref$imageHeight,
|
|
16
|
+
_ref$imageMaxHeight = _ref.imageMaxHeight,
|
|
17
|
+
imageMaxHeight = _ref$imageMaxHeight === undefined ? null : _ref$imageMaxHeight,
|
|
18
|
+
_ref$imageFit = _ref.imageFit,
|
|
19
|
+
imageFit = _ref$imageFit === undefined ? 'crop' : _ref$imageFit;
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
// when imageFit value = null and it's specifically provided, it's value not gets defaulted to 'crop'
|
|
23
|
+
if (!imageFit) {
|
|
24
|
+
imageFit = 'crop';
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
//checks for old usage so it wont break view pages
|
|
28
|
+
//All view pages are using urlFor(client, thumbnail.asset).url()
|
|
29
|
+
//will need to update to urlFor({client, source: thumbnail.asset})
|
|
30
|
+
//All framework components are using new format
|
|
31
|
+
if (arguments[1] && arguments[1]._ref) {
|
|
32
|
+
return imageUrlBuilder(client).image(source).auto('format');
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
if (imageWidth && imageHeight) {
|
|
36
|
+
imageMaxHeight = imageHeight;
|
|
37
|
+
imageHeight = null;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
var builder = imageUrlBuilder(client);
|
|
41
|
+
var url = builder.image(source);
|
|
42
|
+
if (imageWidth) url = url.width(imageWidth);
|
|
43
|
+
if (imageHeight) url = url.height(imageHeight);
|
|
44
|
+
if (imageMaxHeight) url = url.maxHeight(imageMaxHeight);
|
|
45
|
+
if (imageFit) url = url.fit(imageFit);
|
|
46
|
+
url = url.auto('format').url();
|
|
47
|
+
|
|
48
|
+
// Appending file name in URL
|
|
49
|
+
var originalFilename = source && source.originalFilename ? source.originalFilename : source && source.asset && source.asset.originalFilename && source.asset.originalFilename;
|
|
50
|
+
if (originalFilename) {
|
|
51
|
+
var _url$split = url.split('?'),
|
|
52
|
+
_url$split2 = _slicedToArray(_url$split, 2),
|
|
53
|
+
path = _url$split2[0],
|
|
54
|
+
queryString = _url$split2[1];
|
|
55
|
+
|
|
56
|
+
originalFilename = encodeURIComponent(originalFilename);
|
|
57
|
+
url = queryString ? path + '/' + originalFilename + '?' + queryString : path + '/' + originalFilename;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
return url;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export default urlFor;
|