@mjhls/mjh-framework 1.0.383 → 1.0.385

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.
Files changed (69) hide show
  1. package/README.md +1 -1
  2. package/dist/cjs/{ADInfeed-9f564bd2.js → ADInfeed-f544f2a5.js} +1 -1
  3. package/dist/cjs/{AdSlot-b5f0c396.js → AdSlot-1e40a214.js} +4 -4
  4. package/dist/cjs/AuthorComponent-37deda17.js +99 -0
  5. package/dist/cjs/DeckContent.js +13 -10
  6. package/dist/cjs/DeckQueue.js +10 -7
  7. package/dist/cjs/{Dfp-e77be4e4.js → Dfp-27b922b0.js} +3 -3
  8. package/dist/cjs/{Figure-04b8dbbe.js → Figure-c49ee0f8.js} +2 -2
  9. package/dist/cjs/{GridContent-a0c81f9f.js → GridContent-1871749e.js} +29 -68
  10. package/dist/cjs/GridContent.js +16 -12
  11. package/dist/cjs/GroupDeck.js +28 -4
  12. package/dist/cjs/MasterDeck.js +10 -7
  13. package/dist/cjs/{Normal-6b148627.js → Normal-a747507b.js} +4 -4
  14. package/dist/cjs/QueueDeckExpanded.js +31 -68
  15. package/dist/cjs/{TaxonomyCard-b51062ec.js → TaxonomyCard-cf264332.js} +1 -1
  16. package/dist/cjs/TaxonomyCard.js +3 -2
  17. package/dist/cjs/TemplateNormal.js +9 -8
  18. package/dist/cjs/{Ustream-f5f53782.js → Ustream-c7baf022.js} +1 -1
  19. package/dist/cjs/Ustream.js +3 -3
  20. package/dist/cjs/VideoSeriesListing.js +9 -5
  21. package/dist/cjs/YoutubeGroup.js +25 -4
  22. package/dist/cjs/_library-dd23b178.js +5 -0
  23. package/dist/cjs/_object-pie-68c5bcbc.js +16 -0
  24. package/dist/cjs/{debounce-528ad412.js → debounce-b088070c.js} +0 -3
  25. package/dist/cjs/{extends-4c2285ff.js → extends-60837c34.js} +3 -16
  26. package/dist/cjs/{get-3b23d857.js → get-5aa7468c.js} +1 -1
  27. package/dist/cjs/index.js +544 -18
  28. package/dist/cjs/inherits-2a0fa98c.js +210 -0
  29. package/dist/cjs/{main-987c23c6.js → main-2020ba94.js} +1 -1
  30. package/dist/cjs/{promise-3b44b2a3.js → promise-d5136080.js} +8 -4
  31. package/dist/cjs/{slicedToArray-879ab2fb.js → slicedToArray-419d467a.js} +1 -1
  32. package/dist/cjs/{toConsumableArray-34b5e9a7.js → toConsumableArray-3cf1df2c.js} +2 -2
  33. package/dist/cjs/{inherits-7548e3e8.js → typeof-2747c582.js} +20 -218
  34. package/dist/cjs/{web.dom.iterable-8b02d65e.js → web.dom.iterable-5c889cf1.js} +2 -0
  35. package/dist/esm/{ADInfeed-c65835b9.js → ADInfeed-88c335d9.js} +1 -1
  36. package/dist/esm/{AdSlot-1cc6bdb0.js → AdSlot-971ce41c.js} +5 -5
  37. package/dist/esm/AuthorComponent-beb2ad16.js +94 -0
  38. package/dist/esm/DeckContent.js +14 -11
  39. package/dist/esm/DeckQueue.js +11 -8
  40. package/dist/esm/{Dfp-7c317aa4.js → Dfp-3b3273ee.js} +4 -4
  41. package/dist/esm/{Figure-aa16a017.js → Figure-7ba30e53.js} +3 -3
  42. package/dist/esm/{GridContent-6aafc29f.js → GridContent-3229be76.js} +29 -68
  43. package/dist/esm/GridContent.js +17 -13
  44. package/dist/esm/GroupDeck.js +29 -5
  45. package/dist/esm/MasterDeck.js +11 -8
  46. package/dist/esm/{Normal-308179a5.js → Normal-508d09f1.js} +4 -4
  47. package/dist/esm/QueueDeckExpanded.js +32 -69
  48. package/dist/esm/{TaxonomyCard-f1f072ab.js → TaxonomyCard-12f0a90a.js} +1 -1
  49. package/dist/esm/TaxonomyCard.js +4 -3
  50. package/dist/esm/TemplateNormal.js +10 -9
  51. package/dist/esm/{Ustream-d8cc3cbd.js → Ustream-ee7aeeef.js} +1 -1
  52. package/dist/esm/Ustream.js +4 -4
  53. package/dist/esm/VideoSeriesListing.js +10 -6
  54. package/dist/esm/YoutubeGroup.js +26 -5
  55. package/dist/esm/_library-528f1934.js +3 -0
  56. package/dist/esm/_object-pie-33c40e79.js +13 -0
  57. package/dist/esm/{_to-object-b9b796ec.js → _to-object-1b1f7766.js} +1 -1
  58. package/dist/esm/{debounce-702eb224.js → debounce-df468b0e.js} +1 -3
  59. package/dist/esm/{extends-26d3b609.js → extends-92072fff.js} +3 -14
  60. package/dist/esm/{get-36d03764.js → get-53653403.js} +1 -1
  61. package/dist/esm/index.js +549 -24
  62. package/dist/esm/inherits-cacd91d8.js +203 -0
  63. package/dist/esm/{main-cb86f95d.js → main-25bb2c75.js} +2 -2
  64. package/dist/esm/{promise-86cb8313.js → promise-5d7cd78a.js} +5 -5
  65. package/dist/esm/{slicedToArray-a47a84a4.js → slicedToArray-04e02710.js} +2 -2
  66. package/dist/esm/{toConsumableArray-2718dc16.js → toConsumableArray-d7054876.js} +3 -3
  67. package/dist/esm/{inherits-4b85034c.js → typeof-e4b50250.js} +8 -205
  68. package/dist/esm/{web.dom.iterable-7e9bebf9.js → web.dom.iterable-e6bf2bf6.js} +2 -2
  69. package/package.json +1 -1
@@ -1,6 +1,7 @@
1
1
  import './_commonjsHelpers-0c4b6f40.js';
2
- import './_to-object-b9b796ec.js';
3
- import './extends-26d3b609.js';
2
+ import './_to-object-1b1f7766.js';
3
+ import './_object-pie-33c40e79.js';
4
+ import './extends-92072fff.js';
4
5
  import 'react';
5
6
  import 'prop-types';
6
7
  import 'react-bootstrap/Container';
@@ -10,5 +11,5 @@ import 'react-bootstrap/Card';
10
11
  import 'react-dom';
11
12
  import './index-51a80699.js';
12
13
  import './index-5f9f807a.js';
13
- export { T as default } from './TaxonomyCard-f1f072ab.js';
14
+ export { T as default } from './TaxonomyCard-12f0a90a.js';
14
15
  import './react-social-icons-a7d5c5c7.js';
@@ -1,22 +1,23 @@
1
1
  import './_commonjsHelpers-0c4b6f40.js';
2
- import './_to-object-b9b796ec.js';
3
- import './web.dom.iterable-7e9bebf9.js';
4
- import './debounce-702eb224.js';
5
- import './main-cb86f95d.js';
2
+ import './_to-object-1b1f7766.js';
3
+ import './web.dom.iterable-e6bf2bf6.js';
4
+ import './_library-528f1934.js';
5
+ import './main-25bb2c75.js';
6
6
  import 'react';
7
+ import './debounce-df468b0e.js';
7
8
  import 'prop-types';
8
9
  import 'react-bootstrap/Container';
9
10
  import 'react-bootstrap/Row';
10
11
  import 'react-bootstrap/Col';
11
- import './slicedToArray-a47a84a4.js';
12
- import './AdSlot-1cc6bdb0.js';
13
- import './promise-86cb8313.js';
14
- import './get-36d03764.js';
12
+ import './slicedToArray-04e02710.js';
13
+ import './AdSlot-971ce41c.js';
14
+ import './promise-5d7cd78a.js';
15
+ import './get-53653403.js';
15
16
  import './react-social-icons-a7d5c5c7.js';
16
17
  import 'react-bootstrap';
17
18
  import './index.esm-536609db.js';
18
19
  import 'react-bootstrap/Button';
19
- export { T as default } from './Normal-308179a5.js';
20
+ export { T as default } from './Normal-508d09f1.js';
20
21
  import 'react-bootstrap/ListGroup';
21
22
  import 'next/head';
22
23
  import 'react-bootstrap/Nav';
@@ -1,5 +1,5 @@
1
1
  import React__default, { useState, useRef, useEffect } from 'react';
2
- import { _ as _slicedToArray } from './slicedToArray-a47a84a4.js';
2
+ import { _ as _slicedToArray } from './slicedToArray-04e02710.js';
3
3
  import { G as GenIcon, d as IoIosOpen } from './index.esm-536609db.js';
4
4
 
5
5
  // THIS FILE IS AUTO GENERATED
@@ -1,7 +1,7 @@
1
1
  import './_commonjsHelpers-0c4b6f40.js';
2
- import './_to-object-b9b796ec.js';
3
- import './web.dom.iterable-7e9bebf9.js';
2
+ import './_to-object-1b1f7766.js';
3
+ import './web.dom.iterable-e6bf2bf6.js';
4
4
  import 'react';
5
- import './slicedToArray-a47a84a4.js';
5
+ import './slicedToArray-04e02710.js';
6
6
  import './index.esm-536609db.js';
7
- export { U as default } from './Ustream-d8cc3cbd.js';
7
+ export { U as default } from './Ustream-ee7aeeef.js';
@@ -1,18 +1,22 @@
1
1
  import './_commonjsHelpers-0c4b6f40.js';
2
- import './_to-object-b9b796ec.js';
3
- import './web.dom.iterable-7e9bebf9.js';
4
- import { d as debounce_1, l as lib_3 } from './debounce-702eb224.js';
5
- import { _ as _extends } from './extends-26d3b609.js';
6
- import { a as _inherits, b as _classCallCheck, c as _possibleConstructorReturn, d as _Object$getPrototypeOf, e as _createClass } from './inherits-4b85034c.js';
2
+ import './_to-object-1b1f7766.js';
3
+ import './web.dom.iterable-e6bf2bf6.js';
4
+ import './_library-528f1934.js';
5
+ import './_object-pie-33c40e79.js';
6
+ import { _ as _extends } from './extends-92072fff.js';
7
+ import { a as _inherits, b as _classCallCheck, c as _possibleConstructorReturn, d as _Object$getPrototypeOf, e as _createClass } from './inherits-cacd91d8.js';
8
+ import './typeof-e4b50250.js';
7
9
  import React__default from 'react';
10
+ import { d as debounce_1, l as lib_3 } from './debounce-df468b0e.js';
8
11
  import 'prop-types';
9
12
  import Container from 'react-bootstrap/Container';
10
13
  import './moment-12415288.js';
11
14
  import { withRouter } from 'next/router';
12
15
  import { I as InfiniteScroll, V as VisibilitySensor } from './visibility-sensor-49d5805d.js';
13
16
  import 'react-dom';
17
+ import './index-51a80699.js';
14
18
  import './index-5f9f807a.js';
15
- import './slicedToArray-a47a84a4.js';
19
+ import './slicedToArray-04e02710.js';
16
20
  import './smoothscroll-4b699764.js';
17
21
  import YoutubeGroup from './YoutubeGroup.js';
18
22
  import { a as IoIosArrowForward } from './index.esm-536609db.js';
@@ -1,11 +1,15 @@
1
1
  import './_commonjsHelpers-0c4b6f40.js';
2
- import './_to-object-b9b796ec.js';
3
- import './web.dom.iterable-7e9bebf9.js';
2
+ import './_to-object-1b1f7766.js';
3
+ import './web.dom.iterable-e6bf2bf6.js';
4
+ import './_library-528f1934.js';
5
+ import './_object-pie-33c40e79.js';
6
+ import { b as _typeof } from './typeof-e4b50250.js';
4
7
  import React__default, { useRef, useState, useEffect } from 'react';
5
8
  import 'prop-types';
6
9
  import 'react-dom';
10
+ import { i as imageUrlBuilder } from './index-51a80699.js';
7
11
  import { L as LazyLoad } from './index-5f9f807a.js';
8
- import { _ as _slicedToArray } from './slicedToArray-a47a84a4.js';
12
+ import { _ as _slicedToArray } from './slicedToArray-04e02710.js';
9
13
  import { s as smoothscroll, g as getYoutubeId } from './smoothscroll-4b699764.js';
10
14
 
11
15
  /*
@@ -35,6 +39,11 @@ var YoutubeGroup = function YoutubeGroup(props) {
35
39
  scrollPosition = _useState6[0],
36
40
  setScrollPosition = _useState6[1];
37
41
 
42
+ var urlFor = function urlFor(source, client) {
43
+ var builder = imageUrlBuilder(client);
44
+ return builder.image(source).auto('format');
45
+ };
46
+
38
47
  useEffect(function () {
39
48
  //IE11 Polyfill
40
49
  smoothscroll.polyfill();
@@ -160,7 +169,14 @@ var YoutubeGroup = function YoutubeGroup(props) {
160
169
  // If there is a current prop, means this will overlay a currently playing video
161
170
  if (current !== '') {
162
171
  var url = video.url;
163
- var thumbnail = 'https://img.youtube.com/vi/' + getYoutubeId(video.url) + '/hqdefault.jpg';
172
+ var thumbnail = void 0;
173
+ if (video.thumbnail && video.thumbnail.asset) {
174
+ thumbnail = urlFor(video.thumbnail, props.client);
175
+ } else if (_typeof(video.thumbnail == 'string')) {
176
+ thumbnail = video.thumbnail;
177
+ } else {
178
+ thumbnail = 'https://img.youtube.com/vi/' + getYoutubeId(video.url) + '/hqdefault.jpg';
179
+ }
164
180
 
165
181
  return React__default.createElement(
166
182
  'div',
@@ -207,7 +223,12 @@ var YoutubeGroup = function YoutubeGroup(props) {
207
223
  } else {
208
224
  // slider by itself
209
225
  var _url = '' + video.link;
210
- var _thumbnail = 'https://img.youtube.com/vi/' + getYoutubeId(video.url) + '/hqdefault.jpg';
226
+ var _thumbnail = void 0;
227
+ if (video.thumbnail && video.thumbnail.asset) {
228
+ _thumbnail = urlFor(video.thumbnail, props.client);
229
+ } else {
230
+ _thumbnail = 'https://img.youtube.com/vi/' + getYoutubeId(video.url) + '/hqdefault.jpg';
231
+ }
211
232
  return React__default.createElement(
212
233
  'div',
213
234
  { ref: tile, key: index, className: 'tile', style: { width: tileSize + 'px' } },
@@ -0,0 +1,3 @@
1
+ var _library = true;
2
+
3
+ export { _library as _ };
@@ -0,0 +1,13 @@
1
+ var f = Object.getOwnPropertySymbols;
2
+
3
+ var _objectGops = {
4
+ f: f
5
+ };
6
+
7
+ var f$1 = {}.propertyIsEnumerable;
8
+
9
+ var _objectPie = {
10
+ f: f$1
11
+ };
12
+
13
+ export { _objectGops as _, _objectPie as a };
@@ -315,4 +315,4 @@ var _toObject = function (it) {
315
315
  return Object(_defined(it));
316
316
  };
317
317
 
318
- export { _toInteger as A, _sharedKey as B, _objectKeys as _, _toObject as a, _core as b, _export as c, _fails as d, _objectDp as e, _descriptors as f, _uid as g, _isObject as h, _has as i, _cof as j, _objectKeysInternal as k, _enumBugKeys as l, _toIobject as m, _toPrimitive as n, _ie8DomDefine as o, _propertyDesc as p, _global as q, _shared as r, _hide as s, _anObject as t, _ctx as u, _iobject as v, _toLength as w, _aFunction as x, _domCreate as y, _defined as z };
318
+ export { _toInteger as A, _sharedKey as B, _objectKeys as _, _toObject as a, _core as b, _isObject as c, _ctx as d, _descriptors as e, _objectDp as f, _iobject as g, _toLength as h, _global as i, _fails as j, _hide as k, _export as l, _aFunction as m, _anObject as n, _propertyDesc as o, _uid as p, _has as q, _cof as r, _objectKeysInternal as s, _enumBugKeys as t, _toIobject as u, _toPrimitive as v, _ie8DomDefine as w, _shared as x, _domCreate as y, _defined as z };
@@ -2,8 +2,6 @@ import { c as createCommonjsModule, u as unwrapExports, a as commonjsGlobal } fr
2
2
  import React__default from 'react';
3
3
  import PropTypes from 'prop-types';
4
4
 
5
- var _library = true;
6
-
7
5
  var domain;
8
6
 
9
7
  // This constructor is used to store event handlers. Instantiating this is
@@ -2128,4 +2126,4 @@ function debounce(func, wait, options) {
2128
2126
 
2129
2127
  var debounce_1 = debounce;
2130
2128
 
2131
- export { _baseGetTag as _, lib_1 as a, _root as b, _freeGlobal as c, debounce_1 as d, lib_2 as e, _library as f, isSymbol_1 as g, isObject_1 as h, isObjectLike_1 as i, _Symbol as j, lib_3 as l, toNumber_1 as t };
2129
+ export { _baseGetTag as _, lib_1 as a, _root as b, _freeGlobal as c, debounce_1 as d, lib_2 as e, isSymbol_1 as f, isObject_1 as g, _Symbol as h, isObjectLike_1 as i, lib_3 as l, toNumber_1 as t };
@@ -1,17 +1,6 @@
1
1
  import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
2
- import { d as _fails, a as _toObject, v as _iobject, _ as _objectKeys, f as _descriptors, c as _export, b as _core } from './_to-object-b9b796ec.js';
3
-
4
- var f = Object.getOwnPropertySymbols;
5
-
6
- var _objectGops = {
7
- f: f
8
- };
9
-
10
- var f$1 = {}.propertyIsEnumerable;
11
-
12
- var _objectPie = {
13
- f: f$1
14
- };
2
+ import { j as _fails, a as _toObject, g as _iobject, _ as _objectKeys, e as _descriptors, l as _export, b as _core } from './_to-object-1b1f7766.js';
3
+ import { _ as _objectGops, a as _objectPie } from './_object-pie-33c40e79.js';
15
4
 
16
5
  // 19.1.2.1 Object.assign(target, source, ...)
17
6
 
@@ -91,4 +80,4 @@ exports.default = _assign2.default || function (target) {
91
80
 
92
81
  var _extends$1 = unwrapExports(_extends);
93
82
 
94
- export { _extends$1 as _, _Object$assign as a, _objectGops as b, _objectPie as c };
83
+ export { _extends$1 as _, _Object$assign as a };
@@ -1,4 +1,4 @@
1
- import { g as isSymbol_1, h as isObject_1, _ as _baseGetTag, b as _root, j as _Symbol } from './debounce-702eb224.js';
1
+ import { f as isSymbol_1, g as isObject_1, _ as _baseGetTag, b as _root, h as _Symbol } from './debounce-df468b0e.js';
2
2
 
3
3
  /**
4
4
  * Checks if `value` is classified as an `Array` object.