@mjhls/mjh-framework 1.0.1033 → 1.0.1035-segment
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 +24 -28
- package/dist/cjs/ArticleProgramLandingPage.js +1 -1
- package/dist/cjs/Auth.js +1 -1
- package/dist/cjs/AuthWrapper.js +3 -65
- package/dist/cjs/ExternalResources.js +1 -1
- package/dist/cjs/HamMagazine.js +90 -30
- package/dist/cjs/HorizontalArticleListing.js +1 -1
- package/dist/cjs/{ImageSlider-d65bc9c8.js → ImageSlider-eb866353.js} +114 -159
- package/dist/cjs/IssueLanding.js +1 -1
- package/dist/cjs/LeftNav.js +3 -3
- package/dist/cjs/{MediaSeriesCard-df8ea0d1.js → MediaSeriesCard-3759e7fb.js} +1 -1
- package/dist/cjs/MediaSeriesLanding.js +4 -4
- package/dist/cjs/MediaSeriesLandingPaginated.js +4 -4
- package/dist/cjs/NavDvm.js +6 -6
- package/dist/cjs/NavMagazine.js +7 -7
- package/dist/cjs/NavNative.js +8 -8
- package/dist/cjs/PartnerDetailListing.js +3 -2
- package/dist/cjs/PartnerDetailListingPaginated.js +3 -2
- package/dist/cjs/PodcastsLanding.js +2 -2
- package/dist/cjs/SideFooter.js +3 -3
- package/dist/cjs/TaxonomyDescription.js +1 -1
- package/dist/cjs/{Tooltip-02a841b5.js → Tooltip-8011d690.js} +25 -58
- package/dist/cjs/VideoProgramLandingPage.js +1 -1
- package/dist/cjs/View.js +2 -2
- package/dist/cjs/defineProperty-19580e93.js +71 -0
- package/dist/cjs/getRelatedArticle.js +1 -1
- package/dist/cjs/getSerializers.js +1 -1
- package/dist/cjs/{index-bd6c9f56.js → index-3cd60d26.js} +11 -11
- package/dist/cjs/{index-cb6fa8f2.js → index-4b2706b8.js} +12 -11
- package/dist/cjs/{index-9ec837cc.js → index-50be6759.js} +25 -9
- package/dist/cjs/index.js +5 -4
- package/dist/esm/AlgoliaSearch.js +23 -27
- package/dist/esm/ArticleProgramLandingPage.js +1 -1
- package/dist/esm/Auth.js +1 -1
- package/dist/esm/AuthWrapper.js +1 -63
- package/dist/esm/ExternalResources.js +1 -1
- package/dist/esm/HamMagazine.js +90 -30
- package/dist/esm/HorizontalArticleListing.js +1 -1
- package/dist/esm/{ImageSlider-da225417.js → ImageSlider-fc25202e.js} +115 -160
- package/dist/esm/IssueLanding.js +1 -1
- package/dist/esm/LeftNav.js +3 -3
- package/dist/esm/{MediaSeriesCard-e509e94d.js → MediaSeriesCard-f3db58fa.js} +1 -1
- package/dist/esm/MediaSeriesLanding.js +4 -4
- package/dist/esm/MediaSeriesLandingPaginated.js +4 -4
- package/dist/esm/NavDvm.js +6 -6
- package/dist/esm/NavMagazine.js +7 -7
- package/dist/esm/NavNative.js +8 -8
- package/dist/esm/PartnerDetailListing.js +3 -2
- package/dist/esm/PartnerDetailListingPaginated.js +3 -2
- package/dist/esm/PodcastsLanding.js +2 -2
- package/dist/esm/SideFooter.js +3 -3
- package/dist/esm/TaxonomyDescription.js +1 -1
- package/dist/esm/{Tooltip-7a093cd4.js → Tooltip-2cdd0895.js} +183 -216
- package/dist/esm/VideoProgramLandingPage.js +1 -1
- package/dist/esm/View.js +2 -2
- package/dist/esm/defineProperty-e8022d1e.js +66 -0
- package/dist/esm/getRelatedArticle.js +1 -1
- package/dist/esm/getSerializers.js +1 -1
- package/dist/esm/{index-db3bb315.js → index-0a63f9a3.js} +11 -11
- package/dist/esm/{index-0ce54f8a.js → index-98ca9cec.js} +25 -10
- package/dist/esm/{index-56c9814b.js → index-9d159a77.js} +12 -11
- package/dist/esm/index.js +5 -4
- package/package.json +1 -1
|
@@ -5,7 +5,7 @@ import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
|
5
5
|
import Col from 'react-bootstrap/Col';
|
|
6
6
|
import Form from 'react-bootstrap/Form';
|
|
7
7
|
import Button from 'react-bootstrap/Button';
|
|
8
|
-
import { g as getSerializers } from './index-
|
|
8
|
+
import { g as getSerializers } from './index-9d159a77.js';
|
|
9
9
|
import VideoSeriesListing from './VideoSeriesListing.js';
|
|
10
10
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
11
11
|
import './core.get-iterator-method-ea258bb1.js';
|
package/dist/esm/View.js
CHANGED
|
@@ -15,7 +15,7 @@ import FormControl from 'react-bootstrap/FormControl';
|
|
|
15
15
|
import Button from 'react-bootstrap/Button';
|
|
16
16
|
import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
17
17
|
import SocialShare from './SocialShare.js';
|
|
18
|
-
import { r as renderAuthor, g as getSerializers } from './index-
|
|
18
|
+
import { r as renderAuthor, g as getSerializers } from './index-9d159a77.js';
|
|
19
19
|
import DFPAdSlot from './AdSlot.js';
|
|
20
20
|
import { S as SeriesSlider } from './SeriesSlider-a6b1d617.js';
|
|
21
21
|
import { a as getContentPlacementUrl, g as getTargeting } from './getTargeting-5a281334.js';
|
|
@@ -74,7 +74,7 @@ import './checkSisterSite-a7218fda.js';
|
|
|
74
74
|
import './debounce-533d9748.js';
|
|
75
75
|
import './isSymbol-a7e9aafe.js';
|
|
76
76
|
import './toNumber-5aeba6e7.js';
|
|
77
|
-
import './index-
|
|
77
|
+
import './index-0a63f9a3.js';
|
|
78
78
|
|
|
79
79
|
var getArticleSummary = function getArticleSummary(article) {
|
|
80
80
|
if (article.summary && article.summary.length > 0) {
|
|
@@ -0,0 +1,66 @@
|
|
|
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, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
41
|
+
});
|
|
42
|
+
|
|
43
|
+
var _asyncToGenerator = unwrapExports(asyncToGenerator);
|
|
44
|
+
|
|
45
|
+
var defineProperty = createCommonjsModule(function (module) {
|
|
46
|
+
function _defineProperty(obj, key, value) {
|
|
47
|
+
if (key in obj) {
|
|
48
|
+
Object.defineProperty(obj, key, {
|
|
49
|
+
value: value,
|
|
50
|
+
enumerable: true,
|
|
51
|
+
configurable: true,
|
|
52
|
+
writable: true
|
|
53
|
+
});
|
|
54
|
+
} else {
|
|
55
|
+
obj[key] = value;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
return obj;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
module.exports = _defineProperty, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
62
|
+
});
|
|
63
|
+
|
|
64
|
+
var _defineProperty = unwrapExports(defineProperty);
|
|
65
|
+
|
|
66
|
+
export { _asyncToGenerator as _, _defineProperty as a, asyncToGenerator as b, defineProperty as d };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-64822ccc.js';
|
|
2
2
|
import { c as createCommonjsModule, a as commonjsGlobal, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
3
|
-
import { c as cookie } from './index-
|
|
3
|
+
import { c as cookie } from './index-0a63f9a3.js';
|
|
4
4
|
import getQuery from './getQuery.js';
|
|
5
5
|
import './core.get-iterator-method-ea258bb1.js';
|
|
6
6
|
import './web.dom.iterable-ab4dea5c.js';
|
|
@@ -20,7 +20,6 @@ var serialize_1 = serialize;
|
|
|
20
20
|
|
|
21
21
|
var decode = decodeURIComponent;
|
|
22
22
|
var encode = encodeURIComponent;
|
|
23
|
-
var pairSplitRegExp = /; */;
|
|
24
23
|
|
|
25
24
|
/**
|
|
26
25
|
* RegExp to match field-content in RFC 7230 sec 3.2
|
|
@@ -51,28 +50,29 @@ function parse(str, options) {
|
|
|
51
50
|
|
|
52
51
|
var obj = {};
|
|
53
52
|
var opt = options || {};
|
|
54
|
-
var pairs = str.split(
|
|
53
|
+
var pairs = str.split(';');
|
|
55
54
|
var dec = opt.decode || decode;
|
|
56
55
|
|
|
57
56
|
for (var i = 0; i < pairs.length; i++) {
|
|
58
57
|
var pair = pairs[i];
|
|
59
|
-
var
|
|
58
|
+
var index = pair.indexOf('=');
|
|
60
59
|
|
|
61
60
|
// skip things that don't look like key=value
|
|
62
|
-
if (
|
|
61
|
+
if (index < 0) {
|
|
63
62
|
continue;
|
|
64
63
|
}
|
|
65
64
|
|
|
66
|
-
var key = pair.
|
|
67
|
-
var val = pair.substr(++eq_idx, pair.length).trim();
|
|
68
|
-
|
|
69
|
-
// quoted values
|
|
70
|
-
if ('"' == val[0]) {
|
|
71
|
-
val = val.slice(1, -1);
|
|
72
|
-
}
|
|
65
|
+
var key = pair.substring(0, index).trim();
|
|
73
66
|
|
|
74
67
|
// only assign once
|
|
75
68
|
if (undefined == obj[key]) {
|
|
69
|
+
var val = pair.substring(index + 1, pair.length).trim();
|
|
70
|
+
|
|
71
|
+
// quoted values
|
|
72
|
+
if (val[0] === '"') {
|
|
73
|
+
val = val.slice(1, -1);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
76
|
obj[key] = tryDecode(val, dec);
|
|
77
77
|
}
|
|
78
78
|
}
|
|
@@ -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 };
|
|
@@ -2238,15 +2238,16 @@ var PopupMultiChoice = function PopupMultiChoice(_ref) {
|
|
|
2238
2238
|
handlePollAnswer = _ref.handlePollAnswer;
|
|
2239
2239
|
|
|
2240
2240
|
var choiceArray = choices.map(function (choice) {
|
|
2241
|
-
return React__default.createElement(
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
value: choice.choiceText,
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
|
|
2248
|
-
|
|
2249
|
-
|
|
2241
|
+
return React__default.createElement(
|
|
2242
|
+
'div',
|
|
2243
|
+
{ className: 'radioButton form-check form-check-inline' },
|
|
2244
|
+
React__default.createElement('input', { name: question, value: choice.choiceText, id: choice.choiceText + ',' + question, type: 'radio', onClick: handlePollAnswer }),
|
|
2245
|
+
React__default.createElement(
|
|
2246
|
+
'label',
|
|
2247
|
+
{ className: 'form-check-label', 'for': choice.choiceText + ',' + question, style: { cursor: 'pointer' } },
|
|
2248
|
+
choice.choiceText
|
|
2249
|
+
)
|
|
2250
|
+
);
|
|
2250
2251
|
});
|
|
2251
2252
|
return React__default.createElement(
|
|
2252
2253
|
'div',
|
|
@@ -2404,7 +2405,7 @@ var PopupPollModal = function PopupPollModal(props) {
|
|
|
2404
2405
|
return _ref.apply(this, arguments);
|
|
2405
2406
|
};
|
|
2406
2407
|
}();
|
|
2407
|
-
//
|
|
2408
|
+
//console.log('formData', formData)
|
|
2408
2409
|
insertData();
|
|
2409
2410
|
restartPlayer();
|
|
2410
2411
|
e.preventDefault();
|
|
@@ -2732,7 +2733,7 @@ var Video = function Video(_ref) {
|
|
|
2732
2733
|
});
|
|
2733
2734
|
if (nonInitPolls.length > 0) polls = nonInitPolls;
|
|
2734
2735
|
}
|
|
2735
|
-
|
|
2736
|
+
if (initPolls.length > 0) autoplay = false;
|
|
2736
2737
|
var restartPlayer = function restartPlayer() {
|
|
2737
2738
|
setIsPollingTime(false);
|
|
2738
2739
|
videoPlayer.play();
|
package/dist/esm/index.js
CHANGED
|
@@ -87,7 +87,7 @@ export { default as VerticalHero } from './VerticalHero.js';
|
|
|
87
87
|
export { default as YahooHero } from './YahooHero.js';
|
|
88
88
|
export { default as GridHero } from './GridHero.js';
|
|
89
89
|
export { default as ConferenceArticleCard } from './ConferenceArticleCard.js';
|
|
90
|
-
export { g as getSerializers } from './index-
|
|
90
|
+
export { g as getSerializers } from './index-9d159a77.js';
|
|
91
91
|
export { default as Beam } from './Beam.js';
|
|
92
92
|
export { default as Segment } from './Segment.js';
|
|
93
93
|
export { default as KMTracker } from './KMTracker.js';
|
|
@@ -154,7 +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 './index-
|
|
157
|
+
import './index-98ca9cec.js';
|
|
158
158
|
import './ConferenceBanner-8792ebd2.js';
|
|
159
159
|
import 'next/head';
|
|
160
160
|
import '@mjhls/mjh-framework/dist/cjs/urlFor';
|
|
@@ -187,7 +187,7 @@ import 'react-bootstrap/Figure';
|
|
|
187
187
|
import 'react-bootstrap/OverlayTrigger';
|
|
188
188
|
import 'react-bootstrap/Tooltip';
|
|
189
189
|
import 'react-bootstrap/Popover';
|
|
190
|
-
import './index-
|
|
190
|
+
import './index-0a63f9a3.js';
|
|
191
191
|
import 'swr';
|
|
192
192
|
import 'passport-local';
|
|
193
193
|
import 'mysql';
|
|
@@ -196,7 +196,8 @@ import './SeriesSlider-a6b1d617.js';
|
|
|
196
196
|
import './style-inject.es-1f59c1d0.js';
|
|
197
197
|
import 'disqus-react';
|
|
198
198
|
import 'react-twitter-embed';
|
|
199
|
-
import './ImageSlider-
|
|
199
|
+
import './ImageSlider-fc25202e.js';
|
|
200
|
+
import './defineProperty-e8022d1e.js';
|
|
200
201
|
import './VideoSeriesCard.js';
|
|
201
202
|
|
|
202
203
|
//Feature query to be used
|