@mjhls/mjh-framework 1.0.939-disable-episode-number-v3 → 1.0.939-image-width-v1

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 (153) hide show
  1. package/README.md +168 -168
  2. package/dist/cjs/AlgoliaSearch.js +5 -11
  3. package/dist/cjs/Auth.js +17 -20
  4. package/dist/cjs/AuthWrapper.js +13 -19
  5. package/dist/cjs/CMEDeck.js +1 -5
  6. package/dist/cjs/Column1.js +1 -1
  7. package/dist/cjs/Column2.js +1 -1
  8. package/dist/cjs/Column3.js +1 -1
  9. package/dist/cjs/ConferenceArticleCard.js +15 -15
  10. package/dist/cjs/DeckContent.js +44 -13
  11. package/dist/cjs/Dfp-9be904d5.js +1 -1
  12. package/dist/cjs/EventsDeck.js +17 -17
  13. package/dist/cjs/HamMagazine.js +10 -10
  14. package/dist/cjs/Header.js +1 -1
  15. package/dist/cjs/IssueLanding.js +29 -29
  16. package/dist/cjs/KMTracker.js +15 -15
  17. package/dist/cjs/LeftNav.js +1 -1
  18. package/dist/cjs/MasterDeck.js +10 -10
  19. package/dist/cjs/MasterDeckPaginated.js +8 -8
  20. package/dist/cjs/{MediaSeriesCard-0c0fa2c6.js → MediaSeriesCard-cc5aa886.js} +43 -65
  21. package/dist/cjs/MediaSeriesLanding.js +6 -6
  22. package/dist/cjs/MediaSeriesLandingPaginated.js +6 -6
  23. package/dist/cjs/NavDvm.js +1 -1
  24. package/dist/cjs/NavMagazine.js +11 -11
  25. package/dist/cjs/NavNative.js +10 -10
  26. package/dist/cjs/PublicationLanding.js +26 -26
  27. package/dist/cjs/RelatedContent.js +28 -28
  28. package/dist/cjs/RelatedTopicsDropdown.js +10 -10
  29. package/dist/cjs/SeriesListingDeck.js +1 -1
  30. package/dist/cjs/{SeriesSlider-ba0c5d1a.js → SeriesSlider-de93a303.js} +4 -4
  31. package/dist/cjs/SideFooter.js +2 -2
  32. package/dist/cjs/VideoSeriesCard.js +1 -1
  33. package/dist/cjs/View.js +21 -34
  34. package/dist/cjs/YoutubeGroup.js +4 -4
  35. package/dist/cjs/getQuery.js +1 -1
  36. package/dist/cjs/{getTargeting-3c5754ac.js → getTargeting-dab97fe1.js} +9 -9
  37. package/dist/cjs/getTargeting.js +1 -1
  38. package/dist/cjs/index.js +2 -2
  39. package/dist/cjs/ustream-api-3819e4aa.js +1 -1
  40. package/dist/esm/AD.js +1 -1
  41. package/dist/esm/AD300x250.js +1 -1
  42. package/dist/esm/AD300x250x600.js +1 -1
  43. package/dist/esm/AD728x90.js +1 -1
  44. package/dist/esm/ADFloatingFooter.js +1 -1
  45. package/dist/esm/ADFooter.js +1 -1
  46. package/dist/esm/ADGutter.js +1 -1
  47. package/dist/esm/ADSkyscraper.js +1 -1
  48. package/dist/esm/ADSponsoredResources.js +1 -1
  49. package/dist/esm/ADWebcast.js +1 -1
  50. package/dist/esm/ADWelcome.js +1 -1
  51. package/dist/esm/AccordionPanel.js +1 -1
  52. package/dist/esm/AdSlot.js +1 -1
  53. package/dist/esm/AdSlotsProvider.js +1 -1
  54. package/dist/esm/AlgoliaSearch.js +6 -12
  55. package/dist/esm/AlphabeticList.js +1 -1
  56. package/dist/esm/ArticleCarousel.js +1 -1
  57. package/dist/esm/ArticleProgramLandingPage.js +1 -1
  58. package/dist/esm/ArticleSeriesLandingPage.js +1 -1
  59. package/dist/esm/ArticleSeriesListing.js +1 -1
  60. package/dist/esm/Auth.js +18 -20
  61. package/dist/esm/AuthWrapper.js +14 -20
  62. package/dist/esm/Beam.js +1 -1
  63. package/dist/esm/Breadcrumbs.js +1 -1
  64. package/dist/esm/CMEDeck.js +2 -6
  65. package/dist/esm/Column1.js +2 -1
  66. package/dist/esm/Column2.js +2 -1
  67. package/dist/esm/Column3.js +2 -1
  68. package/dist/esm/ConferenceArticleCard.js +16 -16
  69. package/dist/esm/ContentCardPaginated.js +1 -1
  70. package/dist/esm/DeckContent.js +45 -14
  71. package/dist/esm/DeckQueue.js +1 -1
  72. package/dist/esm/DeckQueuePaginated.js +1 -1
  73. package/dist/esm/Dfp-102f0beb.js +1 -1
  74. package/dist/esm/EventsDeck.js +18 -18
  75. package/dist/esm/ExternalResources.js +1 -1
  76. package/dist/esm/Feature.js +1 -1
  77. package/dist/esm/ForbesHero.js +1 -1
  78. package/dist/esm/GridContent.js +1 -1
  79. package/dist/esm/GridContentPaginated.js +1 -1
  80. package/dist/esm/GridHero.js +1 -1
  81. package/dist/esm/GroupDeck.js +1 -1
  82. package/dist/esm/HamMagazine.js +11 -10
  83. package/dist/esm/Header.js +2 -1
  84. package/dist/esm/Hero.js +1 -1
  85. package/dist/esm/HighlightenVideo.js +1 -1
  86. package/dist/esm/HorizontalArticleListing.js +1 -1
  87. package/dist/esm/HorizontalHero.js +1 -1
  88. package/dist/esm/IssueContentDeck.js +1 -1
  89. package/dist/esm/IssueDeck.js +1 -1
  90. package/dist/esm/IssueLanding.js +30 -30
  91. package/dist/esm/KMTracker.js +16 -16
  92. package/dist/esm/LeftNav.js +2 -1
  93. package/dist/esm/MasterDeck.js +11 -11
  94. package/dist/esm/MasterDeckPaginated.js +9 -9
  95. package/dist/esm/{MediaSeriesCard-4c6c664c.js → MediaSeriesCard-2dc3c439.js} +43 -65
  96. package/dist/esm/MediaSeriesLanding.js +7 -7
  97. package/dist/esm/MediaSeriesLandingPaginated.js +7 -7
  98. package/dist/esm/NavDvm.js +2 -1
  99. package/dist/esm/NavMagazine.js +12 -11
  100. package/dist/esm/NavNative.js +11 -10
  101. package/dist/esm/OncliveHero.js +1 -1
  102. package/dist/esm/OncliveLargeHero.js +1 -1
  103. package/dist/esm/PageFilter.js +1 -1
  104. package/dist/esm/PartnerDetailListing.js +1 -1
  105. package/dist/esm/PartnerDetailListingPaginated.js +1 -1
  106. package/dist/esm/PdfDownload.js +1 -1
  107. package/dist/esm/PopUpModal.js +1 -1
  108. package/dist/esm/PubSection.js +1 -1
  109. package/dist/esm/PubToc.js +1 -1
  110. package/dist/esm/PublicationDeck.js +1 -1
  111. package/dist/esm/PublicationLanding.js +27 -27
  112. package/dist/esm/QueueDeckExpanded.js +1 -1
  113. package/dist/esm/QueueDeckExpandedPaginated.js +1 -1
  114. package/dist/esm/RecentNews.js +1 -1
  115. package/dist/esm/RelatedContent.js +29 -29
  116. package/dist/esm/RelatedTopicsDropdown.js +11 -11
  117. package/dist/esm/RolesDeck.js +1 -1
  118. package/dist/esm/Schema.js +1 -1
  119. package/dist/esm/Search.js +1 -1
  120. package/dist/esm/Segment.js +1 -1
  121. package/dist/esm/SeriesListingDeck.js +2 -2
  122. package/dist/esm/{SeriesSlider-45adb8dc.js → SeriesSlider-98ad6d97.js} +4 -4
  123. package/dist/esm/SetCookie.js +1 -1
  124. package/dist/esm/SideFooter.js +3 -3
  125. package/dist/esm/SocialIcons.js +1 -1
  126. package/dist/esm/SocialShare.js +1 -1
  127. package/dist/esm/TaxonomyCard.js +1 -1
  128. package/dist/esm/TaxonomyDescription.js +1 -1
  129. package/dist/esm/TemplateNormal.js +1 -1
  130. package/dist/esm/ThumbnailCard.js +1 -1
  131. package/dist/esm/Ustream.js +1 -1
  132. package/dist/esm/VerticalHero.js +1 -1
  133. package/dist/esm/VideoProgramLandingPage.js +1 -1
  134. package/dist/esm/VideoSeriesCard.js +2 -2
  135. package/dist/esm/VideoSeriesFilter.js +1 -1
  136. package/dist/esm/VideoSeriesLandingPage.js +1 -1
  137. package/dist/esm/VideoSeriesListing.js +1 -1
  138. package/dist/esm/View.js +22 -35
  139. package/dist/esm/YahooHero.js +1 -1
  140. package/dist/esm/YoutubeGroup.js +5 -5
  141. package/dist/esm/getKeywords.js +1 -1
  142. package/dist/esm/getQuery.js +2 -2
  143. package/dist/esm/getRelatedArticle.js +1 -1
  144. package/dist/esm/getRootDocGroup.js +1 -1
  145. package/dist/esm/getSeriesDetail.js +1 -1
  146. package/dist/esm/{getTargeting-42f9b439.js → getTargeting-04d979c9.js} +9 -9
  147. package/dist/esm/getTargeting.js +1 -1
  148. package/dist/esm/index.js +2 -2
  149. package/dist/esm/stringify-2b084bee.js +1 -1
  150. package/dist/esm/timeDifferenceCalc.js +1 -1
  151. package/dist/esm/urlFor.js +1 -1
  152. package/dist/esm/ustream-api-d3714624.js +1 -1
  153. package/package.json +115 -115
@@ -158,4 +158,4 @@ var ADWelcome = function ADWelcome(_ref) {
158
158
  );
159
159
  };
160
160
 
161
- export { ADWelcome as default };
161
+ export default ADWelcome;
@@ -84,4 +84,4 @@ var AccordionPanel = function AccordionPanel(props) {
84
84
  );
85
85
  };
86
86
 
87
- export { AccordionPanel as default };
87
+ export default AccordionPanel;
@@ -242,4 +242,4 @@ DFPAdSlot.propTypes = {
242
242
  sizes: PropTypes.array
243
243
  };
244
244
 
245
- export { DFPAdSlot as default };
245
+ export default DFPAdSlot;
@@ -174,4 +174,4 @@ var AdSlotsProvider = function AdSlotsProvider(_ref) {
174
174
  );
175
175
  };
176
176
 
177
- export { AdSlotsProvider as default };
177
+ export default AdSlotsProvider;
@@ -822,7 +822,7 @@ function parseAlgoliaHit(_ref2) {
822
822
  });
823
823
  }
824
824
 
825
- var version$1 = '6.12.1';
825
+ var version$1 = '6.12.0';
826
826
 
827
827
  var withKeysPropType = function withKeysPropType(keys) {
828
828
  return function (props, propName, componentName) {
@@ -4772,7 +4772,7 @@ var requestBuilder = {
4772
4772
 
4773
4773
  var requestBuilder_1 = requestBuilder;
4774
4774
 
4775
- var version = '3.5.5';
4775
+ var version = '3.5.4';
4776
4776
 
4777
4777
  /**
4778
4778
  * Event triggered when a parameter is set or updated
@@ -7346,21 +7346,15 @@ function hydrateMetadata(resultsState) {
7346
7346
 
7347
7347
  return resultsState.metadata.map(function (datum) {
7348
7348
  return _objectSpread({
7349
- value: function value() {
7350
- return {};
7351
- }
7349
+ value: function value() {}
7352
7350
  }, datum, {
7353
7351
  items: datum.items && datum.items.map(function (item) {
7354
7352
  return _objectSpread({
7355
- value: function value() {
7356
- return {};
7357
- }
7353
+ value: function value() {}
7358
7354
  }, item, {
7359
7355
  items: item.items && item.items.map(function (nestedItem) {
7360
7356
  return _objectSpread({
7361
- value: function value() {
7362
- return {};
7363
- }
7357
+ value: function value() {}
7364
7358
  }, nestedItem);
7365
7359
  })
7366
7360
  });
@@ -14454,4 +14448,4 @@ AlgoliaSearch.propTypes = {
14454
14448
  refinementAttributes: PropTypes.array
14455
14449
  };
14456
14450
 
14457
- export { AlgoliaSearch as default };
14451
+ export default AlgoliaSearch;
@@ -126,4 +126,4 @@ var AlphabeticList = function AlphabeticList(_ref) {
126
126
  );
127
127
  };
128
128
 
129
- export { AlphabeticList as default };
129
+ export default AlphabeticList;
@@ -37,4 +37,4 @@ function ArticleCarousel(props) {
37
37
  );
38
38
  }
39
39
 
40
- export { ArticleCarousel as default };
40
+ export default ArticleCarousel;
@@ -175,4 +175,4 @@ _context.next = 14;
175
175
  };
176
176
  }();
177
177
 
178
- export { ArticleProgramLandingPage as default };
178
+ export default ArticleProgramLandingPage;
@@ -153,4 +153,4 @@ ArticleSeriesLandingPage.getInitialData = function () {
153
153
  };
154
154
  }();
155
155
 
156
- export { ArticleSeriesLandingPage as default };
156
+ export default ArticleSeriesLandingPage;
@@ -306,4 +306,4 @@ var ArticleSeriesListing = function (_React$Component) {
306
306
 
307
307
  var ArticleSeriesListing$1 = withRouter(ArticleSeriesListing);
308
308
 
309
- export { ArticleSeriesListing$1 as default };
309
+ export default ArticleSeriesListing$1;
package/dist/esm/Auth.js CHANGED
@@ -1479,7 +1479,7 @@ keysShim.shim = function shimObjectKeys() {
1479
1479
 
1480
1480
  var objectKeys = keysShim;
1481
1481
 
1482
- var hasSymbols$3 = typeof Symbol === 'function' && typeof Symbol('foo') === 'symbol';
1482
+ var hasSymbols$4 = typeof Symbol === 'function' && typeof Symbol('foo') === 'symbol';
1483
1483
 
1484
1484
  var toStr$3 = Object.prototype.toString;
1485
1485
  var concat = Array.prototype.concat;
@@ -1523,7 +1523,7 @@ var defineProperty = function (object, name, value, predicate) {
1523
1523
  var defineProperties = function (object, map) {
1524
1524
  var predicates = arguments.length > 2 ? arguments[2] : {};
1525
1525
  var props = objectKeys(map);
1526
- if (hasSymbols$3) {
1526
+ if (hasSymbols$4) {
1527
1527
  props = concat.call(props, Object.getOwnPropertySymbols(map));
1528
1528
  }
1529
1529
  for (var i = 0; i < props.length; i += 1) {
@@ -1589,7 +1589,7 @@ var implementation$2 = function bind(that) {
1589
1589
  var functionBind = Function.prototype.bind || implementation$2;
1590
1590
 
1591
1591
  /* eslint complexity: [2, 18], max-statements: [2, 33] */
1592
- var shams$1 = function hasSymbols() {
1592
+ var shams = function hasSymbols() {
1593
1593
  if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }
1594
1594
  if (typeof Symbol.iterator === 'symbol') { return true; }
1595
1595
 
@@ -1632,13 +1632,13 @@ var shams$1 = function hasSymbols() {
1632
1632
  var origSymbol = typeof Symbol !== 'undefined' && Symbol;
1633
1633
 
1634
1634
 
1635
- var hasSymbols$2 = function hasNativeSymbols() {
1635
+ var hasSymbols$3 = function hasNativeSymbols() {
1636
1636
  if (typeof origSymbol !== 'function') { return false; }
1637
1637
  if (typeof Symbol !== 'function') { return false; }
1638
1638
  if (typeof origSymbol('foo') !== 'symbol') { return false; }
1639
1639
  if (typeof Symbol('bar') !== 'symbol') { return false; }
1640
1640
 
1641
- return shams$1();
1641
+ return shams();
1642
1642
  };
1643
1643
 
1644
1644
  var src = functionBind.call(Function.call, Object.prototype.hasOwnProperty);
@@ -1685,7 +1685,7 @@ var ThrowTypeError = $gOPD$2
1685
1685
  }())
1686
1686
  : throwTypeError;
1687
1687
 
1688
- var hasSymbols$1 = hasSymbols$2();
1688
+ var hasSymbols$2 = hasSymbols$3();
1689
1689
 
1690
1690
  var getProto = Object.getPrototypeOf || function (x) { return x.__proto__; }; // eslint-disable-line no-proto
1691
1691
 
@@ -1697,7 +1697,7 @@ var INTRINSICS = {
1697
1697
  '%AggregateError%': typeof AggregateError === 'undefined' ? undefined$1 : AggregateError,
1698
1698
  '%Array%': Array,
1699
1699
  '%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined$1 : ArrayBuffer,
1700
- '%ArrayIteratorPrototype%': hasSymbols$1 ? getProto([][Symbol.iterator]()) : undefined$1,
1700
+ '%ArrayIteratorPrototype%': hasSymbols$2 ? getProto([][Symbol.iterator]()) : undefined$1,
1701
1701
  '%AsyncFromSyncIteratorPrototype%': undefined$1,
1702
1702
  '%AsyncFunction%': needsEval,
1703
1703
  '%AsyncGenerator%': needsEval,
@@ -1725,10 +1725,10 @@ var INTRINSICS = {
1725
1725
  '%Int32Array%': typeof Int32Array === 'undefined' ? undefined$1 : Int32Array,
1726
1726
  '%isFinite%': isFinite,
1727
1727
  '%isNaN%': isNaN,
1728
- '%IteratorPrototype%': hasSymbols$1 ? getProto(getProto([][Symbol.iterator]())) : undefined$1,
1728
+ '%IteratorPrototype%': hasSymbols$2 ? getProto(getProto([][Symbol.iterator]())) : undefined$1,
1729
1729
  '%JSON%': typeof JSON === 'object' ? JSON : undefined$1,
1730
1730
  '%Map%': typeof Map === 'undefined' ? undefined$1 : Map,
1731
- '%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols$1 ? undefined$1 : getProto(new Map()[Symbol.iterator]()),
1731
+ '%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols$2 ? undefined$1 : getProto(new Map()[Symbol.iterator]()),
1732
1732
  '%Math%': Math,
1733
1733
  '%Number%': Number,
1734
1734
  '%Object%': Object,
@@ -1741,11 +1741,11 @@ var INTRINSICS = {
1741
1741
  '%Reflect%': typeof Reflect === 'undefined' ? undefined$1 : Reflect,
1742
1742
  '%RegExp%': RegExp,
1743
1743
  '%Set%': typeof Set === 'undefined' ? undefined$1 : Set,
1744
- '%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols$1 ? undefined$1 : getProto(new Set()[Symbol.iterator]()),
1744
+ '%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols$2 ? undefined$1 : getProto(new Set()[Symbol.iterator]()),
1745
1745
  '%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined$1 : SharedArrayBuffer,
1746
1746
  '%String%': String,
1747
- '%StringIteratorPrototype%': hasSymbols$1 ? getProto(''[Symbol.iterator]()) : undefined$1,
1748
- '%Symbol%': hasSymbols$1 ? Symbol : undefined$1,
1747
+ '%StringIteratorPrototype%': hasSymbols$2 ? getProto(''[Symbol.iterator]()) : undefined$1,
1748
+ '%Symbol%': hasSymbols$2 ? Symbol : undefined$1,
1749
1749
  '%SyntaxError%': $SyntaxError$1,
1750
1750
  '%ThrowTypeError%': ThrowTypeError,
1751
1751
  '%TypedArray%': TypedArray,
@@ -2214,11 +2214,8 @@ var IsPropertyKey = function IsPropertyKey(argument) {
2214
2214
  return typeof argument === 'string' || typeof argument === 'symbol';
2215
2215
  };
2216
2216
 
2217
- var shams = function hasToStringTagShams() {
2218
- return shams$1() && !!Symbol.toStringTag;
2219
- };
2220
-
2221
- var hasToStringTag$1 = shams();
2217
+ var hasSymbols$1 = shams();
2218
+ var hasToStringTag$1 = hasSymbols$1 && !!Symbol.toStringTag;
2222
2219
  var has;
2223
2220
  var $exec;
2224
2221
  var isRegexMarker;
@@ -2344,7 +2341,7 @@ var tryFunctionObject = function tryFunctionToStr(value) {
2344
2341
  var toStr = Object.prototype.toString;
2345
2342
  var fnClass = '[object Function]';
2346
2343
  var genClass = '[object GeneratorFunction]';
2347
- var hasToStringTag = typeof Symbol === 'function' && !!Symbol.toStringTag; // better: use `has-tostringtag`
2344
+ var hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';
2348
2345
  /* globals document: false */
2349
2346
  var documentDotAll = typeof document === 'object' && typeof document.all === 'undefined' && document.all !== undefined ? document.all : {};
2350
2347
 
@@ -2660,7 +2657,7 @@ var $slice = callBound('Array.prototype.slice');
2660
2657
  var $concat = callBound('Array.prototype.concat');
2661
2658
  var $forEach = callBound('Array.prototype.forEach');
2662
2659
 
2663
- var hasSymbols = hasSymbols$2();
2660
+ var hasSymbols = hasSymbols$3();
2664
2661
 
2665
2662
  var kCustomPromisifiedSymbol = hasSymbols ? Symbol('util.promisify.custom') : null;
2666
2663
  var kCustomPromisifyArgsSymbol = hasSymbols ? Symbol('customPromisifyArgs') : null;
@@ -3629,4 +3626,5 @@ var auth = {
3629
3626
  ProcessData: ProcessData_1
3630
3627
  };
3631
3628
 
3632
- export { AuthCookies_1 as AuthCookies, AuthHooks_1 as AuthHooks, Iron_1 as Iron, LoginForm_1 as LoginForm, PassportLocal_1 as PassportLocal, ProcessData_1 as ProcessData, ProfileForm_1 as ProfileForm, SignupForm_1 as SignupForm, User_1 as User, auth as default };
3629
+ export default auth;
3630
+ export { AuthCookies_1 as AuthCookies, AuthHooks_1 as AuthHooks, Iron_1 as Iron, LoginForm_1 as LoginForm, PassportLocal_1 as PassportLocal, ProcessData_1 as ProcessData, ProfileForm_1 as ProfileForm, SignupForm_1 as SignupForm, User_1 as User };
@@ -109,9 +109,9 @@ var runtime = (function (exports) {
109
109
  // This is a polyfill for %IteratorPrototype% for environments that
110
110
  // don't natively support it.
111
111
  var IteratorPrototype = {};
112
- define(IteratorPrototype, iteratorSymbol, function () {
112
+ IteratorPrototype[iteratorSymbol] = function () {
113
113
  return this;
114
- });
114
+ };
115
115
 
116
116
  var getProto = Object.getPrototypeOf;
117
117
  var NativeIteratorPrototype = getProto && getProto(getProto(values([])));
@@ -125,9 +125,8 @@ var runtime = (function (exports) {
125
125
 
126
126
  var Gp = GeneratorFunctionPrototype.prototype =
127
127
  Generator.prototype = Object.create(IteratorPrototype);
128
- GeneratorFunction.prototype = GeneratorFunctionPrototype;
129
- define(Gp, "constructor", GeneratorFunctionPrototype);
130
- define(GeneratorFunctionPrototype, "constructor", GeneratorFunction);
128
+ GeneratorFunction.prototype = Gp.constructor = GeneratorFunctionPrototype;
129
+ GeneratorFunctionPrototype.constructor = GeneratorFunction;
131
130
  GeneratorFunction.displayName = define(
132
131
  GeneratorFunctionPrototype,
133
132
  toStringTagSymbol,
@@ -241,9 +240,9 @@ var runtime = (function (exports) {
241
240
  }
242
241
 
243
242
  defineIteratorMethods(AsyncIterator.prototype);
244
- define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
243
+ AsyncIterator.prototype[asyncIteratorSymbol] = function () {
245
244
  return this;
246
- });
245
+ };
247
246
  exports.AsyncIterator = AsyncIterator;
248
247
 
249
248
  // Note that simple async functions are implemented on top of
@@ -436,13 +435,13 @@ var runtime = (function (exports) {
436
435
  // iterator prototype chain incorrectly implement this, causing the Generator
437
436
  // object to not be returned from this call. This ensures that doesn't happen.
438
437
  // See https://github.com/facebook/regenerator/issues/274 for more details.
439
- define(Gp, iteratorSymbol, function() {
438
+ Gp[iteratorSymbol] = function() {
440
439
  return this;
441
- });
440
+ };
442
441
 
443
- define(Gp, "toString", function() {
442
+ Gp.toString = function() {
444
443
  return "[object Generator]";
445
- });
444
+ };
446
445
 
447
446
  function pushTryEntry(locs) {
448
447
  var entry = { tryLoc: locs[0] };
@@ -761,19 +760,14 @@ try {
761
760
  } catch (accidentalStrictMode) {
762
761
  // This module should not be running in strict mode, so the above
763
762
  // assignment should always work unless something is misconfigured. Just
764
- // in case runtime.js accidentally runs in strict mode, in modern engines
765
- // we can explicitly access globalThis. In older engines we can escape
763
+ // in case runtime.js accidentally runs in strict mode, we can escape
766
764
  // strict mode using a global Function call. This could conceivably fail
767
765
  // if a Content Security Policy forbids using Function, but in that case
768
766
  // the proper solution is to fix the accidental strict mode problem. If
769
767
  // you've misconfigured your bundler to force strict mode and applied a
770
768
  // CSP to forbid Function, and you're not willing to fix either of those
771
769
  // problems, please detail your unique predicament in a GitHub issue.
772
- if (typeof globalThis === "object") {
773
- globalThis.regeneratorRuntime = runtime;
774
- } else {
775
- Function("r", "regeneratorRuntime = r")(runtime);
776
- }
770
+ Function("r", "regeneratorRuntime = r")(runtime);
777
771
  }
778
772
  });
779
773
 
@@ -1767,7 +1761,7 @@ client$1.Provider;
1767
1761
 
1768
1762
  var client = client$1.default;
1769
1763
 
1770
- var css = ".AuthWrapper-module_loginBox__3l-BE {\n margin-bottom: 2rem;\n width: 350px;\n max-width: 90vw;\n margin-left: auto;\n margin-right: auto;\n /* box-shadow: 2px 5px 12px rgba(0, 0, 0, 0.15); */\n background: #fff;\n z-index: 1;\n}\n.AuthWrapper-module_loginBox_title__12rGD {\n margin-bottom: 2rem;\n text-align: center;\n}\n.AuthWrapper-module_bar__1dafn {\n background: #eee;\n margin-left: unset;\n margin-right: unset;\n}\n.AuthWrapper-module_bar__1dafn:nth-child(1) {\n float: left;\n border-right: 1rem solid #fff;\n background: rgb(245, 245, 245);\n height: 10rem;\n width: 25%;\n margin-left: auto;\n margin-right: auto;\n margin-bottom: 2rem;\n}\n.AuthWrapper-module_bar__1dafn:nth-child(2n) {\n width: 97%;\n height: 1.5rem;\n margin-bottom: 0.25rem;\n}\n.AuthWrapper-module_bar__1dafn.AuthWrapper-module_bar__1dafn:nth-child(3n) {\n width: 96%;\n height: 1.5rem;\n margin-bottom: 1.5rem;\n}\n.AuthWrapper-module_bar__1dafn.AuthWrapper-module_bar__1dafn:nth-child(4n) {\n width: 72%;\n height: 1.5rem;\n margin-bottom: 0.25rem;\n}\n.AuthWrapper-module_bar__1dafn.AuthWrapper-module_bar__1dafn:nth-child(5n) {\n width: 88%;\n height: 1.5rem;\n margin-bottom: 0.25rem;\n}\n\n.AuthWrapper-module_iframe__2wDJW {\n margin-top: -3rem;\n border: none;\n width: 100%;\n height: 1900px;\n}";
1764
+ var css = ".AuthWrapper-module_loginBox__3l-BE {\r\n margin-bottom: 2rem;\r\n width: 350px;\r\n max-width: 90vw;\r\n margin-left: auto;\r\n margin-right: auto;\r\n /* box-shadow: 2px 5px 12px rgba(0, 0, 0, 0.15); */\r\n background: #fff;\r\n z-index: 1;\r\n}\r\n.AuthWrapper-module_loginBox_title__12rGD {\r\n margin-bottom: 2rem;\r\n text-align: center;\r\n}\r\n.AuthWrapper-module_bar__1dafn {\r\n background: #eee;\r\n margin-left: unset;\r\n margin-right: unset;\r\n}\r\n.AuthWrapper-module_bar__1dafn:nth-child(1) {\r\n float: left;\r\n border-right: 1rem solid #fff;\r\n background: rgb(245, 245, 245);\r\n height: 10rem;\r\n width: 25%;\r\n margin-left: auto;\r\n margin-right: auto;\r\n margin-bottom: 2rem;\r\n}\r\n.AuthWrapper-module_bar__1dafn:nth-child(2n) {\r\n width: 97%;\r\n height: 1.5rem;\r\n margin-bottom: 0.25rem;\r\n}\r\n.AuthWrapper-module_bar__1dafn.AuthWrapper-module_bar__1dafn:nth-child(3n) {\r\n width: 96%;\r\n height: 1.5rem;\r\n margin-bottom: 1.5rem;\r\n}\r\n.AuthWrapper-module_bar__1dafn.AuthWrapper-module_bar__1dafn:nth-child(4n) {\r\n width: 72%;\r\n height: 1.5rem;\r\n margin-bottom: 0.25rem;\r\n}\r\n.AuthWrapper-module_bar__1dafn.AuthWrapper-module_bar__1dafn:nth-child(5n) {\r\n width: 88%;\r\n height: 1.5rem;\r\n margin-bottom: 0.25rem;\r\n}\r\n\r\n.AuthWrapper-module_iframe__2wDJW {\r\n margin-top: -3rem;\r\n border: none;\r\n width: 100%;\r\n height: 1900px;\r\n}";
1771
1765
  var styles = { "loginBox": "AuthWrapper-module_loginBox__3l-BE", "loginBox_title": "AuthWrapper-module_loginBox_title__12rGD", "bar": "AuthWrapper-module_bar__1dafn", "iframe": "AuthWrapper-module_iframe__2wDJW" };
1772
1766
  styleInject(css);
1773
1767
 
@@ -1893,4 +1887,4 @@ var AuthWrapper = function AuthWrapper(_ref) {
1893
1887
  }
1894
1888
  };
1895
1889
 
1896
- export { AuthWrapper as default };
1890
+ export default AuthWrapper;
package/dist/esm/Beam.js CHANGED
@@ -345,4 +345,4 @@ var beam = {
345
345
  }
346
346
  };
347
347
 
348
- export { beam as default };
348
+ export default beam;
@@ -97,4 +97,4 @@ var Breadcrumbs = function Breadcrumbs(_ref) {
97
97
 
98
98
  var Breadcrumbs$1 = React__default.memo(Breadcrumbs);
99
99
 
100
- export { Breadcrumbs$1 as default };
100
+ export default Breadcrumbs$1;
@@ -309,11 +309,7 @@ var CMEDeck = function CMEDeck(_ref) {
309
309
  return React__default.createElement(
310
310
  'div',
311
311
  { className: 'd-flex justify-content-between' },
312
- currentPage && currentPage > 1 && React__default.createElement(
313
- 'a',
314
- { href: '?page=' + (currentPage - 1) },
315
- '<< Previous'
316
- ),
312
+ currentPage > 1 ,
317
313
  React__default.createElement(
318
314
  'a',
319
315
  { href: '?page=' + (currentPage + 1) },
@@ -439,4 +435,4 @@ var CMEDeck = function CMEDeck(_ref) {
439
435
  }
440
436
  };
441
437
 
442
- export { CMEDeck as default };
438
+ export default CMEDeck;
@@ -25,4 +25,5 @@ var Column1 = function Column1(props) {
25
25
  );
26
26
  };
27
27
 
28
- export { Column1, Column1 as default };
28
+ export default Column1;
29
+ export { Column1 };
@@ -61,4 +61,5 @@ var Column2 = function Column2(props) {
61
61
  );
62
62
  };
63
63
 
64
- export { Column2, Column2 as default };
64
+ export default Column2;
65
+ export { Column2 };
@@ -131,4 +131,5 @@ var Column3 = function Column3(props) {
131
131
  );
132
132
  };
133
133
 
134
- export { Column3, Column3 as default };
134
+ export default Column3;
135
+ export { Column3 };
@@ -7,21 +7,21 @@ import './web.dom.iterable-ab4dea5c.js';
7
7
  import './core.get-iterator-method-ea258bb1.js';
8
8
  import './index-3f5c03b2.js';
9
9
 
10
- /*
11
- Example usage - targetedonc.com/latest-conference
12
- const query = `*[!(_id in path("drafts.**")) && _type == "article" && defined(title) && is_visible == true && published <= '${today}' && references('b49d36b8-aa56-4183-a2bc-1568c229fb72') ] | order(published desc) [$from...$to] {
13
- ...,
14
- title,
15
- summary,
16
- thumbnail,
17
- url,
18
- published,
19
- documentGroup->,
20
- contentCategory->,
21
- 'pageNumber': ${currentPage}
22
- }`
23
-
24
- const posts = await client.fetch(query, params)
10
+ /*
11
+ Example usage - targetedonc.com/latest-conference
12
+ const query = `*[!(_id in path("drafts.**")) && _type == "article" && defined(title) && is_visible == true && published <= '${today}' && references('b49d36b8-aa56-4183-a2bc-1568c229fb72') ] | order(published desc) [$from...$to] {
13
+ ...,
14
+ title,
15
+ summary,
16
+ thumbnail,
17
+ url,
18
+ published,
19
+ documentGroup->,
20
+ contentCategory->,
21
+ 'pageNumber': ${currentPage}
22
+ }`
23
+
24
+ const posts = await client.fetch(query, params)
25
25
  */
26
26
 
27
27
  var ConferenceArticleCard = function ConferenceArticleCard(props) {
@@ -84,4 +84,4 @@ var ConferenceArticleCard = function ConferenceArticleCard(props) {
84
84
  );
85
85
  };
86
86
 
87
- export { ConferenceArticleCard as default };
87
+ export default ConferenceArticleCard;
@@ -403,4 +403,4 @@ var DeckContent = function (_React$Component) {
403
403
 
404
404
  var ContentCardPaginated = withRouter(DeckContent);
405
405
 
406
- export { ContentCardPaginated as default };
406
+ export default ContentCardPaginated;
@@ -115,9 +115,26 @@ var DeckContent = function (_React$Component) {
115
115
  }
116
116
  });
117
117
  });
118
- }, _this.renderCardImage = function (row, page) {
118
+ }, _this.renderCardImage = function (row, page, lgVar) {
119
+ var getImageWidth = function getImageWidth(lgVar) {
120
+ if (main_43 === true) {
121
+ return Number(_this.props.imageWidth) / 2;
122
+ } else if (lgVar === 12) {
123
+ return Number(_this.props.imageWidth);
124
+ } else if (lgVar === 6) {
125
+ return Number(_this.props.imageWidth) / 2;
126
+ } else {
127
+ return Number(_this.props.imageWidth) / (12 / lgVar);
128
+ }
129
+ };
119
130
  if (row.thumbnail && row.thumbnail.asset) {
120
- var url = urlFor({ client: _this.client, source: row.thumbnail, imageHeight: _this.props.imageHeight || null, imageWidth: _this.props.imageWidth || null, imageFit: _this.props.imageFit || null });
131
+ var url = urlFor({
132
+ client: _this.client,
133
+ source: row.thumbnail,
134
+ imageHeight: _this.props.imageHeight || null,
135
+ imageWidth: getImageWidth(lgVar) || null,
136
+ imageFit: _this.props.imageFit || null
137
+ });
121
138
  return url;
122
139
  } else {
123
140
  return _this.defaultImage;
@@ -172,14 +189,14 @@ var DeckContent = function (_React$Component) {
172
189
  var newPath = pageNumber === 1 ? '' + path : path + '?page=' + pageNumber;
173
190
 
174
191
  // please leave this for later debug purpose : Yong Jun.
175
- /* console.log('page change reported', {
176
- currentPage: currentPage,
177
- pageNumber: pageNumber,
178
- pathname: pathname,
179
- path: path,
180
- newPath: newPath,
181
- firstPage: pageNumber === 1,
182
- queryString: queryString
192
+ /* console.log('page change reported', {
193
+ currentPage: currentPage,
194
+ pageNumber: pageNumber,
195
+ pathname: pathname,
196
+ path: path,
197
+ newPath: newPath,
198
+ firstPage: pageNumber === 1,
199
+ queryString: queryString
183
200
  }) */
184
201
 
185
202
  if (pageview) {
@@ -272,7 +289,19 @@ var DeckContent = function (_React$Component) {
272
289
  } else {
273
290
  articles = _this.state.data;
274
291
  }
275
-
292
+ var getImageHeight = function getImageHeight(lgVar, aspectRatio, mobileView) {
293
+ if (mobileView) {
294
+ return Number(_this.props.imageWidth) / (2 * aspectRatio) + 'px';
295
+ } else {
296
+ if (lgVar === 12) {
297
+ return Number(_this.props.imageWidth) / aspectRatio + 'px';
298
+ } else if (lgVar === 6) {
299
+ return Number(_this.props.imageWidth) / (2 * aspectRatio) + 'px';
300
+ } else {
301
+ return Number(_this.props.imageWidth) / (12 / lgVar * aspectRatio) + 'px';
302
+ }
303
+ }
304
+ };
276
305
  return React__default.createElement(
277
306
  Row,
278
307
  null,
@@ -306,13 +335,15 @@ var DeckContent = function (_React$Component) {
306
335
  { className: 'content-card', style: { flexDirection: mode } },
307
336
  (row.thumbnail && row.thumbnail.asset || _this.props.defaultImage) && React__default.createElement(
308
337
  'a',
309
- { href: _this.mapping[contentCategoryName] + '/' + row.url.current },
338
+ {
339
+ href: _this.mapping[contentCategoryName] + '/' + row.url.current,
340
+ style: { minHeight: getImageHeight(lgVar, row.thumbnail.asset.metadata.dimensions.aspectRatio, main_43) } },
310
341
  React__default.createElement(
311
342
  LazyLoad,
312
343
  { height: _this.props.imageHeight },
313
344
  React__default.createElement(Card.Img, {
314
345
  variant: 'top',
315
- src: _this.renderCardImage(row, page),
346
+ src: _this.renderCardImage(row, page, lgVar),
316
347
  alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : ''
317
348
  })
318
349
  )
@@ -482,4 +513,4 @@ var DeckContent = function (_React$Component) {
482
513
 
483
514
  var ContentCard = withRouter(DeckContent);
484
515
 
485
- export { ContentCard as default };
516
+ export default ContentCard;
@@ -373,4 +373,4 @@ var DeckQueue = function (_React$Component) {
373
373
 
374
374
  var Queue = withRouter(DeckQueue);
375
375
 
376
- export { Queue as default };
376
+ export default Queue;
@@ -334,4 +334,4 @@ var DeckQueue = function (_React$Component) {
334
334
 
335
335
  var QueuePaginated = withRouter(DeckQueue);
336
336
 
337
- export { QueuePaginated as default };
337
+ export default QueuePaginated;
@@ -94,4 +94,4 @@ AD.propTypes = {
94
94
  minInViewPercent: PropTypes.number
95
95
  };
96
96
 
97
- export { AD as default };
97
+ export default AD;
@@ -243,23 +243,23 @@ var EventsDeck = function EventsDeck(_ref) {
243
243
  if (cventAccessToken && cventAccessToken !== 'undefined') {
244
244
  setAccessToken(cventAccessToken);
245
245
  } else {
246
- /*const encodedData = window.btoa(clientId + ':' + clientSecret)
247
- //const url = `${corsProxy}https://api-platform.cvent.com/ea/oauth2/token`
248
- const url = `https://api-platform.cvent.com/ea/oauth2/token`
249
- fetch(url, {
250
- headers: {
251
- 'Content-Type': 'application/x-www-form-urlencoded',
252
- Authorization: `Basic ${encodedData}`
253
- },
254
- method: 'POST',
255
- body: `grant_type=client_credentials&client_id=${clientId}`
256
- })
257
- .then((response) => response.json())
258
- .then((json) => {
259
- const inOneHour = new Date(new Date().getTime() + 60 * 60 * 1000)
260
- Cookies.set('cvent_access_token', json.access_token, { expires: inOneHour })
261
- setAccessToken(json.access_token)
262
- })
246
+ /*const encodedData = window.btoa(clientId + ':' + clientSecret)
247
+ //const url = `${corsProxy}https://api-platform.cvent.com/ea/oauth2/token`
248
+ const url = `https://api-platform.cvent.com/ea/oauth2/token`
249
+ fetch(url, {
250
+ headers: {
251
+ 'Content-Type': 'application/x-www-form-urlencoded',
252
+ Authorization: `Basic ${encodedData}`
253
+ },
254
+ method: 'POST',
255
+ body: `grant_type=client_credentials&client_id=${clientId}`
256
+ })
257
+ .then((response) => response.json())
258
+ .then((json) => {
259
+ const inOneHour = new Date(new Date().getTime() + 60 * 60 * 1000)
260
+ Cookies.set('cvent_access_token', json.access_token, { expires: inOneHour })
261
+ setAccessToken(json.access_token)
262
+ })
263
263
  .catch((e) => console.log(e))*/
264
264
  // hello
265
265
  var url = 'https://beam.mjhlifesciences.com/api/cvent/token';
@@ -837,4 +837,4 @@ var EventsDeck = function EventsDeck(_ref) {
837
837
  }
838
838
  };
839
839
 
840
- export { EventsDeck as default };
840
+ export default EventsDeck;
@@ -208,4 +208,4 @@ var ExternalResources = function ExternalResources(props) {
208
208
  );
209
209
  };
210
210
 
211
- export { ExternalResources as default };
211
+ export default ExternalResources;
@@ -119,4 +119,4 @@ var Feature = function Feature(props) {
119
119
  );
120
120
  };
121
121
 
122
- export { Feature as default };
122
+ export default Feature;
@@ -128,4 +128,4 @@ var fbsHero = function fbsHero(props) {
128
128
  );
129
129
  };
130
130
 
131
- export { fbsHero as default };
131
+ export default fbsHero;
@@ -787,4 +787,4 @@ var GridContent = function (_React$Component) {
787
787
 
788
788
  var GridContent$1 = React__default.memo(withRouter(GridContent));
789
789
 
790
- export { GridContent$1 as default };
790
+ export default GridContent$1;
@@ -690,4 +690,4 @@ var GridContent = function (_React$Component) {
690
690
 
691
691
  var GridContentPaginated = React__default.memo(withRouter(GridContent));
692
692
 
693
- export { GridContentPaginated as default };
693
+ export default GridContentPaginated;