@mjhls/mjh-framework 1.0.338 → 1.0.340
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 +3 -1
- package/dist/cjs/{ADInfeed-b042a194.js → ADInfeed-43996091.js} +10 -1
- package/dist/cjs/DeckContent.js +4 -3
- package/dist/cjs/DeckQueue.js +3 -2
- package/dist/cjs/{Dfp-9ede68c7.js → Dfp-e77be4e4.js} +1 -1
- package/dist/cjs/{GridContent-609021de.js → GridContent-7a85d904.js} +8 -7
- package/dist/cjs/GridContent.js +4 -3
- package/dist/cjs/IssueContentDeck.js +168 -43
- package/dist/cjs/MasterDeck.js +2 -1
- package/dist/cjs/QueueDeckExpanded.js +6 -5
- package/dist/cjs/VideoSeriesListing.js +2 -1
- package/dist/cjs/YoutubeGroup.js +2 -2
- package/dist/cjs/index.js +19 -18
- package/dist/cjs/{visibility-sensor-c2ccc22d.js → moment-66a6a284.js} +0 -1012
- package/dist/cjs/visibility-sensor-43e0b37c.js +1016 -0
- package/dist/esm/{ADInfeed-aadcfc25.js → ADInfeed-ca26fca6.js} +10 -1
- package/dist/esm/DeckContent.js +3 -2
- package/dist/esm/DeckQueue.js +2 -1
- package/dist/esm/{Dfp-9293acfb.js → Dfp-7c317aa4.js} +1 -1
- package/dist/esm/{GridContent-f2278de3.js → GridContent-e2b1de22.js} +4 -3
- package/dist/esm/GridContent.js +4 -3
- package/dist/esm/IssueContentDeck.js +168 -43
- package/dist/esm/MasterDeck.js +2 -1
- package/dist/esm/QueueDeckExpanded.js +3 -2
- package/dist/esm/VideoSeriesListing.js +2 -1
- package/dist/esm/YoutubeGroup.js +2 -2
- package/dist/esm/index.js +4 -3
- package/dist/esm/{visibility-sensor-3cea5efb.js → moment-12415288.js} +2 -1009
- package/dist/esm/visibility-sensor-49d5805d.js +1010 -0
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -19,9 +19,10 @@ var Container = _interopDefault(require('react-bootstrap/Container'));
|
|
|
19
19
|
var Row = _interopDefault(require('react-bootstrap/Row'));
|
|
20
20
|
var Col = _interopDefault(require('react-bootstrap/Col'));
|
|
21
21
|
require('react-bootstrap/Card');
|
|
22
|
-
var
|
|
22
|
+
var moment = require('./moment-66a6a284.js');
|
|
23
23
|
var Router = require('next/router');
|
|
24
24
|
var Router__default = _interopDefault(Router);
|
|
25
|
+
var visibilitySensor = require('./visibility-sensor-43e0b37c.js');
|
|
25
26
|
require('react-dom');
|
|
26
27
|
var index = require('./index-b5eb3ff8.js');
|
|
27
28
|
require('./index-fa0fb52c.js');
|
|
@@ -29,10 +30,10 @@ var entities = require('./entities-310b46ee.js');
|
|
|
29
30
|
var slicedToArray = require('./slicedToArray-879ab2fb.js');
|
|
30
31
|
var AdSlot = require('./AdSlot-c5bff604.js');
|
|
31
32
|
require('./promise-3b44b2a3.js');
|
|
32
|
-
require('./ADInfeed-
|
|
33
|
+
require('./ADInfeed-43996091.js');
|
|
33
34
|
var DeckContent = require('./DeckContent.js');
|
|
34
35
|
var get$1 = require('./get-3b23d857.js');
|
|
35
|
-
var GridContent = require('./GridContent-
|
|
36
|
+
var GridContent = require('./GridContent-7a85d904.js');
|
|
36
37
|
var DeckQueue = require('./DeckQueue.js');
|
|
37
38
|
require('react-bootstrap/Media');
|
|
38
39
|
var ThumbnailCard = require('./ThumbnailCard.js');
|
|
@@ -85,7 +86,7 @@ var momentTimezone = _commonjsHelpers.createCommonjsModule(function (module) {
|
|
|
85
86
|
|
|
86
87
|
/*global define*/
|
|
87
88
|
if ( module.exports) {
|
|
88
|
-
module.exports = factory(
|
|
89
|
+
module.exports = factory(moment.moment); // Node
|
|
89
90
|
} else {
|
|
90
91
|
factory(root.moment); // Browser
|
|
91
92
|
}
|
|
@@ -14483,7 +14484,7 @@ var fbsHero = function fbsHero(props) {
|
|
|
14483
14484
|
React__default.createElement(
|
|
14484
14485
|
'p',
|
|
14485
14486
|
null,
|
|
14486
|
-
|
|
14487
|
+
moment.moment(topArticle.published).format(removeTimeStamp ? 'MMMM DD, YYYY' : 'MMMM DD, YYYY hh:mma')
|
|
14487
14488
|
),
|
|
14488
14489
|
topArticle.authorMapping && topArticle.authorMapping[0] && React__default.createElement(
|
|
14489
14490
|
'p',
|
|
@@ -14526,7 +14527,7 @@ var fbsHero = function fbsHero(props) {
|
|
|
14526
14527
|
React__default.createElement(
|
|
14527
14528
|
'p',
|
|
14528
14529
|
null,
|
|
14529
|
-
|
|
14530
|
+
moment.moment(article.published).format(removeTimeStamp ? 'MMMM DD, YYYY' : 'MMMM DD, YYYY hh:mma')
|
|
14530
14531
|
),
|
|
14531
14532
|
article.authorMapping && article.authorMapping[0] && React__default.createElement(
|
|
14532
14533
|
'p',
|
|
@@ -14681,7 +14682,7 @@ var OncliveHero = function OncliveHero(props) {
|
|
|
14681
14682
|
article.title
|
|
14682
14683
|
),
|
|
14683
14684
|
React__default.createElement('div', null),
|
|
14684
|
-
|
|
14685
|
+
moment.moment(article.published).format('MMMM Do YYYY, h:mma'),
|
|
14685
14686
|
article.authorMapping && article.authorMapping[0] && article.authorMapping[0].displayName && React__default.createElement(
|
|
14686
14687
|
'p',
|
|
14687
14688
|
{ className: 'mb-2' },
|
|
@@ -14755,7 +14756,7 @@ var OncliveLargeHero = function OncliveLargeHero(props) {
|
|
|
14755
14756
|
React__default.createElement(
|
|
14756
14757
|
'p',
|
|
14757
14758
|
null,
|
|
14758
|
-
|
|
14759
|
+
moment.moment(topArticle.published).format(removeTimeStamp ? 'MMMM DD, YYYY' : 'MMMM DD, YYYY hh:mma')
|
|
14759
14760
|
),
|
|
14760
14761
|
React__default.createElement(
|
|
14761
14762
|
'p',
|
|
@@ -14793,7 +14794,7 @@ var OncliveLargeHero = function OncliveLargeHero(props) {
|
|
|
14793
14794
|
article.title
|
|
14794
14795
|
),
|
|
14795
14796
|
React__default.createElement('div', null),
|
|
14796
|
-
|
|
14797
|
+
moment.moment(article.published).format(removeTimeStamp ? 'MMMM DD, YYYY' : 'MMMM Do YYYY, h:mma'),
|
|
14797
14798
|
article.authorMapping && article.authorMapping[0] && article.authorMapping[0].displayName && React__default.createElement(
|
|
14798
14799
|
'p',
|
|
14799
14800
|
{ className: 'mb-2' },
|
|
@@ -14841,7 +14842,7 @@ var OncliveLargeHero = function OncliveLargeHero(props) {
|
|
|
14841
14842
|
article.title
|
|
14842
14843
|
),
|
|
14843
14844
|
React__default.createElement('div', null),
|
|
14844
|
-
|
|
14845
|
+
moment.moment(article.published).format(removeTimeStamp ? 'MMMM DD, YYYY' : 'MMMM Do YYYY, h:mma'),
|
|
14845
14846
|
article.authorMapping && article.authorMapping[0] && article.authorMapping[0].displayName && React__default.createElement(
|
|
14846
14847
|
'p',
|
|
14847
14848
|
{ className: 'mb-2' },
|
|
@@ -14885,7 +14886,7 @@ var OncliveLargeHero = function OncliveLargeHero(props) {
|
|
|
14885
14886
|
article.title
|
|
14886
14887
|
),
|
|
14887
14888
|
React__default.createElement('div', null),
|
|
14888
|
-
|
|
14889
|
+
moment.moment(article.published).format(removeTimeStamp ? 'MMMM DD, YYYY' : 'MMMM Do YYYY, h:mma'),
|
|
14889
14890
|
article.authorMapping && article.authorMapping[0] && article.authorMapping[0].displayName && React__default.createElement(
|
|
14890
14891
|
'p',
|
|
14891
14892
|
{ className: 'mb-2' },
|
|
@@ -15019,7 +15020,7 @@ var YahooHero = function YahooHero(props) {
|
|
|
15019
15020
|
React__default.createElement(
|
|
15020
15021
|
'p',
|
|
15021
15022
|
null,
|
|
15022
|
-
|
|
15023
|
+
moment.moment(topArticle.published).format(removeTimeStamp ? 'MMMM DD, YYYY' : 'MMMM DD, YYYY hh:mma')
|
|
15023
15024
|
),
|
|
15024
15025
|
React__default.createElement(
|
|
15025
15026
|
'p',
|
|
@@ -15054,7 +15055,7 @@ var YahooHero = function YahooHero(props) {
|
|
|
15054
15055
|
React__default.createElement(
|
|
15055
15056
|
'p',
|
|
15056
15057
|
{ className: 'yh-sub-article--info' },
|
|
15057
|
-
|
|
15058
|
+
moment.moment(article.published).format(removeTimeStamp ? 'MMMM DD, YYYY' : 'MMMM DD, YYYY hh:mma')
|
|
15058
15059
|
),
|
|
15059
15060
|
article.authorMapping && article.authorMapping[0] && React__default.createElement(
|
|
15060
15061
|
'p',
|
|
@@ -15169,7 +15170,7 @@ var GridHero = function GridHero(props) {
|
|
|
15169
15170
|
React__default.createElement(
|
|
15170
15171
|
'p',
|
|
15171
15172
|
{ className: 'article-date' },
|
|
15172
|
-
|
|
15173
|
+
moment.moment(topArticle.published).format('MMMM DD, YYYY ')
|
|
15173
15174
|
),
|
|
15174
15175
|
topArticle.authorMapping && topArticle.authorMapping.length > 0 && topArticle.authorMapping.map(function (authorDetail, index) {
|
|
15175
15176
|
return renderAuthor(authorDetail, index, topArticle.authorMapping.length);
|
|
@@ -15217,7 +15218,7 @@ var GridHero = function GridHero(props) {
|
|
|
15217
15218
|
React__default.createElement(
|
|
15218
15219
|
'p',
|
|
15219
15220
|
{ className: 'article-date' },
|
|
15220
|
-
|
|
15221
|
+
moment.moment(article.published).format('MMMM DD, YYYY ')
|
|
15221
15222
|
),
|
|
15222
15223
|
article.authorMapping && article.authorMapping.length > 0 && article.authorMapping.map(function (authorDetail, index) {
|
|
15223
15224
|
return renderAuthor(authorDetail, index, article.authorMapping.length);
|
|
@@ -15309,7 +15310,7 @@ var RelatedContent = function RelatedContent(props) {
|
|
|
15309
15310
|
props.showPublished && React__default.createElement(
|
|
15310
15311
|
'p',
|
|
15311
15312
|
{ className: 'pb-0 mb-0' },
|
|
15312
|
-
|
|
15313
|
+
moment.moment(article.published).format('MMMM DD, YYYY hh:mma')
|
|
15313
15314
|
),
|
|
15314
15315
|
props.showAuthor && article.authorMapping && article.authorMapping[0] && React__default.createElement(
|
|
15315
15316
|
'p',
|
|
@@ -15391,7 +15392,7 @@ var ConferenceArticleCard = function ConferenceArticleCard(props) {
|
|
|
15391
15392
|
React__default.createElement(
|
|
15392
15393
|
'p',
|
|
15393
15394
|
{ className: 'conf-media__card-text' },
|
|
15394
|
-
|
|
15395
|
+
moment.moment(data.published).format('MMMM Do YYYY, h:mma')
|
|
15395
15396
|
),
|
|
15396
15397
|
React__default.createElement(
|
|
15397
15398
|
'p',
|
|
@@ -16542,7 +16543,7 @@ var Article = function Article(props) {
|
|
|
16542
16543
|
React__default.createElement(
|
|
16543
16544
|
'div',
|
|
16544
16545
|
null,
|
|
16545
|
-
|
|
16546
|
+
moment.moment(published).format('LL')
|
|
16546
16547
|
),
|
|
16547
16548
|
React__default.createElement(
|
|
16548
16549
|
'div',
|