@blaze-cms/react-page-builder 0.144.0-alpha.1 → 0.144.0-alpha.2

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 (962) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/lib/BannerContext/helpers/index.js.map +1 -1
  3. package/lib/BannerContext/helpers/set-initial-banner-counters.js +1 -1
  4. package/lib/BannerContext/helpers/set-initial-banner-counters.js.map +1 -1
  5. package/lib/BannerContext/index.js +2 -2
  6. package/lib/BannerContext/index.js.map +1 -1
  7. package/lib/HOC/index.js.map +1 -1
  8. package/lib/HOC/recreateOnNavigation.js +1 -1
  9. package/lib/HOC/recreateOnNavigation.js.map +1 -1
  10. package/lib/HOC/withInfiniteScroll.js +2 -2
  11. package/lib/HOC/withInfiniteScroll.js.map +1 -1
  12. package/lib/HOC/withTitle.js +2 -2
  13. package/lib/HOC/withTitle.js.map +1 -1
  14. package/lib/PBContext/index.js.map +1 -1
  15. package/lib/application/query/index.js +1 -1
  16. package/lib/application/query/index.js.map +1 -1
  17. package/lib/components/BackToTop/BackToTop.js +2 -2
  18. package/lib/components/BackToTop/BackToTop.js.map +1 -1
  19. package/lib/components/BackToTop/index.js.map +1 -1
  20. package/lib/components/Banner/AdSlotRender.js +4 -4
  21. package/lib/components/Banner/AdSlotRender.js.map +1 -1
  22. package/lib/components/Banner/Banner.js +3 -3
  23. package/lib/components/Banner/Banner.js.map +1 -1
  24. package/lib/components/Banner/BannerRender.js +4 -4
  25. package/lib/components/Banner/BannerRender.js.map +1 -1
  26. package/lib/components/Banner/helpers.js +16 -16
  27. package/lib/components/Banner/helpers.js.map +1 -1
  28. package/lib/components/Banner/index.js +3 -3
  29. package/lib/components/Banner/index.js.map +1 -1
  30. package/lib/components/BlazeLink.js +6 -6
  31. package/lib/components/BlazeLink.js.map +1 -1
  32. package/lib/components/Breadcrumb/Breadcrumb.js +3 -3
  33. package/lib/components/Breadcrumb/Breadcrumb.js.map +1 -1
  34. package/lib/components/Breadcrumb/index.js.map +1 -1
  35. package/lib/components/Button.js +6 -6
  36. package/lib/components/Button.js.map +1 -1
  37. package/lib/components/Card/Card.js +4 -4
  38. package/lib/components/Card/Card.js.map +1 -1
  39. package/lib/components/Card/CardsContainer.js +8 -8
  40. package/lib/components/Card/CardsContainer.js.map +1 -1
  41. package/lib/components/Card/CardsFactory.js.map +1 -1
  42. package/lib/components/Card/CardsRender.js +12 -12
  43. package/lib/components/Card/CardsRender.js.map +1 -1
  44. package/lib/components/Card/constants.js.map +1 -1
  45. package/lib/components/Card/helpers/filter-query-setup.js +5 -5
  46. package/lib/components/Card/helpers/filter-query-setup.js.map +1 -1
  47. package/lib/components/Card/helpers/filters-setup.js.map +1 -1
  48. package/lib/components/Card/helpers/get-dynamic-grid-classes.js +3 -3
  49. package/lib/components/Card/helpers/get-dynamic-grid-classes.js.map +1 -1
  50. package/lib/components/Card/helpers/get-published-listing-url.js.map +1 -1
  51. package/lib/components/Card/helpers/get-updated-items-to-display.js +3 -3
  52. package/lib/components/Card/helpers/get-updated-items-to-display.js.map +1 -1
  53. package/lib/components/Card/helpers/get-updated-sort-properties.js +2 -2
  54. package/lib/components/Card/helpers/get-updated-sort-properties.js.map +1 -1
  55. package/lib/components/Card/helpers/index.js.map +1 -1
  56. package/lib/components/Card/helpers/should-return.js.map +1 -1
  57. package/lib/components/Card/helpers/should-skip-single-query.js.map +1 -1
  58. package/lib/components/Card/helpers/use-dynamic-size-key.js +3 -3
  59. package/lib/components/Card/helpers/use-dynamic-size-key.js.map +1 -1
  60. package/lib/components/Card/index.js.map +1 -1
  61. package/lib/components/Carousel/Carousel.js.map +1 -1
  62. package/lib/components/Carousel/CarouselImage/CarouselImage.js.map +1 -1
  63. package/lib/components/Carousel/CarouselImage/index.js.map +1 -1
  64. package/lib/components/Carousel/CarouselRender/CarouselRender.js.map +1 -1
  65. package/lib/components/Carousel/CarouselRender/index.js.map +1 -1
  66. package/lib/components/Carousel/hooks/useCarouselNavigation.js.map +1 -1
  67. package/lib/components/Carousel/index.js.map +1 -1
  68. package/lib/components/CarouselWrapper/CarouselWrapper.js.map +1 -1
  69. package/lib/components/CarouselWrapper/DefaultCarousel.js +3 -3
  70. package/lib/components/CarouselWrapper/DefaultCarousel.js.map +1 -1
  71. package/lib/components/CarouselWrapper/SmoothScrollCarousel.js.map +1 -1
  72. package/lib/components/CarouselWrapper/index.js.map +1 -1
  73. package/lib/components/ClickWrapper.js +6 -6
  74. package/lib/components/ClickWrapper.js.map +1 -1
  75. package/lib/components/Code/Code.js +6 -6
  76. package/lib/components/Code/Code.js.map +1 -1
  77. package/lib/components/Code/ScriptTag.js +3 -3
  78. package/lib/components/Code/ScriptTag.js.map +1 -1
  79. package/lib/components/Code/helpers/index.js.map +1 -1
  80. package/lib/components/Code/helpers/wrap-script-tags.js +1 -1
  81. package/lib/components/Code/helpers/wrap-script-tags.js.map +1 -1
  82. package/lib/components/Code/index.js.map +1 -1
  83. package/lib/components/ContentGroup/ContentGroup.js.map +1 -1
  84. package/lib/components/ContentGroup/ContentGroupTabs.js +3 -3
  85. package/lib/components/ContentGroup/ContentGroupTabs.js.map +1 -1
  86. package/lib/components/ContentGroup/constants.js.map +1 -1
  87. package/lib/components/ContentGroup/helpers/get-active-tab.js +1 -1
  88. package/lib/components/ContentGroup/helpers/get-active-tab.js.map +1 -1
  89. package/lib/components/ContentGroup/helpers/get-sections-data.js.map +1 -1
  90. package/lib/components/ContentGroup/helpers/index.js.map +1 -1
  91. package/lib/components/ContentGroup/index.js.map +1 -1
  92. package/lib/components/ContentGroupSection/ContentGroupSection.js.map +1 -1
  93. package/lib/components/ContentGroupSection/index.js.map +1 -1
  94. package/lib/components/DataSummary/DataSummaryFactory.js +2 -2
  95. package/lib/components/DataSummary/DataSummaryFactory.js.map +1 -1
  96. package/lib/components/DataSummary/DataSummaryRender.js.map +1 -1
  97. package/lib/components/DataSummary/DataSummaryTypes/HeadingLargeSummary/HeadingLargeSummary.js.map +1 -1
  98. package/lib/components/DataSummary/DataSummaryTypes/HeadingLargeSummary/HeadingLargeSummaryContent.js +3 -3
  99. package/lib/components/DataSummary/DataSummaryTypes/HeadingLargeSummary/HeadingLargeSummaryContent.js.map +1 -1
  100. package/lib/components/DataSummary/DataSummaryTypes/HeadingLargeSummary/index.js.map +1 -1
  101. package/lib/components/DataSummary/DataSummaryTypes/ItemDetailsSummary/ItemDetailsSummary.js.map +1 -1
  102. package/lib/components/DataSummary/DataSummaryTypes/ItemDetailsSummary/ItemDetailsSummaryContent.js +3 -3
  103. package/lib/components/DataSummary/DataSummaryTypes/ItemDetailsSummary/ItemDetailsSummaryContent.js.map +1 -1
  104. package/lib/components/DataSummary/DataSummaryTypes/ItemDetailsSummary/index.js.map +1 -1
  105. package/lib/components/DataSummary/DataSummaryTypes/LargeSummary/LargeSummary.js.map +1 -1
  106. package/lib/components/DataSummary/DataSummaryTypes/LargeSummary/LargeSummaryContent.js +3 -3
  107. package/lib/components/DataSummary/DataSummaryTypes/LargeSummary/LargeSummaryContent.js.map +1 -1
  108. package/lib/components/DataSummary/DataSummaryTypes/LargeSummary/index.js.map +1 -1
  109. package/lib/components/DataSummary/DataSummaryTypes/ListSummary/ListSummary.js.map +1 -1
  110. package/lib/components/DataSummary/DataSummaryTypes/ListSummary/ListSummaryContent.js +3 -3
  111. package/lib/components/DataSummary/DataSummaryTypes/ListSummary/ListSummaryContent.js.map +1 -1
  112. package/lib/components/DataSummary/DataSummaryTypes/ListSummary/index.js.map +1 -1
  113. package/lib/components/DataSummary/DataSummaryTypes/TextSummary/TextSummary.js.map +1 -1
  114. package/lib/components/DataSummary/DataSummaryTypes/TextSummary/TextSummaryContent.js +3 -3
  115. package/lib/components/DataSummary/DataSummaryTypes/TextSummary/TextSummaryContent.js.map +1 -1
  116. package/lib/components/DataSummary/DataSummaryTypes/TextSummary/index.js.map +1 -1
  117. package/lib/components/DataSummary/DataSummaryTypes/index.js +3 -3
  118. package/lib/components/DataSummary/DataSummaryTypes/index.js.map +1 -1
  119. package/lib/components/DataSummary/helpers/build-loop-props-content.js +5 -5
  120. package/lib/components/DataSummary/helpers/build-loop-props-content.js.map +1 -1
  121. package/lib/components/DataSummary/helpers/build-props-to-display-with-content.js +2 -2
  122. package/lib/components/DataSummary/helpers/build-props-to-display-with-content.js.map +1 -1
  123. package/lib/components/DataSummary/helpers/get-data-summary-query.js.map +1 -1
  124. package/lib/components/DataSummary/helpers/get-link-based-on-value.js.map +1 -1
  125. package/lib/components/DataSummary/helpers/get-link-props.js +2 -2
  126. package/lib/components/DataSummary/helpers/get-link-props.js.map +1 -1
  127. package/lib/components/DataSummary/helpers/get-link-to-published-content.js.map +1 -1
  128. package/lib/components/DataSummary/helpers/get-loop-props-limit.js +2 -2
  129. package/lib/components/DataSummary/helpers/get-loop-props-limit.js.map +1 -1
  130. package/lib/components/DataSummary/helpers/get-prop-value.js +3 -3
  131. package/lib/components/DataSummary/helpers/get-prop-value.js.map +1 -1
  132. package/lib/components/DataSummary/helpers/get-value-from-array.js +2 -2
  133. package/lib/components/DataSummary/helpers/get-value-from-array.js.map +1 -1
  134. package/lib/components/DataSummary/helpers/index.js.map +1 -1
  135. package/lib/components/DataSummary/helpers/parse-boolean-values.js.map +1 -1
  136. package/lib/components/DataSummary/helpers/strip-summary-props-content.js.map +1 -1
  137. package/lib/components/DataSummary/index.js.map +1 -1
  138. package/lib/components/DateTime/DateTime.js.map +1 -1
  139. package/lib/components/DateTime/index.js.map +1 -1
  140. package/lib/components/EmailConfirm/EmailConfirm.js +2 -2
  141. package/lib/components/EmailConfirm/EmailConfirm.js.map +1 -1
  142. package/lib/components/EmailConfirm/index.js.map +1 -1
  143. package/lib/components/EmailConfirm/mutation.js.map +1 -1
  144. package/lib/components/Iframe/Iframe.js.map +1 -1
  145. package/lib/components/Iframe/constants.js.map +1 -1
  146. package/lib/components/Iframe/index.js.map +1 -1
  147. package/lib/components/Image/GlobalLightbox/GlobalLightbox.js +3 -3
  148. package/lib/components/Image/GlobalLightbox/GlobalLightbox.js.map +1 -1
  149. package/lib/components/Image/GlobalLightbox/NavButton.js.map +1 -1
  150. package/lib/components/Image/GlobalLightbox/index.js +3 -3
  151. package/lib/components/Image/GlobalLightbox/index.js.map +1 -1
  152. package/lib/components/Image/Image.js +7 -7
  153. package/lib/components/Image/Image.js.map +1 -1
  154. package/lib/components/Image/ImageDetails.js.map +1 -1
  155. package/lib/components/Image/ImageFactory.js +2 -2
  156. package/lib/components/Image/ImageFactory.js.map +1 -1
  157. package/lib/components/Image/ImageRender.js.map +1 -1
  158. package/lib/components/Image/Lightbox/Lightbox.js +2 -2
  159. package/lib/components/Image/Lightbox/Lightbox.js.map +1 -1
  160. package/lib/components/Image/Lightbox/index.js.map +1 -1
  161. package/lib/components/Image/index.js.map +1 -1
  162. package/lib/components/ItemList/ItemListButton/ItemListButton.js +4 -4
  163. package/lib/components/ItemList/ItemListButton/ItemListButton.js.map +1 -1
  164. package/lib/components/ItemList/ItemListButton/index.js.map +1 -1
  165. package/lib/components/ItemList/ItemListCounter/ItemListCounter.js.map +1 -1
  166. package/lib/components/ItemList/ItemListCounter/index.js.map +1 -1
  167. package/lib/components/ItemList/ItemListNew/ItemListNew.js.map +1 -1
  168. package/lib/components/ItemList/ItemListNew/index.js.map +1 -1
  169. package/lib/components/ItemList/constants.js.map +1 -1
  170. package/lib/components/ItemList/helpers/get-item-list-data.js.map +1 -1
  171. package/lib/components/ItemList/helpers/get-item-list-id.js.map +1 -1
  172. package/lib/components/ItemList/helpers/get-item-list-ids.js.map +1 -1
  173. package/lib/components/ItemList/helpers/index.js.map +1 -1
  174. package/lib/components/ItemList/helpers/set-item-list-id.js.map +1 -1
  175. package/lib/components/ItemList/helpers/set-param-and-redirect.js +4 -4
  176. package/lib/components/ItemList/helpers/set-param-and-redirect.js.map +1 -1
  177. package/lib/components/ItemList/hooks/index.js.map +1 -1
  178. package/lib/components/ItemList/hooks/use-item-list-id.js.map +1 -1
  179. package/lib/components/Layout/Layout.js +5 -5
  180. package/lib/components/Layout/Layout.js.map +1 -1
  181. package/lib/components/Layout/LayoutFactory.js +3 -3
  182. package/lib/components/Layout/LayoutFactory.js.map +1 -1
  183. package/lib/components/Layout/LayoutWithStickyTimer.js +2 -2
  184. package/lib/components/Layout/LayoutWithStickyTimer.js.map +1 -1
  185. package/lib/components/Layout/constants.js.map +1 -1
  186. package/lib/components/Layout/helpers/check-if-row-has-columns.js +1 -1
  187. package/lib/components/Layout/helpers/check-if-row-has-columns.js.map +1 -1
  188. package/lib/components/Layout/helpers/get-styles-to-update.js.map +1 -1
  189. package/lib/components/Layout/helpers/index.js.map +1 -1
  190. package/lib/components/Layout/index.js.map +1 -1
  191. package/lib/components/LazyImage/LazyImage.js.map +1 -1
  192. package/lib/components/LazyImage/index.js +3 -3
  193. package/lib/components/LazyImage/index.js.map +1 -1
  194. package/lib/components/List/ListBuilder.js +5 -5
  195. package/lib/components/List/ListBuilder.js.map +1 -1
  196. package/lib/components/List/ListFactory.js +10 -10
  197. package/lib/components/List/ListFactory.js.map +1 -1
  198. package/lib/components/List/ListRender.js.map +1 -1
  199. package/lib/components/List/components/Cards/CardRenderWithInfiniteScroll.js.map +1 -1
  200. package/lib/components/List/components/Cards/CardsRender.js +7 -7
  201. package/lib/components/List/components/Cards/CardsRender.js.map +1 -1
  202. package/lib/components/List/components/Cards/CardsRenderItem.js.map +1 -1
  203. package/lib/components/List/components/Cards/CardsRenderWrapper.js +2 -2
  204. package/lib/components/List/components/Cards/CardsRenderWrapper.js.map +1 -1
  205. package/lib/components/List/components/Cards/index.js.map +1 -1
  206. package/lib/components/List/components/Full/FullRender.js +6 -6
  207. package/lib/components/List/components/Full/FullRender.js.map +1 -1
  208. package/lib/components/List/components/Full/FullRenderItem.js +6 -6
  209. package/lib/components/List/components/Full/FullRenderItem.js.map +1 -1
  210. package/lib/components/List/components/Full/FullRenderWithInfiniteScroll.js.map +1 -1
  211. package/lib/components/List/components/Full/index.js.map +1 -1
  212. package/lib/components/List/components/Header/ListHeader.js +1 -1
  213. package/lib/components/List/components/Header/ListHeader.js.map +1 -1
  214. package/lib/components/List/components/Header/index.js.map +1 -1
  215. package/lib/components/List/components/Pagination/Classic.js.map +1 -1
  216. package/lib/components/List/components/Pagination/ListPagination.js +6 -6
  217. package/lib/components/List/components/Pagination/ListPagination.js.map +1 -1
  218. package/lib/components/List/components/Pagination/LoadMore.js.map +1 -1
  219. package/lib/components/List/components/Pagination/index.js.map +1 -1
  220. package/lib/components/List/components/helpers/check-if-should-render-banner.js +2 -2
  221. package/lib/components/List/components/helpers/check-if-should-render-banner.js.map +1 -1
  222. package/lib/components/List/components/helpers/check-if-should-render-gtm.js +2 -2
  223. package/lib/components/List/components/helpers/check-if-should-render-gtm.js.map +1 -1
  224. package/lib/components/List/components/helpers/index.js.map +1 -1
  225. package/lib/components/List/components/index.js.map +1 -1
  226. package/lib/components/List/constants.js.map +1 -1
  227. package/lib/components/List/helpers/build-az-aggregations.js +3 -3
  228. package/lib/components/List/helpers/build-az-aggregations.js.map +1 -1
  229. package/lib/components/List/helpers/build-az-url.js +5 -5
  230. package/lib/components/List/helpers/build-az-url.js.map +1 -1
  231. package/lib/components/List/helpers/build-pagination-items.js.map +1 -1
  232. package/lib/components/List/helpers/build-pagination-url.js +5 -5
  233. package/lib/components/List/helpers/build-pagination-url.js.map +1 -1
  234. package/lib/components/List/helpers/build-query-booster.js +6 -6
  235. package/lib/components/List/helpers/build-query-booster.js.map +1 -1
  236. package/lib/components/List/helpers/get-az-query-filter.js.map +1 -1
  237. package/lib/components/List/helpers/get-items-per-page-to-use.js.map +1 -1
  238. package/lib/components/List/helpers/get-list-component.js.map +1 -1
  239. package/lib/components/List/helpers/get-list-query.js +3 -3
  240. package/lib/components/List/helpers/get-list-query.js.map +1 -1
  241. package/lib/components/List/helpers/get-list-specific-search-filter.js.map +1 -1
  242. package/lib/components/List/helpers/get-sort-props.js +2 -2
  243. package/lib/components/List/helpers/get-sort-props.js.map +1 -1
  244. package/lib/components/List/helpers/has-required-item-list-details.js.map +1 -1
  245. package/lib/components/List/helpers/index.js.map +1 -1
  246. package/lib/components/List/helpers/sort-aggs.js.map +1 -1
  247. package/lib/components/List/helpers/strip-query-key.js.map +1 -1
  248. package/lib/components/List/index.js.map +1 -1
  249. package/lib/components/Menu/Menu.js +2 -2
  250. package/lib/components/Menu/Menu.js.map +1 -1
  251. package/lib/components/Menu/MenuContext.js.map +1 -1
  252. package/lib/components/Menu/index.js.map +1 -1
  253. package/lib/components/MenuItem/MenuItem.js +2 -2
  254. package/lib/components/MenuItem/MenuItem.js.map +1 -1
  255. package/lib/components/MenuItem/index.js.map +1 -1
  256. package/lib/components/Modal/Modal.js.map +1 -1
  257. package/lib/components/Modal/index.js.map +1 -1
  258. package/lib/components/SearchContent/SearchContent.js +3 -3
  259. package/lib/components/SearchContent/SearchContent.js.map +1 -1
  260. package/lib/components/SearchContent/SearchContentItems.js.map +1 -1
  261. package/lib/components/SearchContent/SearchContentResults.js.map +1 -1
  262. package/lib/components/SearchContent/SearchContentToggleIcon.js.map +1 -1
  263. package/lib/components/SearchContent/constants.js.map +1 -1
  264. package/lib/components/SearchContent/index.js.map +1 -1
  265. package/lib/components/SearchFilter/SearchFilter/CloseMobileForm.js.map +1 -1
  266. package/lib/components/SearchFilter/SearchFilter/FiltersList.js +3 -3
  267. package/lib/components/SearchFilter/SearchFilter/FiltersList.js.map +1 -1
  268. package/lib/components/SearchFilter/SearchFilter/MobileFormToolbar.js.map +1 -1
  269. package/lib/components/SearchFilter/SearchFilter/ResetDesktopForm.js.map +1 -1
  270. package/lib/components/SearchFilter/SearchFilter/SearchFilter.js +3 -3
  271. package/lib/components/SearchFilter/SearchFilter/SearchFilter.js.map +1 -1
  272. package/lib/components/SearchFilter/SearchFilter/index.js.map +1 -1
  273. package/lib/components/SearchFilter/SearchFilterContainer.js +7 -7
  274. package/lib/components/SearchFilter/SearchFilterContainer.js.map +1 -1
  275. package/lib/components/SearchFilter/components/Checkbox.js +7 -7
  276. package/lib/components/SearchFilter/components/Checkbox.js.map +1 -1
  277. package/lib/components/SearchFilter/components/Range.js +4 -4
  278. package/lib/components/SearchFilter/components/Range.js.map +1 -1
  279. package/lib/components/SearchFilter/components/Select.js +3 -3
  280. package/lib/components/SearchFilter/components/Select.js.map +1 -1
  281. package/lib/components/SearchFilter/components/TextSearch.js.map +1 -1
  282. package/lib/components/SearchFilter/components/index.js.map +1 -1
  283. package/lib/components/SearchFilter/constants.js.map +1 -1
  284. package/lib/components/SearchFilter/helpers/build-filters-query.js +6 -6
  285. package/lib/components/SearchFilter/helpers/build-filters-query.js.map +1 -1
  286. package/lib/components/SearchFilter/helpers/build-new-url.js.map +1 -1
  287. package/lib/components/SearchFilter/helpers/build-raw-query-stringified.js +1 -1
  288. package/lib/components/SearchFilter/helpers/build-raw-query-stringified.js.map +1 -1
  289. package/lib/components/SearchFilter/helpers/build-url-query.js +3 -3
  290. package/lib/components/SearchFilter/helpers/build-url-query.js.map +1 -1
  291. package/lib/components/SearchFilter/helpers/calculate-min-max.js.map +1 -1
  292. package/lib/components/SearchFilter/helpers/calculate-step.js.map +1 -1
  293. package/lib/components/SearchFilter/helpers/check-if-range-updated.js.map +1 -1
  294. package/lib/components/SearchFilter/helpers/decode-encode.js.map +1 -1
  295. package/lib/components/SearchFilter/helpers/get-display-value.js +1 -1
  296. package/lib/components/SearchFilter/helpers/get-display-value.js.map +1 -1
  297. package/lib/components/SearchFilter/helpers/get-filter-ranges-and-checkboxes-values.js +2 -2
  298. package/lib/components/SearchFilter/helpers/get-filter-ranges-and-checkboxes-values.js.map +1 -1
  299. package/lib/components/SearchFilter/helpers/get-filter-value-from-query.js.map +1 -1
  300. package/lib/components/SearchFilter/helpers/get-filter-values.js.map +1 -1
  301. package/lib/components/SearchFilter/helpers/get-initial-filter-values.js.map +1 -1
  302. package/lib/components/SearchFilter/helpers/get-intersected-prop.js.map +1 -1
  303. package/lib/components/SearchFilter/helpers/get-range-value.js.map +1 -1
  304. package/lib/components/SearchFilter/helpers/get-responsive-filter-classnames.js.map +1 -1
  305. package/lib/components/SearchFilter/helpers/get-select-options.js.map +1 -1
  306. package/lib/components/SearchFilter/helpers/get-updated-filter-by.js +2 -2
  307. package/lib/components/SearchFilter/helpers/get-updated-filter-by.js.map +1 -1
  308. package/lib/components/SearchFilter/helpers/index.js.map +1 -1
  309. package/lib/components/SearchFilter/helpers/is-device-desktop.js.map +1 -1
  310. package/lib/components/SearchFilter/helpers/parse-filter-value.js.map +1 -1
  311. package/lib/components/SearchFilter/index.js.map +1 -1
  312. package/lib/components/SearchFilter/searchFilterReducer.js +5 -5
  313. package/lib/components/SearchFilter/searchFilterReducer.js.map +1 -1
  314. package/lib/components/SearchFilterSort/SearchFilterSort.js.map +1 -1
  315. package/lib/components/SearchFilterSort/constants.js.map +1 -1
  316. package/lib/components/SearchFilterSort/helpers/handle-sort-update.js +2 -2
  317. package/lib/components/SearchFilterSort/helpers/handle-sort-update.js.map +1 -1
  318. package/lib/components/SearchFilterSort/helpers/index.js.map +1 -1
  319. package/lib/components/SearchFilterSort/helpers/update-sort.js +5 -5
  320. package/lib/components/SearchFilterSort/helpers/update-sort.js.map +1 -1
  321. package/lib/components/SearchFilterSort/index.js.map +1 -1
  322. package/lib/components/SocialFollow/SFItem.js.map +1 -1
  323. package/lib/components/SocialFollow/SocialFollow.js.map +1 -1
  324. package/lib/components/SocialFollow/SocialFollowRender.js.map +1 -1
  325. package/lib/components/SocialFollow/index.js.map +1 -1
  326. package/lib/components/SocialFollow/sf.config.js.map +1 -1
  327. package/lib/components/SubMenu/SubMenu.js.map +1 -1
  328. package/lib/components/SubMenu/index.js.map +1 -1
  329. package/lib/components/TextBlock/TextBlockRender.js.map +1 -1
  330. package/lib/components/TextBlock/index.js +5 -5
  331. package/lib/components/TextBlock/index.js.map +1 -1
  332. package/lib/components/Video/Video.js +5 -5
  333. package/lib/components/Video/Video.js.map +1 -1
  334. package/lib/components/Video/VideoModal.js +2 -2
  335. package/lib/components/Video/VideoModal.js.map +1 -1
  336. package/lib/components/Video/VideoRender.js.map +1 -1
  337. package/lib/components/Video/index.js.map +1 -1
  338. package/lib/components/Video/providers/Default.js.map +1 -1
  339. package/lib/components/Video/providers/JWPlayer/JWPlayerController.js.map +1 -1
  340. package/lib/components/Video/providers/JWPlayer/JWPlayerProvider.js +5 -5
  341. package/lib/components/Video/providers/JWPlayer/JWPlayerProvider.js.map +1 -1
  342. package/lib/components/Video/providers/Vimeo/VimeoProvider.js +2 -2
  343. package/lib/components/Video/providers/Vimeo/VimeoProvider.js.map +1 -1
  344. package/lib/components/Video/providers/Vimeo/helpers/add-extra-params-to-url.js +6 -6
  345. package/lib/components/Video/providers/Vimeo/helpers/add-extra-params-to-url.js.map +1 -1
  346. package/lib/components/Video/providers/Vimeo/helpers/index.js.map +1 -1
  347. package/lib/components/Video/providers/YouTube/YouTubeProvider.js.map +1 -1
  348. package/lib/components/Video/providers/YouTube/YoutubeEmbeded.js +2 -2
  349. package/lib/components/Video/providers/YouTube/YoutubeEmbeded.js.map +1 -1
  350. package/lib/components/Video/providers/YouTube/helpers/index.js +1 -1
  351. package/lib/components/Video/providers/YouTube/helpers/index.js.map +1 -1
  352. package/lib/components/Video/providers/get-provider.js +3 -3
  353. package/lib/components/Video/providers/get-provider.js.map +1 -1
  354. package/lib/components/Video/providers/index.js.map +1 -1
  355. package/lib/components/Wrapper.js.map +1 -1
  356. package/lib/components/index.js +3 -3
  357. package/lib/components/index.js.map +1 -1
  358. package/lib/constants/componentsDefaultValues.js.map +1 -1
  359. package/lib/constants/index.js.map +1 -1
  360. package/lib/helpers/append-images.js +5 -5
  361. package/lib/helpers/append-images.js.map +1 -1
  362. package/lib/helpers/build-az-filter.js.map +1 -1
  363. package/lib/helpers/build-checkbox-filters.js.map +1 -1
  364. package/lib/helpers/build-image-properties.js.map +1 -1
  365. package/lib/helpers/build-inherited-filters.js +4 -4
  366. package/lib/helpers/build-inherited-filters.js.map +1 -1
  367. package/lib/helpers/build-link-extra-props.js.map +1 -1
  368. package/lib/helpers/build-props-query.js +9 -9
  369. package/lib/helpers/build-props-query.js.map +1 -1
  370. package/lib/helpers/build-query-fields.js +1 -1
  371. package/lib/helpers/build-query-fields.js.map +1 -1
  372. package/lib/helpers/build-query-key.js.map +1 -1
  373. package/lib/helpers/build-raw-query-base.js +9 -9
  374. package/lib/helpers/build-raw-query-base.js.map +1 -1
  375. package/lib/helpers/build-raw-query.js +5 -5
  376. package/lib/helpers/build-raw-query.js.map +1 -1
  377. package/lib/helpers/build-search-values-checkbox-select.js +7 -7
  378. package/lib/helpers/build-search-values-checkbox-select.js.map +1 -1
  379. package/lib/helpers/build-search-values-text.js.map +1 -1
  380. package/lib/helpers/build-set-filters.js +3 -3
  381. package/lib/helpers/build-set-filters.js.map +1 -1
  382. package/lib/helpers/build-sort-values.js +6 -6
  383. package/lib/helpers/build-sort-values.js.map +1 -1
  384. package/lib/helpers/check-for-error.js.map +1 -1
  385. package/lib/helpers/check-props-to-use.js.map +1 -1
  386. package/lib/helpers/entities/constants.js.map +1 -1
  387. package/lib/helpers/get-banner-data.js +5 -5
  388. package/lib/helpers/get-banner-data.js.map +1 -1
  389. package/lib/helpers/get-checkbox-filters.js.map +1 -1
  390. package/lib/helpers/get-click-wrapper-options.js +6 -6
  391. package/lib/helpers/get-click-wrapper-options.js.map +1 -1
  392. package/lib/helpers/get-current-offset.js.map +1 -1
  393. package/lib/helpers/get-dictionary-match.js.map +1 -1
  394. package/lib/helpers/get-display-count-data.js.map +1 -1
  395. package/lib/helpers/get-elasticsearch-operator.js.map +1 -1
  396. package/lib/helpers/get-entities-with-banner.js +5 -5
  397. package/lib/helpers/get-entities-with-banner.js.map +1 -1
  398. package/lib/helpers/get-entity-data.js.map +1 -1
  399. package/lib/helpers/get-entity-render-props.js.map +1 -1
  400. package/lib/helpers/get-extra-az-bits.js.map +1 -1
  401. package/lib/helpers/get-filter-props.js.map +1 -1
  402. package/lib/helpers/get-filter-relation-keys.js +1 -1
  403. package/lib/helpers/get-filter-relation-keys.js.map +1 -1
  404. package/lib/helpers/get-generic-props.js +5 -5
  405. package/lib/helpers/get-generic-props.js.map +1 -1
  406. package/lib/helpers/get-generic-render-variables.js +6 -6
  407. package/lib/helpers/get-generic-render-variables.js.map +1 -1
  408. package/lib/helpers/get-image-ids.js +2 -2
  409. package/lib/helpers/get-image-ids.js.map +1 -1
  410. package/lib/helpers/get-inherited-filters.js +2 -2
  411. package/lib/helpers/get-inherited-filters.js.map +1 -1
  412. package/lib/helpers/get-items-to-display-ids.js +2 -2
  413. package/lib/helpers/get-items-to-display-ids.js.map +1 -1
  414. package/lib/helpers/get-modifiers.js +3 -3
  415. package/lib/helpers/get-modifiers.js.map +1 -1
  416. package/lib/helpers/get-not-equal-query.js.map +1 -1
  417. package/lib/helpers/get-pagination-index.js.map +1 -1
  418. package/lib/helpers/get-parsed-prop-values.js +3 -3
  419. package/lib/helpers/get-parsed-prop-values.js.map +1 -1
  420. package/lib/helpers/get-parsed-summary-value.js.map +1 -1
  421. package/lib/helpers/get-prop-values.js +2 -2
  422. package/lib/helpers/get-prop-values.js.map +1 -1
  423. package/lib/helpers/get-query-filters.js.map +1 -1
  424. package/lib/helpers/get-query-props.js +3 -3
  425. package/lib/helpers/get-query-props.js.map +1 -1
  426. package/lib/helpers/get-required-schemas.js +3 -3
  427. package/lib/helpers/get-required-schemas.js.map +1 -1
  428. package/lib/helpers/get-sanitized-prop-values.js.map +1 -1
  429. package/lib/helpers/get-search-filter-type.js.map +1 -1
  430. package/lib/helpers/get-sort-by-field-name.js +4 -4
  431. package/lib/helpers/get-sort-by-field-name.js.map +1 -1
  432. package/lib/helpers/get-unpublished-entity-name.js +1 -1
  433. package/lib/helpers/get-unpublished-entity-name.js.map +1 -1
  434. package/lib/helpers/get-updated-filter-by.js.map +1 -1
  435. package/lib/helpers/get-wrapped-value-with-link.js +1 -1
  436. package/lib/helpers/get-wrapped-value-with-link.js.map +1 -1
  437. package/lib/helpers/group-entities.js +1 -1
  438. package/lib/helpers/group-entities.js.map +1 -1
  439. package/lib/helpers/has-children.js.map +1 -1
  440. package/lib/helpers/index.js.map +1 -1
  441. package/lib/helpers/inject-banner.js.map +1 -1
  442. package/lib/helpers/inject-banners-to-entities.js.map +1 -1
  443. package/lib/helpers/inject-multiple-banners/get-banners-for-entities/get-banners-for-entities.js.map +1 -1
  444. package/lib/helpers/inject-multiple-banners/get-banners-for-entities/index.js.map +1 -1
  445. package/lib/helpers/inject-multiple-banners/get-banners-for-nodes/get-banners-for-nodes.js +6 -6
  446. package/lib/helpers/inject-multiple-banners/get-banners-for-nodes/get-banners-for-nodes.js.map +1 -1
  447. package/lib/helpers/inject-multiple-banners/get-banners-for-nodes/helpers/group-node-entities.js +3 -3
  448. package/lib/helpers/inject-multiple-banners/get-banners-for-nodes/helpers/group-node-entities.js.map +1 -1
  449. package/lib/helpers/inject-multiple-banners/get-banners-for-nodes/helpers/index.js.map +1 -1
  450. package/lib/helpers/inject-multiple-banners/get-banners-for-nodes/index.js.map +1 -1
  451. package/lib/helpers/inject-multiple-banners/index.js.map +1 -1
  452. package/lib/helpers/inject-multiple-banners/inject-multiple-banners.js.map +1 -1
  453. package/lib/helpers/is-browser.js.map +1 -1
  454. package/lib/helpers/is-filter-entitys-id.js +1 -1
  455. package/lib/helpers/is-filter-entitys-id.js.map +1 -1
  456. package/lib/helpers/is-object.js.map +1 -1
  457. package/lib/helpers/is-using-relation-image.js.map +1 -1
  458. package/lib/helpers/parse-TextBlock.js +2 -2
  459. package/lib/helpers/parse-TextBlock.js.map +1 -1
  460. package/lib/helpers/parse-interval.js.map +1 -1
  461. package/lib/helpers/parse-props-to-display.js +4 -4
  462. package/lib/helpers/parse-props-to-display.js.map +1 -1
  463. package/lib/helpers/process-data-summary-value.js +8 -8
  464. package/lib/helpers/process-data-summary-value.js.map +1 -1
  465. package/lib/helpers/remove-extra-items.js.map +1 -1
  466. package/lib/helpers/remove-unwanted-characters.js +6 -6
  467. package/lib/helpers/remove-unwanted-characters.js.map +1 -1
  468. package/lib/helpers/render-children.js +5 -5
  469. package/lib/helpers/render-children.js.map +1 -1
  470. package/lib/helpers/should-render-waypoint.js.map +1 -1
  471. package/lib/helpers/should-show-property.js.map +1 -1
  472. package/lib/helpers/sort-response-data.js +2 -2
  473. package/lib/helpers/sort-response-data.js.map +1 -1
  474. package/lib/helpers/split-children.js +5 -5
  475. package/lib/helpers/split-children.js.map +1 -1
  476. package/lib/helpers/update-childrens-parent.js +3 -3
  477. package/lib/helpers/update-childrens-parent.js.map +1 -1
  478. package/lib/hooks/helpers/RenderComponent.js +1 -1
  479. package/lib/hooks/helpers/RenderComponent.js.map +1 -1
  480. package/lib/hooks/helpers/StoreImages.js +4 -4
  481. package/lib/hooks/helpers/StoreImages.js.map +1 -1
  482. package/lib/hooks/helpers/append-gtm-classname.js +7 -7
  483. package/lib/hooks/helpers/append-gtm-classname.js.map +1 -1
  484. package/lib/hooks/helpers/buildPBComponents.js +7 -7
  485. package/lib/hooks/helpers/buildPBComponents.js.map +1 -1
  486. package/lib/hooks/helpers/check-banner-insertion-set.js.map +1 -1
  487. package/lib/hooks/helpers/check-collisions.js +3 -3
  488. package/lib/hooks/helpers/check-collisions.js.map +1 -1
  489. package/lib/hooks/helpers/constants.js.map +1 -1
  490. package/lib/hooks/helpers/get-banner-index.js.map +1 -1
  491. package/lib/hooks/helpers/get-components-to-insert-by-type.js.map +1 -1
  492. package/lib/hooks/helpers/get-lightbox-images.js +8 -8
  493. package/lib/hooks/helpers/get-lightbox-images.js.map +1 -1
  494. package/lib/hooks/helpers/getComponent.js.map +1 -1
  495. package/lib/hooks/helpers/getVariant.js.map +1 -1
  496. package/lib/hooks/helpers/index.js.map +1 -1
  497. package/lib/hooks/helpers/inject-element-components.js +4 -4
  498. package/lib/hooks/helpers/inject-element-components.js.map +1 -1
  499. package/lib/hooks/helpers/inject-textblock-banners.js +7 -7
  500. package/lib/hooks/helpers/inject-textblock-banners.js.map +1 -1
  501. package/lib/hooks/helpers/insert-banners.js +9 -9
  502. package/lib/hooks/helpers/insert-banners.js.map +1 -1
  503. package/lib/hooks/helpers/update-targetings.js.map +1 -1
  504. package/lib/hooks/index.js.map +1 -1
  505. package/lib/hooks/use-app-sync-event-hook.js.map +1 -1
  506. package/lib/hooks/use-banner-insertion.js +1 -1
  507. package/lib/hooks/use-banner-insertion.js.map +1 -1
  508. package/lib/hooks/use-check-mobile-screen.js.map +1 -1
  509. package/lib/hooks/use-get-entity-schema.js.map +1 -1
  510. package/lib/hooks/use-get-entity-schemas-as-obj.js +1 -1
  511. package/lib/hooks/use-get-entity-schemas-as-obj.js.map +1 -1
  512. package/lib/hooks/use-get-image-id-from-relation.js +1 -1
  513. package/lib/hooks/use-get-image-id-from-relation.js.map +1 -1
  514. package/lib/hooks/use-get-images.js.map +1 -1
  515. package/lib/hooks/use-get-single-entity-schema.js.map +1 -1
  516. package/lib/hooks/use-page-builder.js.map +1 -1
  517. package/lib/index.js.map +1 -1
  518. package/lib/utils/component-map.js +1 -1
  519. package/lib/utils/component-map.js.map +1 -1
  520. package/lib/utils/get-class-modifiers.js +7 -7
  521. package/lib/utils/get-class-modifiers.js.map +1 -1
  522. package/lib/utils/get-image-data.js.map +1 -1
  523. package/lib/utils/get-props-to-display-modifiers.js.map +1 -1
  524. package/lib/utils/index.js.map +1 -1
  525. package/lib/utils/is-object-empty.js.map +1 -1
  526. package/lib/utils/variant-handler.js +1 -1
  527. package/lib/utils/variant-handler.js.map +1 -1
  528. package/lib/variants/HeroImage/index.js +5 -5
  529. package/lib/variants/HeroImage/index.js.map +1 -1
  530. package/lib/variants/Infographic/Infographic.js.map +1 -1
  531. package/lib/variants/Infographic/index.js +5 -5
  532. package/lib/variants/Infographic/index.js.map +1 -1
  533. package/lib/variants/Infographic/useInfographic.js +5 -5
  534. package/lib/variants/Infographic/useInfographic.js.map +1 -1
  535. package/lib/variants/LongformGallery/LongformGallery.js.map +1 -1
  536. package/lib/variants/LongformGallery/LongformGalleryImage.js.map +1 -1
  537. package/lib/variants/LongformGallery/constants.js.map +1 -1
  538. package/lib/variants/LongformGallery/helpers/index.js.map +1 -1
  539. package/lib/variants/LongformGallery/helpers/parseImageData.js +3 -3
  540. package/lib/variants/LongformGallery/helpers/parseImageData.js.map +1 -1
  541. package/lib/variants/LongformGallery/helpers/separateImages.js.map +1 -1
  542. package/lib/variants/LongformGallery/helpers/shouldSkip.js.map +1 -1
  543. package/lib/variants/LongformGallery/index.js +6 -6
  544. package/lib/variants/LongformGallery/index.js.map +1 -1
  545. package/lib/variants/LongformGallery/useLongformGallery.js.map +1 -1
  546. package/lib/variants/LongformRow/index.js +5 -5
  547. package/lib/variants/LongformRow/index.js.map +1 -1
  548. package/lib/variants/ParallaxImageTextRight/index.js +5 -5
  549. package/lib/variants/ParallaxImageTextRight/index.js.map +1 -1
  550. package/lib/variants/SlideSummary/SlideSummary.js +1 -1
  551. package/lib/variants/SlideSummary/SlideSummary.js.map +1 -1
  552. package/lib/variants/SlideSummary/index.js +5 -5
  553. package/lib/variants/SlideSummary/index.js.map +1 -1
  554. package/lib/variants/ThumbnailCarousel/ThumbnailCarousel.js.map +1 -1
  555. package/lib/variants/ThumbnailCarousel/ThumbnailImage/ThumbnailImage.js.map +1 -1
  556. package/lib/variants/ThumbnailCarousel/ThumbnailImage/index.js.map +1 -1
  557. package/lib/variants/ThumbnailCarousel/ThumbnailImage/useThumbnailImage.js.map +1 -1
  558. package/lib/variants/ThumbnailCarousel/index.js +5 -5
  559. package/lib/variants/ThumbnailCarousel/index.js.map +1 -1
  560. package/lib/variants/ThumbnailCarousel/useThumbnailCarousel.js +5 -5
  561. package/lib/variants/ThumbnailCarousel/useThumbnailCarousel.js.map +1 -1
  562. package/lib/variants/index.js.map +1 -1
  563. package/lib-es/BannerContext/helpers/index.js.map +1 -1
  564. package/lib-es/BannerContext/helpers/set-initial-banner-counters.js.map +1 -1
  565. package/lib-es/BannerContext/index.js.map +1 -1
  566. package/lib-es/HOC/index.js.map +1 -1
  567. package/lib-es/HOC/recreateOnNavigation.js.map +1 -1
  568. package/lib-es/HOC/withInfiniteScroll.js.map +1 -1
  569. package/lib-es/HOC/withTitle.js.map +1 -1
  570. package/lib-es/PBContext/index.js.map +1 -1
  571. package/lib-es/application/query/index.js.map +1 -1
  572. package/lib-es/components/BackToTop/BackToTop.js.map +1 -1
  573. package/lib-es/components/BackToTop/index.js.map +1 -1
  574. package/lib-es/components/Banner/AdSlotRender.js.map +1 -1
  575. package/lib-es/components/Banner/Banner.js.map +1 -1
  576. package/lib-es/components/Banner/BannerRender.js.map +1 -1
  577. package/lib-es/components/Banner/helpers.js.map +1 -1
  578. package/lib-es/components/Banner/index.js.map +1 -1
  579. package/lib-es/components/BlazeLink.js.map +1 -1
  580. package/lib-es/components/Breadcrumb/Breadcrumb.js.map +1 -1
  581. package/lib-es/components/Breadcrumb/index.js.map +1 -1
  582. package/lib-es/components/Button.js.map +1 -1
  583. package/lib-es/components/Card/Card.js.map +1 -1
  584. package/lib-es/components/Card/CardsContainer.js.map +1 -1
  585. package/lib-es/components/Card/CardsFactory.js.map +1 -1
  586. package/lib-es/components/Card/CardsRender.js.map +1 -1
  587. package/lib-es/components/Card/constants.js.map +1 -1
  588. package/lib-es/components/Card/helpers/filter-query-setup.js.map +1 -1
  589. package/lib-es/components/Card/helpers/filters-setup.js.map +1 -1
  590. package/lib-es/components/Card/helpers/get-dynamic-grid-classes.js.map +1 -1
  591. package/lib-es/components/Card/helpers/get-published-listing-url.js.map +1 -1
  592. package/lib-es/components/Card/helpers/get-updated-items-to-display.js.map +1 -1
  593. package/lib-es/components/Card/helpers/get-updated-sort-properties.js.map +1 -1
  594. package/lib-es/components/Card/helpers/index.js.map +1 -1
  595. package/lib-es/components/Card/helpers/should-return.js.map +1 -1
  596. package/lib-es/components/Card/helpers/should-skip-single-query.js.map +1 -1
  597. package/lib-es/components/Card/helpers/use-dynamic-size-key.js.map +1 -1
  598. package/lib-es/components/Card/index.js.map +1 -1
  599. package/lib-es/components/Carousel/Carousel.js.map +1 -1
  600. package/lib-es/components/Carousel/CarouselImage/CarouselImage.js.map +1 -1
  601. package/lib-es/components/Carousel/CarouselImage/index.js.map +1 -1
  602. package/lib-es/components/Carousel/CarouselRender/CarouselRender.js.map +1 -1
  603. package/lib-es/components/Carousel/CarouselRender/index.js.map +1 -1
  604. package/lib-es/components/Carousel/hooks/useCarouselNavigation.js.map +1 -1
  605. package/lib-es/components/Carousel/index.js.map +1 -1
  606. package/lib-es/components/CarouselWrapper/CarouselWrapper.js.map +1 -1
  607. package/lib-es/components/CarouselWrapper/DefaultCarousel.js.map +1 -1
  608. package/lib-es/components/CarouselWrapper/SmoothScrollCarousel.js.map +1 -1
  609. package/lib-es/components/CarouselWrapper/index.js.map +1 -1
  610. package/lib-es/components/ClickWrapper.js.map +1 -1
  611. package/lib-es/components/Code/Code.js.map +1 -1
  612. package/lib-es/components/Code/ScriptTag.js.map +1 -1
  613. package/lib-es/components/Code/helpers/index.js.map +1 -1
  614. package/lib-es/components/Code/helpers/wrap-script-tags.js.map +1 -1
  615. package/lib-es/components/Code/index.js.map +1 -1
  616. package/lib-es/components/ContentGroup/ContentGroup.js.map +1 -1
  617. package/lib-es/components/ContentGroup/ContentGroupTabs.js.map +1 -1
  618. package/lib-es/components/ContentGroup/constants.js.map +1 -1
  619. package/lib-es/components/ContentGroup/helpers/get-active-tab.js.map +1 -1
  620. package/lib-es/components/ContentGroup/helpers/get-sections-data.js.map +1 -1
  621. package/lib-es/components/ContentGroup/helpers/index.js.map +1 -1
  622. package/lib-es/components/ContentGroup/index.js.map +1 -1
  623. package/lib-es/components/ContentGroupSection/ContentGroupSection.js.map +1 -1
  624. package/lib-es/components/ContentGroupSection/index.js.map +1 -1
  625. package/lib-es/components/DataSummary/DataSummaryFactory.js.map +1 -1
  626. package/lib-es/components/DataSummary/DataSummaryRender.js.map +1 -1
  627. package/lib-es/components/DataSummary/DataSummaryTypes/HeadingLargeSummary/HeadingLargeSummary.js.map +1 -1
  628. package/lib-es/components/DataSummary/DataSummaryTypes/HeadingLargeSummary/HeadingLargeSummaryContent.js.map +1 -1
  629. package/lib-es/components/DataSummary/DataSummaryTypes/HeadingLargeSummary/index.js.map +1 -1
  630. package/lib-es/components/DataSummary/DataSummaryTypes/ItemDetailsSummary/ItemDetailsSummary.js.map +1 -1
  631. package/lib-es/components/DataSummary/DataSummaryTypes/ItemDetailsSummary/ItemDetailsSummaryContent.js.map +1 -1
  632. package/lib-es/components/DataSummary/DataSummaryTypes/ItemDetailsSummary/index.js.map +1 -1
  633. package/lib-es/components/DataSummary/DataSummaryTypes/LargeSummary/LargeSummary.js.map +1 -1
  634. package/lib-es/components/DataSummary/DataSummaryTypes/LargeSummary/LargeSummaryContent.js.map +1 -1
  635. package/lib-es/components/DataSummary/DataSummaryTypes/LargeSummary/index.js.map +1 -1
  636. package/lib-es/components/DataSummary/DataSummaryTypes/ListSummary/ListSummary.js.map +1 -1
  637. package/lib-es/components/DataSummary/DataSummaryTypes/ListSummary/ListSummaryContent.js.map +1 -1
  638. package/lib-es/components/DataSummary/DataSummaryTypes/ListSummary/index.js.map +1 -1
  639. package/lib-es/components/DataSummary/DataSummaryTypes/TextSummary/TextSummary.js.map +1 -1
  640. package/lib-es/components/DataSummary/DataSummaryTypes/TextSummary/TextSummaryContent.js.map +1 -1
  641. package/lib-es/components/DataSummary/DataSummaryTypes/TextSummary/index.js.map +1 -1
  642. package/lib-es/components/DataSummary/DataSummaryTypes/index.js.map +1 -1
  643. package/lib-es/components/DataSummary/helpers/build-loop-props-content.js.map +1 -1
  644. package/lib-es/components/DataSummary/helpers/build-props-to-display-with-content.js.map +1 -1
  645. package/lib-es/components/DataSummary/helpers/get-data-summary-query.js.map +1 -1
  646. package/lib-es/components/DataSummary/helpers/get-link-based-on-value.js.map +1 -1
  647. package/lib-es/components/DataSummary/helpers/get-link-props.js.map +1 -1
  648. package/lib-es/components/DataSummary/helpers/get-link-to-published-content.js.map +1 -1
  649. package/lib-es/components/DataSummary/helpers/get-loop-props-limit.js.map +1 -1
  650. package/lib-es/components/DataSummary/helpers/get-prop-value.js.map +1 -1
  651. package/lib-es/components/DataSummary/helpers/get-value-from-array.js.map +1 -1
  652. package/lib-es/components/DataSummary/helpers/index.js.map +1 -1
  653. package/lib-es/components/DataSummary/helpers/parse-boolean-values.js.map +1 -1
  654. package/lib-es/components/DataSummary/helpers/strip-summary-props-content.js.map +1 -1
  655. package/lib-es/components/DataSummary/index.js.map +1 -1
  656. package/lib-es/components/DateTime/DateTime.js.map +1 -1
  657. package/lib-es/components/DateTime/index.js.map +1 -1
  658. package/lib-es/components/EmailConfirm/EmailConfirm.js.map +1 -1
  659. package/lib-es/components/EmailConfirm/index.js.map +1 -1
  660. package/lib-es/components/EmailConfirm/mutation.js.map +1 -1
  661. package/lib-es/components/Iframe/Iframe.js.map +1 -1
  662. package/lib-es/components/Iframe/constants.js.map +1 -1
  663. package/lib-es/components/Iframe/index.js.map +1 -1
  664. package/lib-es/components/Image/GlobalLightbox/GlobalLightbox.js.map +1 -1
  665. package/lib-es/components/Image/GlobalLightbox/NavButton.js.map +1 -1
  666. package/lib-es/components/Image/GlobalLightbox/index.js.map +1 -1
  667. package/lib-es/components/Image/Image.js.map +1 -1
  668. package/lib-es/components/Image/ImageDetails.js.map +1 -1
  669. package/lib-es/components/Image/ImageFactory.js.map +1 -1
  670. package/lib-es/components/Image/ImageRender.js.map +1 -1
  671. package/lib-es/components/Image/Lightbox/Lightbox.js.map +1 -1
  672. package/lib-es/components/Image/Lightbox/index.js.map +1 -1
  673. package/lib-es/components/Image/index.js.map +1 -1
  674. package/lib-es/components/ItemList/ItemListButton/ItemListButton.js.map +1 -1
  675. package/lib-es/components/ItemList/ItemListButton/index.js.map +1 -1
  676. package/lib-es/components/ItemList/ItemListCounter/ItemListCounter.js.map +1 -1
  677. package/lib-es/components/ItemList/ItemListCounter/index.js.map +1 -1
  678. package/lib-es/components/ItemList/ItemListNew/ItemListNew.js.map +1 -1
  679. package/lib-es/components/ItemList/ItemListNew/index.js.map +1 -1
  680. package/lib-es/components/ItemList/constants.js.map +1 -1
  681. package/lib-es/components/ItemList/helpers/get-item-list-data.js.map +1 -1
  682. package/lib-es/components/ItemList/helpers/get-item-list-id.js.map +1 -1
  683. package/lib-es/components/ItemList/helpers/get-item-list-ids.js.map +1 -1
  684. package/lib-es/components/ItemList/helpers/index.js.map +1 -1
  685. package/lib-es/components/ItemList/helpers/set-item-list-id.js.map +1 -1
  686. package/lib-es/components/ItemList/helpers/set-param-and-redirect.js.map +1 -1
  687. package/lib-es/components/ItemList/hooks/index.js.map +1 -1
  688. package/lib-es/components/ItemList/hooks/use-item-list-id.js.map +1 -1
  689. package/lib-es/components/Layout/Layout.js.map +1 -1
  690. package/lib-es/components/Layout/LayoutFactory.js.map +1 -1
  691. package/lib-es/components/Layout/LayoutWithStickyTimer.js.map +1 -1
  692. package/lib-es/components/Layout/constants.js.map +1 -1
  693. package/lib-es/components/Layout/helpers/check-if-row-has-columns.js.map +1 -1
  694. package/lib-es/components/Layout/helpers/get-styles-to-update.js.map +1 -1
  695. package/lib-es/components/Layout/helpers/index.js.map +1 -1
  696. package/lib-es/components/Layout/index.js.map +1 -1
  697. package/lib-es/components/LazyImage/LazyImage.js.map +1 -1
  698. package/lib-es/components/LazyImage/index.js.map +1 -1
  699. package/lib-es/components/List/ListBuilder.js.map +1 -1
  700. package/lib-es/components/List/ListFactory.js.map +1 -1
  701. package/lib-es/components/List/ListRender.js.map +1 -1
  702. package/lib-es/components/List/components/Cards/CardRenderWithInfiniteScroll.js.map +1 -1
  703. package/lib-es/components/List/components/Cards/CardsRender.js.map +1 -1
  704. package/lib-es/components/List/components/Cards/CardsRenderItem.js.map +1 -1
  705. package/lib-es/components/List/components/Cards/CardsRenderWrapper.js.map +1 -1
  706. package/lib-es/components/List/components/Cards/index.js.map +1 -1
  707. package/lib-es/components/List/components/Full/FullRender.js.map +1 -1
  708. package/lib-es/components/List/components/Full/FullRenderItem.js.map +1 -1
  709. package/lib-es/components/List/components/Full/FullRenderWithInfiniteScroll.js.map +1 -1
  710. package/lib-es/components/List/components/Full/index.js.map +1 -1
  711. package/lib-es/components/List/components/Header/ListHeader.js.map +1 -1
  712. package/lib-es/components/List/components/Header/index.js.map +1 -1
  713. package/lib-es/components/List/components/Pagination/Classic.js.map +1 -1
  714. package/lib-es/components/List/components/Pagination/ListPagination.js.map +1 -1
  715. package/lib-es/components/List/components/Pagination/LoadMore.js.map +1 -1
  716. package/lib-es/components/List/components/Pagination/index.js.map +1 -1
  717. package/lib-es/components/List/components/helpers/check-if-should-render-banner.js.map +1 -1
  718. package/lib-es/components/List/components/helpers/check-if-should-render-gtm.js.map +1 -1
  719. package/lib-es/components/List/components/helpers/index.js.map +1 -1
  720. package/lib-es/components/List/components/index.js.map +1 -1
  721. package/lib-es/components/List/constants.js.map +1 -1
  722. package/lib-es/components/List/helpers/build-az-aggregations.js.map +1 -1
  723. package/lib-es/components/List/helpers/build-az-url.js.map +1 -1
  724. package/lib-es/components/List/helpers/build-pagination-items.js.map +1 -1
  725. package/lib-es/components/List/helpers/build-pagination-url.js.map +1 -1
  726. package/lib-es/components/List/helpers/build-query-booster.js.map +1 -1
  727. package/lib-es/components/List/helpers/get-az-query-filter.js.map +1 -1
  728. package/lib-es/components/List/helpers/get-items-per-page-to-use.js.map +1 -1
  729. package/lib-es/components/List/helpers/get-list-component.js.map +1 -1
  730. package/lib-es/components/List/helpers/get-list-query.js.map +1 -1
  731. package/lib-es/components/List/helpers/get-list-specific-search-filter.js.map +1 -1
  732. package/lib-es/components/List/helpers/get-sort-props.js.map +1 -1
  733. package/lib-es/components/List/helpers/has-required-item-list-details.js.map +1 -1
  734. package/lib-es/components/List/helpers/index.js.map +1 -1
  735. package/lib-es/components/List/helpers/sort-aggs.js.map +1 -1
  736. package/lib-es/components/List/helpers/strip-query-key.js.map +1 -1
  737. package/lib-es/components/List/index.js.map +1 -1
  738. package/lib-es/components/Menu/Menu.js.map +1 -1
  739. package/lib-es/components/Menu/MenuContext.js.map +1 -1
  740. package/lib-es/components/Menu/index.js.map +1 -1
  741. package/lib-es/components/MenuItem/MenuItem.js.map +1 -1
  742. package/lib-es/components/MenuItem/index.js.map +1 -1
  743. package/lib-es/components/Modal/Modal.js.map +1 -1
  744. package/lib-es/components/Modal/index.js.map +1 -1
  745. package/lib-es/components/SearchContent/SearchContent.js.map +1 -1
  746. package/lib-es/components/SearchContent/SearchContentItems.js.map +1 -1
  747. package/lib-es/components/SearchContent/SearchContentResults.js.map +1 -1
  748. package/lib-es/components/SearchContent/SearchContentToggleIcon.js.map +1 -1
  749. package/lib-es/components/SearchContent/constants.js.map +1 -1
  750. package/lib-es/components/SearchContent/index.js.map +1 -1
  751. package/lib-es/components/SearchFilter/SearchFilter/CloseMobileForm.js.map +1 -1
  752. package/lib-es/components/SearchFilter/SearchFilter/FiltersList.js.map +1 -1
  753. package/lib-es/components/SearchFilter/SearchFilter/MobileFormToolbar.js.map +1 -1
  754. package/lib-es/components/SearchFilter/SearchFilter/ResetDesktopForm.js.map +1 -1
  755. package/lib-es/components/SearchFilter/SearchFilter/SearchFilter.js.map +1 -1
  756. package/lib-es/components/SearchFilter/SearchFilter/index.js.map +1 -1
  757. package/lib-es/components/SearchFilter/SearchFilterContainer.js.map +1 -1
  758. package/lib-es/components/SearchFilter/components/Checkbox.js.map +1 -1
  759. package/lib-es/components/SearchFilter/components/Range.js.map +1 -1
  760. package/lib-es/components/SearchFilter/components/Select.js.map +1 -1
  761. package/lib-es/components/SearchFilter/components/TextSearch.js.map +1 -1
  762. package/lib-es/components/SearchFilter/components/index.js.map +1 -1
  763. package/lib-es/components/SearchFilter/constants.js.map +1 -1
  764. package/lib-es/components/SearchFilter/helpers/build-filters-query.js.map +1 -1
  765. package/lib-es/components/SearchFilter/helpers/build-new-url.js.map +1 -1
  766. package/lib-es/components/SearchFilter/helpers/build-raw-query-stringified.js.map +1 -1
  767. package/lib-es/components/SearchFilter/helpers/build-url-query.js.map +1 -1
  768. package/lib-es/components/SearchFilter/helpers/calculate-min-max.js.map +1 -1
  769. package/lib-es/components/SearchFilter/helpers/calculate-step.js.map +1 -1
  770. package/lib-es/components/SearchFilter/helpers/check-if-range-updated.js.map +1 -1
  771. package/lib-es/components/SearchFilter/helpers/decode-encode.js.map +1 -1
  772. package/lib-es/components/SearchFilter/helpers/get-display-value.js.map +1 -1
  773. package/lib-es/components/SearchFilter/helpers/get-filter-ranges-and-checkboxes-values.js.map +1 -1
  774. package/lib-es/components/SearchFilter/helpers/get-filter-value-from-query.js.map +1 -1
  775. package/lib-es/components/SearchFilter/helpers/get-filter-values.js.map +1 -1
  776. package/lib-es/components/SearchFilter/helpers/get-initial-filter-values.js.map +1 -1
  777. package/lib-es/components/SearchFilter/helpers/get-intersected-prop.js.map +1 -1
  778. package/lib-es/components/SearchFilter/helpers/get-range-value.js.map +1 -1
  779. package/lib-es/components/SearchFilter/helpers/get-responsive-filter-classnames.js.map +1 -1
  780. package/lib-es/components/SearchFilter/helpers/get-select-options.js.map +1 -1
  781. package/lib-es/components/SearchFilter/helpers/get-updated-filter-by.js.map +1 -1
  782. package/lib-es/components/SearchFilter/helpers/index.js.map +1 -1
  783. package/lib-es/components/SearchFilter/helpers/is-device-desktop.js.map +1 -1
  784. package/lib-es/components/SearchFilter/helpers/parse-filter-value.js.map +1 -1
  785. package/lib-es/components/SearchFilter/index.js.map +1 -1
  786. package/lib-es/components/SearchFilter/searchFilterReducer.js.map +1 -1
  787. package/lib-es/components/SearchFilterSort/SearchFilterSort.js.map +1 -1
  788. package/lib-es/components/SearchFilterSort/constants.js.map +1 -1
  789. package/lib-es/components/SearchFilterSort/helpers/handle-sort-update.js.map +1 -1
  790. package/lib-es/components/SearchFilterSort/helpers/index.js.map +1 -1
  791. package/lib-es/components/SearchFilterSort/helpers/update-sort.js.map +1 -1
  792. package/lib-es/components/SearchFilterSort/index.js.map +1 -1
  793. package/lib-es/components/SocialFollow/SFItem.js.map +1 -1
  794. package/lib-es/components/SocialFollow/SocialFollow.js.map +1 -1
  795. package/lib-es/components/SocialFollow/SocialFollowRender.js.map +1 -1
  796. package/lib-es/components/SocialFollow/index.js.map +1 -1
  797. package/lib-es/components/SocialFollow/sf.config.js.map +1 -1
  798. package/lib-es/components/SubMenu/SubMenu.js.map +1 -1
  799. package/lib-es/components/SubMenu/index.js.map +1 -1
  800. package/lib-es/components/TextBlock/TextBlockRender.js.map +1 -1
  801. package/lib-es/components/TextBlock/index.js.map +1 -1
  802. package/lib-es/components/Video/Video.js.map +1 -1
  803. package/lib-es/components/Video/VideoModal.js.map +1 -1
  804. package/lib-es/components/Video/VideoRender.js.map +1 -1
  805. package/lib-es/components/Video/index.js.map +1 -1
  806. package/lib-es/components/Video/providers/Default.js.map +1 -1
  807. package/lib-es/components/Video/providers/JWPlayer/JWPlayerController.js.map +1 -1
  808. package/lib-es/components/Video/providers/JWPlayer/JWPlayerProvider.js.map +1 -1
  809. package/lib-es/components/Video/providers/Vimeo/VimeoProvider.js.map +1 -1
  810. package/lib-es/components/Video/providers/Vimeo/helpers/add-extra-params-to-url.js.map +1 -1
  811. package/lib-es/components/Video/providers/Vimeo/helpers/index.js.map +1 -1
  812. package/lib-es/components/Video/providers/YouTube/YouTubeProvider.js.map +1 -1
  813. package/lib-es/components/Video/providers/YouTube/YoutubeEmbeded.js.map +1 -1
  814. package/lib-es/components/Video/providers/YouTube/helpers/index.js.map +1 -1
  815. package/lib-es/components/Video/providers/get-provider.js.map +1 -1
  816. package/lib-es/components/Video/providers/index.js.map +1 -1
  817. package/lib-es/components/Wrapper.js.map +1 -1
  818. package/lib-es/components/index.js.map +1 -1
  819. package/lib-es/constants/componentsDefaultValues.js.map +1 -1
  820. package/lib-es/constants/index.js.map +1 -1
  821. package/lib-es/helpers/append-images.js.map +1 -1
  822. package/lib-es/helpers/build-az-filter.js.map +1 -1
  823. package/lib-es/helpers/build-checkbox-filters.js.map +1 -1
  824. package/lib-es/helpers/build-image-properties.js.map +1 -1
  825. package/lib-es/helpers/build-inherited-filters.js.map +1 -1
  826. package/lib-es/helpers/build-link-extra-props.js.map +1 -1
  827. package/lib-es/helpers/build-props-query.js.map +1 -1
  828. package/lib-es/helpers/build-query-fields.js.map +1 -1
  829. package/lib-es/helpers/build-query-key.js.map +1 -1
  830. package/lib-es/helpers/build-raw-query-base.js.map +1 -1
  831. package/lib-es/helpers/build-raw-query.js.map +1 -1
  832. package/lib-es/helpers/build-search-values-checkbox-select.js.map +1 -1
  833. package/lib-es/helpers/build-search-values-text.js.map +1 -1
  834. package/lib-es/helpers/build-set-filters.js.map +1 -1
  835. package/lib-es/helpers/build-sort-values.js.map +1 -1
  836. package/lib-es/helpers/check-for-error.js.map +1 -1
  837. package/lib-es/helpers/check-props-to-use.js.map +1 -1
  838. package/lib-es/helpers/entities/constants.js.map +1 -1
  839. package/lib-es/helpers/get-banner-data.js.map +1 -1
  840. package/lib-es/helpers/get-checkbox-filters.js.map +1 -1
  841. package/lib-es/helpers/get-click-wrapper-options.js.map +1 -1
  842. package/lib-es/helpers/get-current-offset.js.map +1 -1
  843. package/lib-es/helpers/get-dictionary-match.js.map +1 -1
  844. package/lib-es/helpers/get-display-count-data.js.map +1 -1
  845. package/lib-es/helpers/get-elasticsearch-operator.js.map +1 -1
  846. package/lib-es/helpers/get-entities-with-banner.js.map +1 -1
  847. package/lib-es/helpers/get-entity-data.js.map +1 -1
  848. package/lib-es/helpers/get-entity-render-props.js.map +1 -1
  849. package/lib-es/helpers/get-extra-az-bits.js.map +1 -1
  850. package/lib-es/helpers/get-filter-props.js.map +1 -1
  851. package/lib-es/helpers/get-filter-relation-keys.js.map +1 -1
  852. package/lib-es/helpers/get-generic-props.js.map +1 -1
  853. package/lib-es/helpers/get-generic-render-variables.js.map +1 -1
  854. package/lib-es/helpers/get-image-ids.js.map +1 -1
  855. package/lib-es/helpers/get-inherited-filters.js.map +1 -1
  856. package/lib-es/helpers/get-items-to-display-ids.js.map +1 -1
  857. package/lib-es/helpers/get-modifiers.js.map +1 -1
  858. package/lib-es/helpers/get-not-equal-query.js.map +1 -1
  859. package/lib-es/helpers/get-pagination-index.js.map +1 -1
  860. package/lib-es/helpers/get-parsed-prop-values.js.map +1 -1
  861. package/lib-es/helpers/get-parsed-summary-value.js.map +1 -1
  862. package/lib-es/helpers/get-prop-values.js.map +1 -1
  863. package/lib-es/helpers/get-query-filters.js.map +1 -1
  864. package/lib-es/helpers/get-query-props.js.map +1 -1
  865. package/lib-es/helpers/get-required-schemas.js.map +1 -1
  866. package/lib-es/helpers/get-sanitized-prop-values.js.map +1 -1
  867. package/lib-es/helpers/get-search-filter-type.js.map +1 -1
  868. package/lib-es/helpers/get-sort-by-field-name.js.map +1 -1
  869. package/lib-es/helpers/get-unpublished-entity-name.js.map +1 -1
  870. package/lib-es/helpers/get-updated-filter-by.js.map +1 -1
  871. package/lib-es/helpers/get-wrapped-value-with-link.js.map +1 -1
  872. package/lib-es/helpers/group-entities.js.map +1 -1
  873. package/lib-es/helpers/has-children.js.map +1 -1
  874. package/lib-es/helpers/index.js.map +1 -1
  875. package/lib-es/helpers/inject-banner.js.map +1 -1
  876. package/lib-es/helpers/inject-banners-to-entities.js.map +1 -1
  877. package/lib-es/helpers/inject-multiple-banners/get-banners-for-entities/get-banners-for-entities.js.map +1 -1
  878. package/lib-es/helpers/inject-multiple-banners/get-banners-for-entities/index.js.map +1 -1
  879. package/lib-es/helpers/inject-multiple-banners/get-banners-for-nodes/get-banners-for-nodes.js.map +1 -1
  880. package/lib-es/helpers/inject-multiple-banners/get-banners-for-nodes/helpers/group-node-entities.js.map +1 -1
  881. package/lib-es/helpers/inject-multiple-banners/get-banners-for-nodes/helpers/index.js.map +1 -1
  882. package/lib-es/helpers/inject-multiple-banners/get-banners-for-nodes/index.js.map +1 -1
  883. package/lib-es/helpers/inject-multiple-banners/index.js.map +1 -1
  884. package/lib-es/helpers/inject-multiple-banners/inject-multiple-banners.js.map +1 -1
  885. package/lib-es/helpers/is-browser.js.map +1 -1
  886. package/lib-es/helpers/is-filter-entitys-id.js.map +1 -1
  887. package/lib-es/helpers/is-object.js.map +1 -1
  888. package/lib-es/helpers/is-using-relation-image.js.map +1 -1
  889. package/lib-es/helpers/parse-TextBlock.js.map +1 -1
  890. package/lib-es/helpers/parse-interval.js.map +1 -1
  891. package/lib-es/helpers/parse-props-to-display.js.map +1 -1
  892. package/lib-es/helpers/process-data-summary-value.js.map +1 -1
  893. package/lib-es/helpers/remove-extra-items.js.map +1 -1
  894. package/lib-es/helpers/remove-unwanted-characters.js.map +1 -1
  895. package/lib-es/helpers/render-children.js.map +1 -1
  896. package/lib-es/helpers/should-render-waypoint.js.map +1 -1
  897. package/lib-es/helpers/should-show-property.js.map +1 -1
  898. package/lib-es/helpers/sort-response-data.js.map +1 -1
  899. package/lib-es/helpers/split-children.js.map +1 -1
  900. package/lib-es/helpers/update-childrens-parent.js.map +1 -1
  901. package/lib-es/hooks/helpers/RenderComponent.js.map +1 -1
  902. package/lib-es/hooks/helpers/StoreImages.js.map +1 -1
  903. package/lib-es/hooks/helpers/append-gtm-classname.js.map +1 -1
  904. package/lib-es/hooks/helpers/buildPBComponents.js.map +1 -1
  905. package/lib-es/hooks/helpers/check-banner-insertion-set.js.map +1 -1
  906. package/lib-es/hooks/helpers/check-collisions.js.map +1 -1
  907. package/lib-es/hooks/helpers/constants.js.map +1 -1
  908. package/lib-es/hooks/helpers/get-banner-index.js.map +1 -1
  909. package/lib-es/hooks/helpers/get-components-to-insert-by-type.js.map +1 -1
  910. package/lib-es/hooks/helpers/get-lightbox-images.js.map +1 -1
  911. package/lib-es/hooks/helpers/getComponent.js.map +1 -1
  912. package/lib-es/hooks/helpers/getVariant.js.map +1 -1
  913. package/lib-es/hooks/helpers/index.js.map +1 -1
  914. package/lib-es/hooks/helpers/inject-element-components.js.map +1 -1
  915. package/lib-es/hooks/helpers/inject-textblock-banners.js.map +1 -1
  916. package/lib-es/hooks/helpers/insert-banners.js.map +1 -1
  917. package/lib-es/hooks/helpers/update-targetings.js.map +1 -1
  918. package/lib-es/hooks/index.js.map +1 -1
  919. package/lib-es/hooks/use-app-sync-event-hook.js.map +1 -1
  920. package/lib-es/hooks/use-banner-insertion.js.map +1 -1
  921. package/lib-es/hooks/use-check-mobile-screen.js.map +1 -1
  922. package/lib-es/hooks/use-get-entity-schema.js.map +1 -1
  923. package/lib-es/hooks/use-get-entity-schemas-as-obj.js.map +1 -1
  924. package/lib-es/hooks/use-get-image-id-from-relation.js.map +1 -1
  925. package/lib-es/hooks/use-get-images.js.map +1 -1
  926. package/lib-es/hooks/use-get-single-entity-schema.js.map +1 -1
  927. package/lib-es/hooks/use-page-builder.js.map +1 -1
  928. package/lib-es/index.js.map +1 -1
  929. package/lib-es/utils/component-map.js.map +1 -1
  930. package/lib-es/utils/get-class-modifiers.js.map +1 -1
  931. package/lib-es/utils/get-image-data.js.map +1 -1
  932. package/lib-es/utils/get-props-to-display-modifiers.js.map +1 -1
  933. package/lib-es/utils/index.js.map +1 -1
  934. package/lib-es/utils/is-object-empty.js.map +1 -1
  935. package/lib-es/utils/variant-handler.js.map +1 -1
  936. package/lib-es/variants/HeroImage/index.js.map +1 -1
  937. package/lib-es/variants/Infographic/Infographic.js.map +1 -1
  938. package/lib-es/variants/Infographic/index.js.map +1 -1
  939. package/lib-es/variants/Infographic/useInfographic.js.map +1 -1
  940. package/lib-es/variants/LongformGallery/LongformGallery.js.map +1 -1
  941. package/lib-es/variants/LongformGallery/LongformGalleryImage.js.map +1 -1
  942. package/lib-es/variants/LongformGallery/constants.js.map +1 -1
  943. package/lib-es/variants/LongformGallery/helpers/index.js.map +1 -1
  944. package/lib-es/variants/LongformGallery/helpers/parseImageData.js.map +1 -1
  945. package/lib-es/variants/LongformGallery/helpers/separateImages.js.map +1 -1
  946. package/lib-es/variants/LongformGallery/helpers/shouldSkip.js.map +1 -1
  947. package/lib-es/variants/LongformGallery/index.js.map +1 -1
  948. package/lib-es/variants/LongformGallery/useLongformGallery.js.map +1 -1
  949. package/lib-es/variants/LongformRow/index.js.map +1 -1
  950. package/lib-es/variants/ParallaxImageTextRight/index.js.map +1 -1
  951. package/lib-es/variants/SlideSummary/SlideSummary.js +1 -1
  952. package/lib-es/variants/SlideSummary/SlideSummary.js.map +1 -1
  953. package/lib-es/variants/SlideSummary/index.js.map +1 -1
  954. package/lib-es/variants/ThumbnailCarousel/ThumbnailCarousel.js.map +1 -1
  955. package/lib-es/variants/ThumbnailCarousel/ThumbnailImage/ThumbnailImage.js.map +1 -1
  956. package/lib-es/variants/ThumbnailCarousel/ThumbnailImage/index.js.map +1 -1
  957. package/lib-es/variants/ThumbnailCarousel/ThumbnailImage/useThumbnailImage.js.map +1 -1
  958. package/lib-es/variants/ThumbnailCarousel/index.js.map +1 -1
  959. package/lib-es/variants/ThumbnailCarousel/useThumbnailCarousel.js.map +1 -1
  960. package/lib-es/variants/index.js.map +1 -1
  961. package/package.json +2 -2
  962. package/src/variants/SlideSummary/SlideSummary.js +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"Select.js","names":["_react","_interopRequireDefault","require","_propTypes","_select","_constants","SelectFilter","_ref","data","label","prop","updateFilterValues","filterValues","shouldSearch","displayLabelAsPlaceholder","displayFilterCount","elementTitle","filterValue","disabledOptions","_ref2","_ref2$buckets","buckets","options","map","_ref3","key","count","doc_count","push","optionLabel","concat","filter","Boolean","sort","labelText","labelToUse","defaultTextValue","DEFAULT_OPTION","createElement","Fragment","className","value","id","name","onChange","_ref4","valueToUse","_defineProperty2","disabled","propTypes","PropTypes","object","isRequired","string","func","bool","defaultProps","_default","exports"],"sources":["../../../../src/components/SearchFilter/components/Select.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport Select from '@blaze-react/select';\nimport { DEFAULT_OPTION } from '../constants';\n\nconst SelectFilter = ({\n data,\n label,\n prop,\n updateFilterValues,\n filterValues,\n shouldSearch,\n displayLabelAsPlaceholder,\n displayFilterCount,\n elementTitle\n}) => {\n const filterValue = filterValues[prop] || '';\n const disabledOptions = [];\n const { buckets = [] } = data[prop] || {};\n const options = buckets\n .map(({ key, doc_count: count }) => {\n if (!count) disabledOptions.push(key);\n const optionLabel = displayFilterCount ? `${key} (${count})` : key;\n return [key, optionLabel];\n })\n .filter(Boolean)\n .sort();\n\n const labelText = label || prop;\n let labelToUse = labelText;\n let defaultTextValue = DEFAULT_OPTION;\n if (displayLabelAsPlaceholder) {\n defaultTextValue = labelToUse;\n labelToUse = null;\n }\n\n return (\n <>\n {elementTitle && <div className=\"heading heading--section\">{elementTitle}</div>}\n <Select\n label={labelToUse}\n value={filterValue}\n id={prop}\n name={`filter-${prop}`}\n data-testid={`filter-${prop}`}\n options={options}\n defaultTextValue={defaultTextValue}\n onChange={({ value }) => {\n let valueToUse = value;\n if (value === defaultTextValue) valueToUse = '';\n updateFilterValues({ [prop]: valueToUse }, shouldSearch);\n }}\n disabled={disabledOptions}\n />\n </>\n );\n};\n\nSelectFilter.propTypes = {\n data: PropTypes.object.isRequired,\n prop: PropTypes.string.isRequired,\n filterValues: PropTypes.object,\n updateFilterValues: PropTypes.func.isRequired,\n shouldSearch: PropTypes.bool,\n label: PropTypes.string,\n elementTitle: PropTypes.string,\n\n displayLabelAsPlaceholder: PropTypes.bool,\n displayFilterCount: PropTypes.bool\n};\n\nSelectFilter.defaultProps = {\n filterValues: {},\n shouldSearch: false,\n label: '',\n elementTitle: '',\n displayLabelAsPlaceholder: false,\n displayFilterCount: false\n};\n\nexport default SelectFilter;\n"],"mappings":";;;;;;;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,OAAA,GAAAH,sBAAA,CAAAC,OAAA;AACA,IAAAG,UAAA,GAAAH,OAAA;AAEA,IAAMI,YAAY,GAAG,SAAfA,YAAYA,CAAAC,IAAA,EAUZ;EAAA,IATJC,IAAI,GAAAD,IAAA,CAAJC,IAAI;IACJC,KAAK,GAAAF,IAAA,CAALE,KAAK;IACLC,IAAI,GAAAH,IAAA,CAAJG,IAAI;IACJC,kBAAkB,GAAAJ,IAAA,CAAlBI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AE,KAAK;EACnBJ,KAAK,EAAE,EAAE;EACTO,YAAY,EAAE,EAAE;EAChBF,yBAAyB,EAAE,KAAK;EAChCC,kBAAkB,EAAE;AACtB,CAAC;AAAC,IAAA0C,QAAA,GAAAC,OAAA,cAEapD,YAAY","ignoreList":[]}
1
+ {"version":3,"file":"Select.js","names":["_react","_interopRequireDefault","require","_propTypes","_select","_constants","SelectFilter","_ref","data","label","prop","updateFilterValues","filterValues","shouldSearch","displayLabelAsPlaceholder","displayFilterCount","elementTitle","filterValue","disabledOptions","_ref2","_ref2$buckets","buckets","options","map","_ref3","key","count","doc_count","push","optionLabel","concat","filter","Boolean","sort","labelText","labelToUse","defaultTextValue","DEFAULT_OPTION","createElement","Fragment","className","value","id","name","onChange","_ref4","valueToUse","_defineProperty2","disabled","propTypes","PropTypes","object","isRequired","string","func","bool","defaultProps","_default","exports"],"sources":["../../../../src/components/SearchFilter/components/Select.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport Select from '@blaze-react/select';\nimport { DEFAULT_OPTION } from '../constants';\n\nconst SelectFilter = ({\n data,\n label,\n prop,\n updateFilterValues,\n filterValues,\n shouldSearch,\n displayLabelAsPlaceholder,\n displayFilterCount,\n elementTitle\n}) => {\n const filterValue = filterValues[prop] || '';\n const disabledOptions = [];\n const { buckets = [] } = data[prop] || {};\n const options = buckets\n .map(({ key, doc_count: count }) => {\n if (!count) disabledOptions.push(key);\n const optionLabel = displayFilterCount ? `${key} (${count})` : key;\n return [key, optionLabel];\n })\n .filter(Boolean)\n .sort();\n\n const labelText = label || prop;\n let labelToUse = labelText;\n let defaultTextValue = DEFAULT_OPTION;\n if (displayLabelAsPlaceholder) {\n defaultTextValue = labelToUse;\n labelToUse = null;\n }\n\n return (\n <>\n {elementTitle && <div className=\"heading heading--section\">{elementTitle}</div>}\n <Select\n label={labelToUse}\n value={filterValue}\n id={prop}\n name={`filter-${prop}`}\n data-testid={`filter-${prop}`}\n options={options}\n defaultTextValue={defaultTextValue}\n onChange={({ value }) => {\n let valueToUse = value;\n if (value === defaultTextValue) valueToUse = '';\n updateFilterValues({ [prop]: valueToUse }, shouldSearch);\n }}\n disabled={disabledOptions}\n />\n </>\n );\n};\n\nSelectFilter.propTypes = {\n data: PropTypes.object.isRequired,\n prop: PropTypes.string.isRequired,\n filterValues: PropTypes.object,\n updateFilterValues: PropTypes.func.isRequired,\n shouldSearch: PropTypes.bool,\n label: PropTypes.string,\n elementTitle: PropTypes.string,\n\n displayLabelAsPlaceholder: PropTypes.bool,\n displayFilterCount: PropTypes.bool\n};\n\nSelectFilter.defaultProps = {\n filterValues: {},\n shouldSearch: false,\n label: '',\n elementTitle: '',\n displayLabelAsPlaceholder: false,\n displayFilterCount: false\n};\n\nexport default SelectFilter;\n"],"mappings":";;;;;;;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,OAAA,GAAAH,sBAAA,CAAAC,OAAA;AACA,IAAAG,UAAA,GAAAH,OAAA;AAEA,IAAMI,YAAY,GAAG,SAAfA,YAAYA,CAAAC,IAAA,EAUZ;EAAA,IATJC,IAAI,GAAAD,IAAA,CAAJC,IAAI;IACJC,KAAK,GAAAF,IAAA,CAALE,KAAK;IACLC,IAAI,GAAAH,IAAA,CAAJG,IAAI;IACJC,kBAAkB,GAAAJ,IAAA,CAAlBI,kBAAkB;IAClBC,YAAY,GAAAL,IAAA,CAAZK,YAAY;IACZC,YAAY,GAAAN,IAAA,CAAZM,YAAY;IACZC,yBAAyB,GAAAP,IAAA,CAAzBO,yBAAyB;IACzBC,kBAAkB,GAAAR,IAAA,CAAlBQ,kBAAkB;IAClBC,YAAY,GAAAT,IAAA,CAAZS,YAAY;EAEZ,IAAMC,WAAW,GAAGL,YAAY,CAACF,IAAI,CAAC,IAAI,EAAE;EAC5C,IAAMQ,eAAe,GAAG,EAAE;EAC1B,IAAAC,KAAA,GAAyBX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QAAQ,EAAE,SAAAA,SAAAC,KAAA,EAAe;MAAA,IAAZJ,KAAK,GAAAI,KAAA,CAALJ,KAAK;MAChB,IAAIK,UAAU,GAAGL,KAAK;MACtB,IAAIA,KAAK,KAAKL,gBAAgB,EAAEU,UAAU,GAAG,EAAE;MAC/CnC,kBAAkB,KAAAoC,gBAAA,iBAAIrC,IAAI,EAAGoC,UAAU,GAAIjC,YAAY,CAAC;IAC1D,CAAE;IACFmC,QAAQ,EAAE9B;EAAgB,CAC3B,CACD,CAAC;AAEP,CAAC;AAEDZ,YAAY,CAAC2C,SAAS,GAAG;EACvBzC,IAAI,EAAE0C,qBAAS,CAACC,MAAM,CAACC,UAAU;EACjC1C,IAAI,EAAEwC,qBAAS,CAACG,MAAM,CAACD,UAAU;EACjCxC,YAAY,EAAEsC,qBAAS,CAACC,MAAM;EAC9BxC,kBAAkB,EAAEuC,qBAAS,CAACI,IAAI,CAACF,UAAU;EAC7CvC,YAAY,EAAEqC,qBAAS,CAACK,IAAI;EAC5B9C,KAAK,EAAEyC,qBAAS,CAACG,MAAM;EACvBrC,YAAY,EAAEkC,qBAAS,CAACG,MAAM;EAE9BvC,yBAAyB,EAAEoC,qBAAS,CAACK,IAAI;EACzCxC,kBAAkB,EAAEmC,qBAAS,CAACK;AAChC,CAAC;AAEDjD,YAAY,CAACkD,YAAY,GAAG;EAC1B5C,YAAY,EAAE,CAAC,CAAC;EAChBC,YAAY,EAAE,KAAK;EACnBJ,KAAK,EAAE,EAAE;EACTO,YAAY,EAAE,EAAE;EAChBF,yBAAyB,EAAE,KAAK;EAChCC,kBAAkB,EAAE;AACtB,CAAC;AAAC,IAAA0C,QAAA,GAAAC,OAAA,cAEapD,YAAY"}
@@ -1 +1 @@
1
- {"version":3,"file":"TextSearch.js","names":["_react","_interopRequireDefault","require","_propTypes","_input","_md","_constants","TextSearch","_ref","label","searchValue","updateFilterValues","elementTitle","createElement","Fragment","className","id","SEARCH_TERM","value","placeholder","onChange","_ref2","eValue","_defineProperty2","type","onClick","e","preventDefault","MdSearch","propTypes","PropTypes","string","isRequired","func","defaultProps","_default","exports"],"sources":["../../../../src/components/SearchFilter/components/TextSearch.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport Input from '@blaze-react/input';\nimport { MdSearch } from 'react-icons/md';\nimport { SEARCH_TERM } from '../constants';\n\nconst TextSearch = ({ label, searchValue, updateFilterValues, elementTitle }) => (\n <>\n {elementTitle && <div className=\"heading heading--section\">{elementTitle}</div>}\n <div className=\"search\">\n <div className=\"search__wrapper\">\n <div className=\"form-field form-field--input form-field--search\">\n <Input\n id={SEARCH_TERM}\n value={searchValue}\n placeholder={label || 'Search'}\n onChange={({ value: eValue }) => {\n updateFilterValues({ [SEARCH_TERM]: eValue }, false);\n }}\n />\n </div>\n <button\n type=\"button\"\n className=\"icon-button icon-button--search\"\n onClick={e => {\n e.preventDefault();\n updateFilterValues({ [SEARCH_TERM]: searchValue }, true);\n }}>\n <i>\n <MdSearch />\n </i>\n </button>\n </div>\n </div>\n </>\n);\n\nTextSearch.propTypes = {\n searchValue: PropTypes.string.isRequired,\n updateFilterValues: PropTypes.func.isRequired,\n elementTitle: PropTypes.string,\n label: PropTypes.string\n};\n\nTextSearch.defaultProps = {\n elementTitle: '',\n label: ''\n};\n\nexport default TextSearch;\n"],"mappings":";;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,MAAA,GAAAH,sBAAA,CAAAC,OAAA;AACA,IAAAG,GAAA,GAAAH,OAAA;AACA,IAAAI,UAAA,GAAAJ,OAAA;AAEA,IAAMK,UAAU,GAAG,SAAbA,UAAUA,CAAAC,IAAA;EAAA,IAAMC,KAAK,GAAAD,IAAA,CAALC,KAAK;IAAEC,WAAW,GAAAF,IAAA,CAAXE,WAAW;IAAEC,kBAAkB,GAAAH,IAAA,CAAlBG,kBAAkB;IAAEC,YAAY,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AAS,CAACC,MAAM;EAC9BtB,KAAK,EAAEqB,qBAAS,CAACC;AACnB,CAAC;AAEDxB,UAAU,CAAC2B,YAAY,GAAG;EACxBtB,YAAY,EAAE,EAAE;EAChBH,KAAK,EAAE;AACT,CAAC;AAAC,IAAA0B,QAAA,GAAAC,OAAA,cAEa7B,UAAU","ignoreList":[]}
1
+ {"version":3,"file":"TextSearch.js","names":["_react","_interopRequireDefault","require","_propTypes","_input","_md","_constants","TextSearch","_ref","label","searchValue","updateFilterValues","elementTitle","createElement","Fragment","className","id","SEARCH_TERM","value","placeholder","onChange","_ref2","eValue","_defineProperty2","type","onClick","e","preventDefault","MdSearch","propTypes","PropTypes","string","isRequired","func","defaultProps","_default","exports"],"sources":["../../../../src/components/SearchFilter/components/TextSearch.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport Input from '@blaze-react/input';\nimport { MdSearch } from 'react-icons/md';\nimport { SEARCH_TERM } from '../constants';\n\nconst TextSearch = ({ label, searchValue, updateFilterValues, elementTitle }) => (\n <>\n {elementTitle && <div className=\"heading heading--section\">{elementTitle}</div>}\n <div className=\"search\">\n <div className=\"search__wrapper\">\n <div className=\"form-field form-field--input form-field--search\">\n <Input\n id={SEARCH_TERM}\n value={searchValue}\n placeholder={label || 'Search'}\n onChange={({ value: eValue }) => {\n updateFilterValues({ [SEARCH_TERM]: eValue }, false);\n }}\n />\n </div>\n <button\n type=\"button\"\n className=\"icon-button icon-button--search\"\n onClick={e => {\n e.preventDefault();\n updateFilterValues({ [SEARCH_TERM]: searchValue }, true);\n }}>\n <i>\n <MdSearch />\n </i>\n </button>\n </div>\n </div>\n </>\n);\n\nTextSearch.propTypes = {\n searchValue: PropTypes.string.isRequired,\n updateFilterValues: PropTypes.func.isRequired,\n elementTitle: PropTypes.string,\n label: PropTypes.string\n};\n\nTextSearch.defaultProps = {\n elementTitle: '',\n label: ''\n};\n\nexport default TextSearch;\n"],"mappings":";;;;;;;;;AAAA,IAAAA,MAAA,G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kB,KAAAY,gBAAA,iBAAIN,sBAAW,EAAGP,WAAW,GAAI,IAAI,CAAC;IAC1D;EAAE,gBACFV,MAAA,YAAAa,aAAA,yBACEb,MAAA,YAAAa,aAAA,CAACR,GAAA,CAAAuB,QAAQ,MAAE,CACV,CACG,CACL,CACF,CACL,CAAC;AAAA,CACJ;AAEDrB,UAAU,CAACsB,SAAS,GAAG;EACrBnB,WAAW,EAAEoB,qBAAS,CAACC,MAAM,CAACC,UAAU;EACxCrB,kBAAkB,EAAEmB,qBAAS,CAACG,IAAI,CAACD,UAAU;EAC7CpB,YAAY,EAAEkB,qBAAS,CAACC,MAAM;EAC9BtB,KAAK,EAAEqB,qBAAS,CAACC;AACnB,CAAC;AAEDxB,UAAU,CAAC2B,YAAY,GAAG;EACxBtB,YAAY,EAAE,EAAE;EAChBH,KAAK,EAAE;AACT,CAAC;AAAC,IAAA0B,QAAA,GAAAC,OAAA,cAEa7B,UAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["_TextSearch","_interopRequireDefault","require","_Checkbox","_Select","_Range"],"sources":["../../../../src/components/SearchFilter/components/index.js"],"sourcesContent":["import TextSearch from './TextSearch';\nimport Checkbox from './Checkbox';\nimport SelectFilter from './Select';\nimport Range from './Range';\n\nexport { TextSearch, Checkbox, SelectFilter, Range };\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,WAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,SAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,OAAA,GAAAH,sBAAA,CAAAC,OAAA;AACA,IAAAG,MAAA,GAAAJ,sBAAA,CAAAC,OAAA","ignoreList":[]}
1
+ {"version":3,"file":"index.js","names":["_TextSearch","_interopRequireDefault","require","_Checkbox","_Select","_Range"],"sources":["../../../../src/components/SearchFilter/components/index.js"],"sourcesContent":["import TextSearch from './TextSearch';\nimport Checkbox from './Checkbox';\nimport SelectFilter from './Select';\nimport Range from './Range';\n\nexport { TextSearch, Checkbox, SelectFilter, Range };\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,WAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,SAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,OAAA,GAAAH,sBAAA,CAAAC,OAAA;AACA,IAAAG,MAAA,GAAAJ,sBAAA,CAAAC,OAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","names":["CHECKBOX","exports","SELECT","TEXT_SEARCH","SEARCH_TERM","SIZE","process","env","BLAZE_PB_SEARCH_FILETER_AGG_SIZE","KEYWORD","RAW_RESULTS","DEFAULT_OPTION","DEFAULT_VALUES","RANGE","CHECKBOX_SELECT","LIMIT_MIN","LIMIT_MAX","MORE","LESS","UPDATED_RANGES","MIN_VALUE","MAX_VALUE","TABLET_WIDTH","RESET","SEARCH","REFINE","MOBILE_REFINEMENT_TITLE","MORE_FILTERS_CLASSES_BASE","MORE_FILTERS_CLASSES","MOBILE_WRAPPER","concat","MOBILE_CONTENT","MOBILE_TOGGLER","MOBILE_BUTTONS","DESKTOP_WRAPPER","DESKTOP_CONTENT","DESKTOP_TOGGLER","DESKTOP_BUTTONS"],"sources":["../../../src/components/SearchFilter/constants.js"],"sourcesContent":["const CHECKBOX = 'checkbox';\nconst SELECT = 'select';\nconst TEXT_SEARCH = 'text-search';\nconst SEARCH_TERM = 'search_term';\nconst SIZE = process.env.BLAZE_PB_SEARCH_FILETER_AGG_SIZE || 500;\nconst KEYWORD = 'keyword';\nconst RAW_RESULTS = 'rawResults';\nconst DEFAULT_OPTION = 'Any';\nconst DEFAULT_VALUES = ['Any', 'Please Choose...'];\nconst RANGE = 'range';\nconst CHECKBOX_SELECT = ['checkbox', 'select'];\nconst LIMIT_MIN = 5;\nconst LIMIT_MAX = 1000;\nconst MORE = 'more';\nconst LESS = 'less';\nconst UPDATED_RANGES = 'updated_ranges';\nconst MIN_VALUE = 'min-value';\nconst MAX_VALUE = 'max-value';\nconst TABLET_WIDTH = 768;\nconst RESET = 'Reset all filters';\nconst SEARCH = 'Search';\nconst REFINE = `Refine Search`;\nconst MOBILE_REFINEMENT_TITLE = 'Search refinement';\n\nconst MORE_FILTERS_CLASSES_BASE = 'filter__more-filters';\nconst MORE_FILTERS_CLASSES = {\n MOBILE_WRAPPER: `${MORE_FILTERS_CLASSES_BASE}-mobile-wrapper`,\n MOBILE_CONTENT: `${MORE_FILTERS_CLASSES_BASE}-mobile-content`,\n MOBILE_TOGGLER: `${MORE_FILTERS_CLASSES_BASE}-mobile-toggler`,\n MOBILE_BUTTONS: `${MORE_FILTERS_CLASSES_BASE}-mobile-buttons`,\n DESKTOP_WRAPPER: `${MORE_FILTERS_CLASSES_BASE}-desktop-wrapper`,\n DESKTOP_CONTENT: `${MORE_FILTERS_CLASSES_BASE}-desktop-content`,\n DESKTOP_TOGGLER: `${MORE_FILTERS_CLASSES_BASE}-desktop-toggler`,\n DESKTOP_BUTTONS: `${MORE_FILTERS_CLASSES_BASE}-desktop-buttons`\n};\n\nexport {\n CHECKBOX,\n SELECT,\n TEXT_SEARCH,\n SEARCH_TERM,\n SIZE,\n KEYWORD,\n RAW_RESULTS,\n DEFAULT_OPTION,\n DEFAULT_VALUES,\n RANGE,\n CHECKBOX_SELECT,\n LIMIT_MIN,\n LIMIT_MAX,\n MORE,\n LESS,\n UPDATED_RANGES,\n MIN_VALUE,\n MAX_VALUE,\n TABLET_WIDTH,\n RESET,\n SEARCH,\n REFINE,\n MOBILE_REFINEMENT_TITLE,\n MORE_FILTERS_CLASSES\n};\n"],"mappings":";;;;;;;AAAA,IAAMA,QAAQ,GAAAC,OAAA,CAAAD,QAAA,GAAG,UAAU;AAC3B,IAAME,MAAM,GAAAD,OAAA,CAAAC,MAAA,GAAG,QAAQ;AACvB,IAAMC,WAAW,GAAAF,OAAA,CAAAE,WAAA,GAAG,aAAa;AACjC,IAAMC,WAAW,GAAAH,OAAA,CAAAG,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GAAG,mBAAmB;AAEnD,IAAMC,yBAAyB,GAAG,sBAAsB;AACxD,IAAMC,oBAAoB,GAAA3B,OAAA,CAAA2B,oBAAA,GAAG;EAC3BC,cAAc,KAAAC,MAAA,CAAKH,yBAAyB,oBAAiB;EAC7DI,cAAc,KAAAD,MAAA,CAAKH,yBAAyB,oBAAiB;EAC7DK,cAAc,KAAAF,MAAA,CAAKH,yBAAyB,oBAAiB;EAC7DM,cAAc,KAAAH,MAAA,CAAKH,yBAAyB,oBAAiB;EAC7DO,eAAe,KAAAJ,MAAA,CAAKH,yBAAyB,qBAAkB;EAC/DQ,eAAe,KAAAL,MAAA,CAAKH,yBAAyB,qBAAkB;EAC/DS,eAAe,KAAAN,MAAA,CAAKH,yBAAyB,qBAAkB;EAC/DU,eAAe,KAAAP,MAAA,CAAKH,yBAAyB;AAC/C,CAAC","ignoreList":[]}
1
+ {"version":3,"file":"constants.js","names":["CHECKBOX","exports","SELECT","TEXT_SEARCH","SEARCH_TERM","SIZE","process","env","BLAZE_PB_SEARCH_FILETER_AGG_SIZE","KEYWORD","RAW_RESULTS","DEFAULT_OPTION","DEFAULT_VALUES","RANGE","CHECKBOX_SELECT","LIMIT_MIN","LIMIT_MAX","MORE","LESS","UPDATED_RANGES","MIN_VALUE","MAX_VALUE","TABLET_WIDTH","RESET","SEARCH","REFINE","MOBILE_REFINEMENT_TITLE","MORE_FILTERS_CLASSES_BASE","MORE_FILTERS_CLASSES","MOBILE_WRAPPER","concat","MOBILE_CONTENT","MOBILE_TOGGLER","MOBILE_BUTTONS","DESKTOP_WRAPPER","DESKTOP_CONTENT","DESKTOP_TOGGLER","DESKTOP_BUTTONS"],"sources":["../../../src/components/SearchFilter/constants.js"],"sourcesContent":["const CHECKBOX = 'checkbox';\nconst SELECT = 'select';\nconst TEXT_SEARCH = 'text-search';\nconst SEARCH_TERM = 'search_term';\nconst SIZE = process.env.BLAZE_PB_SEARCH_FILETER_AGG_SIZE || 500;\nconst KEYWORD = 'keyword';\nconst RAW_RESULTS = 'rawResults';\nconst DEFAULT_OPTION = 'Any';\nconst DEFAULT_VALUES = ['Any', 'Please Choose...'];\nconst RANGE = 'range';\nconst CHECKBOX_SELECT = ['checkbox', 'select'];\nconst LIMIT_MIN = 5;\nconst LIMIT_MAX = 1000;\nconst MORE = 'more';\nconst LESS = 'less';\nconst UPDATED_RANGES = 'updated_ranges';\nconst MIN_VALUE = 'min-value';\nconst MAX_VALUE = 'max-value';\nconst TABLET_WIDTH = 768;\nconst RESET = 'Reset all filters';\nconst SEARCH = 'Search';\nconst REFINE = `Refine Search`;\nconst MOBILE_REFINEMENT_TITLE = 'Search refinement';\n\nconst MORE_FILTERS_CLASSES_BASE = 'filter__more-filters';\nconst MORE_FILTERS_CLASSES = {\n MOBILE_WRAPPER: `${MORE_FILTERS_CLASSES_BASE}-mobile-wrapper`,\n MOBILE_CONTENT: `${MORE_FILTERS_CLASSES_BASE}-mobile-content`,\n MOBILE_TOGGLER: `${MORE_FILTERS_CLASSES_BASE}-mobile-toggler`,\n MOBILE_BUTTONS: `${MORE_FILTERS_CLASSES_BASE}-mobile-buttons`,\n DESKTOP_WRAPPER: `${MORE_FILTERS_CLASSES_BASE}-desktop-wrapper`,\n DESKTOP_CONTENT: `${MORE_FILTERS_CLASSES_BASE}-desktop-content`,\n DESKTOP_TOGGLER: `${MORE_FILTERS_CLASSES_BASE}-desktop-toggler`,\n DESKTOP_BUTTONS: `${MORE_FILTERS_CLASSES_BASE}-desktop-buttons`\n};\n\nexport {\n CHECKBOX,\n SELECT,\n TEXT_SEARCH,\n SEARCH_TERM,\n SIZE,\n KEYWORD,\n RAW_RESULTS,\n DEFAULT_OPTION,\n DEFAULT_VALUES,\n RANGE,\n CHECKBOX_SELECT,\n LIMIT_MIN,\n LIMIT_MAX,\n MORE,\n LESS,\n UPDATED_RANGES,\n MIN_VALUE,\n MAX_VALUE,\n TABLET_WIDTH,\n RESET,\n SEARCH,\n REFINE,\n MOBILE_REFINEMENT_TITLE,\n MORE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,YAAA,GAAG,GAAG;AACxB,IAAMC,KAAK,GAAAtB,OAAA,CAAAsB,KAAA,GAAG,mBAAmB;AACjC,IAAMC,MAAM,GAAAvB,OAAA,CAAAuB,MAAA,GAAG,QAAQ;AACvB,IAAMC,MAAM,GAAAxB,OAAA,CAAAwB,MAAA,kBAAkB;AAC9B,IAAMC,uBAAuB,GAAAzB,OAAA,CAAAyB,uBAAA,GAAG,mBAAmB;AAEnD,IAAMC,yBAAyB,GAAG,sBAAsB;AACxD,IAAMC,oBAAoB,GAAA3B,OAAA,CAAA2B,oBAAA,GAAG;EAC3BC,cAAc,KAAAC,MAAA,CAAKH,yBAAyB,oBAAiB;EAC7DI,cAAc,KAAAD,MAAA,CAAKH,yBAAyB,oBAAiB;EAC7DK,cAAc,KAAAF,MAAA,CAAKH,yBAAyB,oBAAiB;EAC7DM,cAAc,KAAAH,MAAA,CAAKH,yBAAyB,oBAAiB;EAC7DO,eAAe,KAAAJ,MAAA,CAAKH,yBAAyB,qBAAkB;EAC/DQ,eAAe,KAAAL,MAAA,CAAKH,yBAAyB,qBAAkB;EAC/DS,eAAe,KAAAN,MAAA,CAAKH,yBAAyB,qBAAkB;EAC/DU,eAAe,KAAAP,MAAA,CAAKH,yBAAyB;AAC/C,CAAC"}
@@ -8,15 +8,15 @@ Object.defineProperty(exports, "__esModule", {
8
8
  exports["default"] = void 0;
9
9
  var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
10
10
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
11
- require("core-js/modules/es.array.for-each.js");
12
- require("core-js/modules/es.array.includes.js");
13
- require("core-js/modules/es.array.index-of.js");
14
- require("core-js/modules/es.array.is-array.js");
15
11
  require("core-js/modules/es.number.constructor.js");
16
- require("core-js/modules/es.object.keys.js");
12
+ require("core-js/modules/es.array.is-array.js");
13
+ require("core-js/modules/es.array.for-each.js");
17
14
  require("core-js/modules/es.object.to-string.js");
18
- require("core-js/modules/es.string.includes.js");
19
15
  require("core-js/modules/web.dom-collections.for-each.js");
16
+ require("core-js/modules/es.object.keys.js");
17
+ require("core-js/modules/es.array.includes.js");
18
+ require("core-js/modules/es.string.includes.js");
19
+ require("core-js/modules/es.array.index-of.js");
20
20
  var QUERY_KEYS_TO_IGNORE = ['dataNotSet', 'shouldSearch', 'search_term'];
21
21
  var builFilterObject = function builFilterObject(_ref) {
22
22
  var queryKey = _ref.queryKey,
@@ -1 +1 @@
1
- {"version":3,"file":"build-filters-query.js","names":["QUERY_KEYS_TO_IGNORE","builFilterObject","_ref","queryKey","value","filters","isRange","isInQuery","min","minValue","max","maxValue","push","range","_defineProperty2","gte","Number","lte","key","concat","isArray","Array","singleFilterObj","match","forEach","filterValue","buildFiltersQuery","_ref2","shouldAddFilters","filterBy","filterByProperty","rangeValues","queryKeys","query","mustFilters","Object","keys","includes","queryValue","length","filterByPropOption","_filterByPropOption$s","split","_filterByPropOption$s2","_slicedToArray2","filterByPropKey","filterByOption","indexOf","_filterByOption$split","_filterByOption$split2","filteryByValue","filterByKeyword","_default","exports"],"sources":["../../../../src/components/SearchFilter/helpers/build-filters-query.js"],"sourcesContent":["const QUERY_KEYS_TO_IGNORE = ['dataNotSet', 'shouldSearch', 'search_term'];\n\nconst builFilterObject = ({ queryKey, value, filters, isRange, isInQuery }) => {\n if (isRange) {\n // don't add to query if value matches range values\n if (isInQuery || (value.min !== value.minValue && value.max !== value.maxValue)) {\n filters.push({\n range: {\n [queryKey]: {\n gte: Number(value.minValue),\n lte: Number(value.maxValue)\n }\n }\n });\n }\n return;\n }\n\n const key = isRange ? queryKey : `${queryKey}.keyword`;\n\n const isArray = Array.isArray(value);\n if (!isArray) {\n const singleFilterObj = { match: { [key]: value } };\n filters.push(singleFilterObj);\n return;\n }\n\n value.forEach(filterValue => {\n filters.push({ match: { [key]: filterValue } });\n });\n};\n\nconst buildFiltersQuery = ({\n shouldAddFilters,\n\n filterBy,\n filterByProperty,\n rangeValues,\n queryKeys,\n query\n}) => {\n if (!shouldAddFilters) return [];\n const mustFilters = [];\n if (query) {\n Object.keys(query).forEach(queryKey => {\n if (QUERY_KEYS_TO_IGNORE.includes(queryKey)) return;\n if (!queryKey || !query[queryKey]) return;\n const queryValue = query[queryKey];\n\n const isRange = rangeValues.includes(queryKey);\n const isInQuery = queryKeys.includes(queryKey);\n builFilterObject({ queryKey, value: queryValue, filters: mustFilters, isRange, isInQuery });\n });\n }\n\n if (filterByProperty && filterByProperty.length) {\n filterByProperty.forEach(filterByPropOption => {\n const [filterByPropKey] = filterByPropOption.split('/');\n filterBy.forEach(filterByOption => {\n if (filterByOption.indexOf(filterByPropKey) === -1) return;\n const [, filteryByValue] = filterByOption.split('/');\n const filterByKeyword = `${filterByPropKey}.keyword`;\n if (!filteryByValue) return;\n mustFilters.push({ match: { [filterByKeyword]: filteryByValue } });\n });\n });\n }\n\n return mustFilters;\n};\n\nexport default buildFiltersQuery;\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA,IAAMA,oBAAoB,GAAG,CAAC,YAAY,EAAE,cAAc,EAAE,aAAa,CAAC;AAE1E,IAAMC,gBAAgB,GAAG,SAAnBA,gBAAgBA,CAAAC,IAAA,EAAyD;EAAA,IAAnDC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;IAAEC,KAAK,GAAAF,IAAA,CAALE,KAAK;IAAEC,OAAO,GAAAH,IAAA,CAAPG,OAAO;IAAEC,OAAO,GAAAJ,IAAA,CAAPI,OAAO;IAAEC,SAAS,GAAAL,IAAA,CAATK,SAAS;EACtE,IAAID,OAAO,EAAE;IACX;IACA,IAAIC,SAAS,IAAKH,KAAK,CAACI,GAAG,KAAKJ,KAAK,CAACK,QAAQ,IAAIL,KAAK,CAACM,GAAG,KAAKN,KAAK,CAACO,QAAS,EAAE;MAC/EN,OAAO,CAACO,IAAI,CAAC;QACXC,KAAK,MAAAC,gBAAA,iBACFX,QAAQ,EAAG;UACVY,GAAG,EAAEC,MAAM,CAACZ,KAAK,CAACK,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AC,OAAA,cAEa3B,iBAAiB","ignoreList":[]}
1
+ {"version":3,"file":"build-filters-query.js","names":["QUERY_KEYS_TO_IGNORE","builFilterObject","_ref","queryKey","value","filters","isRange","isInQuery","min","minValue","max","maxValue","push","range","_defineProperty2","gte","Number","lte","key","concat","isArray","Array","singleFilterObj","match","forEach","filterValue","buildFiltersQuery","_ref2","shouldAddFilters","filterBy","filterByProperty","rangeValues","queryKeys","query","mustFilters","Object","keys","includes","queryValue","length","filterByPropOption","_filterByPropOption$s","split","_filterByPropOption$s2","_slicedToArray2","filterByPropKey","filterByOption","indexOf","_filterByOption$split","_filterByOption$split2","filteryByValue","filterByKeyword","_default","exports"],"sources":["../../../../src/components/SearchFilter/helpers/build-filters-query.js"],"sourcesContent":["const QUERY_KEYS_TO_IGNORE = ['dataNotSet', 'shouldSearch', 'search_term'];\n\nconst builFilterObject = ({ queryKey, value, filters, isRange, isInQuery }) => {\n if (isRange) {\n // don't add to query if value matches range values\n if (isInQuery || (value.min !== value.minValue && value.max !== value.maxValue)) {\n filters.push({\n range: {\n [queryKey]: {\n gte: Number(value.minValue),\n lte: Number(value.maxValue)\n }\n }\n });\n }\n return;\n }\n\n const key = isRange ? queryKey : `${queryKey}.keyword`;\n\n const isArray = Array.isArray(value);\n if (!isArray) {\n const singleFilterObj = { match: { [key]: value } };\n filters.push(singleFilterObj);\n return;\n }\n\n value.forEach(filterValue => {\n filters.push({ match: { [key]: filterValue } });\n });\n};\n\nconst buildFiltersQuery = ({\n shouldAddFilters,\n\n filterBy,\n filterByProperty,\n rangeValues,\n queryKeys,\n query\n}) => {\n if (!shouldAddFilters) return [];\n const mustFilters = [];\n if (query) {\n Object.keys(query).forEach(queryKey => {\n if (QUERY_KEYS_TO_IGNORE.includes(queryKey)) return;\n if (!queryKey || !query[queryKey]) return;\n const queryValue = query[queryKey];\n\n const isRange = rangeValues.includes(queryKey);\n const isInQuery = queryKeys.includes(queryKey);\n builFilterObject({ queryKey, value: queryValue, filters: mustFilters, isRange, isInQuery });\n });\n }\n\n if (filterByProperty && filterByProperty.length) {\n filterByProperty.forEach(filterByPropOption => {\n const [filterByPropKey] = filterByPropOption.split('/');\n filterBy.forEach(filterByOption => {\n if (filterByOption.indexOf(filterByPropKey) === -1) return;\n const [, filteryByValue] = filterByOption.split('/');\n const filterByKeyword = `${filterByPropKey}.keyword`;\n if (!filteryByValue) return;\n mustFilters.push({ match: { [filterByKeyword]: filteryByValue } });\n });\n });\n }\n\n return mustFilters;\n};\n\nexport default buildFiltersQuery;\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA,IAAMA,oBAAoB,GAAG,CAAC,YAAY,EAAE,cAAc,EAAE,aAAa,CAAC;AAE1E,IAAMC,gBAAgB,GAAG,SAAnBA,gBAAgBA,CAAAC,IAAA,EAAyD;EAAA,IAAnDC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;IAAEC,KAAK,GAAAF,IAAA,CAALE,KAAK;IAAEC,OAAO,GAAAH,IAAA,CAAPG,OAAO;IAAEC,OAAO,GAAAJ,IAAA,CAAPI,OAAO;IAAEC,SAAS,GAAAL,IAAA,CAATK,SAAS;EACtE,IAAID,OAAO,EAAE;IACX;IACA,IAAIC,SAAS,IAAKH,KAAK,CAACI,GAAG,KAAKJ,KAAK,CAACK,QAAQ,IAAIL,KAAK,CAACM,GAAG,KAAKN,KAAK,CAACO,QAAS,EAAE;MAC/EN,OAAO,CAACO,IAAI,CAAC;QACXC,KAAK,MAAAC,gBAAA,iBACFX,QAAQ,EAAG;UACVY,GAAG,EAAEC,MAAM,CAACZ,KAAK,CAACK,QAAQ,CAAC;UAC3BQ,GAAG,EAAED,MAAM,CAACZ,KAAK,CAACO,QAAQ;QAC5B,CAAC;MAEL,CAAC,CAAC;IACJ;IACA;EACF;EAEA,IAAMO,GAAG,GAAGZ,OAAO,GAAGH,QAAQ,MAAAgB,MAAA,CAAMhB,QAAQ,aAAU;EAEtD,IAAMiB,OAAO,GAAGC,KAAK,CAACD,OAAO,CAAChB,K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EE,QAAQ,EAARA,QAAQ;QAAEC,KAAK,EAAEkC,UAAU;QAAEjC,OAAO,EAAE6B,WAAW;QAAE5B,OAAO,EAAPA,OAAO;QAAEC,SAAS,EAATA;MAAU,CAAC,CAAC;IAC7F,CAAC,CAAC;EACJ;EAEA,IAAIuB,gBAAgB,IAAIA,gBAAgB,CAACS,MAAM,EAAE;IAC/CT,gBAAgB,CAACN,OAAO,CAAC,UAAAgB,kBAAkB,EAAI;MAC7C,IAAAC,qBAAA,GAA0BD,kBAAkB,CAACE,KAAK,CAAC,GAAG,CAAC;QAAAC,sBAAA,OAAAC,eAAA,aAAAH,qBAAA;QAAhDI,eAAe,GAAAF,sBAAA;MACtBd,QAAQ,CAACL,OAAO,CAAC,UAAAsB,cAAc,EAAI;QACjC,IAAIA,cAAc,CAACC,OAAO,CAACF,eAAe,CAAC,KAAK,CAAC,CAAC,EAAE;QACpD,IAAAG,qBAAA,GAA2BF,cAAc,CAACJ,KAAK,CAAC,GAAG,CAAC;UAAAO,sBAAA,OAAAL,eAAA,aAAAI,qBAAA;UAA3CE,cAAc,GAAAD,sBAAA;QACvB,IAAME,eAAe,MAAAhC,MAAA,CAAM0B,eAAe,aAAU;QACpD,IAAI,CAACK,cAAc,EAAE;QACrBhB,WAAW,CAACtB,IAAI,CAAC;UAAEW,KAAK,MAAAT,gBAAA,iBAAKqC,eAAe,EAAGD,cAAc;QAAG,CAAC,CAAC;MACpE,CAAC,CAAC;IACJ,CAAC,CAAC;EACJ;EAEA,OAAOhB,WAAW;AACpB,CAAC;AAAC,IAAAkB,QAAA,GAAAC,OAAA,cAEa3B,iBAAiB"}
@@ -1 +1 @@
1
- {"version":3,"file":"build-new-url.js","names":["buildNewUrl","url","currentUrl","queryParams","hashBit","encodedQuery","encodeURI","baseUrl","newUrl","concat","_default","exports"],"sources":["../../../../src/components/SearchFilter/helpers/build-new-url.js"],"sourcesContent":["const buildNewUrl = (url, currentUrl, queryParams, hashBit) => {\n const encodedQuery = encodeURI(queryParams);\n const baseUrl = url || currentUrl;\n const newUrl = encodedQuery ? `${baseUrl}?${encodedQuery}` : `${baseUrl}`;\n return hashBit ? `${newUrl}#${hashBit}` : newUrl;\n};\n\nexport default buildNewUrl;\n"],"mappings":";;;;;;;;AAAA,IAAMA,WAAW,GAAG,SAAdA,WAAWA,CAAIC,GAAG,EAAEC,UAAU,EAAEC,WAAW,EAAEC,OAAO,EAAK;EAC7D,IAAMC,YAAY,GAAGC,SAAS,CAACH,WAAW,CAAC;EAC3C,IAAMI,OAAO,GAAGN,GAAG,IAAIC,UAAU;EACjC,IAAMM,MAAM,GAAGH,YAAY,MAAAI,MAAA,CAAMF,OAAO,OAAAE,MAAA,CAAIJ,YAAY,OAAAI,MAAA,CAAQF,OAAO,CAAE;EACzE,OAAOH,OAAO,MAAAK,MAAA,CAAMD,MAAM,OAAAC,MAAA,CAAIL,OAAO,IAAKI,MAAM;AAClD,CAAC;AAAC,IAAAE,QAAA,GAAAC,OAAA,cAEaX,WAAW","ignoreList":[]}
1
+ {"version":3,"file":"build-new-url.js","names":["buildNewUrl","url","currentUrl","queryParams","hashBit","encodedQuery","encodeURI","baseUrl","newUrl","concat","_default","exports"],"sources":["../../../../src/components/SearchFilter/helpers/build-new-url.js"],"sourcesContent":["const buildNewUrl = (url, currentUrl, queryParams, hashBit) => {\n const encodedQuery = encodeURI(queryParams);\n const baseUrl = url || currentUrl;\n const newUrl = encodedQuery ? `${baseUrl}?${encodedQuery}` : `${baseUrl}`;\n return hashBit ? `${newUrl}#${hashBit}` : newUrl;\n};\n\nexport default buildNewUrl;\n"],"mappings":";;;;;;;;AAAA,IAAMA,WAAW,GAAG,SAAdA,WAAWA,CAAIC,GAAG,EAAEC,UAAU,EAAEC,WAAW,EAAEC,OAAO,EAAK;EAC7D,IAAMC,YAAY,GAAGC,SAAS,CAACH,WAAW,CAAC;EAC3C,IAAMI,OAAO,GAAGN,GAAG,IAAIC,UAAU;EACjC,IAAMM,MAAM,GAAGH,YAAY,MAAAI,MAAA,CAAMF,OAAO,OAAAE,MAAA,CAAIJ,YAAY,OAAAI,MAAA,CAAQF,OAAO,CAAE;EACzE,OAAOH,OAAO,MAAAK,MAAA,CAAMD,MAAM,OAAAC,MAAA,CAAIL,OAAO,IAAKI,MAAM;AAClD,CAAC;AAAC,IAAAE,QAAA,GAAAC,OAAA,cAEaX,WAAW"}
@@ -5,10 +5,10 @@ Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
7
  exports["default"] = void 0;
8
- require("core-js/modules/es.array.concat.js");
9
8
  require("core-js/modules/es.array.for-each.js");
10
9
  require("core-js/modules/es.object.to-string.js");
11
10
  require("core-js/modules/web.dom-collections.for-each.js");
11
+ require("core-js/modules/es.array.concat.js");
12
12
  var _constants = require("../constants");
13
13
  var buildRawQueryStringified = function buildRawQueryStringified(checkboxSelectValues, rangeValues, entity) {
14
14
  var mustFilters = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : [];
@@ -1 +1 @@
1
- {"version":3,"file":"build-raw-query-stringified.js","names":["_constants","require","buildRawQueryStringified","checkboxSelectValues","rangeValues","entity","mustFilters","arguments","length","undefined","aggs","forEach","fieldName","terms","field","concat","KEYWORD","size","SIZE","stats","boolFilter","should","match","docType","minimum_should_match","must","JSON","stringify","query","bool","filter","_default","exports"],"sources":["../../../../src/components/SearchFilter/helpers/build-raw-query-stringified.js"],"sourcesContent":["import { KEYWORD, SIZE } from '../constants';\n\nconst buildRawQueryStringified = (checkboxSelectValues, rangeValues, entity, mustFilters = []) => {\n if (!checkboxSelectValues.length && !rangeValues.length) return '';\n\n const aggs = {};\n\n checkboxSelectValues.forEach(fieldName => {\n aggs[fieldName] = {\n terms: {\n field: `${fieldName}.${KEYWORD}`,\n size: SIZE\n }\n };\n });\n\n rangeValues.forEach(fieldName => {\n aggs[fieldName] = {\n stats: {\n field: fieldName\n }\n };\n });\n\n const boolFilter = {\n should: [\n {\n match: {\n docType: entity\n }\n }\n ],\n minimum_should_match: 1\n };\n\n if (mustFilters.length) {\n boolFilter.must = mustFilters;\n }\n\n return JSON.stringify({\n aggs,\n size: 0,\n query: {\n bool: {\n filter: {\n bool: boolFilter\n }\n }\n }\n });\n};\n\nexport default buildRawQueryStringified;\n"],"mappings":";;;;;;;;;;;AAAA,IAAAA,UAAA,GAAAC,OAAA;AAEA,IAAMC,wBAAwB,GAAG,SAA3BA,wBAAwBA,CAAIC,oBAAoB,EAAEC,WAAW,EAAEC,MAAM,EAAuB;EAAA,IAArBC,WAAW,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,EAAE;EAC3F,IAAI,CAACJ,oBAAoB,CAACK,MAAM,IAAI,CAACJ,WAAW,CAACI,MAAM,EAAE,OAAO,EAAE;EAElE,IAAME,IAAI,GAAG,CAAC,CAAC;EAEfP,oBAAoB,CAACQ,OAAO,CAAC,UAAAC,SAAS,EAAI;IACxCF,IAAI,CAACE,SAAS,CAAC,GAAG;MAChBC,KAAK,EAAE;QACLC,KAAK,KAAAC,MAAA,CAAKH,SAAS,OAAAG,MAAA,CAAIC,kBAAO,CAAE;QAChCC,IAAI,EAAEC;MACR;IACF,CAAC;EACH,CAAC,CAAC;EAEFd,WAAW,CAACO,OAAO,CAAC,UAAAC,SAAS,EAAI;IAC/BF,IAAI,CAACE,SAAS,CAAC,GAAG;MAChBO,KAAK,EAAE;QACLL,KAAK,EAAEF;MACT;IACF,CAAC;EACH,CAAC,CAAC;EAEF,IAAMQ,UAAU,GAAG;IACjBC,MAAM,EAAE,CACN;MACEC,KAAK,EAAE;QACLC,OAAO,EAAElB;MACX;IACF,CAAC,CACF;IACDmB,oBAAoB,EAAE;EACxB,CAAC;EAED,IAAIlB,WAAW,CAACE,MAAM,EAAE;IACtBY,UAAU,CAACK,IAAI,GAAGnB,WAAW;EAC/B;EAEA,OAAOoB,IAAI,CAACC,SAAS,CAAC;IACpBjB,IAAI,EAAJA,IAAI;IACJO,IAAI,EAAE,CAAC;IACPW,KAAK,EAAE;MACLC,IAAI,EAAE;QACJC,MAAM,EAAE;UACND,IAAI,EAAET;QACR;MACF;IACF;EACF,CAAC,CAAC;AACJ,CAAC;AAAC,IAAAW,QAAA,GAAAC,OAAA,cAEa9B,wBAAwB","ignoreList":[]}
1
+ {"version":3,"file":"build-raw-query-stringified.js","names":["_constants","require","buildRawQueryStringified","checkboxSelectValues","rangeValues","entity","mustFilters","arguments","length","undefined","aggs","forEach","fieldName","terms","field","concat","KEYWORD","size","SIZE","stats","boolFilter","should","match","docType","minimum_should_match","must","JSON","stringify","query","bool","filter","_default","exports"],"sources":["../../../../src/components/SearchFilter/helpers/build-raw-query-stringified.js"],"sourcesContent":["import { KEYWORD, SIZE } from '../constants';\n\nconst buildRawQueryStringified = (checkboxSelectValues, rangeValues, entity, mustFilters = []) => {\n if (!checkboxSelectValues.length && !rangeValues.length) return '';\n\n const aggs = {};\n\n checkboxSelectValues.forEach(fieldName => {\n aggs[fieldName] = {\n terms: {\n field: `${fieldName}.${KEYWORD}`,\n size: SIZE\n }\n };\n });\n\n rangeValues.forEach(fieldName => {\n aggs[fieldName] = {\n stats: {\n field: fieldName\n }\n };\n });\n\n const boolFilter = {\n should: [\n {\n match: {\n docType: entity\n }\n }\n ],\n minimum_should_match: 1\n };\n\n if (mustFilters.length) {\n boolFilter.must = mustFilters;\n }\n\n return JSON.stringify({\n aggs,\n size: 0,\n query: {\n bool: {\n filter: {\n bool: boolFilter\n }\n }\n }\n });\n};\n\nexport default buildRawQueryStringified;\n"],"mappings":";;;;;;;;;;;AAAA,IAAAA,UAAA,GAAAC,OAAA;AAEA,IAAMC,wBAAwB,GAAG,SAA3BA,wBAAwBA,CAAIC,oBAAoB,EAAEC,WAAW,EAAEC,MAAM,EAAuB;EAAA,IAArBC,WAAW,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,EAAE;EAC3F,IAAI,CAACJ,oBAAoB,CAACK,MAAM,IAAI,CAACJ,WAAW,CAACI,MAAM,EAAE,OAAO,EAAE;EAElE,IAAME,IAAI,GAAG,CAAC,CAAC;EAEfP,oBAAoB,CAACQ,OAAO,CAAC,UAAAC,SAAS,EAAI;IACxCF,IAAI,CAACE,SAAS,CAAC,GAAG;MAChBC,KAAK,EAAE;QACLC,KAAK,KAAAC,MAAA,CAAKH,SAAS,OAAAG,MAAA,CAAIC,kBAAO,CAAE;QAChCC,IAAI,EAAEC;MACR;IACF,CAAC;EACH,CAAC,CAAC;EAEFd,WAAW,CAACO,OAAO,CAAC,UAAAC,SAAS,EAAI;IAC/BF,IAAI,CAACE,SAAS,CAAC,GAAG;MAChBO,KAAK,EAAE;QACLL,KAAK,EAAEF;MACT;IACF,CAAC;EACH,CAAC,CAAC;EAEF,IAAMQ,UAAU,GAAG;IACjBC,MAAM,EAAE,CACN;MACEC,KAAK,EAAE;QACLC,OAAO,EAAElB;MACX;IACF,CAAC,CACF;IACDmB,oBAAoB,EAAE;EACxB,CAAC;EAED,IAAIlB,WAAW,CAACE,MAAM,EAAE;IACtBY,UAAU,CAACK,IAAI,GAAGnB,WAAW;EAC/B;EAEA,OAAOoB,IAAI,CAACC,SAAS,CAAC;IACpBjB,IAAI,EAAJA,IAAI;IACJO,IAAI,EAAE,CAAC;IACPW,KAAK,EAAE;MACLC,IAAI,EAAE;QACJC,MAAM,EAAE;UACND,IAAI,EAAET;QACR;MACF;IACF;EACF,CAAC,CAAC;AACJ,CAAC;AAAC,IAAAW,QAAA,GAAAC,OAAA,cAEa9B,wBAAwB"}
@@ -8,12 +8,12 @@ Object.defineProperty(exports, "__esModule", {
8
8
  exports["default"] = void 0;
9
9
  require("core-js/modules/es.array.concat.js");
10
10
  require("core-js/modules/es.array.for-each.js");
11
+ require("core-js/modules/es.object.to-string.js");
12
+ require("core-js/modules/web.dom-collections.for-each.js");
11
13
  require("core-js/modules/es.array.includes.js");
14
+ require("core-js/modules/es.object.keys.js");
12
15
  require("core-js/modules/es.array.index-of.js");
13
16
  require("core-js/modules/es.array.join.js");
14
- require("core-js/modules/es.object.keys.js");
15
- require("core-js/modules/es.object.to-string.js");
16
- require("core-js/modules/web.dom-collections.for-each.js");
17
17
  var _constants = require("../constants");
18
18
  var _parseFilterValue = _interopRequireDefault(require("./parse-filter-value"));
19
19
  var _helpers = require("../../../helpers");
@@ -1 +1 @@
1
- {"version":3,"file":"build-url-query.js","names":["_constants","require","_parseFilterValue","_interopRequireDefault","_helpers","buildUrlQuery","filterValues","arguments","length","undefined","filters","listComponentName","query","newQuery","queryKeys","searchValue","SEARCH_TERM","searchKey","buildQueryKey","push","concat","forEach","_ref","propsToDisplay","type","TEXT_SEARCH","prop","value","filterKey","parsedValue","parseFilterValue","includes","Object","keys","key","indexOf","join","_default","exports"],"sources":["../../../../src/components/SearchFilter/helpers/build-url-query.js"],"sourcesContent":["import { SEARCH_TERM, TEXT_SEARCH } from '../constants';\nimport parseFilterValue from './parse-filter-value';\nimport { buildQueryKey } from '../../../helpers';\n\nconst buildUrlQuery = (filterValues = {}, filters = [], listComponentName = '', query = {}) => {\n const newQuery = [];\n const queryKeys = [];\n const searchValue = filterValues[SEARCH_TERM];\n const searchKey = buildQueryKey(SEARCH_TERM, listComponentName);\n queryKeys.push(searchKey);\n if (searchValue) newQuery.push(`${searchKey}=${searchValue}`);\n\n filters.forEach(({ propsToDisplay, type }) => {\n if (type === TEXT_SEARCH) return;\n propsToDisplay.forEach(prop => {\n const value = filterValues[prop];\n const filterKey = buildQueryKey(prop, listComponentName);\n queryKeys.push(filterKey);\n const parsedValue = parseFilterValue(filterKey, type, value, newQuery);\n if (parsedValue && !newQuery.includes(parsedValue)) newQuery.push(parsedValue);\n });\n });\n\n Object.keys(query).forEach(key => {\n if (queryKeys.indexOf(key) === -1) newQuery.push(`${key}=${query[key]}`);\n });\n\n return newQuery.join('&');\n};\n\nexport default buildUrlQuery;\n"],"mappings":";;;;;;;;;;;;;;;;AAAA,IAAAA,UAAA,GAAAC,OAAA;AACA,IAAAC,iBAAA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,SAAS,CAACK,IAAI,CAACS,SAAS,CAAC;MACzB,IAAMC,WAAW,GAAG,IAAAC,4BAAgB,EAACF,SAAS,EAAEJ,IAAI,EAAEG,KAAK,EAAEd,QAAQ,CAAC;MACtE,IAAIgB,WAAW,IAAI,CAAChB,QAAQ,CAACkB,QAAQ,CAACF,WAAW,CAAC,EAAEhB,QAAQ,CAACM,IAAI,CAACU,WAAW,CAAC;IAChF,CAAC,CAAC;EACJ,CAAC,CAAC;EAEFG,MAAM,CAACC,IAAI,CAACrB,KAAK,CAAC,CAACS,OAAO,CAAC,UAAAa,GAAG,EAAI;IAChC,IAAIpB,SAAS,CAACqB,OAAO,CAACD,GAAG,CAAC,KAAK,CAAC,CAAC,EAAErB,QAAQ,CAACM,IAAI,IAAAC,MAAA,CAAIc,GAAG,OAAAd,MAAA,CAAIR,KAAK,CAACsB,GAAG,CAAC,CAAE,CAAC;EAC1E,CAAC,CAAC;EAEF,OAAOrB,QAAQ,CAACuB,IAAI,CAAC,GAAG,CAAC;AAC3B,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,cAEajC,aAAa","ignoreList":[]}
1
+ {"version":3,"file":"build-url-query.js","names":["_constants","require","_parseFilterValue","_interopRequireDefault","_helpers","buildUrlQuery","filterValues","arguments","length","undefined","filters","listComponentName","query","newQuery","queryKeys","searchValue","SEARCH_TERM","searchKey","buildQueryKey","push","concat","forEach","_ref","propsToDisplay","type","TEXT_SEARCH","prop","value","filterKey","parsedValue","parseFilterValue","includes","Object","keys","key","indexOf","join","_default","exports"],"sources":["../../../../src/components/SearchFilter/helpers/build-url-query.js"],"sourcesContent":["import { SEARCH_TERM, TEXT_SEARCH } from '../constants';\nimport parseFilterValue from './parse-filter-value';\nimport { buildQueryKey } from '../../../helpers';\n\nconst buildUrlQuery = (filterValues = {}, filters = [], listComponentName = '', query = {}) => {\n const newQuery = [];\n const queryKeys = [];\n const searchValue = filterValues[SEARCH_TERM];\n const searchKey = buildQueryKey(SEARCH_TERM, listComponentName);\n queryKeys.push(searchKey);\n if (searchValue) newQuery.push(`${searchKey}=${searchValue}`);\n\n filters.forEach(({ propsToDisplay, type }) => {\n if (type === TEXT_SEARCH) return;\n propsToDisplay.forEach(prop => {\n const value = filterValues[prop];\n const filterKey = buildQueryKey(prop, listComponentName);\n queryKeys.push(filterKey);\n const parsedValue = parseFilterValue(filterKey, type, value, newQuery);\n if (parsedValue && !newQuery.includes(parsedValue)) newQuery.push(parsedValue);\n });\n });\n\n Object.keys(query).forEach(key => {\n if (queryKeys.indexOf(key) === -1) newQuery.push(`${key}=${query[key]}`);\n });\n\n return newQuery.join('&');\n};\n\nexport default buildUrlQuery;\n"],"mappings":";;;;;;;;;;;;;;;;AAAA,IAAAA,UAAA,GAAAC,OAAA;AACA,IAAAC,iBAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,QAAA,GAAAH,OAAA;AAEA,IAAMI,aAAa,GAAG,SAAhBA,aAAaA,CAAA,EAA4E;EAAA,IAAxEC,YAAY,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,CAAC,CAAC;EAAA,IAAEG,OAAO,GAAAH,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,EAAE;EAAA,IAAEI,iBAAiB,GAAAJ,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,EAAE;EAAA,IAAEK,KAAK,GAAAL,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,CAAC,CAAC;EACxF,IAAMM,QAAQ,GAAG,EAAE;EACnB,IAAMC,SAAS,GAAG,EAAE;EACpB,IAAMC,WAAW,GAAGT,YAAY,CAACU,sBAAW,CAAC;EAC7C,IAAMC,SAAS,GAAG,IAAAC,sBAAa,EAACF,sBAAW,EAAEL,iBAAiB,CAAC;EAC/DG,SAAS,CAACK,IAAI,CAACF,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interopRequireDefault","require","calculateMinMax","filterAggregations","rangeInterval","min","max","Math","floor","Number","ceil","step","calculateStep","_default","exports"],"sources":["../../../../src/components/SearchFilter/helpers/calculate-min-max.js"],"sourcesContent":["import calculateStep from './calculate-step';\n\nconst calculateMinMax = (filterAggregations, rangeInterval) => {\n let { min, max } = filterAggregations;\n min = Math.floor(Number(min));\n max = Math.ceil(Number(max));\n min -= min % rangeInterval;\n const step = calculateStep(max, rangeInterval);\n max += step;\n return { min, max };\n};\n\nexport default calculateMinMax;\n"],"mappings":";;;;;;;;;AAAA,IAAAA,cAAA,GAAAC,sBAAA,CAAAC,OAAA;AAEA,IAAMC,eAAe,GAAG,SAAlBA,eAAeA,CAAIC,kBAAkB,EAAEC,aAAa,EAAK;EAC7D,IAAMC,GAAG,GAAUF,kBAAkB,CAA/BE,GAAG;IAAEC,GAAG,GAAKH,kBAAkB,CAA1BG,GAAG;EACdD,GAAG,GAAGE,IAAI,CAACC,KAAK,CAACC,MAAM,CAACJ,GAAG,CAAC,CAAC;EAC7BC,GAAG,GAAGC,IAAI,CAACG,IAAI,CAACD,MAAM,CAACH,GAAG,CAAC,CAAC;EAC5BD,GAAG,IAAIA,GAAG,GAAGD,aAAa;EAC1B,IAAMO,IAAI,GAAG,IAAAC,yBAAa,EAACN,GAAG,EAAEF,aAAa,CAAC;EAC9CE,GAAG,IAAIK,IAAI;EACX,OAAO;IAAEN,GAAG,EAAHA,GAAG;IAAEC,GAAG,EAAHA;EAAI,CAAC;AACrB,CAAC;AAAC,IAAAO,QAAA,GAAAC,OAAA,cAEaZ,eAAe","ignoreList":[]}
1
+ {"version":3,"file":"calculate-min-max.js","names":["_calculateStep","_interopRequireDefault","require","calculateMinMax","filterAggregations","rangeInterval","min","max","Math","floor","Number","ceil","step","calculateStep","_default","exports"],"sources":["../../../../src/components/SearchFilter/helpers/calculate-min-max.js"],"sourcesContent":["import calculateStep from './calculate-step';\n\nconst calculateMinMax = (filterAggregations, rangeInterval) => {\n let { min, max } = filterAggregations;\n min = Math.floor(Number(min));\n max = Math.ceil(Number(max));\n min -= min % rangeInterval;\n const step = calculateStep(max, rangeInterval);\n max += step;\n return { min, max };\n};\n\nexport default calculateMinMax;\n"],"mappings":";;;;;;;;;AAAA,IAAAA,cAAA,GAAAC,sBAAA,CAAAC,OAAA;AAEA,IAAMC,eAAe,GAAG,SAAlBA,eAAeA,CAAIC,kBAAkB,EAAEC,aAAa,EAAK;EAC7D,IAAMC,GAAG,GAAUF,kBAAkB,CAA/BE,GAAG;IAAEC,GAAG,GAAKH,kBAAkB,CAA1BG,GAAG;EACdD,GAAG,GAAGE,IAAI,CAACC,KAAK,CAACC,MAAM,CAACJ,GAAG,CAAC,CAAC;EAC7BC,GAAG,GAAGC,IAAI,CAACG,IAAI,CAACD,MAAM,CAACH,GAAG,CAAC,CAAC;EAC5BD,GAAG,IAAIA,GAAG,GAAGD,aAAa;EAC1B,IAAMO,IAAI,GAAG,IAAAC,yBAAa,EAACN,GAAG,EAAEF,aAAa,CAAC;EAC9CE,GAAG,IAAIK,IAAI;EACX,OAAO;IAAEN,GAAG,EAAHA,GAAG;IAAEC,GAAG,EAAHA;EAAI,CAAC;AACrB,CAAC;AAAC,IAAAO,QAAA,GAAAC,OAAA,cAEaZ,eAAe"}
@@ -1 +1 @@
1
- {"version":3,"file":"calculate-step.js","names":["calculateStep","max","rangeInterval","_default","exports"],"sources":["../../../../src/components/SearchFilter/helpers/calculate-step.js"],"sourcesContent":["const calculateStep = (max, rangeInterval) =>\n max % rangeInterval === 0 ? 0 : rangeInterval - (max % rangeInterval);\n\nexport default calculateStep;\n"],"mappings":";;;;;;;AAAA,IAAMA,aAAa,GAAG,SAAhBA,aAAaA,CAAIC,GAAG,EAAEC,aAAa;EAAA,OACvCD,GAAG,GAAGC,aAAa,KAAK,CAAC,GAAG,CAAC,GAAGA,aAAa,GAAID,GAAG,GAAGC,aAAc;AAAA;AAAC,IAAAC,QAAA,GAAAC,OAAA,cAEzDJ,aAAa","ignoreList":[]}
1
+ {"version":3,"file":"calculate-step.js","names":["calculateStep","max","rangeInterval","_default","exports"],"sources":["../../../../src/components/SearchFilter/helpers/calculate-step.js"],"sourcesContent":["const calculateStep = (max, rangeInterval) =>\n max % rangeInterval === 0 ? 0 : rangeInterval - (max % rangeInterval);\n\nexport default calculateStep;\n"],"mappings":";;;;;;;AAAA,IAAMA,aAAa,GAAG,SAAhBA,aAAaA,CAAIC,GAAG,EAAEC,aAAa;EAAA,OACvCD,GAAG,GAAGC,aAAa,KAAK,CAAC,GAAG,CAAC,GAAGA,aAAa,GAAID,GAAG,GAAGC,aAAc;AAAA;AAAC,IAAAC,QAAA,GAAAC,OAAA,cAEzDJ,aAAa"}
@@ -1 +1 @@
1
- {"version":3,"file":"check-if-range-updated.js","names":["_helpers","require","checkIfRangeUpdated","value","min","max","minValue","maxValue","isBrowser","_default","exports"],"sources":["../../../../src/components/SearchFilter/helpers/check-if-range-updated.js"],"sourcesContent":["import { isBrowser } from '../../../helpers';\n\nconst checkIfRangeUpdated = (value, min, max) => {\n const { minValue, maxValue } = value;\n return isBrowser() && (minValue !== min || maxValue !== max);\n};\n\nexport default checkIfRangeUpdated;\n"],"mappings":";;;;;;;AAAA,IAAAA,QAAA,GAAAC,OAAA;AAEA,IAAMC,mBAAmB,GAAG,SAAtBA,mBAAmBA,CAAIC,KAAK,EAAEC,GAAG,EAAEC,GAAG,EAAK;EAC/C,IAAQC,QAAQ,GAAeH,KAAK,CAA5BG,QAAQ;IAAEC,QAAQ,GAAKJ,KAAK,CAAlBI,QAAQ;EAC1B,OAAO,IAAAC,kBAAS,EAAC,CAAC,KAAKF,QAAQ,KAAKF,GAAG,IAAIG,QAAQ,KAAKF,GAAG,CAAC;AAC9D,CAAC;AAAC,IAAAI,QAAA,GAAAC,OAAA,cAEaR,mBAAmB","ignoreList":[]}
1
+ {"version":3,"file":"check-if-range-updated.js","names":["_helpers","require","checkIfRangeUpdated","value","min","max","minValue","maxValue","isBrowser","_default","exports"],"sources":["../../../../src/components/SearchFilter/helpers/check-if-range-updated.js"],"sourcesContent":["import { isBrowser } from '../../../helpers';\n\nconst checkIfRangeUpdated = (value, min, max) => {\n const { minValue, maxValue } = value;\n return isBrowser() && (minValue !== min || maxValue !== max);\n};\n\nexport default checkIfRangeUpdated;\n"],"mappings":";;;;;;;AAAA,IAAAA,QAAA,GAAAC,OAAA;AAEA,IAAMC,mBAAmB,GAAG,SAAtBA,mBAAmBA,CAAIC,KAAK,EAAEC,GAAG,EAAEC,GAAG,EAAK;EAC/C,IAAQC,QAAQ,GAAeH,KAAK,CAA5BG,QAAQ;IAAEC,QAAQ,GAAKJ,KAAK,CAAlBI,QAAQ;EAC1B,OAAO,IAAAC,kBAAS,EAAC,CAAC,KAAKF,QAAQ,KAAKF,GAAG,IAAIG,QAAQ,KAAKF,GAAG,CAAC;AAC9D,CAAC;AAAC,IAAAI,QAAA,GAAAC,OAAA,cAEaR,mBAAmB"}
@@ -1 +1 @@
1
- {"version":3,"file":"decode-encode.js","names":["decodeValue","exports","value","decodeURIComponent","encodeValue","encodeURIComponent"],"sources":["../../../../src/components/SearchFilter/helpers/decode-encode.js"],"sourcesContent":["const decodeValue = value => decodeURIComponent(value);\n\nconst encodeValue = value => encodeURIComponent(value);\n\nexport { decodeValue, encodeValue };\n"],"mappings":";;;;;;;AAAA,IAAMA,WAAW,GAAAC,OAAA,CAAAD,WAAA,GAAG,SAAdA,WAAWA,CAAGE,KAAK;EAAA,OAAIC,kBAAkB,CAACD,KAAK,CAAC;AAAA;AAEtD,IAAME,WAAW,GAAAH,OAAA,CAAAG,WAAA,GAAG,SAAdA,WAAWA,CAAGF,KAAK;EAAA,OAAIG,kBAAkB,CAACH,KAAK,CAAC;AAAA","ignoreList":[]}
1
+ {"version":3,"file":"decode-encode.js","names":["decodeValue","exports","value","decodeURIComponent","encodeValue","encodeURIComponent"],"sources":["../../../../src/components/SearchFilter/helpers/decode-encode.js"],"sourcesContent":["const decodeValue = value => decodeURIComponent(value);\n\nconst encodeValue = value => encodeURIComponent(value);\n\nexport { decodeValue, encodeValue };\n"],"mappings":";;;;;;;AAAA,IAAMA,WAAW,GAAAC,OAAA,CAAAD,WAAA,GAAG,SAAdA,WAAWA,CAAGE,KAAK;EAAA,OAAIC,kBAAkB,CAACD,KAAK,CAAC;AAAA;AAEtD,IAAME,WAAW,GAAAH,OAAA,CAAAG,WAAA,GAAG,SAAdA,WAAWA,CAAGF,KAAK;EAAA,OAAIG,kBAAkB,CAACH,KAAK,CAAC;AAAA"}
@@ -7,8 +7,8 @@ Object.defineProperty(exports, "__esModule", {
7
7
  });
8
8
  exports["default"] = void 0;
9
9
  require("core-js/modules/es.array.filter.js");
10
- require("core-js/modules/es.object.keys.js");
11
10
  require("core-js/modules/es.object.to-string.js");
11
+ require("core-js/modules/es.object.keys.js");
12
12
  var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
13
13
  var getDisplayValue = function getDisplayValue(propToDisplay, properties) {
14
14
  var _Object$keys$filter = Object.keys(properties).filter(function (property) {
@@ -1 +1 @@
1
- {"version":3,"file":"get-display-value.js","names":["getDisplayValue","propToDisplay","properties","_Object$keys$filter","Object","keys","filter","property","_Object$keys$filter2","_slicedToArray2","matchingProperty","unit","_default","exports"],"sources":["../../../../src/components/SearchFilter/helpers/get-display-value.js"],"sourcesContent":["const getDisplayValue = (propToDisplay, properties) => {\n const [matchingProperty] = Object.keys(properties).filter(property => property === propToDisplay);\n return matchingProperty ? properties[matchingProperty].unit : null;\n};\n\nexport default getDisplayValue;\n"],"mappings":";;;;;;;;;;;;AAAA,IAAMA,eAAe,GAAG,SAAlBA,eAAeA,CAAIC,aAAa,EAAEC,UAAU,EAAK;EACrD,IAAAC,mBAAA,GAA2BC,MAAM,CAACC,IAAI,CAACH,UAAU,CAAC,CAACI,MAAM,CAAC,UAAAC,QAAQ;MAAA,OAAIA,QAAQ,KAAKN,aAAa;IAAA,EAAC;IAAAO,oBAAA,OAAAC,eAAA,aAAAN,mBAAA;IAA1FO,gBAAgB,GAAAF,oBAAA;EACvB,OAAOE,gBAAgB,GAAGR,UAAU,CAACQ,gBAAgB,CAAC,CAACC,IAAI,GAAG,IAAI;AACpE,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,cAEab,eAAe","ignoreList":[]}
1
+ {"version":3,"file":"get-display-value.js","names":["getDisplayValue","propToDisplay","properties","_Object$keys$filter","Object","keys","filter","property","_Object$keys$filter2","_slicedToArray2","matchingProperty","unit","_default","exports"],"sources":["../../../../src/components/SearchFilter/helpers/get-display-value.js"],"sourcesContent":["const getDisplayValue = (propToDisplay, properties) => {\n const [matchingProperty] = Object.keys(properties).filter(property => property === propToDisplay);\n return matchingProperty ? properties[matchingProperty].unit : null;\n};\n\nexport default getDisplayValue;\n"],"mappings":";;;;;;;;;;;;AAAA,IAAMA,eAAe,GAAG,SAAlBA,eAAeA,CAAIC,aAAa,EAAEC,UAAU,EAAK;EACrD,IAAAC,mBAAA,GAA2BC,MAAM,CAACC,IAAI,CAACH,UAAU,CAAC,CAACI,MAAM,CAAC,UAAAC,QAAQ;MAAA,OAAIA,QAAQ,KAAKN,aAAa;IAAA,EAAC;IAAAO,oBAAA,OAAAC,eAAA,aAAAN,mBAAA;IAA1FO,gBAAgB,GAAAF,oBAAA;EACvB,OAAOE,gBAAgB,GAAGR,UAAU,CAACQ,gBAAgB,CAAC,CAACC,IAAI,GAAG,IAAI;AACpE,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,cAEab,eAAe"}
@@ -8,10 +8,10 @@ Object.defineProperty(exports, "__esModule", {
8
8
  exports["default"] = void 0;
9
9
  var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
10
10
  require("core-js/modules/es.array.for-each.js");
11
- require("core-js/modules/es.array.includes.js");
12
11
  require("core-js/modules/es.object.to-string.js");
13
- require("core-js/modules/es.string.includes.js");
14
12
  require("core-js/modules/web.dom-collections.for-each.js");
13
+ require("core-js/modules/es.array.includes.js");
14
+ require("core-js/modules/es.string.includes.js");
15
15
  var _constants = require("../constants");
16
16
  var getFilterRangesAndCheckboxesValues = function getFilterRangesAndCheckboxesValues(filters) {
17
17
  var checkboxSelectValues = [];
@@ -1 +1 @@
1
- {"version":3,"file":"get-filter-ranges-and-checkboxes-values.js","names":["_constants","require","getFilterRangesAndCheckboxesValues","filters","checkboxSelectValues","rangeValues","forEach","_ref","type","propsToDisplay","CHECKBOX_SELECT","includes","push","RANGE","apply","_toConsumableArray2","_default","exports"],"sources":["../../../../src/components/SearchFilter/helpers/get-filter-ranges-and-checkboxes-values.js"],"sourcesContent":["import { RANGE, CHECKBOX_SELECT } from '../constants';\n\nconst getFilterRangesAndCheckboxesValues = filters => {\n const checkboxSelectValues = [];\n const rangeValues = [];\n\n filters.forEach(({ type, propsToDisplay }) => {\n if (CHECKBOX_SELECT.includes(type)) {\n checkboxSelectValues.push(propsToDisplay[0]);\n } else if (type === RANGE) {\n rangeValues.push(...propsToDisplay);\n }\n });\n return [checkboxSelectValues, rangeValues];\n};\n\nexport default getFilterRangesAndCheckboxesValues;\n"],"mappings":";;;;;;;;;;;;;;AAAA,IAAAA,UAAA,GAAAC,OAAA;AAEA,IAAMC,kCAAkC,GAAG,SAArCA,kCAAkCA,CAAGC,OAAO,EAAI;EACpD,IAAMC,oBAAoB,GAAG,EAAE;EAC/B,IAAMC,WAAW,GAAG,EAAE;EAEtBF,OAAO,CAACG,OAAO,CAAC,UAAAC,IAAA,EAA8B;IAAA,IAA3BC,IAAI,GAAAD,IAAA,CAAJC,IAAI;MAAEC,cAAc,GAAAF,IAAA,CAAdE,cAAc;IACrC,IAAIC,0BAAe,CAACC,QAAQ,CAACH,IAAI,CAAC,EAAE;MAClCJ,oBAAoB,CAACQ,IAAI,CAACH,cAAc,CAAC,CAAC,CAAC,CAAC;IAC9C,CAAC,MAAM,IAAID,IAAI,KAAKK,gBAAK,EAAE;MACzBR,WAAW,CAACO,IAAI,CAAAE,KAAA,CAAhBT,WAAW,MAAAU,mBAAA,aAASN,cAAc,EAAC;IACrC;EACF,CAAC,CAAC;EACF,OAAO,CAACL,oBAAoB,EAAEC,WAAW,CAAC;AAC5C,CAAC;AAAC,IAAAW,QAAA,GAAAC,OAAA,cAEaf,kCAAkC","ignoreList":[]}
1
+ {"version":3,"file":"get-filter-ranges-and-checkboxes-values.js","names":["_constants","require","getFilterRangesAndCheckboxesValues","filters","checkboxSelectValues","rangeValues","forEach","_ref","type","propsToDisplay","CHECKBOX_SELECT","includes","push","RANGE","apply","_toConsumableArray2","_default","exports"],"sources":["../../../../src/components/SearchFilter/helpers/get-filter-ranges-and-checkboxes-values.js"],"sourcesContent":["import { RANGE, CHECKBOX_SELECT } from '../constants';\n\nconst getFilterRangesAndCheckboxesValues = filters => {\n const checkboxSelectValues = [];\n const rangeValues = [];\n\n filters.forEach(({ type, propsToDisplay }) => {\n if (CHECKBOX_SELECT.includes(type)) {\n checkboxSelectValues.push(propsToDisplay[0]);\n } else if (type === RANGE) {\n rangeValues.push(...propsToDisplay);\n }\n });\n return [checkboxSelectValues, rangeValues];\n};\n\nexport default getFilterRangesAndCheckboxesValues;\n"],"mappings":";;;;;;;;;;;;;;AAAA,IAAAA,UAAA,GAAAC,OAAA;AAEA,IAAMC,kCAAkC,GAAG,SAArCA,kCAAkCA,CAAGC,OAAO,EAAI;EACpD,IAAMC,oBAAoB,GAAG,EAAE;EAC/B,IAAMC,WAAW,GAAG,EAAE;EAEtBF,OAAO,CAACG,OAAO,CAAC,UAAAC,IAAA,EAA8B;IAAA,IAA3BC,IAAI,GAAAD,IAAA,CAAJC,IAAI;MAAEC,cAAc,GAAAF,IAAA,CAAdE,cAAc;IACrC,IAAIC,0BAAe,CAACC,QAAQ,CAACH,IAAI,CAAC,EAAE;MAClCJ,oBAAoB,CAACQ,IAAI,CAACH,cAAc,CAAC,CAAC,CAAC,CAAC;IAC9C,CAAC,MAAM,IAAID,IAAI,KAAKK,gBAAK,EAAE;MACzBR,WAAW,CAACO,IAAI,CAAAE,KAAA,CAAhBT,WAAW,MAAAU,mBAAA,aAASN,cAAc,EAAC;IACrC;EACF,CAAC,CAAC;EACF,OAAO,CAACL,oBAAoB,EAAEC,WAAW,CAAC;AAC5C,CAAC;AAAC,IAAAW,QAAA,GAAAC,OAAA,cAEaf,kCAAkC"}
@@ -1 +1 @@
1
- {"version":3,"file":"get-filter-value-from-query.js","names":["_constants","require","_getRangeValue","_interopRequireDefault","_decodeEncode","getFilterValueFromQuery","key","filterProps","filterData","query","min","max","rangeInterval","type","queryValue","RANGE","getRangeValue","CHECKBOX","decodeValue","map","val","SELECT","_default","exports"],"sources":["../../../../src/components/SearchFilter/helpers/get-filter-value-from-query.js"],"sourcesContent":["import { RANGE, CHECKBOX, SELECT } from '../constants';\nimport getRangeValue from './get-range-value';\nimport { decodeValue } from './decode-encode';\n\nconst getFilterValueFromQuery = (key, filterProps, filterData, query) => {\n const { min, max } = filterData;\n const { rangeInterval, type } = filterProps;\n const queryValue = query[key];\n if (!queryValue && type !== RANGE) return null;\n\n switch (type) {\n case RANGE:\n return getRangeValue(queryValue, rangeInterval, min, max);\n case CHECKBOX:\n return typeof queryValue === 'string'\n ? [decodeValue(queryValue)]\n : queryValue.map(val => decodeValue(val));\n case SELECT:\n return decodeValue(queryValue);\n\n default:\n return null;\n }\n};\n\nexport default getFilterValueFromQuery;\n"],"mappings":";;;;;;;;;AAAA,IAAAA,UAAA,GAAAC,OAAA;AACA,IAAAC,cAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,aAAA,GAAAH,OAAA;AAEA,IAAMI,uBAAuB,GAAG,SAA1BA,uBAAuBA,CAAIC,GAAG,EAAEC,WAAW,EAAEC,UAAU,EAAEC,KAAK,EAAK;EACvE,IAAQC,GAAG,GAAUF,UAAU,CAAvBE,GAAG;IAAEC,GAAG,GAAKH,UAAU,CAAlBG,GAAG;EAChB,IAAQC,aAAa,GAAWL,WAAW,CAAnCK,aAAa;IAAEC,IAAI,GAAKN,WAAW,CAApBM,IAAI;EAC3B,IAAMC,UAAU,GAAGL,KAAK,CAACH,GAAG,CAAC;EAC7B,IAAI,CAACQ,UAAU,IAAID,IAAI,KAAKE,gBAAK,EAAE,OAAO,IAAI;EAE9C,QAAQF,IAAI;IACV,KAAKE,gBAAK;MACR,OAAO,IAAAC,yBAAa,EAACF,UAAU,EAAEF,aAAa,EAAEF,GAAG,EAAEC,GAAG,CAAC;IAC3D,KAAKM,mBAAQ;MACX,OAAO,OAAOH,UAAU,KAAK,QAAQ,GACjC,CAAC,IAAAI,yBAAW,EAACJ,UAAU,CAAC,CAAC,GACzBA,UAAU,CAACK,GAAG,CAAC,UAAAC,GAAG;QAAA,OAAI,IAAAF,yBAAW,EAACE,GAAG,CAAC;MAAA,EAAC;IAC7C,KAAKC,iBAAM;MACT,OAAO,IAAAH,yBAAW,EAACJ,UAAU,CAAC;IAEhC;MACE,OAAO,IAAI;EACf;AACF,CAAC;AAAC,IAAAQ,QAAA,GAAAC,OAAA,cAEalB,uBAAuB","ignoreList":[]}
1
+ {"version":3,"file":"get-filter-value-from-query.js","names":["_constants","require","_getRangeValue","_interopRequireDefault","_decodeEncode","getFilterValueFromQuery","key","filterProps","filterData","query","min","max","rangeInterval","type","queryValue","RANGE","getRangeValue","CHECKBOX","decodeValue","map","val","SELECT","_default","exports"],"sources":["../../../../src/components/SearchFilter/helpers/get-filter-value-from-query.js"],"sourcesContent":["import { RANGE, CHECKBOX, SELECT } from '../constants';\nimport getRangeValue from './get-range-value';\nimport { decodeValue } from './decode-encode';\n\nconst getFilterValueFromQuery = (key, filterProps, filterData, query) => {\n const { min, max } = filterData;\n const { rangeInterval, type } = filterProps;\n const queryValue = query[key];\n if (!queryValue && type !== RANGE) return null;\n\n switch (type) {\n case RANGE:\n return getRangeValue(queryValue, rangeInterval, min, max);\n case CHECKBOX:\n return typeof queryValue === 'string'\n ? [decodeValue(queryValue)]\n : queryValue.map(val => decodeValue(val));\n case SELECT:\n return decodeValue(queryValue);\n\n default:\n return null;\n }\n};\n\nexport default getFilterValueFromQuery;\n"],"mappings":";;;;;;;;;AAAA,IAAAA,UAAA,GAAAC,OAAA;AACA,IAAAC,cAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,aAAA,GAAAH,OAAA;AAEA,IAAMI,uBAAuB,GAAG,SAA1BA,uBAAuBA,CAAIC,GAAG,EAAEC,WAAW,EAAEC,UAAU,EAAEC,KAAK,EAAK;EACvE,IAAQC,GAAG,GAAUF,UAAU,CAAvBE,GAAG;IAAEC,GAAG,GAAKH,UAAU,CAAlBG,GAAG;EAChB,IAAQC,aAAa,GAAWL,WAAW,CAAnCK,aAAa;IAAEC,IAAI,GAAKN,WAAW,CAApBM,IAAI;EAC3B,IAAMC,UAAU,GAAGL,KAAK,CAACH,GAAG,CAAC;EAC7B,IAAI,CAACQ,UAAU,IAAID,IAAI,KAAKE,gBAAK,EAAE,OAAO,IAAI;EAE9C,QAAQF,IAAI;IACV,KAAKE,gBAAK;MACR,OAAO,IAAAC,yBAAa,EAACF,UAAU,EAAEF,aAAa,EAAEF,GAAG,EAAEC,GAAG,CAAC;IAC3D,KAAKM,mBAAQ;MACX,OAAO,OAAOH,UAAU,KAAK,QAAQ,GACjC,CAAC,IAAAI,yBAAW,EAACJ,UAAU,CAAC,CAAC,GACzBA,UAAU,CAACK,GAAG,CAAC,UAAAC,GAAG;QAAA,OAAI,IAAAF,yBAAW,EAACE,GAAG,CAAC;MAAA,EAAC;IAC7C,KAAKC,iBAAM;MACT,OAAO,IAAAH,yBAAW,EAACJ,UAAU,CAAC;IAEhC;MACE,OAAO,IAAI;EACf;AACF,CAAC;AAAC,IAAAQ,QAAA,GAAAC,OAAA,cAEalB,uBAAuB"}
@@ -1 +1 @@
1
- {"version":3,"file":"get-filter-values.js","names":["_constants","require","_getFilterValueFromQuery","_interopRequireDefault","getFilterValues","filterData","filters","query","filterValues","SEARCH_TERM","forEach","filterProps","_filterProps$propsToD","_slicedToArray2","propsToDisplay","key","type","TEXT_SEARCH","data","getFilterValueFromQuery","dataNotSet","_default","exports"],"sources":["../../../../src/components/SearchFilter/helpers/get-filter-values.js"],"sourcesContent":["import { SEARCH_TERM, TEXT_SEARCH } from '../constants';\nimport getFilterValueFromQuery from './get-filter-value-from-query';\n\nconst getFilterValues = (filterData, filters, query) => {\n const filterValues = {};\n filterValues[SEARCH_TERM] = query[SEARCH_TERM] || '';\n\n filters.forEach(filterProps => {\n const {\n propsToDisplay: [key],\n type\n } = filterProps;\n if (type === TEXT_SEARCH) return;\n const data = filterData && filterData[key] ? filterData[key] : {};\n filterValues[key] = getFilterValueFromQuery(key, filterProps, data, query);\n });\n filterValues.dataNotSet = !filterData;\n return filterValues;\n};\n\nexport default getFilterValues;\n"],"mappings":";;;;;;;;;;;;AAAA,IAAAA,UAAA,GAAAC,OAAA;AACA,IAAAC,wBAAA,GAAAC,sBAAA,CAAAF,OAAA;AAEA,IAAMG,eAAe,GAAG,SAAlBA,eAAeA,CAAIC,UAAU,EAAEC,OAAO,EAAEC,KAAK,EAAK;EACtD,IAAMC,YAAY,GAAG,CAAC,CAAC;EACvBA,YAAY,CAACC,sBAAW,CAAC,GAAGF,KAAK,CAACE,sBAAW,CAAC,IAAI,EAAE;EAEpDH,OAAO,CAACI,OAAO,CAAC,UAAAC,WAAW,EAAI;IAC7B,IAAAC,qBAAA,OAAAC,eAAA,aAGIF,WAAW,CAFbG,cAAc;MAAGC,GAAG,GAAAH,qBAAA;MACpBI,IAAI,GACFL,WAAW,CADbK,IAAI;IAEN,IAAIA,IAAI,KAAKC,sBAAW,EAAE;IAC1B,IAAMC,IAAI,GAAGb,UAAU,IAAIA,UAAU,CAACU,GAAG,CAAC,GAAGV,UAAU,CAACU,GAAG,CAAC,GAAG,CAAC,CAAC;IACjEP,YAAY,CAACO,GAAG,CAAC,GAAG,IAAAI,mCAAuB,EAACJ,GAAG,EAAEJ,WAAW,EAAEO,IAAI,EAAEX,KAAK,CAAC;EAC5E,CAAC,CAAC;EACFC,YAAY,CAACY,UAAU,GAAG,CAACf,UAAU;EACrC,OAAOG,YAAY;AACrB,CAAC;AAAC,IAAAa,QAAA,GAAAC,OAAA,cAEalB,eAAe","ignoreList":[]}
1
+ {"version":3,"file":"get-filter-values.js","names":["_constants","require","_getFilterValueFromQuery","_interopRequireDefault","getFilterValues","filterData","filters","query","filterValues","SEARCH_TERM","forEach","filterProps","_filterProps$propsToD","_slicedToArray2","propsToDisplay","key","type","TEXT_SEARCH","data","getFilterValueFromQuery","dataNotSet","_default","exports"],"sources":["../../../../src/components/SearchFilter/helpers/get-filter-values.js"],"sourcesContent":["import { SEARCH_TERM, TEXT_SEARCH } from '../constants';\nimport getFilterValueFromQuery from './get-filter-value-from-query';\n\nconst getFilterValues = (filterData, filters, query) => {\n const filterValues = {};\n filterValues[SEARCH_TERM] = query[SEARCH_TERM] || '';\n\n filters.forEach(filterProps => {\n const {\n propsToDisplay: [key],\n type\n } = filterProps;\n if (type === TEXT_SEARCH) return;\n const data = filterData && filterData[key] ? filterData[key] : {};\n filterValues[key] = getFilterValueFromQuery(key, filterProps, data, query);\n });\n filterValues.dataNotSet = !filterData;\n return filterValues;\n};\n\nexport default getFilterValues;\n"],"mappings":";;;;;;;;;;;;AAAA,IAAAA,UAAA,GAAAC,OAAA;AACA,IAAAC,wBAAA,GAAAC,sBAAA,CAAAF,OAAA;AAEA,IAAMG,eAAe,GAAG,SAAlBA,eAAeA,CAAIC,UAAU,EAAEC,OAAO,EAAEC,KAAK,EAAK;EACtD,IAAMC,YAAY,GAAG,CAAC,CAAC;EACvBA,YAAY,CAACC,sBAAW,CAAC,GAAGF,KAAK,CAACE,sBAAW,CAAC,IAAI,EAAE;EAEpDH,OAAO,CAACI,OAAO,CAAC,UAAAC,WAAW,EAAI;IAC7B,IAAAC,qBAAA,OAAAC,eAAA,aAGIF,WAAW,CAFbG,cAAc;MAAGC,GAAG,GAAAH,qBAAA;MACpBI,IAAI,GACFL,WAAW,CADbK,IAAI;IAEN,IAAIA,IAAI,KAAKC,sBAAW,EAAE;IAC1B,IAAMC,IAAI,GAAGb,UAAU,IAAIA,UAAU,CAACU,GAAG,CAAC,GAAGV,UAAU,CAACU,GAAG,CAAC,GAAG,CAAC,CAAC;IACjEP,YAAY,CAACO,GAAG,CAAC,GAAG,IAAAI,mCAAuB,EAACJ,GAAG,EAAEJ,WAAW,EAAEO,IAAI,EAAEX,KAAK,CAAC;EAC5E,CAAC,CAAC;EACFC,YAAY,CAACY,UAAU,GAAG,CAACf,UAAU;EACrC,OAAOG,YAAY;AACrB,CAAC;AAAC,IAAAa,QAAA,GAAAC,OAAA,cAEalB,eAAe"}
@@ -1 +1 @@
1
- {"version":3,"file":"get-initial-filter-values.js","names":["_constants","require","_getFilterValueFromQuery","_interopRequireDefault","_helpers","getInitialFilterValues","filterData","filters","query","listComponentName","filterValues","searchQueryKey","buildQueryKey","SEARCH_TERM","forEach","filterProps","_filterProps$propsToD","_slicedToArray2","propsToDisplay","key","type","TEXT_SEARCH","data","queryKey","getFilterValueFromQuery","_default","exports"],"sources":["../../../../src/components/SearchFilter/helpers/get-initial-filter-values.js"],"sourcesContent":["import { SEARCH_TERM, TEXT_SEARCH } from '../constants';\nimport getFilterValueFromQuery from './get-filter-value-from-query';\nimport { buildQueryKey } from '../../../helpers';\n\nconst getInitialFilterValues = (filterData, filters, query, listComponentName) => {\n const filterValues = {};\n const searchQueryKey = buildQueryKey(SEARCH_TERM, listComponentName);\n filterValues[SEARCH_TERM] = query[searchQueryKey] || '';\n\n filters.forEach(filterProps => {\n const {\n propsToDisplay: [key],\n type\n } = filterProps;\n if (type === TEXT_SEARCH) return;\n const data = filterData && filterData[key] ? filterData[key] : {};\n const queryKey = buildQueryKey(key, listComponentName);\n filterValues[key] = getFilterValueFromQuery(queryKey, filterProps, data, query);\n });\n\n return filterValues;\n};\n\nexport default getInitialFilterValues;\n"],"mappings":";;;;;;;;;;;;AAAA,IAAAA,UAAA,GAAAC,OAAA;AACA,IAAAC,wBAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,QAAA,GAAAH,OAAA;AAEA,IAAMI,sBAAsB,GAAG,SAAzBA,sBAAsBA,CAAIC,UAAU,EAAEC,OAAO,EAAEC,KAAK,EAAEC,iBAAiB,EAAK;EAChF,IAAMC,YAAY,GAAG,CAAC,CAAC;EACvB,IAAMC,cAAc,GAAG,IAAAC,sBAAa,EAACC,sBAAW,EAAEJ,iBAAiB,CAAC;EACpEC,YAAY,CAACG,sBAAW,CAAC,GAAGL,KAAK,CAACG,cAAc,CAAC,IAAI,EAAE;EAEvDJ,OAAO,CAACO,OAAO,CAAC,UAAAC,WAAW,EAAI;IAC7B,IAAAC,qBAAA,OAAAC,eAAA,aAGIF,WAAW,CAFbG,cAAc;MAAGC,GAAG,GAAAH,qBAAA;MACpBI,IAAI,GACFL,WAAW,CADbK,IAAI;IAEN,IAAIA,IAAI,KAAKC,sBAAW,EAAE;IAC1B,IAAMC,IAAI,GAAGhB,UAAU,IAAIA,UAAU,CAACa,GAAG,CAAC,GAAGb,UAAU,CAACa,GAAG,CAAC,GAAG,CAAC,CAAC;IACjE,IAAMI,QAAQ,GAAG,IAAAX,sBAAa,EAACO,GAAG,EAAEV,iBAAiB,CAAC;IACtDC,YAAY,CAACS,GAAG,CAAC,GAAG,IAAAK,mCAAuB,EAACD,QAAQ,EAAER,WAAW,EAAEO,IAAI,EAAEd,KAAK,CAAC;EACjF,CAAC,CAAC;EAEF,OAAOE,YAAY;AACrB,CAAC;AAAC,IAAAe,QAAA,GAAAC,OAAA,cAEarB,sBAAsB","ignoreList":[]}
1
+ {"version":3,"file":"get-initial-filter-values.js","names":["_constants","require","_getFilterValueFromQuery","_interopRequireDefault","_helpers","getInitialFilterValues","filterData","filters","query","listComponentName","filterValues","searchQueryKey","buildQueryKey","SEARCH_TERM","forEach","filterProps","_filterProps$propsToD","_slicedToArray2","propsToDisplay","key","type","TEXT_SEARCH","data","queryKey","getFilterValueFromQuery","_default","exports"],"sources":["../../../../src/components/SearchFilter/helpers/get-initial-filter-values.js"],"sourcesContent":["import { SEARCH_TERM, TEXT_SEARCH } from '../constants';\nimport getFilterValueFromQuery from './get-filter-value-from-query';\nimport { buildQueryKey } from '../../../helpers';\n\nconst getInitialFilterValues = (filterData, filters, query, listComponentName) => {\n const filterValues = {};\n const searchQueryKey = buildQueryKey(SEARCH_TERM, listComponentName);\n filterValues[SEARCH_TERM] = query[searchQueryKey] || '';\n\n filters.forEach(filterProps => {\n const {\n propsToDisplay: [key],\n type\n } = filterProps;\n if (type === TEXT_SEARCH) return;\n const data = filterData && filterData[key] ? filterData[key] : {};\n const queryKey = buildQueryKey(key, listComponentName);\n filterValues[key] = getFilterValueFromQuery(queryKey, filterProps, data, query);\n });\n\n return filterValues;\n};\n\nexport default getInitialFilterValues;\n"],"mappings":";;;;;;;;;;;;AAAA,IAAAA,UAAA,GAAAC,OAAA;AACA,IAAAC,wBAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,QAAA,GAAAH,OAAA;AAEA,IAAMI,sBAAsB,GAAG,SAAzBA,sBAAsBA,CAAIC,UAAU,EAAEC,OAAO,EAAEC,KAAK,EAAEC,iBAAiB,EAAK;EAChF,IAAMC,YAAY,GAAG,CAAC,CAAC;EACvB,IAAMC,cAAc,GAAG,IAAAC,sBAAa,EAACC,sBAAW,EAAEJ,iBAAiB,CAAC;EACpEC,YAAY,CAACG,sBAAW,CAAC,GAAGL,KAAK,CAACG,cAAc,CAAC,IAAI,EAAE;EAEvDJ,OAAO,CAACO,OAAO,CAAC,UAAAC,WAAW,EAAI;IAC7B,IAAAC,qBAAA,OAAAC,eAAA,aAGIF,WAAW,CAFbG,cAAc;MAAGC,GAAG,GAAAH,qBAAA;MACpBI,IAAI,GACFL,WAAW,CADbK,IAAI;IAEN,IAAIA,IAAI,KAAKC,sBAAW,EAAE;IAC1B,IAAMC,IAAI,GAAGhB,UAAU,IAAIA,UAAU,CAACa,GAAG,CAAC,GAAGb,UAAU,CAACa,GAAG,CAAC,GAAG,CAAC,CAAC;IACjE,IAAMI,QAAQ,GAAG,IAAAX,sBAAa,EAACO,GAAG,EAAEV,iBAAiB,CAAC;IACtDC,YAAY,CAACS,GAAG,CAAC,GAAG,IAAAK,mCAAuB,EAACD,QAAQ,EAAER,WAAW,EAAEO,IAAI,EAAEd,KAAK,CAAC;EACjF,CAAC,CAAC;EAEF,OAAOE,YAAY;AACrB,CAAC;AAAC,IAAAe,QAAA,GAAAC,OAAA,cAEarB,sBAAsB"}
@@ -1 +1 @@
1
- {"version":3,"file":"get-intersected-prop.js","names":["_lodash","_interopRequireDefault","require","getIntersectedProp","rangeQueryValues","propsToDisplay","intersection","Object","keys","_default","exports"],"sources":["../../../../src/components/SearchFilter/helpers/get-intersected-prop.js"],"sourcesContent":["import intersection from 'lodash.intersection';\n\nconst getIntersectedProp = (rangeQueryValues, propsToDisplay) =>\n intersection(Object.keys(rangeQueryValues), propsToDisplay)[0];\n\nexport default getIntersectedProp;\n"],"mappings":";;;;;;;;;AAAA,IAAAA,OAAA,GAAAC,sBAAA,CAAAC,OAAA;AAEA,IAAMC,kBAAkB,GAAG,SAArBA,kBAAkBA,CAAIC,gBAAgB,EAAEC,cAAc;EAAA,OAC1D,IAAAC,kBAAY,EAACC,MAAM,CAACC,IAAI,CAACJ,gBAAgB,CAAC,EAAEC,cAAc,CAAC,CAAC,CAAC,CAAC;AAAA;AAAC,IAAAI,QAAA,GAAAC,OAAA,cAElDP,kBAAkB","ignoreList":[]}
1
+ {"version":3,"file":"get-intersected-prop.js","names":["_lodash","_interopRequireDefault","require","getIntersectedProp","rangeQueryValues","propsToDisplay","intersection","Object","keys","_default","exports"],"sources":["../../../../src/components/SearchFilter/helpers/get-intersected-prop.js"],"sourcesContent":["import intersection from 'lodash.intersection';\n\nconst getIntersectedProp = (rangeQueryValues, propsToDisplay) =>\n intersection(Object.keys(rangeQueryValues), propsToDisplay)[0];\n\nexport default getIntersectedProp;\n"],"mappings":";;;;;;;;;AAAA,IAAAA,OAAA,GAAAC,sBAAA,CAAAC,OAAA;AAEA,IAAMC,kBAAkB,GAAG,SAArBA,kBAAkBA,CAAIC,gBAAgB,EAAEC,cAAc;EAAA,OAC1D,IAAAC,kBAAY,EAACC,MAAM,CAACC,IAAI,CAACJ,gBAAgB,CAAC,EAAEC,cAAc,CAAC,CAAC,CAAC,CAAC;AAAA;AAAC,IAAAI,QAAA,GAAAC,OAAA,cAElDP,kBAAkB"}
@@ -1 +1 @@
1
- {"version":3,"file":"get-range-value.js","names":["_calculateMinMax2","_interopRequireDefault","require","getRangeValue","rawQueryProp","rangeInterval","_min","_max","_calculateMinMax","calculateMinMax","min","max","_ref","Array","isArray","split","_ref2","_slicedToArray2","queryParamMin","queryParamMax","updatedMinValue","Number","updatedMaxValue","isNaN","step","maxValue","minValue","_default","exports"],"sources":["../../../../src/components/SearchFilter/helpers/get-range-value.js"],"sourcesContent":["import calculateMinMax from './calculate-min-max';\n\nconst getRangeValue = (rawQueryProp, rangeInterval, _min, _max) => {\n const { min, max } = calculateMinMax({ min: _min, max: _max }, rangeInterval);\n\n if (rawQueryProp) {\n const [queryParamMin, queryParamMax] = Array.isArray(rawQueryProp)\n ? rawQueryProp[0].split('-')\n : rawQueryProp.split('-');\n const updatedMinValue = Number(queryParamMin);\n const updatedMaxValue = Number(queryParamMax);\n\n return {\n min: Number.isNaN(min) ? updatedMinValue : min,\n max: Number.isNaN(max) ? updatedMaxValue : max,\n step: rangeInterval,\n maxValue: updatedMaxValue,\n minValue: updatedMinValue\n };\n }\n\n return {\n max,\n min,\n step: rangeInterval,\n maxValue: max,\n minValue: min\n };\n};\n\nexport default getRangeValue;\n"],"mappings":";;;;;;;;;;;;AAAA,IAAAA,iBAAA,GAAAC,sBAAA,CAAAC,OAAA;AAEA,IAAMC,aAAa,GAAG,SAAhBA,aAAaA,CAAIC,YAAY,EAAEC,aAAa,EAAEC,IAAI,EAAEC,IAAI,EAAK;EACjE,IAAAC,gBAAA,GAAqB,IAAAC,4BAAe,EAAC;MAAEC,GAAG,EAAEJ,IAAI;MAAEK,GAAG,EAAEJ;IAAK,CAAC,EAAEF,aAAa,CAAC;IAArEK,GAAG,GAAAF,gBAAA,CAAHE,GAAG;IAAEC,GAAG,GAAAH,gBAAA,CAAHG,GAAG;EAEhB,IAAIP,YAAY,EAAE;IAChB,IAAAQ,IAAA,GAAuCC,KAAK,CAACC,OAAO,CAACV,YAAY,CAAC,GAC9DA,YAAY,CAAC,CAAC,CAAC,CAACW,KAAK,CAAC,GAAG,CAAC,GAC1BX,YAAY,CAACW,KAAK,CAAC,GAAG,CAAC;MAAAC,KAAA,OAAAC,eAAA,aAAAL,IAAA;MAFpBM,aAAa,GAAAF,KAAA;MAAEG,aAAa,GAAAH,KAAA;IAGnC,IAAMI,eAAe,GAAGC,MAAM,CAACH,aAAa,CAAC;IAC7C,IAAMI,eAAe,GAAGD,MAAM,CAACF,aAAa,CAAC;IAE7C,OAAO;MACLT,GAAG,EAAEW,MAAM,CAACE,KAAK,CAACb,GAAG,CAAC,GAAGU,eAAe,GAAGV,GAAG;MAC9CC,GAAG,EAAEU,MAAM,CAACE,KAAK,CAACZ,GAAG,CAAC,GAAGW,eAAe,GAAGX,GAAG;MAC9Ca,IAAI,EAAEnB,aAAa;MACnBoB,QAAQ,EAAEH,eAAe;MACzBI,QAAQ,EAAEN;IACZ,CAAC;EACH;EAEA,OAAO;IACLT,GAAG,EAAHA,GAAG;IACHD,GAAG,EAAHA,GAAG;IACHc,IAAI,EAAEnB,aAAa;IACnBoB,QAAQ,EAAEd,GAAG;IACbe,QAAQ,EAAEhB;EACZ,CAAC;AACH,CAAC;AAAC,IAAAiB,QAAA,GAAAC,OAAA,cAEazB,aAAa","ignoreList":[]}
1
+ {"version":3,"file":"get-range-value.js","names":["_calculateMinMax2","_interopRequireDefault","require","getRangeValue","rawQueryProp","rangeInterval","_min","_max","_calculateMinMax","calculateMinMax","min","max","_ref","Array","isArray","split","_ref2","_slicedToArray2","queryParamMin","queryParamMax","updatedMinValue","Number","updatedMaxValue","isNaN","step","maxValue","minValue","_default","exports"],"sources":["../../../../src/components/SearchFilter/helpers/get-range-value.js"],"sourcesContent":["import calculateMinMax from './calculate-min-max';\n\nconst getRangeValue = (rawQueryProp, rangeInterval, _min, _max) => {\n const { min, max } = calculateMinMax({ min: _min, max: _max }, rangeInterval);\n\n if (rawQueryProp) {\n const [queryParamMin, queryParamMax] = Array.isArray(rawQueryProp)\n ? rawQueryProp[0].split('-')\n : rawQueryProp.split('-');\n const updatedMinValue = Number(queryParamMin);\n const updatedMaxValue = Number(queryParamMax);\n\n return {\n min: Number.isNaN(min) ? updatedMinValue : min,\n max: Number.isNaN(max) ? updatedMaxValue : max,\n step: rangeInterval,\n maxValue: updatedMaxValue,\n minValue: updatedMinValue\n };\n }\n\n return {\n max,\n min,\n step: rangeInterval,\n maxValue: max,\n minValue: min\n };\n};\n\nexport default getRangeValue;\n"],"mappings":";;;;;;;;;;;;AAAA,IAAAA,iBAAA,GAAAC,sBAAA,CAAAC,OAAA;AAEA,IAAMC,aAAa,GAAG,SAAhBA,aAAaA,CAAIC,YAAY,EAAEC,aAAa,EAAEC,IAAI,EAAEC,IAAI,EAAK;EACjE,IAAAC,gBAAA,GAAqB,IAAAC,4BAAe,EAAC;MAAEC,GAAG,EAAEJ,IAAI;MAAEK,GAAG,EAAEJ;IAAK,CAAC,EAAEF,aAAa,CAAC;IAArEK,GAAG,GAAAF,gBAAA,CAAHE,GAAG;IAAEC,GAAG,GAAAH,gBAAA,CAAHG,GAAG;EAEhB,IAAIP,YAAY,EAAE;IAChB,IAAAQ,IAAA,GAAuCC,KAAK,CAACC,OAAO,CAACV,YAAY,CAAC,GAC9DA,YAAY,CAAC,CAAC,CAAC,CAACW,KAAK,CAAC,GAAG,CAAC,GAC1BX,YAAY,CAACW,KAAK,CAAC,GAAG,CAAC;MAAAC,KAAA,OAAAC,eAAA,aAAAL,IAAA;MAFpBM,aAAa,GAAAF,KAAA;MAAEG,aAAa,GAAAH,KAAA;IAGnC,IAAMI,eAAe,GAAGC,MAAM,CAACH,aAAa,CAAC;IAC7C,IAAMI,eAAe,GAAGD,MAAM,CAACF,aAAa,CAAC;IAE7C,OAAO;MACLT,GAAG,EAAEW,MAAM,CAACE,KAAK,CAACb,GAAG,CAAC,GAAGU,eAAe,GAAGV,GAAG;MAC9CC,GAAG,EAAEU,MAAM,CAACE,KAAK,CAACZ,GAAG,CAAC,GAAGW,eAAe,GAAGX,GAAG;MAC9Ca,IAAI,EAAEnB,aAAa;MACnBoB,QAAQ,EAAEH,eAAe;MACzBI,QAAQ,EAAEN;IACZ,CAAC;EACH;EAEA,OAAO;IACLT,GAAG,EAAHA,GAAG;IACHD,GAAG,EAAHA,GAAG;IACHc,IAAI,EAAEnB,aAAa;IACnBoB,QAAQ,EAAEd,GAAG;IACbe,QAAQ,EAAEhB;EACZ,CAAC;AACH,CAAC;AAAC,IAAAiB,QAAA,GAAAC,OAAA,cAEazB,aAAa"}
@@ -1 +1 @@
1
- {"version":3,"file":"get-responsive-filter-classnames.js","names":["_classnames5","_interopRequireDefault","require","_constants","getResponsiveFilterClassnames","moreFiltersDesktopCollapsed","moreFiltersMobileCollapsed","moreFiltersMobileWrapperClass","classnames","MORE_FILTERS_CLASSES","MOBILE_WRAPPER","_defineProperty2","concat","moreFiltersMobileTogglerClass","MOBILE_TOGGLER","moreFiltersDesktopWrapperClass","DESKTOP_WRAPPER","moreFiltersDesktopTogglerClass","DESKTOP_TOGGLER","_default","exports"],"sources":["../../../../src/components/SearchFilter/helpers/get-responsive-filter-classnames.js"],"sourcesContent":["import classnames from 'classnames';\nimport { MORE_FILTERS_CLASSES } from '../constants';\n\nconst getResponsiveFilterClassnames = (\n moreFiltersDesktopCollapsed,\n moreFiltersMobileCollapsed\n) => ({\n moreFiltersMobileWrapperClass: classnames(MORE_FILTERS_CLASSES.MOBILE_WRAPPER, {\n [`${MORE_FILTERS_CLASSES.MOBILE_WRAPPER}--open`]: !moreFiltersMobileCollapsed\n }),\n moreFiltersMobileTogglerClass: classnames(MORE_FILTERS_CLASSES.MOBILE_TOGGLER, {\n [`${MORE_FILTERS_CLASSES.MOBILE_TOGGLER}--open`]: !moreFiltersMobileCollapsed\n }),\n moreFiltersDesktopWrapperClass: classnames(MORE_FILTERS_CLASSES.DESKTOP_WRAPPER, {\n [`${MORE_FILTERS_CLASSES.DESKTOP_WRAPPER}--open`]: !moreFiltersDesktopCollapsed\n }),\n moreFiltersDesktopTogglerClass: classnames(MORE_FILTERS_CLASSES.DESKTOP_TOGGLER, {\n [`${MORE_FILTERS_CLASSES.DESKTOP_TOGGLER}--open`]: !moreFiltersDesktopCollapsed\n })\n});\n\nexport default getResponsiveFilterClassnames;\n"],"mappings":";;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAD,OAAA;AAEA,IAAME,6BAA6B,GAAG,SAAhCA,6BAA6BA,CACjCC,2BAA2B,EAC3BC,0BAA0B;EAAA,OACtB;IACJC,6BAA6B,EAAE,IAAAC,uBAAU,EAACC,+BAAoB,CAACC,cAAc,MAAAC,gBAAA,oBAAAC,MAAA,CACvEH,+BAAoB,CAACC,cAAc,aAAW,CAACJ,0BAA0B,CAC9E,CAAC;IACFO,6BAA6B,EAAE,IAAAL,uBAAU,EAACC,+BAAoB,CAACK,cAAc,MAAAH,gBAAA,oBAAAC,MAAA,CACvEH,+BAAoB,CAACK,cAAc,aAAW,CAACR,0BAA0B,CAC9E,CAAC;IACFS,8BAA8B,EAAE,IAAAP,uBAAU,EAACC,+BAAoB,CAACO,eAAe,MAAAL,gBAAA,oBAAAC,MAAA,CACzEH,+BAAoB,CAACO,eAAe,aAAW,CAACX,2BAA2B,CAChF,CAAC;IACFY,8BAA8B,EAAE,IAAAT,uBAAU,EAACC,+BAAoB,CAACS,eAAe,MAAAP,gBAAA,oBAAAC,MAAA,CACzEH,+BAAoB,CAACS,eAAe,aAAW,CAACb,2BAA2B,CAChF;EACH,CAAC;AAAA,CAAC;AAAC,IAAAc,QAAA,GAAAC,OAAA,cAEYhB,6BAA6B","ignoreList":[]}
1
+ {"version":3,"file":"get-responsive-filter-classnames.js","names":["_classnames5","_interopRequireDefault","require","_constants","getResponsiveFilterClassnames","moreFiltersDesktopCollapsed","moreFiltersMobileCollapsed","moreFiltersMobileWrapperClass","classnames","MORE_FILTERS_CLASSES","MOBILE_WRAPPER","_defineProperty2","concat","moreFiltersMobileTogglerClass","MOBILE_TOGGLER","moreFiltersDesktopWrapperClass","DESKTOP_WRAPPER","moreFiltersDesktopTogglerClass","DESKTOP_TOGGLER","_default","exports"],"sources":["../../../../src/components/SearchFilter/helpers/get-responsive-filter-classnames.js"],"sourcesContent":["import classnames from 'classnames';\nimport { MORE_FILTERS_CLASSES } from '../constants';\n\nconst getResponsiveFilterClassnames = (\n moreFiltersDesktopCollapsed,\n moreFiltersMobileCollapsed\n) => ({\n moreFiltersMobileWrapperClass: classnames(MORE_FILTERS_CLASSES.MOBILE_WRAPPER, {\n [`${MORE_FILTERS_CLASSES.MOBILE_WRAPPER}--open`]: !moreFiltersMobileCollapsed\n }),\n moreFiltersMobileTogglerClass: classnames(MORE_FILTERS_CLASSES.MOBILE_TOGGLER, {\n [`${MORE_FILTERS_CLASSES.MOBILE_TOGGLER}--open`]: !moreFiltersMobileCollapsed\n }),\n moreFiltersDesktopWrapperClass: classnames(MORE_FILTERS_CLASSES.DESKTOP_WRAPPER, {\n [`${MORE_FILTERS_CLASSES.DESKTOP_WRAPPER}--open`]: !moreFiltersDesktopCollapsed\n }),\n moreFiltersDesktopTogglerClass: classnames(MORE_FILTERS_CLASSES.DESKTOP_TOGGLER, {\n [`${MORE_FILTERS_CLASSES.DESKTOP_TOGGLER}--open`]: !moreFiltersDesktopCollapsed\n })\n});\n\nexport default getResponsiveFilterClassnames;\n"],"mappings":";;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAD,OAAA;AAEA,IAAME,6BAA6B,GAAG,SAAhCA,6BAA6BA,CACjCC,2BAA2B,EAC3BC,0BAA0B;EAAA,OACtB;IACJC,6BAA6B,EAAE,IAAAC,uBAAU,EAACC,+BAAoB,CAACC,cAAc,MAAAC,gBAAA,oBAAAC,MAAA,CACvEH,+BAAoB,CAACC,cAAc,aAAW,CAACJ,0BAA0B,CAC9E,CAAC;IACFO,6BAA6B,EAAE,IAAAL,uBAAU,EAACC,+BAAoB,CAACK,cAAc,MAAAH,gBAAA,oBAAAC,MAAA,CACvEH,+BAAoB,CAACK,cAAc,aAAW,CAACR,0BAA0B,CAC9E,CAAC;IACFS,8BAA8B,EAAE,IAAAP,uBAAU,EAACC,+BAAoB,CAACO,eAAe,MAAAL,gBAAA,oBAAAC,MAAA,CACzEH,+BAAoB,CAACO,eAAe,aAAW,CAACX,2BAA2B,CAChF,CAAC;IACFY,8BAA8B,EAAE,IAAAT,uBAAU,EAACC,+BAAoB,CAACS,eAAe,MAAAP,gBAAA,oBAAAC,MAAA,CACzEH,+BAAoB,CAACS,eAAe,aAAW,CAACb,2BAA2B,CAChF;EACH,CAAC;AAAA,CAAC;AAAC,IAAAc,QAAA,GAAAC,OAAA,cAEYhB,6BAA6B"}
@@ -1 +1 @@
1
- {"version":3,"file":"get-select-options.js","names":["_getDisplayValue","_interopRequireDefault","require","getSelectOptions","entitySchema","propsToDisplay","length","_entitySchema$propert","properties","_entitySchema$dynamic","dynamicProperties","map","propToDisplay","displayValue","getDisplayValue","_default","exports"],"sources":["../../../../src/components/SearchFilter/helpers/get-select-options.js"],"sourcesContent":["import getDisplayValue from './get-display-value';\n\nconst getSelectOptions = (entitySchema, propsToDisplay) => {\n if (!propsToDisplay || !propsToDisplay.length) return [];\n\n const { properties = {}, dynamicProperties = {} } = entitySchema;\n\n return propsToDisplay.map(propToDisplay => {\n const displayValue =\n getDisplayValue(propToDisplay, properties) ||\n getDisplayValue(propToDisplay, dynamicProperties) ||\n propToDisplay;\n\n return [propToDisplay, displayValue];\n });\n};\n\nexport default getSelectOptions;\n"],"mappings":";;;;;;;;;AAAA,IAAAA,gBAAA,GAAAC,sBAAA,CAAAC,OAAA;AAEA,IAAMC,gBAAgB,GAAG,SAAnBA,gBAAgBA,CAAIC,YAAY,EAAEC,cAAc,EAAK;EACzD,IAAI,CAACA,cAAc,IAAI,CAACA,cAAc,CAACC,MAAM,EAAE,OAAO,EAAE;EAExD,IAAAC,qBAAA,GAAoDH,YAAY,CAAxDI,UAAU;IAAVA,UAAU,GAAAD,qBAAA,cAAG,CAAC,CAAC,GAAAA,qBAAA;IAAAE,qBAAA,GAA6BL,YAAY,CAAvCM,iBAAiB;IAAjBA,iBAAiB,GAAAD,qBAAA,cAAG,CAAC,CAAC,GAAAA,qBAAA;EAE/C,OAAOJ,cAAc,CAACM,GAAG,CAAC,UAAAC,aAAa,EAAI;IACzC,IAAMC,YAAY,GAChB,IAAAC,2BAAe,EAACF,aAAa,EAAEJ,UAAU,CAAC,IAC1C,IAAAM,2BAAe,EAACF,aAAa,EAAEF,iBAAiB,CAAC,IACjDE,aAAa;IAEf,OAAO,CAACA,aAAa,EAAEC,YAAY,CAAC;EACtC,CAAC,CAAC;AACJ,CAAC;AAAC,IAAAE,QAAA,GAAAC,OAAA,cAEab,gBAAgB","ignoreList":[]}
1
+ {"version":3,"file":"get-select-options.js","names":["_getDisplayValue","_interopRequireDefault","require","getSelectOptions","entitySchema","propsToDisplay","length","_entitySchema$propert","properties","_entitySchema$dynamic","dynamicProperties","map","propToDisplay","displayValue","getDisplayValue","_default","exports"],"sources":["../../../../src/components/SearchFilter/helpers/get-select-options.js"],"sourcesContent":["import getDisplayValue from './get-display-value';\n\nconst getSelectOptions = (entitySchema, propsToDisplay) => {\n if (!propsToDisplay || !propsToDisplay.length) return [];\n\n const { properties = {}, dynamicProperties = {} } = entitySchema;\n\n return propsToDisplay.map(propToDisplay => {\n const displayValue =\n getDisplayValue(propToDisplay, properties) ||\n getDisplayValue(propToDisplay, dynamicProperties) ||\n propToDisplay;\n\n return [propToDisplay, displayValue];\n });\n};\n\nexport default getSelectOptions;\n"],"mappings":";;;;;;;;;AAAA,IAAAA,gBAAA,GAAAC,sBAAA,CAAAC,OAAA;AAEA,IAAMC,gBAAgB,GAAG,SAAnBA,gBAAgBA,CAAIC,YAAY,EAAEC,cAAc,EAAK;EACzD,IAAI,CAACA,cAAc,IAAI,CAACA,cAAc,CAACC,MAAM,EAAE,OAAO,EAAE;EAExD,IAAAC,qBAAA,GAAoDH,YAAY,CAAxDI,UAAU;IAAVA,UAAU,GAAAD,qBAAA,cAAG,CAAC,CAAC,GAAAA,qBAAA;IAAAE,qBAAA,GAA6BL,YAAY,CAAvCM,iBAAiB;IAAjBA,iBAAiB,GAAAD,qBAAA,cAAG,CAAC,CAAC,GAAAA,qBAAA;EAE/C,OAAOJ,cAAc,CAACM,GAAG,CAAC,UAAAC,aAAa,EAAI;IACzC,IAAMC,YAAY,GAChB,IAAAC,2BAAe,EAACF,aAAa,EAAEJ,UAAU,CAAC,IAC1C,IAAAM,2BAAe,EAACF,aAAa,EAAEF,iBAAiB,CAAC,IACjDE,aAAa;IAEf,OAAO,CAACA,aAAa,EAAEC,YAAY,CAAC;EACtC,CAAC,CAAC;AACJ,CAAC;AAAC,IAAAE,QAAA,GAAAC,OAAA,cAEab,gBAAgB"}
@@ -7,11 +7,11 @@ Object.defineProperty(exports, "__esModule", {
7
7
  });
8
8
  exports["default"] = void 0;
9
9
  var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
10
- require("core-js/modules/es.array.concat.js");
11
10
  require("core-js/modules/es.array.for-each.js");
12
- require("core-js/modules/es.array.is-array.js");
13
11
  require("core-js/modules/es.object.to-string.js");
14
12
  require("core-js/modules/web.dom-collections.for-each.js");
13
+ require("core-js/modules/es.array.is-array.js");
14
+ require("core-js/modules/es.array.concat.js");
15
15
  var getUpdatedFilterBy = function getUpdatedFilterBy(filterBy, filterByProperty, parentData) {
16
16
  if (!parentData || filterBy && filterBy.length) return {
17
17
  updatedFilterBy: filterBy,
@@ -1 +1 @@
1
- {"version":3,"file":"get-updated-filter-by.js","names":["getUpdatedFilterBy","filterBy","filterByProperty","parentData","length","updatedFilterBy","updatedFilterByProperty","forEach","property","_property$split","split","_property$split2","_slicedToArray2","key","filterData","Array","isArray","dat","push","concat","_default","exports"],"sources":["../../../../src/components/SearchFilter/helpers/get-updated-filter-by.js"],"sourcesContent":["const getUpdatedFilterBy = (filterBy, filterByProperty, parentData) => {\n if (!parentData || (filterBy && filterBy.length))\n return { updatedFilterBy: filterBy, updatedFilterByProperty: filterByProperty };\n\n const updatedFilterBy = [];\n filterByProperty.forEach(property => {\n const [key] = property.split('/');\n const filterData = parentData[key];\n\n if (!filterData) return;\n if (Array.isArray(filterData)) filterData.forEach(dat => updatedFilterBy.push(`${key}/${dat}`));\n else updatedFilterBy.push(`${key}/${filterData}`);\n });\n\n return { updatedFilterBy, updatedFilterByProperty: filterByProperty };\n};\n\nexport default getUpdatedFilterBy;\n"],"mappings":";;;;;;;;;;;;;;AAAA,IAAMA,kBAAkB,GAAG,SAArBA,kBAAkBA,CAAIC,QAAQ,EAAEC,gBAAgB,EAAEC,UAAU,EAAK;EACrE,IAAI,CAACA,UAAU,IAAKF,QAAQ,IAAIA,QAAQ,CAACG,MAAO,EAC9C,OAAO;IAAEC,eAAe,EAAEJ,QAAQ;IAAEK,uBAAuB,EAAEJ;EAAiB,CAAC;EAEjF,IAAMG,eAAe,GAAG,EAAE;EAC1BH,gBAAgB,CAACK,OAAO,CAAC,UAAAC,QAAQ,EAAI;IACnC,IAAAC,eAAA,GAAcD,QAAQ,CAACE,KAAK,CAAC,GAAG,CAAC;MAAAC,gBAAA,OAAAC,eAAA,aAAAH,eAAA;MAA1BI,GAAG,GAAAF,gBAAA;IACV,IAAMG,UAAU,GAAGX,UAAU,CAACU,GAAG,CAAC;IAElC,IAAI,CAACC,UAAU,EAAE;IACjB,IAAIC,KAAK,CAACC,OAAO,CAACF,UAAU,CAAC,EAAEA,UAAU,CAACP,OAAO,CAAC,UAAAU,GAAG;MAAA,OAAIZ,eAAe,CAACa,IAAI,IAAAC,MAAA,CAAIN,GAAG,OAAAM,MAAA,CAAIF,GAAG,CAAE,CAAC;IAAA,EAAC,CAAC,KAC3FZ,eAAe,CAACa,IAAI,IAAAC,MAAA,CAAIN,GAAG,OAAAM,MAAA,CAAIL,UAAU,CAAE,CAAC;EACnD,CAAC,CAAC;EAEF,OAAO;IAAET,eAAe,EAAfA,eAAe;IAAEC,uBAAuB,EAAEJ;EAAiB,CAAC;AACvE,CAAC;AAAC,IAAAkB,QAAA,GAAAC,OAAA,cAEarB,kBAAkB","ignoreList":[]}
1
+ {"version":3,"file":"get-updated-filter-by.js","names":["getUpdatedFilterBy","filterBy","filterByProperty","parentData","length","updatedFilterBy","updatedFilterByProperty","forEach","property","_property$split","split","_property$split2","_slicedToArray2","key","filterData","Array","isArray","dat","push","concat","_default","exports"],"sources":["../../../../src/components/SearchFilter/helpers/get-updated-filter-by.js"],"sourcesContent":["const getUpdatedFilterBy = (filterBy, filterByProperty, parentData) => {\n if (!parentData || (filterBy && filterBy.length))\n return { updatedFilterBy: filterBy, updatedFilterByProperty: filterByProperty };\n\n const updatedFilterBy = [];\n filterByProperty.forEach(property => {\n const [key] = property.split('/');\n const filterData = parentData[key];\n\n if (!filterData) return;\n if (Array.isArray(filterData)) filterData.forEach(dat => updatedFilterBy.push(`${key}/${dat}`));\n else updatedFilterBy.push(`${key}/${filterData}`);\n });\n\n return { updatedFilterBy, updatedFilterByProperty: filterByProperty };\n};\n\nexport default getUpdatedFilterBy;\n"],"mappings":";;;;;;;;;;;;;;AAAA,IAAMA,kBAAkB,GAAG,SAArBA,kBAAkBA,CAAIC,QAAQ,EAAEC,gBAAgB,EAAEC,UAAU,EAAK;EACrE,IAAI,CAACA,UAAU,IAAKF,QAAQ,IAAIA,QAAQ,CAACG,MAAO,EAC9C,OAAO;IAAEC,eAAe,EAAEJ,QAAQ;IAAEK,uBAAuB,EAAEJ;EAAiB,CAAC;EAEjF,IAAMG,eAAe,GAAG,EAAE;EAC1BH,gBAAgB,CAACK,OAAO,CAAC,UAAAC,QAAQ,EAAI;IACnC,IAAAC,eAAA,GAAcD,QAAQ,CAACE,KAAK,CAAC,GAAG,CAAC;MAAAC,gBAAA,OAAAC,eAAA,aAAAH,eAAA;MAA1BI,GAAG,GAAAF,gBAAA;IACV,IAAMG,UAAU,GAAGX,UAAU,CAACU,GAAG,CAAC;IAElC,IAAI,CAACC,UAAU,EAAE;IACjB,IAAIC,KAAK,CAACC,OAAO,CAACF,UAAU,CAAC,EAAEA,UAAU,CAACP,OAAO,CAAC,UAAAU,GAAG;MAAA,OAAIZ,eAAe,CAACa,IAAI,IAAAC,MAAA,CAAIN,GAAG,OAAAM,MAAA,CAAIF,GAAG,CAAE,CAAC;IAAA,EAAC,CAAC,KAC3FZ,eAAe,CAACa,IAAI,IAAAC,MAAA,CAAIN,GAAG,OAAAM,MAAA,CAAIL,UAAU,CAAE,CAAC;EACnD,CAAC,CAAC;EAEF,OAAO;IAAET,eAAe,EAAfA,eAAe;IAAEC,uBAAuB,EAAEJ;EAAiB,CAAC;AACvE,CAAC;AAAC,IAAAkB,QAAA,GAAAC,OAAA,cAEarB,kBAAkB"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["_buildNewUrl","_interopRequireDefault","require","_buildRawQueryStringified","_decodeEncode","_checkIfRangeUpdated","_getResponsiveFilterClassnames","_getDisplayValue","_calculateStep","_calculateMinMax","_getIntersectedProp","_getRangeValue","_getSelectOptions","_isDeviceDesktop","_getFilterValues","_getFilterValueFromQuery","_buildFiltersQuery","_getFilterRangesAndCheckboxesValues","_getUpdatedFilterBy","_buildUrlQuery"],"sources":["../../../../src/components/SearchFilter/helpers/index.js"],"sourcesContent":["import buildNewUrl from './build-new-url';\nimport buildRawQueryStringified from './build-raw-query-stringified';\nimport { decodeValue, encodeValue } from './decode-encode';\nimport checkIfRangeUpdated from './check-if-range-updated';\nimport getResponsiveFilterClassnames from './get-responsive-filter-classnames';\nimport getDisplayValue from './get-display-value';\nimport calculateStep from './calculate-step';\nimport calculateMinMax from './calculate-min-max';\nimport getIntersectedProp from './get-intersected-prop';\nimport getRangeValue from './get-range-value';\nimport getSelectOptions from './get-select-options';\nimport isDeviceDesktop from './is-device-desktop';\nimport getFilterValues from './get-filter-values';\nimport getFilterValueFromQuery from './get-filter-value-from-query';\nimport buildFiltersQuery from './build-filters-query';\nimport getFilterRangesAndCheckboxesValues from './get-filter-ranges-and-checkboxes-values';\nimport getUpdatedFilterBy from './get-updated-filter-by';\nimport buildUrlQuery from './build-url-query';\n\nexport {\n buildNewUrl,\n buildRawQueryStringified,\n decodeValue,\n encodeValue,\n checkIfRangeUpdated,\n getResponsiveFilterClassnames,\n getDisplayValue,\n calculateStep,\n calculateMinMax,\n getIntersectedProp,\n getRangeValue,\n getSelectOptions,\n isDeviceDesktop,\n getFilterValues,\n getFilterValueFromQuery,\n buildFiltersQuery,\n getFilterRangesAndCheckboxesValues,\n getUpdatedFilterBy,\n buildUrlQuery\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,yBAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,aAAA,GAAAF,OAAA;AACA,IAAAG,oBAAA,GAAAJ,sBAAA,CAAAC,OAAA;AACA,IAAAI,8BAAA,GAAAL,sBAAA,CAAAC,OAAA;AACA,IAAAK,gBAAA,GAAAN,sBAAA,CAAAC,OAAA;AACA,IAAAM,cAAA,GAAAP,sBAAA,CAAAC,OAAA;AACA,IAAAO,gBAAA,GAAAR,sBAAA,CAAAC,OAAA;AACA,IAAAQ,mBAAA,GAAAT,sBAAA,CAAAC,OAAA;AACA,IAAAS,cAAA,GAAAV,sBAAA,CAAAC,OAAA;AACA,IAAAU,iBAAA,GAAAX,sBAAA,CAAAC,OAAA;AACA,IAAAW,gBAAA,GAAAZ,sBAAA,CAAAC,OAAA;AACA,IAAAY,gBAAA,GAAAb,sBAAA,CAAAC,OAAA;AACA,IAAAa,wBAAA,GAAAd,sBAAA,CAAAC,OAAA;AACA,IAAAc,kBAAA,GAAAf,sBAAA,CAAAC,OAAA;AACA,IAAAe,mCAAA,GAAAhB,sBAAA,CAAAC,OAAA;AACA,IAAAgB,mBAAA,GAAAjB,sBAAA,CAAAC,OAAA;AACA,IAAAiB,cAAA,GAAAlB,sBAAA,CAAAC,OAAA","ignoreList":[]}
1
+ {"version":3,"file":"index.js","names":["_buildNewUrl","_interopRequireDefault","require","_buildRawQueryStringified","_decodeEncode","_checkIfRangeUpdated","_getResponsiveFilterClassnames","_getDisplayValue","_calculateStep","_calculateMinMax","_getIntersectedProp","_getRangeValue","_getSelectOptions","_isDeviceDesktop","_getFilterValues","_getFilterValueFromQuery","_buildFiltersQuery","_getFilterRangesAndCheckboxesValues","_getUpdatedFilterBy","_buildUrlQuery"],"sources":["../../../../src/components/SearchFilter/helpers/index.js"],"sourcesContent":["import buildNewUrl from './build-new-url';\nimport buildRawQueryStringified from './build-raw-query-stringified';\nimport { decodeValue, encodeValue } from './decode-encode';\nimport checkIfRangeUpdated from './check-if-range-updated';\nimport getResponsiveFilterClassnames from './get-responsive-filter-classnames';\nimport getDisplayValue from './get-display-value';\nimport calculateStep from './calculate-step';\nimport calculateMinMax from './calculate-min-max';\nimport getIntersectedProp from './get-intersected-prop';\nimport getRangeValue from './get-range-value';\nimport getSelectOptions from './get-select-options';\nimport isDeviceDesktop from './is-device-desktop';\nimport getFilterValues from './get-filter-values';\nimport getFilterValueFromQuery from './get-filter-value-from-query';\nimport buildFiltersQuery from './build-filters-query';\nimport getFilterRangesAndCheckboxesValues from './get-filter-ranges-and-checkboxes-values';\nimport getUpdatedFilterBy from './get-updated-filter-by';\nimport buildUrlQuery from './build-url-query';\n\nexport {\n buildNewUrl,\n buildRawQueryStringified,\n decodeValue,\n encodeValue,\n checkIfRangeUpdated,\n getResponsiveFilterClassnames,\n getDisplayValue,\n calculateStep,\n calculateMinMax,\n getIntersectedProp,\n getRangeValue,\n getSelectOptions,\n isDeviceDesktop,\n getFilterValues,\n getFilterValueFromQuery,\n buildFiltersQuery,\n getFilterRangesAndCheckboxesValues,\n getUpdatedFilterBy,\n buildUrlQuery\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,yBAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,aAAA,GAAAF,OAAA;AACA,IAAAG,oBAAA,GAAAJ,sBAAA,CAAAC,OAAA;AACA,IAAAI,8BAAA,GAAAL,sBAAA,CAAAC,OAAA;AACA,IAAAK,gBAAA,GAAAN,sBAAA,CAAAC,OAAA;AACA,IAAAM,cAAA,GAAAP,sBAAA,CAAAC,OAAA;AACA,IAAAO,gBAAA,GAAAR,sBAAA,CAAAC,OAAA;AACA,IAAAQ,mBAAA,GAAAT,sBAAA,CAAAC,OAAA;AACA,IAAAS,cAAA,GAAAV,sBAAA,CAAAC,OAAA;AACA,IAAAU,iBAAA,GAAAX,sBAAA,CAAAC,OAAA;AACA,IAAAW,gBAAA,GAAAZ,sBAAA,CAAAC,OAAA;AACA,IAAAY,gBAAA,GAAAb,sBAAA,CAAAC,OAAA;AACA,IAAAa,wBAAA,GAAAd,sBAAA,CAAAC,OAAA;AACA,IAAAc,kBAAA,GAAAf,sBAAA,CAAAC,OAAA;AACA,IAAAe,mCAAA,GAAAhB,sBAAA,CAAAC,OAAA;AACA,IAAAgB,mBAAA,GAAAjB,sBAAA,CAAAC,OAAA;AACA,IAAAiB,cAAA,GAAAlB,sBAAA,CAAAC,OAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"is-device-desktop.js","names":["_constants","require","isDeviceDesktop","window","innerWidth","TABLET_WIDTH","_default","exports"],"sources":["../../../../src/components/SearchFilter/helpers/is-device-desktop.js"],"sourcesContent":["import { TABLET_WIDTH } from '../constants';\n\nconst isDeviceDesktop = () =>\n typeof window !== 'undefined' ? window.innerWidth > TABLET_WIDTH : false;\n\nexport default isDeviceDesktop;\n"],"mappings":";;;;;;;AAAA,IAAAA,UAAA,GAAAC,OAAA;AAEA,IAAMC,eAAe,GAAG,SAAlBA,eAAeA,CAAA;EAAA,OACnB,OAAOC,MAAM,KAAK,WAAW,GAAGA,MAAM,CAACC,UAAU,GAAGC,uBAAY,GAAG,KAAK;AAAA;AAAC,IAAAC,QAAA,GAAAC,OAAA,cAE5DL,eAAe","ignoreList":[]}
1
+ {"version":3,"file":"is-device-desktop.js","names":["_constants","require","isDeviceDesktop","window","innerWidth","TABLET_WIDTH","_default","exports"],"sources":["../../../../src/components/SearchFilter/helpers/is-device-desktop.js"],"sourcesContent":["import { TABLET_WIDTH } from '../constants';\n\nconst isDeviceDesktop = () =>\n typeof window !== 'undefined' ? window.innerWidth > TABLET_WIDTH : false;\n\nexport default isDeviceDesktop;\n"],"mappings":";;;;;;;AAAA,IAAAA,UAAA,GAAAC,OAAA;AAEA,IAAMC,eAAe,GAAG,SAAlBA,eAAeA,CAAA;EAAA,OACnB,OAAOC,MAAM,KAAK,WAAW,GAAGA,MAAM,CAACC,UAAU,GAAGC,uBAAY,GAAG,KAAK;AAAA;AAAC,IAAAC,QAAA,GAAAC,OAAA,cAE5DL,eAAe"}
@@ -1 +1 @@
1
- {"version":3,"file":"parse-filter-value.js","names":["_constants","require","parseFilterValue","key","type","value","RANGE","minValue","min","maxValue","max","concat","CHECKBOX","encodeURIComponent","map","val","join","SELECT","parsedValue","_default","exports"],"sources":["../../../../src/components/SearchFilter/helpers/parse-filter-value.js"],"sourcesContent":["import { RANGE, CHECKBOX, SELECT } from '../constants';\n\nconst parseFilterValue = (key, type, value) => {\n if (!value) return null;\n\n switch (type) {\n case RANGE:\n if (value.minValue === value.min && value.maxValue === value.max) return null;\n return `${key}=${value.minValue}-${value.maxValue}`;\n case CHECKBOX:\n if (typeof value === 'string') return `${key}=${encodeURIComponent(value)}`;\n return value.map(val => `${key}=${encodeURIComponent(val)}`).join('&');\n case SELECT: {\n const parsedValue = encodeURIComponent(value);\n return `${key}=${parsedValue}`;\n }\n\n default:\n return null;\n }\n};\n\nexport default parseFilterValue;\n"],"mappings":";;;;;;;;;;AAAA,IAAAA,UAAA,GAAAC,OAAA;AAEA,IAAMC,gBAAgB,GAAG,SAAnBA,gBAAgBA,CAAIC,GAAG,EAAEC,IAAI,EAAEC,KAAK,EAAK;EAC7C,IAAI,CAACA,KAAK,EAAE,OAAO,IAAI;EAEvB,QAAQD,IAAI;IACV,KAAKE,gBAAK;MACR,IAAID,KAAK,CAACE,QAAQ,KAAKF,KAAK,CAACG,GAAG,IAAIH,KAAK,CAACI,QAAQ,KAAKJ,KAAK,CAACK,GAAG,EAAE,OAAO,IAAI;MAC7E,UAAAC,MAAA,CAAUR,GAAG,OAAAQ,MAAA,CAAIN,KAAK,CAACE,QAAQ,OAAAI,MAAA,CAAIN,KAAK,CAACI,QAAQ;IACnD,KAAKG,mBAAQ;MACX,IAAI,OAAOP,KAAK,KAAK,QAAQ,EAAE,UAAAM,MAAA,CAAUR,GAAG,OAAAQ,MAAA,CAAIE,kBAAkB,CAACR,KAAK,CAAC;MACzE,OAAOA,KAAK,CAACS,GAAG,CAAC,UAAAC,GAAG;QAAA,UAAAJ,MAAA,CAAOR,GAAG,OAAAQ,MAAA,CAAIE,kBAAkB,CAACE,GAAG,CAAC;MAAA,CAAE,CAAC,CAACC,IAAI,CAAC,GAAG,CAAC;IACxE,KAAKC,iBAAM;MAAE;QACX,IAAMC,WAAW,GAAGL,kBAAkB,CAACR,KAAK,CAAC;QAC7C,UAAAM,MAAA,CAAUR,GAAG,OAAAQ,MAAA,CAAIO,WAAW;MAC9B;IAEA;MACE,OAAO,IAAI;EACf;AACF,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,cAEalB,gBAAgB","ignoreList":[]}
1
+ {"version":3,"file":"parse-filter-value.js","names":["_constants","require","parseFilterValue","key","type","value","RANGE","minValue","min","maxValue","max","concat","CHECKBOX","encodeURIComponent","map","val","join","SELECT","parsedValue","_default","exports"],"sources":["../../../../src/components/SearchFilter/helpers/parse-filter-value.js"],"sourcesContent":["import { RANGE, CHECKBOX, SELECT } from '../constants';\n\nconst parseFilterValue = (key, type, value) => {\n if (!value) return null;\n\n switch (type) {\n case RANGE:\n if (value.minValue === value.min && value.maxValue === value.max) return null;\n return `${key}=${value.minValue}-${value.maxValue}`;\n case CHECKBOX:\n if (typeof value === 'string') return `${key}=${encodeURIComponent(value)}`;\n return value.map(val => `${key}=${encodeURIComponent(val)}`).join('&');\n case SELECT: {\n const parsedValue = encodeURIComponent(value);\n return `${key}=${parsedValue}`;\n }\n\n default:\n return null;\n }\n};\n\nexport default parseFilterValue;\n"],"mappings":";;;;;;;;;;AAAA,IAAAA,UAAA,GAAAC,OAAA;AAEA,IAAMC,gBAAgB,GAAG,SAAnBA,gBAAgBA,CAAIC,GAAG,EAAEC,IAAI,EAAEC,KAAK,EAAK;EAC7C,IAAI,CAACA,KAAK,EAAE,OAAO,IAAI;EAEvB,QAAQD,IAAI;IACV,KAAKE,gBAAK;MACR,IAAID,KAAK,CAACE,QAAQ,KAAKF,KAAK,CAACG,GAAG,IAAIH,KAAK,CAACI,QAAQ,KAAKJ,KAAK,CAACK,GAAG,EAAE,OAAO,IAAI;MAC7E,UAAAC,MAAA,CAAUR,GAAG,OAAAQ,MAAA,CAAIN,KAAK,CAACE,QAAQ,OAAAI,MAAA,CAAIN,KAAK,CAACI,QAAQ;IACnD,KAAKG,mBAAQ;MACX,IAAI,OAAOP,KAAK,KAAK,QAAQ,EAAE,UAAAM,MAAA,CAAUR,GAAG,OAAAQ,MAAA,CAAIE,kBAAkB,CAACR,KAAK,CAAC;MACzE,OAAOA,KAAK,CAACS,GAAG,CAAC,UAAAC,GAAG;QAAA,UAAAJ,MAAA,CAAOR,GAAG,OAAAQ,MAAA,CAAIE,kBAAkB,CAACE,GAAG,CAAC;MAAA,CAAE,CAAC,CAACC,IAAI,CAAC,GAAG,CAAC;IACxE,KAAKC,iBAAM;MAAE;QACX,IAAMC,WAAW,GAAGL,kBAAkB,CAACR,KAAK,CAAC;QAC7C,UAAAM,MAAA,CAAUR,GAAG,OAAAQ,MAAA,CAAIO,WAAW;MAC9B;IAEA;MACE,OAAO,IAAI;EACf;AACF,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,cAEalB,gBAAgB"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["_SearchFilterContainer","_interopRequireDefault","require","_default","exports","SearchFilter"],"sources":["../../../src/components/SearchFilter/index.js"],"sourcesContent":["import SearchFilter from './SearchFilterContainer';\n\nexport default SearchFilter;\n"],"mappings":";;;;;;;;AAAA,IAAAA,sBAAA,GAAAC,sBAAA,CAAAC,OAAA;AAAmD,IAAAC,QAAA,GAAAC,OAAA,cAEpCC,iCAAY","ignoreList":[]}
1
+ {"version":3,"file":"index.js","names":["_SearchFilterContainer","_interopRequireDefault","require","_default","exports","SearchFilter"],"sources":["../../../src/components/SearchFilter/index.js"],"sourcesContent":["import SearchFilter from './SearchFilterContainer';\n\nexport default SearchFilter;\n"],"mappings":";;;;;;;;AAAA,IAAAA,sBAAA,GAAAC,sBAAA,CAAAC,OAAA;AAAmD,IAAAC,QAAA,GAAAC,OAAA,cAEpCC,iCAAY"}
@@ -1,15 +1,15 @@
1
1
  "use strict";
2
2
 
3
+ require("core-js/modules/es.object.keys.js");
3
4
  require("core-js/modules/es.symbol.js");
4
5
  require("core-js/modules/es.array.filter.js");
6
+ require("core-js/modules/es.object.to-string.js");
7
+ require("core-js/modules/es.object.get-own-property-descriptor.js");
5
8
  require("core-js/modules/es.array.for-each.js");
9
+ require("core-js/modules/web.dom-collections.for-each.js");
10
+ require("core-js/modules/es.object.get-own-property-descriptors.js");
6
11
  require("core-js/modules/es.object.define-properties.js");
7
12
  require("core-js/modules/es.object.define-property.js");
8
- require("core-js/modules/es.object.get-own-property-descriptor.js");
9
- require("core-js/modules/es.object.get-own-property-descriptors.js");
10
- require("core-js/modules/es.object.keys.js");
11
- require("core-js/modules/es.object.to-string.js");
12
- require("core-js/modules/web.dom-collections.for-each.js");
13
13
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
14
14
  Object.defineProperty(exports, "__esModule", {
15
15
  value: true
@@ -1 +1 @@
1
- {"version":3,"file":"searchFilterReducer.js","names":["searchFilterReducer","state","action","newValues","type","_action$shouldSearch","shouldSearch","_objectSpread","Error","_default","exports"],"sources":["../../../src/components/SearchFilter/searchFilterReducer.js"],"sourcesContent":["const searchFilterReducer = (state, action) => {\n const { newValues, type, shouldSearch = true } = action;\n switch (type) {\n case 'update':\n return { ...state, ...newValues, shouldSearch };\n case 'resetSearch':\n return { ...state, shouldSearch: false };\n case 'reset':\n return null;\n default:\n throw new Error();\n }\n};\n\nexport default searchFilterReducer;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,IAAMA,mBAAmB,GAAG,SAAtBA,mBAAmBA,CAAIC,KAAK,EAAEC,MAAM,EAAK;EAC7C,IAAQC,SAAS,GAAgCD,MAAM,CAA/CC,SAAS;IAAEC,IAAI,GAA0BF,MAAM,CAApCE,IAAI;IAAAC,oBAAA,GAA0BH,MAAM,CAA9BI,YAAY;IAAZA,YAAY,GAAAD,oBAAA,cAAG,IAAI,GAAAA,oBAAA;EAC5C,QAAQD,IAAI;IACV,KAAK,QAAQ;MACX,OAAAG,aAAA,CAAAA,aAAA,CAAAA,aAAA,KAAYN,KAAK,GAAKE,SAAS;QAAEG,YAAY,EAAZA;MAAY;IAC/C,KAAK,aAAa;MAChB,OAAAC,aAAA,CAAAA,aAAA,KAAYN,KAAK;QAAEK,YAAY,EAAE;MAAK;IACxC,KAAK,OAAO;MACV,OAAO,IAAI;IACb;MACE,MAAM,IAAIE,KAAK,CAAC,CAAC;EACrB;AACF,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,cAEaV,mBAAmB","ignoreList":[]}
1
+ {"version":3,"file":"searchFilterReducer.js","names":["searchFilterReducer","state","action","newValues","type","_action$shouldSearch","shouldSearch","_objectSpread","Error","_default","exports"],"sources":["../../../src/components/SearchFilter/searchFilterReducer.js"],"sourcesContent":["const searchFilterReducer = (state, action) => {\n const { newValues, type, shouldSearch = true } = action;\n switch (type) {\n case 'update':\n return { ...state, ...newValues, shouldSearch };\n case 'resetSearch':\n return { ...state, shouldSearch: false };\n case 'reset':\n return null;\n default:\n throw new Error();\n }\n};\n\nexport default searchFilterReducer;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,IAAMA,mBAAmB,GAAG,SAAtBA,mBAAmBA,CAAIC,KAAK,EAAEC,MAAM,EAAK;EAC7C,IAAQC,SAAS,GAAgCD,MAAM,CAA/CC,SAAS;IAAEC,IAAI,GAA0BF,MAAM,CAApCE,IAAI;IAAAC,oBAAA,GAA0BH,MAAM,CAA9BI,YAAY;IAAZA,YAAY,GAAAD,oBAAA,cAAG,IAAI,GAAAA,oBAAA;EAC5C,QAAQD,IAAI;IACV,KAAK,QAAQ;MACX,OAAAG,aAAA,CAAAA,aAAA,CAAAA,aAAA,KAAYN,KAAK,GAAKE,SAAS;QAAEG,YAAY,EAAZA;MAAY;IAC/C,KAAK,aAAa;MAChB,OAAAC,aAAA,CAAAA,aAAA,KAAYN,KAAK;QAAEK,YAAY,EAAE;MAAK;IACxC,KAAK,OAAO;MACV,OAAO,IAAI;IACb;MACE,MAAM,IAAIE,KAAK,CAAC,CAAC;EACrB;AACF,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,cAEaV,mBAAmB"}
@@ -1 +1 @@
1
- {"version":3,"file":"SearchFilterSort.js","names":["_react","_interopRequireDefault","require","_select","_router","_queryString","_propTypes","_constants","_helpers","_HOC","getSortFromQuery","listComponentName","listNameKey","concat","sortKey","sortByKey","SearchFilterSort","_ref","filters","elementLabel","selectLabel","id","router","useRouter","asPath","_getSortFromQuery","_getSortFromQuery2","_slicedToArray2","_parseUrl","parseUrl","url","query","_parseUrl$query","_parseUrl$query2","sort","sortby","selectedValue","defaultTextValue","DEFAULT_SORT","options","map","_ref2","optionLabel","label","propsToDisplay","sortValue","setSortValue","_ref3","value","handleSortUpdate","createElement","className","name","onChange","propTypes","PropTypes","array","string","defaultProps","_default","exports","withTitle"],"sources":["../../../src/components/SearchFilterSort/SearchFilterSort.js"],"sourcesContent":["import React from 'react';\nimport Select from '@blaze-react/select';\nimport { useRouter } from 'next/router';\nimport { parseUrl } from 'query-string';\nimport PropTypes from 'prop-types';\nimport { DEFAULT_SORT } from './constants';\nimport { handleSortUpdate } from './helpers';\nimport { withTitle } from '../../HOC';\n\nconst getSortFromQuery = listComponentName => {\n const listNameKey = listComponentName ? `pb[${listComponentName}]` : '';\n const sortKey = `${listNameKey}${listNameKey ? '[sort]' : 'sort'}`;\n const sortByKey = `${listNameKey}${listNameKey ? '[sortby]' : 'sortby'}`;\n return [sortKey, sortByKey];\n};\nconst SearchFilterSort = ({ filters, elementLabel, selectLabel, id, listComponentName }) => {\n const router = useRouter();\n const { asPath } = router;\n const [sortKey, sortByKey] = getSortFromQuery(listComponentName);\n const { url, query, query: { [sortKey]: sort, [sortByKey]: sortby } = {} } = parseUrl(asPath);\n const selectedValue = `${sortby}:${sort}` || '';\n const defaultTextValue = selectLabel || DEFAULT_SORT;\n const options = filters.map(({ label: optionLabel, propsToDisplay, sort: sortValue }) => [\n `${propsToDisplay[0]}:${sortValue}`,\n optionLabel\n ]);\n\n const setSortValue = ({ value }) =>\n handleSortUpdate({ router, value, query, url, selectLabel, listComponentName });\n\n return (\n <div className=\"sort-by\">\n <Select\n name=\"sortby\"\n label={elementLabel}\n defaultTextValue={defaultTextValue}\n value={selectedValue}\n id={id}\n options={options}\n onChange={setSortValue}\n />\n </div>\n );\n};\n\nSearchFilterSort.propTypes = {\n filters: PropTypes.array,\n elementLabel: PropTypes.string,\n selectLabel: PropTypes.string,\n id: PropTypes.string,\n listComponentName: PropTypes.string\n};\n\nSearchFilterSort.defaultProps = {\n filters: [],\n elementLabel: '',\n selectLabel: '',\n id: '',\n listComponentName: ''\n};\n\nexport default withTitle(SearchFilterSort);\n"],"mappings":";;;;;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,OAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,OAAA,GAAAF,OAAA;AACA,IAAAG,YAAA,GAAAH,OAAA;AACA,IAAAI,UAAA,GAAAL,sBAAA,CAAAC,OAAA;AACA,IAAAK,UAAA,GAAAL,OAAA;AACA,IAAAM,QAAA,GAAAN,OAAA;AACA,IAAAO,IAAA,GAAAP,OAAA;AAEA,IAAMQ,gBAAgB,GAAG,SAAnBA,gBAAgBA,CAAGC,iBAAiB,EAAI;EAC5C,IAAMC,WAAW,GAAGD,iBAAiB,SAAAE,MAAA,CAASF,iBAAiB,SAAM,EAAE;EACvE,IAAMG,OAAO,MAAAD,MAAA,CAAMD,WAAW,EAAAC,MAAA,CAAGD,WAAW,GAAG,QAAQ,GAAG,MAAM,CAAE;EAClE,IAAMG,SAAS,MAAAF,MAAA,CAAMD,WAAW,EAAAC,MAAA,CAAGD,WAAW,GAAG,UAAU,GAAG,QAAQ,CAAE;EACxE,OAAO,CAACE,OAAO,EAAEC,SAAS,CAAC;AAC7B,CAAC;AACD,IAAMC,gBAAgB,GAAG,SAAnBA,gBAAgBA,CAAAC,IAAA,EAAsE;EAAA,IAAhEC,OAAO,GAAAD,IAAA,CAAPC,OAAO;IAAEC,YAAY,GAAAF,IAAA,CAAZE,YAAY;IAAEC,WAAW,GAAAH,IAAA,CAAXG,WAAW;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AAA,OAC3B,IAAAC,yBAAgB,EAAC;MAAE3B,MAAM,EAANA,MAAM;MAAE0B,KAAK,EAALA,KAAK;MAAEjB,KAAK,EAALA,KAAK;MAAED,GAAG,EAAHA,GAAG;MAAEV,WAAW,EAAXA,WAAW;MAAET,iBAAiB,EAAjBA;IAAkB,CAAC,CAAC;EAAA;EAEjF,oBACEX,MAAA,YAAAkD,aAAA;IAAKC,SAAS,EAAC;EAAS,gBACtBnD,MAAA,YAAAkD,aAAA,CAAC/C,OAAA,WAAM;IACLiD,IAAI,EAAC,QAAQ;IACbT,KAAK,EAAExB,YAAa;IACpBkB,gBAAgB,EAAEA,gBAAiB;IACnCW,KAAK,EAAEZ,aAAc;IACrBf,EAAE,EAAEA,EAAG;IACPkB,OAAO,EAAEA,OAAQ;IACjBc,QAAQ,EAAEP;EAAa,CACxB,CACE,CAAC;AAEV,CAAC;AAED9B,gBAAgB,CAACsC,SAAS,GAAG;EAC3BpC,OAAO,EAAEqC,qBAAS,CAACC,KAAK;EACxBrC,YAAY,EAAEoC,qBAAS,CAACE,MAAM;EAC9BrC,WAAW,EAAEmC,qBAAS,CAACE,MAAM;EAC7BpC,EAAE,EAAEkC,qBAAS,CAACE,MAAM;EACpB9C,iBAAiB,EAAE4C,qBAAS,CAACE;AAC/B,CAAC;AAEDzC,gBAAgB,CAAC0C,YAAY,GAAG;EAC9BxC,OAAO,EAAE,EAAE;EACXC,YAAY,EAAE,EAAE;EAChBC,WAAW,EAAE,EAAE;EACfC,EAAE,EAAE,EAAE;EACNV,iBAAiB,EAAE;AACrB,CAAC;AAAC,IAAAgD,QAAA,GAAAC,OAAA,cAEa,IAAAC,cAAS,EAAC7C,gBAAgB,CAAC","ignoreList":[]}
1
+ {"version":3,"file":"SearchFilterSort.js","names":["_react","_interopRequireDefault","require","_select","_router","_queryString","_propTypes","_constants","_helpers","_HOC","getSortFromQuery","listComponentName","listNameKey","concat","sortKey","sortByKey","SearchFilterSort","_ref","filters","elementLabel","selectLabel","id","router","useRouter","asPath","_getSortFromQuery","_getSortFromQuery2","_slicedToArray2","_parseUrl","parseUrl","url","query","_parseUrl$query","_parseUrl$query2","sort","sortby","selectedValue","defaultTextValue","DEFAULT_SORT","options","map","_ref2","optionLabel","label","propsToDisplay","sortValue","setSortValue","_ref3","value","handleSortUpdate","createElement","className","name","onChange","propTypes","PropTypes","array","string","defaultProps","_default","exports","withTitle"],"sources":["../../../src/components/SearchFilterSort/SearchFilterSort.js"],"sourcesContent":["import React from 'react';\nimport Select from '@blaze-react/select';\nimport { useRouter } from 'next/router';\nimport { parseUrl } from 'query-string';\nimport PropTypes from 'prop-types';\nimport { DEFAULT_SORT } from './constants';\nimport { handleSortUpdate } from './helpers';\nimport { withTitle } from '../../HOC';\n\nconst getSortFromQuery = listComponentName => {\n const listNameKey = listComponentName ? `pb[${listComponentName}]` : '';\n const sortKey = `${listNameKey}${listNameKey ? '[sort]' : 'sort'}`;\n const sortByKey = `${listNameKey}${listNameKey ? '[sortby]' : 'sortby'}`;\n return [sortKey, sortByKey];\n};\nconst SearchFilterSort = ({ filters, elementLabel, selectLabel, id, listComponentName }) => {\n const router = useRouter();\n const { asPath } = router;\n const [sortKey, sortByKey] = getSortFromQuery(listComponentName);\n const { url, query, query: { [sortKey]: sort, [sortByKey]: sortby } = {} } = parseUrl(asPath);\n const selectedValue = `${sortby}:${sort}` || '';\n const defaultTextValue = selectLabel || DEFAULT_SORT;\n const options = filters.map(({ label: optionLabel, propsToDisplay, sort: sortValue }) => [\n `${propsToDisplay[0]}:${sortValue}`,\n optionLabel\n ]);\n\n const setSortValue = ({ value }) =>\n handleSortUpdate({ router, value, query, url, selectLabel, listComponentName });\n\n return (\n <div className=\"sort-by\">\n <Select\n name=\"sortby\"\n label={elementLabel}\n defaultTextValue={defaultTextValue}\n value={selectedValue}\n id={id}\n options={options}\n onChange={setSortValue}\n />\n </div>\n );\n};\n\nSearchFilterSort.propTypes = {\n filters: PropTypes.array,\n elementLabel: PropTypes.string,\n selectLabel: PropTypes.string,\n id: PropTypes.string,\n listComponentName: PropTypes.string\n};\n\nSearchFilterSort.defaultProps = {\n filters: [],\n elementLabel: '',\n selectLabel: '',\n id: '',\n listComponentName: ''\n};\n\nexport default withTitle(SearchFilterSort);\n"],"mappings":";;;;;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,OAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,OAAA,GAAAF,OAAA;AACA,IAAAG,YAAA,GAAAH,OAAA;AACA,IAAAI,UAAA,GAAAL,sBAAA,CAAAC,OAAA;AACA,IAAAK,UAAA,GAAAL,OAAA;AACA,IAAAM,QAAA,GAAAN,OAAA;AACA,IAAAO,IAAA,GAAAP,OAAA;AAEA,IAAMQ,gBAAgB,GAAG,SAAnBA,gBAAgBA,CAAGC,iBAAiB,EAAI;EAC5C,IAAMC,WAAW,GAAGD,iBAAiB,SAAAE,MAAA,CAASF,iBAAiB,SAAM,EAAE;EACvE,IAAMG,OAAO,MAAAD,MAAA,CAAMD,WAAW,EAAAC,MAAA,CAAGD,WAAW,GAAG,QAAQ,GAAG,MAAM,CAAE;EAClE,IAAMG,SAAS,MAAAF,MAAA,CAAMD,WAAW,EAAAC,MAAA,CAAGD,WAAW,GAAG,UAAU,GAAG,QAAQ,CAAE;EACxE,OAAO,CAACE,OAAO,EAAEC,SAAS,CAAC;AAC7B,CAAC;AACD,IAAMC,gBAAgB,GAAG,SAAnBA,gBAAgBA,CAAAC,IAAA,EAAsE;EAAA,IAAhEC,OAAO,GAAAD,IAAA,CAAPC,OAAO;IAAEC,YAAY,GAAAF,IAAA,CAAZE,YAAY;IAAEC,WAAW,GAAAH,IAAA,CAAXG,WAAW;IAAEC,EAAE,GAAAJ,IAAA,CAAFI,EAAE;IAAEV,iBAAiB,GAAAM,IAAA,CAAjBN,iBAAiB;EACnF,IAAMW,MAAM,GAAG,IAAAC,iBAAS,EAAC,CAAC;EAC1B,IAAQC,MAAM,GAAK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;MAAET,iBAAiB,EAAjBA;IAAkB,CAAC,CAAC;EAAA;EAEjF,oBACEX,MAAA,YAAAkD,aAAA;IAAKC,SAAS,EAAC;EAAS,gBACtBnD,MAAA,YAAAkD,aAAA,CAAC/C,OAAA,WAAM;IACLiD,IAAI,EAAC,QAAQ;IACbT,KAAK,EAAExB,YAAa;IACpBkB,gBAAgB,EAAEA,gBAAiB;IACnCW,KAAK,EAAEZ,aAAc;IACrBf,EAAE,EAAEA,EAAG;IACPkB,OAAO,EAAEA,OAAQ;IACjBc,QAAQ,EAAEP;EAAa,CACxB,CACE,CAAC;AAEV,CAAC;AAED9B,gBAAgB,CAACsC,SAAS,GAAG;EAC3BpC,OAAO,EAAEqC,qBAAS,CAACC,KAAK;EACxBrC,YAAY,EAAEoC,qBAAS,CAACE,MAAM;EAC9BrC,WAAW,EAAEmC,qBAAS,CAACE,MAAM;EAC7BpC,EAAE,EAAEkC,qBAAS,CAACE,MAAM;EACpB9C,iBAAiB,EAAE4C,qBAAS,CAACE;AAC/B,CAAC;AAEDzC,gBAAgB,CAAC0C,YAAY,GAAG;EAC9BxC,OAAO,EAAE,EAAE;EACXC,YAAY,EAAE,EAAE;EAChBC,WAAW,EAAE,EAAE;EACfC,EAAE,EAAE,EAAE;EACNV,iBAAiB,EAAE;AACrB,CAAC;AAAC,IAAAgD,QAAA,GAAAC,OAAA,cAEa,IAAAC,cAAS,EAAC7C,gBAAgB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","names":["DEFAULT_SORT","exports","SORT","SORTBY","PAGINATION_QUERY"],"sources":["../../../src/components/SearchFilterSort/constants.js"],"sourcesContent":["const DEFAULT_SORT = 'Sort by';\nconst SORT = 'sort';\nconst SORTBY = 'sortby';\nconst PAGINATION_QUERY = '[page]';\n\nexport { DEFAULT_SORT, PAGINATION_QUERY, SORT, SORTBY };\n"],"mappings":";;;;;;;AAAA,IAAMA,YAAY,GAAAC,OAAA,CAAAD,YAAA,GAAG,SAAS;AAC9B,IAAME,IAAI,GAAAD,OAAA,CAAAC,IAAA,GAAG,MAAM;AACnB,IAAMC,MAAM,GAAAF,OAAA,CAAAE,MAAA,GAAG,QAAQ;AACvB,IAAMC,gBAAgB,GAAAH,OAAA,CAAAG,gBAAA,GAAG,QAAQ","ignoreList":[]}
1
+ {"version":3,"file":"constants.js","names":["DEFAULT_SORT","exports","SORT","SORTBY","PAGINATION_QUERY"],"sources":["../../../src/components/SearchFilterSort/constants.js"],"sourcesContent":["const DEFAULT_SORT = 'Sort by';\nconst SORT = 'sort';\nconst SORTBY = 'sortby';\nconst PAGINATION_QUERY = '[page]';\n\nexport { DEFAULT_SORT, PAGINATION_QUERY, SORT, SORTBY };\n"],"mappings":";;;;;;;AAAA,IAAMA,YAAY,GAAAC,OAAA,CAAAD,YAAA,GAAG,SAAS;AAC9B,IAAME,IAAI,GAAAD,OAAA,CAAAC,IAAA,GAAG,MAAM;AACnB,IAAMC,MAAM,GAAAF,OAAA,CAAAE,MAAA,GAAG,QAAQ;AACvB,IAAMC,gBAAgB,GAAAH,OAAA,CAAAG,gBAAA,GAAG,QAAQ"}
@@ -8,10 +8,10 @@ Object.defineProperty(exports, "__esModule", {
8
8
  exports["default"] = void 0;
9
9
  require("core-js/modules/es.array.concat.js");
10
10
  require("core-js/modules/es.array.for-each.js");
11
- require("core-js/modules/es.array.index-of.js");
12
- require("core-js/modules/es.object.keys.js");
13
11
  require("core-js/modules/es.object.to-string.js");
14
12
  require("core-js/modules/web.dom-collections.for-each.js");
13
+ require("core-js/modules/es.object.keys.js");
14
+ require("core-js/modules/es.array.index-of.js");
15
15
  var _queryString = require("query-string");
16
16
  var _constants = require("../constants");
17
17
  var _updateSort = _interopRequireDefault(require("./update-sort"));