@mjhls/mjh-framework 1.0.534 → 1.0.535

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 (148) hide show
  1. package/README.md +172 -172
  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 +5 -5
  7. package/dist/cjs/ADGutter.js +2 -2
  8. package/dist/cjs/ADSponsoredResources.js +2 -2
  9. package/dist/cjs/ADWebcast.js +2 -2
  10. package/dist/cjs/ADWelcome.js +2 -2
  11. package/dist/cjs/AdSlot.js +2 -2
  12. package/dist/cjs/AdSlotsProvider.js +1 -1
  13. package/dist/cjs/ArticleQueue.js +10 -11
  14. package/dist/cjs/Auth.js +301 -250
  15. package/dist/cjs/{BlockContent-77f81ffc.js → BlockContent-f942392e.js} +1 -1
  16. package/dist/cjs/CMEDeck.js +5 -5
  17. package/dist/cjs/Column3.js +4 -4
  18. package/dist/cjs/ConferenceArticleCard.js +17 -17
  19. package/dist/cjs/DeckContent.js +15 -15
  20. package/dist/cjs/DeckQueue.js +6 -6
  21. package/dist/cjs/{Dfp-fcdeabc4.js → Dfp-fbe32b96.js} +1 -1
  22. package/dist/cjs/EventsDeck.js +22 -22
  23. package/dist/cjs/ExternalResources.js +6 -7
  24. package/dist/cjs/Feature.js +3 -3
  25. package/dist/cjs/ForbesHero.js +2 -2
  26. package/dist/cjs/GridContent.js +10 -10
  27. package/dist/cjs/GridHero.js +2 -2
  28. package/dist/cjs/GroupDeck.js +5 -5
  29. package/dist/cjs/HamMagazine.js +11 -11
  30. package/dist/cjs/Hero.js +1 -1
  31. package/dist/cjs/HorizontalHero.js +2 -2
  32. package/dist/cjs/IssueContentDeck.js +2 -2
  33. package/dist/cjs/IssueDeck.js +2 -2
  34. package/dist/cjs/IssueLanding.js +36 -36
  35. package/dist/cjs/KMTracker.js +15 -15
  36. package/dist/cjs/LeftNav.js +2 -2
  37. package/dist/cjs/MasterDeck.js +16 -16
  38. package/dist/cjs/NavMagazine.js +12 -12
  39. package/dist/cjs/NavNative.js +11 -11
  40. package/dist/cjs/OncliveHero.js +2 -2
  41. package/dist/cjs/OncliveLargeHero.js +2 -2
  42. package/dist/cjs/PartnerDetailListing.js +14 -1211
  43. package/dist/cjs/PublicationDeck.js +1 -1
  44. package/dist/cjs/PublicationLanding.js +33 -33
  45. package/dist/cjs/QueueDeckExpanded.js +9 -9
  46. package/dist/cjs/RelatedContent.js +30 -30
  47. package/dist/cjs/RelatedTopicsDropdown.js +10 -10
  48. package/dist/cjs/SideFooter.js +2 -2
  49. package/dist/cjs/TaxonomyCard.js +2 -2
  50. package/dist/cjs/TemplateNormal.js +2 -2
  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/VideoSeriesFilter.js +1 -1
  55. package/dist/cjs/VideoSeriesListing.js +4 -4
  56. package/dist/cjs/View.js +38 -39
  57. package/dist/cjs/YahooHero.js +2 -2
  58. package/dist/cjs/YoutubeGroup.js +5 -5
  59. package/dist/cjs/getQuery.js +1 -1
  60. package/dist/cjs/getRelatedArticle.js +1 -1
  61. package/dist/cjs/getSerializers.js +589 -443
  62. package/dist/cjs/{getTargeting-3d208b98.js → getTargeting-b15993cb.js} +11 -11
  63. package/dist/cjs/getTargeting.js +1 -1
  64. package/dist/cjs/{index-3294d3bc.js → index-5be2866f.js} +1 -1
  65. package/dist/cjs/{index-be0c82be.js → index-b5eb3ff8.js} +20 -19
  66. package/dist/cjs/{index-fa3cec70.js → index-f7ee1612.js} +4 -6
  67. package/dist/cjs/{index.es-9110add6.js → index.es-ab3f2690.js} +3 -1
  68. package/dist/cjs/index.js +11 -11
  69. package/dist/cjs/{main-88348b15.js → main-bc4db521.js} +66 -35
  70. package/dist/cjs/{moment-575fe24c.js → moment-66a6a284.js} +1 -1
  71. package/dist/cjs/urlFor.js +2 -2
  72. package/dist/esm/AD.js +1 -1
  73. package/dist/esm/AD300x250.js +3 -3
  74. package/dist/esm/AD300x250x600.js +3 -3
  75. package/dist/esm/AD728x90.js +4 -4
  76. package/dist/esm/ADFloatingFooter.js +5 -5
  77. package/dist/esm/ADGutter.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/ArticleQueue.js +10 -11
  84. package/dist/esm/Auth.js +298 -247
  85. package/dist/esm/{BlockContent-e9b4ddcf.js → BlockContent-a614acdf.js} +1 -1
  86. package/dist/esm/CMEDeck.js +5 -5
  87. package/dist/esm/Column3.js +4 -4
  88. package/dist/esm/ConferenceArticleCard.js +17 -17
  89. package/dist/esm/DeckContent.js +15 -15
  90. package/dist/esm/DeckQueue.js +6 -6
  91. package/dist/esm/{Dfp-81a052c2.js → Dfp-ae9336e2.js} +1 -1
  92. package/dist/esm/EventsDeck.js +22 -22
  93. package/dist/esm/ExternalResources.js +6 -7
  94. package/dist/esm/Feature.js +3 -3
  95. package/dist/esm/ForbesHero.js +2 -2
  96. package/dist/esm/GridContent.js +10 -10
  97. package/dist/esm/GridHero.js +2 -2
  98. package/dist/esm/GroupDeck.js +5 -5
  99. package/dist/esm/HamMagazine.js +11 -11
  100. package/dist/esm/Hero.js +1 -1
  101. package/dist/esm/HorizontalHero.js +2 -2
  102. package/dist/esm/IssueContentDeck.js +2 -2
  103. package/dist/esm/IssueDeck.js +2 -2
  104. package/dist/esm/IssueLanding.js +36 -36
  105. package/dist/esm/KMTracker.js +15 -15
  106. package/dist/esm/LeftNav.js +2 -2
  107. package/dist/esm/MasterDeck.js +16 -16
  108. package/dist/esm/NavMagazine.js +12 -12
  109. package/dist/esm/NavNative.js +11 -11
  110. package/dist/esm/OncliveHero.js +2 -2
  111. package/dist/esm/OncliveLargeHero.js +2 -2
  112. package/dist/esm/PartnerDetailListing.js +12 -1209
  113. package/dist/esm/PublicationDeck.js +1 -1
  114. package/dist/esm/PublicationLanding.js +33 -33
  115. package/dist/esm/QueueDeckExpanded.js +9 -9
  116. package/dist/esm/RelatedContent.js +30 -30
  117. package/dist/esm/RelatedTopicsDropdown.js +10 -10
  118. package/dist/esm/SideFooter.js +2 -2
  119. package/dist/esm/TaxonomyCard.js +2 -2
  120. package/dist/esm/TemplateNormal.js +2 -2
  121. package/dist/esm/ThumbnailCard.js +1 -1
  122. package/dist/esm/Ustream.js +2 -2
  123. package/dist/esm/VerticalHero.js +2 -2
  124. package/dist/esm/VideoSeriesFilter.js +1 -1
  125. package/dist/esm/VideoSeriesListing.js +4 -4
  126. package/dist/esm/View.js +13 -14
  127. package/dist/esm/YahooHero.js +2 -2
  128. package/dist/esm/YoutubeGroup.js +5 -5
  129. package/dist/esm/getQuery.js +1 -1
  130. package/dist/esm/getRelatedArticle.js +1 -1
  131. package/dist/esm/getSerializers.js +589 -443
  132. package/dist/esm/{getTargeting-1f2c61e3.js → getTargeting-1a0bd08d.js} +9 -9
  133. package/dist/esm/getTargeting.js +1 -1
  134. package/dist/esm/{index-73819142.js → index-51a80699.js} +20 -19
  135. package/dist/esm/{index-3f4dd6f2.js → index-93ec3c59.js} +4 -6
  136. package/dist/esm/{index-ef6d5dcf.js → index-d2f90501.js} +1 -1
  137. package/dist/esm/{index.es-29c1cef5.js → index.es-938a3a58.js} +3 -1
  138. package/dist/esm/index.js +11 -11
  139. package/dist/esm/{main-d7ee6151.js → main-7255814e.js} +65 -34
  140. package/dist/esm/{moment-e2f9b20c.js → moment-12415288.js} +1 -1
  141. package/dist/esm/urlFor.js +2 -2
  142. package/package.json +107 -107
  143. package/dist/cjs/Figure-eeac313a.js +0 -154
  144. package/dist/esm/Figure-bc2b95d7.js +0 -149
  145. /package/dist/cjs/{ADInfeed-d8e47444.js → ADInfeed-3404200f.js} +0 -0
  146. /package/dist/cjs/{ADlgInfeed-947c3a47.js → ADlgInfeed-2611e1a9.js} +0 -0
  147. /package/dist/esm/{ADInfeed-2eb234ae.js → ADInfeed-27674dc6.js} +0 -0
  148. /package/dist/esm/{ADlgInfeed-17c13711.js → ADlgInfeed-43060a77.js} +0 -0
@@ -1,25 +1,25 @@
1
1
  var KMTracker = function KMTracker(props) {
2
- var id = props.id;
2
+ var id = props.id;
3
3
 
4
- if (document && id) {
4
+ if (document && id) {
5
5
  (function () {
6
- var ecnJquery = document.createElement('script');
6
+ var ecnJquery = document.createElement('script');
7
7
 
8
- ecnJquery.type = 'text/javascript';
9
- ecnJquery.async = true;
10
- ecnJquery.src = 'https://apidt.ecn5.com/ECN_jQuery.min.js';
8
+ ecnJquery.type = 'text/javascript';
9
+ ecnJquery.async = true;
10
+ ecnJquery.src = 'https://apidt.ecn5.com/ECN_jQuery.min.js';
11
11
 
12
- var ecnScript = document.createElement('script');
12
+ var ecnScript = document.createElement('script');
13
13
 
14
- ecnScript.type = 'text/javascript';
15
- ecnScript.async = true;
16
- ecnScript.id = 'km-tracker';
17
- ecnScript.src = 'https://apidt.ecn5.com/ECN_tracker_Secure.js?TrackerKey=' + id;
14
+ ecnScript.type = 'text/javascript';
15
+ ecnScript.async = true;
16
+ ecnScript.id = 'km-tracker';
17
+ ecnScript.src = 'https://apidt.ecn5.com/ECN_tracker_Secure.js?TrackerKey=' + id;
18
18
 
19
- document.head.appendChild(ecnJquery);
20
- document.head.appendChild(ecnScript);
21
- })();
22
- }
19
+ document.head.appendChild(ecnJquery);
20
+ document.head.appendChild(ecnScript);
21
+ })();
22
+ }
23
23
  };
24
24
 
25
25
  export default KMTracker;
@@ -5,11 +5,11 @@ import './_library-528f1934.js';
5
5
  import './_iter-detect-6e099a34.js';
6
6
  import './web.dom.iterable-46c95e52.js';
7
7
  import React__default, { useRef, useEffect } from 'react';
8
- import './index-3f4dd6f2.js';
8
+ import './index-93ec3c59.js';
9
9
  import 'prop-types';
10
10
  import './isSymbol-b7b7434f.js';
11
11
  import './debounce-048d9cb6.js';
12
- import './main-d7ee6151.js';
12
+ import './main-7255814e.js';
13
13
  import './slicedToArray-f1e40361.js';
14
14
  import './stringify-e30bc114.js';
15
15
  import './asyncToGenerator-0379e924.js';
@@ -13,30 +13,30 @@ import './web.dom.iterable-46c95e52.js';
13
13
  import './typeof-5f046efd.js';
14
14
  import './_is-array-dd5523d6.js';
15
15
  import React__default from 'react';
16
- import { l as lib_3 } from './index-3f4dd6f2.js';
16
+ import { l as lib_3 } from './index-93ec3c59.js';
17
17
  import 'prop-types';
18
18
  import Container from 'react-bootstrap/Container';
19
19
  import 'react-bootstrap/Row';
20
20
  import 'react-bootstrap/Col';
21
21
  import 'react-bootstrap/Card';
22
- import './moment-e2f9b20c.js';
22
+ import './moment-12415288.js';
23
23
  import { withRouter } from 'next/router';
24
24
  import './isSymbol-b7b7434f.js';
25
25
  import { d as debounce_1 } from './debounce-048d9cb6.js';
26
- import { I as InfiniteScroll } from './index.es-29c1cef5.js';
26
+ import { I as InfiniteScroll } from './index.es-938a3a58.js';
27
27
  import 'react-dom';
28
28
  import { V as VisibilitySensor } from './visibility-sensor-0baa4eea.js';
29
- import './index-73819142.js';
30
- import { m as main_36 } from './main-d7ee6151.js';
29
+ import './index-51a80699.js';
30
+ import { m as main_39 } from './main-7255814e.js';
31
31
  import './slicedToArray-f1e40361.js';
32
32
  import './stringify-e30bc114.js';
33
33
  import { _ as _Promise } from './asyncToGenerator-0379e924.js';
34
34
  import './_set-species-6f64f1c1.js';
35
35
  import './beam-a25bd8fd.js';
36
36
  import './AdSlot.js';
37
- import { A as ADInfeed } from './ADInfeed-2eb234ae.js';
37
+ import { A as ADInfeed } from './ADInfeed-27674dc6.js';
38
38
  import { l as lodash } from './lodash-17fdfebb.js';
39
- import { A as ADlgInfeed } from './ADlgInfeed-17c13711.js';
39
+ import { A as ADlgInfeed } from './ADlgInfeed-43060a77.js';
40
40
 
41
41
  var MasterDeck = function (_React$Component) {
42
42
  _inherits(MasterDeck, _React$Component);
@@ -188,14 +188,14 @@ var MasterDeck = function (_React$Component) {
188
188
  }
189
189
 
190
190
  // please leave this for later debug purpose : Yong Jun.
191
- /* console.log('page change reported', {
192
- currentPage: currentPage,
193
- pageNumber: pageNumber,
194
- pathname: pathname,
195
- path: path,
196
- newPath: newPath,
197
- firstPage: pageNumber === 1,
198
- queryString: queryString
191
+ /* console.log('page change reported', {
192
+ currentPage: currentPage,
193
+ pageNumber: pageNumber,
194
+ pathname: pathname,
195
+ path: path,
196
+ newPath: newPath,
197
+ firstPage: pageNumber === 1,
198
+ queryString: queryString
199
199
  }) */
200
200
 
201
201
  if (pageview) {
@@ -320,7 +320,7 @@ var MasterDeck = function (_React$Component) {
320
320
  React__default.Fragment,
321
321
  { key: index },
322
322
  React__default.createElement(_this2.Deck, { data: row, variant: variant, index: index, client: _this.props.client, defaultImage: _this.defaultImage }),
323
- main_36 && _this.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && React__default.createElement(
323
+ main_39 && _this.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && React__default.createElement(
324
324
  'div',
325
325
  { className: 'ad-container', style: { margin: '0 auto' } },
326
326
  _this.renderMobileAd(index, numberOfItemsBeforeAd, _this.rightItems)
@@ -7,7 +7,7 @@ import './web.dom.iterable-46c95e52.js';
7
7
  import React__default, { useRef, useState, useEffect } from 'react';
8
8
  import 'prop-types';
9
9
  import Container from 'react-bootstrap/Container';
10
- import { a as main_37 } from './main-d7ee6151.js';
10
+ import { a as main_40 } from './main-7255814e.js';
11
11
  import { _ as _slicedToArray } from './slicedToArray-f1e40361.js';
12
12
  import './stringify-e30bc114.js';
13
13
  import './asyncToGenerator-0379e924.js';
@@ -28,16 +28,16 @@ import { N as NavFooter } from './NavFooter-e27bd93b.js';
28
28
  import { S as SocialNavFooter } from './SocialNavFooter-4fb16720.js';
29
29
 
30
30
  var NavMagazine = function NavMagazine(props) {
31
- /*
32
- Example Nav with acceptable props
33
- <MagazineNav
34
- showLogin
35
- user={props.cache.user}
36
- logo={props.settings.logo}
37
- dataObject={props.cache.mainNavCache}
38
- website={website}
39
- subNav={props.cache.subNavCache}
40
- />
31
+ /*
32
+ Example Nav with acceptable props
33
+ <MagazineNav
34
+ showLogin
35
+ user={props.cache.user}
36
+ logo={props.settings.logo}
37
+ dataObject={props.cache.mainNavCache}
38
+ website={website}
39
+ subNav={props.cache.subNavCache}
40
+ />
41
41
  */
42
42
 
43
43
  var logo = props.logo,
@@ -237,7 +237,7 @@ var NavMagazine = function NavMagazine(props) {
237
237
  ),
238
238
  React__default.createElement(
239
239
  Navbar,
240
- { id: 'navbar-ham', className: main_37 ? 'bottom-nav ios-nav' : 'bottom-nav ', variant: 'dark', expand: 'xl', bg: 'primary', sticky: 'top', ref: navRef },
240
+ { id: 'navbar-ham', className: main_40 ? 'bottom-nav ios-nav' : 'bottom-nav ', variant: 'dark', expand: 'xl', bg: 'primary', sticky: 'top', ref: navRef },
241
241
  React__default.createElement(
242
242
  Container,
243
243
  { className: 'mobile-nav android-nav' },
@@ -7,7 +7,7 @@ import './web.dom.iterable-46c95e52.js';
7
7
  import React__default, { useRef, useState, useEffect } from 'react';
8
8
  import 'prop-types';
9
9
  import Container from 'react-bootstrap/Container';
10
- import { a as main_37 } from './main-d7ee6151.js';
10
+ import { a as main_40 } from './main-7255814e.js';
11
11
  import { _ as _slicedToArray } from './slicedToArray-f1e40361.js';
12
12
  import './stringify-e30bc114.js';
13
13
  import './asyncToGenerator-0379e924.js';
@@ -25,15 +25,15 @@ import { N as NavFooter } from './NavFooter-e27bd93b.js';
25
25
  import { S as SocialNavFooter } from './SocialNavFooter-4fb16720.js';
26
26
 
27
27
  var NavNative = function NavNative(props) {
28
- /*
29
- Example Nav with acceptable props
30
- <MagazineNav
31
- showLogin
32
- logo={props.settings.logo}
33
- dataObject={props.cache.mainNavCache}
34
- website={website}
35
- subNav={props.cache.subNavCache}
36
- />
28
+ /*
29
+ Example Nav with acceptable props
30
+ <MagazineNav
31
+ showLogin
32
+ logo={props.settings.logo}
33
+ dataObject={props.cache.mainNavCache}
34
+ website={website}
35
+ subNav={props.cache.subNavCache}
36
+ />
37
37
  */
38
38
 
39
39
  var logo = props.logo,
@@ -87,7 +87,7 @@ var NavNative = function NavNative(props) {
87
87
  React__default.createElement(
88
88
  Navbar,
89
89
  {
90
- className: main_37 ? 'bottom-nav ios-nav' : 'bottom-nav android-nav',
90
+ className: main_40 ? 'bottom-nav ios-nav' : 'bottom-nav android-nav',
91
91
  variant: 'dark',
92
92
  expand: 'lg',
93
93
  bg: 'primary',
@@ -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-73819142.js';
3
+ import { m as moment } from './moment-12415288.js';
4
+ import { i as imageUrlBuilder } from './index-51a80699.js';
5
5
  import './iconBase-6ee2f2fb.js';
6
6
  import 'react-bootstrap/Badge';
7
7
  import './index.esm-a7ad65ba.js';
@@ -4,9 +4,9 @@ import './core.get-iterator-method-f5c0d66a.js';
4
4
  import './web.dom.iterable-46c95e52.js';
5
5
  import React__default from 'react';
6
6
  import 'prop-types';
7
- import { m as moment } from './moment-e2f9b20c.js';
7
+ import { m as moment } from './moment-12415288.js';
8
8
  import 'react-dom';
9
- import { i as imageUrlBuilder } from './index-73819142.js';
9
+ import { i as imageUrlBuilder } from './index-51a80699.js';
10
10
  import { L as LazyLoad } from './index-5f9f807a.js';
11
11
  import { c as clean_html_1 } from './entities-7cc3bf45.js';
12
12
  import './slicedToArray-f1e40361.js';