@mjhls/mjh-framework 1.0.973-ptce-test-v2 → 1.0.974-identify

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 (169) hide show
  1. package/dist/cjs/AlgoliaSearch.js +142 -18
  2. package/dist/cjs/ArticleProgramLandingPage.js +1 -1
  3. package/dist/cjs/ArticleSeriesLandingPage.js +2 -2
  4. package/dist/cjs/Auth.js +20 -17
  5. package/dist/cjs/AuthWrapper.js +18 -12
  6. package/dist/cjs/CMEDeck.js +5 -1
  7. package/dist/cjs/Column1.js +1 -1
  8. package/dist/cjs/Column2.js +1 -1
  9. package/dist/cjs/Column3.js +1 -1
  10. package/dist/cjs/ContentCardPaginated.js +2 -3
  11. package/dist/cjs/DeckContent.js +1 -1
  12. package/dist/cjs/DeckQueuePaginated.js +1 -2
  13. package/dist/cjs/Dfp-9be904d5.js +1 -1
  14. package/dist/cjs/ExternalResources.js +1 -1
  15. package/dist/cjs/GridContent.js +2 -2
  16. package/dist/cjs/GridContentPaginated.js +3 -4
  17. package/dist/cjs/HamMagazine.js +1 -1
  18. package/dist/cjs/Header.js +1 -1
  19. package/dist/cjs/HorizontalArticleListing.js +1 -1
  20. package/dist/cjs/IssueLanding.js +3 -3
  21. package/dist/cjs/LeftNav.js +1 -1
  22. package/dist/cjs/MasterDeck.js +2 -2
  23. package/dist/cjs/MasterDeckPaginated.js +3 -4
  24. package/dist/cjs/{MediaSeriesCard-5bf9813e.js → MediaSeriesCard-91982ed5.js} +65 -43
  25. package/dist/cjs/MediaSeriesLanding.js +4 -4
  26. package/dist/cjs/MediaSeriesLandingPaginated.js +5 -6
  27. package/dist/cjs/NavDvm.js +1 -1
  28. package/dist/cjs/NavMagazine.js +1 -1
  29. package/dist/cjs/NavNative.js +1 -1
  30. package/dist/cjs/Pagination-2a3d0103.js +97 -0
  31. package/dist/cjs/PartnerDetailListing.js +3 -3
  32. package/dist/cjs/PartnerDetailListingPaginated.js +4 -5
  33. package/dist/cjs/PubSection.js +2 -2
  34. package/dist/cjs/QueueDeckExpanded.js +2 -2
  35. package/dist/cjs/QueueDeckExpandedPaginated.js +3 -4
  36. package/dist/cjs/Segment.js +49 -0
  37. package/dist/cjs/TaxonomyDescription.js +1 -1
  38. package/dist/cjs/VideoProgramLandingPage.js +1 -1
  39. package/dist/cjs/VideoSeriesLandingPage.js +2 -2
  40. package/dist/cjs/View.js +165 -55
  41. package/dist/cjs/getSerializers.js +1 -1
  42. package/dist/cjs/index.js +3 -4
  43. package/dist/cjs/ustream-api-3819e4aa.js +1 -1
  44. package/dist/esm/AD.js +1 -1
  45. package/dist/esm/AD300x250.js +1 -1
  46. package/dist/esm/AD300x250x600.js +1 -1
  47. package/dist/esm/AD728x90.js +1 -1
  48. package/dist/esm/ADFloatingFooter.js +1 -1
  49. package/dist/esm/ADFooter.js +1 -1
  50. package/dist/esm/ADGutter.js +1 -1
  51. package/dist/esm/ADSkyscraper.js +1 -1
  52. package/dist/esm/ADSponsoredResources.js +1 -1
  53. package/dist/esm/ADWebcast.js +1 -1
  54. package/dist/esm/ADWelcome.js +1 -1
  55. package/dist/esm/AccordionPanel.js +1 -1
  56. package/dist/esm/AdSlot.js +1 -1
  57. package/dist/esm/AdSlotsProvider.js +1 -1
  58. package/dist/esm/AlgoliaSearch.js +144 -20
  59. package/dist/esm/AlphabeticList.js +1 -1
  60. package/dist/esm/ArticleCarousel.js +1 -1
  61. package/dist/esm/ArticleProgramLandingPage.js +2 -2
  62. package/dist/esm/ArticleSeriesLandingPage.js +3 -3
  63. package/dist/esm/ArticleSeriesListing.js +1 -1
  64. package/dist/esm/Auth.js +20 -18
  65. package/dist/esm/AuthWrapper.js +19 -13
  66. package/dist/esm/Beam.js +1 -1
  67. package/dist/esm/Breadcrumbs.js +1 -1
  68. package/dist/esm/CMEDeck.js +6 -2
  69. package/dist/esm/Column1.js +1 -2
  70. package/dist/esm/Column2.js +1 -2
  71. package/dist/esm/Column3.js +1 -2
  72. package/dist/esm/ConferenceArticleCard.js +1 -1
  73. package/dist/esm/ContentCardPaginated.js +3 -4
  74. package/dist/esm/DeckContent.js +2 -2
  75. package/dist/esm/DeckQueue.js +1 -1
  76. package/dist/esm/DeckQueuePaginated.js +2 -3
  77. package/dist/esm/Dfp-102f0beb.js +1 -1
  78. package/dist/esm/EventsDeck.js +1 -1
  79. package/dist/esm/ExternalResources.js +2 -2
  80. package/dist/esm/Feature.js +1 -1
  81. package/dist/esm/ForbesHero.js +1 -1
  82. package/dist/esm/GridContent.js +3 -3
  83. package/dist/esm/GridContentPaginated.js +4 -5
  84. package/dist/esm/GridHero.js +1 -1
  85. package/dist/esm/GroupDeck.js +1 -1
  86. package/dist/esm/HamMagazine.js +1 -2
  87. package/dist/esm/Header.js +1 -2
  88. package/dist/esm/HealthCareProfessionalModal.js +1 -1
  89. package/dist/esm/Hero.js +1 -1
  90. package/dist/esm/HighlightenVideo.js +1 -1
  91. package/dist/esm/HorizontalArticleListing.js +2 -2
  92. package/dist/esm/HorizontalHero.js +1 -1
  93. package/dist/esm/IssueContentDeck.js +1 -1
  94. package/dist/esm/IssueDeck.js +1 -1
  95. package/dist/esm/IssueLanding.js +4 -4
  96. package/dist/esm/KMTracker.js +1 -1
  97. package/dist/esm/LeftNav.js +1 -2
  98. package/dist/esm/MasterDeck.js +3 -3
  99. package/dist/esm/MasterDeckPaginated.js +4 -5
  100. package/dist/esm/{MediaSeriesCard-305a9cb3.js → MediaSeriesCard-da5c7499.js} +65 -43
  101. package/dist/esm/MediaSeriesLanding.js +5 -5
  102. package/dist/esm/MediaSeriesLandingPaginated.js +6 -7
  103. package/dist/esm/NavDvm.js +1 -2
  104. package/dist/esm/NavMagazine.js +1 -2
  105. package/dist/esm/NavNative.js +1 -2
  106. package/dist/esm/OncliveHero.js +1 -1
  107. package/dist/esm/OncliveLargeHero.js +1 -1
  108. package/dist/esm/PageFilter.js +1 -1
  109. package/dist/esm/Pagination-dc30727b.js +90 -0
  110. package/dist/esm/PartnerDetailListing.js +4 -4
  111. package/dist/esm/PartnerDetailListingPaginated.js +5 -6
  112. package/dist/esm/PdfDownload.js +1 -1
  113. package/dist/esm/PopUpModal.js +1 -1
  114. package/dist/esm/PubSection.js +3 -3
  115. package/dist/esm/PubToc.js +1 -1
  116. package/dist/esm/PublicationDeck.js +1 -1
  117. package/dist/esm/PublicationLanding.js +1 -1
  118. package/dist/esm/QueueDeckExpanded.js +3 -3
  119. package/dist/esm/QueueDeckExpandedPaginated.js +4 -5
  120. package/dist/esm/RecentNews.js +1 -1
  121. package/dist/esm/RelatedContent.js +1 -1
  122. package/dist/esm/RelatedTopicsDropdown.js +1 -1
  123. package/dist/esm/RolesDeck.js +1 -1
  124. package/dist/esm/Schema.js +1 -1
  125. package/dist/esm/Search.js +1 -1
  126. package/dist/esm/Segment.js +51 -2
  127. package/dist/esm/SeriesListingDeck.js +1 -1
  128. package/dist/esm/SetCookie.js +1 -1
  129. package/dist/esm/SideFooter.js +1 -1
  130. package/dist/esm/SocialIcons.js +1 -1
  131. package/dist/esm/SocialShare.js +1 -1
  132. package/dist/esm/TaxonomyCard.js +1 -1
  133. package/dist/esm/TaxonomyDescription.js +2 -2
  134. package/dist/esm/TemplateNormal.js +1 -1
  135. package/dist/esm/ThumbnailCard.js +1 -1
  136. package/dist/esm/Ustream.js +1 -1
  137. package/dist/esm/VerticalHero.js +1 -1
  138. package/dist/esm/VideoProgramLandingPage.js +2 -2
  139. package/dist/esm/VideoSeriesCard.js +1 -1
  140. package/dist/esm/VideoSeriesFilter.js +1 -1
  141. package/dist/esm/VideoSeriesLandingPage.js +3 -3
  142. package/dist/esm/VideoSeriesListing.js +1 -1
  143. package/dist/esm/View.js +166 -55
  144. package/dist/esm/YahooHero.js +1 -1
  145. package/dist/esm/YoutubeGroup.js +1 -1
  146. package/dist/esm/getKeywords.js +1 -1
  147. package/dist/esm/getQuery.js +1 -1
  148. package/dist/esm/getRelatedArticle.js +1 -1
  149. package/dist/esm/getRootDocGroup.js +1 -1
  150. package/dist/esm/getSerializers.js +1 -1
  151. package/dist/esm/getSeriesDetail.js +1 -1
  152. package/dist/esm/index.js +3 -4
  153. package/dist/esm/stringify-2b084bee.js +1 -1
  154. package/dist/esm/timeDifferenceCalc.js +1 -1
  155. package/dist/esm/urlFor.js +1 -1
  156. package/dist/esm/ustream-api-d3714624.js +1 -1
  157. package/package.json +1 -1
  158. package/dist/cjs/Pagination-1e0d5f1d.js +0 -90
  159. package/dist/cjs/PtceDeck.js +0 -223
  160. package/dist/cjs/getPtceActivities.js +0 -78
  161. package/dist/esm/Pagination-cd21f8c2.js +0 -82
  162. package/dist/esm/PtceDeck.js +0 -215
  163. package/dist/esm/getPtceActivities.js +0 -76
  164. /package/dist/cjs/{ADInfeed-81006615.js → ADInfeed-e87afe8a.js} +0 -0
  165. /package/dist/cjs/{ADlgInfeed-0db07099.js → ADlgInfeed-b5a3d436.js} +0 -0
  166. /package/dist/cjs/{index-eb1c583d.js → index-f064c482.js} +0 -0
  167. /package/dist/esm/{ADInfeed-6d1fc6bf.js → ADInfeed-5765a73a.js} +0 -0
  168. /package/dist/esm/{ADlgInfeed-dc36c928.js → ADlgInfeed-5e36f317.js} +0 -0
  169. /package/dist/esm/{index-264bbd3c.js → index-8f118089.js} +0 -0
@@ -2,7 +2,7 @@
2
2
 
3
3
  require('./extends-7c86182f.js');
4
4
  require('react');
5
- var getSerializers = require('./index-eb1c583d.js');
5
+ var getSerializers = require('./index-f064c482.js');
6
6
  require('./BlockContent-9ebd251f.js');
7
7
  require('./entities-df1aed86.js');
8
8
  require('./_commonjsHelpers-06173234.js');
package/dist/cjs/index.js CHANGED
@@ -90,7 +90,7 @@ var VerticalHero = require('./VerticalHero.js');
90
90
  var YahooHero = require('./YahooHero.js');
91
91
  var GridHero = require('./GridHero.js');
92
92
  var ConferenceArticleCard = require('./ConferenceArticleCard.js');
93
- var getSerializers = require('./index-eb1c583d.js');
93
+ var getSerializers = require('./index-f064c482.js');
94
94
  var Beam = require('./Beam.js');
95
95
  var Segment = require('./Segment.js');
96
96
  var KMTracker = require('./KMTracker.js');
@@ -134,9 +134,9 @@ require('./visibility-sensor-eb2c5b69.js');
134
134
  require('react-dom');
135
135
  require('./main-f1c77adb.js');
136
136
  require('./entities-df1aed86.js');
137
- require('./ADInfeed-81006615.js');
137
+ require('./ADInfeed-e87afe8a.js');
138
138
  require('./lodash-f0783643.js');
139
- require('./ADlgInfeed-0db07099.js');
139
+ require('./ADlgInfeed-b5a3d436.js');
140
140
  require('./getContentCategory-f38a4c00.js');
141
141
  require('./get-5839e5b5.js');
142
142
  require('./eq-5fc26c07.js');
@@ -198,7 +198,6 @@ require('./md5-e1ca5797.js');
198
198
  require('./SeriesSlider-594b19eb.js');
199
199
  require('./style-inject.es-dcee06b6.js');
200
200
  require('disqus-react');
201
- require('file-saver');
202
201
  require('react-twitter-embed');
203
202
  require('./ImageSlider-6c00b878.js');
204
203
  require('./defineProperty-e0fb52c5.js');
@@ -103,4 +103,4 @@ var UstreamEmbed = function () {
103
103
  }), window.UstreamEmbed = a;
104
104
  }();
105
105
 
106
- exports.default = UstreamEmbed;
106
+ exports['default'] = UstreamEmbed;
package/dist/esm/AD.js CHANGED
@@ -23,4 +23,4 @@ var AD = function AD(props) {
23
23
  );
24
24
  };
25
25
 
26
- export default AD;
26
+ export { AD as default };
@@ -87,4 +87,4 @@ var AD300x250 = function AD300x250(_ref) {
87
87
  );
88
88
  };
89
89
 
90
- export default AD300x250;
90
+ export { AD300x250 as default };
@@ -104,4 +104,4 @@ var AD300x250x600 = function AD300x250x600(_ref) {
104
104
  );
105
105
  };
106
106
 
107
- export default AD300x250x600;
107
+ export { AD300x250x600 as default };
@@ -101,4 +101,4 @@ var AD728x90 = function AD728x90(_ref) {
101
101
  );
102
102
  };
103
103
 
104
- export default AD728x90;
104
+ export { AD728x90 as default };
@@ -133,4 +133,4 @@ var ADFloatingFooter = function ADFloatingFooter(_ref) {
133
133
  );
134
134
  };
135
135
 
136
- export default ADFloatingFooter;
136
+ export { ADFloatingFooter as default };
@@ -44,4 +44,4 @@ var ADFooter = function ADFooter(_ref) {
44
44
  );
45
45
  };
46
46
 
47
- export default ADFooter;
47
+ export { ADFooter as default };
@@ -107,4 +107,4 @@ var ADGutter = function ADGutter(_ref) {
107
107
  } else return null;
108
108
  };
109
109
 
110
- export default ADGutter;
110
+ export { ADGutter as default };
@@ -109,4 +109,4 @@ var ADSkyscraper = function ADSkyscraper(_ref) {
109
109
  } else return null;
110
110
  };
111
111
 
112
- export default ADSkyscraper;
112
+ export { ADSkyscraper as default };
@@ -106,4 +106,4 @@ var ADSponsoredResources = function ADSponsoredResources(_ref) {
106
106
  } else return null;
107
107
  };
108
108
 
109
- export default ADSponsoredResources;
109
+ export { ADSponsoredResources as default };
@@ -111,4 +111,4 @@ var ADWebcast = function ADWebcast(_ref) {
111
111
  } else return null;
112
112
  };
113
113
 
114
- export default ADWebcast;
114
+ export { ADWebcast as default };
@@ -158,4 +158,4 @@ var ADWelcome = function ADWelcome(_ref) {
158
158
  );
159
159
  };
160
160
 
161
- export default ADWelcome;
161
+ export { ADWelcome as default };
@@ -84,4 +84,4 @@ var AccordionPanel = function AccordionPanel(props) {
84
84
  );
85
85
  };
86
86
 
87
- export default AccordionPanel;
87
+ export { AccordionPanel as default };
@@ -242,4 +242,4 @@ DFPAdSlot.propTypes = {
242
242
  sizes: PropTypes.array
243
243
  };
244
244
 
245
- export default DFPAdSlot;
245
+ export { DFPAdSlot as default };
@@ -174,4 +174,4 @@ var AdSlotsProvider = function AdSlotsProvider(_ref) {
174
174
  );
175
175
  };
176
176
 
177
- export default AdSlotsProvider;
177
+ export { AdSlotsProvider as default };
@@ -1,7 +1,7 @@
1
1
  import { _ as _extends$1 } from './extends-6d8e3924.js';
2
2
  import { _ as _inherits$1, a as _classCallCheck$1, b as _possibleConstructorReturn$1, c as _Object$getPrototypeOf, d as _createClass$1 } from './inherits-a6ba2ec4.js';
3
3
  import { _ as _typeof$2 } from './typeof-e9fc0c5d.js';
4
- import React__default, { createContext, Component, Children, version as version$2 } from 'react';
4
+ import React__default, { createContext, Component, Fragment, Children, version as version$2 } from 'react';
5
5
  import PropTypes from 'prop-types';
6
6
  import { _ as _typeof$1 } from './typeof-2f07d0e8.js';
7
7
  import { _ as _objectWithoutPropertiesLoose$1, a as _setPrototypeOf, b as _extends, c as classnames } from './index-98ca9cec.js';
@@ -108,6 +108,8 @@ function _assertThisInitialized(self) {
108
108
  function _possibleConstructorReturn(self, call) {
109
109
  if (call && (_typeof$1(call) === "object" || typeof call === "function")) {
110
110
  return call;
111
+ } else if (call !== void 0) {
112
+ throw new TypeError("Derived constructors may only return object or undefined");
111
113
  }
112
114
 
113
115
  return _assertThisInitialized(self);
@@ -822,7 +824,7 @@ function parseAlgoliaHit(_ref2) {
822
824
  });
823
825
  }
824
826
 
825
- var version$1 = '6.11.2';
827
+ var version$1 = '6.12.1';
826
828
 
827
829
  var withKeysPropType = function withKeysPropType(keys) {
828
830
  return function (props, propName, componentName) {
@@ -904,6 +906,10 @@ function translatable(defaultTranslations) {
904
906
  function getIndexId(context) {
905
907
  return hasMultipleIndices(context) ? context.multiIndexContext.targetedIndex : context.ais.mainTargetedIndex;
906
908
  }
909
+ /**
910
+ * @returns {import('algoliasearch-helper').SearchResults} results
911
+ */
912
+
907
913
  function getResults(searchResults, context) {
908
914
  if (searchResults.results) {
909
915
  if (searchResults.results.hits) {
@@ -4768,7 +4774,7 @@ var requestBuilder = {
4768
4774
 
4769
4775
  var requestBuilder_1 = requestBuilder;
4770
4776
 
4771
- var version = '3.5.3';
4777
+ var version = '3.5.5';
4772
4778
 
4773
4779
  /**
4774
4780
  * Event triggered when a parameter is set or updated
@@ -6416,6 +6422,87 @@ ConfigureRelatedItems.propTypes = {
6416
6422
  };
6417
6423
  connectConfigureRelatedItems(ConfigureRelatedItems);
6418
6424
 
6425
+ var connectDynamicWidgets = createConnectorWithContext({
6426
+ displayName: 'AlgoliaDynamicWidgets',
6427
+ defaultProps: {
6428
+ transformItems: function transformItems(items) {
6429
+ return items;
6430
+ }
6431
+ },
6432
+ propTypes: {
6433
+ transformItems: PropTypes.func
6434
+ },
6435
+ getProvidedProps: function getProvidedProps(props, _searchState, searchResults) {
6436
+ var results = getResults(searchResults, {
6437
+ ais: props.contextValue,
6438
+ multiIndexContext: props.indexContextValue
6439
+ });
6440
+
6441
+ if (!results) {
6442
+ return {
6443
+ attributesToRender: []
6444
+ };
6445
+ }
6446
+
6447
+ var facetOrder = results.renderingContent && results.renderingContent.facetOrdering && results.renderingContent.facetOrdering.facets && results.renderingContent.facetOrdering.facets.order || [];
6448
+ return {
6449
+ attributesToRender: props.transformItems(facetOrder, {
6450
+ results: results
6451
+ })
6452
+ };
6453
+ }
6454
+ });
6455
+
6456
+ function getAttribute(component) {
6457
+ if (_typeof(component) !== 'object') {
6458
+ return undefined;
6459
+ }
6460
+
6461
+ if (component.props.attribute) {
6462
+ return component.props.attribute;
6463
+ }
6464
+
6465
+ if (Array.isArray(component.props.attributes)) {
6466
+ return component.props.attributes[0];
6467
+ }
6468
+
6469
+ if (component.props.children) {
6470
+ return getAttribute(React__default.Children.only(component.props.children));
6471
+ }
6472
+
6473
+ return undefined;
6474
+ }
6475
+
6476
+ function DynamicWidgets(_ref) {
6477
+ var children = _ref.children,
6478
+ attributesToRender = _ref.attributesToRender,
6479
+ _ref$fallbackComponen = _ref.fallbackComponent,
6480
+ Fallback = _ref$fallbackComponen === void 0 ? function () {
6481
+ return null;
6482
+ } : _ref$fallbackComponen;
6483
+ var widgets = new Map();
6484
+ React__default.Children.forEach(children, function (child) {
6485
+ var attribute = getAttribute(child);
6486
+
6487
+ if (!attribute) {
6488
+ throw new Error("Could not find \"attribute\" prop for ".concat(getDisplayName(child), "."));
6489
+ }
6490
+
6491
+ widgets.set(attribute, child);
6492
+ }); // on initial render this will be empty, but React InstantSearch keeps
6493
+ // search state for unmounted components in place, so routing works.
6494
+
6495
+ return React__default.createElement(React__default.Fragment, null, attributesToRender.map(function (attribute) {
6496
+ return React__default.createElement(Fragment, {
6497
+ key: attribute
6498
+ }, widgets.get(attribute) || React__default.createElement(Fallback, {
6499
+ attribute: attribute
6500
+ }));
6501
+ }));
6502
+ }
6503
+
6504
+ connectDynamicWidgets(DynamicWidgets);
6505
+
6419
6506
  // A context rule must consist only of alphanumeric characters, hyphens, and underscores.
6420
6507
  // See https://www.algolia.com/doc/guides/managing-results/refine-results/merchandising-and-promoting/in-depth/implementing-query-rules/#context
6421
6508
  function escapeRuleContext(ruleName) {
@@ -7261,15 +7348,21 @@ function hydrateMetadata(resultsState) {
7261
7348
 
7262
7349
  return resultsState.metadata.map(function (datum) {
7263
7350
  return _objectSpread({
7264
- value: function value() {}
7351
+ value: function value() {
7352
+ return {};
7353
+ }
7265
7354
  }, datum, {
7266
7355
  items: datum.items && datum.items.map(function (item) {
7267
7356
  return _objectSpread({
7268
- value: function value() {}
7357
+ value: function value() {
7358
+ return {};
7359
+ }
7269
7360
  }, item, {
7270
7361
  items: item.items && item.items.map(function (nestedItem) {
7271
7362
  return _objectSpread({
7272
- value: function value() {}
7363
+ value: function value() {
7364
+ return {};
7365
+ }
7273
7366
  }, nestedItem);
7274
7367
  })
7275
7368
  });
@@ -7825,7 +7918,8 @@ var connectHierarchicalMenu = createConnectorWithContext({
7825
7918
  showMore: PropTypes.bool,
7826
7919
  limit: PropTypes.number,
7827
7920
  showMoreLimit: PropTypes.number,
7828
- transformItems: PropTypes.func
7921
+ transformItems: PropTypes.func,
7922
+ facetOrdering: PropTypes.bool
7829
7923
  },
7830
7924
  defaultProps: {
7831
7925
  showMore: false,
@@ -7833,12 +7927,14 @@ var connectHierarchicalMenu = createConnectorWithContext({
7833
7927
  showMoreLimit: 20,
7834
7928
  separator: ' > ',
7835
7929
  rootPath: null,
7836
- showParentLevel: true
7930
+ showParentLevel: true,
7931
+ facetOrdering: true
7837
7932
  },
7838
7933
  getProvidedProps: function getProvidedProps(props, searchState, searchResults) {
7839
7934
  var showMore = props.showMore,
7840
7935
  limit = props.limit,
7841
- showMoreLimit = props.showMoreLimit;
7936
+ showMoreLimit = props.showMoreLimit,
7937
+ facetOrdering = props.facetOrdering;
7842
7938
  var id = getId$c(props);
7843
7939
  var results = getResults(searchResults, {
7844
7940
  ais: props.contextValue,
@@ -7859,7 +7955,8 @@ var connectHierarchicalMenu = createConnectorWithContext({
7859
7955
 
7860
7956
  var itemsLimit = showMore ? showMoreLimit : limit;
7861
7957
  var value = results.getFacetValues(id, {
7862
- sortBy: sortBy$1
7958
+ sortBy: sortBy$1,
7959
+ facetOrdering: facetOrdering
7863
7960
  });
7864
7961
  var items = value.data ? transformValue(value.data, props, searchState, {
7865
7962
  ais: props.contextValue,
@@ -8411,17 +8508,20 @@ var connectMenu = createConnectorWithContext({
8411
8508
  showMoreLimit: PropTypes.number,
8412
8509
  defaultRefinement: PropTypes.string,
8413
8510
  transformItems: PropTypes.func,
8414
- searchable: PropTypes.bool
8511
+ searchable: PropTypes.bool,
8512
+ facetOrdering: PropTypes.bool
8415
8513
  },
8416
8514
  defaultProps: {
8417
8515
  showMore: false,
8418
8516
  limit: 10,
8419
- showMoreLimit: 20
8517
+ showMoreLimit: 20,
8518
+ facetOrdering: true
8420
8519
  },
8421
8520
  getProvidedProps: function getProvidedProps(props, searchState, searchResults, meta, searchForFacetValuesResults) {
8422
8521
  var attribute = props.attribute,
8423
8522
  searchable = props.searchable,
8424
- indexContextValue = props.indexContextValue;
8523
+ indexContextValue = props.indexContextValue,
8524
+ facetOrdering = props.facetOrdering;
8425
8525
  var results = getResults(searchResults, {
8426
8526
  ais: props.contextValue,
8427
8527
  multiIndexContext: props.indexContextValue
@@ -8467,7 +8567,8 @@ var connectMenu = createConnectorWithContext({
8467
8567
  });
8468
8568
  } else {
8469
8569
  items = results.getFacetValues(attribute, {
8470
- sortBy: searchable ? undefined : defaultSortBy
8570
+ sortBy: searchable ? undefined : defaultSortBy,
8571
+ facetOrdering: facetOrdering
8471
8572
  }).map(function (v) {
8472
8573
  return {
8473
8574
  label: v.name,
@@ -9324,18 +9425,21 @@ var connectRefinementList = createConnectorWithContext({
9324
9425
  showMoreLimit: PropTypes.number,
9325
9426
  defaultRefinement: PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.string, PropTypes.number])),
9326
9427
  searchable: PropTypes.bool,
9327
- transformItems: PropTypes.func
9428
+ transformItems: PropTypes.func,
9429
+ facetOrdering: PropTypes.bool
9328
9430
  },
9329
9431
  defaultProps: {
9330
9432
  operator: 'or',
9331
9433
  showMore: false,
9332
9434
  limit: 10,
9333
- showMoreLimit: 20
9435
+ showMoreLimit: 20,
9436
+ facetOrdering: true
9334
9437
  },
9335
9438
  getProvidedProps: function getProvidedProps(props, searchState, searchResults, metadata, searchForFacetValuesResults) {
9336
9439
  var attribute = props.attribute,
9337
9440
  searchable = props.searchable,
9338
- indexContextValue = props.indexContextValue;
9441
+ indexContextValue = props.indexContextValue,
9442
+ facetOrdering = props.facetOrdering;
9339
9443
  var results = getResults(searchResults, {
9340
9444
  ais: props.contextValue,
9341
9445
  multiIndexContext: props.indexContextValue
@@ -9376,7 +9480,8 @@ var connectRefinementList = createConnectorWithContext({
9376
9480
  isRefined: v.isRefined
9377
9481
  };
9378
9482
  }) : results.getFacetValues(attribute, {
9379
- sortBy: sortBy
9483
+ sortBy: sortBy,
9484
+ facetOrdering: facetOrdering
9380
9485
  }).map(function (v) {
9381
9486
  return {
9382
9487
  label: v.name,
@@ -10876,6 +10981,7 @@ function (_Component) {
10876
10981
 
10877
10982
  var _this$props4 = this.props,
10878
10983
  className = _this$props4.className,
10984
+ inputId = _this$props4.inputId,
10879
10985
  translate = _this$props4.translate,
10880
10986
  autoFocus = _this$props4.autoFocus,
10881
10987
  loadingIndicator = _this$props4.loadingIndicator,
@@ -10903,6 +11009,7 @@ function (_Component) {
10903
11009
  role: "search"
10904
11010
  }, React__default.createElement("input", _extends({
10905
11011
  ref: this.onInputMount,
11012
+ id: inputId,
10906
11013
  type: "search",
10907
11014
  placeholder: translate('placeholder'),
10908
11015
  autoFocus: autoFocus,
@@ -10954,7 +11061,8 @@ _defineProperty(SearchBox$1, "propTypes", {
10954
11061
  showLoadingIndicator: PropTypes.bool,
10955
11062
  inputRef: PropTypes.oneOfType([PropTypes.func, PropTypes.exact({
10956
11063
  current: PropTypes.object
10957
- })])
11064
+ })]),
11065
+ inputId: PropTypes.string
10958
11066
  });
10959
11067
 
10960
11068
  _defineProperty(SearchBox$1, "defaultProps", {
@@ -11593,9 +11701,11 @@ function (_Component) {
11593
11701
  value: function render() {
11594
11702
  var _this$props = this.props,
11595
11703
  cx = _this$props.cx,
11704
+ id = _this$props.id,
11596
11705
  items = _this$props.items,
11597
11706
  selectedItem = _this$props.selectedItem;
11598
11707
  return React__default.createElement("select", {
11708
+ id: id,
11599
11709
  className: cx('select'),
11600
11710
  value: selectedItem,
11601
11711
  onChange: this.onChange
@@ -11615,6 +11725,7 @@ function (_Component) {
11615
11725
 
11616
11726
  _defineProperty(Select, "propTypes", {
11617
11727
  cx: PropTypes.func.isRequired,
11728
+ id: PropTypes.string,
11618
11729
  onSelect: PropTypes.func.isRequired,
11619
11730
  items: PropTypes.arrayOf(PropTypes.shape({
11620
11731
  value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).isRequired,
@@ -11642,6 +11753,7 @@ function (_Component) {
11642
11753
  key: "render",
11643
11754
  value: function render() {
11644
11755
  var _this$props = this.props,
11756
+ id = _this$props.id,
11645
11757
  items = _this$props.items,
11646
11758
  currentRefinement = _this$props.currentRefinement,
11647
11759
  refine = _this$props.refine,
@@ -11649,6 +11761,7 @@ function (_Component) {
11649
11761
  return React__default.createElement("div", {
11650
11762
  className: classnames(cx$h(''), className)
11651
11763
  }, React__default.createElement(Select, {
11764
+ id: id,
11652
11765
  onSelect: refine,
11653
11766
  selectedItem: currentRefinement,
11654
11767
  items: items,
@@ -11661,6 +11774,7 @@ function (_Component) {
11661
11774
  }(Component);
11662
11775
 
11663
11776
  _defineProperty(HitsPerPage, "propTypes", {
11777
+ id: PropTypes.string,
11664
11778
  items: PropTypes.arrayOf(PropTypes.shape({
11665
11779
  value: PropTypes.number.isRequired,
11666
11780
  label: PropTypes.string
@@ -11683,6 +11797,7 @@ _defineProperty(HitsPerPage, "defaultProps", {
11683
11797
  *
11684
11798
  * @name HitsPerPage
11685
11799
  * @kind widget
11800
+ * @propType {string} id - The id of the select input
11686
11801
  * @propType {{value: number, label: string}[]} items - List of available options.
11687
11802
  * @propType {number} defaultRefinement - The number of items selected by default
11688
11803
  * @propType {function} [transformItems] - Function to modify the items being displayed, e.g. for filtering or sorting them. Takes an items as parameter and expects it back in return.
@@ -12051,6 +12166,7 @@ function (_Component) {
12051
12166
  key: "render",
12052
12167
  value: function render() {
12053
12168
  var _this$props = this.props,
12169
+ id = _this$props.id,
12054
12170
  items = _this$props.items,
12055
12171
  canRefine = _this$props.canRefine,
12056
12172
  translate = _this$props.translate,
@@ -12058,6 +12174,7 @@ function (_Component) {
12058
12174
  return React__default.createElement("div", {
12059
12175
  className: classnames(cx$e('', !canRefine && '-noRefinement'), className)
12060
12176
  }, React__default.createElement("select", {
12177
+ id: id,
12061
12178
  value: this.selectedValue,
12062
12179
  onChange: this.handleSelectChange,
12063
12180
  className: cx$e('select')
@@ -12090,6 +12207,7 @@ function (_Component) {
12090
12207
  }(Component);
12091
12208
 
12092
12209
  _defineProperty(MenuSelect, "propTypes", {
12210
+ id: PropTypes.string,
12093
12211
  items: PropTypes.arrayOf(PropTypes.shape({
12094
12212
  label: PropTypes.string.isRequired,
12095
12213
  value: PropTypes.string.isRequired,
@@ -12116,6 +12234,7 @@ var MenuSelect$1 = translatable({
12116
12234
  * @kind widget
12117
12235
  * @requirements The attribute passed to the `attribute` prop must be present in "attributes for faceting"
12118
12236
  * on the Algolia dashboard or configured as `attributesForFaceting` via a set settings call to the Algolia API.
12237
+ * @propType {string} id - the id of the select input
12119
12238
  * @propType {string} attribute - the name of the attribute in the record
12120
12239
  * @propType {string} [defaultRefinement] - the value of the item selected by default
12121
12240
  * @propType {number} [limit=10] - the minimum number of diplayed items
@@ -13447,6 +13566,7 @@ connectScrollTo(ScrollTo);
13447
13566
  * @propType {node} [reset] - Change the apparence of the default reset button (cross).
13448
13567
  * @propType {node} [loadingIndicator] - Change the apparence of the default loading indicator (spinning circle).
13449
13568
  * @propType {string} [defaultRefinement] - Provide default refinement value when component is mounted.
13569
+ * @propType {string} [inputId] - The id of the search input
13450
13570
  * @propType {boolean} [showLoadingIndicator=false] - Display that the search is loading. This only happens after a certain amount of time to avoid a blinking effect. This timer can be configured with `stalledSearchDelay` props on <InstantSearch>. By default, the value is 200ms.
13451
13571
  * @themeKey ais-SearchBox - the root div of the widget
13452
13572
  * @themeKey ais-SearchBox-form - the wrapping form
@@ -13597,6 +13717,7 @@ function (_Component) {
13597
13717
  key: "render",
13598
13718
  value: function render() {
13599
13719
  var _this$props = this.props,
13720
+ id = _this$props.id,
13600
13721
  items = _this$props.items,
13601
13722
  currentRefinement = _this$props.currentRefinement,
13602
13723
  refine = _this$props.refine,
@@ -13604,6 +13725,7 @@ function (_Component) {
13604
13725
  return React__default.createElement("div", {
13605
13726
  className: classnames(cx$4(''), className)
13606
13727
  }, React__default.createElement(Select, {
13728
+ id: id,
13607
13729
  cx: cx$4,
13608
13730
  items: items,
13609
13731
  selectedItem: currentRefinement,
@@ -13616,6 +13738,7 @@ function (_Component) {
13616
13738
  }(Component);
13617
13739
 
13618
13740
  _defineProperty(SortBy, "propTypes", {
13741
+ id: PropTypes.string,
13619
13742
  items: PropTypes.arrayOf(PropTypes.shape({
13620
13743
  label: PropTypes.string,
13621
13744
  value: PropTypes.string.isRequired
@@ -13635,6 +13758,7 @@ _defineProperty(SortBy, "defaultProps", {
13635
13758
  * @requirements Algolia handles sorting by creating replica indices. [Read more about sorting](https://www.algolia.com/doc/guides/relevance/sorting/) on
13636
13759
  * the Algolia website.
13637
13760
  * @kind widget
13761
+ * @propType {string} id - The id of the select input
13638
13762
  * @propType {{value: string, label: string}[]} items - The list of indexes to search in.
13639
13763
  * @propType {string} defaultRefinement - The default selected index.
13640
13764
  * @propType {function} [transformItems] - Function to modify the items being displayed, e.g. for filtering or sorting them. Takes an items as parameter and expects it back in return.
@@ -14332,4 +14456,4 @@ AlgoliaSearch.propTypes = {
14332
14456
  refinementAttributes: PropTypes.array
14333
14457
  };
14334
14458
 
14335
- export default AlgoliaSearch;
14459
+ export { AlgoliaSearch as default };
@@ -126,4 +126,4 @@ var AlphabeticList = function AlphabeticList(_ref) {
126
126
  );
127
127
  };
128
128
 
129
- export default AlphabeticList;
129
+ export { AlphabeticList as default };
@@ -37,4 +37,4 @@ function ArticleCarousel(props) {
37
37
  );
38
38
  }
39
39
 
40
- export default ArticleCarousel;
40
+ export { ArticleCarousel as default };
@@ -3,7 +3,7 @@ import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
3
3
  import { _ as _extends } from './extends-6d8e3924.js';
4
4
  import React__default from 'react';
5
5
  import { B as BlockContent } from './BlockContent-1e73bd2c.js';
6
- import { g as getSerializers } from './index-264bbd3c.js';
6
+ import { g as getSerializers } from './index-8f118089.js';
7
7
  import ArticleSeriesListing from './ArticleSeriesListing.js';
8
8
  import './_commonjsHelpers-0c4b6f40.js';
9
9
  import './core.get-iterator-method-ea258bb1.js';
@@ -177,4 +177,4 @@ _context.next = 14;
177
177
  };
178
178
  }();
179
179
 
180
- export default ArticleProgramLandingPage;
180
+ export { ArticleProgramLandingPage as default };
@@ -32,13 +32,13 @@ import './visibility-sensor-72fd8f8b.js';
32
32
  import 'react-dom';
33
33
  import './slicedToArray-6ebcbfea.js';
34
34
  import './index-3f5c03b2.js';
35
- import './ADlgInfeed-dc36c928.js';
35
+ import './ADlgInfeed-5e36f317.js';
36
36
  import './AdSlot.js';
37
37
  import './Beam.js';
38
38
  import './stringify-2b084bee.js';
39
39
  import './Segment.js';
40
40
  import './main-1894c974.js';
41
- import './ADInfeed-6d1fc6bf.js';
41
+ import './ADInfeed-5765a73a.js';
42
42
 
43
43
  var _this = undefined;
44
44
 
@@ -154,4 +154,4 @@ ArticleSeriesLandingPage.getInitialData = function () {
154
154
  };
155
155
  }();
156
156
 
157
- export default ArticleSeriesLandingPage;
157
+ export { ArticleSeriesLandingPage as default };
@@ -306,4 +306,4 @@ var ArticleSeriesListing = function (_React$Component) {
306
306
 
307
307
  var ArticleSeriesListing$1 = withRouter(ArticleSeriesListing);
308
308
 
309
- export default ArticleSeriesListing$1;
309
+ export { ArticleSeriesListing$1 as default };