@mjhls/mjh-framework 1.0.546 → 1.0.547

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.546
2
+ # mjh-framework v. 1.0.547
3
3
 
4
4
  > Foundation Framework
5
5
 
@@ -90,6 +90,8 @@ var IssueLanding = function IssueLanding(props) {
90
90
  autoScroll = _props$autoScroll === undefined ? true : _props$autoScroll,
91
91
  _props$showAuthor = props.showAuthor,
92
92
  showAuthor = _props$showAuthor === undefined ? false : _props$showAuthor,
93
+ _props$showPubInfo = props.showPubInfo,
94
+ showPubInfo = _props$showPubInfo === undefined ? false : _props$showPubInfo,
93
95
  _props$imageHeight = props.imageHeight,
94
96
  imageHeight = _props$imageHeight === undefined ? 270 : _props$imageHeight,
95
97
  _props$imageWidth = props.imageWidth,
@@ -118,6 +120,7 @@ var IssueLanding = function IssueLanding(props) {
118
120
  imageHeight: imageHeight,
119
121
  imageWidth: imageWidth,
120
122
  rightItems: rightItems,
123
+ showPubInfo: showPubInfo,
121
124
  columns: 'rotate',
122
125
  variant: 'top'
123
126
  })
@@ -153,7 +153,7 @@ var checkExternalUrl = function checkExternalUrl(url) {
153
153
  return new RegExp(['http', 'https'].join('|')).test(url);
154
154
  };
155
155
 
156
- 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) {
156
+ 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) {
157
157
  var numberOfItemsBeforeAd = 6;
158
158
  var insertBrandInsightAd = function insertBrandInsightAd(arr, index, newElement) {
159
159
  return [].concat(toConsumableArray._toConsumableArray(arr.slice(0, index)), [newElement], toConsumableArray._toConsumableArray(arr.slice(index)));
@@ -352,6 +352,26 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
352
352
  article.issueSection.name
353
353
  )
354
354
  ),
355
+ showPubInfo && article.issue && React__default.createElement(
356
+ 'p',
357
+ { className: 'qdeIssue' },
358
+ 'Issue: ',
359
+ React__default.createElement(
360
+ 'span',
361
+ null,
362
+ article.issue
363
+ )
364
+ ),
365
+ showPubInfo && article.volume && React__default.createElement(
366
+ 'p',
367
+ { className: 'qdeVolume' },
368
+ 'Volume: ',
369
+ React__default.createElement(
370
+ 'span',
371
+ null,
372
+ article.volume
373
+ )
374
+ ),
355
375
  article.summary && React__default.createElement(
356
376
  'p',
357
377
  { className: 'pt-2 card-text' },
@@ -453,6 +473,26 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
453
473
  article.issueSection.name
454
474
  )
455
475
  ),
476
+ showPubInfo && article.issue && React__default.createElement(
477
+ 'p',
478
+ { className: 'qdeIssue' },
479
+ 'Issue: ',
480
+ React__default.createElement(
481
+ 'span',
482
+ null,
483
+ article.issue
484
+ )
485
+ ),
486
+ showPubInfo && article.volume && React__default.createElement(
487
+ 'p',
488
+ { className: 'qdeVolume' },
489
+ 'Volume: ',
490
+ React__default.createElement(
491
+ 'span',
492
+ null,
493
+ article.volume
494
+ )
495
+ ),
456
496
  article.summary && React__default.createElement(
457
497
  'p',
458
498
  { className: 'pt-2 card-text' },
@@ -567,6 +607,26 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
567
607
  article.issueSection.name
568
608
  )
569
609
  ),
610
+ showPubInfo && article.issue && React__default.createElement(
611
+ 'p',
612
+ { className: 'qdeIssue' },
613
+ 'Issue: ',
614
+ React__default.createElement(
615
+ 'span',
616
+ null,
617
+ article.issue
618
+ )
619
+ ),
620
+ showPubInfo && article.volume && React__default.createElement(
621
+ 'p',
622
+ { className: 'qdeVolume' },
623
+ 'Volume: ',
624
+ React__default.createElement(
625
+ 'span',
626
+ null,
627
+ article.volume
628
+ )
629
+ ),
570
630
  article.summary && React__default.createElement(
571
631
  'p',
572
632
  { className: 'pt-2 card-text' },
@@ -680,6 +740,26 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
680
740
  article.issueSection.name
681
741
  )
682
742
  ),
743
+ showPubInfo && article.issue && React__default.createElement(
744
+ 'p',
745
+ { className: 'qdeIssue' },
746
+ 'Issue: ',
747
+ React__default.createElement(
748
+ 'span',
749
+ null,
750
+ article.issue
751
+ )
752
+ ),
753
+ showPubInfo && article.volume && React__default.createElement(
754
+ 'p',
755
+ { className: 'qdeVolume' },
756
+ 'Volume: ',
757
+ React__default.createElement(
758
+ 'span',
759
+ null,
760
+ article.volume
761
+ )
762
+ ),
683
763
  article.summary && React__default.createElement(
684
764
  'p',
685
765
  { className: 'pt-2 card-text' },
@@ -781,6 +861,26 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
781
861
  article.issueSection.name
782
862
  )
783
863
  ),
864
+ showPubInfo && article.issue && React__default.createElement(
865
+ 'p',
866
+ { className: 'qdeIssue' },
867
+ 'Issue: ',
868
+ React__default.createElement(
869
+ 'span',
870
+ null,
871
+ article.issue
872
+ )
873
+ ),
874
+ showPubInfo && article.volume && React__default.createElement(
875
+ 'p',
876
+ { className: 'qdeVolume' },
877
+ 'Volume: ',
878
+ React__default.createElement(
879
+ 'span',
880
+ null,
881
+ article.volume
882
+ )
883
+ ),
784
884
  article.summary && React__default.createElement(
785
885
  'p',
786
886
  { className: 'pt-2 card-text' },
@@ -895,6 +995,26 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
895
995
  article.issueSection.name
896
996
  )
897
997
  ),
998
+ showPubInfo && article.issue && React__default.createElement(
999
+ 'p',
1000
+ { className: 'qdeIssue' },
1001
+ 'Issue: ',
1002
+ React__default.createElement(
1003
+ 'span',
1004
+ null,
1005
+ article.issue
1006
+ )
1007
+ ),
1008
+ showPubInfo && article.volume && React__default.createElement(
1009
+ 'p',
1010
+ { className: 'qdeVolume' },
1011
+ 'Volume: ',
1012
+ React__default.createElement(
1013
+ 'span',
1014
+ null,
1015
+ article.volume
1016
+ )
1017
+ ),
898
1018
  article.summary && React__default.createElement(
899
1019
  'p',
900
1020
  { className: 'pt-2 card-text' },
@@ -1010,7 +1130,9 @@ var QueueDeckExpanded = function QueueDeckExpanded(props) {
1010
1130
  _props$heroContent = props.heroContent,
1011
1131
  heroContent = _props$heroContent === undefined ? 0 : _props$heroContent,
1012
1132
  _props$lgInfeedAd = props.lgInfeedAd,
1013
- lgInfeedAd = _props$lgInfeedAd === undefined ? false : _props$lgInfeedAd;
1133
+ lgInfeedAd = _props$lgInfeedAd === undefined ? false : _props$lgInfeedAd,
1134
+ _props$showPubInfo = props.showPubInfo,
1135
+ showPubInfo = _props$showPubInfo === undefined ? false : _props$showPubInfo;
1014
1136
  var initialCurrentPage = props.currentPage,
1015
1137
  showPublished = props.showPublished;
1016
1138
 
@@ -1101,7 +1223,7 @@ var QueueDeckExpanded = function QueueDeckExpanded(props) {
1101
1223
  React__default.createElement(
1102
1224
  reactBootstrap.Container,
1103
1225
  null,
1104
- cardLoader(data, builder, mapping, values, seoPaginate, pageview, router, currentPage, setCurrentPage, showPublished, defaultImage, showAuthor, showCategory, imageHeight, imageWidth, rightItems, brandInsightAd, showBI, itemsPerPage, heroContent, lgInfeedAd)
1226
+ cardLoader(data, builder, mapping, values, seoPaginate, pageview, router, currentPage, setCurrentPage, showPublished, defaultImage, showAuthor, showCategory, imageHeight, imageWidth, rightItems, brandInsightAd, showBI, itemsPerPage, heroContent, lgInfeedAd, showPubInfo)
1105
1227
  )
1106
1228
  ),
1107
1229
  React__default.createElement(
@@ -1115,7 +1237,7 @@ var QueueDeckExpanded = function QueueDeckExpanded(props) {
1115
1237
  React__default.createElement(
1116
1238
  reactBootstrap.Container,
1117
1239
  null,
1118
- cardLoader(data, builder, mapping, values, seoPaginate, pageview, router, currentPage, setCurrentPage, showPublished, defaultImage, showAuthor, showCategory, rightItems, brandInsightAd, showBI, itemsPerPage, heroContent, lgInfeedAd)
1240
+ cardLoader(data, builder, mapping, values, seoPaginate, pageview, router, currentPage, setCurrentPage, showPublished, defaultImage, showAuthor, showCategory, rightItems, brandInsightAd, showBI, itemsPerPage, heroContent, lgInfeedAd, showPubInfo)
1119
1241
  ),
1120
1242
  React__default.createElement(
1121
1243
  'div',
@@ -85,6 +85,8 @@ var IssueLanding = function IssueLanding(props) {
85
85
  autoScroll = _props$autoScroll === undefined ? true : _props$autoScroll,
86
86
  _props$showAuthor = props.showAuthor,
87
87
  showAuthor = _props$showAuthor === undefined ? false : _props$showAuthor,
88
+ _props$showPubInfo = props.showPubInfo,
89
+ showPubInfo = _props$showPubInfo === undefined ? false : _props$showPubInfo,
88
90
  _props$imageHeight = props.imageHeight,
89
91
  imageHeight = _props$imageHeight === undefined ? 270 : _props$imageHeight,
90
92
  _props$imageWidth = props.imageWidth,
@@ -113,6 +115,7 @@ var IssueLanding = function IssueLanding(props) {
113
115
  imageHeight: imageHeight,
114
116
  imageWidth: imageWidth,
115
117
  rightItems: rightItems,
118
+ showPubInfo: showPubInfo,
116
119
  columns: 'rotate',
117
120
  variant: 'top'
118
121
  })
@@ -147,7 +147,7 @@ var checkExternalUrl = function checkExternalUrl(url) {
147
147
  return new RegExp(['http', 'https'].join('|')).test(url);
148
148
  };
149
149
 
150
- 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) {
150
+ 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) {
151
151
  var numberOfItemsBeforeAd = 6;
152
152
  var insertBrandInsightAd = function insertBrandInsightAd(arr, index, newElement) {
153
153
  return [].concat(_toConsumableArray(arr.slice(0, index)), [newElement], _toConsumableArray(arr.slice(index)));
@@ -346,6 +346,26 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
346
346
  article.issueSection.name
347
347
  )
348
348
  ),
349
+ showPubInfo && article.issue && React__default.createElement(
350
+ 'p',
351
+ { className: 'qdeIssue' },
352
+ 'Issue: ',
353
+ React__default.createElement(
354
+ 'span',
355
+ null,
356
+ article.issue
357
+ )
358
+ ),
359
+ showPubInfo && article.volume && React__default.createElement(
360
+ 'p',
361
+ { className: 'qdeVolume' },
362
+ 'Volume: ',
363
+ React__default.createElement(
364
+ 'span',
365
+ null,
366
+ article.volume
367
+ )
368
+ ),
349
369
  article.summary && React__default.createElement(
350
370
  'p',
351
371
  { className: 'pt-2 card-text' },
@@ -447,6 +467,26 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
447
467
  article.issueSection.name
448
468
  )
449
469
  ),
470
+ showPubInfo && article.issue && React__default.createElement(
471
+ 'p',
472
+ { className: 'qdeIssue' },
473
+ 'Issue: ',
474
+ React__default.createElement(
475
+ 'span',
476
+ null,
477
+ article.issue
478
+ )
479
+ ),
480
+ showPubInfo && article.volume && React__default.createElement(
481
+ 'p',
482
+ { className: 'qdeVolume' },
483
+ 'Volume: ',
484
+ React__default.createElement(
485
+ 'span',
486
+ null,
487
+ article.volume
488
+ )
489
+ ),
450
490
  article.summary && React__default.createElement(
451
491
  'p',
452
492
  { className: 'pt-2 card-text' },
@@ -561,6 +601,26 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
561
601
  article.issueSection.name
562
602
  )
563
603
  ),
604
+ showPubInfo && article.issue && React__default.createElement(
605
+ 'p',
606
+ { className: 'qdeIssue' },
607
+ 'Issue: ',
608
+ React__default.createElement(
609
+ 'span',
610
+ null,
611
+ article.issue
612
+ )
613
+ ),
614
+ showPubInfo && article.volume && React__default.createElement(
615
+ 'p',
616
+ { className: 'qdeVolume' },
617
+ 'Volume: ',
618
+ React__default.createElement(
619
+ 'span',
620
+ null,
621
+ article.volume
622
+ )
623
+ ),
564
624
  article.summary && React__default.createElement(
565
625
  'p',
566
626
  { className: 'pt-2 card-text' },
@@ -674,6 +734,26 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
674
734
  article.issueSection.name
675
735
  )
676
736
  ),
737
+ showPubInfo && article.issue && React__default.createElement(
738
+ 'p',
739
+ { className: 'qdeIssue' },
740
+ 'Issue: ',
741
+ React__default.createElement(
742
+ 'span',
743
+ null,
744
+ article.issue
745
+ )
746
+ ),
747
+ showPubInfo && article.volume && React__default.createElement(
748
+ 'p',
749
+ { className: 'qdeVolume' },
750
+ 'Volume: ',
751
+ React__default.createElement(
752
+ 'span',
753
+ null,
754
+ article.volume
755
+ )
756
+ ),
677
757
  article.summary && React__default.createElement(
678
758
  'p',
679
759
  { className: 'pt-2 card-text' },
@@ -775,6 +855,26 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
775
855
  article.issueSection.name
776
856
  )
777
857
  ),
858
+ showPubInfo && article.issue && React__default.createElement(
859
+ 'p',
860
+ { className: 'qdeIssue' },
861
+ 'Issue: ',
862
+ React__default.createElement(
863
+ 'span',
864
+ null,
865
+ article.issue
866
+ )
867
+ ),
868
+ showPubInfo && article.volume && React__default.createElement(
869
+ 'p',
870
+ { className: 'qdeVolume' },
871
+ 'Volume: ',
872
+ React__default.createElement(
873
+ 'span',
874
+ null,
875
+ article.volume
876
+ )
877
+ ),
778
878
  article.summary && React__default.createElement(
779
879
  'p',
780
880
  { className: 'pt-2 card-text' },
@@ -889,6 +989,26 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
889
989
  article.issueSection.name
890
990
  )
891
991
  ),
992
+ showPubInfo && article.issue && React__default.createElement(
993
+ 'p',
994
+ { className: 'qdeIssue' },
995
+ 'Issue: ',
996
+ React__default.createElement(
997
+ 'span',
998
+ null,
999
+ article.issue
1000
+ )
1001
+ ),
1002
+ showPubInfo && article.volume && React__default.createElement(
1003
+ 'p',
1004
+ { className: 'qdeVolume' },
1005
+ 'Volume: ',
1006
+ React__default.createElement(
1007
+ 'span',
1008
+ null,
1009
+ article.volume
1010
+ )
1011
+ ),
892
1012
  article.summary && React__default.createElement(
893
1013
  'p',
894
1014
  { className: 'pt-2 card-text' },
@@ -1004,7 +1124,9 @@ var QueueDeckExpanded = function QueueDeckExpanded(props) {
1004
1124
  _props$heroContent = props.heroContent,
1005
1125
  heroContent = _props$heroContent === undefined ? 0 : _props$heroContent,
1006
1126
  _props$lgInfeedAd = props.lgInfeedAd,
1007
- lgInfeedAd = _props$lgInfeedAd === undefined ? false : _props$lgInfeedAd;
1127
+ lgInfeedAd = _props$lgInfeedAd === undefined ? false : _props$lgInfeedAd,
1128
+ _props$showPubInfo = props.showPubInfo,
1129
+ showPubInfo = _props$showPubInfo === undefined ? false : _props$showPubInfo;
1008
1130
  var initialCurrentPage = props.currentPage,
1009
1131
  showPublished = props.showPublished;
1010
1132
 
@@ -1095,7 +1217,7 @@ var QueueDeckExpanded = function QueueDeckExpanded(props) {
1095
1217
  React__default.createElement(
1096
1218
  Container,
1097
1219
  null,
1098
- cardLoader(data, builder, mapping, values, seoPaginate, pageview, router, currentPage, setCurrentPage, showPublished, defaultImage, showAuthor, showCategory, imageHeight, imageWidth, rightItems, brandInsightAd, showBI, itemsPerPage, heroContent, lgInfeedAd)
1220
+ cardLoader(data, builder, mapping, values, seoPaginate, pageview, router, currentPage, setCurrentPage, showPublished, defaultImage, showAuthor, showCategory, imageHeight, imageWidth, rightItems, brandInsightAd, showBI, itemsPerPage, heroContent, lgInfeedAd, showPubInfo)
1099
1221
  )
1100
1222
  ),
1101
1223
  React__default.createElement(
@@ -1109,7 +1231,7 @@ var QueueDeckExpanded = function QueueDeckExpanded(props) {
1109
1231
  React__default.createElement(
1110
1232
  Container,
1111
1233
  null,
1112
- cardLoader(data, builder, mapping, values, seoPaginate, pageview, router, currentPage, setCurrentPage, showPublished, defaultImage, showAuthor, showCategory, rightItems, brandInsightAd, showBI, itemsPerPage, heroContent, lgInfeedAd)
1234
+ cardLoader(data, builder, mapping, values, seoPaginate, pageview, router, currentPage, setCurrentPage, showPublished, defaultImage, showAuthor, showCategory, rightItems, brandInsightAd, showBI, itemsPerPage, heroContent, lgInfeedAd, showPubInfo)
1113
1235
  ),
1114
1236
  React__default.createElement(
1115
1237
  'div',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mjhls/mjh-framework",
3
- "version": "1.0.546",
3
+ "version": "1.0.547",
4
4
  "description": "Foundation Framework",
5
5
  "author": "mjh-framework",
6
6
  "license": "MIT",