@mjhls/mjh-framework 1.0.391 → 1.0.393
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/{AuthorComponent-37deda17.js → AuthorComponent-4706f297.js} +3 -7
- package/dist/cjs/{GridContent-1871749e.js → GridContent-dd1844d5.js} +1 -1
- package/dist/cjs/GridContent.js +2 -2
- package/dist/cjs/IssueContentDeck.js +1 -1
- package/dist/cjs/QueueDeckExpanded.js +1 -1
- package/dist/cjs/index.js +49 -4
- package/dist/esm/{AuthorComponent-beb2ad16.js → AuthorComponent-c9e46673.js} +3 -7
- package/dist/esm/{GridContent-3229be76.js → GridContent-4a5cef9e.js} +1 -1
- package/dist/esm/GridContent.js +2 -2
- package/dist/esm/IssueContentDeck.js +1 -1
- package/dist/esm/QueueDeckExpanded.js +1 -1
- package/dist/esm/index.js +49 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -31,7 +31,7 @@ var AuthorComponent = function AuthorComponent(_ref) {
|
|
|
31
31
|
{ href: '/authors/' + url.current, className: 'text-muted' },
|
|
32
32
|
displayName
|
|
33
33
|
),
|
|
34
|
-
length !== index + 1 && '
|
|
34
|
+
length !== index + 1 && ', '
|
|
35
35
|
);
|
|
36
36
|
} else if (displayName) {
|
|
37
37
|
return React__default.createElement(
|
|
@@ -46,11 +46,7 @@ var AuthorComponent = function AuthorComponent(_ref) {
|
|
|
46
46
|
'span',
|
|
47
47
|
{ className: 'text-muted' },
|
|
48
48
|
displayName,
|
|
49
|
-
length !== index + 1 &&
|
|
50
|
-
'span',
|
|
51
|
-
{ className: 'author-seperator' },
|
|
52
|
-
','
|
|
53
|
-
)
|
|
49
|
+
length !== index + 1 && ', '
|
|
54
50
|
)
|
|
55
51
|
);
|
|
56
52
|
}
|
|
@@ -91,7 +87,7 @@ var AuthorComponent = function AuthorComponent(_ref) {
|
|
|
91
87
|
React__default.createElement(
|
|
92
88
|
'style',
|
|
93
89
|
{ jsx: true },
|
|
94
|
-
'\n #author-sec' + index + ' {\n line-height: 25px;\n position: relative;\n height: auto;\n // max-height: 50px;\n }\n .hide-content {\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n overflow: hidden;\n }\n #overlay-content' + index + ' {\n position: absolute;\n cursor: pointer;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n z-index: 1000;\n }\n
|
|
90
|
+
'\n #author-sec' + index + ' {\n line-height: 25px;\n position: relative;\n height: auto;\n // max-height: 50px;\n }\n .hide-content {\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n overflow: hidden;\n }\n #overlay-content' + index + ' {\n position: absolute;\n cursor: pointer;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n z-index: 1000;\n }\n '
|
|
95
91
|
)
|
|
96
92
|
);
|
|
97
93
|
};
|
|
@@ -22,7 +22,7 @@ var index$1 = require('./index-fa0fb52c.js');
|
|
|
22
22
|
var entities = require('./entities-310b46ee.js');
|
|
23
23
|
var ADInfeed = require('./ADInfeed-f544f2a5.js');
|
|
24
24
|
var get$1 = require('./get-5aa7468c.js');
|
|
25
|
-
var AuthorComponent = require('./AuthorComponent-
|
|
25
|
+
var AuthorComponent = require('./AuthorComponent-4706f297.js');
|
|
26
26
|
|
|
27
27
|
var Dfp = React__default.lazy(function () {
|
|
28
28
|
return Promise.resolve().then(function () { return require('./Dfp-27b922b0.js'); });
|
package/dist/cjs/GridContent.js
CHANGED
|
@@ -29,8 +29,8 @@ require('./AdSlot-1e40a214.js');
|
|
|
29
29
|
require('./promise-d5136080.js');
|
|
30
30
|
require('./ADInfeed-f544f2a5.js');
|
|
31
31
|
require('./get-5aa7468c.js');
|
|
32
|
-
var GridContent = require('./GridContent-
|
|
33
|
-
require('./AuthorComponent-
|
|
32
|
+
var GridContent = require('./GridContent-dd1844d5.js');
|
|
33
|
+
require('./AuthorComponent-4706f297.js');
|
|
34
34
|
|
|
35
35
|
|
|
36
36
|
|
|
@@ -16,7 +16,7 @@ require('react-dom');
|
|
|
16
16
|
var index = require('./index-b5eb3ff8.js');
|
|
17
17
|
var index$1 = require('./index-fa0fb52c.js');
|
|
18
18
|
require('./slicedToArray-419d467a.js');
|
|
19
|
-
var AuthorComponent = require('./AuthorComponent-
|
|
19
|
+
var AuthorComponent = require('./AuthorComponent-4706f297.js');
|
|
20
20
|
var Badge = _interopDefault(require('react-bootstrap/Badge'));
|
|
21
21
|
|
|
22
22
|
var urlFor = function urlFor(source, client) {
|
|
@@ -27,7 +27,7 @@ var slicedToArray = require('./slicedToArray-419d467a.js');
|
|
|
27
27
|
require('./AdSlot-1e40a214.js');
|
|
28
28
|
require('./promise-d5136080.js');
|
|
29
29
|
var ADInfeed = require('./ADInfeed-f544f2a5.js');
|
|
30
|
-
var AuthorComponent = require('./AuthorComponent-
|
|
30
|
+
var AuthorComponent = require('./AuthorComponent-4706f297.js');
|
|
31
31
|
var reactBootstrap = require('react-bootstrap');
|
|
32
32
|
|
|
33
33
|
var urlFor = function urlFor(source, builder) {
|
package/dist/cjs/index.js
CHANGED
|
@@ -36,8 +36,8 @@ var promise = require('./promise-d5136080.js');
|
|
|
36
36
|
var ADInfeed = require('./ADInfeed-f544f2a5.js');
|
|
37
37
|
var DeckContent = require('./DeckContent.js');
|
|
38
38
|
var get$1 = require('./get-5aa7468c.js');
|
|
39
|
-
var GridContent = require('./GridContent-
|
|
40
|
-
var AuthorComponent = require('./AuthorComponent-
|
|
39
|
+
var GridContent = require('./GridContent-dd1844d5.js');
|
|
40
|
+
var AuthorComponent = require('./AuthorComponent-4706f297.js');
|
|
41
41
|
var DeckQueue = require('./DeckQueue.js');
|
|
42
42
|
require('react-bootstrap/Media');
|
|
43
43
|
var ThumbnailCard = require('./ThumbnailCard.js');
|
|
@@ -75,6 +75,7 @@ var Breadcrumb = _interopDefault(require('react-bootstrap/Breadcrumb'));
|
|
|
75
75
|
var DropdownButton = _interopDefault(require('react-bootstrap/DropdownButton'));
|
|
76
76
|
var Dropdown = _interopDefault(require('react-bootstrap/Dropdown'));
|
|
77
77
|
var Ustream = require('./Ustream-c7baf022.js');
|
|
78
|
+
var Modal = _interopDefault(require('react-bootstrap/Modal'));
|
|
78
79
|
var useSWR = _interopDefault(require('swr'));
|
|
79
80
|
var Local = _interopDefault(require('passport-local'));
|
|
80
81
|
var mysql = _interopDefault(require('mysql'));
|
|
@@ -15525,6 +15526,49 @@ var PublicationLanding = function PublicationLanding(props) {
|
|
|
15525
15526
|
);
|
|
15526
15527
|
};
|
|
15527
15528
|
|
|
15529
|
+
var PopUpModal = function PopUpModal(props) {
|
|
15530
|
+
var _ref = props.ModalImage ? React.useState(true) : React.useState(false),
|
|
15531
|
+
_ref2 = slicedToArray._slicedToArray(_ref, 2),
|
|
15532
|
+
show = _ref2[0],
|
|
15533
|
+
setShow = _ref2[1];
|
|
15534
|
+
|
|
15535
|
+
var launchModalButton = function launchModalButton(e) {
|
|
15536
|
+
window.open(props.landingURL, '_blank');
|
|
15537
|
+
setShow(false);
|
|
15538
|
+
};
|
|
15539
|
+
|
|
15540
|
+
return React__default.createElement(
|
|
15541
|
+
Modal,
|
|
15542
|
+
{ show: show, onHide: function onHide() {
|
|
15543
|
+
return setShow(false);
|
|
15544
|
+
}, 'aria-labelledby': 'Popup-Modal' },
|
|
15545
|
+
React__default.createElement(Modal.Title, null),
|
|
15546
|
+
React__default.createElement(
|
|
15547
|
+
Modal.Body,
|
|
15548
|
+
null,
|
|
15549
|
+
React__default.createElement(
|
|
15550
|
+
'div',
|
|
15551
|
+
{ className: 'modalImageHolder' },
|
|
15552
|
+
React__default.createElement('img', { className: 'modalImage', src: props.ModalImage, onClick: function onClick() {
|
|
15553
|
+
return launchModalButton();
|
|
15554
|
+
} }),
|
|
15555
|
+
React__default.createElement(
|
|
15556
|
+
'div',
|
|
15557
|
+
{ className: 'modalClose', onClick: function onClick() {
|
|
15558
|
+
return setShow(false);
|
|
15559
|
+
} },
|
|
15560
|
+
'X'
|
|
15561
|
+
)
|
|
15562
|
+
)
|
|
15563
|
+
),
|
|
15564
|
+
React__default.createElement(
|
|
15565
|
+
'style',
|
|
15566
|
+
{ jsx: 'true' },
|
|
15567
|
+
'\n .modalImageHolder {\n display: flex;\n justify-content: center;\n }\n .modalClose {\n display: flex;\n justify-content: center;\n width: 25px;\n height: 25px;\n font-size: 1.25rem;\n color: #fff;\n cursor: pointer;\n }\n .modalImage {\n cursor: pointer;\n }\n '
|
|
15568
|
+
)
|
|
15569
|
+
);
|
|
15570
|
+
};
|
|
15571
|
+
|
|
15528
15572
|
var fbsHero = function fbsHero(props) {
|
|
15529
15573
|
var removeTimeStamp = props.removeTimeStamp;
|
|
15530
15574
|
|
|
@@ -17357,14 +17401,14 @@ var renderAuthor$1 = function renderAuthor(authorName, authorURL, index, length)
|
|
|
17357
17401
|
{ href: '/' + defaultUrl + '/' + authorURL.current, key: index },
|
|
17358
17402
|
authorName
|
|
17359
17403
|
),
|
|
17360
|
-
length !== index + 1 && '
|
|
17404
|
+
length !== index + 1 && ', '
|
|
17361
17405
|
);
|
|
17362
17406
|
} else if (authorName) {
|
|
17363
17407
|
return React__default.createElement(
|
|
17364
17408
|
'span',
|
|
17365
17409
|
{ key: index },
|
|
17366
17410
|
authorName,
|
|
17367
|
-
length !== index + 1 && '
|
|
17411
|
+
length !== index + 1 && ', '
|
|
17368
17412
|
);
|
|
17369
17413
|
}
|
|
17370
17414
|
};
|
|
@@ -22179,6 +22223,7 @@ exports.KMTracker = KMTracker;
|
|
|
22179
22223
|
exports.OncliveHero = OncliveHero;
|
|
22180
22224
|
exports.OncliveLargeHero = OncliveLargeHero;
|
|
22181
22225
|
exports.PdfDownload = PdfDownload;
|
|
22226
|
+
exports.PopUpModal = PopUpModal;
|
|
22182
22227
|
exports.PublicationLanding = PublicationLanding;
|
|
22183
22228
|
exports.RelatedContent = RelatedContent;
|
|
22184
22229
|
exports.RelatedTopicsDropdown = RelatedTopicsDropdown;
|
|
@@ -26,7 +26,7 @@ var AuthorComponent = function AuthorComponent(_ref) {
|
|
|
26
26
|
{ href: '/authors/' + url.current, className: 'text-muted' },
|
|
27
27
|
displayName
|
|
28
28
|
),
|
|
29
|
-
length !== index + 1 && '
|
|
29
|
+
length !== index + 1 && ', '
|
|
30
30
|
);
|
|
31
31
|
} else if (displayName) {
|
|
32
32
|
return React__default.createElement(
|
|
@@ -41,11 +41,7 @@ var AuthorComponent = function AuthorComponent(_ref) {
|
|
|
41
41
|
'span',
|
|
42
42
|
{ className: 'text-muted' },
|
|
43
43
|
displayName,
|
|
44
|
-
length !== index + 1 &&
|
|
45
|
-
'span',
|
|
46
|
-
{ className: 'author-seperator' },
|
|
47
|
-
','
|
|
48
|
-
)
|
|
44
|
+
length !== index + 1 && ', '
|
|
49
45
|
)
|
|
50
46
|
);
|
|
51
47
|
}
|
|
@@ -86,7 +82,7 @@ var AuthorComponent = function AuthorComponent(_ref) {
|
|
|
86
82
|
React__default.createElement(
|
|
87
83
|
'style',
|
|
88
84
|
{ jsx: true },
|
|
89
|
-
'\n #author-sec' + index + ' {\n line-height: 25px;\n position: relative;\n height: auto;\n // max-height: 50px;\n }\n .hide-content {\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n overflow: hidden;\n }\n #overlay-content' + index + ' {\n position: absolute;\n cursor: pointer;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n z-index: 1000;\n }\n
|
|
85
|
+
'\n #author-sec' + index + ' {\n line-height: 25px;\n position: relative;\n height: auto;\n // max-height: 50px;\n }\n .hide-content {\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n overflow: hidden;\n }\n #overlay-content' + index + ' {\n position: absolute;\n cursor: pointer;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n z-index: 1000;\n }\n '
|
|
90
86
|
)
|
|
91
87
|
);
|
|
92
88
|
};
|
|
@@ -16,7 +16,7 @@ import { L as LazyLoad } from './index-5f9f807a.js';
|
|
|
16
16
|
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
17
17
|
import { A as ADInfeed } from './ADInfeed-88c335d9.js';
|
|
18
18
|
import { g as get_1 } from './get-53653403.js';
|
|
19
|
-
import { A as AuthorComponent } from './AuthorComponent-
|
|
19
|
+
import { A as AuthorComponent } from './AuthorComponent-c9e46673.js';
|
|
20
20
|
|
|
21
21
|
var Dfp = React__default.lazy(function () {
|
|
22
22
|
return import('./Dfp-3b3273ee.js');
|
package/dist/esm/GridContent.js
CHANGED
|
@@ -27,5 +27,5 @@ import './AdSlot-971ce41c.js';
|
|
|
27
27
|
import './promise-5d7cd78a.js';
|
|
28
28
|
import './ADInfeed-88c335d9.js';
|
|
29
29
|
import './get-53653403.js';
|
|
30
|
-
export { G as default } from './GridContent-
|
|
31
|
-
import './AuthorComponent-
|
|
30
|
+
export { G as default } from './GridContent-4a5cef9e.js';
|
|
31
|
+
import './AuthorComponent-c9e46673.js';
|
|
@@ -11,7 +11,7 @@ import 'react-dom';
|
|
|
11
11
|
import { i as imageUrlBuilder } from './index-51a80699.js';
|
|
12
12
|
import { L as LazyLoad } from './index-5f9f807a.js';
|
|
13
13
|
import './slicedToArray-04e02710.js';
|
|
14
|
-
import { A as AuthorComponent } from './AuthorComponent-
|
|
14
|
+
import { A as AuthorComponent } from './AuthorComponent-c9e46673.js';
|
|
15
15
|
import Badge from 'react-bootstrap/Badge';
|
|
16
16
|
|
|
17
17
|
var urlFor = function urlFor(source, client) {
|
|
@@ -21,7 +21,7 @@ import { _ as _slicedToArray } from './slicedToArray-04e02710.js';
|
|
|
21
21
|
import './AdSlot-971ce41c.js';
|
|
22
22
|
import './promise-5d7cd78a.js';
|
|
23
23
|
import { A as ADInfeed } from './ADInfeed-88c335d9.js';
|
|
24
|
-
import { A as AuthorComponent } from './AuthorComponent-
|
|
24
|
+
import { A as AuthorComponent } from './AuthorComponent-c9e46673.js';
|
|
25
25
|
import { Container, Media } from 'react-bootstrap';
|
|
26
26
|
|
|
27
27
|
var urlFor = function urlFor(source, builder) {
|
package/dist/esm/index.js
CHANGED
|
@@ -29,8 +29,8 @@ import { _ as _anInstance, a as _forOf, b as _redefineAll, c as _setSpecies } fr
|
|
|
29
29
|
import { A as ADInfeed } from './ADInfeed-88c335d9.js';
|
|
30
30
|
export { default as DeckContent } from './DeckContent.js';
|
|
31
31
|
import { i as isFunction_1, a as isArray_1, _ as _arrayMap } from './get-53653403.js';
|
|
32
|
-
export { A as AD, G as GridContent } from './GridContent-
|
|
33
|
-
import { A as AuthorComponent } from './AuthorComponent-
|
|
32
|
+
export { A as AD, G as GridContent } from './GridContent-4a5cef9e.js';
|
|
33
|
+
import { A as AuthorComponent } from './AuthorComponent-c9e46673.js';
|
|
34
34
|
export { default as DeckQueue } from './DeckQueue.js';
|
|
35
35
|
import 'react-bootstrap/Media';
|
|
36
36
|
export { default as ThumbnailCard } from './ThumbnailCard.js';
|
|
@@ -72,6 +72,7 @@ import DropdownButton from 'react-bootstrap/DropdownButton';
|
|
|
72
72
|
import Dropdown from 'react-bootstrap/Dropdown';
|
|
73
73
|
import { F as FaLongArrowAltRight } from './Ustream-ee7aeeef.js';
|
|
74
74
|
export { U as Ustream } from './Ustream-ee7aeeef.js';
|
|
75
|
+
import Modal from 'react-bootstrap/Modal';
|
|
75
76
|
import useSWR from 'swr';
|
|
76
77
|
import Local from 'passport-local';
|
|
77
78
|
import mysql from 'mysql';
|
|
@@ -15522,6 +15523,49 @@ var PublicationLanding = function PublicationLanding(props) {
|
|
|
15522
15523
|
);
|
|
15523
15524
|
};
|
|
15524
15525
|
|
|
15526
|
+
var PopUpModal = function PopUpModal(props) {
|
|
15527
|
+
var _ref = props.ModalImage ? useState(true) : useState(false),
|
|
15528
|
+
_ref2 = _slicedToArray(_ref, 2),
|
|
15529
|
+
show = _ref2[0],
|
|
15530
|
+
setShow = _ref2[1];
|
|
15531
|
+
|
|
15532
|
+
var launchModalButton = function launchModalButton(e) {
|
|
15533
|
+
window.open(props.landingURL, '_blank');
|
|
15534
|
+
setShow(false);
|
|
15535
|
+
};
|
|
15536
|
+
|
|
15537
|
+
return React__default.createElement(
|
|
15538
|
+
Modal,
|
|
15539
|
+
{ show: show, onHide: function onHide() {
|
|
15540
|
+
return setShow(false);
|
|
15541
|
+
}, 'aria-labelledby': 'Popup-Modal' },
|
|
15542
|
+
React__default.createElement(Modal.Title, null),
|
|
15543
|
+
React__default.createElement(
|
|
15544
|
+
Modal.Body,
|
|
15545
|
+
null,
|
|
15546
|
+
React__default.createElement(
|
|
15547
|
+
'div',
|
|
15548
|
+
{ className: 'modalImageHolder' },
|
|
15549
|
+
React__default.createElement('img', { className: 'modalImage', src: props.ModalImage, onClick: function onClick() {
|
|
15550
|
+
return launchModalButton();
|
|
15551
|
+
} }),
|
|
15552
|
+
React__default.createElement(
|
|
15553
|
+
'div',
|
|
15554
|
+
{ className: 'modalClose', onClick: function onClick() {
|
|
15555
|
+
return setShow(false);
|
|
15556
|
+
} },
|
|
15557
|
+
'X'
|
|
15558
|
+
)
|
|
15559
|
+
)
|
|
15560
|
+
),
|
|
15561
|
+
React__default.createElement(
|
|
15562
|
+
'style',
|
|
15563
|
+
{ jsx: 'true' },
|
|
15564
|
+
'\n .modalImageHolder {\n display: flex;\n justify-content: center;\n }\n .modalClose {\n display: flex;\n justify-content: center;\n width: 25px;\n height: 25px;\n font-size: 1.25rem;\n color: #fff;\n cursor: pointer;\n }\n .modalImage {\n cursor: pointer;\n }\n '
|
|
15565
|
+
)
|
|
15566
|
+
);
|
|
15567
|
+
};
|
|
15568
|
+
|
|
15525
15569
|
var fbsHero = function fbsHero(props) {
|
|
15526
15570
|
var removeTimeStamp = props.removeTimeStamp;
|
|
15527
15571
|
|
|
@@ -17354,14 +17398,14 @@ var renderAuthor$1 = function renderAuthor(authorName, authorURL, index, length)
|
|
|
17354
17398
|
{ href: '/' + defaultUrl + '/' + authorURL.current, key: index },
|
|
17355
17399
|
authorName
|
|
17356
17400
|
),
|
|
17357
|
-
length !== index + 1 && '
|
|
17401
|
+
length !== index + 1 && ', '
|
|
17358
17402
|
);
|
|
17359
17403
|
} else if (authorName) {
|
|
17360
17404
|
return React__default.createElement(
|
|
17361
17405
|
'span',
|
|
17362
17406
|
{ key: index },
|
|
17363
17407
|
authorName,
|
|
17364
|
-
length !== index + 1 && '
|
|
17408
|
+
length !== index + 1 && ', '
|
|
17365
17409
|
);
|
|
17366
17410
|
}
|
|
17367
17411
|
};
|
|
@@ -22116,4 +22160,4 @@ var auth = {
|
|
|
22116
22160
|
ProcessData: ProcessData_1
|
|
22117
22161
|
};
|
|
22118
22162
|
|
|
22119
|
-
export { AD300x250, AD300x250x600, ADFloatingFooter, ADFooter, ADGutter, ADSponsoredResources, ADWelcome, AccordionPanel, AdSlotsProvider, AlphabeticList, ArticleDetailDropdown, ArticleQueue, auth as Auth, Breadcrumbs$1 as Breadcrumbs, CMEDeck, ConferenceArticleCard, EventsDeck, Feature, fbsHero as ForbesHero, GridHero, Hero, HighlightenVideo, HorizontalHero, InfiniteScrollDeck, KMTracker, OncliveHero, OncliveLargeHero, PdfDownload, PublicationLanding, RelatedContent, RelatedTopicsDropdown, SetCookie, SocialShare$1 as SocialShare, VerticalHero, YahooHero, getSerializers, getSeriesDetail };
|
|
22163
|
+
export { AD300x250, AD300x250x600, ADFloatingFooter, ADFooter, ADGutter, ADSponsoredResources, ADWelcome, AccordionPanel, AdSlotsProvider, AlphabeticList, ArticleDetailDropdown, ArticleQueue, auth as Auth, Breadcrumbs$1 as Breadcrumbs, CMEDeck, ConferenceArticleCard, EventsDeck, Feature, fbsHero as ForbesHero, GridHero, Hero, HighlightenVideo, HorizontalHero, InfiniteScrollDeck, KMTracker, OncliveHero, OncliveLargeHero, PdfDownload, PopUpModal, PublicationLanding, RelatedContent, RelatedTopicsDropdown, SetCookie, SocialShare$1 as SocialShare, VerticalHero, YahooHero, getSerializers, getSeriesDetail };
|