@mjhls/mjh-framework 1.0.1044 → 1.0.1045
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/dist/cjs/AlgoliaSearch.js +105 -73
- package/dist/cjs/AuthWrapper.js +89 -19
- package/dist/cjs/Feature.js +8 -6
- package/dist/cjs/{ImageSlider-984a697b.js → ImageSlider-d65bc9c8.js} +156 -116
- package/dist/cjs/MediaSeriesLanding.js +2 -2
- package/dist/cjs/MediaSeriesLandingPaginated.js +2 -2
- package/dist/cjs/PartnerDetailListing.js +1 -2
- package/dist/cjs/PartnerDetailListingPaginated.js +1 -2
- package/dist/cjs/{Tooltip-96fe6ef6.js → Tooltip-02a841b5.js} +86 -34
- package/dist/cjs/{index-50be6759.js → index-9ec837cc.js} +9 -25
- package/dist/cjs/index.js +2 -4
- package/dist/esm/AlgoliaSearch.js +104 -72
- package/dist/esm/AuthWrapper.js +86 -16
- package/dist/esm/Feature.js +8 -6
- package/dist/esm/{ImageSlider-497e9c88.js → ImageSlider-da225417.js} +157 -117
- package/dist/esm/MediaSeriesLanding.js +2 -2
- package/dist/esm/MediaSeriesLandingPaginated.js +2 -2
- package/dist/esm/PartnerDetailListing.js +1 -2
- package/dist/esm/PartnerDetailListingPaginated.js +1 -2
- package/dist/esm/{Tooltip-bc98d17e.js → Tooltip-7a093cd4.js} +244 -192
- package/dist/esm/{index-98ca9cec.js → index-0ce54f8a.js} +10 -25
- package/dist/esm/index.js +2 -4
- package/package.json +1 -1
- package/dist/cjs/defineProperty-e0fb52c5.js +0 -73
- package/dist/cjs/typeof-1358762e.js +0 -33
- package/dist/esm/defineProperty-23a8f8cd.js +0 -68
- package/dist/esm/typeof-2f07d0e8.js +0 -30
|
@@ -33,18 +33,9 @@ function _objectWithoutPropertiesLoose(source, excluded) {
|
|
|
33
33
|
return target;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
function _setPrototypeOf(o, p) {
|
|
37
|
-
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
38
|
-
o.__proto__ = p;
|
|
39
|
-
return o;
|
|
40
|
-
};
|
|
41
|
-
|
|
42
|
-
return _setPrototypeOf(o, p);
|
|
43
|
-
}
|
|
44
|
-
|
|
45
36
|
var classnames = createCommonjsModule(function (module) {
|
|
46
37
|
/*!
|
|
47
|
-
Copyright (c)
|
|
38
|
+
Copyright (c) 2017 Jed Watson.
|
|
48
39
|
Licensed under the MIT License (MIT), see
|
|
49
40
|
http://jedwatson.github.io/classnames
|
|
50
41
|
*/
|
|
@@ -54,7 +45,7 @@ var classnames = createCommonjsModule(function (module) {
|
|
|
54
45
|
|
|
55
46
|
var hasOwn = {}.hasOwnProperty;
|
|
56
47
|
|
|
57
|
-
function classNames() {
|
|
48
|
+
function classNames () {
|
|
58
49
|
var classes = [];
|
|
59
50
|
|
|
60
51
|
for (var i = 0; i < arguments.length; i++) {
|
|
@@ -65,22 +56,16 @@ var classnames = createCommonjsModule(function (module) {
|
|
|
65
56
|
|
|
66
57
|
if (argType === 'string' || argType === 'number') {
|
|
67
58
|
classes.push(arg);
|
|
68
|
-
} else if (Array.isArray(arg)) {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
classes.push(inner);
|
|
73
|
-
}
|
|
59
|
+
} else if (Array.isArray(arg) && arg.length) {
|
|
60
|
+
var inner = classNames.apply(null, arg);
|
|
61
|
+
if (inner) {
|
|
62
|
+
classes.push(inner);
|
|
74
63
|
}
|
|
75
64
|
} else if (argType === 'object') {
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
classes.push(key);
|
|
80
|
-
}
|
|
65
|
+
for (var key in arg) {
|
|
66
|
+
if (hasOwn.call(arg, key) && arg[key]) {
|
|
67
|
+
classes.push(key);
|
|
81
68
|
}
|
|
82
|
-
} else {
|
|
83
|
-
classes.push(arg.toString());
|
|
84
69
|
}
|
|
85
70
|
}
|
|
86
71
|
}
|
|
@@ -97,4 +82,4 @@ var classnames = createCommonjsModule(function (module) {
|
|
|
97
82
|
}());
|
|
98
83
|
});
|
|
99
84
|
|
|
100
|
-
export { _objectWithoutPropertiesLoose as _,
|
|
85
|
+
export { _objectWithoutPropertiesLoose as _, _extends as a, classnames as c };
|
package/dist/esm/index.js
CHANGED
|
@@ -154,8 +154,7 @@ import './_object-to-array-b61d5965.js';
|
|
|
154
154
|
import 'react-bootstrap/Spinner';
|
|
155
155
|
import 'react-bootstrap/Form';
|
|
156
156
|
import './js.cookie-6874175c.js';
|
|
157
|
-
import './
|
|
158
|
-
import './index-98ca9cec.js';
|
|
157
|
+
import './index-0ce54f8a.js';
|
|
159
158
|
import './ConferenceBanner-8792ebd2.js';
|
|
160
159
|
import 'next/head';
|
|
161
160
|
import '@mjhls/mjh-framework/dist/cjs/urlFor';
|
|
@@ -197,8 +196,7 @@ import './SeriesSlider-a6b1d617.js';
|
|
|
197
196
|
import './style-inject.es-1f59c1d0.js';
|
|
198
197
|
import 'disqus-react';
|
|
199
198
|
import 'react-twitter-embed';
|
|
200
|
-
import './ImageSlider-
|
|
201
|
-
import './defineProperty-23a8f8cd.js';
|
|
199
|
+
import './ImageSlider-da225417.js';
|
|
202
200
|
import './VideoSeriesCard.js';
|
|
203
201
|
|
|
204
202
|
//Feature query to be used
|
package/package.json
CHANGED
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var _commonjsHelpers = require('./_commonjsHelpers-06173234.js');
|
|
4
|
-
|
|
5
|
-
var asyncToGenerator = _commonjsHelpers.createCommonjsModule(function (module) {
|
|
6
|
-
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
7
|
-
try {
|
|
8
|
-
var info = gen[key](arg);
|
|
9
|
-
var value = info.value;
|
|
10
|
-
} catch (error) {
|
|
11
|
-
reject(error);
|
|
12
|
-
return;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
if (info.done) {
|
|
16
|
-
resolve(value);
|
|
17
|
-
} else {
|
|
18
|
-
Promise.resolve(value).then(_next, _throw);
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
function _asyncToGenerator(fn) {
|
|
23
|
-
return function () {
|
|
24
|
-
var self = this,
|
|
25
|
-
args = arguments;
|
|
26
|
-
return new Promise(function (resolve, reject) {
|
|
27
|
-
var gen = fn.apply(self, args);
|
|
28
|
-
|
|
29
|
-
function _next(value) {
|
|
30
|
-
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
function _throw(err) {
|
|
34
|
-
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
_next(undefined);
|
|
38
|
-
});
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
module.exports = _asyncToGenerator;
|
|
43
|
-
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
44
|
-
});
|
|
45
|
-
|
|
46
|
-
var _asyncToGenerator = _commonjsHelpers.unwrapExports(asyncToGenerator);
|
|
47
|
-
|
|
48
|
-
var defineProperty = _commonjsHelpers.createCommonjsModule(function (module) {
|
|
49
|
-
function _defineProperty(obj, key, value) {
|
|
50
|
-
if (key in obj) {
|
|
51
|
-
Object.defineProperty(obj, key, {
|
|
52
|
-
value: value,
|
|
53
|
-
enumerable: true,
|
|
54
|
-
configurable: true,
|
|
55
|
-
writable: true
|
|
56
|
-
});
|
|
57
|
-
} else {
|
|
58
|
-
obj[key] = value;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
return obj;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
module.exports = _defineProperty;
|
|
65
|
-
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
66
|
-
});
|
|
67
|
-
|
|
68
|
-
var _defineProperty = _commonjsHelpers.unwrapExports(defineProperty);
|
|
69
|
-
|
|
70
|
-
exports._asyncToGenerator = _asyncToGenerator;
|
|
71
|
-
exports._defineProperty = _defineProperty;
|
|
72
|
-
exports.asyncToGenerator = asyncToGenerator;
|
|
73
|
-
exports.defineProperty = defineProperty;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var _commonjsHelpers = require('./_commonjsHelpers-06173234.js');
|
|
4
|
-
|
|
5
|
-
var _typeof_1 = _commonjsHelpers.createCommonjsModule(function (module) {
|
|
6
|
-
function _typeof(obj) {
|
|
7
|
-
"@babel/helpers - typeof";
|
|
8
|
-
|
|
9
|
-
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
|
|
10
|
-
module.exports = _typeof = function _typeof(obj) {
|
|
11
|
-
return typeof obj;
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
15
|
-
} else {
|
|
16
|
-
module.exports = _typeof = function _typeof(obj) {
|
|
17
|
-
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
return _typeof(obj);
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
module.exports = _typeof;
|
|
27
|
-
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
28
|
-
});
|
|
29
|
-
|
|
30
|
-
var _typeof = _commonjsHelpers.unwrapExports(_typeof_1);
|
|
31
|
-
|
|
32
|
-
exports._typeof = _typeof;
|
|
33
|
-
exports._typeof_1 = _typeof_1;
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
|
|
3
|
-
var asyncToGenerator = createCommonjsModule(function (module) {
|
|
4
|
-
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
5
|
-
try {
|
|
6
|
-
var info = gen[key](arg);
|
|
7
|
-
var value = info.value;
|
|
8
|
-
} catch (error) {
|
|
9
|
-
reject(error);
|
|
10
|
-
return;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
if (info.done) {
|
|
14
|
-
resolve(value);
|
|
15
|
-
} else {
|
|
16
|
-
Promise.resolve(value).then(_next, _throw);
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
function _asyncToGenerator(fn) {
|
|
21
|
-
return function () {
|
|
22
|
-
var self = this,
|
|
23
|
-
args = arguments;
|
|
24
|
-
return new Promise(function (resolve, reject) {
|
|
25
|
-
var gen = fn.apply(self, args);
|
|
26
|
-
|
|
27
|
-
function _next(value) {
|
|
28
|
-
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
function _throw(err) {
|
|
32
|
-
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
_next(undefined);
|
|
36
|
-
});
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
module.exports = _asyncToGenerator;
|
|
41
|
-
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
42
|
-
});
|
|
43
|
-
|
|
44
|
-
var _asyncToGenerator = unwrapExports(asyncToGenerator);
|
|
45
|
-
|
|
46
|
-
var defineProperty = createCommonjsModule(function (module) {
|
|
47
|
-
function _defineProperty(obj, key, value) {
|
|
48
|
-
if (key in obj) {
|
|
49
|
-
Object.defineProperty(obj, key, {
|
|
50
|
-
value: value,
|
|
51
|
-
enumerable: true,
|
|
52
|
-
configurable: true,
|
|
53
|
-
writable: true
|
|
54
|
-
});
|
|
55
|
-
} else {
|
|
56
|
-
obj[key] = value;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
return obj;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
module.exports = _defineProperty;
|
|
63
|
-
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
64
|
-
});
|
|
65
|
-
|
|
66
|
-
var _defineProperty = unwrapExports(defineProperty);
|
|
67
|
-
|
|
68
|
-
export { _asyncToGenerator as _, _defineProperty as a, asyncToGenerator as b, defineProperty as d };
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
|
|
3
|
-
var _typeof_1 = createCommonjsModule(function (module) {
|
|
4
|
-
function _typeof(obj) {
|
|
5
|
-
"@babel/helpers - typeof";
|
|
6
|
-
|
|
7
|
-
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
|
|
8
|
-
module.exports = _typeof = function _typeof(obj) {
|
|
9
|
-
return typeof obj;
|
|
10
|
-
};
|
|
11
|
-
|
|
12
|
-
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
13
|
-
} else {
|
|
14
|
-
module.exports = _typeof = function _typeof(obj) {
|
|
15
|
-
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
return _typeof(obj);
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
module.exports = _typeof;
|
|
25
|
-
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
26
|
-
});
|
|
27
|
-
|
|
28
|
-
var _typeof = unwrapExports(_typeof_1);
|
|
29
|
-
|
|
30
|
-
export { _typeof as _, _typeof_1 as a };
|