@mjhls/mjh-framework 1.0.237 → 1.0.239
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-d87cef08.js → AdSlot-1fe1c231.js} +5 -5
- package/dist/cjs/DeckContent.js +34 -27
- package/dist/cjs/DeckQueue.js +24 -18
- package/dist/cjs/{Dfp-f62b16e1.js → Dfp-045b016b.js} +10 -7
- package/dist/cjs/{GridContent-6dae5d6a.js → GridContent-21bc198f.js} +23 -20
- package/dist/cjs/GridContent.js +18 -12
- package/dist/cjs/IssueContentDeck.js +3 -3
- package/dist/cjs/IssueDeck.js +3 -3
- package/dist/cjs/MasterDeck-f8fbac3c.js +917 -0
- package/dist/cjs/MasterDeck.js +18 -329
- package/dist/cjs/{Normal-821546cd.js → Normal-c89b709d.js} +65 -52
- package/dist/cjs/PublicationDeck.js +3 -3
- package/dist/cjs/QueueDeckExpanded.js +21 -16
- package/dist/cjs/{TaxonomyCard-d97685e2.js → TaxonomyCard-e3566492.js} +4 -4
- package/dist/cjs/TaxonomyCard.js +6 -5
- package/dist/cjs/TemplateNormal.js +11 -8
- package/dist/cjs/ThumbnailCard.js +4 -4
- package/dist/cjs/{Ustream-0d3dd953.js → Ustream-85b14a8d.js} +3 -5
- package/dist/cjs/Ustream.js +6 -2
- package/dist/cjs/VideoSeriesListing.js +19 -15
- package/dist/cjs/{YoutubeGroup-ad994d02.js → YoutubeGroup-5f480446.js} +6 -6
- package/dist/cjs/YoutubeGroup.js +3 -3
- package/dist/cjs/{_commonjsHelpers-3fc1f64e.js → _commonjsHelpers-06173234.js} +5 -0
- package/dist/cjs/_to-object-329a650b.js +348 -0
- package/dist/cjs/core.get-iterator-method-e049ca4a.js +39 -0
- package/dist/cjs/{debounce-a963b136.js → debounce-bbca43c4.js} +1 -1
- package/dist/cjs/{entities-3e0b4a16.js → entities-310b46ee.js} +1 -1
- package/dist/cjs/extends-e94dbea5.js +98 -0
- package/dist/cjs/{get-126b1712.js → get-af2516a4.js} +1 -1
- package/dist/cjs/{index-a4c53ff4.js → index-be0c82be.js} +2 -3
- package/dist/cjs/{index-0d0efcfa.js → index-fa0fb52c.js} +1 -1
- package/dist/cjs/{index-0322e486.js → index-fa3cec70.js} +1 -1
- package/dist/cjs/index.js +3510 -681
- package/dist/cjs/inherits-5b5ca8db.js +650 -0
- package/dist/cjs/{main-58839f4e.js → main-d9a1b014.js} +1 -1
- package/dist/cjs/slicedToArray-e38fb29d.js +95 -0
- package/dist/cjs/toConsumableArray-7e4caf3c.js +123 -0
- package/dist/cjs/{visibility-sensor-8936e703.js → visibility-sensor-b72d9527.js} +1 -1
- package/dist/cjs/web.dom.iterable-0998bdc3.js +254 -0
- package/dist/esm/{AdSlot-0ea49f7e.js → AdSlot-017b8051.js} +5 -5
- package/dist/esm/DeckContent.js +32 -25
- package/dist/esm/DeckQueue.js +22 -16
- package/dist/esm/{Dfp-f026ab16.js → Dfp-01f14ae3.js} +10 -7
- package/dist/esm/{GridContent-7990f509.js → GridContent-73c97039.js} +21 -18
- package/dist/esm/GridContent.js +18 -12
- package/dist/esm/IssueContentDeck.js +3 -3
- package/dist/esm/IssueDeck.js +3 -3
- package/dist/esm/MasterDeck-238f31d7.js +910 -0
- package/dist/esm/MasterDeck.js +17 -328
- package/dist/esm/{Normal-20ff5bf5.js → Normal-fdd55386.js} +65 -52
- package/dist/esm/PublicationDeck.js +3 -3
- package/dist/esm/QueueDeckExpanded.js +19 -14
- package/dist/esm/{TaxonomyCard-f9c93953.js → TaxonomyCard-a7b7ded8.js} +3 -3
- package/dist/esm/TaxonomyCard.js +6 -5
- package/dist/esm/TemplateNormal.js +11 -8
- package/dist/esm/ThumbnailCard.js +4 -4
- package/dist/esm/{Ustream-6bb45fe7.js → Ustream-62a07a32.js} +3 -5
- package/dist/esm/Ustream.js +6 -2
- package/dist/esm/VideoSeriesListing.js +16 -12
- package/dist/esm/{YoutubeGroup-1368335c.js → YoutubeGroup-78d93d44.js} +6 -6
- package/dist/esm/YoutubeGroup.js +3 -3
- package/dist/esm/{_commonjsHelpers-ae1b5db5.js → _commonjsHelpers-0c4b6f40.js} +5 -1
- package/dist/esm/_to-object-86553f76.js +318 -0
- package/dist/esm/core.get-iterator-method-709061dc.js +36 -0
- package/dist/esm/{debounce-dc0c02e5.js → debounce-fa7fbf11.js} +1 -1
- package/dist/esm/{entities-e85d3a4a.js → entities-7cc3bf45.js} +1 -1
- package/dist/esm/extends-7f88fa22.js +94 -0
- package/dist/esm/{get-b074314b.js → get-8d382479.js} +1 -1
- package/dist/esm/{index-3c1ee9ab.js → index-5f9f807a.js} +1 -1
- package/dist/esm/{index-ca4ff5cb.js → index-73819142.js} +2 -3
- package/dist/esm/{index-70f7c966.js → index-fa84ea96.js} +1 -1
- package/dist/esm/index.js +3509 -680
- package/dist/esm/inherits-a82a4471.js +642 -0
- package/dist/esm/{main-cd81c243.js → main-eecf7b27.js} +1 -1
- package/dist/esm/slicedToArray-eb7eca9e.js +93 -0
- package/dist/esm/toConsumableArray-08d50169.js +117 -0
- package/dist/esm/{visibility-sensor-71e50a91.js → visibility-sensor-336093e1.js} +1 -1
- package/dist/esm/web.dom.iterable-f05d2f57.js +246 -0
- package/package.json +101 -98
- package/dist/cjs/_babelHelpers-f321c258.js +0 -119
- package/dist/esm/_babelHelpers-67c05996.js +0 -111
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
+
import { o as _fails, b as _toObject, y as _iobject, a as _objectKeys, l as _descriptors, n as _export, _ as _core } from './_to-object-86553f76.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
|
+
};
|
|
15
|
+
|
|
16
|
+
// 19.1.2.1 Object.assign(target, source, ...)
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
var $assign = Object.assign;
|
|
24
|
+
|
|
25
|
+
// should work with symbols and should have deterministic property order (V8 bug)
|
|
26
|
+
var _objectAssign = !$assign || _fails(function () {
|
|
27
|
+
var A = {};
|
|
28
|
+
var B = {};
|
|
29
|
+
// eslint-disable-next-line no-undef
|
|
30
|
+
var S = Symbol();
|
|
31
|
+
var K = 'abcdefghijklmnopqrst';
|
|
32
|
+
A[S] = 7;
|
|
33
|
+
K.split('').forEach(function (k) { B[k] = k; });
|
|
34
|
+
return $assign({}, A)[S] != 7 || Object.keys($assign({}, B)).join('') != K;
|
|
35
|
+
}) ? function assign(target, source) { // eslint-disable-line no-unused-vars
|
|
36
|
+
var T = _toObject(target);
|
|
37
|
+
var aLen = arguments.length;
|
|
38
|
+
var index = 1;
|
|
39
|
+
var getSymbols = _objectGops.f;
|
|
40
|
+
var isEnum = _objectPie.f;
|
|
41
|
+
while (aLen > index) {
|
|
42
|
+
var S = _iobject(arguments[index++]);
|
|
43
|
+
var keys = getSymbols ? _objectKeys(S).concat(getSymbols(S)) : _objectKeys(S);
|
|
44
|
+
var length = keys.length;
|
|
45
|
+
var j = 0;
|
|
46
|
+
var key;
|
|
47
|
+
while (length > j) {
|
|
48
|
+
key = keys[j++];
|
|
49
|
+
if (!_descriptors || isEnum.call(S, key)) T[key] = S[key];
|
|
50
|
+
}
|
|
51
|
+
} return T;
|
|
52
|
+
} : $assign;
|
|
53
|
+
|
|
54
|
+
// 19.1.3.1 Object.assign(target, source)
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
_export(_export.S + _export.F, 'Object', { assign: _objectAssign });
|
|
58
|
+
|
|
59
|
+
var assign = _core.Object.assign;
|
|
60
|
+
|
|
61
|
+
var assign$1 = createCommonjsModule(function (module) {
|
|
62
|
+
module.exports = { "default": assign, __esModule: true };
|
|
63
|
+
});
|
|
64
|
+
|
|
65
|
+
unwrapExports(assign$1);
|
|
66
|
+
|
|
67
|
+
var _extends = createCommonjsModule(function (module, exports) {
|
|
68
|
+
|
|
69
|
+
exports.__esModule = true;
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
var _assign2 = _interopRequireDefault(assign$1);
|
|
74
|
+
|
|
75
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
76
|
+
|
|
77
|
+
exports.default = _assign2.default || function (target) {
|
|
78
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
79
|
+
var source = arguments[i];
|
|
80
|
+
|
|
81
|
+
for (var key in source) {
|
|
82
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
83
|
+
target[key] = source[key];
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
return target;
|
|
89
|
+
};
|
|
90
|
+
});
|
|
91
|
+
|
|
92
|
+
var _extends$1 = unwrapExports(_extends);
|
|
93
|
+
|
|
94
|
+
export { _extends$1 as _, _objectGops as a, _objectPie as b };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as isSymbol_1, a as isObject_1, _ as _baseGetTag, b as _root, c as _Symbol } from './debounce-
|
|
1
|
+
import { i as isSymbol_1, a as isObject_1, _ as _baseGetTag, b as _root, c as _Symbol } from './debounce-fa7fbf11.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Checks if `value` is classified as an `Array` object.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
1
2
|
import React__default from 'react';
|
|
2
|
-
import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-ae1b5db5.js';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import reactDom from 'react-dom';
|
|
5
5
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createCommonjsModule, u as unwrapExports, a as commonjsGlobal } from './_commonjsHelpers-
|
|
1
|
+
import { c as createCommonjsModule, u as unwrapExports, a as commonjsGlobal } from './_commonjsHelpers-0c4b6f40.js';
|
|
2
2
|
|
|
3
3
|
var parseAssetId_1 = createCommonjsModule(function (module, exports) {
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -375,8 +375,7 @@ function urlBuilder(options) {
|
|
|
375
375
|
var client = options;
|
|
376
376
|
if (isSanityClient(client)) {
|
|
377
377
|
// Inherit config from client
|
|
378
|
-
var _a = client.clientConfig,
|
|
379
|
-
var apiHost = apiUrl || 'https://api.sanity.io';
|
|
378
|
+
var _a = client.clientConfig, apiHost = _a.apiHost, projectId = _a.projectId, dataset = _a.dataset;
|
|
380
379
|
return new ImageUrlBuilder(null, {
|
|
381
380
|
baseUrl: apiHost.replace(/^https:\/\/api\./, 'https://cdn.'),
|
|
382
381
|
projectId: projectId,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
1
2
|
import React__default from 'react';
|
|
2
|
-
import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-ae1b5db5.js';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
|
|
5
5
|
var domain;
|