@mjhls/mjh-framework 1.0.1033 → 1.0.1034
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 +73 -105
- package/dist/cjs/AuthWrapper.js +19 -89
- package/dist/cjs/HamMagazine.js +85 -25
- package/dist/cjs/{ImageSlider-d65bc9c8.js → ImageSlider-984a697b.js} +116 -156
- package/dist/cjs/MediaSeriesLanding.js +2 -2
- package/dist/cjs/MediaSeriesLandingPaginated.js +2 -2
- package/dist/cjs/PartnerDetailListing.js +2 -1
- package/dist/cjs/PartnerDetailListingPaginated.js +2 -1
- package/dist/cjs/{Tooltip-02a841b5.js → Tooltip-96fe6ef6.js} +34 -86
- package/dist/cjs/defineProperty-e0fb52c5.js +73 -0
- package/dist/cjs/{index-9ec837cc.js → index-50be6759.js} +25 -9
- package/dist/cjs/index.js +4 -2
- package/dist/cjs/typeof-1358762e.js +33 -0
- package/dist/esm/AlgoliaSearch.js +72 -104
- package/dist/esm/AuthWrapper.js +16 -86
- package/dist/esm/HamMagazine.js +85 -25
- package/dist/esm/{ImageSlider-da225417.js → ImageSlider-497e9c88.js} +117 -157
- package/dist/esm/MediaSeriesLanding.js +2 -2
- package/dist/esm/MediaSeriesLandingPaginated.js +2 -2
- package/dist/esm/PartnerDetailListing.js +2 -1
- package/dist/esm/PartnerDetailListingPaginated.js +2 -1
- package/dist/esm/{Tooltip-7a093cd4.js → Tooltip-bc98d17e.js} +192 -244
- package/dist/esm/defineProperty-23a8f8cd.js +68 -0
- package/dist/esm/{index-0ce54f8a.js → index-98ca9cec.js} +25 -10
- package/dist/esm/index.js +4 -2
- package/dist/esm/typeof-2f07d0e8.js +30 -0
- package/package.json +1 -1
|
@@ -0,0 +1,68 @@
|
|
|
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 };
|
|
@@ -33,9 +33,18 @@ 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
|
+
|
|
36
45
|
var classnames = createCommonjsModule(function (module) {
|
|
37
46
|
/*!
|
|
38
|
-
Copyright (c)
|
|
47
|
+
Copyright (c) 2018 Jed Watson.
|
|
39
48
|
Licensed under the MIT License (MIT), see
|
|
40
49
|
http://jedwatson.github.io/classnames
|
|
41
50
|
*/
|
|
@@ -45,7 +54,7 @@ var classnames = createCommonjsModule(function (module) {
|
|
|
45
54
|
|
|
46
55
|
var hasOwn = {}.hasOwnProperty;
|
|
47
56
|
|
|
48
|
-
function classNames
|
|
57
|
+
function classNames() {
|
|
49
58
|
var classes = [];
|
|
50
59
|
|
|
51
60
|
for (var i = 0; i < arguments.length; i++) {
|
|
@@ -56,16 +65,22 @@ var classnames = createCommonjsModule(function (module) {
|
|
|
56
65
|
|
|
57
66
|
if (argType === 'string' || argType === 'number') {
|
|
58
67
|
classes.push(arg);
|
|
59
|
-
} else if (Array.isArray(arg)
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
68
|
+
} else if (Array.isArray(arg)) {
|
|
69
|
+
if (arg.length) {
|
|
70
|
+
var inner = classNames.apply(null, arg);
|
|
71
|
+
if (inner) {
|
|
72
|
+
classes.push(inner);
|
|
73
|
+
}
|
|
63
74
|
}
|
|
64
75
|
} else if (argType === 'object') {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
76
|
+
if (arg.toString === Object.prototype.toString) {
|
|
77
|
+
for (var key in arg) {
|
|
78
|
+
if (hasOwn.call(arg, key) && arg[key]) {
|
|
79
|
+
classes.push(key);
|
|
80
|
+
}
|
|
68
81
|
}
|
|
82
|
+
} else {
|
|
83
|
+
classes.push(arg.toString());
|
|
69
84
|
}
|
|
70
85
|
}
|
|
71
86
|
}
|
|
@@ -82,4 +97,4 @@ var classnames = createCommonjsModule(function (module) {
|
|
|
82
97
|
}());
|
|
83
98
|
});
|
|
84
99
|
|
|
85
|
-
export { _objectWithoutPropertiesLoose as _,
|
|
100
|
+
export { _objectWithoutPropertiesLoose as _, _setPrototypeOf as a, _extends as b, classnames as c };
|
package/dist/esm/index.js
CHANGED
|
@@ -154,7 +154,8 @@ 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 './
|
|
157
|
+
import './typeof-2f07d0e8.js';
|
|
158
|
+
import './index-98ca9cec.js';
|
|
158
159
|
import './ConferenceBanner-8792ebd2.js';
|
|
159
160
|
import 'next/head';
|
|
160
161
|
import '@mjhls/mjh-framework/dist/cjs/urlFor';
|
|
@@ -196,7 +197,8 @@ import './SeriesSlider-a6b1d617.js';
|
|
|
196
197
|
import './style-inject.es-1f59c1d0.js';
|
|
197
198
|
import 'disqus-react';
|
|
198
199
|
import 'react-twitter-embed';
|
|
199
|
-
import './ImageSlider-
|
|
200
|
+
import './ImageSlider-497e9c88.js';
|
|
201
|
+
import './defineProperty-23a8f8cd.js';
|
|
200
202
|
import './VideoSeriesCard.js';
|
|
201
203
|
|
|
202
204
|
//Feature query to be used
|
|
@@ -0,0 +1,30 @@
|
|
|
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 };
|