@mjhls/mjh-framework 1.0.485 → 1.0.487

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.
Files changed (78) hide show
  1. package/README.md +1 -1
  2. package/dist/cjs/AD300x250.js +2 -2
  3. package/dist/cjs/AD300x250x600.js +21 -7
  4. package/dist/cjs/AD728x90.js +1 -1
  5. package/dist/cjs/ADFloatingFooter.js +1 -1
  6. package/dist/cjs/ADGutter.js +1 -1
  7. package/dist/cjs/ADSponsoredResources.js +1 -1
  8. package/dist/cjs/ADWebcast.js +1 -1
  9. package/dist/cjs/ADWelcome.js +1 -1
  10. package/dist/cjs/AdSlot.js +3 -3
  11. package/dist/cjs/ArticleQueue.js +6 -6
  12. package/dist/cjs/Beam.js +1 -1
  13. package/dist/cjs/Column2.js +1 -1
  14. package/dist/cjs/Column3.js +1 -1
  15. package/dist/cjs/DeckContent.js +2 -2
  16. package/dist/cjs/EventsDeck.js +12 -1577
  17. package/dist/cjs/ExternalResources.js +183 -0
  18. package/dist/cjs/GridContent.js +3 -3
  19. package/dist/cjs/HamMagazine.js +7 -7
  20. package/dist/cjs/IssueLanding.js +3 -3
  21. package/dist/cjs/LeftNav.js +3 -3
  22. package/dist/cjs/MasterDeck.js +3 -3
  23. package/dist/cjs/NavDvm.js +5 -5
  24. package/dist/cjs/NavMagazine.js +7 -7
  25. package/dist/cjs/NavNative.js +7 -7
  26. package/dist/cjs/NavNormal.js +3 -3
  27. package/dist/cjs/PartnerDetailListing.js +8 -8
  28. package/dist/cjs/QueueDeckExpanded.js +3 -3
  29. package/dist/cjs/Segment.js +2 -2
  30. package/dist/cjs/SideFooter.js +3 -3
  31. package/dist/cjs/TemplateNormal.js +1 -1
  32. package/dist/cjs/View.js +6 -6
  33. package/dist/cjs/{beam-9ffe0364.js → beam-2745329b.js} +3 -3
  34. package/dist/cjs/getQuery.js +2 -0
  35. package/dist/cjs/getSerializers.js +24 -24
  36. package/dist/cjs/index-5be2866f.js +1572 -0
  37. package/dist/cjs/index.js +14 -11
  38. package/dist/esm/AD300x250.js +2 -2
  39. package/dist/esm/AD300x250x600.js +21 -7
  40. package/dist/esm/AD728x90.js +1 -1
  41. package/dist/esm/ADFloatingFooter.js +1 -1
  42. package/dist/esm/ADGutter.js +1 -1
  43. package/dist/esm/ADSponsoredResources.js +1 -1
  44. package/dist/esm/ADWebcast.js +1 -1
  45. package/dist/esm/ADWelcome.js +1 -1
  46. package/dist/esm/AdSlot.js +3 -3
  47. package/dist/esm/ArticleQueue.js +6 -6
  48. package/dist/esm/Beam.js +1 -1
  49. package/dist/esm/Column2.js +1 -1
  50. package/dist/esm/Column3.js +1 -1
  51. package/dist/esm/DeckContent.js +2 -2
  52. package/dist/esm/EventsDeck.js +12 -1577
  53. package/dist/esm/ExternalResources.js +177 -0
  54. package/dist/esm/GridContent.js +3 -3
  55. package/dist/esm/HamMagazine.js +7 -7
  56. package/dist/esm/IssueLanding.js +3 -3
  57. package/dist/esm/LeftNav.js +3 -3
  58. package/dist/esm/MasterDeck.js +3 -3
  59. package/dist/esm/NavDvm.js +5 -5
  60. package/dist/esm/NavMagazine.js +7 -7
  61. package/dist/esm/NavNative.js +7 -7
  62. package/dist/esm/NavNormal.js +3 -3
  63. package/dist/esm/PartnerDetailListing.js +8 -8
  64. package/dist/esm/QueueDeckExpanded.js +3 -3
  65. package/dist/esm/Segment.js +1 -1
  66. package/dist/esm/SideFooter.js +3 -3
  67. package/dist/esm/TemplateNormal.js +1 -1
  68. package/dist/esm/View.js +6 -6
  69. package/dist/esm/{beam-e248fb74.js → beam-dd2b10c0.js} +3 -3
  70. package/dist/esm/getQuery.js +2 -0
  71. package/dist/esm/getSerializers.js +24 -24
  72. package/dist/esm/index-d2f90501.js +1570 -0
  73. package/dist/esm/index.js +11 -9
  74. package/package.json +1 -1
  75. /package/dist/cjs/{ADInfeed-9df26f11.js → ADInfeed-0ce661fa.js} +0 -0
  76. /package/dist/cjs/{ADlgInfeed-732fb987.js → ADlgInfeed-3e685576.js} +0 -0
  77. /package/dist/esm/{ADInfeed-383c2123.js → ADInfeed-c651007e.js} +0 -0
  78. /package/dist/esm/{ADlgInfeed-e1a02b33.js → ADlgInfeed-9ff12f94.js} +0 -0
package/dist/cjs/index.js CHANGED
@@ -38,12 +38,12 @@ require('./slicedToArray-8063ee51.js');
38
38
  require('./stringify-7c5aff47.js');
39
39
  require('./asyncToGenerator-8e707718.js');
40
40
  require('./_set-species-4458e975.js');
41
- var Segment = require('./beam-9ffe0364.js');
41
+ var Segment = require('./beam-2745329b.js');
42
42
  var AdSlot = require('./AdSlot.js');
43
- require('./ADInfeed-9df26f11.js');
43
+ require('./ADInfeed-0ce661fa.js');
44
44
  var DeckContent = require('./DeckContent.js');
45
45
  require('./lodash-fc2922d0.js');
46
- require('./ADlgInfeed-732fb987.js');
46
+ require('./ADlgInfeed-3e685576.js');
47
47
  require('./_arrayMap-3b4a0f75.js');
48
48
  require('./get-5dfcdc33.js');
49
49
  var AD = require('./AD.js');
@@ -70,9 +70,16 @@ var IssueDeck = require('./IssueDeck.js');
70
70
  require('react-bootstrap/Badge');
71
71
  var IssueContentDeck = require('./IssueContentDeck.js');
72
72
  require('react-bootstrap/Spinner');
73
- var EventsDeck = require('./EventsDeck.js');
73
+ require('./index-5be2866f.js');
74
74
  require('./js.cookie-a511c430.js');
75
+ var EventsDeck = require('./EventsDeck.js');
75
76
  var CMEDeck = require('./CMEDeck.js');
77
+ var getSerializers = require('./getSerializers.js');
78
+ require('./util-f2c1b65b.js');
79
+ require('./brightcove-react-player-loader.es-156bd4d6.js');
80
+ require('react-bootstrap/Pagination');
81
+ require('next/dynamic');
82
+ var ExternalResources = require('./ExternalResources.js');
76
83
  var Column1 = require('./Column1.js');
77
84
  var SideFooter = require('./SideFooter.js');
78
85
  require('./ConferenceBanner-4a16fddc.js');
@@ -127,17 +134,12 @@ require('react-bootstrap/Dropdown');
127
134
  var RelatedTopicsDropdown = require('./RelatedTopicsDropdown.js');
128
135
  require('./index.esm-25423c2f.js');
129
136
  var Ustream = require('./Ustream.js');
130
- require('./brightcove-react-player-loader.es-156bd4d6.js');
131
137
  var HighlightenVideo = require('./HighlightenVideo.js');
132
138
  var PublicationLanding = require('./PublicationLanding.js');
133
139
  var IssueLanding = require('./IssueLanding.js');
134
140
  require('react-bootstrap/Modal');
135
141
  var PopUpModal = require('./PopUpModal.js');
136
142
  require('./InscreenSensor-f9989c04.js');
137
- var getSerializers = require('./getSerializers.js');
138
- require('./util-f2c1b65b.js');
139
- require('react-bootstrap/Pagination');
140
- require('next/dynamic');
141
143
  var getKeywords = require('./getKeywords.js');
142
144
  var ArticleQueue = require('./ArticleQueue.js');
143
145
  var RelatedContent = require('./RelatedContent.js');
@@ -166,7 +168,7 @@ var PartnerDetailListing = require('./PartnerDetailListing.js');
166
168
 
167
169
 
168
170
  exports.Beam = Segment.Beam;
169
- exports.Segment = Segment.SegmentAPI;
171
+ exports.Segment = Segment.Segment;
170
172
  exports.AdSlot = AdSlot;
171
173
  exports.DeckContent = DeckContent;
172
174
  exports.AD = AD;
@@ -184,6 +186,8 @@ exports.IssueDeck = IssueDeck;
184
186
  exports.IssueContentDeck = IssueContentDeck;
185
187
  exports.EventsDeck = EventsDeck;
186
188
  exports.CMEDeck = CMEDeck;
189
+ exports.getSerializers = getSerializers;
190
+ exports.ExternalResources = ExternalResources;
187
191
  exports.Column1 = Column1.Column1;
188
192
  exports.SideFooter = SideFooter;
189
193
  exports.Column2 = Column2.Column2;
@@ -222,7 +226,6 @@ exports.HighlightenVideo = HighlightenVideo;
222
226
  exports.PublicationLanding = PublicationLanding;
223
227
  exports.IssueLanding = IssueLanding;
224
228
  exports.PopUpModal = PopUpModal;
225
- exports.getSerializers = getSerializers;
226
229
  exports.getKeywords = getKeywords;
227
230
  exports.ArticleQueue = ArticleQueue;
228
231
  exports.RelatedContent = RelatedContent;
@@ -14,7 +14,7 @@ import './slicedToArray-f1e40361.js';
14
14
  import './stringify-e30bc114.js';
15
15
  import './asyncToGenerator-0379e924.js';
16
16
  import './_set-species-6f64f1c1.js';
17
- import './beam-e248fb74.js';
17
+ import './beam-dd2b10c0.js';
18
18
  import DFPAdSlot from './AdSlot.js';
19
19
 
20
20
  var AD300x250 = function AD300x250(_ref) {
@@ -44,7 +44,7 @@ var AD300x250 = function AD300x250(_ref) {
44
44
  };
45
45
 
46
46
  var browserSizes = [[300, 250], [300, 100]];
47
- var mobileSizes = [[300, 50][(50)], [300, 250], [300, 100]];
47
+ var mobileSizes = [[300, 50], [320, 50], [300, 250], [300, 100]];
48
48
 
49
49
  return React__default.createElement(DFPAdSlot, { networkID: networkID, adUnit: adUnit, slotId: slotId, targeting: adTargeting, className: 'AD300x250', sizes: mobileView ? mobileSizes : browserSizes });
50
50
  };
@@ -14,7 +14,7 @@ import './slicedToArray-f1e40361.js';
14
14
  import './stringify-e30bc114.js';
15
15
  import './asyncToGenerator-0379e924.js';
16
16
  import './_set-species-6f64f1c1.js';
17
- import './beam-e248fb74.js';
17
+ import './beam-dd2b10c0.js';
18
18
  import DFPAdSlot from './AdSlot.js';
19
19
 
20
20
  var AD300x250x600 = function AD300x250x600(_ref) {
@@ -26,10 +26,8 @@ var AD300x250x600 = function AD300x250x600(_ref) {
26
26
  _ref$pos = _ref.pos,
27
27
  pos = _ref$pos === undefined ? 'rec2' : _ref$pos;
28
28
 
29
- var mobileView = false;
30
29
  if (main_39) {
31
30
  pos = 'rec2-mobile';
32
- mobileView = true;
33
31
  }
34
32
 
35
33
  var adTargeting = {
@@ -43,10 +41,26 @@ var AD300x250x600 = function AD300x250x600(_ref) {
43
41
  publication_url: targeting.publication_url
44
42
  };
45
43
 
46
- var browserSizes = [[300, 250], [300, 600], [300, 100]];
47
- var mobileSizes = [[300, 50][(50)], [300, 250], [300, 100]];
48
-
49
- return React__default.createElement(DFPAdSlot, { networkID: networkID, adUnit: adUnit, className: 'AD300x250', slotId: slotId, targeting: adTargeting, sizes: mobileView ? mobileSizes : browserSizes });
44
+ return React__default.createElement(DFPAdSlot, {
45
+ networkID: networkID,
46
+ adUnit: adUnit,
47
+ className: 'AD300x250',
48
+ slotId: slotId,
49
+ targeting: adTargeting
50
+ // passing all possible sizes.
51
+ , sizes: ([300, 600])
52
+ // setting responsive sizemapping to make the ads responsive.
53
+ , sizeMapping: [{
54
+ viewport: [1200, 900],
55
+ sizes: [[300, 100], [300, 250], [300, 600]]
56
+ }, {
57
+ viewport: [1200, 1],
58
+ sizes: [[300, 100], [300, 250]]
59
+ }, {
60
+ viewport: [1, 1],
61
+ sizes: [[300, 50], [300, 100], [320, 50], [300, 250]]
62
+ }]
63
+ });
50
64
  };
51
65
 
52
66
  export default AD300x250x600;
@@ -14,7 +14,7 @@ import { _ as _slicedToArray } from './slicedToArray-f1e40361.js';
14
14
  import './stringify-e30bc114.js';
15
15
  import './asyncToGenerator-0379e924.js';
16
16
  import './_set-species-6f64f1c1.js';
17
- import './beam-e248fb74.js';
17
+ import './beam-dd2b10c0.js';
18
18
  import DFPAdSlot from './AdSlot.js';
19
19
 
20
20
  var AD728x90 = function AD728x90(_ref) {
@@ -14,7 +14,7 @@ import { _ as _slicedToArray } from './slicedToArray-f1e40361.js';
14
14
  import { _ as _JSON$stringify } from './stringify-e30bc114.js';
15
15
  import './asyncToGenerator-0379e924.js';
16
16
  import './_set-species-6f64f1c1.js';
17
- import './beam-e248fb74.js';
17
+ import './beam-dd2b10c0.js';
18
18
  import DFPAdSlot from './AdSlot.js';
19
19
 
20
20
  var ADFloatingFooter = function ADFloatingFooter(_ref) {
@@ -14,7 +14,7 @@ import { _ as _slicedToArray } from './slicedToArray-f1e40361.js';
14
14
  import './stringify-e30bc114.js';
15
15
  import './asyncToGenerator-0379e924.js';
16
16
  import './_set-species-6f64f1c1.js';
17
- import './beam-e248fb74.js';
17
+ import './beam-dd2b10c0.js';
18
18
  import DFPAdSlot from './AdSlot.js';
19
19
 
20
20
  var ADGutter = function ADGutter(_ref) {
@@ -14,7 +14,7 @@ import { _ as _slicedToArray } from './slicedToArray-f1e40361.js';
14
14
  import './stringify-e30bc114.js';
15
15
  import './asyncToGenerator-0379e924.js';
16
16
  import './_set-species-6f64f1c1.js';
17
- import './beam-e248fb74.js';
17
+ import './beam-dd2b10c0.js';
18
18
  import DFPAdSlot from './AdSlot.js';
19
19
 
20
20
  var ADSponsoredResources = function ADSponsoredResources(_ref) {
@@ -14,7 +14,7 @@ import { _ as _slicedToArray } from './slicedToArray-f1e40361.js';
14
14
  import './stringify-e30bc114.js';
15
15
  import './asyncToGenerator-0379e924.js';
16
16
  import './_set-species-6f64f1c1.js';
17
- import './beam-e248fb74.js';
17
+ import './beam-dd2b10c0.js';
18
18
  import DFPAdSlot from './AdSlot.js';
19
19
 
20
20
  // Webcast AD : New AD with size [200,100] that is to be renderedin the LeftNav between the spotlight and subnavigation.
@@ -14,7 +14,7 @@ import { _ as _slicedToArray } from './slicedToArray-f1e40361.js';
14
14
  import './stringify-e30bc114.js';
15
15
  import './asyncToGenerator-0379e924.js';
16
16
  import './_set-species-6f64f1c1.js';
17
- import './beam-e248fb74.js';
17
+ import './beam-dd2b10c0.js';
18
18
  import DFPAdSlot from './AdSlot.js';
19
19
 
20
20
  var ADWelcome = function ADWelcome(_ref) {
@@ -14,7 +14,7 @@ import { _ as _slicedToArray } from './slicedToArray-f1e40361.js';
14
14
  import './stringify-e30bc114.js';
15
15
  import './asyncToGenerator-0379e924.js';
16
16
  import './_set-species-6f64f1c1.js';
17
- import { B as Beam, S as SegmentAPI } from './beam-e248fb74.js';
17
+ import { B as Beam, S as Segment } from './beam-dd2b10c0.js';
18
18
 
19
19
  var DFPAdSlot = function DFPAdSlot(_ref) {
20
20
  var adUnit = _ref.adUnit,
@@ -74,7 +74,7 @@ var DFPAdSlot = function DFPAdSlot(_ref) {
74
74
  onSlotIsViewable: function onSlotIsViewable(e) {
75
75
  setStickyAd(true);
76
76
  Beam.report_beam_ad('Impression', main_16, eventData.cID, eventData.lID, eventData.campID, eventData.adSize, eventData.slot_id);
77
- SegmentAPI.adViewed(eventData.domain, eventData.advertiserId, eventData.campID, eventData.cID, eventData.lID, eventData.adSize, eventData.isEmpty, eventData.sourceAgnosticCreativeId, eventData.sourceAgnosticLineItemId);
77
+ Segment.adViewed(eventData.domain, eventData.advertiserId, eventData.campID, eventData.cID, eventData.lID, eventData.adSize, eventData.isEmpty, eventData.sourceAgnosticCreativeId, eventData.sourceAgnosticLineItemId);
78
78
  },
79
79
  onSlotRender: function onSlotRender(eventData) {
80
80
  if (eventData && eventData.slotId && eventData.slotId === slotId && checkIsAdFound) {
@@ -135,7 +135,7 @@ var DFPAdSlot = function DFPAdSlot(_ref) {
135
135
  if (hasFocus == 'yes' && document.hidden) {
136
136
  slot_div.setAttribute('hasFocus', 'no');
137
137
  Beam.report_beam_ad('Click', main_16, cID, lID, campID, adSize, slotId);
138
- SegmentAPI.adClicked(domain, advertiserId, campID, cID, lID, adSize, isEmpty, sourceAgnosticCreativeId, sourceAgnosticLineItemId);
138
+ Segment.adClicked(domain, advertiserId, campID, cID, lID, adSize, isEmpty, sourceAgnosticCreativeId, sourceAgnosticLineItemId);
139
139
  }
140
140
  });
141
141
  } else {
@@ -29,7 +29,7 @@ import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-f1e40361
29
29
  import { _ as _JSON$stringify } from './stringify-e30bc114.js';
30
30
  import './asyncToGenerator-0379e924.js';
31
31
  import './_set-species-6f64f1c1.js';
32
- import './beam-e248fb74.js';
32
+ import './beam-dd2b10c0.js';
33
33
  import DFPAdSlot from './AdSlot.js';
34
34
  import './_arrayMap-a8dd2b2c.js';
35
35
  import { B as BlockContent } from './BlockContent-a614acdf.js';
@@ -37,17 +37,17 @@ import './smoothscroll-4b699764.js';
37
37
  import './GroupDeck.js';
38
38
  import 'react-bootstrap';
39
39
  import 'react-bootstrap/Button';
40
+ import getSerializers from './getSerializers.js';
41
+ import './util-7700fc59.js';
42
+ import './brightcove-react-player-loader.es-83f53e4e.js';
43
+ import 'react-bootstrap/Pagination';
44
+ import 'next/dynamic';
40
45
  import Head from 'next/head';
41
46
  import 'react-share';
42
47
  import SocialShare from './SocialShare.js';
43
48
  import { _ as _Object$keys } from './keys-04cdec91.js';
44
49
  import Dropdown from 'react-bootstrap/Dropdown';
45
- import './brightcove-react-player-loader.es-83f53e4e.js';
46
50
  import { I as InscreenSensor, i as includes_1 } from './InscreenSensor-67905ed5.js';
47
- import getSerializers from './getSerializers.js';
48
- import './util-7700fc59.js';
49
- import 'react-bootstrap/Pagination';
50
- import 'next/dynamic';
51
51
  import getKeywords from './getKeywords.js';
52
52
 
53
53
  var renderAuthor = function renderAuthor(authorName, authorURL, index, length) {
package/dist/esm/Beam.js CHANGED
@@ -7,4 +7,4 @@ import './web.dom.iterable-46c95e52.js';
7
7
  import './stringify-e30bc114.js';
8
8
  import './asyncToGenerator-0379e924.js';
9
9
  import './_set-species-6f64f1c1.js';
10
- export { B as default } from './beam-e248fb74.js';
10
+ export { B as default } from './beam-dd2b10c0.js';
@@ -12,7 +12,7 @@ import './isSymbol-c1b9be80.js';
12
12
  import './stringify-e30bc114.js';
13
13
  import './asyncToGenerator-0379e924.js';
14
14
  import './_set-species-6f64f1c1.js';
15
- import './beam-e248fb74.js';
15
+ import './beam-dd2b10c0.js';
16
16
  import './_arrayMap-a8dd2b2c.js';
17
17
  import './get-ae817b75.js';
18
18
  import './react-social-icons-a7d5c5c7.js';
@@ -16,7 +16,7 @@ import './slicedToArray-f1e40361.js';
16
16
  import './stringify-e30bc114.js';
17
17
  import './asyncToGenerator-0379e924.js';
18
18
  import './_set-species-6f64f1c1.js';
19
- import './beam-e248fb74.js';
19
+ import './beam-dd2b10c0.js';
20
20
  import './AdSlot.js';
21
21
  import './_arrayMap-a8dd2b2c.js';
22
22
  import './get-ae817b75.js';
@@ -34,9 +34,9 @@ import './slicedToArray-f1e40361.js';
34
34
  import './stringify-e30bc114.js';
35
35
  import './asyncToGenerator-0379e924.js';
36
36
  import './_set-species-6f64f1c1.js';
37
- import './beam-e248fb74.js';
37
+ import './beam-dd2b10c0.js';
38
38
  import './AdSlot.js';
39
- import { A as ADInfeed } from './ADInfeed-383c2123.js';
39
+ import { A as ADInfeed } from './ADInfeed-c651007e.js';
40
40
 
41
41
  var DeckContent = function (_React$Component) {
42
42
  _inherits(DeckContent, _React$Component);