@mjhls/mjh-framework 1.0.556 → 1.0.558
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/MasterDeck.js +1 -1
- package/dist/cjs/View.js +8 -8
- package/dist/esm/MasterDeck.js +1 -1
- package/dist/esm/View.js +8 -8
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/cjs/MasterDeck.js
CHANGED
|
@@ -96,7 +96,7 @@ var MasterDeck = function (_React$Component) {
|
|
|
96
96
|
dataHandler = _this$props.dataHandler;
|
|
97
97
|
|
|
98
98
|
|
|
99
|
-
var params = _extends._extends({}, _this.params, { from: from, to: to });
|
|
99
|
+
var params = _extends._extends({}, _this.props.params, { from: from, to: to });
|
|
100
100
|
|
|
101
101
|
if (dataHandler) {
|
|
102
102
|
var dataHandlerPromise = new asyncToGenerator._Promise(function (resolve, reject) {
|
package/dist/cjs/View.js
CHANGED
|
@@ -524,7 +524,7 @@ var Article = function Article(props) {
|
|
|
524
524
|
null,
|
|
525
525
|
React__default.createElement(BlockContent.BlockContent, _extends._extends({
|
|
526
526
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, contextualADFlag),
|
|
527
|
-
blocks: [].concat(toConsumableArray._toConsumableArray(
|
|
527
|
+
blocks: [].concat(toConsumableArray._toConsumableArray(articleBody.slice(0, selectedIndex))),
|
|
528
528
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
529
529
|
}, client.config())),
|
|
530
530
|
React__default.createElement('span', { className: 'clearfix' }),
|
|
@@ -541,7 +541,7 @@ var Article = function Article(props) {
|
|
|
541
541
|
),
|
|
542
542
|
React__default.createElement(BlockContent.BlockContent, _extends._extends({
|
|
543
543
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false),
|
|
544
|
-
blocks: [].concat(toConsumableArray._toConsumableArray(
|
|
544
|
+
blocks: [].concat(toConsumableArray._toConsumableArray(articleBody.slice(selectedIndex))),
|
|
545
545
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
546
546
|
}, client.config()))
|
|
547
547
|
);
|
|
@@ -595,8 +595,8 @@ var Article = function Article(props) {
|
|
|
595
595
|
React__default.Fragment,
|
|
596
596
|
null,
|
|
597
597
|
React__default.createElement(BlockContent.BlockContent, _extends._extends({
|
|
598
|
-
serializers: getSerializers(client, pageview, videoAccountIDs,
|
|
599
|
-
blocks: [].concat(toConsumableArray._toConsumableArray(
|
|
598
|
+
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, contextualADFlag),
|
|
599
|
+
blocks: [].concat(toConsumableArray._toConsumableArray(articleBody.slice(0, _selectedIndex))),
|
|
600
600
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
601
601
|
}, client.config())),
|
|
602
602
|
contextualADFlag && React__default.createElement('span', { className: 'clearfix' }),
|
|
@@ -607,8 +607,8 @@ var Article = function Article(props) {
|
|
|
607
607
|
),
|
|
608
608
|
contextualADFlag && React__default.createElement('span', { className: 'clearfix' }),
|
|
609
609
|
React__default.createElement(BlockContent.BlockContent, _extends._extends({
|
|
610
|
-
serializers: getSerializers(client, pageview, videoAccountIDs,
|
|
611
|
-
blocks: [].concat(toConsumableArray._toConsumableArray(
|
|
610
|
+
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false),
|
|
611
|
+
blocks: [].concat(toConsumableArray._toConsumableArray(articleBody.slice(_selectedIndex))),
|
|
612
612
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
613
613
|
}, client.config()))
|
|
614
614
|
);
|
|
@@ -639,7 +639,7 @@ var Article = function Article(props) {
|
|
|
639
639
|
null,
|
|
640
640
|
React__default.createElement(BlockContent.BlockContent, _extends._extends({
|
|
641
641
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, contextualADFlag),
|
|
642
|
-
blocks: [].concat(toConsumableArray._toConsumableArray(
|
|
642
|
+
blocks: [].concat(toConsumableArray._toConsumableArray(articleBody.slice(0, _selectedIndex2))),
|
|
643
643
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
644
644
|
}, client.config())),
|
|
645
645
|
React__default.createElement('span', { className: 'clearfix' }),
|
|
@@ -650,7 +650,7 @@ var Article = function Article(props) {
|
|
|
650
650
|
),
|
|
651
651
|
React__default.createElement(BlockContent.BlockContent, _extends._extends({
|
|
652
652
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false),
|
|
653
|
-
blocks: [].concat(toConsumableArray._toConsumableArray(
|
|
653
|
+
blocks: [].concat(toConsumableArray._toConsumableArray(articleBody.slice(_selectedIndex2))),
|
|
654
654
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
655
655
|
}, client.config()))
|
|
656
656
|
);
|
package/dist/esm/MasterDeck.js
CHANGED
|
@@ -90,7 +90,7 @@ var MasterDeck = function (_React$Component) {
|
|
|
90
90
|
dataHandler = _this$props.dataHandler;
|
|
91
91
|
|
|
92
92
|
|
|
93
|
-
var params = _extends({}, _this.params, { from: from, to: to });
|
|
93
|
+
var params = _extends({}, _this.props.params, { from: from, to: to });
|
|
94
94
|
|
|
95
95
|
if (dataHandler) {
|
|
96
96
|
var dataHandlerPromise = new _Promise(function (resolve, reject) {
|
package/dist/esm/View.js
CHANGED
|
@@ -518,7 +518,7 @@ var Article = function Article(props) {
|
|
|
518
518
|
null,
|
|
519
519
|
React__default.createElement(BlockContent, _extends({
|
|
520
520
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, contextualADFlag),
|
|
521
|
-
blocks: [].concat(_toConsumableArray(
|
|
521
|
+
blocks: [].concat(_toConsumableArray(articleBody.slice(0, selectedIndex))),
|
|
522
522
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
523
523
|
}, client.config())),
|
|
524
524
|
React__default.createElement('span', { className: 'clearfix' }),
|
|
@@ -535,7 +535,7 @@ var Article = function Article(props) {
|
|
|
535
535
|
),
|
|
536
536
|
React__default.createElement(BlockContent, _extends({
|
|
537
537
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false),
|
|
538
|
-
blocks: [].concat(_toConsumableArray(
|
|
538
|
+
blocks: [].concat(_toConsumableArray(articleBody.slice(selectedIndex))),
|
|
539
539
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
540
540
|
}, client.config()))
|
|
541
541
|
);
|
|
@@ -589,8 +589,8 @@ var Article = function Article(props) {
|
|
|
589
589
|
React__default.Fragment,
|
|
590
590
|
null,
|
|
591
591
|
React__default.createElement(BlockContent, _extends({
|
|
592
|
-
serializers: getSerializers(client, pageview, videoAccountIDs,
|
|
593
|
-
blocks: [].concat(_toConsumableArray(
|
|
592
|
+
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, contextualADFlag),
|
|
593
|
+
blocks: [].concat(_toConsumableArray(articleBody.slice(0, _selectedIndex))),
|
|
594
594
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
595
595
|
}, client.config())),
|
|
596
596
|
contextualADFlag && React__default.createElement('span', { className: 'clearfix' }),
|
|
@@ -601,8 +601,8 @@ var Article = function Article(props) {
|
|
|
601
601
|
),
|
|
602
602
|
contextualADFlag && React__default.createElement('span', { className: 'clearfix' }),
|
|
603
603
|
React__default.createElement(BlockContent, _extends({
|
|
604
|
-
serializers: getSerializers(client, pageview, videoAccountIDs,
|
|
605
|
-
blocks: [].concat(_toConsumableArray(
|
|
604
|
+
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false),
|
|
605
|
+
blocks: [].concat(_toConsumableArray(articleBody.slice(_selectedIndex))),
|
|
606
606
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
607
607
|
}, client.config()))
|
|
608
608
|
);
|
|
@@ -633,7 +633,7 @@ var Article = function Article(props) {
|
|
|
633
633
|
null,
|
|
634
634
|
React__default.createElement(BlockContent, _extends({
|
|
635
635
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, contextualADFlag),
|
|
636
|
-
blocks: [].concat(_toConsumableArray(
|
|
636
|
+
blocks: [].concat(_toConsumableArray(articleBody.slice(0, _selectedIndex2))),
|
|
637
637
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
638
638
|
}, client.config())),
|
|
639
639
|
React__default.createElement('span', { className: 'clearfix' }),
|
|
@@ -644,7 +644,7 @@ var Article = function Article(props) {
|
|
|
644
644
|
),
|
|
645
645
|
React__default.createElement(BlockContent, _extends({
|
|
646
646
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false),
|
|
647
|
-
blocks: [].concat(_toConsumableArray(
|
|
647
|
+
blocks: [].concat(_toConsumableArray(articleBody.slice(_selectedIndex2))),
|
|
648
648
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
649
649
|
}, client.config()))
|
|
650
650
|
);
|