@mjhls/mjh-framework 1.0.685 → 1.0.686
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/QueueDeckExpanded.js +11 -9
- package/dist/esm/QueueDeckExpanded.js +11 -9
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -156,7 +156,7 @@ var checkExternalUrl = function checkExternalUrl(url) {
|
|
|
156
156
|
return new RegExp(['http', 'https'].join('|')).test(url);
|
|
157
157
|
};
|
|
158
158
|
|
|
159
|
-
var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate, pageview, router, currentPage, setCurrentPage, showPublished, defaultImage, showAuthor, showCategory, imageHeight, imageWidth, rightItems, brandInsightAd, showBI, itemsPerPage, heroContent, lgInfeedAd, showPubInfo, contentCategoryMapping, showTimeDiff, showTaxonomies) {
|
|
159
|
+
var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate, pageview, router, currentPage, setCurrentPage, showPublished, defaultImage, showAuthor, showCategory, imageHeight, imageWidth, rightItems, brandInsightAd, showBI, itemsPerPage, heroContent, lgInfeedAd, showPubInfo, contentCategoryMapping, showTimeDiff, showTaxonomies, showIntro) {
|
|
160
160
|
var numberOfItemsBeforeAd = 6;
|
|
161
161
|
var insertBrandInsightAd = function insertBrandInsightAd(arr, index, newElement) {
|
|
162
162
|
return [].concat(toConsumableArray._toConsumableArray(arr.slice(0, index)), [newElement], toConsumableArray._toConsumableArray(arr.slice(index)));
|
|
@@ -412,7 +412,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
412
412
|
article.issue
|
|
413
413
|
)
|
|
414
414
|
),
|
|
415
|
-
article.summary && React__default.createElement(
|
|
415
|
+
showIntro && article.summary && React__default.createElement(
|
|
416
416
|
'p',
|
|
417
417
|
{ className: 'pt-2 card-text' },
|
|
418
418
|
entities.clean_html_1(article.summary)
|
|
@@ -583,7 +583,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
583
583
|
article.issue
|
|
584
584
|
)
|
|
585
585
|
),
|
|
586
|
-
article.summary && React__default.createElement(
|
|
586
|
+
showIntro && article.summary && React__default.createElement(
|
|
587
587
|
'p',
|
|
588
588
|
{ className: 'pt-2 card-text' },
|
|
589
589
|
entities.clean_html_1(article.summary)
|
|
@@ -752,7 +752,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
752
752
|
article.issue
|
|
753
753
|
)
|
|
754
754
|
),
|
|
755
|
-
article.summary && React__default.createElement(
|
|
755
|
+
showIntro && article.summary && React__default.createElement(
|
|
756
756
|
'p',
|
|
757
757
|
{ className: 'pt-2 card-text' },
|
|
758
758
|
entities.clean_html_1(article.summary)
|
|
@@ -929,7 +929,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
929
929
|
article.issue
|
|
930
930
|
)
|
|
931
931
|
),
|
|
932
|
-
article.summary && React__default.createElement(
|
|
932
|
+
showIntro && article.summary && React__default.createElement(
|
|
933
933
|
'p',
|
|
934
934
|
{ className: 'pt-2 card-text' },
|
|
935
935
|
entities.clean_html_1(article.summary)
|
|
@@ -1089,7 +1089,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
1089
1089
|
article.issue
|
|
1090
1090
|
)
|
|
1091
1091
|
),
|
|
1092
|
-
article.summary && React__default.createElement(
|
|
1092
|
+
showIntro && article.summary && React__default.createElement(
|
|
1093
1093
|
'p',
|
|
1094
1094
|
{ className: 'pt-2 card-text' },
|
|
1095
1095
|
entities.clean_html_1(article.summary)
|
|
@@ -1258,7 +1258,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
1258
1258
|
article.issue
|
|
1259
1259
|
)
|
|
1260
1260
|
),
|
|
1261
|
-
article.summary && React__default.createElement(
|
|
1261
|
+
showIntro && article.summary && React__default.createElement(
|
|
1262
1262
|
'p',
|
|
1263
1263
|
{ className: 'pt-2 card-text' },
|
|
1264
1264
|
entities.clean_html_1(article.summary)
|
|
@@ -1368,6 +1368,8 @@ var QueueDeckExpanded = function QueueDeckExpanded(props) {
|
|
|
1368
1368
|
showTimeDiff = _props$showTimeDiff === undefined ? false : _props$showTimeDiff,
|
|
1369
1369
|
_props$showTaxonomies = props.showTaxonomies,
|
|
1370
1370
|
showTaxonomies = _props$showTaxonomies === undefined ? false : _props$showTaxonomies,
|
|
1371
|
+
_props$showIntro = props.showIntro,
|
|
1372
|
+
showIntro = _props$showIntro === undefined ? true : _props$showIntro,
|
|
1371
1373
|
_props$contentCategor = props.contentCategoryMapping,
|
|
1372
1374
|
contentCategoryMapping = _props$contentCategor === undefined ? [] : _props$contentCategor;
|
|
1373
1375
|
var initialCurrentPage = props.currentPage,
|
|
@@ -1486,7 +1488,7 @@ var QueueDeckExpanded = function QueueDeckExpanded(props) {
|
|
|
1486
1488
|
React__default.createElement(
|
|
1487
1489
|
reactBootstrap.Container,
|
|
1488
1490
|
null,
|
|
1489
|
-
cardLoader(data, builder, mapping, values, seoPaginate, pageview, router, currentPage, setCurrentPage, showPublished, defaultImage, showAuthor, showCategory, imageHeight, imageWidth, rightItems, brandInsightAd, showBI, itemsPerPage, heroContent, lgInfeedAd, showPubInfo, contentCategoryMapping, showTimeDiff, showTaxonomies)
|
|
1491
|
+
cardLoader(data, builder, mapping, values, seoPaginate, pageview, router, currentPage, setCurrentPage, showPublished, defaultImage, showAuthor, showCategory, imageHeight, imageWidth, rightItems, brandInsightAd, showBI, itemsPerPage, heroContent, lgInfeedAd, showPubInfo, contentCategoryMapping, showTimeDiff, showTaxonomies, showIntro)
|
|
1490
1492
|
)
|
|
1491
1493
|
),
|
|
1492
1494
|
React__default.createElement(
|
|
@@ -1500,7 +1502,7 @@ var QueueDeckExpanded = function QueueDeckExpanded(props) {
|
|
|
1500
1502
|
React__default.createElement(
|
|
1501
1503
|
reactBootstrap.Container,
|
|
1502
1504
|
null,
|
|
1503
|
-
cardLoader(data, builder, mapping, values, seoPaginate, pageview, router, currentPage, setCurrentPage, showPublished, defaultImage, showAuthor, showCategory, rightItems, brandInsightAd, showBI, itemsPerPage, heroContent, lgInfeedAd, showPubInfo, contentCategoryMapping, showTimeDiff, showTaxonomies)
|
|
1505
|
+
cardLoader(data, builder, mapping, values, seoPaginate, pageview, router, currentPage, setCurrentPage, showPublished, defaultImage, showAuthor, showCategory, rightItems, brandInsightAd, showBI, itemsPerPage, heroContent, lgInfeedAd, showPubInfo, contentCategoryMapping, showTimeDiff, showTaxonomies, showIntro)
|
|
1504
1506
|
),
|
|
1505
1507
|
React__default.createElement(
|
|
1506
1508
|
'div',
|
|
@@ -150,7 +150,7 @@ var checkExternalUrl = function checkExternalUrl(url) {
|
|
|
150
150
|
return new RegExp(['http', 'https'].join('|')).test(url);
|
|
151
151
|
};
|
|
152
152
|
|
|
153
|
-
var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate, pageview, router, currentPage, setCurrentPage, showPublished, defaultImage, showAuthor, showCategory, imageHeight, imageWidth, rightItems, brandInsightAd, showBI, itemsPerPage, heroContent, lgInfeedAd, showPubInfo, contentCategoryMapping, showTimeDiff, showTaxonomies) {
|
|
153
|
+
var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate, pageview, router, currentPage, setCurrentPage, showPublished, defaultImage, showAuthor, showCategory, imageHeight, imageWidth, rightItems, brandInsightAd, showBI, itemsPerPage, heroContent, lgInfeedAd, showPubInfo, contentCategoryMapping, showTimeDiff, showTaxonomies, showIntro) {
|
|
154
154
|
var numberOfItemsBeforeAd = 6;
|
|
155
155
|
var insertBrandInsightAd = function insertBrandInsightAd(arr, index, newElement) {
|
|
156
156
|
return [].concat(_toConsumableArray(arr.slice(0, index)), [newElement], _toConsumableArray(arr.slice(index)));
|
|
@@ -406,7 +406,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
406
406
|
article.issue
|
|
407
407
|
)
|
|
408
408
|
),
|
|
409
|
-
article.summary && React__default.createElement(
|
|
409
|
+
showIntro && article.summary && React__default.createElement(
|
|
410
410
|
'p',
|
|
411
411
|
{ className: 'pt-2 card-text' },
|
|
412
412
|
clean_html_1(article.summary)
|
|
@@ -577,7 +577,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
577
577
|
article.issue
|
|
578
578
|
)
|
|
579
579
|
),
|
|
580
|
-
article.summary && React__default.createElement(
|
|
580
|
+
showIntro && article.summary && React__default.createElement(
|
|
581
581
|
'p',
|
|
582
582
|
{ className: 'pt-2 card-text' },
|
|
583
583
|
clean_html_1(article.summary)
|
|
@@ -746,7 +746,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
746
746
|
article.issue
|
|
747
747
|
)
|
|
748
748
|
),
|
|
749
|
-
article.summary && React__default.createElement(
|
|
749
|
+
showIntro && article.summary && React__default.createElement(
|
|
750
750
|
'p',
|
|
751
751
|
{ className: 'pt-2 card-text' },
|
|
752
752
|
clean_html_1(article.summary)
|
|
@@ -923,7 +923,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
923
923
|
article.issue
|
|
924
924
|
)
|
|
925
925
|
),
|
|
926
|
-
article.summary && React__default.createElement(
|
|
926
|
+
showIntro && article.summary && React__default.createElement(
|
|
927
927
|
'p',
|
|
928
928
|
{ className: 'pt-2 card-text' },
|
|
929
929
|
clean_html_1(article.summary)
|
|
@@ -1083,7 +1083,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
1083
1083
|
article.issue
|
|
1084
1084
|
)
|
|
1085
1085
|
),
|
|
1086
|
-
article.summary && React__default.createElement(
|
|
1086
|
+
showIntro && article.summary && React__default.createElement(
|
|
1087
1087
|
'p',
|
|
1088
1088
|
{ className: 'pt-2 card-text' },
|
|
1089
1089
|
clean_html_1(article.summary)
|
|
@@ -1252,7 +1252,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
1252
1252
|
article.issue
|
|
1253
1253
|
)
|
|
1254
1254
|
),
|
|
1255
|
-
article.summary && React__default.createElement(
|
|
1255
|
+
showIntro && article.summary && React__default.createElement(
|
|
1256
1256
|
'p',
|
|
1257
1257
|
{ className: 'pt-2 card-text' },
|
|
1258
1258
|
clean_html_1(article.summary)
|
|
@@ -1362,6 +1362,8 @@ var QueueDeckExpanded = function QueueDeckExpanded(props) {
|
|
|
1362
1362
|
showTimeDiff = _props$showTimeDiff === undefined ? false : _props$showTimeDiff,
|
|
1363
1363
|
_props$showTaxonomies = props.showTaxonomies,
|
|
1364
1364
|
showTaxonomies = _props$showTaxonomies === undefined ? false : _props$showTaxonomies,
|
|
1365
|
+
_props$showIntro = props.showIntro,
|
|
1366
|
+
showIntro = _props$showIntro === undefined ? true : _props$showIntro,
|
|
1365
1367
|
_props$contentCategor = props.contentCategoryMapping,
|
|
1366
1368
|
contentCategoryMapping = _props$contentCategor === undefined ? [] : _props$contentCategor;
|
|
1367
1369
|
var initialCurrentPage = props.currentPage,
|
|
@@ -1480,7 +1482,7 @@ var QueueDeckExpanded = function QueueDeckExpanded(props) {
|
|
|
1480
1482
|
React__default.createElement(
|
|
1481
1483
|
Container,
|
|
1482
1484
|
null,
|
|
1483
|
-
cardLoader(data, builder, mapping, values, seoPaginate, pageview, router, currentPage, setCurrentPage, showPublished, defaultImage, showAuthor, showCategory, imageHeight, imageWidth, rightItems, brandInsightAd, showBI, itemsPerPage, heroContent, lgInfeedAd, showPubInfo, contentCategoryMapping, showTimeDiff, showTaxonomies)
|
|
1485
|
+
cardLoader(data, builder, mapping, values, seoPaginate, pageview, router, currentPage, setCurrentPage, showPublished, defaultImage, showAuthor, showCategory, imageHeight, imageWidth, rightItems, brandInsightAd, showBI, itemsPerPage, heroContent, lgInfeedAd, showPubInfo, contentCategoryMapping, showTimeDiff, showTaxonomies, showIntro)
|
|
1484
1486
|
)
|
|
1485
1487
|
),
|
|
1486
1488
|
React__default.createElement(
|
|
@@ -1494,7 +1496,7 @@ var QueueDeckExpanded = function QueueDeckExpanded(props) {
|
|
|
1494
1496
|
React__default.createElement(
|
|
1495
1497
|
Container,
|
|
1496
1498
|
null,
|
|
1497
|
-
cardLoader(data, builder, mapping, values, seoPaginate, pageview, router, currentPage, setCurrentPage, showPublished, defaultImage, showAuthor, showCategory, rightItems, brandInsightAd, showBI, itemsPerPage, heroContent, lgInfeedAd, showPubInfo, contentCategoryMapping, showTimeDiff, showTaxonomies)
|
|
1499
|
+
cardLoader(data, builder, mapping, values, seoPaginate, pageview, router, currentPage, setCurrentPage, showPublished, defaultImage, showAuthor, showCategory, rightItems, brandInsightAd, showBI, itemsPerPage, heroContent, lgInfeedAd, showPubInfo, contentCategoryMapping, showTimeDiff, showTaxonomies, showIntro)
|
|
1498
1500
|
),
|
|
1499
1501
|
React__default.createElement(
|
|
1500
1502
|
'div',
|