@mjhls/mjh-framework 1.0.976-eventdeckfix → 1.0.977-docgroup-test

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 (144) hide show
  1. package/dist/cjs/AlgoliaSearch.js +18 -140
  2. package/dist/cjs/Auth.js +17 -20
  3. package/dist/cjs/AuthWrapper.js +12 -18
  4. package/dist/cjs/CMEDeck.js +1 -5
  5. package/dist/cjs/Column1.js +1 -1
  6. package/dist/cjs/Column2.js +1 -1
  7. package/dist/cjs/Column3.js +1 -1
  8. package/dist/cjs/ContentCardPaginated.js +2 -1
  9. package/dist/cjs/DeckQueuePaginated.js +2 -1
  10. package/dist/cjs/Dfp-9be904d5.js +1 -1
  11. package/dist/cjs/GridContentPaginated.js +2 -1
  12. package/dist/cjs/HamMagazine.js +1 -1
  13. package/dist/cjs/Header.js +1 -1
  14. package/dist/cjs/LeftNav.js +1 -1
  15. package/dist/cjs/MasterDeckPaginated.js +2 -1
  16. package/dist/cjs/{MediaSeriesCard-94ff4d11.js → MediaSeriesCard-5bf9813e.js} +42 -64
  17. package/dist/cjs/MediaSeriesLanding.js +1 -1
  18. package/dist/cjs/MediaSeriesLandingPaginated.js +3 -2
  19. package/dist/cjs/NavDvm.js +1 -1
  20. package/dist/cjs/NavMagazine.js +1 -1
  21. package/dist/cjs/NavNative.js +1 -1
  22. package/dist/cjs/Pagination-1e0d5f1d.js +90 -0
  23. package/dist/cjs/PartnerDetailListingPaginated.js +2 -1
  24. package/dist/cjs/QueueDeckExpandedPaginated.js +2 -1
  25. package/dist/cjs/View.js +78 -33
  26. package/dist/cjs/getQuery.js +1 -1
  27. package/dist/cjs/index.js +1 -0
  28. package/dist/cjs/ustream-api-3819e4aa.js +1 -1
  29. package/dist/esm/AD.js +1 -1
  30. package/dist/esm/AD300x250.js +1 -1
  31. package/dist/esm/AD300x250x600.js +1 -1
  32. package/dist/esm/AD728x90.js +1 -1
  33. package/dist/esm/ADFloatingFooter.js +1 -1
  34. package/dist/esm/ADFooter.js +1 -1
  35. package/dist/esm/ADGutter.js +1 -1
  36. package/dist/esm/ADSkyscraper.js +1 -1
  37. package/dist/esm/ADSponsoredResources.js +1 -1
  38. package/dist/esm/ADWebcast.js +1 -1
  39. package/dist/esm/ADWelcome.js +1 -1
  40. package/dist/esm/AccordionPanel.js +1 -1
  41. package/dist/esm/AdSlot.js +1 -1
  42. package/dist/esm/AdSlotsProvider.js +1 -1
  43. package/dist/esm/AlgoliaSearch.js +20 -142
  44. package/dist/esm/AlphabeticList.js +1 -1
  45. package/dist/esm/ArticleCarousel.js +1 -1
  46. package/dist/esm/ArticleProgramLandingPage.js +1 -1
  47. package/dist/esm/ArticleSeriesLandingPage.js +1 -1
  48. package/dist/esm/ArticleSeriesListing.js +1 -1
  49. package/dist/esm/Auth.js +18 -20
  50. package/dist/esm/AuthWrapper.js +13 -19
  51. package/dist/esm/Beam.js +1 -1
  52. package/dist/esm/Breadcrumbs.js +1 -1
  53. package/dist/esm/CMEDeck.js +2 -6
  54. package/dist/esm/Column1.js +2 -1
  55. package/dist/esm/Column2.js +2 -1
  56. package/dist/esm/Column3.js +2 -1
  57. package/dist/esm/ConferenceArticleCard.js +1 -1
  58. package/dist/esm/ContentCardPaginated.js +3 -2
  59. package/dist/esm/DeckContent.js +1 -1
  60. package/dist/esm/DeckQueue.js +1 -1
  61. package/dist/esm/DeckQueuePaginated.js +3 -2
  62. package/dist/esm/Dfp-102f0beb.js +1 -1
  63. package/dist/esm/EventsDeck.js +1 -1
  64. package/dist/esm/ExternalResources.js +1 -1
  65. package/dist/esm/Feature.js +1 -1
  66. package/dist/esm/ForbesHero.js +1 -1
  67. package/dist/esm/GridContent.js +1 -1
  68. package/dist/esm/GridContentPaginated.js +3 -2
  69. package/dist/esm/GridHero.js +1 -1
  70. package/dist/esm/GroupDeck.js +1 -1
  71. package/dist/esm/HamMagazine.js +2 -1
  72. package/dist/esm/Header.js +2 -1
  73. package/dist/esm/HealthCareProfessionalModal.js +1 -1
  74. package/dist/esm/Hero.js +1 -1
  75. package/dist/esm/HighlightenVideo.js +1 -1
  76. package/dist/esm/HorizontalArticleListing.js +1 -1
  77. package/dist/esm/HorizontalHero.js +1 -1
  78. package/dist/esm/IssueContentDeck.js +1 -1
  79. package/dist/esm/IssueDeck.js +1 -1
  80. package/dist/esm/IssueLanding.js +1 -1
  81. package/dist/esm/KMTracker.js +1 -1
  82. package/dist/esm/LeftNav.js +2 -1
  83. package/dist/esm/MasterDeck.js +1 -1
  84. package/dist/esm/MasterDeckPaginated.js +3 -2
  85. package/dist/esm/{MediaSeriesCard-4f07fac6.js → MediaSeriesCard-305a9cb3.js} +42 -64
  86. package/dist/esm/MediaSeriesLanding.js +2 -2
  87. package/dist/esm/MediaSeriesLandingPaginated.js +4 -3
  88. package/dist/esm/NavDvm.js +2 -1
  89. package/dist/esm/NavMagazine.js +2 -1
  90. package/dist/esm/NavNative.js +2 -1
  91. package/dist/esm/OncliveHero.js +1 -1
  92. package/dist/esm/OncliveLargeHero.js +1 -1
  93. package/dist/esm/PageFilter.js +1 -1
  94. package/dist/esm/Pagination-cd21f8c2.js +82 -0
  95. package/dist/esm/PartnerDetailListing.js +1 -1
  96. package/dist/esm/PartnerDetailListingPaginated.js +3 -2
  97. package/dist/esm/PdfDownload.js +1 -1
  98. package/dist/esm/PopUpModal.js +1 -1
  99. package/dist/esm/PtceDeck.js +1 -1
  100. package/dist/esm/PubSection.js +1 -1
  101. package/dist/esm/PubToc.js +1 -1
  102. package/dist/esm/PublicationDeck.js +1 -1
  103. package/dist/esm/PublicationLanding.js +1 -1
  104. package/dist/esm/QueueDeckExpanded.js +1 -1
  105. package/dist/esm/QueueDeckExpandedPaginated.js +3 -2
  106. package/dist/esm/RecentNews.js +1 -1
  107. package/dist/esm/RelatedContent.js +1 -1
  108. package/dist/esm/RelatedTopicsDropdown.js +1 -1
  109. package/dist/esm/RolesDeck.js +1 -1
  110. package/dist/esm/Schema.js +1 -1
  111. package/dist/esm/Search.js +1 -1
  112. package/dist/esm/Segment.js +1 -1
  113. package/dist/esm/SeriesListingDeck.js +1 -1
  114. package/dist/esm/SetCookie.js +1 -1
  115. package/dist/esm/SideFooter.js +1 -1
  116. package/dist/esm/SocialIcons.js +1 -1
  117. package/dist/esm/SocialShare.js +1 -1
  118. package/dist/esm/TaxonomyCard.js +1 -1
  119. package/dist/esm/TaxonomyDescription.js +1 -1
  120. package/dist/esm/TemplateNormal.js +1 -1
  121. package/dist/esm/ThumbnailCard.js +1 -1
  122. package/dist/esm/Ustream.js +1 -1
  123. package/dist/esm/VerticalHero.js +1 -1
  124. package/dist/esm/VideoProgramLandingPage.js +1 -1
  125. package/dist/esm/VideoSeriesCard.js +1 -1
  126. package/dist/esm/VideoSeriesFilter.js +1 -1
  127. package/dist/esm/VideoSeriesLandingPage.js +1 -1
  128. package/dist/esm/VideoSeriesListing.js +1 -1
  129. package/dist/esm/View.js +78 -34
  130. package/dist/esm/YahooHero.js +1 -1
  131. package/dist/esm/YoutubeGroup.js +1 -1
  132. package/dist/esm/getKeywords.js +1 -1
  133. package/dist/esm/getQuery.js +2 -2
  134. package/dist/esm/getRelatedArticle.js +1 -1
  135. package/dist/esm/getRootDocGroup.js +1 -1
  136. package/dist/esm/getSeriesDetail.js +1 -1
  137. package/dist/esm/index.js +1 -0
  138. package/dist/esm/stringify-2b084bee.js +1 -1
  139. package/dist/esm/timeDifferenceCalc.js +1 -1
  140. package/dist/esm/urlFor.js +1 -1
  141. package/dist/esm/ustream-api-d3714624.js +1 -1
  142. package/package.json +1 -1
  143. package/dist/cjs/Pagination-2a3d0103.js +0 -97
  144. package/dist/esm/Pagination-dc30727b.js +0 -90
@@ -13,7 +13,7 @@ var getQuery = function getQuery(type) {
13
13
  case 'related':
14
14
  return '*[\n _type == "article"\n && defined(title)\n && defined(url)\n && !(_id in path("drafts.**"))\n && is_visible == true\n && defined(published) \n && dateTime(published) <= dateTime(now())\n && passwordLock!=true\n && isHealthcareProfessional != true\n && taxonomyMapping[]._ref in $taxonomy\n && taxonomyMapping[].disableAds != \'true\'\n && contentCategory->.name != \'Poll\'\n && contentCategory->.name != \'Slideshows\'\n && contentCategory->.disableAds != \'true\'\n && ExcludeFromInfiniteScroll !=true\n && url.current != $url\n && !defined(body[].videos)\n && !defined(body[].quizzes)\n && !defined(body[].slides)\n && !defined(body[].articles)\n ' + conditions + '\n ]| order(published desc)[' + (articleCount ? articleCount : '$index') + ']{\n ' + params + '\n title,\n published,\n summary,\n thumbnail,\n fieldAbstract,\n ...,\n passwordLock,\n password,\n "authorDetails": authorMapping[]->{ displayName, url, profileImage, biography, showSocialShare },\n body[] {\n ...,\n asset->,\n images[]{\n ...,\n asset->\n },\n content[]{\n ...,\n asset->\n },\n videos[]{\n ...,\n thumbnail{\n _type,\n asset->\n }\n },\n response[]{\n ...,\n asset->\n },\n quizzes[]{\n ...,\n answer[]{\n ...,\n asset->\n },\n question[]{\n ...,\n asset->\n }\n },\n poster {\n _type,\n asset->\n },\n slides[]{\n ...,\n slideshowImage{\n ...,\n asset->\n }\n },\n upload_doc {\n _type,\n asset->\n },\n uploadAudio {\n _type,\n asset->\n }\n },\n \'category\':contentCategory->{\n name,\n disableAds\n },\n \'content_placement\': taxonomyMapping[]-> {\n _id,\n \'ancestor\': parent->parent->identifier,\n \'parent\': parent->identifier,\n \'name\': name,\n \'path\': identifier,\n disableAds,\n showSocialShare,\n pixelTrackingCode->\n },\n documentGroup-> {\n name,\n thumbnail,\n parent->{...,parent->},\n isShow,\n showSocialShare,\n \'path\': identifier.current,\n adTargetingURL,\n hideSeriesSlider,\n pixelTrackingCode->\n },\n documentGroupMapping[]-> {\n _id,\n name,\n thumbnail,\n parent->{...,parent->},\n isShow,\n showSocialShare,\n \'path\': identifier.current,\n adTargetingURL,\n hideSeriesSlider,\n pixelTrackingCode->\n },\n \'issue\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.issueGroup._ref][0] {\n name,\n \'path\': identifier.current,\n show_download_ris_button,\n \'publication\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.parent._ref][0] {\n name,\n \'path\': identifier.current,\n show_download_ris_button,\n },\n \'url\' : pdf.asset-> url,\n \'pdf\': pdf.asset->,\n isbn_issn,\n abbreviatedJournal,\n }\n }';
15
15
  case 'article':
16
- return '*[\n _type == "article"\n && !(_id in path("drafts.**"))\n && defined(title)\n && defined(url)\n && is_visible != false\n && url.current == $url\n ' + conditions + '\n ][0]{\n ' + params + '\n title,\n published,\n summary,\n thumbnail,\n fieldAbstract,\n ...,\n passwordLock,\n password,\n issueGroup-> { _id, name, identifier, parent-> },\n "authorDetails": authorMapping[]->{ displayName, url, profileImage, biography, showSocialShare },\n body[] {\n ...,\n asset->,\n images[]{\n ...,\n asset->\n },\n content[]{\n ...,\n asset->\n },\n videos[]{\n ...,\n thumbnail{\n _type,\n asset->\n }\n },\n response[]{\n ...,\n asset->\n },\n quizzes[]{\n ...,\n answer[]{\n ...,\n asset->\n },\n question[]{\n ...,\n asset->\n }\n },\n poster {\n _type,\n asset->\n },\n slides[]{\n ...,\n slideshowImage{\n ...,\n asset->\n }\n },\n upload_doc {\n _type,\n asset->\n },\n uploadAudio {\n _type,\n asset->\n },\n medias[]{\n ...,\n upload_doc {\n _type,\n asset-> \n },\n poster {\n _type,\n asset-> \n }\n },\n articles[]{\n ...,\n thumbnail{\n ...,\n asset-> \n },\n "authorDetails": authorMapping[]->{ displayName, url, profileImage, biography, showSocialShare },\n text[]{\n ...,\n upload_doc {\n _type,\n asset->\n },\n uploadAudio {\n _type,\n asset->\n },\n }\n }\n },\n \'content_placement\': taxonomyMapping[]-> {\n ...,\n \'ancestor\': parent->parent->identifier,\n \'parent\': parent->identifier,\n \'name\': name,\n \'path\': identifier,\n showSocialShare,\n pixelTrackingCode->\n },\n documentGroup-> {\n _id,\n name,\n thumbnail,\n parent->{...,parent->},\n isShow,\n isSeries,\n disableEpisodeNumber,\n excludeRelatedContents,\n showSocialShare,\n \'path\': identifier.current,\n adTargetingURL,\n hideSeriesSlider,\n pixelTrackingCode->\n },\n documentGroupMapping[]-> {\n _id,\n name,\n thumbnail,\n parent->{...,parent->},\n isShow,\n showSocialShare,\n excludeRelatedContents,\n \'path\': identifier.current,\n hideSeriesSlider,\n pixelTrackingCode->\n },\n \'category\':contentCategory->{\n name,\n disableAds\n },\n \'issue\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.issueGroup._ref][0] {\n name,\n volume,\n year,\n \'issueNumber\': number,\n \'articleSource\': source,\n \'path\': identifier.current,\n show_download_ris_button,\n \'publication\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.parent._ref][0] {\n name,\n \'path\': identifier.current,\n show_download_ris_button,\n },\n \'url\' : pdf.asset-> url,\n \'pdf\': pdf.asset->,\n isbn_issn,\n abbreviatedJournal,\n }\n\n }';
16
+ return '*[\n _type == "article"\n && !(_id in path("drafts.**"))\n && defined(title)\n && defined(url)\n && is_visible != false\n && url.current == $url\n ' + conditions + '\n ][0]{\n ' + params + '\n title,\n published,\n summary,\n thumbnail,\n fieldAbstract,\n ...,\n passwordLock,\n password,\n issueGroup-> { _id, name, identifier, parent-> },\n "authorDetails": authorMapping[]->{ displayName, url, profileImage, biography, showSocialShare },\n body[] {\n ...,\n asset->,\n images[]{\n ...,\n asset->\n },\n content[]{\n ...,\n asset->\n },\n videos[]{\n ...,\n thumbnail{\n _type,\n asset->\n }\n },\n response[]{\n ...,\n asset->\n },\n quizzes[]{\n ...,\n answer[]{\n ...,\n asset->\n },\n question[]{\n ...,\n asset->\n }\n },\n poster {\n _type,\n asset->\n },\n slides[]{\n ...,\n slideshowImage{\n ...,\n asset->\n }\n },\n upload_doc {\n _type,\n asset->\n },\n uploadAudio {\n _type,\n asset->\n },\n medias[]{\n ...,\n upload_doc {\n _type,\n asset-> \n },\n poster {\n _type,\n asset-> \n }\n },\n articles[]{\n ...,\n thumbnail{\n ...,\n asset-> \n },\n "authorDetails": authorMapping[]->{ displayName, url, profileImage, biography, showSocialShare },\n text[]{\n ...,\n upload_doc {\n _type,\n asset->\n },\n uploadAudio {\n _type,\n asset->\n },\n }\n }\n },\n \'content_placement\': taxonomyMapping[]-> {\n ...,\n \'ancestor\': parent->parent->identifier,\n \'parent\': parent->identifier,\n \'name\': name,\n \'path\': identifier,\n showSocialShare,\n pixelTrackingCode->\n },\n documentGroup-> {\n _id,\n name,\n thumbnail,\n parent->{...,parent->},\n isShow,\n isSeries,\n disableEpisodeNumber,\n excludeRelatedContents,\n showSocialShare,\n \'path\': identifier.current,\n adTargetingURL,\n hideSeriesSlider,\n pixelTrackingCode->\n },\n documentGroupMapping[]-> {\n _id,\n name,\n thumbnail,\n isSeries,\n disableEpisodeNumber,\n parent->{...,parent->},\n isShow,\n showSocialShare,\n excludeRelatedContents,\n \'path\': identifier.current,\n hideSeriesSlider,\n pixelTrackingCode->\n },\n \'category\':contentCategory->{\n name,\n disableAds\n },\n \'issue\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.issueGroup._ref][0] {\n name,\n volume,\n year,\n \'issueNumber\': number,\n \'articleSource\': source,\n \'path\': identifier.current,\n show_download_ris_button,\n \'publication\' : *[_type == \'publication\' && !(_id in path("drafts.**")) && is_visible == true && _id == ^.parent._ref][0] {\n name,\n \'path\': identifier.current,\n show_download_ris_button,\n },\n \'url\' : pdf.asset-> url,\n \'pdf\': pdf.asset->,\n isbn_issn,\n abbreviatedJournal,\n }\n\n }';
17
17
  case 'publication':
18
18
  return '*[_type == \'publication\'\n && identifier.current == $publication\n ' + conditions + '][0] {\n ' + params + '\n ...,\n \'issues\': *[_type == \'publication\'\n && is_visible\n && references(^._id)\n && defined(identifier)] {\n ...,\n thumbnail{ ..., asset-> },\n taxonomyMapping[]->,\n pdf{asset->},\n } | order(year desc, month desc)\n }';
19
19
  case 'issue':
package/dist/cjs/index.js CHANGED
@@ -198,6 +198,7 @@ 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');
201
202
  require('react-twitter-embed');
202
203
  require('./ImageSlider-6c00b878.js');
203
204
  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 { AD as default };
26
+ export default AD;
@@ -87,4 +87,4 @@ var AD300x250 = function AD300x250(_ref) {
87
87
  );
88
88
  };
89
89
 
90
- export { AD300x250 as default };
90
+ export default AD300x250;
@@ -104,4 +104,4 @@ var AD300x250x600 = function AD300x250x600(_ref) {
104
104
  );
105
105
  };
106
106
 
107
- export { AD300x250x600 as default };
107
+ export default AD300x250x600;
@@ -101,4 +101,4 @@ var AD728x90 = function AD728x90(_ref) {
101
101
  );
102
102
  };
103
103
 
104
- export { AD728x90 as default };
104
+ export default AD728x90;
@@ -135,4 +135,4 @@ var ADFloatingFooter = function ADFloatingFooter(_ref) {
135
135
  );
136
136
  };
137
137
 
138
- export { ADFloatingFooter as default };
138
+ export default ADFloatingFooter;
@@ -44,4 +44,4 @@ var ADFooter = function ADFooter(_ref) {
44
44
  );
45
45
  };
46
46
 
47
- export { ADFooter as default };
47
+ export default ADFooter;
@@ -107,4 +107,4 @@ var ADGutter = function ADGutter(_ref) {
107
107
  } else return null;
108
108
  };
109
109
 
110
- export { ADGutter as default };
110
+ export default ADGutter;
@@ -109,4 +109,4 @@ var ADSkyscraper = function ADSkyscraper(_ref) {
109
109
  } else return null;
110
110
  };
111
111
 
112
- export { ADSkyscraper as default };
112
+ export default ADSkyscraper;
@@ -106,4 +106,4 @@ var ADSponsoredResources = function ADSponsoredResources(_ref) {
106
106
  } else return null;
107
107
  };
108
108
 
109
- export { ADSponsoredResources as default };
109
+ export default ADSponsoredResources;
@@ -111,4 +111,4 @@ var ADWebcast = function ADWebcast(_ref) {
111
111
  } else return null;
112
112
  };
113
113
 
114
- export { ADWebcast as default };
114
+ export default ADWebcast;
@@ -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;
@@ -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, Fragment, Children, version as version$2 } from 'react';
4
+ import React__default, { createContext, Component, 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';
@@ -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.11.2';
826
826
 
827
827
  var withKeysPropType = function withKeysPropType(keys) {
828
828
  return function (props, propName, componentName) {
@@ -904,10 +904,6 @@ function translatable(defaultTranslations) {
904
904
  function getIndexId(context) {
905
905
  return hasMultipleIndices(context) ? context.multiIndexContext.targetedIndex : context.ais.mainTargetedIndex;
906
906
  }
907
- /**
908
- * @returns {import('algoliasearch-helper').SearchResults} results
909
- */
910
-
911
907
  function getResults(searchResults, context) {
912
908
  if (searchResults.results) {
913
909
  if (searchResults.results.hits) {
@@ -4772,7 +4768,7 @@ var requestBuilder = {
4772
4768
 
4773
4769
  var requestBuilder_1 = requestBuilder;
4774
4770
 
4775
- var version = '3.5.5';
4771
+ var version = '3.5.3';
4776
4772
 
4777
4773
  /**
4778
4774
  * Event triggered when a parameter is set or updated
@@ -6420,87 +6416,6 @@ ConfigureRelatedItems.propTypes = {
6420
6416
  };
6421
6417
  connectConfigureRelatedItems(ConfigureRelatedItems);
6422
6418
 
6423
- var connectDynamicWidgets = createConnectorWithContext({
6424
- displayName: 'AlgoliaDynamicWidgets',
6425
- defaultProps: {
6426
- transformItems: function transformItems(items) {
6427
- return items;
6428
- }
6429
- },
6430
- propTypes: {
6431
- transformItems: PropTypes.func
6432
- },
6433
- getProvidedProps: function getProvidedProps(props, _searchState, searchResults) {
6434
- var results = getResults(searchResults, {
6435
- ais: props.contextValue,
6436
- multiIndexContext: props.indexContextValue
6437
- });
6438
-
6439
- if (!results) {
6440
- return {
6441
- attributesToRender: []
6442
- };
6443
- }
6444
-
6445
- var facetOrder = results.renderingContent && results.renderingContent.facetOrdering && results.renderingContent.facetOrdering.facets && results.renderingContent.facetOrdering.facets.order || [];
6446
- return {
6447
- attributesToRender: props.transformItems(facetOrder, {
6448
- results: results
6449
- })
6450
- };
6451
- }
6452
- });
6453
-
6454
- function getAttribute(component) {
6455
- if (_typeof(component) !== 'object') {
6456
- return undefined;
6457
- }
6458
-
6459
- if (component.props.attribute) {
6460
- return component.props.attribute;
6461
- }
6462
-
6463
- if (Array.isArray(component.props.attributes)) {
6464
- return component.props.attributes[0];
6465
- }
6466
-
6467
- if (component.props.children) {
6468
- return getAttribute(React__default.Children.only(component.props.children));
6469
- }
6470
-
6471
- return undefined;
6472
- }
6473
-
6474
- function DynamicWidgets(_ref) {
6475
- var children = _ref.children,
6476
- attributesToRender = _ref.attributesToRender,
6477
- _ref$fallbackComponen = _ref.fallbackComponent,
6478
- Fallback = _ref$fallbackComponen === void 0 ? function () {
6479
- return null;
6480
- } : _ref$fallbackComponen;
6481
- var widgets = new Map();
6482
- React__default.Children.forEach(children, function (child) {
6483
- var attribute = getAttribute(child);
6484
-
6485
- if (!attribute) {
6486
- throw new Error("Could not find \"attribute\" prop for ".concat(getDisplayName(child), "."));
6487
- }
6488
-
6489
- widgets.set(attribute, child);
6490
- }); // on initial render this will be empty, but React InstantSearch keeps
6491
- // search state for unmounted components in place, so routing works.
6492
-
6493
- return React__default.createElement(React__default.Fragment, null, attributesToRender.map(function (attribute) {
6494
- return React__default.createElement(Fragment, {
6495
- key: attribute
6496
- }, widgets.get(attribute) || React__default.createElement(Fallback, {
6497
- attribute: attribute
6498
- }));
6499
- }));
6500
- }
6501
-
6502
- connectDynamicWidgets(DynamicWidgets);
6503
-
6504
6419
  // A context rule must consist only of alphanumeric characters, hyphens, and underscores.
6505
6420
  // See https://www.algolia.com/doc/guides/managing-results/refine-results/merchandising-and-promoting/in-depth/implementing-query-rules/#context
6506
6421
  function escapeRuleContext(ruleName) {
@@ -7346,21 +7261,15 @@ function hydrateMetadata(resultsState) {
7346
7261
 
7347
7262
  return resultsState.metadata.map(function (datum) {
7348
7263
  return _objectSpread({
7349
- value: function value() {
7350
- return {};
7351
- }
7264
+ value: function value() {}
7352
7265
  }, datum, {
7353
7266
  items: datum.items && datum.items.map(function (item) {
7354
7267
  return _objectSpread({
7355
- value: function value() {
7356
- return {};
7357
- }
7268
+ value: function value() {}
7358
7269
  }, item, {
7359
7270
  items: item.items && item.items.map(function (nestedItem) {
7360
7271
  return _objectSpread({
7361
- value: function value() {
7362
- return {};
7363
- }
7272
+ value: function value() {}
7364
7273
  }, nestedItem);
7365
7274
  })
7366
7275
  });
@@ -7916,8 +7825,7 @@ var connectHierarchicalMenu = createConnectorWithContext({
7916
7825
  showMore: PropTypes.bool,
7917
7826
  limit: PropTypes.number,
7918
7827
  showMoreLimit: PropTypes.number,
7919
- transformItems: PropTypes.func,
7920
- facetOrdering: PropTypes.bool
7828
+ transformItems: PropTypes.func
7921
7829
  },
7922
7830
  defaultProps: {
7923
7831
  showMore: false,
@@ -7925,14 +7833,12 @@ var connectHierarchicalMenu = createConnectorWithContext({
7925
7833
  showMoreLimit: 20,
7926
7834
  separator: ' > ',
7927
7835
  rootPath: null,
7928
- showParentLevel: true,
7929
- facetOrdering: true
7836
+ showParentLevel: true
7930
7837
  },
7931
7838
  getProvidedProps: function getProvidedProps(props, searchState, searchResults) {
7932
7839
  var showMore = props.showMore,
7933
7840
  limit = props.limit,
7934
- showMoreLimit = props.showMoreLimit,
7935
- facetOrdering = props.facetOrdering;
7841
+ showMoreLimit = props.showMoreLimit;
7936
7842
  var id = getId$c(props);
7937
7843
  var results = getResults(searchResults, {
7938
7844
  ais: props.contextValue,
@@ -7953,8 +7859,7 @@ var connectHierarchicalMenu = createConnectorWithContext({
7953
7859
 
7954
7860
  var itemsLimit = showMore ? showMoreLimit : limit;
7955
7861
  var value = results.getFacetValues(id, {
7956
- sortBy: sortBy$1,
7957
- facetOrdering: facetOrdering
7862
+ sortBy: sortBy$1
7958
7863
  });
7959
7864
  var items = value.data ? transformValue(value.data, props, searchState, {
7960
7865
  ais: props.contextValue,
@@ -8506,20 +8411,17 @@ var connectMenu = createConnectorWithContext({
8506
8411
  showMoreLimit: PropTypes.number,
8507
8412
  defaultRefinement: PropTypes.string,
8508
8413
  transformItems: PropTypes.func,
8509
- searchable: PropTypes.bool,
8510
- facetOrdering: PropTypes.bool
8414
+ searchable: PropTypes.bool
8511
8415
  },
8512
8416
  defaultProps: {
8513
8417
  showMore: false,
8514
8418
  limit: 10,
8515
- showMoreLimit: 20,
8516
- facetOrdering: true
8419
+ showMoreLimit: 20
8517
8420
  },
8518
8421
  getProvidedProps: function getProvidedProps(props, searchState, searchResults, meta, searchForFacetValuesResults) {
8519
8422
  var attribute = props.attribute,
8520
8423
  searchable = props.searchable,
8521
- indexContextValue = props.indexContextValue,
8522
- facetOrdering = props.facetOrdering;
8424
+ indexContextValue = props.indexContextValue;
8523
8425
  var results = getResults(searchResults, {
8524
8426
  ais: props.contextValue,
8525
8427
  multiIndexContext: props.indexContextValue
@@ -8565,8 +8467,7 @@ var connectMenu = createConnectorWithContext({
8565
8467
  });
8566
8468
  } else {
8567
8469
  items = results.getFacetValues(attribute, {
8568
- sortBy: searchable ? undefined : defaultSortBy,
8569
- facetOrdering: facetOrdering
8470
+ sortBy: searchable ? undefined : defaultSortBy
8570
8471
  }).map(function (v) {
8571
8472
  return {
8572
8473
  label: v.name,
@@ -9423,21 +9324,18 @@ var connectRefinementList = createConnectorWithContext({
9423
9324
  showMoreLimit: PropTypes.number,
9424
9325
  defaultRefinement: PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.string, PropTypes.number])),
9425
9326
  searchable: PropTypes.bool,
9426
- transformItems: PropTypes.func,
9427
- facetOrdering: PropTypes.bool
9327
+ transformItems: PropTypes.func
9428
9328
  },
9429
9329
  defaultProps: {
9430
9330
  operator: 'or',
9431
9331
  showMore: false,
9432
9332
  limit: 10,
9433
- showMoreLimit: 20,
9434
- facetOrdering: true
9333
+ showMoreLimit: 20
9435
9334
  },
9436
9335
  getProvidedProps: function getProvidedProps(props, searchState, searchResults, metadata, searchForFacetValuesResults) {
9437
9336
  var attribute = props.attribute,
9438
9337
  searchable = props.searchable,
9439
- indexContextValue = props.indexContextValue,
9440
- facetOrdering = props.facetOrdering;
9338
+ indexContextValue = props.indexContextValue;
9441
9339
  var results = getResults(searchResults, {
9442
9340
  ais: props.contextValue,
9443
9341
  multiIndexContext: props.indexContextValue
@@ -9478,8 +9376,7 @@ var connectRefinementList = createConnectorWithContext({
9478
9376
  isRefined: v.isRefined
9479
9377
  };
9480
9378
  }) : results.getFacetValues(attribute, {
9481
- sortBy: sortBy,
9482
- facetOrdering: facetOrdering
9379
+ sortBy: sortBy
9483
9380
  }).map(function (v) {
9484
9381
  return {
9485
9382
  label: v.name,
@@ -10979,7 +10876,6 @@ function (_Component) {
10979
10876
 
10980
10877
  var _this$props4 = this.props,
10981
10878
  className = _this$props4.className,
10982
- inputId = _this$props4.inputId,
10983
10879
  translate = _this$props4.translate,
10984
10880
  autoFocus = _this$props4.autoFocus,
10985
10881
  loadingIndicator = _this$props4.loadingIndicator,
@@ -11007,7 +10903,6 @@ function (_Component) {
11007
10903
  role: "search"
11008
10904
  }, React__default.createElement("input", _extends({
11009
10905
  ref: this.onInputMount,
11010
- id: inputId,
11011
10906
  type: "search",
11012
10907
  placeholder: translate('placeholder'),
11013
10908
  autoFocus: autoFocus,
@@ -11059,8 +10954,7 @@ _defineProperty(SearchBox$1, "propTypes", {
11059
10954
  showLoadingIndicator: PropTypes.bool,
11060
10955
  inputRef: PropTypes.oneOfType([PropTypes.func, PropTypes.exact({
11061
10956
  current: PropTypes.object
11062
- })]),
11063
- inputId: PropTypes.string
10957
+ })])
11064
10958
  });
11065
10959
 
11066
10960
  _defineProperty(SearchBox$1, "defaultProps", {
@@ -11699,11 +11593,9 @@ function (_Component) {
11699
11593
  value: function render() {
11700
11594
  var _this$props = this.props,
11701
11595
  cx = _this$props.cx,
11702
- id = _this$props.id,
11703
11596
  items = _this$props.items,
11704
11597
  selectedItem = _this$props.selectedItem;
11705
11598
  return React__default.createElement("select", {
11706
- id: id,
11707
11599
  className: cx('select'),
11708
11600
  value: selectedItem,
11709
11601
  onChange: this.onChange
@@ -11723,7 +11615,6 @@ function (_Component) {
11723
11615
 
11724
11616
  _defineProperty(Select, "propTypes", {
11725
11617
  cx: PropTypes.func.isRequired,
11726
- id: PropTypes.string,
11727
11618
  onSelect: PropTypes.func.isRequired,
11728
11619
  items: PropTypes.arrayOf(PropTypes.shape({
11729
11620
  value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).isRequired,
@@ -11751,7 +11642,6 @@ function (_Component) {
11751
11642
  key: "render",
11752
11643
  value: function render() {
11753
11644
  var _this$props = this.props,
11754
- id = _this$props.id,
11755
11645
  items = _this$props.items,
11756
11646
  currentRefinement = _this$props.currentRefinement,
11757
11647
  refine = _this$props.refine,
@@ -11759,7 +11649,6 @@ function (_Component) {
11759
11649
  return React__default.createElement("div", {
11760
11650
  className: classnames(cx$h(''), className)
11761
11651
  }, React__default.createElement(Select, {
11762
- id: id,
11763
11652
  onSelect: refine,
11764
11653
  selectedItem: currentRefinement,
11765
11654
  items: items,
@@ -11772,7 +11661,6 @@ function (_Component) {
11772
11661
  }(Component);
11773
11662
 
11774
11663
  _defineProperty(HitsPerPage, "propTypes", {
11775
- id: PropTypes.string,
11776
11664
  items: PropTypes.arrayOf(PropTypes.shape({
11777
11665
  value: PropTypes.number.isRequired,
11778
11666
  label: PropTypes.string
@@ -11795,7 +11683,6 @@ _defineProperty(HitsPerPage, "defaultProps", {
11795
11683
  *
11796
11684
  * @name HitsPerPage
11797
11685
  * @kind widget
11798
- * @propType {string} id - The id of the select input
11799
11686
  * @propType {{value: number, label: string}[]} items - List of available options.
11800
11687
  * @propType {number} defaultRefinement - The number of items selected by default
11801
11688
  * @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.
@@ -12164,7 +12051,6 @@ function (_Component) {
12164
12051
  key: "render",
12165
12052
  value: function render() {
12166
12053
  var _this$props = this.props,
12167
- id = _this$props.id,
12168
12054
  items = _this$props.items,
12169
12055
  canRefine = _this$props.canRefine,
12170
12056
  translate = _this$props.translate,
@@ -12172,7 +12058,6 @@ function (_Component) {
12172
12058
  return React__default.createElement("div", {
12173
12059
  className: classnames(cx$e('', !canRefine && '-noRefinement'), className)
12174
12060
  }, React__default.createElement("select", {
12175
- id: id,
12176
12061
  value: this.selectedValue,
12177
12062
  onChange: this.handleSelectChange,
12178
12063
  className: cx$e('select')
@@ -12205,7 +12090,6 @@ function (_Component) {
12205
12090
  }(Component);
12206
12091
 
12207
12092
  _defineProperty(MenuSelect, "propTypes", {
12208
- id: PropTypes.string,
12209
12093
  items: PropTypes.arrayOf(PropTypes.shape({
12210
12094
  label: PropTypes.string.isRequired,
12211
12095
  value: PropTypes.string.isRequired,
@@ -12232,7 +12116,6 @@ var MenuSelect$1 = translatable({
12232
12116
  * @kind widget
12233
12117
  * @requirements The attribute passed to the `attribute` prop must be present in "attributes for faceting"
12234
12118
  * on the Algolia dashboard or configured as `attributesForFaceting` via a set settings call to the Algolia API.
12235
- * @propType {string} id - the id of the select input
12236
12119
  * @propType {string} attribute - the name of the attribute in the record
12237
12120
  * @propType {string} [defaultRefinement] - the value of the item selected by default
12238
12121
  * @propType {number} [limit=10] - the minimum number of diplayed items
@@ -13564,7 +13447,6 @@ connectScrollTo(ScrollTo);
13564
13447
  * @propType {node} [reset] - Change the apparence of the default reset button (cross).
13565
13448
  * @propType {node} [loadingIndicator] - Change the apparence of the default loading indicator (spinning circle).
13566
13449
  * @propType {string} [defaultRefinement] - Provide default refinement value when component is mounted.
13567
- * @propType {string} [inputId] - The id of the search input
13568
13450
  * @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.
13569
13451
  * @themeKey ais-SearchBox - the root div of the widget
13570
13452
  * @themeKey ais-SearchBox-form - the wrapping form
@@ -13715,7 +13597,6 @@ function (_Component) {
13715
13597
  key: "render",
13716
13598
  value: function render() {
13717
13599
  var _this$props = this.props,
13718
- id = _this$props.id,
13719
13600
  items = _this$props.items,
13720
13601
  currentRefinement = _this$props.currentRefinement,
13721
13602
  refine = _this$props.refine,
@@ -13723,7 +13604,6 @@ function (_Component) {
13723
13604
  return React__default.createElement("div", {
13724
13605
  className: classnames(cx$4(''), className)
13725
13606
  }, React__default.createElement(Select, {
13726
- id: id,
13727
13607
  cx: cx$4,
13728
13608
  items: items,
13729
13609
  selectedItem: currentRefinement,
@@ -13736,7 +13616,6 @@ function (_Component) {
13736
13616
  }(Component);
13737
13617
 
13738
13618
  _defineProperty(SortBy, "propTypes", {
13739
- id: PropTypes.string,
13740
13619
  items: PropTypes.arrayOf(PropTypes.shape({
13741
13620
  label: PropTypes.string,
13742
13621
  value: PropTypes.string.isRequired
@@ -13756,7 +13635,6 @@ _defineProperty(SortBy, "defaultProps", {
13756
13635
  * @requirements Algolia handles sorting by creating replica indices. [Read more about sorting](https://www.algolia.com/doc/guides/relevance/sorting/) on
13757
13636
  * the Algolia website.
13758
13637
  * @kind widget
13759
- * @propType {string} id - The id of the select input
13760
13638
  * @propType {{value: string, label: string}[]} items - The list of indexes to search in.
13761
13639
  * @propType {string} defaultRefinement - The default selected index.
13762
13640
  * @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.
@@ -14454,4 +14332,4 @@ AlgoliaSearch.propTypes = {
14454
14332
  refinementAttributes: PropTypes.array
14455
14333
  };
14456
14334
 
14457
- export { AlgoliaSearch as default };
14335
+ 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;
@@ -177,4 +177,4 @@ _context.next = 14;
177
177
  };
178
178
  }();
179
179
 
180
- export { ArticleProgramLandingPage as default };
180
+ export default ArticleProgramLandingPage;
@@ -154,4 +154,4 @@ ArticleSeriesLandingPage.getInitialData = function () {
154
154
  };
155
155
  }();
156
156
 
157
- export { ArticleSeriesLandingPage as default };
157
+ 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;