@mjhls/mjh-framework 1.0.1018 → 1.0.1019-blanktagremoval-v3
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 +72 -108
- package/dist/cjs/Auth.js +1 -1
- package/dist/cjs/AuthWrapper.js +3 -65
- package/dist/cjs/CEDeckSupabase.js +1 -1
- package/dist/cjs/Column2.js +4 -2
- package/dist/cjs/ExternalResources.js +3 -3
- package/dist/cjs/HamMagazine.js +42 -40
- package/dist/cjs/{ImageSlider-1ec0408b.js → ImageSlider-50807a77.js} +114 -159
- package/dist/cjs/LeftNav.js +13 -14
- package/dist/cjs/MediaSeriesLanding.js +2 -2
- package/dist/cjs/MediaSeriesLandingPaginated.js +2 -2
- package/dist/cjs/NavDvm.js +30 -28
- package/dist/cjs/{NavFooter-257b5318.js → NavFooter-b37e3eed.js} +4 -3
- package/dist/cjs/NavMagazine.js +40 -38
- package/dist/cjs/NavNative.js +45 -45
- package/dist/cjs/PartnerDetailListing.js +35 -23
- package/dist/cjs/PartnerDetailListingPaginated.js +33 -27
- package/dist/cjs/SideFooter.js +9 -7
- package/dist/cjs/{SocialSearchComponent-b36e5525.js → SocialSearchComponent-e30b4dea.js} +1 -1
- package/dist/cjs/TaxonomyCard.js +8 -8
- package/dist/cjs/TemplateNormal.js +3 -3
- package/dist/cjs/{Tooltip-71754b2a.js → Tooltip-8011d690.js} +234 -257
- package/dist/cjs/View.js +1 -1
- package/dist/cjs/defineProperty-19580e93.js +71 -0
- package/dist/cjs/getRelatedArticle.js +1 -1
- package/dist/cjs/{index-bd6c9f56.js → index-3cd60d26.js} +11 -11
- package/dist/cjs/index-50be6759.js +105 -0
- package/dist/cjs/{index.esm-91e651b0.js → index.esm-bb54403e.js} +8 -7
- package/dist/cjs/index.js +7 -6
- package/dist/esm/AlgoliaSearch.js +59 -95
- package/dist/esm/Auth.js +1 -1
- package/dist/esm/AuthWrapper.js +1 -63
- package/dist/esm/CEDeckSupabase.js +1 -1
- package/dist/esm/Column2.js +4 -2
- package/dist/esm/ExternalResources.js +3 -3
- package/dist/esm/HamMagazine.js +42 -40
- package/dist/esm/{ImageSlider-83913c4c.js → ImageSlider-cdb57d30.js} +115 -160
- package/dist/esm/LeftNav.js +13 -14
- package/dist/esm/MediaSeriesLanding.js +2 -2
- package/dist/esm/MediaSeriesLandingPaginated.js +2 -2
- package/dist/esm/NavDvm.js +30 -28
- package/dist/esm/{NavFooter-27a16f65.js → NavFooter-37c5eea2.js} +4 -3
- package/dist/esm/NavMagazine.js +40 -38
- package/dist/esm/NavNative.js +45 -45
- package/dist/esm/PartnerDetailListing.js +35 -23
- package/dist/esm/PartnerDetailListingPaginated.js +33 -27
- package/dist/esm/SideFooter.js +9 -7
- package/dist/esm/{SocialSearchComponent-daceaa22.js → SocialSearchComponent-7591859b.js} +1 -1
- package/dist/esm/TaxonomyCard.js +8 -8
- package/dist/esm/TemplateNormal.js +3 -3
- package/dist/esm/{Tooltip-8307d9d1.js → Tooltip-2cdd0895.js} +29 -52
- package/dist/esm/View.js +1 -1
- package/dist/esm/defineProperty-e8022d1e.js +66 -0
- package/dist/esm/getRelatedArticle.js +1 -1
- package/dist/esm/{index-db3bb315.js → index-0a63f9a3.js} +11 -11
- package/dist/esm/index-98ca9cec.js +100 -0
- package/dist/esm/{index.esm-06bf63a3.js → index.esm-8639823a.js} +8 -7
- package/dist/esm/index.js +7 -6
- package/package.json +1 -1
- package/dist/cjs/index-b95410f0.js +0 -54
- package/dist/esm/index-174b5baf.js +0 -52
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { c as createCommonjsModule } from './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
+
|
|
3
|
+
function _extends() {
|
|
4
|
+
_extends = Object.assign || function (target) {
|
|
5
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
6
|
+
var source = arguments[i];
|
|
7
|
+
|
|
8
|
+
for (var key in source) {
|
|
9
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
10
|
+
target[key] = source[key];
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
return target;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
return _extends.apply(this, arguments);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
22
|
+
if (source == null) return {};
|
|
23
|
+
var target = {};
|
|
24
|
+
var sourceKeys = Object.keys(source);
|
|
25
|
+
var key, i;
|
|
26
|
+
|
|
27
|
+
for (i = 0; i < sourceKeys.length; i++) {
|
|
28
|
+
key = sourceKeys[i];
|
|
29
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
30
|
+
target[key] = source[key];
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
return target;
|
|
34
|
+
}
|
|
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
|
+
var classnames = createCommonjsModule(function (module) {
|
|
46
|
+
/*!
|
|
47
|
+
Copyright (c) 2018 Jed Watson.
|
|
48
|
+
Licensed under the MIT License (MIT), see
|
|
49
|
+
http://jedwatson.github.io/classnames
|
|
50
|
+
*/
|
|
51
|
+
/* global define */
|
|
52
|
+
|
|
53
|
+
(function () {
|
|
54
|
+
|
|
55
|
+
var hasOwn = {}.hasOwnProperty;
|
|
56
|
+
|
|
57
|
+
function classNames() {
|
|
58
|
+
var classes = [];
|
|
59
|
+
|
|
60
|
+
for (var i = 0; i < arguments.length; i++) {
|
|
61
|
+
var arg = arguments[i];
|
|
62
|
+
if (!arg) continue;
|
|
63
|
+
|
|
64
|
+
var argType = typeof arg;
|
|
65
|
+
|
|
66
|
+
if (argType === 'string' || argType === 'number') {
|
|
67
|
+
classes.push(arg);
|
|
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
|
+
}
|
|
74
|
+
}
|
|
75
|
+
} else if (argType === 'object') {
|
|
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
|
+
}
|
|
81
|
+
}
|
|
82
|
+
} else {
|
|
83
|
+
classes.push(arg.toString());
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
return classes.join(' ');
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
if (module.exports) {
|
|
92
|
+
classNames.default = classNames;
|
|
93
|
+
module.exports = classNames;
|
|
94
|
+
} else {
|
|
95
|
+
window.classNames = classNames;
|
|
96
|
+
}
|
|
97
|
+
}());
|
|
98
|
+
});
|
|
99
|
+
|
|
100
|
+
export { _objectWithoutPropertiesLoose as _, _setPrototypeOf as a, _extends as b, classnames as c };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { _ as _extends } from './extends-6d8e3924.js';
|
|
1
2
|
import React__default from 'react';
|
|
2
3
|
import { r as reactSocialIcons_1 } from './react-social-icons-9be47857.js';
|
|
3
4
|
import { c as checkSisterSite } from './checkSisterSite-a7218fda.js';
|
|
@@ -22,7 +23,7 @@ var SocialNavFooter = function SocialNavFooter(props) {
|
|
|
22
23
|
{ key: index },
|
|
23
24
|
React__default.createElement(
|
|
24
25
|
'a',
|
|
25
|
-
{ target: '_blank',
|
|
26
|
+
_extends({ target: '_blank' }, checkSisterSite(content.url) ? {} : { rel: 'noopener noreferrer' }, { href: content.url, className: 'nav-link' }),
|
|
26
27
|
content.title
|
|
27
28
|
)
|
|
28
29
|
) : React__default.createElement(
|
|
@@ -30,7 +31,7 @@ var SocialNavFooter = function SocialNavFooter(props) {
|
|
|
30
31
|
{ key: index },
|
|
31
32
|
React__default.createElement(
|
|
32
33
|
'a',
|
|
33
|
-
{ href: content.url,
|
|
34
|
+
_extends({ href: content.url }, checkSisterSite(content.url) ? {} : { rel: 'noopener noreferrer' }, { className: 'nav-link' }),
|
|
34
35
|
content.title
|
|
35
36
|
)
|
|
36
37
|
);
|
|
@@ -44,16 +45,16 @@ var SocialNavFooter = function SocialNavFooter(props) {
|
|
|
44
45
|
'li',
|
|
45
46
|
{ style: { marginTop: '10px' }, key: website.footerLinks ? website.footerLinks.length + 1 : 1 },
|
|
46
47
|
website.socialLinks && website.socialLinks.map(function (row, index) {
|
|
47
|
-
return React__default.createElement(reactSocialIcons_1, {
|
|
48
|
-
target: row.blank ? '_blank' : '_self'
|
|
49
|
-
|
|
48
|
+
return React__default.createElement(reactSocialIcons_1, _extends({
|
|
49
|
+
target: row.blank ? '_blank' : '_self'
|
|
50
|
+
}, checkSisterSite(row.url) ? {} : { rel: 'noopener noreferrer' }, {
|
|
50
51
|
key: index,
|
|
51
52
|
index: index,
|
|
52
53
|
url: row.url
|
|
53
54
|
// including network prop to identify the icon based on the social icon title.
|
|
54
55
|
, network: row.title.split(' ')[0].toLowerCase(),
|
|
55
56
|
style: { width: 30, height: 30, marginRight: 5 }
|
|
56
|
-
});
|
|
57
|
+
}));
|
|
57
58
|
})
|
|
58
59
|
),
|
|
59
60
|
showLogo && React__default.createElement(
|
|
@@ -61,7 +62,7 @@ var SocialNavFooter = function SocialNavFooter(props) {
|
|
|
61
62
|
null,
|
|
62
63
|
React__default.createElement(
|
|
63
64
|
'a',
|
|
64
|
-
{ href: 'https://www.mjhlifesciences.com',
|
|
65
|
+
_extends({ href: 'https://www.mjhlifesciences.com' }, checkSisterSite('https://www.mjhlifesciences.com') ? {} : { rel: 'noopener noreferrer' }),
|
|
65
66
|
React__default.createElement('img', {
|
|
66
67
|
style: { maxWidth: '100%', height: '50px', margin: ' 10px 0', objectFit: 'contain' },
|
|
67
68
|
alt: 'MJHLS Brand Logo',
|
package/dist/esm/index.js
CHANGED
|
@@ -155,7 +155,7 @@ import './_object-to-array-2300e51b.js';
|
|
|
155
155
|
import 'react-bootstrap/Spinner';
|
|
156
156
|
import 'react-bootstrap/Form';
|
|
157
157
|
import './js.cookie-6874175c.js';
|
|
158
|
-
import './index-
|
|
158
|
+
import './index-98ca9cec.js';
|
|
159
159
|
import './ConferenceBanner-8792ebd2.js';
|
|
160
160
|
import 'next/head';
|
|
161
161
|
import '@mjhls/mjh-framework/dist/cjs/urlFor';
|
|
@@ -167,9 +167,9 @@ import 'react-bootstrap/Nav';
|
|
|
167
167
|
import 'react-bootstrap/Navbar';
|
|
168
168
|
import 'react-bootstrap/NavDropdown';
|
|
169
169
|
import './index.esm-9b042655.js';
|
|
170
|
-
import './NavFooter-
|
|
171
|
-
import './index.esm-
|
|
172
|
-
import './SocialSearchComponent-
|
|
170
|
+
import './NavFooter-37c5eea2.js';
|
|
171
|
+
import './index.esm-8639823a.js';
|
|
172
|
+
import './SocialSearchComponent-7591859b.js';
|
|
173
173
|
import 'react-bootstrap/FormControl';
|
|
174
174
|
import 'react-ga';
|
|
175
175
|
import 'react-bootstrap/Carousel';
|
|
@@ -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-5728e349.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-cdb57d30.js';
|
|
200
|
+
import './defineProperty-e8022d1e.js';
|
|
200
201
|
import './VideoSeriesCard.js';
|
|
201
202
|
|
|
202
203
|
//Feature query to be used
|
package/package.json
CHANGED
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var _commonjsHelpers = require('./_commonjsHelpers-06173234.js');
|
|
4
|
-
|
|
5
|
-
var classnames = _commonjsHelpers.createCommonjsModule(function (module) {
|
|
6
|
-
/*!
|
|
7
|
-
Copyright (c) 2017 Jed Watson.
|
|
8
|
-
Licensed under the MIT License (MIT), see
|
|
9
|
-
http://jedwatson.github.io/classnames
|
|
10
|
-
*/
|
|
11
|
-
/* global define */
|
|
12
|
-
|
|
13
|
-
(function () {
|
|
14
|
-
|
|
15
|
-
var hasOwn = {}.hasOwnProperty;
|
|
16
|
-
|
|
17
|
-
function classNames () {
|
|
18
|
-
var classes = [];
|
|
19
|
-
|
|
20
|
-
for (var i = 0; i < arguments.length; i++) {
|
|
21
|
-
var arg = arguments[i];
|
|
22
|
-
if (!arg) continue;
|
|
23
|
-
|
|
24
|
-
var argType = typeof arg;
|
|
25
|
-
|
|
26
|
-
if (argType === 'string' || argType === 'number') {
|
|
27
|
-
classes.push(arg);
|
|
28
|
-
} else if (Array.isArray(arg) && arg.length) {
|
|
29
|
-
var inner = classNames.apply(null, arg);
|
|
30
|
-
if (inner) {
|
|
31
|
-
classes.push(inner);
|
|
32
|
-
}
|
|
33
|
-
} else if (argType === 'object') {
|
|
34
|
-
for (var key in arg) {
|
|
35
|
-
if (hasOwn.call(arg, key) && arg[key]) {
|
|
36
|
-
classes.push(key);
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
return classes.join(' ');
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
if (module.exports) {
|
|
46
|
-
classNames.default = classNames;
|
|
47
|
-
module.exports = classNames;
|
|
48
|
-
} else {
|
|
49
|
-
window.classNames = classNames;
|
|
50
|
-
}
|
|
51
|
-
}());
|
|
52
|
-
});
|
|
53
|
-
|
|
54
|
-
exports.classnames = classnames;
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { c as createCommonjsModule } from './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
|
|
3
|
-
var classnames = createCommonjsModule(function (module) {
|
|
4
|
-
/*!
|
|
5
|
-
Copyright (c) 2017 Jed Watson.
|
|
6
|
-
Licensed under the MIT License (MIT), see
|
|
7
|
-
http://jedwatson.github.io/classnames
|
|
8
|
-
*/
|
|
9
|
-
/* global define */
|
|
10
|
-
|
|
11
|
-
(function () {
|
|
12
|
-
|
|
13
|
-
var hasOwn = {}.hasOwnProperty;
|
|
14
|
-
|
|
15
|
-
function classNames () {
|
|
16
|
-
var classes = [];
|
|
17
|
-
|
|
18
|
-
for (var i = 0; i < arguments.length; i++) {
|
|
19
|
-
var arg = arguments[i];
|
|
20
|
-
if (!arg) continue;
|
|
21
|
-
|
|
22
|
-
var argType = typeof arg;
|
|
23
|
-
|
|
24
|
-
if (argType === 'string' || argType === 'number') {
|
|
25
|
-
classes.push(arg);
|
|
26
|
-
} else if (Array.isArray(arg) && arg.length) {
|
|
27
|
-
var inner = classNames.apply(null, arg);
|
|
28
|
-
if (inner) {
|
|
29
|
-
classes.push(inner);
|
|
30
|
-
}
|
|
31
|
-
} else if (argType === 'object') {
|
|
32
|
-
for (var key in arg) {
|
|
33
|
-
if (hasOwn.call(arg, key) && arg[key]) {
|
|
34
|
-
classes.push(key);
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
return classes.join(' ');
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
if (module.exports) {
|
|
44
|
-
classNames.default = classNames;
|
|
45
|
-
module.exports = classNames;
|
|
46
|
-
} else {
|
|
47
|
-
window.classNames = classNames;
|
|
48
|
-
}
|
|
49
|
-
}());
|
|
50
|
-
});
|
|
51
|
-
|
|
52
|
-
export { classnames as c };
|