@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 CHANGED
@@ -1,5 +1,5 @@
1
1
 
2
- # mjh-framework v. 1.0.556
2
+ # mjh-framework v. 1.0.558
3
3
 
4
4
  > Foundation Framework
5
5
 
@@ -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(body.slice(0, selectedIndex))),
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(body.slice(selectedIndex))),
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, function () {}, true, drupalLeadSettings, currentPage, false, contextualADFlag),
599
- blocks: [].concat(toConsumableArray._toConsumableArray(body.slice(0, _selectedIndex))),
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, function () {}, true, drupalLeadSettings, currentPage, false),
611
- blocks: [].concat(toConsumableArray._toConsumableArray(body.slice(_selectedIndex))),
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(body.slice(0, _selectedIndex2))),
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(body.slice(_selectedIndex2))),
653
+ blocks: [].concat(toConsumableArray._toConsumableArray(articleBody.slice(_selectedIndex2))),
654
654
  imageOptions: { w: 320, h: 240, fit: 'max' }
655
655
  }, client.config()))
656
656
  );
@@ -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(body.slice(0, selectedIndex))),
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(body.slice(selectedIndex))),
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, function () {}, true, drupalLeadSettings, currentPage, false, contextualADFlag),
593
- blocks: [].concat(_toConsumableArray(body.slice(0, _selectedIndex))),
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, function () {}, true, drupalLeadSettings, currentPage, false),
605
- blocks: [].concat(_toConsumableArray(body.slice(_selectedIndex))),
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(body.slice(0, _selectedIndex2))),
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(body.slice(_selectedIndex2))),
647
+ blocks: [].concat(_toConsumableArray(articleBody.slice(_selectedIndex2))),
648
648
  imageOptions: { w: 320, h: 240, fit: 'max' }
649
649
  }, client.config()))
650
650
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mjhls/mjh-framework",
3
- "version": "1.0.556",
3
+ "version": "1.0.558",
4
4
  "description": "Foundation Framework",
5
5
  "author": "mjh-framework",
6
6
  "license": "MIT",