@mjhls/mjh-framework 1.0.981 → 1.0.982-ptce-profession-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 (146) hide show
  1. package/dist/cjs/AlgoliaSearch.js +140 -18
  2. package/dist/cjs/Auth.js +20 -17
  3. package/dist/cjs/AuthWrapper.js +18 -12
  4. package/dist/cjs/CMEDeck.js +5 -1
  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 +1 -2
  9. package/dist/cjs/DeckQueuePaginated.js +1 -2
  10. package/dist/cjs/Dfp-9be904d5.js +1 -1
  11. package/dist/cjs/GridContentPaginated.js +1 -2
  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 +1 -2
  16. package/dist/cjs/{MediaSeriesCard-958db77e.js → MediaSeriesCard-d6a5fc83.js} +64 -42
  17. package/dist/cjs/MediaSeriesLanding.js +1 -1
  18. package/dist/cjs/MediaSeriesLandingPaginated.js +2 -3
  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-2a3d0103.js +97 -0
  23. package/dist/cjs/PartnerDetailListingPaginated.js +1 -2
  24. package/dist/cjs/QueueDeckExpandedPaginated.js +1 -2
  25. package/dist/cjs/View.js +72 -31
  26. package/dist/cjs/getPtceActivities.js +13 -5
  27. package/dist/cjs/getQuery.js +3 -3
  28. package/dist/cjs/index.js +0 -1
  29. package/dist/cjs/ustream-api-3819e4aa.js +1 -1
  30. package/dist/esm/AD.js +1 -1
  31. package/dist/esm/AD300x250.js +1 -1
  32. package/dist/esm/AD300x250x600.js +1 -1
  33. package/dist/esm/AD728x90.js +1 -1
  34. package/dist/esm/ADFloatingFooter.js +1 -1
  35. package/dist/esm/ADFooter.js +1 -1
  36. package/dist/esm/ADGutter.js +1 -1
  37. package/dist/esm/ADSkyscraper.js +1 -1
  38. package/dist/esm/ADSponsoredResources.js +1 -1
  39. package/dist/esm/ADWebcast.js +1 -1
  40. package/dist/esm/ADWelcome.js +1 -1
  41. package/dist/esm/AccordionPanel.js +1 -1
  42. package/dist/esm/AdSlot.js +1 -1
  43. package/dist/esm/AdSlotsProvider.js +1 -1
  44. package/dist/esm/AlgoliaSearch.js +142 -20
  45. package/dist/esm/AlphabeticList.js +1 -1
  46. package/dist/esm/ArticleCarousel.js +1 -1
  47. package/dist/esm/ArticleProgramLandingPage.js +1 -1
  48. package/dist/esm/ArticleSeriesLandingPage.js +1 -1
  49. package/dist/esm/ArticleSeriesListing.js +1 -1
  50. package/dist/esm/Auth.js +20 -18
  51. package/dist/esm/AuthWrapper.js +19 -13
  52. package/dist/esm/Beam.js +1 -1
  53. package/dist/esm/Breadcrumbs.js +1 -1
  54. package/dist/esm/CMEDeck.js +6 -2
  55. package/dist/esm/Column1.js +1 -2
  56. package/dist/esm/Column2.js +1 -2
  57. package/dist/esm/Column3.js +1 -2
  58. package/dist/esm/ConferenceArticleCard.js +1 -1
  59. package/dist/esm/ContentCardPaginated.js +2 -3
  60. package/dist/esm/DeckContent.js +1 -1
  61. package/dist/esm/DeckQueue.js +1 -1
  62. package/dist/esm/DeckQueuePaginated.js +2 -3
  63. package/dist/esm/Dfp-102f0beb.js +1 -1
  64. package/dist/esm/EventsDeck.js +1 -1
  65. package/dist/esm/ExternalResources.js +1 -1
  66. package/dist/esm/Feature.js +1 -1
  67. package/dist/esm/ForbesHero.js +1 -1
  68. package/dist/esm/GridContent.js +1 -1
  69. package/dist/esm/GridContentPaginated.js +2 -3
  70. package/dist/esm/GridHero.js +1 -1
  71. package/dist/esm/GroupDeck.js +1 -1
  72. package/dist/esm/HamMagazine.js +1 -2
  73. package/dist/esm/Header.js +1 -2
  74. package/dist/esm/HealthCareProfessionalModal.js +1 -1
  75. package/dist/esm/Hero.js +1 -1
  76. package/dist/esm/HighlightenVideo.js +1 -1
  77. package/dist/esm/HorizontalArticleListing.js +1 -1
  78. package/dist/esm/HorizontalHero.js +1 -1
  79. package/dist/esm/IssueContentDeck.js +1 -1
  80. package/dist/esm/IssueDeck.js +1 -1
  81. package/dist/esm/IssueLanding.js +1 -1
  82. package/dist/esm/KMTracker.js +1 -1
  83. package/dist/esm/LeftNav.js +1 -2
  84. package/dist/esm/MasterDeck.js +1 -1
  85. package/dist/esm/MasterDeckPaginated.js +2 -3
  86. package/dist/esm/{MediaSeriesCard-4279b0c5.js → MediaSeriesCard-41efffe9.js} +64 -42
  87. package/dist/esm/MediaSeriesLanding.js +2 -2
  88. package/dist/esm/MediaSeriesLandingPaginated.js +3 -4
  89. package/dist/esm/NavDvm.js +1 -2
  90. package/dist/esm/NavMagazine.js +1 -2
  91. package/dist/esm/NavNative.js +1 -2
  92. package/dist/esm/OncliveHero.js +1 -1
  93. package/dist/esm/OncliveLargeHero.js +1 -1
  94. package/dist/esm/PageFilter.js +1 -1
  95. package/dist/esm/Pagination-dc30727b.js +90 -0
  96. package/dist/esm/PartnerDetailListing.js +1 -1
  97. package/dist/esm/PartnerDetailListingPaginated.js +2 -3
  98. package/dist/esm/PdfDownload.js +1 -1
  99. package/dist/esm/PopUpModal.js +1 -1
  100. package/dist/esm/PtceDeck.js +1 -1
  101. package/dist/esm/PubSection.js +1 -1
  102. package/dist/esm/PubToc.js +1 -1
  103. package/dist/esm/PublicationDeck.js +1 -1
  104. package/dist/esm/PublicationLanding.js +1 -1
  105. package/dist/esm/QueueDeckExpanded.js +1 -1
  106. package/dist/esm/QueueDeckExpandedPaginated.js +2 -3
  107. package/dist/esm/RecentNews.js +1 -1
  108. package/dist/esm/RelatedContent.js +1 -1
  109. package/dist/esm/RelatedTopicsDropdown.js +1 -1
  110. package/dist/esm/RolesDeck.js +1 -1
  111. package/dist/esm/Schema.js +1 -1
  112. package/dist/esm/Search.js +1 -1
  113. package/dist/esm/Segment.js +1 -1
  114. package/dist/esm/SeriesListingDeck.js +1 -1
  115. package/dist/esm/SetCookie.js +1 -1
  116. package/dist/esm/SideFooter.js +1 -1
  117. package/dist/esm/SocialIcons.js +1 -1
  118. package/dist/esm/SocialShare.js +1 -1
  119. package/dist/esm/TaxonomyCard.js +1 -1
  120. package/dist/esm/TaxonomyDescription.js +1 -1
  121. package/dist/esm/TemplateNormal.js +1 -1
  122. package/dist/esm/ThumbnailCard.js +1 -1
  123. package/dist/esm/Ustream.js +1 -1
  124. package/dist/esm/VerticalHero.js +1 -1
  125. package/dist/esm/VideoProgramLandingPage.js +1 -1
  126. package/dist/esm/VideoSeriesCard.js +1 -1
  127. package/dist/esm/VideoSeriesFilter.js +1 -1
  128. package/dist/esm/VideoSeriesLandingPage.js +1 -1
  129. package/dist/esm/VideoSeriesListing.js +1 -1
  130. package/dist/esm/View.js +73 -31
  131. package/dist/esm/YahooHero.js +1 -1
  132. package/dist/esm/YoutubeGroup.js +1 -1
  133. package/dist/esm/getKeywords.js +1 -1
  134. package/dist/esm/getPtceActivities.js +13 -5
  135. package/dist/esm/getQuery.js +4 -4
  136. package/dist/esm/getRelatedArticle.js +1 -1
  137. package/dist/esm/getRootDocGroup.js +1 -1
  138. package/dist/esm/getSeriesDetail.js +1 -1
  139. package/dist/esm/index.js +0 -1
  140. package/dist/esm/stringify-2b084bee.js +1 -1
  141. package/dist/esm/timeDifferenceCalc.js +1 -1
  142. package/dist/esm/urlFor.js +1 -1
  143. package/dist/esm/ustream-api-d3714624.js +1 -1
  144. package/package.json +1 -1
  145. package/dist/cjs/Pagination-1e0d5f1d.js +0 -90
  146. package/dist/esm/Pagination-cd21f8c2.js +0 -82
@@ -9,6 +9,8 @@ require('./_iter-detect-b1df62f0.js');
9
9
 
10
10
  var getPtceActivities = function () {
11
11
  var _ref = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator.regenerator.mark(function _callee(params) {
12
+ var filterProfession = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
13
+ var filterQuery = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '';
12
14
  var hasMore, response, data;
13
15
  return asyncToGenerator.regenerator.wrap(function _callee$(_context) {
14
16
  while (1) {
@@ -23,7 +25,7 @@ var getPtceActivities = function () {
23
25
  }
24
26
 
25
27
  _context.next = 5;
26
- return fetch('https://www.pharmacytimes.org/incoming/v2/content?types[]=courses&sort=publishDate:desc&query=status:published&limit=25' + hasMore, {
28
+ return fetch('https://www.pharmacytimes.org/incoming/v2/content?types[]=courses&sort=publishDate:desc&query=status:published&profession:"Managed Care Pharmacist"&limit=25' + hasMore, {
27
29
  method: 'GET',
28
30
  headers: { Authorization: 'Bearer drnc4y57arj3f190cpvqiwxt3cxpbken' }
29
31
  });
@@ -37,6 +39,12 @@ var getPtceActivities = function () {
37
39
  data = _context.sent;
38
40
 
39
41
 
42
+ if (filterProfession && filterQuery.length) {
43
+ data.contentItems = data.contentItems.filter(function (course) {
44
+ if (course && course.customFields && course.customFields.profession && course.customFields.profession.includes(filterQuery)) return true;else return false;
45
+ });
46
+ }
47
+
40
48
  data.contentItems = data.contentItems.filter(function (course) {
41
49
  if (course.tags && course.tags[0] && course.tags[0].label == 'Hidden') {
42
50
  return false;
@@ -50,19 +58,19 @@ var getPtceActivities = function () {
50
58
 
51
59
  return _context.abrupt('return', data);
52
60
 
53
- case 13:
54
- _context.prev = 13;
61
+ case 14:
62
+ _context.prev = 14;
55
63
  _context.t0 = _context['catch'](0);
56
64
 
57
65
  console.log(_context.t0);
58
66
  return _context.abrupt('return', []);
59
67
 
60
- case 17:
68
+ case 18:
61
69
  case 'end':
62
70
  return _context.stop();
63
71
  }
64
72
  }
65
- }, _callee, this, [[0, 13]]);
73
+ }, _callee, this, [[0, 14]]);
66
74
  }));
67
75
 
68
76
  return function getPtceActivities(_x) {
@@ -9,11 +9,11 @@ var getQuery = function getQuery(type) {
9
9
  //Site level conditions should start with && (logical AND), and site level params should end with , (comma) in order to execute query
10
10
 
11
11
  switch (type) {
12
- // quiz video series and slideshow
12
+ // quiz video series and slideshow
13
13
  case 'related':
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 }';
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 abstract,\n ...,\n passwordLock,\n password,\n "authorDetails": authorMapping[]->{ displayName, firstName, lastName, 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 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 }';
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 abstract,\n ...,\n passwordLock,\n password,\n issueGroup-> { _id, name, identifier, parent-> },\n "authorDetails": authorMapping[]->{ displayName, firstName, lastName, 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, firstName, lastName, 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,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 };
@@ -135,4 +135,4 @@ var ADFloatingFooter = function ADFloatingFooter(_ref) {
135
135
  );
136
136
  };
137
137
 
138
- export default ADFloatingFooter;
138
+ 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';
@@ -822,7 +822,7 @@ function parseAlgoliaHit(_ref2) {
822
822
  });
823
823
  }
824
824
 
825
- var version$1 = '6.11.2';
825
+ var version$1 = '6.12.1';
826
826
 
827
827
  var withKeysPropType = function withKeysPropType(keys) {
828
828
  return function (props, propName, componentName) {
@@ -904,6 +904,10 @@ 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
+
907
911
  function getResults(searchResults, context) {
908
912
  if (searchResults.results) {
909
913
  if (searchResults.results.hits) {
@@ -4768,7 +4772,7 @@ var requestBuilder = {
4768
4772
 
4769
4773
  var requestBuilder_1 = requestBuilder;
4770
4774
 
4771
- var version = '3.5.3';
4775
+ var version = '3.5.5';
4772
4776
 
4773
4777
  /**
4774
4778
  * Event triggered when a parameter is set or updated
@@ -6416,6 +6420,87 @@ ConfigureRelatedItems.propTypes = {
6416
6420
  };
6417
6421
  connectConfigureRelatedItems(ConfigureRelatedItems);
6418
6422
 
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
+
6419
6504
  // A context rule must consist only of alphanumeric characters, hyphens, and underscores.
6420
6505
  // See https://www.algolia.com/doc/guides/managing-results/refine-results/merchandising-and-promoting/in-depth/implementing-query-rules/#context
6421
6506
  function escapeRuleContext(ruleName) {
@@ -7261,15 +7346,21 @@ function hydrateMetadata(resultsState) {
7261
7346
 
7262
7347
  return resultsState.metadata.map(function (datum) {
7263
7348
  return _objectSpread({
7264
- value: function value() {}
7349
+ value: function value() {
7350
+ return {};
7351
+ }
7265
7352
  }, datum, {
7266
7353
  items: datum.items && datum.items.map(function (item) {
7267
7354
  return _objectSpread({
7268
- value: function value() {}
7355
+ value: function value() {
7356
+ return {};
7357
+ }
7269
7358
  }, item, {
7270
7359
  items: item.items && item.items.map(function (nestedItem) {
7271
7360
  return _objectSpread({
7272
- value: function value() {}
7361
+ value: function value() {
7362
+ return {};
7363
+ }
7273
7364
  }, nestedItem);
7274
7365
  })
7275
7366
  });
@@ -7825,7 +7916,8 @@ var connectHierarchicalMenu = createConnectorWithContext({
7825
7916
  showMore: PropTypes.bool,
7826
7917
  limit: PropTypes.number,
7827
7918
  showMoreLimit: PropTypes.number,
7828
- transformItems: PropTypes.func
7919
+ transformItems: PropTypes.func,
7920
+ facetOrdering: PropTypes.bool
7829
7921
  },
7830
7922
  defaultProps: {
7831
7923
  showMore: false,
@@ -7833,12 +7925,14 @@ var connectHierarchicalMenu = createConnectorWithContext({
7833
7925
  showMoreLimit: 20,
7834
7926
  separator: ' > ',
7835
7927
  rootPath: null,
7836
- showParentLevel: true
7928
+ showParentLevel: true,
7929
+ facetOrdering: true
7837
7930
  },
7838
7931
  getProvidedProps: function getProvidedProps(props, searchState, searchResults) {
7839
7932
  var showMore = props.showMore,
7840
7933
  limit = props.limit,
7841
- showMoreLimit = props.showMoreLimit;
7934
+ showMoreLimit = props.showMoreLimit,
7935
+ facetOrdering = props.facetOrdering;
7842
7936
  var id = getId$c(props);
7843
7937
  var results = getResults(searchResults, {
7844
7938
  ais: props.contextValue,
@@ -7859,7 +7953,8 @@ var connectHierarchicalMenu = createConnectorWithContext({
7859
7953
 
7860
7954
  var itemsLimit = showMore ? showMoreLimit : limit;
7861
7955
  var value = results.getFacetValues(id, {
7862
- sortBy: sortBy$1
7956
+ sortBy: sortBy$1,
7957
+ facetOrdering: facetOrdering
7863
7958
  });
7864
7959
  var items = value.data ? transformValue(value.data, props, searchState, {
7865
7960
  ais: props.contextValue,
@@ -8411,17 +8506,20 @@ var connectMenu = createConnectorWithContext({
8411
8506
  showMoreLimit: PropTypes.number,
8412
8507
  defaultRefinement: PropTypes.string,
8413
8508
  transformItems: PropTypes.func,
8414
- searchable: PropTypes.bool
8509
+ searchable: PropTypes.bool,
8510
+ facetOrdering: PropTypes.bool
8415
8511
  },
8416
8512
  defaultProps: {
8417
8513
  showMore: false,
8418
8514
  limit: 10,
8419
- showMoreLimit: 20
8515
+ showMoreLimit: 20,
8516
+ facetOrdering: true
8420
8517
  },
8421
8518
  getProvidedProps: function getProvidedProps(props, searchState, searchResults, meta, searchForFacetValuesResults) {
8422
8519
  var attribute = props.attribute,
8423
8520
  searchable = props.searchable,
8424
- indexContextValue = props.indexContextValue;
8521
+ indexContextValue = props.indexContextValue,
8522
+ facetOrdering = props.facetOrdering;
8425
8523
  var results = getResults(searchResults, {
8426
8524
  ais: props.contextValue,
8427
8525
  multiIndexContext: props.indexContextValue
@@ -8467,7 +8565,8 @@ var connectMenu = createConnectorWithContext({
8467
8565
  });
8468
8566
  } else {
8469
8567
  items = results.getFacetValues(attribute, {
8470
- sortBy: searchable ? undefined : defaultSortBy
8568
+ sortBy: searchable ? undefined : defaultSortBy,
8569
+ facetOrdering: facetOrdering
8471
8570
  }).map(function (v) {
8472
8571
  return {
8473
8572
  label: v.name,
@@ -9324,18 +9423,21 @@ var connectRefinementList = createConnectorWithContext({
9324
9423
  showMoreLimit: PropTypes.number,
9325
9424
  defaultRefinement: PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.string, PropTypes.number])),
9326
9425
  searchable: PropTypes.bool,
9327
- transformItems: PropTypes.func
9426
+ transformItems: PropTypes.func,
9427
+ facetOrdering: PropTypes.bool
9328
9428
  },
9329
9429
  defaultProps: {
9330
9430
  operator: 'or',
9331
9431
  showMore: false,
9332
9432
  limit: 10,
9333
- showMoreLimit: 20
9433
+ showMoreLimit: 20,
9434
+ facetOrdering: true
9334
9435
  },
9335
9436
  getProvidedProps: function getProvidedProps(props, searchState, searchResults, metadata, searchForFacetValuesResults) {
9336
9437
  var attribute = props.attribute,
9337
9438
  searchable = props.searchable,
9338
- indexContextValue = props.indexContextValue;
9439
+ indexContextValue = props.indexContextValue,
9440
+ facetOrdering = props.facetOrdering;
9339
9441
  var results = getResults(searchResults, {
9340
9442
  ais: props.contextValue,
9341
9443
  multiIndexContext: props.indexContextValue
@@ -9376,7 +9478,8 @@ var connectRefinementList = createConnectorWithContext({
9376
9478
  isRefined: v.isRefined
9377
9479
  };
9378
9480
  }) : results.getFacetValues(attribute, {
9379
- sortBy: sortBy
9481
+ sortBy: sortBy,
9482
+ facetOrdering: facetOrdering
9380
9483
  }).map(function (v) {
9381
9484
  return {
9382
9485
  label: v.name,
@@ -10876,6 +10979,7 @@ function (_Component) {
10876
10979
 
10877
10980
  var _this$props4 = this.props,
10878
10981
  className = _this$props4.className,
10982
+ inputId = _this$props4.inputId,
10879
10983
  translate = _this$props4.translate,
10880
10984
  autoFocus = _this$props4.autoFocus,
10881
10985
  loadingIndicator = _this$props4.loadingIndicator,
@@ -10903,6 +11007,7 @@ function (_Component) {
10903
11007
  role: "search"
10904
11008
  }, React__default.createElement("input", _extends({
10905
11009
  ref: this.onInputMount,
11010
+ id: inputId,
10906
11011
  type: "search",
10907
11012
  placeholder: translate('placeholder'),
10908
11013
  autoFocus: autoFocus,
@@ -10954,7 +11059,8 @@ _defineProperty(SearchBox$1, "propTypes", {
10954
11059
  showLoadingIndicator: PropTypes.bool,
10955
11060
  inputRef: PropTypes.oneOfType([PropTypes.func, PropTypes.exact({
10956
11061
  current: PropTypes.object
10957
- })])
11062
+ })]),
11063
+ inputId: PropTypes.string
10958
11064
  });
10959
11065
 
10960
11066
  _defineProperty(SearchBox$1, "defaultProps", {
@@ -11593,9 +11699,11 @@ function (_Component) {
11593
11699
  value: function render() {
11594
11700
  var _this$props = this.props,
11595
11701
  cx = _this$props.cx,
11702
+ id = _this$props.id,
11596
11703
  items = _this$props.items,
11597
11704
  selectedItem = _this$props.selectedItem;
11598
11705
  return React__default.createElement("select", {
11706
+ id: id,
11599
11707
  className: cx('select'),
11600
11708
  value: selectedItem,
11601
11709
  onChange: this.onChange
@@ -11615,6 +11723,7 @@ function (_Component) {
11615
11723
 
11616
11724
  _defineProperty(Select, "propTypes", {
11617
11725
  cx: PropTypes.func.isRequired,
11726
+ id: PropTypes.string,
11618
11727
  onSelect: PropTypes.func.isRequired,
11619
11728
  items: PropTypes.arrayOf(PropTypes.shape({
11620
11729
  value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).isRequired,
@@ -11642,6 +11751,7 @@ function (_Component) {
11642
11751
  key: "render",
11643
11752
  value: function render() {
11644
11753
  var _this$props = this.props,
11754
+ id = _this$props.id,
11645
11755
  items = _this$props.items,
11646
11756
  currentRefinement = _this$props.currentRefinement,
11647
11757
  refine = _this$props.refine,
@@ -11649,6 +11759,7 @@ function (_Component) {
11649
11759
  return React__default.createElement("div", {
11650
11760
  className: classnames(cx$h(''), className)
11651
11761
  }, React__default.createElement(Select, {
11762
+ id: id,
11652
11763
  onSelect: refine,
11653
11764
  selectedItem: currentRefinement,
11654
11765
  items: items,
@@ -11661,6 +11772,7 @@ function (_Component) {
11661
11772
  }(Component);
11662
11773
 
11663
11774
  _defineProperty(HitsPerPage, "propTypes", {
11775
+ id: PropTypes.string,
11664
11776
  items: PropTypes.arrayOf(PropTypes.shape({
11665
11777
  value: PropTypes.number.isRequired,
11666
11778
  label: PropTypes.string
@@ -11683,6 +11795,7 @@ _defineProperty(HitsPerPage, "defaultProps", {
11683
11795
  *
11684
11796
  * @name HitsPerPage
11685
11797
  * @kind widget
11798
+ * @propType {string} id - The id of the select input
11686
11799
  * @propType {{value: number, label: string}[]} items - List of available options.
11687
11800
  * @propType {number} defaultRefinement - The number of items selected by default
11688
11801
  * @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 +12164,7 @@ function (_Component) {
12051
12164
  key: "render",
12052
12165
  value: function render() {
12053
12166
  var _this$props = this.props,
12167
+ id = _this$props.id,
12054
12168
  items = _this$props.items,
12055
12169
  canRefine = _this$props.canRefine,
12056
12170
  translate = _this$props.translate,
@@ -12058,6 +12172,7 @@ function (_Component) {
12058
12172
  return React__default.createElement("div", {
12059
12173
  className: classnames(cx$e('', !canRefine && '-noRefinement'), className)
12060
12174
  }, React__default.createElement("select", {
12175
+ id: id,
12061
12176
  value: this.selectedValue,
12062
12177
  onChange: this.handleSelectChange,
12063
12178
  className: cx$e('select')
@@ -12090,6 +12205,7 @@ function (_Component) {
12090
12205
  }(Component);
12091
12206
 
12092
12207
  _defineProperty(MenuSelect, "propTypes", {
12208
+ id: PropTypes.string,
12093
12209
  items: PropTypes.arrayOf(PropTypes.shape({
12094
12210
  label: PropTypes.string.isRequired,
12095
12211
  value: PropTypes.string.isRequired,
@@ -12116,6 +12232,7 @@ var MenuSelect$1 = translatable({
12116
12232
  * @kind widget
12117
12233
  * @requirements The attribute passed to the `attribute` prop must be present in "attributes for faceting"
12118
12234
  * 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
12119
12236
  * @propType {string} attribute - the name of the attribute in the record
12120
12237
  * @propType {string} [defaultRefinement] - the value of the item selected by default
12121
12238
  * @propType {number} [limit=10] - the minimum number of diplayed items
@@ -13447,6 +13564,7 @@ connectScrollTo(ScrollTo);
13447
13564
  * @propType {node} [reset] - Change the apparence of the default reset button (cross).
13448
13565
  * @propType {node} [loadingIndicator] - Change the apparence of the default loading indicator (spinning circle).
13449
13566
  * @propType {string} [defaultRefinement] - Provide default refinement value when component is mounted.
13567
+ * @propType {string} [inputId] - The id of the search input
13450
13568
  * @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
13569
  * @themeKey ais-SearchBox - the root div of the widget
13452
13570
  * @themeKey ais-SearchBox-form - the wrapping form
@@ -13597,6 +13715,7 @@ function (_Component) {
13597
13715
  key: "render",
13598
13716
  value: function render() {
13599
13717
  var _this$props = this.props,
13718
+ id = _this$props.id,
13600
13719
  items = _this$props.items,
13601
13720
  currentRefinement = _this$props.currentRefinement,
13602
13721
  refine = _this$props.refine,
@@ -13604,6 +13723,7 @@ function (_Component) {
13604
13723
  return React__default.createElement("div", {
13605
13724
  className: classnames(cx$4(''), className)
13606
13725
  }, React__default.createElement(Select, {
13726
+ id: id,
13607
13727
  cx: cx$4,
13608
13728
  items: items,
13609
13729
  selectedItem: currentRefinement,
@@ -13616,6 +13736,7 @@ function (_Component) {
13616
13736
  }(Component);
13617
13737
 
13618
13738
  _defineProperty(SortBy, "propTypes", {
13739
+ id: PropTypes.string,
13619
13740
  items: PropTypes.arrayOf(PropTypes.shape({
13620
13741
  label: PropTypes.string,
13621
13742
  value: PropTypes.string.isRequired
@@ -13635,6 +13756,7 @@ _defineProperty(SortBy, "defaultProps", {
13635
13756
  * @requirements Algolia handles sorting by creating replica indices. [Read more about sorting](https://www.algolia.com/doc/guides/relevance/sorting/) on
13636
13757
  * the Algolia website.
13637
13758
  * @kind widget
13759
+ * @propType {string} id - The id of the select input
13638
13760
  * @propType {{value: string, label: string}[]} items - The list of indexes to search in.
13639
13761
  * @propType {string} defaultRefinement - The default selected index.
13640
13762
  * @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 +14454,4 @@ AlgoliaSearch.propTypes = {
14332
14454
  refinementAttributes: PropTypes.array
14333
14455
  };
14334
14456
 
14335
- export default AlgoliaSearch;
14457
+ 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 };