@mjhls/mjh-framework 1.0.239 → 1.0.240
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 +174 -174
- package/dist/cjs/AdSlot-c472fff6.js +1192 -0
- package/dist/cjs/DeckContent.js +15 -14
- package/dist/cjs/DeckQueue.js +6 -6
- package/dist/cjs/{Dfp-045b016b.js → Dfp-7a5533f9.js} +1 -1
- package/dist/cjs/{GridContent-21bc198f.js → GridContent-f9e3fff5.js} +8 -8
- package/dist/cjs/GridContent.js +9 -8
- package/dist/cjs/IssueContentDeck.js +1 -1
- package/dist/cjs/IssueDeck.js +1 -1
- package/dist/cjs/MasterDeck.js +332 -14
- package/dist/cjs/{Normal-c89b709d.js → Normal-0497eb61.js} +32 -32
- package/dist/cjs/PublicationDeck.js +1 -1
- package/dist/cjs/QueueDeckExpanded.js +3 -3
- package/dist/cjs/{TaxonomyCard-e3566492.js → TaxonomyCard-b5074d6e.js} +1 -1
- package/dist/cjs/TaxonomyCard.js +2 -2
- package/dist/cjs/TemplateNormal.js +6 -5
- package/dist/cjs/ThumbnailCard.js +1 -1
- package/dist/cjs/VideoSeriesListing.js +3 -3
- package/dist/cjs/{YoutubeGroup-5f480446.js → YoutubeGroup-fd44f8a0.js} +4 -4
- package/dist/cjs/YoutubeGroup.js +1 -1
- package/dist/cjs/{debounce-bbca43c4.js → debounce-783eb233.js} +3 -0
- package/dist/cjs/{get-af2516a4.js → get-1f91592f.js} +1 -1
- package/dist/cjs/{index-be0c82be.js → index-39beccb3.js} +2 -1
- package/dist/cjs/index.js +643 -1355
- package/dist/cjs/{inherits-5b5ca8db.js → inherits-9898af5a.js} +2 -4
- package/dist/cjs/{main-d9a1b014.js → main-0ea1b808.js} +51 -0
- package/dist/cjs/{MasterDeck-f8fbac3c.js → promise-b96c61f8.js} +7 -340
- package/dist/cjs/{toConsumableArray-7e4caf3c.js → toConsumableArray-f05a306f.js} +5 -52
- package/dist/esm/AdSlot-bdd7a629.js +1183 -0
- package/dist/esm/DeckContent.js +20 -19
- package/dist/esm/DeckQueue.js +10 -10
- package/dist/esm/{Dfp-01f14ae3.js → Dfp-71879c9d.js} +5 -5
- package/dist/esm/{GridContent-73c97039.js → GridContent-d4f5457e.js} +9 -9
- package/dist/esm/GridContent.js +14 -13
- package/dist/esm/IssueContentDeck.js +1 -1
- package/dist/esm/IssueDeck.js +1 -1
- package/dist/esm/MasterDeck.js +334 -16
- package/dist/esm/{Normal-fdd55386.js → Normal-e1855047.js} +33 -33
- package/dist/esm/PublicationDeck.js +1 -1
- package/dist/esm/QueueDeckExpanded.js +8 -8
- package/dist/esm/{TaxonomyCard-a7b7ded8.js → TaxonomyCard-ee1a22ae.js} +2 -2
- package/dist/esm/TaxonomyCard.js +4 -4
- package/dist/esm/TemplateNormal.js +10 -9
- package/dist/esm/ThumbnailCard.js +1 -1
- package/dist/esm/{Ustream-62a07a32.js → Ustream-d51b9b11.js} +1 -1
- package/dist/esm/Ustream.js +5 -5
- package/dist/esm/VideoSeriesListing.js +6 -6
- package/dist/esm/{YoutubeGroup-78d93d44.js → YoutubeGroup-1b3eca73.js} +4 -4
- package/dist/esm/YoutubeGroup.js +1 -1
- package/dist/esm/{_to-object-86553f76.js → _to-object-b9b796ec.js} +1 -1
- package/dist/esm/{core.get-iterator-method-709061dc.js → core.get-iterator-method-31c1fb1a.js} +2 -2
- package/dist/esm/{debounce-fa7fbf11.js → debounce-806f886b.js} +3 -1
- package/dist/esm/{extends-7f88fa22.js → extends-dbbe308d.js} +1 -1
- package/dist/esm/{get-8d382479.js → get-b2201dc8.js} +1 -1
- package/dist/esm/{index-73819142.js → index-3849e3fe.js} +2 -1
- package/dist/esm/index.js +649 -1363
- package/dist/esm/{inherits-a82a4471.js → inherits-a75c8a1c.js} +5 -6
- package/dist/esm/{main-eecf7b27.js → main-155ec04f.js} +48 -1
- package/dist/esm/{MasterDeck-238f31d7.js → promise-683a9c54.js} +6 -335
- package/dist/esm/{slicedToArray-eb7eca9e.js → slicedToArray-d0a9593a.js} +3 -3
- package/dist/esm/{toConsumableArray-08d50169.js → toConsumableArray-eb308ede.js} +5 -49
- package/dist/esm/{web.dom.iterable-f05d2f57.js → web.dom.iterable-3be50d6c.js} +2 -2
- package/package.json +102 -101
- package/dist/cjs/AdSlot-1fe1c231.js +0 -69
- package/dist/esm/AdSlot-017b8051.js +0 -64
|
@@ -6,7 +6,7 @@ import Col from 'react-bootstrap/Col';
|
|
|
6
6
|
import Card from 'react-bootstrap/Card';
|
|
7
7
|
import 'next/link';
|
|
8
8
|
import 'react-dom';
|
|
9
|
-
import { i as imageUrlBuilder } from './index-
|
|
9
|
+
import { i as imageUrlBuilder } from './index-3849e3fe.js';
|
|
10
10
|
import { L as LazyLoad } from './index-5f9f807a.js';
|
|
11
11
|
import Button from 'react-bootstrap/Button';
|
|
12
12
|
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './_to-object-
|
|
3
|
-
import './web.dom.iterable-
|
|
4
|
-
import {
|
|
5
|
-
import './
|
|
6
|
-
import
|
|
2
|
+
import './_to-object-b9b796ec.js';
|
|
3
|
+
import './web.dom.iterable-3be50d6c.js';
|
|
4
|
+
import { m as main_36 } from './main-155ec04f.js';
|
|
5
|
+
import { _ as _toConsumableArray } from './toConsumableArray-eb308ede.js';
|
|
6
|
+
import './core.get-iterator-method-31c1fb1a.js';
|
|
7
|
+
import { _ as _extends } from './extends-dbbe308d.js';
|
|
7
8
|
import React__default, { useState, useEffect, useRef } from 'react';
|
|
8
9
|
import { l as lib_3 } from './index-fa84ea96.js';
|
|
9
10
|
import 'prop-types';
|
|
@@ -11,11 +12,10 @@ import { I as InfiniteScroll, V as VisibilitySensor, m as moment } from './visib
|
|
|
11
12
|
import 'next/link';
|
|
12
13
|
import { useRouter } from 'next/router';
|
|
13
14
|
import 'react-dom';
|
|
14
|
-
import { i as imageUrlBuilder } from './index-
|
|
15
|
+
import { i as imageUrlBuilder } from './index-3849e3fe.js';
|
|
15
16
|
import { L as LazyLoad } from './index-5f9f807a.js';
|
|
16
|
-
import { m as main_36 } from './main-eecf7b27.js';
|
|
17
17
|
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
18
|
-
import { _ as _slicedToArray } from './slicedToArray-
|
|
18
|
+
import { _ as _slicedToArray } from './slicedToArray-d0a9593a.js';
|
|
19
19
|
import { Container, Media } from 'react-bootstrap';
|
|
20
20
|
|
|
21
21
|
var urlFor = function urlFor(source, builder) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { _ as _extends } from './extends-
|
|
1
|
+
import { _ as _extends } from './extends-dbbe308d.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import Container from 'react-bootstrap/Container';
|
|
5
5
|
import Row from 'react-bootstrap/Row';
|
|
6
6
|
import Col from 'react-bootstrap/Col';
|
|
7
7
|
import Card from 'react-bootstrap/Card';
|
|
8
|
-
import { n as node, i as imageUrlBuilder } from './index-
|
|
8
|
+
import { n as node, i as imageUrlBuilder } from './index-3849e3fe.js';
|
|
9
9
|
import { L as LazyLoad } from './index-5f9f807a.js';
|
|
10
10
|
|
|
11
11
|
/*
|
package/dist/esm/TaxonomyCard.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './_to-object-
|
|
3
|
-
import './extends-
|
|
2
|
+
import './_to-object-b9b796ec.js';
|
|
3
|
+
import './extends-dbbe308d.js';
|
|
4
4
|
import 'react';
|
|
5
5
|
import 'prop-types';
|
|
6
6
|
import 'react-bootstrap/Container';
|
|
@@ -8,6 +8,6 @@ import 'react-bootstrap/Row';
|
|
|
8
8
|
import 'react-bootstrap/Col';
|
|
9
9
|
import 'react-bootstrap/Card';
|
|
10
10
|
import 'react-dom';
|
|
11
|
-
import './index-
|
|
11
|
+
import './index-3849e3fe.js';
|
|
12
12
|
import './index-5f9f807a.js';
|
|
13
|
-
export { T as default } from './TaxonomyCard-
|
|
13
|
+
export { T as default } from './TaxonomyCard-ee1a22ae.js';
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './_to-object-
|
|
3
|
-
import './web.dom.iterable-
|
|
4
|
-
import './
|
|
2
|
+
import './_to-object-b9b796ec.js';
|
|
3
|
+
import './web.dom.iterable-3be50d6c.js';
|
|
4
|
+
import './debounce-806f886b.js';
|
|
5
|
+
import './main-155ec04f.js';
|
|
6
|
+
import './core.get-iterator-method-31c1fb1a.js';
|
|
5
7
|
import 'react';
|
|
6
8
|
import './index-fa84ea96.js';
|
|
7
9
|
import 'prop-types';
|
|
@@ -9,15 +11,14 @@ import 'react-bootstrap/Container';
|
|
|
9
11
|
import 'react-bootstrap/Row';
|
|
10
12
|
import 'react-bootstrap/Col';
|
|
11
13
|
import 'next/link';
|
|
12
|
-
import './
|
|
13
|
-
import './
|
|
14
|
-
import './
|
|
15
|
-
import './
|
|
16
|
-
import './get-8d382479.js';
|
|
14
|
+
import './slicedToArray-d0a9593a.js';
|
|
15
|
+
import './AdSlot-bdd7a629.js';
|
|
16
|
+
import './promise-683a9c54.js';
|
|
17
|
+
import './get-b2201dc8.js';
|
|
17
18
|
import 'react-bootstrap';
|
|
18
19
|
import './index.esm-536609db.js';
|
|
19
20
|
import 'react-bootstrap/Button';
|
|
20
|
-
export { T as default } from './Normal-
|
|
21
|
+
export { T as default } from './Normal-e1855047.js';
|
|
21
22
|
import 'react-bootstrap/ListGroup';
|
|
22
23
|
import 'next/head';
|
|
23
24
|
import 'react-bootstrap/Nav';
|
|
@@ -2,7 +2,7 @@ import './_commonjsHelpers-0c4b6f40.js';
|
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
import 'prop-types';
|
|
4
4
|
import 'react-dom';
|
|
5
|
-
import { i as imageUrlBuilder } from './index-
|
|
5
|
+
import { i as imageUrlBuilder } from './index-3849e3fe.js';
|
|
6
6
|
import { L as LazyLoad } from './index-5f9f807a.js';
|
|
7
7
|
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
8
8
|
import Media$1 from 'react-bootstrap/Media';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React__default, { useState, useRef, useEffect } from 'react';
|
|
2
|
-
import { _ as _slicedToArray } from './slicedToArray-
|
|
2
|
+
import { _ as _slicedToArray } from './slicedToArray-d0a9593a.js';
|
|
3
3
|
import { G as GenIcon, d as IoIosOpen } from './index.esm-536609db.js';
|
|
4
4
|
|
|
5
5
|
// THIS FILE IS AUTO GENERATED
|
package/dist/esm/Ustream.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './_to-object-
|
|
3
|
-
import './web.dom.iterable-
|
|
4
|
-
import './core.get-iterator-method-
|
|
2
|
+
import './_to-object-b9b796ec.js';
|
|
3
|
+
import './web.dom.iterable-3be50d6c.js';
|
|
4
|
+
import './core.get-iterator-method-31c1fb1a.js';
|
|
5
5
|
import 'react';
|
|
6
|
-
import './slicedToArray-
|
|
6
|
+
import './slicedToArray-d0a9593a.js';
|
|
7
7
|
import './index.esm-536609db.js';
|
|
8
|
-
export { U as default } from './Ustream-
|
|
8
|
+
export { U as default } from './Ustream-d51b9b11.js';
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './_to-object-
|
|
3
|
-
import './web.dom.iterable-
|
|
4
|
-
import {
|
|
5
|
-
import { _ as _extends } from './extends-
|
|
2
|
+
import './_to-object-b9b796ec.js';
|
|
3
|
+
import './web.dom.iterable-3be50d6c.js';
|
|
4
|
+
import { d as debounce_1 } from './debounce-806f886b.js';
|
|
5
|
+
import { _ as _extends } from './extends-dbbe308d.js';
|
|
6
|
+
import { a as _inherits, b as _classCallCheck, c as _possibleConstructorReturn, d as _Object$getPrototypeOf, e as _createClass } from './inherits-a75c8a1c.js';
|
|
6
7
|
import React__default from 'react';
|
|
7
8
|
import { l as lib_3 } from './index-fa84ea96.js';
|
|
8
9
|
import 'prop-types';
|
|
@@ -10,10 +11,9 @@ import Container from 'react-bootstrap/Container';
|
|
|
10
11
|
import { I as InfiniteScroll, V as VisibilitySensor } from './visibility-sensor-336093e1.js';
|
|
11
12
|
import 'next/link';
|
|
12
13
|
import { withRouter } from 'next/router';
|
|
13
|
-
import { d as debounce_1 } from './debounce-fa7fbf11.js';
|
|
14
14
|
import 'react-dom';
|
|
15
15
|
import './index-5f9f807a.js';
|
|
16
|
-
import { Y as YoutubeGroup } from './YoutubeGroup-
|
|
16
|
+
import { Y as YoutubeGroup } from './YoutubeGroup-1b3eca73.js';
|
|
17
17
|
import { a as IoIosArrowForward } from './index.esm-536609db.js';
|
|
18
18
|
|
|
19
19
|
var VideoSeriesListing = function (_React$Component) {
|
|
@@ -52,10 +52,10 @@ var getYoutubeId = createCommonjsModule(function (module, exports) {
|
|
|
52
52
|
}));
|
|
53
53
|
});
|
|
54
54
|
|
|
55
|
-
/*
|
|
56
|
-
GROQ query -
|
|
57
|
-
accepts an array of title, URL
|
|
58
|
-
`https://img.youtube.com/vi/${getYouTubeId(vid.url)}/hqdefault.jpg`
|
|
55
|
+
/*
|
|
56
|
+
GROQ query -
|
|
57
|
+
accepts an array of title, URL
|
|
58
|
+
`https://img.youtube.com/vi/${getYouTubeId(vid.url)}/hqdefault.jpg`
|
|
59
59
|
*/
|
|
60
60
|
var YoutubeGroup = function YoutubeGroup(props) {
|
|
61
61
|
// Props should be an array of objects containing Thumbnail, title, and URL
|
package/dist/esm/YoutubeGroup.js
CHANGED
|
@@ -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,
|
|
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 };
|
package/dist/esm/{core.get-iterator-method-709061dc.js → core.get-iterator-method-31c1fb1a.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { j as _cof, b as _core } from './_to-object-b9b796ec.js';
|
|
2
|
+
import { a as _wks, e as _iterators } from './web.dom.iterable-3be50d6c.js';
|
|
3
3
|
|
|
4
4
|
// getting tag from 19.1.3.6 Object.prototype.toString()
|
|
5
5
|
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { a as commonjsGlobal } from './_commonjsHelpers-0c4b6f40.js';
|
|
2
2
|
|
|
3
|
+
var _library = true;
|
|
4
|
+
|
|
3
5
|
/**
|
|
4
6
|
* Checks if `value` is the
|
|
5
7
|
* [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
|
|
@@ -474,4 +476,4 @@ function debounce(func, wait, options) {
|
|
|
474
476
|
|
|
475
477
|
var debounce_1 = debounce;
|
|
476
478
|
|
|
477
|
-
export {
|
|
479
|
+
export { _library as _, isObject_1 as a, _baseGetTag as b, _root as c, debounce_1 as d, _Symbol as e, isSymbol_1 as i };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import {
|
|
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
3
|
|
|
4
4
|
var f = Object.getOwnPropertySymbols;
|
|
5
5
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as isSymbol_1, a as isObject_1,
|
|
1
|
+
import { i as isSymbol_1, a as isObject_1, b as _baseGetTag, c as _root, e as _Symbol } from './debounce-806f886b.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Checks if `value` is classified as an `Array` object.
|
|
@@ -375,7 +375,8 @@ function urlBuilder(options) {
|
|
|
375
375
|
var client = options;
|
|
376
376
|
if (isSanityClient(client)) {
|
|
377
377
|
// Inherit config from client
|
|
378
|
-
var _a = client.clientConfig,
|
|
378
|
+
var _a = client.clientConfig, apiUrl = _a.apiHost, projectId = _a.projectId, dataset = _a.dataset;
|
|
379
|
+
var apiHost = apiUrl || 'https://api.sanity.io';
|
|
379
380
|
return new ImageUrlBuilder(null, {
|
|
380
381
|
baseUrl: apiHost.replace(/^https:\/\/api\./, 'https://cdn.'),
|
|
381
382
|
projectId: projectId,
|