@mjhls/mjh-framework 1.0.666-ad-update-v5 → 1.0.667

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 (146) hide show
  1. package/README.md +1 -1
  2. package/dist/cjs/AD.js +1 -1
  3. package/dist/cjs/AD300x250.js +3 -3
  4. package/dist/cjs/AD300x250x600.js +3 -3
  5. package/dist/cjs/AD728x90.js +4 -4
  6. package/dist/cjs/ADFloatingFooter.js +2 -2
  7. package/dist/cjs/ADGutter.js +2 -2
  8. package/dist/cjs/ADSkyscraper.js +2 -2
  9. package/dist/cjs/ADSponsoredResources.js +2 -2
  10. package/dist/cjs/ADWebcast.js +2 -2
  11. package/dist/cjs/ADWelcome.js +2 -2
  12. package/dist/cjs/AdSlot.js +2 -2
  13. package/dist/cjs/AdSlotsProvider.js +1 -1
  14. package/dist/cjs/ArticleCarousel.js +1 -1
  15. package/dist/cjs/ArticleSeriesListing.js +4 -4
  16. package/dist/cjs/Auth.js +506 -255
  17. package/dist/cjs/{BlockContent-80b15fac.js → BlockContent-88f69acd.js} +1 -1
  18. package/dist/cjs/CMEDeck.js +5 -5
  19. package/dist/cjs/Column3.js +4 -4
  20. package/dist/cjs/ConferenceArticleCard.js +2 -2
  21. package/dist/cjs/DeckContent.js +7 -7
  22. package/dist/cjs/DeckQueue.js +6 -6
  23. package/dist/cjs/{Dfp-390337bf.js → Dfp-b2bc3b97.js} +1 -1
  24. package/dist/cjs/EventsDeck.js +6 -14
  25. package/dist/cjs/ExternalResources.js +7 -7
  26. package/dist/cjs/Feature.js +3 -3
  27. package/dist/cjs/ForbesHero.js +2 -2
  28. package/dist/cjs/GridContent.js +11 -11
  29. package/dist/cjs/GridHero.js +2 -2
  30. package/dist/cjs/GroupDeck.js +1 -1
  31. package/dist/cjs/HamMagazine.js +4 -4
  32. package/dist/cjs/Hero.js +1 -1
  33. package/dist/cjs/HorizontalHero.js +2 -2
  34. package/dist/cjs/IssueContentDeck.js +2 -2
  35. package/dist/cjs/IssueDeck.js +2 -2
  36. package/dist/cjs/IssueLanding.js +8 -8
  37. package/dist/cjs/LeftNav.js +2 -2
  38. package/dist/cjs/MasterDeck.js +12 -24
  39. package/dist/cjs/NavMagazine.js +4 -4
  40. package/dist/cjs/NavNative.js +3 -3
  41. package/dist/cjs/OncliveHero.js +2 -2
  42. package/dist/cjs/OncliveLargeHero.js +2 -2
  43. package/dist/cjs/PartnerDetailListing.js +14 -1211
  44. package/dist/cjs/PublicationDeck.js +2 -2
  45. package/dist/cjs/QueueDeckExpanded.js +10 -10
  46. package/dist/cjs/RecentNews.js +2 -2
  47. package/dist/cjs/RelatedContent.js +2 -2
  48. package/dist/cjs/{SocialSearchComponent-81a50f81.js → SocialSearchComponent-962b1344.js} +5 -5
  49. package/dist/cjs/TaxonomyCard.js +2 -2
  50. package/dist/cjs/TemplateNormal.js +3 -3
  51. package/dist/cjs/ThumbnailCard.js +1 -1
  52. package/dist/cjs/Ustream.js +2 -2
  53. package/dist/cjs/VerticalHero.js +2 -2
  54. package/dist/cjs/VideoSeriesCard.js +2 -2
  55. package/dist/cjs/VideoSeriesListing.js +3 -3
  56. package/dist/cjs/View.js +15 -15
  57. package/dist/cjs/YahooHero.js +2 -2
  58. package/dist/cjs/YoutubeGroup.js +1 -1
  59. package/dist/cjs/getRelatedArticle.js +5 -354
  60. package/dist/cjs/getSerializers.js +6 -6
  61. package/dist/cjs/{index-099d45ae.js → index-2d0a4911.js} +4 -6
  62. package/dist/cjs/{index-3294d3bc.js → index-5be2866f.js} +1 -1
  63. package/dist/cjs/{index-0ba539e4.js → index-6f1ee5f0.js} +14 -14
  64. package/dist/cjs/{index-39beccb3.js → index-b5eb3ff8.js} +18 -18
  65. package/dist/cjs/{index.es-9110add6.js → index.es-ab3f2690.js} +3 -1
  66. package/dist/cjs/index.js +16 -15
  67. package/dist/cjs/{lodash-7fd85bcf.js → lodash-fc2922d0.js} +22 -71
  68. package/dist/cjs/{main-a4cb15bb.js → main-b6c96c8d.js} +67 -36
  69. package/dist/cjs/{moment-575fe24c.js → moment-66a6a284.js} +1 -1
  70. package/dist/cjs/urlFor.js +1 -1
  71. package/dist/esm/AD.js +1 -1
  72. package/dist/esm/AD300x250.js +3 -3
  73. package/dist/esm/AD300x250x600.js +3 -3
  74. package/dist/esm/AD728x90.js +4 -4
  75. package/dist/esm/ADFloatingFooter.js +2 -2
  76. package/dist/esm/ADGutter.js +2 -2
  77. package/dist/esm/ADSkyscraper.js +2 -2
  78. package/dist/esm/ADSponsoredResources.js +2 -2
  79. package/dist/esm/ADWebcast.js +2 -2
  80. package/dist/esm/ADWelcome.js +2 -2
  81. package/dist/esm/AdSlot.js +2 -2
  82. package/dist/esm/AdSlotsProvider.js +1 -1
  83. package/dist/esm/ArticleCarousel.js +1 -1
  84. package/dist/esm/ArticleSeriesListing.js +4 -4
  85. package/dist/esm/Auth.js +501 -250
  86. package/dist/esm/{BlockContent-c409aca5.js → BlockContent-a614acdf.js} +1 -1
  87. package/dist/esm/CMEDeck.js +5 -5
  88. package/dist/esm/Column3.js +4 -4
  89. package/dist/esm/ConferenceArticleCard.js +2 -2
  90. package/dist/esm/DeckContent.js +7 -7
  91. package/dist/esm/DeckQueue.js +6 -6
  92. package/dist/esm/{Dfp-741c01be.js → Dfp-8a8fca18.js} +1 -1
  93. package/dist/esm/EventsDeck.js +6 -14
  94. package/dist/esm/ExternalResources.js +7 -7
  95. package/dist/esm/Feature.js +3 -3
  96. package/dist/esm/ForbesHero.js +2 -2
  97. package/dist/esm/GridContent.js +11 -11
  98. package/dist/esm/GridHero.js +2 -2
  99. package/dist/esm/GroupDeck.js +1 -1
  100. package/dist/esm/HamMagazine.js +4 -4
  101. package/dist/esm/Hero.js +1 -1
  102. package/dist/esm/HorizontalHero.js +2 -2
  103. package/dist/esm/IssueContentDeck.js +2 -2
  104. package/dist/esm/IssueDeck.js +2 -2
  105. package/dist/esm/IssueLanding.js +8 -8
  106. package/dist/esm/LeftNav.js +2 -2
  107. package/dist/esm/MasterDeck.js +12 -24
  108. package/dist/esm/NavMagazine.js +4 -4
  109. package/dist/esm/NavNative.js +3 -3
  110. package/dist/esm/OncliveHero.js +2 -2
  111. package/dist/esm/OncliveLargeHero.js +2 -2
  112. package/dist/esm/PartnerDetailListing.js +14 -1210
  113. package/dist/esm/PublicationDeck.js +2 -2
  114. package/dist/esm/QueueDeckExpanded.js +10 -10
  115. package/dist/esm/RecentNews.js +2 -2
  116. package/dist/esm/RelatedContent.js +2 -2
  117. package/dist/esm/{SocialSearchComponent-55960ec4.js → SocialSearchComponent-75527dfe.js} +5 -5
  118. package/dist/esm/TaxonomyCard.js +2 -2
  119. package/dist/esm/TemplateNormal.js +3 -3
  120. package/dist/esm/ThumbnailCard.js +1 -1
  121. package/dist/esm/Ustream.js +2 -2
  122. package/dist/esm/VerticalHero.js +2 -2
  123. package/dist/esm/VideoSeriesCard.js +2 -2
  124. package/dist/esm/VideoSeriesListing.js +3 -3
  125. package/dist/esm/View.js +15 -15
  126. package/dist/esm/YahooHero.js +2 -2
  127. package/dist/esm/YoutubeGroup.js +1 -1
  128. package/dist/esm/getRelatedArticle.js +5 -354
  129. package/dist/esm/getSerializers.js +6 -6
  130. package/dist/esm/{index-26c19b64.js → index-3a33f7d6.js} +14 -14
  131. package/dist/esm/{index-3849e3fe.js → index-51a80699.js} +18 -18
  132. package/dist/esm/{index-3f4dd6f2.js → index-93ec3c59.js} +4 -6
  133. package/dist/esm/{index-ef6d5dcf.js → index-d2f90501.js} +1 -1
  134. package/dist/esm/{index.es-29c1cef5.js → index.es-938a3a58.js} +3 -1
  135. package/dist/esm/index.js +15 -14
  136. package/dist/esm/{lodash-ec8c6b48.js → lodash-17fdfebb.js} +22 -71
  137. package/dist/esm/{main-5d1e4bd3.js → main-0465b2a0.js} +65 -34
  138. package/dist/esm/{moment-e2f9b20c.js → moment-12415288.js} +1 -1
  139. package/dist/esm/urlFor.js +1 -1
  140. package/package.json +3 -3
  141. package/dist/cjs/index-bd6c9f56.js +0 -211
  142. package/dist/esm/index-db3bb315.js +0 -207
  143. /package/dist/cjs/{ADInfeed-61658341.js → ADInfeed-9735aff2.js} +0 -0
  144. /package/dist/cjs/{ADlgInfeed-61b2f7ae.js → ADlgInfeed-6bd11848.js} +0 -0
  145. /package/dist/esm/{ADInfeed-034c433d.js → ADInfeed-9140aa7d.js} +0 -0
  146. /package/dist/esm/{ADlgInfeed-0fb12879.js → ADlgInfeed-7656ecd1.js} +0 -0
@@ -14,30 +14,30 @@ import './web.dom.iterable-8956f9a5.js';
14
14
  import './typeof-08f2c380.js';
15
15
  import './_is-array-49698029.js';
16
16
  import React__default from 'react';
17
- import { l as lib_3 } from './index-3f4dd6f2.js';
17
+ import { l as lib_3 } from './index-93ec3c59.js';
18
18
  import 'prop-types';
19
19
  import Container from 'react-bootstrap/Container';
20
20
  import 'react-bootstrap/Row';
21
21
  import 'react-bootstrap/Col';
22
22
  import 'react-bootstrap/Card';
23
- import './moment-e2f9b20c.js';
23
+ import './moment-12415288.js';
24
24
  import { withRouter } from 'next/router';
25
25
  import './isSymbol-807e927e.js';
26
26
  import { d as debounce_1 } from './debounce-1a993acf.js';
27
- import { I as InfiniteScroll } from './index.es-29c1cef5.js';
27
+ import { I as InfiniteScroll } from './index.es-938a3a58.js';
28
28
  import 'react-dom';
29
29
  import { V as VisibilitySensor } from './visibility-sensor-0baa4eea.js';
30
- import './index-3849e3fe.js';
31
- import './main-5d1e4bd3.js';
30
+ import './index-51a80699.js';
31
+ import { m as main_39 } from './main-0465b2a0.js';
32
32
  import './stringify-008c8802.js';
33
33
  import './slicedToArray-7021e5df.js';
34
34
  import { _ as _Promise } from './asyncToGenerator-7c654f36.js';
35
35
  import './_set-species-cede29f8.js';
36
36
  import './beam-681a9749.js';
37
37
  import './AdSlot.js';
38
- import { A as ADInfeed } from './ADInfeed-034c433d.js';
39
- import { l as lodash } from './lodash-ec8c6b48.js';
40
- import { A as ADlgInfeed } from './ADlgInfeed-0fb12879.js';
38
+ import { A as ADInfeed } from './ADInfeed-9140aa7d.js';
39
+ import { l as lodash } from './lodash-17fdfebb.js';
40
+ import { A as ADlgInfeed } from './ADlgInfeed-7656ecd1.js';
41
41
 
42
42
  var MasterDeck = function (_React$Component) {
43
43
  _inherits(MasterDeck, _React$Component);
@@ -67,8 +67,7 @@ var MasterDeck = function (_React$Component) {
67
67
  currentPage: _this.props.currentPage || 1,
68
68
  dataRemapped: !_this.props.showBI || !_this.props.brandInsightAd,
69
69
  lastDataSize: _this.data ? _this.data.length : 0,
70
- itemsPerPage: _this.params ? _this.params.to - _this.params.from : 2,
71
- mobileView: false
70
+ itemsPerPage: _this.params ? _this.params.to - _this.params.from : 2
72
71
  }, _this.loadMore = debounce_1(function () {
73
72
  _this.setState(function (state) {
74
73
  var page = state.page,
@@ -141,6 +140,7 @@ var MasterDeck = function (_React$Component) {
141
140
  });
142
141
  }
143
142
  }, _this.checkMoreDataAvailable = function () {
143
+ debugger;
144
144
  var _this$state2 = _this.state,
145
145
  from = _this$state2.from,
146
146
  itemsPerPage = _this$state2.itemsPerPage,
@@ -343,7 +343,7 @@ var MasterDeck = function (_React$Component) {
343
343
  React__default.Fragment,
344
344
  { key: index },
345
345
  React__default.createElement(_this2.Deck, { data: row, variant: variant, index: index, client: _this.props.client, defaultImage: _this.defaultImage }),
346
- _this.state.mobileView && _this.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && React__default.createElement(
346
+ main_39 && _this.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && React__default.createElement(
347
347
  'div',
348
348
  { className: 'ad-container', style: { margin: '0 auto' } },
349
349
  _this.renderMobileAd(index, numberOfItemsBeforeAd, _this.rightItems)
@@ -443,10 +443,6 @@ var MasterDeck = function (_React$Component) {
443
443
  if (typeof window !== 'undefined' && (!this.props.lgInfeedAd || !this.props.brandInsightAd || window.innerWidth < 1400) && !this.state.dataRemapped) {
444
444
  !this.state.dataRemapped && this.setState({ dataRemapped: true });
445
445
  }
446
-
447
- if (typeof window !== 'undefined' && window.innerWidth <= 1191) {
448
- !this.state.mobileView && this.setState({ mobileView: true });
449
- }
450
446
  }
451
447
  }, {
452
448
  key: 'componentDidMount',
@@ -507,7 +503,7 @@ var MasterDeck = function (_React$Component) {
507
503
  React__default.createElement(
508
504
  'div',
509
505
  { style: { padding: '0px 10px' } },
510
- this.state.scrolling ? React__default.createElement(
506
+ this.state.scrolling && React__default.createElement(
511
507
  'button',
512
508
  {
513
509
  className: 'btn',
@@ -525,14 +521,6 @@ var MasterDeck = function (_React$Component) {
525
521
  _this3.loadMore();
526
522
  } },
527
523
  'Load More'
528
- ) : React__default.createElement(
529
- 'p',
530
- { style: { textAlign: 'center' } },
531
- React__default.createElement(
532
- 'b',
533
- null,
534
- 'End of data'
535
- )
536
524
  )
537
525
  ),
538
526
  React__default.createElement(
@@ -8,7 +8,7 @@ import './web.dom.iterable-8956f9a5.js';
8
8
  import React__default, { useRef, useState, useEffect } from 'react';
9
9
  import 'prop-types';
10
10
  import Container from 'react-bootstrap/Container';
11
- import { a as main_37 } from './main-5d1e4bd3.js';
11
+ import { a as main_40 } from './main-0465b2a0.js';
12
12
  import './stringify-008c8802.js';
13
13
  import { _ as _slicedToArray } from './slicedToArray-7021e5df.js';
14
14
  import './asyncToGenerator-7c654f36.js';
@@ -27,7 +27,7 @@ import { N as NavFooter } from './NavFooter-e27bd93b.js';
27
27
  import { S as SocialNavFooter } from './index.esm-73e847d2.js';
28
28
  import './SocialIcons.js';
29
29
  import 'react-bootstrap/FormControl';
30
- import { S as SocialSearchComponent } from './SocialSearchComponent-55960ec4.js';
30
+ import { S as SocialSearchComponent } from './SocialSearchComponent-75527dfe.js';
31
31
 
32
32
  var NavMagazine = function NavMagazine(props) {
33
33
  /*
@@ -307,7 +307,7 @@ var NavMagazine = function NavMagazine(props) {
307
307
  {
308
308
  id: 'navbar-ham',
309
309
  style: { width: '100%', display: 'flex', top: topOffset, overflow: 'auto', zIndex: '999999' },
310
- className: main_37 ? 'bottom-nav ios-nav' : 'bottom-nav ',
310
+ className: main_40 ? 'bottom-nav ios-nav' : 'bottom-nav ',
311
311
  variant: 'dark',
312
312
  expand: 'xl',
313
313
  bg: 'primary',
@@ -323,7 +323,7 @@ var NavMagazine = function NavMagazine(props) {
323
323
  'aria-controls': 'basic-navbar-nav',
324
324
  onClick: function onClick() {
325
325
  // Set overflow fix for iPhones safari browsers
326
- if (main_37) {
326
+ if (main_40) {
327
327
  var mainNav = document.querySelector('#navbar-ham');
328
328
  if (mainNav && mainNav.style) mainNav.style.overflow = 'auto';
329
329
  }
@@ -8,7 +8,7 @@ import './web.dom.iterable-8956f9a5.js';
8
8
  import React__default, { useRef, useState, useEffect } from 'react';
9
9
  import 'prop-types';
10
10
  import Container from 'react-bootstrap/Container';
11
- import { a as main_37 } from './main-5d1e4bd3.js';
11
+ import { a as main_40 } from './main-0465b2a0.js';
12
12
  import './stringify-008c8802.js';
13
13
  import { _ as _slicedToArray } from './slicedToArray-7021e5df.js';
14
14
  import './asyncToGenerator-7c654f36.js';
@@ -252,13 +252,13 @@ var NavNative = function NavNative(props) {
252
252
  React__default.createElement(
253
253
  Navbar,
254
254
  {
255
- className: main_37 ? 'bottom-nav ios-nav' : 'bottom-nav android-nav',
255
+ className: main_40 ? 'bottom-nav ios-nav' : 'bottom-nav android-nav',
256
256
  variant: 'dark',
257
257
  expand: 'lg',
258
258
  bg: 'primary',
259
259
  sticky: 'top',
260
260
  ref: navRef,
261
- style: { minHeight: '65px', overflow: '' + (main_37 ? 'auto' : '') } },
261
+ style: { minHeight: '65px', overflow: '' + (main_40 ? 'auto' : '') } },
262
262
  React__default.createElement(
263
263
  Container,
264
264
  { style: { maxHeight: '80vh' }, className: 'mobile-nav' },
@@ -1,7 +1,7 @@
1
1
  import './_commonjsHelpers-0c4b6f40.js';
2
2
  import React__default from 'react';
3
- import { m as moment } from './moment-e2f9b20c.js';
4
- import { i as imageUrlBuilder } from './index-3849e3fe.js';
3
+ import { m as moment } from './moment-12415288.js';
4
+ import { i as imageUrlBuilder } from './index-51a80699.js';
5
5
  import './iconBase-602d52fe.js';
6
6
  import 'react-bootstrap/Badge';
7
7
  import './index.esm-cf08bf18.js';
@@ -5,9 +5,9 @@ import './core.get-iterator-method-54d2e411.js';
5
5
  import './web.dom.iterable-8956f9a5.js';
6
6
  import React__default from 'react';
7
7
  import 'prop-types';
8
- import { m as moment } from './moment-e2f9b20c.js';
8
+ import { m as moment } from './moment-12415288.js';
9
9
  import 'react-dom';
10
- import { i as imageUrlBuilder } from './index-3849e3fe.js';
10
+ import { i as imageUrlBuilder } from './index-51a80699.js';
11
11
  import { L as LazyLoad } from './index-5f9f807a.js';
12
12
  import { c as clean_html_1 } from './entities-7cc3bf45.js';
13
13
  import './slicedToArray-7021e5df.js';